lilact 0.16.1 → 0.16.2

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.
Files changed (61) hide show
  1. package/bin/copy-demo.js +1 -1
  2. package/dist/lilact.development.js +111 -112
  3. package/dist/lilact.development.js.map +3 -3
  4. package/dist/lilact.development.min.js +19 -19
  5. package/dist/lilact.development.min.js.map +3 -3
  6. package/dist/lilact.production.min.js +19 -19
  7. package/docs/functions/accessories.DragHandle.html +2 -2
  8. package/docs/functions/timers.timeoutPromise.html +1 -1
  9. package/docs/static/demos/pane.jsx +2 -1
  10. package/docs/static/index.html +1 -1
  11. package/docs/static/lilact.development.js +111 -112
  12. package/docs/static/lilact.development.js.map +3 -3
  13. package/docs/static/lilact.development.min.js +19 -19
  14. package/docs/static/lilact.development.min.js.map +3 -3
  15. package/docs/static/lilact.production.min.js +19 -19
  16. package/docs/variables/accessories.SplitPane.html +2 -2
  17. package/{root → examples}/demos/pane.jsx +2 -1
  18. package/{root → examples}/index.html +1 -1
  19. package/{root → examples}/lilact.development.js +111 -112
  20. package/{root → examples}/lilact.development.js.map +3 -3
  21. package/examples/lilact.development.min.js +107 -0
  22. package/{root → examples}/lilact.development.min.js.map +3 -3
  23. package/examples/lilact.production.min.js +106 -0
  24. package/package.json +3 -3
  25. package/scripts/build.mjs +29 -0
  26. package/scripts/copy-dist-to-examples.mjs +42 -0
  27. package/scripts/esbuild-preprocessor-plugin.cjs +29 -4
  28. package/scripts/preprocess.mjs +29 -1
  29. package/src/accessories.jsx +152 -161
  30. package/typedoc.json +1 -1
  31. package/root/lilact.development.min.js +0 -107
  32. package/root/lilact.production.min.js +0 -106
  33. package/scripts/copy-dist-to-root.mjs +0 -13
  34. /package/{root → examples}/demos/actionstate.jsx +0 -0
  35. /package/{root → examples}/demos/capture.jsx +0 -0
  36. /package/{root → examples}/demos/context.jsx +0 -0
  37. /package/{root → examples}/demos/css-transition.jsx +0 -0
  38. /package/{root → examples}/demos/error-boundary.jsx +0 -0
  39. /package/{root → examples}/demos/error-callback.jsx +0 -0
  40. /package/{root → examples}/demos/error-component-stack.jsx +0 -0
  41. /package/{root → examples}/demos/error-init.jsx +0 -0
  42. /package/{root → examples}/demos/error-parser.jsx +0 -0
  43. /package/{root → examples}/demos/form-elements.jsx +0 -0
  44. /package/{root → examples}/demos/forwardref.jsx +0 -0
  45. /package/{root → examples}/demos/lazy.jsx +0 -0
  46. /package/{root → examples}/demos/modal.jsx +0 -0
  47. /package/{root → examples}/demos/proptypes.jsx +0 -0
  48. /package/{root → examples}/demos/reducer.jsx +0 -0
  49. /package/{root → examples}/demos/redux.jsx +0 -0
  50. /package/{root → examples}/demos/router.jsx +0 -0
  51. /package/{root → examples}/demos/stopwatch.jsx +0 -0
  52. /package/{root → examples}/demos/suspense.jsx +0 -0
  53. /package/{root → examples}/demos/switch-transition.jsx +0 -0
  54. /package/{root → examples}/demos/transition.jsx +0 -0
  55. /package/{root → examples}/demos/usedefered.jsx +0 -0
  56. /package/{root → examples}/demos/usetransition.jsx +0 -0
  57. /package/{root → examples}/icon.png +0 -0
  58. /package/{root → examples}/prismjs/LICENSE.md +0 -0
  59. /package/{root → examples}/prismjs/prism-jsx.min.js +0 -0
  60. /package/{root → examples}/prismjs/prism.min.css +0 -0
  61. /package/{root → examples}/prismjs/prism.min.js +0 -0
