@design.estate/dees-catalog 1.0.176 → 1.0.178

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.
@@ -43,14 +43,14 @@ var require_dist_ts = __commonJS({
43
43
  "use strict";
44
44
  Object.defineProperty(exports, "__esModule", { value: true });
45
45
  exports.uni = void 0;
46
- var uni2 = (prefix = "uni") => {
46
+ var uni3 = (prefix = "uni") => {
47
47
  return `${prefix}_${`xxxxxxxxxxxxxxxxxxxxxxxx`.replace(/[xy]/g, (c7) => {
48
48
  const r6 = Math.random() * 16 | 0;
49
49
  const v2 = c7 === "x" ? r6 : r6 & 3 | 8;
50
50
  return v2.toString(16);
51
51
  })}`;
52
52
  };
53
- exports.uni = uni2;
53
+ exports.uni = uni3;
54
54
  }
55
55
  });
56
56
 
@@ -68,14 +68,14 @@ var require_dist_ts2 = __commonJS({
68
68
  "use strict";
69
69
  Object.defineProperty(exports, "__esModule", { value: true });
70
70
  exports.uni = void 0;
71
- var uni2 = (prefix = "uni") => {
71
+ var uni3 = (prefix = "uni") => {
72
72
  return `${prefix}_${`xxxxxxxxxxxxxxxxxxxxxxxx`.replace(/[xy]/g, (c7) => {
73
73
  const r6 = Math.random() * 16 | 0;
74
74
  const v2 = c7 === "x" ? r6 : r6 & 3 | 8;
75
75
  return v2.toString(16);
76
76
  })}`;
77
77
  };
78
- exports.uni = uni2;
78
+ exports.uni = uni3;
79
79
  }
80
80
  });
81
81
 
