@famibee/skynovel 1.27.3 → 1.27.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/app.js +70 -70
- package/appMain.js +19 -4
- package/package.json +3 -3
- package/web.js +67 -67
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [1.27.4](https://github.com/famibee/SKYNovel/compare/v1.27.3...v1.27.4) (2022-01-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* ライブラリ更新 ([59c131a](https://github.com/famibee/SKYNovel/commit/59c131aa4fa58a964031037918567bdca9bc2f30))
|
|
7
|
+
|
|
8
|
+
- fix: ライブラリ更新
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## [1.27.3](https://github.com/famibee/SKYNovel/compare/v1.27.2...v1.27.3) (2022-01-15)
|
|
2
12
|
|
|
3
13
|
|
package/app.js
CHANGED
|
@@ -43280,6 +43280,72 @@ function getCenter(points) {
|
|
|
43280
43280
|
//# sourceMappingURL=matrix.esm.js.map
|
|
43281
43281
|
|
|
43282
43282
|
|
|
43283
|
+
/***/ }),
|
|
43284
|
+
|
|
43285
|
+
/***/ "./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js":
|
|
43286
|
+
/*!***********************************************************************************!*\
|
|
43287
|
+
!*** ./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js ***!
|
|
43288
|
+
\***********************************************************************************/
|
|
43289
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
43290
|
+
|
|
43291
|
+
"use strict";
|
|
43292
|
+
__webpack_require__.r(__webpack_exports__);
|
|
43293
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43294
|
+
/* harmony export */ "decode": () => (/* binding */ decode),
|
|
43295
|
+
/* harmony export */ "encode": () => (/* binding */ encode)
|
|
43296
|
+
/* harmony export */ });
|
|
43297
|
+
/*
|
|
43298
|
+
* base64-arraybuffer 1.0.1 <https://github.com/niklasvh/base64-arraybuffer>
|
|
43299
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
43300
|
+
* Released under MIT License
|
|
43301
|
+
*/
|
|
43302
|
+
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
43303
|
+
// Use a lookup table to find the index.
|
|
43304
|
+
var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);
|
|
43305
|
+
for (var i = 0; i < chars.length; i++) {
|
|
43306
|
+
lookup[chars.charCodeAt(i)] = i;
|
|
43307
|
+
}
|
|
43308
|
+
var encode = function (arraybuffer) {
|
|
43309
|
+
var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';
|
|
43310
|
+
for (i = 0; i < len; i += 3) {
|
|
43311
|
+
base64 += chars[bytes[i] >> 2];
|
|
43312
|
+
base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
|
|
43313
|
+
base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
|
|
43314
|
+
base64 += chars[bytes[i + 2] & 63];
|
|
43315
|
+
}
|
|
43316
|
+
if (len % 3 === 2) {
|
|
43317
|
+
base64 = base64.substring(0, base64.length - 1) + '=';
|
|
43318
|
+
}
|
|
43319
|
+
else if (len % 3 === 1) {
|
|
43320
|
+
base64 = base64.substring(0, base64.length - 2) + '==';
|
|
43321
|
+
}
|
|
43322
|
+
return base64;
|
|
43323
|
+
};
|
|
43324
|
+
var decode = function (base64) {
|
|
43325
|
+
var bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;
|
|
43326
|
+
if (base64[base64.length - 1] === '=') {
|
|
43327
|
+
bufferLength--;
|
|
43328
|
+
if (base64[base64.length - 2] === '=') {
|
|
43329
|
+
bufferLength--;
|
|
43330
|
+
}
|
|
43331
|
+
}
|
|
43332
|
+
var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);
|
|
43333
|
+
for (i = 0; i < len; i += 4) {
|
|
43334
|
+
encoded1 = lookup[base64.charCodeAt(i)];
|
|
43335
|
+
encoded2 = lookup[base64.charCodeAt(i + 1)];
|
|
43336
|
+
encoded3 = lookup[base64.charCodeAt(i + 2)];
|
|
43337
|
+
encoded4 = lookup[base64.charCodeAt(i + 3)];
|
|
43338
|
+
bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
|
|
43339
|
+
bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
|
|
43340
|
+
bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
|
|
43341
|
+
}
|
|
43342
|
+
return arraybuffer;
|
|
43343
|
+
};
|
|
43344
|
+
|
|
43345
|
+
|
|
43346
|
+
//# sourceMappingURL=base64-arraybuffer.es5.js.map
|
|
43347
|
+
|
|
43348
|
+
|
|
43283
43349
|
/***/ }),
|
|
43284
43350
|
|
|
43285
43351
|
/***/ "./node_modules/@socket.io/component-emitter/index.js":
|
|
@@ -44392,72 +44458,6 @@ Backoff.prototype.setJitter = function(jitter){
|
|
|
44392
44458
|
|
|
44393
44459
|
|
|
44394
44460
|
|
|
44395
|
-
/***/ }),
|
|
44396
|
-
|
|
44397
|
-
/***/ "./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js":
|
|
44398
|
-
/*!************************************************************************!*\
|
|
44399
|
-
!*** ./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js ***!
|
|
44400
|
-
\************************************************************************/
|
|
44401
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
44402
|
-
|
|
44403
|
-
"use strict";
|
|
44404
|
-
__webpack_require__.r(__webpack_exports__);
|
|
44405
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44406
|
-
/* harmony export */ "decode": () => (/* binding */ decode),
|
|
44407
|
-
/* harmony export */ "encode": () => (/* binding */ encode)
|
|
44408
|
-
/* harmony export */ });
|
|
44409
|
-
/*
|
|
44410
|
-
* base64-arraybuffer 1.0.1 <https://github.com/niklasvh/base64-arraybuffer>
|
|
44411
|
-
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
44412
|
-
* Released under MIT License
|
|
44413
|
-
*/
|
|
44414
|
-
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
44415
|
-
// Use a lookup table to find the index.
|
|
44416
|
-
var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);
|
|
44417
|
-
for (var i = 0; i < chars.length; i++) {
|
|
44418
|
-
lookup[chars.charCodeAt(i)] = i;
|
|
44419
|
-
}
|
|
44420
|
-
var encode = function (arraybuffer) {
|
|
44421
|
-
var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';
|
|
44422
|
-
for (i = 0; i < len; i += 3) {
|
|
44423
|
-
base64 += chars[bytes[i] >> 2];
|
|
44424
|
-
base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
|
|
44425
|
-
base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
|
|
44426
|
-
base64 += chars[bytes[i + 2] & 63];
|
|
44427
|
-
}
|
|
44428
|
-
if (len % 3 === 2) {
|
|
44429
|
-
base64 = base64.substring(0, base64.length - 1) + '=';
|
|
44430
|
-
}
|
|
44431
|
-
else if (len % 3 === 1) {
|
|
44432
|
-
base64 = base64.substring(0, base64.length - 2) + '==';
|
|
44433
|
-
}
|
|
44434
|
-
return base64;
|
|
44435
|
-
};
|
|
44436
|
-
var decode = function (base64) {
|
|
44437
|
-
var bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;
|
|
44438
|
-
if (base64[base64.length - 1] === '=') {
|
|
44439
|
-
bufferLength--;
|
|
44440
|
-
if (base64[base64.length - 2] === '=') {
|
|
44441
|
-
bufferLength--;
|
|
44442
|
-
}
|
|
44443
|
-
}
|
|
44444
|
-
var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);
|
|
44445
|
-
for (i = 0; i < len; i += 4) {
|
|
44446
|
-
encoded1 = lookup[base64.charCodeAt(i)];
|
|
44447
|
-
encoded2 = lookup[base64.charCodeAt(i + 1)];
|
|
44448
|
-
encoded3 = lookup[base64.charCodeAt(i + 2)];
|
|
44449
|
-
encoded4 = lookup[base64.charCodeAt(i + 3)];
|
|
44450
|
-
bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
|
|
44451
|
-
bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
|
|
44452
|
-
bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
|
|
44453
|
-
}
|
|
44454
|
-
return arraybuffer;
|
|
44455
|
-
};
|
|
44456
|
-
|
|
44457
|
-
|
|
44458
|
-
//# sourceMappingURL=base64-arraybuffer.es5.js.map
|
|
44459
|
-
|
|
44460
|
-
|
|
44461
44461
|
/***/ }),
|
|
44462
44462
|
|
|
44463
44463
|
/***/ "./node_modules/css-styled/dist/styled.esm.js":
|
|
@@ -73297,11 +73297,11 @@ class SysApp extends SysNode_1.SysNode {
|
|
|
73297
73297
|
await to_app.setSimpleFullScreen(true, screen.width, screen.height);
|
|
73298
73298
|
st.width = (CmnLib_1.CmnLib.stageW * ratio) + 'px';
|
|
73299
73299
|
st.height = (CmnLib_1.CmnLib.stageH * ratio) + 'px';
|
|
73300
|
-
if (ratioWidth
|
|
73301
|
-
st.
|
|
73300
|
+
if (ratioWidth >= ratioHeight) {
|
|
73301
|
+
st.marginLeft = (w - CmnLib_1.CmnLib.stageW * ratio) / 2 + 'px';
|
|
73302
73302
|
}
|
|
73303
73303
|
else
|
|
73304
|
-
st.
|
|
73304
|
+
st.marginTop = (h - CmnLib_1.CmnLib.stageH * ratio) / 2 + 'px';
|
|
73305
73305
|
await to_app.win_setContentSize(screen.width, screen.height);
|
|
73306
73306
|
const cr = this.appPixi.view.getBoundingClientRect();
|
|
73307
73307
|
this.reso4frame = cr.width / CmnLib_1.CmnLib.stageW;
|
|
@@ -79175,7 +79175,7 @@ exports.ERROR_PACKET = ERROR_PACKET;
|
|
|
79175
79175
|
|
|
79176
79176
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79177
79177
|
const commons_js_1 = __webpack_require__(/*! ./commons.js */ "./node_modules/engine.io-parser/build/cjs/commons.js");
|
|
79178
|
-
const base64_arraybuffer_1 = __webpack_require__(/*! base64-arraybuffer */ "./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js");
|
|
79178
|
+
const base64_arraybuffer_1 = __webpack_require__(/*! @socket.io/base64-arraybuffer */ "./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js");
|
|
79179
79179
|
const withNativeArrayBuffer = typeof ArrayBuffer === "function";
|
|
79180
79180
|
const decodePacket = (encodedPacket, binaryType) => {
|
|
79181
79181
|
if (typeof encodedPacket !== "string") {
|
package/appMain.js
CHANGED
|
@@ -383,7 +383,7 @@ Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function ()
|
|
|
383
383
|
"use strict";
|
|
384
384
|
|
|
385
385
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
386
|
-
exports.regexpCode = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
386
|
+
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
387
387
|
class _CodeOrName {
|
|
388
388
|
}
|
|
389
389
|
exports._CodeOrName = _CodeOrName;
|
|
@@ -523,6 +523,14 @@ function getProperty(key) {
|
|
|
523
523
|
return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`;
|
|
524
524
|
}
|
|
525
525
|
exports.getProperty = getProperty;
|
|
526
|
+
//Does best effort to format the name properly
|
|
527
|
+
function getEsmExportName(key) {
|
|
528
|
+
if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
|
|
529
|
+
return new _Code(`${key}`);
|
|
530
|
+
}
|
|
531
|
+
throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
|
|
532
|
+
}
|
|
533
|
+
exports.getEsmExportName = getEsmExportName;
|
|
526
534
|
function regexpCode(rx) {
|
|
527
535
|
return new _Code(rx.toString());
|
|
528
536
|
}
|
|
@@ -5351,6 +5359,8 @@ exports["default"] = def;
|
|
|
5351
5359
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5352
5360
|
const codegen_1 = __webpack_require__(/*! ../../compile/codegen */ "./node_modules/ajv/dist/compile/codegen/index.js");
|
|
5353
5361
|
const types_1 = __webpack_require__(/*! ../discriminator/types */ "./node_modules/ajv/dist/vocabularies/discriminator/types.js");
|
|
5362
|
+
const compile_1 = __webpack_require__(/*! ../../compile */ "./node_modules/ajv/dist/compile/index.js");
|
|
5363
|
+
const util_1 = __webpack_require__(/*! ../../compile/util */ "./node_modules/ajv/dist/compile/util.js");
|
|
5354
5364
|
const error = {
|
|
5355
5365
|
message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
|
|
5356
5366
|
? `tag "${tagName}" must be string`
|
|
@@ -5402,10 +5412,15 @@ const def = {
|
|
|
5402
5412
|
const topRequired = hasRequired(parentSchema);
|
|
5403
5413
|
let tagRequired = true;
|
|
5404
5414
|
for (let i = 0; i < oneOf.length; i++) {
|
|
5405
|
-
|
|
5406
|
-
|
|
5415
|
+
let sch = oneOf[i];
|
|
5416
|
+
if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
|
|
5417
|
+
sch = compile_1.resolveRef.call(it.self, it.schemaEnv, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
|
|
5418
|
+
if (sch instanceof compile_1.SchemaEnv)
|
|
5419
|
+
sch = sch.schema;
|
|
5420
|
+
}
|
|
5421
|
+
const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
|
|
5407
5422
|
if (typeof propSch != "object") {
|
|
5408
|
-
throw new Error(`discriminator: oneOf schemas must have "properties/${tagName}"`);
|
|
5423
|
+
throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
|
|
5409
5424
|
}
|
|
5410
5425
|
tagRequired = tagRequired && (topRequired || hasRequired(sch));
|
|
5411
5426
|
addMappings(propSch, i);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famibee/skynovel",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.4",
|
|
4
4
|
"description": "webgl novelgame framework",
|
|
5
5
|
"main": "core/web.js",
|
|
6
6
|
"types": "core/lib/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/electron-json-storage": "^4.5.0",
|
|
30
30
|
"@types/fs-extra": "^9.0.13",
|
|
31
31
|
"@types/mocha": "^9.0.0",
|
|
32
|
-
"@types/node": "^17.0.
|
|
32
|
+
"@types/node": "^17.0.10",
|
|
33
33
|
"@types/parsimmon": "^1.10.6",
|
|
34
34
|
"@types/platform": "^1.3.4",
|
|
35
35
|
"@types/power-assert": "^1.5.8",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"mocha": "^9.1.4",
|
|
41
41
|
"power-assert": "^1.6.1",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
|
-
"semantic-release": "^
|
|
43
|
+
"semantic-release": "^19.0.2",
|
|
44
44
|
"ts-loader": "^9.2.6",
|
|
45
45
|
"ts-node": "^10.4.0",
|
|
46
46
|
"typescript": "^4.5.4",
|
package/web.js
CHANGED
|
@@ -43280,6 +43280,72 @@ function getCenter(points) {
|
|
|
43280
43280
|
//# sourceMappingURL=matrix.esm.js.map
|
|
43281
43281
|
|
|
43282
43282
|
|
|
43283
|
+
/***/ }),
|
|
43284
|
+
|
|
43285
|
+
/***/ "./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js":
|
|
43286
|
+
/*!***********************************************************************************!*\
|
|
43287
|
+
!*** ./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js ***!
|
|
43288
|
+
\***********************************************************************************/
|
|
43289
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
43290
|
+
|
|
43291
|
+
"use strict";
|
|
43292
|
+
__webpack_require__.r(__webpack_exports__);
|
|
43293
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43294
|
+
/* harmony export */ "decode": () => (/* binding */ decode),
|
|
43295
|
+
/* harmony export */ "encode": () => (/* binding */ encode)
|
|
43296
|
+
/* harmony export */ });
|
|
43297
|
+
/*
|
|
43298
|
+
* base64-arraybuffer 1.0.1 <https://github.com/niklasvh/base64-arraybuffer>
|
|
43299
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
43300
|
+
* Released under MIT License
|
|
43301
|
+
*/
|
|
43302
|
+
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
43303
|
+
// Use a lookup table to find the index.
|
|
43304
|
+
var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);
|
|
43305
|
+
for (var i = 0; i < chars.length; i++) {
|
|
43306
|
+
lookup[chars.charCodeAt(i)] = i;
|
|
43307
|
+
}
|
|
43308
|
+
var encode = function (arraybuffer) {
|
|
43309
|
+
var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';
|
|
43310
|
+
for (i = 0; i < len; i += 3) {
|
|
43311
|
+
base64 += chars[bytes[i] >> 2];
|
|
43312
|
+
base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
|
|
43313
|
+
base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
|
|
43314
|
+
base64 += chars[bytes[i + 2] & 63];
|
|
43315
|
+
}
|
|
43316
|
+
if (len % 3 === 2) {
|
|
43317
|
+
base64 = base64.substring(0, base64.length - 1) + '=';
|
|
43318
|
+
}
|
|
43319
|
+
else if (len % 3 === 1) {
|
|
43320
|
+
base64 = base64.substring(0, base64.length - 2) + '==';
|
|
43321
|
+
}
|
|
43322
|
+
return base64;
|
|
43323
|
+
};
|
|
43324
|
+
var decode = function (base64) {
|
|
43325
|
+
var bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;
|
|
43326
|
+
if (base64[base64.length - 1] === '=') {
|
|
43327
|
+
bufferLength--;
|
|
43328
|
+
if (base64[base64.length - 2] === '=') {
|
|
43329
|
+
bufferLength--;
|
|
43330
|
+
}
|
|
43331
|
+
}
|
|
43332
|
+
var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);
|
|
43333
|
+
for (i = 0; i < len; i += 4) {
|
|
43334
|
+
encoded1 = lookup[base64.charCodeAt(i)];
|
|
43335
|
+
encoded2 = lookup[base64.charCodeAt(i + 1)];
|
|
43336
|
+
encoded3 = lookup[base64.charCodeAt(i + 2)];
|
|
43337
|
+
encoded4 = lookup[base64.charCodeAt(i + 3)];
|
|
43338
|
+
bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
|
|
43339
|
+
bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
|
|
43340
|
+
bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
|
|
43341
|
+
}
|
|
43342
|
+
return arraybuffer;
|
|
43343
|
+
};
|
|
43344
|
+
|
|
43345
|
+
|
|
43346
|
+
//# sourceMappingURL=base64-arraybuffer.es5.js.map
|
|
43347
|
+
|
|
43348
|
+
|
|
43283
43349
|
/***/ }),
|
|
43284
43350
|
|
|
43285
43351
|
/***/ "./node_modules/@socket.io/component-emitter/index.js":
|
|
@@ -44392,72 +44458,6 @@ Backoff.prototype.setJitter = function(jitter){
|
|
|
44392
44458
|
|
|
44393
44459
|
|
|
44394
44460
|
|
|
44395
|
-
/***/ }),
|
|
44396
|
-
|
|
44397
|
-
/***/ "./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js":
|
|
44398
|
-
/*!************************************************************************!*\
|
|
44399
|
-
!*** ./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js ***!
|
|
44400
|
-
\************************************************************************/
|
|
44401
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
44402
|
-
|
|
44403
|
-
"use strict";
|
|
44404
|
-
__webpack_require__.r(__webpack_exports__);
|
|
44405
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44406
|
-
/* harmony export */ "decode": () => (/* binding */ decode),
|
|
44407
|
-
/* harmony export */ "encode": () => (/* binding */ encode)
|
|
44408
|
-
/* harmony export */ });
|
|
44409
|
-
/*
|
|
44410
|
-
* base64-arraybuffer 1.0.1 <https://github.com/niklasvh/base64-arraybuffer>
|
|
44411
|
-
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
44412
|
-
* Released under MIT License
|
|
44413
|
-
*/
|
|
44414
|
-
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
44415
|
-
// Use a lookup table to find the index.
|
|
44416
|
-
var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);
|
|
44417
|
-
for (var i = 0; i < chars.length; i++) {
|
|
44418
|
-
lookup[chars.charCodeAt(i)] = i;
|
|
44419
|
-
}
|
|
44420
|
-
var encode = function (arraybuffer) {
|
|
44421
|
-
var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';
|
|
44422
|
-
for (i = 0; i < len; i += 3) {
|
|
44423
|
-
base64 += chars[bytes[i] >> 2];
|
|
44424
|
-
base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
|
|
44425
|
-
base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
|
|
44426
|
-
base64 += chars[bytes[i + 2] & 63];
|
|
44427
|
-
}
|
|
44428
|
-
if (len % 3 === 2) {
|
|
44429
|
-
base64 = base64.substring(0, base64.length - 1) + '=';
|
|
44430
|
-
}
|
|
44431
|
-
else if (len % 3 === 1) {
|
|
44432
|
-
base64 = base64.substring(0, base64.length - 2) + '==';
|
|
44433
|
-
}
|
|
44434
|
-
return base64;
|
|
44435
|
-
};
|
|
44436
|
-
var decode = function (base64) {
|
|
44437
|
-
var bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;
|
|
44438
|
-
if (base64[base64.length - 1] === '=') {
|
|
44439
|
-
bufferLength--;
|
|
44440
|
-
if (base64[base64.length - 2] === '=') {
|
|
44441
|
-
bufferLength--;
|
|
44442
|
-
}
|
|
44443
|
-
}
|
|
44444
|
-
var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);
|
|
44445
|
-
for (i = 0; i < len; i += 4) {
|
|
44446
|
-
encoded1 = lookup[base64.charCodeAt(i)];
|
|
44447
|
-
encoded2 = lookup[base64.charCodeAt(i + 1)];
|
|
44448
|
-
encoded3 = lookup[base64.charCodeAt(i + 2)];
|
|
44449
|
-
encoded4 = lookup[base64.charCodeAt(i + 3)];
|
|
44450
|
-
bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
|
|
44451
|
-
bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
|
|
44452
|
-
bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
|
|
44453
|
-
}
|
|
44454
|
-
return arraybuffer;
|
|
44455
|
-
};
|
|
44456
|
-
|
|
44457
|
-
|
|
44458
|
-
//# sourceMappingURL=base64-arraybuffer.es5.js.map
|
|
44459
|
-
|
|
44460
|
-
|
|
44461
44461
|
/***/ }),
|
|
44462
44462
|
|
|
44463
44463
|
/***/ "./node_modules/css-styled/dist/styled.esm.js":
|
|
@@ -80386,7 +80386,7 @@ exports.ERROR_PACKET = ERROR_PACKET;
|
|
|
80386
80386
|
|
|
80387
80387
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80388
80388
|
const commons_js_1 = __webpack_require__(/*! ./commons.js */ "./node_modules/engine.io-parser/build/cjs/commons.js");
|
|
80389
|
-
const base64_arraybuffer_1 = __webpack_require__(/*! base64-arraybuffer */ "./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js");
|
|
80389
|
+
const base64_arraybuffer_1 = __webpack_require__(/*! @socket.io/base64-arraybuffer */ "./node_modules/@socket.io/base64-arraybuffer/dist/base64-arraybuffer.es5.js");
|
|
80390
80390
|
const withNativeArrayBuffer = typeof ArrayBuffer === "function";
|
|
80391
80391
|
const decodePacket = (encodedPacket, binaryType) => {
|
|
80392
80392
|
if (typeof encodedPacket !== "string") {
|