@powerhousedao/connect 1.0.0-dev.226 → 1.0.0-dev.227
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/assets/{app-Dx9RAGb2.js → app-CNNFwixT.js} +46 -13
- package/dist/assets/{app-loader-UmUil9Cq.js → app-loader-D-97SWGk.js} +567 -565
- package/dist/assets/{ccip-DuKCFXTI.js → ccip-Cr6bQJks.js} +3 -3
- package/dist/assets/{content-BNeFZhJK.js → content-DutUK-bf.js} +3 -3
- package/dist/assets/{index-CUuLJlow.js → index-BLTsDYqr.js} +4 -4
- package/dist/assets/{index-BPM49za2.js → index-CM6wHalm.js} +3 -3
- package/dist/assets/{index-BVHPSgKi.js → index-CV70vblU.js} +3 -3
- package/dist/assets/{main.BCAScifZ.js → main.Bd8QiM-U.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +8 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-CNNFwixT.js","assets/main.Bd8QiM-U.js","assets/app-CSi6MS9b.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -11,7 +11,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
11
11
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
12
12
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
13
13
|
var _tags, _levelString, _errorHandler, _ConsoleLogger_instances, levelValue_get, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _a, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
|
|
14
|
-
import { _ as __vitePreload } from "./main.
|
|
14
|
+
import { _ as __vitePreload } from "./main.Bd8QiM-U.js";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
16
|
import { useState, useEffect, useMemo, Suspense, lazy } from "react";
|
|
17
17
|
function _mergeNamespaces(n, m) {
|
|
@@ -24968,464 +24968,6 @@ function getDimensions(size) {
|
|
|
24968
24968
|
height: size
|
|
24969
24969
|
};
|
|
24970
24970
|
}
|
|
24971
|
-
var lzString = { exports: {} };
|
|
24972
|
-
lzString.exports;
|
|
24973
|
-
var hasRequiredLzString;
|
|
24974
|
-
function requireLzString() {
|
|
24975
|
-
if (hasRequiredLzString) return lzString.exports;
|
|
24976
|
-
hasRequiredLzString = 1;
|
|
24977
|
-
(function(module) {
|
|
24978
|
-
var LZString2 = function() {
|
|
24979
|
-
var f = String.fromCharCode;
|
|
24980
|
-
var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
24981
|
-
var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
|
|
24982
|
-
var baseReverseDic = {};
|
|
24983
|
-
function getBaseValue(alphabet, character) {
|
|
24984
|
-
if (!baseReverseDic[alphabet]) {
|
|
24985
|
-
baseReverseDic[alphabet] = {};
|
|
24986
|
-
for (var i = 0; i < alphabet.length; i++) {
|
|
24987
|
-
baseReverseDic[alphabet][alphabet.charAt(i)] = i;
|
|
24988
|
-
}
|
|
24989
|
-
}
|
|
24990
|
-
return baseReverseDic[alphabet][character];
|
|
24991
|
-
}
|
|
24992
|
-
var LZString3 = {
|
|
24993
|
-
compressToBase64: function(input) {
|
|
24994
|
-
if (input == null) return "";
|
|
24995
|
-
var res = LZString3._compress(input, 6, function(a) {
|
|
24996
|
-
return keyStrBase64.charAt(a);
|
|
24997
|
-
});
|
|
24998
|
-
switch (res.length % 4) {
|
|
24999
|
-
// To produce valid Base64
|
|
25000
|
-
default:
|
|
25001
|
-
// When could this happen ?
|
|
25002
|
-
case 0:
|
|
25003
|
-
return res;
|
|
25004
|
-
case 1:
|
|
25005
|
-
return res + "===";
|
|
25006
|
-
case 2:
|
|
25007
|
-
return res + "==";
|
|
25008
|
-
case 3:
|
|
25009
|
-
return res + "=";
|
|
25010
|
-
}
|
|
25011
|
-
},
|
|
25012
|
-
decompressFromBase64: function(input) {
|
|
25013
|
-
if (input == null) return "";
|
|
25014
|
-
if (input == "") return null;
|
|
25015
|
-
return LZString3._decompress(input.length, 32, function(index) {
|
|
25016
|
-
return getBaseValue(keyStrBase64, input.charAt(index));
|
|
25017
|
-
});
|
|
25018
|
-
},
|
|
25019
|
-
compressToUTF16: function(input) {
|
|
25020
|
-
if (input == null) return "";
|
|
25021
|
-
return LZString3._compress(input, 15, function(a) {
|
|
25022
|
-
return f(a + 32);
|
|
25023
|
-
}) + " ";
|
|
25024
|
-
},
|
|
25025
|
-
decompressFromUTF16: function(compressed) {
|
|
25026
|
-
if (compressed == null) return "";
|
|
25027
|
-
if (compressed == "") return null;
|
|
25028
|
-
return LZString3._decompress(compressed.length, 16384, function(index) {
|
|
25029
|
-
return compressed.charCodeAt(index) - 32;
|
|
25030
|
-
});
|
|
25031
|
-
},
|
|
25032
|
-
//compress into uint8array (UCS-2 big endian format)
|
|
25033
|
-
compressToUint8Array: function(uncompressed) {
|
|
25034
|
-
var compressed = LZString3.compress(uncompressed);
|
|
25035
|
-
var buf = new Uint8Array(compressed.length * 2);
|
|
25036
|
-
for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
|
|
25037
|
-
var current_value = compressed.charCodeAt(i);
|
|
25038
|
-
buf[i * 2] = current_value >>> 8;
|
|
25039
|
-
buf[i * 2 + 1] = current_value % 256;
|
|
25040
|
-
}
|
|
25041
|
-
return buf;
|
|
25042
|
-
},
|
|
25043
|
-
//decompress from uint8array (UCS-2 big endian format)
|
|
25044
|
-
decompressFromUint8Array: function(compressed) {
|
|
25045
|
-
if (compressed === null || compressed === void 0) {
|
|
25046
|
-
return LZString3.decompress(compressed);
|
|
25047
|
-
} else {
|
|
25048
|
-
var buf = new Array(compressed.length / 2);
|
|
25049
|
-
for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) {
|
|
25050
|
-
buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
|
|
25051
|
-
}
|
|
25052
|
-
var result = [];
|
|
25053
|
-
buf.forEach(function(c) {
|
|
25054
|
-
result.push(f(c));
|
|
25055
|
-
});
|
|
25056
|
-
return LZString3.decompress(result.join(""));
|
|
25057
|
-
}
|
|
25058
|
-
},
|
|
25059
|
-
//compress into a string that is already URI encoded
|
|
25060
|
-
compressToEncodedURIComponent: function(input) {
|
|
25061
|
-
if (input == null) return "";
|
|
25062
|
-
return LZString3._compress(input, 6, function(a) {
|
|
25063
|
-
return keyStrUriSafe.charAt(a);
|
|
25064
|
-
});
|
|
25065
|
-
},
|
|
25066
|
-
//decompress from an output of compressToEncodedURIComponent
|
|
25067
|
-
decompressFromEncodedURIComponent: function(input) {
|
|
25068
|
-
if (input == null) return "";
|
|
25069
|
-
if (input == "") return null;
|
|
25070
|
-
input = input.replace(/ /g, "+");
|
|
25071
|
-
return LZString3._decompress(input.length, 32, function(index) {
|
|
25072
|
-
return getBaseValue(keyStrUriSafe, input.charAt(index));
|
|
25073
|
-
});
|
|
25074
|
-
},
|
|
25075
|
-
compress: function(uncompressed) {
|
|
25076
|
-
return LZString3._compress(uncompressed, 16, function(a) {
|
|
25077
|
-
return f(a);
|
|
25078
|
-
});
|
|
25079
|
-
},
|
|
25080
|
-
_compress: function(uncompressed, bitsPerChar, getCharFromInt) {
|
|
25081
|
-
if (uncompressed == null) return "";
|
|
25082
|
-
var i, value, context_dictionary = {}, context_dictionaryToCreate = {}, context_c = "", context_wc = "", context_w = "", context_enlargeIn = 2, context_dictSize = 3, context_numBits = 2, context_data = [], context_data_val = 0, context_data_position = 0, ii;
|
|
25083
|
-
for (ii = 0; ii < uncompressed.length; ii += 1) {
|
|
25084
|
-
context_c = uncompressed.charAt(ii);
|
|
25085
|
-
if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
|
|
25086
|
-
context_dictionary[context_c] = context_dictSize++;
|
|
25087
|
-
context_dictionaryToCreate[context_c] = true;
|
|
25088
|
-
}
|
|
25089
|
-
context_wc = context_w + context_c;
|
|
25090
|
-
if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) {
|
|
25091
|
-
context_w = context_wc;
|
|
25092
|
-
} else {
|
|
25093
|
-
if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
|
|
25094
|
-
if (context_w.charCodeAt(0) < 256) {
|
|
25095
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25096
|
-
context_data_val = context_data_val << 1;
|
|
25097
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25098
|
-
context_data_position = 0;
|
|
25099
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25100
|
-
context_data_val = 0;
|
|
25101
|
-
} else {
|
|
25102
|
-
context_data_position++;
|
|
25103
|
-
}
|
|
25104
|
-
}
|
|
25105
|
-
value = context_w.charCodeAt(0);
|
|
25106
|
-
for (i = 0; i < 8; i++) {
|
|
25107
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25108
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25109
|
-
context_data_position = 0;
|
|
25110
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25111
|
-
context_data_val = 0;
|
|
25112
|
-
} else {
|
|
25113
|
-
context_data_position++;
|
|
25114
|
-
}
|
|
25115
|
-
value = value >> 1;
|
|
25116
|
-
}
|
|
25117
|
-
} else {
|
|
25118
|
-
value = 1;
|
|
25119
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25120
|
-
context_data_val = context_data_val << 1 | value;
|
|
25121
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25122
|
-
context_data_position = 0;
|
|
25123
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25124
|
-
context_data_val = 0;
|
|
25125
|
-
} else {
|
|
25126
|
-
context_data_position++;
|
|
25127
|
-
}
|
|
25128
|
-
value = 0;
|
|
25129
|
-
}
|
|
25130
|
-
value = context_w.charCodeAt(0);
|
|
25131
|
-
for (i = 0; i < 16; i++) {
|
|
25132
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25133
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25134
|
-
context_data_position = 0;
|
|
25135
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25136
|
-
context_data_val = 0;
|
|
25137
|
-
} else {
|
|
25138
|
-
context_data_position++;
|
|
25139
|
-
}
|
|
25140
|
-
value = value >> 1;
|
|
25141
|
-
}
|
|
25142
|
-
}
|
|
25143
|
-
context_enlargeIn--;
|
|
25144
|
-
if (context_enlargeIn == 0) {
|
|
25145
|
-
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25146
|
-
context_numBits++;
|
|
25147
|
-
}
|
|
25148
|
-
delete context_dictionaryToCreate[context_w];
|
|
25149
|
-
} else {
|
|
25150
|
-
value = context_dictionary[context_w];
|
|
25151
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25152
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25153
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25154
|
-
context_data_position = 0;
|
|
25155
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25156
|
-
context_data_val = 0;
|
|
25157
|
-
} else {
|
|
25158
|
-
context_data_position++;
|
|
25159
|
-
}
|
|
25160
|
-
value = value >> 1;
|
|
25161
|
-
}
|
|
25162
|
-
}
|
|
25163
|
-
context_enlargeIn--;
|
|
25164
|
-
if (context_enlargeIn == 0) {
|
|
25165
|
-
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25166
|
-
context_numBits++;
|
|
25167
|
-
}
|
|
25168
|
-
context_dictionary[context_wc] = context_dictSize++;
|
|
25169
|
-
context_w = String(context_c);
|
|
25170
|
-
}
|
|
25171
|
-
}
|
|
25172
|
-
if (context_w !== "") {
|
|
25173
|
-
if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
|
|
25174
|
-
if (context_w.charCodeAt(0) < 256) {
|
|
25175
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25176
|
-
context_data_val = context_data_val << 1;
|
|
25177
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25178
|
-
context_data_position = 0;
|
|
25179
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25180
|
-
context_data_val = 0;
|
|
25181
|
-
} else {
|
|
25182
|
-
context_data_position++;
|
|
25183
|
-
}
|
|
25184
|
-
}
|
|
25185
|
-
value = context_w.charCodeAt(0);
|
|
25186
|
-
for (i = 0; i < 8; i++) {
|
|
25187
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25188
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25189
|
-
context_data_position = 0;
|
|
25190
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25191
|
-
context_data_val = 0;
|
|
25192
|
-
} else {
|
|
25193
|
-
context_data_position++;
|
|
25194
|
-
}
|
|
25195
|
-
value = value >> 1;
|
|
25196
|
-
}
|
|
25197
|
-
} else {
|
|
25198
|
-
value = 1;
|
|
25199
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25200
|
-
context_data_val = context_data_val << 1 | value;
|
|
25201
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25202
|
-
context_data_position = 0;
|
|
25203
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25204
|
-
context_data_val = 0;
|
|
25205
|
-
} else {
|
|
25206
|
-
context_data_position++;
|
|
25207
|
-
}
|
|
25208
|
-
value = 0;
|
|
25209
|
-
}
|
|
25210
|
-
value = context_w.charCodeAt(0);
|
|
25211
|
-
for (i = 0; i < 16; i++) {
|
|
25212
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25213
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25214
|
-
context_data_position = 0;
|
|
25215
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25216
|
-
context_data_val = 0;
|
|
25217
|
-
} else {
|
|
25218
|
-
context_data_position++;
|
|
25219
|
-
}
|
|
25220
|
-
value = value >> 1;
|
|
25221
|
-
}
|
|
25222
|
-
}
|
|
25223
|
-
context_enlargeIn--;
|
|
25224
|
-
if (context_enlargeIn == 0) {
|
|
25225
|
-
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25226
|
-
context_numBits++;
|
|
25227
|
-
}
|
|
25228
|
-
delete context_dictionaryToCreate[context_w];
|
|
25229
|
-
} else {
|
|
25230
|
-
value = context_dictionary[context_w];
|
|
25231
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25232
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25233
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25234
|
-
context_data_position = 0;
|
|
25235
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25236
|
-
context_data_val = 0;
|
|
25237
|
-
} else {
|
|
25238
|
-
context_data_position++;
|
|
25239
|
-
}
|
|
25240
|
-
value = value >> 1;
|
|
25241
|
-
}
|
|
25242
|
-
}
|
|
25243
|
-
context_enlargeIn--;
|
|
25244
|
-
if (context_enlargeIn == 0) {
|
|
25245
|
-
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25246
|
-
context_numBits++;
|
|
25247
|
-
}
|
|
25248
|
-
}
|
|
25249
|
-
value = 2;
|
|
25250
|
-
for (i = 0; i < context_numBits; i++) {
|
|
25251
|
-
context_data_val = context_data_val << 1 | value & 1;
|
|
25252
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25253
|
-
context_data_position = 0;
|
|
25254
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25255
|
-
context_data_val = 0;
|
|
25256
|
-
} else {
|
|
25257
|
-
context_data_position++;
|
|
25258
|
-
}
|
|
25259
|
-
value = value >> 1;
|
|
25260
|
-
}
|
|
25261
|
-
while (true) {
|
|
25262
|
-
context_data_val = context_data_val << 1;
|
|
25263
|
-
if (context_data_position == bitsPerChar - 1) {
|
|
25264
|
-
context_data.push(getCharFromInt(context_data_val));
|
|
25265
|
-
break;
|
|
25266
|
-
} else context_data_position++;
|
|
25267
|
-
}
|
|
25268
|
-
return context_data.join("");
|
|
25269
|
-
},
|
|
25270
|
-
decompress: function(compressed) {
|
|
25271
|
-
if (compressed == null) return "";
|
|
25272
|
-
if (compressed == "") return null;
|
|
25273
|
-
return LZString3._decompress(compressed.length, 32768, function(index) {
|
|
25274
|
-
return compressed.charCodeAt(index);
|
|
25275
|
-
});
|
|
25276
|
-
},
|
|
25277
|
-
_decompress: function(length, resetValue, getNextValue) {
|
|
25278
|
-
var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = { val: getNextValue(0), position: resetValue, index: 1 };
|
|
25279
|
-
for (i = 0; i < 3; i += 1) {
|
|
25280
|
-
dictionary[i] = i;
|
|
25281
|
-
}
|
|
25282
|
-
bits = 0;
|
|
25283
|
-
maxpower = Math.pow(2, 2);
|
|
25284
|
-
power = 1;
|
|
25285
|
-
while (power != maxpower) {
|
|
25286
|
-
resb = data.val & data.position;
|
|
25287
|
-
data.position >>= 1;
|
|
25288
|
-
if (data.position == 0) {
|
|
25289
|
-
data.position = resetValue;
|
|
25290
|
-
data.val = getNextValue(data.index++);
|
|
25291
|
-
}
|
|
25292
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25293
|
-
power <<= 1;
|
|
25294
|
-
}
|
|
25295
|
-
switch (bits) {
|
|
25296
|
-
case 0:
|
|
25297
|
-
bits = 0;
|
|
25298
|
-
maxpower = Math.pow(2, 8);
|
|
25299
|
-
power = 1;
|
|
25300
|
-
while (power != maxpower) {
|
|
25301
|
-
resb = data.val & data.position;
|
|
25302
|
-
data.position >>= 1;
|
|
25303
|
-
if (data.position == 0) {
|
|
25304
|
-
data.position = resetValue;
|
|
25305
|
-
data.val = getNextValue(data.index++);
|
|
25306
|
-
}
|
|
25307
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25308
|
-
power <<= 1;
|
|
25309
|
-
}
|
|
25310
|
-
c = f(bits);
|
|
25311
|
-
break;
|
|
25312
|
-
case 1:
|
|
25313
|
-
bits = 0;
|
|
25314
|
-
maxpower = Math.pow(2, 16);
|
|
25315
|
-
power = 1;
|
|
25316
|
-
while (power != maxpower) {
|
|
25317
|
-
resb = data.val & data.position;
|
|
25318
|
-
data.position >>= 1;
|
|
25319
|
-
if (data.position == 0) {
|
|
25320
|
-
data.position = resetValue;
|
|
25321
|
-
data.val = getNextValue(data.index++);
|
|
25322
|
-
}
|
|
25323
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25324
|
-
power <<= 1;
|
|
25325
|
-
}
|
|
25326
|
-
c = f(bits);
|
|
25327
|
-
break;
|
|
25328
|
-
case 2:
|
|
25329
|
-
return "";
|
|
25330
|
-
}
|
|
25331
|
-
dictionary[3] = c;
|
|
25332
|
-
w = c;
|
|
25333
|
-
result.push(c);
|
|
25334
|
-
while (true) {
|
|
25335
|
-
if (data.index > length) {
|
|
25336
|
-
return "";
|
|
25337
|
-
}
|
|
25338
|
-
bits = 0;
|
|
25339
|
-
maxpower = Math.pow(2, numBits);
|
|
25340
|
-
power = 1;
|
|
25341
|
-
while (power != maxpower) {
|
|
25342
|
-
resb = data.val & data.position;
|
|
25343
|
-
data.position >>= 1;
|
|
25344
|
-
if (data.position == 0) {
|
|
25345
|
-
data.position = resetValue;
|
|
25346
|
-
data.val = getNextValue(data.index++);
|
|
25347
|
-
}
|
|
25348
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25349
|
-
power <<= 1;
|
|
25350
|
-
}
|
|
25351
|
-
switch (c = bits) {
|
|
25352
|
-
case 0:
|
|
25353
|
-
bits = 0;
|
|
25354
|
-
maxpower = Math.pow(2, 8);
|
|
25355
|
-
power = 1;
|
|
25356
|
-
while (power != maxpower) {
|
|
25357
|
-
resb = data.val & data.position;
|
|
25358
|
-
data.position >>= 1;
|
|
25359
|
-
if (data.position == 0) {
|
|
25360
|
-
data.position = resetValue;
|
|
25361
|
-
data.val = getNextValue(data.index++);
|
|
25362
|
-
}
|
|
25363
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25364
|
-
power <<= 1;
|
|
25365
|
-
}
|
|
25366
|
-
dictionary[dictSize++] = f(bits);
|
|
25367
|
-
c = dictSize - 1;
|
|
25368
|
-
enlargeIn--;
|
|
25369
|
-
break;
|
|
25370
|
-
case 1:
|
|
25371
|
-
bits = 0;
|
|
25372
|
-
maxpower = Math.pow(2, 16);
|
|
25373
|
-
power = 1;
|
|
25374
|
-
while (power != maxpower) {
|
|
25375
|
-
resb = data.val & data.position;
|
|
25376
|
-
data.position >>= 1;
|
|
25377
|
-
if (data.position == 0) {
|
|
25378
|
-
data.position = resetValue;
|
|
25379
|
-
data.val = getNextValue(data.index++);
|
|
25380
|
-
}
|
|
25381
|
-
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25382
|
-
power <<= 1;
|
|
25383
|
-
}
|
|
25384
|
-
dictionary[dictSize++] = f(bits);
|
|
25385
|
-
c = dictSize - 1;
|
|
25386
|
-
enlargeIn--;
|
|
25387
|
-
break;
|
|
25388
|
-
case 2:
|
|
25389
|
-
return result.join("");
|
|
25390
|
-
}
|
|
25391
|
-
if (enlargeIn == 0) {
|
|
25392
|
-
enlargeIn = Math.pow(2, numBits);
|
|
25393
|
-
numBits++;
|
|
25394
|
-
}
|
|
25395
|
-
if (dictionary[c]) {
|
|
25396
|
-
entry = dictionary[c];
|
|
25397
|
-
} else {
|
|
25398
|
-
if (c === dictSize) {
|
|
25399
|
-
entry = w + w.charAt(0);
|
|
25400
|
-
} else {
|
|
25401
|
-
return null;
|
|
25402
|
-
}
|
|
25403
|
-
}
|
|
25404
|
-
result.push(entry);
|
|
25405
|
-
dictionary[dictSize++] = w + entry.charAt(0);
|
|
25406
|
-
enlargeIn--;
|
|
25407
|
-
w = entry;
|
|
25408
|
-
if (enlargeIn == 0) {
|
|
25409
|
-
enlargeIn = Math.pow(2, numBits);
|
|
25410
|
-
numBits++;
|
|
25411
|
-
}
|
|
25412
|
-
}
|
|
25413
|
-
}
|
|
25414
|
-
};
|
|
25415
|
-
return LZString3;
|
|
25416
|
-
}();
|
|
25417
|
-
if (module != null) {
|
|
25418
|
-
module.exports = LZString2;
|
|
25419
|
-
} else if (typeof angular !== "undefined" && angular != null) {
|
|
25420
|
-
angular.module("LZString", []).factory("LZString", function() {
|
|
25421
|
-
return LZString2;
|
|
25422
|
-
});
|
|
25423
|
-
}
|
|
25424
|
-
})(lzString);
|
|
25425
|
-
return lzString.exports;
|
|
25426
|
-
}
|
|
25427
|
-
var lzStringExports = requireLzString();
|
|
25428
|
-
const LZString = /* @__PURE__ */ getDefaultExportFromCjs(lzStringExports);
|
|
25429
24971
|
const SWITCHBOARD = "SWITCHBOARD";
|
|
25430
24972
|
const LOCAL = "LOCAL";
|
|
25431
24973
|
const CLOUD = "CLOUD";
|
|
@@ -25535,7 +25077,7 @@ const nodeOptionsMap = {
|
|
|
25535
25077
|
};
|
|
25536
25078
|
const name = "@powerhousedao/connect";
|
|
25537
25079
|
const productName = "Powerhouse-Connect";
|
|
25538
|
-
const version$1 = "1.0.0-dev.
|
|
25080
|
+
const version$1 = "1.0.0-dev.227";
|
|
25539
25081
|
const description = "Powerhouse Connect";
|
|
25540
25082
|
const main = "./dist/index.html";
|
|
25541
25083
|
const type = "module";
|
|
@@ -25546,7 +25088,7 @@ const author = "acaldas@powerhouse.inc";
|
|
|
25546
25088
|
const repository = { "type": "git", "url": "git+https://github.com/powerhouse-inc/document-model-electron.git" };
|
|
25547
25089
|
const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron/issues" };
|
|
25548
25090
|
const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
|
|
25549
|
-
const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "lint:nx": "eslint --quiet --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev": "vite -c vite.renderer.config.mts", "dev:web": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev:web", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json" };
|
|
25091
|
+
const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "lint:nx": "eslint --quiet --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev": "vite -c vite.renderer.config.mts", "dev:web": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev:web", "prebuild": "tsc --build --noEmit", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json" };
|
|
25550
25092
|
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@rollup/plugin-node-resolve": "^15.2.3", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tailwindcss/vite": "^4.0.9", "@tanstack/react-virtual": "^3.8.1", "@types/node": "^22.13.10", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-basic-ssl": "^1.2.0", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.2.0", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", "xvfb-maybe": "^0.2.1" };
|
|
25551
25093
|
const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
|
|
25552
25094
|
const packageJson = {
|
|
@@ -25676,17 +25218,475 @@ function getNodeOptions() {
|
|
|
25676
25218
|
[FOLDER]: getFolderNodeOptions(),
|
|
25677
25219
|
[FILE]: getFileNodeOptions()
|
|
25678
25220
|
}
|
|
25679
|
-
};
|
|
25221
|
+
};
|
|
25222
|
+
}
|
|
25223
|
+
DriveSections.filter(
|
|
25224
|
+
(section) => getSectionConfig(section.sharingType).enabled
|
|
25225
|
+
).map((section) => {
|
|
25226
|
+
const sectionConfig = getSectionConfig(section.sharingType);
|
|
25227
|
+
return {
|
|
25228
|
+
...section,
|
|
25229
|
+
disableAddDrives: !sectionConfig.allowAdd
|
|
25230
|
+
};
|
|
25231
|
+
});
|
|
25232
|
+
var lzString = { exports: {} };
|
|
25233
|
+
lzString.exports;
|
|
25234
|
+
var hasRequiredLzString;
|
|
25235
|
+
function requireLzString() {
|
|
25236
|
+
if (hasRequiredLzString) return lzString.exports;
|
|
25237
|
+
hasRequiredLzString = 1;
|
|
25238
|
+
(function(module) {
|
|
25239
|
+
var LZString2 = function() {
|
|
25240
|
+
var f = String.fromCharCode;
|
|
25241
|
+
var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
25242
|
+
var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
|
|
25243
|
+
var baseReverseDic = {};
|
|
25244
|
+
function getBaseValue(alphabet, character) {
|
|
25245
|
+
if (!baseReverseDic[alphabet]) {
|
|
25246
|
+
baseReverseDic[alphabet] = {};
|
|
25247
|
+
for (var i = 0; i < alphabet.length; i++) {
|
|
25248
|
+
baseReverseDic[alphabet][alphabet.charAt(i)] = i;
|
|
25249
|
+
}
|
|
25250
|
+
}
|
|
25251
|
+
return baseReverseDic[alphabet][character];
|
|
25252
|
+
}
|
|
25253
|
+
var LZString3 = {
|
|
25254
|
+
compressToBase64: function(input) {
|
|
25255
|
+
if (input == null) return "";
|
|
25256
|
+
var res = LZString3._compress(input, 6, function(a) {
|
|
25257
|
+
return keyStrBase64.charAt(a);
|
|
25258
|
+
});
|
|
25259
|
+
switch (res.length % 4) {
|
|
25260
|
+
// To produce valid Base64
|
|
25261
|
+
default:
|
|
25262
|
+
// When could this happen ?
|
|
25263
|
+
case 0:
|
|
25264
|
+
return res;
|
|
25265
|
+
case 1:
|
|
25266
|
+
return res + "===";
|
|
25267
|
+
case 2:
|
|
25268
|
+
return res + "==";
|
|
25269
|
+
case 3:
|
|
25270
|
+
return res + "=";
|
|
25271
|
+
}
|
|
25272
|
+
},
|
|
25273
|
+
decompressFromBase64: function(input) {
|
|
25274
|
+
if (input == null) return "";
|
|
25275
|
+
if (input == "") return null;
|
|
25276
|
+
return LZString3._decompress(input.length, 32, function(index) {
|
|
25277
|
+
return getBaseValue(keyStrBase64, input.charAt(index));
|
|
25278
|
+
});
|
|
25279
|
+
},
|
|
25280
|
+
compressToUTF16: function(input) {
|
|
25281
|
+
if (input == null) return "";
|
|
25282
|
+
return LZString3._compress(input, 15, function(a) {
|
|
25283
|
+
return f(a + 32);
|
|
25284
|
+
}) + " ";
|
|
25285
|
+
},
|
|
25286
|
+
decompressFromUTF16: function(compressed) {
|
|
25287
|
+
if (compressed == null) return "";
|
|
25288
|
+
if (compressed == "") return null;
|
|
25289
|
+
return LZString3._decompress(compressed.length, 16384, function(index) {
|
|
25290
|
+
return compressed.charCodeAt(index) - 32;
|
|
25291
|
+
});
|
|
25292
|
+
},
|
|
25293
|
+
//compress into uint8array (UCS-2 big endian format)
|
|
25294
|
+
compressToUint8Array: function(uncompressed) {
|
|
25295
|
+
var compressed = LZString3.compress(uncompressed);
|
|
25296
|
+
var buf = new Uint8Array(compressed.length * 2);
|
|
25297
|
+
for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
|
|
25298
|
+
var current_value = compressed.charCodeAt(i);
|
|
25299
|
+
buf[i * 2] = current_value >>> 8;
|
|
25300
|
+
buf[i * 2 + 1] = current_value % 256;
|
|
25301
|
+
}
|
|
25302
|
+
return buf;
|
|
25303
|
+
},
|
|
25304
|
+
//decompress from uint8array (UCS-2 big endian format)
|
|
25305
|
+
decompressFromUint8Array: function(compressed) {
|
|
25306
|
+
if (compressed === null || compressed === void 0) {
|
|
25307
|
+
return LZString3.decompress(compressed);
|
|
25308
|
+
} else {
|
|
25309
|
+
var buf = new Array(compressed.length / 2);
|
|
25310
|
+
for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) {
|
|
25311
|
+
buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
|
|
25312
|
+
}
|
|
25313
|
+
var result = [];
|
|
25314
|
+
buf.forEach(function(c) {
|
|
25315
|
+
result.push(f(c));
|
|
25316
|
+
});
|
|
25317
|
+
return LZString3.decompress(result.join(""));
|
|
25318
|
+
}
|
|
25319
|
+
},
|
|
25320
|
+
//compress into a string that is already URI encoded
|
|
25321
|
+
compressToEncodedURIComponent: function(input) {
|
|
25322
|
+
if (input == null) return "";
|
|
25323
|
+
return LZString3._compress(input, 6, function(a) {
|
|
25324
|
+
return keyStrUriSafe.charAt(a);
|
|
25325
|
+
});
|
|
25326
|
+
},
|
|
25327
|
+
//decompress from an output of compressToEncodedURIComponent
|
|
25328
|
+
decompressFromEncodedURIComponent: function(input) {
|
|
25329
|
+
if (input == null) return "";
|
|
25330
|
+
if (input == "") return null;
|
|
25331
|
+
input = input.replace(/ /g, "+");
|
|
25332
|
+
return LZString3._decompress(input.length, 32, function(index) {
|
|
25333
|
+
return getBaseValue(keyStrUriSafe, input.charAt(index));
|
|
25334
|
+
});
|
|
25335
|
+
},
|
|
25336
|
+
compress: function(uncompressed) {
|
|
25337
|
+
return LZString3._compress(uncompressed, 16, function(a) {
|
|
25338
|
+
return f(a);
|
|
25339
|
+
});
|
|
25340
|
+
},
|
|
25341
|
+
_compress: function(uncompressed, bitsPerChar, getCharFromInt) {
|
|
25342
|
+
if (uncompressed == null) return "";
|
|
25343
|
+
var i, value, context_dictionary = {}, context_dictionaryToCreate = {}, context_c = "", context_wc = "", context_w = "", context_enlargeIn = 2, context_dictSize = 3, context_numBits = 2, context_data = [], context_data_val = 0, context_data_position = 0, ii;
|
|
25344
|
+
for (ii = 0; ii < uncompressed.length; ii += 1) {
|
|
25345
|
+
context_c = uncompressed.charAt(ii);
|
|
25346
|
+
if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
|
|
25347
|
+
context_dictionary[context_c] = context_dictSize++;
|
|
25348
|
+
context_dictionaryToCreate[context_c] = true;
|
|
25349
|
+
}
|
|
25350
|
+
context_wc = context_w + context_c;
|
|
25351
|
+
if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) {
|
|
25352
|
+
context_w = context_wc;
|
|
25353
|
+
} else {
|
|
25354
|
+
if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
|
|
25355
|
+
if (context_w.charCodeAt(0) < 256) {
|
|
25356
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25357
|
+
context_data_val = context_data_val << 1;
|
|
25358
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25359
|
+
context_data_position = 0;
|
|
25360
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25361
|
+
context_data_val = 0;
|
|
25362
|
+
} else {
|
|
25363
|
+
context_data_position++;
|
|
25364
|
+
}
|
|
25365
|
+
}
|
|
25366
|
+
value = context_w.charCodeAt(0);
|
|
25367
|
+
for (i = 0; i < 8; i++) {
|
|
25368
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25369
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25370
|
+
context_data_position = 0;
|
|
25371
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25372
|
+
context_data_val = 0;
|
|
25373
|
+
} else {
|
|
25374
|
+
context_data_position++;
|
|
25375
|
+
}
|
|
25376
|
+
value = value >> 1;
|
|
25377
|
+
}
|
|
25378
|
+
} else {
|
|
25379
|
+
value = 1;
|
|
25380
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25381
|
+
context_data_val = context_data_val << 1 | value;
|
|
25382
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25383
|
+
context_data_position = 0;
|
|
25384
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25385
|
+
context_data_val = 0;
|
|
25386
|
+
} else {
|
|
25387
|
+
context_data_position++;
|
|
25388
|
+
}
|
|
25389
|
+
value = 0;
|
|
25390
|
+
}
|
|
25391
|
+
value = context_w.charCodeAt(0);
|
|
25392
|
+
for (i = 0; i < 16; i++) {
|
|
25393
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25394
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25395
|
+
context_data_position = 0;
|
|
25396
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25397
|
+
context_data_val = 0;
|
|
25398
|
+
} else {
|
|
25399
|
+
context_data_position++;
|
|
25400
|
+
}
|
|
25401
|
+
value = value >> 1;
|
|
25402
|
+
}
|
|
25403
|
+
}
|
|
25404
|
+
context_enlargeIn--;
|
|
25405
|
+
if (context_enlargeIn == 0) {
|
|
25406
|
+
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25407
|
+
context_numBits++;
|
|
25408
|
+
}
|
|
25409
|
+
delete context_dictionaryToCreate[context_w];
|
|
25410
|
+
} else {
|
|
25411
|
+
value = context_dictionary[context_w];
|
|
25412
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25413
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25414
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25415
|
+
context_data_position = 0;
|
|
25416
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25417
|
+
context_data_val = 0;
|
|
25418
|
+
} else {
|
|
25419
|
+
context_data_position++;
|
|
25420
|
+
}
|
|
25421
|
+
value = value >> 1;
|
|
25422
|
+
}
|
|
25423
|
+
}
|
|
25424
|
+
context_enlargeIn--;
|
|
25425
|
+
if (context_enlargeIn == 0) {
|
|
25426
|
+
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25427
|
+
context_numBits++;
|
|
25428
|
+
}
|
|
25429
|
+
context_dictionary[context_wc] = context_dictSize++;
|
|
25430
|
+
context_w = String(context_c);
|
|
25431
|
+
}
|
|
25432
|
+
}
|
|
25433
|
+
if (context_w !== "") {
|
|
25434
|
+
if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
|
|
25435
|
+
if (context_w.charCodeAt(0) < 256) {
|
|
25436
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25437
|
+
context_data_val = context_data_val << 1;
|
|
25438
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25439
|
+
context_data_position = 0;
|
|
25440
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25441
|
+
context_data_val = 0;
|
|
25442
|
+
} else {
|
|
25443
|
+
context_data_position++;
|
|
25444
|
+
}
|
|
25445
|
+
}
|
|
25446
|
+
value = context_w.charCodeAt(0);
|
|
25447
|
+
for (i = 0; i < 8; i++) {
|
|
25448
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25449
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25450
|
+
context_data_position = 0;
|
|
25451
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25452
|
+
context_data_val = 0;
|
|
25453
|
+
} else {
|
|
25454
|
+
context_data_position++;
|
|
25455
|
+
}
|
|
25456
|
+
value = value >> 1;
|
|
25457
|
+
}
|
|
25458
|
+
} else {
|
|
25459
|
+
value = 1;
|
|
25460
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25461
|
+
context_data_val = context_data_val << 1 | value;
|
|
25462
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25463
|
+
context_data_position = 0;
|
|
25464
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25465
|
+
context_data_val = 0;
|
|
25466
|
+
} else {
|
|
25467
|
+
context_data_position++;
|
|
25468
|
+
}
|
|
25469
|
+
value = 0;
|
|
25470
|
+
}
|
|
25471
|
+
value = context_w.charCodeAt(0);
|
|
25472
|
+
for (i = 0; i < 16; i++) {
|
|
25473
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25474
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25475
|
+
context_data_position = 0;
|
|
25476
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25477
|
+
context_data_val = 0;
|
|
25478
|
+
} else {
|
|
25479
|
+
context_data_position++;
|
|
25480
|
+
}
|
|
25481
|
+
value = value >> 1;
|
|
25482
|
+
}
|
|
25483
|
+
}
|
|
25484
|
+
context_enlargeIn--;
|
|
25485
|
+
if (context_enlargeIn == 0) {
|
|
25486
|
+
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25487
|
+
context_numBits++;
|
|
25488
|
+
}
|
|
25489
|
+
delete context_dictionaryToCreate[context_w];
|
|
25490
|
+
} else {
|
|
25491
|
+
value = context_dictionary[context_w];
|
|
25492
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25493
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25494
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25495
|
+
context_data_position = 0;
|
|
25496
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25497
|
+
context_data_val = 0;
|
|
25498
|
+
} else {
|
|
25499
|
+
context_data_position++;
|
|
25500
|
+
}
|
|
25501
|
+
value = value >> 1;
|
|
25502
|
+
}
|
|
25503
|
+
}
|
|
25504
|
+
context_enlargeIn--;
|
|
25505
|
+
if (context_enlargeIn == 0) {
|
|
25506
|
+
context_enlargeIn = Math.pow(2, context_numBits);
|
|
25507
|
+
context_numBits++;
|
|
25508
|
+
}
|
|
25509
|
+
}
|
|
25510
|
+
value = 2;
|
|
25511
|
+
for (i = 0; i < context_numBits; i++) {
|
|
25512
|
+
context_data_val = context_data_val << 1 | value & 1;
|
|
25513
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25514
|
+
context_data_position = 0;
|
|
25515
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25516
|
+
context_data_val = 0;
|
|
25517
|
+
} else {
|
|
25518
|
+
context_data_position++;
|
|
25519
|
+
}
|
|
25520
|
+
value = value >> 1;
|
|
25521
|
+
}
|
|
25522
|
+
while (true) {
|
|
25523
|
+
context_data_val = context_data_val << 1;
|
|
25524
|
+
if (context_data_position == bitsPerChar - 1) {
|
|
25525
|
+
context_data.push(getCharFromInt(context_data_val));
|
|
25526
|
+
break;
|
|
25527
|
+
} else context_data_position++;
|
|
25528
|
+
}
|
|
25529
|
+
return context_data.join("");
|
|
25530
|
+
},
|
|
25531
|
+
decompress: function(compressed) {
|
|
25532
|
+
if (compressed == null) return "";
|
|
25533
|
+
if (compressed == "") return null;
|
|
25534
|
+
return LZString3._decompress(compressed.length, 32768, function(index) {
|
|
25535
|
+
return compressed.charCodeAt(index);
|
|
25536
|
+
});
|
|
25537
|
+
},
|
|
25538
|
+
_decompress: function(length, resetValue, getNextValue) {
|
|
25539
|
+
var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = { val: getNextValue(0), position: resetValue, index: 1 };
|
|
25540
|
+
for (i = 0; i < 3; i += 1) {
|
|
25541
|
+
dictionary[i] = i;
|
|
25542
|
+
}
|
|
25543
|
+
bits = 0;
|
|
25544
|
+
maxpower = Math.pow(2, 2);
|
|
25545
|
+
power = 1;
|
|
25546
|
+
while (power != maxpower) {
|
|
25547
|
+
resb = data.val & data.position;
|
|
25548
|
+
data.position >>= 1;
|
|
25549
|
+
if (data.position == 0) {
|
|
25550
|
+
data.position = resetValue;
|
|
25551
|
+
data.val = getNextValue(data.index++);
|
|
25552
|
+
}
|
|
25553
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25554
|
+
power <<= 1;
|
|
25555
|
+
}
|
|
25556
|
+
switch (bits) {
|
|
25557
|
+
case 0:
|
|
25558
|
+
bits = 0;
|
|
25559
|
+
maxpower = Math.pow(2, 8);
|
|
25560
|
+
power = 1;
|
|
25561
|
+
while (power != maxpower) {
|
|
25562
|
+
resb = data.val & data.position;
|
|
25563
|
+
data.position >>= 1;
|
|
25564
|
+
if (data.position == 0) {
|
|
25565
|
+
data.position = resetValue;
|
|
25566
|
+
data.val = getNextValue(data.index++);
|
|
25567
|
+
}
|
|
25568
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25569
|
+
power <<= 1;
|
|
25570
|
+
}
|
|
25571
|
+
c = f(bits);
|
|
25572
|
+
break;
|
|
25573
|
+
case 1:
|
|
25574
|
+
bits = 0;
|
|
25575
|
+
maxpower = Math.pow(2, 16);
|
|
25576
|
+
power = 1;
|
|
25577
|
+
while (power != maxpower) {
|
|
25578
|
+
resb = data.val & data.position;
|
|
25579
|
+
data.position >>= 1;
|
|
25580
|
+
if (data.position == 0) {
|
|
25581
|
+
data.position = resetValue;
|
|
25582
|
+
data.val = getNextValue(data.index++);
|
|
25583
|
+
}
|
|
25584
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25585
|
+
power <<= 1;
|
|
25586
|
+
}
|
|
25587
|
+
c = f(bits);
|
|
25588
|
+
break;
|
|
25589
|
+
case 2:
|
|
25590
|
+
return "";
|
|
25591
|
+
}
|
|
25592
|
+
dictionary[3] = c;
|
|
25593
|
+
w = c;
|
|
25594
|
+
result.push(c);
|
|
25595
|
+
while (true) {
|
|
25596
|
+
if (data.index > length) {
|
|
25597
|
+
return "";
|
|
25598
|
+
}
|
|
25599
|
+
bits = 0;
|
|
25600
|
+
maxpower = Math.pow(2, numBits);
|
|
25601
|
+
power = 1;
|
|
25602
|
+
while (power != maxpower) {
|
|
25603
|
+
resb = data.val & data.position;
|
|
25604
|
+
data.position >>= 1;
|
|
25605
|
+
if (data.position == 0) {
|
|
25606
|
+
data.position = resetValue;
|
|
25607
|
+
data.val = getNextValue(data.index++);
|
|
25608
|
+
}
|
|
25609
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25610
|
+
power <<= 1;
|
|
25611
|
+
}
|
|
25612
|
+
switch (c = bits) {
|
|
25613
|
+
case 0:
|
|
25614
|
+
bits = 0;
|
|
25615
|
+
maxpower = Math.pow(2, 8);
|
|
25616
|
+
power = 1;
|
|
25617
|
+
while (power != maxpower) {
|
|
25618
|
+
resb = data.val & data.position;
|
|
25619
|
+
data.position >>= 1;
|
|
25620
|
+
if (data.position == 0) {
|
|
25621
|
+
data.position = resetValue;
|
|
25622
|
+
data.val = getNextValue(data.index++);
|
|
25623
|
+
}
|
|
25624
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25625
|
+
power <<= 1;
|
|
25626
|
+
}
|
|
25627
|
+
dictionary[dictSize++] = f(bits);
|
|
25628
|
+
c = dictSize - 1;
|
|
25629
|
+
enlargeIn--;
|
|
25630
|
+
break;
|
|
25631
|
+
case 1:
|
|
25632
|
+
bits = 0;
|
|
25633
|
+
maxpower = Math.pow(2, 16);
|
|
25634
|
+
power = 1;
|
|
25635
|
+
while (power != maxpower) {
|
|
25636
|
+
resb = data.val & data.position;
|
|
25637
|
+
data.position >>= 1;
|
|
25638
|
+
if (data.position == 0) {
|
|
25639
|
+
data.position = resetValue;
|
|
25640
|
+
data.val = getNextValue(data.index++);
|
|
25641
|
+
}
|
|
25642
|
+
bits |= (resb > 0 ? 1 : 0) * power;
|
|
25643
|
+
power <<= 1;
|
|
25644
|
+
}
|
|
25645
|
+
dictionary[dictSize++] = f(bits);
|
|
25646
|
+
c = dictSize - 1;
|
|
25647
|
+
enlargeIn--;
|
|
25648
|
+
break;
|
|
25649
|
+
case 2:
|
|
25650
|
+
return result.join("");
|
|
25651
|
+
}
|
|
25652
|
+
if (enlargeIn == 0) {
|
|
25653
|
+
enlargeIn = Math.pow(2, numBits);
|
|
25654
|
+
numBits++;
|
|
25655
|
+
}
|
|
25656
|
+
if (dictionary[c]) {
|
|
25657
|
+
entry = dictionary[c];
|
|
25658
|
+
} else {
|
|
25659
|
+
if (c === dictSize) {
|
|
25660
|
+
entry = w + w.charAt(0);
|
|
25661
|
+
} else {
|
|
25662
|
+
return null;
|
|
25663
|
+
}
|
|
25664
|
+
}
|
|
25665
|
+
result.push(entry);
|
|
25666
|
+
dictionary[dictSize++] = w + entry.charAt(0);
|
|
25667
|
+
enlargeIn--;
|
|
25668
|
+
w = entry;
|
|
25669
|
+
if (enlargeIn == 0) {
|
|
25670
|
+
enlargeIn = Math.pow(2, numBits);
|
|
25671
|
+
numBits++;
|
|
25672
|
+
}
|
|
25673
|
+
}
|
|
25674
|
+
}
|
|
25675
|
+
};
|
|
25676
|
+
return LZString3;
|
|
25677
|
+
}();
|
|
25678
|
+
if (module != null) {
|
|
25679
|
+
module.exports = LZString2;
|
|
25680
|
+
} else if (typeof angular !== "undefined" && angular != null) {
|
|
25681
|
+
angular.module("LZString", []).factory("LZString", function() {
|
|
25682
|
+
return LZString2;
|
|
25683
|
+
});
|
|
25684
|
+
}
|
|
25685
|
+
})(lzString);
|
|
25686
|
+
return lzString.exports;
|
|
25680
25687
|
}
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
).map((section) => {
|
|
25684
|
-
const sectionConfig = getSectionConfig(section.sharingType);
|
|
25685
|
-
return {
|
|
25686
|
-
...section,
|
|
25687
|
-
disableAddDrives: !sectionConfig.allowAdd
|
|
25688
|
-
};
|
|
25689
|
-
});
|
|
25688
|
+
var lzStringExports = requireLzString();
|
|
25689
|
+
const LZString = /* @__PURE__ */ getDefaultExportFromCjs(lzStringExports);
|
|
25690
25690
|
const openBrowserUrl = (url) => window.open(url, "_blank");
|
|
25691
25691
|
const openUrl = ((_a = window.electronAPI) == null ? void 0 : _a.openURL) ?? openBrowserUrl;
|
|
25692
25692
|
function migrateDocumentOperationSignatures(document) {
|
|
@@ -30608,7 +30608,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
30608
30608
|
} else {
|
|
30609
30609
|
serviceWorkerManager.registerServiceWorker(false);
|
|
30610
30610
|
}
|
|
30611
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
30611
|
+
const App = lazy(() => __vitePreload(() => import("./app-CNNFwixT.js").then((n) => n.aN), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
30612
30612
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
30613
30613
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30614
30614
|
__proto__: null,
|
|
@@ -30644,7 +30644,7 @@ export {
|
|
|
30644
30644
|
pascalCase as Z,
|
|
30645
30645
|
Icon as _,
|
|
30646
30646
|
createReducer as a,
|
|
30647
|
-
|
|
30647
|
+
DUPLICATE as a$,
|
|
30648
30648
|
LOCAL as a0,
|
|
30649
30649
|
commonjsGlobal as a1,
|
|
30650
30650
|
SWITCHBOARD as a2,
|
|
@@ -30663,25 +30663,25 @@ export {
|
|
|
30663
30663
|
setSharingType as aF,
|
|
30664
30664
|
SynchronizationUnitNotFoundError as aG,
|
|
30665
30665
|
removeTrigger as aH,
|
|
30666
|
-
|
|
30667
|
-
|
|
30668
|
-
|
|
30669
|
-
|
|
30670
|
-
|
|
30671
|
-
|
|
30672
|
-
|
|
30673
|
-
|
|
30674
|
-
|
|
30675
|
-
|
|
30676
|
-
|
|
30677
|
-
|
|
30678
|
-
|
|
30679
|
-
|
|
30680
|
-
|
|
30681
|
-
|
|
30682
|
-
|
|
30683
|
-
|
|
30684
|
-
|
|
30666
|
+
generateUUID as aI,
|
|
30667
|
+
PullResponderTransmitter as aJ,
|
|
30668
|
+
addTrigger as aK,
|
|
30669
|
+
ReadDriveNotFoundError as aL,
|
|
30670
|
+
openUrl as aM,
|
|
30671
|
+
getNodeOptions as aN,
|
|
30672
|
+
DRIVE as aO,
|
|
30673
|
+
FOLDER as aP,
|
|
30674
|
+
requestPublicDrive as aQ,
|
|
30675
|
+
serviceWorkerManager as aR,
|
|
30676
|
+
packageJson as aS,
|
|
30677
|
+
t as aT,
|
|
30678
|
+
gql as aU,
|
|
30679
|
+
request as aV,
|
|
30680
|
+
getAugmentedNamespace as aW,
|
|
30681
|
+
getDimensions as aX,
|
|
30682
|
+
READ as aY,
|
|
30683
|
+
nodeOptionsMap as aZ,
|
|
30684
|
+
defaultFileOptions as a_,
|
|
30685
30685
|
CLOUD as aa,
|
|
30686
30686
|
createZip as ab,
|
|
30687
30687
|
logger$1 as ac,
|
|
@@ -30709,79 +30709,81 @@ export {
|
|
|
30709
30709
|
FILE as ay,
|
|
30710
30710
|
moveNode as az,
|
|
30711
30711
|
SetStateSchemaInputSchema as b,
|
|
30712
|
-
|
|
30713
|
-
|
|
30714
|
-
|
|
30715
|
-
|
|
30716
|
-
|
|
30717
|
-
|
|
30718
|
-
|
|
30719
|
-
|
|
30720
|
-
|
|
30721
|
-
|
|
30722
|
-
|
|
30723
|
-
|
|
30724
|
-
|
|
30725
|
-
|
|
30726
|
-
|
|
30727
|
-
|
|
30728
|
-
|
|
30729
|
-
|
|
30730
|
-
|
|
30731
|
-
|
|
30732
|
-
|
|
30733
|
-
|
|
30734
|
-
|
|
30735
|
-
|
|
30736
|
-
|
|
30737
|
-
|
|
30738
|
-
|
|
30739
|
-
|
|
30740
|
-
|
|
30741
|
-
|
|
30742
|
-
|
|
30743
|
-
|
|
30744
|
-
|
|
30745
|
-
|
|
30746
|
-
|
|
30747
|
-
|
|
30748
|
-
|
|
30749
|
-
|
|
30750
|
-
|
|
30751
|
-
|
|
30752
|
-
|
|
30753
|
-
|
|
30754
|
-
|
|
30755
|
-
|
|
30756
|
-
|
|
30757
|
-
|
|
30758
|
-
|
|
30759
|
-
|
|
30760
|
-
|
|
30761
|
-
|
|
30762
|
-
|
|
30763
|
-
|
|
30764
|
-
|
|
30765
|
-
|
|
30766
|
-
|
|
30767
|
-
|
|
30768
|
-
|
|
30769
|
-
|
|
30770
|
-
|
|
30771
|
-
|
|
30772
|
-
|
|
30773
|
-
|
|
30774
|
-
|
|
30775
|
-
|
|
30712
|
+
GraphQLInt as b$,
|
|
30713
|
+
RENAME as b0,
|
|
30714
|
+
WRITE as b1,
|
|
30715
|
+
DELETE as b2,
|
|
30716
|
+
defaultFolderOptions as b3,
|
|
30717
|
+
garbageCollect as b4,
|
|
30718
|
+
sortOperations as b5,
|
|
30719
|
+
UI_NODE as b6,
|
|
30720
|
+
undo as b7,
|
|
30721
|
+
redo as b8,
|
|
30722
|
+
useDocumentDispatch as b9,
|
|
30723
|
+
snakeCase as bA,
|
|
30724
|
+
constantCase as bB,
|
|
30725
|
+
isAbstractType as bC,
|
|
30726
|
+
BREAK as bD,
|
|
30727
|
+
GraphQLInputObjectType as bE,
|
|
30728
|
+
GraphQLList as bF,
|
|
30729
|
+
GraphQLEnumType as bG,
|
|
30730
|
+
GraphQLObjectType as bH,
|
|
30731
|
+
GraphQLInterfaceType as bI,
|
|
30732
|
+
SchemaMetaFieldDef as bJ,
|
|
30733
|
+
TypeMetaFieldDef as bK,
|
|
30734
|
+
TypeNameMetaFieldDef as bL,
|
|
30735
|
+
isCompositeType as bM,
|
|
30736
|
+
isOutputType as bN,
|
|
30737
|
+
isInputType as bO,
|
|
30738
|
+
GraphQLBoolean as bP,
|
|
30739
|
+
assertAbstractType as bQ,
|
|
30740
|
+
doTypesOverlap as bR,
|
|
30741
|
+
DirectiveLocation as bS,
|
|
30742
|
+
specifiedRules as bT,
|
|
30743
|
+
NoUnusedFragmentsRule as bU,
|
|
30744
|
+
ExecutableDefinitionsRule as bV,
|
|
30745
|
+
validate as bW,
|
|
30746
|
+
validateSchema as bX,
|
|
30747
|
+
GraphQLID as bY,
|
|
30748
|
+
GraphQLString as bZ,
|
|
30749
|
+
GraphQLFloat as b_,
|
|
30750
|
+
inspect as ba,
|
|
30751
|
+
GraphQLError as bb,
|
|
30752
|
+
invariant as bc,
|
|
30753
|
+
getNamedType as bd,
|
|
30754
|
+
isInputObjectType as be,
|
|
30755
|
+
isScalarType as bf,
|
|
30756
|
+
isObjectType as bg,
|
|
30757
|
+
isInterfaceType as bh,
|
|
30758
|
+
isUnionType as bi,
|
|
30759
|
+
isEnumType as bj,
|
|
30760
|
+
astFromValue as bk,
|
|
30761
|
+
print as bl,
|
|
30762
|
+
DEFAULT_DEPRECATION_REASON as bm,
|
|
30763
|
+
Kind as bn,
|
|
30764
|
+
isPrintableAsBlockString as bo,
|
|
30765
|
+
isSpecifiedDirective as bp,
|
|
30766
|
+
isSpecifiedScalarType as bq,
|
|
30767
|
+
isIntrospectionType as br,
|
|
30768
|
+
z as bs,
|
|
30769
|
+
GraphQLScalarType as bt,
|
|
30770
|
+
parse as bu,
|
|
30771
|
+
visit as bv,
|
|
30772
|
+
buildASTSchema as bw,
|
|
30773
|
+
extendSchema as bx,
|
|
30774
|
+
getNullableType as by,
|
|
30775
|
+
isListType as bz,
|
|
30776
30776
|
createAction as c,
|
|
30777
|
-
|
|
30778
|
-
|
|
30779
|
-
|
|
30780
|
-
|
|
30781
|
-
|
|
30782
|
-
|
|
30783
|
-
|
|
30784
|
-
|
|
30777
|
+
GraphQLDirective as c0,
|
|
30778
|
+
GraphQLUnionType as c1,
|
|
30779
|
+
isNonNullType as c2,
|
|
30780
|
+
GraphQLNonNull as c3,
|
|
30781
|
+
isNamedType as c4,
|
|
30782
|
+
isLeafType as c5,
|
|
30783
|
+
GraphQLSchema as c6,
|
|
30784
|
+
buildSchema as c7,
|
|
30785
|
+
sentenceCase as c8,
|
|
30786
|
+
appLoader as c9,
|
|
30785
30787
|
ReorderModuleOperationsInputSchema as d,
|
|
30786
30788
|
DeleteOperationInputSchema as e,
|
|
30787
30789
|
SetOperationReducerInputSchema as f,
|