@cesdk/engine 1.18.1-rc.0 → 1.18.1
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/assets/core/{cesdk-v1.18.1-rc.0-1590a3bd4a5562ec284b.wasm → cesdk-v1.18.1-d3e0acb895f4d9e31459.wasm} +0 -0
- package/index.d.ts +8 -146
- package/index.js +1 -1
- package/integrations/react.d.ts +43 -0
- package/integrations/react.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.18.1-rc.0-d92fadafda0b5129818d.data → cesdk-v1.18.1-d92fadafda0b5129818d.data} +0 -0
package/integrations/react.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
import type CreativeEngine from '@cesdk/engine';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* A type helper for writing components that use the withEngine decorator.
|
|
5
|
+
*
|
|
6
|
+
* Makes it easier to export the props of your component without the `engine`
|
|
7
|
+
* prop that is already handled by the decorator.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import withEngine, { type WithEngine } from '@cesdk/engine/integrations/react'
|
|
12
|
+
*
|
|
13
|
+
* export interface MyProps {
|
|
14
|
+
* blockId: number;
|
|
15
|
+
* }
|
|
16
|
+
*
|
|
17
|
+
* const MyComponent = withEngine(function MyComponent({blockId, engine}: WithEngine<MyProps>) {
|
|
18
|
+
* return <div>Block {blockId} is of type {engine.block.getType(blockId)}</div>
|
|
19
|
+
* });
|
|
20
|
+
*
|
|
21
|
+
* export default Mycomponent;
|
|
22
|
+
*
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export type WithEngine<T> = T & { engine: CreativeEngine };
|
|
26
|
+
|
|
3
27
|
/**
|
|
4
28
|
* Takes a selector function and returns its result. The selector function will
|
|
5
29
|
* be re-run whenever the values returned by the engine api methods inside it change.
|
|
@@ -119,6 +143,15 @@ export declare function useEngineSelector<T>(
|
|
|
119
143
|
* <MyComponentWithEngine/>
|
|
120
144
|
* ```
|
|
121
145
|
*
|
|
146
|
+
* ### Combining with `forwardRef`
|
|
147
|
+
*
|
|
148
|
+
* If you want to decorate a function with both `withEngine` and `forwardRef`,
|
|
149
|
+
* apply `withEngine` first, then `forwardRef`:
|
|
150
|
+
*
|
|
151
|
+
* ```tsx
|
|
152
|
+
* forwardRef(withEngine(MyComponent))
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
122
155
|
* @param Component - the component you want to make reactive
|
|
123
156
|
* @param options - If you pass `useEngine` in this object, that function will
|
|
124
157
|
* be called during rendering to obtain the engine instance.
|
|
@@ -129,6 +162,16 @@ export declare function useEngineSelector<T>(
|
|
|
129
162
|
*
|
|
130
163
|
* @public
|
|
131
164
|
*/
|
|
165
|
+
export function withEngine<
|
|
166
|
+
P extends { engine?: CreativeEngine },
|
|
167
|
+
O extends WithEngineOptions,
|
|
168
|
+
R
|
|
169
|
+
>(
|
|
170
|
+
Component: React.ForwardRefRenderFunction<R, P>,
|
|
171
|
+
options?: O
|
|
172
|
+
): O extends { useEngine: () => CreativeEngine }
|
|
173
|
+
? React.ForwardRefRenderFunction<R, Omit<P, 'engine'>>
|
|
174
|
+
: React.ForwardRefRenderFunction<R, P>;
|
|
132
175
|
export function withEngine<
|
|
133
176
|
P extends { engine?: CreativeEngine },
|
|
134
177
|
O extends WithEngineOptions
|
package/integrations/react.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as t from"react";var e={8634:(t,e,r)=>{var n=r(7451)(r(6491),"DataView");t.exports=n},3871:(t,e,r)=>{var n=r(770),o=r(1464),a=r(1265),s=r(4008),i=r(8409);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},602:(t,e,r)=>{var n=r(8924),o=r(3775),a=r(2891),s=r(4670),i=r(3985);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},9446:(t,e,r)=>{var n=r(7451)(r(6491),"Map");t.exports=n},1341:(t,e,r)=>{var n=r(5089),o=r(2523),a=r(3950),s=r(2369),i=r(6174);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},7418:(t,e,r)=>{var n=r(7451)(r(6491),"Promise");t.exports=n},2408:(t,e,r)=>{var n=r(7451)(r(6491),"Set");t.exports=n},6092:(t,e,r)=>{var n=r(1341),o=r(3322),a=r(4103);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=a,t.exports=s},3192:(t,e,r)=>{var n=r(602),o=r(8562),a=r(1723),s=r(8574),i=r(5235),u=r(4298);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=s,c.prototype.has=i,c.prototype.set=u,t.exports=c},7322:(t,e,r)=>{var n=r(6491).Symbol;t.exports=n},6218:(t,e,r)=>{var n=r(6491).Uint8Array;t.exports=n},3335:(t,e,r)=>{var n=r(7451)(r(6491),"WeakMap");t.exports=n},8040:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var s=t[r];e(s,r,t)&&(a[o++]=s)}return a}},6221:(t,e,r)=>{var n=r(7679),o=r(5137),a=r(6848),s=r(5990),i=r(6045),u=r(7196),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&s(t),l=!r&&!p&&!f&&u(t),v=r||p||f||l,h=v?n(t.length,String):[],_=h.length;for(var b in t)!e&&!c.call(t,b)||v&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||i(b,_))||h.push(b);return h}},1458:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},5737:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2622:(t,e,r)=>{var n=r(7470);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},2678:(t,e,r)=>{var n=r(1458),o=r(6848);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},1407:(t,e,r)=>{var n=r(7322),o=r(7637),a=r(7573),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):a(t)}},8199:(t,e,r)=>{var n=r(1407),o=r(2981);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},9145:(t,e,r)=>{var n=r(7229),o=r(2981);t.exports=function t(e,r,a,s,i){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,a,s,t,i))}},7229:(t,e,r)=>{var n=r(3192),o=r(7632),a=r(1441),s=r(2340),i=r(4522),u=r(6848),c=r(5990),p=r(7196),f="[object Arguments]",l="[object Array]",v="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,_,b,y){var d=u(t),x=u(e),j=d?l:i(t),g=x?l:i(e),O=(j=j==f?v:j)==v,w=(g=g==f?v:g)==v,m=j==g;if(m&&c(t)){if(!c(e))return!1;d=!0,O=!1}if(m&&!O)return y||(y=new n),d||p(t)?o(t,e,r,_,b,y):a(t,e,j,r,_,b,y);if(!(1&r)){var A=O&&h.call(t,"__wrapped__"),z=w&&h.call(e,"__wrapped__");if(A||z){var S=A?t.value():t,E=z?e.value():e;return y||(y=new n),b(S,E,r,_,y)}}return!!m&&(y||(y=new n),s(t,e,r,_,b,y))}},2791:(t,e,r)=>{var n=r(6998),o=r(193),a=r(4377),s=r(3443),i=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,f=c.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},6516:(t,e,r)=>{var n=r(1407),o=r(7875),a=r(2981),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!s[n(t)]}},3623:(t,e,r)=>{var n=r(598),o=r(5030),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},7679:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},3629:t=>{t.exports=function(t){return function(e){return t(e)}}},4706:t=>{t.exports=function(t,e){return t.has(e)}},8015:(t,e,r)=>{var n=r(6491)["__core-js_shared__"];t.exports=n},7632:(t,e,r)=>{var n=r(6092),o=r(5737),a=r(4706);t.exports=function(t,e,r,s,i,u){var c=1&r,p=t.length,f=e.length;if(p!=f&&!(c&&f>p))return!1;var l=u.get(t),v=u.get(e);if(l&&v)return l==e&&v==t;var h=-1,_=!0,b=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h<p;){var y=t[h],d=e[h];if(s)var x=c?s(d,y,h,e,t,u):s(y,d,h,t,e,u);if(void 0!==x){if(x)continue;_=!1;break}if(b){if(!o(e,(function(t,e){if(!a(b,e)&&(y===t||i(y,t,r,s,u)))return b.push(e)}))){_=!1;break}}else if(y!==d&&!i(y,d,r,s,u)){_=!1;break}}return u.delete(t),u.delete(e),_}},1441:(t,e,r)=>{var n=r(7322),o=r(6218),a=r(7470),s=r(7632),i=r(1264),u=r(9142),c=n?n.prototype:void 0,p=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,l){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var v=i;case"[object Set]":var h=1&n;if(v||(v=u),t.size!=e.size&&!h)return!1;var _=l.get(t);if(_)return _==e;n|=2,l.set(t,e);var b=s(v(t),v(e),n,c,f,l);return l.delete(t),b;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}},2340:(t,e,r)=>{var n=r(1221),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,s,i){var u=1&r,c=n(t),p=c.length;if(p!=n(e).length&&!u)return!1;for(var f=p;f--;){var l=c[f];if(!(u?l in e:o.call(e,l)))return!1}var v=i.get(t),h=i.get(e);if(v&&h)return v==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var b=u;++f<p;){var y=t[l=c[f]],d=e[l];if(a)var x=u?a(d,y,l,e,t,i):a(y,d,l,t,e,i);if(!(void 0===x?y===d||s(y,d,r,a,i):x)){_=!1;break}b||(b="constructor"==l)}if(_&&!b){var j=t.constructor,g=e.constructor;j==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof j&&j instanceof j&&"function"==typeof g&&g instanceof g||(_=!1)}return i.delete(t),i.delete(e),_}},3442:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},1221:(t,e,r)=>{var n=r(2678),o=r(6165),a=r(5533);t.exports=function(t){return n(t,a,o)}},3661:(t,e,r)=>{var n=r(9360);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},7451:(t,e,r)=>{var n=r(2791),o=r(9764);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7637:(t,e,r)=>{var n=r(7322),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},6165:(t,e,r)=>{var n=r(8040),o=r(470),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,i=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return a.call(t,e)})))}:o;t.exports=i},4522:(t,e,r)=>{var n=r(8634),o=r(9446),a=r(7418),s=r(2408),i=r(3335),u=r(1407),c=r(3443),p="[object Map]",f="[object Promise]",l="[object Set]",v="[object WeakMap]",h="[object DataView]",_=c(n),b=c(o),y=c(a),d=c(s),x=c(i),j=u;(n&&j(new n(new ArrayBuffer(1)))!=h||o&&j(new o)!=p||a&&j(a.resolve())!=f||s&&j(new s)!=l||i&&j(new i)!=v)&&(j=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case _:return h;case b:return p;case y:return f;case d:return l;case x:return v}return e}),t.exports=j},9764:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},770:(t,e,r)=>{var n=r(2919);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},1464:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1265:(t,e,r)=>{var n=r(2919),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},4008:(t,e,r)=>{var n=r(2919),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},8409:(t,e,r)=>{var n=r(2919);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},6045:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},9360:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},193:(t,e,r)=>{var n,o=r(8015),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},598:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},8924:t=>{t.exports=function(){this.__data__=[],this.size=0}},3775:(t,e,r)=>{var n=r(2622),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},2891:(t,e,r)=>{var n=r(2622);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4670:(t,e,r)=>{var n=r(2622);t.exports=function(t){return n(this.__data__,t)>-1}},3985:(t,e,r)=>{var n=r(2622);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},5089:(t,e,r)=>{var n=r(3871),o=r(602),a=r(9446);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},2523:(t,e,r)=>{var n=r(3661);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},3950:(t,e,r)=>{var n=r(3661);t.exports=function(t){return n(this,t).get(t)}},2369:(t,e,r)=>{var n=r(3661);t.exports=function(t){return n(this,t).has(t)}},6174:(t,e,r)=>{var n=r(3661);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1264:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},2919:(t,e,r)=>{var n=r(7451)(Object,"create");t.exports=n},5030:(t,e,r)=>{var n=r(2080)(Object.keys,Object);t.exports=n},2747:(t,e,r)=>{t=r.nmd(t);var n=r(3442),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o&&n.process,i=function(){try{return a&&a.require&&a.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=i},7573:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},2080:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6491:(t,e,r)=>{var n=r(3442),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();t.exports=a},3322:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},4103:t=>{t.exports=function(t){return this.__data__.has(t)}},9142:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},8562:(t,e,r)=>{var n=r(602);t.exports=function(){this.__data__=new n,this.size=0}},1723:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},8574:t=>{t.exports=function(t){return this.__data__.get(t)}},5235:t=>{t.exports=function(t){return this.__data__.has(t)}},4298:(t,e,r)=>{var n=r(602),o=r(9446),a=r(1341);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},3443:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7470:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},5137:(t,e,r)=>{var n=r(8199),o=r(2981),a=Object.prototype,s=a.hasOwnProperty,i=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!i.call(t,"callee")};t.exports=u},6848:t=>{var e=Array.isArray;t.exports=e},4106:(t,e,r)=>{var n=r(6998),o=r(7875);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},5990:(t,e,r)=>{t=r.nmd(t);var n=r(6491),o=r(2871),a=e&&!e.nodeType&&e,s=a&&t&&!t.nodeType&&t,i=s&&s.exports===a?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||o;t.exports=u},1710:(t,e,r)=>{var n=r(9145);t.exports=function(t,e){return n(t,e)}},6998:(t,e,r)=>{var n=r(1407),o=r(4377);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},7875:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},4377:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2981:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},7196:(t,e,r)=>{var n=r(6516),o=r(3629),a=r(2747),s=a&&a.isTypedArray,i=s?o(s):n;t.exports=i},5533:(t,e,r)=>{var n=r(6221),o=r(3623),a=r(4106);t.exports=function(t){return a(t)?n(t):o(t)}},470:t=>{t.exports=function(){return[]}},2871:t=>{t.exports=function(){return!1}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={id:t,loaded:!1,exports:{}};return e[t](a,a.exports,n),a.loaded=!0,a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};(()=>{n.d(o,{j:()=>u,k:()=>c});var e=n(1710),r=n.n(e);const a=(s={useEffect:()=>t.useEffect,useMemo:()=>t.useMemo,useRef:()=>t.useRef,useState:()=>t.useState},i={},n.d(i,s),i);var s,i;function u(t,e,n={equals:r()}){const{debugName:o,equals:s}=n,i=(0,a.useRef)(e);i.current=e;const u=(0,a.useRef)({reaction:f,engine:void 0}),[,c]=(0,a.useState)(0);if(u.current.engine!==t)if(t){const e=t.reactor.createReaction(o);u.current={reaction:e,engine:t}}else u.current={reaction:f,engine:t};const p=u.current.reaction,l=(0,a.useMemo)((()=>{const e=()=>(0,i.current)(t);return function(t,e){if(!e)return t;let r;return(...n)=>{const o=t(...n);return e(o,r)||(r=o),r}}((()=>p.track(e)),s)}),[p,s,t]),v=l();return(0,a.useEffect)((()=>p.subscribe((function(){c((t=>t+1))}))),[p]),v}function c(t,e){const r=null==e?void 0:e.debugName,n=null==e?void 0:e.useEngine;let o=0;function s(e,...s){var i,c;const f=null!==(i=null==n?void 0:n())&&void 0!==i?i:e.engine,l=(0,a.useRef)();return void 0===l.current&&null!=r&&(l.current=r+o++),null!==(c=u(f,t.bind(void 0,Object.assign(Object.assign({},e),{engine:f}),...s),{debugName:l.current,equals:p}))&&void 0!==c?c:null}return s.displayName=`withEngine(${t.displayName||t.name})`,s}const p=(t,e)=>t===e,f={track:t=>t(),subscribe:()=>function(){}}})();var a=o.j,s=o.k;export{a as useEngineSelector,s as withEngine};
|
|
1
|
+
import*as t from"react";var e={8634:(t,e,r)=>{var n=r(7451)(r(6491),"DataView");t.exports=n},3871:(t,e,r)=>{var n=r(770),o=r(1464),a=r(1265),s=r(4008),i=r(8409);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},602:(t,e,r)=>{var n=r(8924),o=r(3775),a=r(2891),s=r(4670),i=r(3985);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},9446:(t,e,r)=>{var n=r(7451)(r(6491),"Map");t.exports=n},1341:(t,e,r)=>{var n=r(5089),o=r(2523),a=r(3950),s=r(2369),i=r(6174);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=i,t.exports=u},7418:(t,e,r)=>{var n=r(7451)(r(6491),"Promise");t.exports=n},2408:(t,e,r)=>{var n=r(7451)(r(6491),"Set");t.exports=n},6092:(t,e,r)=>{var n=r(1341),o=r(3322),a=r(4103);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=a,t.exports=s},3192:(t,e,r)=>{var n=r(602),o=r(8562),a=r(1723),s=r(8574),i=r(5235),u=r(4298);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=s,c.prototype.has=i,c.prototype.set=u,t.exports=c},7322:(t,e,r)=>{var n=r(6491).Symbol;t.exports=n},6218:(t,e,r)=>{var n=r(6491).Uint8Array;t.exports=n},3335:(t,e,r)=>{var n=r(7451)(r(6491),"WeakMap");t.exports=n},8040:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var s=t[r];e(s,r,t)&&(a[o++]=s)}return a}},6221:(t,e,r)=>{var n=r(7679),o=r(5137),a=r(6848),s=r(5990),i=r(6045),u=r(7196),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),p=!r&&o(t),f=!r&&!p&&s(t),l=!r&&!p&&!f&&u(t),v=r||p||f||l,h=v?n(t.length,String):[],_=h.length;for(var b in t)!e&&!c.call(t,b)||v&&("length"==b||f&&("offset"==b||"parent"==b)||l&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||i(b,_))||h.push(b);return h}},1458:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},5737:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2622:(t,e,r)=>{var n=r(7470);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},2678:(t,e,r)=>{var n=r(1458),o=r(6848);t.exports=function(t,e,r){var a=e(t);return o(t)?a:n(a,r(t))}},1407:(t,e,r)=>{var n=r(7322),o=r(7637),a=r(7573),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):a(t)}},8199:(t,e,r)=>{var n=r(1407),o=r(2981);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},9145:(t,e,r)=>{var n=r(7229),o=r(2981);t.exports=function t(e,r,a,s,i){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,a,s,t,i))}},7229:(t,e,r)=>{var n=r(3192),o=r(7632),a=r(1441),s=r(2340),i=r(4522),u=r(6848),c=r(5990),p=r(7196),f="[object Arguments]",l="[object Array]",v="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,_,b,y){var d=u(t),x=u(e),j=d?l:i(t),g=x?l:i(e),O=(j=j==f?v:j)==v,w=(g=g==f?v:g)==v,m=j==g;if(m&&c(t)){if(!c(e))return!1;d=!0,O=!1}if(m&&!O)return y||(y=new n),d||p(t)?o(t,e,r,_,b,y):a(t,e,j,r,_,b,y);if(!(1&r)){var A=O&&h.call(t,"__wrapped__"),z=w&&h.call(e,"__wrapped__");if(A||z){var S=A?t.value():t,E=z?e.value():e;return y||(y=new n),b(S,E,r,_,y)}}return!!m&&(y||(y=new n),s(t,e,r,_,b,y))}},2791:(t,e,r)=>{var n=r(6998),o=r(193),a=r(4377),s=r(3443),i=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,f=c.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(n(t)?l:i).test(s(t))}},6516:(t,e,r)=>{var n=r(1407),o=r(7875),a=r(2981),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!s[n(t)]}},3623:(t,e,r)=>{var n=r(598),o=r(5030),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},7679:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},3629:t=>{t.exports=function(t){return function(e){return t(e)}}},4706:t=>{t.exports=function(t,e){return t.has(e)}},8015:(t,e,r)=>{var n=r(6491)["__core-js_shared__"];t.exports=n},7632:(t,e,r)=>{var n=r(6092),o=r(5737),a=r(4706);t.exports=function(t,e,r,s,i,u){var c=1&r,p=t.length,f=e.length;if(p!=f&&!(c&&f>p))return!1;var l=u.get(t),v=u.get(e);if(l&&v)return l==e&&v==t;var h=-1,_=!0,b=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h<p;){var y=t[h],d=e[h];if(s)var x=c?s(d,y,h,e,t,u):s(y,d,h,t,e,u);if(void 0!==x){if(x)continue;_=!1;break}if(b){if(!o(e,(function(t,e){if(!a(b,e)&&(y===t||i(y,t,r,s,u)))return b.push(e)}))){_=!1;break}}else if(y!==d&&!i(y,d,r,s,u)){_=!1;break}}return u.delete(t),u.delete(e),_}},1441:(t,e,r)=>{var n=r(7322),o=r(6218),a=r(7470),s=r(7632),i=r(1264),u=r(9142),c=n?n.prototype:void 0,p=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,l){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var v=i;case"[object Set]":var h=1&n;if(v||(v=u),t.size!=e.size&&!h)return!1;var _=l.get(t);if(_)return _==e;n|=2,l.set(t,e);var b=s(v(t),v(e),n,c,f,l);return l.delete(t),b;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}},2340:(t,e,r)=>{var n=r(1221),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,s,i){var u=1&r,c=n(t),p=c.length;if(p!=n(e).length&&!u)return!1;for(var f=p;f--;){var l=c[f];if(!(u?l in e:o.call(e,l)))return!1}var v=i.get(t),h=i.get(e);if(v&&h)return v==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var b=u;++f<p;){var y=t[l=c[f]],d=e[l];if(a)var x=u?a(d,y,l,e,t,i):a(y,d,l,t,e,i);if(!(void 0===x?y===d||s(y,d,r,a,i):x)){_=!1;break}b||(b="constructor"==l)}if(_&&!b){var j=t.constructor,g=e.constructor;j==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof j&&j instanceof j&&"function"==typeof g&&g instanceof g||(_=!1)}return i.delete(t),i.delete(e),_}},3442:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},1221:(t,e,r)=>{var n=r(2678),o=r(6165),a=r(5533);t.exports=function(t){return n(t,a,o)}},3661:(t,e,r)=>{var n=r(9360);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},7451:(t,e,r)=>{var n=r(2791),o=r(9764);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},7637:(t,e,r)=>{var n=r(7322),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,i=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,i),r=t[i];try{t[i]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[i]=r:delete t[i]),o}},6165:(t,e,r)=>{var n=r(8040),o=r(470),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,i=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return a.call(t,e)})))}:o;t.exports=i},4522:(t,e,r)=>{var n=r(8634),o=r(9446),a=r(7418),s=r(2408),i=r(3335),u=r(1407),c=r(3443),p="[object Map]",f="[object Promise]",l="[object Set]",v="[object WeakMap]",h="[object DataView]",_=c(n),b=c(o),y=c(a),d=c(s),x=c(i),j=u;(n&&j(new n(new ArrayBuffer(1)))!=h||o&&j(new o)!=p||a&&j(a.resolve())!=f||s&&j(new s)!=l||i&&j(new i)!=v)&&(j=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case _:return h;case b:return p;case y:return f;case d:return l;case x:return v}return e}),t.exports=j},9764:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},770:(t,e,r)=>{var n=r(2919);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},1464:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1265:(t,e,r)=>{var n=r(2919),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},4008:(t,e,r)=>{var n=r(2919),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},8409:(t,e,r)=>{var n=r(2919);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},6045:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},9360:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},193:(t,e,r)=>{var n,o=r(8015),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!a&&a in t}},598:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},8924:t=>{t.exports=function(){this.__data__=[],this.size=0}},3775:(t,e,r)=>{var n=r(2622),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},2891:(t,e,r)=>{var n=r(2622);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4670:(t,e,r)=>{var n=r(2622);t.exports=function(t){return n(this.__data__,t)>-1}},3985:(t,e,r)=>{var n=r(2622);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},5089:(t,e,r)=>{var n=r(3871),o=r(602),a=r(9446);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},2523:(t,e,r)=>{var n=r(3661);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},3950:(t,e,r)=>{var n=r(3661);t.exports=function(t){return n(this,t).get(t)}},2369:(t,e,r)=>{var n=r(3661);t.exports=function(t){return n(this,t).has(t)}},6174:(t,e,r)=>{var n=r(3661);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},1264:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},2919:(t,e,r)=>{var n=r(7451)(Object,"create");t.exports=n},5030:(t,e,r)=>{var n=r(2080)(Object.keys,Object);t.exports=n},2747:(t,e,r)=>{t=r.nmd(t);var n=r(3442),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o&&n.process,i=function(){try{return a&&a.require&&a.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=i},7573:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},2080:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},6491:(t,e,r)=>{var n=r(3442),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();t.exports=a},3322:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},4103:t=>{t.exports=function(t){return this.__data__.has(t)}},9142:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},8562:(t,e,r)=>{var n=r(602);t.exports=function(){this.__data__=new n,this.size=0}},1723:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},8574:t=>{t.exports=function(t){return this.__data__.get(t)}},5235:t=>{t.exports=function(t){return this.__data__.has(t)}},4298:(t,e,r)=>{var n=r(602),o=r(9446),a=r(1341);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},3443:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7470:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},5137:(t,e,r)=>{var n=r(8199),o=r(2981),a=Object.prototype,s=a.hasOwnProperty,i=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!i.call(t,"callee")};t.exports=u},6848:t=>{var e=Array.isArray;t.exports=e},4106:(t,e,r)=>{var n=r(6998),o=r(7875);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},5990:(t,e,r)=>{t=r.nmd(t);var n=r(6491),o=r(2871),a=e&&!e.nodeType&&e,s=a&&t&&!t.nodeType&&t,i=s&&s.exports===a?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||o;t.exports=u},1710:(t,e,r)=>{var n=r(9145);t.exports=function(t,e){return n(t,e)}},6998:(t,e,r)=>{var n=r(1407),o=r(4377);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},7875:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},4377:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2981:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},7196:(t,e,r)=>{var n=r(6516),o=r(3629),a=r(2747),s=a&&a.isTypedArray,i=s?o(s):n;t.exports=i},5533:(t,e,r)=>{var n=r(6221),o=r(3623),a=r(4106);t.exports=function(t){return a(t)?n(t):o(t)}},470:t=>{t.exports=function(){return[]}},2871:t=>{t.exports=function(){return!1}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={id:t,loaded:!1,exports:{}};return e[t](a,a.exports,n),a.loaded=!0,a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};(()=>{n.d(o,{j:()=>u,k:()=>c});var e=n(1710),r=n.n(e);const a=(s={useEffect:()=>t.useEffect,useMemo:()=>t.useMemo,useRef:()=>t.useRef,useState:()=>t.useState},i={},n.d(i,s),i);var s,i;function u(t,e,n={equals:r()}){const{debugName:o,equals:s}=n,i=(0,a.useRef)(e);i.current=e;const u=(0,a.useRef)({reaction:f,engine:void 0}),[,c]=(0,a.useState)(0);if(u.current.engine!==t)if(t){const e=t.reactor.createReaction(o);u.current={reaction:e,engine:t}}else u.current={reaction:f,engine:t};const p=u.current.reaction,l=(0,a.useMemo)((()=>{const e=()=>(0,i.current)(t);return function(t,e){if(!e)return t;let r;return(...n)=>{const o=t(...n);return e(o,r)||(r=o),r}}((()=>p.track(e)),s)}),[p,s,t]),v=l();return(0,a.useEffect)((()=>p.subscribe((function(){c((t=>t+1))}))),[p]),v}function c(t,e){const r=null==e?void 0:e.debugName,n=null==e?void 0:e.useEngine;let o=0;function s(e,s,...i){var c,f;const l=null!==(c=null==n?void 0:n())&&void 0!==c?c:e.engine,v=(0,a.useRef)();return void 0===v.current&&null!=r&&(v.current=r+o++),null!==(f=u(l,t.bind(void 0,Object.assign(Object.assign({},e),{engine:l}),s,...i),{debugName:v.current,equals:p}))&&void 0!==f?f:null}return s.displayName=`withEngine(${t.displayName||t.name})`,s}const p=(t,e)=>t===e,f={track:t=>t(),subscribe:()=>function(){}}})();var a=o.j,s=o.k;export{a as useEngineSelector,s as withEngine};
|
package/package.json
CHANGED
|
File without changes
|