@realsee/dnalogel 3.31.1-dev.0 → 3.32.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  3. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  5. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  7. package/dist/index.cjs.js +66 -66
  8. package/dist/index.js +5849 -5666
  9. package/dist/index.umd.js +59 -59
  10. package/libs/AreaMakerPlugin/Controller.js +54 -44
  11. package/libs/AreaMakerPlugin/index.js +13 -3
  12. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  13. package/libs/CruisePlugin/Move.js +50 -37
  14. package/libs/CruisePlugin/Work.js +19 -6
  15. package/libs/CruisePlugin/index.js +23 -10
  16. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  17. package/libs/GuideLinePlugin/Controller.js +46 -33
  18. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  19. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  20. package/libs/GuideLinePlugin/index.js +23 -10
  21. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  22. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  23. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  24. package/libs/ItemLabelPlugin/index.js +16 -5
  25. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  26. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  27. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  28. package/libs/ModelItemLabelPlugin/index.js +16 -5
  29. package/libs/ModelMakerPlugin/Controller.js +33 -23
  30. package/libs/ModelMakerPlugin/index.js +13 -3
  31. package/libs/ModelMakerPlugin/utils/Text.js +43 -33
  32. package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
  33. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  34. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  35. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  36. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  37. package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
  38. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  39. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  40. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  41. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  42. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  43. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  44. package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
  45. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  46. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  47. package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
  48. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  49. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
  50. package/libs/PanoMeasurePlugin/index.js +27 -16
  51. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  52. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  53. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  54. package/libs/PanoRulerProPlugin/index.js +15 -4
  55. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  56. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  57. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  58. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  59. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  60. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  61. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  62. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  63. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  64. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  65. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  66. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  67. package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
  68. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
  69. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  70. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  71. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  72. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  73. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  74. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  75. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  76. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  77. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  78. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  79. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  80. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  81. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
  82. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  83. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  84. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  85. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  86. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  87. package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
  88. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  89. package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
  90. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  91. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  92. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  93. package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
  94. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  95. package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
  96. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  97. package/libs/PanoTagPlugin/controller/index.js +84 -65
  98. package/libs/PanoTagPlugin/index.js +28 -15
  99. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  100. package/libs/base/BasePlugin.js +1 -1
  101. package/libs/components/AreaLabel/LabelItem.js +56 -51
  102. package/libs/floorplan/Components/BaseImage.js +43 -39
  103. package/libs/floorplan/Components/Camera.js +41 -32
  104. package/libs/floorplan/Components/Compass.js +27 -24
  105. package/libs/floorplan/Components/CurrentFloor.js +167 -162
  106. package/libs/floorplan/Components/Main.js +85 -76
  107. package/libs/floorplan/Components/MissingFloor.js +24 -21
  108. package/libs/floorplan/Components/Normalmage.js +25 -22
  109. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  110. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  111. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
  112. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
  113. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  114. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  115. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  116. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  117. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  118. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  119. package/libs/floorplan/Components/SvgImage.js +30 -27
  120. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  121. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  122. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  123. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  124. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  125. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  126. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  127. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  128. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
  129. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  130. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
  131. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  132. package/libs/floorplan/index.js +1 -0
  133. package/libs/index.js +143 -129
  134. package/libs/shared-utils/logger.js +1 -1
  135. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  136. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  137. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  138. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  139. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  140. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  141. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  142. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  143. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  144. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  145. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  146. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  147. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  148. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  149. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  150. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  151. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  152. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  153. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  154. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  155. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  156. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  157. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  158. package/libs/vendor/svelte/src/shared/version.js +4 -0
  159. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  160. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  161. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  162. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  163. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  164. package/package.json +5 -6
  165. package/libs/vendor/svelte/internal/index.js +0 -749
  166. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  167. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -0,0 +1,47 @@
