@remix_labs/mixc-starter 2.6443.0 → 2.6445.0-dev
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/mixc-worker.node.mjs +222 -547
- package/mixc-worker.worker.js +3 -4
- package/package.json +1 -1
- package/protoquery_build.js +2 -2
package/mixc-worker.node.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
/******/
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
4
|
/***/ 3219:
|
|
5
5
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6
6
|
|
|
7
|
+
"use strict";
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9
10
|
exports.Dirent = void 0;
|
|
@@ -59,6 +60,7 @@ exports["default"] = Dirent;
|
|
|
59
60
|
/***/ 5136:
|
|
60
61
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
61
62
|
|
|
63
|
+
"use strict";
|
|
62
64
|
|
|
63
65
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64
66
|
exports.Stats = void 0;
|
|
@@ -131,6 +133,7 @@ exports["default"] = Stats;
|
|
|
131
133
|
/***/ 2970:
|
|
132
134
|
/***/ ((__unused_webpack_module, exports) => {
|
|
133
135
|
|
|
136
|
+
"use strict";
|
|
134
137
|
|
|
135
138
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
136
139
|
exports.constants = void 0;
|
|
@@ -189,6 +192,7 @@ exports.constants = {
|
|
|
189
192
|
/***/ 1792:
|
|
190
193
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
191
194
|
|
|
195
|
+
"use strict";
|
|
192
196
|
|
|
193
197
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
194
198
|
exports.strToEncoding = exports.assertEncoding = exports.ENCODING_UTF8 = void 0;
|
|
@@ -227,6 +231,7 @@ else
|
|
|
227
231
|
/***/ 7000:
|
|
228
232
|
/***/ ((module, exports, __webpack_require__) => {
|
|
229
233
|
|
|
234
|
+
"use strict";
|
|
230
235
|
|
|
231
236
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
232
237
|
exports.fs = exports.createFsFromVolume = exports.vol = exports.Volume = void 0;
|
|
@@ -267,6 +272,7 @@ module.exports.semantic = true;
|
|
|
267
272
|
/***/ 219:
|
|
268
273
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
269
274
|
|
|
275
|
+
"use strict";
|
|
270
276
|
|
|
271
277
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
272
278
|
exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
|
|
@@ -286,6 +292,7 @@ exports.bufferFrom = bufferFrom;
|
|
|
286
292
|
/***/ 8594:
|
|
287
293
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
288
294
|
|
|
295
|
+
"use strict";
|
|
289
296
|
|
|
290
297
|
// The whole point behind this internal module is to allow Node.js to no
|
|
291
298
|
// longer be forced to treat every error message change as a semver-major
|
|
@@ -530,6 +537,7 @@ function bufferOutOfBounds(name, isWriting) {
|
|
|
530
537
|
/***/ 6840:
|
|
531
538
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
532
539
|
|
|
540
|
+
"use strict";
|
|
533
541
|
|
|
534
542
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
535
543
|
exports.File = exports.Link = exports.Node = exports.SEP = void 0;
|
|
@@ -915,6 +923,7 @@ exports.File = File;
|
|
|
915
923
|
/***/ 365:
|
|
916
924
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
917
925
|
|
|
926
|
+
"use strict";
|
|
918
927
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
919
928
|
/* provided dependency */ var console = __webpack_require__(3951);
|
|
920
929
|
|
|
@@ -966,6 +975,7 @@ exports["default"] = createProcess();
|
|
|
966
975
|
/***/ 8572:
|
|
967
976
|
/***/ ((__unused_webpack_module, exports) => {
|
|
968
977
|
|
|
978
|
+
"use strict";
|
|
969
979
|
|
|
970
980
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
971
981
|
exports.FileHandle = void 0;
|
|
@@ -1117,6 +1127,7 @@ exports["default"] = createPromisesApi;
|
|
|
1117
1127
|
/***/ 5078:
|
|
1118
1128
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1119
1129
|
|
|
1130
|
+
"use strict";
|
|
1120
1131
|
|
|
1121
1132
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1122
1133
|
let _setImmediate;
|
|
@@ -1132,6 +1143,7 @@ exports["default"] = _setImmediate;
|
|
|
1132
1143
|
/***/ 50:
|
|
1133
1144
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1134
1145
|
|
|
1146
|
+
"use strict";
|
|
1135
1147
|
|
|
1136
1148
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1137
1149
|
/**
|
|
@@ -1152,6 +1164,7 @@ exports["default"] = setTimeoutUnref;
|
|
|
1152
1164
|
/***/ 131:
|
|
1153
1165
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1154
1166
|
|
|
1167
|
+
"use strict";
|
|
1155
1168
|
|
|
1156
1169
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1157
1170
|
exports.FSWatcher = exports.StatWatcher = exports.Volume = exports.toUnixTimestamp = exports.bufferToEncoding = exports.dataToBuffer = exports.dataToStr = exports.pathToSteps = exports.filenameToSteps = exports.pathToFilename = exports.flagsToNumber = exports.FLAGS = void 0;
|
|
@@ -3373,6 +3386,7 @@ module.exports = Worker
|
|
|
3373
3386
|
/***/ 9626:
|
|
3374
3387
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3375
3388
|
|
|
3389
|
+
"use strict";
|
|
3376
3390
|
|
|
3377
3391
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3378
3392
|
exports.ufs = exports.Union = void 0;
|
|
@@ -3387,6 +3401,7 @@ exports["default"] = exports.ufs;
|
|
|
3387
3401
|
/***/ 4085:
|
|
3388
3402
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3389
3403
|
|
|
3404
|
+
"use strict";
|
|
3390
3405
|
/* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
|
|
3391
3406
|
|
|
3392
3407
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
@@ -4194,6 +4209,7 @@ exports.Union = Union;
|
|
|
4194
4209
|
/***/ 8768:
|
|
4195
4210
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4196
4211
|
|
|
4212
|
+
"use strict";
|
|
4197
4213
|
|
|
4198
4214
|
|
|
4199
4215
|
exports.byteLength = byteLength
|
|
@@ -4351,6 +4367,7 @@ function fromByteArray (uint8) {
|
|
|
4351
4367
|
/***/ 4721:
|
|
4352
4368
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4353
4369
|
|
|
4370
|
+
"use strict";
|
|
4354
4371
|
var __webpack_unused_export__;
|
|
4355
4372
|
/* provided dependency */ var console = __webpack_require__(3951);
|
|
4356
4373
|
/*!
|
|
@@ -7409,6 +7426,7 @@ formatters.O = function (v) {
|
|
|
7409
7426
|
/***/ 3066:
|
|
7410
7427
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7411
7428
|
|
|
7429
|
+
"use strict";
|
|
7412
7430
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
7413
7431
|
|
|
7414
7432
|
|
|
@@ -7472,6 +7490,7 @@ function correctPath(filepath) {
|
|
|
7472
7490
|
/***/ 6962:
|
|
7473
7491
|
/***/ ((__unused_webpack_module, exports) => {
|
|
7474
7492
|
|
|
7493
|
+
"use strict";
|
|
7475
7494
|
|
|
7476
7495
|
|
|
7477
7496
|
Object.defineProperty(exports, "__esModule", ({
|
|
@@ -7490,6 +7509,7 @@ exports.fsAsyncMethods = fsAsyncMethods;
|
|
|
7490
7509
|
/***/ 1671:
|
|
7491
7510
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7492
7511
|
|
|
7512
|
+
"use strict";
|
|
7493
7513
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
7494
7514
|
|
|
7495
7515
|
|
|
@@ -7790,6 +7810,7 @@ module.exports = globalThis.DOMException
|
|
|
7790
7810
|
/***/ 4695:
|
|
7791
7811
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7792
7812
|
|
|
7813
|
+
"use strict";
|
|
7793
7814
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
7794
7815
|
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
7795
7816
|
// transplited with Babel
|
|
@@ -8526,6 +8547,7 @@ module.exports = __webpack_require__(6113).randomBytes
|
|
|
8526
8547
|
/***/ 3523:
|
|
8527
8548
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8528
8549
|
|
|
8550
|
+
"use strict";
|
|
8529
8551
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
8530
8552
|
|
|
8531
8553
|
|
|
@@ -8728,6 +8750,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
8728
8750
|
/***/ 2751:
|
|
8729
8751
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
8730
8752
|
|
|
8753
|
+
"use strict";
|
|
8731
8754
|
/* provided dependency */ var process = __webpack_require__(2866);
|
|
8732
8755
|
|
|
8733
8756
|
const os = __webpack_require__(2037);
|
|
@@ -8914,6 +8937,7 @@ module.exports = function typedarrayToBuffer (arr) {
|
|
|
8914
8937
|
/***/ 1279:
|
|
8915
8938
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8916
8939
|
|
|
8940
|
+
"use strict";
|
|
8917
8941
|
|
|
8918
8942
|
/*
|
|
8919
8943
|
This is https://github.com/cabinjs/browser-hrtime/blob/master/src/index.ts
|
|
@@ -8971,6 +8995,7 @@ exports["default"] = _hrtime;
|
|
|
8971
8995
|
/***/ 7986:
|
|
8972
8996
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8973
8997
|
|
|
8998
|
+
"use strict";
|
|
8974
8999
|
|
|
8975
9000
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8976
9001
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9002,6 +9027,7 @@ exports["default"] = bindings;
|
|
|
9002
9027
|
/***/ 6207:
|
|
9003
9028
|
/***/ ((__unused_webpack_module, exports) => {
|
|
9004
9029
|
|
|
9030
|
+
"use strict";
|
|
9005
9031
|
|
|
9006
9032
|
/*
|
|
9007
9033
|
|
|
@@ -9408,6 +9434,7 @@ exports.SIGNAL_MAP = {
|
|
|
9408
9434
|
/***/ 4995:
|
|
9409
9435
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9410
9436
|
|
|
9437
|
+
"use strict";
|
|
9411
9438
|
/* provided dependency */ var console = __webpack_require__(3951);
|
|
9412
9439
|
|
|
9413
9440
|
/*
|
|
@@ -9594,6 +9621,7 @@ open* function.
|
|
|
9594
9621
|
/***/ 2082:
|
|
9595
9622
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9596
9623
|
|
|
9624
|
+
"use strict";
|
|
9597
9625
|
|
|
9598
9626
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9599
9627
|
if (k2 === undefined) k2 = k;
|
|
@@ -9634,6 +9662,7 @@ exports.constants = constants;
|
|
|
9634
9662
|
/***/ 3298:
|
|
9635
9663
|
/***/ ((__unused_webpack_module, exports) => {
|
|
9636
9664
|
|
|
9665
|
+
"use strict";
|
|
9637
9666
|
|
|
9638
9667
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9639
9668
|
exports.WASIKillError = exports.WASIExitError = exports.WASIError = void 0;
|
|
@@ -9668,6 +9697,7 @@ exports.WASIKillError = WASIKillError;
|
|
|
9668
9697
|
/***/ 1576:
|
|
9669
9698
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
9670
9699
|
|
|
9700
|
+
"use strict";
|
|
9671
9701
|
|
|
9672
9702
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9673
9703
|
const path_1 = __webpack_require__(1017);
|
|
@@ -9703,6 +9733,7 @@ exports["default"] = unzip;
|
|
|
9703
9733
|
/***/ 4078:
|
|
9704
9734
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9705
9735
|
|
|
9736
|
+
"use strict";
|
|
9706
9737
|
/* provided dependency */ var console = __webpack_require__(3951);
|
|
9707
9738
|
/* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
|
|
9708
9739
|
|
|
@@ -15804,105 +15835,120 @@ module.exports = webpackEmptyContext;
|
|
|
15804
15835
|
/***/ 9491:
|
|
15805
15836
|
/***/ ((module) => {
|
|
15806
15837
|
|
|
15807
|
-
|
|
15838
|
+
"use strict";
|
|
15839
|
+
module.exports = require("assert");
|
|
15808
15840
|
|
|
15809
15841
|
/***/ }),
|
|
15810
15842
|
|
|
15811
15843
|
/***/ 4300:
|
|
15812
15844
|
/***/ ((module) => {
|
|
15813
15845
|
|
|
15814
|
-
|
|
15846
|
+
"use strict";
|
|
15847
|
+
module.exports = require("buffer");
|
|
15815
15848
|
|
|
15816
15849
|
/***/ }),
|
|
15817
15850
|
|
|
15818
15851
|
/***/ 6113:
|
|
15819
15852
|
/***/ ((module) => {
|
|
15820
15853
|
|
|
15821
|
-
|
|
15854
|
+
"use strict";
|
|
15855
|
+
module.exports = require("crypto");
|
|
15822
15856
|
|
|
15823
15857
|
/***/ }),
|
|
15824
15858
|
|
|
15825
15859
|
/***/ 2361:
|
|
15826
15860
|
/***/ ((module) => {
|
|
15827
15861
|
|
|
15828
|
-
|
|
15862
|
+
"use strict";
|
|
15863
|
+
module.exports = require("events");
|
|
15829
15864
|
|
|
15830
15865
|
/***/ }),
|
|
15831
15866
|
|
|
15832
15867
|
/***/ 7742:
|
|
15833
15868
|
/***/ ((module) => {
|
|
15834
15869
|
|
|
15835
|
-
|
|
15870
|
+
"use strict";
|
|
15871
|
+
module.exports = require("node:process");
|
|
15836
15872
|
|
|
15837
15873
|
/***/ }),
|
|
15838
15874
|
|
|
15839
15875
|
/***/ 2477:
|
|
15840
15876
|
/***/ ((module) => {
|
|
15841
15877
|
|
|
15842
|
-
|
|
15878
|
+
"use strict";
|
|
15879
|
+
module.exports = require("node:stream/web");
|
|
15843
15880
|
|
|
15844
15881
|
/***/ }),
|
|
15845
15882
|
|
|
15846
15883
|
/***/ 2037:
|
|
15847
15884
|
/***/ ((module) => {
|
|
15848
15885
|
|
|
15849
|
-
|
|
15886
|
+
"use strict";
|
|
15887
|
+
module.exports = require("os");
|
|
15850
15888
|
|
|
15851
15889
|
/***/ }),
|
|
15852
15890
|
|
|
15853
15891
|
/***/ 1017:
|
|
15854
15892
|
/***/ ((module) => {
|
|
15855
15893
|
|
|
15856
|
-
|
|
15894
|
+
"use strict";
|
|
15895
|
+
module.exports = require("path");
|
|
15857
15896
|
|
|
15858
15897
|
/***/ }),
|
|
15859
15898
|
|
|
15860
15899
|
/***/ 7282:
|
|
15861
15900
|
/***/ ((module) => {
|
|
15862
15901
|
|
|
15863
|
-
|
|
15902
|
+
"use strict";
|
|
15903
|
+
module.exports = require("process");
|
|
15864
15904
|
|
|
15865
15905
|
/***/ }),
|
|
15866
15906
|
|
|
15867
15907
|
/***/ 2781:
|
|
15868
15908
|
/***/ ((module) => {
|
|
15869
15909
|
|
|
15870
|
-
|
|
15910
|
+
"use strict";
|
|
15911
|
+
module.exports = require("stream");
|
|
15871
15912
|
|
|
15872
15913
|
/***/ }),
|
|
15873
15914
|
|
|
15874
15915
|
/***/ 6224:
|
|
15875
15916
|
/***/ ((module) => {
|
|
15876
15917
|
|
|
15877
|
-
|
|
15918
|
+
"use strict";
|
|
15919
|
+
module.exports = require("tty");
|
|
15878
15920
|
|
|
15879
15921
|
/***/ }),
|
|
15880
15922
|
|
|
15881
15923
|
/***/ 7310:
|
|
15882
15924
|
/***/ ((module) => {
|
|
15883
15925
|
|
|
15884
|
-
|
|
15926
|
+
"use strict";
|
|
15927
|
+
module.exports = require("url");
|
|
15885
15928
|
|
|
15886
15929
|
/***/ }),
|
|
15887
15930
|
|
|
15888
15931
|
/***/ 3837:
|
|
15889
15932
|
/***/ ((module) => {
|
|
15890
15933
|
|
|
15891
|
-
|
|
15934
|
+
"use strict";
|
|
15935
|
+
module.exports = require("util");
|
|
15892
15936
|
|
|
15893
15937
|
/***/ }),
|
|
15894
15938
|
|
|
15895
15939
|
/***/ 6144:
|
|
15896
15940
|
/***/ ((module) => {
|
|
15897
15941
|
|
|
15898
|
-
|
|
15942
|
+
"use strict";
|
|
15943
|
+
module.exports = require("vm");
|
|
15899
15944
|
|
|
15900
15945
|
/***/ }),
|
|
15901
15946
|
|
|
15902
15947
|
/***/ 1267:
|
|
15903
15948
|
/***/ ((module) => {
|
|
15904
15949
|
|
|
15905
|
-
|
|
15950
|
+
"use strict";
|
|
15951
|
+
module.exports = require("worker_threads");
|
|
15906
15952
|
|
|
15907
15953
|
/***/ }),
|
|
15908
15954
|
|
|
@@ -15967,6 +16013,7 @@ try {
|
|
|
15967
16013
|
/***/ 442:
|
|
15968
16014
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15969
16015
|
|
|
16016
|
+
"use strict";
|
|
15970
16017
|
|
|
15971
16018
|
// DEFLATE is a complex format; to read this code, you should probably check the RFC first:
|
|
15972
16019
|
// https://tools.ietf.org/html/rfc1951
|
|
@@ -18555,6 +18602,7 @@ exports.unzipSync = unzipSync;
|
|
|
18555
18602
|
/***/ 1537:
|
|
18556
18603
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
18557
18604
|
|
|
18605
|
+
"use strict";
|
|
18558
18606
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18559
18607
|
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18560
18608
|
/* harmony export */ });
|
|
@@ -18616,6 +18664,7 @@ const File = _File
|
|
|
18616
18664
|
/***/ 273:
|
|
18617
18665
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
18618
18666
|
|
|
18667
|
+
"use strict";
|
|
18619
18668
|
|
|
18620
18669
|
// EXPORTS
|
|
18621
18670
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -18625,9 +18674,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
18625
18674
|
// UNUSED EXPORTS: Blob, blobFrom, blobFromSync, default, fileFrom, fileFromSync
|
|
18626
18675
|
|
|
18627
18676
|
;// CONCATENATED MODULE: external "node:fs"
|
|
18628
|
-
const external_node_fs_namespaceObject =
|
|
18677
|
+
const external_node_fs_namespaceObject = require("node:fs");
|
|
18629
18678
|
;// CONCATENATED MODULE: external "node:path"
|
|
18630
|
-
const external_node_path_namespaceObject =
|
|
18679
|
+
const external_node_path_namespaceObject = require("node:path");
|
|
18631
18680
|
// EXTERNAL MODULE: ./node_modules/node-domexception/index.js
|
|
18632
18681
|
var node_domexception = __webpack_require__(9153);
|
|
18633
18682
|
// EXTERNAL MODULE: ./node_modules/fetch-blob/file.js
|
|
@@ -18742,6 +18791,7 @@ class BlobDataItem {
|
|
|
18742
18791
|
/***/ 8073:
|
|
18743
18792
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
18744
18793
|
|
|
18794
|
+
"use strict";
|
|
18745
18795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18746
18796
|
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18747
18797
|
/* harmony export */ });
|
|
@@ -19004,6 +19054,7 @@ const Blob = _Blob
|
|
|
19004
19054
|
/***/ 6930:
|
|
19005
19055
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
19006
19056
|
|
|
19057
|
+
"use strict";
|
|
19007
19058
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19008
19059
|
/* harmony export */ "Ct": () => (/* binding */ FormData),
|
|
19009
19060
|
/* harmony export */ "au": () => (/* binding */ formDataToBlob)
|
|
@@ -19053,540 +19104,163 @@ c.push(`--${b}--`)
|
|
|
19053
19104
|
return new B(c,{type:"multipart/form-data; boundary="+b})}
|
|
19054
19105
|
|
|
19055
19106
|
|
|
19056
|
-
/***/ }),
|
|
19057
|
-
|
|
19058
|
-
/***/ 941:
|
|
19059
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
19060
|
-
|
|
19061
|
-
__webpack_require__.r(__webpack_exports__);
|
|
19062
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19063
|
-
/* harmony export */ "toFormData": () => (/* binding */ toFormData)
|
|
19064
|
-
/* harmony export */ });
|
|
19065
|
-
/* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(273);
|
|
19066
|
-
/* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6930);
|
|
19067
|
-
|
|
19068
|
-
|
|
19069
|
-
|
|
19070
|
-
let s = 0;
|
|
19071
|
-
const S = {
|
|
19072
|
-
START_BOUNDARY: s++,
|
|
19073
|
-
HEADER_FIELD_START: s++,
|
|
19074
|
-
HEADER_FIELD: s++,
|
|
19075
|
-
HEADER_VALUE_START: s++,
|
|
19076
|
-
HEADER_VALUE: s++,
|
|
19077
|
-
HEADER_VALUE_ALMOST_DONE: s++,
|
|
19078
|
-
HEADERS_ALMOST_DONE: s++,
|
|
19079
|
-
PART_DATA_START: s++,
|
|
19080
|
-
PART_DATA: s++,
|
|
19081
|
-
END: s++
|
|
19082
|
-
};
|
|
19083
|
-
|
|
19084
|
-
let f = 1;
|
|
19085
|
-
const F = {
|
|
19086
|
-
PART_BOUNDARY: f,
|
|
19087
|
-
LAST_BOUNDARY: f *= 2
|
|
19088
|
-
};
|
|
19089
|
-
|
|
19090
|
-
const LF = 10;
|
|
19091
|
-
const CR = 13;
|
|
19092
|
-
const SPACE = 32;
|
|
19093
|
-
const HYPHEN = 45;
|
|
19094
|
-
const COLON = 58;
|
|
19095
|
-
const A = 97;
|
|
19096
|
-
const Z = 122;
|
|
19097
|
-
|
|
19098
|
-
const lower = c => c | 0x20;
|
|
19099
|
-
|
|
19100
|
-
const noop = () => {};
|
|
19101
|
-
|
|
19102
|
-
class MultipartParser {
|
|
19103
|
-
/**
|
|
19104
|
-
* @param {string} boundary
|
|
19105
|
-
*/
|
|
19106
|
-
constructor(boundary) {
|
|
19107
|
-
this.index = 0;
|
|
19108
|
-
this.flags = 0;
|
|
19109
|
-
|
|
19110
|
-
this.onHeaderEnd = noop;
|
|
19111
|
-
this.onHeaderField = noop;
|
|
19112
|
-
this.onHeadersEnd = noop;
|
|
19113
|
-
this.onHeaderValue = noop;
|
|
19114
|
-
this.onPartBegin = noop;
|
|
19115
|
-
this.onPartData = noop;
|
|
19116
|
-
this.onPartEnd = noop;
|
|
19117
|
-
|
|
19118
|
-
this.boundaryChars = {};
|
|
19119
|
-
|
|
19120
|
-
boundary = '\r\n--' + boundary;
|
|
19121
|
-
const ui8a = new Uint8Array(boundary.length);
|
|
19122
|
-
for (let i = 0; i < boundary.length; i++) {
|
|
19123
|
-
ui8a[i] = boundary.charCodeAt(i);
|
|
19124
|
-
this.boundaryChars[ui8a[i]] = true;
|
|
19125
|
-
}
|
|
19126
|
-
|
|
19127
|
-
this.boundary = ui8a;
|
|
19128
|
-
this.lookbehind = new Uint8Array(this.boundary.length + 8);
|
|
19129
|
-
this.state = S.START_BOUNDARY;
|
|
19130
|
-
}
|
|
19131
|
-
|
|
19132
|
-
/**
|
|
19133
|
-
* @param {Uint8Array} data
|
|
19134
|
-
*/
|
|
19135
|
-
write(data) {
|
|
19136
|
-
let i = 0;
|
|
19137
|
-
const length_ = data.length;
|
|
19138
|
-
let previousIndex = this.index;
|
|
19139
|
-
let {lookbehind, boundary, boundaryChars, index, state, flags} = this;
|
|
19140
|
-
const boundaryLength = this.boundary.length;
|
|
19141
|
-
const boundaryEnd = boundaryLength - 1;
|
|
19142
|
-
const bufferLength = data.length;
|
|
19143
|
-
let c;
|
|
19144
|
-
let cl;
|
|
19145
|
-
|
|
19146
|
-
const mark = name => {
|
|
19147
|
-
this[name + 'Mark'] = i;
|
|
19148
|
-
};
|
|
19149
|
-
|
|
19150
|
-
const clear = name => {
|
|
19151
|
-
delete this[name + 'Mark'];
|
|
19152
|
-
};
|
|
19153
|
-
|
|
19154
|
-
const callback = (callbackSymbol, start, end, ui8a) => {
|
|
19155
|
-
if (start === undefined || start !== end) {
|
|
19156
|
-
this[callbackSymbol](ui8a && ui8a.subarray(start, end));
|
|
19157
|
-
}
|
|
19158
|
-
};
|
|
19159
|
-
|
|
19160
|
-
const dataCallback = (name, clear) => {
|
|
19161
|
-
const markSymbol = name + 'Mark';
|
|
19162
|
-
if (!(markSymbol in this)) {
|
|
19163
|
-
return;
|
|
19164
|
-
}
|
|
19165
|
-
|
|
19166
|
-
if (clear) {
|
|
19167
|
-
callback(name, this[markSymbol], i, data);
|
|
19168
|
-
delete this[markSymbol];
|
|
19169
|
-
} else {
|
|
19170
|
-
callback(name, this[markSymbol], data.length, data);
|
|
19171
|
-
this[markSymbol] = 0;
|
|
19172
|
-
}
|
|
19173
|
-
};
|
|
19174
|
-
|
|
19175
|
-
for (i = 0; i < length_; i++) {
|
|
19176
|
-
c = data[i];
|
|
19177
|
-
|
|
19178
|
-
switch (state) {
|
|
19179
|
-
case S.START_BOUNDARY:
|
|
19180
|
-
if (index === boundary.length - 2) {
|
|
19181
|
-
if (c === HYPHEN) {
|
|
19182
|
-
flags |= F.LAST_BOUNDARY;
|
|
19183
|
-
} else if (c !== CR) {
|
|
19184
|
-
return;
|
|
19185
|
-
}
|
|
19186
|
-
|
|
19187
|
-
index++;
|
|
19188
|
-
break;
|
|
19189
|
-
} else if (index - 1 === boundary.length - 2) {
|
|
19190
|
-
if (flags & F.LAST_BOUNDARY && c === HYPHEN) {
|
|
19191
|
-
state = S.END;
|
|
19192
|
-
flags = 0;
|
|
19193
|
-
} else if (!(flags & F.LAST_BOUNDARY) && c === LF) {
|
|
19194
|
-
index = 0;
|
|
19195
|
-
callback('onPartBegin');
|
|
19196
|
-
state = S.HEADER_FIELD_START;
|
|
19197
|
-
} else {
|
|
19198
|
-
return;
|
|
19199
|
-
}
|
|
19200
|
-
|
|
19201
|
-
break;
|
|
19202
|
-
}
|
|
19203
|
-
|
|
19204
|
-
if (c !== boundary[index + 2]) {
|
|
19205
|
-
index = -2;
|
|
19206
|
-
}
|
|
19207
|
-
|
|
19208
|
-
if (c === boundary[index + 2]) {
|
|
19209
|
-
index++;
|
|
19210
|
-
}
|
|
19211
|
-
|
|
19212
|
-
break;
|
|
19213
|
-
case S.HEADER_FIELD_START:
|
|
19214
|
-
state = S.HEADER_FIELD;
|
|
19215
|
-
mark('onHeaderField');
|
|
19216
|
-
index = 0;
|
|
19217
|
-
// falls through
|
|
19218
|
-
case S.HEADER_FIELD:
|
|
19219
|
-
if (c === CR) {
|
|
19220
|
-
clear('onHeaderField');
|
|
19221
|
-
state = S.HEADERS_ALMOST_DONE;
|
|
19222
|
-
break;
|
|
19223
|
-
}
|
|
19224
|
-
|
|
19225
|
-
index++;
|
|
19226
|
-
if (c === HYPHEN) {
|
|
19227
|
-
break;
|
|
19228
|
-
}
|
|
19229
|
-
|
|
19230
|
-
if (c === COLON) {
|
|
19231
|
-
if (index === 1) {
|
|
19232
|
-
// empty header field
|
|
19233
|
-
return;
|
|
19234
|
-
}
|
|
19235
|
-
|
|
19236
|
-
dataCallback('onHeaderField', true);
|
|
19237
|
-
state = S.HEADER_VALUE_START;
|
|
19238
|
-
break;
|
|
19239
|
-
}
|
|
19240
|
-
|
|
19241
|
-
cl = lower(c);
|
|
19242
|
-
if (cl < A || cl > Z) {
|
|
19243
|
-
return;
|
|
19244
|
-
}
|
|
19245
|
-
|
|
19246
|
-
break;
|
|
19247
|
-
case S.HEADER_VALUE_START:
|
|
19248
|
-
if (c === SPACE) {
|
|
19249
|
-
break;
|
|
19250
|
-
}
|
|
19251
|
-
|
|
19252
|
-
mark('onHeaderValue');
|
|
19253
|
-
state = S.HEADER_VALUE;
|
|
19254
|
-
// falls through
|
|
19255
|
-
case S.HEADER_VALUE:
|
|
19256
|
-
if (c === CR) {
|
|
19257
|
-
dataCallback('onHeaderValue', true);
|
|
19258
|
-
callback('onHeaderEnd');
|
|
19259
|
-
state = S.HEADER_VALUE_ALMOST_DONE;
|
|
19260
|
-
}
|
|
19261
|
-
|
|
19262
|
-
break;
|
|
19263
|
-
case S.HEADER_VALUE_ALMOST_DONE:
|
|
19264
|
-
if (c !== LF) {
|
|
19265
|
-
return;
|
|
19266
|
-
}
|
|
19267
|
-
|
|
19268
|
-
state = S.HEADER_FIELD_START;
|
|
19269
|
-
break;
|
|
19270
|
-
case S.HEADERS_ALMOST_DONE:
|
|
19271
|
-
if (c !== LF) {
|
|
19272
|
-
return;
|
|
19273
|
-
}
|
|
19274
|
-
|
|
19275
|
-
callback('onHeadersEnd');
|
|
19276
|
-
state = S.PART_DATA_START;
|
|
19277
|
-
break;
|
|
19278
|
-
case S.PART_DATA_START:
|
|
19279
|
-
state = S.PART_DATA;
|
|
19280
|
-
mark('onPartData');
|
|
19281
|
-
// falls through
|
|
19282
|
-
case S.PART_DATA:
|
|
19283
|
-
previousIndex = index;
|
|
19284
|
-
|
|
19285
|
-
if (index === 0) {
|
|
19286
|
-
// boyer-moore derrived algorithm to safely skip non-boundary data
|
|
19287
|
-
i += boundaryEnd;
|
|
19288
|
-
while (i < bufferLength && !(data[i] in boundaryChars)) {
|
|
19289
|
-
i += boundaryLength;
|
|
19290
|
-
}
|
|
19291
|
-
|
|
19292
|
-
i -= boundaryEnd;
|
|
19293
|
-
c = data[i];
|
|
19294
|
-
}
|
|
19295
|
-
|
|
19296
|
-
if (index < boundary.length) {
|
|
19297
|
-
if (boundary[index] === c) {
|
|
19298
|
-
if (index === 0) {
|
|
19299
|
-
dataCallback('onPartData', true);
|
|
19300
|
-
}
|
|
19301
|
-
|
|
19302
|
-
index++;
|
|
19303
|
-
} else {
|
|
19304
|
-
index = 0;
|
|
19305
|
-
}
|
|
19306
|
-
} else if (index === boundary.length) {
|
|
19307
|
-
index++;
|
|
19308
|
-
if (c === CR) {
|
|
19309
|
-
// CR = part boundary
|
|
19310
|
-
flags |= F.PART_BOUNDARY;
|
|
19311
|
-
} else if (c === HYPHEN) {
|
|
19312
|
-
// HYPHEN = end boundary
|
|
19313
|
-
flags |= F.LAST_BOUNDARY;
|
|
19314
|
-
} else {
|
|
19315
|
-
index = 0;
|
|
19316
|
-
}
|
|
19317
|
-
} else if (index - 1 === boundary.length) {
|
|
19318
|
-
if (flags & F.PART_BOUNDARY) {
|
|
19319
|
-
index = 0;
|
|
19320
|
-
if (c === LF) {
|
|
19321
|
-
// unset the PART_BOUNDARY flag
|
|
19322
|
-
flags &= ~F.PART_BOUNDARY;
|
|
19323
|
-
callback('onPartEnd');
|
|
19324
|
-
callback('onPartBegin');
|
|
19325
|
-
state = S.HEADER_FIELD_START;
|
|
19326
|
-
break;
|
|
19327
|
-
}
|
|
19328
|
-
} else if (flags & F.LAST_BOUNDARY) {
|
|
19329
|
-
if (c === HYPHEN) {
|
|
19330
|
-
callback('onPartEnd');
|
|
19331
|
-
state = S.END;
|
|
19332
|
-
flags = 0;
|
|
19333
|
-
} else {
|
|
19334
|
-
index = 0;
|
|
19335
|
-
}
|
|
19336
|
-
} else {
|
|
19337
|
-
index = 0;
|
|
19338
|
-
}
|
|
19339
|
-
}
|
|
19340
|
-
|
|
19341
|
-
if (index > 0) {
|
|
19342
|
-
// when matching a possible boundary, keep a lookbehind reference
|
|
19343
|
-
// in case it turns out to be a false lead
|
|
19344
|
-
lookbehind[index - 1] = c;
|
|
19345
|
-
} else if (previousIndex > 0) {
|
|
19346
|
-
// if our boundary turned out to be rubbish, the captured lookbehind
|
|
19347
|
-
// belongs to partData
|
|
19348
|
-
const _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength);
|
|
19349
|
-
callback('onPartData', 0, previousIndex, _lookbehind);
|
|
19350
|
-
previousIndex = 0;
|
|
19351
|
-
mark('onPartData');
|
|
19352
|
-
|
|
19353
|
-
// reconsider the current character even so it interrupted the sequence
|
|
19354
|
-
// it could be the beginning of a new sequence
|
|
19355
|
-
i--;
|
|
19356
|
-
}
|
|
19357
|
-
|
|
19358
|
-
break;
|
|
19359
|
-
case S.END:
|
|
19360
|
-
break;
|
|
19361
|
-
default:
|
|
19362
|
-
throw new Error(`Unexpected state entered: ${state}`);
|
|
19363
|
-
}
|
|
19364
|
-
}
|
|
19365
|
-
|
|
19366
|
-
dataCallback('onHeaderField');
|
|
19367
|
-
dataCallback('onHeaderValue');
|
|
19368
|
-
dataCallback('onPartData');
|
|
19369
|
-
|
|
19370
|
-
// Update properties for the next call
|
|
19371
|
-
this.index = index;
|
|
19372
|
-
this.state = state;
|
|
19373
|
-
this.flags = flags;
|
|
19374
|
-
}
|
|
19375
|
-
|
|
19376
|
-
end() {
|
|
19377
|
-
if ((this.state === S.HEADER_FIELD_START && this.index === 0) ||
|
|
19378
|
-
(this.state === S.PART_DATA && this.index === this.boundary.length)) {
|
|
19379
|
-
this.onPartEnd();
|
|
19380
|
-
} else if (this.state !== S.END) {
|
|
19381
|
-
throw new Error('MultipartParser.end(): stream ended unexpectedly');
|
|
19382
|
-
}
|
|
19383
|
-
}
|
|
19384
|
-
}
|
|
19385
|
-
|
|
19386
|
-
function _fileName(headerValue) {
|
|
19387
|
-
// matches either a quoted-string or a token (RFC 2616 section 19.5.1)
|
|
19388
|
-
const m = headerValue.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
|
|
19389
|
-
if (!m) {
|
|
19390
|
-
return;
|
|
19391
|
-
}
|
|
19392
|
-
|
|
19393
|
-
const match = m[2] || m[3] || '';
|
|
19394
|
-
let filename = match.slice(match.lastIndexOf('\\') + 1);
|
|
19395
|
-
filename = filename.replace(/%22/g, '"');
|
|
19396
|
-
filename = filename.replace(/&#(\d{4});/g, (m, code) => {
|
|
19397
|
-
return String.fromCharCode(code);
|
|
19398
|
-
});
|
|
19399
|
-
return filename;
|
|
19400
|
-
}
|
|
19401
|
-
|
|
19402
|
-
async function toFormData(Body, ct) {
|
|
19403
|
-
if (!/multipart/i.test(ct)) {
|
|
19404
|
-
throw new TypeError('Failed to fetch');
|
|
19405
|
-
}
|
|
19406
|
-
|
|
19407
|
-
const m = ct.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
|
|
19408
|
-
|
|
19409
|
-
if (!m) {
|
|
19410
|
-
throw new TypeError('no or bad content-type header, no multipart boundary');
|
|
19411
|
-
}
|
|
19412
|
-
|
|
19413
|
-
const parser = new MultipartParser(m[1] || m[2]);
|
|
19414
|
-
|
|
19415
|
-
let headerField;
|
|
19416
|
-
let headerValue;
|
|
19417
|
-
let entryValue;
|
|
19418
|
-
let entryName;
|
|
19419
|
-
let contentType;
|
|
19420
|
-
let filename;
|
|
19421
|
-
const entryChunks = [];
|
|
19422
|
-
const formData = new formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__/* .FormData */ .Ct();
|
|
19423
|
-
|
|
19424
|
-
const onPartData = ui8a => {
|
|
19425
|
-
entryValue += decoder.decode(ui8a, {stream: true});
|
|
19426
|
-
};
|
|
19427
|
-
|
|
19428
|
-
const appendToFile = ui8a => {
|
|
19429
|
-
entryChunks.push(ui8a);
|
|
19430
|
-
};
|
|
19431
|
-
|
|
19432
|
-
const appendFileToFormData = () => {
|
|
19433
|
-
const file = new fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__/* .File */ .$B(entryChunks, filename, {type: contentType});
|
|
19434
|
-
formData.append(entryName, file);
|
|
19435
|
-
};
|
|
19436
|
-
|
|
19437
|
-
const appendEntryToFormData = () => {
|
|
19438
|
-
formData.append(entryName, entryValue);
|
|
19439
|
-
};
|
|
19440
|
-
|
|
19441
|
-
const decoder = new TextDecoder('utf-8');
|
|
19442
|
-
decoder.decode();
|
|
19443
|
-
|
|
19444
|
-
parser.onPartBegin = function () {
|
|
19445
|
-
parser.onPartData = onPartData;
|
|
19446
|
-
parser.onPartEnd = appendEntryToFormData;
|
|
19447
|
-
|
|
19448
|
-
headerField = '';
|
|
19449
|
-
headerValue = '';
|
|
19450
|
-
entryValue = '';
|
|
19451
|
-
entryName = '';
|
|
19452
|
-
contentType = '';
|
|
19453
|
-
filename = null;
|
|
19454
|
-
entryChunks.length = 0;
|
|
19455
|
-
};
|
|
19456
|
-
|
|
19457
|
-
parser.onHeaderField = function (ui8a) {
|
|
19458
|
-
headerField += decoder.decode(ui8a, {stream: true});
|
|
19459
|
-
};
|
|
19460
|
-
|
|
19461
|
-
parser.onHeaderValue = function (ui8a) {
|
|
19462
|
-
headerValue += decoder.decode(ui8a, {stream: true});
|
|
19463
|
-
};
|
|
19464
|
-
|
|
19465
|
-
parser.onHeaderEnd = function () {
|
|
19466
|
-
headerValue += decoder.decode();
|
|
19467
|
-
headerField = headerField.toLowerCase();
|
|
19468
|
-
|
|
19469
|
-
if (headerField === 'content-disposition') {
|
|
19470
|
-
// matches either a quoted-string or a token (RFC 2616 section 19.5.1)
|
|
19471
|
-
const m = headerValue.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
|
|
19472
|
-
|
|
19473
|
-
if (m) {
|
|
19474
|
-
entryName = m[2] || m[3] || '';
|
|
19475
|
-
}
|
|
19476
|
-
|
|
19477
|
-
filename = _fileName(headerValue);
|
|
19478
|
-
|
|
19479
|
-
if (filename) {
|
|
19480
|
-
parser.onPartData = appendToFile;
|
|
19481
|
-
parser.onPartEnd = appendFileToFormData;
|
|
19482
|
-
}
|
|
19483
|
-
} else if (headerField === 'content-type') {
|
|
19484
|
-
contentType = headerValue;
|
|
19485
|
-
}
|
|
19486
|
-
|
|
19487
|
-
headerValue = '';
|
|
19488
|
-
headerField = '';
|
|
19489
|
-
};
|
|
19490
|
-
|
|
19491
|
-
for await (const chunk of Body) {
|
|
19492
|
-
parser.write(chunk);
|
|
19493
|
-
}
|
|
19494
|
-
|
|
19495
|
-
parser.end();
|
|
19496
|
-
|
|
19497
|
-
return formData;
|
|
19498
|
-
}
|
|
19499
|
-
|
|
19500
|
-
|
|
19501
19107
|
/***/ })
|
|
19502
19108
|
|
|
19503
|
-
/******/
|
|
19109
|
+
/******/ });
|
|
19504
19110
|
/************************************************************************/
|
|
19505
|
-
/******/
|
|
19506
|
-
/******/
|
|
19507
|
-
/******/
|
|
19508
|
-
/******/
|
|
19509
|
-
/******/
|
|
19510
|
-
/******/
|
|
19511
|
-
/******/
|
|
19512
|
-
/******/
|
|
19513
|
-
/******/
|
|
19111
|
+
/******/ // The module cache
|
|
19112
|
+
/******/ var __webpack_module_cache__ = {};
|
|
19113
|
+
/******/
|
|
19114
|
+
/******/ // The require function
|
|
19115
|
+
/******/ function __webpack_require__(moduleId) {
|
|
19116
|
+
/******/ // Check if module is in cache
|
|
19117
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
19118
|
+
/******/ if (cachedModule !== undefined) {
|
|
19119
|
+
/******/ return cachedModule.exports;
|
|
19120
|
+
/******/ }
|
|
19121
|
+
/******/ // Create a new module (and put it into the cache)
|
|
19122
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
19123
|
+
/******/ // no module.id needed
|
|
19124
|
+
/******/ // no module.loaded needed
|
|
19125
|
+
/******/ exports: {}
|
|
19126
|
+
/******/ };
|
|
19127
|
+
/******/
|
|
19128
|
+
/******/ // Execute the module function
|
|
19129
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
19130
|
+
/******/
|
|
19131
|
+
/******/ // Return the exports of the module
|
|
19132
|
+
/******/ return module.exports;
|
|
19514
19133
|
/******/ }
|
|
19515
|
-
/******/
|
|
19516
|
-
/******/
|
|
19517
|
-
/******/
|
|
19518
|
-
/******/
|
|
19519
|
-
/******/ exports: {}
|
|
19520
|
-
/******/ };
|
|
19521
|
-
/******/
|
|
19522
|
-
/******/ // Execute the module function
|
|
19523
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
19524
|
-
/******/
|
|
19525
|
-
/******/ // Return the exports of the module
|
|
19526
|
-
/******/ return module.exports;
|
|
19527
|
-
/******/ }
|
|
19528
|
-
/******/
|
|
19134
|
+
/******/
|
|
19135
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
19136
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
19137
|
+
/******/
|
|
19529
19138
|
/************************************************************************/
|
|
19530
|
-
/******/
|
|
19531
|
-
/******/
|
|
19532
|
-
/******/
|
|
19533
|
-
/******/
|
|
19534
|
-
/******/
|
|
19535
|
-
/******/
|
|
19536
|
-
/******/
|
|
19537
|
-
/******/
|
|
19538
|
-
/******/
|
|
19539
|
-
/******/
|
|
19540
|
-
/******/
|
|
19541
|
-
/******/
|
|
19542
|
-
/******/
|
|
19543
|
-
/******/
|
|
19544
|
-
/******/
|
|
19545
|
-
/******/
|
|
19546
|
-
/******/
|
|
19547
|
-
/******/
|
|
19548
|
-
/******/
|
|
19139
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
19140
|
+
/******/ (() => {
|
|
19141
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
19142
|
+
/******/ __webpack_require__.n = (module) => {
|
|
19143
|
+
/******/ var getter = module && module.__esModule ?
|
|
19144
|
+
/******/ () => (module['default']) :
|
|
19145
|
+
/******/ () => (module);
|
|
19146
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
19147
|
+
/******/ return getter;
|
|
19148
|
+
/******/ };
|
|
19149
|
+
/******/ })();
|
|
19150
|
+
/******/
|
|
19151
|
+
/******/ /* webpack/runtime/define property getters */
|
|
19152
|
+
/******/ (() => {
|
|
19153
|
+
/******/ // define getter functions for harmony exports
|
|
19154
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
19155
|
+
/******/ for(var key in definition) {
|
|
19156
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
19157
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
19158
|
+
/******/ }
|
|
19549
19159
|
/******/ }
|
|
19550
|
-
/******/ }
|
|
19551
|
-
/******/ };
|
|
19552
|
-
/******/
|
|
19553
|
-
/******/
|
|
19554
|
-
/******/
|
|
19555
|
-
/******/
|
|
19556
|
-
/******/
|
|
19557
|
-
/******/
|
|
19558
|
-
/******/
|
|
19559
|
-
/******/
|
|
19560
|
-
/******/
|
|
19561
|
-
/******/
|
|
19562
|
-
/******/
|
|
19563
|
-
/******/
|
|
19564
|
-
/******/
|
|
19565
|
-
/******/
|
|
19566
|
-
/******/
|
|
19567
|
-
/******/
|
|
19568
|
-
/******/
|
|
19569
|
-
/******/
|
|
19570
|
-
/******/
|
|
19571
|
-
/******/
|
|
19572
|
-
/******/
|
|
19573
|
-
/******/
|
|
19574
|
-
/******/
|
|
19160
|
+
/******/ };
|
|
19161
|
+
/******/ })();
|
|
19162
|
+
/******/
|
|
19163
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
19164
|
+
/******/ (() => {
|
|
19165
|
+
/******/ __webpack_require__.f = {};
|
|
19166
|
+
/******/ // This file contains only the entry chunk.
|
|
19167
|
+
/******/ // The chunk loading function for additional chunks
|
|
19168
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
19169
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
19170
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
19171
|
+
/******/ return promises;
|
|
19172
|
+
/******/ }, []));
|
|
19173
|
+
/******/ };
|
|
19174
|
+
/******/ })();
|
|
19175
|
+
/******/
|
|
19176
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
19177
|
+
/******/ (() => {
|
|
19178
|
+
/******/ // This function allow to reference async chunks
|
|
19179
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
19180
|
+
/******/ // return url for filenames based on template
|
|
19181
|
+
/******/ return "" + chunkId + ".mixc-worker.node.mjs";
|
|
19182
|
+
/******/ };
|
|
19183
|
+
/******/ })();
|
|
19184
|
+
/******/
|
|
19185
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
19186
|
+
/******/ (() => {
|
|
19187
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
19188
|
+
/******/ })();
|
|
19189
|
+
/******/
|
|
19190
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
19191
|
+
/******/ (() => {
|
|
19192
|
+
/******/ // define __esModule on exports
|
|
19193
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
19194
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
19195
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
19196
|
+
/******/ }
|
|
19197
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
19198
|
+
/******/ };
|
|
19199
|
+
/******/ })();
|
|
19200
|
+
/******/
|
|
19201
|
+
/******/ /* webpack/runtime/publicPath */
|
|
19202
|
+
/******/ (() => {
|
|
19203
|
+
/******/ __webpack_require__.p = "file:///";
|
|
19204
|
+
/******/ })();
|
|
19205
|
+
/******/
|
|
19206
|
+
/******/ /* webpack/runtime/require chunk loading */
|
|
19207
|
+
/******/ (() => {
|
|
19208
|
+
/******/ // no baseURI
|
|
19209
|
+
/******/
|
|
19210
|
+
/******/ // object to store loaded chunks
|
|
19211
|
+
/******/ // "1" means "loaded", otherwise not loaded yet
|
|
19212
|
+
/******/ var installedChunks = {
|
|
19213
|
+
/******/ 179: 1
|
|
19214
|
+
/******/ };
|
|
19215
|
+
/******/
|
|
19216
|
+
/******/ // no on chunks loaded
|
|
19217
|
+
/******/
|
|
19218
|
+
/******/ var installChunk = (chunk) => {
|
|
19219
|
+
/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
|
|
19220
|
+
/******/ for(var moduleId in moreModules) {
|
|
19221
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
19222
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
19223
|
+
/******/ }
|
|
19224
|
+
/******/ }
|
|
19225
|
+
/******/ if(runtime) runtime(__webpack_require__);
|
|
19226
|
+
/******/ for(var i = 0; i < chunkIds.length; i++)
|
|
19227
|
+
/******/ installedChunks[chunkIds[i]] = 1;
|
|
19228
|
+
/******/
|
|
19229
|
+
/******/ };
|
|
19230
|
+
/******/
|
|
19231
|
+
/******/ // require() chunk loading for javascript
|
|
19232
|
+
/******/ __webpack_require__.f.require = (chunkId, promises) => {
|
|
19233
|
+
/******/ // "1" is the signal for "already loaded"
|
|
19234
|
+
/******/ if(!installedChunks[chunkId]) {
|
|
19235
|
+
/******/ if(true) { // all chunks have JS
|
|
19236
|
+
/******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
|
|
19237
|
+
/******/ } else installedChunks[chunkId] = 1;
|
|
19238
|
+
/******/ }
|
|
19239
|
+
/******/ };
|
|
19240
|
+
/******/
|
|
19241
|
+
/******/ // no external install chunk
|
|
19242
|
+
/******/
|
|
19243
|
+
/******/ // no HMR
|
|
19244
|
+
/******/
|
|
19245
|
+
/******/ // no HMR manifest
|
|
19246
|
+
/******/ })();
|
|
19247
|
+
/******/
|
|
19575
19248
|
/************************************************************************/
|
|
19576
19249
|
var __webpack_exports__ = {};
|
|
19577
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
|
19250
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
19578
19251
|
(() => {
|
|
19252
|
+
"use strict";
|
|
19579
19253
|
|
|
19580
19254
|
;// CONCATENATED MODULE: external "node:http"
|
|
19581
|
-
const external_node_http_namespaceObject =
|
|
19255
|
+
const external_node_http_namespaceObject = require("node:http");
|
|
19582
19256
|
;// CONCATENATED MODULE: external "node:https"
|
|
19583
|
-
const external_node_https_namespaceObject =
|
|
19257
|
+
const external_node_https_namespaceObject = require("node:https");
|
|
19584
19258
|
;// CONCATENATED MODULE: external "node:zlib"
|
|
19585
|
-
const external_node_zlib_namespaceObject =
|
|
19259
|
+
const external_node_zlib_namespaceObject = require("node:zlib");
|
|
19586
19260
|
;// CONCATENATED MODULE: external "node:stream"
|
|
19587
|
-
const external_node_stream_namespaceObject =
|
|
19261
|
+
const external_node_stream_namespaceObject = require("node:stream");
|
|
19588
19262
|
;// CONCATENATED MODULE: external "node:buffer"
|
|
19589
|
-
const external_node_buffer_namespaceObject =
|
|
19263
|
+
const external_node_buffer_namespaceObject = require("node:buffer");
|
|
19590
19264
|
;// CONCATENATED MODULE: ./node_modules/data-uri-to-buffer/dist/index.js
|
|
19591
19265
|
/* provided dependency */ var Buffer = __webpack_require__(4721)["lW"];
|
|
19592
19266
|
/**
|
|
@@ -19643,7 +19317,7 @@ function dataUriToBuffer(uri) {
|
|
|
19643
19317
|
/* harmony default export */ const dist = (dataUriToBuffer);
|
|
19644
19318
|
//# sourceMappingURL=index.js.map
|
|
19645
19319
|
;// CONCATENATED MODULE: external "node:util"
|
|
19646
|
-
const external_node_util_namespaceObject =
|
|
19320
|
+
const external_node_util_namespaceObject = require("node:util");
|
|
19647
19321
|
// EXTERNAL MODULE: ./node_modules/fetch-blob/index.js
|
|
19648
19322
|
var fetch_blob = __webpack_require__(8073);
|
|
19649
19323
|
// EXTERNAL MODULE: ./node_modules/formdata-polyfill/esm.min.js
|
|
@@ -19908,7 +19582,7 @@ class Body {
|
|
|
19908
19582
|
return formData;
|
|
19909
19583
|
}
|
|
19910
19584
|
|
|
19911
|
-
const {toFormData} = await
|
|
19585
|
+
const {toFormData} = await __webpack_require__.e(/* import() */ 941).then(__webpack_require__.bind(__webpack_require__, 941));
|
|
19912
19586
|
return toFormData(this.body, ct);
|
|
19913
19587
|
}
|
|
19914
19588
|
|
|
@@ -20609,7 +20283,7 @@ Object.defineProperties(Response.prototype, {
|
|
|
20609
20283
|
});
|
|
20610
20284
|
|
|
20611
20285
|
;// CONCATENATED MODULE: external "node:url"
|
|
20612
|
-
const external_node_url_namespaceObject =
|
|
20286
|
+
const external_node_url_namespaceObject = require("node:url");
|
|
20613
20287
|
;// CONCATENATED MODULE: ./node_modules/node-fetch/src/utils/get-search.js
|
|
20614
20288
|
const getSearch = parsedURL => {
|
|
20615
20289
|
if (parsedURL.search) {
|
|
@@ -20622,7 +20296,7 @@ const getSearch = parsedURL => {
|
|
|
20622
20296
|
};
|
|
20623
20297
|
|
|
20624
20298
|
;// CONCATENATED MODULE: external "node:net"
|
|
20625
|
-
const external_node_net_namespaceObject =
|
|
20299
|
+
const external_node_net_namespaceObject = require("node:net");
|
|
20626
20300
|
;// CONCATENATED MODULE: ./node_modules/node-fetch/src/utils/referrer.js
|
|
20627
20301
|
|
|
20628
20302
|
|
|
@@ -21710,7 +21384,7 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
|
21710
21384
|
}
|
|
21711
21385
|
|
|
21712
21386
|
;// CONCATENATED MODULE: external "fs"
|
|
21713
|
-
const external_fs_namespaceObject =
|
|
21387
|
+
const external_fs_namespaceObject = require("fs");
|
|
21714
21388
|
var external_fs_default = /*#__PURE__*/__webpack_require__.n(external_fs_namespaceObject);
|
|
21715
21389
|
// EXTERNAL MODULE: ./node_modules/@remix_labs/web-worker-onlymain/node.js
|
|
21716
21390
|
var node = __webpack_require__(9875);
|
|
@@ -22279,8 +21953,7 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(wasi_js_dist);
|
|
|
22279
21953
|
var browser = __webpack_require__(7986);
|
|
22280
21954
|
var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
|
|
22281
21955
|
;// CONCATENATED MODULE: ./protoquery_build.js
|
|
22282
|
-
var PROTOQUERY_WASM_BUILD = "
|
|
22283
|
-
var PROTOQUERY_STDLIB_ID = "stdlib-1@6995e641aaae72e5dc00d586077c38cf";
|
|
21956
|
+
var PROTOQUERY_WASM_BUILD = "6445";
|
|
22284
21957
|
|
|
22285
21958
|
|
|
22286
21959
|
;// CONCATENATED MODULE: ./node_modules/wasm-feature-detect/dist/esm/index.js
|
|
@@ -22395,7 +22068,7 @@ async function configure(msg) {
|
|
|
22395
22068
|
globalThis.compilerIdMap = new Map();
|
|
22396
22069
|
await start_compiler();
|
|
22397
22070
|
sub_sessionless(); // no await
|
|
22398
|
-
let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true,
|
|
22071
|
+
let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, hello: "hi" });
|
|
22399
22072
|
let retained = true;
|
|
22400
22073
|
await globalThis.hub.publish("/org/" + globalThis.config.org + "/ws/" + globalThis.config.workspace + "/mixc/announce", announcement, retained);
|
|
22401
22074
|
}
|
|
@@ -22744,7 +22417,7 @@ async function instantiate(wasm_mod) {
|
|
|
22744
22417
|
async function start_compiler() {
|
|
22745
22418
|
let has_eh = await exceptions();
|
|
22746
22419
|
let has_tl = await tailCall();
|
|
22747
|
-
if (
|
|
22420
|
+
if (self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
|
|
22748
22421
|
// Safari is buggy, fall back to the basic version for now:
|
|
22749
22422
|
has_tl = false;
|
|
22750
22423
|
};
|
|
@@ -22885,3 +22558,5 @@ external_worker_threads_.parentPort.on('message', (e) => {
|
|
|
22885
22558
|
|
|
22886
22559
|
})();
|
|
22887
22560
|
|
|
22561
|
+
/******/ })()
|
|
22562
|
+
;
|
package/mixc-worker.worker.js
CHANGED
|
@@ -24235,8 +24235,7 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
|
|
24235
24235
|
var browser = __webpack_require__(7986);
|
|
24236
24236
|
var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
|
|
24237
24237
|
;// CONCATENATED MODULE: ./protoquery_build.js
|
|
24238
|
-
var PROTOQUERY_WASM_BUILD = "
|
|
24239
|
-
var PROTOQUERY_STDLIB_ID = "stdlib-1@6995e641aaae72e5dc00d586077c38cf";
|
|
24238
|
+
var PROTOQUERY_WASM_BUILD = "6445";
|
|
24240
24239
|
|
|
24241
24240
|
|
|
24242
24241
|
;// CONCATENATED MODULE: ./node_modules/wasm-feature-detect/dist/esm/index.js
|
|
@@ -24332,7 +24331,7 @@ async function configure(msg) {
|
|
|
24332
24331
|
globalThis.compilerIdMap = new Map();
|
|
24333
24332
|
await start_compiler();
|
|
24334
24333
|
sub_sessionless(); // no await
|
|
24335
|
-
let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true,
|
|
24334
|
+
let announcement = new JSONMessage("msg_mixc_announce", "mixc-worker", {success:true, hello: "hi" });
|
|
24336
24335
|
let retained = true;
|
|
24337
24336
|
await globalThis.hub.publish("/org/" + globalThis.config.org + "/ws/" + globalThis.config.workspace + "/mixc/announce", announcement, retained);
|
|
24338
24337
|
}
|
|
@@ -24681,7 +24680,7 @@ async function instantiate(wasm_mod) {
|
|
|
24681
24680
|
async function start_compiler() {
|
|
24682
24681
|
let has_eh = await exceptions();
|
|
24683
24682
|
let has_tl = await tailCall();
|
|
24684
|
-
if (
|
|
24683
|
+
if (self.navigator.userAgent.includes('AppleWebKit') && !self.navigator.userAgent.includes('Chrome')) {
|
|
24685
24684
|
// Safari is buggy, fall back to the basic version for now:
|
|
24686
24685
|
has_tl = false;
|
|
24687
24686
|
};
|
package/package.json
CHANGED
package/protoquery_build.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var PROTOQUERY_BUILD = "
|
|
2
|
-
var PROTOQUERY_WASM_BUILD = "
|
|
1
|
+
var PROTOQUERY_BUILD = "29466";
|
|
2
|
+
var PROTOQUERY_WASM_BUILD = "6445";
|
|
3
3
|
export { PROTOQUERY_BUILD, PROTOQUERY_WASM_BUILD }
|