lilact 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lilact.development.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/assets/hierarchy.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +13 -10
- package/docs/classes/accessories.Suspense.html +13 -10
- package/docs/classes/components.Component.html +14 -11
- package/docs/classes/components.HTMLComponent.html +14 -11
- package/docs/classes/components.RootComponent.html +13 -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/hierarchy.html +1 -1
- package/docs/static/demos/error-component-stack.jsx +1 -1
- package/docs/static/demos/error-init.jsx +1 -1
- package/docs/static/lilact.development.min.js +1 -1
- package/docs/static/lilact.production.min.js +1 -1
- package/package.json +1 -1
- package/root/demos/error-component-stack.jsx +1 -1
- package/root/demos/error-init.jsx +1 -1
- package/root/lilact.development.min.js +1 -1
- package/root/lilact.production.min.js +1 -1
- package/src/accessories.jsx +2 -0
- package/src/components.jsx +24 -11
- package/src/lilact.jsx +1 -1
- package/src/pane.jsx +4 -0
|
@@ -60,5 +60,5 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
60
60
|
|
|
61
61
|
*/
|
|
62
62
|
/*! For license information please see lilact.development.min.js.LICENSE.txt */
|
|
63
|
-
var __webpack_modules__={207:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{transpileJSX:()=>transpileJSX,transpilerConfig:()=>transpilerConfig});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__.encode(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 f="";a&&(f=`/*LILACTBLOCK${++o.counter}:0,0:<EXEC>*/try{`),f+=d(f.length,u),a&&(transpilerConfig.enableLabelStack?f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${o.counter},e.lilact_trace];throw e}`:f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${o.counter};throw e}`);const h=generateSourceMap(u,n,c,scanEOLs(f),i);if(r&&(f+=h),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],f)}catch(e){}globalThis[TRANSPILER_OUTPUT]=void 0}return f}},228:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))n.call(i,l)&&(s[l]=i[l]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},241:(e,t,n)=>{n.d(t,{Lilact:()=>uo,default:()=>po}),n.r(t);var r={};n.r(r),n.d(r,{__DO_NOT_USE__ActionTypes:()=>_,applyMiddleware:()=>T,bindActionCreators:()=>x,combineReducers:()=>k,compose:()=>S,createStore:()=>v,isAction:()=>C,isPlainObject:()=>g,legacy_createStore:()=>w});var o={};n.r(o),n.d(o,{cache:()=>mt,css:()=>ft,cx:()=>ct,flush:()=>at,getRegisteredStyles:()=>ut,hydrate:()=>st,injectGlobal:()=>pt,keyframes:()=>dt,merge:()=>lt,sheet:()=>ht});var i={};n.r(i),n.d(i,{Children:()=>xt,Fragment:()=>Lt,boolean_html_attributes_set:()=>Yt,classNames:()=>Tt,current_component:()=>qt,deepEqual:()=>At,eval_num:()=>Ut,events_set:()=>Ht,findDOMNode:()=>kt,getComponentByPointer:()=>St,id_num:()=>Nt,isAsync:()=>jt,isClass:()=>Pt,isEmpty:()=>Ct,isError:()=>$t,isThenable:()=>It,isValidElement:()=>Et,layout_effects:()=>Ft,length_css_attributes_set:()=>Jt,required_scripts:()=>Dt,roots:()=>zt,shallowEqual:()=>Ot,special_attributes:()=>Kt,toBool:()=>Rt,update_cbs:()=>Bt,update_interval_margin:()=>Mt,update_set:()=>Wt,update_timeout:()=>{}});var a={};n.r(a),n.d(a,{Component:()=>ln,HTMLComponent:()=>un,RootComponent:()=>pn,createComponent:()=>dn,createElement:()=>mn,createRoot:()=>fn,render:()=>hn});var s={};n.r(s),n.d(s,{createContext:()=>wn,forwardRef:()=>In,useActionState:()=>An,useCallback:()=>vn,useContext:()=>En,useDeferredValue:()=>jn,useEffect:()=>Cn,useHook:()=>gn,useId:()=>kn,useImperativeHandle:()=>$n,useLayoutEffect:()=>Tn,useLocalStorage:()=>xn,useMemo:()=>On,useReducer:()=>Pn,useRef:()=>Sn,useState:()=>bn,useTransition:()=>Ln});var c={};n.r(c),n.d(c,{animationFramePromise:()=>pr,clearInterval:()=>sr,clearTimeout:()=>ar,grabTimers:()=>cr,pauseTimers:()=>nr,releaseTimers:()=>lr,resetTimers:()=>tr,resumeTimers:()=>rr,setInterval:()=>ir,setTimeout:()=>or,timeoutPromise:()=>ur});var l={};n.r(l),n.d(l,{CSSTransition:()=>wr,Transition:()=>vr,TransitionGroup:()=>Er});var u={};n.r(u),n.d(u,{addWrappedEventListener:()=>Cr,createSyntheticEvent:()=>xr,releaseSyntheticEvent:()=>Sr,wrapListener:()=>Tr});var p={};n.r(p),n.d(p,{Provider:()=>Pr,combineReducers:()=>Dr,connect:()=>Rr,useDispatch:()=>Ir,useSelector:()=>$r,useStore:()=>jr});var d={};n.r(d),n.d(d,{blocks_info:()=>Br,error:()=>zr,getErrorLocation:()=>Mr,globalErrorHandler:()=>Wr,mapLocation:()=>Nr,scanBlockLabels:()=>Ur,traceError:()=>qr});var f={};n.r(f),n.d(f,{HashRouter:()=>Xr,Link:()=>Zr,NavLink:()=>eo,Route:()=>no,Routes:()=>ro,useLocation:()=>Gr,useNavigate:()=>Vr});var h={};n.r(h),n.d(h,{ErrorBoundary:()=>io,Spinner:()=>oo,Suspense:()=>ao});var m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),y=()=>Math.random().toString(36).substring(7).split("").join("."),_={INIT:`@@redux/INIT${y()}`,REPLACE:`@@redux/REPLACE${y()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${y()}`};function g(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 b(e){let t=typeof e;return t=function(e){if(void 0===e)return"undefined";if(null===e)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";const n=function(e){return"function"==typeof e.constructor?e.constructor.name:null}(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}(e),t}function v(e,t,n){if("function"!=typeof e)throw new Error(`Expected the root reducer to be a function. Instead, received: '${b(e)}'`);if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(`Expected the enhancer to be a function. Instead, received: '${b(n)}'`);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("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function p(e){if("function"!=typeof e)throw new Error(`Expected the listener to be a function. Instead, received: '${b(e)}'`);if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let t=!0;l();const n=s++;return a.set(n,e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");t=!1,l(),a.delete(n),i=null}}}function d(e){if(!g(e))throw new Error(`Actions must be plain objects. Instead, the actual type was: '${b(e)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if("string"!=typeof e.type)throw new Error(`Action "type" property must be a string. Instead, the actual type was: '${b(e.type)}'. Value was: '${e.type}' (stringified)`);if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,o=r(o,e)}finally{c=!1}return(i=a).forEach(e=>{e()}),e}return d({type:_.INIT}),{dispatch:d,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(`Expected the nextReducer to be a function. Instead, received: '${b(e)}`);r=e,d({type:_.REPLACE})},[m]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(`Expected the observer to be an object. Instead, received: '${b(t)}'`);function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[m](){return this}}}}}function w(e,t,n){return v(e,t,n)}function E(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function k(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];void 0===e[o]&&E(`No reducer provided for key "${o}"`),"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o,i;o={};try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:_.INIT}))throw new Error(`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(void 0===n(void 0,{type:_.PROBE_UNKNOWN_ACTION()}))throw new Error(`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${_.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;{const r=function(e,t,n,r){const o=Object.keys(t),i=n&&n.type===_.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!g(e))return`The ${i} has unexpected type of "${b(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const a=Object.keys(e).filter(e=>!t.hasOwnProperty(e)&&!r[e]);return a.forEach(e=>{r[e]=!0}),n&&n.type===_.REPLACE?void 0:a.length>0?`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${i}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`:void 0}(e,n,t,o);r&&E(r)}let a=!1;const s={};for(let o=0;o<r.length;o++){const i=r[o],c=n[i],l=e[i],u=c(l,t);if(void 0===u){const e=t&&t.type;throw new Error(`When called with an action of type ${e?`"${String(e)}"`:"(unknown type)"}, the slice reducer for key "${i}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}s[i]=u,a=a||u!==l}return a=a||r.length!==Object.keys(e).length,a?s:e}}function L(e,t){return function(...n){return t(e.apply(this,n))}}function x(e,t){if("function"==typeof e)return L(e,t);if("object"!=typeof e||null===e)throw new Error(`bindActionCreators expected an object or a function, but instead received: '${b(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=L(o,t))}return n}function S(...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("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(a));return i=S(...s)(o.dispatch),{...o,dispatch:i}}}function C(e){return g(e)&&"type"in e&&"string"==typeof e.type}var O=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],n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n,this.isSpeedy){var r=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{r.insertRule(e,r.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}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,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),A=Math.abs,P=String.fromCharCode,j=Object.assign;function I(e){return e.trim()}function $(e,t,n){return e.replace(t,n)}function R(e,t){return e.indexOf(t)}function D(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function N(e){return e.length}function U(e){return e.length}function q(e,t){return t.push(e),e}var W=1,B=1,z=0,F=0,K=0,H="";function J(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:W,column:B,length:a,return:""}}function Y(e,t){return j(J("",null,null,"",null,null,0),e,{length:-e.length},t)}function X(){return K=F>0?D(H,--F):0,B--,10===K&&(B=1,W--),K}function G(){return K=F<z?D(H,F++):0,B++,10===K&&(B=1,W++),K}function V(){return D(H,F)}function Z(){return F}function Q(e,t){return M(H,e,t)}function ee(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 te(e){return W=B=1,z=N(H=e),F=0,[]}function ne(e){return H="",e}function re(e){return I(Q(F-1,ae(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(K=V())&&K<33;)G();return ee(e)>2||ee(K)>3?"":" "}function ie(e,t){for(;--t&&G()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return Q(e,Z()+(t<6&&32==V()&&32==G()))}function ae(e){for(;G();)switch(K){case e:return F;case 34:case 39:34!==e&&39!==e&&ae(K);break;case 40:41===e&&ae(e);break;case 92:G()}return F}function se(e,t){for(;G()&&e+K!==57&&(e+K!==84||47!==V()););return"/*"+Q(t,F-1)+"*"+P(47===e?e:G())}function ce(e){for(;!ee(V());)G();return Q(e,F)}var le="-ms-",ue="-moz-",pe="-webkit-",de="comm",fe="rule",he="decl",me="@keyframes";function ye(e,t){for(var n="",r=U(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 de:return"";case me:return e.return=e.value+"{"+ye(e.children,r)+"}";case fe:e.value=e.props.join(",")}return N(n=ye(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return ne(be("",null,null,null,[""],e=te(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,f=0,h=0,m=1,y=1,_=1,g=0,b="",v=o,w=i,E=r,k=b;y;)switch(h=g,g=G()){case 40:if(108!=h&&58==D(k,p-1)){-1!=R(k+=$(re(g),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:k+=re(g);break;case 9:case 10:case 13:case 32:k+=oe(h);break;case 92:k+=ie(Z()-1,7);continue;case 47:switch(V()){case 42:case 47:q(we(se(G(),Z()),t,n),c);break;default:k+="/"}break;case 123*m:s[l++]=N(k)*_;case 125*m:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+u:-1==_&&(k=$(k,/\f/g,"")),f>0&&N(k)-p&&q(f>32?Ee(k+";",r,n,p-1):Ee($(k," ","")+";",r,n,p-2),c);break;case 59:k+=";";default:if(q(E=ve(k,t,n,l,u,o,s,b,v=[],w=[],p),i),123===g)if(0===u)be(k,t,E,E,v,i,p,s,w);else switch(99===d&&110===D(k,3)?100:d){case 100:case 108:case 109:case 115:be(e,E,E,r&&q(ve(e,E,E,0,0,o,s,b,o,v=[],p),w),o,w,p,s,r?v:w);break;default:be(k,E,E,E,[""],w,0,s,w)}}l=u=f=0,m=_=1,b=k="",p=a;break;case 58:p=1+N(k),f=h;default:if(m<1)if(123==g)--m;else if(125==g&&0==m++&&125==X())continue;switch(k+=P(g),g*m){case 38:_=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(N(k)-1)*_,_=1;break;case 64:45===V()&&(k+=re(G())),d=V(),u=p=N(b=k+=ce(Z())),g++;break;case 45:45===h&&2==N(k)&&(m=0)}}return i}function ve(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],f=U(d),h=0,m=0,y=0;h<r;++h)for(var _=0,g=M(e,p+1,p=A(m=a[h])),b=e;_<f;++_)(b=I(m>0?d[_]+" "+g:$(g,/&\f/g,d[_])))&&(c[y++]=b);return J(e,t,n,0===o?fe:s,c,l,u)}function we(e,t,n){return J(e,t,n,de,P(K),M(e,2,-2),0)}function Ee(e,t,n,r){return J(e,t,n,he,M(e,0,r),M(e,r+1,-1),r)}function ke(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Le=function(e,t,n){for(var r=0,o=0;r=o,o=V(),38===r&&12===o&&(t[n]=1),!ee(o);)G();return Q(e,F)},xe=new WeakMap,Se=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)||xe.get(n))&&!r){xe.set(e,!0);for(var o=[],i=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===V()&&(t[n]=1),e[n]+=Le(F-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===V()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=G());return e}(te(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="")}},Ce=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Oe=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ae=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Pe=function(e,t,n){Oe(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ae(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Oe(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ae(e)))};function je(e,t){switch(function(e,t){return 45^D(e,0)?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}(e,t)){case 5103:return pe+"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 pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+ue+e+le+e+e;case 6828:case 4268:return pe+e+le+e+e;case 6165:return pe+e+le+"flex-"+e+e;case 5187:return pe+e+$(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return pe+e+le+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return pe+e+le+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+le+$(e,"shrink","negative")+e;case 5292:return pe+e+le+$(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+$(e,"-grow","")+pe+e+le+$(e,"grow","positive")+e;case 4554:return pe+$(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,pe+"$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(D(e,t+1)){case 109:if(45!==D(e,t+4))break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+ue+(108==D(e,t+3)?"$3":"$2-$3"))+e;case 115:return~R(e,"stretch")?je($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==D(e,t+1))break;case 6444:switch(D(e,N(e)-3-(~R(e,"!important")&&10))){case 107:return $(e,":",":"+pe)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(45===D(e,14)?"inline-":"")+"box$3$1"+pe+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(D(e,t+11)){case 114:return pe+e+le+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+le+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+le+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+le+e+e}return e}var Ie,$e=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=je(e.value,e.length);break;case me:return ye([Y(e,{value:$(e.value,"@","@"+pe)})],r);case fe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ye([Y(e,{props:[$(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ye([Y(e,{props:[$(t,/:(plac\w+)/,":"+pe+"input-$1")]}),Y(e,{props:[$(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[$(t,/:(plac\w+)/,le+"input-$1")]})],r)}return""})}}],Re=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Ie=function(e){var t=e.match(Re);if(t)return t[t.length-1]};var De={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},Me="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Ne=/[A-Z]|^ms/g,Ue=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qe=function(e){return 45===e.charCodeAt(1)},We=function(e){return null!=e&&"boolean"!=typeof e},Be=ke(function(e){return qe(e)?e:e.replace(Ne,"-$&").toLowerCase()}),ze=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ue,function(e,t,n){return Ze={name:t,styles:n,next:Ze},t})}return 1===De[e]||qe(e)||"number"!=typeof t||0===t?t:t+"px"},Fe=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Ke=["normal","none","initial","inherit","unset"],He=ze,Je=/^-ms-/,Ye=/-(.)/g,Xe={};ze=function(e,t){if("content"===e&&("string"!=typeof t||-1===Ke.indexOf(t)&&!Fe.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=He(e,t);return""===n||qe(e)||-1===e.indexOf("-")||void 0!==Xe[e]||(Xe[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Je,"ms-").replace(Ye,function(e,t){return t.toUpperCase()})+"?")),n};var Ge="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ve(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(r))throw new Error(Ge);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ze={name:o.name,styles:o.styles,next:Ze},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ze={name:a.name,styles:a.styles,next:Ze},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+=Ve(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]+"}":We(s)&&(r+=Be(i)+":"+ze(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(Ge);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Ve(e,t,a);switch(i){case"animation":case"animationName":r+=Be(i)+":"+c+";";break;default:"undefined"===i&&console.error("You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."),r+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)We(a[l])&&(r+=Be(i)+":"+ze(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=Ze,c=n(e);return Ze=s,Ve(e,t,c)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var l=[],u=n.replace(Ue,function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+u+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+u+"`")}var p=n;if(null==t)return p;var d=t[p];return void 0!==d?d:p}var Ze,Qe=/label:\s*([^\s;{]+)\s*(;|$)/g;function et(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="";Ze=void 0;var i=e[0];if(null==i||void 0===i.raw)r=!1,o+=Ve(n,t,i);else{var a=i;void 0===a[0]&&console.error(Me),o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Ve(n,t,e[s]),r){var c=i;void 0===c[s]&&console.error(Me),o+=c[s]}Qe.lastIndex=0;for(var l,u="";null!==(l=Qe.exec(o));)u+="-"+l[1];var p=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)+u;return{name:p,styles:o,next:Ze,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}function tt(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function nt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function rt(e,t,n){var r=[],o=tt(e,r,n);return r.length<2?n:o+t(r)}var ot=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},it=function(){var e=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");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=e.stylisPlugins||$e;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];o=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=[Se,Te];c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Ce(s))return;break}}o.forEach(function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}}}}({get compat(){return h.compat}}),Pe);var l,u,p,d=[_e,function(e){e.root||(e.return?l.insert(e.return):e.value&&e.type!==de&&l.insert(e.value+"{}"))}],f=(u=c.concat(r,d),p=U(u),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){if(l=n,Ie){var o=Ie(t.styles);o&&(l={insert:function(e){n.insert(e+o)}})}ye(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new O({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h}({key:"css"});e.sheet.speedy=function(e){if(0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");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=et(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 rt(e.registered,t,ot(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=et(n,e.registered);nt(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=et(n,e.registered),i="animation-"+o.name;return nt(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:tt.bind(null,e.registered),merge:rt.bind(null,e.registered,t)}}(),at=it.flush,st=it.hydrate,ct=it.cx,lt=it.merge,ut=it.getRegisteredStyles,pt=it.injectGlobal,dt=it.keyframes,ft=it.css,ht=it.sheet,mt=it.cache,yt=n(556),_t=n.n(yt);const[gt,bt,vt]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:MEMOIZED")],wt=e=>{const t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},Et=e=>void 0!==e[gt]||void 0!==e[TEXT],kt=e=>{if(!e[gt]?.element?.parentNode)throw"findDOMNode only works on mounted components.";return e[gt].element},Lt=({children:e})=>e,xt={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 St(){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[bt]&&r.parentNode;)r=r.parentNode;return e(r[bt]),!1},!0),t}function Tt(e){return Object.entries(e).filter(([e,t])=>t).map(([e,t])=>e).join(" ")}function Ct(e){for(let t in e)return!1;return!0}const Ot=(e,t)=>wt(e)===wt(t)&&("array"===wt(e)?e.length===t.length&&e.every((e,n)=>e===t[n]):"object"===wt(e)?Object.keys(e).every(n=>e[n]===t[n]):"date"===wt(e)?e.getTime()===t.getTime():e===t);function At(e,t){return wt(e)===wt(t)&&("array"===wt(e)?e.length===t.length&&e.every((e,n)=>At(e,t[n])):"object"===wt(e)?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>At(e[n],t[n])):"date"===wt(e)?e.getTime()===t.getTime():e===t)}function Pt(e){return!(!e||e.constructor!==Function||void 0===e.prototype)&&(Function.prototype!==Object.getPrototypeOf(e)||Object.getOwnPropertyNames(e.prototype).length>1)}function jt(e){return"function"==typeof e&&e.constructor&&"AsyncFunction"===e.constructor.name}function It(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function $t(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function Rt(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 Dt={};let Mt=0,Nt=Math.floor(1e4*Math.random()),Ut=Math.floor(1e4*Math.random()),qt=[],Wt=new Set,Bt=new Set,zt=new Set,Ft=new Set;const Kt=new Set(["classname","classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Ht=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"]),Jt=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"]),Yt=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]),[Xt,Gt,Vt,Zt,Qt,en,tn]=[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 nn{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[Qt]?(n=r[r[Qt]],r[Qt]++,r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Qt]=0)):(n=t(),r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Qt]=0),n[Xt]&&(n[Xt].parent??=this.owner)),n}commit(){this.current_map.forEach(e=>{e.slice(e[Qt]).forEach(e=>{e.cleanup&&e.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}}class rn{component;props;constructor(e,t){this.component=e,this.props=t||{}}apply(e=this.props,t=this.next_state||this.state){if(this.entity?.propTypes?Lilact.PropTypes.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):this.component?.propTypes&&Lilact.PropTypes.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),"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[Gt]=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){on(this,e)}Lilact.current_component=Lilact.current_component[1]}else try{this.outlet=this.component.render()}catch(e){on(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=an(this,t);this.outlet[e]=n,void 0===n[Vt]?(n.container=this.element?this:this.container,n.apply(t.props)):n.element?n[Vt]!==t[Vt]&&(n.element.textContent=t[Vt],n[Vt]=t[Vt]):(n.element=document.createTextNode(t[Vt]),n[Vt]=t[Vt])}}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?.[en]&&(t+=" "+this?.parent?.[en]),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][Zt]&&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 on=(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 an(e,t){try{return e.cache??=new nn(e),t=e.cache.pick(void 0===t[Vt]?t?.props?.key:":text",()=>void 0!==t[Vt]||t instanceof rn?t:function(e,t){let n=e;if(void 0!==e[Vt]);else if("string"==typeof e.entity)n=new un(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[Xt].state=n.state,Object.defineProperty(n,"state",{get(){return this[Xt].state},set(e){if(void 0!==this[Xt].state)throw"assigning component state this way is not allowed.";this[Xt].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 ln(e.props),n.render=e.entity.bind(n),n[Xt].hooks=[],n[Xt].hook_index=0}n[Xt].entity=e.entity,e.container&&(n[Xt].container=e.container)}return t instanceof rn&&(n[Xt].parent=t),n}(t,e)[Xt])}catch(e){if(!t?.component?.componentDidCatch)throw e;t.component.componentDidCatch(e)}}function sn(){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 cn=(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[Vt]?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 ln{get state(){return this[Xt].state}set state(e){if(void 0!==this[Xt].state)throw"assigning component state this way is not allowed.";this[Xt].state=e}get context(){return this[Xt].context}set context(e){throw"assigning component context this way is not allowed."}get type(){return this[Xt].entity}set type(e){throw"component type is immutable."}get props(){return this[Xt].props}set props(e){throw"assigning component props this way is not allowed."}get ref(){return this[Xt].ref}set ref(e){throw"component ref is immutable."}get key(){return this[Xt].props.key}set key(e){throw"component key is immutable."}constructor(e){this[Xt]=new rn(this,e)}forceUpdate(e){Lilact.clearTimeout(Lilact.update_timeout),Lilact.update_set.add(this[Xt].container||this[Xt]),e&&Lilact.update_cbs.add(e.bind(this)),Lilact.update_timeout=Lilact.setTimeout(sn,Lilact.update_interval_margin)}setState(e,t){void 0!==this.getSnapshotBeforeUpdate&&(this[Xt].last_snapshot=this.getSnapshotBeforeUpdate(this[Xt].props,this.state)),this[Xt].next_state=e,this.forceUpdate(t?t.bind(this):void 0)}}class un extends ln{constructor(e,t){super(t),this[Xt].entity=e}render(){return this[Xt].props.children}}class pn extends un{constructor(e,t){super(":root",t),"string"==typeof this.element&&(e=document.querySelector(e)),this[Xt].element=e;for(const e of t.children)e[Xt]?e[Xt].container=this[Xt]:e.container=this[Xt]}}function dn(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?{[Vt]:t}:t):(n.splice(e,1),e--)}return null===e?n:(t.key=cn(e,t),t.children=n,{entity:e,props:t})}function fn(e){let t;return{render(n){if(t)throw"root already rendered!";return t=new pn(e,{children:[n]}),Lilact.roots.add(t[Xt]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function hn(e,t){if(e[Xt]&&(e[Xt].container||e[Xt].parent))throw"component is already in use";return fn(t).render(e)}const mn=dn,[yn,_n]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")];function gn(){const e=Lilact.current_component[0];return void 0===e.hooks[e.hook_index]&&e.hooks.push({}),e.hooks[e.hook_index++]}function bn(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 vn(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 wn(e){return{default:e,Provider:function({value:e,children:t}){return t}}}function En(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 kn(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 xn(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 Sn(e=null){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.current=e),t}function Tn(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 Cn(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 On(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 An(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 Pn(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 jn(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 In(e){return t=>e({...t,ref:void 0},t.ref)}function $n(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 Rn=n(861);const[Dn,Mn,Nn,Un,qn,Wn,Bn,zn]=[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 Fn,Kn=-1,Hn=[],Jn=-1,Yn={};const Xn=window.setTimeout,Gn=window.setInterval,Vn=window.clearTimeout,Zn=window.clearInterval;function Qn(e,t=!1){const[n,r]=function(e){let t=0,n=Hn.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),o=Hn[r][Nn];if(o===e)return[r,Hn[r]];o<e?t=r+1:n=r-1}const r=[];return r[Nn]=e,Hn.splice(t,0,r),[t,r]}(e[Nn]);return t||(Kn++,Yn[Kn]=e,e[Mn]=Kn),r.push(e),Hn[0][0]===e&&(Vn(Jn),Jn=Xn(er,e[Wn])),Kn}function er(){const e=Date.now();let t=0,n=Hn[t];for(;n&&n[Nn]-e<=0;){for(const e of n)e[qn]?delete Yn[e[Mn]]:(e[Bn](...e[zn]),e[Un]?(e[Nn]=Date.now()+e[Wn],Qn(e,!0)):delete Yn[e[Mn]]);t++,n=Hn[t]}Hn.splice(0,t),Hn.length>0&&(Vn(Jn),Jn=Xn(er,Hn[0][Nn]-e))}function tr(){Vn(Jn),Fn=void 0,Kn=-1,Hn=[],Jn=-1,Yn={}}function nr(){Vn(Jn),Fn=Date.now()}function rr(){if(Fn){if(Hn.length>0){const e=Date.now();Fn-=e;for(const e of Hn)e[Nn]-=Fn;Jn=Xn(er,Hn[0][Nn]-e)}Fn=void 0}}function or(e,t,...n){return Qn({[Bn]:e,[Wn]:t,[Nn]:Date.now()+t,[Un]:!1,[zn]:n})}function ir(e,t,...n){return Qn({[Bn]:e,[Wn]:t,[Nn]:Date.now()+t,[Un]:!0,[zn]:n})}function ar(e){Yn[e]&&(Yn[e][qn]=!0)}function sr(e){Yn[e]&&(Yn[e][qn]=!0)}function cr(){globalThis.setTimeout=this.setTimeout,globalThis.setInterval=this.setInterval,globalThis.clearTimeout=this.clearTimeout,globalThis.clearInterval=this.clearInterval}function lr(){globalThis.setTimeout=Xn,globalThis.setInterval=Gn,globalThis.clearTimeout=Vn,globalThis.clearInterval=Zn}function ur(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 pr(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}const[dr,fr,hr]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM")],mr="unmounted",yr="exited",_r="entering",gr="entered",br="exiting";function vr({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[dr].is_mounted??=!n||e||o,this[dr].is_appeared??=e,this[dr].timer??=null,this[dr].childFunctionHandler=e=>e(this[dr].mount_state),this[dr].mount_state||(this[dr].is_mounted||(this[dr].mount_state=mr),this[dr].mount_state=e?o&&!this[dr].is_appeared?_r:gr:yr),Cn(()=>()=>ar(this[dr].timer),[]),Cn(()=>{!this[dr].is_appeared&&o&&this[dr].mount_state===_r&&e&&(i?.(),requestAnimationFrame(()=>{a?.(!this[dr].is_appeared),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=gr,this.forceUpdate(),this[dr].is_appeared=!0,s?.(!this[dr].is_appeared)},t)}))},[]),Cn(()=>{if(e){if(this[dr].is_mounted=!0,this[dr].mount_state===_r||this[dr].mount_state===gr)return;i?.(!this[dr].is_appeared),this[dr].mount_state=_r,this.forceUpdate(()=>{a?.(!this[dr].is_appeared),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=gr,this.forceUpdate(),this[dr].is_appeared=!0,s?.()},t)})}else{if(this[dr].mount_state===mr||this[dr].mount_state===br||this[dr].mount_state===yr)return;c?.(),this[dr].mount_state=br,this.forceUpdate(()=>{l?.(),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=yr,this.forceUpdate(),u?.(),r&&(this[dr].is_mounted=!1,this[dr].mount_state=mr,this.forceUpdate())},t)})}},[e,t]),this[dr].is_mounted?(d&&(this[dr].mount_state===_r?this[dr].is_appeared?this[dr][hr]=d.appearActive:this[dr][hr]=d.enterActive:this[dr].mount_state===gr?this[dr].is_appeared?this[dr][hr]=d.appearDone:this[dr][hr]=d.enterDone:this[dr].mount_state===br?this[dr][hr]=d.exitActive:this[dr].mount_state===yr&&(this[dr][hr]=d.exitDone)),p):null}function wr({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(vr,{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 Er({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 kr=[],Lr=10;function xr(e,t){const n=kr.length?kr.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 Sr(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,kr.length<Lr&&kr.push(e))}function Tr(e,t={}){const{stopPropagationOnTrueReturn:n=!1}=t;return function(t){const r=xr(t,this||t.currentTarget||null);try{const t=e(r);n&&!0===t&&r.stopPropagation()}finally{Sr(r)}}}function Cr(e,t,n,r={}){const o=Tr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}const[Or]=[Symbol.for("LILACT:CORE")];let Ar;function Pr({store:e,children:t}){return Ar??=Lilact.createContext(null),Lilact.createComponent(Ar.Provider,{value:e},t)}function jr(){const e=Lilact.useContext(Ar);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function Ir(){return Lilact.useStore().dispatch}function $r(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 Rr(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 Dr(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 Mr(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 Nr(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 Ur(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 qr(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 Wr(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 Br={counter:0,labels:{}};let zr=null;const[Fr,Kr]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")],Hr=wn(null),Jr=wn({params:{}}),Yr=e=>"string"==typeof e?e:(e.pathname||"")+(e.search||"")+(e.hash||"");function Xr({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]=bn(n);Cn(()=>{const e=()=>o(n());return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[t]);const i=vn((e,{replace:r=!1,state:i}={})=>{const a=Yr(e),s="#"+(t+a);r?history.replaceState({__state:i},"",s):history.pushState({__state:i},"",s),o(n())},[t]);return Lilact.createComponent(Hr.Provider,{value:{location:r,navigate:i,basename:t}},e)}function Gr(){const e=En(Hr);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Vr(){const e=En(Hr);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Zr({to:e,replace:t=!1,state:n,onClick:r,target:o,download:i,className:a,style:s,children:c,...l}){const u=Vr(),p="#"+Yr(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 Qr(e){return e&&e.replace(/\/+$/,"")||"/"}function eo({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=Vr(),d=Gr(),f="string"==typeof e?e.split("?")[0].split("#")[0]:e.pathname||"/",h=d.pathname||"/",m=t?Qr(h)===Qr(f):Qr(h).startsWith(Qr(f)),y=["function"==typeof r?r({isActive:m}):r,m?n:null].filter(Boolean).join(" ")||void 0,_="function"==typeof i?i({isActive:m}):i,g=m?{..._||{},...o||{}}:_,b="#"+Yr(e);return Lilact.createComponent("a",{...u,href:b,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:y,style:g,"aria-current":m?"page":void 0},"function"==typeof c?c({isActive:m}):c)}function to(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 no({path:e,element:t=null,children:n}){return null}function ro({children:e}){const t=Gr().pathname||"/",n=xt.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}=to(o,t);if(s)return i?Lilact.createComponent(Jr.Provider,{value:{params:c}},i):a?Lilact.createComponent(Jr.Provider,{value:{params:c}},Lilact.createComponent(ro,{},a)):Lilact.createComponent(Jr.Provider,{value:{params:c}},Lilact.createComponent("div",{}))}return null}function oo({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 io extends ln{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 ao extends ln{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 so=(e,t,n)=>Number.isFinite(e)?Math.min(n,Math.max(t,e)):e,co=In(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},f){const h=Sn(null),m=xt.toArray(d),y=m[0]??null,_=m[1]??null,g=null!=t,[b,v]=bn(e),[w,E]=bn(()=>so(t??n,r,o));Cn(()=>{null!=e&&v(e)},[e]),Tn(()=>{g||E(e=>so(e,r,o))},[r,o,g]);const k=g?so(t,r,o):w,L=e=>{const t=so(e,r,o);g||E(t),a?.(t)},x=Sn(!1),S=Sn(null),T=(e,t)=>{const n=h.current;if(!n)return;const r=n.getBoundingClientRect();if("horizontal"===b){const t=r.width;if(!Number.isFinite(t)||t<=0)return;const n=(e-r.left)/t;if(!Number.isFinite(n))return;L(n)}else{const e=r.height;if(!Number.isFinite(e)||e<=0)return;const n=(t-r.top)/e;if(!Number.isFinite(n))return;L(n)}};Cn(()=>{const e=e=>{x.current&&(null!=S.current&&e.pointerId!==S.current||T(e.clientX,e.clientY))},t=e=>{x.current&&(null!=S.current&&e.pointerId!==S.current||(x.current=!1,S.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)}},[b]);const C=On(()=>({leftPct:100*k+"%",rightCalc:`calc(${100-100*k}% - ${i}px)`}),[k,i]),O={display:"flex",width:"100%",height:"100%",overflow:"hidden",touchAction:"none",...s||{},flexDirection:"horizontal"===b?"row":"column"},A="horizontal"===b?{width:C.leftPct,flex:`0 0 ${C.leftPct}`,overflow:"auto",...l||{}}:{height:C.leftPct,flex:`0 0 ${C.leftPct}`,overflow:"auto",...l||{}},P="horizontal"===b?{width:C.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}}:{height:C.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}},j="horizontal"===b?{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"===b?{height:"100%",width:"100%"}:{width:"100%",height:"100%"};return $n(f,()=>({setPosition:L,setMode:e=>v("vertical"===e?"vertical":"horizontal"),getPosition:()=>k,getMode:()=>b})),Lilact.createComponent("div",{ref:h,className:c,style:O},Lilact.createComponent("div",{style:A},y),Lilact.createComponent("div",{role:"separator","aria-orientation":"horizontal"===b?"vertical":"horizontal","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":k,tabIndex:0,onPointerDown:e=>{if(null==e.button||0===e.button){e.preventDefault(),x.current=!0,S.current=e.pointerId;try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}T(e.clientX,e.clientY)}},onPointerCancel:()=>{x.current=!1,S.current=null},onKeyDown:e=>{let t=0;"horizontal"===b?("ArrowLeft"===e.key&&(t=-.02),"ArrowRight"===e.key&&(t=.02)):("ArrowUp"===e.key&&(t=-.02),"ArrowDown"===e.key&&(t=.02)),0!==t&&(e.preventDefault(),L(k+t))},style:j},Lilact.createComponent("div",{style:I})),Lilact.createComponent("div",{style:P},_))});var lo=n(207);const uo={VERSION:"beta.5",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...i,...Rn,...a,...s,...l,...p,...c,...u,...d,...f,...h,ResizablePane:co,transpileJSX:lo.transpileJSX,transpilerConfig:lo.transpilerConfig,PropTypes:_t(),redux:r,emotion:o};globalThis.Lilact=uo,document.addEventListener("DOMContentLoaded",()=>{uo.runScripts()}),window.addEventListener("error",e=>{uo.globalErrorHandler(e)}),console.log(`Lilact (Version: ${uo.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");const po=uo},363:(e,t,n)=>{e.exports=n(413)},376:e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},413:(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var f=e.type;switch(f){case l:case u:case o:case a:case i:case d:return f;default:var y=f&&f.$$typeof;switch(y){case c:case p:case m:case h:case s:return y;default:return t}}case r:return t}}}var w=l,E=u,k=c,L=s,x=n,S=p,T=o,C=m,O=h,A=r,P=a,j=i,I=d,$=!1;function R(e){return v(e)===u}t.AsyncMode=w,t.ConcurrentMode=E,t.ContextConsumer=k,t.ContextProvider=L,t.Element=x,t.ForwardRef=S,t.Fragment=T,t.Lazy=C,t.Memo=O,t.Portal=A,t.Profiler=P,t.StrictMode=j,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||v(e)===l},t.isConcurrentMode=R,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===_||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v}()},556:(e,t,n)=>{var r=n(363);e.exports=n(574)(r.isElement,!0)},574:(e,t,n)=>{var r,o=n(363),i=n(228),a=n(925),s=n(376),c=n(847);function l(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",p={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(l),arrayOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,r,o,i+"["+c+"]",a);if(l instanceof Error)return l}return null})},element:h(function(t,n,r,o,i){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:h(function(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+g(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return h(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null})},node:h(function(e,t,n,r,o){return _(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=g(c);if("object"!==l)return new f("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in c)if(s(c,u)){var p=e(c,u,r,o,i+"."+u,a);if(p instanceof Error)return p}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===b(t)?String(t):t});return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}):(r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),l)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(n)+" at index "+t+"."),l}return h(function(t,n,r,o,i){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,r,o,i,a);if(null==u)return null;u.data&&s(u.data,"expectedType")&&c.push(u.data.expectedType)}return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")})},shape:function(e){return h(function(t,n,r,o,i){var s=t[n],c=g(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return y(r,o,i,l,b(u));var p=u(s,l,r,o,i+"."+l,a);if(p)return p}return null})},exact:function(e){return h(function(t,n,r,o,c){var l=t[n],u=g(l);if("object"!==u)return new f("Invalid "+o+" `"+c+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var p=i({},t[n],e);for(var d in p){var h=e[d];if(s(e,d)&&"function"!=typeof h)return y(r,o,c,d,b(h));if(!h)return new f("Invalid "+o+" `"+c+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(l,d,r,o,c+"."+d,a);if(m)return m}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){var n={},o=0;function i(i,s,c,l,p,d,h){if(l=l||u,d=d||c,h!==a){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!=typeof console){var y=l+":"+c;!n[y]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[y]=!0,o++)}}return null==s[c]?i?null===s[c]?new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(s,c,l,p,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function m(e){return h(function(t,n,r,o,i,a){var s=t[n];return g(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function y(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!_(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!_(a[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function v(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,p.checkPropTypes=c,p.resetWarningCache=c.resetWarningCache,p.PropTypes=p,p}},847:(e,t,n)=>{var r=function(){},o=n(925),i={},a=n(376);function s(e,t,n,s,c){for(var l in e)if(a(e,l)){var u;try{if("function"!=typeof e[l]){var p=Error((s||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=e[l](t,l,s,n,null,o)}catch(e){u=e}if(!u||u instanceof Error||r((s||"React class")+": type specification of "+n+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var d=c?c():"";r("Failed "+n+" type: "+u.message+(null!=d?d:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},s.resetWarningCache=function(){i={}},e.exports=s},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__(241);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__.default.eval_num}>`,is_inline=!0){const mappings=[],module={};let processed;_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.required_scripts[path]={mappings,module,is_inline,path,code:jsx};try{processed=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpileJSX(jsx,{path,mappings,factory:"Lilact.createComponent",append_sourcemap:!is_inline,blocks_info:_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.blocks_info,injectTraceLabels:!0})}catch(e){throw _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.error=e,e}_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.required_scripts[path].processed=processed,_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.scanBlockLabels(processed,path);try{globalThis.Lilact=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default;const res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.traceError(e),e}}function require(e,t){if("#"===e[0]){const t=document.getElementById(e);if(t)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t.innerText,e)}else{if(_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default?.[LAZY])return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default[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__.default.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__.default.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__.default[LAZY]=!0,t=e(),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.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__.default.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__.default.require(t.src),t.content&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.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.r(t),n.d(t,{decode:()=>i,encode:()=>a});let r={},o={};function i(e){let t=[],n=0,o=0;for(let i=0;i<e.length;i+=1){let a=r[e[i]];if(void 0===a)throw new Error("Invalid character ("+e[i]+")");const s=32&a;if(a&=31,o+=a<<n,s)n+=5;else{const e=1&o;o>>>=1,e?t.push(0===o?-2147483648:-o):t.push(o),o=n=0}}return t}function a(...e){if("number"==typeof e)return s(e);let t="";for(let n=0;n<e.length;n+=1)t+=s(e[n]);return t}function s(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"}},__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__(241);const __webpack_exports__Lilact=__webpack_exports__.Lilact,__webpack_exports__default=__webpack_exports__.default;export{__webpack_exports__Lilact as Lilact,__webpack_exports__default as default};
|
|
63
|
+
var __webpack_modules__={207:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{transpileJSX:()=>transpileJSX,transpilerConfig:()=>transpilerConfig});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__.encode(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 f="";a&&(f=`/*LILACTBLOCK${++o.counter}:0,0:<EXEC>*/try{`),f+=d(f.length,u),a&&(transpilerConfig.enableLabelStack?f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${o.counter},e.lilact_trace];throw e}`:f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${o.counter};throw e}`);const h=generateSourceMap(u,n,c,scanEOLs(f),i);if(r&&(f+=h),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],f)}catch(e){}globalThis[TRANSPILER_OUTPUT]=void 0}return f}},228:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))n.call(i,l)&&(s[l]=i[l]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},241:(e,t,n)=>{n.d(t,{Lilact:()=>uo,default:()=>po}),n.r(t);var r={};n.r(r),n.d(r,{__DO_NOT_USE__ActionTypes:()=>_,applyMiddleware:()=>T,bindActionCreators:()=>x,combineReducers:()=>k,compose:()=>S,createStore:()=>v,isAction:()=>C,isPlainObject:()=>g,legacy_createStore:()=>w});var o={};n.r(o),n.d(o,{cache:()=>mt,css:()=>ft,cx:()=>ct,flush:()=>at,getRegisteredStyles:()=>ut,hydrate:()=>st,injectGlobal:()=>pt,keyframes:()=>dt,merge:()=>lt,sheet:()=>ht});var i={};n.r(i),n.d(i,{Children:()=>xt,Fragment:()=>Lt,boolean_html_attributes_set:()=>Yt,classNames:()=>Tt,current_component:()=>qt,deepEqual:()=>At,eval_num:()=>Ut,events_set:()=>Ht,findDOMNode:()=>kt,getComponentByPointer:()=>St,id_num:()=>Mt,isAsync:()=>jt,isClass:()=>Pt,isEmpty:()=>Ct,isError:()=>Rt,isThenable:()=>It,isValidElement:()=>Et,layout_effects:()=>Ft,length_css_attributes_set:()=>Jt,required_scripts:()=>Dt,roots:()=>zt,shallowEqual:()=>Ot,special_attributes:()=>Kt,toBool:()=>$t,update_cbs:()=>Bt,update_interval_margin:()=>Nt,update_set:()=>Wt,update_timeout:()=>{}});var a={};n.r(a),n.d(a,{Component:()=>ln,HTMLComponent:()=>un,RootComponent:()=>pn,createComponent:()=>dn,createElement:()=>mn,createRoot:()=>fn,render:()=>hn});var s={};n.r(s),n.d(s,{createContext:()=>wn,forwardRef:()=>In,useActionState:()=>An,useCallback:()=>vn,useContext:()=>En,useDeferredValue:()=>jn,useEffect:()=>Cn,useHook:()=>gn,useId:()=>kn,useImperativeHandle:()=>Rn,useLayoutEffect:()=>Tn,useLocalStorage:()=>xn,useMemo:()=>On,useReducer:()=>Pn,useRef:()=>Sn,useState:()=>bn,useTransition:()=>Ln});var c={};n.r(c),n.d(c,{animationFramePromise:()=>pr,clearInterval:()=>sr,clearTimeout:()=>ar,grabTimers:()=>cr,pauseTimers:()=>nr,releaseTimers:()=>lr,resetTimers:()=>tr,resumeTimers:()=>rr,setInterval:()=>ir,setTimeout:()=>or,timeoutPromise:()=>ur});var l={};n.r(l),n.d(l,{CSSTransition:()=>wr,Transition:()=>vr,TransitionGroup:()=>Er});var u={};n.r(u),n.d(u,{addWrappedEventListener:()=>Cr,createSyntheticEvent:()=>xr,releaseSyntheticEvent:()=>Sr,wrapListener:()=>Tr});var p={};n.r(p),n.d(p,{Provider:()=>Pr,combineReducers:()=>Dr,connect:()=>$r,useDispatch:()=>Ir,useSelector:()=>Rr,useStore:()=>jr});var d={};n.r(d),n.d(d,{blocks_info:()=>Br,error:()=>zr,getErrorLocation:()=>Nr,globalErrorHandler:()=>Wr,mapLocation:()=>Mr,scanBlockLabels:()=>Ur,traceError:()=>qr});var f={};n.r(f),n.d(f,{HashRouter:()=>Xr,Link:()=>Zr,NavLink:()=>eo,Route:()=>no,Routes:()=>ro,useLocation:()=>Gr,useNavigate:()=>Vr});var h={};n.r(h),n.d(h,{ErrorBoundary:()=>io,Spinner:()=>oo,Suspense:()=>ao});var m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),y=()=>Math.random().toString(36).substring(7).split("").join("."),_={INIT:`@@redux/INIT${y()}`,REPLACE:`@@redux/REPLACE${y()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${y()}`};function g(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 b(e){let t=typeof e;return t=function(e){if(void 0===e)return"undefined";if(null===e)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";const n=function(e){return"function"==typeof e.constructor?e.constructor.name:null}(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}(e),t}function v(e,t,n){if("function"!=typeof e)throw new Error(`Expected the root reducer to be a function. Instead, received: '${b(e)}'`);if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(`Expected the enhancer to be a function. Instead, received: '${b(n)}'`);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("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function p(e){if("function"!=typeof e)throw new Error(`Expected the listener to be a function. Instead, received: '${b(e)}'`);if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let t=!0;l();const n=s++;return a.set(n,e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");t=!1,l(),a.delete(n),i=null}}}function d(e){if(!g(e))throw new Error(`Actions must be plain objects. Instead, the actual type was: '${b(e)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if("string"!=typeof e.type)throw new Error(`Action "type" property must be a string. Instead, the actual type was: '${b(e.type)}'. Value was: '${e.type}' (stringified)`);if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,o=r(o,e)}finally{c=!1}return(i=a).forEach(e=>{e()}),e}return d({type:_.INIT}),{dispatch:d,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(`Expected the nextReducer to be a function. Instead, received: '${b(e)}`);r=e,d({type:_.REPLACE})},[m]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(`Expected the observer to be an object. Instead, received: '${b(t)}'`);function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[m](){return this}}}}}function w(e,t,n){return v(e,t,n)}function E(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function k(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];void 0===e[o]&&E(`No reducer provided for key "${o}"`),"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o,i;o={};try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:_.INIT}))throw new Error(`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(void 0===n(void 0,{type:_.PROBE_UNKNOWN_ACTION()}))throw new Error(`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${_.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;{const r=function(e,t,n,r){const o=Object.keys(t),i=n&&n.type===_.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!g(e))return`The ${i} has unexpected type of "${b(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const a=Object.keys(e).filter(e=>!t.hasOwnProperty(e)&&!r[e]);return a.forEach(e=>{r[e]=!0}),n&&n.type===_.REPLACE?void 0:a.length>0?`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${i}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`:void 0}(e,n,t,o);r&&E(r)}let a=!1;const s={};for(let o=0;o<r.length;o++){const i=r[o],c=n[i],l=e[i],u=c(l,t);if(void 0===u){const e=t&&t.type;throw new Error(`When called with an action of type ${e?`"${String(e)}"`:"(unknown type)"}, the slice reducer for key "${i}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}s[i]=u,a=a||u!==l}return a=a||r.length!==Object.keys(e).length,a?s:e}}function L(e,t){return function(...n){return t(e.apply(this,n))}}function x(e,t){if("function"==typeof e)return L(e,t);if("object"!=typeof e||null===e)throw new Error(`bindActionCreators expected an object or a function, but instead received: '${b(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=L(o,t))}return n}function S(...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("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(a));return i=S(...s)(o.dispatch),{...o,dispatch:i}}}function C(e){return g(e)&&"type"in e&&"string"==typeof e.type}var O=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],n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n,this.isSpeedy){var r=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{r.insertRule(e,r.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}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,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),A=Math.abs,P=String.fromCharCode,j=Object.assign;function I(e){return e.trim()}function R(e,t,n){return e.replace(t,n)}function $(e,t){return e.indexOf(t)}function D(e,t){return 0|e.charCodeAt(t)}function N(e,t,n){return e.slice(t,n)}function M(e){return e.length}function U(e){return e.length}function q(e,t){return t.push(e),e}var W=1,B=1,z=0,F=0,K=0,H="";function J(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:W,column:B,length:a,return:""}}function Y(e,t){return j(J("",null,null,"",null,null,0),e,{length:-e.length},t)}function X(){return K=F>0?D(H,--F):0,B--,10===K&&(B=1,W--),K}function G(){return K=F<z?D(H,F++):0,B++,10===K&&(B=1,W++),K}function V(){return D(H,F)}function Z(){return F}function Q(e,t){return N(H,e,t)}function ee(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 te(e){return W=B=1,z=M(H=e),F=0,[]}function ne(e){return H="",e}function re(e){return I(Q(F-1,ae(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(K=V())&&K<33;)G();return ee(e)>2||ee(K)>3?"":" "}function ie(e,t){for(;--t&&G()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return Q(e,Z()+(t<6&&32==V()&&32==G()))}function ae(e){for(;G();)switch(K){case e:return F;case 34:case 39:34!==e&&39!==e&&ae(K);break;case 40:41===e&&ae(e);break;case 92:G()}return F}function se(e,t){for(;G()&&e+K!==57&&(e+K!==84||47!==V()););return"/*"+Q(t,F-1)+"*"+P(47===e?e:G())}function ce(e){for(;!ee(V());)G();return Q(e,F)}var le="-ms-",ue="-moz-",pe="-webkit-",de="comm",fe="rule",he="decl",me="@keyframes";function ye(e,t){for(var n="",r=U(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 de:return"";case me:return e.return=e.value+"{"+ye(e.children,r)+"}";case fe:e.value=e.props.join(",")}return M(n=ye(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return ne(be("",null,null,null,[""],e=te(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,f=0,h=0,m=1,y=1,_=1,g=0,b="",v=o,w=i,E=r,k=b;y;)switch(h=g,g=G()){case 40:if(108!=h&&58==D(k,p-1)){-1!=$(k+=R(re(g),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:k+=re(g);break;case 9:case 10:case 13:case 32:k+=oe(h);break;case 92:k+=ie(Z()-1,7);continue;case 47:switch(V()){case 42:case 47:q(we(se(G(),Z()),t,n),c);break;default:k+="/"}break;case 123*m:s[l++]=M(k)*_;case 125*m:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+u:-1==_&&(k=R(k,/\f/g,"")),f>0&&M(k)-p&&q(f>32?Ee(k+";",r,n,p-1):Ee(R(k," ","")+";",r,n,p-2),c);break;case 59:k+=";";default:if(q(E=ve(k,t,n,l,u,o,s,b,v=[],w=[],p),i),123===g)if(0===u)be(k,t,E,E,v,i,p,s,w);else switch(99===d&&110===D(k,3)?100:d){case 100:case 108:case 109:case 115:be(e,E,E,r&&q(ve(e,E,E,0,0,o,s,b,o,v=[],p),w),o,w,p,s,r?v:w);break;default:be(k,E,E,E,[""],w,0,s,w)}}l=u=f=0,m=_=1,b=k="",p=a;break;case 58:p=1+M(k),f=h;default:if(m<1)if(123==g)--m;else if(125==g&&0==m++&&125==X())continue;switch(k+=P(g),g*m){case 38:_=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(M(k)-1)*_,_=1;break;case 64:45===V()&&(k+=re(G())),d=V(),u=p=M(b=k+=ce(Z())),g++;break;case 45:45===h&&2==M(k)&&(m=0)}}return i}function ve(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],f=U(d),h=0,m=0,y=0;h<r;++h)for(var _=0,g=N(e,p+1,p=A(m=a[h])),b=e;_<f;++_)(b=I(m>0?d[_]+" "+g:R(g,/&\f/g,d[_])))&&(c[y++]=b);return J(e,t,n,0===o?fe:s,c,l,u)}function we(e,t,n){return J(e,t,n,de,P(K),N(e,2,-2),0)}function Ee(e,t,n,r){return J(e,t,n,he,N(e,0,r),N(e,r+1,-1),r)}function ke(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Le=function(e,t,n){for(var r=0,o=0;r=o,o=V(),38===r&&12===o&&(t[n]=1),!ee(o);)G();return Q(e,F)},xe=new WeakMap,Se=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)||xe.get(n))&&!r){xe.set(e,!0);for(var o=[],i=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===V()&&(t[n]=1),e[n]+=Le(F-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===V()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=G());return e}(te(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="")}},Ce=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Oe=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ae=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Pe=function(e,t,n){Oe(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ae(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Oe(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ae(e)))};function je(e,t){switch(function(e,t){return 45^D(e,0)?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}(e,t)){case 5103:return pe+"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 pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+ue+e+le+e+e;case 6828:case 4268:return pe+e+le+e+e;case 6165:return pe+e+le+"flex-"+e+e;case 5187:return pe+e+R(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return pe+e+le+"flex-item-"+R(e,/flex-|-self/,"")+e;case 4675:return pe+e+le+"flex-line-pack"+R(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+le+R(e,"shrink","negative")+e;case 5292:return pe+e+le+R(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+R(e,"-grow","")+pe+e+le+R(e,"grow","positive")+e;case 4554:return pe+R(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,pe+"$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(M(e)-1-t>6)switch(D(e,t+1)){case 109:if(45!==D(e,t+4))break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+ue+(108==D(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$(e,"stretch")?je(R(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==D(e,t+1))break;case 6444:switch(D(e,M(e)-3-(~$(e,"!important")&&10))){case 107:return R(e,":",":"+pe)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(45===D(e,14)?"inline-":"")+"box$3$1"+pe+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(D(e,t+11)){case 114:return pe+e+le+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+le+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+le+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+le+e+e}return e}var Ie,Re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=je(e.value,e.length);break;case me:return ye([Y(e,{value:R(e.value,"@","@"+pe)})],r);case fe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ye([Y(e,{props:[R(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ye([Y(e,{props:[R(t,/:(plac\w+)/,":"+pe+"input-$1")]}),Y(e,{props:[R(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[R(t,/:(plac\w+)/,le+"input-$1")]})],r)}return""})}}],$e=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Ie=function(e){var t=e.match($e);if(t)return t[t.length-1]};var De={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},Ne="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Me=/[A-Z]|^ms/g,Ue=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qe=function(e){return 45===e.charCodeAt(1)},We=function(e){return null!=e&&"boolean"!=typeof e},Be=ke(function(e){return qe(e)?e:e.replace(Me,"-$&").toLowerCase()}),ze=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ue,function(e,t,n){return Ze={name:t,styles:n,next:Ze},t})}return 1===De[e]||qe(e)||"number"!=typeof t||0===t?t:t+"px"},Fe=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Ke=["normal","none","initial","inherit","unset"],He=ze,Je=/^-ms-/,Ye=/-(.)/g,Xe={};ze=function(e,t){if("content"===e&&("string"!=typeof t||-1===Ke.indexOf(t)&&!Fe.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=He(e,t);return""===n||qe(e)||-1===e.indexOf("-")||void 0!==Xe[e]||(Xe[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Je,"ms-").replace(Ye,function(e,t){return t.toUpperCase()})+"?")),n};var Ge="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ve(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(r))throw new Error(Ge);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ze={name:o.name,styles:o.styles,next:Ze},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ze={name:a.name,styles:a.styles,next:Ze},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+=Ve(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]+"}":We(s)&&(r+=Be(i)+":"+ze(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(Ge);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Ve(e,t,a);switch(i){case"animation":case"animationName":r+=Be(i)+":"+c+";";break;default:"undefined"===i&&console.error("You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."),r+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)We(a[l])&&(r+=Be(i)+":"+ze(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=Ze,c=n(e);return Ze=s,Ve(e,t,c)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var l=[],u=n.replace(Ue,function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+u+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+u+"`")}var p=n;if(null==t)return p;var d=t[p];return void 0!==d?d:p}var Ze,Qe=/label:\s*([^\s;{]+)\s*(;|$)/g;function et(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="";Ze=void 0;var i=e[0];if(null==i||void 0===i.raw)r=!1,o+=Ve(n,t,i);else{var a=i;void 0===a[0]&&console.error(Ne),o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Ve(n,t,e[s]),r){var c=i;void 0===c[s]&&console.error(Ne),o+=c[s]}Qe.lastIndex=0;for(var l,u="";null!==(l=Qe.exec(o));)u+="-"+l[1];var p=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)+u;return{name:p,styles:o,next:Ze,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}function tt(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function nt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function rt(e,t,n){var r=[],o=tt(e,r,n);return r.length<2?n:o+t(r)}var ot=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},it=function(){var e=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");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=e.stylisPlugins||Re;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];o=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=[Se,Te];c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Ce(s))return;break}}o.forEach(function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}}}}({get compat(){return h.compat}}),Pe);var l,u,p,d=[_e,function(e){e.root||(e.return?l.insert(e.return):e.value&&e.type!==de&&l.insert(e.value+"{}"))}],f=(u=c.concat(r,d),p=U(u),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){if(l=n,Ie){var o=Ie(t.styles);o&&(l={insert:function(e){n.insert(e+o)}})}ye(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new O({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h}({key:"css"});e.sheet.speedy=function(e){if(0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");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=et(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 rt(e.registered,t,ot(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=et(n,e.registered);nt(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=et(n,e.registered),i="animation-"+o.name;return nt(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:tt.bind(null,e.registered),merge:rt.bind(null,e.registered,t)}}(),at=it.flush,st=it.hydrate,ct=it.cx,lt=it.merge,ut=it.getRegisteredStyles,pt=it.injectGlobal,dt=it.keyframes,ft=it.css,ht=it.sheet,mt=it.cache,yt=n(556),_t=n.n(yt);const[gt,bt,vt]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:MEMOIZED")],wt=e=>{const t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},Et=e=>void 0!==e[gt]||void 0!==e[TEXT],kt=e=>{if(!e[gt]?.element?.parentNode)throw"findDOMNode only works on mounted components.";return e[gt].element},Lt=({children:e})=>e,xt={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 St(){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[bt]&&r.parentNode;)r=r.parentNode;return e(r[bt]),!1},!0),t}function Tt(e){return Object.entries(e).filter(([e,t])=>t).map(([e,t])=>e).join(" ")}function Ct(e){for(let t in e)return!1;return!0}const Ot=(e,t)=>wt(e)===wt(t)&&("array"===wt(e)?e.length===t.length&&e.every((e,n)=>e===t[n]):"object"===wt(e)?Object.keys(e).every(n=>e[n]===t[n]):"date"===wt(e)?e.getTime()===t.getTime():e===t);function At(e,t){return wt(e)===wt(t)&&("array"===wt(e)?e.length===t.length&&e.every((e,n)=>At(e,t[n])):"object"===wt(e)?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>At(e[n],t[n])):"date"===wt(e)?e.getTime()===t.getTime():e===t)}function Pt(e){return!(!e||e.constructor!==Function||void 0===e.prototype)&&(Function.prototype!==Object.getPrototypeOf(e)||Object.getOwnPropertyNames(e.prototype).length>1)}function jt(e){return"function"==typeof e&&e.constructor&&"AsyncFunction"===e.constructor.name}function It(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function Rt(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function $t(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 Dt={};let Nt=0,Mt=Math.floor(1e4*Math.random()),Ut=Math.floor(1e4*Math.random()),qt=[],Wt=new Set,Bt=new Set,zt=new Set,Ft=new Set;const Kt=new Set(["classname","classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Ht=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"]),Jt=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"]),Yt=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]),[Xt,Gt,Vt,Zt,Qt,en,tn]=[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 nn{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[Qt]?(n=r[r[Qt]],r[Qt]++,r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Qt]=0)):(n=t(),r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Qt]=0),n[Xt]&&(n[Xt].parent??=this.owner)),n}commit(){this.current_map.forEach(e=>{e.slice(e[Qt]).forEach(e=>{e.cleanup&&e.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}}class rn{component;props;constructor(e,t){this.component=e,this.props=t||{}}apply(e=this.props,t=this.next_state||this.state){if(this.entity?.propTypes?Lilact.PropTypes.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):this.component?.propTypes&&Lilact.PropTypes.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),"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[Gt]=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){on(this,e)}Lilact.current_component=Lilact.current_component[1]}else try{this.outlet=this.component.render()}catch(e){on(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=an(this,t);this.outlet[e]=n,void 0===n[Vt]?(n.container=this.element?this:this.container,n.apply(t.props)):n.element?n[Vt]!==t[Vt]&&(n.element.textContent=t[Vt],n[Vt]=t[Vt]):(n.element=document.createTextNode(t[Vt]),n[Vt]=t[Vt])}}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?.[en]&&(t+=" "+this?.parent?.[en]),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][Zt]&&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 on=(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 ${"function"==typeof e.component.displayName?e.component.displayName():e.component.displayName}`).join("\n");if(t.componentStack=n,t.componentStackLog=r,!e?.component?.componentDidCatch)throw t;e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r})};function an(e,t){try{return e.cache??=new nn(e),t=e.cache.pick(void 0===t[Vt]?t?.props?.key:":text",()=>void 0!==t[Vt]||t instanceof rn?t:function(e,t){let n=e;if(void 0!==e[Vt]);else if("string"==typeof e.entity)n=new un(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[Xt].state=n.state,Object.defineProperty(n,"state",{get(){return this[Xt].state},set(e){if(void 0!==this[Xt].state)throw"assigning component state this way is not allowed.";this[Xt].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 ln(e.props),n.render=e.entity.bind(n),n[Xt].hooks=[],n[Xt].hook_index=0}n[Xt].entity=e.entity,e.container&&(n[Xt].container=e.container)}return t instanceof rn&&(n[Xt].parent=t),n}(t,e)[Xt])}catch(e){if(!t?.component?.componentDidCatch)throw e;t.component.componentDidCatch(e)}}function sn(){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 cn=(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[Vt]?n=":text:":(n="string"==typeof e?":t:"+e:e?.name?e.name:"::",void 0!==t.name?n=n+":"+t.name:void 0!==t.path&&(n=n+":"+t.path)),n};class ln{get state(){return this[Xt].state}set state(e){if(void 0!==this[Xt].state)throw"assigning component state this way is not allowed.";this[Xt].state=e}get context(){return this[Xt].context}set context(e){throw"assigning component context this way is not allowed."}get type(){return this[Xt].entity}set type(e){throw"component type is immutable."}get props(){return this[Xt].props}set props(e){throw"assigning component props this way is not allowed."}get ref(){return this[Xt].ref}set ref(e){throw"component ref is immutable."}get key(){return this[Xt].props.key}set key(e){throw"component key is immutable."}displayName(){return this[Xt].entity?.displayName?this[Xt].entity?.displayName:"string"==typeof this[Xt].entity?this[Xt].entity:(Lilact.isClass(this[Xt].entity)&&this[Xt].entity.constructor.name,"function"==typeof this[Xt].entity?this[Xt].entity.name:"Component")}constructor(e){this[Xt]=new rn(this,e)}forceUpdate(e){Lilact.clearTimeout(Lilact.update_timeout),Lilact.update_set.add(this[Xt].container||this[Xt]),e&&Lilact.update_cbs.add(e.bind(this)),Lilact.update_timeout=Lilact.setTimeout(sn,Lilact.update_interval_margin)}setState(e,t){void 0!==this.getSnapshotBeforeUpdate&&(this[Xt].last_snapshot=this.getSnapshotBeforeUpdate(this[Xt].props,this.state)),this[Xt].next_state=e,this.forceUpdate(t?t.bind(this):void 0)}}class un extends ln{constructor(e,t){super(t),this[Xt].entity=e}render(){return this[Xt].props.children}}class pn extends un{displayName="Root";constructor(e,t){super(":root",t),"string"==typeof this.element&&(e=document.querySelector(e)),this[Xt].element=e;for(const e of t.children)e[Xt]?e[Xt].container=this[Xt]:e.container=this[Xt]}}function dn(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?{[Vt]:t}:t):(n.splice(e,1),e--)}return null===e?n:(t.key=cn(e,t),t.children=n,{entity:e,props:t})}function fn(e){let t;return{render(n){if(t)throw"root already rendered!";return t=new pn(e,{children:[n]}),Lilact.roots.add(t[Xt]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function hn(e,t){if(e[Xt]&&(e[Xt].container||e[Xt].parent))throw"component is already in use";return fn(t).render(e)}const mn=dn,[yn,_n]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")];function gn(){const e=Lilact.current_component[0];return void 0===e.hooks[e.hook_index]&&e.hooks.push({}),e.hooks[e.hook_index++]}function bn(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 vn(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 wn(e){return{default:e,Provider:function({value:e,children:t}){return t}}}function En(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 kn(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 xn(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 Sn(e=null){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.current=e),t}function Tn(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 Cn(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 On(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 An(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 Pn(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 jn(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 In(e){return t=>e({...t,ref:void 0},t.ref)}function Rn(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 $n=n(861);const[Dn,Nn,Mn,Un,qn,Wn,Bn,zn]=[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 Fn,Kn=-1,Hn=[],Jn=-1,Yn={};const Xn=window.setTimeout,Gn=window.setInterval,Vn=window.clearTimeout,Zn=window.clearInterval;function Qn(e,t=!1){const[n,r]=function(e){let t=0,n=Hn.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),o=Hn[r][Mn];if(o===e)return[r,Hn[r]];o<e?t=r+1:n=r-1}const r=[];return r[Mn]=e,Hn.splice(t,0,r),[t,r]}(e[Mn]);return t||(Kn++,Yn[Kn]=e,e[Nn]=Kn),r.push(e),Hn[0][0]===e&&(Vn(Jn),Jn=Xn(er,e[Wn])),Kn}function er(){const e=Date.now();let t=0,n=Hn[t];for(;n&&n[Mn]-e<=0;){for(const e of n)e[qn]?delete Yn[e[Nn]]:(e[Bn](...e[zn]),e[Un]?(e[Mn]=Date.now()+e[Wn],Qn(e,!0)):delete Yn[e[Nn]]);t++,n=Hn[t]}Hn.splice(0,t),Hn.length>0&&(Vn(Jn),Jn=Xn(er,Hn[0][Mn]-e))}function tr(){Vn(Jn),Fn=void 0,Kn=-1,Hn=[],Jn=-1,Yn={}}function nr(){Vn(Jn),Fn=Date.now()}function rr(){if(Fn){if(Hn.length>0){const e=Date.now();Fn-=e;for(const e of Hn)e[Mn]-=Fn;Jn=Xn(er,Hn[0][Mn]-e)}Fn=void 0}}function or(e,t,...n){return Qn({[Bn]:e,[Wn]:t,[Mn]:Date.now()+t,[Un]:!1,[zn]:n})}function ir(e,t,...n){return Qn({[Bn]:e,[Wn]:t,[Mn]:Date.now()+t,[Un]:!0,[zn]:n})}function ar(e){Yn[e]&&(Yn[e][qn]=!0)}function sr(e){Yn[e]&&(Yn[e][qn]=!0)}function cr(){globalThis.setTimeout=this.setTimeout,globalThis.setInterval=this.setInterval,globalThis.clearTimeout=this.clearTimeout,globalThis.clearInterval=this.clearInterval}function lr(){globalThis.setTimeout=Xn,globalThis.setInterval=Gn,globalThis.clearTimeout=Vn,globalThis.clearInterval=Zn}function ur(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 pr(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}const[dr,fr,hr]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM")],mr="unmounted",yr="exited",_r="entering",gr="entered",br="exiting";function vr({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[dr].is_mounted??=!n||e||o,this[dr].is_appeared??=e,this[dr].timer??=null,this[dr].childFunctionHandler=e=>e(this[dr].mount_state),this[dr].mount_state||(this[dr].is_mounted||(this[dr].mount_state=mr),this[dr].mount_state=e?o&&!this[dr].is_appeared?_r:gr:yr),Cn(()=>()=>ar(this[dr].timer),[]),Cn(()=>{!this[dr].is_appeared&&o&&this[dr].mount_state===_r&&e&&(i?.(),requestAnimationFrame(()=>{a?.(!this[dr].is_appeared),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=gr,this.forceUpdate(),this[dr].is_appeared=!0,s?.(!this[dr].is_appeared)},t)}))},[]),Cn(()=>{if(e){if(this[dr].is_mounted=!0,this[dr].mount_state===_r||this[dr].mount_state===gr)return;i?.(!this[dr].is_appeared),this[dr].mount_state=_r,this.forceUpdate(()=>{a?.(!this[dr].is_appeared),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=gr,this.forceUpdate(),this[dr].is_appeared=!0,s?.()},t)})}else{if(this[dr].mount_state===mr||this[dr].mount_state===br||this[dr].mount_state===yr)return;c?.(),this[dr].mount_state=br,this.forceUpdate(()=>{l?.(),ar(this[dr].timer),this[dr].timer=or(()=>{this[dr].mount_state=yr,this.forceUpdate(),u?.(),r&&(this[dr].is_mounted=!1,this[dr].mount_state=mr,this.forceUpdate())},t)})}},[e,t]),this[dr].is_mounted?(d&&(this[dr].mount_state===_r?this[dr].is_appeared?this[dr][hr]=d.appearActive:this[dr][hr]=d.enterActive:this[dr].mount_state===gr?this[dr].is_appeared?this[dr][hr]=d.appearDone:this[dr][hr]=d.enterDone:this[dr].mount_state===br?this[dr][hr]=d.exitActive:this[dr].mount_state===yr&&(this[dr][hr]=d.exitDone)),p):null}function wr({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(vr,{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 Er({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 kr=[],Lr=10;function xr(e,t){const n=kr.length?kr.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 Sr(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,kr.length<Lr&&kr.push(e))}function Tr(e,t={}){const{stopPropagationOnTrueReturn:n=!1}=t;return function(t){const r=xr(t,this||t.currentTarget||null);try{const t=e(r);n&&!0===t&&r.stopPropagation()}finally{Sr(r)}}}function Cr(e,t,n,r={}){const o=Tr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}const[Or]=[Symbol.for("LILACT:CORE")];let Ar;function Pr({store:e,children:t}){return Ar??=Lilact.createContext(null),Lilact.createComponent(Ar.Provider,{value:e},t)}function jr(){const e=Lilact.useContext(Ar);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function Ir(){return Lilact.useStore().dispatch}function Rr(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 $r(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 Dr(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 Nr(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 Mr(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 Ur(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 qr(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 Wr(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 Br={counter:0,labels:{}};let zr=null;const[Fr,Kr]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")],Hr=wn(null),Jr=wn({params:{}}),Yr=e=>"string"==typeof e?e:(e.pathname||"")+(e.search||"")+(e.hash||"");function Xr({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]=bn(n);Cn(()=>{const e=()=>o(n());return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[t]);const i=vn((e,{replace:r=!1,state:i}={})=>{const a=Yr(e),s="#"+(t+a);r?history.replaceState({__state:i},"",s):history.pushState({__state:i},"",s),o(n())},[t]);return Lilact.createComponent(Hr.Provider,{value:{location:r,navigate:i,basename:t}},e)}function Gr(){const e=En(Hr);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Vr(){const e=En(Hr);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Zr({to:e,replace:t=!1,state:n,onClick:r,target:o,download:i,className:a,style:s,children:c,...l}){const u=Vr(),p="#"+Yr(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 Qr(e){return e&&e.replace(/\/+$/,"")||"/"}function eo({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=Vr(),d=Gr(),f="string"==typeof e?e.split("?")[0].split("#")[0]:e.pathname||"/",h=d.pathname||"/",m=t?Qr(h)===Qr(f):Qr(h).startsWith(Qr(f)),y=["function"==typeof r?r({isActive:m}):r,m?n:null].filter(Boolean).join(" ")||void 0,_="function"==typeof i?i({isActive:m}):i,g=m?{..._||{},...o||{}}:_,b="#"+Yr(e);return Lilact.createComponent("a",{...u,href:b,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:y,style:g,"aria-current":m?"page":void 0},"function"==typeof c?c({isActive:m}):c)}function to(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 no({path:e,element:t=null,children:n}){return null}function ro({children:e}){const t=Gr().pathname||"/",n=xt.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}=to(o,t);if(s)return i?Lilact.createComponent(Jr.Provider,{value:{params:c}},i):a?Lilact.createComponent(Jr.Provider,{value:{params:c}},Lilact.createComponent(ro,{},a)):Lilact.createComponent(Jr.Provider,{value:{params:c}},Lilact.createComponent("div",{}))}return null}function oo({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 io extends ln{displayName="ErrorBoundary";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 ao extends ln{displayName="Suspense";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 so=(e,t,n)=>Number.isFinite(e)?Math.min(n,Math.max(t,e)):e,co=In(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},f){this.displayName="ResizablePane";const h=Sn(null),m=xt.toArray(d),y=m[0]??null,_=m[1]??null,g=null!=t,[b,v]=bn(e),[w,E]=bn(()=>so(t??n,r,o));Cn(()=>{null!=e&&v(e)},[e]),Tn(()=>{g||E(e=>so(e,r,o))},[r,o,g]);const k=g?so(t,r,o):w,L=e=>{const t=so(e,r,o);g||E(t),a?.(t)},x=Sn(!1),S=Sn(null),T=(e,t)=>{const n=h.current;if(!n)return;const r=n.getBoundingClientRect();if("horizontal"===b){const t=r.width;if(!Number.isFinite(t)||t<=0)return;const n=(e-r.left)/t;if(!Number.isFinite(n))return;L(n)}else{const e=r.height;if(!Number.isFinite(e)||e<=0)return;const n=(t-r.top)/e;if(!Number.isFinite(n))return;L(n)}};Cn(()=>{const e=e=>{x.current&&(null!=S.current&&e.pointerId!==S.current||T(e.clientX,e.clientY))},t=e=>{x.current&&(null!=S.current&&e.pointerId!==S.current||(x.current=!1,S.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)}},[b]);const C=On(()=>({leftPct:100*k+"%",rightCalc:`calc(${100-100*k}% - ${i}px)`}),[k,i]),O={display:"flex",width:"100%",height:"100%",overflow:"hidden",touchAction:"none",...s||{},flexDirection:"horizontal"===b?"row":"column"},A="horizontal"===b?{width:C.leftPct,flex:`0 0 ${C.leftPct}`,overflow:"auto",...l||{}}:{height:C.leftPct,flex:`0 0 ${C.leftPct}`,overflow:"auto",...l||{}},P="horizontal"===b?{width:C.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}}:{height:C.rightCalc,flex:"1 1 auto",overflow:"auto",...u||{}},j="horizontal"===b?{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"===b?{height:"100%",width:"100%"}:{width:"100%",height:"100%"};return Rn(f,()=>({setPosition:L,setMode:e=>v("vertical"===e?"vertical":"horizontal"),getPosition:()=>k,getMode:()=>b})),Lilact.createComponent("div",{ref:h,className:c,style:O},Lilact.createComponent("div",{style:A},y),Lilact.createComponent("div",{role:"separator","aria-orientation":"horizontal"===b?"vertical":"horizontal","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":k,tabIndex:0,onPointerDown:e=>{if(null==e.button||0===e.button){e.preventDefault(),x.current=!0,S.current=e.pointerId;try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}T(e.clientX,e.clientY)}},onPointerCancel:()=>{x.current=!1,S.current=null},onKeyDown:e=>{let t=0;"horizontal"===b?("ArrowLeft"===e.key&&(t=-.02),"ArrowRight"===e.key&&(t=.02)):("ArrowUp"===e.key&&(t=-.02),"ArrowDown"===e.key&&(t=.02)),0!==t&&(e.preventDefault(),L(k+t))},style:j},Lilact.createComponent("div",{style:I})),Lilact.createComponent("div",{style:P},_))});var lo=n(207);const uo={VERSION:"beta.6",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...i,...$n,...a,...s,...l,...p,...c,...u,...d,...f,...h,ResizablePane:co,transpileJSX:lo.transpileJSX,transpilerConfig:lo.transpilerConfig,PropTypes:_t(),redux:r,emotion:o};globalThis.Lilact=uo,document.addEventListener("DOMContentLoaded",()=>{uo.runScripts()}),window.addEventListener("error",e=>{uo.globalErrorHandler(e)}),console.log(`Lilact (Version: ${uo.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");const po=uo},363:(e,t,n)=>{e.exports=n(413)},376:e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},413:(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var f=e.type;switch(f){case l:case u:case o:case a:case i:case d:return f;default:var y=f&&f.$$typeof;switch(y){case c:case p:case m:case h:case s:return y;default:return t}}case r:return t}}}var w=l,E=u,k=c,L=s,x=n,S=p,T=o,C=m,O=h,A=r,P=a,j=i,I=d,R=!1;function $(e){return v(e)===u}t.AsyncMode=w,t.ConcurrentMode=E,t.ContextConsumer=k,t.ContextProvider=L,t.Element=x,t.ForwardRef=S,t.Fragment=T,t.Lazy=C,t.Memo=O,t.Portal=A,t.Profiler=P,t.StrictMode=j,t.Suspense=I,t.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$(e)||v(e)===l},t.isConcurrentMode=$,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===_||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v}()},556:(e,t,n)=>{var r=n(363);e.exports=n(574)(r.isElement,!0)},574:(e,t,n)=>{var r,o=n(363),i=n(228),a=n(925),s=n(376),c=n(847);function l(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",p={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(l),arrayOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,r,o,i+"["+c+"]",a);if(l instanceof Error)return l}return null})},element:h(function(t,n,r,o,i){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:h(function(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+g(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return h(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null})},node:h(function(e,t,n,r,o){return _(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=g(c);if("object"!==l)return new f("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in c)if(s(c,u)){var p=e(c,u,r,o,i+"."+u,a);if(p instanceof Error)return p}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===b(t)?String(t):t});return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}):(r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),l)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(n)+" at index "+t+"."),l}return h(function(t,n,r,o,i){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,r,o,i,a);if(null==u)return null;u.data&&s(u.data,"expectedType")&&c.push(u.data.expectedType)}return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")})},shape:function(e){return h(function(t,n,r,o,i){var s=t[n],c=g(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return y(r,o,i,l,b(u));var p=u(s,l,r,o,i+"."+l,a);if(p)return p}return null})},exact:function(e){return h(function(t,n,r,o,c){var l=t[n],u=g(l);if("object"!==u)return new f("Invalid "+o+" `"+c+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var p=i({},t[n],e);for(var d in p){var h=e[d];if(s(e,d)&&"function"!=typeof h)return y(r,o,c,d,b(h));if(!h)return new f("Invalid "+o+" `"+c+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(l,d,r,o,c+"."+d,a);if(m)return m}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){var n={},o=0;function i(i,s,c,l,p,d,h){if(l=l||u,d=d||c,h!==a){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!=typeof console){var y=l+":"+c;!n[y]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[y]=!0,o++)}}return null==s[c]?i?null===s[c]?new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new f("The "+p+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(s,c,l,p,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function m(e){return h(function(t,n,r,o,i,a){var s=t[n];return g(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function y(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!_(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!_(a[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function v(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,p.checkPropTypes=c,p.resetWarningCache=c.resetWarningCache,p.PropTypes=p,p}},847:(e,t,n)=>{var r=function(){},o=n(925),i={},a=n(376);function s(e,t,n,s,c){for(var l in e)if(a(e,l)){var u;try{if("function"!=typeof e[l]){var p=Error((s||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=e[l](t,l,s,n,null,o)}catch(e){u=e}if(!u||u instanceof Error||r((s||"React class")+": type specification of "+n+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var d=c?c():"";r("Failed "+n+" type: "+u.message+(null!=d?d:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},s.resetWarningCache=function(){i={}},e.exports=s},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__(241);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__.default.eval_num}>`,is_inline=!0){const mappings=[],module={};let processed;_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.required_scripts[path]={mappings,module,is_inline,path,code:jsx};try{processed=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpileJSX(jsx,{path,mappings,factory:"Lilact.createComponent",append_sourcemap:!is_inline,blocks_info:_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.blocks_info,injectTraceLabels:!0})}catch(e){throw _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.error=e,e}_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.required_scripts[path].processed=processed,_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.scanBlockLabels(processed,path);try{globalThis.Lilact=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default;const res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.traceError(e),e}}function require(e,t){if("#"===e[0]){const t=document.getElementById(e);if(t)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t.innerText,e)}else{if(_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default?.[LAZY])return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default[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__.default.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__.default.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__.default[LAZY]=!0,t=e(),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.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__.default.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__.default.require(t.src),t.content&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.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.r(t),n.d(t,{decode:()=>i,encode:()=>a});let r={},o={};function i(e){let t=[],n=0,o=0;for(let i=0;i<e.length;i+=1){let a=r[e[i]];if(void 0===a)throw new Error("Invalid character ("+e[i]+")");const s=32&a;if(a&=31,o+=a<<n,s)n+=5;else{const e=1&o;o>>>=1,e?t.push(0===o?-2147483648:-o):t.push(o),o=n=0}}return t}function a(...e){if("number"==typeof e)return s(e);let t="";for(let n=0;n<e.length;n+=1)t+=s(e[n]);return t}function s(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"}},__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__(241);const __webpack_exports__Lilact=__webpack_exports__.Lilact,__webpack_exports__default=__webpack_exports__.default;export{__webpack_exports__Lilact as Lilact,__webpack_exports__default as default};
|
|
64
64
|
//# sourceMappingURL=lilact.development.min.js.map
|