likec4 1.48.0 → 1.49.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 (113) hide show
  1. package/README.md +11 -1
  2. package/__app__/src/likec4.js +5595 -4127
  3. package/__app__/src/routes/index.js +3 -153
  4. package/__app__/src/routes/projects.js +21 -1087
  5. package/__app__/src/routes/single.js +1221 -16
  6. package/__app__/src/style.css +1 -1
  7. package/__app__/src/vendors.js +3507 -894
  8. package/__app__/src/webcomponent.js +1 -1
  9. package/config/schema.json +155 -143
  10. package/dist/THIRD-PARTY-LICENSES.md +1739 -0
  11. package/dist/_chunks/GraphvizBinaryAdapter.mjs +72 -0
  12. package/dist/_chunks/filenames.mjs +14 -0
  13. package/dist/_chunks/index.d.mts +224 -129
  14. package/dist/_chunks/index2.d.mts +2033 -1908
  15. package/dist/_chunks/libs/@chevrotain/gast.mjs +1 -3969
  16. package/dist/_chunks/libs/@chevrotain/regexp-to-ast.mjs +9 -785
  17. package/dist/_chunks/libs/@chevrotain/utils.mjs +1 -37
  18. package/dist/_chunks/libs/@hono/mcp.mjs +34 -0
  19. package/dist/_chunks/libs/@hono/node-server.mjs +1 -436
  20. package/dist/_chunks/libs/@logtape/logtape.d.mts +741 -0
  21. package/dist/_chunks/libs/@logtape/logtape.mjs +6 -1354
  22. package/dist/_chunks/libs/@lume/kiwi.mjs +1 -1355
  23. package/dist/_chunks/libs/@modelcontextprotocol/sdk.d.mts +14 -14
  24. package/dist/_chunks/libs/@modelcontextprotocol/sdk.mjs +12 -25105
  25. package/dist/_chunks/libs/@msgpack/msgpack.mjs +1 -1503
  26. package/dist/_chunks/libs/@nanostores/react.mjs +1 -30
  27. package/dist/_chunks/libs/@smithy/util-base64.mjs +1 -100
  28. package/dist/_chunks/libs/ajv.mjs +1 -777
  29. package/dist/_chunks/libs/atomically.mjs +1 -362
  30. package/dist/_chunks/libs/birpc.mjs +1 -201
  31. package/dist/_chunks/libs/chevrotain-allstar.mjs +2 -850
  32. package/dist/_chunks/libs/chevrotain.mjs +55 -6229
  33. package/dist/_chunks/libs/conf.mjs +1 -2258
  34. package/dist/_chunks/libs/defu.mjs +1 -42
  35. package/dist/_chunks/libs/esm-env.mjs +1 -5
  36. package/dist/_chunks/libs/eventemitter3.mjs +1 -243
  37. package/dist/_chunks/libs/fast-equals.mjs +1 -446
  38. package/dist/_chunks/libs/find-up-simple.mjs +1 -24
  39. package/dist/_chunks/libs/get-port.mjs +1 -107
  40. package/dist/_chunks/libs/is-docker.mjs +1 -26
  41. package/dist/_chunks/libs/is-error-instance.mjs +1 -26
  42. package/dist/_chunks/libs/is-inside-container.mjs +1 -20
  43. package/dist/_chunks/libs/is-plain-obj.mjs +1 -9
  44. package/dist/_chunks/libs/isexe.mjs +1 -127
  45. package/dist/_chunks/libs/json5.mjs +14 -959
  46. package/dist/_chunks/libs/khroma.mjs +1 -605
  47. package/dist/_chunks/libs/ky.mjs +2 -807
  48. package/dist/_chunks/libs/langium.d.mts +2880 -2844
  49. package/dist/_chunks/libs/langium.mjs +32 -20351
  50. package/dist/_chunks/libs/merge-error-cause.mjs +2 -746
  51. package/dist/_chunks/libs/nanostores.mjs +1 -198
  52. package/dist/_chunks/libs/p-limit.mjs +1 -120
  53. package/dist/_chunks/libs/p-queue.mjs +1 -449
  54. package/dist/_chunks/libs/package-manager-detector.mjs +1 -559
  55. package/dist/_chunks/libs/package-up.mjs +1 -10
  56. package/dist/_chunks/libs/parse-ms.mjs +1 -36
  57. package/dist/_chunks/libs/pathe.mjs +1 -0
  58. package/dist/_chunks/libs/picomatch.mjs +1 -1673
  59. package/dist/_chunks/libs/pretty-ms.mjs +1 -80
  60. package/dist/_chunks/libs/remeda.mjs +1 -690
  61. package/dist/_chunks/libs/safe-stringify.mjs +1 -21
  62. package/dist/_chunks/libs/strip-indent.mjs +1 -15
  63. package/dist/_chunks/libs/tinyrainbow.mjs +1 -88
  64. package/dist/_chunks/libs/ts-graphviz.mjs +4 -725
  65. package/dist/_chunks/libs/ufo.mjs +1 -240
  66. package/dist/_chunks/libs/which.mjs +1 -84
  67. package/dist/_chunks/libs/word-wrap.mjs +12 -43
  68. package/dist/_chunks/node.mjs +481 -0
  69. package/dist/_chunks/plugin.mjs +98 -772
  70. package/dist/_chunks/rolldown-runtime.mjs +1 -48
  71. package/dist/_chunks/sequence-view.mjs +1 -575
  72. package/dist/cli/index.mjs +127 -1846
  73. package/dist/config/index.d.mts +2 -2
  74. package/dist/config/index.mjs +1 -6
  75. package/dist/index.d.mts +148 -7
  76. package/dist/index.mjs +1 -21
  77. package/dist/model/builder.mjs +1 -3
  78. package/dist/model/index.d.mts +57 -3
  79. package/dist/model/index.mjs +1 -5
  80. package/dist/vite-plugin/index.d.mts +4 -3
  81. package/dist/vite-plugin/index.mjs +1 -22
  82. package/dist/vite-plugin/internal.d.mts +5 -5
  83. package/dist/vite-plugin/internal.mjs +1 -68
  84. package/package.json +60 -41
  85. package/react/{index.d.ts → index.d.mts} +112 -70
  86. package/react/{index.js → index.mjs} +21361 -22064
  87. package/react/package.json +2 -5
  88. package/vite-plugin-modules.d.ts +5 -5
  89. package/dist/_chunks/LikeC4.d.mts +0 -121
  90. package/dist/_chunks/LikeC4.mjs +0 -202
  91. package/dist/_chunks/config-app.prod.d.mts +0 -18
  92. package/dist/_chunks/config-app.prod.mjs +0 -188
  93. package/dist/_chunks/config-webcomponent.prod.mjs +0 -71
  94. package/dist/_chunks/define-config.mjs +0 -409
  95. package/dist/_chunks/index3.d.mts +0 -60
  96. package/dist/_chunks/index4.d.mts +0 -1
  97. package/dist/_chunks/libs/@smithy/is-array-buffer.mjs +0 -10
  98. package/dist/_chunks/libs/hono.mjs +0 -1829
  99. package/dist/_chunks/libs/nanoid.mjs +0 -29
  100. package/dist/_chunks/model.mjs +0 -12
  101. package/dist/_chunks/module.d.mts +0 -71
  102. package/dist/_chunks/module.mjs +0 -18657
  103. package/dist/_chunks/vite-build.mjs +0 -69
  104. package/dist/_chunks/vite-dev.mjs +0 -79
  105. package/dist/_chunks/vite-preview.mjs +0 -27
  106. package/dist/language/module.d.mts +0 -5
  107. package/dist/language/module.mjs +0 -20
  108. package/dist/vite/vite-build.d.mts +0 -26
  109. package/dist/vite/vite-build.mjs +0 -27
  110. package/dist/vite/vite-dev.d.mts +0 -34
  111. package/dist/vite/vite-dev.mjs +0 -29
  112. package/dist/vite/vite-preview.d.mts +0 -20
  113. package/dist/vite/vite-preview.mjs +0 -26
