@expofp/floorplan 3.1.8 → 3.1.9

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 (63) hide show
  1. package/dist/browser/{CookieConsent-BWIz5A9p.js → CookieConsent-C4eKGuNJ.js} +353 -353
  2. package/dist/browser/{Debug-Dc-CpIuW.js → Debug-BK0h3ENt.js} +13 -13
  3. package/dist/browser/{Demo-C-gDoJHz.js → Demo-DKWnVx5b.js} +13 -13
  4. package/dist/browser/{Free-B_Nc0lBV.js → Free-CJhiGdSU.js} +15 -15
  5. package/dist/browser/{Gallery-NW3tpm3U.js → Gallery-DMfpZoE0.js} +59 -59
  6. package/dist/browser/{GpsLoader-BgtxLTgL.js → GpsLoader-DS9DXlBR.js} +35 -35
  7. package/dist/browser/{KioskStore-O9lcbMgO.js → KioskStore-CiEM9CMf.js} +4 -4
  8. package/dist/browser/{Mapbox-n8XdO_JZ.js → Mapbox-BBw_6HBr.js} +9 -9
  9. package/dist/browser/{SetKioskMode-BSrhzr-T.js → SetKioskMode-DgygnfNq.js} +8 -8
  10. package/dist/browser/{ShowKiosk-ChdkT29W.js → ShowKiosk-BclMWRLG.js} +10 -10
  11. package/dist/browser/{ThreeComponent-C9NgJy3L.js → ThreeComponent-CTQ2sWc-.js} +16 -16
  12. package/dist/browser/{TouchHand-j9wM9VIW.js → TouchHand-lZlKGKGH.js} +5 -5
  13. package/dist/browser/{ViewerMenuPanel-B-eQvgxu.js → ViewerMenuPanel-fZCPm9TA.js} +19 -19
  14. package/dist/browser/{add-debug-secret-listener-hyBkCStK.js → add-debug-secret-listener-jHGzZuWM.js} +1 -1
  15. package/dist/browser/boolean-editor-DNFYN4Sx.js +158 -0
  16. package/dist/browser/{bootIntercom-CWJHIFsy.js → bootIntercom-DWQX7Nxl.js} +1 -1
  17. package/dist/browser/browser-Dpy-Cy8d.js +198 -0
  18. package/dist/browser/bundle.json +62 -44
  19. package/dist/browser/{chunk-CmzsSKsP.js → chunk-BfzSeyLK.js} +1 -1
  20. package/dist/browser/{classnames-CV7GydgO.js → classnames-BW7mCZyh.js} +2 -2
  21. package/dist/browser/{client-CW46IlZK.js → client-Cn3Z9ang.js} +5 -5
  22. package/dist/browser/{data-BFFP23Yx.js → data-7hb4vDd3.js} +4 -4
  23. package/dist/browser/debug-namespaces-editor-CmUqG69-.js +119 -0
  24. package/dist/browser/{debug-overlay-DK1IpDkH.js → debug-overlay-B-e5Pbxg.js} +1468 -1264
  25. package/dist/browser/{debug-ui-Bk_cgOg0.js → debug-ui-DxiU8oSt.js} +7 -7
  26. package/dist/browser/{dist-msXGDyJE.js → dist-DD4WWKtK.js} +7 -7
  27. package/dist/browser/{exports-CWJfbRRi.js → exports-lQhByCca.js} +1 -1
  28. package/dist/browser/{favicon-Dx5hE2TC.js → favicon-VUxEiZxq.js} +1 -1
  29. package/dist/browser/{fetch-retry.umd--f_V0nbP.js → fetch-retry.umd-BDjT0rTs.js} +2 -2
  30. package/dist/browser/flex-SvJc8Gd0.js +217 -0
  31. package/dist/browser/{flex-DayQlZNC.js → flex.props-DnHjeP6T.js} +165 -368
  32. package/dist/browser/{floorplan.loader-ChwMFO3K.js → floorplan.loader-D1izAjdW.js} +643 -643
  33. package/dist/browser/{floorplan.ready-DH6TL_BA.js → floorplan.ready-DqeRjOqu.js} +214 -213
  34. package/dist/browser/{fuse-Cx2xVr92.js → fuse-ESGGgZWs.js} +2 -2
  35. package/dist/browser/index.js +70 -53
  36. package/dist/browser/{is-debug-DeMC2fj6.js → is-debug-C64aYlrH.js} +654 -838
  37. package/dist/browser/{jsx-runtime-CeW-_L98.js → jsx-runtime-v8j39o0i.js} +2 -2
  38. package/dist/browser/{lib-ouUEfatK.js → lib-DW2iYgnU.js} +5 -5
  39. package/dist/browser/log-store-l_zfzIvt.js +26 -0
  40. package/dist/browser/{main-C8DYHeS3.js → main-_sD237P5.js} +1 -1
  41. package/dist/browser/mobx-BWJGyD6x.js +24 -0
  42. package/dist/browser/{particles.min-CuOEuyDw.js → particles.min-9AV6GYes.js} +2 -2
  43. package/dist/browser/{prop-types-CkH4l5ny.js → prop-types-CJoAWh1g.js} +2 -2
  44. package/dist/browser/{react-_GkslNER.js → react-DBhCWCTi.js} +2 -2
  45. package/dist/browser/{react-dom-Cq9do5W9.js → react-dom-DRChqii1.js} +4 -4
  46. package/dist/browser/register-debug-namespaces-setting-Kg13ON9A.js +27 -0
  47. package/dist/browser/reset-all-settings-NSxrFuY5.js +15 -0
  48. package/dist/browser/{reset-all-settings-hgrZphbe.js → setting-registry-xuc0QrRD.js} +3 -8
  49. package/dist/browser/{settings-BIMaTEyo.js → settings-DLHiz1Aj.js} +15 -14
  50. package/dist/browser/settings-item-BT3bl2Bv.js +67 -0
  51. package/dist/browser/{store-B0ML_owv.js → store-BspVk_2u.js} +5290 -5289
  52. package/dist/browser/ui-fwuZcurI.js +36 -0
  53. package/dist/esm/_misc_to_move/logBuildInfo.js +1 -1
  54. package/dist/esm/index.d.ts +1 -0
  55. package/dist/esm/index.js +1 -1
  56. package/dist/esm/load.js +1 -1
  57. package/package.json +3 -3
  58. package/dist/browser/boolean-editor-CtepaQAf.js +0 -206
  59. package/dist/browser/mobx-BTzRLiLH.js +0 -24
  60. package/dist/browser/src-BGoCtwZn.js +0 -19
  61. package/dist/browser/ui-vdOqnu50.js +0 -33
  62. package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +0 -2
  63. package/dist/esm/_misc_to_move/logBuildInfoImpl.js +0 -1