@@ -85,7 +85,7 @@ var require_dist_ts3 = __commonJS({
85
85
  "use strict";
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
87
  exports.getFirstTrueOrFalse = exports.timeoutAndContinue = exports.timeoutWrap = exports.map = exports.rejectedPromise = exports.resolvedPromise = exports.defer = exports.Deferred = void 0;
88
- var Deferred3 = class {
88
+ var Deferred4 = class {
89
89
  constructor() {
90
90
  this.promise = new Promise((resolve2, reject) => {
91
91
  this.resolve = (valueArg) => {
@@ -110,9 +110,9 @@ var require_dist_ts3 = __commonJS({
110
110
  }
111
111
  }
112
112
  };
113
- exports.Deferred = Deferred3;
113
+ exports.Deferred = Deferred4;
114
114
  exports.defer = () => {
115
- return new Deferred3();
115
+ return new Deferred4();
116
116
  };
117
117
  exports.resolvedPromise = (value) => {
118
118
  return Promise.resolve(value);
@@ -201,7 +201,7 @@ var require_dist_ts4 = __commonJS({
201
201
  exports.Timeout = exports.delayForRandom = exports.delayFor = void 0;
202
202
  var smartpromise6 = __importStar(require_dist_ts3());
203
203
  exports.delayFor = async (timeInMillisecondArg, passOnArg, unrefedArg = false) => {
204
- const timeout = new Timeout2(timeInMillisecondArg, null, unrefedArg);
204
+ const timeout = new Timeout3(timeInMillisecondArg, null, unrefedArg);
205
205
  await timeout.promise;
206
206
  return passOnArg;
207
207
  };
@@ -209,7 +209,7 @@ var require_dist_ts4 = __commonJS({
209
209
  await exports.delayFor(Math.random() * (timeMaxInMillisecondArg - timeMinInMillisecondArg) + timeMinInMillisecondArg, null, unrefedArg);
210
210
  return passOnArg;
211
211
  };
212
- var Timeout2 = class {
212
+ var Timeout3 = class {
213
213
  constructor(timeInMillisecondArg, passOn, unrefedArg = false) {
214
214
  this._cancelled = false;
215
215
  this.timeoutInMillis = timeInMillisecondArg;
@@ -243,7 +243,7 @@ var require_dist_ts4 = __commonJS({
243
243
  return result > 0 ? result : 0;
244
244
  }
245
245
  };
246
- exports.Timeout = Timeout2;
246
+ exports.Timeout = Timeout3;
247
247
  }
248
248
  });
249
249
 
@@ -902,7 +902,7 @@ var require_SymbolTree = __commonJS({
902
902
  */
903
903
  childrenToArray(parent, options) {
904
904
  const array = options && options.array || [];
905
- const filter = options && options.filter || returnTrue;
905
+ const filter2 = options && options.filter || returnTrue;
906
906
  const thisArg = options && options.thisArg || void 0;
907
907
  const parentNode = this._node(parent);
908
908
  let object = parentNode.firstChild;
@@ -910,7 +910,7 @@ var require_SymbolTree = __commonJS({
910
910
  while (object) {
911
911
  const node = this._node(object);
912
912
  node.setCachedIndex(parentNode, index);
913
- if (filter.call(thisArg, object)) {
913
+ if (filter2.call(thisArg, object)) {
914
914
  array.push(object);
915
915
  }
916
916
  object = node.nextSibling;
@@ -936,11 +936,11 @@ var require_SymbolTree = __commonJS({
936
936
  */
937
937
  ancestorsToArray(object, options) {
938
938
  const array = options && options.array || [];
939
- const filter = options && options.filter || returnTrue;
939
+ const filter2 = options && options.filter || returnTrue;
940
940
  const thisArg = options && options.thisArg || void 0;
941
941
  let ancestor = object;
942
942
  while (ancestor) {
943
- if (filter.call(thisArg, ancestor)) {
943
+ if (filter2.call(thisArg, ancestor)) {
944
944
  array.push(ancestor);
945
945
  }
946
946
  ancestor = this._node(ancestor).parent;
@@ -965,11 +965,11 @@ var require_SymbolTree = __commonJS({
965
965
  */
966
966
  treeToArray(root, options) {
967
967
  const array = options && options.array || [];
968
- const filter = options && options.filter || returnTrue;
968
+ const filter2 = options && options.filter || returnTrue;
969
969
  const thisArg = options && options.thisArg || void 0;
970
970
  let object = root;
971
971
  while (object) {
972
- if (filter.call(thisArg, object)) {
972
+ if (filter2.call(thisArg, object)) {
973
973
  array.push(object);
974
974
  }
975
975
  object = this.following(object, { root });
@@ -3278,7 +3278,7 @@ var require_punycode = __commonJS({
3278
3278
  function error(type5) {
3279
3279
  throw new RangeError(errors[type5]);
3280
3280
  }
3281
- function map3(array, fn) {
3281
+ function map4(array, fn) {
3282
3282
  var length = array.length;
3283
3283
  var result = [];
3284
3284
  while (length--) {
@@ -3295,7 +3295,7 @@ var require_punycode = __commonJS({
3295
3295
  }
3296
3296
  string = string.replace(regexSeparators, ".");
3297
3297
  var labels = string.split(".");
3298
- var encoded = map3(labels, fn).join(".");
3298
+ var encoded = map4(labels, fn).join(".");
3299
3299
  return result + encoded;
3300
3300
  }
3301
3301
  function ucs2decode2(string) {
@@ -3317,7 +3317,7 @@ var require_punycode = __commonJS({
3317
3317
  return output;
3318
3318
  }
3319
3319
  function ucs2encode(array) {
3320
- return map3(array, function(value) {
3320
+ return map4(array, function(value) {
3321
3321
  var output = "";
3322
3322
  if (value > 65535) {
3323
3323
  value -= 65536;
@@ -4933,7 +4933,7 @@ var require_stringify = __commonJS({
4933
4933
  return typeof v2 === "string" || typeof v2 === "number" || typeof v2 === "boolean" || typeof v2 === "symbol" || typeof v2 === "bigint";
4934
4934
  };
4935
4935
  var sentinel = {};
4936
- var stringify2 = function stringify3(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
4936
+ var stringify3 = function stringify4(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter2, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
4937
4937
  var obj = object;
4938
4938
  var tmpSc = sideChannel;
4939
4939
  var step = 0;
@@ -4952,8 +4952,8 @@ var require_stringify = __commonJS({
4952
4952
  step = 0;
4953
4953
  }
4954
4954
  }
4955
- if (typeof filter === "function") {
4956
- obj = filter(prefix, obj);
4955
+ if (typeof filter2 === "function") {
4956
+ obj = filter2(prefix, obj);
4957
4957
  } else if (obj instanceof Date) {
4958
4958
  obj = serializeDate(obj);
4959
4959
  } else if (generateArrayPrefix === "comma" && isArray2(obj)) {
@@ -4987,8 +4987,8 @@ var require_stringify = __commonJS({
4987
4987
  obj = utils.maybeMap(obj, encoder);
4988
4988
  }
4989
4989
  objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
4990
- } else if (isArray2(filter)) {
4991
- objKeys = filter;
4990
+ } else if (isArray2(filter2)) {
4991
+ objKeys = filter2;
4992
4992
  } else {
4993
4993
  var keys = Object.keys(obj);
4994
4994
  objKeys = sort ? keys.sort(sort) : keys;
@@ -5004,7 +5004,7 @@ var require_stringify = __commonJS({
5004
5004
  sideChannel.set(object, step);
5005
5005
  var valueSideChannel = getSideChannel();
5006
5006
  valueSideChannel.set(sentinel, sideChannel);
5007
- pushToArray(values, stringify3(
5007
+ pushToArray(values, stringify4(
5008
5008
  value,
5009
5009
  keyPrefix,
5010
5010
  generateArrayPrefix,
@@ -5012,7 +5012,7 @@ var require_stringify = __commonJS({
5012
5012
  strictNullHandling,
5013
5013
  skipNulls,
5014
5014
  generateArrayPrefix === "comma" && encodeValuesOnly && isArray2(obj) ? null : encoder,
5015
- filter,
5015
+ filter2,
5016
5016
  sort,
5017
5017
  allowDots,
5018
5018
  serializeDate,
@@ -5044,9 +5044,9 @@ var require_stringify = __commonJS({
5044
5044
  format = opts.format;
5045
5045
  }
5046
5046
  var formatter = formats.formatters[format];
5047
- var filter = defaults.filter;
5047
+ var filter2 = defaults.filter;
5048
5048
  if (typeof opts.filter === "function" || isArray2(opts.filter)) {
5049
- filter = opts.filter;
5049
+ filter2 = opts.filter;
5050
5050
  }
5051
5051
  return {
5052
5052
  addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
@@ -5057,7 +5057,7 @@ var require_stringify = __commonJS({
5057
5057
  encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
5058
5058
  encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
5059
5059
  encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
5060
- filter,
5060
+ filter: filter2,
5061
5061
  format,
5062
5062
  formatter,
5063
5063
  serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults.serializeDate,
@@ -5070,13 +5070,13 @@ var require_stringify = __commonJS({
5070
5070
  var obj = object;
5071
5071
  var options = normalizeStringifyOptions(opts);
5072
5072
  var objKeys;
5073
- var filter;
5073
+ var filter2;
5074
5074
  if (typeof options.filter === "function") {
5075
- filter = options.filter;
5076
- obj = filter("", obj);
5075
+ filter2 = options.filter;
5076
+ obj = filter2("", obj);
5077
5077
  } else if (isArray2(options.filter)) {
5078
- filter = options.filter;
5079
- objKeys = filter;
5078
+ filter2 = options.filter;
5079
+ objKeys = filter2;
5080
5080
  }
5081
5081
  var keys = [];
5082
5082
  if (typeof obj !== "object" || obj === null) {
@@ -5107,7 +5107,7 @@ var require_stringify = __commonJS({
5107
5107
  if (options.skipNulls && obj[key] === null) {
5108
5108
  continue;
5109
5109
  }
5110
- pushToArray(keys, stringify2(
5110
+ pushToArray(keys, stringify3(
5111
5111
  obj[key],
5112
5112
  key,
5113
5113
  generateArrayPrefix,
@@ -5346,13 +5346,13 @@ var require_parse = __commonJS({
5346
5346
  var require_lib = __commonJS({
5347
5347
  "node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/index.js"(exports, module) {
5348
5348
  "use strict";
5349
- var stringify2 = require_stringify();
5350
- var parse4 = require_parse();
5349
+ var stringify3 = require_stringify();
5350
+ var parse5 = require_parse();
5351
5351
  var formats = require_formats();
5352
5352
  module.exports = {
5353
5353
  formats,
5354
- parse: parse4,
5355
- stringify: stringify2
5354
+ parse: parse5,
5355
+ stringify: stringify3
5356
5356
  };
5357
5357
  }
5358
5358
  });
@@ -6233,9 +6233,9 @@ var require_lodash = __commonJS({
6233
6233
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
6234
6234
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
6235
6235
  var moduleExports = freeModule && freeModule.exports === freeExports;
6236
- function addMapEntry(map3, pair) {
6237
- map3.set(pair[0], pair[1]);
6238
- return map3;
6236
+ function addMapEntry(map4, pair) {
6237
+ map4.set(pair[0], pair[1]);
6238
+ return map4;
6239
6239
  }
6240
6240
  function addSetEntry(set2, value) {
6241
6241
  set2.add(value);
@@ -6287,9 +6287,9 @@ var require_lodash = __commonJS({
6287
6287
  }
6288
6288
  return result;
6289
6289
  }
6290
- function mapToArray(map3) {
6291
- var index = -1, result = Array(map3.size);
6292
- map3.forEach(function(value, key) {
6290
+ function mapToArray(map4) {
6291
+ var index = -1, result = Array(map4.size);
6292
+ map4.forEach(function(value, key) {
6293
6293
  result[++index] = [key, value];
6294
6294
  });
6295
6295
  return result;
@@ -6619,9 +6619,9 @@ var require_lodash = __commonJS({
6619
6619
  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
6620
6620
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
6621
6621
  }
6622
- function cloneMap(map3, isDeep, cloneFunc) {
6623
- var array = isDeep ? cloneFunc(mapToArray(map3), true) : mapToArray(map3);
6624
- return arrayReduce(array, addMapEntry, new map3.constructor());
6622
+ function cloneMap(map4, isDeep, cloneFunc) {
6623
+ var array = isDeep ? cloneFunc(mapToArray(map4), true) : mapToArray(map4);
6624
+ return arrayReduce(array, addMapEntry, new map4.constructor());
6625
6625
  }
6626
6626
  function cloneRegExp(regexp) {
6627
6627
  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
@@ -6663,8 +6663,8 @@ var require_lodash = __commonJS({
6663
6663
  function getAllKeys(object) {
6664
6664
  return baseGetAllKeys(object, keys, getSymbols);
6665
6665
  }
6666
- function getMapData(map3, key) {
6667
- var data = map3.__data__;
6666
+ function getMapData(map4, key) {
6667
+ var data = map4.__data__;
6668
6668
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
6669
6669
  }
6670
6670
  function getNative(object, key) {
@@ -6829,7 +6829,7 @@ var require_fast_json_stable_stringify = __commonJS({
6829
6829
  };
6830
6830
  }(opts.cmp);
6831
6831
  var seen = [];
6832
- return function stringify2(node) {
6832
+ return function stringify3(node) {
6833
6833
  if (node && node.toJSON && typeof node.toJSON === "function") {
6834
6834
  node = node.toJSON();
6835
6835
  }
@@ -6845,7 +6845,7 @@ var require_fast_json_stable_stringify = __commonJS({
6845
6845
  for (i8 = 0; i8 < node.length; i8++) {
6846
6846
  if (i8)
6847
6847
  out += ",";
6848
- out += stringify2(node[i8]) || "null";
6848
+ out += stringify3(node[i8]) || "null";
6849
6849
  }
6850
6850
  return out + "]";
6851
6851
  }
@@ -6861,7 +6861,7 @@ var require_fast_json_stable_stringify = __commonJS({
6861
6861
  out = "";
6862
6862
  for (i8 = 0; i8 < keys.length; i8++) {
6863
6863
  var key = keys[i8];
6864
- var value = stringify2(node[key]);
6864
+ var value = stringify3(node[key]);
6865
6865
  if (!value)
6866
6866
  continue;
6867
6867
  if (out)
@@ -6878,10 +6878,10 @@ var require_fast_json_stable_stringify = __commonJS({
6878
6878
  // node_modules/.pnpm/buffer-json@2.0.0/node_modules/buffer-json/index.js
6879
6879
  var require_buffer_json = __commonJS({
6880
6880
  "node_modules/.pnpm/buffer-json@2.0.0/node_modules/buffer-json/index.js"(exports, module) {
6881
- function stringify2(value, space) {
6881
+ function stringify3(value, space) {
6882
6882
  return JSON.stringify(value, replacer, space);
6883
6883
  }
6884
- function parse4(text2) {
6884
+ function parse5(text2) {
6885
6885
  return JSON.parse(text2, reviver);
6886
6886
  }
6887
6887
  function replacer(key, value) {
@@ -6922,8 +6922,8 @@ var require_buffer_json = __commonJS({
6922
6922
  return typeof x2 === "object" && x2 !== null;
6923
6923
  }
6924
6924
  module.exports = {
6925
- stringify: stringify2,
6926
- parse: parse4,
6925
+ stringify: stringify3,
6926
+ parse: parse5,
6927
6927
  replacer,
6928
6928
  reviver
6929
6929
  };
@@ -44671,8 +44671,8 @@ var require_r = __commonJS({
44671
44671
  var require_reasonml = __commonJS({
44672
44672
  "node_modules/.pnpm/highlight.js@11.8.0/node_modules/highlight.js/lib/languages/reasonml.js"(exports, module) {
44673
44673
  function reasonml(hljs) {
44674
- function orReValues(ops2) {
44675
- return ops2.map(function(op) {
44674
+ function orReValues(ops3) {
44675
+ return ops3.map(function(op) {
44676
44676
  return op.split("").map(function(char) {
44677
44677
  return "\\" + char;
44678
44678
  }).join("");
@@ -57949,7 +57949,151 @@ null == n4 || n4({ LitElement: s4 });
57949
57949
  (null !== (o4 = globalThis.litElementVersions) && void 0 !== o4 ? o4 : globalThis.litElementVersions = []).push("3.3.3");
57950
57950
 
57951
57951
  // node_modules/.pnpm/@design.estate+dees-element@2.0.25/node_modules/@design.estate/dees-element/dist_ts/dees-element.plugins.js
57952
- var isounique3 = __toESM(require_dist_ts(), 1);
57952
+ var isounique4 = __toESM(require_dist_ts(), 1);
57953
+
57954
+ // node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/index.js
57955
+ var dist_ts_exports2 = {};
57956
+ __export(dist_ts_exports2, {
57957
+ ObservableIntake: () => ObservableIntake,
57958
+ Observablemap: () => Observablemap,
57959
+ rxjs: () => smartrx_plugins_rxjs_exports
57960
+ });
57961
+
57962
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
57963
+ var dist_ts_exports = {};
57964
+ __export(dist_ts_exports, {
57965
+ CumulativeDeferred: () => CumulativeDeferred,
57966
+ Deferred: () => Deferred,
57967
+ cumulativeDefer: () => cumulativeDefer,
57968
+ defer: () => defer,
57969
+ getFirstTrueOrFalse: () => getFirstTrueOrFalse,
57970
+ map: () => map,
57971
+ rejectedPromise: () => rejectedPromise,
57972
+ resolvedPromise: () => resolvedPromise,
57973
+ timeoutAndContinue: () => timeoutAndContinue,
57974
+ timeoutWrap: () => timeoutWrap
57975
+ });
57976
+
57977
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
57978
+ var Deferred = class {
57979
+ claim() {
57980
+ if (this.claimed) {
57981
+ throw new Error("Deferred already claimed");
57982
+ }
57983
+ this.claimed = true;
57984
+ }
57985
+ get duration() {
57986
+ if (this.stoppedAt) {
57987
+ return this.stoppedAt - this.startedAt;
57988
+ } else {
57989
+ return Date.now() - this.startedAt;
57990
+ }
57991
+ }
57992
+ constructor() {
57993
+ this.claimed = false;
57994
+ this.promise = new Promise((resolve2, reject) => {
57995
+ this.resolve = (valueArg) => {
57996
+ this.status = "fulfilled";
57997
+ this.stoppedAt = Date.now();
57998
+ resolve2(valueArg);
57999
+ };
58000
+ this.reject = (reason) => {
58001
+ this.status = "rejected";
58002
+ this.stoppedAt = Date.now();
58003
+ reject(reason);
58004
+ };
58005
+ this.startedAt = Date.now();
58006
+ this.status = "pending";
58007
+ });
58008
+ }
58009
+ };
58010
+ var defer = () => {
58011
+ return new Deferred();
58012
+ };
58013
+
58014
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
58015
+ var CumulativeDeferred = class {
58016
+ constructor() {
58017
+ this.accumulatedPromises = [];
58018
+ this.deferred = defer();
58019
+ this.promise = this.deferred.promise;
58020
+ setTimeout(async () => {
58021
+ while (this.accumulatedPromises.length > 0) {
58022
+ const poppedPromise = this.accumulatedPromises.shift();
58023
+ await poppedPromise;
58024
+ }
58025
+ this.deferred.resolve();
58026
+ }, 0);
58027
+ }
58028
+ addPromise(promiseArg) {
58029
+ this.accumulatedPromises.push(promiseArg);
58030
+ }
58031
+ };
58032
+ var cumulativeDefer = () => {
58033
+ return new CumulativeDeferred();
58034
+ };
58035
+
58036
+ // node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
58037
+ var resolvedPromise = (value) => {
58038
+ return Promise.resolve(value);
58039
+ };
58040
+ var rejectedPromise = (err) => {
58041
+ return Promise.reject(err);
58042
+ };
58043
+ var map = async (inputArg, functionArg) => {
58044
+ const promiseArray = [];
58045
+ const resultArray = [];
58046
+ for (const item of inputArg) {
58047
+ const promise = functionArg(item);
58048
+ promiseArray.push(promise);
58049
+ promise.then((x2) => {
58050
+ resultArray.push(x2);
58051
+ });
58052
+ }
58053
+ await Promise.all(promiseArray);
58054
+ return resultArray;
58055
+ };
58056
+ var timeoutWrap = async (promiseArg, timeoutInMsArg, rejectArg = true) => {
58057
+ return new Promise((resolve2, reject) => {
58058
+ setTimeout(() => {
58059
+ if (rejectArg) {
58060
+ reject(new Error("timeout"));
58061
+ } else {
58062
+ resolve2(null);
58063
+ }
58064
+ }, timeoutInMsArg);
58065
+ promiseArg.then(resolve2, reject);
58066
+ });
58067
+ };
58068
+ var timeoutAndContinue = async (promiseArg, timeoutInMsArg = 6e4) => {
58069
+ return timeoutWrap(promiseArg, timeoutInMsArg, false);
58070
+ };
58071
+ var getFirstTrueOrFalse = async (promisesArg) => {
58072
+ const done = defer();
58073
+ for (const promiseArg of promisesArg) {
58074
+ promiseArg.then((resultArg) => {
58075
+ if (resultArg === true) {
58076
+ done.resolve(true);
58077
+ }
58078
+ });
58079
+ }
58080
+ Promise.all(promisesArg).then(() => {
58081
+ done.resolve(false);
58082
+ });
58083
+ return done.promise;
58084
+ };
58085
+
58086
+ // node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
58087
+ var smartrx_plugins_rxjs_exports = {};
58088
+ __export(smartrx_plugins_rxjs_exports, {
58089
+ Observable: () => Observable,
58090
+ ReplaySubject: () => ReplaySubject,
58091
+ Subject: () => Subject,
58092
+ Subscription: () => Subscription,
58093
+ from: () => from,
58094
+ fromEvent: () => fromEvent,
58095
+ ops: () => ops
58096
+ });
57953
58097
 
57954
58098
  // node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
57955
58099
  var extendStatics = function(d4, b2) {
@@ -59628,7 +59772,7 @@ function isValidDate(value) {
59628
59772
  }
59629
59773
 
59630
59774
  // node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
59631
- function map(project, thisArg) {
59775
+ function map2(project, thisArg) {
59632
59776
  return operate(function(source, subscriber) {
59633
59777
  var index = 0;
59634
59778
  source.subscribe(createOperatorSubscriber(subscriber, function(value) {
@@ -59643,7 +59787,7 @@ function callOrApply(fn, args) {
59643
59787
  return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
59644
59788
  }
59645
59789
  function mapOneOrManyArgs(fn) {
59646
- return map(function(args) {
59790
+ return map2(function(args) {
59647
59791
  return callOrApply(fn, args);
59648
59792
  });
59649
59793
  }
@@ -59715,7 +59859,7 @@ function mergeMap(project, resultSelector, concurrent) {
59715
59859
  }
59716
59860
  if (isFunction(resultSelector)) {
59717
59861
  return mergeMap(function(a3, i8) {
59718
- return map(function(b2, ii) {
59862
+ return map2(function(b2, ii) {
59719
59863
  return resultSelector(a3, b2, i8, ii);
59720
59864
  })(innerFrom(project(a3, i8)));
59721
59865
  }, concurrent);
@@ -59842,6 +59986,16 @@ function timer(dueTime, intervalOrScheduler, scheduler) {
59842
59986
  });
59843
59987
  }
59844
59988
 
59989
+ // node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/filter.js
59990
+ function filter(predicate, thisArg) {
59991
+ return operate(function(source, subscriber) {
59992
+ var index = 0;
59993
+ source.subscribe(createOperatorSubscriber(subscriber, function(value) {
59994
+ return predicate.call(thisArg, value, index++) && subscriber.next(value);
59995
+ }));
59996
+ });
59997
+ }
59998
+
59845
59999
  // node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounce.js
59846
60000
  function debounce(durationSelector) {
59847
60001
  return operate(function(source, subscriber) {
@@ -59993,6 +60147,150 @@ function throttleTime(duration, scheduler, config3) {
59993
60147
  }, config3);
59994
60148
  }
59995
60149
 
60150
+ // node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
60151
+ var ops = {
60152
+ debounce,
60153
+ debounceTime,
60154
+ map: map2,
60155
+ startWith,
60156
+ takeUntil,
60157
+ throttleTime,
60158
+ filter
60159
+ };
60160
+
60161
+ // node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observablemap.js
60162
+ var Observablemap = class {
60163
+ constructor() {
60164
+ this.observableEventEmitterBundleArray = new Array();
60165
+ this.observableEventTargetBundleArray = new Array();
60166
+ }
60167
+ /**
60168
+ * creates a hot subject if not yet registered for the event.
60169
+ * In case event has been registered before the same observable is returned.
60170
+ */
60171
+ getSubjectForEmitterEvent(emitterArg, eventArg) {
60172
+ const existingBundle = this.observableEventEmitterBundleArray.find((bundleArg) => {
60173
+ return bundleArg.eventRef === emitterArg && bundleArg.event === eventArg;
60174
+ });
60175
+ if (existingBundle) {
60176
+ return existingBundle.subject;
60177
+ } else {
60178
+ const emitterObservable = fromEvent(emitterArg, eventArg);
60179
+ const emitterSubject = new Subject();
60180
+ emitterObservable.subscribe(emitterSubject);
60181
+ const newBundle = {
60182
+ subject: emitterSubject,
60183
+ eventRef: emitterArg,
60184
+ event: eventArg
60185
+ };
60186
+ this.observableEventEmitterBundleArray.push(newBundle);
60187
+ return newBundle.subject;
60188
+ }
60189
+ }
60190
+ getSubjectForEventTarget(eventTargetArg, eventNameArg) {
60191
+ const existingBundle = this.observableEventTargetBundleArray.find((bundleArg) => {
60192
+ return bundleArg.eventRef === eventTargetArg && bundleArg.event === eventNameArg;
60193
+ });
60194
+ if (existingBundle) {
60195
+ return existingBundle.subject;
60196
+ } else {
60197
+ const emitterSubject = new Subject();
60198
+ const newBundle = {
60199
+ subject: emitterSubject,
60200
+ eventRef: eventTargetArg,
60201
+ event: eventNameArg
60202
+ };
60203
+ this.observableEventTargetBundleArray.push(newBundle);
60204
+ return newBundle.subject;
60205
+ }
60206
+ }
60207
+ };
60208
+
60209
+ // node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observableintake.js
60210
+ var ObservableIntake = class {
60211
+ constructor() {
60212
+ this.observableFunctions = {
60213
+ next: (payloadArg) => {
60214
+ },
60215
+ complete: (payloadArg) => {
60216
+ }
60217
+ };
60218
+ this.generator = null;
60219
+ this.buffered = false;
60220
+ this.payloadBuffer = [];
60221
+ this.observable = new Observable((observerArg) => {
60222
+ this.observableFunctions.next = (...args) => {
60223
+ return observerArg.next(args);
60224
+ };
60225
+ this.observableFunctions.complete = () => {
60226
+ this.completedDeffered.resolve();
60227
+ return observerArg.complete();
60228
+ };
60229
+ });
60230
+ this.completedDeffered = dist_ts_exports.defer();
60231
+ this.completed = this.completedDeffered.promise;
60232
+ }
60233
+ setObservable(observableFunc) {
60234
+ this.observable = observableFunc;
60235
+ }
60236
+ push(payloadArg) {
60237
+ if (this.buffered) {
60238
+ this.payloadBuffer.push(payloadArg);
60239
+ } else {
60240
+ this.internalPush(payloadArg);
60241
+ }
60242
+ }
60243
+ /**
60244
+ * pushes many payloads as array
60245
+ * @param payloadArgArray
60246
+ */
60247
+ pushMany(payloadArgArray) {
60248
+ for (const item of payloadArgArray) {
60249
+ this.push(item);
60250
+ }
60251
+ }
60252
+ /**
60253
+ * sets a generator to query the next pushed value
60254
+ * @param generatorArg
60255
+ */
60256
+ setGenerator(generatorArg) {
60257
+ this.generator = generatorArg;
60258
+ }
60259
+ makeBuffered() {
60260
+ this.buffered = true;
60261
+ }
60262
+ subscribe(...args) {
60263
+ return this.observable.subscribe(...args);
60264
+ }
60265
+ /**
60266
+ * request the next values in the quantity specified
60267
+ * @param howManyArg if a generator is set, of a buffer exists, this allows retrieving values
60268
+ */
60269
+ request(howManyArg) {
60270
+ if (howManyArg === 0) {
60271
+ return;
60272
+ } else {
60273
+ for (let i8 = 0; i8 !== howManyArg; i8++) {
60274
+ if (this.payloadBuffer.length > 0) {
60275
+ this.internalPush(this.payloadBuffer.shift());
60276
+ } else {
60277
+ const nextPayload = this.generator.next();
60278
+ this.internalPush(nextPayload.value);
60279
+ }
60280
+ }
60281
+ }
60282
+ }
60283
+ /**
60284
+ * signals the completion of this observable
60285
+ */
60286
+ signalComplete() {
60287
+ this.observableFunctions.complete();
60288
+ }
60289
+ internalPush(payloadArg) {
60290
+ this.observableFunctions.next(payloadArg);
60291
+ }
60292
+ };
60293
+
59996
60294
  // node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/decorators/property.js
59997
60295
  var i3 = (i8, e12) => "method" === e12.kind && e12.descriptor && !("value" in e12.descriptor) ? { ...e12, finisher(n9) {
59998
60296
  n9.createProperty(e12.key, i8);
@@ -60008,19 +60306,19 @@ function n5(n9) {
60008
60306
  return (t6, o9) => void 0 !== o9 ? e4(n9, t6, o9) : i3(n9, t6);
60009
60307
  }
60010
60308
 
60011
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/index.js
60012
- var dist_ts_exports22 = {};
60013
- __export(dist_ts_exports22, {
60309
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/index.js
60310
+ var dist_ts_exports32 = {};
60311
+ __export(dist_ts_exports32, {
60014
60312
  DomTools: () => DomTools,
60015
60313
  TypedRequest: () => TypedRequest,
60016
60314
  breakpoints: () => domtools_css_breakpoints_exports,
60017
60315
  css: () => domtools_css_exports,
60018
60316
  elementBasic: () => domtools_elementbasic_exports,
60019
60317
  plugins: () => plugins,
60020
- rxjs: () => smartrx_plugins_rxjs_exports2
60318
+ rxjs: () => smartrx_plugins_rxjs_exports
60021
60319
  });
60022
60320
 
60023
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
60321
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
60024
60322
  var domtools_elementbasic_exports = {};
60025
60323
  __export(domtools_elementbasic_exports, {
60026
60324
  setup: () => setup,
@@ -60029,14 +60327,14 @@ __export(domtools_elementbasic_exports, {
60029
60327
  });
60030
60328
 
60031
60329
  // node_modules/.pnpm/@designestate+dees-comms@1.0.22/node_modules/@designestate/dees-comms/dist_ts/index.js
60032
- var dist_ts_exports15 = {};
60033
- __export(dist_ts_exports15, {
60330
+ var dist_ts_exports16 = {};
60331
+ __export(dist_ts_exports16, {
60034
60332
  DeesComms: () => DeesComms
60035
60333
  });
60036
60334
 
60037
60335
  // node_modules/.pnpm/@apiglobal+typedrequest@2.0.12/node_modules/@apiglobal/typedrequest/dist_ts/index.js
60038
- var dist_ts_exports14 = {};
60039
- __export(dist_ts_exports14, {
60336
+ var dist_ts_exports15 = {};
60337
+ __export(dist_ts_exports15, {
60040
60338
  TypedHandler: () => TypedHandler,
60041
60339
  TypedRequest: () => TypedRequest,
60042
60340
  TypedResponseError: () => TypedResponseError,
@@ -60049,8 +60347,8 @@ var typedRequestInterfaces = __toESM(require_dist(), 1);
60049
60347
  var isounique2 = __toESM(require_dist_ts2(), 1);
60050
60348
 
60051
60349
  // node_modules/.pnpm/@pushrocks+lik@6.0.2/node_modules/@pushrocks/lik/dist_ts/index.js
60052
- var dist_ts_exports5 = {};
60053
- __export(dist_ts_exports5, {
60350
+ var dist_ts_exports6 = {};
60351
+ __export(dist_ts_exports6, {
60054
60352
  AsyncExecutionStack: () => AsyncExecutionStack,
60055
60353
  FastMap: () => FastMap,
60056
60354
  Interest: () => Interest,
@@ -60068,8 +60366,8 @@ __export(dist_ts_exports5, {
60068
60366
  var smartdelay2 = __toESM(require_dist_ts4(), 1);
60069
60367
 
60070
60368
  // node_modules/.pnpm/@pushrocks+smartmatch@2.0.0/node_modules/@pushrocks/smartmatch/dist_ts/index.js
60071
- var dist_ts_exports2 = {};
60072
- __export(dist_ts_exports2, {
60369
+ var dist_ts_exports3 = {};
60370
+ __export(dist_ts_exports3, {
60073
60371
  SmartMatch: () => SmartMatch
60074
60372
  });
60075
60373
 
@@ -60183,30 +60481,30 @@ var SmartMatch = class {
60183
60481
  var smartpromise2 = __toESM(require_dist_ts3(), 1);
60184
60482
 
60185
60483
  // node_modules/.pnpm/@pushrocks+smartrx@3.0.2/node_modules/@pushrocks/smartrx/dist_ts/index.js
60186
- var dist_ts_exports4 = {};
60187
- __export(dist_ts_exports4, {
60188
- ObservableIntake: () => ObservableIntake,
60189
- Observablemap: () => Observablemap,
60484
+ var dist_ts_exports5 = {};
60485
+ __export(dist_ts_exports5, {
60486
+ ObservableIntake: () => ObservableIntake2,
60487
+ Observablemap: () => Observablemap2,
60190
60488
  rxjs: () => smartrx_plugins_rxjs_exports2
60191
60489
  });
60192
60490
 
60193
60491
  // node_modules/.pnpm/@pushrocks+smartpromise@4.0.2/node_modules/@pushrocks/smartpromise/dist_ts/index.js
60194
- var dist_ts_exports3 = {};
60195
- __export(dist_ts_exports3, {
60196
- CumulativeDeferred: () => CumulativeDeferred,
60197
- Deferred: () => Deferred,
60198
- cumulativeDefer: () => cumulativeDefer,
60492
+ var dist_ts_exports4 = {};
60493
+ __export(dist_ts_exports4, {
60494
+ CumulativeDeferred: () => CumulativeDeferred2,
60495
+ Deferred: () => Deferred2,
60496
+ cumulativeDefer: () => cumulativeDefer2,
60199
60497
  defer: () => defer2,
60200
- getFirstTrueOrFalse: () => getFirstTrueOrFalse,
60201
- map: () => map2,
60202
- rejectedPromise: () => rejectedPromise,
60203
- resolvedPromise: () => resolvedPromise,
60204
- timeoutAndContinue: () => timeoutAndContinue,
60205
- timeoutWrap: () => timeoutWrap
60498
+ getFirstTrueOrFalse: () => getFirstTrueOrFalse2,
60499
+ map: () => map3,
60500
+ rejectedPromise: () => rejectedPromise2,
60501
+ resolvedPromise: () => resolvedPromise2,
60502
+ timeoutAndContinue: () => timeoutAndContinue2,
60503
+ timeoutWrap: () => timeoutWrap2
60206
60504
  });
60207
60505
 
60208
60506
  // node_modules/.pnpm/@pushrocks+smartpromise@4.0.2/node_modules/@pushrocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
60209
- var Deferred = class {
60507
+ var Deferred2 = class {
60210
60508
  claim() {
60211
60509
  if (this.claimed) {
60212
60510
  throw new Error("Deferred already claimed");
@@ -60239,11 +60537,11 @@ var Deferred = class {
60239
60537
  }
60240
60538
  };
60241
60539
  var defer2 = () => {
60242
- return new Deferred();
60540
+ return new Deferred2();
60243
60541
  };
60244
60542
 
60245
60543
  // node_modules/.pnpm/@pushrocks+smartpromise@4.0.2/node_modules/@pushrocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
60246
- var CumulativeDeferred = class {
60544
+ var CumulativeDeferred2 = class {
60247
60545
  constructor() {
60248
60546
  this.accumulatedPromises = [];
60249
60547
  this.deferred = defer2();
@@ -60260,18 +60558,18 @@ var CumulativeDeferred = class {
60260
60558
  this.accumulatedPromises.push(promiseArg);
60261
60559
  }
60262
60560
  };
60263
- var cumulativeDefer = () => {
60264
- return new CumulativeDeferred();
60561
+ var cumulativeDefer2 = () => {
60562
+ return new CumulativeDeferred2();
60265
60563
  };
60266
60564
 
60267
60565
  // node_modules/.pnpm/@pushrocks+smartpromise@4.0.2/node_modules/@pushrocks/smartpromise/dist_ts/index.js
60268
- var resolvedPromise = (value) => {
60566
+ var resolvedPromise2 = (value) => {
60269
60567
  return Promise.resolve(value);
60270
60568
  };
60271
- var rejectedPromise = (err) => {
60569
+ var rejectedPromise2 = (err) => {
60272
60570
  return Promise.reject(err);
60273
60571
  };
60274
- var map2 = async (inputArg, functionArg) => {
60572
+ var map3 = async (inputArg, functionArg) => {
60275
60573
  const promiseArray = [];
60276
60574
  const resultArray = [];
60277
60575
  for (const item of inputArg) {
@@ -60284,7 +60582,7 @@ var map2 = async (inputArg, functionArg) => {
60284
60582
  await Promise.all(promiseArray);
60285
60583
  return resultArray;
60286
60584
  };
60287
- var timeoutWrap = async (promiseArg, timeoutInMsArg, rejectArg = true) => {
60585
+ var timeoutWrap2 = async (promiseArg, timeoutInMsArg, rejectArg = true) => {
60288
60586
  return new Promise((resolve2, reject) => {
60289
60587
  setTimeout(() => {
60290
60588
  if (rejectArg) {
@@ -60296,10 +60594,10 @@ var timeoutWrap = async (promiseArg, timeoutInMsArg, rejectArg = true) => {
60296
60594
  promiseArg.then(resolve2, reject);
60297
60595
  });
60298
60596
  };
60299
- var timeoutAndContinue = async (promiseArg, timeoutInMsArg = 6e4) => {
60300
- return timeoutWrap(promiseArg, timeoutInMsArg, false);
60597
+ var timeoutAndContinue2 = async (promiseArg, timeoutInMsArg = 6e4) => {
60598
+ return timeoutWrap2(promiseArg, timeoutInMsArg, false);
60301
60599
  };
60302
- var getFirstTrueOrFalse = async (promisesArg) => {
60600
+ var getFirstTrueOrFalse2 = async (promisesArg) => {
60303
60601
  const done = defer2();
60304
60602
  for (const promiseArg of promisesArg) {
60305
60603
  promiseArg.then((resultArg) => {
@@ -60322,19 +60620,19 @@ __export(smartrx_plugins_rxjs_exports2, {
60322
60620
  Subject: () => Subject,
60323
60621
  Subscription: () => Subscription,
60324
60622
  fromEvent: () => fromEvent,
60325
- ops: () => ops
60623
+ ops: () => ops2
60326
60624
  });
60327
- var ops = {
60625
+ var ops2 = {
60328
60626
  debounce,
60329
60627
  debounceTime,
60330
- map,
60628
+ map: map2,
60331
60629
  startWith,
60332
60630
  takeUntil,
60333
60631
  throttleTime
60334
60632
  };
60335
60633
 
60336
60634
  // node_modules/.pnpm/@pushrocks+smartrx@3.0.2/node_modules/@pushrocks/smartrx/dist_ts/smartrx.classes.observablemap.js
60337
- var Observablemap = class {
60635
+ var Observablemap2 = class {
60338
60636
  constructor() {
60339
60637
  this.observableEventEmitterBundleArray = new Array();
60340
60638
  this.observableEventTargetBundleArray = new Array();
@@ -60382,7 +60680,7 @@ var Observablemap = class {
60382
60680
  };
60383
60681
 
60384
60682
  // node_modules/.pnpm/@pushrocks+smartrx@3.0.2/node_modules/@pushrocks/smartrx/dist_ts/smartrx.classes.observableintake.js
60385
- var ObservableIntake = class {
60683
+ var ObservableIntake2 = class {
60386
60684
  constructor() {
60387
60685
  this.observableFunctions = {
60388
60686
  next: (payloadArg) => {
@@ -60402,7 +60700,7 @@ var ObservableIntake = class {
60402
60700
  return observerArg.complete();
60403
60701
  };
60404
60702
  });
60405
- this.completedDeffered = dist_ts_exports3.defer();
60703
+ this.completedDeffered = dist_ts_exports4.defer();
60406
60704
  this.completed = this.completedDeffered.promise;
60407
60705
  }
60408
60706
  setObservable(observableFunc) {
@@ -60467,8 +60765,8 @@ var ObservableIntake = class {
60467
60765
  };
60468
60766
 
60469
60767
  // node_modules/.pnpm/@pushrocks+smarttime@4.0.1/node_modules/@pushrocks/smarttime/dist_ts/index.js
60470
- var dist_ts_exports6 = {};
60471
- __export(dist_ts_exports6, {
60768
+ var dist_ts_exports7 = {};
60769
+ __export(dist_ts_exports7, {
60472
60770
  CronJob: () => CronJob,
60473
60771
  CronManager: () => CronManager,
60474
60772
  ExtendedDate: () => ExtendedDate,
@@ -61305,7 +61603,7 @@ var getMilliSecondsAsHumanReadableString = (milliSecondsArg) => {
61305
61603
  var CronManager = class {
61306
61604
  constructor() {
61307
61605
  this.status = "stopped";
61308
- this.cronjobs = new dist_ts_exports5.ObjectMap();
61606
+ this.cronjobs = new dist_ts_exports6.ObjectMap();
61309
61607
  }
61310
61608
  addCronjob(cronIdentifierArg, cronFunctionArg) {
61311
61609
  const newCronJob = new CronJob(this, cronIdentifierArg, cronFunctionArg);
@@ -61831,7 +62129,7 @@ var ObjectMap = class {
61831
62129
  */
61832
62130
  constructor() {
61833
62131
  this.fastMap = new FastMap();
61834
- this.eventSubject = new dist_ts_exports4.rxjs.Subject();
62132
+ this.eventSubject = new dist_ts_exports5.rxjs.Subject();
61835
62133
  }
61836
62134
  /**
61837
62135
  * adds an object mapped to a string
@@ -62036,7 +62334,7 @@ var Interest = class {
62036
62334
  *
62037
62335
  */
62038
62336
  constructor(interestMapArg, interestArg, comparisonFuncArg, optionsArg) {
62039
- this.destructionTimer = new dist_ts_exports6.Timer(1e4);
62337
+ this.destructionTimer = new dist_ts_exports7.Timer(1e4);
62040
62338
  this.isFullfilled = false;
62041
62339
  this.fullfillmentStore = [];
62042
62340
  this.interestDeferred = new smartpromise2.Deferred();
@@ -62082,7 +62380,7 @@ var Interest = class {
62082
62380
  var InterestMap = class {
62083
62381
  constructor(comparisonFuncArg, optionsArg = {}) {
62084
62382
  this.interestObjectMap = new ObjectMap();
62085
- this.interestObservable = new dist_ts_exports4.ObservableIntake();
62383
+ this.interestObservable = new dist_ts_exports5.ObservableIntake();
62086
62384
  this.comparisonFunc = comparisonFuncArg;
62087
62385
  this.options = optionsArg;
62088
62386
  }
@@ -62270,7 +62568,7 @@ var Stringmap = class {
62270
62568
  * checks stringPresence with minimatch
62271
62569
  */
62272
62570
  checkMinimatch(miniMatchStringArg) {
62273
- const smartMatchInstance = new dist_ts_exports2.SmartMatch(miniMatchStringArg);
62571
+ const smartMatchInstance = new dist_ts_exports3.SmartMatch(miniMatchStringArg);
62274
62572
  let foundMatch = false;
62275
62573
  for (const stringItem of this._stringArray) {
62276
62574
  if (smartMatchInstance.match(stringItem)) {
@@ -62333,7 +62631,7 @@ var TimedAggregtor = class {
62333
62631
  }
62334
62632
  checkAggregationStatus() {
62335
62633
  const addAggregationTimer = () => {
62336
- this.aggregationTimer = new dist_ts_exports6.Timer(this.options.aggregationIntervalInMillis);
62634
+ this.aggregationTimer = new dist_ts_exports7.Timer(this.options.aggregationIntervalInMillis);
62337
62635
  this.aggregationTimer.completed.then(() => {
62338
62636
  const aggregateForProcessing = this.storageArray;
62339
62637
  if (aggregateForProcessing.length === 0) {
@@ -62472,14 +62770,14 @@ var smartdelay3 = __toESM(require_dist_ts4(), 1);
62472
62770
  var smartpromise4 = __toESM(require_dist_ts3(), 1);
62473
62771
 
62474
62772
  // node_modules/.pnpm/@pushrocks+webrequest@3.0.28/node_modules/@pushrocks/webrequest/dist_ts/index.js
62475
- var dist_ts_exports13 = {};
62476
- __export(dist_ts_exports13, {
62773
+ var dist_ts_exports14 = {};
62774
+ __export(dist_ts_exports14, {
62477
62775
  WebRequest: () => WebRequest
62478
62776
  });
62479
62777
 
62480
62778
  // node_modules/.pnpm/@pushrocks+smartdelay@3.0.1/node_modules/@pushrocks/smartdelay/dist_ts/index.js
62481
- var dist_ts_exports7 = {};
62482
- __export(dist_ts_exports7, {
62779
+ var dist_ts_exports8 = {};
62780
+ __export(dist_ts_exports8, {
62483
62781
  Timeout: () => Timeout,
62484
62782
  delayFor: () => delayFor,
62485
62783
  delayForRandom: () => delayForRandom
@@ -62529,8 +62827,8 @@ var Timeout = class {
62529
62827
  };
62530
62828
 
62531
62829
  // node_modules/.pnpm/@pushrocks+smartenv@5.0.5/node_modules/@pushrocks/smartenv/dist_ts/index.js
62532
- var dist_ts_exports8 = {};
62533
- __export(dist_ts_exports8, {
62830
+ var dist_ts_exports9 = {};
62831
+ __export(dist_ts_exports9, {
62534
62832
  Smartenv: () => Smartenv
62535
62833
  });
62536
62834
 
@@ -62658,8 +62956,8 @@ var Smartenv = class {
62658
62956
  };
62659
62957
 
62660
62958
  // node_modules/.pnpm/@pushrocks+smartjson@5.0.6/node_modules/@pushrocks/smartjson/dist_ts/index.js
62661
- var dist_ts_exports10 = {};
62662
- __export(dist_ts_exports10, {
62959
+ var dist_ts_exports11 = {};
62960
+ __export(dist_ts_exports11, {
62663
62961
  Smartjson: () => Smartjson,
62664
62962
  deepEqualObjects: () => deepEqualObjects,
62665
62963
  foldDec: () => foldDec,
@@ -62670,8 +62968,8 @@ __export(dist_ts_exports10, {
62670
62968
  });
62671
62969
 
62672
62970
  // node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/index.js
62673
- var dist_ts_exports9 = {};
62674
- __export(dist_ts_exports9, {
62971
+ var dist_ts_exports10 = {};
62972
+ __export(dist_ts_exports10, {
62675
62973
  Base64: () => Base64,
62676
62974
  Domain: () => Domain,
62677
62975
  GitRepo: () => GitRepo,
@@ -63221,10 +63519,10 @@ var stringify = (objArg, simpleOrderArray, optionsArg = {}) => {
63221
63519
  };
63222
63520
  var stringifyBase64 = (...args) => {
63223
63521
  const stringifiedResult = stringify(...args);
63224
- return dist_ts_exports9.base64.encodeUri(stringifiedResult);
63522
+ return dist_ts_exports10.base64.encodeUri(stringifiedResult);
63225
63523
  };
63226
63524
  var parseBase64 = (base64JsonStringArg) => {
63227
- const simpleStringified = dist_ts_exports9.base64.decode(base64JsonStringArg);
63525
+ const simpleStringified = dist_ts_exports10.base64.decode(base64JsonStringArg);
63228
63526
  return parse(simpleStringified);
63229
63527
  };
63230
63528
  var Smartjson = class {
@@ -63289,8 +63587,8 @@ var deepEqualObjects = (object1, object2) => {
63289
63587
  };
63290
63588
 
63291
63589
  // node_modules/.pnpm/@pushrocks+webstore@2.0.8/node_modules/@pushrocks/webstore/dist_ts/index.js
63292
- var dist_ts_exports12 = {};
63293
- __export(dist_ts_exports12, {
63590
+ var dist_ts_exports13 = {};
63591
+ __export(dist_ts_exports13, {
63294
63592
  TypedrequestCache: () => TypedrequestCache,
63295
63593
  WebStore: () => WebStore
63296
63594
  });
@@ -63526,7 +63824,7 @@ replaceTraps((oldTraps) => ({
63526
63824
  var WebStore = class {
63527
63825
  constructor(optionsArg) {
63528
63826
  this.initCalled = false;
63529
- this.readyDeferred = dist_ts_exports3.defer();
63827
+ this.readyDeferred = dist_ts_exports4.defer();
63530
63828
  this.options = optionsArg;
63531
63829
  }
63532
63830
  async init() {
@@ -63535,7 +63833,7 @@ var WebStore = class {
63535
63833
  return;
63536
63834
  }
63537
63835
  this.initCalled = true;
63538
- const smartenv = new dist_ts_exports8.Smartenv();
63836
+ const smartenv = new dist_ts_exports9.Smartenv();
63539
63837
  if (!smartenv.isBrowser && !globalThis.indexedDB) {
63540
63838
  console.log("hey");
63541
63839
  console.log(globalThis.indexedDB);
@@ -63589,7 +63887,7 @@ var TypedrequestCache = class {
63589
63887
  });
63590
63888
  }
63591
63889
  buildKey(requestArg) {
63592
- return dist_ts_exports10.stringify({
63890
+ return dist_ts_exports11.stringify({
63593
63891
  method: requestArg.method,
63594
63892
  request: requestArg.request
63595
63893
  });
@@ -63625,7 +63923,7 @@ var _WebRequest = class {
63625
63923
  return this.neededPolyfillsLoadedDeferred.promise;
63626
63924
  }
63627
63925
  this.polyfillStatusEvaluated = true;
63628
- const smartenv = new dist_ts_exports8.Smartenv();
63926
+ const smartenv = new dist_ts_exports9.Smartenv();
63629
63927
  if (!smartenv.isBrowser) {
63630
63928
  this.polyfillStatusEvaluated = true;
63631
63929
  const fetchMod = await smartenv.getSafeNodeModule("@adobe/fetch");
@@ -63646,7 +63944,7 @@ var _WebRequest = class {
63646
63944
  }
63647
63945
  constructor(optionsArg = {}) {
63648
63946
  this.optionsArg = optionsArg;
63649
- this.cacheStore = new dist_ts_exports12.WebStore({
63947
+ this.cacheStore = new dist_ts_exports13.WebStore({
63650
63948
  dbName: "webrequest",
63651
63949
  storeName: "webrequest"
63652
63950
  });
@@ -63663,7 +63961,7 @@ var _WebRequest = class {
63663
63961
  useCache: useCacheArg
63664
63962
  });
63665
63963
  const responseText = await response.text();
63666
- const responseResult = dist_ts_exports10.parse(responseText);
63964
+ const responseResult = dist_ts_exports11.parse(responseText);
63667
63965
  return responseResult;
63668
63966
  }
63669
63967
  /**
@@ -63676,11 +63974,11 @@ var _WebRequest = class {
63676
63974
  headers: {
63677
63975
  "Content-Type": "application/json"
63678
63976
  },
63679
- body: dist_ts_exports10.stringify(requestBody),
63977
+ body: dist_ts_exports11.stringify(requestBody),
63680
63978
  useCache: useCacheArg
63681
63979
  });
63682
63980
  const responseText = await response.text();
63683
- const responseResult = dist_ts_exports10.parse(responseText);
63981
+ const responseResult = dist_ts_exports11.parse(responseText);
63684
63982
  return responseResult;
63685
63983
  }
63686
63984
  /**
@@ -63693,10 +63991,10 @@ var _WebRequest = class {
63693
63991
  headers: {
63694
63992
  "Content-Type": "application/json"
63695
63993
  },
63696
- body: dist_ts_exports10.stringify(requestBody)
63994
+ body: dist_ts_exports11.stringify(requestBody)
63697
63995
  });
63698
63996
  const responseText = await response.text();
63699
- const responseResult = dist_ts_exports10.parse(responseText);
63997
+ const responseResult = dist_ts_exports11.parse(responseText);
63700
63998
  return responseResult;
63701
63999
  }
63702
64000
  /**
@@ -63711,7 +64009,7 @@ var _WebRequest = class {
63711
64009
  method: "GET"
63712
64010
  });
63713
64011
  const responseText = await response.text();
63714
- const responseResult = dist_ts_exports10.parse(responseText);
64012
+ const responseResult = dist_ts_exports11.parse(responseText);
63715
64013
  return responseResult;
63716
64014
  }
63717
64015
  async request(urlArg, optionsArg) {
@@ -63725,7 +64023,7 @@ var _WebRequest = class {
63725
64023
  if (optionsArg.timeoutMs) {
63726
64024
  if (fetchObject.AbortController) {
63727
64025
  controller = new fetchObject.AbortController();
63728
- dist_ts_exports7.delayFor(optionsArg.timeoutMs).then(() => {
64026
+ dist_ts_exports8.delayFor(optionsArg.timeoutMs).then(() => {
63729
64027
  controller.abort();
63730
64028
  });
63731
64029
  } else {
@@ -63734,7 +64032,7 @@ var _WebRequest = class {
63734
64032
  };
63735
64033
  }
63736
64034
  }
63737
- let cachedResponseDeferred = dist_ts_exports3.defer();
64035
+ let cachedResponseDeferred = dist_ts_exports4.defer();
63738
64036
  let cacheUsed = false;
63739
64037
  if (optionsArg.useCache && await this.cacheStore.check(urlArg)) {
63740
64038
  const responseBuffer = await this.cacheStore.get(urlArg);
@@ -63786,7 +64084,7 @@ var _WebRequest = class {
63786
64084
  requestHistory.push(historyEntryTypeArg);
63787
64085
  if (historyEntryTypeArg === "429") {
63788
64086
  console.log("got 429, so waiting a little bit.");
63789
- await dist_ts_exports7.delayFor(Math.floor(Math.random() * (2e3 - 1e3 + 1)) + 1e3);
64087
+ await dist_ts_exports8.delayFor(Math.floor(Math.random() * (2e3 - 1e3 + 1)) + 1e3);
63790
64088
  }
63791
64089
  let numOfHistoryType = 0;
63792
64090
  for (const entry of requestHistory) {
@@ -63833,7 +64131,7 @@ var WebRequest = _WebRequest;
63833
64131
  _WebRequest.polyfillStatusEvaluated = false;
63834
64132
  })();
63835
64133
  (() => {
63836
- _WebRequest.neededPolyfillsLoadedDeferred = dist_ts_exports3.defer();
64134
+ _WebRequest.neededPolyfillsLoadedDeferred = dist_ts_exports4.defer();
63837
64135
  })();
63838
64136
 
63839
64137
  // node_modules/.pnpm/@apiglobal+typedrequest@2.0.12/node_modules/@apiglobal/typedrequest/dist_ts/typedrequest.classes.typedresponseerror.js
@@ -63883,9 +64181,9 @@ var TypedHandler = class {
63883
64181
  // node_modules/.pnpm/@apiglobal+typedrequest@2.0.12/node_modules/@apiglobal/typedrequest/dist_ts/typedrequest.classes.typedrouter.js
63884
64182
  var TypedRouter = class {
63885
64183
  constructor() {
63886
- this.routerMap = new dist_ts_exports5.ObjectMap();
63887
- this.handlerMap = new dist_ts_exports5.ObjectMap();
63888
- this.fireEventInterestMap = new dist_ts_exports5.InterestMap((correlationId) => correlationId);
64184
+ this.routerMap = new dist_ts_exports6.ObjectMap();
64185
+ this.handlerMap = new dist_ts_exports6.ObjectMap();
64186
+ this.fireEventInterestMap = new dist_ts_exports6.InterestMap((correlationId) => correlationId);
63889
64187
  }
63890
64188
  /**
63891
64189
  * adds the handler to the routing map
@@ -63990,7 +64288,7 @@ var TypedTarget = class {
63990
64288
  };
63991
64289
 
63992
64290
  // node_modules/.pnpm/@apiglobal+typedrequest@2.0.12/node_modules/@apiglobal/typedrequest/dist_ts/typedrequest.classes.typedrequest.js
63993
- var webrequestInstance = new dist_ts_exports13.WebRequest();
64291
+ var webrequestInstance = new dist_ts_exports14.WebRequest();
63994
64292
  var TypedRequest = class {
63995
64293
  /**
63996
64294
  * note the overloading is thought to deal with promises
@@ -64837,8 +65135,8 @@ var DeesComms = class {
64837
65135
  // receiving messages
64838
65136
  constructor() {
64839
65137
  this.broadcastChannel = new BroadcastChannel4("dees-comms");
64840
- this.typedrouter = new dist_ts_exports14.TypedRouter();
64841
- this.typedtarget = new dist_ts_exports14.TypedTarget({
65138
+ this.typedrouter = new dist_ts_exports15.TypedRouter();
65139
+ this.typedtarget = new dist_ts_exports15.TypedTarget({
64842
65140
  postMethodWithTypedRouter: async (messageArg) => {
64843
65141
  this.postMessage(messageArg);
64844
65142
  },
@@ -64858,7 +65156,7 @@ var DeesComms = class {
64858
65156
  * creates a typedrequest with this classes postMessage as postMethod
64859
65157
  */
64860
65158
  createTypedRequest(methodName) {
64861
- const typedrequest = new dist_ts_exports14.TypedRequest(this.typedtarget, methodName);
65159
+ const typedrequest = new dist_ts_exports15.TypedRequest(this.typedtarget, methodName);
64862
65160
  return typedrequest;
64863
65161
  }
64864
65162
  /**
@@ -64871,13 +65169,638 @@ var DeesComms = class {
64871
65169
  * subscribe to messages
64872
65170
  */
64873
65171
  async createTypedHandler(methodArg, handlerFunction) {
64874
- this.typedrouter.addTypedHandler(new dist_ts_exports14.TypedHandler(methodArg, handlerFunction));
65172
+ this.typedrouter.addTypedHandler(new dist_ts_exports15.TypedHandler(methodArg, handlerFunction));
64875
65173
  }
64876
65174
  };
64877
65175
 
64878
- // node_modules/.pnpm/@pushrocks+smartrouter@1.0.16/node_modules/@pushrocks/smartrouter/dist_ts/index.js
64879
- var dist_ts_exports16 = {};
64880
- __export(dist_ts_exports16, {
65176
+ // node_modules/.pnpm/@push.rocks+smartdelay@3.0.5/node_modules/@push.rocks/smartdelay/dist_ts/index.js
65177
+ var dist_ts_exports17 = {};
65178
+ __export(dist_ts_exports17, {
65179
+ Timeout: () => Timeout2,
65180
+ delayFor: () => delayFor2,
65181
+ delayForRandom: () => delayForRandom2
65182
+ });
65183
+ var delayFor2 = async (timeInMillisecondArg, passOnArg, unrefedArg = false) => {
65184
+ const timeout = new Timeout2(timeInMillisecondArg, null, unrefedArg);
65185
+ await timeout.promise;
65186
+ return passOnArg;
65187
+ };
65188
+ var delayForRandom2 = async (timeMinInMillisecondArg, timeMaxInMillisecondArg, passOnArg, unrefedArg = false) => {
65189
+ await delayFor2(Math.random() * (timeMaxInMillisecondArg - timeMinInMillisecondArg) + timeMinInMillisecondArg, null, unrefedArg);
65190
+ return passOnArg;
65191
+ };
65192
+ var Timeout2 = class {
65193
+ constructor(timeInMillisecondArg, passOn, unrefedArg = false) {
65194
+ this._cancelled = false;
65195
+ this.timeoutInMillis = timeInMillisecondArg;
65196
+ this._deferred = defer();
65197
+ this.promise = this._deferred.promise;
65198
+ this._timeout = setTimeout(() => {
65199
+ if (!this._cancelled) {
65200
+ this._deferred.resolve(passOn);
65201
+ }
65202
+ }, timeInMillisecondArg);
65203
+ this.started = Date.now();
65204
+ if (unrefedArg) {
65205
+ this.makeUnrefed();
65206
+ }
65207
+ }
65208
+ /**
65209
+ * unreffing a timeout causes the node process to not wait for completion before exit
65210
+ */
65211
+ makeUnrefed() {
65212
+ this._timeout.unref();
65213
+ }
65214
+ /**
65215
+ * cancels the timer
65216
+ */
65217
+ cancel() {
65218
+ this._cancelled = true;
65219
+ clearTimeout(this._timeout);
65220
+ }
65221
+ getTimeLeft() {
65222
+ const result = this.started + this.timeoutInMillis - Date.now();
65223
+ return result > 0 ? result : 0;
65224
+ }
65225
+ };
65226
+
65227
+ // node_modules/.pnpm/@push.rocks+smartjson@5.0.8/node_modules/@push.rocks/smartjson/dist_ts/index.js
65228
+ var dist_ts_exports20 = {};
65229
+ __export(dist_ts_exports20, {
65230
+ Smartjson: () => Smartjson2,
65231
+ deepEqualObjects: () => deepEqualObjects2,
65232
+ foldDec: () => foldDec2,
65233
+ parse: () => parse2,
65234
+ parseBase64: () => parseBase642,
65235
+ stringify: () => stringify2,
65236
+ stringifyBase64: () => stringifyBase642
65237
+ });
65238
+
65239
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/index.js
65240
+ var dist_ts_exports19 = {};
65241
+ __export(dist_ts_exports19, {
65242
+ Base64: () => Base642,
65243
+ Domain: () => Domain2,
65244
+ GitRepo: () => GitRepo2,
65245
+ base64: () => base642,
65246
+ create: () => smartstring_create_exports2,
65247
+ docker: () => smartstring_docker_exports2,
65248
+ indent: () => smartstring_indent_exports2,
65249
+ normalize: () => smartstring_normalize_exports2,
65250
+ type: () => smartstring_type_exports2
65251
+ });
65252
+
65253
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
65254
+ var smartstring_create_exports2 = {};
65255
+ __export(smartstring_create_exports2, {
65256
+ createCryptoRandomString: () => createCryptoRandomString2,
65257
+ createRandomString: () => createRandomString2
65258
+ });
65259
+
65260
+ // node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.plugins.js
65261
+ var smartpromise5 = __toESM(require_dist_ts3(), 1);
65262
+
65263
+ // node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
65264
+ var Smartenv2 = class {
65265
+ constructor() {
65266
+ this.loadedScripts = [];
65267
+ }
65268
+ async getEnvAwareModule(optionsArg) {
65269
+ if (this.isNode) {
65270
+ const moduleResult = await this.getSafeNodeModule(optionsArg.nodeModuleName);
65271
+ return moduleResult;
65272
+ } else if (this.isBrowser) {
65273
+ const moduleResult = await this.getSafeWebModule(optionsArg.webUrlArg, optionsArg.getFunction);
65274
+ return moduleResult;
65275
+ } else {
65276
+ console.error("platform for loading not supported by smartenv");
65277
+ }
65278
+ }
65279
+ async getSafeNodeModule(moduleNameArg) {
65280
+ if (!this.isNode) {
65281
+ console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}`);
65282
+ return;
65283
+ }
65284
+ return new Function(`return import('${moduleNameArg}')`)();
65285
+ }
65286
+ async getSafeWebModule(urlArg, getFunctionArg) {
65287
+ if (!this.isBrowser) {
65288
+ console.error("You tried to load a web module in a wrong context");
65289
+ return;
65290
+ }
65291
+ if (this.loadedScripts.includes(urlArg)) {
65292
+ return getFunctionArg();
65293
+ } else {
65294
+ this.loadedScripts.push(urlArg);
65295
+ }
65296
+ const done = smartpromise5.defer();
65297
+ if (globalThis.importScripts) {
65298
+ globalThis.importScripts(urlArg);
65299
+ done.resolve();
65300
+ } else {
65301
+ const script = document.createElement("script");
65302
+ script.onload = () => {
65303
+ done.resolve();
65304
+ };
65305
+ script.src = urlArg;
65306
+ document.head.appendChild(script);
65307
+ }
65308
+ await done.promise;
65309
+ return getFunctionArg();
65310
+ }
65311
+ get runtimeEnv() {
65312
+ if (typeof process !== "undefined") {
65313
+ return "node";
65314
+ } else {
65315
+ return "browser";
65316
+ }
65317
+ }
65318
+ get isBrowser() {
65319
+ return !this.isNode;
65320
+ }
65321
+ get userAgent() {
65322
+ if (this.isBrowser) {
65323
+ return navigator.userAgent;
65324
+ } else {
65325
+ return "undefined";
65326
+ }
65327
+ }
65328
+ get isNode() {
65329
+ return this.runtimeEnv === "node";
65330
+ }
65331
+ get nodeVersion() {
65332
+ return process.version;
65333
+ }
65334
+ get isCI() {
65335
+ if (this.isNode) {
65336
+ if (process.env.CI) {
65337
+ return true;
65338
+ } else {
65339
+ return false;
65340
+ }
65341
+ } else {
65342
+ return false;
65343
+ }
65344
+ }
65345
+ async isMacAsync() {
65346
+ if (this.isNode) {
65347
+ const os = await this.getSafeNodeModule("os");
65348
+ return os.platform() === "darwin";
65349
+ } else {
65350
+ return false;
65351
+ }
65352
+ }
65353
+ async isWindowsAsync() {
65354
+ if (this.isNode) {
65355
+ const os = await this.getSafeNodeModule("os");
65356
+ return os.platform() === "win32";
65357
+ } else {
65358
+ return false;
65359
+ }
65360
+ }
65361
+ async isLinuxAsync() {
65362
+ if (this.isNode) {
65363
+ const os = await this.getSafeNodeModule("os");
65364
+ return os.platform() === "linux";
65365
+ } else {
65366
+ return false;
65367
+ }
65368
+ }
65369
+ /**
65370
+ * prints the environment to console
65371
+ */
65372
+ async printEnv() {
65373
+ if (this.isNode) {
65374
+ console.log("running on NODE");
65375
+ console.log("node version is " + this.nodeVersion);
65376
+ } else {
65377
+ console.log("running on BROWSER");
65378
+ console.log("browser is " + this.userAgent);
65379
+ }
65380
+ }
65381
+ };
65382
+
65383
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
65384
+ var isounique3 = __toESM(require_dist_ts(), 1);
65385
+ var import_buffer2 = __toESM(require_buffer(), 1);
65386
+ var url2 = __toESM(require_url(), 1);
65387
+ var import_randomatic2 = __toESM(require_randomatic(), 1);
65388
+ var smartenvInstance2 = new Smartenv2();
65389
+ if (smartenvInstance2.isBrowser) {
65390
+ globalThis.Buffer = import_buffer2.Buffer;
65391
+ }
65392
+
65393
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
65394
+ var createRandomString2 = (patternArg, lengthArg, optionsArg) => {
65395
+ return import_randomatic2.default(patternArg, lengthArg, optionsArg);
65396
+ };
65397
+ var createCryptoRandomString2 = () => {
65398
+ return isounique3.uni();
65399
+ };
65400
+
65401
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.docker.js
65402
+ var smartstring_docker_exports2 = {};
65403
+ __export(smartstring_docker_exports2, {
65404
+ makeEnvObject: () => makeEnvObject2
65405
+ });
65406
+ var makeEnvObject2 = function(envArrayArg) {
65407
+ let returnObject = {};
65408
+ let regexString = /(.*)=(.*)/;
65409
+ if (typeof envArrayArg !== "undefined") {
65410
+ for (let envKey in envArrayArg) {
65411
+ let regexMatches = regexString.exec(envArrayArg[envKey]);
65412
+ returnObject[regexMatches[1]] = regexMatches[2];
65413
+ }
65414
+ }
65415
+ return returnObject;
65416
+ };
65417
+
65418
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.indent.js
65419
+ var smartstring_indent_exports2 = {};
65420
+ __export(smartstring_indent_exports2, {
65421
+ indent: () => indent2,
65422
+ indentWithPrefix: () => indentWithPrefix2,
65423
+ normalize: () => normalize2
65424
+ });
65425
+ var splitStringAtLineBreak2 = (stringArg) => {
65426
+ let resultArray = stringArg.split("\n");
65427
+ return cleanStringArray2(resultArray);
65428
+ };
65429
+ var joinStringWithLineBreaks2 = (stringArrayArg) => {
65430
+ let resultString = "";
65431
+ for (let line of stringArrayArg) {
65432
+ resultString = resultString + line + "\n";
65433
+ }
65434
+ return resultString;
65435
+ };
65436
+ var cleanStringArray2 = (stringArrayArg) => {
65437
+ let testRegex = /^[\s]*$/;
65438
+ if (testRegex.test(stringArrayArg[0])) {
65439
+ stringArrayArg.shift();
65440
+ }
65441
+ if (testRegex.test(stringArrayArg[stringArrayArg.length - 1])) {
65442
+ stringArrayArg.pop();
65443
+ }
65444
+ return stringArrayArg;
65445
+ };
65446
+ var indent2 = (stringArg, spaceAmount) => {
65447
+ let localStringArray = splitStringAtLineBreak2(stringArg);
65448
+ for (let stringArg2 of localStringArray) {
65449
+ stringArg2 = " ".repeat(spaceAmount) + stringArg2;
65450
+ }
65451
+ let resultString = joinStringWithLineBreaks2(localStringArray);
65452
+ return resultString;
65453
+ };
65454
+ var indentWithPrefix2 = (stringArg, prefixArg) => {
65455
+ let resultString;
65456
+ let stringArray = splitStringAtLineBreak2(stringArg);
65457
+ let resultArray = [];
65458
+ for (let stringItem of stringArray) {
65459
+ resultArray.push(prefixArg + stringItem);
65460
+ }
65461
+ resultString = joinStringWithLineBreaks2(resultArray);
65462
+ return resultString;
65463
+ };
65464
+ var normalize2 = (stringArg) => {
65465
+ let resultString;
65466
+ let splitStringArray = splitStringAtLineBreak2(stringArg);
65467
+ let minCommonLeftOffset;
65468
+ const deIndentRegex = /^(\s*)/;
65469
+ const emptyLineRegex = /^(\s*)$/;
65470
+ for (let stringItem of splitStringArray) {
65471
+ let offsetString = deIndentRegex.exec(stringItem)[1];
65472
+ if ((typeof minCommonLeftOffset === "undefined" || offsetString.length < minCommonLeftOffset) && !emptyLineRegex.test(stringItem)) {
65473
+ minCommonLeftOffset = offsetString.length;
65474
+ }
65475
+ }
65476
+ let resultSplitStringArray = [];
65477
+ for (let stringItem of splitStringArray) {
65478
+ resultSplitStringArray.push(stringItem.substr(minCommonLeftOffset));
65479
+ }
65480
+ resultString = joinStringWithLineBreaks2(resultSplitStringArray);
65481
+ return resultString;
65482
+ };
65483
+
65484
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.normalize.js
65485
+ var smartstring_normalize_exports2 = {};
65486
+ __export(smartstring_normalize_exports2, {
65487
+ replaceAll: () => replaceAll2,
65488
+ standard: () => standard2
65489
+ });
65490
+ var replaceAll2 = (stringArg, searchPattern, replacementString) => {
65491
+ return stringArg.replace(new RegExp(searchPattern, "g"), replacementString);
65492
+ };
65493
+ var standard2 = (stringArg) => {
65494
+ let fix1 = stripIndent(stringArg);
65495
+ let fix2 = normalizeNewline(fix1);
65496
+ let fix3 = replaceAll2(fix2, " /", " ");
65497
+ return fix3;
65498
+ };
65499
+
65500
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
65501
+ var smartstring_type_exports2 = {};
65502
+ __export(smartstring_type_exports2, {
65503
+ isBase64: () => isBase642,
65504
+ isUtf8: () => isUtf82
65505
+ });
65506
+
65507
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.base64.js
65508
+ var Base642 = class {
65509
+ constructor(inputStringArg, typeArg) {
65510
+ switch (typeArg) {
65511
+ case "string":
65512
+ this.refString = inputStringArg;
65513
+ break;
65514
+ case "base64":
65515
+ this.refString = base642.decode(inputStringArg);
65516
+ break;
65517
+ case "base64uri":
65518
+ this.refString = base642.decode(inputStringArg);
65519
+ }
65520
+ }
65521
+ /**
65522
+ * the simple string (unencoded)
65523
+ */
65524
+ get simpleString() {
65525
+ return this.refString;
65526
+ }
65527
+ /**
65528
+ * the base64 encoded version of the original string
65529
+ */
65530
+ get base64String() {
65531
+ return base642.encode(this.refString);
65532
+ }
65533
+ /**
65534
+ * the base64uri encoded version of the original string
65535
+ */
65536
+ get base64UriString() {
65537
+ return base642.encodeUri(this.refString);
65538
+ }
65539
+ };
65540
+ var base642 = {
65541
+ /**
65542
+ * encodes the string
65543
+ */
65544
+ encode: (stringArg) => {
65545
+ return gBase64.encode(stringArg);
65546
+ },
65547
+ /**
65548
+ * encodes a stringArg to base64 uri style
65549
+ */
65550
+ encodeUri: (stringArg) => {
65551
+ return gBase64.encodeURI(stringArg);
65552
+ },
65553
+ /**
65554
+ * decodes a base64 encoded string
65555
+ */
65556
+ decode: (stringArg) => {
65557
+ return gBase64.decode(stringArg);
65558
+ },
65559
+ /**
65560
+ *
65561
+ * @param stringArg
65562
+ * checks wether the string is base64 encoded
65563
+ */
65564
+ isBase64: (stringArg) => {
65565
+ const regex = /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$/;
65566
+ return regex.test(stringArg);
65567
+ }
65568
+ };
65569
+
65570
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
65571
+ var isUtf82 = (stringArg) => {
65572
+ const bytes = Buffer.from(stringArg);
65573
+ let i8 = 0;
65574
+ while (i8 < bytes.length) {
65575
+ if (
65576
+ // ASCII
65577
+ bytes[i8] === 9 || bytes[i8] === 10 || bytes[i8] === 13 || 32 <= bytes[i8] && bytes[i8] <= 126
65578
+ ) {
65579
+ i8 += 1;
65580
+ continue;
65581
+ }
65582
+ if (
65583
+ // non-overlong 2-byte
65584
+ 194 <= bytes[i8] && bytes[i8] <= 223 && 128 <= bytes[i8 + 1] && bytes[i8 + 1] <= 191
65585
+ ) {
65586
+ i8 += 2;
65587
+ continue;
65588
+ }
65589
+ if (
65590
+ // excluding overlongs
65591
+ bytes[i8] === 224 && 160 <= bytes[i8 + 1] && bytes[i8 + 1] <= 191 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191 || // straight 3-byte
65592
+ (225 <= bytes[i8] && bytes[i8] <= 236 || bytes[i8] === 238 || bytes[i8] === 239) && 128 <= bytes[i8 + 1] && bytes[i8 + 1] <= 191 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191 || // excluding surrogates
65593
+ bytes[i8] === 237 && 128 <= bytes[i8 + 1] && bytes[i8 + 1] <= 159 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191
65594
+ ) {
65595
+ i8 += 3;
65596
+ continue;
65597
+ }
65598
+ if (
65599
+ // planes 1-3
65600
+ bytes[i8] === 240 && 144 <= bytes[i8 + 1] && bytes[i8 + 1] <= 191 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191 && 128 <= bytes[i8 + 3] && bytes[i8 + 3] <= 191 || // planes 4-15
65601
+ 241 <= bytes[i8] && bytes[i8] <= 243 && 128 <= bytes[i8 + 1] && bytes[i8 + 1] <= 191 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191 && 128 <= bytes[i8 + 3] && bytes[i8 + 3] <= 191 || // plane 16
65602
+ bytes[i8] === 244 && 128 <= bytes[i8 + 1] && bytes[i8 + 1] <= 143 && 128 <= bytes[i8 + 2] && bytes[i8 + 2] <= 191 && 128 <= bytes[i8 + 3] && bytes[i8 + 3] <= 191
65603
+ ) {
65604
+ i8 += 4;
65605
+ continue;
65606
+ }
65607
+ return false;
65608
+ }
65609
+ return true;
65610
+ };
65611
+ var isBase642 = (stringArg) => {
65612
+ const notBase64 = /[^A-Z0-9+\/=]/i;
65613
+ const len = stringArg.length;
65614
+ if (!len || len % 4 !== 0 || notBase64.test(stringArg)) {
65615
+ return false;
65616
+ }
65617
+ const firstPaddingChar = stringArg.indexOf("=");
65618
+ return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && stringArg[len - 1] === "=";
65619
+ };
65620
+
65621
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.domain.js
65622
+ var Domain2 = class {
65623
+ constructor(domainStringArg) {
65624
+ this.protocol = this._protocolRegex(domainStringArg);
65625
+ if (!this.protocol) {
65626
+ domainStringArg = `https://${domainStringArg}`;
65627
+ }
65628
+ this.nodeParsedUrl = url2.parse(domainStringArg);
65629
+ this.port = this.nodeParsedUrl.port;
65630
+ const regexMatches = this._domainRegex(domainStringArg.replace(this.nodeParsedUrl.pathname, ""));
65631
+ this.fullName = "";
65632
+ for (let i8 = 1; i8 <= 5; i8++) {
65633
+ if (regexMatches[i8 - 1]) {
65634
+ const localMatch = regexMatches[i8 - 1];
65635
+ this["level" + i8.toString()] = localMatch;
65636
+ if (this.fullName === "") {
65637
+ this.fullName = localMatch;
65638
+ } else {
65639
+ this.fullName = localMatch + "." + this.fullName;
65640
+ }
65641
+ } else {
65642
+ this["level" + i8.toString()] = void 0;
65643
+ }
65644
+ }
65645
+ this.zoneName = this.level2 + "." + this.level1;
65646
+ this.topLevel = this.level1;
65647
+ this.domainName = this.level2;
65648
+ this.subDomain = this.level3;
65649
+ }
65650
+ // helper functions
65651
+ /** */
65652
+ _domainRegex(stringArg) {
65653
+ 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}$/;
65654
+ const regexMatches = regexString.exec(stringArg);
65655
+ regexMatches.reverse();
65656
+ regexMatches.pop();
65657
+ const regexMatchesFiltered = regexMatches.filter(function(stringArg2) {
65658
+ return stringArg2 !== "";
65659
+ });
65660
+ return regexMatchesFiltered;
65661
+ }
65662
+ _protocolRegex(stringArg) {
65663
+ const regexString = /^([a-zA-Z0-9]*):\/\//;
65664
+ const regexMatches = regexString.exec(stringArg);
65665
+ if (regexMatches) {
65666
+ return regexMatches[1];
65667
+ } else {
65668
+ return void 0;
65669
+ }
65670
+ }
65671
+ _portRegex(stringArg) {
65672
+ const regexString = /^([a-zA-Z0-9]*):\/\//;
65673
+ const regexMatches = regexString.exec(stringArg);
65674
+ if (regexMatches) {
65675
+ return regexMatches[1];
65676
+ } else {
65677
+ return void 0;
65678
+ }
65679
+ }
65680
+ };
65681
+
65682
+ // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.git.js
65683
+ var GitRepo2 = class {
65684
+ constructor(stringArg, tokenArg) {
65685
+ let regexMatches = gitRegex2(stringArg);
65686
+ this.host = regexMatches[1];
65687
+ this.user = regexMatches[2];
65688
+ this.repo = regexMatches[3];
65689
+ this.accessToken = tokenArg;
65690
+ this.sshUrl = gitLink2(this.host, this.user, this.repo, this.accessToken, "ssh");
65691
+ this.httpsUrl = gitLink2(this.host, this.user, this.repo, this.accessToken, "https");
65692
+ }
65693
+ };
65694
+ var gitRegex2 = function(stringArg) {
65695
+ const regexString = /([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
65696
+ let regexMatches = regexString.exec(stringArg);
65697
+ return regexMatches;
65698
+ };
65699
+ var gitLink2 = function(hostArg, userArg, repoArg, tokenArg = "", linkTypeArg) {
65700
+ let returnString;
65701
+ if (tokenArg !== "") {
65702
+ tokenArg = tokenArg + "@";
65703
+ }
65704
+ switch (linkTypeArg) {
65705
+ case "https":
65706
+ returnString = "https://" + tokenArg + hostArg + "/" + userArg + "/" + repoArg + ".git";
65707
+ break;
65708
+ case "ssh":
65709
+ returnString = "git@" + hostArg + ":" + userArg + "/" + repoArg + ".git";
65710
+ break;
65711
+ default:
65712
+ console.error("Link Type " + linkTypeArg + " not known");
65713
+ break;
65714
+ }
65715
+ return returnString;
65716
+ };
65717
+
65718
+ // node_modules/.pnpm/@push.rocks+smartjson@5.0.8/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
65719
+ var import_lodash2 = __toESM(require_lodash(), 1);
65720
+ var import_fast_json_stable_stringify2 = __toESM(require_fast_json_stable_stringify(), 1);
65721
+ var import_buffer_json2 = __toESM(require_buffer_json(), 1);
65722
+ var stableJson3 = import_fast_json_stable_stringify2.default;
65723
+
65724
+ // node_modules/.pnpm/@push.rocks+smartjson@5.0.8/node_modules/@push.rocks/smartjson/dist_ts/index.js
65725
+ var parse2 = import_buffer_json2.default.parse;
65726
+ var stringify2 = (objArg, simpleOrderArray, optionsArg = {}) => {
65727
+ const bufferedJson = import_buffer_json2.default.stringify(objArg);
65728
+ objArg = JSON.parse(bufferedJson);
65729
+ let returnJson = stableJson3(objArg, optionsArg);
65730
+ return returnJson;
65731
+ };
65732
+ var stringifyBase642 = (...args) => {
65733
+ const stringifiedResult = stringify2(...args);
65734
+ return dist_ts_exports19.base64.encodeUri(stringifiedResult);
65735
+ };
65736
+ var parseBase642 = (base64JsonStringArg) => {
65737
+ const simpleStringified = dist_ts_exports19.base64.decode(base64JsonStringArg);
65738
+ return parse2(simpleStringified);
65739
+ };
65740
+ var Smartjson2 = class {
65741
+ /**
65742
+ * enfolds data from an object
65743
+ */
65744
+ static enfoldFromObject(objectArg) {
65745
+ const newInstance = new this();
65746
+ for (const keyName in objectArg) {
65747
+ if (newInstance.saveableProperties.indexOf(keyName) !== -1) {
65748
+ newInstance[keyName] = objectArg[keyName];
65749
+ }
65750
+ }
65751
+ return newInstance;
65752
+ }
65753
+ /**
65754
+ * enfold from json
65755
+ */
65756
+ static enfoldFromJson(jsonArg) {
65757
+ const objectFromJson = parse2(jsonArg);
65758
+ return this.enfoldFromObject(objectFromJson);
65759
+ }
65760
+ /**
65761
+ * folds a class into an object
65762
+ */
65763
+ foldToObject() {
65764
+ const newFoldedObject = {};
65765
+ const trackMap = [];
65766
+ for (const keyName of this.saveableProperties) {
65767
+ let value = this[keyName];
65768
+ if (value instanceof Smartjson2) {
65769
+ if (trackMap.includes(value)) {
65770
+ throw new Error("cycle detected");
65771
+ }
65772
+ trackMap.push(value);
65773
+ value = value.foldToObject();
65774
+ }
65775
+ newFoldedObject[keyName] = import_lodash2.default(value);
65776
+ }
65777
+ return newFoldedObject;
65778
+ }
65779
+ /**
65780
+ * folds a class into an object
65781
+ */
65782
+ foldToJson() {
65783
+ const foldedObject = this.foldToObject();
65784
+ return stringify2(foldedObject);
65785
+ }
65786
+ };
65787
+ var foldDec2 = () => {
65788
+ return (target, key) => {
65789
+ if (!target.saveableProperties) {
65790
+ target.saveableProperties = [];
65791
+ }
65792
+ target.saveableProperties.push(key);
65793
+ };
65794
+ };
65795
+ var deepEqualObjects2 = (object1, object2) => {
65796
+ const object1String = stringify2(object1);
65797
+ const object2String = stringify2(object2);
65798
+ return object1String === object2String;
65799
+ };
65800
+
65801
+ // node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/index.js
65802
+ var dist_ts_exports21 = {};
65803
+ __export(dist_ts_exports21, {
64881
65804
  SmartRouter: () => SmartRouter
64882
65805
  });
64883
65806
 
@@ -64886,7 +65809,7 @@ var dist_exports = {};
64886
65809
  __export(dist_exports, {
64887
65810
  compile: () => compile,
64888
65811
  match: () => match,
64889
- parse: () => parse2,
65812
+ parse: () => parse3,
64890
65813
  pathToRegexp: () => pathToRegexp,
64891
65814
  regexpToFunction: () => regexpToFunction,
64892
65815
  tokensToFunction: () => tokensToFunction,
@@ -64975,7 +65898,7 @@ function lexer(str) {
64975
65898
  tokens.push({ type: "END", index: i8, value: "" });
64976
65899
  return tokens;
64977
65900
  }
64978
- function parse2(str, options) {
65901
+ function parse3(str, options) {
64979
65902
  if (options === void 0) {
64980
65903
  options = {};
64981
65904
  }
@@ -65058,7 +65981,7 @@ function parse2(str, options) {
65058
65981
  return result;
65059
65982
  }
65060
65983
  function compile(str, options) {
65061
- return tokensToFunction(parse2(str, options), options);
65984
+ return tokensToFunction(parse3(str, options), options);
65062
65985
  }
65063
65986
  function tokensToFunction(tokens, options) {
65064
65987
  if (options === void 0) {
@@ -65186,7 +66109,7 @@ function arrayToRegexp(paths, keys, options) {
65186
66109
  return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options));
65187
66110
  }
65188
66111
  function stringToRegexp(path, keys, options) {
65189
- return tokensToRegexp(parse2(path, options), keys, options);
66112
+ return tokensToRegexp(parse3(path, options), keys, options);
65190
66113
  }
65191
66114
  function tokensToRegexp(tokens, keys, options) {
65192
66115
  if (options === void 0) {
@@ -65251,7 +66174,7 @@ function pathToRegexp(path, keys, options) {
65251
66174
  return stringToRegexp(path, keys, options);
65252
66175
  }
65253
66176
 
65254
- // node_modules/.pnpm/@pushrocks+smartrouter@1.0.16/node_modules/@pushrocks/smartrouter/dist_ts/smartrouter.classes.queryparams.js
66177
+ // node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/smartrouter.classes.queryparams.js
65255
66178
  var QueryParams = class {
65256
66179
  constructor() {
65257
66180
  }
@@ -65275,7 +66198,7 @@ var QueryParams = class {
65275
66198
  }
65276
66199
  };
65277
66200
 
65278
- // node_modules/.pnpm/@pushrocks+smartrouter@1.0.16/node_modules/@pushrocks/smartrouter/dist_ts/smartrouter.classes.smartrouter.js
66201
+ // node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/smartrouter.classes.smartrouter.js
65279
66202
  var SmartRouter = class {
65280
66203
  /**
65281
66204
  * Creates an instance of Router.
@@ -65336,17 +66259,17 @@ var SmartRouter = class {
65336
66259
  }
65337
66260
  };
65338
66261
 
65339
- // node_modules/.pnpm/@pushrocks+smartstate@2.0.6/node_modules/@pushrocks/smartstate/dist_ts/index.js
65340
- var dist_ts_exports18 = {};
65341
- __export(dist_ts_exports18, {
66262
+ // node_modules/.pnpm/@push.rocks+smartstate@2.0.8/node_modules/@push.rocks/smartstate/dist_ts/index.js
66263
+ var dist_ts_exports23 = {};
66264
+ __export(dist_ts_exports23, {
65342
66265
  Smartstate: () => Smartstate,
65343
66266
  StateAction: () => StateAction,
65344
66267
  StatePart: () => StatePart
65345
66268
  });
65346
66269
 
65347
- // node_modules/.pnpm/@pushrocks+isohash@2.0.1/node_modules/@pushrocks/isohash/dist_ts/index.js
65348
- var dist_ts_exports17 = {};
65349
- __export(dist_ts_exports17, {
66270
+ // node_modules/.pnpm/@push.rocks+isohash@2.0.1/node_modules/@push.rocks/isohash/dist_ts/index.js
66271
+ var dist_ts_exports22 = {};
66272
+ __export(dist_ts_exports22, {
65350
66273
  sha256FromString: () => sha256FromString
65351
66274
  });
65352
66275
  var hex = (buffer) => {
@@ -65362,7 +66285,7 @@ var hex = (buffer) => {
65362
66285
  return hexCodes.join("");
65363
66286
  };
65364
66287
  var sha256FromString = async (stringArg) => {
65365
- const smartenv = new dist_ts_exports8.Smartenv();
66288
+ const smartenv = new dist_ts_exports9.Smartenv();
65366
66289
  if (smartenv.isBrowser) {
65367
66290
  const buffer = new TextEncoder().encode(stringArg);
65368
66291
  const hash = await crypto.subtle.digest("SHA-256", buffer);
@@ -65375,7 +66298,7 @@ var sha256FromString = async (stringArg) => {
65375
66298
  }
65376
66299
  };
65377
66300
 
65378
- // node_modules/.pnpm/@pushrocks+smartstate@2.0.6/node_modules/@pushrocks/smartstate/dist_ts/smartstate.classes.stateaction.js
66301
+ // node_modules/.pnpm/@push.rocks+smartstate@2.0.8/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.stateaction.js
65379
66302
  var StateAction = class {
65380
66303
  constructor(statePartRef, actionDef) {
65381
66304
  this.statePartRef = statePartRef;
@@ -65384,232 +66307,631 @@ var StateAction = class {
65384
66307
  trigger(payload) {
65385
66308
  this.statePartRef.dispatchAction(this, payload);
65386
66309
  }
65387
- };
65388
-
65389
- // node_modules/.pnpm/@pushrocks+smartstate@2.0.6/node_modules/@pushrocks/smartstate/dist_ts/smartstate.classes.statepart.js
65390
- var StatePart = class {
65391
- constructor(nameArg) {
65392
- this.state = new dist_ts_exports4.rxjs.Subject();
65393
- this.cumulativeDeferred = dist_ts_exports3.cumulativeDefer();
65394
- this.name = nameArg;
66310
+ };
66311
+
66312
+ // node_modules/.pnpm/@push.rocks+smartstate@2.0.8/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.statepart.js
66313
+ var StatePart = class {
66314
+ constructor(nameArg) {
66315
+ this.state = new dist_ts_exports2.rxjs.Subject();
66316
+ this.cumulativeDeferred = dist_ts_exports.cumulativeDefer();
66317
+ this.name = nameArg;
66318
+ }
66319
+ /**
66320
+ * gets the state from the state store
66321
+ */
66322
+ getState() {
66323
+ return this.stateStore;
66324
+ }
66325
+ /**
66326
+ * sets the stateStore to the new state
66327
+ * @param newStateArg
66328
+ */
66329
+ setState(newStateArg) {
66330
+ this.stateStore = newStateArg;
66331
+ this.notifyChange();
66332
+ }
66333
+ /**
66334
+ * notifies of a change on the state
66335
+ */
66336
+ notifyChange() {
66337
+ const createStateHash = (stateArg) => {
66338
+ return dist_ts_exports22.sha256FromString(dist_ts_exports20.stringify(stateArg));
66339
+ };
66340
+ if (this.stateStore && this.lastStateNotificationPayloadHash && createStateHash(this.stateStore) === this.lastStateNotificationPayloadHash) {
66341
+ return;
66342
+ } else {
66343
+ this.lastStateNotificationPayloadHash = this.stateStore;
66344
+ }
66345
+ this.state.next(this.stateStore);
66346
+ }
66347
+ /**
66348
+ * creates a cumulative notification by adding a change notification at the end of the call stack;
66349
+ */
66350
+ notifyChangeCumulative() {
66351
+ setTimeout(() => this.state.next(this.stateStore), 0);
66352
+ }
66353
+ /**
66354
+ * selects a state or a substate
66355
+ */
66356
+ select(selectorFn) {
66357
+ if (!selectorFn) {
66358
+ selectorFn = (state5) => state5;
66359
+ }
66360
+ const mapped = this.state.pipe(dist_ts_exports2.rxjs.ops.startWith(this.getState()), dist_ts_exports2.rxjs.ops.map((stateArg) => {
66361
+ try {
66362
+ return selectorFn(stateArg);
66363
+ } catch (e12) {
66364
+ }
66365
+ }));
66366
+ return mapped;
66367
+ }
66368
+ /**
66369
+ * creates an action capable of modifying the state
66370
+ */
66371
+ createAction(actionDef) {
66372
+ return new StateAction(this, actionDef);
66373
+ }
66374
+ /**
66375
+ * dispatches an action on the statepart level
66376
+ */
66377
+ async dispatchAction(stateAction, actionPayload) {
66378
+ await this.cumulativeDeferred.promise;
66379
+ const newState = await stateAction.actionDef(this, actionPayload);
66380
+ this.setState(newState);
66381
+ }
66382
+ /**
66383
+ * waits until a certain part of the state becomes available
66384
+ * @param selectorFn
66385
+ */
66386
+ async waitUntilPresent(selectorFn) {
66387
+ const done = dist_ts_exports.defer();
66388
+ const selectedObservable = this.select(selectorFn);
66389
+ const subscription = selectedObservable.subscribe(async (value) => {
66390
+ if (value) {
66391
+ done.resolve(value);
66392
+ }
66393
+ });
66394
+ const result = await done.promise;
66395
+ subscription.unsubscribe();
66396
+ return result;
66397
+ }
66398
+ /**
66399
+ * is executed
66400
+ */
66401
+ async stateSetup(funcArg) {
66402
+ const resultPromise = funcArg(this);
66403
+ this.cumulativeDeferred.addPromise(resultPromise);
66404
+ this.setState(await resultPromise);
66405
+ }
66406
+ };
66407
+
66408
+ // node_modules/.pnpm/@push.rocks+smartstate@2.0.8/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.smartstate.js
66409
+ var Smartstate = class {
66410
+ constructor() {
66411
+ this.statePartMap = {};
66412
+ }
66413
+ /**
66414
+ * Allows getting and initializing a new statepart
66415
+ * initMode === 'soft' it will allow existing stateparts
66416
+ * initMode === 'mandatory' will fail if there is an exiting statepart
66417
+ * initMode === 'force' will overwrite any existing statepart
66418
+ * @param statePartNameArg
66419
+ * @param initialArg
66420
+ * @param initMode
66421
+ */
66422
+ getStatePart(statePartNameArg, initialArg, initMode) {
66423
+ if (this.statePartMap[statePartNameArg]) {
66424
+ if (initialArg && (!initMode || initMode !== "soft")) {
66425
+ throw new Error(`${statePartNameArg} already exists, yet you try to set an initial state again`);
66426
+ }
66427
+ return this.statePartMap[statePartNameArg];
66428
+ } else {
66429
+ if (!initialArg) {
66430
+ throw new Error(`${statePartNameArg} does not yet exist, yet you don't provide an initial state`);
66431
+ }
66432
+ return this.createStatePart(statePartNameArg, initialArg);
66433
+ }
66434
+ }
66435
+ /**
66436
+ * creates a statepart
66437
+ * @param statePartName
66438
+ * @param initialPayloadArg
66439
+ */
66440
+ createStatePart(statePartName, initialPayloadArg) {
66441
+ const newState = new StatePart(statePartName);
66442
+ newState.setState(initialPayloadArg);
66443
+ this.statePartMap[statePartName] = newState;
66444
+ return newState;
66445
+ }
66446
+ };
66447
+
66448
+ // node_modules/.pnpm/@push.rocks+smarturl@3.0.7/node_modules/@push.rocks/smarturl/dist_ts/index.js
66449
+ var dist_ts_exports24 = {};
66450
+ __export(dist_ts_exports24, {
66451
+ Smarturl: () => Smarturl
66452
+ });
66453
+
66454
+ // node_modules/.pnpm/@push.rocks+smarturl@3.0.7/node_modules/@push.rocks/smarturl/dist_ts/smarturl.classes.smarturl.js
66455
+ var Smarturl = class {
66456
+ static createFromUrl(urlArg, optionsArg) {
66457
+ const parsedUrlInstance = new URL(urlArg);
66458
+ const searchParams = {};
66459
+ const searchParamPairs = [];
66460
+ if (parsedUrlInstance.search) {
66461
+ parsedUrlInstance.search.replace("?", "").split("&").map((searchParamPair) => {
66462
+ searchParamPairs.push({
66463
+ key: searchParamPair.split("=")[0],
66464
+ value: searchParamPair.split("=")[1]
66465
+ });
66466
+ });
66467
+ }
66468
+ for (const searchParamPair of searchParamPairs) {
66469
+ searchParams[searchParamPair.key] = searchParamPair.value;
66470
+ }
66471
+ if (optionsArg?.searchParams) {
66472
+ for (const key of Object.keys(optionsArg.searchParams)) {
66473
+ searchParams[key] = optionsArg.searchParams[key];
66474
+ }
66475
+ }
66476
+ let path = parsedUrlInstance.pathname || "";
66477
+ if (Object.keys(searchParams).length > 0) {
66478
+ path += "?";
66479
+ let first = true;
66480
+ for (const key of Object.keys(searchParams)) {
66481
+ if (first) {
66482
+ first = false;
66483
+ } else {
66484
+ path += "&";
66485
+ }
66486
+ path += `${key}=${searchParams[key]}`;
66487
+ }
66488
+ }
66489
+ const parsedUrl = {
66490
+ ...parsedUrlInstance,
66491
+ href: parsedUrlInstance.href,
66492
+ origin: parsedUrlInstance.origin,
66493
+ protocol: parsedUrlInstance.protocol,
66494
+ username: parsedUrlInstance.username,
66495
+ password: parsedUrlInstance.password,
66496
+ host: parsedUrlInstance.host,
66497
+ hostname: parsedUrlInstance.hostname,
66498
+ port: parsedUrlInstance.port,
66499
+ path,
66500
+ pathname: parsedUrlInstance.pathname,
66501
+ search: parsedUrlInstance.search,
66502
+ searchParams,
66503
+ hash: parsedUrlInstance.hash
66504
+ };
66505
+ if (!parsedUrl.port && parsedUrl.protocol === "https:") {
66506
+ parsedUrl.port = "443";
66507
+ }
66508
+ if (!parsedUrl.port && parsedUrl.protocol === "http:") {
66509
+ parsedUrl.port = "80";
66510
+ }
66511
+ const returnSmarturl = new Smarturl();
66512
+ Object.assign(returnSmarturl, parsedUrl);
66513
+ return returnSmarturl;
66514
+ }
66515
+ static createFromParsedUrl(parsedUrlArg) {
66516
+ const returnSmarturl = new Smarturl();
66517
+ Object.assign(returnSmarturl, parsedUrlArg);
66518
+ return returnSmarturl;
66519
+ }
66520
+ constructor() {
66521
+ this.searchParams = {};
66522
+ }
66523
+ toString() {
66524
+ let userpart = ``;
66525
+ if (this.username && !this.password) {
66526
+ userpart = `${this.username}@`;
66527
+ }
66528
+ if (this.username && this.password) {
66529
+ userpart = `${this.username}:${this.password}@`;
66530
+ }
66531
+ return `${this.protocol}//${userpart}${this.hostname}:${this.port}${this.path}`;
66532
+ }
66533
+ };
66534
+
66535
+ // node_modules/.pnpm/@push.rocks+smartmatch@2.0.0/node_modules/@push.rocks/smartmatch/dist_ts/index.js
66536
+ var dist_ts_exports25 = {};
66537
+ __export(dist_ts_exports25, {
66538
+ SmartMatch: () => SmartMatch2
66539
+ });
66540
+ var SmartMatch2 = class {
66541
+ constructor(wildcardArg) {
66542
+ this.wildcard = wildcardArg;
66543
+ }
66544
+ match(matchStringArg) {
66545
+ return matcher_exports.isMatch(matchStringArg, this.wildcard);
66546
+ }
66547
+ };
66548
+
66549
+ // node_modules/.pnpm/@push.rocks+smarttime@4.0.5/node_modules/@push.rocks/smarttime/dist_ts/smarttime.plugins.js
66550
+ var import_dayjs2 = __toESM(require_dayjs_min(), 1);
66551
+ var import_isToday2 = __toESM(require_isToday(), 1);
66552
+ import_dayjs2.default.extend(import_isToday2.default);
66553
+
66554
+ // node_modules/.pnpm/@push.rocks+lik@6.0.5/node_modules/@push.rocks/lik/dist_ts/lik.plugins.js
66555
+ var import_symbol_tree2 = __toESM(require_SymbolTree(), 1);
66556
+
66557
+ // node_modules/.pnpm/@push.rocks+lik@6.0.5/node_modules/@push.rocks/lik/dist_ts/lik.fastmap.js
66558
+ var FastMap2 = class {
66559
+ constructor() {
66560
+ this.mapObject = {};
66561
+ }
66562
+ isUniqueKey(keyArg) {
66563
+ return this.mapObject[keyArg] ? false : true;
66564
+ }
66565
+ addToMap(keyArg, objectArg, optionsArg) {
66566
+ if (this.isUniqueKey(keyArg) || optionsArg && optionsArg.force) {
66567
+ this.mapObject[keyArg] = objectArg;
66568
+ return true;
66569
+ } else {
66570
+ return false;
66571
+ }
66572
+ }
66573
+ getByKey(keyArg) {
66574
+ return this.mapObject[keyArg];
66575
+ }
66576
+ removeFromMap(keyArg) {
66577
+ const removedItem = this.getByKey(keyArg);
66578
+ delete this.mapObject[keyArg];
66579
+ return removedItem;
66580
+ }
66581
+ getKeys() {
66582
+ const keys = [];
66583
+ for (const keyArg in this.mapObject) {
66584
+ if (this.mapObject[keyArg]) {
66585
+ keys.push(keyArg);
66586
+ }
66587
+ }
66588
+ return keys;
66589
+ }
66590
+ clean() {
66591
+ this.mapObject = {};
66592
+ }
66593
+ /**
66594
+ * returns a new Fastmap that includes all values from this and all from the fastmap in the argument
66595
+ */
66596
+ concat(fastMapArg) {
66597
+ const concatedFastmap = new FastMap2();
66598
+ for (const key of this.getKeys()) {
66599
+ concatedFastmap.addToMap(key, this.getByKey(key));
66600
+ }
66601
+ for (const key of fastMapArg.getKeys()) {
66602
+ concatedFastmap.addToMap(key, fastMapArg.getByKey(key), {
66603
+ force: true
66604
+ });
66605
+ }
66606
+ return concatedFastmap;
66607
+ }
66608
+ /**
66609
+ * tries to merge another Fastmap
66610
+ * Note: uniqueKeyCollisions will cause overwrite
66611
+ * @param fastMapArg
66612
+ */
66613
+ addAllFromOther(fastMapArg) {
66614
+ for (const key of fastMapArg.getKeys()) {
66615
+ this.addToMap(key, fastMapArg.getByKey(key), {
66616
+ force: true
66617
+ });
66618
+ }
66619
+ }
66620
+ async find(findFunctionArg) {
66621
+ for (const key of this.getKeys()) {
66622
+ const item = this.getByKey(key);
66623
+ const findFunctionResult = await findFunctionArg(item);
66624
+ if (findFunctionResult) {
66625
+ return item;
66626
+ }
66627
+ }
66628
+ }
66629
+ };
66630
+
66631
+ // node_modules/.pnpm/@push.rocks+lik@6.0.5/node_modules/@push.rocks/lik/dist_ts/lik.objectmap.js
66632
+ var uni2 = (prefix = "uni") => {
66633
+ return `${prefix}xxxxxxxxxxx`.replace(/[xy]/g, (c7) => {
66634
+ const r6 = Math.random() * 16 | 0;
66635
+ const v2 = c7 === "x" ? r6 : r6 & 3 | 8;
66636
+ return v2.toString(16);
66637
+ });
66638
+ };
66639
+ var ObjectMap2 = class {
66640
+ /**
66641
+ * returns a new instance
66642
+ */
66643
+ constructor() {
66644
+ this.fastMap = new FastMap2();
66645
+ this.eventSubject = new dist_ts_exports2.rxjs.Subject();
66646
+ }
66647
+ /**
66648
+ * adds an object mapped to a string
66649
+ * the string must be unique
66650
+ */
66651
+ addMappedUnique(uniqueKeyArg, objectArg) {
66652
+ this.fastMap.addToMap(uniqueKeyArg, objectArg);
66653
+ }
66654
+ /**
66655
+ * fastest way to get an object from the map
66656
+ * @param uniqueKey
66657
+ */
66658
+ getMappedUnique(uniqueKeyArg) {
66659
+ return this.fastMap.getByKey(uniqueKeyArg);
66660
+ }
66661
+ /**
66662
+ * remove key
66663
+ * @param functionArg
66664
+ */
66665
+ removeMappedUnique(uniqueKey) {
66666
+ const object = this.getMappedUnique(uniqueKey);
66667
+ }
66668
+ /**
66669
+ * add object to Objectmap
66670
+ * returns false if the object is already in the map
66671
+ * returns true if the object was added successfully
66672
+ */
66673
+ add(objectArg) {
66674
+ for (const keyArg of this.fastMap.getKeys()) {
66675
+ const object = this.fastMap.getByKey(keyArg);
66676
+ if (object === objectArg) {
66677
+ return keyArg;
66678
+ }
66679
+ }
66680
+ const uniqueKey = uni2("key");
66681
+ this.addMappedUnique(uniqueKey, objectArg);
66682
+ this.eventSubject.next({
66683
+ operation: "add",
66684
+ payload: objectArg
66685
+ });
66686
+ return uniqueKey;
66687
+ }
66688
+ /**
66689
+ * like .add but adds an whole array of objects
66690
+ */
66691
+ addArray(objectArrayArg) {
66692
+ for (const item of objectArrayArg) {
66693
+ this.add(item);
66694
+ }
66695
+ }
66696
+ /**
66697
+ * check if object is in Objectmap
66698
+ */
66699
+ checkForObject(objectArg) {
66700
+ return !!this.getKeyForObject(objectArg);
66701
+ }
66702
+ /**
66703
+ * get key for object
66704
+ * @param findFunction
66705
+ */
66706
+ getKeyForObject(objectArg) {
66707
+ let foundKey = null;
66708
+ for (const keyArg of this.fastMap.getKeys()) {
66709
+ if (!foundKey && this.fastMap.getByKey(keyArg) === objectArg) {
66710
+ foundKey = keyArg;
66711
+ } else {
66712
+ continue;
66713
+ }
66714
+ }
66715
+ return foundKey;
66716
+ }
66717
+ /**
66718
+ * find object
66719
+ */
66720
+ async find(findFunction) {
66721
+ return this.fastMap.find(findFunction);
66722
+ }
66723
+ findSync(findFunction) {
66724
+ for (const keyArg of this.fastMap.getKeys()) {
66725
+ if (findFunction(this.fastMap.getByKey(keyArg))) {
66726
+ return this.getMappedUnique(keyArg);
66727
+ }
66728
+ }
66729
+ }
66730
+ /**
66731
+ * finds a specific element and then removes it
66732
+ */
66733
+ async findOneAndRemove(findFunction) {
66734
+ const foundElement = await this.find(findFunction);
66735
+ if (foundElement) {
66736
+ this.remove(foundElement);
66737
+ }
66738
+ return foundElement;
66739
+ }
66740
+ findOneAndRemoveSync(findFunction) {
66741
+ const foundElement = this.findSync(findFunction);
66742
+ if (foundElement) {
66743
+ this.remove(foundElement);
66744
+ }
66745
+ return foundElement;
66746
+ }
66747
+ /**
66748
+ * run function for each item in Objectmap
66749
+ */
66750
+ async forEach(functionArg) {
66751
+ for (const keyArg of this.fastMap.getKeys()) {
66752
+ await functionArg(this.fastMap.getByKey(keyArg));
66753
+ }
66754
+ }
66755
+ /**
66756
+ * gets an object in the Observablemap and removes it, so it can't be retrieved again
66757
+ */
66758
+ getOneAndRemove() {
66759
+ const keys = this.fastMap.getKeys();
66760
+ if (keys.length === 0) {
66761
+ return null;
66762
+ } else {
66763
+ const keyToUse = keys[0];
66764
+ const removedItem = this.fastMap.removeFromMap(keyToUse);
66765
+ this.eventSubject.next({
66766
+ operation: "remove",
66767
+ payload: removedItem
66768
+ });
66769
+ return removedItem;
66770
+ }
66771
+ }
66772
+ /**
66773
+ * returns a cloned array of all the objects currently in the Objectmap
66774
+ */
66775
+ getArray() {
66776
+ const returnArray = [];
66777
+ for (const keyArg of this.fastMap.getKeys()) {
66778
+ returnArray.push(this.fastMap.getByKey(keyArg));
66779
+ }
66780
+ return returnArray;
65395
66781
  }
65396
66782
  /**
65397
- * gets the state from the state store
66783
+ * check if Objectmap ist empty
65398
66784
  */
65399
- getState() {
65400
- return this.stateStore;
66785
+ isEmpty() {
66786
+ return this.fastMap.getKeys().length === 0;
65401
66787
  }
65402
66788
  /**
65403
- * sets the stateStore to the new state
65404
- * @param newStateArg
66789
+ * remove object from Objectmap
65405
66790
  */
65406
- setState(newStateArg) {
65407
- this.stateStore = newStateArg;
65408
- this.notifyChange();
66791
+ remove(objectArg) {
66792
+ if (this.checkForObject(objectArg)) {
66793
+ const keyArg = this.getKeyForObject(objectArg);
66794
+ const removedObject = this.fastMap.removeFromMap(keyArg);
66795
+ this.eventSubject.next({
66796
+ operation: "remove",
66797
+ payload: removedObject
66798
+ });
66799
+ return removedObject;
66800
+ }
66801
+ return null;
65409
66802
  }
65410
66803
  /**
65411
- * notifies of a change on the state
66804
+ * wipe Objectmap
65412
66805
  */
65413
- notifyChange() {
65414
- const createStateHash = (stateArg) => {
65415
- return dist_ts_exports17.sha256FromString(dist_ts_exports10.stringify(stateArg));
65416
- };
65417
- if (this.stateStore && this.lastStateNotificationPayloadHash && createStateHash(this.stateStore) === this.lastStateNotificationPayloadHash) {
65418
- return;
65419
- } else {
65420
- this.lastStateNotificationPayloadHash = this.stateStore;
66806
+ wipe() {
66807
+ for (const keyArg of this.fastMap.getKeys()) {
66808
+ this.fastMap.removeFromMap(keyArg);
65421
66809
  }
65422
- this.state.next(this.stateStore);
65423
66810
  }
65424
66811
  /**
65425
- * creates a cumulative notification by adding a change notification at the end of the call stack;
66812
+ * returns a new Objectmap that includes
65426
66813
  */
65427
- notifyChangeCumulative() {
65428
- setTimeout(() => this.state.next(this.stateStore), 0);
66814
+ concat(objectMapArg) {
66815
+ const concattedObjectMap = new ObjectMap2();
66816
+ concattedObjectMap.fastMap.addAllFromOther(this.fastMap);
66817
+ concattedObjectMap.fastMap.addAllFromOther(objectMapArg.fastMap);
66818
+ return concattedObjectMap;
65429
66819
  }
65430
66820
  /**
65431
- * selects a state or a substate
66821
+ * tries to merge another Objectmap
66822
+ * Note: uniqueKeyCollisions will cause overwrite
66823
+ * @param objectMapArg
65432
66824
  */
65433
- select(selectorFn) {
65434
- if (!selectorFn) {
65435
- selectorFn = (state5) => state5;
65436
- }
65437
- const mapped = this.state.pipe(dist_ts_exports4.rxjs.ops.startWith(this.getState()), dist_ts_exports4.rxjs.ops.map((stateArg) => {
65438
- try {
65439
- return selectorFn(stateArg);
65440
- } catch (e12) {
65441
- }
65442
- }));
65443
- return mapped;
66825
+ addAllFromOther(objectMapArg) {
66826
+ this.fastMap.addAllFromOther(objectMapArg.fastMap);
66827
+ }
66828
+ };
66829
+
66830
+ // node_modules/.pnpm/@push.rocks+lik@6.0.5/node_modules/@push.rocks/lik/dist_ts/lik.stringmap.js
66831
+ var Stringmap2 = class {
66832
+ constructor() {
66833
+ this._stringArray = [];
66834
+ this._triggerUntilTrueFunctionArray = [];
65444
66835
  }
65445
66836
  /**
65446
- * creates an action capable of modifying the state
66837
+ * add a string to the Stringmap
65447
66838
  */
65448
- createAction(actionDef) {
65449
- return new StateAction(this, actionDef);
66839
+ addString(stringArg) {
66840
+ this._stringArray.push(stringArg);
66841
+ this.notifyTrigger();
65450
66842
  }
65451
66843
  /**
65452
- * dispatches an action on the statepart level
66844
+ * like addString, but accepts an array of strings
65453
66845
  */
65454
- async dispatchAction(stateAction, actionPayload) {
65455
- await this.cumulativeDeferred.promise;
65456
- const newState = await stateAction.actionDef(this, actionPayload);
65457
- this.setState(newState);
66846
+ addStringArray(stringArrayArg) {
66847
+ for (const stringItem of stringArrayArg) {
66848
+ this.addString(stringItem);
66849
+ }
65458
66850
  }
65459
66851
  /**
65460
- * waits until a certain part of the state becomes available
65461
- * @param selectorFn
66852
+ * removes a string from Stringmap
65462
66853
  */
65463
- async waitUntilPresent(selectorFn) {
65464
- const done = dist_ts_exports3.defer();
65465
- const selectedObservable = this.select(selectorFn);
65466
- const subscription = selectedObservable.subscribe(async (value) => {
65467
- if (value) {
65468
- done.resolve(value);
66854
+ removeString(stringArg) {
66855
+ for (const keyArg in this._stringArray) {
66856
+ if (this._stringArray[keyArg] === stringArg) {
66857
+ this._stringArray.splice(parseInt(keyArg), 1);
65469
66858
  }
65470
- });
65471
- const result = await done.promise;
65472
- subscription.unsubscribe();
65473
- return result;
66859
+ }
66860
+ this.notifyTrigger();
65474
66861
  }
65475
66862
  /**
65476
- * is executed
66863
+ * wipes the Stringmap
65477
66864
  */
65478
- async stateSetup(funcArg) {
65479
- const resultPromise = funcArg(this);
65480
- this.cumulativeDeferred.addPromise(resultPromise);
65481
- this.setState(await resultPromise);
66865
+ wipe() {
66866
+ this._stringArray = [];
66867
+ this.notifyTrigger();
65482
66868
  }
65483
- };
65484
-
65485
- // node_modules/.pnpm/@pushrocks+smartstate@2.0.6/node_modules/@pushrocks/smartstate/dist_ts/smartstate.classes.smartstate.js
65486
- var Smartstate = class {
65487
- constructor() {
65488
- this.statePartMap = {};
66869
+ /**
66870
+ * check if string is in Stringmap
66871
+ */
66872
+ checkString(stringArg) {
66873
+ return this._stringArray.indexOf(stringArg) !== -1;
65489
66874
  }
65490
66875
  /**
65491
- * Allows getting and initializing a new statepart
65492
- * initMode === 'soft' it will allow existing stateparts
65493
- * initMode === 'mandatory' will fail if there is an exiting statepart
65494
- * initMode === 'force' will overwrite any existing statepart
65495
- * @param statePartNameArg
65496
- * @param initialArg
65497
- * @param initMode
66876
+ * checks stringPresence with minimatch
65498
66877
  */
65499
- getStatePart(statePartNameArg, initialArg, initMode) {
65500
- if (this.statePartMap[statePartNameArg]) {
65501
- if (initialArg && (!initMode || initMode !== "soft")) {
65502
- throw new Error(`${statePartNameArg} already exists, yet you try to set an initial state again`);
65503
- }
65504
- return this.statePartMap[statePartNameArg];
65505
- } else {
65506
- if (!initialArg) {
65507
- throw new Error(`${statePartNameArg} does not yet exist, yet you don't provide an initial state`);
66878
+ checkMinimatch(miniMatchStringArg) {
66879
+ const smartMatchInstance = new dist_ts_exports25.SmartMatch(miniMatchStringArg);
66880
+ let foundMatch = false;
66881
+ for (const stringItem of this._stringArray) {
66882
+ if (smartMatchInstance.match(stringItem)) {
66883
+ foundMatch = true;
65508
66884
  }
65509
- return this.createStatePart(statePartNameArg, initialArg);
65510
66885
  }
66886
+ return foundMatch;
65511
66887
  }
65512
66888
  /**
65513
- * creates a statepart
65514
- * @param statePartName
65515
- * @param initialPayloadArg
66889
+ * checks if the Stringmap is empty
65516
66890
  */
65517
- createStatePart(statePartName, initialPayloadArg) {
65518
- const newState = new StatePart(statePartName);
65519
- newState.setState(initialPayloadArg);
65520
- this.statePartMap[statePartName] = newState;
65521
- return newState;
66891
+ checkIsEmpty() {
66892
+ return this._stringArray.length === 0;
65522
66893
  }
65523
- };
65524
-
65525
- // node_modules/.pnpm/@pushrocks+smarturl@3.0.6/node_modules/@pushrocks/smarturl/dist_ts/index.js
65526
- var dist_ts_exports19 = {};
65527
- __export(dist_ts_exports19, {
65528
- Smarturl: () => Smarturl
65529
- });
65530
-
65531
- // node_modules/.pnpm/@pushrocks+smarturl@3.0.6/node_modules/@pushrocks/smarturl/dist_ts/smarturl.classes.smarturl.js
65532
- var Smarturl = class {
65533
- static createFromUrl(urlArg, optionsArg) {
65534
- const parsedUrlInstance = new URL(urlArg);
65535
- const searchParams = {};
65536
- const searchParamPairs = [];
65537
- if (parsedUrlInstance.search) {
65538
- parsedUrlInstance.search.replace("?", "").split("&").map((searchParamPair) => {
65539
- searchParamPairs.push({
65540
- key: searchParamPair.split("=")[0],
65541
- value: searchParamPair.split("=")[1]
65542
- });
65543
- });
65544
- }
65545
- for (const searchParamPair of searchParamPairs) {
65546
- searchParams[searchParamPair.key] = searchParamPair.value;
65547
- }
65548
- if (optionsArg?.searchParams) {
65549
- for (const key of Object.keys(optionsArg.searchParams)) {
65550
- searchParams[key] = optionsArg.searchParams[key];
65551
- }
66894
+ /**
66895
+ * gets a cloned copy of the current string Array
66896
+ */
66897
+ getStringArray() {
66898
+ const returnArray = [];
66899
+ for (const stringItem of this._stringArray) {
66900
+ returnArray.push(stringItem);
65552
66901
  }
65553
- let path = parsedUrlInstance.pathname || "";
65554
- if (Object.keys(searchParams).length > 0) {
65555
- path += "?";
65556
- let first = true;
65557
- for (const key of Object.keys(searchParams)) {
65558
- if (first) {
65559
- first = false;
65560
- } else {
65561
- path += "&";
66902
+ return returnArray;
66903
+ }
66904
+ // trigger registering
66905
+ /**
66906
+ * register a new trigger
66907
+ */
66908
+ registerUntilTrue(functionArg, callbackArg) {
66909
+ const trueDeferred = dist_ts_exports.defer();
66910
+ this._triggerUntilTrueFunctionArray.push(() => {
66911
+ const result = functionArg(this.getStringArray());
66912
+ if (result === true) {
66913
+ if (callbackArg) {
66914
+ callbackArg();
65562
66915
  }
65563
- path += `${key}=${searchParams[key]}`;
66916
+ trueDeferred.resolve();
65564
66917
  }
65565
- }
65566
- const parsedUrl = {
65567
- ...parsedUrlInstance,
65568
- href: parsedUrlInstance.href,
65569
- origin: parsedUrlInstance.origin,
65570
- protocol: parsedUrlInstance.protocol,
65571
- username: parsedUrlInstance.username,
65572
- password: parsedUrlInstance.password,
65573
- host: parsedUrlInstance.host,
65574
- hostname: parsedUrlInstance.hostname,
65575
- port: parsedUrlInstance.port,
65576
- path,
65577
- pathname: parsedUrlInstance.pathname,
65578
- search: parsedUrlInstance.search,
65579
- searchParams,
65580
- hash: parsedUrlInstance.hash
65581
- };
65582
- if (!parsedUrl.port && parsedUrl.protocol === "https:") {
65583
- parsedUrl.port = "443";
65584
- }
65585
- if (!parsedUrl.port && parsedUrl.protocol === "http:") {
65586
- parsedUrl.port = "80";
65587
- }
65588
- const returnSmarturl = new Smarturl();
65589
- Object.assign(returnSmarturl, parsedUrl);
65590
- return returnSmarturl;
65591
- }
65592
- static createFromParsedUrl(parsedUrlArg) {
65593
- const returnSmarturl = new Smarturl();
65594
- Object.assign(returnSmarturl, parsedUrlArg);
65595
- return returnSmarturl;
65596
- }
65597
- constructor() {
65598
- this.searchParams = {};
66918
+ return result;
66919
+ });
66920
+ this.notifyTrigger();
66921
+ return trueDeferred.promise;
65599
66922
  }
65600
- toString() {
65601
- let userpart = ``;
65602
- if (this.username && !this.password) {
65603
- userpart = `${this.username}@`;
65604
- }
65605
- if (this.username && this.password) {
65606
- userpart = `${this.username}:${this.password}@`;
65607
- }
65608
- return `${this.protocol}//${userpart}${this.hostname}:${this.port}${this.path}`;
66923
+ /**
66924
+ * notifies triggers
66925
+ */
66926
+ notifyTrigger() {
66927
+ const filteredArray = this._triggerUntilTrueFunctionArray.filter((functionArg) => {
66928
+ return !functionArg();
66929
+ });
66930
+ this._triggerUntilTrueFunctionArray = filteredArray;
65609
66931
  }
65610
66932
  };
65611
66933
 
65612
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.tag.js
66934
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.js
65613
66935
  var Tag = class {
65614
66936
  appendToDom() {
65615
66937
  if (!this.elementRef.parentElement && !this.elementRef.parentNode) {
@@ -65625,7 +66947,7 @@ var Tag = class {
65625
66947
  }
65626
66948
  };
65627
66949
 
65628
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.tag.jsonldtag.js
66950
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.jsonldtag.js
65629
66951
  var JsonLdTag = class extends Tag {
65630
66952
  static createCompanyJsonLd(companyDataArg) {
65631
66953
  const companyLd = {
@@ -65719,7 +67041,7 @@ var JsonLdTag = class extends Tag {
65719
67041
  }
65720
67042
  };
65721
67043
 
65722
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.tag.opengraphtag.js
67044
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.opengraphtag.js
65723
67045
  var OpengraphTag = class extends Tag {
65724
67046
  static createNewsArticleOgTags(newsArticleArg) {
65725
67047
  const tagArray = [];
@@ -65747,7 +67069,7 @@ var OpengraphTag = class extends Tag {
65747
67069
  }
65748
67070
  };
65749
67071
 
65750
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.taglevel.js
67072
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.taglevel.js
65751
67073
  var TagLevel = class {
65752
67074
  set title(titleArg) {
65753
67075
  this.titleStore = titleArg;
@@ -65812,7 +67134,7 @@ var TagLevel = class {
65812
67134
  }
65813
67135
  };
65814
67136
 
65815
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.tag.metatag.js
67137
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.metatag.js
65816
67138
  var MetaTag = class extends Tag {
65817
67139
  constructor(metaNameArg, contentArg) {
65818
67140
  super();
@@ -65823,7 +67145,7 @@ var MetaTag = class extends Tag {
65823
67145
  }
65824
67146
  };
65825
67147
 
65826
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.tagmanager.js
67148
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tagmanager.js
65827
67149
  var TagManager = class {
65828
67150
  constructor() {
65829
67151
  this.globalLevel = new TagLevel(this, "global");
@@ -65876,12 +67198,12 @@ var TagManager = class {
65876
67198
  }
65877
67199
  };
65878
67200
 
65879
- // node_modules/.pnpm/@pushrocks+websetup@3.0.19/node_modules/@pushrocks/websetup/dist_ts/websetup.classes.websetup.js
67201
+ // node_modules/.pnpm/@push.rocks+websetup@3.0.19/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.websetup.js
65880
67202
  var WebSetup = class {
65881
67203
  constructor(optionsArg) {
65882
67204
  this.tagManager = new TagManager();
65883
- this.readyDeferred = dist_ts_exports3.defer();
65884
- this.readyForSmartssrDeferred = dist_ts_exports3.defer();
67205
+ this.readyDeferred = dist_ts_exports4.defer();
67206
+ this.readyForSmartssrDeferred = dist_ts_exports4.defer();
65885
67207
  this.readyPromise = this.readyDeferred.promise;
65886
67208
  this.readyForSmartssrPromise = this.readyForSmartssrDeferred.promise;
65887
67209
  this.options = optionsArg;
@@ -65932,15 +67254,15 @@ var WebSetup = class {
65932
67254
  }
65933
67255
  };
65934
67256
 
65935
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.plugins.js
67257
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.plugins.js
65936
67258
  var import_sweet_scroll = __toESM(require_sweet_scroll(), 1);
65937
67259
  var lik = {
65938
- ObjectMap,
65939
- Stringmap,
65940
- FastMap
67260
+ ObjectMap: ObjectMap2,
67261
+ Stringmap: Stringmap2,
67262
+ FastMap: FastMap2
65941
67263
  };
65942
67264
 
65943
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.breakpoints.js
67265
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.breakpoints.js
65944
67266
  var domtools_css_breakpoints_exports = {};
65945
67267
  __export(domtools_css_breakpoints_exports, {
65946
67268
  cssForDesktop: () => cssForDesktop,
@@ -66010,12 +67332,12 @@ var cssForPhone = (cssArg) => {
66010
67332
  `);
66011
67333
  };
66012
67334
 
66013
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.thememanager.js
67335
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.thememanager.js
66014
67336
  var ThemeManager = class {
66015
67337
  constructor(domtoolsRefArg) {
66016
67338
  this.goBrightBoolean = false;
66017
67339
  this.preferredColorSchemeMediaMatch = window.matchMedia("(prefers-color-scheme: light)");
66018
- this.themeObservable = new dist_ts_exports4.rxjs.ReplaySubject(1);
67340
+ this.themeObservable = new dist_ts_exports2.rxjs.ReplaySubject(1);
66019
67341
  this.domtoolsRef = domtoolsRefArg;
66020
67342
  this.goBrightBoolean = this.preferredColorSchemeMediaMatch.matches;
66021
67343
  this.preferredColorSchemeMediaMatch.addEventListener("change", (eventArg) => {
@@ -66053,7 +67375,7 @@ var ThemeManager = class {
66053
67375
  }
66054
67376
  };
66055
67377
 
66056
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.keyboard.js
67378
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.keyboard.js
66057
67379
  var Key;
66058
67380
  (function(Key2) {
66059
67381
  Key2[Key2["Backspace"] = 8] = "Backspace";
@@ -66187,7 +67509,7 @@ var Keyboard = class {
66187
67509
  this.startListening();
66188
67510
  }
66189
67511
  on(keys) {
66190
- const subject = new dist_ts_exports4.rxjs.Subject();
67512
+ const subject = new dist_ts_exports2.rxjs.Subject();
66191
67513
  this.registerKeys(keys, subject);
66192
67514
  return subject;
66193
67515
  }
@@ -66239,7 +67561,7 @@ var Keyboard = class {
66239
67561
  }
66240
67562
  };
66241
67563
 
66242
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.domtools.js
67564
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.domtools.js
66243
67565
  var DomTools = class {
66244
67566
  // ======
66245
67567
  // STATIC
@@ -66289,29 +67611,29 @@ var DomTools = class {
66289
67611
  title: "loading..."
66290
67612
  }
66291
67613
  });
66292
- this.smartstate = new dist_ts_exports18.Smartstate();
67614
+ this.smartstate = new dist_ts_exports23.Smartstate();
66293
67615
  this.domToolsStatePart = this.smartstate.getStatePart("domtools", {
66294
67616
  virtualViewport: "native",
66295
67617
  jwt: null
66296
67618
  });
66297
- this.router = new dist_ts_exports16.SmartRouter({
67619
+ this.router = new dist_ts_exports21.SmartRouter({
66298
67620
  debug: false
66299
67621
  });
66300
67622
  this.convenience = {
66301
- typedrequest: dist_ts_exports14,
66302
- smartdelay: dist_ts_exports7,
66303
- smartjson: dist_ts_exports10,
66304
- smarturl: dist_ts_exports19
67623
+ typedrequest: dist_ts_exports15,
67624
+ smartdelay: dist_ts_exports17,
67625
+ smartjson: dist_ts_exports20,
67626
+ smarturl: dist_ts_exports24
66305
67627
  };
66306
- this.deesComms = new dist_ts_exports15.DeesComms();
67628
+ this.deesComms = new dist_ts_exports16.DeesComms();
66307
67629
  this.scroller = new import_sweet_scroll.default({
66308
67630
  /* some options */
66309
67631
  });
66310
67632
  this.themeManager = new ThemeManager(this);
66311
67633
  this.keyboard = new Keyboard(document.body);
66312
- this.domToolsReady = dist_ts_exports3.defer();
66313
- this.domReady = dist_ts_exports3.defer();
66314
- this.globalStylesReady = dist_ts_exports3.defer();
67634
+ this.domToolsReady = dist_ts_exports.defer();
67635
+ this.domReady = dist_ts_exports.defer();
67636
+ this.globalStylesReady = dist_ts_exports.defer();
66315
67637
  this.runOnceTrackerStringMap = new lik.Stringmap();
66316
67638
  this.runOnceResultMap = new lik.FastMap();
66317
67639
  }
@@ -66353,7 +67675,7 @@ var DomTools = class {
66353
67675
  */
66354
67676
  async setExternalScript(scriptLinkArg) {
66355
67677
  await this.domReady.promise;
66356
- const done = dist_ts_exports3.defer();
67678
+ const done = dist_ts_exports.defer();
66357
67679
  const script = document.createElement("script");
66358
67680
  script.src = scriptLinkArg;
66359
67681
  script.addEventListener("load", function() {
@@ -66384,7 +67706,7 @@ var DomTools = class {
66384
67706
  }
66385
67707
  };
66386
67708
 
66387
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.basestyles.js
67709
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.basestyles.js
66388
67710
  var scrollBarStyles = (() => {
66389
67711
  const returnStylesOld = navigator.userAgent.indexOf("Mac OS X") === -1 ? i``.cssText : ``;
66390
67712
  const returnStyles = i`
@@ -66419,7 +67741,7 @@ var globalBaseStyles = i`
66419
67741
  ${r(scrollBarStyles)}
66420
67742
  `.cssText;
66421
67743
 
66422
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
67744
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
66423
67745
  var staticStyles = i`
66424
67746
  * {
66425
67747
  transition: background 0.1s, color 0.1s;
@@ -66457,7 +67779,7 @@ var setup = async (elementArg, optionsArg = {}) => {
66457
67779
  return domTools;
66458
67780
  };
66459
67781
 
66460
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.js
67782
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.js
66461
67783
  var domtools_css_exports = {};
66462
67784
  __export(domtools_css_exports, {
66463
67785
  cssGridColumns: () => cssGridColumns
@@ -66470,12 +67792,12 @@ var cssGridColumns = (amountOfColumnsArg, gapSizeArg) => {
66470
67792
  return returnString;
66471
67793
  };
66472
67794
 
66473
- // node_modules/.pnpm/@design.estate+dees-domtools@2.0.37/node_modules/@design.estate/dees-domtools/dist_ts/index.js
67795
+ // node_modules/.pnpm/@design.estate+dees-domtools@2.0.38/node_modules/@design.estate/dees-domtools/dist_ts/index.js
66474
67796
  var plugins = {
66475
- smartdelay: dist_ts_exports7,
66476
- smartpromise: dist_ts_exports3,
67797
+ smartdelay: dist_ts_exports17,
67798
+ smartpromise: dist_ts_exports,
66477
67799
  SweetScroll: import_sweet_scroll.default,
66478
- smartstate: dist_ts_exports18
67800
+ smartstate: dist_ts_exports23
66479
67801
  };
66480
67802
 
66481
67803
  // node_modules/.pnpm/@design.estate+dees-element@2.0.25/node_modules/@design.estate/dees-element/dist_ts/dees-element.plugins.js
@@ -66540,7 +67862,7 @@ var CssManager = class {
66540
67862
  returnCssVar = existingTriplet.cssVarName;
66541
67863
  } else {
66542
67864
  const newTriplet = {
66543
- cssVarName: `--${isounique3.uni()}`,
67865
+ cssVarName: `--${isounique4.uni()}`,
66544
67866
  brightValue: brightValueArg,
66545
67867
  darkValue: darkValueArg
66546
67868
  };
@@ -66895,9 +68217,9 @@ var DeesElement = class extends lit.LitElement {
66895
68217
  super();
66896
68218
  this.goBright = false;
66897
68219
  this.rxSubscriptions = [];
66898
- this.elementDomReadyDeferred = dist_ts_exports22.plugins.smartpromise.defer();
68220
+ this.elementDomReadyDeferred = dist_ts_exports32.plugins.smartpromise.defer();
66899
68221
  this.elementDomReady = this.elementDomReadyDeferred.promise;
66900
- this.domtoolsPromise = dist_ts_exports22.elementBasic.setup(this, optionsArg);
68222
+ this.domtoolsPromise = dist_ts_exports32.elementBasic.setup(this, optionsArg);
66901
68223
  this.domtoolsPromise.then((domtoolsArg) => {
66902
68224
  this.domtools = domtoolsArg;
66903
68225
  });
@@ -66930,7 +68252,7 @@ __decorate([
66930
68252
  ], DeesElement.prototype, "goBright", void 0);
66931
68253
  __decorate([
66932
68254
  lit.property(),
66933
- __metadata("design:type", dist_ts_exports22.DomTools)
68255
+ __metadata("design:type", dist_ts_exports32.DomTools)
66934
68256
  ], DeesElement.prototype, "domtools", void 0);
66935
68257
 
66936
68258
  // node_modules/.pnpm/@design.estate+dees-element@2.0.25/node_modules/@design.estate/dees-element/dist_ts/dees-element.classes.subscribedirective.js
@@ -67242,7 +68564,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
67242
68564
  <div
67243
68565
  class="selectOption ${this.selectedItem === item ? "selected" : null}"
67244
68566
  @click=${async () => {
67245
- const domtools6 = await dist_ts_exports22.DomTools.setupDomTools();
68567
+ const domtools6 = await dist_ts_exports32.DomTools.setupDomTools();
67246
68568
  this.selectItem("page", pageName, item);
67247
68569
  }}
67248
68570
  >
@@ -67261,7 +68583,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
67261
68583
  <div
67262
68584
  class="selectOption ${this.selectedItem === item ? "selected" : null}"
67263
68585
  @click=${async () => {
67264
- const domtools6 = await dist_ts_exports22.DomTools.setupDomTools();
68586
+ const domtools6 = await dist_ts_exports32.DomTools.setupDomTools();
67265
68587
  this.selectItem("element", elementName, item);
67266
68588
  }}
67267
68589
  >
@@ -67795,7 +69117,7 @@ var WccDashboard = class WccDashboard2 extends DeesElement {
67795
69117
  }
67796
69118
  }
67797
69119
  async firstUpdated() {
67798
- this.domtools = await dist_ts_exports22.DomTools.setupDomTools();
69120
+ this.domtools = await dist_ts_exports32.DomTools.setupDomTools();
67799
69121
  this.domtools.router.on("/wcctools-route/:itemType/:itemName/:viewport/:theme", async (routeInfo) => {
67800
69122
  this.selectedType = routeInfo.params.itemType;
67801
69123
  this.selectedItemName = routeInfo.params.itemName;
@@ -67806,12 +69128,12 @@ var WccDashboard = class WccDashboard2 extends DeesElement {
67806
69128
  } else if (routeInfo.params.itemType === "page") {
67807
69129
  this.selectedItem = this.pages[routeInfo.params.itemName];
67808
69130
  }
67809
- const domtoolsInstance = await dist_ts_exports22.elementBasic.setup();
69131
+ const domtoolsInstance = await dist_ts_exports32.elementBasic.setup();
67810
69132
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
67811
69133
  });
67812
69134
  }
67813
69135
  async updated() {
67814
- this.domtools = await dist_ts_exports22.DomTools.setupDomTools();
69136
+ this.domtools = await dist_ts_exports32.DomTools.setupDomTools();
67815
69137
  await this.domtools.router._handleRouteState();
67816
69138
  const storeElement = this.selectedItem;
67817
69139
  const wccFrame = this.shadowRoot.querySelector("wcc-frame");
@@ -68515,205 +69837,6 @@ DeesContextmenu = __decorateClass([
68515
69837
  var import_lib = __toESM(require_lib2(), 1);
68516
69838
  var es_default = import_lib.default;
68517
69839
 
68518
- // node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.plugins.js
68519
- var smartpromise5 = __toESM(require_dist_ts3(), 1);
68520
-
68521
- // node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
68522
- var Smartenv2 = class {
68523
- constructor() {
68524
- this.loadedScripts = [];
68525
- }
68526
- async getEnvAwareModule(optionsArg) {
68527
- if (this.isNode) {
68528
- const moduleResult = await this.getSafeNodeModule(optionsArg.nodeModuleName);
68529
- return moduleResult;
68530
- } else if (this.isBrowser) {
68531
- const moduleResult = await this.getSafeWebModule(optionsArg.webUrlArg, optionsArg.getFunction);
68532
- return moduleResult;
68533
- } else {
68534
- console.error("platform for loading not supported by smartenv");
68535
- }
68536
- }
68537
- async getSafeNodeModule(moduleNameArg) {
68538
- if (!this.isNode) {
68539
- console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}`);
68540
- return;
68541
- }
68542
- return new Function(`return import('${moduleNameArg}')`)();
68543
- }
68544
- async getSafeWebModule(urlArg, getFunctionArg) {
68545
- if (!this.isBrowser) {
68546
- console.error("You tried to load a web module in a wrong context");
68547
- return;
68548
- }
68549
- if (this.loadedScripts.includes(urlArg)) {
68550
- return getFunctionArg();
68551
- } else {
68552
- this.loadedScripts.push(urlArg);
68553
- }
68554
- const done = smartpromise5.defer();
68555
- if (globalThis.importScripts) {
68556
- globalThis.importScripts(urlArg);
68557
- done.resolve();
68558
- } else {
68559
- const script = document.createElement("script");
68560
- script.onload = () => {
68561
- done.resolve();
68562
- };
68563
- script.src = urlArg;
68564
- document.head.appendChild(script);
68565
- }
68566
- await done.promise;
68567
- return getFunctionArg();
68568
- }
68569
- get runtimeEnv() {
68570
- if (typeof process !== "undefined") {
68571
- return "node";
68572
- } else {
68573
- return "browser";
68574
- }
68575
- }
68576
- get isBrowser() {
68577
- return !this.isNode;
68578
- }
68579
- get userAgent() {
68580
- if (this.isBrowser) {
68581
- return navigator.userAgent;
68582
- } else {
68583
- return "undefined";
68584
- }
68585
- }
68586
- get isNode() {
68587
- return this.runtimeEnv === "node";
68588
- }
68589
- get nodeVersion() {
68590
- return process.version;
68591
- }
68592
- get isCI() {
68593
- if (this.isNode) {
68594
- if (process.env.CI) {
68595
- return true;
68596
- } else {
68597
- return false;
68598
- }
68599
- } else {
68600
- return false;
68601
- }
68602
- }
68603
- async isMacAsync() {
68604
- if (this.isNode) {
68605
- const os = await this.getSafeNodeModule("os");
68606
- return os.platform() === "darwin";
68607
- } else {
68608
- return false;
68609
- }
68610
- }
68611
- async isWindowsAsync() {
68612
- if (this.isNode) {
68613
- const os = await this.getSafeNodeModule("os");
68614
- return os.platform() === "win32";
68615
- } else {
68616
- return false;
68617
- }
68618
- }
68619
- async isLinuxAsync() {
68620
- if (this.isNode) {
68621
- const os = await this.getSafeNodeModule("os");
68622
- return os.platform() === "linux";
68623
- } else {
68624
- return false;
68625
- }
68626
- }
68627
- /**
68628
- * prints the environment to console
68629
- */
68630
- async printEnv() {
68631
- if (this.isNode) {
68632
- console.log("running on NODE");
68633
- console.log("node version is " + this.nodeVersion);
68634
- } else {
68635
- console.log("running on BROWSER");
68636
- console.log("browser is " + this.userAgent);
68637
- }
68638
- }
68639
- };
68640
-
68641
- // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
68642
- var isounique4 = __toESM(require_dist_ts(), 1);
68643
- var import_buffer2 = __toESM(require_buffer(), 1);
68644
- var url2 = __toESM(require_url(), 1);
68645
- var import_randomatic2 = __toESM(require_randomatic(), 1);
68646
- var smartenvInstance2 = new Smartenv2();
68647
- if (smartenvInstance2.isBrowser) {
68648
- globalThis.Buffer = import_buffer2.Buffer;
68649
- }
68650
-
68651
- // node_modules/.pnpm/@push.rocks+smartstring@4.0.8/node_modules/@push.rocks/smartstring/dist_ts/smartstring.indent.js
68652
- var smartstring_indent_exports2 = {};
68653
- __export(smartstring_indent_exports2, {
68654
- indent: () => indent2,
68655
- indentWithPrefix: () => indentWithPrefix2,
68656
- normalize: () => normalize2
68657
- });
68658
- var splitStringAtLineBreak2 = (stringArg) => {
68659
- let resultArray = stringArg.split("\n");
68660
- return cleanStringArray2(resultArray);
68661
- };
68662
- var joinStringWithLineBreaks2 = (stringArrayArg) => {
68663
- let resultString = "";
68664
- for (let line of stringArrayArg) {
68665
- resultString = resultString + line + "\n";
68666
- }
68667
- return resultString;
68668
- };
68669
- var cleanStringArray2 = (stringArrayArg) => {
68670
- let testRegex = /^[\s]*$/;
68671
- if (testRegex.test(stringArrayArg[0])) {
68672
- stringArrayArg.shift();
68673
- }
68674
- if (testRegex.test(stringArrayArg[stringArrayArg.length - 1])) {
68675
- stringArrayArg.pop();
68676
- }
68677
- return stringArrayArg;
68678
- };
68679
- var indent2 = (stringArg, spaceAmount) => {
68680
- let localStringArray = splitStringAtLineBreak2(stringArg);
68681
- for (let stringArg2 of localStringArray) {
68682
- stringArg2 = " ".repeat(spaceAmount) + stringArg2;
68683
- }
68684
- let resultString = joinStringWithLineBreaks2(localStringArray);
68685
- return resultString;
68686
- };
68687
- var indentWithPrefix2 = (stringArg, prefixArg) => {
68688
- let resultString;
68689
- let stringArray = splitStringAtLineBreak2(stringArg);
68690
- let resultArray = [];
68691
- for (let stringItem of stringArray) {
68692
- resultArray.push(prefixArg + stringItem);
68693
- }
68694
- resultString = joinStringWithLineBreaks2(resultArray);
68695
- return resultString;
68696
- };
68697
- var normalize2 = (stringArg) => {
68698
- let resultString;
68699
- let splitStringArray = splitStringAtLineBreak2(stringArg);
68700
- let minCommonLeftOffset;
68701
- const deIndentRegex = /^(\s*)/;
68702
- const emptyLineRegex = /^(\s*)$/;
68703
- for (let stringItem of splitStringArray) {
68704
- let offsetString = deIndentRegex.exec(stringItem)[1];
68705
- if ((typeof minCommonLeftOffset === "undefined" || offsetString.length < minCommonLeftOffset) && !emptyLineRegex.test(stringItem)) {
68706
- minCommonLeftOffset = offsetString.length;
68707
- }
68708
- }
68709
- let resultSplitStringArray = [];
68710
- for (let stringItem of splitStringArray) {
68711
- resultSplitStringArray.push(stringItem.substr(minCommonLeftOffset));
68712
- }
68713
- resultString = joinStringWithLineBreaks2(resultSplitStringArray);
68714
- return resultString;
68715
- };
68716
-
68717
69840
  // ts_web/elements/dees-dataview-codebox.ts
68718
69841
  var DeesDataviewCodebox = class extends DeesElement {
68719
69842
  constructor() {
@@ -69033,7 +70156,7 @@ var DeesInputCheckbox = class extends DeesElement {
69033
70156
  constructor() {
69034
70157
  super(...arguments);
69035
70158
  // INSTANCE
69036
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
70159
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
69037
70160
  this.label = "Label";
69038
70161
  this.value = false;
69039
70162
  this.required = false;
@@ -69170,7 +70293,8 @@ var DeesInputCheckbox = class extends DeesElement {
69170
70293
  DeesInputCheckbox.demo = () => x`<dees-input-checkbox></dees-input-checkbox>`;
69171
70294
  __decorateClass([
69172
70295
  n5({
69173
- type: String
70296
+ type: String,
70297
+ reflect: true
69174
70298
  })
69175
70299
  ], DeesInputCheckbox.prototype, "key", 2);
69176
70300
  __decorateClass([
@@ -69202,8 +70326,8 @@ var DeesInputText = class extends DeesElement {
69202
70326
  constructor() {
69203
70327
  super(...arguments);
69204
70328
  // INSTANCE
69205
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
69206
- this.valueChangeSubject = new smartrx_plugins_rxjs_exports2.Subject();
70329
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
70330
+ this.valueChangeSubject = new smartrx_plugins_rxjs_exports.Subject();
69207
70331
  this.value = "";
69208
70332
  this.required = false;
69209
70333
  this.disabled = false;
@@ -69328,7 +70452,8 @@ __decorateClass([
69328
70452
  ], DeesInputText.prototype, "label", 2);
69329
70453
  __decorateClass([
69330
70454
  n5({
69331
- type: String
70455
+ type: String,
70456
+ reflect: true
69332
70457
  })
69333
70458
  ], DeesInputText.prototype, "key", 2);
69334
70459
  __decorateClass([
@@ -69368,7 +70493,8 @@ var DeesInputQuantitySelector = class extends DeesElement {
69368
70493
  constructor() {
69369
70494
  super();
69370
70495
  // INSTANCE
69371
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
70496
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
70497
+ this.label = "Label";
69372
70498
  this.value = 1;
69373
70499
  this.required = false;
69374
70500
  this.disabled = false;
@@ -69452,6 +70578,12 @@ var DeesInputQuantitySelector = class extends DeesElement {
69452
70578
  DeesInputQuantitySelector.demo = () => x`<dees-input-quantityselector></dees-input-quantityselector>`;
69453
70579
  __decorateClass([
69454
70580
  n5()
70581
+ ], DeesInputQuantitySelector.prototype, "label", 2);
70582
+ __decorateClass([
70583
+ n5({
70584
+ type: String,
70585
+ reflect: true
70586
+ })
69455
70587
  ], DeesInputQuantitySelector.prototype, "key", 2);
69456
70588
  __decorateClass([
69457
70589
  n5({
@@ -69477,7 +70609,7 @@ var DeesInputRadio = class extends DeesElement {
69477
70609
  constructor() {
69478
70610
  super();
69479
70611
  // INSTANCE
69480
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
70612
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
69481
70613
  this.label = "Label";
69482
70614
  this.value = false;
69483
70615
  this.required = false;
@@ -69570,7 +70702,10 @@ var DeesInputRadio = class extends DeesElement {
69570
70702
  };
69571
70703
  DeesInputRadio.demo = () => x`<dees-input-radio></dees-input-radio>`;
69572
70704
  __decorateClass([
69573
- n5()
70705
+ n5({
70706
+ type: String,
70707
+ reflect: true
70708
+ })
69574
70709
  ], DeesInputRadio.prototype, "key", 2);
69575
70710
  __decorateClass([
69576
70711
  n5()
@@ -69603,7 +70738,7 @@ var DeesForm = class extends DeesElement {
69603
70738
  constructor() {
69604
70739
  super(...arguments);
69605
70740
  this.name = "myform";
69606
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
70741
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
69607
70742
  this.readyDeferred = plugins.smartpromise.defer();
69608
70743
  }
69609
70744
  render() {
@@ -69656,6 +70791,9 @@ var DeesForm = class extends DeesElement {
69656
70791
  const children = this.getFormElements();
69657
70792
  const valueObject = {};
69658
70793
  for (const child of children) {
70794
+ if (!child.key) {
70795
+ console.log(`form element with label "${child.label}" has no key. skipping.`);
70796
+ }
69659
70797
  valueObject[child.key] = child.value;
69660
70798
  }
69661
70799
  return valueObject;
@@ -70828,7 +71966,7 @@ var dom = {
70828
71966
  });
70829
71967
  }
70830
71968
  };
70831
- var parse3 = {
71969
+ var parse4 = {
70832
71970
  icon: function icon(_icon) {
70833
71971
  if (_icon === null) {
70834
71972
  return null;
@@ -70869,7 +72007,7 @@ var api = {
70869
72007
  noAuto,
70870
72008
  config: config2,
70871
72009
  dom,
70872
- parse: parse3,
72010
+ parse: parse4,
70873
72011
  library,
70874
72012
  findIconDefinition,
70875
72013
  toHtml
@@ -72623,7 +73761,7 @@ var DeesInputDropdown = class extends DeesElement {
72623
73761
  constructor() {
72624
73762
  super(...arguments);
72625
73763
  // INSTANCE
72626
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
73764
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
72627
73765
  this.label = "Label";
72628
73766
  this.options = [];
72629
73767
  this.selectedOption = {
@@ -72766,7 +73904,10 @@ DeesInputDropdown.styles = [
72766
73904
  `
72767
73905
  ];
72768
73906
  __decorateClass([
72769
- n5()
73907
+ n5({
73908
+ type: String,
73909
+ reflect: true
73910
+ })
72770
73911
  ], DeesInputDropdown.prototype, "label", 2);
72771
73912
  __decorateClass([
72772
73913
  n5()
@@ -72796,7 +73937,7 @@ var DeesInputFileupload = class extends DeesElement {
72796
73937
  constructor() {
72797
73938
  super();
72798
73939
  // INSTANCE
72799
- this.changeSubject = new smartrx_plugins_rxjs_exports2.Subject();
73940
+ this.changeSubject = new smartrx_plugins_rxjs_exports.Subject();
72800
73941
  this.label = null;
72801
73942
  this.value = [];
72802
73943
  this.state = "idle";
@@ -72951,7 +74092,8 @@ __decorateClass([
72951
74092
  ], DeesInputFileupload.prototype, "label", 2);
72952
74093
  __decorateClass([
72953
74094
  n5({
72954
- type: String
74095
+ type: String,
74096
+ reflect: true
72955
74097
  })
72956
74098
  ], DeesInputFileupload.prototype, "key", 2);
72957
74099
  __decorateClass([
@@ -72987,7 +74129,7 @@ var DeesMobilenavigation = class extends DeesElement {
72987
74129
  super();
72988
74130
  this.heading = `MENU`;
72989
74131
  this.menuItems = [];
72990
- this.readyDeferred = dist_ts_exports22.plugins.smartpromise.defer();
74132
+ this.readyDeferred = dist_ts_exports32.plugins.smartpromise.defer();
72991
74133
  }
72992
74134
  static async createAndInit(menuItemsArg) {
72993
74135
  if (!this.singletonRef) {
@@ -73179,9 +74321,9 @@ var DeesPdf = class extends DeesElement {
73179
74321
  async connectedCallback() {
73180
74322
  super.connectedCallback();
73181
74323
  if (!DeesPdf.pdfJsReady) {
73182
- const pdfJsReadyDeferred = dist_ts_exports22.plugins.smartpromise.defer();
74324
+ const pdfJsReadyDeferred = dist_ts_exports32.plugins.smartpromise.defer();
73183
74325
  DeesPdf.pdfJsReady = pdfJsReadyDeferred.promise;
73184
- const loadDeferred = dist_ts_exports22.plugins.smartpromise.defer();
74326
+ const loadDeferred = dist_ts_exports32.plugins.smartpromise.defer();
73185
74327
  const script = document.createElement("script");
73186
74328
  script.addEventListener("load", () => {
73187
74329
  console.log("pdf.js loaded!");
@@ -73249,8 +74391,8 @@ var DeesSimpleLogin = class extends DeesElement {
73249
74391
  <div class="login">
73250
74392
  <dees-form>
73251
74393
  <div class="header">Login to ${this.title}</div>
73252
- <dees-input-text label="username" required></dees-input-text>
73253
- <dees-input-text label="password" isPasswordBool required></dees-input-text>
74394
+ <dees-input-text key="username" label="username" required></dees-input-text>
74395
+ <dees-input-text key="password" label="password" isPasswordBool required></dees-input-text>
73254
74396
  <dees-form-submit disabled>login</dees-form-submit>
73255
74397
  </dees-form>
73256
74398
  </div>