fix: vite
This commit is contained in:
35
node_modules/.vite/deps/chunk-MAVRAI4X.js
generated
vendored
Normal file
35
node_modules/.vite/deps/chunk-MAVRAI4X.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import {
|
||||
createSubscriber
|
||||
} from "./chunk-QKODC7H5.js";
|
||||
import {
|
||||
__privateAdd,
|
||||
__privateGet,
|
||||
__privateSet
|
||||
} from "./chunk-UGBVNEQM.js";
|
||||
|
||||
// node_modules/svelte/src/reactivity/reactive-value.js
|
||||
var _fn, _subscribe;
|
||||
var ReactiveValue = class {
|
||||
/**
|
||||
*
|
||||
* @param {() => T} fn
|
||||
* @param {(update: () => void) => void} onsubscribe
|
||||
*/
|
||||
constructor(fn, onsubscribe) {
|
||||
__privateAdd(this, _fn);
|
||||
__privateAdd(this, _subscribe);
|
||||
__privateSet(this, _fn, fn);
|
||||
__privateSet(this, _subscribe, createSubscriber(onsubscribe));
|
||||
}
|
||||
get current() {
|
||||
__privateGet(this, _subscribe).call(this);
|
||||
return __privateGet(this, _fn).call(this);
|
||||
}
|
||||
};
|
||||
_fn = new WeakMap();
|
||||
_subscribe = new WeakMap();
|
||||
|
||||
export {
|
||||
ReactiveValue
|
||||
};
|
||||
//# sourceMappingURL=chunk-MAVRAI4X.js.map
|
||||
Reference in New Issue
Block a user