@@ -0,0 +1,36 @@
1
+ (function() {
2
+ try {
3
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
+ e.SENTRY_RELEASE = { id: "3.1.9" };
5
+ var t = new e.Error().stack;
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "36f0875c-bea7-4f23-8e16-f275e108111b", e._sentryDebugIdIdentifier = "sentry-dbid-36f0875c-bea7-4f23-8e16-f275e108111b");
7
+ } catch {}
8
+ })();
9
+ import { r as e } from "./chunk-BfzSeyLK.js";
10
+ import { t } from "./jsx-runtime-v8j39o0i.js";
11
+ import { t as n } from "./settings-DLHiz1Aj.js";
12
+ import { i as r } from "./register-debug-namespaces-setting-Kg13ON9A.js";
13
+ import { t as i } from "./add-debug-secret-listener-jHGzZuWM.js";
14
+ //#region ../debug/src/lib/ui/render-debug-ui.tsx
15
+ var a = t(), o = !1;
16
+ function s() {
17
+ if (o) return;
18
+ o = !0;
19
+ let t = n("Show Debug Button Overlay");
20
+ r();
21
+ let s = async (n) => {
22
+ let { DebugUi: r } = await import("./debug-ui-DxiU8oSt.js"), { createRoot: i } = await import("./client-Cn3Z9ang.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
23
+ document.body.appendChild(o), i(o).render(/* @__PURE__ */ (0, a.jsx)(r, {
24
+ useDebugButtonState: t.useState,
25
+ open: n
26
+ }));
27
+ };
28
+ if (t.get()) s(!1);
29
+ else {
30
+ let e = i(() => {
31
+ e(), t.set(!0), s(!0);
32
+ });
33
+ }
34
+ }
35
+ //#endregion
36
+ export { s as renderDebugUi };
@@ -1 +1 @@
1
- export function logBuildInfo(){import("./logBuildInfoImpl").then(({logBuildInfo:o})=>{o()})}
1
+ export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}
@@ -1,3 +1,4 @@
1
+ import '@expofp/debug';
1
2
  export { load } from './load';
