@pie-element/venn-classification 0.1.1-next.15 → 0.1.1-next.16
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/dist/author/index.js +153 -148
- package/dist/author/index.js.map +1 -1
- package/dist/browser/{VennClassification-Dk8fAui3.js → VennClassification-BPq_DgNM.js} +828 -813
- package/dist/browser/VennClassification-BPq_DgNM.js.map +1 -0
- package/dist/browser/author/index.js +1 -1
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{VennClassification-Dk8fAui3.js → VennClassification-BPq_DgNM.js} +828 -813
- package/dist/browser/editor-runtime/VennClassification-BPq_DgNM.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +1 -1
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/delivery/index.js +152 -147
- package/dist/delivery/index.js.map +1 -1
- package/dist/index.iife.js +6 -6
- package/package.json +1 -1
- package/dist/browser/VennClassification-Dk8fAui3.js.map +0 -1
- package/dist/browser/editor-runtime/VennClassification-Dk8fAui3.js.map +0 -1
package/dist/author/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
1
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/disclose-version.js
|
|
2
2
|
if (typeof window !== "undefined") {
|
|
3
3
|
var _window$__svelte, _window;
|
|
4
4
|
((_window$__svelte = (_window = window).__svelte ?? (_window.__svelte = {})).v ?? (_window$__svelte.v = /* @__PURE__ */ new Set())).add("5");
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
7
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/constants.js
|
|
8
8
|
var HYDRATION_ERROR = {};
|
|
9
9
|
var UNINITIALIZED = Symbol("uninitialized");
|
|
10
10
|
var NAMESPACE_SVG = "http://www.w3.org/2000/svg";
|
|
11
11
|
var NAMESPACE_MATHML = "http://www.w3.org/1998/Math/MathML";
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
13
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/shared/utils.js
|
|
14
14
|
var is_array = Array.isArray;
|
|
15
15
|
var index_of = Array.prototype.indexOf;
|
|
16
16
|
var includes = Array.prototype.includes;
|
|
@@ -121,13 +121,6 @@ var EFFECT_TRANSPARENT = 65536;
|
|
|
121
121
|
var EFFECT_PRESERVED = 1 << 19;
|
|
122
122
|
var USER_EFFECT = 1 << 20;
|
|
123
123
|
var EFFECT_OFFSCREEN = 1 << 25;
|
|
124
|
-
/**
|
|
125
|
-
* Tells that we marked this derived and its reactions as visited during the "mark as (maybe) dirty"-phase.
|
|
126
|
-
* Will be lifted during execution of the derived and during checking its dirty state (both are necessary
|
|
127
|
-
* because a derived might be checked but not executed). This is a pure performance optimization flag and
|
|
128
|
-
* should not be used for any other purpose!
|
|
129
|
-
*/
|
|
130
|
-
var WAS_MARKED = 65536;
|
|
131
124
|
var REACTION_IS_UPDATING = 1 << 21;
|
|
132
125
|
var ASYNC = 1 << 22;
|
|
133
126
|
var ERROR_VALUE = 1 << 23;
|
|
@@ -170,7 +163,7 @@ function svelte_boundary_reset_noop() {
|
|
|
170
163
|
console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
|
|
171
164
|
}
|
|
172
165
|
//#endregion
|
|
173
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
166
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/hydration.js
|
|
174
167
|
/** @import { TemplateNode } from '#client' */
|
|
175
168
|
/**
|
|
176
169
|
* Use this variable to guard everything related to hydration code so it can be treeshaken out
|
|
@@ -249,7 +242,7 @@ function read_hydration_instruction(node) {
|
|
|
249
242
|
return node.data;
|
|
250
243
|
}
|
|
251
244
|
//#endregion
|
|
252
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
245
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/equality.js
|
|
253
246
|
/** @import { Equals } from '#client' */
|
|
254
247
|
/** @type {Equals} */
|
|
255
248
|
function equals(value) {
|
|
@@ -276,7 +269,7 @@ function lifecycle_outside_component(name) {
|
|
|
276
269
|
throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
|
|
277
270
|
}
|
|
278
271
|
//#endregion
|
|
279
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
272
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/errors.js
|
|
280
273
|
/**
|
|
281
274
|
* Cannot create a `$derived(...)` with an `await` expression outside of an effect tree
|
|
282
275
|
* @returns {never}
|
|
@@ -368,13 +361,13 @@ function svelte_boundary_reset_onerror() {
|
|
|
368
361
|
throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
|
|
369
362
|
}
|
|
370
363
|
//#endregion
|
|
371
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
364
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/flags/index.js
|
|
372
365
|
/** True if experimental.async=true */
|
|
373
366
|
var async_mode_flag = false;
|
|
374
367
|
/** True if we're not certain that we only have Svelte 5 code in the compilation */
|
|
375
368
|
var legacy_mode_flag = false;
|
|
376
369
|
//#endregion
|
|
377
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
370
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/context.js
|
|
378
371
|
/** @import { ComponentContext, DevStackEntry, Effect } from '#client' */
|
|
379
372
|
/** @type {ComponentContext | null} */
|
|
380
373
|
var component_context = null;
|
|
@@ -434,7 +427,7 @@ function is_runes() {
|
|
|
434
427
|
return !legacy_mode_flag || component_context !== null && component_context.l === null;
|
|
435
428
|
}
|
|
436
429
|
//#endregion
|
|
437
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
430
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/task.js
|
|
438
431
|
/** @type {Array<() => void>} */
|
|
439
432
|
var micro_tasks = [];
|
|
440
433
|
function run_micro_tasks() {
|
|
@@ -461,7 +454,7 @@ function flush_tasks() {
|
|
|
461
454
|
while (micro_tasks.length > 0) run_micro_tasks();
|
|
462
455
|
}
|
|
463
456
|
//#endregion
|
|
464
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
457
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/status.js
|
|
465
458
|
/** @import { Derived, Signal } from '#client' */
|
|
466
459
|
var STATUS_MASK = ~(DIRTY | MAYBE_DIRTY | CLEAN);
|
|
467
460
|
/**
|
|
@@ -480,22 +473,8 @@ function update_derived_status(derived) {
|
|
|
480
473
|
else set_signal_status(derived, MAYBE_DIRTY);
|
|
481
474
|
}
|
|
482
475
|
//#endregion
|
|
483
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
484
|
-
/** @import {
|
|
485
|
-
/**
|
|
486
|
-
* @param {Value[] | null} deps
|
|
487
|
-
*/
|
|
488
|
-
function clear_marked(deps) {
|
|
489
|
-
if (deps === null) return;
|
|
490
|
-
for (const dep of deps) {
|
|
491
|
-
if ((dep.f & 2) === 0 || (dep.f & 65536) === 0) continue;
|
|
492
|
-
dep.f ^= WAS_MARKED;
|
|
493
|
-
clear_marked(
|
|
494
|
-
/** @type {Derived} */
|
|
495
|
-
dep.deps
|
|
496
|
-
);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
476
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/utils.js
|
|
477
|
+
/** @import { Effect } from '#client' */
|
|
499
478
|
/**
|
|
500
479
|
* @param {Effect} effect
|
|
501
480
|
* @param {Set<Effect>} dirty_effects
|
|
@@ -504,41 +483,10 @@ function clear_marked(deps) {
|
|
|
504
483
|
function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
|
|
505
484
|
if ((effect.f & 2048) !== 0) dirty_effects.add(effect);
|
|
506
485
|
else if ((effect.f & 4096) !== 0) maybe_dirty_effects.add(effect);
|
|
507
|
-
clear_marked(effect.deps);
|
|
508
486
|
set_signal_status(effect, CLEAN);
|
|
509
487
|
}
|
|
510
488
|
//#endregion
|
|
511
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
512
|
-
/**
|
|
513
|
-
* We set this to `true` when updating a store so that we correctly
|
|
514
|
-
* schedule effects if the update takes place inside a `$:` effect
|
|
515
|
-
*/
|
|
516
|
-
var legacy_is_updating_store = false;
|
|
517
|
-
/**
|
|
518
|
-
* Whether or not the prop currently being read is a store binding, as in
|
|
519
|
-
* `<Child bind:x={$y} />`. If it is, we treat the prop as mutable even in
|
|
520
|
-
* runes mode, and skip `binding_property_non_reactive` validation
|
|
521
|
-
*/
|
|
522
|
-
var is_store_binding = false;
|
|
523
|
-
/**
|
|
524
|
-
* Returns a tuple that indicates whether `fn()` reads a prop that is a store binding.
|
|
525
|
-
* Used to prevent `binding_property_non_reactive` validation false positives and
|
|
526
|
-
* ensure that these props are treated as mutable even in runes mode
|
|
527
|
-
* @template T
|
|
528
|
-
* @param {() => T} fn
|
|
529
|
-
* @returns {[T, boolean]}
|
|
530
|
-
*/
|
|
531
|
-
function capture_store_binding(fn) {
|
|
532
|
-
var previous_is_store_binding = is_store_binding;
|
|
533
|
-
try {
|
|
534
|
-
is_store_binding = false;
|
|
535
|
-
return [fn(), is_store_binding];
|
|
536
|
-
} finally {
|
|
537
|
-
is_store_binding = previous_is_store_binding;
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
//#endregion
|
|
541
|
-
//#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/elements/misc.js
|
|
489
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/misc.js
|
|
542
490
|
var listening_to_form_reset = false;
|
|
543
491
|
function add_form_reset_listener() {
|
|
544
492
|
if (!listening_to_form_reset) {
|
|
@@ -552,7 +500,7 @@ function add_form_reset_listener() {
|
|
|
552
500
|
}
|
|
553
501
|
}
|
|
554
502
|
//#endregion
|
|
555
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
503
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
|
|
556
504
|
/**
|
|
557
505
|
* @template T
|
|
558
506
|
* @param {() => T} fn
|
|
@@ -570,7 +518,7 @@ function without_reactive_context(fn) {
|
|
|
570
518
|
}
|
|
571
519
|
}
|
|
572
520
|
//#endregion
|
|
573
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
521
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/async.js
|
|
574
522
|
/** @import { Blocker, Effect, Source, Value } from '#client' */
|
|
575
523
|
/**
|
|
576
524
|
* @param {Blocker[]} blockers
|
|
@@ -803,7 +751,6 @@ function execute_derived(derived) {
|
|
|
803
751
|
}
|
|
804
752
|
set_active_effect(parent);
|
|
805
753
|
try {
|
|
806
|
-
derived.f &= ~WAS_MARKED;
|
|
807
754
|
destroy_derived_effects(derived);
|
|
808
755
|
value = update_reaction(derived);
|
|
809
756
|
} finally {
|
|
@@ -890,7 +837,7 @@ function _classPrivateFieldGet2(s, a) {
|
|
|
890
837
|
return s.get(_assertClassBrand(s, a));
|
|
891
838
|
}
|
|
892
839
|
//#endregion
|
|
893
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
840
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/batch.js
|
|
894
841
|
/** @import { Fork } from 'svelte' */
|
|
895
842
|
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
|
|
896
843
|
var _Batch;
|
|
@@ -941,7 +888,7 @@ var _discard_callbacks = /* @__PURE__ */ new WeakMap();
|
|
|
941
888
|
var _pending = /* @__PURE__ */ new WeakMap();
|
|
942
889
|
var _blocking_pending = /* @__PURE__ */ new WeakMap();
|
|
943
890
|
var _deferred = /* @__PURE__ */ new WeakMap();
|
|
944
|
-
var
|
|
891
|
+
var _scheduled = /* @__PURE__ */ new WeakMap();
|
|
945
892
|
var _new_effects = /* @__PURE__ */ new WeakMap();
|
|
946
893
|
var _dirty_effects$1 = /* @__PURE__ */ new WeakMap();
|
|
947
894
|
var _maybe_dirty_effects$1 = /* @__PURE__ */ new WeakMap();
|
|
@@ -989,7 +936,7 @@ var Batch = class Batch {
|
|
|
989
936
|
_classPrivateFieldInitSpec(this, _pending, 0);
|
|
990
937
|
_classPrivateFieldInitSpec(this, _blocking_pending, /* @__PURE__ */ new Map());
|
|
991
938
|
_classPrivateFieldInitSpec(this, _deferred, null);
|
|
992
|
-
_classPrivateFieldInitSpec(this,
|
|
939
|
+
_classPrivateFieldInitSpec(this, _scheduled, []);
|
|
993
940
|
_classPrivateFieldInitSpec(this, _new_effects, []);
|
|
994
941
|
_classPrivateFieldInitSpec(this, _dirty_effects$1, /* @__PURE__ */ new Set());
|
|
995
942
|
_classPrivateFieldInitSpec(this, _maybe_dirty_effects$1, /* @__PURE__ */ new Set());
|
|
@@ -1178,20 +1125,7 @@ var Batch = class Batch {
|
|
|
1178
1125
|
effect.b.defer_effect(effect);
|
|
1179
1126
|
return;
|
|
1180
1127
|
}
|
|
1181
|
-
|
|
1182
|
-
while (e.parent !== null) {
|
|
1183
|
-
e = e.parent;
|
|
1184
|
-
var flags = e.f;
|
|
1185
|
-
if (collected_effects !== null && e === active_effect) {
|
|
1186
|
-
if (async_mode_flag) return;
|
|
1187
|
-
if ((active_reaction === null || (active_reaction.f & 2) === 0) && !legacy_is_updating_store) return;
|
|
1188
|
-
}
|
|
1189
|
-
if ((flags & 96) !== 0) {
|
|
1190
|
-
if ((flags & 1024) === 0) return;
|
|
1191
|
-
e.f ^= CLEAN;
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
_classPrivateFieldGet2(_roots, this).push(e);
|
|
1128
|
+
_classPrivateFieldGet2(_scheduled, this).push(effect);
|
|
1195
1129
|
}
|
|
1196
1130
|
};
|
|
1197
1131
|
_Batch = Batch;
|
|
@@ -1211,12 +1145,40 @@ function _is_deferred() {
|
|
|
1211
1145
|
}
|
|
1212
1146
|
return false;
|
|
1213
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
* Convert the effects that were scheduled in this batch into the root effects
|
|
1150
|
+
* that need to be traversed, marking the path to each effect (by clearing the
|
|
1151
|
+
* `CLEAN` flag on ancestor branches) so that the traversal can find them.
|
|
1152
|
+
* This happens right before traversal rather than at scheduling time, so that
|
|
1153
|
+
* the markers left on the (shared) effect tree are created and consumed within
|
|
1154
|
+
* a single traversal — scheduling into other batches can never observe them
|
|
1155
|
+
* @returns {Effect[]}
|
|
1156
|
+
*/
|
|
1157
|
+
function _resolve$1() {
|
|
1158
|
+
/** @type {Effect[]} */
|
|
1159
|
+
var roots = [];
|
|
1160
|
+
for (const effect of _classPrivateFieldGet2(_scheduled, this)) {
|
|
1161
|
+
if ((effect.f & 16384) !== 0 || (effect.f & 6144) === 0) continue;
|
|
1162
|
+
var e = effect;
|
|
1163
|
+
var covered = false;
|
|
1164
|
+
while (e.parent !== null) {
|
|
1165
|
+
e = e.parent;
|
|
1166
|
+
var flags = e.f;
|
|
1167
|
+
if ((flags & 96) !== 0) {
|
|
1168
|
+
if ((flags & 1024) === 0) {
|
|
1169
|
+
covered = true;
|
|
1170
|
+
break;
|
|
1171
|
+
}
|
|
1172
|
+
e.f ^= CLEAN;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
if (!covered) roots.push(e);
|
|
1176
|
+
}
|
|
1177
|
+
_classPrivateFieldSet2(_scheduled, this, []);
|
|
1178
|
+
return roots;
|
|
1179
|
+
}
|
|
1214
1180
|
function _process() {
|
|
1215
1181
|
_classPrivateFieldSet2(_started, this, true);
|
|
1216
|
-
if (flush_count++ > 1e3) {
|
|
1217
|
-
_assertClassBrand(_Batch_brand, this, _unlink).call(this);
|
|
1218
|
-
infinite_loop_guard();
|
|
1219
|
-
}
|
|
1220
1182
|
for (const e of _classPrivateFieldGet2(_dirty_effects$1, this)) {
|
|
1221
1183
|
_classPrivateFieldGet2(_maybe_dirty_effects$1, this).delete(e);
|
|
1222
1184
|
set_signal_status(e, DIRTY);
|
|
@@ -1226,8 +1188,6 @@ function _process() {
|
|
|
1226
1188
|
set_signal_status(e, MAYBE_DIRTY);
|
|
1227
1189
|
this.schedule(e);
|
|
1228
1190
|
}
|
|
1229
|
-
const roots = _classPrivateFieldGet2(_roots, this);
|
|
1230
|
-
_classPrivateFieldSet2(_roots, this, []);
|
|
1231
1191
|
this.apply();
|
|
1232
1192
|
/** @type {Effect[]} */
|
|
1233
1193
|
var effects = collected_effects = [];
|
|
@@ -1238,12 +1198,18 @@ function _process() {
|
|
|
1238
1198
|
* @deprecated when we get rid of legacy mode and stores, we can get rid of this
|
|
1239
1199
|
*/
|
|
1240
1200
|
var updates = legacy_updates = [];
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1201
|
+
while (_classPrivateFieldGet2(_scheduled, this).length > 0) {
|
|
1202
|
+
if (flush_count++ > 1e3) {
|
|
1203
|
+
_assertClassBrand(_Batch_brand, this, _unlink).call(this);
|
|
1204
|
+
infinite_loop_guard();
|
|
1205
|
+
}
|
|
1206
|
+
for (const root of _assertClassBrand(_Batch_brand, this, _resolve$1).call(this)) try {
|
|
1207
|
+
_assertClassBrand(_Batch_brand, this, _traverse).call(this, root, effects, render_effects);
|
|
1208
|
+
} catch (e) {
|
|
1209
|
+
reset_all(root);
|
|
1210
|
+
if (!_assertClassBrand(_Batch_brand, this, _is_deferred).call(this)) this.discard();
|
|
1211
|
+
throw e;
|
|
1212
|
+
}
|
|
1247
1213
|
}
|
|
1248
1214
|
current_batch = null;
|
|
1249
1215
|
if (updates.length > 0) {
|
|
@@ -1277,16 +1243,16 @@ function _process() {
|
|
|
1277
1243
|
previous_batch = null;
|
|
1278
1244
|
_classPrivateFieldGet2(_deferred, this)?.resolve();
|
|
1279
1245
|
var next_batch = current_batch;
|
|
1280
|
-
if (_classPrivateFieldGet2(_pending, this) === 0 && (_classPrivateFieldGet2(
|
|
1246
|
+
if (_classPrivateFieldGet2(_pending, this) === 0 && (_classPrivateFieldGet2(_scheduled, this).length === 0 || next_batch !== null)) {
|
|
1281
1247
|
_assertClassBrand(_Batch_brand, this, _unlink).call(this);
|
|
1282
1248
|
if (async_mode_flag) {
|
|
1283
1249
|
_assertClassBrand(_Batch_brand, this, _commit$1).call(this);
|
|
1284
1250
|
current_batch = next_batch;
|
|
1285
1251
|
}
|
|
1286
1252
|
}
|
|
1287
|
-
if (_classPrivateFieldGet2(
|
|
1288
|
-
const
|
|
1289
|
-
|
|
1253
|
+
if (_classPrivateFieldGet2(_scheduled, this).length > 0) if (next_batch !== null) {
|
|
1254
|
+
for (const e of _classPrivateFieldGet2(_scheduled, this)) _classPrivateFieldGet2(_scheduled, next_batch).push(e);
|
|
1255
|
+
_classPrivateFieldSet2(_scheduled, this, []);
|
|
1290
1256
|
} else next_batch = this;
|
|
1291
1257
|
if (next_batch !== null) {
|
|
1292
1258
|
old_values.clear();
|
|
@@ -1436,10 +1402,9 @@ function _commit$1() {
|
|
|
1436
1402
|
batch.schedule(effect);
|
|
1437
1403
|
} else _classPrivateFieldGet2(_dirty_effects$1, batch).add(effect);
|
|
1438
1404
|
}
|
|
1439
|
-
if (_classPrivateFieldGet2(
|
|
1405
|
+
if (_classPrivateFieldGet2(_scheduled, batch).length > 0 && !_classPrivateFieldGet2(_decrement_queued, batch)) {
|
|
1440
1406
|
batch.apply();
|
|
1441
|
-
for (var root of
|
|
1442
|
-
_classPrivateFieldSet2(_roots, batch, []);
|
|
1407
|
+
for (var root of _assertClassBrand(_Batch_brand, batch, _resolve$1).call(batch)) _assertClassBrand(_Batch_brand, batch, _traverse).call(batch, root, [], []);
|
|
1443
1408
|
}
|
|
1444
1409
|
batch.deactivate();
|
|
1445
1410
|
}
|
|
@@ -1606,7 +1571,7 @@ function reset_all(effect) {
|
|
|
1606
1571
|
}
|
|
1607
1572
|
}
|
|
1608
1573
|
//#endregion
|
|
1609
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
1574
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/sources.js
|
|
1610
1575
|
/** @import { Derived, Effect, Source, Value } from '#client' */
|
|
1611
1576
|
/** @type {Set<Effect>} */
|
|
1612
1577
|
var eager_effects = /* @__PURE__ */ new Set();
|
|
@@ -1668,6 +1633,16 @@ function set(source, value, should_proxy = false) {
|
|
|
1668
1633
|
return internal_set(source, should_proxy ? proxy(value) : value, legacy_updates);
|
|
1669
1634
|
}
|
|
1670
1635
|
/**
|
|
1636
|
+
* A set of signals we have already seen while traversing in mark_reactions.
|
|
1637
|
+
* Not always set to balance the common case of sources only having a couple
|
|
1638
|
+
* of (transitive) dependencies (where always creating a Set would be bad for perf)
|
|
1639
|
+
* with the edge case of extremely deep or wide dependency arrays with cycles.
|
|
1640
|
+
* @type {Set<any> | null}
|
|
1641
|
+
*/
|
|
1642
|
+
var seen = null;
|
|
1643
|
+
/** Number of transitive dependencies, see {@link seen} for more info */
|
|
1644
|
+
var count_deps = 0;
|
|
1645
|
+
/**
|
|
1671
1646
|
* @template V
|
|
1672
1647
|
* @param {Source<V>} source
|
|
1673
1648
|
* @param {V} value
|
|
@@ -1686,7 +1661,10 @@ function internal_set(source, value, updated_during_traversal = null) {
|
|
|
1686
1661
|
if (batch_values === null) update_derived_status(derived);
|
|
1687
1662
|
}
|
|
1688
1663
|
source.wv = increment_write_version();
|
|
1664
|
+
seen = null;
|
|
1665
|
+
count_deps = 0;
|
|
1689
1666
|
mark_reactions(source, DIRTY, updated_during_traversal);
|
|
1667
|
+
seen = null;
|
|
1690
1668
|
if (is_runes() && active_effect !== null && (active_effect.f & 1024) !== 0 && (active_effect.f & 96) === 0) if (untracked_writes === null) set_untracked_writes([source]);
|
|
1691
1669
|
else untracked_writes.push(source);
|
|
1692
1670
|
if (!batch.is_fork && eager_effects.size > 0 && !eager_effects_deferred) flush_eager_effects();
|
|
@@ -1725,6 +1703,12 @@ function mark_reactions(signal, status, updated_during_traversal) {
|
|
|
1725
1703
|
if (reactions === null) return;
|
|
1726
1704
|
var runes = is_runes();
|
|
1727
1705
|
var length = reactions.length;
|
|
1706
|
+
count_deps += length;
|
|
1707
|
+
if (count_deps > 1e5 && seen === null) seen = /* @__PURE__ */ new Set();
|
|
1708
|
+
if (seen !== null) {
|
|
1709
|
+
if (seen.has(signal)) return;
|
|
1710
|
+
seen.add(signal);
|
|
1711
|
+
}
|
|
1728
1712
|
for (var i = 0; i < length; i++) {
|
|
1729
1713
|
var reaction = reactions[i];
|
|
1730
1714
|
var flags = reaction.f;
|
|
@@ -1735,10 +1719,7 @@ function mark_reactions(signal, status, updated_during_traversal) {
|
|
|
1735
1719
|
else if ((flags & 2) !== 0) {
|
|
1736
1720
|
var derived = reaction;
|
|
1737
1721
|
batch_values?.delete(derived);
|
|
1738
|
-
|
|
1739
|
-
if (flags & 512 && (active_effect === null || (active_effect.f & 2097152) === 0)) reaction.f |= WAS_MARKED;
|
|
1740
|
-
mark_reactions(derived, MAYBE_DIRTY, updated_during_traversal);
|
|
1741
|
-
}
|
|
1722
|
+
mark_reactions(derived, MAYBE_DIRTY, updated_during_traversal);
|
|
1742
1723
|
} else if (not_dirty) {
|
|
1743
1724
|
var effect = reaction;
|
|
1744
1725
|
if ((flags & 16) !== 0 && eager_block_effects !== null) eager_block_effects.add(effect);
|
|
@@ -1826,14 +1807,14 @@ function proxy(value) {
|
|
|
1826
1807
|
return Reflect.get(target, prop, receiver);
|
|
1827
1808
|
},
|
|
1828
1809
|
getOwnPropertyDescriptor(target, prop) {
|
|
1810
|
+
this.has?.(target, prop);
|
|
1829
1811
|
var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
if (source !== void 0 && value !== UNINITIALIZED) return {
|
|
1812
|
+
var s = sources.get(prop);
|
|
1813
|
+
if (s !== void 0) {
|
|
1814
|
+
var value = get$1(s);
|
|
1815
|
+
if (value === UNINITIALIZED) return;
|
|
1816
|
+
if (descriptor && "value" in descriptor) descriptor.value = value;
|
|
1817
|
+
else return {
|
|
1837
1818
|
enumerable: true,
|
|
1838
1819
|
configurable: true,
|
|
1839
1820
|
value,
|
|
@@ -1906,7 +1887,7 @@ function proxy(value) {
|
|
|
1906
1887
|
});
|
|
1907
1888
|
}
|
|
1908
1889
|
//#endregion
|
|
1909
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
1890
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/operations.js
|
|
1910
1891
|
/** @import { Effect, TemplateNode } from '#client' */
|
|
1911
1892
|
/** @type {Window} */
|
|
1912
1893
|
var $window;
|
|
@@ -2131,7 +2112,7 @@ function invoke_error_boundary(error, effect) {
|
|
|
2131
2112
|
throw error;
|
|
2132
2113
|
}
|
|
2133
2114
|
//#endregion
|
|
2134
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
2115
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/effects.js
|
|
2135
2116
|
/** @import { Blocker, ComponentContext, ComponentContextLegacy, Derived, Effect, TemplateNode, TransitionManager } from '#client' */
|
|
2136
2117
|
/**
|
|
2137
2118
|
* @param {'$effect' | '$effect.pre' | '$inspect'} rune
|
|
@@ -2531,14 +2512,14 @@ function move_effect(effect, fragment) {
|
|
|
2531
2512
|
}
|
|
2532
2513
|
}
|
|
2533
2514
|
//#endregion
|
|
2534
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
2515
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/legacy.js
|
|
2535
2516
|
/**
|
|
2536
2517
|
* @type {Set<Value> | null}
|
|
2537
2518
|
* @deprecated
|
|
2538
2519
|
*/
|
|
2539
2520
|
var captured_signals = null;
|
|
2540
2521
|
//#endregion
|
|
2541
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
2522
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/runtime.js
|
|
2542
2523
|
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
|
|
2543
2524
|
/**
|
|
2544
2525
|
* True if updating in an effect context that is reactive (i.e. not branch/root effects)
|
|
@@ -2570,7 +2551,7 @@ function set_active_effect(effect) {
|
|
|
2570
2551
|
var current_sources = null;
|
|
2571
2552
|
/** @param {Value} value */
|
|
2572
2553
|
function push_reaction_value(value) {
|
|
2573
|
-
if (active_reaction !== null && (!async_mode_flag || (active_reaction.f & 2) !== 0)) (current_sources ?? (current_sources = /* @__PURE__ */ new Set())).add(value);
|
|
2554
|
+
if (active_reaction !== null && (!async_mode_flag && (active_reaction.f & 2097152) !== 0 || (active_reaction.f & 2) !== 0)) (current_sources ?? (current_sources = /* @__PURE__ */ new Set())).add(value);
|
|
2574
2555
|
}
|
|
2575
2556
|
/**
|
|
2576
2557
|
* The dependencies of the reaction that is currently being executed. In many cases,
|
|
@@ -2614,7 +2595,6 @@ function increment_write_version() {
|
|
|
2614
2595
|
function is_dirty(reaction) {
|
|
2615
2596
|
var flags = reaction.f;
|
|
2616
2597
|
if ((flags & 2048) !== 0) return true;
|
|
2617
|
-
if (flags & 2) reaction.f &= ~WAS_MARKED;
|
|
2618
2598
|
if ((flags & 4096) !== 0) {
|
|
2619
2599
|
var dependencies = reaction.deps;
|
|
2620
2600
|
var length = dependencies.length;
|
|
@@ -2746,10 +2726,7 @@ function remove_reaction(signal, dependency) {
|
|
|
2746
2726
|
}
|
|
2747
2727
|
if (reactions === null && (dependency.f & 2) !== 0 && (new_deps === null || !includes.call(new_deps, dependency))) {
|
|
2748
2728
|
var derived = dependency;
|
|
2749
|
-
if ((derived.f & 512) !== 0)
|
|
2750
|
-
derived.f ^= 512;
|
|
2751
|
-
derived.f &= ~WAS_MARKED;
|
|
2752
|
-
}
|
|
2729
|
+
if ((derived.f & 512) !== 0) derived.f ^= 512;
|
|
2753
2730
|
if (derived.v !== UNINITIALIZED) update_derived_status(derived);
|
|
2754
2731
|
if (derived.ac !== null) without_reactive_context(() => {
|
|
2755
2732
|
/** @type {AbortController} */ derived.ac.abort(STALE_REACTION);
|
|
@@ -2910,7 +2887,7 @@ function untrack(fn) {
|
|
|
2910
2887
|
}
|
|
2911
2888
|
}
|
|
2912
2889
|
//#endregion
|
|
2913
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
2890
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
2914
2891
|
/**
|
|
2915
2892
|
* Used on elements, as a map of event type -> event handler,
|
|
2916
2893
|
* and on events themselves to track which element handled an event
|
|
@@ -2936,10 +2913,12 @@ function create_event(event_name, dom, handler, options = {}) {
|
|
|
2936
2913
|
return handler?.call(this, event);
|
|
2937
2914
|
});
|
|
2938
2915
|
}
|
|
2939
|
-
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel")
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2916
|
+
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
|
|
2917
|
+
target_handler.__removed = false;
|
|
2918
|
+
queue_micro_task(() => {
|
|
2919
|
+
if (!target_handler.__removed) dom.addEventListener(event_name, target_handler, options);
|
|
2920
|
+
});
|
|
2921
|
+
} else dom.addEventListener(event_name, target_handler, options);
|
|
2943
2922
|
return target_handler;
|
|
2944
2923
|
}
|
|
2945
2924
|
/**
|
|
@@ -2957,6 +2936,7 @@ function event(event_name, dom, handler, capture, passive) {
|
|
|
2957
2936
|
};
|
|
2958
2937
|
var target_handler = create_event(event_name, dom, handler, options);
|
|
2959
2938
|
if (dom === document.body || dom === window || dom === document || dom instanceof HTMLMediaElement) teardown(() => {
|
|
2939
|
+
target_handler.__removed = true;
|
|
2960
2940
|
dom.removeEventListener(event_name, target_handler, options);
|
|
2961
2941
|
});
|
|
2962
2942
|
}
|
|
@@ -3058,7 +3038,7 @@ function handle_event_propagation(event) {
|
|
|
3058
3038
|
}
|
|
3059
3039
|
}
|
|
3060
3040
|
//#endregion
|
|
3061
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3041
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/reconciler.js
|
|
3062
3042
|
var policy = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", {
|
|
3063
3043
|
/** @param {string} html */
|
|
3064
3044
|
createHTML: (html) => {
|
|
@@ -3077,7 +3057,7 @@ function create_fragment_from_html(html) {
|
|
|
3077
3057
|
return elem.content;
|
|
3078
3058
|
}
|
|
3079
3059
|
//#endregion
|
|
3080
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3060
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/template.js
|
|
3081
3061
|
/** @import { Effect, EffectNodes, TemplateNode } from '#client' */
|
|
3082
3062
|
/** @import { TemplateStructure } from './types' */
|
|
3083
3063
|
/**
|
|
@@ -3222,7 +3202,7 @@ function is_passive_event(name) {
|
|
|
3222
3202
|
return PASSIVE_EVENTS.includes(name);
|
|
3223
3203
|
}
|
|
3224
3204
|
//#endregion
|
|
3225
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3205
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/reactivity/create-subscriber.js
|
|
3226
3206
|
/**
|
|
3227
3207
|
* Returns a `subscribe` function that integrates external event-based systems with Svelte's reactivity.
|
|
3228
3208
|
* It's particularly useful for integrating with web APIs like `MediaQuery`, `IntersectionObserver`, or `WebSocket`.
|
|
@@ -3295,7 +3275,7 @@ function createSubscriber(start) {
|
|
|
3295
3275
|
};
|
|
3296
3276
|
}
|
|
3297
3277
|
//#endregion
|
|
3298
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3278
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
|
|
3299
3279
|
/** @import { Effect, Source, TemplateNode, } from '#client' */
|
|
3300
3280
|
/**
|
|
3301
3281
|
* @typedef {{
|
|
@@ -3865,7 +3845,7 @@ function unmount(component, options) {
|
|
|
3865
3845
|
return Promise.resolve();
|
|
3866
3846
|
}
|
|
3867
3847
|
//#endregion
|
|
3868
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3848
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/branches.js
|
|
3869
3849
|
/** @import { Effect, TemplateNode } from '#client' */
|
|
3870
3850
|
var _batches = /* @__PURE__ */ new WeakMap();
|
|
3871
3851
|
var _onscreen = /* @__PURE__ */ new WeakMap();
|
|
@@ -3988,7 +3968,7 @@ var BranchManager = class {
|
|
|
3988
3968
|
}
|
|
3989
3969
|
};
|
|
3990
3970
|
//#endregion
|
|
3991
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
3971
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/snippet.js
|
|
3992
3972
|
/** @import { Snippet } from 'svelte' */
|
|
3993
3973
|
/** @import { TemplateNode } from '#client' */
|
|
3994
3974
|
/** @import { Getters } from '#shared' */
|
|
@@ -4054,7 +4034,7 @@ function init_update_callbacks(context) {
|
|
|
4054
4034
|
});
|
|
4055
4035
|
}
|
|
4056
4036
|
//#endregion
|
|
4057
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4037
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/if.js
|
|
4058
4038
|
/** @import { TemplateNode } from '#client' */
|
|
4059
4039
|
/**
|
|
4060
4040
|
* @param {TemplateNode} node
|
|
@@ -4100,7 +4080,7 @@ function if_block(node, fn, elseif = false) {
|
|
|
4100
4080
|
}, flags);
|
|
4101
4081
|
}
|
|
4102
4082
|
//#endregion
|
|
4103
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4083
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/each.js
|
|
4104
4084
|
/** @import { EachItem, EachOutroGroup, EachState, Effect, EffectNodes, MaybeSource, Source, TemplateNode, TransitionManager, Value } from '#client' */
|
|
4105
4085
|
/** @import { Batch } from '../../reactivity/batch.js'; */
|
|
4106
4086
|
/**
|
|
@@ -4572,7 +4552,7 @@ function html(node, get_value, is_controlled = false, svg = false, mathml = fals
|
|
|
4572
4552
|
});
|
|
4573
4553
|
}
|
|
4574
4554
|
//#endregion
|
|
4575
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4555
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/css.js
|
|
4576
4556
|
/**
|
|
4577
4557
|
* @param {Node} anchor
|
|
4578
4558
|
* @param {{ hash: string, code: string }} css
|
|
@@ -4591,7 +4571,7 @@ function append_styles$1(anchor, css) {
|
|
|
4591
4571
|
});
|
|
4592
4572
|
}
|
|
4593
4573
|
//#endregion
|
|
4594
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4574
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/shared/attributes.js
|
|
4595
4575
|
var whitespace$1 = [..." \n\r\f\xA0\v"];
|
|
4596
4576
|
/**
|
|
4597
4577
|
* @param {any} value
|
|
@@ -4701,7 +4681,7 @@ function to_style(value, styles) {
|
|
|
4701
4681
|
return value == null ? null : String(value);
|
|
4702
4682
|
}
|
|
4703
4683
|
//#endregion
|
|
4704
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4684
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/class.js
|
|
4705
4685
|
/**
|
|
4706
4686
|
* @param {Element} dom
|
|
4707
4687
|
* @param {boolean | number} is_html
|
|
@@ -4726,7 +4706,7 @@ function set_class(dom, is_html, value, hash, prev_classes, next_classes) {
|
|
|
4726
4706
|
return next_classes;
|
|
4727
4707
|
}
|
|
4728
4708
|
//#endregion
|
|
4729
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4709
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/style.js
|
|
4730
4710
|
/**
|
|
4731
4711
|
* @param {Element & ElementCSSInlineStyle} dom
|
|
4732
4712
|
* @param {Record<string, any>} prev
|
|
@@ -4760,7 +4740,7 @@ function set_style(dom, value, prev_styles, next_styles) {
|
|
|
4760
4740
|
return next_styles;
|
|
4761
4741
|
}
|
|
4762
4742
|
//#endregion
|
|
4763
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4743
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/attributes.js
|
|
4764
4744
|
/** @import { Blocker, Effect } from '#client' */
|
|
4765
4745
|
var IS_CUSTOM_ELEMENT = Symbol("is custom element");
|
|
4766
4746
|
var IS_HTML = Symbol("is html");
|
|
@@ -4861,7 +4841,7 @@ function get_setters(element) {
|
|
|
4861
4841
|
return setters;
|
|
4862
4842
|
}
|
|
4863
4843
|
//#endregion
|
|
4864
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4844
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/size.js
|
|
4865
4845
|
var _ResizeObserverSingleton;
|
|
4866
4846
|
var _listeners = /* @__PURE__ */ new WeakMap();
|
|
4867
4847
|
var _observer = /* @__PURE__ */ new WeakMap();
|
|
@@ -4926,7 +4906,7 @@ function bind_element_size(element, type, set) {
|
|
|
4926
4906
|
});
|
|
4927
4907
|
}
|
|
4928
4908
|
//#endregion
|
|
4929
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
4909
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
|
|
4930
4910
|
/** @import { ComponentContext, Effect } from '#client' */
|
|
4931
4911
|
/**
|
|
4932
4912
|
* @param {any} bound_value
|
|
@@ -4977,6 +4957,31 @@ function bind_this(element_or_component = mark_as_component(), update, get_value
|
|
|
4977
4957
|
});
|
|
4978
4958
|
return element_or_component;
|
|
4979
4959
|
}
|
|
4960
|
+
//#endregion
|
|
4961
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/store.js
|
|
4962
|
+
/**
|
|
4963
|
+
* Whether or not the prop currently being read is a store binding, as in
|
|
4964
|
+
* `<Child bind:x={$y} />`. If it is, we treat the prop as mutable even in
|
|
4965
|
+
* runes mode, and skip `binding_property_non_reactive` validation
|
|
4966
|
+
*/
|
|
4967
|
+
var is_store_binding = false;
|
|
4968
|
+
/**
|
|
4969
|
+
* Returns a tuple that indicates whether `fn()` reads a prop that is a store binding.
|
|
4970
|
+
* Used to prevent `binding_property_non_reactive` validation false positives and
|
|
4971
|
+
* ensure that these props are treated as mutable even in runes mode
|
|
4972
|
+
* @template T
|
|
4973
|
+
* @param {() => T} fn
|
|
4974
|
+
* @returns {[T, boolean]}
|
|
4975
|
+
*/
|
|
4976
|
+
function capture_store_binding(fn) {
|
|
4977
|
+
var previous_is_store_binding = is_store_binding;
|
|
4978
|
+
try {
|
|
4979
|
+
is_store_binding = false;
|
|
4980
|
+
return [fn(), is_store_binding];
|
|
4981
|
+
} finally {
|
|
4982
|
+
is_store_binding = previous_is_store_binding;
|
|
4983
|
+
}
|
|
4984
|
+
}
|
|
4980
4985
|
/**
|
|
4981
4986
|
* This function is responsible for synchronizing a possibly bound prop with the inner component state.
|
|
4982
4987
|
* It is used whenever the compiler sees that the component writes to the prop, or when it has a default prop_value.
|
|
@@ -5068,7 +5073,7 @@ function prop(props, key, flags, fallback) {
|
|
|
5068
5073
|
});
|
|
5069
5074
|
}
|
|
5070
5075
|
//#endregion
|
|
5071
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
5076
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/legacy/legacy-client.js
|
|
5072
5077
|
/** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */
|
|
5073
5078
|
/**
|
|
5074
5079
|
* Takes the same options as a Svelte 4 component and the component function and returns a Svelte 4 compatible component.
|
|
@@ -5187,7 +5192,7 @@ var Svelte4Component = class {
|
|
|
5187
5192
|
}
|
|
5188
5193
|
};
|
|
5189
5194
|
//#endregion
|
|
5190
|
-
//#region ../../../node_modules/.bun/svelte@5.57.
|
|
5195
|
+
//#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/custom-element.js
|
|
5191
5196
|
/**
|
|
5192
5197
|
* @typedef {Object} CustomElementPropDefinition
|
|
5193
5198
|
* @property {string} [attribute]
|