@oardi/ts-utils 0.0.15 → 0.0.18

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.
Files changed (42) hide show
  1. package/enums/index.d.ts +0 -1
  2. package/enums/index.d.ts.map +1 -1
  3. package/enums/loggertype.enum.d.ts.map +1 -1
  4. package/extensions/array-extension.d.ts.map +1 -1
  5. package/extensions/date-extension.d.ts.map +1 -1
  6. package/extensions/index.d.ts.map +1 -1
  7. package/extensions/string-extensions.d.ts.map +1 -1
  8. package/helpers/clipboard.helper.d.ts.map +1 -1
  9. package/helpers/csv.helper.d.ts.map +1 -1
  10. package/helpers/download.helper.d.ts.map +1 -1
  11. package/helpers/enum.helper.d.ts.map +1 -1
  12. package/helpers/file.helper.d.ts.map +1 -1
  13. package/helpers/index.d.ts.map +1 -1
  14. package/helpers/local-storage.helper.d.ts.map +1 -1
  15. package/helpers/logger.helper.d.ts.map +1 -1
  16. package/helpers/sort.helper.d.ts.map +1 -1
  17. package/helpers/token.helper.d.ts.map +1 -1
  18. package/index.cjs.js +1 -1
  19. package/index.d.ts.map +1 -1
  20. package/index.es.js +1 -0
  21. package/index.umd.js +4 -4
  22. package/interfaces/index.d.ts +0 -1
  23. package/interfaces/index.d.ts.map +1 -1
  24. package/interfaces/keyvalue.interface.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/readme.md +15 -0
  27. package/{enums/browsertype.enum.d.ts → services/browser/browser-type.enum.d.ts} +1 -1
  28. package/services/browser/browser-type.enum.d.ts.map +1 -0
  29. package/{interfaces → services/browser}/browser.interface.d.ts +1 -1
  30. package/services/browser/browser.interface.d.ts.map +1 -0
  31. package/services/{browser.service.d.ts → browser/browser.service.d.ts} +4 -4
  32. package/services/browser/browser.service.d.ts.map +1 -0
  33. package/services/browser/index.d.ts +4 -0
  34. package/services/browser/index.d.ts.map +1 -0
  35. package/services/index.d.ts +1 -1
  36. package/services/index.d.ts.map +1 -1
  37. package/types/index.d.ts.map +1 -1
  38. package/vite.config.d.ts +3 -0
  39. package/vite.config.d.ts.map +1 -0
  40. package/enums/browsertype.enum.d.ts.map +0 -1
  41. package/interfaces/browser.interface.d.ts.map +0 -1
  42. package/services/browser.service.d.ts.map +0 -1
package/enums/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from './browsertype.enum';
2
1
  export * from './loggertype.enum';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"loggertype.enum.d.ts","sourceRoot":"","sources":["../../../src/lib/enums/loggertype.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;CACf"}
