@design.estate/dees-wcctools 3.8.5 → 3.9.1

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.
@@ -1231,662 +1231,6 @@ var require_SymbolTree = __commonJS({
1231
1231
  }
1232
1232
  });
1233
1233
 
1234
- // node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.js
1235
- var require_lodash = __commonJS({
1236
- "node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.js"(exports, module) {
1237
- var LARGE_ARRAY_SIZE = 200;
1238
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
1239
- var MAX_SAFE_INTEGER = 9007199254740991;
1240
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", promiseTag = "[object Promise]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
1241
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
1242
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1243
- var reFlags = /\w*$/;
1244
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
1245
- var reIsUint = /^(?:0|[1-9]\d*)$/;
1246
- var cloneableTags = {};
1247
- cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
1248
- cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
1249
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
1250
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
1251
- var root6 = freeGlobal || freeSelf || Function("return this")();
1252
- var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
1253
- var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
1254
- var moduleExports = freeModule && freeModule.exports === freeExports;
1255
- function addMapEntry(map7, pair) {
1256
- map7.set(pair[0], pair[1]);
1257
- return map7;
1258
- }
1259
- __name(addMapEntry, "addMapEntry");
1260
- function addSetEntry(set2, value2) {
1261
- set2.add(value2);
1262
- return set2;
1263
- }
1264
- __name(addSetEntry, "addSetEntry");
1265
- function arrayEach(array, iteratee) {
1266
- var index2 = -1, length = array ? array.length : 0;
1267
- while (++index2 < length) {
1268
- if (iteratee(array[index2], index2, array) === false) {
1269
- break;
1270
- }
1271
- }
1272
- return array;
1273
- }
1274
- __name(arrayEach, "arrayEach");
1275
- function arrayPush(array, values) {
1276
- var index2 = -1, length = values.length, offset = array.length;
1277
- while (++index2 < length) {
1278
- array[offset + index2] = values[index2];
1279
- }
1280
- return array;
1281
- }
1282
- __name(arrayPush, "arrayPush");
1283
- function arrayReduce(array, iteratee, accumulator, initAccum) {
1284
- var index2 = -1, length = array ? array.length : 0;
1285
- if (initAccum && length) {
1286
- accumulator = array[++index2];
1287
- }
1288
- while (++index2 < length) {
1289
- accumulator = iteratee(accumulator, array[index2], index2, array);
1290
- }
1291
- return accumulator;
1292
- }
1293
- __name(arrayReduce, "arrayReduce");
1294
- function baseTimes(n11, iteratee) {
1295
- var index2 = -1, result = Array(n11);
1296
- while (++index2 < n11) {
1297
- result[index2] = iteratee(index2);
1298
- }
1299
- return result;
1300
- }
1301
- __name(baseTimes, "baseTimes");
1302
- function getValue(object, key2) {
1303
- return object == null ? void 0 : object[key2];
1304
- }
1305
- __name(getValue, "getValue");
1306
- function isHostObject(value2) {
1307
- var result = false;
1308
- if (value2 != null && typeof value2.toString != "function") {
1309
- try {
1310
- result = !!(value2 + "");
1311
- } catch (e10) {
1312
- }
1313
- }
1314
- return result;
1315
- }
1316
- __name(isHostObject, "isHostObject");
1317
- function mapToArray(map7) {
1318
- var index2 = -1, result = Array(map7.size);
1319
- map7.forEach(function(value2, key2) {
1320
- result[++index2] = [key2, value2];
1321
- });
1322
- return result;
1323
- }
1324
- __name(mapToArray, "mapToArray");
1325
- function overArg(func, transform2) {
1326
- return function(arg) {
1327
- return func(transform2(arg));
1328
- };
1329
- }
1330
- __name(overArg, "overArg");
1331
- function setToArray(set2) {
1332
- var index2 = -1, result = Array(set2.size);
1333
- set2.forEach(function(value2) {
1334
- result[++index2] = value2;
1335
- });
1336
- return result;
1337
- }
1338
- __name(setToArray, "setToArray");
1339
- var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto2 = Object.prototype;
1340
- var coreJsData = root6["__core-js_shared__"];
1341
- var maskSrcKey = (function() {
1342
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
1343
- return uid ? "Symbol(src)_1." + uid : "";
1344
- })();
1345
- var funcToString = funcProto.toString;
1346
- var hasOwnProperty3 = objectProto2.hasOwnProperty;
1347
- var objectToString2 = objectProto2.toString;
1348
- var reIsNative = RegExp(
1349
- "^" + funcToString.call(hasOwnProperty3).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1350
- );
1351
- var Buffer2 = moduleExports ? root6.Buffer : void 0, Symbol2 = root6.Symbol, Uint8Array2 = root6.Uint8Array, getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto2.propertyIsEnumerable, splice2 = arrayProto.splice;
1352
- var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
1353
- var DataView2 = getNative(root6, "DataView"), Map2 = getNative(root6, "Map"), Promise2 = getNative(root6, "Promise"), Set2 = getNative(root6, "Set"), WeakMap2 = getNative(root6, "WeakMap"), nativeCreate = getNative(Object, "create");
1354
- var dataViewCtorString = toSource(DataView2), mapCtorString = toSource(Map2), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap2);
1355
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1356
- function Hash(entries) {
1357
- var index2 = -1, length = entries ? entries.length : 0;
1358
- this.clear();
1359
- while (++index2 < length) {
1360
- var entry = entries[index2];
1361
- this.set(entry[0], entry[1]);
1362
- }
1363
- }
1364
- __name(Hash, "Hash");
1365
- function hashClear() {
1366
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
1367
- }
1368
- __name(hashClear, "hashClear");
1369
- function hashDelete(key2) {
1370
- return this.has(key2) && delete this.__data__[key2];
1371
- }
1372
- __name(hashDelete, "hashDelete");
1373
- function hashGet(key2) {
1374
- var data = this.__data__;
1375
- if (nativeCreate) {
1376
- var result = data[key2];
1377
- return result === HASH_UNDEFINED ? void 0 : result;
1378
- }
1379
- return hasOwnProperty3.call(data, key2) ? data[key2] : void 0;
1380
- }
1381
- __name(hashGet, "hashGet");
1382
- function hashHas(key2) {
1383
- var data = this.__data__;
1384
- return nativeCreate ? data[key2] !== void 0 : hasOwnProperty3.call(data, key2);
1385
- }
1386
- __name(hashHas, "hashHas");
1387
- function hashSet(key2, value2) {
1388
- var data = this.__data__;
1389
- data[key2] = nativeCreate && value2 === void 0 ? HASH_UNDEFINED : value2;
1390
- return this;
1391
- }
1392
- __name(hashSet, "hashSet");
1393
- Hash.prototype.clear = hashClear;
1394
- Hash.prototype["delete"] = hashDelete;
1395
- Hash.prototype.get = hashGet;
1396
- Hash.prototype.has = hashHas;
1397
- Hash.prototype.set = hashSet;
1398
- function ListCache(entries) {
1399
- var index2 = -1, length = entries ? entries.length : 0;
1400
- this.clear();
1401
- while (++index2 < length) {
1402
- var entry = entries[index2];
1403
- this.set(entry[0], entry[1]);
1404
- }
1405
- }
1406
- __name(ListCache, "ListCache");
1407
- function listCacheClear() {
1408
- this.__data__ = [];
1409
- }
1410
- __name(listCacheClear, "listCacheClear");
1411
- function listCacheDelete(key2) {
1412
- var data = this.__data__, index2 = assocIndexOf(data, key2);
1413
- if (index2 < 0) {
1414
- return false;
1415
- }
1416
- var lastIndex = data.length - 1;
1417
- if (index2 == lastIndex) {
1418
- data.pop();
1419
- } else {
1420
- splice2.call(data, index2, 1);
1421
- }
1422
- return true;
1423
- }
1424
- __name(listCacheDelete, "listCacheDelete");
1425
- function listCacheGet(key2) {
1426
- var data = this.__data__, index2 = assocIndexOf(data, key2);
1427
- return index2 < 0 ? void 0 : data[index2][1];
1428
- }
1429
- __name(listCacheGet, "listCacheGet");
1430
- function listCacheHas(key2) {
1431
- return assocIndexOf(this.__data__, key2) > -1;
1432
- }
1433
- __name(listCacheHas, "listCacheHas");
1434
- function listCacheSet(key2, value2) {
1435
- var data = this.__data__, index2 = assocIndexOf(data, key2);
1436
- if (index2 < 0) {
1437
- data.push([key2, value2]);
1438
- } else {
1439
- data[index2][1] = value2;
1440
- }
1441
- return this;
1442
- }
1443
- __name(listCacheSet, "listCacheSet");
1444
- ListCache.prototype.clear = listCacheClear;
1445
- ListCache.prototype["delete"] = listCacheDelete;
1446
- ListCache.prototype.get = listCacheGet;
1447
- ListCache.prototype.has = listCacheHas;
1448
- ListCache.prototype.set = listCacheSet;
1449
- function MapCache(entries) {
1450
- var index2 = -1, length = entries ? entries.length : 0;
1451
- this.clear();
1452
- while (++index2 < length) {
1453
- var entry = entries[index2];
1454
- this.set(entry[0], entry[1]);
1455
- }
1456
- }
1457
- __name(MapCache, "MapCache");
1458
- function mapCacheClear() {
1459
- this.__data__ = {
1460
- "hash": new Hash(),
1461
- "map": new (Map2 || ListCache)(),
1462
- "string": new Hash()
1463
- };
1464
- }
1465
- __name(mapCacheClear, "mapCacheClear");
1466
- function mapCacheDelete(key2) {
1467
- return getMapData(this, key2)["delete"](key2);
1468
- }
1469
- __name(mapCacheDelete, "mapCacheDelete");
1470
- function mapCacheGet(key2) {
1471
- return getMapData(this, key2).get(key2);
1472
- }
1473
- __name(mapCacheGet, "mapCacheGet");
1474
- function mapCacheHas(key2) {
1475
- return getMapData(this, key2).has(key2);
1476
- }
1477
- __name(mapCacheHas, "mapCacheHas");
1478
- function mapCacheSet(key2, value2) {
1479
- getMapData(this, key2).set(key2, value2);
1480
- return this;
1481
- }
1482
- __name(mapCacheSet, "mapCacheSet");
1483
- MapCache.prototype.clear = mapCacheClear;
1484
- MapCache.prototype["delete"] = mapCacheDelete;
1485
- MapCache.prototype.get = mapCacheGet;
1486
- MapCache.prototype.has = mapCacheHas;
1487
- MapCache.prototype.set = mapCacheSet;
1488
- function Stack(entries) {
1489
- this.__data__ = new ListCache(entries);
1490
- }
1491
- __name(Stack, "Stack");
1492
- function stackClear() {
1493
- this.__data__ = new ListCache();
1494
- }
1495
- __name(stackClear, "stackClear");
1496
- function stackDelete(key2) {
1497
- return this.__data__["delete"](key2);
1498
- }
1499
- __name(stackDelete, "stackDelete");
1500
- function stackGet(key2) {
1501
- return this.__data__.get(key2);
1502
- }
1503
- __name(stackGet, "stackGet");
1504
- function stackHas(key2) {
1505
- return this.__data__.has(key2);
1506
- }
1507
- __name(stackHas, "stackHas");
1508
- function stackSet(key2, value2) {
1509
- var cache = this.__data__;
1510
- if (cache instanceof ListCache) {
1511
- var pairs2 = cache.__data__;
1512
- if (!Map2 || pairs2.length < LARGE_ARRAY_SIZE - 1) {
1513
- pairs2.push([key2, value2]);
1514
- return this;
1515
- }
1516
- cache = this.__data__ = new MapCache(pairs2);
1517
- }
1518
- cache.set(key2, value2);
1519
- return this;
1520
- }
1521
- __name(stackSet, "stackSet");
1522
- Stack.prototype.clear = stackClear;
1523
- Stack.prototype["delete"] = stackDelete;
1524
- Stack.prototype.get = stackGet;
1525
- Stack.prototype.has = stackHas;
1526
- Stack.prototype.set = stackSet;
1527
- function arrayLikeKeys(value2, inherited) {
1528
- var result = isArray5(value2) || isArguments(value2) ? baseTimes(value2.length, String) : [];
1529
- var length = result.length, skipIndexes = !!length;
1530
- for (var key2 in value2) {
1531
- if ((inherited || hasOwnProperty3.call(value2, key2)) && !(skipIndexes && (key2 == "length" || isIndex(key2, length)))) {
1532
- result.push(key2);
1533
- }
1534
- }
1535
- return result;
1536
- }
1537
- __name(arrayLikeKeys, "arrayLikeKeys");
1538
- function assignValue(object, key2, value2) {
1539
- var objValue = object[key2];
1540
- if (!(hasOwnProperty3.call(object, key2) && eq(objValue, value2)) || value2 === void 0 && !(key2 in object)) {
1541
- object[key2] = value2;
1542
- }
1543
- }
1544
- __name(assignValue, "assignValue");
1545
- function assocIndexOf(array, key2) {
1546
- var length = array.length;
1547
- while (length--) {
1548
- if (eq(array[length][0], key2)) {
1549
- return length;
1550
- }
1551
- }
1552
- return -1;
1553
- }
1554
- __name(assocIndexOf, "assocIndexOf");
1555
- function baseAssign(object, source) {
1556
- return object && copyObject(source, keys2(source), object);
1557
- }
1558
- __name(baseAssign, "baseAssign");
1559
- function baseClone(value2, isDeep, isFull, customizer, key2, object, stack) {
1560
- var result;
1561
- if (customizer) {
1562
- result = object ? customizer(value2, key2, object, stack) : customizer(value2);
1563
- }
1564
- if (result !== void 0) {
1565
- return result;
1566
- }
1567
- if (!isObject3(value2)) {
1568
- return value2;
1569
- }
1570
- var isArr = isArray5(value2);
1571
- if (isArr) {
1572
- result = initCloneArray(value2);
1573
- if (!isDeep) {
1574
- return copyArray(value2, result);
1575
- }
1576
- } else {
1577
- var tag = getTag(value2), isFunc = tag == funcTag || tag == genTag;
1578
- if (isBuffer(value2)) {
1579
- return cloneBuffer(value2, isDeep);
1580
- }
1581
- if (tag == objectTag || tag == argsTag || isFunc && !object) {
1582
- if (isHostObject(value2)) {
1583
- return object ? value2 : {};
1584
- }
1585
- result = initCloneObject(isFunc ? {} : value2);
1586
- if (!isDeep) {
1587
- return copySymbols(value2, baseAssign(result, value2));
1588
- }
1589
- } else {
1590
- if (!cloneableTags[tag]) {
1591
- return object ? value2 : {};
1592
- }
1593
- result = initCloneByTag(value2, tag, baseClone, isDeep);
1594
- }
1595
- }
1596
- stack || (stack = new Stack());
1597
- var stacked = stack.get(value2);
1598
- if (stacked) {
1599
- return stacked;
1600
- }
1601
- stack.set(value2, result);
1602
- if (!isArr) {
1603
- var props = isFull ? getAllKeys(value2) : keys2(value2);
1604
- }
1605
- arrayEach(props || value2, function(subValue, key3) {
1606
- if (props) {
1607
- key3 = subValue;
1608
- subValue = value2[key3];
1609
- }
1610
- assignValue(result, key3, baseClone(subValue, isDeep, isFull, customizer, key3, value2, stack));
1611
- });
1612
- return result;
1613
- }
1614
- __name(baseClone, "baseClone");
1615
- function baseCreate(proto) {
1616
- return isObject3(proto) ? objectCreate(proto) : {};
1617
- }
1618
- __name(baseCreate, "baseCreate");
1619
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1620
- var result = keysFunc(object);
1621
- return isArray5(object) ? result : arrayPush(result, symbolsFunc(object));
1622
- }
1623
- __name(baseGetAllKeys, "baseGetAllKeys");
1624
- function baseGetTag(value2) {
1625
- return objectToString2.call(value2);
1626
- }
1627
- __name(baseGetTag, "baseGetTag");
1628
- function baseIsNative(value2) {
1629
- if (!isObject3(value2) || isMasked(value2)) {
1630
- return false;
1631
- }
1632
- var pattern = isFunction2(value2) || isHostObject(value2) ? reIsNative : reIsHostCtor;
1633
- return pattern.test(toSource(value2));
1634
- }
1635
- __name(baseIsNative, "baseIsNative");
1636
- function baseKeys(object) {
1637
- if (!isPrototype(object)) {
1638
- return nativeKeys(object);
1639
- }
1640
- var result = [];
1641
- for (var key2 in Object(object)) {
1642
- if (hasOwnProperty3.call(object, key2) && key2 != "constructor") {
1643
- result.push(key2);
1644
- }
1645
- }
1646
- return result;
1647
- }
1648
- __name(baseKeys, "baseKeys");
1649
- function cloneBuffer(buffer2, isDeep) {
1650
- if (isDeep) {
1651
- return buffer2.slice();
1652
- }
1653
- var result = new buffer2.constructor(buffer2.length);
1654
- buffer2.copy(result);
1655
- return result;
1656
- }
1657
- __name(cloneBuffer, "cloneBuffer");
1658
- function cloneArrayBuffer(arrayBuffer) {
1659
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1660
- new Uint8Array2(result).set(new Uint8Array2(arrayBuffer));
1661
- return result;
1662
- }
1663
- __name(cloneArrayBuffer, "cloneArrayBuffer");
1664
- function cloneDataView(dataView, isDeep) {
1665
- var buffer2 = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1666
- return new dataView.constructor(buffer2, dataView.byteOffset, dataView.byteLength);
1667
- }
1668
- __name(cloneDataView, "cloneDataView");
1669
- function cloneMap(map7, isDeep, cloneFunc) {
1670
- var array = isDeep ? cloneFunc(mapToArray(map7), true) : mapToArray(map7);
1671
- return arrayReduce(array, addMapEntry, new map7.constructor());
1672
- }
1673
- __name(cloneMap, "cloneMap");
1674
- function cloneRegExp(regexp) {
1675
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1676
- result.lastIndex = regexp.lastIndex;
1677
- return result;
1678
- }
1679
- __name(cloneRegExp, "cloneRegExp");
1680
- function cloneSet(set2, isDeep, cloneFunc) {
1681
- var array = isDeep ? cloneFunc(setToArray(set2), true) : setToArray(set2);
1682
- return arrayReduce(array, addSetEntry, new set2.constructor());
1683
- }
1684
- __name(cloneSet, "cloneSet");
1685
- function cloneSymbol(symbol) {
1686
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1687
- }
1688
- __name(cloneSymbol, "cloneSymbol");
1689
- function cloneTypedArray(typedArray, isDeep) {
1690
- var buffer2 = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1691
- return new typedArray.constructor(buffer2, typedArray.byteOffset, typedArray.length);
1692
- }
1693
- __name(cloneTypedArray, "cloneTypedArray");
1694
- function copyArray(source, array) {
1695
- var index2 = -1, length = source.length;
1696
- array || (array = Array(length));
1697
- while (++index2 < length) {
1698
- array[index2] = source[index2];
1699
- }
1700
- return array;
1701
- }
1702
- __name(copyArray, "copyArray");
1703
- function copyObject(source, props, object, customizer) {
1704
- object || (object = {});
1705
- var index2 = -1, length = props.length;
1706
- while (++index2 < length) {
1707
- var key2 = props[index2];
1708
- var newValue = customizer ? customizer(object[key2], source[key2], key2, object, source) : void 0;
1709
- assignValue(object, key2, newValue === void 0 ? source[key2] : newValue);
1710
- }
1711
- return object;
1712
- }
1713
- __name(copyObject, "copyObject");
1714
- function copySymbols(source, object) {
1715
- return copyObject(source, getSymbols(source), object);
1716
- }
1717
- __name(copySymbols, "copySymbols");
1718
- function getAllKeys(object) {
1719
- return baseGetAllKeys(object, keys2, getSymbols);
1720
- }
1721
- __name(getAllKeys, "getAllKeys");
1722
- function getMapData(map7, key2) {
1723
- var data = map7.__data__;
1724
- return isKeyable(key2) ? data[typeof key2 == "string" ? "string" : "hash"] : data.map;
1725
- }
1726
- __name(getMapData, "getMapData");
1727
- function getNative(object, key2) {
1728
- var value2 = getValue(object, key2);
1729
- return baseIsNative(value2) ? value2 : void 0;
1730
- }
1731
- __name(getNative, "getNative");
1732
- var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
1733
- var getTag = baseGetTag;
1734
- if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
1735
- getTag = /* @__PURE__ */ __name(function(value2) {
1736
- var result = objectToString2.call(value2), Ctor = result == objectTag ? value2.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
1737
- if (ctorString) {
1738
- switch (ctorString) {
1739
- case dataViewCtorString:
1740
- return dataViewTag;
1741
- case mapCtorString:
1742
- return mapTag;
1743
- case promiseCtorString:
1744
- return promiseTag;
1745
- case setCtorString:
1746
- return setTag;
1747
- case weakMapCtorString:
1748
- return weakMapTag;
1749
- }
1750
- }
1751
- return result;
1752
- }, "getTag");
1753
- }
1754
- function initCloneArray(array) {
1755
- var length = array.length, result = array.constructor(length);
1756
- if (length && typeof array[0] == "string" && hasOwnProperty3.call(array, "index")) {
1757
- result.index = array.index;
1758
- result.input = array.input;
1759
- }
1760
- return result;
1761
- }
1762
- __name(initCloneArray, "initCloneArray");
1763
- function initCloneObject(object) {
1764
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
1765
- }
1766
- __name(initCloneObject, "initCloneObject");
1767
- function initCloneByTag(object, tag, cloneFunc, isDeep) {
1768
- var Ctor = object.constructor;
1769
- switch (tag) {
1770
- case arrayBufferTag:
1771
- return cloneArrayBuffer(object);
1772
- case boolTag:
1773
- case dateTag:
1774
- return new Ctor(+object);
1775
- case dataViewTag:
1776
- return cloneDataView(object, isDeep);
1777
- case float32Tag:
1778
- case float64Tag:
1779
- case int8Tag:
1780
- case int16Tag:
1781
- case int32Tag:
1782
- case uint8Tag:
1783
- case uint8ClampedTag:
1784
- case uint16Tag:
1785
- case uint32Tag:
1786
- return cloneTypedArray(object, isDeep);
1787
- case mapTag:
1788
- return cloneMap(object, isDeep, cloneFunc);
1789
- case numberTag:
1790
- case stringTag:
1791
- return new Ctor(object);
1792
- case regexpTag:
1793
- return cloneRegExp(object);
1794
- case setTag:
1795
- return cloneSet(object, isDeep, cloneFunc);
1796
- case symbolTag:
1797
- return cloneSymbol(object);
1798
- }
1799
- }
1800
- __name(initCloneByTag, "initCloneByTag");
1801
- function isIndex(value2, length) {
1802
- length = length == null ? MAX_SAFE_INTEGER : length;
1803
- return !!length && (typeof value2 == "number" || reIsUint.test(value2)) && (value2 > -1 && value2 % 1 == 0 && value2 < length);
1804
- }
1805
- __name(isIndex, "isIndex");
1806
- function isKeyable(value2) {
1807
- var type5 = typeof value2;
1808
- return type5 == "string" || type5 == "number" || type5 == "symbol" || type5 == "boolean" ? value2 !== "__proto__" : value2 === null;
1809
- }
1810
- __name(isKeyable, "isKeyable");
1811
- function isMasked(func) {
1812
- return !!maskSrcKey && maskSrcKey in func;
1813
- }
1814
- __name(isMasked, "isMasked");
1815
- function isPrototype(value2) {
1816
- var Ctor = value2 && value2.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto2;
1817
- return value2 === proto;
1818
- }
1819
- __name(isPrototype, "isPrototype");
1820
- function toSource(func) {
1821
- if (func != null) {
1822
- try {
1823
- return funcToString.call(func);
1824
- } catch (e10) {
1825
- }
1826
- try {
1827
- return func + "";
1828
- } catch (e10) {
1829
- }
1830
- }
1831
- return "";
1832
- }
1833
- __name(toSource, "toSource");
1834
- function cloneDeep(value2) {
1835
- return baseClone(value2, true, true);
1836
- }
1837
- __name(cloneDeep, "cloneDeep");
1838
- function eq(value2, other) {
1839
- return value2 === other || value2 !== value2 && other !== other;
1840
- }
1841
- __name(eq, "eq");
1842
- function isArguments(value2) {
1843
- return isArrayLikeObject(value2) && hasOwnProperty3.call(value2, "callee") && (!propertyIsEnumerable.call(value2, "callee") || objectToString2.call(value2) == argsTag);
1844
- }
1845
- __name(isArguments, "isArguments");
1846
- var isArray5 = Array.isArray;
1847
- function isArrayLike2(value2) {
1848
- return value2 != null && isLength(value2.length) && !isFunction2(value2);
1849
- }
1850
- __name(isArrayLike2, "isArrayLike");
1851
- function isArrayLikeObject(value2) {
1852
- return isObjectLike(value2) && isArrayLike2(value2);
1853
- }
1854
- __name(isArrayLikeObject, "isArrayLikeObject");
1855
- var isBuffer = nativeIsBuffer || stubFalse;
1856
- function isFunction2(value2) {
1857
- var tag = isObject3(value2) ? objectToString2.call(value2) : "";
1858
- return tag == funcTag || tag == genTag;
1859
- }
1860
- __name(isFunction2, "isFunction");
1861
- function isLength(value2) {
1862
- return typeof value2 == "number" && value2 > -1 && value2 % 1 == 0 && value2 <= MAX_SAFE_INTEGER;
1863
- }
1864
- __name(isLength, "isLength");
1865
- function isObject3(value2) {
1866
- var type5 = typeof value2;
1867
- return !!value2 && (type5 == "object" || type5 == "function");
1868
- }
1869
- __name(isObject3, "isObject");
1870
- function isObjectLike(value2) {
1871
- return !!value2 && typeof value2 == "object";
1872
- }
1873
- __name(isObjectLike, "isObjectLike");
1874
- function keys2(object) {
1875
- return isArrayLike2(object) ? arrayLikeKeys(object) : baseKeys(object);
1876
- }
1877
- __name(keys2, "keys");
1878
- function stubArray() {
1879
- return [];
1880
- }
1881
- __name(stubArray, "stubArray");
1882
- function stubFalse() {
1883
- return false;
1884
- }
1885
- __name(stubFalse, "stubFalse");
1886
- module.exports = cloneDeep;
1887
- }
1888
- });
1889
-
1890
1234
  // node_modules/.pnpm/fast-json-stable-stringify@2.1.0/node_modules/fast-json-stable-stringify/index.js
