@schukai/monster 1.28.0 → 1.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/CHANGELOG +21 -0
  2. package/README.md +4 -4
  3. package/dist/modules/constants.js +1 -1
  4. package/dist/modules/constraints/abstract.js +1 -1
  5. package/dist/modules/constraints/abstractoperator.js +1 -1
  6. package/dist/modules/constraints/andoperator.js +1 -1
  7. package/dist/modules/constraints/invalid.js +1 -1
  8. package/dist/modules/constraints/isarray.js +1 -1
  9. package/dist/modules/constraints/isobject.js +1 -1
  10. package/dist/modules/constraints/namespace.js +1 -1
  11. package/dist/modules/constraints/oroperator.js +1 -1
  12. package/dist/modules/constraints/valid.js +1 -1
  13. package/dist/modules/data/buildmap.js +2 -2
  14. package/dist/modules/data/buildtree.js +1 -1
  15. package/dist/modules/data/datasource/namespace.js +1 -1
  16. package/dist/modules/data/datasource/restapi/writeerror.js +1 -1
  17. package/dist/modules/data/datasource/restapi.js +1 -1
  18. package/dist/modules/data/datasource/storage/localstorage.js +1 -1
  19. package/dist/modules/data/datasource/storage/namespace.js +1 -1
  20. package/dist/modules/data/datasource/storage/sessionstorage.js +1 -1
  21. package/dist/modules/data/datasource/storage.js +1 -1
  22. package/dist/modules/data/datasource.js +1 -1
  23. package/dist/modules/data/diff.js +1 -1
  24. package/dist/modules/data/extend.js +1 -1
  25. package/dist/modules/data/namespace.js +1 -1
  26. package/dist/modules/data/pathfinder.js +1 -1
  27. package/dist/modules/data/pipe.js +1 -1
  28. package/dist/modules/data/transformer.js +1 -1
  29. package/dist/modules/dom/assembler.js +1 -1
  30. package/dist/modules/dom/attributes.js +1 -1
  31. package/dist/modules/dom/constants.js +1 -1
  32. package/dist/modules/dom/customcontrol.js +1 -1
  33. package/dist/modules/dom/customelement.js +2 -2
  34. package/dist/modules/dom/events.js +2 -2
  35. package/dist/modules/dom/focusmanager.js +1 -1
  36. package/dist/modules/dom/locale.js +1 -1
  37. package/dist/modules/dom/namespace.js +1 -1
  38. package/dist/modules/dom/resource/data.js +1 -1
  39. package/dist/modules/dom/resource/link/stylesheet.js +1 -1
  40. package/dist/modules/dom/resource/link.js +1 -1
  41. package/dist/modules/dom/resource/script.js +1 -1
  42. package/dist/modules/dom/resource.js +1 -1
  43. package/dist/modules/dom/resourcemanager.js +1 -1
  44. package/dist/modules/dom/template.js +1 -1
  45. package/dist/modules/dom/theme.js +1 -1
  46. package/dist/modules/dom/updater.js +2 -2
  47. package/dist/modules/dom/util.js +1 -1
  48. package/dist/modules/dom/worker/factory.js +1 -1
  49. package/dist/modules/i18n/formatter.js +1 -1
  50. package/dist/modules/i18n/locale.js +1 -1
  51. package/dist/modules/i18n/namespace.js +1 -1
  52. package/dist/modules/i18n/provider.js +1 -1
  53. package/dist/modules/i18n/providers/fetch.js +1 -1
  54. package/dist/modules/i18n/providers/namespace.js +1 -1
  55. package/dist/modules/i18n/translations.js +1 -1
  56. package/dist/modules/logging/handler/console.js +1 -1
  57. package/dist/modules/logging/handler/namespace.js +1 -1
  58. package/dist/modules/logging/handler.js +1 -1
  59. package/dist/modules/logging/logentry.js +1 -1
  60. package/dist/modules/logging/logger.js +1 -1
  61. package/dist/modules/logging/namespace.js +1 -1
  62. package/dist/modules/math/namespace.js +1 -1
  63. package/dist/modules/math/random.js +1 -1
  64. package/dist/modules/monster.js +1 -1
  65. package/dist/modules/namespace.js +1 -1
  66. package/dist/modules/text/formatter.js +1 -1
  67. package/dist/modules/text/namespace.js +1 -1
  68. package/dist/modules/types/base.js +1 -1
  69. package/dist/modules/types/basewithoptions.js +1 -1
  70. package/dist/modules/types/binary.js +1 -1
  71. package/dist/modules/types/dataurl.js +1 -1
  72. package/dist/modules/types/global.js +1 -1
  73. package/dist/modules/types/id.js +1 -1
  74. package/dist/modules/types/is.js +1 -1
  75. package/dist/modules/types/mediatype.js +1 -1
  76. package/dist/modules/types/namespace.js +1 -1
  77. package/dist/modules/types/node.js +1 -1
  78. package/dist/modules/types/nodelist.js +1 -1
  79. package/dist/modules/types/noderecursiveiterator.js +1 -1
  80. package/dist/modules/types/observer.js +1 -1
  81. package/dist/modules/types/observerlist.js +1 -1
  82. package/dist/modules/types/proxyobserver.js +1 -1
  83. package/dist/modules/types/queue.js +1 -1
  84. package/dist/modules/types/randomid.js +1 -1
  85. package/dist/modules/types/regex.js +1 -1
  86. package/dist/modules/types/stack.js +1 -1
  87. package/dist/modules/types/tokenlist.js +1 -1
  88. package/dist/modules/types/typeof.js +1 -1
  89. package/dist/modules/types/uniquequeue.js +1 -1
  90. package/dist/modules/types/uuid.js +1 -1
  91. package/dist/modules/types/validate.js +1 -1
  92. package/dist/modules/types/version.js +2 -2
  93. package/dist/modules/util/clone.js +1 -1
  94. package/dist/modules/util/comparator.js +1 -1
  95. package/dist/modules/util/deadmansswitch.js +2 -0
  96. package/dist/modules/util/freeze.js +1 -1
  97. package/dist/modules/util/namespace.js +1 -1
  98. package/dist/modules/util/processing.js +1 -1
  99. package/dist/modules/util/trimspaces.js +1 -1
  100. package/dist/monster.dev.js +497 -314
  101. package/dist/monster.dev.js.map +1 -1
  102. package/dist/monster.js +2 -2
  103. package/package.json +1 -1
  104. package/source/constraints/andoperator.js +5 -5
  105. package/source/constraints/invalid.js +3 -3
  106. package/source/constraints/isarray.js +3 -3
  107. package/source/constraints/isobject.js +3 -3
  108. package/source/constraints/oroperator.js +5 -5
  109. package/source/constraints/valid.js +3 -3
  110. package/source/data/buildmap.js +6 -5
  111. package/source/data/buildtree.js +2 -2
  112. package/source/data/datasource/restapi.js +3 -3
  113. package/source/data/datasource/storage/localstorage.js +2 -2
  114. package/source/data/datasource/storage/sessionstorage.js +2 -2
  115. package/source/data/datasource/storage.js +3 -3
  116. package/source/data/datasource.js +3 -3
  117. package/source/data/diff.js +3 -3
  118. package/source/data/extend.js +2 -2
  119. package/source/data/pathfinder.js +4 -4
  120. package/source/data/pipe.js +3 -3
  121. package/source/data/transformer.js +3 -3
  122. package/source/dom/assembler.js +2 -2
  123. package/source/dom/attributes.js +27 -27
  124. package/source/dom/customcontrol.js +1 -1
  125. package/source/dom/customelement.js +44 -18
  126. package/source/dom/events.js +66 -9
  127. package/source/dom/focusmanager.js +2 -2
  128. package/source/dom/locale.js +2 -2
  129. package/source/dom/resource/data.js +2 -2
  130. package/source/dom/resource/link/stylesheet.js +2 -2
  131. package/source/dom/resource/link.js +2 -2
  132. package/source/dom/resource/script.js +2 -2
  133. package/source/dom/resource.js +2 -2
  134. package/source/dom/resourcemanager.js +2 -2
  135. package/source/dom/template.js +5 -5
  136. package/source/dom/theme.js +3 -3
  137. package/source/dom/updater.js +45 -14
  138. package/source/dom/util.js +6 -6
  139. package/source/dom/worker/factory.js +2 -2
  140. package/source/i18n/formatter.js +4 -4
  141. package/source/i18n/locale.js +4 -4
  142. package/source/i18n/provider.js +2 -2
  143. package/source/i18n/providers/fetch.js +3 -3
  144. package/source/i18n/translations.js +4 -4
  145. package/source/logging/handler/console.js +2 -2
  146. package/source/logging/handler.js +2 -2
  147. package/source/logging/logentry.js +2 -2
  148. package/source/logging/logger.js +2 -2
  149. package/source/math/random.js +2 -2
  150. package/source/namespace.js +1 -1
  151. package/source/text/formatter.js +3 -3
  152. package/source/types/base.js +2 -2
  153. package/source/types/basewithoptions.js +32 -6
  154. package/source/types/binary.js +4 -4
  155. package/source/types/dataurl.js +4 -4
  156. package/source/types/global.js +4 -4
  157. package/source/types/id.js +2 -2
  158. package/source/types/is.js +20 -20
  159. package/source/types/mediatype.js +4 -4
  160. package/source/types/node.js +2 -2
  161. package/source/types/nodelist.js +2 -2
  162. package/source/types/noderecursiveiterator.js +4 -4
  163. package/source/types/observer.js +5 -13
  164. package/source/types/observerlist.js +2 -2
  165. package/source/types/proxyobserver.js +5 -5
  166. package/source/types/queue.js +3 -3
  167. package/source/types/randomid.js +2 -2
  168. package/source/types/regex.js +2 -2
  169. package/source/types/stack.js +2 -2
  170. package/source/types/tokenlist.js +2 -2
  171. package/source/types/typeof.js +3 -3
  172. package/source/types/uniquequeue.js +2 -2
  173. package/source/types/uuid.js +2 -2
  174. package/source/types/validate.js +20 -20
  175. package/source/types/version.js +6 -6
  176. package/source/util/clone.js +2 -2
  177. package/source/util/comparator.js +3 -3
  178. package/source/util/deadmansswitch.js +124 -0
  179. package/source/util/freeze.js +2 -2
  180. package/source/util/processing.js +3 -3
  181. package/source/util/trimspaces.js +2 -2
  182. package/test/cases/dom/customelement.js +55 -3
  183. package/test/cases/dom/events.js +66 -1
  184. package/test/cases/dom/updater.js +76 -3
  185. package/test/cases/math/random.js +3 -0
  186. package/test/cases/monster.js +1 -1
  187. package/test/cases/util/deadmansswitch.js +71 -0
  188. package/test/web/import.js +1 -0
  189. package/test/web/monster-dev.html +3 -3
  190. package/test/web/monster.html +2 -2
  191. package/test/web/test.html +4 -3
  192. package/test/web/tests.js +2 -2