@@ -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 Cn=Object.defineProperty;var Kr=(e,t,n)=>t in e?Cn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var J=(e,t)=>{for(var n in t)Cn(e,n,{get:t[n],enumerable:!0})};var H=(e,t,n)=>Kr(e,typeof t!="symbol"?t+"":t,n);var qt={};J(qt,{__DO_NOT_USE__ActionTypes:()=>Ve,applyMiddleware:()=>Yr,bindActionCreators:()=>Vr,combineReducers:()=>Wr,compose:()=>An,createStore:()=>Ft,isAction:()=>zr,isPlainObject:()=>Kt,legacy_createStore:()=>Br});function M(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 Fr=typeof Symbol=="function"&&Symbol.observable||"@@observable",On=Fr,Ut=()=>Math.random().toString(36).substring(7).split("").join("."),qr={INIT:`@@redux/INIT${Ut()}`,REPLACE:`@@redux/REPLACE${Ut()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ut()}`},Ve=qr;function Kt(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 Ft(e,t,n){if(typeof e!="function")throw new Error(M(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(M(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(M(1));return n(Ft)(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((_,v)=>{a.set(v,_)}))}function l(){if(f)throw new Error(M(3));return o}function p(_){if(typeof _!="function")throw new Error(M(4));if(f)throw new Error(M(5));let v=!0;u();let g=c++;return a.set(g,_),function(){if(v){if(f)throw new Error(M(6));v=!1,u(),a.delete(g),s=null}}}function d(_){if(!Kt(_))throw new Error(M(7));if(typeof _.type=="undefined")throw new Error(M(8));if(typeof _.type!="string")throw new Error(M(17));if(f)throw new Error(M(9));try{f=!0,o=r(o,_)}finally{f=!1}return(s=a).forEach(g=>{g()}),_}function h(_){if(typeof _!="function")throw new Error(M(10));r=_,d({type:Ve.REPLACE})}function y(){let _=p;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(M(11));function g(){let C=v;C.next&&C.next(l())}return g(),{unsubscribe:_(g)}},[On](){return this}}}return d({type:Ve.INIT}),{dispatch:d,subscribe:p,getState:l,replaceReducer:h,[On]:y}}function Br(e,t,n){return Ft(e,t,n)}function Xr(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:Ve.INIT})=="undefined")throw new Error(M(12));if(typeof n(void 0,{type:Ve.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(M(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{Xr(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],x=h(y,f);if(typeof x=="undefined"){let _=f&&f.type;throw new Error(M(14))}l[d]=x,u=u||x!==y}return u=u||r.length!==Object.keys(c).length,u?l:c}}function $n(e,t){return function(...n){return t(e.apply(this,n))}}function Vr(e,t){if(typeof e=="function")return $n(e,t);if(typeof e!="object"||e===null)throw new Error(M(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=$n(o,t))}return n}function An(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Yr(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(M(15))},a={getState:o.getState,dispatch:(f,...u)=>s(f,...u)},c=e.map(f=>f(a));return s=An(...c)(o.dispatch),{...o,dispatch:s}}}function zr(e){return Kt(e)&&"type"in e&&typeof e.type=="string"}var Je={};J(Je,{cache:()=>vo,css:()=>zt,cx:()=>go,flush:()=>mo,getRegisteredStyles:()=>wo,hydrate:()=>yo,injectGlobal:()=>xo,keyframes:()=>Eo,merge:()=>bo,sheet:()=>_o});var Gr=!1;function Hr(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 Zr(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 Ln=(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?!Gr: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(Zr(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Hr(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 F="-ms-",Ye="-moz-",A="-webkit-",lt="comm",$e="rule",Ae="decl";var Rn="@import";var ft="@keyframes";var In="@layer";var Pn=Math.abs,_e=String.fromCharCode,Nn=Object.assign;function Dn(e,t){return I(e,0)^45?(((t<<2^I(e,0))<<2^I(e,1))<<2^I(e,2))<<2^I(e,3):0}function pt(e){return e.trim()}function Bt(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function ze(e,t){return e.indexOf(t)}function I(e,t){return e.charCodeAt(t)|0}function ye(e,t,n){return e.slice(t,n)}function W(e){return e.length}function Le(e){return e.length}function Re(e,t){return t.push(e),e}function Xt(e,t){return e.map(t).join("")}var dt=1,Ie=1,jn=0,V=0,P=0,Ne="";function Ge(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:dt,column:Ie,length:a,return:""}}function De(e,t){return Nn(Ge("",null,null,"",null,null,0),e,{length:-e.length},t)}function Mn(){return P}function Un(){return P=V>0?I(Ne,--V):0,Ie--,P===10&&(Ie=1,dt--),P}function Y(){return P=V<jn?I(Ne,V++):0,Ie++,P===10&&(Ie=1,dt++),P}function te(){return I(Ne,V)}function He(){return V}function je(e,t){return ye(Ne,e,t)}function Pe(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 ht(e){return dt=Ie=1,jn=W(Ne=e),V=0,[]}function mt(e){return Ne="",e}function Me(e){return pt(je(V-1,Wt(e===91?e+2:e===40?e+1:e)))}function Kn(e){for(;(P=te())&&P<33;)Y();return Pe(e)>2||Pe(P)>3?"":" "}function Fn(e,t){for(;--t&&Y()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return je(e,He()+(t<6&&te()==32&&Y()==32))}function Wt(e){for(;Y();)switch(P){case e:return V;case 34:case 39:e!==34&&e!==39&&Wt(P);break;case 40:e===41&&Wt(e);break;case 92:Y();break}return V}function qn(e,t){for(;Y()&&e+P!==57;)if(e+P===84&&te()===47)break;return"/*"+je(t,V-1)+"*"+_e(e===47?e:Y())}function Bn(e){for(;!Pe(te());)Y();return je(e,V)}function Vn(e){return mt(yt("",null,null,null,[""],e=ht(e),0,[0],e))}function yt(e,t,n,r,o,s,a,c,f){for(var u=0,l=0,p=a,d=0,h=0,y=0,x=1,_=1,v=1,g=0,w="",C=o,S=s,E=r,T=w;_;)switch(y=g,g=Y()){case 40:if(y!=108&&I(T,p-1)==58){ze(T+=$(Me(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=Me(g);break;case 9:case 10:case 13:case 32:T+=Kn(y);break;case 92:T+=Fn(He()-1,7);continue;case 47:switch(te()){case 42:case 47:Re(Jr(qn(Y(),He()),t,n),f);break;default:T+="/"}break;case 123*x:c[u++]=W(T)*v;case 125*x:case 59:case 0:switch(g){case 0:case 125:_=0;case 59+l:v==-1&&(T=$(T,/\f/g,"")),h>0&&W(T)-p&&Re(h>32?Wn(T+";",r,n,p-1):Wn($(T," ","")+";",r,n,p-2),f);break;case 59:T+=";";default:if(Re(E=Xn(T,t,n,u,l,o,c,w,C=[],S=[],p),s),g===123)if(l===0)yt(T,t,E,E,C,s,p,c,S);else switch(d===99&&I(T,3)===110?100:d){case 100:case 108:case 109:case 115:yt(e,E,E,r&&Re(Xn(e,E,E,0,0,o,c,w,o,C=[],p),S),o,S,p,c,r?C:S);break;default:yt(T,E,E,E,[""],S,0,c,S)}}u=l=h=0,x=v=1,w=T="",p=a;break;case 58:p=1+W(T),h=y;default:if(x<1){if(g==123)--x;else if(g==125&&x++==0&&Un()==125)continue}switch(T+=_e(g),g*x){case 38:v=l>0?1:(T+="\f",-1);break;case 44:c[u++]=(W(T)-1)*v,v=1;break;case 64:te()===45&&(T+=Me(Y())),d=te(),l=p=W(w=T+=Bn(He())),g++;break;case 45:y===45&&W(T)==2&&(x=0)}}return s}function Xn(e,t,n,r,o,s,a,c,f,u,l){for(var p=o-1,d=o===0?s:[""],h=Le(d),y=0,x=0,_=0;y<r;++y)for(var v=0,g=ye(e,p+1,p=Pn(x=a[y])),w=e;v<h;++v)(w=pt(x>0?d[v]+" "+g:$(g,/&\f/g,d[v])))&&(f[_++]=w);return Ge(e,t,n,o===0?$e:c,f,u,l)}function Jr(e,t,n){return Ge(e,t,n,lt,_e(Mn()),ye(e,2,-2),0)}function Wn(e,t,n,r){return Ge(e,t,n,Ae,ye(e,0,r),ye(e,r+1,-1),r)}function ve(e,t){for(var n="",r=Le(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Yn(e,t,n,r){switch(e.type){case In:if(e.children.length)break;case Rn:case Ae:return e.return=e.return||e.value;case lt:return"";case ft:return e.return=e.value+"{"+ve(e.children,r)+"}";case $e:e.value=e.props.join(",")}return W(n=ve(e.children,r))?e.return=e.value+"{"+n+"}":""}function zn(e){var t=Le(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 Gn(e){return function(t){t.root||(t=t.return)&&e(t)}}function Hn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Qr=function(t,n,r){for(var o=0,s=0;o=s,s=te(),o===38&&s===12&&(n[r]=1),!Pe(s);)Y();return je(t,V)},eo=function(t,n){var r=-1,o=44;do switch(Pe(o)){case 0:o===38&&te()===12&&(n[r]=1),t[r]+=Qr(V-1,n,r);break;case 2:t[r]+=Me(o);break;case 4:if(o===44){t[++r]=te()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=_e(o)}while(o=Y());return t},to=function(t,n){return mt(eo(ht(t),n))},Zn=new WeakMap,no=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=to(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]}}},ro=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Jn(e,t){switch(Dn(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+Ye+e+F+e+e;case 6828:case 4268:return A+e+F+e+e;case 6165:return A+e+F+"flex-"+e+e;case 5187:return A+e+$(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return A+e+F+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return A+e+F+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+F+$(e,"shrink","negative")+e;case 5292:return A+e+F+$(e,"basis","preferred-size")+e;case 6060:return A+"box-"+$(e,"-grow","")+A+e+F+$(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"+F+"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(W(e)-1-t>6)switch(I(e,t+1)){case 109:if(I(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Ye+(I(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ze(e,"stretch")?Jn($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(I(e,t+1)!==115)break;case 6444:switch(I(e,W(e)-3-(~ze(e,"!important")&&10))){case 107:return $(e,":",":"+A)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(I(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(I(e,t+11)){case 114:return A+e+F+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+F+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+F+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+F+e+e}return e}var oo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Ae:t.return=Jn(t.value,t.length);break;case ft:return ve([De(t,{value:$(t.value,"@","@"+A)})],o);case $e:if(t.length)return Xt(t.props,function(s){switch(Bt(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ve([De(t,{props:[$(s,/:(read-\w+)/,":"+Ye+"$1")]})],o);case"::placeholder":return ve([De(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),De(t,{props:[$(s,/:(plac\w+)/,":"+Ye+"$1")]}),De(t,{props:[$(s,/:(plac\w+)/,F+"input-$1")]})],o)}return""})}},io=[oo],Qn=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(x){var _=x.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||io,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var _=x.getAttribute("data-emotion").split(" "),v=1;v<_.length;v++)s[_[v]]=!0;c.push(x)});var f,u=[no,ro];{var l,p=[Yn,Gn(function(x){l.insert(x)})],d=zn(u.concat(o,p)),h=function(_){return ve(Vn(_),d)};f=function(_,v,g,w){l=g,h(_?_+"{"+v.styles+"}":v.styles),w&&(y.inserted[v.name]=!0)}}var y={key:n,sheet:new Ln({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 er(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 tr={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 so=!1,ao=/[A-Z]|^ms/g,co=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ir=function(t){return t.charCodeAt(1)===45},nr=function(t){return t!=null&&typeof t!="boolean"},Vt=Hn(function(e){return ir(e)?e:e.replace(ao,"-$&").toLowerCase()}),rr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(co,function(r,o,s){return le={name:o,styles:s,next:le},o})}return tr[t]!==1&&!ir(t)&&typeof n=="number"&&n!==0?n+"px":n},uo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ze(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 le={name:o.name,styles:o.styles,next:le},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)le={name:a.name,styles:a.styles,next:le},a=a.next;var c=s.styles+";";return c}return lo(e,t,n)}case"function":{if(e!==void 0){var f=le,u=n(e);return le=f,Ze(e,t,u)}break}}var l=n;if(t==null)return l;var p=t[l];return p!==void 0?p:l}function lo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ze(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]+"}":nr(c)&&(r+=Vt(s)+":"+rr(s,c)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&so)throw new Error(uo);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)nr(a[f])&&(r+=Vt(s)+":"+rr(s,a[f])+";");else{var u=Ze(e,t,a);switch(s){case"animation":case"animationName":{r+=Vt(s)+":"+u+";";break}default:r+=s+"{"+u+"}"}}}}return r}var or=/label:\s*([^\s;{]+)\s*(;|$)/g,le;function gt(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="";le=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Ze(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Ze(n,t,e[c]),r){var f=s;o+=f[c]}or.lastIndex=0;for(var u="",l;(l=or.exec(o))!==null;)u+="-"+l[1];var p=er(o)+u;return{name:p,styles:o,next:le}}var fo=!0;function Yt(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var po=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||fo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},sr=function(t,n,r){po(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 ar(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function cr(e,t,n){var r=[],o=Yt(e,r,n);return r.length<2?n:o+t(r)}var ur=function(t){var n=Qn(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=gt(u,n.registered,void 0);return sr(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=gt(u,n.registered),d="animation-"+p.name;return ar(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=gt(u,n.registered);ar(n,p)},a=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];return cr(n.registered,r,ho(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:Yt.bind(null,n.registered),merge:cr.bind(null,n.registered,r)}},ho=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 fe=ur({key:"css"}),mo=fe.flush,yo=fe.hydrate,go=fe.cx,bo=fe.merge,wo=fe.getRegisteredStyles,xo=fe.injectGlobal,Eo=fe.keyframes,zt=fe.css,_o=fe.sheet,vo=fe.cache;function z(e){return e==null}function B(e){return e||"<<anonymous>>"}function ko(e){return e&&(e.displayName||e.name)||"Unknown"}function ke(e){let t=function(r,o,s,a,c,f){let u=r[o];if(z(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 \`${B(s)}\`, expected \`${l}\`.`)};return t.isRequired=function(r,o,s,a,c){let f=r[o];return z(f)?new Error(`The ${a} \`${c}\` is marked as required in \`${B(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=ke(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=ke(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=ke(r=>typeof r=="function"),e.func.expectedType="function",e.number=ke(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=ke(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=ke(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=ke(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(z(h))return null;for(let x=0;x<s.length;x++)if(h===s[x])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${d}\` of value \`${String(h)}\` supplied to \`${B(l)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return a.isRequired=function(f,u,l,p,d){return z(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${B(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(z(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 \`${B(l)}\` (none of the allowed types matched).`)};return a.isRequired=function(f,u,l,p,d){return z(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${B(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(z(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${B(l)}\`, expected an array.`);for(let y=0;y<h.length;y++){let x=`${d}[${y}]`,_=s({[u]:h[y]},u,l,p,x);if(_!==null)return _}return null};return a.isRequired=function(f,u,l,p,d){return z(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${B(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(z(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${B(l)}\`, expected an object.`);let y=Object.keys(h);for(let x=0;x<y.length;x++){let _=y[x],v=`${d}.${_}`,g=s({[u]:h[_]},u,l,p,v);if(g!==null)return g}return null};return a.isRequired=function(f,u,l,p,d){return z(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${B(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(z(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${d}\` of type \`${typeof h}\` supplied to \`${B(l)}\`, expected an object.`);if(o){let x=Object.keys(h);for(let _=0;_<x.length;_++){let v=x[_];if(!Object.prototype.hasOwnProperty.call(r,v)){let g=`${d}.${v}`;return new Error(`Invalid ${p} \`${g}\` supplied to \`${B(l)}\`: extra key \`${v}\` is not allowed by exact().`)}}}for(let x=0;x<s.length;x++){let _=s[x],v=r[_],g=h[_],w=`${d}.${_}`;if(z(g)){let S=v({[u]:g},u,l,p,w);if(S!==null)return S;continue}let C=v({[u]:g},u,l,p,w);if(C!==null)return C}return null};return a.isRequired=function(f,u,l,p,d){return z(f[u])?new Error(`The ${p} \`${d}\` is marked as required in \`${B(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 z(d)||d instanceof o?null:new Error(`Invalid ${l} \`${p}\` supplied to \`${B(u)}\`: expected instance of \`${ko(o)}\`.`)};return s.isRequired=function(c,f,u,l,p){return z(c[f])?new Error(`The ${l} \`${p}\` is marked as required in \`${B(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){if(!o)return;let f=o,u=B(c),l=Object.keys(f);for(let p=0;p<l.length;p++){let d=l[p],h=f[d];if(typeof h!="function")continue;let x=h(s||{},d,u,a,d);if(x instanceof Error){let _=`${u}|${a}|${d}|${x.message}`;if(n.has(_))continue;n.add(_),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${x.message}`)}}},e}var Qe=To();var Qt={};J(Qt,{Component:()=>ge,HTMLComponent:()=>nt,RootComponent:()=>St,boolean_html_attributes_set:()=>gr,capture_events_set:()=>Ot,createComponent:()=>dr,createElement:()=>Ko,createRoot:()=>hr,current_component:()=>Fo,events_set:()=>Ct,layout_effects:()=>Wo,length_css_attributes_set:()=>yr,render:()=>Uo,roots:()=>Xo,special_attributes:()=>mr,update_cbs:()=>Bo,update_set:()=>qo});var[m,Ue,G,lr,ie,pe,As,bt,se,wt,xt,et,Et,_t]=[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 Zt={};J(Zt,{Children:()=>Te,Fragment:()=>fr,deepEqual:()=>Gt,eval_num:()=>Po,findDOMNode:()=>Co,forwardRef:()=>Ht,getComponentByPointer:()=>Oo,id_num:()=>Io,isAsync:()=>$o,isClass:()=>vt,isEmpty:()=>Q,isError:()=>Ao,isThenable:()=>kt,isValidElement:()=>So,shallowEqual:()=>me,toBool:()=>Tt,update_interval_margin:()=>Ro,update_timeout:()=>Lo});var de=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},So=e=>e[m]!==void 0||e[TEXT]!==void 0,Co=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},fr=function({children:e}){return e};fr.displayName="Fragment";var Te={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]:[]}},Ht=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function Oo(){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[Ue]&&o.parentNode;)o=o.parentNode;return e(o[Ue]),!1}return window.addEventListener("click",n,!0),t}function Q(e){for(let t in e)return!1;return!0}var me=(e,t)=>de(e)!==de(t)?!1:de(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>n===t[r]):de(e)==="object"?Object.keys(e).every(n=>e[n]===t[n]):de(e)==="date"?e.getTime()===t.getTime():e===t;function Gt(e,t){return de(e)!==de(t)?!1:de(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Gt(n,t[r])):de(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Gt(e[n],t[n])):de(e)==="date"?e.getTime()===t.getTime():e===t}function vt(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function $o(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function kt(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function Ao(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Tt(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 Lo,Ro=0,Io=Math.floor(Math.random()*1e4),Po=0;var Jt=class{constructor(t){H(this,"owner");H(this,"current_map",new Map);H(this,"new_map",new Map);H(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[ie]?(r=o[o[ie]],o[ie]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ie]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ie]=0),r[m]&&((a=(s=r[m]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ie]).forEach(n=>{n.cleanup&&n.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}},tt=class{constructor(t,n){H(this,"component");H(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var s,a,c,f;if((s=this.entity)!=null&&s.propTypes?Qe.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(a=this.component)!=null&&a.propTypes&&Qe.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),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[Ue]=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,k.current_component=[this,k.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(u){pr(this,u)}k.current_component=k.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(u){pr(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=Do(this,l);this.outlet[u]=p,p[G]===void 0?(p.container=this.element?this:this.container,p.apply(l.props)):p.element?p[G]!==l[G]&&(p.element.textContent=l[G],p[G]=l[G]):(p.element=document.createTextNode(l[G]),p[G]=l[G])}}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&&k.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let l=u.toLowerCase();t.hasOwnProperty(u)||(Ct.has(l)?this.event_detachers[l]():this.element.setAttribute(u,void 0))}for(let u in t){let l=u.toLowerCase();if(!mr.has(l)&&(t===this.props||!k.defaultIsEqual(t[u],this.props[u])||n))if(Ct.has(l))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[l])==null||s.call(o),this.event_detachers[l]=k.addWrappedEventListener(this.element,l.substring(2),t[u]);else if(Ot.hasOwnProperty(l)){let p=Ot[l];(a=this.event_detachers)!=null||(this.event_detachers={}),(f=(c=this.event_detachers)[l])==null||f.call(c),this.event_detachers[l]=k.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])yr.has(p)&&isFinite(t[u][p])&&(t[u][p]+="px");Object.assign(this.element.style,t[u])}else gr.has(u)?this.element[u]=Tt(t[u]):u==="autoFocus"?this.element.autofocus=Tt(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[pe]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[pe])),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][lr]&&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)}},pr=(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[G]===void 0)if(typeof e.entity=="string")n=new nt(e.entity,e.props);else{if(vt(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 ge(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 tt&&(n[m].parent=t),n}function Do(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new Jt(e)),t=e.cache.pick(t[G]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[G]!==void 0||t instanceof tt?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 jo(){requestAnimationFrame(()=>{let e=k.layout_effects,t=k.update_cbs,n=k.update_set;k.layout_effects=new Set,k.update_cbs=new Set,k.update_set=new Set;for(let r of e)r();for(let r of n)r.apply();for(let r of t)r()})}var Mo=(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[G]!==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},ge=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:(vt(this[m].entity)&&this[m].entity.constructor.name,typeof this[m].entity=="function"?this[m].entity.name:"Component")}constructor(t){this[m]=new tt(this,t)}forceUpdate(t){k.clearTimeout(k.update_timeout),k.update_set.add(this[m].container||this[m]),t&&k.update_cbs.add(t.bind(this)),k.update_timeout=k.setTimeout(jo,k.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)}},nt=class extends ge{constructor(t,n){super(n),this[m].entity=t}render(){return this[m].props.children}},St=class extends nt{constructor(n,r){super(":root",r);H(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(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]={[G]:o}:n[r]=o}return t.key=Mo(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 St(e,{children:[n]}),k.roots.add(t[m]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Uo(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 Ko=dr,Fo=[],qo=new Set,Bo=new Set,Xo=new Set,Wo=new Set,mr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Ct=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"]),Ot={};for(let e of Ct)Ot[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 tn={};J(tn,{createContext:()=>Ke,useActionState:()=>zo,useCallback:()=>ae,useContext:()=>Fe,useDeferredValue:()=>Ho,useEffect:()=>re,useHook:()=>ne,useId:()=>Vo,useImperativeHandle:()=>en,useLayoutEffect:()=>Se,useLocalStorage:()=>Yo,useMemo:()=>rt,useReducer:()=>Go,useRef:()=>U,useState:()=>ee,useTransition:()=>br});function ne(){let e=k.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function ee(e){let t=ne();return Q(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,k.current_component[0],t)),[t.value,t.set_func]}function ae(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=ne();return!Q(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&me(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function Ke(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function Fe(e){var n;let t=k.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 Vo(e="N"){let t=ne();return Q(t)&&(t.id=e+k.id_num++),t.id}function br(){let e=ne();return Q(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,k.current_component[0],e)),[e.count!=0,e.func]}function Yo(e,t){let n=ne(),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)),Q(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,k.current_component[0],n)),[n.value,n.set_func]}function U(e=null){let t=ne();return Q(t)&&(t.current=e),t}function Se(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=ne();!Q(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&me(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,k.layout_effects.add(()=>{n.cleanup=e()}),k.current_component[0].component.forceUpdate())}function re(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=ne();!Q(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&me(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,k.setTimeout(()=>{n.cleanup=e()},0))}function rt(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=ne();return!Q(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&me(t,n.deps)||(n.deps=t,n.value=e()),n.value}function zo(e,t){let n=ne(),[r,o]=br();return Q(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 Go(e,t,n){let r=ne();return Q(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,a){let c=s.reducer(s.state,a);k.defaultIsEqual(c,s.state)||(s.state=c,o.component.forceUpdate())}.bind(void 0,k.current_component[0],r)),[r.state,r.dispatch]}function Ho(e,t){let{useEffect:n,useRef:r,useState:o}=k,[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 en(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&me(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}var nn={};J(nn,{lazy:()=>Zo,require:()=>wr,required_scripts:()=>ce,run:()=>ot,runScripts:()=>Qo});var ce={};function ot(jsx,path=`InlineJSX-${++k.eval_num}`,is_inline=!0){let mappings=[],module={exports:{}},processed;ce[path]={mappings,module,is_inline,path,code:jsx};try{processed=k.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:k.blocks_info,injectTraceLabels:!0})}catch(e){throw k.error=e,e}ce[path].processed=processed,processed+=`
59
- //# sourceURL=eval:/`+path,k.scanBlockLabels(processed,path);try{globalThis.Lilact=k,globalThis.createComponent=k.createComponent,globalThis.Fragment=k.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=k.traceError(e),e}}function wr(e,t){var n;if(ce[e]&&!t)return ce[e].module.exports;if(e[0]==="#"){let r=document.getElementById(e);if(r)return ot(r.innerText,e)}else{if((n=k)!=null&&n[bt])return k[bt]=!1,fetch(e).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return r.text()}).then(r=>{var o;return r=ot(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 ot(r.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function Zo(e){let t="pending",n;k[bt]=!0,n=e(),k.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 Jo(){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 Qo(){let e=Jo();for(let t of e)t.src&&wr(t.src),t.content&&ot(t.content)}var un={};J(un,{CSSTransition:()=>Er,SwitchTransition:()=>pi,Transition:()=>xr,TransitionGroup:()=>di});var sn={};J(sn,{animationFramePromise:()=>fi,clearInterval:()=>ai,clearTimeout:()=>oe,grabTimers:()=>ci,pauseTimers:()=>oi,releaseTimers:()=>ui,resetTimers:()=>ri,resumeTimers:()=>ii,setInterval:()=>si,setTimeout:()=>xe,timeoutPromise:()=>li});var qe,it=-1,Z=[],be=-1,we={},$t=window.setTimeout,ei=window.setInterval,st=window.clearTimeout,ti=window.clearInterval;function ni(e){let t=0,n=Z.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=Z[o][se];if(s===e)return[o,Z[o]];s<e?t=o+1:n=o-1}let r=[];return r[se]=e,Z.splice(t,0,r),[t,r]}function rn(e,t=!1){let[n,r]=ni(e[se]);return t||(it++,we[it]=e,e[ie]=it),r.push(e),Z[0][0]===e&&(st(be),be=$t(on,e[et])),it}function on(){let e=Date.now(),t=0,n=Z[t];for(;n&&n[se]-e<=0;){for(let r of n)r[xt]?delete we[r[ie]]:(r[Et](...r[_t]),r[wt]?(r[se]=Date.now()+r[et],rn(r,!0)):delete we[r[ie]]);t++,n=Z[t]}Z.splice(0,t),Z.length>0&&(st(be),be=$t(on,Z[0][se]-e))}function ri(){st(be),qe=void 0,it=-1,Z=[],be=-1,we={}}function oi(){st(be),qe=Date.now()}function ii(){if(qe){if(Z.length>0){let e=Date.now();qe-=e;for(let t of Z)t[se]-=qe;be=$t(on,Z[0][se]-e)}qe=void 0}}function xe(e,t,...n){return rn({[Et]:e,[et]:t,[se]:Date.now()+t,[wt]:!1,[_t]:n})}function si(e,t,...n){return rn({[Et]:e,[et]:t,[se]:Date.now()+t,[wt]:!0,[_t]:n})}function oe(e){we[e]&&(we[e][xt]=!0)}function ai(e){we[e]&&(we[e][xt]=!0)}function ci(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function ui(){globalThis.setTimeout=$t,globalThis.setInterval=ei,globalThis.clearTimeout=st,globalThis.clearInterval=ti}function li(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 fi(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var an="unmounted",At="exited",at="entering",ct="entered",cn="exiting";function xr({in:e,timeout:t=k.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,x,_,v,g;return(y=(h=this[m]).is_mounted)!=null||(h.is_mounted=!n||e||o),(_=(x=this[m]).is_appeared)!=null||(x.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=an),e?this[m].mount_state=o&&!this[m].is_appeared?at:ct:this[m].mount_state=At),re(()=>()=>oe(this[m].timer),[]),re(()=>{!this[m].is_appeared&&o&&this[m].mount_state===at&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[m].is_appeared),oe(this[m].timer),this[m].timer=xe(()=>{this[m].mount_state=ct,this.forceUpdate(),this[m].is_appeared=!0,c==null||c(!this[m].is_appeared)},t)}))},[]),re(()=>{if(e){if(this[m].is_mounted=!0,this[m].mount_state===at||this[m].mount_state===ct)return;s==null||s(!this[m].is_appeared),this[m].mount_state=at,this.forceUpdate(()=>{a==null||a(!this[m].is_appeared),oe(this[m].timer),this[m].timer=xe(()=>{this[m].mount_state=ct,this.forceUpdate(),this[m].is_appeared=!0,c==null||c()},t)})}else{if(this[m].mount_state===an||this[m].mount_state===cn||this[m].mount_state===At)return;f==null||f(),this[m].mount_state=cn,this.forceUpdate(()=>{u==null||u(),oe(this[m].timer),this[m].timer=xe(()=>{this[m].mount_state=At,this.forceUpdate(),l==null||l(),r&&(this[m].is_mounted=!1,this[m].mount_state=an,this.forceUpdate())},t)})}},[e,t]),this[m].is_mounted?(d&&(this[m].mount_state===at?this[m].is_appeared?this[m][pe]=d.appearActive:this[m][pe]=d.enterActive:this[m].mount_state===ct?this[m].is_appeared?this[m][pe]=d.appearDone:this[m][pe]=d.enterDone:this[m].mount_state===cn?this[m][pe]=d.exitActive:this[m].mount_state===At&&(this[m][pe]=d.exitDone)),p):null}function Er({in:e,timeout:t=k.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(xr,{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 pi({children:e,activeKey:t,mode:n="out-in",timeout:r=k.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:a=!1,appear:c=!1,onExited:f,onEnter:u,onExiting:l,onEntered:p,...d}){let h=rt(()=>Te.toArray(e),[e]),[y,x]=ee(null),[_,v]=ee(!1),[g,w]=ee(!0),C=U(t),S=U(t),E=U(y);Se(()=>{S.current=t},[t]),Se(()=>{E.current=y},[y]),Se(()=>{let O=C.current;O!==t&&(C.current=t,x(O),n==="out-in"?(w(!1),v(!0)):(w(!0),v(!1)))},[t,n]);let T=O=>(q,K)=>{typeof f=="function"&&f(q,K),O===E.current&&(x(null),n==="out-in"&&(v(!1),w(!0)),n==="in-out"&&v(!1))},R=O=>(q,K)=>{typeof p=="function"&&p(q,K),n==="in-out"&&O===S.current&&E.current!=null&&v(!0)};return createComponent("div",{style:{position:"relative"}},h.map((O,q)=>{var he;let K=((he=O==null?void 0:O.props)==null?void 0:he.key)||q,Mt=K===t?g:K===y?!_:!1;return createComponent(Er,{...d,key:K,in:Mt,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:a,appear:c,onEnter:u,onExiting:l,onEntered:R(K),onExited:T(K)},createComponent("div",{style:{position:"absolute",inset:0}},O))}))}function di({children:e}){return e}var ln={};J(ln,{addWrappedEventListener:()=>yi,createSyntheticEvent:()=>_r,releaseSyntheticEvent:()=>vr,wrapListener:()=>kr});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 Lt=[],hi=10,mi=["mouse","pen","touch"];function _r(e,t){var r,o,s,a,c,f,u,l,p,d,h,y,x,_,v,g,w,C,S,E,T,R;let n=Lt.length?Lt.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=(x=e.pageY)!=null?x:null,n.movementX=(_=e.movementX)!=null?_: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=(C=e.tiltY)!=null?C:null,n.width=(S=e.width)!=null?S:null,n.height=(E=e.height)!=null?E:null,n.pointerEventsSupported=mi.includes(n.pointerType);try{let O=n.target;n.value=O&&"value"in O?O.value:void 0,n.checked=O&&"checked"in O?O.checked:void 0,n.selectionStart=O&&"selectionStart"in O?O.selectionStart:void 0,n.selectionEnd=O&&"selectionEnd"in O?O.selectionEnd:void 0}catch(O){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=(T=e.repeat)!=null?T:!1,n.location=(R=e.location)!=null?R: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,Lt.length<hi&&Lt.push(e))}function kr(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,a=_r(o,s);try{let c=e(a);n&&c===!0&&a.stopPropagation()}finally{vr(a)}}}function yi(e,t,n,r={}){let o=kr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var fn={};J(fn,{Provider:()=>gi,combineReducers:()=>xi,connect:()=>wi,useDispatch:()=>bi,useSelector:()=>Tr,useStore:()=>Rt});var ut;function gi({store:e,children:t}){return ut!=null||(ut=Ke(null)),createComponent(ut.Provider,{value:e},t)}function Rt(){let e=Fe(ut);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function bi(){return Rt().dispatch}function Tr(e,t=(n,r)=>n===r){let n=Rt(),r=U(),o=U(e);o.current=e;let[s,a]=ee(()=>e(n.getState()));return r.current=s,re(()=>{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 wi(e,t){let n=!!e;return function(o){function s(a){let c=Rt(),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=Tr(d=>e(d,a),me)||{});let l={...a,...u,...f};return createComponent(o,{...l})}return s}}function xi(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 pn={};J(pn,{blocks_info:()=>Ti,error:()=>Si,globalErrorHandler:()=>ki,scanBlockLabels:()=>vi,traceError:()=>Or});function Sr(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 Ei(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 _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 vi(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//mg)).forEach(r=>{k.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=Ei(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=ce[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=Sr(e),a,c;typeof e.lilact_trace=="object"?c=k.blocks_info.labels[e.lilact_trace[0]]:c=k.blocks_info.labels[e.lilact_trace],c&&(n.fileName=c.path,n.label=c.label,a=ce[c.path].mappings,s=Cr(a,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=Sr(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return k.error=n,n}function ki(e){e.error&&(e=e.error),e=Or(e);let t=zt(`
57
+ var kn=Object.defineProperty;var Ur=(e,t,n)=>t in e?kn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var G=(e,t)=>{for(var n in t)kn(e,n,{get:t[n],enumerable:!0})};var X=(e,t,n)=>Ur(e,typeof t!="symbol"?t+"":t,n);var Ut={};G(Ut,{__DO_NOT_USE__ActionTypes:()=>Fe,applyMiddleware:()=>Vr,bindActionCreators:()=>Xr,combineReducers:()=>Wr,compose:()=>On,createStore:()=>Mt,isAction:()=>Yr,isPlainObject:()=>jt,legacy_createStore:()=>Fr});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",Sn=Kr,Dt=()=>Math.random().toString(36).substring(7).split("").join("."),Br={INIT:`@@redux/INIT${Dt()}`,REPLACE:`@@redux/REPLACE${Dt()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Dt()}`},Fe=Br;function jt(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 Mt(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(Mt)(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(!jt(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:Fe.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)}},[Sn](){return this}}}return d({type:Fe.INIT}),{dispatch:d,subscribe:p,getState:l,replaceReducer:h,[Sn]:y}}function Fr(e,t,n){return Mt(e,t,n)}function qr(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:Fe.INIT})=="undefined")throw new Error(D(12));if(typeof n(void 0,{type:Fe.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{qr(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 Cn(e,t){return function(...n){return t(e.apply(this,n))}}function Xr(e,t){if(typeof e=="function")return Cn(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]=Cn(o,t))}return n}function On(...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=On(...c)(o.dispatch),{...o,dispatch:s}}}function Yr(e){return jt(e)&&"type"in e&&typeof e.type=="string"}var ze={};G(ze,{cache:()=>Eo,css:()=>Xt,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 $n=(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-",qe="-moz-",A="-webkit-",ct="comm",Ce="rule",Oe="decl";var An="@import";var ut="@keyframes";var Ln="@layer";var Rn=Math.abs,we=String.fromCharCode,In=Object.assign;function Nn(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 lt(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function We(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 $e(e){return e.length}function Ae(e,t){return t.push(e),e}function Bt(e,t){return e.map(t).join("")}var ft=1,Le=1,Pn=0,B=0,I=0,Ie="";function Xe(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:ft,column:Le,length:a,return:""}}function Ne(e,t){return In(Xe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Dn(){return I}function jn(){return I=B>0?R(Ie,--B):0,Le--,I===10&&(Le=1,ft--),I}function F(){return I=B<Pn?R(Ie,B++):0,Le++,I===10&&(Le=1,ft++),I}function Z(){return R(Ie,B)}function Ve(){return B}function Pe(e,t){return de(Ie,e,t)}function Re(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 pt(e){return ft=Le=1,Pn=K(Ie=e),B=0,[]}function dt(e){return Ie="",e}function De(e){return lt(Pe(B-1,Ft(e===91?e+2:e===40?e+1:e)))}function Mn(e){for(;(I=Z())&&I<33;)F();return Re(e)>2||Re(I)>3?"":" "}function Un(e,t){for(;--t&&F()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Pe(e,Ve()+(t<6&&Z()==32&&F()==32))}function Ft(e){for(;F();)switch(I){case e:return B;case 34:case 39:e!==34&&e!==39&&Ft(I);break;case 40:e===41&&Ft(e);break;case 92:F();break}return B}function Kn(e,t){for(;F()&&e+I!==57;)if(e+I===84&&Z()===47)break;return"/*"+Pe(t,B-1)+"*"+we(e===47?e:F())}function Bn(e){for(;!Re(Z());)F();return Pe(e,B)}function Wn(e){return dt(ht("",null,null,null,[""],e=pt(e),0,[0],e))}function ht(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=F()){case 40:if(y!=108&&R(k,p-1)==58){We(k+=$(De(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:k+=De(g);break;case 9:case 10:case 13:case 32:k+=Mn(y);break;case 92:k+=Un(Ve()-1,7);continue;case 47:switch(Z()){case 42:case 47:Ae(Zr(Kn(F(),Ve()),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&&Ae(h>32?qn(k+";",r,n,p-1):qn($(k," ","")+";",r,n,p-2),f);break;case 59:k+=";";default:if(Ae(_=Fn(k,t,n,u,l,o,c,w,O=[],S=[],p),s),g===123)if(l===0)ht(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:ht(e,_,_,r&&Ae(Fn(e,_,_,0,0,o,c,w,o,O=[],p),S),o,S,p,c,r?O:S);break;default:ht(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&&jn()==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+=De(F())),d=Z(),l=p=K(w=k+=Bn(Ve())),g++;break;case 45:y===45&&K(k)==2&&(E=0)}}return s}function Fn(e,t,n,r,o,s,a,c,f,u,l){for(var p=o-1,d=o===0?s:[""],h=$e(d),y=0,E=0,x=0;y<r;++y)for(var v=0,g=de(e,p+1,p=Rn(E=a[y])),w=e;v<h;++v)(w=lt(E>0?d[v]+" "+g:$(g,/&\f/g,d[v])))&&(f[x++]=w);return Xe(e,t,n,o===0?Ce:c,f,u,l)}function Zr(e,t,n){return Xe(e,t,n,ct,we(Dn()),de(e,2,-2),0)}function qn(e,t,n,r){return Xe(e,t,n,Oe,de(e,0,r),de(e,r+1,-1),r)}function xe(e,t){for(var n="",r=$e(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Xn(e,t,n,r){switch(e.type){case Ln:if(e.children.length)break;case An:case Oe:return e.return=e.return||e.value;case ct:return"";case ut:return e.return=e.value+"{"+xe(e.children,r)+"}";case Ce:e.value=e.props.join(",")}return K(n=xe(e.children,r))?e.return=e.value+"{"+n+"}":""}function Vn(e){var t=$e(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 Yn(e){return function(t){t.root||(t=t.return)&&e(t)}}function zn(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),!Re(s);)F();return Pe(t,B)},Qr=function(t,n){var r=-1,o=44;do switch(Re(o)){case 0:o===38&&Z()===12&&(n[r]=1),t[r]+=Jr(B-1,n,r);break;case 2:t[r]+=De(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=F());return t},eo=function(t,n){return dt(Qr(pt(t),n))},Gn=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&&!Gn.get(r))&&!o){Gn.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 Hn(e,t){switch(Nn(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~We(e,"stretch")?Hn($(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-(~We(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 Oe:t.return=Hn(t.value,t.length);break;case ut:return xe([Ne(t,{value:$(t.value,"@","@"+A)})],o);case Ce:if(t.length)return Bt(t.props,function(s){switch(Kt(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xe([Ne(t,{props:[$(s,/:(read-\w+)/,":"+qe+"$1")]})],o);case"::placeholder":return xe([Ne(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,":"+qe+"$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},oo=[ro],Zn=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=[Xn,Yn(function(E){l.insert(E)})],d=Vn(u.concat(o,p)),h=function(x){return xe(Wn(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 $n({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 Jn(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 Qn={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,rr=function(t){return t.charCodeAt(1)===45},er=function(t){return t!=null&&typeof t!="boolean"},qt=zn(function(e){return rr(e)?e:e.replace(so,"-$&").toLowerCase()}),tr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ao,function(r,o,s){return ce={name:o,styles:s,next:ce},o})}return Qn[t]!==1&&!rr(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 Ye(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 ce={name:o.name,styles:o.styles,next:ce},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ce={name:a.name,styles:a.styles,next:ce},a=a.next;var c=s.styles+";";return c}return uo(e,t,n)}case"function":{if(e!==void 0){var f=ce,u=n(e);return ce=f,Ye(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+=Ye(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]+"}":er(c)&&(r+=qt(s)+":"+tr(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++)er(a[f])&&(r+=qt(s)+":"+tr(s,a[f])+";");else{var u=Ye(e,t,a);switch(s){case"animation":case"animationName":{r+=qt(s)+":"+u+";";break}default:r+=s+"{"+u+"}"}}}}return r}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,ce;function mt(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="";ce=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Ye(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Ye(n,t,e[c]),r){var f=s;o+=f[c]}nr.lastIndex=0;for(var u="",l;(l=nr.exec(o))!==null;)u+="-"+l[1];var p=Jn(o)+u;return{name:p,styles:o,next:ce}}var lo=!0;function Wt(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)},or=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 ir(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function sr(e,t,n){var r=[],o=Wt(e,r,n);return r.length<2?n:o+t(r)}var ar=function(t){var n=Zn(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=mt(u,n.registered,void 0);return or(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=mt(u,n.registered),d="animation-"+p.name;return ir(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=mt(u,n.registered);ir(n,p)},a=function(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];return sr(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:Wt.bind(null,n.registered),merge:sr.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 ue=ar({key:"css"}),ho=ue.flush,mo=ue.hydrate,yo=ue.cx,go=ue.merge,bo=ue.getRegisteredStyles,wo=ue.injectGlobal,xo=ue.keyframes,Xt=ue.css,_o=ue.sheet,Eo=ue.cache;function q(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(q(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 q(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(q(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 q(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(q(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 q(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(q(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 q(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(q(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 q(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(q(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(q(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 q(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 q(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 q(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){if(!o)return;let f=o,u=U(c),l=Object.keys(f);for(let p=0;p<l.length;p++){let d=l[p],h=f[d];if(typeof h!="function")continue;let E=h(s||{},d,u,a,d);if(E instanceof Error){let x=`${u}|${a}|${d}|${E.message}`;if(n.has(x))continue;n.add(x),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${E.message}`)}}},e}var Ge=To();var Ht={};G(Ht,{Component:()=>he,HTMLComponent:()=>Je,RootComponent:()=>Tt,boolean_html_attributes_set:()=>mr,capture_events_set:()=>St,createComponent:()=>fr,createElement:()=>Uo,createRoot:()=>pr,current_component:()=>Ko,events_set:()=>kt,layout_effects:()=>Wo,length_css_attributes_set:()=>hr,render:()=>Mo,roots:()=>qo,special_attributes:()=>dr,update_cbs:()=>Fo,update_set:()=>Bo});var[m,je,W,cr,ne,le,Os,yt,re,gt,bt,He,wt,xt]=[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 zt={};G(zt,{Children:()=>Ee,Fragment:()=>ur,deepEqual:()=>Vt,eval_num:()=>Io,findDOMNode:()=>So,forwardRef:()=>Yt,getComponentByPointer:()=>Co,id_num:()=>Ro,isAsync:()=>Oo,isClass:()=>_t,isEmpty:()=>H,isError:()=>$o,isThenable:()=>Et,isValidElement:()=>ko,shallowEqual:()=>pe,toBool:()=>vt,update_interval_margin:()=>Lo,update_timeout:()=>Ao});var fe=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]:[]}},Yt=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[je]&&o.parentNode;)o=o.parentNode;return e(o[je]),!1}return window.addEventListener("click",n,!0),t}function H(e){for(let t in e)return!1;return!0}var pe=(e,t)=>fe(e)!==fe(t)?!1:fe(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>n===t[r]):fe(e)==="object"?Object.keys(e).every(n=>e[n]===t[n]):fe(e)==="date"?e.getTime()===t.getTime():e===t;function Vt(e,t){return fe(e)!==fe(t)?!1:fe(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Vt(n,t[r])):fe(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Vt(e[n],t[n])):fe(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 Oo(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Et(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 vt(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 Gt=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}},Ze=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 s,a,c,f;if((s=this.entity)!=null&&s.propTypes?Ge.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(a=this.component)!=null&&a.propTypes&&Ge.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),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[je]=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)||(kt.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(kt.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(St.hasOwnProperty(l)){let p=St[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]=vt(t[u]):u==="autoFocus"?this.element.autofocus=vt(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[le]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[le])),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 Je(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 Ze&&(n[m].parent=t),n}function Po(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new Gt(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 Ze?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:(_t(this[m].entity)&&this[m].entity.constructor.name,typeof this[m].entity=="function"?this[m].entity.name:"Component")}constructor(t){this[m]=new Ze(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)}},Je=class extends he{constructor(t,n){super(n),this[m].entity=t}render(){return this[m].props.children}},Tt=class extends Je{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 Tt(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=[],Bo=new Set,Fo=new Set,qo=new Set,Wo=new Set,dr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),kt=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 kt)St[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 Qt={};G(Qt,{createContext:()=>Me,useActionState:()=>Yo,useCallback:()=>oe,useContext:()=>Ue,useDeferredValue:()=>Go,useEffect:()=>Q,useHook:()=>J,useId:()=>Xo,useImperativeHandle:()=>Jt,useLayoutEffect:()=>ve,useLocalStorage:()=>Vo,useMemo:()=>Zt,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 Me(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function Ue(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 Zt(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 Jt(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 en={};G(en,{lazy:()=>Ho,require:()=>gr,required_scripts:()=>ie,run:()=>Qe,runScripts:()=>Jo});var ie={};function Qe(jsx,path=`InlineJSX-${++T.eval_num}`,is_inline=!0){let mappings=[],module={exports:{}},processed;ie[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}ie[path].processed=processed,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(ie[e]&&!t)return ie[e].module.exports;if(e[0]==="#"){let r=document.getElementById(e);if(r)return Qe(r.innerText,e)}else{if((n=T)!=null&&n[yt])return T[yt]=!1,fetch(e).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return r.text()}).then(r=>{var o;return r=Qe(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 Qe(r.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function Ho(e){let t="pending",n;T[yt]=!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&&Qe(t.content)}var an={};G(an,{CSSTransition:()=>wr,SwitchTransition:()=>fi,Transition:()=>br,TransitionGroup:()=>pi});var rn={};G(rn,{animationFramePromise:()=>li,clearInterval:()=>si,clearTimeout:()=>ee,grabTimers:()=>ai,pauseTimers:()=>ri,releaseTimers:()=>ci,resetTimers:()=>ni,resumeTimers:()=>oi,setInterval:()=>ii,setTimeout:()=>ge,timeoutPromise:()=>ui});var Ke,et=-1,Y=[],me=-1,ye={},Ct=window.setTimeout,Qo=window.setInterval,tt=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 tn(e,t=!1){let[n,r]=ti(e[re]);return t||(et++,ye[et]=e,e[ne]=et),r.push(e),Y[0][0]===e&&(tt(me),me=Ct(nn,e[He])),et}function nn(){let e=Date.now(),t=0,n=Y[t];for(;n&&n[re]-e<=0;){for(let r of n)r[bt]?delete ye[r[ne]]:(r[wt](...r[xt]),r[gt]?(r[re]=Date.now()+r[He],tn(r,!0)):delete ye[r[ne]]);t++,n=Y[t]}Y.splice(0,t),Y.length>0&&(tt(me),me=Ct(nn,Y[0][re]-e))}function ni(){tt(me),Ke=void 0,et=-1,Y=[],me=-1,ye={}}function ri(){tt(me),Ke=Date.now()}function oi(){if(Ke){if(Y.length>0){let e=Date.now();Ke-=e;for(let t of Y)t[re]-=Ke;me=Ct(nn,Y[0][re]-e)}Ke=void 0}}function ge(e,t,...n){return tn({[wt]:e,[He]:t,[re]:Date.now()+t,[gt]:!1,[xt]:n})}function ii(e,t,...n){return tn({[wt]:e,[He]:t,[re]:Date.now()+t,[gt]:!0,[xt]:n})}function ee(e){ye[e]&&(ye[e][bt]=!0)}function si(e){ye[e]&&(ye[e][bt]=!0)}function ai(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function ci(){globalThis.setTimeout=Ct,globalThis.setInterval=Qo,globalThis.clearTimeout=tt,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 on="unmounted",Ot="exited",nt="entering",rt="entered",sn="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=on),e?this[m].mount_state=o&&!this[m].is_appeared?nt:rt:this[m].mount_state=Ot),Q(()=>()=>ee(this[m].timer),[]),Q(()=>{!this[m].is_appeared&&o&&this[m].mount_state===nt&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=rt,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===nt||this[m].mount_state===rt)return;s==null||s(!this[m].is_appeared),this[m].mount_state=nt,this.forceUpdate(()=>{a==null||a(!this[m].is_appeared),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=rt,this.forceUpdate(),this[m].is_appeared=!0,c==null||c()},t)})}else{if(this[m].mount_state===on||this[m].mount_state===sn||this[m].mount_state===Ot)return;f==null||f(),this[m].mount_state=sn,this.forceUpdate(()=>{u==null||u(),ee(this[m].timer),this[m].timer=ge(()=>{this[m].mount_state=Ot,this.forceUpdate(),l==null||l(),r&&(this[m].is_mounted=!1,this[m].mount_state=on,this.forceUpdate())},t)})}},[e,t]),this[m].is_mounted?(d&&(this[m].mount_state===nt?this[m].is_appeared?this[m][le]=d.appearActive:this[m][le]=d.enterActive:this[m].mount_state===rt?this[m].is_appeared?this[m][le]=d.appearDone:this[m][le]=d.enterDone:this[m].mount_state===sn?this[m][le]=d.exitActive:this[m].mount_state===Ot&&(this[m][le]=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=Zt(()=>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 st;let te=((st=C==null?void 0:C.props)==null?void 0:st.key)||z,it=te===t?g:te===y?!x:!1;return createComponent(wr,{...d,key:te,in:it,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 cn={};G(cn,{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 $t=[],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=$t.length?$t.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,$t.length<di&&$t.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 un={};G(un,{Provider:()=>yi,combineReducers:()=>wi,connect:()=>bi,useDispatch:()=>gi,useSelector:()=>vr,useStore:()=>At});var ot;function yi({store:e,children:t}){return ot!=null||(ot=Me(null)),createComponent(ot.Provider,{value:e},t)}function At(){let e=Ue(ot);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function gi(){return At().dispatch}function vr(e,t=(n,r)=>n===r){let n=At(),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=At(),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 ln={};G(ln,{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 _i(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kr(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 Ei(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//mg)).forEach(r=>{T.blocks_info.labels[r[1]]={path:t,desc:r[4]}})}function Sr(e){var r;if(e!=null&&e.is_traced)return e;let t=xi(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=ie[n.fileName].mappings;let a=kr(o,n.lineNumber-1,n.columnNumber-1);n.lineNumber=a.line,n.columnNumber=a.col}else if(e.lilact_trace!==void 0){let s=Tr(e),a,c;typeof e.lilact_trace=="object"?c=T.blocks_info.labels[e.lilact_trace[0]]:c=T.blocks_info.labels[e.lilact_trace],c&&(n.fileName=c.path,n.label=c.label,a=ie[c.path].mappings,s=kr(a,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=Tr(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return T.error=n,n}function vi(e){e.error&&(e=e.error),e=Sr(e);let t=Xt(`
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,29 +79,29 @@ var Cn=Object.defineProperty;var Kr=(e,t,n)=>t in e?Cn(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>:&nbsp;<span>${e.message}</span><br><br>
82
- ${ce[e.fileName]?"<code><pre></pre><pre><red></red></pre><pre></pre></code>":""}
82
+ ${ie[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(ce[e.fileName]){let o=ce[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 Ti={counter:0,labels:{}},Si=null;var bn={};J(bn,{HashRouter:()=>Oi,Link:()=>$i,NavLink:()=>Ai,Route:()=>Ii,Routes:()=>$r,useLocation:()=>yn,useNavigate:()=>gn});var hn=Ke(null),dn=Ke({params:{}}),mn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Ci=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Oi({children:e,basename:t=""}){let n=()=>{var y;let c=(window.location.hash||"#/").slice(1),f=new RegExp("^"+Ci(t)),u=c.replace(f,"")||"/",[l,p]=u.split("#"),[d,h=""]=l.split("?");return{pathname:d||"/",search:h?"?"+h:"",hash:p?"#"+p:"",state:(y=history.state)==null?void 0:y.__state}},[r,o]=ee(n);re(()=>{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=ae((a,{replace:c=!1,state:f}={})=>{if(typeof a=="number")return new Promise(p=>{let d=!1,h=_=>{d||(d=!0,window.removeEventListener("popstate",y),window.removeEventListener("hashchange",x),_==null||_(),p())},y=()=>h(()=>o(n())),x=()=>h(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",x,{once:!0}),setTimeout(()=>h(()=>o(n())),0),history.go(a)});let u=mn(a),l="#"+(t+u);c?history.replaceState({__state:f},"",l):history.pushState({__state:f},"",l),o(n())},[t]);return createComponent(hn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function yn(){let e=Fe(hn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function gn(){let e=Fe(hn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function $i({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:a,style:c,children:f,...u}){let l=gn(),p="#"+mn(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(),l(e,{replace:t,state:n}))}return createComponent("a",{...u,href:p,onClick:d,target:o,download:s,className:a,style:c},f)}function It(e){return e&&e.replace(/\/+$/,"")||"/"}function Ai({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:a,download:c,replace:f=!1,state:u,children:l,onClick:p,...d}){let h=gn(),y=yn(),x=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",_=y.pathname||"/",v=t?It(_)===It(x):It(_).startsWith(It(x)),w=[typeof r=="function"?r({isActive:v}):r,v?n:null].filter(Boolean).join(" ")||void 0,C=typeof s=="function"?s({isActive:v}):s,S=v?{...C||{},...o||{}}:C,E="#"+mn(e);function T(R){p&&p(R),!(R.defaultPrevented||R.button!==0||R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)&&(R.preventDefault(),h(e,{replace:f,state:u}))}return createComponent("a",{...d,href:E,onClick:T,target:a,download:c,className:w,style:S,"aria-current":v?"page":void 0},typeof l=="function"?l({isActive:v}):l)}function Li(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 Ri(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=Li(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 Ii({path:e,element:t=null,children:n}){return null}function $r({children:e}){var o;let n=yn().pathname||"/",r=Te.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,u=a.props.children,{matched:l,params:p}=Ri(c,n);if(l)return f?createComponent(dn.Provider,{value:{params:p}},f):u?createComponent(dn.Provider,{value:{params:p}},createComponent($r,{},u)):createComponent(dn.Provider,{value:{params:p}},createComponent("div",{}))}return null}var xn={};J(xn,{DragHandle:()=>Di,ErrorBoundary:()=>wn,Spinner:()=>Ni,SplitPane:()=>ji,Suspense:()=>Nt});var{css:_a,cx:Pi}=Je;function Ni({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",{},`
84
+ `,document.body.appendChild(n);let r=n.querySelectorAll("pre");if(ie[e.fileName]){let o=ie[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 Ti={counter:0,labels:{}},ki=null;var yn={};G(yn,{HashRouter:()=>Ci,Link:()=>Oi,NavLink:()=>$i,Route:()=>Ri,Routes:()=>Cr,useLocation:()=>hn,useNavigate:()=>mn});var pn=Me(null),fn=Me({params:{}}),dn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Si=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Ci({children:e,basename:t=""}){let n=()=>{var y;let c=(window.location.hash||"#/").slice(1),f=new RegExp("^"+Si(t)),u=c.replace(f,"")||"/",[l,p]=u.split("#"),[d,h=""]=l.split("?");return{pathname:d||"/",search:h?"?"+h:"",hash:p?"#"+p:"",state:(y=history.state)==null?void 0:y.__state}},[r,o]=V(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",E),x==null||x(),p())},y=()=>h(()=>o(n())),E=()=>h(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",E,{once:!0}),setTimeout(()=>h(()=>o(n())),0),history.go(a)});let u=dn(a),l="#"+(t+u);c?history.replaceState({__state:f},"",l):history.pushState({__state:f},"",l),o(n())},[t]);return createComponent(pn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function hn(){let e=Ue(pn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function mn(){let e=Ue(pn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Oi({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:a,style:c,children:f,...u}){let l=mn(),p="#"+dn(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(),l(e,{replace:t,state:n}))}return createComponent("a",{...u,href:p,onClick:d,target:o,download:s,className:a,style:c},f)}function Lt(e){return e&&e.replace(/\/+$/,"")||"/"}function $i({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:a,download:c,replace:f=!1,state:u,children:l,onClick:p,...d}){let h=mn(),y=hn(),E=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",x=y.pathname||"/",v=t?Lt(x)===Lt(E):Lt(x).startsWith(Lt(E)),w=[typeof r=="function"?r({isActive:v}):r,v?n:null].filter(Boolean).join(" ")||void 0,O=typeof s=="function"?s({isActive:v}):s,S=v?{...O||{},...o||{}}:O,_="#"+dn(e);function k(L){p&&p(L),!(L.defaultPrevented||L.button!==0||L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)&&(L.preventDefault(),h(e,{replace:f,state:u}))}return createComponent("a",{...d,href:_,onClick:k,target:a,download:c,className:w,style:S,"aria-current":v?"page":void 0},typeof l=="function"?l({isActive:v}):l)}function Ai(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 Li(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=Ai(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 Ri({path:e,element:t=null,children:n}){return null}function Cr({children:e}){var o;let n=hn().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,u=a.props.children,{matched:l,params:p}=Li(c,n);if(l)return f?createComponent(fn.Provider,{value:{params:p}},f):u?createComponent(fn.Provider,{value:{params:p}},createComponent(Cr,{},u)):createComponent(fn.Provider,{value:{params:p}},createComponent("div",{}))}return null}var bn={};G(bn,{DragHandle:()=>Or,ErrorBoundary:()=>gn,Spinner:()=>Ni,SplitPane:()=>Pi,Suspense:()=>It});var{css:_a,cx:Ii}=ze;function Ni({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
86
  @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }
87
- `))}var wn=class extends ge{constructor(){super(...arguments);H(this,"displayName","ErrorBoundary");H(this,"state",{hasError:!1,error:null});H(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}},Nt=class extends ge{constructor(n){super(n);H(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(kt(n))return null;throw n}componentDidCatch(n,r){kt(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(oe(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(oe(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&&(oe(this._delayTimer),this._delayTimer=null),this._delayTimer=xe(()=>{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){oe(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&&(oe(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=xe(()=>{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)}};H(Nt,"defaultProps",{minDelay:200,minShowTime:300});function Di({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:a}){let c=U(null),f=U(0),u=U(0),l=U(0),p=U(0),d=U(!1),[h,y]=ee(!1),x=ae(()=>{c.current=null,d.current=!1,f.current=0,u.current=0,l.current=0,p.current=0,y(!1)},[]),_=ae((E,T)=>{let R=E-f.current,O=T-u.current;return{dx:R,dy:O}},[]),v=ae((E="up")=>{d.current&&(n==null||n(E),x())},[n,x]),g=ae(E=>{if(!(E.button!=null&&E.button!==0)){d.current=!0,c.current=E.pointerId,f.current=E.clientX,u.current=E.clientY,l.current=E.clientX,p.current=E.clientY,y(!0),t==null||t(a);try{E.currentTarget.setPointerCapture(E.pointerId)}catch(T){}}},[t]),w=ae(E=>{if(!d.current||c.current!==E.pointerId)return;let{dx:T,dy:R}=_(E.clientX,E.clientY);e==null||e(T,R,a),l.current=E.clientX,p.current=E.clientY},[_,e]),C=ae(E=>{c.current===E.pointerId&&v("up",a)},[v]),S=ae(E=>{c.current===E.pointerId&&v("cancel",a)},[v]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Pi(o,h?"dragging":""),onPointerDown:g,onPointerMove:w,onPointerUp:C,onPointerCancel:S},s)}var Pt=(e,t,n)=>Number.isFinite(e)?Math.min(n,Math.max(t,e)):e,ji=Ht(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:a=8,onSizeChange:c,style:f,className:u,leftPaneStyle:l,rightPaneStyle:p,splitterStyle:d,children:h},y){var Tn,Sn;let x=U(null),_=Te.toArray(h),v=(Tn=_[0])!=null?Tn:null,g=(Sn=_[1])!=null?Sn:null,w=n!=null,[C,S]=ee(t),[E,T]=ee(()=>Pt(n!=null?n:r,o,s));re(()=>{t!=null&&S(t)},[t]),Se(()=>{w||T(L=>Pt(L,o,s))},[o,s,w]);let R=w?Pt(n,o,s):E,O=L=>{let X=Pt(L,o,s);w||T(X),c==null||c(X)},q=U(!1),K=U(null),jt=(L,X)=>{let j=x.current;if(!j)return;let Xe=j.getBoundingClientRect();if(C==="horizontal"){let Ee=Xe.width;if(!Number.isFinite(Ee)||Ee<=0)return;let We=(L-Xe.left)/Ee;if(!Number.isFinite(We))return;O(We)}else{let Ee=Xe.height;if(!Number.isFinite(Ee)||Ee<=0)return;let We=(X-Xe.top)/Ee;if(!Number.isFinite(We))return;O(We)}};re(()=>{let L=j=>{q.current&&(K.current!=null&&j.pointerId!==K.current||jt(j.clientX,j.clientY))},X=j=>{q.current&&(K.current!=null&&j.pointerId!==K.current||(q.current=!1,K.current=null))};return window.addEventListener("pointermove",L,{passive:!0}),window.addEventListener("pointerup",X,{passive:!0}),window.addEventListener("pointercancel",X,{passive:!0}),()=>{window.removeEventListener("pointermove",L),window.removeEventListener("pointerup",X),window.removeEventListener("pointercancel",X)}},[C]);let kn=L=>{var X,j;if(!(L.button!=null&&L.button!==0)){L.preventDefault(),q.current=!0,K.current=L.pointerId;try{(j=(X=L.currentTarget).setPointerCapture)==null||j.call(X,L.pointerId)}catch(Xe){}jt(L.clientX,L.clientY)}},Mt=L=>{let j=0;C==="horizontal"?(L.key==="ArrowLeft"&&(j=-.02),L.key==="ArrowRight"&&(j=.02)):(L.key==="ArrowUp"&&(j=-.02),L.key==="ArrowDown"&&(j=.02)),j!==0&&(L.preventDefault(),O(R+j))},he=rt(()=>{let L=`${R*100}%`,X=`calc(${100-R*100}% - ${a}px)`;return{leftPct:L,rightCalc:X}},[R,a]),Nr={display:"flex",width:"100%",height:"100%",overflow:"hidden",touchAction:"none",...f||{},flexDirection:C==="horizontal"?"row":"column"},Dr=C==="horizontal"?{width:he.leftPct,flex:`0 0 ${he.leftPct}`,overflow:"auto",...l||{}}:{height:he.leftPct,flex:`0 0 ${he.leftPct}`,overflow:"auto",...l||{}},jr=C==="horizontal"?{width:he.rightCalc,flex:"1 1 auto",overflow:"auto",...p||{}}:{height:he.rightCalc,flex:"1 1 auto",overflow:"auto",...p||{}},Mr=C==="horizontal"?{width:`${a}px`,transform:"translateX(-50%)",height:"100%",flex:`0 0 ${a}px`,background:"rgba(0,0,0,0.08)",cursor:"col-resize",...d||{}}:{height:`${a}px`,transform:"translateY(-50%)",width:"100%",flex:`0 0 ${a}px`,background:"rgba(0,0,0,0.08)",cursor:"row-resize",...d||{}},Ur=C==="horizontal"?{height:"100%",width:"100%"}:{width:"100%",height:"100%"};return en(y,()=>({setPosition:O,setMode:L=>S(L==="vertical"?"vertical":"horizontal"),getPosition:()=>R,getMode:()=>C})),createComponent("div",{ref:x,className:u,style:Nr},createComponent("div",{style:Dr},v),createComponent("div",{role:"separator","aria-orientation":C==="horizontal"?"vertical":"horizontal","aria-valuemin":o,"aria-valuemax":s,"aria-valuenow":R,tabIndex:0,onPointerDown:kn,onPointerCancel:()=>{q.current=!1,K.current=null},onKeyDown:Mt,style:Mr},createComponent("div",{style:Ur})),createComponent("div",{style:jr},g))});var Mi={},Lr={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){Mi[e]=t,Lr[t]=e});function Rr(...e){if(typeof e=="number")return Ar(e);let t="";for(let n=0;n<e.length;n+=1)t+=Ar(e[n]);return t}function Ar(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=Lr[n]}while(e>0);return t}var N={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},ka=Symbol.for("LILACT:TRANSPILER_OUTPUT"),ue,Ta=0;function D(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Ki(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${N.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
87
+ `))}var gn=class extends he{constructor(){super(...arguments);X(this,"displayName","ErrorBoundary");X(this,"state",{hasError:!1,error:null});X(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}},It=class extends he{constructor(n){super(n);X(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(Et(n))return null;throw n}componentDidCatch(n,r){Et(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)}};X(It,"defaultProps",{minDelay:200,minShowTime:300});function Or({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:a}){let c=j(null),f=j(0),u=j(0),l=j(0),p=j(0),d=j(!1),[h,y]=V(!1),E=oe(()=>{c.current=null,d.current=!1,f.current=0,u.current=0,l.current=0,p.current=0,y(!1)},[]),x=oe((_,k)=>{let L=_-f.current,C=k-u.current;return{dx:L,dy:C}},[]),v=oe((_="up")=>{d.current&&(n==null||n(_),E())},[n,E]),g=oe(_=>{if(!(_.button!=null&&_.button!==0)){d.current=!0,c.current=_.pointerId,f.current=_.clientX,u.current=_.clientY,l.current=_.clientX,p.current=_.clientY,y(!0),t==null||t(a);try{_.currentTarget.setPointerCapture(_.pointerId)}catch(k){}}},[t]),w=oe(_=>{if(!d.current||c.current!==_.pointerId)return;let{dx:k,dy:L}=x(_.clientX,_.clientY);e==null||e(k,L,a),l.current=_.clientX,p.current=_.clientY},[x,e]),O=oe(_=>{c.current===_.pointerId&&v("up",a)},[v]),S=oe(_=>{c.current===_.pointerId&&v("cancel",a)},[v]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Ii(o,h?"dragging":""),onPointerDown:g,onPointerMove:w,onPointerUp:O,onPointerCancel:S},s)}var Pi=Yt(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:a=8,onSizeChange:c,style:f,className:u,firstPaneStyle:l,secondPaneStyle:p,splitterStyle:d,children:h},y){let E=t==="vertical"?"vertical":"horizontal",[x,v]=V(E),[g,w]=V(Rt(r,o,s)),O=n==null?g:Rt(n,o,s);Q(()=>{n!=null&&w(Rt(n,o,s))},[n,o,s]),Q(()=>{v(t==="vertical"?"vertical":"horizontal")},[t]);let S=ae=>{let be=Rt(ae,o,s);n==null&&w(be),c==null||c(be)};Jt(y,()=>({setPosition:S,setMode:ae=>v(ae==="vertical"?"vertical":"horizontal"),getPosition:()=>O,getMode:()=>x}));let _=j(null),k=j({w:0,h:0});ve(()=>{let ae=_.current;if(!ae)return;let be=new ResizeObserver(()=>{let at=ae.getBoundingClientRect();k.current={w:at.width,h:at.height}});be.observe(ae);let Pt=ae.getBoundingClientRect();return k.current={w:Pt.width,h:Pt.height},()=>be.disconnect()},[]);let L=j(O),[C,z]=V(!1),te=()=>{z(!0),L.current=O},En=(ae,be,Pt)=>{let{w:at,h:Mr}=k.current;S(x==="horizontal"?L.current+ae/(at||1):L.current+be/(Mr||1))},vn=()=>z(!1),it=Ee.toArray(h),st=it[0],Nr=it[1],Se=O,Pr=x==="horizontal"?{position:"absolute",top:0,bottom:0,left:0,width:`calc(${Se} * (100% - ${a}px))`,overflow:"auto",...l||{}}:{position:"absolute",left:0,right:0,top:0,height:`calc(${Se} * (100% - ${a}px))`,overflow:"auto",...l||{}},Dr=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||{}},Tn={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.15)",zIndex:10},jr=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",...Tn,...d||{}}:{position:"absolute",left:0,right:0,top:`calc(${Se} * (100% - ${a}px))`,height:a,width:"100%",cursor:"row-resize",touchAction:"none",pointerEvents:"auto",...Tn,...d||{}};return createComponent("div",{ref:_,className:u,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...f||{}}},createComponent("div",{style:Pr},st),createComponent("div",{style:Dr},Nr),createComponent(Or,{onStart:te,onDelta:En,onEnd:vn,style:jr}))}),Rt=(e,t,n)=>Math.max(t,Math.min(n,e));var Di={},Ar={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){Di[e]=t,Ar[t]=e});function Lr(...e){if(typeof e=="number")return $r(e);let t="";for(let n=0;n<e.length;n+=1)t+=$r(e[n]);return t}function $r(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=Ar[n]}while(e>0);return t}var N={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},va=Symbol.for("LILACT:TRANSPILER_OUTPUT"),se,Ta=0;function P(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Mi(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 Dt(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Ki(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++}ue("Unterminated comment",r.begin)}function Fi(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
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 Nt(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Mi(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++}se("Unterminated comment",r.begin)}function Ui(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}}ue("Error in preprocessor statement",t)}function qi(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
- `);return eval(cmd),segments}function En(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!=="`"&&ue("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=D(Ce,e,t+1,!0,r),t--);break;case"\\":t++;break}t++}ue("Unterminated string",o.begin)}function Bi(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&&ue("Ill-formed xml (not closed properly)",t),n.end=c+1,n.cbegin=t+1,n.cend=o-2,c}else[o]=D(_n,e,o,n),o>s?(s=o,o--):s++;break;case"{":let a=o;[o]=D(Ce,e,o,!0,n),o--;break}o++}return s}function _n(e,t,n,r=!1){if(r){let u=["=",",","(","&","|","?",":","{","["],l=t;for(;--l>0;)if(` \r
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}}se("Error in preprocessor statement",t)}function Ki(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
+ `);return eval(cmd),segments}function wn(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!=="`"&&se("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=P(Te,e,t+1,!0,r),t--);break;case"\\":t++;break}t++}se("Unterminated string",o.begin)}function Bi(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&&se("Ill-formed xml (not closed properly)",t),n.end=c+1,n.cbegin=t+1,n.cend=o-2,c}else[o]=P(xn,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 xn(e,t,n,r=!1){if(r){let u=["=",",","(","&","|","?",":","{","["],l=t;for(;--l>0;)if(` \r
95
95
  `.indexOf(e[l])===-1){if(u.indexOf(e[l])!==-1||l>1&&e[l-1]==="="&&e[l]===">")break;if(l>=5&&e.slice(l-5,l+1)==="return"){if(l>5&&` \r
96
96
  {};)`.indexOf(e[l-6])===-1)return;break}if(l>=4&&(e.slice(l-4,l+1)==="yield"||e.slice(l-4,l+1)==="throw")){if(l>4&&` \r
97
97
  {};)`.indexOf(e[l-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 u=e.substring(t,c);switch(u.length&&(f=u,a.attributes[u]=!0),t=c,e[t]){case"=":if(f){for(t++,s();e[t]==="/";){let y=D(Dt,e,t);y[0]>t?t=y[0]:t++,s()}let h;switch(e[t]){case"'":case'"':[t,h]=D(En,e,t,e[t]),a.attributes[f]=h,f=void 0;break;case"{":[t,h]=D(Ce,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 l;[t,l]=D(Ce,e,t,!0),l.is_xml_js=!0,a.js_attributes.push(l);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=D(Dt,e,t);p[0]>t?t=p[0]:t++;break;case">":let d=Bi(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]=D(_n,e,t,r,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=D(En,e,t,o);break;case"{":[t]=D(Ce,e,t,!0,r);break;case"(":[t]=D(Pr,e,t,r);break;case"}":ue("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=D(Dt,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}ue("Unterminated paranthesis block",r.begin)}function Ce(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]=D(_n,e,t,o,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=D(En,e,t,s);break;case"{":{let a=t;[t]=D(Ce,e,t,!0,o);break}case"(":[t]=D(Pr,e,t,o);break;case")":ue("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;ue("Unmatched curly bracket",o.begin);break;case"/":{let[a]=D(Dt,e,t,o);a>t?t=a:t++;break}case N.preprocessorDelimiter:{let[a]=D(Fi,e,t,o);a>t?t=a:t++;break}case"\\":t++;default:t++}}return n&&ue("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Xi(e,t,n){e.already_labeled=!0;function r(c,f=1){for(;(c+=f)<e.children.length&&c>=0;){let u=e.children[c];if(typeof u=="string"){let l=u.trim();if(l.length)return[c,l]}if(typeof u=="object"&&u.type!=="comment")return[c,u]}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(u=>a.trim().endsWith(u))!==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 u=Be(t,c);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${u}:${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=Be(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 Ir(e){let t=[0];for(let n in e)e[n]===`
101
- `&&t.push(parseInt(n));return t.push(e.length),t}function Be(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 Wi(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 x of h.out)c(x);h.begin!==void 0&&h.out_index!==void 0&&s.push([...Be(r,h.out_index),...Be(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="",u=0,l=0,p=0,d=0;for(let h=0;h<s.length;h++){let y=s[h];for(;u<y[0];)l=0,f+=";",u++;f+=",",f+=Rr(y[1]-l,0,y[2]-p,y[3]-d),l=y[1],p=y[2],d=y[3]}return a.mappings=f.substring(1).replace(/;,/g,";"),`
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 u=e.substring(t,c);switch(u.length&&(f=u,a.attributes[u]=!0),t=c,e[t]){case"=":if(f){for(t++,s();e[t]==="/";){let y=P(Nt,e,t);y[0]>t?t=y[0]:t++,s()}let h;switch(e[t]){case"'":case'"':[t,h]=P(wn,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 l;[t,l]=P(Te,e,t,!0),l.is_xml_js=!0,a.js_attributes.push(l);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(Nt,e,t);p[0]>t?t=p[0]:t++;break;case">":let d=Bi(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 Ir(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(xn,e,t,r,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=P(wn,e,t,o);break;case"{":[t]=P(Te,e,t,!0,r);break;case"(":[t]=P(Ir,e,t,r);break;case"}":se("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(Nt,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}se("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(xn,e,t,o,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=P(wn,e,t,s);break;case"{":{let a=t;[t]=P(Te,e,t,!0,o);break}case"(":[t]=P(Ir,e,t,o);break;case")":se("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;se("Unmatched curly bracket",o.begin);break;case"/":{let[a]=P(Nt,e,t,o);a>t?t=a:t++;break}case N.preprocessorDelimiter:{let[a]=P(Ui,e,t,o);a>t?t=a:t++;break}case"\\":t++;default:t++}}return n&&se("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Fi(e,t,n){e.already_labeled=!0;function r(c,f=1){for(;(c+=f)<e.children.length&&c>=0;){let u=e.children[c];if(typeof u=="string"){let l=u.trim();if(l.length)return[c,l]}if(typeof u=="object"&&u.type!=="comment")return[c,u]}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(u=>a.trim().endsWith(u))!==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 u=Be(t,c);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${u}:${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=Be(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 Rr(e){let t=[0];for(let n in e)e[n]===`
101
+ `&&t.push(parseInt(n));return t.push(e.length),t}function Be(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 qi(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 E of h.out)c(E);h.begin!==void 0&&h.out_index!==void 0&&s.push([...Be(r,h.out_index),...Be(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="",u=0,l=0,p=0,d=0;for(let h=0;h<s.length;h++){let y=s[h];for(;u<y[0];)l=0,f+=";",u++;f+=",",f+=Lr(y[1]-l,0,y[2]-p,y[3]-d),l=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 vn(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 _,v;(_=N.preprocessorDelimiter)!=null||(N.preprocessorDelimiter="\u0294"),(v=N.injectTraceLabels)!=null||(N.injectTraceLabels=s);let u=Ir(e);ue=((g,w,C)=>{let S=new Error(w);throw S.name="JSXParseError",[S.lineNumber,S.columnNumber]=Be(g,C),S.fileName=r,S.lilact_trace="parse",S}).bind(null,u);let l=/([\{\}\(\),;\[\]\n]|[\s^\n]+)/g,p=Ce(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 S=0;S<g.children.length;S++){let E=g.children[S];if(E.begin>w){let T=e.substring(w,E.begin);g.type==="xml"&&(T=T.trim()),T.length&&(g.type==="xml"?g.children.splice(S,0,'"'+T.replaceAll(`
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,v;(x=N.preprocessorDelimiter)!=null||(N.preprocessorDelimiter="\u0294"),(v=N.injectTraceLabels)!=null||(N.injectTraceLabels=s);let u=Rr(e);se=((g,w,O)=>{let S=new Error(w);throw S.name="JSXParseError",[S.lineNumber,S.columnNumber]=Be(g,O),S.fileName=r,S.lilact_trace="parse",S}).bind(null,u);let l=/([\{\}\(\),;\[\]\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 S=0;S<g.children.length;S++){let _=g.children[S];if(_.begin>w){let k=e.substring(w,_.begin);g.type==="xml"&&(k=k.trim()),k.length&&(g.type==="xml"?g.children.splice(S,0,'"'+k.replaceAll(`
104
104
  `,`\\
105
- `).replaceAll('"','\\"')+'"'):g.children.splice(S,0,...T.split(l)),S++)}w=E.end,d(E)}let C=g.type==="js"?g.end:g.cend||g.end;if(w<C&&!g.self_closing){let S=e.substring(w,C);g.type==="xml"&&(S=S.trim()),S.length&&(g.type==="xml"?g.children.push('"'+S.replace(/[\\\"\n]/g,E=>({"\\":"\\\\",'"':'\\"',"\n":`\\
106
- `})[E])+'"'):g.children.push(...S.split(l)))}g.children=g.children.filter(S=>S!==""),N.setBlockLabels&&!g.already_labeled&&Xi(g,u,c)}};d(p),qi(p);let h=(g,w,C=!1,S=!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||C?"":e.substring(w.begin,w.end);if(w.type==="directive")return w.value;if(w.type==="paranthesis"){let E="(";if(w.out)for(let T of w.out)E+=h(g+E.length-1,T);return E+")"}if(w.type==="js"){let E="";if(w.out)for(let T of w.out)S&&T.type==="comment"||(E+=h(g+E.length-(C?1:0),T));return C?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="",T=!0;for(let O of w.js_attributes){let q=h(g+E.length,O,!1);E+=`${T?"":", "}${q}`,T=!1}if(w.attributes)for(let O in w.attributes)E+=`${T?"":", "}"${O}": ${h(g+E.length,w.attributes[O],!0)}`,T=!1;if(E+=" }",w.out)for(let O of w.out){let q=h(g+E.length,O,!0,!0);q.length>0&&(E+=`, ${q}`,T=!1)}let R=Be(u,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 x=Wi(p,r,u,Ir(y),f);return o&&(y+=x),y}var Oe={VERSION:"beta.16",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...Zt,...nn,...Qt,...tn,...un,...fn,...sn,...ln,...pn,...bn,...xn,transpileJSX:vn,transpilerConfig:N,PropTypes:Qe,redux:qt,emotion:Je};globalThis.Lilact=Oe;globalThis.createComponent=Oe.createComponent;globalThis.Fragment=Oe.Fragment;document.addEventListener("DOMContentLoaded",()=>{Oe.runScripts()});window.addEventListener("error",e=>{Oe.globalErrorHandler(e)});console.log(`Lilact (Version: ${Oe.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");var k=Oe;export{Er as CSSTransition,Te as Children,ge as Component,Di as DragHandle,wn as ErrorBoundary,fr as Fragment,nt as HTMLComponent,Oi as HashRouter,Oe as Lilact,$i as Link,Ai as NavLink,Qe as PropTypes,gi as Provider,St as RootComponent,Ii as Route,$r as Routes,Ni as Spinner,ji as SplitPane,Nt as Suspense,pi as SwitchTransition,xr as Transition,di as TransitionGroup,yi as addWrappedEventListener,fi as animationFramePromise,Ti as blocks_info,gr as boolean_html_attributes_set,Ot as capture_events_set,ai as clearInterval,oe as clearTimeout,xi as combineReducers,wi as connect,dr as createComponent,Ke as createContext,Ko as createElement,hr as createRoot,_r as createSyntheticEvent,Fo as current_component,Gt as deepEqual,k as default,Je as emotion,Si as error,Po as eval_num,Ct as events_set,Co as findDOMNode,Ht as forwardRef,Oo as getComponentByPointer,ki as globalErrorHandler,ci as grabTimers,Io as id_num,$o as isAsync,vt as isClass,Q as isEmpty,Ao as isError,kt as isThenable,So as isValidElement,Wo as layout_effects,Zo as lazy,yr as length_css_attributes_set,oi as pauseTimers,qt as redux,vr as releaseSyntheticEvent,ui as releaseTimers,Uo as render,wr as require,ce as required_scripts,ri as resetTimers,ii as resumeTimers,Xo as roots,ot as run,Qo as runScripts,vi as scanBlockLabels,si as setInterval,xe as setTimeout,me as shallowEqual,mr as special_attributes,li as timeoutPromise,Tt as toBool,Or as traceError,vn as transpileJSX,N as transpilerConfig,Bo as update_cbs,Ro as update_interval_margin,qo as update_set,Lo as update_timeout,zo as useActionState,ae as useCallback,Fe as useContext,Ho as useDeferredValue,bi as useDispatch,re as useEffect,ne as useHook,Vo as useId,en as useImperativeHandle,Se as useLayoutEffect,Yo as useLocalStorage,yn as useLocation,rt as useMemo,gn as useNavigate,Go as useReducer,U as useRef,Tr as useSelector,ee as useState,Rt as useStore,br as useTransition,kr as wrapListener};
105
+ `).replaceAll('"','\\"')+'"'):g.children.splice(S,0,...k.split(l)),S++)}w=_.end,d(_)}let O=g.type==="js"?g.end:g.cend||g.end;if(w<O&&!g.self_closing){let S=e.substring(w,O);g.type==="xml"&&(S=S.trim()),S.length&&(g.type==="xml"?g.children.push('"'+S.replace(/[\\\"\n]/g,_=>({"\\":"\\\\",'"':'\\"',"\n":`\\
106
+ `})[_])+'"'):g.children.push(...S.split(l)))}g.children=g.children.filter(S=>S!==""),N.setBlockLabels&&!g.already_labeled&&Fi(g,u,c)}};d(p),Ki(p);let h=(g,w,O=!1,S=!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 _="(";if(w.out)for(let k of w.out)_+=h(g+_.length-1,k);return _+")"}if(w.type==="js"){let _="";if(w.out)for(let k of w.out)S&&k.type==="comment"||(_+=h(g+_.length-(O?1:0),k));return O?_.substring(1,_.length-1):w!=null&&w.is_xml_js?e.substring(w.begin+1,w.end-1):_}if(w.type==="xml"){w.tag.length===0?w.tag=n:w.tag[0]!==w.tag[0].toUpperCase()&&(w.tag=`"${w.tag}"`);let _="",k=!0;for(let C of w.js_attributes){let z=h(g+_.length,C,!1);_+=`${k?"":", "}${z}`,k=!1}if(w.attributes)for(let C in w.attributes)_+=`${k?"":", "}"${C}": ${h(g+_.length,w.attributes[C],!0)}`,k=!1;if(_+=" }",w.out)for(let C of w.out){let z=h(g+_.length,C,!0,!0);z.length>0&&(_+=`, ${z}`,k=!1)}let L=Be(u,w.begin);return _=` ${t}( ${w.tag}, { ${_} )`,_}},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 E=qi(p,r,u,Rr(y),f);return o&&(y+=E),y}var ke={VERSION:"beta.16",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...zt,...en,...Ht,...Qt,...an,...un,...rn,...cn,...ln,...yn,...bn,transpileJSX:_n,transpilerConfig:N,PropTypes:Ge,redux:Ut,emotion:ze};globalThis.Lilact=ke;globalThis.createComponent=ke.createComponent;globalThis.Fragment=ke.Fragment;document.addEventListener("DOMContentLoaded",()=>{ke.runScripts()});window.addEventListener("error",e=>{ke.globalErrorHandler(e)});console.log(`Lilact (Version: ${ke.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");var T=ke;export{wr as CSSTransition,Ee as Children,he as Component,Or as DragHandle,gn as ErrorBoundary,ur as Fragment,Je as HTMLComponent,Ci as HashRouter,ke as Lilact,Oi as Link,$i as NavLink,Ge as PropTypes,yi as Provider,Tt as RootComponent,Ri as Route,Cr as Routes,Ni as Spinner,Pi as SplitPane,It as Suspense,fi as SwitchTransition,br as Transition,pi as TransitionGroup,mi as addWrappedEventListener,li as animationFramePromise,Ti as blocks_info,mr as boolean_html_attributes_set,St as capture_events_set,si as clearInterval,ee as clearTimeout,wi as combineReducers,bi as connect,fr as createComponent,Me as createContext,Uo as createElement,pr as createRoot,xr as createSyntheticEvent,Ko as current_component,Vt as deepEqual,T as default,ze as emotion,ki as error,Io as eval_num,kt as events_set,So as findDOMNode,Yt as forwardRef,Co as getComponentByPointer,vi as globalErrorHandler,ai as grabTimers,Ro as id_num,Oo as isAsync,_t as isClass,H as isEmpty,$o as isError,Et as isThenable,ko as isValidElement,Wo as layout_effects,Ho as lazy,hr as length_css_attributes_set,ri as pauseTimers,Ut as redux,_r as releaseSyntheticEvent,ci as releaseTimers,Mo as render,gr as require,ie as required_scripts,ni as resetTimers,oi as resumeTimers,qo as roots,Qe as run,Jo as runScripts,Ei as scanBlockLabels,ii as setInterval,ge as setTimeout,pe as shallowEqual,dr as special_attributes,ui as timeoutPromise,vt as toBool,Sr as traceError,_n as transpileJSX,N as transpilerConfig,Fo as update_cbs,Lo as update_interval_margin,Bo as update_set,Ao as update_timeout,Yo as useActionState,oe as useCallback,Ue as useContext,Go as useDeferredValue,gi as useDispatch,Q as useEffect,J as useHook,Xo as useId,Jt as useImperativeHandle,ve as useLayoutEffect,Vo as useLocalStorage,hn as useLocation,Zt as useMemo,mn as useNavigate,zo as useReducer,j as useRef,vr as useSelector,V as useState,At as useStore,yr as useTransition,Er as wrapListener};
107
107
  //# sourceMappingURL=lilact.development.min.js.map