1
+ {"version":3,"file":"loggertype.enum.d.ts","sourceRoot":"","sources":["../../../lib/enums/loggertype.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"array-extension.d.ts","sourceRoot":"","sources":["../../../src/lib/extensions/array-extension.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,KAAK,CAAC,CAAC;QAChB,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,GAAG,CAAC,EAAE,CAAC;QACzE,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,KAAK,IAAI,CAAC,CAAC;QACX,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,GAAG,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC;QACxD,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,CAAC;QAClE,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;KACtD;CACD"}
1
+ {"version":3,"file":"array-extension.d.ts","sourceRoot":"","sources":["../../../lib/extensions/array-extension.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,KAAK,CAAC,CAAC;QAChB,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,GAAG,CAAC,EAAE,CAAC;QACzE,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,KAAK,IAAI,CAAC,CAAC;QACX,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,GAAG,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC;QACxD,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,CAAC;QAClE,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;KACtD;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"date-extension.d.ts","sourceRoot":"","sources":["../../../src/lib/extensions/date-extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK9E,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,IAAI;QACb,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACtD,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACvD,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,OAAO,CAAC;QACnB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QACrD,eAAe,IAAI,IAAI,CAAC;QACxB,cAAc,IAAI,IAAI,CAAC;QACvB,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACzC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;KAG1C;CACD"}
1
+ {"version":3,"file":"date-extension.d.ts","sourceRoot":"","sources":["../../../lib/extensions/date-extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK9E,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,IAAI;QACb,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACtD,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;QACvD,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,OAAO,CAAC;QACnB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QACrD,eAAe,IAAI,IAAI,CAAC;QACxB,cAAc,IAAI,IAAI,CAAC;QACvB,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACzC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;KAG1C;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"string-extensions.d.ts","sourceRoot":"","sources":["../../../src/lib/extensions/string-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,IAAI,MAAM,CAAC;QACrB,QAAQ,IAAI,OAAO,CAAC;QACpB,OAAO,IAAI,OAAO,CAAC;KACnB;CACD"}
1
+ {"version":3,"file":"string-extensions.d.ts","sourceRoot":"","sources":["../../../lib/extensions/string-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,IAAI,MAAM,CAAC;QACrB,QAAQ,IAAI,OAAO,CAAC;QACpB,OAAO,IAAI,OAAO,CAAC;KACnB;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"clipboard.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/clipboard.helper.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3D"}
1
+ {"version":3,"file":"clipboard.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/clipboard.helper.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"csv.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/csv.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG3E,qBAAa,SAAS;IACrB,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,MAAM;IAI/E,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAShE"}
1
+ {"version":3,"file":"csv.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/csv.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG3E,qBAAa,SAAS;IACrB,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,MAAM;IAI/E,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAShE"}
@@ -1 +1 @@
1
- {"version":3,"file":"download.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/download.helper.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAElE,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,wEAAwE;IAC3F,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAsB,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAyDvG"}
1
+ {"version":3,"file":"download.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/download.helper.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAElE,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,wEAAwE;IAC3F,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAsB,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAyDvG"}
@@ -1 +1 @@
1
- {"version":3,"file":"enum.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/enum.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,qBAAa,UAAU;IACtB,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;IAQ1E,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE;CAQtE"}
1
+ {"version":3,"file":"enum.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/enum.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,qBAAa,UAAU;IACtB,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;IAQ1E,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE;CAQtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"file.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/file.helper.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IACtB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAWjD;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAsB9C,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC;IAsB1D,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAWpE;;;SAGK;IACL,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAU,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM;IAoB9G,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;CAIxE"}
1
+ {"version":3,"file":"file.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/file.helper.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IACtB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAWjD;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAsB9C,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC;IAsB1D,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAWpE;;;SAGK;IACL,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAU,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM;IAoB9G,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;CAIxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"local-storage.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/local-storage.helper.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;IAC9B,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAI1C,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC;IASvC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAQnC,MAAM,CAAC,SAAS,IAAI,IAAI;IAIxB,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE;CAGvC"}
1
+ {"version":3,"file":"local-storage.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/local-storage.helper.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;IAC9B,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAI1C,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC;IASvC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAQnC,MAAM,CAAC,SAAS,IAAI,IAAI;IAIxB,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE;CAGvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"logger.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/logger.helper.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;WACV,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI7B,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI9B,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI9B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI/B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAI7C,OAAO,CAAC,MAAM,CAAC,KAAK;CAGpB"}
1
+ {"version":3,"file":"logger.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/logger.helper.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;WACV,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI7B,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI9B,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI9B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;WAI/B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAI7C,OAAO,CAAC,MAAM,CAAC,KAAK;CAGpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"sort.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/sort.helper.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,YAAY,OAAO,KAAG,MAI5F,CAAC"}
1
+ {"version":3,"file":"sort.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/sort.helper.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,YAAY,OAAO,KAAG,MAI5F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"token.helper.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/token.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,qBAAa,WAAW;IACvB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI;IAIzC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAI/C,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;CAGnC"}
1
+ {"version":3,"file":"token.helper.d.ts","sourceRoot":"","sources":["../../../lib/helpers/token.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,qBAAa,WAAW;IACvB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI;IAIzC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAI/C,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;CAGnC"}
package/index.cjs.js CHANGED
@@ -12,4 +12,4 @@ License: MIT
12
12
  `&&(n=`
13
13
  `);var h=0,y=!1;this.parse=function(p,_,d){if(typeof p!="string")throw new Error("Input must be a string");var C=p.length,R=t.length,F=n.length,j=o.length,k=$(g),E=[],O=[],v=[],A=h=0;if(!p)return q();if(m||m!==!1&&p.indexOf(a)===-1){for(var z=p.split(n),I=0;I<z.length;I++){if(v=z[I],h+=v.length,I!==z.length-1)h+=n.length;else if(d)return q();if(!o||v.substring(0,j)!==o){if(k){if(E=[],ue(v.split(t)),re(),y)return q()}else ue(v.split(t));if(b&&b<=I)return E=E.slice(0,b),q(!0)}}return q()}for(var T=p.indexOf(t,h),D=p.indexOf(n,h),Z=new RegExp(ie(u)+ie(a),"g"),S=p.indexOf(a,h);;)if(p[h]===a)for(S=h,h++;;){if((S=p.indexOf(a,S+1))===-1)return d||O.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:h}),te();if(S===C-1)return te(p.substring(h,S).replace(Z,a));if(a===u&&p[S+1]===u)S++;else if(a===u||S===0||p[S-1]!==u){T!==-1&&T<S+1&&(T=p.indexOf(t,S+1));var B=fe((D=D!==-1&&D<S+1?p.indexOf(n,S+1):D)===-1?T:Math.min(T,D));if(p.substr(S+1+B,R)===t){v.push(p.substring(h,S).replace(Z,a)),p[h=S+1+B+R]!==a&&(S=p.indexOf(a,h)),T=p.indexOf(t,h),D=p.indexOf(n,h);break}if(B=fe(D),p.substring(S+1+B,S+1+B+F)===n){if(v.push(p.substring(h,S).replace(Z,a)),ye(S+1+B+F),T=p.indexOf(t,h),S=p.indexOf(a,h),k&&(re(),y))return q();if(b&&E.length>=b)return q(!0);break}O.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:h}),S++}}else if(o&&v.length===0&&p.substring(h,h+j)===o){if(D===-1)return q();h=D+F,D=p.indexOf(n,h),T=p.indexOf(t,h)}else if(T!==-1&&(T<D||D===-1))v.push(p.substring(h,T)),h=T+R,T=p.indexOf(t,h);else{if(D===-1)break;if(v.push(p.substring(h,D)),ye(D+F),k&&(re(),y))return q();if(b&&E.length>=b)return q(!0)}return te();function ue(U){E.push(U),A=h}function fe(U){var J=0;return J=U!==-1&&(U=p.substring(S+1,U))&&U.trim()===""?U.length:J}function te(U){return d||(U===void 0&&(U=p.substring(h)),v.push(U),h=C,ue(v),k&&re()),q()}function ye(U){h=U,ue(v),v=[],D=p.indexOf(n,h)}function q(U){if(e.header&&!_&&E.length&&!l){var J=E[0],ae=Object.create(null),Se=new Set(J);let Ee=!1;for(let de=0;de<J.length;de++){let ne=J[de];if(ae[ne=$(e.transformHeader)?e.transformHeader(ne,de):ne]){let _e,xe=ae[ne];for(;_e=ne+"_"+xe,xe++,Se.has(_e););Se.add(_e),J[de]=_e,ae[ne]++,Ee=!0,(f=f===null?{}:f)[_e]=ne}else ae[ne]=1,J[de]=ne;Se.add(ne)}Ee&&console.warn("Duplicate headers found and renamed."),l=!0}return{data:E,errors:O,meta:{delimiter:t,linebreak:n,aborted:y,truncated:!!U,cursor:A+(_||0),renamedHeaders:f}}}function re(){g(q()),E=[],O=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return h}}function me(e){var t=e.data,n=P[t.workerId],o=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var g={abort:function(){o=!0,oe(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:we,resume:we};if($(n.userStep)){for(var b=0;b<t.results.data.length&&(n.userStep({data:t.results.data[b],errors:t.results.errors,meta:t.results.meta},g),!o);b++);delete t.results}else $(n.userChunk)&&(n.userChunk(t.results,g,t.file),delete t.results)}t.finished&&!o&&oe(t.workerId,t.results)}function oe(e,t){var n=P[e];$(n.userComplete)&&n.userComplete(t),n.terminate(),delete P[e]}function we(){throw new Error("Not implemented.")}function se(e){if(typeof e!="object"||e===null)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=se(e[t]);return n}function N(e,t){return function(){e.apply(t,arguments)}}function $(e){return typeof e=="function"}return w.parse=function(e,t){var n=(t=t||{}).dynamicTyping||!1;if($(n)&&(t.dynamicTypingFunction=n,n={}),t.dynamicTyping=n,t.transform=!!$(t.transform)&&t.transform,!t.worker||!w.WORKERS_SUPPORTED)return n=null,w.NODE_STREAM_INPUT,typeof e=="string"?(e=(o=>o.charCodeAt(0)!==65279?o:o.slice(1))(e),n=new(t.download?W:K)(t)):e.readable===!0&&$(e.read)&&$(e.on)?n=new Q(t):(c.File&&e instanceof File||e instanceof Object)&&(n=new X(t)),n.stream(e);(n=(()=>{var o;return!!w.WORKERS_SUPPORTED&&(o=(()=>{var g=c.URL||c.webkitURL||null,b=i.toString();return w.BLOB_URL||(w.BLOB_URL=g.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",b,")();"],{type:"text/javascript"})))})(),(o=new c.Worker(o)).onmessage=me,o.id=H++,P[o.id]=o)})()).userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=$(t.step),t.chunk=$(t.chunk),t.complete=$(t.complete),t.error=$(t.error),delete t.worker,n.postMessage({input:e,config:t,workerId:n.id})},w.unparse=function(e,t){var n=!1,o=!0,g=",",b=`\r
14
14
  `,m='"',f=m+m,l=!1,a=null,u=!1,h=((()=>{if(typeof t=="object"){if(typeof t.delimiter!="string"||w.BAD_DELIMITERS.filter(function(_){return t.delimiter.indexOf(_)!==-1}).length||(g=t.delimiter),typeof t.quotes!="boolean"&&typeof t.quotes!="function"&&!Array.isArray(t.quotes)||(n=t.quotes),typeof t.skipEmptyLines!="boolean"&&typeof t.skipEmptyLines!="string"||(l=t.skipEmptyLines),typeof t.newline=="string"&&(b=t.newline),typeof t.quoteChar=="string"&&(m=t.quoteChar),typeof t.header=="boolean"&&(o=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw new Error("Option columns is empty");a=t.columns}t.escapeChar!==void 0&&(f=t.escapeChar+m),t.escapeFormulae instanceof RegExp?u=t.escapeFormulae:typeof t.escapeFormulae=="boolean"&&t.escapeFormulae&&(u=/^[=+\-@\t\r].*$/)}})(),new RegExp(ie(m),"g"));if(typeof e=="string"&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return y(null,e,l);if(typeof e[0]=="object")return y(a||Object.keys(e[0]),e,l)}else if(typeof e=="object")return typeof e.data=="string"&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||a),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]=="object"?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]=="object"||(e.data=[e.data])),y(e.fields||[],e.data||[],l);throw new Error("Unable to serialize unrecognized input");function y(_,d,C){var R="",F=(typeof _=="string"&&(_=JSON.parse(_)),typeof d=="string"&&(d=JSON.parse(d)),Array.isArray(_)&&0<_.length),j=!Array.isArray(d[0]);if(F&&o){for(var k=0;k<_.length;k++)0<k&&(R+=g),R+=p(_[k],k);0<d.length&&(R+=b)}for(var E=0;E<d.length;E++){var O=(F?_:d[E]).length,v=!1,A=F?Object.keys(d[E]).length===0:d[E].length===0;if(C&&!F&&(v=C==="greedy"?d[E].join("").trim()==="":d[E].length===1&&d[E][0].length===0),C==="greedy"&&F){for(var z=[],I=0;I<O;I++){var T=j?_[I]:I;z.push(d[E][T])}v=z.join("").trim()===""}if(!v){for(var D=0;D<O;D++){0<D&&!A&&(R+=g);var Z=F&&j?_[D]:D;R+=p(d[E][Z],D)}E<d.length-1&&(!C||0<O&&!A)&&(R+=b)}}return R}function p(_,d){var C,R;return _==null?"":_.constructor===Date?JSON.stringify(_).slice(1,25):(R=!1,u&&typeof _=="string"&&u.test(_)&&(_="'"+_,R=!0),C=_.toString().replace(h,f),(R=R||n===!0||typeof n=="function"&&n(_,d)||Array.isArray(n)&&n[d]||((F,j)=>{for(var k=0;k<j.length;k++)if(-1<F.indexOf(j[k]))return!0;return!1})(C,w.BAD_DELIMITERS)||-1<C.indexOf(g)||C.charAt(0)===" "||C.charAt(C.length-1)===" ")?m+C+m:C)}},w.RECORD_SEP="",w.UNIT_SEP="",w.BYTE_ORDER_MARK="\uFEFF",w.BAD_DELIMITERS=["\r",`
15
- `,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!M&&!!c.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=ce,w.ParserHandle=ee,w.NetworkStreamer=W,w.FileStreamer=X,w.StringStreamer=K,w.ReadableStreamStreamer=Q,c.jQuery&&((x=c.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(b){if(!(x(this).prop("tagName").toUpperCase()==="INPUT"&&x(this).attr("type").toLowerCase()==="file"&&c.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:x.extend({},t)})}),o(),this;function o(){if(n.length===0)$(e.complete)&&e.complete();else{var b,m,f,l,a=n[0];if($(e.before)){var u=e.before(a.file,a.inputElem);if(typeof u=="object"){if(u.action==="abort")return b="AbortError",m=a.file,f=a.inputElem,l=u.reason,void($(e.error)&&e.error({name:b},m,f,l));if(u.action==="skip")return void g();typeof u.config=="object"&&(a.instanceConfig=x.extend(a.instanceConfig,u.config))}else if(u==="skip")return void g()}var h=a.instanceConfig.complete;a.instanceConfig.complete=function(y){$(h)&&h(y,a.file,a.inputElem),g()},w.parse(a.file,a.instanceConfig)}}function g(){n.splice(0,1),o()}}),L&&(c.onmessage=function(e){e=e.data,w.WORKER_ID===void 0&&e&&(w.WORKER_ID=e.workerId),typeof e.input=="string"?c.postMessage({workerId:w.WORKER_ID,results:w.parse(e.input,e.config),finished:!0}):(c.File&&e.input instanceof File||e.input instanceof Object)&&(e=w.parse(e.input,e.config))&&c.postMessage({workerId:w.WORKER_ID,results:e,finished:!0})}),(W.prototype=Object.create(Y.prototype)).constructor=W,(X.prototype=Object.create(Y.prototype)).constructor=X,(K.prototype=Object.create(K.prototype)).constructor=K,(Q.prototype=Object.create(Y.prototype)).constructor=Q,w})})(ve)),ve.exports}var Ce=Fe();class ze{static unparse(r,i){return Ce.unparse(r,i)}static parse(r){return new Promise((i,c)=>{Ce.parse(r,{header:!0,complete:x=>i(x),error:x=>c(x)})})}}async function $e(s,r,i){const c=i?.mimeType??je(r),x=Be(s,c);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const H=await(await window.showSaveFilePicker({suggestedName:r,types:[{description:"Datei",accept:{[c]:[`.${Ae(r)}`]}}]})).createWritable();await H.write(x),await H.close();return}catch{}const M=URL.createObjectURL(x),L=document.createElement("a");L.href=M,L.download=r,L.rel="noopener",L.style.display="none",document.body.appendChild(L),We(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(M)},0),Ue()&&window.open(M,"_blank","noopener,noreferrer")}function Be(s,r){if(s instanceof Blob)return s.type?s:new Blob([s],{type:r});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:r})}return new Blob([s],{type:r||"text/plain;charset=utf-8"})}function je(s){switch(Ae(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function Ae(s){const r=s.lastIndexOf(".");return r>=0&&r<s.length-1?s.slice(r+1):""}function We(s){const r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(r)}function Ue(){const s=navigator.userAgent,r=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return r||i}class Pe{static getEnumValue(r,i){if(i in r)return r[i];throw Error(`${i} not found in ${r}`)}static getKeyValues(r){return Object.keys(r).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:r[i]}))}}class He{static getFileExtension(r){let i="";const c=r.lastIndexOf(".");return c>0&&c<r.length-1&&(i=`.${r.substring(c+1).toLowerCase()}`),i}static readAsText(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?c(i.result):x(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,x(M)},i.readAsText(r)})}static readAsArrayBuffer(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?c(i.result):x(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,x(M)},i.readAsArrayBuffer(r)})}static readAsDataUrl(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=M=>{c(M)},i.onerror=M=>x(M),i.readAsDataURL(r)})}static formatFileSize(r,i=2,c){if(r===0)return"0 Bytes";const x=1024,M=["Bytes","KB","MB","GB","TB"];let L=Math.floor(Math.log(r)/Math.log(x));c&&M.includes(c)&&(L=M.indexOf(c));const P=r/Math.pow(x,L);return`${parseFloat(P.toFixed(i))} ${M[L]}`}static save(r,i,c){const x=new Blob([r],{type:c});$e(x,i)}}class ge{static set(r,i){localStorage.setItem(r,JSON.stringify(i))}static get(r){let i=null;const c=localStorage.getItem(r);return c&&(i=JSON.parse(c)),i}static remove(r){let i=!!ge.get(r);return i&&localStorage.removeItem(r),i}static removeAll(){localStorage.clear()}static getKeysBy(r){return Object.keys(localStorage).filter(i=>i.startsWith(r))}}var pe=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(pe||{});class le{static log(...r){le.doLog(pe.log,r)}static info(...r){le.doLog(pe.info,r)}static warn(...r){le.doLog(pe.warn,r)}static debug(...r){le.doLog(pe.debug,r)}static error(...r){le.doLog(pe.error,r)}static doLog(r,i){console[r].apply(console,i)}}const Ye=(s,r,i)=>s.localeCompare(r)*(i?1:-1),Ne=(s,r)=>s<r?-1:s===r?0:1,qe=(s,r,i)=>Ne(s,r)*(i?1:-1),Ke=(s,r,i)=>{let c=0;return typeof s=="string"&&typeof r=="string"?c=Ye(s,r,i):c=qe(s,r,i),c},Le=(s,r,i,c)=>{const x=i(s),M=i(r);return Ke(x,M,c)};class Je{static get(r){return ge.get(r)}static set(r,i){ge.set(r,i)}static remove(r){ge.remove(r)}}Array.prototype.distinct=function(s){const r=this;return s?r.filter((c,x,M)=>M.findIndex(L=>s(L,c))===x):r.filter((c,x,M)=>M.indexOf(c)===x)};Array.prototype.filterBy=function(s){return this.filter(r=>{let i=!1;return s&&r[s]?i=r[s]===s:i=r===s,i})};Array.prototype.first=function(){return this?.length>0?this[0]:null};Array.prototype.groupBy=function(s){return this.reduce((r,i)=>{const c=s(i);return(r[c]=r[c]||[]).push(i),r},{})};Array.prototype.orderBy=function(s,r=!0){return this?.sort((i,c)=>Le(i,c,s,r)),this};Array.prototype.removeBy=function(s,r){return this.filter(i=>s(i)!==r)};var ke={exports:{}},Qe=ke.exports,De;function Ve(){return De||(De=1,(function(s,r){(function(i,c){s.exports=c()})(Qe,(function(){var i=1e3,c=6e4,x=36e5,M="millisecond",L="second",P="minute",H="hour",w="day",Y="week",W="month",X="quarter",K="year",Q="date",ee="Invalid Date",ie=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,me={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var f=["th","st","nd","rd"],l=m%100;return"["+m+(f[(l-20)%10]||f[l]||f[0])+"]"}},oe=function(m,f,l){var a=String(m);return!a||a.length>=f?m:""+Array(f+1-a.length).join(l)+m},we={s:oe,z:function(m){var f=-m.utcOffset(),l=Math.abs(f),a=Math.floor(l/60),u=l%60;return(f<=0?"+":"-")+oe(a,2,"0")+":"+oe(u,2,"0")},m:function m(f,l){if(f.date()<l.date())return-m(l,f);var a=12*(l.year()-f.year())+(l.month()-f.month()),u=f.clone().add(a,W),h=l-u<0,y=f.clone().add(a+(h?-1:1),W);return+(-(a+(l-u)/(h?u-y:y-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:W,y:K,w:Y,d:w,D:Q,h:H,m:P,s:L,ms:M,Q:X}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},se="en",N={};N[se]=me;var $="$isDayjsObject",e=function(m){return m instanceof g||!(!m||!m[$])},t=function m(f,l,a){var u;if(!f)return se;if(typeof f=="string"){var h=f.toLowerCase();N[h]&&(u=h),l&&(N[h]=l,u=h);var y=f.split("-");if(!u&&y.length>1)return m(y[0])}else{var p=f.name;N[p]=f,u=p}return!a&&u&&(se=u),u||!a&&se},n=function(m,f){if(e(m))return m.clone();var l=typeof f=="object"?f:{};return l.date=m,l.args=arguments,new g(l)},o=we;o.l=t,o.i=e,o.w=function(m,f){return n(m,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var g=(function(){function m(l){this.$L=t(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[$]=!0}var f=m.prototype;return f.parse=function(l){this.$d=(function(a){var u=a.date,h=a.utc;if(u===null)return new Date(NaN);if(o.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var y=u.match(ie);if(y){var p=y[2]-1||0,_=(y[7]||"0").substring(0,3);return h?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)}}return new Date(u)})(l),this.init()},f.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},f.$utils=function(){return o},f.isValid=function(){return this.$d.toString()!==ee},f.isSame=function(l,a){var u=n(l);return this.startOf(a)<=u&&u<=this.endOf(a)},f.isAfter=function(l,a){return n(l)<this.startOf(a)},f.isBefore=function(l,a){return this.endOf(a)<n(l)},f.$g=function(l,a,u){return o.u(l)?this[a]:this.set(u,l)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(l,a){var u=this,h=!!o.u(a)||a,y=o.p(l),p=function(E,O){var v=o.w(u.$u?Date.UTC(u.$y,O,E):new Date(u.$y,O,E),u);return h?v:v.endOf(w)},_=function(E,O){return o.w(u.toDate()[E].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(O)),u)},d=this.$W,C=this.$M,R=this.$D,F="set"+(this.$u?"UTC":"");switch(y){case K:return h?p(1,0):p(31,11);case W:return h?p(1,C):p(0,C+1);case Y:var j=this.$locale().weekStart||0,k=(d<j?d+7:d)-j;return p(h?R-k:R+(6-k),C);case w:case Q:return _(F+"Hours",0);case H:return _(F+"Minutes",1);case P:return _(F+"Seconds",2);case L:return _(F+"Milliseconds",3);default:return this.clone()}},f.endOf=function(l){return this.startOf(l,!1)},f.$set=function(l,a){var u,h=o.p(l),y="set"+(this.$u?"UTC":""),p=(u={},u[w]=y+"Date",u[Q]=y+"Date",u[W]=y+"Month",u[K]=y+"FullYear",u[H]=y+"Hours",u[P]=y+"Minutes",u[L]=y+"Seconds",u[M]=y+"Milliseconds",u)[h],_=h===w?this.$D+(a-this.$W):a;if(h===W||h===K){var d=this.clone().set(Q,1);d.$d[p](_),d.init(),this.$d=d.set(Q,Math.min(this.$D,d.daysInMonth())).$d}else p&&this.$d[p](_);return this.init(),this},f.set=function(l,a){return this.clone().$set(l,a)},f.get=function(l){return this[o.p(l)]()},f.add=function(l,a){var u,h=this;l=Number(l);var y=o.p(a),p=function(C){var R=n(h);return o.w(R.date(R.date()+Math.round(C*l)),h)};if(y===W)return this.set(W,this.$M+l);if(y===K)return this.set(K,this.$y+l);if(y===w)return p(1);if(y===Y)return p(7);var _=(u={},u[P]=c,u[H]=x,u[L]=i,u)[y]||1,d=this.$d.getTime()+l*_;return o.w(d,this)},f.subtract=function(l,a){return this.add(-1*l,a)},f.format=function(l){var a=this,u=this.$locale();if(!this.isValid())return u.invalidDate||ee;var h=l||"YYYY-MM-DDTHH:mm:ssZ",y=o.z(this),p=this.$H,_=this.$m,d=this.$M,C=u.weekdays,R=u.months,F=u.meridiem,j=function(O,v,A,z){return O&&(O[v]||O(a,h))||A[v].slice(0,z)},k=function(O){return o.s(p%12||12,O,"0")},E=F||function(O,v,A){var z=O<12?"AM":"PM";return A?z.toLowerCase():z};return h.replace(ce,(function(O,v){return v||(function(A){switch(A){case"YY":return String(a.$y).slice(-2);case"YYYY":return o.s(a.$y,4,"0");case"M":return d+1;case"MM":return o.s(d+1,2,"0");case"MMM":return j(u.monthsShort,d,R,3);case"MMMM":return j(R,d);case"D":return a.$D;case"DD":return o.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return j(u.weekdaysMin,a.$W,C,2);case"ddd":return j(u.weekdaysShort,a.$W,C,3);case"dddd":return C[a.$W];case"H":return String(p);case"HH":return o.s(p,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return E(p,_,!0);case"A":return E(p,_,!1);case"m":return String(_);case"mm":return o.s(_,2,"0");case"s":return String(a.$s);case"ss":return o.s(a.$s,2,"0");case"SSS":return o.s(a.$ms,3,"0");case"Z":return y}return null})(O)||y.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(l,a,u){var h,y=this,p=o.p(a),_=n(l),d=(_.utcOffset()-this.utcOffset())*c,C=this-_,R=function(){return o.m(y,_)};switch(p){case K:h=R()/12;break;case W:h=R();break;case X:h=R()/3;break;case Y:h=(C-d)/6048e5;break;case w:h=(C-d)/864e5;break;case H:h=C/x;break;case P:h=C/c;break;case L:h=C/i;break;default:h=C}return u?h:o.a(h)},f.daysInMonth=function(){return this.endOf(W).$D},f.$locale=function(){return N[this.$L]},f.locale=function(l,a){if(!l)return this.$L;var u=this.clone(),h=t(l,a,!0);return h&&(u.$L=h),u},f.clone=function(){return o.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},m})(),b=g.prototype;return n.prototype=b,[["$ms",M],["$s",L],["$m",P],["$H",H],["$W",w],["$M",W],["$y",K],["$D",Q]].forEach((function(m){b[m[1]]=function(f){return this.$g(f,m[0],m[1])}})),n.extend=function(m,f){return m.$i||(m(f,g,n),m.$i=!0),n},n.locale=t,n.isDayjs=e,n.unix=function(m){return n(1e3*m)},n.en=N[se],n.Ls=N,n.p={},n}))})(ke)),ke.exports}var Ze=Ve();const G=Re(Ze);var be={exports:{}},Ge=be.exports,Me;function Xe(){return Me||(Me=1,(function(s,r){(function(i,c){s.exports=c()})(Ge,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(c,x,M){var L=x.prototype,P=L.format;M.en.formats=i,L.format=function(H){H===void 0&&(H="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,Y=(function(W,X){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(K,Q,ee){var ie=ee&&ee.toUpperCase();return Q||X[ee]||i[ee]||X[ie].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(ce,me,oe){return me||oe.slice(1)}))}))})(H,w===void 0?{}:w);return P.call(this,Y)}}}))})(be)),be.exports}var et=Xe();const tt=Re(et);G.extend(tt);Date.prototype.isAfter=function(s,r){return G(this).isAfter(s,r)};Date.prototype.isBefore=function(s,r){return G(this).isBefore(s,r)};Date.prototype.format=function(s){return G(this).format(s)};Date.prototype.isValid=function(){return G(this).isValid()};Date.prototype.add=function(s,r){return G(this).add(s,r).toDate()};Date.prototype.subtract=function(s,r){return G(this).subtract(s,r).toDate()};Date.prototype.firstDayOfMonth=function(){return G(this).startOf("month").toDate()};Date.prototype.lastDayOfMonth=function(){return G(this).endOf("month").toDate()};Date.prototype.set=function(s,r){return G(this).set(s,r).toDate()};Date.prototype.diff=function(s,r){return G(this).diff(s,r)};String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)};String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""};String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0};var V=(s=>(s.opera="opera",s.firefox="firefox",s.safari="safari",s.ie="ie",s.edge="edge",s.edg="edg",s.electron="electron",s.chrome="chrome",s.iOsSafari="iOsSafari",s.edgiOs="edgiOs",s.headlessChrome="headlessChrome",s))(V||{});const he={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class rt{screenWidth=0;lastBreakpoint;resizeListener;breakpointChangeCallbacks=new Set;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;pendingWidth;pendingBreakpoint;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.screenWidth=window.innerWidth,this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}),this.lastBreakpoint=this.getBreakpointByScreenWidth(this.screenWidth))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.breakpointChangeCallbacks.clear(),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}getCurrentBreakpoint(){return this.lastBreakpoint}getCurrentScreenWidth(){return this.screenWidth}onBreakpointChange(r){this.breakpointChangeCallbacks.add(r)}offBreakpointChange(r){this.breakpointChangeCallbacks.delete(r)}onResizeChange(r){this.onResizeCallbacks.add(r)}offResizeChange(r){this.onResizeCallbacks.delete(r)}getCurrentBrowser(){const r=navigator.userAgent.toLowerCase();if(this.isOpera())return V.opera;if(this.isFirefox())return V.firefox;if(this.isSafari())return V.safari;if(this.isIE())return V.ie;if(this.isEdge())return V.edge;if(this.isEdg())return V.edg;if(this.isElectron(r))return V.electron;if(this.isChrome())return V.chrome;if(this.isIOsSafari(r))return V.iOsSafari;if(this.isEdgiOs(r))return V.edgiOs;if(this.isHeadlessChrome(r))return V.headlessChrome;throw new Error("Browser could not be detected: "+r)}getBreakpointByScreenWidth(r=this.screenWidth){let i="xs";for(const c of Object.keys(he))he[c]<=r&&(i=c);return{breakpoint:i,screenWidth:he[i]}}isScreenGreaterThan(r){return this.screenWidth>he[r]}isScreenSmallerThan(r){return this.screenWidth<he[r]}getBreakpoint(r){return{breakpoint:r,screenWidth:he[r]}}isOpera(){return typeof window<"u"&&(!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.includes("OPR/"))}isFirefox(){return typeof globalThis.InstallTrigger<"u"}isSafari(){return typeof window>"u"?!1:/constructor/i.test(window.HTMLElement)||(r=>r.toString()==="[object SafariRemoteNotification]")(!window.safari||window.safari&&window.safari.pushNotification)}isIE(){return typeof document>"u"?!1:!!document.documentMode}isEdge(){return typeof window>"u"?!1:!this.isIE()&&!!window.StyleMedia}isEdg(){return typeof navigator>"u"?!1:navigator.userAgent.toLowerCase().includes("edg")}isElectron(r){return r.includes("electron")}isChrome(){return typeof window>"u"?!1:!!window.chrome&&!this.isOpera()&&!this.isEdge()&&!this.isEdg()&&!this.isFirefox()&&!this.isSafari()&&!this.isIE()}isIOsSafari(r){return r.includes("iphone")||r.includes("ipad")||r.includes("macintosh")&&typeof document<"u"&&"ontouchend"in document&&r.includes("safari")}isEdgiOs(r){return r.includes("edgios")}isHeadlessChrome(r){return r.includes("headlesschrome")}onResize=()=>{if(typeof window>"u")return;const r=window.innerWidth,i=this.getBreakpointByScreenWidth(r);this.lastBreakpoint?.breakpoint!==i?.breakpoint&&(this.lastBreakpoint=i,i&&this.breakpointChangeCallbacks.forEach(c=>c(i))),this.pendingWidth=r,this.pendingBreakpoint=i,this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.pendingBreakpoint&&this.onResizeCallbacks.forEach(c=>c(this.pendingWidth,this.pendingBreakpoint)),this.pendingWidth=void 0,this.pendingBreakpoint=void 0,this.emitTimeoutId=null},this.duplicateThresholdMs)}}exports.BrowserService=rt;exports.CsvHelper=ze;exports.EnumHelper=Pe;exports.FileHelper=He;exports.LocalStorageHelper=ge;exports.LoggerHelper=le;exports.ScreenBreakpoints=he;exports.TokenHelper=Je;exports.copyToClipboard=Ie;exports.saveAs=$e;exports.sortHelper=Le;
15
+ `,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!M&&!!c.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=ce,w.ParserHandle=ee,w.NetworkStreamer=W,w.FileStreamer=X,w.StringStreamer=K,w.ReadableStreamStreamer=Q,c.jQuery&&((x=c.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(b){if(!(x(this).prop("tagName").toUpperCase()==="INPUT"&&x(this).attr("type").toLowerCase()==="file"&&c.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:x.extend({},t)})}),o(),this;function o(){if(n.length===0)$(e.complete)&&e.complete();else{var b,m,f,l,a=n[0];if($(e.before)){var u=e.before(a.file,a.inputElem);if(typeof u=="object"){if(u.action==="abort")return b="AbortError",m=a.file,f=a.inputElem,l=u.reason,void($(e.error)&&e.error({name:b},m,f,l));if(u.action==="skip")return void g();typeof u.config=="object"&&(a.instanceConfig=x.extend(a.instanceConfig,u.config))}else if(u==="skip")return void g()}var h=a.instanceConfig.complete;a.instanceConfig.complete=function(y){$(h)&&h(y,a.file,a.inputElem),g()},w.parse(a.file,a.instanceConfig)}}function g(){n.splice(0,1),o()}}),L&&(c.onmessage=function(e){e=e.data,w.WORKER_ID===void 0&&e&&(w.WORKER_ID=e.workerId),typeof e.input=="string"?c.postMessage({workerId:w.WORKER_ID,results:w.parse(e.input,e.config),finished:!0}):(c.File&&e.input instanceof File||e.input instanceof Object)&&(e=w.parse(e.input,e.config))&&c.postMessage({workerId:w.WORKER_ID,results:e,finished:!0})}),(W.prototype=Object.create(Y.prototype)).constructor=W,(X.prototype=Object.create(Y.prototype)).constructor=X,(K.prototype=Object.create(K.prototype)).constructor=K,(Q.prototype=Object.create(Y.prototype)).constructor=Q,w})})(ve)),ve.exports}var Ce=Fe();class ze{static unparse(r,i){return Ce.unparse(r,i)}static parse(r){return new Promise((i,c)=>{Ce.parse(r,{header:!0,complete:x=>i(x),error:x=>c(x)})})}}async function $e(s,r,i){const c=i?.mimeType??je(r),x=Be(s,c);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const H=await(await window.showSaveFilePicker({suggestedName:r,types:[{description:"Datei",accept:{[c]:[`.${Ae(r)}`]}}]})).createWritable();await H.write(x),await H.close();return}catch{}const M=URL.createObjectURL(x),L=document.createElement("a");L.href=M,L.download=r,L.rel="noopener",L.style.display="none",document.body.appendChild(L),We(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(M)},0),Ue()&&window.open(M,"_blank","noopener,noreferrer")}function Be(s,r){if(s instanceof Blob)return s.type?s:new Blob([s],{type:r});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:r})}return new Blob([s],{type:r||"text/plain;charset=utf-8"})}function je(s){switch(Ae(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function Ae(s){const r=s.lastIndexOf(".");return r>=0&&r<s.length-1?s.slice(r+1):""}function We(s){const r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(r)}function Ue(){const s=navigator.userAgent,r=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return r||i}class Pe{static getEnumValue(r,i){if(i in r)return r[i];throw Error(`${i} not found in ${r}`)}static getKeyValues(r){return Object.keys(r).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:r[i]}))}}class He{static getFileExtension(r){let i="";const c=r.lastIndexOf(".");return c>0&&c<r.length-1&&(i=`.${r.substring(c+1).toLowerCase()}`),i}static readAsText(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?c(i.result):x(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,x(M)},i.readAsText(r)})}static readAsArrayBuffer(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?c(i.result):x(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,x(M)},i.readAsArrayBuffer(r)})}static readAsDataUrl(r){const i=new FileReader;return new Promise((c,x)=>{i.onload=M=>{c(M)},i.onerror=M=>x(M),i.readAsDataURL(r)})}static formatFileSize(r,i=2,c){if(r===0)return"0 Bytes";const x=1024,M=["Bytes","KB","MB","GB","TB"];let L=Math.floor(Math.log(r)/Math.log(x));c&&M.includes(c)&&(L=M.indexOf(c));const P=r/Math.pow(x,L);return`${parseFloat(P.toFixed(i))} ${M[L]}`}static save(r,i,c){const x=new Blob([r],{type:c});$e(x,i)}}class ge{static set(r,i){localStorage.setItem(r,JSON.stringify(i))}static get(r){let i=null;const c=localStorage.getItem(r);return c&&(i=JSON.parse(c)),i}static remove(r){let i=!!ge.get(r);return i&&localStorage.removeItem(r),i}static removeAll(){localStorage.clear()}static getKeysBy(r){return Object.keys(localStorage).filter(i=>i.startsWith(r))}}var pe=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(pe||{});class le{static log(...r){le.doLog(pe.log,r)}static info(...r){le.doLog(pe.info,r)}static warn(...r){le.doLog(pe.warn,r)}static debug(...r){le.doLog(pe.debug,r)}static error(...r){le.doLog(pe.error,r)}static doLog(r,i){console[r].apply(console,i)}}const Ye=(s,r,i)=>s.localeCompare(r)*(i?1:-1),Ne=(s,r)=>s<r?-1:s===r?0:1,qe=(s,r,i)=>Ne(s,r)*(i?1:-1),Ke=(s,r,i)=>{let c=0;return typeof s=="string"&&typeof r=="string"?c=Ye(s,r,i):c=qe(s,r,i),c},Le=(s,r,i,c)=>{const x=i(s),M=i(r);return Ke(x,M,c)};class Je{static get(r){return ge.get(r)}static set(r,i){ge.set(r,i)}static remove(r){ge.remove(r)}}Array.prototype.distinct=function(s){const r=this;return s?r.filter((c,x,M)=>M.findIndex(L=>s(L,c))===x):r.filter((c,x,M)=>M.indexOf(c)===x)};Array.prototype.filterBy=function(s){return this.filter(r=>{let i=!1;return s&&r[s]?i=r[s]===s:i=r===s,i})};Array.prototype.first=function(){return this?.length>0?this[0]:null};Array.prototype.groupBy=function(s){return this.reduce((r,i)=>{const c=s(i);return(r[c]=r[c]||[]).push(i),r},{})};Array.prototype.orderBy=function(s,r=!0){return this?.sort((i,c)=>Le(i,c,s,r)),this};Array.prototype.removeBy=function(s,r){return this.filter(i=>s(i)!==r)};var ke={exports:{}},Qe=ke.exports,De;function Ve(){return De||(De=1,(function(s,r){(function(i,c){s.exports=c()})(Qe,(function(){var i=1e3,c=6e4,x=36e5,M="millisecond",L="second",P="minute",H="hour",w="day",Y="week",W="month",X="quarter",K="year",Q="date",ee="Invalid Date",ie=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,me={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var f=["th","st","nd","rd"],l=m%100;return"["+m+(f[(l-20)%10]||f[l]||f[0])+"]"}},oe=function(m,f,l){var a=String(m);return!a||a.length>=f?m:""+Array(f+1-a.length).join(l)+m},we={s:oe,z:function(m){var f=-m.utcOffset(),l=Math.abs(f),a=Math.floor(l/60),u=l%60;return(f<=0?"+":"-")+oe(a,2,"0")+":"+oe(u,2,"0")},m:function m(f,l){if(f.date()<l.date())return-m(l,f);var a=12*(l.year()-f.year())+(l.month()-f.month()),u=f.clone().add(a,W),h=l-u<0,y=f.clone().add(a+(h?-1:1),W);return+(-(a+(l-u)/(h?u-y:y-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:W,y:K,w:Y,d:w,D:Q,h:H,m:P,s:L,ms:M,Q:X}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},se="en",N={};N[se]=me;var $="$isDayjsObject",e=function(m){return m instanceof g||!(!m||!m[$])},t=function m(f,l,a){var u;if(!f)return se;if(typeof f=="string"){var h=f.toLowerCase();N[h]&&(u=h),l&&(N[h]=l,u=h);var y=f.split("-");if(!u&&y.length>1)return m(y[0])}else{var p=f.name;N[p]=f,u=p}return!a&&u&&(se=u),u||!a&&se},n=function(m,f){if(e(m))return m.clone();var l=typeof f=="object"?f:{};return l.date=m,l.args=arguments,new g(l)},o=we;o.l=t,o.i=e,o.w=function(m,f){return n(m,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var g=(function(){function m(l){this.$L=t(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[$]=!0}var f=m.prototype;return f.parse=function(l){this.$d=(function(a){var u=a.date,h=a.utc;if(u===null)return new Date(NaN);if(o.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var y=u.match(ie);if(y){var p=y[2]-1||0,_=(y[7]||"0").substring(0,3);return h?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)}}return new Date(u)})(l),this.init()},f.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},f.$utils=function(){return o},f.isValid=function(){return this.$d.toString()!==ee},f.isSame=function(l,a){var u=n(l);return this.startOf(a)<=u&&u<=this.endOf(a)},f.isAfter=function(l,a){return n(l)<this.startOf(a)},f.isBefore=function(l,a){return this.endOf(a)<n(l)},f.$g=function(l,a,u){return o.u(l)?this[a]:this.set(u,l)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(l,a){var u=this,h=!!o.u(a)||a,y=o.p(l),p=function(E,O){var v=o.w(u.$u?Date.UTC(u.$y,O,E):new Date(u.$y,O,E),u);return h?v:v.endOf(w)},_=function(E,O){return o.w(u.toDate()[E].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(O)),u)},d=this.$W,C=this.$M,R=this.$D,F="set"+(this.$u?"UTC":"");switch(y){case K:return h?p(1,0):p(31,11);case W:return h?p(1,C):p(0,C+1);case Y:var j=this.$locale().weekStart||0,k=(d<j?d+7:d)-j;return p(h?R-k:R+(6-k),C);case w:case Q:return _(F+"Hours",0);case H:return _(F+"Minutes",1);case P:return _(F+"Seconds",2);case L:return _(F+"Milliseconds",3);default:return this.clone()}},f.endOf=function(l){return this.startOf(l,!1)},f.$set=function(l,a){var u,h=o.p(l),y="set"+(this.$u?"UTC":""),p=(u={},u[w]=y+"Date",u[Q]=y+"Date",u[W]=y+"Month",u[K]=y+"FullYear",u[H]=y+"Hours",u[P]=y+"Minutes",u[L]=y+"Seconds",u[M]=y+"Milliseconds",u)[h],_=h===w?this.$D+(a-this.$W):a;if(h===W||h===K){var d=this.clone().set(Q,1);d.$d[p](_),d.init(),this.$d=d.set(Q,Math.min(this.$D,d.daysInMonth())).$d}else p&&this.$d[p](_);return this.init(),this},f.set=function(l,a){return this.clone().$set(l,a)},f.get=function(l){return this[o.p(l)]()},f.add=function(l,a){var u,h=this;l=Number(l);var y=o.p(a),p=function(C){var R=n(h);return o.w(R.date(R.date()+Math.round(C*l)),h)};if(y===W)return this.set(W,this.$M+l);if(y===K)return this.set(K,this.$y+l);if(y===w)return p(1);if(y===Y)return p(7);var _=(u={},u[P]=c,u[H]=x,u[L]=i,u)[y]||1,d=this.$d.getTime()+l*_;return o.w(d,this)},f.subtract=function(l,a){return this.add(-1*l,a)},f.format=function(l){var a=this,u=this.$locale();if(!this.isValid())return u.invalidDate||ee;var h=l||"YYYY-MM-DDTHH:mm:ssZ",y=o.z(this),p=this.$H,_=this.$m,d=this.$M,C=u.weekdays,R=u.months,F=u.meridiem,j=function(O,v,A,z){return O&&(O[v]||O(a,h))||A[v].slice(0,z)},k=function(O){return o.s(p%12||12,O,"0")},E=F||function(O,v,A){var z=O<12?"AM":"PM";return A?z.toLowerCase():z};return h.replace(ce,(function(O,v){return v||(function(A){switch(A){case"YY":return String(a.$y).slice(-2);case"YYYY":return o.s(a.$y,4,"0");case"M":return d+1;case"MM":return o.s(d+1,2,"0");case"MMM":return j(u.monthsShort,d,R,3);case"MMMM":return j(R,d);case"D":return a.$D;case"DD":return o.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return j(u.weekdaysMin,a.$W,C,2);case"ddd":return j(u.weekdaysShort,a.$W,C,3);case"dddd":return C[a.$W];case"H":return String(p);case"HH":return o.s(p,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return E(p,_,!0);case"A":return E(p,_,!1);case"m":return String(_);case"mm":return o.s(_,2,"0");case"s":return String(a.$s);case"ss":return o.s(a.$s,2,"0");case"SSS":return o.s(a.$ms,3,"0");case"Z":return y}return null})(O)||y.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(l,a,u){var h,y=this,p=o.p(a),_=n(l),d=(_.utcOffset()-this.utcOffset())*c,C=this-_,R=function(){return o.m(y,_)};switch(p){case K:h=R()/12;break;case W:h=R();break;case X:h=R()/3;break;case Y:h=(C-d)/6048e5;break;case w:h=(C-d)/864e5;break;case H:h=C/x;break;case P:h=C/c;break;case L:h=C/i;break;default:h=C}return u?h:o.a(h)},f.daysInMonth=function(){return this.endOf(W).$D},f.$locale=function(){return N[this.$L]},f.locale=function(l,a){if(!l)return this.$L;var u=this.clone(),h=t(l,a,!0);return h&&(u.$L=h),u},f.clone=function(){return o.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},m})(),b=g.prototype;return n.prototype=b,[["$ms",M],["$s",L],["$m",P],["$H",H],["$W",w],["$M",W],["$y",K],["$D",Q]].forEach((function(m){b[m[1]]=function(f){return this.$g(f,m[0],m[1])}})),n.extend=function(m,f){return m.$i||(m(f,g,n),m.$i=!0),n},n.locale=t,n.isDayjs=e,n.unix=function(m){return n(1e3*m)},n.en=N[se],n.Ls=N,n.p={},n}))})(ke)),ke.exports}var Ze=Ve();const G=Re(Ze);var be={exports:{}},Ge=be.exports,Me;function Xe(){return Me||(Me=1,(function(s,r){(function(i,c){s.exports=c()})(Ge,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(c,x,M){var L=x.prototype,P=L.format;M.en.formats=i,L.format=function(H){H===void 0&&(H="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,Y=(function(W,X){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(K,Q,ee){var ie=ee&&ee.toUpperCase();return Q||X[ee]||i[ee]||X[ie].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(ce,me,oe){return me||oe.slice(1)}))}))})(H,w===void 0?{}:w);return P.call(this,Y)}}}))})(be)),be.exports}var et=Xe();const tt=Re(et);G.extend(tt);Date.prototype.isAfter=function(s,r){return G(this).isAfter(s,r)};Date.prototype.isBefore=function(s,r){return G(this).isBefore(s,r)};Date.prototype.format=function(s){return G(this).format(s)};Date.prototype.isValid=function(){return G(this).isValid()};Date.prototype.add=function(s,r){return G(this).add(s,r).toDate()};Date.prototype.subtract=function(s,r){return G(this).subtract(s,r).toDate()};Date.prototype.firstDayOfMonth=function(){return G(this).startOf("month").toDate()};Date.prototype.lastDayOfMonth=function(){return G(this).endOf("month").toDate()};Date.prototype.set=function(s,r){return G(this).set(s,r).toDate()};Date.prototype.diff=function(s,r){return G(this).diff(s,r)};String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)};String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""};String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0};var V=(s=>(s.opera="opera",s.firefox="firefox",s.safari="safari",s.ie="ie",s.edge="edge",s.edg="edg",s.electron="electron",s.chrome="chrome",s.iOsSafari="iOsSafari",s.edgiOs="edgiOs",s.headlessChrome="headlessChrome",s))(V||{});const he={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class rt{screenWidth=0;lastBreakpoint;resizeListener;breakpointChangeCallbacks=new Set;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;pendingWidth;pendingBreakpoint;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.screenWidth=window.innerWidth,this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}),this.lastBreakpoint=this.getBreakpointByScreenWidth(this.screenWidth))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.breakpointChangeCallbacks.clear(),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}getCurrentBreakpoint(){return this.lastBreakpoint}getCurrentScreenWidth(){return this.screenWidth}onBreakpointChange(r){this.breakpointChangeCallbacks.add(r)}offBreakpointChange(r){this.breakpointChangeCallbacks.delete(r)}onResizeChange(r){this.onResizeCallbacks.add(r)}offResizeChange(r){this.onResizeCallbacks.delete(r)}getCurrentBrowser(){const r=navigator.userAgent.toLowerCase();if(this.isOpera())return V.opera;if(this.isFirefox())return V.firefox;if(this.isSafari())return V.safari;if(this.isIE())return V.ie;if(this.isEdge())return V.edge;if(this.isEdg())return V.edg;if(this.isElectron(r))return V.electron;if(this.isChrome())return V.chrome;if(this.isIOsSafari(r))return V.iOsSafari;if(this.isEdgiOs(r))return V.edgiOs;if(this.isHeadlessChrome(r))return V.headlessChrome;throw new Error("Browser could not be detected: "+r)}getBreakpointByScreenWidth(r=this.screenWidth){let i="xs";for(const c of Object.keys(he))he[c]<=r&&(i=c);return{breakpoint:i,screenWidth:he[i]}}isScreenGreaterThan(r){return this.screenWidth>he[r]}isScreenSmallerThan(r){return this.screenWidth<he[r]}getBreakpoint(r){return{breakpoint:r,screenWidth:he[r]}}isOpera(){return typeof window<"u"&&(!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.includes("OPR/"))}isFirefox(){return typeof globalThis.InstallTrigger<"u"}isSafari(){return typeof window>"u"?!1:/constructor/i.test(window.HTMLElement)||(r=>r.toString()==="[object SafariRemoteNotification]")(!window.safari||window.safari&&window.safari.pushNotification)}isIE(){return typeof document>"u"?!1:!!document.documentMode}isEdge(){return typeof window>"u"?!1:!this.isIE()&&!!window.StyleMedia}isEdg(){return typeof navigator>"u"?!1:navigator.userAgent.toLowerCase().includes("edg")}isElectron(r){return r.includes("electron")}isChrome(){return typeof window>"u"?!1:!!window.chrome&&!this.isOpera()&&!this.isEdge()&&!this.isEdg()&&!this.isFirefox()&&!this.isSafari()&&!this.isIE()}isIOsSafari(r){return r.includes("iphone")||r.includes("ipad")||r.includes("macintosh")&&typeof document<"u"&&"ontouchend"in document&&r.includes("safari")}isEdgiOs(r){return r.includes("edgios")}isHeadlessChrome(r){return r.includes("headlesschrome")}onResize=()=>{if(typeof window>"u")return;const r=window.innerWidth,i=this.getBreakpointByScreenWidth(r);this.lastBreakpoint?.breakpoint!==i?.breakpoint&&(this.lastBreakpoint=i,i&&this.breakpointChangeCallbacks.forEach(c=>c(i))),this.pendingWidth=r,this.pendingBreakpoint=i,this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.pendingBreakpoint&&this.onResizeCallbacks.forEach(c=>c(this.pendingWidth,this.pendingBreakpoint)),this.pendingWidth=void 0,this.pendingBreakpoint=void 0,this.emitTimeoutId=null},this.duplicateThresholdMs)}}exports.BrowserService=rt;exports.BrowserType=V;exports.CsvHelper=ze;exports.EnumHelper=Pe;exports.FileHelper=He;exports.LocalStorageHelper=ge;exports.LoggerHelper=le;exports.ScreenBreakpoints=he;exports.TokenHelper=Je;exports.copyToClipboard=Ie;exports.saveAs=$e;exports.sortHelper=Le;
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
package/index.es.js CHANGED
@@ -1125,6 +1125,7 @@ class rt {
1125
1125
  }
1126
1126
  export {
1127
1127
  rt as BrowserService,
1128
+ V as BrowserType,
1128
1129
  Ge as CsvHelper,
1129
1130
  Xe as EnumHelper,
1130
1131
  et as FileHelper,
package/index.umd.js CHANGED
@@ -1,15 +1,15 @@
1
- (function(H,ye){typeof exports=="object"&&typeof module<"u"?ye(exports):typeof define=="function"&&define.amd?define(["exports"],ye):(H=typeof globalThis<"u"?globalThis:H||self,ye(H["ts-utils"]={}))})(this,(function(H){"use strict";function ye(s){return navigator.clipboard.writeText(s)}function xe(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ke={exports:{}};/* @license
1
+ (function(P,ye){typeof exports=="object"&&typeof module<"u"?ye(exports):typeof define=="function"&&define.amd?define(["exports"],ye):(P=typeof globalThis<"u"?globalThis:P||self,ye(P["ts-utils"]={}))})(this,(function(P){"use strict";function ye(s){return navigator.clipboard.writeText(s)}function xe(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ke={exports:{}};/* @license
2
2
  Papa Parse
3
3
  v5.5.3
4
4
  https://github.com/mholt/PapaParse
5
5
  License: MIT
6
- */var Fe=ke.exports,Ce;function ze(){return Ce||(Ce=1,(function(s,r){((i,f)=>{s.exports=f()})(Fe,function i(){var f=typeof self<"u"?self:typeof window<"u"?window:f!==void 0?f:{},O,M=!f.document&&!!f.postMessage,L=f.IS_PAPA_WORKER||!1,P={},Y=0,w={};function N(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(t){var n=ae(t);n.chunkSize=parseInt(n.chunkSize),t.step||t.chunk||(n.chunkSize=null),this._handle=new te(n),(this._handle.streamer=this)._config=n}).call(this,e),this.parseChunk=function(t,n){var o=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<o){let b=this._config.newline;b||(g=this._config.quoteChar||'"',b=this._handle.guessLineEndings(t,g)),t=[...t.split(b).slice(o)].join(b)}this.isFirstChunk&&$(this._config.beforeFirstChunk)&&(g=this._config.beforeFirstChunk(t))!==void 0&&(t=g),this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+t,g=(this._partialLine="",this._handle.parse(o,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(t=g.meta.cursor,o=(this._finished||(this._partialLine=o.substring(t-this._baseIndex),this._baseIndex=t),g&&g.data&&(this._rowCount+=g.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),L)f.postMessage({results:g,workerId:w.WORKER_ID,finished:o});else if($(this._config.chunk)&&!n){if(this._config.chunk(g,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=g=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(g.data),this._completeResults.errors=this._completeResults.errors.concat(g.errors),this._completeResults.meta=g.meta),this._completed||!o||!$(this._config.complete)||g&&g.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||g&&g.meta.paused||this._nextChunk(),g}this._halted=!0},this._sendError=function(t){$(this._config.error)?this._config.error(t):L&&this._config.error&&f.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function W(e){var t;(e=e||{}).chunkSize||(e.chunkSize=w.RemoteChunkSize),N.call(this,e),this._nextChunk=M?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(n){this._input=n,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),M||(t.onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!M),this._config.downloadRequestHeaders){var n,o=this._config.downloadRequestHeaders;for(n in o)t.setRequestHeader(n,o[n])}var g;this._config.chunkSize&&(g=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+g));try{t.send(this._config.downloadRequestBody)}catch(b){this._chunkError(b.message)}M&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(n=>(n=n.getResponseHeader("Content-Range"))!==null?parseInt(n.substring(n.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(n){n=t.statusText||n,this._sendError(new Error(n))}}function ee(e){(e=e||{}).chunkSize||(e.chunkSize=w.LocalChunkSize),N.call(this,e);var t,n,o=typeof FileReader<"u";this.stream=function(g){this._input=g,n=g.slice||g.webkitSlice||g.mozSlice,o?((t=new FileReader).onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var g=this._input,b=(this._config.chunkSize&&(b=Math.min(this._start+this._config.chunkSize,this._input.size),g=n.call(g,this._start,b)),t.readAsText(g,this._config.encoding));o||this._chunkLoaded({target:{result:b}})},this._chunkLoaded=function(g){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(g.target.result)},this._chunkError=function(){this._sendError(t.error)}}function J(e){var t;N.call(this,e=e||{}),this.stream=function(n){return t=n,this._nextChunk()},this._nextChunk=function(){var n,o;if(!this._finished)return n=this._config.chunkSize,t=n?(o=t.substring(0,n),t.substring(n)):(o=t,""),this._finished=!t,this.parseChunk(o)}}function V(e){N.call(this,e=e||{});var t=[],n=!0,o=!1;this.pause=function(){N.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){N.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(g){this._input=g,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){o&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=q(function(g){try{t.push(typeof g=="string"?g:g.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(b){this._streamError(b)}},this),this._streamError=q(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=q(function(){this._streamCleanUp(),o=!0,this._streamData("")},this),this._streamCleanUp=q(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function te(e){var t,n,o,g,b=Math.pow(2,53),m=-b,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,a=this,u=0,h=0,y=!1,p=!1,_=[],d={data:[],errors:[],meta:{}};function C(k){return e.skipEmptyLines==="greedy"?k.join("").trim()==="":k.length===1&&k[0].length===0}function R(){if(d&&o&&(j("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),o=!1),e.skipEmptyLines&&(d.data=d.data.filter(function(v){return!C(v)})),F()){let v=function(A,z){$(e.transformHeader)&&(A=e.transformHeader(A,z)),_.push(A)};if(d)if(Array.isArray(d.data[0])){for(var k=0;F()&&k<d.data.length;k++)d.data[k].forEach(v);d.data.splice(0,1)}else d.data.forEach(v)}function E(v,A){for(var z=e.header?{}:[],I=0;I<v.length;I++){var T=I,D=v[I],D=((X,S)=>(B=>(e.dynamicTypingFunction&&e.dynamicTyping[B]===void 0&&(e.dynamicTyping[B]=e.dynamicTypingFunction(B)),(e.dynamicTyping[B]||e.dynamicTyping)===!0))(X)?S==="true"||S==="TRUE"||S!=="false"&&S!=="FALSE"&&((B=>{if(c.test(B)&&(B=parseFloat(B),m<B&&B<b))return 1})(S)?parseFloat(S):l.test(S)?new Date(S):S===""?null:S):S)(T=e.header?I>=_.length?"__parsed_extra":_[I]:T,D=e.transform?e.transform(D,T):D);T==="__parsed_extra"?(z[T]=z[T]||[],z[T].push(D)):z[T]=D}return e.header&&(I>_.length?j("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+I,h+A):I<_.length&&j("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+I,h+A)),z}var x;d&&(e.header||e.dynamicTyping||e.transform)&&(x=1,!d.data.length||Array.isArray(d.data[0])?(d.data=d.data.map(E),x=d.data.length):d.data=E(d.data,0),e.header&&d.meta&&(d.meta.fields=_),h+=x)}function F(){return e.header&&_.length===0}function j(k,E,x,v){k={type:k,code:E,message:x},v!==void 0&&(k.row=v),d.errors.push(k)}$(e.step)&&(g=e.step,e.step=function(k){d=k,F()?R():(R(),d.data.length!==0&&(u+=k.data.length,e.preview&&u>e.preview?n.abort():(d.data=d.data[0],g(d,a))))}),this.parse=function(k,E,x){var v=e.quoteChar||'"',v=(e.newline||(e.newline=this.guessLineEndings(k,v)),o=!1,e.delimiter?$(e.delimiter)&&(e.delimiter=e.delimiter(k),d.meta.delimiter=e.delimiter):((v=((A,z,I,T,D)=>{var X,S,B,he;D=D||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var ge=0;ge<D.length;ge++){for(var re,we=D[ge],K=0,ne=0,U=0,Q=(B=void 0,new pe({comments:T,delimiter:we,newline:z,preview:10}).parse(A)),oe=0;oe<Q.data.length;oe++)I&&C(Q.data[oe])?U++:(re=Q.data[oe].length,ne+=re,B===void 0?B=re:0<re&&(K+=Math.abs(re-B),B=re));0<Q.data.length&&(ne/=Q.data.length-U),(S===void 0||K<=S)&&(he===void 0||he<ne)&&1.99<ne&&(S=K,X=we,he=ne)}return{successful:!!(e.delimiter=X),bestDelimiter:X}})(k,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=v.bestDelimiter:(o=!0,e.delimiter=w.DefaultDelimiter),d.meta.delimiter=e.delimiter),ae(e));return e.preview&&e.header&&v.preview++,t=k,n=new pe(v),d=n.parse(t,E,x),R(),y?{meta:{paused:!0}}:d||{meta:{paused:!1}}},this.paused=function(){return y},this.pause=function(){y=!0,n.abort(),t=$(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){a.streamer._halted?(y=!1,a.streamer.parseChunk(t,!0)):setTimeout(a.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),d.meta.aborted=!0,$(e.complete)&&e.complete(d),t=""},this.guessLineEndings=function(A,v){A=A.substring(0,1048576);var v=new RegExp(se(v)+"([^]*?)"+se(v),"gm"),x=(A=A.replace(v,"")).split("\r"),v=A.split(`
6
+ */var Fe=ke.exports,Ce;function ze(){return Ce||(Ce=1,(function(s,r){((i,f)=>{s.exports=f()})(Fe,function i(){var f=typeof self<"u"?self:typeof window<"u"?window:f!==void 0?f:{},O,M=!f.document&&!!f.postMessage,L=f.IS_PAPA_WORKER||!1,H={},Y=0,w={};function N(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(t){var n=ae(t);n.chunkSize=parseInt(n.chunkSize),t.step||t.chunk||(n.chunkSize=null),this._handle=new te(n),(this._handle.streamer=this)._config=n}).call(this,e),this.parseChunk=function(t,n){var o=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<o){let b=this._config.newline;b||(g=this._config.quoteChar||'"',b=this._handle.guessLineEndings(t,g)),t=[...t.split(b).slice(o)].join(b)}this.isFirstChunk&&$(this._config.beforeFirstChunk)&&(g=this._config.beforeFirstChunk(t))!==void 0&&(t=g),this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+t,g=(this._partialLine="",this._handle.parse(o,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(t=g.meta.cursor,o=(this._finished||(this._partialLine=o.substring(t-this._baseIndex),this._baseIndex=t),g&&g.data&&(this._rowCount+=g.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),L)f.postMessage({results:g,workerId:w.WORKER_ID,finished:o});else if($(this._config.chunk)&&!n){if(this._config.chunk(g,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=g=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(g.data),this._completeResults.errors=this._completeResults.errors.concat(g.errors),this._completeResults.meta=g.meta),this._completed||!o||!$(this._config.complete)||g&&g.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||g&&g.meta.paused||this._nextChunk(),g}this._halted=!0},this._sendError=function(t){$(this._config.error)?this._config.error(t):L&&this._config.error&&f.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function W(e){var t;(e=e||{}).chunkSize||(e.chunkSize=w.RemoteChunkSize),N.call(this,e),this._nextChunk=M?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(n){this._input=n,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),M||(t.onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!M),this._config.downloadRequestHeaders){var n,o=this._config.downloadRequestHeaders;for(n in o)t.setRequestHeader(n,o[n])}var g;this._config.chunkSize&&(g=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+g));try{t.send(this._config.downloadRequestBody)}catch(b){this._chunkError(b.message)}M&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(n=>(n=n.getResponseHeader("Content-Range"))!==null?parseInt(n.substring(n.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(n){n=t.statusText||n,this._sendError(new Error(n))}}function ee(e){(e=e||{}).chunkSize||(e.chunkSize=w.LocalChunkSize),N.call(this,e);var t,n,o=typeof FileReader<"u";this.stream=function(g){this._input=g,n=g.slice||g.webkitSlice||g.mozSlice,o?((t=new FileReader).onload=q(this._chunkLoaded,this),t.onerror=q(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var g=this._input,b=(this._config.chunkSize&&(b=Math.min(this._start+this._config.chunkSize,this._input.size),g=n.call(g,this._start,b)),t.readAsText(g,this._config.encoding));o||this._chunkLoaded({target:{result:b}})},this._chunkLoaded=function(g){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(g.target.result)},this._chunkError=function(){this._sendError(t.error)}}function J(e){var t;N.call(this,e=e||{}),this.stream=function(n){return t=n,this._nextChunk()},this._nextChunk=function(){var n,o;if(!this._finished)return n=this._config.chunkSize,t=n?(o=t.substring(0,n),t.substring(n)):(o=t,""),this._finished=!t,this.parseChunk(o)}}function Z(e){N.call(this,e=e||{});var t=[],n=!0,o=!1;this.pause=function(){N.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){N.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(g){this._input=g,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){o&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=q(function(g){try{t.push(typeof g=="string"?g:g.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(b){this._streamError(b)}},this),this._streamError=q(function(g){this._streamCleanUp(),this._sendError(g)},this),this._streamEnd=q(function(){this._streamCleanUp(),o=!0,this._streamData("")},this),this._streamCleanUp=q(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function te(e){var t,n,o,g,b=Math.pow(2,53),m=-b,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,a=this,u=0,h=0,y=!1,p=!1,_=[],d={data:[],errors:[],meta:{}};function C(k){return e.skipEmptyLines==="greedy"?k.join("").trim()==="":k.length===1&&k[0].length===0}function R(){if(d&&o&&(j("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),o=!1),e.skipEmptyLines&&(d.data=d.data.filter(function(v){return!C(v)})),F()){let v=function(A,z){$(e.transformHeader)&&(A=e.transformHeader(A,z)),_.push(A)};if(d)if(Array.isArray(d.data[0])){for(var k=0;F()&&k<d.data.length;k++)d.data[k].forEach(v);d.data.splice(0,1)}else d.data.forEach(v)}function E(v,A){for(var z=e.header?{}:[],I=0;I<v.length;I++){var T=I,D=v[I],D=((X,S)=>(B=>(e.dynamicTypingFunction&&e.dynamicTyping[B]===void 0&&(e.dynamicTyping[B]=e.dynamicTypingFunction(B)),(e.dynamicTyping[B]||e.dynamicTyping)===!0))(X)?S==="true"||S==="TRUE"||S!=="false"&&S!=="FALSE"&&((B=>{if(c.test(B)&&(B=parseFloat(B),m<B&&B<b))return 1})(S)?parseFloat(S):l.test(S)?new Date(S):S===""?null:S):S)(T=e.header?I>=_.length?"__parsed_extra":_[I]:T,D=e.transform?e.transform(D,T):D);T==="__parsed_extra"?(z[T]=z[T]||[],z[T].push(D)):z[T]=D}return e.header&&(I>_.length?j("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+I,h+A):I<_.length&&j("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+I,h+A)),z}var x;d&&(e.header||e.dynamicTyping||e.transform)&&(x=1,!d.data.length||Array.isArray(d.data[0])?(d.data=d.data.map(E),x=d.data.length):d.data=E(d.data,0),e.header&&d.meta&&(d.meta.fields=_),h+=x)}function F(){return e.header&&_.length===0}function j(k,E,x,v){k={type:k,code:E,message:x},v!==void 0&&(k.row=v),d.errors.push(k)}$(e.step)&&(g=e.step,e.step=function(k){d=k,F()?R():(R(),d.data.length!==0&&(u+=k.data.length,e.preview&&u>e.preview?n.abort():(d.data=d.data[0],g(d,a))))}),this.parse=function(k,E,x){var v=e.quoteChar||'"',v=(e.newline||(e.newline=this.guessLineEndings(k,v)),o=!1,e.delimiter?$(e.delimiter)&&(e.delimiter=e.delimiter(k),d.meta.delimiter=e.delimiter):((v=((A,z,I,T,D)=>{var X,S,B,he;D=D||[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var ge=0;ge<D.length;ge++){for(var re,we=D[ge],K=0,ne=0,U=0,Q=(B=void 0,new pe({comments:T,delimiter:we,newline:z,preview:10}).parse(A)),oe=0;oe<Q.data.length;oe++)I&&C(Q.data[oe])?U++:(re=Q.data[oe].length,ne+=re,B===void 0?B=re:0<re&&(K+=Math.abs(re-B),B=re));0<Q.data.length&&(ne/=Q.data.length-U),(S===void 0||K<=S)&&(he===void 0||he<ne)&&1.99<ne&&(S=K,X=we,he=ne)}return{successful:!!(e.delimiter=X),bestDelimiter:X}})(k,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=v.bestDelimiter:(o=!0,e.delimiter=w.DefaultDelimiter),d.meta.delimiter=e.delimiter),ae(e));return e.preview&&e.header&&v.preview++,t=k,n=new pe(v),d=n.parse(t,E,x),R(),y?{meta:{paused:!0}}:d||{meta:{paused:!1}}},this.paused=function(){return y},this.pause=function(){y=!0,n.abort(),t=$(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){a.streamer._halted?(y=!1,a.streamer.parseChunk(t,!0)):setTimeout(a.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),d.meta.aborted=!0,$(e.complete)&&e.complete(d),t=""},this.guessLineEndings=function(A,v){A=A.substring(0,1048576);var v=new RegExp(se(v)+"([^]*?)"+se(v),"gm"),x=(A=A.replace(v,"")).split("\r"),v=A.split(`
7
7
  `),A=1<v.length&&v[0].length<x[0].length;if(x.length===1||A)return`
8
8
  `;for(var z=0,I=0;I<x.length;I++)x[I][0]===`
9
9
  `&&z++;return z>=x.length/2?`\r
10
10
  `:"\r"}}function se(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pe(e){var t=(e=e||{}).delimiter,n=e.newline,o=e.comments,g=e.step,b=e.preview,m=e.fastMode,c=null,l=!1,a=e.quoteChar==null?'"':e.quoteChar,u=a;if(e.escapeChar!==void 0&&(u=e.escapeChar),(typeof t!="string"||-1<w.BAD_DELIMITERS.indexOf(t))&&(t=","),o===t)throw new Error("Comment character same as delimiter");o===!0?o="#":(typeof o!="string"||-1<w.BAD_DELIMITERS.indexOf(o))&&(o=!1),n!==`
11
11
  `&&n!=="\r"&&n!==`\r
12
12
  `&&(n=`
13
- `);var h=0,y=!1;this.parse=function(p,_,d){if(typeof p!="string")throw new Error("Input must be a string");var C=p.length,R=t.length,F=n.length,j=o.length,k=$(g),E=[],x=[],v=[],A=h=0;if(!p)return K();if(m||m!==!1&&p.indexOf(a)===-1){for(var z=p.split(n),I=0;I<z.length;I++){if(v=z[I],h+=v.length,I!==z.length-1)h+=n.length;else if(d)return K();if(!o||v.substring(0,j)!==o){if(k){if(E=[],he(v.split(t)),ne(),y)return K()}else he(v.split(t));if(b&&b<=I)return E=E.slice(0,b),K(!0)}}return K()}for(var T=p.indexOf(t,h),D=p.indexOf(n,h),X=new RegExp(se(u)+se(a),"g"),S=p.indexOf(a,h);;)if(p[h]===a)for(S=h,h++;;){if((S=p.indexOf(a,S+1))===-1)return d||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:h}),re();if(S===C-1)return re(p.substring(h,S).replace(X,a));if(a===u&&p[S+1]===u)S++;else if(a===u||S===0||p[S-1]!==u){T!==-1&&T<S+1&&(T=p.indexOf(t,S+1));var B=ge((D=D!==-1&&D<S+1?p.indexOf(n,S+1):D)===-1?T:Math.min(T,D));if(p.substr(S+1+B,R)===t){v.push(p.substring(h,S).replace(X,a)),p[h=S+1+B+R]!==a&&(S=p.indexOf(a,h)),T=p.indexOf(t,h),D=p.indexOf(n,h);break}if(B=ge(D),p.substring(S+1+B,S+1+B+F)===n){if(v.push(p.substring(h,S).replace(X,a)),we(S+1+B+F),T=p.indexOf(t,h),S=p.indexOf(a,h),k&&(ne(),y))return K();if(b&&E.length>=b)return K(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:h}),S++}}else if(o&&v.length===0&&p.substring(h,h+j)===o){if(D===-1)return K();h=D+F,D=p.indexOf(n,h),T=p.indexOf(t,h)}else if(T!==-1&&(T<D||D===-1))v.push(p.substring(h,T)),h=T+R,T=p.indexOf(t,h);else{if(D===-1)break;if(v.push(p.substring(h,D)),we(D+F),k&&(ne(),y))return K();if(b&&E.length>=b)return K(!0)}return re();function he(U){E.push(U),A=h}function ge(U){var Q=0;return Q=U!==-1&&(U=p.substring(S+1,U))&&U.trim()===""?U.length:Q}function re(U){return d||(U===void 0&&(U=p.substring(h)),v.push(U),h=C,he(v),k&&ne()),K()}function we(U){h=U,he(v),v=[],D=p.indexOf(n,h)}function K(U){if(e.header&&!_&&E.length&&!l){var Q=E[0],oe=Object.create(null),Oe=new Set(Q);let Ie=!1;for(let me=0;me<Q.length;me++){let ie=Q[me];if(oe[ie=$(e.transformHeader)?e.transformHeader(ie,me):ie]){let ve,Te=oe[ie];for(;ve=ie+"_"+Te,Te++,Oe.has(ve););Oe.add(ve),Q[me]=ve,oe[ie]++,Ie=!0,(c=c===null?{}:c)[ve]=ie}else oe[ie]=1,Q[me]=ie;Oe.add(ie)}Ie&&console.warn("Duplicate headers found and renamed."),l=!0}return{data:E,errors:x,meta:{delimiter:t,linebreak:n,aborted:y,truncated:!!U,cursor:A+(_||0),renamedHeaders:c}}}function ne(){g(K()),E=[],x=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return h}}function _e(e){var t=e.data,n=P[t.workerId],o=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var g={abort:function(){o=!0,ue(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:Ee,resume:Ee};if($(n.userStep)){for(var b=0;b<t.results.data.length&&(n.userStep({data:t.results.data[b],errors:t.results.errors,meta:t.results.meta},g),!o);b++);delete t.results}else $(n.userChunk)&&(n.userChunk(t.results,g,t.file),delete t.results)}t.finished&&!o&&ue(t.workerId,t.results)}function ue(e,t){var n=P[e];$(n.userComplete)&&n.userComplete(t),n.terminate(),delete P[e]}function Ee(){throw new Error("Not implemented.")}function ae(e){if(typeof e!="object"||e===null)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=ae(e[t]);return n}function q(e,t){return function(){e.apply(t,arguments)}}function $(e){return typeof e=="function"}return w.parse=function(e,t){var n=(t=t||{}).dynamicTyping||!1;if($(n)&&(t.dynamicTypingFunction=n,n={}),t.dynamicTyping=n,t.transform=!!$(t.transform)&&t.transform,!t.worker||!w.WORKERS_SUPPORTED)return n=null,w.NODE_STREAM_INPUT,typeof e=="string"?(e=(o=>o.charCodeAt(0)!==65279?o:o.slice(1))(e),n=new(t.download?W:J)(t)):e.readable===!0&&$(e.read)&&$(e.on)?n=new V(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new ee(t)),n.stream(e);(n=(()=>{var o;return!!w.WORKERS_SUPPORTED&&(o=(()=>{var g=f.URL||f.webkitURL||null,b=i.toString();return w.BLOB_URL||(w.BLOB_URL=g.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",b,")();"],{type:"text/javascript"})))})(),(o=new f.Worker(o)).onmessage=_e,o.id=Y++,P[o.id]=o)})()).userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=$(t.step),t.chunk=$(t.chunk),t.complete=$(t.complete),t.error=$(t.error),delete t.worker,n.postMessage({input:e,config:t,workerId:n.id})},w.unparse=function(e,t){var n=!1,o=!0,g=",",b=`\r
13
+ `);var h=0,y=!1;this.parse=function(p,_,d){if(typeof p!="string")throw new Error("Input must be a string");var C=p.length,R=t.length,F=n.length,j=o.length,k=$(g),E=[],x=[],v=[],A=h=0;if(!p)return K();if(m||m!==!1&&p.indexOf(a)===-1){for(var z=p.split(n),I=0;I<z.length;I++){if(v=z[I],h+=v.length,I!==z.length-1)h+=n.length;else if(d)return K();if(!o||v.substring(0,j)!==o){if(k){if(E=[],he(v.split(t)),ne(),y)return K()}else he(v.split(t));if(b&&b<=I)return E=E.slice(0,b),K(!0)}}return K()}for(var T=p.indexOf(t,h),D=p.indexOf(n,h),X=new RegExp(se(u)+se(a),"g"),S=p.indexOf(a,h);;)if(p[h]===a)for(S=h,h++;;){if((S=p.indexOf(a,S+1))===-1)return d||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:h}),re();if(S===C-1)return re(p.substring(h,S).replace(X,a));if(a===u&&p[S+1]===u)S++;else if(a===u||S===0||p[S-1]!==u){T!==-1&&T<S+1&&(T=p.indexOf(t,S+1));var B=ge((D=D!==-1&&D<S+1?p.indexOf(n,S+1):D)===-1?T:Math.min(T,D));if(p.substr(S+1+B,R)===t){v.push(p.substring(h,S).replace(X,a)),p[h=S+1+B+R]!==a&&(S=p.indexOf(a,h)),T=p.indexOf(t,h),D=p.indexOf(n,h);break}if(B=ge(D),p.substring(S+1+B,S+1+B+F)===n){if(v.push(p.substring(h,S).replace(X,a)),we(S+1+B+F),T=p.indexOf(t,h),S=p.indexOf(a,h),k&&(ne(),y))return K();if(b&&E.length>=b)return K(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:h}),S++}}else if(o&&v.length===0&&p.substring(h,h+j)===o){if(D===-1)return K();h=D+F,D=p.indexOf(n,h),T=p.indexOf(t,h)}else if(T!==-1&&(T<D||D===-1))v.push(p.substring(h,T)),h=T+R,T=p.indexOf(t,h);else{if(D===-1)break;if(v.push(p.substring(h,D)),we(D+F),k&&(ne(),y))return K();if(b&&E.length>=b)return K(!0)}return re();function he(U){E.push(U),A=h}function ge(U){var Q=0;return Q=U!==-1&&(U=p.substring(S+1,U))&&U.trim()===""?U.length:Q}function re(U){return d||(U===void 0&&(U=p.substring(h)),v.push(U),h=C,he(v),k&&ne()),K()}function we(U){h=U,he(v),v=[],D=p.indexOf(n,h)}function K(U){if(e.header&&!_&&E.length&&!l){var Q=E[0],oe=Object.create(null),Oe=new Set(Q);let Ie=!1;for(let me=0;me<Q.length;me++){let ie=Q[me];if(oe[ie=$(e.transformHeader)?e.transformHeader(ie,me):ie]){let ve,Te=oe[ie];for(;ve=ie+"_"+Te,Te++,Oe.has(ve););Oe.add(ve),Q[me]=ve,oe[ie]++,Ie=!0,(c=c===null?{}:c)[ve]=ie}else oe[ie]=1,Q[me]=ie;Oe.add(ie)}Ie&&console.warn("Duplicate headers found and renamed."),l=!0}return{data:E,errors:x,meta:{delimiter:t,linebreak:n,aborted:y,truncated:!!U,cursor:A+(_||0),renamedHeaders:c}}}function ne(){g(K()),E=[],x=[]}},this.abort=function(){y=!0},this.getCharIndex=function(){return h}}function _e(e){var t=e.data,n=H[t.workerId],o=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var g={abort:function(){o=!0,ue(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:Ee,resume:Ee};if($(n.userStep)){for(var b=0;b<t.results.data.length&&(n.userStep({data:t.results.data[b],errors:t.results.errors,meta:t.results.meta},g),!o);b++);delete t.results}else $(n.userChunk)&&(n.userChunk(t.results,g,t.file),delete t.results)}t.finished&&!o&&ue(t.workerId,t.results)}function ue(e,t){var n=H[e];$(n.userComplete)&&n.userComplete(t),n.terminate(),delete H[e]}function Ee(){throw new Error("Not implemented.")}function ae(e){if(typeof e!="object"||e===null)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=ae(e[t]);return n}function q(e,t){return function(){e.apply(t,arguments)}}function $(e){return typeof e=="function"}return w.parse=function(e,t){var n=(t=t||{}).dynamicTyping||!1;if($(n)&&(t.dynamicTypingFunction=n,n={}),t.dynamicTyping=n,t.transform=!!$(t.transform)&&t.transform,!t.worker||!w.WORKERS_SUPPORTED)return n=null,w.NODE_STREAM_INPUT,typeof e=="string"?(e=(o=>o.charCodeAt(0)!==65279?o:o.slice(1))(e),n=new(t.download?W:J)(t)):e.readable===!0&&$(e.read)&&$(e.on)?n=new Z(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new ee(t)),n.stream(e);(n=(()=>{var o;return!!w.WORKERS_SUPPORTED&&(o=(()=>{var g=f.URL||f.webkitURL||null,b=i.toString();return w.BLOB_URL||(w.BLOB_URL=g.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",b,")();"],{type:"text/javascript"})))})(),(o=new f.Worker(o)).onmessage=_e,o.id=Y++,H[o.id]=o)})()).userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=$(t.step),t.chunk=$(t.chunk),t.complete=$(t.complete),t.error=$(t.error),delete t.worker,n.postMessage({input:e,config:t,workerId:n.id})},w.unparse=function(e,t){var n=!1,o=!0,g=",",b=`\r
14
14
  `,m='"',c=m+m,l=!1,a=null,u=!1,h=((()=>{if(typeof t=="object"){if(typeof t.delimiter!="string"||w.BAD_DELIMITERS.filter(function(_){return t.delimiter.indexOf(_)!==-1}).length||(g=t.delimiter),typeof t.quotes!="boolean"&&typeof t.quotes!="function"&&!Array.isArray(t.quotes)||(n=t.quotes),typeof t.skipEmptyLines!="boolean"&&typeof t.skipEmptyLines!="string"||(l=t.skipEmptyLines),typeof t.newline=="string"&&(b=t.newline),typeof t.quoteChar=="string"&&(m=t.quoteChar),typeof t.header=="boolean"&&(o=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw new Error("Option columns is empty");a=t.columns}t.escapeChar!==void 0&&(c=t.escapeChar+m),t.escapeFormulae instanceof RegExp?u=t.escapeFormulae:typeof t.escapeFormulae=="boolean"&&t.escapeFormulae&&(u=/^[=+\-@\t\r].*$/)}})(),new RegExp(se(m),"g"));if(typeof e=="string"&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return y(null,e,l);if(typeof e[0]=="object")return y(a||Object.keys(e[0]),e,l)}else if(typeof e=="object")return typeof e.data=="string"&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||a),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]=="object"?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]=="object"||(e.data=[e.data])),y(e.fields||[],e.data||[],l);throw new Error("Unable to serialize unrecognized input");function y(_,d,C){var R="",F=(typeof _=="string"&&(_=JSON.parse(_)),typeof d=="string"&&(d=JSON.parse(d)),Array.isArray(_)&&0<_.length),j=!Array.isArray(d[0]);if(F&&o){for(var k=0;k<_.length;k++)0<k&&(R+=g),R+=p(_[k],k);0<d.length&&(R+=b)}for(var E=0;E<d.length;E++){var x=(F?_:d[E]).length,v=!1,A=F?Object.keys(d[E]).length===0:d[E].length===0;if(C&&!F&&(v=C==="greedy"?d[E].join("").trim()==="":d[E].length===1&&d[E][0].length===0),C==="greedy"&&F){for(var z=[],I=0;I<x;I++){var T=j?_[I]:I;z.push(d[E][T])}v=z.join("").trim()===""}if(!v){for(var D=0;D<x;D++){0<D&&!A&&(R+=g);var X=F&&j?_[D]:D;R+=p(d[E][X],D)}E<d.length-1&&(!C||0<x&&!A)&&(R+=b)}}return R}function p(_,d){var C,R;return _==null?"":_.constructor===Date?JSON.stringify(_).slice(1,25):(R=!1,u&&typeof _=="string"&&u.test(_)&&(_="'"+_,R=!0),C=_.toString().replace(h,c),(R=R||n===!0||typeof n=="function"&&n(_,d)||Array.isArray(n)&&n[d]||((F,j)=>{for(var k=0;k<j.length;k++)if(-1<F.indexOf(j[k]))return!0;return!1})(C,w.BAD_DELIMITERS)||-1<C.indexOf(g)||C.charAt(0)===" "||C.charAt(C.length-1)===" ")?m+C+m:C)}},w.RECORD_SEP="",w.UNIT_SEP="",w.BYTE_ORDER_MARK="\uFEFF",w.BAD_DELIMITERS=["\r",`
15
- `,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!M&&!!f.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=pe,w.ParserHandle=te,w.NetworkStreamer=W,w.FileStreamer=ee,w.StringStreamer=J,w.ReadableStreamStreamer=V,f.jQuery&&((O=f.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(b){if(!(O(this).prop("tagName").toUpperCase()==="INPUT"&&O(this).attr("type").toLowerCase()==="file"&&f.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:O.extend({},t)})}),o(),this;function o(){if(n.length===0)$(e.complete)&&e.complete();else{var b,m,c,l,a=n[0];if($(e.before)){var u=e.before(a.file,a.inputElem);if(typeof u=="object"){if(u.action==="abort")return b="AbortError",m=a.file,c=a.inputElem,l=u.reason,void($(e.error)&&e.error({name:b},m,c,l));if(u.action==="skip")return void g();typeof u.config=="object"&&(a.instanceConfig=O.extend(a.instanceConfig,u.config))}else if(u==="skip")return void g()}var h=a.instanceConfig.complete;a.instanceConfig.complete=function(y){$(h)&&h(y,a.file,a.inputElem),g()},w.parse(a.file,a.instanceConfig)}}function g(){n.splice(0,1),o()}}),L&&(f.onmessage=function(e){e=e.data,w.WORKER_ID===void 0&&e&&(w.WORKER_ID=e.workerId),typeof e.input=="string"?f.postMessage({workerId:w.WORKER_ID,results:w.parse(e.input,e.config),finished:!0}):(f.File&&e.input instanceof File||e.input instanceof Object)&&(e=w.parse(e.input,e.config))&&f.postMessage({workerId:w.WORKER_ID,results:e,finished:!0})}),(W.prototype=Object.create(N.prototype)).constructor=W,(ee.prototype=Object.create(N.prototype)).constructor=ee,(J.prototype=Object.create(J.prototype)).constructor=J,(V.prototype=Object.create(N.prototype)).constructor=V,w})})(ke)),ke.exports}var De=ze();class Be{static unparse(r,i){return De.unparse(r,i)}static parse(r){return new Promise((i,f)=>{De.parse(r,{header:!0,complete:O=>i(O),error:O=>f(O)})})}}async function Me(s,r,i){const f=i?.mimeType??We(r),O=je(s,f);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const Y=await(await window.showSaveFilePicker({suggestedName:r,types:[{description:"Datei",accept:{[f]:[`.${Re(r)}`]}}]})).createWritable();await Y.write(O),await Y.close();return}catch{}const M=URL.createObjectURL(O),L=document.createElement("a");L.href=M,L.download=r,L.rel="noopener",L.style.display="none",document.body.appendChild(L),Ue(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(M)},0),Pe()&&window.open(M,"_blank","noopener,noreferrer")}function je(s,r){if(s instanceof Blob)return s.type?s:new Blob([s],{type:r});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:r})}return new Blob([s],{type:r||"text/plain;charset=utf-8"})}function We(s){switch(Re(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function Re(s){const r=s.lastIndexOf(".");return r>=0&&r<s.length-1?s.slice(r+1):""}function Ue(s){const r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(r)}function Pe(){const s=navigator.userAgent,r=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return r||i}class He{static getEnumValue(r,i){if(i in r)return r[i];throw Error(`${i} not found in ${r}`)}static getKeyValues(r){return Object.keys(r).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:r[i]}))}}class Ye{static getFileExtension(r){let i="";const f=r.lastIndexOf(".");return f>0&&f<r.length-1&&(i=`.${r.substring(f+1).toLowerCase()}`),i}static readAsText(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?f(i.result):O(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,O(M)},i.readAsText(r)})}static readAsArrayBuffer(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?f(i.result):O(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,O(M)},i.readAsArrayBuffer(r)})}static readAsDataUrl(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=M=>{f(M)},i.onerror=M=>O(M),i.readAsDataURL(r)})}static formatFileSize(r,i=2,f){if(r===0)return"0 Bytes";const O=1024,M=["Bytes","KB","MB","GB","TB"];let L=Math.floor(Math.log(r)/Math.log(O));f&&M.includes(f)&&(L=M.indexOf(f));const P=r/Math.pow(O,L);return`${parseFloat(P.toFixed(i))} ${M[L]}`}static save(r,i,f){const O=new Blob([r],{type:f});Me(O,i)}}class ce{static set(r,i){localStorage.setItem(r,JSON.stringify(i))}static get(r){let i=null;const f=localStorage.getItem(r);return f&&(i=JSON.parse(f)),i}static remove(r){let i=!!ce.get(r);return i&&localStorage.removeItem(r),i}static removeAll(){localStorage.clear()}static getKeysBy(r){return Object.keys(localStorage).filter(i=>i.startsWith(r))}}var de=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(de||{});class le{static log(...r){le.doLog(de.log,r)}static info(...r){le.doLog(de.info,r)}static warn(...r){le.doLog(de.warn,r)}static debug(...r){le.doLog(de.debug,r)}static error(...r){le.doLog(de.error,r)}static doLog(r,i){console[r].apply(console,i)}}const Ne=(s,r,i)=>s.localeCompare(r)*(i?1:-1),qe=(s,r)=>s<r?-1:s===r?0:1,Ke=(s,r,i)=>qe(s,r)*(i?1:-1),Je=(s,r,i)=>{let f=0;return typeof s=="string"&&typeof r=="string"?f=Ne(s,r,i):f=Ke(s,r,i),f},$e=(s,r,i,f)=>{const O=i(s),M=i(r);return Je(O,M,f)};class Qe{static get(r){return ce.get(r)}static set(r,i){ce.set(r,i)}static remove(r){ce.remove(r)}}Array.prototype.distinct=function(s){const r=this;return s?r.filter((f,O,M)=>M.findIndex(L=>s(L,f))===O):r.filter((f,O,M)=>M.indexOf(f)===O)},Array.prototype.filterBy=function(s){return this.filter(r=>{let i=!1;return s&&r[s]?i=r[s]===s:i=r===s,i})},Array.prototype.first=function(){return this?.length>0?this[0]:null},Array.prototype.groupBy=function(s){return this.reduce((r,i)=>{const f=s(i);return(r[f]=r[f]||[]).push(i),r},{})},Array.prototype.orderBy=function(s,r=!0){return this?.sort((i,f)=>$e(i,f,s,r)),this},Array.prototype.removeBy=function(s,r){return this.filter(i=>s(i)!==r)};var be={exports:{}},Ve=be.exports,Ae;function Ze(){return Ae||(Ae=1,(function(s,r){(function(i,f){s.exports=f()})(Ve,(function(){var i=1e3,f=6e4,O=36e5,M="millisecond",L="second",P="minute",Y="hour",w="day",N="week",W="month",ee="quarter",J="year",V="date",te="Invalid Date",se=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var c=["th","st","nd","rd"],l=m%100;return"["+m+(c[(l-20)%10]||c[l]||c[0])+"]"}},ue=function(m,c,l){var a=String(m);return!a||a.length>=c?m:""+Array(c+1-a.length).join(l)+m},Ee={s:ue,z:function(m){var c=-m.utcOffset(),l=Math.abs(c),a=Math.floor(l/60),u=l%60;return(c<=0?"+":"-")+ue(a,2,"0")+":"+ue(u,2,"0")},m:function m(c,l){if(c.date()<l.date())return-m(l,c);var a=12*(l.year()-c.year())+(l.month()-c.month()),u=c.clone().add(a,W),h=l-u<0,y=c.clone().add(a+(h?-1:1),W);return+(-(a+(l-u)/(h?u-y:y-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:W,y:J,w:N,d:w,D:V,h:Y,m:P,s:L,ms:M,Q:ee}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},ae="en",q={};q[ae]=_e;var $="$isDayjsObject",e=function(m){return m instanceof g||!(!m||!m[$])},t=function m(c,l,a){var u;if(!c)return ae;if(typeof c=="string"){var h=c.toLowerCase();q[h]&&(u=h),l&&(q[h]=l,u=h);var y=c.split("-");if(!u&&y.length>1)return m(y[0])}else{var p=c.name;q[p]=c,u=p}return!a&&u&&(ae=u),u||!a&&ae},n=function(m,c){if(e(m))return m.clone();var l=typeof c=="object"?c:{};return l.date=m,l.args=arguments,new g(l)},o=Ee;o.l=t,o.i=e,o.w=function(m,c){return n(m,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var g=(function(){function m(l){this.$L=t(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[$]=!0}var c=m.prototype;return c.parse=function(l){this.$d=(function(a){var u=a.date,h=a.utc;if(u===null)return new Date(NaN);if(o.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var y=u.match(se);if(y){var p=y[2]-1||0,_=(y[7]||"0").substring(0,3);return h?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)}}return new Date(u)})(l),this.init()},c.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},c.$utils=function(){return o},c.isValid=function(){return this.$d.toString()!==te},c.isSame=function(l,a){var u=n(l);return this.startOf(a)<=u&&u<=this.endOf(a)},c.isAfter=function(l,a){return n(l)<this.startOf(a)},c.isBefore=function(l,a){return this.endOf(a)<n(l)},c.$g=function(l,a,u){return o.u(l)?this[a]:this.set(u,l)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(l,a){var u=this,h=!!o.u(a)||a,y=o.p(l),p=function(E,x){var v=o.w(u.$u?Date.UTC(u.$y,x,E):new Date(u.$y,x,E),u);return h?v:v.endOf(w)},_=function(E,x){return o.w(u.toDate()[E].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(x)),u)},d=this.$W,C=this.$M,R=this.$D,F="set"+(this.$u?"UTC":"");switch(y){case J:return h?p(1,0):p(31,11);case W:return h?p(1,C):p(0,C+1);case N:var j=this.$locale().weekStart||0,k=(d<j?d+7:d)-j;return p(h?R-k:R+(6-k),C);case w:case V:return _(F+"Hours",0);case Y:return _(F+"Minutes",1);case P:return _(F+"Seconds",2);case L:return _(F+"Milliseconds",3);default:return this.clone()}},c.endOf=function(l){return this.startOf(l,!1)},c.$set=function(l,a){var u,h=o.p(l),y="set"+(this.$u?"UTC":""),p=(u={},u[w]=y+"Date",u[V]=y+"Date",u[W]=y+"Month",u[J]=y+"FullYear",u[Y]=y+"Hours",u[P]=y+"Minutes",u[L]=y+"Seconds",u[M]=y+"Milliseconds",u)[h],_=h===w?this.$D+(a-this.$W):a;if(h===W||h===J){var d=this.clone().set(V,1);d.$d[p](_),d.init(),this.$d=d.set(V,Math.min(this.$D,d.daysInMonth())).$d}else p&&this.$d[p](_);return this.init(),this},c.set=function(l,a){return this.clone().$set(l,a)},c.get=function(l){return this[o.p(l)]()},c.add=function(l,a){var u,h=this;l=Number(l);var y=o.p(a),p=function(C){var R=n(h);return o.w(R.date(R.date()+Math.round(C*l)),h)};if(y===W)return this.set(W,this.$M+l);if(y===J)return this.set(J,this.$y+l);if(y===w)return p(1);if(y===N)return p(7);var _=(u={},u[P]=f,u[Y]=O,u[L]=i,u)[y]||1,d=this.$d.getTime()+l*_;return o.w(d,this)},c.subtract=function(l,a){return this.add(-1*l,a)},c.format=function(l){var a=this,u=this.$locale();if(!this.isValid())return u.invalidDate||te;var h=l||"YYYY-MM-DDTHH:mm:ssZ",y=o.z(this),p=this.$H,_=this.$m,d=this.$M,C=u.weekdays,R=u.months,F=u.meridiem,j=function(x,v,A,z){return x&&(x[v]||x(a,h))||A[v].slice(0,z)},k=function(x){return o.s(p%12||12,x,"0")},E=F||function(x,v,A){var z=x<12?"AM":"PM";return A?z.toLowerCase():z};return h.replace(pe,(function(x,v){return v||(function(A){switch(A){case"YY":return String(a.$y).slice(-2);case"YYYY":return o.s(a.$y,4,"0");case"M":return d+1;case"MM":return o.s(d+1,2,"0");case"MMM":return j(u.monthsShort,d,R,3);case"MMMM":return j(R,d);case"D":return a.$D;case"DD":return o.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return j(u.weekdaysMin,a.$W,C,2);case"ddd":return j(u.weekdaysShort,a.$W,C,3);case"dddd":return C[a.$W];case"H":return String(p);case"HH":return o.s(p,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return E(p,_,!0);case"A":return E(p,_,!1);case"m":return String(_);case"mm":return o.s(_,2,"0");case"s":return String(a.$s);case"ss":return o.s(a.$s,2,"0");case"SSS":return o.s(a.$ms,3,"0");case"Z":return y}return null})(x)||y.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(l,a,u){var h,y=this,p=o.p(a),_=n(l),d=(_.utcOffset()-this.utcOffset())*f,C=this-_,R=function(){return o.m(y,_)};switch(p){case J:h=R()/12;break;case W:h=R();break;case ee:h=R()/3;break;case N:h=(C-d)/6048e5;break;case w:h=(C-d)/864e5;break;case Y:h=C/O;break;case P:h=C/f;break;case L:h=C/i;break;default:h=C}return u?h:o.a(h)},c.daysInMonth=function(){return this.endOf(W).$D},c.$locale=function(){return q[this.$L]},c.locale=function(l,a){if(!l)return this.$L;var u=this.clone(),h=t(l,a,!0);return h&&(u.$L=h),u},c.clone=function(){return o.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},m})(),b=g.prototype;return n.prototype=b,[["$ms",M],["$s",L],["$m",P],["$H",Y],["$W",w],["$M",W],["$y",J],["$D",V]].forEach((function(m){b[m[1]]=function(c){return this.$g(c,m[0],m[1])}})),n.extend=function(m,c){return m.$i||(m(c,g,n),m.$i=!0),n},n.locale=t,n.isDayjs=e,n.unix=function(m){return n(1e3*m)},n.en=q[ae],n.Ls=q,n.p={},n}))})(be)),be.exports}var Ge=Ze();const G=xe(Ge);var Se={exports:{}},Xe=Se.exports,Le;function et(){return Le||(Le=1,(function(s,r){(function(i,f){s.exports=f()})(Xe,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(f,O,M){var L=O.prototype,P=L.format;M.en.formats=i,L.format=function(Y){Y===void 0&&(Y="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,N=(function(W,ee){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(J,V,te){var se=te&&te.toUpperCase();return V||ee[te]||i[te]||ee[se].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(pe,_e,ue){return _e||ue.slice(1)}))}))})(Y,w===void 0?{}:w);return P.call(this,N)}}}))})(Se)),Se.exports}var tt=et();const rt=xe(tt);G.extend(rt),Date.prototype.isAfter=function(s,r){return G(this).isAfter(s,r)},Date.prototype.isBefore=function(s,r){return G(this).isBefore(s,r)},Date.prototype.format=function(s){return G(this).format(s)},Date.prototype.isValid=function(){return G(this).isValid()},Date.prototype.add=function(s,r){return G(this).add(s,r).toDate()},Date.prototype.subtract=function(s,r){return G(this).subtract(s,r).toDate()},Date.prototype.firstDayOfMonth=function(){return G(this).startOf("month").toDate()},Date.prototype.lastDayOfMonth=function(){return G(this).endOf("month").toDate()},Date.prototype.set=function(s,r){return G(this).set(s,r).toDate()},Date.prototype.diff=function(s,r){return G(this).diff(s,r)},String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""},String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0};var Z=(s=>(s.opera="opera",s.firefox="firefox",s.safari="safari",s.ie="ie",s.edge="edge",s.edg="edg",s.electron="electron",s.chrome="chrome",s.iOsSafari="iOsSafari",s.edgiOs="edgiOs",s.headlessChrome="headlessChrome",s))(Z||{});const fe={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class nt{screenWidth=0;lastBreakpoint;resizeListener;breakpointChangeCallbacks=new Set;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;pendingWidth;pendingBreakpoint;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.screenWidth=window.innerWidth,this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}),this.lastBreakpoint=this.getBreakpointByScreenWidth(this.screenWidth))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.breakpointChangeCallbacks.clear(),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}getCurrentBreakpoint(){return this.lastBreakpoint}getCurrentScreenWidth(){return this.screenWidth}onBreakpointChange(r){this.breakpointChangeCallbacks.add(r)}offBreakpointChange(r){this.breakpointChangeCallbacks.delete(r)}onResizeChange(r){this.onResizeCallbacks.add(r)}offResizeChange(r){this.onResizeCallbacks.delete(r)}getCurrentBrowser(){const r=navigator.userAgent.toLowerCase();if(this.isOpera())return Z.opera;if(this.isFirefox())return Z.firefox;if(this.isSafari())return Z.safari;if(this.isIE())return Z.ie;if(this.isEdge())return Z.edge;if(this.isEdg())return Z.edg;if(this.isElectron(r))return Z.electron;if(this.isChrome())return Z.chrome;if(this.isIOsSafari(r))return Z.iOsSafari;if(this.isEdgiOs(r))return Z.edgiOs;if(this.isHeadlessChrome(r))return Z.headlessChrome;throw new Error("Browser could not be detected: "+r)}getBreakpointByScreenWidth(r=this.screenWidth){let i="xs";for(const f of Object.keys(fe))fe[f]<=r&&(i=f);return{breakpoint:i,screenWidth:fe[i]}}isScreenGreaterThan(r){return this.screenWidth>fe[r]}isScreenSmallerThan(r){return this.screenWidth<fe[r]}getBreakpoint(r){return{breakpoint:r,screenWidth:fe[r]}}isOpera(){return typeof window<"u"&&(!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.includes("OPR/"))}isFirefox(){return typeof globalThis.InstallTrigger<"u"}isSafari(){return typeof window>"u"?!1:/constructor/i.test(window.HTMLElement)||(r=>r.toString()==="[object SafariRemoteNotification]")(!window.safari||window.safari&&window.safari.pushNotification)}isIE(){return typeof document>"u"?!1:!!document.documentMode}isEdge(){return typeof window>"u"?!1:!this.isIE()&&!!window.StyleMedia}isEdg(){return typeof navigator>"u"?!1:navigator.userAgent.toLowerCase().includes("edg")}isElectron(r){return r.includes("electron")}isChrome(){return typeof window>"u"?!1:!!window.chrome&&!this.isOpera()&&!this.isEdge()&&!this.isEdg()&&!this.isFirefox()&&!this.isSafari()&&!this.isIE()}isIOsSafari(r){return r.includes("iphone")||r.includes("ipad")||r.includes("macintosh")&&typeof document<"u"&&"ontouchend"in document&&r.includes("safari")}isEdgiOs(r){return r.includes("edgios")}isHeadlessChrome(r){return r.includes("headlesschrome")}onResize=()=>{if(typeof window>"u")return;const r=window.innerWidth,i=this.getBreakpointByScreenWidth(r);this.lastBreakpoint?.breakpoint!==i?.breakpoint&&(this.lastBreakpoint=i,i&&this.breakpointChangeCallbacks.forEach(f=>f(i))),this.pendingWidth=r,this.pendingBreakpoint=i,this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.pendingBreakpoint&&this.onResizeCallbacks.forEach(f=>f(this.pendingWidth,this.pendingBreakpoint)),this.pendingWidth=void 0,this.pendingBreakpoint=void 0,this.emitTimeoutId=null},this.duplicateThresholdMs)}}H.BrowserService=nt,H.CsvHelper=Be,H.EnumHelper=He,H.FileHelper=Ye,H.LocalStorageHelper=ce,H.LoggerHelper=le,H.ScreenBreakpoints=fe,H.TokenHelper=Qe,H.copyToClipboard=ye,H.saveAs=Me,H.sortHelper=$e,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})}));
15
+ `,'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!M&&!!f.Worker,w.NODE_STREAM_INPUT=1,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=pe,w.ParserHandle=te,w.NetworkStreamer=W,w.FileStreamer=ee,w.StringStreamer=J,w.ReadableStreamStreamer=Z,f.jQuery&&((O=f.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(b){if(!(O(this).prop("tagName").toUpperCase()==="INPUT"&&O(this).attr("type").toLowerCase()==="file"&&f.FileReader)||!this.files||this.files.length===0)return!0;for(var m=0;m<this.files.length;m++)n.push({file:this.files[m],inputElem:this,instanceConfig:O.extend({},t)})}),o(),this;function o(){if(n.length===0)$(e.complete)&&e.complete();else{var b,m,c,l,a=n[0];if($(e.before)){var u=e.before(a.file,a.inputElem);if(typeof u=="object"){if(u.action==="abort")return b="AbortError",m=a.file,c=a.inputElem,l=u.reason,void($(e.error)&&e.error({name:b},m,c,l));if(u.action==="skip")return void g();typeof u.config=="object"&&(a.instanceConfig=O.extend(a.instanceConfig,u.config))}else if(u==="skip")return void g()}var h=a.instanceConfig.complete;a.instanceConfig.complete=function(y){$(h)&&h(y,a.file,a.inputElem),g()},w.parse(a.file,a.instanceConfig)}}function g(){n.splice(0,1),o()}}),L&&(f.onmessage=function(e){e=e.data,w.WORKER_ID===void 0&&e&&(w.WORKER_ID=e.workerId),typeof e.input=="string"?f.postMessage({workerId:w.WORKER_ID,results:w.parse(e.input,e.config),finished:!0}):(f.File&&e.input instanceof File||e.input instanceof Object)&&(e=w.parse(e.input,e.config))&&f.postMessage({workerId:w.WORKER_ID,results:e,finished:!0})}),(W.prototype=Object.create(N.prototype)).constructor=W,(ee.prototype=Object.create(N.prototype)).constructor=ee,(J.prototype=Object.create(J.prototype)).constructor=J,(Z.prototype=Object.create(N.prototype)).constructor=Z,w})})(ke)),ke.exports}var De=ze();class Be{static unparse(r,i){return De.unparse(r,i)}static parse(r){return new Promise((i,f)=>{De.parse(r,{header:!0,complete:O=>i(O),error:O=>f(O)})})}}async function Me(s,r,i){const f=i?.mimeType??We(r),O=je(s,f);if("showSaveFilePicker"in window&&i?.showSaveFilePicker)try{const Y=await(await window.showSaveFilePicker({suggestedName:r,types:[{description:"Datei",accept:{[f]:[`.${Re(r)}`]}}]})).createWritable();await Y.write(O),await Y.close();return}catch{}const M=URL.createObjectURL(O),L=document.createElement("a");L.href=M,L.download=r,L.rel="noopener",L.style.display="none",document.body.appendChild(L),Ue(L),window.setTimeout(()=>{document.body.removeChild(L),URL.revokeObjectURL(M)},0),Pe()&&window.open(M,"_blank","noopener,noreferrer")}function je(s,r){if(s instanceof Blob)return s.type?s:new Blob([s],{type:r});if(s instanceof ArrayBuffer||s instanceof Uint8Array){const i=s instanceof Uint8Array?s:new Uint8Array(s);return new Blob([i],{type:r})}return new Blob([s],{type:r||"text/plain;charset=utf-8"})}function We(s){switch(Re(s).toLowerCase()){case"txt":return"text/plain;charset=utf-8";case"csv":return"text/csv;charset=utf-8";case"json":return"application/json;charset=utf-8";case"pdf":return"application/pdf";case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"svg":return"image/svg+xml";case"zip":return"application/zip";default:return"application/octet-stream"}}function Re(s){const r=s.lastIndexOf(".");return r>=0&&r<s.length-1?s.slice(r+1):""}function Ue(s){const r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(r)}function Pe(){const s=navigator.userAgent,r=/iPad|iPhone|iPod/.test(s),i=/^((?!chrome|android).)*safari/i.test(s);return r||i}class He{static getEnumValue(r,i){if(i in r)return r[i];throw Error(`${i} not found in ${r}`)}static getKeyValues(r){return Object.keys(r).filter(i=>!isNaN(Number(i))).map(i=>({key:Number(i),value:r[i]}))}}class Ye{static getFileExtension(r){let i="";const f=r.lastIndexOf(".");return f>0&&f<r.length-1&&(i=`.${r.substring(f+1).toLowerCase()}`),i}static readAsText(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=()=>{i.onload=null,i.onerror=null,typeof i.result=="string"?f(i.result):O(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,O(M)},i.readAsText(r)})}static readAsArrayBuffer(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=()=>{i.onload=null,i.onerror=null,i.result instanceof ArrayBuffer?f(i.result):O(new Error("Unexpected result type"))},i.onerror=()=>{const M=i.error??new Error("FileReader error");i.onload=null,i.onerror=null,O(M)},i.readAsArrayBuffer(r)})}static readAsDataUrl(r){const i=new FileReader;return new Promise((f,O)=>{i.onload=M=>{f(M)},i.onerror=M=>O(M),i.readAsDataURL(r)})}static formatFileSize(r,i=2,f){if(r===0)return"0 Bytes";const O=1024,M=["Bytes","KB","MB","GB","TB"];let L=Math.floor(Math.log(r)/Math.log(O));f&&M.includes(f)&&(L=M.indexOf(f));const H=r/Math.pow(O,L);return`${parseFloat(H.toFixed(i))} ${M[L]}`}static save(r,i,f){const O=new Blob([r],{type:f});Me(O,i)}}class ce{static set(r,i){localStorage.setItem(r,JSON.stringify(i))}static get(r){let i=null;const f=localStorage.getItem(r);return f&&(i=JSON.parse(f)),i}static remove(r){let i=!!ce.get(r);return i&&localStorage.removeItem(r),i}static removeAll(){localStorage.clear()}static getKeysBy(r){return Object.keys(localStorage).filter(i=>i.startsWith(r))}}var de=(s=>(s.log="log",s.info="info",s.warn="warn",s.debug="debug",s.error="error",s))(de||{});class le{static log(...r){le.doLog(de.log,r)}static info(...r){le.doLog(de.info,r)}static warn(...r){le.doLog(de.warn,r)}static debug(...r){le.doLog(de.debug,r)}static error(...r){le.doLog(de.error,r)}static doLog(r,i){console[r].apply(console,i)}}const Ne=(s,r,i)=>s.localeCompare(r)*(i?1:-1),qe=(s,r)=>s<r?-1:s===r?0:1,Ke=(s,r,i)=>qe(s,r)*(i?1:-1),Je=(s,r,i)=>{let f=0;return typeof s=="string"&&typeof r=="string"?f=Ne(s,r,i):f=Ke(s,r,i),f},$e=(s,r,i,f)=>{const O=i(s),M=i(r);return Je(O,M,f)};class Qe{static get(r){return ce.get(r)}static set(r,i){ce.set(r,i)}static remove(r){ce.remove(r)}}Array.prototype.distinct=function(s){const r=this;return s?r.filter((f,O,M)=>M.findIndex(L=>s(L,f))===O):r.filter((f,O,M)=>M.indexOf(f)===O)},Array.prototype.filterBy=function(s){return this.filter(r=>{let i=!1;return s&&r[s]?i=r[s]===s:i=r===s,i})},Array.prototype.first=function(){return this?.length>0?this[0]:null},Array.prototype.groupBy=function(s){return this.reduce((r,i)=>{const f=s(i);return(r[f]=r[f]||[]).push(i),r},{})},Array.prototype.orderBy=function(s,r=!0){return this?.sort((i,f)=>$e(i,f,s,r)),this},Array.prototype.removeBy=function(s,r){return this.filter(i=>s(i)!==r)};var be={exports:{}},Ve=be.exports,Ae;function Ze(){return Ae||(Ae=1,(function(s,r){(function(i,f){s.exports=f()})(Ve,(function(){var i=1e3,f=6e4,O=36e5,M="millisecond",L="second",H="minute",Y="hour",w="day",N="week",W="month",ee="quarter",J="year",Z="date",te="Invalid Date",se=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var c=["th","st","nd","rd"],l=m%100;return"["+m+(c[(l-20)%10]||c[l]||c[0])+"]"}},ue=function(m,c,l){var a=String(m);return!a||a.length>=c?m:""+Array(c+1-a.length).join(l)+m},Ee={s:ue,z:function(m){var c=-m.utcOffset(),l=Math.abs(c),a=Math.floor(l/60),u=l%60;return(c<=0?"+":"-")+ue(a,2,"0")+":"+ue(u,2,"0")},m:function m(c,l){if(c.date()<l.date())return-m(l,c);var a=12*(l.year()-c.year())+(l.month()-c.month()),u=c.clone().add(a,W),h=l-u<0,y=c.clone().add(a+(h?-1:1),W);return+(-(a+(l-u)/(h?u-y:y-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:W,y:J,w:N,d:w,D:Z,h:Y,m:H,s:L,ms:M,Q:ee}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},ae="en",q={};q[ae]=_e;var $="$isDayjsObject",e=function(m){return m instanceof g||!(!m||!m[$])},t=function m(c,l,a){var u;if(!c)return ae;if(typeof c=="string"){var h=c.toLowerCase();q[h]&&(u=h),l&&(q[h]=l,u=h);var y=c.split("-");if(!u&&y.length>1)return m(y[0])}else{var p=c.name;q[p]=c,u=p}return!a&&u&&(ae=u),u||!a&&ae},n=function(m,c){if(e(m))return m.clone();var l=typeof c=="object"?c:{};return l.date=m,l.args=arguments,new g(l)},o=Ee;o.l=t,o.i=e,o.w=function(m,c){return n(m,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var g=(function(){function m(l){this.$L=t(l.locale,null,!0),this.parse(l),this.$x=this.$x||l.x||{},this[$]=!0}var c=m.prototype;return c.parse=function(l){this.$d=(function(a){var u=a.date,h=a.utc;if(u===null)return new Date(NaN);if(o.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var y=u.match(se);if(y){var p=y[2]-1||0,_=(y[7]||"0").substring(0,3);return h?new Date(Date.UTC(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)):new Date(y[1],p,y[3]||1,y[4]||0,y[5]||0,y[6]||0,_)}}return new Date(u)})(l),this.init()},c.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},c.$utils=function(){return o},c.isValid=function(){return this.$d.toString()!==te},c.isSame=function(l,a){var u=n(l);return this.startOf(a)<=u&&u<=this.endOf(a)},c.isAfter=function(l,a){return n(l)<this.startOf(a)},c.isBefore=function(l,a){return this.endOf(a)<n(l)},c.$g=function(l,a,u){return o.u(l)?this[a]:this.set(u,l)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(l,a){var u=this,h=!!o.u(a)||a,y=o.p(l),p=function(E,x){var v=o.w(u.$u?Date.UTC(u.$y,x,E):new Date(u.$y,x,E),u);return h?v:v.endOf(w)},_=function(E,x){return o.w(u.toDate()[E].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(x)),u)},d=this.$W,C=this.$M,R=this.$D,F="set"+(this.$u?"UTC":"");switch(y){case J:return h?p(1,0):p(31,11);case W:return h?p(1,C):p(0,C+1);case N:var j=this.$locale().weekStart||0,k=(d<j?d+7:d)-j;return p(h?R-k:R+(6-k),C);case w:case Z:return _(F+"Hours",0);case Y:return _(F+"Minutes",1);case H:return _(F+"Seconds",2);case L:return _(F+"Milliseconds",3);default:return this.clone()}},c.endOf=function(l){return this.startOf(l,!1)},c.$set=function(l,a){var u,h=o.p(l),y="set"+(this.$u?"UTC":""),p=(u={},u[w]=y+"Date",u[Z]=y+"Date",u[W]=y+"Month",u[J]=y+"FullYear",u[Y]=y+"Hours",u[H]=y+"Minutes",u[L]=y+"Seconds",u[M]=y+"Milliseconds",u)[h],_=h===w?this.$D+(a-this.$W):a;if(h===W||h===J){var d=this.clone().set(Z,1);d.$d[p](_),d.init(),this.$d=d.set(Z,Math.min(this.$D,d.daysInMonth())).$d}else p&&this.$d[p](_);return this.init(),this},c.set=function(l,a){return this.clone().$set(l,a)},c.get=function(l){return this[o.p(l)]()},c.add=function(l,a){var u,h=this;l=Number(l);var y=o.p(a),p=function(C){var R=n(h);return o.w(R.date(R.date()+Math.round(C*l)),h)};if(y===W)return this.set(W,this.$M+l);if(y===J)return this.set(J,this.$y+l);if(y===w)return p(1);if(y===N)return p(7);var _=(u={},u[H]=f,u[Y]=O,u[L]=i,u)[y]||1,d=this.$d.getTime()+l*_;return o.w(d,this)},c.subtract=function(l,a){return this.add(-1*l,a)},c.format=function(l){var a=this,u=this.$locale();if(!this.isValid())return u.invalidDate||te;var h=l||"YYYY-MM-DDTHH:mm:ssZ",y=o.z(this),p=this.$H,_=this.$m,d=this.$M,C=u.weekdays,R=u.months,F=u.meridiem,j=function(x,v,A,z){return x&&(x[v]||x(a,h))||A[v].slice(0,z)},k=function(x){return o.s(p%12||12,x,"0")},E=F||function(x,v,A){var z=x<12?"AM":"PM";return A?z.toLowerCase():z};return h.replace(pe,(function(x,v){return v||(function(A){switch(A){case"YY":return String(a.$y).slice(-2);case"YYYY":return o.s(a.$y,4,"0");case"M":return d+1;case"MM":return o.s(d+1,2,"0");case"MMM":return j(u.monthsShort,d,R,3);case"MMMM":return j(R,d);case"D":return a.$D;case"DD":return o.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return j(u.weekdaysMin,a.$W,C,2);case"ddd":return j(u.weekdaysShort,a.$W,C,3);case"dddd":return C[a.$W];case"H":return String(p);case"HH":return o.s(p,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return E(p,_,!0);case"A":return E(p,_,!1);case"m":return String(_);case"mm":return o.s(_,2,"0");case"s":return String(a.$s);case"ss":return o.s(a.$s,2,"0");case"SSS":return o.s(a.$ms,3,"0");case"Z":return y}return null})(x)||y.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(l,a,u){var h,y=this,p=o.p(a),_=n(l),d=(_.utcOffset()-this.utcOffset())*f,C=this-_,R=function(){return o.m(y,_)};switch(p){case J:h=R()/12;break;case W:h=R();break;case ee:h=R()/3;break;case N:h=(C-d)/6048e5;break;case w:h=(C-d)/864e5;break;case Y:h=C/O;break;case H:h=C/f;break;case L:h=C/i;break;default:h=C}return u?h:o.a(h)},c.daysInMonth=function(){return this.endOf(W).$D},c.$locale=function(){return q[this.$L]},c.locale=function(l,a){if(!l)return this.$L;var u=this.clone(),h=t(l,a,!0);return h&&(u.$L=h),u},c.clone=function(){return o.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},m})(),b=g.prototype;return n.prototype=b,[["$ms",M],["$s",L],["$m",H],["$H",Y],["$W",w],["$M",W],["$y",J],["$D",Z]].forEach((function(m){b[m[1]]=function(c){return this.$g(c,m[0],m[1])}})),n.extend=function(m,c){return m.$i||(m(c,g,n),m.$i=!0),n},n.locale=t,n.isDayjs=e,n.unix=function(m){return n(1e3*m)},n.en=q[ae],n.Ls=q,n.p={},n}))})(be)),be.exports}var Ge=Ze();const G=xe(Ge);var Se={exports:{}},Xe=Se.exports,Le;function et(){return Le||(Le=1,(function(s,r){(function(i,f){s.exports=f()})(Xe,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(f,O,M){var L=O.prototype,H=L.format;M.en.formats=i,L.format=function(Y){Y===void 0&&(Y="YYYY-MM-DDTHH:mm:ssZ");var w=this.$locale().formats,N=(function(W,ee){return W.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(J,Z,te){var se=te&&te.toUpperCase();return Z||ee[te]||i[te]||ee[se].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(pe,_e,ue){return _e||ue.slice(1)}))}))})(Y,w===void 0?{}:w);return H.call(this,N)}}}))})(Se)),Se.exports}var tt=et();const rt=xe(tt);G.extend(rt),Date.prototype.isAfter=function(s,r){return G(this).isAfter(s,r)},Date.prototype.isBefore=function(s,r){return G(this).isBefore(s,r)},Date.prototype.format=function(s){return G(this).format(s)},Date.prototype.isValid=function(){return G(this).isValid()},Date.prototype.add=function(s,r){return G(this).add(s,r).toDate()},Date.prototype.subtract=function(s,r){return G(this).subtract(s,r).toDate()},Date.prototype.firstDayOfMonth=function(){return G(this).startOf("month").toDate()},Date.prototype.lastDayOfMonth=function(){return G(this).endOf("month").toDate()},Date.prototype.set=function(s,r){return G(this).set(s,r).toDate()},Date.prototype.diff=function(s,r){return G(this).diff(s,r)},String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},String.prototype.isNumber=function(){return!isNaN(Number(this))&&this.trim()!==""},String.prototype.isEmpty=function(){return this===void 0||!this||this.length===0};var V=(s=>(s.opera="opera",s.firefox="firefox",s.safari="safari",s.ie="ie",s.edge="edge",s.edg="edg",s.electron="electron",s.chrome="chrome",s.iOsSafari="iOsSafari",s.edgiOs="edgiOs",s.headlessChrome="headlessChrome",s))(V||{});const fe={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400,xxxl:1600};class nt{screenWidth=0;lastBreakpoint;resizeListener;breakpointChangeCallbacks=new Set;onResizeCallbacks=new Set;rafId=null;emitTimeoutId=null;pendingWidth;pendingBreakpoint;duplicateThresholdMs=60;constructor(){typeof window<"u"&&(this.screenWidth=window.innerWidth,this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener,{passive:!0}),this.lastBreakpoint=this.getBreakpointByScreenWidth(this.screenWidth))}destroy(){typeof window<"u"&&window.removeEventListener("resize",this.resizeListener),this.breakpointChangeCallbacks.clear(),this.onResizeCallbacks.clear(),this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null)}getCurrentBreakpoint(){return this.lastBreakpoint}getCurrentScreenWidth(){return this.screenWidth}onBreakpointChange(r){this.breakpointChangeCallbacks.add(r)}offBreakpointChange(r){this.breakpointChangeCallbacks.delete(r)}onResizeChange(r){this.onResizeCallbacks.add(r)}offResizeChange(r){this.onResizeCallbacks.delete(r)}getCurrentBrowser(){const r=navigator.userAgent.toLowerCase();if(this.isOpera())return V.opera;if(this.isFirefox())return V.firefox;if(this.isSafari())return V.safari;if(this.isIE())return V.ie;if(this.isEdge())return V.edge;if(this.isEdg())return V.edg;if(this.isElectron(r))return V.electron;if(this.isChrome())return V.chrome;if(this.isIOsSafari(r))return V.iOsSafari;if(this.isEdgiOs(r))return V.edgiOs;if(this.isHeadlessChrome(r))return V.headlessChrome;throw new Error("Browser could not be detected: "+r)}getBreakpointByScreenWidth(r=this.screenWidth){let i="xs";for(const f of Object.keys(fe))fe[f]<=r&&(i=f);return{breakpoint:i,screenWidth:fe[i]}}isScreenGreaterThan(r){return this.screenWidth>fe[r]}isScreenSmallerThan(r){return this.screenWidth<fe[r]}getBreakpoint(r){return{breakpoint:r,screenWidth:fe[r]}}isOpera(){return typeof window<"u"&&(!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.includes("OPR/"))}isFirefox(){return typeof globalThis.InstallTrigger<"u"}isSafari(){return typeof window>"u"?!1:/constructor/i.test(window.HTMLElement)||(r=>r.toString()==="[object SafariRemoteNotification]")(!window.safari||window.safari&&window.safari.pushNotification)}isIE(){return typeof document>"u"?!1:!!document.documentMode}isEdge(){return typeof window>"u"?!1:!this.isIE()&&!!window.StyleMedia}isEdg(){return typeof navigator>"u"?!1:navigator.userAgent.toLowerCase().includes("edg")}isElectron(r){return r.includes("electron")}isChrome(){return typeof window>"u"?!1:!!window.chrome&&!this.isOpera()&&!this.isEdge()&&!this.isEdg()&&!this.isFirefox()&&!this.isSafari()&&!this.isIE()}isIOsSafari(r){return r.includes("iphone")||r.includes("ipad")||r.includes("macintosh")&&typeof document<"u"&&"ontouchend"in document&&r.includes("safari")}isEdgiOs(r){return r.includes("edgios")}isHeadlessChrome(r){return r.includes("headlesschrome")}onResize=()=>{if(typeof window>"u")return;const r=window.innerWidth,i=this.getBreakpointByScreenWidth(r);this.lastBreakpoint?.breakpoint!==i?.breakpoint&&(this.lastBreakpoint=i,i&&this.breakpointChangeCallbacks.forEach(f=>f(i))),this.pendingWidth=r,this.pendingBreakpoint=i,this.emitTimeoutId&&clearTimeout(this.emitTimeoutId),this.emitTimeoutId=window.setTimeout(()=>{this.pendingBreakpoint&&this.onResizeCallbacks.forEach(f=>f(this.pendingWidth,this.pendingBreakpoint)),this.pendingWidth=void 0,this.pendingBreakpoint=void 0,this.emitTimeoutId=null},this.duplicateThresholdMs)}}P.BrowserService=nt,P.BrowserType=V,P.CsvHelper=Be,P.EnumHelper=He,P.FileHelper=Ye,P.LocalStorageHelper=ce,P.LoggerHelper=le,P.ScreenBreakpoints=fe,P.TokenHelper=Qe,P.copyToClipboard=ye,P.saveAs=Me,P.sortHelper=$e,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
@@ -1,3 +1,2 @@
1
- export * from './browser.interface';
2
1
  export * from './keyvalue.interface';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"keyvalue.interface.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/keyvalue.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS,CAAC,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACT"}
1
+ {"version":3,"file":"keyvalue.interface.d.ts","sourceRoot":"","sources":["../../../lib/interfaces/keyvalue.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS,CAAC,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC;CACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/ts-utils",
3
- "version": "0.0.15",
3
+ "version": "0.0.18",
4
4
  "description": "utility services, types",
5
5
  "main": "index.cjs.js",
6
6
  "module": "index.es.js",
package/readme.md ADDED
@@ -0,0 +1,15 @@
1
+ # @oardi/ts-utils
2
+
3
+ Powerful set of Typescript Utility Extension Methods, Helpers, Interfaces, Services and Types.
4
+
5
+ ## Setup
6
+
7
+ ### Install npm package
8
+
9
+ ```
10
+ npm i @oardi/ts-utils
11
+ ```
12
+
13
+ ### about
14
+
15
+ Developed and maintained by [Ardian Shala](https://github.com/oardi)
@@ -11,4 +11,4 @@ export declare enum BrowserType {
11
11
  edgiOs = "edgiOs",
12
12
  headlessChrome = "headlessChrome"
13
13
  }
14
- //# sourceMappingURL=browsertype.enum.d.ts.map
14
+ //# sourceMappingURL=browser-type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser-type.enum.d.ts","sourceRoot":"","sources":["../../../../lib/services/browser/browser-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACtB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,cAAc,mBAAmB;CACjC"}
@@ -1,4 +1,4 @@
1
- import { Size } from '../types';
1
+ import { Size } from '../../types';
2
2
  export interface IScreenBreakpoint {
3
3
  breakpoint: Size;
4
4
  screenWidth: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.interface.d.ts","sourceRoot":"","sources":["../../../../lib/services/browser/browser.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,IAAI,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACpB"}
@@ -1,6 +1,6 @@
1
- import { BrowserType } from '../enums/browsertype.enum';
2
- import { IScreenBreakpoint } from '../interfaces/browser.interface';
3
- import { Size } from '../types';
1
+ import { Size } from '../../types';
2
+ import { BrowserType } from './browser-type.enum';
3
+ import { IScreenBreakpoint } from './browser.interface';
4
4
  export declare const ScreenBreakpoints: Record<Size, number>;
5
5
  export type ResizeCallback = (breakpoint: IScreenBreakpoint) => void;
6
6
  export type OnResizeCallback = (width: number, breakpoint: IScreenBreakpoint) => void;
@@ -17,7 +17,7 @@ export declare class BrowserService {
17
17
  private duplicateThresholdMs;
18
18
  constructor();
19
19
  destroy(): void;
20
- getCurrentBreakpoint(): IScreenBreakpoint | undefined;
20
+ getCurrentBreakpoint(): IScreenBreakpoint;
21
21
  getCurrentScreenWidth(): number;
22
22
  onBreakpointChange(callback: ResizeCallback): void;
23
23
  offBreakpointChange(callback: ResizeCallback): void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.service.d.ts","sourceRoot":"","sources":["../../../../lib/services/browser/browser.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAQlD,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAEtF,qBAAa,cAAc;IAC1B,OAAO,CAAC,WAAW,CAAa;IAChC,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,cAAc,CAA4B;IAClD,OAAO,CAAC,yBAAyB,CAAkC;IACnE,OAAO,CAAC,iBAAiB,CAAoC;IAC7D,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,iBAAiB,CAAC,CAAoB;IAC9C,OAAO,CAAC,oBAAoB,CAAM;;IAY3B,OAAO,IAAI,IAAI;IAYf,oBAAoB,IAAI,iBAAiB;IAIzC,qBAAqB,IAAI,MAAM;IAI/B,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAIlD,mBAAmB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAInD,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAIhD,eAAe,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAIjD,iBAAiB,IAAI,WAAW;IAkBhC,0BAA0B,CAAC,KAAK,GAAE,MAAyB,GAAG,iBAAiB;IAU/E,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIxC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIxC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,iBAAiB;IAOnD,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,QAAQ;IAUhB,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,QAAQ;IAahB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,QAAQ,CAwBd;CACF"}
@@ -0,0 +1,4 @@
1
+ export * from './browser-type.enum';
2
+ export * from './browser.interface';
3
+ export * from './browser.service';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/services/browser/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './browser.service';
1
+ export * from './browser';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;AAErE,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,cAAc,CAAC;AAEvD,OAAO,CAAC,MAAM,CAAC;IAEd,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC;IAChC,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACnC,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,MAAM,cAAc,EAAE,OAAO,CAAC;CACrC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;AAErE,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,cAAc,CAAC;AAEvD,OAAO,CAAC,MAAM,CAAC;IAEd,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC;IAChC,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACnC,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,MAAM,cAAc,EAAE,OAAO,CAAC;CACrC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=vite.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../lib/vite.config.ts"],"names":[],"mappings":";AAGA,wBAiBG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"browsertype.enum.d.ts","sourceRoot":"","sources":["../../../src/lib/enums/browsertype.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACtB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,cAAc,mBAAmB;CACjC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.interface.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/browser.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,IAAI,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/browser.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAQlD,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAEtF,qBAAa,cAAc;IAC1B,OAAO,CAAC,WAAW,CAAa;IAChC,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,cAAc,CAA4B;IAClD,OAAO,CAAC,yBAAyB,CAAkC;IACnE,OAAO,CAAC,iBAAiB,CAAoC;IAC7D,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,iBAAiB,CAAC,CAAoB;IAC9C,OAAO,CAAC,oBAAoB,CAAM;;IAY3B,OAAO,IAAI,IAAI;IAYf,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAIrD,qBAAqB,IAAI,MAAM;IAI/B,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAIlD,mBAAmB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAInD,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAIhD,eAAe,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAIjD,iBAAiB,IAAI,WAAW;IAkBhC,0BAA0B,CAAC,KAAK,GAAE,MAAyB,GAAG,iBAAiB;IAU/E,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIxC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIxC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,iBAAiB;IAOnD,OAAO,CAAC,OAAO;IAOf,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,QAAQ;IAUhB,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,QAAQ;IAahB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,QAAQ,CAwBd;CACF"}