2
3
  export type * from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
1
+ import"@expofp/debug";import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
package/dist/esm/load.js CHANGED
@@ -1,4 +1,4 @@
1
- import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/logBuildInfoImpl";import u from"./floorplan.loader";const f=p("efp:load");export async function load(s,t){h(),y();const n={...await c(s),...t},r=n.element;let o;if(typeof r=="string"){const i=document.querySelector(r);if(!i)throw new Error(`Element not found for selector: ${r}`);o=i}else r?o=r:(o=document.getElementById("floorplan"),o||(o=document.createElement("div"),g(o),document.body.appendChild(o)));const e=o.style;e.width=e.width||"100vw",e.height=e.height||"100vh",e.position=e.position||"fixed",!e.top&&!e.bottom&&(e.top="0"),!e.left&&!e.right&&(e.left="0"),e.touchAction=e.touchAction||"none",e.background=e.background||"#fff",e.transition=e.transition||"background-color 2s ease",e.overflow=e.overflow||"hidden",requestAnimationFrame(()=>{e.backgroundColor="#ebebeb"});const m=n.legacyDataUrlBase;if(f("legacyDataUrlBase",m),n.legacyDataVersion)try{const{version:i}=await c(n.legacyDataVersion);globalThis.__fpDataVersion=i}catch{f("Could not resolve version")}const a=new u({...n,element:o}),d=window.___fpResolve;return window.___fp=a,d&&(a.ready.then(()=>d(a)),delete window.___fpResolve),a.ready.then(()=>window.dispatchEvent(new CustomEvent("expofp:ready",{detail:{floorplan:a}}))),import("@expofp/debug").then(({initDebug:i})=>i()).catch(()=>{}),a}function g(s){if(!document.adoptedStyleSheets)return;const t="efp-runtime-loader-spinner",l=`
1
+ import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/logBuildInfo";import u from"./floorplan.loader";const f=p("efp:load");export async function load(s,t){h(),y();const n={...await c(s),...t},r=n.element;let o;if(typeof r=="string"){const i=document.querySelector(r);if(!i)throw new Error(`Element not found for selector: ${r}`);o=i}else r?o=r:(o=document.getElementById("floorplan"),o||(o=document.createElement("div"),g(o),document.body.appendChild(o)));const e=o.style;e.width=e.width||"100vw",e.height=e.height||"100vh",e.position=e.position||"fixed",!e.top&&!e.bottom&&(e.top="0"),!e.left&&!e.right&&(e.left="0"),e.touchAction=e.touchAction||"none",e.background=e.background||"#fff",e.transition=e.transition||"background-color 2s ease",e.overflow=e.overflow||"hidden",requestAnimationFrame(()=>{e.backgroundColor="#ebebeb"});const m=n.legacyDataUrlBase;if(f("legacyDataUrlBase",m),n.legacyDataVersion)try{const{version:i}=await c(n.legacyDataVersion);globalThis.__fpDataVersion=i}catch{f("Could not resolve version")}const a=new u({...n,element:o}),d=window.___fpResolve;return window.___fp=a,d&&(a.ready.then(()=>d(a)),delete window.___fpResolve),a.ready.then(()=>window.dispatchEvent(new CustomEvent("expofp:ready",{detail:{floorplan:a}}))),a}function g(s){if(!document.adoptedStyleSheets)return;const t="efp-runtime-loader-spinner",l=`
2
2
  .${t} {
3
3
  position: fixed;
4
4
  top: 50%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/floorplan",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -76,8 +76,8 @@
76
76
  "twgl.js": "^4.14.0",
77
77
  "uuid": "^9.0.1",
78
78
  "zod": "4.3.5",
79
- "@expofp/resolve": "3.1.8",
80
- "@expofp/debug": "3.1.8"
79
+ "@expofp/resolve": "3.1.9",
80
+ "@expofp/debug": "3.1.9"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@babel/plugin-proposal-decorators": "^7.29.0",
@@ -1,206 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.1.8" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "771a4998-bda8-45cd-9258-4be2abff98c2", e._sentryDebugIdIdentifier = "sentry-dbid-771a4998-bda8-45cd-9258-4be2abff98c2");
7
- } catch {}
8
- })();
9
- import { r as e } from "./chunk-CmzsSKsP.js";
10
- import { t } from "./react-_GkslNER.js";
11
- import { t as n } from "./jsx-runtime-CeW-_L98.js";
12
- import { C as r, D as i, N as a, O as o, S as s, T as c, _ as l, a as u, c as d, m as f, n as p, o as m, s as h, t as g } from "./flex-DayQlZNC.js";
13
- import { t as _ } from "./classnames-CV7GydgO.js";
14
- //#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-previous/dist/index.mjs
15
- var v = /* @__PURE__ */ e(t(), 1);
16
- function y(e) {
17
- let t = v.useRef({
18
- value: e,
19
- previous: e
20
- });
21
- return v.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
22
- }
23
- //#endregion
24
- //#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_7ca460f1f67ff8c5b086b59b47ac08b0/node_modules/@radix-ui/react-switch/dist/index.mjs
25
- var b = n(), x = "Switch", [S, C] = i(x), [w, T] = S(x), E = v.forwardRef((e, t) => {
26
- let { __scopeSwitch: n, name: i, checked: s, defaultChecked: l, required: u, disabled: d, value: f = "on", onCheckedChange: p, form: m, ...h } = e, [g, _] = v.useState(null), y = a(t, (e) => _(e)), S = v.useRef(!1), C = g ? m || !!g.closest("form") : !0, [T, E] = r({
27
- prop: s,
28
- defaultProp: l == null ? !1 : l,
29
- onChange: p,
30
- caller: x
31
- });
32
- return /* @__PURE__ */ (0, b.jsxs)(w, {
33
- scope: n,
34
- checked: T,
35
- disabled: d,
36
- children: [/* @__PURE__ */ (0, b.jsx)(o.button, {
37
- type: "button",
38
- role: "switch",
39
- "aria-checked": T,
40
- "aria-required": u,
41
- "data-state": j(T),
42
- "data-disabled": d ? "" : void 0,
43
- disabled: d,
44
- value: f,
45
- ...h,
46
- ref: y,
47
- onClick: c(e.onClick, (e) => {
48
- E((e) => !e), C && (S.current = e.isPropagationStopped(), S.current || e.stopPropagation());
49
- })
50
- }), C && /* @__PURE__ */ (0, b.jsx)(A, {
51
- control: g,
52
- bubbles: !S.current,
53
- name: i,
54
- value: f,
55
- checked: T,
56
- required: u,
57
- disabled: d,
58
- form: m,
59
- style: { transform: "translateX(-100%)" }
60
- })]
61
- });
62
- });
63
- E.displayName = x;
64
- var D = "SwitchThumb", O = v.forwardRef((e, t) => {
65
- let { __scopeSwitch: n, ...r } = e, i = T(D, n);
66
- return /* @__PURE__ */ (0, b.jsx)(o.span, {
67
- "data-state": j(i.checked),
68
- "data-disabled": i.disabled ? "" : void 0,
69
- ...r,
70
- ref: t
71
- });
72
- });
73
- O.displayName = D;
74
- var k = "SwitchBubbleInput", A = v.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: r = !0, ...i }, o) => {
75
- let c = v.useRef(null), l = a(c, o), u = y(n), d = s(t);
76
- return v.useEffect(() => {
77
- let e = c.current;
78
- if (!e) return;
79
- let t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked").set;
80
- if (u !== n && i) {
81
- let t = new Event("click", { bubbles: r });
82
- i.call(e, n), e.dispatchEvent(t);
83
- }
84
- }, [
85
- u,
86
- n,
87
- r
88
- ]), /* @__PURE__ */ (0, b.jsx)("input", {
89
- type: "checkbox",
90
- "aria-hidden": !0,
91
- defaultChecked: n,
92
- ...i,
93
- tabIndex: -1,
94
- ref: l,
95
- style: {
96
- ...i.style,
97
- ...d,
98
- position: "absolute",
99
- pointerEvents: "none",
100
- opacity: 0,
101
- margin: 0
102
- }
103
- });
104
- });
105
- A.displayName = k;
106
- function j(e) {
107
- return e ? "checked" : "unchecked";
108
- }
109
- var M = E, N = O, P = {
110
- orientation: {
111
- type: "enum",
112
- className: "rt-r-orientation",
113
- values: ["horizontal", "vertical"],
114
- default: "horizontal",
115
- responsive: !0
116
- },
117
- size: {
118
- type: "enum",
119
- className: "rt-r-size",
120
- values: [
121
- "1",
122
- "2",
123
- "3",
124
- "4"
125
- ],
126
- default: "1",
127
- responsive: !0
128
- },
129
- color: {
130
- ...l.color,
131
- default: "gray"
132
- },
133
- decorative: {
134
- type: "boolean",
135
- default: !0
136
- }
137
- }, F = /* @__PURE__ */ e(_()), I = v.forwardRef((e, t) => {
138
- let { className: n, color: r, decorative: i, ...a } = d(e, P, h);
139
- return v.createElement("span", {
140
- "data-accent-color": r,
141
- role: i ? void 0 : "separator",
142
- ...a,
143
- ref: t,
144
- className: (0, F.default)("rt-Separator", n)
145
- });
146
- });
147
- I.displayName = "Separator";
148
- //#endregion
149
- //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._c0b9fed6e211d5c83adcfe1ae3769049/node_modules/@radix-ui/themes/dist/esm/components/switch.props.js
150
- var L = {
151
- size: {
152
- type: "enum",
153
- className: "rt-r-size",
154
- values: [
155
- "1",
156
- "2",
157
- "3"
158
- ],
159
- default: "2",
160
- responsive: !0
161
- },
162
- variant: {
163
- type: "enum",
164
- className: "rt-variant",
165
- values: [
166
- "classic",
167
- "surface",
168
- "soft"
169
- ],
170
- default: "surface"
171
- },
172
- ...l,
173
- ...f,
174
- ...u
175
- }, R = v.forwardRef((e, t) => {
176
- let { className: n, color: r, radius: i, ...a } = d(e, L, h);
177
- return v.createElement(M, {
178
- "data-accent-color": r,
179
- "data-radius": i,
180
- ...a,
181
- asChild: !1,
182
- ref: t,
183
- className: (0, F.default)("rt-reset", "rt-SwitchRoot", n)
184
- }, v.createElement(N, { className: (0, F.default)("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
185
- });
186
- R.displayName = "Switch";
187
- //#endregion
188
- //#region ../debug/src/lib/ui/settings-item.tsx
189
- var z = ({ label: e, children: t }) => /* @__PURE__ */ (0, b.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, b.jsxs)(p, { children: [/* @__PURE__ */ (0, b.jsx)(m, {
190
- size: "4",
191
- children: e
192
- }), /* @__PURE__ */ (0, b.jsx)(p, {
193
- mt: "10px",
194
- children: t
195
- })] }), /* @__PURE__ */ (0, b.jsx)(I, {
196
- size: "4",
197
- my: "20px"
198
- })] }), B = (e) => /* @__PURE__ */ (0, b.jsx)(z, {
199
- label: e.label,
200
- children: /* @__PURE__ */ (0, b.jsx)(g, { children: /* @__PURE__ */ (0, b.jsx)(R, {
201
- checked: e.value,
202
- onCheckedChange: (t) => e.onChange(t)
203
- }) })
204
- });
205
- //#endregion
206
- export { B as BooleanEditor };
@@ -1,24 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.1.8" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5502080e-bef5-4a57-9d7d-8a45c2ec4b84", e._sentryDebugIdIdentifier = "sentry-dbid-5502080e-bef5-4a57-9d7d-8a45c2ec4b84");
7
- } catch {}
8
- })();
9
- import { r as e } from "./chunk-CmzsSKsP.js";
10
- import { m as t, y as n } from "./is-debug-DeMC2fj6.js";
11
- import { t as r } from "./react-_GkslNER.js";
12
- //#region src/utils/mobx.ts
13
- var i = /* @__PURE__ */ e(r(), 1);
14
- function a(e, n) {
15
- return (0, i.useEffect)(() => t(e, n), []);
16
- }
17
- function o(e, t, r) {
18
- return (0, i.useEffect)(() => n(e, t, r), []);
19
- }
20
- function s(e) {
21
- return (0, i.useEffect)(e, []);
22
- }
23
- //#endregion
24
- export { s as n, o as r, a as t };
@@ -1,19 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.1.8" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "296827ff-4fe5-4907-9b96-cec1ee89058c", e._sentryDebugIdIdentifier = "sentry-dbid-296827ff-4fe5-4907-9b96-cec1ee89058c");
7
- } catch {}
8
- })();
9
- import "./reset-all-settings-hgrZphbe.js";
10
- import "./settings-BIMaTEyo.js";
11
- //#region ../debug/src/lib/init-debug.tsx
12
- var e = !1;
13
- function t() {
14
- e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-vdOqnu50.js").then(({ renderDebugUi: e }) => {
15
- e();
16
- }).catch(() => {}));
17
- }
18
- //#endregion
19
- export { t as initDebug };
@@ -1,33 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.1.8" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "366e3673-c350-4f8b-b0f3-9cc93894014c", e._sentryDebugIdIdentifier = "sentry-dbid-366e3673-c350-4f8b-b0f3-9cc93894014c");
7
- } catch {}
8
- })();
9
- import { r as e } from "./chunk-CmzsSKsP.js";
10
- import { t } from "./jsx-runtime-CeW-_L98.js";
11
- import { t as n } from "./settings-BIMaTEyo.js";
12
- import { t as r } from "./add-debug-secret-listener-hyBkCStK.js";
13
- //#region ../debug/src/lib/ui/render-debug-ui.tsx
14
- var i = t(), a = !1;
15
- function o() {
16
- if (a) return;
17
- a = !0;
18
- let t = n("Show Debug Button Overlay"), o = async (n) => {
19
- let { DebugUi: r } = await import("./debug-ui-Bk_cgOg0.js"), { createRoot: a } = await import("./client-CW46IlZK.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
20
- document.body.appendChild(o), a(o).render(/* @__PURE__ */ (0, i.jsx)(r, {
21
- useDebugButtonState: t.useState,
22
- open: n
23
- }));
24
- };
25
- if (t.get()) o(!1);
26
- else {
27
- let e = r(() => {
28
- e(), t.set(!0), o(!0);
29
- });
30
- }
31
- }
32
- //#endregion
33
- export { o as renderDebugUi };
@@ -1,2 +0,0 @@
1
- export declare function logBuildInfo(): void;
2
- //# sourceMappingURL=logBuildInfoImpl.d.ts.map
@@ -1 +0,0 @@
1
- export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}