lilact 0.5.1 → 0.5.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.
- package/dist/lilact.development.min.js +1 -1
- package/dist/lilact.development.min.js.map +1 -1
- package/dist/lilact.production.min.js +1 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +8 -8
- package/docs/classes/accessories.Suspense.html +7 -7
- package/docs/classes/components.Component.html +10 -10
- package/docs/classes/components.HTMLComponent.html +10 -10
- package/docs/classes/components.RootComponent.html +10 -10
- package/docs/functions/components.createComponent.html +1 -1
- package/docs/functions/components.createRoot.html +1 -1
- package/docs/functions/components.render.html +1 -1
- package/docs/functions/errors.globalErrorHandler.html +1 -1
- package/docs/functions/errors.traceError.html +2 -2
- package/docs/functions/misc.Fragment.html +1 -1
- package/docs/functions/misc.classNames.html +1 -1
- package/docs/functions/misc.deepEqual.html +1 -1
- package/docs/functions/misc.getComponentByPointer.html +1 -1
- package/docs/functions/misc.isAsync.html +1 -1
- package/docs/functions/misc.isClass.html +1 -1
- package/docs/functions/misc.isEmpty.html +1 -1
- package/docs/functions/misc.isError.html +1 -1
- package/docs/functions/misc.isThenable.html +1 -1
- package/docs/functions/misc.shallowEqual.html +1 -1
- package/docs/functions/misc.toBool.html +1 -1
- package/docs/functions/run.lazy.html +1 -1
- package/docs/functions/run.require.html +1 -1
- package/docs/functions/run.runScripts.html +1 -1
- package/{root/demos/error-3.jsx → docs/static/demos/error-callback.jsx} +9 -9
- package/docs/static/demos/error-component-stack.jsx +39 -0
- package/docs/static/demos/form-elements.jsx +9 -9
- package/docs/static/icon.png +0 -0
- package/docs/static/index.html +25 -21
- package/docs/static/lilact.development.min.js +1 -1
- package/docs/static/lilact.production.min.js +1 -1
- package/docs/variables/misc.Children.html +2 -2
- package/package.json +1 -1
- package/{docs/static/demos/error-3.jsx → root/demos/error-callback.jsx} +9 -9
- package/root/demos/error-component-stack.jsx +39 -0
- package/root/demos/form-elements.jsx +9 -9
- package/root/icon.png +0 -0
- package/root/index.html +25 -21
- package/root/lilact.development.min.js +1 -1
- package/root/lilact.production.min.js +1 -1
- package/src/components.jsx +3 -7
- package/src/errors.jsx +19 -11
- package/src/jsx.js +2 -2
- package/src/misc.jsx +0 -3
- package/src/run.jsx +0 -1
- package/root/demos/error-2.jsx +0 -7
- package/root/demos/error-4.jsx +0 -7
- /package/docs/static/demos/{error-2.jsx → error-init.jsx} +0 -0
- /package/docs/static/demos/{error-1.jsx → error-parser.jsx} +0 -0
- /package/{docs/static/demos/error-4.jsx → root/demos/error-init.jsx} +0 -0
- /package/root/demos/{error-1.jsx → error-parser.jsx} +0 -0
|
@@ -59,5 +59,5 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
59
59
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
60
60
|
|
|
61
61
|
*/
|
|
62
|
-
var __webpack_modules__={207:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{B:()=>transpilerConfig,Y:()=>transpileJSX});var _jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(862),_vlq_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(919);const transpilerConfig={addons:_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__,setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"ʔ"},TRANSPILER_OUTPUT=Symbol.for("LILACT:TRANSPILER_OUTPUT");let raiseError,tab=0;function lookAhead(e,t,n,...r){const o=e(t,n,...r);return o?[o.end,o]:[n]}function parseRegex(e,t,n){let r=t;const o=`;=,([{}!^~&|:?*-+\\/<>${transpilerConfig.preprocessorDelimiter}`;for(;--r>0;)if(-1===" \t\n\r".indexOf(e[r])){if(-1!==o.indexOf(e[r]))break;return}const i={type:"regex",begin:t++};for(;t<e.length;)switch(e[t]){case"\n":return;case"/":return i.end=t+1,n&&n.children.push(i),i;case"\\":t++;default:t++}}function parseComment(e,t,n){const r={type:"comment",begin:t++};if("*"!==e[t]&&"/"!==e[t])return parseRegex(e,t-1,n);const 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"\n":if(!o)return r.end=t+1,n&&n.children.push(r),r}t++}raiseError("Unterminated comment",r.begin)}function parseDirective(e,t,n){let r=t+1;for(;e[r]&&"\n"!==e[r]&&e[r]!==transpilerConfig.preprocessorDelimiter||"\\"===e[r-1];)r++;if(e[r]===transpilerConfig.preprocessorDelimiter){const o={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(o),o}{let o=t;for(;o-- >=0&&(" "===e[o]||"\t"===e[o]););if(-1===o||"\n"===e[o]){const o={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(o),o}}raiseError("Error in preprocessor statement",t)}function preprocessPragmas(node,context){const all_nodes=[];var segments=["const {"+Object.keys(_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__).join(", ")+"} = transpilerConfig.addons;"],scope_stack=[],last_block=null;const clone_block=(e,t)=>("directive"===(last_block="object"==typeof all_nodes[e]?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e]).type&&(last_block.value=t),scope_stack[0].out??=[],scope_stack[0].out.push(last_block),last_block),clone_attr=(e,t)=>(last_block="object"==typeof all_nodes[e]?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("object"!=typeof e)return segments;if(segments.push("push_scope();"),e.attributes)for(const t in e.attributes){const n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(const t of e.children)all_nodes.push(t),"directive"===t.type&&void 0===t.expression?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);const cmd=segments.join("\n");return eval(cmd),segments}function parseString(e,t,n,r){const 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"\n":"`"!==n&&raiseError("Unterminated string",o.begin);break;case"$":"`"===n&&"{"===e[++t]&&([t]=lookAhead(parseJS,e,t,!0,r),t--);break;case"\\":t++}t++}raiseError("Unterminated string",o.begin)}function parseXMLContent(e,t,n,r){let o=t,i=t;for(;o<e.length;){switch(e[o]){case"<":if("/"===e[o+1]){o+=2;let r=o;for(;r<e.length&&">"!==e[r];)r++;if(r===e.length)return null;const i=e.substring(o,r).trim();return n.tag!==i&&raiseError("Ill-formed xml (not closed properly)",t),n.end=r+1,n.cbegin=t+1,n.cend=o-2,r}[o]=lookAhead(parseXML,e,o,n),o>i?(i=o,o--):i++;break;case"{":[o]=lookAhead(parseJS,e,o,!0,n),o--}o++}return i}function parseXML(e,t,n){const r=[" ","\t","\n","/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],o=()=>{for(;" "===e[t]||"\t"===e[t]||"\n"===e[t];)t++},i={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};o();let a,s=t;for(;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s!==e.length)for(i.tag=e.substring(t,s),t=s;t<e.length;){for(s=t;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s===e.length)return;const c=e.substring(t,s);switch(c.length&&(a=c,i.attributes[c]=!0),t=s,e[t]){case"=":if(!a)return;{let n;switch(t++,o(),"/"===e[t]&&([c]=lookAhead(parseComment,e,t),c>t?t=c:t++),e[t]){case"'":case'"':[t,n]=lookAhead(parseString,e,t,e[t]),i.attributes[a]=n,a=void 0;break;case"{":[t,n]=lookAhead(parseJS,e,t,!0),i.attributes[a]=n,a=void 0;break;default:{for(c=t;c<e.length&&-1===r.indexOf(e[c]);)c++;if(c===e.length)return;const n=e.substring(t,c);t=c,i.attributes[a]=n,a=void 0}}}break;case"{":let s;[t,s]=lookAhead(parseJS,e,t,!0),s.is_xml_js=!0,i.js_attributes.push(s);break;case"/":if(">"===e[t+1])return i.end=t+2,i.cbegin=i.begin,i.cend=i.end,i.self_closing=!0,n&&n.children.push(i),i;[c]=lookAhead(parseComment,e,t),c>t?t=c:t++;break;case">":const c=parseXMLContent(e,t,i);if(null===c)return;if(c>t?t=c:t++,i.end)return n&&n.children.push(i),i;t++;break;case" ":case"\t":case"\n":o();break;default:return}}}function parseParanthesis(e,t,n){const r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){const o=e[t];switch(o){case"<":{let[n]=lookAhead(parseXML,e,t,r);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,o);break;case"{":[t]=lookAhead(parseJS,e,t,!0,r);break;case"(":[t]=lookAhead(parseParanthesis,e,t,r);break;case"}":raiseError("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":const[i]=lookAhead(parseComment,e,t,r);i>t?t=i:t++;break;case"\\":t++;default:t++}}raiseError("Unterminated paranthesis block",r.begin)}function parseJS(e,t=0,n=!1,r){const o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){const i=e[t];switch(i){case"<":{let[n]=lookAhead(parseXML,e,t,o);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,i);break;case"{":[t]=lookAhead(parseJS,e,t,!0,o);break;case"(":[t]=lookAhead(parseParanthesis,e,t,o);break;case")":raiseError("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;raiseError("Unmatched curly bracket",o.begin);break;case"/":{let[n]=lookAhead(parseComment,e,t,o);n>t?t=n:t++;break}case transpilerConfig.preprocessorDelimiter:{let[n]=lookAhead(parseDirective,e,t,o);n>t?t=n:t++;break}case"\\":t++;default:t++}}return n&&raiseError("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function labelFunctions(e,t,n){function r(t,n=1){for(;(t+=n)<e.children.length&&t>=0;){const n=e.children[t];if("string"==typeof n){const e=n.trim();if(e.length)return[t,e]}if("object"==typeof n&&"comment"!==n.type)return[t,n]}return[null,null]}let o,i,a;e.already_labeled=!0;for(let s=0;s<e.children.length;s++)if("object"==typeof e.children[s]&&"paranthesis"===e.children[s].type){if([o,a]=r(s,-1),null===a)continue;if("string"!=typeof a||void 0!==["switch","catch","try","class"].find(e=>a.trim().endsWith(e)))continue;let e=a;if([o,a]=r(o,-1),null===a)continue;if("string"==typeof a&&-1!==["extern","class"].indexOf(a))continue;if([o,i]=r(s),null===i)continue;if(transpilerConfig.injectTraceLabels&&"object"==typeof i&&"js"===i.type){const r=getRowCol(t,s);i.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${r}:${e}*/try{`),transpilerConfig.enableLabelStack?i.children.splice(i.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):i.children.splice(i.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),s+=2}}else if("=>"===e.children[s]&&([o,a]=r(s,-1),"object"==typeof a&&"paranthesis"===a.type)){const e=getRowCol(t,a.begin);[o,i]=r(s),"object"==typeof i&&"js"===i.type&&(transpilerConfig.injectTraceLabels&&(i.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${e}:<ARROW>*/try {`),transpilerConfig.enableLabelStack?i.children.splice(i.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):i.children.splice(i.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),s+=2)}}function scanEOLs(e){const t=[0];for(let n in e)"\n"===e[n]&&t.push(parseInt(n));return t.push(e.length),t}function getRowCol(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 generateSourceMap(e,t,n,r,o=[]){let i=[];const a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},s=e=>{if(e.out?.length>0)for(const t of e.out)s(t);void 0!==e.begin&&void 0!==e.out_index&&i.push([...getRowCol(r,e.out_index),...getRowCol(n,e.begin),e])};s(e),i=i.sort((e,t)=>e[0]==t[0]?e[1]-t[1]:e[0]-t[0]),o.push(...i);let c="",l=0,u=0,p=0,d=0;for(let e=0;e<i.length;e++){const t=i[e];for(;l<t[0];)u=0,c+=";",l++;c+=",",c+=_vlq_js__WEBPACK_IMPORTED_MODULE_1__.l(t[1]-u,0,t[2]-p,t[3]-d),u=t[1],p=t[2],d=t[3]}return a.mappings=c.substring(1).replace(/;,/g,";"),"\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(JSON.stringify(a))}function transpileJSX(e,{factory:t="Lilact.createComponent",path:n="anonymous",appendSourcemap:r=!0,blocks_info:o={labels:{},counter:0},mappings:i=[],injectTraceLabels:a=!1,discardComments:s=!1}={}){transpilerConfig.preprocessorDelimiter??="ʔ",transpilerConfig.injectTraceLabels??=a;const c=scanEOLs(e);raiseError=((e,t,r)=>{const o=new Error(t);throw o.name="JSXParseError",[o.lineNumber,o.columnNumber]=getRowCol(e,r),o.fileName=n,o.lilact_trace="parse",o}).bind(null,c);const l=/([\{\}\(\),;\[\]\n]|[\s^\n]+)/g,u=parseJS(e);u.data=e;const p=t=>{if(void 0!==t.attributes)for(const e in t.attributes)"object"==typeof t.attributes[e]&&p(t.attributes[e]);if(void 0!==t.children&&!t.self_closing){let n="js"===t.type?t.begin:t.cbegin||t.begin;for(let r=0;r<t.children.length;r++){const o=t.children[r];if(o.begin>n){let i=e.substring(n,o.begin);"xml"===t.type&&(i=i.trim()),i.length&&("xml"===t.type?t.children.splice(r,0,'"'+i.replaceAll("\n","\\\n")+'"'):t.children.splice(r,0,...i.split(l)),r++)}n=o.end,p(o)}const r="js"===t.type?t.end:t.cend||t.end;if(n<r&&!t.self_closing){let o=e.substring(n,r);"xml"===t.type&&(o=o.trim()),o.length&&("xml"===t.type?t.children.push('"'+o.replace(/[\\\"\n]/g,e=>({"\\":"\\\\",'"':'\\"',"\n":"\\\n"}[e]))+'"'):t.children.push(...o.split(l)))}t.children=t.children.filter(e=>""!==e),transpilerConfig.setBlockLabels&&!t.already_labeled&&labelFunctions(t,c,o)}};p(u),preprocessPragmas(u);const d=(n,r,o=!1,i=!1)=>{if("object"!=typeof r)return r;if(r.out_index=n,"string"===r.type)return e.substring(r.begin,r.end);if("regex"===r.type)return e.substring(r.begin,r.end);if("comment"===r.type)return s||o?"":e.substring(r.begin,r.end);if("directive"===r.type)return r.value;if("paranthesis"===r.type){let e="(";if(r.out)for(const t of r.out)e+=d(n+e.length-1,t);return e+")"}if("js"===r.type){let t="";if(r.out)for(const e of r.out)i&&"comment"===e.type||(t+=d(n+t.length-(o?1:0),e));return o?t.substring(1,t.length-1):r?.is_xml_js?e.substring(r.begin+1,r.end-1):t}if("xml"===r.type){0===r.tag.length?r.tag="null":r.tag[0]!==r.tag[0].toUpperCase()&&(r.tag=`"${r.tag}"`);let e="",o=!0;for(const t of r.js_attributes)e+=`${o?"":", "}${d(n+e.length,t,!1)}`,o=!1;if(r.attributes)for(const t in r.attributes)e+=`${o?"":", "}"${t}": ${d(n+e.length,r.attributes[t],!0)}`,o=!1;if(e+=" }",r.out)for(const t of r.out){const r=d(n+e.length,t,!0,!0);r.length>0&&(e+=`, ${r}`,o=!1)}return getRowCol(c,r.begin),e=`${t}( ${r.tag}, { ${e} )`,e}};let h="";a&&(h=`/*LILACTBLOCK${++o.counter}:0,0:<EXEC>*/try{`),h+=d(0,u),a&&(transpilerConfig.enableLabelStack?h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${o.counter},e.lilact_trace];throw e}`:h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${o.counter};throw e}`);const f=generateSourceMap(u,n,c,scanEOLs(h),i);if(r&&(h+=f),globalThis[TRANSPILER_OUTPUT]){try{Promise.resolve().then(function(){var e=new Error("Cannot find module 'fs'");throw e.code="MODULE_NOT_FOUND",e}).writeFileSync(globalThis[TRANSPILER_OUTPUT],h)}catch(e){}globalThis[TRANSPILER_OUTPUT]=void 0}return h}},556:(e,t,n)=>{e.exports=n(694)()},694:(e,t,n)=>{var r=n(925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},861:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{lazy:()=>lazy,require:()=>require,run:()=>run,runScripts:()=>runScripts});var _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(969);const[CORE,COMPONENT,LAZY]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:LAZY")];function run(jsx,path=`<string input ${++_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.eval_num}>`,is_inline=!0){const mappings=[],module={};let processed;_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.required_scripts[path]={mappings,module,is_inline,path,code:jsx};try{processed=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.transpileJSX(jsx,{path,mappings,factory:"Lilact.createComponent",append_sourcemap:!is_inline,blocks_info:_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.blocks_info,injectTraceLabels:!0})}catch(e){throw _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.error=e,e}_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.scanBlockLabels(processed,path);try{globalThis.Lilact=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A;const res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.traceError(e),e}}function require(e,t){if("#"===e[0]){const t=document.getElementById(e);if(t)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.innerText,e)}else{if(_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A?.[LAZY])return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A[LAZY]=!1,fetch(e).then(e=>{if(!e.ok)throw new Error(`HTTP ${e.status}`);return e.text()}).then(t=>(t=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t,e,!1),t?.default??t)).catch(e=>{throw e});{const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(null),200===t.status)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.responseText,e,!1)}}throw`required resource not found (${e})`}function lazy(e){let t,n="pending";return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A[LAZY]=!0,t=e(),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.isThenable(t)&&t.then(e=>(n="success",t=e,t),e=>{throw n="error",t=e,e}),function(e){if("pending"===n)throw t;if("error"===n)throw t;const r=t;return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.createComponent(r,{...e})}}function scanScriptTagsWithType(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(e=>({src:e.getAttribute("src")??null,content:e.textContent??""}))}function runScripts(){const e=scanScriptTagsWithType();for(const t of e)t.src&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.require(t.src),t.content&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.content)}},862:(e,t,n)=>{n.r(t),n.d(t,{defineSymbols:()=>o,outputJS:()=>a,quote:()=>i});const r=Symbol.for("LILACT:TRANSPILER_OUTPUT");function o(e,t){void 0===t?(t=e,e=""):e+=":";const n=[],r=[];if(t instanceof Array){if(""!==e){"string"!=typeof e&&(e="");for(let o of t)r.push(o),n.push(`Symbol.for('${e}${o}')`)}else for(const e of t)r.push(e),n.push("Symbol()");return`const [${r.join(",")}]=[${n.join(",")}];`}}const i=e=>`"${String(e).replace(/(["\n])/g,"\\$1")}"`;function a(e){globalThis[r]=e}},919:(e,t,n)=>{n.d(t,{l:()=>i});let r={},o={};function i(...e){if("number"==typeof e)return a(e);let t="";for(let n=0;n<e.length;n+=1)t+=a(e[n]);return t}function a(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=31&e;(e>>>=5)>0&&(n|=32),t+=o[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,o[t]=e})},925:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},969:(e,t,n)=>{n.d(t,{I:()=>Gr,A:()=>Zr});var r={};n.r(r),n.d(r,{__DO_NOT_USE__ActionTypes:()=>b,applyMiddleware:()=>x,bindActionCreators:()=>k,combineReducers:()=>L,compose:()=>T,createStore:()=>v,isAction:()=>C,isPlainObject:()=>y,legacy_createStore:()=>w});var o={};n.r(o),n.d(o,{cache:()=>et,css:()=>Ve,cx:()=>Je,flush:()=>ze,getRegisteredStyles:()=>Ge,hydrate:()=>He,injectGlobal:()=>Ze,keyframes:()=>Ye,merge:()=>Xe,sheet:()=>Qe});var i={};n.r(i),n.d(i,{Children:()=>ut,Fragment:()=>lt,boolean_html_attributes_set:()=>It,classNames:()=>dt,current_component:()=>Tt,deepEqual:()=>mt,eval_num:()=>kt,events_set:()=>Pt,findDOMNode:()=>ct,getComponentByPointer:()=>pt,id_num:()=>Et,isAsync:()=>gt,isClass:()=>_t,isEmpty:()=>ht,isError:()=>yt,isThenable:()=>bt,isValidElement:()=>st,layout_effects:()=>At,length_css_attributes_set:()=>Dt,required_scripts:()=>wt,roots:()=>St,shallowEqual:()=>ft,special_attributes:()=>Ot,toBool:()=>vt,update_cbs:()=>Ct,update_interval_margin:()=>Lt,update_set:()=>xt,update_timeout:()=>{}});var a={};n.r(a),n.d(a,{Component:()=>Jt,HTMLComponent:()=>Xt,RootComponent:()=>Gt,createComponent:()=>Zt,createElement:()=>Qt,createRoot:()=>Yt,render:()=>Vt});var s={};n.r(s),n.d(s,{createContext:()=>an,forwardRef:()=>bn,useActionState:()=>mn,useCallback:()=>on,useContext:()=>sn,useDeferredValue:()=>gn,useEffect:()=>hn,useHook:()=>nn,useId:()=>cn,useImperativeHandle:()=>yn,useLayoutEffect:()=>dn,useLocalStorage:()=>un,useMemo:()=>fn,useReducer:()=>_n,useRef:()=>pn,useState:()=>rn,useTransition:()=>ln});var c={};n.r(c),n.d(c,{animationFramePromise:()=>Zn,clearInterval:()=>Hn,clearTimeout:()=>zn,grabTimers:()=>Jn,pauseTimers:()=>Wn,releaseTimers:()=>Xn,resetTimers:()=>Bn,resumeTimers:()=>qn,setInterval:()=>Fn,setTimeout:()=>Kn,timeoutPromise:()=>Gn});var l={};n.r(l),n.d(l,{CSSTransition:()=>ar,Transition:()=>ir,TransitionGroup:()=>sr});var u={};n.r(u),n.d(u,{addWrappedEventListener:()=>hr,createSyntheticEvent:()=>ur,releaseSyntheticEvent:()=>pr,wrapListener:()=>dr});var p={};n.r(p),n.d(p,{Provider:()=>_r,combineReducers:()=>wr,connect:()=>vr,useDispatch:()=>br,useSelector:()=>yr,useStore:()=>gr});var d={};n.r(d),n.d(d,{blocks_info:()=>Cr,error:()=>Sr,getErrorLocation:()=>Lr,globalErrorHandler:()=>xr,mapLocation:()=>Er,scanBlockLabels:()=>kr,traceError:()=>Tr});var h={};n.r(h),n.d(h,{HashRouter:()=>jr,Link:()=>Nr,NavLink:()=>Ur,Route:()=>Wr,Routes:()=>qr,useLocation:()=>Rr,useNavigate:()=>Mr});var f={};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. `}n.r(f),n.d(f,{ErrorBoundary:()=>Fr,Spinner:()=>Kr,Suspense:()=>zr});var _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),g=()=>Math.random().toString(36).substring(7).split("").join("."),b={INIT:`@@redux/INIT${g()}`,REPLACE:`@@redux/REPLACE${g()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${g()}`};function y(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function v(e,t,n){if("function"!=typeof e)throw new Error(m(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(m(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(m(1));return n(v)(e,t)}let r=e,o=t,i=new Map,a=i,s=0,c=!1;function l(){a===i&&(a=new Map,i.forEach((e,t)=>{a.set(t,e)}))}function u(){if(c)throw new Error(m(3));return o}function p(e){if("function"!=typeof e)throw new Error(m(4));if(c)throw new Error(m(5));let t=!0;l();const n=s++;return a.set(n,e),function(){if(t){if(c)throw new Error(m(6));t=!1,l(),a.delete(n),i=null}}}function d(e){if(!y(e))throw new Error(m(7));if(void 0===e.type)throw new Error(m(8));if("string"!=typeof e.type)throw new Error(m(17));if(c)throw new Error(m(9));try{c=!0,o=r(o,e)}finally{c=!1}return(i=a).forEach(e=>{e()}),e}return d({type:b.INIT}),{dispatch:d,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(m(10));r=e,d({type:b.REPLACE})},[_]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(m(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[_](){return this}}}}}function w(e,t,n){return v(e,t,n)}function L(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o;try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:b.INIT}))throw new Error(m(12));if(void 0===n(void 0,{type:b.PROBE_UNKNOWN_ACTION()}))throw new Error(m(13))})}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const a={};for(let o=0;o<r.length;o++){const s=r[o],c=n[s],l=e[s],u=c(l,t);if(void 0===u)throw t&&t.type,new Error(m(14));a[s]=u,i=i||u!==l}return i=i||r.length!==Object.keys(e).length,i?a:e}}function E(e,t){return function(...n){return t(e.apply(this,n))}}function k(e,t){if("function"==typeof e)return E(e,t);if("object"!=typeof e||null===e)throw new Error(m(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=E(o,t))}return n}function T(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function x(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(m(15))};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(a));return i=T(...s)(o.dispatch),{...o,dispatch:i}}}function C(e){return y(e)&&"type"in e&&"string"==typeof e.type}var S=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),A=Math.abs,O=String.fromCharCode,P=Object.assign;function D(e){return e.trim()}function I(e,t,n){return e.replace(t,n)}function j(e,t){return e.indexOf(t)}function R(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function $(e){return e.length}function U(e,t){return t.push(e),e}var B=1,W=1,q=0,K=0,F=0,z="";function H(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:B,column:W,length:a,return:""}}function J(e,t){return P(H("",null,null,"",null,null,0),e,{length:-e.length},t)}function X(){return F=K>0?R(z,--K):0,W--,10===F&&(W=1,B--),F}function G(){return F=K<q?R(z,K++):0,W++,10===F&&(W=1,B++),F}function Z(){return R(z,K)}function Y(){return K}function V(e,t){return M(z,e,t)}function Q(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 ee(e){return B=W=1,q=N(z=e),K=0,[]}function te(e){return z="",e}function ne(e){return D(V(K-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(F=Z())&&F<33;)G();return Q(e)>2||Q(F)>3?"":" "}function oe(e,t){for(;--t&&G()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return V(e,Y()+(t<6&&32==Z()&&32==G()))}function ie(e){for(;G();)switch(F){case e:return K;case 34:case 39:34!==e&&39!==e&&ie(F);break;case 40:41===e&&ie(e);break;case 92:G()}return K}function ae(e,t){for(;G()&&e+F!==57&&(e+F!==84||47!==Z()););return"/*"+V(t,K-1)+"*"+O(47===e?e:G())}function se(e){for(;!Q(Z());)G();return V(e,K)}var ce="-ms-",le="-moz-",ue="-webkit-",pe="comm",de="rule",he="decl",fe="@keyframes";function me(e,t){for(var n="",r=$(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function _e(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case he:return e.return=e.return||e.value;case pe:return"";case fe:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return N(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,p=a,d=0,h=0,f=0,m=1,_=1,g=1,b=0,y="",v=o,w=i,L=r,E=y;_;)switch(f=b,b=G()){case 40:if(108!=f&&58==R(E,p-1)){-1!=j(E+=I(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=ne(b);break;case 9:case 10:case 13:case 32:E+=re(f);break;case 92:E+=oe(Y()-1,7);continue;case 47:switch(Z()){case 42:case 47:U(ve(ae(G(),Y()),t,n),c);break;default:E+="/"}break;case 123*m:s[l++]=N(E)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+u:-1==g&&(E=I(E,/\f/g,"")),h>0&&N(E)-p&&U(h>32?we(E+";",r,n,p-1):we(I(E," ","")+";",r,n,p-2),c);break;case 59:E+=";";default:if(U(L=ye(E,t,n,l,u,o,s,y,v=[],w=[],p),i),123===b)if(0===u)be(E,t,L,L,v,i,p,s,w);else switch(99===d&&110===R(E,3)?100:d){case 100:case 108:case 109:case 115:be(e,L,L,r&&U(ye(e,L,L,0,0,o,s,y,o,v=[],p),w),o,w,p,s,r?v:w);break;default:be(E,L,L,L,[""],w,0,s,w)}}l=u=h=0,m=g=1,y=E="",p=a;break;case 58:p=1+N(E),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==X())continue;switch(E+=O(b),b*m){case 38:g=u>0?1:(E+="\f",-1);break;case 44:s[l++]=(N(E)-1)*g,g=1;break;case 64:45===Z()&&(E+=ne(G())),d=Z(),u=p=N(y=E+=se(Y())),b++;break;case 45:45===f&&2==N(E)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],h=$(d),f=0,m=0,_=0;f<r;++f)for(var g=0,b=M(e,p+1,p=A(m=a[f])),y=e;g<h;++g)(y=D(m>0?d[g]+" "+b:I(b,/&\f/g,d[g])))&&(c[_++]=y);return H(e,t,n,0===o?de:s,c,l,u)}function ve(e,t,n){return H(e,t,n,pe,O(F),M(e,2,-2),0)}function we(e,t,n,r){return H(e,t,n,he,M(e,0,r),M(e,r+1,-1),r)}var Le=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)G();return V(e,K)},Ee=new WeakMap,ke=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ee.get(n))&&!r){Ee.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Le(K-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=O(r)}}while(r=G());return e}(ee(e),t))}(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function xe(e,t){switch(function(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}(e,t)){case 5103:return ue+"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 ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+le+e+ce+e+e;case 6828:case 4268:return ue+e+ce+e+e;case 6165:return ue+e+ce+"flex-"+e+e;case 5187:return ue+e+I(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+ce+"flex-$1$2")+e;case 5443:return ue+e+ce+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return ue+e+ce+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+ce+I(e,"shrink","negative")+e;case 5292:return ue+e+ce+I(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+I(e,"-grow","")+ue+e+ce+I(e,"grow","positive")+e;case 4554:return ue+I(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,ue+"$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(N(e)-1-t>6)switch(R(e,t+1)){case 109:if(45!==R(e,t+4))break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+le+(108==R(e,t+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?xe(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==R(e,t+1))break;case 6444:switch(R(e,N(e)-3-(~j(e,"!important")&&10))){case 107:return I(e,":",":"+ue)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(45===R(e,14)?"inline-":"")+"box$3$1"+ue+"$2$3$1"+ce+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+ce+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=xe(e.value,e.length);break;case fe:return me([J(e,{value:I(e.value,"@","@"+ue)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([J(e,{props:[I(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([J(e,{props:[I(t,/:(plac\w+)/,":"+ue+"input-$1")]}),J(e,{props:[I(t,/:(plac\w+)/,":-moz-$1")]}),J(e,{props:[I(t,/:(plac\w+)/,ce+"input-$1")]})],r)}return""})}}],Se={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};function Ae(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Oe=/[A-Z]|^ms/g,Pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,De=function(e){return 45===e.charCodeAt(1)},Ie=function(e){return null!=e&&"boolean"!=typeof e},je=Ae(function(e){return De(e)?e:e.replace(Oe,"-$&").toLowerCase()}),Re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Pe,function(e,t,n){return Ne={name:t,styles:n,next:Ne},t})}return 1===Se[e]||De(e)||"number"!=typeof t||0===t?t:t+"px"};function Me(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ne={name:o.name,styles:o.styles,next:Ne},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ne={name:a.name,styles:a.styles,next:Ne},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Me(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Ie(s)&&(r+=je(i)+":"+Re(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Me(e,t,a);switch(i){case"animation":case"animationName":r+=je(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)Ie(a[l])&&(r+=je(i)+":"+Re(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Ne,c=n(e);return Ne=s,Me(e,t,c)}}var l=n;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var Ne,$e=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ue(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ne=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Me(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Me(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,c="";null!==(s=$e.exec(o));)c+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:Ne}}function Be(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function We(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function qe(e,t,n){var r=[],o=Be(e,r,n);return r.length<2?n:o+t(r)}var Ke=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},Fe=function(){var e=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ce,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var c,l,u,p,d=[_e,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],h=(l=[ke,Te].concat(i,d),u=$(l),function(e,t,n,r){for(var o="",i=0;i<u;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){c=n,me(ge(e?e+"{"+t.styles+"}":t.styles),h),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new S({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return f.sheet.hydrate(s),f}({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered,void 0);return function(e,t){!function(e,t){var n=e.key+"-"+t.name;void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,o),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return qe(e.registered,t,Ke(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered);We(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered),i="animation-"+o.name;return We(e,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(t){t.forEach(function(t){e.inserted[t]=!0})},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Be.bind(null,e.registered),merge:qe.bind(null,e.registered,t)}}(),ze=Fe.flush,He=Fe.hydrate,Je=Fe.cx,Xe=Fe.merge,Ge=Fe.getRegisteredStyles,Ze=Fe.injectGlobal,Ye=Fe.keyframes,Ve=Fe.css,Qe=Fe.sheet,et=Fe.cache,tt=n(556),nt=n.n(tt);const[rt,ot,it]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:MEMOIZED")],at=e=>{const t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},st=e=>void 0!==e[rt]||void 0!==e[TEXT],ct=e=>{if(console.warn("NOT IMPLEMENTED YET"),!e[rt]?.element?.parentNode)throw"findDOMNode only works on mounted components.";return e[rt].element},lt=({children:e})=>e,ut={only(e){e=[...e];let t=0;for(;t<e.length;){if("Array"===e[t]?.constructor?.name?(e.splice(t,1,...e[t]),t--):null!==e[t]&&void 0!==e[t]||(e.splice(t,1),t--),t>1)throw"no child or child is not the only one";t++}if(1===e.length)return e[0]},toArray:e=>e?"Array"===e?.constructor?.name?[...e]:[e]:[]};function pt(){let e;const t=new Promise((t,n)=>{e=t});return window.addEventListener("click",function t(n){n.stopImmediatePropagation(),window.removeEventListener("click",t,!0);let r=n.target;for(;!r[ot]&&r.parentNode;)r=r.parentNode;return e(r[ot]),!1},!0),t}function dt(e){return Object.entries(e).filter(([e,t])=>t).map(([e,t])=>e).join(" ")}function ht(e){for(let t in e)return!1;return!0}const ft=(e,t)=>at(e)===at(t)&&("array"===at(e)?e.length===t.length&&e.every((e,n)=>e===t[n]):"object"===at(e)?Object.keys(e).every(n=>e[n]===t[n]):"date"===at(e)?e.getTime()===t.getTime():e===t);function mt(e,t){return at(e)===at(t)&&("array"===at(e)?e.length===t.length&&e.every((e,n)=>mt(e,t[n])):"object"===at(e)?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>mt(e[n],t[n])):"date"===at(e)?e.getTime()===t.getTime():e===t)}function _t(e){return!(!e||e.constructor!==Function||void 0===e.prototype)&&(Function.prototype!==Object.getPrototypeOf(e)||Object.getOwnPropertyNames(e.prototype).length>1)}function gt(e){return"function"==typeof e&&e.constructor&&"AsyncFunction"===e.constructor.name}function bt(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function yt(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function vt(e){if("boolean"==typeof e)return e;if("number"==typeof e)return 0!==e;if("string"==typeof e){if("true"===(e=e.trim().toLowerCase()))return!0;if("false"===e)return!1}return Boolean(e)}const wt={};let Lt=0,Et=Math.floor(1e4*Math.random()),kt=Math.floor(1e4*Math.random()),Tt=[],xt=new Set,Ct=new Set,St=new Set,At=new Set;const Ot=new Set(["classname","classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Pt=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"]),Dt=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"]),It=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]),[jt,Rt,Mt,Nt,$t,Ut,Bt]=[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")];class Wt{owner;current_map=new Map;new_map=new Map;pick_index=0;constructor(e){this.owner=e}pick(e,t){let n,r=this.current_map.get(e);return r&&r.length>r[$t]?(n=r[r[$t]],r[$t]++,r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[$t]=0)):(n=t(),r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[$t]=0),n[jt]&&(n[jt].parent??=this.owner)),n}commit(){this.current_map.forEach(e=>{e.slice(e[$t]).forEach(e=>{e.cleanup&&e.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}}class qt{component;props;constructor(e,t){this.component=e,this.props=t||{}}apply(e=this.props,t=this.next_state||this.state){if("function"==typeof t&&(t=t(this.state)),this.component.constructor.defaultProps&&(e={...this.component.constructor.defaultProps,...e}),!this.component.shouldComponentUpdate||this.component.shouldComponentUpdate(t,e,this.context)){if("string"==typeof this.entity&&(this.element instanceof Element||(this.element=document.createElement(this.entity),e?.defaultValue&&(this.element.value=String(e.defaultValue).slice(0,e?.maxLength)),e?.defaultChecked&&(this.element.checked=e.defaultChecked)),this.element[Rt]=this.component),e.ref&&(this.element?e.ref.current=this.element:e.ref.current=this.component),void 0!==e&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(e),this.component.componentWillUpdate&&this.component.componentWillUpdate(e,t),this.state,this.props,this.element&&this.updateElementProps(e),this.props=e,"object"==typeof this.next_state)this.state?Object.assign(this.state,t):this.state={...t};else if(void 0!==this.next_state)throw"Component.setState only accepts objects or functions is new state.";if(this.next_state&&delete this.next_state,void 0!==this.hooks){this.hook_index=0,Lilact.current_component=[this,Lilact.current_component];try{this.outlet=this.component.render(e)}catch(e){Kt(this,e)}Lilact.current_component=Lilact.current_component[1]}else try{this.outlet=this.component.render()}catch(e){Kt(this,e)}"Array"!==this.outlet?.constructor?.name&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let e=0;e<this.outlet.length;e++){let t=this.outlet[e];if(null==t||"boolean"==typeof t)this.outlet.splice(e,1),e--;else if("function"==typeof t){const n=this.childFunctionHandler(t);this.outlet.splice(e,1,n),e--}else if("Array"===t.constructor.name)this.outlet.splice(e,1,...t),e--;else{const n=Ft(this,t);this.outlet[e]=n,void 0===n[Mt]?(n.container=this.element?this:this.container,n.apply(t.props)):n.element?n[Mt]!==t[Mt]&&(n.element.textContent=t[Mt],n[Mt]=t[Mt]):(n.element=document.createTextNode(t[Mt]),n[Mt]=t[Mt])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(prev_props,prev_state,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){try{if(this.component.componentWillUnmount&&this.component.componentWillUnmount(),this?.element?.parentElement&&this.element.parentElement.removeChild(this.element),void 0!==this.outlet)for(let e of this.outlet)e.cleanup&&e.cleanup();if(void 0!==this.props?.children)for(let e of this.props.children)e.cleanup&&e.cleanup();if(void 0!==this.hooks)for(let e of this.hooks)e.cleanup&&e.cleanup()}catch(e){throw e}}updateElementProps(e,t=!1){"input"===this.entity?(e?.type||(e.type="text"),e.type!==this.element.type&&(this.element.type=e.type),void 0!==e?.value&&e?.value!==this.element.value&&(void 0===e.value&&(e.value=""),this.element.value=String(e.value).slice(0,e?.maxLength))):"textarea"===this.entity?e?.value!==this.element.value&&(this.element.value=String(e.value).slice(0,e?.maxLength)):"select"===this.entity&&e?.value!==this.element.value&&Lilact.setTimeout(()=>this.element.value=String(e.value),0);for(let t in this.props){const n=t.toLowerCase();e.hasOwnProperty(t)||(Lilact.events_set.has(n)?this.event_detachers[n]():this.element.setAttribute(t,void 0))}for(let n in e){const r=n.toLowerCase();if(!Lilact.special_attributes.has(r)&&(e===this.props||!Lilact.defaultIsEqual(e[n],this.props[n])||t))if(Lilact.events_set.has(r))this.event_detachers??={},this.event_detachers[r]?.(),this.event_detachers[r]=Lilact.addWrappedEventListener(this.element,r.substring(2),e[n]);else if("style"===r){for(const t in e[n])isFinite(e[n][t])&&(e[n][t]+="px");Object.assign(this.element.style,e[n])}else Lilact.boolean_html_attributes_set.has(n)?this.element[n]=Lilact.toBool(e[n]):"autoFocus"===n?this.element.autofocus=Lilact.toBool(e[n]):"htmlFor"===n?this.element.setAttribute("for",e[n]):"value"===r&&-1!==["input","textarea","select"].indexOf(this.entity)||this.element.setAttribute(r,e[n])}this.element.onsubmit=e?.action?e.action:void 0,this.updateElementClass(e)}updateElementClass(e=this.props){let t=e?.className;if(t??=e?.class?e.class:"",this?.parent?.[Ut]&&(t+=" "+this?.parent?.[Ut]),t.length>0){t=t.split(/\s+/g);for(const e of Array.from(this.element.classList))-1===t.indexOf(e)&&this.element.classList.remove(e);for(const e of t)e.length>0&&this.element.classList.add(e)}else delete this.element.className}scanZombies(e,t){const n=e.element.childNodes;for(;n[e.insert_index]&&n[e.insert_index][Nt]&&n[e.insert_index]!==t;)e.insert_index++}appendElement(e){this.scanZombies(e.container,e.element),null===e?.element.parentNode?(e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e?.component?.componentDidMount&&e.component.componentDidMount()):e.container.element.childNodes[e.container.insert_index]!==e.element&&e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e.container.insert_index++}arrangeOutlet(){this.insert_index=0;for(const e of this.outlet)e&&(e.element?(e.container=this.element?this:this.container,e.container.appendElement(e)):(e.arrangeOutlet&&e.arrangeOutlet(),e?.mounted||(e.mounted=!0,e?.component?.componentDidMount&&e.component.componentDidMount())))}childFunctionHandler(e){return e(this.state)}}const Kt=(e,t)=>{const n=[e];for(;e&&!e?.component?.componentDidCatch;)(e=e.parent)&&n.push(e);e?.component?.componentDidCatch&&e.entity?.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t)),Lilact.isError(t)&&(t=Lilact.traceError(t));let r=Array.prototype.map.call(n,e=>"in "+(("string"==typeof e.entity?e.entity:e.entity?.name)||e.component?.name||e.constructor?.name)??"undefined").join("\n");if(!e?.component?.componentDidCatch)throw t;e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r})};function Ft(e,t){try{return e.cache??=new Wt(e),t=e.cache.pick(void 0===t[Mt]?t?.props?.key:":text",()=>void 0!==t[Mt]||t instanceof qt?t:function(e,t){let n=e;if(void 0!==e[Mt]);else if("string"==typeof e.entity)n=new Xt(e.entity,e.props);else{if(Lilact.isClass(e.entity)){e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new e.entity(e.props);const t=Object.getOwnPropertyDescriptor(n,"state");t&&"function"!=typeof t.get&&"function"!=typeof t.set&&(n[jt].state=n.state,Object.defineProperty(n,"state",{get(){return this[jt].state},set(e){if(void 0!==this[jt].state)throw"assigning component state this way is not allowed.";this[jt].state=e}}))}else{if("function"!=typeof e.entity)throw"createComponent accepts a component class or a function or undefined for the first argument.";e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new Jt(e.props),n.render=e.entity.bind(n),n[jt].hooks=[],n[jt].hook_index=0}n[jt].entity=e.entity,e.container&&(n[jt].container=e.container)}return t instanceof qt&&(n[jt].parent=t),n}(t,e)[jt])}catch(e){if(!t?.component?.componentDidCatch)throw e;t.component.componentDidCatch(e)}}function zt(){requestAnimationFrame(()=>{let e=Lilact.layout_effects,t=Lilact.update_cbs,n=Lilact.update_set;Lilact.layout_effects=new Set,Lilact.update_cbs=new Set,Lilact.update_set=new Set;for(const t of e)t();for(const e of n)e.apply();for(const e of t)e()})}const Ht=(e,t)=>{let n;return void 0!==t.key?n=t.key:void 0!==t.id?n=":i:"+t.id:void 0!==t.path?n=":p:"+t.path:void 0!==t[Mt]?n=":text":(n="string"==typeof e?":t:"+e:e?e.name:"::",void 0!==t.name?n=n+":"+t.name:void 0!==t.path&&(n=n+":"+t.path)),n};class Jt{get state(){return this[jt].state}set state(e){if(void 0!==this[jt].state)throw"assigning component state this way is not allowed.";this[jt].state=e}get context(){return this[jt].context}set context(e){throw"assigning component context this way is not allowed."}get type(){return this[jt].entity}set type(e){throw"component type is immutable."}get props(){return this[jt].props}set props(e){throw"assigning component props this way is not allowed."}get ref(){return this[jt].ref}set ref(e){throw"component ref is immutable."}get key(){return this[jt].props.key}set key(e){throw"component key is immutable."}constructor(e){this[jt]=new qt(this,e)}forceUpdate(e){Lilact.clearTimeout(Lilact.update_timeout),Lilact.update_set.add(this[jt].container||this[jt]),e&&Lilact.update_cbs.add(e.bind(this)),Lilact.update_timeout=Lilact.setTimeout(zt,Lilact.update_interval_margin)}setState(e,t){void 0!==this.getSnapshotBeforeUpdate&&(this[jt].last_snapshot=this.getSnapshotBeforeUpdate(this[jt].props,this.state)),this[jt].next_state=e,this.forceUpdate(t?t.bind(this):void 0)}}class Xt extends Jt{constructor(e,t){super(t),this[jt].entity=e}render(){return this[jt].props.children}}class Gt extends Xt{constructor(e,t){super(":root",t),"string"==typeof this.element&&(e=document.querySelector(e)),this[jt].element=e;for(const e of t.children)e[jt]?e[jt].container=this[jt]:e.container=this[jt]}}function Zt(e,t={},...n){for(let e=0;e<n.length;e++){let t=n[e];null!=t&&"boolean"!=typeof t?(-1!==["number","bigint"].indexOf(typeof t)&&(t=t.toString()),n[e]="string"==typeof t?{[Mt]:t}:t):(n.splice(e,1),e--)}return null===e?n:(t.key=Ht(e,t),t.children=n,{entity:e,props:t})}function Yt(e){let t;return{render(n){if(t)throw"root already rendered!";return t=new Gt(e,{children:[n]}),Lilact.roots.add(t[jt]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Vt(e,t){if(e[jt]&&(e[jt].container||e[jt].parent))throw"component is already in use";return Yt(t).render(e)}const Qt=Zt,[en,tn]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")];function nn(){const e=Lilact.current_component[0];return void 0===e.hooks[e.hook_index]&&e.hooks.push({}),e.hooks[e.hook_index++]}function rn(e){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.value="function"==typeof e?e():e,t.set_func=function(e,t,n){t.value="function"==typeof n?n(t.value):n,e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],t)),[t.value,t.set_func]}function on(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"callback dependencies must be an array or omitted.";const n=Lilact.useHook();if(Lilact.isEmpty(n))n.callback=e;else if(void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps))return n.callback;return n?.cleanup&&n.cleanup(),n.deps=t,n.callback}function an(e){return{default:e,Provider:function({value:e,children:t}){return t}}}function sn(e){let t=Lilact.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let n=t.props?.value;return n??=e.default}return e.default}function cn(e="N"){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.id=e+Lilact.id_num++),t.id}function ln(){const e=Lilact.useHook();return Lilact.isEmpty(e)&&(e.count=0,e.func=async function(e,t,n){t.count++,1===t.count&&e.component.forceUpdate(),await n(),t.count--,0===t.count&&e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],e)),[0!=e.count,e.func]}function un(e,t){const n=Lilact.useHook();let r;try{r=JSON.parse(localStorage[e])}catch(e){}return void 0===r&&("function"==typeof t&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),Lilact.isEmpty(n)&&(n.value=r,n.set_func=function(t,n,r){"function"==typeof r&&(r=r(n.value)),r!==n.value&&(localStorage[e]=JSON.stringify(r),n.value=r,t.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],n)),[n.value,n.set_func]}function pn(e=null){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.current=e),t}function dn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"layout effect dependencies must be an array or omitted.";const n=Lilact.useHook();!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n?.cleanup&&n.cleanup(),n.deps=t,Lilact.layout_effects.add(()=>{n.cleanup=e()}),Lilact.current_component[0].component.forceUpdate())}function hn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"effect dependencies must be an array or omitted.";const n=Lilact.useHook();!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n?.cleanup&&n.cleanup(),n.deps=t,Lilact.setTimeout(()=>{n.cleanup=e()},0))}function fn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"memo dependencies must be an array or omitted.";const n=Lilact.useHook();return!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n.deps=t,n.value=e(n.value)),n.value}function mn(e,t){const n=Lilact.useHook(),[r,o]=Lilact.useTransition();return Lilact.isEmpty(n)&&(n.state=t,n.form_action=t=>(event.preventDefault(),o(async()=>{const r=new FormData(t.target,t.submitter);n.state=await e(n.state,r)},[]),!1)),[n.state,n.form_action,r]}function _n(e,t,n){const r=Lilact.useHook();return Lilact.isEmpty(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(e,t,n){const r=t.reducer(t.state,n);Lilact.defaultIsEqual(r,t.state)||(t.state=r,e.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],r)),[r.state,r.dispatch]}function gn(e,t){const{useEffect:n,useRef:r,useState:o}=Lilact,[i,a]=o(void 0!==t?t:e),s=r(e),c=r(null);return n(()=>{if(s.current===e)return;s.current=e,null!=c.current&&(c.current.cancelled=!0,c.current=null);const t={cancelled:!1};return c.current=t,Promise.resolve().then(()=>{t.cancelled||(a(e),c.current=null)}),()=>{c.current&&(c.current.cancelled=!0,c.current=null)}},[e]),i}function bn(e){return t=>e({...t,ref:void 0},t.ref)}function yn(e,t,n=void 0){void 0!==n&&void 0!==e?.deps&&Lilact.shallowEqual(n,e.deps)||(e.deps=n,Lilact.setTimeout(()=>{"object"!=typeof e?.current&&(e.current={}),Object.assign(e.current,t(),0)},0))}var vn=n(861);const[wn,Ln,En,kn,Tn,xn,Cn,Sn]=[Symbol.for("LILACT:TIMERS:CORE"),Symbol.for("LILACT:TIMERS:IDX"),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")];let An,On=-1,Pn=[],Dn=-1,In={};const jn=window.setTimeout,Rn=window.setInterval,Mn=window.clearTimeout,Nn=window.clearInterval;function $n(e,t=!1){const[n,r]=function(e){let t=0,n=Pn.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),o=Pn[r][En];if(o===e)return[r,Pn[r]];o<e?t=r+1:n=r-1}const r=[];return r[En]=e,Pn.splice(t,0,r),[t,r]}(e[En]);return t||(On++,In[On]=e,e[Ln]=On),r.push(e),Pn[0][0]===e&&(Mn(Dn),Dn=jn(Un,e[xn])),On}function Un(){const e=Date.now();let t=0,n=Pn[t];for(;n&&n[En]-e<=0;){for(const e of n)e[Tn]?delete In[e[Ln]]:(e[Cn](...e[Sn]),e[kn]?(e[En]=Date.now()+e[xn],$n(e,!0)):delete In[e[Ln]]);t++,n=Pn[t]}Pn.splice(0,t),Pn.length>0&&(Mn(Dn),Dn=jn(Un,Pn[0][En]-e))}function Bn(){Mn(Dn),An=void 0,On=-1,Pn=[],Dn=-1,In={}}function Wn(){Mn(Dn),An=Date.now()}function qn(){if(An){if(Pn.length>0){const e=Date.now();An-=e;for(const e of Pn)e[En]-=An;Dn=jn(Un,Pn[0][En]-e)}An=void 0}}function Kn(e,t,...n){return $n({[Cn]:e,[xn]:t,[En]:Date.now()+t,[kn]:!1,[Sn]:n})}function Fn(e,t,...n){return $n({[Cn]:e,[xn]:t,[En]:Date.now()+t,[kn]:!0,[Sn]:n})}function zn(e){In[e]&&(In[e][Tn]=!0)}function Hn(e){In[e]&&(In[e][Tn]=!0)}function Jn(){globalThis.setTimeout=this.setTimeout,globalThis.setInterval=this.setInterval,globalThis.clearTimeout=this.clearTimeout,globalThis.clearInterval=this.clearInterval}function Xn(){globalThis.setTimeout=jn,globalThis.setInterval=Rn,globalThis.clearTimeout=Mn,globalThis.clearInterval=Nn}function Gn(e=0,t=this){let n,r,o;const i=new Promise((i,a)=>{r=i,o=a,n=t.setTimeout(()=>{r()},e)});return i.proceed=()=>{t.clearTimeout(n),r()},i.cancel=()=>{t.clearTimeout(n),o()},i}function Zn(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}const[Yn,Vn,Qn]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM")],er="unmounted",tr="exited",nr="entering",rr="entered",or="exiting";function ir({in:e,timeout:t=Lilact.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:i,onEntering:a,onEntered:s,onExit:c,onExiting:l,onExited:u,children:p,_classNames:d}){return this[Yn].is_mounted??=!n||e||o,this[Yn].is_appeared??=e,this[Yn].timer??=null,this[Yn].childFunctionHandler=e=>e(this[Yn].mount_state),this[Yn].mount_state||(this[Yn].is_mounted||(this[Yn].mount_state=er),this[Yn].mount_state=e?o&&!this[Yn].is_appeared?nr:rr:tr),hn(()=>()=>zn(this[Yn].timer),[]),hn(()=>{!this[Yn].is_appeared&&o&&this[Yn].mount_state===nr&&e&&(i?.(),requestAnimationFrame(()=>{a?.(!this[Yn].is_appeared),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=rr,this.forceUpdate(),this[Yn].is_appeared=!0,s?.(!this[Yn].is_appeared)},t)}))},[]),hn(()=>{if(e){if(this[Yn].is_mounted=!0,this[Yn].mount_state===nr||this[Yn].mount_state===rr)return;i?.(!this[Yn].is_appeared),this[Yn].mount_state=nr,this.forceUpdate(()=>{a?.(!this[Yn].is_appeared),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=rr,this.forceUpdate(),this[Yn].is_appeared=!0,s?.()},t)})}else{if(this[Yn].mount_state===er||this[Yn].mount_state===or||this[Yn].mount_state===tr)return;c?.(),this[Yn].mount_state=or,this.forceUpdate(()=>{l?.(),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=tr,this.forceUpdate(),u?.(),r&&(this[Yn].is_mounted=!1,this[Yn].mount_state=er,this.forceUpdate())},t)})}},[e,t]),this[Yn].is_mounted?(d&&(this[Yn].mount_state===nr?this[Yn].is_appeared?this[Yn][Qn]=d.appearActive:this[Yn][Qn]=d.enterActive:this[Yn].mount_state===rr?this[Yn].is_appeared?this[Yn][Qn]=d.appearDone:this[Yn][Qn]=d.enterDone:this[Yn].mount_state===or?this[Yn][Qn]=d.exitActive:this[Yn].mount_state===tr&&(this[Yn][Qn]=d.exitDone)),p):null}function ar({in:e,timeout:t=defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:i=!1,children:a,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:d}){return"string"==typeof n&&(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`}),Lilact.createComponent(ir,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:i,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:d,_classNames:n},a)}function sr({children:e}){return e}"undefined"==typeof Element||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}),"undefined"==typeof Event||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});const cr=[],lr=10;function ur(e,t){const n=cr.length?cr.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.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.nativeEvent=e,n.key=e.key||null,n.code=e.code||null,n.which=e.which||e.keyCode||null;try{const e=n.target;n.value=e&&"value"in e?e.value:void 0,n.checked=e&&"checked"in e?e.checked:void 0}catch(e){n.value=void 0,n.checked=void 0}return n.path="function"==typeof e.composedPath?e.composedPath():[n.target],n}function pr(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.key=null,e.code=null,e.which=null,e.value=void 0,e.checked=void 0,e.path=null,cr.length<lr&&cr.push(e))}function dr(e,t={}){const{stopPropagationOnTrueReturn:n=!1}=t;return function(t){const r=ur(t,this||t.currentTarget||null);try{const t=e(r);n&&!0===t&&r.stopPropagation()}finally{pr(r)}}}function hr(e,t,n,r={}){const o=dr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}const[fr]=[Symbol.for("LILACT:CORE")];let mr;function _r({store:e,children:t}){return mr??=Lilact.createContext(null),Lilact.createComponent(mr.Provider,{value:e},t)}function gr(){const e=Lilact.useContext(mr);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function br(){return Lilact.useStore().dispatch}function yr(e,t=(e,t)=>e===t){const n=Lilact.useStore(),r=Lilact.useRef(),o=Lilact.useRef(e);o.current=e;const[i,a]=Lilact.useState(()=>e(n.getState()));return r.current=i,Lilact.useEffect(()=>{function e(){const e=o.current(n.getState());t(r.current,e)||(r.current=e,a(e))}const i=n.subscribe(e);return e(),i},[n,t]),i}function vr(e,t){return Boolean(e),function(n){return function(r){const o=Lilact.useStore();let i={dispatch:o.dispatch};if("function"==typeof t)i=t(o.dispatch,r);else if("object"==typeof t&&null!==t){i={};const e=o.dispatch;for(const n in t){const r=t[n];i[n]=(...t)=>e(r(...t))}}let a={};if(e){const t=t=>e(t,r);a=Lilact.useSelector(t,Lilact.shallowEqual)||{}}const s={...r,...a,...i};return Lilact.createComponent(n,{...s})}}}function wr(e){const t=Object.keys(e);for(const n of t)if("function"!=typeof e[n])throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(n={},r){let o=!1;const i={};for(const a of t){const t=e[a],s=n[a],c=t(s,r);i[a]=c,o=o||c!==s}return o?i:n}}function Lr(e){if(void 0!==e.lineno||void 0!==e.line||void 0!==e.lineNumber)return[e.lineno||e.line||e.lineNumber,e.colno||e.column||e.columnNumber];let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return null===t&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?[parseInt(t[1]),parseInt(t[2])]:null}function Er(e,t,n){let r=[0,0,0,0];for(const o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][1]>=n)){r=e[o-1];break}return[t-r[0]+r[2],t-r[0]===0?r[3]:0]}function kr(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//gm)).forEach(e=>{Lilact.blocks_info.labels[e[1]]={path:t,desc:e[4]}})}function Tr(e){const t=Lilact.getErrorLocation(e),n={fileName:e.fileName,label:null,lineNumber:t[0],columnNumber:t[1],message:e.message,name:e.name,stack:null,error:e,is_traced:!0};if(void 0!==e.lilact_trace){let t,r;r="object"==typeof e.lilact_trace?Lilact.blocks_info.labels[e.lilact_trace[0]]:Lilact.blocks_info.labels[e.lilact_trace],r&&(n.fileName=r.path,n.label=r.label,t=Lilact.required_scripts[r.path].mappings,[n.lineNumber,n.columnNumber]=Lilact.mapLocation(t,n.lineNumber,n.columnNumber))}return Lilact.error=n,n}function xr(e){e.error&&(e=e.error),e?.is_traced||"JSXParseError"===e.name||(e=Lilact.traceError(e));const t=Lilact.emotion.css("\n\t\t\tbackground: linear-gradient(135deg, #fff2f2d4, #ffffffd4);\n\t\t\tbackdrop-filter: blur(10px);\n\t\t\tborder: 1px solid rgba(255,255,255,.25);\n\t\t\tborder-radius: 5px;\n\t\t\tbox-shadow: 0 10px 30px rgba(0,0,0,.35);\n\t\t\toverflow:hidden;\n\t\t\tmin-width: 400px;\n\t\t\twidth: 66%;\n\t\t\tred {\n\t\t\t\tcolor:#d00;\n\t\t\t}\n\t\t\tcode {\n\t\t\t\tborder: 1px solid #0003;\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t"),n=document.createElement("dialog");if(n.className=t,n.innerHTML=`<h3 style=""><red>Error!</red></h3>\n\t\tAt <b>${e.fileName}: Line ${e.lineNumber+1}</b><br><br>\n\t\t<b>${e.name}</b>: <span>${e.message}</span><br><br>\n\t\t<code><pre></pre><pre><red></red></pre><pre></pre></code>\n\t\t`,document.body.appendChild(n),Lilact.required_scripts[e.fileName]){const t=Lilact.required_scripts[e.fileName].code.split("\n");e.lineNumber>0&&(n.querySelectorAll("pre")[0].innerText=t[e.lineNumber-1]),n.querySelector("pre red").innerText=t[e.lineNumber],e.lineNumber<t.length-1&&(n.querySelectorAll("pre")[2].innerText=t[e.lineNumber+1])}n.showModal()}const Cr={counter:0,labels:{}};let Sr=null;const[Ar,Or]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")],Pr=an(null),Dr=an({params:{}}),Ir=e=>"string"==typeof e?e:(e.pathname||"")+(e.search||"")+(e.hash||"");function jr({children:e,basename:t=""}){const n=()=>{const e=(window.location.hash||"#/").slice(1).replace(new RegExp(`^${t}`),"")||"/",[n,r]=e.split("#"),[o,i=""]=n.split("?");return{pathname:o||"/",search:i?"?"+i:"",hash:r?"#"+r:"",state:history.state?.__state}},[r,o]=rn(n);hn(()=>{const e=()=>o(n());return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[t]);const i=on((e,{replace:r=!1,state:i}={})=>{const a=Ir(e),s="#"+(t+a);r?history.replaceState({__state:i},"",s):history.pushState({__state:i},"",s),o(n())},[t]);return Lilact.createComponent(Pr.Provider,{value:{location:r,navigate:i,basename:t}},e)}function Rr(){const e=sn(Pr);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Mr(){const e=sn(Pr);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Nr({to:e,replace:t=!1,state:n,onClick:r,target:o,download:i,className:a,style:s,children:c,...l}){const u=Mr(),p="#"+Ir(e);return Lilact.createComponent("a",{...l,href:p,onClick:function(i){r&&r(i),i.defaultPrevented||0!==i.button||o&&"_self"!==o||i.metaKey||i.altKey||i.ctrlKey||i.shiftKey||(i.preventDefault(),u(e,{replace:t,state:n}))},target:o,download:i,className:a,style:s},c)}function $r(e){return e&&e.replace(/\/+$/,"")||"/"}function Ur({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:i,replace:a=!1,state:s,children:c,onClick:l,...u}){const p=Mr(),d=Rr(),h="string"==typeof e?e.split("?")[0].split("#")[0]:e.pathname||"/",f=d.pathname||"/",m=t?$r(f)===$r(h):$r(f).startsWith($r(h)),_=["function"==typeof r?r({isActive:m}):r,m?n:null].filter(Boolean).join(" ")||void 0,g="function"==typeof i?i({isActive:m}):i,b=m?{...g||{},...o||{}}:g,y="#"+Ir(e);return Lilact.createComponent("a",{...u,href:y,onClick:function(t){l&&l(t),t.defaultPrevented||0!==t.button||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),p(e,{replace:a,state:s}))},className:_,style:b,"aria-current":m?"page":void 0},"function"==typeof c?c({isActive:m}):c)}function Br(e,t){if(null==e)return{matched:!0,params:{}};const{regex:n,paramNames:r}=function(e){const t=[];let n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]\/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(e,n)=>(t.push(n),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}(e),o=n.exec(t);if(!o)return{matched:!1};const i={};return r.forEach((e,t)=>i[e]=decodeURIComponent(o[t+1]||"")),o.length>r.length+1&&(i["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:i}}function Wr({path:e,element:t=null,children:n}){return null}function qr({children:e}){const t=Rr().pathname||"/",n=ut.toArray(e);for(let e=0;e<n.length;e++){const r=n[e],o=void 0===r.props.path?null:r.props.path,i=r.props.element??null,a=r.props.children,{matched:s,params:c}=Br(o,t);if(s)return i?Lilact.createComponent(Dr.Provider,{value:{params:c}},i):a?Lilact.createComponent(Dr.Provider,{value:{params:c}},Lilact.createComponent(qr,{},a)):Lilact.createComponent(Dr.Provider,{value:{params:c}},Lilact.createComponent("div",{}))}return null}function Kr({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":i="Loading"}){const a=Math.max(1,e)+"px";return Lilact.createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":i,role:"status"},Lilact.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"}}),Lilact.createComponent("style",{},"\n @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }\n "))}class Fr extends Jt{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){const{onError:n}=this.props;try{n&&n(e,t)}catch(e){console.error("onError threw",e)}}reset=()=>this.setState({hasError:!1,error:null});render(){const{Fallback:e,children:t}=this.props;return this.state.hasError?Lilact.createComponent(e,{error:this.state.error,reset:this.reset}):t}}class zr extends Jt{static defaultProps={minDelay:200,minShowTime:300};constructor(e){super(e),this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(e){if(Lilact.isThenable(e))return null;throw e}componentDidCatch(e){if(!Lilact.isThenable(e))return;const t=e;if(!this._pending.has(t)&&(this._pending.add(t),1===this._pending.size)){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null)}_attachPromise(e){if(this._pending.has(e))return;if(this._pending.add(e),1===this._pending.size){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}const t=()=>{if(this._pending.has(e)&&this._pending.delete(e),0===this._pending.size){if(this._delayTimer)return Lilact.clearTimeout(this._delayTimer),this._delayTimer=null,void this.setState({showingFallback:!1});const e=Date.now()-(this._fallbackShownAt||0),t=Math.max(0,this.props.minShowTime-e);0===t?this.setState({showingFallback:!1}):(this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=Lilact.setTimeout(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},t))}};e.then(t,t)}componentDidCatch(e,t){Lilact.isThenable(e)&&this._attachPromise(e)}render(){return this.state.showingFallback?Lilact.createComponent(null,{},this.props.fallback):Lilact.createComponent(null,{},this.props.children)}}const Hr=(e,t,n)=>Number.isFinite(e)?Math.min(n,Math.max(t,e)):e,Jr=bn(function({mode:e="horizontal",position:t,defaultPosition:n=.5,min:r=.1,max:o=.9,splitterSize:i=8,onSizeChange:a,style:s,className:c,leftPaneStyle:l,rightPaneStyle:u,splitterStyle:p,children:d},h){const f=pn(null),m=ut.toArray(d),_=m[0]??null,g=m[1]??null,b=null!=t,[y,v]=rn(e),[w,L]=rn(()=>Hr(t??n,r,o));hn(()=>{null!=e&&v(e)},[e]),dn(()=>{b||L(e=>Hr(e,r,o))},[r,o,b]);const E=b?Hr(t,r,o):w,k=e=>{const t=Hr(e,r,o);b||L(t),a?.(t)},T=pn(!1),x=pn(null),C=(e,t)=>{const n=f.current;if(!n)return;const r=n.getBoundingClientRect();if("horizontal"===y){const t=r.width;if(!Number.isFinite(t)||t<=0)return;const n=(e-r.left)/t;if(!Number.isFinite(n))return;k(n)}else{const e=r.height;if(!Number.isFinite(e)||e<=0)return;const n=(t-r.top)/e;if(!Number.isFinite(n))return;k(n)}};hn(()=>{const e=e=>{T.current&&(null!=x.current&&e.pointerId!==x.current||C(e.clientX,e.clientY))},t=e=>{T.current&&(null!=x.current&&e.pointerId!==x.current||(T.current=!1,x.current=null))};return window.addEventListener("pointermove",e,{passive:!0}),window.addEventListener("pointerup",t,{passive:!0}),window.addEventListener("pointercancel",t,{passive:!0}),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[y]);const S=fn(()=>({leftPct:100*E+"%",rightCalc:`calc(${100-100*E}% - ${i}px)`}),[E,i]),A={display:"flex",width:"100%",height:"100%",overflow:"hidden",touchAction:"none",...s||{},flexDirection:"horizontal"===y?"row":"column"},O="horizontal"===y?{width:S.leftPct,flex:`0 0 ${S.leftPct}`,overflow:"auto",...l||{}}:{height:S.leftPct,flex:`0 0 ${S.leftPct}`,overflow:"auto",...l||{}},P="horizontal"===y?{width:S.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}}:{height:S.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}},D="horizontal"===y?{width:`${i}px`,height:"100%",flex:`0 0 ${i}px`,background:"rgba(0,0,0,0.08)",cursor:"col-resize",...p||{}}:{height:`${i}px`,width:"100%",flex:`0 0 ${i}px`,background:"rgba(0,0,0,0.08)",cursor:"row-resize",...p||{}},I="horizontal"===y?{height:"100%",width:"100%"}:{width:"100%",height:"100%"};return yn(h,()=>({setPosition:k,setMode:e=>v("vertical"===e?"vertical":"horizontal"),getPosition:()=>E,getMode:()=>y})),Lilact.createComponent("div",{ref:f,className:c,style:A},Lilact.createComponent("div",{style:O},_),Lilact.createComponent("div",{role:"separator","aria-orientation":"horizontal"===y?"vertical":"horizontal","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":E,tabIndex:0,onPointerDown:e=>{if(null==e.button||0===e.button){e.preventDefault(),T.current=!0,x.current=e.pointerId;try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}C(e.clientX,e.clientY)}},onPointerCancel:()=>{T.current=!1,x.current=null},onKeyDown:e=>{let t=0;"horizontal"===y?("ArrowLeft"===e.key&&(t=-.02),"ArrowRight"===e.key&&(t=.02)):("ArrowUp"===e.key&&(t=-.02),"ArrowDown"===e.key&&(t=.02)),0!==t&&(e.preventDefault(),k(E+t))},style:D},Lilact.createComponent("div",{style:I})),Lilact.createComponent("div",{style:P},g))});var Xr=n(207);const Gr={VERSION:"beta.5",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...i,...vn,...a,...s,...l,...p,...c,...u,...d,...h,...f,ResizablePane:Jr,transpileJSX:Xr.Y,transpilerConfig:Xr.B,PropTypes:nt(),redux:r,emotion:o};globalThis.Lilact=Gr,document.addEventListener("DOMContentLoaded",()=>{Gr.runScripts()});const Zr=Gr}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(969);const __webpack_exports__Lilact=__webpack_exports__.I,__webpack_exports__default=__webpack_exports__.A;export{__webpack_exports__Lilact as Lilact,__webpack_exports__default as default};
|
|
62
|
+
var __webpack_modules__={207:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{B:()=>transpilerConfig,Y:()=>transpileJSX});var _jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(862),_vlq_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(919);const transpilerConfig={addons:_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__,setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"ʔ"},TRANSPILER_OUTPUT=Symbol.for("LILACT:TRANSPILER_OUTPUT");let raiseError,tab=0;function lookAhead(e,t,n,...r){const o=e(t,n,...r);return o?[o.end,o]:[n]}function parseRegex(e,t,n){let r=t;const o=`;=,([{}!^~&|:?*-+\\/<>${transpilerConfig.preprocessorDelimiter}`;for(;--r>0;)if(-1===" \t\n\r".indexOf(e[r])){if(-1!==o.indexOf(e[r]))break;return}const i={type:"regex",begin:t++};for(;t<e.length;)switch(e[t]){case"\n":return;case"/":return i.end=t+1,n&&n.children.push(i),i;case"\\":t++;default:t++}}function parseComment(e,t,n){const r={type:"comment",begin:t++};if("*"!==e[t]&&"/"!==e[t])return parseRegex(e,t-1,n);const 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"\n":if(!o)return r.end=t+1,n&&n.children.push(r),r}t++}raiseError("Unterminated comment",r.begin)}function parseDirective(e,t,n){let r=t+1;for(;e[r]&&"\n"!==e[r]&&e[r]!==transpilerConfig.preprocessorDelimiter||"\\"===e[r-1];)r++;if(e[r]===transpilerConfig.preprocessorDelimiter){const o={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(o),o}{let o=t;for(;o-- >=0&&(" "===e[o]||"\t"===e[o]););if(-1===o||"\n"===e[o]){const o={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(o),o}}raiseError("Error in preprocessor statement",t)}function preprocessPragmas(node,context){const all_nodes=[];var segments=["const {"+Object.keys(_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__).join(", ")+"} = transpilerConfig.addons;"],scope_stack=[],last_block=null;const clone_block=(e,t)=>("directive"===(last_block="object"==typeof all_nodes[e]?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e]).type&&(last_block.value=t),scope_stack[0].out??=[],scope_stack[0].out.push(last_block),last_block),clone_attr=(e,t)=>(last_block="object"==typeof all_nodes[e]?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("object"!=typeof e)return segments;if(segments.push("push_scope();"),e.attributes)for(const t in e.attributes){const n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(const t of e.children)all_nodes.push(t),"directive"===t.type&&void 0===t.expression?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);const cmd=segments.join("\n");return eval(cmd),segments}function parseString(e,t,n,r){const 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"\n":"`"!==n&&raiseError("Unterminated string",o.begin);break;case"$":"`"===n&&"{"===e[++t]&&([t]=lookAhead(parseJS,e,t,!0,r),t--);break;case"\\":t++}t++}raiseError("Unterminated string",o.begin)}function parseXMLContent(e,t,n,r){let o=t,i=t;for(;o<e.length;){switch(e[o]){case"<":if("/"===e[o+1]){o+=2;let r=o;for(;r<e.length&&">"!==e[r];)r++;if(r===e.length)return null;const i=e.substring(o,r).trim();return n.tag!==i&&raiseError("Ill-formed xml (not closed properly)",t),n.end=r+1,n.cbegin=t+1,n.cend=o-2,r}[o]=lookAhead(parseXML,e,o,n),o>i?(i=o,o--):i++;break;case"{":[o]=lookAhead(parseJS,e,o,!0,n),o--}o++}return i}function parseXML(e,t,n){const r=[" ","\t","\n","/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],o=()=>{for(;" "===e[t]||"\t"===e[t]||"\n"===e[t];)t++},i={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};o();let a,s=t;for(;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s!==e.length)for(i.tag=e.substring(t,s),t=s;t<e.length;){for(s=t;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s===e.length)return;const c=e.substring(t,s);switch(c.length&&(a=c,i.attributes[c]=!0),t=s,e[t]){case"=":if(!a)return;{let n;switch(t++,o(),"/"===e[t]&&([c]=lookAhead(parseComment,e,t),c>t?t=c:t++),e[t]){case"'":case'"':[t,n]=lookAhead(parseString,e,t,e[t]),i.attributes[a]=n,a=void 0;break;case"{":[t,n]=lookAhead(parseJS,e,t,!0),i.attributes[a]=n,a=void 0;break;default:{for(c=t;c<e.length&&-1===r.indexOf(e[c]);)c++;if(c===e.length)return;const n=e.substring(t,c);t=c,i.attributes[a]=n,a=void 0}}}break;case"{":let s;[t,s]=lookAhead(parseJS,e,t,!0),s.is_xml_js=!0,i.js_attributes.push(s);break;case"/":if(">"===e[t+1])return i.end=t+2,i.cbegin=i.begin,i.cend=i.end,i.self_closing=!0,n&&n.children.push(i),i;[c]=lookAhead(parseComment,e,t),c>t?t=c:t++;break;case">":const c=parseXMLContent(e,t,i);if(null===c)return;if(c>t?t=c:t++,i.end)return n&&n.children.push(i),i;t++;break;case" ":case"\t":case"\n":o();break;default:return}}}function parseParanthesis(e,t,n){const r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){const o=e[t];switch(o){case"<":{let[n]=lookAhead(parseXML,e,t,r);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,o);break;case"{":[t]=lookAhead(parseJS,e,t,!0,r);break;case"(":[t]=lookAhead(parseParanthesis,e,t,r);break;case"}":raiseError("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":const[i]=lookAhead(parseComment,e,t,r);i>t?t=i:t++;break;case"\\":t++;default:t++}}raiseError("Unterminated paranthesis block",r.begin)}function parseJS(e,t=0,n=!1,r){const o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){const i=e[t];switch(i){case"<":{let[n]=lookAhead(parseXML,e,t,o);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,i);break;case"{":[t]=lookAhead(parseJS,e,t,!0,o);break;case"(":[t]=lookAhead(parseParanthesis,e,t,o);break;case")":raiseError("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;raiseError("Unmatched curly bracket",o.begin);break;case"/":{let[n]=lookAhead(parseComment,e,t,o);n>t?t=n:t++;break}case transpilerConfig.preprocessorDelimiter:{let[n]=lookAhead(parseDirective,e,t,o);n>t?t=n:t++;break}case"\\":t++;default:t++}}return n&&raiseError("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function labelFunctions(e,t,n){function r(t,n=1){for(;(t+=n)<e.children.length&&t>=0;){const n=e.children[t];if("string"==typeof n){const e=n.trim();if(e.length)return[t,e]}if("object"==typeof n&&"comment"!==n.type)return[t,n]}return[null,null]}let o,i,a;e.already_labeled=!0;for(let s=0;s<e.children.length;s++)if("object"==typeof e.children[s]&&"paranthesis"===e.children[s].type){if([o,a]=r(s,-1),null===a)continue;if("string"!=typeof a||void 0!==["switch","catch","try","class"].find(e=>a.trim().endsWith(e)))continue;let e=a;if([o,a]=r(o,-1),null===a)continue;if("string"==typeof a&&-1!==["extern","class"].indexOf(a))continue;if([o,i]=r(s),null===i)continue;if(transpilerConfig.injectTraceLabels&&"object"==typeof i&&"js"===i.type){const r=getRowCol(t,s);i.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${r}:${e}*/try{`),transpilerConfig.enableLabelStack?i.children.splice(i.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):i.children.splice(i.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),s+=2}}else if("=>"===e.children[s]&&([o,a]=r(s,-1),"object"==typeof a&&"paranthesis"===a.type)){const e=getRowCol(t,a.begin);[o,i]=r(s),"object"==typeof i&&"js"===i.type&&(transpilerConfig.injectTraceLabels&&(i.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${e}:<ARROW>*/try {`),transpilerConfig.enableLabelStack?i.children.splice(i.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):i.children.splice(i.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),s+=2)}}function scanEOLs(e){const t=[0];for(let n in e)"\n"===e[n]&&t.push(parseInt(n));return t.push(e.length),t}function getRowCol(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 generateSourceMap(e,t,n,r,o=[]){let i=[];const a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},s=e=>{if(e.out?.length>0)for(const t of e.out)s(t);void 0!==e.begin&&void 0!==e.out_index&&i.push([...getRowCol(r,e.out_index),...getRowCol(n,e.begin),e])};s(e),i=i.sort((e,t)=>e[0]==t[0]?e[1]-t[1]:e[0]-t[0]),o.push(...i);let c="",l=0,u=0,p=0,d=0;for(let e=0;e<i.length;e++){const t=i[e];for(;l<t[0];)u=0,c+=";",l++;c+=",",c+=_vlq_js__WEBPACK_IMPORTED_MODULE_1__.l(t[1]-u,0,t[2]-p,t[3]-d),u=t[1],p=t[2],d=t[3]}return a.mappings=c.substring(1).replace(/;,/g,";"),"\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(JSON.stringify(a))}function transpileJSX(e,{factory:t="Lilact.createComponent",path:n="anonymous",appendSourcemap:r=!0,blocks_info:o={labels:{},counter:0},mappings:i=[],injectTraceLabels:a=!1,discardComments:s=!1}={}){transpilerConfig.preprocessorDelimiter??="ʔ",transpilerConfig.injectTraceLabels??=a;const c=scanEOLs(e);raiseError=((e,t,r)=>{const o=new Error(t);throw o.name="JSXParseError",[o.lineNumber,o.columnNumber]=getRowCol(e,r),o.fileName=n,o.lilact_trace="parse",o}).bind(null,c);const l=/([\{\}\(\),;\[\]\n]|[\s^\n]+)/g,u=parseJS(e);u.data=e;const p=t=>{if(void 0!==t.attributes)for(const e in t.attributes)"object"==typeof t.attributes[e]&&p(t.attributes[e]);if(void 0!==t.children&&!t.self_closing){let n="js"===t.type?t.begin:t.cbegin||t.begin;for(let r=0;r<t.children.length;r++){const o=t.children[r];if(o.begin>n){let i=e.substring(n,o.begin);"xml"===t.type&&(i=i.trim()),i.length&&("xml"===t.type?t.children.splice(r,0,'"'+i.replaceAll("\n","\\\n")+'"'):t.children.splice(r,0,...i.split(l)),r++)}n=o.end,p(o)}const r="js"===t.type?t.end:t.cend||t.end;if(n<r&&!t.self_closing){let o=e.substring(n,r);"xml"===t.type&&(o=o.trim()),o.length&&("xml"===t.type?t.children.push('"'+o.replace(/[\\\"\n]/g,e=>({"\\":"\\\\",'"':'\\"',"\n":"\\\n"}[e]))+'"'):t.children.push(...o.split(l)))}t.children=t.children.filter(e=>""!==e),transpilerConfig.setBlockLabels&&!t.already_labeled&&labelFunctions(t,c,o)}};p(u),preprocessPragmas(u);const d=(n,r,o=!1,i=!1)=>{if("object"!=typeof r)return r;if(r.out_index=n,"string"===r.type)return e.substring(r.begin,r.end);if("regex"===r.type)return e.substring(r.begin,r.end);if("comment"===r.type)return s||o?"":e.substring(r.begin,r.end);if("directive"===r.type)return r.value;if("paranthesis"===r.type){let e="(";if(r.out)for(const t of r.out)e+=d(n+e.length-1,t);return e+")"}if("js"===r.type){let t="";if(r.out)for(const e of r.out)i&&"comment"===e.type||(t+=d(n+t.length-(o?1:0),e));return o?t.substring(1,t.length-1):r?.is_xml_js?e.substring(r.begin+1,r.end-1):t}if("xml"===r.type){0===r.tag.length?r.tag="null":r.tag[0]!==r.tag[0].toUpperCase()&&(r.tag=`"${r.tag}"`);let e="",o=!0;for(const t of r.js_attributes)e+=`${o?"":", "}${d(n+e.length,t,!1)}`,o=!1;if(r.attributes)for(const t in r.attributes)e+=`${o?"":", "}"${t}": ${d(n+e.length,r.attributes[t],!0)}`,o=!1;if(e+=" }",r.out)for(const t of r.out){const r=d(n+e.length,t,!0,!0);r.length>0&&(e+=`, ${r}`,o=!1)}return getRowCol(c,r.begin),e=`${t}( ${r.tag}, { ${e} )`,e}};let h="";a&&(h=`/*LILACTBLOCK${++o.counter}:0,0:<EXEC>*/try{`),h+=d(h.length,u),a&&(transpilerConfig.enableLabelStack?h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${o.counter},e.lilact_trace];throw e}`:h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${o.counter};throw e}`);const f=generateSourceMap(u,n,c,scanEOLs(h),i);if(r&&(h+=f),globalThis[TRANSPILER_OUTPUT]){try{Promise.resolve().then(function(){var e=new Error("Cannot find module 'fs'");throw e.code="MODULE_NOT_FOUND",e}).writeFileSync(globalThis[TRANSPILER_OUTPUT],h)}catch(e){}globalThis[TRANSPILER_OUTPUT]=void 0}return h}},556:(e,t,n)=>{e.exports=n(694)()},694:(e,t,n)=>{var r=n(925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},861:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{lazy:()=>lazy,require:()=>require,run:()=>run,runScripts:()=>runScripts});var _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(969);const[CORE,COMPONENT,LAZY]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:LAZY")];function run(jsx,path=`<string input ${++_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.eval_num}>`,is_inline=!0){const mappings=[],module={};let processed;_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.required_scripts[path]={mappings,module,is_inline,path,code:jsx};try{processed=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.transpileJSX(jsx,{path,mappings,factory:"Lilact.createComponent",append_sourcemap:!is_inline,blocks_info:_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.blocks_info,injectTraceLabels:!0})}catch(e){throw _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.error=e,e}_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.scanBlockLabels(processed,path);try{globalThis.Lilact=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A;const res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.traceError(e),e}}function require(e,t){if("#"===e[0]){const t=document.getElementById(e);if(t)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.innerText,e)}else{if(_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A?.[LAZY])return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A[LAZY]=!1,fetch(e).then(e=>{if(!e.ok)throw new Error(`HTTP ${e.status}`);return e.text()}).then(t=>(t=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t,e,!1),t?.default??t)).catch(e=>{throw e});{const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(null),200===t.status)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.responseText,e,!1)}}throw`required resource not found (${e})`}function lazy(e){let t,n="pending";return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A[LAZY]=!0,t=e(),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.isThenable(t)&&t.then(e=>(n="success",t=e,t),e=>{throw n="error",t=e,e}),function(e){if("pending"===n)throw t;if("error"===n)throw t;const r=t;return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.createComponent(r,{...e})}}function scanScriptTagsWithType(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(e=>({src:e.getAttribute("src")??null,content:e.textContent??""}))}function runScripts(){const e=scanScriptTagsWithType();for(const t of e)t.src&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.require(t.src),t.content&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.A.run(t.content)}},862:(e,t,n)=>{n.r(t),n.d(t,{defineSymbols:()=>o,outputJS:()=>a,quote:()=>i});const r=Symbol.for("LILACT:TRANSPILER_OUTPUT");function o(e,t){void 0===t?(t=e,e=""):e+=":";const n=[],r=[];if(t instanceof Array){if(""!==e){"string"!=typeof e&&(e="");for(let o of t)r.push(o),n.push(`Symbol.for('${e}${o}')`)}else for(const e of t)r.push(e),n.push("Symbol()");return`const [${r.join(",")}]=[${n.join(",")}];`}}const i=e=>`"${String(e).replace(/(["\n])/g,"\\$1")}"`;function a(e){globalThis[r]=e}},919:(e,t,n)=>{n.d(t,{l:()=>i});let r={},o={};function i(...e){if("number"==typeof e)return a(e);let t="";for(let n=0;n<e.length;n+=1)t+=a(e[n]);return t}function a(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=31&e;(e>>>=5)>0&&(n|=32),t+=o[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,o[t]=e})},925:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},969:(e,t,n)=>{n.d(t,{I:()=>Gr,A:()=>Zr});var r={};n.r(r),n.d(r,{__DO_NOT_USE__ActionTypes:()=>b,applyMiddleware:()=>T,bindActionCreators:()=>k,combineReducers:()=>L,compose:()=>x,createStore:()=>v,isAction:()=>C,isPlainObject:()=>y,legacy_createStore:()=>w});var o={};n.r(o),n.d(o,{cache:()=>et,css:()=>Ve,cx:()=>Je,flush:()=>ze,getRegisteredStyles:()=>Ge,hydrate:()=>He,injectGlobal:()=>Ze,keyframes:()=>Ye,merge:()=>Xe,sheet:()=>Qe});var i={};n.r(i),n.d(i,{Children:()=>ut,Fragment:()=>lt,boolean_html_attributes_set:()=>It,classNames:()=>dt,current_component:()=>xt,deepEqual:()=>mt,eval_num:()=>kt,events_set:()=>Pt,findDOMNode:()=>ct,getComponentByPointer:()=>pt,id_num:()=>Et,isAsync:()=>gt,isClass:()=>_t,isEmpty:()=>ht,isError:()=>yt,isThenable:()=>bt,isValidElement:()=>st,layout_effects:()=>At,length_css_attributes_set:()=>Dt,required_scripts:()=>wt,roots:()=>St,shallowEqual:()=>ft,special_attributes:()=>Ot,toBool:()=>vt,update_cbs:()=>Ct,update_interval_margin:()=>Lt,update_set:()=>Tt,update_timeout:()=>{}});var a={};n.r(a),n.d(a,{Component:()=>Jt,HTMLComponent:()=>Xt,RootComponent:()=>Gt,createComponent:()=>Zt,createElement:()=>Qt,createRoot:()=>Yt,render:()=>Vt});var s={};n.r(s),n.d(s,{createContext:()=>an,forwardRef:()=>bn,useActionState:()=>mn,useCallback:()=>on,useContext:()=>sn,useDeferredValue:()=>gn,useEffect:()=>hn,useHook:()=>nn,useId:()=>cn,useImperativeHandle:()=>yn,useLayoutEffect:()=>dn,useLocalStorage:()=>un,useMemo:()=>fn,useReducer:()=>_n,useRef:()=>pn,useState:()=>rn,useTransition:()=>ln});var c={};n.r(c),n.d(c,{animationFramePromise:()=>Zn,clearInterval:()=>Hn,clearTimeout:()=>zn,grabTimers:()=>Jn,pauseTimers:()=>Wn,releaseTimers:()=>Xn,resetTimers:()=>Bn,resumeTimers:()=>qn,setInterval:()=>Fn,setTimeout:()=>Kn,timeoutPromise:()=>Gn});var l={};n.r(l),n.d(l,{CSSTransition:()=>ar,Transition:()=>ir,TransitionGroup:()=>sr});var u={};n.r(u),n.d(u,{addWrappedEventListener:()=>hr,createSyntheticEvent:()=>ur,releaseSyntheticEvent:()=>pr,wrapListener:()=>dr});var p={};n.r(p),n.d(p,{Provider:()=>_r,combineReducers:()=>wr,connect:()=>vr,useDispatch:()=>br,useSelector:()=>yr,useStore:()=>gr});var d={};n.r(d),n.d(d,{blocks_info:()=>Cr,error:()=>Sr,getErrorLocation:()=>Lr,globalErrorHandler:()=>Tr,mapLocation:()=>Er,scanBlockLabels:()=>kr,traceError:()=>xr});var h={};n.r(h),n.d(h,{HashRouter:()=>jr,Link:()=>Nr,NavLink:()=>Ur,Route:()=>Wr,Routes:()=>qr,useLocation:()=>Rr,useNavigate:()=>Mr});var f={};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. `}n.r(f),n.d(f,{ErrorBoundary:()=>Fr,Spinner:()=>Kr,Suspense:()=>zr});var _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),g=()=>Math.random().toString(36).substring(7).split("").join("."),b={INIT:`@@redux/INIT${g()}`,REPLACE:`@@redux/REPLACE${g()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${g()}`};function y(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function v(e,t,n){if("function"!=typeof e)throw new Error(m(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(m(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(m(1));return n(v)(e,t)}let r=e,o=t,i=new Map,a=i,s=0,c=!1;function l(){a===i&&(a=new Map,i.forEach((e,t)=>{a.set(t,e)}))}function u(){if(c)throw new Error(m(3));return o}function p(e){if("function"!=typeof e)throw new Error(m(4));if(c)throw new Error(m(5));let t=!0;l();const n=s++;return a.set(n,e),function(){if(t){if(c)throw new Error(m(6));t=!1,l(),a.delete(n),i=null}}}function d(e){if(!y(e))throw new Error(m(7));if(void 0===e.type)throw new Error(m(8));if("string"!=typeof e.type)throw new Error(m(17));if(c)throw new Error(m(9));try{c=!0,o=r(o,e)}finally{c=!1}return(i=a).forEach(e=>{e()}),e}return d({type:b.INIT}),{dispatch:d,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(m(10));r=e,d({type:b.REPLACE})},[_]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(m(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[_](){return this}}}}}function w(e,t,n){return v(e,t,n)}function L(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o;try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:b.INIT}))throw new Error(m(12));if(void 0===n(void 0,{type:b.PROBE_UNKNOWN_ACTION()}))throw new Error(m(13))})}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const a={};for(let o=0;o<r.length;o++){const s=r[o],c=n[s],l=e[s],u=c(l,t);if(void 0===u)throw t&&t.type,new Error(m(14));a[s]=u,i=i||u!==l}return i=i||r.length!==Object.keys(e).length,i?a:e}}function E(e,t){return function(...n){return t(e.apply(this,n))}}function k(e,t){if("function"==typeof e)return E(e,t);if("object"!=typeof e||null===e)throw new Error(m(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=E(o,t))}return n}function x(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function T(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(m(15))};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(a));return i=x(...s)(o.dispatch),{...o,dispatch:i}}}function C(e){return y(e)&&"type"in e&&"string"==typeof e.type}var S=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),A=Math.abs,O=String.fromCharCode,P=Object.assign;function D(e){return e.trim()}function I(e,t,n){return e.replace(t,n)}function j(e,t){return e.indexOf(t)}function R(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function $(e){return e.length}function U(e,t){return t.push(e),e}var B=1,W=1,q=0,K=0,F=0,z="";function H(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:B,column:W,length:a,return:""}}function J(e,t){return P(H("",null,null,"",null,null,0),e,{length:-e.length},t)}function X(){return F=K>0?R(z,--K):0,W--,10===F&&(W=1,B--),F}function G(){return F=K<q?R(z,K++):0,W++,10===F&&(W=1,B++),F}function Z(){return R(z,K)}function Y(){return K}function V(e,t){return M(z,e,t)}function Q(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 ee(e){return B=W=1,q=N(z=e),K=0,[]}function te(e){return z="",e}function ne(e){return D(V(K-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(F=Z())&&F<33;)G();return Q(e)>2||Q(F)>3?"":" "}function oe(e,t){for(;--t&&G()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return V(e,Y()+(t<6&&32==Z()&&32==G()))}function ie(e){for(;G();)switch(F){case e:return K;case 34:case 39:34!==e&&39!==e&&ie(F);break;case 40:41===e&&ie(e);break;case 92:G()}return K}function ae(e,t){for(;G()&&e+F!==57&&(e+F!==84||47!==Z()););return"/*"+V(t,K-1)+"*"+O(47===e?e:G())}function se(e){for(;!Q(Z());)G();return V(e,K)}var ce="-ms-",le="-moz-",ue="-webkit-",pe="comm",de="rule",he="decl",fe="@keyframes";function me(e,t){for(var n="",r=$(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function _e(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case he:return e.return=e.return||e.value;case pe:return"";case fe:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return N(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,p=a,d=0,h=0,f=0,m=1,_=1,g=1,b=0,y="",v=o,w=i,L=r,E=y;_;)switch(f=b,b=G()){case 40:if(108!=f&&58==R(E,p-1)){-1!=j(E+=I(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=ne(b);break;case 9:case 10:case 13:case 32:E+=re(f);break;case 92:E+=oe(Y()-1,7);continue;case 47:switch(Z()){case 42:case 47:U(ve(ae(G(),Y()),t,n),c);break;default:E+="/"}break;case 123*m:s[l++]=N(E)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+u:-1==g&&(E=I(E,/\f/g,"")),h>0&&N(E)-p&&U(h>32?we(E+";",r,n,p-1):we(I(E," ","")+";",r,n,p-2),c);break;case 59:E+=";";default:if(U(L=ye(E,t,n,l,u,o,s,y,v=[],w=[],p),i),123===b)if(0===u)be(E,t,L,L,v,i,p,s,w);else switch(99===d&&110===R(E,3)?100:d){case 100:case 108:case 109:case 115:be(e,L,L,r&&U(ye(e,L,L,0,0,o,s,y,o,v=[],p),w),o,w,p,s,r?v:w);break;default:be(E,L,L,L,[""],w,0,s,w)}}l=u=h=0,m=g=1,y=E="",p=a;break;case 58:p=1+N(E),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==X())continue;switch(E+=O(b),b*m){case 38:g=u>0?1:(E+="\f",-1);break;case 44:s[l++]=(N(E)-1)*g,g=1;break;case 64:45===Z()&&(E+=ne(G())),d=Z(),u=p=N(y=E+=se(Y())),b++;break;case 45:45===f&&2==N(E)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],h=$(d),f=0,m=0,_=0;f<r;++f)for(var g=0,b=M(e,p+1,p=A(m=a[f])),y=e;g<h;++g)(y=D(m>0?d[g]+" "+b:I(b,/&\f/g,d[g])))&&(c[_++]=y);return H(e,t,n,0===o?de:s,c,l,u)}function ve(e,t,n){return H(e,t,n,pe,O(F),M(e,2,-2),0)}function we(e,t,n,r){return H(e,t,n,he,M(e,0,r),M(e,r+1,-1),r)}var Le=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)G();return V(e,K)},Ee=new WeakMap,ke=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ee.get(n))&&!r){Ee.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Le(K-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=O(r)}}while(r=G());return e}(ee(e),t))}(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},xe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Te(e,t){switch(function(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}(e,t)){case 5103:return ue+"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 ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+le+e+ce+e+e;case 6828:case 4268:return ue+e+ce+e+e;case 6165:return ue+e+ce+"flex-"+e+e;case 5187:return ue+e+I(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+ce+"flex-$1$2")+e;case 5443:return ue+e+ce+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return ue+e+ce+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+ce+I(e,"shrink","negative")+e;case 5292:return ue+e+ce+I(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+I(e,"-grow","")+ue+e+ce+I(e,"grow","positive")+e;case 4554:return ue+I(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,ue+"$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(N(e)-1-t>6)switch(R(e,t+1)){case 109:if(45!==R(e,t+4))break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+le+(108==R(e,t+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?Te(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==R(e,t+1))break;case 6444:switch(R(e,N(e)-3-(~j(e,"!important")&&10))){case 107:return I(e,":",":"+ue)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(45===R(e,14)?"inline-":"")+"box$3$1"+ue+"$2$3$1"+ce+"$2box$3")+e}break;case 5936:switch(R(e,t+11)){case 114:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+ce+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+ce+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=Te(e.value,e.length);break;case fe:return me([J(e,{value:I(e.value,"@","@"+ue)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([J(e,{props:[I(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([J(e,{props:[I(t,/:(plac\w+)/,":"+ue+"input-$1")]}),J(e,{props:[I(t,/:(plac\w+)/,":-moz-$1")]}),J(e,{props:[I(t,/:(plac\w+)/,ce+"input-$1")]})],r)}return""})}}],Se={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};function Ae(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Oe=/[A-Z]|^ms/g,Pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,De=function(e){return 45===e.charCodeAt(1)},Ie=function(e){return null!=e&&"boolean"!=typeof e},je=Ae(function(e){return De(e)?e:e.replace(Oe,"-$&").toLowerCase()}),Re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Pe,function(e,t,n){return Ne={name:t,styles:n,next:Ne},t})}return 1===Se[e]||De(e)||"number"!=typeof t||0===t?t:t+"px"};function Me(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ne={name:o.name,styles:o.styles,next:Ne},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ne={name:a.name,styles:a.styles,next:Ne},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Me(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Ie(s)&&(r+=je(i)+":"+Re(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Me(e,t,a);switch(i){case"animation":case"animationName":r+=je(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)Ie(a[l])&&(r+=je(i)+":"+Re(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Ne,c=n(e);return Ne=s,Me(e,t,c)}}var l=n;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var Ne,$e=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ue(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ne=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Me(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Me(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,c="";null!==(s=$e.exec(o));)c+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:Ne}}function Be(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function We(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function qe(e,t,n){var r=[],o=Be(e,r,n);return r.length<2?n:o+t(r)}var Ke=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},Fe=function(){var e=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ce,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var c,l,u,p,d=[_e,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],h=(l=[ke,xe].concat(i,d),u=$(l),function(e,t,n,r){for(var o="",i=0;i<u;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){c=n,me(ge(e?e+"{"+t.styles+"}":t.styles),h),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new S({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return f.sheet.hydrate(s),f}({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered,void 0);return function(e,t){!function(e,t){var n=e.key+"-"+t.name;void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,o),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return qe(e.registered,t,Ke(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered);We(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ue(n,e.registered),i="animation-"+o.name;return We(e,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(t){t.forEach(function(t){e.inserted[t]=!0})},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Be.bind(null,e.registered),merge:qe.bind(null,e.registered,t)}}(),ze=Fe.flush,He=Fe.hydrate,Je=Fe.cx,Xe=Fe.merge,Ge=Fe.getRegisteredStyles,Ze=Fe.injectGlobal,Ye=Fe.keyframes,Ve=Fe.css,Qe=Fe.sheet,et=Fe.cache,tt=n(556),nt=n.n(tt);const[rt,ot,it]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:MEMOIZED")],at=e=>{const t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},st=e=>void 0!==e[rt]||void 0!==e[TEXT],ct=e=>{if(!e[rt]?.element?.parentNode)throw"findDOMNode only works on mounted components.";return e[rt].element},lt=({children:e})=>e,ut={only(e){e=[...e];let t=0;for(;t<e.length;){if("Array"===e[t]?.constructor?.name?(e.splice(t,1,...e[t]),t--):null!==e[t]&&void 0!==e[t]||(e.splice(t,1),t--),t>1)throw"no child or child is not the only one";t++}if(1===e.length)return e[0]},toArray:e=>e?"Array"===e?.constructor?.name?[...e]:[e]:[]};function pt(){let e;const t=new Promise((t,n)=>{e=t});return window.addEventListener("click",function t(n){n.stopImmediatePropagation(),window.removeEventListener("click",t,!0);let r=n.target;for(;!r[ot]&&r.parentNode;)r=r.parentNode;return e(r[ot]),!1},!0),t}function dt(e){return Object.entries(e).filter(([e,t])=>t).map(([e,t])=>e).join(" ")}function ht(e){for(let t in e)return!1;return!0}const ft=(e,t)=>at(e)===at(t)&&("array"===at(e)?e.length===t.length&&e.every((e,n)=>e===t[n]):"object"===at(e)?Object.keys(e).every(n=>e[n]===t[n]):"date"===at(e)?e.getTime()===t.getTime():e===t);function mt(e,t){return at(e)===at(t)&&("array"===at(e)?e.length===t.length&&e.every((e,n)=>mt(e,t[n])):"object"===at(e)?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>mt(e[n],t[n])):"date"===at(e)?e.getTime()===t.getTime():e===t)}function _t(e){return!(!e||e.constructor!==Function||void 0===e.prototype)&&(Function.prototype!==Object.getPrototypeOf(e)||Object.getOwnPropertyNames(e.prototype).length>1)}function gt(e){return"function"==typeof e&&e.constructor&&"AsyncFunction"===e.constructor.name}function bt(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function yt(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function vt(e){if("boolean"==typeof e)return e;if("number"==typeof e)return 0!==e;if("string"==typeof e){if("true"===(e=e.trim().toLowerCase()))return!0;if("false"===e)return!1}return Boolean(e)}const wt={};let Lt=0,Et=Math.floor(1e4*Math.random()),kt=Math.floor(1e4*Math.random()),xt=[],Tt=new Set,Ct=new Set,St=new Set,At=new Set;const Ot=new Set(["classname","classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Pt=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"]),Dt=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"]),It=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]),[jt,Rt,Mt,Nt,$t,Ut,Bt]=[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")];class Wt{owner;current_map=new Map;new_map=new Map;pick_index=0;constructor(e){this.owner=e}pick(e,t){let n,r=this.current_map.get(e);return r&&r.length>r[$t]?(n=r[r[$t]],r[$t]++,r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[$t]=0)):(n=t(),r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[$t]=0),n[jt]&&(n[jt].parent??=this.owner)),n}commit(){this.current_map.forEach(e=>{e.slice(e[$t]).forEach(e=>{e.cleanup&&e.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}}class qt{component;props;constructor(e,t){this.component=e,this.props=t||{}}apply(e=this.props,t=this.next_state||this.state){if("function"==typeof t&&(t=t(this.state)),this.component.constructor.defaultProps&&(e={...this.component.constructor.defaultProps,...e}),!this.component.shouldComponentUpdate||this.component.shouldComponentUpdate(t,e,this.context)){if("string"==typeof this.entity&&(this.element instanceof Element||(this.element=document.createElement(this.entity),e?.defaultValue&&(this.element.value=String(e.defaultValue).slice(0,e?.maxLength)),e?.defaultChecked&&(this.element.checked=e.defaultChecked)),this.element[Rt]=this.component),e.ref&&(this.element?e.ref.current=this.element:e.ref.current=this.component),void 0!==e&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(e),this.component.componentWillUpdate&&this.component.componentWillUpdate(e,t),this.state,this.props,this.element&&this.updateElementProps(e),this.props=e,"object"==typeof this.next_state)this.state?Object.assign(this.state,t):this.state={...t};else if(void 0!==this.next_state)throw"Component.setState only accepts objects or functions is new state.";if(this.next_state&&delete this.next_state,void 0!==this.hooks){this.hook_index=0,Lilact.current_component=[this,Lilact.current_component];try{this.outlet=this.component.render(e)}catch(e){Kt(this,e)}Lilact.current_component=Lilact.current_component[1]}else try{this.outlet=this.component.render()}catch(e){Kt(this,e)}"Array"!==this.outlet?.constructor?.name&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let e=0;e<this.outlet.length;e++){let t=this.outlet[e];if(null==t||"boolean"==typeof t)this.outlet.splice(e,1),e--;else if("function"==typeof t){const n=this.childFunctionHandler(t);this.outlet.splice(e,1,n),e--}else if("Array"===t.constructor.name)this.outlet.splice(e,1,...t),e--;else{const n=Ft(this,t);this.outlet[e]=n,void 0===n[Mt]?(n.container=this.element?this:this.container,n.apply(t.props)):n.element?n[Mt]!==t[Mt]&&(n.element.textContent=t[Mt],n[Mt]=t[Mt]):(n.element=document.createTextNode(t[Mt]),n[Mt]=t[Mt])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(prev_props,prev_state,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){try{if(this.component.componentWillUnmount&&this.component.componentWillUnmount(),this?.element?.parentElement&&this.element.parentElement.removeChild(this.element),void 0!==this.outlet)for(let e of this.outlet)e.cleanup&&e.cleanup();if(void 0!==this.props?.children)for(let e of this.props.children)e.cleanup&&e.cleanup();if(void 0!==this.hooks)for(let e of this.hooks)e.cleanup&&e.cleanup()}catch(e){throw e}}updateElementProps(e,t=!1){"input"===this.entity?(e?.type||(e.type="text"),e.type!==this.element.type&&(this.element.type=e.type),void 0!==e?.value&&e?.value!==this.element.value&&(void 0===e.value&&(e.value=""),this.element.value=String(e.value).slice(0,e?.maxLength))):"textarea"===this.entity?e?.value!==this.element.value&&(this.element.value=String(e.value).slice(0,e?.maxLength)):"select"===this.entity&&e?.value!==this.element.value&&Lilact.setTimeout(()=>this.element.value=String(e.value),0);for(let t in this.props){const n=t.toLowerCase();e.hasOwnProperty(t)||(Lilact.events_set.has(n)?this.event_detachers[n]():this.element.setAttribute(t,void 0))}for(let n in e){const r=n.toLowerCase();if(!Lilact.special_attributes.has(r)&&(e===this.props||!Lilact.defaultIsEqual(e[n],this.props[n])||t))if(Lilact.events_set.has(r))this.event_detachers??={},this.event_detachers[r]?.(),this.event_detachers[r]=Lilact.addWrappedEventListener(this.element,r.substring(2),e[n]);else if("style"===r){for(const t in e[n])isFinite(e[n][t])&&(e[n][t]+="px");Object.assign(this.element.style,e[n])}else Lilact.boolean_html_attributes_set.has(n)?this.element[n]=Lilact.toBool(e[n]):"autoFocus"===n?this.element.autofocus=Lilact.toBool(e[n]):"htmlFor"===n?this.element.setAttribute("for",e[n]):"value"===r&&-1!==["input","textarea","select"].indexOf(this.entity)||this.element.setAttribute(r,e[n])}this.element.onsubmit=e?.action?e.action:void 0,this.updateElementClass(e)}updateElementClass(e=this.props){let t=e?.className;if(t??=e?.class?e.class:"",this?.parent?.[Ut]&&(t+=" "+this?.parent?.[Ut]),t.length>0){t=t.split(/\s+/g);for(const e of Array.from(this.element.classList))-1===t.indexOf(e)&&this.element.classList.remove(e);for(const e of t)e.length>0&&this.element.classList.add(e)}else delete this.element.className}scanZombies(e,t){const n=e.element.childNodes;for(;n[e.insert_index]&&n[e.insert_index][Nt]&&n[e.insert_index]!==t;)e.insert_index++}appendElement(e){this.scanZombies(e.container,e.element),null===e?.element.parentNode?(e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e?.component?.componentDidMount&&e.component.componentDidMount()):e.container.element.childNodes[e.container.insert_index]!==e.element&&e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e.container.insert_index++}arrangeOutlet(){this.insert_index=0;for(const e of this.outlet)e&&(e.element?(e.container=this.element?this:this.container,e.container.appendElement(e)):(e.arrangeOutlet&&e.arrangeOutlet(),e?.mounted||(e.mounted=!0,e?.component?.componentDidMount&&e.component.componentDidMount())))}childFunctionHandler(e){return e(this.state)}}const Kt=(e,t)=>{const n=[e];for(;e&&!e?.component?.componentDidCatch;)(e=e.parent)&&n.push(e);e?.component?.componentDidCatch&&e.entity?.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,e=>"in "+(("string"==typeof e.entity?e.entity:e.entity?.name)||e.component?.name||e.constructor?.name)??"undefined").join("\n");if(t.componentStack=n,t.componentStackLog=r,!e?.component?.componentDidCatch)throw t;e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r})};function Ft(e,t){try{return e.cache??=new Wt(e),t=e.cache.pick(void 0===t[Mt]?t?.props?.key:":text",()=>void 0!==t[Mt]||t instanceof qt?t:function(e,t){let n=e;if(void 0!==e[Mt]);else if("string"==typeof e.entity)n=new Xt(e.entity,e.props);else{if(Lilact.isClass(e.entity)){e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new e.entity(e.props);const t=Object.getOwnPropertyDescriptor(n,"state");t&&"function"!=typeof t.get&&"function"!=typeof t.set&&(n[jt].state=n.state,Object.defineProperty(n,"state",{get(){return this[jt].state},set(e){if(void 0!==this[jt].state)throw"assigning component state this way is not allowed.";this[jt].state=e}}))}else{if("function"!=typeof e.entity)throw"createComponent accepts a component class or a function or undefined for the first argument.";e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new Jt(e.props),n.render=e.entity.bind(n),n[jt].hooks=[],n[jt].hook_index=0}n[jt].entity=e.entity,e.container&&(n[jt].container=e.container)}return t instanceof qt&&(n[jt].parent=t),n}(t,e)[jt])}catch(e){if(!t?.component?.componentDidCatch)throw e;t.component.componentDidCatch(e)}}function zt(){requestAnimationFrame(()=>{let e=Lilact.layout_effects,t=Lilact.update_cbs,n=Lilact.update_set;Lilact.layout_effects=new Set,Lilact.update_cbs=new Set,Lilact.update_set=new Set;for(const t of e)t();for(const e of n)e.apply();for(const e of t)e()})}const Ht=(e,t)=>{let n;return void 0!==t.key?n=t.key:void 0!==t.id?n=":i:"+t.id:void 0!==t.path?n=":p:"+t.path:void 0!==t[Mt]?n=":text":(n="string"==typeof e?":t:"+e:e?e.name:"::",void 0!==t.name?n=n+":"+t.name:void 0!==t.path&&(n=n+":"+t.path)),n};class Jt{get state(){return this[jt].state}set state(e){if(void 0!==this[jt].state)throw"assigning component state this way is not allowed.";this[jt].state=e}get context(){return this[jt].context}set context(e){throw"assigning component context this way is not allowed."}get type(){return this[jt].entity}set type(e){throw"component type is immutable."}get props(){return this[jt].props}set props(e){throw"assigning component props this way is not allowed."}get ref(){return this[jt].ref}set ref(e){throw"component ref is immutable."}get key(){return this[jt].props.key}set key(e){throw"component key is immutable."}constructor(e){this[jt]=new qt(this,e)}forceUpdate(e){Lilact.clearTimeout(Lilact.update_timeout),Lilact.update_set.add(this[jt].container||this[jt]),e&&Lilact.update_cbs.add(e.bind(this)),Lilact.update_timeout=Lilact.setTimeout(zt,Lilact.update_interval_margin)}setState(e,t){void 0!==this.getSnapshotBeforeUpdate&&(this[jt].last_snapshot=this.getSnapshotBeforeUpdate(this[jt].props,this.state)),this[jt].next_state=e,this.forceUpdate(t?t.bind(this):void 0)}}class Xt extends Jt{constructor(e,t){super(t),this[jt].entity=e}render(){return this[jt].props.children}}class Gt extends Xt{constructor(e,t){super(":root",t),"string"==typeof this.element&&(e=document.querySelector(e)),this[jt].element=e;for(const e of t.children)e[jt]?e[jt].container=this[jt]:e.container=this[jt]}}function Zt(e,t={},...n){for(let e=0;e<n.length;e++){let t=n[e];null!=t&&"boolean"!=typeof t?(-1!==["number","bigint"].indexOf(typeof t)&&(t=t.toString()),n[e]="string"==typeof t?{[Mt]:t}:t):(n.splice(e,1),e--)}return null===e?n:(t.key=Ht(e,t),t.children=n,{entity:e,props:t})}function Yt(e){let t;return{render(n){if(t)throw"root already rendered!";return t=new Gt(e,{children:[n]}),Lilact.roots.add(t[jt]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Vt(e,t){if(e[jt]&&(e[jt].container||e[jt].parent))throw"component is already in use";return Yt(t).render(e)}const Qt=Zt,[en,tn]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")];function nn(){const e=Lilact.current_component[0];return void 0===e.hooks[e.hook_index]&&e.hooks.push({}),e.hooks[e.hook_index++]}function rn(e){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.value="function"==typeof e?e():e,t.set_func=function(e,t,n){t.value="function"==typeof n?n(t.value):n,e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],t)),[t.value,t.set_func]}function on(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"callback dependencies must be an array or omitted.";const n=Lilact.useHook();if(Lilact.isEmpty(n))n.callback=e;else if(void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps))return n.callback;return n?.cleanup&&n.cleanup(),n.deps=t,n.callback}function an(e){return{default:e,Provider:function({value:e,children:t}){return t}}}function sn(e){let t=Lilact.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let n=t.props?.value;return n??=e.default}return e.default}function cn(e="N"){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.id=e+Lilact.id_num++),t.id}function ln(){const e=Lilact.useHook();return Lilact.isEmpty(e)&&(e.count=0,e.func=async function(e,t,n){t.count++,1===t.count&&e.component.forceUpdate(),await n(),t.count--,0===t.count&&e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],e)),[0!=e.count,e.func]}function un(e,t){const n=Lilact.useHook();let r;try{r=JSON.parse(localStorage[e])}catch(e){}return void 0===r&&("function"==typeof t&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),Lilact.isEmpty(n)&&(n.value=r,n.set_func=function(t,n,r){"function"==typeof r&&(r=r(n.value)),r!==n.value&&(localStorage[e]=JSON.stringify(r),n.value=r,t.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],n)),[n.value,n.set_func]}function pn(e=null){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.current=e),t}function dn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"layout effect dependencies must be an array or omitted.";const n=Lilact.useHook();!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n?.cleanup&&n.cleanup(),n.deps=t,Lilact.layout_effects.add(()=>{n.cleanup=e()}),Lilact.current_component[0].component.forceUpdate())}function hn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"effect dependencies must be an array or omitted.";const n=Lilact.useHook();!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n?.cleanup&&n.cleanup(),n.deps=t,Lilact.setTimeout(()=>{n.cleanup=e()},0))}function fn(e,t=void 0){if(void 0!==t&&("object"!=typeof t||"Array"!==t.constructor.name))throw"memo dependencies must be an array or omitted.";const n=Lilact.useHook();return!Lilact.isEmpty(n)&&void 0!==t&&void 0!==n?.deps&&Lilact.shallowEqual(t,n.deps)||(n.deps=t,n.value=e(n.value)),n.value}function mn(e,t){const n=Lilact.useHook(),[r,o]=Lilact.useTransition();return Lilact.isEmpty(n)&&(n.state=t,n.form_action=t=>(event.preventDefault(),o(async()=>{const r=new FormData(t.target,t.submitter);n.state=await e(n.state,r)},[]),!1)),[n.state,n.form_action,r]}function _n(e,t,n){const r=Lilact.useHook();return Lilact.isEmpty(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(e,t,n){const r=t.reducer(t.state,n);Lilact.defaultIsEqual(r,t.state)||(t.state=r,e.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],r)),[r.state,r.dispatch]}function gn(e,t){const{useEffect:n,useRef:r,useState:o}=Lilact,[i,a]=o(void 0!==t?t:e),s=r(e),c=r(null);return n(()=>{if(s.current===e)return;s.current=e,null!=c.current&&(c.current.cancelled=!0,c.current=null);const t={cancelled:!1};return c.current=t,Promise.resolve().then(()=>{t.cancelled||(a(e),c.current=null)}),()=>{c.current&&(c.current.cancelled=!0,c.current=null)}},[e]),i}function bn(e){return t=>e({...t,ref:void 0},t.ref)}function yn(e,t,n=void 0){void 0!==n&&void 0!==e?.deps&&Lilact.shallowEqual(n,e.deps)||(e.deps=n,Lilact.setTimeout(()=>{"object"!=typeof e?.current&&(e.current={}),Object.assign(e.current,t(),0)},0))}var vn=n(861);const[wn,Ln,En,kn,xn,Tn,Cn,Sn]=[Symbol.for("LILACT:TIMERS:CORE"),Symbol.for("LILACT:TIMERS:IDX"),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")];let An,On=-1,Pn=[],Dn=-1,In={};const jn=window.setTimeout,Rn=window.setInterval,Mn=window.clearTimeout,Nn=window.clearInterval;function $n(e,t=!1){const[n,r]=function(e){let t=0,n=Pn.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),o=Pn[r][En];if(o===e)return[r,Pn[r]];o<e?t=r+1:n=r-1}const r=[];return r[En]=e,Pn.splice(t,0,r),[t,r]}(e[En]);return t||(On++,In[On]=e,e[Ln]=On),r.push(e),Pn[0][0]===e&&(Mn(Dn),Dn=jn(Un,e[Tn])),On}function Un(){const e=Date.now();let t=0,n=Pn[t];for(;n&&n[En]-e<=0;){for(const e of n)e[xn]?delete In[e[Ln]]:(e[Cn](...e[Sn]),e[kn]?(e[En]=Date.now()+e[Tn],$n(e,!0)):delete In[e[Ln]]);t++,n=Pn[t]}Pn.splice(0,t),Pn.length>0&&(Mn(Dn),Dn=jn(Un,Pn[0][En]-e))}function Bn(){Mn(Dn),An=void 0,On=-1,Pn=[],Dn=-1,In={}}function Wn(){Mn(Dn),An=Date.now()}function qn(){if(An){if(Pn.length>0){const e=Date.now();An-=e;for(const e of Pn)e[En]-=An;Dn=jn(Un,Pn[0][En]-e)}An=void 0}}function Kn(e,t,...n){return $n({[Cn]:e,[Tn]:t,[En]:Date.now()+t,[kn]:!1,[Sn]:n})}function Fn(e,t,...n){return $n({[Cn]:e,[Tn]:t,[En]:Date.now()+t,[kn]:!0,[Sn]:n})}function zn(e){In[e]&&(In[e][xn]=!0)}function Hn(e){In[e]&&(In[e][xn]=!0)}function Jn(){globalThis.setTimeout=this.setTimeout,globalThis.setInterval=this.setInterval,globalThis.clearTimeout=this.clearTimeout,globalThis.clearInterval=this.clearInterval}function Xn(){globalThis.setTimeout=jn,globalThis.setInterval=Rn,globalThis.clearTimeout=Mn,globalThis.clearInterval=Nn}function Gn(e=0,t=this){let n,r,o;const i=new Promise((i,a)=>{r=i,o=a,n=t.setTimeout(()=>{r()},e)});return i.proceed=()=>{t.clearTimeout(n),r()},i.cancel=()=>{t.clearTimeout(n),o()},i}function Zn(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}const[Yn,Vn,Qn]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM")],er="unmounted",tr="exited",nr="entering",rr="entered",or="exiting";function ir({in:e,timeout:t=Lilact.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:i,onEntering:a,onEntered:s,onExit:c,onExiting:l,onExited:u,children:p,_classNames:d}){return this[Yn].is_mounted??=!n||e||o,this[Yn].is_appeared??=e,this[Yn].timer??=null,this[Yn].childFunctionHandler=e=>e(this[Yn].mount_state),this[Yn].mount_state||(this[Yn].is_mounted||(this[Yn].mount_state=er),this[Yn].mount_state=e?o&&!this[Yn].is_appeared?nr:rr:tr),hn(()=>()=>zn(this[Yn].timer),[]),hn(()=>{!this[Yn].is_appeared&&o&&this[Yn].mount_state===nr&&e&&(i?.(),requestAnimationFrame(()=>{a?.(!this[Yn].is_appeared),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=rr,this.forceUpdate(),this[Yn].is_appeared=!0,s?.(!this[Yn].is_appeared)},t)}))},[]),hn(()=>{if(e){if(this[Yn].is_mounted=!0,this[Yn].mount_state===nr||this[Yn].mount_state===rr)return;i?.(!this[Yn].is_appeared),this[Yn].mount_state=nr,this.forceUpdate(()=>{a?.(!this[Yn].is_appeared),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=rr,this.forceUpdate(),this[Yn].is_appeared=!0,s?.()},t)})}else{if(this[Yn].mount_state===er||this[Yn].mount_state===or||this[Yn].mount_state===tr)return;c?.(),this[Yn].mount_state=or,this.forceUpdate(()=>{l?.(),zn(this[Yn].timer),this[Yn].timer=Kn(()=>{this[Yn].mount_state=tr,this.forceUpdate(),u?.(),r&&(this[Yn].is_mounted=!1,this[Yn].mount_state=er,this.forceUpdate())},t)})}},[e,t]),this[Yn].is_mounted?(d&&(this[Yn].mount_state===nr?this[Yn].is_appeared?this[Yn][Qn]=d.appearActive:this[Yn][Qn]=d.enterActive:this[Yn].mount_state===rr?this[Yn].is_appeared?this[Yn][Qn]=d.appearDone:this[Yn][Qn]=d.enterDone:this[Yn].mount_state===or?this[Yn][Qn]=d.exitActive:this[Yn].mount_state===tr&&(this[Yn][Qn]=d.exitDone)),p):null}function ar({in:e,timeout:t=defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:i=!1,children:a,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:d}){return"string"==typeof n&&(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`}),Lilact.createComponent(ir,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:i,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:d,_classNames:n},a)}function sr({children:e}){return e}"undefined"==typeof Element||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}),"undefined"==typeof Event||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});const cr=[],lr=10;function ur(e,t){const n=cr.length?cr.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.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.nativeEvent=e,n.key=e.key||null,n.code=e.code||null,n.which=e.which||e.keyCode||null;try{const e=n.target;n.value=e&&"value"in e?e.value:void 0,n.checked=e&&"checked"in e?e.checked:void 0}catch(e){n.value=void 0,n.checked=void 0}return n.path="function"==typeof e.composedPath?e.composedPath():[n.target],n}function pr(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.key=null,e.code=null,e.which=null,e.value=void 0,e.checked=void 0,e.path=null,cr.length<lr&&cr.push(e))}function dr(e,t={}){const{stopPropagationOnTrueReturn:n=!1}=t;return function(t){const r=ur(t,this||t.currentTarget||null);try{const t=e(r);n&&!0===t&&r.stopPropagation()}finally{pr(r)}}}function hr(e,t,n,r={}){const o=dr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}const[fr]=[Symbol.for("LILACT:CORE")];let mr;function _r({store:e,children:t}){return mr??=Lilact.createContext(null),Lilact.createComponent(mr.Provider,{value:e},t)}function gr(){const e=Lilact.useContext(mr);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function br(){return Lilact.useStore().dispatch}function yr(e,t=(e,t)=>e===t){const n=Lilact.useStore(),r=Lilact.useRef(),o=Lilact.useRef(e);o.current=e;const[i,a]=Lilact.useState(()=>e(n.getState()));return r.current=i,Lilact.useEffect(()=>{function e(){const e=o.current(n.getState());t(r.current,e)||(r.current=e,a(e))}const i=n.subscribe(e);return e(),i},[n,t]),i}function vr(e,t){return Boolean(e),function(n){return function(r){const o=Lilact.useStore();let i={dispatch:o.dispatch};if("function"==typeof t)i=t(o.dispatch,r);else if("object"==typeof t&&null!==t){i={};const e=o.dispatch;for(const n in t){const r=t[n];i[n]=(...t)=>e(r(...t))}}let a={};if(e){const t=t=>e(t,r);a=Lilact.useSelector(t,Lilact.shallowEqual)||{}}const s={...r,...a,...i};return Lilact.createComponent(n,{...s})}}}function wr(e){const t=Object.keys(e);for(const n of t)if("function"!=typeof e[n])throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(n={},r){let o=!1;const i={};for(const a of t){const t=e[a],s=n[a],c=t(s,r);i[a]=c,o=o||c!==s}return o?i:n}}function Lr(e){if(void 0!==e.lineno||void 0!==e.line||void 0!==e.lineNumber)return[e.lineNumber||e.lineno||e.line,e.columnNumber||e.colno||e.column];let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return null===t&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?[parseInt(t[1]),parseInt(t[2])]:null}function Er(e,t,n){let r=null;for(const o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][1]>=n)){r=e[o-1];break}return r||(r=e[e.length-1]),[t-r[0]+r[2],t-r[0]===0?r[3]:0]}function kr(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//gm)).forEach(e=>{Lilact.blocks_info.labels[e[1]]={path:t,desc:e[4]}})}function xr(e){if(e?.is_traced)return e;const t=Lilact.getErrorLocation(e),n={fileName:e.fileName,label:null,lineNumber:t[0],columnNumber:t[1],message:e.message,name:e.name,stack:null,_error:e,is_traced:!0};if("JSXParseError"!==e.name&&void 0!==e.lilact_trace){let t,r;r="object"==typeof e.lilact_trace?Lilact.blocks_info.labels[e.lilact_trace[0]]:Lilact.blocks_info.labels[e.lilact_trace],r&&(n.fileName=r.path,n.label=r.label,t=Lilact.required_scripts[r.path].mappings,[n.lineNumber,n.columnNumber]=Lilact.mapLocation(t,n.lineNumber-1,n.columnNumber-1))}return Lilact.error=n,n}function Tr(e){e.error&&(e=e.error),e=Lilact.traceError(e);const t=Lilact.emotion.css("\n\t\t\tbackground: linear-gradient(135deg, #fff2f2d4, #ffffffd4);\n\t\t\tbackdrop-filter: blur(10px);\n\t\t\tborder: 1px solid rgba(255,255,255,.25);\n\t\t\tborder-radius: 5px;\n\t\t\tbox-shadow: 0 10px 30px rgba(0,0,0,.35);\n\t\t\toverflow:hidden;\n\t\t\tmin-width: 400px;\n\t\t\twidth: 66%;\n\t\t\tred {\n\t\t\t\tcolor:#d00;\n\t\t\t}\n\t\t\tcode {\n\t\t\t\tborder: 1px solid #0003;\n\t\t\t\toverflow: auto;\n\t\t\t\tpadding: 10px;\n\t\t\t}\n\t\t"),n=document.createElement("dialog");if(n.className=t,n.innerHTML=`<h3 style=""><red>Error!</red></h3>\n\t\tAt <b>${e.fileName}: Line ${e.lineNumber+1}</b><br><br>\n\t\t<b>${e.name}</b>: <span>${e.message}</span><br><br>\n\t\t<code><pre></pre><pre><red></red></pre><pre></pre></code>\n\t\t${e._error.componentStackLog?"<br>Component Stack:<br><code><pre>"+e._error.componentStackLog+"</pre></code>":""}\n\t\t`,document.body.appendChild(n),Lilact.required_scripts[e.fileName]){const t=Lilact.required_scripts[e.fileName].code.split("\n");e.lineNumber>0&&(n.querySelectorAll("pre")[0].innerText=t[e.lineNumber-1]),n.querySelector("pre red").innerText=t[e.lineNumber],e.lineNumber<t.length-1&&(n.querySelectorAll("pre")[2].innerText=t[e.lineNumber+1])}n.showModal()}const Cr={counter:0,labels:{}};let Sr=null;const[Ar,Or]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")],Pr=an(null),Dr=an({params:{}}),Ir=e=>"string"==typeof e?e:(e.pathname||"")+(e.search||"")+(e.hash||"");function jr({children:e,basename:t=""}){const n=()=>{const e=(window.location.hash||"#/").slice(1).replace(new RegExp(`^${t}`),"")||"/",[n,r]=e.split("#"),[o,i=""]=n.split("?");return{pathname:o||"/",search:i?"?"+i:"",hash:r?"#"+r:"",state:history.state?.__state}},[r,o]=rn(n);hn(()=>{const e=()=>o(n());return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[t]);const i=on((e,{replace:r=!1,state:i}={})=>{const a=Ir(e),s="#"+(t+a);r?history.replaceState({__state:i},"",s):history.pushState({__state:i},"",s),o(n())},[t]);return Lilact.createComponent(Pr.Provider,{value:{location:r,navigate:i,basename:t}},e)}function Rr(){const e=sn(Pr);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Mr(){const e=sn(Pr);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Nr({to:e,replace:t=!1,state:n,onClick:r,target:o,download:i,className:a,style:s,children:c,...l}){const u=Mr(),p="#"+Ir(e);return Lilact.createComponent("a",{...l,href:p,onClick:function(i){r&&r(i),i.defaultPrevented||0!==i.button||o&&"_self"!==o||i.metaKey||i.altKey||i.ctrlKey||i.shiftKey||(i.preventDefault(),u(e,{replace:t,state:n}))},target:o,download:i,className:a,style:s},c)}function $r(e){return e&&e.replace(/\/+$/,"")||"/"}function Ur({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:i,replace:a=!1,state:s,children:c,onClick:l,...u}){const p=Mr(),d=Rr(),h="string"==typeof e?e.split("?")[0].split("#")[0]:e.pathname||"/",f=d.pathname||"/",m=t?$r(f)===$r(h):$r(f).startsWith($r(h)),_=["function"==typeof r?r({isActive:m}):r,m?n:null].filter(Boolean).join(" ")||void 0,g="function"==typeof i?i({isActive:m}):i,b=m?{...g||{},...o||{}}:g,y="#"+Ir(e);return Lilact.createComponent("a",{...u,href:y,onClick:function(t){l&&l(t),t.defaultPrevented||0!==t.button||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),p(e,{replace:a,state:s}))},className:_,style:b,"aria-current":m?"page":void 0},"function"==typeof c?c({isActive:m}):c)}function Br(e,t){if(null==e)return{matched:!0,params:{}};const{regex:n,paramNames:r}=function(e){const t=[];let n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]\/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(e,n)=>(t.push(n),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}(e),o=n.exec(t);if(!o)return{matched:!1};const i={};return r.forEach((e,t)=>i[e]=decodeURIComponent(o[t+1]||"")),o.length>r.length+1&&(i["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:i}}function Wr({path:e,element:t=null,children:n}){return null}function qr({children:e}){const t=Rr().pathname||"/",n=ut.toArray(e);for(let e=0;e<n.length;e++){const r=n[e],o=void 0===r.props.path?null:r.props.path,i=r.props.element??null,a=r.props.children,{matched:s,params:c}=Br(o,t);if(s)return i?Lilact.createComponent(Dr.Provider,{value:{params:c}},i):a?Lilact.createComponent(Dr.Provider,{value:{params:c}},Lilact.createComponent(qr,{},a)):Lilact.createComponent(Dr.Provider,{value:{params:c}},Lilact.createComponent("div",{}))}return null}function Kr({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":i="Loading"}){const a=Math.max(1,e)+"px";return Lilact.createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":i,role:"status"},Lilact.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"}}),Lilact.createComponent("style",{},"\n @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }\n "))}class Fr extends Jt{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){const{onError:n}=this.props;try{n&&n(e,t)}catch(e){console.error("onError threw",e)}}reset=()=>this.setState({hasError:!1,error:null});render(){const{Fallback:e,children:t}=this.props;return this.state.hasError?Lilact.createComponent(e,{error:this.state.error,reset:this.reset}):t}}class zr extends Jt{static defaultProps={minDelay:200,minShowTime:300};constructor(e){super(e),this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(e){if(Lilact.isThenable(e))return null;throw e}componentDidCatch(e){if(!Lilact.isThenable(e))return;const t=e;if(!this._pending.has(t)&&(this._pending.add(t),1===this._pending.size)){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null)}_attachPromise(e){if(this._pending.has(e))return;if(this._pending.add(e),1===this._pending.size){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}const t=()=>{if(this._pending.has(e)&&this._pending.delete(e),0===this._pending.size){if(this._delayTimer)return Lilact.clearTimeout(this._delayTimer),this._delayTimer=null,void this.setState({showingFallback:!1});const e=Date.now()-(this._fallbackShownAt||0),t=Math.max(0,this.props.minShowTime-e);0===t?this.setState({showingFallback:!1}):(this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=Lilact.setTimeout(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},t))}};e.then(t,t)}componentDidCatch(e,t){Lilact.isThenable(e)&&this._attachPromise(e)}render(){return this.state.showingFallback?Lilact.createComponent(null,{},this.props.fallback):Lilact.createComponent(null,{},this.props.children)}}const Hr=(e,t,n)=>Number.isFinite(e)?Math.min(n,Math.max(t,e)):e,Jr=bn(function({mode:e="horizontal",position:t,defaultPosition:n=.5,min:r=.1,max:o=.9,splitterSize:i=8,onSizeChange:a,style:s,className:c,leftPaneStyle:l,rightPaneStyle:u,splitterStyle:p,children:d},h){const f=pn(null),m=ut.toArray(d),_=m[0]??null,g=m[1]??null,b=null!=t,[y,v]=rn(e),[w,L]=rn(()=>Hr(t??n,r,o));hn(()=>{null!=e&&v(e)},[e]),dn(()=>{b||L(e=>Hr(e,r,o))},[r,o,b]);const E=b?Hr(t,r,o):w,k=e=>{const t=Hr(e,r,o);b||L(t),a?.(t)},x=pn(!1),T=pn(null),C=(e,t)=>{const n=f.current;if(!n)return;const r=n.getBoundingClientRect();if("horizontal"===y){const t=r.width;if(!Number.isFinite(t)||t<=0)return;const n=(e-r.left)/t;if(!Number.isFinite(n))return;k(n)}else{const e=r.height;if(!Number.isFinite(e)||e<=0)return;const n=(t-r.top)/e;if(!Number.isFinite(n))return;k(n)}};hn(()=>{const e=e=>{x.current&&(null!=T.current&&e.pointerId!==T.current||C(e.clientX,e.clientY))},t=e=>{x.current&&(null!=T.current&&e.pointerId!==T.current||(x.current=!1,T.current=null))};return window.addEventListener("pointermove",e,{passive:!0}),window.addEventListener("pointerup",t,{passive:!0}),window.addEventListener("pointercancel",t,{passive:!0}),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[y]);const S=fn(()=>({leftPct:100*E+"%",rightCalc:`calc(${100-100*E}% - ${i}px)`}),[E,i]),A={display:"flex",width:"100%",height:"100%",overflow:"hidden",touchAction:"none",...s||{},flexDirection:"horizontal"===y?"row":"column"},O="horizontal"===y?{width:S.leftPct,flex:`0 0 ${S.leftPct}`,overflow:"auto",...l||{}}:{height:S.leftPct,flex:`0 0 ${S.leftPct}`,overflow:"auto",...l||{}},P="horizontal"===y?{width:S.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}}:{height:S.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}},D="horizontal"===y?{width:`${i}px`,height:"100%",flex:`0 0 ${i}px`,background:"rgba(0,0,0,0.08)",cursor:"col-resize",...p||{}}:{height:`${i}px`,width:"100%",flex:`0 0 ${i}px`,background:"rgba(0,0,0,0.08)",cursor:"row-resize",...p||{}},I="horizontal"===y?{height:"100%",width:"100%"}:{width:"100%",height:"100%"};return yn(h,()=>({setPosition:k,setMode:e=>v("vertical"===e?"vertical":"horizontal"),getPosition:()=>E,getMode:()=>y})),Lilact.createComponent("div",{ref:f,className:c,style:A},Lilact.createComponent("div",{style:O},_),Lilact.createComponent("div",{role:"separator","aria-orientation":"horizontal"===y?"vertical":"horizontal","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":E,tabIndex:0,onPointerDown:e=>{if(null==e.button||0===e.button){e.preventDefault(),x.current=!0,T.current=e.pointerId;try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}C(e.clientX,e.clientY)}},onPointerCancel:()=>{x.current=!1,T.current=null},onKeyDown:e=>{let t=0;"horizontal"===y?("ArrowLeft"===e.key&&(t=-.02),"ArrowRight"===e.key&&(t=.02)):("ArrowUp"===e.key&&(t=-.02),"ArrowDown"===e.key&&(t=.02)),0!==t&&(e.preventDefault(),k(E+t))},style:D},Lilact.createComponent("div",{style:I})),Lilact.createComponent("div",{style:P},g))});var Xr=n(207);const Gr={VERSION:"beta.5",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...i,...vn,...a,...s,...l,...p,...c,...u,...d,...h,...f,ResizablePane:Jr,transpileJSX:Xr.Y,transpilerConfig:Xr.B,PropTypes:nt(),redux:r,emotion:o};globalThis.Lilact=Gr,document.addEventListener("DOMContentLoaded",()=>{Gr.runScripts()});const Zr=Gr}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(969);const __webpack_exports__Lilact=__webpack_exports__.I,__webpack_exports__default=__webpack_exports__.A;export{__webpack_exports__Lilact as Lilact,__webpack_exports__default as default};
|
|
63
63
|
//# sourceMappingURL=lilact.production.min.js.map
|
|
@@ -4,7 +4,7 @@ extensively everywhere, so I included them.</p>
|
|
|
4
4
|
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="only"><span class="tsd-kind-method">only</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="only-1"><span class="tsd-kind-call-signature">only</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#only-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the only child from a children collection.</p>
|
|
5
5
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">children</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The children to read.</p>
|
|
6
6
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The single child (or null/exception based on the number of children).</p>
|
|
7
|
-
<aside class="tsd-sources"><ul><li>Defined in misc.js:
|
|
7
|
+
<aside class="tsd-sources"><ul><li>Defined in misc.js:109</li></ul></aside></div></li></ul></li><li class="tsd-parameter"><h5 id="toarray"><span class="tsd-kind-method">toArray</span><span class="tsd-signature-symbol">:</span> function</h5><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="toarray-1"><span class="tsd-kind-call-signature">toArray</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><a href="#toarray-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Converts component children into a flat array.</p>
|
|
8
8
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">children</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The children to convert.</p>
|
|
9
9
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><p>An array representation of the children.</p>
|
|
10
|
-
<aside class="tsd-sources"><ul><li>Defined in misc.js:
|
|
10
|
+
<aside class="tsd-sources"><ul><li>Defined in misc.js:136</li></ul></aside></div></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in misc.js:101</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
module.exports = function() {
|
|
2
2
|
|
|
3
3
|
return <>
|
|
4
|
-
<
|
|
4
|
+
<button onClick={()=>{doUnknown()}}>
|
|
5
|
+
Press to get Error!
|
|
6
|
+
</button>
|
|
7
|
+
|
|
8
|
+
<p>Notice that the onClick arrow handler body is wrapped in curly brackets. <br/><br/>
|
|
5
9
|
|
|
6
10
|
{"<button onClick={()=>{doUnknown()}}>"}<br/><br/>
|
|
7
11
|
|
|
8
|
-
JS runtimes currently lack a consistent
|
|
12
|
+
JS runtimes currently lack a consistent reporting mechanism for errors produced in eval,
|
|
9
13
|
and as Lilact runs the transpiled JSX in eval, tracing errors is very difficult.
|
|
10
14
|
I implemented a tracking mechanism to overcome this, but for the sake of efficiency,
|
|
11
|
-
it is block-based and locates the code that is in blocks. As a result, the callbacks
|
|
12
|
-
should be wrapped in a {" {} "}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<button onClick={()=>{doUnknown()}}>
|
|
16
|
-
Press to get Error!
|
|
17
|
-
</button>
|
|
15
|
+
it is block-based and only locates the code that is in {" {} "} blocks. As a result, the callbacks
|
|
16
|
+
should be wrapped in a {" {} "} to be tracable. It works otherwise, and the error itself will still
|
|
17
|
+
be shown, but it is not possible to display the exact location of the error.</p>
|
|
18
18
|
</>
|
|
19
19
|
|
|
20
20
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const { ErrorBoundary, useState } = Lilact;
|
|
2
|
+
|
|
3
|
+
function Demo() {
|
|
4
|
+
const [mode, setMode] = useState("safe"); // "safe" | "direct" | "deep"
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<div>
|
|
8
|
+
<p>
|
|
9
|
+
This is the same as ErrorBoundary demo, but without boundary.
|
|
10
|
+
</p>
|
|
11
|
+
<div style={{ marginBottom: 12 }}>
|
|
12
|
+
<button onClick={() => setMode("direct")}>Direct-child throws</button>{" "}
|
|
13
|
+
<button onClick={() => setMode("deep")}>Deep-child throws</button>
|
|
14
|
+
</div>
|
|
15
|
+
{mode === "direct" && <ExplodingChild />}
|
|
16
|
+
{mode === "deep" && <DeepTree />}
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* Direct descendant that throws during render */
|
|
22
|
+
function ExplodingChild() {
|
|
23
|
+
throw new Error("Direct child error");
|
|
24
|
+
// return <div>won't render</div>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Deeply nested tree where a leaf throws */
|
|
28
|
+
function Leaf() {
|
|
29
|
+
throw new Error("Deep child error");
|
|
30
|
+
// return <div>leaf</div>;
|
|
31
|
+
}
|
|
32
|
+
function Middle() {
|
|
33
|
+
return <div><Leaf /></div>;
|
|
34
|
+
}
|
|
35
|
+
function DeepTree() {
|
|
36
|
+
return <section><Middle /></section>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
module.exports = Demo;
|
|
@@ -2,7 +2,7 @@ module.exports = function() {
|
|
|
2
2
|
|
|
3
3
|
return <>
|
|
4
4
|
|
|
5
|
-
<p>Boolean attributes: literal JSX -> Lilact correct;
|
|
5
|
+
<p>Boolean attributes: literal JSX -> Lilact correct; HTML examples below intentionally look wrong</p>
|
|
6
6
|
<div style={{ fontFamily: "sans-serif" }}>
|
|
7
7
|
<h3>Boolean: disabled={false} (should NOT render disabled)</h3>
|
|
8
8
|
<input disabled={false} />
|
|
@@ -76,17 +76,17 @@ module.exports = function() {
|
|
|
76
76
|
<hr />
|
|
77
77
|
|
|
78
78
|
{/* JSX camelCase: works in Lilact; if pasted literally into HTML it’s “visibly wrong” because HTML won’t interpret JSX props */}
|
|
79
|
-
<h3>JSX attribute casing: className="..." (Lilact applies class;
|
|
79
|
+
<h3>JSX attribute casing: className="..." (Lilact applies class; HTML uses className literally)</h3>
|
|
80
80
|
<div className="demo" style={{ padding: 8, border: "1px solid #888" }}>
|
|
81
81
|
className target
|
|
82
82
|
</div>
|
|
83
83
|
|
|
84
|
-
<h3>HTML uses class; Lilact uses className (
|
|
84
|
+
<h3>HTML uses class; Lilact uses className (HTML would ignore className)</h3>
|
|
85
85
|
<div class="demo" style={{ padding: 8, border: "1px solid #888" }}>
|
|
86
|
-
(This one uses class, so
|
|
86
|
+
(This one uses class, so HTML is correct.)
|
|
87
87
|
</div>
|
|
88
88
|
|
|
89
|
-
<h3>JSX attribute casing: htmlFor="x" (Lilact links label;
|
|
89
|
+
<h3>JSX attribute casing: htmlFor="x" (Lilact links label; HTML uses htmlFor literally)</h3>
|
|
90
90
|
<label htmlFor="x_Lilact">Click label (Lilact should focus input)</label>
|
|
91
91
|
<input id="x_Lilact" type="text" placeholder="Focus target" />
|
|
92
92
|
|
|
@@ -94,16 +94,16 @@ module.exports = function() {
|
|
|
94
94
|
<label htmlFor="y_html">Click label (HTML should focus input)</label>
|
|
95
95
|
<input id="y_html" type="text" placeholder="Focus target" />
|
|
96
96
|
|
|
97
|
-
<h3>JSX: tabIndex={2} (Lilact sets focus order;
|
|
97
|
+
<h3>JSX: tabIndex={2} (Lilact sets focus order; HTML won’t)</h3>
|
|
98
98
|
<input tabIndex={2} defaultValue="tabIndex Lilact" />
|
|
99
99
|
|
|
100
|
-
<h3>JSX: readOnly={true} (Lilact makes readonly;
|
|
100
|
+
<h3>JSX: readOnly={true} (Lilact makes readonly; HTML won’t interpret readonly={true})</h3>
|
|
101
101
|
<input readOnly={true} defaultValue="readonly (Lilact)" />
|
|
102
102
|
|
|
103
|
-
<h3>JSX: maxLength={5} (Lilact enforces length;
|
|
103
|
+
<h3>JSX: maxLength={5} (Lilact enforces length; HTML won’t parse maxLength={5})</h3>
|
|
104
104
|
<input maxLength={5} defaultValue="123456789" />
|
|
105
105
|
<p style={{ margin: "4px 0 0" }}>
|
|
106
|
-
Type/try to enter more: Lilact will limit to 5 chars;
|
|
106
|
+
Type/try to enter more: Lilact will limit to 5 chars; HTML won’t.
|
|
107
107
|
</p>
|
|
108
108
|
</div>
|
|
109
109
|
</>
|
package/root/icon.png
ADDED
|
Binary file
|