@@ -1,4 +1,4 @@
1
- /** Monster 1.28.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
1
+ /** Monster 1.29.2, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -140,7 +140,7 @@ var Monster = new Namespace("Monster");
140
140
  *
141
141
  * ```
142
142
  * <script type="module">
143
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
143
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
144
144
  * function hello() {
145
145
  * console.log('Hello World!');
146
146
  * }
@@ -387,7 +387,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
387
387
  *
388
388
  * ```
389
389
  * <script type="module">
390
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
390
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
391
391
  * new Monster.Types.Base()
392
392
  * </script>
393
393
  * ```
@@ -396,7 +396,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
396
396
  *
397
397
  * ```
398
398
  * <script type="module">
399
- * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/base.js';
399
+ * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/base.js';
400
400
  * new Base()
401
401
  * </script>
402
402
  * ```
@@ -568,7 +568,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
568
568
  *
569
569
  * ```
570
570
  * <script type="module">
571
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
571
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
572
572
  * new Monster.Constraint.AndOperator();
573
573
  * </script>
574
574
  * ```
@@ -577,16 +577,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
577
577
  *
578
578
  * ```
579
579
  * <script type="module">
580
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/andoperator.js';
580
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/andoperator.js';
581
581
  * new AndOperator();
582
582
  * </script>
583
583
  * ```
584
584
  *
585
585
  * @example
586
586
  *
587
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/valid.js';
588
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/invalid.js';
589
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/andoperator.js';
587
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
588
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
589
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/andoperator.js';
590
590
  *
591
591
  * new AndOperator(
592
592
  * new Valid(), new Valid()).isValid()
@@ -688,7 +688,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
688
688
  *
689
689
  * ```
690
690
  * <script type="module">
691
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
691
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
692
692
  * new Monster.Constraint.Invalid();
693
693
  * </script>
694
694
  * ```
@@ -697,14 +697,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
697
697
  *
698
698
  * ```
699
699
  * <script type="module">
700
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/invalid.js';
700
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
701
701
  * new Invalid();
702
702
  * </script>
703
703
  * ```
704
704
  *
705
705
  * @example
706
706
  *
707
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/invalid.js';
707
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
708
708
  *
709
709
  * new Invalid().isValid()
710
710
  * .then(()=>console.log(true))
@@ -799,7 +799,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
799
799
  *
800
800
  * ```
801
801
  * <script type="module">
802
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
802
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
803
803
  * new Monster.Constraint.IsArray()
804
804
  * </script>
805
805
  * ```
@@ -808,14 +808,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
808
808
  *
809
809
  * ```
810
810
  * <script type="module">
811
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/isarray.js';
811
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/isarray.js';
812
812
  * console.log(new IsArray())
813
813
  * </script>
814
814
  * ```
815
815
  *
816
816
  * @example
817
817
  *
818
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/isarray.js';
818
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/isarray.js';
819
819
  *
820
820
  * new IsArray()
821
821
  * .isValid([])
@@ -904,7 +904,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
904
904
  *
905
905
  * ```
906
906
  * <script type="module">
907
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
907
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
908
908
  * Monster.Types.isIterable(null) // ↦ false
909
909
  * Monster.Types.isIterable('hello') // ↦ true
910
910
  * Monster.Types.isIterable([]) // ↦ true
@@ -915,7 +915,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
915
915
  *
916
916
  * ```
917
917
  * <script type="module">
918
- * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
918
+ * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
919
919
  * isIterable(null) // ↦ false
920
920
  * isIterable('hello') // ↦ true
921
921
  * isIterable([]) // ↦ true
@@ -943,7 +943,7 @@ function isIterable(value) {
943
943
  *
944
944
  * ```
945
945
  * <script type="module">
946
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
946
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
947
947
  * Monster.Types.isPrimitive('2') // ↦ false
948
948
  * Monster.Types.isPrimitive([]) // ↦ true
949
949
  * </script>
@@ -953,7 +953,7 @@ function isIterable(value) {
953
953
  *
954
954
  * ```
955
955
  * <script type="module">
956
- * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
956
+ * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
957
957
  * isPrimitive('2')) // ↦ true
958
958
  * isPrimitive([])) // ↦ false
959
959
  * </script>
@@ -991,7 +991,7 @@ function isPrimitive(value) {
991
991
  *
992
992
  * ```
993
993
  * <script type="module">
994
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
994
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
995
995
  * Monster.Types.isSymbol('2') // ↦ false
996
996
  * Monster.Types.isSymbol(Symbol('test') // ↦ true
997
997
  * </script>
@@ -1001,7 +1001,7 @@ function isPrimitive(value) {
1001
1001
  *
1002
1002
  * ```
1003
1003
  * <script type="module">
1004
- * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1004
+ * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1005
1005
  * isSymbol(Symbol('a'))) // ↦ true
1006
1006
  * isSymbol([]) // ↦ false
1007
1007
  * </script>
@@ -1027,7 +1027,7 @@ function isSymbol(value) {
1027
1027
  *
1028
1028
  * ```
1029
1029
  * <script type="module">
1030
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1030
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1031
1031
  * Monster.Types.isBoolean('2') // ↦ false
1032
1032
  * Monster.Types.isBoolean([]) // ↦ false
1033
1033
  * Monster.Types.isBoolean(true) // ↦ true
@@ -1038,7 +1038,7 @@ function isSymbol(value) {
1038
1038
  *
1039
1039
  * ```
1040
1040
  * <script type="module">
1041
- * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1041
+ * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1042
1042
  * isBoolean('2')) // ↦ false
1043
1043
  * isBoolean([])) // ↦ false
1044
1044
  * isBoolean(2>4)) // ↦ true
@@ -1069,7 +1069,7 @@ function isBoolean(value) {
1069
1069
  *
1070
1070
  * ```
1071
1071
  * <script type="module">
1072
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1072
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1073
1073
  * Monster.Types.isString('2') // ↦ true
1074
1074
  * Monster.Types.isString([]) // ↦ false
1075
1075
  * </script>
@@ -1079,7 +1079,7 @@ function isBoolean(value) {
1079
1079
  *
1080
1080
  * ```
1081
1081
  * <script type="module">
1082
- * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1082
+ * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1083
1083
  * isString('2')) // ↦ true
1084
1084
  * isString([])) // ↦ false
1085
1085
  * </script>
@@ -1109,7 +1109,7 @@ function isString(value) {
1109
1109
  *
1110
1110
  * ```
1111
1111
  * <script type="module">
1112
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1112
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1113
1113
  * Monster.Types.isObject('2') // ↦ false
1114
1114
  * Monster.Types.isObject([]) // ↦ false
1115
1115
  * Monster.Types.isObject({}) // ↦ true
@@ -1120,7 +1120,7 @@ function isString(value) {
1120
1120
  *
1121
1121
  * ```
1122
1122
  * <script type="module">
1123
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1123
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1124
1124
  * isObject('2')) // ↦ false
1125
1125
  * isObject([])) // ↦ false
1126
1126
  * </script>
@@ -1153,7 +1153,7 @@ function isObject(value) {
1153
1153
  *
1154
1154
  * ```
1155
1155
  * <script type="module">
1156
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1156
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1157
1157
  * Monster.Types.isInstance('2') // ↦ false
1158
1158
  * Monster.Types.isInstance([]) // ↦ false
1159
1159
  * Monster.Types.isInstance({}) // ↦ true
@@ -1164,7 +1164,7 @@ function isObject(value) {
1164
1164
  *
1165
1165
  * ```
1166
1166
  * <script type="module">
1167
- * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1167
+ * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1168
1168
  * isInstance('2')) // ↦ false
1169
1169
  * isInstance([])) // ↦ false
1170
1170
  * </script>
@@ -1194,7 +1194,7 @@ function isInstance(value, instance) {
1194
1194
  *
1195
1195
  * ```
1196
1196
  * <script type="module">
1197
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1197
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1198
1198
  * Monster.Types.isArray('2') // ↦ false
1199
1199
  * Monster.Types.isArray([]) // ↦ true
1200
1200
  * </script>
@@ -1204,7 +1204,7 @@ function isInstance(value, instance) {
1204
1204
  *
1205
1205
  * ```
1206
1206
  * <script type="module">
1207
- * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1207
+ * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1208
1208
  * isArray('2')) // ↦ false
1209
1209
  * isArray([])) // ↦ true
1210
1210
  * </script>
@@ -1231,7 +1231,7 @@ function isArray(value) {
1231
1231
  *
1232
1232
  * ```
1233
1233
  * <script type="module">
1234
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1235
1235
  * Monster.Types.isFunction(()=>{}) // ↦ true
1236
1236
  * Monster.Types.isFunction('2') // ↦ false
1237
1237
  * Monster.Types.isFunction([]) // ↦ false
@@ -1242,7 +1242,7 @@ function isArray(value) {
1242
1242
  *
1243
1243
  * ```
1244
1244
  * <script type="module">
1245
- * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1245
+ * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1246
1246
  * isFunction(()=>{}) // ↦ true
1247
1247
  * isFunction('2')) // ↦ false
1248
1248
  * isFunction([])) // ↦ false
@@ -1276,7 +1276,7 @@ function isFunction(value) {
1276
1276
  *
1277
1277
  * ```
1278
1278
  * <script type="module">
1279
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1279
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1280
1280
  * Monster.Types.isInteger(()=>{}) // ↦ true
1281
1281
  * Monster.Types.isInteger('2') // ↦ false
1282
1282
  * Monster.Types.isInteger(2) // ↦ true
@@ -1287,7 +1287,7 @@ function isFunction(value) {
1287
1287
  *
1288
1288
  * ```
1289
1289
  * <script type="module">
1290
- * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
1290
+ * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
1291
1291
  * isInteger(()=>{}) // ↦ true
1292
1292
  * isInteger('2')) // ↦ false
1293
1293
  * isInteger(2)) // ↦ true
@@ -1360,7 +1360,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1360
1360
  *
1361
1361
  * ```
1362
1362
  * <script type="module">
1363
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1363
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1364
1364
  * console.log(new Monster.Constraint.IsObject())
1365
1365
  * </script>
1366
1366
  * ```
@@ -1369,14 +1369,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1369
1369
  *
1370
1370
  * ```
1371
1371
  * <script type="module">
1372
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/isobject.js';
1372
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/isobject.js';
1373
1373
  * console.log(new IsObject())
1374
1374
  * </script>
1375
1375
  * ```
1376
1376
  *
1377
1377
  * @example
1378
1378
  *
1379
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/isobject.js';
1379
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/isobject.js';
1380
1380
  *
1381
1381
  * new IsObject()
1382
1382
  * .isValid({})
@@ -1479,7 +1479,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1479
1479
  *
1480
1480
  * ```
1481
1481
  * <script type="module">
1482
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1482
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1483
1483
  * new Monster.Constraint.OrOperator();
1484
1484
  * </script>
1485
1485
  * ```
@@ -1488,16 +1488,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1488
1488
  *
1489
1489
  * ```
1490
1490
  * <script type="module">
1491
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraint/oroperator.js';
1491
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraint/oroperator.js';
1492
1492
  * new OrOperator();
1493
1493
  * </script>
1494
1494
  * ```
1495
1495
  *
1496
1496
  * @example
1497
1497
  *
1498
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/valid.js';
1499
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/invalid.js';
1500
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/oroperator.js';
1498
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
1499
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/invalid.js';
1500
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/oroperator.js';
1501
1501
  *
1502
1502
  * new OrOperator(
1503
1503
  * new Valid(), new Invalid()).isValid()
@@ -1622,7 +1622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1622
1622
  *
1623
1623
  * ```
1624
1624
  * <script type="module">
1625
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1625
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1626
1626
  * new Monster.Constraint.Valid();
1627
1627
  * </script>
1628
1628
  * ```
@@ -1631,14 +1631,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1631
1631
  *
1632
1632
  * ```
1633
1633
  * <script type="module">
1634
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/valid.js';
1634
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
1635
1635
  * new Valid();
1636
1636
  * </script>
1637
1637
  * ```
1638
1638
  *
1639
1639
  * @example
1640
1640
  *
1641
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/constraints/valid.js';
1641
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/constraints/valid.js';
1642
1642
  *
1643
1643
  * new Valid().isValid()
1644
1644
  * .then(()=>console.log(true))
@@ -1747,7 +1747,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1747
1747
  *
1748
1748
  * ```
1749
1749
  * <script type="module">
1750
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
1750
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
1751
1751
  * console.log(Monster.Data.buildMap())
1752
1752
  * </script>
1753
1753
  * ```
@@ -1756,7 +1756,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1756
1756
  *
1757
1757
  * ```
1758
1758
  * <script type="module">
1759
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/buildmap.js';
1759
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/buildmap.js';
1760
1760
  * console.log(buildMap())
1761
1761
  * </script>
1762
1762
  * ```
@@ -1767,7 +1767,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1767
1767
  *
1768
1768
  * @example
1769
1769
  *
1770
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/buildmap.js';
1770
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/buildmap.js';
1771
1771
  * // a typical data structure as reported by an api
1772
1772
  *
1773
1773
  * let map;
@@ -1860,6 +1860,7 @@ function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1860
1860
  * @param {Monster.Data~exampleFilterCallback} [filter]
1861
1861
  * @param {function} callback
1862
1862
  * @return {Map}
1863
+ * @throws {TypeError} selector is neither a string nor a function
1863
1864
  */
1864
1865
 
1865
1866
 