1
+ import { is_promise as m } from "./utils.js";
2
+ import { group_outros as p, transition_out as b, check_outros as v, transition_in as g } from "./transitions.js";
3
+ import { flush as x } from "./scheduler.js";
4
+ import { get_current_component as w, set_current_component as h } from "./lifecycle.js";
5
+ function z(e, t) {
6
+ const n = t.token = {};
7
+ function r(c, l, o, d) {
8
+ if (t.token !== n)
9
+ return;
10
+ t.resolved = d;
11
+ let s = t.ctx;
12
+ o !== void 0 && (s = s.slice(), s[o] = d);
13
+ const u = c && (t.current = c)(s);
14
+ let k = !1;
15
+ t.block && (t.blocks ? t.blocks.forEach((a, _) => {
16
+ _ !== l && a && (p(), b(a, 1, 1, () => {
17
+ t.blocks[_] === a && (t.blocks[_] = null);
18
+ }), v());
19
+ }) : t.block.d(1), u.c(), g(u, 1), u.m(t.mount(), t.anchor), k = !0), t.block = u, t.blocks && (t.blocks[l] = u), k && x();
20
+ }
21
+ if (m(e)) {
22
+ const c = w();
23
+ if (e.then(
24
+ (l) => {
25
+ h(c), r(t.then, 1, t.value, l), h(null);
26
+ },
27
+ (l) => {
28
+ if (h(c), r(t.catch, 2, t.error, l), h(null), !t.hasCatch)
29
+ throw l;
30
+ }
31
+ ), t.current !== t.pending)
32
+ return r(t.pending, 0), !0;
33
+ } else {
34
+ if (t.current !== t.then)
35
+ return r(t.then, 1, t.value, e), !0;
36
+ t.resolved = /** @type {T} */
37
+ e;
38
+ }
39
+ }
40
+ function A(e, t, n) {
41
+ const r = t.slice(), { resolved: c } = e;
42
+ e.current === e.then && (r[e.value] = c), e.current === e.catch && (r[e.error] = c), e.block.p(r, n);
43
+ }
44
+ export {
45
+ z as handle_promise,
46
+ A as update_await_block_branch
47
+ };
@@ -0,0 +1,2 @@
1
+ import { PUBLIC_VERSION as e } from "../../../shared/version.js";
2
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(e);
@@ -0,0 +1,214 @@
1
+ var y = Object.defineProperty;
2
+ var _ = (e, t, n) => t in e ? y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var o = (e, t, n) => (_(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ function f(e, t) {
5
+ e.appendChild(t);
6
+ }
7
+ function v(e, t, n) {
8
+ const i = d(e);
9
+ if (!i.getElementById(t)) {
10
+ const s = u("style");
11
+ s.id = t, s.textContent = n, a(i, s);
12
+ }
13
+ }
14
+ function d(e) {
15
+ if (!e)
16
+ return document;
17
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
18
+ return t && /** @type {ShadowRoot} */
19
+ t.host ? (
20
+ /** @type {ShadowRoot} */
21
+ t
22
+ ) : e.ownerDocument;
23
+ }
24
+ function b(e) {
25
+ const t = u("style");
26
+ return t.textContent = "/* empty */", a(d(e), t), t.sheet;
27
+ }
28
+ function a(e, t) {
29
+ return f(
30
+ /** @type {Document} */
31
+ e.head || e,
32
+ t
33
+ ), t.sheet;
34
+ }
35
+ function g(e, t, n) {
36
+ e.insertBefore(t, n || null);
37
+ }
38
+ function h(e) {
39
+ e.parentNode && e.parentNode.removeChild(e);
40
+ }
41
+ function A(e, t) {
42
+ for (let n = 0; n < e.length; n += 1)
43
+ e[n] && e[n].d(t);
44
+ }
45
+ function u(e) {
46
+ return document.createElement(e);
47
+ }
48
+ function w(e) {
49
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
50
+ }
51
+ function p(e) {
52
+ return document.createTextNode(e);
53
+ }
54
+ function T() {
55
+ return p(" ");
56
+ }
57
+ function x() {
58
+ return p("");
59
+ }
60
+ function l(e, t, n, i) {
61
+ return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
62
+ }
63
+ function L(e) {
64
+ return function(t) {
65
+ return t.stopPropagation(), e.call(this, t);
66
+ };
67
+ }
68
+ function C(e, t, n) {
69
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
70
+ }
71
+ function P(e) {
72
+ return Array.from(e.childNodes);
73
+ }
74
+ function M(e, t) {
75
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
76
+ t);
77
+ }
78
+ function z(e, t, n, i) {
79
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, i ? "important" : "");
80
+ }
81
+ let c;
82
+ function E() {
83
+ if (c === void 0) {
84
+ c = !1;
85
+ try {
86
+ typeof window != "undefined" && window.parent && window.parent.document;
87
+ } catch (e) {
88
+ c = !0;
89
+ }
90
+ }
91
+ return c;
92
+ }
93
+ function W(e, t) {
94
+ getComputedStyle(e).position === "static" && (e.style.position = "relative");
95
+ const i = u("iframe");
96
+ i.setAttribute(
97
+ "style",
98
+ "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
99
+ ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
100
+ const s = E();
101
+ let r;
102
+ return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", r = l(
103
+ window,
104
+ "message",
105
+ /** @param {MessageEvent} event */
106
+ (m) => {
107
+ m.source === i.contentWindow && t();
108
+ }
109
+ )) : (i.src = "about:blank", i.onload = () => {
110
+ r = l(i.contentWindow, "resize", t), t();
111
+ }), f(e, i), () => {
112
+ (s || r && i.contentWindow) && r(), h(i);
113
+ };
114
+ }
115
+ function B(e, t, n) {
116
+ e.classList.toggle(t, !!n);
117
+ }
118
+ function D(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
119
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: i });
120
+ }
121
+ class H {
122
+ constructor(t = !1) {
123
+ /**
124
+ * @private
125
+ * @default false
126
+ */
127
+ o(this, "is_svg", !1);
128
+ /** parent for creating node */
129
+ o(this, "e");
130
+ /** html tag nodes */
131
+ o(this, "n");
132
+ /** target */
133
+ o(this, "t");
134
+ /** anchor */
135
+ o(this, "a");
136
+ this.is_svg = t, this.e = this.n = null;
137
+ }
138
+ /**
139
+ * @param {string} html
140
+ * @returns {void}
141
+ */
142
+ c(t) {
143
+ this.h(t);
144
+ }
145
+ /**
146
+ * @param {string} html
147
+ * @param {HTMLElement | SVGElement} target
148
+ * @param {HTMLElement | SVGElement} anchor
149
+ * @returns {void}
150
+ */
151
+ m(t, n, i = null) {
152
+ this.e || (this.is_svg ? this.e = w(
153
+ /** @type {keyof SVGElementTagNameMap} */
154
+ n.nodeName
155
+ ) : this.e = u(
156
+ /** @type {keyof HTMLElementTagNameMap} */
157
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
158
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
159
+ /** @type {HTMLTemplateElement} */
160
+ n.content
161
+ ), this.c(t)), this.i(i);
162
+ }
163
+ /**
164
+ * @param {string} html
165
+ * @returns {void}
166
+ */
167
+ h(t) {
168
+ this.e.innerHTML = t, this.n = Array.from(
169
+ this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
170
+ );
171
+ }
172
+ /**
173
+ * @returns {void} */
174
+ i(t) {
175
+ for (let n = 0; n < this.n.length; n += 1)
176
+ g(this.t, this.n[n], t);
177
+ }
178
+ /**
179
+ * @param {string} html
180
+ * @returns {void}
181
+ */
182
+ p(t) {
183
+ this.d(), this.h(t), this.i(this.a);
184
+ }
185
+ /**
186
+ * @returns {void} */
187
+ d() {
188
+ this.n.forEach(h);
189
+ }
190
+ }
191
+ export {
192
+ H as HtmlTag,
193
+ W as add_iframe_resize_listener,
194
+ f as append,
195
+ b as append_empty_stylesheet,
196
+ v as append_styles,
197
+ C as attr,
198
+ P as children,
199
+ D as custom_event,
200
+ A as destroy_each,
201
+ h as detach,
202
+ u as element,
203
+ x as empty,
204
+ d as get_root_for_style,
205
+ g as insert,
206
+ l as listen,
207
+ M as set_data,
208
+ z as set_style,
209
+ T as space,
210
+ L as stop_propagation,
211
+ w as svg_element,
212
+ p as text,
213
+ B as toggle_class
214
+ };
@@ -0,0 +1,46 @@
1
+ import { transition_out as z, transition_in as B } from "./transitions.js";
2
+ import { run_all as C } from "./utils.js";
3
+ function F(n) {
4
+ return (n == null ? void 0 : n.length) !== void 0 ? n : Array.from(n);
5
+ }
6
+ function G(n, f) {
7
+ n.d(1), f.delete(n.key);
8
+ }
9
+ function H(n, f) {
10
+ z(n, 1, 1, () => {
11
+ f.delete(n.key);
12
+ });
13
+ }
14
+ function I(n, f, k, x, A, p, h, _, a, j, w, q) {
15
+ let i = n.length, d = p.length, c = i;
16
+ const u = {};
17
+ for (; c--; )
18
+ u[n[c].key] = c;
19
+ const l = [], m = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), M = [];
20
+ for (c = d; c--; ) {
21
+ const e = q(A, p, c), t = k(e);
22
+ let s = h.get(t);
23
+ s ? x && M.push(() => s.p(e, f)) : (s = j(t, e), s.c()), m.set(t, l[c] = s), t in u && y.set(t, Math.abs(c - u[t]));
24
+ }
25
+ const v = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
26
+ function g(e) {
27
+ B(e, 1), e.m(_, w), h.set(e.key, e), w = e.first, d--;
28
+ }
29
+ for (; i && d; ) {
30
+ const e = l[d - 1], t = n[i - 1], s = e.key, o = t.key;
31
+ e === t ? (w = e.first, i--, d--) : m.has(o) ? !h.has(s) || v.has(s) ? g(e) : S.has(o) ? i-- : y.get(s) > y.get(o) ? (S.add(s), g(e)) : (v.add(o), i--) : (a(t, h), i--);
32
+ }
33
+ for (; i--; ) {
34
+ const e = n[i];
35
+ m.has(e.key) || a(e, h);
36
+ }
37
+ for (; d; )
38
+ g(l[d - 1]);
39
+ return C(M), l;
40
+ }
41
+ export {
42
+ G as destroy_block,
43
+ F as ensure_array_like,
44
+ H as outro_and_destroy_block,
45
+ I as update_keyed_each
46
+ };
@@ -0,0 +1,7 @@
1
+ import { noop as n } from "./utils.js";
2
+ const o = typeof window != "undefined";
3
+ let i = o ? () => window.performance.now() : () => Date.now(), r = o ? (e) => requestAnimationFrame(e) : n;
4
+ export {
5
+ i as now,
6
+ r as raf
7
+ };
@@ -0,0 +1,7 @@
1
+ const o = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
2
+ // @ts-ignore Node typings have this
3
+ global
4
+ );
5
+ export {
6
+ o as globals
7
+ };
@@ -0,0 +1,63 @@
1
+ import { custom_event as s } from "./dom.js";
2
+ let r;
3
+ function l(t) {
4
+ r = t;
5
+ }
6
+ function e() {
7
+ if (!r)
8
+ throw new Error("Function called outside component initialization");
9
+ return r;
10
+ }
11
+ function p(t) {
12
+ e().$$.before_update.push(t);
13
+ }
14
+ function $(t) {
15
+ e().$$.on_mount.push(t);
16
+ }
17
+ function _(t) {
18
+ e().$$.after_update.push(t);
19
+ }
20
+ function b(t) {
21
+ e().$$.on_destroy.push(t);
22
+ }
23
+ function d() {
24
+ const t = e();
25
+ return (n, o, { cancelable: c = !1 } = {}) => {
26
+ const u = t.$$.callbacks[n];
27
+ if (u) {
28
+ const a = s(
29
+ /** @type {string} */
30
+ n,
31
+ o,
32
+ { cancelable: c }
33
+ );
34
+ return u.slice().forEach((i) => {
35
+ i.call(t, a);
36
+ }), !a.defaultPrevented;
37
+ }
38
+ return !0;
39
+ };
40
+ }
41
+ function h(t, n) {
42
+ return e().$$.context.set(t, n), n;
43
+ }
44
+ function m(t) {
45
+ return e().$$.context.get(t);
46
+ }
47
+ function k(t, n) {
48
+ const o = t.$$.callbacks[n.type];
49
+ o && o.slice().forEach((c) => c.call(this, n));
50
+ }
51
+ export {
52
+ _ as afterUpdate,
53
+ p as beforeUpdate,
54
+ k as bubble,
55
+ d as createEventDispatcher,
56
+ r as current_component,
57
+ m as getContext,
58
+ e as get_current_component,
59
+ b as onDestroy,
60
+ $ as onMount,
61
+ h as setContext,
62
+ l as set_current_component
63
+ };
@@ -0,0 +1,21 @@
1
+ import { raf as r } from "./environment.js";
2
+ const o = /* @__PURE__ */ new Set();
3
+ function f(t) {
4
+ o.forEach((e) => {
5
+ e.c(t) || (o.delete(e), e.f());
6
+ }), o.size !== 0 && r(f);
7
+ }
8
+ function s(t) {
9
+ let e;
10
+ return o.size === 0 && r(f), {
11
+ promise: new Promise((i) => {
12
+ o.add(e = { c: t, f: i });
13
+ }),
14
+ abort() {
15
+ o.delete(e);
16
+ }
17
+ };
18
+ }
19
+ export {
20
+ s as loop
21
+ };
@@ -0,0 +1,66 @@
1
+ import { run_all as d } from "./utils.js";
2
+ import { set_current_component as a, current_component as p } from "./lifecycle.js";
3
+ const r = [], h = [];
4
+ let c = [];
5
+ const u = [], i = /* @__PURE__ */ Promise.resolve();
6
+ let f = !1;
7
+ function _() {
8
+ f || (f = !0, i.then(g));
9
+ }
10
+ function y() {
11
+ return _(), i;
12
+ }
13
+ function m(e) {
14
+ c.push(e);
15
+ }
16
+ function x(e) {
17
+ u.push(e);
18
+ }
19
+ const s = /* @__PURE__ */ new Set();
20
+ let l = 0;
21
+ function g() {
22
+ if (l !== 0)
23
+ return;
24
+ const e = p;
25
+ do {
26
+ try {
27
+ for (; l < r.length; ) {
28
+ const t = r[l];
29
+ l++, a(t), b(t.$$);
30
+ }
31
+ } catch (t) {
32
+ throw r.length = 0, l = 0, t;
33
+ }
34
+ for (a(null), r.length = 0, l = 0; h.length; )
35
+ h.pop()();
36
+ for (let t = 0; t < c.length; t += 1) {
37
+ const n = c[t];
38
+ s.has(n) || (s.add(n), n());
39
+ }
40
+ c.length = 0;
41
+ } while (r.length);
42
+ for (; u.length; )
43
+ u.pop()();
44
+ f = !1, s.clear(), a(e);
45
+ }
46
+ function b(e) {
47
+ if (e.fragment !== null) {
48
+ e.update(), d(e.before_update);
49
+ const t = e.dirty;
50
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(m);
51
+ }
52
+ }
53
+ function v(e) {
54
+ const t = [], n = [];
55
+ c.forEach((o) => e.indexOf(o) === -1 ? t.push(o) : n.push(o)), n.forEach((o) => o()), c = t;
56
+ }
57
+ export {
58
+ x as add_flush_callback,
59
+ m as add_render_callback,
60
+ h as binding_callbacks,
61
+ r as dirty_components,
62
+ g as flush,
63
+ v as flush_render_callbacks,
64
+ _ as schedule_update,
65
+ y as tick
66
+ };
@@ -0,0 +1,26 @@
1
+ function s(t, r) {
2
+ const c = {}, u = {}, f = { $$scope: 1 };
3
+ let i = t.length;
4
+ for (; i--; ) {
5
+ const o = t[i], e = r[i];
6
+ if (e) {
7
+ for (const n in o)
8
+ n in e || (u[n] = 1);
9
+ for (const n in e)
10
+ f[n] || (c[n] = e[n], f[n] = 1);
11
+ t[i] = e;
12
+ } else
13
+ for (const n in o)
14
+ f[n] = 1;
15
+ }
16
+ for (const o in u)
17
+ o in c || (c[o] = void 0);
18
+ return c;
19
+ }
20
+ function d(t) {
21
+ return typeof t == "object" && t !== null ? t : {};
22
+ }
23
+ export {
24
+ d as get_spread_object,
25
+ s as get_spread_update
26
+ };
@@ -0,0 +1,48 @@
1
+ import { get_root_for_style as v, detach as x, append_empty_stylesheet as w } from "./dom.js";
2
+ import { raf as k } from "./environment.js";
3
+ const c = /* @__PURE__ */ new Map();
4
+ let a = 0;
5
+ function O(t) {
6
+ let e = 5381, n = t.length;
7
+ for (; n--; )
8
+ e = (e << 5) - e ^ t.charCodeAt(n);
9
+ return e >>> 0;
10
+ }
11
+ function R(t, e) {
12
+ const n = { stylesheet: w(e), rules: {} };
13
+ return c.set(t, n), n;
14
+ }
15
+ function E(t, e, n, s, r, l, f, g = 0) {
16
+ const d = 16.666 / s;
17
+ let u = `{
18
+ `;
19
+ for (let i = 0; i <= 1; i += d) {
20
+ const $ = e + (n - e) * l(i);
21
+ u += i * 100 + `%{${f($, 1 - $)}}
22
+ `;
23
+ }
24
+ const h = u + `100% {${f(n, 1 - n)}}
25
+ }`, o = `__svelte_${O(h)}_${g}`, _ = v(t), { stylesheet: m, rules: y } = c.get(_) || R(_, t);
26
+ y[o] || (y[o] = !0, m.insertRule(`@keyframes ${o} ${h}`, m.cssRules.length));
27
+ const p = t.style.animation || "";
28
+ return t.style.animation = `${p ? `${p}, ` : ""}${o} ${s}ms linear ${r}ms 1 both`, a += 1, o;
29
+ }
30
+ function M(t, e) {
31
+ const n = (t.style.animation || "").split(", "), s = n.filter(
32
+ e ? (l) => l.indexOf(e) < 0 : (l) => l.indexOf("__svelte") === -1
33
+ // remove all Svelte animations
34
+ ), r = n.length - s.length;
35
+ r && (t.style.animation = s.join(", "), a -= r, a || j());
36
+ }
37
+ function j() {
38
+ k(() => {
39
+ a || (c.forEach((t) => {
40
+ const { ownerNode: e } = t.stylesheet;
41
+ e && x(e);
42
+ }), c.clear());
43
+ });
44
+ }
45
+ export {
46
+ E as create_rule,
47
+ M as delete_rule
48
+ };