lilact 0.16.2 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lilact.development.js +124 -50
- package/dist/lilact.development.js.map +3 -3
- package/dist/lilact.development.min.js +20 -20
- package/dist/lilact.development.min.js.map +3 -3
- package/dist/lilact.production.min.js +22 -22
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +8 -8
- package/docs/classes/accessories.Suspense.html +7 -7
- package/docs/classes/components.Component.html +11 -11
- package/docs/classes/components.HTMLComponent.html +11 -11
- package/docs/classes/components.RootComponent.html +11 -11
- package/docs/functions/components.createComponent.html +1 -1
- package/docs/functions/components.createRoot.html +1 -1
- package/docs/functions/components.render.html +1 -1
- package/docs/functions/hooks.startTransition.html +6 -0
- package/docs/functions/hooks.useActionState.html +1 -1
- package/docs/functions/hooks.useDebugValue.html +5 -0
- package/docs/functions/hooks.useDeferredValue.html +1 -1
- package/docs/functions/hooks.useEffect.html +4 -4
- package/docs/functions/hooks.useImperativeHandle.html +1 -1
- package/docs/functions/hooks.useInsertionEffect.html +5 -0
- package/docs/functions/hooks.useLayoutEffect.html +2 -2
- package/docs/functions/hooks.useMemo.html +3 -3
- package/docs/functions/hooks.useReducer.html +1 -1
- package/docs/functions/misc.Fragment.html +2 -2
- package/docs/functions/misc.deepEqual.html +1 -1
- package/docs/functions/misc.findDOMNode.html +1 -1
- package/docs/functions/misc.forwardRef.html +1 -1
- package/docs/functions/misc.getComponentByPointer.html +1 -1
- package/docs/functions/misc.isAsync.html +1 -1
- package/docs/functions/misc.isClass.html +1 -1
- package/docs/functions/misc.isEmpty.html +1 -1
- package/docs/functions/misc.isError.html +1 -1
- package/docs/functions/misc.isThenable.html +1 -1
- package/docs/functions/{misc.isValidElement.html → misc.isValidComponent.html} +1 -1
- package/docs/functions/misc.shallowEqual.html +1 -1
- package/docs/functions/misc.toBool.html +1 -1
- package/docs/functions/timers.timeoutPromise.html +9 -6
- package/docs/hierarchy.html +1 -1
- package/docs/modules/hooks.html +1 -1
- package/docs/modules/misc.html +1 -1
- package/docs/static/demos/actionstate.jsx +2 -2
- package/docs/static/demos/priorities.jsx +68 -0
- package/docs/static/index.html +2 -1
- package/docs/static/lilact.development.js +124 -50
- package/docs/static/lilact.development.js.map +3 -3
- package/docs/static/lilact.development.min.js +20 -20
- package/docs/static/lilact.development.min.js.map +3 -3
- package/docs/static/lilact.production.min.js +22 -22
- package/docs/variables/misc.Children.html +2 -2
- package/docs/variables/misc.isValidElement.html +7 -0
- package/examples/demos/actionstate.jsx +2 -2
- package/examples/demos/priorities.jsx +68 -0
- package/examples/index.html +2 -1
- package/examples/lilact.development.js +124 -50
- package/examples/lilact.development.js.map +3 -3
- package/examples/lilact.development.min.js +20 -20
- package/examples/lilact.development.min.js.map +3 -3
- package/examples/lilact.production.min.js +22 -22
- package/package.json +1 -1
- package/src/accessories.jsx +232 -233
- package/src/components.jsx +87 -20
- package/src/hooks.jsx +80 -11
- package/src/lilact.jsx +1 -1
- package/src/misc.jsx +9 -5
|
@@ -54,10 +54,10 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
54
54
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
|
-
var Tn=Object.defineProperty;var Ur=(e,t,n)=>t in e?Tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var G=(e,t)=>{for(var n in t)Tn(e,n,{get:t[n],enumerable:!0})};var X=(e,t,n)=>Ur(e,typeof t!="symbol"?t+"":t,n);var Mt={};G(Mt,{__DO_NOT_USE__ActionTypes:()=>qe,applyMiddleware:()=>Vr,bindActionCreators:()=>Xr,combineReducers:()=>Wr,compose:()=>Cn,createStore:()=>jt,isAction:()=>Yr,isPlainObject:()=>Dt,legacy_createStore:()=>Br});function D(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Kr=typeof Symbol=="function"&&Symbol.observable||"@@observable",kn=Kr,Pt=()=>Math.random().toString(36).substring(7).split("").join("."),qr={INIT:`@@redux/INIT${Pt()}`,REPLACE:`@@redux/REPLACE${Pt()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Pt()}`},qe=qr;function Dt(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function jt(e,t,n){if(typeof e!="function")throw new Error(D(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(D(1));return n(jt)(e,t)}let r=e,o=t,s=new Map,a=s,c=0,f=!1;function u(){a===s&&(a=new Map,s.forEach((x,v)=>{a.set(v,x)}))}function l(){if(f)throw new Error(D(3));return o}function p(x){if(typeof x!="function")throw new Error(D(4));if(f)throw new Error(D(5));let v=!0;u();let g=c++;return a.set(g,x),function(){if(v){if(f)throw new Error(D(6));v=!1,u(),a.delete(g),s=null}}}function d(x){if(!Dt(x))throw new Error(D(7));if(typeof x.type=="undefined")throw new Error(D(8));if(typeof x.type!="string")throw new Error(D(17));if(f)throw new Error(D(9));try{f=!0,o=r(o,x)}finally{f=!1}return(s=a).forEach(g=>{g()}),x}function h(x){if(typeof x!="function")throw new Error(D(10));r=x,d({type:qe.REPLACE})}function y(){let x=p;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(D(11));function g(){let O=v;O.next&&O.next(l())}return g(),{unsubscribe:x(g)}},[kn](){return this}}}return d({type:qe.INIT}),{dispatch:d,subscribe:p,getState:l,replaceReducer:h,[kn]:y}}function Br(e,t,n){return jt(e,t,n)}function Fr(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:qe.INIT})=="undefined")throw new Error(D(12));if(typeof n(void 0,{type:qe.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(D(13))})}function Wr(e){let t=Object.keys(e),n={};for(let a=0;a<t.length;a++){let c=t[a];typeof e[c]=="function"&&(n[c]=e[c])}let r=Object.keys(n),o,s;try{Fr(n)}catch(a){s=a}return function(c={},f){if(s)throw s;let u=!1,l={};for(let p=0;p<r.length;p++){let d=r[p],h=n[d],y=c[d],E=h(y,f);if(typeof E=="undefined"){let x=f&&f.type;throw new Error(D(14))}l[d]=E,u=u||E!==y}return u=u||r.length!==Object.keys(c).length,u?l:c}}function Sn(e,t){return function(...n){return t(e.apply(this,n))}}function Xr(e,t){if(typeof e=="function")return Sn(e,t);if(typeof e!="object"||e===null)throw new Error(D(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=Sn(o,t))}return n}function Cn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Vr(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(D(15))},a={getState:o.getState,dispatch:(f,...u)=>s(f,...u)},c=e.map(f=>f(a));return s=Cn(...c)(o.dispatch),{...o,dispatch:s}}}function Yr(e){return Dt(e)&&"type"in e&&typeof e.type=="string"}var Ye={};G(Ye,{cache:()=>Eo,css:()=>Wt,cx:()=>yo,flush:()=>ho,getRegisteredStyles:()=>bo,hydrate:()=>mo,injectGlobal:()=>wo,keyframes:()=>xo,merge:()=>go,sheet:()=>_o});var zr=!1;function Gr(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Hr(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var On=(function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!zr:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Hr(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Gr(o);try{s.insertRule(r,s.cssRules.length)}catch(a){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var M="-ms-",Be="-moz-",A="-webkit-",at="comm",Se="rule",Ce="decl";var $n="@import";var ct="@keyframes";var An="@layer";var Ln=Math.abs,we=String.fromCharCode,Rn=Object.assign;function In(e,t){return R(e,0)^45?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function ut(e){return e.trim()}function Ut(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function Fe(e,t){return e.indexOf(t)}function R(e,t){return e.charCodeAt(t)|0}function de(e,t,n){return e.slice(t,n)}function K(e){return e.length}function Oe(e){return e.length}function $e(e,t){return t.push(e),e}function Kt(e,t){return e.map(t).join("")}var lt=1,Ae=1,Nn=0,q=0,I=0,Re="";function We(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:lt,column:Ae,length:a,return:""}}function Ie(e,t){return Rn(We("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pn(){return I}function Dn(){return I=q>0?R(Re,--q):0,Ae--,I===10&&(Ae=1,lt--),I}function B(){return I=q<Nn?R(Re,q++):0,Ae++,I===10&&(Ae=1,lt++),I}function Z(){return R(Re,q)}function Xe(){return q}function Ne(e,t){return de(Re,e,t)}function Le(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ft(e){return lt=Ae=1,Nn=K(Re=e),q=0,[]}function pt(e){return Re="",e}function Pe(e){return ut(Ne(q-1,qt(e===91?e+2:e===40?e+1:e)))}function jn(e){for(;(I=Z())&&I<33;)B();return Le(e)>2||Le(I)>3?"":" "}function Mn(e,t){for(;--t&&B()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Ne(e,Xe()+(t<6&&Z()==32&&B()==32))}function qt(e){for(;B();)switch(I){case e:return q;case 34:case 39:e!==34&&e!==39&&qt(I);break;case 40:e===41&&qt(e);break;case 92:B();break}return q}function Un(e,t){for(;B()&&e+I!==57;)if(e+I===84&&Z()===47)break;return"/*"+Ne(t,q-1)+"*"+we(e===47?e:B())}function Kn(e){for(;!Le(Z());)B();return Ne(e,q)}function Fn(e){return pt(dt("",null,null,null,[""],e=ft(e),0,[0],e))}function dt(e,t,n,r,o,s,a,c,f){for(var u=0,l=0,p=a,d=0,h=0,y=0,E=1,x=1,v=1,g=0,w="",O=o,S=s,_=r,k=w;x;)switch(y=g,g=B()){case 40:if(y!=108&&R(k,p-1)==58){Fe(k+=$(Pe(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:k+=Pe(g);break;case 9:case 10:case 13:case 32:k+=jn(y);break;case 92:k+=Mn(Xe()-1,7);continue;case 47:switch(Z()){case 42:case 47:$e(Zr(Un(B(),Xe()),t,n),f);break;default:k+="/"}break;case 123*E:c[u++]=K(k)*v;case 125*E:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+l:v==-1&&(k=$(k,/\f/g,"")),h>0&&K(k)-p&&$e(h>32?Bn(k+";",r,n,p-1):Bn($(k," ","")+";",r,n,p-2),f);break;case 59:k+=";";default:if($e(_=qn(k,t,n,u,l,o,c,w,O=[],S=[],p),s),g===123)if(l===0)dt(k,t,_,_,O,s,p,c,S);else switch(d===99&&R(k,3)===110?100:d){case 100:case 108:case 109:case 115:dt(e,_,_,r&&$e(qn(e,_,_,0,0,o,c,w,o,O=[],p),S),o,S,p,c,r?O:S);break;default:dt(k,_,_,_,[""],S,0,c,S)}}u=l=h=0,E=v=1,w=k="",p=a;break;case 58:p=1+K(k),h=y;default:if(E<1){if(g==123)--E;else if(g==125&&E++==0&&Dn()==125)continue}switch(k+=we(g),g*E){case 38:v=l>0?1:(k+="\f",-1);break;case 44:c[u++]=(K(k)-1)*v,v=1;break;case 64:Z()===45&&(k+=Pe(B())),d=Z(),l=p=K(w=k+=Kn(Xe())),g++;break;case 45:y===45&&K(k)==2&&(E=0)}}return s}function qn(e,t,n,r,o,s,a,c,f,u,l){for(var p=o-1,d=o===0?s:[""],h=Oe(d),y=0,E=0,x=0;y<r;++y)for(var v=0,g=de(e,p+1,p=Ln(E=a[y])),w=e;v<h;++v)(w=ut(E>0?d[v]+" "+g:$(g,/&\f/g,d[v])))&&(f[x++]=w);return We(e,t,n,o===0?Se:c,f,u,l)}function Zr(e,t,n){return We(e,t,n,at,we(Pn()),de(e,2,-2),0)}function Bn(e,t,n,r){return We(e,t,n,Ce,de(e,0,r),de(e,r+1,-1),r)}function xe(e,t){for(var n="",r=Oe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Wn(e,t,n,r){switch(e.type){case An:if(e.children.length)break;case $n:case Ce:return e.return=e.return||e.value;case at:return"";case ct:return e.return=e.value+"{"+xe(e.children,r)+"}";case Se:e.value=e.props.join(",")}return K(n=xe(e.children,r))?e.return=e.value+"{"+n+"}":""}function Xn(e){var t=Oe(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function Vn(e){return function(t){t.root||(t=t.return)&&e(t)}}function Yn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Jr=function(t,n,r){for(var o=0,s=0;o=s,s=Z(),o===38&&s===12&&(n[r]=1),!Le(s);)B();return Ne(t,q)},Qr=function(t,n){var r=-1,o=44;do switch(Le(o)){case 0:o===38&&Z()===12&&(n[r]=1),t[r]+=Jr(q-1,n,r);break;case 2:t[r]+=Pe(o);break;case 4:if(o===44){t[++r]=Z()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=we(o)}while(o=B());return t},eo=function(t,n){return pt(Qr(ft(t),n))},zn=new WeakMap,to=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!zn.get(r))&&!o){zn.set(t,!0);for(var s=[],a=eo(n,s),c=r.props,f=0,u=0;f<a.length;f++)for(var l=0;l<c.length;l++,u++)t.props[u]=s[f]?a[f].replace(/&\f/g,c[l]):c[l]+" "+a[f]}}},no=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gn(e,t){switch(In(e,t)){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+Be+e+M+e+e;case 6828:case 4268:return A+e+M+e+e;case 6165:return A+e+M+"flex-"+e+e;case 5187:return A+e+$(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return A+e+M+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return A+e+M+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+M+$(e,"shrink","negative")+e;case 5292:return A+e+M+$(e,"basis","preferred-size")+e;case 6060:return A+"box-"+$(e,"-grow","")+A+e+M+$(e,"grow","positive")+e;case 4554:return A+$(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch(R(e,t+1)){case 109:if(R(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Be+(R(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fe(e,"stretch")?Gn($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(R(e,t+1)!==115)break;case 6444:switch(R(e,K(e)-3-(~Fe(e,"!important")&&10))){case 107:return $(e,":",":"+A)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(R(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+M+e+e}return e}var ro=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Ce:t.return=Gn(t.value,t.length);break;case ct:return xe([Ie(t,{value:$(t.value,"@","@"+A)})],o);case Se:if(t.length)return Kt(t.props,function(s){switch(Ut(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xe([Ie(t,{props:[$(s,/:(read-\w+)/,":"+Be+"$1")]})],o);case"::placeholder":return xe([Ie(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),Ie(t,{props:[$(s,/:(plac\w+)/,":"+Be+"$1")]}),Ie(t,{props:[$(s,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},oo=[ro],Hn=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var x=E.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var o=t.stylisPlugins||oo,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var x=E.getAttribute("data-emotion").split(" "),v=1;v<x.length;v++)s[x[v]]=!0;c.push(E)});var f,u=[to,no];{var l,p=[Wn,Vn(function(E){l.insert(E)})],d=Xn(u.concat(o,p)),h=function(x){return xe(Fn(x),d)};f=function(x,v,g,w){l=g,h(x?x+"{"+v.styles+"}":v.styles),w&&(y.inserted[v.name]=!0)}}var y={key:n,sheet:new On({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:f};return y.sheet.hydrate(c),y};function Zn(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Jn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var io=!1,so=/[A-Z]|^ms/g,ao=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nr=function(t){return t.charCodeAt(1)===45},Qn=function(t){return t!=null&&typeof t!="boolean"},Bt=Yn(function(e){return nr(e)?e:e.replace(so,"-$&").toLowerCase()}),er=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ao,function(r,o,s){return ae={name:o,styles:s,next:ae},o})}return Jn[t]!==1&&!nr(t)&&typeof n=="number"&&n!==0?n+"px":n},co="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ve(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return ae={name:o.name,styles:o.styles,next:ae},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ae={name:a.name,styles:a.styles,next:ae},a=a.next;var c=s.styles+";";return c}return uo(e,t,n)}case"function":{if(e!==void 0){var f=ae,u=n(e);return ae=f,Ve(e,t,u)}break}}var l=n;if(t==null)return l;var p=t[l];return p!==void 0?p:l}function uo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ve(e,t,n[o])+";";else for(var s in n){var a=n[s];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?r+=s+"{"+t[c]+"}":Qn(c)&&(r+=Bt(s)+":"+er(s,c)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&io)throw new Error(co);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)Qn(a[f])&&(r+=Bt(s)+":"+er(s,a[f])+";");else{var u=Ve(e,t,a);switch(s){case"animation":case"animationName":{r+=Bt(s)+":"+u+";";break}default:r+=s+"{"+u+"}"}}}}return r}var tr=/label:\s*([^\s;{]+)\s*(;|$)/g,ae;function ht(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";ae=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Ve(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Ve(n,t,e[c]),r){var f=s;o+=f[c]}tr.lastIndex=0;for(var u="",l;(l=tr.exec(o))!==null;)u+="-"+l[1];var p=Zn(o)+u;return{name:p,styles:o,next:ae}}var lo=!0;function Ft(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var fo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||lo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},rr=function(t,n,r){fo(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function or(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function ir(e,t,n){var r=[],o=Ft(e,r,n);return r.length<2?n:o+t(r)}var sr=function(t){var n=Hn(t);n.sheet.speedy=function(c){this.isSpeedy=c},n.compat=!0;var r=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];var p=ht(u,n.registered,void 0);return rr(n,p,!1),n.key+"-"+p.name},o=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];var p=ht(u,n.registered),d="animation-"+p.name;return or(n,{name:p.name,styles:"@keyframes "+d+"{"+p.styles+"}"}),d},s=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];var p=ht(u,n.registered);or(n,p)},a=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];return ir(n.registered,r,po(u))};return{css:r,cx:a,injectGlobal:s,keyframes:o,hydrate:function(f){f.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:Ft.bind(null,n.registered),merge:ir.bind(null,n.registered,r)}},po=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var ce=sr({key:"css"}),ho=ce.flush,mo=ce.hydrate,yo=ce.cx,go=ce.merge,bo=ce.getRegisteredStyles,wo=ce.injectGlobal,xo=ce.keyframes,Wt=ce.css,_o=ce.sheet,Eo=ce.cache;function F(e){return e==null}function U(e){return e||"<<anonymous>>"}function vo(e){return e&&(e.displayName||e.name)||"Unknown"}function _e(e){let t=function(r,o,s,a,c,f){let u=r[o];if(F(u)||e(u))return null;let l=e.expectedType||"the correct type",p=u===null?"null":typeof u;return new Error(`Invalid ${a} \`${c}\` of type \`${p}\` supplied to \`${U(s)}\`, expected \`${l}\`.`)};return t.isRequired=function(r,o,s,a,c){let f=r[o];return F(f)?new Error(`The ${a} \`${c}\` is marked as required in \`${U(s)}\`, but its value is \`${f}\`.`):t(r,o,s,a,c)},t}function To(){let e={};e.any=(function(){let r=function(s,a,c,f,u){return null};return r.isRequired=function(){return null},r})(),e.array=_e(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=_e(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=_e(r=>typeof r=="function"),e.func.expectedType="function",e.number=_e(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=_e(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=_e(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=_e(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.oneOf=function(o){let s=Array.isArray(o)?o:[],a=function(f,u,l,p,d){let h=f[u];if(F(h))return null;for(let E=0;E<s.length;E++)if(h===s[E])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${d}\` of value \`${String(h)}\` supplied to \`${U(l)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return a.isRequired=function(f,u,l,p,d){return F(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(l)}\`, but its value is \`${f[u]}\`.`):a(f,u,l,p,d)},a},e.oneOfType=function(o){let s=o||[],a=function(f,u,l,p,d){let h=f[u];if(F(h))return null;for(let y=0;y<s.length;y++)if(s[y](f,u,l,p,d)===null)return null;return new Error(`Invalid ${p} \`${d}\` supplied to \`${U(l)}\` (none of the allowed types matched).`)};return a.isRequired=function(f,u,l,p,d){return F(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(l)}\`, but its value is \`${f[u]}\`.`):a(f,u,l,p,d)},a},e.arrayOf=function(o){let s=o,a=function(f,u,l,p,d){let h=f[u];if(F(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(l)}\`, expected an array.`);for(let y=0;y<h.length;y++){let E=`${d}[${y}]`,x=s({[u]:h[y]},u,l,p,E);if(x!==null)return x}return null};return a.isRequired=function(f,u,l,p,d){return F(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(l)}\`, but its value is \`${f[u]}\`.`):a(f,u,l,p,d)},a},e.objectOf=function(o){let s=o,a=function(f,u,l,p,d){let h=f[u];if(F(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(l)}\`, expected an object.`);let y=Object.keys(h);for(let E=0;E<y.length;E++){let x=y[E],v=`${d}.${x}`,g=s({[u]:h[x]},u,l,p,v);if(g!==null)return g}return null};return a.isRequired=function(f,u,l,p,d){return F(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(l)}\`, but its value is \`${f[u]}\`.`):a(f,u,l,p,d)},a};function t(r,{exact:o}){let s=r?Object.keys(r):[],a=function(f,u,l,p,d){let h=f[u];if(F(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(l)}\`, expected an object.`);if(o){let E=Object.keys(h);for(let x=0;x<E.length;x++){let v=E[x];if(!Object.prototype.hasOwnProperty.call(r,v)){let g=`${d}.${v}`;return new Error(`Invalid ${p} \`${g}\` supplied to \`${U(l)}\`: extra key \`${v}\` is not allowed by exact().`)}}}for(let E=0;E<s.length;E++){let x=s[E],v=r[x],g=h[x],w=`${d}.${x}`;if(F(g)){let S=v({[u]:g},u,l,p,w);if(S!==null)return S;continue}let O=v({[u]:g},u,l,p,w);if(O!==null)return O}return null};return a.isRequired=function(f,u,l,p,d){return F(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(l)}\`, but its value is \`${f[u]}\`.`):a(f,u,l,p,d)},a}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(c,f,u,l,p){let d=c[f];return F(d)||d instanceof o?null:new Error(`Invalid ${l} \`${p}\` supplied to \`${U(u)}\`: expected instance of \`${vo(o)}\`.`)};return s.isRequired=function(c,f,u,l,p){return F(c[f])?new Error(`The ${l} \`${p}\` is marked as required in \`${U(u)}\`, but its value is \`${c[f]}\`.`):s(c,f,u,l,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,a,c){},e}var ar=To();var Gt={};G(Gt,{Component:()=>he,HTMLComponent:()=>He,RootComponent:()=>vt,boolean_html_attributes_set:()=>mr,capture_events_set:()=>kt,createComponent:()=>fr,createElement:()=>Uo,createRoot:()=>pr,current_component:()=>Ko,events_set:()=>Tt,layout_effects:()=>Wo,length_css_attributes_set:()=>hr,render:()=>Mo,roots:()=>Fo,special_attributes:()=>dr,update_cbs:()=>Bo,update_set:()=>qo});var[m,De,W,cr,ne,ue,Os,mt,re,yt,gt,ze,bt,wt]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:TEXT"),Symbol.for("LILACT:IS_ZOMBIE"),Symbol.for("LILACT:IDX"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM"),Symbol.for("LILACT:MEMOIZED"),Symbol.for("LILACT:LAZY"),Symbol.for("LILACT:TIMERS:DUE"),Symbol.for("LILACT:TIMERS:REPEAT"),Symbol.for("LILACT:TIMERS:CLEARED"),Symbol.for("LILACT:TIMERS:INTERVAL"),Symbol.for("LILACT:TIMERS:CALLBACK"),Symbol.for("LILACT:TIMERS:ARGS")];var Yt={};G(Yt,{Children:()=>Ee,Fragment:()=>ur,deepEqual:()=>Xt,eval_num:()=>Io,findDOMNode:()=>So,forwardRef:()=>Vt,getComponentByPointer:()=>Co,id_num:()=>Ro,isAsync:()=>Oo,isClass:()=>xt,isEmpty:()=>H,isError:()=>$o,isThenable:()=>_t,isValidElement:()=>ko,shallowEqual:()=>pe,toBool:()=>Et,update_interval_margin:()=>Lo,update_timeout:()=>Ao});var le=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},ko=e=>e[m]!==void 0||e[TEXT]!==void 0,So=e=>{var t,n;if(!((n=(t=e[m])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[m].element},ur=function({children:e}){return e};ur.displayName="Fragment";var Ee={only(e){var n,r;e=[...e];let t=0;for(;t<e.length;){if(((r=(n=e[t])==null?void 0:n.constructor)==null?void 0:r.name)==="Array"?(e.splice(t,1,...e[t]),t--):(e[t]===null||e[t]===void 0)&&(e.splice(t,1),t--),t>1)throw new Error("No child or child is not the only one");t++}if(e.length===1)return e[0]},toArray(e){var t;return e?((t=e==null?void 0:e.constructor)==null?void 0:t.name)==="Array"?[...e]:[e]:[]}},Vt=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function Co(){let e,t=new Promise((r,o)=>{e=r});function n(r){r.stopImmediatePropagation(),window.removeEventListener("click",n,!0);let o=r.target;for(;!o[De]&&o.parentNode;)o=o.parentNode;return e(o[De]),!1}return window.addEventListener("click",n,!0),t}function H(e){for(let t in e)return!1;return!0}var pe=(e,t)=>le(e)!==le(t)?!1:le(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>n===t[r]):le(e)==="object"?Object.keys(e).every(n=>e[n]===t[n]):le(e)==="date"?e.getTime()===t.getTime():e===t;function Xt(e,t){return le(e)!==le(t)?!1:le(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Xt(n,t[r])):le(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Xt(e[n],t[n])):le(e)==="date"?e.getTime()===t.getTime():e===t}function xt(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function Oo(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function _t(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function $o(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Et(e){if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="true")return!0;if(e==="false")return!1}return!!e}var Ao,Lo=0,Ro=Math.floor(Math.random()*1e4),Io=0;var zt=class{constructor(t){X(this,"owner");X(this,"current_map",new Map);X(this,"new_map",new Map);X(this,"pick_index",0);this.owner=t}pick(t,n){var s,a;let r,o=this.current_map.get(t);return o&&o.length>o[ne]?(r=o[o[ne]],o[ne]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ne]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ne]=0),r[m]&&((a=(s=r[m]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ne]).forEach(n=>{n.cleanup&&n.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}},Ge=class{constructor(t,n){X(this,"component");X(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var c,f;if(typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[De]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let r=this.state,o=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,T.current_component=[this,T.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(u){lr(this,u)}T.current_component=T.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(u){lr(this,u)}((f=(c=this.outlet)==null?void 0:c.constructor)==null?void 0:f.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let u=0;u<this.outlet.length;u++){let l=this.outlet[u];if(l==null||typeof l=="boolean")this.outlet.splice(u,1),u--;else if(typeof l=="function"){let p=this.childFunctionHandler(l);this.outlet.splice(u,1,p),u--}else if(l.constructor.name==="Array")this.outlet.splice(u,1,...l),u--;else{let p=Po(this,l);this.outlet[u]=p,p[W]===void 0?(p.container=this.element?this:this.container,p.apply(l.props)):p.element?p[W]!==l[W]&&(p.element.textContent=l[W],p[W]=l[W]):(p.element=document.createTextNode(l[W]),p[W]=l[W])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(o,r,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,a,c,f;this.entity==="input"?(t!=null&&t.type||(t.type="text"),t.type!==this.element.type&&(this.element.type=t.type),(t==null?void 0:t.value)!==void 0&&(t==null?void 0:t.value)!==this.element.value&&(t.value===void 0&&(t.value=""),this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength))):this.entity==="textarea"?(t==null?void 0:t.value)!==this.element.value&&(this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength)):this.entity==="select"&&(t==null?void 0:t.value)!==this.element.value&&T.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let l=u.toLowerCase();t.hasOwnProperty(u)||(Tt.has(l)?this.event_detachers[l]():this.element.setAttribute(u,void 0))}for(let u in t){let l=u.toLowerCase();if(!dr.has(l)&&(t===this.props||!T.defaultIsEqual(t[u],this.props[u])||n))if(Tt.has(l))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[l])==null||s.call(o),this.event_detachers[l]=T.addWrappedEventListener(this.element,l.substring(2),t[u]);else if(kt.hasOwnProperty(l)){let p=kt[l];(a=this.event_detachers)!=null||(this.event_detachers={}),(f=(c=this.event_detachers)[l])==null||f.call(c),this.event_detachers[l]=T.addWrappedEventListener(this.element,p.substring(2),t[u],{capture:!0})}else if(l==="style")if(typeof t[u]=="string")this.element.style=t[u];else{for(let p in t[u])hr.has(p)&&isFinite(t[u][p])&&(t[u][p]+="px");Object.assign(this.element.style,t[u])}else mr.has(u)?this.element[u]=Et(t[u]):u==="autoFocus"?this.element.autofocus=Et(t[u]):u==="htmlFor"?this.element.setAttribute("for",t[u]):(l!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(l,t[u])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[ue]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[ue])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][cr]&&r[t.insert_index]!==n;)t.insert_index++}appendElement(t){var n;this.scanZombies(t.container,t.element),(t==null?void 0:t.element.parentNode)===null?(t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),(n=t==null?void 0:t.component)!=null&&n.componentDidMount&&t.component.componentDidMount()):t.container.element.childNodes[t.container.insert_index]!==t.element&&t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),t.container.insert_index++}arrangeOutlet(){var t;this.insert_index=0;for(let n of this.outlet)n&&(n.element?(n.container=this.element?this:this.container,n.container.appendElement(n)):(n.arrangeOutlet&&n.arrangeOutlet(),n!=null&&n.mounted||(n.mounted=!0,(t=n==null?void 0:n.component)!=null&&t.componentDidMount&&n.component.componentDidMount())))}childFunctionHandler(t){return t(this.state)}},lr=(e,t)=>{var o,s,a,c;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(a=e.entity)!=null&&a.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,f=>`in ${typeof f.component.displayName=="function"?f.component.displayName():f.component.displayName}`).join(`
|
|
58
|
-
`);if(t.componentStack=n,t.componentStackLog=r,(c=e==null?void 0:e.component)!=null&&c.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function No(e,t){var r,o;let n=e;if(e[W]===void 0)if(typeof e.entity=="string")n=new He(e.entity,e.props);else{if(xt(e.entity)){(r=e.entity)!=null&&r.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new e.entity(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[m].state=n.state,Object.defineProperty(n,"state",{get(){return this[m].state},set(a){if(this[m].state===void 0)this[m].state=a;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof e.entity=="function")(o=e.entity)!=null&&o.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new he(e.props),n.render=e.entity.bind(n),n[m].hooks=[],n[m].hook_index=0;else throw new Error("Invalid entity for createComponent.");n[m].entity=e.entity,e.container&&(n[m].container=e.container)}return t instanceof Ge&&(n[m].parent=t),n}function Po(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new zt(e)),t=e.cache.pick(t[W]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[W]!==void 0||t instanceof Ge?t:No(t,e)[m]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function Do(){requestAnimationFrame(()=>{let e=T.layout_effects,t=T.update_cbs,n=T.update_set;T.layout_effects=new Set,T.update_cbs=new Set,T.update_set=new Set;for(let r of e)r();for(let r of n)r.apply();for(let r of t)r()})}var jo=(e,t)=>{let n;return t.key!==void 0?n=t.key:t.id!==void 0?n=":i:"+t.id:t.path!==void 0?n=":p:"+t.path:t[W]!==void 0?n=":text:":(typeof e=="string"?n=":t:"+e:e!=null&&e.name?n=e.name:n="::",t.name!==void 0?n=n+":"+t.name:t.path!==void 0&&(n=n+":"+t.path)),n},he=class{get state(){return this[m].state}set state(t){if(this[m].state===void 0)this[m].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[m].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[m].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[m].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[m].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[m].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[m].entity)!=null&&t.displayName?(n=this[m].entity)==null?void 0:n.displayName:typeof this[m].entity=="string"?this[m].entity:(xt(this[m].entity)&&this[m].entity.constructor.name,typeof this[m].entity=="function"?this[m].entity.name:"Component")}constructor(t){this[m]=new Ge(this,t)}forceUpdate(t){T.clearTimeout(T.update_timeout),T.update_set.add(this[m].container||this[m]),t&&T.update_cbs.add(t.bind(this)),T.update_timeout=T.setTimeout(Do,T.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[m].last_snapshot=this.getSnapshotBeforeUpdate(this[m].props,this.state)),this[m].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},He=class extends he{constructor(t,n){super(n),this[m].entity=t}render(){return this[m].props.children}},vt=class extends He{constructor(n,r){super(":root",r);X(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[m].element=n;for(let o of r.children)o[m]?o[m].container=this[m]:o.container=this[m]}};function fr(e,t={},...n){if(e!==void 0&&typeof e!="string"&&typeof e!="function")throw new Error("Invalid entity for createComponent.");for(let r=0;r<n.length;r++){let o=n[r];if(o==null||typeof o=="boolean"){n.splice(r,1),r--;continue}["number","bigint"].indexOf(typeof o)!==-1&&(o=o.toString()),typeof o=="string"?n[r]={[W]:o}:n[r]=o}return t.key=jo(e,t),t.children=n,{entity:e,props:t}}function pr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new vt(e,{children:[n]}),T.roots.add(t[m]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Mo(e,t){if(e[m]&&(e[m].container||e[m].parent))throw new Error("Component is already in use");return pr(t).render(e)}var Uo=fr,Ko=[],qo=new Set,Bo=new Set,Fo=new Set,Wo=new Set,dr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Tt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),kt={};for(let e of Tt)kt[e+"capture"]=e;var hr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","outlineWidth","fontSize","lineHeight","letterSpacing","wordSpacing","textIndent","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","columnGap","rowGap","gap"]),mr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var Jt={};G(Jt,{createContext:()=>je,useActionState:()=>Yo,useCallback:()=>oe,useContext:()=>Me,useDeferredValue:()=>Go,useEffect:()=>Q,useHook:()=>J,useId:()=>Xo,useImperativeHandle:()=>Zt,useLayoutEffect:()=>ve,useLocalStorage:()=>Vo,useMemo:()=>Ht,useReducer:()=>zo,useRef:()=>j,useState:()=>V,useTransition:()=>yr});function J(){let e=T.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function V(e){let t=J();return H(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,T.current_component[0],t)),[t.value,t.set_func]}function oe(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=J();return!H(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&pe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function je(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function Me(e){var n;let t=T.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let r=(n=t.props)==null?void 0:n.value;return r!=null?r:r=e.default}return e.default}function Xo(e="N"){let t=J();return H(t)&&(t.id=e+T.id_num++),t.id}function yr(){let e=J();return H(e)&&(e.count=0,e.func=(async function(t,n,r){n.count++,n.count===1&&t.component.forceUpdate(),await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,T.current_component[0],e)),[e.count!=0,e.func]}function Vo(e,t){let n=J(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),H(n)&&(n.value=r,n.set_func=function(o,s,a){typeof a=="function"&&(a=a(s.value)),a!==s.value&&(localStorage[e]=JSON.stringify(a),s.value=a,o.component.forceUpdate())}.bind(void 0,T.current_component[0],n)),[n.value,n.set_func]}function j(e=null){let t=J();return H(t)&&(t.current=e),t}function ve(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Layout effect dependencies must be an array or omitted.");let n=J();!H(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&pe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,T.layout_effects.add(()=>{n.cleanup=e()}),T.current_component[0].component.forceUpdate())}function Q(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Effect dependencies must be an array or omitted.");let n=J();!H(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&pe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,T.setTimeout(()=>{n.cleanup=e()},0))}function Ht(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Memo dependencies must be an array or omitted.");let n=J();return!H(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&pe(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Yo(e,t){let n=J(),[r,o]=yr();return H(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let a=new FormData(s.target,s.submitter);n.state=await e(n.state,a)},[]),!1)),[n.state,n.form_action,r]}function zo(e,t,n){let r=J();return H(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,a){let c=s.reducer(s.state,a);T.defaultIsEqual(c,s.state)||(s.state=c,o.component.forceUpdate())}.bind(void 0,T.current_component[0],r)),[r.state,r.dispatch]}function Go(e,t){let{useEffect:n,useRef:r,useState:o}=T,[s,a]=o(typeof t!="undefined"?t:e),c=r(e),f=r(null);return n(()=>{if(c.current===e)return;c.current=e,f.current!=null&&(f.current.cancelled=!0,f.current=null);let u={cancelled:!1};return f.current=u,Promise.resolve().then(()=>{u.cancelled||(a(e),f.current=null)}),()=>{f.current&&(f.current.cancelled=!0,f.current=null)}},[e]),s}function Zt(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&pe(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}var Qt={};G(Qt,{lazy:()=>Ho,require:()=>gr,required_scripts:()=>fe,run:()=>Ze,runScripts:()=>Jo});var fe={};function Ze(jsx,path=`InlineJSX-${++T.eval_num}`,is_inline=!0){let mappings=[],module={exports:{}},processed;fe[path]={mappings,module,is_inline,path,code:jsx};try{processed=T.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:T.blocks_info,injectTraceLabels:!0})}catch(e){throw T.error=e,e}processed+=`
|
|
59
|
-
//# sourceURL=eval:/`+path,T.scanBlockLabels(processed,path);try{globalThis.Lilact=T,globalThis.createComponent=T.createComponent,globalThis.Fragment=T.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=T.traceError(e),e}}function gr(e,t){var n;if(fe[e]&&!t)return fe[e].module.exports;if(e[0]==="#"){let r=document.getElementById(e);if(r)return Ze(r.innerText,e)}else{if((n=T)!=null&&n[mt])return T[mt]=!1,fetch(e).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return r.text()}).then(r=>{var o;return r=Ze(r,e,!1),(o=r==null?void 0:r.default)!=null?o:r}).catch(r=>{throw r});{let r=new XMLHttpRequest;if(r.open("GET",e,!1),r.send(null),r.status===200)return Ze(r.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function Ho(e){let t="pending",n;T[mt]=!0,n=e(),T.isThenable(n)?n.then(o=>(t="success",n=o,n),o=>{throw t="error",n=o,o}):t="success";function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function Zo(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(t=>{var n,r;return{src:(n=t.getAttribute("src"))!=null?n:null,content:(r=t.textContent)!=null?r:""}})}function Jo(){let e=Zo();for(let t of e)t.src&&gr(t.src),t.content&&Ze(t.content)}var sn={};G(sn,{CSSTransition:()=>wr,SwitchTransition:()=>fi,Transition:()=>br,TransitionGroup:()=>pi});var nn={};G(nn,{animationFramePromise:()=>li,clearInterval:()=>si,clearTimeout:()=>ee,grabTimers:()=>ai,pauseTimers:()=>ri,releaseTimers:()=>ci,resetTimers:()=>ni,resumeTimers:()=>oi,setInterval:()=>ii,setTimeout:()=>ge,timeoutPromise:()=>ui});var Ue,Je=-1,Y=[],me=-1,ye={},St=window.setTimeout,Qo=window.setInterval,Qe=window.clearTimeout,ei=window.clearInterval;function ti(e){let t=0,n=Y.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=Y[o][re];if(s===e)return[o,Y[o]];s<e?t=o+1:n=o-1}let r=[];return r[re]=e,Y.splice(t,0,r),[t,r]}function en(e,t=!1){let[n,r]=ti(e[re]);return t||(Je++,ye[Je]=e,e[ne]=Je),r.push(e),Y[0][0]===e&&(Qe(me),me=St(tn,e[ze])),Je}function tn(){let e=Date.now(),t=0,n=Y[t];for(;n&&n[re]-e<=0;){for(let r of n)r[gt]?delete ye[r[ne]]:(r[bt](...r[wt]),r[yt]?(r[re]=Date.now()+r[ze],en(r,!0)):delete ye[r[ne]]);t++,n=Y[t]}Y.splice(0,t),Y.length>0&&(Qe(me),me=St(tn,Y[0][re]-e))}function ni(){Qe(me),Ue=void 0,Je=-1,Y=[],me=-1,ye={}}function ri(){Qe(me),Ue=Date.now()}function oi(){if(Ue){if(Y.length>0){let e=Date.now();Ue-=e;for(let t of Y)t[re]-=Ue;me=St(tn,Y[0][re]-e)}Ue=void 0}}function ge(e,t,...n){return en({[bt]:e,[ze]:t,[re]:Date.now()+t,[yt]:!1,[wt]:n})}function ii(e,t,...n){return en({[bt]:e,[ze]:t,[re]:Date.now()+t,[yt]:!0,[wt]:n})}function ee(e){ye[e]&&(ye[e][gt]=!0)}function si(e){ye[e]&&(ye[e][gt]=!0)}function ai(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function ci(){globalThis.setTimeout=St,globalThis.setInterval=Qo,globalThis.clearTimeout=Qe,globalThis.clearInterval=ei}function ui(e=0,t=Lilact){let n,r,o,s=new Promise((a,c)=>{r=a,o=c,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function li(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var rn="unmounted",Ct="exited",et="entering",tt="entered",on="exiting";function br({in:e,timeout:t=T.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:u,onExited:l,children:p,_classNames:d}){var h,y,E,x,v,g;return(y=(h=this[m]).is_mounted)!=null||(h.is_mounted=!n||e||o),(x=(E=this[m]).is_appeared)!=null||(E.is_appeared=e),(g=(v=this[m]).timer)!=null||(v.timer=null),this[m].childFunctionHandler=w=>w(this[m].mount_state),this[m].mount_state||(this[m].is_mounted||(this[m].mount_state=rn),e?this[m].mount_state=o&&!this[m].is_appeared?et:tt:this[m].mount_state=Ct),Q(()=>()=>ee(this[m].timer),[]),Q(()=>{!this[m].is_appeared&&o&&this[m].mount_state===et&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=tt,this.forceUpdate(),this[m].is_appeared=!0,c==null||c(!this[m].is_appeared)},t)}))},[]),Q(()=>{if(e){if(this[m].is_mounted=!0,this[m].mount_state===et||this[m].mount_state===tt)return;s==null||s(!this[m].is_appeared),this[m].mount_state=et,this.forceUpdate(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=tt,this.forceUpdate(),this[m].is_appeared=!0,c==null||c()},t)})}else{if(this[m].mount_state===rn||this[m].mount_state===on||this[m].mount_state===Ct)return;f==null||f(),this[m].mount_state=on,this.forceUpdate(()=>{u==null||u(),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=Ct,this.forceUpdate(),l==null||l(),r&&(this[m].is_mounted=!1,this[m].mount_state=rn,this.forceUpdate())},t)})}},[e,t]),this[m].is_mounted?(d&&(this[m].mount_state===et?this[m].is_appeared?this[m][ue]=d.appearActive:this[m][ue]=d.enterActive:this[m].mount_state===tt?this[m].is_appeared?this[m][ue]=d.appearDone:this[m][ue]=d.enterDone:this[m].mount_state===on?this[m][ue]=d.exitActive:this[m].mount_state===Ct&&(this[m][ue]=d.exitDone)),p):null}function wr({in:e,timeout:t=T.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:a,onEnter:c,onEntering:f,onEntered:u,onExit:l,onExiting:p,onExited:d}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(br,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:c,onEntering:f,onEntered:u,onExit:l,onExiting:p,onExited:d,_classNames:n},a)}function fi({children:e,activeKey:t,mode:n="out-in",timeout:r=T.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:a=!1,appear:c=!1,onExited:f,onEnter:u,onExiting:l,onEntered:p,...d}){let h=Ht(()=>Ee.toArray(e),[e]),[y,E]=V(null),[x,v]=V(!1),[g,w]=V(!0),O=j(t),S=j(t),_=j(y);ve(()=>{S.current=t},[t]),ve(()=>{_.current=y},[y]),ve(()=>{let C=O.current;C!==t&&(O.current=t,E(C),n==="out-in"?(w(!1),v(!0)):(w(!0),v(!1)))},[t,n]);let k=C=>(z,te)=>{typeof f=="function"&&f(z,te),C===_.current&&(E(null),n==="out-in"&&(v(!1),w(!0)),n==="in-out"&&v(!1))},L=C=>(z,te)=>{typeof p=="function"&&p(z,te),n==="in-out"&&C===S.current&&_.current!=null&&v(!0)};return createComponent("div",{style:{position:"relative"}},h.map((C,z)=>{var it;let te=((it=C==null?void 0:C.props)==null?void 0:it.key)||z,ot=te===t?g:te===y?!x:!1;return createComponent(wr,{...d,key:te,in:ot,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:a,appear:c,onEnter:u,onExiting:l,onEntered:L(te),onExited:k(te)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function pi({children:e}){return e}var an={};G(an,{addWrappedEventListener:()=>mi,createSyntheticEvent:()=>xr,releaseSyntheticEvent:()=>_r,wrapListener:()=>Er});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Ot=[],di=10,hi=["mouse","pen","touch"];function xr(e,t){var r,o,s,a,c,f,u,l,p,d,h,y,E,x,v,g,w,O,S,_,k,L;let n=Ot.length?Ot.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(a=e.buttons)!=null?a:null,n.pointerId=(c=e.pointerId)!=null?c:null,n.pointerType=(f=e.pointerType)!=null?f:null,n.isPrimary=(u=e.isPrimary)!=null?u:null,n.clientX=(l=e.clientX)!=null?l:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(d=e.screenX)!=null?d:0,n.screenY=(h=e.screenY)!=null?h:0,n.pageX=(y=e.pageX)!=null?y:null,n.pageY=(E=e.pageY)!=null?E:null,n.movementX=(x=e.movementX)!=null?x:0,n.movementY=(v=e.movementY)!=null?v:0,n.pressure=(g=e.pressure)!=null?g:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(O=e.tiltY)!=null?O:null,n.width=(S=e.width)!=null?S:null,n.height=(_=e.height)!=null?_:null,n.pointerEventsSupported=hi.includes(n.pointerType);try{let C=n.target;n.value=C&&"value"in C?C.value:void 0,n.checked=C&&"checked"in C?C.checked:void 0,n.selectionStart=C&&"selectionStart"in C?C.selectionStart:void 0,n.selectionEnd=C&&"selectionEnd"in C?C.selectionEnd:void 0}catch(C){n.value=void 0,n.checked=void 0,n.selectionStart=void 0,n.selectionEnd=void 0}return n.touches=e.touches||null,n.targetTouches=e.targetTouches||null,n.changedTouches=e.changedTouches||null,n.path=typeof e.composedPath=="function"?e.composedPath():[n.target],n.repeat=(k=e.repeat)!=null?k:!1,n.location=(L=e.location)!=null?L:0,n}function _r(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Ot.length<di&&Ot.push(e))}function Er(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,a=xr(o,s);try{let c=e(a);n&&c===!0&&a.stopPropagation()}finally{_r(a)}}}function mi(e,t,n,r={}){let o=Er(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var cn={};G(cn,{Provider:()=>yi,combineReducers:()=>wi,connect:()=>bi,useDispatch:()=>gi,useSelector:()=>vr,useStore:()=>$t});var nt;function yi({store:e,children:t}){return nt!=null||(nt=je(null)),createComponent(nt.Provider,{value:e},t)}function $t(){let e=Me(nt);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function gi(){return $t().dispatch}function vr(e,t=(n,r)=>n===r){let n=$t(),r=j(),o=j(e);o.current=e;let[s,a]=V(()=>e(n.getState()));return r.current=s,Q(()=>{function c(){let u=o.current(n.getState());t(r.current,u)||(r.current=u,a(u))}let f=n.subscribe(c);return c(),f},[n,t]),s}function bi(e,t){let n=!!e;return function(o){function s(a){let c=$t(),f={dispatch:c.dispatch};if(typeof t=="function")f=t(c.dispatch,a);else if(typeof t=="object"&&t!==null){f={};let p=c.dispatch;for(let d in t){let h=t[d];f[d]=(...y)=>p(h(...y))}}let u={};e&&(u=vr(d=>e(d,a),pe)||{});let l={...a,...u,...f};return createComponent(o,{...l})}return s}}function wi(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,a={};for(let c of t){let f=e[c],u=r[c],l=f(u,o);a[c]=l,s=s||l!==u}return s?a:r}}var un={};G(un,{blocks_info:()=>Ti,error:()=>ki,globalErrorHandler:()=>vi,scanBlockLabels:()=>Ei,traceError:()=>Sr});function Tr(e){if(e.lineno!==void 0||e.line!==void 0||e.lineNumber!==void 0){let n=e.lineNumber||e.lineno||e.line,r=e.columnNumber||e.colno||e.column;return{line:n,col:r}}let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return t===null&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?{line:parseInt(t[1]),col:parseInt(t[2])}:null}function xi(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${_i(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let a=s.trim();if(!a.includes(t))continue;let c=a.match(o);if(!c)continue;let f=c[1],u=Number(c[2]),l=c[3]==null?null:Number(c[3]);if(Number.isFinite(u)&&(l===null||Number.isFinite(l)))return{url:f,line:u,col:l,matched:a}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
|
|
60
|
-
`)}}function
|
|
57
|
+
var Tn=Object.defineProperty;var Br=(e,t,n)=>t in e?Tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var H=(e,t)=>{for(var n in t)Tn(e,n,{get:t[n],enumerable:!0})};var V=(e,t,n)=>Br(e,typeof t!="symbol"?t+"":t,n);var Mt={};H(Mt,{__DO_NOT_USE__ActionTypes:()=>Be,applyMiddleware:()=>zr,bindActionCreators:()=>Yr,combineReducers:()=>Xr,compose:()=>Cn,createStore:()=>jt,isAction:()=>Gr,isPlainObject:()=>Dt,legacy_createStore:()=>Wr});function D(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var qr=typeof Symbol=="function"&&Symbol.observable||"@@observable",Sn=qr,Pt=()=>Math.random().toString(36).substring(7).split("").join("."),Fr={INIT:`@@redux/INIT${Pt()}`,REPLACE:`@@redux/REPLACE${Pt()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Pt()}`},Be=Fr;function Dt(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function jt(e,t,n){if(typeof e!="function")throw new Error(D(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(D(1));return n(jt)(e,t)}let r=e,o=t,s=new Map,a=s,c=0,f=!1;function l(){a===s&&(a=new Map,s.forEach((x,T)=>{a.set(T,x)}))}function u(){if(f)throw new Error(D(3));return o}function p(x){if(typeof x!="function")throw new Error(D(4));if(f)throw new Error(D(5));let T=!0;l();let g=c++;return a.set(g,x),function(){if(T){if(f)throw new Error(D(6));T=!1,l(),a.delete(g),s=null}}}function d(x){if(!Dt(x))throw new Error(D(7));if(typeof x.type=="undefined")throw new Error(D(8));if(typeof x.type!="string")throw new Error(D(17));if(f)throw new Error(D(9));try{f=!0,o=r(o,x)}finally{f=!1}return(s=a).forEach(g=>{g()}),x}function h(x){if(typeof x!="function")throw new Error(D(10));r=x,d({type:Be.REPLACE})}function y(){let x=p;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(D(11));function g(){let O=T;O.next&&O.next(u())}return g(),{unsubscribe:x(g)}},[Sn](){return this}}}return d({type:Be.INIT}),{dispatch:d,subscribe:p,getState:u,replaceReducer:h,[Sn]:y}}function Wr(e,t,n){return jt(e,t,n)}function Vr(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:Be.INIT})=="undefined")throw new Error(D(12));if(typeof n(void 0,{type:Be.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(D(13))})}function Xr(e){let t=Object.keys(e),n={};for(let a=0;a<t.length;a++){let c=t[a];typeof e[c]=="function"&&(n[c]=e[c])}let r=Object.keys(n),o,s;try{Vr(n)}catch(a){s=a}return function(c={},f){if(s)throw s;let l=!1,u={};for(let p=0;p<r.length;p++){let d=r[p],h=n[d],y=c[d],v=h(y,f);if(typeof v=="undefined"){let x=f&&f.type;throw new Error(D(14))}u[d]=v,l=l||v!==y}return l=l||r.length!==Object.keys(c).length,l?u:c}}function kn(e,t){return function(...n){return t(e.apply(this,n))}}function Yr(e,t){if(typeof e=="function")return kn(e,t);if(typeof e!="object"||e===null)throw new Error(D(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=kn(o,t))}return n}function Cn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function zr(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(D(15))},a={getState:o.getState,dispatch:(f,...l)=>s(f,...l)},c=e.map(f=>f(a));return s=Cn(...c)(o.dispatch),{...o,dispatch:s}}}function Gr(e){return Dt(e)&&"type"in e&&typeof e.type=="string"}var Ye={};H(Ye,{cache:()=>To,css:()=>Wt,cx:()=>bo,flush:()=>yo,getRegisteredStyles:()=>_o,hydrate:()=>go,injectGlobal:()=>xo,keyframes:()=>Eo,merge:()=>wo,sheet:()=>vo});var Hr=!1;function Zr(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Jr(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var On=(function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Hr:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jr(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Zr(o);try{s.insertRule(r,s.cssRules.length)}catch(a){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var M="-ms-",qe="-moz-",A="-webkit-",at="comm",ke="rule",Ce="decl";var $n="@import";var ct="@keyframes";var An="@layer";var Ln=Math.abs,we=String.fromCharCode,Rn=Object.assign;function In(e,t){return R(e,0)^45?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function ut(e){return e.trim()}function Ut(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function Fe(e,t){return e.indexOf(t)}function R(e,t){return e.charCodeAt(t)|0}function de(e,t,n){return e.slice(t,n)}function K(e){return e.length}function Oe(e){return e.length}function $e(e,t){return t.push(e),e}function Kt(e,t){return e.map(t).join("")}var lt=1,Ae=1,Nn=0,B=0,I=0,Re="";function We(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:lt,column:Ae,length:a,return:""}}function Ie(e,t){return Rn(We("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pn(){return I}function Dn(){return I=B>0?R(Re,--B):0,Ae--,I===10&&(Ae=1,lt--),I}function q(){return I=B<Nn?R(Re,B++):0,Ae++,I===10&&(Ae=1,lt++),I}function J(){return R(Re,B)}function Ve(){return B}function Ne(e,t){return de(Re,e,t)}function Le(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ft(e){return lt=Ae=1,Nn=K(Re=e),B=0,[]}function pt(e){return Re="",e}function Pe(e){return ut(Ne(B-1,Bt(e===91?e+2:e===40?e+1:e)))}function jn(e){for(;(I=J())&&I<33;)q();return Le(e)>2||Le(I)>3?"":" "}function Mn(e,t){for(;--t&&q()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Ne(e,Ve()+(t<6&&J()==32&&q()==32))}function Bt(e){for(;q();)switch(I){case e:return B;case 34:case 39:e!==34&&e!==39&&Bt(I);break;case 40:e===41&&Bt(e);break;case 92:q();break}return B}function Un(e,t){for(;q()&&e+I!==57;)if(e+I===84&&J()===47)break;return"/*"+Ne(t,B-1)+"*"+we(e===47?e:q())}function Kn(e){for(;!Le(J());)q();return Ne(e,B)}function Fn(e){return pt(dt("",null,null,null,[""],e=ft(e),0,[0],e))}function dt(e,t,n,r,o,s,a,c,f){for(var l=0,u=0,p=a,d=0,h=0,y=0,v=1,x=1,T=1,g=0,w="",O=o,k=s,E=r,S=w;x;)switch(y=g,g=q()){case 40:if(y!=108&&R(S,p-1)==58){Fe(S+=$(Pe(g),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:S+=Pe(g);break;case 9:case 10:case 13:case 32:S+=jn(y);break;case 92:S+=Mn(Ve()-1,7);continue;case 47:switch(J()){case 42:case 47:$e(Qr(Un(q(),Ve()),t,n),f);break;default:S+="/"}break;case 123*v:c[l++]=K(S)*T;case 125*v:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+u:T==-1&&(S=$(S,/\f/g,"")),h>0&&K(S)-p&&$e(h>32?qn(S+";",r,n,p-1):qn($(S," ","")+";",r,n,p-2),f);break;case 59:S+=";";default:if($e(E=Bn(S,t,n,l,u,o,c,w,O=[],k=[],p),s),g===123)if(u===0)dt(S,t,E,E,O,s,p,c,k);else switch(d===99&&R(S,3)===110?100:d){case 100:case 108:case 109:case 115:dt(e,E,E,r&&$e(Bn(e,E,E,0,0,o,c,w,o,O=[],p),k),o,k,p,c,r?O:k);break;default:dt(S,E,E,E,[""],k,0,c,k)}}l=u=h=0,v=T=1,w=S="",p=a;break;case 58:p=1+K(S),h=y;default:if(v<1){if(g==123)--v;else if(g==125&&v++==0&&Dn()==125)continue}switch(S+=we(g),g*v){case 38:T=u>0?1:(S+="\f",-1);break;case 44:c[l++]=(K(S)-1)*T,T=1;break;case 64:J()===45&&(S+=Pe(q())),d=J(),u=p=K(w=S+=Kn(Ve())),g++;break;case 45:y===45&&K(S)==2&&(v=0)}}return s}function Bn(e,t,n,r,o,s,a,c,f,l,u){for(var p=o-1,d=o===0?s:[""],h=Oe(d),y=0,v=0,x=0;y<r;++y)for(var T=0,g=de(e,p+1,p=Ln(v=a[y])),w=e;T<h;++T)(w=ut(v>0?d[T]+" "+g:$(g,/&\f/g,d[T])))&&(f[x++]=w);return We(e,t,n,o===0?ke:c,f,l,u)}function Qr(e,t,n){return We(e,t,n,at,we(Pn()),de(e,2,-2),0)}function qn(e,t,n,r){return We(e,t,n,Ce,de(e,0,r),de(e,r+1,-1),r)}function _e(e,t){for(var n="",r=Oe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Wn(e,t,n,r){switch(e.type){case An:if(e.children.length)break;case $n:case Ce:return e.return=e.return||e.value;case at:return"";case ct:return e.return=e.value+"{"+_e(e.children,r)+"}";case ke:e.value=e.props.join(",")}return K(n=_e(e.children,r))?e.return=e.value+"{"+n+"}":""}function Vn(e){var t=Oe(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function Xn(e){return function(t){t.root||(t=t.return)&&e(t)}}function Yn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var eo=function(t,n,r){for(var o=0,s=0;o=s,s=J(),o===38&&s===12&&(n[r]=1),!Le(s);)q();return Ne(t,B)},to=function(t,n){var r=-1,o=44;do switch(Le(o)){case 0:o===38&&J()===12&&(n[r]=1),t[r]+=eo(B-1,n,r);break;case 2:t[r]+=Pe(o);break;case 4:if(o===44){t[++r]=J()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=we(o)}while(o=q());return t},no=function(t,n){return pt(to(ft(t),n))},zn=new WeakMap,ro=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!zn.get(r))&&!o){zn.set(t,!0);for(var s=[],a=no(n,s),c=r.props,f=0,l=0;f<a.length;f++)for(var u=0;u<c.length;u++,l++)t.props[l]=s[f]?a[f].replace(/&\f/g,c[u]):c[u]+" "+a[f]}}},oo=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gn(e,t){switch(In(e,t)){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+qe+e+M+e+e;case 6828:case 4268:return A+e+M+e+e;case 6165:return A+e+M+"flex-"+e+e;case 5187:return A+e+$(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return A+e+M+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return A+e+M+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+M+$(e,"shrink","negative")+e;case 5292:return A+e+M+$(e,"basis","preferred-size")+e;case 6060:return A+"box-"+$(e,"-grow","")+A+e+M+$(e,"grow","positive")+e;case 4554:return A+$(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch(R(e,t+1)){case 109:if(R(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+qe+(R(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fe(e,"stretch")?Gn($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(R(e,t+1)!==115)break;case 6444:switch(R(e,K(e)-3-(~Fe(e,"!important")&&10))){case 107:return $(e,":",":"+A)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(R(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+M+e+e}return e}var io=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Ce:t.return=Gn(t.value,t.length);break;case ct:return _e([Ie(t,{value:$(t.value,"@","@"+A)})],o);case ke:if(t.length)return Kt(t.props,function(s){switch(Ut(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _e([Ie(t,{props:[$(s,/:(read-\w+)/,":"+qe+"$1")]})],o);case"::placeholder":return _e([Ie(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),Ie(t,{props:[$(s,/:(plac\w+)/,":"+qe+"$1")]}),Ie(t,{props:[$(s,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},so=[io],Hn=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||so,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),T=1;T<x.length;T++)s[x[T]]=!0;c.push(v)});var f,l=[ro,oo];{var u,p=[Wn,Xn(function(v){u.insert(v)})],d=Vn(l.concat(o,p)),h=function(x){return _e(Fn(x),d)};f=function(x,T,g,w){u=g,h(x?x+"{"+T.styles+"}":T.styles),w&&(y.inserted[T.name]=!0)}}var y={key:n,sheet:new On({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:f};return y.sheet.hydrate(c),y};function Zn(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Jn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ao=!1,co=/[A-Z]|^ms/g,uo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nr=function(t){return t.charCodeAt(1)===45},Qn=function(t){return t!=null&&typeof t!="boolean"},qt=Yn(function(e){return nr(e)?e:e.replace(co,"-$&").toLowerCase()}),er=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(uo,function(r,o,s){return ae={name:o,styles:s,next:ae},o})}return Jn[t]!==1&&!nr(t)&&typeof n=="number"&&n!==0?n+"px":n},lo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Xe(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return ae={name:o.name,styles:o.styles,next:ae},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ae={name:a.name,styles:a.styles,next:ae},a=a.next;var c=s.styles+";";return c}return fo(e,t,n)}case"function":{if(e!==void 0){var f=ae,l=n(e);return ae=f,Xe(e,t,l)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function fo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Xe(e,t,n[o])+";";else for(var s in n){var a=n[s];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?r+=s+"{"+t[c]+"}":Qn(c)&&(r+=qt(s)+":"+er(s,c)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&ao)throw new Error(lo);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)Qn(a[f])&&(r+=qt(s)+":"+er(s,a[f])+";");else{var l=Xe(e,t,a);switch(s){case"animation":case"animationName":{r+=qt(s)+":"+l+";";break}default:r+=s+"{"+l+"}"}}}}return r}var tr=/label:\s*([^\s;{]+)\s*(;|$)/g,ae;function ht(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";ae=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Xe(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Xe(n,t,e[c]),r){var f=s;o+=f[c]}tr.lastIndex=0;for(var l="",u;(u=tr.exec(o))!==null;)l+="-"+u[1];var p=Zn(o)+l;return{name:p,styles:o,next:ae}}var po=!0;function Ft(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var ho=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||po===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},rr=function(t,n,r){ho(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function or(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function ir(e,t,n){var r=[],o=Ft(e,r,n);return r.length<2?n:o+t(r)}var sr=function(t){var n=Hn(t);n.sheet.speedy=function(c){this.isSpeedy=c},n.compat=!0;var r=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=ht(l,n.registered,void 0);return rr(n,p,!1),n.key+"-"+p.name},o=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=ht(l,n.registered),d="animation-"+p.name;return or(n,{name:p.name,styles:"@keyframes "+d+"{"+p.styles+"}"}),d},s=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=ht(l,n.registered);or(n,p)},a=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];return ir(n.registered,r,mo(l))};return{css:r,cx:a,injectGlobal:s,keyframes:o,hydrate:function(f){f.forEach(function(l){n.inserted[l]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:Ft.bind(null,n.registered),merge:ir.bind(null,n.registered,r)}},mo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var ce=sr({key:"css"}),yo=ce.flush,go=ce.hydrate,bo=ce.cx,wo=ce.merge,_o=ce.getRegisteredStyles,xo=ce.injectGlobal,Eo=ce.keyframes,Wt=ce.css,vo=ce.sheet,To=ce.cache;function F(e){return e==null}function U(e){return e||"<<anonymous>>"}function So(e){return e&&(e.displayName||e.name)||"Unknown"}function xe(e){let t=function(r,o,s,a,c,f){let l=r[o];if(F(l)||e(l))return null;let u=e.expectedType||"the correct type",p=l===null?"null":typeof l;return new Error(`Invalid ${a} \`${c}\` of type \`${p}\` supplied to \`${U(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,a,c){let f=r[o];return F(f)?new Error(`The ${a} \`${c}\` is marked as required in \`${U(s)}\`, but its value is \`${f}\`.`):t(r,o,s,a,c)},t}function ko(){let e={};e.any=(function(){let r=function(s,a,c,f,l){return null};return r.isRequired=function(){return null},r})(),e.array=xe(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=xe(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=xe(r=>typeof r=="function"),e.func.expectedType="function",e.number=xe(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=xe(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=xe(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=xe(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.oneOf=function(o){let s=Array.isArray(o)?o:[],a=function(f,l,u,p,d){let h=f[l];if(F(h))return null;for(let v=0;v<s.length;v++)if(h===s[v])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${d}\` of value \`${String(h)}\` supplied to \`${U(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return a.isRequired=function(f,l,u,p,d){return F(f[l])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(u)}\`, but its value is \`${f[l]}\`.`):a(f,l,u,p,d)},a},e.oneOfType=function(o){let s=o||[],a=function(f,l,u,p,d){let h=f[l];if(F(h))return null;for(let y=0;y<s.length;y++)if(s[y](f,l,u,p,d)===null)return null;return new Error(`Invalid ${p} \`${d}\` supplied to \`${U(u)}\` (none of the allowed types matched).`)};return a.isRequired=function(f,l,u,p,d){return F(f[l])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(u)}\`, but its value is \`${f[l]}\`.`):a(f,l,u,p,d)},a},e.arrayOf=function(o){let s=o,a=function(f,l,u,p,d){let h=f[l];if(F(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an array.`);for(let y=0;y<h.length;y++){let v=`${d}[${y}]`,x=s({[l]:h[y]},l,u,p,v);if(x!==null)return x}return null};return a.isRequired=function(f,l,u,p,d){return F(f[l])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(u)}\`, but its value is \`${f[l]}\`.`):a(f,l,u,p,d)},a},e.objectOf=function(o){let s=o,a=function(f,l,u,p,d){let h=f[l];if(F(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an object.`);let y=Object.keys(h);for(let v=0;v<y.length;v++){let x=y[v],T=`${d}.${x}`,g=s({[l]:h[x]},l,u,p,T);if(g!==null)return g}return null};return a.isRequired=function(f,l,u,p,d){return F(f[l])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(u)}\`, but its value is \`${f[l]}\`.`):a(f,l,u,p,d)},a};function t(r,{exact:o}){let s=r?Object.keys(r):[],a=function(f,l,u,p,d){let h=f[l];if(F(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an object.`);if(o){let v=Object.keys(h);for(let x=0;x<v.length;x++){let T=v[x];if(!Object.prototype.hasOwnProperty.call(r,T)){let g=`${d}.${T}`;return new Error(`Invalid ${p} \`${g}\` supplied to \`${U(u)}\`: extra key \`${T}\` is not allowed by exact().`)}}}for(let v=0;v<s.length;v++){let x=s[v],T=r[x],g=h[x],w=`${d}.${x}`;if(F(g)){let k=T({[l]:g},l,u,p,w);if(k!==null)return k;continue}let O=T({[l]:g},l,u,p,w);if(O!==null)return O}return null};return a.isRequired=function(f,l,u,p,d){return F(f[l])?new Error(`The ${p} \`${d}\` is marked as required in \`${U(u)}\`, but its value is \`${f[l]}\`.`):a(f,l,u,p,d)},a}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(c,f,l,u,p){let d=c[f];return F(d)||d instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${U(l)}\`: expected instance of \`${So(o)}\`.`)};return s.isRequired=function(c,f,l,u,p){return F(c[f])?new Error(`The ${u} \`${p}\` is marked as required in \`${U(l)}\`, but its value is \`${c[f]}\`.`):s(c,f,l,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,a,c){},e}var ar=ko();var Gt={};H(Gt,{Component:()=>he,HTMLComponent:()=>He,RootComponent:()=>vt,boolean_html_attributes_set:()=>gr,capture_events_set:()=>St,createComponent:()=>dr,createElement:()=>Uo,createRoot:()=>hr,current_component:()=>Ko,effect_timeout:()=>zo,events_set:()=>Tt,insertion_effects:()=>Vo,layout_effects:()=>Wo,length_css_attributes_set:()=>yr,passive_effects:()=>Xo,processEffects:()=>pr,render:()=>Mo,roots:()=>Fo,special_attributes:()=>mr,update_cbs:()=>qo,update_interval_margin:()=>Go,update_set:()=>Bo,update_timeout:()=>Yo});var[m,De,W,cr,ne,ue,Ds,mt,re,yt,gt,ze,bt,wt]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:TEXT"),Symbol.for("LILACT:IS_ZOMBIE"),Symbol.for("LILACT:IDX"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM"),Symbol.for("LILACT:MEMOIZED"),Symbol.for("LILACT:LAZY"),Symbol.for("LILACT:TIMERS:DUE"),Symbol.for("LILACT:TIMERS:REPEAT"),Symbol.for("LILACT:TIMERS:CLEARED"),Symbol.for("LILACT:TIMERS:INTERVAL"),Symbol.for("LILACT:TIMERS:CALLBACK"),Symbol.for("LILACT:TIMERS:ARGS")];var Yt={};H(Yt,{Children:()=>Ee,Fragment:()=>lr,deepEqual:()=>Vt,eval_num:()=>Io,findDOMNode:()=>Oo,forwardRef:()=>Xt,getComponentByPointer:()=>$o,id_num:()=>Ro,isAsync:()=>Ao,isClass:()=>_t,isEmpty:()=>X,isError:()=>Lo,isThenable:()=>xt,isValidComponent:()=>ur,isValidElement:()=>Co,shallowEqual:()=>fe,toBool:()=>Et});var le=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},ur=e=>e[m]!==void 0||e[TEXT]!==void 0,Co=ur,Oo=e=>{var t,n;if(!((n=(t=e[m])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[m].element},lr=function({children:e}){return e};lr.displayName="Fragment";var Ee={only(e){var n,r;e=[...e];let t=0;for(;t<e.length;){if(((r=(n=e[t])==null?void 0:n.constructor)==null?void 0:r.name)==="Array"?(e.splice(t,1,...e[t]),t--):(e[t]===null||e[t]===void 0)&&(e.splice(t,1),t--),t>1)throw new Error("No child or child is not the only one");t++}if(e.length===1)return e[0]},toArray(e){var t;return e?((t=e==null?void 0:e.constructor)==null?void 0:t.name)==="Array"?[...e]:[e]:[]}},Xt=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function $o(){let e,t=new Promise((r,o)=>{e=r});function n(r){r.stopImmediatePropagation(),window.removeEventListener("click",n,!0);let o=r.target;for(;!o[De]&&o.parentNode;)o=o.parentNode;return e(o[De]),!1}return window.addEventListener("click",n,!0),t}function X(e){for(let t in e)return!1;return!0}var fe=(e,t)=>le(e)!==le(t)?!1:le(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>n===t[r]):le(e)==="object"?Object.keys(e).every(n=>e[n]===t[n]):le(e)==="date"?e.getTime()===t.getTime():e===t;function Vt(e,t){return le(e)!==le(t)?!1:le(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Vt(n,t[r])):le(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Vt(e[n],t[n])):le(e)==="date"?e.getTime()===t.getTime():e===t}function _t(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function Ao(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function xt(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function Lo(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Et(e){if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="true")return!0;if(e==="false")return!1}return!!e}var Ro=Math.floor(Math.random()*1e4),Io=0;var zt=class{constructor(t){V(this,"owner");V(this,"current_map",new Map);V(this,"new_map",new Map);V(this,"pick_index",0);this.owner=t}pick(t,n){var s,a;let r,o=this.current_map.get(t);return o&&o.length>o[ne]?(r=o[o[ne]],o[ne]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ne]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ne]=0),r[m]&&((a=(s=r[m]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ne]).forEach(n=>{n.cleanup?n.cleanup():n.element&&n.element.parentElement.removeChild(n.element)})}),this.current_map=this.new_map,this.new_map=new Map}},Ge=class{constructor(t,n){V(this,"component");V(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var c,f;if(typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[De]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let r=this.state,o=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,_.current_component=[this,_.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(l){fr(this,l)}_.current_component=_.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(l){fr(this,l)}((f=(c=this.outlet)==null?void 0:c.constructor)==null?void 0:f.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let l=0;l<this.outlet.length;l++){let u=this.outlet[l];if(u==null||typeof u=="boolean")this.outlet.splice(l,1),l--;else if(typeof u=="function"){let p=this.childFunctionHandler(u);this.outlet.splice(l,1,p),l--}else if(u.constructor.name==="Array")this.outlet.splice(l,1,...u),l--;else{let p=Po(this,u);this.outlet[l]=p,p[W]===void 0?(p.container=this.element?this:this.container,p.apply(u.props)):p.element?p[W]!==u[W]&&(p.element.textContent=u[W],p[W]=u[W]):(p.element=document.createTextNode(u[W]),p[W]=u[W])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(o,r,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,a,c,f,l;this.entity==="input"?(t!=null&&t.type||(t.type="text"),t.type!==this.element.type&&(this.element.type=t.type),(t==null?void 0:t.value)!==void 0&&(t==null?void 0:t.value)!==this.element.value&&(t.value===void 0&&(t.value=""),this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength))):this.entity==="textarea"?(t==null?void 0:t.value)!==this.element.value&&(this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength)):this.entity==="select"&&(t==null?void 0:t.value)!==this.element.value&&_.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Tt.has(p)?this.event_detachers[p]():this.element.setAttribute(u,void 0))}for(let u in t){let p=u.toLowerCase();if(!mr.has(p)&&(t===this.props||!_.defaultIsEqual(t[u],this.props[u])||n))if(Tt.has(p))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[p])==null||s.call(o),this.event_detachers[p]=_.addWrappedEventListener(this.element,p.substring(2),t[u]);else if(St.hasOwnProperty(p)){let d=St[p];(a=this.event_detachers)!=null||(this.event_detachers={}),(f=(c=this.event_detachers)[p])==null||f.call(c),this.event_detachers[p]=_.addWrappedEventListener(this.element,d.substring(2),t[u],{capture:!0})}else if(u==="style")if(typeof t.style=="string")this.element.style=t.style;else{if((l=this.props)!=null&&l.style)if(typeof this.props.style=="string")this.element.style="";else for(let d in this.props.style)t.style.hasOwnProperty(d)||(this.element.style[d]="");for(let d in t.style)yr.has(d)&&isFinite(t.style[d])&&(t.style[d]+="px");Object.assign(this.element.style,t.style)}else gr.has(u)?this.element[u]=Et(t[u]):u==="autoFocus"?this.element.autofocus=Et(t[u]):u==="htmlFor"?this.element.setAttribute("for",t[u]):(p!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(p,t[u])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[ue]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[ue])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][cr]&&r[t.insert_index]!==n;)t.insert_index++}appendElement(t){var n;this.scanZombies(t.container,t.element),(t==null?void 0:t.element.parentNode)===null?(t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),(n=t==null?void 0:t.component)!=null&&n.componentDidMount&&t.component.componentDidMount()):t.container.element.childNodes[t.container.insert_index]!==t.element&&t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),t.container.insert_index++}arrangeOutlet(){var t;this.insert_index=0;for(let n of this.outlet)n&&(n.element?(n.container=this.element?this:this.container,n.container.appendElement(n)):(n.arrangeOutlet&&n.arrangeOutlet(),n!=null&&n.mounted||(n.mounted=!0,(t=n==null?void 0:n.component)!=null&&t.componentDidMount&&n.component.componentDidMount())))}childFunctionHandler(t){return t(this.state)}},fr=(e,t)=>{var o,s,a,c;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(a=e.entity)!=null&&a.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,f=>`in ${typeof f.component.displayName=="function"?f.component.displayName():f.component.displayName}`).join(`
|
|
58
|
+
`);if(t.componentStack=n,t.componentStackLog=r,(c=e==null?void 0:e.component)!=null&&c.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function No(e,t){var r,o;let n=e;if(e[W]===void 0)if(typeof e.entity=="string")n=new He(e.entity,e.props);else{if(_t(e.entity)){(r=e.entity)!=null&&r.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new e.entity(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[m].state=n.state,Object.defineProperty(n,"state",{get(){return this[m].state},set(a){if(this[m].state===void 0)this[m].state=a;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof e.entity=="function")(o=e.entity)!=null&&o.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new he(e.props),n.render=e.entity.bind(n),n[m].hooks=[],n[m].hook_index=0;else throw new Error("Invalid entity for createComponent.");n[m].entity=e.entity,e.container&&(n[m].container=e.container)}return t instanceof Ge&&(n[m].parent=t),n}function Po(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new zt(e)),t=e.cache.pick(t[W]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[W]!==void 0||t instanceof Ge?t:No(t,e)[m]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function Do(){clearTimeout(_.effect_timeout);let e=_.update_set,t=_.update_cbs;_.update_set=new Set,_.update_cbs=new Set;for(let n of e)n.apply();for(let n of t)n();pr()}function pr(){let e=_.insertion_effects,t=_.layout_effects,n=_.passive_effects;_.insertion_effects=new Set,_.layout_effects=new Set,_.passive_effects=new Set;for(let r of e)r();for(let r of t)r();requestAnimationFrame(()=>{for(let r of n)r()})}var jo=(e,t)=>{let n;return t.key!==void 0?n=t.key:t.id!==void 0?n=":i:"+t.id:t.path!==void 0?n=":p:"+t.path:t[W]!==void 0?n=":text:":(typeof e=="string"?n=":t:"+e:e!=null&&e.name?n=e.name:n="::",t.name!==void 0?n=n+":"+t.name:t.path!==void 0&&(n=n+":"+t.path)),n},he=class{get state(){return this[m].state}set state(t){if(this[m].state===void 0)this[m].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[m].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[m].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[m].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[m].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[m].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[m].entity)!=null&&t.displayName?(n=this[m].entity)==null?void 0:n.displayName:typeof this[m].entity=="string"?this[m].entity:(_t(this[m].entity)&&this[m].entity.constructor.name,typeof this[m].entity=="function"?this[m].entity.name:"Component")}constructor(t){this[m]=new Ge(this,t)}forceUpdate(t){_.clearTimeout(_.update_timeout),_.update_set.add(this[m].container||this[m]),t&&_.update_cbs.add(t.bind(this)),_.update_timeout=_.setTimeout(Do,_.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[m].last_snapshot=this.getSnapshotBeforeUpdate(this[m].props,this.state)),this[m].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},He=class extends he{constructor(t,n){super(n),this[m].entity=t}render(){return this[m].props.children}},vt=class extends He{constructor(n,r){super(":root",r);V(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[m].element=n;for(let o of r.children)o[m]?o[m].container=this[m]:o.container=this[m]}};function dr(e,t={},...n){if(typeof e!="string"&&typeof e!="function")throw new Error("Invalid entity for createComponent.");for(let r=0;r<n.length;r++){let o=n[r];if(o==null||typeof o=="boolean"){n.splice(r,1),r--;continue}["number","bigint"].indexOf(typeof o)!==-1&&(o=o.toString()),typeof o=="string"?n[r]={[W]:o}:n[r]=o}return t.key=jo(e,t),t.children=n,{entity:e,props:t}}function hr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new vt(e,{children:[n]}),_.roots.add(t[m]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Mo(e,t){if(e[m]&&(e[m].container||e[m].parent))throw new Error("Component is already in use");return hr(t).render(e)}var Uo=dr,Ko=[],Bo=new Set,qo=new Set,Fo=new Set,Wo=new Set,Vo=new Set,Xo=new Set,Yo,zo,Go=0,mr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Tt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),St={};for(let e of Tt)St[e+"capture"]=e;var yr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","outlineWidth","fontSize","lineHeight","letterSpacing","wordSpacing","textIndent","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","columnGap","rowGap","gap"]),gr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var Jt={};H(Jt,{createContext:()=>je,startTransition:()=>ri,useActionState:()=>Qo,useCallback:()=>oe,useContext:()=>Me,useDebugValue:()=>ni,useDeferredValue:()=>ti,useEffect:()=>Q,useHook:()=>Z,useId:()=>Ho,useImperativeHandle:()=>Zt,useInsertionEffect:()=>Jo,useLayoutEffect:()=>ve,useLocalStorage:()=>Zo,useMemo:()=>Ht,useReducer:()=>ei,useRef:()=>j,useState:()=>Y,useTransition:()=>br});function Z(){let e=_.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Y(e){let t=Z();return X(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,_.current_component[0],t)),[t.value,t.set_func]}function oe(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&fe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function je(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function Me(e){var n;let t=_.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let r=(n=t.props)==null?void 0:n.value;return r!=null?r:r=e.default}return e.default}function Ho(e="N"){let t=Z();return X(t)&&(t.id=e+_.id_num++),t.id}function br(){let e=Z();return X(e)&&(e.count=0,e.func=(async function(t,n,r){n.count===0&&t.component.forceUpdate(),n.count++,await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,_.current_component[0],e)),[e.count!=0,e.func]}function Zo(e,t){let n=Z(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),X(n)&&(n.value=r,n.set_func=function(o,s,a){typeof a=="function"&&(a=a(s.value)),a!==s.value&&(localStorage[e]=JSON.stringify(a),s.value=a,o.component.forceUpdate())}.bind(void 0,_.current_component[0],n)),[n.value,n.set_func]}function j(e=null){let t=Z();return X(t)&&(t.current=e),t}function ve(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Layout effect dependencies must be an array, object or omitted.");let n=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&fe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,_.layout_effects.add(()=>{n.cleanup=e()}),_.clearTimeout(_.effect_timeout),_.setTimeout(_.processEffects,0))}function Q(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Effect dependencies must be an array, object or omitted.");let n=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&fe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,_.passive_effects.add(()=>{n.cleanup=e()}),_.clearTimeout(_.effect_timeout),_.setTimeout(_.processEffects,0))}function Jo(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&fe(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,_.insertion_effects.add(()=>{n.cleanup=e()}),_.clearTimeout(_.effect_timeout),_.setTimeout(_.processEffects,0))}function Ht(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Memo dependencies must be an array or omitted.");let n=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&fe(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Qo(e,t){let n=Z(),[r,o]=br();return X(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let a=new FormData(s.target,s.submitter);n.state=await e(n.state,a)},[]),!1)),[n.state,n.form_action,r]}function ei(e,t,n){let r=Z();return X(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,a){let c=s.reducer(s.state,a);_.defaultIsEqual(c,s.state)||(s.state=c,o.component.forceUpdate())}.bind(void 0,_.current_component[0],r)),[r.state,r.dispatch]}function ti(e,t){let{useEffect:n,useRef:r,useState:o}=_,[s,a]=o(typeof t!="undefined"?t:e),c=r(e),f=r(null);return n(()=>{if(c.current===e)return;c.current=e,f.current!=null&&(f.current.cancelled=!0,f.current=null);let l={cancelled:!1};return f.current=l,Promise.resolve().then(()=>{l.cancelled||(a(e),f.current=null)}),()=>{f.current&&(f.current.cancelled=!0,f.current=null)}},[e]),s}function Zt(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&fe(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function ni(e,t=n=>n){}function ri(e){e()}var Qt={};H(Qt,{lazy:()=>oi,require:()=>wr,required_scripts:()=>pe,run:()=>Ze,runScripts:()=>si});var pe={};function Ze(jsx,path=`InlineJSX-${++_.eval_num}`,is_inline=!0){let mappings=[],module={exports:{}},processed;pe[path]={mappings,module,is_inline,path,code:jsx};try{processed=_.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:_.blocks_info,injectTraceLabels:!0})}catch(e){throw _.error=e,e}processed+=`
|
|
59
|
+
//# sourceURL=eval:/`+path,_.scanBlockLabels(processed,path);try{globalThis.Lilact=_,globalThis.createComponent=_.createComponent,globalThis.Fragment=_.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=_.traceError(e),e}}function wr(e,t){var n;if(pe[e]&&!t)return pe[e].module.exports;if(e[0]==="#"){let r=document.getElementById(e);if(r)return Ze(r.innerText,e)}else{if((n=_)!=null&&n[mt])return _[mt]=!1,fetch(e).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return r.text()}).then(r=>{var o;return r=Ze(r,e,!1),(o=r==null?void 0:r.default)!=null?o:r}).catch(r=>{throw r});{let r=new XMLHttpRequest;if(r.open("GET",e,!1),r.send(null),r.status===200)return Ze(r.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function oi(e){let t="pending",n;_[mt]=!0,n=e(),_.isThenable(n)?n.then(o=>(t="success",n=o,n),o=>{throw t="error",n=o,o}):t="success";function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function ii(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(t=>{var n,r;return{src:(n=t.getAttribute("src"))!=null?n:null,content:(r=t.textContent)!=null?r:""}})}function si(){let e=ii();for(let t of e)t.src&&wr(t.src),t.content&&Ze(t.content)}var sn={};H(sn,{CSSTransition:()=>xr,SwitchTransition:()=>wi,Transition:()=>_r,TransitionGroup:()=>_i});var nn={};H(nn,{animationFramePromise:()=>bi,clearInterval:()=>hi,clearTimeout:()=>ee,grabTimers:()=>mi,pauseTimers:()=>fi,releaseTimers:()=>yi,resetTimers:()=>li,resumeTimers:()=>pi,setInterval:()=>di,setTimeout:()=>ge,timeoutPromise:()=>gi});var Ue,Je=-1,z=[],me=-1,ye={},kt=window.setTimeout,ai=window.setInterval,Qe=window.clearTimeout,ci=window.clearInterval;function ui(e){let t=0,n=z.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=z[o][re];if(s===e)return[o,z[o]];s<e?t=o+1:n=o-1}let r=[];return r[re]=e,z.splice(t,0,r),[t,r]}function en(e,t=!1){let[n,r]=ui(e[re]);return t||(Je++,ye[Je]=e,e[ne]=Je),r.push(e),z[0][0]===e&&(Qe(me),me=kt(tn,e[ze])),Je}function tn(){let e=Date.now(),t=0,n=z[t];for(;n&&n[re]-e<=0;){for(let r of n)r[gt]?delete ye[r[ne]]:(r[bt](...r[wt]),r[yt]?(r[re]=Date.now()+r[ze],en(r,!0)):delete ye[r[ne]]);t++,n=z[t]}z.splice(0,t),z.length>0&&(Qe(me),me=kt(tn,z[0][re]-e))}function li(){Qe(me),Ue=void 0,Je=-1,z=[],me=-1,ye={}}function fi(){Qe(me),Ue=Date.now()}function pi(){if(Ue){if(z.length>0){let e=Date.now();Ue-=e;for(let t of z)t[re]-=Ue;me=kt(tn,z[0][re]-e)}Ue=void 0}}function ge(e,t,...n){return en({[bt]:e,[ze]:t,[re]:Date.now()+t,[yt]:!1,[wt]:n})}function di(e,t,...n){return en({[bt]:e,[ze]:t,[re]:Date.now()+t,[yt]:!0,[wt]:n})}function ee(e){ye[e]&&(ye[e][gt]=!0)}function hi(e){ye[e]&&(ye[e][gt]=!0)}function mi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function yi(){globalThis.setTimeout=kt,globalThis.setInterval=ai,globalThis.clearTimeout=Qe,globalThis.clearInterval=ci}function gi(e=0,t=Lilact){let n,r,o,s=new Promise((a,c)=>{r=a,o=c,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function bi(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var rn="unmounted",Ct="exited",et="entering",tt="entered",on="exiting";function _r({in:e,timeout:t=_.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:a,onEntered:c,onExit:f,onExiting:l,onExited:u,children:p,_classNames:d}){var h,y,v,x,T,g;return(y=(h=this[m]).is_mounted)!=null||(h.is_mounted=!n||e||o),(x=(v=this[m]).is_appeared)!=null||(v.is_appeared=e),(g=(T=this[m]).timer)!=null||(T.timer=null),this[m].childFunctionHandler=w=>w(this[m].mount_state),this[m].mount_state||(this[m].is_mounted||(this[m].mount_state=rn),e?this[m].mount_state=o&&!this[m].is_appeared?et:tt:this[m].mount_state=Ct),Q(()=>()=>ee(this[m].timer),[]),Q(()=>{!this[m].is_appeared&&o&&this[m].mount_state===et&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=tt,this.forceUpdate(),this[m].is_appeared=!0,c==null||c(!this[m].is_appeared)},t)}))},[]),Q(()=>{if(e){if(this[m].is_mounted=!0,this[m].mount_state===et||this[m].mount_state===tt)return;s==null||s(!this[m].is_appeared),this[m].mount_state=et,this.forceUpdate(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=tt,this.forceUpdate(),this[m].is_appeared=!0,c==null||c()},t)})}else{if(this[m].mount_state===rn||this[m].mount_state===on||this[m].mount_state===Ct)return;f==null||f(),this[m].mount_state=on,this.forceUpdate(()=>{l==null||l(),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=Ct,this.forceUpdate(),u==null||u(),r&&(this[m].is_mounted=!1,this[m].mount_state=rn,this.forceUpdate())},t)})}},[e,t]),this[m].is_mounted?(d&&(this[m].mount_state===et?this[m].is_appeared?this[m][ue]=d.appearActive:this[m][ue]=d.enterActive:this[m].mount_state===tt?this[m].is_appeared?this[m][ue]=d.appearDone:this[m][ue]=d.enterDone:this[m].mount_state===on?this[m][ue]=d.exitActive:this[m].mount_state===Ct&&(this[m][ue]=d.exitDone)),p):null}function xr({in:e,timeout:t=_.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:a,onEnter:c,onEntering:f,onEntered:l,onExit:u,onExiting:p,onExited:d}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(_r,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:c,onEntering:f,onEntered:l,onExit:u,onExiting:p,onExited:d,_classNames:n},a)}function wi({children:e,activeKey:t,mode:n="out-in",timeout:r=_.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:a=!1,appear:c=!1,onExited:f,onEnter:l,onExiting:u,onEntered:p,...d}){let h=Ht(()=>Ee.toArray(e),[e]),[y,v]=Y(null),[x,T]=Y(!1),[g,w]=Y(!0),O=j(t),k=j(t),E=j(y);ve(()=>{k.current=t},[t]),ve(()=>{E.current=y},[y]),ve(()=>{let C=O.current;C!==t&&(O.current=t,v(C),n==="out-in"?(w(!1),T(!0)):(w(!0),T(!1)))},[t,n]);let S=C=>(G,te)=>{typeof f=="function"&&f(G,te),C===E.current&&(v(null),n==="out-in"&&(T(!1),w(!0)),n==="in-out"&&T(!1))},L=C=>(G,te)=>{typeof p=="function"&&p(G,te),n==="in-out"&&C===k.current&&E.current!=null&&T(!0)};return createComponent("div",{style:{position:"relative"}},h.map((C,G)=>{var it;let te=((it=C==null?void 0:C.props)==null?void 0:it.key)||G,ot=te===t?g:te===y?!x:!1;return createComponent(xr,{...d,key:te,in:ot,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:a,appear:c,onEnter:l,onExiting:u,onEntered:L(te),onExited:S(te)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function _i({children:e}){return e}var an={};H(an,{addWrappedEventListener:()=>vi,createSyntheticEvent:()=>Er,releaseSyntheticEvent:()=>vr,wrapListener:()=>Tr});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Ot=[],xi=10,Ei=["mouse","pen","touch"];function Er(e,t){var r,o,s,a,c,f,l,u,p,d,h,y,v,x,T,g,w,O,k,E,S,L;let n=Ot.length?Ot.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(a=e.buttons)!=null?a:null,n.pointerId=(c=e.pointerId)!=null?c:null,n.pointerType=(f=e.pointerType)!=null?f:null,n.isPrimary=(l=e.isPrimary)!=null?l:null,n.clientX=(u=e.clientX)!=null?u:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(d=e.screenX)!=null?d:0,n.screenY=(h=e.screenY)!=null?h:0,n.pageX=(y=e.pageX)!=null?y:null,n.pageY=(v=e.pageY)!=null?v:null,n.movementX=(x=e.movementX)!=null?x:0,n.movementY=(T=e.movementY)!=null?T:0,n.pressure=(g=e.pressure)!=null?g:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(O=e.tiltY)!=null?O:null,n.width=(k=e.width)!=null?k:null,n.height=(E=e.height)!=null?E:null,n.pointerEventsSupported=Ei.includes(n.pointerType);try{let C=n.target;n.value=C&&"value"in C?C.value:void 0,n.checked=C&&"checked"in C?C.checked:void 0,n.selectionStart=C&&"selectionStart"in C?C.selectionStart:void 0,n.selectionEnd=C&&"selectionEnd"in C?C.selectionEnd:void 0}catch(C){n.value=void 0,n.checked=void 0,n.selectionStart=void 0,n.selectionEnd=void 0}return n.touches=e.touches||null,n.targetTouches=e.targetTouches||null,n.changedTouches=e.changedTouches||null,n.path=typeof e.composedPath=="function"?e.composedPath():[n.target],n.repeat=(S=e.repeat)!=null?S:!1,n.location=(L=e.location)!=null?L:0,n}function vr(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Ot.length<xi&&Ot.push(e))}function Tr(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,a=Er(o,s);try{let c=e(a);n&&c===!0&&a.stopPropagation()}finally{vr(a)}}}function vi(e,t,n,r={}){let o=Tr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var cn={};H(cn,{Provider:()=>Ti,combineReducers:()=>Ci,connect:()=>ki,useDispatch:()=>Si,useSelector:()=>Sr,useStore:()=>$t});var nt;function Ti({store:e,children:t}){return nt!=null||(nt=je(null)),createComponent(nt.Provider,{value:e},t)}function $t(){let e=Me(nt);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function Si(){return $t().dispatch}function Sr(e,t=(n,r)=>n===r){let n=$t(),r=j(),o=j(e);o.current=e;let[s,a]=Y(()=>e(n.getState()));return r.current=s,Q(()=>{function c(){let l=o.current(n.getState());t(r.current,l)||(r.current=l,a(l))}let f=n.subscribe(c);return c(),f},[n,t]),s}function ki(e,t){let n=!!e;return function(o){function s(a){let c=$t(),f={dispatch:c.dispatch};if(typeof t=="function")f=t(c.dispatch,a);else if(typeof t=="object"&&t!==null){f={};let p=c.dispatch;for(let d in t){let h=t[d];f[d]=(...y)=>p(h(...y))}}let l={};e&&(l=Sr(d=>e(d,a),fe)||{});let u={...a,...l,...f};return createComponent(o,{...u})}return s}}function Ci(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,a={};for(let c of t){let f=e[c],l=r[c],u=f(l,o);a[c]=u,s=s||u!==l}return s?a:r}}var un={};H(un,{blocks_info:()=>Ri,error:()=>Ii,globalErrorHandler:()=>Li,scanBlockLabels:()=>Ai,traceError:()=>Or});function kr(e){if(e.lineno!==void 0||e.line!==void 0||e.lineNumber!==void 0){let n=e.lineNumber||e.lineno||e.line,r=e.columnNumber||e.colno||e.column;return{line:n,col:r}}let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return t===null&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?{line:parseInt(t[1]),col:parseInt(t[2])}:null}function Oi(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${$i(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let a=s.trim();if(!a.includes(t))continue;let c=a.match(o);if(!c)continue;let f=c[1],l=Number(c[2]),u=c[3]==null?null:Number(c[3]);if(Number.isFinite(l)&&(u===null||Number.isFinite(u)))return{url:f,line:l,col:u,matched:a}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
|
|
60
|
+
`)}}function $i(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Cr(e,t,n){let r=null;for(let o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][0]===t&&e[o][1]>=n)){r=e[o-1];break}return r||(r=e[e.length-1]),{line:t-r[0]+r[2],col:t-r[0]===0?r[3]:0}}function Ai(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//mg)).forEach(r=>{_.blocks_info.labels[r[1]]={path:t,desc:r[4]}})}function Or(e){var r;if(e!=null&&e.is_traced)return e;let t=Oi(e.stack),n={fileName:((r=t.url)==null?void 0:r.slice(6))||e.fileName,lineNumber:t.line,columnNumber:t.col,message:e.message,name:e.name,stack:e.stack,_error:e,is_traced:!0};if(e.name!=="JSXParseError"){let o;if(t.url){o=pe[n.fileName].mappings;let a=Cr(o,n.lineNumber-1,n.columnNumber-1);n.lineNumber=a.line,n.columnNumber=a.col}else if(e.lilact_trace!==void 0){let s=kr(e),a,c;typeof e.lilact_trace=="object"?c=_.blocks_info.labels[e.lilact_trace[0]]:c=_.blocks_info.labels[e.lilact_trace],c&&(n.fileName=c.path,n.label=c.label,a=pe[c.path].mappings,s=Cr(a,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=kr(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return _.error=n,n}function Li(e){e.error&&(e=e.error),e=Or(e);let t=Wt(`
|
|
61
61
|
background: linear-gradient(135deg, #fff2f2d4, #ffffffd4);
|
|
62
62
|
backdrop-filter: blur(10px);
|
|
63
63
|
border: 1px solid rgba(255,255,255,.25);
|
|
@@ -79,28 +79,28 @@ var Tn=Object.defineProperty;var Ur=(e,t,n)=>t in e?Tn(e,t,{enumerable:!0,config
|
|
|
79
79
|
<b>${e.fileName?"At "+e.fileName:""}
|
|
80
80
|
${Number.isFinite(e.lineNumber)?": Line "+(e.lineNumber+1):""}</b><br><br>
|
|
81
81
|
<b>${e.name}</b>: <span>${e.message}</span><br><br>
|
|
82
|
-
${
|
|
82
|
+
${pe[e.fileName]?"<code><pre></pre><pre><red></red></pre><pre></pre></code>":""}
|
|
83
83
|
${e._error.componentStackLog?"<br>Component Stack:<br><code><pre>"+e._error.componentStackLog+"</pre></code>":""}
|
|
84
|
-
`,document.body.appendChild(n);let r=n.querySelectorAll("pre");if(
|
|
85
|
-
`);o!=null&&o[e.lineNumber-1]&&(r[0].innerText=o[e.lineNumber-1]),o!=null&&o[e.lineNumber]&&(n.querySelector("pre red").innerText=o[e.lineNumber]),o!=null&&o[e.lineNumber+1]&&(r[2].innerText=o[e.lineNumber+1])}n.showModal()}var
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
`,document.body.appendChild(n);let r=n.querySelectorAll("pre");if(pe[e.fileName]){let o=pe[e.fileName].code.split(`
|
|
85
|
+
`);o!=null&&o[e.lineNumber-1]&&(r[0].innerText=o[e.lineNumber-1]),o!=null&&o[e.lineNumber]&&(n.querySelector("pre red").innerText=o[e.lineNumber]),o!=null&&o[e.lineNumber+1]&&(r[2].innerText=o[e.lineNumber+1])}n.showModal()}var Ri={counter:0,labels:{}},Ii=null;var mn={};H(mn,{HashRouter:()=>Pi,Link:()=>Di,NavLink:()=>ji,Route:()=>Ki,Routes:()=>$r,useLocation:()=>dn,useNavigate:()=>hn});var fn=je(null),ln=je({params:{}}),pn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Ni=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Pi({children:e,basename:t=""}){let n=()=>{var y;let c=(window.location.hash||"#/").slice(1),f=new RegExp("^"+Ni(t)),l=c.replace(f,"")||"/",[u,p]=l.split("#"),[d,h=""]=u.split("?");return{pathname:d||"/",search:h?"?"+h:"",hash:p?"#"+p:"",state:(y=history.state)==null?void 0:y.__state}},[r,o]=Y(n);Q(()=>{let a=()=>o(n());return window.addEventListener("hashchange",a),window.addEventListener("popstate",a),a(),()=>{window.removeEventListener("hashchange",a),window.removeEventListener("popstate",a)}},[t]);let s=oe((a,{replace:c=!1,state:f}={})=>{if(typeof a=="number")return new Promise(p=>{let d=!1,h=x=>{d||(d=!0,window.removeEventListener("popstate",y),window.removeEventListener("hashchange",v),x==null||x(),p())},y=()=>h(()=>o(n())),v=()=>h(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",v,{once:!0}),setTimeout(()=>h(()=>o(n())),0),history.go(a)});let l=pn(a),u="#"+(t+l);c?history.replaceState({__state:f},"",u):history.pushState({__state:f},"",u),o(n())},[t]);return createComponent(fn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function dn(){let e=Me(fn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function hn(){let e=Me(fn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Di({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:a,style:c,children:f,...l}){let u=hn(),p="#"+pn(e);function d(h){r&&r(h),!(h.defaultPrevented||h.button!==0||o&&o!=="_self"||h.metaKey||h.altKey||h.ctrlKey||h.shiftKey)&&(h.preventDefault(),u(e,{replace:t,state:n}))}return createComponent("a",{...l,href:p,onClick:d,target:o,download:s,className:a,style:c},f)}function At(e){return e&&e.replace(/\/+$/,"")||"/"}function ji({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:a,download:c,replace:f=!1,state:l,children:u,onClick:p,...d}){let h=hn(),y=dn(),v=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",x=y.pathname||"/",T=t?At(x)===At(v):At(x).startsWith(At(v)),w=[typeof r=="function"?r({isActive:T}):r,T?n:null].filter(Boolean).join(" ")||void 0,O=typeof s=="function"?s({isActive:T}):s,k=T?{...O||{},...o||{}}:O,E="#"+pn(e);function S(L){p&&p(L),!(L.defaultPrevented||L.button!==0||L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)&&(L.preventDefault(),h(e,{replace:f,state:l}))}return createComponent("a",{...d,href:E,onClick:S,target:a,download:c,className:w,style:k,"aria-current":T?"page":void 0},typeof u=="function"?u({isActive:T}):u)}function Mi(e){let t=[],n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(o,s)=>(t.push(s),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}function Ui(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=Mi(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((a,c)=>s[a]=decodeURIComponent(o[c+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function Ki({path:e,element:t=null,children:n}){return null}function $r({children:e}){var o;let n=dn().pathname||"/",r=Ee.toArray(e);for(let s=0;s<r.length;s++){let a=r[s],c=a.props.path===void 0?null:a.props.path,f=(o=a.props.element)!=null?o:null,l=a.props.children,{matched:u,params:p}=Ui(c,n);if(u)return f?createComponent(ln.Provider,{value:{params:p}},f):l?createComponent(ln.Provider,{value:{params:p}},createComponent($r,{},l)):createComponent(ln.Provider,{value:{params:p}},createComponent("div",{}))}return null}var gn={};H(gn,{DragHandle:()=>Ar,ErrorBoundary:()=>yn,Spinner:()=>qi,SplitPane:()=>Fi,Suspense:()=>Rt});var{css:Aa,cx:Bi}=Ye;function qi({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let a=Math.max(1,e)+"px";return createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":s,role:"status"},createComponent("div",{style:{width:a,height:a,borderRadius:"50%",border:`${o}px solid rgba(0,0,0,0.15)`,borderTopColor:r,animation:"ddSpinnerSpin 0.9s linear infinite",boxSizing:"border-box"}}),createComponent("style",{},`
|
|
86
|
+
@keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }
|
|
87
|
+
`))}var yn=class extends he{constructor(){super(...arguments);V(this,"displayName","ErrorBoundary");V(this,"state",{hasError:!1,error:null});V(this,"reset",()=>this.setState({hasError:!1,error:null}))}static getDerivedStateFromError(n){return{hasError:!0,error:n}}componentDidCatch(n,r){let{onError:o}=this.props;try{o&&o(n,r)}catch(s){console.error("onError threw",s)}}render(){let{Fallback:n,children:r}=this.props;return this.state.hasError?createComponent(n,{error:this.state.error,reset:this.reset}):r}},Rt=class extends he{constructor(n){super(n);V(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(xt(n))return null;throw n}componentDidCatch(n,r){xt(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(ee(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(ee(this._minShowTimer),this._minShowTimer=null)}_attachPromise(n){if(this._pending.has(n))return;if(this._pending.add(n),this._pending.size===1){let o=Math.max(0,this.props.minDelay);this._delayTimer&&(ee(this._delayTimer),this._delayTimer=null),this._delayTimer=ge(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},o)}let r=()=>{if(this._pending.has(n)&&this._pending.delete(n),this._pending.size===0){if(this._delayTimer){ee(this._delayTimer),this._delayTimer=null,this.setState({showingFallback:!1});return}let o=Date.now()-(this._fallbackShownAt||0),s=Math.max(0,this.props.minShowTime-o);s===0?this.setState({showingFallback:!1}):(this._minShowTimer&&(ee(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=ge(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},s))}};n.then(r,r)}render(){return this.state.showingFallback?createComponent(Fragment,{},this.props.fallback):createComponent(Fragment,{},this.props.children)}};V(Rt,"defaultProps",{minDelay:200,minShowTime:300});function Ar({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:a}){let c=j(null),f=j(0),l=j(0),u=j(0),p=j(0),d=j(!1),[h,y]=Y(!1),v=oe(()=>{c.current=null,d.current=!1,f.current=0,l.current=0,u.current=0,p.current=0,y(!1)},[]),x=oe((E,S)=>{let L=E-f.current,C=S-l.current;return{dx:L,dy:C}},[]),T=oe((E="up")=>{d.current&&(n==null||n(E),v())},[n,v]),g=oe(E=>{if(!(E.button!=null&&E.button!==0)){d.current=!0,c.current=E.pointerId,f.current=E.clientX,l.current=E.clientY,u.current=E.clientX,p.current=E.clientY,y(!0),t==null||t(a);try{E.currentTarget.setPointerCapture(E.pointerId)}catch(S){}}},[t]),w=oe(E=>{if(!d.current||c.current!==E.pointerId)return;let{dx:S,dy:L}=x(E.clientX,E.clientY);e==null||e(S,L,a),u.current=E.clientX,p.current=E.clientY},[x,e]),O=oe(E=>{c.current===E.pointerId&&T("up",a)},[T]),k=oe(E=>{c.current===E.pointerId&&T("cancel",a)},[T]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Bi(o,h?"dragging":""),onPointerDown:g,onPointerMove:w,onPointerUp:O,onPointerCancel:k},s)}var Fi=Xt(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:a=8,onSizeChange:c,style:f,className:l,firstPaneStyle:u,secondPaneStyle:p,splitterStyle:d,children:h},y){let v=t==="vertical"?"vertical":"horizontal",[x,T]=Y(v),[g,w]=Y(Lt(r,o,s)),O=n==null?g:Lt(n,o,s);Q(()=>{n!=null&&w(Lt(n,o,s))},[n,o,s]),Q(()=>{T(t==="vertical"?"vertical":"horizontal")},[t]);let k=se=>{let be=Lt(se,o,s);n==null&&w(be),c==null||c(be)};Zt(y,()=>({setPosition:k,setMode:se=>T(se==="vertical"?"vertical":"horizontal"),getPosition:()=>O,getMode:()=>x}));let E=j(null),S=j({w:0,h:0});ve(()=>{let se=E.current;if(!se)return;let be=new ResizeObserver(()=>{let st=se.getBoundingClientRect();S.current={w:st.width,h:st.height}});be.observe(se);let Nt=se.getBoundingClientRect();return S.current={w:Nt.width,h:Nt.height},()=>be.disconnect()},[]);let L=j(O),[C,G]=Y(!1),te=()=>{G(!0),L.current=O},xn=(se,be,Nt)=>{let{w:st,h:Kr}=S.current;k(x==="horizontal"?L.current+se/(st||1):L.current+be/(Kr||1))},En=()=>G(!1),ot=Ee.toArray(h),it=ot[0],Dr=ot[1],Se=O,jr=x==="horizontal"?{position:"absolute",top:0,bottom:0,left:0,width:`calc(${Se} * (100% - ${a}px))`,overflow:"auto",...u||{}}:{position:"absolute",left:0,right:0,top:0,height:`calc(${Se} * (100% - ${a}px))`,overflow:"auto",...u||{}},Mr=x==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Se} * (100% - ${a}px) + ${a}px)`,right:0,overflow:"auto",...p||{}}:{position:"absolute",left:0,right:0,top:`calc(${Se} * (100% - ${a}px) + ${a}px)`,bottom:0,overflow:"auto",...p||{}},vn={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:10},Ur=x==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Se} * (100% - ${a}px))`,width:a,height:"100%",cursor:"col-resize",touchAction:"none",pointerEvents:"auto",...vn,...d||{}}:{position:"absolute",left:0,right:0,top:`calc(${Se} * (100% - ${a}px))`,height:a,width:"100%",cursor:"row-resize",touchAction:"none",pointerEvents:"auto",...vn,...d||{}};return createComponent("div",{ref:E,className:l,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...f||{}}},createComponent("div",{style:jr},it),createComponent("div",{style:Mr},Dr),createComponent(Ar,{onStart:te,onDelta:xn,onEnd:En,style:Ur,className:"splitter"}))}),Lt=(e,t,n)=>Math.max(t,Math.min(n,e));var Wi={},Rr={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){Wi[e]=t,Rr[t]=e});function Ir(...e){if(typeof e=="number")return Lr(e);let t="";for(let n=0;n<e.length;n+=1)t+=Lr(e[n]);return t}function Lr(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=Rr[n]}while(e>0);return t}var N={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},Ra=Symbol.for("LILACT:TRANSPILER_OUTPUT"),ie,Ia=0;function P(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Xi(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${N.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
|
|
88
88
|
`){dels+=")]";continue}if(dels.indexOf(code[i])!==-1)break;return}let b={type:"regex",begin:index++};for(;index<code.length;){let ch=code[index];switch(ch){case`
|
|
89
|
-
`:return;case"/":try{return eval("const x="+code.slice(b.begin,index+1)),b.end=index+1,container&&container.children.push(b),b}catch(e){}default:index++}}}function It(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return
|
|
90
|
-
`:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}ie("Unterminated comment",r.begin)}function
|
|
89
|
+
`:return;case"/":try{return eval("const x="+code.slice(b.begin,index+1)),b.end=index+1,container&&container.children.push(b),b}catch(e){}default:index++}}}function It(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Xi(e,t-1,n);let o=e[t]==="*";for(t++;t<e.length;){switch(e[t]){case"*":if(o&&e[t+1]==="/")return r.end=t+2,n&&n.children.push(r),r;break;case`
|
|
90
|
+
`:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}ie("Unterminated comment",r.begin)}function Yi(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
|
|
91
91
|
`&&e[r]!==N.preprocessorDelimiter||e[r-1]==="\\";)r++;if(e[r]===N.preprocessorDelimiter){let s={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(s),s}else{let s=t;for(;s-->=0&&(e[s]===" "||e[s]===" "););if(s===-1||e[s]===`
|
|
92
|
-
`){let c={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(c),c}}ie("Error in preprocessor statement",t)}function
|
|
92
|
+
`){let c={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(c),c}}ie("Error in preprocessor statement",t)}function zi(node,context){let all_nodes=[];var segments=[],scope_stack=[],last_block=null;let clone_block=(e,t)=>{var n,r;return last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],last_block.type==="directive"&&(last_block.value=t),(r=(n=scope_stack[0]).out)!=null||(n.out=[]),scope_stack[0].out.push(last_block),last_block},clone_attr=(e,t)=>(last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],scope_stack[0].attributes[t]=last_block,last_block),push_scope=()=>{scope_stack=[last_block,scope_stack]},pop_scope=()=>{scope_stack=scope_stack[1]},vine_traverse=e=>{if(typeof e!="object")return segments;if(segments.push("push_scope();"),e.attributes)for(let t in e.attributes){let n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(let t of e.children)all_nodes.push(t),t.type==="directive"&&t.expression===void 0?segments.push(t.pragma):(t.expression?segments.push(`clone_block(${all_nodes.length-1}, ${t.expression});`):segments.push(`clone_block(${all_nodes.length-1});`),vine_traverse(t));return segments.push("pop_scope();"),segments};node.out=[],last_block=node,push_scope(),vine_traverse(node);let cmd=segments.join(`
|
|
93
93
|
`);return eval(cmd),segments}function bn(e,t,n,r){let o={type:"string",begin:t++,cbegin:t};for(;t<e.length;){switch(e[t]){case n:return o.cend=t,o.end=t+1,r&&r.children.push(o),o;case`
|
|
94
|
-
`:n!=="`"&&ie("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=P(Te,e,t+1,!0,r),t--);break;case"\\":t++;break}t++}ie("Unterminated string",o.begin)}function
|
|
95
|
-
`.indexOf(e[
|
|
96
|
-
{};)`.indexOf(e[
|
|
97
|
-
{};)`.indexOf(e[
|
|
94
|
+
`:n!=="`"&&ie("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=P(Te,e,t+1,!0,r),t--);break;case"\\":t++;break}t++}ie("Unterminated string",o.begin)}function Gi(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let c=o;for(;c<e.length&&e[c]!==">";)c++;if(c===e.length)return null;let f=e.substring(o,c).trim();return n.tag!==f&&ie("Ill-formed xml (not closed properly)",t),n.end=c+1,n.cbegin=t+1,n.cend=o-2,c}else[o]=P(wn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let a=o;[o]=P(Te,e,o,!0,n),o--;break}o++}return s}function wn(e,t,n,r=!1){if(r){let l=["=",",","(","&","|","?",":","{","["],u=t;for(;--u>0;)if(` \r
|
|
95
|
+
`.indexOf(e[u])===-1){if(l.indexOf(e[u])!==-1||u>1&&e[u-1]==="="&&e[u]===">")break;if(u>=5&&e.slice(u-5,u+1)==="return"){if(u>5&&` \r
|
|
96
|
+
{};)`.indexOf(e[u-6])===-1)return;break}if(u>=4&&(e.slice(u-4,u+1)==="yield"||e.slice(u-4,u+1)==="throw")){if(u>4&&` \r
|
|
97
|
+
{};)`.indexOf(e[u-5])===-1)return;break}return}}let o=[" "," ",`
|
|
98
98
|
`,"/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],s=()=>{for(;e[t]===" "||e[t]===" "||e[t]===`
|
|
99
|
-
`;)t++},a={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let c=t;for(;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;a.tag=e.substring(t,c),t=c;let f;for(;t<e.length;){for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let
|
|
100
|
-
`:s();break;default:return}}}function
|
|
101
|
-
`&&t.push(parseInt(n));return t.push(e.length),t}function Ke(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function
|
|
99
|
+
`;)t++},a={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let c=t;for(;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;a.tag=e.substring(t,c),t=c;let f;for(;t<e.length;){for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let l=e.substring(t,c);switch(l.length&&(f=l,a.attributes[l]=!0),t=c,e[t]){case"=":if(f){for(t++,s();e[t]==="/";){let y=P(It,e,t);y[0]>t?t=y[0]:t++,s()}let h;switch(e[t]){case"'":case'"':[t,h]=P(bn,e,t,e[t]),a.attributes[f]=h,f=void 0;break;case"{":[t,h]=P(Te,e,t,!0),a.attributes[f]=h,f=void 0;break;default:for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let y=e.substring(t,c);t=c,a.attributes[f]=y,f=void 0}}else return;break;case"{":let u;[t,u]=P(Te,e,t,!0),u.is_xml_js=!0,a.js_attributes.push(u);break;case"/":if(e[t+1]===">")return a.end=t+2,a.cbegin=a.begin,a.cend=a.end,a.self_closing=!0,n&&n.children.push(a),a;let p=P(It,e,t);p[0]>t?t=p[0]:t++;break;case">":let d=Gi(e,t,a);if(d===null)return;if(d>t?t=d:t++,a.end)return n&&n.children.push(a),a;t++;break;case" ":case" ":case`
|
|
100
|
+
`:s();break;default:return}}}function Pr(e,t,n){let r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){let o=e[t];switch(o){case"<":{let[a]=P(wn,e,t,r,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=P(bn,e,t,o);break;case"{":[t]=P(Te,e,t,!0,r);break;case"(":[t]=P(Pr,e,t,r);break;case"}":ie("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=P(It,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}ie("Unterminated paranthesis block",r.begin)}function Te(e,t=0,n=!1,r){let o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){let s=e[t];switch(s){case"<":{let[a]=P(wn,e,t,o,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=P(bn,e,t,s);break;case"{":{let a=t;[t]=P(Te,e,t,!0,o);break}case"(":[t]=P(Pr,e,t,o);break;case")":ie("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;ie("Unmatched curly bracket",o.begin);break;case"/":{let[a]=P(It,e,t,o);a>t?t=a:t++;break}case N.preprocessorDelimiter:{let[a]=P(Yi,e,t,o);a>t?t=a:t++;break}case"\\":t++;default:t++}}return n&&ie("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Hi(e,t,n){e.already_labeled=!0;function r(c,f=1){for(;(c+=f)<e.children.length&&c>=0;){let l=e.children[c];if(typeof l=="string"){let u=l.trim();if(u.length)return[c,u]}if(typeof l=="object"&&l.type!=="comment")return[c,l]}return[null,null]}let o,s,a;for(let c=0;c<e.children.length;c++)if(typeof e.children[c]=="object"&&e.children[c].type==="paranthesis"){if([o,a]=r(c,-1),a===null||typeof a!="string"||["switch","catch","try","class"].find(l=>a.trim().endsWith(l))!==void 0)continue;let f=a;if([o,a]=r(o,-1),a===null||typeof a=="string"&&["extern","class"].indexOf(a)!==-1||([o,s]=r(c),s===null))continue;if(N.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let l=Ke(t,c);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${l}:${f}*/try{`),N.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),c+=2}}else if(e.children[c]==="=>"&&([o,a]=r(c,-1),typeof a=="object"&&a.type==="paranthesis")){let f=Ke(t,a.begin);[o,s]=r(c),typeof s=="object"&&s.type==="js"&&(N.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:<ARROW>*/try {`),N.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),c+=2)}}function Nr(e){let t=[0];for(let n in e)e[n]===`
|
|
101
|
+
`&&t.push(parseInt(n));return t.push(e.length),t}function Ke(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function Zi(e,t,n,r,o=[]){let s=[],a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},c=h=>{var y;if(((y=h.out)==null?void 0:y.length)>0)for(let v of h.out)c(v);h.begin!==void 0&&h.out_index!==void 0&&s.push([...Ke(r,h.out_index),...Ke(n,h.begin),h])};c(e),s=s.sort((h,y)=>h[0]==y[0]?h[1]-y[1]:h[0]-y[0]),o.push(...s);let f="",l=0,u=0,p=0,d=0;for(let h=0;h<s.length;h++){let y=s[h];for(;l<y[0];)u=0,f+=";",l++;f+=",",f+=Ir(y[1]-u,0,y[2]-p,y[3]-d),u=y[1],p=y[2],d=y[3]}return a.mappings=f.substring(1).replace(/;,/g,";"),`
|
|
102
102
|
|
|
103
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(a))}function
|
|
103
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(a))}function _n(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:a=!1,blocks_info:c={labels:{},counter:0},mappings:f=[]}={}){var x,T;(x=N.preprocessorDelimiter)!=null||(N.preprocessorDelimiter="\u0294"),(T=N.injectTraceLabels)!=null||(N.injectTraceLabels=s);let l=Nr(e);ie=((g,w,O)=>{let k=new Error(w);throw k.name="JSXParseError",[k.lineNumber,k.columnNumber]=Ke(g,O),k.fileName=r,k.lilact_trace="parse",k}).bind(null,l);let u=/([\{\}\(\),;\[\]\n]|[\s^\n]+)/g,p=Te(e);p.data=e;let d=g=>{if(g.attributes!==void 0)for(let w in g.attributes)typeof g.attributes[w]=="object"&&d(g.attributes[w]);if(g.children!==void 0&&!g.self_closing){let w=g.type==="js"?g.begin:g.cbegin||g.begin;for(let k=0;k<g.children.length;k++){let E=g.children[k];if(E.begin>w){let S=e.substring(w,E.begin);g.type==="xml"&&(S=S.trim()),S.length&&(g.type==="xml"?g.children.splice(k,0,'"'+S.replaceAll(`
|
|
104
104
|
`,`\\
|
|
105
|
-
`).replaceAll('"','\\"')+'"'):g.children.splice(
|
|
106
|
-
`})[
|
|
105
|
+
`).replaceAll('"','\\"')+'"'):g.children.splice(k,0,...S.split(u)),k++)}w=E.end,d(E)}let O=g.type==="js"?g.end:g.cend||g.end;if(w<O&&!g.self_closing){let k=e.substring(w,O);g.type==="xml"&&(k=k.trim()),k.length&&(g.type==="xml"?g.children.push('"'+k.replace(/[\\\"\n]/g,E=>({"\\":"\\\\",'"':'\\"',"\n":`\\
|
|
106
|
+
`})[E])+'"'):g.children.push(...k.split(u)))}g.children=g.children.filter(k=>k!==""),N.setBlockLabels&&!g.already_labeled&&Hi(g,l,c)}};d(p),zi(p);let h=(g,w,O=!1,k=!1)=>{if(typeof w!="object")return w;if(w.out_index=g,w.type==="string"||w.type==="regex")return e.substring(w.begin,w.end);if(w.type==="comment")return a||O?"":e.substring(w.begin,w.end);if(w.type==="directive")return w.value;if(w.type==="paranthesis"){let E="(";if(w.out)for(let S of w.out)E+=h(g+E.length-1,S);return E+")"}if(w.type==="js"){let E="";if(w.out)for(let S of w.out)k&&S.type==="comment"||(E+=h(g+E.length-(O?1:0),S));return O?E.substring(1,E.length-1):w!=null&&w.is_xml_js?e.substring(w.begin+1,w.end-1):E}if(w.type==="xml"){w.tag.length===0?w.tag=n:w.tag[0]!==w.tag[0].toUpperCase()&&(w.tag=`"${w.tag}"`);let E="",S=!0;for(let C of w.js_attributes){let G=h(g+E.length,C,!1);E+=`${S?"":", "}${G}`,S=!1}if(w.attributes)for(let C in w.attributes)E+=`${S?"":", "}"${C}": ${h(g+E.length,w.attributes[C],!0)}`,S=!1;if(E+=" }",w.out)for(let C of w.out){let G=h(g+E.length,C,!0,!0);G.length>0&&(E+=`, ${G}`,S=!1)}let L=Ke(l,w.begin);return E=` ${t}( ${w.tag}, { ${E} )`,E}},y="";s&&(y=`/*LILACTBLOCK${++c.counter}:0,0:<EXEC>*/try{`),y+=h(y.length,p),s&&(N.enableLabelStack?y+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${c.counter},e.lilact_trace];throw e}`:y+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${c.counter};throw e}`);let v=Zi(p,r,l,Nr(y),f);return o&&(y+=v),y}var rt={VERSION:"beta.17",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...Yt,...Qt,...Gt,...Jt,...sn,...cn,...nn,...an,...un,...mn,...gn,transpileJSX:_n,transpilerConfig:N,PropTypes:ar,redux:Mt,emotion:Ye};globalThis.Lilact=rt;globalThis.createComponent=rt.createComponent;globalThis.Fragment=rt.Fragment;document.addEventListener("DOMContentLoaded",()=>{rt.runScripts()});var _=rt;export{xr as CSSTransition,Ee as Children,he as Component,Ar as DragHandle,yn as ErrorBoundary,lr as Fragment,He as HTMLComponent,Pi as HashRouter,rt as Lilact,Di as Link,ji as NavLink,ar as PropTypes,Ti as Provider,vt as RootComponent,Ki as Route,$r as Routes,qi as Spinner,Fi as SplitPane,Rt as Suspense,wi as SwitchTransition,_r as Transition,_i as TransitionGroup,vi as addWrappedEventListener,bi as animationFramePromise,Ri as blocks_info,gr as boolean_html_attributes_set,St as capture_events_set,hi as clearInterval,ee as clearTimeout,Ci as combineReducers,ki as connect,dr as createComponent,je as createContext,Uo as createElement,hr as createRoot,Er as createSyntheticEvent,Ko as current_component,Vt as deepEqual,_ as default,zo as effect_timeout,Ye as emotion,Ii as error,Io as eval_num,Tt as events_set,Oo as findDOMNode,Xt as forwardRef,$o as getComponentByPointer,Li as globalErrorHandler,mi as grabTimers,Ro as id_num,Vo as insertion_effects,Ao as isAsync,_t as isClass,X as isEmpty,Lo as isError,xt as isThenable,ur as isValidComponent,Co as isValidElement,Wo as layout_effects,oi as lazy,yr as length_css_attributes_set,Xo as passive_effects,fi as pauseTimers,pr as processEffects,Mt as redux,vr as releaseSyntheticEvent,yi as releaseTimers,Mo as render,wr as require,pe as required_scripts,li as resetTimers,pi as resumeTimers,Fo as roots,Ze as run,si as runScripts,Ai as scanBlockLabels,di as setInterval,ge as setTimeout,fe as shallowEqual,mr as special_attributes,ri as startTransition,gi as timeoutPromise,Et as toBool,Or as traceError,_n as transpileJSX,N as transpilerConfig,qo as update_cbs,Go as update_interval_margin,Bo as update_set,Yo as update_timeout,Qo as useActionState,oe as useCallback,Me as useContext,ni as useDebugValue,ti as useDeferredValue,Si as useDispatch,Q as useEffect,Z as useHook,Ho as useId,Zt as useImperativeHandle,Jo as useInsertionEffect,ve as useLayoutEffect,Zo as useLocalStorage,dn as useLocation,Ht as useMemo,hn as useNavigate,ei as useReducer,j as useRef,Sr as useSelector,Y as useState,$t as useStore,br as useTransition,Tr as wrapListener};
|
package/docs/assets/hierarchy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
window.hierarchyData = "
|
|
1
|
+
window.hierarchyData = "eJyVkDFrwzAQhf/LmxUXKQErGlsKHdol7RYyGPlKTGRd0MlDCP7vxZgUe6nr5Ybjvfs+7o7EnAXuaLQ5KST6DuRzw1Hg7rDlMGPVEhxeU+L0zF2sq3SDwqWJNZw2VqFLAQ4+VCIkT5X3JMKpISlmpeKc2wA1BuGQpd4MVzbjolfQ2ynxs5MrRaH/wh75ZY7RZsJ54fbKkWL+C+QfISl+8wsgBX9uQp0owh1tqfS2VGa3Pw0Cu/1E4O3r432txKyzRsTY0cBODQ7Mea3BrLP0877/AcaXzuQ="
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "
|
|
1
|
+
window.navigationData = "eJyVmEtv2zgQgP+LzkGLzRbFIrcmcZsASTaIjV6KHsbS2CZCkSofTr1F//tC1IuUqSF7NPnxAzkcUkN/+1UY/GmKqwLKErWWiqEuLooGzKG4KmpZWY76vdf57mBqXlwUr0xUxdXlRVEeGK8UiuLq2yhbKSXVtbSiAnWadCUHrWe6AA3lf13+8/tidK6tblBopHUDRZoazswzCE91BMVgO1/qCIa2vy892a2C/R2Iinu2nRWlYVKEtokMdR8/BHNjQqBKuXrsTPTdU5WybqRAYSIbOvVl7efNgJ8H3zONFBX8u83jQ54uICnli5QmTxmQlLJUCAYj0mk7PO2MJra3I9tpZClbkLApFFU8VzxTB5GZgu0ZjGRJ156VIXsut8DdYe5yPDqtXngOE4s0Ckp0LGGcIHKhBylfI+t0zVnLHHZauN+R+XSqACPWpg0os1EgNGuHLwtnIKG0Gj+5oWsDJnondcaQo4U3wPkWylfSNkAJVSp0E0OLbnFr91+BW3qNE5bS7VAprHKMHklLV7sdlvRaO4TW3ElJh74FaMV9RQruq8TwukEFhh1x+VM3yWZwQi00qtaQEawZS4sf4CStybD6YEIpS+BrIxXs6RD4IK18xFqSqhagFS9Y2TJ+346WnkmJdgnJjhakr5yMyybnOgww8savmS7PL/y2Na/wGdoilaKTDABRITL9FTirVhzroJSYmUKM8FWIzeqHBR6Lj1ONBBHpHRPV7b+PT7KK7pjzeAxlkuoNVLWQPZ1oRAjPZwX7eqHYcpYBIBx7nOq769OzZMLET4YTRmnCzvQnfRLloq/vJw03bVVKGFw/aVjVjTkRBtdPG5aqqcEQLaR8w+aAos1dQjIgpMelPFlm+2cjp8LWB+BcvtEHxIeo0lNeS7ls6brJ60dhZX+e3z+uOa/glPWWieH+jiZOJ5uB1BtECrHwTRxUDiAUz0oe2cLTo3MMRKLqYroBUx6WPR6U+PYgx9LE03pUDVDqMyZVNLMnT0vQGy9tcPOMO+/as7b+DvThZabx5tKJJohY0wMT0QKyd7TdxOgnOCYEPUE43BQJg+tPjY9nvyegsr6vypbqil7jUbTrCY5sv1DtTK6BolPFikieWJGVJBz+i34L2vFtH/nvwQ/LFhLdind9NyWw8VC2g+fTnw9cl4o1Jr6j3fieIENnWI2xPy669qwAgmC12+/PCmp8VrJmOhqT3hnlqduWI6j7trA4xj9IvTfgUr4Nq1Ha6BXu63qMqpcUbDezIJ65JogwNdAW5SmVR5GZyREybAFH+jSaDNtI0S5b50xtwqhqBU1GbngU7UrnxQRRdU9HpA9DCNJHNfKsG4/rwltu6VG2XtOPRM8XsNT/7m/MlIds7RwnzNnOP7R9UdI22UpHRzbo+/9bahJt"
|
package/docs/assets/search.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = "
|
|
1
|
+
window.searchData = "eJy9nVtz47aSgP/KFvOq40OQ4AV+S2Ymm1Ql2al4Ni+uqRQtwTYrEqnDixPv1Pz3LYCg2AAaIkg6efKMCHQ3gQ/dzYYIfQma+s82uL3/EvxRVofgNtoFVXHiwW1Q7Pe8beum5G2wC/rmGNwGp/rQH3n7b3Dt5rk7HYNdsD8Wbcvb4DYIvu5GaSTKL/I+NE3dfFf31aFoXi8SVTdNotYSkb8LzkXDq84wclKbkOk29nXVdk2/7+pmodJv9K6zBugi4CiEEb3Ycyjb87F4/UX8b6E9qms1dH0je9qu6BZbMnZab0OURoRSOEsd/6tbMUOq22RJ1x7+Vbb/Ojd1x/cdP/yX+qCsnnlTdvyw0dQ/+FJ6vxm6WCa+lUXnpj63S20aO/1tVjX8calNQ5e/zaLu9byYdNXnDW0KaQ6wP53rilfd+/Lwruj2z8sXgBJwKA97JWDDooS2PdbNnv/v+bDCPciu/dj1bxq7hlcHvtinX3q90Sg1vOWL3dbY6Y1saHl3t8qL88525G86R0+8e8+b8oUfpIHfN/VJ9ltq6RPvDoMcafBjU5+4krMhDILk5K5vz7xqrw/h2OifSkk0fYuzkcstbUxEdCuW5iCzVvDHoj92H2dDmGHG0M0OYgvsWJGCWDPydtnHvIFziYdu3NqcY96O+XRDt2R9pjFvy1ySoVuyNr+Yt2M2tdANWZ1VYJasCdq6OVvj9ZxVXgFKN2lTbELsiSf3e3c+lt3HoprMeSmasngwH2wv7db4+3Ri431TPP1QVIfjpPCxr/ZdWVe6wqnhRo1357KqQG6Eq1Ot1uiK7AzWLhJMl7xrBO/GLhYpQNil0XXLgWXLw7BTnVcYxnovDzxXbZgNPOvtweKM2xYzzqzXi8cVt+brwX+ZbiyOuDWbcWS9Xrz64tZ8vfCyTDcas9yqrZi1RDOMBtcST7d6n8RziRXXIqXbClekXGuFMzJeQQCLjAv0Q3/7w6eff/LyuVrDf8bv2iqX+l797rb4X9yWbcn/ckNnHDNi5JKHgOX2zDpsxKJlDwPLbZpx5IhFSx4Kltsz6+ARi5YlvsttmnP8iEmLHlh8LFoREBCzXEHhLa3zDBSIdWseq5Za56iCziF/tQi61AafIIZhvvQRz8MuGNx+revOK7hpDf+Z4GarXBrc9LtbUeO7bs3CdMtlzfJQi4/Mm4VaT0NnQi1i5MpQ62nPbKhFLFodaj1tmgm1iEUrQ62nPbOhFrFotQPytGku1CImrQ21TotWBDPErI3BzMu6+WCGQmUFs7e0ySe4YWBtCG4uu0CFb9/wouN2dJsqfUCe0XhFhLM0CxN9lIp22/QZTKC6hjYr9ExxW24n2jXM4eOr9Utg69OxfiiOcr9xqONidiuRdtvr9isDUb1dU+y5vrFq6ZvaLNQzjdFzXf9hD5H81HeERhT1NGAydhCmtbpu7mATqqvtiqb71BRVWwrhTm1Gu9X6+pZ/KwXr/sJUpzfbou1dcTw+FPs/rqka22zSMzNdU5MtWt7zh/7pt+LYXx26qdU2XY+8afjBQx1ouEXjh8dHvr86hEOLLTp+qOurLIjrW+T/eLgm/cfDJtmnM2+Krnzhzq2ySZPRdpPequWNkD8/QUbTLVp/Kl7rvptXCdtt0lfvi+NdVzfF09WRhe226PuZn+presT1LfJ/5Yd+j0bXiwrVZJuWx+saHrdIn40Sm+ODR+zTWi3TNeUFp7LdW2mB+PBqVgB25N89l8dDwyczpw15KWa8ft1AaYYji6+r46uX9G9US7eKqf3vv8tnNYfKrv62aQpPrV1dqMarFIOxLNvfimN5+HDkJ/hgYGjXWy0aV8DYgfPzh//0xRHhS6q5NFir4bGsDu//5+df6gO2VKQO0GS1lrr5s2gO+HoflFxarNXxfVM8aTNiaBivL5I/W+y7psSrxqd1czz18Olp9bvXj3VZdahrlqLQxmvHtGy/bV+rvUuXurxe+jvRwy1dXl4v/cPp3L26pcvLG6Q7HgdH6fNPgtekf3rmlXAnbgVji/U6pIe6VuKAnsyzuuHW1z4Xx2P951V3Btus1dPV39W1U8NwdVmcA6WSQ/+XFYjlp97P5/XpoazG5AljfxBntLtu8GCXQ19V4TnwqEdeXy3/Y1O/lHj9aFAwNlitQTwklu1Ze3nDVALabNFzx49c21hC9IxtNunp6gZb2ZMS0WCZBkBp3cP4cMFUfuzL6Q9F+/yrLgjYOYia2syYOshB9fxUVtgjtdIgrq6X/Uvxcl28arBeg7x7t3x5eaN01EUA8XOu4Yp89TzqeH5RSkCjTZp+KV7KJ/yBbNI0NlqoCbDfVzb4PWY5auex+D8sYRASxKUZs/rKVWH/T1/iC76vbtTVtbJ7dO6EXPS2PWXe7Zvy3KHsDaJVgyUaplnqyhNH9gKGj33nqqjKk8Ty+6Y48Y9NfSpbbIyVVLT5dfOVmXhcPfKi+VHk1i9oOqO0as02avtUnnjdY6EcKlOt1ut6aoqHT/oEWZqmNuv1nAtRG5lRBBqt19TwIy/mdWnNtmhreTev69Jok6b+5HFbU6v1ulrezdMOGm3SNEv61Ga9nm4QMOs49HYL9QGfZ9cKL37vWoEQtf3d3d3V2iOQqDWdsX4Sib/18mfZ7Z99FZutt+n21fr2+v67qfuzr1LZ2F/z511QVgf+V3D7JXjhTSs+vA2im/iGBbvgseTHgzg7JBgrSPVJVbgO9b6X//ysmv0mH0pE46H1v8Ngdx/uaHLD8uTz59392FlekB+MMqZPZEcS7O4J1pFYHYnWMQp299Eujm4Yi7SOkdUx0jrGwe4+3sXkJo6I1jG2OsZaRxrs7ukupjeMMa0jtTpSrWMS7O4TzNTE6phoHdNgd59iHVOrY6p1zILdfYZ1zKyOmdYxD3b3OdYxtzrmWkcW7O4Z1pFZHZkOgOCBoOwQGx5i0CPxIZheggCkE0QEFyTCZpTYEBGdIiLYIDFqtg0S0Ukigg9CUbNtmIhOExGMkATVbANFdKKI4ISkaGcbKqJTRTLXmiM2V0QHi+SuZUdstIjOFhHEkAw12saL6HxFoWv1RTZekY5XRFwLMLLpigz/FLnWYIR4KB2uKHYtw8hmK9LZiqhrJUY2WpGOVpQ4l1NkoxXpaEWpE+rIRivS0YoELSTHpjiy2Yp0tiKBC2FoZxuuSIcrErhEqP+JbLgiHa5Y8BKh8Su26Yp1umIBTBShnW28Yh2v2Bn/Yhuv2IiAsWtJxEgM1PGKqWtJxDZesY5XnLiWRGzTFet0xalrScQ2XLEOV5y5IndssxXrbMW5aznFNlqxjlbMnKmGTVask0VD51KkNllUJ4sS51KkNllUJ4tKstDIRm20qI4WjV1YUhstauRX1IUlRTIsHS2auLCkNlpUR4umLiypjRbV0aKZC0tqo0V1tGjuTChttKiOFnXmW9RGi+poJaELy8QmK9HJStwJV2KTlehkJe6EK7HJSnSyktjJdGKjlehoJYKWiGJMJzZbiZG+Jy6mEySB19lKUudY22wlOltJ5nxusNlKdLaS3LUeEputRGcrYa71kNhsJTpbaehaD6nNVqqzlRLXekhttFIdrTRyrYfUJivVyUpjJ9OpTVaqk5VSJ9OpTVaqk5UmTqZTG63UeDgUtEToc0CKPB/qbKUylUefA1IbrlSHK83d92zTlep0pTLfQpP51MYr1fHKZL6FpomZzVem85XJfAtNEzMbsEwHLBPMxGiamNmEZTphmaw5oGliZhOW6YRlgpkYTRMzm7BMJywTzMRoMM9swjKdsEw6L9RrZjZhmVGCEMzEKJ4ZUoXQCcvk0yKKZ2YTlumEZTLtQgnLbMIynbBcBkeUsNwmLNcJywUzMUpYbhOW64TlghmKEpbbhOU6YblghqKE5TZhuU5YLitbKGG5TViuE5YLZihKWG4TluuE5YIZihKW24TlOmG5TOtRwnKbsNwodMnkCyUsR2pdOmG5YIaihOU2YblOGBPMUJQwZhPGdMKYjJEoYcwmjOmEMcFMghLGbMKYThiTD40oYcwmjOmEMZnao4QxmzCmE8Zk/RQljNmEMZ0wJphJUMKYTRjTCWMyA0MJYzZhTCeMCWYSlDBmE8aMcqpgJkEJY0hF1SypypoXithwTe8OPlP9ibNYFyJl1dCoq4aSMxTS4ZrZ3yithgKe1FESRoqroVFdDWWNAt9VCJH6amgUWEP5MInSOlwz+xs11lDW7fHacIhUWUOjzBoKkFKU2eGa2d8otYYy+ccrxCFSbQ2NcmsocErxInGIFFxDAz9ZpE/xei1W07eK+rLsiuOLlvUN/mSpPsX5wyr7ZmlfVusznD+suG9W92XBPsP5w+r7ZoFf1uwznD+sxG/W+GXZPsP5w6r8Zplflu4znD+s0m+W+mX5PsP5w6r9ZrlfVvAznD+s4G9U/Ims4mc4f0jRnxhVfyIr+RnOH1L4J0blnwylf5w/pPhPjOo/Gcr/OH/IBgAxdgCIrOrnOH/IJgAxdgGILOznOH/IPgAxNgKIrO3n8Y6GN3mWGf0R/oy9ACLL+znOH7IbQIztACIr/DnOH7IhQIwdASKL/C77Ef6MTQEi6/w5zi+yLUCMfQEiS/05zi+yM0CMrQEiy/05zi+yO0CM7QEiS/45zi+yQ0CMLQIiy/4M5xfZJSDGNgGRpX+G84vsFBBjq4DI8j/D+UV2C4ixXUDkFgBz7O0i/BlbBmTYM8D5RXYNiLFtQORWAMP5RXYOiLF1QORuAMP5QzYPiLF7QOSGAMP5Q/YPiLGBQOSeAMP5Q7YQiLGHQOS+AGPo+kO2EYixj0Dk3gAJcQCRvQRibCYQuUFAQpxAZEOBGDsKRO4SuO4AIdDYVSByp4CEOMLIzsL4mfyGzwtvOn74cfimz/29/ss/X4Lf1XeAwvHbR1+CMLj98vXr9I2f2y9fwZd+xDWh7fKd1kfxndbz+E22SWKeTyKFU/ERur+8KzrJScgkh8V+YsSXUcvLVwaBTQzatEBYN34rcJLFQiiL+ska3qxpLm/gTOJSaBrxHK7p/alJUBRNgmKyTM70QyOTPALv048NeG40MAxMZOwrSL1BNEnJoDnEcwrh6WvAoElSNPQk2fA3Vv+n8fA3SXz1DGdpAHonHcnQKwqVDiWbUqUj89Mhj0/BZx4oS9NF0iy7YzBZmecoS1mNPDwIGJUCozxvsW3hN1YhinDyqd+aE68p8+HFPzAtYKiYn1X6r1IAozJgE/MTBd/NBWMO1ofiMVesMMWIYidJ1fXQb4EfmuLpWR29ASwHLifKvQTJA4QeLr/zBmSBQfCXpPsHMJCp30CK18MP9amSb5CD2QXMMb8b005AA7cF74uoBawWMh0nQ32e+i0T9ba5PC4PmAxunnne/OWlcyAGBt3Qz8k+8e7iTh5ez+Mr3kAoDE2hX2hy/6gPGFywCImfhx0O1pKSnsdDuABB4O4zz5tviofxlSAQ2+G0x36mPRft8/j6IwhXKQTIb2LVUVzAMQC3l/mNv/gaOB4kgJehfrLKthjexAfZipYU+IFftvvhlXsgBo5z6OfPy5YP79YDMREU4zddZWvxmMZQjF8ALdvu8rY8kEShJL/4UrYv4l13dNJSuFJCP4+m5PHxrBCwnoF1zO825QGowB7gqZVTVE4wVtkMVU4y8TN2ePkRJOpwACO/ATzK923B0oOBOfJzB8NpN2CoAOfMb7VUxYtlCfTKkV98HI6qAZYAxpnfSpEvsCHODa6W2G/+rawHjK3KmSOVM8djeFRkJH5O73x5mR8o0aKv302rcxIAq3Dwid/gG8EZSFAJWaQStFjdJFWDkPphpl73Q+YGuqDYj/vxEE0QWOEMq2lJ1N9ULdDUb2Fe3h8GowGdkWfeqH4UEZio3ai/DGTIoKuIvc3pT9jww1uL/cAVDzx4pAWGJZ7wDu/0gxUAU6/IzwEhSQi8LeI5ROoAADDvMOZHnnPWaw9wOZz1aHyIiTwHuq/a8dVwIBImWJ5lBbHykOoQg6Kotyh1FDBgGxKpltt4s1TFyUQ5kNQvW1HkmyUoGOGon2tTx9xYT8QpvPnQb0ba8afIAPQAEs95bcVPsZ3lT7aBMQQ+1zP+y6Ne8cJBDBxi5rcUrVkFk6rmNFZOn6qgkHrOwOXnSMHtwtH3C8mtfMfVVSiBkZP6MaYAQ0q5DIZQz4cG27nmkFbPyuTl6DyQCAEfwjzvrH6QxzIB2qEtnlVNeciy9dAQAQ+ded4UOmcMuvqx8EioHwyTyKfhlWHIAswGqN9aGs6pB8aBMVcObVwECn6qPk/98OhbXgwvM5vrLAbzm/nNb9/y/eW4ZCAJLNnMbxyFJKQYCuJn5jeAfcsP4jTjl+EQYiALrPTMLxRLWcNRxbY4mIj7+Vsh7nKoFUgSICae5Zi+5VydcwtMgumy39LqW/4szzcGUgByud+66lteHjSXDYJR7s1leTmB2C6ZUuBXc78USEgcDxe2B4uCUc/9IlPf8qM8OhiRBtZO7j2FR3EwcDseIAykgfWTe6+f4+VYJ+D6YTiKvG/zJE8aBgaBdZh7r8PqcvoTMEh7QvIeqWY8mhjYBNZz7r2ejQdMClZx7r2K28uRcWAVwwzbM5MQoqxsByxi5r2I2+FwOWAOTIWJ95ThEZLCKOThEj7vgnN55sey4sHt/eevX/8fY8gfpw==";
|