1891
1235
  var require_fast_json_stable_stringify = __commonJS({
1892
1236
  "node_modules/.pnpm/fast-json-stable-stringify@2.1.0/node_modules/fast-json-stable-stringify/index.js"(exports, module) {
@@ -1905,7 +1249,7 @@ var require_fast_json_stable_stringify = __commonJS({
1905
1249
  };
1906
1250
  })(opts.cmp);
1907
1251
  var seen = [];
1908
- return (/* @__PURE__ */ __name((function stringify7(node4) {
1252
+ return (/* @__PURE__ */ __name((function stringify5(node4) {
1909
1253
  if (node4 && node4.toJSON && typeof node4.toJSON === "function") {
1910
1254
  node4 = node4.toJSON();
1911
1255
  }
@@ -1917,7 +1261,7 @@ var require_fast_json_stable_stringify = __commonJS({
1917
1261
  out = "[";
1918
1262
  for (i10 = 0; i10 < node4.length; i10++) {
1919
1263
  if (i10) out += ",";
1920
- out += stringify7(node4[i10]) || "null";
1264
+ out += stringify5(node4[i10]) || "null";
1921
1265
  }
1922
1266
  return out + "]";
1923
1267
  }
@@ -1931,7 +1275,7 @@ var require_fast_json_stable_stringify = __commonJS({
1931
1275
  out = "";
1932
1276
  for (i10 = 0; i10 < keys2.length; i10++) {
1933
1277
  var key2 = keys2[i10];
1934
- var value2 = stringify7(node4[key2]);
1278
+ var value2 = stringify5(node4[key2]);
1935
1279
  if (!value2) continue;
1936
1280
  if (out) out += ",";
1937
1281
  out += JSON.stringify(key2) + ":" + value2;
@@ -1951,10 +1295,10 @@ var require_common = __commonJS({
1951
1295
  return typeof subject === "undefined" || subject === null;
1952
1296
  }
1953
1297
  __name(isNothing, "isNothing");
1954
- function isObject3(subject) {
1298
+ function isObject2(subject) {
1955
1299
  return typeof subject === "object" && subject !== null;
1956
1300
  }
1957
- __name(isObject3, "isObject");
1301
+ __name(isObject2, "isObject");
1958
1302
  function toArray2(sequence) {
1959
1303
  if (Array.isArray(sequence)) return sequence;
1960
1304
  else if (isNothing(sequence)) return [];
@@ -1986,7 +1330,7 @@ var require_common = __commonJS({
1986
1330
  }
1987
1331
  __name(isNegativeZero, "isNegativeZero");
1988
1332
  module.exports.isNothing = isNothing;
1989
- module.exports.isObject = isObject3;
1333
+ module.exports.isObject = isObject2;
1990
1334
  module.exports.toArray = toArray2;
1991
1335
  module.exports.repeat = repeat3;
1992
1336
  module.exports.isNegativeZero = isNegativeZero;
@@ -4969,7 +4313,7 @@ var require_extend = __commonJS({
4969
4313
  var toStr = Object.prototype.toString;
4970
4314
  var defineProperty = Object.defineProperty;
4971
4315
  var gOPD = Object.getOwnPropertyDescriptor;
4972
- var isArray5 = /* @__PURE__ */ __name(function isArray6(arr) {
4316
+ var isArray4 = /* @__PURE__ */ __name(function isArray5(arr) {
4973
4317
  if (typeof Array.isArray === "function") {
4974
4318
  return Array.isArray(arr);
4975
4319
  }
@@ -5032,10 +4376,10 @@ var require_extend = __commonJS({
5032
4376
  src = getProperty(target, name);
5033
4377
  copy = getProperty(options, name);
5034
4378
  if (target !== copy) {
5035
- if (deep && copy && (isPlainObject2(copy) || (copyIsArray = isArray5(copy)))) {
4379
+ if (deep && copy && (isPlainObject2(copy) || (copyIsArray = isArray4(copy)))) {
5036
4380
  if (copyIsArray) {
5037
4381
  copyIsArray = false;
5038
- clone = src && isArray5(src) ? src : [];
4382
+ clone = src && isArray4(src) ? src : [];
5039
4383
  } else {
5040
4384
  clone = src && isPlainObject2(src) ? src : {};
5041
4385
  }
@@ -5160,11 +4504,11 @@ var require_dist = __commonJS({
5160
4504
  "use strict";
5161
4505
  Object.defineProperty(exports, "__esModule", { value: true });
5162
4506
  exports.PathError = exports.TokenData = void 0;
5163
- exports.parse = parse9;
4507
+ exports.parse = parse7;
5164
4508
  exports.compile = compile2;
5165
4509
  exports.match = match2;
5166
4510
  exports.pathToRegexp = pathToRegexp;
5167
- exports.stringify = stringify7;
4511
+ exports.stringify = stringify5;
5168
4512
  var DEFAULT_DELIMITER = "/";
5169
4513
  var NOOP_VALUE = /* @__PURE__ */ __name((value2) => value2, "NOOP_VALUE");
5170
4514
  var ID_START = /^[$_\p{ID_Start}]$/u;
@@ -5214,7 +4558,7 @@ var require_dist = __commonJS({
5214
4558
  }
5215
4559
  };
5216
4560
  exports.PathError = PathError;
5217
- function parse9(str, options = {}) {
4561
+ function parse7(str, options = {}) {
5218
4562
  const { encodePath = NOOP_VALUE } = options;
5219
4563
  const chars = [...str];
5220
4564
  const tokens = [];
@@ -5304,10 +4648,10 @@ var require_dist = __commonJS({
5304
4648
  __name(consumeUntil, "consumeUntil");
5305
4649
  return new TokenData(consumeUntil("end"), str);
5306
4650
  }
5307
- __name(parse9, "parse");
4651
+ __name(parse7, "parse");
5308
4652
  function compile2(path2, options = {}) {
5309
4653
  const { encode: encode2 = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
5310
- const data = typeof path2 === "object" ? path2 : parse9(path2, options);
4654
+ const data = typeof path2 === "object" ? path2 : parse7(path2, options);
5311
4655
  const fn = tokensToFunction(data.tokens, delimiter, encode2);
5312
4656
  return /* @__PURE__ */ __name(function path3(params = {}) {
5313
4657
  const [path4, ...missing] = fn(params);
@@ -5406,7 +4750,7 @@ var require_dist = __commonJS({
5406
4750
  const flags = sensitive ? "" : "i";
5407
4751
  const sources = [];
5408
4752
  for (const input of pathsToArray(path2, [])) {
5409
- const data = typeof input === "object" ? input : parse9(input, options);
4753
+ const data = typeof input === "object" ? input : parse7(input, options);
5410
4754
  for (const tokens of flatten(data.tokens, 0, [])) {
5411
4755
  sources.push(toRegExpSource(tokens, delimiter, keys2, data.originalPath));
5412
4756
  }
@@ -5516,10 +4860,10 @@ var require_dist = __commonJS({
5516
4860
  return value2;
5517
4861
  }
5518
4862
  __name(stringifyTokens, "stringifyTokens");
5519
- function stringify7(data) {
4863
+ function stringify5(data) {
5520
4864
  return stringifyTokens(data.tokens);
5521
4865
  }
5522
- __name(stringify7, "stringify");
4866
+ __name(stringify5, "stringify");
5523
4867
  function isNameSafe(name) {
5524
4868
  const [first2, ...rest] = name;
5525
4869
  return ID_START.test(first2) && rest.every((char) => ID_CONTINUE.test(char));
@@ -5537,8 +4881,8 @@ var require_dist = __commonJS({
5537
4881
  // node_modules/.pnpm/sweet-scroll@4.0.0/node_modules/sweet-scroll/sweet-scroll.js
5538
4882
  var require_sweet_scroll = __commonJS({
5539
4883
  "node_modules/.pnpm/sweet-scroll@4.0.0/node_modules/sweet-scroll/sweet-scroll.js"(exports, module) {
5540
- (function(global2, factory) {
5541
- typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global2 = global2 || self, global2.SweetScroll = factory());
4884
+ (function(global, factory) {
4885
+ typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global = global || self, global.SweetScroll = factory());
5542
4886
  })(exports, function() {
5543
4887
  "use strict";
5544
4888
  var __assign2 = /* @__PURE__ */ __name(function() {
@@ -5571,17 +4915,17 @@ var require_sweet_scroll = __commonJS({
5571
4915
  }
5572
4916
  return support;
5573
4917
  })();
5574
- var isString3 = /* @__PURE__ */ __name(function(obj) {
4918
+ var isString2 = /* @__PURE__ */ __name(function(obj) {
5575
4919
  return typeof obj === "string";
5576
4920
  }, "isString");
5577
4921
  var isFunction2 = /* @__PURE__ */ __name(function(obj) {
5578
4922
  return typeof obj === "function";
5579
4923
  }, "isFunction");
5580
- var isArray5 = /* @__PURE__ */ __name(function(obj) {
4924
+ var isArray4 = /* @__PURE__ */ __name(function(obj) {
5581
4925
  return Array.isArray(obj);
5582
4926
  }, "isArray");
5583
4927
  var isNumeric = /* @__PURE__ */ __name(function(obj) {
5584
- return !isArray5(obj) && obj - parseFloat(obj) + 1 >= 0;
4928
+ return !isArray4(obj) && obj - parseFloat(obj) + 1 >= 0;
5585
4929
  }, "isNumeric");
5586
4930
  var hasProp = /* @__PURE__ */ __name(function(obj, key2) {
5587
4931
  return obj && obj.hasOwnProperty(key2);
@@ -5779,7 +5123,7 @@ var require_sweet_scroll = __commonJS({
5779
5123
  var res = { top: 0, left: 0, relative: false };
5780
5124
  if (hasProp(coordinate, "top") || hasProp(coordinate, "left")) {
5781
5125
  res = __assign2({}, res, coordinate);
5782
- } else if (isArray5(coordinate)) {
5126
+ } else if (isArray4(coordinate)) {
5783
5127
  if (coordinate.length > 1) {
5784
5128
  res.top = coordinate[0];
5785
5129
  res.left = coordinate[1];
@@ -5795,7 +5139,7 @@ var require_sweet_scroll = __commonJS({
5795
5139
  } else {
5796
5140
  res.left = coordinate;
5797
5141
  }
5798
- } else if (isString3(coordinate)) {
5142
+ } else if (isString2(coordinate)) {
5799
5143
  var m5 = coordinate.trim().match(reRelativeToken);
5800
5144
  if (!m5) {
5801
5145
  return null;
@@ -5957,7 +5301,7 @@ var require_sweet_scroll = __commonJS({
5957
5301
  var optOffset = opts.offset, vertical = opts.vertical, horizontal = opts.horizontal;
5958
5302
  var $header = isElement(opts.header) ? opts.header : $3(opts.header);
5959
5303
  var reg = /^#/;
5960
- var hash = isString3(distance) && reg.test(distance) ? distance : null;
5304
+ var hash = isString2(distance) && reg.test(distance) ? distance : null;
5961
5305
  ctx.opts = opts;
5962
5306
  ctx.cancel = false;
5963
5307
  ctx.hash = hash;
@@ -5976,7 +5320,7 @@ var require_sweet_scroll = __commonJS({
5976
5320
  } else {
5977
5321
  scroll = coordinate;
5978
5322
  }
5979
- } else if (isString3(distance) && distance !== "#") {
5323
+ } else if (isString2(distance) && distance !== "#") {
5980
5324
  var $target = $3(distance);
5981
5325
  if (!$target) {
5982
5326
  return;
@@ -36797,7 +36141,7 @@ __export(dist_ts_exports2, {
36797
36141
  rxjs: () => smartrx_plugins_rxjs_exports
36798
36142
  });
36799
36143
 
36800
- // node_modules/.pnpm/@push.rocks+smartpromise@4.2.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
36144
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.2.4/node_modules/@push.rocks/smartpromise/dist_ts/index.js
36801
36145
  var dist_ts_exports = {};
36802
36146
  __export(dist_ts_exports, {
36803
36147
  CumulativeDeferred: () => CumulativeDeferred,
@@ -36813,7 +36157,7 @@ __export(dist_ts_exports, {
36813
36157
  timeoutWrap: () => timeoutWrap
36814
36158
  });
36815
36159
 
36816
- // node_modules/.pnpm/@push.rocks+smartpromise@4.2.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
36160
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.2.4/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
36817
36161
  var Deferred = class {
36818
36162
  static {
36819
36163
  __name(this, "Deferred");
@@ -36853,7 +36197,7 @@ var defer = /* @__PURE__ */ __name(() => {
36853
36197
  return new Deferred();
36854
36198
  }, "defer");
36855
36199
 
36856
- // node_modules/.pnpm/@push.rocks+smartpromise@4.2.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
36200
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.2.4/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
36857
36201
  var CumulativeDeferred = class {
36858
36202
  static {
36859
36203
  __name(this, "CumulativeDeferred");
@@ -36883,25 +36227,16 @@ var cumulativeDefer = /* @__PURE__ */ __name(() => {
36883
36227
  return new CumulativeDeferred();
36884
36228
  }, "cumulativeDefer");
36885
36229
 
36886
- // node_modules/.pnpm/@push.rocks+smartpromise@4.2.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
36887
- var resolvedPromise = /* @__PURE__ */ __name((value2) => {
36230
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.2.4/node_modules/@push.rocks/smartpromise/dist_ts/index.js
36231
+ function resolvedPromise(value2) {
36888
36232
  return Promise.resolve(value2);
36889
- }, "resolvedPromise");
36233
+ }
36234
+ __name(resolvedPromise, "resolvedPromise");
36890
36235
  var rejectedPromise = /* @__PURE__ */ __name((err) => {
36891
36236
  return Promise.reject(err);
36892
36237
  }, "rejectedPromise");
36893
36238
  var map = /* @__PURE__ */ __name(async (inputArg, functionArg) => {
36894
- const promiseArray = [];
36895
- const resultArray = [];
36896
- for (const item of inputArg) {
36897
- const promise = functionArg(item);
36898
- promiseArray.push(promise);
36899
- promise.then((x3) => {
36900
- resultArray.push(x3);
36901
- });
36902
- }
36903
- await Promise.all(promiseArray);
36904
- return resultArray;
36239
+ return Promise.all(inputArg.map(functionArg));
36905
36240
  }, "map");
36906
36241
  var timeoutWrap = /* @__PURE__ */ __name(async (promiseArg, timeoutInMsArg, rejectArg = true) => {
36907
36242
  return new Promise((resolve2, reject) => {
@@ -40085,8 +39420,8 @@ function n5(t8) {
40085
39420
  __name(n5, "n");
40086
39421
 
40087
39422
  // node_modules/.pnpm/@design.estate+dees-domtools@2.5.4/node_modules/@design.estate/dees-domtools/dist_ts/index.js
40088
- var dist_ts_exports28 = {};
40089
- __export(dist_ts_exports28, {
39423
+ var dist_ts_exports25 = {};
39424
+ __export(dist_ts_exports25, {
40090
39425
  DomTools: () => DomTools,
40091
39426
  TypedRequest: () => TypedRequest,
40092
39427
  breakpoints: () => domtools_css_breakpoints_exports,
@@ -40104,12 +39439,12 @@ __export(domtools_elementbasic_exports, {
40104
39439
  });
40105
39440
 
40106
39441
  // node_modules/.pnpm/@design.estate+dees-comms@1.0.30/node_modules/@design.estate/dees-comms/dist_ts/index.js
40107
- var dist_ts_exports18 = {};
40108
- __export(dist_ts_exports18, {
39442
+ var dist_ts_exports16 = {};
39443
+ __export(dist_ts_exports16, {
40109
39444
  DeesComms: () => DeesComms
40110
39445
  });
40111
39446
 
40112
- // node_modules/.pnpm/@push.rocks+smartdelay@3.0.5/node_modules/@push.rocks/smartdelay/dist_ts/index.js
39447
+ // node_modules/.pnpm/@push.rocks+smartdelay@3.1.0/node_modules/@push.rocks/smartdelay/dist_ts/index.js
40113
39448
  var dist_ts_exports3 = {};
40114
39449
  __export(dist_ts_exports3, {
40115
39450
  Timeout: () => Timeout,
@@ -40148,7 +39483,8 @@ var Timeout = class {
40148
39483
  * unreffing a timeout causes the node process to not wait for completion before exit
40149
39484
  */
40150
39485
  makeUnrefed() {
40151
- this._timeout.unref();
39486
+ const timeoutWithUnref = this._timeout;
39487
+ timeoutWithUnref.unref?.();
40152
39488
  }
40153
39489
  /**
40154
39490
  * cancels the timer
@@ -40166,9 +39502,9 @@ var Timeout = class {
40166
39502
  // node_modules/.pnpm/@api.global+typedrequest-interfaces@3.0.19/node_modules/@api.global/typedrequest-interfaces/dist_ts/index.js
40167
39503
  var dist_ts_exports4 = {};
40168
39504
 
40169
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/index.js
40170
- var dist_ts_exports17 = {};
40171
- __export(dist_ts_exports17, {
39505
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/index.js
39506
+ var dist_ts_exports15 = {};
39507
+ __export(dist_ts_exports15, {
40172
39508
  TypedHandler: () => TypedHandler,
40173
39509
  TypedRequest: () => TypedRequest,
40174
39510
  TypedResponseError: () => TypedResponseError,
@@ -40177,7 +39513,7 @@ __export(dist_ts_exports17, {
40177
39513
  VirtualStream: () => VirtualStream
40178
39514
  });
40179
39515
 
40180
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/index.js
39516
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/index.js
40181
39517
  var dist_ts_exports6 = {};
40182
39518
  __export(dist_ts_exports6, {
40183
39519
  AsyncExecutionStack: () => AsyncExecutionStack,
@@ -48375,10 +47711,10 @@ var Timer = class {
48375
47711
  }
48376
47712
  };
48377
47713
 
48378
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.plugins.js
47714
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.plugins.js
48379
47715
  var import_symbol_tree = __toESM(require_SymbolTree(), 1);
48380
47716
 
48381
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.asyncexecutionstack.js
47717
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.asyncexecutionstack.js
48382
47718
  var AsyncExecutionStack = class {
48383
47719
  static {
48384
47720
  __name(this, "AsyncExecutionStack");
@@ -48538,7 +47874,7 @@ var AsyncExecutionStack = class {
48538
47874
  }
48539
47875
  };
48540
47876
 
48541
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.backpressuredarray.js
47877
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.backpressuredarray.js
48542
47878
  var BackpressuredArray = class {
48543
47879
  static {
48544
47880
  __name(this, "BackpressuredArray");
@@ -48633,7 +47969,7 @@ var BackpressuredArray = class {
48633
47969
  }
48634
47970
  };
48635
47971
 
48636
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.fastmap.js
47972
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.fastmap.js
48637
47973
  var FastMap = class _FastMap {
48638
47974
  static {
48639
47975
  __name(this, "FastMap");
@@ -48717,7 +48053,7 @@ var FastMap = class _FastMap {
48717
48053
  }
48718
48054
  };
48719
48055
 
48720
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.objectmap.js
48056
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.objectmap.js
48721
48057
  var uni = /* @__PURE__ */ __name((prefix = "uni") => {
48722
48058
  return `${prefix}xxxxxxxxxxx`.replace(/[xy]/g, (c10) => {
48723
48059
  const r10 = Math.random() * 16 | 0;
@@ -48954,7 +48290,7 @@ var ObjectMap = class _ObjectMap {
48954
48290
  }
48955
48291
  };
48956
48292
 
48957
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.interestmap.interest.js
48293
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.interestmap.interest.js
48958
48294
  var Interest = class {
48959
48295
  static {
48960
48296
  __name(this, "Interest");
@@ -49047,7 +48383,7 @@ var Interest = class {
49047
48383
  }
49048
48384
  };
49049
48385
 
49050
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.interestmap.js
48386
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.interestmap.js
49051
48387
  var InterestMap = class {
49052
48388
  static {
49053
48389
  __name(this, "InterestMap");
@@ -49147,7 +48483,7 @@ var InterestMap = class {
49147
48483
  }
49148
48484
  };
49149
48485
 
49150
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.limitedarray.js
48486
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.limitedarray.js
49151
48487
  var LimitedArray = class {
49152
48488
  static {
49153
48489
  __name(this, "LimitedArray");
@@ -49211,7 +48547,7 @@ var LimitedArray = class {
49211
48547
  }
49212
48548
  };
49213
48549
 
49214
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.looptracker.js
48550
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.looptracker.js
49215
48551
  var LoopTracker = class {
49216
48552
  static {
49217
48553
  __name(this, "LoopTracker");
@@ -49245,7 +48581,7 @@ var LoopTracker = class {
49245
48581
  }
49246
48582
  };
49247
48583
 
49248
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.stringmap.js
48584
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.stringmap.js
49249
48585
  var Stringmap = class {
49250
48586
  static {
49251
48587
  __name(this, "Stringmap");
@@ -49355,7 +48691,7 @@ var Stringmap = class {
49355
48691
  }
49356
48692
  };
49357
48693
 
49358
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.timedaggregator.js
48694
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.timedaggregator.js
49359
48695
  var TimedAggregtor = class {
49360
48696
  static {
49361
48697
  __name(this, "TimedAggregtor");
@@ -49423,7 +48759,7 @@ var TimedAggregtor = class {
49423
48759
  }
49424
48760
  };
49425
48761
 
49426
- // node_modules/.pnpm/@push.rocks+lik@6.4.0/node_modules/@push.rocks/lik/dist_ts/classes.tree.js
48762
+ // node_modules/.pnpm/@push.rocks+lik@6.4.1/node_modules/@push.rocks/lik/dist_ts/classes.tree.js
49427
48763
  var Tree = class {
49428
48764
  static {
49429
48765
  __name(this, "Tree");
@@ -49541,9 +48877,9 @@ var Tree = class {
49541
48877
  * @param jsonRoot the root node in ITreeNode format
49542
48878
  * @param reviver optional function to reconstruct T from serialized data
49543
48879
  */
49544
- fromJsonWithHierachy(jsonRoot, reviver3) {
48880
+ fromJsonWithHierachy(jsonRoot, reviver2) {
49545
48881
  const buildTree = /* @__PURE__ */ __name((node4, parentElement) => {
49546
- const element4 = reviver3 ? reviver3(node4.data) : node4.data;
48882
+ const element4 = reviver2 ? reviver2(node4.data) : node4.data;
49547
48883
  this.initialize(element4);
49548
48884
  if (parentElement) {
49549
48885
  this.appendChild(parentElement, element4);
@@ -49557,7 +48893,7 @@ var Tree = class {
49557
48893
  }
49558
48894
  };
49559
48895
 
49560
- // node_modules/.pnpm/@push.rocks+smartbuffer@3.0.5/node_modules/@push.rocks/smartbuffer/dist_ts/index.js
48896
+ // node_modules/.pnpm/@push.rocks+smartbuffer@3.0.6/node_modules/@push.rocks/smartbuffer/dist_ts/index.js
49561
48897
  var dist_ts_exports8 = {};
49562
48898
  __export(dist_ts_exports8, {
49563
48899
  base64ToUint8Array: () => base64ToUint8Array2,
@@ -49843,7 +49179,7 @@ function includes(array, value2) {
49843
49179
  }
49844
49180
  __name(includes, "includes");
49845
49181
 
49846
- // node_modules/.pnpm/@push.rocks+smartbuffer@3.0.5/node_modules/@push.rocks/smartbuffer/dist_ts/index.js
49182
+ // node_modules/.pnpm/@push.rocks+smartbuffer@3.0.6/node_modules/@push.rocks/smartbuffer/dist_ts/index.js
49847
49183
  var uInt8ArrayExtras = uint8array_extras_exports;
49848
49184
  function uInt8ArrayToBase64(uInt8Array) {
49849
49185
  return uint8array_extras_exports.uint8ArrayToBase64(uInt8Array);
@@ -50006,8 +49342,8 @@ ${failedHint}
50006
49342
  }, "passGuardsOrReject");
50007
49343
 
50008
49344
  // node_modules/.pnpm/@push.rocks+webrequest@4.0.5/node_modules/@push.rocks/webrequest/dist_ts/index.js
50009
- var dist_ts_exports16 = {};
50010
- __export(dist_ts_exports16, {
49345
+ var dist_ts_exports14 = {};
49346
+ __export(dist_ts_exports14, {
50011
49347
  CacheManager: () => CacheManager,
50012
49348
  CacheStore: () => CacheStore,
50013
49349
  InterceptorManager: () => InterceptorManager,
@@ -50140,13 +49476,13 @@ var InterceptorManager = class {
50140
49476
  }
50141
49477
  };
50142
49478
 
50143
- // node_modules/.pnpm/@push.rocks+smartenv@6.0.0/node_modules/@push.rocks/smartenv/dist_ts/index.js
49479
+ // node_modules/.pnpm/@push.rocks+smartenv@6.1.0/node_modules/@push.rocks/smartenv/dist_ts/index.js
50144
49480
  var dist_ts_exports10 = {};
50145
49481
  __export(dist_ts_exports10, {
50146
49482
  Smartenv: () => Smartenv
50147
49483
  });
50148
49484
 
50149
- // node_modules/.pnpm/@push.rocks+smartenv@6.0.0/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
49485
+ // node_modules/.pnpm/@push.rocks+smartenv@6.1.0/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
50150
49486
  var Smartenv = class {
50151
49487
  static {
50152
49488
  __name(this, "Smartenv");
@@ -50168,7 +49504,7 @@ var Smartenv = class {
50168
49504
  async getSafeNodeModule(moduleNameArg, runAfterFunc) {
50169
49505
  if (!this.isNode && !this.isDeno && !this.isBun) {
50170
49506
  console.error(`You tried to load a server module in a wrong context: ${moduleNameArg}. This does not throw.`);
50171
- return;
49507
+ return void 0;
50172
49508
  }
50173
49509
  const returnValue = await new Function(`return import('${moduleNameArg}')`)();
50174
49510
  if (runAfterFunc) {
@@ -50187,8 +49523,9 @@ var Smartenv = class {
50187
49523
  this.loadedScripts.push(urlArg);
50188
49524
  }
50189
49525
  const done = dist_ts_exports.defer();
50190
- if (globalThis.importScripts) {
50191
- globalThis.importScripts(urlArg);
49526
+ const smartenvGlobal = globalThis;
49527
+ if (smartenvGlobal.importScripts) {
49528
+ smartenvGlobal.importScripts(urlArg);
50192
49529
  done.resolve();
50193
49530
  } else {
50194
49531
  const script = document.createElement("script");
@@ -50202,10 +49539,11 @@ var Smartenv = class {
50202
49539
  return getFunctionArg();
50203
49540
  }
50204
49541
  get runtimeEnv() {
50205
- if (typeof globalThis.Deno !== "undefined" && typeof globalThis.Deno?.version !== "undefined") {
49542
+ const smartenvGlobal = globalThis;
49543
+ if (typeof smartenvGlobal.Deno !== "undefined" && typeof smartenvGlobal.Deno.version !== "undefined") {
50206
49544
  return "deno";
50207
49545
  }
50208
- if (typeof globalThis.Bun !== "undefined" && typeof globalThis.Bun?.version !== "undefined") {
49546
+ if (typeof smartenvGlobal.Bun !== "undefined" && typeof smartenvGlobal.Bun.version !== "undefined") {
50209
49547
  return "bun";
50210
49548
  }
50211
49549
  if (typeof globalThis.process !== "undefined" && typeof globalThis.process?.versions?.node !== "undefined") {
@@ -50243,13 +49581,15 @@ var Smartenv = class {
50243
49581
  }
50244
49582
  get denoVersion() {
50245
49583
  if (this.isDeno) {
50246
- return globalThis.Deno.version.deno;
49584
+ const smartenvGlobal = globalThis;
49585
+ return smartenvGlobal.Deno?.version?.deno ?? "undefined";
50247
49586
  }
50248
49587
  return "undefined";
50249
49588
  }
50250
49589
  get bunVersion() {
50251
49590
  if (this.isBun) {
50252
- return globalThis.Bun.version;
49591
+ const smartenvGlobal = globalThis;
49592
+ return smartenvGlobal.Bun?.version ?? "undefined";
50253
49593
  }
50254
49594
  return "undefined";
50255
49595
  }
@@ -50298,25 +49638,25 @@ var Smartenv = class {
50298
49638
  }
50299
49639
  }
50300
49640
  async isMacAsync() {
50301
- if (this.isNode) {
50302
- const os = await this.getSafeNodeModule("os");
50303
- return os.platform() === "darwin";
49641
+ if (this.isNode || this.isDeno || this.isBun) {
49642
+ const os = await this.getSafeNodeModule(this.isDeno ? "node:os" : "os");
49643
+ return os?.platform() === "darwin";
50304
49644
  } else {
50305
49645
  return false;
50306
49646
  }
50307
49647
  }
50308
49648
  async isWindowsAsync() {
50309
- if (this.isNode) {
50310
- const os = await this.getSafeNodeModule("os");
50311
- return os.platform() === "win32";
49649
+ if (this.isNode || this.isDeno || this.isBun) {
49650
+ const os = await this.getSafeNodeModule(this.isDeno ? "node:os" : "os");
49651
+ return os?.platform() === "win32";
50312
49652
  } else {
50313
49653
  return false;
50314
49654
  }
50315
49655
  }
50316
49656
  async isLinuxAsync() {
50317
- if (this.isNode) {
50318
- const os = await this.getSafeNodeModule("os");
50319
- return os.platform() === "linux";
49657
+ if (this.isNode || this.isDeno || this.isBun) {
49658
+ const os = await this.getSafeNodeModule(this.isDeno ? "node:os" : "os");
49659
+ return os?.platform() === "linux";
50320
49660
  } else {
50321
49661
  return false;
50322
49662
  }
@@ -50341,7 +49681,7 @@ var Smartenv = class {
50341
49681
  }
50342
49682
  };
50343
49683
 
50344
- // node_modules/.pnpm/@push.rocks+smartjson@6.0.0/node_modules/@push.rocks/smartjson/dist_ts/index.js
49684
+ // node_modules/.pnpm/@push.rocks+smartjson@6.0.1/node_modules/@push.rocks/smartjson/dist_ts/index.js
50345
49685
  var dist_ts_exports12 = {};
50346
49686
  __export(dist_ts_exports12, {
50347
49687
  Smartjson: () => Smartjson,
@@ -50358,7 +49698,7 @@ __export(dist_ts_exports12, {
50358
49698
  stringifyPretty: () => stringifyPretty
50359
49699
  });
50360
49700
 
50361
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/index.js
49701
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/index.js
50362
49702
  var dist_ts_exports11 = {};
50363
49703
  __export(dist_ts_exports11, {
50364
49704
  Base64: () => Base64,
@@ -50372,17 +49712,17 @@ __export(dist_ts_exports11, {
50372
49712
  type: () => smartstring_type_exports
50373
49713
  });
50374
49714
 
50375
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
49715
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
50376
49716
  var smartstring_create_exports = {};
50377
49717
  __export(smartstring_create_exports, {
50378
49718
  createCryptoRandomString: () => createCryptoRandomString,
50379
49719
  createRandomString: () => createRandomString
50380
49720
  });
50381
49721
 
50382
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
49722
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
50383
49723
  var isounique = __toESM(require_dist_ts(), 1);
50384
49724
 
50385
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
49725
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
50386
49726
  var getRandomInt = /* @__PURE__ */ __name((min3, max3) => {
50387
49727
  if (typeof globalThis !== "undefined" && globalThis.crypto && globalThis.crypto.getRandomValues) {
50388
49728
  const range2 = max3 - min3;
@@ -50426,24 +49766,26 @@ var createCryptoRandomString = /* @__PURE__ */ __name(() => {
50426
49766
  return isounique.uni();
50427
49767
  }, "createCryptoRandomString");
50428
49768
 
50429
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.docker.js
49769
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.docker.js
50430
49770
  var smartstring_docker_exports = {};
50431
49771
  __export(smartstring_docker_exports, {
50432
49772
  makeEnvObject: () => makeEnvObject
50433
49773
  });
50434
49774
  var makeEnvObject = /* @__PURE__ */ __name(function(envArrayArg) {
50435
- let returnObject = {};
50436
- let regexString = /(.*)=(.*)/;
49775
+ const returnObject = {};
49776
+ const regexString = /(.*)=(.*)/;
50437
49777
  if (typeof envArrayArg !== "undefined") {
50438
- for (let envKey in envArrayArg) {
50439
- let regexMatches = regexString.exec(envArrayArg[envKey]);
50440
- returnObject[regexMatches[1]] = regexMatches[2];
49778
+ for (const envString of envArrayArg) {
49779
+ const regexMatches = regexString.exec(envString);
49780
+ if (regexMatches) {
49781
+ returnObject[regexMatches[1]] = regexMatches[2];
49782
+ }
50441
49783
  }
50442
49784
  }
50443
49785
  return returnObject;
50444
49786
  }, "makeEnvObject");
50445
49787
 
50446
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.indent.js
49788
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.indent.js
50447
49789
  var smartstring_indent_exports = {};
50448
49790
  __export(smartstring_indent_exports, {
50449
49791
  indent: () => indent,
@@ -50496,20 +49838,22 @@ var normalize = /* @__PURE__ */ __name((stringArg) => {
50496
49838
  const deIndentRegex = /^(\s*)/;
50497
49839
  const emptyLineRegex = /^(\s*)$/;
50498
49840
  for (let stringItem of splitStringArray) {
50499
- let offsetString = deIndentRegex.exec(stringItem)[1];
49841
+ const regexMatch = deIndentRegex.exec(stringItem);
49842
+ let offsetString = regexMatch ? regexMatch[1] : "";
50500
49843
  if ((typeof minCommonLeftOffset === "undefined" || offsetString.length < minCommonLeftOffset) && !emptyLineRegex.test(stringItem)) {
50501
49844
  minCommonLeftOffset = offsetString.length;
50502
49845
  }
50503
49846
  }
50504
49847
  let resultSplitStringArray = [];
49848
+ const commonLeftOffset = minCommonLeftOffset || 0;
50505
49849
  for (let stringItem of splitStringArray) {
50506
- resultSplitStringArray.push(stringItem.substr(minCommonLeftOffset));
49850
+ resultSplitStringArray.push(stringItem.substr(commonLeftOffset));
50507
49851
  }
50508
49852
  resultString = joinStringWithLineBreaks(resultSplitStringArray);
50509
49853
  return resultString;
50510
49854
  }, "normalize");
50511
49855
 
50512
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.normalize.js
49856
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.normalize.js
50513
49857
  var smartstring_normalize_exports = {};
50514
49858
  __export(smartstring_normalize_exports, {
50515
49859
  replaceAll: () => replaceAll,
@@ -50559,14 +49903,14 @@ var standard = /* @__PURE__ */ __name((stringArg, options) => {
50559
49903
  return result;
50560
49904
  }, "standard");
50561
49905
 
50562
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
49906
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
50563
49907
  var smartstring_type_exports = {};
50564
49908
  __export(smartstring_type_exports, {
50565
49909
  isBase64: () => isBase64,
50566
49910
  isUtf8: () => isUtf8
50567
49911
  });
50568
49912
 
50569
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.base64.js
49913
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.base64.js
50570
49914
  var universalBase64 = {
50571
49915
  encode: /* @__PURE__ */ __name((str) => {
50572
49916
  if (typeof Buffer !== "undefined") {
@@ -50689,7 +50033,7 @@ var base64 = {
50689
50033
  }, "isBase64")
50690
50034
  };
50691
50035
 
50692
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
50036
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
50693
50037
  var isUtf8 = /* @__PURE__ */ __name((stringArg) => {
50694
50038
  const encoder = new TextEncoder();
50695
50039
  const bytes2 = encoder.encode(stringArg);
@@ -50741,7 +50085,7 @@ var isBase64 = /* @__PURE__ */ __name((stringArg) => {
50741
50085
  return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && stringArg[len - 1] === "=";
50742
50086
  }, "isBase64");
50743
50087
 
50744
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.domain.js
50088
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.domain.js
50745
50089
  var Domain = class {
50746
50090
  static {
50747
50091
  __name(this, "Domain");
@@ -50754,21 +50098,16 @@ var Domain = class {
50754
50098
  this.nodeParsedUrl = new URL(domainStringArg);
50755
50099
  this.port = this.nodeParsedUrl.port;
50756
50100
  const regexMatches = this._domainRegex(domainStringArg.replace(this.nodeParsedUrl.pathname, ""));
50101
+ [this.level1, this.level2, this.level3, this.level4, this.level5] = regexMatches;
50757
50102
  this.fullName = "";
50758
- for (let i10 = 1; i10 <= 5; i10++) {
50759
- if (regexMatches[i10 - 1]) {
50760
- const localMatch = regexMatches[i10 - 1];
50761
- this["level" + i10.toString()] = localMatch;
50762
- if (this.fullName === "") {
50763
- this.fullName = localMatch;
50764
- } else {
50765
- this.fullName = localMatch + "." + this.fullName;
50766
- }
50103
+ for (const localMatch of regexMatches) {
50104
+ if (this.fullName === "") {
50105
+ this.fullName = localMatch;
50767
50106
  } else {
50768
- this["level" + i10.toString()] = void 0;
50107
+ this.fullName = localMatch + "." + this.fullName;
50769
50108
  }
50770
50109
  }
50771
- this.zoneName = this.level2 + "." + this.level1;
50110
+ this.zoneName = [this.level2, this.level1].filter(Boolean).join(".");
50772
50111
  this.topLevel = this.level1;
50773
50112
  this.domainName = this.level2;
50774
50113
  this.subDomain = this.level3;
@@ -50778,9 +50117,12 @@ var Domain = class {
50778
50117
  _domainRegex(stringArg) {
50779
50118
  const regexString = /([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}$/;
50780
50119
  const regexMatches = regexString.exec(stringArg);
50781
- regexMatches.reverse();
50782
- regexMatches.pop();
50783
- const regexMatchesFiltered = regexMatches.filter(function(stringArg2) {
50120
+ if (!regexMatches) {
50121
+ return [];
50122
+ }
50123
+ const reversedMatches = [...regexMatches].reverse();
50124
+ reversedMatches.pop();
50125
+ const regexMatchesFiltered = reversedMatches.filter(function(stringArg2) {
50784
50126
  return stringArg2 !== "";
50785
50127
  });
50786
50128
  return regexMatchesFiltered;
@@ -50805,13 +50147,16 @@ var Domain = class {
50805
50147
  }
50806
50148
  };
50807
50149
 
50808
- // node_modules/.pnpm/@push.rocks+smartstring@4.1.0/node_modules/@push.rocks/smartstring/dist_ts/smartstring.git.js
50150
+ // node_modules/.pnpm/@push.rocks+smartstring@4.1.1/node_modules/@push.rocks/smartstring/dist_ts/smartstring.git.js
50809
50151
  var GitRepo = class {
50810
50152
  static {
50811
50153
  __name(this, "GitRepo");
50812
50154
  }
50813
50155
  constructor(stringArg, tokenArg) {
50814
- let regexMatches = gitRegex(stringArg);
50156
+ const regexMatches = gitRegex(stringArg);
50157
+ if (!regexMatches) {
50158
+ throw new Error(`Invalid git repository URL: ${stringArg}`);
50159
+ }
50815
50160
  this.host = regexMatches[1];
50816
50161
  this.user = regexMatches[2];
50817
50162
  this.repo = regexMatches[3];
@@ -50822,44 +50167,41 @@ var GitRepo = class {
50822
50167
  };
50823
50168
  var gitRegex = /* @__PURE__ */ __name(function(stringArg) {
50824
50169
  const regexString = /([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
50825
- let regexMatches = regexString.exec(stringArg);
50170
+ const regexMatches = regexString.exec(stringArg);
50826
50171
  return regexMatches;
50827
50172
  }, "gitRegex");
50828
50173
  var gitLink = /* @__PURE__ */ __name(function(hostArg, userArg, repoArg, tokenArg = "", linkTypeArg) {
50829
- let returnString;
50830
50174
  if (tokenArg !== "") {
50831
50175
  tokenArg = tokenArg + "@";
50832
50176
  }
50833
50177
  switch (linkTypeArg) {
50834
50178
  case "https":
50835
- returnString = "https://" + tokenArg + hostArg + "/" + userArg + "/" + repoArg + ".git";
50836
- break;
50179
+ return "https://" + tokenArg + hostArg + "/" + userArg + "/" + repoArg + ".git";
50837
50180
  case "ssh":
50838
- returnString = "git@" + hostArg + ":" + userArg + "/" + repoArg + ".git";
50839
- break;
50840
- default:
50841
- console.error("Link Type " + linkTypeArg + " not known");
50842
- break;
50181
+ return "git@" + hostArg + ":" + userArg + "/" + repoArg + ".git";
50843
50182
  }
50844
- return returnString;
50845
50183
  }, "gitLink");
50846
50184
 
50847
- // node_modules/.pnpm/@push.rocks+smartjson@6.0.0/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
50848
- var import_lodash = __toESM(require_lodash(), 1);
50185
+ // node_modules/.pnpm/@push.rocks+smartjson@6.0.1/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
50849
50186
  var import_fast_json_stable_stringify = __toESM(require_fast_json_stable_stringify(), 1);
50850
50187
  var stableJson = import_fast_json_stable_stringify.default;
50851
50188
 
50852
- // node_modules/.pnpm/@push.rocks+smartjson@6.0.0/node_modules/@push.rocks/smartjson/dist_ts/bufferhandling.js
50189
+ // node_modules/.pnpm/@push.rocks+smartjson@6.0.1/node_modules/@push.rocks/smartjson/dist_ts/bufferhandling.js
50190
+ var getNodeBuffer = /* @__PURE__ */ __name(() => {
50191
+ return globalThis.Buffer;
50192
+ }, "getNodeBuffer");
50853
50193
  function base64Encode(data) {
50854
- if (typeof Buffer !== "undefined") {
50855
- return Buffer.from(data).toString("base64");
50194
+ const NodeBuffer = getNodeBuffer();
50195
+ if (NodeBuffer) {
50196
+ return NodeBuffer.from(data).toString("base64");
50856
50197
  }
50857
50198
  return btoa(String.fromCharCode(...data));
50858
50199
  }
50859
50200
  __name(base64Encode, "base64Encode");
50860
50201
  function base64Decode(str) {
50861
- if (typeof Buffer !== "undefined") {
50862
- const buf = Buffer.from(str, "base64");
50202
+ const NodeBuffer = getNodeBuffer();
50203
+ if (NodeBuffer) {
50204
+ const buf = NodeBuffer.from(str, "base64");
50863
50205
  return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
50864
50206
  }
50865
50207
  return new Uint8Array(Array.from(atob(str)).map((char) => char.charCodeAt(0)));
@@ -50922,7 +50264,7 @@ function isObject(x3) {
50922
50264
  }
50923
50265
  __name(isObject, "isObject");
50924
50266
 
50925
- // node_modules/.pnpm/@push.rocks+smartjson@6.0.0/node_modules/@push.rocks/smartjson/dist_ts/index.js
50267
+ // node_modules/.pnpm/@push.rocks+smartjson@6.0.1/node_modules/@push.rocks/smartjson/dist_ts/index.js
50926
50268
  var parse3 = parse2;
50927
50269
  var parseJsonL = /* @__PURE__ */ __name((jsonlData) => {
50928
50270
  const lines = jsonlData.split("\n");
@@ -51043,7 +50385,7 @@ var Smartjson = class _Smartjson {
51043
50385
  // ========
51044
50386
  // INSTANCE
51045
50387
  // ========
51046
- saveableProperties;
50388
+ saveableProperties = [];
51047
50389
  /**
51048
50390
  * folds a class into an object
51049
50391
  */
@@ -51065,7 +50407,7 @@ var Smartjson = class _Smartjson {
51065
50407
  if (Array.isArray(val)) {
51066
50408
  return val.map((item) => foldValue(item));
51067
50409
  }
51068
- return import_lodash.default(val);
50410
+ return structuredClone(val);
51069
50411
  }, "foldValue");
51070
50412
  const props = this.saveableProperties || [];
51071
50413
  for (const keyName of props) {
@@ -51106,417 +50448,14 @@ var deepEqualJsonLStrings = /* @__PURE__ */ __name((jsonLString1, jsonLString2)
51106
50448
  return deepEqualObjects(firstArray, secondArray);
51107
50449
  }, "deepEqualJsonLStrings");
51108
50450
 
51109
- // node_modules/.pnpm/@push.rocks+webstore@2.0.20/node_modules/@push.rocks/webstore/dist_ts/index.js
51110
- var dist_ts_exports15 = {};
51111
- __export(dist_ts_exports15, {
51112
- TypedrequestCache: () => TypedrequestCache,
51113
- WebStore: () => WebStore
51114
- });
51115
-
51116
- // node_modules/.pnpm/@push.rocks+smartenv@5.0.13/node_modules/@push.rocks/smartenv/dist_ts/index.js
50451
+ // node_modules/.pnpm/@push.rocks+webstore@2.0.22/node_modules/@push.rocks/webstore/dist_ts/index.js
51117
50452
  var dist_ts_exports13 = {};
51118
50453
  __export(dist_ts_exports13, {
51119
- Smartenv: () => Smartenv2
51120
- });
51121
-
51122
- // node_modules/.pnpm/@push.rocks+smartenv@5.0.13/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
51123
- var Smartenv2 = class {
51124
- static {
51125
- __name(this, "Smartenv");
51126
- }
51127
- constructor() {
51128
- this.loadedScripts = [];
51129
- }
51130
- async getEnvAwareModule(optionsArg) {
51131
- if (this.isNode) {
51132
- const moduleResult = await this.getSafeNodeModule(optionsArg.nodeModuleName);
51133
- return moduleResult;
51134
- } else if (this.isBrowser) {
51135
- const moduleResult = await this.getSafeWebModule(optionsArg.webUrlArg, optionsArg.getFunction);
51136
- return moduleResult;
51137
- } else {
51138
- console.error("platform for loading not supported by smartenv");
51139
- }
51140
- }
51141
- async getSafeNodeModule(moduleNameArg, runAfterFunc) {
51142
- if (!this.isNode) {
51143
- console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}. This does not throw.`);
51144
- return;
51145
- }
51146
- const returnValue = await new Function(`return import('${moduleNameArg}')`)();
51147
- if (runAfterFunc) {
51148
- await runAfterFunc(returnValue);
51149
- }
51150
- return returnValue;
51151
- }
51152
- async getSafeWebModule(urlArg, getFunctionArg) {
51153
- if (!this.isBrowser) {
51154
- console.error("You tried to load a web module in a wrong context");
51155
- return;
51156
- }
51157
- if (this.loadedScripts.includes(urlArg)) {
51158
- return getFunctionArg();
51159
- } else {
51160
- this.loadedScripts.push(urlArg);
51161
- }
51162
- const done = dist_ts_exports.defer();
51163
- if (globalThis.importScripts) {
51164
- globalThis.importScripts(urlArg);
51165
- done.resolve();
51166
- } else {
51167
- const script = document.createElement("script");
51168
- script.onload = () => {
51169
- done.resolve();
51170
- };
51171
- script.src = urlArg;
51172
- document.head.appendChild(script);
51173
- }
51174
- await done.promise;
51175
- return getFunctionArg();
51176
- }
51177
- get runtimeEnv() {
51178
- if (typeof process !== "undefined") {
51179
- return "node";
51180
- } else {
51181
- return "browser";
51182
- }
51183
- }
51184
- get isBrowser() {
51185
- return !this.isNode;
51186
- }
51187
- get userAgent() {
51188
- if (this.isBrowser) {
51189
- return navigator.userAgent;
51190
- } else {
51191
- return "undefined";
51192
- }
51193
- }
51194
- get isNode() {
51195
- return this.runtimeEnv === "node";
51196
- }
51197
- get nodeVersion() {
51198
- return process.version;
51199
- }
51200
- get isCI() {
51201
- if (this.isNode) {
51202
- if (process.env.CI) {
51203
- return true;
51204
- } else {
51205
- return false;
51206
- }
51207
- } else {
51208
- return false;
51209
- }
51210
- }
51211
- async isMacAsync() {
51212
- if (this.isNode) {
51213
- const os = await this.getSafeNodeModule("os");
51214
- return os.platform() === "darwin";
51215
- } else {
51216
- return false;
51217
- }
51218
- }
51219
- async isWindowsAsync() {
51220
- if (this.isNode) {
51221
- const os = await this.getSafeNodeModule("os");
51222
- return os.platform() === "win32";
51223
- } else {
51224
- return false;
51225
- }
51226
- }
51227
- async isLinuxAsync() {
51228
- if (this.isNode) {
51229
- const os = await this.getSafeNodeModule("os");
51230
- return os.platform() === "linux";
51231
- } else {
51232
- return false;
51233
- }
51234
- }
51235
- /**
51236
- * prints the environment to console
51237
- */
51238
- async printEnv() {
51239
- if (this.isNode) {
51240
- console.log("running on NODE");
51241
- console.log("node version is " + this.nodeVersion);
51242
- } else {
51243
- console.log("running on BROWSER");
51244
- console.log("browser is " + this.userAgent);
51245
- }
51246
- }
51247
- };
51248
-
51249
- // node_modules/.pnpm/@push.rocks+smartjson@5.2.0/node_modules/@push.rocks/smartjson/dist_ts/index.js
51250
- var dist_ts_exports14 = {};
51251
- __export(dist_ts_exports14, {
51252
- Smartjson: () => Smartjson2,
51253
- deepEqualJsonLStrings: () => deepEqualJsonLStrings2,
51254
- deepEqualObjects: () => deepEqualObjects2,
51255
- foldDec: () => foldDec2,
51256
- parse: () => parse5,
51257
- parseBase64: () => parseBase642,
51258
- parseJsonL: () => parseJsonL2,
51259
- stableOneWayStringify: () => stableOneWayStringify2,
51260
- stringify: () => stringify4,
51261
- stringifyBase64: () => stringifyBase642,
51262
- stringifyJsonL: () => stringifyJsonL2,
51263
- stringifyPretty: () => stringifyPretty2
50454
+ TypedrequestCache: () => TypedrequestCache,
50455
+ WebStore: () => WebStore
51264
50456
  });
51265
50457
 
51266
- // node_modules/.pnpm/@push.rocks+smartjson@5.2.0/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
51267
- var import_lodash2 = __toESM(require_lodash(), 1);
51268
- var import_fast_json_stable_stringify2 = __toESM(require_fast_json_stable_stringify(), 1);
51269
- var stableJson3 = import_fast_json_stable_stringify2.default;
51270
-
51271
- // node_modules/.pnpm/@push.rocks+smartjson@5.2.0/node_modules/@push.rocks/smartjson/dist_ts/bufferhandling.js
51272
- function base64Encode2(data) {
51273
- if (typeof Buffer !== "undefined") {
51274
- return Buffer.from(data).toString("base64");
51275
- }
51276
- return btoa(String.fromCharCode(...data));
51277
- }
51278
- __name(base64Encode2, "base64Encode");
51279
- function base64Decode2(str) {
51280
- if (typeof Buffer !== "undefined") {
51281
- const buf = Buffer.from(str, "base64");
51282
- return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
51283
- }
51284
- return new Uint8Array(Array.from(atob(str)).map((char) => char.charCodeAt(0)));
51285
- }
51286
- __name(base64Decode2, "base64Decode");
51287
- function stringify3(value2, space2) {
51288
- return JSON.stringify(value2, replacer2, space2);
51289
- }
51290
- __name(stringify3, "stringify");
51291
- function parse4(text8) {
51292
- return JSON.parse(text8, reviver2);
51293
- }
51294
- __name(parse4, "parse");
51295
- var replacer2 = /* @__PURE__ */ __name((key2, value2) => {
51296
- if (isBufferLike3(value2)) {
51297
- let bufferData;
51298
- if ("data" in value2 && isArray4(value2.data)) {
51299
- bufferData = new Uint8Array(value2.data);
51300
- } else if (value2 instanceof Uint8Array) {
51301
- bufferData = value2;
51302
- } else {
51303
- return value2;
51304
- }
51305
- const base64Data = "base64:" + base64Encode2(bufferData);
51306
- return {
51307
- type: "EncodedBuffer",
51308
- data: base64Data
51309
- };
51310
- }
51311
- return value2;
51312
- }, "replacer");
51313
- var reviver2 = /* @__PURE__ */ __name((key2, value2) => {
51314
- if (isEncodedBuffer2(value2)) {
51315
- if (isString2(value2.data) && value2.data.startsWith("base64:")) {
51316
- const base64Data = value2.data.slice(7);
51317
- const buffer2 = base64Decode2(base64Data);
51318
- return buffer2;
51319
- }
51320
- }
51321
- return value2;
51322
- }, "reviver");
51323
- function isEncodedBuffer2(x3) {
51324
- return isObject2(x3) && x3.type === "EncodedBuffer" && isString2(x3.data);
51325
- }
51326
- __name(isEncodedBuffer2, "isEncodedBuffer");
51327
- function isBufferLike3(x3) {
51328
- return isObject2(x3) && (x3.type === "Buffer" && (isArray4(x3.data) || isString2(x3.data))) || x3 instanceof Uint8Array;
51329
- }
51330
- __name(isBufferLike3, "isBufferLike");
51331
- function isArray4(x3) {
51332
- return Array.isArray(x3);
51333
- }
51334
- __name(isArray4, "isArray");
51335
- function isString2(x3) {
51336
- return typeof x3 === "string";
51337
- }
51338
- __name(isString2, "isString");
51339
- function isObject2(x3) {
51340
- return typeof x3 === "object" && x3 !== null;
51341
- }
51342
- __name(isObject2, "isObject");
51343
-
51344
- // node_modules/.pnpm/@push.rocks+smartjson@5.2.0/node_modules/@push.rocks/smartjson/dist_ts/index.js
51345
- var parse5 = parse4;
51346
- var parseJsonL2 = /* @__PURE__ */ __name((jsonlData) => {
51347
- const lines = jsonlData.split("\n");
51348
- const parsedData = lines.reduce((acc, line) => {
51349
- const trimmed = line.trim();
51350
- if (trimmed.length > 0) {
51351
- acc.push(parse5(trimmed));
51352
- }
51353
- return acc;
51354
- }, []);
51355
- return parsedData;
51356
- }, "parseJsonL");
51357
- var stringifyJsonL2 = /* @__PURE__ */ __name((items) => {
51358
- return items.map((item) => stringify4(item)).join("\n");
51359
- }, "stringifyJsonL");
51360
- var stableOneWayStringify2 = /* @__PURE__ */ __name((objArg, simpleOrderArray, optionsArg = {}) => {
51361
- const visited = /* @__PURE__ */ new WeakSet();
51362
- const sanitize2 = /* @__PURE__ */ __name((val) => {
51363
- if (val === null || typeof val !== "object") {
51364
- return val;
51365
- }
51366
- const replaced = replacer2("", val);
51367
- if (replaced && replaced.type === "EncodedBuffer" && typeof replaced.data === "string") {
51368
- return replaced;
51369
- }
51370
- if (visited.has(val)) {
51371
- return "__cycle__";
51372
- }
51373
- visited.add(val);
51374
- if (Array.isArray(val)) {
51375
- return val.map((item) => sanitize2(item));
51376
- }
51377
- const out = {};
51378
- for (const key2 of Object.keys(val)) {
51379
- try {
51380
- out[key2] = sanitize2(val[key2]);
51381
- } catch (e10) {
51382
- out[key2] = "__unserializable__";
51383
- }
51384
- }
51385
- return out;
51386
- }, "sanitize");
51387
- const obj = sanitize2(objArg);
51388
- const options = {
51389
- ...optionsArg,
51390
- cycles: true
51391
- };
51392
- if (simpleOrderArray && !options.cmp) {
51393
- const order2 = /* @__PURE__ */ new Map();
51394
- simpleOrderArray.forEach((key2, idx) => order2.set(key2, idx));
51395
- options.cmp = (a4, b4) => {
51396
- const aIdx = order2.has(a4.key) ? order2.get(a4.key) : Number.POSITIVE_INFINITY;
51397
- const bIdx = order2.has(b4.key) ? order2.get(b4.key) : Number.POSITIVE_INFINITY;
51398
- if (aIdx !== bIdx)
51399
- return aIdx - bIdx;
51400
- return a4.key < b4.key ? -1 : a4.key > b4.key ? 1 : 0;
51401
- };
51402
- }
51403
- return stableJson3(obj, options);
51404
- }, "stableOneWayStringify");
51405
- var stringify4 = /* @__PURE__ */ __name((objArg, simpleOrderArray, optionsArg = {}) => {
51406
- const bufferedJson = stringify3(objArg);
51407
- objArg = JSON.parse(bufferedJson);
51408
- let options = { ...optionsArg };
51409
- if (simpleOrderArray && !options.cmp) {
51410
- const order2 = /* @__PURE__ */ new Map();
51411
- simpleOrderArray.forEach((key2, idx) => order2.set(key2, idx));
51412
- options.cmp = (a4, b4) => {
51413
- const aIdx = order2.has(a4.key) ? order2.get(a4.key) : Number.POSITIVE_INFINITY;
51414
- const bIdx = order2.has(b4.key) ? order2.get(b4.key) : Number.POSITIVE_INFINITY;
51415
- if (aIdx !== bIdx)
51416
- return aIdx - bIdx;
51417
- return a4.key < b4.key ? -1 : a4.key > b4.key ? 1 : 0;
51418
- };
51419
- }
51420
- let returnJson = stableJson3(objArg, options);
51421
- return returnJson;
51422
- }, "stringify");
51423
- var stringifyPretty2 = /* @__PURE__ */ __name((objectArg) => {
51424
- const stringified = stringify4(objectArg);
51425
- const object = JSON.parse(stringified);
51426
- return JSON.stringify(object, null, 2);
51427
- }, "stringifyPretty");
51428
- var stringifyBase642 = /* @__PURE__ */ __name((...args) => {
51429
- const stringifiedResult = stringify4(...args);
51430
- return dist_ts_exports11.base64.encodeUri(stringifiedResult);
51431
- }, "stringifyBase64");
51432
- var parseBase642 = /* @__PURE__ */ __name((base64JsonStringArg) => {
51433
- const base642 = dist_ts_exports11.base64;
51434
- const decodeFn = base642.decodeUri || base642.decode;
51435
- const simpleStringified = decodeFn(base64JsonStringArg);
51436
- return parse5(simpleStringified);
51437
- }, "parseBase64");
51438
- var Smartjson2 = class _Smartjson {
51439
- static {
51440
- __name(this, "Smartjson");
51441
- }
51442
- /**
51443
- * enfolds data from an object
51444
- */
51445
- static enfoldFromObject(objectArg) {
51446
- const newInstance = new this();
51447
- const saveables = newInstance.saveableProperties || [];
51448
- for (const keyName in objectArg) {
51449
- if (saveables.indexOf(keyName) !== -1) {
51450
- newInstance[keyName] = objectArg[keyName];
51451
- }
51452
- }
51453
- return newInstance;
51454
- }
51455
- /**
51456
- * enfold from json
51457
- */
51458
- static enfoldFromJson(jsonArg) {
51459
- const objectFromJson = parse5(jsonArg);
51460
- return this.enfoldFromObject(objectFromJson);
51461
- }
51462
- /**
51463
- * folds a class into an object
51464
- */
51465
- foldToObject() {
51466
- const trackSet = /* @__PURE__ */ new Set();
51467
- trackSet.add(this);
51468
- return this.foldToObjectInternal(trackSet);
51469
- }
51470
- foldToObjectInternal(trackSet) {
51471
- const result = {};
51472
- const foldValue = /* @__PURE__ */ __name((val) => {
51473
- if (val instanceof _Smartjson) {
51474
- if (trackSet.has(val)) {
51475
- throw new Error("cycle detected");
51476
- }
51477
- trackSet.add(val);
51478
- return val.foldToObjectInternal(trackSet);
51479
- }
51480
- if (Array.isArray(val)) {
51481
- return val.map((item) => foldValue(item));
51482
- }
51483
- return import_lodash2.default(val);
51484
- }, "foldValue");
51485
- const props = this.saveableProperties || [];
51486
- for (const keyName of props) {
51487
- const value2 = this[keyName];
51488
- result[keyName] = foldValue(value2);
51489
- }
51490
- return result;
51491
- }
51492
- /**
51493
- * folds a class into an object
51494
- */
51495
- foldToJson() {
51496
- const foldedObject = this.foldToObject();
51497
- return stringify4(foldedObject);
51498
- }
51499
- };
51500
- var foldDec2 = /* @__PURE__ */ __name(() => {
51501
- return (target, key2) => {
51502
- if (!target.saveableProperties) {
51503
- target.saveableProperties = [];
51504
- }
51505
- target.saveableProperties.push(key2);
51506
- };
51507
- }, "foldDec");
51508
- var deepEqualObjects2 = /* @__PURE__ */ __name((object1, object2) => {
51509
- const object1String = stringify4(object1);
51510
- const object2String = stringify4(object2);
51511
- return object1String === object2String;
51512
- }, "deepEqualObjects");
51513
- var deepEqualJsonLStrings2 = /* @__PURE__ */ __name((jsonLString1, jsonLString2) => {
51514
- const firstArray = parseJsonL2(jsonLString1);
51515
- const secondArray = parseJsonL2(jsonLString2);
51516
- return deepEqualObjects2(firstArray, secondArray);
51517
- }, "deepEqualJsonLStrings");
51518
-
51519
- // node_modules/.pnpm/@tempfix+idb@8.0.3/node_modules/@tempfix/idb/build/index.js
50458
+ // node_modules/.pnpm/idb@8.0.3/node_modules/idb/build/index.js
51520
50459
  var build_exports = {};
51521
50460
  __export(build_exports, {
51522
50461
  deleteDB: () => deleteDB,
@@ -51782,7 +50721,7 @@ replaceTraps((oldTraps) => ({
51782
50721
  }
51783
50722
  }));
51784
50723
 
51785
- // node_modules/.pnpm/@push.rocks+webstore@2.0.20/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.webstore.js
50724
+ // node_modules/.pnpm/@push.rocks+webstore@2.0.22/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.webstore.js
51786
50725
  var WebStore = class {
51787
50726
  static {
51788
50727
  __name(this, "WebStore");
@@ -51798,7 +50737,7 @@ var WebStore = class {
51798
50737
  return;
51799
50738
  }
51800
50739
  this.initCalled = true;
51801
- const smartenv = new dist_ts_exports13.Smartenv();
50740
+ const smartenv = new dist_ts_exports10.Smartenv();
51802
50741
  if (!smartenv.isBrowser && !globalThis.indexedDB) {
51803
50742
  console.log("hey");
51804
50743
  console.log(globalThis.indexedDB);
@@ -51843,7 +50782,7 @@ var WebStore = class {
51843
50782
  }
51844
50783
  };
51845
50784
 
51846
- // node_modules/.pnpm/@push.rocks+webstore@2.0.20/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.typedrequestcache.js
50785
+ // node_modules/.pnpm/@push.rocks+webstore@2.0.22/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.typedrequestcache.js
51847
50786
  var TypedrequestCache = class {
51848
50787
  static {
51849
50788
  __name(this, "TypedrequestCache");
@@ -51855,7 +50794,7 @@ var TypedrequestCache = class {
51855
50794
  });
51856
50795
  }
51857
50796
  buildKey(requestArg) {
51858
- return dist_ts_exports14.stringify({
50797
+ return dist_ts_exports12.stringify({
51859
50798
  method: requestArg.method,
51860
50799
  request: requestArg.request
51861
50800
  });
@@ -51886,7 +50825,7 @@ var CacheStore = class {
51886
50825
  __name(this, "CacheStore");
51887
50826
  }
51888
50827
  constructor(dbName = "webrequest-v4", storeName = "cache") {
51889
- this.webstore = new dist_ts_exports15.WebStore({
50828
+ this.webstore = new dist_ts_exports13.WebStore({
51890
50829
  dbName,
51891
50830
  storeName
51892
50831
  });
@@ -52964,21 +51903,23 @@ webrequest.getDefaultClient = function() {
52964
51903
  return defaultClient;
52965
51904
  };
52966
51905
 
52967
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/plugins.js
51906
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/plugins.js
52968
51907
  var isounique2 = __toESM(require_dist_ts(), 1);
52969
51908
 
52970
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedresponseerror.js
52971
- var TypedResponseError = class {
51909
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedresponseerror.js
51910
+ var TypedResponseError = class extends Error {
52972
51911
  static {
52973
51912
  __name(this, "TypedResponseError");
52974
51913
  }
52975
51914
  constructor(errorTextArg, errorDataArg) {
51915
+ super(errorTextArg);
51916
+ this.name = "TypedResponseError";
52976
51917
  this.errorText = errorTextArg;
52977
- this.errorData = errorDataArg;
51918
+ this.errorData = errorDataArg ?? {};
52978
51919
  }
52979
51920
  };
52980
51921
 
52981
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedtools.js
51922
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedtools.js
52982
51923
  var TypedTools = class {
52983
51924
  static {
52984
51925
  __name(this, "TypedTools");
@@ -52996,11 +51937,14 @@ var TypedTools = class {
52996
51937
  }
52997
51938
  };
52998
51939
 
52999
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedhandler.js
53000
- var TypedHandler = class {
51940
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedhandler.js
51941
+ var TypedHandler = class _TypedHandler {
53001
51942
  static {
53002
51943
  __name(this, "TypedHandler");
53003
51944
  }
51945
+ static {
51946
+ this.internalErrorMessage = "Internal server error";
51947
+ }
53004
51948
  constructor(methodArg, handlerFunctionArg) {
53005
51949
  this.method = methodArg;
53006
51950
  this.handlerFunction = handlerFunctionArg;
@@ -53022,7 +51966,8 @@ var TypedHandler = class {
53022
51966
  if (e10 instanceof TypedResponseError) {
53023
51967
  typedResponseError = e10;
53024
51968
  } else {
53025
- console.log(e10);
51969
+ console.error(`TypedRequest handler '${this.method}' failed:`, e10);
51970
+ typedResponseError = new TypedResponseError(_TypedHandler.internalErrorMessage);
53026
51971
  }
53027
51972
  });
53028
51973
  if (typedResponseError) {
@@ -53039,7 +51984,7 @@ var TypedHandler = class {
53039
51984
  }
53040
51985
  };
53041
51986
 
53042
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedrouter.js
51987
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedrouter.js
53043
51988
  var TypedRouter = class _TypedRouter {
53044
51989
  static {
53045
51990
  __name(this, "TypedRouter");
@@ -53052,6 +51997,9 @@ var TypedRouter = class _TypedRouter {
53052
51997
  this.middlewares = [];
53053
51998
  this.fireEventInterestMap = new dist_ts_exports6.InterestMap((correlationId) => correlationId);
53054
51999
  }
52000
+ static {
52001
+ this.internalErrorMessage = "Internal server error";
52002
+ }
53055
52003
  // Use globalThis for cross-bundle hook sharing
53056
52004
  static get globalHooks() {
53057
52005
  if (!globalThis.__typedRouterGlobalHooks) {
@@ -53093,6 +52041,14 @@ var TypedRouter = class _TypedRouter {
53093
52041
  console.error(`TypedRouter hook error (${hookName}):`, err);
53094
52042
  }
53095
52043
  }
52044
+ setErrorFromCaughtError(typedRequestArg, errorArg, contextArg) {
52045
+ if (errorArg instanceof TypedResponseError) {
52046
+ typedRequestArg.error = { text: errorArg.errorText, data: errorArg.errorData ?? {} };
52047
+ return;
52048
+ }
52049
+ console.error(`TypedRequest ${contextArg} failed:`, errorArg);
52050
+ typedRequestArg.error = { text: _TypedRouter.internalErrorMessage, data: {} };
52051
+ }
53096
52052
  /**
53097
52053
  * Adds a middleware function that runs before the handler on this router.
53098
52054
  * Throw TypedResponseError to reject the request.
@@ -53209,7 +52165,7 @@ var TypedRouter = class _TypedRouter {
53209
52165
  data: {}
53210
52166
  };
53211
52167
  typedRequestArg.correlation.phase = "response";
53212
- typedRequestArg.localData = null;
52168
+ typedRequestArg.localData = void 0;
53213
52169
  typedRequestArg = VirtualStream.encodePayloadForNetwork(typedRequestArg, {
53214
52170
  typedrouter: this
53215
52171
  });
@@ -53234,13 +52190,9 @@ var TypedRouter = class _TypedRouter {
53234
52190
  await mw(typedRequestArg);
53235
52191
  }
53236
52192
  } catch (e10) {
53237
- if (e10 instanceof TypedResponseError) {
53238
- typedRequestArg.error = { text: e10.errorText, data: e10.errorData || {} };
53239
- } else {
53240
- typedRequestArg.error = { text: e10.message || "Middleware error", data: {} };
53241
- }
52193
+ this.setErrorFromCaughtError(typedRequestArg, e10, `middleware for method '${typedRequestArg.method}'`);
53242
52194
  typedRequestArg.correlation.phase = "response";
53243
- typedRequestArg.localData = null;
52195
+ typedRequestArg.localData = void 0;
53244
52196
  typedRequestArg = VirtualStream.encodePayloadForNetwork(typedRequestArg, {
53245
52197
  typedrouter: this
53246
52198
  });
@@ -53260,7 +52212,7 @@ var TypedRouter = class _TypedRouter {
53260
52212
  }
53261
52213
  }
53262
52214
  typedRequestArg = await typedHandler.addResponse(typedRequestArg);
53263
- typedRequestArg.localData = null;
52215
+ typedRequestArg.localData = void 0;
53264
52216
  typedRequestArg = VirtualStream.encodePayloadForNetwork(typedRequestArg, {
53265
52217
  typedrouter: this
53266
52218
  });
@@ -53317,7 +52269,7 @@ var TypedRouter = class _TypedRouter {
53317
52269
  }
53318
52270
  };
53319
52271
 
53320
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.virtualstream.js
52272
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.virtualstream.js
53321
52273
  var closingBit = "#############CLOSING BIT#############";
53322
52274
  var VirtualStream = class _VirtualStream {
53323
52275
  static {
@@ -53341,7 +52293,7 @@ var VirtualStream = class _VirtualStream {
53341
52293
  objectPayload.typedrouter = commFunctions.typedrouter;
53342
52294
  commFunctions.typedrouter.registeredVirtualStreams.add(objectPayload);
53343
52295
  }
53344
- if (!originalPayload.response || path2.includes("response")) {
52296
+ if (!originalPayload?.response || path2.includes("response")) {
53345
52297
  objectPayload.startKeepAliveLoop();
53346
52298
  return {
53347
52299
  _isVirtualStream: true,
@@ -53412,8 +52364,10 @@ var VirtualStream = class _VirtualStream {
53412
52364
  constructor() {
53413
52365
  this.streamId = isounique2.uni();
53414
52366
  this.keepAlive = true;
52367
+ this.lastKeepAliveEvent = Date.now();
53415
52368
  this.sendBackpressuredArray = new dist_ts_exports6.BackpressuredArray(16);
53416
52369
  this.receiveBackpressuredArray = new dist_ts_exports6.BackpressuredArray(16);
52370
+ this.workingDeferred = null;
53417
52371
  }
53418
52372
  /**
53419
52373
  * Reconstitute binary data that was lost through JSON serialization.
@@ -53425,6 +52379,14 @@ var VirtualStream = class _VirtualStream {
53425
52379
  return data;
53426
52380
  }
53427
52381
  if (typeof data === "object") {
52382
+ if (data.type === "EncodedBuffer" && typeof data.data === "string" && data.data.startsWith("base64:")) {
52383
+ const base64Data = data.data.slice("base64:".length);
52384
+ if (typeof Buffer !== "undefined") {
52385
+ const buffer2 = Buffer.from(base64Data, "base64");
52386
+ return new Uint8Array(buffer2.buffer, buffer2.byteOffset, buffer2.byteLength);
52387
+ }
52388
+ return new Uint8Array(Array.from(atob(base64Data)).map((char) => char.charCodeAt(0)));
52389
+ }
53428
52390
  if (data.type === "Buffer" && Array.isArray(data.data)) {
53429
52391
  return new Uint8Array(data.data);
53430
52392
  }
@@ -53455,6 +52417,9 @@ var VirtualStream = class _VirtualStream {
53455
52417
  let otherSideHasNext = false;
53456
52418
  let otherSideIsBackpressured = false;
53457
52419
  const getFeedback = /* @__PURE__ */ __name(async () => {
52420
+ if (!this.sendMethod) {
52421
+ throw new Error("VirtualStream is missing a send method");
52422
+ }
53458
52423
  const streamTr = await this.sendMethod({
53459
52424
  method: "##VirtualStream##",
53460
52425
  request: {
@@ -53471,8 +52436,8 @@ var VirtualStream = class _VirtualStream {
53471
52436
  this.keepAlive = false;
53472
52437
  });
53473
52438
  if (streamTr && streamTr.response) {
53474
- otherSideIsBackpressured = streamTr.response.backpressure;
53475
- otherSideHasNext = streamTr.response.next;
52439
+ otherSideIsBackpressured = Boolean(streamTr.response.backpressure);
52440
+ otherSideHasNext = Boolean(streamTr.response.next);
53476
52441
  }
53477
52442
  }, "getFeedback");
53478
52443
  await getFeedback();
@@ -53489,6 +52454,9 @@ var VirtualStream = class _VirtualStream {
53489
52454
  dataArg = this.sendBackpressuredArray.shift();
53490
52455
  }
53491
52456
  let streamTr;
52457
+ if (!this.sendMethod) {
52458
+ throw new Error("VirtualStream is missing a send method");
52459
+ }
53492
52460
  streamTr = await this.sendMethod({
53493
52461
  method: "##VirtualStream##",
53494
52462
  request: {
@@ -53509,12 +52477,12 @@ var VirtualStream = class _VirtualStream {
53509
52477
  if (streamTr && streamTr.response && streamTr.response.chunkData) {
53510
52478
  this.receiveBackpressuredArray.push(_VirtualStream.reconstituteBinaryData(streamTr.response.chunkData));
53511
52479
  }
53512
- otherSideIsBackpressured = streamTr && streamTr.response && streamTr.response.backpressure;
52480
+ otherSideIsBackpressured = Boolean(streamTr?.response?.backpressure);
53513
52481
  thisSideIsBackpressured = !this.receiveBackpressuredArray.checkSpaceAvailable();
53514
- otherSideHasNext = streamTr && streamTr.response && streamTr.response.next;
52482
+ otherSideHasNext = Boolean(streamTr?.response?.next);
53515
52483
  }
53516
52484
  }
53517
- this.workingDeferred.resolve();
52485
+ this.workingDeferred?.resolve();
53518
52486
  this.workingDeferred = null;
53519
52487
  }
53520
52488
  /**
@@ -53551,8 +52519,7 @@ var VirtualStream = class _VirtualStream {
53551
52519
  }
53552
52520
  if (streamTrArg.request.mainPurpose === "chunk") {
53553
52521
  this.receiveBackpressuredArray.push(_VirtualStream.reconstituteBinaryData(streamTrArg.request.chunkData));
53554
- if (this.sendBackpressuredArray.data.length > 0 && streamTrArg.response.backpressure === false) {
53555
- const dataArg = this.sendBackpressuredArray.shift();
52522
+ if (this.sendBackpressuredArray.data.length > 0 && streamTrArg.response?.backpressure === false) {
53556
52523
  streamTrArg.response = {
53557
52524
  streamId: this.streamId,
53558
52525
  cycleId: streamTrArg.request.cycleId,
@@ -53607,6 +52574,9 @@ var VirtualStream = class _VirtualStream {
53607
52574
  async triggerKeepAlive() {
53608
52575
  if (this.side === "requesting") {
53609
52576
  console.log(`keepalive sent.`);
52577
+ if (!this.sendMethod) {
52578
+ throw new Error("VirtualStream is missing a send method");
52579
+ }
53610
52580
  const streamTr = await this.sendMethod({
53611
52581
  method: "##VirtualStream##",
53612
52582
  request: {
@@ -53690,12 +52660,13 @@ var VirtualStream = class _VirtualStream {
53690
52660
  }
53691
52661
  };
53692
52662
 
53693
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedtarget.js
52663
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedtarget.js
53694
52664
  var TypedTarget = class {
53695
52665
  static {
53696
52666
  __name(this, "TypedTarget");
53697
52667
  }
53698
52668
  constructor(optionsArg) {
52669
+ this.isAsync = false;
53699
52670
  if (optionsArg.postMethodWithTypedRouter && !optionsArg.typedRouterRef) {
53700
52671
  throw new Error("you have to specify a typedrouter when using postmethod with typedrouter");
53701
52672
  }
@@ -53707,6 +52678,9 @@ var TypedTarget = class {
53707
52678
  responseInterest = await this.options.typedRouterRef.fireEventInterestMap.addInterest(payloadArg.correlation.id, payloadArg);
53708
52679
  }
53709
52680
  const postMethod = this.options.postMethod || this.options.postMethodWithTypedRouter;
52681
+ if (!postMethod) {
52682
+ throw new Error("TypedTarget requires a post method");
52683
+ }
53710
52684
  const postMethodReturnValue = await postMethod(payloadArg);
53711
52685
  let responseBody;
53712
52686
  if (responseInterest) {
@@ -53720,8 +52694,8 @@ var TypedTarget = class {
53720
52694
  }
53721
52695
  };
53722
52696
 
53723
- // node_modules/.pnpm/@api.global+typedrequest@3.3.0/node_modules/@api.global/typedrequest/dist_ts/classes.typedrequest.js
53724
- var webrequestInstance = new dist_ts_exports16.WebrequestClient();
52697
+ // node_modules/.pnpm/@api.global+typedrequest@3.3.2/node_modules/@api.global/typedrequest/dist_ts/classes.typedrequest.js
52698
+ var webrequestInstance = new dist_ts_exports14.WebrequestClient();
53725
52699
  function callGlobalHook(hookName, entry) {
53726
52700
  try {
53727
52701
  TypedRouter.globalHooks[hookName]?.(entry);
@@ -53810,7 +52784,8 @@ var TypedRequest = class {
53810
52784
  if (!payloadReceiving.retry) {
53811
52785
  throw new TypedResponseError(payloadReceiving.error.text, payloadReceiving.error.data);
53812
52786
  }
53813
- return null;
52787
+ await dist_ts_exports3.delayFor(payloadReceiving.retry.waitForMs);
52788
+ return await this.postTrObject(payloadSendingArg, useCacheArg);
53814
52789
  }
53815
52790
  if (payloadReceiving.retry) {
53816
52791
  console.log(`server requested retry for the following reason: ${payloadReceiving.retry.reason}`);
@@ -54727,8 +53702,8 @@ var DeesComms = class {
54727
53702
  // receiving messages
54728
53703
  constructor() {
54729
53704
  this.broadcastChannel = new BroadcastChannel4("dees-comms");
54730
- this.typedrouter = new dist_ts_exports17.TypedRouter();
54731
- this.typedtarget = new dist_ts_exports17.TypedTarget({
53705
+ this.typedrouter = new dist_ts_exports15.TypedRouter();
53706
+ this.typedtarget = new dist_ts_exports15.TypedTarget({
54732
53707
  postMethodWithTypedRouter: /* @__PURE__ */ __name(async (messageArg) => {
54733
53708
  this.postMessage(messageArg);
54734
53709
  }, "postMethodWithTypedRouter"),
@@ -54748,7 +53723,7 @@ var DeesComms = class {
54748
53723
  * creates a typedrequest with this classes postMessage as postMethod
54749
53724
  */
54750
53725
  createTypedRequest(methodName) {
54751
- const typedrequest = new dist_ts_exports17.TypedRequest(this.typedtarget, methodName);
53726
+ const typedrequest = new dist_ts_exports15.TypedRequest(this.typedtarget, methodName);
54752
53727
  return typedrequest;
54753
53728
  }
54754
53729
  /**
@@ -54761,13 +53736,13 @@ var DeesComms = class {
54761
53736
  * subscribe to messages
54762
53737
  */
54763
53738
  async createTypedHandler(methodArg, handlerFunction) {
54764
- this.typedrouter.addTypedHandler(new dist_ts_exports17.TypedHandler(methodArg, handlerFunction));
53739
+ this.typedrouter.addTypedHandler(new dist_ts_exports15.TypedHandler(methodArg, handlerFunction));
54765
53740
  }
54766
53741
  };
54767
53742
 
54768
53743
  // node_modules/.pnpm/@push.rocks+smartmarkdown@3.0.3/node_modules/@push.rocks/smartmarkdown/dist_ts/index.js
54769
- var dist_ts_exports19 = {};
54770
- __export(dist_ts_exports19, {
53744
+ var dist_ts_exports17 = {};
53745
+ __export(dist_ts_exports17, {
54771
53746
  SmartMarkdown: () => SmartMarkdown
54772
53747
  });
54773
53748
 
@@ -65971,7 +64946,7 @@ function serializeChunks(chunks, expandTabs) {
65971
64946
  __name(serializeChunks, "serializeChunks");
65972
64947
 
65973
64948
  // node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
65974
- function parse6(options) {
64949
+ function parse4(options) {
65975
64950
  const settings = options || {};
65976
64951
  const constructs2 = (
65977
64952
  /** @type {FullNormalizedExtension} */
@@ -65997,7 +64972,7 @@ function parse6(options) {
65997
64972
  }
65998
64973
  __name(create7, "create");
65999
64974
  }
66000
- __name(parse6, "parse");
64975
+ __name(parse4, "parse");
66001
64976
 
66002
64977
  // node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
66003
64978
  function postprocess(events) {
@@ -66094,7 +65069,7 @@ function micromark(value2, encoding, options) {
66094
65069
  options = encoding;
66095
65070
  encoding = void 0;
66096
65071
  }
66097
- return compile(options)(postprocess(parse6(options).document().write(preprocess()(value2, encoding, true))));
65072
+ return compile(options)(postprocess(parse4(options).document().write(preprocess()(value2, encoding, true))));
66098
65073
  }
66099
65074
  __name(micromark, "micromark");
66100
65075
 
@@ -66105,7 +65080,7 @@ function fromMarkdown(value2, encoding, options) {
66105
65080
  options = encoding;
66106
65081
  encoding = void 0;
66107
65082
  }
66108
- return compiler(options)(postprocess(parse6(options).document().write(preprocess()(value2, encoding, true))));
65083
+ return compiler(options)(postprocess(parse4(options).document().write(preprocess()(value2, encoding, true))));
66109
65084
  }
66110
65085
  __name(fromMarkdown, "fromMarkdown");
66111
65086
  function compiler(options) {
@@ -70618,7 +69593,7 @@ function doctype2(_1, _22, _3, state) {
70618
69593
  __name(doctype2, "doctype");
70619
69594
 
70620
69595
  // node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
70621
- function parse7(value2) {
69596
+ function parse5(value2) {
70622
69597
  const tokens = [];
70623
69598
  const input = String(value2 || "");
70624
69599
  let index2 = input.indexOf(",");
@@ -70638,26 +69613,26 @@ function parse7(value2) {
70638
69613
  }
70639
69614
  return tokens;
70640
69615
  }
70641
- __name(parse7, "parse");
70642
- function stringify5(values, options) {
69616
+ __name(parse5, "parse");
69617
+ function stringify3(values, options) {
70643
69618
  const settings = options || {};
70644
69619
  const input = values[values.length - 1] === "" ? [...values, ""] : values;
70645
69620
  return input.join(
70646
69621
  (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
70647
69622
  ).trim();
70648
69623
  }
70649
- __name(stringify5, "stringify");
69624
+ __name(stringify3, "stringify");
70650
69625
 
70651
69626
  // node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js
70652
- function parse8(value2) {
69627
+ function parse6(value2) {
70653
69628
  const input = String(value2 || "").trim();
70654
69629
  return input ? input.split(/[ \t\n\r\f]+/g) : [];
70655
69630
  }
70656
- __name(parse8, "parse");
70657
- function stringify6(values) {
69631
+ __name(parse6, "parse");
69632
+ function stringify4(values) {
70658
69633
  return values.join(" ").trim();
70659
69634
  }
70660
- __name(stringify6, "stringify");
69635
+ __name(stringify4, "stringify");
70661
69636
 
70662
69637
  // node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js
70663
69638
  var re = /[ \t\n\f\r]/g;
@@ -70954,7 +69929,7 @@ function serializeAttribute(state, key2, value2) {
70954
69929
  })
70955
69930
  );
70956
69931
  if (value2 === true) return name;
70957
- value2 = Array.isArray(value2) ? (info.commaSeparated ? stringify5 : stringify6)(value2, {
69932
+ value2 = Array.isArray(value2) ? (info.commaSeparated ? stringify3 : stringify4)(value2, {
70958
69933
  padLeft: !state.settings.tightCommaSeparatedLists
70959
69934
  }) : String(value2);
70960
69935
  if (state.settings.collapseEmptyAttributes && !value2) return name;
@@ -72093,8 +71068,8 @@ var SmartMarkdown = class _SmartMarkdown {
72093
71068
  };
72094
71069
 
72095
71070
  // node_modules/.pnpm/@push.rocks+smartrouter@1.3.3/node_modules/@push.rocks/smartrouter/dist_ts/index.js
72096
- var dist_ts_exports20 = {};
72097
- __export(dist_ts_exports20, {
71071
+ var dist_ts_exports18 = {};
71072
+ __export(dist_ts_exports18, {
72098
71073
  SmartRouter: () => SmartRouter
72099
71074
  });
72100
71075
 
@@ -72221,8 +71196,8 @@ var SmartRouter = class _SmartRouter {
72221
71196
  };
72222
71197
 
72223
71198
  // node_modules/.pnpm/@push.rocks+smartstate@2.3.0/node_modules/@push.rocks/smartstate/dist_ts/index.js
72224
- var dist_ts_exports22 = {};
72225
- __export(dist_ts_exports22, {
71199
+ var dist_ts_exports19 = {};
71200
+ __export(dist_ts_exports19, {
72226
71201
  Smartstate: () => Smartstate,
72227
71202
  StateAction: () => StateAction,
72228
71203
  StatePart: () => StatePart,
@@ -72231,7 +71206,7 @@ __export(dist_ts_exports22, {
72231
71206
  computed: () => computed
72232
71207
  });
72233
71208
 
72234
- // node_modules/.pnpm/@push.rocks+smarthash@3.2.6/node_modules/@push.rocks/smarthash/dist_ts_web/index.js
71209
+ // node_modules/.pnpm/@push.rocks+smarthash@3.2.7/node_modules/@push.rocks/smarthash/dist_ts_web/index.js
72235
71210
  var dist_ts_web_exports = {};
72236
71211
  __export(dist_ts_web_exports, {
72237
71212
  md5FromString: () => md5FromString,
@@ -72243,7 +71218,7 @@ __export(dist_ts_web_exports, {
72243
71218
  sha265FromObject: () => sha265FromObject
72244
71219
  });
72245
71220
 
72246
- // node_modules/.pnpm/@push.rocks+smarthash@3.2.6/node_modules/@push.rocks/smarthash/dist_ts_web/sha256.fallback.js
71221
+ // node_modules/.pnpm/@push.rocks+smarthash@3.2.7/node_modules/@push.rocks/smarthash/dist_ts_web/sha256.fallback.js
72247
71222
  var K = [
72248
71223
  1116352408,
72249
71224
  1899447441,
@@ -72390,7 +71365,7 @@ function sha256Fallback(bytes2) {
72390
71365
  }
72391
71366
  __name(sha256Fallback, "sha256Fallback");
72392
71367
 
72393
- // node_modules/.pnpm/@push.rocks+smarthash@3.2.6/node_modules/@push.rocks/smarthash/dist_ts_web/index.js
71368
+ // node_modules/.pnpm/@push.rocks+smarthash@3.2.7/node_modules/@push.rocks/smarthash/dist_ts_web/index.js
72394
71369
  var hex = /* @__PURE__ */ __name((buffer2) => {
72395
71370
  const hexCodes = [];
72396
71371
  const view2 = new DataView(buffer2);
@@ -72438,7 +71413,7 @@ var sha256FromBuffer = /* @__PURE__ */ __name(async (bufferArg) => {
72438
71413
  }
72439
71414
  }, "sha256FromBuffer");
72440
71415
  var sha265FromObject = /* @__PURE__ */ __name(async (objectArg) => {
72441
- const stringifiedObject = dist_ts_exports14.stringify(objectArg);
71416
+ const stringifiedObject = dist_ts_exports12.stringify(objectArg);
72442
71417
  const hashResult = await sha256FromString(stringifiedObject);
72443
71418
  return hashResult;
72444
71419
  }, "sha265FromObject");
@@ -72452,377 +71427,6 @@ var md5FromString = /* @__PURE__ */ __name(async (stringToHash) => {
72452
71427
  throw new Error("md5FromString is not supported in browser environment. Web Crypto API does not support MD5.");
72453
71428
  }, "md5FromString");
72454
71429
 
72455
- // node_modules/.pnpm/@push.rocks+webstore@2.0.21/node_modules/@push.rocks/webstore/dist_ts/index.js
72456
- var dist_ts_exports21 = {};
72457
- __export(dist_ts_exports21, {
72458
- TypedrequestCache: () => TypedrequestCache2,
72459
- WebStore: () => WebStore2
72460
- });
72461
-
72462
- // node_modules/.pnpm/idb@8.0.3/node_modules/idb/build/index.js
72463
- var build_exports2 = {};
72464
- __export(build_exports2, {
72465
- deleteDB: () => deleteDB2,
72466
- openDB: () => openDB2,
72467
- unwrap: () => unwrap2,
72468
- wrap: () => wrap4
72469
- });
72470
- var instanceOfAny2 = /* @__PURE__ */ __name((object, constructors) => constructors.some((c10) => object instanceof c10), "instanceOfAny");
72471
- var idbProxyableTypes2;
72472
- var cursorAdvanceMethods2;
72473
- function getIdbProxyableTypes2() {
72474
- return idbProxyableTypes2 || (idbProxyableTypes2 = [
72475
- IDBDatabase,
72476
- IDBObjectStore,
72477
- IDBIndex,
72478
- IDBCursor,
72479
- IDBTransaction
72480
- ]);
72481
- }
72482
- __name(getIdbProxyableTypes2, "getIdbProxyableTypes");
72483
- function getCursorAdvanceMethods2() {
72484
- return cursorAdvanceMethods2 || (cursorAdvanceMethods2 = [
72485
- IDBCursor.prototype.advance,
72486
- IDBCursor.prototype.continue,
72487
- IDBCursor.prototype.continuePrimaryKey
72488
- ]);
72489
- }
72490
- __name(getCursorAdvanceMethods2, "getCursorAdvanceMethods");
72491
- var transactionDoneMap2 = /* @__PURE__ */ new WeakMap();
72492
- var transformCache2 = /* @__PURE__ */ new WeakMap();
72493
- var reverseTransformCache2 = /* @__PURE__ */ new WeakMap();
72494
- function promisifyRequest2(request) {
72495
- const promise = new Promise((resolve2, reject) => {
72496
- const unlisten = /* @__PURE__ */ __name(() => {
72497
- request.removeEventListener("success", success);
72498
- request.removeEventListener("error", error);
72499
- }, "unlisten");
72500
- const success = /* @__PURE__ */ __name(() => {
72501
- resolve2(wrap4(request.result));
72502
- unlisten();
72503
- }, "success");
72504
- const error = /* @__PURE__ */ __name(() => {
72505
- reject(request.error);
72506
- unlisten();
72507
- }, "error");
72508
- request.addEventListener("success", success);
72509
- request.addEventListener("error", error);
72510
- });
72511
- reverseTransformCache2.set(promise, request);
72512
- return promise;
72513
- }
72514
- __name(promisifyRequest2, "promisifyRequest");
72515
- function cacheDonePromiseForTransaction2(tx) {
72516
- if (transactionDoneMap2.has(tx))
72517
- return;
72518
- const done = new Promise((resolve2, reject) => {
72519
- const unlisten = /* @__PURE__ */ __name(() => {
72520
- tx.removeEventListener("complete", complete);
72521
- tx.removeEventListener("error", error);
72522
- tx.removeEventListener("abort", error);
72523
- }, "unlisten");
72524
- const complete = /* @__PURE__ */ __name(() => {
72525
- resolve2();
72526
- unlisten();
72527
- }, "complete");
72528
- const error = /* @__PURE__ */ __name(() => {
72529
- reject(tx.error || new DOMException("AbortError", "AbortError"));
72530
- unlisten();
72531
- }, "error");
72532
- tx.addEventListener("complete", complete);
72533
- tx.addEventListener("error", error);
72534
- tx.addEventListener("abort", error);
72535
- });
72536
- transactionDoneMap2.set(tx, done);
72537
- }
72538
- __name(cacheDonePromiseForTransaction2, "cacheDonePromiseForTransaction");
72539
- var idbProxyTraps2 = {
72540
- get(target, prop, receiver) {
72541
- if (target instanceof IDBTransaction) {
72542
- if (prop === "done")
72543
- return transactionDoneMap2.get(target);
72544
- if (prop === "store") {
72545
- return receiver.objectStoreNames[1] ? void 0 : receiver.objectStore(receiver.objectStoreNames[0]);
72546
- }
72547
- }
72548
- return wrap4(target[prop]);
72549
- },
72550
- set(target, prop, value2) {
72551
- target[prop] = value2;
72552
- return true;
72553
- },
72554
- has(target, prop) {
72555
- if (target instanceof IDBTransaction && (prop === "done" || prop === "store")) {
72556
- return true;
72557
- }
72558
- return prop in target;
72559
- }
72560
- };
72561
- function replaceTraps2(callback) {
72562
- idbProxyTraps2 = callback(idbProxyTraps2);
72563
- }
72564
- __name(replaceTraps2, "replaceTraps");
72565
- function wrapFunction2(func) {
72566
- if (getCursorAdvanceMethods2().includes(func)) {
72567
- return function(...args) {
72568
- func.apply(unwrap2(this), args);
72569
- return wrap4(this.request);
72570
- };
72571
- }
72572
- return function(...args) {
72573
- return wrap4(func.apply(unwrap2(this), args));
72574
- };
72575
- }
72576
- __name(wrapFunction2, "wrapFunction");
72577
- function transformCachableValue2(value2) {
72578
- if (typeof value2 === "function")
72579
- return wrapFunction2(value2);
72580
- if (value2 instanceof IDBTransaction)
72581
- cacheDonePromiseForTransaction2(value2);
72582
- if (instanceOfAny2(value2, getIdbProxyableTypes2()))
72583
- return new Proxy(value2, idbProxyTraps2);
72584
- return value2;
72585
- }
72586
- __name(transformCachableValue2, "transformCachableValue");
72587
- function wrap4(value2) {
72588
- if (value2 instanceof IDBRequest)
72589
- return promisifyRequest2(value2);
72590
- if (transformCache2.has(value2))
72591
- return transformCache2.get(value2);
72592
- const newValue = transformCachableValue2(value2);
72593
- if (newValue !== value2) {
72594
- transformCache2.set(value2, newValue);
72595
- reverseTransformCache2.set(newValue, value2);
72596
- }
72597
- return newValue;
72598
- }
72599
- __name(wrap4, "wrap");
72600
- var unwrap2 = /* @__PURE__ */ __name((value2) => reverseTransformCache2.get(value2), "unwrap");
72601
- function openDB2(name, version2, { blocked, upgrade, blocking, terminated } = {}) {
72602
- const request = indexedDB.open(name, version2);
72603
- const openPromise = wrap4(request);
72604
- if (upgrade) {
72605
- request.addEventListener("upgradeneeded", (event) => {
72606
- upgrade(wrap4(request.result), event.oldVersion, event.newVersion, wrap4(request.transaction), event);
72607
- });
72608
- }
72609
- if (blocked) {
72610
- request.addEventListener("blocked", (event) => blocked(
72611
- // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
72612
- event.oldVersion,
72613
- event.newVersion,
72614
- event
72615
- ));
72616
- }
72617
- openPromise.then((db) => {
72618
- if (terminated)
72619
- db.addEventListener("close", () => terminated());
72620
- if (blocking) {
72621
- db.addEventListener("versionchange", (event) => blocking(event.oldVersion, event.newVersion, event));
72622
- }
72623
- }).catch(() => {
72624
- });
72625
- return openPromise;
72626
- }
72627
- __name(openDB2, "openDB");
72628
- function deleteDB2(name, { blocked } = {}) {
72629
- const request = indexedDB.deleteDatabase(name);
72630
- if (blocked) {
72631
- request.addEventListener("blocked", (event) => blocked(
72632
- // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
72633
- event.oldVersion,
72634
- event
72635
- ));
72636
- }
72637
- return wrap4(request).then(() => void 0);
72638
- }
72639
- __name(deleteDB2, "deleteDB");
72640
- var readMethods2 = ["get", "getKey", "getAll", "getAllKeys", "count"];
72641
- var writeMethods2 = ["put", "add", "delete", "clear"];
72642
- var cachedMethods2 = /* @__PURE__ */ new Map();
72643
- function getMethod2(target, prop) {
72644
- if (!(target instanceof IDBDatabase && !(prop in target) && typeof prop === "string")) {
72645
- return;
72646
- }
72647
- if (cachedMethods2.get(prop))
72648
- return cachedMethods2.get(prop);
72649
- const targetFuncName = prop.replace(/FromIndex$/, "");
72650
- const useIndex = prop !== targetFuncName;
72651
- const isWrite = writeMethods2.includes(targetFuncName);
72652
- if (
72653
- // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
72654
- !(targetFuncName in (useIndex ? IDBIndex : IDBObjectStore).prototype) || !(isWrite || readMethods2.includes(targetFuncName))
72655
- ) {
72656
- return;
72657
- }
72658
- const method = /* @__PURE__ */ __name(async function(storeName, ...args) {
72659
- const tx = this.transaction(storeName, isWrite ? "readwrite" : "readonly");
72660
- let target2 = tx.store;
72661
- if (useIndex)
72662
- target2 = target2.index(args.shift());
72663
- return (await Promise.all([
72664
- target2[targetFuncName](...args),
72665
- isWrite && tx.done
72666
- ]))[0];
72667
- }, "method");
72668
- cachedMethods2.set(prop, method);
72669
- return method;
72670
- }
72671
- __name(getMethod2, "getMethod");
72672
- replaceTraps2((oldTraps) => ({
72673
- ...oldTraps,
72674
- get: /* @__PURE__ */ __name((target, prop, receiver) => getMethod2(target, prop) || oldTraps.get(target, prop, receiver), "get"),
72675
- has: /* @__PURE__ */ __name((target, prop) => !!getMethod2(target, prop) || oldTraps.has(target, prop), "has")
72676
- }));
72677
- var advanceMethodProps2 = ["continue", "continuePrimaryKey", "advance"];
72678
- var methodMap2 = {};
72679
- var advanceResults2 = /* @__PURE__ */ new WeakMap();
72680
- var ittrProxiedCursorToOriginalProxy2 = /* @__PURE__ */ new WeakMap();
72681
- var cursorIteratorTraps2 = {
72682
- get(target, prop) {
72683
- if (!advanceMethodProps2.includes(prop))
72684
- return target[prop];
72685
- let cachedFunc = methodMap2[prop];
72686
- if (!cachedFunc) {
72687
- cachedFunc = methodMap2[prop] = function(...args) {
72688
- advanceResults2.set(this, ittrProxiedCursorToOriginalProxy2.get(this)[prop](...args));
72689
- };
72690
- }
72691
- return cachedFunc;
72692
- }
72693
- };
72694
- async function* iterate2(...args) {
72695
- let cursor = this;
72696
- if (!(cursor instanceof IDBCursor)) {
72697
- cursor = await cursor.openCursor(...args);
72698
- }
72699
- if (!cursor)
72700
- return;
72701
- cursor = cursor;
72702
- const proxiedCursor = new Proxy(cursor, cursorIteratorTraps2);
72703
- ittrProxiedCursorToOriginalProxy2.set(proxiedCursor, cursor);
72704
- reverseTransformCache2.set(proxiedCursor, unwrap2(cursor));
72705
- while (cursor) {
72706
- yield proxiedCursor;
72707
- cursor = await (advanceResults2.get(proxiedCursor) || cursor.continue());
72708
- advanceResults2.delete(proxiedCursor);
72709
- }
72710
- }
72711
- __name(iterate2, "iterate");
72712
- function isIteratorProp2(target, prop) {
72713
- return prop === Symbol.asyncIterator && instanceOfAny2(target, [IDBIndex, IDBObjectStore, IDBCursor]) || prop === "iterate" && instanceOfAny2(target, [IDBIndex, IDBObjectStore]);
72714
- }
72715
- __name(isIteratorProp2, "isIteratorProp");
72716
- replaceTraps2((oldTraps) => ({
72717
- ...oldTraps,
72718
- get(target, prop, receiver) {
72719
- if (isIteratorProp2(target, prop))
72720
- return iterate2;
72721
- return oldTraps.get(target, prop, receiver);
72722
- },
72723
- has(target, prop) {
72724
- return isIteratorProp2(target, prop) || oldTraps.has(target, prop);
72725
- }
72726
- }));
72727
-
72728
- // node_modules/.pnpm/@push.rocks+webstore@2.0.21/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.webstore.js
72729
- var WebStore2 = class {
72730
- static {
72731
- __name(this, "WebStore");
72732
- }
72733
- constructor(optionsArg) {
72734
- this.initCalled = false;
72735
- this.readyDeferred = dist_ts_exports.defer();
72736
- this.options = optionsArg;
72737
- }
72738
- async init() {
72739
- if (this.initCalled) {
72740
- await this.readyDeferred.promise;
72741
- return;
72742
- }
72743
- this.initCalled = true;
72744
- const smartenv = new dist_ts_exports10.Smartenv();
72745
- if (!smartenv.isBrowser && !globalThis.indexedDB) {
72746
- console.log("hey");
72747
- console.log(globalThis.indexedDB);
72748
- await smartenv.getSafeNodeModule("fake-indexeddb/auto");
72749
- if (!globalThis.indexedDB) {
72750
- const mod = await smartenv.getSafeNodeModule("fake-indexeddb");
72751
- globalThis.indexedDB = new mod.IDBFactory();
72752
- }
72753
- }
72754
- this.db = await build_exports2.openDB(this.options.dbName, 1, {
72755
- upgrade: /* @__PURE__ */ __name((db) => {
72756
- db.createObjectStore(this.options.storeName);
72757
- }, "upgrade")
72758
- });
72759
- this.readyDeferred.resolve();
72760
- return;
72761
- }
72762
- async get(key2) {
72763
- await this.init();
72764
- return this.db.get(this.options.storeName, key2);
72765
- }
72766
- async check(keyArg) {
72767
- await this.init();
72768
- const result = await this.get(keyArg);
72769
- return !!result;
72770
- }
72771
- async set(key2, val) {
72772
- await this.init();
72773
- return this.db.put(this.options.storeName, val, key2);
72774
- }
72775
- async delete(key2) {
72776
- await this.init();
72777
- return this.db.delete(this.options.storeName, key2);
72778
- }
72779
- async clear() {
72780
- await this.init();
72781
- return this.db.clear(this.options.storeName);
72782
- }
72783
- async keys() {
72784
- await this.init();
72785
- return this.db.getAllKeys(this.options.storeName);
72786
- }
72787
- };
72788
-
72789
- // node_modules/.pnpm/@push.rocks+webstore@2.0.21/node_modules/@push.rocks/webstore/dist_ts/webstore.classes.typedrequestcache.js
72790
- var TypedrequestCache2 = class {
72791
- static {
72792
- __name(this, "TypedrequestCache");
72793
- }
72794
- constructor(domainArg = "default") {
72795
- this.webstore = new WebStore2({
72796
- dbName: "trStore",
72797
- storeName: `trStore-${domainArg}`
72798
- });
72799
- }
72800
- buildKey(requestArg) {
72801
- return dist_ts_exports12.stringify({
72802
- method: requestArg.method,
72803
- request: requestArg.request
72804
- });
72805
- }
72806
- /**
72807
- * stores by request
72808
- * @param typedrequestarg
72809
- */
72810
- async setByRequest(typedrequestArg) {
72811
- if (!typedrequestArg.response) {
72812
- throw new Error("You cannot store requests without a response present");
72813
- }
72814
- await this.webstore.set(this.buildKey(typedrequestArg), typedrequestArg);
72815
- }
72816
- /**
72817
- * get by full tyoedrequest by partial typedrequest
72818
- * @param typedrequestarg
72819
- */
72820
- async getByRequest(typedrequestArg) {
72821
- const result = await this.webstore.get(this.buildKey(typedrequestArg));
72822
- return result;
72823
- }
72824
- };
72825
-
72826
71430
  // node_modules/.pnpm/@push.rocks+smartstate@2.3.0/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.stateaction.js
72827
71431
  var StateAction = class {
72828
71432
  static {
@@ -73009,7 +71613,7 @@ var StatePart = class _StatePart {
73009
71613
  */
73010
71614
  async init() {
73011
71615
  if (this.webStoreOptions) {
73012
- this.webStore = new dist_ts_exports21.WebStore(this.webStoreOptions);
71616
+ this.webStore = new dist_ts_exports13.WebStore(this.webStoreOptions);
73013
71617
  await this.webStore.init();
73014
71618
  const storedState = await this.webStore.get(String(this.name));
73015
71619
  if (storedState && this.validateState(storedState)) {
@@ -73500,8 +72104,8 @@ function attachContextProvider(element4, options) {
73500
72104
  __name(attachContextProvider, "attachContextProvider");
73501
72105
 
73502
72106
  // node_modules/.pnpm/@push.rocks+smarturl@3.1.0/node_modules/@push.rocks/smarturl/dist_ts/index.js
73503
- var dist_ts_exports23 = {};
73504
- __export(dist_ts_exports23, {
72107
+ var dist_ts_exports20 = {};
72108
+ __export(dist_ts_exports20, {
73505
72109
  Smarturl: () => Smarturl
73506
72110
  });
73507
72111
 
@@ -73611,8 +72215,8 @@ var Smarturl = class _Smarturl {
73611
72215
  };
73612
72216
 
73613
72217
  // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/index.js
73614
- var dist_ts_exports27 = {};
73615
- __export(dist_ts_exports27, {
72218
+ var dist_ts_exports24 = {};
72219
+ __export(dist_ts_exports24, {
73616
72220
  JsonLdTag: () => JsonLdTag,
73617
72221
  MetaTag: () => MetaTag,
73618
72222
  OpengraphTag: () => OpengraphTag,
@@ -73621,16 +72225,16 @@ __export(dist_ts_exports27, {
73621
72225
  });
73622
72226
 
73623
72227
  // node_modules/.pnpm/@pushrocks+smartdelay@3.0.1/node_modules/@pushrocks/smartdelay/dist_ts/index.js
73624
- var dist_ts_exports25 = {};
73625
- __export(dist_ts_exports25, {
72228
+ var dist_ts_exports22 = {};
72229
+ __export(dist_ts_exports22, {
73626
72230
  Timeout: () => Timeout2,
73627
72231
  delayFor: () => delayFor2,
73628
72232
  delayForRandom: () => delayForRandom2
73629
72233
  });
73630
72234
 
73631
72235
  // node_modules/.pnpm/@pushrocks+smartpromise@4.0.2/node_modules/@pushrocks/smartpromise/dist_ts/index.js
73632
- var dist_ts_exports24 = {};
73633
- __export(dist_ts_exports24, {
72236
+ var dist_ts_exports21 = {};
72237
+ __export(dist_ts_exports21, {
73634
72238
  CumulativeDeferred: () => CumulativeDeferred2,
73635
72239
  Deferred: () => Deferred2,
73636
72240
  cumulativeDefer: () => cumulativeDefer2,
@@ -73807,8 +72411,8 @@ var Timeout2 = class {
73807
72411
  };
73808
72412
 
73809
72413
  // node_modules/.pnpm/@tsclass+tsclass@4.4.4/node_modules/@tsclass/tsclass/dist_ts/index.js
73810
- var dist_ts_exports26 = {};
73811
- __export(dist_ts_exports26, {
72414
+ var dist_ts_exports23 = {};
72415
+ __export(dist_ts_exports23, {
73812
72416
  business: () => business_exports,
73813
72417
  code: () => code_exports,
73814
72418
  container: () => container_exports,
@@ -74168,8 +72772,8 @@ var WebSetup = class {
74168
72772
  }
74169
72773
  constructor(optionsArg) {
74170
72774
  this.tagManager = new TagManager();
74171
- this.readyDeferred = dist_ts_exports24.defer();
74172
- this.readyForSmartssrDeferred = dist_ts_exports24.defer();
72775
+ this.readyDeferred = dist_ts_exports21.defer();
72776
+ this.readyForSmartssrDeferred = dist_ts_exports21.defer();
74173
72777
  this.readyPromise = this.readyDeferred.promise;
74174
72778
  this.readyForSmartssrPromise = this.readyForSmartssrDeferred.promise;
74175
72779
  this.options = optionsArg;
@@ -75877,21 +74481,21 @@ var DomTools = class _DomTools {
75877
74481
  title: ""
75878
74482
  }
75879
74483
  });
75880
- smartstate = new dist_ts_exports22.Smartstate();
74484
+ smartstate = new dist_ts_exports19.Smartstate();
75881
74485
  domToolsStatePart = this.smartstate.getStatePart("domtools", {
75882
74486
  virtualViewport: "native",
75883
74487
  jwt: ""
75884
74488
  });
75885
- router = new dist_ts_exports20.SmartRouter({
74489
+ router = new dist_ts_exports18.SmartRouter({
75886
74490
  debug: false
75887
74491
  });
75888
74492
  convenience = {
75889
- typedrequest: dist_ts_exports17,
74493
+ typedrequest: dist_ts_exports15,
75890
74494
  smartdelay: dist_ts_exports3,
75891
74495
  smartjson: dist_ts_exports12,
75892
- smarturl: dist_ts_exports23
74496
+ smarturl: dist_ts_exports20
75893
74497
  };
75894
- deesComms = new dist_ts_exports18.DeesComms();
74498
+ deesComms = new dist_ts_exports16.DeesComms();
75895
74499
  scroller = new Scroller(this);
75896
74500
  themeManager = new ThemeManager(this);
75897
74501
  keyboard = null;
@@ -76073,14 +74677,14 @@ var domtools_pluginexports_exports = {};
76073
74677
  __export(domtools_pluginexports_exports, {
76074
74678
  SweetScroll: () => import_sweet_scroll2.default,
76075
74679
  smartdelay: () => dist_ts_exports3,
76076
- smartmarkdown: () => dist_ts_exports19,
74680
+ smartmarkdown: () => dist_ts_exports17,
76077
74681
  smartpromise: () => dist_ts_exports,
76078
- smartrouter: () => dist_ts_exports20,
74682
+ smartrouter: () => dist_ts_exports18,
76079
74683
  smartrx: () => dist_ts_exports2,
76080
- smartstate: () => dist_ts_exports22,
74684
+ smartstate: () => dist_ts_exports19,
76081
74685
  smartstring: () => dist_ts_exports11,
76082
- smarturl: () => dist_ts_exports23,
76083
- typedrequest: () => dist_ts_exports17
74686
+ smarturl: () => dist_ts_exports20,
74687
+ typedrequest: () => dist_ts_exports15
76084
74688
  });
76085
74689
  var import_sweet_scroll2 = __toESM(require_sweet_scroll(), 1);
76086
74690
 
@@ -76441,7 +75045,7 @@ var DeesElement = (() => {
76441
75045
  return this.is || this.name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
76442
75046
  }
76443
75047
  static cssForConstraint(constraints) {
76444
- return (cssArg) => dist_ts_exports28.breakpoints.cssForConstraintContainer(constraints, this.getContainerName())(cssArg);
75048
+ return (cssArg) => dist_ts_exports25.breakpoints.cssForConstraintContainer(constraints, this.getContainerName())(cssArg);
76445
75049
  }
76446
75050
  #goBright_accessor_storage = __runInitializers3(this, _goBright_initializers, false);
76447
75051
  // INSTANCE
@@ -76462,11 +75066,11 @@ var DeesElement = (() => {
76462
75066
  }
76463
75067
  rxSubscriptions = (__runInitializers3(this, _domtools_extraInitializers), []);
76464
75068
  themeSubscription;
76465
- elementDomReadyDeferred = dist_ts_exports28.plugins.smartpromise.defer();
75069
+ elementDomReadyDeferred = dist_ts_exports25.plugins.smartpromise.defer();
76466
75070
  elementDomReady = this.elementDomReadyDeferred.promise;
76467
75071
  constructor(optionsArg = {}) {
76468
75072
  super();
76469
- this.domtoolsPromise = dist_ts_exports28.elementBasic.setup(this, optionsArg);
75073
+ this.domtoolsPromise = dist_ts_exports25.elementBasic.setup(this, optionsArg);
76470
75074
  this.domtoolsPromise.then((domtoolsArg) => {
76471
75075
  this.domtools = domtoolsArg;
76472
75076
  });
@@ -77888,7 +76492,7 @@ var _WccSidebar = class _WccSidebar extends (_a3 = DeesElement, _selectedItem_de
77888
76492
  <div
77889
76493
  class="selectOption ${isSelected ? "selected" : ""}"
77890
76494
  @click=${async () => {
77891
- await dist_ts_exports28.DomTools.setupDomTools();
76495
+ await dist_ts_exports25.DomTools.setupDomTools();
77892
76496
  this.selectItem(type5, itemName, item, 0, section);
77893
76497
  }}
77894
76498
  @contextmenu=${(e10) => this.showContextMenu(e10, sectionName, itemName)}
@@ -77962,7 +76566,7 @@ var _WccSidebar = class _WccSidebar extends (_a3 = DeesElement, _selectedItem_de
77962
76566
  <div
77963
76567
  class="selectOption ${this.selectedItem === item ? "selected" : ""} ${isPinned ? "pinned" : ""}"
77964
76568
  @click=${async () => {
77965
- await dist_ts_exports28.DomTools.setupDomTools();
76569
+ await dist_ts_exports25.DomTools.setupDomTools();
77966
76570
  this.selectItem("page", pageName, item, 0, section);
77967
76571
  }}
77968
76572
  @contextmenu=${(e10) => this.showContextMenu(e10, section.name, pageName)}
@@ -78042,7 +76646,7 @@ var _WccSidebar = class _WccSidebar extends (_a3 = DeesElement, _selectedItem_de
78042
76646
  <div
78043
76647
  class="demo-child ${isThisDemoSelected ? "selected" : ""}"
78044
76648
  @click=${async () => {
78045
- await dist_ts_exports28.DomTools.setupDomTools();
76649
+ await dist_ts_exports25.DomTools.setupDomTools();
78046
76650
  this.selectItem("element", elementName, item, demoIndex, section);
78047
76651
  }}
78048
76652
  >
@@ -78060,7 +76664,7 @@ var _WccSidebar = class _WccSidebar extends (_a3 = DeesElement, _selectedItem_de
78060
76664
  <div
78061
76665
  class="selectOption ${isSelected ? "selected" : ""} ${isPinned ? "pinned" : ""}"
78062
76666
  @click=${async () => {
78063
- await dist_ts_exports28.DomTools.setupDomTools();
76667
+ await dist_ts_exports25.DomTools.setupDomTools();
78064
76668
  this.selectItem("element", elementName, item, 0, section);
78065
76669
  }}
78066
76670
  @contextmenu=${(e10) => this.showContextMenu(e10, section.name, elementName)}
@@ -80801,7 +79405,7 @@ var _WccDashboard = class _WccDashboard extends (_a7 = DeesElement, _sections_de
80801
79405
  this.buildUrl();
80802
79406
  }
80803
79407
  async firstUpdated() {
80804
- this.domtools = await dist_ts_exports28.DomTools.setupDomTools();
79408
+ this.domtools = await dist_ts_exports25.DomTools.setupDomTools();
80805
79409
  document.addEventListener("keydown", (event) => {
80806
79410
  if (event.key === "Escape" && this.isNative) {
80807
79411
  this.selectedViewport = "desktop";
@@ -80880,7 +79484,7 @@ var _WccDashboard = class _WccDashboard extends (_a7 = DeesElement, _sections_de
80880
79484
  this.pinnedItems = /* @__PURE__ */ new Set();
80881
79485
  }
80882
79486
  }
80883
- const domtoolsInstance = await dist_ts_exports28.elementBasic.setup();
79487
+ const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
80884
79488
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
80885
79489
  }
80886
79490
  );
@@ -80948,13 +79552,13 @@ var _WccDashboard = class _WccDashboard extends (_a7 = DeesElement, _sections_de
80948
79552
  this.pinnedItems = /* @__PURE__ */ new Set();
80949
79553
  }
80950
79554
  }
80951
- const domtoolsInstance = await dist_ts_exports28.elementBasic.setup();
79555
+ const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
80952
79556
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
80953
79557
  }
80954
79558
  );
80955
79559
  }
80956
79560
  async updated(changedPropertiesArg) {
80957
- this.domtools = await dist_ts_exports28.DomTools.setupDomTools();
79561
+ this.domtools = await dist_ts_exports25.DomTools.setupDomTools();
80958
79562
  await this.domtools.router._handleRouteState();
80959
79563
  const wccFrame = this.shadowRoot.querySelector("wcc-frame");
80960
79564
  if (changedPropertiesArg.has("selectedItemName")) {
@@ -80980,9 +79584,9 @@ var _WccDashboard = class _WccDashboard extends (_a7 = DeesElement, _sections_de
80980
79584
  this.setWarning(`component ${anonItem.name} does not expose a demo property.`);
80981
79585
  return;
80982
79586
  }
80983
- const isArray5 = Array.isArray(anonItem.demo);
79587
+ const isArray4 = Array.isArray(anonItem.demo);
80984
79588
  const isFunction2 = typeof anonItem.demo === "function";
80985
- if (!isArray5 && !isFunction2) {
79589
+ if (!isArray4 && !isFunction2) {
80986
79590
  this.setWarning(
80987
79591
  `component ${anonItem.name} has demo property, but it is not a function or array of functions`
80988
79592
  );
@@ -83493,4 +82097,4 @@ lit-html/directives/keyed.js:
83493
82097
  * SPDX-License-Identifier: BSD-3-Clause
83494
82098
  *)
83495
82099
  */
83496
- //# sourceMappingURL=bundle-1776036117035.js.map
82100
+ //# sourceMappingURL=bundle.js.map