@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,192 @@
1
+ import { run_all as z, is_function as A, identity as B, noop as C } from "./utils.js";
2
+ import { now as D } from "./environment.js";
3
+ import { loop as F } from "./loop.js";
4
+ import { delete_rule as j, create_rule as q } from "./style_manager.js";
5
+ import { custom_event as K } from "./dom.js";
6
+ import { add_render_callback as G } from "./scheduler.js";
7
+ let M;
8
+ function H() {
9
+ return M || (M = Promise.resolve(), M.then(() => {
10
+ M = null;
11
+ })), M;
12
+ }
13
+ function x(t, c, d) {
14
+ t.dispatchEvent(K(`${c ? "intro" : "outro"}${d}`));
15
+ }
16
+ const S = /* @__PURE__ */ new Set();
17
+ let g;
18
+ function U() {
19
+ g = {
20
+ r: 0,
21
+ c: [],
22
+ p: g
23
+ // parent group
24
+ };
25
+ }
26
+ function V() {
27
+ g.r || z(g.c), g = g.p;
28
+ }
29
+ function W(t, c) {
30
+ t && t.i && (S.delete(t), t.i(c));
31
+ }
32
+ function X(t, c, d, o) {
33
+ if (t && t.o) {
34
+ if (S.has(t))
35
+ return;
36
+ S.add(t), g.c.push(() => {
37
+ S.delete(t), o && (d && t.d(1), o());
38
+ }), t.o(c);
39
+ } else
40
+ o && o();
41
+ }
42
+ const I = { duration: 0 };
43
+ function Y(t, c, d) {
44
+ const o = { direction: "in" };
45
+ let u = c(t, d, o), e = !1, r, i, f = 0;
46
+ function m() {
47
+ r && j(t, r);
48
+ }
49
+ function a() {
50
+ const {
51
+ delay: v = 0,
52
+ duration: h = 300,
53
+ easing: n = B,
54
+ tick: s = C,
55
+ css: _
56
+ } = u || I;
57
+ _ && (r = q(t, 0, 1, h, v, n, _, f++)), s(0, 1);
58
+ const p = D() + v, y = p + h;
59
+ i && i.abort(), e = !0, G(() => x(t, !0, "start")), i = F(($) => {
60
+ if (e) {
61
+ if ($ >= y)
62
+ return s(1, 0), x(t, !0, "end"), m(), e = !1;
63
+ if ($ >= p) {
64
+ const E = n(($ - p) / h);
65
+ s(E, 1 - E);
66
+ }
67
+ }
68
+ return e;
69
+ });
70
+ }
71
+ let l = !1;
72
+ return {
73
+ start() {
74
+ l || (l = !0, j(t), A(u) ? (u = u(o), H().then(a)) : a());
75
+ },
76
+ invalidate() {
77
+ l = !1;
78
+ },
79
+ end() {
80
+ e && (m(), e = !1);
81
+ }
82
+ };
83
+ }
84
+ function Z(t, c, d) {
85
+ const o = { direction: "out" };
86
+ let u = c(t, d, o), e = !0, r;
87
+ const i = g;
88
+ i.r += 1;
89
+ let f;
90
+ function m() {
91
+ const {
92
+ delay: a = 0,
93
+ duration: l = 300,
94
+ easing: v = B,
95
+ tick: h = C,
96
+ css: n
97
+ } = u || I;
98
+ n && (r = q(t, 1, 0, l, a, v, n));
99
+ const s = D() + a, _ = s + l;
100
+ G(() => x(t, !1, "start")), "inert" in t && (f = /** @type {HTMLElement} */
101
+ t.inert, t.inert = !0), F((p) => {
102
+ if (e) {
103
+ if (p >= _)
104
+ return h(0, 1), x(t, !1, "end"), --i.r || z(i.c), !1;
105
+ if (p >= s) {
106
+ const y = v((p - s) / l);
107
+ h(1 - y, y);
108
+ }
109
+ }
110
+ return e;
111
+ });
112
+ }
113
+ return A(u) ? H().then(() => {
114
+ u = u(o), m();
115
+ }) : m(), {
116
+ end(a) {
117
+ a && "inert" in t && (t.inert = f), a && u.tick && u.tick(1, 0), e && (r && j(t, r), e = !1);
118
+ }
119
+ };
120
+ }
121
+ function k(t, c, d, o) {
122
+ let e = c(t, d, { direction: "both" }), r = o ? 0 : 1, i = null, f = null, m = null, a;
123
+ function l() {
124
+ m && j(t, m);
125
+ }
126
+ function v(n, s) {
127
+ const _ = (
128
+ /** @type {Program['d']} */
129
+ n.b - r
130
+ );
131
+ return s *= Math.abs(_), {
132
+ a: r,
133
+ b: n.b,
134
+ d: _,
135
+ duration: s,
136
+ start: n.start,
137
+ end: n.start + s,
138
+ group: n.group
139
+ };
140
+ }
141
+ function h(n) {
142
+ const {
143
+ delay: s = 0,
144
+ duration: _ = 300,
145
+ easing: p = B,
146
+ tick: y = C,
147
+ css: $
148
+ } = e || I, E = {
149
+ start: D() + s,
150
+ b: n
151
+ };
152
+ n || (E.group = g, g.r += 1), "inert" in t && (n ? a !== void 0 && (t.inert = a) : (a = /** @type {HTMLElement} */
153
+ t.inert, t.inert = !0)), i || f ? f = E : ($ && (l(), m = q(t, r, n, _, s, p, $)), n && y(0, 1), i = v(E, _), G(() => x(t, n, "start")), F((P) => {
154
+ if (f && P > f.start && (i = v(f, _), f = null, x(t, i.b, "start"), $ && (l(), m = q(
155
+ t,
156
+ r,
157
+ i.b,
158
+ i.duration,
159
+ 0,
160
+ p,
161
+ e.css
162
+ ))), i) {
163
+ if (P >= i.end)
164
+ y(r = i.b, 1 - r), x(t, i.b, "end"), f || (i.b ? l() : --i.group.r || z(i.group.c)), i = null;
165
+ else if (P >= i.start) {
166
+ const J = P - i.start;
167
+ r = i.a + i.d * p(J / i.duration), y(r, 1 - r);
168
+ }
169
+ }
170
+ return !!(i || f);
171
+ }));
172
+ }
173
+ return {
174
+ run(n) {
175
+ A(e) ? H().then(() => {
176
+ e = e({ direction: n ? "in" : "out" }), h(n);
177
+ }) : h(n);
178
+ },
179
+ end() {
180
+ l(), i = f = null;
181
+ }
182
+ };
183
+ }
184
+ export {
185
+ V as check_outros,
186
+ k as create_bidirectional_transition,
187
+ Y as create_in_transition,
188
+ Z as create_out_transition,
189
+ U as group_outros,
190
+ W as transition_in,
191
+ X as transition_out
192
+ };
@@ -0,0 +1,110 @@
1
+ function l() {
2
+ }
3
+ const d = (t) => t;
4
+ function _(t, n) {
5
+ for (const r in n)
6
+ t[r] = n[r];
7
+ return (
8
+ /** @type {T & S} */
9
+ t
10
+ );
11
+ }
12
+ function h(t) {
13
+ return !!t && (typeof t == "object" || typeof t == "function") && typeof /** @type {any} */
14
+ t.then == "function";
15
+ }
16
+ function y(t) {
17
+ return t();
18
+ }
19
+ function g() {
20
+ return /* @__PURE__ */ Object.create(null);
21
+ }
22
+ function x(t) {
23
+ t.forEach(y);
24
+ }
25
+ function p(t) {
26
+ return typeof t == "function";
27
+ }
28
+ function a(t, n) {
29
+ return t != t ? n == n : t !== n || t && typeof t == "object" || typeof t == "function";
30
+ }
31
+ let f;
32
+ function m(t, n) {
33
+ return t === n ? !0 : (f || (f = document.createElement("a")), f.href = n, t === f.href);
34
+ }
35
+ function b(t) {
36
+ return Object.keys(t).length === 0;
37
+ }
38
+ function j(t, n, r, e) {
39
+ if (t) {
40
+ const o = s(t, n, r, e);
41
+ return t[0](o);
42
+ }
43
+ }
44
+ function s(t, n, r, e) {
45
+ return t[1] && e ? _(r.ctx.slice(), t[1](e(n))) : r.ctx;
46
+ }
47
+ function k(t, n, r, e) {
48
+ if (t[2] && e) {
49
+ const o = t[2](e(r));
50
+ if (n.dirty === void 0)
51
+ return o;
52
+ if (typeof o == "object") {
53
+ const u = [], i = Math.max(n.dirty.length, o.length);
54
+ for (let c = 0; c < i; c += 1)
55
+ u[c] = n.dirty[c] | o[c];
56
+ return u;
57
+ }
58
+ return n.dirty | o;
59
+ }
60
+ return n.dirty;
61
+ }
62
+ function q(t, n, r, e, o, u) {
63
+ if (o) {
64
+ const i = s(n, r, e, u);
65
+ t.p(i, o);
66
+ }
67
+ }
68
+ function E(t) {
69
+ if (t.ctx.length > 32) {
70
+ const n = [], r = t.ctx.length / 32;
71
+ for (let e = 0; e < r; e++)
72
+ n[e] = -1;
73
+ return n;
74
+ }
75
+ return -1;
76
+ }
77
+ function O(t) {
78
+ return t == null ? "" : t;
79
+ }
80
+ function F(t) {
81
+ return t && p(t.destroy) ? t.destroy : l;
82
+ }
83
+ function M(t) {
84
+ const n = typeof t == "string" && t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
85
+ return n ? [parseFloat(n[1]), n[2] || "px"] : [
86
+ /** @type {number} */
87
+ t,
88
+ "px"
89
+ ];
90
+ }
91
+ export {
92
+ F as action_destroyer,
93
+ _ as assign,
94
+ g as blank_object,
95
+ j as create_slot,
96
+ E as get_all_dirty_from_scope,
97
+ k as get_slot_changes,
98
+ d as identity,
99
+ b as is_empty,
100
+ p as is_function,
101
+ h as is_promise,
102
+ l as noop,
103
+ O as null_to_empty,
104
+ y as run,
105
+ x as run_all,
106
+ a as safe_not_equal,
107
+ M as split_css_unit,
108
+ m as src_url_equal,
109
+ q as update_slot_base
110
+ };
@@ -1,6 +1,6 @@
1
- import { noop as f, safe_not_equal as l } from "../internal/index.js";
1
+ import { noop as f, safe_not_equal as l } from "../internal/utils.js";
2
2
  const s = [];
