@quantajs/react 2.0.0-beta.6 → 2.0.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 QuantaJS
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 QuantaJS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.cjs CHANGED
@@ -1,28 +1,28 @@
1
- /*! MIT License
2
-
3
- Copyright (c) 2025 QuantaJS
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ /*! MIT License
2
+
3
+ Copyright (c) 2025 QuantaJS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
22
  */
23
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),d=require("@quantajs/core"),oe=(r,a)=>{try{return r&&typeof r=="object"&&"value"in r?r.value:typeof r=="function"?r.bind(a):r}catch{return r}};function A(r,a){if(!r.subscribe){const l=new Error("QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+.");throw d.logger.error(`useQuantaStore: ${l.message}`),l}if(!a){const l=b.useRef(null),g=b.useCallback(()=>{if(l.current)return l.current;const m={};return Object.keys(r.state||{}).forEach(E=>{m[E]=r[E]}),Object.keys(r.getters||{}).forEach(E=>{const S=r.getters[E];m[E]=oe(S,r)}),Object.keys(r.actions||{}).forEach(E=>{m[E]=r.actions[E].bind(r)}),m.$reset=r.$reset,m.$persist=r.$persist,m.$destroy=r.$destroy,l.current=m,m},[r]),T=b.useCallback(m=>{const E=S=>{l.current=null,m()};return r.subscribe(E)},[r]),p=b.useCallback(()=>g(),[g]);return b.useSyncExternalStore(T,g,p)}const n=b.useRef(null),u=b.useCallback(()=>{const l=a(r);return n.current=l,l},[r,a]),o=b.useCallback(l=>{const g=T=>{try{const p=a(r);n.current!==p&&(n.current=p,l())}catch(p){d.logger.warn(`useQuantaStore: Selector update failed: ${String(p)}`)}};return r.subscribe(g)},[r,a]),f=b.useCallback(()=>(n.current===null&&u(),n.current),[u]),v=b.useCallback(()=>u(),[u]);return b.useSyncExternalStore(o,f,v)}const $=b.createContext({stores:{}});function U(){try{const r=b.useContext($);if(!r){const a="useQuantaContext must be used within a QuantaProvider";throw d.logger.error(`QuantaContext: ${a}`),new Error(a)}return r}catch(r){throw d.logger.error(`QuantaContext: Failed to access context: ${r instanceof Error?r.message:String(r)}`),r}}function ae(r,a){try{const{stores:n}=U(),u=n[r];if(!u){const o=`Store with name "${r}" does not exist in the context.`;throw d.logger.error(`useStore: ${o}`),new Error(o)}return a?A(u,a):A(u)}catch(n){throw d.logger.error(`useStore: Failed to access store "${r}": ${n instanceof Error?n.message:String(n)}`),n}}function se(r,a,n,u){try{const o=b.useRef(void 0);if(!o.current)try{o.current=d.createStore(r,{state:a,getters:n,actions:u})}catch(f){throw d.logger.error(`useCreateStore: Failed to create store "${r}": ${f instanceof Error?f.message:String(f)}`),f}return o.current}catch(o){throw d.logger.error(`useCreateStore: Hook execution failed: ${o instanceof Error?o.message:String(o)}`),o}}var w={exports:{}},R={};var L;function ue(){if(L)return R;L=1;var r=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function n(u,o,f){var v=null;if(f!==void 0&&(v=""+f),o.key!==void 0&&(v=""+o.key),"key"in o){f={};for(var l in o)l!=="key"&&(f[l]=o[l])}else f=o;return o=f.ref,{$$typeof:r,type:u,key:v,ref:o!==void 0?o:null,props:f}}return R.Fragment=a,R.jsx=n,R.jsxs=n,R}var h={};var W;function ce(){return W||(W=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case z:return"Profiler";case V:return"StrictMode";case B:return"Suspense";case Z:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case J:return"Portal";case X:return e.displayName||"Context";case G:return(e._context.displayName||"Context")+".Consumer";case H:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:r(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return r(e(t))}catch{}}return null}function a(e){return""+e}function n(e){try{a(e);var t=!1}catch{t=!0}if(t){t=console;var s=t.error,c=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",c),a(e)}}function u(e){if(e===k)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===O)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function o(){var e=x.A;return e===null?null:e.getOwner()}function f(){return Error("react-stack-top-frame")}function v(e){if(Y.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function l(e,t){function s(){Q||(Q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}function g(){var e=r(this.type);return F[e]||(F[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function T(e,t,s,c,y,j){var i=s.ref;return e={$$typeof:N,type:e,key:t,props:s,_owner:c},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:g}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:j}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function p(e,t,s,c,y,j){var i=t.children;if(i!==void 0)if(c)if(te(i)){for(c=0;c<i.length;c++)m(i[c]);Object.freeze&&Object.freeze(i)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(i);if(Y.call(t,"key")){i=r(e);var _=Object.keys(t).filter(function(ne){return ne!=="key"});c=0<_.length?"{key: someKey, "+_.join(": ..., ")+": ...}":"{key: someKey}",D[i+c]||(_=0<_.length?"{"+_.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),C=require("@quantajs/core"),xt=(e,t)=>{try{return e&&typeof e=="object"&&"value"in e?e.value:typeof e=="function"?e.bind(t):e}catch{return e}};function fe(e,t){if(!e.subscribe){const s=new Error("QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+.");throw C.logger.error(`useQuantaStore: ${s.message}`),s}if(!t){const s=T.useRef(null),f=T.useCallback(()=>{if(s.current)return s.current;const a={};return Object.keys(e.state||{}).forEach(u=>{a[u]=e[u]}),Object.keys(e.getters||{}).forEach(u=>{const x=e.getters[u];a[u]=xt(x,e)}),Object.keys(e.actions||{}).forEach(u=>{a[u]=e.actions[u].bind(e)}),a.$reset=e.$reset,a.$persist=e.$persist,a.$destroy=e.$destroy,s.current=a,a},[e]),d=T.useCallback(a=>{const u=x=>{s.current=null,a()};return e.subscribe(u)},[e]),p=T.useCallback(()=>f(),[f]);return T.useSyncExternalStore(d,f,p)}const r=T.useRef(null),i=T.useCallback(()=>{const s=t(e);return r.current=s,s},[e,t]),l=T.useCallback(s=>{const f=d=>{try{const p=t(e);r.current!==p&&(r.current=p,s())}catch(p){C.logger.warn(`useQuantaStore: Selector update failed: ${String(p)}`)}};return e.subscribe(f)},[e,t]),o=T.useCallback(()=>(r.current===null&&i(),r.current),[i]),h=T.useCallback(()=>i(),[i]);return T.useSyncExternalStore(l,o,h)}const _e=T.createContext({stores:{}});function Ge(){try{const e=T.useContext(_e);if(!e){const t="useQuantaContext must be used within a QuantaProvider";throw C.logger.error(`QuantaContext: ${t}`),new Error(t)}return e}catch(e){throw C.logger.error(`QuantaContext: Failed to access context: ${e instanceof Error?e.message:String(e)}`),e}}function yt(e,t){try{const{stores:r}=Ge(),i=r[e];if(!i){const l=`Store with name "${e}" does not exist in the context.`;throw C.logger.error(`useStore: ${l}`),new Error(l)}return t?fe(i,t):fe(i)}catch(r){throw C.logger.error(`useStore: Failed to access store "${e}": ${r instanceof Error?r.message:String(r)}`),r}}function gt(e,t,r,i){try{const l=T.useRef(void 0);if(!l.current)try{l.current=C.createStore(e,{state:t,getters:r,actions:i})}catch(o){throw C.logger.error(`useCreateStore: Failed to create store "${e}": ${o instanceof Error?o.message:String(o)}`),o}return l.current}catch(l){throw C.logger.error(`useCreateStore: Hook execution failed: ${l instanceof Error?l.message:String(l)}`),l}}var K={exports:{}},W={};var je;function _t(){if(je)return W;je=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,l,o){var h=null;if(o!==void 0&&(h=""+o),l.key!==void 0&&(h=""+l.key),"key"in l){o={};for(var s in l)s!=="key"&&(o[s]=l[s])}else o=l;return l=o.ref,{$$typeof:e,type:i,key:h,ref:l!==void 0?l:null,props:o}}return W.Fragment=t,W.jsx=r,W.jsxs=r,W}var Y={};var Re;function wt(){return Re||(Re=1,process.env.NODE_ENV!=="production"&&(function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===j?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case v:return"Fragment";case _:return"Profiler";case g:return"StrictMode";case F:return"Suspense";case X:return"SuspenseList";case q:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case A:return"Portal";case O:return n.displayName||"Context";case P:return(n._context.displayName||"Context")+".Consumer";case H:var y=n.render;return n=n.displayName,n||(n=y.displayName||y.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case B:return y=n.displayName||null,y!==null?y:e(n.type)||"Memo";case D:y=n._payload,n=n._init;try{return e(n(y))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var y=!1}catch{y=!0}if(y){y=console;var m=y.error,S=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return m.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S),t(n)}}function i(n){if(n===v)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===D)return"<...>";try{var y=e(n);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function l(){var n=$.A;return n===null?null:n.getOwner()}function o(){return Error("react-stack-top-frame")}function h(n){if(Ne.call(n,"key")){var y=Object.getOwnPropertyDescriptor(n,"key").get;if(y&&y.isReactWarning)return!1}return n.key!==void 0}function s(n,y){function m(){Se||(Se=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",y))}m.isReactWarning=!0,Object.defineProperty(n,"key",{get:m,configurable:!0})}function f(){var n=e(this.type);return Ee[n]||(Ee[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function d(n,y,m,S,Z,se){var E=m.ref;return n={$$typeof:b,type:n,key:y,props:m,_owner:S},(E!==void 0?E:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:f}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Z}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function p(n,y,m,S,Z,se){var E=y.children;if(E!==void 0)if(S)if(pt(E)){for(S=0;S<E.length;S++)a(E[S]);Object.freeze&&Object.freeze(E)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else a(E);if(Ne.call(y,"key")){E=e(n);var Q=Object.keys(y).filter(function(ut){return ut!=="key"});S=0<Q.length?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}",Ae[E+S]||(Q=0<Q.length?"{"+Q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
24
24
  let props = %s;
25
25
  <%s {...props} />
26
26
  React keys must be passed directly to JSX without using spread:
27
27
  let props = %s;
28
- <%s key={someKey} {...props} />`,c,i,_,i),D[i+c]=!0)}if(i=null,s!==void 0&&(n(s),i=""+s),v(t)&&(n(t.key),i=""+t.key),"key"in t){s={};for(var C in t)C!=="key"&&(s[C]=t[C])}else s=t;return i&&l(s,typeof e=="function"?e.displayName||e.name||"Unknown":e),T(e,i,s,o(),y,j)}function m(e){E(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===O&&(e._payload.status==="fulfilled"?E(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===N}var S=b,N=Symbol.for("react.transitional.element"),J=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),X=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),re=Symbol.for("react.client.reference"),x=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,te=Array.isArray,P=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(e){return e()}};var Q,F={},I=S.react_stack_bottom_frame.bind(S,f)(),M=P(u(f)),D={};h.Fragment=k,h.jsx=function(e,t,s){var c=1e4>x.recentlyCreatedOwnerStacks++;return p(e,t,s,!1,c?Error("react-stack-top-frame"):I,c?P(u(e)):M)},h.jsxs=function(e,t,s){var c=1e4>x.recentlyCreatedOwnerStacks++;return p(e,t,s,!0,c?Error("react-stack-top-frame"):I,c?P(u(e)):M)}})()),h}var q;function ie(){return q||(q=1,process.env.NODE_ENV==="production"?w.exports=ue():w.exports=ce()),w.exports}var le=ie();function fe({stores:r,children:a}){try{if(!r||typeof r!="object"){const n="QuantaProvider: Invalid stores prop provided";throw d.logger.error(n),new Error(n)}for(const[n,u]of Object.entries(r))if(!u||typeof u!="object"){const o=`QuantaProvider: Invalid store "${n}" provided`;throw d.logger.error(o),new Error(o)}return le.jsx($.Provider,{value:{stores:r},children:a})}catch(n){throw d.logger.error(`QuantaProvider: Failed to render provider: ${n instanceof Error?n.message:String(n)}`),n}}Object.defineProperty(exports,"computed",{enumerable:!0,get:()=>d.computed});Object.defineProperty(exports,"createStore",{enumerable:!0,get:()=>d.createStore});Object.defineProperty(exports,"logger",{enumerable:!0,get:()=>d.logger});Object.defineProperty(exports,"reactive",{enumerable:!0,get:()=>d.reactive});Object.defineProperty(exports,"watch",{enumerable:!0,get:()=>d.watch});exports.QuantaContext=$;exports.QuantaProvider=fe;exports.useCreateStore=se;exports.useQuantaContext=U;exports.useQuantaStore=A;exports.useStore=ae;
28
+ <%s key={someKey} {...props} />`,S,E,Q,E),Ae[E+S]=!0)}if(E=null,m!==void 0&&(r(m),E=""+m),h(y)&&(r(y.key),E=""+y.key),"key"in y){m={};for(var he in y)he!=="key"&&(m[he]=y[he])}else m=y;return E&&s(m,typeof n=="function"?n.displayName||n.name||"Unknown":n),d(n,E,m,l(),Z,se)}function a(n){u(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===D&&(n._payload.status==="fulfilled"?u(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function u(n){return typeof n=="object"&&n!==null&&n.$$typeof===b}var x=T,b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),O=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),$=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ne=Object.prototype.hasOwnProperty,pt=Array.isArray,ne=console.createTask?console.createTask:function(){return null};x={react_stack_bottom_frame:function(n){return n()}};var Se,Ee={},Ce=x.react_stack_bottom_frame.bind(x,o)(),Te=ne(i(o)),Ae={};Y.Fragment=v,Y.jsx=function(n,y,m){var S=1e4>$.recentlyCreatedOwnerStacks++;return p(n,y,m,!1,S?Error("react-stack-top-frame"):Ce,S?ne(i(n)):Te)},Y.jsxs=function(n,y,m){var S=1e4>$.recentlyCreatedOwnerStacks++;return p(n,y,m,!0,S?Error("react-stack-top-frame"):Ce,S?ne(i(n)):Te)}})()),Y}var Pe;function vt(){return Pe||(Pe=1,process.env.NODE_ENV==="production"?K.exports=_t():K.exports=wt()),K.exports}var mt=vt();function bt({stores:e,children:t}){try{if(!e||typeof e!="object"){const r="QuantaProvider: Invalid stores prop provided";throw C.logger.error(r),new Error(r)}for(const[r,i]of Object.entries(e))if(!i||typeof i!="object"){const l=`QuantaProvider: Invalid store "${r}" provided`;throw C.logger.error(l),new Error(l)}return mt.jsx(_e.Provider,{value:{stores:e},children:t})}catch(r){throw C.logger.error(`QuantaProvider: Failed to render provider: ${r instanceof Error?r.message:String(r)}`),r}}var ae,w,Xe,I,Oe,Ze,Ke,et,we,pe,ue,V={},tt=[],kt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,G=Array.isArray;function z(e,t){for(var r in t)e[r]=t[r];return e}function ve(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function J(e,t,r){var i,l,o,h={};for(o in t)o=="key"?i=t[o]:o=="ref"?l=t[o]:h[o]=t[o];if(arguments.length>2&&(h.children=arguments.length>3?ae.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)h[o]===void 0&&(h[o]=e.defaultProps[o]);return te(e,h,i,l,null)}function te(e,t,r,i,l){var o={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:l??++Xe,__i:-1,__u:0};return l==null&&w.vnode!=null&&w.vnode(o),o}function ce(e){return e.children}function re(e,t){this.props=e,this.context=t}function L(e,t){if(t==null)return e.__?L(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?L(e):null}function rt(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return rt(e)}}function $e(e){(!e.__d&&(e.__d=!0)&&I.push(e)&&!oe.__r++||Oe!=w.debounceRendering)&&((Oe=w.debounceRendering)||Ze)(oe)}function oe(){for(var e,t,r,i,l,o,h,s=1;I.length;)I.length>s&&I.sort(Ke),e=I.shift(),s=I.length,e.__d&&(r=void 0,i=void 0,l=(i=(t=e).__v).__e,o=[],h=[],t.__P&&((r=z({},i)).__v=i.__v+1,w.vnode&&w.vnode(r),me(t.__P,r,i,t.__n,t.__P.namespaceURI,32&i.__u?[l]:null,o,l??L(i),!!(32&i.__u),h),r.__v=i.__v,r.__.__k[r.__i]=r,at(o,r,h),i.__e=i.__=null,r.__e!=l&&rt(r)));oe.__r=0}function it(e,t,r,i,l,o,h,s,f,d,p){var a,u,x,b,A,v,g,_=i&&i.__k||tt,P=t.length;for(f=Nt(r,t,_,f,P),a=0;a<P;a++)(x=r.__k[a])!=null&&(u=x.__i==-1?V:_[x.__i]||V,x.__i=a,v=me(e,x,u,l,o,h,s,f,d,p),b=x.__e,x.ref&&u.ref!=x.ref&&(u.ref&&be(u.ref,null,x),p.push(x.ref,x.__c||b,x)),A==null&&b!=null&&(A=b),(g=!!(4&x.__u))||u.__k===x.__k?f=ot(x,f,e,g):typeof x.type=="function"&&v!==void 0?f=v:b&&(f=b.nextSibling),x.__u&=-7);return r.__e=A,f}function Nt(e,t,r,i,l){var o,h,s,f,d,p=r.length,a=p,u=0;for(e.__k=new Array(l),o=0;o<l;o++)(h=t[o])!=null&&typeof h!="boolean"&&typeof h!="function"?(f=o+u,(h=e.__k[o]=typeof h=="string"||typeof h=="number"||typeof h=="bigint"||h.constructor==String?te(null,h,null,null,null):G(h)?te(ce,{children:h},null,null,null):h.constructor==null&&h.__b>0?te(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h).__=e,h.__b=e.__b+1,s=null,(d=h.__i=St(h,r,f,a))!=-1&&(a--,(s=r[d])&&(s.__u|=2)),s==null||s.__v==null?(d==-1&&(l>p?u--:l<p&&u++),typeof h.type!="function"&&(h.__u|=4)):d!=f&&(d==f-1?u--:d==f+1?u++:(d>f?u--:u++,h.__u|=4))):e.__k[o]=null;if(a)for(o=0;o<p;o++)(s=r[o])!=null&&(2&s.__u)==0&&(s.__e==i&&(i=L(s)),nt(s,s));return i}function ot(e,t,r,i){var l,o;if(typeof e.type=="function"){for(l=e.__k,o=0;l&&o<l.length;o++)l[o]&&(l[o].__=e,t=ot(l[o],t,r,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=L(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function lt(e,t){return t=t||[],e==null||typeof e=="boolean"||(G(e)?e.some(function(r){lt(r,t)}):t.push(e)),t}function St(e,t,r,i){var l,o,h,s=e.key,f=e.type,d=t[r],p=d!=null&&(2&d.__u)==0;if(d===null&&e.key==null||p&&s==d.key&&f==d.type)return r;if(i>(p?1:0)){for(l=r-1,o=r+1;l>=0||o<t.length;)if((d=t[h=l>=0?l--:o++])!=null&&(2&d.__u)==0&&s==d.key&&f==d.type)return h}return-1}function Me(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||kt.test(t)?r:r+"px"}function ee(e,t,r,i,l){var o,h;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||Me(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||Me(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(et,"$1")),h=t.toLowerCase(),t=h in e||t=="onFocusOut"||t=="onFocusIn"?h.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?i?r.u=i.u:(r.u=we,e.addEventListener(t,o?ue:pe,o)):e.removeEventListener(t,o?ue:pe,o);else{if(l=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function De(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=we++;else if(t.t<r.u)return;return r(w.event?w.event(t):t)}}}function me(e,t,r,i,l,o,h,s,f,d){var p,a,u,x,b,A,v,g,_,P,O,H,F,X,B,D,q,j=t.type;if(t.constructor!=null)return null;128&r.__u&&(f=!!(32&r.__u),o=[s=t.__e=r.__e]),(p=w.__b)&&p(t);e:if(typeof j=="function")try{if(g=t.props,_="prototype"in j&&j.prototype.render,P=(p=j.contextType)&&i[p.__c],O=p?P?P.props.value:p.__:i,r.__c?v=(a=t.__c=r.__c).__=a.__E:(_?t.__c=a=new j(g,O):(t.__c=a=new re(g,O),a.constructor=j,a.render=Ct),P&&P.sub(a),a.props=g,a.state||(a.state={}),a.context=O,a.__n=i,u=a.__d=!0,a.__h=[],a._sb=[]),_&&a.__s==null&&(a.__s=a.state),_&&j.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=z({},a.__s)),z(a.__s,j.getDerivedStateFromProps(g,a.__s))),x=a.props,b=a.state,a.__v=t,u)_&&j.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),_&&a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(_&&j.getDerivedStateFromProps==null&&g!==x&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(g,O),!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(g,a.__s,O)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(a.props=g,a.state=a.__s,a.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function($){$&&($.__=t)}),H=0;H<a._sb.length;H++)a.__h.push(a._sb[H]);a._sb=[],a.__h.length&&h.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(g,a.__s,O),_&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(x,b,A)})}if(a.context=O,a.props=g,a.__P=e,a.__e=!1,F=w.__r,X=0,_){for(a.state=a.__s,a.__d=!1,F&&F(t),p=a.render(a.props,a.state,a.context),B=0;B<a._sb.length;B++)a.__h.push(a._sb[B]);a._sb=[]}else do a.__d=!1,F&&F(t),p=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++X<25);a.state=a.__s,a.getChildContext!=null&&(i=z(z({},i),a.getChildContext())),_&&!u&&a.getSnapshotBeforeUpdate!=null&&(A=a.getSnapshotBeforeUpdate(x,b)),D=p,p!=null&&p.type===ce&&p.key==null&&(D=ct(p.props.children)),s=it(e,G(D)?D:[D],t,r,i,l,o,h,s,f,d),a.base=t.__e,t.__u&=-161,a.__h.length&&h.push(a),v&&(a.__E=a.__=null)}catch($){if(t.__v=null,f||o!=null)if($.then){for(t.__u|=f?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else{for(q=o.length;q--;)ve(o[q]);xe(t)}else t.__e=r.__e,t.__k=r.__k,$.then||xe(t);w.__e($,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=Et(r.__e,t,r,i,l,o,h,f,d);return(p=w.diffed)&&p(t),128&t.__u?void 0:s}function xe(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(xe)}function at(e,t,r){for(var i=0;i<r.length;i++)be(r[i],r[++i],r[++i]);w.__c&&w.__c(t,e),e.some(function(l){try{e=l.__h,l.__h=[],e.some(function(o){o.call(l)})}catch(o){w.__e(o,l.__v)}})}function ct(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:G(e)?e.map(ct):z({},e)}function Et(e,t,r,i,l,o,h,s,f){var d,p,a,u,x,b,A,v=r.props,g=t.props,_=t.type;if(_=="svg"?l="http://www.w3.org/2000/svg":_=="math"?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),o!=null){for(d=0;d<o.length;d++)if((x=o[d])&&"setAttribute"in x==!!_&&(_?x.localName==_:x.nodeType==3)){e=x,o[d]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(l,_,g.is&&g),s&&(w.__m&&w.__m(t,o),s=!1),o=null}if(_==null)v===g||s&&e.data==g||(e.data=g);else{if(o=o&&ae.call(e.childNodes),v=r.props||V,!s&&o!=null)for(v={},d=0;d<e.attributes.length;d++)v[(x=e.attributes[d]).name]=x.value;for(d in v)if(x=v[d],d!="children"){if(d=="dangerouslySetInnerHTML")a=x;else if(!(d in g)){if(d=="value"&&"defaultValue"in g||d=="checked"&&"defaultChecked"in g)continue;ee(e,d,null,x,l)}}for(d in g)x=g[d],d=="children"?u=x:d=="dangerouslySetInnerHTML"?p=x:d=="value"?b=x:d=="checked"?A=x:s&&typeof x!="function"||v[d]===x||ee(e,d,x,v[d],l);if(p)s||a&&(p.__html==a.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(a&&(e.innerHTML=""),it(t.type=="template"?e.content:e,G(u)?u:[u],t,r,i,_=="foreignObject"?"http://www.w3.org/1999/xhtml":l,o,h,o?o[0]:r.__k&&L(r,0),s,f),o!=null)for(d=o.length;d--;)ve(o[d]);s||(d="value",_=="progress"&&b==null?e.removeAttribute("value"):b!=null&&(b!==e[d]||_=="progress"&&!b||_=="option"&&b!=v[d])&&ee(e,d,b,v[d],l),d="checked",A!=null&&A!=e[d]&&ee(e,d,A,v[d],l))}return e}function be(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(l){w.__e(l,r)}}function nt(e,t,r){var i,l;if(w.unmount&&w.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||be(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){w.__e(o,t)}i.base=i.__P=null}if(i=e.__k)for(l=0;l<i.length;l++)i[l]&&nt(i[l],t,r||typeof e.type!="function");r||ve(e.__e),e.__c=e.__=e.__e=void 0}function Ct(e,t,r){return this.constructor(e,r)}function ze(e,t,r){var i,l,o,h;t==document&&(t=document.documentElement),w.__&&w.__(e,t),l=(i=!1)?null:t.__k,o=[],h=[],me(t,e=t.__k=J(ce,null,[e]),l||V,V,t.namespaceURI,l?null:t.firstChild?ae.call(t.childNodes):null,o,l?l.__e:t.firstChild,i,h),at(o,e,h)}ae=tt.slice,w={__e:function(e,t,r,i){for(var l,o,h;t=t.__;)if((l=t.__c)&&!l.__)try{if((o=l.constructor)&&o.getDerivedStateFromError!=null&&(l.setState(o.getDerivedStateFromError(e)),h=l.__d),l.componentDidCatch!=null&&(l.componentDidCatch(e,i||{}),h=l.__d),h)return l.__E=l}catch(s){e=s}throw e}},Xe=0,re.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=z({},this.state),typeof e=="function"&&(e=e(z({},r),this.props)),e&&z(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),$e(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),$e(this))},re.prototype.render=ce,I=[],Ze=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ke=function(e,t){return e.__v.__b-t.__v.__b},oe.__r=0,et=/(PointerCapture)$|Capture$/i,we=0,pe=De(!1),ue=De(!0);var Tt=0;function c(e,t,r,i,l,o){t||(t={});var h,s,f=t;if("ref"in f)for(s in f={},t)s=="ref"?h=t[s]:f[s]=t[s];var d={type:e,props:f,key:r,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Tt,__i:-1,__u:0,__source:l,__self:o};if(typeof e=="function"&&(h=e.defaultProps))for(s in h)f[s]===void 0&&(f[s]=h[s]);return w.vnode&&w.vnode(d),d}var le,k,de,Fe,ye=0,st=[],N=w,Ie=N.__b,Ue=N.__r,He=N.diffed,Be=N.__c,Qe=N.unmount,Le=N.__;function ht(e,t){N.__h&&N.__h(k,e,ye||t),ye=0;var r=k.__H||(k.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function U(e){return ye=1,At(dt,e)}function At(e,t,r){var i=ht(le++,2);if(i.t=e,!i.__c&&(i.__=[dt(void 0,t),function(s){var f=i.__N?i.__N[0]:i.__[0],d=i.t(f,s);f!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=k,!k.__f)){var l=function(s,f,d){if(!i.__c.__H)return!0;var p=i.__c.__H.__.filter(function(u){return!!u.__c});if(p.every(function(u){return!u.__N}))return!o||o.call(this,s,f,d);var a=i.__c.props!==s;return p.forEach(function(u){if(u.__N){var x=u.__[0];u.__=u.__N,u.__N=void 0,x!==u.__[0]&&(a=!0)}}),o&&o.call(this,s,f,d)||a};k.__f=!0;var o=k.shouldComponentUpdate,h=k.componentWillUpdate;k.componentWillUpdate=function(s,f,d){if(this.__e){var p=o;o=void 0,l(s,f,d),o=p}h&&h.call(this,s,f,d)},k.shouldComponentUpdate=l}return i.__N||i.__}function jt(e,t){var r=ht(le++,3);!N.__s&&Ot(r.__H,t)&&(r.__=e,r.u=t,k.__H.__h.push(r))}function Rt(){for(var e;e=st.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ie),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],N.__e(t,e.__v)}}N.__b=function(e){k=null,Ie&&Ie(e)},N.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Le&&Le(e,t)},N.__r=function(e){Ue&&Ue(e),le=0;var t=(k=e.__c).__H;t&&(de===k?(t.__h=[],k.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(ie),t.__h.forEach(ge),t.__h=[],le=0)),de=k},N.diffed=function(e){He&&He(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(st.push(t)!==1&&Fe===N.requestAnimationFrame||((Fe=N.requestAnimationFrame)||Pt)(Rt)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),de=k=null},N.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(i){return!i.__||ge(i)})}catch(i){t.some(function(l){l.__h&&(l.__h=[])}),t=[],N.__e(i,r.__v)}}),Be&&Be(e,t)},N.unmount=function(e){Qe&&Qe(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(i){try{ie(i)}catch(l){t=l}}),r.__H=void 0,t&&N.__e(t,r.__v))};var qe=typeof requestAnimationFrame=="function";function Pt(e){var t,r=function(){clearTimeout(i),qe&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);qe&&(t=requestAnimationFrame(r))}function ie(e){var t=k,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),k=t}function ge(e){var t=k;e.__c=e.__(),k=t}function Ot(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function dt(e,t){return typeof t=="function"?t(e):t}const We="data:image/svg+xml,%3csvg%20width='1820'%20height='1820'%20viewBox='0%200%201820%201820'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='1820'%20height='1820'%20rx='20'%20fill='%23121212'/%3e%3crect%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='868'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1736'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='248'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='744'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1116'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1364'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='248'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.7'%20x='1364'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1488'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1736'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.99'%20x='1364'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1488'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1612'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1736'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1364'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1488'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='124'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20opacity='0.5'%20x='1364'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1736'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='992'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1488'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1736'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.1'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='372'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1612'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='248'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.98'%20x='744'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='992'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='744'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='1240'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1612'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='744'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1240'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1488'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='124'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='744'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='868'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.32'%20x='1612'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3c/svg%3e";function $t(){const[e,t]=U({}),[r,i]=U([]),[l,o]=U(null);return jt(()=>{let h,s=0;const f=10,d=()=>{const a=window.__QUANTA_DEVTOOLS__;a?(console.log("[Quanta DevTools] Connected to bridge"),h=a.subscribe(p)):s<f?(s++,setTimeout(d,500)):console.warn("[Quanta DevTools] Failed to connect to bridge after retries")},p=a=>{a.type==="STORE_INIT"?t(u=>{const x={...u,[a.payload.name]:a.payload.store};return l||o(a.payload.name),x}):a.type==="STATE_CHANGE"?t(u=>{const x=a.payload.storeName;return u[x]?{...u}:u}):a.type==="ACTION_CALL"&&i(u=>[{id:Math.random().toString(36).substr(2,9),storeName:a.payload.storeName,actionName:a.payload.actionName,args:a.payload.args,timestamp:Date.now()},...u.slice(0,49)])};return d(),()=>{h&&h()}},[l]),{stores:e,actions:r,selectedStore:l,setSelectedStore:o}}const Ye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Mt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,i)=>i?i.toUpperCase():r.toLowerCase()),Ve=e=>{const t=Mt(e);return t.charAt(0).toUpperCase()+t.slice(1)},Dt=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim();var zt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};const Ft=({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,children:l,iconNode:o,class:h="",...s})=>J("svg",{...zt,width:String(t),height:t,stroke:e,"stroke-width":i?Number(r)*24/Number(t):r,class:["lucide",h].join(" "),...s},[...o.map(([f,d])=>J(f,d)),...lt(l)]),R=(e,t)=>{const r=({class:i="",className:l="",children:o,...h})=>J(Ft,{...h,iconNode:t,class:Dt(`lucide-${Ye(Ve(e))}`,`lucide-${Ye(e)}`,i,l)},o);return r.displayName=Ve(e),r},It=R("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Ut=R("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Ht=R("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Bt=R("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Qt=R("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),Lt=R("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),qt=R("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),Wt=R("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),Yt=R("rotate-ccw",[["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"}]]),Vt=R("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Jt=R("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),Gt=R("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Xt={x:Gt,play:Wt,database:qt,"chevron-right":Ht,"chevron-up":Bt,"chevron-down":Ut,"rotate-ccw":Yt,trash:Jt,search:Vt,"circle-x":Qt,check:It,copy:Lt};function M({name:e,size:t=16,color:r,className:i}){const l=Xt[e];return l?c(l,{size:t,color:r,className:i}):null}function ke(e){const t=new WeakSet;function r(i,l){if(l>10)return"[...]";if(i===null)return null;if(i===void 0)return;const o=typeof i;if(o==="string"||o==="number"||o==="boolean")return i;if(o==="function")return"[Function]";if(typeof Window<"u"&&i instanceof Window)return"[Window]";if(typeof Node<"u"&&i instanceof Node)return"[Element]";if(i instanceof Date)return i.toISOString();if(i instanceof RegExp)return i.toString();if(Array.isArray(i)){if(t.has(i))return"[Circular]";t.add(i);const h=i.map(s=>r(s,l+1));return t.delete(i),h}if(o==="object"){if(t.has(i))return"[Circular]";t.add(i);const h={};for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(h[s]=r(i[s],l+1));return t.delete(i),h}return String(i)}try{return JSON.stringify(r(e,0))}catch{return"[Error]"}}const ft=({data:e,level:t=0})=>typeof e!="object"||e===null?c("span",{className:"text-green-600 dark:text-green-400",children:ke(e)}):c("div",{style:{paddingLeft:t*12},children:Object.entries(e).map(([r,i])=>c("div",{className:"font-mono text-xs py-0.5",children:[c("span",{className:"text-purple-400",children:[r,": "]}),c(ft,{data:i,level:t+1})]},r))}),Zt=({stores:e,selectedStore:t})=>c("div",{className:"flex h-full",children:c("div",{className:"flex-1 overflow-y-auto p-4 bg-slate-950",children:t&&e[t]?c("div",{className:"space-y-4",children:[c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Store Management"}),c("div",{className:"flex flex-col gap-3",children:[c("div",{className:"flex items-center justify-between",children:[c("div",{className:"flex items-center gap-2 text-xs",children:[c("span",{className:"text-slate-400",children:"Persistence:"}),e[t].$persist?c("span",{className:"flex items-center gap-1.5 text-green-400 font-medium bg-green-400/10 px-2 py-0.5 rounded-full border border-green-400/20",children:[c("div",{className:"w-1.5 h-1.5 rounded-full bg-green-400 shadow-[0_0_6px_rgba(74,222,128,0.5)]"}),"Enabled"]}):c("span",{className:"flex items-center gap-1.5 text-slate-500 font-medium bg-slate-800 px-2 py-0.5 rounded-full border border-slate-700",children:[c("div",{className:"w-1.5 h-1.5 rounded-full bg-slate-500"}),"Disabled"]})]}),e[t].$persist&&c("button",{onClick:async()=>{if(confirm("Are you sure you want to clear the persisted data for this store?"))try{await e[t].$persist.clear(),alert("Storage cleared.")}catch(r){console.error(r),alert("Failed to clear storage.")}},className:"flex items-center gap-1.5 px-2 py-1 bg-slate-800 hover:bg-red-500/20 text-slate-400 hover:text-red-400 rounded text-[10px] font-medium transition-colors border border-slate-700 hover:border-red-500/30",title:"Clear persisted data from storage",children:[c(M,{name:"trash",size:12}),"Clear Storage"]})]}),c("div",{className:"flex items-center justify-between pt-2 border-t border-slate-800/50",children:[c("span",{className:"text-xs text-slate-500",children:"Reset in-memory state to initial values."}),c("button",{onClick:()=>{confirm("Are you sure you want to reset the state? This will revert all changes.")&&e[t].$reset()},className:"flex items-center gap-2 px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white rounded text-xs font-medium transition-colors border border-slate-700",children:[c(M,{name:"rotate-ccw",size:12}),"Reset State"]})]})]})]}),c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"State"}),c(ft,{data:e[t].state})]}),c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Getters"}),e[t].getters&&Object.keys(e[t].getters).length>0?c("div",{className:"space-y-1",children:Object.entries(e[t].getters).map(([r,i])=>c("div",{className:"flex items-start gap-2 font-mono text-xs",children:[c("span",{className:"text-purple-400",children:[r,":"]}),c("span",{className:"text-yellow-400 break-all",children:ke(i.value)})]},r))}):c("div",{className:"text-xs text-slate-600 italic",children:"No getters defined"})]}),e[t].actions&&Object.keys(e[t].actions).length>0&&c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Actions"}),c("div",{className:"space-y-1",children:Object.keys(e[t].actions).map(r=>c("div",{className:"flex items-center justify-between group",children:[c("span",{className:"font-mono text-xs text-blue-400",children:[r,"()"]}),c("button",{onClick:()=>{try{e[t].actions[r]()}catch(i){console.error(i),alert(`Action failed: ${i}`)}},className:"p-1 text-slate-600 hover:text-cyan-400 opacity-0 group-hover:opacity-100 transition-all",title:"Trigger Action",children:c(M,{name:"play",size:12})})]},r))})]})]}):c("div",{className:"h-full flex items-center justify-center text-slate-600 flex-col gap-2",children:[c(M,{name:"database",size:32,className:"opacity-20"}),c("p",{children:"Select a store to inspect"})]})})}),Je=100,Kt=({args:e})=>{const[t,r]=U(!1),[i,l]=U(!1),o=ke(e),h=o.length>Je,s=h?o.slice(0,Je)+"...":o;return c("td",{className:"px-4 py-3 text-xs text-slate-400 font-mono",children:c("div",{className:"flex items-start gap-2",children:[c("div",{className:"flex-1 min-w-0",children:t?c("div",{className:"whitespace-pre-wrap break-all bg-slate-900/50 p-2 rounded border border-slate-800 max-h-48 overflow-y-auto",children:o}):c("div",{className:"truncate max-w-[200px]",title:s,children:s})}),c("div",{className:"flex items-center gap-1 flex-shrink-0",children:[h&&c("button",{onClick:()=>r(!t),className:"p-1 bg-transparent hover:bg-slate-800 rounded transition-colors text-cyan-400 hover:text-cyan-300",title:t?"Collapse":"Expand",children:c(M,{name:t?"chevron-up":"chevron-down",size:14})}),c("button",{onClick:async()=>{try{await navigator.clipboard.writeText(o),l(!0),setTimeout(()=>l(!1),2e3)}catch(f){console.error("Failed to copy:",f)}},className:`p-1 bg-transparent hover:bg-slate-800 rounded transition-colors ${i?"text-green-400":"text-slate-500 hover:text-slate-300"}`,title:i?"Copied!":"Copy payload",children:c(M,{name:i?"check":"copy",size:14})})]})]})})},er=({actions:e})=>e.length===0?c("div",{className:"h-full flex flex-col items-center justify-center text-slate-600",children:[c(M,{size:32,name:"play",className:"mb-2 opacity-20"}),c("p",{children:"No actions recorded yet"})]}):c("div",{className:"h-full overflow-y-auto",children:c("table",{className:"w-full text-left border-collapse",children:[c("thead",{className:"bg-slate-900 sticky top-0 z-10",children:c("tr",{children:[c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Time"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Store"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Action"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Payload"})]})}),c("tbody",{className:"divide-y divide-slate-800/50",children:e.map(t=>c("tr",{className:"hover:bg-slate-900/50 transition-colors",children:[c("td",{className:"px-4 py-3 text-xs text-slate-500 font-mono whitespace-nowrap",children:new Date(t.timestamp).toLocaleTimeString()}),c("td",{className:"px-4 py-3 text-sm font-medium text-slate-200",children:t.storeName}),c("td",{className:"px-4 py-3 text-sm text-cyan-400 font-mono",children:t.actionName}),c(Kt,{args:t.args})]},t.id))})]})}),tr="2.0.0-beta.8",rr={version:tr};function ir(){const[e,t]=U(!1),[r,i]=U("inspector"),{stores:l,actions:o,selectedStore:h,setSelectedStore:s}=$t(),f=o.length,d=rr.version;return e?c("div",{className:"fixed bottom-6 right-6 w-[92vw] max-w-[980px] h-[80vh] md:h-[600px] bg-gradient-to-b from-[#071123] to-[#0b1220] shadow-2xl border border-slate-800 rounded-xl flex flex-col z-[9999] overflow-hidden",children:[c("header",{className:"flex items-center justify-between px-4 py-3 border-b border-slate-800 bg-[rgba(255,255,255,0.02)]",children:[c("div",{className:"flex items-center gap-3",children:[c("img",{src:We,alt:"Quanta DevTools",className:"w-6 h-6 rounded-full"}),c("div",{children:[c("div",{className:"text-sm font-semibold text-[rgba(56,178,172,1)]",children:"QuantaJS DevTools"}),c("div",{className:"text-xs text-slate-400",children:"Inspect stores, replay actions & manage persistence"})]})]}),c("div",{className:"flex items-center gap-3",children:[c("div",{className:"flex items-center gap-2 bg-slate-900/30 px-2 py-1 rounded",children:[c("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="inspector"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("inspector"),children:"Inspector"}),c("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="actions"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("actions"),children:["Actions (",f,")"]})]}),c("button",{onClick:()=>t(!1),className:"p-1 bg-transparent rounded-full transition text-red-500 hover:text-red-600",title:"Close",children:c(M,{name:"circle-x",size:24})})]})]}),c("div",{className:"flex flex-1 overflow-hidden",children:[c("aside",{className:"w-56 bg-[rgba(255,255,255,0.02)] border-r border-slate-800 p-3 flex flex-col gap-3",children:[c("div",{className:"flex items-center gap-2",children:[c(M,{name:"search",size:14,className:"text-slate-400"}),c("input",{placeholder:"Filter stor es...",className:"p-1 flex-1 bg-transparent rounded-md outline-none text-sm text-slate-200 placeholder:text-slate-500",onInput:p=>s(p.target.value),value:h??""})]}),c("div",{className:"flex-1 overflow-auto",children:Object.keys(l).length===0?c("div",{className:"text-xs text-slate-500",children:"No stores detected"}):Object.keys(l).map(p=>c("button",{onClick:()=>s(p),className:`w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${h===p?"text-[rgba(56,178,172,1)] hover:text-slate-100 bg-[rgba(255,255,255,0.02)]":"text-slate-400 hover:text-slate-200 bg-transparent"}`,title:p,children:[c("span",{className:"font-mono text-xs text-slate-400",children:c(M,{name:"database",size:14,className:"text-slate-400"})}),c("div",{className:"flex-1 text-sm truncate",children:p})]},p))}),c("div",{className:"flex items-center gap-2 text-xs text-slate-500",children:[c("div",{className:"flex-1",children:[Object.keys(l).length," stores"]}),c("div",{className:"text-right",children:["v",d]})]})]}),c("main",{className:"flex-1 overflow-auto p-4 space-y-4",children:r==="inspector"?c(Zt,{stores:l,selectedStore:h,onClose:()=>t(!1)}):c(er,{actions:o})})]})]}):c("button",{onClick:()=>t(!0),className:"fixed bottom-6 right-6 flex items-center bg-black text-white shadow-xl border border-slate-700 rounded-full overflow-hidden transition-all duration-300 ease-out group z-[9999] w-12 hover:w-46 h-12",title:"Open Quanta DevTools",children:[c("div",{className:"w-10 h-10 flex items-center justify-center flex-shrink-0",children:c("img",{src:We,alt:"Quanta DevTools",className:"w-10 h-10 rounded-full object-cover"})}),c("span",{className:"opacity-0 group-hover:opacity-100 whitespace-nowrap text-sm font-medium text-[rgba(56,178,172,1)] transition-opacity duration-300",children:"QuantaJS DevTools"})]})}const or='@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing)*48)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-\\[92vw\\]{width:92vw}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[980px\\]{max-width:980px}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/50>:not(:last-child)){border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab,red,red)){.border-green-400\\/20{border-color:color-mix(in oklab,var(--color-green-400)20%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/50{border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.bg-black{background-color:var(--color-black)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/40{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/40{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/30{background-color:#0f172b4d}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/30{background-color:color-mix(in oklab,var(--color-slate-900)30%,transparent)}}.bg-slate-900\\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/50{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\[\\#071123\\]{--tw-gradient-from:#071123;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\\[\\#0b1220\\]{--tw-gradient-to:#0b1220;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[rgba\\(56\\,178\\,172\\,1\\)\\]{color:#38b2ac}.text-blue-400{color:var(--color-blue-400)}.text-cyan-400{color:var(--color-cyan-400)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-purple-400{color:var(--color-purple-400)}.text-red-500{color:var(--color-red-500)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_6px_rgba\\(74\\,222\\,128\\,0\\.5\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,#4ade8080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-slate-500::placeholder{color:var(--color-slate-500)}@media(hover:hover){.hover\\:w-46:hover{width:calc(var(--spacing)*46)}.hover\\:border-red-500\\/30:hover{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-red-500\\/30:hover{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.hover\\:bg-red-500\\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-900\\/50:hover{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-900\\/50:hover{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}@media(min-width:48rem){.md\\:h-\\[600px\\]{height:600px}}@media(prefers-color-scheme:dark){.dark\\:text-green-400{color:var(--color-green-400)}}.quanta-devtools-root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2ac;border-radius:3px}.quanta-devtools-root ::-webkit-scrollbar-thumb:hover{background:#2c7a7b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}';function lr(){return!!(typeof process<"u"&&process.env&&process.env.NODE_ENV==="development")}function ar(e={}){const{target:t="body",visible:r}=e;if(!(r!==void 0?r:lr()))return()=>{};if(console.log("[Quanta DevTools] Mounting..."),!document.getElementById("quanta-devtools-styles")){const o=document.createElement("style");o.id="quanta-devtools-styles",o.innerHTML=or,document.head.appendChild(o)}let i;if(typeof t=="string"?i=document.querySelector(t):i=t,!i)return console.error("[Quanta DevTools] Target element not found"),()=>{};const l=document.createElement("div");return l.id="quanta-devtools-root",i.appendChild(l),ze(J(ir,{}),l),()=>{ze(null,l),l.remove()}}const cr=({visible:e})=>(T.useEffect(()=>ar({visible:e}),[e]),null);Object.defineProperty(exports,"computed",{enumerable:!0,get:()=>C.computed});Object.defineProperty(exports,"createStore",{enumerable:!0,get:()=>C.createStore});Object.defineProperty(exports,"logger",{enumerable:!0,get:()=>C.logger});Object.defineProperty(exports,"reactive",{enumerable:!0,get:()=>C.reactive});Object.defineProperty(exports,"watch",{enumerable:!0,get:()=>C.watch});exports.QuantaContext=_e;exports.QuantaDevTools=cr;exports.QuantaProvider=bt;exports.useCreateStore=gt;exports.useQuantaContext=Ge;exports.useQuantaStore=fe;exports.useStore=yt;
package/dist/index.d.ts CHANGED
@@ -31,6 +31,17 @@ declare interface QuantaContextValue {
31
31
  };
32
32
  }
33
33
 
34
+ export declare const QuantaDevTools: ({ visible }: QuantaDevToolsProps) => null;
35
+
36
+ declare interface QuantaDevToolsProps {
37
+ /**
38
+ * Whether to show the DevTools.
39
+ * If not provided, it attempts to detect development environment.
40
+ * Pass `true` to force show, `false` to force hide.
41
+ */
42
+ visible?: boolean;
43
+ }
44
+
34
45
  /**
35
46
  * Provider component that makes a QuantaJS store available to all child components
36
47
  * @param stores - The QuantaJS stores instances to provide