@caperjs/core 0.6.1 → 0.7.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.
- package/build/index.d.mts +6 -0
- package/build/index.mjs +7 -0
- package/build/plugins/solid.mjs +30 -0
- package/cli/doctor.mjs +128 -0
- package/cli/doctor.test.mjs +154 -0
- package/extras/llms.txt +192 -4
- package/extras/skills/caper/SKILL.md +51 -3
- package/lib/{CaptionsPlugin-BtVJiQs_.js → CaptionsPlugin-Boj-gm3A.js} +5 -5
- package/lib/{CaptionsPlugin-BtVJiQs_.js.map → CaptionsPlugin-Boj-gm3A.js.map} +1 -1
- package/lib/{DataAdapter-BtNz4yi2.js → DataAdapter-Cra9dJ6W.js} +9 -9
- package/lib/{DataAdapter-BtNz4yi2.js.map → DataAdapter-Cra9dJ6W.js.map} +1 -1
- package/lib/{DebugRenderer-DK8FAED1.js → DebugRenderer-19S58S4h.js} +2 -2
- package/lib/{DebugRenderer-DK8FAED1.js.map → DebugRenderer-19S58S4h.js.map} +1 -1
- package/lib/{DevToolsPlugin-BS9idGRi.js → DevToolsPlugin-BTSkRsdS.js} +2 -2
- package/lib/{DevToolsPlugin-BS9idGRi.js.map → DevToolsPlugin-BTSkRsdS.js.map} +1 -1
- package/lib/{GSAPPlugin-DVDbDVP8.js → GSAPPlugin-BcL7vjyw.js} +5 -5
- package/lib/{GSAPPlugin-DVDbDVP8.js.map → GSAPPlugin-BcL7vjyw.js.map} +1 -1
- package/lib/{LayoutPlugin-qQJ5qJud.js → LayoutPlugin-BDhSngz_.js} +4 -4
- package/lib/{LayoutPlugin-qQJ5qJud.js.map → LayoutPlugin-BDhSngz_.js.map} +1 -1
- package/lib/ScreenDebugPlugin-C6pxs_3O.js +103 -0
- package/lib/ScreenDebugPlugin-C6pxs_3O.js.map +1 -0
- package/lib/{SpinePlugin-CPNRM2J1.js → SpinePlugin-CrQhaK6r.js} +2 -2
- package/lib/{SpinePlugin-CPNRM2J1.js.map → SpinePlugin-CrQhaK6r.js.map} +1 -1
- package/lib/{StatsPlugin-BHihicBl.js → StatsPlugin-Cu625dmk.js} +2 -2
- package/lib/{StatsPlugin-BHihicBl.js.map → StatsPlugin-Cu625dmk.js.map} +1 -1
- package/lib/{VoiceOverPlugin-BdTHxgku.js → VoiceOverPlugin-D4rfHFyJ.js} +5 -5
- package/lib/{VoiceOverPlugin-BdTHxgku.js.map → VoiceOverPlugin-D4rfHFyJ.js.map} +1 -1
- package/lib/caper.mjs +98 -97
- package/lib/caper.mjs.map +1 -1
- package/lib/{const-BQItSP39.js → const-BQ2iMCtc.js} +180 -180
- package/lib/{const-BQItSP39.js.map → const-BQ2iMCtc.js.map} +1 -1
- package/lib/core/Application.d.ts.map +1 -1
- package/lib/plugins/ScreenDebugPlugin.d.ts +22 -0
- package/lib/plugins/ScreenDebugPlugin.d.ts.map +1 -0
- package/lib/plugins/ScreenDebugPlugin.test.d.ts +2 -0
- package/lib/plugins/ScreenDebugPlugin.test.d.ts.map +1 -0
- package/lib/plugins/index.d.ts +2 -0
- package/lib/plugins/index.d.ts.map +1 -1
- package/lib/plugins/screenDebugFlag.d.ts +2 -0
- package/lib/plugins/screenDebugFlag.d.ts.map +1 -0
- package/lib/plugins/screenDebugFlag.test.d.ts +2 -0
- package/lib/plugins/screenDebugFlag.test.d.ts.map +1 -0
- package/lib/{registries-DlqHRO90.js → registries-BmDw_GV1.js} +237 -221
- package/lib/registries-BmDw_GV1.js.map +1 -0
- package/package.json +1 -1
- package/src/core/Application.ts +8 -0
- package/src/plugins/ScreenDebugPlugin.test.ts +61 -0
- package/src/plugins/ScreenDebugPlugin.ts +174 -0
- package/src/plugins/index.ts +2 -0
- package/src/plugins/screenDebugFlag.test.ts +45 -0
- package/src/plugins/screenDebugFlag.ts +26 -0
- package/src/version.ts +1 -1
- package/lib/registries-DlqHRO90.js.map +0 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Gt as e, W as t } from "./registries-BmDw_GV1.js";
|
|
2
|
+
//#region src/plugins/ScreenDebugPlugin.ts
|
|
3
|
+
var n = /* @__PURE__ */ e({ ScreenDebugPlugin: () => r }), r = class extends t {
|
|
4
|
+
constructor(...e) {
|
|
5
|
+
super(...e), this.id = "screenDebug", this._panel = null, this._visibleBottom = null, this._canvasBottom = null, this._safeAreaProbe = null, this._startedAt = 0, this._timeline = [], this._initialVvH = 0;
|
|
6
|
+
}
|
|
7
|
+
initialize() {
|
|
8
|
+
if (typeof document > "u") return;
|
|
9
|
+
this._startedAt = performance.now(), this._initialVvH = window.visualViewport?.height ?? window.innerHeight, this._panel = document.createElement("div"), this._panel.dataset.caperScreenDebug = "panel", this._panel.style.cssText = "position:fixed;top:8px;left:8px;z-index:999999;pointer-events:none;font:10px/1.4 monospace;color:#9f9;background:rgba(0,0,0,.75);padding:6px 8px;border-radius:4px;max-width:86vw;white-space:pre;", this._visibleBottom = this._makeMarker("red", "visible-bottom"), this._canvasBottom = this._makeMarker("cyan", "canvas-bottom"), document.body.append(this._panel, this._visibleBottom, this._canvasBottom), this.listen(window, "resize", () => this._onViewportEvent("resize")), this.listen(window, "orientationchange", () => this._onViewportEvent("orientationchange")), window.visualViewport && this.listen(window.visualViewport, "resize", () => this._onViewportEvent("vv.resize"));
|
|
10
|
+
let e = window.setInterval(() => this._update(), 500);
|
|
11
|
+
this.addDisposer(() => window.clearInterval(e), () => {
|
|
12
|
+
this._panel?.remove(), this._visibleBottom?.remove(), this._canvasBottom?.remove(), this._safeAreaProbe?.remove(), this._panel = this._visibleBottom = this._canvasBottom = this._safeAreaProbe = null;
|
|
13
|
+
}), this._update();
|
|
14
|
+
}
|
|
15
|
+
_makeMarker(e, t) {
|
|
16
|
+
let n = document.createElement("div");
|
|
17
|
+
return n.dataset.caperScreenDebug = t, n.style.cssText = `position:fixed;left:0;width:100%;height:2px;background:${e};z-index:999999;pointer-events:none;`, n;
|
|
18
|
+
}
|
|
19
|
+
_onViewportEvent(e) {
|
|
20
|
+
let t = window.innerHeight, n = window.visualViewport?.height ?? t;
|
|
21
|
+
this._timeline.push({
|
|
22
|
+
t: performance.now() - this._startedAt,
|
|
23
|
+
type: e,
|
|
24
|
+
innerH: t,
|
|
25
|
+
vvH: n
|
|
26
|
+
}), this._timeline.length > 20 && this._timeline.shift(), this._update();
|
|
27
|
+
}
|
|
28
|
+
_update() {
|
|
29
|
+
if (!this._panel || !this._visibleBottom || !this._canvasBottom) return;
|
|
30
|
+
let e = window.visualViewport, t = this._getCanvas(), n = t?.getBoundingClientRect(), r = this._measureSafeAreaCssPx(), i = this._getRenderer(), a = this._getAppSize(), o = this._getResizer(), s = (e) => Math.round(e * 10) / 10, c = [
|
|
31
|
+
"dvh",
|
|
32
|
+
"svh",
|
|
33
|
+
"lvh",
|
|
34
|
+
"vh"
|
|
35
|
+
].map((e) => `${e} ${s(this._measureViewportUnit(e))}`), l = this._timeline.map((e, t) => {
|
|
36
|
+
let n = this._timeline[t - 1];
|
|
37
|
+
return `+${Math.round(e.t)}ms ${e.type} ${s(n?.vvH ?? this._initialVvH)}→${s(e.vvH)}`;
|
|
38
|
+
});
|
|
39
|
+
this._panel.textContent = [
|
|
40
|
+
`inner ${window.innerWidth}x${window.innerHeight}`,
|
|
41
|
+
`client ${document.documentElement.clientHeight}`,
|
|
42
|
+
`vv ${e ? `${s(e.width)}x${s(e.height)} scale ${e.scale} offsetTop ${s(e.offsetTop)}` : "n/a"}`,
|
|
43
|
+
...c,
|
|
44
|
+
`screen ${window.screen.width}x${window.screen.height}`,
|
|
45
|
+
`dpr ${window.devicePixelRatio}`,
|
|
46
|
+
`standalone ${window.matchMedia("(display-mode: standalone)").matches}`,
|
|
47
|
+
`env ${r.top},${r.right},${r.bottom},${r.left}`,
|
|
48
|
+
`canvas ${n ? `top ${s(n.top)} bottom ${s(n.bottom)} height ${s(n.height)}` : "n/a"} style ${t?.style.height || "n/a"}`,
|
|
49
|
+
`renderer ${i ? `${i.width}x${i.height} resolution ${i.resolution}` : "n/a"}`,
|
|
50
|
+
`app.size ${a ? `${a.width}x${a.height}` : "n/a"}`,
|
|
51
|
+
`resizer ${o ? `scale ${Math.round(o.scale * 1e3) / 1e3} safeArea ${JSON.stringify(o.safeArea)}` : "n/a"}`,
|
|
52
|
+
...l
|
|
53
|
+
].join("\n"), this._visibleBottom.style.top = `${(e ? e.offsetTop + e.height : window.innerHeight) - 2}px`, n ? (this._canvasBottom.style.top = `${n.bottom - 2}px`, this._canvasBottom.style.display = "block") : this._canvasBottom.style.display = "none";
|
|
54
|
+
}
|
|
55
|
+
_measureViewportUnit(e) {
|
|
56
|
+
let t = document.createElement("div");
|
|
57
|
+
t.style.cssText = `position:fixed;height:100${e};visibility:hidden;pointer-events:none;`, document.body.appendChild(t);
|
|
58
|
+
let n = t.getBoundingClientRect().height;
|
|
59
|
+
return t.remove(), n;
|
|
60
|
+
}
|
|
61
|
+
_measureSafeAreaCssPx() {
|
|
62
|
+
this._safeAreaProbe || (this._safeAreaProbe = document.createElement("div"), this._safeAreaProbe.style.cssText = "position:fixed;top:0;left:0;width:0;height:0;visibility:hidden;pointer-events:none;padding-top:env(safe-area-inset-top, 0px);padding-right:env(safe-area-inset-right, 0px);padding-bottom:env(safe-area-inset-bottom, 0px);padding-left:env(safe-area-inset-left, 0px);", document.body.appendChild(this._safeAreaProbe));
|
|
63
|
+
let e = getComputedStyle(this._safeAreaProbe);
|
|
64
|
+
return {
|
|
65
|
+
top: parseFloat(e.paddingTop) || 0,
|
|
66
|
+
right: parseFloat(e.paddingRight) || 0,
|
|
67
|
+
bottom: parseFloat(e.paddingBottom) || 0,
|
|
68
|
+
left: parseFloat(e.paddingLeft) || 0
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
_getCanvas() {
|
|
72
|
+
try {
|
|
73
|
+
return this.app.renderer?.canvas ?? null;
|
|
74
|
+
} catch {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
_getRenderer() {
|
|
79
|
+
try {
|
|
80
|
+
return this.app.renderer ?? null;
|
|
81
|
+
} catch {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
_getAppSize() {
|
|
86
|
+
try {
|
|
87
|
+
return this.app.size ?? null;
|
|
88
|
+
} catch {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
_getResizer() {
|
|
93
|
+
try {
|
|
94
|
+
return this.app.resizer ?? null;
|
|
95
|
+
} catch {
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
//#endregion
|
|
101
|
+
export { n, r as t };
|
|
102
|
+
|
|
103
|
+
//# sourceMappingURL=ScreenDebugPlugin-C6pxs_3O.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenDebugPlugin-C6pxs_3O.js","names":[],"sources":["../src/plugins/ScreenDebugPlugin.ts"],"sourcesContent":["import { Plugin } from './Plugin';\n\ntype TimelineEntry = { t: number; type: string; innerH: number; vvH: number };\n\nexport class ScreenDebugPlugin extends Plugin {\n public readonly id = 'screenDebug';\n\n private _panel: HTMLDivElement | null = null;\n private _visibleBottom: HTMLDivElement | null = null;\n private _canvasBottom: HTMLDivElement | null = null;\n private _safeAreaProbe: HTMLDivElement | null = null;\n private _startedAt = 0;\n private _timeline: TimelineEntry[] = [];\n private _initialVvH = 0;\n\n public initialize(): void {\n if (typeof document === 'undefined') {\n return;\n }\n\n this._startedAt = performance.now();\n this._initialVvH = window.visualViewport?.height ?? window.innerHeight;\n\n this._panel = document.createElement('div');\n this._panel.dataset.caperScreenDebug = 'panel';\n this._panel.style.cssText =\n 'position:fixed;top:8px;left:8px;z-index:999999;pointer-events:none;font:10px/1.4 monospace;' +\n 'color:#9f9;background:rgba(0,0,0,.75);padding:6px 8px;border-radius:4px;max-width:86vw;white-space:pre;';\n this._visibleBottom = this._makeMarker('red', 'visible-bottom');\n this._canvasBottom = this._makeMarker('cyan', 'canvas-bottom');\n document.body.append(this._panel, this._visibleBottom, this._canvasBottom);\n\n this.listen(window, 'resize', () => this._onViewportEvent('resize'));\n this.listen(window, 'orientationchange', () => this._onViewportEvent('orientationchange'));\n if (window.visualViewport) {\n this.listen(window.visualViewport, 'resize', () => this._onViewportEvent('vv.resize'));\n }\n\n const interval = window.setInterval(() => this._update(), 500);\n this.addDisposer(\n () => window.clearInterval(interval),\n () => {\n this._panel?.remove();\n this._visibleBottom?.remove();\n this._canvasBottom?.remove();\n this._safeAreaProbe?.remove();\n this._panel = this._visibleBottom = this._canvasBottom = this._safeAreaProbe = null;\n },\n );\n this._update();\n }\n\n private _makeMarker(color: string, name: string): HTMLDivElement {\n const marker = document.createElement('div');\n marker.dataset.caperScreenDebug = name;\n marker.style.cssText =\n `position:fixed;left:0;width:100%;height:2px;background:${color};` +\n 'z-index:999999;pointer-events:none;';\n return marker;\n }\n\n private _onViewportEvent(type: string): void {\n const innerH = window.innerHeight;\n const vvH = window.visualViewport?.height ?? innerH;\n this._timeline.push({ t: performance.now() - this._startedAt, type, innerH, vvH });\n if (this._timeline.length > 20) {\n this._timeline.shift();\n }\n this._update();\n }\n\n private _update(): void {\n if (!this._panel || !this._visibleBottom || !this._canvasBottom) {\n return;\n }\n\n const vv = window.visualViewport;\n const canvas = this._getCanvas();\n const canvasRect = canvas?.getBoundingClientRect();\n const safeArea = this._measureSafeAreaCssPx();\n const renderer = this._getRenderer();\n const appSize = this._getAppSize();\n const resizer = this._getResizer();\n const r = (n: number) => Math.round(n * 10) / 10;\n const viewportUnits = ['dvh', 'svh', 'lvh', 'vh'].map((unit) => `${unit} ${r(this._measureViewportUnit(unit))}`);\n const events = this._timeline.map((event, index) => {\n const prior = this._timeline[index - 1];\n return `+${Math.round(event.t)}ms ${event.type} ${r(prior?.vvH ?? this._initialVvH)}→${r(event.vvH)}`;\n });\n\n this._panel.textContent = [\n `inner ${window.innerWidth}x${window.innerHeight}`,\n `client ${document.documentElement.clientHeight}`,\n `vv ${vv ? `${r(vv.width)}x${r(vv.height)} scale ${vv.scale} offsetTop ${r(vv.offsetTop)}` : 'n/a'}`,\n ...viewportUnits,\n `screen ${window.screen.width}x${window.screen.height}`,\n `dpr ${window.devicePixelRatio}`,\n `standalone ${window.matchMedia('(display-mode: standalone)').matches}`,\n `env ${safeArea.top},${safeArea.right},${safeArea.bottom},${safeArea.left}`,\n `canvas ${canvasRect ? `top ${r(canvasRect.top)} bottom ${r(canvasRect.bottom)} height ${r(canvasRect.height)}` : 'n/a'} style ${canvas?.style.height || 'n/a'}`,\n `renderer ${renderer ? `${renderer.width}x${renderer.height} resolution ${renderer.resolution}` : 'n/a'}`,\n `app.size ${appSize ? `${appSize.width}x${appSize.height}` : 'n/a'}`,\n `resizer ${resizer ? `scale ${Math.round(resizer.scale * 1000) / 1000} safeArea ${JSON.stringify(resizer.safeArea)}` : 'n/a'}`,\n ...events,\n ].join('\\n');\n\n this._visibleBottom.style.top = `${(vv ? vv.offsetTop + vv.height : window.innerHeight) - 2}px`;\n if (canvasRect) {\n this._canvasBottom.style.top = `${canvasRect.bottom - 2}px`;\n this._canvasBottom.style.display = 'block';\n } else {\n this._canvasBottom.style.display = 'none';\n }\n }\n\n private _measureViewportUnit(unit: string): number {\n const probe = document.createElement('div');\n probe.style.cssText = `position:fixed;height:100${unit};visibility:hidden;pointer-events:none;`;\n document.body.appendChild(probe);\n const height = probe.getBoundingClientRect().height;\n probe.remove();\n return height;\n }\n\n private _measureSafeAreaCssPx(): { top: number; right: number; bottom: number; left: number } {\n if (!this._safeAreaProbe) {\n this._safeAreaProbe = document.createElement('div');\n this._safeAreaProbe.style.cssText =\n 'position:fixed;top:0;left:0;width:0;height:0;visibility:hidden;pointer-events:none;' +\n 'padding-top:env(safe-area-inset-top, 0px);padding-right:env(safe-area-inset-right, 0px);' +\n 'padding-bottom:env(safe-area-inset-bottom, 0px);padding-left:env(safe-area-inset-left, 0px);';\n document.body.appendChild(this._safeAreaProbe);\n }\n const style = getComputedStyle(this._safeAreaProbe);\n return {\n top: parseFloat(style.paddingTop) || 0,\n right: parseFloat(style.paddingRight) || 0,\n bottom: parseFloat(style.paddingBottom) || 0,\n left: parseFloat(style.paddingLeft) || 0,\n };\n }\n\n private _getCanvas(): HTMLCanvasElement | null {\n try {\n return (this.app.renderer?.canvas as HTMLCanvasElement | undefined) ?? null;\n } catch {\n return null;\n }\n }\n\n private _getRenderer(): { width: number; height: number; resolution: number } | null {\n try {\n return this.app.renderer ?? null;\n } catch {\n return null;\n }\n }\n\n private _getAppSize(): { width: number; height: number } | null {\n try {\n return this.app.size ?? null;\n } catch {\n return null;\n }\n }\n\n private _getResizer(): { scale: number; safeArea: unknown } | null {\n try {\n return this.app.resizer ?? null;\n } catch {\n return null;\n }\n }\n}\n"],"mappings":";;2DAIa,IAAb,cAAuC,EAAO;;yBACvB,6BAEmB,4BACQ,2BACD,4BACC,wBAC3B,oBACgB,EAAE,qBACjB;;CAEtB,aAA0B;AACxB,MAAI,OAAO,WAAa,IACtB;AAiBF,EAdA,KAAK,aAAa,YAAY,KAAK,EACnC,KAAK,cAAc,OAAO,gBAAgB,UAAU,OAAO,aAE3D,KAAK,SAAS,SAAS,cAAc,MAAM,EAC3C,KAAK,OAAO,QAAQ,mBAAmB,SACvC,KAAK,OAAO,MAAM,UAChB,sMAEF,KAAK,iBAAiB,KAAK,YAAY,OAAO,iBAAiB,EAC/D,KAAK,gBAAgB,KAAK,YAAY,QAAQ,gBAAgB,EAC9D,SAAS,KAAK,OAAO,KAAK,QAAQ,KAAK,gBAAgB,KAAK,cAAc,EAE1E,KAAK,OAAO,QAAQ,gBAAgB,KAAK,iBAAiB,SAAS,CAAC,EACpE,KAAK,OAAO,QAAQ,2BAA2B,KAAK,iBAAiB,oBAAoB,CAAC,EACtF,OAAO,kBACT,KAAK,OAAO,OAAO,gBAAgB,gBAAgB,KAAK,iBAAiB,YAAY,CAAC;EAGxF,IAAM,IAAW,OAAO,kBAAkB,KAAK,SAAS,EAAE,IAAI;AAW9D,EAVA,KAA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AS,EAAM,uBAAuB,CAAC;AAE7C,SADA,EAAM,QAAQ,EACP;;CAGT,wBAA8F;AAC5F,EAAK,KAAK,mBACR,KAAK,iBAAiB,SAAS,cAAc,MAAM,EACnD,KAAK,eAAe,MAAM,UACxB,2QAGF,SAAS,KAAK,YAAY,KAAK,eAAe;EAEhD,IAAM,IAAQ,iBAAiB,KAAK,eAAe;AACnD,SAAO;GACL,KAAK,WAAW,EAAM,WAAW,IAAI;GACrC,OAAO,WAAW,EAAM,aAAa,IAAI;GACzC,QAAQ,WAAW,EAAM,cAAc,IAAI;GAC3C,MAAM,WAAW,EAAM,YAAY,IAAI;GACxC;;CAGH,aAA+C;AAC7C,MAAI;AACF,UAAQ,KAAK,IAAI,UAAU,UAA4C;UACjE;AACN,UAAO;;;CAIX,eAAqF;AACnF,MAAI;AACF,UAAO,KAAK,IAAI,YAAY;UACtB;AACN,UAAO;;;CAIX,cAAgE;AAC9D,MAAI;AACF,UAAO,KAAK,IAAI,QAAQ;UAClB;AACN,UAAO;;;CAIX,cAAmE;AACjE,MAAI;AACF,UAAO,KAAK,IAAI,WAAW;UACrB;AACN,UAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as e } from "./registries-BmDw_GV1.js";
|
|
2
2
|
import { Assets as t, Cache as n, Container as r, DEG_TO_RAD as i, DOMAdapter as a, ExtensionType as o, Graphics as s, LoaderParserPriority as c, Resolver as l, Texture as u, TextureSource as d, Ticker as f, ViewContainer as p, checkExtension as m, extensions as h, fastCopy as g, path as _ } from "pixi.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.84/node_modules/@esotericsoftware/spine-core/dist/Utils.js
|
|
4
4
|
var v = class {
|
|
@@ -5971,4 +5971,4 @@ var dn = new en(), fn = new S(() => new s()), pn = class e extends p {
|
|
|
5971
5971
|
//#endregion
|
|
5972
5972
|
export { mn as SpinePlugin };
|
|
5973
5973
|
|
|
5974
|
-
//# sourceMappingURL=SpinePlugin-
|
|
5974
|
+
//# sourceMappingURL=SpinePlugin-CrQhaK6r.js.map
|