most-box 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/out/about/index.html +20 -0
  2. package/out/admin/index.html +0 -0
  3. package/out/app/index.html +0 -0
  4. package/out/assets/AccountMenu-B26qus-Q.js +1 -0
  5. package/out/assets/AppShell-BiYQsNO8.js +1 -0
  6. package/out/assets/AppTop-D-qYC0ep.js +1 -0
  7. package/out/assets/ChatRestoringIndicator-CLV78gNW.js +1 -0
  8. package/out/assets/CopyButton-BrEkzqEq.js +1 -0
  9. package/out/assets/MarketingHeader-CJXpogPY.js +1 -0
  10. package/out/assets/MarketingLayout-Ch4sw5Qm.js +1 -0
  11. package/out/assets/{MilkdownEditor-BzbYt-xb.js → MilkdownEditor-DfhuT9eU.js} +1 -1
  12. package/out/assets/OpenSidebarButton-Bvwr7B6k.js +1 -0
  13. package/out/assets/arrow-right-BsHzC0ZL.js +1 -0
  14. package/out/assets/{arrow-up-down-B-677ip8.js → arrow-up-down-DvLSz6Ma.js} +1 -1
  15. package/out/assets/{userProfile-BZvkCuet.js → channelApi-C5eHetoJ.js} +1 -1
  16. package/out/assets/chatJoinInvite-7tuD-STm.js +1 -0
  17. package/out/assets/{chatNoteDraft-CYbvcEvC.js → chatNoteDraft-DTy6In5R.js} +1 -1
  18. package/out/assets/{circle-alert-dfN4T6Nq.js → circle-alert-DXVkx8p8.js} +1 -1
  19. package/out/assets/{copy-B7pPZ2MP.js → copy-OwXDsstV.js} +1 -1
  20. package/out/assets/{download-COQOcPqI.js → download-Cy2BlfKM.js} +1 -1
  21. package/out/assets/downloadValidation-Dd43i9_9.js +1 -0
  22. package/out/assets/{external-link-D6tHlYgS.js → external-link-D_AQSgxW.js} +1 -1
  23. package/out/assets/{file-text-DiyIGL1I.js → file-text-zvTER2mN.js} +1 -1
  24. package/out/assets/fingerprint-pattern-BT73ASEB.js +1 -0
  25. package/out/assets/{folder-BS_GbpPQ.js → folder-6pYYnS2-.js} +1 -1
  26. package/out/assets/folder-open-DOJ4bB58.js +1 -0
  27. package/out/assets/format-CAKfypjK.js +1 -0
  28. package/out/assets/gamepad-2-BYqNgCQr.js +1 -0
  29. package/out/assets/{hard-drive-Cqa7Rstj.js → hard-drive-DL1KJHmG.js} +1 -1
  30. package/out/assets/i18n-DKsg67mH.js +1 -0
  31. package/out/assets/index-FEwag7ej.css +1 -0
  32. package/out/assets/index-mjFWLwue.js +31 -0
  33. package/out/assets/index.lazy-8GSHLIGt.js +3 -0
  34. package/out/assets/index.lazy-B3jH9yBA.js +1 -0
  35. package/out/assets/index.lazy-B5JMiv3z.js +1 -0
  36. package/out/assets/index.lazy-BAr7-dhf.js +1 -0
  37. package/out/assets/index.lazy-BMFwyE_Z.js +3 -0
  38. package/out/assets/index.lazy-BbA_1LnY.js +1 -0
  39. package/out/assets/index.lazy-BmpOpQqg.js +1 -0
  40. package/out/assets/index.lazy-CB3C6kMj.js +1 -0
  41. package/out/assets/index.lazy-CVOAOO0_.js +1 -0
  42. package/out/assets/index.lazy-CyFSwJuo.js +1 -0
  43. package/out/assets/index.lazy-D3iEq2ZW.js +2 -0
  44. package/out/assets/index.lazy-F3iHN_Ao.js +1 -0
  45. package/out/assets/index.lazy-PnZR3z1V.js +5 -0
  46. package/out/assets/index.lazy-qDpRLqXu.js +1 -0
  47. package/out/assets/index.lazy-s6Ok77GI.js +1 -0
  48. package/out/assets/{loader-CwyHYZdX.js → loader-C4pED_QP.js} +1 -1
  49. package/out/assets/lock-yG7M7GkB.js +1 -0
  50. package/out/assets/{message-square-BgsNXPft.js → message-square-CfApq8Ou.js} +1 -1
  51. package/out/assets/mp-cEQteKUC.js +1 -0
  52. package/out/assets/{music-Dn9nm9Qb.js → music-Br2x8TKX.js} +1 -1
  53. package/out/assets/notebook-pen-Bcd3MrtD.js +1 -0
  54. package/out/assets/play-DSHtNcOe.js +1 -0
  55. package/out/assets/{refresh-cw-D4BsHvhi.js → refresh-cw-CfkUlTK9.js} +1 -1
  56. package/out/assets/{save-B02sbO9Y.js → save-CfYzXcxH.js} +1 -1
  57. package/out/assets/saveLocalFile-BLTn3Z18.js +1 -0
  58. package/out/assets/search-DLBOUfny.js +1 -0
  59. package/out/assets/{send-4dhnJGuS.js → send-Bie9hgHI.js} +1 -1
  60. package/out/assets/{shield-check-Boae7Nc6.js → shield-check-2-h_eEXp.js} +1 -1
  61. package/out/assets/{smartphone-JXH-zQXB.js → smartphone-CrsocYJo.js} +1 -1
  62. package/out/assets/trash-2-B9gno5q6.js +1 -0
  63. package/out/assets/{triangle-alert-B9sMiA9l.js → triangle-alert-BhNtjKm2.js} +1 -1
  64. package/out/assets/{upload-DVuXJt_o.js → upload-BmufnMFu.js} +1 -1
  65. package/out/assets/{useAppStore-DOnk608w.js → useAppStore-DNhyhD20.js} +1 -1
  66. package/out/assets/useChannelMessages-DKlO_2oW.js +4 -0
  67. package/out/assets/useGameRoom-DLN636mz.js +1 -0
  68. package/out/assets/{wallet-D9Iw4YWE.js → wallet-D6HZocla.js} +1 -1
  69. package/out/assets/{wifi-ljEI_ySA.js → wifi-CILQyKk0.js} +1 -1
  70. package/out/chat/index.html +0 -0
  71. package/out/chat/join/demo/index.html +0 -0
  72. package/out/chat/join/index.html +0 -0
  73. package/out/download/index.html +2 -2
  74. package/out/game/gandengyan/index.html +0 -0
  75. package/out/game/index.html +0 -0
  76. package/out/game/zhajinhua/index.html +0 -0
  77. package/out/index.html +2 -2
  78. package/out/note/index.html +0 -0
  79. package/out/ping/index.html +2 -2
  80. package/out/profile/index.html +0 -0
  81. package/out/web3/index.html +0 -0
  82. package/package.json +1 -1
  83. package/server/index.js +18 -1
  84. package/server/src/core/channelVoice.js +164 -0
  85. package/server/src/core/mostLink.js +30 -13
  86. package/server/src/http/nodeStatus.js +2 -2
  87. package/server/src/http/routes/fileRoutes.js +10 -8
  88. package/server/src/http/uploads.js +53 -15
  89. package/server/src/index.js +317 -133
  90. package/server/src/node/config.js +4 -4
  91. package/server/src/utils/api.js +9 -1
  92. package/server/src/utils/avatar.js +1 -10
  93. package/server/src/utils/downloadMessages.js +7 -7
  94. package/server/src/utils/errors.js +11 -1
  95. package/server/src/utils/userIdentity.js +0 -1
  96. package/out/assets/AccountMenu-ptQklqvD.js +0 -1
  97. package/out/assets/AppTop-Cy0ZOCxO.js +0 -1
  98. package/out/assets/CopyButton-C8PIDSJZ.js +0 -1
  99. package/out/assets/FilePreviewOverlay-faaTnmlN.js +0 -1
  100. package/out/assets/MarketingHeader-CxJ_OVOW.js +0 -1
  101. package/out/assets/MarketingLayout-CiN5KYcE.js +0 -1
  102. package/out/assets/OpenSidebarButton-CGhXxQ5Z.js +0 -1
  103. package/out/assets/arrow-right-CXzRt0Fp.js +0 -1
  104. package/out/assets/chatJoinInvite-B-ucvYdg.js +0 -1
  105. package/out/assets/check-iBCQl0yr.js +0 -1
  106. package/out/assets/chevron-right-D75NRNNs.js +0 -1
  107. package/out/assets/downloadValidation-UPgpJbKz.js +0 -1
  108. package/out/assets/format-CR8oUWq6.js +0 -1
  109. package/out/assets/index-D0Uk9-58.js +0 -31
  110. package/out/assets/index-FV6RZlVI.css +0 -1
  111. package/out/assets/index.lazy-B6XDJ8fg.js +0 -1
  112. package/out/assets/index.lazy-BFdWbm3R.js +0 -1
  113. package/out/assets/index.lazy-BzIt7fP4.js +0 -1
  114. package/out/assets/index.lazy-CLkb32nv.js +0 -1
  115. package/out/assets/index.lazy-CNmqW4-r.js +0 -1
  116. package/out/assets/index.lazy-Cnkj-gAd.js +0 -3
  117. package/out/assets/index.lazy-Cx1bp84f.js +0 -5
  118. package/out/assets/index.lazy-CxLzR674.js +0 -2
  119. package/out/assets/index.lazy-D4RjTGu-.js +0 -3
  120. package/out/assets/index.lazy-D9xLqvqW.js +0 -1
  121. package/out/assets/index.lazy-DNCF6MTJ.js +0 -1
  122. package/out/assets/index.lazy-MY-mUG5Z.js +0 -1
  123. package/out/assets/index.lazy-erUKA2rI.js +0 -1
  124. package/out/assets/index.lazy-qTjgLKhY.js +0 -1
  125. package/out/assets/key-round-JR8M3aHl.js +0 -1
  126. package/out/assets/lock-CuwwlXlx.js +0 -1
  127. package/out/assets/mp-Dv12gDTx.js +0 -1
  128. package/out/assets/notebook-pen-BzrCXQJE.js +0 -1
  129. package/out/assets/play-CvWKSMwY.js +0 -1
  130. package/out/assets/search-HW4oPOBP.js +0 -1
  131. package/out/assets/trash-2-BLwoM0ME.js +0 -1
  132. package/out/assets/useChannelMessages-CDvw-f_x.js +0 -4
  133. package/out/assets/useGameRoom-CS1w4IqP.js +0 -1
