@symbo.ls/sdk 2.32.13 → 2.32.15
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/dist/esm/index.js +797 -797
- package/dist/esm/services/CollabService.js +97 -97
- package/dist/esm/services/TrackingService.js +700 -700
- package/dist/esm/services/index.js +797 -797
- package/dist/esm/utils/CollabClient.js +95 -95
- package/dist/esm/utils/jsonDiff.js +26 -26
- package/dist/esm/utils/validation.js +2 -2
- package/package.json +6 -6
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __publicField = (obj, key, value2) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value2);
|
|
35
35
|
|
|
36
|
-
//
|
|
36
|
+
// ../../node_modules/lib0/map.js
|
|
37
37
|
var create, copy, setIfUndefined, map, any;
|
|
38
38
|
var init_map = __esm({
|
|
39
|
-
"
|
|
39
|
+
"../../node_modules/lib0/map.js"() {
|
|
40
40
|
create = () => /* @__PURE__ */ new Map();
|
|
41
41
|
copy = (m) => {
|
|
42
42
|
const r = create();
|
|
@@ -70,18 +70,18 @@ var init_map = __esm({
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
//
|
|
73
|
+
// ../../node_modules/lib0/set.js
|
|
74
74
|
var create2;
|
|
75
75
|
var init_set = __esm({
|
|
76
|
-
"
|
|
76
|
+
"../../node_modules/lib0/set.js"() {
|
|
77
77
|
create2 = () => /* @__PURE__ */ new Set();
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
//
|
|
81
|
+
// ../../node_modules/lib0/array.js
|
|
82
82
|
var last, appendTo, from, isArray;
|
|
83
83
|
var init_array = __esm({
|
|
84
|
-
"
|
|
84
|
+
"../../node_modules/lib0/array.js"() {
|
|
85
85
|
last = (arr) => arr[arr.length - 1];
|
|
86
86
|
appendTo = (dest, src) => {
|
|
87
87
|
for (let i = 0; i < src.length; i++) {
|
|
@@ -93,10 +93,10 @@ var init_array = __esm({
|
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
//
|
|
96
|
+
// ../../node_modules/lib0/observable.js
|
|
97
97
|
var ObservableV2, Observable;
|
|
98
98
|
var init_observable = __esm({
|
|
99
|
-
"
|
|
99
|
+
"../../node_modules/lib0/observable.js"() {
|
|
100
100
|
init_map();
|
|
101
101
|
init_set();
|
|
102
102
|
init_array();
|
|
@@ -223,10 +223,10 @@ var init_observable = __esm({
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
|
|
226
|
-
//
|
|
226
|
+
// ../../node_modules/lib0/math.js
|
|
227
227
|
var floor, abs, min, max, isNaN2, isNegativeZero;
|
|
228
228
|
var init_math = __esm({
|
|
229
|
-
"
|
|
229
|
+
"../../node_modules/lib0/math.js"() {
|
|
230
230
|
floor = Math.floor;
|
|
231
231
|
abs = Math.abs;
|
|
232
232
|
min = (a, b) => a < b ? a : b;
|
|
@@ -236,10 +236,10 @@ var init_math = __esm({
|
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
238
|
|
|
239
|
-
//
|
|
239
|
+
// ../../node_modules/lib0/binary.js
|
|
240
240
|
var BIT1, BIT2, BIT3, BIT4, BIT6, BIT7, BIT8, BIT18, BIT19, BIT20, BIT21, BIT22, BIT23, BIT24, BIT25, BIT26, BIT27, BIT28, BIT29, BIT30, BIT31, BIT32, BITS5, BITS6, BITS7, BITS17, BITS18, BITS19, BITS20, BITS21, BITS22, BITS23, BITS24, BITS25, BITS26, BITS27, BITS28, BITS29, BITS30, BITS31;
|
|
241
241
|
var init_binary = __esm({
|
|
242
|
-
"
|
|
242
|
+
"../../node_modules/lib0/binary.js"() {
|
|
243
243
|
BIT1 = 1;
|
|
244
244
|
BIT2 = 2;
|
|
245
245
|
BIT3 = 4;
|
|
@@ -283,10 +283,10 @@ var init_binary = __esm({
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
|
|
286
|
-
//
|
|
286
|
+
// ../../node_modules/lib0/number.js
|
|
287
287
|
var MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, LOWEST_INT32, isInteger, isNaN3, parseInt2;
|
|
288
288
|
var init_number = __esm({
|
|
289
|
-
"
|
|
289
|
+
"../../node_modules/lib0/number.js"() {
|
|
290
290
|
init_math();
|
|
291
291
|
MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER;
|
|
292
292
|
MIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER;
|
|
@@ -297,10 +297,10 @@ var init_number = __esm({
|
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
299
|
|
|
300
|
-
//
|
|
300
|
+
// ../../node_modules/lib0/string.js
|
|
301
301
|
var fromCharCode, fromCodePoint, MAX_UTF16_CHARACTER, toLowerCase, trimLeftRegex, trimLeft, fromCamelCaseRegex, fromCamelCase, _encodeUtf8Polyfill, utf8TextEncoder, _encodeUtf8Native, encodeUtf8, utf8TextDecoder;
|
|
302
302
|
var init_string = __esm({
|
|
303
|
-
"
|
|
303
|
+
"../../node_modules/lib0/string.js"() {
|
|
304
304
|
fromCharCode = String.fromCharCode;
|
|
305
305
|
fromCodePoint = String.fromCodePoint;
|
|
306
306
|
MAX_UTF16_CHARACTER = fromCharCode(65535);
|
|
@@ -330,10 +330,10 @@ var init_string = __esm({
|
|
|
330
330
|
}
|
|
331
331
|
});
|
|
332
332
|
|
|
333
|
-
//
|
|
333
|
+
// ../../node_modules/lib0/encoding.js
|
|
334
334
|
var Encoder2, createEncoder, length, toUint8Array, verifyLen, write, writeUint8, writeVarUint, writeVarInt, _strBuffer, _maxStrBSize, _writeVarStringNative, _writeVarStringPolyfill, writeVarString, writeUint8Array, writeVarUint8Array, writeOnDataView, writeFloat32, writeFloat64, writeBigInt64, floatTestBed, isFloat32, writeAny, RleEncoder, flushUintOptRleEncoder, UintOptRleEncoder, flushIntDiffOptRleEncoder, IntDiffOptRleEncoder, StringEncoder;
|
|
335
335
|
var init_encoding = __esm({
|
|
336
|
-
"
|
|
336
|
+
"../../node_modules/lib0/encoding.js"() {
|
|
337
337
|
init_math();
|
|
338
338
|
init_number();
|
|
339
339
|
init_binary();
|
|
@@ -647,10 +647,10 @@ var init_encoding = __esm({
|
|
|
647
647
|
}
|
|
648
648
|
});
|
|
649
649
|
|
|
650
|
-
//
|
|
650
|
+
// ../../node_modules/lib0/error.js
|
|
651
651
|
var create3, methodUnimplemented, unexpectedCase;
|
|
652
652
|
var init_error = __esm({
|
|
653
|
-
"
|
|
653
|
+
"../../node_modules/lib0/error.js"() {
|
|
654
654
|
create3 = (s) => new Error(s);
|
|
655
655
|
methodUnimplemented = () => {
|
|
656
656
|
throw create3("Method unimplemented");
|
|
@@ -661,10 +661,10 @@ var init_error = __esm({
|
|
|
661
661
|
}
|
|
662
662
|
});
|
|
663
663
|
|
|
664
|
-
//
|
|
664
|
+
// ../../node_modules/lib0/decoding.js
|
|
665
665
|
var errorUnexpectedEndOfArray, errorIntegerOutOfRange, Decoder2, createDecoder, hasContent, readUint8Array, readVarUint8Array, readUint8, readVarUint, readVarInt, _readVarStringPolyfill, _readVarStringNative, readVarString, readFromDataView, readFloat32, readFloat64, readBigInt64, readAnyLookupTable, readAny, RleDecoder, UintOptRleDecoder, IntDiffOptRleDecoder, StringDecoder;
|
|
666
666
|
var init_decoding = __esm({
|
|
667
|
-
"
|
|
667
|
+
"../../node_modules/lib0/decoding.js"() {
|
|
668
668
|
init_binary();
|
|
669
669
|
init_math();
|
|
670
670
|
init_number();
|
|
@@ -914,19 +914,19 @@ var init_decoding = __esm({
|
|
|
914
914
|
}
|
|
915
915
|
});
|
|
916
916
|
|
|
917
|
-
//
|
|
917
|
+
// ../../node_modules/lib0/webcrypto.js
|
|
918
918
|
var subtle, getRandomValues;
|
|
919
919
|
var init_webcrypto = __esm({
|
|
920
|
-
"
|
|
920
|
+
"../../node_modules/lib0/webcrypto.js"() {
|
|
921
921
|
subtle = crypto.subtle;
|
|
922
922
|
getRandomValues = crypto.getRandomValues.bind(crypto);
|
|
923
923
|
}
|
|
924
924
|
});
|
|
925
925
|
|
|
926
|
-
//
|
|
926
|
+
// ../../node_modules/lib0/random.js
|
|
927
927
|
var uint32, uuidv4Template, uuidv4;
|
|
928
928
|
var init_random = __esm({
|
|
929
|
-
"
|
|
929
|
+
"../../node_modules/lib0/random.js"() {
|
|
930
930
|
init_webcrypto();
|
|
931
931
|
uint32 = () => getRandomValues(new Uint32Array(1))[0];
|
|
932
932
|
uuidv4Template = "10000000-1000-4000-8000" + -1e11;
|
|
@@ -938,18 +938,18 @@ var init_random = __esm({
|
|
|
938
938
|
}
|
|
939
939
|
});
|
|
940
940
|
|
|
941
|
-
//
|
|
941
|
+
// ../../node_modules/lib0/time.js
|
|
942
942
|
var getUnixTime;
|
|
943
943
|
var init_time = __esm({
|
|
944
|
-
"
|
|
944
|
+
"../../node_modules/lib0/time.js"() {
|
|
945
945
|
getUnixTime = Date.now;
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
|
|
949
|
-
//
|
|
949
|
+
// ../../node_modules/lib0/promise.js
|
|
950
950
|
var create4, all;
|
|
951
951
|
var init_promise = __esm({
|
|
952
|
-
"
|
|
952
|
+
"../../node_modules/lib0/promise.js"() {
|
|
953
953
|
create4 = (f) => (
|
|
954
954
|
/** @type {Promise<T>} */
|
|
955
955
|
new Promise(f)
|
|
@@ -958,18 +958,18 @@ var init_promise = __esm({
|
|
|
958
958
|
}
|
|
959
959
|
});
|
|
960
960
|
|
|
961
|
-
//
|
|
961
|
+
// ../../node_modules/lib0/conditions.js
|
|
962
962
|
var undefinedToNull;
|
|
963
963
|
var init_conditions = __esm({
|
|
964
|
-
"
|
|
964
|
+
"../../node_modules/lib0/conditions.js"() {
|
|
965
965
|
undefinedToNull = (v) => v === void 0 ? null : v;
|
|
966
966
|
}
|
|
967
967
|
});
|
|
968
968
|
|
|
969
|
-
//
|
|
969
|
+
// ../../node_modules/lib0/storage.js
|
|
970
970
|
var VarStoragePolyfill, _localStorage, usePolyfill, varStorage;
|
|
971
971
|
var init_storage = __esm({
|
|
972
|
-
"
|
|
972
|
+
"../../node_modules/lib0/storage.js"() {
|
|
973
973
|
VarStoragePolyfill = class {
|
|
974
974
|
constructor() {
|
|
975
975
|
this.map = /* @__PURE__ */ new Map();
|
|
@@ -1001,10 +1001,10 @@ var init_storage = __esm({
|
|
|
1001
1001
|
}
|
|
1002
1002
|
});
|
|
1003
1003
|
|
|
1004
|
-
//
|
|
1004
|
+
// ../../node_modules/lib0/object.js
|
|
1005
1005
|
var assign, keys, forEach, size, isEmpty, every, hasProperty, equalFlat, freeze, deepFreeze;
|
|
1006
1006
|
var init_object = __esm({
|
|
1007
|
-
"
|
|
1007
|
+
"../../node_modules/lib0/object.js"() {
|
|
1008
1008
|
assign = Object.assign;
|
|
1009
1009
|
keys = Object.keys;
|
|
1010
1010
|
forEach = (obj, f) => {
|
|
@@ -1042,10 +1042,10 @@ var init_object = __esm({
|
|
|
1042
1042
|
}
|
|
1043
1043
|
});
|
|
1044
1044
|
|
|
1045
|
-
//
|
|
1045
|
+
// ../../node_modules/lib0/function.js
|
|
1046
1046
|
var callAll, id, isOneOf;
|
|
1047
1047
|
var init_function = __esm({
|
|
1048
|
-
"
|
|
1048
|
+
"../../node_modules/lib0/function.js"() {
|
|
1049
1049
|
callAll = (fs, args2, i = 0) => {
|
|
1050
1050
|
try {
|
|
1051
1051
|
for (; i < fs.length; i++) {
|
|
@@ -1062,10 +1062,10 @@ var init_function = __esm({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
});
|
|
1064
1064
|
|
|
1065
|
-
//
|
|
1065
|
+
// ../../node_modules/lib0/environment.js
|
|
1066
1066
|
var isNode, isMac, params, args, computeParams, hasParam, getVariable, hasConf, production, forceColor, supportsColor;
|
|
1067
1067
|
var init_environment = __esm({
|
|
1068
|
-
"
|
|
1068
|
+
"../../node_modules/lib0/environment.js"() {
|
|
1069
1069
|
init_map();
|
|
1070
1070
|
init_string();
|
|
1071
1071
|
init_conditions();
|
|
@@ -1124,10 +1124,10 @@ var init_environment = __esm({
|
|
|
1124
1124
|
}
|
|
1125
1125
|
});
|
|
1126
1126
|
|
|
1127
|
-
//
|
|
1127
|
+
// ../../node_modules/lib0/buffer.js
|
|
1128
1128
|
var createUint8ArrayFromLen, copyUint8Array;
|
|
1129
1129
|
var init_buffer = __esm({
|
|
1130
|
-
"
|
|
1130
|
+
"../../node_modules/lib0/buffer.js"() {
|
|
1131
1131
|
createUint8ArrayFromLen = (len) => new Uint8Array(len);
|
|
1132
1132
|
copyUint8Array = (uint8Array) => {
|
|
1133
1133
|
const newBuf = createUint8ArrayFromLen(uint8Array.byteLength);
|
|
@@ -1137,10 +1137,10 @@ var init_buffer = __esm({
|
|
|
1137
1137
|
}
|
|
1138
1138
|
});
|
|
1139
1139
|
|
|
1140
|
-
//
|
|
1140
|
+
// ../../node_modules/lib0/pair.js
|
|
1141
1141
|
var Pair, create5;
|
|
1142
1142
|
var init_pair = __esm({
|
|
1143
|
-
"
|
|
1143
|
+
"../../node_modules/lib0/pair.js"() {
|
|
1144
1144
|
Pair = class {
|
|
1145
1145
|
/**
|
|
1146
1146
|
* @param {L} left
|
|
@@ -1155,10 +1155,10 @@ var init_pair = __esm({
|
|
|
1155
1155
|
}
|
|
1156
1156
|
});
|
|
1157
1157
|
|
|
1158
|
-
//
|
|
1158
|
+
// ../../node_modules/lib0/dom.js
|
|
1159
1159
|
var doc, domParser, mapToStyleString, ELEMENT_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, DOCUMENT_FRAGMENT_NODE;
|
|
1160
1160
|
var init_dom = __esm({
|
|
1161
|
-
"
|
|
1161
|
+
"../../node_modules/lib0/dom.js"() {
|
|
1162
1162
|
init_map();
|
|
1163
1163
|
doc = /** @type {Document} */
|
|
1164
1164
|
typeof document !== "undefined" ? document : {};
|
|
@@ -1175,18 +1175,18 @@ var init_dom = __esm({
|
|
|
1175
1175
|
}
|
|
1176
1176
|
});
|
|
1177
1177
|
|
|
1178
|
-
//
|
|
1178
|
+
// ../../node_modules/lib0/symbol.js
|
|
1179
1179
|
var create6;
|
|
1180
1180
|
var init_symbol = __esm({
|
|
1181
|
-
"
|
|
1181
|
+
"../../node_modules/lib0/symbol.js"() {
|
|
1182
1182
|
create6 = Symbol;
|
|
1183
1183
|
}
|
|
1184
1184
|
});
|
|
1185
1185
|
|
|
1186
|
-
//
|
|
1186
|
+
// ../../node_modules/lib0/logging.common.js
|
|
1187
1187
|
var BOLD, UNBOLD, BLUE, GREY, GREEN, RED, PURPLE, ORANGE, UNCOLOR, computeNoColorLoggingArgs, lastLoggingTime;
|
|
1188
1188
|
var init_logging_common = __esm({
|
|
1189
|
-
"
|
|
1189
|
+
"../../node_modules/lib0/logging.common.js"() {
|
|
1190
1190
|
init_symbol();
|
|
1191
1191
|
init_time();
|
|
1192
1192
|
BOLD = create6();
|
|
@@ -1233,10 +1233,10 @@ var init_logging_common = __esm({
|
|
|
1233
1233
|
}
|
|
1234
1234
|
});
|
|
1235
1235
|
|
|
1236
|
-
//
|
|
1236
|
+
// ../../node_modules/lib0/logging.js
|
|
1237
1237
|
var _browserStyleMap, computeBrowserLoggingArgs, computeLoggingArgs, print, warn, vconsoles;
|
|
1238
1238
|
var init_logging = __esm({
|
|
1239
|
-
"
|
|
1239
|
+
"../../node_modules/lib0/logging.js"() {
|
|
1240
1240
|
init_environment();
|
|
1241
1241
|
init_set();
|
|
1242
1242
|
init_pair();
|
|
@@ -1316,10 +1316,10 @@ var init_logging = __esm({
|
|
|
1316
1316
|
}
|
|
1317
1317
|
});
|
|
1318
1318
|
|
|
1319
|
-
//
|
|
1319
|
+
// ../../node_modules/lib0/iterator.js
|
|
1320
1320
|
var createIterator, iteratorFilter, iteratorMap;
|
|
1321
1321
|
var init_iterator = __esm({
|
|
1322
|
-
"
|
|
1322
|
+
"../../node_modules/lib0/iterator.js"() {
|
|
1323
1323
|
createIterator = (next) => ({
|
|
1324
1324
|
/**
|
|
1325
1325
|
* @return {IterableIterator<T>}
|
|
@@ -1344,7 +1344,7 @@ var init_iterator = __esm({
|
|
|
1344
1344
|
}
|
|
1345
1345
|
});
|
|
1346
1346
|
|
|
1347
|
-
//
|
|
1347
|
+
// ../../node_modules/yjs/dist/yjs.mjs
|
|
1348
1348
|
function* lazyStructReaderGenerator(decoder) {
|
|
1349
1349
|
const numOfStateUpdates = readVarUint(decoder.restDecoder);
|
|
1350
1350
|
for (let i = 0; i < numOfStateUpdates; i++) {
|
|
@@ -1389,7 +1389,7 @@ function* lazyStructReaderGenerator(decoder) {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
var DeleteItem, DeleteSet, iterateDeletedStructs, findIndexDS, isDeleted, sortAndMergeDeleteSet, mergeDeleteSets, addToDeleteSet, createDeleteSet, createDeleteSetFromStructStore, writeDeleteSet, readDeleteSet, readAndApplyDeleteSet, generateNewClientId, Doc, DSDecoderV1, UpdateDecoderV1, DSDecoderV2, UpdateDecoderV2, DSEncoderV1, UpdateEncoderV1, DSEncoderV2, UpdateEncoderV2, writeStructs, writeClientsStructs, readClientsStructRefs, integrateStructs, writeStructsFromTransaction, readUpdateV2, applyUpdateV2, applyUpdate, writeStateAsUpdate, encodeStateAsUpdateV2, encodeStateAsUpdate, readStateVector, decodeStateVector, EventHandler, createEventHandler, addEventHandlerListener, removeEventHandlerListener, callEventHandlerListeners, ID, compareIDs, createID, findRootTypeKey, Snapshot, createSnapshot, emptySnapshot, isVisible, splitSnapshotAffectedStructs, StructStore, getStateVector, getState, addStruct, findIndexSS, find, getItem, findIndexCleanStart, getItemCleanStart, getItemCleanEnd, replaceStruct, iterateStructs, Transaction, writeUpdateMessageFromTransaction, addChangedTypeToTransaction, tryToMergeWithLefts, tryGcDeleteSet, tryMergeDeleteSet, cleanupTransactions, transact, LazyStructReader, LazyStructWriter, mergeUpdates, sliceStruct, mergeUpdatesV2, diffUpdateV2, flushLazyStructWriter, writeStructToLazyStructWriter, finishLazyStructWriting, convertUpdateFormat, convertUpdateFormatV2ToV1, errorComputeChanges, YEvent, getPathTo, warnPrematureAccess, maxSearchMarker, globalSearchMarkerTimestamp, ArraySearchMarker, refreshMarkerTimestamp, overwriteMarker, markPosition, findMarker, updateMarkerChanges, callTypeObservers, AbstractType, typeListSlice, typeListToArray, typeListForEach, typeListMap, typeListCreateIterator, typeListGet, typeListInsertGenericsAfter, lengthExceeded, typeListInsertGenerics, typeListPushGenerics, typeListDelete, typeMapDelete, typeMapSet, typeMapGet, typeMapGetAll, typeMapHas, typeMapGetAllSnapshot, createMapIterator, YArrayEvent, YArray, readYArray, YMapEvent, YMap, readYMap, equalAttrs, ItemTextListPosition, findNextPosition, findPosition, insertNegatedAttributes, updateCurrentAttributes, minimizeAttributeChanges, insertAttributes, insertText, formatText, cleanupFormattingGap, cleanupContextlessFormattingGap, cleanupYTextFormatting, cleanupYTextAfterTransaction, deleteText, YTextEvent, YText, readYText, YXmlTreeWalker, YXmlFragment, readYXmlFragment, YXmlElement, readYXmlElement, YXmlEvent, YXmlHook, readYXmlHook, YXmlText, readYXmlText, AbstractStruct, structGCRefNumber, GC, ContentBinary, readContentBinary, ContentDeleted, readContentDeleted, createDocFromOpts, ContentDoc, readContentDoc, ContentEmbed, readContentEmbed, ContentFormat, readContentFormat, ContentJSON, readContentJSON, isDevMode, ContentAny, readContentAny, ContentString, readContentString, typeRefs, YArrayRefID, YMapRefID, YTextRefID, YXmlElementRefID, YXmlFragmentRefID, YXmlHookRefID, YXmlTextRefID, ContentType, readContentType, splitItem, Item, readItemContent, contentRefs, structSkipRefNumber, Skip, glo, importIdentifier;
|
|
1391
1391
|
var init_yjs = __esm({
|
|
1392
|
-
"
|
|
1392
|
+
"../../node_modules/yjs/dist/yjs.mjs"() {
|
|
1393
1393
|
init_observable();
|
|
1394
1394
|
init_array();
|
|
1395
1395
|
init_math();
|
|
@@ -7794,10 +7794,10 @@ var init_yjs = __esm({
|
|
|
7794
7794
|
}
|
|
7795
7795
|
});
|
|
7796
7796
|
|
|
7797
|
-
//
|
|
7797
|
+
// ../../node_modules/lib0/indexeddb.js
|
|
7798
7798
|
var rtop, openDB, deleteDB, createStores, transact2, count, get, del, put, addAutoKey, getAll, queryFirst, getLastKey, iterateOnRequest, iterateKeys, getStore, createIDBKeyRangeUpperBound, createIDBKeyRangeLowerBound;
|
|
7799
7799
|
var init_indexeddb = __esm({
|
|
7800
|
-
"
|
|
7800
|
+
"../../node_modules/lib0/indexeddb.js"() {
|
|
7801
7801
|
init_promise();
|
|
7802
7802
|
init_error();
|
|
7803
7803
|
rtop = (request) => create4((resolve, reject) => {
|
|
@@ -7858,7 +7858,7 @@ var init_indexeddb = __esm({
|
|
|
7858
7858
|
}
|
|
7859
7859
|
});
|
|
7860
7860
|
|
|
7861
|
-
//
|
|
7861
|
+
// ../../node_modules/y-indexeddb/src/y-indexeddb.js
|
|
7862
7862
|
var y_indexeddb_exports = {};
|
|
7863
7863
|
__export(y_indexeddb_exports, {
|
|
7864
7864
|
IndexeddbPersistence: () => IndexeddbPersistence,
|
|
@@ -7869,7 +7869,7 @@ __export(y_indexeddb_exports, {
|
|
|
7869
7869
|
});
|
|
7870
7870
|
var customStoreName, updatesStoreName, PREFERRED_TRIM_SIZE, fetchUpdates, storeState, clearDocument, IndexeddbPersistence;
|
|
7871
7871
|
var init_y_indexeddb = __esm({
|
|
7872
|
-
"
|
|
7872
|
+
"../../node_modules/y-indexeddb/src/y-indexeddb.js"() {
|
|
7873
7873
|
init_yjs();
|
|
7874
7874
|
init_indexeddb();
|
|
7875
7875
|
init_promise();
|
|
@@ -8020,9 +8020,9 @@ var init_y_indexeddb = __esm({
|
|
|
8020
8020
|
}
|
|
8021
8021
|
});
|
|
8022
8022
|
|
|
8023
|
-
//
|
|
8023
|
+
// ../../node_modules/dexie/dist/dexie.js
|
|
8024
8024
|
var require_dexie = __commonJS({
|
|
8025
|
-
"
|
|
8025
|
+
"../../node_modules/dexie/dist/dexie.js"(exports, module) {
|
|
8026
8026
|
(function(global2, factory) {
|
|
8027
8027
|
typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2.Dexie = factory());
|
|
8028
8028
|
})(exports, (function() {
|
|
@@ -14042,7 +14042,7 @@ var require_dexie = __commonJS({
|
|
|
14042
14042
|
}
|
|
14043
14043
|
});
|
|
14044
14044
|
|
|
14045
|
-
//
|
|
14045
|
+
// ../../node_modules/dexie/import-wrapper.mjs
|
|
14046
14046
|
var import_wrapper_exports = {};
|
|
14047
14047
|
__export(import_wrapper_exports, {
|
|
14048
14048
|
Dexie: () => Dexie,
|
|
@@ -14061,7 +14061,7 @@ __export(import_wrapper_exports, {
|
|
|
14061
14061
|
});
|
|
14062
14062
|
var import_dexie, DexieSymbol, Dexie, liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Entity, PropModification, replacePrefix, add, remove, DexieYProvider, import_wrapper_default;
|
|
14063
14063
|
var init_import_wrapper = __esm({
|
|
14064
|
-
"
|
|
14064
|
+
"../../node_modules/dexie/import-wrapper.mjs"() {
|
|
14065
14065
|
import_dexie = __toESM(require_dexie(), 1);
|
|
14066
14066
|
DexieSymbol = Symbol.for("Dexie");
|
|
14067
14067
|
Dexie = globalThis[DexieSymbol] || (globalThis[DexieSymbol] = import_dexie.default);
|
|
@@ -14085,7 +14085,7 @@ var init_import_wrapper = __esm({
|
|
|
14085
14085
|
}
|
|
14086
14086
|
});
|
|
14087
14087
|
|
|
14088
|
-
//
|
|
14088
|
+
// ../../node_modules/engine.io-parser/build/esm/commons.js
|
|
14089
14089
|
var PACKET_TYPES = /* @__PURE__ */ Object.create(null);
|
|
14090
14090
|
PACKET_TYPES["open"] = "0";
|
|
14091
14091
|
PACKET_TYPES["close"] = "1";
|
|
@@ -14100,7 +14100,7 @@ Object.keys(PACKET_TYPES).forEach((key) => {
|
|
|
14100
14100
|
});
|
|
14101
14101
|
var ERROR_PACKET = { type: "error", data: "parser error" };
|
|
14102
14102
|
|
|
14103
|
-
//
|
|
14103
|
+
// ../../node_modules/engine.io-parser/build/esm/encodePacket.browser.js
|
|
14104
14104
|
var withNativeBlob = typeof Blob === "function" || typeof Blob !== "undefined" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]";
|
|
14105
14105
|
var withNativeArrayBuffer = typeof ArrayBuffer === "function";
|
|
14106
14106
|
var isView = (obj) => {
|
|
@@ -14154,7 +14154,7 @@ function encodePacketToBinary(packet, callback) {
|
|
|
14154
14154
|
});
|
|
14155
14155
|
}
|
|
14156
14156
|
|
|
14157
|
-
//
|
|
14157
|
+
// ../../node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js
|
|
14158
14158
|
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
14159
14159
|
var lookup = typeof Uint8Array === "undefined" ? [] : new Uint8Array(256);
|
|
14160
14160
|
for (let i = 0; i < chars.length; i++) {
|
|
@@ -14181,7 +14181,7 @@ var decode = (base64) => {
|
|
|
14181
14181
|
return arraybuffer;
|
|
14182
14182
|
};
|
|
14183
14183
|
|
|
14184
|
-
//
|
|
14184
|
+
// ../../node_modules/engine.io-parser/build/esm/decodePacket.browser.js
|
|
14185
14185
|
var withNativeArrayBuffer2 = typeof ArrayBuffer === "function";
|
|
14186
14186
|
var decodePacket = (encodedPacket, binaryType) => {
|
|
14187
14187
|
if (typeof encodedPacket !== "string") {
|
|
@@ -14234,7 +14234,7 @@ var mapBinary = (data, binaryType) => {
|
|
|
14234
14234
|
}
|
|
14235
14235
|
};
|
|
14236
14236
|
|
|
14237
|
-
//
|
|
14237
|
+
// ../../node_modules/engine.io-parser/build/esm/index.js
|
|
14238
14238
|
var SEPARATOR = String.fromCharCode(30);
|
|
14239
14239
|
var encodePayload = (packets, callback) => {
|
|
14240
14240
|
const length2 = packets.length;
|
|
@@ -14376,7 +14376,7 @@ function createPacketDecoderStream(maxPayload, binaryType) {
|
|
|
14376
14376
|
}
|
|
14377
14377
|
var protocol = 4;
|
|
14378
14378
|
|
|
14379
|
-
//
|
|
14379
|
+
// ../../node_modules/@socket.io/component-emitter/lib/esm/index.js
|
|
14380
14380
|
function Emitter(obj) {
|
|
14381
14381
|
if (obj) return mixin(obj);
|
|
14382
14382
|
}
|
|
@@ -14448,7 +14448,7 @@ Emitter.prototype.hasListeners = function(event) {
|
|
|
14448
14448
|
return !!this.listeners(event).length;
|
|
14449
14449
|
};
|
|
14450
14450
|
|
|
14451
|
-
//
|
|
14451
|
+
// ../../node_modules/engine.io-client/build/esm/globals.js
|
|
14452
14452
|
var nextTick = (() => {
|
|
14453
14453
|
const isPromiseAvailable = typeof Promise === "function" && typeof Promise.resolve === "function";
|
|
14454
14454
|
if (isPromiseAvailable) {
|
|
@@ -14470,7 +14470,7 @@ var defaultBinaryType = "arraybuffer";
|
|
|
14470
14470
|
function createCookieJar() {
|
|
14471
14471
|
}
|
|
14472
14472
|
|
|
14473
|
-
//
|
|
14473
|
+
// ../../node_modules/engine.io-client/build/esm/util.js
|
|
14474
14474
|
function pick(obj, ...attr) {
|
|
14475
14475
|
return attr.reduce((acc, k) => {
|
|
14476
14476
|
if (obj.hasOwnProperty(k)) {
|
|
@@ -14518,7 +14518,7 @@ function randomString() {
|
|
|
14518
14518
|
return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
|
|
14519
14519
|
}
|
|
14520
14520
|
|
|
14521
|
-
//
|
|
14521
|
+
// ../../node_modules/engine.io-client/build/esm/contrib/parseqs.js
|
|
14522
14522
|
function encode(obj) {
|
|
14523
14523
|
let str = "";
|
|
14524
14524
|
for (let i in obj) {
|
|
@@ -14540,7 +14540,7 @@ function decode2(qs) {
|
|
|
14540
14540
|
return qry;
|
|
14541
14541
|
}
|
|
14542
14542
|
|
|
14543
|
-
//
|
|
14543
|
+
// ../../node_modules/engine.io-client/build/esm/transport.js
|
|
14544
14544
|
var TransportError = class extends Error {
|
|
14545
14545
|
constructor(reason, description, context) {
|
|
14546
14546
|
super(reason);
|
|
@@ -14671,7 +14671,7 @@ var Transport = class extends Emitter {
|
|
|
14671
14671
|
}
|
|
14672
14672
|
};
|
|
14673
14673
|
|
|
14674
|
-
//
|
|
14674
|
+
// ../../node_modules/engine.io-client/build/esm/transports/polling.js
|
|
14675
14675
|
var Polling = class extends Transport {
|
|
14676
14676
|
constructor() {
|
|
14677
14677
|
super(...arguments);
|
|
@@ -14803,7 +14803,7 @@ var Polling = class extends Transport {
|
|
|
14803
14803
|
}
|
|
14804
14804
|
};
|
|
14805
14805
|
|
|
14806
|
-
//
|
|
14806
|
+
// ../../node_modules/engine.io-client/build/esm/contrib/has-cors.js
|
|
14807
14807
|
var value = false;
|
|
14808
14808
|
try {
|
|
14809
14809
|
value = typeof XMLHttpRequest !== "undefined" && "withCredentials" in new XMLHttpRequest();
|
|
@@ -14811,7 +14811,7 @@ try {
|
|
|
14811
14811
|
}
|
|
14812
14812
|
var hasCORS = value;
|
|
14813
14813
|
|
|
14814
|
-
//
|
|
14814
|
+
// ../../node_modules/engine.io-client/build/esm/transports/polling-xhr.js
|
|
14815
14815
|
function empty() {
|
|
14816
14816
|
}
|
|
14817
14817
|
var BaseXHR = class extends Polling {
|
|
@@ -15052,7 +15052,7 @@ function newRequest(opts) {
|
|
|
15052
15052
|
}
|
|
15053
15053
|
}
|
|
15054
15054
|
|
|
15055
|
-
//
|
|
15055
|
+
// ../../node_modules/engine.io-client/build/esm/transports/websocket.js
|
|
15056
15056
|
var isReactNative = typeof navigator !== "undefined" && typeof navigator.product === "string" && navigator.product.toLowerCase() === "reactnative";
|
|
15057
15057
|
var BaseWS = class extends Transport {
|
|
15058
15058
|
get name() {
|
|
@@ -15146,7 +15146,7 @@ var WS = class extends BaseWS {
|
|
|
15146
15146
|
}
|
|
15147
15147
|
};
|
|
15148
15148
|
|
|
15149
|
-
//
|
|
15149
|
+
// ../../node_modules/engine.io-client/build/esm/transports/webtransport.js
|
|
15150
15150
|
var WT = class extends Transport {
|
|
15151
15151
|
get name() {
|
|
15152
15152
|
return "webtransport";
|
|
@@ -15209,14 +15209,14 @@ var WT = class extends Transport {
|
|
|
15209
15209
|
}
|
|
15210
15210
|
};
|
|
15211
15211
|
|
|
15212
|
-
//
|
|
15212
|
+
// ../../node_modules/engine.io-client/build/esm/transports/index.js
|
|
15213
15213
|
var transports = {
|
|
15214
15214
|
websocket: WS,
|
|
15215
15215
|
webtransport: WT,
|
|
15216
15216
|
polling: XHR
|
|
15217
15217
|
};
|
|
15218
15218
|
|
|
15219
|
-
//
|
|
15219
|
+
// ../../node_modules/engine.io-client/build/esm/contrib/parseuri.js
|
|
15220
15220
|
var re = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/;
|
|
15221
15221
|
var parts = [
|
|
15222
15222
|
"source",
|
|
@@ -15276,7 +15276,7 @@ function queryKey(uri, query) {
|
|
|
15276
15276
|
return data;
|
|
15277
15277
|
}
|
|
15278
15278
|
|
|
15279
|
-
//
|
|
15279
|
+
// ../../node_modules/engine.io-client/build/esm/socket.js
|
|
15280
15280
|
var withEventListeners = typeof addEventListener === "function" && typeof removeEventListener === "function";
|
|
15281
15281
|
var OFFLINE_EVENT_LISTENERS = [];
|
|
15282
15282
|
if (withEventListeners) {
|
|
@@ -15843,10 +15843,10 @@ var Socket = class extends SocketWithUpgrade {
|
|
|
15843
15843
|
}
|
|
15844
15844
|
};
|
|
15845
15845
|
|
|
15846
|
-
//
|
|
15846
|
+
// ../../node_modules/engine.io-client/build/esm/index.js
|
|
15847
15847
|
var protocol2 = Socket.protocol;
|
|
15848
15848
|
|
|
15849
|
-
//
|
|
15849
|
+
// ../../node_modules/socket.io-client/build/esm/url.js
|
|
15850
15850
|
function url(uri, path = "", loc) {
|
|
15851
15851
|
let obj = uri;
|
|
15852
15852
|
loc = loc || typeof location !== "undefined" && location;
|
|
@@ -15884,7 +15884,7 @@ function url(uri, path = "", loc) {
|
|
|
15884
15884
|
return obj;
|
|
15885
15885
|
}
|
|
15886
15886
|
|
|
15887
|
-
//
|
|
15887
|
+
// ../../node_modules/socket.io-parser/build/esm/index.js
|
|
15888
15888
|
var esm_exports = {};
|
|
15889
15889
|
__export(esm_exports, {
|
|
15890
15890
|
Decoder: () => Decoder,
|
|
@@ -15893,7 +15893,7 @@ __export(esm_exports, {
|
|
|
15893
15893
|
protocol: () => protocol3
|
|
15894
15894
|
});
|
|
15895
15895
|
|
|
15896
|
-
//
|
|
15896
|
+
// ../../node_modules/socket.io-parser/build/esm/is-binary.js
|
|
15897
15897
|
var withNativeArrayBuffer3 = typeof ArrayBuffer === "function";
|
|
15898
15898
|
var isView2 = (obj) => {
|
|
15899
15899
|
return typeof ArrayBuffer.isView === "function" ? ArrayBuffer.isView(obj) : obj.buffer instanceof ArrayBuffer;
|
|
@@ -15930,7 +15930,7 @@ function hasBinary(obj, toJSON) {
|
|
|
15930
15930
|
return false;
|
|
15931
15931
|
}
|
|
15932
15932
|
|
|
15933
|
-
//
|
|
15933
|
+
// ../../node_modules/socket.io-parser/build/esm/binary.js
|
|
15934
15934
|
function deconstructPacket(packet) {
|
|
15935
15935
|
const buffers = [];
|
|
15936
15936
|
const packetData = packet.data;
|
|
@@ -15992,7 +15992,7 @@ function _reconstructPacket(data, buffers) {
|
|
|
15992
15992
|
return data;
|
|
15993
15993
|
}
|
|
15994
15994
|
|
|
15995
|
-
//
|
|
15995
|
+
// ../../node_modules/socket.io-parser/build/esm/index.js
|
|
15996
15996
|
var RESERVED_EVENTS = [
|
|
15997
15997
|
"connect",
|
|
15998
15998
|
"connect_error",
|
|
@@ -16248,7 +16248,7 @@ var BinaryReconstructor = class {
|
|
|
16248
16248
|
}
|
|
16249
16249
|
};
|
|
16250
16250
|
|
|
16251
|
-
//
|
|
16251
|
+
// ../../node_modules/socket.io-client/build/esm/on.js
|
|
16252
16252
|
function on(obj, ev, fn) {
|
|
16253
16253
|
obj.on(ev, fn);
|
|
16254
16254
|
return function subDestroy() {
|
|
@@ -16256,7 +16256,7 @@ function on(obj, ev, fn) {
|
|
|
16256
16256
|
};
|
|
16257
16257
|
}
|
|
16258
16258
|
|
|
16259
|
-
//
|
|
16259
|
+
// ../../node_modules/socket.io-client/build/esm/socket.js
|
|
16260
16260
|
var RESERVED_EVENTS2 = Object.freeze({
|
|
16261
16261
|
connect: 1,
|
|
16262
16262
|
connect_error: 1,
|
|
@@ -17030,7 +17030,7 @@ var Socket2 = class extends Emitter {
|
|
|
17030
17030
|
}
|
|
17031
17031
|
};
|
|
17032
17032
|
|
|
17033
|
-
//
|
|
17033
|
+
// ../../node_modules/socket.io-client/build/esm/contrib/backo2.js
|
|
17034
17034
|
function Backoff(opts) {
|
|
17035
17035
|
opts = opts || {};
|
|
17036
17036
|
this.ms = opts.min || 100;
|
|
@@ -17061,7 +17061,7 @@ Backoff.prototype.setJitter = function(jitter) {
|
|
|
17061
17061
|
this.jitter = jitter;
|
|
17062
17062
|
};
|
|
17063
17063
|
|
|
17064
|
-
//
|
|
17064
|
+
// ../../node_modules/socket.io-client/build/esm/manager.js
|
|
17065
17065
|
var Manager = class extends Emitter {
|
|
17066
17066
|
constructor(uri, opts) {
|
|
17067
17067
|
var _a;
|
|
@@ -17411,7 +17411,7 @@ var Manager = class extends Emitter {
|
|
|
17411
17411
|
}
|
|
17412
17412
|
};
|
|
17413
17413
|
|
|
17414
|
-
//
|
|
17414
|
+
// ../../node_modules/socket.io-client/build/esm/index.js
|
|
17415
17415
|
var cache = {};
|
|
17416
17416
|
function lookup2(uri, opts) {
|
|
17417
17417
|
if (typeof uri === "object") {
|
|
@@ -17449,10 +17449,10 @@ Object.assign(lookup2, {
|
|
|
17449
17449
|
// src/utils/CollabClient.js
|
|
17450
17450
|
init_yjs();
|
|
17451
17451
|
|
|
17452
|
-
//
|
|
17452
|
+
// ../../node_modules/nanoid/url-alphabet/index.js
|
|
17453
17453
|
var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
17454
17454
|
|
|
17455
|
-
//
|
|
17455
|
+
// ../../node_modules/nanoid/index.browser.js
|
|
17456
17456
|
var nanoid = (size2 = 21) => {
|
|
17457
17457
|
let id2 = "";
|
|
17458
17458
|
let bytes = crypto.getRandomValues(new Uint8Array(size2 |= 0));
|