@@ -1877,7 +1878,7 @@ function assembleParts(subject, selector, filter, callback) {
1877
1878
  map = new Map();
1878
1879
  buildFlatMap.call(map, subject, selector);
1879
1880
  } else {
1880
- throw new TypeError('value is neither a string nor a function');
1881
+ throw new TypeError('selector is neither a string nor a function');
1881
1882
  }
1882
1883
 
1883
1884
  if (!(map instanceof Map)) {
@@ -1997,7 +1998,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
1997
1998
  * Alternatively to a string selector a callback can be specified. this must return a map.
1998
1999
  *
1999
2000
  * @example
2000
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/buildmap.js';
2001
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/buildmap.js';
2001
2002
  *
2002
2003
  * let obj = {
2003
2004
  * "data": [
@@ -2200,7 +2201,7 @@ __webpack_require__.r(__webpack_exports__);
2200
2201
  *
2201
2202
  * ```
2202
2203
  * <script type="module">
2203
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2204
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2204
2205
  * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
2205
2206
  * console.log(Monster.Types.validateIterable([])) // ↦ value
2206
2207
  * </script>
@@ -2210,7 +2211,7 @@ __webpack_require__.r(__webpack_exports__);
2210
2211
  *
2211
2212
  * ```
2212
2213
  * <script type="module">
2213
- * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2214
+ * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2214
2215
  * console.log(validateIterable('2')) // ↦ TypeError
2215
2216
  * console.log(validateIterable([])) // ↦ value
2216
2217
  * </script>
@@ -2241,7 +2242,7 @@ function validateIterable(value) {
2241
2242
  *
2242
2243
  * ```
2243
2244
  * <script type="module">
2244
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2245
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2245
2246
  * console.log(Monster.Types.validatePrimitive('2')) // ↦ value
2246
2247
  * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
2247
2248
  * </script>
@@ -2251,7 +2252,7 @@ function validateIterable(value) {
2251
2252
  *
2252
2253
  * ```
2253
2254
  * <script type="module">
2254
- * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2255
+ * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2255
2256
  * console.log(validatePrimitive('2')) // ↦ value
2256
2257
  * console.log(validatePrimitive([])) // ↦ TypeError
2257
2258
  * </script>
@@ -2283,7 +2284,7 @@ function validatePrimitive(value) {
2283
2284
  *
2284
2285
  * ```
2285
2286
  * <script type="module">
2286
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2287
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2287
2288
  * console.log(Monster.Types.validateBoolean(true)) // ↦ value
2288
2289
  * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
2289
2290
  * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
@@ -2294,7 +2295,7 @@ function validatePrimitive(value) {
2294
2295
  *
2295
2296
  * ```
2296
2297
  * <script type="module">
2297
- * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2298
+ * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2298
2299
  * console.log(validateBoolean(false)) // ↦ value
2299
2300
  * console.log(validateBoolean('2')) // ↦ TypeError
2300
2301
  * console.log(validateBoolean([])) // ↦ TypeError
@@ -2325,7 +2326,7 @@ function validateBoolean(value) {
2325
2326
  *
2326
2327
  * ```
2327
2328
  * <script type="module">
2328
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2329
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2329
2330
  * console.log(Monster.Types.validateString('2')) // ↦ value
2330
2331
  * console.log(Monster.Types.validateString([])) // ↦ TypeError
2331
2332
  * </script>
@@ -2335,7 +2336,7 @@ function validateBoolean(value) {
2335
2336
  *
2336
2337
  * ```
2337
2338
  * <script type="module">
2338
- * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2339
+ * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2339
2340
  * console.log(validateString('2')) // ↦ value
2340
2341
  * console.log(validateString([])) // ↦ TypeError
2341
2342
  * </script>
@@ -2364,7 +2365,7 @@ function validateString(value) {
2364
2365
  *
2365
2366
  * ```
2366
2367
  * <script type="module">
2367
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2368
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2368
2369
  * console.log(Monster.Types.validateObject({})) // ↦ value
2369
2370
  * console.log(Monster.Types.validateObject('2')) // ↦ TypeError
2370
2371
  * console.log(Monster.Types.validateObject([])) // ↦ TypeError
@@ -2375,7 +2376,7 @@ function validateString(value) {
2375
2376
  *
2376
2377
  * ```
2377
2378
  * <script type="module">
2378
- * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2379
+ * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2379
2380
  * console.log(validateObject({})) // ↦ value
2380
2381
  * console.log(validateObject('2')) // ↦ TypeError
2381
2382
  * console.log(validateObject([])) // ↦ TypeError
@@ -2405,7 +2406,7 @@ function validateObject(value) {
2405
2406
  *
2406
2407
  * ```
2407
2408
  * <script type="module">
2408
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2409
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2409
2410
  * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
2410
2411
  * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
2411
2412
  * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
@@ -2416,7 +2417,7 @@ function validateObject(value) {
2416
2417
  *
2417
2418
  * ```
2418
2419
  * <script type="module">
2419
- * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2420
+ * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2420
2421
  * console.log(validateInstance({}, Object)) // ↦ value
2421
2422
  * console.log(validateInstance('2', Object)) // ↦ TypeError
2422
2423
  * console.log(validateInstance([], Object)) // ↦ TypeError
@@ -2456,7 +2457,7 @@ function validateInstance(value, instance) {
2456
2457
  *
2457
2458
  * ```
2458
2459
  * <script type="module">
2459
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2460
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2460
2461
  * console.log(Monster.Types.validateArray('2')) // ↦ TypeError
2461
2462
  * console.log(Monster.Types.validateArray([])) // ↦ value
2462
2463
  * </script>
@@ -2466,7 +2467,7 @@ function validateInstance(value, instance) {
2466
2467
  *
2467
2468
  * ```
2468
2469
  * <script type="module">
2469
- * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2470
+ * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2470
2471
  * console.log(validateArray('2')) // ↦ TypeError
2471
2472
  * console.log(validateArray([])) // ↦ value
2472
2473
  * </script>
@@ -2495,7 +2496,7 @@ function validateArray(value) {
2495
2496
  *
2496
2497
  * ```
2497
2498
  * <script type="module">
2498
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2499
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2499
2500
  * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
2500
2501
  * console.log(Monster.Types.validateSymbol([])) // ↦ value
2501
2502
  * </script>
@@ -2505,7 +2506,7 @@ function validateArray(value) {
2505
2506
  *
2506
2507
  * ```
2507
2508
  * <script type="module">
2508
- * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2509
+ * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2509
2510
  * console.log(validateSymbol('2')) // ↦ TypeError
2510
2511
  * console.log(validateSymbol()) // ↦ value
2511
2512
  * </script>
@@ -2534,7 +2535,7 @@ function validateSymbol(value) {
2534
2535
  *
2535
2536
  * ```
2536
2537
  * <script type="module">
2537
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2538
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2538
2539
  * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
2539
2540
  * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
2540
2541
  * console.log(Monster.Types.validateFunction([])) // ↦ TypeError
@@ -2545,7 +2546,7 @@ function validateSymbol(value) {
2545
2546
  *
2546
2547
  * ```
2547
2548
  * <script type="module">
2548
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2549
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2549
2550
  * console.log(validateFunction(()=>{})) // ↦ value
2550
2551
  * console.log(validateFunction('2')) // ↦ TypeError
2551
2552
  * console.log(validateFunction([])) // ↦ TypeError
@@ -2575,7 +2576,7 @@ function validateFunction(value) {
2575
2576
  *
2576
2577
  * ```
2577
2578
  * <script type="module">
2578
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2579
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2579
2580
  * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
2580
2581
  * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
2581
2582
  * console.log(Monster.Types.validateInteger(2)) // ↦ value
@@ -2586,7 +2587,7 @@ function validateFunction(value) {
2586
2587
  *
2587
2588
  * ```
2588
2589
  * <script type="module">
2589
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/validate.js';
2590
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/validate.js';
2590
2591
  * console.log(validateInteger(true)) // ↦ TypeError
2591
2592
  * console.log(validateInteger('2')) // ↦ TypeError
2592
2593
  * console.log(validateInteger(2)) // ↦ value
@@ -2652,7 +2653,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2652
2653
  *
2653
2654
  * ```
2654
2655
  * <script type="module">
2655
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2656
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2656
2657
  * Monster.Util.clone({})
2657
2658
  * </script>
2658
2659
  * ```
@@ -2661,7 +2662,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2661
2662
  *
2662
2663
  * ```
2663
2664
  * <script type="module">
2664
- * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/util/clone.js';
2665
+ * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/clone.js';
2665
2666
  * clone({})
2666
2667
  * </script>
2667
2668
  * ```
@@ -2873,7 +2874,7 @@ function getGlobal() {
2873
2874
  *
2874
2875
  * ```
2875
2876
  * <script type="module">
2876
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2877
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2877
2878
  * Monster.Types.getGlobalObject('document')
2878
2879
  * // ↦ { }
2879
2880
  * </script>
@@ -2883,7 +2884,7 @@ function getGlobal() {
2883
2884
  *
2884
2885
  * ```
2885
2886
  * <script type="module">
2886
- * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/global.js';
2887
+ * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/global.js';
2887
2888
  * getGlobalObject('document')
2888
2889
  * // ↦ { }
2889
2890
  * </script>
@@ -2915,7 +2916,7 @@ function getGlobalObject(name) {
2915
2916
  *
2916
2917
  * ```
2917
2918
  * <script type="module">
2918
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2919
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2919
2920
  * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2920
2921
  * </script>
2921
2922
  * ```
@@ -2924,7 +2925,7 @@ function getGlobalObject(name) {
2924
2925
  *
2925
2926
  * ```
2926
2927
  * <script type="module">
2927
- * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/global.js';
2928
+ * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/global.js';
2928
2929
  * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2929
2930
  * </script>
2930
2931
  * ```
@@ -2975,7 +2976,7 @@ __webpack_require__.r(__webpack_exports__);
2975
2976
  *
2976
2977
  * ```
2977
2978
  * <script type="module">
2978
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
2979
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
2979
2980
  * console.log(Monster.Types.typeOf())
2980
2981
  * </script>
2981
2982
  * ```
@@ -2984,14 +2985,14 @@ __webpack_require__.r(__webpack_exports__);
2984
2985
  *
2985
2986
  * ```
2986
2987
  * <script type="module">
2987
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/typeof.js';
2988
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/typeof.js';
2988
2989
  * console.log(typeOf())
2989
2990
  * </script>
2990
2991
  * ```
2991
2992
  *
2992
2993
  * @example
2993
2994
  *
2994
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/typeof.js';
2995
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/typeof.js';
2995
2996
  *
2996
2997
  * console.log(typeOf(undefined)); // ↦ undefined
2997
2998
  * console.log(typeOf("")); // ↦ string
@@ -3110,7 +3111,7 @@ var WILDCARD = '*';
3110
3111
  *
3111
3112
  * ```
3112
3113
  * <script type="module">
3113
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
3114
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
3114
3115
  * console.log(new Monster.Data.Pathfinder())
3115
3116
  * </script>
3116
3117
  * ```
@@ -3119,7 +3120,7 @@ var WILDCARD = '*';
3119
3120
  *
3120
3121
  * ```
3121
3122
  * <script type="module">
3122
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/pathfinder.js';
3123
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
3123
3124
  * console.log(new Pathfinder())
3124
3125
  * </script>
3125
3126
  * ```
@@ -3161,7 +3162,7 @@ var WILDCARD = '*';
3161
3162
  *
3162
3163
  * @example
3163
3164
  *
3164
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/pathfinder.js';
3165
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
3165
3166
  *
3166
3167
  * let value = new Pathfinder({
3167
3168
  * a: {
@@ -3187,7 +3188,7 @@ var WILDCARD = '*';
3187
3188
  *
3188
3189
  * @example
3189
3190
  *
3190
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/pathfinder.js';
3191
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pathfinder.js';
3191
3192
  *
3192
3193
  * let p = new Pathfinder({
3193
3194
  * a: {
@@ -3602,7 +3603,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3602
3603
  *
3603
3604
  * ```
3604
3605
  * <script type="module">
3605
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
3606
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
3606
3607
  * console.log(new Monster.Types.Stack())
3607
3608
  * </script>
3608
3609
  * ```
@@ -3611,7 +3612,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3611
3612
  *
3612
3613
  * ```
3613
3614
  * <script type="module">
3614
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/stack.js';
3615
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/stack.js';
3615
3616
  * console.log(new Stack())
3616
3617
  * </script>
3617
3618
  * ```
@@ -3746,7 +3747,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3746
3747
  *
3747
3748
  * ```
3748
3749
  * <script type="module">
3749
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
3750
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
3750
3751
  * Monster.Data.Diff(a, b)
3751
3752
  * </script>
3752
3753
  * ```
@@ -3755,14 +3756,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3755
3756
  *
3756
3757
  * ```
3757
3758
  * <script type="module">
3758
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/diff.js';
3759
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/diff.js';
3759
3760
  * Diff(a, b)
3760
3761
  * </script>
3761
3762
  * ```
3762
3763
  *
3763
3764
  * @example
3764
3765
  *
3765
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/diff.js';
3766
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/diff.js';
3766
3767
  *
3767
3768
  * // given are two objects x and y.
3768
3769
  *
@@ -4008,7 +4009,7 @@ __webpack_require__.r(__webpack_exports__);
4008
4009
  *
4009
4010
  * ```
4010
4011
  * <script type="module">
4011
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
4012
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
4012
4013
  * Monster.Data.extend(a, b)
4013
4014
  * </script>
4014
4015
  * ```
@@ -4017,7 +4018,7 @@ __webpack_require__.r(__webpack_exports__);
4017
4018
  *
4018
4019
  * ```
4019
4020
  * <script type="module">
4020
- * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/extend.js';
4021
+ * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/extend.js';
4021
4022
  * extend(a, b)
4022
4023
  * </script>
4023
4024
  * ```
@@ -4146,7 +4147,7 @@ var DELIMITER = '|';
4146
4147
  *
4147
4148
  * ```
4148
4149
  * <script type="module">
4149
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
4150
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
4150
4151
  * new Monster.Data.Pipe()
4151
4152
  * </script>
4152
4153
  * ```
@@ -4155,7 +4156,7 @@ var DELIMITER = '|';
4155
4156
  *
4156
4157
  * ```
4157
4158
  * <script type="module">
4158
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/pipe.js';
4159
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pipe.js';
4159
4160
  * new Pipe()
4160
4161
  * </script>
4161
4162
  * ```
@@ -4166,7 +4167,7 @@ var DELIMITER = '|';
4166
4167
  * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
4167
4168
  *
4168
4169
  * @example
4169
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/pipe.js';
4170
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/pipe.js';
4170
4171
  *
4171
4172
  * let obj = {
4172
4173
  * a: {
@@ -4328,7 +4329,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4328
4329
  *
4329
4330
  * ```
4330
4331
  * <script type="module">
4331
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
4332
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
4332
4333
  * new Monster.Data.Transformer()
4333
4334
  * </script>
4334
4335
  * ```
@@ -4337,7 +4338,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4337
4338
  *
4338
4339
  * ```
4339
4340
  * <script type="module">
4340
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/transformer.js';
4341
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/transformer.js';
4341
4342
  * new Transformer()
4342
4343
  * </script>
4343
4344
  * ```
@@ -4423,7 +4424,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4423
4424
  *
4424
4425
  * @example
4425
4426
  *
4426
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/data/transformer.js';
4427
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/data/transformer.js';
4427
4428
  *
4428
4429
  * const transformer = new Transformer("tolower")
4429
4430
  *
@@ -4956,7 +4957,7 @@ var internalCounter = new Map();
4956
4957
  *
4957
4958
  * ```
4958
4959
  * <script type="module">
4959
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
4960
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
4960
4961
  * console.log(new Monster.Types.ID())
4961
4962
  * </script>
4962
4963
  * ```
@@ -4965,7 +4966,7 @@ var internalCounter = new Map();
4965
4966
  *
4966
4967
  * ```
4967
4968
  * <script type="module">
4968
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/id.js';
4969
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/id.js';
4969
4970
  * console.log(new ID())
4970
4971
  * </script>
4971
4972
  * ```
@@ -5088,7 +5089,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5088
5089
  *
5089
5090
  * ```
5090
5091
  * <script type="module">
5091
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
5092
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
5092
5093
  * console.log(new Monster.DOM.Assembler())
5093
5094
  * </script>
5094
5095
  * ```
@@ -5097,7 +5098,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5097
5098
  *
5098
5099
  * ```
5099
5100
  * <script type="module">
5100
- * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/assembler.js';
5101
+ * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/assembler.js';
5101
5102
  * console.log(new Assembler())
5102
5103
  * </script>
5103
5104
  * ```
@@ -5238,7 +5239,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5238
5239
  *
5239
5240
  * ```
5240
5241
  * <script type="module">
5241
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
5242
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
5242
5243
  * new Monster.Types.ProxyObserver()
5243
5244
  * </script>
5244
5245
  * ```
@@ -5247,7 +5248,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5247
5248
  *
5248
5249
  * ```
5249
5250
  * <script type="module">
5250
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/proxyobserver.js';
5251
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/proxyobserver.js';
5251
5252
  * new ProxyObserver()
5252
5253
  * </script>
5253
5254
  * ```
@@ -5258,9 +5259,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5258
5259
  *
5259
5260
  * @example
5260
5261
  *
5261
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/proxyobserver.js';
5262
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/observer.js';
5263
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/is.js';
5262
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/proxyobserver.js';
5263
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
5264
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/is.js';
5264
5265
  *
5265
5266
  * const o = new Observer(function () {
5266
5267
  * if (isObject(this) && this instanceof ProxyObserver) {
@@ -5585,26 +5586,21 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5585
5586
  * You can call the method via the monster namespace `new Monster.Types.Observer()`.
5586
5587
  *
5587
5588
  * ```
5588
- * <script type="module">
5589
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
5590
- * console.log(new Monster.Types.Observer())
5591
- * </script>
5589
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
5590
+ * new Monster.Types.Observer()
5592
5591
  * ```
5593
5592
  *
5594
5593
  * Alternatively, you can also integrate this function individually.
5595
5594
  *
5596
5595
  * ```
5597
- * <script type="module">
5598
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/observer.js';
5599
- * console.log(new Observer())
5600
- * </script>
5596
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
5597
+ * new Observer()
5601
5598
  * ```
5602
5599
  *
5603
5600
  * The update method is called with the subject object as this pointer. For this reason the callback should not
5604
5601
  * be an arrow function, because it gets the this pointer of its own context.
5605
5602
  *
5606
5603
  * ```
5607
- * <script>
5608
5604
  * new Observer(()=>{
5609
5605
  * // this is not subject
5610
5606
  * })
@@ -5612,24 +5608,21 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5612
5608
  * new Observer(function() {
5613
5609
  * // this is subject
5614
5610
  * })
5615
- * </script>
5616
5611
  * ```
5617
5612
  *
5618
5613
  * Additional arguments can be passed to the callback. To do this, simply specify them.
5619
5614
  *
5620
5615
  * ```
5621
- * <script>
5622
5616
  * Observer(function(a, b, c) {
5623
5617
  * console.log(a, b, c); // ↦ "a", 2, true
5624
5618
  * }, "a", 2, true)
5625
- * </script>
5626
5619
  * ```
5627
5620
  *
5628
5621
  * The callback function must have as many parameters as arguments are given.
5629
5622
  *
5630
5623
  * @example
5631
5624
  *
5632
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/observer.js';
5625
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observer.js';
5633
5626
  *
5634
5627
  * const observer = new Observer(function(a, b, c) {
5635
5628
  * console.log(this, a, b, c); // ↦ "a", 2, true
@@ -5829,7 +5822,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5829
5822
  *
5830
5823
  * ```
5831
5824
  * <script type="module">
5832
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
5825
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
5833
5826
  * new Monster.Types.TokenList("myclass row")
5834
5827
  * </script>
5835
5828
  * ```
@@ -5838,7 +5831,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5838
5831
  *
5839
5832
  * ```
5840
5833
  * <script type="module">
5841
- * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/tokenlist.js';
5834
+ * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/tokenlist.js';
5842
5835
  * new TokenList("myclass row")
5843
5836
  * </script>
5844
5837
  * ```
@@ -6261,7 +6254,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6261
6254
  *
6262
6255
  * ```
6263
6256
  * <script type="module">
6264
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6257
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6265
6258
  * new Monster.Types.UniqueQueue()
6266
6259
  * </script>
6267
6260
  * ```
@@ -6270,7 +6263,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6270
6263
  *
6271
6264
  * ```
6272
6265
  * <script type="module">
6273
- * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/uniquequeue.js';
6266
+ * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/uniquequeue.js';
6274
6267
  * new UniqueQueue()
6275
6268
  * </script>
6276
6269
  * ```
@@ -6405,7 +6398,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6405
6398
  *
6406
6399
  * ```
6407
6400
  * <script type="module">
6408
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6401
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6409
6402
  * new Monster.Types.Queue()
6410
6403
  * </script>
6411
6404
  * ```
@@ -6414,14 +6407,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6414
6407
  *
6415
6408
  * ```
6416
6409
  * <script type="module">
6417
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/queue.js';
6410
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/queue.js';
6418
6411
  * new Queue()
6419
6412
  * </script>
6420
6413
  * ```
6421
6414
  *
6422
6415
  * @example
6423
6416
  *
6424
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/queue.js';
6417
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/queue.js';
6425
6418
  *
6426
6419
  * const queue = new Queue;
6427
6420
  *
@@ -6590,7 +6583,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6590
6583
  *
6591
6584
  * ```
6592
6585
  * <script type="module">
6593
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6586
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6594
6587
  * console.log(new Monster.Types.ObserverList())
6595
6588
  * console.log(new Monster.Types.ObserverList())
6596
6589
  * </script>
@@ -6600,7 +6593,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6600
6593
  *
6601
6594
  * ```
6602
6595
  * <script type="module">
6603
- * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/observerlist.js';
6596
+ * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/observerlist.js';
6604
6597
  * console.log(ObserverList())
6605
6598
  * console.log(ObserverList())
6606
6599
  * </script>
@@ -6760,7 +6753,7 @@ __webpack_require__.r(__webpack_exports__);
6760
6753
  *
6761
6754
  * ```
6762
6755
  * <script type="module">
6763
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6756
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6764
6757
  * console.log(Monster.DOM.findClosestObjectLink())
6765
6758
  * </script>
6766
6759
  * ```
@@ -6769,7 +6762,7 @@ __webpack_require__.r(__webpack_exports__);
6769
6762
  *
6770
6763
  * ```
6771
6764
  * <script type="module">
6772
- * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/updater.js';
6765
+ * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
6773
6766
  * console.log(findClosestObjectLink())
6774
6767
  * </script>
6775
6768
  * ```
@@ -6790,7 +6783,7 @@ function findClosestObjectLink(element) {
6790
6783
  *
6791
6784
  * ```
6792
6785
  * <script type="module">
6793
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6786
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6794
6787
  * Monster.DOM.addToObjectLink();
6795
6788
  * </script>
6796
6789
  * ```
@@ -6799,7 +6792,7 @@ function findClosestObjectLink(element) {
6799
6792
  *
6800
6793
  * ```
6801
6794
  * <script type="module">
6802
- * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
6795
+ * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
6803
6796
  * addToObjectLink();
6804
6797
  * </script>
6805
6798
  * ```
@@ -6831,7 +6824,7 @@ function addToObjectLink(element, symbol, object) {
6831
6824
  *
6832
6825
  * ```
6833
6826
  * <script type="module">
6834
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6827
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6835
6828
  * Monster.DOM.removeObjectLink();
6836
6829
  * </script>
6837
6830
  * ```
@@ -6840,7 +6833,7 @@ function addToObjectLink(element, symbol, object) {
6840
6833
  *
6841
6834
  * ```
6842
6835
  * <script type="module">
6843
- * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
6836
+ * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
6844
6837
  * removeObjectLink();
6845
6838
  * </script>
6846
6839
  * ```
@@ -6871,7 +6864,7 @@ function removeObjectLink(element, symbol) {
6871
6864
  *
6872
6865
  * ```
6873
6866
  * <script type="module">
6874
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6867
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6875
6868
  * Monster.DOM.hasObjectLink();
6876
6869
  * </script>
6877
6870
  * ```
@@ -6880,7 +6873,7 @@ function removeObjectLink(element, symbol) {
6880
6873
  *
6881
6874
  * ```
6882
6875
  * <script type="module">
6883
- * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
6876
+ * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
6884
6877
  * hasObjectLink();
6885
6878
  * </script>
6886
6879
  * ```
@@ -6916,7 +6909,7 @@ function hasObjectLink(element, symbol) {
6916
6909
  *
6917
6910
  * ```
6918
6911
  * <script type="module">
6919
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6912
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6920
6913
  * Monster.DOM.getLinkedObjects();
6921
6914
  * </script>
6922
6915
  * ```
@@ -6925,7 +6918,7 @@ function hasObjectLink(element, symbol) {
6925
6918
  *
6926
6919
  * ```
6927
6920
  * <script type="module">
6928
- * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
6921
+ * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
6929
6922
  * getLinkedObjects();
6930
6923
  * </script>
6931
6924
  * ```
@@ -6959,7 +6952,7 @@ function getLinkedObjects(element, symbol) {
6959
6952
  *
6960
6953
  * ```
6961
6954
  * <script type="module">
6962
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6955
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
6963
6956
  * Monster.DOM.toggleAttributeToken();
6964
6957
  * </script>
6965
6958
  * ```
@@ -6968,7 +6961,7 @@ function getLinkedObjects(element, symbol) {
6968
6961
  *
6969
6962
  * ```
6970
6963
  * <script type="module">
6971
- * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
6964
+ * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
6972
6965
  * toggleAttributeToken();
6973
6966
  * </script>
6974
6967
  * ```
@@ -6997,13 +6990,13 @@ function toggleAttributeToken(element, key, token) {
6997
6990
  return element;
6998
6991
  }
6999
6992
  /**
7000
- * this method can be used to add a token to an attribute. Tokens are always separated by a space.
6993
+ * This method can be used to add a token to an attribute. Tokens are always separated by a space.
7001
6994
  *
7002
6995
  * You can call the method via the monster namespace `new Monster.DOM.addAttributeToken()`.
7003
6996
  *
7004
6997
  * ```
7005
6998
  * <script type="module">
7006
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
6999
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7007
7000
  * Monster.DOM.addAttributeToken();
7008
7001
  * </script>
7009
7002
  * ```
@@ -7012,7 +7005,7 @@ function toggleAttributeToken(element, key, token) {
7012
7005
  *
7013
7006
  * ```
7014
7007
  * <script type="module">
7015
- * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7008
+ * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7016
7009
  * addAttributeToken();
7017
7010
  * </script>
7018
7011
  * ```
@@ -7049,7 +7042,7 @@ function addAttributeToken(element, key, token) {
7049
7042
  *
7050
7043
  * ```
7051
7044
  * <script type="module">
7052
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7045
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7053
7046
  * Monster.DOM.removeAttributeToken();
7054
7047
  * </script>
7055
7048
  * ```
@@ -7058,7 +7051,7 @@ function addAttributeToken(element, key, token) {
7058
7051
  *
7059
7052
  * ```
7060
7053
  * <script type="module">
7061
- * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7054
+ * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7062
7055
  * removeAttributeToken();
7063
7056
  * </script>
7064
7057
  * ```
@@ -7094,7 +7087,7 @@ function removeAttributeToken(element, key, token) {
7094
7087
  *
7095
7088
  * ```
7096
7089
  * <script type="module">
7097
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7090
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7098
7091
  * Monster.DOM.containsAttributeToken();
7099
7092
  * </script>
7100
7093
  * ```
@@ -7103,7 +7096,7 @@ function removeAttributeToken(element, key, token) {
7103
7096
  *
7104
7097
  * ```
7105
7098
  * <script type="module">
7106
- * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7099
+ * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7107
7100
  * containsAttributeToken();
7108
7101
  * </script>
7109
7102
  * ```
@@ -7136,7 +7129,7 @@ function containsAttributeToken(element, key, token) {
7136
7129
  *
7137
7130
  * ```
7138
7131
  * <script type="module">
7139
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7132
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7140
7133
  * Monster.DOM.replaceAttributeToken();
7141
7134
  * </script>
7142
7135
  * ```
@@ -7145,7 +7138,7 @@ function containsAttributeToken(element, key, token) {
7145
7138
  *
7146
7139
  * ```
7147
7140
  * <script type="module">
7148
- * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7141
+ * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7149
7142
  * replaceAttributeToken();
7150
7143
  * </script>
7151
7144
  * ```
@@ -7181,7 +7174,7 @@ function replaceAttributeToken(element, key, from, to) {
7181
7174
  *
7182
7175
  * ```
7183
7176
  * <script type="module">
7184
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7177
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7185
7178
  * Monster.DOM.clearAttributeTokens();
7186
7179
  * </script>
7187
7180
  * ```
@@ -7190,7 +7183,7 @@ function replaceAttributeToken(element, key, from, to) {
7190
7183
  *
7191
7184
  * ```
7192
7185
  * <script type="module">
7193
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7186
+ * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7194
7187
  * clearAttributeTokens();
7195
7188
  * </script>
7196
7189
  * ```
@@ -7238,7 +7231,7 @@ function clearAttributeTokens(element, key) {
7238
7231
  *
7239
7232
  * ```
7240
7233
  * <script type="module">
7241
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7242
7235
  * Monster.DOM.findClosestByAttribute();
7243
7236
  * </script>
7244
7237
  * ```
@@ -7247,7 +7240,7 @@ function clearAttributeTokens(element, key) {
7247
7240
  *
7248
7241
  * ```
7249
7242
  * <script type="module">
7250
- * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7243
+ * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7251
7244
  * findClosestByAttribute();
7252
7245
  * </script>
7253
7246
  * ```
@@ -7305,7 +7298,7 @@ function findClosestByAttribute(element, key, value) {
7305
7298
  *
7306
7299
  * ```
7307
7300
  * <script type="module">
7308
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7301
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7309
7302
  * Monster.DOM.findClosestByClass();
7310
7303
  * </script>
7311
7304
  * ```
@@ -7314,7 +7307,7 @@ function findClosestByAttribute(element, key, value) {
7314
7307
  *
7315
7308
  * ```
7316
7309
  * <script type="module">
7317
- * import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/attributes.js';
7310
+ * import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/attributes.js';
7318
7311
  * findClosestByClass();
7319
7312
  * </script>
7320
7313
  * ```
@@ -7848,7 +7841,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
7848
7841
  *
7849
7842
  * ```
7850
7843
  * <script type="module">
7851
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
7844
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
7852
7845
  * document.createElement('monster-')
7853
7846
  * </script>
7854
7847
  * ```
@@ -8222,7 +8215,8 @@ __webpack_require__.r(__webpack_exports__);
8222
8215
  /* harmony export */ "initMethodSymbol": function() { return /* binding */ initMethodSymbol; },
8223
8216
  /* harmony export */ "assembleMethodSymbol": function() { return /* binding */ assembleMethodSymbol; },
8224
8217
  /* harmony export */ "assignUpdaterToElement": function() { return /* binding */ assignUpdaterToElement; },
8225
- /* harmony export */ "attributeObserverSymbol": function() { return /* binding */ attributeObserverSymbol; }
8218
+ /* harmony export */ "attributeObserverSymbol": function() { return /* binding */ attributeObserverSymbol; },
8219
+ /* harmony export */ "getSlottedElements": function() { return /* binding */ getSlottedElements; }
8226
8220
  /* harmony export */ });
8227
8221
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
8228
8222
  /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
@@ -8383,7 +8377,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
8383
8377
  *
8384
8378
  * ```
8385
8379
  * <script type="module">
8386
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
8380
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
8387
8381
  * document.createElement('monster-')
8388
8382
  * </script>
8389
8383
  * ```
@@ -8693,7 +8687,9 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8693
8687
 
8694
8688
  try {
8695
8689
  initCSSStylesheet.call(this);
8696
- } catch (e) {}
8690
+ } catch (e) {
8691
+ (0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.addAttributeToken)(self, _constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_ERRORMESSAGE, e.toString());
8692
+ }
8697
8693
  }
8698
8694
 
8699
8695
  if (!(elements instanceof NodeList)) {
@@ -8840,14 +8836,16 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8840
8836
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
8841
8837
  /**
8842
8838
  * @private
8843
- * @param {String} filter
8839
+ * @param {String|undefined} query
8840
+ * @param {String|undefined|null} name name of the slot (if the parameter is undefined, all slots are searched, if the parameter has the value null, all slots without a name are searched. if a string is specified, the slots with this name are searched.)
8844
8841
  * @return {*}
8845
8842
  * @this CustomElement
8846
8843
  * @since 1.23.0
8844
+ * @throws {Error} query must be a string
8847
8845
  */
8848
8846
 
8849
8847
 
8850
- function getSlottedElements(filter) {
8848
+ function getSlottedElements(query, name) {
8851
8849
  var self = this;
8852
8850
  var result = new Set();
8853
8851
 
@@ -8855,7 +8853,17 @@ function getSlottedElements(filter) {
8855
8853
  return result;
8856
8854
  }
8857
8855
 
8858
- var slots = self.shadowRoot.querySelectorAll('slot');
8856
+ var selector = 'slot';
8857
+
8858
+ if (name !== undefined) {
8859
+ if (name === null) {
8860
+ selector += ':not([name])';
8861
+ } else {
8862
+ selector += '[name=' + (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateString)(name) + ']';
8863
+ }
8864
+ }
8865
+
8866
+ var slots = self.shadowRoot.querySelectorAll(selector);
8859
8867
 
8860
8868
  for (var _i = 0, _Object$entries = Object.entries(slots); _i < _Object$entries.length; _i++) {
8861
8869
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -8864,14 +8872,16 @@ function getSlottedElements(filter) {
8864
8872
  slot.assignedElements().forEach(function (node) {
8865
8873
  if (!(node instanceof HTMLElement)) return;
8866
8874
 
8867
- if (filter !== undefined) {
8868
- node.querySelectorAll(filter).forEach(function (n) {
8875
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(query)) {
8876
+ node.querySelectorAll(query).forEach(function (n) {
8869
8877
  result.add(n);
8870
8878
  });
8871
8879
 
8872
- if (node.matches(filter)) {
8880
+ if (node.matches(query)) {
8873
8881
  result.add(node);
8874
8882
  }
8883
+ } else if (query !== undefined) {
8884
+ throw new Error('query must be a string');
8875
8885
  } else {
8876
8886
  result.add(node);
8877
8887
  }
@@ -8989,7 +8999,7 @@ function initOptionObserver() {
8989
8999
  }
8990
9000
  })); // disabled
8991
9001
 
8992
- self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED] = function (newVal) {
9002
+ self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED] = function () {
8993
9003
  if (self.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED)) {
8994
9004
  self.setOption(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_DISABLED, true);
8995
9005
  } else {
@@ -9076,6 +9086,7 @@ function initHtmlContent() {
9076
9086
  * @memberOf Monster.DOM
9077
9087
  * @this CustomElement
9078
9088
  * @since 1.16.0
9089
+ * @throws {TypeError} value is not an instance of
9079
9090
  */
9080
9091
 
9081
9092
 
@@ -9091,7 +9102,26 @@ function initCSSStylesheet() {
9091
9102
  if (styleSheet instanceof CSSStyleSheet) {
9092
9103
  this.shadowRoot.adoptedStyleSheets = [styleSheet];
9093
9104
  } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isArray)(styleSheet)) {
9094
- this.shadowRoot.adoptedStyleSheets = styleSheet;
9105
+ var assign = [];
9106
+
9107
+ var _iterator3 = _createForOfIteratorHelper(styleSheet),
9108
+ _step3;
9109
+
9110
+ try {
9111
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
9112
+ var s = _step3.value;
9113
+ (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateInstance)(s, CSSStyleSheet);
9114
+ assign.push(s);
9115
+ }
9116
+ } catch (err) {
9117
+ _iterator3.e(err);
9118
+ } finally {
9119
+ _iterator3.f();
9120
+ }
9121
+
9122
+ if (assign.length > 0) {
9123
+ this.shadowRoot.adoptedStyleSheets = assign;
9124
+ }
9095
9125
  } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(styleSheet)) {
9096
9126
  var style = self.shadowRoot.createElement('<style>');
9097
9127
  style.innerText = styleSheet;
@@ -9249,7 +9279,7 @@ var internal = Symbol('internal');
9249
9279
  *
9250
9280
  * ```
9251
9281
  * <script type="module">
9252
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9282
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9253
9283
  * new Monster.Types.DataUrl()
9254
9284
  * </script>
9255
9285
  * ```
@@ -9258,7 +9288,7 @@ var internal = Symbol('internal');
9258
9288
  *
9259
9289
  * ```
9260
9290
  * <script type="module">
9261
- * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/dataurl.js';
9291
+ * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
9262
9292
  * new DataUrl()
9263
9293
  * </script>
9264
9294
  * ```
@@ -9338,7 +9368,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9338
9368
  *
9339
9369
  * ```
9340
9370
  * <script type="module">
9341
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9371
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9342
9372
  * console.log(Monster.Types.parseDataURL())
9343
9373
  * </script>
9344
9374
  * ```
@@ -9347,7 +9377,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9347
9377
  *
9348
9378
  * ```
9349
9379
  * <script type="module">
9350
- * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/dataurl.js';
9380
+ * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
9351
9381
  * console.log(parseDataURL())
9352
9382
  * </script>
9353
9383
  * ```
@@ -9485,7 +9515,7 @@ var internal = Symbol('internal');
9485
9515
  *
9486
9516
  * ```
9487
9517
  * <script type="module">
9488
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9518
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9489
9519
  * console.log(new Monster.Types.MediaType())
9490
9520
  * </script>
9491
9521
  * ```
@@ -9494,7 +9524,7 @@ var internal = Symbol('internal');
9494
9524
  *
9495
9525
  * ```
9496
9526
  * <script type="module">
9497
- * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/mediatype.js';
9527
+ * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/mediatype.js';
9498
9528
  * console.log(new MediaType())
9499
9529
  * </script>
9500
9530
  * ```
@@ -9612,7 +9642,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9612
9642
  *
9613
9643
  * ```
9614
9644
  * <script type="module">
9615
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9645
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9616
9646
  * console.log(Monster.Types.parseMediaType())
9617
9647
  * </script>
9618
9648
  * ```
@@ -9621,7 +9651,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9621
9651
  *
9622
9652
  * ```
9623
9653
  * <script type="module">
9624
- * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/dataurl.js';
9654
+ * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/dataurl.js';
9625
9655
  * console.log(parseMediaType())
9626
9656
  * </script>
9627
9657
  * ```
@@ -9760,7 +9790,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9760
9790
  *
9761
9791
  * ```
9762
9792
  * <script type="module">
9763
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9793
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9764
9794
  * new Monster.DOM.Template()
9765
9795
  * </script>
9766
9796
  * ```
@@ -9769,7 +9799,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9769
9799
  *
9770
9800
  * ```
9771
9801
  * <script type="module">
9772
- * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/template.js';
9802
+ * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js';
9773
9803
  * new Template()
9774
9804
  * </script>
9775
9805
  * ```
@@ -9847,7 +9877,7 @@ var Template = /*#__PURE__*/function (_Base) {
9847
9877
  *
9848
9878
  * ```
9849
9879
  * <script type="module">
9850
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
9880
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
9851
9881
  * Monster.DOM.findDocumentTemplate()
9852
9882
  * </script>
9853
9883
  * ```
@@ -9856,14 +9886,14 @@ var Template = /*#__PURE__*/function (_Base) {
9856
9886
  *
9857
9887
  * ```
9858
9888
  * <script type="module">
9859
- * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/template.js';
9889
+ * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js';
9860
9890
  * findDocumentTemplate()
9861
9891
  * </script>
9862
9892
  * ```
9863
9893
  *
9864
9894
  * @example
9865
9895
  *
9866
- * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/template.js";
9896
+ * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/template.js";
9867
9897
  *
9868
9898
  * const template = document.createElement("template");
9869
9899
  * template.id = "myTemplate";
@@ -10035,7 +10065,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10035
10065
  *
10036
10066
  * ```
10037
10067
  * <script type="module">
10038
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
10068
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
10039
10069
  * console.log(new Monster.DOM.Theme())
10040
10070
  * </script>
10041
10071
  * ```
@@ -10044,14 +10074,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10044
10074
  *
10045
10075
  * ```
10046
10076
  * <script type="module">
10047
- * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/theme.js';
10077
+ * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/theme.js';
10048
10078
  * console.log(new Theme())
10049
10079
  * </script>
10050
10080
  * ```
10051
10081
  *
10052
10082
  * @example
10053
10083
  *
10054
- * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/theme.js';
10084
+ * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/theme.js';
10055
10085
  *
10056
10086
  * const theme = getDocumentTheme();
10057
10087
  * console.log(theme.getName());
@@ -10238,7 +10268,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10238
10268
  *
10239
10269
  * ```
10240
10270
  * <script type="module">
10241
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
10271
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
10242
10272
  * new Monster.DOM.Updater()
10243
10273
  * </script>
10244
10274
  * ```
@@ -10247,14 +10277,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10247
10277
  *
10248
10278
  * ```
10249
10279
  * <script type="module">
10250
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/updater.js';
10280
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
10251
10281
  * new Updater()
10252
10282
  * </script>
10253
10283
  * ```
10254
10284
  *
10255
10285
  * @example
10256
10286
  *
10257
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/updater.js';
10287
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/updater.js';
10258
10288
  *
10259
10289
  * // First we prepare the html document.
10260
10290
  * // This is done here via script, but can also be inserted into the document as pure html.
@@ -10569,6 +10599,8 @@ function getControlEventHandler() {
10569
10599
  * @throws {Error} the bind argument must start as a value with a path
10570
10600
  * @param {HTMLElement} element
10571
10601
  * @return void
10602
+ * @memberOf Monster.DOM
10603
+ * @private
10572
10604
  */
10573
10605
 
10574
10606
 
@@ -10633,6 +10665,7 @@ function retrieveAndSetValue(element) {
10633
10665
  /**
10634
10666
  * @since 1.27.0
10635
10667
  * @return void
10668
+ * @private
10636
10669
  */
10637
10670
 
10638
10671
 
@@ -10700,25 +10733,34 @@ function removeElement(change) {
10700
10733
 
10701
10734
 
10702
10735
  function insertElement(change) {
10703
- var _this2 = this;
10704
-
10705
10736
  var self = this;
10706
10737
  var subject = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].subject.getRealSubject();
10707
10738
  var document = (0,_util_js__WEBPACK_IMPORTED_MODULE_15__.getDocument)();
10708
10739
  var mem = new WeakSet();
10709
10740
  var wd = 0;
10741
+ var container = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].element;
10710
10742
 
10711
10743
  while (true) {
10712
10744
  var found = false;
10713
10745
  wd++;
10714
10746
  var p = (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_11__.clone)(change === null || change === void 0 ? void 0 : change['path']);
10715
- if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(p)) return this;
10747
+ if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(p)) return self;
10716
10748
 
10717
10749
  while (p.length > 0) {
10718
10750
  var current = p.join('.');
10719
- var list = this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].element.querySelectorAll(':scope [' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT + '*="path:' + current + '"]').entries();
10751
+ var iterator = new Set();
10752
+ var query = '[' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT + '*="path:' + current + '"]';
10753
+ var e = container.querySelectorAll(query);
10754
+
10755
+ if (e.length > 0) {
10756
+ iterator = new Set(_toConsumableArray(e));
10757
+ }
10720
10758
 
10721
- var _iterator5 = _createForOfIteratorHelper(list),
10759
+ if (container.matches(query)) {
10760
+ iterator.add(container);
10761
+ }
10762
+
10763
+ var _iterator5 = _createForOfIteratorHelper(iterator.entries()),
10722
10764
  _step5;
10723
10765
 
10724
10766
  try {
@@ -10741,11 +10783,9 @@ function insertElement(change) {
10741
10783
  }
10742
10784
 
10743
10785
  var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
10744
-
10745
- _this2[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10786
+ self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10746
10787
  pipe.setCallback(n, f);
10747
10788
  });
10748
-
10749
10789
  var value = void 0;
10750
10790
 
10751
10791
  try {
@@ -10793,7 +10833,11 @@ function insertElement(change) {
10793
10833
  node = _Object$entries3$_i[1];
10794
10834
 
10795
10835
  if (!available.has(node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT_REFERENCE))) {
10796
- containerElement.removeChild(node);
10836
+ try {
10837
+ containerElement.removeChild(node);
10838
+ } catch (e) {
10839
+ containerElement.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, (containerElement.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim());
10840
+ }
10797
10841
  }
10798
10842
  }
10799
10843
  };
@@ -10919,7 +10963,7 @@ function updateContent(change) {
10919
10963
 
10920
10964
 
10921
10965
  function runUpdateContent(container, parts, subject) {
10922
- var _this3 = this;
10966
+ var _this2 = this;
10923
10967
 
10924
10968
  if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(parts)) return;
10925
10969
  if (!(container instanceof HTMLElement)) return;
@@ -10937,37 +10981,65 @@ function runUpdateContent(container, parts, subject) {
10937
10981
  if (container.matches(query)) {
10938
10982
  iterator.add(container);
10939
10983
  }
10984
+ /**
10985
+ * @type {HTMLElement} element
10986
+ */
10940
10987
 
10941
- iterator.forEach(function (key, element) {
10942
- if (mem.has(element)) return;
10943
- mem.add(element);
10944
- var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_REPLACE);
10945
- var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(attributes);
10946
- var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
10947
10988
 
10948
- _this3[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10949
- pipe.setCallback(n, f);
10950
- });
10989
+ var _iterator6 = _createForOfIteratorHelper(iterator.entries()),
10990
+ _step6;
10951
10991
 
10952
- var value;
10992
+ try {
10993
+ var _loop2 = function _loop2() {
10994
+ var _step6$value = _slicedToArray(_step6.value, 1),
10995
+ element = _step6$value[0];
10953
10996
 
10954
- try {
10955
- element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
10956
- value = pipe.run(subject);
10957
- } catch (e) {
10958
- element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
10959
- }
10997
+ if (mem.has(element)) return {
10998
+ v: void 0
10999
+ };
11000
+ mem.add(element);
11001
+ var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_REPLACE);
11002
+ var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(attributes);
11003
+ var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
11004
+
11005
+ _this2[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
11006
+ pipe.setCallback(n, f);
11007
+ });
11008
+
11009
+ var value = void 0;
10960
11010
 
10961
- if (value instanceof HTMLElement) {
10962
- while (element.firstChild) {
10963
- element.removeChild(element.firstChild);
11011
+ try {
11012
+ element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
11013
+ value = pipe.run(subject);
11014
+ } catch (e) {
11015
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
10964
11016
  }
10965
11017
 
10966
- element.addNode(value);
10967
- } else {
10968
- element.innerHTML = value;
11018
+ if (value instanceof HTMLElement) {
11019
+ while (element.firstChild) {
11020
+ element.removeChild(element.firstChild);
11021
+ }
11022
+
11023
+ try {
11024
+ element.appendChild(value);
11025
+ } catch (e) {
11026
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, (element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim());
11027
+ }
11028
+ } else {
11029
+ element.innerHTML = value;
11030
+ }
11031
+ };
11032
+
11033
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
11034
+ var _ret2 = _loop2();
11035
+
11036
+ if (_typeof(_ret2) === "object") return _ret2.v;
10969
11037
  }
10970
- });
11038
+ } catch (err) {
11039
+ _iterator6.e(err);
11040
+ } finally {
11041
+ _iterator6.f();
11042
+ }
10971
11043
  }
10972
11044
  }
10973
11045
  /**
@@ -10995,7 +11067,7 @@ function updateAttributes(change) {
10995
11067
 
10996
11068
 
10997
11069
  function runUpdateAttributes(container, parts, subject) {
10998
- var _this4 = this;
11070
+ var _this3 = this;
10999
11071
 
11000
11072
  var self = this;
11001
11073
  if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(parts)) return;
@@ -11017,45 +11089,65 @@ function runUpdateAttributes(container, parts, subject) {
11017
11089
  iterator.add(container);
11018
11090
  }
11019
11091
 
11020
- iterator.forEach(function (key, element) {
11021
- if (mem.has(element)) return;
11022
- mem.add(element);
11023
- var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES);
11092
+ var _iterator7 = _createForOfIteratorHelper(iterator.entries()),
11093
+ _step7;
11024
11094
 
11025
- var _loop2 = function _loop2() {
11026
- var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),
11027
- def = _Object$entries8$_i[1];
11095
+ try {
11096
+ var _loop3 = function _loop3() {
11097
+ var _step7$value = _slicedToArray(_step7.value, 1),
11098
+ element = _step7$value[0];
11028
11099
 
11029
- def = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def);
11030
- var i = def.indexOf(' ');
11031
- var name = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(0, i));
11032
- var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(i));
11033
- var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
11034
- self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
11035
- pipe.setCallback(n, f, element);
11036
- });
11037
- var value = void 0;
11100
+ if (mem.has(element)) return {
11101
+ v: void 0
11102
+ };
11103
+ mem.add(element);
11104
+ var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES);
11038
11105
 
11039
- try {
11040
- element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
11041
- value = pipe.run(subject);
11042
- } catch (e) {
11043
- element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
11044
- }
11106
+ var _loop4 = function _loop4() {
11107
+ var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),
11108
+ def = _Object$entries8$_i[1];
11045
11109
 
11046
- if (value === undefined) {
11047
- element.removeAttribute(name);
11048
- } else if (element.getAttribute(name) !== value) {
11049
- element.setAttribute(name, value);
11050
- }
11110
+ def = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def);
11111
+ var i = def.indexOf(' ');
11112
+ var name = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(0, i));
11113
+ var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(i));
11114
+ var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
11115
+ self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
11116
+ pipe.setCallback(n, f, element);
11117
+ });
11118
+ var value = void 0;
11051
11119
 
11052
- handleInputControlAttributeUpdate.call(_this4, element, name, value);
11120
+ try {
11121
+ element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
11122
+ value = pipe.run(subject);
11123
+ } catch (e) {
11124
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
11125
+ }
11126
+
11127
+ if (value === undefined) {
11128
+ element.removeAttribute(name);
11129
+ } else if (element.getAttribute(name) !== value) {
11130
+ element.setAttribute(name, value);
11131
+ }
11132
+
11133
+ handleInputControlAttributeUpdate.call(_this3, element, name, value);
11134
+ };
11135
+
11136
+ for (var _i9 = 0, _Object$entries8 = Object.entries(attributes.split(',')); _i9 < _Object$entries8.length; _i9++) {
11137
+ _loop4();
11138
+ }
11053
11139
  };
11054
11140
 
11055
- for (var _i9 = 0, _Object$entries8 = Object.entries(attributes.split(',')); _i9 < _Object$entries8.length; _i9++) {
11056
- _loop2();
11141
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
11142
+ var _ret3 = _loop3();
11143
+
11144
+ if (_typeof(_ret3) === "object") return _ret3.v;
11057
11145
  }
11058
- });
11146
+ } catch (err) {
11147
+ _iterator7.e(err);
11148
+ } finally {
11149
+ _iterator7.f();
11150
+ }
11059
11151
  }
11060
11152
  }
11061
11153
  /**
@@ -11188,7 +11280,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
11188
11280
  *
11189
11281
  * ```
11190
11282
  * <script type="module">
11191
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11283
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11192
11284
  * Monster.Util.trimSpaces(" hello ")
11193
11285
  * </script>
11194
11286
  * ```
@@ -11197,7 +11289,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
11197
11289
  *
11198
11290
  * ```
11199
11291
  * <script type="module">
11200
- * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/util/trimspaces.js';
11292
+ * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/trimspaces.js';
11201
11293
  * trimSpaces(' hello \\ ')
11202
11294
  * </script>
11203
11295
  * ```
@@ -11275,7 +11367,8 @@ __webpack_require__.r(__webpack_exports__);
11275
11367
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11276
11368
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
11277
11369
  /* harmony export */ "findTargetElementFromEvent": function() { return /* binding */ findTargetElementFromEvent; },
11278
- /* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; }
11370
+ /* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; },
11371
+ /* harmony export */ "fireCustomEvent": function() { return /* binding */ fireCustomEvent; }
11279
11372
  /* harmony export */ });
11280
11373
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
11281
11374
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
@@ -11301,8 +11394,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11301
11394
  *
11302
11395
  * ```
11303
11396
  * <script type="module">
11304
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11305
- * console.log(new Monster.DOM.fireEvent())
11397
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11398
+ * new Monster.DOM.fireEvent()
11306
11399
  * </script>
11307
11400
  * ```
11308
11401
  *
@@ -11310,8 +11403,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11310
11403
  *
11311
11404
  * ```
11312
11405
  * <script type="module">
11313
- * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/events.js';
11314
- * console.log(fireEvent())
11406
+ * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
11407
+ * fireEvent()
11315
11408
  * </script>
11316
11409
  * ```
11317
11410
  *
@@ -11357,6 +11450,70 @@ function fireEvent(element, type) {
11357
11450
  throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
11358
11451
  }
11359
11452
  }
11453
+ /**
11454
+ * You can call the function via the monster namespace `new Monster.DOM.fireCustomEvent()`.
11455
+ *
11456
+ * ```
11457
+ * <script type="module">
11458
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11459
+ * new Monster.DOM.fireCustomEvent()
11460
+ * </script>
11461
+ * ```
11462
+ *
11463
+ * Alternatively, you can also integrate this function individually.
11464
+ *
11465
+ * ```
11466
+ * <script type="module">
11467
+ * import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
11468
+ * fireCustomEvent()
11469
+ * </script>
11470
+ * ```
11471
+ *
11472
+ * @param {HTMLElement|HTMLCollection|NodeList} element
11473
+ * @param {string} type
11474
+ * @return {void}
11475
+ * @since 1.29.0
11476
+ * @copyright schukai GmbH
11477
+ * @memberOf Monster.DOM
11478
+ * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
11479
+ * @summary Construct and send and event
11480
+ */
11481
+
11482
+
11483
+ function fireCustomEvent(element, type, detail) {
11484
+ var document = (0,_util_js__WEBPACK_IMPORTED_MODULE_3__.getDocument)();
11485
+
11486
+ if (element instanceof HTMLElement) {
11487
+ if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(detail)) {
11488
+ detail = {
11489
+ detail: detail
11490
+ };
11491
+ }
11492
+
11493
+ var event = new CustomEvent((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(type), {
11494
+ bubbles: true,
11495
+ cancelable: true,
11496
+ detail: detail
11497
+ });
11498
+ element.dispatchEvent(event);
11499
+ } else if (element instanceof HTMLCollection || element instanceof NodeList) {
11500
+ var _iterator2 = _createForOfIteratorHelper(element),
11501
+ _step2;
11502
+
11503
+ try {
11504
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
11505
+ var e = _step2.value;
11506
+ fireCustomEvent(e, type, detail);
11507
+ }
11508
+ } catch (err) {
11509
+ _iterator2.e(err);
11510
+ } finally {
11511
+ _iterator2.f();
11512
+ }
11513
+ } else {
11514
+ throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
11515
+ }
11516
+ }
11360
11517
  /**
11361
11518
  * This function gets the path `Event.composedPath()` from an event and tries to find the next element
11362
11519
  * up the tree `element.closest()` with the attribute and value. If no value, or a value that is undefined or null,
@@ -11366,7 +11523,7 @@ function fireEvent(element, type) {
11366
11523
  *
11367
11524
  * ```
11368
11525
  * <script type="module">
11369
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11526
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11370
11527
  * new Monster.DOM.findTargetElementFromEvent()
11371
11528
  * </script>
11372
11529
  * ```
@@ -11375,7 +11532,7 @@ function fireEvent(element, type) {
11375
11532
  *
11376
11533
  * ```
11377
11534
  * <script type="module">
11378
- * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/events.js';
11535
+ * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/events.js';
11379
11536
  * findTargetElementFromEvent()
11380
11537
  * </script>
11381
11538
  * ```
@@ -11414,7 +11571,7 @@ function findTargetElementFromEvent(event, attributeName, attributeValue) {
11414
11571
  return undefined;
11415
11572
  }
11416
11573
 
11417
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent);
11574
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent, fireCustomEvent);
11418
11575
 
11419
11576
 
11420
11577
  /***/ }),
@@ -11446,7 +11603,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11446
11603
  *
11447
11604
  * ```
11448
11605
  * <script type="module">
11449
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11606
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11450
11607
  * console.log(Monster.DOM.getDocument())
11451
11608
  * </script>
11452
11609
  * ```
@@ -11455,7 +11612,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11455
11612
  *
11456
11613
  * ```
11457
11614
  * <script type="module">
11458
- * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/util.js';
11615
+ * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
11459
11616
  * console.log(getDocument())
11460
11617
  * </script>
11461
11618
  * ```
@@ -11510,7 +11667,7 @@ function getDocument() {
11510
11667
  *
11511
11668
  * ```
11512
11669
  * <script type="module">
11513
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11670
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11514
11671
  * console.log(Monster.DOM.getWindow())
11515
11672
  * </script>
11516
11673
  * ```
@@ -11519,7 +11676,7 @@ function getDocument() {
11519
11676
  *
11520
11677
  * ```
11521
11678
  * <script type="module">
11522
- * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/util.js';
11679
+ * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
11523
11680
  * console.log(getWindow(null))
11524
11681
  * </script>
11525
11682
  * ```
@@ -11579,7 +11736,7 @@ function getWindow() {
11579
11736
  *
11580
11737
  * ```
11581
11738
  * <script type="module">
11582
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11739
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11583
11740
  * console.log(Monster.DOM.getDocumentFragmentFromString())
11584
11741
  * </script>
11585
11742
  * ```
@@ -11588,7 +11745,7 @@ function getWindow() {
11588
11745
  *
11589
11746
  * ```
11590
11747
  * <script type="module">
11591
- * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/util.js';
11748
+ * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/util.js';
11592
11749
  * console.log(getDocumentFragmentFromString('<div></div>'))
11593
11750
  * </script>
11594
11751
  * ```
@@ -11678,7 +11835,7 @@ var DEFAULT_LANGUAGE = 'en';
11678
11835
  *
11679
11836
  * ```
11680
11837
  * <script type="module">
11681
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11838
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11682
11839
  * new Monster.DOM.getLocaleOfDocument()
11683
11840
  * </script>
11684
11841
  * ```
@@ -11687,7 +11844,7 @@ var DEFAULT_LANGUAGE = 'en';
11687
11844
  *
11688
11845
  * ```
11689
11846
  * <script type="module">
11690
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/dom/locale.js';
11847
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/dom/locale.js';
11691
11848
  * new getLocaleOfDocument()
11692
11849
  * </script>
11693
11850
  * ```
@@ -11780,7 +11937,7 @@ var localeStringSymbol = Symbol('localeString');
11780
11937
  *
11781
11938
  * ```
11782
11939
  * <script type="module">
11783
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
11940
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11784
11941
  * new Monster.I18n.Locale()
11785
11942
  * </script>
11786
11943
  * ```
@@ -11789,7 +11946,7 @@ var localeStringSymbol = Symbol('localeString');
11789
11946
  *
11790
11947
  * ```
11791
11948
  * <script type="module">
11792
- * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/locale.js';
11949
+ * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
11793
11950
  * new Locale()
11794
11951
  * </script>
11795
11952
  * ```
@@ -11982,7 +12139,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11982
12139
  *
11983
12140
  * ```
11984
12141
  * <script type="module">
11985
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
12142
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
11986
12143
  * new Monster.I18n.createLocale()
11987
12144
  * </script>
11988
12145
  * ```
@@ -11991,7 +12148,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11991
12148
  *
11992
12149
  * ```
11993
12150
  * <script type="module">
11994
- * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/locale.js';
12151
+ * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
11995
12152
  * createLocale()
11996
12153
  * </script>
11997
12154
  * ```
@@ -12167,7 +12324,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12167
12324
  *
12168
12325
  * ```
12169
12326
  * <script type="module">
12170
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
12327
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
12171
12328
  * new Monster.I18n.Provider()
12172
12329
  * </script>
12173
12330
  * ```
@@ -12176,7 +12333,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12176
12333
  *
12177
12334
  * ```
12178
12335
  * <script type="module">
12179
- * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/provider.js';
12336
+ * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/provider.js';
12180
12337
  * new Provider()
12181
12338
  * </script>
12182
12339
  * ```
@@ -12273,24 +12430,39 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12273
12430
  /**
12274
12431
  * This is the base class with options from which some monster classes are derived.
12275
12432
  *
12276
- * You can call the method via the monster namespace `new Monster.Types.BaseWithOptions()`.
12433
+ * This class is actually only used as a base class.
12434
+ *
12435
+ * However, you can also create an instance directly via the monster namespace `new Monster.Types.BaseWithOptions()`.
12277
12436
  *
12278
- * ```
12437
+ * ```html
12279
12438
  * <script type="module">
12280
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
12439
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
12281
12440
  * new Monster.Types.BaseWithOptions()
12282
12441
  * </script>
12283
12442
  * ```
12284
12443
  *
12285
12444
  * Alternatively, you can also integrate this function individually.
12286
12445
  *
12287
- * ```
12446
+ * ```html
12288
12447
  * <script type="module">
12289
- * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/basewithoptions.js';
12448
+ * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/basewithoptions.js';
12290
12449
  * new BaseWithOptions()
12291
12450
  * </script>
12292
12451
  * ```
12452
+ *
12453
+ * Classes that require the possibility of options can be derived directly from this class.
12454
+ * Derived classes almost always override the `defaul` getter with their own values.
12293
12455
  *
12456
+ * ```javascript
12457
+ * class My extends BaseWithOptions {
12458
+ * get defaults() {
12459
+ * return Object.assign({}, super.defaults, {
12460
+ * mykey: true
12461
+ * });
12462
+ * }
12463
+ * }
12464
+ * ```
12465
+ *
12294
12466
  * The class was formerly called Object.
12295
12467
  *
12296
12468
  * @since 1.13.0
@@ -12322,7 +12494,18 @@ var BaseWithOptions = /*#__PURE__*/function (_Base) {
12322
12494
  return _this;
12323
12495
  }
12324
12496
  /**
12325
- * can be overridden by child class values
12497
+ * This getter provides the options. Derived classes overwrite
12498
+ * this getter with their own values. It is good karma to always include
12499
+ * the values from the parent class.
12500
+ *
12501
+ * ```javascript
12502
+ * get defaults() {
12503
+ * return Object.assign({}, super.defaults, {
12504
+ * mykey: true
12505
+ * });
12506
+ * }
12507
+ *
12508
+ * ```
12326
12509
  *
12327
12510
  * @return {object}
12328
12511
  */
@@ -12427,7 +12610,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12427
12610
  *
12428
12611
  * ```
12429
12612
  * <script type="module">
12430
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
12613
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
12431
12614
  * new Monster.I18n.Translations()
12432
12615
  * </script>
12433
12616
  * ```
@@ -12436,15 +12619,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12436
12619
  *
12437
12620
  * ```
12438
12621
  * <script type="module">
12439
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/translations.js';
12622
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/translations.js';
12440
12623
  * new Translations()
12441
12624
  * </script>
12442
12625
  * ```
12443
12626
  *
12444
12627
  * @example
12445
12628
  *
12446
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/translations.js';
12447
- * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/locale.js';
12629
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/translations.js';
12630
+ * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/locale.js';
12448
12631
  *
12449
12632
  * const translation = new Translations(parseLocale('en-GB'));
12450
12633
  *
@@ -12716,7 +12899,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12716
12899
  *
12717
12900
  * ```
12718
12901
  * <script type="module">
12719
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
12902
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
12720
12903
  * new Monster.I18n.Providers.Fetch()
12721
12904
  * </script>
12722
12905
  * ```
@@ -12725,14 +12908,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12725
12908
  *
12726
12909
  * ```
12727
12910
  * <script type="module">
12728
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/providers/fetch.js';
12911
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/providers/fetch.js';
12729
12912
  * new Fetch()
12730
12913
  * </script>
12731
12914
  * ```
12732
12915
  *
12733
12916
  * @example <caption>das ist ein test</caption>
12734
12917
  *
12735
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/i18n/providers/fetch.js';
12918
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/i18n/providers/fetch.js';
12736
12919
  *
12737
12920
  * // fetch from API
12738
12921
  * const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
@@ -12962,7 +13145,7 @@ var workingDataSymbol = Symbol('workingData');
12962
13145
  *
12963
13146
  * ```
12964
13147
  * <script type="module">
12965
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
13148
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
12966
13149
  * new Monster.Text.Formatter()
12967
13150
  * </script>
12968
13151
  * ```
@@ -12971,7 +13154,7 @@ var workingDataSymbol = Symbol('workingData');
12971
13154
  *
12972
13155
  * ```
12973
13156
  * <script type="module">
12974
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/text/formatter.js';
13157
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/text/formatter.js';
12975
13158
  * new Formatter()
12976
13159
  * </script>
12977
13160
  * ```
@@ -13016,7 +13199,7 @@ var workingDataSymbol = Symbol('workingData');
13016
13199
  *
13017
13200
  * @example
13018
13201
  *
13019
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/text/formatter.js';
13202
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/text/formatter.js';
13020
13203
  *
13021
13204
  * new Formatter({
13022
13205
  * a: {
@@ -13361,7 +13544,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13361
13544
  *
13362
13545
  * ```
13363
13546
  * <script type="module">
13364
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
13547
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
13365
13548
  * console.log(new Monster.Logging.Handler())
13366
13549
  * </script>
13367
13550
  * ```
@@ -13370,7 +13553,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13370
13553
  *
13371
13554
  * ```
13372
13555
  * <script type="module">
13373
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/logging/handler.js';
13556
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/handler.js';
13374
13557
  * console.log(new Handler())
13375
13558
  * </script>
13376
13559
  * ```
@@ -13608,7 +13791,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13608
13791
  *
13609
13792
  * ```
13610
13793
  * <script type="module">
13611
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
13794
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
13612
13795
  * console.log(new Monster.Logging.LogEntry())
13613
13796
  * </script>
13614
13797
  * ```
@@ -13617,7 +13800,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13617
13800
  *
13618
13801
  * ```
13619
13802
  * <script type="module">
13620
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/logging/logentry.js';
13803
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/logentry.js';
13621
13804
  * console.log(new LogEntry())
13622
13805
  * </script>
13623
13806
  * ```
@@ -13803,7 +13986,7 @@ var OFF = 0;
13803
13986
  *
13804
13987
  * ```
13805
13988
  * <script type="module">
13806
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
13989
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
13807
13990
  * new Monster.Logging.Logger()
13808
13991
  * </script>
13809
13992
  * ```
@@ -13812,7 +13995,7 @@ var OFF = 0;
13812
13995
  *
13813
13996
  * ```
13814
13997
  * <script type="module">
13815
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/logging/logger.js';
13998
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/logger.js';
13816
13999
  * new Logger()
13817
14000
  * </script>
13818
14001
  * ```
@@ -14112,7 +14295,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14112
14295
  *
14113
14296
  * ```
14114
14297
  * <script type="module">
14115
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14298
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14116
14299
  * console.log(new Monster.Logging.Handler.ConsoleHandler())
14117
14300
  * </script>
14118
14301
  * ```
@@ -14121,7 +14304,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14121
14304
  *
14122
14305
  * ```
14123
14306
  * <script type="module">
14124
- * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/logging/handler/console.js';
14307
+ * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/logging/handler/console.js';
14125
14308
  * console.log(new ConsoleHandler())
14126
14309
  * </script>
14127
14310
  * ```
@@ -14197,7 +14380,7 @@ __webpack_require__.r(__webpack_exports__);
14197
14380
  *
14198
14381
  * ```
14199
14382
  * <script type="module">
14200
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14383
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14201
14384
  * Monster.Math.random(1,10)
14202
14385
  * // ↦ 5
14203
14386
  * </script>
@@ -14207,7 +14390,7 @@ __webpack_require__.r(__webpack_exports__);
14207
14390
  *
14208
14391
  * ```
14209
14392
  * <script type="module">
14210
- * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/math/random.js';
14393
+ * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/math/random.js';
14211
14394
  * random(1,10)
14212
14395
  * // ↦ 5
14213
14396
  * </script>
@@ -14364,7 +14547,7 @@ var internalCounter = 0;
14364
14547
  *
14365
14548
  * ```
14366
14549
  * <script type="module">
14367
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14550
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14368
14551
  * console.log(new Monster.Types.RandomID())
14369
14552
  * </script>
14370
14553
  * ```
@@ -14373,7 +14556,7 @@ var internalCounter = 0;
14373
14556
  *
14374
14557
  * ```
14375
14558
  * <script type="module">
14376
- * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/randomid.js';
14559
+ * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/randomid.js';
14377
14560
  * console.log(new RandomID())
14378
14561
  * </script>
14379
14562
  * ```
@@ -14456,7 +14639,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14456
14639
  *
14457
14640
  * ```
14458
14641
  * <script type="module">
14459
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14642
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14460
14643
  * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
14461
14644
  * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
14462
14645
  * </script>
@@ -14466,7 +14649,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14466
14649
  *
14467
14650
  * ```
14468
14651
  * <script type="module">
14469
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/version.js';
14652
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
14470
14653
  * console.log(new Version('1.2.3')) // ↦ 1.2.3
14471
14654
  * console.log(new Version('1')) // ↦ 1.0.0
14472
14655
  * </script>
@@ -14474,7 +14657,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14474
14657
  *
14475
14658
  * @example
14476
14659
  *
14477
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/version.js';
14660
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
14478
14661
  *
14479
14662
  * new Version('1.0.0') // ↦ 1.0.0
14480
14663
  * new Version(1) // ↦ 1.0.0
@@ -14608,7 +14791,7 @@ var monsterVersion;
14608
14791
  *
14609
14792
  * ```
14610
14793
  * <script type="module">
14611
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14794
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14612
14795
  * console.log(Monster.getVersion())
14613
14796
  * </script>
14614
14797
  * ```
@@ -14617,7 +14800,7 @@ var monsterVersion;
14617
14800
  *
14618
14801
  * ```
14619
14802
  * <script type="module">
14620
- * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/types/version.js';
14803
+ * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/types/version.js';
14621
14804
  * console.log(getVersion())
14622
14805
  * </script>
14623
14806
  * ```
@@ -14636,7 +14819,7 @@ function getVersion() {
14636
14819
  /**#@+ dont touch, replaced by make with package.json version */
14637
14820
 
14638
14821
 
14639
- monsterVersion = new Version('1.28.0');
14822
+ monsterVersion = new Version('1.29.2');
14640
14823
  /**#@-*/
14641
14824
 
14642
14825
  return monsterVersion;
@@ -14692,7 +14875,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14692
14875
  *
14693
14876
  * ```
14694
14877
  * <script type="module">
14695
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
14878
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14696
14879
  * new Monster.Util.Comparator()
14697
14880
  * </script>
14698
14881
  * ```
@@ -14701,7 +14884,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14701
14884
  *
14702
14885
  * ```
14703
14886
  * <script type="module">
14704
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/util/comparator.js';
14887
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/comparator.js';
14705
14888
  * console.log(new Comparator())
14706
14889
  * </script>
14707
14890
  * ```
@@ -14726,7 +14909,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14726
14909
  *
14727
14910
  * @example
14728
14911
  *
14729
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/util/comparator.js';
14912
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/comparator.js';
14730
14913
  *
14731
14914
  * console.log(new Comparator().lessThanOrEqual(2, 5))
14732
14915
  * // ↦ true
@@ -14939,7 +15122,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14939
15122
  *
14940
15123
  * ```
14941
15124
  * <script type="module">
14942
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/monster.js';
15125
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/monster.js';
14943
15126
  * Monster.Util.deepFreeze({})
14944
15127
  * </script>
14945
15128
  * ```
@@ -14948,7 +15131,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14948
15131
  *
14949
15132
  * ```
14950
15133
  * <script type="module">
14951
- * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.28.0/dist/modules/util/freeze.js';
15134
+ * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.2/dist/modules/util/freeze.js';
14952
15135
  * deepFreeze({})
14953
15136
  * </script>
14954
15137
  * ```