@@ -0,0 +1,31 @@
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-BbA_1LnY.js","assets/useAppStore-DNhyhD20.js","assets/i18n-DKsg67mH.js","assets/arrow-right-BsHzC0ZL.js","assets/AccountMenu-B26qus-Q.js","assets/download-Cy2BlfKM.js","assets/external-link-D_AQSgxW.js","assets/folder-open-DOJ4bB58.js","assets/gamepad-2-BYqNgCQr.js","assets/hard-drive-DL1KJHmG.js","assets/message-square-CfApq8Ou.js","assets/notebook-pen-Bcd3MrtD.js","assets/wallet-D6HZocla.js","assets/MarketingLayout-Ch4sw5Qm.js","assets/LogoIcon-B2fFe0l1.js","assets/index.lazy-8GSHLIGt.js","assets/fingerprint-pattern-BT73ASEB.js","assets/CopyButton-BrEkzqEq.js","assets/copy-OwXDsstV.js","assets/lock-yG7M7GkB.js","assets/AppShell-BiYQsNO8.js","assets/AppTop-D-qYC0ep.js","assets/mp-cEQteKUC.js","assets/dayjs.min-Dcc0B6Je.js","assets/index.lazy-CB3C6kMj.js","assets/circle-alert-DXVkx8p8.js","assets/loader-C4pED_QP.js","assets/save-CfYzXcxH.js","assets/shield-check-2-h_eEXp.js","assets/upload-BmufnMFu.js","assets/MarketingHeader-CJXpogPY.js","assets/index.lazy-BAr7-dhf.js","assets/smartphone-CrsocYJo.js","assets/music-Br2x8TKX.js","assets/play-DSHtNcOe.js","assets/search-DLBOUfny.js","assets/send-Bie9hgHI.js","assets/wifi-CILQyKk0.js","assets/index.lazy-D3iEq2ZW.js","assets/chatNoteDraft-DTy6In5R.js","assets/OpenSidebarButton-Bvwr7B6k.js","assets/trash-2-B9gno5q6.js","assets/folder-6pYYnS2-.js","assets/index.lazy-CVOAOO0_.js","assets/format-CAKfypjK.js","assets/index.lazy-BMFwyE_Z.js","assets/saveLocalFile-BLTn3Z18.js","assets/file-text-zvTER2mN.js","assets/downloadValidation-Dd43i9_9.js","assets/channelApi-C5eHetoJ.js","assets/useChannelMessages-DKlO_2oW.js","assets/ChatRestoringIndicator-CLV78gNW.js","assets/index.lazy-s6Ok77GI.js","assets/arrow-up-down-DvLSz6Ma.js","assets/index.lazy-PnZR3z1V.js","assets/triangle-alert-BhNtjKm2.js","assets/refresh-cw-CfkUlTK9.js","assets/index.lazy-F3iHN_Ao.js","assets/index.lazy-B3jH9yBA.js","assets/useGameRoom-DLN636mz.js","assets/index-BRhsWNj1.css","assets/index.lazy-qDpRLqXu.js","assets/index-CYVRmppz.css","assets/index.lazy-BmpOpQqg.js","assets/index.lazy-B5JMiv3z.js","assets/chatJoinInvite-7tuD-STm.js","assets/index.lazy-CyFSwJuo.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 C,Y as w,Z as E,_t as ee,a as te,at as ne,bt as re,ct as ie,d as ae,dt as oe,et as se,f as ce,ft as D,gt as O,ht as le,i as ue,it as de,j as fe,jt as pe,kt as me,lt as he,m as ge,mt as _e,n as ve,nt as ye,ot as be,p as xe,pt as Se,q as Ce,r as we,rt as Te,st as Ee,t as De,tt as Oe,u as ke,ut as Ae,vt as je,w as Me,wt as Ne,xt as Pe,yt as Fe}from"./useAppStore-DNhyhD20.js";import{a as Ie,c as Le,i as Re,l as ze,n as Be,r as Ve}from"./useNavigate-DWlBD_-b.js";import{a as He,i as Ue,n as We,r as Ge,s as Ke,t as qe}from"./i18n-DKsg67mH.js";var Je=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,ne());else{var t=n(l);t!==null&&ae(x,t.startTime-e)}}var S=!1,C=-1,w=5,E=-1;function ee(){return g?!0:!(e.unstable_now()-E<w)}function te(){if(g=!1,S){var t=e.unstable_now();E=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ee());){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&&ae(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ne():S=!1}}}var ne;if(typeof y==`function`)ne=function(){y(te)};else if(typeof MessageChannel<`u`){var re=new MessageChannel,ie=re.port2;re.port1.onmessage=te,ne=function(){ie.postMessage(null)}}else ne=function(){_(te,0)};function ae(t,n){C=_(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`):w=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(C),C=-1):h=!0,ae(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ne()))),r},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Ye=n(((e,t)=>{t.exports=Je()})),Xe=n((t=>{var n=Ye(),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`),C=Symbol.for(`react.forward_ref`),w=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),ee=Symbol.for(`react.memo`),te=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),re=Symbol.for(`react.memo_cache_sentinel`),ie=Symbol.iterator;function ae(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}var oe=Symbol.for(`react.client.reference`);function se(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===oe?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 w:return`Suspense`;case E:return`SuspenseList`;case ne: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 C:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ee:return t=e.displayName||null,t===null?se(e.type)||`Memo`:t;case te:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}var ce=Array.isArray,D=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},ue=[],de=-1;function fe(e){return{current:e}}function pe(e){0>de||(e.current=ue[de],ue[de]=null,de--)}function me(e,t){de++,ue[de]=e.current,e.current=t}var he=fe(null),ge=fe(null),_e=fe(null),ve=fe(null);function ye(e,t){switch(me(_e,t),me(ge,e),me(he,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Gd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Gd(t),e=Kd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}pe(he),me(he,e)}function be(){pe(he),pe(ge),pe(_e)}function xe(e){e.memoizedState!==null&&me(ve,e);var t=he.current,n=Kd(t,e.type);t!==n&&(me(ge,e),me(he,n))}function Se(e){ge.current===e&&(pe(he),pe(ge)),ve.current===e&&(pe(ve),$f._currentValue=le)}var Ce,we;function Te(e){if(Ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ce=t&&t[1]||``,we=-1<e.stack.indexOf(`
3
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
4
+ `+Ce+e+we}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!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{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Te(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return Te(e.type);case 16:return Te(`Lazy`);case 13:return e.child!==t&&t!==null?Te(`Suspense Fallback`):Te(`Suspense`);case 19:return Te(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Te(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
8
+ Error generating stack: `+e.message+`
9
+ `+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=n.unstable_scheduleCallback,Me=n.unstable_cancelCallback,Ne=n.unstable_shouldYield,Pe=n.unstable_requestPaint,Fe=n.unstable_now,Ie=n.unstable_getCurrentPriorityLevel,Le=n.unstable_ImmediatePriority,Re=n.unstable_UserBlockingPriority,ze=n.unstable_NormalPriority,Be=n.unstable_LowPriority,Ve=n.unstable_IdlePriority,He=n.log,Ue=n.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Ze,Je=Math.log,Xe=Math.LN2;function Ze(e){return e>>>=0,e===0?32:31-(Je(e)/Xe|0)|0}var Qe=256,$e=262144,et=4194304;function tt(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 nt(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=tt(n))):i=tt(o):i=tt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=tt(n))):i=tt(o)):i=tt(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 rt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function it(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 at(){var e=et;return et<<=1,!(et&62914560)&&(et=4194304),e}function ot(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function st(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ct(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-qe(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&&lt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function lt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ut(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function dt(e,t){var n=t&-t;return n=n&42?1:ft(n),(n&(e.suspendedLanes|t))===0?n:0}function ft(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 pt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function mt(){var e=O.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function ht(e,t){var n=O.p;try{return O.p=e,t()}finally{O.p=n}}var gt=Math.random().toString(36).slice(2),_t=`__reactFiber$`+gt,vt=`__reactProps$`+gt,yt=`__reactContainer$`+gt,bt=`__reactEvents$`+gt,xt=`__reactListeners$`+gt,St=`__reactHandles$`+gt,Ct=`__reactResources$`+gt,wt=`__reactMarker$`+gt;function Tt(e){delete e[_t],delete e[vt],delete e[bt],delete e[xt],delete e[St]}function Et(e){var t=e[_t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yt]||n[_t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[_t])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function Dt(e){if(e=e[_t]||e[yt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ot(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(a(33))}function kt(e){var t=e[Ct];return t||=e[Ct]={hoistableStyles:new Map,hoistableScripts:new Map},t}function At(e){e[wt]=!0}var jt=new Set,Mt={};function Nt(e,t){Pt(e,t),Pt(e+`Capture`,t)}function Pt(e,t){for(Mt[e]=t,e=0;e<t.length;e++)jt.add(t[e])}var Ft=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]*$`),It={},Lt={};function Rt(e){return Ae.call(Lt,e)?!0:Ae.call(It,e)?!1:Ft.test(e)?Lt[e]=!0:(It[e]=!0,!1)}function zt(e,t,n){if(Rt(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 Bt(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 Vt(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 Ht(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ut(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Wt(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 Gt(e){if(!e._valueTracker){var t=Ut(e)?`checked`:`value`;e._valueTracker=Wt(e,t,``+e[t])}}function Kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ut(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function qt(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 Jt=/[\n"\\]/g;function Yt(e){return e.replace(Jt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Xt(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=``+Ht(t)):e.value!==``+Ht(t)&&(e.value=``+Ht(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Qt(e,o,Ht(n)):Qt(e,o,Ht(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=``+Ht(s):e.removeAttribute(`name`)}function Zt(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)){Gt(e);return}n=n==null?``:``+Ht(n),t=t==null?n:``+Ht(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),Gt(e)}function Qt(e,t,n){t===`number`&&qt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function $t(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=``+Ht(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 en(e,t,n){if(t!=null&&(t=``+Ht(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ht(n)}function tn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(a(92));if(ce(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}n??=``,t=n}n=Ht(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Gt(e)}function nn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var rn=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 an(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||rn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function on(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&&an(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&an(e,o,t[o])}function sn(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 cn=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`]]),ln=/^[\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 un(e){return ln.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function dn(){}var fn=null;function pn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mn=null,hn=null;function gn(e){var t=Dt(e);if(t&&(e=t.stateNode)){var n=e[vt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Xt(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="`+Yt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[vt]||null;if(!i)throw Error(a(90));Xt(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&&Kt(r)}break a;case`textarea`:en(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&$t(e,!!n.multiple,t,!1)}}}var _n=!1;function vn(e,t,n){if(_n)return e(t,n);_n=!0;try{return e(t)}finally{if(_n=!1,(mn!==null||hn!==null)&&(Tu(),mn&&(t=mn,e=hn,hn=mn=null,gn(t),e)))for(t=0;t<e.length;t++)gn(e[t])}}function yn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[vt]||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 bn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),xn=!1;if(bn)try{var Sn={};Object.defineProperty(Sn,"passive",{get:function(){xn=!0}}),window.addEventListener(`test`,Sn,Sn),window.removeEventListener(`test`,Sn,Sn)}catch{xn=!1}var Cn=null,wn=null,Tn=null;function En(){if(Tn)return Tn;var e,t=wn,n=t.length,r,i=`value`in Cn?Cn.value:Cn.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 Tn=i.slice(e,1<r?1-r:void 0)}function Dn(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 On(){return!0}function kn(){return!1}function An(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)?On:kn,this.isPropagationStopped=kn,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=On)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=On)},persist:function(){},isPersistent:On}),t}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mn=An(jn),Nn=m({},jn,{view:0,detail:0}),Pn=An(Nn),Fn,In,Ln,Rn=m({},Nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:k,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!==Ln&&(Ln&&e.type===`mousemove`?(Fn=e.screenX-Ln.screenX,In=e.screenY-Ln.screenY):In=Fn=0,Ln=e),Fn)},movementY:function(e){return`movementY`in e?e.movementY:In}}),zn=An(Rn),Bn=An(m({},Rn,{dataTransfer:0})),Vn=An(m({},Nn,{relatedTarget:0})),Hn=An(m({},jn,{animationName:0,elapsedTime:0,pseudoElement:0})),Un=An(m({},jn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Wn=An(m({},jn,{data:0})),Gn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Kn={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`},qn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qn[e])?!!t[e]:!1}function k(){return Jn}var Yn=An(m({},Nn,{key:function(e){if(e.key){var t=Gn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Dn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Kn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:k,charCode:function(e){return e.type===`keypress`?Dn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Dn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Xn=An(m({},Rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=An(m({},Nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:k})),A=An(m({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Qn=An(m({},Rn,{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})),$n=An(m({},jn,{newState:0,oldState:0})),er=[9,13,27,32],tr=bn&&`CompositionEvent`in window,nr=null;bn&&`documentMode`in document&&(nr=document.documentMode);var rr=bn&&`TextEvent`in window&&!nr,ir=bn&&(!tr||nr&&8<nr&&11>=nr),ar=` `,or=!1;function sr(e,t){switch(e){case`keyup`:return er.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var lr=!1;function ur(e,t){switch(e){case`compositionend`:return cr(t);case`keypress`:return t.which===32?(or=!0,ar):null;case`textInput`:return e=t.data,e===ar&&or?null:e;default:return null}}function dr(e,t){if(lr)return e===`compositionend`||!tr&&sr(e,t)?(e=En(),Tn=wn=Cn=null,lr=!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 ir&&t.locale!==`ko`?null:t.data;default:return null}}var fr={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 pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!fr[e.type]:t===`textarea`}function mr(e,t,n,r){mn?hn?hn.push(r):hn=[r]:mn=r,t=kd(t,`onChange`),0<t.length&&(n=new Mn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var hr=null,gr=null;function _r(e){Cd(e,0)}function vr(e){if(Kt(Ot(e)))return e}function yr(e,t){if(e===`change`)return t}var br=!1;if(bn){var xr;if(bn){var Sr=`oninput`in document;if(!Sr){var Cr=document.createElement(`div`);Cr.setAttribute(`oninput`,`return;`),Sr=typeof Cr.oninput==`function`}xr=Sr}else xr=!1;br=xr&&(!document.documentMode||9<document.documentMode)}function wr(){hr&&(hr.detachEvent(`onpropertychange`,Tr),gr=hr=null)}function Tr(e){if(e.propertyName===`value`&&vr(gr)){var t=[];mr(t,gr,e,pn(e)),vn(_r,t)}}function Er(e,t,n){e===`focusin`?(wr(),hr=t,gr=n,hr.attachEvent(`onpropertychange`,Tr)):e===`focusout`&&wr()}function Dr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return vr(gr)}function Or(e,t){if(e===`click`)return vr(t)}function kr(e,t){if(e===`input`||e===`change`)return vr(t)}function Ar(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var jr=typeof Object.is==`function`?Object.is:Ar;function Mr(e,t){if(jr(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(!Ae.call(t,i)||!jr(e[i],t[i]))return!1}return!0}function Nr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pr(e,t){var n=Nr(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=Nr(n)}}function Fr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ir(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=qt(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=qt(e.document)}return t}function Lr(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 Rr=bn&&`documentMode`in document&&11>=document.documentMode,zr=null,Br=null,Vr=null,Hr=!1;function Ur(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hr||zr==null||zr!==qt(r)||(r=zr,`selectionStart`in r&&Lr(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}),Vr&&Mr(Vr,r)||(Vr=r,r=kd(Br,`onSelect`),0<r.length&&(t=new Mn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Gr={animationend:Wr(`Animation`,`AnimationEnd`),animationiteration:Wr(`Animation`,`AnimationIteration`),animationstart:Wr(`Animation`,`AnimationStart`),transitionrun:Wr(`Transition`,`TransitionRun`),transitionstart:Wr(`Transition`,`TransitionStart`),transitioncancel:Wr(`Transition`,`TransitionCancel`),transitionend:Wr(`Transition`,`TransitionEnd`)},Kr={},qr={};bn&&(qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),`TransitionEvent`in window||delete Gr.transitionend.transition);function Jr(e){if(Kr[e])return Kr[e];if(!Gr[e])return e;var t=Gr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qr)return Kr[e]=t[n];return e}var Yr=Jr(`animationend`),Xr=Jr(`animationiteration`),Zr=Jr(`animationstart`),Qr=Jr(`transitionrun`),$r=Jr(`transitionstart`),ei=Jr(`transitioncancel`),ti=Jr(`transitionend`),ni=new Map,ri=`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(` `);ri.push(`scrollEnd`);function ii(e,t){ni.set(e,t),Nt(t,[e])}var ai=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)},oi=[],si=0,ci=0;function li(){for(var e=si,t=ci=si=0;t<e;){var n=oi[t];oi[t++]=null;var r=oi[t];oi[t++]=null;var i=oi[t];oi[t++]=null;var a=oi[t];if(oi[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&&pi(n,i,a)}}function ui(e,t,n,r){oi[si++]=e,oi[si++]=t,oi[si++]=n,oi[si++]=r,ci|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function di(e,t,n,r){return ui(e,t,n,r),mi(e)}function fi(e,t){return ui(e,null,null,t),mi(e)}function pi(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-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function mi(e){if(50<gu)throw gu=0,_u=null,Error(a(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var hi={};function gi(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 _i(e,t,n,r){return new gi(e,t,n,r)}function vi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yi(e,t){var n=e.alternate;return n===null?(n=_i(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 bi(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 xi(e,t,n,r,i,o){var s=0;if(r=e,typeof e==`function`)vi(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,he.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ne:return e=_i(31,n,t,i),e.elementType=ne,e.lanes=o,e;case v:return Si(n.children,i,o,t);case y:s=8,i|=24;break;case b:return e=_i(12,n,t,i|2),e.elementType=b,e.lanes=o,e;case w:return e=_i(13,n,t,i),e.elementType=w,e.lanes=o,e;case E:return e=_i(19,n,t,i),e.elementType=E,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 C:s=11;break a;case ee:s=14;break a;case te:s=16,r=null;break a}s=29,n=Error(a(130,e===null?`null`:typeof e,``)),r=null}return t=_i(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Si(e,t,n,r){return e=_i(7,e,r,t),e.lanes=n,e}function Ci(e,t,n){return e=_i(6,e,null,t),e.lanes=n,e}function wi(e){var t=_i(18,null,null,0);return t.stateNode=e,t}function Ti(e,t,n){return t=_i(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ei=new WeakMap;function Di(e,t){if(typeof e==`object`&&e){var n=Ei.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ei.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var Oi=[],ki=0,Ai=null,ji=0,Mi=[],Ni=0,Pi=null,Fi=1,Ii=``;function Li(e,t){Oi[ki++]=ji,Oi[ki++]=Ai,Ai=e,ji=t}function Ri(e,t,n){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Pi=e;var r=Fi;e=Ii;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Fi=1<<32-qe(t)+i|n<<i|r,Ii=a+e}else Fi=1<<a|n<<i|r,Ii=e}function zi(e){e.return!==null&&(Li(e,1),Ri(e,1,0))}function Bi(e){for(;e===Ai;)Ai=Oi[--ki],Oi[ki]=null,ji=Oi[--ki],Oi[ki]=null;for(;e===Pi;)Pi=Mi[--Ni],Mi[Ni]=null,Ii=Mi[--Ni],Mi[Ni]=null,Fi=Mi[--Ni],Mi[Ni]=null}function Vi(e,t){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Fi=t.id,Ii=t.overflow,Pi=e}var Hi=null,Ui=null,j=!1,Wi=null,Gi=!1,Ki=Error(a(519));function qi(e){throw $i(Di(Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ki}function Ji(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[_t]=e,t[vt]=r,n){case`dialog`:Y(`cancel`,t),Y(`close`,t);break;case`iframe`:case`object`:case`embed`:Y(`load`,t);break;case`video`:case`audio`:for(n=0;n<xd.length;n++)Y(xd[n],t);break;case`source`:Y(`error`,t);break;case`img`:case`image`:case`link`:Y(`error`,t),Y(`load`,t);break;case`details`:Y(`toggle`,t);break;case`input`:Y(`invalid`,t),Zt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Y(`invalid`,t);break;case`textarea`:Y(`invalid`,t),tn(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||Fd(t.textContent,n)?(r.popover!=null&&(Y(`beforetoggle`,t),Y(`toggle`,t)),r.onScroll!=null&&Y(`scroll`,t),r.onScrollEnd!=null&&Y(`scrollend`,t),r.onClick!=null&&(t.onclick=dn),t=!0):t=!1,t||qi(e,!0)}function Yi(e){for(Hi=e.return;Hi;)switch(Hi.tag){case 5:case 31:case 13:Gi=!1;return;case 27:case 3:Gi=!0;return;default:Hi=Hi.return}}function Xi(e){if(e!==Hi)return!1;if(!j)return Yi(e),j=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||qd(e.type,e.memoizedProps)),n=!n),n&&Ui&&qi(e),Yi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Ui=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Ui=df(e)}else t===27?(t=Ui,Qd(e.type)?(e=uf,uf=null,Ui=e):Ui=t):Ui=Hi?lf(e.stateNode.nextSibling):null;return!0}function Zi(){Ui=Hi=null,j=!1}function Qi(){var e=Wi;return e!==null&&(ru===null?ru=e:ru.push.apply(ru,e),Wi=null),e}function $i(e){Wi===null?Wi=[e]:Wi.push(e)}var ea=fe(null),ta=null,na=null;function ra(e,t,n){me(ea,t._currentValue),t._currentValue=n}function ia(e){e._currentValue=ea.current,pe(ea)}function aa(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 oa(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),aa(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),aa(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 sa(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;jr(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===ve.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&&oa(t,e,n,r),t.flags|=262144}function ca(e){for(e=e.firstContext;e!==null;){if(!jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function la(e){ta=e,na=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ua(e){return fa(ta,e)}function da(e,t){return ta===null&&la(e),fa(e,t)}function fa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},na===null){if(e===null)throw Error(a(308));na=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else na=na.next=t;return n}var pa=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()})}},ma=n.unstable_scheduleCallback,ha=n.unstable_NormalPriority,ga={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function _a(){return{controller:new pa,data:new Map,refCount:0}}function va(e){e.refCount--,e.refCount===0&&ma(ha,function(){e.controller.abort()})}var ya=null,ba=0,xa=0,Sa=null;function Ca(e,t){if(ya===null){var n=ya=[];ba=0,xa=hd(),Sa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ba++,t.then(wa,wa),t}function wa(){if(--ba===0&&ya!==null){Sa!==null&&(Sa.status=`fulfilled`);var e=ya;ya=null,xa=0,Sa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ta(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 Ea=D.S;D.S=function(e,t){ou=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&Ca(e,t),Ea!==null&&Ea(e,t)};var Da=fe(null);function Oa(){var e=Da.current;return e===null?H.pooledCache:e}function ka(e,t){t===null?me(Da,Da.current):me(Da,t.pool)}function Aa(){var e=Oa();return e===null?null:{parent:ga._currentValue,pool:e}}var ja=Error(a(460)),Ma=Error(a(474)),Na=Error(a(542)),Pa={then:function(){}};function Fa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ia(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(dn,dn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ba(e),e;default:if(typeof t.status==`string`)t.then(dn,dn);else{if(e=H,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,Ba(e),e}throw Ra=t,ja}}function La(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ra=e,ja):e}}var Ra=null;function za(){if(Ra===null)throw Error(a(459));var e=Ra;return Ra=null,e}function Ba(e){if(e===ja||e===Na)throw Error(a(483))}var Va=null,Ha=0;function Ua(e){var t=Ha;return Ha+=1,Va===null&&(Va=[]),Ia(Va,e,t)}function Wa(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ga(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 Ka(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=yi(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=Ci(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===te&&La(a)===t.type)?(t=i(t,n.props),Wa(t,n),t.return=e,t):(t=xi(n.type,n.key,n.props,null,e.mode,r),Wa(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=Ti(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=Si(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=Ci(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=xi(t.type,t.key,t.props,null,e.mode,n),Wa(n,t),n.return=e,n;case _:return t=Ti(t,e.mode,n),t.return=e,t;case te:return t=La(t),f(e,t,n)}if(ce(t)||ae(t))return t=Si(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ua(t),n);if(t.$$typeof===S)return f(e,da(e,t),n);Ga(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 te:return n=La(n),p(e,t,n,r)}if(ce(n)||ae(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ua(n),r);if(n.$$typeof===S)return p(e,t,da(e,n),r);Ga(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 te:return r=La(r),m(e,t,n,r,i)}if(ce(r)||ae(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ua(r),i);if(r.$$typeof===S)return m(e,t,n,da(t,r),i);Ga(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),j&&Li(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 j&&Li(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)}),j&&Li(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),j&&Li(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 j&&Li(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)}),j&&Li(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===te&&La(l)===r.type){n(e,r.sibling),c=i(r,o.props),Wa(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=Si(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=xi(o.type,o.key,o.props,null,e.mode,c),Wa(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=Ti(o,e.mode,c),c.return=e,e=c}return s(e);case te:return o=La(o),b(e,r,o,c)}if(ce(o))return h(e,r,o,c);if(ae(o)){if(l=ae(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,Ua(o),c);if(o.$$typeof===S)return b(e,r,da(e,o),c);Ga(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=Ci(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ha=0;var i=b(e,t,n,r);return Va=null,i}catch(t){if(t===ja||t===Na)throw t;var a=_i(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var qa=Ka(!0),Ja=Ka(!1),Ya=!1;function Xa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Za(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 Qa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function $a(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=mi(e),pi(e,null,n),t}return ui(e,r,t,n),mi(e)}function eo(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,ut(e,n)}}function to(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 no=!1;function ro(){if(no){var e=Sa;if(e!==null)throw e}}function io(e,t,n,r){no=!1;var i=e.updateQueue;Ya=!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?(W&f)===f:(r&f)===f){f!==0&&f===xa&&(no=!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:Ya=!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),Zl|=o,e.lanes=o,e.memoizedState=d}}function ao(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function oo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ao(n[e],t)}var so=fe(null),M=fe(0);function co(e,t){e=Yl,me(M,e),me(so,t),Yl=e|t.baseLanes}function lo(){me(M,Yl),me(so,so.current)}function uo(){Yl=M.current,pe(so),pe(M)}var fo=fe(null),po=null;function mo(e){var t=e.alternate;me(yo,yo.current&1),me(fo,e),po===null&&(t===null||so.current!==null||t.memoizedState!==null)&&(po=e)}function ho(e){me(yo,yo.current),me(fo,e),po===null&&(po=e)}function go(e){e.tag===22?(me(yo,yo.current),me(fo,e),po===null&&(po=e)):_o(e)}function _o(){me(yo,yo.current),me(fo,fo.current)}function vo(e){pe(fo),po===e&&(po=null),pe(yo)}var yo=fe(0);function bo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(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 xo=0,N=null,So=null,Co=null,wo=!1,To=!1,Eo=!1,Do=0,Oo=0,ko=null,Ao=0;function jo(){throw Error(a(321))}function Mo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function No(e,t,n,r,i,a){return xo=a,N=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?Js:Ys,Eo=!1,a=n(r,i),Eo=!1,To&&(a=Fo(t,n,r,i)),Po(e),a}function Po(e){D.H=qs;var t=So!==null&&So.next!==null;if(xo=0,Co=So=N=null,wo=!1,Oo=0,ko=null,t)throw Error(a(300));e===null||fc||(e=e.dependencies,e!==null&&ca(e)&&(fc=!0))}function Fo(e,t,n,r){N=e;var i=0;do{if(To&&(ko=null),Oo=0,To=!1,25<=i)throw Error(a(301));if(i+=1,Co=So=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=Xs,o=t(n,r)}while(To);return o}function Io(){var e=D.H,t=e.useState()[0];return t=typeof t.then==`function`?Uo(t):t,e=e.useState()[0],(So===null?null:So.memoizedState)!==e&&(N.flags|=1024),t}function Lo(){var e=Do!==0;return Do=0,e}function Ro(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function zo(e){if(wo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wo=!1}xo=0,Co=So=N=null,To=!1,Oo=Do=0,ko=null}function Bo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Co===null?N.memoizedState=Co=e:Co=Co.next=e,Co}function Vo(){if(So===null){var e=N.alternate;e=e===null?null:e.memoizedState}else e=So.next;var t=Co===null?N.memoizedState:Co.next;if(t!==null)Co=t,So=e;else{if(e===null)throw N.alternate===null?Error(a(467)):Error(a(310));So=e,e={memoizedState:So.memoizedState,baseState:So.baseState,baseQueue:So.baseQueue,queue:So.queue,next:null},Co===null?N.memoizedState=Co=e:Co=Co.next=e}return Co}function Ho(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Uo(e){var t=Oo;return Oo+=1,ko===null&&(ko=[]),e=Ia(ko,e,t),t=N,(Co===null?t.memoizedState:Co.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?Js:Ys),e}function Wo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Uo(e);if(e.$$typeof===S)return ua(e)}throw Error(a(438,String(e)))}function Go(e){var t=null,n=N.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=N.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=Ho(),N.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]=re;return t.index++,n}function Ko(e,t){return typeof t==`function`?t(e):t}function qo(e){return Jo(Vo(),So,e)}function Jo(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?(xo&f)===f:(W&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===xa&&(d=!0);else if((xo&p)===p){u=u.next,p===xa&&(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,N.lanes|=p,Zl|=p;f=u.action,Eo&&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,N.lanes|=f,Zl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!jr(o,e.memoizedState)&&(fc=!0,d&&(n=Sa,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 Yo(e){var t=Vo(),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);jr(o,t.memoizedState)||(fc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Xo(e,t,n){var r=N,i=Vo(),o=j;if(o){if(n===void 0)throw Error(a(407));n=n()}else n=t();var s=!jr((So||i).memoizedState,n);if(s&&(i.memoizedState=n,fc=!0),i=i.queue,ys($o.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||Co!==null&&Co.memoizedState.tag&1){if(r.flags|=2048,ms(9,{destroy:void 0},Qo.bind(null,r,i,n,t),null),H===null)throw Error(a(349));o||xo&127||Zo(r,t,n)}return n}function Zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=N.updateQueue,t===null?(t=Ho(),N.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qo(e,t,n,r){t.value=n,t.getSnapshot=r,es(t)&&ts(e)}function $o(e,t,n){return n(function(){es(t)&&ts(e)})}function es(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jr(e,n)}catch{return!0}}function ts(e){var t=fi(e,2);t!==null&&bu(t,e,2)}function ns(e){var t=Bo();if(typeof e==`function`){var n=e;if(e=n(),Eo){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:e},t}function rs(e,t,n,r){return e.baseState=n,Jo(e,So,typeof r==`function`?r:Ko)}function is(e,t,n,r,i){if(Ws(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)}};D.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,P(t,o)):(o.next=n.next,t.pending=n.next=o)}}function P(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=D.T,o={};D.T=o;try{var s=n(i,r),c=D.S;c!==null&&c(o,s),F(e,t,s)}catch(n){os(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),D.T=a}}else try{a=n(i,r),F(e,t,a)}catch(n){os(e,t,n)}}function F(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){as(e,t,n)},function(n){return os(e,t,n)}):as(e,t,n)}function as(e,t,n){t.status=`fulfilled`,t.value=n,ss(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,P(e,n)))}function os(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ss(t),t=t.next;while(t!==r)}e.action=null}function ss(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cs(e,t){return t}function ls(e,t){if(j){var n=H.formState;if(n!==null){a:{var r=N;if(j){if(Ui){b:{for(var i=Ui,a=Gi;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ui=lf(i.nextSibling),r=i.data===`F!`;break a}}qi(r)}r=!1}r&&(t=n[0])}}return n=Bo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:t},n.queue=r,n=Vs.bind(null,N,r),r.dispatch=n,r=ns(!1),a=Us.bind(null,N,!1,r.queue),r=Bo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=is.bind(null,N,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function us(e){return ds(Vo(),So,e)}function ds(e,t,n){if(t=Jo(e,t,cs)[0],e=qo(Ko)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Uo(t)}catch(e){throw e===ja?Na:e}else r=t;t=Vo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(N.flags|=2048,ms(9,{destroy:void 0},fs.bind(null,i,n),null)),[r,a,e]}function fs(e,t){e.action=t}function ps(e){var t=Vo(),n=So;if(n!==null)return ds(t,n,e);Vo(),t=t.memoizedState,n=Vo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ms(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=N.updateQueue,t===null&&(t=Ho(),N.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 hs(){return Vo().memoizedState}function gs(e,t,n,r){var i=Bo();N.flags|=e,i.memoizedState=ms(1|t,{destroy:void 0},n,r===void 0?null:r)}function _s(e,t,n,r){var i=Vo();r=r===void 0?null:r;var a=i.memoizedState.inst;So!==null&&r!==null&&Mo(r,So.memoizedState.deps)?i.memoizedState=ms(t,a,n,r):(N.flags|=e,i.memoizedState=ms(1|t,a,n,r))}function vs(e,t){gs(8390656,8,e,t)}function ys(e,t){_s(2048,8,e,t)}function bs(e){N.flags|=4;var t=N.updateQueue;if(t===null)t=Ho(),N.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function xs(e){var t=Vo().memoizedState;return bs({ref:t,nextImpl:e}),function(){if(V&2)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function Ss(e,t){return _s(4,2,e,t)}function Cs(e,t){return _s(4,4,e,t)}function ws(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 Ts(e,t,n){n=n==null?null:n.concat([e]),_s(4,4,ws.bind(null,t,e),n)}function Es(){}function Ds(e,t){var n=Vo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Os(e,t){var n=Vo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Mo(t,r[1]))return r[0];if(r=e(),Eo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function ks(e,t,n){return n===void 0||xo&1073741824&&!(W&261930)?e.memoizedState=t:(e.memoizedState=n,e=yu(),N.lanes|=e,Zl|=e,n)}function As(e,t,n,r){return jr(n,t)?n:so.current===null?!(xo&42)||xo&1073741824&&!(W&261930)?(fc=!0,e.memoizedState=n):(e=yu(),N.lanes|=e,Zl|=e,t):(e=ks(e,n,r),jr(e,t)||(fc=!0),e)}function js(e,t,n,r,i){var a=O.p;O.p=a!==0&&8>a?a:8;var o=D.T,s={};D.T=s,Us(e,!1,t,n);try{var c=i(),l=D.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Hs(e,t,Ta(c,r),vu(e)):Hs(e,t,r,vu(e))}catch(n){Hs(e,t,{then:function(){},status:`rejected`,reason:n},vu())}finally{O.p=a,o!==null&&s.types!==null&&(o.types=s.types),D.T=o}}function Ms(){}function Ns(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=Ps(e).queue;js(e,i,t,le,n===null?Ms:function(){return Fs(e),n(r)})}function Ps(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:le},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fs(e){var t=Ps(e);t.next===null&&(t=e.alternate.memoizedState),Hs(e,t.next.queue,{},vu())}function Is(){return ua($f)}function Ls(){return Vo().memoizedState}function Rs(){return Vo().memoizedState}function zs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=vu();e=Qa(n);var r=$a(t,e,n);r!==null&&(bu(r,t,n),eo(r,t,n)),t={cache:_a()},e.payload=t;return}t=t.return}}function Bs(e,t,n){var r=vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ws(e)?Gs(t,n):(n=di(e,t,n,r),n!==null&&(bu(n,e,r),Ks(n,t,r)))}function Vs(e,t,n){Hs(e,t,n,vu())}function Hs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ws(e))Gs(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,jr(s,o))return ui(e,t,i,0),H===null&&li(),!1}catch{}if(n=di(e,t,i,r),n!==null)return bu(n,e,r),Ks(n,t,r),!0}return!1}function Us(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ws(e)){if(t)throw Error(a(479))}else t=di(e,n,r,2),t!==null&&bu(t,e,2)}function Ws(e){var t=e.alternate;return e===N||t!==null&&t===N}function Gs(e,t){To=wo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ks(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ut(e,n)}}var qs={readContext:ua,use:Wo,useCallback:jo,useContext:jo,useEffect:jo,useImperativeHandle:jo,useLayoutEffect:jo,useInsertionEffect:jo,useMemo:jo,useReducer:jo,useRef:jo,useState:jo,useDebugValue:jo,useDeferredValue:jo,useTransition:jo,useSyncExternalStore:jo,useId:jo,useHostTransitionStatus:jo,useFormState:jo,useActionState:jo,useOptimistic:jo,useMemoCache:jo,useCacheRefresh:jo};qs.useEffectEvent=jo;var Js={readContext:ua,use:Wo,useCallback:function(e,t){return Bo().memoizedState=[e,t===void 0?null:t],e},useContext:ua,useEffect:vs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),gs(4194308,4,ws.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gs(4194308,4,e,t)},useInsertionEffect:function(e,t){gs(4,2,e,t)},useMemo:function(e,t){var n=Bo();t=t===void 0?null:t;var r=e();if(Eo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Bo();if(n!==void 0){var i=n(t);if(Eo){Ke(!0);try{n(t)}finally{Ke(!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=Bs.bind(null,N,e),[r.memoizedState,e]},useRef:function(e){var t=Bo();return e={current:e},t.memoizedState=e},useState:function(e){e=ns(e);var t=e.queue,n=Vs.bind(null,N,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Es,useDeferredValue:function(e,t){return ks(Bo(),e,t)},useTransition:function(){var e=ns(!1);return e=js.bind(null,N,e.queue,!0,!1),Bo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=N,i=Bo();if(j){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),H===null)throw Error(a(349));W&127||Zo(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,vs($o.bind(null,r,o,e),[e]),r.flags|=2048,ms(9,{destroy:void 0},Qo.bind(null,r,o,n,t),null),n},useId:function(){var e=Bo(),t=H.identifierPrefix;if(j){var n=Ii,r=Fi;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Do++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Ao++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Is,useFormState:ls,useActionState:ls,useOptimistic:function(e){var t=Bo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Us.bind(null,N,!0,n),n.dispatch=t,[e,t]},useMemoCache:Go,useCacheRefresh:function(){return Bo().memoizedState=zs.bind(null,N)},useEffectEvent:function(e){var t=Bo(),n={impl:e};return t.memoizedState=n,function(){if(V&2)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},Ys={readContext:ua,use:Wo,useCallback:Ds,useContext:ua,useEffect:ys,useImperativeHandle:Ts,useInsertionEffect:Ss,useLayoutEffect:Cs,useMemo:Os,useReducer:qo,useRef:hs,useState:function(){return qo(Ko)},useDebugValue:Es,useDeferredValue:function(e,t){return As(Vo(),So.memoizedState,e,t)},useTransition:function(){var e=qo(Ko)[0],t=Vo().memoizedState;return[typeof e==`boolean`?e:Uo(e),t]},useSyncExternalStore:Xo,useId:Ls,useHostTransitionStatus:Is,useFormState:us,useActionState:us,useOptimistic:function(e,t){return rs(Vo(),So,e,t)},useMemoCache:Go,useCacheRefresh:Rs};Ys.useEffectEvent=xs;var Xs={readContext:ua,use:Wo,useCallback:Ds,useContext:ua,useEffect:ys,useImperativeHandle:Ts,useInsertionEffect:Ss,useLayoutEffect:Cs,useMemo:Os,useReducer:Yo,useRef:hs,useState:function(){return Yo(Ko)},useDebugValue:Es,useDeferredValue:function(e,t){var n=Vo();return So===null?ks(n,e,t):As(n,So.memoizedState,e,t)},useTransition:function(){var e=Yo(Ko)[0],t=Vo().memoizedState;return[typeof e==`boolean`?e:Uo(e),t]},useSyncExternalStore:Xo,useId:Ls,useHostTransitionStatus:Is,useFormState:ps,useActionState:ps,useOptimistic:function(e,t){var n=Vo();return So===null?(n.baseState=e,[e,n.queue.dispatch]):rs(n,So,e,t)},useMemoCache:Go,useCacheRefresh:Rs};Xs.useEffectEvent=xs;function Zs(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 Qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),i=Qa(r);i.payload=t,n!=null&&(i.callback=n),t=$a(e,i,r),t!==null&&(bu(t,e,r),eo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),i=Qa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=$a(e,i,r),t!==null&&(bu(t,e,r),eo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=Qa(n);r.tag=2,t!=null&&(r.callback=t),t=$a(e,r,n),t!==null&&(bu(t,e,n),eo(t,e,n))}};function $s(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?!Mr(n,r)||!Mr(i,a):!0}function ec(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&&Qs.enqueueReplaceState(t,t.state,null)}function tc(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 nc(e){ai(e)}function rc(e){console.error(e)}function ic(e){ai(e)}function ac(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function oc(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 sc(e,t,n){return n=Qa(n),n.tag=3,n.payload={element:null},n.callback=function(){ac(e,t)},n}function cc(e){return e=Qa(e),e.tag=3,e}function lc(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(){oc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){oc(t,n,r),typeof i!=`function`&&(K===null?K=new Set([this]):K.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function uc(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&sa(t,n,i,!0),n=fo.current,n!==null){switch(n.tag){case 31:case 13:return po===null?Mu():n.alternate===null&&Xl===0&&(Xl=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Pa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Xu(e,r,i)),!1;case 22:return n.flags|=65536,r===Pa?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)),Xu(e,r,i)),!1}throw Error(a(435,n.tag))}return Xu(e,r,i),Mu(),!1}if(j)return t=fo.current,t===null?(r!==Ki&&(t=Error(a(423),{cause:r}),$i(Di(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Di(r,n),i=sc(e.stateNode,r,i),to(e,i),Xl!==4&&(Xl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Ki&&(e=Error(a(422),{cause:r}),$i(Di(e,n)))),!1;var o=Error(a(520),{cause:r});if(o=Di(o,n),nu===null?nu=[o]:nu.push(o),Xl!==4&&(Xl=2),t===null)return!0;r=Di(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=sc(n.stateNode,r,e),to(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`&&(K===null||!K.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,i=cc(i),lc(i,e,n,r),to(n,i),!1}n=n.return}while(n!==null);return!1}var dc=Error(a(461)),fc=!1;function pc(e,t,n,r){t.child=e===null?Ja(t,null,n,r):qa(t,e.child,n,r)}function mc(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 la(t),r=No(e,t,n,o,a,i),s=Lo(),e!==null&&!fc?(Ro(e,t,i),Rc(e,t,i)):(j&&s&&zi(t),t.flags|=1,pc(e,t,r,i),t.child)}function hc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!vi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,gc(e,t,a,r,i)):(e=xi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!zc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mr:n,n(o,r)&&e.ref===t.ref)return Rc(e,t,i)}return t.flags|=1,e=yi(a,r),e.ref=t.ref,e.return=t,t.child=e}function gc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mr(a,r)&&e.ref===t.ref)if(fc=!1,t.pendingProps=r=a,zc(e,i))e.flags&131072&&(fc=!0);else return t.lanes=e.lanes,Rc(e,t,i)}return wc(e,t,n,r,i)}function _c(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 yc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ka(t,a===null?null:a.cachePool),a===null?lo():co(t,a),go(t);else return r=t.lanes=536870912,yc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&ka(t,null),lo(),_o(t)):(ka(t,a.cachePool),co(t,a),_o(t),t.memoizedState=null);return pc(e,t,i,n),t.child}function vc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function yc(e,t,n,r,i){var a=Oa();return a=a===null?null:{parent:ga._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&ka(t,null),lo(),go(t),e!==null&&sa(e,t,r,!0),t.childLanes=i,null}function bc(e,t){return t=Nc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function xc(e,t,n){return qa(t,e.child,null,n),e=bc(t,t.pendingProps),e.flags|=2,vo(t),t.memoizedState=null,e}function Sc(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(j){if(r.mode===`hidden`)return e=bc(t,r),t.lanes=536870912,vc(null,e);if(ho(t),(e=Ui)?(e=af(e,Gi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,Ui=null)):e=null,e===null)throw qi(t);return t.lanes=536870912,null}return bc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ho(t),i)if(t.flags&256)t.flags&=-257,t=xc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(a(558));else if(fc||sa(e,t,n,!1),i=(n&e.childLanes)!==0,fc||i){if(r=H,r!==null&&(s=dt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,fi(e,s),bu(r,e,s),dc;Mu(),t=xc(e,t,n)}else e=o.treeContext,Ui=lf(s.nextSibling),Hi=t,j=!0,Wi=null,Gi=!1,e!==null&&Vi(t,e),t=bc(t,r),t.flags|=4096;return t}return e=yi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Cc(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 wc(e,t,n,r,i){return la(t),n=No(e,t,n,r,void 0,i),r=Lo(),e!==null&&!fc?(Ro(e,t,i),Rc(e,t,i)):(j&&r&&zi(t),t.flags|=1,pc(e,t,n,i),t.child)}function Tc(e,t,n,r,i,a){return la(t),t.updateQueue=null,n=Fo(t,r,n,i),Po(e),r=Lo(),e!==null&&!fc?(Ro(e,t,a),Rc(e,t,a)):(j&&r&&zi(t),t.flags|=1,pc(e,t,n,a),t.child)}function Ec(e,t,n,r,i){if(la(t),t.stateNode===null){var a=hi,o=n.contextType;typeof o==`object`&&o&&(a=ua(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Xa(t),o=n.contextType,a.context=typeof o==`object`&&o?ua(o):hi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Zs(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&&Qs.enqueueReplaceState(a,a.state,null),io(t,r,a,i),ro(),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=tc(n,s);a.props=c;var l=a.context,u=n.contextType;o=hi,typeof u==`object`&&u&&(o=ua(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)&&ec(t,a,r,o),Ya=!1;var f=t.memoizedState;a.state=f,io(t,r,a,i),ro(),l=t.memoizedState,s||f!==l||Ya?(typeof d==`function`&&(Zs(t,n,d,r),l=t.memoizedState),(c=Ya||$s(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,Za(e,t),o=t.memoizedProps,u=tc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=hi,typeof l==`object`&&l&&(c=ua(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)&&ec(t,a,r,c),Ya=!1,f=t.memoizedState,a.state=f,io(t,r,a,i),ro();var p=t.memoizedState;o!==d||f!==p||Ya||e!==null&&e.dependencies!==null&&ca(e.dependencies)?(typeof s==`function`&&(Zs(t,n,s,r),p=t.memoizedState),(u=Ya||$s(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ca(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,Cc(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=qa(t,e.child,null,i),t.child=qa(t,null,n,i)):pc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Rc(e,t,i),e}function Dc(e,t,n,r){return Zi(),t.flags|=256,pc(e,t,n,r),t.child}var Oc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kc(e){return{baseLanes:e,cachePool:Aa()}}function Ac(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=eu),e}function jc(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:(yo.current&2)!=0),s&&(i=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(j){if(i?mo(t):_o(t),(e=Ui)?(e=af(e,Gi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,Ui=null)):e=null,e===null)throw qi(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,i?(_o(t),i=t.mode,c=Nc({mode:`hidden`,children:c},i),r=Si(r,i,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=kc(n),r.childLanes=Ac(e,s,n),t.memoizedState=Oc,vc(null,r)):(mo(t),Mc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(mo(t),t.flags&=-257,t=Pc(e,t,n)):t.memoizedState===null?(_o(t),c=r.fallback,i=t.mode,r=Nc({mode:`visible`,children:r.children},i),c=Si(c,i,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,qa(t,e.child,null,n),r=t.child,r.memoizedState=kc(n),r.childLanes=Ac(e,s,n),t.memoizedState=Oc,t=vc(null,r)):(_o(t),t.child=e.child,t.flags|=128,t=null);else if(mo(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(a(419)),r.stack=``,r.digest=s,$i({value:r,source:null,stack:null}),t=Pc(e,t,n)}else if(fc||sa(e,t,n,!1),s=(n&e.childLanes)!==0,fc||s){if(s=H,s!==null&&(r=dt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,fi(e,r),bu(s,e,r),dc;of(c)||Mu(),t=Pc(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ui=lf(c.nextSibling),Hi=t,j=!0,Wi=null,Gi=!1,e!==null&&Vi(t,e),t=Mc(t,r.children),t.flags|=4096);return t}return i?(_o(t),c=r.fallback,i=t.mode,l=e.child,u=l.sibling,r=yi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=Si(c,i,n,null),c.flags|=2):c=yi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,vc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=kc(n):(i=c.cachePool,i===null?i=Aa():(l=ga._currentValue,i=i.parent===l?i:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:i}),r.memoizedState=c,r.childLanes=Ac(e,s,n),t.memoizedState=Oc,vc(e.child,r)):(mo(t),n=e.child,e=n.sibling,n=yi(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 Mc(e,t){return t=Nc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Nc(e,t){return e=_i(22,e,null,t),e.lanes=0,e}function Pc(e,t,n){return qa(t,e.child,null,n),e=Mc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),aa(e.return,t,n)}function Ic(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 Lc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=yo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,me(yo,o),pc(e,t,r,n),r=j?ji:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Fc(e,n,t);else if(e.tag===19)Fc(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&&bo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ic(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&&bo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ic(t,!0,n,null,a,r);break;case`together`:Ic(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Rc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(sa(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=yi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ca(e))):!0}function Bc(e,t,n){switch(t.tag){case 3:ye(t,t.stateNode.containerInfo),ra(t,ga,e.memoizedState.cache),Zi();break;case 27:case 5:xe(t);break;case 4:ye(t,t.stateNode.containerInfo);break;case 10:ra(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ho(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(mo(t),e=Rc(e,t,n),e===null?null:e.sibling):jc(e,t,n):(mo(t),t.flags|=128,null);mo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(sa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Lc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),me(yo,yo.current),r)break;return null;case 22:return t.lanes=0,_c(e,t,n,t.pendingProps);case 24:ra(t,ga,e.memoizedState.cache)}return Rc(e,t,n)}function Vc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)fc=!0;else{if(!zc(e,n)&&!(t.flags&128))return fc=!1,Bc(e,t,n);fc=!!(e.flags&131072)}else fc=!1,j&&t.flags&1048576&&Ri(t,ji,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=La(t.elementType),t.type=e,typeof e==`function`)vi(e)?(r=tc(e,r),t.tag=1,t=Ec(null,t,e,r,n)):(t.tag=0,t=wc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===C){t.tag=11,t=mc(null,t,e,r,n);break a}else if(i===ee){t.tag=14,t=hc(null,t,e,r,n);break a}}throw t=se(e)||e,Error(a(306,t,``))}}return t;case 0:return wc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=tc(r,t.pendingProps),Ec(e,t,r,i,n);case 3:a:{if(ye(t,t.stateNode.containerInfo),e===null)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,Za(e,t),io(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ra(t,ga,r),r!==o.cache&&oa(t,[ga],n,!0),ro(),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=Dc(e,t,r,n);break a}else if(r!==i){i=Di(Error(a(424)),t),$i(i),t=Dc(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(Ui=lf(e.firstChild),Hi=t,j=!0,Wi=null,Gi=!0,n=Ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Zi(),r===i){t=Rc(e,t,n);break a}pc(e,t,r,n)}t=t.child}return t;case 26:return Cc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:j||(n=t.type,e=t.pendingProps,r=Wd(_e.current).createElement(n),r[_t]=t,r[vt]=e,Rd(r,n,e),At(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xe(t),e===null&&j&&(r=t.stateNode=pf(t.type,t.pendingProps,_e.current),Hi=t,Gi=!0,i=Ui,Qd(t.type)?(uf=i,Ui=lf(r.firstChild)):Ui=i),pc(e,t,t.pendingProps.children,n),Cc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&j&&((i=r=Ui)&&(r=nf(r,t.type,t.pendingProps,Gi),r===null?i=!1:(t.stateNode=r,Hi=t,Ui=lf(r.firstChild),Gi=!1,i=!0)),i||qi(t)),xe(t),i=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,qd(i,o)?r=null:s!==null&&qd(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=No(e,t,Io,null,null,n),$f._currentValue=i),Cc(e,t),pc(e,t,r,n),t.child;case 6:return e===null&&j&&((e=n=Ui)&&(n=rf(n,t.pendingProps,Gi),n===null?e=!1:(t.stateNode=n,Hi=t,Ui=null,e=!0)),e||qi(t)),null;case 13:return jc(e,t,n);case 4:return ye(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=qa(t,null,r,n):pc(e,t,r,n),t.child;case 11:return mc(e,t,t.type,t.pendingProps,n);case 7:return pc(e,t,t.pendingProps,n),t.child;case 8:return pc(e,t,t.pendingProps.children,n),t.child;case 12:return pc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,ra(t,t.type,r.value),pc(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,la(t),i=ua(i),r=r(i),t.flags|=1,pc(e,t,r,n),t.child;case 14:return hc(e,t,t.type,t.pendingProps,n);case 15:return gc(e,t,t.type,t.pendingProps,n);case 19:return Lc(e,t,n);case 31:return Sc(e,t,n);case 22:return _c(e,t,n,t.pendingProps);case 24:return la(t),r=ua(ga),e===null?(i=Oa(),i===null&&(i=H,o=_a(),i.pooledCache=o,o.refCount++,o!==null&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},Xa(t),ra(t,ga,i)):((e.lanes&n)!==0&&(Za(e,t),io(t,null,null,n),ro()),i=e.memoizedState,o=t.memoizedState,i.parent===r?(r=o.cache,ra(t,ga,r),r!==i.cache&&oa(t,[ga],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),ra(t,ga,r))),pc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function Hc(e){e.flags|=4}function Uc(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(ku())e.flags|=8192;else throw Ra=Pa,Ma}else e.flags&=-16777217}function Wc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(ku())e.flags|=8192;else throw Ra=Pa,Ma}function Gc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:at(),e.lanes|=t,tu|=t)}function Kc(e,t){if(!j)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 qc(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 Jc(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qc(t),null;case 1:return qc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ia(ga),be(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Xi(t)?Hc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qi())),qc(t),null;case 26:var i=t.type,o=t.memoizedState;return e===null?(Hc(t),o===null?(qc(t),Uc(t,i,null,r,n)):(qc(t),Wc(t,o))):o?o===e.memoizedState?(qc(t),t.flags&=-16777217):(Hc(t),qc(t),Wc(t,o)):(e=e.memoizedProps,e!==r&&Hc(t),qc(t),Uc(t,i,e,r,n)),null;case 27:if(Se(t),n=_e.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Hc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return qc(t),null}e=he.current,Xi(t)?Ji(t,e):(e=pf(i,r,n),t.stateNode=e,Hc(t))}return qc(t),null;case 5:if(Se(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Hc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return qc(t),null}if(o=he.current,Xi(t))Ji(t,o);else{var s=Wd(_e.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[_t]=t,o[vt]=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(Rd(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&&Hc(t)}}return qc(t),Uc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Hc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=_e.current,Xi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Hi,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[_t]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Fd(e.nodeValue,n)),e||qi(t,!0)}else e=Wd(e).createTextNode(r),e[_t]=t,t.stateNode=e}return qc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Xi(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[_t]=t}else Zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;qc(t),e=!1}else n=Qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(vo(t),t):(vo(t),null);if(t.flags&128)throw Error(a(558))}return qc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Xi(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[_t]=t}else Zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;qc(t),i=!1}else i=Qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(vo(t),t):(vo(t),null)}return vo(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),Gc(t,t.updateQueue),qc(t),null);case 4:return be(),e===null&&Ed(t.stateNode.containerInfo),qc(t),null;case 10:return ia(t.type),qc(t),null;case 19:if(pe(yo),r=t.memoizedState,r===null)return qc(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Kc(r,!1);else{if(Xl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=bo(e),o!==null){for(t.flags|=128,Kc(r,!1),e=o.updateQueue,t.updateQueue=e,Gc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bi(n,e),n=n.sibling;return me(yo,yo.current&1|2),j&&Li(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>su&&(t.flags|=128,i=!0,Kc(r,!1),t.lanes=4194304)}else{if(!i)if(e=bo(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Gc(t,e),Kc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!j)return qc(t),null}else 2*Fe()-r.renderingStartTime>su&&n!==536870912&&(t.flags|=128,i=!0,Kc(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?(qc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=yo.current,me(yo,i?n&1|2:n&1),j&&Li(t,r.treeForkCount),e);case 22:case 23:return vo(t),uo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(qc(t),t.subtreeFlags&6&&(t.flags|=8192)):qc(t),n=t.updateQueue,n!==null&&Gc(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&&pe(Da),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ia(ga),qc(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Yc(e,t){switch(Bi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ia(ga),be(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 31:if(t.memoizedState!==null){if(vo(t),t.alternate===null)throw Error(a(340));Zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(vo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));Zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(yo),null;case 4:return be(),null;case 10:return ia(t.type),null;case 22:case 23:return vo(t),uo(),e!==null&&pe(Da),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ia(ga),null;case 25:return null;default:return null}}function Xc(e,t){switch(Bi(t),t.tag){case 3:ia(ga),be();break;case 26:case 27:case 5:Se(t);break;case 4:be();break;case 31:t.memoizedState!==null&&vo(t);break;case 13:vo(t);break;case 19:pe(yo);break;case 10:ia(t.type);break;case 22:case 23:vo(t),uo(),e!==null&&pe(Da);break;case 24:ia(ga)}}function Zc(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){q(t,t.return,e)}}function Qc(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){q(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){q(t,t.return,e)}}function $c(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{oo(t,n)}catch(t){q(e,e.return,t)}}}function el(e,t,n){n.props=tc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){q(e,t,n)}}function tl(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){q(e,t,n)}}function nl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){q(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){q(e,t,n)}else n.current=null}function rl(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){q(e,e.return,t)}}function il(e,t,n){try{var r=e.stateNode;zd(r,e.type,n,t),r[vt]=t}catch(t){q(e,e.return,t)}}function al(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function ol(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||al(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&&Qd(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 sl(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=dn));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(sl(e,t,n),e=e.sibling;e!==null;)sl(e,t,n),e=e.sibling}function cl(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&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(cl(e,t,n),e=e.sibling;e!==null;)cl(e,t,n),e=e.sibling}function I(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Rd(t,r,n),t[_t]=e,t[vt]=n}catch(t){q(e,e.return,t)}}var ll=!1,L=!1,ul=!1,dl=typeof WeakSet==`function`?WeakSet:Set,fl=null;function pl(e,t){if(e=e.containerInfo,Hd=cp,e=Ir(e),Lr(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(Ud={focusedElem:e,selectionRange:n},cp=!1,fl=t;fl!==null;)if(t=fl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,fl=e;else for(;fl!==null;){switch(t=fl,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=tc(n.type,i);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){q(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(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,fl=e;break}fl=t.return}}function ml(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Dl(e,n),r&4&&Zc(5,n);break;case 1:if(Dl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){q(n,n.return,e)}else{var i=tc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){q(n,n.return,e)}}r&64&&$c(n),r&512&&tl(n,n.return);break;case 3:if(Dl(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{oo(e,t)}catch(e){q(n,n.return,e)}}break;case 27:t===null&&r&4&&I(n);case 26:case 5:Dl(e,n),t===null&&r&4&&rl(n),r&512&&tl(n,n.return);break;case 12:Dl(e,n);break;case 31:Dl(e,n),r&4&&bl(e,n);break;case 13:Dl(e,n),r&4&&xl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=$u.bind(null,n),cf(e,n))));break;case 22:if(r=n.memoizedState!==null||ll,!r){t=t!==null&&t.memoizedState!==null||L,i=ll;var a=L;ll=r,(L=t)&&!a?Ol(e,n,(n.subtreeFlags&8772)!=0):Dl(e,n),ll=i,L=a}break;case 30:break;default:Dl(e,n)}}function hl(e){var t=e.alternate;t!==null&&(e.alternate=null,hl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tt(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 gl=null,_l=!1;function vl(e,t,n){for(n=n.child;n!==null;)yl(e,t,n),n=n.sibling}function yl(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:L||nl(n,t),vl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:L||nl(n,t);var r=gl,i=_l;Qd(n.type)&&(gl=n.stateNode,_l=!1),vl(e,t,n),mf(n.stateNode),gl=r,_l=i;break;case 5:L||nl(n,t);case 6:if(r=gl,i=_l,gl=null,vl(e,t,n),gl=r,_l=i,gl!==null)if(_l)try{(gl.nodeType===9?gl.body:gl.nodeName===`HTML`?gl.ownerDocument.body:gl).removeChild(n.stateNode)}catch(e){q(n,t,e)}else try{gl.removeChild(n.stateNode)}catch(e){q(n,t,e)}break;case 18:gl!==null&&(_l?(e=gl,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):$d(gl,n.stateNode));break;case 4:r=gl,i=_l,gl=n.stateNode.containerInfo,_l=!0,vl(e,t,n),gl=r,_l=i;break;case 0:case 11:case 14:case 15:Qc(2,n,t),L||Qc(4,n,t),vl(e,t,n);break;case 1:L||(nl(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&el(n,t,r)),vl(e,t,n);break;case 21:vl(e,t,n);break;case 22:L=(r=L)||n.memoizedState!==null,vl(e,t,n),L=r;break;default:vl(e,t,n)}}function bl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){q(t,t.return,e)}}}function xl(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){q(t,t.return,e)}}function Sl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new dl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new dl),t;default:throw Error(a(435,e.tag))}}function Cl(e,t){var n=Sl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=ed.bind(null,e,t);t.then(r,r)}})}function wl(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(Qd(c.type)){gl=c.stateNode,_l=!1;break a}break;case 5:gl=c.stateNode,_l=!1;break a;case 3:case 4:gl=c.stateNode.containerInfo,_l=!0;break a}c=c.return}if(gl===null)throw Error(a(160));yl(o,s,i),gl=null,_l=!1,o=i.alternate,o!==null&&(o.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)El(t,e),t=t.sibling}var Tl=null;function El(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:wl(t,e),R(e),r&4&&(Qc(3,e,e.return),Zc(3,e),Qc(5,e,e.return));break;case 1:wl(t,e),R(e),r&512&&(L||n===null||nl(n,n.return)),r&64&&ll&&(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=Tl;if(wl(t,e),R(e),r&512&&(L||n===null||nl(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[wt]||o[_t]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector(`head > title`))),Rd(o,r,n),o[_t]=e,At(o),r=o;break a;case`link`:var s=Hf(`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),Rd(o,r,n),i.head.appendChild(o);break;case`meta`:if(s=Hf(`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),Rd(o,r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[_t]=e,At(o),r=o}e.stateNode=r}else Uf(i,e.type,e.stateNode);else e.stateNode=Lf(i,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&il(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):Lf(i,r,e.memoizedProps))}break;case 27:wl(t,e),R(e),r&512&&(L||n===null||nl(n,n.return)),n!==null&&r&4&&il(e,e.memoizedProps,n.memoizedProps);break;case 5:if(wl(t,e),R(e),r&512&&(L||n===null||nl(n,n.return)),e.flags&32){i=e.stateNode;try{nn(i,``)}catch(t){q(e,e.return,t)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,il(e,i,n===null?i:n.memoizedProps)),r&1024&&(ul=!0);break;case 6:if(wl(t,e),R(e),r&4){if(e.stateNode===null)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){q(e,e.return,t)}}break;case 3:if(Vf=null,i=Tl,Tl=_f(t.containerInfo),wl(t,e),Tl=i,R(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){q(e,e.return,t)}ul&&(ul=!1,z(e));break;case 4:r=Tl,Tl=_f(e.stateNode.containerInfo),wl(t,e),R(e),Tl=r;break;case 12:wl(t,e),R(e);break;case 31:wl(t,e),R(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 13:wl(t,e),R(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(au=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=ll,d=L;if(ll=u||i,L=d||l,wl(t,e),L=d,ll=u,R(e),r&8192)a:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||ll||L||B(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){q(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?``:l.memoizedProps}catch(e){q(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;i?ef(m,!0):ef(l.stateNode,!1)}catch(e){q(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,Cl(e,n))));break;case 19:wl(t,e),R(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 30:break;case 21:break;default:wl(t,e),R(e)}}function R(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(al(r)){n=r;break}r=r.return}if(n==null)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;cl(e,ol(e),i);break;case 5:var o=n.stateNode;n.flags&32&&(nn(o,``),n.flags&=-33),cl(e,ol(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;sl(e,ol(e),s);break;default:throw Error(a(161))}}catch(t){q(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function z(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;z(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Dl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ml(e,t.alternate,t),t=t.sibling}function B(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Qc(4,t,t.return),B(t);break;case 1:nl(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&el(t,t.return,n),B(t);break;case 27:mf(t.stateNode);case 26:case 5:nl(t,t.return),B(t);break;case 22:t.memoizedState===null&&B(t);break;case 30:B(t);break;default:B(t)}e=e.sibling}}function Ol(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:Ol(i,a,n),Zc(4,a);break;case 1:if(Ol(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){q(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++)ao(c[i],s)}catch(e){q(r,r.return,e)}}n&&o&64&&$c(a),tl(a,a.return);break;case 27:I(a);case 26:case 5:Ol(i,a,n),n&&r===null&&o&4&&rl(a),tl(a,a.return);break;case 12:Ol(i,a,n);break;case 31:Ol(i,a,n),n&&o&4&&bl(i,a);break;case 13:Ol(i,a,n),n&&o&4&&xl(i,a);break;case 22:a.memoizedState===null&&Ol(i,a,n),tl(a,a.return);break;case 30:break;default:Ol(i,a,n)}t=t.sibling}}function kl(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&&va(n))}function Al(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&va(e))}function jl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ml(e,t,n,r),t=t.sibling}function Ml(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:jl(e,t,n,r),i&2048&&Zc(9,t);break;case 1:jl(e,t,n,r);break;case 3:jl(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&&va(e)));break;case 12:if(i&2048){jl(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){q(t,t.return,e)}}else jl(e,t,n,r);break;case 31:jl(e,t,n,r);break;case 13:jl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?jl(e,t,n,r):(a._visibility|=2,Nl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?jl(e,t,n,r):Pl(e,t),i&2048&&kl(o,t);break;case 24:jl(e,t,n,r),i&2048&&Al(t.alternate,t);break;default:jl(e,t,n,r)}}function Nl(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:Nl(a,o,s,c,i),Zc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Nl(a,o,s,c,i)):u._visibility&2?Nl(a,o,s,c,i):Pl(a,o),i&&l&2048&&kl(o.alternate,o);break;case 24:Nl(a,o,s,c,i),i&&l&2048&&Al(o.alternate,o);break;default:Nl(a,o,s,c,i)}t=t.sibling}}function Pl(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:Pl(n,r),i&2048&&kl(r.alternate,r);break;case 24:Pl(n,r),i&2048&&Al(r.alternate,r);break;default:Pl(n,r)}t=t.sibling}}var Fl=8192;function Il(e,t,n){if(e.subtreeFlags&Fl)for(e=e.child;e!==null;)Ll(e,t,n),e=e.sibling}function Ll(e,t,n){switch(e.tag){case 26:Il(e,t,n),e.flags&Fl&&e.memoizedState!==null&&Kf(n,Tl,e.memoizedState,e.memoizedProps);break;case 5:Il(e,t,n);break;case 3:case 4:var r=Tl;Tl=_f(e.stateNode.containerInfo),Il(e,t,n),Tl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Fl,Fl=16777216,Il(e,t,n),Fl=r):Il(e,t,n));break;default:Il(e,t,n)}}function Rl(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 zl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];fl=r,Hl(r,e)}Rl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bl(e),e=e.sibling}function Bl(e){switch(e.tag){case 0:case 11:case 15:zl(e),e.flags&2048&&Qc(9,e,e.return);break;case 3:zl(e);break;case 12:zl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Vl(e)):zl(e);break;default:zl(e)}}function Vl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];fl=r,Hl(r,e)}Rl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Qc(8,t,t.return),Vl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Vl(t));break;default:Vl(t)}e=e.sibling}}function Hl(e,t){for(;fl!==null;){var n=fl;switch(n.tag){case 0:case 11:case 15:Qc(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:va(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,fl=r;else a:for(n=e;fl!==null;){r=fl;var i=r.sibling,a=r.return;if(hl(r),r===n){fl=null;break a}if(i!==null){i.return=a,fl=i;break a}fl=a}}}var Ul={getCacheForType:function(e){var t=ua(ga),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ua(ga).controller.signal}},Wl=typeof WeakMap==`function`?WeakMap:Map,V=0,H=null,U=null,W=0,G=0,Gl=null,Kl=!1,ql=!1,Jl=!1,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=0,nu=null,ru=null,iu=!1,au=0,ou=0,su=1/0,cu=null,K=null,lu=0,uu=null,du=null,fu=0,pu=0,mu=null,hu=null,gu=0,_u=null;function vu(){return V&2&&W!==0?W&-W:D.T===null?mt():hd()}function yu(){if(eu===0)if(!(W&536870912)||j){var e=$e;$e<<=1,!($e&3932160)&&($e=262144),eu=e}else eu=536870912;return e=fo.current,e!==null&&(e.flags|=32),eu}function bu(e,t,n){(e===H&&(G===2||G===9)||e.cancelPendingCommit!==null)&&(Du(e,0),wu(e,W,eu,!1)),st(e,n),(!(V&2)||e!==H)&&(e===H&&(!(V&2)&&(Ql|=n),Xl===4&&wu(e,W,eu,!1)),sd(e))}function xu(e,t,n){if(V&6)throw Error(a(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||rt(e,t),i=r?Fu(e,t):Nu(e,t,!0),o=r;do{if(i===0){ql&&!r&&wu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Cu(n)){i=Nu(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=nu;var l=c.current.memoizedState.isDehydrated;if(l&&(Du(c,s).flags|=256),s=Nu(c,s,!1),s!==2){if(Jl&&!l){c.errorRecoveryDisabledLanes|=o,Ql|=o,i=4;break a}o=ru,ru=i,o!==null&&(ru===null?ru=o:ru.push.apply(ru,o))}i=s}if(o=!1,i!==2)continue}}if(i===1){Du(e,0),wu(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:wu(r,t,eu,!Kl);break a;case 2:ru=null;break;case 3:case 5:break;default:throw Error(a(329))}if((t&62914560)===t&&(i=au+300-Fe(),10<i)){if(wu(r,t,eu,!Kl),nt(r,0,!0)!==0)break a;fu=t,r.timeoutHandle=Q(Su.bind(null,r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,`Throttled`,-0,0),i);break a}Su(r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,null,-0,0)}}break}while(1);sd(e)}function Su(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:dn},Ll(t,a,d);var m=(a&62914560)===a?au-Fe():(a&4194048)===a?ou-Fe():0;if(m=Jf(d,m),m!==null){fu=a,e.cancelPendingCommit=m(Hu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),wu(e,a,o,!l);return}}Hu(e,t,a,n,r,i,o,s,c)}function Cu(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(!jr(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 wu(e,t,n,r){t&=~$l,t&=~Ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&lt(e,n,t)}function Tu(){return V&6?!0:(cd(0,!1),!1)}function Eu(){if(U!==null){if(G===0)var e=U.return;else e=U,na=ta=null,zo(e),Va=null,Ha=0,e=U;for(;e!==null;)Xc(e.alternate,e),e=e.return;U=null}}function Du(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,$(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),fu=0,Eu(),H=e,U=n=yi(e.current,null),W=t,G=0,Gl=null,Kl=!1,ql=rt(e,t),Jl=!1,tu=eu=$l=Ql=Zl=Xl=0,ru=nu=null,iu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return Yl=t,li(),n}function Ou(e,t){N=null,D.H=qs,t===ja||t===Na?(t=za(),G=3):t===Ma?(t=za(),G=4):G=t===dc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Gl=t,U===null&&(Xl=1,ac(e,Di(t,e.current)))}function ku(){var e=fo.current;return e===null?!0:(W&4194048)===W?po===null:(W&62914560)===W||W&536870912?e===po:!1}function Au(){var e=D.H;return D.H=qs,e===null?qs:e}function ju(){var e=D.A;return D.A=Ul,e}function Mu(){Xl=4,Kl||(W&4194048)!==W&&fo.current!==null||(ql=!0),!(Zl&134217727)&&!(Ql&134217727)||H===null||wu(H,W,eu,!1)}function Nu(e,t,n){var r=V;V|=2;var i=Au(),a=ju();(H!==e||W!==t)&&(cu=null,Du(e,t)),t=!1;var o=Xl;a:do try{if(G!==0&&U!==null){var s=U,c=Gl;switch(G){case 8:Eu(),o=6;break a;case 3:case 2:case 9:case 6:fo.current===null&&(t=!0);var l=G;if(G=0,Gl=null,zu(e,s,c,l),n&&ql){o=0;break a}break;default:l=G,G=0,Gl=null,zu(e,s,c,l)}}Pu(),o=Xl;break}catch(t){Ou(e,t)}while(1);return t&&e.shellSuspendCounter++,na=ta=null,V=r,D.H=i,D.A=a,U===null&&(H=null,W=0,li()),o}function Pu(){for(;U!==null;)Lu(U)}function Fu(e,t){var n=V;V|=2;var r=Au(),i=ju();H!==e||W!==t?(cu=null,su=Fe()+500,Du(e,t)):ql=rt(e,t);a:do try{if(G!==0&&U!==null){t=U;var o=Gl;b:switch(G){case 1:G=0,Gl=null,zu(e,t,o,1);break;case 2:case 9:if(Fa(o)){G=0,Gl=null,Ru(t);break}t=function(){G!==2&&G!==9||H!==e||(G=7),sd(e)},o.then(t,t);break a;case 3:G=7;break a;case 4:G=5;break a;case 7:Fa(o)?(G=0,Gl=null,Ru(t)):(G=0,Gl=null,zu(e,t,o,7));break;case 5:var s=null;switch(U.tag){case 26:s=U.memoizedState;case 5:case 27:var c=U;if(s?Gf(s):c.stateNode.complete){G=0,Gl=null;var l=c.sibling;if(l!==null)U=l;else{var u=c.return;u===null?U=null:(U=u,Bu(u))}break b}}G=0,Gl=null,zu(e,t,o,5);break;case 6:G=0,Gl=null,zu(e,t,o,6);break;case 8:Eu(),Xl=6;break a;default:throw Error(a(462))}}Iu();break}catch(t){Ou(e,t)}while(1);return na=ta=null,D.H=r,D.A=i,V=n,U===null?(H=null,W=0,li(),Xl):0}function Iu(){for(;U!==null&&!Ne();)Lu(U)}function Lu(e){var t=Vc(e.alternate,e,Yl);e.memoizedProps=e.pendingProps,t===null?Bu(e):U=t}function Ru(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Tc(n,t,t.pendingProps,t.type,void 0,W);break;case 11:t=Tc(n,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:zo(t);default:Xc(n,t),t=U=bi(t,Yl),t=Vc(n,t,Yl)}e.memoizedProps=e.pendingProps,t===null?Bu(e):U=t}function zu(e,t,n,r){na=ta=null,zo(t),Va=null,Ha=0;var i=t.return;try{if(uc(e,i,t,n,W)){Xl=1,ac(e,Di(n,e.current)),U=null;return}}catch(t){if(i!==null)throw U=i,t;Xl=1,ac(e,Di(n,e.current)),U=null;return}t.flags&32768?(j||r===1?e=!0:ql||W&536870912?e=!1:(Kl=e=!0,(r===2||r===9||r===3||r===6)&&(r=fo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Vu(t,e)):Bu(t)}function Bu(e){var t=e;do{if(t.flags&32768){Vu(t,Kl);return}e=t.return;var n=Jc(t.alternate,t,Yl);if(n!==null){U=n;return}if(t=t.sibling,t!==null){U=t;return}U=t=e}while(t!==null);Xl===0&&(Xl=5)}function Vu(e,t){do{var n=Yc(e.alternate,e);if(n!==null){n.flags&=32767,U=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){U=e;return}U=e=n}while(e!==null);Xl=6,U=null}function Hu(e,t,n,r,i,o,s,c,l){e.cancelPendingCommit=null;do qu();while(lu!==0);if(V&6)throw Error(a(327));if(t!==null){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,o|=ci,ct(e,n,o,s,c,l),e===H&&(U=H=null,W=0),du=t,uu=e,fu=n,pu=o,mu=i,hu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,td(ze,function(){return Ju(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=D.T,D.T=null,i=O.p,O.p=2,s=V,V|=4;try{pl(e,t,n)}finally{V=s,O.p=i,D.T=r}}lu=1,Uu(),Wu(),Gu()}}function Uu(){if(lu===1){lu=0;var e=uu,t=du,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=V;V|=4;try{El(t,e);var a=Ud,o=Ir(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Fr(s.ownerDocument.documentElement,s)){if(c!==null&&Lr(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 _=Pr(s,h),v=Pr(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=!!Hd,Ud=Hd=null}finally{V=i,O.p=r,D.T=n}}e.current=t,lu=2}}function Wu(){if(lu===2){lu=0;var e=uu,t=du,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=V;V|=4;try{ml(e,t.alternate,t)}finally{V=i,O.p=r,D.T=n}}lu=3}}function Gu(){if(lu===4||lu===3){lu=0,Pe();var e=uu,t=du,n=fu,r=hu;t.subtreeFlags&10256||t.flags&10256?lu=5:(lu=0,du=uu=null,Ku(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(K=null),pt(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=D.T,i=O.p,O.p=2,D.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{D.T=t,O.p=i}}fu&3&&qu(),sd(e),i=e.pendingLanes,n&261930&&i&42?e===_u?gu++:(gu=0,_u=e):gu=0,cd(0,!1)}}function Ku(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,va(t)))}function qu(){return Uu(),Wu(),Gu(),Ju()}function Ju(){if(lu!==5)return!1;var e=uu,t=pu;pu=0;var n=pt(fu),r=D.T,i=O.p;try{O.p=32>n?32:n,D.T=null,n=mu,mu=null;var o=uu,s=fu;if(lu=0,du=uu=null,fu=0,V&6)throw Error(a(331));var c=V;if(V|=4,Bl(o.current),Ml(o,o.current,s,n),V=c,cd(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{O.p=i,D.T=r,Ku(e,t)}}function Yu(e,t,n){t=Di(n,t),t=sc(e.stateNode,t,2),e=$a(e,t,2),e!==null&&(st(e,2),sd(e))}function q(e,t,n){if(e.tag===3)Yu(e,e,n);else for(;t!==null;){if(t.tag===3){Yu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(K===null||!K.has(r))){e=Di(n,e),n=cc(2),r=$a(t,n,2),r!==null&&(lc(n,r,t,e),st(r,2),sd(r));break}}t=t.return}}function Xu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Wl;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)||(Jl=!0,i.add(n),e=Zu.bind(null,e,t,n),t.then(e,e))}function Zu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,H===e&&(W&n)===n&&(Xl===4||Xl===3&&(W&62914560)===W&&300>Fe()-au?!(V&2)&&Du(e,0):$l|=n,tu===W&&(tu=0)),sd(e)}function Qu(e,t){t===0&&(t=at()),e=fi(e,t),e!==null&&(st(e,t),sd(e))}function $u(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qu(e,n)}function ed(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),Qu(e,n)}function td(e,t){return je(e,t)}var nd=null,J=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==J&&e.next===null&&(J===null?nd=J=e:J=J.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=nd;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-qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=W,a=nt(r,r===H?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||rt(r,a)||(n=!0,pd(r,a));r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Jd()&&(e=od);for(var t=Fe(),n=null,r=nd;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?nd=i:n.next=i,i===null&&(J=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}lu!==0&&lu!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=it(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=H,n=W,n=nt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(G===2||G===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||rt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),pt(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=fd.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function fd(e,t){if(lu!==0&&lu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(qu()&&e.callbackNode!==n)return null;var r=W;return r=nt(e,e===H?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(xu(e,r,t),dd(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?fd.bind(null,e):null)}function pd(e,t){if(qu())return null;xu(e,t,!0)}function md(){Xd(function(){V&6?je(Le,ld):ud()})}function hd(){if(od===0){var e=xa;e===0&&(e=Qe,Qe<<=1,!(Qe&261888)&&(Qe=256)),od=e}return od}function gd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:un(``+e)}function _d(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 vd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=gd((i[vt]||null).action),o=r.submitter;o&&(t=(t=o[vt]||null)?gd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Mn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?_d(i,o):new FormData(i);Ns(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?_d(i,o):new FormData(i),Ns(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var yd=0;yd<ri.length;yd++){var bd=ri[yd];ii(bd.toLowerCase(),`on`+(bd[0].toUpperCase()+bd.slice(1)))}ii(Yr,`onAnimationEnd`),ii(Xr,`onAnimationIteration`),ii(Zr,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(Qr,`onTransitionRun`),ii($r,`onTransitionStart`),ii(ei,`onTransitionCancel`),ii(ti,`onTransitionEnd`),Pt(`onMouseEnter`,[`mouseout`,`mouseover`]),Pt(`onMouseLeave`,[`mouseout`,`mouseover`]),Pt(`onPointerEnter`,[`pointerout`,`pointerover`]),Pt(`onPointerLeave`,[`pointerout`,`pointerover`]),Nt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Nt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Nt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Nt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var xd=`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(` `),Sd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(xd));function Cd(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){ai(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){ai(e)}i.currentTarget=null,a=c}}}}function Y(e,t){var n=t[bt];n===void 0&&(n=t[bt]=new Set);var r=e+`__bubble`;n.has(r)||(Dd(t,e,2,!1),n.add(r))}function wd(e,t,n){var r=0;t&&(r|=4),Dd(n,e,r,t)}var Td=`_reactListening`+Math.random().toString(36).slice(2);function Ed(e){if(!e[Td]){e[Td]=!0,jt.forEach(function(t){t!==`selectionchange`&&(Sd.has(t)||wd(t,!1,e),wd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Td]||(t[Td]=!0,wd(`selectionchange`,!1,t))}}function Dd(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,!xn||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 X(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=Et(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}vn(function(){var r=a,i=pn(n),o=[];a:{var c=ni.get(e);if(c!==void 0){var l=Mn,u=e;switch(e){case`keypress`:if(Dn(n)===0)break a;case`keydown`:case`keyup`:l=Yn;break;case`focusin`:u=`focus`,l=Vn;break;case`focusout`:u=`blur`,l=Vn;break;case`beforeblur`:case`afterblur`:l=Vn;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=zn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Bn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Zn;break;case Yr:case Xr:case Zr:l=Hn;break;case ti:l=A;break;case`scroll`:case`scrollend`:l=Pn;break;case`wheel`:l=Qn;break;case`copy`:case`cut`:case`paste`:l=Un;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Xn;break;case`toggle`:case`beforetoggle`:l=$n}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=yn(m,p),g!=null&&d.push(Od(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!==fn&&(u=n.relatedTarget||n.fromElement)&&(Et(u)||u[yt]))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?Et(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=zn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Xn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Ot(l),h=u==null?c:Ot(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Et(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=Ad,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&&jd(o,c,l,d,!1),u!==null&&f!==null&&jd(o,f,u,d,!0)}}a:{if(c=r?Ot(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=yr;else if(pr(c))if(br)v=kr;else{v=Dr;var y=Er}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&sn(r.elementType)&&(v=yr):v=Or;if(v&&=v(e,r)){mr(o,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Qt(c,`number`,c.value)}switch(y=r?Ot(r):window,e){case`focusin`:(pr(y)||y.contentEditable===`true`)&&(zr=y,Br=r,Vr=null);break;case`focusout`:Vr=Br=zr=null;break;case`mousedown`:Hr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Hr=!1,Ur(o,n,i);break;case`selectionchange`:if(Rr)break;case`keydown`:case`keyup`:Ur(o,n,i)}var b;if(tr)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 lr?sr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ir&&n.locale!==`ko`&&(lr||x!==`onCompositionStart`?x===`onCompositionEnd`&&lr&&(b=En()):(Cn=i,wn=`value`in Cn?Cn.value:Cn.textContent,lr=!0)),y=kd(r,x),0<y.length&&(x=new Wn(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=cr(n),b!==null&&(x.data=b)))),(b=rr?ur(e,n):dr(e,n))&&(x=kd(r,`onBeforeInput`),0<x.length&&(y=new Wn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),vd(o,e,r,n,i)}Cd(o,t)})}function Od(e,t,n){return{instance:e,listener:t,currentTarget:n}}function kd(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=yn(e,n),i!=null&&r.unshift(Od(e,i,a)),i=yn(e,t),i!=null&&r.push(Od(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Ad(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function jd(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=yn(n,a),l!=null&&o.unshift(Od(n,l,c))):i||(l=yn(n,a),l!=null&&o.push(Od(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Md=/\r\n?/g,Nd=/\u0000|\uFFFD/g;function Pd(e){return(typeof e==`string`?e:``+e).replace(Md,`
10
+ `).replace(Nd,``)}function Fd(e,t){return t=Pd(t),Pd(e)===t}function Id(e,t,n,r,i,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||nn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&nn(e,``+r);break;case`className`:Bt(e,`class`,r);break;case`tabIndex`:Bt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Bt(e,n,r);break;case`style`:on(e,r,o);break;case`data`:if(t!==`object`){Bt(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=un(``+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`&&Id(e,t,`name`,i.name,i,null),Id(e,t,`formEncType`,i.formEncType,i,null),Id(e,t,`formMethod`,i.formMethod,i,null),Id(e,t,`formTarget`,i.formTarget,i,null)):(Id(e,t,`encType`,i.encType,i,null),Id(e,t,`method`,i.method,i,null),Id(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=un(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=dn);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`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=un(``+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`:Y(`beforetoggle`,e),Y(`toggle`,e),zt(e,`popover`,r);break;case`xlinkActuate`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:zt(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=cn.get(n)||n,zt(e,n,r))}}function Ld(e,t,n,r,i,o){switch(n){case`style`:on(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`?nn(e,r):(typeof r==`number`||typeof r==`bigint`)&&nn(e,``+r);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=dn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Mt.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[vt]||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,``):zt(e,n,r)}}}function Rd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Y(`error`,e),Y(`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:Id(e,t,o,s,n,null)}}i&&Id(e,t,`srcSet`,n.srcSet,n,null),r&&Id(e,t,`src`,n.src,n,null);return;case`input`:Y(`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:Id(e,t,r,d,n,null)}}Zt(e,o,c,l,u,s,i,!1);return;case`select`:for(i in Y(`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:Id(e,t,i,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&$t(e,!!r,n,!0):$t(e,!!r,t,!1);return;case`textarea`:for(s in Y(`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:Id(e,t,s,c,n,null)}tn(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:Id(e,t,l,r,n,null)}return;case`dialog`:Y(`beforetoggle`,e),Y(`toggle`,e),Y(`cancel`,e),Y(`close`,e);break;case`iframe`:case`object`:Y(`load`,e);break;case`video`:case`audio`:for(r=0;r<xd.length;r++)Y(xd[r],e);break;case`image`:Y(`error`,e),Y(`load`,e);break;case`details`:Y(`toggle`,e);break;case`embed`:case`source`:case`link`:Y(`error`,e),Y(`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:Id(e,t,u,r,n,null)}return;default:if(sn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Ld(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Id(e,t,c,r,n,null))}function zd(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)||Id(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&&Id(e,t,p,m,r,f)}}Xt(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)||Id(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&&Id(e,t,i,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?$t(e,!!n,n?[]:``,!1):$t(e,!!n,t,!0)):$t(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:Id(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&&Id(e,t,s,i,r,o)}en(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:Id(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:Id(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)&&Id(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:Id(e,t,u,p,r,m)}return;default:if(sn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Ld(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||Ld(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Id(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||Id(e,t,f,p,r,m)}function Bd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Vd(){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&&Bd(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&&Bd(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 Hd=null,Ud=null;function Wd(e){return e.nodeType===9?e:e.ownerDocument}function Gd(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 Kd(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 qd(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 Z=null;function Jd(){var e=window.event;return e&&e.type===`popstate`?e===Z?!1:(Z=e,!0):(Z=null,!1)}var Q=typeof setTimeout==`function`?setTimeout:void 0,$=typeof clearTimeout==`function`?clearTimeout:void 0,Yd=typeof Promise==`function`?Promise:void 0,Xd=typeof queueMicrotask==`function`?queueMicrotask:Yd===void 0?Q:function(e){return Yd.resolve(null).then(e).catch(Zd)};function Zd(e){setTimeout(function(){throw e})}function Qd(e){return e===`head`}function $d(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`)mf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[wt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&mf(e.ownerDocument.body);n=i}while(n);Pp(t)}function ef(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 tf(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`:tf(n),Tt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function nf(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[wt])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=lf(e.nextSibling),e===null)break}return null}function rf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lf(e.nextSibling),e===null))return null;return e}function af(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lf(e.nextSibling),e===null))return null;return e}function of(e){return e.data===`$?`||e.data===`$~`}function sf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cf(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 lf(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 uf=null;function df(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function ff(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 pf(e,t,n){switch(t=Wd(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 mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tt(e)}var hf=new Map,gf=new Set;function _f(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vf=O.d;O.d={f:yf,r:bf,D:Cf,C:wf,L:Tf,m:Ef,X:Of,S:Df,M:kf};function yf(){var e=vf.f(),t=Tu();return e||t}function bf(e){var t=Dt(e);t!==null&&t.tag===5&&t.type===`form`?Fs(t):vf.r(e)}var xf=typeof document>`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Yt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Rd(t,`link`,e),At(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Yt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Yt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Yt(n.imageSizes)+`"]`)):i+=`[href="`+Yt(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Rd(t,`link`,e),At(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Yt(r)+`"][href="`+Yt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Rd(r,`link`,e),At(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=kt(r).hoistableStyles,a=jf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);At(c),Rd(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,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=kt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),At(a),Rd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=kt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),At(a),Rd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var i=(i=_e.current)?_f(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=jf(n.href),n=kt(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=jf(n.href);var o=kt(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(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.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},hf.set(e,n),o||Pf(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=Ff(n),n=kt(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 jf(e){return`href="`+Yt(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(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}),Rd(t,`link`,n),At(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Yt(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Yt(n.href)+`"]`);if(r)return t.instance=r,At(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`),At(r),Rd(r,`style`,i),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=jf(n.href);var o=e.querySelector(Mf(i));if(o)return t.state.loading|=4,t.instance=o,At(o),o;r=Nf(n),(i=hf.get(i))&&zf(r,i),o=(e.ownerDocument||e).createElement(`link`),At(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Rd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(i=e.querySelector(If(o)))?(t.instance=i,At(i),i):(r=n,(i=hf.get(o))&&(r=m({},n),Bf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),At(i),Rd(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,Rf(r,n.precedence,e));return t.instance}function Rf(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 zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Vf=null;function Hf(e,t,n){if(Vf===null){var r=new Map,i=Vf=new Map;i.set(n,r)}else i=Vf,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[wt]||a[_t]||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=jf(r.href),a=t.querySelector(Mf(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,At(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),At(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Rd(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*Vd());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:le,_currentValue2:le,_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=ot(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ot(0),this.hiddenUpdates=ot(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=_i(3,null,null,t),e.current=a,a.stateNode=e,t=_a(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Xa(a),e}function np(e){return e?(e=hi,e):hi}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Qa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=$a(e,r,t),n!==null&&(bu(n,e,t),eo(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=fi(e,67108864);t!==null&&bu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=vu();t=ft(t);var n=fi(e,t);n!==null&&bu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=2,dp(e,t,n,r)}finally{O.p=a,D.T=i}}function up(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=8,dp(e,t,n,r)}finally{O.p=a,D.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)X(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=Dt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=tt(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}sd(a),!(V&6)&&(su=Fe()+500,cd(0,!1))}}break;case 31:case 13:s=fi(a,2),s!==null&&bu(s,a,2),Tu(),ap(a,2)}if(a=fp(r),a===null&&X(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else X(e,t,r,null,n)}}function fp(e){return e=pn(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=Et(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(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve: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=Dt(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=Et(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,ht(e.priority,function(){sp(n)});return}}else if(t===31){if(t=l(n),t!==null){e.blockedOn=t,ht(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);fn=r,n.target.dispatchEvent(r),fn=null}else return t=Dt(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=Dt(n);a!==null&&(e.splice(t,3),t-=3,Ns(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[vt]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[vt]||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,vu(),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),Tu(),t[yt]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=mt();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`));O.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:D,reconcilerVersion:`19.2.7`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{We=Bp.inject(zp),Ge=Bp}catch{}}t.hydrateRoot=function(e,t,n){if(!o(e))throw Error(a(299));var r=!1,i=``,s=nc,c=rc,l=ic,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=vu(),r=ft(r),i=Qa(r),i.callback=null,$a(n,i,r),n=r,t.current.lanes=n,st(t,n),sd(t),e[yt]=t.current,Ed(e),new Lp(t)}})),Ze=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=Xe()})),Qe=`__TSS_CONTEXT`,$e=Symbol.for(`TSS_SERVER_FUNCTION`),et=`application/x-tss-framed`,tt={JSON:0,CHUNK:1,END:2,ERROR:3};`${et}`;var nt=/;\s*v=(\d+)/;function rt(e){let t=e.match(nt);return t?parseInt(t[1],10):void 0}function it(e){let t=rt(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 at=()=>window.__TSS_START_OPTIONS__;function ot(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 st(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function ct(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]=st(r):Array.isArray(t)?t.push(st(r)):n[e]=[t,st(r)]}return n}function lt(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(()=>ut(o,_.get())),x=r(()=>ut(s,v.get())),S=r(()=>ut(c,y.get())),C=r(()=>_.get()[0]),w=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),E=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),ee=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()})),te=le(64);function ne(e){let t=te.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()}}),te.set(e,t)),t}let re={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:C,hasPending:w,matchRouteDeps:E,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:ee,getRouteMatchStore:ne,setMatches:ie,setPending:ae,setCached:oe};ie(e.matches),a?.(re);function ie(e){dt(e,o,_,n,i)}function ae(e){dt(e,s,v,n,i)}function oe(e){dt(e,c,y,n,i)}return re}function ut(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function dt(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)}je(n.get(),a)||n.set(a)})}function ft(){try{return sessionStorage}catch{return}}var pt=`tsr-scroll-restoration-v1_3`,mt=ft();function ht(){try{return JSON.parse(mt?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}function gt(){try{mt?.setItem(pt,JSON.stringify(_t))}catch{}}var _t=ht(),vt=`data-scroll-restoration-id`,yt=e=>e.state.__TSR_key||e.href;function bt(e){let t=e.getAttribute(vt);if(t)return`[${vt}="${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 xt=!1,St=`window`;function Ct(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function wt(e){let t=[];for(let n of e){if(n===St)continue;let e=Ct(n);e&&t.push(e)}return t}function Tt(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.restoring=!0);let i=e.options.getScrollRestorationKey||yt,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(!(xt||!r.restoring))if(e.target===document)o(St,scrollX,scrollY);else{let t=e.target;o(t,t.scrollLeft,t.scrollTop)}},c=e=>{if(!r.restoring)return;let t=_t[e]||={};for(let[e,n]of a)e===St?t[St]=n:e.isConnected&&(t[bt(e)]=n)};n&&!r.restoration&&(r.restoration=!0,xt=!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())),gt()})),!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=_t[u];if(e){let t=_t[l];for(let n in e){if(n===St){if(s)continue}else{let e=Ct(n);if(!e||s&&o&&(c??=wt(o),c.includes(e)))continue}t||=_t[l]={},t[n]??=e[n]}}}xt=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){let s=mn.get(t.toLocation),u=e&&i&&(s===`PUSH`||s===`REPLACE`),d=r.restoring?_t[l]:void 0;if(d)for(let e in d){let{scrollX:t,scrollY:r}=d[e];if(e===St){if(u)continue;scrollTo({top:r,left:t,behavior:n}),a=!0}else{let n=Ct(e);n&&(n.scrollLeft=t,n.scrollTop=r)}}if(!a&&!e){let e={top:0,left:0,behavior:n};if(scrollTo(e),o){c??=wt(o);for(let t of c)t.scrollTo(e)}}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{xt=!1}}))}var Et=Ot(JSON.parse),Dt=kt(JSON.stringify,JSON.parse);function Ot(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=ct(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function kt(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=ot(e,r);return t?`?${t}`:``}}var At=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},jt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Mt=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Nt=(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},Pt=(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},Ft=(e,t,n)=>{if(!(!E(n)&&!Oe(n)))throw E(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:E(n)?`redirected`:Oe(n)?`notFound`:r.status===`pending`?`success`:r.status,context:Nt(e,t.index),isFetching:!1,error:n})),Oe(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),E(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},It=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},Lt=(e,t,n)=>{let r=Nt(e,n);e.updateMatch(t,e=>({...e,context:r}))},Rt=(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,Ft(e,e.router.getMatch(r),n);try{a.options.onError?.(n)}catch(t){n=t,Ft(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&&!E(n)&&!Oe(n)&&(e.serialError??=n)},zt=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Mt(e,t)&&(n.options.loader||n.options.beforeLoad||Xt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{At(e)},i);r._nonReactive.pendingTimeout=t}},Bt=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;zt(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&Ft(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},Vt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=Fe(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&Rt(e,n,o),s&&Rt(e,n,s),zt(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=Fe();let f={...Nt(e,n,!1),...i.__routeContext},{search:p,params:h,cause:g}=i,_=Mt(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}(E(r)||Oe(r))&&(u(),Rt(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=>{Rt(e,n,t)}).then(y)}catch(t){u(),Rt(e,n,t)}y(b)},Ht=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>Vt(e,n,t,i),s=()=>{if(It(e,n))return;let t=Bt(e,n,i);return m(t)?t.then(o):o()};return a()},Ut=(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}))},Wt=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=Nt(e,r),d=Mt(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}},Gt=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{Yt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(Wt(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;Ft(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:Nt(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:Nt(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,Oe(t)&&await i.options.notFoundComponent?.preload?.(),Ft(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,Ft(e,e.router.getMatch(n),t)}!E(o)&&!Oe(o)&&await Yt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:Nt(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),Ft(e,r,t)}},Kt=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(Wt(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 Gt(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){E(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await Gt(e,t,i,n,d):Lt(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(It(e,i)){if(!e.router.getMatch(i))return e.matches[n];Lt(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=Mt(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&&Ft(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=Fe(),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 qt(e){let t=e,n=[];jt(t.router)&&At(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=Ht(t,e);m(n)&&await n}catch(e){if(E(e))throw e;if(Oe(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?Pt(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(Kt(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(E(e))throw e;Oe(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=Pt(t,l);e===void 0&&O();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 Yt(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 Yt(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=Ut(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=At(t);if(m(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function Jt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function Yt(e,t=Zt){!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===Zt?(()=>{if(e._componentsPromise===void 0){let t=Jt(e,Zt);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():Jt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Xt(e){for(let t of Zt)if(e.options[t]?.preload)return!0;return!1}var Zt=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`];function Qt(e){return{input:({url:t})=>{for(let n of e)t=en(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=tn(e[n],t);return t}}}function $t(e){let t=Ee(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=ne([`/`,t,e.pathname]),e)}}function en(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 tn(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 nn=`__TSR_index`,rn=`popstate`,an=`beforeunload`;function on(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=un(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[nn];i=sn(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[nn];i=sn(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[nn]!==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 sn(e,t){t||={};let n=dn();return{...t,key:n,__TSR_key:n,[nn]:e}}function cn(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??(()=>un(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=dn();t.history.replaceState({[nn]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=un(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[nn]-l.state[nn],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),C.notify(u);return}}}l=c(),C.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=``},C=on({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(an,S,{capture:!0}),t.removeEventListener(rn,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(an,S,{capture:!0}),t.addEventListener(rn,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function ln(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function un(e,t){let n=ln(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=dn();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||{[nn]:0,key:a,__TSR_key:a}}}function dn(){return(Math.random()+1).toString(36).substring(7)}function fn(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function pn(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 mn=new WeakMap,hn=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=Te(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=cn()),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=le(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=lt(vn(this.latestLocation),e),Tt(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=Ee(o);t&&t!==`/`&&e.push($t({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:Qt(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=_e(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&Se(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:re(e).path,external:!1,searchStr:s,search:i(t?.search,a),hash:re(r.slice(1)).path,state:pe(t?.state,o)}}let s=new URL(a,this.origin),c=en(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:re(c.pathname).path,external:!!this.rewrite&&c.origin!==this.origin,searchStr:u,search:i(t?.search,l),hash:re(c.hash.slice(1)).path,state:pe(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)=>be({base:e,to:t.includes(`//`)?ye(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=>bn({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,Ne(t.params,c)),f=this.routesByPath[ie(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:re(de({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,yn(t.options.validateSearch,{...e,...h}))}catch{}}),h=e}h=xn({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?Ne(t.hash,n.hash):void 0,b=_?`#${_}`:``,x=t.state===!0?n.state:t.state?Ne(t.state,n.state):{};x=pe(n.state,x);let S=`${m}${g}${b}`,C,w,E=!1;if(this.rewrite){let e=new URL(S,this.origin),t=tn(this.rewrite,e);C=e.href.replace(e.origin,``),t.origin===this.origin?w=t.pathname+t.search+t.hash:(w=t.href,E=!0)}else C=v(S),w=C;return{publicHref:w,href:C,pathname:m,search:h,searchStr:g,state:x,hash:_??``,external:E,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=Ae(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,Ne(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=Pe(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},a=ie(this.latestLocation.href)===ie(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=Fe(()=>{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=un(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=en(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?mn.set(this.latestLocation,t):mn.delete(this.latestLocation);let n=this.latestLocation,r=pn(n,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await qt({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){E(e)?(n=e,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):Oe(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(pn(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=Yt,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 qt({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(E(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});Oe(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=D(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!Pe(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?Pe(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??Dt,parseSearch:e.parseSearch??Et,protocolAllowlist:e.protocolAllowlist??ee}),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=he(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[`**`]:ie(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let c=s?Cn(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=yn(r.options.validateSearch,{...n})??void 0;d={...n,...e},f={...i,...e},p=void 0}catch(e){let r=e;if(e instanceof gn||(r=new gn(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:_}=de({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{wn(r,x)}catch(e){if(S=Oe(e)||E(e)?e:new _n(e.message,{cause:e}),t?.throwOnError)throw S}Object.assign(a,x);let C=b?`stay`:`enter`,w;if(y)w={...y,cause:C,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||Xt(r)?`pending`:`success`;w={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:Fe()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:C,loaderDeps:b?pe(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||(w.globalNotFound=c===r.id),w.searchError=p;let ee=this.getParentContext(s);w.context={...ee,...w.__routeContext,...w.__beforeLoadContext},l[n]=w}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=me(t),i={...e.search};for(let e of t)try{Object.assign(i,yn(e.options.validateSearch,i))}catch{}let a=me(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{wn(n,e)}catch{}c=e}return{matchedRoutes:t,fullPath:r.fullPath,search:i,params:c}}},gn=class extends Error{},_n=class extends Error{};function vn(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function yn(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new gn(`Async validation not supported`);if(n.issues)throw new gn(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 bn({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=ie(e),a,o=oe(i,n,!0);return o&&(a=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:o?.branch||[t.__root__],routeParams:r,foundRoute:a}}function xn({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return Sn(n)(e,t,r??!1)}function Sn(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=yn(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=Ne(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 Cn(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 se}function wn(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 Tn=Symbol.for(`TSR_DEFERRED_PROMISE`);function En(e,t){let n=e;return n[Tn]?n:(n[Tn]={status:`pending`},n.then(e=>{n[Tn].status=`success`,n[Tn].data=e}).catch(e=>{n[Tn].status=`error`,n[Tn].error={data:(t?.serializeError??fn)(e),__isServerError:!0}}),n)}function Dn(e,t){if(e)return typeof e==`string`?e:e[t]}function On(e){return e?.scriptFormat??`module`}function kn(e,t,n){let r=An(t),i=Dn(n,`script`)??r.crossOrigin;return{...On(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function An(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function jn(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 Mn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}var Nn=(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))(Nn||{}),Pn=Symbol.asyncIterator,Fn=Symbol.hasInstance,In=Symbol.isConcatSpreadable,Ln=Symbol.iterator,Rn=Symbol.match,zn=Symbol.matchAll,Bn=Symbol.replace,Vn=Symbol.search,Hn=Symbol.species,Un=Symbol.split,Wn=Symbol.toPrimitive,Gn=Symbol.toStringTag,Kn=Symbol.unscopables,qn={[Pn]:0,[Fn]:1,[In]:2,[Ln]:3,[Rn]:4,[zn]:5,[Bn]:6,[Vn]:7,[Hn]:8,[Un]:9,[Wn]:10,[Gn]:11,[Kn]:12},Jn={0:Pn,1:Fn,2:In,3:Ln,4:Rn,5:zn,6:Bn,7:Vn,8:Hn,9:Un,10:Wn,11:Gn,12:Kn},k=void 0,Yn={2:!0,3:!1,1:k,0:null,4:-0,5:1/0,6:-1/0,7:NaN},Xn={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},Zn={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function A(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 Qn(e){return A(2,k,e,k,k,k,k,k,k,k,k,k)}var $n=Qn(2),er=Qn(3),tr=Qn(1),nr=Qn(0),rr=Qn(4),ir=Qn(5),ar=Qn(6),or=Qn(7);function sr(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 k}}function cr(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=sr(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function lr(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 ur(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,lr)}var dr=`__SEROVAL_REFS__`,fr=new Map,pr=new Map;function mr(e){return fr.has(e)}function hr(e){return pr.has(e)}function gr(e){if(mr(e))return fr.get(e);throw new ii(e)}function _r(e){if(hr(e))return pr.get(e);throw new ai(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,dr,{value:pr,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,dr,{value:pr,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,dr,{value:pr,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,dr,{value:pr,configurable:!0,writable:!1,enumerable:!1});function vr(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 yr(e){let t=Xn[vr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function br(e,t){let n=yr(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 xr(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function Sr(e){switch(e){case 1/0:return ir;case-1/0:return ar}return e===e?Object.is(e,-0)?rr:A(0,k,e,k,k,k,k,k,k,k,k,k):or}function Cr(e){return A(1,k,cr(e),k,k,k,k,k,k,k,k,k)}function wr(e){return A(3,k,``+e,k,k,k,k,k,k,k,k,k)}function Tr(e){return A(4,e,k,k,k,k,k,k,k,k,k,k)}function Er(e,t){let n=t.valueOf();return A(5,e,n===n?t.toISOString():``,k,k,k,k,k,k,k,k,k)}function Dr(e,t){return A(6,e,k,cr(t.source),t.flags,k,k,k,k,k,k,k)}function Or(e,t){return A(17,e,qn[t],k,k,k,k,k,k,k,k,k)}function kr(e,t){return A(18,e,cr(gr(t)),k,k,k,k,k,k,k,k,k)}function Ar(e,t,n){return A(25,e,n,cr(t),k,k,k,k,k,k,k,k)}function jr(e,t,n){return A(9,e,k,k,k,k,k,n,k,k,xr(t),k)}function Mr(e,t){return A(21,e,k,k,k,k,k,k,t,k,k,k)}function Nr(e,t,n){return A(15,e,k,t.constructor.name,k,k,k,k,n,t.byteOffset,k,t.length)}function Pr(e,t,n){return A(16,e,k,t.constructor.name,k,k,k,k,n,t.byteOffset,k,t.byteLength)}function Fr(e,t,n){return A(20,e,k,k,k,k,k,k,n,t.byteOffset,k,t.byteLength)}function Ir(e,t,n){return A(13,e,vr(t),k,cr(t.message),n,k,k,k,k,k,k)}function Lr(e,t,n){return A(14,e,vr(t),k,cr(t.message),n,k,k,k,k,k,k)}function Rr(e,t){return A(7,e,k,k,k,k,k,t,k,k,k,k)}function zr(e,t){return A(28,k,k,k,k,k,k,[e,t],k,k,k,k)}function Br(e,t){return A(30,k,k,k,k,k,k,[e,t],k,k,k,k)}function Vr(e,t,n){return A(31,e,k,k,k,k,k,n,t,k,k,k)}function Hr(e,t){return A(32,e,k,k,k,k,k,k,t,k,k,k)}function Ur(e,t){return A(33,e,k,k,k,k,k,k,t,k,k,k)}function Wr(e,t){return A(34,e,k,k,k,k,k,k,t,k,k,k)}function Gr(e,t,n,r){return A(35,e,n,k,k,k,k,t,k,k,k,r)}var{toString:Kr}=Object.prototype,qr={parsing:1,serialization:2,deserialization:3};function Jr(e){return`Seroval Error (step: ${qr[e]})`}var Yr=(e,t)=>Jr(e),Xr=class extends Error{constructor(e,t){super(Yr(e,t)),this.cause=t}},Zr=class extends Xr{constructor(e){super(`parsing`,e)}},Qr=class extends Xr{constructor(e){super(`deserialization`,e)}};function $r(e){return`Seroval Error (specific: ${e})`}var ei=class extends Error{constructor(e){super($r(1)),this.value=e}},ti=class extends Error{constructor(e){super($r(2))}},ni=class extends Error{constructor(e){super($r(3))}},ri=class extends Error{constructor(e){super($r(4))}},ii=class extends Error{constructor(e){super($r(5)),this.value=e}},ai=class extends Error{constructor(e){super($r(6))}},oi=class extends Error{constructor(e){super($r(7))}},si=class extends Error{constructor(e){super($r(8))}},ci=class extends Error{constructor(e){super($r(9))}},li=class{constructor(e,t){this.value=e,this.replacement=t}},ui=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};ui.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 di=()=>{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)}}};di.toString();var fi=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};fi.toString();var pi=(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};pi.toString();var mi=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};mi.toString();function hi(e){return`__SEROVAL_SEQUENCE__`in e}function gi(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function _i(e){let t=[],n=-1,r=-1,i=e[Ln]();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 gi(t,n,r)}var vi=fi(Ln);function yi(e){return vi(e)}var bi={},xi={},Si={0:{},1:{},2:{},3:{},4:{},5:{}};function Ci(e){return`__SEROVAL_STREAM__`in e}function wi(){return di()}function Ti(e){let t=wi(),n=e[Pn]();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 Ei=pi(Pn,ui);function Di(e){return Ei(e)}async function Oi(e){try{return[1,await e]}catch(e){return[0,e]}}function ki(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 Ai(e,t){e.marked.add(t)}function ji(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function Mi(e,t){let n=e.refs.get(t);return n==null?{type:0,value:ji(e,t)}:(Ai(e,n),{type:1,value:Tr(n)})}function Ni(e,t){let n=Mi(e,t);return n.type===1?n:mr(t)?{type:2,value:kr(n.value,t)}:n}function Pi(e,t){let n=Ni(e,t);if(n.type!==0)return n.value;if(t in qn)return Or(n.value,t);throw new ei(t)}function Fi(e,t){let n=Mi(e,Si[t]);return n.type===1?n.value:A(26,n.value,t,k,k,k,k,k,k,k,k,k)}function Ii(e){let t=Mi(e,bi);return t.type===1?t.value:A(27,t.value,k,k,k,k,k,k,Pi(e,Ln),k,k,k)}function Li(e){let t=Mi(e,xi);return t.type===1?t.value:A(29,t.value,k,k,k,k,k,[Fi(e,1),Pi(e,Pn)],k,k,k,k)}function Ri(e,t,n,r){return A(n?11:10,e,k,k,k,r,k,k,k,k,xr(t),k)}function zi(e,t,n,r){return A(8,t,k,k,k,k,{k:n,v:r},k,Fi(e,0),k,k,k)}function Bi(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 A(19,t,cr(btoa(i)),k,k,k,k,k,Fi(e,5),k,k,k)}function Vi(e,t){return{base:ki(e,t),child:void 0}}var Hi=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return sa(this._p,this.depth,e)}};async function Ui(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await sa(e,t,n[i]):r[i]=0;return r}async function j(e,t,n,r){return jr(n,r,await Ui(e,t,r))}async function Wi(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(cr(r[n][0])),a.push(await sa(e,t,r[n][1]));return Ln in n&&(i.push(Pi(e.base,Ln)),a.push(zr(Ii(e.base),await sa(e,t,_i(n))))),Pn in n&&(i.push(Pi(e.base,Pn)),a.push(Br(Li(e.base),await sa(e,t,Ti(n))))),Gn in n&&(i.push(Pi(e.base,Gn)),a.push(Cr(n[Gn]))),In in n&&(i.push(Pi(e.base,In)),a.push(n[In]?$n:er)),{k:i,v:a}}async function Gi(e,t,n,r,i){return Ri(n,r,i,await Wi(e,t,r))}async function Ki(e,t,n,r){return Mr(n,await sa(e,t,r.valueOf()))}async function qi(e,t,n,r){return Nr(n,r,await sa(e,t,r.buffer))}async function Ji(e,t,n,r){return Pr(n,r,await sa(e,t,r.buffer))}async function Yi(e,t,n,r){return Fr(n,r,await sa(e,t,r.buffer))}async function Xi(e,t,n,r){let i=br(r,e.base.features);return Ir(n,r,i?await Wi(e,t,i):k)}async function Zi(e,t,n,r){let i=br(r,e.base.features);return Lr(n,r,i?await Wi(e,t,i):k)}async function Qi(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await sa(e,t,n)),a.push(await sa(e,t,o));return zi(e.base,n,i,a)}async function $i(e,t,n,r){let i=[];for(let n of r.keys())i.push(await sa(e,t,n));return Rr(n,i)}async function ea(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 Ar(n,o.tag,await o.parse.async(r,new Hi(e,t),{id:n}))}return k}async function ta(e,t,n,r){let[i,a]=await Oi(r);return A(12,n,i,k,k,k,k,k,await sa(e,t,a),k,k,k)}function na(e,t,n,r,i){let a=[],o=n.on({next:n=>{Ai(this.base,t),sa(this,e,n).then(e=>{a.push(Hr(t,e))},e=>{i(e),o()})},throw:n=>{Ai(this.base,t),sa(this,e,n).then(e=>{a.push(Ur(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{Ai(this.base,t),sa(this,e,n).then(e=>{a.push(Wr(t,e)),r(a),o()},e=>{i(e),o()})}})}async function ra(e,t,n,r){return Vr(n,Fi(e.base,4),await new Promise(na.bind(e,t,n,r)))}async function ia(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await sa(e,t,r.v[n]);return Gr(n,i,r.t,r.d)}async function aa(e,t,n,r){if(Array.isArray(r))return j(e,t,n,r);if(Ci(r))return ra(e,t,n,r);if(hi(r))return ia(e,t,n,r);let i=r.constructor;if(i===li)return sa(e,t,r.replacement);let a=await ea(e,t,n,r);if(a)return a;switch(i){case Object:return Gi(e,t,n,r,!1);case k:return Gi(e,t,n,r,!0);case Date:return Er(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Xi(e,t,n,r);case Number:case Boolean:case String:case BigInt:return Ki(e,t,n,r);case ArrayBuffer:return Bi(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return qi(e,t,n,r);case DataView:return Yi(e,t,n,r);case Map:return Qi(e,t,n,r);case Set:return $i(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return ta(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return Dr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return Ji(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return Zi(e,t,n,r);if(r instanceof Error)return Xi(e,t,n,r);if(Ln in r||Pn in r)return Gi(e,t,n,r,!!i);throw new ei(r)}async function oa(e,t,n){let r=Ni(e.base,n);if(r.type!==0)return r.value;let i=await ea(e,t,r.value,n);if(i)return i;throw new ei(n)}async function sa(e,t,n){switch(typeof n){case`boolean`:return n?$n:er;case`undefined`:return tr;case`string`:return Cr(n);case`number`:return Sr(n);case`bigint`:return wr(n);case`object`:if(n){let r=Ni(e.base,n);return r.type===0?await aa(e,t+1,r.value,n):r.value}return nr;case`symbol`:return Pi(e.base,n);case`function`:return oa(e,t,n);default:throw new ei(n)}}async function ca(e,t){try{return await sa(e,0,t)}catch(e){throw e instanceof Zr?e:new Zr(e)}}var la=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(la||{});function ua(e){return e}function da(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&da(e,r.extends))}}function fa(e){if(e){let t=new Set;return da(t,e),[...t]}}function pa(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 oi(e)}}var ma=1e6,ha=1e4,ga=2e4;function _a(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 va=1e3;function ya(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||va}}function ba(e){return{mode:2,base:ya(2,e),child:k}}var xa=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return M(this._p,this.depth,e)}};function Sa(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new si({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function Ca(e,t,n){return Sa(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function wa(e,t,n){return Sa(e.base,t),e.base.refs.set(t,n),n}function Ta(e,t,n){return e.mode===1?Ca(e,t,n):wa(e,t,n)}function Ea(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new si(e)}function Da(e,t){return Ta(e,t.i,_r(ur(t.s)))}function Oa(e,t,n){let r=n.a,i=r.length,a=Ta(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=M(e,t,o));return _a(a,n.o),a}function ka(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function Aa(e){switch(e){case Pn:case In:case Gn:case Ln:return!0;default:return!1}}function ja(e,t,n){ka(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function Ma(e,t,n,r,i){if(typeof r==`string`)ja(n,ur(r),M(e,t,i));else{let a=M(e,t,r);switch(typeof a){case`string`:ja(n,a,M(e,t,i));break;case`symbol`:Aa(a)&&(n[a]=M(e,t,i));break;default:throw new si(r)}}}function Na(e,t,n){e.base.refs.types.set(t,n)}function Pa(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new si(t)}function Fa(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++)Ma(e,t,r,i[a],o[a]);return r}function Ia(e,t,n){let r=Ta(e,n.i,n.t===10?{}:Object.create(null));return Fa(e,t,n.p,r),_a(r,n.o),r}function La(e,t){return Ta(e,t.i,new Date(t.s))}function Ra(e,t){if(e.base.features&32){let n=ur(t.c);if(n.length>ga)throw new si(t);return Ta(e,t.i,new RegExp(n,t.m))}throw new ti(t)}function za(e,t,n){let r=Ta(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(M(e,t,a[i]));return r}function Ba(e,t,n){let r=Ta(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(M(e,t,a[i]),M(e,t,o[i]));return r}function Va(e,t){if(t.s.length>ma)throw new si(t);return Ta(e,t.i,mi(ur(t.s)))}function Ha(e,t,n){let r=pa(n.c),i=M(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new si(n);return Ta(e,n.i,new r(i,a,n.l))}function Ua(e,t,n){let r=M(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new si(n);return Ta(e,n.i,new DataView(r,i,n.l))}function Wa(e,t,n,r){if(n.p){let i=Fa(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function Ga(e,t,n){return Wa(e,t,n,Ta(e,n.i,AggregateError([],ur(n.m))))}function Ka(e,t,n){let r=Ea(n,Zn,n.s);return Wa(e,t,n,Ta(e,n.i,new r(ur(n.m))))}function qa(e,t,n){let r=ui(),i=Ta(e,n.i,r.p),a=M(e,t,n.f);return n.s?r.s(a):r.f(a),i}function Ja(e,t,n){return Ta(e,n.i,Object(M(e,t,n.f)))}function Ya(e,t,n){let r=e.base.plugins;if(r){let i=ur(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return Ta(e,n.i,o.deserialize(n.s,new xa(e,t),{id:n.i}))}}throw new ni(n.c)}function Xa(e,t){let n=Ta(e,t.i,Ta(e,t.s,ui()).p);return Na(e,t.s,22),n}function Za(e,t,n){let r=e.base.refs.get(n.i);if(r)return Pa(e,n,n.i,22),r.s(M(e,t,n.a[1])),k;throw new ri(`Promise`)}function Qa(e,t,n){let r=e.base.refs.get(n.i);if(r)return Pa(e,n,n.i,22),r.f(M(e,t,n.a[1])),k;throw new ri(`Promise`)}function $a(e,t,n){return M(e,t,n.a[0]),yi(M(e,t,n.a[1]))}function eo(e,t,n){return M(e,t,n.a[0]),Di(M(e,t,n.a[1]))}function to(e,t,n){let r=Ta(e,n.i,wi());Na(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)M(e,t,i[n]);return r}function no(e,t,n){let r=e.base.refs.get(n.i);if(r)return Pa(e,n,n.i,31),r.next(M(e,t,n.f)),k;throw new ri(`Stream`)}function ro(e,t,n){let r=e.base.refs.get(n.i);if(r)return Pa(e,n,n.i,31),r.throw(M(e,t,n.f)),k;throw new ri(`Stream`)}function io(e,t,n){let r=e.base.refs.get(n.i);if(r)return Pa(e,n,n.i,31),r.return(M(e,t,n.f)),k;throw new ri(`Stream`)}function ao(e,t,n){return M(e,t,n.f),k}function oo(e,t,n){return M(e,t,n.a[1]),k}function so(e,t,n){let r=Ta(e,n.i,gi([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=M(e,t,n.a[i]);return r}function M(e,t,n){if(t>e.base.depthLimit)throw new ci(e.base.depthLimit);switch(t+=1,n.t){case 2:return Ea(n,Yn,n.s);case 0:return Number(n.s);case 1:return ur(String(n.s));case 3:if(String(n.s).length>ha)throw new si(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Da(e,n);case 9:return Oa(e,t,n);case 10:case 11:return Ia(e,t,n);case 5:return La(e,n);case 6:return Ra(e,n);case 7:return za(e,t,n);case 8:return Ba(e,t,n);case 19:return Va(e,n);case 16:case 15:return Ha(e,t,n);case 20:return Ua(e,t,n);case 14:return Ga(e,t,n);case 13:return Ka(e,t,n);case 12:return qa(e,t,n);case 17:return Ea(n,Jn,n.s);case 21:return Ja(e,t,n);case 25:return Ya(e,t,n);case 22:return Xa(e,n);case 23:return Za(e,t,n);case 24:return Qa(e,t,n);case 28:return $a(e,t,n);case 30:return eo(e,t,n);case 31:return to(e,t,n);case 32:return no(e,t,n);case 33:return ro(e,t,n);case 34:return io(e,t,n);case 27:return ao(e,t,n);case 29:return oo(e,t,n);case 35:return so(e,t,n);default:throw new ti(n)}}function co(e,t){try{return M(e,0,t)}catch(e){throw new Qr(e)}}var lo=(()=>T).toString();/=>/.test(lo);function uo(e,t){return co(ba({plugins:fa(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function fo(e,t={}){let n=Vi(1,{plugins:fa(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await ca(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function po(e){return e}function mo(e){return ua({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 ho=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},go=globalThis.Buffer,_o=!!go&&typeof go.from==`function`;function vo(e){if(e.length===0)return``;if(_o)return go.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 yo(e){if(e.length===0)return new Uint8Array;if(_o){let t=go.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 bo=Object.create(null),xo=Object.create(null),N=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(yo(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),So=new TextEncoder,Co=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(So.encode(e)):t.enqueue(yo(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),wo=`(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(_){}}})}}))`,To=`(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 Eo(e){let t=wi(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(vo(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function Do(e){let t=wi(),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:vo(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var Oo=ua({tag:`tss/RawStream`,extends:[ua({tag:`tss/RawStreamFactory`,test(e){return e===bo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return wo},deserialize(e,t,n){return bo}}),ua({tag:`tss/RawStreamFactoryText`,test(e){return e===xo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return To},deserialize(e,t,n){return xo}})],test(e){return e instanceof ho},parse:{sync(e,t,n){let r=e.hint===`text`?xo:bo;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(wi())}},async async(e,t,n){let r=e.hint===`text`?xo:bo,i=e.hint===`text`?Do(e.stream):Eo(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`?xo:bo,i=e.hint===`text`?Do(e.stream):Eo(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`?Co(r):N(r)}});function ko(e){return ua({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 Ao=ua({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))}}),jo={},Mo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),No=ua({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===jo},parse:{sync(){return jo},async async(){return await Promise.resolve(jo)},stream(){return jo}},serialize(){return Mo.toString()},deserialize(){return jo}});function Po(e){let t=wi(),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 Fo=[Ao,Oo,ua({tag:`seroval/plugins/web/ReadableStream`,extends:[No],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(jo),stream:t.parse(wi())}},async async(e,t){return{factory:await t.parse(jo),stream:await t.parse(Po(e))}},stream(e,t){return{factory:t.parse(jo),stream:t.parse(Po(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return Mo(t.deserialize(e.stream))}})];function Io(){return[...(at()?.serializationAdapters)?.map(mo)??[],...Fo]}var Lo=new TextDecoder,Ro=new Uint8Array,zo=16*1024*1024,Bo=32*1024*1024,Vo=1024,Ho=1e5;function Uo(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>=Vo)throw Error(`Too many raw streams in framed response (max ${Vo})`);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 Ro;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>Bo)throw Error(`Framed response buffer exceeded ${Bo} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==tt.JSON&&n!==tt.CHUNK&&n!==tt.END&&n!==tt.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===tt.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>zo)throw Error(`Frame payload too large: ${a} bytes (max ${zo})`);let c=9+a;if(l<c)break;if(++o>Ho)throw Error(`Too many frames in framed response (max ${Ho})`);f(9);let p=f(a);switch(n){case tt.JSON:try{s.enqueue(Lo.decode(p))}catch{}break;case tt.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case tt.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case tt.ERROR:{let e=u(i);if(r.add(i),e){let n=Lo.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 Wo=null;async function Go(e){e.length>0&&await Promise.allSettled(e)}var Ko=Object.prototype.hasOwnProperty;function qo(e){for(let t in e)if(Ko.call(e,t))return!0;return!1}async function Jo(e,t,n){Wo||=Io();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`,`${et}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await Yo(r);if(t!==void 0){let n=ot({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await Zo(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await Qo(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function Yo(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&qo(e.context)&&(t=!0,n.context=e.context),t)return Xo(n)}async function Xo(e){return JSON.stringify(await Promise.resolve(fo(e,{plugins:Wo})))}async function Zo(e){if(e.data instanceof FormData){let t;return e.context&&qo(e.context)&&(t=await Xo(e.context)),t!==void 0&&e.data.set(Qe,t),{body:e.data}}let t=await Yo(e);if(t)return{body:t,contentType:`application/json`}}async function Qo(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||O(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(it(n),!t.body)throw Error(`No response body for framed response`);let{getOrCreateStream:r,jsonChunks:i}=Uo(t.body),a=[ko(r),...Wo||[]],o=new Map;e=await $o({jsonStream:i,onMessage:e=>uo(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=uo(n,{plugins:Wo})}finally{}await Go(r)}if(e||O(),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(Oe(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function $o({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 Go(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 Go(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function es(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=at()?.serverFns?.fetch;return Jo(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[$e]:!0})}var ts=po({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!($e in e)?!1:!!e[$e],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>es(e)});function ns(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function rs(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 is(e){window.$_TSR||O();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||O();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=ns(e.i)}),n.lastMatchId&&=ns(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=Fe();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}rs(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(Oe(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||O(),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 P=t(e(),1),F=r();function as({promise:e}){if(Ie)return Ie(e);let t=En(e);if(t[Tn].status===`pending`)throw t;if(t[Tn].status===`error`)throw t[Tn].error;return t[Tn].data}function os(e){let t=(0,F.jsx)(ss,{...e});return e.fallback?(0,F.jsx)(P.Suspense,{fallback:e.fallback,children:t}):t}function ss(e){let t=as(e);return e.children(t)}var cs=(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))(cs||{});function ls({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 us(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 ds=[],fs=0,{link:ps,unlink:ms,propagate:hs,checkDirty:gs,shallowPropagate:_s}=ls({update(e){return e._update()},notify(e){ds[ys++]=e,e.flags&=~cs.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=cs.Mutable|cs.Dirty,Cs(e))}}),vs=0,ys=0,bs,xs=0;function Ss(e){try{++xs,e()}finally{--xs||ws()}}function Cs(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=ms(n,e)}function ws(){if(!(xs>0)){for(;vs<ys;){let e=ds[vs];ds[vs++]=void 0,e.notify()}vs=0,ys=0}}function Ts(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?cs.None:cs.Mutable,get(){return bs!==void 0&&ps(i,bs,fs),i._snapshot},subscribe(e){let t=us(e),n={current:!1},r=Es(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=bs,o=t?.compare??Object.is;if(n)bs=i,++fs,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=cs.Mutable|cs.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{bs=a,n&&(i.flags&=~cs.RecursedCheck),Cs(i)}}};return n?(i.flags=cs.Mutable|cs.Dirty,i.get=function(){let e=i.flags;if(e&cs.Dirty||e&cs.Pending&&gs(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&_s(e)}}else e&cs.Pending&&(i.flags=e&~cs.Pending);return bs!==void 0&&ps(i,bs,fs),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(hs(e),_s(e),ws())}},i}function Es(e){let t=()=>{let t=bs;bs=n,++fs,n.depsTail=void 0,n.flags=cs.Watching|cs.RecursedCheck;try{return e()}finally{bs=t,n.flags&=~cs.RecursedCheck,Cs(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:cs.Watching|cs.RecursedCheck,notify(){let e=this.flags;e&cs.Dirty||e&cs.Pending&&gs(this.deps,this)?t():this.flags=cs.Watching},stop(){this.flags=cs.None,this.depsTail=void 0,Cs(this)}};return t(),n}function Ds(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(Ie)Ie(o());else throw o();return P.createElement(r,e)};return c.preload=o,c}function Os(e){let t=e.errorComponent??As;return(0,F.jsx)(ks,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?P.createElement(t,{error:n,reset:r}):e.children})}var ks=class extends P.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 As({error:e}){let[t,n]=P.useState(!1);return(0,F.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,F.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,F.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,F.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,F.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,F.jsx)(`div`,{children:(0,F.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,F.jsx)(`code`,{children:e.message}):null})}):null]})}function js(e){let t=Ve(),n=`not-found-${Ce(t.stores.location,e=>e.pathname)}-${Ce(t.stores.status,e=>e)}`;return(0,F.jsx)(Os,{getResetKey:()=>n,onCatch:(t,n)=>{if(Oe(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(Oe(t))return e.fallback?.(t);throw t},children:e.children})}function Ms(){return(0,F.jsx)(`p`,{children:`Not Found`})}function Ns(e){return(0,F.jsx)(F.Fragment,{children:e.children})}function Ps(e,t,n){return t.options.notFoundComponent?(0,F.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,F.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,F.jsx)(Ms,{})}var Fs=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Is=(e,t)=>e[0]===t[0]&&e[1]===t[1],Ls=P.memo(function({matchId:e}){let t=Ve(),n=t.stores.matchStores.get(e);n||O();let r=Ce(t.stores.loadedAt,e=>e),i=Ce(n,e=>e,Fs);return(0,F.jsx)(Rs,{router:t,matchId:e,resetKey:r,matchState:P.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 Rs({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,F.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))?P.Suspense:Ns,p=s?Os:Ns,m=l?js:Ns;return(0,F.jsxs)(i.isRoot?i.options.shellComponent??Ns:Ns,{children:[(0,F.jsx)(u.Provider,{value:t,children:(0,F.jsx)(f,{fallback:o,children:(0,F.jsx)(p,{getResetKey:()=>n,errorComponent:s||As,onCatch:(e,t)=>{if(Oe(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,F.jsx)(m,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return P.createElement(l,e)},children:d||r._displayPending?(0,F.jsx)(w,{fallback:o,children:(0,F.jsx)(Bs,{matchId:t})}):(0,F.jsx)(Bs,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(zs,{}),(e.options.scrollRestoration,null)]}):null]})}function zs(){let e=Ve(),t=P.useRef();return Le(()=>{let n=e.stores.resolvedLocation.get(),r=t.current;n&&(!r||r.href!==n.href)&&e.emit({type:`onRendered`,...pn(e.stores.location.get(),r??n)}),t.current=n},[Ce(e.stores.resolvedLocation,e=>e?.state.__TSR_key),e]),null}var Bs=P.memo(function({matchId:e}){let t=Ve(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||O();let i=Ce(r,e=>e),a=i.routeId,o=t.routesById[a],s=P.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=P.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?(0,F.jsx)(e,{},s):(0,F.jsx)(Vs,{})},[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=Fe();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return Oe(i.error)||O(),Ps(t,o,i.error);if(i.status===`redirected`)throw E(i.error)||O(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return c}),Vs=P.memo(function(){let e=Ve(),t=P.useContext(u),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=Ce(a,e=>[e?.routeId,e?.globalNotFound??!1],Is),i=Ce(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,F.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||O(),Ps(e,a,void 0);if(!i)return null;let s=(0,F.jsx)(Ls,{matchId:i});return n===`__root__`?(0,F.jsx)(P.Suspense,{fallback:o,children:s}):s}),Hs=e=>({createMutableStore:Ts,createReadonlyStore:Ts,batch:Ss}),Us=e=>new Ws(e),Ws=class extends hn{constructor(e){super(e,Hs)}};function Gs(){let e=Ve(),t=P.useRef({router:e,mounted:!1}),[n,r]=P.useState(!1),i=Ce(e.stores.isLoading,e=>e),a=Ce(e.stores.hasPending,e=>e),o=ze(i),s=i||n||a,c=ze(s),l=i||a,u=ze(l);return e.startTransition=e=>{r(!0),P.startTransition(()=>{e(),r(!1)})},P.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 ie(e.latestLocation.publicHref)!==ie(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),Le(()=>{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]),Le(()=>{o&&!i&&e.emit({type:`onLoad`,...pn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),Le(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...pn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),Le(()=>{if(c&&!s){let t=pn(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),Ss(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())})}},[s,c,e]),null}function Ks(){let e=Ve(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,F.jsx)(t,{}):null,r=(0,F.jsxs)(typeof document<`u`&&e.ssr?Ns:P.Suspense,{fallback:n,children:[(0,F.jsx)(Gs,{}),(0,F.jsx)(qs,{})]});return e.options.InnerWrap?(0,F.jsx)(e.options.InnerWrap,{children:r}):r}function qs(){let e=Ve(),t=Ce(e.stores.firstId,e=>e),n=Ce(e.stores.loadedAt,e=>e),r=t?(0,F.jsx)(Ls,{matchId:t}):null;return(0,F.jsx)(u.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,F.jsx)(Os,{getResetKey:()=>n,errorComponent:As,onCatch:void 0,children:r})})}function Js({router:e,children:t,...n}){y(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,F.jsx)(Re.Provider,{value:e,children:t});return e.options.Wrap?(0,F.jsx)(e.options.Wrap,{children:r}):r}function Ys({router:e,...t}){return(0,F.jsx)(Js,{router:e,...t,children:(0,F.jsx)(Ks,{})})}function Xs(e){let t=Ve();return Ce(t.stores.location,d(e,t))}function Zs(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 Qs(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e;switch(e.tag){case`title`:return(0,F.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,F.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,F.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,F.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,F.jsx)($s,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function $s({attrs:e,children:t,preventScriptHoist:n}){Ve();let r=C(),i=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(P.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 Zs(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,Zs(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,i]),i&&typeof t==`string`)return(0,F.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!r){if(e?.src)return(0,F.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,F.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var ec=e=>{let t=Ve(),n=t.options.ssr?.nonce,r=Ce(t.stores.matches,e=>e.map(e=>e.meta).filter(e=>e!==void 0),Pe),i=P.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=Ce(t.stores.matches,e=>e.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),Pe),s=Ce(t.stores.matches,r=>{let i=t.ssr?.manifest,a=[];return i?(r.forEach(t=>{i.routes[t.routeId]?.css?.forEach(t=>{let r=Mn(t);a.push({tag:`link`,attrs:{rel:`stylesheet`,...r,crossOrigin:Dn(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},Pe),c=Ce(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:{...kn(a,t,e),nonce:n}})})}),i},Pe),l=Ce(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})),Pe),u=Ce(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})),Pe),d=[];return jn(d,i),d.push(...c),jn(d,a),d.push(...s),jn(d,l),jn(d,u),d};function tc(e){let t=ec(e.assetCrossOrigin),n=Ve().options.ssr?.nonce;return(0,F.jsx)(F.Fragment,{children:t.map(e=>(0,P.createElement)(Qs,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var nc=()=>{let e=Ve(),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=Ce(e.stores.matches,n,Pe);return rc(e,Ce(e.stores.matches,r,Pe),i)};function rc(e,t,n){let r=[...t,...n];return(0,F.jsx)(F.Fragment,{children:r.map((e,t)=>(0,P.createElement)(Qs,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}function ic(){if(!(typeof window>`u`))try{return Ge(window.localStorage.getItem(Ke))}catch{return}}function ac(e){return Ue(e,ic())}var oc=class extends P.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,F.jsxs)(`div`,{className:`error-boundary-page`,children:[(0,F.jsx)(`h1`,{className:`error-boundary-title`,children:ac(`errorBoundary.title`)}),(0,F.jsx)(`p`,{className:`error-boundary-desc`,children:ac(`errorBoundary.desc`)}),(0,F.jsx)(`button`,{onClick:this.handleReload,className:`error-boundary-btn`,children:ac(`errorBoundary.reload`)})]}):this.props.children}},sc=a(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),cc=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`}]]),lc=a(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),uc=a(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),dc=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`}]]),fc=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`}]]),pc=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`}]]),mc=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`}]]),hc=a(`mic-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]),gc=a(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),_c=a(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]),vc=a(`phone-call`,[[`path`,{d:`M13 2a9 9 0 0 1 9 9`,key:`1itnx2`}],[`path`,{d:`M13 6a5 5 0 0 1 5 5`,key:`11nki7`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),yc=a(`phone-off`,[[`path`,{d:`M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272`,key:`1wngk7`}],[`path`,{d:`M22 2 2 22`,key:`y4kqgn`}],[`path`,{d:`M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473`,key:`10hv5p`}]]),bc=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`}]]),xc=a(`signal`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}],[`path`,{d:`M7 20v-4`,key:`j294jx`}],[`path`,{d:`M12 20v-8`,key:`i3yub9`}],[`path`,{d:`M17 20V8`,key:`1tkaf5`}],[`path`,{d:`M22 4v16`,key:`sih9yq`}]]),Sc=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`}]]),Cc=a(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function wc(){let e=Be(),t=Xs({select:e=>e.pathname}),n=c(e=>e.firstPath),r=c(e=>e.setFirstPath);return(0,P.useCallback)(()=>{if(!n||n===t){r(`/`),e({to:`/`,replace:!0});return}window.history.back()},[n,e,t,r])}function Tc(){let e=wc(),{t}=He();return(0,F.jsx)(`div`,{className:`not-found-page`,children:(0,F.jsxs)(`div`,{className:`not-found-card`,children:[(0,F.jsx)(`div`,{className:`not-found-icon`,children:(0,F.jsx)(dc,{size:48,strokeWidth:1.5})}),(0,F.jsx)(`h1`,{className:`not-found-title`,children:t(`notFound.title`)}),(0,F.jsx)(`p`,{className:`not-found-desc`,children:t(`notFound.desc`)}),(0,F.jsxs)(`div`,{className:`not-found-actions`,children:[(0,F.jsxs)(`button`,{onClick:e,className:`btn btn-secondary`,children:[(0,F.jsx)(lc,{size:16}),t(`common.back`)]}),(0,F.jsxs)(S,{to:`/`,className:`btn btn-primary`,children:[(0,F.jsx)(cc,{size:16}),t(`common.backHome`)]})]})]})})}var Ec={" ":`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 Dc(e){let t=e.replace(`Key`,``).toLowerCase();return Ec[e]||t}function Oc(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 kc(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?Dc(m)===Dc(c):Dc(p??m)===Dc(c))):!1}function Ac(e,t){return n=>kc(Oc(e),n,t)}function jc(e,t,n=!1){return e.target instanceof HTMLElement?(n||!e.target.isContentEditable)&&!t.includes(e.target.tagName):!0}function Mc(e,t=[`INPUT`,`TEXTAREA`,`SELECT`],n=!1){let r=(0,P.useEffectEvent)(r=>{e.forEach(([e,i,a={preventDefault:!0,usePhysicalKeys:!1}])=>{Ac(e,a.usePhysicalKeys)(r)&&jc(r,t,n)&&(a.preventDefault&&r.preventDefault(),i(r))})});(0,P.useEffect)(()=>(document.documentElement.addEventListener(`keydown`,r),()=>document.documentElement.removeEventListener(`keydown`,r)),[])}function Nc(){return typeof window>`u`?!1:window.electronAPI?.isElectron===!0?!0:/\bElectron\/\d+/i.test(window.navigator?.userAgent||``)}function Pc(){let[e,t]=(0,P.useState)(!1);return(0,P.useEffect)(()=>{t(Nc())},[]),e}var Fc=p();function Ic({children:e,onClose:t,className:n=``}){Mc(t?[[`Escape`,t]]:[]),(0,P.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,F.jsxs)(`div`,{className:[`modal-overlay`,n].filter(Boolean).join(` `),children:[(0,F.jsx)(`div`,{className:`modal-overlay-backdrop`}),(0,F.jsx)(`div`,{className:`modal-glass`,children:e})]});return typeof document>`u`?r:(0,Fc.createPortal)(r,document.body)}function Lc({message:e,type:t,onDone:n,index:r}){return(0,P.useEffect)(()=>{let e=setTimeout(n,3e3);return()=>clearTimeout(e)},[]),(0,F.jsx)(`div`,{className:`toast ${t} toast-stack-${Math.min(Math.max(r,0),5)}`,children:e})}function Rc({title:e,message:t,confirmText:n,onConfirm:r,onClose:i,danger:a}){let{t:o}=He();return(0,F.jsx)(Ic,{onClose:i,children:(0,F.jsxs)(`div`,{className:`confirm-modal`,onClick:e=>e.stopPropagation(),children:[(0,F.jsxs)(`div`,{className:`modal-header`,children:[(0,F.jsx)(`h3`,{children:e}),(0,F.jsx)(`button`,{onClick:i,className:`btn btn-icon`,children:(0,F.jsx)(Cc,{size:18})})]}),(0,F.jsx)(`p`,{children:t}),(0,F.jsxs)(`div`,{className:`modal-actions`,children:[(0,F.jsx)(`button`,{onClick:i,className:`btn btn-secondary`,children:o(`common.cancel`)}),(0,F.jsx)(`button`,{onClick:r,className:`btn ${a?`btn-danger`:`btn-primary`}`,children:n})]})]})})}function zc({title:e,placeholder:t,defaultValue:n,confirmText:r,onConfirm:i,onClose:a,isLoading:o,loadingText:s,validate:c,allowEmpty:l=!1}){let{t:u}=He(),[d,f]=(0,P.useState)(n||``),p=d.trim(),m=p&&c?c(p):``,h=(l||!!p)&&!m&&!o;function g(){h&&i(p)}return(0,F.jsx)(Ic,{onClose:a,children:(0,F.jsxs)(`div`,{className:`input-modal`,onClick:e=>e.stopPropagation(),children:[(0,F.jsxs)(`div`,{className:`modal-header`,children:[(0,F.jsx)(`h3`,{children:e}),(0,F.jsx)(`button`,{onClick:a,className:`btn btn-icon`,children:(0,F.jsx)(Cc,{size:18})})]}),(0,F.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,F.jsx)(`p`,{className:`input-modal-error`,id:`input-modal-error`,children:m}),(0,F.jsxs)(`div`,{className:`modal-actions`,children:[(0,F.jsx)(`button`,{onClick:a,disabled:o,className:`btn btn-secondary`,children:u(`common.cancel`)}),(0,F.jsx)(`button`,{onClick:g,disabled:!h,className:`btn btn-primary ${o?`btn-loading`:``}`,children:o?s||u(`common.processing`):r})]})]})})}var Bc=8,Vc=8;function Hc({ariaLabel:e,items:t=[],renderContent:n,renderTrigger:r,placement:i=`bottom-end`,disabled:a=!1,className:o=``,menuClassName:s=``}){let c=(0,P.useId)(),l=(0,P.useRef)(null),u=(0,P.useRef)(null),[d,f]=(0,P.useState)(!1),[p,m]=(0,P.useState)(!1),[h,g]=(0,P.useState)(!1),_=(0,P.useCallback)(e=>{l.current=e},[]),v=(0,P.useCallback)(()=>{m(!1),g(!1)},[]),y=(0,P.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-Bc:n.bottom+Bc,f=c?n.right-r.width:n.left,p=Math.max(Vc,a-r.width-Vc),m=Math.max(Vc,o-r.height-Vc),h={top:Math.min(Math.max(d,Vc),m),left:Math.min(Math.max(f,Vc),p)};t.style.setProperty(`--action-menu-top`,`${h.top}px`),t.style.setProperty(`--action-menu-left`,`${h.left}px`),g(!0)},[i]);(0,P.useEffect)(()=>{f(!0)},[]),(0,P.useEffect)(()=>{a&&v()},[v,a]),(0,P.useLayoutEffect)(()=>{p&&(g(!1),y())},[p,t.length,y]),(0,P.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,P.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,Fc.createPortal)((0,F.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,F.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,F.jsx)(`span`,{className:`ui-action-menu-item-icon`,children:e.icon}),(0,F.jsx)(`span`,{className:`ui-action-menu-item-label`,children:e.label}),e.description&&(0,F.jsx)(`span`,{className:`ui-action-menu-item-description`,children:e.description})]},e.key))}),document.body):null;return(0,F.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]})}function Uc(...e){return e.filter(Boolean).join(` `)}function Wc({options:e,value:t,onChange:n,ariaLabel:r,className:i,optionClassName:a,size:o=`default`}){return(0,F.jsx)(`div`,{className:Uc(`ui-segmented-control`,o===`compact`&&`is-compact`,i),role:`group`,"aria-label":r,children:e.map(e=>{let r=e.value===t;return(0,F.jsx)(`button`,{type:`button`,className:Uc(`ui-segmented-option`,r&&`is-active`,a),"aria-pressed":r,"aria-label":e.ariaLabel,title:e.title,disabled:e.disabled,onClick:()=>{r||n(e.value)},children:e.label},String(e.value))})})}function Gc(...e){return e.filter(Boolean).join(` `)}function Kc({options:e,value:t,onChange:n,ariaLabel:r,className:i,size:a=`default`,disabled:o=!1}){return(0,F.jsxs)(`span`,{className:Gc(`ui-select-field`,a===`compact`&&`is-compact`,o&&`is-disabled`,i),children:[(0,F.jsx)(`select`,{className:`ui-select-control`,value:String(t),"aria-label":r,disabled:o,onChange:t=>{let r=e.find(e=>String(e.value)===t.currentTarget.value)?.value;r!==void 0&&n(r)},children:e.map(e=>(0,F.jsx)(`option`,{value:String(e.value),disabled:e.disabled,children:e.label},String(e.value)))}),(0,F.jsx)(uc,{className:`ui-select-icon`,size:14,"aria-hidden":`true`})]})}var qc=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}},Jc=class extends qc{constructor(e){super(`Invalid style definition`,e),this.name=`StyleValidationError`}};function Yc(e){let t=0;for(let n of e)t++;return t}var Xc=Yc,Zc=RegExp(`^https?://`,`u`),Qc=RegExp(`^[a-z][a-zA-Z0-9]*$`,`u`),$c=RegExp(`^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`,`u`),el={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},tl=Object.prototype.hasOwnProperty,nl=RegExp(`[uU][rR][lL]\\s*\\(\\s*[^#)\\s]`,`u`),rl=RegExp(`[eE][xX][pP][rR][eE][sS][sS][iI][oO][nN]\\s*\\(`,`u`),il=RegExp(`[bB][eE][hH][aA][vV][iI][oO][rR]\\s*:`,`u`),al=RegExp(`-[mM][oO][zZ]-[bB][iI][nN][dD][iI][nN][gG]`,`u`),ol=RegExp(`[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT]\\s*:`,`u`),sl=RegExp(`[vV][bB][sS][cC][rR][iI][pP][tT]\\s*:`,`u`),cl=RegExp(`\\\\`,`u`);function I(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(!nl.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(!rl.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(!il.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(!al.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(!ol.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(!sl.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(!cl.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 I.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(Xc(e)>16384)return I.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return I.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(Xc(e)>1024)return I.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:1024},message:`must NOT have more than 1024 characters`}],!1}else return I.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return I.errors=a,o===0}function ll(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){if(typeof e==`string`){if(Xc(e)>64)return ll.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`}],!1;if(!Qc.test(e))return ll.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 ll.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return ll.errors=null,!0}function L(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){let a=null,o=0,s=o,c=!1,l=o;I(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?I.errors:a.concat(I.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;ll(e.name,{instancePath:t+`/name`,parentData:e,parentDataProperty:`name`,rootData:i})||(a=a===null?ll.errors:a.concat(ll.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++,L.errors=a,!1}return L.errors=a,o===0}function ul(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(!nl.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(!rl.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(!il.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(!al.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(!ol.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(!sl.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(!cl.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 ul.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(Xc(e)>16384)return ul.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return ul.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(Xc(e)>16384)return ul.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return ul.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return ul.errors=a,o===0}var dl=RegExp(`@[iI][mM][pP][oO][rR][tT]`,`u`),fl=RegExp(`@[fF][oO][nN][tT]-[fF][aA][cC][eE]`,`u`),pl=RegExp(`@[dD][oO][cC][uU][mM][eE][nN][tT]`,`u`),ml=RegExp(`@[cC][hH][aA][rR][sS][eE][tT]`,`u`);function hl(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(!dl.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(!fl.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(!pl.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(!ml.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 hl.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(!nl.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(!rl.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(!il.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(!al.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(!ol.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(!sl.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(!cl.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 hl.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(Xc(e)>16384)return hl.errors=[{instancePath:t,schemaPath:`#/definitions/filteredString/maxLength`,keyword:`maxLength`,params:{limit:16384},message:`must NOT have more than 16384 characters`}],!1}else return hl.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(Xc(e)>4096)return hl.errors=[{instancePath:t,schemaPath:`#/maxLength`,keyword:`maxLength`,params:{limit:4096},message:`must NOT have more than 4096 characters`}],!1}else return hl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return hl.errors=a,o===0}var gl=RegExp(`^#[a-zA-Z_][a-zA-Z0-9_.-]*$`,`u`),_l=RegExp(`^data:image/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$`,`u`);function vl(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(!tl.call(el.properties,n))return vl.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;I(e[`alignment-baseline`],{instancePath:t+`/alignment-baseline`,parentData:e,parentDataProperty:`alignment-baseline`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.amplitude!==void 0){let n=o;I(e.amplitude,{instancePath:t+`/amplitude`,parentData:e,parentDataProperty:`amplitude`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.azimuth!==void 0){let n=o;I(e.azimuth,{instancePath:t+`/azimuth`,parentData:e,parentDataProperty:`azimuth`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.baseFrequency!==void 0){let n=o;I(e.baseFrequency,{instancePath:t+`/baseFrequency`,parentData:e,parentDataProperty:`baseFrequency`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`baseline-shift`]!==void 0){let n=o;I(e[`baseline-shift`],{instancePath:t+`/baseline-shift`,parentData:e,parentDataProperty:`baseline-shift`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.bias!==void 0){let n=o;I(e.bias,{instancePath:t+`/bias`,parentData:e,parentDataProperty:`bias`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.class!==void 0){let n=o;I(e.class,{instancePath:t+`/class`,parentData:e,parentDataProperty:`class`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.clipPathUnits!==void 0){let n=o;I(e.clipPathUnits,{instancePath:t+`/clipPathUnits`,parentData:e,parentDataProperty:`clipPathUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`clip-path`]!==void 0){let n=o;I(e[`clip-path`],{instancePath:t+`/clip-path`,parentData:e,parentDataProperty:`clip-path`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`clip-rule`]!==void 0){let n=o;I(e[`clip-rule`],{instancePath:t+`/clip-rule`,parentData:e,parentDataProperty:`clip-rule`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.color!==void 0){let n=o;L(e.color,{instancePath:t+`/color`,parentData:e,parentDataProperty:`color`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`color-interpolation`]!==void 0){let n=o;I(e[`color-interpolation`],{instancePath:t+`/color-interpolation`,parentData:e,parentDataProperty:`color-interpolation`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`color-interpolation-filters`]!==void 0){let n=o;I(e[`color-interpolation-filters`],{instancePath:t+`/color-interpolation-filters`,parentData:e,parentDataProperty:`color-interpolation-filters`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.crossorigin!==void 0){let n=o;I(e.crossorigin,{instancePath:t+`/crossorigin`,parentData:e,parentDataProperty:`crossorigin`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.cx!==void 0){let n=o;I(e.cx,{instancePath:t+`/cx`,parentData:e,parentDataProperty:`cx`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.cy!==void 0){let n=o;I(e.cy,{instancePath:t+`/cy`,parentData:e,parentDataProperty:`cy`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.d!==void 0){let n=o;ul(e.d,{instancePath:t+`/d`,parentData:e,parentDataProperty:`d`,rootData:i})||(a=a===null?ul.errors:a.concat(ul.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.decoding!==void 0){let n=o;I(e.decoding,{instancePath:t+`/decoding`,parentData:e,parentDataProperty:`decoding`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.diffuseConstant!==void 0){let n=o;I(e.diffuseConstant,{instancePath:t+`/diffuseConstant`,parentData:e,parentDataProperty:`diffuseConstant`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.direction!==void 0){let n=o;I(e.direction,{instancePath:t+`/direction`,parentData:e,parentDataProperty:`direction`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.display!==void 0){let n=o;I(e.display,{instancePath:t+`/display`,parentData:e,parentDataProperty:`display`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.divisor!==void 0){let n=o;I(e.divisor,{instancePath:t+`/divisor`,parentData:e,parentDataProperty:`divisor`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`dominant-baseline`]!==void 0){let n=o;I(e[`dominant-baseline`],{instancePath:t+`/dominant-baseline`,parentData:e,parentDataProperty:`dominant-baseline`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.dx!==void 0){let n=o;I(e.dx,{instancePath:t+`/dx`,parentData:e,parentDataProperty:`dx`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.dy!==void 0){let n=o;I(e.dy,{instancePath:t+`/dy`,parentData:e,parentDataProperty:`dy`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.edgeMode!==void 0){let n=o;I(e.edgeMode,{instancePath:t+`/edgeMode`,parentData:e,parentDataProperty:`edgeMode`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.elevation!==void 0){let n=o;I(e.elevation,{instancePath:t+`/elevation`,parentData:e,parentDataProperty:`elevation`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.exponent!==void 0){let n=o;I(e.exponent,{instancePath:t+`/exponent`,parentData:e,parentDataProperty:`exponent`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.fill!==void 0){let n=o;L(e.fill,{instancePath:t+`/fill`,parentData:e,parentDataProperty:`fill`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`fill-opacity`]!==void 0){let n=o;I(e[`fill-opacity`],{instancePath:t+`/fill-opacity`,parentData:e,parentDataProperty:`fill-opacity`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`fill-rule`]!==void 0){let n=o;I(e[`fill-rule`],{instancePath:t+`/fill-rule`,parentData:e,parentDataProperty:`fill-rule`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.filter!==void 0){let n=o;I(e.filter,{instancePath:t+`/filter`,parentData:e,parentDataProperty:`filter`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.filterUnits!==void 0){let n=o;I(e.filterUnits,{instancePath:t+`/filterUnits`,parentData:e,parentDataProperty:`filterUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`flood-color`]!==void 0){let n=o;L(e[`flood-color`],{instancePath:t+`/flood-color`,parentData:e,parentDataProperty:`flood-color`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`flood-opacity`]!==void 0){let n=o;I(e[`flood-opacity`],{instancePath:t+`/flood-opacity`,parentData:e,parentDataProperty:`flood-opacity`,rootData:i})||(a=a===null?I.errors:a.concat(I.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;I(n,{instancePath:t+`/font-family`,parentData:e,parentDataProperty:`font-family`,rootData:i})||(a=a===null?I.errors:a.concat(I.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++,vl.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e[`font-size`]!==void 0){let n=o;I(e[`font-size`],{instancePath:t+`/font-size`,parentData:e,parentDataProperty:`font-size`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-size-adjust`]!==void 0){let n=o;I(e[`font-size-adjust`],{instancePath:t+`/font-size-adjust`,parentData:e,parentDataProperty:`font-size-adjust`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-style`]!==void 0){let n=o;I(e[`font-style`],{instancePath:t+`/font-style`,parentData:e,parentDataProperty:`font-style`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`font-variant`]!==void 0){let n=o;I(e[`font-variant`],{instancePath:t+`/font-variant`,parentData:e,parentDataProperty:`font-variant`,rootData:i})||(a=a===null?I.errors:a.concat(I.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;I(n,{instancePath:t+`/font-weight`,parentData:e,parentDataProperty:`font-weight`,rootData:i})||(a=a===null?I.errors:a.concat(I.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++,vl.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e.fx!==void 0){let n=o;I(e.fx,{instancePath:t+`/fx`,parentData:e,parentDataProperty:`fx`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.fy!==void 0){let n=o;I(e.fy,{instancePath:t+`/fy`,parentData:e,parentDataProperty:`fy`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.gradientTransform!==void 0){let n=o;I(e.gradientTransform,{instancePath:t+`/gradientTransform`,parentData:e,parentDataProperty:`gradientTransform`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.gradientUnits!==void 0){let n=o;I(e.gradientUnits,{instancePath:t+`/gradientUnits`,parentData:e,parentDataProperty:`gradientUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.height!==void 0){let n=o;I(e.height,{instancePath:t+`/height`,parentData:e,parentDataProperty:`height`,rootData:i})||(a=a===null?I.errors:a.concat(I.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(Xc(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(!gl.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(Xc(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(!_l.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++,vl.errors=a,!1}var s=r===o}else var s=!0;if(s){if(e.id!==void 0){let n=o;I(e.id,{instancePath:t+`/id`,parentData:e,parentDataProperty:`id`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`image-rendering`]!==void 0){let n=o;I(e[`image-rendering`],{instancePath:t+`/image-rendering`,parentData:e,parentDataProperty:`image-rendering`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.in!==void 0){let n=o;I(e.in,{instancePath:t+`/in`,parentData:e,parentDataProperty:`in`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.in2!==void 0){let n=o;I(e.in2,{instancePath:t+`/in2`,parentData:e,parentDataProperty:`in2`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.intercept!==void 0){let n=o;I(e.intercept,{instancePath:t+`/intercept`,parentData:e,parentDataProperty:`intercept`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k1!==void 0){let n=o;I(e.k1,{instancePath:t+`/k1`,parentData:e,parentDataProperty:`k1`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k2!==void 0){let n=o;I(e.k2,{instancePath:t+`/k2`,parentData:e,parentDataProperty:`k2`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k3!==void 0){let n=o;I(e.k3,{instancePath:t+`/k3`,parentData:e,parentDataProperty:`k3`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.k4!==void 0){let n=o;I(e.k4,{instancePath:t+`/k4`,parentData:e,parentDataProperty:`k4`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.kernelMatrix!==void 0){let n=o;I(e.kernelMatrix,{instancePath:t+`/kernelMatrix`,parentData:e,parentDataProperty:`kernelMatrix`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.kernelUnitLength!==void 0){let n=o;I(e.kernelUnitLength,{instancePath:t+`/kernelUnitLength`,parentData:e,parentDataProperty:`kernelUnitLength`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.lang!==void 0){let n=o;I(e.lang,{instancePath:t+`/lang`,parentData:e,parentDataProperty:`lang`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.lengthAdjust!==void 0){let n=o;I(e.lengthAdjust,{instancePath:t+`/lengthAdjust`,parentData:e,parentDataProperty:`lengthAdjust`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`letter-spacing`]!==void 0){let n=o;I(e[`letter-spacing`],{instancePath:t+`/letter-spacing`,parentData:e,parentDataProperty:`letter-spacing`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`lighting-color`]!==void 0){let n=o;L(e[`lighting-color`],{instancePath:t+`/lighting-color`,parentData:e,parentDataProperty:`lighting-color`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-end`]!==void 0){let n=o;I(e[`marker-end`],{instancePath:t+`/marker-end`,parentData:e,parentDataProperty:`marker-end`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-mid`]!==void 0){let n=o;I(e[`marker-mid`],{instancePath:t+`/marker-mid`,parentData:e,parentDataProperty:`marker-mid`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`marker-start`]!==void 0){let n=o;I(e[`marker-start`],{instancePath:t+`/marker-start`,parentData:e,parentDataProperty:`marker-start`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerHeight!==void 0){let n=o;I(e.markerHeight,{instancePath:t+`/markerHeight`,parentData:e,parentDataProperty:`markerHeight`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerUnits!==void 0){let n=o;I(e.markerUnits,{instancePath:t+`/markerUnits`,parentData:e,parentDataProperty:`markerUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.markerWidth!==void 0){let n=o;I(e.markerWidth,{instancePath:t+`/markerWidth`,parentData:e,parentDataProperty:`markerWidth`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.mask!==void 0){let n=o;I(e.mask,{instancePath:t+`/mask`,parentData:e,parentDataProperty:`mask`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.maskContentUnits!==void 0){let n=o;I(e.maskContentUnits,{instancePath:t+`/maskContentUnits`,parentData:e,parentDataProperty:`maskContentUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.maskUnits!==void 0){let n=o;I(e.maskUnits,{instancePath:t+`/maskUnits`,parentData:e,parentDataProperty:`maskUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.media!==void 0){let n=o;I(e.media,{instancePath:t+`/media`,parentData:e,parentDataProperty:`media`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.method!==void 0){let n=o;I(e.method,{instancePath:t+`/method`,parentData:e,parentDataProperty:`method`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.mode!==void 0){let n=o;I(e.mode,{instancePath:t+`/mode`,parentData:e,parentDataProperty:`mode`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.numOctaves!==void 0){let n=o;I(e.numOctaves,{instancePath:t+`/numOctaves`,parentData:e,parentDataProperty:`numOctaves`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.offset!==void 0){let n=o;I(e.offset,{instancePath:t+`/offset`,parentData:e,parentDataProperty:`offset`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.opacity!==void 0){let n=o;I(e.opacity,{instancePath:t+`/opacity`,parentData:e,parentDataProperty:`opacity`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.operator!==void 0){let n=o;I(e.operator,{instancePath:t+`/operator`,parentData:e,parentDataProperty:`operator`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.order!==void 0){let n=o;I(e.order,{instancePath:t+`/order`,parentData:e,parentDataProperty:`order`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.orient!==void 0){let n=o;I(e.orient,{instancePath:t+`/orient`,parentData:e,parentDataProperty:`orient`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.overflow!==void 0){let n=o;I(e.overflow,{instancePath:t+`/overflow`,parentData:e,parentDataProperty:`overflow`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`paint-order`]!==void 0){let n=o;I(e[`paint-order`],{instancePath:t+`/paint-order`,parentData:e,parentDataProperty:`paint-order`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.path!==void 0){let n=o;I(e.path,{instancePath:t+`/path`,parentData:e,parentDataProperty:`path`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.pathLength!==void 0){let n=o;I(e.pathLength,{instancePath:t+`/pathLength`,parentData:e,parentDataProperty:`pathLength`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternContentUnits!==void 0){let n=o;I(e.patternContentUnits,{instancePath:t+`/patternContentUnits`,parentData:e,parentDataProperty:`patternContentUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternTransform!==void 0){let n=o;I(e.patternTransform,{instancePath:t+`/patternTransform`,parentData:e,parentDataProperty:`patternTransform`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.patternUnits!==void 0){let n=o;I(e.patternUnits,{instancePath:t+`/patternUnits`,parentData:e,parentDataProperty:`patternUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.points!==void 0){let n=o;I(e.points,{instancePath:t+`/points`,parentData:e,parentDataProperty:`points`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.preserveAlpha!==void 0){let n=o;I(e.preserveAlpha,{instancePath:t+`/preserveAlpha`,parentData:e,parentDataProperty:`preserveAlpha`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.preserveAspectRatio!==void 0){let n=o;I(e.preserveAspectRatio,{instancePath:t+`/preserveAspectRatio`,parentData:e,parentDataProperty:`preserveAspectRatio`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.primitiveUnits!==void 0){let n=o;I(e.primitiveUnits,{instancePath:t+`/primitiveUnits`,parentData:e,parentDataProperty:`primitiveUnits`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.r!==void 0){let n=o;I(e.r,{instancePath:t+`/r`,parentData:e,parentDataProperty:`r`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.radius!==void 0){let n=o;I(e.radius,{instancePath:t+`/radius`,parentData:e,parentDataProperty:`radius`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.refX!==void 0){let n=o;I(e.refX,{instancePath:t+`/refX`,parentData:e,parentDataProperty:`refX`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.refY!==void 0){let n=o;I(e.refY,{instancePath:t+`/refY`,parentData:e,parentDataProperty:`refY`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.result!==void 0){let n=o;I(e.result,{instancePath:t+`/result`,parentData:e,parentDataProperty:`result`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.rx!==void 0){let n=o;I(e.rx,{instancePath:t+`/rx`,parentData:e,parentDataProperty:`rx`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.ry!==void 0){let n=o;I(e.ry,{instancePath:t+`/ry`,parentData:e,parentDataProperty:`ry`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.scale!==void 0){let n=o;I(e.scale,{instancePath:t+`/scale`,parentData:e,parentDataProperty:`scale`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.seed!==void 0){let n=o;I(e.seed,{instancePath:t+`/seed`,parentData:e,parentDataProperty:`seed`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`shape-rendering`]!==void 0){let n=o;I(e[`shape-rendering`],{instancePath:t+`/shape-rendering`,parentData:e,parentDataProperty:`shape-rendering`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.slope!==void 0){let n=o;I(e.slope,{instancePath:t+`/slope`,parentData:e,parentDataProperty:`slope`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.specularConstant!==void 0){let n=o;I(e.specularConstant,{instancePath:t+`/specularConstant`,parentData:e,parentDataProperty:`specularConstant`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.specularExponent!==void 0){let n=o;I(e.specularExponent,{instancePath:t+`/specularExponent`,parentData:e,parentDataProperty:`specularExponent`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.spreadMethod!==void 0){let n=o;I(e.spreadMethod,{instancePath:t+`/spreadMethod`,parentData:e,parentDataProperty:`spreadMethod`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.startOffset!==void 0){let n=o;I(e.startOffset,{instancePath:t+`/startOffset`,parentData:e,parentDataProperty:`startOffset`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stdDeviation!==void 0){let n=o;I(e.stdDeviation,{instancePath:t+`/stdDeviation`,parentData:e,parentDataProperty:`stdDeviation`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stitchTiles!==void 0){let n=o;I(e.stitchTiles,{instancePath:t+`/stitchTiles`,parentData:e,parentDataProperty:`stitchTiles`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stop-color`]!==void 0){let n=o;L(e[`stop-color`],{instancePath:t+`/stop-color`,parentData:e,parentDataProperty:`stop-color`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stop-opacity`]!==void 0){let n=o;I(e[`stop-opacity`],{instancePath:t+`/stop-opacity`,parentData:e,parentDataProperty:`stop-opacity`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.stroke!==void 0){let n=o;L(e.stroke,{instancePath:t+`/stroke`,parentData:e,parentDataProperty:`stroke`,rootData:i})||(a=a===null?L.errors:a.concat(L.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-dasharray`]!==void 0){let n=o;I(e[`stroke-dasharray`],{instancePath:t+`/stroke-dasharray`,parentData:e,parentDataProperty:`stroke-dasharray`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-dashoffset`]!==void 0){let n=o;I(e[`stroke-dashoffset`],{instancePath:t+`/stroke-dashoffset`,parentData:e,parentDataProperty:`stroke-dashoffset`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-linecap`]!==void 0){let n=o;I(e[`stroke-linecap`],{instancePath:t+`/stroke-linecap`,parentData:e,parentDataProperty:`stroke-linecap`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-linejoin`]!==void 0){let n=o;I(e[`stroke-linejoin`],{instancePath:t+`/stroke-linejoin`,parentData:e,parentDataProperty:`stroke-linejoin`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-miterlimit`]!==void 0){let n=o;I(e[`stroke-miterlimit`],{instancePath:t+`/stroke-miterlimit`,parentData:e,parentDataProperty:`stroke-miterlimit`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-opacity`]!==void 0){let n=o;I(e[`stroke-opacity`],{instancePath:t+`/stroke-opacity`,parentData:e,parentDataProperty:`stroke-opacity`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`stroke-width`]!==void 0){let n=o;I(e[`stroke-width`],{instancePath:t+`/stroke-width`,parentData:e,parentDataProperty:`stroke-width`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.style!==void 0){let n=o;hl(e.style,{instancePath:t+`/style`,parentData:e,parentDataProperty:`style`,rootData:i})||(a=a===null?hl.errors:a.concat(hl.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.surfaceScale!==void 0){let n=o;I(e.surfaceScale,{instancePath:t+`/surfaceScale`,parentData:e,parentDataProperty:`surfaceScale`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.systemLanguage!==void 0){let n=o;I(e.systemLanguage,{instancePath:t+`/systemLanguage`,parentData:e,parentDataProperty:`systemLanguage`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.tabindex!==void 0){let n=o;I(e.tabindex,{instancePath:t+`/tabindex`,parentData:e,parentDataProperty:`tabindex`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.tableValues!==void 0){let n=o;I(e.tableValues,{instancePath:t+`/tableValues`,parentData:e,parentDataProperty:`tableValues`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.targetX!==void 0){let n=o;I(e.targetX,{instancePath:t+`/targetX`,parentData:e,parentDataProperty:`targetX`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.targetY!==void 0){let n=o;I(e.targetY,{instancePath:t+`/targetY`,parentData:e,parentDataProperty:`targetY`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-anchor`]!==void 0){let n=o;I(e[`text-anchor`],{instancePath:t+`/text-anchor`,parentData:e,parentDataProperty:`text-anchor`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-decoration`]!==void 0){let n=o;I(e[`text-decoration`],{instancePath:t+`/text-decoration`,parentData:e,parentDataProperty:`text-decoration`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`text-rendering`]!==void 0){let n=o;I(e[`text-rendering`],{instancePath:t+`/text-rendering`,parentData:e,parentDataProperty:`text-rendering`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.textLength!==void 0){let n=o;I(e.textLength,{instancePath:t+`/textLength`,parentData:e,parentDataProperty:`textLength`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.transform!==void 0){let n=o;I(e.transform,{instancePath:t+`/transform`,parentData:e,parentDataProperty:`transform`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`transform-origin`]!==void 0){let n=o;I(e[`transform-origin`],{instancePath:t+`/transform-origin`,parentData:e,parentDataProperty:`transform-origin`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.type!==void 0){let n=o;I(e.type,{instancePath:t+`/type`,parentData:e,parentDataProperty:`type`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.values!==void 0){let n=o;I(e.values,{instancePath:t+`/values`,parentData:e,parentDataProperty:`values`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.viewBox!==void 0){let n=o;I(e.viewBox,{instancePath:t+`/viewBox`,parentData:e,parentDataProperty:`viewBox`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.visibility!==void 0){let n=o;I(e.visibility,{instancePath:t+`/visibility`,parentData:e,parentDataProperty:`visibility`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.width!==void 0){let n=o;I(e.width,{instancePath:t+`/width`,parentData:e,parentDataProperty:`width`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`word-spacing`]!==void 0){let n=o;I(e[`word-spacing`],{instancePath:t+`/word-spacing`,parentData:e,parentDataProperty:`word-spacing`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e[`writing-mode`]!==void 0){let n=o;I(e[`writing-mode`],{instancePath:t+`/writing-mode`,parentData:e,parentDataProperty:`writing-mode`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x!==void 0){let n=o;I(e.x,{instancePath:t+`/x`,parentData:e,parentDataProperty:`x`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x1!==void 0){let n=o;I(e.x1,{instancePath:t+`/x1`,parentData:e,parentDataProperty:`x1`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.x2!==void 0){let n=o;I(e.x2,{instancePath:t+`/x2`,parentData:e,parentDataProperty:`x2`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.xChannelSelector!==void 0){let n=o;I(e.xChannelSelector,{instancePath:t+`/xChannelSelector`,parentData:e,parentDataProperty:`xChannelSelector`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y!==void 0){let n=o;I(e.y,{instancePath:t+`/y`,parentData:e,parentDataProperty:`y`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y1!==void 0){let n=o;I(e.y1,{instancePath:t+`/y1`,parentData:e,parentDataProperty:`y1`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.y2!==void 0){let n=o;I(e.y2,{instancePath:t+`/y2`,parentData:e,parentDataProperty:`y2`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s){if(e.yChannelSelector!==void 0){let n=o;I(e.yChannelSelector,{instancePath:t+`/yChannelSelector`,parentData:e,parentDataProperty:`yChannelSelector`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.z!==void 0){let n=o;I(e.z,{instancePath:t+`/z`,parentData:e,parentDataProperty:`z`,rootData:i})||(a=a===null?I.errors:a.concat(I.errors),o=a.length);var s=n===o}else var s=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return vl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return vl.errors=a,o===0}var yl={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 bl(e,{instancePath:t=``,parentData:n,parentDataProperty:r,rootData:i=e}={}){if(typeof e==`string`){if(Xc(e)>64)return bl.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/maxLength`,keyword:`maxLength`,params:{limit:64},message:`must NOT have more than 64 characters`}],!1;if(!Qc.test(e))return bl.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 bl.errors=[{instancePath:t,schemaPath:`#/definitions/camelCaseName/type`,keyword:`type`,params:{type:`string`},message:`must be string`}],!1;return bl.errors=null,!0}function xl(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 xl.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 xl.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 xl.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;bl(e.name,{instancePath:t+`/name`,parentData:e,parentDataProperty:`name`,rootData:i})||(a=a===null?bl.errors:a.concat(bl.errors),o=a.length);var s=n===o}else var s=!0;if(s)if(e.attributes!==void 0){let n=o;vl(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?vl.errors:a.concat(vl.errors),o=a.length);var s=n===o}else var s=!0}}}}else return xl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return xl.errors=a,o===0}function Sl(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 Sl.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 Sl.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 Sl.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 Sl.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;vl(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?vl.errors:a.concat(vl.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 Sl.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 Sl.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 Sl.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 Sl.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;hl(e.value,{instancePath:t+`/children/`+r+`/value`,parentData:e,parentDataProperty:`value`,rootData:i})||(a=a===null?hl.errors:a.concat(hl.errors),o=a.length);var c=n===o}else var c=!0}}}else return Sl.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 Sl.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 Sl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return Sl.errors=a,o===0}var Cl={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},wl={validate:El};function Tl(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 Tl.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 Tl.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 Tl.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 Tl.errors=[{instancePath:t+`/name`,schemaPath:`#/properties/name/enum`,keyword:`enum`,params:{allowedValues:Cl.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;vl(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?vl.errors:a.concat(vl.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 Tl.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(wl.validate(n[r],{instancePath:t+`/children/`+r,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?wl.validate.errors:a.concat(wl.validate.errors),o=a.length),e!==o)break}}}else return Tl.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 Tl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return Tl.errors=a,o===0}function El(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(Xc(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:yl.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;xl(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?xl.errors:a.concat(xl.errors),o=a.length);var p=s===o;if(c||=p,!c){let s=o;Sl(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?Sl.errors:a.concat(Sl.errors),o=a.length);var p=s===o;if(c||=p,!c){let s=o;Tl(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(a=a===null?Tl.errors:a.concat(Tl.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++,El.errors=a,!1}return El.errors=a,o===0}function R(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 R.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 R.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 R.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 R.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 R.errors=[{instancePath:t+`/x/min`,schemaPath:`#/definitions/translateValue/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return R.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 R.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 R.errors=[{instancePath:t+`/x/max`,schemaPath:`#/definitions/translateValue/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return R.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 R.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 R.errors=[{instancePath:t+`/x/step`,schemaPath:`#/definitions/translateValue/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return R.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 R.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 R.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 R.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 R.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 R.errors=[{instancePath:t+`/y/min`,schemaPath:`#/definitions/translateValue/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return R.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 R.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 R.errors=[{instancePath:t+`/y/max`,schemaPath:`#/definitions/translateValue/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-1e3},message:`must be >= -1000`}],!1}else return R.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 R.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 R.errors=[{instancePath:t+`/y/step`,schemaPath:`#/definitions/translateValue/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return R.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 R.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 R.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return R.errors=null,!0}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;if(e.width===void 0&&(n=`width`)||e.height===void 0&&(n=`height`)||e.variants===void 0&&(n=`variants`))return z.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 z.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 z.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 z.errors=[{instancePath:t+`/width`,schemaPath:`#/properties/width/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/height`,schemaPath:`#/properties/height/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/probability`,schemaPath:`#/definitions/componentProbability/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return z.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 z.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 z.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 z.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 z.errors=[{instancePath:t+`/rotate/min`,schemaPath:`#/definitions/componentRotate/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/rotate/max`,schemaPath:`#/definitions/componentRotate/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:-360},message:`must be >= -360`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/rotate/step`,schemaPath:`#/definitions/componentRotate/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return z.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 z.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 z.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 z.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 z.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 z.errors=[{instancePath:t+`/scale/min`,schemaPath:`#/definitions/componentScale/properties/min/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/scale/max`,schemaPath:`#/definitions/componentScale/properties/max/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:0},message:`must be >= 0`}],!1}else return z.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 z.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 z.errors=[{instancePath:t+`/scale/step`,schemaPath:`#/definitions/componentScale/properties/step/exclusiveMinimum`,keyword:`exclusiveMinimum`,params:{comparison:`>`,limit:0},message:`must be > 0`}],!1}else return z.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 z.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;R(e.translate,{instancePath:t+`/translate`,parentData:e,parentDataProperty:`translate`,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.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 z.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(Xc(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(!Qc.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++,z.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 z.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 z.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 z.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(El(n[s],{instancePath:t+`/variants/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/elements/`+s,parentData:n,parentDataProperty:s,rootData:i})||(a=a===null?El.errors:a.concat(El.errors),o=a.length),r!==o)break}}}else return z.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 z.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 z.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 z.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 z.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 z.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 z.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return z.errors=a,o===0}function Dl(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 Dl.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 Dl.errors=[{instancePath:t,schemaPath:`#/additionalProperties`,keyword:`additionalProperties`,params:{additionalProperty:n},message:`must NOT have additional properties`}],!1;n===o&&e.extends!==void 0&&(bl(e.extends,{instancePath:t+`/extends`,parentData:e,parentDataProperty:`extends`,rootData:i})||(a=a===null?bl.errors:a.concat(bl.errors),o=a.length))}}else return Dl.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return Dl.errors=a,o===0}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.canvas===void 0&&(n=`canvas`))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===`$id`||n===`$schema`||n===`$comment`||n===`meta`||n===`attributes`||n===`canvas`||n===`components`||n===`colors`))return B.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(Xc(n)>256)return B.errors=[{instancePath:t+`/$id`,schemaPath:`#/properties/%24id/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return B.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(Xc(n)>256)return B.errors=[{instancePath:t+`/$schema`,schemaPath:`#/properties/%24schema/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return B.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(Xc(n)>4096)return B.errors=[{instancePath:t+`/$comment`,schemaPath:`#/properties/%24comment/maxLength`,keyword:`maxLength`,params:{limit:4096},message:`must NOT have more than 4096 characters`}],!1}else return B.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 B.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 B.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(Xc(n)>128)return B.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 B.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(Xc(n)>2048)return B.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(!Zc.test(n))return B.errors=[{instancePath:t+`/meta/license/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return B.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(Xc(n)>32768)return B.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 B.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 B.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 B.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(Xc(n)>128)return B.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 B.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(Xc(n)>2048)return B.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(!Zc.test(n))return B.errors=[{instancePath:t+`/meta/creator/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return B.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 B.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 B.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(Xc(n)>128)return B.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 B.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(Xc(n)>2048)return B.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(!Zc.test(n))return B.errors=[{instancePath:t+`/meta/source/url`,schemaPath:`#/definitions/safeUrl/pattern`,keyword:`pattern`,params:{pattern:`^https?://`},message:`must match pattern "^https?://"`}],!1}else return B.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 B.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 B.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;vl(e.attributes,{instancePath:t+`/attributes`,parentData:e,parentDataProperty:`attributes`,rootData:i})||(a=a===null?vl.errors:a.concat(vl.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 B.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 B.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 B.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(El(e[r],{instancePath:t+`/canvas/elements/`+r,parentData:e,parentDataProperty:r,rootData:i})||(a=a===null?El.errors:a.concat(El.errors),o=a.length),n!==o)break}}}else return B.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 B.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 B.errors=[{instancePath:t+`/canvas/width`,schemaPath:`#/properties/canvas/properties/width/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return B.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 B.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 B.errors=[{instancePath:t+`/canvas/height`,schemaPath:`#/properties/canvas/properties/height/minimum`,keyword:`minimum`,params:{comparison:`>=`,limit:1},message:`must be >= 1`}],!1}else return B.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 B.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 B.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(Xc(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(!Qc.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++,B.errors=a,!1}}if(p)for(let e in n){let r=n[e],s=o,c=o,l=!1,u=o;z(r,{instancePath:t+`/components/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:n,parentDataProperty:e,rootData:i})||(a=a===null?z.errors:a.concat(z.errors),o=a.length);var m=u===o;if(l||=m,!l){let s=o;Dl(r,{instancePath:t+`/components/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:n,parentDataProperty:e,rootData:i})||(a=a===null?Dl.errors:a.concat(Dl.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++,B.errors=a,!1}if(s!==o)break}}else return B.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 B.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(Xc(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(!Qc.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++,B.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 B.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 B.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 B.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 B.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(Xc(r)>9)return B.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(!$c.test(r))return B.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 B.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 B.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 B.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(ll(n[s],{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/notEqualTo/`+s,parentData:n,parentDataProperty:s,rootData:i})||(a=a===null?ll.errors:a.concat(ll.errors),o=a.length),r!==o)break}}}else return B.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;ll(r.contrastTo,{instancePath:t+`/colors/`+e.replace(/~/g,`~0`).replace(/\//g,`~1`)+`/contrastTo`,parentData:r,parentDataProperty:`contrastTo`,rootData:i})||(a=a===null?ll.errors:a.concat(ll.errors),o=a.length);var g=n===o}else var g=!0}}}}else return B.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 B.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 B.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return B.errors=a,o===0}var Ol=class{static validate(e){if(!B(e))throw new Jc(B.errors||[])}},kl=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},Al=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)},jl,Ml=class{constructor(e){jl.set(this,void 0),kl(this,jl,e,`f`)}name(){return Al(this,jl,`f`).name}url(){return Al(this,jl,`f`).url}text(){return Al(this,jl,`f`).text}};jl=new WeakMap;var Nl=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},Pl=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)},Fl,Il=class{constructor(e){Fl.set(this,void 0),Nl(this,Fl,e,`f`)}name(){return Pl(this,Fl,`f`).name}url(){return Pl(this,Fl,`f`).url}};Fl=new WeakMap;var Ll=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},Rl=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)},zl,Bl=class{constructor(e){zl.set(this,void 0),Ll(this,zl,e,`f`)}name(){return Rl(this,zl,`f`).name}url(){return Rl(this,zl,`f`).url}};zl=new WeakMap;var Vl=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},Hl=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)},Ul,Wl,V,H,U=class{constructor(e){Ul.set(this,void 0),Wl.set(this,void 0),V.set(this,void 0),H.set(this,void 0),Vl(this,Ul,e,`f`)}license(){return Vl(this,Wl,Hl(this,Wl,`f`)??new Ml(Hl(this,Ul,`f`).license??{}),`f`),Hl(this,Wl,`f`)}creator(){return Vl(this,V,Hl(this,V,`f`)??new Il(Hl(this,Ul,`f`).creator??{}),`f`),Hl(this,V,`f`)}source(){return Vl(this,H,Hl(this,H,`f`)??new Bl(Hl(this,Ul,`f`).source??{}),`f`),Hl(this,H,`f`)}};Ul=new WeakMap,Wl=new WeakMap,V=new WeakMap,H=new WeakMap;var W=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)},Gl,Kl,ql=class e{constructor(e){Gl.set(this,void 0),Kl.set(this,void 0),W(this,Gl,e,`f`)}type(){return G(this,Gl,`f`).type}name(){return G(this,Gl,`f`).name}value(){return G(this,Gl,`f`).value}attributes(){return G(this,Gl,`f`).attributes}children(){return W(this,Kl,G(this,Kl,`f`)??(G(this,Gl,`f`).children??[]).map(t=>new e(t)),`f`),G(this,Kl,`f`)}};Gl=new WeakMap,Kl=new WeakMap;var Jl=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},Yl=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)},Xl,Zl,Ql=class{constructor(e){Xl.set(this,void 0),Zl.set(this,void 0),Jl(this,Xl,e,`f`)}width(){return Yl(this,Xl,`f`).width}height(){return Yl(this,Xl,`f`).height}elements(){return Jl(this,Zl,Yl(this,Zl,`f`)??Yl(this,Xl,`f`).elements.map(e=>new ql(e)),`f`),Yl(this,Zl,`f`)}};Xl=new WeakMap,Zl=new WeakMap;var $l=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},eu=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,nu=class{constructor(e){tu.set(this,void 0),$l(this,tu,e,`f`)}x(){return eu(this,tu,`f`).x}y(){return eu(this,tu,`f`).y}};tu=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},iu=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)},au,ou,su=class{constructor(e){au.set(this,void 0),ou.set(this,void 0),ru(this,au,e,`f`)}elements(){return ru(this,ou,iu(this,ou,`f`)??iu(this,au,`f`).elements.map(e=>new ql(e)),`f`),iu(this,ou,`f`)}weight(){return iu(this,au,`f`).weight??1}};au=new WeakMap,ou=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},K=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)},lu,uu,du,fu,pu,mu,hu,gu=class{constructor(e,t,n){lu.add(this),uu.set(this,void 0),du.set(this,void 0),fu.set(this,void 0),pu.set(this,void 0),mu.set(this,void 0),cu(this,uu,t,`f`),cu(this,du,e,`f`),cu(this,fu,n,`f`)}name(){return K(this,du,`f`)}extendsName(){return`extends`in K(this,uu,`f`)?K(this,uu,`f`).extends:void 0}sourceName(){return this.extendsName()??K(this,du,`f`)}width(){return K(this,fu,`f`)?K(this,fu,`f`).width():K(this,lu,`m`,hu).call(this).width}height(){return K(this,fu,`f`)?K(this,fu,`f`).height():K(this,lu,`m`,hu).call(this).height}probability(){return K(this,fu,`f`)?K(this,fu,`f`).probability():K(this,lu,`m`,hu).call(this).probability??100}rotate(){return K(this,fu,`f`)?K(this,fu,`f`).rotate():K(this,lu,`m`,hu).call(this).rotate}scale(){return K(this,fu,`f`)?K(this,fu,`f`).scale():K(this,lu,`m`,hu).call(this).scale}translate(){return K(this,fu,`f`)?K(this,fu,`f`).translate():(cu(this,pu,K(this,pu,`f`)??new nu(K(this,lu,`m`,hu).call(this).translate??{}),`f`),K(this,pu,`f`))}variants(){return K(this,fu,`f`)?K(this,fu,`f`).variants():(cu(this,mu,K(this,mu,`f`)??new Map(Object.entries(K(this,lu,`m`,hu).call(this).variants).map(([e,t])=>[e,new su(t)])),`f`),K(this,mu,`f`))}};uu=new WeakMap,du=new WeakMap,fu=new WeakMap,pu=new WeakMap,mu=new WeakMap,lu=new WeakSet,hu=function(){return K(this,uu,`f`)};var _u=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},vu=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)},yu,bu=class{constructor(e){yu.set(this,void 0),_u(this,yu,e,`f`)}values(){return vu(this,yu,`f`).values}notEqualTo(){return vu(this,yu,`f`).notEqualTo??[]}contrastTo(){return vu(this,yu,`f`).contrastTo}};yu=new WeakMap;var xu=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},Su=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)},Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu=class{constructor(e){Cu.add(this),Tu.set(this,void 0),Eu.set(this,void 0),Du.set(this,void 0),Ou.set(this,void 0),ku.set(this,void 0),Ol.validate(e),xu(this,Tu,structuredClone(e),`f`),Su(this,Cu,`m`,Au).call(this)}id(){return Su(this,Tu,`f`).$id}schema(){return Su(this,Tu,`f`).$schema}comment(){return Su(this,Tu,`f`).$comment}meta(){return xu(this,Eu,Su(this,Eu,`f`)??new U(Su(this,Tu,`f`).meta??{}),`f`),Su(this,Eu,`f`)}attributes(){return structuredClone(Su(this,Tu,`f`).attributes??{})}definition(){return structuredClone(Su(this,Tu,`f`))}canvas(){return xu(this,Du,Su(this,Du,`f`)??new Ql(Su(this,Tu,`f`).canvas),`f`),Su(this,Du,`f`)}components(){if(Su(this,Ou,`f`))return Su(this,Ou,`f`);let e=Object.entries(Su(this,Tu,`f`).components??{}),t=new Map;for(let[n,r]of e)Su(wu,wu,`m`,ju).call(wu,r)||t.set(n,new gu(n,r));for(let[n,r]of e)Su(wu,wu,`m`,ju).call(wu,r)&&t.set(n,new gu(n,r,t.get(r.extends)));return xu(this,Ou,t,`f`),Su(this,Ou,`f`)}colors(){return xu(this,ku,Su(this,ku,`f`)??new Map(Object.entries(Su(this,Tu,`f`).colors??{}).map(([e,t])=>[e,new bu(t)])),`f`),Su(this,ku,`f`)}};wu=Mu,Tu=new WeakMap,Eu=new WeakMap,Du=new WeakMap,Ou=new WeakMap,ku=new WeakMap,Cu=new WeakSet,Au=function(){let e=Su(this,Tu,`f`).components;if(!e)return;let t=[];for(let[n,r]of Object.entries(e)){if(!Su(wu,wu,`m`,ju).call(wu,r))continue;let i=r.extends,a=e[i];if(!a){t.push({instancePath:`/components/${n}/extends`,message:`references unknown component "${i}"`});continue}Su(wu,wu,`m`,ju).call(wu,a)&&t.push({instancePath:`/components/${n}/extends`,message:`references alias "${i}" — alias chains are not allowed`})}if(t.length>0)throw new Jc(t)},ju=function(e){return`extends`in e};var Nu=class extends qc{constructor(e){super(`Invalid options`,e),this.name=`OptionsValidationError`}};function Pu(e){let t=0;for(let n of e)t++;return t}var Fu={$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},Iu={type:`string`,enum:[`none`,`horizontal`,`vertical`,`both`]},Lu={type:`string`,enum:[`solid`,`linear`,`radial`]},Ru=Pu,zu=Object.prototype.hasOwnProperty,Bu=RegExp(`^[a-z][a-zA-Z0-9]*Probability$`,`u`),Vu=RegExp(`^[a-z][a-zA-Z0-9]*Variant$`,`u`),Hu=RegExp(`^[a-z][a-zA-Z0-9]*Color$`,`u`),Uu=RegExp(`^[a-z][a-zA-Z0-9]*ColorFill$`,`u`),Wu=RegExp(`^[a-z][a-zA-Z0-9]*ColorFillStops$`,`u`),Gu=RegExp(`^[a-z][a-zA-Z0-9]*ColorAngle$`,`u`),Ku=RegExp(`^rotate$`,`u`),qu=RegExp(`^translateY$`,`u`),Ju=RegExp(`^translateX$`,`u`),Yu=RegExp(`^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$`,`u`),q=RegExp(`^[a-z][a-zA-Z0-9]*$`,`u`),Xu=RegExp(`^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$`,`u`);function Zu(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++,Zu.errors=a,!1}return Zu.errors=a,o===0}function Qu(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++,Qu.errors=a,!1}return Qu.errors=a,o===0}function $u(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++,$u.errors=a,!1}return $u.errors=a,o===0}function ed(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 ed.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`&&Ru(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++,ed.errors=a,!1}}if(s){let n=o;for(let n in e)if(!(zu.call(Fu.properties,n)||Bu.test(n)||Vu.test(n)||Hu.test(n)||Uu.test(n)||Wu.test(n)||Gu.test(n)||Ku.test(n)||qu.test(n)||Ju.test(n)))return ed.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(Ru(n)>1024)return ed.errors=[{instancePath:t+`/seed`,schemaPath:`#/properties/seed/maxLength`,keyword:`maxLength`,params:{limit:1024},message:`must NOT have more than 1024 characters`}],!1}else return ed.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 ed.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 ed.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 ed.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 ed.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(Ru(n)>256)return ed.errors=[{instancePath:t+`/title`,schemaPath:`#/properties/title/maxLength`,keyword:`maxLength`,params:{limit:256},message:`must NOT have more than 256 characters`}],!1}else return ed.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:Iu.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:Iu.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++,ed.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(Ru(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(!Yu.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(Ru(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(!Yu.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++,ed.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++,ed.errors=a,!1}var c=r===o}else var c=!0;if(c){if(e.scale!==void 0){let n=o;Zu(e.scale,{instancePath:t+`/scale`,parentData:e,parentDataProperty:`scale`,rootData:i})||(a=a===null?Zu.errors:a.concat(Zu.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++,ed.errors=a,!1}var c=r===o}else var c=!0;if(c){var p=!0;for(let n in e)if(Bu.test(n)){let r=e[n],i=o;if(o===i)if(typeof r==`number`&&isFinite(r)){if(r>100||isNaN(r))return ed.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 ed.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 ed.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(Vu.test(n)){let r=e[n],i=o,s=o,c=!1,l=o;if(o===o)if(typeof r==`string`){if(Ru(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(!q.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(Ru(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(!q.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(Ru(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(!q.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++,ed.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Hu.test(n)){let r=e[n],i=o,s=o,c=!1,l=o;if(o===o)if(typeof r==`string`){if(!Xu.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(!Xu.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++,ed.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Uu.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:Lu.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:Lu.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++,ed.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Wu.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++,ed.errors=a,!1}var p=i===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Gu.test(n)){let r=o;Qu(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Qu.errors:a.concat(Qu.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Ku.test(n)){let r=o;Qu(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?Qu.errors:a.concat(Qu.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(qu.test(n)){let r=o;$u(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?$u.errors:a.concat($u.errors),o=a.length);var p=r===o;if(!p)break}if(p){var p=!0;for(let n in e)if(Ju.test(n)){let r=o;$u(e[n],{instancePath:t+`/`+n.replace(/~/g,`~0`).replace(/\//g,`~1`),parentData:e,parentDataProperty:n,rootData:i})||(a=a===null?$u.errors:a.concat($u.errors),o=a.length);var p=r===o;if(!p)break}}}}}}}}}}}}}}}}}}}}}else return ed.errors=[{instancePath:t,schemaPath:`#/type`,keyword:`type`,params:{type:`object`},message:`must be object`}],!1;return ed.errors=a,o===0}var td=class{static validate(e){if(!ed(e))throw new Nu(ed.errors||[])}},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},J=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=class{constructor(e={}){rd.add(this),id.set(this,void 0),td.validate(e),nd(this,id,structuredClone(e),`f`)}seed(){return J(this,id,`f`).seed}size(){return J(this,id,`f`).size}idRandomization(){return J(this,id,`f`).idRandomization}title(){return J(this,id,`f`).title}flip(){return J(this,rd,`m`,od).call(this,J(this,id,`f`).flip)}fontFamily(){return J(this,rd,`m`,od).call(this,J(this,id,`f`).fontFamily)}fontWeight(){return J(this,rd,`m`,od).call(this,J(this,id,`f`).fontWeight)}scale(){return J(this,rd,`m`,sd).call(this,J(this,id,`f`).scale)}borderRadius(){return J(this,rd,`m`,sd).call(this,J(this,id,`f`).borderRadius)}rotate(){return J(this,rd,`m`,sd).call(this,J(this,id,`f`).rotate)}translateX(){return J(this,rd,`m`,sd).call(this,J(this,id,`f`).translateX)}translateY(){return J(this,rd,`m`,sd).call(this,J(this,id,`f`).translateY)}componentVariant(e){let t=J(this,rd,`m`,ad).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 J(this,rd,`m`,ad).call(this,`${e}Probability`)}color(e){let t=J(this,rd,`m`,ad).call(this,`${e}Color`);return t===void 0?void 0:J(this,rd,`m`,od).call(this,t)}colorFill(e){return J(this,rd,`m`,od).call(this,J(this,rd,`m`,ad).call(this,`${e}ColorFill`))}colorAngle(e){return J(this,rd,`m`,sd).call(this,J(this,rd,`m`,ad).call(this,`${e}ColorAngle`))}colorFillStops(e){return J(this,rd,`m`,sd).call(this,J(this,rd,`m`,ad).call(this,`${e}ColorFillStops`))}};id=new WeakMap,rd=new WeakSet,ad=function(e){return J(this,id,`f`)[e]},od=function(e){return e===void 0?[]:Array.isArray(e)?e:[e]},sd=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 ld=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`)}},ud=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},dd=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)},fd,pd=2**32,md=class{constructor(e){fd.set(this,void 0),ud(this,fd,e,`f`)}next(){let e=ud(this,fd,dd(this,fd,`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()/pd}state(){return dd(this,fd,`f`)}};fd=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=class{constructor(e){_d.add(this),vd.set(this,void 0),hd(this,vd,e,`f`)}pick(e,t){if(t.length===0)return;if(t.length===1)return t[0];let n=gd(this,_d,`m`,yd).call(this,t);if(n.length===1)return n[0];let r=n.sort(gd(this,_d,`m`,bd));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(gd(this,_d,`m`,bd)),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=gd(this,_d,`m`,yd).call(this,t).sort(gd(this,_d,`m`,bd)),r=new md(ld.hash(gd(this,vd,`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 md(ld.hash(gd(this,vd,`f`)+`:`+e)).nextFloat()}};vd=new WeakMap,_d=new WeakSet,yd=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},bd=function(e,t){let n=String(e),r=String(t);return n<r?-1:+(n>r)};var Sd=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)},Cd,Y,wd,Td=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=Sd(this,Cd,`m`,wd).call(this,t[0]),r=Sd(this,Cd,`m`,wd).call(this,t[1]),i=Sd(this,Cd,`m`,wd).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)}};Cd=Td,wd=function(e){return Sd(Cd,Cd,`f`,Y)[e]},Y={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 Ed=class extends Error{constructor(e){let t=e.join(` → `);super(`Circular color reference: ${t}`),this.name=`CircularColorReferenceError`,this.chain=e}},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},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)},Od,kd,Ad,jd,Md,Nd,Pd,Fd,Id,Ld,Rd,zd,Bd=class{constructor(e,t){Od.add(this),kd.set(this,void 0),Ad.set(this,void 0),jd.set(this,void 0),Md.set(this,[]),Nd.set(this,{}),Dd(this,kd,e,`f`),Dd(this,Ad,t,`f`),Dd(this,jd,new xd(this.seed()),`f`)}seed(){return X(this,Ad,`f`).seed()??``}size(){return X(this,Od,`m`,zd).call(this,`size`,()=>X(this,Ad,`f`).size())}idRandomization(){return X(this,Od,`m`,zd).call(this,`idRandomization`,()=>X(this,Ad,`f`).idRandomization()??!1)}title(){return X(this,Od,`m`,zd).call(this,`title`,()=>X(this,Ad,`f`).title())}flip(){return X(this,Od,`m`,zd).call(this,`flip`,()=>X(this,jd,`f`).pick(`flip`,X(this,Ad,`f`).flip())??`none`)}fontFamily(){return X(this,Od,`m`,zd).call(this,`fontFamily`,()=>X(this,jd,`f`).pick(`fontFamily`,X(this,Ad,`f`).fontFamily())??`system-ui`)}fontWeight(){return X(this,Od,`m`,zd).call(this,`fontWeight`,()=>X(this,jd,`f`).pick(`fontWeight`,X(this,Ad,`f`).fontWeight())??400)}scale(){return X(this,Od,`m`,Rd).call(this,`scale`,X(this,Ad,`f`).scale(),1)}borderRadius(){return X(this,Od,`m`,Rd).call(this,`borderRadius`,X(this,Ad,`f`).borderRadius(),0)}rotate(){return X(this,Od,`m`,Rd).call(this,`rotate`,X(this,Ad,`f`).rotate(),0)}translateX(){return X(this,Od,`m`,Rd).call(this,`translateX`,X(this,Ad,`f`).translateX(),0)}translateY(){return X(this,Od,`m`,Rd).call(this,`translateY`,X(this,Ad,`f`).translateY(),0)}variant(e){return X(this,Od,`m`,zd).call(this,`${e}Variant`,()=>{let t=X(this,kd,`f`).components().get(e);if(!t||!X(this,Od,`m`,Fd).call(this,e,t))return;let n=X(this,Ad,`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,jd,`f`).weightedPick(`${e}Variant`,i)})}color(e){return X(this,Od,`m`,zd).call(this,`${e}Color`,()=>X(this,Od,`m`,Id).call(this,e))}colorFill(e){return X(this,Od,`m`,zd).call(this,`${e}ColorFill`,()=>X(this,jd,`f`).pick(`${e}ColorFill`,X(this,Ad,`f`).colorFill(e))??`solid`)}colorAngle(e){return X(this,Od,`m`,Rd).call(this,`${e}ColorAngle`,X(this,Ad,`f`).colorAngle(e),0)}componentTransform(e){let t=X(this,kd,`f`).components().get(e);return{rotate:X(this,Od,`m`,Rd).call(this,`${e}Rotate`,t?.rotate(),0),translateX:X(this,Od,`m`,Rd).call(this,`${e}TranslateX`,t?.translate().x(),0),translateY:X(this,Od,`m`,Rd).call(this,`${e}TranslateY`,t?.translate().y(),0),scale:X(this,Od,`m`,Rd).call(this,`${e}Scale`,t?.scale(),1)}}resolved(){return X(this,Nd,`f`)}};kd=new WeakMap,Ad=new WeakMap,jd=new WeakMap,Md=new WeakMap,Nd=new WeakMap,Od=new WeakSet,Pd=function(e){return X(this,Ad,`f`).componentProbability(e.sourceName())??e.probability()},Fd=function(e,t){return X(this,jd,`f`).bool(`${e}Probability`,X(this,Od,`m`,Pd).call(this,t))},Id=function(e){let t=X(this,Ad,`f`).color(e),n=X(this,kd,`f`).colors().get(e),r=(t??n?.values()??[]).map(e=>Td.toHex(e)),i=this.colorFill(e)===`solid`?1:X(this,Od,`m`,Ld).call(this,e);if(!n)return X(this,jd,`f`).shuffle(`${e}Color`,r).slice(0,i);if(X(this,Md,`f`).includes(e))throw new Ed(X(this,Md,`f`).concat(e));X(this,Md,`f`).push(e);let a=n.contrastTo(),o=n.notEqualTo();try{if(a){let e=this.color(a)[0];e&&(r=Td.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=Td.filterNotEqualTo(r,e)}}finally{X(this,Md,`f`).pop()}return(a?r:X(this,jd,`f`).shuffle(`${e}Color`,r)).slice(0,i)},Ld=function(e){let t=X(this,Ad,`f`).colorFillStops(e);return t?X(this,jd,`f`).integer(`${e}ColorFillStops`,t):2},Rd=function(e,t,n){return X(this,Od,`m`,zd).call(this,e,()=>t?X(this,jd,`f`).float(e,t):n)},zd=function(e,t){if(e in X(this,Nd,`f`))return X(this,Nd,`f`)[e];let n=t();return X(this,Nd,`f`)[e]=n,n};var Vd=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()}},Hd=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)},Ud,Wd,Gd,Kd=class{static escape(e){return e.replace(Hd(Ud,Ud,`f`,Gd),e=>Hd(Ud,Ud,`f`,Wd)[e])}};Ud=Kd,Wd={value:{"&":`&amp;`,"'":`&apos;`,'"':`&quot;`,"<":`&lt;`,">":`&gt;`}},Gd={value:RegExp(`[${Object.keys(Hd(Ud,Ud,`f`,Wd)).join(``)}]`,`g`)};var qd=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>${Kd.escape(t)}</dc:title>`),n&&o.push(`<dc:creator>${Kd.escape(n)}</dc:creator>`),r&&o.push(`<dc:source xsi:type="dcterms:URI">${Kd.escape(r)}</dc:source>`),i&&o.push(`<dcterms:license xsi:type="dcterms:URI">${Kd.escape(i)}</dcterms:license>`),a&&o.push(`<dc:rights>${Kd.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}`:``}`}},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},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)},$,Yd,Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df,ff,pf,mf,hf,gf,_f,vf,yf,bf,xf,Sf=class{constructor(e,t){$.add(this),Yd.set(this,void 0),Xd.set(this,void 0),Zd.set(this,new Map),Qd.set(this,void 0),$d.set(this,void 0),Jd(this,Yd,e,`f`),Jd(this,Xd,t,`f`)}render(){let e=Q(this,Yd,`f`).canvas(),t=Q(this,$,`m`,of).call(this,e),n=Q(this,$,`m`,cf).call(this,e.elements());n=Q(this,$,`m`,tf).call(this,n,e),n=Q(this,$,`m`,ef).call(this,n,e),n=Q(this,$,`m`,rf).call(this,n,e),n=Q(this,$,`m`,af).call(this,n,e),n=Q(this,$,`m`,nf).call(this,`${t}${n}`,e);let r=qd.xml(Q(this,Yd,`f`).meta()),i=Q(this,Zd,`f`).size>0?`<defs>${Array.from(Q(this,Zd,`f`).values()).join(``)}</defs>`:``,a=Q(this,Xd,`f`).size(),o=Q(this,Xd,`f`).title(),s=o===void 0?void 0:Kd.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`,mf).call(this,Q(this,Yd,`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,Xd,`f`).idRandomization()&&(d=Q(this,$,`m`,sf).call(this,d)),d}};Yd=new WeakMap,Xd=new WeakMap,Zd=new WeakMap,Qd=new WeakMap,$d=new WeakMap,$=new WeakSet,ef=function(e,t){let n=Q(this,Xd,`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>`},tf=function(e,t){let n=Q(this,Xd,`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>`},nf=function(e,t){let n=Q(this,Xd,`f`).borderRadius(),r=`clip-${Q(this,$,`m`,xf).call(this)}`,i=Z.format(n/100*t.width()),a=Z.format(n/100*t.height());return Q(this,Zd,`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>`},rf=function(e,t){let n=Q(this,Xd,`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>`},af=function(e,t){let n=Q(this,Xd,`f`).translateX(),r=Q(this,Xd,`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>`},of=function(e){return Q(this,Xd,`f`).color(`background`).length===0?``:`<rect width="${Z.format(e.width())}" height="${Z.format(e.height())}" fill="${Kd.escape(Q(this,$,`m`,gf).call(this,`background`))}"/>`},sf=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}`)},cf=function(e){return e.map(e=>Q(this,$,`m`,lf).call(this,e)).join(``)},lf=function(e){switch(e.type()){case`element`:return Q(this,$,`m`,uf).call(this,e);case`text`:return Q(this,$,`m`,df).call(this,e);case`component`:return Q(this,$,`m`,ff).call(this,e)}},uf=function(e){let t=e.name();if(!t)return``;if(t===`defs`){for(let t of e.children()){let e=Q(this,$,`m`,lf).call(this,t);if(e.length>0){let n=t.attributes()?.id,r=typeof n==`string`?n:`_${Q(this,Zd,`f`).size}`;Q(this,Zd,`f`).set(r,e)}}return``}let n=Q(this,$,`m`,mf).call(this,e.attributes()),r=Q(this,$,`m`,cf).call(this,e.children());return r.length===0?`<${t}${n}/>`:`<${t}${n}>${r}</${t}>`},df=function(e){let t=e.value();return t===void 0?``:Kd.escape(Q(this,$,`m`,vf).call(this,t))},ff=function(e){let t=e.name();if(typeof t!=`string`)return``;let n=Q(this,Xd,`f`).variant(t);if(!n)return``;let r=Q(this,Yd,`f`).components().get(t);if(!r)return``;let i=r.variants().get(n);if(!i)return``;let a=`${r.sourceName()}-${n}-${Q(this,$,`m`,xf).call(this)}`;if(!Q(this,Zd,`f`).has(a)){let e=Q(this,$,`m`,cf).call(this,i.elements());Q(this,Zd,`f`).set(a,`<g id="${a}">${e}</g>`)}let o=Q(this,$,`m`,pf).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`,mf).call(this,c)} href="#${a}"/>`},pf=function(e){let{rotate:t,translateX:n,translateY:r,scale:i}=Q(this,Xd,`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},mf=function(e){if(!e)return``;let t=[];for(let[n,r]of Object.entries(e))r!==void 0&&t.push(`${n}="${Kd.escape(Q(this,$,`m`,hf).call(this,r))}"`);return t.length===0?``:` ${t.join(` `)}`},hf=function(e){return typeof e==`string`?e:e.type===`color`?Q(this,$,`m`,gf).call(this,e.name):Q(this,$,`m`,yf).call(this,e.name)},gf=function(e){let t=Q(this,Xd,`f`).color(e),n=Q(this,Xd,`f`).colorFill(e);return n===`solid`||t.length<=1?t[0]??`none`:Q(this,$,`m`,_f).call(this,e,t,n)},_f=function(e,t,n){let r=Q(this,Xd,`f`).colorAngle(e),i=`${e}-color-${Q(this,$,`m`,xf).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="${Kd.escape(e)}"/>`);return Q(this,Zd,`f`).set(i,`<${a} id="${i}"${o}>${s.join(``)}</${a}>`),`url(#${i})`},vf=function(e){return typeof e==`string`?e:e.type===`variable`?Q(this,$,`m`,yf).call(this,e.name):``},yf=function(e){switch(e){case`initial`:{let e=Q(this,$,`m`,bf).call(this).codePointAt(0);return e===void 0?``:String.fromCodePoint(e)}case`initials`:return Q(this,$,`m`,bf).call(this);case`fontWeight`:return Z.format(Q(this,Xd,`f`).fontWeight());case`fontFamily`:return Q(this,Xd,`f`).fontFamily()}},bf=function(){return Jd(this,$d,Q(this,$d,`f`)??Vd.fromSeed(Q(this,Xd,`f`).seed()),`f`)},xf=function(){return Jd(this,Qd,Q(this,Qd,`f`)??ld.hex(Q(this,Xd,`f`).seed()),`f`)};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},wf=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)},Tf,Ef,Df=!1,Of=class{constructor(e,t){Tf.set(this,void 0),Ef.set(this,void 0),!(e instanceof Mu)&&!Df&&(Df=!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 Mu?e:new Mu(e),r=new Bd(n,new cd(t));Cf(this,Tf,new Sf(n,r).render(),`f`),Cf(this,Ef,r.resolved(),`f`)}toString(){return wf(this,Tf,`f`)}toJSON(){return{svg:wf(this,Tf,`f`),options:structuredClone(wf(this,Ef,`f`))}}toDataUri(){return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(wf(this,Tf,`f`))}`}};Tf=new WeakMap,Ef=new WeakMap;var kf={$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`]}}},Af=[`panda`,`owl`,`dolphin`,`tiger`,`turtle`,`snow-mountain`];function jf(e){let t=typeof e==`string`?e.trim():``;return Af.includes(t)?t:``}function Mf(e){return Nf(jf(e)||e)}function Nf(e){return`/avatars/default/${e}.svg`}function Pf(e){if(typeof e!=`string`)return``;let t=e.trim();return jf(/^\/avatars\/default\/([^/]+)\.svg$/.exec(t)?.[1]||``)}function Ff(e){return!!Pf(e)}function If(e){let t=Pf(e);return t?Nf(t):``}function Lf(e){return new Of(new Mu(kf),{seed:`most.box@`+e,flip:`horizontal`}).toDataUri()}function Rf(e,t){let n=Pf(t);return n?Nf(n):t||(e?Lf(e):`/avatar.png`)}function zf(){let{t:e}=He(),t=De(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,Fc.createPortal)((0,F.jsx)(Ic,{onClose:r,className:`login-modal-overlay`,children:(0,F.jsxs)(`form`,{className:`login-modal`,onSubmit:e=>{e.preventDefault(),v()},children:[(0,F.jsxs)(`div`,{className:`login-modal-header`,children:[(0,F.jsx)(`h3`,{children:e(`login.title`)}),(0,F.jsx)(`button`,{className:`login-modal-close`,onClick:r,type:`button`,children:(0,F.jsx)(Cc,{size:18})})]}),(0,F.jsxs)(`div`,{className:`login-modal-body`,children:[(0,F.jsx)(`img`,{className:`login-avatar-preview`,src:s?Rf(s):`/avatar.png`,alt:`avatar`}),(0,F.jsx)(`p`,{className:`login-tip`,children:_}),d&&(0,F.jsx)(`p`,{className:`login-error`,children:e(d)}),(0,F.jsx)(`input`,{type:`text`,className:`input input-compact`,placeholder:e(`login.username.placeholder`),value:i,onChange:e=>f(e.target.value),autoFocus:!0}),(0,F.jsxs)(`div`,{className:`login-password-wrapper`,children:[(0,F.jsx)(`input`,{type:o?`text`:`password`,className:`input input-compact`,placeholder:e(`login.password.placeholder`),value:a,onChange:e=>p(e.target.value)}),(0,F.jsx)(`button`,{className:`login-password-toggle`,type:`button`,onClick:m,children:o?(0,F.jsx)(fc,{size:16}):(0,F.jsx)(pc,{size:16})})]}),(0,F.jsxs)(`div`,{className:`login-buttons-row`,children:[(0,F.jsx)(`button`,{className:`btn btn-secondary`,onClick:h,disabled:l||u,type:`button`,children:e(l?`login.previewed`:`login.preview`)}),(0,F.jsx)(`button`,{className:`btn btn-primary`,disabled:!l||u,type:`submit`,children:e(u?`login.loading`:`common.confirm`)})]})]})]})}),document.body)}function Bf(e){return e.trim().replace(/\/+$/,``)}function Vf(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}function Hf(e){try{return new URL(e).host}catch{return e}}function Uf({variant:e=`page`}){let t=De(e=>e.checkBackend),n=De(e=>e.addToast),r=De(e=>e.hasBackend),i=Bf(ae()),a=Bf(ge()),o=a&&a===i?a:``,s=r===!0?i:``,[c,l]=(0,P.useState)(o),[u,d]=(0,P.useState)(xe()),[f,p]=(0,P.useState)(()=>ce()),[m,h]=(0,P.useState)(!1),{t:g}=He(),_=g(o?`remote.title.edit`:`remote.title.connect`),v=g(`remote.hint`),y=e===`page`;function b(){p(ce())}async function x(e,t){let r=Bf(e),i=t.trim();if(l(r),d(i),!Vf(r)){n(g(`remote.error.invalidUrl`),`warning`);return}h(!0);try{let{ok:e,reason:t}=await we({url:r,invite:i});if(!e){n(g(t===`http`?`remote.error.http`:t===`ws`?`remote.error.ws`:`remote.error.failed`),`error`);return}te({url:r,invite:i}),b(),De.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 C(){ue(),l(``),d(``),b(),await t(),b(),n(g(`remote.cleared`),`success`)}return(0,F.jsxs)(`div`,{className:`remote-node-connect remote-node-connect-${e}`,children:[y?(0,F.jsxs)(`div`,{className:`remote-node-connect-heading`,children:[(0,F.jsx)(bc,{size:20}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`h2`,{children:_}),(0,F.jsx)(`p`,{children:v})]})]}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`label`,{className:`drawer-label`,children:[(0,F.jsx)(bc,{size:14,className:`icon-inline`}),_]}),(0,F.jsx)(`p`,{className:`drawer-hint drawer-hint-spaced`,children:v})]}),(0,F.jsxs)(`div`,{className:`remote-node-form`,children:[(0,F.jsx)(`input`,{className:`input input-compact`,placeholder:`https://node.example.com`,value:c,onChange:e=>l(e.target.value)}),(0,F.jsx)(`input`,{className:`input input-compact`,placeholder:g(`remote.invite.placeholder`),value:u,onChange:e=>d(e.target.value)}),(0,F.jsxs)(`button`,{className:`btn btn-primary btn-full`,onClick:S,disabled:m||!c.trim(),children:[(0,F.jsx)(bc,{size:16}),g(m?`remote.connecting`:o?`remote.updateConnection`:`remote.connectNode`)]}),o&&(0,F.jsxs)(`button`,{className:`btn btn-secondary btn-full`,onClick:C,disabled:m,children:[(0,F.jsx)(Sc,{size:16}),g(`remote.disconnect`)]})]}),f.length>0&&(0,F.jsxs)(`section`,{className:`remote-node-history`,"aria-label":g(`remote.history.title`),children:[(0,F.jsxs)(`div`,{className:`remote-node-history-title`,children:[(0,F.jsx)(mc,{size:14}),(0,F.jsx)(`span`,{children:g(`remote.history.title`)})]}),(0,F.jsx)(`div`,{className:`remote-node-list`,children:f.map(e=>{let t=Hf(e.url),n=s&&Bf(e.url)===s;return(0,F.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,F.jsx)(`span`,{className:`remote-node-item-main`,children:(0,F.jsx)(`span`,{className:`remote-node-host`,children:t})}),n?(0,F.jsxs)(`span`,{className:`remote-node-badge`,children:[(0,F.jsx)(sc,{size:12}),g(`remote.history.current`)]}):(0,F.jsx)(bc,{className:`remote-node-idle-icon`,size:14})]},e.url)})})]})]})}function Wf(){let e=De(e=>e.showConnectModal),t=De(e=>e.closeConnectModal),{t:n}=He();return e?(0,Fc.createPortal)((0,F.jsx)(Ic,{onClose:t,children:(0,F.jsxs)(`div`,{className:`connect-modal`,children:[(0,F.jsxs)(`div`,{className:`connect-modal-header`,children:[(0,F.jsx)(`h3`,{children:n(`connectModal.title`)}),(0,F.jsx)(`button`,{className:`connect-modal-close`,onClick:t,type:`button`,children:(0,F.jsx)(Cc,{size:18})})]}),(0,F.jsx)(`div`,{className:`connect-modal-body`,children:(0,F.jsx)(Uf,{variant:`drawer`})})]})}),document.body):null}var Gf=`https://api.most.box/auth/backup`;async function Kf(e,t){return(await e.clone().json().catch(()=>null))?.error||t}function qf(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 Jf(e,t){return f(JSON.stringify(qf(e)),t)}function Yf(e,t){if(!String(e||``).startsWith(`mp://1`))throw Error(`无效的备份数据格式`);let n=fe(e,t);if(!n)throw Error(`解密失败,请确认当前 Web3 登录账号正确`);return qf(JSON.parse(n))}async function Xf(e){return _(JSON.stringify(qf(e)))}async function Zf(e,t,n=Gf){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 Qf(e,t){let n=await Xf(t);return{cid:n,body:Jf(t,e.danger),headers:{"Content-Type":`text/plain`,"x-backup-cid":n,...await Zf(e,`PUT`,Gf)}}}async function $f(e,t,n=Gf){let r=await Qf(e,t),i=await fetch(n,{method:`PUT`,headers:r.headers,body:r.body});if(!i.ok)throw Error(await Kf(i,`云备份失败`));return{cid:r.cid}}async function ep(e,t=Gf){let n=await fetch(t,{method:`GET`,headers:await Zf(e,`GET`,t)});if(n.status===404)return{found:!1,cid:``,time:0,payload:null};if(!n.ok)throw Error(await Kf(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:Yf(r,e.danger)}}async function tp(){return ve.get(`/api/note-vault/status`).json()}async function np(e){return ve.post(`/api/note-vault/config`,{json:{path:e}}).json()}async function rp(){let e=await ve.get(`/api/note-vault/files`).json();return Array.isArray(e.files)?e.files:[]}async function ip(e){return ve.get(`/api/note-vault/file`,{searchParams:{path:e}}).json()}async function ap(e,t){return(await ve.put(`/api/note-vault/file`,{json:{path:e,content:t}}).json()).file}async function op(e,t=``){return(await ve.post(`/api/note-vault/file`,{json:{path:e,content:t}}).json()).file}async function sp(e,t){return(await ve.patch(`/api/note-vault/file`,{json:{path:e,newPath:t}}).json()).file}async function cp(e){return ve.delete(`/api/note-vault/file`,{searchParams:{path:e}}).json()}async function lp(){return ve.get(`/api/note-vault/snapshot`).json()}async function up(e){return(await ve.post(`/api/note-vault/restore`,{json:e}).json()).result}function dp(e,t){return e instanceof Error?e.message:t}function fp(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 pp(e){return!!(e.notes.length||e.profile||e.preferences||e.files?.length||e.trashFiles?.length||e.channels?.length||e.noteVault?.files.length)}function mp(e){return!!(e.notes.length||e.files?.length||e.trashFiles?.length||e.channels?.length||e.noteVault?.files.length)}function hp(e,t){return[...Array.isArray(e)?e:[]].sort((e,n)=>String(e?.[t]||``).localeCompare(String(n?.[t]||``)))}function gp(e){return{type:e.type,schemaVersion:e.schemaVersion,ownerAddress:e.ownerAddress.toLowerCase(),notes:e.notes,profile:e.profile||null,preferences:e.preferences||null,files:hp(e.files,`cid`),trashFiles:hp(e.trashFiles,`cid`),channels:hp(e.channels,`channelKey`),noteVault:e.noteVault?{files:hp(e.noteVault.files,`path`)}:null}}function _p(e,t){return JSON.stringify(gp(e))!==JSON.stringify(gp(t))}function vp(e){return Array.isArray(e)?e.length:0}function yp(){return typeof window<`u`&&window.electronAPI?.isElectron===!0&&typeof window.electronAPI.selectNoteVaultDirectory==`function`}function bp(){return typeof window<`u`&&typeof window.electronAPI?.selectNoteVaultDirectory==`function`}function xp(e){return e.noteVault!==void 0&&e.noteVault!==null&&Array.isArray(e.noteVault.files)}function Sp(e){let t=String(e||``).trim();return t?t.toLowerCase().endsWith(`.md`)?t:`${t}.md`:`Untitled.md`}function Cp(e,t){let n=String(e.content||``);return!t||!n.startsWith(`mp://1`)?n:fe(n,t)||n}async function wp(){try{return(await tp()).configured?await lp():void 0}catch{return}}async function Tp(){if(yp())return!0;try{return(await tp()).configured}catch{return!1}}async function Ep(){if((await tp()).configured)return!0;if(!bp())return!1;let e=await window.electronAPI?.selectNoteVaultDirectory?.();return e?(await np(e),!0):!1}async function Dp(e){let t=[];for(let n of e.files){let e=Me(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 Op(e,t){let n=new Map;for(let r of e){if(!r||typeof r!=`object`)continue;let e=r,i=Sp(e.name),a=Me(String(e.path||``)),o=Me(a?`${a}/${i}`:i);if(!o)continue;let s=Cp(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 kp(e){try{return await ve.get(`/api/user/profile`).json()}catch{return e||null}}function Ap(e){return!e||typeof e!=`object`?null:{theme:e.theme===`dark`||e.theme===`light`?e.theme:void 0,locale:We(e.locale)?e.locale:void 0}}function jp(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 Mp(){let{locale:e,setLocale:t,t:n}=He(),r=De(e=>e.addToast),i=De(e=>e.hasBackend),a=De(e=>e.openConnectModal),o=De(e=>e.notes),s=De(e=>e.importNotes),l=De(e=>e.setIsDarkMode),u=c(e=>e.wallet),d=c(e=>e.openLoginModal),f=c(e=>e.setUserIdentity),[p,m]=(0,P.useState)(null),[h,g]=(0,P.useState)(u?`idle`:`disabled`),[_,v]=(0,P.useState)({filesCount:null,trashFilesCount:null,channelsCount:null,loading:!1}),y=(0,P.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 ve.get(`/api/user/export`).json();v({filesCount:vp(e.files),trashFilesCount:vp(e.trashFiles),channelsCount:vp(e.channels),loading:!1})}catch{v(e=>({...e,loading:!1}))}},[]),b=(0,P.useCallback)(()=>c.getState().wallet||(d(),g(`disabled`),null),[d]),x=(0,P.useCallback)(()=>De.getState().hasBackend===!0?!0:(a(),r(n(`profile.backup.error.backendRequired`),`error`),!1),[r,a,n]),S=(0,P.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 ve.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:De.getState().isDarkMode?`dark`:`light`,locale:e},notes:De.getState().notes},s=await wp();return s&&(o.noteVault=s,o.notes=await Dp(s)),o},[e,x,n]),C=(0,P.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(pp(t)&&_p(t,e)&&!(i.requestConfirm&&await i.requestConfirm()))return r(n(`profile.backup.toast.cancelRestore`),`info`),!1}let o=e.notes;if(await Tp()){let t=xp(e)?e.noteVault:await Op(e.notes,a.danger);if(xp(e)||Array.isArray(e.notes)){if(!await Ep())return r(n(`profile.backup.toast.cancelRestore`),`info`),!1;await up(t),o=await Dp(t)}}await ve.post(`/api/user/import`,{json:e}).json(),s(o);let u=Ap(e.preferences);u?.theme&&l(u.theme===`dark`),u?.locale&&t(u.locale);let d=c.getState().identity,p=await kp(e.profile);return d&&p&&f(jp(d,p)),y(),!0},[r,S,s,x,b,y,f,l,t,n]),w=(0,P.useCallback)(async()=>{let e=b();if(!e||!x())return!1;m(`backup`),g(`working`);try{return await $f(e,await S()),y(),g(`synced`),r(n(`profile.backup.toast.cloudUpdated`),`success`),!0}catch(e){return g(`error`),r(dp(e,n(`profile.backup.error.backupFailed`)),`error`),!1}finally{m(null)}},[r,S,y,x,b,n]),E=(0,P.useCallback)(async(e={})=>{let t=b();if(!t||!x())return!1;m(`restore`),g(`working`);try{let i=await ep(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(mp(e)&&_p(e,a))return g(`idle`),!1}let o=await C(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(dp(e,n(`profile.backup.error.restoreFailed`)),`error`),!1}finally{m(null)}},[r,S,x,b,C,n]),ee=(0,P.useCallback)(async()=>{let e=b();if(!(!e||!x())){m(`export`),g(`working`);try{let t=Jf(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(dp(e,n(`profile.backup.error.exportFailed`)),`error`)}finally{m(null)}}},[r,S,x,b,n]),te=(0,P.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 C(Yf(String(o.result||``),t.danger),{requestConfirm:e.requestConfirm})?(g(`synced`),r(n(`profile.backup.toast.restoredLocal`),`success`)):g(`idle`)}catch(e){g(`error`),r(dp(e,n(`profile.backup.error.importFailed`)),`error`)}finally{m(null)}},o.readAsText(a)},i.click()},[r,x,b,C,n]),ne=u?h===`disabled`?`idle`:h:`disabled`,re=(0,P.useMemo)(()=>fp(ne,p,n),[p,ne,n]);return{action:p,busy:p!==null,status:ne,statusLabel:re,backupToCloud:w,restoreFromCloud:E,exportLocalBackup:ee,importLocalBackup:te,hasBackend:i,backupSummary:_,refreshBackupSummary:y,notesCount:o.length}}function Np(){let e=Xs({select:e=>e.pathname}),{restoreFromCloud:t}=Mp(),n=De(e=>e.checkBackend),r=De(e=>e.hasBackend),i=De(e=>e.initializeLocalData),a=c(e=>e.firstPath),o=c(e=>e.initializeUser),s=c(e=>e.setFirstPath),l=c(e=>e.identity),u=De(e=>e.loadUserNotes),d=De(e=>e.notesAddress),f=De(e=>e.resetAppState),p=c(e=>e.consumePendingCloudRestore),m=De(e=>e.toasts),h=De(e=>e.removeToast),g=l?.address||``;return(0,P.useEffect)(()=>{i(),o(),n()},[n,i,o]),(0,P.useEffect)(()=>{a||s(e||`/`)},[a,e,s]),(0,P.useEffect)(()=>{l?u(l.address):f()},[l?.address,u,f]),(0,P.useEffect)(()=>{!g||r!==!0||d.toLowerCase()===g.toLowerCase()&&p(g)&&t({confirm:!1,onlyWhenLocalEmpty:!0,silentNoBackup:!0})},[r,g,d,p,t]),(0,F.jsxs)(F.Fragment,{children:[m.map((e,t)=>(0,F.jsx)(Lc,{message:e.message,type:e.type,onDone:()=>h(e.id),index:t},e.id)),(0,F.jsx)(zf,{}),(0,F.jsx)(Wf,{})]})}function Pp({participant:e}){let{t}=He(),n=e.local?t(`chat.voice.you`):e.connectionState===`connected`?t(`chat.voice.connected`):t(`chat.voice.connecting`);return(0,F.jsxs)(`div`,{className:`chat-voice-member-card`,children:[(0,F.jsxs)(`span`,{className:`chat-voice-avatar-wrap`,children:[(0,F.jsx)(`img`,{className:`chat-voice-avatar`,src:Rf(e.address,e.avatar),alt:`avatar`}),(0,F.jsx)(`span`,{className:[`chat-voice-mic-state`,e.micMuted?`muted`:``].filter(Boolean).join(` `),title:e.micMuted?t(`chat.voice.memberMuted`):t(`chat.voice.memberSpeaking`),children:e.micMuted?(0,F.jsx)(hc,{size:13}):(0,F.jsx)(gc,{size:13})})]}),(0,F.jsx)(`span`,{className:`chat-voice-member-name`,translate:`no`,children:e.displayName}),(0,F.jsx)(`span`,{className:`chat-voice-member-status`,children:n})]})}function Fp({title:e,isReady:t,error:n,joined:r,joining:i,micMuted:a,participants:o,onMinimize:s,onJoin:c,onLeave:l,onToggleMute:u}){let{t:d}=He();return(0,F.jsxs)(`section`,{className:`chat-voice-room-panel`,"aria-label":d(`chat.voice.title`),children:[(0,F.jsxs)(`header`,{className:`chat-voice-room-header`,children:[(0,F.jsxs)(`div`,{className:`chat-voice-room-heading`,children:[(0,F.jsx)(`span`,{className:`chat-voice-room-icon`,children:(0,F.jsx)(vc,{size:18})}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`h3`,{translate:`no`,children:e}),(0,F.jsx)(`p`,{children:d(`chat.voice.subtitle`)})]})]}),(0,F.jsx)(`button`,{type:`button`,className:`btn btn-icon`,onClick:s,"aria-label":d(`chat.voice.minimize`),title:d(`chat.voice.minimize`),children:(0,F.jsx)(_c,{size:17})})]}),(0,F.jsxs)(`div`,{className:`chat-voice-room-body`,children:[n&&(0,F.jsx)(`div`,{className:`chat-voice-error`,role:`alert`,children:n}),(0,F.jsx)(`div`,{className:`chat-voice-member-grid`,children:o.length===0?(0,F.jsxs)(`div`,{className:`ui-empty-state chat-voice-empty`,children:[(0,F.jsx)(`div`,{className:`ui-empty-icon`,children:(0,F.jsx)(xc,{size:24})}),(0,F.jsx)(`p`,{children:d(`chat.voice.empty`)})]}):o.map(e=>(0,F.jsx)(Pp,{participant:e},e.sessionId))})]}),(0,F.jsx)(`footer`,{className:`chat-voice-room-controls`,children:r?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`button`,{type:`button`,className:`btn btn-secondary chat-voice-control`,onClick:u,title:d(a?`chat.voice.unmute`:`chat.voice.mute`),children:[a?(0,F.jsx)(hc,{size:18}):(0,F.jsx)(gc,{size:18}),d(a?`chat.voice.unmute`:`chat.voice.mute`)]}),(0,F.jsxs)(`button`,{type:`button`,className:`btn btn-danger chat-voice-control`,onClick:l,title:d(`chat.voice.leave`),children:[(0,F.jsx)(yc,{size:18}),d(`chat.voice.leave`)]})]}):(0,F.jsxs)(`button`,{type:`button`,className:`btn btn-primary chat-voice-join`,onClick:c,disabled:!t||i,title:d(`chat.voice.join`),children:[(0,F.jsx)(vc,{size:18}),d(i?`chat.voice.joining`:`chat.voice.join`)]})})]})}var Ip=15e3,Lp=45e3,Rp={iceServers:[{urls:`stun:stun.l.google.com:19302`}]},zp={join:`channel:voice:join`,state:`channel:voice:state`,heartbeat:`channel:voice:heartbeat`,leave:`channel:voice:leave`,signal:`channel:voice:signal`};function Bp(){return`voice-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function Vp(e){return e?.readyState===WebSocket.OPEN}function Hp(e){return e.channelKey||e.channel||e.channelId||``}function Up(e){return String(e?.displayName||e?.address||``).trim()}function Wp({isReady:e,enabled:t,channelName:n,profile:r}){let i=(0,P.useRef)(Bp()),a=(0,P.useRef)(null),o=(0,P.useRef)(!1),s=(0,P.useRef)(!1),c=(0,P.useRef)(null),l=(0,P.useRef)(new Map),u=(0,P.useRef)(new Map),d=(0,P.useRef)(r),[f,p]=(0,P.useState)(!1),[m,h]=(0,P.useState)(!1),[g,_]=(0,P.useState)(!1),[v,y]=(0,P.useState)({}),[b,x]=(0,P.useState)(``),S=i.current;(0,P.useEffect)(()=>{d.current=r},[r]);let C=(0,P.useMemo)(()=>Object.values(v).sort((e,t)=>e.local===t.local?e.joinedAt-t.joinedAt:e.local?-1:1),[v]),w=(0,P.useCallback)((e,t={})=>{!n||!Vp(a.current)||a.current?.send(JSON.stringify({event:zp[e],data:{channel:n,sessionId:S,displayName:d.current.displayName,avatar:d.current.avatar,profileUpdatedAt:d.current.profileUpdatedAt,micMuted:s.current,...t}}))},[n,S]),E=(0,P.useCallback)((e,t)=>{y(n=>{let r=t(n[e]);if(!r){let t={...n};return delete t[e],t}return{...n,[e]:r}})},[]),ee=(0,P.useCallback)(e=>{let t=l.current.get(e);t&&(t.close(),l.current.delete(e)),u.current.delete(e)},[]);(0,P.useEffect)(()=>{x(``),y({}),u.current.clear()},[n]),(0,P.useEffect)(()=>{t&&e&&n||(x(``),y({}),u.current.clear())},[n,t,e]);let te=(0,P.useCallback)((e,t)=>{w(`signal`,{targetSessionId:e,signal:t})},[w]),ne=(0,P.useCallback)((e,t)=>{let n=l.current.get(e.sessionId);if(n)return n;let r=new RTCPeerConnection(Rp);return l.current.set(e.sessionId,r),c.current?.getTracks().forEach(e=>{let t=c.current;t&&r.addTrack(e,t)}),r.onicecandidate=t=>{t.candidate&&te(e.sessionId,{type:`candidate`,candidate:t.candidate.toJSON()})},r.ontrack=t=>{let[n]=t.streams;n&&E(e.sessionId,t=>({...t||e,stream:n,lastSeen:Date.now()}))},r.onconnectionstatechange=()=>{E(e.sessionId,e=>e?{...e,connectionState:r.connectionState,lastSeen:Date.now()}:null)},t&&r.createOffer().then(e=>r.setLocalDescription(e)).then(()=>{r.localDescription&&te(e.sessionId,{type:`offer`,sdp:r.localDescription.sdp})}).catch(e=>x(e instanceof Error?e.message:String(e))),r},[te,E]),re=(0,P.useCallback)(e=>{let t=String(e.sessionId||``).trim();if(!t||t===S||!e.sender?.address)return null;let n=Number(e.timestamp)||Date.now(),r={sessionId:t,address:e.sender.address,displayName:Up(e.sender)||t,avatar:e.sender.avatar,profileUpdatedAt:e.sender.profileUpdatedAt,micMuted:typeof e.micMuted==`boolean`?e.micMuted:!1,local:!1,joinedAt:n,lastSeen:n,connectionState:`new`};return E(t,i=>({sessionId:t,address:r.address||i?.address||``,displayName:r.displayName||i?.displayName||t,avatar:r.avatar||i?.avatar,profileUpdatedAt:r.profileUpdatedAt||i?.profileUpdatedAt,micMuted:typeof e.micMuted==`boolean`?e.micMuted:i?.micMuted||!1,local:!1,joinedAt:i?.joinedAt||n,lastSeen:n,connectionState:i?.connectionState||`new`,stream:i?.stream})),r},[S,E]),ie=(0,P.useCallback)(async(e,t)=>{if(e.targetSessionId!==S||!e.signal)return;let n=ne(t,!1);if(e.signal.type===`offer`&&e.signal.sdp){await n.setRemoteDescription({type:`offer`,sdp:e.signal.sdp});let r=await n.createAnswer();await n.setLocalDescription(r),n.localDescription&&te(t.sessionId,{type:`answer`,sdp:n.localDescription.sdp})}else if(e.signal.type===`answer`&&e.signal.sdp)await n.setRemoteDescription({type:`answer`,sdp:e.signal.sdp});else if(e.signal.type===`candidate`&&e.signal.candidate){if(!n.remoteDescription){let n=u.current.get(t.sessionId)||[];n.push(e.signal.candidate),u.current.set(t.sessionId,n);return}await n.addIceCandidate(e.signal.candidate)}if(n.remoteDescription){let e=u.current.get(t.sessionId)||[];u.current.delete(t.sessionId);for(let t of e)await n.addIceCandidate(t).catch(()=>{})}},[ne,S,te]),ae=(0,P.useCallback)(e=>{if(Hp(e)!==n)return;let t=String(e.sessionId||``).trim();if(!t||t===S)return;if(e.event===`leave`){ee(t),E(t,()=>null);return}let r=re(e);r&&(o.current&&e.event===`join`&&w(`state`),o.current&&e.event!==`signal`&&S<r.sessionId&&ne(r,!0),e.event===`signal`&&ie(e,r).catch(e=>x(e instanceof Error?e.message:String(e))))},[n,ee,ne,ie,S,w,E,re]),oe=(0,P.useCallback)(()=>{o.current&&w(`leave`),o.current=!1,p(!1),h(!1),s.current=!1,_(!1),c.current?.getTracks().forEach(e=>e.stop()),c.current=null;for(let e of[...l.current.keys()])ee(e);y(e=>{let t={};for(let n of Object.values(e))n.local||(t[n.sessionId]=n);return t})},[ee,w]),se=(0,P.useCallback)(async()=>{if(!(!t||!e||!n||o.current||m)){h(!0),x(``);try{let e=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});c.current=e,o.current=!0,s.current=!1,_(!1),p(!0),E(S,t=>({sessionId:S,address:`local`,displayName:d.current.displayName||S,avatar:d.current.avatar,profileUpdatedAt:d.current.profileUpdatedAt,micMuted:!1,local:!0,joinedAt:t?.joinedAt||Date.now(),lastSeen:Date.now(),connectionState:`connected`,stream:e})),w(`join`,{micMuted:!1})}catch(e){x(e instanceof Error?e.message:String(e)),oe()}finally{h(!1)}}},[n,t,e,m,oe,S,w,E]),ce=(0,P.useCallback)(()=>{if(!o.current||!c.current)return;let e=!s.current;c.current.getAudioTracks().forEach(t=>{t.enabled=!e}),s.current=e,_(e),E(S,t=>t?{...t,micMuted:e,lastSeen:Date.now()}:null),w(`state`,{micMuted:e})},[S,w,E]);return(0,P.useEffect)(()=>{if(!t||!e||!n)return;let r=!1;async function i(){let e=new WebSocket(await ke(`/ws`));if(r){e.close();return}e.onopen=()=>{e.send(JSON.stringify({event:`channel:subscribe`,data:{channel:n}})),o.current&&w(`join`)},e.onmessage=e=>{try{let t=JSON.parse(e.data);t.event===`channel:voice`&&ae(t.data)}catch{}},e.onerror=()=>e.close(),e.onclose=()=>{a.current===e&&(a.current=null)},a.current=e}return i(),()=>{r=!0,oe(),a.current?.close(),a.current=null}},[n,t,ae,e,oe,w]),(0,P.useEffect)(()=>{f&&C.forEach(e=>{!e.local&&S<e.sessionId&&ne(e,!0)})},[ne,f,S,C]),(0,P.useEffect)(()=>{if(!f)return;let e=window.setInterval(()=>{w(`heartbeat`),E(S,e=>e?{...e,lastSeen:Date.now()}:null)},Ip);return()=>window.clearInterval(e)},[f,S,w,E]),(0,P.useEffect)(()=>{let e=window.setInterval(()=>{let e=Date.now();y(t=>{let n=!1,r={};for(let i of Object.values(t)){if(!i.local&&e-i.lastSeen>Lp){ee(i.sessionId),n=!0;continue}r[i.sessionId]=i}return n?r:t})},Ip);return()=>window.clearInterval(e)},[ee]),{error:b,joined:f,joining:m,localSessionId:S,micMuted:g,participants:C,join:se,leave:oe,toggleMute:ce}}function Gp(e){return e.displayName||e.username}function Kp(e){return{displayName:Gp(e),avatar:e.avatar||``}}function qp(e){return{author:e.address,authorName:Gp(e),avatar:e.avatar||``}}var Jp=(0,P.createContext)(null);function Yp(e){let t=String(e?.channelName||``).trim();return t?{channelName:t,title:String(e?.title||t).trim()||t}:null}function Xp(e,t){return e?.channelName===t?.channelName&&e?.title===t?.title}function Zp(e){let t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,a=String(r).padStart(2,`0`),o=String(i).padStart(2,`0`);return n>0?`${n}:${a}:${o}`:`${a}:${o}`}function Qp({stream:e}){let t=(0,P.useRef)(null);return(0,P.useEffect)(()=>{t.current&&(t.current.srcObject=e)},[e]),(0,F.jsx)(`audio`,{ref:t,autoPlay:!0,playsInline:!0})}function $p({participants:e}){let t=e.filter(e=>!e.local&&e.stream);return t.length===0?null:(0,F.jsx)(`div`,{className:`chat-voice-audio-sink`,"aria-hidden":`true`,children:t.map(e=>(0,F.jsx)(Qp,{stream:e.stream},e.sessionId))})}function em({joined:e,micMuted:t,elapsedSeconds:n,participantCount:r,onExpand:i}){let{t:a}=He();return(0,F.jsxs)(`button`,{type:`button`,className:`chat-voice-floating`,onClick:i,"aria-label":a(`chat.voice.expand`),title:a(`chat.voice.expand`),children:[(0,F.jsx)(`span`,{className:`chat-voice-floating-phone`,children:(0,F.jsx)(vc,{size:26})}),(0,F.jsx)(`span`,{className:`chat-voice-floating-main`,children:e?Zp(n):a(`chat.voice.floatingActive`,{count:r})}),(0,F.jsx)(`span`,{className:`chat-voice-floating-meta`,children:t?(0,F.jsx)(hc,{size:15}):(0,F.jsx)(gc,{size:15})})]})}function tm({children:e}){let t=De(e=>e.hasBackend),n=c(e=>e.identity),[r,i]=(0,P.useState)(null),[a,o]=(0,P.useState)(null),[s,l]=(0,P.useState)(!1),[u,d]=(0,P.useState)(!1),[f,p]=(0,P.useState)(null),[m,h]=(0,P.useState)(0),g=r||a,_=t===!0,v=(0,P.useMemo)(()=>n?{...Kp(n),profileUpdatedAt:n.profileUpdatedAt}:{},[n?.avatar,n?.displayName,n?.profileUpdatedAt,n?.username]),y=Wp({isReady:_,enabled:!!(n&&g),channelName:g?.channelName||``,profile:v}),b=(0,P.useMemo)(()=>y.participants.filter(e=>!e.local).length,[y.participants]),x=y.joined?b:y.participants.length,S=(0,P.useCallback)(e=>{let t=Yp(e);o(e=>Xp(e,t)?e:t)},[]),C=(0,P.useCallback)(e=>{let t=Yp(e);t&&(i(e=>Xp(e,t)?e:t),l(!0),d(!1))},[]),w=(0,P.useCallback)(()=>{g&&(i(e=>e||g),l(!1),d(!0))},[g]),E=(0,P.useCallback)(()=>{g&&(i(e=>e||g),l(!0),d(!1))},[g]),ee=(0,P.useCallback)(()=>{y.leave(),i(null),l(!1),d(!1),p(null),h(0)},[y.leave]);(0,P.useEffect)(()=>{if(y.joined){p(e=>e||Date.now());return}p(null),h(0)},[y.joined,g?.channelName]),(0,P.useEffect)(()=>{if(!f)return;let e=()=>{h(Math.floor((Date.now()-f)/1e3))};e();let t=window.setInterval(e,1e3);return()=>window.clearInterval(t)},[f]),(0,P.useEffect)(()=>{n&&_||(y.leave(),i(null),l(!1),d(!1),p(null),h(0))},[_,n,y.leave]);let te=(0,P.useMemo)(()=>({room:g,joined:y.joined,joining:y.joining,micMuted:y.micMuted,participants:y.participants,error:y.error,isPanelOpen:s,isMinimized:u,elapsedSeconds:m,openRoom:C,setPreviewRoom:S,minimize:w,expand:E,join:y.join,leaveAndClose:ee,toggleMute:y.toggleMute}),[m,E,u,s,ee,w,C,g,S,y.error,y.join,y.joined,y.joining,y.micMuted,y.participants,y.toggleMute]),ne=u&&!!g&&(y.joined||y.participants.length>0);return(0,F.jsxs)(Jp.Provider,{value:te,children:[e,(0,F.jsx)($p,{participants:y.participants}),s&&g&&(0,F.jsx)(Fp,{title:g.title,isReady:_,error:y.error,joined:y.joined,joining:y.joining,micMuted:y.micMuted,participants:y.participants,onMinimize:w,onJoin:()=>void y.join(),onLeave:ee,onToggleMute:y.toggleMute}),ne&&(0,F.jsx)(em,{joined:y.joined,micMuted:y.micMuted,elapsedSeconds:m,participantCount:x,onExpand:E})]})}function nm(){let e=(0,P.useContext)(Jp);if(!e)throw Error(`useGlobalVoiceRoom must be used within GlobalVoiceRoomProvider`);return e}var rm=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:Ue(`portal.meta.description`)}],links:[{rel:`icon`,href:`/logo.svg`,type:`image/svg+xml`}]}),component:im,notFoundComponent:Tc});function im(){return(0,F.jsx)(am,{children:(0,F.jsx)(qe,{children:(0,F.jsx)(oc,{children:(0,F.jsxs)(tm,{children:[(0,F.jsx)(w,{children:(0,F.jsx)(Np,{})}),(0,F.jsx)(om,{}),(0,F.jsx)(Vs,{})]})})})})}function am({children:e}){return(0,F.jsxs)(`html`,{lang:`zh-CN`,suppressHydrationWarning:!0,"data-scroll-behavior":`smooth`,children:[(0,F.jsxs)(`head`,{children:[(0,F.jsx)(tc,{}),(0,F.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,F.jsxs)(`body`,{children:[e,(0,F.jsx)(nc,{})]})]})}function om(){return(0,F.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 sm=x(`/`)({}),cm=x(`/web3/`)({}),lm=x(`/profile/`)({head:()=>({meta:[{title:Ue(`profile.meta.title`)},{name:`description`,content:Ue(`profile.meta.desc`)}]})}),um=x(`/ping/`)({head:()=>({meta:[{title:Ue(`ping.meta.title`)},{name:`description`,content:Ue(`ping.meta.desc`)}]})}),dm=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})}),fm=`modulepreload`,pm=function(e){return`/`+e},mm={},hm=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=pm(t,n),t=s(t),t in mm)return;mm[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`:fm,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)})},gm=x(`/game/`)({component:Ds(()=>hm(()=>import(`./game-s6irY8hS.js`),__vite__mapDeps([0,1,2])),`component`)}),_m=x(`/download/`)({head:()=>({meta:[{title:Ue(`download.meta.title`)},{name:`description`,content:Ue(`download.meta.desc`)}]})}),vm=x(`/chat/`)({}),ym=x(`/app/`)({}),bm=x(`/admin/`)({}),xm=x(`/about/`)({head:()=>({meta:[{title:Ue(`about.meta.title`)},{name:`description`,content:Ue(`about.meta.desc`)}]})}),Sm=x(`/game/zhajinhua/`)({}),Cm=x(`/game/gandengyan/`)({}),wm=x(`/cid/$cid/`)({head:()=>({meta:[{title:Ue(`cid.meta.title`)},{name:`description`,content:Ue(`cid.meta.desc`)}]})}),Tm=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})}),Em=x(`/chat/join/demo/`)({}),Dm=sm.update({id:`/`,path:`/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-BbA_1LnY.js`).then(e=>e.Route),__vite__mapDeps([3,1,4,2,5,6,7,8,9,10,11,12,13,14,15,16,17]))),Om=cm.update({id:`/web3/`,path:`/web3/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-8GSHLIGt.js`).then(e=>e.Route),__vite__mapDeps([18,1,4,2,5,19,7,8,9,20,21,22,23,15,24,25,26]))),km=lm.update({id:`/profile/`,path:`/profile/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-CB3C6kMj.js`).then(e=>e.Route),__vite__mapDeps([27,1,4,2,5,19,28,7,8,9,20,21,29,30,31,32,16,17,33,25,26]))),Am=um.update({id:`/ping/`,path:`/ping/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-BAr7-dhf.js`).then(e=>e.Route),__vite__mapDeps([34,1,4,2,5,35,13,36,37,38,39,40,16,7,8,17]))),jm=dm.update({id:`/note/`,path:`/note/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-D3iEq2ZW.js`).then(e=>e.Route),__vite__mapDeps([41,1,4,2,5,42,43,23,7,44,10,45,22,14,30,38,24]))),Mm=gm.update({id:`/game/`,path:`/game/`,getParentRoute:()=>rm}),Nm=_m.update({id:`/download/`,path:`/download/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-CVOAOO0_.js`).then(e=>e.Route),__vite__mapDeps([46,1,4,2,5,35,8,33,7,47]))),Pm=vm.update({id:`/chat/`,path:`/chat/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-BMFwyE_Z.js`).then(e=>e.Route),__vite__mapDeps([48,1,4,2,5,28,42,43,23,7,49,8,50,29,36,6,44,9,13,38,24,17,47,51,52,53,54]))),Fm=ym.update({id:`/app/`,path:`/app/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-s6Ok77GI.js`).then(e=>e.Route),__vite__mapDeps([55,1,4,2,5,43,23,7,49,8,50,29,36,56,44,21,45,38,32,24,47,51]))),Im=bm.update({id:`/admin/`,path:`/admin/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-PnZR3z1V.js`).then(e=>e.Route),__vite__mapDeps([57,1,4,2,5,58,56,44,8,50,12,59,30,31,40,26,33,7,47]))),Lm=xm.update({id:`/about/`,path:`/about/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-F3iHN_Ao.js`).then(e=>e.Route),__vite__mapDeps([60,1,4,2,5,19,6,7,8,11,13,14,15,24,16,17]))),Rm=Sm.update({id:`/game/zhajinhua/`,path:`/game/zhajinhua/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-B3jH9yBA.js`).then(e=>e.Route),__vite__mapDeps([61,1,4,2,5,21,23,7,37,62,24,52,53,63]))),zm=Cm.update({id:`/game/gandengyan/`,path:`/game/gandengyan/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-qDpRLqXu.js`).then(e=>e.Route),__vite__mapDeps([64,1,4,2,5,21,23,7,37,39,62,24,52,53,65]))),Bm=wm.update({id:`/cid/$cid/`,path:`/cid/$cid/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-BmpOpQqg.js`).then(e=>e.Route),__vite__mapDeps([66,1,4,2,5,58,8,9,50,12,59,33,7,47,51]))),Vm={IndexRoute:Dm,AboutIndexRoute:Lm,AdminIndexRoute:Im,AppIndexRoute:Fm,ChatIndexRoute:Pm,DownloadIndexRoute:Nm,GameIndexRoute:Mm,NoteIndexRoute:jm,PingIndexRoute:Am,ProfileIndexRoute:km,Web3IndexRoute:Om,ChatJoinIndexRoute:Tm.update({id:`/chat/join/`,path:`/chat/join/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-B5JMiv3z.js`).then(e=>e.Route),__vite__mapDeps([67,1,4,2,5,28,59,52,54,68]))),CidCidIndexRoute:Bm,GameGandengyanIndexRoute:zm,GameZhajinhuaIndexRoute:Rm,ChatJoinDemoIndexRoute:Em.update({id:`/chat/join/demo/`,path:`/chat/join/demo/`,getParentRoute:()=>rm}).lazy(()=>hm(()=>import(`./index.lazy-CyFSwJuo.js`).then(e=>e.Route),__vite__mapDeps([69,1,4,2,5,9,20,7,21,23,59,24,68])))},Hm=rm._addFileChildren(Vm);function Um(){return Us({routeTree:Hm,defaultPreload:`intent`,scrollRestoration:!0,trailingSlash:`always`})}async function Wm(){let e=await Um(),t=[];return window.__TSS_START_OPTIONS__={serializationAdapters:t},t.push(ts),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await is(e),e}var Gm=Wm;async function Km(){let e=await Gm();return window.$_TSR?.h(),e}var qm;function Jm(){return qm||=Km(),(0,F.jsx)(os,{promise:qm,children:e=>(0,F.jsx)(Ys,{router:e})})}var Ym=Ze();(0,P.startTransition)(()=>{(0,Ym.hydrateRoot)(document,(0,F.jsx)(P.StrictMode,{children:(0,F.jsx)(Jm,{})}))});export{vc as A,zc as C,wc as D,Pc as E,lc as F,sc as I,Xs as L,pc as M,fc as N,Cc as O,uc as P,Hc as S,Ic as T,Mf as _,qp as a,Kc as b,op as c,rp as d,sp as f,Rf as g,Af as h,Gp as i,gc as j,bc as k,cp as l,ap as m,nm as n,Mp as o,ip as p,Kp as r,np as s,hm as t,tp as u,Ff as v,Rc as w,Wc as x,If as y};