@rithien/discord_bridge 0.3.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.
@@ -0,0 +1,526 @@
1
+ /*
2
+ * ATTENTION: An "eval-source-map" devtool has been used.
3
+ * This devtool is neither made for production nor for readable output files.
4
+ * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
5
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6
+ * or disable the default devtool with "devtool: false".
7
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
+ */
9
+ var plugin_discord_bridge;
10
+ /******/ (() => { // webpackBootstrap
11
+ /******/ "use strict";
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 345
15
+ /*!***********************!*\
16
+ !*** container entry ***!
17
+ \***********************/
18
+ (__unused_webpack_module, exports, __webpack_require__) {
19
+
20
+ var moduleMap = {
21
+ "./": () => {
22
+ return __webpack_require__.e("info_js").then(() => (() => ((__webpack_require__(/*! ./info.js */ 483)))));
23
+ },
24
+ "./package.json": () => {
25
+ return __webpack_require__.e("package_json").then(() => (() => ((__webpack_require__(/*! ./package.json */ 330)))));
26
+ }
27
+ };
28
+ var get = (module, getScope) => {
29
+ __webpack_require__.R = getScope;
30
+ getScope = (
31
+ __webpack_require__.o(moduleMap, module)
32
+ ? moduleMap[module]()
33
+ : Promise.resolve().then(() => {
34
+ throw new Error('Module "' + module + '" does not exist in container.');
35
+ })
36
+ );
37
+ __webpack_require__.R = undefined;
38
+ return getScope;
39
+ };
40
+ var init = (shareScope, initScope) => {
41
+ if (!__webpack_require__.S) return;
42
+ var name = "default"
43
+ var oldScope = __webpack_require__.S[name];
44
+ if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");
45
+ __webpack_require__.S[name] = shareScope;
46
+ return __webpack_require__.I(name, initScope);
47
+ };
48
+
49
+ // This exports getters to disallow modifications
50
+ __webpack_require__.d(exports, {
51
+ get: () => (get),
52
+ init: () => (init)
53
+ });
54
+
55
+ /***/ }
56
+
57
+ /******/ });
58
+ /************************************************************************/
59
+ /******/ // The module cache
60
+ /******/ var __webpack_module_cache__ = {};
61
+ /******/
62
+ /******/ // The require function
63
+ /******/ function __webpack_require__(moduleId) {
64
+ /******/ // Check if module is in cache
65
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
66
+ /******/ if (cachedModule !== undefined) {
67
+ /******/ return cachedModule.exports;
68
+ /******/ }
69
+ /******/ // Create a new module (and put it into the cache)
70
+ /******/ var module = __webpack_module_cache__[moduleId] = {
71
+ /******/ // no module.id needed
72
+ /******/ // no module.loaded needed
73
+ /******/ exports: {}
74
+ /******/ };
75
+ /******/
76
+ /******/ // Execute the module function
77
+ /******/ if (!(moduleId in __webpack_modules__)) {
78
+ /******/ delete __webpack_module_cache__[moduleId];
79
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
80
+ /******/ e.code = 'MODULE_NOT_FOUND';
81
+ /******/ throw e;
82
+ /******/ }
83
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
84
+ /******/
85
+ /******/ // Return the exports of the module
86
+ /******/ return module.exports;
87
+ /******/ }
88
+ /******/
89
+ /******/ // expose the modules object (__webpack_modules__)
90
+ /******/ __webpack_require__.m = __webpack_modules__;
91
+ /******/
92
+ /******/ // expose the module cache
93
+ /******/ __webpack_require__.c = __webpack_module_cache__;
94
+ /******/
95
+ /************************************************************************/
96
+ /******/ /* webpack/runtime/define property getters */
97
+ /******/ (() => {
98
+ /******/ // define getter functions for harmony exports
99
+ /******/ __webpack_require__.d = (exports, definition) => {
100
+ /******/ for(var key in definition) {
101
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
102
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
103
+ /******/ }
104
+ /******/ }
105
+ /******/ };
106
+ /******/ })();
107
+ /******/
108
+ /******/ /* webpack/runtime/ensure chunk */
109
+ /******/ (() => {
110
+ /******/ __webpack_require__.f = {};
111
+ /******/ // This file contains only the entry chunk.
112
+ /******/ // The chunk loading function for additional chunks
113
+ /******/ __webpack_require__.e = (chunkId) => {
114
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
115
+ /******/ __webpack_require__.f[key](chunkId, promises);
116
+ /******/ return promises;
117
+ /******/ }, []));
118
+ /******/ };
119
+ /******/ })();
120
+ /******/
121
+ /******/ /* webpack/runtime/get javascript chunk filename */
122
+ /******/ (() => {
123
+ /******/ // This function allow to reference async chunks
124
+ /******/ __webpack_require__.u = (chunkId) => {
125
+ /******/ // return url for filenames based on template
126
+ /******/ return "static/" + chunkId + "." + {"info_js":"3e97e6576d2e451b2fd6","package_json":"14b21c0791a49b7b3105"}[chunkId] + ".js";
127
+ /******/ };
128
+ /******/ })();
129
+ /******/
130
+ /******/ /* webpack/runtime/global */
131
+ /******/ (() => {
132
+ /******/ __webpack_require__.g = (function() {
133
+ /******/ if (typeof globalThis === 'object') return globalThis;
134
+ /******/ try {
135
+ /******/ return this || new Function('return this')();
136
+ /******/ } catch (e) {
137
+ /******/ if (typeof window === 'object') return window;
138
+ /******/ }
139
+ /******/ })();
140
+ /******/ })();
141
+ /******/
142
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
143
+ /******/ (() => {
144
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
145
+ /******/ })();
146
+ /******/
147
+ /******/ /* webpack/runtime/load script */
148
+ /******/ (() => {
149
+ /******/ var inProgress = {};
150
+ /******/ var dataWebpackPrefix = "@rithien/discord_bridge:";
151
+ /******/ // loadScript function to load a script via script tag
152
+ /******/ __webpack_require__.l = (url, done, key, chunkId) => {
153
+ /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
154
+ /******/ var script, needAttach;
155
+ /******/ if(key !== undefined) {
156
+ /******/ var scripts = document.getElementsByTagName("script");
157
+ /******/ for(var i = 0; i < scripts.length; i++) {
158
+ /******/ var s = scripts[i];
159
+ /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
160
+ /******/ }
161
+ /******/ }
162
+ /******/ if(!script) {
163
+ /******/ needAttach = true;
164
+ /******/ script = document.createElement('script');
165
+ /******/
166
+ /******/ script.charset = 'utf-8';
167
+ /******/ if (__webpack_require__.nc) {
168
+ /******/ script.setAttribute("nonce", __webpack_require__.nc);
169
+ /******/ }
170
+ /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
171
+ /******/
172
+ /******/ script.src = url;
173
+ /******/ }
174
+ /******/ inProgress[url] = [done];
175
+ /******/ var onScriptComplete = (prev, event) => {
176
+ /******/ // avoid mem leaks in IE.
177
+ /******/ script.onerror = script.onload = null;
178
+ /******/ clearTimeout(timeout);
179
+ /******/ var doneFns = inProgress[url];
180
+ /******/ delete inProgress[url];
181
+ /******/ script.parentNode && script.parentNode.removeChild(script);
182
+ /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
183
+ /******/ if(prev) return prev(event);
184
+ /******/ }
185
+ /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
186
+ /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
187
+ /******/ script.onload = onScriptComplete.bind(null, script.onload);
188
+ /******/ needAttach && document.head.appendChild(script);
189
+ /******/ };
190
+ /******/ })();
191
+ /******/
192
+ /******/ /* webpack/runtime/sharing */
193
+ /******/ (() => {
194
+ /******/ __webpack_require__.S = {};
195
+ /******/ var initPromises = {};
196
+ /******/ var initTokens = {};
197
+ /******/ __webpack_require__.I = (name, initScope) => {
198
+ /******/ if(!initScope) initScope = [];
199
+ /******/ // handling circular init calls
200
+ /******/ var initToken = initTokens[name];
201
+ /******/ if(!initToken) initToken = initTokens[name] = {};
202
+ /******/ if(initScope.indexOf(initToken) >= 0) return;
203
+ /******/ initScope.push(initToken);
204
+ /******/ // only runs once
205
+ /******/ if(initPromises[name]) return initPromises[name];
206
+ /******/ // creates a new share scope if needed
207
+ /******/ if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};
208
+ /******/ // runs all init snippets from all modules reachable
209
+ /******/ var scope = __webpack_require__.S[name];
210
+ /******/ var warn = (msg) => {
211
+ /******/ if (typeof console !== "undefined" && console.warn) console.warn(msg);
212
+ /******/ };
213
+ /******/ var uniqueName = "@rithien/discord_bridge";
214
+ /******/ var register = (name, version, factory, eager) => {
215
+ /******/ var versions = scope[name] = scope[name] || {};
216
+ /******/ var activeVersion = versions[version];
217
+ /******/ if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };
218
+ /******/ };
219
+ /******/ var initExternal = (id) => {
220
+ /******/ var handleError = (err) => (warn("Initialization of sharing external failed: " + err));
221
+ /******/ try {
222
+ /******/ var module = __webpack_require__(id);
223
+ /******/ if(!module) return;
224
+ /******/ var initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))
225
+ /******/ if(module.then) return promises.push(module.then(initFn, handleError));
226
+ /******/ var initResult = initFn(module);
227
+ /******/ if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));
228
+ /******/ } catch(err) { handleError(err); }
229
+ /******/ }
230
+ /******/ var promises = [];
231
+ /******/ switch(name) {
232
+ /******/ }
233
+ /******/ if(!promises.length) return initPromises[name] = 1;
234
+ /******/ return initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));
235
+ /******/ };
236
+ /******/ })();
237
+ /******/
238
+ /******/ /* webpack/runtime/publicPath */
239
+ /******/ (() => {
240
+ /******/ var scriptUrl;
241
+ /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
242
+ /******/ var document = __webpack_require__.g.document;
243
+ /******/ if (!scriptUrl && document) {
244
+ /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
245
+ /******/ scriptUrl = document.currentScript.src;
246
+ /******/ if (!scriptUrl) {
247
+ /******/ var scripts = document.getElementsByTagName("script");
248
+ /******/ if(scripts.length) {
249
+ /******/ var i = scripts.length - 1;
250
+ /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
251
+ /******/ }
252
+ /******/ }
253
+ /******/ }
254
+ /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
255
+ /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
256
+ /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
257
+ /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
258
+ /******/ __webpack_require__.p = scriptUrl + "../";
259
+ /******/ })();
260
+ /******/
261
+ /******/ /* webpack/runtime/consumes */
262
+ /******/ (() => {
263
+ /******/ var parseVersion = (str) => {
264
+ /******/ // see webpack/lib/util/semver.js for original code
265
+ /******/ var p=p=>{return p.split(".").map(p=>{return+p==p?+p:p})},n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;
266
+ /******/ }
267
+ /******/ var versionLt = (a, b) => {
268
+ /******/ // see webpack/lib/util/semver.js for original code
269
+ /******/ a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&"u"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e<t;r++}
270
+ /******/ }
271
+ /******/ var rangeToString = (range) => {
272
+ /******/ // see webpack/lib/util/semver.js for original code
273
+ /******/ var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a<range.length;a++){e--,n+="u"==(typeof(t=range[a]))[0]?"-":(e>0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?"not("+o()+")":1===t?"("+o()+" || "+o()+")":2===t?g.pop()+" "+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\((.+)\)$/,"$1")}
274
+ /******/ }
275
+ /******/ var satisfy = (range, version) => {
276
+ /******/ // see webpack/lib/util/semver.js for original code
277
+ /******/ if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:"";if(n>=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if("s"!=g&&"n"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else"s"!=g&&"n"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();
278
+ /******/ }
279
+ /******/ var exists = (scope, key) => {
280
+ /******/ return scope && __webpack_require__.o(scope, key);
281
+ /******/ }
282
+ /******/ var get = (entry) => {
283
+ /******/ entry.loaded = 1;
284
+ /******/ return entry.get()
285
+ /******/ };
286
+ /******/ var eagerOnly = (versions) => {
287
+ /******/ return Object.keys(versions).reduce((filtered, version) => {
288
+ /******/ if (versions[version].eager) {
289
+ /******/ filtered[version] = versions[version];
290
+ /******/ }
291
+ /******/ return filtered;
292
+ /******/ }, {});
293
+ /******/ };
294
+ /******/ var findLatestVersion = (scope, key, eager) => {
295
+ /******/ var versions = eager ? eagerOnly(scope[key]) : scope[key];
296
+ /******/ var key = Object.keys(versions).reduce((a, b) => {
297
+ /******/ return !a || versionLt(a, b) ? b : a;
298
+ /******/ }, 0);
299
+ /******/ return key && versions[key];
300
+ /******/ };
301
+ /******/ var findSatisfyingVersion = (scope, key, requiredVersion, eager) => {
302
+ /******/ var versions = eager ? eagerOnly(scope[key]) : scope[key];
303
+ /******/ var key = Object.keys(versions).reduce((a, b) => {
304
+ /******/ if (!satisfy(requiredVersion, b)) return a;
305
+ /******/ return !a || versionLt(a, b) ? b : a;
306
+ /******/ }, 0);
307
+ /******/ return key && versions[key]
308
+ /******/ };
309
+ /******/ var findSingletonVersionKey = (scope, key, eager) => {
310
+ /******/ var versions = eager ? eagerOnly(scope[key]) : scope[key];
311
+ /******/ return Object.keys(versions).reduce((a, b) => {
312
+ /******/ return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;
313
+ /******/ }, 0);
314
+ /******/ };
315
+ /******/ var getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {
316
+ /******/ return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"
317
+ /******/ };
318
+ /******/ var getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {
319
+ /******/ var versions = scope[key];
320
+ /******/ return "No satisfying version (" + rangeToString(requiredVersion) + ")" + (eager ? " for eager consumption" : "") + " of shared module " + key + " found in shared scope " + scopeName + ".\n" +
321
+ /******/ "Available versions: " + Object.keys(versions).map((key) => {
322
+ /******/ return key + " from " + versions[key].from;
323
+ /******/ }).join(", ");
324
+ /******/ };
325
+ /******/ var fail = (msg) => {
326
+ /******/ throw new Error(msg);
327
+ /******/ }
328
+ /******/ var failAsNotExist = (scopeName, key) => {
329
+ /******/ return fail("Shared module " + key + " doesn't exist in shared scope " + scopeName);
330
+ /******/ }
331
+ /******/ var warn = /*#__PURE__*/ (msg) => {
332
+ /******/ if (typeof console !== "undefined" && console.warn) console.warn(msg);
333
+ /******/ };
334
+ /******/ var init = (fn) => (function(scopeName, key, eager, c, d) {
335
+ /******/ var promise = __webpack_require__.I(scopeName);
336
+ /******/ if (promise && promise.then && !eager) {
337
+ /******/ return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));
338
+ /******/ }
339
+ /******/ return fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);
340
+ /******/ });
341
+ /******/
342
+ /******/ var useFallback = (scopeName, key, fallback) => {
343
+ /******/ return fallback ? fallback() : failAsNotExist(scopeName, key);
344
+ /******/ }
345
+ /******/ var load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {
346
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
347
+ /******/ return get(findLatestVersion(scope, key, eager));
348
+ /******/ });
349
+ /******/ var loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {
350
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
351
+ /******/ var satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);
352
+ /******/ if (satisfyingVersion) return get(satisfyingVersion);
353
+ /******/ warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))
354
+ /******/ return get(findLatestVersion(scope, key, eager));
355
+ /******/ });
356
+ /******/ var loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {
357
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
358
+ /******/ var satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);
359
+ /******/ if (satisfyingVersion) return get(satisfyingVersion);
360
+ /******/ if (fallback) return fallback();
361
+ /******/ fail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));
362
+ /******/ });
363
+ /******/ var loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {
364
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
365
+ /******/ var version = findSingletonVersionKey(scope, key, eager);
366
+ /******/ return get(scope[key][version]);
367
+ /******/ });
368
+ /******/ var loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {
369
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
370
+ /******/ var version = findSingletonVersionKey(scope, key, eager);
371
+ /******/ if (!satisfy(requiredVersion, version)) {
372
+ /******/ warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));
373
+ /******/ }
374
+ /******/ return get(scope[key][version]);
375
+ /******/ });
376
+ /******/ var loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {
377
+ /******/ if (!exists(scope, key)) return useFallback(scopeName, key, fallback);
378
+ /******/ var version = findSingletonVersionKey(scope, key, eager);
379
+ /******/ if (!satisfy(requiredVersion, version)) {
380
+ /******/ fail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));
381
+ /******/ }
382
+ /******/ return get(scope[key][version]);
383
+ /******/ });
384
+ /******/ var installedModules = {};
385
+ /******/ var moduleToHandlerMapping = {
386
+ /******/ 94: () => (loadVersion("default", "@clusterio/lib", false, [1,2,0,0,,"alpha",14]))
387
+ /******/ };
388
+ /******/ // no consumes in initial chunks
389
+ /******/ var chunkMapping = {
390
+ /******/ "info_js": [
391
+ /******/ 94
392
+ /******/ ]
393
+ /******/ };
394
+ /******/ var startedInstallModules = {};
395
+ /******/ __webpack_require__.f.consumes = (chunkId, promises) => {
396
+ /******/ if(__webpack_require__.o(chunkMapping, chunkId)) {
397
+ /******/ chunkMapping[chunkId].forEach((id) => {
398
+ /******/ if(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);
399
+ /******/ if(!startedInstallModules[id]) {
400
+ /******/ var onFactory = (factory) => {
401
+ /******/ installedModules[id] = 0;
402
+ /******/ __webpack_require__.m[id] = (module) => {
403
+ /******/ delete __webpack_require__.c[id];
404
+ /******/ module.exports = factory();
405
+ /******/ }
406
+ /******/ };
407
+ /******/ startedInstallModules[id] = true;
408
+ /******/ var onError = (error) => {
409
+ /******/ delete installedModules[id];
410
+ /******/ __webpack_require__.m[id] = (module) => {
411
+ /******/ delete __webpack_require__.c[id];
412
+ /******/ throw error;
413
+ /******/ }
414
+ /******/ };
415
+ /******/ try {
416
+ /******/ var promise = moduleToHandlerMapping[id]();
417
+ /******/ if(promise.then) {
418
+ /******/ promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));
419
+ /******/ } else onFactory(promise);
420
+ /******/ } catch(e) { onError(e); }
421
+ /******/ }
422
+ /******/ });
423
+ /******/ }
424
+ /******/ }
425
+ /******/ })();
426
+ /******/
427
+ /******/ /* webpack/runtime/jsonp chunk loading */
428
+ /******/ (() => {
429
+ /******/ // no baseURI
430
+ /******/
431
+ /******/ // object to store loaded and loading chunks
432
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
433
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
434
+ /******/ var installedChunks = {
435
+ /******/ "discord_bridge": 0
436
+ /******/ };
437
+ /******/
438
+ /******/ __webpack_require__.f.j = (chunkId, promises) => {
439
+ /******/ // JSONP chunk loading for javascript
440
+ /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
441
+ /******/ if(installedChunkData !== 0) { // 0 means "already installed".
442
+ /******/
443
+ /******/ // a Promise means "currently loading".
444
+ /******/ if(installedChunkData) {
445
+ /******/ promises.push(installedChunkData[2]);
446
+ /******/ } else {
447
+ /******/ if(true) { // all chunks have JS
448
+ /******/ // setup Promise in chunk cache
449
+ /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
450
+ /******/ promises.push(installedChunkData[2] = promise);
451
+ /******/
452
+ /******/ // start chunk loading
453
+ /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
454
+ /******/ // create error before stack unwound to get useful stacktrace later
455
+ /******/ var error = new Error();
456
+ /******/ var loadingEnded = (event) => {
457
+ /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
458
+ /******/ installedChunkData = installedChunks[chunkId];
459
+ /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
460
+ /******/ if(installedChunkData) {
461
+ /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
462
+ /******/ var realSrc = event && event.target && event.target.src;
463
+ /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
464
+ /******/ error.name = 'ChunkLoadError';
465
+ /******/ error.type = errorType;
466
+ /******/ error.request = realSrc;
467
+ /******/ installedChunkData[1](error);
468
+ /******/ }
469
+ /******/ }
470
+ /******/ };
471
+ /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
472
+ /******/ }
473
+ /******/ }
474
+ /******/ }
475
+ /******/ };
476
+ /******/
477
+ /******/ // no prefetching
478
+ /******/
479
+ /******/ // no preloaded
480
+ /******/
481
+ /******/ // no HMR
482
+ /******/
483
+ /******/ // no HMR manifest
484
+ /******/
485
+ /******/ // no on chunks loaded
486
+ /******/
487
+ /******/ // install a JSONP callback for chunk loading
488
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
489
+ /******/ var [chunkIds, moreModules, runtime] = data;
490
+ /******/ // add "moreModules" to the modules object,
491
+ /******/ // then flag all "chunkIds" as loaded and fire callback
492
+ /******/ var moduleId, chunkId, i = 0;
493
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
494
+ /******/ for(moduleId in moreModules) {
495
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
496
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
497
+ /******/ }
498
+ /******/ }
499
+ /******/ if(runtime) var result = runtime(__webpack_require__);
500
+ /******/ }
501
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
502
+ /******/ for(;i < chunkIds.length; i++) {
503
+ /******/ chunkId = chunkIds[i];
504
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
505
+ /******/ installedChunks[chunkId][0]();
506
+ /******/ }
507
+ /******/ installedChunks[chunkId] = 0;
508
+ /******/ }
509
+ /******/
510
+ /******/ }
511
+ /******/
512
+ /******/ var chunkLoadingGlobal = self["webpackChunk_rithien_discord_bridge"] = self["webpackChunk_rithien_discord_bridge"] || [];
513
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
514
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
515
+ /******/ })();
516
+ /******/
517
+ /************************************************************************/
518
+ /******/
519
+ /******/ // module cache are used so entry inlining is disabled
520
+ /******/ // startup
521
+ /******/ // Load entry module and return exports
522
+ /******/ var __webpack_exports__ = __webpack_require__(345);
523
+ /******/ plugin_discord_bridge = __webpack_exports__;
524
+ /******/
525
+ /******/ })()
526
+ ;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /*
3
+ * ATTENTION: An "eval-source-map" devtool has been used.
4
+ * This devtool is neither made for production nor for readable output files.
5
+ * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
6
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
7
+ * or disable the default devtool with "devtool: false".
8
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
9
+ */
10
+ (self["webpackChunk_rithien_discord_bridge"] = self["webpackChunk_rithien_discord_bridge"] || []).push([["info_js"],{
11
+
12
+ /***/ 483
13
+ /*!*****************!*\
14
+ !*** ./info.js ***!
15
+ \*****************/
16
+ (module, __unused_webpack_exports, __webpack_require__) {
17
+
18
+ eval("{\nconst lib = __webpack_require__(/*! @clusterio/lib */ 94);\nclass InstanceActionEvent {\n static type = \"event\";\n static src = \"instance\";\n static dst = \"controller\";\n static plugin = \"discord_bridge\";\n constructor(instanceName, action, content){\n this.instanceName = instanceName;\n this.action = action;\n this.content = content;\n }\n static jsonSchema = {\n type: \"object\",\n required: [\n \"instanceName\",\n \"action\",\n \"content\"\n ],\n properties: {\n \"instanceName\": {\n type: \"string\"\n },\n \"action\": {\n type: \"string\"\n },\n \"content\": {\n type: \"string\"\n }\n }\n };\n static fromJSON(json) {\n return new this(json.instanceName, json.action, json.content);\n }\n}\nclass DiscordChatEvent {\n static type = \"event\";\n static src = \"controller\";\n static dst = \"instance\";\n static plugin = \"discord_bridge\";\n constructor(content){\n this.content = content;\n }\n static jsonSchema = {\n type: \"object\",\n required: [\n \"content\"\n ],\n properties: {\n \"content\": {\n type: \"string\"\n }\n }\n };\n static fromJSON(json) {\n return new this(json.content);\n }\n}\nconst plugin = {\n name: \"discord_bridge\",\n title: \"Discord Bridge\",\n description: \"Bridges chat between instances and Discord.\",\n instanceEntrypoint: \"instance\",\n instanceConfigFields: {\n \"discord_bridge.channel_id\": {\n title: \"Channel ID\",\n description: \"Discord channel ID this instance bridges chat to. Overrides the controller-level \" + \"discord_bridge.channel_id. Leave empty to fall back to the controller-level channel.\",\n type: \"string\",\n optional: true\n }\n },\n controllerEntrypoint: \"controller\",\n controllerConfigFields: {\n \"discord_bridge.bot_token\": {\n title: \"Bot Token\",\n description: \"Bot token to log into Discord with.\",\n type: \"string\",\n optional: true\n },\n \"discord_bridge.channel_id\": {\n title: \"Channel ID\",\n description: \"Default Discord channel ID. Used for instances that do not have their own \" + \"discord_bridge.channel_id set, and as the destination for host connect/disconnect notifications.\",\n type: \"string\",\n optional: true\n },\n \"discord_bridge.discord_template\": {\n title: \"Discord template\",\n description: \"Template to use for sending chat messages from Discord in game. In the template the string \" + \"__display_name__ is replaced with the display name of the user sending the message, \" + \"__username__ is replaced with the username and __content__ with the message content.\",\n type: \"string\",\n initialValue: \"[Discord] __display_name__: __content__\"\n },\n \"discord_bridge.bridge_player_shouts\": {\n title: \"Bridge Player Shouts\",\n description: \"Bridge shouts made with /shout to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.bridge_player_chat\": {\n title: \"Bridge Player Chat\",\n description: \"Bridge player chat to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.bridge_player_commands\": {\n title: \"Bridge Player Commands\",\n description: \"Bridge /command lua commands players execute to the Discord channel.\",\n type: \"boolean\",\n initialValue: false\n },\n \"discord_bridge.bridge_player_joins\": {\n title: \"Bridge Player Joins\",\n description: \"Bridge join and leave notifications to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.bridge_player_kicks_and_bans\": {\n title: \"Bridge Player Kicks and Bans\",\n description: \"Bridge kick and ban messages to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.bridge_player_promotions\": {\n title: \"Bridge Player Promotions\",\n description: \"Bridge admin promotion messages to the Discord channel.\",\n type: \"boolean\",\n initialValue: false\n },\n \"discord_bridge.player_templates\": {\n title: \"Player templates\",\n description: \"Template to use for sending bridged player action messages from Factorio. In the template the \" + \"string __instance_name__ is replaced with the name of the instance the message originated from \" + \"and __content__ is replaced with the content of the message. The available actions that can be \" + \"bridged are COMMAND SHOUT CHAT JOIN LEAVE KICK BAN UNBANNED PROMOTE DEMOTE.\",\n type: \"object\",\n initialValue: {\n \"COMMAND\": \"[__instance_name__] __content__\",\n \"SHOUT\": \"[__instance_name__] __content__\",\n \"CHAT\": \"[__instance_name__] __content__\",\n \"JOIN\": \"[__instance_name__] __content__\",\n \"LEAVE\": \"[__instance_name__] __content__\",\n \"KICK\": \"[__instance_name__] __content__\",\n \"BAN\": \"[__instance_name__] __content__\",\n \"UNBANNED\": \"[__instance_name__] __content__\",\n \"PROMOTE\": \"[__instance_name__] __content__\",\n \"DEMOTE\": \"[__instance_name__] __content__\"\n }\n },\n \"discord_bridge.notify_instance_status\": {\n title: \"Notify Instance Status\",\n description: \"Notify of instance status changes to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.instance_status_templates\": {\n title: \"Instance Status Templates\",\n description: \"Template to use for sending notifications about instance status changes. In the template the \" + \"string __instance_name__ and __host_name__ are replaced with the instance and host the change \" + \"occured on. Templates specify previous:current status and the possible instance statuses are \" + \"undefined unknown stopped starting running stopping creating_save exporting_data deleted\",\n type: \"object\",\n initialValue: {\n \"starting:running\": \"[__instance_name__] started\",\n \"starting:stopped\": \"[__instance_name__] failed to start\",\n \"running:stopped\": \"[__instance_name__] abruptly stopped\",\n \"stopping:stopped\": \"[__instance_name__] stopped\",\n \"undefined:unassigned\": \"[__instance_name__] was created\",\n \"deleted\": \"[__instance_name__] was deleted\"\n }\n },\n \"discord_bridge.notify_host_connections\": {\n title: \"Notify Host Connections\",\n description: \"Notify of host connecting and disconnecting to the Discord channel.\",\n type: \"boolean\",\n initialValue: true\n },\n \"discord_bridge.host_templates\": {\n title: \"Host templates\",\n description: \"Template to use for sending notifications about host connection events. In the template the \" + \"string __host_name__ is replaced with the name of the host the connection event occured from. \" + \"The possible events that can happen are connect drop resume close.\",\n type: \"object\",\n initialValue: {\n \"connect\": \"[__host_name__] connected\",\n \"drop\": \"\",\n \"resume\": \"\",\n \"close\": \"[__host_name__] disconnected\"\n }\n }\n },\n messages: [\n InstanceActionEvent,\n DiscordChatEvent\n ]\n};\nmodule.exports = {\n plugin,\n InstanceActionEvent,\n DiscordChatEvent\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDgzLmpzIiwibWFwcGluZ3MiOiJBQUFhO0FBQ2IsTUFBTUEsTUFBTUMsbUJBQU9BLENBQUMsd0JBQWdCO0FBRXBDLE1BQU1DO0lBQ0wsT0FBT0MsT0FBTyxRQUFRO0lBQ3RCLE9BQU9DLE1BQU0sV0FBVztJQUN4QixPQUFPQyxNQUFNLGFBQWE7SUFDMUIsT0FBT0MsU0FBUyxpQkFBaUI7SUFFakMsWUFBWUMsWUFBWSxFQUFFQyxNQU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