@@ -1,42 +1 @@
1
- //#region ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
2
- function isPlainObject(value) {
3
- if (value === null || typeof value !== "object") return false;
4
- const prototype = Object.getPrototypeOf(value);
5
- if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) return false;
6
- if (Symbol.iterator in value) return false;
7
- if (Symbol.toStringTag in value) return Object.prototype.toString.call(value) === "[object Module]";
8
- return true;
9
- }
10
- function _defu(baseObject, defaults, namespace = ".", merger) {
11
- if (!isPlainObject(defaults)) return _defu(baseObject, {}, namespace, merger);
12
- const object = Object.assign({}, defaults);
13
- for (const key in baseObject) {
14
- if (key === "__proto__" || key === "constructor") continue;
15
- const value = baseObject[key];
16
- if (value === null || value === void 0) continue;
17
- if (merger && merger(object, key, value, namespace)) continue;
18
- if (Array.isArray(value) && Array.isArray(object[key])) object[key] = [...value, ...object[key]];
19
- else if (isPlainObject(value) && isPlainObject(object[key])) object[key] = _defu(value, object[key], (namespace ? `${namespace}.` : "") + key.toString(), merger);
20
- else object[key] = value;
21
- }
22
- return object;
23
- }
24
- function createDefu(merger) {
25
- return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
26
- }
27
- const defu = createDefu();
28
- const defuFn = createDefu((object, key, currentValue) => {
29
- if (object[key] !== void 0 && typeof currentValue === "function") {
30
- object[key] = currentValue(object[key]);
31
- return true;
32
- }
33
- });
34
- const defuArrayFn = createDefu((object, key, currentValue) => {
35
- if (Array.isArray(object[key]) && typeof currentValue === "function") {
36
- object[key] = currentValue(object[key]);
37
- return true;
38
- }
39
- });
40
-
41
- //#endregion
42
- export { defu as t };
1
+ function isPlainObject(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function _defu(n,r,i=`.`,a){if(!isPlainObject(r))return _defu(n,{},i,a);let o=Object.assign({},r);for(let r in n){if(r===`__proto__`||r===`constructor`)continue;let s=n[r];s!=null&&(a&&a(o,r,s,i)||(Array.isArray(s)&&Array.isArray(o[r])?o[r]=[...s,...o[r]]:isPlainObject(s)&&isPlainObject(o[r])?o[r]=_defu(s,o[r],(i?`${i}.`:``)+r.toString(),a):o[r]=s))}return o}function createDefu(e){return(...n)=>n.reduce((n,r)=>_defu(n,r,``,e),{})}const defu=createDefu();export{defu as t};
@@ -1,5 +1 @@
1
- //#region ../../node_modules/.pnpm/esm-env@1.2.2/node_modules/esm-env/false.js
2
- var false_default = false;
3
-
4
- //#endregion
5
- export { false_default as t };
1
+ var false_default=!1;export{false_default as t};
@@ -1,243 +1 @@
1
- import { s as __toESM, t as __commonJSMin } from "../rolldown-runtime.mjs";
2
-
3
- //#region ../../node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.js
4
- var require_eventemitter3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
- var has = Object.prototype.hasOwnProperty, prefix = "~";
6
- /**
7
- * Constructor to create a storage for our `EE` objects.
8
- * An `Events` instance is a plain object whose properties are event names.
9
- *
10
- * @constructor
11
- * @private
12
- */
13
- function Events() {}
14
- if (Object.create) {
15
- Events.prototype = Object.create(null);
16
- if (!new Events().__proto__) prefix = false;
17
- }
18
- /**
19
- * Representation of a single event listener.
20
- *
21
- * @param {Function} fn The listener function.
22
- * @param {*} context The context to invoke the listener with.
23
- * @param {Boolean} [once=false] Specify if the listener is a one-time listener.
24
- * @constructor
25
- * @private
26
- */
27
- function EE(fn, context, once) {
28
- this.fn = fn;
29
- this.context = context;
30
- this.once = once || false;
31
- }
32
- /**
33
- * Add a listener for a given event.
34
- *
35
- * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
36
- * @param {(String|Symbol)} event The event name.
37
- * @param {Function} fn The listener function.
38
- * @param {*} context The context to invoke the listener with.
39
- * @param {Boolean} once Specify if the listener is a one-time listener.
40
- * @returns {EventEmitter}
41
- * @private
42
- */
43
- function addListener(emitter, event, fn, context, once) {
44
- if (typeof fn !== "function") throw new TypeError("The listener must be a function");
45
- var listener = new EE(fn, context || emitter, once), evt = prefix ? prefix + event : event;
46
- if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
47
- else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
48
- else emitter._events[evt] = [emitter._events[evt], listener];
49
- return emitter;
50
- }
51
- /**
52
- * Clear event by name.
53
- *
54
- * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
55
- * @param {(String|Symbol)} evt The Event name.
56
- * @private
57
- */
58
- function clearEvent(emitter, evt) {
59
- if (--emitter._eventsCount === 0) emitter._events = new Events();
60
- else delete emitter._events[evt];
61
- }
62
- /**
63
- * Minimal `EventEmitter` interface that is molded against the Node.js
64
- * `EventEmitter` interface.
65
- *
66
- * @constructor
67
- * @public
68
- */
69
- function EventEmitter() {
70
- this._events = new Events();
71
- this._eventsCount = 0;
72
- }
73
- /**
74
- * Return an array listing the events for which the emitter has registered
75
- * listeners.
76
- *
77
- * @returns {Array}
78
- * @public
79
- */
80
- EventEmitter.prototype.eventNames = function eventNames() {
81
- var names = [], events, name;
82
- if (this._eventsCount === 0) return names;
83
- for (name in events = this._events) if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
84
- if (Object.getOwnPropertySymbols) return names.concat(Object.getOwnPropertySymbols(events));
85
- return names;
86
- };
87
- /**
88
- * Return the listeners registered for a given event.
89
- *
90
- * @param {(String|Symbol)} event The event name.
91
- * @returns {Array} The registered listeners.
92
- * @public
93
- */
94
- EventEmitter.prototype.listeners = function listeners(event) {
95
- var evt = prefix ? prefix + event : event, handlers = this._events[evt];
96
- if (!handlers) return [];
97
- if (handlers.fn) return [handlers.fn];
98
- for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) ee[i] = handlers[i].fn;
99
- return ee;
100
- };
101
- /**
102
- * Return the number of listeners listening to a given event.
103
- *
104
- * @param {(String|Symbol)} event The event name.
105
- * @returns {Number} The number of listeners.
106
- * @public
107
- */
108
- EventEmitter.prototype.listenerCount = function listenerCount(event) {
109
- var evt = prefix ? prefix + event : event, listeners = this._events[evt];
110
- if (!listeners) return 0;
111
- if (listeners.fn) return 1;
112
- return listeners.length;
113
- };
114
- /**
115
- * Calls each of the listeners registered for a given event.
116
- *
117
- * @param {(String|Symbol)} event The event name.
118
- * @returns {Boolean} `true` if the event had listeners, else `false`.
119
- * @public
120
- */
121
- EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
122
- var evt = prefix ? prefix + event : event;
123
- if (!this._events[evt]) return false;
124
- var listeners = this._events[evt], len = arguments.length, args, i;
125
- if (listeners.fn) {
126
- if (listeners.once) this.removeListener(event, listeners.fn, void 0, true);
127
- switch (len) {
128
- case 1: return listeners.fn.call(listeners.context), true;
129
- case 2: return listeners.fn.call(listeners.context, a1), true;
130
- case 3: return listeners.fn.call(listeners.context, a1, a2), true;
131
- case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
132
- case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
133
- case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
134
- }
135
- for (i = 1, args = new Array(len - 1); i < len; i++) args[i - 1] = arguments[i];
136
- listeners.fn.apply(listeners.context, args);
137
- } else {
138
- var length = listeners.length, j;
139
- for (i = 0; i < length; i++) {
140
- if (listeners[i].once) this.removeListener(event, listeners[i].fn, void 0, true);
141
- switch (len) {
142
- case 1:
143
- listeners[i].fn.call(listeners[i].context);
144
- break;
145
- case 2:
146
- listeners[i].fn.call(listeners[i].context, a1);
147
- break;
148
- case 3:
149
- listeners[i].fn.call(listeners[i].context, a1, a2);
150
- break;
151
- case 4:
152
- listeners[i].fn.call(listeners[i].context, a1, a2, a3);
153
- break;
154
- default:
155
- if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) args[j - 1] = arguments[j];
156
- listeners[i].fn.apply(listeners[i].context, args);
157
- }
158
- }
159
- }
160
- return true;
161
- };
162
- /**
163
- * Add a listener for a given event.
164
- *
165
- * @param {(String|Symbol)} event The event name.
166
- * @param {Function} fn The listener function.
167
- * @param {*} [context=this] The context to invoke the listener with.
168
- * @returns {EventEmitter} `this`.
169
- * @public
170
- */
171
- EventEmitter.prototype.on = function on(event, fn, context) {
172
- return addListener(this, event, fn, context, false);
173
- };
174
- /**
175
- * Add a one-time listener for a given event.
176
- *
177
- * @param {(String|Symbol)} event The event name.
178
- * @param {Function} fn The listener function.
179
- * @param {*} [context=this] The context to invoke the listener with.
180
- * @returns {EventEmitter} `this`.
181
- * @public
182
- */
183
- EventEmitter.prototype.once = function once(event, fn, context) {
184
- return addListener(this, event, fn, context, true);
185
- };
186
- /**
187
- * Remove the listeners of a given event.
188
- *
189
- * @param {(String|Symbol)} event The event name.
190
- * @param {Function} fn Only remove the listeners that match this function.
191
- * @param {*} context Only remove the listeners that have this context.
192
- * @param {Boolean} once Only remove one-time listeners.
193
- * @returns {EventEmitter} `this`.
194
- * @public
195
- */
196
- EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
197
- var evt = prefix ? prefix + event : event;
198
- if (!this._events[evt]) return this;
199
- if (!fn) {
200
- clearEvent(this, evt);
201
- return this;
202
- }
203
- var listeners = this._events[evt];
204
- if (listeners.fn) {
205
- if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) clearEvent(this, evt);
206
- } else {
207
- for (var i = 0, events = [], length = listeners.length; i < length; i++) if (listeners[i].fn !== fn || once && !listeners[i].once || context && listeners[i].context !== context) events.push(listeners[i]);
208
- if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
209
- else clearEvent(this, evt);
210
- }
211
- return this;
212
- };
213
- /**
214
- * Remove all listeners, or those of the specified event.
215
- *
216
- * @param {(String|Symbol)} [event] The event name.
217
- * @returns {EventEmitter} `this`.
218
- * @public
219
- */
220
- EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
221
- var evt;
222
- if (event) {
223
- evt = prefix ? prefix + event : event;
224
- if (this._events[evt]) clearEvent(this, evt);
225
- } else {
226
- this._events = new Events();
227
- this._eventsCount = 0;
228
- }
229
- return this;
230
- };
231
- EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
232
- EventEmitter.prototype.addListener = EventEmitter.prototype.on;
233
- EventEmitter.prefixed = prefix;
234
- EventEmitter.EventEmitter = EventEmitter;
235
- if ("undefined" !== typeof module) module.exports = EventEmitter;
236
- }));
237
-
238
- //#endregion
239
- //#region ../../node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.mjs
240
- var import_eventemitter3 = /* @__PURE__ */ __toESM(require_eventemitter3(), 1);
241
-
242
- //#endregion
243
- export { import_eventemitter3 as t };
1
+ import{s as __toESM,t as __commonJSMin}from"../rolldown-runtime.mjs";var import_eventemitter3=__toESM(__commonJSMin(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function e(){var t=[],i,a;if(this._eventsCount===0)return t;for(a in i=this._events)n.call(i,a)&&t.push(r?a.slice(1):a);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(i)):t},c.prototype.listeners=function e(t){var n=r?r+t:t,i=this._events[n];if(!i)return[];if(i.fn)return[i.fn];for(var a=0,o=i.length,s=Array(o);a<o;a++)s[a]=i[a].fn;return s},c.prototype.listenerCount=function e(t){var n=r?r+t:t,i=this._events[n];return i?i.fn?1:i.length:0},c.prototype.emit=function e(t,n,i,a,o,s){var c=r?r+t:t;if(!this._events[c])return!1;var l=this._events[c],u=arguments.length,d,f;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),u){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,n),!0;case 3:return l.fn.call(l.context,n,i),!0;case 4:return l.fn.call(l.context,n,i,a),!0;case 5:return l.fn.call(l.context,n,i,a,o),!0;case 6:return l.fn.call(l.context,n,i,a,o,s),!0}for(f=1,d=Array(u-1);f<u;f++)d[f-1]=arguments[f];l.fn.apply(l.context,d)}else{var p=l.length,m;for(f=0;f<p;f++)switch(l[f].once&&this.removeListener(t,l[f].fn,void 0,!0),u){case 1:l[f].fn.call(l[f].context);break;case 2:l[f].fn.call(l[f].context,n);break;case 3:l[f].fn.call(l[f].context,n,i);break;case 4:l[f].fn.call(l[f].context,n,i,a);break;default:if(!d)for(m=1,d=Array(u-1);m<u;m++)d[m-1]=arguments[m];l[f].fn.apply(l[f].context,d)}}return!0},c.prototype.on=function e(t,n,r){return o(this,t,n,r,!1)},c.prototype.once=function e(t,n,r){return o(this,t,n,r,!0)},c.prototype.removeListener=function e(t,n,i,a){var o=r?r+t:t;if(!this._events[o])return this;if(!n)return s(this,o),this;var c=this._events[o];if(c.fn)c.fn===n&&(!a||c.once)&&(!i||c.context===i)&&s(this,o);else{for(var l=0,u=[],d=c.length;l<d;l++)(c[l].fn!==n||a&&!c[l].once||i&&c[l].context!==i)&&u.push(c[l]);u.length?this._events[o]=u.length===1?u[0]:u:s(this,o)}return this},c.prototype.removeAllListeners=function e(t){var n;return t?(n=r?r+t:t,this._events[n]&&s(this,n)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1);export{import_eventemitter3 as t};