3
- function h(n, u = f) {
3
+ function h(n, b = f) {
4
4
  let i;
5
5
  const o = /* @__PURE__ */ new Set();
6
6
  function r(e) {
@@ -15,16 +15,16 @@ function h(n, u = f) {
15
15
  }
16
16
  }
17
17
  }
18
- function b(e) {
18
+ function u(e) {
19
19
  r(e(n));
20
20
  }
21
21
  function p(e, c = f) {
22
22
  const t = [e, c];
23
- return o.add(t), o.size === 1 && (i = u(r) || f), e(n), () => {
23
+ return o.add(t), o.size === 1 && (i = b(r, u) || f), e(n), () => {
24
24
  o.delete(t), o.size === 0 && i && (i(), i = null);
25
25
  };
26
26
  }
27
- return { set: r, update: b, subscribe: p };
27
+ return { set: r, update: u, subscribe: p };
28
28
  }
29
29
  export {
30
30
  h as writable
@@ -1,5 +1,5 @@
1
1
  import { cubicOut as h, cubicInOut as k } from "../easing/index.js";
2
- import { identity as _, split_css_unit as y } from "../internal/index.js";
2
+ import { identity as _, split_css_unit as y } from "../internal/utils.js";
3
3
  function C(s, { delay: o = 0, duration: n = 400, easing: t = _ } = {}) {
4
4
  const c = +getComputedStyle(s).opacity;
5
5
  return {
@@ -0,0 +1,4 @@
1
+ const o = "4";
2
+ export {
3
+ o as PUBLIC_VERSION
4
+ };
@@ -1,13 +1,17 @@
1
- import { SvelteComponent as u, init as w, safe_not_equal as b, append_styles as v, element as n, attr as d, toggle_class as c, insert as p, append as h, listen as x, noop as f, detach as g, bubble as m } from "../../../../svelte/internal/index.js";
1
+ import { safe_not_equal as u, noop as n } from "../../../../svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as w, element as f, attr as d, toggle_class as c, insert as b, append as p, listen as v, detach as m } from "../../../../svelte/src/runtime/internal/dom.js";
3
+ import { bubble as h } from "../../../../svelte/src/runtime/internal/lifecycle.js";
4
+ import { SvelteComponent as x, init as g } from "../../../../svelte/src/runtime/internal/Component.js";
5
+ import "../../../../svelte/src/runtime/internal/disclose-version/index.js";
2
6
  import { NEXT as l, PREV as _ } from "../../direction.js";
3
7
  function z(a) {
4
- v(a, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
8
+ w(a, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
5
9
  }
6
10
  function k(a) {
7
- let r, o, t, i;
11
+ let r, o, s, i;
8
12
  return {
9
13
  c() {
10
- r = n("button"), o = n("i"), d(o, "class", "sc-carousel-arrow__arrow svelte-1bftafx"), c(
14
+ r = f("button"), o = f("i"), d(o, "class", "sc-carousel-arrow__arrow svelte-1bftafx"), c(
11
15
  o,
12
16
  "sc-carousel-arrow__arrow-next",
13
17
  /*direction*/
@@ -24,56 +28,56 @@ function k(a) {
24
28
  a[1]
25
29
  );
26
30
  },
27
- m(s, e) {
28
- p(s, r, e), h(r, o), t || (i = x(
31
+ m(t, e) {
32
+ b(t, r, e), p(r, o), s || (i = v(
29
33
  r,
30
34
  "click",
31
35
  /*click_handler*/
32
36
  a[2]
33
- ), t = !0);
37
+ ), s = !0);
34
38
  },
35
- p(s, [e]) {
36
- e & /*direction, NEXT*/
39
+ p(t, [e]) {
40
+ e & /*direction*/
37
41
  1 && c(
38
42
  o,
39
43
  "sc-carousel-arrow__arrow-next",
40
44
  /*direction*/
41
- s[0] === l
42
- ), e & /*direction, PREV*/
45
+ t[0] === l
46
+ ), e & /*direction*/
43
47
  1 && c(
44
48
  o,
45
49
  "sc-carousel-arrow__arrow-prev",
46
50
  /*direction*/
47
- s[0] === _
51
+ t[0] === _
48
52
  ), e & /*disabled*/
49
53
  2 && c(
50
54
  r,
51
55
  "sc-carousel-arrow__circle_disabled",
52
56
  /*disabled*/
53
- s[1]
57
+ t[1]
54
58
  );
55
59
  },
56
- i: f,
57
- o: f,
58
- d(s) {
59
- s && g(r), t = !1, i();
60
+ i: n,
61
+ o: n,
62
+ d(t) {
63
+ t && m(r), s = !1, i();
60
64
  }
61
65
  };
62
66
  }
63
67
  function y(a, r, o) {
64
- let { direction: t = l } = r, { disabled: i = !1 } = r;
65
- function s(e) {
66
- m.call(this, a, e);
68
+ let { direction: s = l } = r, { disabled: i = !1 } = r;
69
+ function t(e) {
70
+ h.call(this, a, e);
67
71
  }
68
72
  return a.$$set = (e) => {
69
- "direction" in e && o(0, t = e.direction), "disabled" in e && o(1, i = e.disabled);
70
- }, [t, i, s];
73
+ "direction" in e && o(0, s = e.direction), "disabled" in e && o(1, i = e.disabled);
74
+ }, [s, i, t];
71
75
  }
72
- class q extends u {
76
+ class P extends x {
73
77
  constructor(r) {
74
- super(), w(this, r, y, k, b, { direction: 0, disabled: 1 }, z);
78
+ super(), g(this, r, y, k, u, { direction: 0, disabled: 1 }, z);
75
79
  }
76
80
  }
77
81
  export {
78
- q as Arrow
82
+ P as Arrow
79
83
  };