shinkom 1.0.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 (58) hide show
  1. package/LICENSE.md +7 -0
  2. package/README.md +399 -0
  3. package/dist/bundles/_virtual/_rolldown/runtime.js +14 -0
  4. package/dist/bundles/core/constants.d.ts +16 -0
  5. package/dist/bundles/core/constants.js +20 -0
  6. package/dist/bundles/core/event-bus.d.ts +33 -0
  7. package/dist/bundles/core/event-bus.js +36 -0
  8. package/dist/bundles/core/helpers.js +25 -0
  9. package/dist/bundles/core/index.d.ts +12 -0
  10. package/dist/bundles/core/index.js +12 -0
  11. package/dist/bundles/core/state-service.d.ts +37 -0
  12. package/dist/bundles/core/state-service.js +60 -0
  13. package/dist/bundles/core/ui-component.d.ts +45 -0
  14. package/dist/bundles/core/ui-component.js +52 -0
  15. package/dist/bundles/engine/engine.d.ts +61 -0
  16. package/dist/bundles/engine/engine.js +154 -0
  17. package/dist/bundles/engine/index.js +8 -0
  18. package/dist/bundles/gen/browser-data.js +96 -0
  19. package/dist/bundles/gen/browser-usage-data.js +669 -0
  20. package/dist/bundles/gen/compat-data.js +1 -0
  21. package/dist/bundles/gen/index.js +14 -0
  22. package/dist/bundles/index.d.ts +16 -0
  23. package/dist/bundles/index.js +17 -0
  24. package/dist/bundles/node_modules/@mdn/browser-compat-data/types.d.ts +78 -0
  25. package/dist/bundles/pkg/shinkore.d.ts +51 -0
  26. package/dist/bundles/pkg/shinkore.js +462 -0
  27. package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
  28. package/dist/bundles/shinkom.d.ts +34 -0
  29. package/dist/bundles/shinkom.js +55 -0
  30. package/dist/bundles/types/public.d.ts +73 -0
  31. package/dist/bundles/ui/compat-ui/compat-ui.d.ts +33 -0
  32. package/dist/bundles/ui/compat-ui/compat-ui.js +49 -0
  33. package/dist/bundles/ui/control-panel/control-panel.d.ts +39 -0
  34. package/dist/bundles/ui/control-panel/control-panel.js +409 -0
  35. package/dist/bundles/ui/index.d.ts +11 -0
  36. package/dist/bundles/ui/index.js +11 -0
  37. package/dist/bundles/ui/inspector/inspector.d.ts +44 -0
  38. package/dist/bundles/ui/inspector/inspector.js +314 -0
  39. package/dist/modules/core/constants.cjs +1 -0
  40. package/dist/modules/core/event-bus.cjs +1 -0
  41. package/dist/modules/core/helpers.cjs +1 -0
  42. package/dist/modules/core/index.cjs +1 -0
  43. package/dist/modules/core/state-service.cjs +1 -0
  44. package/dist/modules/core/ui-component.cjs +1 -0
  45. package/dist/modules/engine/engine.cjs +1 -0
  46. package/dist/modules/gen/browser-data.cjs +1 -0
  47. package/dist/modules/gen/browser-usage-data.cjs +1 -0
  48. package/dist/modules/gen/compat-data.cjs +1 -0
  49. package/dist/modules/gen/index.cjs +1 -0
  50. package/dist/modules/index.cjs +1 -0
  51. package/dist/modules/pkg/shinkore.cjs +1 -0
  52. package/dist/modules/pkg/shinkore_bg.wasm +0 -0
  53. package/dist/modules/shinkom.cjs +1 -0
  54. package/dist/modules/ui/compat-ui/compat-ui.cjs +1 -0
  55. package/dist/modules/ui/control-panel/control-panel.cjs +182 -0
  56. package/dist/modules/ui/index.cjs +1 -0
  57. package/dist/modules/ui/inspector/inspector.cjs +1 -0
  58. package/package.json +89 -0
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Shinkom - inspector
3
+ * @version 1.0.0
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { ShinkomBus } from "../../core/event-bus.js";
9
+ import { ShinkomState } from "../../core/state-service.js";
10
+ import { UIComponent } from "../../core/ui-component.js";
11
+ import { InspectorConfig as InspectorConfig$1, UISharedState as UISharedState$1, UISharedStateProps as UISharedStateProps$1 } from "../../types/public.js";
12
+
13
+ //#region src/ui/inspector/inspector.d.ts
14
+ /**@extends {UIComponent} */
15
+ declare class CompatInspector extends UIComponent {
16
+ /**
17
+ * @param {ShinkomBus} bus
18
+ * @param {ShinkomState} stateService
19
+ * @param {InspectorConfig | undefined} config
20
+ */
21
+ constructor(bus: ShinkomBus, stateService: ShinkomState, config?: InspectorConfig | undefined);
22
+ /**@type {InspectorConfig | undefined} */
23
+ config: InspectorConfig | undefined;
24
+ /**@type {boolean} */
25
+ enableSwitching: boolean;
26
+ /**@type {HTMLDivElement | null} */
27
+ inspectorEl: HTMLDivElement | null;
28
+ /**@type {HTMLElement | null} */
29
+ frozenTarget: HTMLElement | null;
30
+ /**
31
+ * Creates the inspector element.
32
+ */
33
+ createInspector(): void;
34
+ /**
35
+ * Resets the inspector.
36
+ */
37
+ reset(): void;
38
+ #private;
39
+ }
40
+ type UISharedState = UISharedState$1;
41
+ type InspectorConfig = InspectorConfig$1;
42
+ type UISharedStateProps = UISharedStateProps$1;
43
+ //#endregion
44
+ export { CompatInspector, InspectorConfig, UISharedState, UISharedStateProps };
@@ -0,0 +1,314 @@
1
+ /**
2
+ * Shinkom - inspector
3
+ * @version 1.0.0
4
+ * @license MIT
5
+ * @copyright 2026 - OneilNvM
6
+ */
7
+
8
+ import { UIComponent } from "../../core/ui-component.js";
9
+ //#region src/ui/inspector/inspector.js
10
+ /**@typedef {import('../../types/public').UISharedState} UISharedState */
11
+ /**@typedef {import('../../types/public').InspectorConfig} InspectorConfig */
12
+ /**@typedef {import('../../types/public').UISharedStateProps} UISharedStateProps */
13
+ /**@extends {UIComponent} */
14
+ var CompatInspector = class extends UIComponent {
15
+ /**@type {UISharedState | null} */
16
+ #stateBind = null;
17
+ #freezeInspector = false;
18
+ /**@type {AbortController | null} */
19
+ #inspectorController = null;
20
+ /**@type {HTMLDivElement | null} */
21
+ #ignorePanelEl = null;
22
+ /**
23
+ * @param {ShinkomBus} bus
24
+ * @param {ShinkomState} stateService
25
+ * @param {InspectorConfig | undefined} config
26
+ */
27
+ constructor(bus, stateService, config = void 0) {
28
+ super(bus, stateService);
29
+ /**@type {InspectorConfig | undefined} */
30
+ this.config = config;
31
+ /**@type {boolean} */
32
+ this.enableSwitching = false;
33
+ /**@type {HTMLDivElement | null} */
34
+ this.inspectorEl = null;
35
+ /**@type {HTMLElement | null} */
36
+ this.frozenTarget = null;
37
+ this.bus.on("ci:toggle", () => {
38
+ if (this.#stateBind?.inspectorActive) this.#removeGlobalListeners();
39
+ else this.#setupGlobalListeners();
40
+ });
41
+ this.bus.on("ci:create", () => {
42
+ this.mount();
43
+ });
44
+ this.bus.on("ci:reset", () => {
45
+ this.reset();
46
+ });
47
+ this.bus.on("ci:destroy", () => {
48
+ this.unmount();
49
+ });
50
+ }
51
+ /**
52
+ * Handler responds to keyboard shortcuts.
53
+ * @param {KeyboardEvent} e
54
+ */
55
+ #handleKeyboard = (e) => {
56
+ const ctrlDown = e.ctrlKey;
57
+ const shiftDown = e.shiftKey;
58
+ const altDown = e.altKey;
59
+ if (!this.inspectorEl && ctrlDown && altDown && e.key === "c") {
60
+ this.mount();
61
+ return;
62
+ }
63
+ if (this.inspectorEl && ctrlDown && shiftDown && e.key === "|") {
64
+ this.reset();
65
+ return;
66
+ }
67
+ if (this.inspectorEl && ctrlDown && altDown && e.key === "\\") {
68
+ this.unmount();
69
+ return;
70
+ }
71
+ if (ctrlDown && e.key === "\\") {
72
+ this.enableSwitching = !this.enableSwitching;
73
+ console.log(`Switching is ${this.enableSwitching ? "enabled" : "disabled"}`);
74
+ if (this.#stateBind) this.#stateBind.inspectorSwitching = this.enableSwitching;
75
+ }
76
+ };
77
+ /**
78
+ * Handler toggles inspector freezing on elements.
79
+ * @param {PointerEvent} e
80
+ */
81
+ #handleToggleFreeze = (e) => {
82
+ if (e.composedPath().includes(this.#ignorePanelEl)) return;
83
+ e.preventDefault();
84
+ e.stopPropagation();
85
+ if (!this.#freezeInspector) {
86
+ this.#freeze(e.target);
87
+ return;
88
+ }
89
+ if (this.#freezeInspector && e.target === this.frozenTarget) {
90
+ this.#unfreeze();
91
+ return;
92
+ } else this.#switch(e.target);
93
+ };
94
+ /**
95
+ * Freezes inspector on selected target.
96
+ * @param {HTMLElement} target
97
+ */
98
+ #freeze(target) {
99
+ if (!this.inspectorEl) return;
100
+ this.#freezeInspector = true;
101
+ this.frozenTarget = target;
102
+ this.#inspect(this.frozenTarget.outerHTML);
103
+ Object.assign(this.inspectorEl.style, {
104
+ backgroundColor: "rgba(255,0,0,.3)",
105
+ outlineColor: "rgb(255,0,0)"
106
+ });
107
+ }
108
+ /**@param {string} frozenTarget */
109
+ #inspect(frozenTarget) {
110
+ if (this.#stateBind) this.bus.emit("engine:inspect", { detail: {
111
+ elem: frozenTarget,
112
+ multiElements: this.#stateBind.multiElements,
113
+ depthLevel: this.#stateBind.depthLevel
114
+ } });
115
+ }
116
+ /**
117
+ * Unfreezes inspector from selected element.
118
+ */
119
+ #unfreeze() {
120
+ if (!this.inspectorEl) return;
121
+ this.#freezeInspector = false;
122
+ this.frozenTarget = null;
123
+ Object.assign(this.inspectorEl.style, {
124
+ backgroundColor: "rgba(0,255,0,.3)",
125
+ outlineColor: "rgb(0,255,0)"
126
+ });
127
+ }
128
+ /**
129
+ * Handler updates inspector to wrap target element.
130
+ * @param {PointerEvent} e
131
+ */
132
+ #handlePointerOver = (e) => {
133
+ if (this.#freezeInspector) return;
134
+ try {
135
+ this.#update(e.target);
136
+ } catch (error) {
137
+ console.error(`Inspector pointerOver error: ${error}`);
138
+ }
139
+ };
140
+ /**
141
+ * Switches inspector to target a different element.
142
+ * @param {HTMLElement} target
143
+ */
144
+ #switch(target) {
145
+ if (this.enableSwitching) {
146
+ this.#freezeInspector = true;
147
+ this.frozenTarget = target;
148
+ this.#inspect(this.frozenTarget.outerHTML);
149
+ try {
150
+ this.#update(target);
151
+ } catch (error) {
152
+ console.error(`Inspector switch error: ${error}`);
153
+ }
154
+ }
155
+ }
156
+ /**
157
+ * Updates the position of the inspector when moving to a different element.
158
+ * @param {HTMLElement} target
159
+ */
160
+ #update(target) {
161
+ if (!this.inspectorEl) throw new Error("Failed to update inspector position and size as it does not exist.");
162
+ const { width, height, top, left } = target.getBoundingClientRect();
163
+ const scrollTop = window.scrollY;
164
+ const scrollLeft = window.scrollX;
165
+ Object.assign(this.inspectorEl.style, {
166
+ width: `${width}px`,
167
+ height: `${height}px`,
168
+ transform: `translateX(${left + scrollLeft}px) translateY(${top + scrollTop}px)`
169
+ });
170
+ }
171
+ /**
172
+ * Creates the inspector element.
173
+ */
174
+ createInspector() {
175
+ if (this.inspectorEl) {
176
+ console.warn("Inspector element already exists.");
177
+ return;
178
+ }
179
+ this.inspectorEl = document.createElement("div");
180
+ this.inspectorEl.id = "compat-inspector";
181
+ Object.assign(this.inspectorEl.style, {
182
+ position: "absolute",
183
+ top: "0",
184
+ backgroundColor: "rgba(0, 255, 0, .3)",
185
+ outlineWidth: "1px",
186
+ outlineStyle: "dashed",
187
+ outlineColor: "rgb(0, 255, 0)",
188
+ outlineOffset: "4px",
189
+ zIndex: "9998",
190
+ transitionProperty: "width, height, transform",
191
+ transitionDuration: "300ms",
192
+ transitionTimingFunction: "ease-out",
193
+ willChange: "width, height, transform",
194
+ pointerEvents: "none"
195
+ });
196
+ document.body.appendChild(this.inspectorEl);
197
+ }
198
+ /**
199
+ * Set inspector to ignore control panel div.
200
+ * @param {HTMLDivElement | null} el
201
+ */
202
+ #setIgnorePanel(el) {
203
+ if (!(el instanceof HTMLDivElement) && el !== null) throw new Error("el must be of type HTMLDivElement or null");
204
+ this.#ignorePanelEl = el;
205
+ }
206
+ /**
207
+ * @param {UISharedState} state
208
+ */
209
+ bindState(state) {
210
+ if (!this.#stateBind) this.#stateBind = state;
211
+ this.#stateBind.inspectorActive = this.inspectorEl !== null;
212
+ this.#stateBind.inspectorExists = this.inspectorEl !== null;
213
+ }
214
+ /**
215
+ * @param {UISharedStateProps} prop
216
+ * @param {any} val
217
+ */
218
+ onStateChange(prop, val) {
219
+ switch (prop) {
220
+ case "inspectorSwitching":
221
+ this.enableSwitching = val;
222
+ break;
223
+ case "ignorePanelEl":
224
+ this.#setIgnorePanel(val);
225
+ break;
226
+ default: break;
227
+ }
228
+ }
229
+ mount() {
230
+ if (this.inspectorEl || this.config?.disabled) {
231
+ console.warn("Inspector is either disabled or already exists");
232
+ return;
233
+ }
234
+ this.createInspector();
235
+ this.#setupGlobalListeners();
236
+ if (this.#stateBind) {
237
+ this.#stateBind.inspectorActive = this.inspectorEl !== null;
238
+ this.#stateBind.inspectorExists = this.inspectorEl !== null;
239
+ }
240
+ }
241
+ /**
242
+ * Setup event listeners on `window` object.
243
+ */
244
+ #setupGlobalListeners() {
245
+ if (!this.inspectorEl) {
246
+ console.warn("Cannot activate inspector as it does not exist.");
247
+ return;
248
+ }
249
+ this.#inspectorController = new AbortController();
250
+ const { signal } = this.#inspectorController;
251
+ window.addEventListener("pointerover", this.#handlePointerOver, { signal });
252
+ window.addEventListener("click", this.#handleToggleFreeze, {
253
+ signal,
254
+ capture: true
255
+ });
256
+ if (this.config?.keyboardShortcuts) window.addEventListener("keydown", this.#handleKeyboard);
257
+ if (this.#stateBind) this.#stateBind.inspectorActive = true;
258
+ }
259
+ /**
260
+ * Remove event listeners on `window` object.
261
+ */
262
+ #removeGlobalListeners() {
263
+ if (!this.inspectorEl) {
264
+ console.warn("Cannot deactivate inspector as it does not exist.");
265
+ return;
266
+ }
267
+ if (this.#inspectorController) this.#inspectorController.abort();
268
+ this.#inspectorController = null;
269
+ if (this.#stateBind) this.#stateBind.inspectorActive = false;
270
+ }
271
+ /**
272
+ * Resets the inspector.
273
+ */
274
+ reset() {
275
+ if (!this.inspectorEl) {
276
+ console.warn("Cannot reset inspector as it does not exist.");
277
+ return;
278
+ }
279
+ console.log("Resetting inspector");
280
+ this.unmount();
281
+ this.mount();
282
+ }
283
+ unmount() {
284
+ try {
285
+ if (!this.inspectorEl) {
286
+ console.warn("Cannot destroy inspector as it does not exist.");
287
+ return;
288
+ }
289
+ console.log("Destroying inspector");
290
+ this.#resetInternalState();
291
+ this.inspectorEl.remove();
292
+ this.inspectorEl = null;
293
+ } catch (error) {
294
+ console.error(`Inspector destroy error: ${error}`);
295
+ }
296
+ }
297
+ /**
298
+ * Reset internal state of the instance and any related state
299
+ * in the `stateBind`.
300
+ */
301
+ #resetInternalState() {
302
+ this.#removeGlobalListeners();
303
+ this.#freezeInspector = false;
304
+ this.enableSwitching = false;
305
+ this.frozenTarget = null;
306
+ if (this.#stateBind) {
307
+ this.#stateBind.inspectorActive = false;
308
+ this.#stateBind.inspectorExists = false;
309
+ this.#stateBind.inspectorSwitching = false;
310
+ }
311
+ }
312
+ };
313
+ //#endregion
314
+ export { CompatInspector };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={inspectorExists:!1,inspectorActive:!1,inspectorSwitching:!1,ignorePanelEl:null,multiElements:!1,depthLevel:0};exports.DEFAULT_STATE=e;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=class{#e=new EventTarget;emit(e,t=void 0){this.#e.dispatchEvent(new CustomEvent(e,t))}on(e,t){let n=e=>t(e.detail);return this.#e.addEventListener(e,n),()=>this.#e.removeEventListener(e,n)}};exports.ShinkomBus=e;
@@ -0,0 +1 @@
1
+ const e=async e=>{let t=await import(`node:url`),n=await import(`node:module`);try{return n.createRequire({}.url).resolve(e)}catch{return t.pathToFileURL(require.resolve(e))}};exports.getModulePath=e;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./event-bus.cjs`),t=require(`./constants.cjs`),n=require(`./state-service.cjs`),r=require(`./ui-component.cjs`);exports.DEFAULT_STATE=t.DEFAULT_STATE,exports.ShinkomBus=e.ShinkomBus,exports.ShinkomState=n.ShinkomState,exports.UIComponent=r.UIComponent;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./constants.cjs`);var t=class{#e;#t=[];constructor(t=e.DEFAULT_STATE){let n=(e,t)=>{this.#t.forEach(n=>n(e,t))};this.#e=new Proxy(t,{get(e,t){return e[t]},set(e,t,r){return e[t]===r?!0:(n(t,r),e[t]=r,console.log(`Setting ${t} -> ${r}`),!0)}})}subscribe(e){return this.#t.push(e),()=>{this.#t=this.#t.filter(t=>t!==e)}}getState=()=>this.#e};exports.ShinkomState=t;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=class e{constructor(t,n){if(this.constructor===e)throw Error(`UIComponent is an abstract class and cannot be instantiated.`);this.bus=t,n.subscribe((e,t)=>{this.onStateChange(e,t)})}mount(){throw Error(`mount() method must be implemented.`)}unmount(){throw Error(`unmount() method must be implemented.`)}bindState(e){throw Error(`bindState() method must be implemented.`)}onStateChange(e,t){throw Error(`onStateChange() method must be implemented.`)}};exports.UIComponent=e;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../pkg/shinkore.cjs`),t=require(`../gen/browser-data.cjs`),n=require(`../gen/browser-usage-data.cjs`),r=require(`../gen/index.cjs`),i=require(`../core/helpers.cjs`);var a=class{#e=null;constructor(e=null){this.compatEngine=null,this.bus=e,this.bus&&(this.bus.on(`engine:inspect`,e=>{typeof e==`object`&&(e.multiElements?this.checkElements(e.elem,e.depthLevel):this.checkElement(e.elem))}),this.bus.on(`engine:full`,()=>{this.fullInspect()}))}async loadWasm(t=void 0){if(this.#e)return this.#e;let n=typeof window>`u`;try{if(n){let t=await import(`node:path`),n=await import(`node:fs`),r=await i.getModulePath(`shinkom/wasm`),a;if(r.toString().endsWith(`shinkore_bg.wasm`))n.existsSync(r)||(r=t.resolve(__dirname,`../../pkg/shinkore_bg.wasm`)),a=n.readFileSync(r),this.#e=(async()=>{await e.__wbg_init({module_or_path:a})})();else throw Error(`Path does not lead to WASM file.`)}else t?this.#e=(async()=>{await e.__wbg_init({module_or_path:t})})():this.#e=(async()=>{await e.__wbg_init()})();return console.log(`loaded WASM`),this.#e}catch(e){throw e}}async initEngine(i=void 0){try{this.compatEngine||(this.#e||(console.log(`loading WASM through initializer`),i?await this.loadWasm(i):await this.loadWasm()),this.compatEngine=new e.CompatEngine(r.default.html,r.default.svg,t.default,n.default),console.log(`initialized engine`))}catch(e){console.error(`Engine initialization error: ${e}`)}}checkElement(e){try{let t=this.compatEngine?.check_element(e);return console.dir(t),t}catch(e){return console.error(e),null}}checkElements(e,t){try{let n=this.compatEngine?.check_elements(e,t);return console.dir(n),n}catch(e){return console.error(e),null}}fullInspect(){try{let e=this.compatEngine?.full_inspect(document.documentElement.outerHTML);return console.dir(e),e}catch(e){return e instanceof ReferenceError?console.error(`fullInspect is only available in browser environments`):console.error(`fullInspect error: ${e}`),null}}destroy(){if(!this.compatEngine){console.warn(`Shinkom Engine cannot be destroyed as it is not initialized.`);return}this.compatEngine?.free(),this.#e=null,this.compatEngine=null}};exports.SKEngine=a;
@@ -0,0 +1 @@
1
+ var e={browsers:{chrome:{147:{engine:`Blink`,engine_version:`147`,release_date:`2026-04-07`,release_notes:`https://developer.chrome.com/release-notes/147`,status:`current`}},chrome_android:{147:{engine:`Blink`,engine_version:`147`,release_date:`2026-04-07`,release_notes:`https://developer.chrome.com/release-notes/147`,status:`current`}},edge:{147:{engine:`Blink`,engine_version:`147`,release_date:`2026-04-10`,release_notes:`https://learn.microsoft.com/en-us/microsoft-edge/web-platform/release-notes/147`,status:`current`}},firefox:{150:{engine:`Gecko`,engine_version:`150`,release_date:`2026-04-21`,release_notes:`https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/150`,status:`current`}},firefox_android:{150:{engine:`Gecko`,engine_version:`150`,release_date:`2026-04-21`,release_notes:`https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/150`,status:`current`}},oculus:{"42.0":{engine:`Blink`,engine_version:`142`,release_date:`2026-01-26`,release_notes:`https://developers.meta.com/horizon/downloads/package/browser/42.0/`,status:`current`}},opera:{130:{engine:`Blink`,engine_version:`146`,release_date:`2026-04-08`,release_notes:`https://blogs.opera.com/desktop/2026/04/opera-130-stable/`,status:`current`}},opera_android:{97:{engine:`Blink`,engine_version:`146`,release_date:`2026-04-16`,release_notes:`https://forums.opera.com/topic/88511/opera-for-android-97`,status:`current`}},safari:{"26.4":{engine:`WebKit`,engine_version:`624.1.16`,release_date:`2026-03-24`,release_notes:`https://developer.apple.com/documentation/safari-release-notes/safari-26_4-release-notes`,status:`current`}},safari_ios:{"26.4":{engine:`WebKit`,engine_version:`624.1.16`,release_date:`2026-03-24`,release_notes:`https://developer.apple.com/documentation/safari-release-notes/safari-26_4-release-notes`,status:`current`}},samsunginternet_android:{"29.0":{engine:`Blink`,engine_version:`136`,release_date:`2025-10-25`,status:`current`}},webview_android:{147:{engine:`Blink`,engine_version:`147`,release_date:`2026-04-07`,release_notes:`https://developer.chrome.com/release-notes/147`,status:`current`}},webview_ios:{"26.4":{engine:`WebKit`,engine_version:`624.1.16`,release_date:`2026-03-24`,release_notes:`https://developer.apple.com/documentation/safari-release-notes/safari-26_4-release-notes`,status:`current`}}}};Object.defineProperty(exports,`default`,{enumerable:!0,get:function(){return e}});
@@ -0,0 +1 @@
1
+ var e={agents:{edge:{12:0,13:0,14:0,15:0,16:0,17:0,18:0,79:0,80:0,81:0,83:0,84:0,85:0,86:0,87:0,88:0,89:0,90:0,91:0,92:.008664,93:0,94:0,95:0,96:0,97:0,98:0,99:0,100:0,101:0,102:0,103:0,104:0,105:0,106:0,107:0,108:0,109:.034656,110:0,111:0,112:0,113:0,114:.004332,115:0,116:0,117:0,118:0,119:0,120:.012996,121:0,122:.008664,123:0,124:0,125:0,126:.004332,127:.004332,128:0,129:0,130:.004332,131:.012996,132:.004332,133:.008664,134:.008664,135:.008664,136:.008664,137:.008664,138:.017328,139:.012996,140:.012996,141:.017328,142:.025992,143:.073644,144:.138624,145:2.56888,146:2.44758,147:0},firefox:{2:0,3:0,4:0,5:.008664,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0,29:0,30:0,31:0,32:0,33:0,34:0,35:0,36:0,37:0,38:0,39:0,40:0,41:0,42:0,43:0,44:0,45:0,46:0,47:0,48:0,49:0,50:0,51:0,52:.012996,53:0,54:0,55:0,56:0,57:0,58:0,59:0,60:0,61:0,62:0,63:0,64:0,65:0,66:0,67:0,68:0,69:0,70:0,71:0,72:0,73:0,74:0,75:0,76:0,77:0,78:.008664,79:0,80:0,81:0,82:0,83:0,84:0,85:0,86:0,87:0,88:0,89:0,90:0,91:0,92:0,93:0,94:0,95:0,96:0,97:0,98:0,99:0,100:0,101:0,102:0,103:0,104:0,105:0,106:0,107:0,108:0,109:0,110:0,111:0,112:0,113:0,114:0,115:.142956,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,124:0,125:0,126:0,127:0,128:.008664,129:0,130:0,131:0,132:0,133:0,134:0,135:.004332,136:.008664,137:0,138:.004332,139:.004332,140:.095304,141:0,142:.004332,143:.004332,144:.008664,145:.008664,146:.017328,147:.095304,148:1.23895,149:.242592,150:0,151:0,152:0,153:0,"3.5":0,"3.6":0},chrome:{4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0,29:0,30:0,31:0,32:0,33:0,34:0,35:0,36:0,37:0,38:0,39:.034656,40:.034656,41:.034656,42:.034656,43:.034656,44:.034656,45:.034656,46:.034656,47:.034656,48:.038988,49:.04332,50:.034656,51:.034656,52:.034656,53:.034656,54:.034656,55:.034656,56:.034656,57:.034656,58:.034656,59:.034656,60:.034656,61:0,62:0,63:0,64:0,65:0,66:0,67:0,68:0,69:.004332,70:0,71:0,72:0,73:0,74:0,75:0,76:0,77:.034656,78:0,79:.008664,80:.004332,81:0,83:0,84:0,85:0,86:.008664,87:.008664,88:0,89:0,90:0,91:.004332,92:.004332,93:.008664,94:0,95:0,96:0,97:.008664,98:.004332,99:.004332,100:0,101:.008664,102:.004332,103:.121296,104:.06498,105:.06498,106:.06498,107:.06498,108:.069312,109:.645468,110:.06498,111:.06498,112:.142956,113:0,114:.025992,115:.008664,116:.17328,117:.069312,118:.008664,119:.017328,120:.08664,121:.017328,122:.038988,123:.012996,124:.082308,125:.02166,126:.038988,127:.012996,128:.056316,129:.012996,130:.060648,131:.229596,132:.034656,133:.147288,134:.047652,135:.051984,136:.04332,137:.047652,138:.212268,139:.34656,140:.073644,141:.082308,142:.207936,143:.320568,144:.940044,145:9.30947,146:6.96152,147:.025992,148:.004332,149:0,150:0},safari:{4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:.008664,15:0,"3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":.02166,"14.1":.02166,"15.1":0,"15.2-15.3":0,"15.4":.004332,"15.5":.004332,"15.6":.090972,"16.0":.004332,"16.1":.012996,"16.2":.008664,"16.3":.017328,"16.4":.012996,"16.5":.012996,"16.6":.155952,"17.0":.004332,"17.1":.112632,"17.2":.008664,"17.3":.012996,"17.4":.030324,"17.5":.04332,"17.6":.177612,"18.0":.008664,"18.1":.02166,"18.2":.008664,"18.3":.04332,"18.4":.02166,"18.5-18.7":.463524,"26.0":.030324,"26.1":.04332,"26.2":.255588,"26.3":1.30393,"26.4":.047652,"26.5":0,TP:0},opera:{9:0,11:0,12:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0,29:0,30:0,31:0,32:0,33:0,34:0,35:0,36:0,37:0,38:0,39:0,40:0,41:0,42:0,43:0,44:0,45:0,46:0,47:0,48:0,49:0,50:0,51:0,52:0,53:0,54:0,55:0,56:0,57:0,58:0,60:0,62:0,63:0,64:0,65:0,66:0,67:0,68:0,69:0,70:0,71:0,72:0,73:0,74:0,75:0,76:0,77:0,78:0,79:0,80:0,81:0,82:0,83:0,84:0,85:0,86:0,87:0,88:0,89:0,90:0,91:0,92:0,93:0,94:.004332,95:.073644,96:.06498,97:0,98:0,99:0,100:0,101:0,102:0,103:0,104:0,105:0,106:0,107:0,108:0,109:0,110:0,111:0,112:0,113:0,114:0,115:0,116:0,117:0,118:0,119:0,120:0,121:0,122:0,123:0,124:0,125:0,126:.012996,127:.441864,131:0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},safari_ios:{8:0,"3.2":0,"4.0-4.1":0,"4.2-4.3":.00147255,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":.00294509,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":.00736273,"11.0-11.2":.185541,"11.3-11.4":.00441764,"12.0-12.1":0,"12.2-12.5":.0574293,"13.0-13.1":0,"13.2":.0220882,"13.3":.00294509,"13.4-13.7":.00736273,"14.0-14.4":.0132529,"14.5-14.8":.0132529,"15.0-15.1":.0191431,"15.2-15.3":.0117804,"15.4":.0147255,"15.5":.016198,"15.6-15.8":.260641,"16.0":.0265058,"16.1":.0515391,"16.2":.0294509,"16.3":.0530117,"16.4":.0117804,"16.5":.0220882,"16.6-16.7":.362246,"17.0":.016198,"17.1":.0265058,"17.2":.0235607,"17.3":.032396,"17.4":.0530117,"17.5":.100133,"17.6-17.7":.257696,"18.0":.0559568,"18.1":.114859,"18.2":.0603744,"18.3":.192904,"18.4":.0927704,"18.5-18.7":2.95098,"26.0":.184068,"26.1":.279784,"26.2":1.64631,"26.3":7.15216,"26.4":.268003,"26.5":0},webview_android:{3:0,4:0,147:.0509661,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":25506e-9},chrome_android:{147:44.7569},firefox_android:{150:.351416},samsunginternet_android:{4:0,20:0,21:.0107893,22:0,23:0,24:.0107893,25:.0107893,26:.032368,27:.032368,28:.0863147,29:1.94208,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0,"13.0":0,"14.0":0,"15.0":0,"16.0":0,"17.0":0,"18.0":0,"19.0":0}},marketShare:95.073139236};Object.defineProperty(exports,`default`,{enumerable:!0,get:function(){return e}});