most-box 0.3.4 → 0.3.5
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/out/about/index.html +20 -0
- package/out/admin/index.html +0 -0
- package/out/app/index.html +0 -0
- package/out/assets/AccountMenu-D-wa5tux.js +1 -0
- package/out/assets/AppShell-BdRKZIZ9.js +1 -0
- package/out/assets/AppTop-BE5kKBYH.js +1 -0
- package/out/assets/CopyButton-DnFqfCN9.js +1 -0
- package/out/assets/MarketingHeader-8gNzHawY.js +1 -0
- package/out/assets/MarketingLayout-BPdjpEfc.js +1 -0
- package/out/assets/{MilkdownEditor-BzbYt-xb.js → MilkdownEditor-C388llV6.js} +1 -1
- package/out/assets/OpenSidebarButton-OP8zl7ad.js +1 -0
- package/out/assets/arrow-right-BsHzC0ZL.js +1 -0
- package/out/assets/{arrow-up-down-B-677ip8.js → arrow-up-down-DvLSz6Ma.js} +1 -1
- package/out/assets/{userProfile-BZvkCuet.js → channelApi-C5eHetoJ.js} +1 -1
- package/out/assets/chatJoinInvite-CeC6H6t8.js +1 -0
- package/out/assets/{chatNoteDraft-CYbvcEvC.js → chatNoteDraft-DTy6In5R.js} +1 -1
- package/out/assets/{circle-alert-dfN4T6Nq.js → circle-alert-DXVkx8p8.js} +1 -1
- package/out/assets/{copy-B7pPZ2MP.js → copy-OwXDsstV.js} +1 -1
- package/out/assets/{download-COQOcPqI.js → download-Cy2BlfKM.js} +1 -1
- package/out/assets/downloadValidation-Dd43i9_9.js +1 -0
- package/out/assets/{external-link-D6tHlYgS.js → external-link-D_AQSgxW.js} +1 -1
- package/out/assets/{file-text-DiyIGL1I.js → file-text-zvTER2mN.js} +1 -1
- package/out/assets/fingerprint-pattern-BT73ASEB.js +1 -0
- package/out/assets/{folder-BS_GbpPQ.js → folder-6pYYnS2-.js} +1 -1
- package/out/assets/folder-open-DOJ4bB58.js +1 -0
- package/out/assets/format-CAKfypjK.js +1 -0
- package/out/assets/gamepad-2-BYqNgCQr.js +1 -0
- package/out/assets/{hard-drive-Cqa7Rstj.js → hard-drive-DL1KJHmG.js} +1 -1
- package/out/assets/i18n-C6yaqRst.js +1 -0
- package/out/assets/index-C6IjeTBh.css +1 -0
- package/out/assets/index-D1mozno-.js +31 -0
- package/out/assets/index.lazy-59kmyNMW.js +1 -0
- package/out/assets/index.lazy-B1iJsXQ8.js +3 -0
- package/out/assets/index.lazy-Bz77Jlzu.js +1 -0
- package/out/assets/index.lazy-CVFcovqX.js +1 -0
- package/out/assets/index.lazy-CX2l1_Gi.js +1 -0
- package/out/assets/index.lazy-C_J9afOY.js +1 -0
- package/out/assets/index.lazy-CazlK1-Y.js +3 -0
- package/out/assets/index.lazy-CflWbocP.js +1 -0
- package/out/assets/index.lazy-ClrSkRx5.js +1 -0
- package/out/assets/index.lazy-CsTaY5WS.js +1 -0
- package/out/assets/index.lazy-D7E1pb1S.js +5 -0
- package/out/assets/index.lazy-DzaN9qwA.js +2 -0
- package/out/assets/index.lazy-FvXAYdEO.js +1 -0
- package/out/assets/index.lazy-JwrS2vDI.js +1 -0
- package/out/assets/index.lazy-m9XAzMt1.js +1 -0
- package/out/assets/{loader-CwyHYZdX.js → loader-C4pED_QP.js} +1 -1
- package/out/assets/lock-yG7M7GkB.js +1 -0
- package/out/assets/{message-square-BgsNXPft.js → message-square-CfApq8Ou.js} +1 -1
- package/out/assets/mp-cEQteKUC.js +1 -0
- package/out/assets/{music-Dn9nm9Qb.js → music-Br2x8TKX.js} +1 -1
- package/out/assets/notebook-pen-Bcd3MrtD.js +1 -0
- package/out/assets/play-DSHtNcOe.js +1 -0
- package/out/assets/{refresh-cw-D4BsHvhi.js → refresh-cw-CfkUlTK9.js} +1 -1
- package/out/assets/{save-B02sbO9Y.js → save-CfYzXcxH.js} +1 -1
- package/out/assets/saveLocalFile-2CNt4X0T.js +1 -0
- package/out/assets/search-DLBOUfny.js +1 -0
- package/out/assets/{send-4dhnJGuS.js → send-Bie9hgHI.js} +1 -1
- package/out/assets/{shield-check-Boae7Nc6.js → shield-check-2-h_eEXp.js} +1 -1
- package/out/assets/{smartphone-JXH-zQXB.js → smartphone-CrsocYJo.js} +1 -1
- package/out/assets/trash-2-B9gno5q6.js +1 -0
- package/out/assets/{triangle-alert-B9sMiA9l.js → triangle-alert-BhNtjKm2.js} +1 -1
- package/out/assets/{upload-DVuXJt_o.js → upload-BmufnMFu.js} +1 -1
- package/out/assets/{useAppStore-DOnk608w.js → useAppStore-DNhyhD20.js} +1 -1
- package/out/assets/useChannelMessages-DDBqKBXU.js +4 -0
- package/out/assets/useGameRoom-asr2gyY6.js +1 -0
- package/out/assets/{wallet-D9Iw4YWE.js → wallet-D6HZocla.js} +1 -1
- package/out/assets/{wifi-ljEI_ySA.js → wifi-CILQyKk0.js} +1 -1
- package/out/chat/index.html +0 -0
- package/out/chat/join/demo/index.html +0 -0
- package/out/chat/join/index.html +0 -0
- package/out/download/index.html +2 -2
- package/out/game/gandengyan/index.html +0 -0
- package/out/game/index.html +0 -0
- package/out/game/zhajinhua/index.html +0 -0
- package/out/index.html +2 -2
- package/out/note/index.html +0 -0
- package/out/ping/index.html +2 -2
- package/out/profile/index.html +0 -0
- package/out/web3/index.html +0 -0
- package/package.json +1 -1
- package/server/index.js +18 -1
- package/server/src/core/channelVoice.js +164 -0
- package/server/src/core/mostLink.js +30 -13
- package/server/src/http/nodeStatus.js +2 -2
- package/server/src/http/routes/fileRoutes.js +10 -8
- package/server/src/http/uploads.js +53 -15
- package/server/src/index.js +126 -57
- package/server/src/node/config.js +4 -4
- package/server/src/utils/api.js +9 -1
- package/server/src/utils/avatar.js +1 -10
- package/server/src/utils/downloadMessages.js +7 -7
- package/server/src/utils/errors.js +11 -1
- package/server/src/utils/userIdentity.js +0 -1
- package/out/assets/AccountMenu-ptQklqvD.js +0 -1
- package/out/assets/AppTop-Cy0ZOCxO.js +0 -1
- package/out/assets/CopyButton-C8PIDSJZ.js +0 -1
- package/out/assets/FilePreviewOverlay-faaTnmlN.js +0 -1
- package/out/assets/MarketingHeader-CxJ_OVOW.js +0 -1
- package/out/assets/MarketingLayout-CiN5KYcE.js +0 -1
- package/out/assets/OpenSidebarButton-CGhXxQ5Z.js +0 -1
- package/out/assets/arrow-right-CXzRt0Fp.js +0 -1
- package/out/assets/chatJoinInvite-B-ucvYdg.js +0 -1
- package/out/assets/check-iBCQl0yr.js +0 -1
- package/out/assets/chevron-right-D75NRNNs.js +0 -1
- package/out/assets/downloadValidation-UPgpJbKz.js +0 -1
- package/out/assets/format-CR8oUWq6.js +0 -1
- package/out/assets/index-D0Uk9-58.js +0 -31
- package/out/assets/index-FV6RZlVI.css +0 -1
- package/out/assets/index.lazy-B6XDJ8fg.js +0 -1
- package/out/assets/index.lazy-BFdWbm3R.js +0 -1
- package/out/assets/index.lazy-BzIt7fP4.js +0 -1
- package/out/assets/index.lazy-CLkb32nv.js +0 -1
- package/out/assets/index.lazy-CNmqW4-r.js +0 -1
- package/out/assets/index.lazy-Cnkj-gAd.js +0 -3
- package/out/assets/index.lazy-Cx1bp84f.js +0 -5
- package/out/assets/index.lazy-CxLzR674.js +0 -2
- package/out/assets/index.lazy-D4RjTGu-.js +0 -3
- package/out/assets/index.lazy-D9xLqvqW.js +0 -1
- package/out/assets/index.lazy-DNCF6MTJ.js +0 -1
- package/out/assets/index.lazy-MY-mUG5Z.js +0 -1
- package/out/assets/index.lazy-erUKA2rI.js +0 -1
- package/out/assets/index.lazy-qTjgLKhY.js +0 -1
- package/out/assets/key-round-JR8M3aHl.js +0 -1
- package/out/assets/lock-CuwwlXlx.js +0 -1
- package/out/assets/mp-Dv12gDTx.js +0 -1
- package/out/assets/notebook-pen-BzrCXQJE.js +0 -1
- package/out/assets/play-CvWKSMwY.js +0 -1
- package/out/assets/search-HW4oPOBP.js +0 -1
- package/out/assets/trash-2-BLwoM0ME.js +0 -1
- package/out/assets/useChannelMessages-CDvw-f_x.js +0 -4
- package/out/assets/useGameRoom-CS1w4IqP.js +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/game-s6irY8hS.js","assets/jsx-runtime-Bt-cYkS5.js","assets/useNavigate-DWlBD_-b.js","assets/index.lazy-erUKA2rI.js","assets/useAppStore-DOnk608w.js","assets/arrow-right-CXzRt0Fp.js","assets/check-iBCQl0yr.js","assets/download-COQOcPqI.js","assets/external-link-D6tHlYgS.js","assets/notebook-pen-BzrCXQJE.js","assets/hard-drive-Cqa7Rstj.js","assets/message-square-BgsNXPft.js","assets/wallet-D9Iw4YWE.js","assets/MarketingLayout-CiN5KYcE.js","assets/AccountMenu-ptQklqvD.js","assets/LogoIcon-B2fFe0l1.js","assets/index.lazy-D4RjTGu-.js","assets/mp-Dv12gDTx.js","assets/dayjs.min-Dcc0B6Je.js","assets/lock-CuwwlXlx.js","assets/key-round-JR8M3aHl.js","assets/AppTop-Cy0ZOCxO.js","assets/CopyButton-C8PIDSJZ.js","assets/copy-B7pPZ2MP.js","assets/index.lazy-qTjgLKhY.js","assets/circle-alert-dfN4T6Nq.js","assets/loader-CwyHYZdX.js","assets/save-B02sbO9Y.js","assets/shield-check-Boae7Nc6.js","assets/upload-DVuXJt_o.js","assets/MarketingHeader-CxJ_OVOW.js","assets/index.lazy-BzIt7fP4.js","assets/smartphone-JXH-zQXB.js","assets/music-Dn9nm9Qb.js","assets/play-CvWKSMwY.js","assets/search-HW4oPOBP.js","assets/send-4dhnJGuS.js","assets/wifi-ljEI_ySA.js","assets/index.lazy-CxLzR674.js","assets/chatNoteDraft-CYbvcEvC.js","assets/OpenSidebarButton-CGhXxQ5Z.js","assets/chevron-right-D75NRNNs.js","assets/folder-BS_GbpPQ.js","assets/trash-2-BLwoM0ME.js","assets/index.lazy-CLkb32nv.js","assets/format-CR8oUWq6.js","assets/index.lazy-Cnkj-gAd.js","assets/FilePreviewOverlay-faaTnmlN.js","assets/file-text-DiyIGL1I.js","assets/downloadValidation-UPgpJbKz.js","assets/userProfile-BZvkCuet.js","assets/useChannelMessages-CDvw-f_x.js","assets/index.lazy-MY-mUG5Z.js","assets/arrow-up-down-B-677ip8.js","assets/index.lazy-Cx1bp84f.js","assets/triangle-alert-B9sMiA9l.js","assets/refresh-cw-D4BsHvhi.js","assets/index.lazy-DNCF6MTJ.js","assets/useGameRoom-CS1w4IqP.js","assets/index-BRhsWNj1.css","assets/index.lazy-BFdWbm3R.js","assets/index-CYVRmppz.css","assets/index.lazy-CNmqW4-r.js","assets/index.lazy-D9xLqvqW.js","assets/chatJoinInvite-B-ucvYdg.js","assets/index.lazy-B6XDJ8fg.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{n as e,o as t,r as n,t as r}from"./jsx-runtime-Bt-cYkS5.js";import{At as i,B as a,Ct as o,Dt as s,E as c,Et as l,J as u,K as d,M as f,Mt as p,Ot as m,P as h,Q as g,S as _,St as v,Tt as y,U as b,V as x,W as S,X as ee,Y as te,Z as ne,_t as re,a as ie,at as ae,bt as oe,ct as se,d as ce,dt as le,et as ue,f as de,ft as C,gt as w,ht as fe,i as pe,it as me,j as he,jt as ge,kt as _e,lt as ve,m as ye,mt as be,n as xe,nt as Se,ot as Ce,p as we,pt as Te,q as Ee,r as De,rt as Oe,st as ke,t as Ae,tt as je,ut as Me,vt as Ne,w as Pe,wt as Fe,xt as Ie,yt as Le}from"./useAppStore-DOnk608w.js";import{a as Re,c as ze,i as Be,l as Ve,n as He,r as Ue}from"./useNavigate-DWlBD_-b.js";var We=n((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,ae());else{var t=n(l);t!==null&&ce(x,t.startTime-e)}}var S=!1,ee=-1,te=5,ne=-1;function re(){return g?!0:!(e.unstable_now()-ne<te)}function ie(){if(g=!1,S){var t=e.unstable_now();ne=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(ee),ee=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&re());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ce(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ae():S=!1}}}var ae;if(typeof y==`function`)ae=function(){y(ie)};else if(typeof MessageChannel<`u`){var oe=new MessageChannel,se=oe.port2;oe.port1.onmessage=ie,ae=function(){se.postMessage(null)}}else ae=function(){_(ie,0)};function ce(t,n){ee=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(ee),ee=-1):h=!0,ce(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ae()))),r},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Ge=n(((e,t)=>{t.exports=We()})),Ke=n((t=>{var n=Ge(),r=e(),i=p();function a(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function c(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function u(e){if(s(e)!==e)throw Error(a(188))}function d(e){var t=e.alternate;if(!t){if(t=s(e),t===null)throw Error(a(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return u(i),e;if(o===r)return u(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var c=!1,l=i.child;l;){if(l===n){c=!0,n=i,r=o;break}if(l===r){c=!0,r=i,n=o;break}l=l.sibling}if(!c){for(l=o.child;l;){if(l===n){c=!0,n=o,r=i;break}if(l===r){c=!0,r=o,n=i;break}l=l.sibling}if(!c)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(n.tag!==3)throw Error(a(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,h=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),te=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),ae=Symbol.for(`react.activity`),oe=Symbol.for(`react.memo_cache_sentinel`),se=Symbol.iterator;function ce(e){return typeof e!=`object`||!e?null:(e=se&&e[se]||e[`@@iterator`],typeof e==`function`?e:null)}var le=Symbol.for(`react.client.reference`);function ue(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case te:return`Suspense`;case ne:return`SuspenseList`;case ae:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case _:return`Portal`;case S:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case ie:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var de=Array.isArray,C=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe={pending:!1,data:null,method:null,action:null},pe=[],me=-1;function he(e){return{current:e}}function ge(e){0>me||(e.current=pe[me],pe[me]=null,me--)}function _e(e,t){me++,pe[me]=e.current,e.current=t}var ve=he(null),ye=he(null),be=he(null),xe=he(null);function Se(e,t){switch(_e(be,t),_e(ye,e),_e(ve,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ge(ve),_e(ve,e)}function Ce(){ge(ve),ge(ye),ge(be)}function we(e){e.memoizedState!==null&&_e(xe,e);var t=ve.current,n=Jd(t,e.type);t!==n&&(_e(ye,e),_e(ve,n))}function Te(e){ye.current===e&&(ge(ve),ge(ye)),xe.current===e&&(ge(xe),$f._currentValue=fe)}var Ee,De;function Oe(e){if(Ee===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ee=t&&t[1]||``,De=-1<e.stack.indexOf(`
|
|
3
|
-
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
4
|
-
`+Ee+e+De}var ke=!1;function Ae(e,t){if(!e||ke)return``;ke=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
5
|
-
`),l=s.split(`
|
|
6
|
-
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
7
|
-
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{ke=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Oe(n):``}function je(e,t){switch(e.tag){case 26:case 27:case 5:return Oe(e.type);case 16:return Oe(`Lazy`);case 13:return e.child!==t&&t!==null?Oe(`Suspense Fallback`):Oe(`Suspense`);case 19:return Oe(`SuspenseList`);case 0:case 15:return Ae(e.type,!1);case 11:return Ae(e.type.render,!1);case 1:return Ae(e.type,!0);case 31:return Oe(`Activity`);default:return``}}function Me(e){try{var t=``,n=null;do t+=je(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
8
|
-
Error generating stack: `+e.message+`
|
|
9
|
-
`+e.stack}}var Ne=Object.prototype.hasOwnProperty,Pe=n.unstable_scheduleCallback,Fe=n.unstable_cancelCallback,Ie=n.unstable_shouldYield,Le=n.unstable_requestPaint,Re=n.unstable_now,ze=n.unstable_getCurrentPriorityLevel,Be=n.unstable_ImmediatePriority,Ve=n.unstable_UserBlockingPriority,He=n.unstable_NormalPriority,Ue=n.unstable_LowPriority,We=n.unstable_IdlePriority,Ke=n.log,qe=n.unstable_setDisableYieldValue,Je=null,Ye=null;function Xe(e){if(typeof Ke==`function`&&qe(e),Ye&&typeof Ye.setStrictMode==`function`)try{Ye.setStrictMode(Je,e)}catch{}}var Ze=Math.clz32?Math.clz32:et,Qe=Math.log,$e=Math.LN2;function et(e){return e>>>=0,e===0?32:31-(Qe(e)/$e|0)|0}var tt=256,nt=262144,rt=4194304;function it(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function at(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=it(n))):i=it(o):i=it(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=it(n))):i=it(o)):i=it(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function ot(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function st(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ct(){var e=rt;return rt<<=1,!(rt&62914560)&&(rt=4194304),e}function lt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ut(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function dt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ze(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ft(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ft(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ze(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function pt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function mt(e,t){var n=t&-t;return n=n&42?1:ht(n),(n&(e.suspendedLanes|t))===0?n:0}function ht(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function gt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function _t(){var e=w.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function vt(e,t){var n=w.p;try{return w.p=e,t()}finally{w.p=n}}var yt=Math.random().toString(36).slice(2),bt=`__reactFiber$`+yt,xt=`__reactProps$`+yt,St=`__reactContainer$`+yt,Ct=`__reactEvents$`+yt,wt=`__reactListeners$`+yt,Tt=`__reactHandles$`+yt,Et=`__reactResources$`+yt,Dt=`__reactMarker$`+yt;function Ot(e){delete e[bt],delete e[xt],delete e[Ct],delete e[wt],delete e[Tt]}function kt(e){var t=e[bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[St]||n[bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gf(e);e!==null;){if(n=e[bt])return n;e=gf(e)}return t}e=n,n=e.parentNode}return null}function At(e){if(e=e[bt]||e[St]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function jt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(a(33))}function Mt(e){var t=e[Et];return t||=e[Et]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Nt(e){e[Dt]=!0}var Pt=new Set,Ft={};function It(e,t){Lt(e,t),Lt(e+`Capture`,t)}function Lt(e,t){for(Ft[e]=t,e=0;e<t.length;e++)Pt.add(t[e])}var Rt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),zt={},Bt={};function Vt(e){return Ne.call(Bt,e)?!0:Ne.call(zt,e)?!1:Rt.test(e)?Bt[e]=!0:(zt[e]=!0,!1)}function Ht(e,t,n){if(Vt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Ut(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Wt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Gt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Kt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function qt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jt(e){if(!e._valueTracker){var t=Kt(e)?`checked`:`value`;e._valueTracker=qt(e,t,``+e[t])}}function Yt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Kt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Xt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Zt=/[\n"\\]/g;function Qt(e){return e.replace(Zt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function $t(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Gt(t)):e.value!==``+Gt(t)&&(e.value=``+Gt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):tn(e,o,Gt(n)):tn(e,o,Gt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Gt(s):e.removeAttribute(`name`)}function en(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Jt(e);return}n=n==null?``:``+Gt(n),t=t==null?n:``+Gt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Jt(e)}function tn(e,t,n){t===`number`&&Xt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function nn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Gt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function rn(e,t,n){if(t!=null&&(t=``+Gt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Gt(n)}function an(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(a(92));if(de(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}n??=``,t=n}n=Gt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Jt(e)}function on(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var sn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function cn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||sn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function ln(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(a(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&cn(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&cn(e,o,t[o])}function un(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var dn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),fn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function pn(e){return fn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function mn(){}var hn=null;function gn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _n=null,vn=null;function yn(e){var t=At(e);if(t&&(e=t.stateNode)){var n=e[xt]||null;a:switch(e=t.stateNode,t.type){case`input`:if($t(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Qt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[xt]||null;if(!i)throw Error(a(90));$t(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Yt(r)}break a;case`textarea`:rn(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&nn(e,!!n.multiple,t,!1)}}}var bn=!1;function xn(e,t,n){if(bn)return e(t,n);bn=!0;try{return e(t)}finally{if(bn=!1,(_n!==null||vn!==null)&&(Ou(),_n&&(t=_n,e=vn,vn=_n=null,yn(t),e)))for(t=0;t<e.length;t++)yn(e[t])}}function Sn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[xt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(a(231,t,typeof n));return n}var Cn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),wn=!1;if(Cn)try{var Tn={};Object.defineProperty(Tn,"passive",{get:function(){wn=!0}}),window.addEventListener(`test`,Tn,Tn),window.removeEventListener(`test`,Tn,Tn)}catch{wn=!1}var En=null,Dn=null,On=null;function kn(){if(On)return On;var e,t=Dn,n=t.length,r,i=`value`in En?En.value:En.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return On=i.slice(e,1<r?1-r:void 0)}function An(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function jn(){return!0}function Mn(){return!1}function Nn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?jn:Mn,this.isPropagationStopped=Mn,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=jn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=jn)},persist:function(){},isPersistent:jn}),t}var Pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fn=Nn(Pn),In=m({},Pn,{view:0,detail:0}),Ln=Nn(In),Rn,zn,Bn,Vn=m({},In,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Bn&&(Bn&&e.type===`mousemove`?(Rn=e.screenX-Bn.screenX,zn=e.screenY-Bn.screenY):zn=Rn=0,Bn=e),Rn)},movementY:function(e){return`movementY`in e?e.movementY:zn}}),Hn=Nn(Vn),Un=Nn(m({},Vn,{dataTransfer:0})),Wn=Nn(m({},In,{relatedTarget:0})),E=Nn(m({},Pn,{animationName:0,elapsedTime:0,pseudoElement:0})),Gn=Nn(m({},Pn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Kn=Nn(m({},Pn,{data:0})),qn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},D={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Jn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Yn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jn[e])?!!t[e]:!1}function Xn(){return Yn}var Zn=Nn(m({},In,{key:function(e){if(e.key){var t=qn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=An(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?D[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xn,charCode:function(e){return e.type===`keypress`?An(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?An(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Qn=Nn(m({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),$n=Nn(m({},In,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xn})),er=Nn(m({},Pn,{propertyName:0,elapsedTime:0,pseudoElement:0})),tr=Nn(m({},Vn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nr=Nn(m({},Pn,{newState:0,oldState:0})),rr=[9,13,27,32],ir=Cn&&`CompositionEvent`in window,ar=null;Cn&&`documentMode`in document&&(ar=document.documentMode);var or=Cn&&`TextEvent`in window&&!ar,sr=Cn&&(!ir||ar&&8<ar&&11>=ar),cr=` `,lr=!1;function ur(e,t){switch(e){case`keyup`:return rr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function dr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var fr=!1;function pr(e,t){switch(e){case`compositionend`:return dr(t);case`keypress`:return t.which===32?(lr=!0,cr):null;case`textInput`:return e=t.data,e===cr&&lr?null:e;default:return null}}function mr(e,t){if(fr)return e===`compositionend`||!ir&&ur(e,t)?(e=kn(),On=Dn=En=null,fr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return sr&&t.locale!==`ko`?null:t.data;default:return null}}var hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){_n?vn?vn.push(r):vn=[r]:_n=r,t=Nd(t,`onChange`),0<t.length&&(n=new Fn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){Ed(e,0)}function xr(e){if(Yt(jt(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(Cn){var wr;if(Cn){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,gn(e)),xn(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ne.call(t,i)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xt(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Vr=Cn&&`documentMode`in document&&11>=document.documentMode,Hr=null,Ur=null,Wr=null,Gr=!1;function Kr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Gr||Hr==null||Hr!==Xt(r)||(r=Hr,`selectionStart`in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wr&&Fr(Wr,r)||(Wr=r,r=Nd(Ur,`onSelect`),0<r.length&&(t=new Fn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Hr)))}function qr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Jr={animationend:qr(`Animation`,`AnimationEnd`),animationiteration:qr(`Animation`,`AnimationIteration`),animationstart:qr(`Animation`,`AnimationStart`),transitionrun:qr(`Transition`,`TransitionRun`),transitionstart:qr(`Transition`,`TransitionStart`),transitioncancel:qr(`Transition`,`TransitionCancel`),transitionend:qr(`Transition`,`TransitionEnd`)},Yr={},Xr={};Cn&&(Xr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Jr.animationend.animation,delete Jr.animationiteration.animation,delete Jr.animationstart.animation),`TransitionEvent`in window||delete Jr.transitionend.transition);function Zr(e){if(Yr[e])return Yr[e];if(!Jr[e])return e;var t=Jr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xr)return Yr[e]=t[n];return e}var Qr=Zr(`animationend`),$r=Zr(`animationiteration`),ei=Zr(`animationstart`),ti=Zr(`transitionrun`),ni=Zr(`transitionstart`),ri=Zr(`transitioncancel`),ii=Zr(`transitionend`),ai=new Map,oi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);oi.push(`scrollEnd`);function si(e,t){ai.set(e,t),It(t,[e])}var ci=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},li=[],ui=0,di=0;function fi(){for(var e=ui,t=di=ui=0;t<e;){var n=li[t];li[t++]=null;var r=li[t];li[t++]=null;var i=li[t];li[t++]=null;var a=li[t];if(li[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&gi(n,i,a)}}function pi(e,t,n,r){li[ui++]=e,li[ui++]=t,li[ui++]=n,li[ui++]=r,di|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function mi(e,t,n,r){return pi(e,t,n,r),_i(e)}function hi(e,t){return pi(e,null,null,t),_i(e)}function gi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ze(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function _i(e){if(50<yu)throw yu=0,bu=null,Error(a(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var vi={};function yi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bi(e,t,n,r){return new yi(e,t,n,r)}function xi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Si(e,t){var n=e.alternate;return n===null?(n=bi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ci(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function wi(e,t,n,r,i,o){var s=0;if(r=e,typeof e==`function`)xi(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,ve.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ae:return e=bi(31,n,t,i),e.elementType=ae,e.lanes=o,e;case v:return Ti(n.children,i,o,t);case y:s=8,i|=24;break;case b:return e=bi(12,n,t,i|2),e.elementType=b,e.lanes=o,e;case te:return e=bi(13,n,t,i),e.elementType=te,e.lanes=o,e;case ne:return e=bi(19,n,t,i),e.elementType=ne,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case S:s=10;break a;case x:s=9;break a;case ee:s=11;break a;case re:s=14;break a;case ie:s=16,r=null;break a}s=29,n=Error(a(130,e===null?`null`:typeof e,``)),r=null}return t=bi(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ti(e,t,n,r){return e=bi(7,e,r,t),e.lanes=n,e}function Ei(e,t,n){return e=bi(6,e,null,t),e.lanes=n,e}function Di(e){var t=bi(18,null,null,0);return t.stateNode=e,t}function Oi(e,t,n){return t=bi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ki=new WeakMap;function Ai(e,t){if(typeof e==`object`&&e){var n=ki.get(e);return n===void 0?(t={value:e,source:t,stack:Me(t)},ki.set(e,t),t):n}return{value:e,source:t,stack:Me(t)}}var ji=[],Mi=0,Ni=null,Pi=0,Fi=[],Ii=0,Li=null,Ri=1,zi=``;function Bi(e,t){ji[Mi++]=Pi,ji[Mi++]=Ni,Ni=e,Pi=t}function Vi(e,t,n){Fi[Ii++]=Ri,Fi[Ii++]=zi,Fi[Ii++]=Li,Li=e;var r=Ri;e=zi;var i=32-Ze(r)-1;r&=~(1<<i),n+=1;var a=32-Ze(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ri=1<<32-Ze(t)+i|n<<i|r,zi=a+e}else Ri=1<<a|n<<i|r,zi=e}function Hi(e){e.return!==null&&(Bi(e,1),Vi(e,1,0))}function Ui(e){for(;e===Ni;)Ni=ji[--Mi],ji[Mi]=null,Pi=ji[--Mi],ji[Mi]=null;for(;e===Li;)Li=Fi[--Ii],Fi[Ii]=null,zi=Fi[--Ii],Fi[Ii]=null,Ri=Fi[--Ii],Fi[Ii]=null}function Wi(e,t){Fi[Ii++]=Ri,Fi[Ii++]=zi,Fi[Ii++]=Li,Ri=t.id,zi=t.overflow,Li=e}var Gi=null,Ki=null,O=!1,qi=null,Ji=!1,Yi=Error(a(519));function Xi(e){throw na(Ai(Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Yi}function Zi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[bt]=e,t[xt]=r,n){case`dialog`:K(`cancel`,t),K(`close`,t);break;case`iframe`:case`object`:case`embed`:K(`load`,t);break;case`video`:case`audio`:for(n=0;n<wd.length;n++)K(wd[n],t);break;case`source`:K(`error`,t);break;case`img`:case`image`:case`link`:K(`error`,t),K(`load`,t);break;case`details`:K(`toggle`,t);break;case`input`:K(`invalid`,t),en(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:K(`invalid`,t);break;case`textarea`:K(`invalid`,t),an(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||zd(t.textContent,n)?(r.popover!=null&&(K(`beforetoggle`,t),K(`toggle`,t)),r.onScroll!=null&&K(`scroll`,t),r.onScrollEnd!=null&&K(`scrollend`,t),r.onClick!=null&&(t.onclick=mn),t=!0):t=!1,t||Xi(e,!0)}function Qi(e){for(Gi=e.return;Gi;)switch(Gi.tag){case 5:case 31:case 13:Ji=!1;return;case 27:case 3:Ji=!0;return;default:Gi=Gi.return}}function $i(e){if(e!==Gi)return!1;if(!O)return Qi(e),O=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Y(e.type,e.memoizedProps)),n=!n),n&&Ki&&Xi(e),Qi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Ki=hf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Ki=hf(e)}else t===27?(t=Ki,nf(e.type)?(e=mf,mf=null,Ki=e):Ki=t):Ki=Gi?pf(e.stateNode.nextSibling):null;return!0}function ea(){Ki=Gi=null,O=!1}function ta(){var e=qi;return e!==null&&(z===null?z=e:z.push.apply(z,e),qi=null),e}function na(e){qi===null?qi=[e]:qi.push(e)}var ra=he(null),ia=null,aa=null;function oa(e,t,n){_e(ra,t._currentValue),t._currentValue=n}function sa(e){e._currentValue=ra.current,ge(ra)}function ca(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function la(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var o=i.dependencies;if(o!==null){var s=i.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ca(o.return,n,e),r||(s=null);break a}o=c.next}}else if(i.tag===18){if(s=i.return,s===null)throw Error(a(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ca(s,n,e),s=null}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}}function ua(e,t,n,r){e=null;for(var i=t,o=!1;i!==null;){if(!o){if(i.flags&524288)o=!0;else if(i.flags&262144)break}if(i.tag===10){var s=i.alternate;if(s===null)throw Error(a(387));if(s=s.memoizedProps,s!==null){var c=i.type;Pr(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===xe.current){if(s=i.alternate,s===null)throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}i=i.return}e!==null&&la(t,e,n,r),t.flags|=262144}function da(e){for(e=e.firstContext;e!==null;){if(!Pr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function fa(e){ia=e,aa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function pa(e){return ha(ia,e)}function ma(e,t){return ia===null&&fa(e),ha(e,t)}function ha(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},aa===null){if(e===null)throw Error(a(308));aa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else aa=aa.next=t;return n}var ga=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},_a=n.unstable_scheduleCallback,va=n.unstable_NormalPriority,ya={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ba(){return{controller:new ga,data:new Map,refCount:0}}function xa(e){e.refCount--,e.refCount===0&&_a(va,function(){e.controller.abort()})}var Sa=null,Ca=0,wa=0,Ta=null;function Ea(e,t){if(Sa===null){var n=Sa=[];Ca=0,wa=vd(),Ta={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Ca++,t.then(Da,Da),t}function Da(){if(--Ca===0&&Sa!==null){Ta!==null&&(Ta.status=`fulfilled`);var e=Sa;Sa=null,wa=0,Ta=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Oa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ka=C.S;C.S=function(e,t){fu=Re(),typeof t==`object`&&t&&typeof t.then==`function`&&Ea(e,t),ka!==null&&ka(e,t)};var Aa=he(null);function ja(){var e=Aa.current;return e===null?P.pooledCache:e}function Ma(e,t){t===null?_e(Aa,Aa.current):_e(Aa,t.pool)}function Na(){var e=ja();return e===null?null:{parent:ya._currentValue,pool:e}}var Pa=Error(a(460)),Fa=Error(a(474)),Ia=Error(a(542)),La={then:function(){}};function Ra(e){return e=e.status,e===`fulfilled`||e===`rejected`}function za(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(mn,mn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ua(e),e;default:if(typeof t.status==`string`)t.then(mn,mn);else{if(e=P,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ua(e),e}throw Va=t,Pa}}function Ba(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Va=e,Pa):e}}var Va=null;function Ha(){if(Va===null)throw Error(a(459));var e=Va;return Va=null,e}function Ua(e){if(e===Pa||e===Ia)throw Error(a(483))}var Wa=null,Ga=0;function Ka(e){var t=Ga;return Ga+=1,Wa===null&&(Wa=[]),za(Wa,e,t)}function qa(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ja(e,t){throw t.$$typeof===h?Error(a(525)):(e=Object.prototype.toString.call(t),Error(a(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ya(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=Si(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Ei(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function l(e,t,n,r){var a=n.type;return a===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===ie&&Ba(a)===t.type)?(t=i(t,n.props),qa(t,n),t.return=e,t):(t=wi(n.type,n.key,n.props,null,e.mode,r),qa(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Oi(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,a){return t===null||t.tag!==7?(t=Ti(n,e.mode,r,a),t.return=e,t):(t=i(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Ei(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=wi(t.type,t.key,t.props,null,e.mode,n),qa(n,t),n.return=e,n;case _:return t=Oi(t,e.mode,n),t.return=e,t;case ie:return t=Ba(t),f(e,t,n)}if(de(t)||ce(t))return t=Ti(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ka(t),n);if(t.$$typeof===S)return f(e,ma(e,t),n);Ja(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case ie:return n=Ba(n),p(e,t,n,r)}if(de(n)||ce(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ka(n),r);if(n.$$typeof===S)return p(e,t,ma(e,n),r);Ja(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case _:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ie:return r=Ba(r),m(e,t,n,r,i)}if(de(r)||ce(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ka(r),i);if(r.$$typeof===S)return m(e,t,n,ma(t,r),i);Ja(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),O&&Bi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return O&&Bi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),O&&Bi(i,h),l}function y(i,s,c,l){if(c==null)throw Error(a(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),O&&Bi(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return O&&Bi(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),O&&Bi(i,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===v&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===v){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ie&&Ba(l)===r.type){n(e,r.sibling),c=i(r,o.props),qa(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=Ti(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=wi(o.type,o.key,o.props,null,e.mode,c),qa(c,o),c.return=e,e=c)}return s(e);case _:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=Oi(o,e.mode,c),c.return=e,e=c}return s(e);case ie:return o=Ba(o),b(e,r,o,c)}if(de(o))return h(e,r,o,c);if(ce(o)){if(l=ce(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ka(o),c);if(o.$$typeof===S)return b(e,r,ma(e,o),c);Ja(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=Ei(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ga=0;var i=b(e,t,n,r);return Wa=null,i}catch(t){if(t===Pa||t===Ia)throw t;var a=bi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Xa=Ya(!0),Za=Ya(!1),Qa=!1;function $a(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function eo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function to(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function no(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,N&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=_i(e),gi(e,null,n),t}return pi(e,r,t,n),_i(e)}function ro(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pt(e,n)}}function k(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var io=!1;function ao(){if(io){var e=Ta;if(e!==null)throw e}}function oo(e,t,n,r){io=!1;var i=e.updateQueue;Qa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(I&f)===f:(r&f)===f){f!==0&&f===wa&&(io=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Qa=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),iu|=o,e.lanes=o,e.memoizedState=d}}function so(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function co(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)so(n[e],t)}var lo=he(null),uo=he(0);function fo(e,t){e=nu,_e(uo,e),_e(lo,t),nu=e|t.baseLanes}function po(){_e(uo,nu),_e(lo,lo.current)}function mo(){nu=uo.current,ge(lo),ge(uo)}var ho=he(null),go=null;function _o(e){var t=e.alternate;_e(So,So.current&1),_e(ho,e),go===null&&(t===null||lo.current!==null||t.memoizedState!==null)&&(go=e)}function vo(e){_e(So,So.current),_e(ho,e),go===null&&(go=e)}function yo(e){e.tag===22?(_e(So,So.current),_e(ho,e),go===null&&(go=e)):bo(e)}function bo(){_e(So,So.current),_e(ho,ho.current)}function xo(e){ge(ho),go===e&&(go=null),ge(So)}var So=he(0);function Co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||uf(n)||df(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var wo=0,A=null,To=null,Eo=null,Do=!1,Oo=!1,ko=!1,Ao=0,jo=0,Mo=null,No=0;function Po(){throw Error(a(321))}function Fo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Io(e,t,n,r,i,a){return wo=a,A=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,C.H=e===null||e.memoizedState===null?Zs:Qs,ko=!1,a=n(r,i),ko=!1,Oo&&(a=Ro(t,n,r,i)),Lo(e),a}function Lo(e){C.H=Xs;var t=To!==null&&To.next!==null;if(wo=0,Eo=To=A=null,Do=!1,jo=0,Mo=null,t)throw Error(a(300));e===null||hc||(e=e.dependencies,e!==null&&da(e)&&(hc=!0))}function Ro(e,t,n,r){A=e;var i=0;do{if(Oo&&(Mo=null),jo=0,Oo=!1,25<=i)throw Error(a(301));if(i+=1,Eo=To=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}C.H=$s,o=t(n,r)}while(Oo);return o}function zo(){var e=C.H,t=e.useState()[0];return t=typeof t.then==`function`?Ko(t):t,e=e.useState()[0],(To===null?null:To.memoizedState)!==e&&(A.flags|=1024),t}function Bo(){var e=Ao!==0;return Ao=0,e}function Vo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ho(e){if(Do){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Do=!1}wo=0,Eo=To=A=null,Oo=!1,jo=Ao=0,Mo=null}function Uo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Eo===null?A.memoizedState=Eo=e:Eo=Eo.next=e,Eo}function Wo(){if(To===null){var e=A.alternate;e=e===null?null:e.memoizedState}else e=To.next;var t=Eo===null?A.memoizedState:Eo.next;if(t!==null)Eo=t,To=e;else{if(e===null)throw A.alternate===null?Error(a(467)):Error(a(310));To=e,e={memoizedState:To.memoizedState,baseState:To.baseState,baseQueue:To.baseQueue,queue:To.queue,next:null},Eo===null?A.memoizedState=Eo=e:Eo=Eo.next=e}return Eo}function Go(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ko(e){var t=jo;return jo+=1,Mo===null&&(Mo=[]),e=za(Mo,e,t),t=A,(Eo===null?t.memoizedState:Eo.next)===null&&(t=t.alternate,C.H=t===null||t.memoizedState===null?Zs:Qs),e}function qo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ko(e);if(e.$$typeof===S)return pa(e)}throw Error(a(438,String(e)))}function Jo(e){var t=null,n=A.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=A.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Go(),A.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=oe;return t.index++,n}function Yo(e,t){return typeof t==`function`?t(e):t}function Xo(e){return Zo(Wo(),To,e)}function Zo(e,t,n){var r=e.queue;if(r===null)throw Error(a(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,i===null)e.memoizedState=o;else{t=i.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(wo&f)===f:(I&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===wa&&(d=!0);else if((wo&p)===p){u=u.next,p===wa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,A.lanes|=p,iu|=p;f=u.action,ko&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,A.lanes|=f,iu|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Pr(o,e.memoizedState)&&(hc=!0,d&&(n=Ta,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Qo(e){var t=Wo(),n=t.queue;if(n===null)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Pr(o,t.memoizedState)||(hc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function $o(e,t,n){var r=A,i=Wo(),o=O;if(o){if(n===void 0)throw Error(a(407));n=n()}else n=t();var s=!Pr((To||i).memoizedState,n);if(s&&(i.memoizedState=n,hc=!0),i=i.queue,Ss(M.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||Eo!==null&&Eo.memoizedState.tag&1){if(r.flags|=2048,_s(9,{destroy:void 0},j.bind(null,r,i,n,t),null),P===null)throw Error(a(349));o||wo&127||es(r,t,n)}return n}function es(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=A.updateQueue,t===null?(t=Go(),A.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function j(e,t,n,r){t.value=n,t.getSnapshot=r,ts(t)&&ns(e)}function M(e,t,n){return n(function(){ts(t)&&ns(e)})}function ts(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pr(e,n)}catch{return!0}}function ns(e){var t=hi(e,2);t!==null&&Cu(t,e,2)}function rs(e){var t=Uo();if(typeof e==`function`){var n=e;if(e=n(),ko){Xe(!0);try{n()}finally{Xe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yo,lastRenderedState:e},t}function is(e,t,n,r){return e.baseState=n,Zo(e,To,typeof r==`function`?r:Yo)}function as(e,t,n,r,i){if(qs(e))throw Error(a(485));if(e=t.action,e!==null){var o={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};C.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,os(t,o)):(o.next=n.next,t.pending=n.next=o)}}function os(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=C.T,o={};C.T=o;try{var s=n(i,r),c=C.S;c!==null&&c(o,s),ss(e,t,s)}catch(n){ls(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),C.T=a}}else try{a=n(i,r),ss(e,t,a)}catch(n){ls(e,t,n)}}function ss(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){cs(e,t,n)},function(n){return ls(e,t,n)}):cs(e,t,n)}function cs(e,t,n){t.status=`fulfilled`,t.value=n,us(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,os(e,n)))}function ls(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,us(t),t=t.next;while(t!==r)}e.action=null}function us(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ds(e,t){return t}function fs(e,t){if(O){var n=P.formState;if(n!==null){a:{var r=A;if(O){if(Ki){b:{for(var i=Ki,a=Ji;i.nodeType!==8;){if(!a){i=null;break b}if(i=pf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ki=pf(i.nextSibling),r=i.data===`F!`;break a}}Xi(r)}r=!1}r&&(t=n[0])}}return n=Uo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ds,lastRenderedState:t},n.queue=r,n=Ws.bind(null,A,r),r.dispatch=n,r=rs(!1),a=Ks.bind(null,A,!1,r.queue),r=Uo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=as.bind(null,A,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ps(e){return ms(Wo(),To,e)}function ms(e,t,n){if(t=Zo(e,t,ds)[0],e=Xo(Yo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Ko(t)}catch(e){throw e===Pa?Ia:e}else r=t;t=Wo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(A.flags|=2048,_s(9,{destroy:void 0},hs.bind(null,i,n),null)),[r,a,e]}function hs(e,t){e.action=t}function gs(e){var t=Wo(),n=To;if(n!==null)return ms(t,n,e);Wo(),t=t.memoizedState,n=Wo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function _s(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=A.updateQueue,t===null&&(t=Go(),A.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vs(){return Wo().memoizedState}function ys(e,t,n,r){var i=Uo();A.flags|=e,i.memoizedState=_s(1|t,{destroy:void 0},n,r===void 0?null:r)}function bs(e,t,n,r){var i=Wo();r=r===void 0?null:r;var a=i.memoizedState.inst;To!==null&&r!==null&&Fo(r,To.memoizedState.deps)?i.memoizedState=_s(t,a,n,r):(A.flags|=e,i.memoizedState=_s(1|t,a,n,r))}function xs(e,t){ys(8390656,8,e,t)}function Ss(e,t){bs(2048,8,e,t)}function Cs(e){A.flags|=4;var t=A.updateQueue;if(t===null)t=Go(),A.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ws(e){var t=Wo().memoizedState;return Cs({ref:t,nextImpl:e}),function(){if(N&2)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function Ts(e,t){return bs(4,2,e,t)}function Es(e,t){return bs(4,4,e,t)}function Ds(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Os(e,t,n){n=n==null?null:n.concat([e]),bs(4,4,Ds.bind(null,t,e),n)}function ks(){}function As(e,t){var n=Wo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Fo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function js(e,t){var n=Wo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Fo(t,r[1]))return r[0];if(r=e(),ko){Xe(!0);try{e()}finally{Xe(!1)}}return n.memoizedState=[r,t],r}function Ms(e,t,n){return n===void 0||wo&1073741824&&!(I&261930)?e.memoizedState=t:(e.memoizedState=n,e=Su(),A.lanes|=e,iu|=e,n)}function Ns(e,t,n,r){return Pr(n,t)?n:lo.current===null?!(wo&42)||wo&1073741824&&!(I&261930)?(hc=!0,e.memoizedState=n):(e=Su(),A.lanes|=e,iu|=e,t):(e=Ms(e,n,r),Pr(e,t)||(hc=!0),e)}function Ps(e,t,n,r,i){var a=w.p;w.p=a!==0&&8>a?a:8;var o=C.T,s={};C.T=s,Ks(e,!1,t,n);try{var c=i(),l=C.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Gs(e,t,Oa(c,r),xu(e)):Gs(e,t,r,xu(e))}catch(n){Gs(e,t,{then:function(){},status:`rejected`,reason:n},xu())}finally{w.p=a,o!==null&&s.types!==null&&(o.types=s.types),C.T=o}}function Fs(){}function Is(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=Ls(e).queue;Ps(e,i,t,fe,n===null?Fs:function(){return Rs(e),n(r)})}function Ls(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:fe,baseState:fe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yo,lastRenderedState:fe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Rs(e){var t=Ls(e);t.next===null&&(t=e.alternate.memoizedState),Gs(e,t.next.queue,{},xu())}function zs(){return pa($f)}function Bs(){return Wo().memoizedState}function Vs(){return Wo().memoizedState}function Hs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=xu();e=to(n);var r=no(t,e,n);r!==null&&(Cu(r,t,n),ro(r,t,n)),t={cache:ba()},e.payload=t;return}t=t.return}}function Us(e,t,n){var r=xu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},qs(e)?Js(t,n):(n=mi(e,t,n,r),n!==null&&(Cu(n,e,r),Ys(n,t,r)))}function Ws(e,t,n){Gs(e,t,n,xu())}function Gs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(qs(e))Js(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Pr(s,o))return pi(e,t,i,0),P===null&&fi(),!1}catch{}if(n=mi(e,t,i,r),n!==null)return Cu(n,e,r),Ys(n,t,r),!0}return!1}function Ks(e,t,n,r){if(r={lane:2,revertLane:vd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},qs(e)){if(t)throw Error(a(479))}else t=mi(e,n,r,2),t!==null&&Cu(t,e,2)}function qs(e){var t=e.alternate;return e===A||t!==null&&t===A}function Js(e,t){Oo=Do=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ys(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pt(e,n)}}var Xs={readContext:pa,use:qo,useCallback:Po,useContext:Po,useEffect:Po,useImperativeHandle:Po,useLayoutEffect:Po,useInsertionEffect:Po,useMemo:Po,useReducer:Po,useRef:Po,useState:Po,useDebugValue:Po,useDeferredValue:Po,useTransition:Po,useSyncExternalStore:Po,useId:Po,useHostTransitionStatus:Po,useFormState:Po,useActionState:Po,useOptimistic:Po,useMemoCache:Po,useCacheRefresh:Po};Xs.useEffectEvent=Po;var Zs={readContext:pa,use:qo,useCallback:function(e,t){return Uo().memoizedState=[e,t===void 0?null:t],e},useContext:pa,useEffect:xs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ys(4194308,4,Ds.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ys(4194308,4,e,t)},useInsertionEffect:function(e,t){ys(4,2,e,t)},useMemo:function(e,t){var n=Uo();t=t===void 0?null:t;var r=e();if(ko){Xe(!0);try{e()}finally{Xe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Uo();if(n!==void 0){var i=n(t);if(ko){Xe(!0);try{n(t)}finally{Xe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Us.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var t=Uo();return e={current:e},t.memoizedState=e},useState:function(e){e=rs(e);var t=e.queue,n=Ws.bind(null,A,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ks,useDeferredValue:function(e,t){return Ms(Uo(),e,t)},useTransition:function(){var e=rs(!1);return e=Ps.bind(null,A,e.queue,!0,!1),Uo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=A,i=Uo();if(O){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),P===null)throw Error(a(349));I&127||es(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,xs(M.bind(null,r,o,e),[e]),r.flags|=2048,_s(9,{destroy:void 0},j.bind(null,r,o,n,t),null),n},useId:function(){var e=Uo(),t=P.identifierPrefix;if(O){var n=zi,r=Ri;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Ao++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=No++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:zs,useFormState:fs,useActionState:fs,useOptimistic:function(e){var t=Uo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ks.bind(null,A,!0,n),n.dispatch=t,[e,t]},useMemoCache:Jo,useCacheRefresh:function(){return Uo().memoizedState=Hs.bind(null,A)},useEffectEvent:function(e){var t=Uo(),n={impl:e};return t.memoizedState=n,function(){if(N&2)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},Qs={readContext:pa,use:qo,useCallback:As,useContext:pa,useEffect:Ss,useImperativeHandle:Os,useInsertionEffect:Ts,useLayoutEffect:Es,useMemo:js,useReducer:Xo,useRef:vs,useState:function(){return Xo(Yo)},useDebugValue:ks,useDeferredValue:function(e,t){return Ns(Wo(),To.memoizedState,e,t)},useTransition:function(){var e=Xo(Yo)[0],t=Wo().memoizedState;return[typeof e==`boolean`?e:Ko(e),t]},useSyncExternalStore:$o,useId:Bs,useHostTransitionStatus:zs,useFormState:ps,useActionState:ps,useOptimistic:function(e,t){return is(Wo(),To,e,t)},useMemoCache:Jo,useCacheRefresh:Vs};Qs.useEffectEvent=ws;var $s={readContext:pa,use:qo,useCallback:As,useContext:pa,useEffect:Ss,useImperativeHandle:Os,useInsertionEffect:Ts,useLayoutEffect:Es,useMemo:js,useReducer:Qo,useRef:vs,useState:function(){return Qo(Yo)},useDebugValue:ks,useDeferredValue:function(e,t){var n=Wo();return To===null?Ms(n,e,t):Ns(n,To.memoizedState,e,t)},useTransition:function(){var e=Qo(Yo)[0],t=Wo().memoizedState;return[typeof e==`boolean`?e:Ko(e),t]},useSyncExternalStore:$o,useId:Bs,useHostTransitionStatus:zs,useFormState:gs,useActionState:gs,useOptimistic:function(e,t){var n=Wo();return To===null?(n.baseState=e,[e,n.queue.dispatch]):is(n,To,e,t)},useMemoCache:Jo,useCacheRefresh:Vs};$s.useEffectEvent=ws;function ec(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var tc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=xu(),i=to(r);i.payload=t,n!=null&&(i.callback=n),t=no(e,i,r),t!==null&&(Cu(t,e,r),ro(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=xu(),i=to(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=no(e,i,r),t!==null&&(Cu(t,e,r),ro(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=xu(),r=to(n);r.tag=2,t!=null&&(r.callback=t),t=no(e,r,n),t!==null&&(Cu(t,e,n),ro(t,e,n))}};function nc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(i,a):!0}function rc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&tc.enqueueReplaceState(t,t.state,null)}function ic(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function ac(e){ci(e)}function oc(e){console.error(e)}function sc(e){ci(e)}function cc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function lc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function uc(e,t,n){return n=to(n),n.tag=3,n.payload={element:null},n.callback=function(){cc(e,t)},n}function dc(e){return e=to(e),e.tag=3,e}function fc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){lc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){lc(t,n,r),typeof i!=`function`&&(hu===null?hu=new Set([this]):hu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function pc(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ua(t,n,i,!0),n=ho.current,n!==null){switch(n.tag){case 31:case 13:return go===null?Fu():n.alternate===null&&ru===0&&(ru=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===La?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),$u(e,r,i)),!1;case 22:return n.flags|=65536,r===La?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),$u(e,r,i)),!1}throw Error(a(435,n.tag))}return $u(e,r,i),Fu(),!1}if(O)return t=ho.current,t===null?(r!==Yi&&(t=Error(a(423),{cause:r}),na(Ai(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Ai(r,n),i=uc(e.stateNode,r,i),k(e,i),ru!==4&&(ru=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Yi&&(e=Error(a(422),{cause:r}),na(Ai(e,n)))),!1;var o=Error(a(520),{cause:r});if(o=Ai(o,n),lu===null?lu=[o]:lu.push(o),ru!==4&&(ru=2),t===null)return!0;r=Ai(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=uc(n.stateNode,r,e),k(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(hu===null||!hu.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,i=dc(i),fc(i,e,n,r),k(n,i),!1}n=n.return}while(n!==null);return!1}var mc=Error(a(461)),hc=!1;function gc(e,t,n,r){t.child=e===null?Za(t,null,n,r):Xa(t,e.child,n,r)}function _c(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return fa(t),r=Io(e,t,n,o,a,i),s=Bo(),e!==null&&!hc?(Vo(e,t,i),Vc(e,t,i)):(O&&s&&Hi(t),t.flags|=1,gc(e,t,r,i),t.child)}function vc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!xi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,yc(e,t,a,r,i)):(e=wi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Hc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Fr:n,n(o,r)&&e.ref===t.ref)return Vc(e,t,i)}return t.flags|=1,e=Si(a,r),e.ref=t.ref,e.return=t,t.child=e}function yc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Fr(a,r)&&e.ref===t.ref)if(hc=!1,t.pendingProps=r=a,Hc(e,i))e.flags&131072&&(hc=!0);else return t.lanes=e.lanes,Vc(e,t,i)}return Dc(e,t,n,r,i)}function bc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Sc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ma(t,a===null?null:a.cachePool),a===null?po():fo(t,a),yo(t);else return r=t.lanes=536870912,Sc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ma(t,null),po(),bo(t)):(Ma(t,a.cachePool),fo(t,a),bo(t),t.memoizedState=null);return gc(e,t,i,n),t.child}function xc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Sc(e,t,n,r,i){var a=ja();return a=a===null?null:{parent:ya._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ma(t,null),po(),yo(t),e!==null&&ua(e,t,r,!0),t.childLanes=i,null}function Cc(e,t){return t=Ic({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function wc(e,t,n){return Xa(t,e.child,null,n),e=Cc(t,t.pendingProps),e.flags|=2,xo(t),t.memoizedState=null,e}function Tc(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(O){if(r.mode===`hidden`)return e=Cc(t,r),t.lanes=536870912,xc(null,e);if(vo(t),(e=Ki)?(e=lf(e,Ji),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li===null?null:{id:Ri,overflow:zi},retryLane:536870912,hydrationErrors:null},n=Di(e),n.return=t,t.child=n,Gi=t,Ki=null)):e=null,e===null)throw Xi(t);return t.lanes=536870912,null}return Cc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(vo(t),i)if(t.flags&256)t.flags&=-257,t=wc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(a(558));else if(hc||ua(e,t,n,!1),i=(n&e.childLanes)!==0,hc||i){if(r=P,r!==null&&(s=mt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,hi(e,s),Cu(r,e,s),mc;Fu(),t=wc(e,t,n)}else e=o.treeContext,Ki=pf(s.nextSibling),Gi=t,O=!0,qi=null,Ji=!1,e!==null&&Wi(t,e),t=Cc(t,r),t.flags|=4096;return t}return e=Si(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ec(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(a(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Dc(e,t,n,r,i){return fa(t),n=Io(e,t,n,r,void 0,i),r=Bo(),e!==null&&!hc?(Vo(e,t,i),Vc(e,t,i)):(O&&r&&Hi(t),t.flags|=1,gc(e,t,n,i),t.child)}function Oc(e,t,n,r,i,a){return fa(t),t.updateQueue=null,n=Ro(t,r,n,i),Lo(e),r=Bo(),e!==null&&!hc?(Vo(e,t,a),Vc(e,t,a)):(O&&r&&Hi(t),t.flags|=1,gc(e,t,n,a),t.child)}function kc(e,t,n,r,i){if(fa(t),t.stateNode===null){var a=vi,o=n.contextType;typeof o==`object`&&o&&(a=pa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=tc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},$a(t),o=n.contextType,a.context=typeof o==`object`&&o?pa(o):vi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(ec(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&tc.enqueueReplaceState(a,a.state,null),oo(t,r,a,i),ao(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=ic(n,s);a.props=c;var l=a.context,u=n.contextType;o=vi,typeof u==`object`&&u&&(o=pa(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&rc(t,a,r,o),Qa=!1;var f=t.memoizedState;a.state=f,oo(t,r,a,i),ao(),l=t.memoizedState,s||f!==l||Qa?(typeof d==`function`&&(ec(t,n,d,r),l=t.memoizedState),(c=Qa||nc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,eo(e,t),o=t.memoizedProps,u=ic(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=vi,typeof l==`object`&&l&&(c=pa(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&rc(t,a,r,c),Qa=!1,f=t.memoizedState,a.state=f,oo(t,r,a,i),ao();var p=t.memoizedState;o!==d||f!==p||Qa||e!==null&&e.dependencies!==null&&da(e.dependencies)?(typeof s==`function`&&(ec(t,n,s,r),p=t.memoizedState),(u=Qa||nc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&da(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ec(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Xa(t,e.child,null,i),t.child=Xa(t,null,n,i)):gc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Vc(e,t,i),e}function Ac(e,t,n,r){return ea(),t.flags|=256,gc(e,t,n,r),t.child}var jc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mc(e){return{baseLanes:e,cachePool:Na()}}function Nc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=su),e}function Pc(e,t,n){var r=t.pendingProps,i=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(So.current&2)!=0),s&&(i=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(O){if(i?_o(t):bo(t),(e=Ki)?(e=lf(e,Ji),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li===null?null:{id:Ri,overflow:zi},retryLane:536870912,hydrationErrors:null},n=Di(e),n.return=t,t.child=n,Gi=t,Ki=null)):e=null,e===null)throw Xi(t);return df(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,i?(bo(t),i=t.mode,c=Ic({mode:`hidden`,children:c},i),r=Ti(r,i,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Mc(n),r.childLanes=Nc(e,s,n),t.memoizedState=jc,xc(null,r)):(_o(t),Fc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(_o(t),t.flags&=-257,t=Lc(e,t,n)):t.memoizedState===null?(bo(t),c=r.fallback,i=t.mode,r=Ic({mode:`visible`,children:r.children},i),c=Ti(c,i,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Xa(t,e.child,null,n),r=t.child,r.memoizedState=Mc(n),r.childLanes=Nc(e,s,n),t.memoizedState=jc,t=xc(null,r)):(bo(t),t.child=e.child,t.flags|=128,t=null);else if(_o(t),df(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(a(419)),r.stack=``,r.digest=s,na({value:r,source:null,stack:null}),t=Lc(e,t,n)}else if(hc||ua(e,t,n,!1),s=(n&e.childLanes)!==0,hc||s){if(s=P,s!==null&&(r=mt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,hi(e,r),Cu(s,e,r),mc;uf(c)||Fu(),t=Lc(e,t,n)}else uf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ki=pf(c.nextSibling),Gi=t,O=!0,qi=null,Ji=!1,e!==null&&Wi(t,e),t=Fc(t,r.children),t.flags|=4096);return t}return i?(bo(t),c=r.fallback,i=t.mode,l=e.child,u=l.sibling,r=Si(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=Ti(c,i,n,null),c.flags|=2):c=Si(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,xc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Mc(n):(i=c.cachePool,i===null?i=Na():(l=ya._currentValue,i=i.parent===l?i:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:i}),r.memoizedState=c,r.childLanes=Nc(e,s,n),t.memoizedState=jc,xc(e.child,r)):(_o(t),n=e.child,e=n.sibling,n=Si(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Fc(e,t){return t=Ic({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Ic(e,t){return e=bi(22,e,null,t),e.lanes=0,e}function Lc(e,t,n){return Xa(t,e.child,null,n),e=Fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Rc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ca(e.return,t,n)}function zc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Bc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=So.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,_e(So,o),gc(e,t,r,n),r=O?Pi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rc(e,n,t);else if(e.tag===19)Rc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zc(t,!0,n,null,a,r);break;case`together`:zc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Vc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),iu|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ua(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(a(153));if(t.child!==null){for(e=t.child,n=Si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&da(e))):!0}function Uc(e,t,n){switch(t.tag){case 3:Se(t,t.stateNode.containerInfo),oa(t,ya,e.memoizedState.cache),ea();break;case 27:case 5:we(t);break;case 4:Se(t,t.stateNode.containerInfo);break;case 10:oa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,vo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(_o(t),e=Vc(e,t,n),e===null?null:e.sibling):Pc(e,t,n):(_o(t),t.flags|=128,null);_o(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ua(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Bc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),_e(So,So.current),r)break;return null;case 22:return t.lanes=0,bc(e,t,n,t.pendingProps);case 24:oa(t,ya,e.memoizedState.cache)}return Vc(e,t,n)}function Wc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)hc=!0;else{if(!Hc(e,n)&&!(t.flags&128))return hc=!1,Uc(e,t,n);hc=!!(e.flags&131072)}else hc=!1,O&&t.flags&1048576&&Vi(t,Pi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ba(t.elementType),t.type=e,typeof e==`function`)xi(e)?(r=ic(e,r),t.tag=1,t=kc(null,t,e,r,n)):(t.tag=0,t=Dc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===ee){t.tag=11,t=_c(null,t,e,r,n);break a}else if(i===re){t.tag=14,t=vc(null,t,e,r,n);break a}}throw t=ue(e)||e,Error(a(306,t,``))}}return t;case 0:return Dc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=ic(r,t.pendingProps),kc(e,t,r,i,n);case 3:a:{if(Se(t,t.stateNode.containerInfo),e===null)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,eo(e,t),oo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,oa(t,ya,r),r!==o.cache&&la(t,[ya],n,!0),ao(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Ac(e,t,r,n);break a}else if(r!==i){i=Ai(Error(a(424)),t),na(i),t=Ac(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ki=pf(e.firstChild),Gi=t,O=!0,qi=null,Ji=!0,n=Za(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ea(),r===i){t=Vc(e,t,n);break a}gc(e,t,r,n)}t=t.child}return t;case 26:return Ec(e,t),e===null?(n=Nf(t.type,null,t.pendingProps,null))?t.memoizedState=n:O||(n=t.type,e=t.pendingProps,r=J(be.current).createElement(n),r[bt]=t,r[xt]=e,Vd(r,n,e),Nt(r),t.stateNode=r):t.memoizedState=Nf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return we(t),e===null&&O&&(r=t.stateNode=_f(t.type,t.pendingProps,be.current),Gi=t,Ji=!0,i=Ki,nf(t.type)?(mf=i,Ki=pf(r.firstChild)):Ki=i),gc(e,t,t.pendingProps.children,n),Ec(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&O&&((i=r=Ki)&&(r=sf(r,t.type,t.pendingProps,Ji),r===null?i=!1:(t.stateNode=r,Gi=t,Ki=pf(r.firstChild),Ji=!1,i=!0)),i||Xi(t)),we(t),i=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Y(i,o)?r=null:s!==null&&Y(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=Io(e,t,zo,null,null,n),$f._currentValue=i),Ec(e,t),gc(e,t,r,n),t.child;case 6:return e===null&&O&&((e=n=Ki)&&(n=cf(n,t.pendingProps,Ji),n===null?e=!1:(t.stateNode=n,Gi=t,Ki=null,e=!0)),e||Xi(t)),null;case 13:return Pc(e,t,n);case 4:return Se(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xa(t,null,r,n):gc(e,t,r,n),t.child;case 11:return _c(e,t,t.type,t.pendingProps,n);case 7:return gc(e,t,t.pendingProps,n),t.child;case 8:return gc(e,t,t.pendingProps.children,n),t.child;case 12:return gc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,oa(t,t.type,r.value),gc(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,fa(t),i=pa(i),r=r(i),t.flags|=1,gc(e,t,r,n),t.child;case 14:return vc(e,t,t.type,t.pendingProps,n);case 15:return yc(e,t,t.type,t.pendingProps,n);case 19:return Bc(e,t,n);case 31:return Tc(e,t,n);case 22:return bc(e,t,n,t.pendingProps);case 24:return fa(t),r=pa(ya),e===null?(i=ja(),i===null&&(i=P,o=ba(),i.pooledCache=o,o.refCount++,o!==null&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},$a(t),oa(t,ya,i)):((e.lanes&n)!==0&&(eo(e,t),oo(t,null,null,n),ao()),i=e.memoizedState,o=t.memoizedState,i.parent===r?(r=o.cache,oa(t,ya,r),r!==i.cache&&la(t,[ya],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),oa(t,ya,r))),gc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function Gc(e){e.flags|=4}function Kc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Mu())e.flags|=8192;else throw Va=La,Fa}else e.flags&=-16777217}function qc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(Mu())e.flags|=8192;else throw Va=La,Fa}function Jc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:ct(),e.lanes|=t,cu|=t)}function Yc(e,t){if(!O)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zc(e,t,n){var r=t.pendingProps;switch(Ui(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xc(t),null;case 1:return Xc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),sa(ya),Ce(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($i(t)?Gc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ta())),Xc(t),null;case 26:var i=t.type,o=t.memoizedState;return e===null?(Gc(t),o===null?(Xc(t),Kc(t,i,null,r,n)):(Xc(t),qc(t,o))):o?o===e.memoizedState?(Xc(t),t.flags&=-16777217):(Gc(t),Xc(t),qc(t,o)):(e=e.memoizedProps,e!==r&&Gc(t),Xc(t),Kc(t,i,e,r,n)),null;case 27:if(Te(t),n=be.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Gc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return Xc(t),null}e=ve.current,$i(t)?Zi(t,e):(e=_f(i,r,n),t.stateNode=e,Gc(t))}return Xc(t),null;case 5:if(Te(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Gc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return Xc(t),null}if(o=ve.current,$i(t))Zi(t,o);else{var s=J(be.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[bt]=t,o[xt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Vd(o,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Gc(t)}}return Xc(t),Kc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Gc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=be.current,$i(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Gi,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[bt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||zd(e.nodeValue,n)),e||Xi(t,!0)}else e=J(e).createTextNode(r),e[bt]=t,t.stateNode=e}return Xc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=$i(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[bt]=t}else ea(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Xc(t),e=!1}else n=ta(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(xo(t),t):(xo(t),null);if(t.flags&128)throw Error(a(558))}return Xc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=$i(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[bt]=t}else ea(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Xc(t),i=!1}else i=ta(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(xo(t),t):(xo(t),null)}return xo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Jc(t,t.updateQueue),Xc(t),null);case 4:return Ce(),e===null&&kd(t.stateNode.containerInfo),Xc(t),null;case 10:return sa(t.type),Xc(t),null;case 19:if(ge(So),r=t.memoizedState,r===null)return Xc(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Yc(r,!1);else{if(ru!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Co(e),o!==null){for(t.flags|=128,Yc(r,!1),e=o.updateQueue,t.updateQueue=e,Jc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ci(n,e),n=n.sibling;return _e(So,So.current&1|2),O&&Bi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Re()>pu&&(t.flags|=128,i=!0,Yc(r,!1),t.lanes=4194304)}else{if(!i)if(e=Co(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Jc(t,e),Yc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!O)return Xc(t),null}else 2*Re()-r.renderingStartTime>pu&&n!==536870912&&(t.flags|=128,i=!0,Yc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Xc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Re(),e.sibling=null,n=So.current,_e(So,i?n&1|2:n&1),O&&Bi(t,r.treeForkCount),e);case 22:case 23:return xo(t),mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Xc(t),t.subtreeFlags&6&&(t.flags|=8192)):Xc(t),n=t.updateQueue,n!==null&&Jc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ge(Aa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),sa(ya),Xc(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Qc(e,t){switch(Ui(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sa(ya),Ce(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Te(t),null;case 31:if(t.memoizedState!==null){if(xo(t),t.alternate===null)throw Error(a(340));ea()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));ea()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(So),null;case 4:return Ce(),null;case 10:return sa(t.type),null;case 22:case 23:return xo(t),mo(),e!==null&&ge(Aa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return sa(ya),null;case 25:return null;default:return null}}function $c(e,t){switch(Ui(t),t.tag){case 3:sa(ya),Ce();break;case 26:case 27:case 5:Te(t);break;case 4:Ce();break;case 31:t.memoizedState!==null&&xo(t);break;case 13:xo(t);break;case 19:ge(So);break;case 10:sa(t.type);break;case 22:case 23:xo(t),mo(),e!==null&&ge(Aa);break;case 24:sa(ya)}}function el(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){W(t,t.return,e)}}function tl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){W(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){W(t,t.return,e)}}function nl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{co(t,n)}catch(t){W(e,e.return,t)}}}function rl(e,t,n){n.props=ic(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){W(e,t,n)}}function il(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){W(e,t,n)}}function al(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){W(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){W(e,t,n)}else n.current=null}function ol(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){W(e,e.return,t)}}function sl(e,t,n){try{var r=e.stateNode;Hd(r,e.type,n,t),r[xt]=t}catch(t){W(e,e.return,t)}}function cl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&nf(e.type)||e.tag===4}function ll(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||cl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&nf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mn));else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(ul(e,t,n),e=e.sibling;e!==null;)ul(e,t,n),e=e.sibling}function dl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(dl(e,t,n),e=e.sibling;e!==null;)dl(e,t,n),e=e.sibling}function fl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Vd(t,r,n),t[bt]=e,t[xt]=n}catch(t){W(e,e.return,t)}}var pl=!1,ml=!1,hl=!1,gl=typeof WeakSet==`function`?WeakSet:Set,_l=null;function vl(e,t){if(e=e.containerInfo,Gd=cp,e=zr(e),Br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(c=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===i&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Kd={focusedElem:e,selectionRange:n},cp=!1,_l=t;_l!==null;)if(t=_l,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,_l=e;else for(;_l!==null;){switch(t=_l,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=ic(n.type,i);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){W(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)of(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:of(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(a(163))}if(e=t.sibling,e!==null){e.return=t.return,_l=e;break}_l=t.return}}function yl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Pl(e,n),r&4&&el(5,n);break;case 1:if(Pl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){W(n,n.return,e)}else{var i=ic(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){W(n,n.return,e)}}r&64&&nl(n),r&512&&il(n,n.return);break;case 3:if(Pl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{co(e,t)}catch(e){W(n,n.return,e)}}break;case 27:t===null&&r&4&&fl(n);case 26:case 5:Pl(e,n),t===null&&r&4&&ol(n),r&512&&il(n,n.return);break;case 12:Pl(e,n);break;case 31:Pl(e,n),r&4&&Tl(e,n);break;case 13:Pl(e,n),r&4&&El(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=nd.bind(null,n),ff(e,n))));break;case 22:if(r=n.memoizedState!==null||pl,!r){t=t!==null&&t.memoizedState!==null||ml,i=pl;var a=ml;pl=r,(ml=t)&&!a?Il(e,n,(n.subtreeFlags&8772)!=0):Pl(e,n),pl=i,ml=a}break;case 30:break;default:Pl(e,n)}}function bl(e){var t=e.alternate;t!==null&&(e.alternate=null,bl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ot(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var xl=null,Sl=!1;function Cl(e,t,n){for(n=n.child;n!==null;)wl(e,t,n),n=n.sibling}function wl(e,t,n){if(Ye&&typeof Ye.onCommitFiberUnmount==`function`)try{Ye.onCommitFiberUnmount(Je,n)}catch{}switch(n.tag){case 26:ml||al(n,t),Cl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ml||al(n,t);var r=xl,i=Sl;nf(n.type)&&(xl=n.stateNode,Sl=!1),Cl(e,t,n),vf(n.stateNode),xl=r,Sl=i;break;case 5:ml||al(n,t);case 6:if(r=xl,i=Sl,xl=null,Cl(e,t,n),xl=r,Sl=i,xl!==null)if(Sl)try{(xl.nodeType===9?xl.body:xl.nodeName===`HTML`?xl.ownerDocument.body:xl).removeChild(n.stateNode)}catch(e){W(n,t,e)}else try{xl.removeChild(n.stateNode)}catch(e){W(n,t,e)}break;case 18:xl!==null&&(Sl?(e=xl,rf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):rf(xl,n.stateNode));break;case 4:r=xl,i=Sl,xl=n.stateNode.containerInfo,Sl=!0,Cl(e,t,n),xl=r,Sl=i;break;case 0:case 11:case 14:case 15:tl(2,n,t),ml||tl(4,n,t),Cl(e,t,n);break;case 1:ml||(al(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&rl(n,t,r)),Cl(e,t,n);break;case 21:Cl(e,t,n);break;case 22:ml=(r=ml)||n.memoizedState!==null,Cl(e,t,n),ml=r;break;default:Cl(e,t,n)}}function Tl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){W(t,t.return,e)}}}function El(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){W(t,t.return,e)}}function Dl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new gl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new gl),t;default:throw Error(a(435,e.tag))}}function Ol(e,t){var n=Dl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=G.bind(null,e,t);t.then(r,r)}})}function kl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(nf(c.type)){xl=c.stateNode,Sl=!1;break a}break;case 5:xl=c.stateNode,Sl=!1;break a;case 3:case 4:xl=c.stateNode.containerInfo,Sl=!0;break a}c=c.return}if(xl===null)throw Error(a(160));wl(o,s,i),xl=null,Sl=!1,o=i.alternate,o!==null&&(o.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)jl(t,e),t=t.sibling}var Al=null;function jl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:kl(t,e),Ml(e),r&4&&(tl(3,e,e.return),el(3,e),tl(5,e,e.return));break;case 1:kl(t,e),Ml(e),r&512&&(ml||n===null||al(n,n.return)),r&64&&pl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var i=Al;if(kl(t,e),Ml(e),r&512&&(ml||n===null||al(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;b:switch(r){case`title`:o=i.getElementsByTagName(`title`)[0],(!o||o[Dt]||o[bt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector(`head > title`))),Vd(o,r,n),o[bt]=e,Nt(o),r=o;break a;case`link`:var s=$(`link`,`href`,i).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=i.createElement(r),Vd(o,r,n),i.head.appendChild(o);break;case`meta`:if(s=$(`meta`,`content`,i).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=i.createElement(r),Vd(o,r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[bt]=e,Nt(o),r=o}e.stateNode=r}else Uf(i,e.type,e.stateNode);else e.stateNode=Bf(i,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&sl(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Uf(i,e.type,e.stateNode):Bf(i,r,e.memoizedProps))}break;case 27:kl(t,e),Ml(e),r&512&&(ml||n===null||al(n,n.return)),n!==null&&r&4&&sl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(kl(t,e),Ml(e),r&512&&(ml||n===null||al(n,n.return)),e.flags&32){i=e.stateNode;try{on(i,``)}catch(t){W(e,e.return,t)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,sl(e,i,n===null?i:n.memoizedProps)),r&1024&&(hl=!0);break;case 6:if(kl(t,e),Ml(e),r&4){if(e.stateNode===null)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){W(e,e.return,t)}}break;case 3:if(Q=null,i=Al,Al=xf(t.containerInfo),kl(t,e),Al=i,Ml(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){W(e,e.return,t)}hl&&(hl=!1,Nl(e));break;case 4:r=Al,Al=xf(e.stateNode.containerInfo),kl(t,e),Ml(e),Al=r;break;case 12:kl(t,e),Ml(e);break;case 31:kl(t,e),Ml(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 13:kl(t,e),Ml(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(du=Re()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=pl,d=ml;if(pl=u||i,ml=d||l,kl(t,e),ml=d,pl=u,Ml(e),r&8192)a:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||pl||ml||Fl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,i)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){W(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?``:l.memoizedProps}catch(e){W(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;i?af(m,!0):af(l.stateNode,!1)}catch(e){W(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,Ol(e,n))));break;case 19:kl(t,e),Ml(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 30:break;case 21:break;default:kl(t,e),Ml(e)}}function Ml(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(cl(r)){n=r;break}r=r.return}if(n==null)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;dl(e,ll(e),i);break;case 5:var o=n.stateNode;n.flags&32&&(on(o,``),n.flags&=-33),dl(e,ll(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;ul(e,ll(e),s);break;default:throw Error(a(161))}}catch(t){W(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Pl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)yl(e,t.alternate,t),t=t.sibling}function Fl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:tl(4,t,t.return),Fl(t);break;case 1:al(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&rl(t,t.return,n),Fl(t);break;case 27:vf(t.stateNode);case 26:case 5:al(t,t.return),Fl(t);break;case 22:t.memoizedState===null&&Fl(t);break;case 30:Fl(t);break;default:Fl(t)}e=e.sibling}}function Il(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Il(i,a,n),el(4,a);break;case 1:if(Il(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){W(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)so(c[i],s)}catch(e){W(r,r.return,e)}}n&&o&64&&nl(a),il(a,a.return);break;case 27:fl(a);case 26:case 5:Il(i,a,n),n&&r===null&&o&4&&ol(a),il(a,a.return);break;case 12:Il(i,a,n);break;case 31:Il(i,a,n),n&&o&4&&Tl(i,a);break;case 13:Il(i,a,n),n&&o&4&&El(i,a);break;case 22:a.memoizedState===null&&Il(i,a,n),il(a,a.return);break;case 30:break;default:Il(i,a,n)}t=t.sibling}}function Ll(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&xa(n))}function Rl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&xa(e))}function zl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Bl(e,t,n,r),t=t.sibling}function Bl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:zl(e,t,n,r),i&2048&&el(9,t);break;case 1:zl(e,t,n,r);break;case 3:zl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&xa(e)));break;case 12:if(i&2048){zl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){W(t,t.return,e)}}else zl(e,t,n,r);break;case 31:zl(e,t,n,r);break;case 13:zl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?zl(e,t,n,r):(a._visibility|=2,Vl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?zl(e,t,n,r):Hl(e,t),i&2048&&Ll(o,t);break;case 24:zl(e,t,n,r),i&2048&&Rl(t.alternate,t);break;default:zl(e,t,n,r)}}function Vl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Vl(a,o,s,c,i),el(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Vl(a,o,s,c,i)):u._visibility&2?Vl(a,o,s,c,i):Hl(a,o),i&&l&2048&&Ll(o.alternate,o);break;case 24:Vl(a,o,s,c,i),i&&l&2048&&Rl(o.alternate,o);break;default:Vl(a,o,s,c,i)}t=t.sibling}}function Hl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Hl(n,r),i&2048&&Ll(r.alternate,r);break;case 24:Hl(n,r),i&2048&&Rl(r.alternate,r);break;default:Hl(n,r)}t=t.sibling}}var Ul=8192;function Wl(e,t,n){if(e.subtreeFlags&Ul)for(e=e.child;e!==null;)Gl(e,t,n),e=e.sibling}function Gl(e,t,n){switch(e.tag){case 26:Wl(e,t,n),e.flags&Ul&&e.memoizedState!==null&&Kf(n,Al,e.memoizedState,e.memoizedProps);break;case 5:Wl(e,t,n);break;case 3:case 4:var r=Al;Al=xf(e.stateNode.containerInfo),Wl(e,t,n),Al=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ul,Ul=16777216,Wl(e,t,n),Ul=r):Wl(e,t,n));break;default:Wl(e,t,n)}}function Kl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ql(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];_l=r,Xl(r,e)}Kl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Jl(e),e=e.sibling}function Jl(e){switch(e.tag){case 0:case 11:case 15:ql(e),e.flags&2048&&tl(9,e,e.return);break;case 3:ql(e);break;case 12:ql(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yl(e)):ql(e);break;default:ql(e)}}function Yl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];_l=r,Xl(r,e)}Kl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:tl(8,t,t.return),Yl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Yl(t));break;default:Yl(t)}e=e.sibling}}function Xl(e,t){for(;_l!==null;){var n=_l;switch(n.tag){case 0:case 11:case 15:tl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:xa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,_l=r;else a:for(n=e;_l!==null;){r=_l;var i=r.sibling,a=r.return;if(bl(r),r===n){_l=null;break a}if(i!==null){i.return=a,_l=i;break a}_l=a}}}var Zl={getCacheForType:function(e){var t=pa(ya),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return pa(ya).controller.signal}},Ql=typeof WeakMap==`function`?WeakMap:Map,N=0,P=null,F=null,I=0,L=0,$l=null,R=!1,eu=!1,tu=!1,nu=0,ru=0,iu=0,au=0,ou=0,su=0,cu=0,lu=null,z=null,uu=!1,du=0,fu=0,pu=1/0,mu=null,hu=null,B=0,gu=null,V=null,H=0,_u=0,U=null,vu=null,yu=0,bu=null;function xu(){return N&2&&I!==0?I&-I:C.T===null?_t():vd()}function Su(){if(su===0)if(!(I&536870912)||O){var e=nt;nt<<=1,!(nt&3932160)&&(nt=262144),su=e}else su=536870912;return e=ho.current,e!==null&&(e.flags|=32),su}function Cu(e,t,n){(e===P&&(L===2||L===9)||e.cancelPendingCommit!==null)&&(Au(e,0),Du(e,I,su,!1)),ut(e,n),(!(N&2)||e!==P)&&(e===P&&(!(N&2)&&(au|=n),ru===4&&Du(e,I,su,!1)),ud(e))}function wu(e,t,n){if(N&6)throw Error(a(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||ot(e,t),i=r?Ru(e,t):Iu(e,t,!0),o=r;do{if(i===0){eu&&!r&&Du(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Eu(n)){i=Iu(e,t,!1),o=!1;continue}if(i===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;i=lu;var l=c.current.memoizedState.isDehydrated;if(l&&(Au(c,s).flags|=256),s=Iu(c,s,!1),s!==2){if(tu&&!l){c.errorRecoveryDisabledLanes|=o,au|=o,i=4;break a}o=z,z=i,o!==null&&(z===null?z=o:z.push.apply(z,o))}i=s}if(o=!1,i!==2)continue}}if(i===1){Au(e,0),Du(e,t,0,!0);break}a:{switch(r=e,o=i,o){case 0:case 1:throw Error(a(345));case 4:if((t&4194048)!==t)break;case 6:Du(r,t,su,!R);break a;case 2:z=null;break;case 3:case 5:break;default:throw Error(a(329))}if((t&62914560)===t&&(i=du+300-Re(),10<i)){if(Du(r,t,su,!R),at(r,0,!0)!==0)break a;H=t,r.timeoutHandle=Zd(Tu.bind(null,r,n,z,mu,uu,t,su,au,cu,R,o,`Throttled`,-0,0),i);break a}Tu(r,n,z,mu,uu,t,su,au,cu,R,o,null,-0,0)}}break}while(1);ud(e)}function Tu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mn},Gl(t,a,d);var m=(a&62914560)===a?du-Re():(a&4194048)===a?fu-Re():0;if(m=Jf(d,m),m!==null){H=a,e.cancelPendingCommit=m(Gu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Du(e,a,o,!l);return}}Gu(e,t,a,n,r,i,o,s,c)}function Eu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Pr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Du(e,t,n,r){t&=~ou,t&=~au,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ze(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ft(e,n,t)}function Ou(){return N&6?!0:(dd(0,!1),!1)}function ku(){if(F!==null){if(L===0)var e=F.return;else e=F,aa=ia=null,Ho(e),Wa=null,Ga=0,e=F;for(;e!==null;)$c(e.alternate,e),e=e.return;F=null}}function Au(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Qd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),H=0,ku(),P=e,F=n=Si(e.current,null),I=t,L=0,$l=null,R=!1,eu=ot(e,t),tu=!1,cu=su=ou=au=iu=ru=0,z=lu=null,uu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ze(r),a=1<<i;t|=e[i],r&=~a}return nu=t,fi(),n}function ju(e,t){A=null,C.H=Xs,t===Pa||t===Ia?(t=Ha(),L=3):t===Fa?(t=Ha(),L=4):L=t===mc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,$l=t,F===null&&(ru=1,cc(e,Ai(t,e.current)))}function Mu(){var e=ho.current;return e===null?!0:(I&4194048)===I?go===null:(I&62914560)===I||I&536870912?e===go:!1}function Nu(){var e=C.H;return C.H=Xs,e===null?Xs:e}function Pu(){var e=C.A;return C.A=Zl,e}function Fu(){ru=4,R||(I&4194048)!==I&&ho.current!==null||(eu=!0),!(iu&134217727)&&!(au&134217727)||P===null||Du(P,I,su,!1)}function Iu(e,t,n){var r=N;N|=2;var i=Nu(),a=Pu();(P!==e||I!==t)&&(mu=null,Au(e,t)),t=!1;var o=ru;a:do try{if(L!==0&&F!==null){var s=F,c=$l;switch(L){case 8:ku(),o=6;break a;case 3:case 2:case 9:case 6:ho.current===null&&(t=!0);var l=L;if(L=0,$l=null,Hu(e,s,c,l),n&&eu){o=0;break a}break;default:l=L,L=0,$l=null,Hu(e,s,c,l)}}Lu(),o=ru;break}catch(t){ju(e,t)}while(1);return t&&e.shellSuspendCounter++,aa=ia=null,N=r,C.H=i,C.A=a,F===null&&(P=null,I=0,fi()),o}function Lu(){for(;F!==null;)Bu(F)}function Ru(e,t){var n=N;N|=2;var r=Nu(),i=Pu();P!==e||I!==t?(mu=null,pu=Re()+500,Au(e,t)):eu=ot(e,t);a:do try{if(L!==0&&F!==null){t=F;var o=$l;b:switch(L){case 1:L=0,$l=null,Hu(e,t,o,1);break;case 2:case 9:if(Ra(o)){L=0,$l=null,Vu(t);break}t=function(){L!==2&&L!==9||P!==e||(L=7),ud(e)},o.then(t,t);break a;case 3:L=7;break a;case 4:L=5;break a;case 7:Ra(o)?(L=0,$l=null,Vu(t)):(L=0,$l=null,Hu(e,t,o,7));break;case 5:var s=null;switch(F.tag){case 26:s=F.memoizedState;case 5:case 27:var c=F;if(s?Gf(s):c.stateNode.complete){L=0,$l=null;var l=c.sibling;if(l!==null)F=l;else{var u=c.return;u===null?F=null:(F=u,Uu(u))}break b}}L=0,$l=null,Hu(e,t,o,5);break;case 6:L=0,$l=null,Hu(e,t,o,6);break;case 8:ku(),ru=6;break a;default:throw Error(a(462))}}zu();break}catch(t){ju(e,t)}while(1);return aa=ia=null,C.H=r,C.A=i,N=n,F===null?(P=null,I=0,fi(),ru):0}function zu(){for(;F!==null&&!Ie();)Bu(F)}function Bu(e){var t=Wc(e.alternate,e,nu);e.memoizedProps=e.pendingProps,t===null?Uu(e):F=t}function Vu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Oc(n,t,t.pendingProps,t.type,void 0,I);break;case 11:t=Oc(n,t,t.pendingProps,t.type.render,t.ref,I);break;case 5:Ho(t);default:$c(n,t),t=F=Ci(t,nu),t=Wc(n,t,nu)}e.memoizedProps=e.pendingProps,t===null?Uu(e):F=t}function Hu(e,t,n,r){aa=ia=null,Ho(t),Wa=null,Ga=0;var i=t.return;try{if(pc(e,i,t,n,I)){ru=1,cc(e,Ai(n,e.current)),F=null;return}}catch(t){if(i!==null)throw F=i,t;ru=1,cc(e,Ai(n,e.current)),F=null;return}t.flags&32768?(O||r===1?e=!0:eu||I&536870912?e=!1:(R=e=!0,(r===2||r===9||r===3||r===6)&&(r=ho.current,r!==null&&r.tag===13&&(r.flags|=16384))),Wu(t,e)):Uu(t)}function Uu(e){var t=e;do{if(t.flags&32768){Wu(t,R);return}e=t.return;var n=Zc(t.alternate,t,nu);if(n!==null){F=n;return}if(t=t.sibling,t!==null){F=t;return}F=t=e}while(t!==null);ru===0&&(ru=5)}function Wu(e,t){do{var n=Qc(e.alternate,e);if(n!==null){n.flags&=32767,F=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){F=e;return}F=e=n}while(e!==null);ru=6,F=null}function Gu(e,t,n,r,i,o,s,c,l){e.cancelPendingCommit=null;do Xu();while(B!==0);if(N&6)throw Error(a(327));if(t!==null){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,o|=di,dt(e,n,o,s,c,l),e===P&&(F=P=null,I=0),V=t,gu=e,H=n,_u=o,U=i,vu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,rd(He,function(){return Zu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=C.T,C.T=null,i=w.p,w.p=2,s=N,N|=4;try{vl(e,t,n)}finally{N=s,w.p=i,C.T=r}}B=1,Ku(),qu(),Ju()}}function Ku(){if(B===1){B=0;var e=gu,t=V,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=C.T,C.T=null;var r=w.p;w.p=2;var i=N;N|=4;try{jl(t,e);var a=Kd,o=zr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Rr(s.ownerDocument.documentElement,s)){if(c!==null&&Br(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Lr(s,h),v=Lr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}cp=!!Gd,Kd=Gd=null}finally{N=i,w.p=r,C.T=n}}e.current=t,B=2}}function qu(){if(B===2){B=0;var e=gu,t=V,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=C.T,C.T=null;var r=w.p;w.p=2;var i=N;N|=4;try{yl(e,t.alternate,t)}finally{N=i,w.p=r,C.T=n}}B=3}}function Ju(){if(B===4||B===3){B=0,Le();var e=gu,t=V,n=H,r=vu;t.subtreeFlags&10256||t.flags&10256?B=5:(B=0,V=gu=null,Yu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(hu=null),gt(n),t=t.stateNode,Ye&&typeof Ye.onCommitFiberRoot==`function`)try{Ye.onCommitFiberRoot(Je,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=C.T,i=w.p,w.p=2,C.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{C.T=t,w.p=i}}H&3&&Xu(),ud(e),i=e.pendingLanes,n&261930&&i&42?e===bu?yu++:(yu=0,bu=e):yu=0,dd(0,!1)}}function Yu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,xa(t)))}function Xu(){return Ku(),qu(),Ju(),Zu()}function Zu(){if(B!==5)return!1;var e=gu,t=_u;_u=0;var n=gt(H),r=C.T,i=w.p;try{w.p=32>n?32:n,C.T=null,n=U,U=null;var o=gu,s=H;if(B=0,V=gu=null,H=0,N&6)throw Error(a(331));var c=N;if(N|=4,Jl(o.current),Bl(o,o.current,s,n),N=c,dd(0,!1),Ye&&typeof Ye.onPostCommitFiberRoot==`function`)try{Ye.onPostCommitFiberRoot(Je,o)}catch{}return!0}finally{w.p=i,C.T=r,Yu(e,t)}}function Qu(e,t,n){t=Ai(n,t),t=uc(e.stateNode,t,2),e=no(e,t,2),e!==null&&(ut(e,2),ud(e))}function W(e,t,n){if(e.tag===3)Qu(e,e,n);else for(;t!==null;){if(t.tag===3){Qu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(hu===null||!hu.has(r))){e=Ai(n,e),n=dc(2),r=no(t,n,2),r!==null&&(fc(n,r,t,e),ut(r,2),ud(r));break}}t=t.return}}function $u(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ql;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(tu=!0,i.add(n),e=ed.bind(null,e,t,n),t.then(e,e))}function ed(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,P===e&&(I&n)===n&&(ru===4||ru===3&&(I&62914560)===I&&300>Re()-du?!(N&2)&&Au(e,0):ou|=n,cu===I&&(cu=0)),ud(e)}function td(e,t){t===0&&(t=ct()),e=hi(e,t),e!==null&&(ut(e,t),ud(e))}function nd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),td(e,n)}function G(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(t),td(e,n)}function rd(e,t){return Pe(e,t)}var id=null,ad=null,od=!1,sd=!1,cd=!1,ld=0;function ud(e){e!==ad&&e.next===null&&(ad===null?id=ad=e:ad=ad.next=e),sd=!0,od||(od=!0,_d())}function dd(e,t){if(!cd&&sd){cd=!0;do for(var n=!1,r=id;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ze(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,gd(r,a))}else a=I,a=at(r,r===P?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||ot(r,a)||(n=!0,gd(r,a));r=r.next}while(n);cd=!1}}function fd(){pd()}function pd(){sd=od=!1;var e=0;ld!==0&&Xd()&&(e=ld);for(var t=Re(),n=null,r=id;r!==null;){var i=r.next,a=md(r,t);a===0?(r.next=null,n===null?id=i:n.next=i,i===null&&(ad=n)):(n=r,(e!==0||a&3)&&(sd=!0)),r=i}B!==0&&B!==5||dd(e,!1),ld!==0&&(ld=0)}function md(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ze(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=st(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=P,n=I,n=at(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(L===2||L===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Fe(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||ot(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Fe(r),gt(n)){case 2:case 8:n=Ve;break;case 32:n=He;break;case 268435456:n=We;break;default:n=He}return r=hd.bind(null,e),n=Pe(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Fe(r),e.callbackPriority=2,e.callbackNode=null,2}function hd(e,t){if(B!==0&&B!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Xu()&&e.callbackNode!==n)return null;var r=I;return r=at(e,e===P?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(wu(e,r,t),md(e,Re()),e.callbackNode!=null&&e.callbackNode===n?hd.bind(null,e):null)}function gd(e,t){if(Xu())return null;wu(e,t,!0)}function _d(){ef(function(){N&6?Pe(Be,fd):pd()})}function vd(){if(ld===0){var e=wa;e===0&&(e=tt,tt<<=1,!(tt&261888)&&(tt=256)),ld=e}return ld}function yd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:pn(``+e)}function bd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function xd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=yd((i[xt]||null).action),o=r.submitter;o&&(t=(t=o[xt]||null)?yd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Fn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ld!==0){var e=o?bd(i,o):new FormData(i);Is(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?bd(i,o):new FormData(i),Is(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Sd=0;Sd<oi.length;Sd++){var Cd=oi[Sd];si(Cd.toLowerCase(),`on`+(Cd[0].toUpperCase()+Cd.slice(1)))}si(Qr,`onAnimationEnd`),si($r,`onAnimationIteration`),si(ei,`onAnimationStart`),si(`dblclick`,`onDoubleClick`),si(`focusin`,`onFocus`),si(`focusout`,`onBlur`),si(ti,`onTransitionRun`),si(ni,`onTransitionStart`),si(ri,`onTransitionCancel`),si(ii,`onTransitionEnd`),Lt(`onMouseEnter`,[`mouseout`,`mouseover`]),Lt(`onMouseLeave`,[`mouseout`,`mouseover`]),Lt(`onPointerEnter`,[`pointerout`,`pointerover`]),Lt(`onPointerLeave`,[`pointerout`,`pointerover`]),It(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),It(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),It(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),It(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),It(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),It(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var wd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Td=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(wd));function Ed(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ci(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ci(e)}i.currentTarget=null,a=c}}}}function K(e,t){var n=t[Ct];n===void 0&&(n=t[Ct]=new Set);var r=e+`__bubble`;n.has(r)||(Ad(t,e,2,!1),n.add(r))}function Dd(e,t,n){var r=0;t&&(r|=4),Ad(n,e,r,t)}var Od=`_reactListening`+Math.random().toString(36).slice(2);function kd(e){if(!e[Od]){e[Od]=!0,Pt.forEach(function(t){t!==`selectionchange`&&(Td.has(t)||Dd(t,!1,e),Dd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Od]||(t[Od]=!0,Dd(`selectionchange`,!1,t))}}function Ad(e,t,n,r){switch(hp(t)){case 2:var i=lp;break;case 8:i=up;break;default:i=dp}n=i.bind(null,t,n,e),i=void 0,!wn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function jd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var c=r.stateNode.containerInfo;if(c===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;c!==null;){if(o=kt(c),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue a}c=c.parentNode}}r=r.return}xn(function(){var r=a,i=gn(n),o=[];a:{var c=ai.get(e);if(c!==void 0){var l=Fn,u=e;switch(e){case`keypress`:if(An(n)===0)break a;case`keydown`:case`keyup`:l=Zn;break;case`focusin`:u=`focus`,l=Wn;break;case`focusout`:u=`blur`,l=Wn;break;case`beforeblur`:case`afterblur`:l=Wn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Hn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Un;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=$n;break;case Qr:case $r:case ei:l=E;break;case ii:l=er;break;case`scroll`:case`scrollend`:l=Ln;break;case`wheel`:l=tr;break;case`copy`:case`cut`:case`paste`:l=Gn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Qn;break;case`toggle`:case`beforetoggle`:l=nr}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Sn(m,p),g!=null&&d.push(Md(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),o.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==hn&&(u=n.relatedTarget||n.fromElement)&&(kt(u)||u[St]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?kt(u):null,u!==null&&(f=s(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Hn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Qn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:jt(l),h=u==null?c:jt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,kt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Pd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Fd(o,c,l,d,!1),u!==null&&f!==null&&Fd(o,f,u,d,!0)}}a:{if(c=r?jt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=Sr;else if(gr(c))if(Cr)v=Mr;else{v=Ar;var y=kr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&un(r.elementType)&&(v=Sr):v=jr;if(v&&=v(e,r)){_r(o,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&tn(c,`number`,c.value)}switch(y=r?jt(r):window,e){case`focusin`:(gr(y)||y.contentEditable===`true`)&&(Hr=y,Ur=r,Wr=null);break;case`focusout`:Wr=Ur=Hr=null;break;case`mousedown`:Gr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Gr=!1,Kr(o,n,i);break;case`selectionchange`:if(Vr)break;case`keydown`:case`keyup`:Kr(o,n,i)}var b;if(ir)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else fr?ur(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(sr&&n.locale!==`ko`&&(fr||x!==`onCompositionStart`?x===`onCompositionEnd`&&fr&&(b=kn()):(En=i,Dn=`value`in En?En.value:En.textContent,fr=!0)),y=Nd(r,x),0<y.length&&(x=new Kn(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=dr(n),b!==null&&(x.data=b)))),(b=or?pr(e,n):mr(e,n))&&(x=Nd(r,`onBeforeInput`),0<x.length&&(y=new Kn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),xd(o,e,r,n,i)}Ed(o,t)})}function Md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Sn(e,n),i!=null&&r.unshift(Md(e,i,a)),i=Sn(e,t),i!=null&&r.push(Md(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Pd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Sn(n,a),l!=null&&o.unshift(Md(n,l,c))):i||(l=Sn(n,a),l!=null&&o.push(Md(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Id=/\r\n?/g,Ld=/\u0000|\uFFFD/g;function Rd(e){return(typeof e==`string`?e:``+e).replace(Id,`
|
|
10
|
-
`).replace(Ld,``)}function zd(e,t){return t=Rd(t),Rd(e)===t}function q(e,t,n,r,i,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||on(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&on(e,``+r);break;case`className`:Ut(e,`class`,r);break;case`tabIndex`:Ut(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Ut(e,n,r);break;case`style`:ln(e,r,o);break;case`data`:if(t!==`object`){Ut(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=pn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&q(e,t,`name`,i.name,i,null),q(e,t,`formEncType`,i.formEncType,i,null),q(e,t,`formMethod`,i.formMethod,i,null),q(e,t,`formTarget`,i.formTarget,i,null)):(q(e,t,`encType`,i.encType,i,null),q(e,t,`method`,i.method,i,null),q(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=pn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=mn);break;case`onScroll`:r!=null&&K(`scroll`,e);break;case`onScrollEnd`:r!=null&&K(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=pn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:K(`beforetoggle`,e),K(`toggle`,e),Ht(e,`popover`,r);break;case`xlinkActuate`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Wt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Ht(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=dn.get(n)||n,Ht(e,n,r))}}function Bd(e,t,n,r,i,o){switch(n){case`style`:ln(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?on(e,r):(typeof r==`number`||typeof r==`bigint`)&&on(e,``+r);break;case`onScroll`:r!=null&&K(`scroll`,e);break;case`onScrollEnd`:r!=null&&K(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=mn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Ft.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),o=e[xt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,i),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Ht(e,n,r)}}}function Vd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:K(`error`,e),K(`load`,e);var r=!1,i=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(a(137,t));default:q(e,t,o,s,n,null)}}i&&q(e,t,`srcSet`,n.srcSet,n,null),r&&q(e,t,`src`,n.src,n,null);return;case`input`:K(`invalid`,e);var c=o=s=i=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:i=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(a(137,t));break;default:q(e,t,r,d,n,null)}}en(e,o,c,l,u,s,i,!1);return;case`select`:for(i in K(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:q(e,t,i,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&nn(e,!!r,n,!0):nn(e,!!r,t,!1);return;case`textarea`:for(s in K(`invalid`,e),o=i=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:i=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(a(91));break;default:q(e,t,s,c,n,null)}an(e,r,i,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:q(e,t,l,r,n,null)}return;case`dialog`:K(`beforetoggle`,e),K(`toggle`,e),K(`cancel`,e),K(`close`,e);break;case`iframe`:case`object`:K(`load`,e);break;case`video`:case`audio`:for(r=0;r<wd.length;r++)K(wd[r],e);break;case`image`:K(`error`,e),K(`load`,e);break;case`details`:K(`toggle`,e);break;case`embed`:case`source`:case`link`:K(`error`,e),K(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(137,t));default:q(e,t,u,r,n,null)}return;default:if(un(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Bd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&q(e,t,c,r,n,null))}function Hd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||q(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:i=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(a(137,t));break;default:m!==f&&q(e,t,p,m,r,f)}}$t(e,s,c,l,u,d,o,i);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||q(e,t,o,null,r,l)}for(i in r)if(o=r[i],l=n[i],r.hasOwnProperty(i)&&(o!=null||l!=null))switch(i){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&q(e,t,i,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?nn(e,!!n,n?[]:``,!1):nn(e,!!n,t,!0)):nn(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(i=n[c],n.hasOwnProperty(c)&&i!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:q(e,t,c,null,r,i)}for(s in r)if(i=r[s],o=n[s],r.hasOwnProperty(s)&&(i!=null||o!=null))switch(s){case`value`:p=i;break;case`defaultValue`:m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(a(91));break;default:i!==o&&q(e,t,s,i,r,o)}rn(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:q(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:q(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&q(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(a(137,t));break;default:q(e,t,u,p,r,m)}return;default:if(un(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Bd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Bd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&q(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||q(e,t,f,p,r,m)}function Ud(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Wd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Ud(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Ud(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Gd=null,Kd=null;function J(e){return e.nodeType===9?e:e.ownerDocument}function qd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Jd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Y(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Yd=null;function Xd(){var e=window.event;return e&&e.type===`popstate`?e===Yd?!1:(Yd=e,!0):(Yd=null,!1)}var Zd=typeof setTimeout==`function`?setTimeout:void 0,Qd=typeof clearTimeout==`function`?clearTimeout:void 0,$d=typeof Promise==`function`?Promise:void 0,ef=typeof queueMicrotask==`function`?queueMicrotask:$d===void 0?Zd:function(e){return $d.resolve(null).then(e).catch(tf)};function tf(e){setTimeout(function(){throw e})}function nf(e){return e===`head`}function rf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)vf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,vf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Dt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&vf(e.ownerDocument.body);n=i}while(n);Pp(t)}function af(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function of(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:of(n),Ot(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function sf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Dt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=pf(e.nextSibling),e===null)break}return null}function cf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=pf(e.nextSibling),e===null))return null;return e}function lf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=pf(e.nextSibling),e===null))return null;return e}function uf(e){return e.data===`$?`||e.data===`$~`}function df(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function ff(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function pf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var mf=null;function hf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return pf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function gf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function _f(e,t,n){switch(t=J(n),e){case`html`:if(e=t.documentElement,!e)throw Error(a(452));return e;case`head`:if(e=t.head,!e)throw Error(a(453));return e;case`body`:if(e=t.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function vf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ot(e)}var yf=new Map,bf=new Set;function xf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var X=w.d;w.d={f:Sf,r:Cf,D:Ef,C:Df,L:Of,m:kf,X:jf,S:Af,M:Mf};function Sf(){var e=X.f(),t=Ou();return e||t}function Cf(e){var t=At(e);t!==null&&t.tag===5&&t.type===`form`?Rs(t):X.r(e)}var wf=typeof document>`u`?null:document;function Tf(e,t,n){var r=wf;if(r&&typeof t==`string`&&t){var i=Qt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),bf.has(i)||(bf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Vd(t,`link`,e),Nt(t),r.head.appendChild(t)))}}function Ef(e){X.D(e),Tf(`dns-prefetch`,e,null)}function Df(e,t){X.C(e,t),Tf(`preconnect`,e,t)}function Of(e,t,n){X.L(e,t,n);var r=wf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Qt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Qt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Qt(n.imageSizes)+`"]`)):i+=`[href="`+Qt(e)+`"]`;var a=i;switch(t){case`style`:a=Pf(e);break;case`script`:a=Rf(e)}yf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),yf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Ff(a))||t===`script`&&r.querySelector(zf(a))||(t=r.createElement(`link`),Vd(t,`link`,e),Nt(t),r.head.appendChild(t)))}}function kf(e,t){X.m(e,t);var n=wf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Qt(r)+`"][href="`+Qt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rf(e)}if(!yf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),yf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zf(a)))return}r=n.createElement(`link`),Vd(r,`link`,e),Nt(r),n.head.appendChild(r)}}}function Af(e,t,n){X.S(e,t,n);var r=wf;if(r&&e){var i=Mt(r).hoistableStyles,a=Pf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Ff(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=yf.get(a))&&Z(e,n);var c=o=r.createElement(`link`);Nt(c),Vd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jf(e,t){X.X(e,t);var n=wf;if(n&&e){var r=Mt(n).hoistableScripts,i=Rf(e),a=r.get(i);a||(a=n.querySelector(zf(i)),a||(e=m({src:e,async:!0},t),(t=yf.get(i))&&Hf(e,t),a=n.createElement(`script`),Nt(a),Vd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mf(e,t){X.M(e,t);var n=wf;if(n&&e){var r=Mt(n).hoistableScripts,i=Rf(e),a=r.get(i);a||(a=n.querySelector(zf(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=yf.get(i))&&Hf(e,t),a=n.createElement(`script`),Nt(a),Vd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nf(e,t,n,r){var i=(i=be.current)?xf(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Pf(n.href),n=Mt(i).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pf(n.href);var o=Mt(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(Ff(e)))&&!o._p&&(s.instance=o,s.state.loading=5),yf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},yf.set(e,n),o||Lf(i,e,n,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Rf(n),n=Mt(i).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Pf(e){return`href="`+Qt(e)+`"`}function Ff(e){return`link[rel="stylesheet"][`+e+`]`}function If(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Lf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Vd(t,`link`,n),Nt(t),e.head.appendChild(t))}function Rf(e){return`[src="`+Qt(e)+`"]`}function zf(e){return`script[async]`+e}function Bf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Qt(n.href)+`"]`);if(r)return t.instance=r,Nt(r),r;var i=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Nt(r),Vd(r,`style`,i),Vf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Pf(n.href);var o=e.querySelector(Ff(i));if(o)return t.state.loading|=4,t.instance=o,Nt(o),o;r=If(n),(i=yf.get(i))&&Z(r,i),o=(e.ownerDocument||e).createElement(`link`),Nt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Vd(o,`link`,r),t.state.loading|=4,Vf(o,n.precedence,e),t.instance=o;case`script`:return o=Rf(n.src),(i=e.querySelector(zf(o)))?(t.instance=i,Nt(i),i):(r=n,(i=yf.get(o))&&(r=m({},n),Hf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Nt(i),Vd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vf(r,n.precedence,e));return t.instance}function Vf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Z(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Hf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Q=null;function $(e,t,n){if(Q===null){var r=new Map,i=Q=new Map;i.set(n,r)}else i=Q,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Dt]||a[bt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Uf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Wf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pf(r.href),a=t.querySelector(Ff(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Nt(a);return}a=t.ownerDocument||t,r=If(r),(i=yf.get(i))&&Z(r,i),a=a.createElement(`link`),Nt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Vd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&qf===0&&(qf=62500*Wd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Yf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var $f={$$typeof:S,Provider:null,Consumer:null,_currentValue:fe,_currentValue2:fe,_threadCount:0};function ep(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=lt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lt(0),this.hiddenUpdates=lt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function tp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ep(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=bi(3,null,null,t),e.current=a,a.stateNode=e,t=ba(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},$a(a),e}function np(e){return e?(e=vi,e):vi}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=to(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=no(e,r,t),n!==null&&(Cu(n,e,t),ro(n,e,t))}function ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ap(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}function op(e){if(e.tag===13||e.tag===31){var t=hi(e,67108864);t!==null&&Cu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=xu();t=ht(t);var n=hi(e,t);n!==null&&Cu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=C.T;C.T=null;var a=w.p;try{w.p=2,dp(e,t,n,r)}finally{w.p=a,C.T=i}}function up(e,t,n,r){var i=C.T;C.T=null;var a=w.p;try{w.p=8,dp(e,t,n,r)}finally{w.p=a,C.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)jd(e,t,r,pp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=At(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=it(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ze(o);s.entanglements[1]|=c,o&=~c}ud(a),!(N&6)&&(pu=Re()+500,dd(0,!1))}}break;case 31:case 13:s=hi(a,2),s!==null&&Cu(s,a,2),Ou(),ap(a,2)}if(a=fp(r),a===null&&jd(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else jd(e,t,r,null,n)}}function fp(e){return e=gn(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=kt(e),e!==null){var t=s(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=c(t),e!==null)return e;e=null}else if(n===31){if(e=l(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return pp=e,null}function hp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(ze()){case Be:return 2;case Ve:return 8;case He:case Ue:return 32;case We:return 268435456;default:return 32}default:return 32}}var gp=!1,_p=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function wp(e,t){switch(e){case`focusin`:case`focusout`:_p=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=At(t),t!==null&&op(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return _p=Tp(_p,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=kt(e.target);if(t!==null){var n=s(t);if(n!==null){if(t=n.tag,t===13){if(t=c(n),t!==null){e.blockedOn=t,vt(e.priority,function(){sp(n)});return}}else if(t===31){if(t=l(n),t!==null){e.blockedOn=t,vt(e.priority,function(){sp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);hn=r,n.target.dispatchEvent(r),hn=null}else return t=At(n),t!==null&&op(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){gp=!1,_p!==null&&Op(_p)&&(_p=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,t){e.blockedOn===t&&(e.blockedOn=null,gp||(gp=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ap)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Mp===e&&(Mp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(mp(r||n)===null)continue;break}var a=At(n);a!==null&&(e.splice(t,3),t-=3,Is(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}_p!==null&&jp(_p,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[xt]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[xt]||null)s=o.formAction;else if(mp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(a(409));var n=t.current;rp(n,xu(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rp(e.current,2,null,e,null,null),Ou(),t[St]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=r.version;if(Rp!==`19.2.7`)throw Error(a(527,Rp,`19.2.7`));w.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(a(188)):(e=Object.keys(e).join(`,`),Error(a(268,e)));return e=d(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var zp={bundleType:0,version:`19.2.7`,rendererPackageName:`react-dom`,currentDispatcherRef:C,reconcilerVersion:`19.2.7`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{Je=Bp.inject(zp),Ye=Bp}catch{}}t.hydrateRoot=function(e,t,n){if(!o(e))throw Error(a(299));var r=!1,i=``,s=ac,c=oc,l=sc,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=tp(e,1,!0,t,n??null,r,i,u,s,c,l,Fp),t.context=np(null),n=t.current,r=xu(),r=ht(r),i=to(r),i.callback=null,no(n,i,r),n=r,t.current.lanes=n,ut(t,n),ud(t),e[St]=t.current,kd(e),new Lp(t)}})),qe=n(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Ke()})),Je=`__TSS_CONTEXT`,Ye=Symbol.for(`TSS_SERVER_FUNCTION`),Xe=`application/x-tss-framed`,Ze={JSON:0,CHUNK:1,END:2,ERROR:3};`${Xe}`;var Qe=/;\s*v=(\d+)/;function $e(e){let t=e.match(Qe);return t?parseInt(t[1],10):void 0}function et(e){let t=$e(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var tt=()=>window.__TSS_START_OPTIONS__;function nt(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function rt(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function it(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=rt(r):Array.isArray(t)?t.push(rt(r)):n[e]=[t,rt(r)]}return n}function at(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>ot(o,_.get())),x=r(()=>ot(s,v.get())),S=r(()=>ot(c,y.get())),ee=r(()=>_.get()[0]),te=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),ne=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),re=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),ie=fe(64);function ae(e){let t=ie.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),ie.set(e,t)),t}let oe={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:S,firstId:ee,hasPending:te,matchRouteDeps:ne,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:re,getRouteMatchStore:ae,setMatches:se,setPending:ce,setCached:le};se(e.matches),a?.(oe);function se(e){st(e,o,_,n,i)}function ce(e){st(e,s,v,n,i)}function le(e){st(e,c,y,n,i)}return oe}function ot(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function st(e,t,n,r,i){let a=e.map(e=>e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}Ne(n.get(),a)||n.set(a)})}function ct(){try{return sessionStorage}catch{return}}var lt=`tsr-scroll-restoration-v1_3`,ut=ct();function dt(){try{return JSON.parse(ut?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}function ft(){try{ut?.setItem(lt,JSON.stringify(pt))}catch{}}var pt=dt(),mt=`data-scroll-restoration-id`,ht=e=>e.state.__TSR_key||e.href;function gt(e){let t=e.getAttribute(mt);if(t)return`[${mt}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var _t=!1,vt=`window`;function yt(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function bt(e){let t=[];for(let n of e){if(n===vt)continue;let e=yt(n);e&&t.push(e)}return t}function xt(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.restoring=!0);let i=e.options.getScrollRestorationKey||ht,a=new Map,o=(e,t,n)=>{let r=a.get(e)||{};r.scrollX=t,r.scrollY=n,a.set(e,r)},s=e=>{if(!(_t||!r.restoring))if(e.target===document)o(vt,scrollX,scrollY);else{let t=e.target;o(t,t.scrollLeft,t.scrollTop)}},c=e=>{if(!r.restoring)return;let t=pt[e]||={};for(let[e,n]of a)e===vt?t[vt]=n:e.isConnected&&(t[gt(e)]=n)};n&&!r.restoration&&(r.restoration=!0,_t=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,s,!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&c(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{c(i(e.stores.resolvedLocation.get()??e.stores.location.get())),ft()})),!r.reset&&(r.reset=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.next,c;if(a.clear(),s||(r.next=!0),typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let l=i(t.toLocation),u=t.fromLocation&&i(t.fromLocation);if(r.restoring&&u&&u!==l){let e=pt[u];if(e){let t=pt[l];for(let n in e){if(n===vt){if(s)continue}else{let e=yt(n);if(!e||s&&o&&(c??=bt(o),c.includes(e)))continue}t||=pt[l]={},t[n]??=e[n]}}}_t=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){let s=un.get(t.toLocation),u=e&&i&&(s===`PUSH`||s===`REPLACE`),d=r.restoring?pt[l]:void 0;if(d)for(let e in d){let{scrollX:t,scrollY:r}=d[e];if(e===vt){if(u)continue;scrollTo({top:r,left:t,behavior:n}),a=!0}else{let n=yt(e);n&&(n.scrollLeft=t,n.scrollTop=r)}}if(!a&&!e){let e={top:0,left:0,behavior:n};if(scrollTo(e),o){c??=bt(o);for(let t of c)t.scrollTo(e)}}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{_t=!1}}))}var St=wt(JSON.parse),Ct=Tt(JSON.stringify,JSON.parse);function wt(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=it(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function Tt(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=nt(e,r);return t?`?${t}`:``}}var Et=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Dt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Ot=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),kt=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},At=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},jt=(e,t,n)=>{if(!(!ne(n)&&!je(n)))throw ne(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:ne(n)?`redirected`:je(n)?`notFound`:r.status===`pending`?`success`:r.status,context:kt(e,t.index),isFetching:!1,error:n})),je(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),ne(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},Mt=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},Nt=(e,t,n)=>{let r=kt(e,n);e.updateMatch(t,e=>({...e,context:r}))},Pt=(e,t,n)=>{let{id:r,routeId:i}=e.matches[t],a=e.router.looseRoutesById[i];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,jt(e,e.router.getMatch(r),n);try{a.options.onError?.(n)}catch(t){n=t,jt(e,e.router.getMatch(r),n)}e.updateMatch(r,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ne(n)&&!je(n)&&(e.serialError??=n)},Ft=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Ot(e,t)&&(n.options.loader||n.options.beforeLoad||Kt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{Et(e)},i);r._nonReactive.pendingTimeout=t}},It=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Ft(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&jt(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},Lt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=Le(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&Pt(e,n,o),s&&Pt(e,n,s),Ft(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=Le();let f={...kt(e,n,!1),...i.__routeContext},{search:p,params:h,cause:g}=i,_=Ot(e,t),v={search:p,abortController:c,params:h,preload:_,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:_?`preload`:g,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},y=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(ne(r)||je(r))&&(u(),Pt(e,n,r)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},b;try{if(b=r.options.beforeLoad(v),m(b))return u(),b.catch(t=>{Pt(e,n,t)}).then(y)}catch(t){u(),Pt(e,n,t)}y(b)},Rt=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>Lt(e,n,t,i),s=()=>{if(Mt(e,n))return;let t=It(e,n,i);return m(t)?t.then(o):o()};return a()},zt=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Bt=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=kt(e,r),d=Ot(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Vt=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{Gt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(Bt(e,t,n,r,i)),l=!!s&&m(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;jt(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:kt(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:kt(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,je(t)&&await i.options.notFoundComponent?.preload?.(),jt(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,jt(e,e.router.getMatch(n),t)}!ne(o)&&!je(o)&&await Gt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:kt(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),jt(e,r,t)}},Ht=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(Bt(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await Vt(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){ne(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await Vt(e,t,i,n,d):Nt(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(Mt(e,i)){if(!e.router.getMatch(i))return e.matches[n];Nt(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=Ot(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&jt(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=Le(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function Ut(e){let t=e,n=[];Dt(t.router)&&Et(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=Rt(t,e);m(n)&&await n}catch(e){if(ne(e))throw e;if(je(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?At(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(Ht(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(ne(e))throw e;je(e)?s??=e:c??=e}if(c!==void 0)throw c}let l=s??(r&&!t.preload?r:void 0),u=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!l&&r&&t.preload)return t.matches;if(l){let e=At(t,l);e===void 0&&w();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),l.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:l},isFetching:!1})),u=e,await Gt(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Gt(e,[`errorComponent`])}for(let e=0;e<=u;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=zt(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let d=Et(t);if(m(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function Wt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function Gt(e,t=qt){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===qt?(()=>{if(e._componentsPromise===void 0){let t=Wt(e,qt);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():Wt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Kt(e){for(let t of qt)if(e.options[t]?.preload)return!0;return!1}var qt=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`];function Jt(e){return{input:({url:t})=>{for(let n of e)t=Xt(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Zt(e[n],t);return t}}}function Yt(e){let t=ke(e.basepath),n=`/${t}`,r=e.caseSensitive?n:n.toLowerCase(),i=`${r}/`;return{input:({url:t})=>{let a=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return a===r?t.pathname=`/`:a.startsWith(i)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=ae([`/`,t,e.pathname]),e)}}function Xt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Zt(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}var Qt=`__TSR_index`,$t=`popstate`,en=`beforeunload`;function tn(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=on(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[Qt];i=nn(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[Qt];i=nn(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[Qt]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function nn(e,t){t||={};let n=sn();return{...t,key:n,__TSR_key:n,[Qt]:e}}function rn(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>on(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=sn();t.history.replaceState({[Qt]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(ee._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),ee._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=on(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),ee.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[Qt]-l.state[Qt],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),ee.notify(u);return}}}l=c(),ee.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},ee=tn({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(en,S,{capture:!0}),t.removeEventListener($t,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(en,S,{capture:!0}),t.addEventListener($t,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return ee._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return ee._ignoreSubscribers||b(`REPLACE`),n},ee}function an(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function on(e,t){let n=an(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=sn();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[Qt]:0,key:a,__TSR_key:a}}}function sn(){return(Math.random()+1).toString(36).substring(7)}function cn(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function ln(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var un=new WeakMap,dn=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=Oe(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=rn()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=fe(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=at(mn(this.latestLocation),e),xt(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=ke(o);t&&t!==`/`&&e.push(Yt({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:Jt(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a))`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=be(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&Te(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:a,state:o})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let a=this.options.parseSearch(n),s=this.options.stringifySearch(a);return{href:e+s+r,publicHref:e+s+r,pathname:oe(e).path,external:!1,searchStr:s,search:i(t?.search,a),hash:oe(r.slice(1)).path,state:ge(t?.state,o)}}let s=new URL(a,this.origin),c=Xt(this.rewrite,s),l=this.options.parseSearch(c.search),u=this.options.stringifySearch(l);return c.search=u,{href:c.href.replace(c.origin,``),publicHref:a,pathname:oe(c.pathname).path,external:!!this.rewrite&&c.origin!==this.origin,searchStr:u,search:i(t?.search,l),hash:oe(c.hash.slice(1)).path,state:ge(t?.state,o)}},r=n(e),{__tempLocation:a,__tempKey:o}=r.state;if(a&&(!o||o===this.tempLocationKey)){let e=n(a);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>Ce({base:e,to:t.includes(`//`)?Se(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>gn({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let a=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,o=t.to?`${t.to}`:void 0,s=r.search,c=Object.assign(Object.create(null),r.params),l=o?.charCodeAt(0)===47?`/`:this.resolvePathWithBase(a,`.`),u=o?this.resolvePathWithBase(l,o):l,d=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?c:Object.assign(c,Fe(t.params,c)),f=this.routesByPath[se(u)],p;if(f)p=this.getRouteBranch(f);else if(u.includes(`$`))p=[];else{let e=this.getMatchedRoutes(u);p=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||e.foundRoute.path!==`/`&&e.routeParams[`**`])&&(p=[...p,this.options.notFoundRoute])}if(p.length&&y(d))for(let e of p){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(d,t(d))}catch{}}let m=e.leaveParams?u:oe(me({path:u,params:d,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,h=s;if(e._includeValidateSearch&&this.options.search?.strict){let e={};p.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,hn(t.options.validateSearch,{...e,...h}))}catch{}}),h=e}h=_n({search:h,dest:t,destRoutes:p,_includeValidateSearch:e._includeValidateSearch}),h=i(s,h);let g=this.options.stringifySearch(h),_=t.hash===!0?n.hash:t.hash?Fe(t.hash,n.hash):void 0,b=_?`#${_}`:``,x=t.state===!0?n.state:t.state?Fe(t.state,n.state):{};x=ge(n.state,x);let S=`${m}${g}${b}`,ee,te,ne=!1;if(this.rewrite){let e=new URL(S,this.origin),t=Zt(this.rewrite,e);ee=e.href.replace(e.origin,``),t.origin===this.origin?te=t.pathname+t.search+t.hash:(te=t.href,ne=!0)}else ee=v(S),te=ee;return{publicHref:te,href:ee,pathname:m,search:h,searchStr:g,state:x,hash:_??``,external:ne,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=Me(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,Fe(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r,i=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=Ie(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},a=se(this.latestLocation.href)===se(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=Le(()=>{o?.resolve(),o=void 0}),a&&i())this.load();else{let{maskedLocation:i,hashScrollIntoView:a,...o}=n;i&&(o={...i,state:{...i.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state.__hashScrollIntoViewOptions=a??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,r=n.replace?`REPLACE`:`PUSH`,this.history[r===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:t})}return this._scroll.next=n.resetScroll??!0,this.history.subscribers.size||this.load(r?{action:{type:r}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=on(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=Xt(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(l(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t=e?.action?.type,n,r,i,a=this.stores.resolvedLocation.get()??this.stores.location.get();for(i=new Promise(o=>{this.startTransition(async()=>{try{this.beforeLoad(),t?un.set(this.latestLocation,t):un.delete(this.latestLocation);let n=this.latestLocation,r=ln(n,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await Ut({router:this,sync:e?.sync,forceStaleReload:a.href===n.href,matches:this.stores.pendingMatches.get(),location:n,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){ne(e)?(n=e,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):je(e)&&(r=e);let t=n?n.status:r?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(t),this.stores.redirect.set(n)})}this.latestLoadPromise===i&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),o()})}),this.latestLoadPromise=i,await i;this.latestLoadPromise&&i!==this.latestLoadPromise;)await this.latestLoadPromise;let o;this.hasNotFoundMatch()?o=404:this.stores.matches.get().some(e=>e.status===`error`)&&(o=500),o!==void 0&&this.stores.statusCode.set(o)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(ln(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&l(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=Gt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await Ut({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(ne(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});je(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=C(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!Ie(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?Ie(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??Ct,parseSearch:e.parseSearch??St,protocolAllowlist:e.protocolAllowlist??re}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=ve(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:a}=n,{matchedRoutes:o}=n,s=!1;(r?r.path!==`/`&&a[`**`]:se(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let c=s?yn(this.options.notFoundMode,o):void 0,l=Array(o.length),u=new Map;for(let e of this.stores.matchStores.values())e.routeId&&u.set(e.routeId,e.get());for(let n=0;n<o.length;n++){let r=o[n],s=l[n-1],d,f,p;{let n=s?.search??e.search,i=s?._strictSearch??void 0;try{let e=hn(r.options.validateSearch,{...n})??void 0;d={...n,...e},f={...i,...e},p=void 0}catch(e){let r=e;if(e instanceof fn||(r=new fn(e.message,{cause:e})),t?.throwOnError)throw r;d=n,f={},p=r}}let m=r.options.loaderDeps?.({search:d})??``,h=m?JSON.stringify(m):``,{interpolatedPath:g,usedParams:_}=me({path:r.fullPath,params:a,decoder:this.pathParamsDecoder,server:this.isServer}),v=r.id+g+h,y=this.getMatch(v),b=u.get(r.id),x=y?._strictParams??_,S;if(!y)try{bn(r,x)}catch(e){if(S=je(e)||ne(e)?e:new pn(e.message,{cause:e}),t?.throwOnError)throw S}Object.assign(a,x);let ee=b?`stay`:`enter`,te;if(y)te={...y,cause:ee,params:b?.params??a,_strictParams:x,search:i(b?b.search:y.search,d),_strictSearch:f};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||Kt(r)?`pending`:`success`;te={id:v,ssr:r.options.ssr,index:n,routeId:r.id,params:b?.params??a,_strictParams:x,pathname:g,updatedAt:Date.now(),search:b?i(b.search,d):d,_strictSearch:f,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:S,__routeContext:void 0,_nonReactive:{loadPromise:Le()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ee,loaderDeps:b?ge(b.loaderDeps,m):m,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(te.globalNotFound=c===r.id),te.searchError=p;let re=this.getParentContext(s);te.context={...re,...te.__routeContext,...te.__beforeLoadContext},l[n]=te}for(let t=0;t<l.length;t++){let n=l[t],r=this.looseRoutesById[n.routeId],o=this.getMatch(n.id),s=u.get(n.routeId);if(n.params=s?i(s.params,a):a,!o){let i=l[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:l,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return l}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n}=this.getMatchedRoutes(e.pathname),r=_e(t),i={...e.search};for(let e of t)try{Object.assign(i,hn(e.options.validateSearch,i))}catch{}let a=_e(this.stores.matchesId.get()),o=a&&this.stores.matchStores.get(a)?.get(),s=o&&o.routeId===r.id&&o.pathname===e.pathname,c;if(s)c=o.params;else{let e=Object.assign(Object.create(null),n);for(let n of t)try{bn(n,e)}catch{}c=e}return{matchedRoutes:t,fullPath:r.fullPath,search:i,params:c}}},fn=class extends Error{},pn=class extends Error{};function mn(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function hn(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new fn(`Async validation not supported`);if(n.issues)throw new fn(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function gn({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=se(e),a,o=le(i,n,!0);return o&&(a=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:o?.branch||[t.__root__],routeParams:r,foundRoute:a}}function _n({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return vn(n)(e,t,r??!1)}function vn(e){let t,n,r=[];for(let t of e){let e=t.options;`search`in e?e.search?.middlewares&&r.push(...e.search.middlewares):(e.preSearchFilters||e.postSearchFilters)&&r.push(({search:t,next:n})=>{let r=n(e.preSearchFilters?e.preSearchFilters.reduce((e,t)=>t(e),t):t);return e.postSearchFilters?e.postSearchFilters.reduce((e,t)=>t(e),r):r});let i=e.validateSearch;i&&r.push(({search:e,next:t,meta:r})=>{let a=t(e);if(n)try{let e=hn(i,a);if(r&&e)for(let t in e)t in a||(r.defaulted||=new Map).set(t,e[t]);return{...a,...e}}catch{}return a})}let i=(e,n,a)=>{if(e>=r.length){if(!t.search)return{};if(t.search===!0)return n;let e=Fe(t.search,n);return a&&(a.explicit=e),e}return r[e]({search:n,next:(t,n)=>{if(n){let n=a||{};return{search:i(e+1,t,n),meta:n}}return i(e+1,t,a)},meta:a})};return function(e,r,a){return t=r,n=a,i(0,e)}}function yn(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return ue}function bn(e,t){let n=e.options.params?.parse??e.options.parseParams;if(n){let e=n(t);if(e===!1)throw Error(`Route params.parse returned false for a matched route`);Object.assign(t,e)}}var xn=Symbol.for(`TSR_DEFERRED_PROMISE`);function Sn(e,t){let n=e;return n[xn]?n:(n[xn]={status:`pending`},n.then(e=>{n[xn].status=`success`,n[xn].data=e}).catch(e=>{n[xn].status=`error`,n[xn].error={data:(t?.serializeError??cn)(e),__isServerError:!0}}),n)}function Cn(e,t){if(e)return typeof e==`string`?e:e[t]}function wn(e){return e?.scriptFormat??`module`}function Tn(e,t,n){let r=En(t),i=Cn(n,`script`)??r.crossOrigin;return{...wn(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function En(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function Dn(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function On(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}var kn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(kn||{}),An=Symbol.asyncIterator,jn=Symbol.hasInstance,Mn=Symbol.isConcatSpreadable,Nn=Symbol.iterator,Pn=Symbol.match,Fn=Symbol.matchAll,In=Symbol.replace,Ln=Symbol.search,Rn=Symbol.species,zn=Symbol.split,Bn=Symbol.toPrimitive,Vn=Symbol.toStringTag,Hn=Symbol.unscopables,Un={[An]:0,[jn]:1,[Mn]:2,[Nn]:3,[Pn]:4,[Fn]:5,[In]:6,[Ln]:7,[Rn]:8,[zn]:9,[Bn]:10,[Vn]:11,[Hn]:12},Wn={0:An,1:jn,2:Mn,3:Nn,4:Pn,5:Fn,6:In,7:Ln,8:Rn,9:zn,10:Bn,11:Vn,12:Hn},E=void 0,Gn={2:!0,3:!1,1:E,0:null,4:-0,5:1/0,6:-1/0,7:NaN},Kn={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},qn={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function D(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function Jn(e){return D(2,E,e,E,E,E,E,E,E,E,E,E)}var Yn=Jn(2),Xn=Jn(3),Zn=Jn(1),Qn=Jn(0),$n=Jn(4),er=Jn(5),tr=Jn(6),nr=Jn(7);function rr(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case`
|
|
11
|
-
`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case` `:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return E}}function ir(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=rr(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function ar(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return`
|
|
12
|
-
`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return` `;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function or(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,ar)}var sr=`__SEROVAL_REFS__`,cr=new Map,lr=new Map;function ur(e){return cr.has(e)}function dr(e){return lr.has(e)}function fr(e){if(ur(e))return cr.get(e);throw new ei(e)}function pr(e){if(dr(e))return lr.get(e);throw new ti(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,sr,{value:lr,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,sr,{value:lr,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,sr,{value:lr,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,sr,{value:lr,configurable:!0,writable:!1,enumerable:!1});function mr(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function hr(e){let t=Kn[mr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function gr(e,t){let n=hr(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function _r(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function vr(e){switch(e){case 1/0:return er;case-1/0:return tr}return e===e?Object.is(e,-0)?$n:D(0,E,e,E,E,E,E,E,E,E,E,E):nr}function yr(e){return D(1,E,ir(e),E,E,E,E,E,E,E,E,E)}function br(e){return D(3,E,``+e,E,E,E,E,E,E,E,E,E)}function xr(e){return D(4,e,E,E,E,E,E,E,E,E,E,E)}function Sr(e,t){let n=t.valueOf();return D(5,e,n===n?t.toISOString():``,E,E,E,E,E,E,E,E,E)}function Cr(e,t){return D(6,e,E,ir(t.source),t.flags,E,E,E,E,E,E,E)}function wr(e,t){return D(17,e,Un[t],E,E,E,E,E,E,E,E,E)}function Tr(e,t){return D(18,e,ir(fr(t)),E,E,E,E,E,E,E,E,E)}function Er(e,t,n){return D(25,e,n,ir(t),E,E,E,E,E,E,E,E)}function Dr(e,t,n){return D(9,e,E,E,E,E,E,n,E,E,_r(t),E)}function Or(e,t){return D(21,e,E,E,E,E,E,E,t,E,E,E)}function kr(e,t,n){return D(15,e,E,t.constructor.name,E,E,E,E,n,t.byteOffset,E,t.length)}function Ar(e,t,n){return D(16,e,E,t.constructor.name,E,E,E,E,n,t.byteOffset,E,t.byteLength)}function jr(e,t,n){return D(20,e,E,E,E,E,E,E,n,t.byteOffset,E,t.byteLength)}function Mr(e,t,n){return D(13,e,mr(t),E,ir(t.message),n,E,E,E,E,E,E)}function Nr(e,t,n){return D(14,e,mr(t),E,ir(t.message),n,E,E,E,E,E,E)}function Pr(e,t){return D(7,e,E,E,E,E,E,t,E,E,E,E)}function Fr(e,t){return D(28,E,E,E,E,E,E,[e,t],E,E,E,E)}function Ir(e,t){return D(30,E,E,E,E,E,E,[e,t],E,E,E,E)}function Lr(e,t,n){return D(31,e,E,E,E,E,E,n,t,E,E,E)}function Rr(e,t){return D(32,e,E,E,E,E,E,E,t,E,E,E)}function zr(e,t){return D(33,e,E,E,E,E,E,E,t,E,E,E)}function Br(e,t){return D(34,e,E,E,E,E,E,E,t,E,E,E)}function Vr(e,t,n,r){return D(35,e,n,E,E,E,E,t,E,E,E,r)}var{toString:Hr}=Object.prototype,Ur={parsing:1,serialization:2,deserialization:3};function Wr(e){return`Seroval Error (step: ${Ur[e]})`}var Gr=(e,t)=>Wr(e),Kr=class extends Error{constructor(e,t){super(Gr(e,t)),this.cause=t}},qr=class extends Kr{constructor(e){super(`parsing`,e)}},Jr=class extends Kr{constructor(e){super(`deserialization`,e)}};function Yr(e){return`Seroval Error (specific: ${e})`}var Xr=class extends Error{constructor(e){super(Yr(1)),this.value=e}},Zr=class extends Error{constructor(e){super(Yr(2))}},Qr=class extends Error{constructor(e){super(Yr(3))}},$r=class extends Error{constructor(e){super(Yr(4))}},ei=class extends Error{constructor(e){super(Yr(5)),this.value=e}},ti=class extends Error{constructor(e){super(Yr(6))}},ni=class extends Error{constructor(e){super(Yr(7))}},ri=class extends Error{constructor(e){super(Yr(8))}},ii=class extends Error{constructor(e){super(Yr(9))}},ai=class{constructor(e,t){this.value=e,this.replacement=t}},oi=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};oi.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var si=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};si.toString();var ci=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};ci.toString();var li=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};li.toString();var ui=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};ui.toString();function di(e){return`__SEROVAL_SEQUENCE__`in e}function fi(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function pi(e){let t=[],n=-1,r=-1,i=e[Nn]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return fi(t,n,r)}var mi=ci(Nn);function hi(e){return mi(e)}var gi={},_i={},vi={0:{},1:{},2:{},3:{},4:{},5:{}};function yi(e){return`__SEROVAL_STREAM__`in e}function bi(){return si()}function xi(e){let t=bi(),n=e[An]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Si=li(An,oi);function Ci(e){return Si(e)}async function wi(e){try{return[1,await e]}catch(e){return[0,e]}}function Ti(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Ei(e,t){e.marked.add(t)}function Di(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function Oi(e,t){let n=e.refs.get(t);return n==null?{type:0,value:Di(e,t)}:(Ei(e,n),{type:1,value:xr(n)})}function ki(e,t){let n=Oi(e,t);return n.type===1?n:ur(t)?{type:2,value:Tr(n.value,t)}:n}function Ai(e,t){let n=ki(e,t);if(n.type!==0)return n.value;if(t in Un)return wr(n.value,t);throw new Xr(t)}function ji(e,t){let n=Oi(e,vi[t]);return n.type===1?n.value:D(26,n.value,t,E,E,E,E,E,E,E,E,E)}function Mi(e){let t=Oi(e,gi);return t.type===1?t.value:D(27,t.value,E,E,E,E,E,E,Ai(e,Nn),E,E,E)}function Ni(e){let t=Oi(e,_i);return t.type===1?t.value:D(29,t.value,E,E,E,E,E,[ji(e,1),Ai(e,An)],E,E,E,E)}function Pi(e,t,n,r){return D(n?11:10,e,E,E,E,r,E,E,E,E,_r(t),E)}function Fi(e,t,n,r){return D(8,t,E,E,E,E,{k:n,v:r},E,ji(e,0),E,E,E)}function Ii(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return D(19,t,ir(btoa(i)),E,E,E,E,E,ji(e,5),E,E,E)}function Li(e,t){return{base:Ti(e,t),child:void 0}}var Ri=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return ra(this._p,this.depth,e)}};async function zi(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await ra(e,t,n[i]):r[i]=0;return r}async function Bi(e,t,n,r){return Dr(n,r,await zi(e,t,r))}async function Vi(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(ir(r[n][0])),a.push(await ra(e,t,r[n][1]));return Nn in n&&(i.push(Ai(e.base,Nn)),a.push(Fr(Mi(e.base),await ra(e,t,pi(n))))),An in n&&(i.push(Ai(e.base,An)),a.push(Ir(Ni(e.base),await ra(e,t,xi(n))))),Vn in n&&(i.push(Ai(e.base,Vn)),a.push(yr(n[Vn]))),Mn in n&&(i.push(Ai(e.base,Mn)),a.push(n[Mn]?Yn:Xn)),{k:i,v:a}}async function Hi(e,t,n,r,i){return Pi(n,r,i,await Vi(e,t,r))}async function Ui(e,t,n,r){return Or(n,await ra(e,t,r.valueOf()))}async function Wi(e,t,n,r){return kr(n,r,await ra(e,t,r.buffer))}async function Gi(e,t,n,r){return Ar(n,r,await ra(e,t,r.buffer))}async function Ki(e,t,n,r){return jr(n,r,await ra(e,t,r.buffer))}async function O(e,t,n,r){let i=gr(r,e.base.features);return Mr(n,r,i?await Vi(e,t,i):E)}async function qi(e,t,n,r){let i=gr(r,e.base.features);return Nr(n,r,i?await Vi(e,t,i):E)}async function Ji(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await ra(e,t,n)),a.push(await ra(e,t,o));return Fi(e.base,n,i,a)}async function Yi(e,t,n,r){let i=[];for(let n of r.keys())i.push(await ra(e,t,n));return Pr(n,i)}async function Xi(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return Er(n,o.tag,await o.parse.async(r,new Ri(e,t),{id:n}))}return E}async function Zi(e,t,n,r){let[i,a]=await wi(r);return D(12,n,i,E,E,E,E,E,await ra(e,t,a),E,E,E)}function Qi(e,t,n,r,i){let a=[],o=n.on({next:n=>{Ei(this.base,t),ra(this,e,n).then(e=>{a.push(Rr(t,e))},e=>{i(e),o()})},throw:n=>{Ei(this.base,t),ra(this,e,n).then(e=>{a.push(zr(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{Ei(this.base,t),ra(this,e,n).then(e=>{a.push(Br(t,e)),r(a),o()},e=>{i(e),o()})}})}async function $i(e,t,n,r){return Lr(n,ji(e.base,4),await new Promise(Qi.bind(e,t,n,r)))}async function ea(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await ra(e,t,r.v[n]);return Vr(n,i,r.t,r.d)}async function ta(e,t,n,r){if(Array.isArray(r))return Bi(e,t,n,r);if(yi(r))return $i(e,t,n,r);if(di(r))return ea(e,t,n,r);let i=r.constructor;if(i===ai)return ra(e,t,r.replacement);let a=await Xi(e,t,n,r);if(a)return a;switch(i){case Object:return Hi(e,t,n,r,!1);case E:return Hi(e,t,n,r,!0);case Date:return Sr(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return O(e,t,n,r);case Number:case Boolean:case String:case BigInt:return Ui(e,t,n,r);case ArrayBuffer:return Ii(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Wi(e,t,n,r);case DataView:return Ki(e,t,n,r);case Map:return Ji(e,t,n,r);case Set:return Yi(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return Zi(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return Cr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return Gi(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return qi(e,t,n,r);if(r instanceof Error)return O(e,t,n,r);if(Nn in r||An in r)return Hi(e,t,n,r,!!i);throw new Xr(r)}async function na(e,t,n){let r=ki(e.base,n);if(r.type!==0)return r.value;let i=await Xi(e,t,r.value,n);if(i)return i;throw new Xr(n)}async function ra(e,t,n){switch(typeof n){case`boolean`:return n?Yn:Xn;case`undefined`:return Zn;case`string`:return yr(n);case`number`:return vr(n);case`bigint`:return br(n);case`object`:if(n){let r=ki(e.base,n);return r.type===0?await ta(e,t+1,r.value,n):r.value}return Qn;case`symbol`:return Ai(e.base,n);case`function`:return na(e,t,n);default:throw new Xr(n)}}async function ia(e,t){try{return await ra(e,0,t)}catch(e){throw e instanceof qr?e:new qr(e)}}var aa=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(aa||{});function oa(e){return e}function sa(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&sa(e,r.extends))}}function ca(e){if(e){let t=new Set;return sa(t,e),[...t]}}function la(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new ni(e)}}var ua=1e6,da=1e4,fa=2e4;function pa(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var ma=1e3;function ha(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||ma}}function ga(e){return{mode:2,base:ha(2,e),child:E}}var _a=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return k(this._p,this.depth,e)}};function va(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new ri({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function ya(e,t,n){return va(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function ba(e,t,n){return va(e.base,t),e.base.refs.set(t,n),n}function xa(e,t,n){return e.mode===1?ya(e,t,n):ba(e,t,n)}function Sa(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new ri(e)}function Ca(e,t){return xa(e,t.i,pr(or(t.s)))}function wa(e,t,n){let r=n.a,i=r.length,a=xa(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=k(e,t,o));return pa(a,n.o),a}function Ta(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function Ea(e){switch(e){case An:case Mn:case Vn:case Nn:return!0;default:return!1}}function Da(e,t,n){Ta(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function Oa(e,t,n,r,i){if(typeof r==`string`)Da(n,or(r),k(e,t,i));else{let a=k(e,t,r);switch(typeof a){case`string`:Da(n,a,k(e,t,i));break;case`symbol`:Ea(a)&&(n[a]=k(e,t,i));break;default:throw new ri(r)}}}function ka(e,t,n){e.base.refs.types.set(t,n)}function Aa(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new ri(t)}function ja(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)Oa(e,t,r,i[a],o[a]);return r}function Ma(e,t,n){let r=xa(e,n.i,n.t===10?{}:Object.create(null));return ja(e,t,n.p,r),pa(r,n.o),r}function Na(e,t){return xa(e,t.i,new Date(t.s))}function Pa(e,t){if(e.base.features&32){let n=or(t.c);if(n.length>fa)throw new ri(t);return xa(e,t.i,new RegExp(n,t.m))}throw new Zr(t)}function Fa(e,t,n){let r=xa(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(k(e,t,a[i]));return r}function Ia(e,t,n){let r=xa(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(k(e,t,a[i]),k(e,t,o[i]));return r}function La(e,t){if(t.s.length>ua)throw new ri(t);return xa(e,t.i,ui(or(t.s)))}function Ra(e,t,n){let r=la(n.c),i=k(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new ri(n);return xa(e,n.i,new r(i,a,n.l))}function za(e,t,n){let r=k(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new ri(n);return xa(e,n.i,new DataView(r,i,n.l))}function Ba(e,t,n,r){if(n.p){let i=ja(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function Va(e,t,n){return Ba(e,t,n,xa(e,n.i,AggregateError([],or(n.m))))}function Ha(e,t,n){let r=Sa(n,qn,n.s);return Ba(e,t,n,xa(e,n.i,new r(or(n.m))))}function Ua(e,t,n){let r=oi(),i=xa(e,n.i,r.p),a=k(e,t,n.f);return n.s?r.s(a):r.f(a),i}function Wa(e,t,n){return xa(e,n.i,Object(k(e,t,n.f)))}function Ga(e,t,n){let r=e.base.plugins;if(r){let i=or(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return xa(e,n.i,o.deserialize(n.s,new _a(e,t),{id:n.i}))}}throw new Qr(n.c)}function Ka(e,t){let n=xa(e,t.i,xa(e,t.s,oi()).p);return ka(e,t.s,22),n}function qa(e,t,n){let r=e.base.refs.get(n.i);if(r)return Aa(e,n,n.i,22),r.s(k(e,t,n.a[1])),E;throw new $r(`Promise`)}function Ja(e,t,n){let r=e.base.refs.get(n.i);if(r)return Aa(e,n,n.i,22),r.f(k(e,t,n.a[1])),E;throw new $r(`Promise`)}function Ya(e,t,n){return k(e,t,n.a[0]),hi(k(e,t,n.a[1]))}function Xa(e,t,n){return k(e,t,n.a[0]),Ci(k(e,t,n.a[1]))}function Za(e,t,n){let r=xa(e,n.i,bi());ka(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)k(e,t,i[n]);return r}function Qa(e,t,n){let r=e.base.refs.get(n.i);if(r)return Aa(e,n,n.i,31),r.next(k(e,t,n.f)),E;throw new $r(`Stream`)}function $a(e,t,n){let r=e.base.refs.get(n.i);if(r)return Aa(e,n,n.i,31),r.throw(k(e,t,n.f)),E;throw new $r(`Stream`)}function eo(e,t,n){let r=e.base.refs.get(n.i);if(r)return Aa(e,n,n.i,31),r.return(k(e,t,n.f)),E;throw new $r(`Stream`)}function to(e,t,n){return k(e,t,n.f),E}function no(e,t,n){return k(e,t,n.a[1]),E}function ro(e,t,n){let r=xa(e,n.i,fi([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=k(e,t,n.a[i]);return r}function k(e,t,n){if(t>e.base.depthLimit)throw new ii(e.base.depthLimit);switch(t+=1,n.t){case 2:return Sa(n,Gn,n.s);case 0:return Number(n.s);case 1:return or(String(n.s));case 3:if(String(n.s).length>da)throw new ri(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Ca(e,n);case 9:return wa(e,t,n);case 10:case 11:return Ma(e,t,n);case 5:return Na(e,n);case 6:return Pa(e,n);case 7:return Fa(e,t,n);case 8:return Ia(e,t,n);case 19:return La(e,n);case 16:case 15:return Ra(e,t,n);case 20:return za(e,t,n);case 14:return Va(e,t,n);case 13:return Ha(e,t,n);case 12:return Ua(e,t,n);case 17:return Sa(n,Wn,n.s);case 21:return Wa(e,t,n);case 25:return Ga(e,t,n);case 22:return Ka(e,n);case 23:return qa(e,t,n);case 24:return Ja(e,t,n);case 28:return Ya(e,t,n);case 30:return Xa(e,t,n);case 31:return Za(e,t,n);case 32:return Qa(e,t,n);case 33:return $a(e,t,n);case 34:return eo(e,t,n);case 27:return to(e,t,n);case 29:return no(e,t,n);case 35:return ro(e,t,n);default:throw new Zr(n)}}function io(e,t){try{return k(e,0,t)}catch(e){throw new Jr(e)}}var ao=(()=>T).toString();/=>/.test(ao);function oo(e,t){return io(ga({plugins:ca(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function so(e,t={}){let n=Li(1,{plugins:ca(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await ia(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function co(e){return e}function lo(e){return oa({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var uo=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},fo=globalThis.Buffer,po=!!fo&&typeof fo.from==`function`;function mo(e){if(e.length===0)return``;if(po)return fo.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function ho(e){if(e.length===0)return new Uint8Array;if(po){let t=fo.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var go=Object.create(null),_o=Object.create(null),vo=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(ho(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),yo=new TextEncoder,bo=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(yo.encode(e)):t.enqueue(ho(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),xo=`(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))`,So=`(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})`;function Co(e){let t=bi(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(mo(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function wo(e){let t=bi(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:mo(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var A=oa({tag:`tss/RawStream`,extends:[oa({tag:`tss/RawStreamFactory`,test(e){return e===go},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return xo},deserialize(e,t,n){return go}}),oa({tag:`tss/RawStreamFactoryText`,test(e){return e===_o},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return So},deserialize(e,t,n){return _o}})],test(e){return e instanceof uo},parse:{sync(e,t,n){let r=e.hint===`text`?_o:go;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(bi())}},async async(e,t,n){let r=e.hint===`text`?_o:go,i=e.hint===`text`?wo(e.stream):Co(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?_o:go,i=e.hint===`text`?wo(e.stream):Co(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?bo(r):vo(r)}});function To(e){return oa({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var Eo=oa({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),Do={},Oo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),ko=oa({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===Do},parse:{sync(){return Do},async async(){return await Promise.resolve(Do)},stream(){return Do}},serialize(){return Oo.toString()},deserialize(){return Do}});function Ao(e){let t=bi(),n=e.getReader();async function r(){try{let e=await n.read();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var jo=[Eo,A,oa({tag:`seroval/plugins/web/ReadableStream`,extends:[ko],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(Do),stream:t.parse(bi())}},async async(e,t){return{factory:await t.parse(Do),stream:await t.parse(Ao(e))}},stream(e,t){return{factory:t.parse(Do),stream:t.parse(Ao(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return Oo(t.deserialize(e.stream))}})];function Mo(){return[...(tt()?.serializationAdapters)?.map(lo)??[],...jo]}var No=new TextDecoder,Po=new Uint8Array,Fo=16*1024*1024,Io=32*1024*1024,Lo=1024,Ro=1e5;function zo(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=Lo)throw Error(`Too many raw streams in framed response (max ${Lo})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return Po;let t=new Uint8Array(e),n=0,r=e;for(;r>0&&c.length>0;){let e=c[0];if(!e)break;let i=Math.min(e.length,r);t.set(e.subarray(0,i),n),n+=i,r-=i,i===e.length?c.shift():c[0]=e.subarray(i)}return l-=e,t}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;if(a){if(l+a.length>Io)throw Error(`Framed response buffer exceeded ${Io} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==Ze.JSON&&n!==Ze.CHUNK&&n!==Ze.END&&n!==Ze.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===Ze.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>Fo)throw Error(`Frame payload too large: ${a} bytes (max ${Fo})`);let c=9+a;if(l<c)break;if(++o>Ro)throw Error(`Too many frames in framed response (max ${Ro})`);f(9);let p=f(a);switch(n){case Ze.JSON:try{s.enqueue(No.decode(p))}catch{}break;case Ze.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case Ze.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case Ze.ERROR:{let e=u(i);if(r.add(i),e){let n=No.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var Bo=null;async function Vo(e){e.length>0&&await Promise.allSettled(e)}var Ho=Object.prototype.hasOwnProperty;function Uo(e){for(let t in e)if(Ho.call(e,t))return!0;return!1}async function Wo(e,t,n){Bo||=Mo();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${Xe}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await Go(r);if(t!==void 0){let n=nt({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await qo(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await Jo(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function Go(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&Uo(e.context)&&(t=!0,n.context=e.context),t)return Ko(n)}async function Ko(e){return JSON.stringify(await Promise.resolve(so(e,{plugins:Bo})))}async function qo(e){if(e.data instanceof FormData){let t;return e.context&&Uo(e.context)&&(t=await Ko(e.context)),t!==void 0&&e.data.set(Je,t),{body:e.data}}let t=await Go(e);if(t)return{body:t,contentType:`application/json`}}async function Jo(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||w(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(et(n),!t.body)throw Error(`No response body for framed response`);let{getOrCreateStream:r,jsonChunks:i}=zo(t.body),a=[To(r),...Bo||[]],o=new Map;e=await Yo({jsonStream:i,onMessage:e=>oo(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(n.includes(`application/json`)){let n=await t.json(),r=[];try{e=oo(n,{plugins:Bo})}finally{}await Vo(r)}if(e||w(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=g(e);if(n)throw n;if(je(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function Yo({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await Vo(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await Vo(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function Xo(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=tt()?.serverFns?.fetch;return Wo(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[Ye]:!0})}var Zo=co({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(Ye in e)?!1:!!e[Ye],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>Xo(e)});function Qo(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function $o(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function es(e){window.$_TSR||w();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||w();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=Qo(e.i)}),n.lastMatchId&&=Qo(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o},await e.options.hydrate?.(i);let s=e.matchRoutes(e.stores.location.get()),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=Le();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}$o(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.stores.setMatches(s);let f=e.stores.matches.get(),p=e.stores.location.get();await Promise.all(f.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=f[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:p,navigate:t=>e.navigate({...t,_fromLocation:p}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:f,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(je(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let m=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!m)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),c;let h=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(m){let t=s[1];t||w(),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=h,h.then(()=>{e.batch(()=>{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var j=t(e(),1),M=r();function ts({promise:e}){if(Re)return Re(e);let t=Sn(e);if(t[xn].status===`pending`)throw t;if(t[xn].status===`error`)throw t[xn].error;return t[xn].data}function ns(e){let t=(0,M.jsx)(rs,{...e});return e.fallback?(0,M.jsx)(j.Suspense,{fallback:e.fallback,children:t}):t}function rs(e){let t=ts(e);return e.children(t)}var is=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(is||{});function as({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function os(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var ss=[],cs=0,{link:ls,unlink:us,propagate:ds,checkDirty:fs,shallowPropagate:ps}=as({update(e){return e._update()},notify(e){ss[hs++]=e,e.flags&=~is.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=is.Mutable|is.Dirty,ys(e))}}),ms=0,hs=0,gs,_s=0;function vs(e){try{++_s,e()}finally{--_s||bs()}}function ys(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=us(n,e)}function bs(){if(!(_s>0)){for(;ms<hs;){let e=ss[ms];ss[ms++]=void 0,e.notify()}ms=0,hs=0}}function xs(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?is.None:is.Mutable,get(){return gs!==void 0&&ls(i,gs,cs),i._snapshot},subscribe(e){let t=os(e),n={current:!1},r=Ss(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=gs,o=t?.compare??Object.is;if(n)gs=i,++cs,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=is.Mutable|is.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{gs=a,n&&(i.flags&=~is.RecursedCheck),ys(i)}}};return n?(i.flags=is.Mutable|is.Dirty,i.get=function(){let e=i.flags;if(e&is.Dirty||e&is.Pending&&fs(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&ps(e)}}else e&is.Pending&&(i.flags=e&~is.Pending);return gs!==void 0&&ls(i,gs,cs),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(ds(e),ps(e),bs())}},i}function Ss(e){let t=()=>{let t=gs;gs=n,++cs,n.depsTail=void 0,n.flags=is.Watching|is.RecursedCheck;try{return e()}finally{gs=t,n.flags&=~is.RecursedCheck,ys(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:is.Watching|is.RecursedCheck,notify(){let e=this.flags;e&is.Dirty||e&is.Pending&&fs(this.deps,this)?t():this.flags=is.Watching},stop(){this.flags=is.None,this.depsTail=void 0,ys(this)}};return t(),n}function Cs(e,t){let n,r,i,a,o=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(i=e,s(i)&&i instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),a=!0)}}),n),c=function(e){if(a)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(Re)Re(o());else throw o();return j.createElement(r,e)};return c.preload=o,c}function ws(e){let t=e.errorComponent??Es;return(0,M.jsx)(Ts,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?j.createElement(t,{error:n,reset:r}):e.children})}var Ts=class extends j.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Es({error:e}){let[t,n]=j.useState(!1);return(0,M.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,M.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,M.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,M.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,M.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,M.jsx)(`div`,{children:(0,M.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,M.jsx)(`code`,{children:e.message}):null})}):null]})}function Ds(e){let t=Ue(),n=`not-found-${Ee(t.stores.location,e=>e.pathname)}-${Ee(t.stores.status,e=>e)}`;return(0,M.jsx)(ws,{getResetKey:()=>n,onCatch:(t,n)=>{if(je(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(je(t))return e.fallback?.(t);throw t},children:e.children})}function Os(){return(0,M.jsx)(`p`,{children:`Not Found`})}function ks(e){return(0,M.jsx)(M.Fragment,{children:e.children})}function As(e,t,n){return t.options.notFoundComponent?(0,M.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,M.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,M.jsx)(Os,{})}var js=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Ms=(e,t)=>e[0]===t[0]&&e[1]===t[1],Ns=j.memo(function({matchId:e}){let t=Ue(),n=t.stores.matchStores.get(e);n||w();let r=Ee(t.stores.loadedAt,e=>e),i=Ee(n,e=>e,js);return(0,M.jsx)(Ps,{router:t,matchId:e,resetKey:r,matchState:j.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function Ps({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,M.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,d=r.ssr===!1||r.ssr===`data-only`,f=(!i.isRoot||i.options.wrapInSuspense||d)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||d))?j.Suspense:ks,p=s?ws:ks,m=l?Ds:ks;return(0,M.jsxs)(i.isRoot?i.options.shellComponent??ks:ks,{children:[(0,M.jsx)(u.Provider,{value:t,children:(0,M.jsx)(f,{fallback:o,children:(0,M.jsx)(p,{getResetKey:()=>n,errorComponent:s||Es,onCatch:(e,t)=>{if(je(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,M.jsx)(m,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return j.createElement(l,e)},children:d||r._displayPending?(0,M.jsx)(te,{fallback:o,children:(0,M.jsx)(Is,{matchId:t})}):(0,M.jsx)(Is,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(Fs,{}),(e.options.scrollRestoration,null)]}):null]})}function Fs(){let e=Ue(),t=j.useRef();return ze(()=>{let n=e.stores.resolvedLocation.get(),r=t.current;n&&(!r||r.href!==n.href)&&e.emit({type:`onRendered`,...ln(e.stores.location.get(),r??n)}),t.current=n},[Ee(e.stores.resolvedLocation,e=>e?.state.__TSR_key),e]),null}var Is=j.memo(function({matchId:e}){let t=Ue(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||w();let i=Ee(r,e=>e),a=i.routeId,o=t.routesById[a],s=j.useMemo(()=>{let e=(t.routesById[a].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:a,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[a,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),c=j.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?(0,M.jsx)(e,{},s):(0,M.jsx)(Ls,{})},[s,o.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);if(i.status===`pending`){let e=o.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=Le();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return je(i.error)||w(),As(t,o,i.error);if(i.status===`redirected`)throw ne(i.error)||w(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return c}),Ls=j.memo(function(){let e=Ue(),t=j.useContext(u),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=Ee(a,e=>[e?.routeId,e?.globalNotFound??!1],Ms),i=Ee(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,M.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||w(),As(e,a,void 0);if(!i)return null;let s=(0,M.jsx)(Ns,{matchId:i});return n===`__root__`?(0,M.jsx)(j.Suspense,{fallback:o,children:s}):s}),Rs=e=>({createMutableStore:xs,createReadonlyStore:xs,batch:vs}),zs=e=>new Bs(e),Bs=class extends dn{constructor(e){super(e,Rs)}};function Vs(){let e=Ue(),t=j.useRef({router:e,mounted:!1}),[n,r]=j.useState(!1),i=Ee(e.stores.isLoading,e=>e),a=Ee(e.stores.hasPending,e=>e),o=Ve(i),s=i||n||a,c=Ve(s),l=i||a,u=Ve(l);return e.startTransition=e=>{r(!0),j.startTransition(()=>{e(),r(!1)})},j.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return se(e.latestLocation.publicHref)!==se(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),ze(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),ze(()=>{o&&!i&&e.emit({type:`onLoad`,...ln(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),ze(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...ln(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),ze(()=>{if(c&&!s){let t=ln(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),vs(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())})}},[s,c,e]),null}function Hs(){let e=Ue(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,M.jsx)(t,{}):null,r=(0,M.jsxs)(typeof document<`u`&&e.ssr?ks:j.Suspense,{fallback:n,children:[(0,M.jsx)(Vs,{}),(0,M.jsx)(Us,{})]});return e.options.InnerWrap?(0,M.jsx)(e.options.InnerWrap,{children:r}):r}function Us(){let e=Ue(),t=Ee(e.stores.firstId,e=>e),n=Ee(e.stores.loadedAt,e=>e),r=t?(0,M.jsx)(Ns,{matchId:t}):null;return(0,M.jsx)(u.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,M.jsx)(ws,{getResetKey:()=>n,errorComponent:Es,onCatch:void 0,children:r})})}function Ws({router:e,children:t,...n}){y(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,M.jsx)(Be.Provider,{value:e,children:t});return e.options.Wrap?(0,M.jsx)(e.options.Wrap,{children:r}):r}function Gs({router:e,...t}){return(0,M.jsx)(Ws,{router:e,...t,children:(0,M.jsx)(Hs,{})})}function Ks(e){let t=Ue();return Ee(t.stores.location,d(e,t))}function qs(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function Js(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e;switch(e.tag){case`title`:return(0,M.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,M.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,M.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,M.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,M.jsx)(Ys,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function Ys({attrs:e,children:t,preventScriptHoist:n}){Ue();let r=ee(),i=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(j.useEffect(()=>{if(!i){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();for(let e of document.querySelectorAll(`script[src]`))if(e.src===t)return;let n=document.createElement(`script`);return qs(n,e),document.head.appendChild(n),()=>n.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.querySelectorAll(`script:not([src])`)){if(!(e instanceof HTMLScriptElement))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,qs(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,i]),i&&typeof t==`string`)return(0,M.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!r){if(e?.src)return(0,M.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,M.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var Xs=e=>{let t=Ue(),n=t.options.ssr?.nonce,r=Ee(t.stores.matches,e=>e.map(e=>e.meta).filter(e=>e!==void 0),Ie),i=j.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let s=r[a];for(let r=s.length-1;r>=0;r--){let a=s[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:o(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=Ee(t.stores.matches,e=>e.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),Ie),s=Ee(t.stores.matches,r=>{let i=t.ssr?.manifest,a=[];return i?(r.forEach(t=>{i.routes[t.routeId]?.css?.forEach(t=>{let r=On(t);a.push({tag:`link`,attrs:{rel:`stylesheet`,...r,crossOrigin:Cn(e,`stylesheet`)??r.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),i.inlineStyle&&a.push({tag:`style`,attrs:{...i.inlineStyle.attrs,nonce:n},children:i.inlineStyle.children,inlineCss:!0}),a):a},Ie),c=Ee(t.stores.matches,r=>{let i=[],a=t.ssr?.manifest;return a&&r.forEach(t=>{a.routes[t.routeId]?.preloads?.forEach(t=>{i.push({tag:`link`,attrs:{...Tn(a,t,e),nonce:n}})})}),i},Ie),l=Ee(t.stores.matches,e=>e.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),Ie),u=Ee(t.stores.matches,e=>e.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),Ie),d=[];return Dn(d,i),d.push(...c),Dn(d,a),d.push(...s),Dn(d,l),Dn(d,u),d};function Zs(e){let t=Xs(e.assetCrossOrigin),n=Ue().options.ssr?.nonce;return(0,M.jsx)(M.Fragment,{children:t.map(e=>(0,j.createElement)(Js,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var Qs=()=>{let e=Ue(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;if(!i)return[];for(let e of n){let n=i.routes[e.routeId]?.scripts;if(n)for(let e of n)r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children,...typeof e.attrs?.src==`string`?{preventScriptHoist:!0}:{}})}return r},r=e=>e.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e})),i=Ee(e.stores.matches,n,Ie);return $s(e,Ee(e.stores.matches,r,Ie),i)};function $s(e,t,n){let r=[...t,...n];return(0,M.jsx)(M.Fragment,{children:r.map((e,t)=>(0,j.createElement)(Js,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var ec={"common.brand":`MOST PEOPLE`,"common.cancel":`取消`,"common.confirm":`确认`,"common.processing":`处理中...`,"common.copy":`复制`,"common.download":`下载`,"common.close":`关闭`,"common.copied":`已复制`,"common.back":`上一页`,"common.backHome":`回首页`,"common.moreActions":`更多操作`,"common.theme.toggle":`切换主题`,"common.locale.choose":`选择语言`,"common.status.checking":`检测中`,"common.status.connected":`已连接`,"common.status.needsConnection":`需连接`,"common.status.ready":`已就绪`,"nav.downloadClient":`下载客户端`,"nav.profile":`个人资料`,"nav.displayNamePlaceholder":`输入显示名称`,"nav.avatarUrlPlaceholder":`输入头像 URL`,"nav.avatarUrlInvalid":`请输入 http 或 https 头像 URL`,"footer.about":`关于`,"footer.network":`网络`,"errorBoundary.title":`出错了`,"errorBoundary.desc":`发生了意外错误,请尝试重新加载页面`,"errorBoundary.reload":`重新加载`,"notFound.title":`页面未找到`,"notFound.desc":`你访问的页面似乎已经迷失在 P2P 网络中了`,"appShell.openMenu":`打开菜单`,"appShell.expandSidebar":`展开侧边栏`,"appShell.collapseSidebar":`收起侧边栏`,"appShell.openSidebar":`打开侧边栏`},tc={"common.brand":`MOST PEOPLE`,"common.cancel":`取消`,"common.confirm":`確認`,"common.processing":`處理中...`,"common.copy":`複製`,"common.download":`下載`,"common.close":`關閉`,"common.copied":`已複製`,"common.back":`上一頁`,"common.backHome":`回首頁`,"common.moreActions":`更多操作`,"common.theme.toggle":`切換主題`,"common.locale.choose":`選擇語言`,"common.status.checking":`檢測中`,"common.status.connected":`已連線`,"common.status.needsConnection":`需連線`,"common.status.ready":`已就緒`,"nav.downloadClient":`下載用戶端`,"nav.profile":`個人資料`,"nav.displayNamePlaceholder":`輸入顯示名稱`,"nav.avatarUrlPlaceholder":`輸入頭像 URL`,"nav.avatarUrlInvalid":`請輸入 http 或 https 頭像 URL`,"footer.about":`關於`,"footer.network":`網路`,"errorBoundary.title":`出錯了`,"errorBoundary.desc":`發生了意外錯誤,請嘗試重新載入頁面`,"errorBoundary.reload":`重新載入`,"notFound.title":`頁面未找到`,"notFound.desc":`你訪問的頁面似乎已經迷失在 P2P 網路中了`,"appShell.openMenu":`開啟選單`,"appShell.expandSidebar":`展開側邊欄`,"appShell.collapseSidebar":`收起側邊欄`,"appShell.openSidebar":`開啟側邊欄`},nc={"common.brand":`MOST PEOPLE`,"common.cancel":`Cancel`,"common.confirm":`Confirm`,"common.processing":`Processing...`,"common.copy":`Copy`,"common.download":`Download`,"common.close":`Close`,"common.copied":`Copied`,"common.back":`Back`,"common.backHome":`Back home`,"common.moreActions":`More actions`,"common.theme.toggle":`Toggle theme`,"common.locale.choose":`Choose language`,"common.status.checking":`Checking`,"common.status.connected":`Connected`,"common.status.needsConnection":`Needs connection`,"common.status.ready":`Ready`,"nav.downloadClient":`Download client`,"nav.profile":`Profile`,"nav.displayNamePlaceholder":`Enter a display name`,"nav.avatarUrlPlaceholder":`Enter an avatar URL`,"nav.avatarUrlInvalid":`Enter an http or https avatar URL`,"footer.about":`About`,"footer.network":`Network`,"errorBoundary.title":`Something went wrong`,"errorBoundary.desc":`An unexpected error occurred. Try reloading the page.`,"errorBoundary.reload":`Reload`,"notFound.title":`Page not found`,"notFound.desc":`The page you opened seems to be lost in the P2P network.`,"appShell.openMenu":`Open menu`,"appShell.expandSidebar":`Expand sidebar`,"appShell.collapseSidebar":`Collapse sidebar`,"appShell.openSidebar":`Open sidebar`},rc={"download.meta.title":`下载 MostBox 客户端`,"download.meta.desc":`下载 MostBox 桌面或 Android 客户端,获得 P2P 文件分享、下载校验和持续做种能力`,"download.hero.title":`下载客户端`,"download.hero.desc":`桌面客户端内置本地 P2P 节点,提供发布、下载校验和持续做种的完整能力;Android Alpha 支持前台聊天附件、下载校验和做种。Web 端只连接已有 MostBox 节点。`,"download.platforms.title":`选择你的平台`,"download.comparison.title":`Web 端 vs 桌面端`,"download.comparison.feature":`功能`,"download.comparison.web":`Web 端`,"download.comparison.desktop":`桌面端`,"download.comparison.node":`节点能力`,"download.comparison.fileSharing":`P2P 文件分享`,"download.comparison.verification":`下载校验`,"download.comparison.seeding":`持续做种`,"download.comparison.largeFiles":`大文件传输`,"download.comparison.webConnectsNode":`连接已有节点`,"download.comparison.webDependsNode":`依赖所连节点`,"download.comparison.desktopBuiltinNode":`内置本地节点`,"download.comparison.desktopFull":`完整支持`,"download.comparison.desktopDefaultOn":`默认开启`,"download.comparison.desktop10gb":`10GB 上限内`,"download.npmNote":`使用 npm 入口请先安装 Node.js >= 22.12,然后运行 npx most-box@latest 启动本机完整节点。`,"download.source.label":`下载来源`,"download.source.r2Mirror":`Cloudflare R2 高速镜像`,"download.source.loading":`正在获取 Cloudflare R2 高速镜像。`,"download.source.ready":`当前版本 {version},可切换 Cloudflare R2 或 GitHub Releases 下载。`,"download.source.fallback":`无法获取高速镜像信息,已切换到 GitHub Releases 备用下载。`,"download.platform.windows.desc":`Windows 10 或更高版本`,"download.platform.macos.desc":`macOS 12 Monterey 或更高版本`,"download.platform.linux.desc":`Ubuntu 20.04+ / Debian 11+ / 其他主流发行版`,"download.platform.source":`来源`,"download.platform.size":`大小`,"download.platform.action":`下载 {ext}`,"download.platform.current":`当前`,"download.platform.currentSystem":`当前系统`,"download.platform.recommended":`推荐下载`,"download.platform.matchedSystem":`已匹配你的设备`,"download.platform.otherPlatforms":`其他可下载客户端`,"download.platform.mobilePlatforms":`移动端`,"download.platform.comingSoon":`敬请期待`,"download.platform.ios.name":`iOS`,"download.platform.ios.desc":`iPhone / iPad 客户端规划中`,"download.platform.android.name":`安卓`,"download.platform.android.desc":`Android Alpha APK,支持前台聊天附件、下载校验和做种`},ic={"download.meta.title":`下載 MostBox 用戶端`,"download.meta.desc":`下載 MostBox 桌面或 Android 用戶端,獲得 P2P 檔案分享、下載校驗和持續做種能力`,"download.hero.title":`下載用戶端`,"download.hero.desc":`桌面用戶端內建本機 P2P 節點,提供發布、下載校驗和持續做種的完整能力;Android Alpha 支援前台聊天附件、下載校驗和做種。Web 端只連線已有 MostBox 節點。`,"download.platforms.title":`選擇你的平臺`,"download.comparison.title":`Web 端 vs 桌面端`,"download.comparison.feature":`功能`,"download.comparison.web":`Web 端`,"download.comparison.desktop":`桌面端`,"download.comparison.node":`節點能力`,"download.comparison.fileSharing":`P2P 檔案分享`,"download.comparison.verification":`下載校驗`,"download.comparison.seeding":`持續做種`,"download.comparison.largeFiles":`大檔案傳輸`,"download.comparison.webConnectsNode":`連線已有節點`,"download.comparison.webDependsNode":`依賴所連節點`,"download.comparison.desktopBuiltinNode":`內建本機節點`,"download.comparison.desktopFull":`完整支援`,"download.comparison.desktopDefaultOn":`預設開啟`,"download.comparison.desktop10gb":`10GB 上限內`,"download.npmNote":`使用 npm 入口請先安裝 Node.js >= 22.12,然後執行 npx most-box@latest 啟動本機完整節點。`,"download.source.label":`下載來源`,"download.source.r2Mirror":`Cloudflare R2 高速映象`,"download.source.loading":`正在取得 Cloudflare R2 高速映象。`,"download.source.ready":`當前版本 {version},可切換 Cloudflare R2 或 GitHub Releases 下載。`,"download.source.fallback":`無法取得高速映象資訊,已切換到 GitHub Releases 備用下載。`,"download.platform.windows.desc":`Windows 10 或更高版本`,"download.platform.macos.desc":`macOS 12 Monterey 或更高版本`,"download.platform.linux.desc":`Ubuntu 20.04+ / Debian 11+ / 其他主流發行版`,"download.platform.source":`來源`,"download.platform.size":`大小`,"download.platform.action":`下載 {ext}`,"download.platform.current":`當前`,"download.platform.currentSystem":`當前系統`,"download.platform.recommended":`推薦下載`,"download.platform.matchedSystem":`已匹配你的裝置`,"download.platform.otherPlatforms":`其他可下載用戶端`,"download.platform.mobilePlatforms":`行動端`,"download.platform.comingSoon":`敬請期待`,"download.platform.ios.name":`iOS`,"download.platform.ios.desc":`iPhone / iPad 用戶端規劃中`,"download.platform.android.name":`Android`,"download.platform.android.desc":`Android Alpha APK,支援前台聊天附件、下載校驗和做種`},ac={"download.meta.title":`Download the MostBox client`,"download.meta.desc":`Download the MostBox desktop or Android client for P2P sharing, verification, and continuous seeding.`,"download.hero.title":`Download client`,"download.hero.desc":`The desktop client includes a local P2P node with full publish, download verification, and continuous seeding support. The Android Alpha supports foreground chat attachments, download verification, and seeding. The Web entry only connects to existing MostBox nodes.`,"download.platforms.title":`Choose your platform`,"download.comparison.title":`Web vs desktop`,"download.comparison.feature":`Feature`,"download.comparison.web":`Web`,"download.comparison.desktop":`Desktop`,"download.comparison.node":`Node capability`,"download.comparison.fileSharing":`P2P file sharing`,"download.comparison.verification":`Download verification`,"download.comparison.seeding":`Continuous seeding`,"download.comparison.largeFiles":`Large file transfer`,"download.comparison.webConnectsNode":`Connects to existing nodes`,"download.comparison.webDependsNode":`Depends on the connected node`,"download.comparison.desktopBuiltinNode":`Built-in local node`,"download.comparison.desktopFull":`Fully supported`,"download.comparison.desktopDefaultOn":`On by default`,"download.comparison.desktop10gb":`Within the 10GB limit`,"download.npmNote":`For the npm entry, install Node.js >= 22.12 first, then run npx most-box@latest to start a full local node.`,"download.source.label":`Download source`,"download.source.r2Mirror":`Cloudflare R2 mirror`,"download.source.loading":`Fetching the Cloudflare R2 mirror.`,"download.source.ready":`Current version {version}. You can switch between Cloudflare R2 and GitHub Releases.`,"download.source.fallback":`Mirror information is unavailable, so GitHub Releases is selected as fallback.`,"download.platform.windows.desc":`Windows 10 or later`,"download.platform.macos.desc":`macOS 12 Monterey or later`,"download.platform.linux.desc":`Ubuntu 20.04+ / Debian 11+ / other mainstream distributions`,"download.platform.source":`Source`,"download.platform.size":`Size`,"download.platform.action":`Download {ext}`,"download.platform.current":`Current`,"download.platform.currentSystem":`Current system`,"download.platform.recommended":`Recommended download`,"download.platform.matchedSystem":`Matched to your device`,"download.platform.otherPlatforms":`Other downloads`,"download.platform.mobilePlatforms":`Mobile`,"download.platform.comingSoon":`Coming soon`,"download.platform.ios.name":`iOS`,"download.platform.ios.desc":`iPhone and iPad client is planned.`,"download.platform.android.name":`Android`,"download.platform.android.desc":`Android Alpha APK with foreground chat attachments, download verification, and seeding.`},oc={"cid.meta.title":`CID 下载检查 - MostBox`,"cid.meta.desc":`检查 MostBox CID 是否有在线种子,并在确认后开始下载。`,"cid.kicker":`MostBox CID`,"cid.title":`检查分享文件`,"cid.subtitle":`MostBox 会先检查这个 CID 是否能从在线种子下载。确认可用后,你可以手动开始下载。`,"cid.handoff.title":`用 MostBox 客户端打开`,"cid.handoff.desc":`已安装客户端时,浏览器会交给系统打开这个 most:// 分享,并让 MostBox 接管检测和下载。`,"cid.handoff.action":`用 MostBox 打开`,"cid.handoff.fallback":`如果浏览器没有弹出确认,或 MostBox 没有打开,可能还没安装客户端或系统协议未注册。你仍可在本页连接本地节点检测下载。`,"cid.handoff.downloadAction":`下载客户端`,"cid.fileNameLabel":`文件名`,"cid.cidLabel":`CID`,"cid.sizeLabel":`大小`,"cid.saveToLabel":`保存到`,"cid.saveToFallback":`MostBox 数据目录/downloads`,"cid.unknownSize":`检测到后显示`,"cid.label.idle":`准备检测`,"cid.label.checking":`正在检测`,"cid.label.available":`可以下载`,"cid.label.alreadyLocal":`本机已有`,"cid.label.loginRequired":`需要登录`,"cid.label.backendMissing":`节点未连接`,"cid.label.waitingBackend":`等待节点`,"cid.label.error":`检测未通过`,"cid.status.waitingBackend":`正在等待本地节点状态。`,"cid.status.backendMissing":`没有连接到 MostBox 本地节点。`,"cid.status.loginRequired":`请先登录本地身份,然后再检查这个 CID。`,"cid.status.checking":`正在查找在线种子并确认下载目录可写。`,"cid.status.available":`{fileName} 当前可以下载。`,"cid.status.alreadyLocal":`{fileName} 已在本机,可继续做种。`,"cid.status.startingDownload":`正在创建下载任务。`,"cid.status.downloading":`正在下载并校验文件。`,"cid.status.downloadingFile":`正在下载 {fileName}。`,"cid.status.downloadComplete":`{fileName} 下载完成,已默认继续做种。`,"cid.status.downloadFailed":`下载失败:{error}`,"cid.status.cancelled":`下载已取消。`,"cid.errorFallback":`未知错误`,"cid.loginAction":`登录`,"cid.connectAction":`连接节点`,"cid.startAction":`开始下载`,"cid.downloadingAction":`下载中`,"cid.cancelAction":`取消下载`,"cid.retryAction":`重新检测`,"cid.openAppAction":`打开文件列表`,"cid.toast.downloadStarted":`下载已开始`,"cid.toast.downloadComplete":`下载完成`,"cid.toast.downloadFailed":`下载失败:{error}`,"cid.toast.cancelled":`下载已取消`,"cid.toast.alreadyLocal":`本机已有该文件`},sc={"cid.meta.title":`CID 下載檢查 - MostBox`,"cid.meta.desc":`檢查 MostBox CID 是否有線上種子,並在確認後開始下載。`,"cid.kicker":`MostBox CID`,"cid.title":`檢查分享檔案`,"cid.subtitle":`MostBox 會先檢查這個 CID 是否能從線上種子下載。確認可用後,你可以手動開始下載。`,"cid.handoff.title":`用 MostBox 用戶端開啟`,"cid.handoff.desc":`已安裝用戶端時,瀏覽器會交給系統開啟這個 most:// 分享,並讓 MostBox 接管檢測和下載。`,"cid.handoff.action":`用 MostBox 開啟`,"cid.handoff.fallback":`如果瀏覽器沒有跳出確認,或 MostBox 沒有開啟,可能尚未安裝用戶端或系統協議未註冊。你仍可在本頁連線本機節點檢測下載。`,"cid.handoff.downloadAction":`下載用戶端`,"cid.fileNameLabel":`檔案名稱`,"cid.cidLabel":`CID`,"cid.sizeLabel":`大小`,"cid.saveToLabel":`儲存到`,"cid.saveToFallback":`MostBox 資料目錄/downloads`,"cid.unknownSize":`檢測到後顯示`,"cid.label.idle":`準備檢測`,"cid.label.checking":`正在檢測`,"cid.label.available":`可以下載`,"cid.label.alreadyLocal":`本機已有`,"cid.label.loginRequired":`需要登入`,"cid.label.backendMissing":`節點未連線`,"cid.label.waitingBackend":`等待節點`,"cid.label.error":`檢測未通過`,"cid.status.waitingBackend":`正在等待本機節點狀態。`,"cid.status.backendMissing":`沒有連線到 MostBox 本機節點。`,"cid.status.loginRequired":`請先登入本機身份,然後再檢查這個 CID。`,"cid.status.checking":`正在尋找線上種子並確認下載目錄可寫。`,"cid.status.available":`{fileName} 目前可以下載。`,"cid.status.alreadyLocal":`{fileName} 已在本機,可繼續做種。`,"cid.status.startingDownload":`正在建立下載任務。`,"cid.status.downloading":`正在下載並校驗檔案。`,"cid.status.downloadingFile":`正在下載 {fileName}。`,"cid.status.downloadComplete":`{fileName} 下載完成,已預設繼續做種。`,"cid.status.downloadFailed":`下載失敗:{error}`,"cid.status.cancelled":`下載已取消。`,"cid.errorFallback":`未知錯誤`,"cid.loginAction":`登入`,"cid.connectAction":`連線節點`,"cid.startAction":`開始下載`,"cid.downloadingAction":`下載中`,"cid.cancelAction":`取消下載`,"cid.retryAction":`重新檢測`,"cid.openAppAction":`開啟檔案列表`,"cid.toast.downloadStarted":`下載已開始`,"cid.toast.downloadComplete":`下載完成`,"cid.toast.downloadFailed":`下載失敗:{error}`,"cid.toast.cancelled":`下載已取消`,"cid.toast.alreadyLocal":`本機已有該檔案`},cc={"cid.meta.title":`CID download check - MostBox`,"cid.meta.desc":`Check whether a MostBox CID has online seeders, then start the download after confirming it.`,"cid.kicker":`MostBox CID`,"cid.title":`Check shared file`,"cid.subtitle":`MostBox checks whether this CID can be downloaded from online seeders first. Once it is available, you can start the download manually.`,"cid.handoff.title":`Open with the MostBox client`,"cid.handoff.desc":`If the client is installed, your browser will hand this most:// share to the system so MostBox can take over checking and downloading.`,"cid.handoff.action":`Open in MostBox`,"cid.handoff.fallback":`If the browser did not ask for confirmation or MostBox did not open, the client may not be installed or the system protocol may not be registered. You can still connect a local node on this page to check and download.`,"cid.handoff.downloadAction":`Download client`,"cid.fileNameLabel":`File name`,"cid.cidLabel":`CID`,"cid.sizeLabel":`Size`,"cid.saveToLabel":`Save to`,"cid.saveToFallback":`MostBox data directory/downloads`,"cid.unknownSize":`Shown after checking`,"cid.label.idle":`Ready to check`,"cid.label.checking":`Checking`,"cid.label.available":`Ready to download`,"cid.label.alreadyLocal":`Already local`,"cid.label.loginRequired":`Login required`,"cid.label.backendMissing":`Node disconnected`,"cid.label.waitingBackend":`Waiting for node`,"cid.label.error":`Check failed`,"cid.status.waitingBackend":`Waiting for the local node status.`,"cid.status.backendMissing":`No MostBox local node is connected.`,"cid.status.loginRequired":`Sign in with a local identity before checking this CID.`,"cid.status.checking":`Looking for online seeders and checking that the download directory is writable.`,"cid.status.available":`{fileName} is available to download.`,"cid.status.alreadyLocal":`{fileName} is already on this device and can keep seeding.`,"cid.status.startingDownload":`Creating the download task.`,"cid.status.downloading":`Downloading and verifying the file.`,"cid.status.downloadingFile":`Downloading {fileName}.`,"cid.status.downloadComplete":`{fileName} downloaded and is seeding by default.`,"cid.status.downloadFailed":`Download failed: {error}`,"cid.status.cancelled":`Download cancelled.`,"cid.errorFallback":`Unknown error`,"cid.loginAction":`Sign in`,"cid.connectAction":`Connect node`,"cid.startAction":`Start download`,"cid.downloadingAction":`Downloading`,"cid.cancelAction":`Cancel download`,"cid.retryAction":`Check again`,"cid.openAppAction":`Open file list`,"cid.toast.downloadStarted":`Download started`,"cid.toast.downloadComplete":`Download complete`,"cid.toast.downloadFailed":`Download failed: {error}`,"cid.toast.cancelled":`Download cancelled`,"cid.toast.alreadyLocal":`This file is already local`},lc={"ping.meta.title":`MostBox - 网络连通性`,"ping.meta.desc":`测试到全球主流网站的网络连通性和延迟`,"ping.title":`网络连通性`,"ping.subtitle":`通过向对应网站发送请求进行测试,延迟值仅供参考。`,"ping.retryAll":`重新测试全部`,"ping.retryOne":`重新测试 {name}`,"ping.retry":`重新测试`,"ping.available":`可用`,"ping.unavailable":`不可用`,"ping.timeout":`超时`},uc={"ping.meta.title":`MostBox - 網路連通性`,"ping.meta.desc":`測試到全球主流網站的網路連通性和延遲`,"ping.title":`網路連通性`,"ping.subtitle":`通過向對應網站傳送請求進行測試,延遲值僅供參考。`,"ping.retryAll":`重新測試全部`,"ping.retryOne":`重新測試 {name}`,"ping.retry":`重新測試`,"ping.available":`可用`,"ping.unavailable":`不可用`,"ping.timeout":`超時`},dc={"ping.meta.title":`MostBox - Network connectivity`,"ping.meta.desc":`Test connectivity and latency to major global websites`,"ping.title":`Network connectivity`,"ping.subtitle":`Tests send requests to the corresponding websites. Latency is for reference only.`,"ping.retryAll":`Retest all`,"ping.retryOne":`Retest {name}`,"ping.retry":`Retest`,"ping.available":`Available`,"ping.unavailable":`Unavailable`,"ping.timeout":`Timeout`},fc={"portal.meta.description":`MostBox 是用户之间直连的聊天优先 P2P 工具箱:从聊天开始,传文件、整理知识库。`,"portal.hero.subtitle":`用户之间直接连接的 P2P 工具箱。从聊天开始,直连传文件,整理知识库。`,"portal.nodeEntry":`节点入口`,"portal.webConnectNode":`Web 连接节点`,"portal.nodeAdmin":`节点管理`,"portal.enterFeature":`进入 {title}`,"portal.openFeature":`打开{title}`,"portal.feature.app.title":`文件`,"portal.feature.app.subtitle":`聊天附件和传输管理`,"portal.feature.app.hero":`文件作为聊天附件`,"portal.feature.app.desc":`在聊天里直接发送文件,底层仍使用 most:// 链接、CID 校验和下载后做种。MostBox 不是云盘;可用性来自当前在线种子。`,"portal.feature.app.bullet.localIdentity":`无需云端账号,使用本地身份隔离数据`,"portal.feature.app.bullet.hyperswarm":`用户之间直接连接传输文件`,"portal.feature.app.bullet.largeFiles":`GB 级大文件流式处理`,"portal.feature.app.bullet.cid":`相同文件 = 相同 CID,链接可反复校验`,"portal.feature.app.bullet.seedAfterDownload":`下载完成后默认继续做种`,"portal.feature.app.bullet.noCloud":`不依赖中心化账号或云端托管,也不承诺永久保存`,"portal.feature.app.bullet.desktop":`Web 端只连接已有节点,桌面端提供完整 P2P 能力`,"portal.feature.app.bullet.openSource":`MIT 开源,自托管,数据完全自主掌控`,"portal.feature.app.step.download.title":`下载客户端`,"portal.feature.app.step.download.desc":`支持 Windows、macOS 和 Linux,桌面端提供完整的 P2P 能力。`,"portal.feature.app.step.download.link":`前往下载页`,"portal.feature.app.step.install.title":`安装并运行`,"portal.feature.app.step.install.desc":`安装后打开应用,无需单独安装 Node.js。`,"portal.feature.app.step.share.title":`在聊天里分享`,"portal.feature.app.step.share.desc":`发送文件附件生成 most:// 链接,朋友下载校验通过后也会成为新的种子。`,"portal.feature.chat.title":`聊天`,"portal.feature.chat.subtitle":`用户之间直接连接`,"portal.feature.chat.hero":`从聊天开始`,"portal.feature.chat.desc":`创建聊天或房间,把房间 ID 发给朋友;消息、文件和知识库整理都从这里开始。`,"portal.feature.chat.bullet.encrypted":`私域聊天和房间消息`,"portal.feature.chat.bullet.identity":`本地登录身份保护消息署名`,"portal.feature.chat.bullet.sync":`消息通过 P2P Channel 同步`,"portal.feature.chat.bullet.offline":`文件和知识库自然接入聊天流程`,"portal.feature.chat.bullet.noAccount":`无需中心化账号注册`,"portal.feature.chat.step.download.title":`下载客户端`,"portal.feature.chat.step.download.desc":`支持 Windows、macOS 和 Linux。`,"portal.feature.chat.step.download.link":`前往下载页`,"portal.feature.chat.step.create.title":`创建聊天`,"portal.feature.chat.step.create.desc":`输入房间名即可加入或创建,并把房间 ID 发给朋友。`,"portal.feature.chat.step.send.title":`开始聊天`,"portal.feature.chat.step.send.desc":`先发消息,再发送附件或保存到知识库。`,"portal.feature.note.title":`知识库`,"portal.feature.note.subtitle":`Markdown 知识库`,"portal.feature.note.hero":`把聊天整理成知识库`,"portal.feature.note.desc":`把聊天里的重要内容、想法和附件线索整理成 Markdown 知识库;现有笔记库能力保留,可从聊天消息直接保存草稿。`,"portal.feature.note.bullet.markdown":`Markdown 块编辑器`,"portal.feature.note.bullet.privacy":`公开 / 私密笔记切换`,"portal.feature.note.bullet.folders":`文件夹、搜索和移动`,"portal.feature.note.bullet.web3":`本地身份用于数据隔离`,"portal.feature.note.bullet.backup":`按需备份与恢复`,"portal.feature.note.bullet.independent":`知识库不是云盘,也不承诺永久同步`,"portal.feature.note.step.account.title":`生成 Web3 账号`,"portal.feature.note.step.account.desc":`用用户名和密码派生本地密钥。`,"portal.feature.note.step.create.title":`创建笔记`,"portal.feature.note.step.create.desc":`写 Markdown,按需切换为私密内容。`,"portal.feature.note.step.backup.title":`备份恢复`,"portal.feature.note.step.backup.desc":`登录后可把加密笔记同步到云端。`,"portal.feature.game.title":`游戏`,"portal.feature.game.subtitle":`独立房间游戏`,"portal.feature.game.hero":`打开独立游戏房间`,"portal.feature.game.desc":`游戏保留独立入口,继续复用 Channel 系统和 game.* 事件,不新增独立后端协议。`,"portal.feature.game.bullet.account":`使用 MostBox 本地账号进入房间`,"portal.feature.game.bullet.channel":`复用 /chat/ 的频道后端,不新增游戏后端接口`,"portal.feature.game.bullet.link":`房间链接可手动分享给朋友`,"portal.feature.game.bullet.rules":`支持 1-2 副牌、2-6 人和人机陪测`,"portal.feature.game.bullet.maintain":`游戏规则、频道事件和页面样式拆分维护`,"portal.feature.game.step.login.title":`登录账号`,"portal.feature.game.step.login.desc":`使用现有 MostBox Web3 本地账号作为牌桌身份。`,"portal.feature.game.step.create.title":`创建房间`,"portal.feature.game.step.create.desc":`创建房间后复制链接,发给朋友加入。`,"portal.feature.game.step.test.title":`开始调试`,"portal.feature.game.step.test.desc":`可先用人机补位测试出牌、计分和房间同步。`,"portal.feature.web3.title":`Web3`,"portal.feature.web3.subtitle":`独立账户工具箱`,"portal.feature.web3.hero":`确定性密钥派生工具箱`,"portal.feature.web3.desc":`纯前端运行的 Web3 账户工具。输入用户名和密码,即可生成 Ed25519 / x25519 密钥对、助记词、以太坊地址,支持 PEM 导出和地址派生。`,"portal.feature.web3.bullet.frontend":`纯前端运行,无需后端`,"portal.feature.web3.bullet.keys":`Ed25519 / x25519 密钥对生成`,"portal.feature.web3.bullet.mnemonic":`BIP-39 助记词派生`,"portal.feature.web3.bullet.eth":`以太坊地址与私钥导出`,"portal.feature.web3.bullet.pem":`PEM 格式密钥导出`,"portal.feature.web3.bullet.qr":`二维码展示地址与助记词`,"portal.feature.web3.step.username.title":`输入用户名`,"portal.feature.web3.step.username.desc":`用户名 + 密码(可选)作为种子。`,"portal.feature.web3.step.keys.title":`查看密钥`,"portal.feature.web3.step.keys.desc":`即时生成 Ed25519、x25519 公钥与 IPNS ID。`,"portal.feature.web3.step.export.title":`导出使用`,"portal.feature.web3.step.export.desc":`复制地址、导出 PEM、派生子地址。`},pc={"portal.meta.description":`MostBox 是使用者之間直接連線的聊天優先 P2P 工具箱:從聊天開始,傳檔案、整理知識庫。`,"portal.hero.subtitle":`使用者之間直接連線的 P2P 工具箱。從聊天開始,直連傳檔案,整理知識庫。`,"portal.nodeEntry":`節點入口`,"portal.webConnectNode":`Web 連線節點`,"portal.nodeAdmin":`節點管理`,"portal.enterFeature":`進入 {title}`,"portal.openFeature":`開啟{title}`,"portal.feature.app.title":`檔案`,"portal.feature.app.subtitle":`聊天附件和傳輸管理`,"portal.feature.app.hero":`檔案作為聊天附件`,"portal.feature.app.desc":`在聊天裡直接傳送檔案,底層仍使用 most:// 連結、CID 校驗和下載後做種。MostBox 不是雲盤;可用性來自當前線上種子。`,"portal.feature.app.bullet.localIdentity":`無需雲端帳號,使用本機身份隔離資料`,"portal.feature.app.bullet.hyperswarm":`使用者之間直接連線傳輸檔案`,"portal.feature.app.bullet.largeFiles":`GB 級大檔案流式處理`,"portal.feature.app.bullet.cid":`相同檔案 = 相同 CID,連結可反覆校驗`,"portal.feature.app.bullet.seedAfterDownload":`下載完成後預設繼續做種`,"portal.feature.app.bullet.noCloud":`不依賴中心化帳號或雲端託管,也不承諾永久保存`,"portal.feature.app.bullet.desktop":`Web 端只連線已有節點,桌面端提供完整 P2P 能力`,"portal.feature.app.bullet.openSource":`MIT 開源,自託管,資料完全自主掌控`,"portal.feature.app.step.download.title":`下載用戶端`,"portal.feature.app.step.download.desc":`支援 Windows、macOS 和 Linux,桌面端提供完整的 P2P 能力。`,"portal.feature.app.step.download.link":`前往下載頁`,"portal.feature.app.step.install.title":`安裝並執行`,"portal.feature.app.step.install.desc":`安裝後開啟應用,無需單獨安裝 Node.js。`,"portal.feature.app.step.share.title":`在聊天裡分享`,"portal.feature.app.step.share.desc":`傳送檔案附件生成 most:// 連結,朋友下載校驗通過後也會成為新的種子。`,"portal.feature.chat.title":`聊天`,"portal.feature.chat.subtitle":`使用者之間直接連線`,"portal.feature.chat.hero":`從聊天開始`,"portal.feature.chat.desc":`建立聊天或房間,把房間 ID 發給朋友;訊息、檔案和知識庫整理都從這裡開始。`,"portal.feature.chat.bullet.encrypted":`私域聊天和房間訊息`,"portal.feature.chat.bullet.identity":`本機登入身份保護訊息署名`,"portal.feature.chat.bullet.sync":`訊息通過 P2P Channel 同步`,"portal.feature.chat.bullet.offline":`檔案和知識庫自然接入聊天流程`,"portal.feature.chat.bullet.noAccount":`無需中心化帳號註冊`,"portal.feature.chat.step.download.title":`下載用戶端`,"portal.feature.chat.step.download.desc":`支援 Windows、macOS 和 Linux。`,"portal.feature.chat.step.download.link":`前往下載頁`,"portal.feature.chat.step.create.title":`建立聊天`,"portal.feature.chat.step.create.desc":`輸入房間名即可加入或建立,並把房間 ID 發給朋友。`,"portal.feature.chat.step.send.title":`開始聊天`,"portal.feature.chat.step.send.desc":`先傳送訊息,再傳送附件或保存到知識庫。`,"portal.feature.note.title":`知識庫`,"portal.feature.note.subtitle":`Markdown 知識庫`,"portal.feature.note.hero":`把聊天整理成知識庫`,"portal.feature.note.desc":`把聊天裡的重要內容、想法和附件線索整理成 Markdown 知識庫;現有筆記庫能力保留,可從聊天訊息直接儲存草稿。`,"portal.feature.note.bullet.markdown":`Markdown 塊編輯器`,"portal.feature.note.bullet.privacy":`公開 / 私密筆記切換`,"portal.feature.note.bullet.folders":`資料夾、搜尋和移動`,"portal.feature.note.bullet.web3":`本機身份用於資料隔離`,"portal.feature.note.bullet.backup":`按需備份與恢復`,"portal.feature.note.bullet.independent":`知識庫不是雲盤,也不承諾永久同步`,"portal.feature.note.step.account.title":`生成 Web3 帳號`,"portal.feature.note.step.account.desc":`用使用者名稱和密碼派生本機金鑰。`,"portal.feature.note.step.create.title":`建立筆記`,"portal.feature.note.step.create.desc":`寫 Markdown,按需切換為私密內容。`,"portal.feature.note.step.backup.title":`備份恢復`,"portal.feature.note.step.backup.desc":`登入後可把加密筆記同步到雲端。`,"portal.feature.game.title":`遊戲`,"portal.feature.game.subtitle":`獨立房間遊戲`,"portal.feature.game.hero":`開啟獨立遊戲房間`,"portal.feature.game.desc":`遊戲保留獨立入口,繼續複用 Channel 系統和 game.* 事件,不新增獨立後端協議。`,"portal.feature.game.bullet.account":`使用 MostBox 本機帳號進入房間`,"portal.feature.game.bullet.channel":`複用 /chat/ 的頻道後端,不新增遊戲後端介面`,"portal.feature.game.bullet.link":`房間連結可手動分享給朋友`,"portal.feature.game.bullet.rules":`支援 1-2 副牌、2-6 人和人機陪測`,"portal.feature.game.bullet.maintain":`遊戲規則、頻道事件和頁面樣式拆分維護`,"portal.feature.game.step.login.title":`登入帳號`,"portal.feature.game.step.login.desc":`使用現有 MostBox Web3 本機帳號作為牌桌身份。`,"portal.feature.game.step.create.title":`建立房間`,"portal.feature.game.step.create.desc":`建立房間後複製連結,發給朋友加入。`,"portal.feature.game.step.test.title":`開始除錯`,"portal.feature.game.step.test.desc":`可先用人機補位測試出牌、計分和房間同步。`,"portal.feature.web3.title":`Web3`,"portal.feature.web3.subtitle":`獨立帳戶工具箱`,"portal.feature.web3.hero":`確定性金鑰派生工具箱`,"portal.feature.web3.desc":`純前端執行的 Web3 帳戶工具。輸入使用者名稱和密碼,即可生成 Ed25519 / x25519 金鑰對、助記詞、以太坊地址,支援 PEM 匯出和地址派生。`,"portal.feature.web3.bullet.frontend":`純前端執行,無需後端`,"portal.feature.web3.bullet.keys":`Ed25519 / x25519 金鑰對生成`,"portal.feature.web3.bullet.mnemonic":`BIP-39 助記詞派生`,"portal.feature.web3.bullet.eth":`以太坊地址與私鑰匯出`,"portal.feature.web3.bullet.pem":`PEM 格式金鑰匯出`,"portal.feature.web3.bullet.qr":`二維碼展示地址與助記詞`,"portal.feature.web3.step.username.title":`輸入使用者名稱`,"portal.feature.web3.step.username.desc":`使用者名稱 + 密碼(可選)作為種子。`,"portal.feature.web3.step.keys.title":`檢視金鑰`,"portal.feature.web3.step.keys.desc":`即時生成 Ed25519、x25519 公鑰與 IPNS ID。`,"portal.feature.web3.step.export.title":`匯出使用`,"portal.feature.web3.step.export.desc":`複製地址、匯出 PEM、派生子地址。`},mc={"portal.meta.description":`MostBox is a chat-first P2P toolbox for direct user-to-user connection: start with chat, send files, and grow a knowledge base.`,"portal.hero.subtitle":`A P2P toolbox for direct user-to-user connection. Start with chat, send files directly, and grow a knowledge base.`,"portal.nodeEntry":`Node entry`,"portal.webConnectNode":`Connect Web node`,"portal.nodeAdmin":`Node admin`,"portal.enterFeature":`Open {title}`,"portal.openFeature":`Open {title}`,"portal.feature.app.title":`Files`,"portal.feature.app.subtitle":`Chat attachments and transfer management`,"portal.feature.app.hero":`Files as chat attachments`,"portal.feature.app.desc":`Send files directly in chat while the protocol still uses most:// links, CID verification, and seeding after download. MostBox is not cloud storage; availability comes from online seeders.`,"portal.feature.app.bullet.localIdentity":`No cloud account required; local identity keeps data separated`,"portal.feature.app.bullet.hyperswarm":`Direct user-to-user file transfer`,"portal.feature.app.bullet.largeFiles":`Streaming support for GB-scale files`,"portal.feature.app.bullet.cid":`Same file means same CID, and links can be verified repeatedly`,"portal.feature.app.bullet.seedAfterDownload":`Downloads keep seeding by default after completion`,"portal.feature.app.bullet.noCloud":`No centralized account or hosted storage dependency, and no promise of permanent storage`,"portal.feature.app.bullet.desktop":`The Web app connects to existing nodes; the desktop app provides full P2P capability`,"portal.feature.app.bullet.openSource":`MIT open source, self-hostable, and fully under your control`,"portal.feature.app.step.download.title":`Download client`,"portal.feature.app.step.download.desc":`Supports Windows, macOS, and Linux. The desktop app provides full P2P capability.`,"portal.feature.app.step.download.link":`Go to downloads`,"portal.feature.app.step.install.title":`Install and run`,"portal.feature.app.step.install.desc":`Open the app after installation. No separate Node.js install is required.`,"portal.feature.app.step.share.title":`Share in chat`,"portal.feature.app.step.share.desc":`Send a file attachment to create a most:// link. Friends who complete and verify the download become new seeders.`,"portal.feature.chat.title":`Chat`,"portal.feature.chat.subtitle":`Direct user-to-user connection`,"portal.feature.chat.hero":`Start with chat`,"portal.feature.chat.desc":`Create a chat or room and share the room ID with friends; messages, files, and knowledge all start in one flow.`,"portal.feature.chat.bullet.encrypted":`Private chat and room messages`,"portal.feature.chat.bullet.identity":`Local login identity protects message signatures`,"portal.feature.chat.bullet.sync":`Messages sync through P2P Channels`,"portal.feature.chat.bullet.offline":`Files and the knowledge base fit naturally into chat`,"portal.feature.chat.bullet.noAccount":`No centralized account registration required`,"portal.feature.chat.step.download.title":`Download client`,"portal.feature.chat.step.download.desc":`Supports Windows, macOS, and Linux.`,"portal.feature.chat.step.download.link":`Go to downloads`,"portal.feature.chat.step.create.title":`Create chat`,"portal.feature.chat.step.create.desc":`Enter a room name to join or create it, then send the room ID to friends.`,"portal.feature.chat.step.send.title":`Start chatting`,"portal.feature.chat.step.send.desc":`Send messages first, then attach files or save to the knowledge base.`,"portal.feature.note.title":`Knowledge Base`,"portal.feature.note.subtitle":`Markdown knowledge base`,"portal.feature.note.hero":`Turn chat into a knowledge base`,"portal.feature.note.desc":`Collect important chat content, ideas, and attachment context into a Markdown knowledge base. The existing note vault stays available, and chat messages can be saved as drafts.`,"portal.feature.note.bullet.markdown":`Markdown block editor`,"portal.feature.note.bullet.privacy":`Public/private note switching`,"portal.feature.note.bullet.folders":`Folders, search, and move`,"portal.feature.note.bullet.web3":`Local identity keeps data separated`,"portal.feature.note.bullet.backup":`Backup and restore when needed`,"portal.feature.note.bullet.independent":`The knowledge base is not cloud storage and does not promise permanent sync`,"portal.feature.note.step.account.title":`Generate Web3 account`,"portal.feature.note.step.account.desc":`Derive local keys from a username and password.`,"portal.feature.note.step.create.title":`Create note`,"portal.feature.note.step.create.desc":`Write Markdown and switch content to private when needed.`,"portal.feature.note.step.backup.title":`Backup and restore`,"portal.feature.note.step.backup.desc":`After login, encrypted notes can sync to the cloud.`,"portal.feature.game.title":`Games`,"portal.feature.game.subtitle":`Standalone room games`,"portal.feature.game.hero":`Open a standalone game room`,"portal.feature.game.desc":`Games keep their standalone entry point and continue using the Channel system and game.* events without adding a game-only backend protocol.`,"portal.feature.game.bullet.account":`Enter rooms with your local MostBox account`,"portal.feature.game.bullet.channel":`Reuses the /chat/ channel backend without adding game-only APIs`,"portal.feature.game.bullet.link":`Room links can be shared manually with friends`,"portal.feature.game.bullet.rules":`Supports 1-2 decks, 2-6 players, and bot testing`,"portal.feature.game.bullet.maintain":`Game rules, channel events, and page styles are maintained separately`,"portal.feature.game.step.login.title":`Sign in`,"portal.feature.game.step.login.desc":`Use your existing local MostBox Web3 account as the table identity.`,"portal.feature.game.step.create.title":`Create room`,"portal.feature.game.step.create.desc":`Create a room, copy the link, and send it to friends.`,"portal.feature.game.step.test.title":`Start testing`,"portal.feature.game.step.test.desc":`Use bot seats to test plays, scoring, and room sync first.`,"portal.feature.web3.title":`Web3`,"portal.feature.web3.subtitle":`Independent account toolbox`,"portal.feature.web3.hero":`Deterministic key derivation toolbox`,"portal.feature.web3.desc":`A front-end only Web3 account tool. Enter a username and password to generate Ed25519/x25519 key pairs, a mnemonic, an Ethereum address, PEM exports, and derived addresses.`,"portal.feature.web3.bullet.frontend":`Runs fully in the browser, no backend`,"portal.feature.web3.bullet.keys":`Ed25519 / x25519 key pair generation`,"portal.feature.web3.bullet.mnemonic":`BIP-39 mnemonic derivation`,"portal.feature.web3.bullet.eth":`Ethereum address and private key export`,"portal.feature.web3.bullet.pem":`PEM key export`,"portal.feature.web3.bullet.qr":`QR codes for addresses and mnemonics`,"portal.feature.web3.step.username.title":`Enter username`,"portal.feature.web3.step.username.desc":`Use username plus optional password as the seed.`,"portal.feature.web3.step.keys.title":`View keys`,"portal.feature.web3.step.keys.desc":`Instantly generate Ed25519 and x25519 public keys plus an IPNS ID.`,"portal.feature.web3.step.export.title":`Export and use`,"portal.feature.web3.step.export.desc":`Copy addresses, export PEM, and derive child addresses.`},hc={"remote.title.edit":`当前远程节点`,"remote.title.connect":`连接远程节点`,"remote.hint":`Web 端只连接已有 MostBox 节点。输入别人部署好的节点地址和邀请码后,可通过该节点使用文件分享和聊天;本机完整 P2P 能力请使用桌面客户端。`,"remote.invite.placeholder":`邀请码`,"remote.connecting":`连接中...`,"remote.updateConnection":`更新连接`,"remote.connectNode":`连接节点`,"remote.disconnect":`断开连接`,"remote.history.title":`历史节点`,"remote.history.current":`当前`,"remote.history.switchTo":`切换到 {url}`,"remote.error.invalidUrl":`请输入有效的 http(s) 节点地址`,"remote.error.http":`远程节点 HTTP 不可达,请检查地址`,"remote.error.ws":`远程节点 WebSocket 不可达,请检查地址或代理配置`,"remote.error.failed":`远程节点连接失败,请检查地址和邀请码`,"remote.connected":`远程节点已连接`,"remote.connectFailed":`远程节点连接失败`,"remote.cleared":`已清除远程节点,优先使用本地节点`,"connectModal.title":`连接节点`,"account.signIn":`登录`,"account.logout":`退出`,"account.logoutTitle":`退出登录`},gc={"remote.title.edit":`當前遠端節點`,"remote.title.connect":`連線遠端節點`,"remote.hint":`Web 端只連線已有 MostBox 節點。輸入別人部署好的節點地址和邀請碼後,可通過該節點使用檔案分享和聊天;本機完整 P2P 能力請使用桌面用戶端。`,"remote.invite.placeholder":`邀請碼`,"remote.connecting":`連線中...`,"remote.updateConnection":`更新連線`,"remote.connectNode":`連線節點`,"remote.disconnect":`斷開連線`,"remote.history.title":`歷史節點`,"remote.history.current":`當前`,"remote.history.switchTo":`切換到 {url}`,"remote.error.invalidUrl":`請輸入有效的 http(s) 節點地址`,"remote.error.http":`遠端節點 HTTP 不可達,請檢查地址`,"remote.error.ws":`遠端節點 WebSocket 不可達,請檢查地址或代理設定`,"remote.error.failed":`遠端節點連線失敗,請檢查地址和邀請碼`,"remote.connected":`遠端節點已連線`,"remote.connectFailed":`遠端節點連線失敗`,"remote.cleared":`已清除遠端節點,優先使用本機節點`,"connectModal.title":`連線節點`,"account.signIn":`登入`,"account.logout":`退出`,"account.logoutTitle":`登出`},_c={"remote.title.edit":`Current remote node`,"remote.title.connect":`Connect remote node`,"remote.hint":`The Web app only connects to an existing MostBox node. Enter a deployed node URL and invite code to use file sharing and chat through that node; use the desktop client for full local P2P capability.`,"remote.invite.placeholder":`Invite code`,"remote.connecting":`Connecting...`,"remote.updateConnection":`Update connection`,"remote.connectNode":`Connect node`,"remote.disconnect":`Disconnect`,"remote.history.title":`Node history`,"remote.history.current":`Current`,"remote.history.switchTo":`Switch to {url}`,"remote.error.invalidUrl":`Please enter a valid http(s) node URL`,"remote.error.http":`The remote node HTTP endpoint is unreachable`,"remote.error.ws":`The remote node WebSocket endpoint is unreachable. Check the URL or proxy.`,"remote.error.failed":`Remote node connection failed. Check the URL and invite code.`,"remote.connected":`Remote node connected`,"remote.connectFailed":`Remote node connection failed`,"remote.cleared":`Remote node cleared; local node will be preferred`,"connectModal.title":`Connect node`,"account.signIn":`Sign in`,"account.logout":`Sign out`,"account.logoutTitle":`Sign out`},vc={"chat.unread":`有新消息`,"chat.channelActions":`聊天操作`,"chat.pin":`置顶`,"chat.unpin":`取消置顶`,"chat.rename":`重命名`,"chat.delete":`删除`,"chat.noMembers":`暂无成员`,"chat.attachmentType":`附件类型`,"chat.attachment.add":`添加附件`,"chat.attachment.image":`图片`,"chat.attachment.video":`视频`,"chat.attachment.file":`文件`,"chat.sendMessage":`发送消息`,"chat.sending":`发送中...`,"chat.checking":`检测中`,"chat.mostboxFile":`文件`,"chat.attachment.downloadStarted":`开始下载附件`,"chat.attachment.downloadCompleted":`{fileName} 下载完成`,"chat.attachment.downloadCancelled":`附件下载已取消`,"chat.attachment.downloadFailed":`附件下载失败`,"chat.attachment.localAvailable":`本机已有`,"chat.attachment.previewAvailable":`可预览`,"chat.attachment.downloadAvailable":`可下载`,"chat.attachment.downloading":`下载中`,"chat.attachment.download":`下载`,"chat.attachment.preview":`预览`,"chat.attachment.retry":`重试`,"chat.attachment.noSeedsTitle":`暂时没有在线种子`,"chat.attachment.noSeedsFallback":`暂时没有发现在线种子。请确认分享者或其他下载者仍在线做种。`,"chat.attachment.retryCheck":`再次检测`,"chat.noteDraft.settingsTitle":`知识库`,"chat.noteDraft.historyTitle":`{room} 聊天记录 {time}`,"chat.noteDraft.heading":`聊天记录`,"chat.noteDraft.room":`聊天`,"chat.noteDraft.exportedAt":`保存时间`,"chat.noteDraft.messageCount":`消息数`,"chat.noteDraft.message":`消息`,"chat.noteDraft.attachment":`附件`,"chat.noteDraft.file":`文件`,"chat.noteDraft.saveAll":`保存聊天记录到知识库`,"chat.noteDraft.saveAllDesc":`将当前聊天里的消息、时间和附件链接整理成 Markdown 草稿。`,"chat.noteDraft.empty":`当前聊天还没有可保存的消息`,"chat.noteDraft.saveFailed":`无法保存到知识库`,"chat.channel.createdAt":`创建时间`,"chat.ticket.create":`创建工单`,"chat.title":`聊天`,"chat.search.placeholder":`搜索聊天或房间`,"chat.empty.noChannels":`暂无聊天`,"chat.empty.noMatches":`未找到聊天`,"chat.joinChannel":`新建或加入聊天`,"chat.channelSettings":`聊天设置`,"chat.empty.noMessages":`暂无消息,开始聊天吧!`,"chat.composer.placeholder":`输入消息...`,"chat.composer.signInPlaceholder":`请先登录后发言`,"chat.restoring.title":`正在打开聊天`,"chat.restoring.desc":`正在恢复聊天内容...`,"chat.select.title":`选择聊天`,"chat.select.desc":`从左侧边栏选择一个聊天或房间,或创建一个新的聊天`,"chat.openChannelList":`打开聊天列表`,"chat.join.placeholder":`房间 ID:3-30 位字母、数字、_ 或 -`,"chat.join.confirm":`加入`,"chat.join.joining":`加入中...`,"chat.renameChannel":`设置聊天备注`,"chat.remark.placeholder":`输入聊天备注`,"chat.remark.save":`保存`,"chat.remark.saving":`保存中...`,"chat.remark.tooLong":`备注名称最多 50 个字符`,"chat.leaveChannel":`退出聊天`,"chat.leaveConfirm":`确定要退出聊天 "{channel}" 吗?`,"chat.leaving":`退出中...`,"chat.details.title":`设置`,"chat.details.members":`成员 ({count})`,"chat.details.showAddressSuffix":`显示 #地址后四位`,"chat.details.channelId":`房间 ID`,"chat.attachment.published":`{fileName} 已发布`,"chat.error.messages":`无法读取聊天消息`,"chat.error.nodeId":`无法读取节点 ID`,"chat.error.channelList":`无法读取聊天列表`,"chat.error.leave":`退出聊天失败`,"chat.error.pin":`置顶失败`,"chat.error.unpin":`取消置顶失败`,"chat.error.join":`加入聊天失败`,"chat.error.send":`发送失败`,"chat.error.attachmentSend":`附件发送失败`,"chat.error.remark":`设置备注失败`,"chat.error.rename":`重命名失败`,"chat.validation.nameMin":`房间名至少 {count} 个字符`,"chat.validation.nameMax":`房间名最多 {count} 个字符`,"chat.validation.dotReserved":`点号为系统保留,不能用于手动房间 ID`,"chat.validation.allowedChars":`房间名只能包含字母、数字、下划线和连字符`},yc={"chat.unread":`有新訊息`,"chat.channelActions":`聊天操作`,"chat.pin":`置頂`,"chat.unpin":`取消置頂`,"chat.rename":`重新命名`,"chat.delete":`刪除`,"chat.noMembers":`暫無成員`,"chat.attachmentType":`附件型別`,"chat.attachment.add":`新增附件`,"chat.attachment.image":`圖片`,"chat.attachment.video":`影片`,"chat.attachment.file":`檔案`,"chat.sendMessage":`傳送訊息`,"chat.sending":`傳送中...`,"chat.checking":`檢測中`,"chat.mostboxFile":`檔案`,"chat.attachment.downloadStarted":`開始下載附件`,"chat.attachment.downloadCompleted":`{fileName} 下載完成`,"chat.attachment.downloadCancelled":`附件下載已取消`,"chat.attachment.downloadFailed":`附件下載失敗`,"chat.attachment.localAvailable":`本機已有`,"chat.attachment.previewAvailable":`可預覽`,"chat.attachment.downloadAvailable":`可下載`,"chat.attachment.downloading":`下載中`,"chat.attachment.download":`下載`,"chat.attachment.preview":`預覽`,"chat.attachment.retry":`重試`,"chat.attachment.noSeedsTitle":`暫時沒有線上種子`,"chat.attachment.noSeedsFallback":`暫時沒有發現線上種子。請確認分享者或其他下載者仍線上做種。`,"chat.attachment.retryCheck":`再次檢測`,"chat.noteDraft.settingsTitle":`知識庫`,"chat.noteDraft.historyTitle":`{room} 聊天記錄 {time}`,"chat.noteDraft.heading":`聊天記錄`,"chat.noteDraft.room":`聊天`,"chat.noteDraft.exportedAt":`儲存時間`,"chat.noteDraft.messageCount":`訊息數`,"chat.noteDraft.message":`訊息`,"chat.noteDraft.attachment":`附件`,"chat.noteDraft.file":`檔案`,"chat.noteDraft.saveAll":`儲存聊天記錄到知識庫`,"chat.noteDraft.saveAllDesc":`將目前聊天裡的訊息、時間和附件連結整理成 Markdown 草稿。`,"chat.noteDraft.empty":`目前聊天還沒有可儲存的訊息`,"chat.noteDraft.saveFailed":`無法儲存到知識庫`,"chat.channel.createdAt":`建立時間`,"chat.ticket.create":`建立工單`,"chat.title":`聊天`,"chat.search.placeholder":`搜尋聊天或房間`,"chat.empty.noChannels":`暫無聊天`,"chat.empty.noMatches":`未找到聊天`,"chat.joinChannel":`新建或加入聊天`,"chat.channelSettings":`聊天設定`,"chat.empty.noMessages":`暫無訊息,開始聊天吧!`,"chat.composer.placeholder":`輸入訊息...`,"chat.composer.signInPlaceholder":`請先登入後發言`,"chat.restoring.title":`正在開啟聊天`,"chat.restoring.desc":`正在恢復聊天內容...`,"chat.select.title":`選擇聊天`,"chat.select.desc":`從左側邊欄選擇一個聊天或房間,或建立一個新的聊天`,"chat.openChannelList":`開啟聊天列表`,"chat.join.placeholder":`房間 ID:3-30 位字母、數字、_ 或 -`,"chat.join.confirm":`加入`,"chat.join.joining":`加入中...`,"chat.renameChannel":`設定聊天備註`,"chat.remark.placeholder":`輸入聊天備註`,"chat.remark.save":`儲存`,"chat.remark.saving":`儲存中...`,"chat.remark.tooLong":`備註名稱最多 50 個字元`,"chat.leaveChannel":`退出聊天`,"chat.leaveConfirm":`確定要退出聊天 "{channel}" 嗎?`,"chat.leaving":`退出中...`,"chat.details.title":`設定`,"chat.details.members":`成員 ({count})`,"chat.details.showAddressSuffix":`顯示 #地址後四位`,"chat.details.channelId":`房間 ID`,"chat.attachment.published":`{fileName} 已發布`,"chat.error.messages":`無法讀取聊天訊息`,"chat.error.nodeId":`無法讀取節點 ID`,"chat.error.channelList":`無法讀取聊天列表`,"chat.error.leave":`退出聊天失敗`,"chat.error.pin":`置頂失敗`,"chat.error.unpin":`取消置頂失敗`,"chat.error.join":`加入聊天失敗`,"chat.error.send":`傳送失敗`,"chat.error.attachmentSend":`附件傳送失敗`,"chat.error.remark":`設定備註失敗`,"chat.error.rename":`重新命名失敗`,"chat.validation.nameMin":`房間名至少 {count} 個字元`,"chat.validation.nameMax":`房間名最多 {count} 個字元`,"chat.validation.dotReserved":`點號為系統保留,不能用於手動房間 ID`,"chat.validation.allowedChars":`房間名只能包含字母、數字、下劃線和連字元`},bc={"chat.unread":`New messages`,"chat.channelActions":`Chat actions`,"chat.pin":`Pin`,"chat.unpin":`Unpin`,"chat.rename":`Rename`,"chat.delete":`Delete`,"chat.noMembers":`No members yet`,"chat.attachmentType":`Attachment type`,"chat.attachment.add":`Add attachment`,"chat.attachment.image":`Image`,"chat.attachment.video":`Video`,"chat.attachment.file":`File`,"chat.sendMessage":`Send message`,"chat.sending":`Sending...`,"chat.checking":`Checking`,"chat.mostboxFile":`File`,"chat.attachment.downloadStarted":`Attachment download started`,"chat.attachment.downloadCompleted":`{fileName} downloaded`,"chat.attachment.downloadCancelled":`Attachment download cancelled`,"chat.attachment.downloadFailed":`Attachment download failed`,"chat.attachment.localAvailable":`Already on this device`,"chat.attachment.previewAvailable":`Ready to preview`,"chat.attachment.downloadAvailable":`Ready to download`,"chat.attachment.downloading":`Downloading`,"chat.attachment.download":`Download`,"chat.attachment.preview":`Preview`,"chat.attachment.retry":`Retry`,"chat.attachment.noSeedsTitle":`No online seeders right now`,"chat.attachment.noSeedsFallback":`No online seeders were found. Make sure the sharer or another downloader is still seeding.`,"chat.attachment.retryCheck":`Check again`,"chat.noteDraft.settingsTitle":`Knowledge base`,"chat.noteDraft.historyTitle":`{room} chat history {time}`,"chat.noteDraft.heading":`Chat note`,"chat.noteDraft.room":`Chat`,"chat.noteDraft.exportedAt":`Saved at`,"chat.noteDraft.messageCount":`Messages`,"chat.noteDraft.message":`Message`,"chat.noteDraft.attachment":`Attachment`,"chat.noteDraft.file":`File`,"chat.noteDraft.saveAll":`Save chat history to knowledge base`,"chat.noteDraft.saveAllDesc":`Turn the current chat messages, timestamps, and attachment links into an editable Markdown draft.`,"chat.noteDraft.empty":`This chat has no messages to save yet`,"chat.noteDraft.saveFailed":`Could not save to knowledge base`,"chat.channel.createdAt":`Created`,"chat.ticket.create":`Create ticket`,"chat.title":`Chat`,"chat.search.placeholder":`Search chats or rooms`,"chat.empty.noChannels":`No chats yet`,"chat.empty.noMatches":`No chats found`,"chat.joinChannel":`New or join chat`,"chat.channelSettings":`Chat settings`,"chat.empty.noMessages":`No messages yet. Start the conversation.`,"chat.composer.placeholder":`Type a message...`,"chat.composer.signInPlaceholder":`Sign in before sending messages`,"chat.restoring.title":`Opening chat`,"chat.restoring.desc":`Restoring chat content...`,"chat.select.title":`Select a chat`,"chat.select.desc":`Choose a chat or room from the sidebar, or create a new chat.`,"chat.openChannelList":`Open chat list`,"chat.join.placeholder":`Room ID: 3-30 letters, numbers, _ or -`,"chat.join.confirm":`Join`,"chat.join.joining":`Joining...`,"chat.renameChannel":`Set chat remark`,"chat.remark.placeholder":`Enter chat remark`,"chat.remark.save":`Save`,"chat.remark.saving":`Saving...`,"chat.remark.tooLong":`Remark name must be 50 characters or fewer`,"chat.leaveChannel":`Leave chat`,"chat.leaveConfirm":`Leave chat "{channel}"?`,"chat.leaving":`Leaving...`,"chat.details.title":`Settings`,"chat.details.members":`Members ({count})`,"chat.details.showAddressSuffix":`Show #address suffix`,"chat.details.channelId":`Room ID`,"chat.attachment.published":`{fileName} published`,"chat.error.messages":`Failed to read chat messages`,"chat.error.nodeId":`Failed to read node ID`,"chat.error.channelList":`Failed to read chat list`,"chat.error.leave":`Failed to leave chat`,"chat.error.pin":`Failed to pin chat`,"chat.error.unpin":`Failed to unpin chat`,"chat.error.join":`Failed to join chat`,"chat.error.send":`Failed to send message`,"chat.error.attachmentSend":`Failed to send attachment`,"chat.error.remark":`Failed to set remark`,"chat.error.rename":`Failed to rename chat`,"chat.validation.nameMin":`Room name must be at least {count} characters`,"chat.validation.nameMax":`Room name must be at most {count} characters`,"chat.validation.dotReserved":`Dots are reserved for the system and cannot be used in manual room IDs`,"chat.validation.allowedChars":`Room names can only contain letters, numbers, underscores, and hyphens`},xc={"chatJoin.status.checkingBackend":`正在检测后端连接...`,"chatJoin.status.connectingRemote":`正在连接远程节点...`,"chatJoin.status.signingIn":`正在登录邀请账号...`,"chatJoin.status.joiningChannel":`正在加入聊天...`,"chatJoin.status.openingChannel":`加入成功,正在打开聊天...`,"chatJoin.status.loadingFixture":`正在载入 {name} 预设邀请...`,"chatJoin.status.decryptingInvite":`正在解密邀请...`,"chatJoin.status.decrypting":`正在解密...`,"chatJoin.status.decryptSuccess":`解密成功`,"chatJoin.error.unknownFixture":`未知预设邀请:{fixture}`,"chatJoin.error.missingToken":`缺少 token 参数`,"chatJoin.error.missingPub":`缺少 pub 参数`,"chatJoin.error.remoteConnectFailed":`远程节点连接失败`,"chatJoin.error.noBackend":`未连接后端,邀请中也没有 node_url`,"chatJoin.error.decrypt":`解密失败`,"chatJoin.error.invalidInvite":`邀请内容缺少 uid 或 channels[].id`,"chatJoin.error.request":`请求出错: {message}`,"chatJoin.action.retry":`重试`,"chatJoin.demo.title":`聊天邀请 Demo`,"chatJoin.demo.parseSection":`解析现有链接`,"chatJoin.demo.inviteSection":`邀请内容`,"chatJoin.demo.cryptoSection":`加密参数`,"chatJoin.demo.outputSection":`生成结果`,"chatJoin.demo.field.existingLink":`现有邀请链接`,"chatJoin.demo.field.origin":`链接域名`,"chatJoin.demo.field.uid":`uid`,"chatJoin.demo.field.name":`昵称`,"chatJoin.demo.field.locale":`语言`,"chatJoin.demo.field.channelId":`频道 ID`,"chatJoin.demo.field.channelName":`频道备注`,"chatJoin.demo.field.nodeUrl":`node_url`,"chatJoin.demo.field.nodeInvite":`node_invite`,"chatJoin.demo.field.logo":`logo`,"chatJoin.demo.field.logoDark":`logo_dark`,"chatJoin.demo.field.avatar":`avatar`,"chatJoin.demo.field.sparkbitTheme":`theme = sparkbit`,"chatJoin.demo.field.data":`data`,"chatJoin.demo.field.recipientPublicKey":`接收方公钥`,"chatJoin.demo.field.senderUsername":`发送方用户名`,"chatJoin.demo.field.senderPassword":`发送方密码`,"chatJoin.demo.field.senderPublicKey":`pub`,"chatJoin.demo.field.payload":`payload JSON`,"chatJoin.demo.field.token":`token`,"chatJoin.demo.field.pub":`pub`,"chatJoin.demo.field.link":`邀请链接`,"chatJoin.demo.action.parseLink":`解析链接`,"chatJoin.demo.action.parsing":`解析中...`,"chatJoin.demo.action.deriveSender":`派生发送方`,"chatJoin.demo.action.generate":`生成链接`,"chatJoin.demo.action.openLink":`打开链接`,"chatJoin.demo.status.linkParsed":`已解析 token 和 pub`,"chatJoin.demo.status.linkDecrypted":`已解密 payload 并回填表单`,"chatJoin.demo.error.linkInvalid":`请输入包含 token 和 pub 的邀请链接`,"chatJoin.demo.error.parseInvalidPayload":`链接已解析,但解密结果不是有效邀请 payload`,"chatJoin.demo.error.parseDecryptFailed":`链接已解析,但解密失败: {message}`,"chatJoin.demo.error.uidRequired":`uid 不能为空`,"chatJoin.demo.error.channelInvalid":`频道 ID 需要是 3-30 位字母、数字、_ 或 -`,"chatJoin.demo.error.recipientPublicInvalid":`接收方公钥必须是 32 字节 0x hex`,"chatJoin.demo.error.senderKeysInvalid":`发送方密钥无效,请重新派生`,"chatJoin.demo.error.encryptFailed":`加密失败,请检查密钥和 payload`},Sc={"chatJoin.status.checkingBackend":`正在檢測後端連線...`,"chatJoin.status.connectingRemote":`正在連線遠端節點...`,"chatJoin.status.signingIn":`正在登入邀請帳號...`,"chatJoin.status.joiningChannel":`正在加入聊天...`,"chatJoin.status.openingChannel":`加入成功,正在開啟聊天...`,"chatJoin.status.loadingFixture":`正在載入 {name} 預設邀請...`,"chatJoin.status.decryptingInvite":`正在解密邀請...`,"chatJoin.status.decrypting":`正在解密...`,"chatJoin.status.decryptSuccess":`解密成功`,"chatJoin.error.unknownFixture":`未知預設邀請:{fixture}`,"chatJoin.error.missingToken":`缺少 token 參數`,"chatJoin.error.missingPub":`缺少 pub 參數`,"chatJoin.error.remoteConnectFailed":`遠端節點連線失敗`,"chatJoin.error.noBackend":`未連線後端,邀請中也沒有 node_url`,"chatJoin.error.decrypt":`解密失敗`,"chatJoin.error.invalidInvite":`邀請內容缺少 uid 或 channels[].id`,"chatJoin.error.request":`請求出錯: {message}`,"chatJoin.action.retry":`重試`,"chatJoin.demo.title":`聊天邀請 Demo`,"chatJoin.demo.parseSection":`解析現有連結`,"chatJoin.demo.inviteSection":`邀請內容`,"chatJoin.demo.cryptoSection":`加密參數`,"chatJoin.demo.outputSection":`生成結果`,"chatJoin.demo.field.existingLink":`現有邀請連結`,"chatJoin.demo.field.origin":`連結域名`,"chatJoin.demo.field.uid":`uid`,"chatJoin.demo.field.name":`暱稱`,"chatJoin.demo.field.locale":`語言`,"chatJoin.demo.field.channelId":`頻道 ID`,"chatJoin.demo.field.channelName":`頻道備註`,"chatJoin.demo.field.nodeUrl":`node_url`,"chatJoin.demo.field.nodeInvite":`node_invite`,"chatJoin.demo.field.logo":`logo`,"chatJoin.demo.field.logoDark":`logo_dark`,"chatJoin.demo.field.avatar":`avatar`,"chatJoin.demo.field.sparkbitTheme":`theme = sparkbit`,"chatJoin.demo.field.data":`data`,"chatJoin.demo.field.recipientPublicKey":`接收方公鑰`,"chatJoin.demo.field.senderUsername":`發送方使用者名稱`,"chatJoin.demo.field.senderPassword":`發送方密碼`,"chatJoin.demo.field.senderPublicKey":`pub`,"chatJoin.demo.field.payload":`payload JSON`,"chatJoin.demo.field.token":`token`,"chatJoin.demo.field.pub":`pub`,"chatJoin.demo.field.link":`邀請連結`,"chatJoin.demo.action.parseLink":`解析連結`,"chatJoin.demo.action.parsing":`解析中...`,"chatJoin.demo.action.deriveSender":`派生發送方`,"chatJoin.demo.action.generate":`生成連結`,"chatJoin.demo.action.openLink":`開啟連結`,"chatJoin.demo.status.linkParsed":`已解析 token 和 pub`,"chatJoin.demo.status.linkDecrypted":`已解密 payload 並回填表單`,"chatJoin.demo.error.linkInvalid":`請輸入包含 token 和 pub 的邀請連結`,"chatJoin.demo.error.parseInvalidPayload":`連結已解析,但解密結果不是有效邀請 payload`,"chatJoin.demo.error.parseDecryptFailed":`連結已解析,但解密失敗: {message}`,"chatJoin.demo.error.uidRequired":`uid 不能為空`,"chatJoin.demo.error.channelInvalid":`頻道 ID 需要是 3-30 位字母、數字、_ 或 -`,"chatJoin.demo.error.recipientPublicInvalid":`接收方公鑰必須是 32 位元組 0x hex`,"chatJoin.demo.error.senderKeysInvalid":`發送方密鑰無效,請重新派生`,"chatJoin.demo.error.encryptFailed":`加密失敗,請檢查密鑰和 payload`},Cc={"chatJoin.status.checkingBackend":`Checking backend connection...`,"chatJoin.status.connectingRemote":`Connecting to remote node...`,"chatJoin.status.signingIn":`Signing in with invited account...`,"chatJoin.status.joiningChannel":`Joining chat...`,"chatJoin.status.openingChannel":`Joined. Opening chat...`,"chatJoin.status.loadingFixture":`Loading {name} preset invite...`,"chatJoin.status.decryptingInvite":`Decrypting invite...`,"chatJoin.status.decrypting":`Decrypting...`,"chatJoin.status.decryptSuccess":`Decrypted`,"chatJoin.error.unknownFixture":`Unknown preset invite: {fixture}`,"chatJoin.error.missingToken":`Missing token parameter`,"chatJoin.error.missingPub":`Missing pub parameter`,"chatJoin.error.remoteConnectFailed":`Failed to connect to remote node`,"chatJoin.error.noBackend":`No backend is connected and the invite has no node_url`,"chatJoin.error.decrypt":`Decrypt failed`,"chatJoin.error.invalidInvite":`Invite is missing uid or channels[].id`,"chatJoin.error.request":`Request failed: {message}`,"chatJoin.action.retry":`Retry`,"chatJoin.demo.title":`Chat invite demo`,"chatJoin.demo.parseSection":`Parse existing link`,"chatJoin.demo.inviteSection":`Invite payload`,"chatJoin.demo.cryptoSection":`Crypto inputs`,"chatJoin.demo.outputSection":`Generated output`,"chatJoin.demo.field.existingLink":`Existing invite link`,"chatJoin.demo.field.origin":`Link origin`,"chatJoin.demo.field.uid":`uid`,"chatJoin.demo.field.name":`Display name`,"chatJoin.demo.field.locale":`Locale`,"chatJoin.demo.field.channelId":`Channel ID`,"chatJoin.demo.field.channelName":`Channel remark`,"chatJoin.demo.field.nodeUrl":`node_url`,"chatJoin.demo.field.nodeInvite":`node_invite`,"chatJoin.demo.field.logo":`logo`,"chatJoin.demo.field.logoDark":`logo_dark`,"chatJoin.demo.field.avatar":`avatar`,"chatJoin.demo.field.sparkbitTheme":`theme = sparkbit`,"chatJoin.demo.field.data":`data`,"chatJoin.demo.field.recipientPublicKey":`Recipient public key`,"chatJoin.demo.field.senderUsername":`Sender username`,"chatJoin.demo.field.senderPassword":`Sender password`,"chatJoin.demo.field.senderPublicKey":`pub`,"chatJoin.demo.field.payload":`payload JSON`,"chatJoin.demo.field.token":`token`,"chatJoin.demo.field.pub":`pub`,"chatJoin.demo.field.link":`Invite link`,"chatJoin.demo.action.parseLink":`Parse link`,"chatJoin.demo.action.parsing":`Parsing...`,"chatJoin.demo.action.deriveSender":`Derive sender`,"chatJoin.demo.action.generate":`Generate link`,"chatJoin.demo.action.openLink":`Open link`,"chatJoin.demo.status.linkParsed":`Parsed token and pub`,"chatJoin.demo.status.linkDecrypted":`Decrypted payload and filled the form`,"chatJoin.demo.error.linkInvalid":`Enter an invite link containing token and pub`,"chatJoin.demo.error.parseInvalidPayload":`The link was parsed, but the decrypted result is not a valid invite payload.`,"chatJoin.demo.error.parseDecryptFailed":`The link was parsed, but decrypt failed: {message}`,"chatJoin.demo.error.uidRequired":`uid is required`,"chatJoin.demo.error.channelInvalid":`Channel ID must be 3-30 letters, numbers, _ or -`,"chatJoin.demo.error.recipientPublicInvalid":`Recipient public key must be 32-byte 0x hex`,"chatJoin.demo.error.senderKeysInvalid":`Sender keys are invalid. Derive them again.`,"chatJoin.demo.error.encryptFailed":`Encryption failed. Check the keys and payload.`},wc={"preview.close":`关闭预览`,"preview.loadFailed":`加载失败`,"preview.audioLoading":`正在加载音频预览...`,"preview.unsupported":`无法预览`,"preview.textLoading":`正在加载文本预览...`,"preview.firstSyncHint":`如果是初次预览,可能需要等待 P2P 网络同步`,"preview.emptyFile":`(文件为空)`,"move.title":`移动到`,"move.selectedCount":`已选 {count} 个项目`,"move.pathPlaceholder":`输入路径创建嵌套文件夹`,"move.pathExample":`如 图片/壁纸`,"move.noSubfolders":`该目录下没有子文件夹`,"move.action":`移动`,"move.root":`全部内容`,"app.nav.local":`文件库`,"app.nav.favorites":`收藏`,"app.nav.trash":`回收站`,"app.search.placeholder":`搜索文件库...`,"app.emptyTrash":`清空回收站`,"app.publishFile":`添加到文件库`,"app.downloadFile":`下载到文件库`,"app.allContent":`文件库`,"app.noMatches":`未找到相关文件`,"app.trashEmpty":`回收站是空的`,"app.noFavorites":`暂无的收藏`,"app.noLocalFiles":`暂无文件库内容`,"app.openFileNavigation":`打开文件导航`,"app.deletedOn":`删除于 {date}`,"app.shareLink":`most:// 分享链接`,"app.shareSeedNote":`这条链接也可发到聊天里;本机在线时可下载,下载者完成后会默认继续做种。`,"app.downloadLink.placeholder":`粘贴 most:// 附件或分享链接`,"app.download.validation.empty":`请先粘贴 most:// 分享链接。`,"app.download.validation.invalidUrl":`链接格式不正确,请粘贴完整的 most:// 分享链接。`,"app.download.validation.protocol":`链接协议不正确,应以 most:// 开头。`,"app.download.validation.path":`链接路径不受支持,请使用 most://<CID>?filename=... 格式。`,"app.download.validation.invalidCid":`链接中的 CID 格式不正确。`,"app.download.validation.cidV1":`链接中的 CID 必须是 CID v1。`,"app.download.validation.cidDigest":`链接中的 CID digest 长度不正确。`,"app.download.validation.unsupportedParam":`分享链接包含不支持的参数:{param}。`,"app.download.validation.generic":`分享链接无效,请检查后重试。`,"app.check":`检测`,"app.checking":`检测中...`,"app.passed":`已通过`,"app.startDownload":`开始下载`,"app.downloading":`下载中...`,"app.selectedItems":`已选 {count} 项`,"app.restore":`恢复`,"app.permanentDelete":`永久删除`,"app.preview":`预览`,"app.favorite":`收藏`,"app.rename":`重命名`,"app.move":`移动`,"app.delete":`删除`,"app.pullToLocal":`拉取到本机`,"app.share":`分享`,"app.saveAs":`另存为`,"app.transfers":`传输管理`,"app.noTransfers":`暂无传输任务`,"app.completed":`完成`,"app.failed":`失败`,"app.cancelled":`已取消`,"app.cancelling":`取消中`,"app.transferProgress":`{fileName} 传输进度`,"app.clearTrash.title":`清空回收站`,"app.clearTrash.message":`确定要清空回收站吗?此操作不可恢复!`,"app.clear":`清空`,"app.batchDelete":`批量删除`,"app.deleteSelectedPermanent":`确定要永久删除选中的 {count} 个项目吗?此操作不可恢复!`,"app.deleteSelected":`确定要删除选中的 {count} 个项目吗?`,"app.renameFolder":`重命名文件夹`,"app.renameFile":`重命名文件`,"app.enterNewName":`请输入新名称`,"app.fileAlreadyExists":`{fileName} 已存在`,"app.fileAddedLocal":`{fileName} 已添加到本地`,"app.fileAlreadyLocal":`{fileName} 已在本机`,"app.fileAvailable":`{fileName} 可下载`,"app.fileDownloadCompleted":`{fileName} 下载完成`,"app.publishFailedWithFile":`添加失败: {fileName}`,"app.downloadFailedWithError":`下载失败: {error}`,"app.saveFailedWithError":`保存失败: {error}`,"app.toast.restored":`已恢复`,"app.toast.restoreFailed":`恢复失败`,"app.toast.trashEmptied":`回收站已清空`,"app.toast.emptyFailed":`清空失败`,"app.toast.favorited":`已收藏`,"app.toast.unfavorited":`已取消收藏`,"app.toast.actionFailed":`操作失败`,"app.toast.deletedPermanently":`已永久删除`,"app.toast.deleted":`已删除`,"app.toast.deleteFailed":`删除失败`,"app.toast.moved":`已移动`,"app.toast.moveFailed":`移动失败`,"app.toast.renamed":`已重命名`,"app.toast.renameFailed":`重命名失败`,"app.toast.signInBeforePublish":`请先登录后添加文件`,"app.toast.signInBeforeDownload":`请先登录后下载文件`,"app.toast.checkLinkFirst":`请先检测链接可用性`,"app.toast.downloadStarted":`下载已开始`,"app.toast.downloadFailed":`下载失败`,"app.toast.cancelFailed":`取消失败`,"app.toast.fileNotLocal":`文件尚未保存在本机,请先拉取到本机`,"app.toast.getFileFailed":`获取文件失败`,"app.toast.fileSaved":`文件已保存`,"app.toast.fileDownloaded":`文件已下载`,"app.toast.startPullLocal":`开始拉取到本机`,"app.toast.pulledAndSeeding":`已拉取到本机并开始做种`,"app.toast.pullFailed":`拉取失败`,"app.toast.downloadCancelled":`下载已取消`,"app.toast.checkPassed":`检测通过`,"app.downloadFallbackName":`下载文件`},Tc={"preview.close":`關閉預覽`,"preview.loadFailed":`載入失敗`,"preview.audioLoading":`正在載入音訊預覽...`,"preview.unsupported":`無法預覽`,"preview.textLoading":`正在載入文字預覽...`,"preview.firstSyncHint":`如果是初次預覽,可能需要等待 P2P 網路同步`,"preview.emptyFile":`(檔案為空)`,"move.title":`移動到`,"move.selectedCount":`已選 {count} 個項目`,"move.pathPlaceholder":`輸入路徑建立巢狀資料夾`,"move.pathExample":`如 圖片/桌布`,"move.noSubfolders":`該目錄下沒有子資料夾`,"move.action":`移動`,"move.root":`全部內容`,"app.nav.local":`檔案庫`,"app.nav.favorites":`收藏`,"app.nav.trash":`垃圾桶`,"app.search.placeholder":`搜尋檔案庫...`,"app.emptyTrash":`清空垃圾桶`,"app.publishFile":`新增到檔案庫`,"app.downloadFile":`下載到檔案庫`,"app.allContent":`檔案庫`,"app.noMatches":`未找到相關檔案`,"app.trashEmpty":`垃圾桶是空的`,"app.noFavorites":`暫無的收藏`,"app.noLocalFiles":`暫無檔案庫內容`,"app.openFileNavigation":`開啟檔案導覽`,"app.deletedOn":`刪除於 {date}`,"app.shareLink":`most:// 分享連結`,"app.shareSeedNote":`這條連結也可發到聊天裡;本機線上時可下載,下載者完成後預設繼續做種。`,"app.downloadLink.placeholder":`貼上 most:// 附件或分享連結`,"app.download.validation.empty":`請先貼上 most:// 分享連結。`,"app.download.validation.invalidUrl":`連結格式不正確,請貼上完整的 most:// 分享連結。`,"app.download.validation.protocol":`連結協議不正確,應以 most:// 開頭。`,"app.download.validation.path":`連結路徑不受支援,請使用 most://<CID>?filename=... 格式。`,"app.download.validation.invalidCid":`連結中的 CID 格式不正確。`,"app.download.validation.cidV1":`連結中的 CID 必須是 CID v1。`,"app.download.validation.cidDigest":`連結中的 CID digest 長度不正確。`,"app.download.validation.unsupportedParam":`分享連結包含不支援的參數:{param}。`,"app.download.validation.generic":`分享連結無效,請檢查後重試。`,"app.check":`檢測`,"app.checking":`檢測中...`,"app.passed":`已通過`,"app.startDownload":`開始下載`,"app.downloading":`下載中...`,"app.selectedItems":`已選 {count} 項`,"app.restore":`恢復`,"app.permanentDelete":`永久刪除`,"app.preview":`預覽`,"app.favorite":`收藏`,"app.rename":`重新命名`,"app.move":`移動`,"app.delete":`刪除`,"app.pullToLocal":`拉取到本機`,"app.share":`分享`,"app.saveAs":`另存新檔`,"app.transfers":`傳輸管理`,"app.noTransfers":`暫無傳輸任務`,"app.completed":`完成`,"app.failed":`失敗`,"app.cancelled":`已取消`,"app.cancelling":`取消中`,"app.transferProgress":`{fileName} 傳輸進度`,"app.clearTrash.title":`清空垃圾桶`,"app.clearTrash.message":`確定要清空垃圾桶嗎?此操作不可恢復!`,"app.clear":`清空`,"app.batchDelete":`批次刪除`,"app.deleteSelectedPermanent":`確定要永久刪除選中的 {count} 個項目嗎?此操作不可恢復!`,"app.deleteSelected":`確定要刪除選中的 {count} 個項目嗎?`,"app.renameFolder":`重新命名資料夾`,"app.renameFile":`重新命名檔案`,"app.enterNewName":`請輸入新名稱`,"app.fileAlreadyExists":`{fileName} 已存在`,"app.fileAddedLocal":`{fileName} 已新增到本機`,"app.fileAlreadyLocal":`{fileName} 已在本機`,"app.fileAvailable":`{fileName} 可下載`,"app.fileDownloadCompleted":`{fileName} 下載完成`,"app.publishFailedWithFile":`新增失敗: {fileName}`,"app.downloadFailedWithError":`下載失敗: {error}`,"app.saveFailedWithError":`儲存失敗: {error}`,"app.toast.restored":`已恢復`,"app.toast.restoreFailed":`恢復失敗`,"app.toast.trashEmptied":`垃圾桶已清空`,"app.toast.emptyFailed":`清空失敗`,"app.toast.favorited":`已收藏`,"app.toast.unfavorited":`已取消收藏`,"app.toast.actionFailed":`操作失敗`,"app.toast.deletedPermanently":`已永久刪除`,"app.toast.deleted":`已刪除`,"app.toast.deleteFailed":`刪除失敗`,"app.toast.moved":`已移動`,"app.toast.moveFailed":`移動失敗`,"app.toast.renamed":`已重新命名`,"app.toast.renameFailed":`重新命名失敗`,"app.toast.signInBeforePublish":`請先登入後新增檔案`,"app.toast.signInBeforeDownload":`請先登入後下載檔案`,"app.toast.checkLinkFirst":`請先檢測連結可用性`,"app.toast.downloadStarted":`下載已開始`,"app.toast.downloadFailed":`下載失敗`,"app.toast.cancelFailed":`取消失敗`,"app.toast.fileNotLocal":`檔案尚未儲存在本機,請先拉取到本機`,"app.toast.getFileFailed":`取得檔案失敗`,"app.toast.fileSaved":`檔案已儲存`,"app.toast.fileDownloaded":`檔案已下載`,"app.toast.startPullLocal":`開始拉取到本機`,"app.toast.pulledAndSeeding":`已拉取到本機並開始做種`,"app.toast.pullFailed":`拉取失敗`,"app.toast.downloadCancelled":`下載已取消`,"app.toast.checkPassed":`檢測通過`,"app.downloadFallbackName":`下載檔案`},Ec={"preview.close":`Close preview`,"preview.loadFailed":`Failed to load`,"preview.audioLoading":`Loading audio preview...`,"preview.unsupported":`Preview unavailable`,"preview.textLoading":`Loading text preview...`,"preview.firstSyncHint":`For a first preview, P2P sync may take a moment.`,"preview.emptyFile":`(File is empty)`,"move.title":`Move to`,"move.selectedCount":`Selected {count} items`,"move.pathPlaceholder":`Enter a path to create nested folders`,"move.pathExample":`Example: Images/Wallpapers`,"move.noSubfolders":`No subfolders in this folder`,"move.action":`Move`,"move.root":`All content`,"app.nav.local":`File library`,"app.nav.favorites":`Favorites`,"app.nav.trash":`Trash`,"app.search.placeholder":`Search file library...`,"app.emptyTrash":`Empty trash`,"app.publishFile":`Add to file library`,"app.downloadFile":`Download to file library`,"app.allContent":`File library`,"app.noMatches":`No matching files found`,"app.trashEmpty":`Trash is empty`,"app.noFavorites":`No favorites yet`,"app.noLocalFiles":`No file library content yet`,"app.openFileNavigation":`Open file navigation`,"app.deletedOn":`Deleted on {date}`,"app.shareLink":`most:// share link`,"app.shareSeedNote":`You can also send this link in chat. It is available while this device is online, and completed downloaders keep seeding by default.`,"app.downloadLink.placeholder":`Paste a most:// attachment or share link`,"app.download.validation.empty":`Paste a most:// share link first.`,"app.download.validation.invalidUrl":`The link format is invalid. Paste a complete most:// share link.`,"app.download.validation.protocol":`The link must start with most://.`,"app.download.validation.path":`Link paths are not supported. Use most://<CID>?filename=...`,"app.download.validation.invalidCid":`The CID in this link is invalid.`,"app.download.validation.cidV1":`The CID in this link must be CID v1.`,"app.download.validation.cidDigest":`The CID digest in this link has the wrong length.`,"app.download.validation.unsupportedParam":`The share link contains an unsupported parameter: {param}.`,"app.download.validation.generic":`This share link is invalid. Check it and try again.`,"app.check":`Check`,"app.checking":`Checking...`,"app.passed":`Passed`,"app.startDownload":`Start download`,"app.downloading":`Downloading...`,"app.selectedItems":`Selected {count} items`,"app.restore":`Restore`,"app.permanentDelete":`Delete permanently`,"app.preview":`Preview`,"app.favorite":`Favorite`,"app.rename":`Rename`,"app.move":`Move`,"app.delete":`Delete`,"app.pullToLocal":`Pull to this device`,"app.share":`Share`,"app.saveAs":`Save as`,"app.transfers":`Transfer management`,"app.noTransfers":`No transfer tasks`,"app.completed":`Completed`,"app.failed":`Failed`,"app.cancelled":`Cancelled`,"app.cancelling":`Cancelling`,"app.transferProgress":`{fileName} transfer progress`,"app.clearTrash.title":`Empty trash`,"app.clearTrash.message":`Empty trash? This cannot be undone.`,"app.clear":`Empty`,"app.batchDelete":`Delete selected`,"app.deleteSelectedPermanent":`Permanently delete {count} selected items? This cannot be undone.`,"app.deleteSelected":`Delete {count} selected items?`,"app.renameFolder":`Rename folder`,"app.renameFile":`Rename file`,"app.enterNewName":`Enter a new name`,"app.fileAlreadyExists":`{fileName} already exists`,"app.fileAddedLocal":`{fileName} added locally`,"app.fileAlreadyLocal":`{fileName} is already on this device`,"app.fileAvailable":`{fileName} is available to download`,"app.fileDownloadCompleted":`{fileName} download completed`,"app.publishFailedWithFile":`Add failed: {fileName}`,"app.downloadFailedWithError":`Download failed: {error}`,"app.saveFailedWithError":`Save failed: {error}`,"app.toast.restored":`Restored`,"app.toast.restoreFailed":`Restore failed`,"app.toast.trashEmptied":`Trash emptied`,"app.toast.emptyFailed":`Empty failed`,"app.toast.favorited":`Added to favorites`,"app.toast.unfavorited":`Removed from favorites`,"app.toast.actionFailed":`Action failed`,"app.toast.deletedPermanently":`Deleted permanently`,"app.toast.deleted":`Deleted`,"app.toast.deleteFailed":`Delete failed`,"app.toast.moved":`Moved`,"app.toast.moveFailed":`Move failed`,"app.toast.renamed":`Renamed`,"app.toast.renameFailed":`Rename failed`,"app.toast.signInBeforePublish":`Sign in before adding files`,"app.toast.signInBeforeDownload":`Sign in before downloading files`,"app.toast.checkLinkFirst":`Check link availability first`,"app.toast.downloadStarted":`Download started`,"app.toast.downloadFailed":`Download failed`,"app.toast.cancelFailed":`Cancel failed`,"app.toast.fileNotLocal":`This file is not saved on this device yet. Pull it locally first.`,"app.toast.getFileFailed":`Failed to get file`,"app.toast.fileSaved":`File saved`,"app.toast.fileDownloaded":`File downloaded`,"app.toast.startPullLocal":`Pulling to this device`,"app.toast.pulledAndSeeding":`Pulled to this device and started seeding`,"app.toast.pullFailed":`Pull failed`,"app.toast.downloadCancelled":`Download cancelled`,"app.toast.checkPassed":`Check passed`,"app.downloadFallbackName":`Download file`},Dc={"note.title":`知识库`,"note.count":`{count} 篇`,"note.listLabel":`知识库列表`,"note.privacy.secret":`私密`,"note.privacy.public":`公开`,"note.mode.edit":`编辑模式`,"note.mode.read":`阅读模式`,"note.search.placeholder":`搜索知识库`,"note.empty.noMatches":`未找到笔记`,"note.empty.noNotes":`还没有笔记`,"note.newNote":`新笔记`,"note.namePlaceholder":`笔记名称`,"note.untitled":`未命名笔记`,"note.editorLabel.edit":`笔记编辑器`,"note.editorLabel.read":`笔记阅读器`,"note.noOpen.title":`没有打开的笔记`,"note.noOpen.select":`选择一篇笔记继续`,"note.noOpen.createFirst":`创建第一篇笔记`,"note.openList":`打开知识库列表`,"note.loading":`加载中...`,"note.vault.open":`打开笔记库`,"note.vault.opening":`正在打开`,"note.vault.opened":`笔记库已打开`,"note.vault.emptyPrompt":`选择一个目录`,"note.vault.noFiles":`没有 Markdown 文件`,"note.vault.loginRequired":`请先登录 Web3 账号`,"note.vault.loadFailed":`无法加载笔记库`,"note.vault.selectFailed":`无法打开笔记库`,"note.chatDraft.defaultTitle":`聊天记录`,"note.chatDraft.created":`已保存到知识库`,"note.chatDraft.missing":`聊天记录草稿已失效`,"note.chatDraft.openVaultFirst":`请先打开笔记库,再保存聊天记录`,"note.create.title":`新建笔记`,"note.create.action":`创建`,"note.delete.folderTitle":`删除文件夹`,"note.delete.noteTitle":`删除笔记`,"note.delete.message":`确定要删除「{name}」吗?此操作不可撤销。`,"note.action.save":`保存`,"note.action.saving":`保存中`,"note.action.move":`移动`,"note.action.delete":`删除`,"note.action.edit":`编辑`,"note.toast.notFound":`笔记不存在`,"note.toast.nameRequired":`请输入笔记名称`,"note.toast.saved":`笔记已保存`,"note.toast.saveFailed":`保存失败`,"note.toast.created":`笔记已创建`,"note.toast.createFailed":`创建失败`,"note.toast.moved":`已移动`,"note.toast.moveFailed":`移动失败`,"note.toast.deleted":`已删除`,"note.toast.deleteFailed":`删除失败`,"note.error.notFound":`笔记不存在`,"note.error.loginToDecrypt":`请先登录 Web3 账号以解密此笔记`,"note.error.decryptFailed":`无法解密,请确认当前 Web3 账号正确`,"note.error.nameRequired":`请输入名称`,"note.error.nameNoSlash":`名称不能包含 /`,"note.error.nameNoBackslash":`名称不能包含 \\`,"note.error.nameInvalid":`名称无效`,"note.error.nameConflict":`目标位置已存在同名笔记`,"note.error.moveIntoSelf":`不能移动到自身子目录`,"note.move.title":`移动笔记`,"note.move.moving":`正在移动`,"note.move.rootDirectory":`根目录`,"note.move.noFolders":`还没有可选文件夹`,"note.move.pathPlaceholder":`或输入新目录路径,如 文章/摘录`,"note.move.destinationLabel":`目标位置:`,"note.move.destination":`目标位置:{path}`,"milkdown.placeholder":`输入 / 以使用命令...`,"milkdown.image.upload":`上传图片`,"milkdown.image.placeholder":`或粘贴图片链接...`,"milkdown.image.captionPlaceholder":`添加标题...`,"milkdown.group.basic":`基础`,"milkdown.group.list":`列表`,"milkdown.group.advanced":`高级`,"milkdown.block.text":`文本`,"milkdown.block.h1":`一级标题`,"milkdown.block.h2":`二级标题`,"milkdown.block.h3":`三级标题`,"milkdown.block.h4":`四级标题`,"milkdown.block.h5":`五级标题`,"milkdown.block.h6":`六级标题`,"milkdown.block.quote":`引用`,"milkdown.block.divider":`分割线`,"milkdown.block.bulletList":`无序列表`,"milkdown.block.orderedList":`有序列表`,"milkdown.block.taskList":`任务列表`,"milkdown.block.image":`图片`,"milkdown.block.codeBlock":`代码块`,"milkdown.block.table":`表格`,"milkdown.block.math":`数学公式`},Oc={"note.title":`知識庫`,"note.count":`{count} 篇`,"note.listLabel":`知識庫列表`,"note.privacy.secret":`私密`,"note.privacy.public":`公開`,"note.mode.edit":`編輯模式`,"note.mode.read":`閱讀模式`,"note.search.placeholder":`搜尋知識庫`,"note.empty.noMatches":`未找到筆記`,"note.empty.noNotes":`還沒有筆記`,"note.newNote":`新筆記`,"note.namePlaceholder":`筆記名稱`,"note.untitled":`未命名筆記`,"note.editorLabel.edit":`筆記編輯器`,"note.editorLabel.read":`筆記閱讀器`,"note.noOpen.title":`沒有開啟的筆記`,"note.noOpen.select":`選擇一篇筆記繼續`,"note.noOpen.createFirst":`建立第一篇筆記`,"note.openList":`開啟知識庫列表`,"note.loading":`載入中...`,"note.vault.open":`開啟筆記庫`,"note.vault.opening":`正在開啟`,"note.vault.opened":`筆記庫已開啟`,"note.vault.emptyPrompt":`選擇一個目錄`,"note.vault.noFiles":`沒有 Markdown 檔案`,"note.vault.loginRequired":`請先登入 Web3 帳號`,"note.vault.loadFailed":`無法載入筆記庫`,"note.vault.selectFailed":`無法開啟筆記庫`,"note.chatDraft.defaultTitle":`聊天記錄`,"note.chatDraft.created":`已儲存到知識庫`,"note.chatDraft.missing":`聊天記錄草稿已失效`,"note.chatDraft.openVaultFirst":`請先開啟筆記庫,再儲存聊天記錄`,"note.create.title":`新建筆記`,"note.create.action":`建立`,"note.delete.folderTitle":`刪除資料夾`,"note.delete.noteTitle":`刪除筆記`,"note.delete.message":`確定要刪除「{name}」嗎?此操作不可撤銷。`,"note.action.save":`儲存`,"note.action.saving":`儲存中`,"note.action.move":`移動`,"note.action.delete":`刪除`,"note.action.edit":`編輯`,"note.toast.notFound":`筆記不存在`,"note.toast.nameRequired":`請輸入筆記名稱`,"note.toast.saved":`筆記已儲存`,"note.toast.saveFailed":`儲存失敗`,"note.toast.created":`筆記已建立`,"note.toast.createFailed":`建立失敗`,"note.toast.moved":`已移動`,"note.toast.moveFailed":`移動失敗`,"note.toast.deleted":`已刪除`,"note.toast.deleteFailed":`刪除失敗`,"note.error.notFound":`筆記不存在`,"note.error.loginToDecrypt":`請先登入 Web3 帳號以解密此筆記`,"note.error.decryptFailed":`無法解密,請確認當前 Web3 帳號正確`,"note.error.nameRequired":`請輸入名稱`,"note.error.nameNoSlash":`名稱不能包含 /`,"note.error.nameNoBackslash":`名稱不能包含 \\\\`,"note.error.nameInvalid":`名稱無效`,"note.error.nameConflict":`目標位置已存在同名筆記`,"note.error.moveIntoSelf":`不能移動到自身子目錄`,"note.move.title":`移動筆記`,"note.move.moving":`正在移動`,"note.move.rootDirectory":`根目錄`,"note.move.noFolders":`還沒有可選資料夾`,"note.move.pathPlaceholder":`或輸入新目錄路徑,如 文章/摘錄`,"note.move.destinationLabel":`目標位置:`,"note.move.destination":`目標位置:{path}`,"milkdown.placeholder":`輸入 / 以使用命令...`,"milkdown.image.upload":`上傳圖片`,"milkdown.image.placeholder":`或貼上圖片連結...`,"milkdown.image.captionPlaceholder":`新增標題...`,"milkdown.group.basic":`基礎`,"milkdown.group.list":`列表`,"milkdown.group.advanced":`高階`,"milkdown.block.text":`文字`,"milkdown.block.h1":`一級標題`,"milkdown.block.h2":`二級標題`,"milkdown.block.h3":`三級標題`,"milkdown.block.h4":`四級標題`,"milkdown.block.h5":`五級標題`,"milkdown.block.h6":`六級標題`,"milkdown.block.quote":`引用`,"milkdown.block.divider":`分割線`,"milkdown.block.bulletList":`無序列表`,"milkdown.block.orderedList":`有序列表`,"milkdown.block.taskList":`任務列表`,"milkdown.block.image":`圖片`,"milkdown.block.codeBlock":`程式碼塊`,"milkdown.block.table":`表格`,"milkdown.block.math":`數學公式`},kc={"note.title":`Knowledge Base`,"note.count":`{count} notes`,"note.listLabel":`Knowledge base list`,"note.privacy.secret":`Private`,"note.privacy.public":`Public`,"note.mode.edit":`Edit mode`,"note.mode.read":`Read mode`,"note.search.placeholder":`Search knowledge base`,"note.empty.noMatches":`No notes found`,"note.empty.noNotes":`No notes yet`,"note.newNote":`New note`,"note.namePlaceholder":`Note name`,"note.untitled":`Untitled note`,"note.editorLabel.edit":`Note editor`,"note.editorLabel.read":`Note reader`,"note.noOpen.title":`No note open`,"note.noOpen.select":`Select a note to continue`,"note.noOpen.createFirst":`Create your first note`,"note.openList":`Open knowledge base`,"note.loading":`Loading...`,"note.vault.open":`Open vault`,"note.vault.opening":`Opening`,"note.vault.opened":`Vault opened`,"note.vault.emptyPrompt":`Choose a directory`,"note.vault.noFiles":`No Markdown files`,"note.vault.loginRequired":`Sign in with a Web3 account`,"note.vault.loadFailed":`Could not load vault`,"note.vault.selectFailed":`Could not open vault`,"note.chatDraft.defaultTitle":`Chat note`,"note.chatDraft.created":`Saved to knowledge base`,"note.chatDraft.missing":`The chat note draft expired`,"note.chatDraft.openVaultFirst":`Open a note vault before saving chat notes`,"note.create.title":`New note`,"note.create.action":`Create`,"note.delete.folderTitle":`Delete folder`,"note.delete.noteTitle":`Delete note`,"note.delete.message":`Delete "{name}"? This cannot be undone.`,"note.action.save":`Save`,"note.action.saving":`Saving`,"note.action.move":`Move`,"note.action.delete":`Delete`,"note.action.edit":`Edit`,"note.toast.notFound":`Note not found`,"note.toast.nameRequired":`Enter a note name`,"note.toast.saved":`Note saved`,"note.toast.saveFailed":`Save failed`,"note.toast.created":`Note created`,"note.toast.createFailed":`Create failed`,"note.toast.moved":`Moved`,"note.toast.moveFailed":`Move failed`,"note.toast.deleted":`Deleted`,"note.toast.deleteFailed":`Delete failed`,"note.error.notFound":`Note not found`,"note.error.loginToDecrypt":`Sign in with a Web3 account to decrypt this note`,"note.error.decryptFailed":`Could not decrypt. Make sure the current Web3 account is correct.`,"note.error.nameRequired":`Enter a name`,"note.error.nameNoSlash":`Names cannot contain /`,"note.error.nameNoBackslash":`Names cannot contain \\`,"note.error.nameInvalid":`Invalid name`,"note.error.nameConflict":`A note with this name already exists there`,"note.error.moveIntoSelf":`Cannot move a folder into itself`,"note.move.title":`Move note`,"note.move.moving":`Moving`,"note.move.rootDirectory":`Root directory`,"note.move.noFolders":`No folders available`,"note.move.pathPlaceholder":`Or enter a new folder path, e.g. Articles/Clips`,"note.move.destinationLabel":`Destination: `,"note.move.destination":`Destination: {path}`,"milkdown.placeholder":`Type / for commands...`,"milkdown.image.upload":`Upload image`,"milkdown.image.placeholder":`Or paste an image link...`,"milkdown.image.captionPlaceholder":`Add caption...`,"milkdown.group.basic":`Basic`,"milkdown.group.list":`List`,"milkdown.group.advanced":`Advanced`,"milkdown.block.text":`Text`,"milkdown.block.h1":`Heading 1`,"milkdown.block.h2":`Heading 2`,"milkdown.block.h3":`Heading 3`,"milkdown.block.h4":`Heading 4`,"milkdown.block.h5":`Heading 5`,"milkdown.block.h6":`Heading 6`,"milkdown.block.quote":`Quote`,"milkdown.block.divider":`Divider`,"milkdown.block.bulletList":`Bullet list`,"milkdown.block.orderedList":`Ordered list`,"milkdown.block.taskList":`Task list`,"milkdown.block.image":`Image`,"milkdown.block.codeBlock":`Code block`,"milkdown.block.table":`Table`,"milkdown.block.math":`Math`},Ac={"login.title":`登录`,"login.username.placeholder":`用户名`,"login.password.placeholder":`密码`,"login.preview":`登录`,"login.previewed":`检查地址`,"login.loading":`登录中`,"login.toast.signedIn":`已登录 {username}`,"login.error.credentialsRequired":`请输入用户名和密码`,"login.error.previewRequired":`请先预览并确认头像`,"login.error.failed":`登录失败`},jc={"login.title":`登入`,"login.username.placeholder":`使用者名稱`,"login.password.placeholder":`密碼`,"login.preview":`登入`,"login.previewed":`檢查地址`,"login.loading":`登入中`,"login.toast.signedIn":`已登入 {username}`,"login.error.credentialsRequired":`請輸入使用者名稱和密碼`,"login.error.previewRequired":`請先預覽並確認頭像`,"login.error.failed":`登入失敗`},Mc={"login.title":`Sign in`,"login.username.placeholder":`Username`,"login.password.placeholder":`Password`,"login.preview":`Sign in`,"login.previewed":`Check address`,"login.loading":`Signing in`,"login.toast.signedIn":`Signed in as {username}`,"login.error.credentialsRequired":`Enter a username and password`,"login.error.previewRequired":`Preview and confirm the avatar first`,"login.error.failed":`Sign-in failed`},Nc={"web3.view.wallet":`Web3`,"web3.view.pem":`PEM 导出`,"web3.view.export":`Wallet 导出`,"web3.view.asymmetric":`非对称加密`,"web3.login.passwordOptional":`密码(可选)`,"web3.login.generating":`生成中...`,"web3.login.generateAndSignIn":`生成并登录`,"web3.toast.accountGenerated":`账号已生成`,"web3.error.accountsRequired":`请先生成 A 和 B 两个账号`,"web3.error.messageRequired":`请输入要加密的消息`,"web3.error.cipherRequired":`请先生成或粘贴密文`,"web3.error.decryptFailed":`解密失败,请确认发送方公钥、接收方私钥和密文匹配`,"web3.error.senderPublicRequired":`请输入发送方公钥`,"web3.error.recipientPrivateRequired":`请输入接收方私钥`,"web3.error.senderPrivateRequired":`请输入发送方私钥`,"web3.error.recipientPublicRequired":`请输入接收方公钥`,"web3.empty.pem":`请输入用户名和密码以生成 PEM 密钥`,"web3.empty.identity":`请输入用户名和密码以查看身份信息`,"web3.empty.walletTools":`请输入用户名和密码以使用钱包工具`,"web3.notSignedIn":`未登录`,"web3.action.view":`查看`,"web3.action.show":`显示`,"web3.action.hide":`隐藏`,"web3.action.showPrivateKey":`显示私钥`,"web3.action.hidePrivateKey":`隐藏私钥`,"web3.action.showAddressQr":`显示地址二维码`,"web3.action.hideAddressQr":`隐藏地址二维码`,"web3.action.showMnemonic":`显示助记词`,"web3.action.hideMnemonic":`隐藏助记词`,"web3.action.showMnemonicQr":`显示助记词二维码`,"web3.action.hideMnemonicQr":`隐藏助记词二维码`,"web3.action.deriveAddresses":`派生 {count} 个地址`,"web3.warning.mnemonic":`任何拥有您助记词的人都可以窃取您账户中的任何资产,切勿泄露!`,"web3.warning.privateKey":`任何拥有您私钥的人都可以窃取您地址中的任何资产,切勿泄露!`,"web3.label.account":`账户`,"web3.label.address":`地址`,"web3.label.ed25519Public":`Ed25519 公钥`,"web3.label.x25519Public":`x25519 公钥`,"web3.label.x25519Private":`x25519 私钥`,"web3.label.combinedPrivate":`x25519 & Ed25519 私钥`,"web3.label.privateKeyToggle":`私钥(点击{action})`,"web3.box.accountA":`A 账号`,"web3.box.accountB":`B 账号`,"web3.box.account.desc":`用户名和密码会确定性生成 x25519 密钥对。`,"web3.box.account.generate":`生成账号`,"web3.box.flowAB.desc":`加密使用 A 私钥 + B 公钥;解密使用 A 公钥 + B 私钥。`,"web3.box.flowAB.encrypt":`用 A 私钥 + B 公钥加密`,"web3.box.flowAB.decrypt":`用 A 公钥 + B 私钥解密`,"web3.box.flowAB.messagePlaceholder":`输入要从 A 发给 B 的消息`,"web3.box.flowBA.desc":`加密使用 B 私钥 + A 公钥;解密使用 B 公钥 + A 私钥。`,"web3.box.flowBA.encrypt":`用 B 私钥 + A 公钥加密`,"web3.box.flowBA.decrypt":`用 B 公钥 + A 私钥解密`,"web3.box.flowBA.messagePlaceholder":`输入要从 B 发给 A 的消息`,"web3.box.cipherPlaceholder":`加密后生成密文,或粘贴已有密文`,"web3.box.plaintext":`明文`,"web3.box.ciphertext":`密文`,"web3.box.decryptResult":`解密结果`,"web3.box.decryptResultPlaceholder":`解密成功后显示明文`,"web3.box.timestamp":`时间戳`,"web3.box.nonce":`随机数`,"web3.box.encryptTitle":`加密`,"web3.box.encryptDesc":`只输入发送方私钥和接收方公钥即可加密,无需生成完整账号。`,"web3.box.decryptTitle":`解密`,"web3.box.decryptDesc":`只输入发送方公钥和接收方私钥即可解密,无需生成完整账号。`,"web3.box.sender":`发送方`,"web3.box.recipient":`接收方`,"web3.box.senderPrivatePlaceholder":`发送方 x25519 私钥`,"web3.box.senderPublicPlaceholder":`发送方 x25519 公钥`,"web3.box.recipientPrivatePlaceholder":`接收方 x25519 私钥`,"web3.box.recipientPublicPlaceholder":`接收方 x25519 公钥`,"web3.box.messagePlaceholder":`输入要加密的消息`,"web3.box.encryptResultPlaceholder":`加密成功后显示密文`,"web3.box.cipherDecryptPlaceholder":`粘贴要解密的密文`},Pc={"web3.view.wallet":`Web3`,"web3.view.pem":`PEM 匯出`,"web3.view.export":`Wallet 匯出`,"web3.view.asymmetric":`非對稱加密`,"web3.login.passwordOptional":`密碼(可選)`,"web3.login.generating":`生成中...`,"web3.login.generateAndSignIn":`生成並登入`,"web3.toast.accountGenerated":`帳號已生成`,"web3.error.accountsRequired":`請先生成 A 和 B 兩個帳號`,"web3.error.messageRequired":`請輸入要加密的訊息`,"web3.error.cipherRequired":`請先生成或貼上密文`,"web3.error.decryptFailed":`解密失敗,請確認傳送方公鑰、接收方私鑰和密文匹配`,"web3.error.senderPublicRequired":`請輸入傳送方公鑰`,"web3.error.recipientPrivateRequired":`請輸入接收方私鑰`,"web3.error.senderPrivateRequired":`請輸入傳送方私鑰`,"web3.error.recipientPublicRequired":`請輸入接收方公鑰`,"web3.empty.pem":`請輸入使用者名稱和密碼以生成 PEM 金鑰`,"web3.empty.identity":`請輸入使用者名稱和密碼以檢視身份資訊`,"web3.empty.walletTools":`請輸入使用者名稱和密碼以使用錢包工具`,"web3.notSignedIn":`未登入`,"web3.action.view":`檢視`,"web3.action.show":`顯示`,"web3.action.hide":`隱藏`,"web3.action.showPrivateKey":`顯示私鑰`,"web3.action.hidePrivateKey":`隱藏私鑰`,"web3.action.showAddressQr":`顯示地址二維碼`,"web3.action.hideAddressQr":`隱藏地址二維碼`,"web3.action.showMnemonic":`顯示助記詞`,"web3.action.hideMnemonic":`隱藏助記詞`,"web3.action.showMnemonicQr":`顯示助記詞二維碼`,"web3.action.hideMnemonicQr":`隱藏助記詞二維碼`,"web3.action.deriveAddresses":`派生 {count} 個地址`,"web3.warning.mnemonic":`任何擁有您助記詞的人都可以竊取您帳戶中的任何資產,切勿洩露!`,"web3.warning.privateKey":`任何擁有您私鑰的人都可以竊取您地址中的任何資產,切勿洩露!`,"web3.label.account":`帳戶`,"web3.label.address":`地址`,"web3.label.ed25519Public":`Ed25519 公鑰`,"web3.label.x25519Public":`x25519 公鑰`,"web3.label.x25519Private":`x25519 私鑰`,"web3.label.combinedPrivate":`x25519 & Ed25519 私鑰`,"web3.label.privateKeyToggle":`私鑰(點選{action})`,"web3.box.accountA":`A 帳號`,"web3.box.accountB":`B 帳號`,"web3.box.account.desc":`使用者名稱和密碼會確定性生成 x25519 金鑰對。`,"web3.box.account.generate":`生成帳號`,"web3.box.flowAB.desc":`加密使用 A 私鑰 + B 公鑰;解密使用 A 公鑰 + B 私鑰。`,"web3.box.flowAB.encrypt":`用 A 私鑰 + B 公鑰加密`,"web3.box.flowAB.decrypt":`用 A 公鑰 + B 私鑰解密`,"web3.box.flowAB.messagePlaceholder":`輸入要從 A 發給 B 的訊息`,"web3.box.flowBA.desc":`加密使用 B 私鑰 + A 公鑰;解密使用 B 公鑰 + A 私鑰。`,"web3.box.flowBA.encrypt":`用 B 私鑰 + A 公鑰加密`,"web3.box.flowBA.decrypt":`用 B 公鑰 + A 私鑰解密`,"web3.box.flowBA.messagePlaceholder":`輸入要從 B 發給 A 的訊息`,"web3.box.cipherPlaceholder":`加密後生成密文,或貼上已有密文`,"web3.box.plaintext":`明文`,"web3.box.ciphertext":`密文`,"web3.box.decryptResult":`解密結果`,"web3.box.decryptResultPlaceholder":`解密成功後顯示明文`,"web3.box.timestamp":`時間戳`,"web3.box.nonce":`隨機數`,"web3.box.encryptTitle":`加密`,"web3.box.encryptDesc":`只輸入傳送方私鑰和接收方公鑰即可加密,無需生成完整帳號。`,"web3.box.decryptTitle":`解密`,"web3.box.decryptDesc":`只輸入傳送方公鑰和接收方私鑰即可解密,無需生成完整帳號。`,"web3.box.sender":`傳送方`,"web3.box.recipient":`接收方`,"web3.box.senderPrivatePlaceholder":`傳送方 x25519 私鑰`,"web3.box.senderPublicPlaceholder":`傳送方 x25519 公鑰`,"web3.box.recipientPrivatePlaceholder":`接收方 x25519 私鑰`,"web3.box.recipientPublicPlaceholder":`接收方 x25519 公鑰`,"web3.box.messagePlaceholder":`輸入要加密的訊息`,"web3.box.encryptResultPlaceholder":`加密成功後顯示密文`,"web3.box.cipherDecryptPlaceholder":`貼上要解密的密文`},Fc={"web3.view.wallet":`Web3`,"web3.view.pem":`PEM export`,"web3.view.export":`Wallet export`,"web3.view.asymmetric":`Asymmetric encryption`,"web3.login.passwordOptional":`Password (optional)`,"web3.login.generating":`Generating...`,"web3.login.generateAndSignIn":`Generate and sign in`,"web3.toast.accountGenerated":`Account generated`,"web3.error.accountsRequired":`Generate both A and B accounts first`,"web3.error.messageRequired":`Enter a message to encrypt`,"web3.error.cipherRequired":`Generate or paste ciphertext first`,"web3.error.decryptFailed":`Decrypt failed. Check the sender public key, recipient private key, and ciphertext.`,"web3.error.senderPublicRequired":`Enter the sender public key`,"web3.error.recipientPrivateRequired":`Enter the recipient private key`,"web3.error.senderPrivateRequired":`Enter the sender private key`,"web3.error.recipientPublicRequired":`Enter the recipient public key`,"web3.empty.pem":`Enter a username and password to generate PEM keys`,"web3.empty.identity":`Enter a username and password to view identity info`,"web3.empty.walletTools":`Enter a username and password to use wallet tools`,"web3.notSignedIn":`Not signed in`,"web3.action.view":`View`,"web3.action.show":`show`,"web3.action.hide":`hide`,"web3.action.showPrivateKey":`Show private key`,"web3.action.hidePrivateKey":`Hide private key`,"web3.action.showAddressQr":`Show address QR`,"web3.action.hideAddressQr":`Hide address QR`,"web3.action.showMnemonic":`Show mnemonic`,"web3.action.hideMnemonic":`Hide mnemonic`,"web3.action.showMnemonicQr":`Show mnemonic QR`,"web3.action.hideMnemonicQr":`Hide mnemonic QR`,"web3.action.deriveAddresses":`Derive {count} addresses`,"web3.warning.mnemonic":`Anyone with your mnemonic can steal assets from your account. Never disclose it.`,"web3.warning.privateKey":`Anyone with your private key can steal assets from your address. Never disclose it.`,"web3.label.account":`Account`,"web3.label.address":`Address`,"web3.label.ed25519Public":`Ed25519 public key`,"web3.label.x25519Public":`x25519 public key`,"web3.label.x25519Private":`x25519 private key`,"web3.label.combinedPrivate":`x25519 & Ed25519 private key`,"web3.label.privateKeyToggle":`Private key (click to {action})`,"web3.box.accountA":`Account A`,"web3.box.accountB":`Account B`,"web3.box.account.desc":`The username and password deterministically generate an x25519 key pair.`,"web3.box.account.generate":`Generate account`,"web3.box.flowAB.desc":`Encrypt with A private key + B public key. Decrypt with A public key + B private key.`,"web3.box.flowAB.encrypt":`Encrypt with A private + B public`,"web3.box.flowAB.decrypt":`Decrypt with A public + B private`,"web3.box.flowAB.messagePlaceholder":`Message from A to B`,"web3.box.flowBA.desc":`Encrypt with B private key + A public key. Decrypt with B public key + A private key.`,"web3.box.flowBA.encrypt":`Encrypt with B private + A public`,"web3.box.flowBA.decrypt":`Decrypt with B public + A private`,"web3.box.flowBA.messagePlaceholder":`Message from B to A`,"web3.box.cipherPlaceholder":`Ciphertext appears after encryption, or paste existing ciphertext`,"web3.box.plaintext":`Plaintext`,"web3.box.ciphertext":`Ciphertext`,"web3.box.decryptResult":`Decrypted result`,"web3.box.decryptResultPlaceholder":`Plaintext appears after decryption`,"web3.box.timestamp":`Timestamp`,"web3.box.nonce":`Nonce`,"web3.box.encryptTitle":`Encrypt`,"web3.box.encryptDesc":`Encrypt with only the sender private key and recipient public key. A full account is not required.`,"web3.box.decryptTitle":`Decrypt`,"web3.box.decryptDesc":`Decrypt with only the sender public key and recipient private key. A full account is not required.`,"web3.box.sender":`Sender`,"web3.box.recipient":`Recipient`,"web3.box.senderPrivatePlaceholder":`Sender x25519 private key`,"web3.box.senderPublicPlaceholder":`Sender x25519 public key`,"web3.box.recipientPrivatePlaceholder":`Recipient x25519 private key`,"web3.box.recipientPublicPlaceholder":`Recipient x25519 public key`,"web3.box.messagePlaceholder":`Enter a message to encrypt`,"web3.box.encryptResultPlaceholder":`Ciphertext appears after encryption`,"web3.box.cipherDecryptPlaceholder":`Paste ciphertext to decrypt`},Ic={"game.gandengyan.title":`干瞪眼`,"game.zhajinhua.title":`炸金花`,"game.toast.joinedRoom":`已进入房间`,"game.toast.roomCreated":`房间已创建`,"game.action.shareRoom":`分享房间`,"game.action.createRoom":`创建房间`,"game.action.joinRoom":`加入房间`,"game.action.startRound":`开始本局`,"game.action.nextRound":`再来一局`,"game.hero.desc":`创建房间码邀请朋友加入,房间状态通过 MostBox P2P 频道同步。`,"game.currentAccount":`当前账号`,"game.roomCode":`房间号`,"game.roomCode.placeholder":`输入房间号`,"game.room.error.readLog":`无法读取房间记录`,"game.room.error.invalidCode":`请输入 4-8 位房间码`,"game.room.error.createFailed":`创建房间失败`,"game.room.error.joinFailed":`进入房间失败`,"game.room.error.sendEventFailed":`发送房间事件失败`,"game.status.nodeConnected":`节点已连接`,"game.status.nodeConnecting":`正在连接节点...`,"game.status.playing":`进行中`,"game.status.finished":`本局结束`,"game.status.waitingStart":`等待开局`,"game.status.title":`状态`,"game.actions":`操作`,"game.waitingHost":`等待房主开始或继续牌局。`,"game.waitingPlayers":`等待玩家加入`,"game.host":`房主`,"game.round":`本轮`,"game.hint":`提示`,"game.player":`玩家`,"game.card":`牌`,"game.roomLabel":`房间 {room}`,"game.status.online":`在线`,"game.status.offline":`离线`,"game.toast.playerLeft":`{player} 已退出房间`,"game.gandengyan.mark":`干`,"game.gandengyan.hero.title":`干瞪眼牌桌`,"game.gandengyan.speech.gameOver":`游戏结束`,"game.gandengyan.error.playFailed":`出牌失败`,"game.gandengyan.error.actionFailed":`操作失败`,"game.gandengyan.deck":`牌堆`,"game.gandengyan.tablePlay":`{player} 出 {combo}`,"game.gandengyan.waitingLead":`等待领出`,"game.gandengyan.baseScore":`底分`,"game.gandengyan.result.winnerGain":`{player} 获胜,赢 {score} 分`,"game.gandengyan.result.bombCount":`({count} 个炸弹)`,"game.gandengyan.result.sealedLoss":`{player}(封牌)扣 {loss} 分`,"game.gandengyan.result.cardsLeftLoss":`{player} 剩 {cards} 张,扣 {loss} 分`,"game.gandengyan.result.winner":`{player} 获胜`,"game.gandengyan.status.yourTurn":`轮到你出牌`,"game.gandengyan.roundPanel":`牌局`,"game.gandengyan.score":`分数`,"game.gandengyan.bombCount":`炸弹 {count} 次`,"game.gandengyan.discardCount":`弃牌 {count} 张`,"game.gandengyan.log":`牌局记录`,"game.gandengyan.invalidCombo":`牌型不合法`,"game.gandengyan.selectCards":`先选牌`,"game.gandengyan.jokerOrderHint":`按选择顺序解释大小王`,"game.gandengyan.action.play":`出牌`,"game.gandengyan.action.pass":`不要`,"game.gandengyan.handCount":`{count} 张`,"game.gandengyan.position.seat":`座位 {seat}`,"game.gandengyan.position.me":`我`,"game.gandengyan.position.opponent":`对手位`,"game.gandengyan.position.nextOpponent":`下家/对手位`,"game.gandengyan.position.prevOpponent":`上家/对手位`,"game.gandengyan.position.partner":`对家/队友位`,"game.gandengyan.position.seatPartner":`座位 {seat}/队友位`,"game.gandengyan.position.seatOpponent":`座位 {seat}/对手位`,"game.zhajinhua.hero.title":`炸金花牌桌`,"game.zhajinhua.toast.roundStarted":`新一局已开始`,"game.zhajinhua.error.notEnoughPlayers":`至少需要 2 名有足够筹码的玩家`,"game.zhajinhua.error.startFailed":`开局失败`,"game.zhajinhua.error.tooManyLowChips":`筹码不足的玩家太多,无法开局`,"game.zhajinhua.status.yourTurn":`轮到你操作`,"game.zhajinhua.status.waitingPlayer":`等待 {player}`,"game.zhajinhua.result.winChips":`{player} 赢得 {amount} 筹码`,"game.zhajinhua.result.winner":`{player} 胜出`,"game.zhajinhua.pot":`底池`,"game.zhajinhua.currentBet":`当前注 {amount}`,"game.zhajinhua.chips":`{amount} 筹码`,"game.zhajinhua.player.folded":`已弃牌`,"game.zhajinhua.player.looked":`已看牌`,"game.zhajinhua.player.inRound":`在局中`,"game.zhajinhua.myHand":`我的手牌`,"game.zhajinhua.myChips":`我的筹码`,"game.zhajinhua.hand.unlooked":`未看牌`,"game.zhajinhua.hand.waitingDeal":`等待房主发牌`,"game.zhajinhua.action.look":`看牌`,"game.zhajinhua.action.call":`跟注`,"game.zhajinhua.action.fold":`弃牌`,"game.zhajinhua.action.raiseOption":`加 {amount}`,"game.zhajinhua.action.raise":`加注`,"game.zhajinhua.action.comparePlaceholder":`选择比牌对象`,"game.zhajinhua.action.compare":`比牌`,"game.zhajinhua.compareResult":`比牌结果`},Lc={"game.gandengyan.title":`乾瞪眼`,"game.zhajinhua.title":`炸金花`,"game.toast.joinedRoom":`已進入房間`,"game.toast.roomCreated":`房間已建立`,"game.action.shareRoom":`分享房間`,"game.action.createRoom":`建立房間`,"game.action.joinRoom":`加入房間`,"game.action.startRound":`開始本局`,"game.action.nextRound":`再來一局`,"game.hero.desc":`建立房間碼邀請朋友加入,房間狀態通過 MostBox P2P 頻道同步。`,"game.currentAccount":`當前帳號`,"game.roomCode":`房間號`,"game.roomCode.placeholder":`輸入房間號`,"game.room.error.readLog":`無法讀取房間記錄`,"game.room.error.invalidCode":`請輸入 4-8 位房間碼`,"game.room.error.createFailed":`建立房間失敗`,"game.room.error.joinFailed":`進入房間失敗`,"game.room.error.sendEventFailed":`傳送房間事件失敗`,"game.status.nodeConnected":`節點已連線`,"game.status.nodeConnecting":`正在連線節點...`,"game.status.playing":`進行中`,"game.status.finished":`本局結束`,"game.status.waitingStart":`等待開局`,"game.status.title":`狀態`,"game.actions":`操作`,"game.waitingHost":`等待房主開始或繼續牌局。`,"game.waitingPlayers":`等待玩家加入`,"game.host":`房主`,"game.round":`本輪`,"game.hint":`提示`,"game.player":`玩家`,"game.card":`牌`,"game.roomLabel":`房間 {room}`,"game.status.online":`線上`,"game.status.offline":`離線`,"game.toast.playerLeft":`{player} 已退出房間`,"game.gandengyan.mark":`幹`,"game.gandengyan.hero.title":`乾瞪眼牌桌`,"game.gandengyan.speech.gameOver":`遊戲結束`,"game.gandengyan.error.playFailed":`出牌失敗`,"game.gandengyan.error.actionFailed":`操作失敗`,"game.gandengyan.deck":`牌堆`,"game.gandengyan.tablePlay":`{player} 出 {combo}`,"game.gandengyan.waitingLead":`等待領出`,"game.gandengyan.baseScore":`底分`,"game.gandengyan.result.winnerGain":`{player} 獲勝,贏 {score} 分`,"game.gandengyan.result.bombCount":`({count} 個炸彈)`,"game.gandengyan.result.sealedLoss":`{player}(封牌)扣 {loss} 分`,"game.gandengyan.result.cardsLeftLoss":`{player} 剩 {cards} 張,扣 {loss} 分`,"game.gandengyan.result.winner":`{player} 獲勝`,"game.gandengyan.status.yourTurn":`輪到你出牌`,"game.gandengyan.roundPanel":`牌局`,"game.gandengyan.score":`分數`,"game.gandengyan.bombCount":`炸彈 {count} 次`,"game.gandengyan.discardCount":`棄牌 {count} 張`,"game.gandengyan.log":`牌局記錄`,"game.gandengyan.invalidCombo":`牌型不合法`,"game.gandengyan.selectCards":`先選牌`,"game.gandengyan.jokerOrderHint":`按選擇順序解釋大小王`,"game.gandengyan.action.play":`出牌`,"game.gandengyan.action.pass":`不要`,"game.gandengyan.handCount":`{count} 張`,"game.gandengyan.position.seat":`座位 {seat}`,"game.gandengyan.position.me":`我`,"game.gandengyan.position.opponent":`對手位`,"game.gandengyan.position.nextOpponent":`下家/對手位`,"game.gandengyan.position.prevOpponent":`上家/對手位`,"game.gandengyan.position.partner":`對家/隊友位`,"game.gandengyan.position.seatPartner":`座位 {seat}/隊友位`,"game.gandengyan.position.seatOpponent":`座位 {seat}/對手位`,"game.zhajinhua.hero.title":`炸金花牌桌`,"game.zhajinhua.toast.roundStarted":`新一局已開始`,"game.zhajinhua.error.notEnoughPlayers":`至少需要 2 名有足夠籌碼的玩家`,"game.zhajinhua.error.startFailed":`開局失敗`,"game.zhajinhua.error.tooManyLowChips":`籌碼不足的玩家太多,無法開局`,"game.zhajinhua.status.yourTurn":`輪到你操作`,"game.zhajinhua.status.waitingPlayer":`等待 {player}`,"game.zhajinhua.result.winChips":`{player} 贏得 {amount} 籌碼`,"game.zhajinhua.result.winner":`{player} 勝出`,"game.zhajinhua.pot":`底池`,"game.zhajinhua.currentBet":`當前注 {amount}`,"game.zhajinhua.chips":`{amount} 籌碼`,"game.zhajinhua.player.folded":`已棄牌`,"game.zhajinhua.player.looked":`已看牌`,"game.zhajinhua.player.inRound":`在局中`,"game.zhajinhua.myHand":`我的手牌`,"game.zhajinhua.myChips":`我的籌碼`,"game.zhajinhua.hand.unlooked":`未看牌`,"game.zhajinhua.hand.waitingDeal":`等待房主發牌`,"game.zhajinhua.action.look":`看牌`,"game.zhajinhua.action.call":`跟注`,"game.zhajinhua.action.fold":`棄牌`,"game.zhajinhua.action.raiseOption":`加 {amount}`,"game.zhajinhua.action.raise":`加註`,"game.zhajinhua.action.comparePlaceholder":`選擇比牌物件`,"game.zhajinhua.action.compare":`比牌`,"game.zhajinhua.compareResult":`比牌結果`},Rc={"game.gandengyan.title":`Gan Deng Yan`,"game.zhajinhua.title":`Zha Jin Hua`,"game.toast.joinedRoom":`Joined room`,"game.toast.roomCreated":`Room created`,"game.action.shareRoom":`Share room`,"game.action.createRoom":`Create room`,"game.action.joinRoom":`Join room`,"game.action.startRound":`Start round`,"game.action.nextRound":`Next round`,"game.hero.desc":`Create a room code and invite friends. Room state syncs through the MostBox P2P channel.`,"game.currentAccount":`Current account`,"game.roomCode":`Room code`,"game.roomCode.placeholder":`Enter room code`,"game.room.error.readLog":`Failed to read room log`,"game.room.error.invalidCode":`Enter a 4-8 character room code`,"game.room.error.createFailed":`Failed to create room`,"game.room.error.joinFailed":`Failed to join room`,"game.room.error.sendEventFailed":`Failed to send room event`,"game.status.nodeConnected":`Node connected`,"game.status.nodeConnecting":`Connecting node...`,"game.status.playing":`In progress`,"game.status.finished":`Round finished`,"game.status.waitingStart":`Waiting to start`,"game.status.title":`Status`,"game.actions":`Actions`,"game.waitingHost":`Waiting for the host to start or continue.`,"game.waitingPlayers":`Waiting for players`,"game.host":`Host`,"game.round":`Round`,"game.hint":`Hint`,"game.player":`Player`,"game.card":`cards`,"game.roomLabel":`Room {room}`,"game.status.online":`Online`,"game.status.offline":`Offline`,"game.toast.playerLeft":`{player} left the room`,"game.gandengyan.mark":`G`,"game.gandengyan.hero.title":`Gan Deng Yan table`,"game.gandengyan.speech.gameOver":`Game over`,"game.gandengyan.error.playFailed":`Failed to play cards`,"game.gandengyan.error.actionFailed":`Action failed`,"game.gandengyan.deck":`Deck`,"game.gandengyan.tablePlay":`{player} played {combo}`,"game.gandengyan.waitingLead":`Waiting for lead`,"game.gandengyan.baseScore":`Base score`,"game.gandengyan.result.winnerGain":`{player} wins {score} points`,"game.gandengyan.result.bombCount":` ({count} bombs)`,"game.gandengyan.result.sealedLoss":`{player} sealed, loses {loss} points`,"game.gandengyan.result.cardsLeftLoss":`{player} has {cards} cards left, loses {loss} points`,"game.gandengyan.result.winner":`{player} wins`,"game.gandengyan.status.yourTurn":`Your turn to play`,"game.gandengyan.roundPanel":`Round`,"game.gandengyan.score":`Score`,"game.gandengyan.bombCount":`{count} bombs`,"game.gandengyan.discardCount":`{count} discarded`,"game.gandengyan.log":`Round log`,"game.gandengyan.invalidCombo":`Invalid combo`,"game.gandengyan.selectCards":`Select cards first`,"game.gandengyan.jokerOrderHint":`Jokers are interpreted in the selected order`,"game.gandengyan.action.play":`Play`,"game.gandengyan.action.pass":`Pass`,"game.gandengyan.handCount":`{count} cards`,"game.gandengyan.position.seat":`Seat {seat}`,"game.gandengyan.position.me":`Me`,"game.gandengyan.position.opponent":`Opponent`,"game.gandengyan.position.nextOpponent":`Next / opponent`,"game.gandengyan.position.prevOpponent":`Previous / opponent`,"game.gandengyan.position.partner":`Across / partner`,"game.gandengyan.position.seatPartner":`Seat {seat} / partner`,"game.gandengyan.position.seatOpponent":`Seat {seat} / opponent`,"game.zhajinhua.hero.title":`Zha Jin Hua table`,"game.zhajinhua.toast.roundStarted":`New round started`,"game.zhajinhua.error.notEnoughPlayers":`At least 2 players with enough chips are required`,"game.zhajinhua.error.startFailed":`Failed to start round`,"game.zhajinhua.error.tooManyLowChips":`Too many players are short on chips to start`,"game.zhajinhua.status.yourTurn":`Your turn`,"game.zhajinhua.status.waitingPlayer":`Waiting for {player}`,"game.zhajinhua.result.winChips":`{player} won {amount} chips`,"game.zhajinhua.result.winner":`{player} wins`,"game.zhajinhua.pot":`Pot`,"game.zhajinhua.currentBet":`Current bet {amount}`,"game.zhajinhua.chips":`{amount} chips`,"game.zhajinhua.player.folded":`Folded`,"game.zhajinhua.player.looked":`Looked`,"game.zhajinhua.player.inRound":`In round`,"game.zhajinhua.myHand":`My hand`,"game.zhajinhua.myChips":`My chips`,"game.zhajinhua.hand.unlooked":`Not looked`,"game.zhajinhua.hand.waitingDeal":`Waiting for host to deal`,"game.zhajinhua.action.look":`Look`,"game.zhajinhua.action.call":`Call`,"game.zhajinhua.action.fold":`Fold`,"game.zhajinhua.action.raiseOption":`Raise {amount}`,"game.zhajinhua.action.raise":`Raise`,"game.zhajinhua.action.comparePlaceholder":`Choose compare target`,"game.zhajinhua.action.compare":`Compare`,"game.zhajinhua.compareResult":`Compare result`},zc={"admin.title":`节点管理`,"admin.status.online":`在线`,"admin.status.waiting":`等待`,"admin.action.refresh":`刷新`,"admin.action.copyNodeId":`复制节点 ID`,"admin.action.clear":`清除`,"admin.action.saveConfig":`保存配置`,"admin.action.exportDiagnostics":`导出诊断`,"admin.action.clearLogs":`清空日志`,"admin.toast.backendChecking":`正在检测后端连接,请稍后再试`,"admin.toast.backendDisconnected":`未连接后端`,"admin.toast.statusRefreshed":`节点状态已刷新`,"admin.toast.configSavedRestart":`节点配置已保存。修改了数据目录,需要重启 daemon 生效。`,"admin.toast.configSaved":`节点配置已保存`,"admin.toast.nodeIdCopied":`节点 ID 已复制`,"admin.toast.logsCleared":`节点日志已清空`,"admin.toast.diagnosticsExported":`诊断已导出`,"admin.toast.userDataCleared":`用户数据已清除`,"admin.error.readStatus":`无法读取节点状态`,"admin.error.saveConfig":`保存配置失败`,"admin.error.clearLogs":`清空日志失败`,"admin.error.exportDiagnostics":`导出诊断失败`,"admin.error.clearUserData":`清除用户数据失败`,"admin.error.localDaemonDisconnected":`未连接本地 daemon`,"admin.remoteUnavailable.title":`远程节点管理不可用`,"admin.remoteUnavailable.desc":`当前连接的是别人部署的远程节点,普通邀请码不能查看或修改节点管理数据。`,"admin.confirm.clearUserData":`确定清除用户 {address} 的文件记录和回收站吗?无人引用的副本也会被清理。`,"admin.metric.nodeId":`节点 ID`,"admin.metric.connections":`连接`,"admin.metric.peers":`{count} peers`,"admin.metric.capacity":`容量`,"admin.metric.uptime":`运行`,"admin.uptime.daysHours":`{days} 天 {hours} 小时`,"admin.uptime.hoursMinutes":`{hours} 小时 {minutes} 分钟`,"admin.uptime.minutes":`{minutes} 分钟`,"admin.nodeStatus.title":`节点状态`,"admin.nodeStatus.version":`版本`,"admin.nodeStatus.listen":`监听`,"admin.nodeStatus.dataPath":`数据目录`,"admin.userData.title":`用户数据`,"admin.userData.user":`用户`,"admin.userData.files":`文件`,"admin.userData.trash":`回收站`,"admin.userData.actions":`操作`,"admin.userData.empty":`暂无用户数据`,"admin.settings.title":`节点设置`,"admin.settings.dataPath":`数据目录`,"admin.settings.capacityGiB":`容量上限 GiB`,"admin.settings.maxFileSizeGiB":`单文件最大 GiB`,"admin.settings.remoteInvites":`远程访问邀请码`,"admin.settings.remoteInvitesPlaceholder":`每行一个,或用英文逗号分隔`,"admin.settings.hint":`数据目录变更保存后需要重启 daemon。修改邀请码后新请求立即生效。发布和下载成功后会固定做种;MostBox 不设同时做种数或传输限速。`,"admin.holdings.title":`持有副本`,"admin.holdings.file":`文件`,"admin.holdings.size":`大小`,"admin.holdings.peers":`Peer`,"admin.holdings.topicJoined":`Topic join`,"admin.holdings.lastServed":`最近服务`,"admin.holdings.totalServed":`累计服务`,"admin.holdings.status":`状态`,"admin.holdings.joinedYes":`已 join`,"admin.holdings.joinedNo":`未 join`,"admin.holdings.empty":`暂无持有副本`,"admin.seedHelp.label":`做种状态说明`,"admin.seedHelp.active.label":`做种中`,"admin.seedHelp.active.desc":`已加入 CID topic,可被其他节点发现并提供完整副本。`,"admin.seedHelp.pending.label":`队列中 / 加入中`,"admin.seedHelp.pending.desc":`正在等待或重连 topic,通常会自动进入做种中。`,"admin.seedHelp.paused.label":`已暂停 / 未 join`,"admin.seedHelp.paused.desc":`本机仍持有文件,但当前不会对外提供下载。`,"admin.seedHelp.error.label":`错误`,"admin.seedHelp.error.desc":`加入或做种失败,请查看下方节点日志里的 seed 事件。`,"admin.seedStatus.queued":`队列中`,"admin.seedStatus.joining":`加入中`,"admin.seedStatus.active":`做种中`,"admin.seedStatus.paused":`已暂停`,"admin.seedStatus.error":`错误`,"admin.seedStatus.errorWithMessage":`错误:{message}`,"admin.seedStatus.notJoined":`未 join`,"admin.time.never":`从未`,"admin.time.justNow":`刚刚`,"admin.logs.title":`节点日志`,"admin.logs.filterLabel":`日志筛选`,"admin.logs.empty":`暂无日志`,"admin.logs.time":`时间`,"admin.logs.level":`级别`,"admin.logs.event":`事件`,"admin.logs.message":`消息`,"admin.logFilter.all":`全部`,"admin.logFilter.join":`Join`,"admin.logFilter.pull":`Pull`,"admin.logFilter.verify":`Verify`,"admin.logFilter.serve":`Serve`,"admin.logFilter.error":`Error`,"admin.table.pagination":`表格分页`,"admin.table.totalRows":`共 {count} 条`,"admin.table.pageSize":`每页`,"admin.table.pageIndicator":`第 {page} / {total} 页`,"admin.table.firstPage":`第一页`,"admin.table.previousPage":`上一页`,"admin.table.nextPage":`下一页`,"admin.table.lastPage":`最后一页`,"admin.table.sortAsc":`升序排序`,"admin.table.sortDesc":`降序排序`,"admin.table.sortClear":`取消排序`},Bc={"admin.title":`節點管理`,"admin.status.online":`線上`,"admin.status.waiting":`等待`,"admin.action.refresh":`重新整理`,"admin.action.copyNodeId":`複製節點 ID`,"admin.action.clear":`清除`,"admin.action.saveConfig":`儲存設定`,"admin.action.exportDiagnostics":`匯出診斷`,"admin.action.clearLogs":`清空日誌`,"admin.toast.backendChecking":`正在檢測後端連線,請稍後再試`,"admin.toast.backendDisconnected":`未連線後端`,"admin.toast.statusRefreshed":`節點狀態已重新整理`,"admin.toast.configSavedRestart":`節點設定已儲存。修改了資料目錄,需要重啟 daemon 生效。`,"admin.toast.configSaved":`節點設定已儲存`,"admin.toast.nodeIdCopied":`節點 ID 已複製`,"admin.toast.logsCleared":`節點日誌已清空`,"admin.toast.diagnosticsExported":`診斷已匯出`,"admin.toast.userDataCleared":`使用者資料已清除`,"admin.error.readStatus":`無法讀取節點狀態`,"admin.error.saveConfig":`儲存設定失敗`,"admin.error.clearLogs":`清空日誌失敗`,"admin.error.exportDiagnostics":`匯出診斷失敗`,"admin.error.clearUserData":`清除使用者資料失敗`,"admin.error.localDaemonDisconnected":`未連線本機 daemon`,"admin.remoteUnavailable.title":`遠端節點管理不可用`,"admin.remoteUnavailable.desc":`當前連線的是別人部署的遠端節點,普通邀請碼不能檢視或修改節點管理資料。`,"admin.confirm.clearUserData":`確定清除使用者 {address} 的檔案記錄和垃圾桶嗎?無人引用的副本也會被清理。`,"admin.metric.nodeId":`節點 ID`,"admin.metric.connections":`連線`,"admin.metric.peers":`{count} peers`,"admin.metric.capacity":`容量`,"admin.metric.uptime":`執行`,"admin.uptime.daysHours":`{days} 天 {hours} 小時`,"admin.uptime.hoursMinutes":`{hours} 小時 {minutes} 分鐘`,"admin.uptime.minutes":`{minutes} 分鐘`,"admin.nodeStatus.title":`節點狀態`,"admin.nodeStatus.version":`版本`,"admin.nodeStatus.listen":`監聽`,"admin.nodeStatus.dataPath":`資料目錄`,"admin.userData.title":`使用者資料`,"admin.userData.user":`使用者`,"admin.userData.files":`檔案`,"admin.userData.trash":`垃圾桶`,"admin.userData.actions":`操作`,"admin.userData.empty":`暫無使用者資料`,"admin.settings.title":`節點設定`,"admin.settings.dataPath":`資料目錄`,"admin.settings.capacityGiB":`容量上限 GiB`,"admin.settings.maxFileSizeGiB":`單檔案最大 GiB`,"admin.settings.remoteInvites":`遠端訪問邀請碼`,"admin.settings.remoteInvitesPlaceholder":`每行一個,或用英文逗號分隔`,"admin.settings.hint":`資料目錄變更儲存後需要重啟 daemon。修改邀請碼後新請求立即生效。發布和下載成功後會固定做種;MostBox 不設同時做種數或傳輸限速。`,"admin.holdings.title":`持有副本`,"admin.holdings.file":`檔案`,"admin.holdings.size":`大小`,"admin.holdings.peers":`Peer`,"admin.holdings.topicJoined":`Topic join`,"admin.holdings.lastServed":`最近服務`,"admin.holdings.totalServed":`累計服務`,"admin.holdings.status":`狀態`,"admin.holdings.joinedYes":`已 join`,"admin.holdings.joinedNo":`未 join`,"admin.holdings.empty":`暫無持有副本`,"admin.seedHelp.label":`做種狀態說明`,"admin.seedHelp.active.label":`做種中`,"admin.seedHelp.active.desc":`已加入 CID topic,可被其他節點發現並提供完整副本。`,"admin.seedHelp.pending.label":`佇列中 / 加入中`,"admin.seedHelp.pending.desc":`正在等待或重連 topic,通常會自動進入做種中。`,"admin.seedHelp.paused.label":`已暫停 / 未 join`,"admin.seedHelp.paused.desc":`本機仍持有檔案,但當前不會對外提供下載。`,"admin.seedHelp.error.label":`錯誤`,"admin.seedHelp.error.desc":`加入或做種失敗,請檢視下方節點日誌裡的 seed 事件。`,"admin.seedStatus.queued":`佇列中`,"admin.seedStatus.joining":`加入中`,"admin.seedStatus.active":`做種中`,"admin.seedStatus.paused":`已暫停`,"admin.seedStatus.error":`錯誤`,"admin.seedStatus.errorWithMessage":`錯誤:{message}`,"admin.seedStatus.notJoined":`未 join`,"admin.time.never":`從未`,"admin.time.justNow":`剛剛`,"admin.logs.title":`節點日誌`,"admin.logs.filterLabel":`日誌篩選`,"admin.logs.empty":`暫無日誌`,"admin.logs.time":`時間`,"admin.logs.level":`級別`,"admin.logs.event":`事件`,"admin.logs.message":`訊息`,"admin.logFilter.all":`全部`,"admin.logFilter.join":`Join`,"admin.logFilter.pull":`Pull`,"admin.logFilter.verify":`Verify`,"admin.logFilter.serve":`Serve`,"admin.logFilter.error":`Error`,"admin.table.pagination":`表格分頁`,"admin.table.totalRows":`共 {count} 筆`,"admin.table.pageSize":`每頁`,"admin.table.pageIndicator":`第 {page} / {total} 頁`,"admin.table.firstPage":`第一頁`,"admin.table.previousPage":`上一頁`,"admin.table.nextPage":`下一頁`,"admin.table.lastPage":`最後一頁`,"admin.table.sortAsc":`升冪排序`,"admin.table.sortDesc":`降冪排序`,"admin.table.sortClear":`取消排序`},Vc={"admin.title":`Node admin`,"admin.status.online":`Online`,"admin.status.waiting":`Waiting`,"admin.action.refresh":`Refresh`,"admin.action.copyNodeId":`Copy node ID`,"admin.action.clear":`Clear`,"admin.action.saveConfig":`Save config`,"admin.action.exportDiagnostics":`Export diagnostics`,"admin.action.clearLogs":`Clear logs`,"admin.toast.backendChecking":`Checking backend connection. Try again soon.`,"admin.toast.backendDisconnected":`Backend is not connected`,"admin.toast.statusRefreshed":`Node status refreshed`,"admin.toast.configSavedRestart":`Node config saved. Restart the daemon for the data directory change to take effect.`,"admin.toast.configSaved":`Node config saved`,"admin.toast.nodeIdCopied":`Node ID copied`,"admin.toast.logsCleared":`Node logs cleared`,"admin.toast.diagnosticsExported":`Diagnostics exported`,"admin.toast.userDataCleared":`User data cleared`,"admin.error.readStatus":`Failed to read node status`,"admin.error.saveConfig":`Failed to save config`,"admin.error.clearLogs":`Failed to clear logs`,"admin.error.exportDiagnostics":`Failed to export diagnostics`,"admin.error.clearUserData":`Failed to clear user data`,"admin.error.localDaemonDisconnected":`Local daemon is not connected`,"admin.remoteUnavailable.title":`Remote node admin unavailable`,"admin.remoteUnavailable.desc":`You are connected to a remote node deployed by someone else. A regular invite cannot view or edit node admin data.`,"admin.confirm.clearUserData":`Clear file records and trash for user {address}? Unreferenced local copies may also be removed.`,"admin.metric.nodeId":`Node ID`,"admin.metric.connections":`Connections`,"admin.metric.peers":`{count} peers`,"admin.metric.capacity":`Capacity`,"admin.metric.uptime":`Uptime`,"admin.uptime.daysHours":`{days} d {hours} h`,"admin.uptime.hoursMinutes":`{hours} h {minutes} min`,"admin.uptime.minutes":`{minutes} min`,"admin.nodeStatus.title":`Node status`,"admin.nodeStatus.version":`Version`,"admin.nodeStatus.listen":`Listen`,"admin.nodeStatus.dataPath":`Data directory`,"admin.userData.title":`User data`,"admin.userData.user":`User`,"admin.userData.files":`Files`,"admin.userData.trash":`Trash`,"admin.userData.actions":`Actions`,"admin.userData.empty":`No user data`,"admin.settings.title":`Node settings`,"admin.settings.dataPath":`Data directory`,"admin.settings.capacityGiB":`Capacity limit GiB`,"admin.settings.maxFileSizeGiB":`Max file GiB`,"admin.settings.remoteInvites":`Remote access invites`,"admin.settings.remoteInvitesPlaceholder":`One per line, or separate with commas`,"admin.settings.hint":`Restart the daemon after saving a data directory change. Invite changes apply to new requests immediately. Publishing and downloading always seed afterward; MostBox does not set a product-level seed count or transfer throttle.`,"admin.holdings.title":`Held copies`,"admin.holdings.file":`File`,"admin.holdings.size":`Size`,"admin.holdings.peers":`Peers`,"admin.holdings.topicJoined":`Topic join`,"admin.holdings.lastServed":`Last served`,"admin.holdings.totalServed":`Served`,"admin.holdings.status":`Status`,"admin.holdings.joinedYes":`Joined`,"admin.holdings.joinedNo":`Not joined`,"admin.holdings.empty":`No held copies`,"admin.seedHelp.label":`Seeding status help`,"admin.seedHelp.active.label":`Seeding`,"admin.seedHelp.active.desc":`Joined the CID topic and can be discovered by other nodes to provide a full copy.`,"admin.seedHelp.pending.label":`Queued / joining`,"admin.seedHelp.pending.desc":`Waiting for or reconnecting to the topic. It usually becomes active automatically.`,"admin.seedHelp.paused.label":`Paused / not joined`,"admin.seedHelp.paused.desc":`This device still holds the file, but is not currently serving downloads.`,"admin.seedHelp.error.label":`Error`,"admin.seedHelp.error.desc":`Joining or seeding failed. Check seed events in the node logs below.`,"admin.seedStatus.queued":`Queued`,"admin.seedStatus.joining":`Joining`,"admin.seedStatus.active":`Seeding`,"admin.seedStatus.paused":`Paused`,"admin.seedStatus.error":`Error`,"admin.seedStatus.errorWithMessage":`Error: {message}`,"admin.seedStatus.notJoined":`Not joined`,"admin.time.never":`Never`,"admin.time.justNow":`Just now`,"admin.logs.title":`Node logs`,"admin.logs.filterLabel":`Log filter`,"admin.logs.empty":`No logs`,"admin.logs.time":`Time`,"admin.logs.level":`Level`,"admin.logs.event":`Event`,"admin.logs.message":`Message`,"admin.logFilter.all":`All`,"admin.logFilter.join":`Join`,"admin.logFilter.pull":`Pull`,"admin.logFilter.verify":`Verify`,"admin.logFilter.serve":`Serve`,"admin.logFilter.error":`Error`,"admin.table.pagination":`Table pagination`,"admin.table.totalRows":`{count} rows`,"admin.table.pageSize":`Rows`,"admin.table.pageIndicator":`Page {page} / {total}`,"admin.table.firstPage":`First page`,"admin.table.previousPage":`Previous page`,"admin.table.nextPage":`Next page`,"admin.table.lastPage":`Last page`,"admin.table.sortAsc":`Sort ascending`,"admin.table.sortDesc":`Sort descending`,"admin.table.sortClear":`Clear sort`},Hc={"profile.meta.title":`个人资料 | MostBox`,"profile.meta.desc":`管理 MostBox 账号头像、显示名称和本地身份信息。`,"profile.kicker":`个人资料`,"profile.signedOut.title":`请先登录`,"profile.signedOut.desc":`登录后管理头像、名称和身份信息。`,"profile.section.account":`账号资料`,"profile.section.account.desc":`这些信息用于聊天、游戏和工具箱里的身份展示,并会随账号备份同步。`,"profile.section.avatar":`头像`,"profile.section.avatar.desc":`选择一个内置头像,或继续使用自己的头像 URL。`,"profile.section.backup":`账号备份`,"profile.section.backup.desc":`手动备份或恢复加密账号数据,包括显示名称、头像、偏好设置、知识库、文件目录、回收站和频道偏好。`,"profile.backup.summary.label":`账号备份数据概览`,"profile.backup.summary.notes":`笔记`,"profile.backup.summary.files":`文件`,"profile.backup.summary.trash":`回收站`,"profile.backup.summary.channels":`频道`,"profile.logout.backupReminder":`退出登录前,建议先备份到云端,或导出到本地,避免显示名称、头像、偏好设置和本机资料丢失。`,"profile.section.identity":`身份信息`,"profile.section.identity.desc":`以下信息来自当前本地账号,可用于识别和复制公开身份。`,"profile.label.displayName":`显示名称`,"profile.label.username":`用户名`,"profile.label.customAvatar":`自定义头像 URL`,"profile.action.save":`保存`,"profile.action.openWallet":`打开 Web3 钱包`,"profile.backup.action.cloudBackup":`备份到云端`,"profile.backup.action.cloudRestore":`从云端恢复`,"profile.backup.action.exportLocal":`导出到本地`,"profile.backup.action.importLocal":`导入到本地`,"profile.backup.status.disabled":`未登录`,"profile.backup.status.idle":`待操作`,"profile.backup.status.backingUp":`正在备份`,"profile.backup.status.restoring":`正在恢复`,"profile.backup.status.exporting":`正在导出`,"profile.backup.status.importing":`正在导入`,"profile.backup.status.done":`已完成`,"profile.backup.status.error":`操作失败`,"profile.backup.confirm.backupTitle":`确认备份到云端`,"profile.backup.confirm.backupMessage":`这会用当前本机账号数据覆盖云端备份,继续吗?`,"profile.backup.confirm.restoreTitle":`确认从云端恢复`,"profile.backup.confirm.restoreMessage":`这会用云端备份覆盖当前本机数据,继续吗?`,"profile.backup.confirm.importTitle":`确认导入备份`,"profile.backup.confirm.restore":`导入备份会合并账号元数据并替换本地知识库,继续吗?`,"profile.backup.toast.cloudUpdated":`账号备份已上传`,"profile.backup.toast.noCloudBackup":`云端暂无账号备份`,"profile.backup.toast.restoredCloud":`已从云端恢复账号备份`,"profile.backup.toast.exportedLocal":`账号备份已导出`,"profile.backup.toast.restoredLocal":`已导入账号备份`,"profile.backup.toast.cancelRestore":`已取消恢复`,"profile.backup.error.backendRequired":`请先连接 MostBox 后端`,"profile.backup.error.loginRequired":`请先登录`,"profile.backup.error.ownerMismatch":`备份不属于当前账号`,"profile.backup.error.backupFailed":`账号备份失败`,"profile.backup.error.restoreFailed":`账号恢复失败`,"profile.backup.error.exportFailed":`导出备份失败`,"profile.backup.error.importFailed":`导入备份失败`,"profile.backup.error.profileSaveFailed":`资料已保存到本机,但写入后端 profile 失败`,"profile.toast.saved":`资料已保存`,"profile.toast.avatarUpdated":`头像已更新`,"profile.avatar.address":`地址头像`,"profile.avatar.panda":`熊猫`,"profile.avatar.owl":`猫头鹰`,"profile.avatar.dolphin":`海豚`,"profile.avatar.tiger":`老虎`,"profile.avatar.turtle":`海龟`,"profile.avatar.snow-mountain":`雪山`},Uc={"profile.meta.title":`個人資料 | MostBox`,"profile.meta.desc":`管理 MostBox 帳號頭像、顯示名稱和本機身份資訊。`,"profile.kicker":`個人資料`,"profile.signedOut.title":`請先登入`,"profile.signedOut.desc":`登入後管理頭像、名稱和身份資訊。`,"profile.section.account":`帳號資料`,"profile.section.account.desc":`這些資訊用於聊天、遊戲和工具箱裡的身份展示,並會隨帳號備份同步。`,"profile.section.avatar":`頭像`,"profile.section.avatar.desc":`選擇一個內建頭像,或繼續使用自己的頭像 URL。`,"profile.section.backup":`帳號備份`,"profile.section.backup.desc":`手動備份或恢復加密帳號資料,包括顯示名稱、頭像、偏好設定、知識庫、檔案目錄、垃圾桶和頻道偏好。`,"profile.backup.summary.label":`帳號備份資料概覽`,"profile.backup.summary.notes":`筆記`,"profile.backup.summary.files":`檔案`,"profile.backup.summary.trash":`垃圾桶`,"profile.backup.summary.channels":`頻道`,"profile.logout.backupReminder":`登出前,建議先備份到雲端,或匯出到本機,避免顯示名稱、頭像、偏好設定和本機資料遺失。`,"profile.section.identity":`身份資訊`,"profile.section.identity.desc":`以下資訊來自目前本機帳號,可用於識別和複製公開身份。`,"profile.label.displayName":`顯示名稱`,"profile.label.username":`使用者名稱`,"profile.label.customAvatar":`自訂頭像 URL`,"profile.action.save":`儲存`,"profile.action.openWallet":`開啟 Web3 錢包`,"profile.backup.action.cloudBackup":`備份到雲端`,"profile.backup.action.cloudRestore":`從雲端恢復`,"profile.backup.action.exportLocal":`匯出到本機`,"profile.backup.action.importLocal":`匯入到本機`,"profile.backup.status.disabled":`未登入`,"profile.backup.status.idle":`待操作`,"profile.backup.status.backingUp":`正在備份`,"profile.backup.status.restoring":`正在恢復`,"profile.backup.status.exporting":`正在匯出`,"profile.backup.status.importing":`正在匯入`,"profile.backup.status.done":`已完成`,"profile.backup.status.error":`操作失敗`,"profile.backup.confirm.backupTitle":`確認備份到雲端`,"profile.backup.confirm.backupMessage":`這會用目前本機帳號資料覆蓋雲端備份,繼續嗎?`,"profile.backup.confirm.restoreTitle":`確認從雲端恢復`,"profile.backup.confirm.restoreMessage":`這會用雲端備份覆蓋目前本機資料,繼續嗎?`,"profile.backup.confirm.importTitle":`確認匯入備份`,"profile.backup.confirm.restore":`匯入備份會合併帳號元資料並取代本機知識庫,繼續嗎?`,"profile.backup.toast.cloudUpdated":`帳號備份已上傳`,"profile.backup.toast.noCloudBackup":`雲端暫無帳號備份`,"profile.backup.toast.restoredCloud":`已從雲端恢復帳號備份`,"profile.backup.toast.exportedLocal":`帳號備份已匯出`,"profile.backup.toast.restoredLocal":`已匯入帳號備份`,"profile.backup.toast.cancelRestore":`已取消恢復`,"profile.backup.error.backendRequired":`請先連接 MostBox 後端`,"profile.backup.error.loginRequired":`請先登入`,"profile.backup.error.ownerMismatch":`備份不屬於目前帳號`,"profile.backup.error.backupFailed":`帳號備份失敗`,"profile.backup.error.restoreFailed":`帳號恢復失敗`,"profile.backup.error.exportFailed":`匯出備份失敗`,"profile.backup.error.importFailed":`匯入備份失敗`,"profile.backup.error.profileSaveFailed":`資料已儲存到本機,但寫入後端 profile 失敗`,"profile.toast.saved":`資料已儲存`,"profile.toast.avatarUpdated":`頭像已更新`,"profile.avatar.address":`地址頭像`,"profile.avatar.panda":`熊貓`,"profile.avatar.owl":`貓頭鷹`,"profile.avatar.dolphin":`海豚`,"profile.avatar.tiger":`老虎`,"profile.avatar.turtle":`海龜`,"profile.avatar.snow-mountain":`雪山`},Wc={"profile.meta.title":`Profile | MostBox`,"profile.meta.desc":`Manage the MostBox account avatar, display name, and local identity.`,"profile.kicker":`Profile`,"profile.signedOut.title":`Sign in first`,"profile.signedOut.desc":`Sign in to manage your profile.`,"profile.section.account":`Account`,"profile.section.account.desc":`These details are used for identity display across chat, games, and tools, and sync through account backup.`,"profile.section.avatar":`Avatar`,"profile.section.avatar.desc":`Choose a built-in avatar, or keep using your own avatar URL.`,"profile.section.backup":`Account backup`,"profile.section.backup.desc":`Manually back up or restore encrypted account data, including display name, avatar, preferences, knowledge base, file directories, trash, and channel preferences.`,"profile.backup.summary.label":`Account backup data overview`,"profile.backup.summary.notes":`Notes`,"profile.backup.summary.files":`Files`,"profile.backup.summary.trash":`Trash`,"profile.backup.summary.channels":`Channels`,"profile.logout.backupReminder":`Before signing out, back up to the cloud or export locally to avoid losing display name, avatar, preferences, and local data.`,"profile.section.identity":`Identity`,"profile.section.identity.desc":`These details come from the current local account and are safe to copy as public identity.`,"profile.label.displayName":`Display name`,"profile.label.username":`Username`,"profile.label.customAvatar":`Custom avatar URL`,"profile.action.save":`Save`,"profile.action.openWallet":`Open Web3 wallet`,"profile.backup.action.cloudBackup":`Back up to cloud`,"profile.backup.action.cloudRestore":`Restore from cloud`,"profile.backup.action.exportLocal":`Export to local`,"profile.backup.action.importLocal":`Import to local`,"profile.backup.status.disabled":`Not signed in`,"profile.backup.status.idle":`Ready`,"profile.backup.status.backingUp":`Backing up`,"profile.backup.status.restoring":`Restoring`,"profile.backup.status.exporting":`Exporting`,"profile.backup.status.importing":`Importing`,"profile.backup.status.done":`Done`,"profile.backup.status.error":`Failed`,"profile.backup.confirm.backupTitle":`Confirm cloud backup`,"profile.backup.confirm.backupMessage":`This will replace the cloud backup with this device account data. Continue?`,"profile.backup.confirm.restoreTitle":`Confirm cloud restore`,"profile.backup.confirm.restoreMessage":`This will replace this device data with the cloud backup. Continue?`,"profile.backup.confirm.importTitle":`Confirm backup import`,"profile.backup.confirm.restore":`Importing a backup will merge account metadata and replace the local knowledge base. Continue?`,"profile.backup.toast.cloudUpdated":`Account backup uploaded`,"profile.backup.toast.noCloudBackup":`No account backup in the cloud`,"profile.backup.toast.restoredCloud":`Account backup restored from cloud`,"profile.backup.toast.exportedLocal":`Account backup exported`,"profile.backup.toast.restoredLocal":`Account backup imported`,"profile.backup.toast.cancelRestore":`Restore cancelled`,"profile.backup.error.backendRequired":`Connect to the MostBox backend first`,"profile.backup.error.loginRequired":`Sign in first`,"profile.backup.error.ownerMismatch":`This backup belongs to another account`,"profile.backup.error.backupFailed":`Account backup failed`,"profile.backup.error.restoreFailed":`Account restore failed`,"profile.backup.error.exportFailed":`Backup export failed`,"profile.backup.error.importFailed":`Backup import failed`,"profile.backup.error.profileSaveFailed":`Profile was saved locally, but backend profile save failed`,"profile.toast.saved":`Profile saved`,"profile.toast.avatarUpdated":`Avatar updated`,"profile.avatar.address":`Address avatar`,"profile.avatar.panda":`Panda`,"profile.avatar.owl":`Owl`,"profile.avatar.dolphin":`Dolphin`,"profile.avatar.tiger":`Tiger`,"profile.avatar.turtle":`Turtle`,"profile.avatar.snow-mountain":`Snow mountain`},Gc=`zh-CN`,Kc=`mostbox.locale`,qc=[`zh-CN`,`zh-TW`,`en`],Jc={"zh-CN":`简体中文`,"zh-TW":`繁體中文`,en:`English`},Yc={...ec,...rc,...oc,...lc,...fc,...hc,...vc,...xc,...wc,...Dc,...Ac,...Nc,...Ic,...zc,...Hc},Xc={...nc,...ac,...cc,...dc,...mc,..._c,...bc,...Cc,...Ec,...kc,...Mc,...Fc,...Rc,...Vc,...Wc},Zc={"zh-CN":Yc,"zh-TW":{...tc,...ic,...sc,...uc,...pc,...gc,...yc,...Sc,...Tc,...Oc,...jc,...Pc,...Lc,...Bc,...Uc},en:Xc},Qc=(0,j.createContext)(null);function $c(e){return typeof e==`string`&&qc.includes(e)}function el(e){return $c(e)?e:Gc}function tl(e){let t=qc.indexOf(e);return qc[t<0?0:(t+1)%qc.length]??`zh-CN`}function nl(e,t){return t?e.replace(/\{(\w+)\}/g,(e,n)=>t[n]===void 0?`{${n}}`:String(t[n])):e}function rl(e,t=Gc,n){return nl(Zc[t][e]||Zc[`zh-CN`][e],n)}function il(e,t){return e===`zh-TW`?t.replace(/(上午|下午)(?=\d)/,`$1 `):t}function al(){if(typeof window>`u`)return Gc;try{return el(window.localStorage.getItem(Kc))}catch{return Gc}}function ol(e){if(!(typeof window>`u`))try{window.localStorage.setItem(Kc,e)}catch{}}function sl(e){typeof document>`u`||(document.documentElement.lang=e,document.documentElement.dataset.locale=e)}function cl(e){return e instanceof Date?e:new Date(e)}function ll({children:e}){let[t,n]=(0,j.useState)(Gc);(0,j.useEffect)(()=>{n(al())},[]);let r=(0,j.useCallback)(e=>{n(e),ol(e),sl(e)},[]);(0,j.useEffect)(()=>{sl(t)},[t]),(0,j.useEffect)(()=>{if(typeof window>`u`)return;function e(e){e.key===`mostbox.locale`&&n(al())}return window.addEventListener(`storage`,e),()=>window.removeEventListener(`storage`,e)},[]);let i=(0,j.useMemo)(()=>{let e=tl(t),n=new Intl.DateTimeFormat(t),i=new Intl.DateTimeFormat(t,{hour:`2-digit`,minute:`2-digit`}),a=new Intl.DateTimeFormat(t,{dateStyle:`medium`,timeStyle:`short`}),o=new Intl.NumberFormat(t),s=new Intl.Collator(t);return{locale:t,localeName:Jc[t],nextLocale:e,nextLocaleName:Jc[e],setLocale:r,t:(e,n)=>rl(e,t,n),formatDate:(e,r)=>r?new Intl.DateTimeFormat(t,r).format(cl(e)):n.format(cl(e)),formatTime:(e,n)=>il(t,n?new Intl.DateTimeFormat(t,n).format(cl(e)):i.format(cl(e))),formatDateTime:(e,n)=>n?new Intl.DateTimeFormat(t,n).format(cl(e)):a.format(cl(e)),formatNumber:(e,n)=>n?new Intl.NumberFormat(t,n).format(e):o.format(e),compareStrings:(e,t)=>s.compare(e,t)}},[t,r]);return(0,M.jsx)(Qc.Provider,{value:i,children:e})}function ul(){let e=(0,j.useContext)(Qc);if(!e)throw Error(`useI18n must be used within I18nProvider`);return e}function dl(){if(!(typeof window>`u`))try{return el(window.localStorage.getItem(Kc))}catch{return}}function fl(e){return rl(e,dl())}var pl=class extends j.Component{constructor(e){super(e),this.handleReload=()=>{window.location.reload()},this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`[ErrorBoundary]`,e,t)}render(){return this.state.hasError?(0,M.jsxs)(`div`,{className:`error-boundary-page`,children:[(0,M.jsx)(`h1`,{className:`error-boundary-title`,children:fl(`errorBoundary.title`)}),(0,M.jsx)(`p`,{className:`error-boundary-desc`,children:fl(`errorBoundary.desc`)}),(0,M.jsx)(`button`,{onClick:this.handleReload,className:`error-boundary-btn`,children:fl(`errorBoundary.reload`)})]}):this.props.children}},ml=a(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),hl=a(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),gl=a(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),_l=a(`compass`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`,key:`9ktpf1`}]]),vl=a(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),yl=a(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),bl=a(`history`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]]),xl=a(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]),Sl=a(`unplug`,[[`path`,{d:`m19 5 3-3`,key:`yk6iyv`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z`,key:`1snsnr`}]]),Cl=a(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function wl(){let e=He(),t=Ks({select:e=>e.pathname}),n=c(e=>e.firstPath),r=c(e=>e.setFirstPath);return(0,j.useCallback)(()=>{if(!n||n===t){r(`/`),e({to:`/`,replace:!0});return}window.history.back()},[n,e,t,r])}function Tl(){let e=wl(),{t}=ul();return(0,M.jsx)(`div`,{className:`not-found-page`,children:(0,M.jsxs)(`div`,{className:`not-found-card`,children:[(0,M.jsx)(`div`,{className:`not-found-icon`,children:(0,M.jsx)(_l,{size:48,strokeWidth:1.5})}),(0,M.jsx)(`h1`,{className:`not-found-title`,children:t(`notFound.title`)}),(0,M.jsx)(`p`,{className:`not-found-desc`,children:t(`notFound.desc`)}),(0,M.jsxs)(`div`,{className:`not-found-actions`,children:[(0,M.jsxs)(`button`,{onClick:e,className:`btn btn-secondary`,children:[(0,M.jsx)(gl,{size:16}),t(`common.back`)]}),(0,M.jsxs)(S,{to:`/`,className:`btn btn-primary`,children:[(0,M.jsx)(hl,{size:16}),t(`common.backHome`)]})]})]})})}var El={" ":`space`,ArrowLeft:`arrowleft`,ArrowRight:`arrowright`,ArrowUp:`arrowup`,ArrowDown:`arrowdown`,Escape:`escape`,Esc:`escape`,esc:`escape`,Enter:`enter`,Tab:`tab`,Backspace:`backspace`,Delete:`delete`,Insert:`insert`,Home:`home`,End:`end`,PageUp:`pageup`,PageDown:`pagedown`,"+":`plus`,"-":`minus`,"*":`asterisk`,"/":`slash`};function Dl(e){let t=e.replace(`Key`,``).toLowerCase();return El[e]||t}function Ol(e){let t=e.toLowerCase().split(`+`).map(e=>e.trim()),n={alt:t.includes(`alt`),ctrl:t.includes(`ctrl`),meta:t.includes(`meta`),mod:t.includes(`mod`),shift:t.includes(`shift`)},r=[`alt`,`ctrl`,`meta`,`shift`,`mod`],i=t.find(e=>!r.includes(e));return{...n,key:i===`[plus]`?`+`:i}}function kl(e,t,n){let{alt:r,ctrl:i,meta:a,mod:o,shift:s,key:c}=e,{altKey:l,ctrlKey:u,metaKey:d,shiftKey:f,key:p,code:m}=t;if(r!==l)return!1;if(o){if(!u&&!d)return!1}else if(i!==u||a!==d)return!1;return s===f?!!(c&&(n?Dl(m)===Dl(c):Dl(p??m)===Dl(c))):!1}function Al(e,t){return n=>kl(Ol(e),n,t)}function jl(e,t,n=!1){return e.target instanceof HTMLElement?(n||!e.target.isContentEditable)&&!t.includes(e.target.tagName):!0}function Ml(e,t=[`INPUT`,`TEXTAREA`,`SELECT`],n=!1){let r=(0,j.useEffectEvent)(r=>{e.forEach(([e,i,a={preventDefault:!0,usePhysicalKeys:!1}])=>{Al(e,a.usePhysicalKeys)(r)&&jl(r,t,n)&&(a.preventDefault&&r.preventDefault(),i(r))})});(0,j.useEffect)(()=>(document.documentElement.addEventListener(`keydown`,r),()=>document.documentElement.removeEventListener(`keydown`,r)),[])}function Nl(){return typeof window>`u`?!1:window.electronAPI?.isElectron===!0?!0:/\bElectron\/\d+/i.test(window.navigator?.userAgent||``)}function Pl(){let[e,t]=(0,j.useState)(!1);return(0,j.useEffect)(()=>{t(Nl())},[]),e}var Fl=p();function Il({children:e,onClose:t,className:n=``}){Ml(t?[[`Escape`,t]]:[]),(0,j.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let t=()=>{document.documentElement.style.setProperty(`--modal-visual-height`,`${e.height}px`),document.documentElement.style.setProperty(`--modal-visual-top`,`${e.offsetTop}px`)};return t(),e.addEventListener(`resize`,t),e.addEventListener(`scroll`,t),()=>{e.removeEventListener(`resize`,t),e.removeEventListener(`scroll`,t),document.documentElement.style.removeProperty(`--modal-visual-height`),document.documentElement.style.removeProperty(`--modal-visual-top`)}},[]);let r=(0,M.jsxs)(`div`,{className:[`modal-overlay`,n].filter(Boolean).join(` `),children:[(0,M.jsx)(`div`,{className:`modal-overlay-backdrop`}),(0,M.jsx)(`div`,{className:`modal-glass`,children:e})]});return typeof document>`u`?r:(0,Fl.createPortal)(r,document.body)}function Ll({message:e,type:t,onDone:n,index:r}){return(0,j.useEffect)(()=>{let e=setTimeout(n,3e3);return()=>clearTimeout(e)},[]),(0,M.jsx)(`div`,{className:`toast ${t} toast-stack-${Math.min(Math.max(r,0),5)}`,children:e})}function Rl({title:e,message:t,confirmText:n,onConfirm:r,onClose:i,danger:a}){let{t:o}=ul();return(0,M.jsx)(Il,{onClose:i,children:(0,M.jsxs)(`div`,{className:`confirm-modal`,onClick:e=>e.stopPropagation(),children:[(0,M.jsxs)(`div`,{className:`modal-header`,children:[(0,M.jsx)(`h3`,{children:e}),(0,M.jsx)(`button`,{onClick:i,className:`btn btn-icon`,children:(0,M.jsx)(Cl,{size:18})})]}),(0,M.jsx)(`p`,{children:t}),(0,M.jsxs)(`div`,{className:`modal-actions`,children:[(0,M.jsx)(`button`,{onClick:i,className:`btn btn-secondary`,children:o(`common.cancel`)}),(0,M.jsx)(`button`,{onClick:r,className:`btn ${a?`btn-danger`:`btn-primary`}`,children:n})]})]})})}function zl({title:e,placeholder:t,defaultValue:n,confirmText:r,onConfirm:i,onClose:a,isLoading:o,loadingText:s,validate:c,allowEmpty:l=!1}){let{t:u}=ul(),[d,f]=(0,j.useState)(n||``),p=d.trim(),m=p&&c?c(p):``,h=(l||!!p)&&!m&&!o;function g(){h&&i(p)}return(0,M.jsx)(Il,{onClose:a,children:(0,M.jsxs)(`div`,{className:`input-modal`,onClick:e=>e.stopPropagation(),children:[(0,M.jsxs)(`div`,{className:`modal-header`,children:[(0,M.jsx)(`h3`,{children:e}),(0,M.jsx)(`button`,{onClick:a,className:`btn btn-icon`,children:(0,M.jsx)(Cl,{size:18})})]}),(0,M.jsx)(`input`,{type:`text`,value:d,onChange:e=>f(e.target.value),placeholder:t,autoFocus:!0,onKeyDown:e=>{e.key===`Enter`&&g()},className:`input input-compact`,"aria-invalid":!!m,"aria-describedby":m?`input-modal-error`:void 0}),m&&(0,M.jsx)(`p`,{className:`input-modal-error`,id:`input-modal-error`,children:m}),(0,M.jsxs)(`div`,{className:`modal-actions`,children:[(0,M.jsx)(`button`,{onClick:a,disabled:o,className:`btn btn-secondary`,children:u(`common.cancel`)}),(0,M.jsx)(`button`,{onClick:g,disabled:!h,className:`btn btn-primary ${o?`btn-loading`:``}`,children:o?s||u(`common.processing`):r})]})]})})}var Bl=8,Vl=8;function Hl({ariaLabel:e,items:t=[],renderContent:n,renderTrigger:r,placement:i=`bottom-end`,disabled:a=!1,className:o=``,menuClassName:s=``}){let c=(0,j.useId)(),l=(0,j.useRef)(null),u=(0,j.useRef)(null),[d,f]=(0,j.useState)(!1),[p,m]=(0,j.useState)(!1),[h,g]=(0,j.useState)(!1),_=(0,j.useCallback)(e=>{l.current=e},[]),v=(0,j.useCallback)(()=>{m(!1),g(!1)},[]),y=(0,j.useCallback)(()=>{let e=l.current,t=u.current;if(!e||!t)return;let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=window.innerWidth,o=window.innerHeight,s=i.startsWith(`top`),c=i.endsWith(`end`),d=s?n.top-r.height-Bl:n.bottom+Bl,f=c?n.right-r.width:n.left,p=Math.max(Vl,a-r.width-Vl),m=Math.max(Vl,o-r.height-Vl),h={top:Math.min(Math.max(d,Vl),m),left:Math.min(Math.max(f,Vl),p)};t.style.setProperty(`--action-menu-top`,`${h.top}px`),t.style.setProperty(`--action-menu-left`,`${h.left}px`),g(!0)},[i]);(0,j.useEffect)(()=>{f(!0)},[]),(0,j.useEffect)(()=>{a&&v()},[v,a]),(0,j.useLayoutEffect)(()=>{p&&(g(!1),y())},[p,t.length,y]),(0,j.useEffect)(()=>{if(!p)return;let e=window.requestAnimationFrame(()=>{(u.current?.querySelector(`button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])`))?.focus({preventScroll:!0})});return()=>window.cancelAnimationFrame(e)},[p]),(0,j.useEffect)(()=>{if(!p)return;function e(e){let t=e.target;t instanceof Node&&(l.current?.contains(t)||u.current?.contains(t)||v())}function t(e){e.key===`Escape`&&(v(),l.current?.focus({preventScroll:!0}))}return document.addEventListener(`pointerdown`,e,!0),document.addEventListener(`keydown`,t),window.addEventListener(`resize`,y),window.addEventListener(`scroll`,y,!0),()=>{document.removeEventListener(`pointerdown`,e,!0),document.removeEventListener(`keydown`,t),window.removeEventListener(`resize`,y),window.removeEventListener(`scroll`,y,!0)}},[v,p,y]);function b(e){e.stopPropagation(),!a&&m(e=>!e)}function x(e){e.key===`ArrowDown`&&(e.preventDefault(),a||m(!0))}let S=d&&p?(0,Fl.createPortal)((0,M.jsx)(`div`,{ref:u,id:c,className:[`ui-action-menu`,h?`is-positioned`:``,s].filter(Boolean).join(` `),role:`menu`,"aria-label":e,onClick:e=>e.stopPropagation(),children:n?n({closeMenu:v}):t.map(e=>(0,M.jsxs)(`button`,{type:`button`,className:[`ui-action-menu-item`,e.icon?`has-icon`:``,e.description?`has-description`:``,e.danger?`danger`:``].filter(Boolean).join(` `),role:`menuitem`,disabled:e.disabled,onClick:t=>{t.stopPropagation(),v(),e.onSelect()},children:[e.icon&&(0,M.jsx)(`span`,{className:`ui-action-menu-item-icon`,children:e.icon}),(0,M.jsx)(`span`,{className:`ui-action-menu-item-label`,children:e.label}),e.description&&(0,M.jsx)(`span`,{className:`ui-action-menu-item-description`,children:e.description})]},e.key))}),document.body):null;return(0,M.jsxs)(`span`,{className:[`ui-action-menu-anchor`,o].filter(Boolean).join(` `),children:[r({ref:_,type:`button`,disabled:a,onClick:b,onKeyDown:x,"aria-haspopup":`menu`,"aria-expanded":p,"aria-controls":c}),S]})}var Ul=class extends Error{constructor(e,t){let n=[];for(let e of t){let t=[];e.instancePath&&t.push(e.instancePath),e.message&&t.push(e.message),n.push(t.join(` `))}super(`${e}: ${n.join(`, `)}`),this.name=`ValidationError`,this.details=t}},Wl=class extends Ul{constructor(e){super(`Invalid style definition`,e),this.name=`StyleValidationError`}};function Gl(e){let t=0;for(let n of e)t++;return t}var Kl=Gl,ql=RegExp(`^https?://`,`u`),Jl=RegExp(`^[a-z][a-zA-Z0-9]*$`,`u`),Yl=RegExp(`^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`,`u`),Xl={description:"A map of allowed SVG presentation attributes. Only a safe subset is permitted; event handlers (e.g. `onclick`) and namespace attributes (e.g. `xlink:href`) are not allowed.",type:`object`,properties:{"alignment-baseline":{$ref:`#/definitions/attributeString`},amplitude:{$ref:`#/definitions/attributeString`},azimuth:{$ref:`#/definitions/attributeString`},baseFrequency:{$ref:`#/definitions/attributeString`},"baseline-shift":{$ref:`#/definitions/attributeString`},bias:{$ref:`#/definitions/attributeString`},class:{$ref:`#/definitions/attributeString`},clipPathUnits:{$ref:`#/definitions/attributeString`},"clip-path":{$ref:`#/definitions/attributeString`},"clip-rule":{$ref:`#/definitions/attributeString`},color:{$ref:`#/definitions/colorValue`},"color-interpolation":{$ref:`#/definitions/attributeString`},"color-interpolation-filters":{$ref:`#/definitions/attributeString`},crossorigin:{$ref:`#/definitions/attributeString`},cx:{$ref:`#/definitions/attributeString`},cy:{$ref:`#/definitions/attributeString`},d:{$ref:`#/definitions/pathDataString`},decoding:{$ref:`#/definitions/attributeString`},diffuseConstant:{$ref:`#/definitions/attributeString`},direction:{$ref:`#/definitions/attributeString`},display:{$ref:`#/definitions/attributeString`},divisor:{$ref:`#/definitions/attributeString`},"dominant-baseline":{$ref:`#/definitions/attributeString`},dx:{$ref:`#/definitions/attributeString`},dy:{$ref:`#/definitions/attributeString`},edgeMode:{$ref:`#/definitions/attributeString`},elevation:{$ref:`#/definitions/attributeString`},exponent:{$ref:`#/definitions/attributeString`},fill:{$ref:`#/definitions/colorValue`},"fill-opacity":{$ref:`#/definitions/attributeString`},"fill-rule":{$ref:`#/definitions/attributeString`},filter:{$ref:`#/definitions/attributeString`},filterUnits:{$ref:`#/definitions/attributeString`},"flood-color":{$ref:`#/definitions/colorValue`},"flood-opacity":{$ref:`#/definitions/attributeString`},"font-family":{anyOf:[{$ref:`#/definitions/attributeString`},{type:`object`,properties:{type:{const:`variable`},name:{const:`fontFamily`}},required:[`type`,`name`],additionalProperties:!1}]},"font-size":{$ref:`#/definitions/attributeString`},"font-size-adjust":{$ref:`#/definitions/attributeString`},"font-style":{$ref:`#/definitions/attributeString`},"font-variant":{$ref:`#/definitions/attributeString`},"font-weight":{anyOf:[{$ref:`#/definitions/attributeString`},{type:`object`,properties:{type:{const:`variable`},name:{const:`fontWeight`}},required:[`type`,`name`],additionalProperties:!1}]},fx:{$ref:`#/definitions/attributeString`},fy:{$ref:`#/definitions/attributeString`},gradientTransform:{$ref:`#/definitions/attributeString`},gradientUnits:{$ref:`#/definitions/attributeString`},height:{$ref:`#/definitions/attributeString`},href:{anyOf:[{type:`string`,pattern:`^#[a-zA-Z_][a-zA-Z0-9_.-]*$`,maxLength:128},{type:`string`,pattern:`^data:image/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$`,maxLength:262144}]},id:{$ref:`#/definitions/attributeString`},"image-rendering":{$ref:`#/definitions/attributeString`},in:{$ref:`#/definitions/attributeString`},in2:{$ref:`#/definitions/attributeString`},intercept:{$ref:`#/definitions/attributeString`},k1:{$ref:`#/definitions/attributeString`},k2:{$ref:`#/definitions/attributeString`},k3:{$ref:`#/definitions/attributeString`},k4:{$ref:`#/definitions/attributeString`},kernelMatrix:{$ref:`#/definitions/attributeString`},kernelUnitLength:{$ref:`#/definitions/attributeString`},lang:{$ref:`#/definitions/attributeString`},lengthAdjust:{$ref:`#/definitions/attributeString`},"letter-spacing":{$ref:`#/definitions/attributeString`},"lighting-color":{$ref:`#/definitions/colorValue`},"marker-end":{$ref:`#/definitions/attributeString`},"marker-mid":{$ref:`#/definitions/attributeString`},"marker-start":{$ref:`#/definitions/attributeString`},markerHeight:{$ref:`#/definitions/attributeString`},markerUnits:{$ref:`#/definitions/attributeString`},markerWidth:{$ref:`#/definitions/attributeString`},mask:{$ref:`#/definitions/attributeString`},maskContentUnits:{$ref:`#/definitions/attributeString`},maskUnits:{$ref:`#/definitions/attributeString`},media:{$ref:`#/definitions/attributeString`},method:{$ref:`#/definitions/attributeString`},mode:{$ref:`#/definitions/attributeString`},numOctaves:{$ref:`#/definitions/attributeString`},offset:{$ref:`#/definitions/attributeString`},opacity:{$ref:`#/definitions/attributeString`},operator:{$ref:`#/definitions/attributeString`},order:{$ref:`#/definitions/attributeString`},orient:{$ref:`#/definitions/attributeString`},overflow:{$ref:`#/definitions/attributeString`},"paint-order":{$ref:`#/definitions/attributeString`},path:{$ref:`#/definitions/attributeString`},pathLength:{$ref:`#/definitions/attributeString`},patternContentUnits:{$ref:`#/definitions/attributeString`},patternTransform:{$ref:`#/definitions/attributeString`},patternUnits:{$ref:`#/definitions/attributeString`},points:{$ref:`#/definitions/attributeString`},preserveAlpha:{$ref:`#/definitions/attributeString`},preserveAspectRatio:{$ref:`#/definitions/attributeString`},primitiveUnits:{$ref:`#/definitions/attributeString`},r:{$ref:`#/definitions/attributeString`},radius:{$ref:`#/definitions/attributeString`},refX:{$ref:`#/definitions/attributeString`},refY:{$ref:`#/definitions/attributeString`},result:{$ref:`#/definitions/attributeString`},rx:{$ref:`#/definitions/attributeString`},ry:{$ref:`#/definitions/attributeString`},scale:{$ref:`#/definitions/attributeString`},seed:{$ref:`#/definitions/attributeString`},"shape-rendering":{$ref:`#/definitions/attributeString`},slope:{$ref:`#/definitions/attributeString`},specularConstant:{$ref:`#/definitions/attributeString`},specularExponent:{$ref:`#/definitions/attributeString`},spreadMethod:{$ref:`#/definitions/attributeString`},startOffset:{$ref:`#/definitions/attributeString`},stdDeviation:{$ref:`#/definitions/attributeString`},stitchTiles:{$ref:`#/definitions/attributeString`},"stop-color":{$ref:`#/definitions/colorValue`},"stop-opacity":{$ref:`#/definitions/attributeString`},stroke:{$ref:`#/definitions/colorValue`},"stroke-dasharray":{$ref:`#/definitions/attributeString`},"stroke-dashoffset":{$ref:`#/definitions/attributeString`},"stroke-linecap":{$ref:`#/definitions/attributeString`},"stroke-linejoin":{$ref:`#/definitions/attributeString`},"stroke-miterlimit":{$ref:`#/definitions/attributeString`},"stroke-opacity":{$ref:`#/definitions/attributeString`},"stroke-width":{$ref:`#/definitions/attributeString`},style:{$ref:`#/definitions/cssString`},surfaceScale:{$ref:`#/definitions/attributeString`},systemLanguage:{$ref:`#/definitions/attributeString`},tabindex:{$ref:`#/definitions/attributeString`},tableValues:{$ref:`#/definitions/attributeString`},targetX:{$ref:`#/definitions/attributeString`},targetY:{$ref:`#/definitions/attributeString`},"text-anchor":{$ref:`#/definitions/attributeString`},"text-decoration":{$ref:`#/definitions/attributeString`},"text-rendering":{$ref:`#/definitions/attributeString`},textLength:{$ref:`#/definitions/attributeString`},transform:{$ref:`#/definitions/attributeString`},"transform-origin":{$ref:`#/definitions/attributeString`},type:{$ref:`#/definitions/attributeString`},values:{$ref:`#/definitions/attributeString`},viewBox:{$ref:`#/definitions/attributeString`},visibility:{$ref:`#/definitions/attributeString`},width:{$ref:`#/definitions/attributeString`},"word-spacing":{$ref:`#/definitions/attributeString`},"writing-mode":{$ref:`#/definitions/attributeString`},x:{$ref:`#/definitions/attributeString`},x1:{$ref:`#/definitions/attributeString`},x2:{$ref:`#/definitions/attributeString`},xChannelSelector:{$ref:`#/definitions/attributeString`},y:{$ref:`#/definitions/attributeString`},y1:{$ref:`#/definitions/attributeString`},y2:{$ref:`#/definitions/attributeString`},yChannelSelector:{$ref:`#/definitions/attributeString`},z:{$ref:`#/definitions/attributeString`}},additionalProperties:!1},Zl=Object.prototype.hasOwnProperty,Ql=RegExp(`[uU][rR][lL]\\s*\\(\\s*[^#)\\s]`,`u`),N=RegExp(`[eE][xX][pP][rR][eE][sS][sS][iI][oO][nN]\\s*\\(`,`u`),P=RegExp(`[bB][eE][hH][aA][vV][iI][oO][rR]\\s*:`,`u`),F=RegExp(`-[mM][oO][zZ]-[bB][iI][nN][dD][iI][nN][gG]`,`u`),I=RegExp(`[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT]\\s*:`,`u`),L=RegExp(`[vV][bB][sS][cC][rR][iI][pP][tT]\\s*:`,`u`),$l=RegExp(`\\\\`,`u`);function R(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=o,l=o;if(typeof e!=`string`){let e={};a===null?a=[e]:a.push(e),o++}let u=o,d=!1,f=o;if(o===f)if(typeof e==`string`){if(!Ql.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=f===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!N.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!P.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!F.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!I.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!L.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!$l.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;d||=p}}}}}}if(d)o=u,a!==null&&(u?a.length=u:a=null);else{let e={};a===null?a=[e]:a.push(e),o++}if(l===o)return R.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/not`,keyword:`not`,params:{},message:`must NOT be valid`}],!1;if(o=c,a!==null&&(c?a.length=c:a=null),o===s)if(typeof e==`string`){if(Kl(e)>16384)return R.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return R.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;if(o===0)if(typeof e==`string`){if(Kl(e)>1024)return R.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:1024},message:`must NOT have more than 1024 characters`}],!1}else return R.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return R.errors=a,o===0}function eu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){if(typeof e==`string`){if(Kl(e)>64)return eu.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`}],!1;if(!Jl.test(e))return eu.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`}],!1}else return eu.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return eu.errors=null,!0}function tu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;R(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var u=l===o;if(c||=u,!c){let n=o;if(o===n)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.name===void 0&&(n=`name`)){let e={instancePath:t,schemaPath:`#/anyOf/1/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`};a===null?a=[e]:a.push(e),o++}else{let n=o;for(let n in e)if(!(n===`type`||n===`name`)){let e={instancePath:t,schemaPath:`#/anyOf/1/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`};a===null?a=[e]:a.push(e),o++;break}if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`color`){let e={instancePath:t+`/type`,schemaPath:`#/anyOf/1/properties/type/const`,keyword:`const`,params:{allowedValue:`color`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var d=n===o}else var d=!0;if(d)if(e.name!==void 0){let n=o;eu(e.name,{instancePath:t+`/name`,parentData:e,parentDataProperty:`name`,rootData:i})||(a=a===null?eu.errors:a.concat(eu.errors),o=a.length);var d=n===o}else var d=!0}}}else{let e={instancePath:t,schemaPath:`#/anyOf/1/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var u=n===o;c||=u}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t,schemaPath:`#/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,tu.errors=a,!1}return tu.errors=a,o===0}function nu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=o,l=o;if(typeof e!=`string`){let e={};a===null?a=[e]:a.push(e),o++}let u=o,d=!1,f=o;if(o===f)if(typeof e==`string`){if(!Ql.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=f===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!N.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!P.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!F.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!I.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!L.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(d||=p,!d){let t=o;if(o===t)if(typeof e==`string`){if(!$l.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;d||=p}}}}}}if(d)o=u,a!==null&&(u?a.length=u:a=null);else{let e={};a===null?a=[e]:a.push(e),o++}if(l===o)return nu.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/not`,keyword:`not`,params:{},message:`must NOT be valid`}],!1;if(o=c,a!==null&&(c?a.length=c:a=null),o===s)if(typeof e==`string`){if(Kl(e)>16384)return nu.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return nu.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;if(o===0)if(typeof e==`string`){if(Kl(e)>16384)return nu.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return nu.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return nu.errors=a,o===0}var ru=RegExp(`@[iI][mM][pP][oO][rR][tT]`,`u`),iu=RegExp(`@[fF][oO][nN][tT]-[fF][aA][cC][eE]`,`u`),au=RegExp(`@[dD][oO][cC][uU][mM][eE][nN][tT]`,`u`),ou=RegExp(`@[cC][hH][aA][rR][sS][eE][tT]`,`u`);function su(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=o;if(typeof e!=`string`){let e={};a===null?a=[e]:a.push(e),o++}let l=o,u=!1,d=o;if(o===d)if(typeof e==`string`){if(!ru.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var f=d===o;if(u||=f,!u){let t=o;if(o===t)if(typeof e==`string`){if(!iu.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var f=t===o;if(u||=f,!u){let t=o;if(o===t)if(typeof e==`string`){if(!au.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var f=t===o;if(u||=f,!u){let t=o;if(o===t)if(typeof e==`string`){if(!ou.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var f=t===o;u||=f}}}if(u)o=l,a!==null&&(l?a.length=l:a=null);else{let e={};a===null?a=[e]:a.push(e),o++}if(c===o)return su.errors=[{instancePath:t,schemaPath:`#/not`,keyword:`not`,params:{},message:`must NOT be valid`}],!1;{o=s,a!==null&&(s?a.length=s:a=null);let n=o,r=o,i=o;if(typeof e!=`string`){let e={};a===null?a=[e]:a.push(e),o++}let c=o,l=!1,u=o;if(o===u)if(typeof e==`string`){if(!Ql.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=u===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!N.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!P.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!F.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!I.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!L.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;if(l||=p,!l){let t=o;if(o===t)if(typeof e==`string`){if(!$l.test(e)){let e={};a===null?a=[e]:a.push(e),o++}}else{let e={};a===null?a=[e]:a.push(e),o++}var p=t===o;l||=p}}}}}}if(l)o=c,a!==null&&(c?a.length=c:a=null);else{let e={};a===null?a=[e]:a.push(e),o++}if(i===o)return su.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/not`,keyword:`not`,params:{},message:`must NOT be valid`}],!1;if(o=r,a!==null&&(r?a.length=r:a=null),o===n)if(typeof e==`string`){if(Kl(e)>16384)return su.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return su.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1}if(o===0)if(typeof e==`string`){if(Kl(e)>4096)return su.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:4096},message:`must NOT have more than 4096 characters`}],!1}else return su.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return su.errors=a,o===0}var cu=RegExp(`^#[a-zA-Z_][a-zA-Z0-9_.-]*$`,`u`),lu=RegExp(`^data:image/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$`,`u`);function z(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n=o;for(let n in e)if(!Zl.call(Xl.properties,n))return z.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e[`alignment-baseline`]!==void 0){let n=o;R(e[`alignment-baseline`],{instancePath:t+`/alignment-baseline`,parentData:e,parentDataProperty:`alignment-baseline`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.amplitude!==void 0){let n=o;R(e.amplitude,{instancePath:t+`/amplitude`,parentData:e,parentDataProperty:`amplitude`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.azimuth!==void 0){let n=o;R(e.azimuth,{instancePath:t+`/azimuth`,parentData:e,parentDataProperty:`azimuth`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.baseFrequency!==void 0){let n=o;R(e.baseFrequency,{instancePath:t+`/baseFrequency`,parentData:e,parentDataProperty:`baseFrequency`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`baseline-shift`]!==void 0){let n=o;R(e[`baseline-shift`],{instancePath:t+`/baseline-shift`,parentData:e,parentDataProperty:`baseline-shift`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.bias!==void 0){let n=o;R(e.bias,{instancePath:t+`/bias`,parentData:e,parentDataProperty:`bias`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.class!==void 0){let n=o;R(e.class,{instancePath:t+`/class`,parentData:e,parentDataProperty:`class`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.clipPathUnits!==void 0){let n=o;R(e.clipPathUnits,{instancePath:t+`/clipPathUnits`,parentData:e,parentDataProperty:`clipPathUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`clip-path`]!==void 0){let n=o;R(e[`clip-path`],{instancePath:t+`/clip-path`,parentData:e,parentDataProperty:`clip-path`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`clip-rule`]!==void 0){let n=o;R(e[`clip-rule`],{instancePath:t+`/clip-rule`,parentData:e,parentDataProperty:`clip-rule`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.color!==void 0){let n=o;tu(e.color,{instancePath:t+`/color`,parentData:e,parentDataProperty:`color`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`color-interpolation`]!==void 0){let n=o;R(e[`color-interpolation`],{instancePath:t+`/color-interpolation`,parentData:e,parentDataProperty:`color-interpolation`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`color-interpolation-filters`]!==void 0){let n=o;R(e[`color-interpolation-filters`],{instancePath:t+`/color-interpolation-filters`,parentData:e,parentDataProperty:`color-interpolation-filters`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.crossorigin!==void 0){let n=o;R(e.crossorigin,{instancePath:t+`/crossorigin`,parentData:e,parentDataProperty:`crossorigin`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.cx!==void 0){let n=o;R(e.cx,{instancePath:t+`/cx`,parentData:e,parentDataProperty:`cx`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.cy!==void 0){let n=o;R(e.cy,{instancePath:t+`/cy`,parentData:e,parentDataProperty:`cy`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.d!==void 0){let n=o;nu(e.d,{instancePath:t+`/d`,parentData:e,parentDataProperty:`d`,rootData:i})||(a=a===null?nu.errors:a.concat(nu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.decoding!==void 0){let n=o;R(e.decoding,{instancePath:t+`/decoding`,parentData:e,parentDataProperty:`decoding`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.diffuseConstant!==void 0){let n=o;R(e.diffuseConstant,{instancePath:t+`/diffuseConstant`,parentData:e,parentDataProperty:`diffuseConstant`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.direction!==void 0){let n=o;R(e.direction,{instancePath:t+`/direction`,parentData:e,parentDataProperty:`direction`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.display!==void 0){let n=o;R(e.display,{instancePath:t+`/display`,parentData:e,parentDataProperty:`display`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.divisor!==void 0){let n=o;R(e.divisor,{instancePath:t+`/divisor`,parentData:e,parentDataProperty:`divisor`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`dominant-baseline`]!==void 0){let n=o;R(e[`dominant-baseline`],{instancePath:t+`/dominant-baseline`,parentData:e,parentDataProperty:`dominant-baseline`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.dx!==void 0){let n=o;R(e.dx,{instancePath:t+`/dx`,parentData:e,parentDataProperty:`dx`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.dy!==void 0){let n=o;R(e.dy,{instancePath:t+`/dy`,parentData:e,parentDataProperty:`dy`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.edgeMode!==void 0){let n=o;R(e.edgeMode,{instancePath:t+`/edgeMode`,parentData:e,parentDataProperty:`edgeMode`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.elevation!==void 0){let n=o;R(e.elevation,{instancePath:t+`/elevation`,parentData:e,parentDataProperty:`elevation`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.exponent!==void 0){let n=o;R(e.exponent,{instancePath:t+`/exponent`,parentData:e,parentDataProperty:`exponent`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.fill!==void 0){let n=o;tu(e.fill,{instancePath:t+`/fill`,parentData:e,parentDataProperty:`fill`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`fill-opacity`]!==void 0){let n=o;R(e[`fill-opacity`],{instancePath:t+`/fill-opacity`,parentData:e,parentDataProperty:`fill-opacity`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`fill-rule`]!==void 0){let n=o;R(e[`fill-rule`],{instancePath:t+`/fill-rule`,parentData:e,parentDataProperty:`fill-rule`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.filter!==void 0){let n=o;R(e.filter,{instancePath:t+`/filter`,parentData:e,parentDataProperty:`filter`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.filterUnits!==void 0){let n=o;R(e.filterUnits,{instancePath:t+`/filterUnits`,parentData:e,parentDataProperty:`filterUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`flood-color`]!==void 0){let n=o;tu(e[`flood-color`],{instancePath:t+`/flood-color`,parentData:e,parentDataProperty:`flood-color`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`flood-opacity`]!==void 0){let n=o;R(e[`flood-opacity`],{instancePath:t+`/flood-opacity`,parentData:e,parentDataProperty:`flood-opacity`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-family`]!==void 0){let n=e[`font-family`],r=o,u=o,d=!1,f=o;R(n,{instancePath:t+`/font-family`,parentData:e,parentDataProperty:`font-family`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var c=f===o;if(d||=c,!d){let e=o;if(o===e)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.type===void 0&&(e=`type`)||n.name===void 0&&(e=`name`)){let n={instancePath:t+`/font-family`,schemaPath:`#/properties/font-family/anyOf/1/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`};a===null?a=[n]:a.push(n),o++}else{let e=o;for(let e in n)if(!(e===`type`||e===`name`)){let n={instancePath:t+`/font-family`,schemaPath:`#/properties/font-family/anyOf/1/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`};a===null?a=[n]:a.push(n),o++;break}if(e===o){if(n.type!==void 0){let e=o;if(n.type!==`variable`){let e={instancePath:t+`/font-family/type`,schemaPath:`#/properties/font-family/anyOf/1/properties/type/const`,keyword:`const`,params:{allowedValue:`variable`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var l=e===o}else var l=!0;if(l)if(n.name!==void 0){let e=o;if(n.name!==`fontFamily`){let e={instancePath:t+`/font-family/name`,schemaPath:`#/properties/font-family/anyOf/1/properties/name/const`,keyword:`const`,params:{allowedValue:`fontFamily`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var l=e===o}else var l=!0}}}else{let e={instancePath:t+`/font-family`,schemaPath:`#/properties/font-family/anyOf/1/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var c=e===o;d||=c}if(d)o=u,a!==null&&(u?a.length=u:a=null);else{let e={instancePath:t+`/font-family`,schemaPath:`#/properties/font-family/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,z.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e[`font-size`]!==void 0){let n=o;R(e[`font-size`],{instancePath:t+`/font-size`,parentData:e,parentDataProperty:`font-size`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-size-adjust`]!==void 0){let n=o;R(e[`font-size-adjust`],{instancePath:t+`/font-size-adjust`,parentData:e,parentDataProperty:`font-size-adjust`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-style`]!==void 0){let n=o;R(e[`font-style`],{instancePath:t+`/font-style`,parentData:e,parentDataProperty:`font-style`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-variant`]!==void 0){let n=o;R(e[`font-variant`],{instancePath:t+`/font-variant`,parentData:e,parentDataProperty:`font-variant`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-weight`]!==void 0){let n=e[`font-weight`],r=o,c=o,l=!1,f=o;R(n,{instancePath:t+`/font-weight`,parentData:e,parentDataProperty:`font-weight`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var u=f===o;if(l||=u,!l){let e=o;if(o===e)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.type===void 0&&(e=`type`)||n.name===void 0&&(e=`name`)){let n={instancePath:t+`/font-weight`,schemaPath:`#/properties/font-weight/anyOf/1/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`};a===null?a=[n]:a.push(n),o++}else{let e=o;for(let e in n)if(!(e===`type`||e===`name`)){let n={instancePath:t+`/font-weight`,schemaPath:`#/properties/font-weight/anyOf/1/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`};a===null?a=[n]:a.push(n),o++;break}if(e===o){if(n.type!==void 0){let e=o;if(n.type!==`variable`){let e={instancePath:t+`/font-weight/type`,schemaPath:`#/properties/font-weight/anyOf/1/properties/type/const`,keyword:`const`,params:{allowedValue:`variable`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var d=e===o}else var d=!0;if(d)if(n.name!==void 0){let e=o;if(n.name!==`fontWeight`){let e={instancePath:t+`/font-weight/name`,schemaPath:`#/properties/font-weight/anyOf/1/properties/name/const`,keyword:`const`,params:{allowedValue:`fontWeight`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var d=e===o}else var d=!0}}}else{let e={instancePath:t+`/font-weight`,schemaPath:`#/properties/font-weight/anyOf/1/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var u=e===o;l||=u}if(l)o=c,a!==null&&(c?a.length=c:a=null);else{let e={instancePath:t+`/font-weight`,schemaPath:`#/properties/font-weight/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,z.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e.fx!==void 0){let n=o;R(e.fx,{instancePath:t+`/fx`,parentData:e,parentDataProperty:`fx`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.fy!==void 0){let n=o;R(e.fy,{instancePath:t+`/fy`,parentData:e,parentDataProperty:`fy`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.gradientTransform!==void 0){let n=o;R(e.gradientTransform,{instancePath:t+`/gradientTransform`,parentData:e,parentDataProperty:`gradientTransform`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.gradientUnits!==void 0){let n=o;R(e.gradientUnits,{instancePath:t+`/gradientUnits`,parentData:e,parentDataProperty:`gradientUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.height!==void 0){let n=o;R(e.height,{instancePath:t+`/height`,parentData:e,parentDataProperty:`height`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.href!==void 0){let n=e.href,r=o,i=o,c=!1,l=o;if(o===l)if(typeof n==`string`){if(Kl(n)>128){let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/0/maxLength`,keyword:`maxLength`,params:{limit:128},message:`must NOT have more than 128 characters`};a===null?a=[e]:a.push(e),o++}else if(!cu.test(n)){let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/0/pattern`,keyword:`pattern`,params:{pattern:`^#[a-zA-Z_][a-zA-Z0-9_.-]*$`},message:`must match pattern "^#[a-zA-Z_][a-zA-Z0-9_.-]*$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/0/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var f=l===o;if(c||=f,!c){let e=o;if(o===e)if(typeof n==`string`){if(Kl(n)>262144){let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/1/maxLength`,keyword:`maxLength`,params:{limit:262144},message:`must NOT have more than 262144 characters`};a===null?a=[e]:a.push(e),o++}else if(!lu.test(n)){let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/1/pattern`,keyword:`pattern`,params:{pattern:`^data:image/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$`},message:`must match pattern "^data:image/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf/1/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var f=e===o;c||=f}if(c)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/href`,schemaPath:`#/properties/href/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,z.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e.id!==void 0){let n=o;R(e.id,{instancePath:t+`/id`,parentData:e,parentDataProperty:`id`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`image-rendering`]!==void 0){let n=o;R(e[`image-rendering`],{instancePath:t+`/image-rendering`,parentData:e,parentDataProperty:`image-rendering`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.in!==void 0){let n=o;R(e.in,{instancePath:t+`/in`,parentData:e,parentDataProperty:`in`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.in2!==void 0){let n=o;R(e.in2,{instancePath:t+`/in2`,parentData:e,parentDataProperty:`in2`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.intercept!==void 0){let n=o;R(e.intercept,{instancePath:t+`/intercept`,parentData:e,parentDataProperty:`intercept`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k1!==void 0){let n=o;R(e.k1,{instancePath:t+`/k1`,parentData:e,parentDataProperty:`k1`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k2!==void 0){let n=o;R(e.k2,{instancePath:t+`/k2`,parentData:e,parentDataProperty:`k2`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k3!==void 0){let n=o;R(e.k3,{instancePath:t+`/k3`,parentData:e,parentDataProperty:`k3`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k4!==void 0){let n=o;R(e.k4,{instancePath:t+`/k4`,parentData:e,parentDataProperty:`k4`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.kernelMatrix!==void 0){let n=o;R(e.kernelMatrix,{instancePath:t+`/kernelMatrix`,parentData:e,parentDataProperty:`kernelMatrix`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.kernelUnitLength!==void 0){let n=o;R(e.kernelUnitLength,{instancePath:t+`/kernelUnitLength`,parentData:e,parentDataProperty:`kernelUnitLength`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.lang!==void 0){let n=o;R(e.lang,{instancePath:t+`/lang`,parentData:e,parentDataProperty:`lang`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.lengthAdjust!==void 0){let n=o;R(e.lengthAdjust,{instancePath:t+`/lengthAdjust`,parentData:e,parentDataProperty:`lengthAdjust`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`letter-spacing`]!==void 0){let n=o;R(e[`letter-spacing`],{instancePath:t+`/letter-spacing`,parentData:e,parentDataProperty:`letter-spacing`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`lighting-color`]!==void 0){let n=o;tu(e[`lighting-color`],{instancePath:t+`/lighting-color`,parentData:e,parentDataProperty:`lighting-color`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-end`]!==void 0){let n=o;R(e[`marker-end`],{instancePath:t+`/marker-end`,parentData:e,parentDataProperty:`marker-end`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-mid`]!==void 0){let n=o;R(e[`marker-mid`],{instancePath:t+`/marker-mid`,parentData:e,parentDataProperty:`marker-mid`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-start`]!==void 0){let n=o;R(e[`marker-start`],{instancePath:t+`/marker-start`,parentData:e,parentDataProperty:`marker-start`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerHeight!==void 0){let n=o;R(e.markerHeight,{instancePath:t+`/markerHeight`,parentData:e,parentDataProperty:`markerHeight`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerUnits!==void 0){let n=o;R(e.markerUnits,{instancePath:t+`/markerUnits`,parentData:e,parentDataProperty:`markerUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerWidth!==void 0){let n=o;R(e.markerWidth,{instancePath:t+`/markerWidth`,parentData:e,parentDataProperty:`markerWidth`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.mask!==void 0){let n=o;R(e.mask,{instancePath:t+`/mask`,parentData:e,parentDataProperty:`mask`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.maskContentUnits!==void 0){let n=o;R(e.maskContentUnits,{instancePath:t+`/maskContentUnits`,parentData:e,parentDataProperty:`maskContentUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.maskUnits!==void 0){let n=o;R(e.maskUnits,{instancePath:t+`/maskUnits`,parentData:e,parentDataProperty:`maskUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.media!==void 0){let n=o;R(e.media,{instancePath:t+`/media`,parentData:e,parentDataProperty:`media`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.method!==void 0){let n=o;R(e.method,{instancePath:t+`/method`,parentData:e,parentDataProperty:`method`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.mode!==void 0){let n=o;R(e.mode,{instancePath:t+`/mode`,parentData:e,parentDataProperty:`mode`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.numOctaves!==void 0){let n=o;R(e.numOctaves,{instancePath:t+`/numOctaves`,parentData:e,parentDataProperty:`numOctaves`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.offset!==void 0){let n=o;R(e.offset,{instancePath:t+`/offset`,parentData:e,parentDataProperty:`offset`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.opacity!==void 0){let n=o;R(e.opacity,{instancePath:t+`/opacity`,parentData:e,parentDataProperty:`opacity`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.operator!==void 0){let n=o;R(e.operator,{instancePath:t+`/operator`,parentData:e,parentDataProperty:`operator`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.order!==void 0){let n=o;R(e.order,{instancePath:t+`/order`,parentData:e,parentDataProperty:`order`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.orient!==void 0){let n=o;R(e.orient,{instancePath:t+`/orient`,parentData:e,parentDataProperty:`orient`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.overflow!==void 0){let n=o;R(e.overflow,{instancePath:t+`/overflow`,parentData:e,parentDataProperty:`overflow`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`paint-order`]!==void 0){let n=o;R(e[`paint-order`],{instancePath:t+`/paint-order`,parentData:e,parentDataProperty:`paint-order`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.path!==void 0){let n=o;R(e.path,{instancePath:t+`/path`,parentData:e,parentDataProperty:`path`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.pathLength!==void 0){let n=o;R(e.pathLength,{instancePath:t+`/pathLength`,parentData:e,parentDataProperty:`pathLength`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternContentUnits!==void 0){let n=o;R(e.patternContentUnits,{instancePath:t+`/patternContentUnits`,parentData:e,parentDataProperty:`patternContentUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternTransform!==void 0){let n=o;R(e.patternTransform,{instancePath:t+`/patternTransform`,parentData:e,parentDataProperty:`patternTransform`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternUnits!==void 0){let n=o;R(e.patternUnits,{instancePath:t+`/patternUnits`,parentData:e,parentDataProperty:`patternUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.points!==void 0){let n=o;R(e.points,{instancePath:t+`/points`,parentData:e,parentDataProperty:`points`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.preserveAlpha!==void 0){let n=o;R(e.preserveAlpha,{instancePath:t+`/preserveAlpha`,parentData:e,parentDataProperty:`preserveAlpha`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.preserveAspectRatio!==void 0){let n=o;R(e.preserveAspectRatio,{instancePath:t+`/preserveAspectRatio`,parentData:e,parentDataProperty:`preserveAspectRatio`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.primitiveUnits!==void 0){let n=o;R(e.primitiveUnits,{instancePath:t+`/primitiveUnits`,parentData:e,parentDataProperty:`primitiveUnits`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.r!==void 0){let n=o;R(e.r,{instancePath:t+`/r`,parentData:e,parentDataProperty:`r`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.radius!==void 0){let n=o;R(e.radius,{instancePath:t+`/radius`,parentData:e,parentDataProperty:`radius`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.refX!==void 0){let n=o;R(e.refX,{instancePath:t+`/refX`,parentData:e,parentDataProperty:`refX`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.refY!==void 0){let n=o;R(e.refY,{instancePath:t+`/refY`,parentData:e,parentDataProperty:`refY`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.result!==void 0){let n=o;R(e.result,{instancePath:t+`/result`,parentData:e,parentDataProperty:`result`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.rx!==void 0){let n=o;R(e.rx,{instancePath:t+`/rx`,parentData:e,parentDataProperty:`rx`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.ry!==void 0){let n=o;R(e.ry,{instancePath:t+`/ry`,parentData:e,parentDataProperty:`ry`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.scale!==void 0){let n=o;R(e.scale,{instancePath:t+`/scale`,parentData:e,parentDataProperty:`scale`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.seed!==void 0){let n=o;R(e.seed,{instancePath:t+`/seed`,parentData:e,parentDataProperty:`seed`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`shape-rendering`]!==void 0){let n=o;R(e[`shape-rendering`],{instancePath:t+`/shape-rendering`,parentData:e,parentDataProperty:`shape-rendering`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.slope!==void 0){let n=o;R(e.slope,{instancePath:t+`/slope`,parentData:e,parentDataProperty:`slope`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.specularConstant!==void 0){let n=o;R(e.specularConstant,{instancePath:t+`/specularConstant`,parentData:e,parentDataProperty:`specularConstant`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.specularExponent!==void 0){let n=o;R(e.specularExponent,{instancePath:t+`/specularExponent`,parentData:e,parentDataProperty:`specularExponent`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.spreadMethod!==void 0){let n=o;R(e.spreadMethod,{instancePath:t+`/spreadMethod`,parentData:e,parentDataProperty:`spreadMethod`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.startOffset!==void 0){let n=o;R(e.startOffset,{instancePath:t+`/startOffset`,parentData:e,parentDataProperty:`startOffset`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stdDeviation!==void 0){let n=o;R(e.stdDeviation,{instancePath:t+`/stdDeviation`,parentData:e,parentDataProperty:`stdDeviation`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stitchTiles!==void 0){let n=o;R(e.stitchTiles,{instancePath:t+`/stitchTiles`,parentData:e,parentDataProperty:`stitchTiles`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stop-color`]!==void 0){let n=o;tu(e[`stop-color`],{instancePath:t+`/stop-color`,parentData:e,parentDataProperty:`stop-color`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stop-opacity`]!==void 0){let n=o;R(e[`stop-opacity`],{instancePath:t+`/stop-opacity`,parentData:e,parentDataProperty:`stop-opacity`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stroke!==void 0){let n=o;tu(e.stroke,{instancePath:t+`/stroke`,parentData:e,parentDataProperty:`stroke`,rootData:i})||(a=a===null?tu.errors:a.concat(tu.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-dasharray`]!==void 0){let n=o;R(e[`stroke-dasharray`],{instancePath:t+`/stroke-dasharray`,parentData:e,parentDataProperty:`stroke-dasharray`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-dashoffset`]!==void 0){let n=o;R(e[`stroke-dashoffset`],{instancePath:t+`/stroke-dashoffset`,parentData:e,parentDataProperty:`stroke-dashoffset`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-linecap`]!==void 0){let n=o;R(e[`stroke-linecap`],{instancePath:t+`/stroke-linecap`,parentData:e,parentDataProperty:`stroke-linecap`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-linejoin`]!==void 0){let n=o;R(e[`stroke-linejoin`],{instancePath:t+`/stroke-linejoin`,parentData:e,parentDataProperty:`stroke-linejoin`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-miterlimit`]!==void 0){let n=o;R(e[`stroke-miterlimit`],{instancePath:t+`/stroke-miterlimit`,parentData:e,parentDataProperty:`stroke-miterlimit`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-opacity`]!==void 0){let n=o;R(e[`stroke-opacity`],{instancePath:t+`/stroke-opacity`,parentData:e,parentDataProperty:`stroke-opacity`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-width`]!==void 0){let n=o;R(e[`stroke-width`],{instancePath:t+`/stroke-width`,parentData:e,parentDataProperty:`stroke-width`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.style!==void 0){let n=o;su(e.style,{instancePath:t+`/style`,parentData:e,parentDataProperty:`style`,rootData:i})||(a=a===null?su.errors:a.concat(su.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.surfaceScale!==void 0){let n=o;R(e.surfaceScale,{instancePath:t+`/surfaceScale`,parentData:e,parentDataProperty:`surfaceScale`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.systemLanguage!==void 0){let n=o;R(e.systemLanguage,{instancePath:t+`/systemLanguage`,parentData:e,parentDataProperty:`systemLanguage`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.tabindex!==void 0){let n=o;R(e.tabindex,{instancePath:t+`/tabindex`,parentData:e,parentDataProperty:`tabindex`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.tableValues!==void 0){let n=o;R(e.tableValues,{instancePath:t+`/tableValues`,parentData:e,parentDataProperty:`tableValues`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.targetX!==void 0){let n=o;R(e.targetX,{instancePath:t+`/targetX`,parentData:e,parentDataProperty:`targetX`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.targetY!==void 0){let n=o;R(e.targetY,{instancePath:t+`/targetY`,parentData:e,parentDataProperty:`targetY`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-anchor`]!==void 0){let n=o;R(e[`text-anchor`],{instancePath:t+`/text-anchor`,parentData:e,parentDataProperty:`text-anchor`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-decoration`]!==void 0){let n=o;R(e[`text-decoration`],{instancePath:t+`/text-decoration`,parentData:e,parentDataProperty:`text-decoration`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-rendering`]!==void 0){let n=o;R(e[`text-rendering`],{instancePath:t+`/text-rendering`,parentData:e,parentDataProperty:`text-rendering`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.textLength!==void 0){let n=o;R(e.textLength,{instancePath:t+`/textLength`,parentData:e,parentDataProperty:`textLength`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.transform!==void 0){let n=o;R(e.transform,{instancePath:t+`/transform`,parentData:e,parentDataProperty:`transform`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`transform-origin`]!==void 0){let n=o;R(e[`transform-origin`],{instancePath:t+`/transform-origin`,parentData:e,parentDataProperty:`transform-origin`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.type!==void 0){let n=o;R(e.type,{instancePath:t+`/type`,parentData:e,parentDataProperty:`type`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.values!==void 0){let n=o;R(e.values,{instancePath:t+`/values`,parentData:e,parentDataProperty:`values`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.viewBox!==void 0){let n=o;R(e.viewBox,{instancePath:t+`/viewBox`,parentData:e,parentDataProperty:`viewBox`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.visibility!==void 0){let n=o;R(e.visibility,{instancePath:t+`/visibility`,parentData:e,parentDataProperty:`visibility`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.width!==void 0){let n=o;R(e.width,{instancePath:t+`/width`,parentData:e,parentDataProperty:`width`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`word-spacing`]!==void 0){let n=o;R(e[`word-spacing`],{instancePath:t+`/word-spacing`,parentData:e,parentDataProperty:`word-spacing`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`writing-mode`]!==void 0){let n=o;R(e[`writing-mode`],{instancePath:t+`/writing-mode`,parentData:e,parentDataProperty:`writing-mode`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x!==void 0){let n=o;R(e.x,{instancePath:t+`/x`,parentData:e,parentDataProperty:`x`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x1!==void 0){let n=o;R(e.x1,{instancePath:t+`/x1`,parentData:e,parentDataProperty:`x1`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x2!==void 0){let n=o;R(e.x2,{instancePath:t+`/x2`,parentData:e,parentDataProperty:`x2`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.xChannelSelector!==void 0){let n=o;R(e.xChannelSelector,{instancePath:t+`/xChannelSelector`,parentData:e,parentDataProperty:`xChannelSelector`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y!==void 0){let n=o;R(e.y,{instancePath:t+`/y`,parentData:e,parentDataProperty:`y`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y1!==void 0){let n=o;R(e.y1,{instancePath:t+`/y1`,parentData:e,parentDataProperty:`y1`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y2!==void 0){let n=o;R(e.y2,{instancePath:t+`/y2`,parentData:e,parentDataProperty:`y2`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.yChannelSelector!==void 0){let n=o;R(e.yChannelSelector,{instancePath:t+`/yChannelSelector`,parentData:e,parentDataProperty:`yChannelSelector`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.z!==void 0){let n=o;R(e.z,{instancePath:t+`/z`,parentData:e,parentDataProperty:`z`,rootData:i})||(a=a===null?R.errors:a.concat(R.errors),o=a.length);var s=n===o}else var s=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return z.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return z.errors=a,o===0}var uu={description:"A raw text node. Its `value` becomes the text content rendered into the parent element.",type:`object`,properties:{type:{const:`text`},value:{description:"Either a plain string, or a `variable` reference resolved at render time to the seed's initials.",anyOf:[{type:`string`,maxLength:4096},{type:`object`,properties:{type:{const:`variable`},name:{enum:[`initial`,`initials`]}},required:[`type`,`name`],additionalProperties:!1}]}},required:[`type`,`value`],additionalProperties:!1};function du(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){if(typeof e==`string`){if(Kl(e)>64)return du.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`}],!1;if(!Jl.test(e))return du.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`}],!1}else return du.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return du.errors=null,!0}function fu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.name===void 0&&(n=`name`))return fu.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`type`||n===`name`||n===`attributes`))return fu.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`component`)return fu.errors=[{instancePath:t+`/type`,schemaPath:`#/properties/type/const`,keyword:`const`,params:{allowedValue:`component`},message:`must be equal to constant`}],!1;var s=n===o}else var s=!0;if(s){if(e.name!==void 0){let n=o;du(e.name,{instancePath:t+`/name`,parentData:e,parentDataProperty:`name`,rootData:i})||(a=a===null?du.errors:a.concat(du.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.attributes!==void 0){let n=o;z(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?z.errors:a.concat(z.errors),o=a.length);var s=n===o}else var s=!0}}}}else return fu.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return fu.errors=a,o===0}function pu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.name===void 0&&(n=`name`))return pu.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`type`||n===`name`||n===`attributes`||n===`children`))return pu.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`element`)return pu.errors=[{instancePath:t+`/type`,schemaPath:`#/properties/type/const`,keyword:`const`,params:{allowedValue:`element`},message:`must be equal to constant`}],!1;var s=n===o}else var s=!0;if(s){if(e.name!==void 0){let n=o;if(e.name!==`style`)return pu.errors=[{instancePath:t+`/name`,schemaPath:`#/properties/name/const`,keyword:`const`,params:{allowedValue:`style`},message:`must be equal to constant`}],!1;var s=n===o}else var s=!0;if(s){if(e.attributes!==void 0){let n=o;z(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?z.errors:a.concat(z.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.children!==void 0){let n=e.children,r=o;if(o===r)if(Array.isArray(n)){if(n.length>64)return pu.errors=[{instancePath:t+`/children`,schemaPath:`#/properties/children/maxItems`,keyword:`maxItems`,params:{limit:64},message:`must NOT have more than 64 items`}],!1;{let e=n.length;for(let r=0;r<e;r++){let e=n[r],s=o;if(o===s)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.value===void 0&&(n=`value`))return pu.errors=[{instancePath:t+`/children/`+r,schemaPath:`#/properties/children/items/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`type`||n===`value`))return pu.errors=[{instancePath:t+`/children/`+r,schemaPath:`#/properties/children/items/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`text`)return pu.errors=[{instancePath:t+`/children/`+r+`/type`,schemaPath:`#/properties/children/items/properties/type/const`,keyword:`const`,params:{allowedValue:`text`},message:`must be equal to constant`}],!1;var c=n===o}else var c=!0;if(c)if(e.value!==void 0){let n=o;su(e.value,{instancePath:t+`/children/`+r+`/value`,parentData:e,parentDataProperty:`value`,rootData:i})||(a=a===null?su.errors:a.concat(su.errors),o=a.length);var c=n===o}else var c=!0}}}else return pu.errors=[{instancePath:t+`/children/`+r,schemaPath:`#/properties/children/items/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;if(s!==o)break}}}else return pu.errors=[{instancePath:t+`/children`,schemaPath:`#/properties/children/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var s=r===o}else var s=!0}}}}}else return pu.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return pu.errors=a,o===0}var mu={description:"Any SVG element other than `<style>`, which has its own stricter content policy.",type:`object`,properties:{type:{const:`element`},name:{description:"The SVG tag name. Only a safe subset of SVG elements is permitted; dangerous elements such as `script`, `foreignObject`, or `a` are excluded.",enum:`circle.clipPath.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.g.image.line.linearGradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.switch.symbol.text.textPath.title.tspan.use.view`.split(`.`)},attributes:{$ref:`#/definitions/attributes`},children:{type:`array`,items:{$ref:`#/definitions/element`},maxItems:1024}},required:[`type`,`name`],additionalProperties:!1},hu={validate:gu};function B(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.name===void 0&&(n=`name`))return B.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`type`||n===`name`||n===`attributes`||n===`children`))return B.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`element`)return B.errors=[{instancePath:t+`/type`,schemaPath:`#/properties/type/const`,keyword:`const`,params:{allowedValue:`element`},message:`must be equal to constant`}],!1;var s=n===o}else var s=!0;if(s){if(e.name!==void 0){let n=e.name,r=o;if(!(n===`circle`||n===`clipPath`||n===`defs`||n===`desc`||n===`ellipse`||n===`feBlend`||n===`feColorMatrix`||n===`feComponentTransfer`||n===`feComposite`||n===`feConvolveMatrix`||n===`feDiffuseLighting`||n===`feDisplacementMap`||n===`feDistantLight`||n===`feDropShadow`||n===`feFlood`||n===`feFuncA`||n===`feFuncB`||n===`feFuncG`||n===`feFuncR`||n===`feGaussianBlur`||n===`feImage`||n===`feMerge`||n===`feMergeNode`||n===`feMorphology`||n===`feOffset`||n===`fePointLight`||n===`feSpecularLighting`||n===`feSpotLight`||n===`feTile`||n===`feTurbulence`||n===`filter`||n===`g`||n===`image`||n===`line`||n===`linearGradient`||n===`marker`||n===`mask`||n===`metadata`||n===`mpath`||n===`path`||n===`pattern`||n===`polygon`||n===`polyline`||n===`radialGradient`||n===`rect`||n===`stop`||n===`svg`||n===`switch`||n===`symbol`||n===`text`||n===`textPath`||n===`title`||n===`tspan`||n===`use`||n===`view`))return B.errors=[{instancePath:t+`/name`,schemaPath:`#/properties/name/enum`,keyword:`enum`,params:{allowedValues:mu.properties.name.enum},message:`must be equal to one of the allowed values`}],!1;var s=r===o}else var s=!0;if(s){if(e.attributes!==void 0){let n=o;z(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?z.errors:a.concat(z.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.children!==void 0){let n=e.children,r=o;if(o===r)if(Array.isArray(n)){if(n.length>1024)return B.errors=[{instancePath:t+`/children`,schemaPath:`#/properties/children/maxItems`,keyword:`maxItems`,params:{limit:1024},message:`must NOT have more than 1024 items`}],!1;{let e=n.length;for(let r=0;r<e;r++){let e=o;if(hu.validate(n[r],{instancePath:t+`/children/`+r,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?hu.validate.errors:a.concat(hu.validate.errors),o=a.length),e!==o)break}}}else return B.errors=[{instancePath:t+`/children`,schemaPath:`#/properties/children/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var s=r===o}else var s=!0}}}}}else return B.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return B.errors=a,o===0}function gu(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;if(o===o)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.type===void 0&&(n=`type`)||e.value===void 0&&(n=`value`)){let e={instancePath:t,schemaPath:`#/definitions/textElement/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`};a===null?a=[e]:a.push(e),o++}else{let n=o;for(let n in e)if(!(n===`type`||n===`value`)){let e={instancePath:t,schemaPath:`#/definitions/textElement/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`};a===null?a=[e]:a.push(e),o++;break}if(n===o){if(e.type!==void 0){let n=o;if(e.type!==`text`){let e={instancePath:t+`/type`,schemaPath:`#/definitions/textElement/properties/type/const`,keyword:`const`,params:{allowedValue:`text`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var u=n===o}else var u=!0;if(u)if(e.value!==void 0){let n=e.value,r=o,i=o,s=!1,c=o;if(o===c)if(typeof n==`string`){if(Kl(n)>4096){let e={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf/0/maxLength`,keyword:`maxLength`,params:{limit:4096},message:`must NOT have more than 4096 characters`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf/0/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var d=c===o;if(s||=d,!s){let e=o;if(o===e)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.type===void 0&&(e=`type`)||n.name===void 0&&(e=`name`)){let n={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf/1/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`};a===null?a=[n]:a.push(n),o++}else{let e=o;for(let e in n)if(!(e===`type`||e===`name`)){let n={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf/1/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`};a===null?a=[n]:a.push(n),o++;break}if(e===o){if(n.type!==void 0){let e=o;if(n.type!==`variable`){let e={instancePath:t+`/value/type`,schemaPath:`#/definitions/textElement/properties/value/anyOf/1/properties/type/const`,keyword:`const`,params:{allowedValue:`variable`},message:`must be equal to constant`};a===null?a=[e]:a.push(e),o++}var f=e===o}else var f=!0;if(f)if(n.name!==void 0){let e=n.name,r=o;if(!(e===`initial`||e===`initials`)){let e={instancePath:t+`/value/name`,schemaPath:`#/definitions/textElement/properties/value/anyOf/1/properties/name/enum`,keyword:`enum`,params:{allowedValues:uu.properties.value.anyOf[1].properties.name.enum},message:`must be equal to one of the allowed values`};a===null?a=[e]:a.push(e),o++}var f=r===o}else var f=!0}}}else{let e={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf/1/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var d=e===o;s||=d}if(s)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/value`,schemaPath:`#/definitions/textElement/properties/value/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};a===null?a=[e]:a.push(e),o++}var u=r===o}else var u=!0}}}else{let e={instancePath:t,schemaPath:`#/definitions/textElement/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var p=l===o;if(c||=p,!c){let s=o;fu(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?fu.errors:a.concat(fu.errors),o=a.length);var p=s===o;if(c||=p,!c){let s=o;pu(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?pu.errors:a.concat(pu.errors),o=a.length);var p=s===o;if(c||=p,!c){let s=o;B(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?B.errors:a.concat(B.errors),o=a.length);var p=s===o;c||=p}}}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t,schemaPath:`#/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,gu.errors=a,!1}return gu.errors=a,o===0}function V(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){if(e&&typeof e==`object`&&!Array.isArray(e)){for(let n in e)if(!(n===`x`||n===`y`))return V.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(e.x!==void 0){let n=e.x;if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.min===void 0&&(e=`min`)||n.max===void 0&&(e=`max`))return V.errors=[{instancePath:t+`/x`,schemaPath:`#/definitions/translateValue/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`}],!1;for(let e in n)if(!(e===`min`||e===`max`||e===`step`))return V.errors=[{instancePath:t+`/x`,schemaPath:`#/definitions/translateValue/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(n.min!==void 0){let e=n.min;if(typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e))return V.errors=[{instancePath:t+`/x/min`,schemaPath:`#/definitions/translateValue/properties/min/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`}],!1;if(e<-1e3||isNaN(e))return V.errors=[{instancePath:t+`/x/min`,schemaPath:`#/definitions/translateValue/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return V.errors=[{instancePath:t+`/x/min`,schemaPath:`#/definitions/translateValue/properties/min/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var a=!0}else var a=!0;if(a){if(n.max!==void 0){let e=n.max;if(typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e))return V.errors=[{instancePath:t+`/x/max`,schemaPath:`#/definitions/translateValue/properties/max/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`}],!1;if(e<-1e3||isNaN(e))return V.errors=[{instancePath:t+`/x/max`,schemaPath:`#/definitions/translateValue/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return V.errors=[{instancePath:t+`/x/max`,schemaPath:`#/definitions/translateValue/properties/max/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var a=!0}else var a=!0;if(a)if(n.step!==void 0){let e=n.step;if(typeof e==`number`&&isFinite(e)){if(e>2e3||isNaN(e))return V.errors=[{instancePath:t+`/x/step`,schemaPath:`#/definitions/translateValue/properties/step/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:2e3},message:`must be <= 2000`}],!1;if(e<=0||isNaN(e))return V.errors=[{instancePath:t+`/x/step`,schemaPath:`#/definitions/translateValue/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return V.errors=[{instancePath:t+`/x/step`,schemaPath:`#/definitions/translateValue/properties/step/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var a=!0}else var a=!0}}else return V.errors=[{instancePath:t+`/x`,schemaPath:`#/definitions/translateValue/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var o=!0}else var o=!0;if(o)if(e.y!==void 0){let n=e.y;if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.min===void 0&&(e=`min`)||n.max===void 0&&(e=`max`))return V.errors=[{instancePath:t+`/y`,schemaPath:`#/definitions/translateValue/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`}],!1;for(let e in n)if(!(e===`min`||e===`max`||e===`step`))return V.errors=[{instancePath:t+`/y`,schemaPath:`#/definitions/translateValue/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(n.min!==void 0){let e=n.min;if(typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e))return V.errors=[{instancePath:t+`/y/min`,schemaPath:`#/definitions/translateValue/properties/min/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`}],!1;if(e<-1e3||isNaN(e))return V.errors=[{instancePath:t+`/y/min`,schemaPath:`#/definitions/translateValue/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return V.errors=[{instancePath:t+`/y/min`,schemaPath:`#/definitions/translateValue/properties/min/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=!0}else var s=!0;if(s){if(n.max!==void 0){let e=n.max;if(typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e))return V.errors=[{instancePath:t+`/y/max`,schemaPath:`#/definitions/translateValue/properties/max/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`}],!1;if(e<-1e3||isNaN(e))return V.errors=[{instancePath:t+`/y/max`,schemaPath:`#/definitions/translateValue/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return V.errors=[{instancePath:t+`/y/max`,schemaPath:`#/definitions/translateValue/properties/max/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=!0}else var s=!0;if(s)if(n.step!==void 0){let e=n.step;if(typeof e==`number`&&isFinite(e)){if(e>2e3||isNaN(e))return V.errors=[{instancePath:t+`/y/step`,schemaPath:`#/definitions/translateValue/properties/step/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:2e3},message:`must be <= 2000`}],!1;if(e<=0||isNaN(e))return V.errors=[{instancePath:t+`/y/step`,schemaPath:`#/definitions/translateValue/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return V.errors=[{instancePath:t+`/y/step`,schemaPath:`#/definitions/translateValue/properties/step/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=!0}else var s=!0}}else return V.errors=[{instancePath:t+`/y`,schemaPath:`#/definitions/translateValue/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var o=!0}else var o=!0}else return V.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return V.errors=null,!0}function H(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.width===void 0&&(n=`width`)||e.height===void 0&&(n=`height`)||e.variants===void 0&&(n=`variants`))return H.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`width`||n===`height`||n===`probability`||n===`rotate`||n===`scale`||n===`translate`||n===`variants`))return H.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.width!==void 0){let n=e.width,r=o;if(o===r)if(typeof n==`number`&&isFinite(n)){if(n>1e6||isNaN(n))return H.errors=[{instancePath:t+`/width`,schemaPath:`#/properties/width/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e6},message:`must be <= 1000000`}],!1;if(n<1||isNaN(n))return H.errors=[{instancePath:t+`/width`,schemaPath:`#/properties/width/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return H.errors=[{instancePath:t+`/width`,schemaPath:`#/properties/width/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=r===o}else var s=!0;if(s){if(e.height!==void 0){let n=e.height,r=o;if(o===r)if(typeof n==`number`&&isFinite(n)){if(n>1e6||isNaN(n))return H.errors=[{instancePath:t+`/height`,schemaPath:`#/properties/height/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e6},message:`must be <= 1000000`}],!1;if(n<1||isNaN(n))return H.errors=[{instancePath:t+`/height`,schemaPath:`#/properties/height/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return H.errors=[{instancePath:t+`/height`,schemaPath:`#/properties/height/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=r===o}else var s=!0;if(s){if(e.probability!==void 0){let n=e.probability,r=o;if(o===o)if(typeof n==`number`&&isFinite(n)){if(n>100||isNaN(n))return H.errors=[{instancePath:t+`/probability`,schemaPath:`#/definitions/componentProbability/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:100},message:`must be <= 100`}],!1;if(n<0||isNaN(n))return H.errors=[{instancePath:t+`/probability`,schemaPath:`#/definitions/componentProbability/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return H.errors=[{instancePath:t+`/probability`,schemaPath:`#/definitions/componentProbability/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var s=r===o}else var s=!0;if(s){if(e.rotate!==void 0){let n=e.rotate,r=o;if(o===o)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.min===void 0&&(e=`min`)||n.max===void 0&&(e=`max`))return H.errors=[{instancePath:t+`/rotate`,schemaPath:`#/definitions/componentRotate/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`}],!1;{let e=o;for(let e in n)if(!(e===`min`||e===`max`||e===`step`))return H.errors=[{instancePath:t+`/rotate`,schemaPath:`#/definitions/componentRotate/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(e===o){if(n.min!==void 0){let e=n.min,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>360||isNaN(e))return H.errors=[{instancePath:t+`/rotate/min`,schemaPath:`#/definitions/componentRotate/properties/min/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:360},message:`must be <= 360`}],!1;if(e<-360||isNaN(e))return H.errors=[{instancePath:t+`/rotate/min`,schemaPath:`#/definitions/componentRotate/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`}],!1}else return H.errors=[{instancePath:t+`/rotate/min`,schemaPath:`#/definitions/componentRotate/properties/min/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var c=r===o}else var c=!0;if(c){if(n.max!==void 0){let e=n.max,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>360||isNaN(e))return H.errors=[{instancePath:t+`/rotate/max`,schemaPath:`#/definitions/componentRotate/properties/max/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:360},message:`must be <= 360`}],!1;if(e<-360||isNaN(e))return H.errors=[{instancePath:t+`/rotate/max`,schemaPath:`#/definitions/componentRotate/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`}],!1}else return H.errors=[{instancePath:t+`/rotate/max`,schemaPath:`#/definitions/componentRotate/properties/max/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var c=r===o}else var c=!0;if(c)if(n.step!==void 0){let e=n.step,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>720||isNaN(e))return H.errors=[{instancePath:t+`/rotate/step`,schemaPath:`#/definitions/componentRotate/properties/step/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:720},message:`must be <= 720`}],!1;if(e<=0||isNaN(e))return H.errors=[{instancePath:t+`/rotate/step`,schemaPath:`#/definitions/componentRotate/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return H.errors=[{instancePath:t+`/rotate/step`,schemaPath:`#/definitions/componentRotate/properties/step/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var c=r===o}else var c=!0}}}}else return H.errors=[{instancePath:t+`/rotate`,schemaPath:`#/definitions/componentRotate/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0;if(s){if(e.scale!==void 0){let n=e.scale,r=o;if(o===o)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.min===void 0&&(e=`min`)||n.max===void 0&&(e=`max`))return H.errors=[{instancePath:t+`/scale`,schemaPath:`#/definitions/componentScale/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`}],!1;{let e=o;for(let e in n)if(!(e===`min`||e===`max`||e===`step`))return H.errors=[{instancePath:t+`/scale`,schemaPath:`#/definitions/componentScale/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(e===o){if(n.min!==void 0){let e=n.min,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>10||isNaN(e))return H.errors=[{instancePath:t+`/scale/min`,schemaPath:`#/definitions/componentScale/properties/min/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:10},message:`must be <= 10`}],!1;if(e<0||isNaN(e))return H.errors=[{instancePath:t+`/scale/min`,schemaPath:`#/definitions/componentScale/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return H.errors=[{instancePath:t+`/scale/min`,schemaPath:`#/definitions/componentScale/properties/min/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var l=r===o}else var l=!0;if(l){if(n.max!==void 0){let e=n.max,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>10||isNaN(e))return H.errors=[{instancePath:t+`/scale/max`,schemaPath:`#/definitions/componentScale/properties/max/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:10},message:`must be <= 10`}],!1;if(e<0||isNaN(e))return H.errors=[{instancePath:t+`/scale/max`,schemaPath:`#/definitions/componentScale/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return H.errors=[{instancePath:t+`/scale/max`,schemaPath:`#/definitions/componentScale/properties/max/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var l=r===o}else var l=!0;if(l)if(n.step!==void 0){let e=n.step,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>10||isNaN(e))return H.errors=[{instancePath:t+`/scale/step`,schemaPath:`#/definitions/componentScale/properties/step/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:10},message:`must be <= 10`}],!1;if(e<=0||isNaN(e))return H.errors=[{instancePath:t+`/scale/step`,schemaPath:`#/definitions/componentScale/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return H.errors=[{instancePath:t+`/scale/step`,schemaPath:`#/definitions/componentScale/properties/step/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var l=r===o}else var l=!0}}}}else return H.errors=[{instancePath:t+`/scale`,schemaPath:`#/definitions/componentScale/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0;if(s){if(e.translate!==void 0){let n=o;V(e.translate,{instancePath:t+`/translate`,parentData:e,parentDataProperty:`translate`,rootData:i})||(a=a===null?V.errors:a.concat(V.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.variants!==void 0){let n=e.variants,r=o;if(o===r)if(n&&typeof n==`object`&&!Array.isArray(n)){if(Object.keys(n).length>512)return H.errors=[{instancePath:t+`/variants`,schemaPath:`#/properties/variants/maxProperties`,keyword:`maxProperties`,params:{limit:512},message:`must NOT have more than 512 properties`}],!1;for(let e in n){let n=o;if(o===o)if(typeof e==`string`){if(Kl(e)>64){let n={instancePath:t+`/variants`,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`,propertyName:e};a===null?a=[n]:a.push(n),o++}else if(!Jl.test(e)){let n={instancePath:t+`/variants`,schemaPath:`#/definitions/camelCaseName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`,propertyName:e};a===null?a=[n]:a.push(n),o++}}else{let n={instancePath:t+`/variants`,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`,propertyName:e};a===null?a=[n]:a.push(n),o++}var u=n===o;if(!u){let n={instancePath:t+`/variants`,schemaPath:`#/properties/variants/propertyNames`,keyword:`propertyNames`,params:{propertyName:e},message:`property name must be valid`};return a===null?a=[n]:a.push(n),o++,H.errors=a,!1}}if(u)for(let e in n){let r=n[e],s=o;if(o===s)if(r&&typeof r==`object`&&!Array.isArray(r)){let n;if(r.elements===void 0&&(n=`elements`))return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/variants/additionalProperties/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in r)if(!(n===`elements`||n===`weight`))return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/variants/additionalProperties/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(r.elements!==void 0){let n=r.elements,s=o;if(o===s)if(Array.isArray(n)){if(n.length>1024)return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/elements`,schemaPath:`#/properties/variants/additionalProperties/properties/elements/maxItems`,keyword:`maxItems`,params:{limit:1024},message:`must NOT have more than 1024 items`}],!1;{let r=n.length;for(let s=0;s<r;s++){let r=o;if(gu(n[s],{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/elements/`+s,parentData:n,parentDataProperty:s,rootData:i})||(a=a===null?gu.errors:a.concat(gu.errors),o=a.length),r!==o)break}}}else return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/elements`,schemaPath:`#/properties/variants/additionalProperties/properties/elements/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var d=s===o}else var d=!0;if(d)if(r.weight!==void 0){let n=r.weight,i=o;if(o===i)if(typeof n==`number`&&isFinite(n)){if(n>1e6||isNaN(n))return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/weight`,schemaPath:`#/properties/variants/additionalProperties/properties/weight/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e6},message:`must be <= 1000000`}],!1;if(n<0||isNaN(n))return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/weight`,schemaPath:`#/properties/variants/additionalProperties/properties/weight/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/weight`,schemaPath:`#/properties/variants/additionalProperties/properties/weight/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var d=i===o}else var d=!0}}}else return H.errors=[{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/variants/additionalProperties/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;if(s!==o)break}}else return H.errors=[{instancePath:t+`/variants`,schemaPath:`#/properties/variants/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0}}}}}}}}else return H.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return H.errors=a,o===0}function _u(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.extends===void 0&&(n=`extends`))return _u.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(n!==`extends`)return _u.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;n===o&&e.extends!==void 0&&(du(e.extends,{instancePath:t+`/extends`,parentData:e,parentDataProperty:`extends`,rootData:i})||(a=a===null?du.errors:a.concat(du.errors),o=a.length))}}else return _u.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return _u.errors=a,o===0}function U(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){let n;if(e.canvas===void 0&&(n=`canvas`))return U.errors=[{instancePath:t,schemaPath:`#/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in e)if(!(n===`$id`||n===`$schema`||n===`$comment`||n===`meta`||n===`attributes`||n===`canvas`||n===`components`||n===`colors`))return U.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.$id!==void 0){let n=e.$id,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>256)return U.errors=[{instancePath:t+`/$id`,schemaPath:`#/properties/%24id/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return U.errors=[{instancePath:t+`/$id`,schemaPath:`#/properties/%24id/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var s=r===o}else var s=!0;if(s){if(e.$schema!==void 0){let n=e.$schema,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>256)return U.errors=[{instancePath:t+`/$schema`,schemaPath:`#/properties/%24schema/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return U.errors=[{instancePath:t+`/$schema`,schemaPath:`#/properties/%24schema/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var s=r===o}else var s=!0;if(s){if(e.$comment!==void 0){let n=e.$comment,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>4096)return U.errors=[{instancePath:t+`/$comment`,schemaPath:`#/properties/%24comment/maxLength`,keyword:`maxLength`,params:{limit:4096},message:`must NOT have more than 4096 characters`}],!1}else return U.errors=[{instancePath:t+`/$comment`,schemaPath:`#/properties/%24comment/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var s=r===o}else var s=!0;if(s){if(e.meta!==void 0){let n=e.meta,r=o;if(o===r)if(n&&typeof n==`object`&&!Array.isArray(n)){let e=o;for(let e in n)if(!(e===`license`||e===`creator`||e===`source`))return U.errors=[{instancePath:t+`/meta`,schemaPath:`#/properties/meta/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(e===o){if(n.license!==void 0){let e=n.license,r=o;if(o===r)if(e&&typeof e==`object`&&!Array.isArray(e)){let n=o;for(let n in e)if(!(n===`name`||n===`url`||n===`text`))return U.errors=[{instancePath:t+`/meta/license`,schemaPath:`#/properties/meta/properties/license/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.name!==void 0){let n=e.name,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>128)return U.errors=[{instancePath:t+`/meta/license/name`,schemaPath:`#/properties/meta/properties/license/properties/name/maxLength`,keyword:`maxLength`,params:{limit:128},message:`must NOT have more than 128 characters`}],!1}else return U.errors=[{instancePath:t+`/meta/license/name`,schemaPath:`#/properties/meta/properties/license/properties/name/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var c=r===o}else var c=!0;if(c){if(e.url!==void 0){let n=e.url,r=o;if(o===o)if(typeof n==`string`){if(Kl(n)>2048)return U.errors=[{instancePath:t+`/meta/license/url`,schemaPath:`#/definitions/safeUrl/maxLength`,keyword:`maxLength`,params:{limit:2048},message:`must NOT have more than 2048 characters`}],!1;if(!ql.test(n))return U.errors=[{instancePath:t+`/meta/license/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return U.errors=[{instancePath:t+`/meta/license/url`,schemaPath:`#/definitions/safeUrl/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var c=r===o}else var c=!0;if(c)if(e.text!==void 0){let n=e.text,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>32768)return U.errors=[{instancePath:t+`/meta/license/text`,schemaPath:`#/properties/meta/properties/license/properties/text/maxLength`,keyword:`maxLength`,params:{limit:32768},message:`must NOT have more than 32768 characters`}],!1}else return U.errors=[{instancePath:t+`/meta/license/text`,schemaPath:`#/properties/meta/properties/license/properties/text/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var c=r===o}else var c=!0}}}else return U.errors=[{instancePath:t+`/meta/license`,schemaPath:`#/properties/meta/properties/license/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var l=r===o}else var l=!0;if(l){if(n.creator!==void 0){let e=n.creator,r=o;if(o===r)if(e&&typeof e==`object`&&!Array.isArray(e)){let n=o;for(let n in e)if(!(n===`name`||n===`url`))return U.errors=[{instancePath:t+`/meta/creator`,schemaPath:`#/properties/meta/properties/creator/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.name!==void 0){let n=e.name,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>128)return U.errors=[{instancePath:t+`/meta/creator/name`,schemaPath:`#/properties/meta/properties/creator/properties/name/maxLength`,keyword:`maxLength`,params:{limit:128},message:`must NOT have more than 128 characters`}],!1}else return U.errors=[{instancePath:t+`/meta/creator/name`,schemaPath:`#/properties/meta/properties/creator/properties/name/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var u=r===o}else var u=!0;if(u)if(e.url!==void 0){let n=e.url,r=o;if(o===o)if(typeof n==`string`){if(Kl(n)>2048)return U.errors=[{instancePath:t+`/meta/creator/url`,schemaPath:`#/definitions/safeUrl/maxLength`,keyword:`maxLength`,params:{limit:2048},message:`must NOT have more than 2048 characters`}],!1;if(!ql.test(n))return U.errors=[{instancePath:t+`/meta/creator/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return U.errors=[{instancePath:t+`/meta/creator/url`,schemaPath:`#/definitions/safeUrl/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var u=r===o}else var u=!0}}else return U.errors=[{instancePath:t+`/meta/creator`,schemaPath:`#/properties/meta/properties/creator/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var l=r===o}else var l=!0;if(l)if(n.source!==void 0){let e=n.source,r=o;if(o===r)if(e&&typeof e==`object`&&!Array.isArray(e)){let n=o;for(let n in e)if(!(n===`name`||n===`url`))return U.errors=[{instancePath:t+`/meta/source`,schemaPath:`#/properties/meta/properties/source/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.name!==void 0){let n=e.name,r=o;if(o===r)if(typeof n==`string`){if(Kl(n)>128)return U.errors=[{instancePath:t+`/meta/source/name`,schemaPath:`#/properties/meta/properties/source/properties/name/maxLength`,keyword:`maxLength`,params:{limit:128},message:`must NOT have more than 128 characters`}],!1}else return U.errors=[{instancePath:t+`/meta/source/name`,schemaPath:`#/properties/meta/properties/source/properties/name/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var d=r===o}else var d=!0;if(d)if(e.url!==void 0){let n=e.url,r=o;if(o===o)if(typeof n==`string`){if(Kl(n)>2048)return U.errors=[{instancePath:t+`/meta/source/url`,schemaPath:`#/definitions/safeUrl/maxLength`,keyword:`maxLength`,params:{limit:2048},message:`must NOT have more than 2048 characters`}],!1;if(!ql.test(n))return U.errors=[{instancePath:t+`/meta/source/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return U.errors=[{instancePath:t+`/meta/source/url`,schemaPath:`#/definitions/safeUrl/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var d=r===o}else var d=!0}}else return U.errors=[{instancePath:t+`/meta/source`,schemaPath:`#/properties/meta/properties/source/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var l=r===o}else var l=!0}}}else return U.errors=[{instancePath:t+`/meta`,schemaPath:`#/properties/meta/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0;if(s){if(e.attributes!==void 0){let n=o;z(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?z.errors:a.concat(z.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.canvas!==void 0){let n=e.canvas,r=o;if(o===r)if(n&&typeof n==`object`&&!Array.isArray(n)){let e;if(n.elements===void 0&&(e=`elements`)||n.width===void 0&&(e=`width`)||n.height===void 0&&(e=`height`))return U.errors=[{instancePath:t+`/canvas`,schemaPath:`#/properties/canvas/required`,keyword:`required`,params:{missingProperty:e},message:`must have required property '`+e+`'`}],!1;{let e=o;for(let e in n)if(!(e===`elements`||e===`width`||e===`height`))return U.errors=[{instancePath:t+`/canvas`,schemaPath:`#/properties/canvas/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:e},message:`must NOT have additional properties`}],!1;if(e===o){if(n.elements!==void 0){let e=n.elements,r=o;if(o===r)if(Array.isArray(e)){if(e.length>1024)return U.errors=[{instancePath:t+`/canvas/elements`,schemaPath:`#/properties/canvas/properties/elements/maxItems`,keyword:`maxItems`,params:{limit:1024},message:`must NOT have more than 1024 items`}],!1;{let n=e.length;for(let r=0;r<n;r++){let n=o;if(gu(e[r],{instancePath:t+`/canvas/elements/`+r,parentData:e,parentDataProperty:r,rootData:i})||(a=a===null?gu.errors:a.concat(gu.errors),o=a.length),n!==o)break}}}else return U.errors=[{instancePath:t+`/canvas/elements`,schemaPath:`#/properties/canvas/properties/elements/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var f=r===o}else var f=!0;if(f){if(n.width!==void 0){let e=n.width,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>1e6||isNaN(e))return U.errors=[{instancePath:t+`/canvas/width`,schemaPath:`#/properties/canvas/properties/width/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e6},message:`must be <= 1000000`}],!1;if(e<1||isNaN(e))return U.errors=[{instancePath:t+`/canvas/width`,schemaPath:`#/properties/canvas/properties/width/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return U.errors=[{instancePath:t+`/canvas/width`,schemaPath:`#/properties/canvas/properties/width/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var f=r===o}else var f=!0;if(f)if(n.height!==void 0){let e=n.height,r=o;if(o===r)if(typeof e==`number`&&isFinite(e)){if(e>1e6||isNaN(e))return U.errors=[{instancePath:t+`/canvas/height`,schemaPath:`#/properties/canvas/properties/height/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e6},message:`must be <= 1000000`}],!1;if(e<1||isNaN(e))return U.errors=[{instancePath:t+`/canvas/height`,schemaPath:`#/properties/canvas/properties/height/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return U.errors=[{instancePath:t+`/canvas/height`,schemaPath:`#/properties/canvas/properties/height/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var f=r===o}else var f=!0}}}}else return U.errors=[{instancePath:t+`/canvas`,schemaPath:`#/properties/canvas/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0;if(s){if(e.components!==void 0){let n=e.components,r=o;if(o===r)if(n&&typeof n==`object`&&!Array.isArray(n)){if(Object.keys(n).length>512)return U.errors=[{instancePath:t+`/components`,schemaPath:`#/properties/components/maxProperties`,keyword:`maxProperties`,params:{limit:512},message:`must NOT have more than 512 properties`}],!1;for(let e in n){let n=o;if(o===o)if(typeof e==`string`){if(Kl(e)>64){let n={instancePath:t+`/components`,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`,propertyName:e};a===null?a=[n]:a.push(n),o++}else if(!Jl.test(e)){let n={instancePath:t+`/components`,schemaPath:`#/definitions/camelCaseName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`,propertyName:e};a===null?a=[n]:a.push(n),o++}}else{let n={instancePath:t+`/components`,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`,propertyName:e};a===null?a=[n]:a.push(n),o++}var p=n===o;if(!p){let n={instancePath:t+`/components`,schemaPath:`#/properties/components/propertyNames`,keyword:`propertyNames`,params:{propertyName:e},message:`property name must be valid`};return a===null?a=[n]:a.push(n),o++,U.errors=a,!1}}if(p)for(let e in n){let r=n[e],s=o,c=o,l=!1,u=o;H(r,{instancePath:t+`/components/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:n,parentDataProperty:e,rootData:i})||(a=a===null?H.errors:a.concat(H.errors),o=a.length);var m=u===o;if(l||=m,!l){let s=o;_u(r,{instancePath:t+`/components/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:n,parentDataProperty:e,rootData:i})||(a=a===null?_u.errors:a.concat(_u.errors),o=a.length);var m=s===o;l||=m}if(l)o=c,a!==null&&(c?a.length=c:a=null);else{let n={instancePath:t+`/components/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/components/additionalProperties/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[n]:a.push(n),o++,U.errors=a,!1}if(s!==o)break}}else return U.errors=[{instancePath:t+`/components`,schemaPath:`#/properties/components/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0;if(s)if(e.colors!==void 0){let n=e.colors,r=o;if(o===r)if(n&&typeof n==`object`&&!Array.isArray(n)){if(Object.keys(n).length>512)return U.errors=[{instancePath:t+`/colors`,schemaPath:`#/properties/colors/maxProperties`,keyword:`maxProperties`,params:{limit:512},message:`must NOT have more than 512 properties`}],!1;for(let e in n){let n=o;if(o===o)if(typeof e==`string`){if(Kl(e)>64){let n={instancePath:t+`/colors`,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`,propertyName:e};a===null?a=[n]:a.push(n),o++}else if(!Jl.test(e)){let n={instancePath:t+`/colors`,schemaPath:`#/definitions/camelCaseName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`,propertyName:e};a===null?a=[n]:a.push(n),o++}}else{let n={instancePath:t+`/colors`,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`,propertyName:e};a===null?a=[n]:a.push(n),o++}var h=n===o;if(!h){let n={instancePath:t+`/colors`,schemaPath:`#/properties/colors/propertyNames`,keyword:`propertyNames`,params:{propertyName:e},message:`property name must be valid`};return a===null?a=[n]:a.push(n),o++,U.errors=a,!1}}if(h)for(let e in n){let r=n[e],s=o;if(o===s)if(r&&typeof r==`object`&&!Array.isArray(r)){let n;if(r.values===void 0&&(n=`values`))return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/colors/additionalProperties/required`,keyword:`required`,params:{missingProperty:n},message:`must have required property '`+n+`'`}],!1;{let n=o;for(let n in r)if(!(n===`values`||n===`notEqualTo`||n===`contrastTo`))return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/colors/additionalProperties/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(r.values!==void 0){let n=r.values,i=o;if(o===i)if(Array.isArray(n)){if(n.length>128)return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values`,schemaPath:`#/properties/colors/additionalProperties/properties/values/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`}],!1;if(n.length<1)return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values`,schemaPath:`#/properties/colors/additionalProperties/properties/values/minItems`,keyword:`minItems`,params:{limit:1},message:`must NOT have fewer than 1 items`}],!1;{let r=n.length;for(let i=0;i<r;i++){let r=n[i],a=o;if(o===o)if(typeof r==`string`){if(Kl(r)>9)return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values/`+i,schemaPath:`#/definitions/hexColor/maxLength`,keyword:`maxLength`,params:{limit:9},message:`must NOT have more than 9 characters`}],!1;if(!Yl.test(r))return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values/`+i,schemaPath:`#/definitions/hexColor/pattern`,keyword:`pattern`,params:{pattern:`^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`},message:`must match pattern "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"`}],!1}else return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values/`+i,schemaPath:`#/definitions/hexColor/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;if(a!==o)break}}}else return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/values`,schemaPath:`#/properties/colors/additionalProperties/properties/values/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var g=i===o}else var g=!0;if(g){if(r.notEqualTo!==void 0){let n=r.notEqualTo,s=o;if(o===s)if(Array.isArray(n)){if(n.length>64)return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/notEqualTo`,schemaPath:`#/properties/colors/additionalProperties/properties/notEqualTo/maxItems`,keyword:`maxItems`,params:{limit:64},message:`must NOT have more than 64 items`}],!1;{let r=n.length;for(let s=0;s<r;s++){let r=o;if(eu(n[s],{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/notEqualTo/`+s,parentData:n,parentDataProperty:s,rootData:i})||(a=a===null?eu.errors:a.concat(eu.errors),o=a.length),r!==o)break}}}else return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/notEqualTo`,schemaPath:`#/properties/colors/additionalProperties/properties/notEqualTo/type`,keyword:`type`,params:{type:`array`},message:`must be array`}],!1;var g=s===o}else var g=!0;if(g)if(r.contrastTo!==void 0){let n=o;eu(r.contrastTo,{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/contrastTo`,parentData:r,parentDataProperty:`contrastTo`,rootData:i})||(a=a===null?eu.errors:a.concat(eu.errors),o=a.length);var g=n===o}else var g=!0}}}}else return U.errors=[{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/properties/colors/additionalProperties/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;if(s!==o)break}}else return U.errors=[{instancePath:t+`/colors`,schemaPath:`#/properties/colors/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;var s=r===o}else var s=!0}}}}}}}}}else return U.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return U.errors=a,o===0}var vu=class{static validate(e){if(!U(e))throw new Wl(U.errors||[])}},yu=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},bu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},xu,Su=class{constructor(e){xu.set(this,void 0),yu(this,xu,e,`f`)}name(){return bu(this,xu,`f`).name}url(){return bu(this,xu,`f`).url}text(){return bu(this,xu,`f`).text}};xu=new WeakMap;var Cu=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},wu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Tu,Eu=class{constructor(e){Tu.set(this,void 0),Cu(this,Tu,e,`f`)}name(){return wu(this,Tu,`f`).name}url(){return wu(this,Tu,`f`).url}};Tu=new WeakMap;var Du=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Ou=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},ku,Au=class{constructor(e){ku.set(this,void 0),Du(this,ku,e,`f`)}name(){return Ou(this,ku,`f`).name}url(){return Ou(this,ku,`f`).url}};ku=new WeakMap;var ju=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Mu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Nu,Pu,Fu,Iu,Lu=class{constructor(e){Nu.set(this,void 0),Pu.set(this,void 0),Fu.set(this,void 0),Iu.set(this,void 0),ju(this,Nu,e,`f`)}license(){return ju(this,Pu,Mu(this,Pu,`f`)??new Su(Mu(this,Nu,`f`).license??{}),`f`),Mu(this,Pu,`f`)}creator(){return ju(this,Fu,Mu(this,Fu,`f`)??new Eu(Mu(this,Nu,`f`).creator??{}),`f`),Mu(this,Fu,`f`)}source(){return ju(this,Iu,Mu(this,Iu,`f`)??new Au(Mu(this,Nu,`f`).source??{}),`f`),Mu(this,Iu,`f`)}};Nu=new WeakMap,Pu=new WeakMap,Fu=new WeakMap,Iu=new WeakMap;var Ru=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},zu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Bu,Vu,Hu=class e{constructor(e){Bu.set(this,void 0),Vu.set(this,void 0),Ru(this,Bu,e,`f`)}type(){return zu(this,Bu,`f`).type}name(){return zu(this,Bu,`f`).name}value(){return zu(this,Bu,`f`).value}attributes(){return zu(this,Bu,`f`).attributes}children(){return Ru(this,Vu,zu(this,Vu,`f`)??(zu(this,Bu,`f`).children??[]).map(t=>new e(t)),`f`),zu(this,Vu,`f`)}};Bu=new WeakMap,Vu=new WeakMap;var Uu=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Wu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Gu,Ku,qu=class{constructor(e){Gu.set(this,void 0),Ku.set(this,void 0),Uu(this,Gu,e,`f`)}width(){return Wu(this,Gu,`f`).width}height(){return Wu(this,Gu,`f`).height}elements(){return Uu(this,Ku,Wu(this,Ku,`f`)??Wu(this,Gu,`f`).elements.map(e=>new Hu(e)),`f`),Wu(this,Ku,`f`)}};Gu=new WeakMap,Ku=new WeakMap;var Ju=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Yu=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Xu,Zu=class{constructor(e){Xu.set(this,void 0),Ju(this,Xu,e,`f`)}x(){return Yu(this,Xu,`f`).x}y(){return Yu(this,Xu,`f`).y}};Xu=new WeakMap;var Qu=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},W=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},$u,ed,td=class{constructor(e){$u.set(this,void 0),ed.set(this,void 0),Qu(this,$u,e,`f`)}elements(){return Qu(this,ed,W(this,ed,`f`)??W(this,$u,`f`).elements.map(e=>new Hu(e)),`f`),W(this,ed,`f`)}weight(){return W(this,$u,`f`).weight??1}};$u=new WeakMap,ed=new WeakMap;var nd=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},G=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},rd,id,ad,od,sd,cd,ld,ud=class{constructor(e,t,n){rd.add(this),id.set(this,void 0),ad.set(this,void 0),od.set(this,void 0),sd.set(this,void 0),cd.set(this,void 0),nd(this,id,t,`f`),nd(this,ad,e,`f`),nd(this,od,n,`f`)}name(){return G(this,ad,`f`)}extendsName(){return`extends`in G(this,id,`f`)?G(this,id,`f`).extends:void 0}sourceName(){return this.extendsName()??G(this,ad,`f`)}width(){return G(this,od,`f`)?G(this,od,`f`).width():G(this,rd,`m`,ld).call(this).width}height(){return G(this,od,`f`)?G(this,od,`f`).height():G(this,rd,`m`,ld).call(this).height}probability(){return G(this,od,`f`)?G(this,od,`f`).probability():G(this,rd,`m`,ld).call(this).probability??100}rotate(){return G(this,od,`f`)?G(this,od,`f`).rotate():G(this,rd,`m`,ld).call(this).rotate}scale(){return G(this,od,`f`)?G(this,od,`f`).scale():G(this,rd,`m`,ld).call(this).scale}translate(){return G(this,od,`f`)?G(this,od,`f`).translate():(nd(this,sd,G(this,sd,`f`)??new Zu(G(this,rd,`m`,ld).call(this).translate??{}),`f`),G(this,sd,`f`))}variants(){return G(this,od,`f`)?G(this,od,`f`).variants():(nd(this,cd,G(this,cd,`f`)??new Map(Object.entries(G(this,rd,`m`,ld).call(this).variants).map(([e,t])=>[e,new td(t)])),`f`),G(this,cd,`f`))}};id=new WeakMap,ad=new WeakMap,od=new WeakMap,sd=new WeakMap,cd=new WeakMap,rd=new WeakSet,ld=function(){return G(this,id,`f`)};var dd=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},fd=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},pd,md=class{constructor(e){pd.set(this,void 0),dd(this,pd,e,`f`)}values(){return fd(this,pd,`f`).values}notEqualTo(){return fd(this,pd,`f`).notEqualTo??[]}contrastTo(){return fd(this,pd,`f`).contrastTo}};pd=new WeakMap;var hd=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},gd=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},_d,vd,yd,bd,xd,Sd,Cd,wd,Td,Ed=class{constructor(e){_d.add(this),yd.set(this,void 0),bd.set(this,void 0),xd.set(this,void 0),Sd.set(this,void 0),Cd.set(this,void 0),vu.validate(e),hd(this,yd,structuredClone(e),`f`),gd(this,_d,`m`,wd).call(this)}id(){return gd(this,yd,`f`).$id}schema(){return gd(this,yd,`f`).$schema}comment(){return gd(this,yd,`f`).$comment}meta(){return hd(this,bd,gd(this,bd,`f`)??new Lu(gd(this,yd,`f`).meta??{}),`f`),gd(this,bd,`f`)}attributes(){return structuredClone(gd(this,yd,`f`).attributes??{})}definition(){return structuredClone(gd(this,yd,`f`))}canvas(){return hd(this,xd,gd(this,xd,`f`)??new qu(gd(this,yd,`f`).canvas),`f`),gd(this,xd,`f`)}components(){if(gd(this,Sd,`f`))return gd(this,Sd,`f`);let e=Object.entries(gd(this,yd,`f`).components??{}),t=new Map;for(let[n,r]of e)gd(vd,vd,`m`,Td).call(vd,r)||t.set(n,new ud(n,r));for(let[n,r]of e)gd(vd,vd,`m`,Td).call(vd,r)&&t.set(n,new ud(n,r,t.get(r.extends)));return hd(this,Sd,t,`f`),gd(this,Sd,`f`)}colors(){return hd(this,Cd,gd(this,Cd,`f`)??new Map(Object.entries(gd(this,yd,`f`).colors??{}).map(([e,t])=>[e,new md(t)])),`f`),gd(this,Cd,`f`)}};vd=Ed,yd=new WeakMap,bd=new WeakMap,xd=new WeakMap,Sd=new WeakMap,Cd=new WeakMap,_d=new WeakSet,wd=function(){let e=gd(this,yd,`f`).components;if(!e)return;let t=[];for(let[n,r]of Object.entries(e)){if(!gd(vd,vd,`m`,Td).call(vd,r))continue;let i=r.extends,a=e[i];if(!a){t.push({instancePath:`/components/${n}/extends`,message:`references unknown component "${i}"`});continue}gd(vd,vd,`m`,Td).call(vd,a)&&t.push({instancePath:`/components/${n}/extends`,message:`references alias "${i}" — alias chains are not allowed`})}if(t.length>0)throw new Wl(t)},Td=function(e){return`extends`in e};var K=class extends Ul{constructor(e){super(`Invalid options`,e),this.name=`OptionsValidationError`}};function Dd(e){let t=0;for(let n of e)t++;return t}var Od={$id:`https://cdn.hopjs.net/npm/@dicebear/schema@1.1.0/dist/options.min.json`,$schema:`http://json-schema.org/draft-07/schema#`,title:`DiceBear options schema`,type:`object`,definitions:{flip:{type:`string`,enum:[`none`,`horizontal`,`vertical`,`both`]},rotate:{type:`number`,minimum:-360,maximum:360},scale:{type:`number`,minimum:0,maximum:10},translate:{type:`number`,minimum:-1e3,maximum:1e3},borderRadius:{type:`number`,minimum:0,maximum:50},color:{type:`string`,pattern:`^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`},colorFill:{type:`string`,enum:[`solid`,`linear`,`radial`]},colorFillStops:{type:`integer`,minimum:2},fontFamilyName:{type:`string`,pattern:`^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$`,maxLength:256},fontWeight:{type:`integer`,minimum:1,maximum:1e3},variantName:{type:`string`,pattern:`^[a-z][a-zA-Z0-9]*$`,maxLength:64},rotateOption:{anyOf:[{$ref:`#/definitions/rotate`},{type:`array`,items:{$ref:`#/definitions/rotate`},minItems:0,maxItems:2}]},translateOption:{anyOf:[{$ref:`#/definitions/translate`},{type:`array`,items:{$ref:`#/definitions/translate`},minItems:0,maxItems:2}]},scaleOption:{anyOf:[{$ref:`#/definitions/scale`},{type:`array`,items:{$ref:`#/definitions/scale`},minItems:0,maxItems:2}]}},properties:{seed:{type:`string`,description:`The starting value for the pseudorandom number generator (PRNG) used in the avatar generation process. This option is essential for creating unique and consistent avatars. By setting a specific seed, you ensure that the same sequence of random characteristics is applied, allowing identical avatars to be reproduced. This is especially valuable for maintaining consistency across sessions and allowing users to share or recreate their personalized avatars.`,maxLength:1024},size:{type:`integer`,description:`Specifies the dimensions of the avatar in pixels. If no size is specified, the avatar defaults to a responsive design or scales to 100% of its container. This flexibility allows the avatar to seamlessly adapt to different screen sizes and layouts, ensuring optimal display across devices and environments.`,minimum:1,maximum:4096},idRandomization:{type:`boolean`,description:`Generates random values for all IDs present in the SVG. This process ensures that while the avatar appears visually identical, the underlying code remains unique. This is particularly useful for embedding the same avatar multiple times in a document without running into duplicate ID conflicts that can interfere with styles and scripts.`},title:{type:`string`,description:`Specifies an accessible title for the avatar. When set, the SVG will include a <title> element and an aria-label attribute, allowing screen readers and other assistive technologies to describe the avatar to users.`,maxLength:256},flip:{description:"Specifies how the avatar will be flipped. Options include `none` for no flip, `horizontal` for a left-to-right flip, `vertical` for an upside-down flip, and `both` for a complete flip. If specified as an array, the PRNG will choose from the available options.",anyOf:[{$ref:`#/definitions/flip`},{type:`array`,items:{$ref:`#/definitions/flip`},minItems:0,maxItems:4}]},fontFamily:{description:`Specifies the font family used for text rendering. If specified as an array, the PRNG will choose from the available options.`,anyOf:[{$ref:`#/definitions/fontFamilyName`},{type:`array`,items:{$ref:`#/definitions/fontFamilyName`},minItems:0,maxItems:128}]},fontWeight:{description:`Specifies the font weight used for text rendering. The value must be an integer between 1 and 1000. If specified as an array, the PRNG will choose from the available options.`,anyOf:[{$ref:`#/definitions/fontWeight`},{type:`array`,items:{$ref:`#/definitions/fontWeight`},minItems:0,maxItems:128}]},scale:{description:"Sets the scaling of the avatar. A value of `1` corresponds to the original size of the avatar. This setting affects the size of the avatar itself, but not the size of the avatar container; any excess content will be clipped. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.",allOf:[{$ref:`#/definitions/scaleOption`}]},borderRadius:{description:`This is the radius of the corners of the avatar. This value can be a float or an integer. A value of 0 means that the avatar has sharp corners, while larger values result in more rounded corners. The maximum value is 50, which turns the avatar into a complete circle. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.`,anyOf:[{$ref:`#/definitions/borderRadius`},{type:`array`,items:{$ref:`#/definitions/borderRadius`},minItems:0,maxItems:2}]}},patternProperties:{"^[a-z][a-zA-Z0-9]*Probability$":{type:`number`,description:`Represents the probability that a component of the avatar will be displayed. The value can be either a float or an integer, but is interpreted as a percentage. For example, a value of 0 means the part will never be displayed, while a value of 100 means it will always be displayed.`,minimum:0,maximum:100},"^[a-z][a-zA-Z0-9]*Variant$":{description:`Specifies which variants of the avatar part can be selected by the PRNG and their relative weights. A string or array of strings filters which variants the PRNG can choose from. An object maps variant names to non-negative weights, simultaneously filtering and weighting selection. Variant names must be camelCase identifiers.`,anyOf:[{$ref:`#/definitions/variantName`},{type:`array`,items:{$ref:`#/definitions/variantName`},minItems:0,maxItems:128},{type:`object`,propertyNames:{$ref:`#/definitions/variantName`},additionalProperties:{type:`number`,minimum:0},minProperties:1,maxProperties:512}]},"^[a-z][a-zA-Z0-9]*Color$":{description:`Specifies which colors for the avatar component can be selected by the PRNG. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options. The color must be specified as a hex value.`,anyOf:[{$ref:`#/definitions/color`},{type:`array`,items:{$ref:`#/definitions/color`},minItems:0,maxItems:128}]},"^[a-z][a-zA-Z0-9]*ColorFill$":{description:"Specifies the color fill method for the avatar component. Options include `solid` for a flat color, `linear` for a linear gradient, and `radial` for a radial gradient. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options.",anyOf:[{$ref:`#/definitions/colorFill`},{type:`array`,items:{$ref:`#/definitions/colorFill`},minItems:0,maxItems:128}]},"^[a-z][a-zA-Z0-9]*ColorFillStops$":{description:"Specifies the number of color stops for gradient fills. This value is only relevant when the color fill method is set to `linear` or `radial`. The minimum value is 2. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.",anyOf:[{$ref:`#/definitions/colorFillStops`},{type:`array`,items:{$ref:`#/definitions/colorFillStops`},minItems:0,maxItems:2}]},"^[a-z][a-zA-Z0-9]*ColorAngle$":{description:`Specifies the angle for the color gradient. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.`,allOf:[{$ref:`#/definitions/rotateOption`}]},"^rotate$":{description:`This is the rotation angle for the entire avatar. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation in both directions. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.`,allOf:[{$ref:`#/definitions/rotateOption`}]},"^translateY$":{description:`This is the vertical translation of the entire avatar. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the avatar down and negative values move it up. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.`,allOf:[{$ref:`#/definitions/translateOption`}]},"^translateX$":{description:`This is the horizontal translation of the entire avatar. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the avatar to the right and negative values move it to the left. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.`,allOf:[{$ref:`#/definitions/translateOption`}]}},propertyNames:{maxLength:128},additionalProperties:!1,maxProperties:512},kd={type:`string`,enum:[`none`,`horizontal`,`vertical`,`both`]},Ad={type:`string`,enum:[`solid`,`linear`,`radial`]},jd=Dd,Md=Object.prototype.hasOwnProperty,Nd=RegExp(`^[a-z][a-zA-Z0-9]*Probability$`,`u`),Pd=RegExp(`^[a-z][a-zA-Z0-9]*Variant$`,`u`),Fd=RegExp(`^[a-z][a-zA-Z0-9]*Color$`,`u`),Id=RegExp(`^[a-z][a-zA-Z0-9]*ColorFill$`,`u`),Ld=RegExp(`^[a-z][a-zA-Z0-9]*ColorFillStops$`,`u`),Rd=RegExp(`^[a-z][a-zA-Z0-9]*ColorAngle$`,`u`),zd=RegExp(`^rotate$`,`u`),q=RegExp(`^translateY$`,`u`),Bd=RegExp(`^translateX$`,`u`),Vd=RegExp(`^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$`,`u`),Hd=RegExp(`^[a-z][a-zA-Z0-9]*$`,`u`),Ud=RegExp(`^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`,`u`);function Wd(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;if(o===o)if(typeof e==`number`&&isFinite(e)){if(e>10||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/scale/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:10},message:`must be <= 10`};a===null?a=[e]:a.push(e),o++}else if(e<0||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/scale/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t,schemaPath:`#/definitions/scale/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}var u=l===o;if(c||=u,!c){let n=o;if(o===n)if(Array.isArray(e))if(e.length>2){let e={instancePath:t,schemaPath:`#/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:2},message:`must NOT have more than 2 items`};a===null?a=[e]:a.push(e),o++}else if(e.length<0){let e={instancePath:t,schemaPath:`#/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let n=e.length;for(let r=0;r<n;r++){let n=e[r],i=o;if(o===o)if(typeof n==`number`&&isFinite(n)){if(n>10||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/scale/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:10},message:`must be <= 10`};a===null?a=[e]:a.push(e),o++}else if(n<0||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/scale/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+r,schemaPath:`#/definitions/scale/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t,schemaPath:`#/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var u=n===o;c||=u}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t,schemaPath:`#/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,Wd.errors=a,!1}return Wd.errors=a,o===0}function Gd(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;if(o===o)if(typeof e==`number`&&isFinite(e)){if(e>360||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/rotate/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:360},message:`must be <= 360`};a===null?a=[e]:a.push(e),o++}else if(e<-360||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/rotate/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t,schemaPath:`#/definitions/rotate/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}var u=l===o;if(c||=u,!c){let n=o;if(o===n)if(Array.isArray(e))if(e.length>2){let e={instancePath:t,schemaPath:`#/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:2},message:`must NOT have more than 2 items`};a===null?a=[e]:a.push(e),o++}else if(e.length<0){let e={instancePath:t,schemaPath:`#/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let n=e.length;for(let r=0;r<n;r++){let n=e[r],i=o;if(o===o)if(typeof n==`number`&&isFinite(n)){if(n>360||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/rotate/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:360},message:`must be <= 360`};a===null?a=[e]:a.push(e),o++}else if(n<-360||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/rotate/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+r,schemaPath:`#/definitions/rotate/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t,schemaPath:`#/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var u=n===o;c||=u}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t,schemaPath:`#/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,Gd.errors=a,!1}return Gd.errors=a,o===0}function Kd(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;if(o===o)if(typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/translate/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`};a===null?a=[e]:a.push(e),o++}else if(e<-1e3||isNaN(e)){let e={instancePath:t,schemaPath:`#/definitions/translate/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t,schemaPath:`#/definitions/translate/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}var u=l===o;if(c||=u,!c){let n=o;if(o===n)if(Array.isArray(e))if(e.length>2){let e={instancePath:t,schemaPath:`#/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:2},message:`must NOT have more than 2 items`};a===null?a=[e]:a.push(e),o++}else if(e.length<0){let e={instancePath:t,schemaPath:`#/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let n=e.length;for(let r=0;r<n;r++){let n=e[r],i=o;if(o===o)if(typeof n==`number`&&isFinite(n)){if(n>1e3||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/translate/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`};a===null?a=[e]:a.push(e),o++}else if(n<-1e3||isNaN(n)){let e={instancePath:t+`/`+r,schemaPath:`#/definitions/translate/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+r,schemaPath:`#/definitions/translate/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t,schemaPath:`#/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var u=n===o;c||=u}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t,schemaPath:`#/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,Kd.errors=a,!1}return Kd.errors=a,o===0}function J(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0;if(o===0)if(e&&typeof e==`object`&&!Array.isArray(e)){if(Object.keys(e).length>512)return J.errors=[{instancePath:t,schemaPath:`#/maxProperties`,keyword:`maxProperties`,params:{limit:512},message:`must NOT have more than 512 properties`}],!1;for(let n in e){let e=o;if(typeof n==`string`&&jd(n)>128){let e={instancePath:t,schemaPath:`#/propertyNames/maxLength`,keyword:`maxLength`,params:{limit:128},message:`must NOT have more than 128 characters`,propertyName:n};a===null?a=[e]:a.push(e),o++}var s=e===o;if(!s){let e={instancePath:t,schemaPath:`#/propertyNames`,keyword:`propertyNames`,params:{propertyName:n},message:`property name must be valid`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}}if(s){let n=o;for(let n in e)if(!(Md.call(Od.properties,n)||Nd.test(n)||Pd.test(n)||Fd.test(n)||Id.test(n)||Ld.test(n)||Rd.test(n)||zd.test(n)||q.test(n)||Bd.test(n)))return J.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;if(n===o){if(e.seed!==void 0){let n=e.seed,r=o;if(o===r)if(typeof n==`string`){if(jd(n)>1024)return J.errors=[{instancePath:t+`/seed`,schemaPath:`#/properties/seed/maxLength`,keyword:`maxLength`,params:{limit:1024},message:`must NOT have more than 1024 characters`}],!1}else return J.errors=[{instancePath:t+`/seed`,schemaPath:`#/properties/seed/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var c=r===o}else var c=!0;if(c){if(e.size!==void 0){let n=e.size,r=o;if(!(typeof n==`number`&&!(n%1)&&!isNaN(n)&&isFinite(n)))return J.errors=[{instancePath:t+`/size`,schemaPath:`#/properties/size/type`,keyword:`type`,params:{type:`integer`},message:`must be integer`}],!1;if(o===r&&typeof n==`number`&&isFinite(n)){if(n>4096||isNaN(n))return J.errors=[{instancePath:t+`/size`,schemaPath:`#/properties/size/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:4096},message:`must be <= 4096`}],!1;if(n<1||isNaN(n))return J.errors=[{instancePath:t+`/size`,schemaPath:`#/properties/size/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}var c=r===o}else var c=!0;if(c){if(e.idRandomization!==void 0){let n=o;if(typeof e.idRandomization!=`boolean`)return J.errors=[{instancePath:t+`/idRandomization`,schemaPath:`#/properties/idRandomization/type`,keyword:`type`,params:{type:`boolean`},message:`must be boolean`}],!1;var c=n===o}else var c=!0;if(c){if(e.title!==void 0){let n=e.title,r=o;if(o===r)if(typeof n==`string`){if(jd(n)>256)return J.errors=[{instancePath:t+`/title`,schemaPath:`#/properties/title/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return J.errors=[{instancePath:t+`/title`,schemaPath:`#/properties/title/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;var c=r===o}else var c=!0;if(c){if(e.flip!==void 0){let n=e.flip,r=o,i=o,s=!1,u=o;if(typeof n!=`string`){let e={instancePath:t+`/flip`,schemaPath:`#/definitions/flip/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(!(n===`none`||n===`horizontal`||n===`vertical`||n===`both`)){let e={instancePath:t+`/flip`,schemaPath:`#/definitions/flip/enum`,keyword:`enum`,params:{allowedValues:kd.enum},message:`must be equal to one of the allowed values`};a===null?a=[e]:a.push(e),o++}var l=u===o;if(s||=l,!s){let e=o;if(o===e)if(Array.isArray(n))if(n.length>4){let e={instancePath:t+`/flip`,schemaPath:`#/properties/flip/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:4},message:`must NOT have more than 4 items`};a===null?a=[e]:a.push(e),o++}else if(n.length<0){let e={instancePath:t+`/flip`,schemaPath:`#/properties/flip/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=n.length;for(let r=0;r<e;r++){let e=n[r],i=o;if(typeof e!=`string`){let e={instancePath:t+`/flip/`+r,schemaPath:`#/definitions/flip/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(!(e===`none`||e===`horizontal`||e===`vertical`||e===`both`)){let e={instancePath:t+`/flip/`+r,schemaPath:`#/definitions/flip/enum`,keyword:`enum`,params:{allowedValues:kd.enum},message:`must be equal to one of the allowed values`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t+`/flip`,schemaPath:`#/properties/flip/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var l=e===o;s||=l}if(s)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/flip`,schemaPath:`#/properties/flip/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var c=r===o}else var c=!0;if(c){if(e.fontFamily!==void 0){let n=e.fontFamily,r=o,i=o,s=!1,l=o;if(o===o)if(typeof n==`string`){if(jd(n)>256){let e={instancePath:t+`/fontFamily`,schemaPath:`#/definitions/fontFamilyName/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`};a===null?a=[e]:a.push(e),o++}else if(!Vd.test(n)){let e={instancePath:t+`/fontFamily`,schemaPath:`#/definitions/fontFamilyName/pattern`,keyword:`pattern`,params:{pattern:`^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$`},message:`must match pattern "^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/fontFamily`,schemaPath:`#/definitions/fontFamilyName/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var u=l===o;if(s||=u,!s){let e=o;if(o===e)if(Array.isArray(n))if(n.length>128){let e={instancePath:t+`/fontFamily`,schemaPath:`#/properties/fontFamily/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`};a===null?a=[e]:a.push(e),o++}else if(n.length<0){let e={instancePath:t+`/fontFamily`,schemaPath:`#/properties/fontFamily/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=n.length;for(let r=0;r<e;r++){let e=n[r],i=o;if(o===o)if(typeof e==`string`){if(jd(e)>256){let e={instancePath:t+`/fontFamily/`+r,schemaPath:`#/definitions/fontFamilyName/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`};a===null?a=[e]:a.push(e),o++}else if(!Vd.test(e)){let e={instancePath:t+`/fontFamily/`+r,schemaPath:`#/definitions/fontFamilyName/pattern`,keyword:`pattern`,params:{pattern:`^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$`},message:`must match pattern "^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/fontFamily/`+r,schemaPath:`#/definitions/fontFamilyName/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t+`/fontFamily`,schemaPath:`#/properties/fontFamily/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var u=e===o;s||=u}if(s)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/fontFamily`,schemaPath:`#/properties/fontFamily/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var c=r===o}else var c=!0;if(c){if(e.fontWeight!==void 0){let n=e.fontWeight,r=o,i=o,s=!1,l=o,u=o;if(!(typeof n==`number`&&!(n%1)&&!isNaN(n)&&isFinite(n))){let e={instancePath:t+`/fontWeight`,schemaPath:`#/definitions/fontWeight/type`,keyword:`type`,params:{type:`integer`},message:`must be integer`};a===null?a=[e]:a.push(e),o++}if(o===u&&typeof n==`number`&&isFinite(n)){if(n>1e3||isNaN(n)){let e={instancePath:t+`/fontWeight`,schemaPath:`#/definitions/fontWeight/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`};a===null?a=[e]:a.push(e),o++}else if(n<1||isNaN(n)){let e={instancePath:t+`/fontWeight`,schemaPath:`#/definitions/fontWeight/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`};a===null?a=[e]:a.push(e),o++}}var d=l===o;if(s||=d,!s){let e=o;if(o===e)if(Array.isArray(n))if(n.length>128){let e={instancePath:t+`/fontWeight`,schemaPath:`#/properties/fontWeight/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`};a===null?a=[e]:a.push(e),o++}else if(n.length<0){let e={instancePath:t+`/fontWeight`,schemaPath:`#/properties/fontWeight/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=n.length;for(let r=0;r<e;r++){let e=n[r],i=o,s=o;if(!(typeof e==`number`&&!(e%1)&&!isNaN(e)&&isFinite(e))){let e={instancePath:t+`/fontWeight/`+r,schemaPath:`#/definitions/fontWeight/type`,keyword:`type`,params:{type:`integer`},message:`must be integer`};a===null?a=[e]:a.push(e),o++}if(o===s&&typeof e==`number`&&isFinite(e)){if(e>1e3||isNaN(e)){let e={instancePath:t+`/fontWeight/`+r,schemaPath:`#/definitions/fontWeight/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:1e3},message:`must be <= 1000`};a===null?a=[e]:a.push(e),o++}else if(e<1||isNaN(e)){let e={instancePath:t+`/fontWeight/`+r,schemaPath:`#/definitions/fontWeight/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`};a===null?a=[e]:a.push(e),o++}}if(i!==o)break}}else{let e={instancePath:t+`/fontWeight`,schemaPath:`#/properties/fontWeight/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var d=e===o;s||=d}if(s)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/fontWeight`,schemaPath:`#/properties/fontWeight/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var c=r===o}else var c=!0;if(c){if(e.scale!==void 0){let n=o;Wd(e.scale,{instancePath:t+`/scale`,parentData:e,parentDataProperty:`scale`,rootData:i})||(a=a===null?Wd.errors:a.concat(Wd.errors),o=a.length);var c=n===o}else var c=!0;if(c){if(e.borderRadius!==void 0){let n=e.borderRadius,r=o,i=o,s=!1,l=o;if(o===o)if(typeof n==`number`&&isFinite(n)){if(n>50||isNaN(n)){let e={instancePath:t+`/borderRadius`,schemaPath:`#/definitions/borderRadius/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:50},message:`must be <= 50`};a===null?a=[e]:a.push(e),o++}else if(n<0||isNaN(n)){let e={instancePath:t+`/borderRadius`,schemaPath:`#/definitions/borderRadius/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/borderRadius`,schemaPath:`#/definitions/borderRadius/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}var f=l===o;if(s||=f,!s){let e=o;if(o===e)if(Array.isArray(n))if(n.length>2){let e={instancePath:t+`/borderRadius`,schemaPath:`#/properties/borderRadius/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:2},message:`must NOT have more than 2 items`};a===null?a=[e]:a.push(e),o++}else if(n.length<0){let e={instancePath:t+`/borderRadius`,schemaPath:`#/properties/borderRadius/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=n.length;for(let r=0;r<e;r++){let e=n[r],i=o;if(o===o)if(typeof e==`number`&&isFinite(e)){if(e>50||isNaN(e)){let e={instancePath:t+`/borderRadius/`+r,schemaPath:`#/definitions/borderRadius/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:50},message:`must be <= 50`};a===null?a=[e]:a.push(e),o++}else if(e<0||isNaN(e)){let e={instancePath:t+`/borderRadius/`+r,schemaPath:`#/definitions/borderRadius/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/borderRadius/`+r,schemaPath:`#/definitions/borderRadius/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[e]:a.push(e),o++}if(i!==o)break}}else{let e={instancePath:t+`/borderRadius`,schemaPath:`#/properties/borderRadius/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var f=e===o;s||=f}if(s)o=i,a!==null&&(i?a.length=i:a=null);else{let e={instancePath:t+`/borderRadius`,schemaPath:`#/properties/borderRadius/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var c=r===o}else var c=!0;if(c){var p=!0;for(let n in e)if(Nd.test(n)){let r=e[n],i=o;if(o===i)if(typeof r==`number`&&isFinite(r)){if(r>100||isNaN(r))return J.errors=[{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/maximum`,keyword:`maximum`,params:{comparison:`<=`,limit:100},message:`must be <= 100`}],!1;if(r<0||isNaN(r))return J.errors=[{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return J.errors=[{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/type`,keyword:`type`,params:{type:`number`},message:`must be number`}],!1;var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Pd.test(n)){let r=e[n],i=o,s=o,c=!1,l=o;if(o===o)if(typeof r==`string`){if(jd(r)>64){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`};a===null?a=[e]:a.push(e),o++}else if(!Hd.test(r)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var m=l===o;if(c||=m,!c){let e=o;if(o===e)if(Array.isArray(r))if(r.length>128){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`};a===null?a=[e]:a.push(e),o++}else if(r.length<0){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=r.length;for(let i=0;i<e;i++){let e=r[i],s=o;if(o===o)if(typeof e==`string`){if(jd(e)>64){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/variantName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`};a===null?a=[e]:a.push(e),o++}else if(!Hd.test(e)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/variantName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/variantName/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(s!==o)break}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var m=e===o;if(c||=m,!c){let e=o;if(o===e)if(r&&typeof r==`object`&&!Array.isArray(r))if(Object.keys(r).length>512){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/maxProperties`,keyword:`maxProperties`,params:{limit:512},message:`must NOT have more than 512 properties`};a===null?a=[e]:a.push(e),o++}else if(Object.keys(r).length<1){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/minProperties`,keyword:`minProperties`,params:{limit:1},message:`must NOT have fewer than 1 properties`};a===null?a=[e]:a.push(e),o++}else{for(let e in r){let r=o;if(o===o)if(typeof e==`string`){if(jd(e)>64){let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`,propertyName:e};a===null?a=[r]:a.push(r),o++}else if(!Hd.test(e)){let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/pattern`,keyword:`pattern`,params:{pattern:`^[a-z][a-zA-Z0-9]*$`},message:`must match pattern "^[a-z][a-zA-Z0-9]*$"`,propertyName:e};a===null?a=[r]:a.push(r),o++}}else{let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/variantName/type`,keyword:`type`,params:{type:`string`},message:`must be string`,propertyName:e};a===null?a=[r]:a.push(r),o++}var h=r===o;if(!h){let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/propertyNames`,keyword:`propertyNames`,params:{propertyName:e},message:`property name must be valid`};a===null?a=[r]:a.push(r),o++;break}}if(h)for(let e in r){let i=r[e],s=o;if(o===s)if(typeof i==`number`&&isFinite(i)){if(i<0||isNaN(i)){let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/additionalProperties/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`};a===null?a=[r]:a.push(r),o++}}else{let r={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/additionalProperties/type`,keyword:`type`,params:{type:`number`},message:`must be number`};a===null?a=[r]:a.push(r),o++}if(s!==o)break}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf/2/type`,keyword:`type`,params:{type:`object`},message:`must be object`};a===null?a=[e]:a.push(e),o++}var m=e===o;c||=m}}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Fd.test(n)){let r=e[n],i=o,s=o,c=!1,l=o;if(o===o)if(typeof r==`string`){if(!Ud.test(r)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/color/pattern`,keyword:`pattern`,params:{pattern:`^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`},message:`must match pattern "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/color/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}var g=l===o;if(c||=g,!c){let e=o;if(o===e)if(Array.isArray(r))if(r.length>128){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Color%24/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`};a===null?a=[e]:a.push(e),o++}else if(r.length<0){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Color%24/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=r.length;for(let i=0;i<e;i++){let e=r[i],s=o;if(o===o)if(typeof e==`string`){if(!Ud.test(e)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/color/pattern`,keyword:`pattern`,params:{pattern:`^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`},message:`must match pattern "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"`};a===null?a=[e]:a.push(e),o++}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/color/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(s!==o)break}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Color%24/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var g=e===o;c||=g}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Color%24/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Id.test(n)){let r=e[n],i=o,s=o,c=!1,l=o;if(typeof r!=`string`){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/colorFill/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(!(r===`solid`||r===`linear`||r===`radial`)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/colorFill/enum`,keyword:`enum`,params:{allowedValues:Ad.enum},message:`must be equal to one of the allowed values`};a===null?a=[e]:a.push(e),o++}var _=l===o;if(c||=_,!c){let e=o;if(o===e)if(Array.isArray(r))if(r.length>128){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFill%24/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:128},message:`must NOT have more than 128 items`};a===null?a=[e]:a.push(e),o++}else if(r.length<0){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFill%24/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=r.length;for(let i=0;i<e;i++){let e=r[i],s=o;if(typeof e!=`string`){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/colorFill/type`,keyword:`type`,params:{type:`string`},message:`must be string`};a===null?a=[e]:a.push(e),o++}if(!(e===`solid`||e===`linear`||e===`radial`)){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/colorFill/enum`,keyword:`enum`,params:{allowedValues:Ad.enum},message:`must be equal to one of the allowed values`};a===null?a=[e]:a.push(e),o++}if(s!==o)break}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFill%24/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var _=e===o;c||=_}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFill%24/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Ld.test(n)){let r=e[n],i=o,s=o,c=!1,l=o,u=o;if(!(typeof r==`number`&&!(r%1)&&!isNaN(r)&&isFinite(r))){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/colorFillStops/type`,keyword:`type`,params:{type:`integer`},message:`must be integer`};a===null?a=[e]:a.push(e),o++}if(o===u&&typeof r==`number`&&isFinite(r)&&(r<2||isNaN(r))){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/definitions/colorFillStops/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:2},message:`must be >= 2`};a===null?a=[e]:a.push(e),o++}var v=l===o;if(c||=v,!c){let e=o;if(o===e)if(Array.isArray(r))if(r.length>2){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFillStops%24/anyOf/1/maxItems`,keyword:`maxItems`,params:{limit:2},message:`must NOT have more than 2 items`};a===null?a=[e]:a.push(e),o++}else if(r.length<0){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFillStops%24/anyOf/1/minItems`,keyword:`minItems`,params:{limit:0},message:`must NOT have fewer than 0 items`};a===null?a=[e]:a.push(e),o++}else{let e=r.length;for(let i=0;i<e;i++){let e=r[i],s=o,c=o;if(!(typeof e==`number`&&!(e%1)&&!isNaN(e)&&isFinite(e))){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/colorFillStops/type`,keyword:`type`,params:{type:`integer`},message:`must be integer`};a===null?a=[e]:a.push(e),o++}if(o===c&&typeof e==`number`&&isFinite(e)&&(e<2||isNaN(e))){let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/`+i,schemaPath:`#/definitions/colorFillStops/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:2},message:`must be >= 2`};a===null?a=[e]:a.push(e),o++}if(s!==o)break}}else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFillStops%24/anyOf/1/type`,keyword:`type`,params:{type:`array`},message:`must be array`};a===null?a=[e]:a.push(e),o++}var v=e===o;c||=v}if(c)o=s,a!==null&&(s?a.length=s:a=null);else{let e={instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),schemaPath:`#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*ColorFillStops%24/anyOf`,keyword:`anyOf`,params:{},message:`must match a schema in anyOf`};return a===null?a=[e]:a.push(e),o++,J.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Rd.test(n)){let r=o;Gd(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Gd.errors:a.concat(Gd.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(zd.test(n)){let r=o;Gd(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Gd.errors:a.concat(Gd.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(q.test(n)){let r=o;Kd(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Kd.errors:a.concat(Kd.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Bd.test(n)){let r=o;Kd(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Kd.errors:a.concat(Kd.errors),o=a.length);var p=r===o;if(!p)break}}}}}}}}}}}}}}}}}}}}}else return J.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return J.errors=a,o===0}var qd=class{static validate(e){if(!J(e))throw new K(J.errors||[])}},Jd=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Y=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Yd,Xd,Zd,Qd,$d,ef=class{constructor(e={}){Yd.add(this),Xd.set(this,void 0),qd.validate(e),Jd(this,Xd,structuredClone(e),`f`)}seed(){return Y(this,Xd,`f`).seed}size(){return Y(this,Xd,`f`).size}idRandomization(){return Y(this,Xd,`f`).idRandomization}title(){return Y(this,Xd,`f`).title}flip(){return Y(this,Yd,`m`,Qd).call(this,Y(this,Xd,`f`).flip)}fontFamily(){return Y(this,Yd,`m`,Qd).call(this,Y(this,Xd,`f`).fontFamily)}fontWeight(){return Y(this,Yd,`m`,Qd).call(this,Y(this,Xd,`f`).fontWeight)}scale(){return Y(this,Yd,`m`,$d).call(this,Y(this,Xd,`f`).scale)}borderRadius(){return Y(this,Yd,`m`,$d).call(this,Y(this,Xd,`f`).borderRadius)}rotate(){return Y(this,Yd,`m`,$d).call(this,Y(this,Xd,`f`).rotate)}translateX(){return Y(this,Yd,`m`,$d).call(this,Y(this,Xd,`f`).translateX)}translateY(){return Y(this,Yd,`m`,$d).call(this,Y(this,Xd,`f`).translateY)}componentVariant(e){let t=Y(this,Yd,`m`,Zd).call(this,`${e}Variant`);if(t!==void 0)return typeof t==`string`?{[t]:1}:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,1])):t}componentProbability(e){return Y(this,Yd,`m`,Zd).call(this,`${e}Probability`)}color(e){let t=Y(this,Yd,`m`,Zd).call(this,`${e}Color`);return t===void 0?void 0:Y(this,Yd,`m`,Qd).call(this,t)}colorFill(e){return Y(this,Yd,`m`,Qd).call(this,Y(this,Yd,`m`,Zd).call(this,`${e}ColorFill`))}colorAngle(e){return Y(this,Yd,`m`,$d).call(this,Y(this,Yd,`m`,Zd).call(this,`${e}ColorAngle`))}colorFillStops(e){return Y(this,Yd,`m`,$d).call(this,Y(this,Yd,`m`,Zd).call(this,`${e}ColorFillStops`))}};Xd=new WeakMap,Yd=new WeakSet,Zd=function(e){return Y(this,Xd,`f`)[e]},Qd=function(e){return e===void 0?[]:Array.isArray(e)?e:[e]},$d=function(e){if(e!==void 0){if(typeof e==`number`)return{min:e,max:e};if(e.length!==0)return{min:Math.min(...e),max:Math.max(...e)}}};var tf=class e{static hash(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}static hex(t){return e.hash(t).toString(16).padStart(8,`0`)}},nf=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},rf=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},af,of=2**32,sf=class{constructor(e){af.set(this,void 0),nf(this,af,e,`f`)}next(){let e=nf(this,af,rf(this,af,`f`)+1831565813|0,`f`),t=Math.imul(e^e>>>15,e|1);return t^=t+Math.imul(t^t>>>7,t|61),(t^t>>>14)>>>0}nextFloat(){return this.next()/of}state(){return rf(this,af,`f`)}};af=new WeakMap;var cf=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},lf=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},uf,df,ff,pf,mf=class{constructor(e){uf.add(this),df.set(this,void 0),cf(this,df,e,`f`)}pick(e,t){if(t.length===0)return;if(t.length===1)return t[0];let n=lf(this,uf,`m`,ff).call(this,t);if(n.length===1)return n[0];let r=n.sort(lf(this,uf,`m`,pf));return r[Math.floor(this.getValue(e)*r.length)]}weightedPick(e,t){let n=Object.keys(t);if(n.length===0)return;if(n.length===1)return n[0];let r=n.sort(lf(this,uf,`m`,pf)),i=r.reduce((e,n)=>e+t[n],0);if(i===0)return this.pick(e,r);let a=this.getValue(e)*i,o=0;for(let e of r)if(o+=t[e],a<o)return e;return r[r.length-1]}bool(e,t=50){return this.getValue(e)*100<t}float(e,t){let n=Math.min(t.min,t.max),r=Math.max(t.min,t.max),i=t.step??0,a;if(i>0){let t=Math.floor((r-n)/i)+1;a=n+Math.floor(this.getValue(e)*t)*i}else a=n+this.getValue(e)*(r-n);return Math.round(a*1e4)/1e4}integer(e,t){let n=Math.min(t.min,t.max),r=Math.max(t.min,t.max);return Math.floor(this.getValue(e)*(r-n+1))+n}shuffle(e,t){if(t.length<=1)return[...t];let n=lf(this,uf,`m`,ff).call(this,t).sort(lf(this,uf,`m`,pf)),r=new sf(tf.hash(lf(this,df,`f`)+`:`+e));for(let e=n.length-1;e>0;e--){let t=Math.floor(r.nextFloat()*(e+1)),i=n[e];n[e]=n[t],n[t]=i}return n}getValue(e){return new sf(tf.hash(lf(this,df,`f`)+`:`+e)).nextFloat()}};df=new WeakMap,uf=new WeakSet,ff=function(e,t=String){let n=new Set,r=[];for(let i of e){let e=t(i);n.has(e)||(n.add(e),r.push(i))}return r},pf=function(e,t){let n=String(e),r=String(t);return n<r?-1:+(n>r)};var hf=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},gf,_f,vf,yf=class{static toHex(e){let t=e.replace(/^#/,``).toLowerCase();return t.length===3?`#`+t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t.length===4?`#`+t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]:`#`+t}static toRgbHex(e){let t=this.toHex(e);return t.length>7?t.slice(0,7):t}static parseHex(e){let t=this.toHex(e).slice(1);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}static luminance(e){let t=this.parseHex(e),n=hf(this,gf,`m`,vf).call(this,t[0]),r=hf(this,gf,`m`,vf).call(this,t[1]),i=hf(this,gf,`m`,vf).call(this,t[2]);return .2126*n+.7152*r+.0722*i}static sortByContrast(e,t){let n=this.luminance(t),r=e.map(e=>{let t=this.luminance(e);return{color:e,ratio:(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}});return r.sort((e,t)=>t.ratio-e.ratio),r.map(e=>e.color)}static filterNotEqualTo(e,t){let n=new Set(t.map(e=>this.toRgbHex(e))),r=e.filter(e=>!n.has(this.toRgbHex(e)));return r.length>0?r:Array.from(e)}};gf=yf,vf=function(e){return hf(gf,gf,`f`,_f)[e]},_f={value:[0,.0003035269835488375,.000607053967097675,.0009105809506465125,.00121410793419535,.0015176349177441874,.001821161901293025,.0021246888848418626,.0024282158683907,.0027317428519395373,.003035269835488375,.003346535763899161,.003676507324047436,.004024717018496307,.004391442037410293,.004776953480693729,.005181516702338386,.005605391624202723,.006048833022857055,.006512090792594474,.006995410187265387,.007499032043226175,.008023192985384994,.008568125618069307,.009134058702220787,.009721217320237847,.010329823029626938,.010960094006488246,.011612245179743887,.012286488356915872,.012983032342173012,.013702083047289686,.014443843596092545,.01520851442291271,.01599629336550963,.016807375752887384,.017641954488384078,.018500220128379697,.019382360956935723,.0202885630566524,.021219010376003558,.02217388479338738,.02315336617811041,.024157632448504756,.025186859627361627,.026241221894849898,.027320891639074897,.028426039504420793,.0295568344378088,.030713443732993635,.03189603307301153,.033104766570885055,.03433980680868217,.03560131487502034,.03688945040110004,.0382043715953465,.03954623527673283,.04091519690685319,.042311410620809675,.043735029256973465,.04518620438567554,.0466650863368801,.048171824226889426,.04970656598412723,.05126945837404324,.052860647023180246,.05448027644244237,.05612849004960009,.05780543019106723,.0595112381629812,.06124605423161761,.06301001765316767,.06480326669290577,.06662593864377289,.06847816984440017,.07036009569659588,.07227185068231748,.07421356838014963,.07618538148130785,.07818742180518633,.08021982031446831,.0822827071298148,.08437621154414882,.08650046203654976,.08865558628577294,.09084171118340767,.09305896284668747,.0953074666309647,.09758734714186246,.09989872824711389,.1022417330881013,.10461648409110419,.10702310297826761,.10946171077829933,.1119324278369056,.11443537382697373,.11697066775851084,.11953842798834562,.12213877222960187,.12477181756095049,.12743768043564743,.1301364766903643,.13286832155381798,.13563332965520566,.13843161503245183,.14126329114027164,.14412847085805777,.14702726649759498,.14995978981060856,.15292615199615017,.1559264637078274,.1589608350608804,.16202937563911096,.1651321945016676,.16826940018969075,.1714411007328226,.17464740365558504,.17788841598362914,.18116424424986022,.184474994500441,.18782077230067787,.1912016827407914,.19461783044157582,.19806931955994886,.20155625379439707,.20507873639031693,.20863687014525575,.21223075741405523,.21586050011389923,.21952619972926923,.2232279573168085,.22696587351009836,.23074004852434915,.23455058216100522,.238397573812271,.24228112246555486,.24620132670783548,.25015828472995344,.25415209433082675,.2581828529215958,.26225065752969623,.26635560480286247,.2704977910130658,.27467731206038465,.2788942634768104,.2831487404299921,.2874408377269175,.29177064981753587,.2961382707983211,.3005437944157765,.3049873140698863,.30946892281750854,.31398871337571754,.31854677812509186,.32314320911295075,.3277780980565422,.33245153634617935,.33716361504833037,.341914424908661,.3467040563550296,.35153259950043936,.3564001441459435,.3613067797835095,.3662525955988395,.3712376804741491,.37626212299090644,.3813260114325301,.386429433787049,.39157247774972326,.39675523072562685,.40197777983219574,.4072402119017367,.41254261348390375,.4178850708481375,.4232676699860717,.4286904966139067,.4341536361747489,.4396571738409188,.44520119451622786,.45078578283822346,.45641102318040466,.4620769996544071,.467783796112159,.47353149614800955,.4793201831008268,.4851499400560704,.4910208498478356,.4969329950608704,.5028864580325687,.5088813208549338,.5149176653765214,.5209955732043543,.5271151257058131,.5332764040105052,.5394794890121071,.5457244613701866,.5520114015120001,.5583403896342679,.5647115057049292,.5711248294648731,.5775804404296506,.5840784178911641,.5906188409193369,.5972017883637634,.6038273388553378,.6104955708078648,.6172065624196511,.6239603916750761,.6307571363461468,.6375968739940326,.6444796819705821,.6514056374198242,.6583748172794486,.665387298282272,.6724431569576875,.6795424696330938,.6866853124353134,.6938717612919899,.7011018919329731,.7083757798916868,.7156935005064807,.7230551289219693,.7304607400903537,.7379104087727308,.7454042095403874,.7529422167760779,.7605245046752924,.7681511472475071,.7758222183174236,.7835377915261935,.7912979403326302,.799102738014409,.8069522576692516,.8148465722161012,.8227857543962835,.8307698767746546,.83879901174074,.846873231509858,.8549926081242338,.8631572134541023,.8713671191987973,.8796223968878317,.8879231178819663,.8962693533742664,.9046611743911496,.9130986517934192,.9215818562772946,.9301108583754237,.938685728457888,.9473065367331999,.9559733532492861,.9646862478944651,.9734452903984125,.9822505503331171,.9911020971138298,1]};var bf=class extends Error{constructor(e){let t=e.join(` → `);super(`Circular color reference: ${t}`),this.name=`CircularColorReferenceError`,this.chain=e}},xf=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},X=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Sf,Cf,wf,Tf,Ef,Df,Of,kf,Af,jf,Mf,Nf,Pf=class{constructor(e,t){Sf.add(this),Cf.set(this,void 0),wf.set(this,void 0),Tf.set(this,void 0),Ef.set(this,[]),Df.set(this,{}),xf(this,Cf,e,`f`),xf(this,wf,t,`f`),xf(this,Tf,new mf(this.seed()),`f`)}seed(){return X(this,wf,`f`).seed()??``}size(){return X(this,Sf,`m`,Nf).call(this,`size`,()=>X(this,wf,`f`).size())}idRandomization(){return X(this,Sf,`m`,Nf).call(this,`idRandomization`,()=>X(this,wf,`f`).idRandomization()??!1)}title(){return X(this,Sf,`m`,Nf).call(this,`title`,()=>X(this,wf,`f`).title())}flip(){return X(this,Sf,`m`,Nf).call(this,`flip`,()=>X(this,Tf,`f`).pick(`flip`,X(this,wf,`f`).flip())??`none`)}fontFamily(){return X(this,Sf,`m`,Nf).call(this,`fontFamily`,()=>X(this,Tf,`f`).pick(`fontFamily`,X(this,wf,`f`).fontFamily())??`system-ui`)}fontWeight(){return X(this,Sf,`m`,Nf).call(this,`fontWeight`,()=>X(this,Tf,`f`).pick(`fontWeight`,X(this,wf,`f`).fontWeight())??400)}scale(){return X(this,Sf,`m`,Mf).call(this,`scale`,X(this,wf,`f`).scale(),1)}borderRadius(){return X(this,Sf,`m`,Mf).call(this,`borderRadius`,X(this,wf,`f`).borderRadius(),0)}rotate(){return X(this,Sf,`m`,Mf).call(this,`rotate`,X(this,wf,`f`).rotate(),0)}translateX(){return X(this,Sf,`m`,Mf).call(this,`translateX`,X(this,wf,`f`).translateX(),0)}translateY(){return X(this,Sf,`m`,Mf).call(this,`translateY`,X(this,wf,`f`).translateY(),0)}variant(e){return X(this,Sf,`m`,Nf).call(this,`${e}Variant`,()=>{let t=X(this,Cf,`f`).components().get(e);if(!t||!X(this,Sf,`m`,kf).call(this,e,t))return;let n=X(this,wf,`f`).componentVariant(t.sourceName()),r=t.variants(),i={};if(n===void 0)for(let[e,t]of r)i[e]=t.weight();else for(let[e,t]of Object.entries(n))r.has(e)&&(i[e]=t);return X(this,Tf,`f`).weightedPick(`${e}Variant`,i)})}color(e){return X(this,Sf,`m`,Nf).call(this,`${e}Color`,()=>X(this,Sf,`m`,Af).call(this,e))}colorFill(e){return X(this,Sf,`m`,Nf).call(this,`${e}ColorFill`,()=>X(this,Tf,`f`).pick(`${e}ColorFill`,X(this,wf,`f`).colorFill(e))??`solid`)}colorAngle(e){return X(this,Sf,`m`,Mf).call(this,`${e}ColorAngle`,X(this,wf,`f`).colorAngle(e),0)}componentTransform(e){let t=X(this,Cf,`f`).components().get(e);return{rotate:X(this,Sf,`m`,Mf).call(this,`${e}Rotate`,t?.rotate(),0),translateX:X(this,Sf,`m`,Mf).call(this,`${e}TranslateX`,t?.translate().x(),0),translateY:X(this,Sf,`m`,Mf).call(this,`${e}TranslateY`,t?.translate().y(),0),scale:X(this,Sf,`m`,Mf).call(this,`${e}Scale`,t?.scale(),1)}}resolved(){return X(this,Df,`f`)}};Cf=new WeakMap,wf=new WeakMap,Tf=new WeakMap,Ef=new WeakMap,Df=new WeakMap,Sf=new WeakSet,Of=function(e){return X(this,wf,`f`).componentProbability(e.sourceName())??e.probability()},kf=function(e,t){return X(this,Tf,`f`).bool(`${e}Probability`,X(this,Sf,`m`,Of).call(this,t))},Af=function(e){let t=X(this,wf,`f`).color(e),n=X(this,Cf,`f`).colors().get(e),r=(t??n?.values()??[]).map(e=>yf.toHex(e)),i=this.colorFill(e)===`solid`?1:X(this,Sf,`m`,jf).call(this,e);if(!n)return X(this,Tf,`f`).shuffle(`${e}Color`,r).slice(0,i);if(X(this,Ef,`f`).includes(e))throw new bf(X(this,Ef,`f`).concat(e));X(this,Ef,`f`).push(e);let a=n.contrastTo(),o=n.notEqualTo();try{if(a){let e=this.color(a)[0];e&&(r=yf.sortByContrast(r,e))}if(o.length>0){let e=[];for(let t of o)for(let n of this.color(t))e.push(n);r=yf.filterNotEqualTo(r,e)}}finally{X(this,Ef,`f`).pop()}return(a?r:X(this,Tf,`f`).shuffle(`${e}Color`,r)).slice(0,i)},jf=function(e){let t=X(this,wf,`f`).colorFillStops(e);return t?X(this,Tf,`f`).integer(`${e}ColorFillStops`,t):2},Mf=function(e,t,n){return X(this,Sf,`m`,Nf).call(this,e,()=>t?X(this,Tf,`f`).float(e,t):n)},Nf=function(e,t){if(e in X(this,Df,`f`))return X(this,Df,`f`)[e];let n=t();return X(this,Df,`f`)[e]=n,n};var Ff=class{static fromSeed(e,t=!0){let n=e;t&&(n=e.replace(/@.*/s,``)),n=n.replace(/[`´'ʼ]/g,``);let r=n.match(/(\p{L}[\p{L}\p{M}]*)/gu);if(!r)return t?this.fromSeed(e,!1):``;if(r.length===1){let e=r[0].match(/^(?:\p{L}\p{M}*){1,2}/u);return e?e[0].toUpperCase():``}let i=r[0].match(/^(?:\p{L}\p{M}*)/u),a=r[r.length-1].match(/^(?:\p{L}\p{M}*)/u);return!i||!a?``:(i[0]+a[0]).toUpperCase()}},If=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Lf,Rf,zf,Bf=class{static escape(e){return e.replace(If(Lf,Lf,`f`,zf),e=>If(Lf,Lf,`f`,Rf)[e])}};Lf=Bf,Rf={value:{"&":`&`,"'":`'`,'"':`"`,"<":`<`,">":`>`}},zf={value:RegExp(`[${Object.keys(If(Lf,Lf,`f`,Rf)).join(``)}]`,`g`)};var Vf=class{static text(e){let t=e.source().name(),n=e.source().url(),r=e.creator().name(),i=e.license().name(),a=e.license().url();if(!t&&!r&&!i)return``;let o=t?`“${t}”`:`Design`;n&&(o+=` (${n})`);let s=`“${r??`Unknown`}”`,c=``;return i!==`MIT`&&r!==`DiceBear`&&t&&(c+=`Remix of `),c+=`${o} by ${s}`,i&&(c+=`, licensed under “${i}”`,a&&(c+=` (${a})`)),c}static xml(e){let t=e.source().name(),n=e.creator().name(),r=e.source().url(),i=e.license().url(),a=this.text(e);if(!t&&!n&&!r&&!i&&!a)return``;let o=[];return t&&o.push(`<dc:title>${Bf.escape(t)}</dc:title>`),n&&o.push(`<dc:creator>${Bf.escape(n)}</dc:creator>`),r&&o.push(`<dc:source xsi:type="dcterms:URI">${Bf.escape(r)}</dc:source>`),i&&o.push(`<dcterms:license xsi:type="dcterms:URI">${Bf.escape(i)}</dcterms:license>`),a&&o.push(`<dc:rights>${Bf.escape(a)}</dc:rights>`),`<metadata xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"><rdf:RDF><rdf:Description>${o.join(``)}</rdf:Description></rdf:RDF></metadata>`}},Z=class{static format(e){if(e!==e)return`NaN`;if(e===1/0)return`Infinity`;if(e===-1/0)return`-Infinity`;let t=Math.round(e*1e5),n=t<0?`-`:``;t=Math.abs(t);let r=Math.floor(t/1e5),i=String(t%1e5).padStart(5,`0`).replace(/0+$/,``);return`${n}${r}${i?`.${i}`:``}`}},Hf=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Q=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},$,Uf,Wf,Gf,Kf,qf,Jf,Yf,Xf,Zf,Qf,$f,ep,tp,np,rp,ip,ap,op,sp,cp,lp,up,dp,fp,pp,mp,hp=class{constructor(e,t){$.add(this),Uf.set(this,void 0),Wf.set(this,void 0),Gf.set(this,new Map),Kf.set(this,void 0),qf.set(this,void 0),Hf(this,Uf,e,`f`),Hf(this,Wf,t,`f`)}render(){let e=Q(this,Uf,`f`).canvas(),t=Q(this,$,`m`,$f).call(this,e),n=Q(this,$,`m`,tp).call(this,e.elements());n=Q(this,$,`m`,Yf).call(this,n,e),n=Q(this,$,`m`,Jf).call(this,n,e),n=Q(this,$,`m`,Zf).call(this,n,e),n=Q(this,$,`m`,Qf).call(this,n,e),n=Q(this,$,`m`,Xf).call(this,`${t}${n}`,e);let r=Vf.xml(Q(this,Uf,`f`).meta()),i=Q(this,Gf,`f`).size>0?`<defs>${Array.from(Q(this,Gf,`f`).values()).join(``)}</defs>`:``,a=Q(this,Wf,`f`).size(),o=Q(this,Wf,`f`).title(),s=o===void 0?void 0:Bf.escape(o),c=[`xmlns="http://www.w3.org/2000/svg"`,`viewBox="0 0 ${Z.format(e.width())} ${Z.format(e.height())}"`],l=Q(this,$,`m`,sp).call(this,Q(this,Uf,`f`).attributes());if(l&&c.push(l.trimStart()),s===void 0?c.push(`aria-hidden="true"`):c.push(`role="img"`,`aria-label="${s}"`),a!==void 0){let e=Z.format(a);c.push(`width="${e}"`,`height="${e}"`)}let u=s===void 0?``:`<title>${s}</title>`,d=`<svg ${c.join(` `)}><!-- Generated by DiceBear (https://dicebear.com) -->${r}${i}${u}${n}</svg>`;return Q(this,Wf,`f`).idRandomization()&&(d=Q(this,$,`m`,ep).call(this,d)),d}};Uf=new WeakMap,Wf=new WeakMap,Gf=new WeakMap,Kf=new WeakMap,qf=new WeakMap,$=new WeakSet,Jf=function(e,t){let n=Q(this,Wf,`f`).flip();if(n===`none`)return e;let r=Z.format(t.width()),i=Z.format(t.height()),a;switch(n){case`horizontal`:a=`translate(${r}, 0) scale(-1, 1)`;break;case`vertical`:a=`translate(0, ${i}) scale(1, -1)`;break;case`both`:a=`translate(${r}, ${i}) scale(-1, -1)`;break}return`<g transform="${a}">${e}</g>`},Yf=function(e,t){let n=Q(this,Wf,`f`).scale();if(n===1)return e;let r=t.width()/2,i=t.height()/2;return`<g transform="translate(${Z.format(r)}, ${Z.format(i)}) scale(${Z.format(n)}) translate(${Z.format(-r)}, ${Z.format(-i)})">${e}</g>`},Xf=function(e,t){let n=Q(this,Wf,`f`).borderRadius(),r=`clip-${Q(this,$,`m`,mp).call(this)}`,i=Z.format(n/100*t.width()),a=Z.format(n/100*t.height());return Q(this,Gf,`f`).set(r,`<clipPath id="${r}"><rect width="${Z.format(t.width())}" height="${Z.format(t.height())}" rx="${i}" ry="${a}"/></clipPath>`),`<g clip-path="url(#${r})">${e}</g>`},Zf=function(e,t){let n=Q(this,Wf,`f`).rotate();if(n===0)return e;let r=t.width()/2,i=t.height()/2;return`<g transform="rotate(${Z.format(n)}, ${Z.format(r)}, ${Z.format(i)})">${e}</g>`},Qf=function(e,t){let n=Q(this,Wf,`f`).translateX(),r=Q(this,Wf,`f`).translateY();return n===0&&r===0?e:`<g transform="translate(${Z.format(n/100*t.width())}, ${Z.format(r/100*t.height())})">${e}</g>`},$f=function(e){return Q(this,Wf,`f`).color(`background`).length===0?``:`<rect width="${Z.format(e.width())}" height="${Z.format(e.height())}" fill="${Bf.escape(Q(this,$,`m`,lp).call(this,`background`))}"/>`},ep=function(e){let t=Math.floor(Math.random()*16777215).toString(16).padStart(6,`0`),n=new Set;for(let t of e.matchAll(/\bid="([^"]+)"/g))n.add(t[1]);if(n.size===0)return e;let r=Array.from(n,e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)),i=RegExp(`(id="|url\\(#|href="#)(${r.join(`|`)})("|\\))`,`g`);return e.replace(i,(e,n,r,i)=>`${n}${r}-${t}${i}`)},tp=function(e){return e.map(e=>Q(this,$,`m`,np).call(this,e)).join(``)},np=function(e){switch(e.type()){case`element`:return Q(this,$,`m`,rp).call(this,e);case`text`:return Q(this,$,`m`,ip).call(this,e);case`component`:return Q(this,$,`m`,ap).call(this,e)}},rp=function(e){let t=e.name();if(!t)return``;if(t===`defs`){for(let t of e.children()){let e=Q(this,$,`m`,np).call(this,t);if(e.length>0){let n=t.attributes()?.id,r=typeof n==`string`?n:`_${Q(this,Gf,`f`).size}`;Q(this,Gf,`f`).set(r,e)}}return``}let n=Q(this,$,`m`,sp).call(this,e.attributes()),r=Q(this,$,`m`,tp).call(this,e.children());return r.length===0?`<${t}${n}/>`:`<${t}${n}>${r}</${t}>`},ip=function(e){let t=e.value();return t===void 0?``:Bf.escape(Q(this,$,`m`,dp).call(this,t))},ap=function(e){let t=e.name();if(typeof t!=`string`)return``;let n=Q(this,Wf,`f`).variant(t);if(!n)return``;let r=Q(this,Uf,`f`).components().get(t);if(!r)return``;let i=r.variants().get(n);if(!i)return``;let a=`${r.sourceName()}-${n}-${Q(this,$,`m`,mp).call(this)}`;if(!Q(this,Gf,`f`).has(a)){let e=Q(this,$,`m`,tp).call(this,i.elements());Q(this,Gf,`f`).set(a,`<g id="${a}">${e}</g>`)}let o=Q(this,$,`m`,op).call(this,r),s=e.attributes(),c=s;if(o.length>0){let e=s?.transform,t=typeof e==`string`&&e.length>0?[e,...o]:o;c={...s,transform:t.join(` `)}}return`<use${Q(this,$,`m`,sp).call(this,c)} href="#${a}"/>`},op=function(e){let{rotate:t,translateX:n,translateY:r,scale:i}=Q(this,Wf,`f`).componentTransform(e.name());if(n===0&&r===0&&t===0&&i===1)return[];let a=[],o=e.width()/2,s=e.height()/2,c=Z.format(o),l=Z.format(s);if(n!==0||r!==0){let t=Z.format(n/100*e.width()),i=Z.format(r/100*e.height());a.push(`translate(${t}, ${i})`)}return t!==0&&a.push(`rotate(${Z.format(t)}, ${c}, ${l})`),i!==1&&a.push(`translate(${c}, ${l}) scale(${Z.format(i)}) translate(${Z.format(-o)}, ${Z.format(-s)})`),a},sp=function(e){if(!e)return``;let t=[];for(let[n,r]of Object.entries(e))r!==void 0&&t.push(`${n}="${Bf.escape(Q(this,$,`m`,cp).call(this,r))}"`);return t.length===0?``:` ${t.join(` `)}`},cp=function(e){return typeof e==`string`?e:e.type===`color`?Q(this,$,`m`,lp).call(this,e.name):Q(this,$,`m`,fp).call(this,e.name)},lp=function(e){let t=Q(this,Wf,`f`).color(e),n=Q(this,Wf,`f`).colorFill(e);return n===`solid`||t.length<=1?t[0]??`none`:Q(this,$,`m`,up).call(this,e,t,n)},up=function(e,t,n){let r=Q(this,Wf,`f`).colorAngle(e),i=`${e}-color-${Q(this,$,`m`,mp).call(this)}`,a=n===`linear`?`linearGradient`:`radialGradient`,o=r===0?``:` gradientTransform="rotate(${Z.format(r)}, 0.5, 0.5)"`,s=t.map((e,n)=>`<stop offset="${Z.format(n/(t.length-1)*100)}%" stop-color="${Bf.escape(e)}"/>`);return Q(this,Gf,`f`).set(i,`<${a} id="${i}"${o}>${s.join(``)}</${a}>`),`url(#${i})`},dp=function(e){return typeof e==`string`?e:e.type===`variable`?Q(this,$,`m`,fp).call(this,e.name):``},fp=function(e){switch(e){case`initial`:{let e=Q(this,$,`m`,pp).call(this).codePointAt(0);return e===void 0?``:String.fromCodePoint(e)}case`initials`:return Q(this,$,`m`,pp).call(this);case`fontWeight`:return Z.format(Q(this,Wf,`f`).fontWeight());case`fontFamily`:return Q(this,Wf,`f`).fontFamily()}},pp=function(){return Hf(this,qf,Q(this,qf,`f`)??Ff.fromSeed(Q(this,Wf,`f`).seed()),`f`)},mp=function(){return Hf(this,Kf,Q(this,Kf,`f`)??tf.hex(Q(this,Wf,`f`).seed()),`f`)};var gp=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},_p=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},vp,yp,bp=!1,xp=class{constructor(e,t){vp.set(this,void 0),yp.set(this,void 0),!(e instanceof Ed)&&!bp&&(bp=!0,console.warn("[DiceBear] Passing a style definition to `new Avatar()` is deprecated and will be removed in v11. Wrap it in a Style first: `new Avatar(new Style(definition), options)`."));let n=e instanceof Ed?e:new Ed(e),r=new Pf(n,new ef(t));gp(this,vp,new hp(n,r).render(),`f`),gp(this,yp,r.resolved(),`f`)}toString(){return _p(this,vp,`f`)}toJSON(){return{svg:_p(this,vp,`f`),options:structuredClone(_p(this,yp,`f`))}}toDataUri(){return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(_p(this,vp,`f`))}`}};vp=new WeakMap,yp=new WeakMap;var Sp={$id:`https://cdn.hopjs.net/npm/@dicebear/styles@10.2.0/dist/bottts-neutral.min.json`,$schema:`https://cdn.hopjs.net/npm/@dicebear/schema@1.2.0/dist/definition.min.json`,$comment:`This file was generated by the DiceBear Exporter for Figma. https://www.figma.com/community/plugin/1005765655729342787`,meta:{license:{name:`Free for personal and commercial use`,url:`https://bottts.com/`,text:`Remix of „Bottts” (https://bottts.com/) by „Pablo Stanley”, licensed under „Free for personal and commercial use” (https://bottts.com/)`},creator:{name:`Pablo Stanley`,url:`https://twitter.com/pablostanley`},source:{name:`Bottts`,url:`https://bottts.com/`}},canvas:{elements:[{name:`mask`,type:`element`,attributes:{id:`botttsNeutral-a`,style:`mask-type:alpha`},children:[{name:`rect`,type:`element`,attributes:{width:`120`,height:`120`,fill:`#D9D9D9`}}]},{name:`g`,type:`element`,attributes:{mask:`url(#botttsNeutral-a)`},children:[{name:`texture`,type:`component`,attributes:{transform:`translate(-48.5 -9.89)`}}]},{name:`mouth`,type:`component`,attributes:{transform:`translate(26 72)`}},{name:`eyes`,type:`component`,attributes:{transform:`translate(8 20)`}}],width:120,height:120},attributes:{fill:`none`,"shape-rendering":`auto`},components:JSON.parse(`{"eyes":{"width":104,"height":48,"variants":{"bulging":{"elements":[{"name":"circle","type":"element","attributes":{"cx":"28","cy":"24","r":"18","fill":"black","fill-opacity":".2"}},{"name":"circle","type":"element","attributes":{"cx":"74","cy":"24","r":"18","fill":"black","fill-opacity":".2"}},{"name":"circle","type":"element","attributes":{"cx":"28","cy":"24","r":"15","fill":"#F1EEDA"}},{"name":"circle","type":"element","attributes":{"cx":"74","cy":"24","r":"15","fill":"#F1EEDA"}},{"name":"rect","type":"element","attributes":{"x":"26","y":"15","width":"10","height":"10","rx":"2","fill":"black","fill-opacity":".8"}},{"name":"rect","type":"element","attributes":{"x":"74","y":"15","width":"10","height":"10","rx":"2","fill":"black","fill-opacity":".8"}}]},"dizzy":{"elements":[{"name":"path","type":"element","attributes":{"d":"M30.5 15.3c.4-.4 1.1-.4 1.6 0l1.6 1.6c.4.4.4 1.1 0 1.6L28.2 24l5.5 5.5c.4.4.4 1.1 0 1.6l-1.6 1.6c-.4.4-1.1.4-1.6 0L25 27.2l-5.5 5.5c-.4.4-1.1.4-1.6 0l-1.6-1.6c-.4-.4-.4-1.1 0-1.6l5.5-5.5-5.5-5.5c-.4-.5-.4-1.2 0-1.6l1.6-1.6c.4-.4 1.1-.4 1.6 0l5.5 5.5zm54 0c.4-.4 1.1-.4 1.6 0l1.6 1.6c.4.4.4 1.1 0 1.6L82.2 24l5.5 5.5c.4.4.4 1.1 0 1.6l-1.6 1.6c-.4.4-1.1.4-1.6 0L79 27.2l-5.5 5.5c-.4.4-1.1.4-1.6 0l-1.6-1.6c-.4-.4-.4-1.1 0-1.6l5.5-5.5-5.5-5.5c-.4-.5-.4-1.2 0-1.6l1.6-1.6c.4-.4 1.1-.4 1.6 0l5.5 5.5z","fill":"black","fill-opacity":".8"}}]},"eva":{"elements":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M53 0c34.75 0 49 17.47 49 31S82.4 48 53 48C23.95 48 2 44.53 2 31S17.11 0 53 0","fill":"black","fill-opacity":".8"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M28.82 34.65C22.29 33.3 17.58 28.31 18.3 23.5c.72-4.78 6.6-7.57 13.12-6.22 6.53 1.36 11.24 6.35 10.52 11.15s-6.6 7.59-13.12 6.23m46.6 0C68.9 36 63.02 33.2 62.3 28.4s4-9.8 10.52-11.15 12.4 1.44 13.12 6.24-4 9.8-10.52 11.14","fill":"#25A6F5"}}]},"frame1":{"elements":[{"name":"rect","type":"element","attributes":{"y":"4","width":"104","height":"42","rx":"4","fill":"black","fill-opacity":".8"}},{"name":"rect","type":"element","attributes":{"x":"28","y":"25","width":"10","height":"11","rx":"2","fill":"#8BDDFF"}},{"name":"rect","type":"element","attributes":{"x":"66","y":"25","width":"10","height":"11","rx":"2","fill":"#8BDDFF"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M21 4h8L12 46H4z","fill":"white","fill-opacity":".4"}}]},"frame2":{"elements":[{"name":"rect","type":"element","attributes":{"x":"8","y":"10","width":"88","height":"36","rx":"4","fill":"black","fill-opacity":".8"}},{"name":"rect","type":"element","attributes":{"x":"28","y":"21","width":"10","height":"17","rx":"2","fill":"#5EF2B8"}},{"name":"rect","type":"element","attributes":{"x":"66","y":"21","width":"10","height":"17","rx":"2","fill":"#5EF2B8"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M83 10h5L76 46h-5z","fill":"white","fill-opacity":".4"}}]},"glow":{"elements":[{"name":"circle","type":"element","attributes":{"cx":"21","cy":"30","r":"15","fill":"white","fill-opacity":".1"}},{"name":"circle","type":"element","attributes":{"cx":"83","cy":"30","r":"15","fill":"white","fill-opacity":".1"}},{"name":"circle","type":"element","attributes":{"cx":"21","cy":"30","r":"12","fill":"white","fill-opacity":".1"}},{"name":"circle","type":"element","attributes":{"cx":"83","cy":"30","r":"12","fill":"white","fill-opacity":".1"}},{"name":"circle","type":"element","attributes":{"cx":"21","cy":"30","r":"6","fill":"white","fill-opacity":".8"}},{"name":"circle","type":"element","attributes":{"cx":"83","cy":"30","r":"6","fill":"white","fill-opacity":".8"}},{"name":"circle","type":"element","attributes":{"cx":"21","cy":"30","r":"3","fill":"white","fill-opacity":".8"}},{"name":"circle","type":"element","attributes":{"cx":"83","cy":"30","r":"3","fill":"white","fill-opacity":".8"}}]},"happy":{"elements":[{"name":"path","type":"element","attributes":{"d":"m18 19 12-2M20 31c0-3.31 2.9-6 7-6 3.1 0 6 2.69 6 6m53-11-12-3m10 14c0-3.31-2.9-6-6-6-4.1 0-7 2.69-7 6","stroke":"black","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"}}]},"hearts":{"elements":[{"name":"path","type":"element","attributes":{"d":"M29.27 9.68c-2.55.13-4.96 2.24-6.25 4.15-1.48-1.76-4.1-3.6-6.65-3.47-5.48.28-8.85 3.8-8.63 8.1.3 5.72 4.88 8.89 9.7 12.24 1.7 1.15 5 4.15 5.42 4.82s2.14.6 2.58-.13a38 38 0 0 1 4.9-5.36c4.43-3.84 8.66-7.47 8.36-13.2-.23-4.3-3.95-7.44-9.43-7.15m58.36.68c-2.55-.14-5.17 1.7-6.65 3.47-1.3-1.9-3.7-4.02-6.25-4.15-5.48-.29-9.2 2.86-9.43 7.16-.3 5.72 3.93 9.35 8.36 13.2 1.6 1.31 4.55 4.63 4.9 5.35.35.7 2.06.82 2.58.13a37 37 0 0 1 5.42-4.82c4.8-3.35 9.4-6.52 9.7-12.24.22-4.3-3.15-7.82-8.63-8.1","fill":"#FF5353","fill-opacity":".8"}}]},"robocop":{"elements":[{"name":"rect","type":"element","attributes":{"x":"7","y":"16","width":"91","height":"16","rx":"4","fill":"black","fill-opacity":".8"}},{"name":"mask","type":"element","attributes":{"id":"eyesRobocop-a","style":"mask-type:luminance"},"children":[{"name":"rect","type":"element","attributes":{"x":"7","y":"16","width":"91","height":"16","rx":"4","fill":"white"}}]},{"name":"g","type":"element","attributes":{"mask":"url(#eyesRobocop-a)"},"children":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M76 7h18L82 37H64zM52 7h9L49 37h-9z","fill":"white","fill-opacity":".8"}}]}]},"round":{"elements":[{"name":"circle","type":"element","attributes":{"cx":"24","cy":"30","r":"6","fill":"white"}},{"name":"circle","type":"element","attributes":{"cx":"80","cy":"30","r":"6","fill":"white"}}]},"roundFrame01":{"elements":[{"name":"rect","type":"element","attributes":{"y":"12","width":"104","height":"32","rx":"16","fill":"black","fill-opacity":".8"}},{"name":"rect","type":"element","attributes":{"x":"24","y":"22","width":"10","height":"12","rx":"2","fill":"#F4F4F4"}},{"name":"rect","type":"element","attributes":{"x":"70","y":"22","width":"10","height":"12","rx":"2","fill":"#F4F4F4"}}]},"roundFrame02":{"elements":[{"name":"rect","type":"element","attributes":{"y":"11","width":"104","height":"34","rx":"17","fill":"black","fill-opacity":".8"}},{"name":"circle","type":"element","attributes":{"cx":"29","cy":"28","r":"13","fill":"#F1EEDA"}},{"name":"circle","type":"element","attributes":{"cx":"75","cy":"28","r":"13","fill":"#F1EEDA"}},{"name":"rect","type":"element","attributes":{"x":"24","y":"23","width":"10","height":"10","rx":"2","fill":"black","fill-opacity":".8"}},{"name":"rect","type":"element","attributes":{"x":"70","y":"23","width":"10","height":"10","rx":"2","fill":"black","fill-opacity":".8"}}]},"sensor":{"elements":[{"name":"path","type":"element","attributes":{"d":"M28 4a20 20 0 0 1 19.9 18h41.52a5 5 0 1 1 0 4H47.9A20 20 0 1 1 28 4","fill":"black","fill-opacity":".2"}},{"name":"circle","type":"element","attributes":{"cx":"94","cy":"24","r":"2","fill":"white"}},{"name":"circle","type":"element","attributes":{"cx":"28","cy":"24","r":"16","fill":"black","fill-opacity":".6"}},{"name":"circle","type":"element","attributes":{"cx":"34","cy":"16","r":"3","fill":"white"}}]},"shade01":{"elements":[{"name":"path","type":"element","attributes":{"d":"M96 2H8c-4.5 0-8 3.5-8 8.03V28c0 4.5 3.5 8 8 8h13c8 0 11 8 18 8h27c7 0 9-8 17-8h13c4.5 0 8-3.5 8-8V10c0-4.5-3.5-8-8-8","fill":"black","fill-opacity":".8"}},{"name":"path","type":"element","attributes":{"d":"M87 14H17c-3.5 0-5 3-5 5v2c0 2 1.5 5 5 5h12c6 0 11.62 8 17 8h14c5.38 0 9-8 15-8h12c3.5 0 5-3 5-5v-2c0-2-1.5-5-5-5","fill":"#FF3D3D"}},{"name":"path","type":"element","attributes":{"d":"M31.4 40.78c-2.63-1.98-5.23-4.22-8.96-4.7L37.26 2h11zM15.48 36h-4L26.26 2h4z","fill":"white","fill-opacity":".2"}}]}}},"mouth":{"width":68,"height":24,"variants":{"bite":{"elements":[{"name":"rect","type":"element","attributes":{"y":"1","width":"68","height":"22","rx":"5","fill":"black","fill-opacity":".2"}},{"name":"rect","type":"element","attributes":{"x":"4","y":"5","width":"60","height":"14","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"m16 13 6-8H10zm12 0 6-8H22zm12 0 6-8H34zm12 0 6-8H46z","fill":"#E1E6E8"}}]},"diagram":{"elements":[{"name":"rect","type":"element","attributes":{"width":"68","height":"24","rx":"5","fill":"black","fill-opacity":".2"}},{"name":"rect","type":"element","attributes":{"x":"4","y":"4","width":"60","height":"16","rx":"2","fill":"black","fill-opacity":".8"}},{"name":"path","type":"element","attributes":{"d":"M5 13h11l2-4 3 7 4-8 2 9 3-11 3 10 3-3h15l3-4 2 7 3-3h4","stroke":"#4EFAC9","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}]},"grill01":{"elements":[{"name":"rect","type":"element","attributes":{"x":"8","y":"8","width":"4","height":"8","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"32","y":"8","width":"4","height":"8","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"20","y":"8","width":"4","height":"8","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"44","y":"8","width":"4","height":"8","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"56","y":"8","width":"4","height":"8","rx":"2","fill":"black","fill-opacity":".6"}}]},"grill02":{"elements":[{"name":"rect","type":"element","attributes":{"x":"24","y":"6","width":"6","height":"14","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"10","y":"6","width":"6","height":"14","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"38","y":"6","width":"6","height":"14","rx":"2","fill":"black","fill-opacity":".6"}},{"name":"rect","type":"element","attributes":{"x":"52","y":"6","width":"6","height":"14","rx":"2","fill":"black","fill-opacity":".6"}}]},"grill03":{"elements":[{"name":"rect","type":"element","attributes":{"y":"1","width":"68","height":"22","rx":"5","fill":"black","fill-opacity":".2"}},{"name":"rect","type":"element","attributes":{"x":"4","y":"5","width":"60","height":"14","rx":"2","fill":"white"}},{"name":"rect","type":"element","attributes":{"x":"14","y":"5","width":"4","height":"14","fill":"black","fill-opacity":".1"}},{"name":"rect","type":"element","attributes":{"x":"38","y":"5","width":"4","height":"14","fill":"black","fill-opacity":".1"}},{"name":"rect","type":"element","attributes":{"x":"26","y":"5","width":"4","height":"14","fill":"black","fill-opacity":".1"}},{"name":"rect","type":"element","attributes":{"x":"50","y":"5","width":"4","height":"14","fill":"black","fill-opacity":".1"}}]},"smile01":{"elements":[{"name":"path","type":"element","attributes":{"d":"M23.05 4.44a2 2 0 1 1 3.9-.88C27.72 6.96 30.4 9 34 9s6.28-2.04 7.05-5.44a2 2 0 1 1 3.9.88C43.75 9.7 39.43 13 34 13s-9.76-3.3-10.95-8.56","fill":"black","fill-opacity":".6"}}]},"smile02":{"elements":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M14 6.22C14 17.78 20.47 24 34 24c13.52 0 20-6.34 20-17.78C54 5.5 53.17 4 51 4H17c-2.05 0-3 1.38-3 2.22","fill":"black","fill-opacity":".8"}},{"name":"mask","type":"element","attributes":{"id":"mouthSmile02-a","style":"mask-type:luminance"},"children":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M14 6.22C14 17.78 20.47 24 34 24c13.52 0 20-6.34 20-17.78C54 5.5 53.17 4 51 4H17c-2.05 0-3 1.38-3 2.22","fill":"white"}}]},{"name":"g","type":"element","attributes":{"mask":"url(#mouthSmile02-a)"},"children":[{"name":"rect","type":"element","attributes":{"x":"26","y":"-2","width":"16","height":"14","rx":"2","fill":"white"}}]}]},"square01":{"elements":[{"name":"rect","type":"element","attributes":{"x":"20","y":"2","width":"27","height":"8","rx":"4","fill":"black","fill-opacity":".8"}}]},"square02":{"elements":[{"name":"rect","type":"element","attributes":{"x":"12","y":"4","width":"44","height":"4","rx":"2","fill":"black","fill-opacity":".8"}}]}}},"texture":{"width":217,"height":139.78,"probability":50,"variants":{"camo01":{"elements":[{"name":"path","type":"element","attributes":{"d":"M64.63 133.86c-5.15 0-3.32-2.39-1.95-1.65.64.34 1.1 1.23 1.77 1.49.13.05.12.1.18.16m110.1-3.67c1.4-.3.75 2.84.75 3.56-1.06 0-1.18-.59-1.04-1.3q-.5-.03 0-.05c.21-.94.82-2.05.3-2.24","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M174.52 131.81q-.66-.04 0-.07zM49.94 99.44c2.43.1 3.67 2.58 5.04 3.87 1.49 1.4 3.56 2.05 4.93 3.25 2.38 2.09 1.73 2.84 2.17 5.59.48 3 2.02 4.44 3.9 6.92-4.37.07-7.8 4.61-3.04 7.17-4.36-2.34-6.32 6.5-8.15-1.2-.24-1-.72-2.64-.86-3.62-.25-1.67-.16-1.63.08-2.86.3-1.45 1.43-1.53.31-3.76s-2.96-3.07-2.92-5.72c.02-1.29 1.45-1.85.81-4.19-.5-1.87-1.95-3.53-2.27-5.45m84.23 8.71c1.52.38 5.55 1.07 4.7 2.95-1.36 2.96-4.51-.28-6.23-.4 1.26-.2.62-2.26 1.53-2.56m-12.8-12.35c2.4.93 6 .84 6.76 2.84-1.77.04-5.05 1.24-6.67.3-1.06-.63-3.16-3.3-.1-3.14M65.4 91.56c2.46-1.07 5.3 2.18 8.02 1.67-.26.93-4.25 4.2-5.74 4.07-2.13-.18-4.57-4.74-2.28-5.74m57.7-24.12c2.47-1.14 3.43-3.96 6.16-2.08.58.4.3 2.18.6 2.85.72 1.6 1.68 2.53 3.1 3.67 2.62 2.07 6.43 3.32 5.92 6.82-.44 3.12-4.77 5.06-5.72 8.1-.63 1.96 1.03 5.72-.74 7.32-2.33 2.12-5.78-.08-8.81-.05 2.79-.4 3.1-5.48 4.1-7.23 2.2-3.72 2.9-3.4-.5-6.58-1.13-1.1-2.25-1.14-2.82-2.74-.5-1.45.96-3.03.35-4.4-1.71-3.87-7.67-1.63-9.34 1-.82 1.3-1.13 17.45-6.7 15.02-3.38-1.5 2.82-8.53-.36-9.93 5.69-.32 2.1-8.76 4.08-11.54 2.12-3 3.2-1.7 5.1-.66 2.96 1.6 2.35 1.93 5.6.43m.5 26.63h-.22zm-47.86-1.6c-.2.13-.47 0-.36 0q.16.07.36 0m.28-33c.5-3.07.95-5.04 3.78-3.99.57.2.58 1.6 2.23 2 1.75.41 2.84-1.14 4.44-1.36.78 3.2-2.52 5.51-1.8 8.7.4 1.71 6.45 7.08 3.03 8.27-1.72.61-4.94-3.14-7.5-1.85-2.2 1.12-.33 3.41-.96 4.8-.7 1.48-2.22 2.04-3.2 3.46-1.58 2.3-4.1 10.4-5.8 3.86-.65-2.5-1.13-10.78-6.56-4.42-1.33 1.57-2.04 13.48-6.32 5.8-3.95-7.07 5.6-10.6 9.14-14.7 1.49-1.72 1.94-2.87 3.99-4.17 1.24-.78 3.33-.97 4.3-2 1.43-1.47.92-2.5 1.23-4.4m22.82 17.31c.9-3.8 3.42-2 6.76-1.8.22 4.82-3.3 1.65-6.76 1.8m8.19-8.96c1.26.12 1.28 2.74.45 3.3-1.31.9-2.2-2.91-.45-3.3m59.35-18.07c-1.53-.42 2.62-.23 2.1.93-.77-.1-1.36-.73-2.1-.93M163.48 1c1.63-.2 10.52-1.77 12-.5 1.16 1.02 0 5.65 0 6.97-3.3.15-4.63-9.1-8.54-3.9-2.24 3 1.2 7.63-1.33 10.8-3.15 4-10.2.9-12.9 5.3-1.07 1.76 0 7.29-2.85 8.17-4.8 1.5-2.7-5.59-4.2-6.84-5.72-4.74-6.24 4.47-6.35 6.46-.07 1.2.66 1.78-.21 2.83-.6.72-1.63-.26-2.4.46-1.6 1.5-1.53 1.55-1.96 3.48-.4 1.74-.25 2.64-1.1 4.04-1.15 1.94-4.05 3.7-1.12 6.02-.62-.03-6 1.42-6.36 1.6-.98.5-2.23 2.56-2.83 2.76-5.11 1.77-1.47-5.4-3.06-7.5 8.28-.28 13.26-8.22 13.75-14.4.14-1.7-1.18-2.94-1.2-4.3-.04-1.52.89-2.15 1-3.5.38-3.98-2.26-4.18-4.51-7.3-2.51-3.45-1.21-4 2.59-3.36 4.82.8 9.24 2.97 14.18 3.46 3.48.34 6.7.18 8.36-2.66.95-1.63 1.36-6.13-1.8-6.48 1.83-.3 2.9-1.27 5.12-1.4q1.5.6 3.16.73a6 6 0 0 0 2.52-.98m11.23 38.4c1.72-.82.79 3.7.79 4.14-.27 0-2.85-2.5-2.88-3.08.8-.05 1.4-.74 2.09-1.07M41.3 4.9c-1.42-.97 1-.21 1 .22 0 .26-1.38-.47-1-.21","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M164.5 122.6c-2.93.9 1.08 3.79 2.5 4.18 1.75.49 2.35-.2 4.08-.29 2.17-.11 4.02.18 6.23.15 0 1.53-2.57 1.46-2.94 2.78-.84 2.99 2.94 2.6 2.94 4.4-2.61 0-6.24.4-8.8 0h-2.93l-.25-1.14a40 40 0 0 1-4.62-2.36c-4.51-3.15-.46-6.42 3.78-7.72m-84.42-36c3.87-.38 3.18 5.01 3.8 6.77 1.17 3.4 2.56 4.57 6.34 3.22.98-.35 5.57-2.8 5.93-3.35-2.05 3.12 3.69 6.02 5.86 7.83 1.2.99 2.5 1.92 3.24 3.23 1.5 2.62.06 5.32 1.25 7.91 1.28 2.79 1.98 4.45.2 7.05-1.27 1.88-2.7 2.42-3.54 4.86-.75 2.16-.5 3.57-3.1 4.8-4.63 2.25-8.1.2-11.16-2.37-1.93-1.63-3.14-2.48-4.22-4.5-.8-1.47.8-2.47-1.5-3.54-3.08-1.41-6.01 1.6-9.2-.93-4.02-3.2-3-9.5.72-12.21 3.47-2.55 5.98-1.63 4.76-5.93a4.6 4.6 0 0 1-1.56-2.2 4 4 0 0 1 .5-2.08c-.3-1.4 1.75-2.74-1.54-2.76 1.5-1.11.36-5.5 3.22-5.78m61.27 36.49c1.74-4.63 11.32 1.28 13.57 2.55-2.55.14-4.92 1.64-7.5 1.36-1.43-.16-6.72-2.2-6.07-3.91m29.04-60.05c.08-1.51-1.63-5.65 2.2-4.68 4.58 1.17-1.87 9.6 4.73 7.86v15.85c-2.28-.15-11.6-1.55-8.85 3.72-3.4-2.92-7.34 3.52-8.95 2.19.3.23 1.47-5 1.87-5.35 1.58-1.43 8.1-.27 7.83-3.2-.46-4.73-11.3.94-13.06-.24-1.5-1 2.1-6.07 2.5-8.05.25-1.24-.44-2.65.8-3.7 2.35-2 4.42.07 6.78-.25 3.67-.48 4-1.2 4.15-4.16M33.13 31.15c-3.35 1.58 1.97 8.38 2.62 10.86 1.2 4.62 4.57 6.3 6.4 1 1.6-4.55 4.64-2.17 6.52-5.64 1.38-2.55.33-4.8 3.23-2 .44.45-.56 1.95.14 2.47 1.36 1 2.92-.65 4.25 0 1.63.82 2.63 5.4 3.77 6.88 2.4 3.08 5.97 5.33 6.74 9.2.83 4.14-1.94 7.43-4.73 10.59-1.12 1.27-2.5 4.37-4.08.8-1.23-2.81 3.73-4.48 3.34-6.95-.5-3.2-4.14-2.15-6.25-.86-2.1 1.27-.53 4.17-4.53 1.2-2.67-1.98-1.84-5.74-5.1-7.33-3.68-1.8-6.36.74-5.61 3.87.73 3.01 4.65 5.42 6.48 7.99 3.3 4.65 1.52 14.9-7.36 13.8-3.97-.49-5.65-4.8-7.82-7.08-1.03-1.08-3.07-3.52-5.07-3.45-2.4.08-.51 1.34-2.25 2.65-.51.39-2.93 2.93-3.35 1.66-.36-1.12 2.27-2.34 2.78-3.18 1.52-2.5.76-4.97.2-7.6-.64-3.02-.66-6.24-1.62-9.21-.74-2.3-2.32-4.1-2.38-6.5-.04-1.93-.12-4.3-.1-6.17.03-2.15-.42-2.26 1.87-3.64 3.35-2.02 8.33-1.67 11.9-3.36M170.38 9.5c1.13-.59 6.28.7 6.94 1.54 1.56 1.96 0 10.37 0 12.82 0 3.14 1.46 8.74 0 11.54q.76 1.66-.97 1.3-1.1-.15-2 .48c-.26.69-.13.97-.16 1.67-.12 3.17 3.56 6 2.92 9.7-.22 1.38-.47 3.1-2.3 3.66-3 .96-2.47-1.42-4.53-1.64.4-.88-2.8-1.57-2.57-.98-2.46.1 1.5 4.02-3.12 2.6-4.04-1.25-1.18-5.27-.28-6.95 3.9-7.31-6.2-9.5-4.64-17.13.8-3.92 3.11-2.2 5.8-4.71 2.84-2.7-.88-3.65.94-6.32 1.17-1.7 4.77-.75 5.73-2.38 1.51-2.54-4.54-3.68-1.72-5.16M85.5 3.68c1-.03 5.2.92 5.79 1.63 1.25 1.48.74.43-.37 2.48-1.73 3.2-7.52 5.48-1.5 8.66-5.68-3-7.05 3.95-7.82 7-.3 1.23-1.58 3.75-1.62 4.8-.07 1.46 1.57 3.11 1.14 4.5-3.6.33-4.9-2.36-7.42-3.97-2.44-1.56-5.43-2.52-8-3.93-4.16-2.26-2.6-3.03-4.9-6-.37-.48-4-2.8-4-2.77 6.35.05.2-3.26.87-6 .42-1.7 7.2-6.2 9.45-5.5 4.7 1.45-1.38 4.23-1.36 6.26.03 2.2 5.1 6.68 7.8 6.53 2.88-.16 1.8-1.2 2-2.21.3-1.63-1.6-2.36.04-4.86 1.93-2.92 6.08-6.53 9.9-6.62","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M116.84 125.17c2.43-.25 3.22 1.05 5.34 1.28s-1.37 2.22-1.64 2.37c-3.19 1.72-3.96-.4-6.34-.02-4.88.78-1.18 1.98-3.27 3.96-2.23 2.1-14.19.63-17.99.63.86-5.53 14.83-4.26 19.2-6.05 1.6-.67 2.8-1.97 4.7-2.17M61.07 89.82c2.88-.86 3.44 1.18 5.13 1.45-1.44.27-.4 5.47 2.29 5.71 1.61.15 5.24-3.91 5.32-3.91.43-.03 2.16-.87 2.27-.82.05-.03.14-.05.07-.08 4.75-.11 1 2.9 1.38 4.8.34 1.65 2.7 2.4 2.57 4-.23 2.64-6.24 3.36-7.87 5.74-1.71 2.52-1.07 6.25.25 8.84 3.22 6.33 8.63.04 11.6 3.36.82.93-.3 2.82.3 3.9.5.94 1.67 1.37 2.5 2.05 1.54 1.29 3.14 2.1 4.28 3.7.14.19.25.39.67.59-.2.04-.84 1.97-1.46 2.47-2.57 2.1-11.91 2.39-15.2 1.77-3.74-.74-1.35-.29-3.24-2.3-.3-.35-.8-.69-1.02-1.06-.43-.71-1.4-1.21-1.84-1.96-1.74-2.98-.53-6.7-2.37-9.48-.78-1.18-2.14-2.11-2.8-3.36-.86-1.68 0-8.12-1.64-8.43 1-.24-3.82-5.23-4.35-5.73-1-.96-2.2-1.83-3.13-2.83-1.9-2.03-1.96-1.11-1.45-3.98 4.45.74 1.98 2.32 4.9-1.75.9-1.25.9-2.15 2.8-2.72m98.58-1.6c2-.9 4.94-5.26 8.02-2.6 2.08-.66 3.42 7.4 8.05 6.19 3.3-.87-.66 4.6-1 5.3a15 15 0 0 0-1.62 5.58c-.35 3.86.43 9.6-4.71 11.9-3.48 1.58-.2-.34-1.7-2.45-1.16-1.62-2.57-.56-4-1.35-2.25-1.27-1.37-1.5-2.74-3.08-7.43-8.6-3.8 8-4.9 10.34-.7 1.5-2.03 3.27-4.3 3.23-3.94-.08-3.15-3.14-4.34-5.1-1.3-2.13-3.14-2.4-5-3.98-.54-.45-.27-1.92-1-2.54-.45-.36-4.72-1.72-5.33-1.87.08-.02.38-1.94.7-2.37 1.57-2.18 4.94-1.9 7.5-2.8 2.35-.83 3.79-1.55 4.8-3.45 1.89-3.5-2.15-15.6 7.6-12.28-1.02.2 4.06 1.4 3.95 1.33m-39.21 17.93c4.94-5.13 6.28 2.22 6.28 5.26 0 3.48-6 6.05-7.87 2.3-.62-1.24.37-6.3 1.59-7.56m-72.1 1.23c-.01-.22 2.14 1.04 2.27 1.1q.75.27 1.6.24c-.3 1.4-2.34 4-4.58 3.57-4.1-.8.55-3.15.68-4.91m2.62-8.73c-.3 1.18 1.45 3.94.78 4.93-.82-.6-2-1.15-2.58-1.95-.75-1.04.1-3.04 1.8-2.98m71.28-3.67c3.57-.88 5.2-.76 9.92-.14q.86.08 1.73.05c-.67.5-5 5.7-4.88 5.76-.28-.16.54-2.73.2-3.13-1.13-1.33-5.26-1.4-6.93-2.04q.3-.15-.03-.5m-21.25-74c5.85-1.96 4.3 4.26 4.22 7.03-.17 5.09-.25 10.54.75 15.49 1.22 5.97 2.2 2.1 3.72-1.04.84-1.72 2.73-2.55 3.62-4.2.77-1.41-.46-2.95 1.09-4.05 1.23-.88 2.87.4 3.75-.2 1.87-1.26-.13-8 3.45-7.58 3.52.42 1.6 6.22 3.36 6.56-2.9.77-10.14 1.8-2.85 4.25-2.08.2-1.28 2.83-1.07 3.75.13.62 1.5 1.02 1.6 1.67.22 1.26-.54 1.43-.57 2.4-.11 2.9-1.21 4.9 2.85 2.9 2.23-1.1.35-3.16 3.56-2.01q.12.28.5.34c.7-.21 2.52 2.04 3.95 1.44 2.37-.98.27-2.9 0-4.17-1-4.48.8-1.8 2.95-5.32 1.72-2.8-3.13-5.6 1.08-7.47 6.09-2.7 7.05 3.57 6.29 6.56-.88 3.42-1.6 5.88.03 9.34s4.83 4.78 7.67 7.5c3.59 3.43 3.88 7.52-.21 10.8-3.28 2.63-7.68 3.4-11.1.66-1.37-1.11-1.47-3.01-3.42-3.87-4.8-2.14-2.12-2.46-4.03-5.6-2.07-3.4-7.93-2.42-11.46-2.4-3.16 0-2.68-.64-5 1.35-1.52 1.3-3 3.1-4.7 4.53-1.92 1.62-6.4 5.7-3.12 7.97-1.6.35-1.1 3.06 0 3.67a20 20 0 0 0-1.43 3.47c-2.34-.14-4.33-1.7-6.22.14-2.06 2 .9 5.66-.35 7.94-1.6 2.93-6.9 3.2-9.7 1.46-1.9-1.2-6.24-5.07-7.45-6.86-2.06-3.06-1.24-5.8 3.08-5.68 2.6.06 3.4 2.73 3.73-.38.1-1.12-1.6-2.7-2.2-3.58-2.07-3.11-3-4.15-1.53-7.7 1.16-2.75 1.62-3.5.6-6.4-1.08-3.12-1.4-4.44-1.12-7.75.1-1.22.83-4.11-1.9-4.5.37-.54 1.74-4.45 1.4-4.82 3.34.4 2.1-.85 4.97-2.45 1.85-1.03 4.9-.2 6.43-2 1.4-1.64.47-5.06 1.26-7.04.6-1.55 1.43-3.46 3.5-4.15m74.9 28.68c.2-.11.84 16.67.16 16.46-4.5 2.67-2.11-6.35-2.6-7-1.14-1.53-5.17-.76-5.23-3.16-.02-.6 2.1-2.22 2.63-2.58.4-.26.03-.92.49-1.23.3-.2 1.7.56 2.2.18.84-.63 1.7-2.3 2.34-2.67","fill":"white","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M92.9 1.16c.56-1.03 2.93-.58 4.47-.58h13.3c-1.86.74.15 1.5 1.1 1.7.78-.22 6.37 3.92 6.21 5.65-.2 2.08-3.17 2.9-2.97 5.4.23 2.9 9.5 12.27.33 12.45-5.08.1-1.5-3.95-3.6-6.36-1.13-1.28-3.79-1.5-4.52-3.08-.7-1.52 2.9-9.13-3.69-4.6-1.4.97-1.23 4.6-4.08 3.12s2.09-5.5 1.13-7.64c-1.08-2.43-5.08-2.6-7.34-3.4-.54-.2-.57-2.25-.35-2.66m74.61 12.62c1.36-1.8-2.65-12.47 3.08-11.76 2.3.28 3.74 4.52 5.42 5.72.78.55.43 2.55.43 3.54-2.09.1-4.7-2.68-6.9-1.53-3.12 1.64 1.61 2.17 2.12 3.31 2.38 5.42-3.85.74-4.16.72M62.25 2.41c-.4-2.97 2.6-2.23 4.18-.65.3.3 2.1 3.53.9 3.1-1.92 1.36-4.88-.94-5.08-2.45M80.35.58c-1.3.72-7.53 4.4-7.86.92l-.07-.92z","fill":"white","fill-opacity":".2"}}]},"camo02":{"elements":[{"name":"path","type":"element","attributes":{"d":"M216.2 1.89c-3.66.05-2.02.22-4.48-.75 1.28 0 4.47-.62 4.47.75m-55.43-.75c-.02 2.42-2 .74-3.58 0zm-51.86 0c4.93 0 3.18 2.35 1.87 1.62-.62-.34-1.05-1.21-1.7-1.46-.13-.05-.12-.1-.17-.16M3.22 4.75c-1.34.27-.72-2.82-.72-3.53 1.02 0 1.13.58 1 1.27q.48.03-.01.06c-.2.92-.78 2.02-.27 2.2M123 35.04c-2.34-.1-3.53-2.53-4.84-3.8-1.43-1.4-3.41-2.02-4.73-3.21-2.3-2.06-1.66-2.8-2.08-5.5-.46-2.96-1.94-4.38-3.75-6.82 4.2-.07 7.5-4.54 2.91-7.07 4.2 2.3 6.1-6.4 7.9 1.2.26.97.7 2.6.86 3.55.23 1.65.14 1.6-.1 2.82-.26 1.43-1.35 1.5-.3 3.7 1.1 2.2 2.86 3.03 2.82 5.64-.02 1.26-1.4 1.82-.78 4.12.5 1.85 1.88 3.48 2.19 5.37m92.3-24.9c-1.75-.03-.13-2.2.9-2.21 0 3.04.66 1.93-.9 2.2","fill":"white","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M107.49 15.39c.3.04.78.2.08.24zM42.15 26.47c-1.46-.38-5.33-1.06-4.5-2.91 1.3-2.92 4.32.27 5.97.4-1.2.19-.6 2.22-1.47 2.5m12.3 12.18c-2.33-.92-5.77-.82-6.5-2.8 1.7-.04 4.85-1.22 6.4-.29 1 .62 3.03 3.24.1 3.1m96.69 13.28c-2.75.55-3.02 5.7-5.82 4.67-2.5-.92-1.08-4.6-2.26-6.27-2.06-2.9-6.39-3.3-4.56-7.58 1.27-2.97 5.31-4.3 7.13-6.94.97.2-.2 4.5.06 5.05.46.98 2.13 1.37 2.71 2.2.8 1.13.6 1.15.93 2.4.74 2.8-1.4 3.67 3.3 3.42 1.48-.08 3.1-.96 4.77-1.05 1.85-.1 3.15.86 5.11.54.2 2.28-3.75 4.81-6.26 4.97-1.79.12-3.48-1.73-5.1-1.4m61.15 21.4c-.69 1.6-8.48 9-8.48 4.5 0-2.13 4.1-2.63 5.11-4.46 1.62-2.86-.47-5.32-3.27-6.46-1.55-.63-3.28-.5-4.8-1.37-.78-.45-1.55-1.82-2.3-2.16-1.45-.64-4.35.18-5.3-.38-.85-.49-2.86-8.87-2.94-9.8-.33-4.06 3.44-8.54 6.22-11.83.98-1.17 6.62-6.95 9.22-4.72 1.5 1.27-.6 1.92-1.17 2.9-1.24 2.07-1.56 1.54-1.8 4.2-.27 2.9-.5 2.61-1.98 4.94-.82 1.3-2.16 1.9-2.16 3.66 0 1.28 3.94 8.25 5.3 9.4 8.7 7.26 6.85-8.86 12.24-8.89 0 3.25 1.82 12.23 0 15.17-.18.3-2.3 1.12-2.9 1.88-.76 1-.5 2.44-.98 3.5M108.15 42.8c-2.35 1.07-5.08-2.13-7.7-1.62.26-.92 4.09-4.13 5.52-4.01 2.04.17 4.39 4.66 2.18 5.65M52.78 66.65c-2.38 1.11-3.3 3.9-5.9 2.03-.58-.4-.29-2.14-.58-2.8a9.3 9.3 0 0 0-3-3.6c-2.5-2.05-6.16-3.28-5.68-6.74.43-3.07 4.6-4.98 5.5-7.97.6-1.94-.99-5.64.7-7.22 2.25-2.08 5.56.08 8.47.06-2.64.4-2.94 5.4-3.92 7.12-2.1 3.66-2.8 3.35.46 6.48 1.12 1.08 2.2 1.12 2.74 2.7.5 1.42-.9 2.97-.33 4.3 1.64 3.83 7.37 1.63 8.96-.96.8-1.28 1.1-17.2 6.42-14.8 3.25 1.48-2.7 8.4.36 9.8-5.46.3-2.03 8.62-3.92 11.36-2.03 2.95-3.08 1.67-4.9.65-2.83-1.59-2.24-1.9-5.38-.44m45.47-24.64c.18-.14.45-.02.35 0h-.01a.4.4 0 0 0-.34 0m84.97.38q.22-.15.3.06zM97.98 74.42c-.47 3.03-.9 4.96-3.63 3.93-.54-.2-.55-1.59-2.14-1.97-1.68-.4-2.72 1.12-4.26 1.33-.75-3.13 2.42-5.42 1.73-8.55-.38-1.7-6.19-6.98-2.91-8.16 1.65-.6 4.74 3.1 7.2 1.82 2.1-1.1.31-3.36.92-4.7.66-1.48 2.13-2.04 3.07-3.44 1.52-2.26 3.93-10.25 5.57-3.8.62 2.48 1.09 10.62 6.3 4.36 1.27-1.54 1.95-13.28 6.06-5.72 3.8 6.97-5.38 10.45-8.77 14.48-1.43 1.7-1.87 2.83-3.84 4.11-1.2.77-3.2.96-4.14 1.97-1.35 1.45-.87 2.46-1.16 4.34m36.32-21.85c-2.01-.03-2.17-3.56.02-3.58a6.3 6.3 0 0 0-.02 3.58m-58.23 4.8c-.87 3.73-3.29 1.96-6.49 1.76-.2-4.74 3.16-1.62 6.5-1.77M68.2 66.2c-1.2-.12-1.23-2.7-.44-3.26 1.26-.9 2.12 2.87.44 3.25M11.24 84c1.47.4-2.5.22-2.02-.93.74.1 1.31.72 2.02.92M14.03 132c-1.59.24-10.12 1.77-11.53.51-1.13-1 0-5.57 0-6.87 3.17-.15 4.44 8.97 8.18 3.83 2.16-2.95-1.14-7.5 1.28-10.63 3.04-3.93 9.8-.9 12.39-5.2 1.04-1.75 0-7.2 2.75-8.07 4.6-1.46 2.58 5.51 4.03 6.74 5.5 4.7 6-4.4 6.1-6.3.07-1.14-.64-1.71.2-2.8.57-.7 1.56.3 2.3-.4 1.54-1.5 1.46-1.53 1.88-3.43.37-1.71.24-2.6 1.04-3.97 1.12-1.91 3.91-3.64 1.1-5.93.6 0 5.75-1.43 6.1-1.62.94-.5 2.14-2.51 2.71-2.72 4.91-1.74 1.41 5.34 2.94 7.4-7.95.26-12.73 8.09-13.2 14.16-.13 1.67 1.13 2.9 1.16 4.23.03 1.5-.86 2.13-.98 3.47-.35 3.9 2.18 4.1 4.34 7.17 2.4 3.4 1.15 3.93-2.49 3.32-4.64-.78-8.9-2.92-13.63-3.4-3.34-.34-6.44-.18-8.02 2.6-.92 1.63-1.32 6.05 1.72 6.4-1.75.29-2.78 1.25-4.9 1.39q-1.46-.57-3.05-.72-1.34.22-2.42.96M3.26 94.2c-1.65.8-.76-3.64-.76-4.09.26-.01 2.74 2.46 2.76 3.03-.78.05-1.34.73-2 1.06m150.34 38.3c2.2-.63-3.43-4.52-4-3.28.84-1.84-1.46-3.85-1.75-5.5-.45-2.61.84-5.12-1.85-7.24 1.3-.18 1.44-1.92 2.79-1.96 1.27 3.45 4.97 2.23 7.95 3.17 1.44.46 2.59.48 3.36 1.82 1.21 2.15-1.06 2.62-.97 3.94.22 3.12.07.75 1.37 1.96.52.48 4.6 1.74 3.8 2.74-.57.72-3.04.13-3.95.86-.64.52-.83 1.92-1.26 2.24-1.56 1.17-2.17 1.27-5.48 1.27m-22.32-4.33c1.3.96-1 .21-1-.22 0-.25 1.3.47.91.22m-43.4 4.34c.33-.18 1.4-.07 1.77 0z","fill":"white","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M12.97 12.23c2.8-.88-1.05-3.73-2.4-4.12-1.69-.48-2.26.2-3.93.28-2.08.12-3.86-.17-5.98-.14 0-1.5 2.47-1.44 2.82-2.74C4.28 2.57.66 2.95.66 1.17c2.51 0 5.99-.39 8.45 0h2.81l.25 1.13c1.04.5 3.45 1.63 4.43 2.33 4.33 3.1.44 6.32-3.63 7.6M94.03 47.7c-3.72.36-3.05-4.94-3.64-6.68-1.13-3.35-2.46-4.5-6.1-3.17-.94.34-5.35 2.77-5.69 3.3 1.97-3.07-3.54-5.93-5.63-7.7-1.15-1-2.4-1.9-3.1-3.2-1.45-2.58-.06-5.23-1.2-7.8-1.24-2.73-1.9-4.37-.2-6.93 1.22-1.86 2.6-2.38 3.4-4.8.72-2.11.5-3.5 2.96-4.72 4.46-2.21 7.8-.2 10.73 2.34 1.86 1.6 3.02 2.44 4.06 4.42.76 1.47-.77 2.45 1.43 3.5 2.96 1.4 5.78-1.57 8.84.94 3.86 3.17 2.88 9.35-.7 12.03-3.33 2.5-5.74 1.6-4.56 5.84q1.1.9 1.5 2.17.05 1.08-.49 2.05c.3 1.37-1.68 2.7 1.48 2.72-1.45 1.1-.35 5.42-3.09 5.69m85.84-.96c-4.94 4.14-6.82-1.76-9.63-3.45-2.1-1.27-10.33-4.32-11.54-1.56-.16.37-1.55-1.53-1.65-1.74-.87-1.9.4-3.65 1.14-5.36.72-1.64 1.8-3.07 1.9-4.87.08-1.8-1.56-3.62-1.3-5.3.42-2.74 2.05-1.98 4.1-3.4 2.2-1.5 1.72-1.95 2.46-4.06.73-2.1.8-6.07 2.01-7.96 1.38-2.12 1.98-.97 4.3-1.4 1.44-.26 3.76-1.86 5.22-1.56.84.17 2.25 3.07 3.95 3.76 1.6.65 3.9-.24 5.25.35 2.1.93 1.43 2.25 2.79 3.88 1.12 1.34 2.54 1.7 3.37 3.45.86 1.82-.9 3.25 2.1 4.17-1.58 1.62-8.76 9.08-11.5 8.7-2.38-.31-1.81-2.54-1.82-4.24-.01-2.8.8-5.7-1.04-8.27-1.96-2.73-4.45-3.42-6.23-.42-.88 1.47-.2 3.24-1.47 4.69-1.03 1.16-2.32 1.2-3.52 2-3.4 2.23-6.44 5.65-5.1 9.77 1.61 5.04 5.32 1.58 8.75 4.26 1.68 1.3.64 2.63 3.1 3.67 2.13.89 4.95.05 7.2.53-.83.52-3.24 4.7-2.74 4.36M35.22 11.76c-1.69 4.56-10.89-1.26-13.06-2.52 2.45-.13 4.73-1.6 7.2-1.33 1.4.15 6.46 2.17 5.84 3.85M7.3 70.91c-.06 1.5 1.58 5.57-2.1 4.6C.8 74.41 7 66.1.67 67.8V52.16c2.19.15 11.15 1.54 8.5-3.66 3.27 2.88 7.05-3.47 8.6-2.15-.28-.24-1.42 4.9-1.8 5.26-1.52 1.41-7.8.27-7.52 3.15.44 4.67 10.85-.92 12.55.24 1.39.97-2.05 5.97-2.43 7.92-.24 1.23.42 2.61-.77 3.65-2.25 1.96-4.24-.07-6.5.24-3.52.6-3.85 1.3-3.99 4.21m131.79 31.41c3.21-1.57-1.89-8.27-2.51-10.7-1.17-4.57-4.4-6.2-6.16-1-1.52 4.5-4.44 2.14-6.25 5.56-1.32 2.5-.32 4.73-3.1 1.96-.43-.43.54-1.9-.14-2.43-1.3-.98-2.8.65-4.08 0-1.56-.8-2.52-5.33-3.62-6.77-2.3-3.05-5.73-5.26-6.47-9.07-.8-4.08 1.87-7.33 4.54-10.43 1.08-1.25 2.4-4.3 3.92-.8 1.18 2.77-3.58 4.42-3.2 6.85.48 3.18 3.97 2.14 6 .87 2-1.25.5-4.1 4.34-1.2 2.57 1.97 1.77 5.67 4.9 7.23 3.53 1.78 6.11-.72 5.38-3.8-.7-2.97-4.46-5.35-6.2-7.87-3.19-4.6-1.48-14.68 7.05-13.6 3.82.48 5.43 4.72 7.5 6.98 1 1.06 2.96 3.46 4.88 3.4 2.31-.1.5-1.33 2.16-2.62.5-.38 2.82-2.9 3.21-1.64.35 1.07-2.17 2.27-2.66 3.1-1.46 2.48-.73 4.9-.2 7.49.6 2.99.6 6.16 1.5 9.08.7 2.25 2.2 4.04 2.24 6.4.04 1.9.12 4.25.1 6.08-.03 2.1.4 2.23-1.79 3.58-3.22 2-8 1.66-11.44 3.32M7.34 123.66c-1.1.56-6.04-.72-6.68-1.53-1.5-1.94 0-10.22 0-12.63 0-3.1-1.4-8.6 0-11.37q-.73-1.64.93-1.28 1.08.15 1.92-.47c.26-.68.13-.96.15-1.65.13-3.13-3.4-5.9-2.8-9.57.23-1.35.47-3.04 2.22-3.6 2.9-.9 2.4 1.44 4.36 1.66-.38.86 2.68 1.54 2.47.96 2.36-.1-1.44-3.96 3-2.56 3.87 1.23 1.13 5.19.27 6.85-3.75 7.22 5.95 9.36 4.44 16.89-.77 3.86-2.98 2.16-5.55 4.64-2.74 2.65.83 3.6-.92 6.22-1.1 1.67-4.57.74-5.5 2.35-1.43 2.5 4.38 3.6 1.68 5.07m206.5 9.27c-.38.08-5.81.22-6.45-.19-.42-.27-.2-1.64-.79-2.1-1.5-1.22-6.14-4.12-8.77-3.06-2.46 1-1.12 1.55-1.27 4.3-2.1-.01-8.34-.36-9.7-1.9-.97-1.1.67-6.3-1.86-5.1-1.4.67-.6 4-1.54 4.42-1.83.81-3.94-1.4-5.18-2.05-1.31-.68-2.23-1.77-3.95-1.86-1.5-.09-2.25 1.2-3.8 1.22-.51-3.72 1.28-13.8-3.07-16.64 4.3.04 4.22 10.08 9.87 6.41 4.08-2.65-2.35-7.63.35-10.64 5.76-6.41 5.04 6.53 7 7.27 7.43 2.8 6.85-10.63 4.7-10.82.18-.43 1.12-2.12.98-2.15 3.95-3.57 3.47-9 8-12 6.72-4.42 2.68 2.84 3.05 5.29.04.27 2.23-.56 2.33-.23.43 1.38-.4 2.43-.33 3.77.09 1.85.78 3.56.59 5.42-.12 1.16-2.55 5.09 1.38 3.92.52-.15 1.82-3.44 2.06-3.37 1.26-.04 2.2.88 3.44.89-.16-.14-3.84 4.32-4.03 4.96-.51 1.8.58 3.76.42 5.6-.1 1.17-1.34 2.85-1.2 4.02.7 5.45 9.8 4.84 10.8 9.77.6 2.95-.82 4.4-3.03 4.85m-125.01-3.53c-.96.02-5-.91-5.56-1.6-1.2-1.47-.71-.44.35-2.45 1.67-3.15 7.22-5.4 1.44-8.54 5.46 2.97 6.77-3.9 7.5-6.9.3-1.2 1.53-3.68 1.57-4.73.06-1.43-1.51-3.05-1.1-4.42 3.47-.33 4.7 2.32 7.13 3.9 2.34 1.54 5.2 2.5 7.69 3.88 3.98 2.23 2.49 2.99 4.69 5.9.36.48 3.83 2.76 3.85 2.74-6.1-.05-.2 3.2-.84 5.9-.4 1.7-6.92 6.13-9.07 5.44-4.51-1.44 1.32-4.18 1.3-6.18-.02-2.16-4.9-6.58-7.5-6.43-2.75.16-1.73 1.18-1.91 2.18-.3 1.6 1.55 2.32-.04 4.79-1.85 2.87-5.83 6.43-9.5 6.52","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M151.36 10.27c-4.75 5.05-6.03-2.19-6.03-5.19 0-3.42 5.77-5.95 7.55-2.27.6 1.23-.35 6.22-1.52 7.46M58.74 9.7c-2.33.25-3.09-1.03-5.12-1.26s1.3-2.2 1.57-2.34c3.06-1.7 3.8.4 6.08.02 4.7-.77 1.14-1.95 3.15-3.9C66.55.16 78.03 1.6 81.68 1.6c-.82 5.45-14.23 4.2-18.42 5.96-1.55.66-2.7 1.94-4.52 2.14m53.53 34.82c-2.77.85-3.3-1.16-4.93-1.43 1.4-.26.39-5.39-2.19-5.63-1.59-.14-5.08 3.88-5.15 3.86-.4.03-2.07.85-2.17.81-.05.03-.14.05-.08.07-4.55.11-.94-2.86-1.32-4.73-.32-1.62-2.59-2.36-2.46-3.93.22-2.6 6-3.31 7.55-5.66 1.65-2.48 1.03-6.15-.24-8.7-3.08-6.24-8.28-.04-11.12-3.31-.8-.92.26-2.79-.3-3.85-.47-.92-1.6-1.34-2.4-2.02-1.48-1.27-3-2.06-4.1-3.63-.14-.2-.25-.4-.65-.59.2-.04.8-1.94 1.4-2.44C86.58 1.28 95.55 1 98.71 1.6c3.6.7 1.3.24 3.11 2.26.28.32.77.65.98 1 .41.7 1.35 1.2 1.77 1.94 1.66 2.95.5 6.6 2.27 9.36.75 1.15 2.06 2.07 2.68 3.3.84 1.65 0 8 1.58 8.3-.96.24 3.67 5.16 4.17 5.65.97.94 2.1 1.8 3 2.79 1.83 2 1.9 1.1 1.41 3.92-4.27-.73-1.9-2.29-4.7 1.72-.86 1.24-.86 2.12-2.7 2.68M185.52 3.6c-.12.43-3.4-1.4-3.43-1.4q-.4-.46-1.03-.6c1.97 0 5.26-.8 4.46 2M169.5 4.8a8 8 0 0 0-.07-2.34q-.21-.44-.45-.86c1.5 0 8.24-.25 4.87 2.37-.97.76-3.06.86-4.34.84M146.94 67.7c-2.12-.12-4.92-2.99-6.14-4.43-.7-.83-.94-1.94-1.67-2.75-1.25-1.36-3.56-1.92-4.6-3.06-3.15-3.4-1.58-13.88 1.33-17.42 2.72-3.3 5.05-6.06 1.96-10.2-1.17-1.58-3.08-2.02-4.69-3.21-1.03-.77-2.42-3.3-3.26-3.7-1.05-.5 1-7.27 1.47-8.2.97-1.95-.13-3 3.9-2.14 2.22.48.7-.8 2.01 1 1.9 2.6-1.1 6.32 2 8.7 3.96 3.04 7.31-.82 11.26-.9 1.1 2.25-1.28 5.1.58 7.4 1.5 1.86 4.65 1.19 6 2.64 2.05 2.18-3.1 2.24-5.19 2.6-.58.1-7.2 2.04-7.03 2.1-2.25 3.25-10.2 6.22-7.2 11.28.78 1.32 2.91 1.45 3.92 2.52 1.3 1.38.88 2.28 1.53 3.95.86 2.21.93 3.94 3.78 2.36 2-1.12.78-4.46 4.58-4.36 2.53.06 3.58 2.48 3.9 4.25.16.88-1.43 8.03-4.72 6.91-2.45 1.35-3.28 2.2-3.72 4.66M17.68 46.1c-1.94.9-4.75 5.17-7.7 2.56-2 .65-3.29-7.29-7.73-6.1-3.16.85.63-4.53.95-5.22.9-1.96 1.37-3.29 1.56-5.5.34-3.8-.4-9.45 4.52-11.73 3.35-1.54.2.34 1.63 2.42 1.12 1.6 2.47.55 3.84 1.34 2.16 1.24 1.31 1.46 2.63 3.03 7.14 8.46 3.66-7.9 4.7-10.19.67-1.48 1.96-3.22 4.14-3.18 3.78.08 3.02 3.1 4.16 5.02 1.25 2.1 3 2.37 4.8 3.92.5.44.25 1.9.96 2.5.43.37 4.53 1.7 5.1 1.85-.07.02-.36 1.91-.66 2.34-1.52 2.14-4.75 1.86-7.2 2.75-2.26.81-3.64 1.53-4.62 3.4-1.8 3.44 2.07 15.37-7.3 12.1 1-.2-3.9-1.38-3.78-1.3M205.6 25.64c-1.17-.03-2.73-2.4-2.95-3.32-.62-2.7 4.8-5.33 5.95-3.02.22.43-2.89 5.44-3 6.34m-81.08 1.58c-.02.21-2.06-1.03-2.19-1.08q-.72-.28-1.53-.24c.25-1.39 2.22-3.95 4.37-3.53 3.95.78-.53 3.1-.65 4.85m-2.5 8.6c.28-1.17-1.4-3.89-.76-4.86.8.6 1.93 1.13 2.48 1.91.72 1.03-.08 3-1.72 2.95m-68.42 3.6c-3.42.88-5 .76-9.52.14q-.83-.08-1.66-.05c.64-.49 4.78-5.6 4.68-5.67.27.16-.5 2.7-.2 3.09 1.1 1.3 5.06 1.37 6.66 2q-.3.17.04.5m159.25 7.52c-.24.84-.24 6.3-3.28 3.92-1.76-1.39 1.33-10.85-4.59-11.54.52-.99 1.5-4.63 3.33-4.76.97.86 2.43 3.48 2.99 3.9 1.75 1.27 1.68.63 4.23.62 0 3.71-1.7 4.4-2.68 7.86M74 112.34c-5.62 1.92-4.14-4.2-4.05-6.93.16-5.04.23-10.4-.73-15.26-1.16-5.9-2.1-2.07-3.57 1-.8 1.7-2.62 2.53-3.47 4.14-.74 1.4.44 2.92-1.04 4-1.18.86-2.76-.38-3.6.2-1.8 1.13.12 7.77-3.32 7.35-3.37-.4-1.52-6.11-3.22-6.44 2.77-.76 9.73-1.78 2.74-4.2 2-.18 1.22-2.78 1.02-3.7-.14-.6-1.45-1-1.56-1.62-.2-1.25.52-1.41.56-2.35.1-2.86 1.14-4.84-2.75-2.88-2.15 1.08-.34 3.12-3.43 2q-.1-.3-.48-.35c-.67.2-2.4-2.02-3.79-1.43-2.27.97-.25 2.86.02 4.1.95 4.43-.78 1.79-2.84 5.26-1.65 2.78 3 5.54-1.04 7.37-5.86 2.66-6.78-3.52-6.04-6.46.84-3.38 1.54-5.8-.03-9.2s-4.64-4.7-7.37-7.39c-3.44-3.38-3.72-7.4.2-10.64 3.15-2.6 7.37-3.36 10.66-.65 1.31 1.1 1.4 2.97 3.28 3.82 4.62 2.1 2.04 2.42 3.87 5.5 1.98 3.35 7.61 2.4 11 2.38 3.04-.01 2.58.62 4.8-1.34 1.47-1.3 2.88-3.06 4.51-4.46 1.86-1.62 6.16-5.64 3.02-7.87 1.53-.35 1.06-3.02-.02-3.61.13-.06 1.46-3.24 1.4-3.42 2.23.15 4.14 1.68 5.95-.13 1.98-1.97-.87-5.58.34-7.82 1.55-2.9 6.63-3.17 9.3-1.44 1.82 1.2 6 5 7.16 6.77 1.98 3.02 1.2 5.7-2.95 5.6-2.5-.06-3.27-2.7-3.58.37-.1 1.1 1.52 2.65 2.1 3.53 2 3.07 2.9 4.09 1.47 7.57-1.1 2.72-1.54 3.46-.57 6.3 1.05 3.1 1.34 4.4 1.1 7.66-.1 1.2-.8 4.06 1.8 4.44-.35.53-1.66 4.38-1.34 4.75-3.1-.4-1.9.84-4.65 2.4-1.79 1.03-4.7.2-6.19 1.97-1.35 1.62-.45 5-1.2 6.95-.6 1.52-1.38 3.4-3.37 4.1m96.47-30.77c-1.56 1.7-5.46 3.05-7.56 1.36-1.93-1.55-.52-4.18-1.64-6.02-.19-.3-2.5-2.56-2.78-2.68-2.9-1.2 3.84-8.05 4.81-9.2 1.12-1.3 4.2-8.56 4.63-8.6.8-.07 2.95 16.19 3.26 17.85.48 2.43 1.19 5.22-.72 7.3m36.23 20.63c-.66.25-3.86 9.02-3.6 1.19.12-2.8.99-5.14.42-7.8-.1-.5.65-1.3.47-1.9-.2-.67-1.2-.57-1.26-.7-.06-.11-1.54.54-1.63.24-.6-2.07 3.97-4.6 1.2-6.58-2.22-1.6-7.18 4.2-8.71 5.45-1.64 1.34-4.95 7.83-3.6 8-1.54 3.24-4.98 5.26-5.66.43-.64-4.48 2.34-7.22.26-11.85-.8-1.8-2.28-3.42-3.32-5.12-.63-1.03-2.54-7-3.04-7.2-3.77-1.61 2.37-11.43 7.24-10.07 1.96.55 2.23 2.25 3.46 3.3 1.86 1.58 6.15 2.5 5.85 4.56-.6 4.1-8.52 1.5-5.54 6.84.63 1.1 2.68 2.86 3.63 3.8 1.84 1.8 3.27 3.9 5.56 1.44 1.05-1.1-.57-3.66.01-4.32.37-.42 1.7 0 2.3-.36.02 0 3.45-1.78 3.57-1.74 4.83-2.38 5.46-3.5 7.02-7.43.53-1.38 2.2-4.2 4.2-4.25.01 3.05 1.51 15.66-.97 16.67-1.89.78-4.07-1.95-5.97-1.57-3.83.76 1.46 2.55 2.78 3 .95.3 3.16.3 3.91.9.31.27.77 7.43.21 7.9-2.56 2.3-4.1-1.5-7.06-.9-3.16.64-3.79 6.42-1.76 8.04M2.1 84.04c-.18.1-.8-16.41-.14-16.2 4.3-2.64 2.03 6.26 2.5 6.9 1.08 1.5 4.94.74 5 3.1.03.59-2 2.2-2.52 2.54-.4.27-.03.92-.47 1.22-.31.21-1.65-.55-2.13-.18-.8.62-1.63 2.26-2.23 2.63m172.1 46.31c2.5 1.01-2.1 2.56-3.9 2.07-2.47-.69-3.07-1.86-3.45-4.18-.3-1.82 1.6-4.6-2.45-4.8-2.4-.1-2.53.8-2.24 2.63 0 .05-3.92-.42-3.95-.44-1.54-1.76.77-1.88.91-2.94.23-1.6.34-4.56-2.5-5.45-2.74-.85-4.9 1.7-7.49-.22-.8-.6-1.06-4.96-1.3-5.02.64-.96-3.93-2.25-4.5-3.2-2.02-3.36 4.3-3.05 6.85-3.95 4.3-1.53 3.63-2.43 7.2-.33 1.34.8 2.9 2.13 4.23 3-.73.15 3.8 1.89 3.44 1.7 2.9 1.42 2.13.2 3.4 3.06.73 1.63 2 4.4 2.57 6.26 1.3 4.14-3 9.3 3.18 11.8m41.32-5.23c-2.47 0-7.4-2.84-8.96-4.83-2.13-2.72-.63-3.6.34-6.2 1.59-4.2-.4-8.56 6.29-7.96-.02 1.28-1.76 1.35-1.4 3.28.34 1.7 2.75 1.56 2.14 3.98-.28 1.13-2.1 1.73-2.38 2.94-.52 2.23 1.1 4.08 3.18 5.07 1.42.68.8 2.11.8 3.72","fill":"black","fill-opacity":".1"}},{"name":"path","type":"element","attributes":{"d":"M81.73 131.86c-.55 1.01-2.82.57-4.3.57H64.67c1.78-.73-.15-1.47-1.06-1.68-.75.22-6.1-3.86-5.96-5.56.18-2.05 3.04-2.87 2.85-5.33-.22-2.84-9.11-12.08-.32-12.25 4.88-.1 1.43 3.89 3.47 6.26 1.07 1.26 3.62 1.48 4.32 3.04.67 1.5-2.78 9 3.55 4.52 1.34-.95 1.18-4.53 3.92-3.07s-2 5.42-1.1 7.53c1.05 2.4 4.88 2.57 7.05 3.36.52.18.55 2.2.34 2.6m-71.6-12.42C8.8 121.2 12.66 131.7 7.15 131c-2.2-.28-3.59-4.46-5.2-5.63-.75-.55-.4-2.52-.4-3.49 2-.1 4.5 2.64 6.61 1.5 3-1.6-1.55-2.14-2.03-3.26-2.3-5.33 3.7-.72 4-.7m175.1 11.45c-.9 2.2-.92 1.56-4.17 1.56.1-.05-.51-.82-.65-.94 4.77-.1.99-8.64 6.27-7.22.53.14-2.16 4.91-.95 5.2-.5.09-.34 1-.5 1.4m-74.09-.24c.4 2.93-2.5 2.2-4.02.63-.29-.3-2.02-3.47-.85-3.04 1.84-1.34 4.67.92 4.87 2.4m49.6 1.27c.51-.2 2.3-2.7 2.54-3.29-.34.76.17 3.14-2.55 3.2m-7.85-.89c1.08 4.1-10.4 1.05-5.67-1.5 1.48-.8 5.25-.1 5.67 1.5m-59.1 1.43c1.22-.7 7.21-4.35 7.53-.9l.07.9z","fill":"black","fill-opacity":".1"}}]},"circuits":{"elements":[{"name":"path","type":"element","attributes":{"d":"M66 36h49.42a5 5 0 1 1 0 4H62V6h4zm-8-12h-4V6h4z","fill":"black","fill-opacity":".1"}},{"name":"path","type":"element","attributes":{"d":"M163 31a5 5 0 0 1 2 9.58V66h19v4h-23V40.58a5 5 0 0 1 2-9.58","fill":"white","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M157 74h27v4h-31V52h4zm-85 26a5 5 0 0 0-2 9.58V135H51v4h23v-29.42a5 5 0 0 0-2-9.58","fill":"black","fill-opacity":".2"}}]},"dirty01":{"elements":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M33.88 128.1c4.36-30.7 13.06-4.57 33.99-9.98 9.24-2.4 1.77-12.82 8.67-17.35 5.82-3.82 13.76-.74 20.43-3.21 9.63-3.57 9.5-10.82 18.48-11.9 8.48-1.03 17.37 2.34 25.93 1.08 16.15-2.4 9.53-34.03 21.64-39.61 12.1-5.6 32.05 4.06 34.66 19.87 2.54 15.42-14.46 72.78-14.46 72.78H33.88","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M78.93 128c37.67 0 41.6-14.75 60.13-21.5s34.79 10.71 41.02-6.27 6.2 35.95 6.2 35.95H78.93z","fill":"black","fill-opacity":".1"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M41 10.87C52.73 9.75 48.96 22.8 53.6 22.8c1.85 0 4.03-8.46 7.38-8.46 2.46 0 2 5.5 7.33 4.91 5-.54 4.07-4 6.6-4 5.44 0 3.38 20.2 7.73 20.2s5.73-14.8 7.65-20.64c2.43-7.4 16.97-11.56 6.6-14.5H40.71","fill":"black","fill-opacity":".4"}}]},"dirty02":{"elements":[{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M143 130.65c-3.19-17.34-9.55-2.58-24.85-5.63-6.76-1.35-1.3-7.25-6.34-9.8-4.26-2.17-10.06-.43-14.94-1.82-7.04-2.02-6.95-6.12-13.5-6.73-6.2-.58-12.7 1.33-18.97.61-11.8-1.35-6.96-19.22-15.82-22.38-8.85-3.15-23.43 2.3-25.34 11.23-1.86 8.71 10.57 41.12 10.57 41.12H143","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M179 122.77c-51.24 0-56.58-25.8-81.8-37.61C72 73.34 49.9 103.9 41.44 74.2S33 137.07 33 137.07h146z","fill":"black","fill-opacity":".1"}},{"name":"path","type":"element","attributes":{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M184.58 9.18c-11.94-.98-5.04 10.8-9.75 10.8-6.97 0-2.1-7.97-10.58-7.78-2.22.06-4.95 1.94-5.12 4.5-.36 5.52 3.72 15.03-1.83 15.3-5.18.25-1.1-9.64-1.65-16.24-.3-3.77-4.18-6.75-6.97-6.75-7.57 0-1.68 15.7-7.13 15.7s-1.21-9.05-5.08-13.84c-4.5-5.57-19.3-8.3-8.75-10.87h57.15","fill":"black","fill-opacity":".4"}}]},"dots":{"elements":[{"name":"path","type":"element","attributes":{"d":"M51.4 123.8a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.32a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.31a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m13.1-.17a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m13 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-20-6a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m24 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-49-.14a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m25.2 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.31a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.31a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.3a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.32a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2M51.4 73.3a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2M57.7 67a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2","fill":"black","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M154 62.8a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-18.9-6.32a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m25.2 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.3a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-18.9-6.32a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.31a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.3a2.1 2.1 0 1 1 0 4.19 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.3a2.1 2.1 0 1 1 0 4.19 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.3a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m-31.5-6.32a2.1 2.1 0 1 1 0 4.23 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2M147.7 6a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2m12.6 0a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2","fill":"black","fill-opacity":".1"}}]},"grunge01":{"elements":[{"name":"path","type":"element","attributes":{"d":"M44 127.22q1.44-.69.8.78a1.7 1.7 0 0 1-.8-.78M63 126c0 .36-3 2-3 2 .66-.72 2.02-2 3-2m-17.76 1.03c.4-.03 1.22-.07 1.76.06-.8.53-1.3 0-1.76-.06","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M45.24 127.03c-.22.01-.32.02-.16 0zM100 126c.29 0 1.4.33.86.33-.25 0-.84-.33-.86-.33m-36 .13q.48-.24 1-.04c-.15.13-.87.2-1 .04m-20-.03q.5-.2 1 0-.5.18-1 0m40.15-.1q0 .15-.15.15 0-.15.15-.15m35.4-2.92c.55-.55.63 2.04.04 1.92q-.46-.32-.58-1.22c.1-.07.64-.8.54-.7m12.65.92c.21.4.34.52.95.51 1.47-.01.68.23.28.49-.12-.15-2.05-.61-1.22-1m24.86.93c-.34-.32.66-1.18.93-.86 0 .06-1.16 1.23-.93.86","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M158.87 124c.49 0-.6.54-.41.38-.18.16-1.15-.4.41-.38m-100.8.33c-.4 0 1.1-.48.9-.28-.12.14-.68.28-.9.28m75.93-.25q.15-.15.3 0-.15.15-.3 0M85.02 123c.25 0 1.38.8.83 1a3 3 0 0 0-.7-.89v.04q-.15 0-.15-.15zm84.17 0c.16.2-.05.26-.13.37-.16-.2.04-.26.13-.37m-85.16-1c.19.22.29.5.25 1-.16-.24-.36-.38-.25-1m11.05 0q.15.15 0 .3-.15-.15 0-.3m10.92.1q.5-.2 1 0-.5.18-1 0m-4.17-1.1c.5.4-.22 1.33-.79.88-.24-.19.7-.77.8-.88m41.16-2q.09 0 .13.06l.07.04-.05.02v.03h-.07a2 2 0 0 0-.58.3q.13.41.22.83.47-.9 1.28-.45c-.03 0-1.08 1.55-1.73 2.09q-.78.3-1.27-.46.48-.4.7-.02c-.08-.55.5-2.6 1.3-2.43m-48 2.41c-.07-.27 1.26-.46.95-.2-.08.04-.9.33-.95.18m5-.24q.15-.15.3 0-.15.15-.3 0m-25.85-.1q0 .15-.15.15 0-.16.15-.16M99 120q1.07.1 2 .5 0 .74-1.16.39a4 4 0 0 1-.84-.9m41 .1q.5-.2 1 0-.5.19-1 0m-65.85-.1q0 .06-.15.06 0-.14.15-.14m66.85-.8c.01 0 1.27-.41.95-.06q-.56.56-.95.07m-44 .07c.02-.31.02-.31.28-.24q-.09.19-.28.23M58 119q.5-.2 1 0-.5.19-1 0m-12 0q.12-.15.24 0-.12.12-.24 0m45 0q.12-.15.24 0-.12.12-.24 0m-43.92-1q.15.19 0 .37-.15-.19 0-.37m36-1q.15.19 0 .37-.15-.19 0-.37m58.92-.75c1.06-.98 1.27 1.29.67.63 0 0-.73-.57-.67-.63m9-.25q.85.03 1 1a3 3 0 0 1-.9-.86q-.1 0-.1-.14m-56.95.3c-.3-.72.8.11.8.12.5.67-.36.92-.8-.14M150 116c.08 0-.76 1.34-1 .92.16-.45.7-.89 1-.92m-97 .17q1.1-.4 1 .15c-.04.33-1.03-.17-1-.15m82-.07c.36-.22 1.56-.06.7.26-.1.03-.7-.05-.7-.25m-59 .17c0-.1.83-.37.93-.25.37.43-.92.26-.93.25m-24-.18q.5-.2 1 0-.5.18-1 0m54 0q.5-.2 1 0-.5.18-1 0m-46-.02q.15-.15.3 0-.15.15-.3 0m65.77-1.08q.5.58-.09.93c-1.48.38-.1-.85.1-.93m-23.78.62c.2-.4.3-.98.33-.32 0 .46-.33 1.14-.33.31m-35.96-1.33c-.2-.44.36-.26.9-.1q.3.42-.9.1m61.03-.28q.12.12 0 .24-.15-.12 0-.24m12.93.08c.35-.1.65-.1 1 0-.35.1-.65.1-1 0M124.38 113c1.9 0-1.25.19-.13.1zm38.62-.08c.22-.2.47-1.19 1-.85-.01.23-.81 1.21-1 .85m-96-.85q.12-.15.24 0-.12.12-.24 0m58-.09c-.03.02.99-1.3 1-.9 0 .17-.65 1.05-1 .9m37.04-2.98q.47-.06.25.78c-.38.62-.3-.23-.25-.77m-17.97-.01q.12.12 0 .24-.15-.12 0-.24m-30.45-2q.75.66 1.3 1.64c.6.84-2.63-.03-2.92-.2.46-.4 2.26.14 2.28.21-.05-.2-.74-1.44-.66-1.65m-4.55 1q.12.12 0 .24-.15-.12 0-.24m20.88.02c-.17.1-.82.22-.95.22-.04-.2.75-.2.95-.22m-1.95.08q.5-.2 1 0-.5.18-1 0m2-.1q.02.02-.05.02zm-.96 0H129zm-52.9 0c-.22.02-.32-1.54.86-.8 0 .1-.7.79-.86.8m53.88-.14c-.15-.8.42-1.33.87-.25q.33.63-.97.25m28 .14c.8-1.13.96-1.02 1-.97 0 1.42-.6.4-1 .97m6.1-.07c-.43-.28.43-1.21.89-.85-.23.08-.34 1.2-.88.85","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M127.9 106.17c.27.26 1.16.7 1.1.67q-.65.1-.54.58c.83.87-.73.5-1.3.51.3-.25.68-1.33.74-1.76M66 107.93c.3-.3 2.63-1.12 3-.9l-.87.32c-.52 0-1.6.9-2.13.58","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M127.17 107.93q-.1.08-.17.03.05-.03.17-.03m32.43-.93c.9.07 0 .03-.07.29-1.27.11.16-.28.08-.3m-85.33 0a.3.3 0 0 1-.24.2c-.07-.26-.07-.26.24-.28m72.7 0c.2.24-1.02.22-.98.22.15-.3.71.03.98-.22","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M159.15 107q0 .15-.15.15 0-.15.15-.15m-8.15.07q.12-.15.24 0-.12.12-.24 0m-2.92-1.07c.1.3.35.47.15 1-.1-.3-.36-.47-.15-1m10.92.14q.5-.27 1-.02c-.57 1.74-.42.43-1 .02M72 106c-.13.12-3.05 1.2-3 .97q1.05-.32 2.1-.67zm72.22 0c.64.36 1.3 1.44.17.8-.42-.25-.53-.56-.17-.8m7.83 0c.08.12.27.16.13.38-.08-.11-.27-.15-.13-.38m-24.17 0q.05 0 .02.17-.13-.12-.03-.17m-46.47 0c-1.05.1.27-1.8.6-.6.01.04-.46.58-.6.6m85.84-1c.28-.02.77.76.76.9-.02.45-1.58-.83-.76-.9m-6.24.04c.26-.07.26-.07.28.24q-.2-.05-.28-.24m-76-.54q.28-.93 1-.13c-.92 1.05-.21.57-1 .13m87.07-.5q.12.12 0 .24-.15-.12 0-.24m-31.07.07q.12-.15.24 0-.12.12-.24 0m-69.88-2q.9.68.88 1.93a1.6 1.6 0 0 1-1.02-.66c-.06-.1-.58-.24-1.12-.38.35-.29.5-.52 1.12-.89-.03 1.01-.47.61-.18.78q.85.24.32-.78m68.89.93q1.5.3.73.87c.44.37-.33-.14-.14-.3.01.03-.7-.6-.59-.57m-25 .6q1.2-1.2 1 0c-1.5.7-.7.34-.92 0m-48.96-.69c-.37-2.25 3.03-2.4 3.7-1.02q.5-.53 1.19-.48c-.12.97-1 .57-1.1 1.54l-1.31-.3q.07.25.24.4c.44-.09.4.32-.74.24 0-.73.15.21.73-.23a8 8 0 0 0-1.26-.25c.5.65.4-.04-1.43.1m28.98.17q.15-.15.3 0-.15.15-.3 0m-28-.08H67zm2.83-.04-.05.04v-.05zM77 102c0 .34-.81.66-.94.92-.2.42.1-.92.94-.92m66.04.13c.28-.5.75.6.77.63.78.6-1.1-.05-.77-.63M157.1 101q.18.5 0 1a1.4 1.4 0 0 1 0-1m-13.81 0c.31.04.88.47.58.9.7.5-1.66-1-.58-.9m5.9 0c.56 0 1.17.21.55.8-.64.62-.97-.36-.55-.8m-10.47 0c1.31.93-2.46.11-1.3.1-1.48.02 1.42-.02 1.3-.1m-89.58.4q-.5-.61.8-.3c.3.01-.7.3-.8.3M70 101v.04zm65-.77c.09-.59.44.07.42.56-.01.49-.5.04-.4-.56m8.16-.23c.3-.05 1.1.68.7 1-.1-.08-1.35-.88-.72-1m-57.17.08q.15-.15.3 0-.15.15-.3 0M67.92 100q.15 0 .15.15-.15 0-.15-.15m41-.65q.6-.77 1 .16l-.9.5q-.11-.3-.1-.6m-51.01.28c.3-1.23.58-.26.96.16.3.3-1.08.38-.95-.16m101.07-.6q.15.15 0 .3-.15-.15 0-.3m-12.01 0q.12.12 0 .24-.15-.1 0-.23m-35.85-.88q.47-.46.78.88c-.04.04-1.55-.5-.78-.87m-58.22.1c.3-.1.47-.35 1-.14-.3.1-.47.36-1 .15m5-.23c.1.02.1.03.1.12q-.1 0-.1-.1","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M111.2 97.04c1.45-.25.5.82.46.96-.61 0-.87-.9-.47-.96m24.81.2c-.25 1.8-.85-.13-1-.24zm16-.16q.15-.15.3 0-.15.15-.3 0M67 97q.15 0 .15.15-.15 0-.15-.15m40.1-.04c-.07-.07-.2-1.25.03-.9.09.15.3 1.16-.03.9M78 95.98c-.06-.32.8-1.39 1-.81.1.35-.97.95-1 .81m5.94-.98q.3 1.17-.8.97c-.56-.32.75-.92.8-.97m46.06.1q.5-.2 1 0-.5.18-1 0m30-.02q.15-.15.3 0-.15.15-.3 0M127 94q-.25.4-.74.48-.56.4-1.26.52a5 5 0 0 1 2-1m-10.8.4c-.74-.75.79-.21.8-.2zM70.06 94q1.02-.06.93.37c-.1.1-1.3-.28-1-.36m57-.01c0-.17.71-1.32.95-.91.18.31-.84.91-.98.9m31-.6c0-.8 1.02-.5 1 .52-.2 0-.85-.47-1-.57","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M159.01 93.3c1.9-.88.45.47.63.5-.25-.04-.71.73-.63-.5m3.22-.3c.2.53-.06.7-.15 1-.2-.53.05-.7.15-1M113 92.37c.1-.6 1-.39 1 .09-1.83 1.26.12-.08-1-.09m15.18.63c-.78.01 1.15-1.49 1.82-.84-.33-.32-1.63.84-1.82.84M112 92.1q.57-.37 1 .7c-.4.61-.8-.35-1-.71m11.02.69c.38-1.5 1.17-.36.94-.44.1.04-1.11 1.1-.94.44M46.13 92c.6.05 1 .7.83.98-1.3.14-.94-.56-.83-.98m5.87.1q.5-.2 1 0-.5.18-1 0m62.15-.1q0 .15-.15.15 0-.15.15-.15m1.83-1c.16.58-.65 1.14-.98.97.2-.34.72-.71.98-.97m8.32.02q.64-.15.7.91c-.25.18-.49-.03-.67-.27v.13c.02.48-.33.04-.33-.45l.06-.1-.06-.1.2-.1q.06-.07.1-.02m4.85-.02c.18.25-.04 1-.04 1q-.24-.64.04-1m11.92.93c-.35.54.79-2.14.93-.24q-.5-.3-.94.2","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M46.27 91.71c-.05.48-.04.29-.03-.01z","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M46.24 91.7c-.52-.28-.05-.86.02-.66.02-.05 0 .36-.02.66m82.86-.7c0 .09-.01.1-.1.11q0-.12.1-.1m31.82-.01c-.3-.09-1.3-1.2-.76-.97q1.1.18.76.97m-95.85-.85c-.35-.45.77.25.93.44 0 1.02-.71-.16-.93-.44M88 90.03c.28-.19.37.56.43.76-.53.67-.19-.43-.43-.76m49 .05q.15-.15.3 0-.15.15-.3 0m-19.89-.04c.7-.13 1.1.09.77.1 0 0-1.25 0-.77-.1M129.37 88q.16.55.63.65c-.7-.06-.2 1.03-.24 1.35-.03 0-1.4-.75-.39-2","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M137.77 89q-.23.62.23.87c-.28 0-1.15.5-.98-.45q.42-.1.75-.42m34.23.08q.15-.15.3 0-.15.15-.3 0m1-.08q.15 0 .15.15-.15 0-.15-.15m-45.67-.92q.5-.3.67.57-.48.33-1 .35zm22.73.12c-.32-.28.78-.2.94-.14-.45.13-.31.68-.94.14M124.9 88c-.3.05.43.42-.64.33-.71-.06.22-.3.63-.33m-8.89.08q.15-.15.3 0-.15.15-.3 0M43.72 85c.57.53.21 1.4-.56.79q-.5-.77.56-.8M91 84c-.06.37-.9.59-.94 1-.32-.75.72-1 .94-1m55.03.04c.04-.2.97.32.97.75-.92.58-1.08-.17-.97-.75m-36.03.88c0-.45.69-1.2 1-.8-.02.02-1 1.19-1 .8M65.52 83q.82.38 1.48.92-1.05.22-2-.17.34-.33.52-.75m46.5.84c.03-.13.9-1.1.97-.77.1.41-1.13 1.28-.99.77m-23.8-.83c.45-.08.98.28.74.29a2 2 0 0 1-.77-.14q-.07.01-.14-.05L88 83.1h.01l-.01-.02q.1-.1.2-.07m-15.2.03c.26-.07.26-.07.28.24q-.2-.05-.28-.24m-20 .04q.15-.15.3 0-.15.15-.3 0m59.1-.08c0 .1-.01.1-.1.11q0-.12.1-.1M86 81.08c.22-.1.72-.13.9.06.43.47-.59.3-.9-.06M96 81c-.45.53-1.53-.08-2 .42.41-.44.06-.33 2-.42m-43 .07c.53-.2.7.06 1 .16-.53.2-.7-.05-1-.16m68-.05c.2-.04.2-.04.4.2-.2.05-.2.05-.4-.2m-67 .06q.15-.15.3 0-.15.15-.3 0m65 0q.15-.15.3 0-.15.15-.3 0m18-1q.15-.15.3 0-.15.15-.3 0m28 0q.15-.15.3 0-.15.15-.3 0M133.07 79q.12.12 0 .24-.15-.12 0-.24m37.13-.52c1.53.4.52.18.08.52-.06-.1-.08-.3-.07-.52m.4-1.48c.58.04 1.24 1.29 1.39 1.68q-.74-1.2-1.78-.44c.06-.58.25-1.25.4-1.24m-.4 1.24-.01.24-.21-.06zM62.04 78l.14.02c.27-.06.68.04.8.17H63l-.01.03v.04l-.03.02q-.2.3-.82.07l-.12-.22-.02-.02v-.1zm108.1 0q0 .15-.14.15 0-.15.15-.15M63 78.1c.4-.13.4-.13 1-.03-.36.14-.7.03-1 .04m-3.44-1.01c.93-.13 2.44-.35 2.44.9-.75 0-1.6-.66-2.33-.66q-.05-.19-.11-.23m88.73-.1c0 .05 1.7.49 1.7.44 0 .08-3 .61-3 .54q.6-.6 1.21-1M173 77c.21.11.98-.1.97.24 0 .35-1.2.03-.97-.27m-113.59.12c-.14.12-.3.5-.44.04zm76.25-4.1q.1.5-.23 1c.73.4.78 0 1.22.8a5 5 0 0 1-.2-1.7c.58.67.21 1.3.75 1.66.04-.04 1.86-1.99 1.8-.6 0 .8-1.5-.58-.9.76-1.5 0-2.5 3.07-3.56 1.62.6-.38.1.15.4-.47q-.62.24-.8-.54c-.44-.35.76-1.93.8-2.12q.42-.16.77-.48M67 76c-.03-.04 1.34-.02.92.97-.07.17-.82-.84-.92-.97m97-.01c-.14.14-.66.54-1 .4.33-.38.86-.25 1-.4m-14 .2c-.02-.44.34 0 .87-.03.56-.02-.84.52-.87.03m-2.78-.2c.13-.05 1.04.2.7.4-.1.05-1.44-.08-.7-.4m5.78.07q.12-.15.24 0-.12.12-.24 0M116.19 75c1.92 0-.17 1.25-.19.96 0-.05.33-.96.19-.96","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M138.1 75.88c-.35-.3.36-1.17.63-.78.45.66.4 1.14-.64.78M108.76 75q.72.2-.72.43-.07-.14-.02-.23c-.05-.19-.02-.19.26-.2v.05q.17-.05.5-.05m21.32 0c.25 0 1.21.33.8.33-.26 0-1.2-.33-.8-.33m23.9.16c.13-.34 1.15-.05.98.1-.07.06-1.06.1-.97-.1M139.24 75c.07.27.07.27-.24.28.02-.14.13-.22.24-.28m-89.12 0q0 .13-.12.12 0-.12.12-.12M67 74.07c.2-.3 1.13.48.98.87-.11.32-.9-.75-.98-.87m106 .75c-.03-.17.8-1.16 1-.7 0 .07-.88 1.34-1 .7m.22-.82c.04.2.04.2-.2.4-.04-.2-.04-.2.2-.4m-34.15 0q.12.12 0 .24-.15-.12 0-.24M136 74q.15 0 .15.15-.15 0-.15-.15","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M173.91 73.77c.67-.77.13-.95 1.1-.6q-1.48.42-.23.55-.97.62-1.78-.14.6-.3.91.19M115.43 71c.15 0 1.21-1.53 1.52-.8.5 1.11-3.17.71-1.52.8m55.68 0c-.78-1.4 2.83-.94 1.65-.88-.6.02-1.1.7-1.65.88m-80.89-1c.15-.1.88 1 .88 1-.02.06-1.4-.64-.87-1m8.88.84q.3-.98 1-.82c0 .9-.51 1.2-1 .82m-36.9-1.69c.46-.08 1.94-.5 2.86.58-.68.74-2.17-.22-2.86-.58m91.4-.37q-.75-.94.46-.75-.1.17-.22.05c.3.5-.1 1.29-.13 1.92a8 8 0 0 1-.65-1.46q.26.14.53.24m-9.4.22c.64 0 1.2-.07.65.44-.24 0-1.1-.43-.65-.43m-81.99.2q-.2.07-.1-.03zm12.03-1.9c1.28-.7.8.3.3.3-1.07 1.19.05-.23-.3-.3m29.9-.22q.15.15 0 .3-.15-.15 0-.3m-2.8 0c-.02.14-.13.22-.24.28-.07-.26-.07-.26.24-.28m-36.2 0q.11.12 0 .24-.16-.11 0-.23m8.04 0q0 .13-.12.12.01-.12.13-.12m71.88-.92q.12-.15.24 0-.13.12-.25 0m1-1q.15-.14.3 0-.15.16-.3 0m-24.4-1.1c.37.1.41.88.4 1-.59-.18-1.7-.95-.4-1m25.02.03c1.1-.2-.57.94-.56.98-.22-.68.6-.22.64-.98M84 64.8c1.55-1.9.38.2 1 .2-.26 0-.77.02-1-.2m74.93-.8c-.05.19.37 1.03-.4 1-1.38-.05.39-.96.4-1m-52.93.1c-.14-.04 2.19-.34 1.99.34-.58 0-1.38-.27-1.98-.35","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M147 64c.1 0 1.55-.06.77.3q-.41.38-.77-.3m-68.96 0c.11.06.22.14.24.28-.31-.01-.31-.01-.24-.28m50.2-1q.3 1.35-.24.87c-.04-.3.24-.98.25-.86m15.75.1c.26-.2.85-.1.95.35.3 1.43-.76-.45-.95-.36","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M144 61c.6 0 1.56.56 2.14.3-.94 1.28 1.2.52 1.16.77q.08.75-.43 1.1 0-.03-.03-.04.07-.26-.14-.23l.15.23-.02.06.04-.1q.24.3.58.4a1 1 0 0 0-.18-.77c2.34.38-1.73 1.66-1.44 1.01-.1.25.9-.5.85-.48-2.17 1.6-1.26-.54-2.68-2.3m-37 .37c-.02-.93.9.13 1 .27-.45.5-.98.5-1-.27M88.19 61c.17.2-.05.27-.13.38-.17-.2.05-.26.13-.37m2.96.16c-.61-.3.85-.1.85-.02 0 .17-1.21.04-.85.02M152.02 59c-.13.41 2.3 1.18 1.94 2 .04-.08-2.16-1.26-1.94-2M128 59c.27.34 1.57.28 2 .73-.45.72-1.55-.17-2-.73m-32 .1q.5-.2 1 0-.5.18-1 0m27-.92c.25-.15.82-.33.99.02.14.31-.98-.02-.99-.02m16-.18q.25.06.3.3c-.26.04-.33-.03-.3-.3m32 .1q.5-.2 1 0-.5.18-1 0m-31-.1q.15 0 .15.15-.15 0-.15-.15m1.28-1v.02c-.06-.14 1.46 1.22.26.94-.57-.13-.6-.47-.5-.7l-.04-.02q.08-.17.23-.23z","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M125 57c.01.75-1.45 1.06-1.9 1-.54-.71 1.45-1 1.9-1m-38.85-1q.97.22 1.54.77c1.4.61-2.5-.12-1.6-.77m-21.1.08q.11-.15.3 0-.19.15-.3 0m73.2-.08.01-.03zm.7-2q.6.3 1.07.75c.02-.02-1.56 1.04-1.76 1.22q.33-.6-.24-1.03c.33-.2 1.73-.22.93-.94m-19.87.34c-.4-1.04 1.57.63.73.66-.2 0-.65-.44-.73-.66m7.92-1.34c.1 0-.24 2.15-.98 2q0-.6.08-1.18.34-.6.9-.82m4.7 0c.73.25-.18.33.2.76 1.6-.9.62 1.26 1.12 1.24-.81.04-2.27-1.05-3-1.32a4 4 0 0 1 1.48-.53q-.45.21-.75.6.68-.15.95-.75m8.4 0q.15.15 0 .3-.15-.15 0-.3M59 53.22q.47-.41 1-.05-.48.17-1 .05m1-1.13c.36-.35.6.44 1 .58-.68.7-1 .17-1-.58m84.02.12c-.2-.38 1.58-.18 1.98.08-.34.27-1.5.05-1.98-.08M156.8 51c.6.96-.3 1.32-.7.68-.48-.76 1.03-.68.7-.68m-61.72 0q.15.15 0 .3-.15-.15 0-.3m70 0q.15.15 0 .3-.15-.15 0-.3m-26.93 0c-.3-.23-.06-1.47.05-.81zm-21.08-2.9c.3-.2.75-.07.93.15-.3.2-1.27.1-.93-.15m-7.99-.1q.15.15 0 .3-.15-.15 0-.3m59 0q.11.12 0 .24-.16-.12 0-.24M109 46.1c.49-.46 1.44.76.77 1.9a2.3 2.3 0 0 1-.77-1.9m47.23 1.24c-.64-.33.2-.49.7-.16.3.2-.5.28-.7.16M122 47q.15 0 .15.15-.15 0-.15-.15m1.47-1c1.02.19.36.27-.24.85-.56.57.06-.65.24-.85m-27.29.1c1.08-.6.82 1.57.73.68-.76-.57-.14.18-.14-.44-.03 0-1.2.1-.6-.23M92 46.07c.53-.2.7.06 1 .16-.53.2-.7-.05-1-.16m25.08-.07q.15.15 0 .3-.15-.15 0-.3m-43-1q.1.1.07.2c.1.16.18.36.1.8-.16-.19-.25-.42-.25-.82V45l.04.05zm18.92.32q.7-.89 1 .68c-.3 0-.84-.37-1-.68M76.08 44.2c.35-.62.33.34.34.67.02.38-.64-.13-.34-.66m13.18-1.1c.22-.16.54-.19.67.3l.5.3q.15-.2-.1-.4c.87-.66.42.32.54.67.18-.35 1.1.3 1.13.55.03.5-1.35-.6-1.5-.44-.05.07.66 1.02.3 1-.04-.26-.45-.65-.87-1-.24-.09-.65-.49-.73-.48-.26.03-.23-.15-.1-.3q-.1-.18-.1-.25zm13.77.91c.44-.14.76.6.97.77-1.1.7-1.03-.8-.97-.8","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M102.37 44.3c1.37-.87.11.42-.17.7-.54.05.19-.68.17-.7M74 44.08q.15-.15.3 0-.15.15-.3 0M134 43c.08.54-.83 1.14-1 .97.14-.58.67-.97 1-.97m-43 0q.15 0 .15.15-.15 0-.15-.15m56 .07q.12-.15.24 0-.12.12-.24 0M62 42c.21.4.22.4.14 1-.15-.33-.04-.57-.14-1m16.67-1c.45-.16.3 1.52.32 1.6.1.84-1.84.12-1.99-.03q.6-.1 1.15.24c.14-.32-.06-1.58.52-1.8","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M77 42.1q.5-.2 1 0-.5.18-1 0m89-.02q.15-.15.3 0-.15.15-.3 0m-43 0q.12-.16.24 0-.12.11-.24 0M56.28 41c-.02.14-.13.22-.24.28-.07-.26-.07-.26.24-.28m114.72.08q.15-.15.3 0-.15.15-.3 0M59.1 40q.18.5 0 1a1.4 1.4 0 0 1 0-1M165 40q.54.33.34 1-.34-.35-.34-1m-97.71.06q1.16-.21.42.3-1.16.21-.42-.3m52.7.21c0 .07.8-.43 1-.21-.2.15-.7.47-1 .21M67 40c.08 0-1.3.58-.94.04zm12 .1q.5-.2 1 0-.5.18-1 0m91-.02q.15-.15.3 0-.15.15-.3 0m-45.75-1.04c.08-.21.07.5-.16.87-.27.44.14-.84.16-.87m-5.88-.02c.08-.1-.06.25-.25.37-.41.25.38-.52.25-.37M109.22 38c1.03 0 .94.38.3.91-.47.38-.73-.55-.3-.9m-31.14 0q.15.14 0 .3-.15-.1 0-.3m88 0q.15.2 0 .3-.15-.1 0-.3m-23.08.1q.15-.1.3 0-.15.2-.3 0m-66-.9c.07 0 1.06-.32 1 0-.05.29-1 .35-1 0m47.08-.2q.15.19 0 .3-.15-.11 0-.3m-73.94-.8c-.6-.4.85.03.86.73 0 .48-.88-.75-.86-.73m91.86.1c.01-.3.01-.3.28-.23q-.09.2-.28.24m-25.94-.06c-.3-.1.61-.3.93-.18.1.04-.8.23-1 .18M75 35q-.11 1.44-1 .81.33-.52 1-.81m48.98-1c-.03.04 1.08 1.43 1.02 1.67q-.6.54-1.28.2l-.72-.1.4-.8q-.14.03-.3.03c-.27-.04.06-.88.07-.9q.45-.24.67.12zm19.33 1.55c-1.57-1.26 3.32.05 2.62 0q-1.3.9-2.62 0m7.74-.26c-.2-.29.24-.68.3.61.02.43-.35-.69-.3-.61m-8.83-.29c.04.2.04.2-.2.4-.04-.2-.04-.2.2-.4m11.78.15q.33-.27.93-.05c.33.15-.63.5-.93.05M117.07 35q.12.12 0 .24-.15-.12 0-.24M72 35.07q.12-.15.24 0-.12.12-.24 0m44.58-.07c-.77-.7-.61-1.16-.44-.95.75.88 1.26-.4.44.95m5.49-1c.1.3.35.47.16 1-.1-.3-.35-.47-.16-1m14.93.12c.84-.38.69.27.51.43l-.15-.16c0 .22.08.23.15.16l.5.45q-.85 0-1-.88m1.2.78c-.1-.25-.4-1.1.19-.86 0 0-.1 1.34-.1.85m-88.13-.9q.15.16 0 .3-.15-.14 0-.3m8.92.08q.12-.15.24 0-.12.12-.24 0m.2-1.07c.16.2-.06.26-.14.37-.17-.2.05-.26.13-.37m103.87 0q.12.12 0 .24-.15-.12 0-.24m-43-.96c.1-.1.76 0 .9.04.3.56-1.3.41-.9-.04m5.9-.04q.3.08.24.36-.3-.07-.25-.36m-62 .08q.15-.15.3 0-.15.15-.3 0m-1.9-.08q0 .13-.1.12 0-.12.11-.12m.08-1c.06.22.06.2-.2.23q.04-.17.2-.23m2.8.08c.35-.1.65-.1 1 0-.35.1-.65.1-1 0M125.1 30c0 .01.17.92.2.95-.42.3-.33-.75-.2-.95m43.89.3c.12 0-.1-.5.9-.2.47.14-.84.2-.9.2M78 29q-.8.78-2 1l.98-.66q.5-.2 1.02-.34m70-.37q.12-1.13 1-.24c0 .98-.84.56-1 .24m-69.55-.38c-.65-.22 1.4-.48.12.12-.92.16-.56-.27-.12-.12M60 28.1q.5-.2 1 0-.5.18-1 0","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M79.34 27c.06-.1-.23.78-.33 1-.05.1.2-.77.33-1m45.08 0c.04 0-.23.9-.32 1-.24-.14 0-1.02.32-1m-15.96 0c.14.09.51.25.53.2.08.26-.83 1.33-.99.47zm23.54.07q.12-.15.24 0-.12.12-.24 0M80.17 26q.81.12.83.74c-1.17.85-1.1-.66-.83-.74m70.83.4c0-1.15 1.44.57.86.57-.68 0-.87.24-.86-.58m14.66-.35c.12-.25.99.82-.63.96q-.17-.6.63-.96M136 26.3q.45-.53 1-.13-.45.28-1 .14m-63 0c-.08-.4.58-.3.68-.28.85.15-.21.28-.67.28m3.99-.23q.15-.15.3 0-.15.15-.3 0m89 0q.15-.15.3 0-.15.15-.3 0M112.15 26q0 .15-.15.15 0-.15.15-.15m26.85.07q.12-.15.24 0-.12.12-.24 0M57.05 26c-1.54 0-.92-1.32-.95-.93.92.63 1.8-.18 2.6.1-.13-.06.2.32.3.28-1.02.41-2.1.01-1.95.55m17.6-2q.3 0 .34.03c.4.04.8.17.92.38q-.36.12-.7.28.4.5.54 1.18-.45-.03-.92.01.15-.15.36-.6-.36.16-.37.6c-.54.57-.7-1.12-.7-1.2-.46.85-1.26.91-.8-.1-.34.76-.86.92-1.4.4 0-.67 1.48-1 2.65-.98m12.4 1.53q.48-.84 1-.34c-1.23.62.1-.27-.32.8q-.27-.7-.68-.5m26.49 0c-.33.28-.56.53-.47.37.14-.27.3-.36.47-.37m0 .01c.53-.46 1.34-1.02 1.51-.03-.47.75-1.03.01-1.51.04M152 25c-.03.2-.87.51-1 .38a2 2 0 0 1 1-.38m1 .35c-.02-.06.9-.44 1-.33-.1.1-.92.54-1 .33","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M74.15 25q0 .15-.15.15 0-.15.15-.15m70.42-.35c-2.02 1.34 2.05-1.72 1.35-.23-.28.6-.98-.02-1.35.23m3.31-1.3q.23.79.02 1.65c-.26-.43-1.26-.41-.64-1.26.22.02.3-.42.62-.4","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M148 24.68q.15-.9 1-.6c-1.3 1.08 0-.1 0 .71q-.54.46-1-.11m17.7-.5c-.06-.36 1.02-.2-.57.82-.46-.19.46-.76.56-.83M60.15 24q0 .15-.15.15 0-.15.15-.15m29.27-1q.78.03.5.72c.13.18.12.32-.18.27q-.05.03-.08-.02c-.15-.03-.37-.4-.66-.54v-.01c1.67.75.87.05.29-.3zm61.61 1q-.2-1.26.95-.93.16.9-.95.93m-6-1.99c-.16-.14.45-1.35.61-.92l.3 1.67c.76-.8 1.34.04.98.7q.21.28.34.28c-.79.86-1.75-1.27-2.24-1.73m2.24 1.8","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M89.61 23.36c0-.14 0-.22-.06-.14l-.06.04zm-17.47-.17c.26-.04.53-.37.84-.06.15.15-.54.1-.84.06m-.1-.01h.1zM149 23q.15 0 .15.15-.15 0-.15-.15m7 .07q.12-.15.24 0-.12.12-.24 0M78 21c.96.33.57 1.56 1 2-.46-.47-.73-1.9-1-2m72.82 1.01c.57.15-.4 1-.4.99-.95-.34-.04-1.1.4-.99M95 22c-.18-.03 3.07.08 3 .27-.15.4-2.5-.15-3-.26m-8.28 0q.73.5-.45.3c-.75.1.26-.3.45-.3m-39.72.1a6 6 0 0 1 2 0c-.17.2-1.84.4-2 0m105 .1c-.11-.05.97-.34 1 .14-.7 0-.54.06-1-.14m-106-.1c.21-.06.21-.06.23.2q-.17-.04-.23-.2","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M151 22.1q.5-.2 1 0-.5.18-1 0m-.92-1.1q.15.15 0 .3-.15-.15 0-.3m-2.08.08q.15-.15.3 0-.15.15-.3 0m-90 0q.12-.16.24 0-.12.11-.24 0M130 20c.27-.08 1.47.5 1.61.6 1.45 1.15-1.6-.56-1.61-.6m7.93 0c.37.2-.8 1.2-.92.96-.09-.16.8-1.02.92-.96m-37.87.1c-.3-.08.56-.15.92-.05.2.37-1.3.14-.92.05m38.29-.65c-.07-.17-.3-2.17.14-1.17.24 0 1.9 1.5 1.43 1.66-.75.26-2.92-.33-2.92-1.41q.74.36 1.35.92M146 19q.15 0 .15.15-.15 0-.15-.15m-10 .07q.12-.15.24 0-.12.12-.24 0M116.7 18c1.03.12-.95 1.37-.67.9.03-.08-.13-.98.67-.9m2.4.98c-.48-.18.9-1.81.9-.43-.17.28-.67.52-.9.43M166 17c-.4-.04-.56 2.24-.87 1.98-.4-.34.19-2.05.87-1.98m-6.9 1.78q.23-.9.78-.76c.6.05-1.3 1.52-.8.76","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M160.7 18c.55.46.23.27-.09.3l-.4-.14q0 .08-.03.14-.11-.1-.05-.21-.04-.04.05-.07l.03-.02.02.02q.15-.03.6-.01m-21.73.1q.15-.1.3 0-.16.2-.3 0m19.36-2c.75-.14 1.04.17 1.52.76q-.52.05-.64.38l.13.1q.7-.07.6.45.01.04-.02.05l-.32.12q0 .04.04.1l-.17-.08c-.86.26-.4-.23-1.52-1 .4-.12 1.56-.12.37-.9M120.2 18c-.8-1.59 1.9-.9 1.85-.04 0 .4-2.2-.7-1.83.04m-6.07-.95q.15.15 0 .3-.15-.15 0-.3m43.9.01v.04zm-2.78-.5c.14-1.48.2.8 0 .46-.22.17-.36-.37 0-.46m1.1-.25c1.5-1 .12 1.22-.32.64q.38-.27.32-.64m-26.27.7c.44.08-.53-1.8.95-.42q-.32.56-.84.5zm35.1-.93q0 .16-.15.16 0-.15.15-.15m-31.97-1c.12 0 1.82.4 1.82.4.04.3-.56-.13-.54.6-.02-.38-1.35-.14-1.46-.7q.94 0 .18-.3m24.57.65q-.03.32-.01.35-.26-.08-.03-.35m-.47-3.64c-.47.22 2.25 2 2.67 2.25-.3.03-1.75.9-2.2 1.4l.12-.93c-.21.27-.71.43-.9.07-.1-.22.79-1.14.97-.72q.04-.4 0-.5c-.7-.15-.65.3-.65-1.17q-.62-.08-.04-.44m-28.27 3c.2.04.83.13.94.2-.17.14-.92.27-.94-.19m9 .2c-.34-.36.85-.19.94.01zm-9-.19q-.12-.02 0-.02zm3.94-1c.31.02.31.02.24.28.07.13.04.23 0 .42-.15.85-.26-.3-.24-.66z","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M132 14.05c.28-.35 1.66 1.18.62.92q-.53-.08-.62-.92m3.35-.11c-.7.4-.28-1.4.65-.82-.24.33-.43.7-.65.82M154.13 12q.66.55.1 1.17c.03.01 1.65.41.48-.17q.8-.03 1.3.42c-.5 1.39-2.1-.13-2.3-.36q-.2.39-.6.58c-.2-.2.98-1.5 1.1-1.64m-17.2 1.04c.2-.07.2-.07.4.18-.21.06-.21.06-.4-.18m-1 .1c.14-.14.87-.2 1-.05q-.5.22-1 .03m2-.04q.15-.15.3 0-.15.15-.3 0m19 0q.15-.15.3 0-.15.15-.3 0m-1.87-2.01-.07.06Q155 11.1 155 11q.1 0 .13.07m-68.68.33c-1.7-.2 2-.48 1.5-.38q-.7.3-1.5.38m15.55-.3q.6-.3 1 .29-.63.02-1-.3m-55.96-1c.05-.12.15-.14.3.07.04.05.04.2 0 .36q.27.26.66.42l-.82.05H46v-1zm41.28.9c-.87 0 .26-1.45.68-.84q-.47.03-.68.85m58.68-.96c.1.06.16-.36 1 .65-.01.99-1.08-.72-1-.65m26.02-.04c.24.2.24.2.2.4-.24-.2-.24-.2-.2-.4M71.07 10q.12.12 0 .24-.15-.12 0-.24m99.93.08q.15-.15.3 0-.15.15-.3 0","fill":"black","fill-opacity":".4"}},{"name":"path","type":"element","attributes":{"d":"M70.05 10c-.34 0 1.18.01.92.02zM56.62 8c-.09.13.41 1.64.38 1.99-.12.13-.94-.93-1-1.12q.17-.72.62-.86m.38 0q.15 0 .15.14Q57 8.15 57 8m-4-.92q.15-.15.3 0-.15.15-.3 0m95.08-.06q.1-.06.2.06-.13.14-.26.04l-.04-.04V7q.05 0 .08.02m-96-.36q-.32-1.17.93-.27-.16.95-.93.16m7.88-.61q.27.88-.65 1c-.75-.8.11-1 .65-1M53 6.08q.15-.15.3 0-.15.15-.3 0","fill":"black","fill-opacity":".4"}}]},"grunge02":{"elements":[{"name":"path","type":"element","attributes":{"d":"M72.47 40.03q-.15-.02-.26-.12c-.1-.07-.15-.12-.14.14.01.5.67-.05.4-.02M52.33 54.92s.2-.56.03-.74q-.26.26-.03.74M50.5 58c.06 0 .57-.28.48-.43-.12-.18-.49.34-.49.42m15.4 7.15c-.12-.11-.52-.45-.27-.5.14-.03.5.36.32.54v-.01h-.01zm3.44 49.32c.13-.02.66-.36.34-.45-.21.01-.6.53-.34.51m26.3-12.14c-.05.05-.2.1-.34.12-.15.03-.26.06-.16.1.19.05.84.15.5-.23M48.1 77.63l.06-.1c1.02 0-.68.19-.07.1m75.45 38.3c.07-.03.08-.03.1-.12q-.1 0-.1.1m-51.37 7.87q.1 0 .1-.11-.1 0-.1.1M52.01 55.75c.08-.02.09-.03.1-.12-.08.02-.09.03-.1.12m56.84-1q-.01.11.1.1c-.02-.09-.02-.1-.1-.1m41.43 28.16c-.08.02-.09.03-.1.12.08-.02.09-.03.1-.12","fill":"black","fill-opacity":".2"}}]}}}}`),colors:{background:{values:[`#e45e4d`,`#de6811`,`#c67c11`,`#b18911`,`#9b9312`,`#7a9f12`,`#40a843`,`#15a876`,`#15a594`,`#15a2a9`,`#159fbf`,`#1499da`,`#448ef4`,`#7681f5`,`#9975ea`,`#b46bd6`,`#ca62bb`,`#d95c9a`,`#e25a75`,`#978d87`,`#8f8f8f`,`#879198`]}}},Cp=[`panda`,`owl`,`dolphin`,`tiger`,`turtle`,`snow-mountain`],wp={mint:`panda`,violet:`owl`,ocean:`dolphin`,ember:`tiger`,sage:`turtle`,dusk:`snow-mountain`};function Tp(e){let t=typeof e==`string`?e.trim():``;return Cp.includes(t)?t:wp[t]||``}function Ep(e){return Dp(Tp(e)||e)}function Dp(e){return`/avatars/default/${e}.svg`}function Op(e){if(typeof e!=`string`)return``;let t=e.trim();return Tp(/^\/avatars\/default\/([^/]+)\.svg$/.exec(t)?.[1]||``)}function kp(e){return!!Op(e)}function Ap(e){let t=Op(e);return t?Dp(t):``}function jp(e){return new xp(new Ed(Sp),{seed:`most.box@`+e,flip:`horizontal`}).toDataUri()}function Mp(e,t){let n=Op(t);return n?Dp(n):t||(e?jp(e):`/avatar.png`)}function Np(){let{t:e}=ul(),t=Ae(e=>e.addToast),n=c(e=>e.showLoginModal),r=c(e=>e.closeLoginModal),i=c(e=>e.loginUsername),a=c(e=>e.loginPassword),o=c(e=>e.showPassword),s=c(e=>e.loginPreviewAddress),l=c(e=>e.hasPreviewedAvatar),u=c(e=>e.loginLoading),d=c(e=>e.loginError),f=c(e=>e.setLoginUsername),p=c(e=>e.setLoginPassword),m=c(e=>e.togglePassword),h=c(e=>e.previewLoginIdentity),g=c(e=>e.loginUser);if(!n)return null;let _=s?`${s.slice(0,6)}...${s.slice(-4)}`:`Most People`;function v(){let n=g();n&&t(e(`login.toast.signedIn`,{username:n.username}),`success`)}return(0,Fl.createPortal)((0,M.jsx)(Il,{onClose:r,className:`login-modal-overlay`,children:(0,M.jsxs)(`form`,{className:`login-modal`,onSubmit:e=>{e.preventDefault(),v()},children:[(0,M.jsxs)(`div`,{className:`login-modal-header`,children:[(0,M.jsx)(`h3`,{children:e(`login.title`)}),(0,M.jsx)(`button`,{className:`login-modal-close`,onClick:r,type:`button`,children:(0,M.jsx)(Cl,{size:18})})]}),(0,M.jsxs)(`div`,{className:`login-modal-body`,children:[(0,M.jsx)(`img`,{className:`login-avatar-preview`,src:s?Mp(s):`/avatar.png`,alt:`avatar`}),(0,M.jsx)(`p`,{className:`login-tip`,children:_}),d&&(0,M.jsx)(`p`,{className:`login-error`,children:e(d)}),(0,M.jsx)(`input`,{type:`text`,className:`input input-compact`,placeholder:e(`login.username.placeholder`),value:i,onChange:e=>f(e.target.value),autoFocus:!0}),(0,M.jsxs)(`div`,{className:`login-password-wrapper`,children:[(0,M.jsx)(`input`,{type:o?`text`:`password`,className:`input input-compact`,placeholder:e(`login.password.placeholder`),value:a,onChange:e=>p(e.target.value)}),(0,M.jsx)(`button`,{className:`login-password-toggle`,type:`button`,onClick:m,children:o?(0,M.jsx)(vl,{size:16}):(0,M.jsx)(yl,{size:16})})]}),(0,M.jsxs)(`div`,{className:`login-buttons-row`,children:[(0,M.jsx)(`button`,{className:`btn btn-secondary`,onClick:h,disabled:l||u,type:`button`,children:e(l?`login.previewed`:`login.preview`)}),(0,M.jsx)(`button`,{className:`btn btn-primary`,disabled:!l||u,type:`submit`,children:e(u?`login.loading`:`common.confirm`)})]})]})]})}),document.body)}function Pp(e){return e.trim().replace(/\/+$/,``)}function Fp(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}function Ip(e){try{return new URL(e).host}catch{return e}}function Lp({variant:e=`page`}){let t=Ae(e=>e.checkBackend),n=Ae(e=>e.addToast),r=Ae(e=>e.hasBackend),i=Pp(ce()),a=Pp(ye()),o=a&&a===i?a:``,s=r===!0?i:``,[c,l]=(0,j.useState)(o),[u,d]=(0,j.useState)(we()),[f,p]=(0,j.useState)(()=>de()),[m,h]=(0,j.useState)(!1),{t:g}=ul(),_=g(o?`remote.title.edit`:`remote.title.connect`),v=g(`remote.hint`),y=e===`page`;function b(){p(de())}async function x(e,t){let r=Pp(e),i=t.trim();if(l(r),d(i),!Fp(r)){n(g(`remote.error.invalidUrl`),`warning`);return}h(!0);try{let{ok:e,reason:t}=await De({url:r,invite:i});if(!e){n(g(t===`http`?`remote.error.http`:t===`ws`?`remote.error.ws`:`remote.error.failed`),`error`);return}ie({url:r,invite:i}),b(),Ae.setState({hasBackend:!0}),n(g(`remote.connected`),`success`)}catch{n(g(`remote.connectFailed`),`error`)}finally{h(!1)}}async function S(){await x(c,u)}async function ee(){pe(),l(``),d(``),b(),await t(),b(),n(g(`remote.cleared`),`success`)}return(0,M.jsxs)(`div`,{className:`remote-node-connect remote-node-connect-${e}`,children:[y?(0,M.jsxs)(`div`,{className:`remote-node-connect-heading`,children:[(0,M.jsx)(xl,{size:20}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`h2`,{children:_}),(0,M.jsx)(`p`,{children:v})]})]}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(`label`,{className:`drawer-label`,children:[(0,M.jsx)(xl,{size:14,className:`icon-inline`}),_]}),(0,M.jsx)(`p`,{className:`drawer-hint drawer-hint-spaced`,children:v})]}),(0,M.jsxs)(`div`,{className:`remote-node-form`,children:[(0,M.jsx)(`input`,{className:`input input-compact`,placeholder:`https://node.example.com`,value:c,onChange:e=>l(e.target.value)}),(0,M.jsx)(`input`,{className:`input input-compact`,placeholder:g(`remote.invite.placeholder`),value:u,onChange:e=>d(e.target.value)}),(0,M.jsxs)(`button`,{className:`btn btn-primary btn-full`,onClick:S,disabled:m||!c.trim(),children:[(0,M.jsx)(xl,{size:16}),g(m?`remote.connecting`:o?`remote.updateConnection`:`remote.connectNode`)]}),o&&(0,M.jsxs)(`button`,{className:`btn btn-secondary btn-full`,onClick:ee,disabled:m,children:[(0,M.jsx)(Sl,{size:16}),g(`remote.disconnect`)]})]}),f.length>0&&(0,M.jsxs)(`section`,{className:`remote-node-history`,"aria-label":g(`remote.history.title`),children:[(0,M.jsxs)(`div`,{className:`remote-node-history-title`,children:[(0,M.jsx)(bl,{size:14}),(0,M.jsx)(`span`,{children:g(`remote.history.title`)})]}),(0,M.jsx)(`div`,{className:`remote-node-list`,children:f.map(e=>{let t=Ip(e.url),n=s&&Pp(e.url)===s;return(0,M.jsxs)(`button`,{type:`button`,className:[`remote-node-item`,n?`remote-node-item-active`:``].filter(Boolean).join(` `),onClick:()=>x(e.url,e.invite),disabled:m,title:g(`remote.history.switchTo`,{url:e.url}),children:[(0,M.jsx)(`span`,{className:`remote-node-item-main`,children:(0,M.jsx)(`span`,{className:`remote-node-host`,children:t})}),n?(0,M.jsxs)(`span`,{className:`remote-node-badge`,children:[(0,M.jsx)(ml,{size:12}),g(`remote.history.current`)]}):(0,M.jsx)(xl,{className:`remote-node-idle-icon`,size:14})]},e.url)})})]})]})}function Rp(){let e=Ae(e=>e.showConnectModal),t=Ae(e=>e.closeConnectModal),{t:n}=ul();return e?(0,Fl.createPortal)((0,M.jsx)(Il,{onClose:t,children:(0,M.jsxs)(`div`,{className:`connect-modal`,children:[(0,M.jsxs)(`div`,{className:`connect-modal-header`,children:[(0,M.jsx)(`h3`,{children:n(`connectModal.title`)}),(0,M.jsx)(`button`,{className:`connect-modal-close`,onClick:t,type:`button`,children:(0,M.jsx)(Cl,{size:18})})]}),(0,M.jsx)(`div`,{className:`connect-modal-body`,children:(0,M.jsx)(Lp,{variant:`drawer`})})]})}),document.body):null}var zp=`https://api.most.box/auth/backup`;async function Bp(e,t){return(await e.clone().json().catch(()=>null))?.error||t}function Vp(e){if(!e||typeof e!=`object`)throw Error(`无效的账号备份数据`);if(e.type!==`mostbox.account-backup`||Number(e.schemaVersion)!==1)throw Error(`无效的账号备份格式`);if(!String(e.ownerAddress||``).trim())throw Error(`账号备份缺少 ownerAddress`);if(!Array.isArray(e.notes))throw Error(`账号备份缺少 notes`);if(e.noteVault!==void 0&&(!e.noteVault||typeof e.noteVault!=`object`||!Array.isArray(e.noteVault.files)))throw Error(`账号备份 noteVault 格式无效`);return e}function Hp(e,t){return f(JSON.stringify(Vp(e)),t)}function Up(e,t){if(!String(e||``).startsWith(`mp://1`))throw Error(`无效的备份数据格式`);let n=he(e,t);if(!n)throw Error(`解密失败,请确认当前 Web3 登录账号正确`);return Vp(JSON.parse(n))}async function Wp(e){return _(JSON.stringify(Vp(e)))}async function Gp(e,t,n=zp){let r=Date.now().toString(),i=new URL(n).pathname,a=`${r}:${String(t).toUpperCase()}:${i}`,{address:o,signature:s}=await h(e.danger,a);return{Authorization:`${o},${r},${s}`}}async function Kp(e,t){let n=await Wp(t);return{cid:n,body:Hp(t,e.danger),headers:{"Content-Type":`text/plain`,"x-backup-cid":n,...await Gp(e,`PUT`,zp)}}}async function qp(e,t,n=zp){let r=await Kp(e,t),i=await fetch(n,{method:`PUT`,headers:r.headers,body:r.body});if(!i.ok)throw Error(await Bp(i,`云备份失败`));return{cid:r.cid}}async function Jp(e,t=zp){let n=await fetch(t,{method:`GET`,headers:await Gp(e,`GET`,t)});if(n.status===404)return{found:!1,cid:``,time:0,payload:null};if(!n.ok)throw Error(await Bp(n,`云端恢复失败`));let r=await n.text();if(!r)throw Error(`云端无备份数据`);return{found:!0,cid:n.headers.get(`x-backup-cid`)||``,time:Number(n.headers.get(`x-backup-time`)||0),payload:Up(r,e.danger)}}async function Yp(){return xe.get(`/api/note-vault/status`).json()}async function Xp(e){return xe.post(`/api/note-vault/config`,{json:{path:e}}).json()}async function Zp(){let e=await xe.get(`/api/note-vault/files`).json();return Array.isArray(e.files)?e.files:[]}async function Qp(e){return xe.get(`/api/note-vault/file`,{searchParams:{path:e}}).json()}async function $p(e,t){return(await xe.put(`/api/note-vault/file`,{json:{path:e,content:t}}).json()).file}async function em(e,t=``){return(await xe.post(`/api/note-vault/file`,{json:{path:e,content:t}}).json()).file}async function tm(e,t){return(await xe.patch(`/api/note-vault/file`,{json:{path:e,newPath:t}}).json()).file}async function nm(e){return xe.delete(`/api/note-vault/file`,{searchParams:{path:e}}).json()}async function rm(){return xe.get(`/api/note-vault/snapshot`).json()}async function im(e){return(await xe.post(`/api/note-vault/restore`,{json:e}).json()).result}function am(e,t){return e instanceof Error?e.message:t}function om(e,t,n){return n(e===`disabled`?`profile.backup.status.disabled`:e===`error`?`profile.backup.status.error`:e===`synced`?`profile.backup.status.done`:t===`backup`?`profile.backup.status.backingUp`:t===`restore`?`profile.backup.status.restoring`:t===`export`?`profile.backup.status.exporting`:t===`import`?`profile.backup.status.importing`:`profile.backup.status.idle`)}function sm(e){return!!(e.notes.length||e.profile||e.preferences||e.files?.length||e.trashFiles?.length||e.channels?.length||e.noteVault?.files.length)}function cm(e){return!!(e.notes.length||e.files?.length||e.trashFiles?.length||e.channels?.length||e.noteVault?.files.length)}function lm(e,t){return[...Array.isArray(e)?e:[]].sort((e,n)=>String(e?.[t]||``).localeCompare(String(n?.[t]||``)))}function um(e){return{type:e.type,schemaVersion:e.schemaVersion,ownerAddress:e.ownerAddress.toLowerCase(),notes:e.notes,profile:e.profile||null,preferences:e.preferences||null,files:lm(e.files,`cid`),trashFiles:lm(e.trashFiles,`cid`),channels:lm(e.channels,`channelKey`),noteVault:e.noteVault?{files:lm(e.noteVault.files,`path`)}:null}}function dm(e,t){return JSON.stringify(um(e))!==JSON.stringify(um(t))}function fm(e){return Array.isArray(e)?e.length:0}function pm(){return typeof window<`u`&&window.electronAPI?.isElectron===!0&&typeof window.electronAPI.selectNoteVaultDirectory==`function`}function mm(){return typeof window<`u`&&typeof window.electronAPI?.selectNoteVaultDirectory==`function`}function hm(e){return e.noteVault!==void 0&&e.noteVault!==null&&Array.isArray(e.noteVault.files)}function gm(e){let t=String(e||``).trim();return t?t.toLowerCase().endsWith(`.md`)?t:`${t}.md`:`Untitled.md`}function _m(e,t){let n=String(e.content||``);return!t||!n.startsWith(`mp://1`)?n:he(n,t)||n}async function vm(){try{return(await Yp()).configured?await rm():void 0}catch{return}}async function ym(){if(pm())return!0;try{return(await Yp()).configured}catch{return!1}}async function bm(){if((await Yp()).configured)return!0;if(!mm())return!1;let e=await window.electronAPI?.selectNoteVaultDirectory?.();return e?(await Xp(e),!0):!1}async function xm(e){let t=[];for(let n of e.files){let e=Pe(n.path),r=e.lastIndexOf(`/`),i=r===-1?e:e.slice(r+1),a=r===-1?``:e.slice(0,r),o=String(n.content??``),s=Number(n.mtimeMs)||Date.now();t.push({name:i||`Untitled.md`,cid:await _(o),path:a,content:o,size:Number(n.size)||new TextEncoder().encode(o).length,type:`file`,created_at:s,updated_at:s,isSecret:!1})}return t}async function Sm(e,t){let n=new Map;for(let r of e){if(!r||typeof r!=`object`)continue;let e=r,i=gm(e.name),a=Pe(String(e.path||``)),o=Pe(a?`${a}/${i}`:i);if(!o)continue;let s=_m(e,t),c=new TextEncoder().encode(s).length;n.set(o,{path:o,content:s,size:Number(e.size)||c,mtimeMs:Number(e.updated_at)||Number(e.created_at)||Date.now()})}return{files:[...n.values()].sort((e,t)=>e.path.localeCompare(t.path))}}async function Cm(e){try{return await xe.get(`/api/user/profile`).json()}catch{return e||null}}function wm(e){return!e||typeof e!=`object`?null:{theme:e.theme===`dark`||e.theme===`light`?e.theme:void 0,locale:$c(e.locale)?e.locale:void 0}}function Tm(e,t){if(!t)return e;let n=Number(t.updatedAt);return{...e,displayName:t.displayName||e.username,avatar:t.avatar||void 0,profileUpdatedAt:Number.isFinite(n)&&n>0?Math.floor(n):Date.now()}}function Em(){let{locale:e,setLocale:t,t:n}=ul(),r=Ae(e=>e.addToast),i=Ae(e=>e.hasBackend),a=Ae(e=>e.openConnectModal),o=Ae(e=>e.notes),s=Ae(e=>e.importNotes),l=Ae(e=>e.setIsDarkMode),u=c(e=>e.wallet),d=c(e=>e.openLoginModal),f=c(e=>e.setUserIdentity),[p,m]=(0,j.useState)(null),[h,g]=(0,j.useState)(u?`idle`:`disabled`),[_,v]=(0,j.useState)({filesCount:null,trashFilesCount:null,channelsCount:null,loading:!1}),y=(0,j.useCallback)(async()=>{if(!c.getState().wallet){v({filesCount:null,trashFilesCount:null,channelsCount:null,loading:!1});return}v(e=>({...e,loading:!0}));try{let e=await xe.get(`/api/user/export`).json();v({filesCount:fm(e.files),trashFilesCount:fm(e.trashFiles),channelsCount:fm(e.channels),loading:!1})}catch{v(e=>({...e,loading:!1}))}},[]),b=(0,j.useCallback)(()=>c.getState().wallet||(d(),g(`disabled`),null),[d]),x=(0,j.useCallback)(()=>Ae.getState().hasBackend===!0?!0:(a(),r(n(`profile.backup.error.backendRequired`),`error`),!1),[r,a,n]),S=(0,j.useCallback)(async()=>{let t=c.getState().wallet;if(!t)throw Error(n(`profile.backup.error.loginRequired`));if(!x())throw Error(n(`profile.backup.error.backendRequired`));let r=await xe.get(`/api/user/export`).json(),i=c.getState().identity,a=i?{displayName:i.displayName||i.username,avatar:i.avatar||``,updatedAt:Number(i.profileUpdatedAt)||Date.now()}:r.profile,o={...r,type:`mostbox.account-backup`,schemaVersion:1,ownerAddress:t.address.toLowerCase(),exportedAt:new Date().toISOString(),profile:a,preferences:{theme:Ae.getState().isDarkMode?`dark`:`light`,locale:e},notes:Ae.getState().notes},s=await vm();return s&&(o.noteVault=s,o.notes=await xm(s)),o},[e,x,n]),ee=(0,j.useCallback)(async(e,i={})=>{let a=b();if(!a||!x())return!1;if(e.ownerAddress.toLowerCase()!==a.address.toLowerCase())throw Error(n(`profile.backup.error.ownerMismatch`));if(i.confirm!==!1){let t=await S();if(sm(t)&&dm(t,e)&&!(i.requestConfirm&&await i.requestConfirm()))return r(n(`profile.backup.toast.cancelRestore`),`info`),!1}let o=e.notes;if(await ym()){let t=hm(e)?e.noteVault:await Sm(e.notes,a.danger);if(hm(e)||Array.isArray(e.notes)){if(!await bm())return r(n(`profile.backup.toast.cancelRestore`),`info`),!1;await im(t),o=await xm(t)}}await xe.post(`/api/user/import`,{json:e}).json(),s(o);let u=wm(e.preferences);u?.theme&&l(u.theme===`dark`),u?.locale&&t(u.locale);let d=c.getState().identity,p=await Cm(e.profile);return d&&p&&f(Tm(d,p)),y(),!0},[r,S,s,x,b,y,f,l,t,n]),te=(0,j.useCallback)(async()=>{let e=b();if(!e||!x())return!1;m(`backup`),g(`working`);try{return await qp(e,await S()),y(),g(`synced`),r(n(`profile.backup.toast.cloudUpdated`),`success`),!0}catch(e){return g(`error`),r(am(e,n(`profile.backup.error.backupFailed`)),`error`),!1}finally{m(null)}},[r,S,y,x,b,n]),ne=(0,j.useCallback)(async(e={})=>{let t=b();if(!t||!x())return!1;m(`restore`),g(`working`);try{let i=await Jp(t);if(!i.found||!i.payload)return e.silentNoBackup||r(n(`profile.backup.toast.noCloudBackup`),`info`),g(`idle`),!1;let a=i.payload;if(e.onlyWhenLocalEmpty){let e=await S();if(cm(e)&&dm(e,a))return g(`idle`),!1}let o=await ee(a,{confirm:e.confirm,requestConfirm:e.requestConfirm});return o?(g(`synced`),r(n(`profile.backup.toast.restoredCloud`),`success`)):g(`idle`),o}catch(e){return g(`error`),r(am(e,n(`profile.backup.error.restoreFailed`)),`error`),!1}finally{m(null)}},[r,S,x,b,ee,n]),re=(0,j.useCallback)(async()=>{let e=b();if(!(!e||!x())){m(`export`),g(`working`);try{let t=Hp(await S(),e.danger),i=new Blob([t],{type:`text/plain`}),a=URL.createObjectURL(i),o=document.createElement(`a`);o.href=a,o.download=`${e.address.slice(-4)}-most-account-${new Date().toISOString().slice(0,10)}.txt`,o.click(),URL.revokeObjectURL(a),g(`synced`),r(n(`profile.backup.toast.exportedLocal`),`success`)}catch(e){g(`error`),r(am(e,n(`profile.backup.error.exportFailed`)),`error`)}finally{m(null)}}},[r,S,x,b,n]),ie=(0,j.useCallback)((e={})=>{let t=b();if(!t||!x())return;let i=document.createElement(`input`);i.type=`file`,i.accept=`.txt`,i.onchange=i=>{let a=i.target.files?.[0];if(!a)return;let o=new FileReader;o.onload=async()=>{m(`import`),g(`working`);try{await ee(Up(String(o.result||``),t.danger),{requestConfirm:e.requestConfirm})?(g(`synced`),r(n(`profile.backup.toast.restoredLocal`),`success`)):g(`idle`)}catch(e){g(`error`),r(am(e,n(`profile.backup.error.importFailed`)),`error`)}finally{m(null)}},o.readAsText(a)},i.click()},[r,x,b,ee,n]),ae=u?h===`disabled`?`idle`:h:`disabled`,oe=(0,j.useMemo)(()=>om(ae,p,n),[p,ae,n]);return{action:p,busy:p!==null,status:ae,statusLabel:oe,backupToCloud:te,restoreFromCloud:ne,exportLocalBackup:re,importLocalBackup:ie,hasBackend:i,backupSummary:_,refreshBackupSummary:y,notesCount:o.length}}function Dm(){let e=Ks({select:e=>e.pathname}),{restoreFromCloud:t}=Em(),n=Ae(e=>e.checkBackend),r=Ae(e=>e.hasBackend),i=Ae(e=>e.initializeLocalData),a=c(e=>e.firstPath),o=c(e=>e.initializeUser),s=c(e=>e.setFirstPath),l=c(e=>e.identity),u=Ae(e=>e.loadUserNotes),d=Ae(e=>e.notesAddress),f=Ae(e=>e.resetAppState),p=c(e=>e.consumePendingCloudRestore),m=Ae(e=>e.toasts),h=Ae(e=>e.removeToast),g=l?.address||``;return(0,j.useEffect)(()=>{i(),o(),n()},[n,i,o]),(0,j.useEffect)(()=>{a||s(e||`/`)},[a,e,s]),(0,j.useEffect)(()=>{l?u(l.address):f()},[l?.address,u,f]),(0,j.useEffect)(()=>{!g||r!==!0||d.toLowerCase()===g.toLowerCase()&&p(g)&&t({confirm:!1,onlyWhenLocalEmpty:!0,silentNoBackup:!0})},[r,g,d,p,t]),(0,M.jsxs)(M.Fragment,{children:[m.map((e,t)=>(0,M.jsx)(Ll,{message:e.message,type:e.type,onDone:()=>h(e.id),index:t},e.id)),(0,M.jsx)(Np,{}),(0,M.jsx)(Rp,{})]})}var Om=b({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1.0`},{name:`theme-color`,content:`#5e6ad2`},{title:`MostBox`},{name:`description`,content:rl(`portal.meta.description`)}],links:[{rel:`icon`,href:`/logo.svg`,type:`image/svg+xml`}]}),component:km,notFoundComponent:Tl});function km(){return(0,M.jsx)(Am,{children:(0,M.jsx)(ll,{children:(0,M.jsxs)(pl,{children:[(0,M.jsx)(te,{children:(0,M.jsx)(Dm,{})}),(0,M.jsx)(jm,{}),(0,M.jsx)(Ls,{})]})})})}function Am({children:e}){return(0,M.jsxs)(`html`,{lang:`zh-CN`,suppressHydrationWarning:!0,"data-scroll-behavior":`smooth`,children:[(0,M.jsxs)(`head`,{children:[(0,M.jsx)(Zs,{}),(0,M.jsx)(`script`,{dangerouslySetInnerHTML:{__html:`
|
|
13
|
-
(function() {
|
|
14
|
-
var theme = localStorage.getItem('theme');
|
|
15
|
-
if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
16
|
-
document.documentElement.setAttribute('data-theme', 'dark');
|
|
17
|
-
}
|
|
18
|
-
var locale = localStorage.getItem('mostbox.locale');
|
|
19
|
-
var supportedLocales = ['zh-CN', 'zh-TW', 'en'];
|
|
20
|
-
var normalizedLocale = supportedLocales.indexOf(locale) >= 0 ? locale : 'zh-CN';
|
|
21
|
-
document.documentElement.setAttribute('lang', normalizedLocale);
|
|
22
|
-
document.documentElement.setAttribute('data-locale', normalizedLocale);
|
|
23
|
-
})();
|
|
24
|
-
`}})]}),(0,M.jsxs)(`body`,{children:[e,(0,M.jsx)(Qs,{})]})]})}function jm(){return(0,M.jsx)(`script`,{dangerouslySetInnerHTML:{__html:`
|
|
25
|
-
window.onerror = function(message, source, lineno, colno, error) {
|
|
26
|
-
console.error('[Global Error]', { message, source, lineno, colno, error });
|
|
27
|
-
};
|
|
28
|
-
window.onunhandledrejection = function(event) {
|
|
29
|
-
console.error('[Unhandled Promise Rejection]', event.reason);
|
|
30
|
-
};
|
|
31
|
-
`}})}var Mm=x(`/`)({}),Nm=x(`/web3/`)({}),Pm=x(`/profile/`)({head:()=>({meta:[{title:rl(`profile.meta.title`)},{name:`description`,content:rl(`profile.meta.desc`)}]})}),Fm=x(`/ping/`)({head:()=>({meta:[{title:rl(`ping.meta.title`)},{name:`description`,content:rl(`ping.meta.desc`)}]})}),Im=x(`/note/`)({validateSearch:e=>({cid:typeof e.cid==`string`?e.cid:void 0,file:typeof e.file==`string`?e.file:void 0,path:typeof e.path==`string`?e.path:void 0,chatDraft:typeof e.chatDraft==`string`?e.chatDraft:void 0,mode:e.mode===`edit`?`edit`:void 0})}),Lm=`modulepreload`,Rm=function(e){return`/`+e},zm={},Bm=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,new URL(`../../../src/node/plugins/importAnalysisBuild.ts`,import.meta.url)).href}r=o(t.map(t=>{if(t=Rm(t,n),t=s(t),t in zm)return;zm[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Lm,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Vm=x(`/game/`)({component:Cs(()=>Bm(()=>import(`./game-s6irY8hS.js`),__vite__mapDeps([0,1,2])),`component`)}),Hm=x(`/download/`)({head:()=>({meta:[{title:rl(`download.meta.title`)},{name:`description`,content:rl(`download.meta.desc`)}]})}),Um=x(`/chat/`)({}),Wm=x(`/app/`)({}),Gm=x(`/admin/`)({}),Km=x(`/game/zhajinhua/`)({}),qm=x(`/game/gandengyan/`)({}),Jm=x(`/cid/$cid/`)({head:()=>({meta:[{title:rl(`cid.meta.title`)},{name:`description`,content:rl(`cid.meta.desc`)}]})}),Ym=x(`/chat/join/`)({validateSearch:e=>({token:typeof e.token==`string`?e.token:void 0,pub:typeof e.pub==`string`?e.pub:void 0,fixture:typeof e.fixture==`string`?e.fixture:void 0})}),Xm=x(`/chat/join/demo/`)({}),Zm=Mm.update({id:`/`,path:`/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-erUKA2rI.js`).then(e=>e.Route),__vite__mapDeps([3,1,4,2,5,6,7,8,9,10,11,12,13,14,15]))),Qm=Nm.update({id:`/web3/`,path:`/web3/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-D4RjTGu-.js`).then(e=>e.Route),__vite__mapDeps([16,1,4,2,17,18,19,7,8,20,14,6,21,12,22,23]))),$m=Pm.update({id:`/profile/`,path:`/profile/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-qTjgLKhY.js`).then(e=>e.Route),__vite__mapDeps([24,1,4,2,17,18,25,6,7,8,20,14,26,27,28,29,30,22,23,13,15]))),eh=Fm.update({id:`/ping/`,path:`/ping/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-BzIt7fP4.js`).then(e=>e.Route),__vite__mapDeps([31,1,4,2,32,11,33,34,35,36,37,13,7,14,6,15]))),th=Im.update({id:`/note/`,path:`/note/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-CxLzR674.js`).then(e=>e.Route),__vite__mapDeps([38,1,4,2,39,40,21,14,6,19,41,9,42,27,35,43]))),nh=Vm.update({id:`/game/`,path:`/game/`,getParentRoute:()=>Om}),rh=Hm.update({id:`/download/`,path:`/download/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-CLkb32nv.js`).then(e=>e.Route),__vite__mapDeps([44,1,4,2,32,7,30,14,6,45]))),ih=Um.update({id:`/chat/`,path:`/chat/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-Cnkj-gAd.js`).then(e=>e.Route),__vite__mapDeps([46,1,4,2,25,39,40,21,14,6,47,48,26,33,5,7,8,11,35,43,45,49,15,50,51]))),ah=Wm.update({id:`/app/`,path:`/app/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-MY-mUG5Z.js`).then(e=>e.Route),__vite__mapDeps([52,1,4,2,40,21,14,6,47,48,26,33,53,41,23,7,42,35,43,29,45,49]))),oh=Gm.update({id:`/admin/`,path:`/admin/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-Cx1bp84f.js`).then(e=>e.Route),__vite__mapDeps([54,1,4,2,55,53,41,7,48,10,56,27,28,43,37,18,30,14,6,45]))),sh=Km.update({id:`/game/zhajinhua/`,path:`/game/zhajinhua/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-DNCF6MTJ.js`).then(e=>e.Route),__vite__mapDeps([57,1,4,2,23,21,14,6,34,58,50,51,59]))),ch=qm.update({id:`/game/gandengyan/`,path:`/game/gandengyan/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-BFdWbm3R.js`).then(e=>e.Route),__vite__mapDeps([60,1,4,2,23,21,14,6,34,36,58,50,51,61]))),lh=Jm.update({id:`/cid/$cid/`,path:`/cid/$cid/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-CNmqW4-r.js`).then(e=>e.Route),__vite__mapDeps([62,1,4,2,55,7,8,48,10,56,30,14,6,45,49]))),uh={IndexRoute:Zm,AdminIndexRoute:oh,AppIndexRoute:ah,ChatIndexRoute:ih,DownloadIndexRoute:rh,GameIndexRoute:nh,NoteIndexRoute:th,PingIndexRoute:eh,ProfileIndexRoute:$m,Web3IndexRoute:Qm,ChatJoinIndexRoute:Ym.update({id:`/chat/join/`,path:`/chat/join/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-D9xLqvqW.js`).then(e=>e.Route),__vite__mapDeps([63,1,4,2,25,6,20,56,50,64]))),CidCidIndexRoute:lh,GameGandengyanIndexRoute:ch,GameZhajinhuaIndexRoute:sh,ChatJoinDemoIndexRoute:Xm.update({id:`/chat/join/demo/`,path:`/chat/join/demo/`,getParentRoute:()=>Om}).lazy(()=>Bm(()=>import(`./index.lazy-B6XDJ8fg.js`).then(e=>e.Route),__vite__mapDeps([65,1,4,2,8,20,21,14,6,56,22,23,64])))},dh=Om._addFileChildren(uh);function fh(){return zs({routeTree:dh,defaultPreload:`intent`,scrollRestoration:!0,trailingSlash:`always`})}async function ph(){let e=await fh(),t=[];return window.__TSS_START_OPTIONS__={serializationAdapters:t},t.push(Zo),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await es(e),e}var mh=ph;async function hh(){let e=await mh();return window.$_TSR?.h(),e}var gh;function _h(){return gh||=hh(),(0,M.jsx)(ns,{promise:gh,children:e=>(0,M.jsx)(Gs,{router:e})})}var vh=qe();(0,j.startTransition)(()=>{(0,vh.hydrateRoot)(document,(0,M.jsx)(j.StrictMode,{children:(0,M.jsx)(_h,{})}))});export{ul as A,xl as C,ml as D,gl as E,Jc as M,Ks as N,$c as O,Cl as S,vl as T,zl as _,nm as a,Pl as b,tm as c,Cp as d,Mp as f,Hl as g,Ap as h,em as i,qc as j,rl as k,Qp as l,kp as m,Em as n,Yp as o,Ep as p,Xp as r,Zp as s,Bm as t,$p as u,Rl as v,yl as w,wl as x,Il as y};
|