ku4web-components 6.4.84 → 6.4.88

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. package/angular/index.js +1 -1
  2. package/angular/index.mjs +1 -1
  3. package/dist/cjs/index-57e2cfa5.js +10 -0
  4. package/dist/cjs/{index-a7b6d98c.js → index-845c56d4.js} +1 -1
  5. package/dist/cjs/ku4-carousel-controls.cjs.entry.js +3 -3
  6. package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
  7. package/dist/cjs/ku4-carousel.cjs.entry.js +3 -3
  8. package/dist/cjs/ku4-col.cjs.entry.js +1 -1
  9. package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
  10. package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
  11. package/dist/cjs/ku4-focus-trap.cjs.entry.js +37 -37
  12. package/dist/cjs/ku4-form.cjs.entry.js +3 -3
  13. package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
  14. package/dist/cjs/ku4-label.cjs.entry.js +2 -2
  15. package/dist/cjs/ku4-mask.cjs.entry.js +3 -3
  16. package/dist/cjs/ku4-modal.cjs.entry.js +9 -4
  17. package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
  18. package/dist/cjs/ku4-preview.cjs.entry.js +14 -43
  19. package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
  20. package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
  21. package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
  22. package/dist/cjs/ku4-table.cjs.entry.js +1 -1
  23. package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
  24. package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
  25. package/dist/cjs/ku4web-components.cjs.js +8 -103
  26. package/dist/cjs/loader.cjs.js +3 -19
  27. package/dist/cjs/{shadow-css-78860e39.js → shadow-css-546083ef.js} +1 -1
  28. package/dist/esm/{index-81a98b72.js → index-45c399b0.js} +1 -1
  29. package/dist/esm/index-f9890388.js +3 -0
  30. package/dist/esm/ku4-carousel-controls.entry.js +3 -3
  31. package/dist/esm/ku4-carousel-slide.entry.js +1 -1
  32. package/dist/esm/ku4-carousel.entry.js +3 -3
  33. package/dist/esm/ku4-col.entry.js +1 -1
  34. package/dist/esm/ku4-drawer.entry.js +1 -1
  35. package/dist/esm/ku4-feature.entry.js +2 -2
  36. package/dist/esm/ku4-focus-trap.entry.js +14 -14
  37. package/dist/esm/ku4-form.entry.js +3 -3
  38. package/dist/esm/ku4-grid.entry.js +1 -1
  39. package/dist/esm/ku4-label.entry.js +2 -2
  40. package/dist/esm/ku4-mask.entry.js +3 -3
  41. package/dist/esm/ku4-modal.entry.js +9 -4
  42. package/dist/esm/ku4-panel.entry.js +1 -1
  43. package/dist/esm/ku4-preview.entry.js +5 -34
  44. package/dist/esm/ku4-tab-list.entry.js +4 -4
  45. package/dist/esm/ku4-tab-panel.entry.js +3 -3
  46. package/dist/esm/ku4-tab.entry.js +3 -3
  47. package/dist/esm/ku4-table.entry.js +1 -1
  48. package/dist/esm/ku4-tooltip.entry.js +2 -2
  49. package/dist/esm/ku4-validation.entry.js +2 -2
  50. package/dist/esm/ku4web-components.js +8 -103
  51. package/dist/esm/loader.js +3 -19
  52. package/dist/esm/polyfills/css-shim.js +1 -1
  53. package/dist/{ku4web-components/shadow-css-4d56fa31.js → esm/shadow-css-dfa0587f.js} +1 -1
  54. package/dist/esm-es5/{index-81a98b72.js → index-45c399b0.js} +1 -1
  55. package/dist/esm-es5/{index-316624d1.js → index-f9890388.js} +1 -1
  56. package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
  57. package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
  58. package/dist/esm-es5/ku4-carousel.entry.js +1 -1
  59. package/dist/esm-es5/ku4-col.entry.js +1 -1
  60. package/dist/esm-es5/ku4-drawer.entry.js +1 -1
  61. package/dist/esm-es5/ku4-feature.entry.js +1 -1
  62. package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
  63. package/dist/esm-es5/ku4-form.entry.js +1 -1
  64. package/dist/esm-es5/ku4-grid.entry.js +1 -1
  65. package/dist/esm-es5/ku4-label.entry.js +1 -1
  66. package/dist/esm-es5/ku4-mask.entry.js +1 -1
  67. package/dist/esm-es5/ku4-modal.entry.js +1 -1
  68. package/dist/esm-es5/ku4-panel.entry.js +1 -1
  69. package/dist/esm-es5/ku4-preview.entry.js +1 -1
  70. package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
  71. package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
  72. package/dist/esm-es5/ku4-tab.entry.js +1 -1
  73. package/dist/esm-es5/ku4-table.entry.js +1 -1
  74. package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
  75. package/dist/esm-es5/ku4-validation.entry.js +1 -1
  76. package/dist/esm-es5/ku4web-components.js +1 -1
  77. package/dist/esm-es5/loader.js +1 -1
  78. package/dist/esm-es5/{shadow-css-4d56fa31.js → shadow-css-dfa0587f.js} +0 -0
  79. package/dist/index.js +1 -1
  80. package/dist/ku4web-components/index.esm.js +0 -1
  81. package/dist/ku4web-components/ku4web-components.css +1 -299
  82. package/dist/ku4web-components/ku4web-components.esm.js +1 -129
  83. package/dist/ku4web-components/ku4web-components.js +1 -1
  84. package/dist/ku4web-components/{p-6a5a7d81.entry.js → p-005353c6.entry.js} +1 -1
  85. package/dist/ku4web-components/{p-66b8247f.entry.js → p-09f09ad6.entry.js} +1 -1
  86. package/dist/ku4web-components/{p-6b9e3523.system.entry.js → p-09f10910.system.entry.js} +1 -1
  87. package/dist/ku4web-components/p-11652204.entry.js +1 -0
  88. package/dist/ku4web-components/{p-c96a424d.entry.js → p-1380f375.entry.js} +1 -1
  89. package/dist/ku4web-components/p-16f6027a.js +1 -0
  90. package/dist/ku4web-components/{p-8427534d.system.entry.js → p-1cdd4c7f.system.entry.js} +1 -1
  91. package/dist/ku4web-components/{p-61214088.entry.js → p-1fbc37de.entry.js} +1 -1
  92. package/dist/ku4web-components/{p-96b69344.entry.js → p-20d3e65d.entry.js} +1 -1
  93. package/dist/ku4web-components/{p-6cfd9011.system.entry.js → p-24bf4b99.system.entry.js} +1 -1
  94. package/dist/ku4web-components/p-2da41fcc.entry.js +1 -0
  95. package/dist/ku4web-components/p-371ff218.entry.js +1 -0
  96. package/dist/ku4web-components/{p-7bfc256a.system.entry.js → p-3b70ff65.system.entry.js} +1 -1
  97. package/dist/ku4web-components/{p-e6b3a708.js → p-42dd73f2.js} +1 -1
  98. package/dist/ku4web-components/{p-0f03feb6.system.entry.js → p-4d4d3cc4.system.entry.js} +1 -1
  99. package/dist/ku4web-components/{p-073cefec.system.entry.js → p-53605e68.system.entry.js} +1 -1
  100. package/dist/ku4web-components/{p-91aa94d4.system.entry.js → p-5a6bad52.system.entry.js} +1 -1
  101. package/dist/ku4web-components/{p-881e100a.js → p-5e796581.js} +0 -0
  102. package/dist/ku4web-components/{p-10198308.system.entry.js → p-689b87db.system.entry.js} +1 -1
  103. package/dist/ku4web-components/p-6dad23e0.entry.js +1 -0
  104. package/dist/ku4web-components/{p-f3aedfdb.system.entry.js → p-72066e9d.system.entry.js} +1 -1
  105. package/dist/ku4web-components/{p-f3fbe1e6.entry.js → p-72219668.entry.js} +1 -1
  106. package/dist/ku4web-components/{p-2b3bb150.system.entry.js → p-774dbc9e.system.entry.js} +1 -1
  107. package/dist/ku4web-components/{p-96eccb13.system.entry.js → p-782336cd.system.entry.js} +1 -1
  108. package/dist/ku4web-components/{p-96ec7b4f.system.js → p-829fb4ce.system.js} +1 -1
  109. package/dist/ku4web-components/{p-9d241b2a.entry.js → p-8583d382.entry.js} +1 -1
  110. package/dist/ku4web-components/{p-99854682.system.entry.js → p-895853ef.system.entry.js} +1 -1
  111. package/dist/ku4web-components/{p-fbf3ad1e.system.js → p-8b2d8a2a.system.js} +0 -0
  112. package/dist/ku4web-components/{p-ecf7b1be.system.entry.js → p-97d806d2.system.entry.js} +1 -1
  113. package/dist/ku4web-components/{p-288482da.system.entry.js → p-9ba0f967.system.entry.js} +1 -1
  114. package/dist/ku4web-components/{p-bd251367.entry.js → p-a0dc0327.entry.js} +1 -1
  115. package/dist/ku4web-components/{p-6a40ccaa.entry.js → p-a5f54bc0.entry.js} +1 -1
  116. package/dist/ku4web-components/{p-d848909c.system.entry.js → p-a61f7c42.system.entry.js} +1 -1
  117. package/dist/ku4web-components/{p-47dc2714.entry.js → p-abcf4c43.entry.js} +1 -1
  118. package/dist/ku4web-components/{p-7ed66688.system.entry.js → p-b02eb970.system.entry.js} +1 -1
  119. package/dist/ku4web-components/{p-9bf34cc7.system.entry.js → p-bd83ef31.system.entry.js} +1 -1
  120. package/dist/ku4web-components/{p-c4479d3b.system.entry.js → p-d57468ab.system.entry.js} +1 -1
  121. package/dist/ku4web-components/p-d66b1c43.system.js +1 -0
  122. package/dist/ku4web-components/{p-579ff41b.system.entry.js → p-e550fd09.system.entry.js} +1 -1
  123. package/dist/ku4web-components/{p-3f2a008c.entry.js → p-e8d5dcce.entry.js} +1 -1
  124. package/dist/ku4web-components/p-eace33d2.system.entry.js +1 -0
  125. package/dist/ku4web-components/{p-320e2fe0.entry.js → p-ecf06d64.entry.js} +1 -1
  126. package/dist/ku4web-components/{p-5eadf115.entry.js → p-edfa2aea.entry.js} +1 -1
  127. package/dist/ku4web-components/{p-c798faf2.entry.js → p-f2a603c3.entry.js} +1 -1
  128. package/dist/ku4web-components/p-f6b9d36e.entry.js +1 -0
  129. package/dist/ku4web-components/{p-a352f533.system.js → p-f8a2bf9b.system.js} +1 -1
  130. package/dist/ku4web-components/{p-3f147a02.entry.js → p-fd6bcdde.entry.js} +1 -1
  131. package/dist/types/components/ku4-modal/ku4-modal.d.ts +5 -0
  132. package/dist/types/components.d.ts +10 -2
  133. package/package.json +31 -31
  134. package/react/index.js +1 -1
  135. package/react/index.mjs +1 -1
  136. package/vue/index.js +1 -1
  137. package/vue/index.mjs +1 -1
  138. package/vue3/index.js +1 -1
  139. package/vue3/index.mjs +1 -1
  140. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  141. package/dist/cjs/css-shim-6ca600c2.js +0 -6
  142. package/dist/cjs/dom-8d415461.js +0 -75
  143. package/dist/cjs/index-517c4086.js +0 -14
  144. package/dist/cjs/index-a530dbc9.js +0 -10
  145. package/dist/cjs/index-c904eb3a.js +0 -10
  146. package/dist/cjs/index-ca4336bd.js +0 -3093
  147. package/dist/cjs/uid-8ec2f63e.js +0 -11
  148. package/dist/collection/capabilities/a11y/aria.js +0 -26
  149. package/dist/collection/capabilities/angular/index.js +0 -24
  150. package/dist/collection/capabilities/decorators/deprecated.js +0 -20
  151. package/dist/collection/capabilities/decorators/index.js +0 -3
  152. package/dist/collection/capabilities/decorators/memoize.js +0 -7
  153. package/dist/collection/capabilities/dom/isFocusable.js +0 -7
  154. package/dist/collection/capabilities/dom/queryFocusable.js +0 -2
  155. package/dist/collection/capabilities/identity/uid.js +0 -6
  156. package/dist/collection/capabilities/mask/index.js +0 -5
  157. package/dist/collection/capabilities/mask/patterns/date.js +0 -40
  158. package/dist/collection/capabilities/mask/patterns/index.js +0 -7
  159. package/dist/collection/capabilities/react/index.js +0 -25
  160. package/dist/collection/capabilities/testing/html.js +0 -14
  161. package/dist/collection/capabilities/testing/styles.js +0 -14
  162. package/dist/collection/capabilities/vue/index.js +0 -28
  163. package/dist/collection/capabilities/vue3/index.js +0 -26
  164. package/dist/collection/collection-manifest.json +0 -31
  165. package/dist/collection/components/ku4-carousel/ku4-carousel.css +0 -221
  166. package/dist/collection/components/ku4-carousel/ku4-carousel.js +0 -369
  167. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +0 -32
  168. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +0 -112
  169. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +0 -3
  170. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +0 -159
  171. package/dist/collection/components/ku4-col/ku4-col.css +0 -601
  172. package/dist/collection/components/ku4-col/ku4-col.js +0 -288
  173. package/dist/collection/components/ku4-drawer/ku4-drawer.css +0 -56
  174. package/dist/collection/components/ku4-drawer/ku4-drawer.js +0 -163
  175. package/dist/collection/components/ku4-feature/ku4-feature.js +0 -70
  176. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +0 -3
  177. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +0 -441
  178. package/dist/collection/components/ku4-form/ku4-form.js +0 -225
  179. package/dist/collection/components/ku4-grid/ku4-grid.css +0 -751
  180. package/dist/collection/components/ku4-grid/ku4-grid.js +0 -408
  181. package/dist/collection/components/ku4-label/ku4-label.css +0 -36
  182. package/dist/collection/components/ku4-label/ku4-label.js +0 -115
  183. package/dist/collection/components/ku4-mask/ku4-mask.css +0 -3
  184. package/dist/collection/components/ku4-mask/ku4-mask.js +0 -458
  185. package/dist/collection/components/ku4-modal/ku4-modal.css +0 -85
  186. package/dist/collection/components/ku4-modal/ku4-modal.js +0 -208
  187. package/dist/collection/components/ku4-panel/ku4-panel.css +0 -14
  188. package/dist/collection/components/ku4-panel/ku4-panel.js +0 -119
  189. package/dist/collection/components/ku4-preview/ku4-preview.css +0 -23
  190. package/dist/collection/components/ku4-preview/ku4-preview.js +0 -266
  191. package/dist/collection/components/ku4-tab/ku4-tab.css +0 -82
  192. package/dist/collection/components/ku4-tab/ku4-tab.js +0 -191
  193. package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +0 -6
  194. package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +0 -118
  195. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +0 -26
  196. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +0 -166
  197. package/dist/collection/components/ku4-table/ku4-table.css +0 -116
  198. package/dist/collection/components/ku4-table/ku4-table.js +0 -120
  199. package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +0 -56
  200. package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +0 -274
  201. package/dist/collection/components/ku4-validation/ku4-validation.css +0 -19
  202. package/dist/collection/components/ku4-validation/ku4-validation.js +0 -364
  203. package/dist/collection/components/ku4-validation/validate.js +0 -14
  204. package/dist/collection/index.js +0 -1
  205. package/dist/collection/security.js +0 -27
  206. package/dist/esm/app-globals-0f993ce5.js +0 -3
  207. package/dist/esm/css-shim-e6dd2538.js +0 -4
  208. package/dist/esm/dom-7fc649b0.js +0 -73
  209. package/dist/esm/index-135dacad.js +0 -3
  210. package/dist/esm/index-316624d1.js +0 -3
  211. package/dist/esm/index-7fe386de.js +0 -3057
  212. package/dist/esm/index-7ff6e718.js +0 -3
  213. package/dist/esm/shadow-css-4d56fa31.js +0 -388
  214. package/dist/esm/uid-a7ff854d.js +0 -9
  215. package/dist/ku4web-components/app-globals-0f993ce5.js +0 -3
  216. package/dist/ku4web-components/app-globals-497eb362.system.js +0 -1
  217. package/dist/ku4web-components/css-shim-b6eec689.system.js +0 -1
  218. package/dist/ku4web-components/css-shim-e6dd2538.js +0 -4
  219. package/dist/ku4web-components/dom-7fc649b0.js +0 -73
  220. package/dist/ku4web-components/dom-88962da0.system.js +0 -21
  221. package/dist/ku4web-components/index-135dacad.js +0 -3
  222. package/dist/ku4web-components/index-5029fd1f.system.js +0 -1
  223. package/dist/ku4web-components/index-7d482e8a.system.js +0 -1
  224. package/dist/ku4web-components/index-7fe386de.js +0 -3057
  225. package/dist/ku4web-components/index-7ff6e718.js +0 -3
  226. package/dist/ku4web-components/index-dcd9a8a7.system.js +0 -1
  227. package/dist/ku4web-components/index.system.js +0 -1
  228. package/dist/ku4web-components/ku4-carousel-controls.entry.js +0 -89
  229. package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +0 -1
  230. package/dist/ku4web-components/ku4-carousel-slide.entry.js +0 -47
  231. package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +0 -1
  232. package/dist/ku4web-components/ku4-carousel.entry.js +0 -175
  233. package/dist/ku4web-components/ku4-carousel.system.entry.js +0 -1
  234. package/dist/ku4web-components/ku4-col.entry.js +0 -75
  235. package/dist/ku4web-components/ku4-col.system.entry.js +0 -1
  236. package/dist/ku4web-components/ku4-drawer.entry.js +0 -35
  237. package/dist/ku4web-components/ku4-drawer.system.entry.js +0 -1
  238. package/dist/ku4web-components/ku4-feature.entry.js +0 -29
  239. package/dist/ku4web-components/ku4-feature.system.entry.js +0 -1
  240. package/dist/ku4web-components/ku4-focus-trap.entry.js +0 -323
  241. package/dist/ku4web-components/ku4-focus-trap.system.entry.js +0 -1
  242. package/dist/ku4web-components/ku4-form.entry.js +0 -112
  243. package/dist/ku4web-components/ku4-form.system.entry.js +0 -1
  244. package/dist/ku4web-components/ku4-grid.entry.js +0 -108
  245. package/dist/ku4web-components/ku4-grid.system.entry.js +0 -1
  246. package/dist/ku4web-components/ku4-label.entry.js +0 -70
  247. package/dist/ku4web-components/ku4-label.system.entry.js +0 -1
  248. package/dist/ku4web-components/ku4-mask.entry.js +0 -342
  249. package/dist/ku4web-components/ku4-mask.system.entry.js +0 -1
  250. package/dist/ku4web-components/ku4-modal.entry.js +0 -75
  251. package/dist/ku4web-components/ku4-modal.system.entry.js +0 -1
  252. package/dist/ku4web-components/ku4-panel.entry.js +0 -49
  253. package/dist/ku4web-components/ku4-panel.system.entry.js +0 -1
  254. package/dist/ku4web-components/ku4-preview.entry.js +0 -128
  255. package/dist/ku4web-components/ku4-preview.system.entry.js +0 -1
  256. package/dist/ku4web-components/ku4-tab-list.entry.js +0 -76
  257. package/dist/ku4web-components/ku4-tab-list.system.entry.js +0 -1
  258. package/dist/ku4web-components/ku4-tab-panel.entry.js +0 -72
  259. package/dist/ku4web-components/ku4-tab-panel.system.entry.js +0 -1
  260. package/dist/ku4web-components/ku4-tab.entry.js +0 -63
  261. package/dist/ku4web-components/ku4-tab.system.entry.js +0 -1
  262. package/dist/ku4web-components/ku4-table.entry.js +0 -79
  263. package/dist/ku4web-components/ku4-table.system.entry.js +0 -1
  264. package/dist/ku4web-components/ku4-tooltip.entry.js +0 -120
  265. package/dist/ku4web-components/ku4-tooltip.system.entry.js +0 -1
  266. package/dist/ku4web-components/ku4-validation.entry.js +0 -162
  267. package/dist/ku4web-components/ku4-validation.system.entry.js +0 -1
  268. package/dist/ku4web-components/ku4web-components.system.js +0 -1
  269. package/dist/ku4web-components/p-0f77bef9.system.js +0 -1
  270. package/dist/ku4web-components/p-171182e4.entry.js +0 -1
  271. package/dist/ku4web-components/p-7e69d158.entry.js +0 -1
  272. package/dist/ku4web-components/p-9da3612f.entry.js +0 -1
  273. package/dist/ku4web-components/p-b3c3b463.entry.js +0 -1
  274. package/dist/ku4web-components/p-b3c3d932.entry.js +0 -1
  275. package/dist/ku4web-components/p-ba9edd72.js +0 -1
  276. package/dist/ku4web-components/p-e356b3c1.system.entry.js +0 -1
  277. package/dist/ku4web-components/shadow-css-d0426811.system.js +0 -13
  278. package/dist/ku4web-components/uid-3373ce49.system.js +0 -1
  279. package/dist/ku4web-components/uid-a7ff854d.js +0 -9
@@ -1,21 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function e(e){var n=t.has(e);e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!n&&e}function n(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function o(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function i(t,e,n){n=void 0===n?new Set:n;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var a=r;e(a);var c=a.localName;if("link"===c&&"import"===a.getAttribute("rel")){r=a.import;if(r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)i(r,e,n);r=o(t,a);continue}else if("template"===c){r=o(t,a);continue}if(a=a.__CE_shadowRoot)for(a=a.firstChild;a;a=a.nextSibling)i(a,e,n)}r=r.firstChild?r.firstChild:o(t,r)}}function r(t,e,n){t[e]=n}function a(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1}function c(t,e,n){t.a.set(e,n);t.g.set(n.constructorFunction,n)}function l(t,e){t.b=!0;t.c.push(e)}function s(t,e){t.b=!0;t.f.push(e)}function u(t,e){t.b&&i(e,(function(e){return f(t,e)}))}function f(t,e){if(t.b&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.c.length;n++)t.c[n](e);for(n=0;n<t.f.length;n++)t.f[n](e)}}function p(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):m(t,o)}}function h(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function d(t,e,n){n=void 0===n?{}:n;var o=n.u||new Set,r=n.i||function(e){return m(t,e)},a=[];i(e,(function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0);n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(o);i.delete(n);d(t,n,{u:i,i:r})}}))}else a.push(e)}),o);if(t.b)for(e=0;e<a.length;e++)f(t,a[e]);for(e=0;e<a.length;e++)r(a[e])}function m(t,e){if(void 0===e.__CE_state){var o=e.ownerDocument;if(o.defaultView||o.__CE_isImportDocument&&o.__CE_hasRegistry)if(o=t.a.get(e.localName)){o.constructionStack.push(e);var i=o.constructorFunction;try{try{if(new i!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(c){throw e.__CE_state=2,c}e.__CE_state=1;e.__CE_definition=o;if(o.attributeChangedCallback)for(o=o.observedAttributes,i=0;i<o.length;i++){var r=o[i],a=e.getAttribute(r);null!==a&&t.attributeChangedCallback(e,r,null,a,null)}n(e)&&t.connectedCallback(e)}}}a.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)};a.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)};a.prototype.attributeChangedCallback=function(t,e,n,o,i){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(e)&&r.attributeChangedCallback.call(t,e,n,o,i)};function y(t){var e=document;this.c=t;this.a=e;this.b=void 0;d(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function b(t){t.b&&t.b.disconnect()}y.prototype.f=function(t){var e=this.a.readyState;"interactive"!==e&&"complete"!==e||b(this);for(e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)d(this.c,n[o])};function v(){var t=this;this.b=this.a=void 0;this.c=new Promise((function(e){t.b=e;t.a&&e(t.a)}))}function g(t){if(t.a)throw Error("Already resolved.");t.a=void 0;t.b&&t.b(void 0)}function w(t){this.c=!1;this.a=t;this.j=new Map;this.f=function(t){return t()};this.b=!1;this.g=[];this.o=new y(t)}w.prototype.l=function(t,n){var o=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!e(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=i("connectedCallback");var l=i("disconnectedCallback");var s=i("adoptedCallback");var u=i("attributeChangedCallback");var f=n.observedAttributes||[]}catch(p){return}finally{this.c=!1}n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:l,adoptedCallback:s,attributeChangedCallback:u,observedAttributes:f,constructionStack:[]};c(this.a,t,n);this.g.push(n);this.b||(this.b=!0,this.f((function(){return E(o)})))};w.prototype.i=function(t){d(this.a,t)};function E(t){if(!1!==t.b){t.b=!1;for(var e=t.g,n=[],o=new Map,i=0;i<e.length;i++)o.set(e[i].localName,[]);d(t.a,document,{i:function(e){if(void 0===e.__CE_state){var i=e.localName,r=o.get(i);r?r.push(e):t.a.a.get(i)&&n.push(e)}}});for(i=0;i<n.length;i++)m(t.a,n[i]);for(;0<e.length;){var r=e.shift();i=r.localName;r=o.get(r.localName);for(var a=0;a<r.length;a++)m(t.a,r[a]);(i=t.j.get(i))&&g(i)}}}w.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction};w.prototype.m=function(t){if(!e(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var n=this.j.get(t);if(n)return n.c;n=new v;this.j.set(t,n);this.a.a.get(t)&&!this.g.some((function(e){return e.localName===t}))&&g(n);return n.c};w.prototype.s=function(t){b(this.o);var e=this.f;this.f=function(n){return t((function(){return e(n)}))}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.l;w.prototype.upgrade=w.prototype.i;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.m;w.prototype.polyfillWrapFlushCallback=w.prototype.s;var _=window.Document.prototype.createElement,C=window.Document.prototype.createElementNS,N=window.Document.prototype.importNode,S=window.Document.prototype.prepend,T=window.Document.prototype.append,D=window.DocumentFragment.prototype.prepend,k=window.DocumentFragment.prototype.append,A=window.Node.prototype.cloneNode,O=window.Node.prototype.appendChild,j=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,x=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),H=window.Element.prototype.attachShadow,R=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,F=window.Element.prototype.setAttribute,I=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,U=window.Element.prototype.setAttributeNS,W=window.Element.prototype.removeAttributeNS,q=window.Element.prototype.insertAdjacentElement,B=window.Element.prototype.insertAdjacentHTML,$=window.Element.prototype.prepend,V=window.Element.prototype.append,X=window.Element.prototype.before,G=window.Element.prototype.after,J=window.Element.prototype.replaceWith,K=window.Element.prototype.remove,Q=window.HTMLElement,Y=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Z=window.HTMLElement.prototype.insertAdjacentElement,tt=window.HTMLElement.prototype.insertAdjacentHTML;var et=new function(){};function nt(){var t=st;window.HTMLElement=function(){function e(){var e=this.constructor,n=t.g.get(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=_.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,f(t,o),o;n=o.length-1;var i=o[n];if(i===et)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");o[n]=et;Object.setPrototypeOf(i,e.prototype);f(t,i);return i}e.prototype=Q.prototype;Object.defineProperty(e.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e});return e}()}function ot(t,e,o){function i(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}void 0!==o.h&&(e.prepend=i(o.h));void 0!==o.append&&(e.append=i(o.append))}function it(){var t=st;r(Document.prototype,"createElement",(function(e){if(this.__CE_hasRegistry){var n=t.a.get(e);if(n)return new n.constructorFunction}e=_.call(this,e);f(t,e);return e}));r(Document.prototype,"importNode",(function(e,n){e=N.call(this,e,!!n);this.__CE_hasRegistry?d(t,e):u(t,e);return e}));r(Document.prototype,"createElementNS",(function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.a.get(n);if(o)return new o.constructorFunction}e=C.call(this,e,n);f(t,e);return e}));ot(t,Document.prototype,{h:S,append:T})}function rt(){function t(t,o){Object.defineProperty(t,"textContent",{enumerable:o.enumerable,configurable:!0,get:o.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)o.set.call(this,t);else{var i=void 0;if(this.firstChild){var r=this.childNodes,a=r.length;if(0<a&&n(this)){i=Array(a);for(var c=0;c<a;c++)i[c]=r[c]}}o.set.call(this,t);if(i)for(t=0;t<i.length;t++)h(e,i[t])}}})}var e=st;r(Node.prototype,"insertBefore",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=j.call(this,t,o);if(n(this))for(o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);o=j.call(this,t,o);i&&h(e,t);n(this)&&p(e,t);return o}));r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);t=O.call(this,t);if(n(this))for(var i=0;i<o.length;i++)p(e,o[i]);return t}o=n(t);i=O.call(this,t);o&&h(e,t);n(this)&&p(e,t);return i}));r(Node.prototype,"cloneNode",(function(t){t=A.call(this,!!t);this.ownerDocument.__CE_hasRegistry?d(e,t):u(e,t);return t}));r(Node.prototype,"removeChild",(function(t){var o=n(t),i=L.call(this,t);o&&h(e,t);return i}));r(Node.prototype,"replaceChild",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=M.call(this,t,o);if(n(this))for(h(e,o),o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);var r=M.call(this,t,o),a=n(this);a&&h(e,o);i&&h(e,t);a&&p(e,t);return r}));x&&x.get?t(Node.prototype,x):l(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n.nodeType!==Node.COMMENT_NODE&&t.push(n.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)L.call(this,this.firstChild);null!=t&&""!==t&&O.call(this,document.createTextNode(t))}})}))}function at(t){function e(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}var o=Element.prototype;void 0!==X&&(o.before=e(X));void 0!==X&&(o.after=e(G));void 0!==J&&r(o,"replaceWith",(function(e){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var r=[],a=0;a<o.length;a++){var c=o[a];c instanceof Element&&n(c)&&r.push(c);if(c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}a=n(this);J.apply(this,o);for(o=0;o<r.length;o++)h(t,r[o]);if(a)for(h(t,this),o=0;o<i.length;o++)r=i[o],r instanceof Element&&p(t,r)}));void 0!==K&&r(o,"remove",(function(){var e=n(this);K.call(this);e&&h(t,this)}))}function ct(){function t(t,e){Object.defineProperty(t,"innerHTML",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){var o=this,r=void 0;n(this)&&(r=[],i(this,(function(t){t!==o&&r.push(t)})));e.set.call(this,t);if(r)for(var c=0;c<r.length;c++){var l=r[c];1===l.__CE_state&&a.disconnectedCallback(l)}this.ownerDocument.__CE_hasRegistry?d(a,this):u(a,this);return t}})}function e(t,e){r(t,"insertAdjacentElement",(function(t,o){var i=n(o);t=e.call(this,t,o);i&&h(a,o);n(t)&&p(a,o);return t}))}function o(t,e){function n(t,e){for(var n=[];t!==e;t=t.nextSibling)n.push(t);for(e=0;e<n.length;e++)d(a,n[e])}r(t,"insertAdjacentHTML",(function(t,o){t=t.toLowerCase();if("beforebegin"===t){var i=this.previousSibling;e.call(this,t,o);n(i||this.parentNode.firstChild,this)}else if("afterbegin"===t)i=this.firstChild,e.call(this,t,o),n(this.firstChild,i);else if("beforeend"===t)i=this.lastChild,e.call(this,t,o),n(i||this.firstChild,null);else if("afterend"===t)i=this.nextSibling,e.call(this,t,o),n(this.nextSibling,i);else throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}))}var a=st;H&&r(Element.prototype,"attachShadow",(function(t){t=H.call(this,t);var e=a;if(e.b&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.c.length;n++)e.c[n](t)}return this.__CE_shadowRoot=t}));R&&R.get?t(Element.prototype,R):Y&&Y.get?t(HTMLElement.prototype,Y):s(a,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return A.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,o=C.call(document,this.namespaceURI,this.localName);for(o.innerHTML=t;0<n.childNodes.length;)L.call(n,n.childNodes[0]);for(t=e?o.content:o;0<t.childNodes.length;)O.call(n,t.childNodes[0])}})}));r(Element.prototype,"setAttribute",(function(t,e){if(1!==this.__CE_state)return F.call(this,t,e);var n=P.call(this,t);F.call(this,t,e);e=P.call(this,t);a.attributeChangedCallback(this,t,n,e,null)}));r(Element.prototype,"setAttributeNS",(function(t,e,n){if(1!==this.__CE_state)return U.call(this,t,e,n);var o=z.call(this,t,e);U.call(this,t,e,n);n=z.call(this,t,e);a.attributeChangedCallback(this,e,o,n,t)}));r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return I.call(this,t);var e=P.call(this,t);I.call(this,t);null!==e&&a.attributeChangedCallback(this,t,e,null,null)}));r(Element.prototype,"removeAttributeNS",(function(t,e){if(1!==this.__CE_state)return W.call(this,t,e);var n=z.call(this,t,e);W.call(this,t,e);var o=z.call(this,t,e);n!==o&&a.attributeChangedCallback(this,e,n,o,t)}));Z?e(HTMLElement.prototype,Z):q?e(Element.prototype,q):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");tt?o(HTMLElement.prototype,tt):B?o(Element.prototype,B):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");ot(a,Element.prototype,{h:$,append:V});at(a)}var lt=window.customElements;if(!lt||lt.forcePolyfill||"function"!=typeof lt.define||"function"!=typeof lt.get){var st=new a;nt();it();ot(st,DocumentFragment.prototype,{h:D,append:k});rt();ct();document.__CE_hasRegistry=!0;var ut=new w(st);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:ut})}}).call(self);"string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}});"function"!==typeof window.CustomEvent&&(window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail);return n},window.CustomEvent.prototype=window.Event.prototype);(function(t,e,n){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;this.path.push(e,n);return this.path})})(Event.prototype,document,window);
2
- /*!
3
- Element.closest and Element.matches
4
- https://github.com/jonathantneal/closest
5
- Creative Commons Zero v1.0 Universal
6
- */(function(t){"function"!==typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var e=0;t[e]&&t[e]!==this;)++e;return!!t[e]});"function"!==typeof t.closest&&(t.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null})})(window.Element.prototype);
7
- /*!
8
- Element.getRootNode()
9
- */(function(t){function e(t){t=n(t);return t&&11===t.nodeType?e(t.host):t}function n(t){return t&&t.parentNode?n(t.parentNode):t}"function"!==typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?e(this):n(this)})})(Element.prototype);
10
- /*!
11
- Element.isConnected()
12
- */(function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})})(Element.prototype);
13
- /*!
14
- Element.remove()
15
- */(function(t){t.forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
16
- /*!
17
- Element.classList
18
- */!function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,e=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){e.length>0?t.setAttribute("class",e.join(" ")):t.removeAttribute("class")}return""===e[0]&&e.splice(0,1),e.toggle=function(t,o){void 0!==o?o?e.add(t):e.remove(t):-1!==e.indexOf(t)?e.splice(e.indexOf(t),1):e.push(t),n()},e.add=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1===e.indexOf(t[o])&&e.push(t[o]);n()},e.remove=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1!==e.indexOf(t[o])&&e.splice(e.indexOf(t[o]),1);n()},e.item=function(t){return e[t]},e.contains=function(t){return-1!==e.indexOf(t)},e.replace=function(t,o){-1!==e.indexOf(t)&&e.splice(e.indexOf(t),1,o),n()},e.value=t.getAttribute("class")||"",e}})}(Element.prototype);
19
- /*!
20
- DOMTokenList
21
- */(function(t){try{document.body.classList.add()}catch(o){var e=t.add,n=t.remove;t.add=function(){for(var t=0;t<arguments.length;t++)e.call(this,arguments[t])};t.remove=function(){for(var t=0;t<arguments.length;t++)n.call(this,arguments[t])}}})(DOMTokenList.prototype)}}}));
@@ -1,3 +0,0 @@
1
- class t{static isNull(t){return null===t}static isEmpty(e){return t.isString(e)&&""===e||t.isArray(e)&&e.length<1||t.isObjectLiteral(e)&&Object.keys(e).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(e){return !(t.isUndefined(e)||t.isNull(e))}static isNullOrEmpty(e){return !t.exists(e)||t.isEmpty(e)}static isArray(t){return Array.isArray(t)}static isBool(t){return "boolean"==typeof t}static isTrue(e){return t.isBool(e)&&!0===e}static isFalse(e){return t.isBool(e)&&!1===e}static isDate(t){return t instanceof Date}static isNumber(t){return ("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return "string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(e){try{return "AsyncFunction"===Object.getPrototypeOf(e).constructor.name||t.isFunction(e)&&/^async/.test(e.toString())||t.isFunction(e().then)}catch(t){return !1}}static isPromise(t){return t instanceof Promise}static isObject(e){return t.exists(e)&&"object"==typeof e&&!(t.isBool(e)||t.isNumber(e)||t.isDate(e)||t.isArray(e)||t.isString(e)||t.isFunction(e))}static isObjectLiteral(e){return t.isObject(e)&&e.constructor==={}.constructor}static isTruthy(e){return !t.isFalsy(e)}static isFalsy(e){return t.isZero(e)||t.isFalse(e)||t.isNullOrEmpty(e)||isNaN(e)}}function e(...t){return "".concat(...t)}function r(t,...e){return e.reduce(((t,e,r)=>t.replace(new RegExp(`\\{${r}\\}`,"g"),e&&e.toString?e.toString():e)),t)}function i(t){return s(n(t))}function s(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/^[\s\n]*/,""):e}function n(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/[\s\n]*$/,""):e}var a=Object.freeze({__proto__:null,build:e,chunk:function(e,r=0){if(!t.isString(e)||Number.isNaN(r)||r<0)return [];if(r<e.length){let t=0;const i=r||e.length,s=[];for(;t<e.length;)s.push(e.slice(t,t+i)),t+=i;return s}return [e]},format:r,trim:i,trimStart:s,trimEnd:n,capitalize:function(t=""){return (t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(e,r,i="_"){return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((t,e)=>t.replace(new RegExp(i),e)),r)},unmask:function(e,r,i="_"){const s=new RegExp(i);return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((t,e,i)=>!s.test(e)&&s.test(r.charAt(i))?t+e:t),"")}});class u{constructor(t="",e="",r=""){this._first=t||"",this._middle=e||"",this._last=r||"";}get first(){return this._first}get middle(){return this._middle}get last(){return this._last}get full(){const e=t.isNullOrEmpty(this.middle)?"F L":"F M L";return i(this.toString(e).replace(/\s+/," "))}get initials(){const e=t.isNullOrEmpty(this.middle)?"f.l.":"f.m.l.";return i(this.toString(e).replace(/\s{2,}/,""))}equals(e){return t.exists(e)&&e.first===this.first&&e.middle===this.middle&&e.last===this.last}toString(e){const r=this.first.charAt(0),i=this.middle.charAt(0),s=this.last.charAt(0);return t.isNullOrEmpty(e)?this.full:e.replace(/([FfMmLl])/g,"{$1}").replace("{F}",this.first).replace("{M}",this.middle).replace("{L}",this.last).replace("{f}",r).replace("{m}",i).replace("{l}",s)}}var o=t=>t.reduce(((t,e)=>(t.includes(e)||t.push(e),t)),[]);class c{constructor(t){this._list=t,this._head=0;}get isEmpty(){return this.length<1}get index(){return this._head}get length(){return this._list.length}get current(){return this._list[this._head]}get next(){const{length:t}=this;let{_head:e}=this;return this._head=e++<t-1?e:0,this.current}get prev(){const{length:t}=this;let{_head:e}=this;return this._head=--e<0?t-1:e,this.current}get peekNext(){const{_head:t,length:e}=this;return this._list[t+1<e?t+1:0]}get peekPrev(){const{_head:t,length:e}=this;return this._list[t-1<0?e-1:t-1]}}function h(t,e){try{return t()}catch{return e}}let l;h.async=async(t,e)=>{try{return await t()}catch{return e}};class d{constructor(t,e,r){if(e<1||e>12)throw new Error("Invalid month at Assert.DayPoint");if(r<1||r>y(e,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,e-1,r):new Date,this._day=this._value.getDay(),this._date=r,this._month=e,this._year=t;}get value(){return this._value}get day(){return this._day}get date(){return this._date}get month(){return this._month}get year(){return this._year}get shortYear(){const t=this._year.toString();return parseInt(t.substr(t.length-2))}get isWeekday(){const t=this._day;return t>0&&t<6}get isWeekend(){return !this.isWeekday}get isLeapYear(){return f(this._year)}get nextDay(){return p(this,1,0,0)}get prevDay(){return p(this,-1,0,0)}get nextMonth(){return p(this,0,1,0)}get prevMonth(){return p(this,0,-1,0)}get nextYear(){return p(this,0,0,1)}get prevYear(){return p(this,0,0,-1)}get firstDayOfMonth(){return new d(this._year,this._month,1)}get lastDayOfMonth(){return new d(this._year,this._month,y(this._month,this._year))}add(t,e,r){function i(t,e,r){let i=t,s=e;for(;s--;)i=i[r];return i}const{abs:s}=Math,n=s(t),a=s(r),u=s(e),o=r<0?"prevDay":"nextDay",c=e<0?"prevMonth":"nextMonth";return i(i(i(this,n,t<0?"prevYear":"nextYear"),u,c),a,o)}isBefore(t){return !(this.isAfter(t)||this.equals(t))}isAfter(t){const e=this._year,r=t.year,i=this._month,s=t.month;return e>r||(e===r&&i>s||e===r&&i===s&&this._date>t.date)}equals(t){return this._year===t.year&&this._month===t.month&&this._date===t.date}toString(t="mm/dd/yyyy"){const e=/y{3,}/i.test(t)?this._year:this.shortYear,i=this._month,s=this._date,n=/m{2}/i.test(t)&&i<10?"0{1}":"{1}",a=/d{2}/i.test(t)&&s<10?"0{2}":"{2}";return r(t.replace(/y+/gi,"{0}").replace(/m+/gi,n).replace(/d+/gi,a),e,i,s)}toDate(){return this._value}toJson(){return this._value.toJSON()}static canParse(e){return t.isString(e)||t.isNumber(e)||t.isDate(e)?!isNaN(new Date(e).valueOf()):e instanceof d}static parse(e){if(e instanceof d)return e;let s=t.isString(e)?i(e).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):e;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(s)){const t=s.split("-"),[e]=t;t.push(e),t.shift(),s=t.join("/");}const n=new Date(s);if(!t.exists(s)||Number.isNaN(n.valueOf()))throw new Error(r("Cannot parse value= {0}",s));return new d(n.getFullYear(),n.getMonth()+1,n.getDate())}static tryParse(t){return h((()=>d.parse(t)),null)}static assumeNow(t){l=d.parse(t);}static get today(){return l||d.parse(new Date)}}function y(e,r){return 2===e?f(r)?29:28:e<8&&t.isEven(e)||e>7&&t.isOdd(e)?30:31}function f(t){const r=t.toString().split(/\B/);return parseFloat(e(r[r.length-2],r[r.length-1]))%4==0}function p(t,e,r,i){const s=t.month,n=t.year,a=t.date,u=r,o=i;let c=a+e,h=s+u,l=n+o;if(a+e>y(s,n)&&(c=1,h=s+u+1),a+e<1){const e=t.prevMonth;c=y(e.month,e.year),h=s+u-1;}return h>12&&(h=1,l=n+o+1),h<1&&(h=12,l=n+o-1),new d(l,h,c)}function g(t,e=0){const r=Math.pow(10,-e);return Math.round(parseFloat((t*r).toFixed(Math.abs(e))))/r}function m(t,e=0){return g(t+5*Math.pow(10,e-1),e)}function _(t,e=0){if(0===t)return 0;return g(t-5*Math.pow(10,e-1),e)}function w(t,e=0){return t<0?m(t,e):_(t,e)}function x(t){const e=(t,r=0,i=1)=>0<t?e(--t,i,r+i):r;return e(t)}function v(t){let e=0,r=1,i=0;for(;t>1;)i=e,e=r,r+=i,t--;return t<1?e:r}function b(t,e=0){const r=parseInt(t);return Number.isNaN(r)?e:r}var N=Object.freeze({__proto__:null,random:function(t=0,e=1){return Math.random()*(e-t)+t},round:g,roundUp:m,roundDown:_,roundTowardZero:w,gcd:function t(e,r){return 0===r?Math.abs(e):t(r,e%r)},fib:x,fib2:v,fibArray:function(t){return Array(t).fill(0).map((()=>x(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>v(--t))).reverse()},tryParseInt:b,tryParseFloat:function(t,e=0){const r=parseFloat(t);return Number.isNaN(r)?e:r}});class S{constructor(e=0,r){if(!t.isNumber(e))throw new Error("Money requires valid numeric amount.");const i=w(e);this._cents=/\./.test(e)?parseFloat(e.toString().replace(/\d+\./,".")):0,this._dollars=i,this._currency=r||"$",this._value=e;}get cents(){return this._cents}get dollars(){return this._dollars}get currency(){return this._currency}get value(){return this._value}add(t){return A(this,t),new S(this.value+t.value,this.currency)}subtract(t){return A(this,t),new S(this.value-t.value,this.currency)}multiply(e){if(!t.isNumber(e))throw new Error(`Invalid factor ${e}`);return new S(this.value*e,this.currency)}divide(e){if(!t.isNumber(e))throw new Error(`Invalid divisor ${e}`);return new S(this.value/e,this.currency)}equals(t){return this.isOfCurrency(t)&&this.value===t.value}isGreaterThan(t){return A(this,t),this.value>t.value}isLessThan(t){return A(this,t),this.value<t.value}get nearestWhole(){return new S(g(this.value,0),this.currency)}get nearestDollar(){return this.nearestWhole}round(t=-2){return new S(g(this.value,t),this.currency)}roundDown(t=-2){return new S(_(this.value,t),this.currency)}roundUp(t=-2){return new S(m(this.value,t),this.currency)}exchange(t,e){return new S(this.multiply(t).value,e)}isOfCurrency(t){return this.currency===t.currency}toString(t="d.c2",e){const[,r,i]=/d(.)c(\d+)/.exec(t),s=e||{".":",",",":"."}[r],n=function(t,e){if(0===t)return "0";const r=t.toString().replace(/[^\d]/,"").split(/\B/);let i=0;return r.reverse().reduce(((t,r)=>(i>0&&!(i%3)&&(t.push(e),i=0),t.push(r),i++,t)),[]).reverse().join("").replace(/[^\d]$/,"")}(this.dollars,s||","),a=function(t,e){const r=t.toString().replace(/[^\d]|0\./g,""),i="0".repeat(e);return `${r}${i}`.slice(0,e)}(this.cents,b(i,2)),u=`${this.currency}${n}${r}${a}`;return this.value<0?`(${u})`:u}static zero(t){return new S(0,t)}static isMoney(t){return t instanceof S}static canParse(t){try{return S.parse(t),!0}catch(t){return !1}}static parse(e){if(t.isNumber(e))return new S(e);let r=e;if(/,\d{2}$/.test(e)){const t=e.split(","),i=t.pop();r=`${t.join().replace(/\./g,",")}.${i}`;}const i=/(\(.*\))|(-)/.test(r),s=i?1:0,n=r.match(/[^\d.,-]/g),a=t.isArray(n)?n[s]:null,u=parseFloat(r.replace(/[^\d.]/g,""));return new S(i?-u:u,a)}static tryParse(t){return h((()=>S.parse(t)),null)}}function A(t,e){if(!t.isOfCurrency(e))throw new Error(`Invalid operation on non-conforming currencies. ${t.currency} !== ${e.currency}`)}class ${constructor(e=0,r=0){if(!t.isNumber(e)||!t.isNumber(r))throw new Error("Coord requires numeric x and y values");this._x=e,this._y=r;}get x(){return this._x}get y(){return this._y}get value(){return {x:this.x,y:this.y}}get half(){return this.divide(new $(2,2))}get abs(){return new $(Math.abs(this.x),Math.abs(this.y))}equals(t){return this.x===t.x&&this.y===t.y}add(t){return new $(this.x+t.x,this.y+t.y)}subtract(t){return new $(this.x-t.x,this.y-t.y)}multiply(t){return new $(this.x*t.x,this.y*t.y)}divide(t){return new $(this.x/t.x,this.y/t.y)}round(t=0){return new $(g(this.x,t),g(this.y,t))}toString(){return `(${this.x},${this.y})`}static canParse(e){return t.isArray(e)?!(Number.isNaN(e[0])||Number.isNaN(e[1])):t.isObjectLiteral(e)&&"x"in e&&"y"in e?!(Number.isNaN(e.x)||Number.isNaN(e.y)):e instanceof $}static parse(e){return t.exists(e)?e instanceof $?e:t.isArray(e)?new $(e[0],e[1]):t.isObjectLiteral(e)&&t.exists(e.x)&&t.exists(e.y)?new $(e.x,e.y):null:null}static tryParse(t){return h((()=>$.parse(t)),null)}}class F extends ${constructor(t=0,e=0){super(t,e),this._lengthSquared=Math.pow(t,2)+Math.pow(e,2),this._magnitude=Math.sqrt(this._lengthSquared),this._unitNormalX=0===t&&0===e?0:t/this._magnitude,this._unitNormalY=0===t&&0===e?0:e/this._magnitude;}get magnitude(){return this._magnitude}get isZero(){return 0===this.x&&0===this.y}get normal(){return new F(this._unitNormalX,this._unitNormalY)}get invert(){return new F(-this.x,-this.y)}get norm(){return new F(Math.abs(this.x),Math.abs(this.y))}get perpendicular(){return new F(-this.y,this.x)}equals(t){return t instanceof F&&this.x===t.x&&this.y===t.y}add(t){return t instanceof F?new F(this.x+t.x,this.y+t.y):null}dot(t){return t instanceof F?this.x*t.x+this.y*t.y:null}perpendicularAtTo(t){if(!(t instanceof F))return null;const e=t.add(this.projectionOfOnto(t).invert);return new F(e.x,e.y)}projectionOfOnto(t){if(!(t instanceof F))return null;const e=t.normal.scale(this.dot(t.normal));return new F(e.x,e.y)}scale(t){return new F(this.x*t,this.y*t)}unitNormalDot(t){return t instanceof F?this.normal.x*t.normal.x+this.normal.y*t.normal.y:null}reflect(t){if(!(t instanceof F))return null;if(t.isZero)return this;const e=t.normal;return this.add(e.scale(2*e.dot(this)).invert)}round(t=0){return new F(g(this.x,t),g(this.y,t))}}class O extends ${constructor(t,e){super(t,e);}isAbove(t){return this.y<t.y}isBelow(t){return this.y>t.y}isLeftOf(t){return this.x<t.x}isRightOf(t){return this.x>t.x}distanceFrom(t){return new F(this.x-t.x,this.y-t.y)}distanceTo(t){return this.distanceFrom(t).invert}static canParse(t){return t instanceof O||$.canParse(t)}static parse(t){if(t instanceof O)return t;const e=$.parse(t);return new O(e.x,e.y)}static tryParse(t){return h((()=>O.parse(t)),null)}}class M{constructor(t=0,e=0,r=0,i=0){this.origin=new O(t,e),this.dimensions=new $(r,i),this.diagonal=O.parse(this.origin.add(this.dimensions)),this.center=this.diagonal.half;}contains(t){return this.origin.isAbove(t)&&this.origin.isLeftOf(t)&&this.diagonal.isRightOf(t)&&this.diagonal.isBelow(t)}aspectToFit(t){const e=this.dimensions,r=t.dimensions,i=r.x,s=r.y;let n=e.x,a=e.y;return n>a&&0!==n?(a*=i/n,n=i,a>s&&(a=s,n*=a/e.y)):a>s&&(n*=s/a,a=s),new M(this.origin.x,this.origin.y,n,a)}}class B{constructor(){if(this.constructor===B)throw new Error("Cannot instantiate abstract class: AbstractSpecification")}and(t){return new E(this,t)}or(t){return new D(this,t)}xor(t){return new I(this,t)}not(t){return new P(this,t)}isSatisfiedBy(){throw new Error("Abstract method must be implemented.")}}class E extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return this._specificationA.isSatisfiedBy(t)&&this._specificationB.isSatisfiedBy(t)}}class D extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return this._specificationA.isSatisfiedBy(t)||this._specificationB.isSatisfiedBy(t)}}class I extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return !this._specificationA.isSatisfiedBy(t)!=!this._specificationB.isSatisfiedBy(t)}}class P extends B{constructor(t){super(),this._specification=t;}isSatisfiedBy(t){return !this._specification.isSatisfiedBy(t)}}class T{constructor(){if(this.constructor===T)throw new Error("Cannot instantiate abstract class.")}execute(){throw new Error("Abstract method must be implemented.")}}var j=(t,e,r=!1)=>{let i;return (...s)=>{const n=r&&!i;clearTimeout(i),i=setTimeout((()=>{i=null,r||t(...s);}),e),n&&t(...s);}},z=(e,r)=>t.isPromise(e)||t.isAsyncFunction(e)?t.isFunction(e.then)?e.then((t=>t&&r())):e().then((t=>t&&r())):t.isFunction(e)&&e?e()&&r():t.isTrue(e)&&r();class L{constructor(t){this._milliseconds=t;}get isRunning(){return t.exists(this._intervalId)}onInterval(t){return this.clear(),this._didInterval=t,this}start(){return this.clear(),this._intervalId=setInterval((()=>{this._didInterval();}),this._milliseconds),this}clear(){return clearInterval(this._intervalId),this._intervalId=null,this}}var q=t=>setTimeout(t,0);class C{constructor(t){this._milliseconds=t;}get isRunning(){return t.exists(this._timeoutId)}onTimeout(t){return this.clear(),this._didTimeout=t,this}start(){return this.clear(),this._timeoutId=setTimeout((()=>{this._didTimeout();}),this._milliseconds),this}clear(){return clearTimeout(this._timeoutId),this._timeoutId=null,this}}var Y=t=>new Promise((e=>setTimeout(e,t)));function k(t){const e=isNaN(parseInt(t))||t<0||t>24?24:t,r=Math.random().toString().substring(2),i=Math.random().toString().substring(2);return r.concat(i).substring(0,e)}function Z(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}var R=Object.freeze({__proto__:null,uid:k,uuid:Z,suid:function(){return Symbol(k())},suuid:function(){return Symbol(Z())}});var U=Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/#:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?#]+=[^=?#]*(&[^=?#]+=[^=?#]*)*(#.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});
2
-
3
- export { C, L, M, R, Y, a, c, j, o, t };
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(s){i=[6,s];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","ku4web-components");var a=e("B",{allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,cssVarShim:false,devTools:false,disconnectedCallback:true,dynamicImportShim:false,element:false,event:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:true,isTesting:true,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:true,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,safari10:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,shadowDomShim:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:false,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true});var o={};var i;var s;var l;var f;var c=0;var u=false;var d=false;var $=false;var v=false;var h=null;var m=0;var p=false;var g=e("w",typeof window!=="undefined"?window:{});var y=e("C",a.cssVarShim?g.CSS:null);var b=e("d",g.document||{head:{}});var w=e("H",g.HTMLElement||function(){function e(){}return e}());var S=e("p",{$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}});var N=function(e){Object.assign(S,e)};var R=a.shadowDomShim&&a.shadowDom?function(){return(b.head.attachShadow+"").indexOf("[native")>-1}():true;var C=function(){var e=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(t){}return e}();var L=e("a",(function(e){return Promise.resolve(e)}));var x=a.constructableCSS?function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}():false;var T={};var k=function(e,t,n,r){if(a.hostListener&&n){if(a.hostListenerTargetParent){if(r){n=n.filter((function(e){var t=e[0];return t&32}))}else{n=n.filter((function(e){var t=e[0];return!(t&32)}))}}n.map((function(n){var r=n[0],o=n[1],i=n[2];var s=a.hostListenerTarget?D(e,r):e;var l=_(t,i);var f=A(r);S.ael(s,o,l,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return S.rel(s,o,l,f)}))}))}};var _=function(e,t){return function(n){try{if(a.lazyLoad){if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}else{e.$hostElement$[t](n)}}catch(r){zt(r)}}};var D=function(e,t){if(a.hostListenerTargetDocument&&t&4)return b;if(a.hostListenerTargetWindow&&t&8)return g;if(a.hostListenerTargetBody&&t&16)return b.body;if(a.hostListenerTargetParent&&t&32)return e.parentElement;return e};var A=function(e){return C?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var E="r";var O="o";var P="s";var I="t";var z="s-id";var j="sty-id";var M="c-id";var B="{visibility:hidden}[hydrated]{visibility:inherit}";var U="http://www.w3.org/1999/xlink";var F=function(e,t){if(t===void 0){t=""}if(a.profile&&performance.mark){var n="st:".concat(e,":").concat(t,":").concat(c++);performance.mark(n);return function(){return performance.measure("[Stencil] ".concat(e,"() <").concat(t,">"),n)}}else{return function(){return}}};var H=function(e,t){if(a.profile&&performance.mark){if(performance.getEntriesByName(e).length===0){performance.mark(e)}return function(){if(performance.getEntriesByName(t).length===0){performance.measure(t,e)}}}else{return function(){return}}};var V=function(e){var t;var n=Et(e);if(!n){return undefined}var r=n.$flags$;var a=n.$hostElement$;return t={renderCount:n.$renderCount$,flags:{hasRendered:!!(r&2),hasConnected:!!(r&1),isWaitingForChildren:!!(r&4),isConstructingInstance:!!(r&8),isQueuedForUpdate:!!(r&16),hasInitializedComponent:!!(r&32),hasLoadedComponent:!!(r&64),isWatchReady:!!(r&128),isListenReady:!!(r&256),needsRerender:!!(r&512)},instanceValues:n.$instanceValues$,ancestorComponent:n.$ancestorComponent$,hostElement:a,lazyInstance:n.$lazyInstance$,vnode:n.$vnode$,modeName:n.$modeName$,onReadyPromise:n.$onReadyPromise$,onReadyResolve:n.$onReadyResolve$,onInstancePromise:n.$onInstancePromise$,onInstanceResolve:n.$onInstanceResolve$,onRenderResolve:n.$onRenderResolve$,queuedListeners:n.$queuedListeners$,rmListeners:n.$rmListeners$},t["s-id"]=a["s-id"],t["s-cr"]=a["s-cr"],t["s-lr"]=a["s-lr"],t["s-p"]=a["s-p"],t["s-rc"]=a["s-rc"],t["s-sc"]=a["s-sc"],t};var W=function(){if(a.devTools){var e=g.stencil=g.stencil||{};var t=e.inspect;e.inspect=function(e){var n=V(e);if(!n&&typeof t==="function"){n=t(e)}return n}}};var q=new WeakMap;var Q=function(e,t,n){var r=Wt.get(e);if(x&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Wt.set(e,r)};var K=function(e,t,n,r){var o=J(t,n);var i=Wt.get(o);if(!a.attachStyles){return o}e=e.nodeType===11?e:b;if(i){if(typeof i==="string"){e=e.head||e;var s=q.get(e);var l=void 0;if(!s){q.set(e,s=new Set)}if(!s.has(o)){if(a.hydrateClientSide&&e.host&&(l=e.querySelector("[".concat(j,'="').concat(o,'"]')))){l.innerHTML=i}else{if(a.cssVarShim&&S.$cssShim$){l=S.$cssShim$.createHostStyle(r,o,i,!!(t.$flags$&10));var f=l["s-sc"];if(f){o=f;s=null}}else{l=b.createElement("style");l.innerHTML=i}if(a.hydrateServerSide||a.hotModuleReplacement){l.setAttribute(j,o)}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(o)}}}else if(a.constructableCSS&&!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return o};var X=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var o=F("attachStyles",t.$tagName$);var i=K(a.shadowDom&&R&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);if((a.shadowDom||a.scoped)&&a.cssAnnotations&&r&10){n["s-sc"]=i;n.classList.add(i+"-h");if(a.scoped&&r&2){n.classList.add(i+"-s")}}o()};var J=function(e,t){return"sc-"+(a.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$)};var G=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(e){return qt.map((function(t){return t(e)})).find((function(e){return!!e}))};var Z=function(e){return qt.push(e)};var ee=function(e){return Et(e).$modeName$};var te={};var ne="http://www.w3.org/2000/svg";var re="http://www.w3.org/1999/xhtml";var ae=function(e){return e!=null};var oe=function(e){e=typeof e;return e==="object"||e==="function"};var ie=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var o=null;var i=null;var s=null;var l=false;var f=false;var c=[];var u=function(t){for(var n=0;n<t.length;n++){o=t[n];if(Array.isArray(o)){u(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!oe(o)){o=String(o)}else if(a.isDev&&typeof e!=="function"&&o.$flags$===undefined){Mt("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(l&&f){c[c.length-1].$text$+=o}else{c.push(l?se(null,o):o)}f=l}}};u(n);if(t){if(a.isDev&&e==="input"){$e(t)}if(a.vdomKey&&t.key){i=t.key}if(a.slotRelocation&&t.name){s=t.name}if(a.vdomClass){var d=t.className||t.class;if(d){t.class=typeof d!=="object"?d:Object.keys(d).filter((function(e){return d[e]})).join(" ")}}}if(a.isDev&&c.some(fe)){Mt("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(a.vdomFunctional&&typeof e==="function"){return e(t===null?{}:t,c,ce)}var $=se(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}if(a.vdomKey){$.$key$=i}if(a.slotRelocation){$.$name$=s}return $}));var se=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};if(a.vdomAttribute){n.$attrs$=null}if(a.vdomKey){n.$key$=null}if(a.slotRelocation){n.$name$=null}return n};var le=e("f",{});var fe=function(e){return e&&e.$tag$===le};var ce={forEach:function(e,t){return e.map(ue).forEach(t)},map:function(e,t){return e.map(ue).map(t).map(de)}};var ue=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var de=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return ie.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=se(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var $e=function(e){var t=Object.keys(e);var n=t.indexOf("value");if(n===-1){return}var r=t.indexOf("type");var a=t.indexOf("min");var o=t.indexOf("max");var i=t.indexOf("step");if(n<r||n<a||n<o||n<i){Bt('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var ve=function(e,t,n,r,o,i){if(n!==r){var s=It(e,t);var l=t.toLowerCase();if(a.vdomClass&&t==="class"){var f=e.classList;var c=me(n);var u=me(r);f.remove.apply(f,c.filter((function(e){return e&&!u.includes(e)})));f.add.apply(f,u.filter((function(e){return e&&!c.includes(e)})))}else if(a.vdomStyle&&t==="style"){if(a.updatable){for(var d in n){if(!r||r[d]==null){if(!a.hydrateServerSide&&d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in r){if(!n||r[d]!==n[d]){if(!a.hydrateServerSide&&d.includes("-")){e.style.setProperty(d,r[d])}else{e.style[d]=r[d]}}}}else if(a.vdomKey&&t==="key");else if(a.vdomRef&&t==="ref"){if(r){r(e)}}else if(a.vdomListener&&(a.lazyLoad?!s:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(It(g,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(n){S.rel(e,t,n,false)}if(r){S.ael(e,t,r,false)}}else if(a.vdomPropOrAttr){var $=oe(r);if((s||$&&r!==null)&&!o){try{if(!e.tagName.includes("-")){var v=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=v){e[t]=v}}else{e[t]=r}}catch(m){}}var h=false;if(a.vdomXlink){if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a.vdomXlink&&h){e.removeAttributeNS(U,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!$){r=r===true?"":r;if(a.vdomXlink&&h){e.setAttributeNS(U,t,r)}else{e.setAttribute(t,r)}}}}};var he=/\s/;var me=function(e){return!e?[]:e.split(he)};var pe=function(e,t,n,r){var o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||te;var s=t.$attrs$||te;if(a.updatable){for(r in i){if(!(r in s)){ve(o,r,i[r],undefined,n,t.$flags$)}}}for(r in s){ve(o,r,i[r],s[r],n,t.$flags$)}};var ge=function(e,t,n,r){var o=t.$children$[n];var f=0;var c;var d;var h;if(a.slotRelocation&&!u){$=true;if(o.$tag$==="slot"){if(i){r.classList.add(i+"-s")}o.$flags$|=o.$children$?2:1}}if(a.isDev&&o.$elm$){Mt("The JSX ".concat(o.$text$!==null?'"'.concat(o.$text$,'" text'):'"'.concat(o.$tag$,'" element')," node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes"))}if(a.vdomText&&o.$text$!==null){c=o.$elm$=b.createTextNode(o.$text$)}else if(a.slotRelocation&&o.$flags$&1){c=o.$elm$=a.isDebug||a.hydrateServerSide?Ee(o):b.createTextNode("")}else{if(a.svg&&!v){v=o.$tag$==="svg"}c=o.$elm$=a.svg?b.createElementNS(v?ne:re,a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$):b.createElement(a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$);if(a.svg&&v&&o.$tag$==="foreignObject"){v=false}if(a.vdomAttribute){pe(null,o,v)}if((a.shadowDom||a.scoped)&&ae(i)&&c["s-si"]!==i){c.classList.add(c["s-si"]=i)}if(o.$children$){for(f=0;f<o.$children$.length;++f){d=ge(e,o,f,c);if(d){c.appendChild(d)}}}if(a.svg){if(o.$tag$==="svg"){v=false}else if(c.tagName==="foreignObject"){v=true}}}if(a.slotRelocation){c["s-hn"]=l;if(o.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=s;c["s-sn"]=o.$name$||"";h=e&&e.$children$&&e.$children$[n];if(h&&h.$tag$===o.$tag$&&e.$elm$){ye(e.$elm$,false)}}}return c};var ye=function(e,t){S.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==l&&a["s-ol"]){Ce(a).insertBefore(a,Re(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(t){ye(a,t)}}S.$flags$&=~1};var be=function(e,t,n,r,o,i){var s=a.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;var f;if(a.shadowDom&&s.shadowRoot&&s.tagName===l){s=s.shadowRoot}for(;o<=i;++o){if(r[o]){f=ge(null,n,o,e);if(f){r[o].$elm$=f;s.insertBefore(f,a.slotRelocation?Re(t):t)}}}};var we=function(e,t,n,r,o){for(;t<=n;++t){if(r=e[t]){o=r.$elm$;De(r);if(a.slotRelocation){d=true;if(o["s-ol"]){o["s-ol"].remove()}else{ye(o,true)}}o.remove()}}};var Se=function(e,t,n,r){var o=0;var i=0;var s=0;var l=0;var f=t.length-1;var c=t[0];var u=t[f];var d=r.length-1;var $=r[0];var v=r[d];var h;var m;while(o<=f&&i<=d){if(c==null){c=t[++o]}else if(u==null){u=t[--f]}else if($==null){$=r[++i]}else if(v==null){v=r[--d]}else if(Ne(c,$)){Le(c,$);c=t[++o];$=r[++i]}else if(Ne(u,v)){Le(u,v);u=t[--f];v=r[--d]}else if(Ne(c,v)){if(a.slotRelocation&&(c.$tag$==="slot"||v.$tag$==="slot")){ye(c.$elm$.parentNode,false)}Le(c,v);e.insertBefore(c.$elm$,u.$elm$.nextSibling);c=t[++o];v=r[--d]}else if(Ne(u,$)){if(a.slotRelocation&&(c.$tag$==="slot"||v.$tag$==="slot")){ye(u.$elm$.parentNode,false)}Le(u,$);e.insertBefore(u.$elm$,c.$elm$);u=t[--f];$=r[++i]}else{s=-1;if(a.vdomKey){for(l=o;l<=f;++l){if(t[l]&&t[l].$key$!==null&&t[l].$key$===$.$key$){s=l;break}}}if(a.vdomKey&&s>=0){m=t[s];if(m.$tag$!==$.$tag$){h=ge(t&&t[i],n,s,e)}else{Le(m,$);t[s]=undefined;h=m.$elm$}$=r[++i]}else{h=ge(t&&t[i],n,i,e);$=r[++i]}if(h){if(a.slotRelocation){Ce(c.$elm$).insertBefore(h,Re(c.$elm$))}else{c.$elm$.parentNode.insertBefore(h,c.$elm$)}}}}if(o>f){be(e,r[d+1]==null?null:r[d+1].$elm$,n,r,i,d)}else if(a.updatable&&i>d){we(t,o,f)}};var Ne=function(e,t){if(e.$tag$===t.$tag$){if(a.slotRelocation&&e.$tag$==="slot"){return e.$name$===t.$name$}if(a.vdomKey){return e.$key$===t.$key$}return true}return false};var Re=function(e){return e&&e["s-ol"]||e};var Ce=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var Le=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var o=t.$children$;var i=t.$tag$;var s=t.$text$;var l;if(!a.vdomText||s===null){if(a.svg){v=i==="svg"?true:i==="foreignObject"?false:v}if(a.vdomAttribute||a.reflect){if(a.slot&&i==="slot");else{pe(e,t,v)}}if(a.updatable&&r!==null&&o!==null){Se(n,r,t,o)}else if(o!==null){if(a.updatable&&a.vdomText&&e.$text$!==null){n.textContent=""}be(n,null,t,o,0,o.length-1)}else if(a.updatable&&r!==null){we(r,0,r.length-1)}if(a.svg&&v&&i==="svg"){v=false}}else if(a.vdomText&&a.slotRelocation&&(l=n["s-cr"])){l.parentNode.textContent=s}else if(a.vdomText&&e.$text$!==s){n.data=s}};var xe=function(e){var t=e.childNodes;var n;var r;var a;var o;var i;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}xe(n)}}};var Te=[];var ke=function(e){var t;var n;var r;var a;var o;var i;var s=0;var l=e.childNodes;var f=l.length;for(;s<f;s++){t=l[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(i=r.length-1;i>=0;i--){n=r[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(_e(n,a)){o=Te.find((function(e){return e.$nodeToRelocate$===n}));d=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{Te.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){Te.map((function(e){if(_e(e.$nodeToRelocate$,n["s-sn"])){o=Te.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!Te.some((function(e){return e.$nodeToRelocate$===n}))){Te.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){ke(t)}}};var _e=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var De=function(e){if(a.vdomRef){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(De)}};var Ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var o=e.$vnode$||se(null,null);var f=fe(t)?t:ie(null,null,t);l=n.tagName;if(a.isDev&&Array.isArray(t)&&t.some(fe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(l.toLowerCase(),'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n '))}if(a.reflect&&r.$attrsToReflect$){f.$attrs$=f.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return f.$attrs$[r]=n[t]}))}f.$tag$=null;f.$flags$|=4;e.$vnode$=f;f.$elm$=o.$elm$=a.shadowDom?n.shadowRoot||n:n;if(a.scoped||a.shadowDom){i=n["s-sc"]}if(a.slotRelocation){s=n["s-cr"];u=R&&(r.$flags$&1)!==0;d=false}Le(o,f);if(a.slotRelocation){S.$flags$|=1;if($){ke(f.$elm$);var c=void 0;var v=void 0;var h=void 0;var m=void 0;var p=void 0;var g=void 0;var y=0;for(;y<Te.length;y++){c=Te[y];v=c.$nodeToRelocate$;if(!v["s-ol"]){h=a.isDebug||a.hydrateServerSide?Oe(v):b.createTextNode("");h["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=h,v)}}for(y=0;y<Te.length;y++){c=Te[y];v=c.$nodeToRelocate$;if(c.$slotRefNode$){m=c.$slotRefNode$.parentNode;p=c.$slotRefNode$.nextSibling;h=v["s-ol"];while(h=h.previousSibling){g=h["s-nr"];if(g&&g["s-sn"]===v["s-sn"]&&m===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){p=g;break}}}if(!p&&m!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}m.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(d){xe(f.$elm$)}S.$flags$&=~1;Te.length=0}};var Ee=function(e){return b.createComment("<slot".concat(e.$name$?' name="'+e.$name$+'"':"","> (host=").concat(l.toLowerCase(),")"))};var Oe=function(e){return b.createComment("org-location for "+(e.localName?"<".concat(e.localName,"> (host=").concat(e["s-hn"],")"):"[".concat(e.textContent,"]")))};var Pe=e("g",(function(e){return a.lazyLoad?Et(e).$hostElement$:e}));var Ie=e("e",(function(e,t,n){var r=Pe(e);return{emit:function(e){if(a.isDev&&!r.isConnected){Bt('The "'.concat(t,'" event was emitted, but the dispatcher node is no longer connected to the dom.'))}return ze(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var ze=function(e,t,n){var r=S.ce(t,n);e.dispatchEvent(r);return r};var je=function(e,t){if(a.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var Me=function(e,t){if(a.taskQueue&&a.updatable){e.$flags$|=16}if(a.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}je(e,e.$ancestorComponent$);var n=function(){return Be(e,t)};return a.taskQueue?nn(n):n()};var Be=function(e,t){var n=e.$hostElement$;var r=F("scheduleUpdate",e.$cmpMeta$.$tagName$);var o=a.lazyLoad?e.$lazyInstance$:n;var i;if(t){if(a.lazyLoad&&a.hostListener){e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return Qe(o,t,n)}));e.$queuedListeners$=null}}Xe(n,"componentWillLoad");if(a.cmpWillLoad){i=Qe(o,"componentWillLoad")}}else{Xe(n,"componentWillUpdate");if(a.cmpWillUpdate){i=Qe(o,"componentWillUpdate")}}Xe(n,"componentWillRender");if(a.cmpWillRender){i=Ke(i,(function(){return Qe(o,"componentWillRender")}))}r();return Ke(i,(function(){return Ue(e,o,t)}))};var Ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,o,i,s,l,f;return __generator(this,(function(c){switch(c.label){case 0:n=e.$hostElement$;o=F("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(a.style&&r){X(e)}s=F("render",e.$cmpMeta$.$tagName$);if(a.isDev){e.$flags$|=1024}if(!a.hydrateServerSide)return[3,2];return[4,Fe(e,t,n)];case 1:c.sent();return[3,3];case 2:Fe(e,t,n);c.label=3;case 3:if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.updateHost(n)}if(a.isDev){e.$renderCount$++;e.$flags$&=~1024}if(a.hydrateServerSide){try{Ge(n);if(r){if(e.$cmpMeta$.$flags$&1){n["s-en"]=""}else if(e.$cmpMeta$.$flags$&2){n["s-en"]="c"}}}catch(u){zt(u,n)}}if(a.asyncLoading&&i){i.map((function(e){return e()}));n["s-rc"]=undefined}s();o();if(a.asyncLoading){l=n["s-p"];f=function(){return Ve(e)};if(l.length===0){f()}else{Promise.all(l).then(f);e.$flags$|=4;l.length=0}}else{Ve(e)}return[2]}}))}))};var Fe=function(e,t,n){var r=a.allRenderFn?true:false;var o=a.lazyLoad?true:false;var i=a.taskQueue?true:false;var s=a.updatable?true:false;try{h=t;t=r?t.render():t.render&&t.render();if(s&&i){e.$flags$&=~16}if(s||o){e.$flags$|=2}if(a.hasRenderFn||a.reflect){if(a.vdomRender||a.reflect){if(a.hydrateServerSide){return Promise.resolve(t).then((function(t){return Ae(e,t)}))}else{Ae(e,t)}}else{n.textContent=t}}}catch(l){zt(l,e.$hostElement$)}h=null;return null};var He=function(){return h};var Ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=F("postUpdate",t);var o=a.lazyLoad?e.$lazyInstance$:n;var i=e.$ancestorComponent$;if(a.cmpDidRender){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidRender");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidRender");if(!(e.$flags$&64)){e.$flags$|=64;if(a.asyncLoading&&a.cssAnnotations){Je(n)}if(a.cmpDidLoad){if(a.isDev){e.$flags$|=2048}Qe(o,"componentDidLoad");if(a.isDev){e.$flags$&=~2048}}Xe(n,"componentDidLoad");r();if(a.asyncLoading){e.$onReadyResolve$(n);if(!i){qe(t)}}}else{if(a.cmpDidUpdate){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidUpdate");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidUpdate");r()}if(a.hotModuleReplacement){n["s-hmr-load"]&&n["s-hmr-load"]()}if(a.method&&a.lazyLoad){e.$onInstanceResolve$(n)}if(a.asyncLoading){if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){en((function(){return Me(e,false)}))}e.$flags$&=~(4|512)}};var We=function(e){if(a.updatable){var t=Et(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){Me(t,false)}return n}return false};var qe=function(e){if(a.cssAnnotations){Je(b.documentElement)}if(a.asyncQueue){S.$flags$|=2}en((function(){return ze(g,"appload",{detail:{namespace:r}})}));if(a.profile&&performance.measure){performance.measure("[Stencil] ".concat(r," initial load (by ").concat(e,")"),"st:app:start")}};var Qe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(r){zt(r)}}return undefined};var Ke=function(e,t){return e&&e.then?e.then(t):t()};var Xe=function(e,t){if(a.lifecycleDOMEvents){ze(e,"stencil_"+t,{bubbles:true,composed:true,detail:{namespace:r}})}};var Je=function(e){return a.hydratedClass?e.classList.add("hydrated"):a.hydratedAttribute?e.setAttribute("hydrated",""):undefined};var Ge=function(e){var t=e.children;if(t!=null){for(var n=0,r=t.length;n<r;n++){var a=t[n];if(typeof a.connectedCallback==="function"){a.connectedCallback()}Ge(a)}}};var Ye=function(e,t,n,r){var o=F("hydrateClient",t);var i=e.shadowRoot;var s=[];var l=[];var f=a.shadowDom&&i?[]:null;var c=r.$vnode$=se(t,null);if(!S.$orgLocNodes$){et(b.body,S.$orgLocNodes$=new Map)}e[z]=n;e.removeAttribute(z);Ze(c,s,l,f,e,e,n);s.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=S.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&R&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}S.$orgLocNodes$.delete(n)}));if(a.shadowDom&&i){f.map((function(e){if(e){i.appendChild(e)}}))}o()};var Ze=function(e,t,n,r,o,i,s){var l;var f;var c;var u;if(i.nodeType===1){l=i.getAttribute(M);if(l){f=l.split(".");if(f[0]===s||f[0]==="0"){c={$flags$:0,$hostId$:f[0],$nodeId$:f[1],$depth$:f[2],$index$:f[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(c);i.removeAttribute(M);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;e=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){Ze(e,t,n,r,o,i.childNodes[u],s)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){Ze(e,t,n,r,o,i.shadowRoot.childNodes[u],s)}}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){l=f[0];c={$flags$:0,$hostId$:f[1],$nodeId$:f[2],$depth$:f[3],$index$:f[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(l===I){c.$elm$=i.nextSibling;if(c.$elm$&&c.$elm$.nodeType===3){c.$text$=c.$elm$.textContent;t.push(c);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}else if(c.$hostId$===s){if(l===P){c.$tag$="slot";if(f[5]){i["s-sn"]=c.$name$=f[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(a.shadowDom&&r){c.$elm$=b.createElement(c.$tag$);if(c.$name$){c.$elm$.setAttribute("name",c.$name$)}i.parentNode.insertBefore(c.$elm$,i);i.remove();if(c.$depth$==="0"){r[c.$index$]=c.$elm$}}n.push(c);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c}else if(l===E){if(a.shadowDom&&r){i.remove()}else if(a.slotRelocation){o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var d=se(null,i.textContent);d.$elm$=i;d.$index$="0";e.$children$=[d]}};var et=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){et(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){et(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===O){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var tt=function(e,t){if(e!=null&&!oe(e)){if(a.propBoolean&&t&4){return e==="false"?false:e===""||!!e}if(a.propNumber&&t&2){return parseFloat(e)}if(a.propString&&t&1){return String(e)}return e}return e};var nt=function(e,t){return Et(e).$instanceValues$.get(t)};var rt=function(e,t,n,r){var o=Et(e);var i=a.lazyLoad?o.$hostElement$:e;var s=o.$instanceValues$.get(t);var l=o.$flags$;var f=a.lazyLoad?o.$lazyInstance$:i;n=tt(n,r.$members$[t][0]);var c=Number.isNaN(s)&&Number.isNaN(n);var u=n!==s&&!c;if((!a.lazyLoad||!(l&8)||s===undefined)&&u){o.$instanceValues$.set(t,n);if(a.isDev){if(o.$flags$&1024){Bt('The state/prop "'.concat(t,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",i,"\nNew value",n,"\nOld value",s)}else if(o.$flags$&2048){Bt('The state/prop "'.concat(t,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",i,"\nNew value",n,"\nOld value",s)}}if(!a.lazyLoad||f){if(a.watchCallback&&r.$watchers$&&l&128){var d=r.$watchers$[t];if(d){d.map((function(e){try{f[e](n,s,t)}catch(r){zt(r,i)}}))}}if(a.updatable&&(l&(2|16))===2){if(a.cmpShouldUpdate&&f.componentShouldUpdate){if(f.componentShouldUpdate(n,s,t)===false){return}}Me(o,false)}}}};var at=function(e,t,n){if(a.member&&t.$members$){if(a.watchCallback&&e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var o=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if((a.prop||a.state)&&(i&31||(!a.lazyLoad||n&2)&&i&32)){Object.defineProperty(o,r,{get:function(){return nt(this,r)},set:function(e){if(a.isDev){var o=Et(this);if((n&1)===0&&(o.$flags$&8)===0&&(i&31)!==0&&(i&1024)===0){Bt('@Prop() "'.concat(r,'" on <').concat(t.$tagName$,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability"))}}rt(this,r,e,t)},configurable:true,enumerable:true})}else if(a.lazyLoad&&a.method&&n&1&&i&64){Object.defineProperty(o,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Et(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(a.observeAttribute&&(!a.lazyLoad||n&1)){var i=new Map;o.attributeChangedCallback=function(e,t,n){var r=this;S.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(o.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var o=r[1]||n;i.set(o,n);if(a.reflect&&r[0]&512){t.$attrsToReflect$.push([n,o])}return o}))}}return e};var ot=function(e,r,o,i,s){return __awaiter(n,void 0,void 0,(function(){var n,l,f,c,u,d,$;return __generator(this,(function(v){switch(v.label){case 0:if(!((a.lazyLoad||a.hydrateServerSide||a.style)&&(r.$flags$&32)===0))return[3,7];if(!(a.lazyLoad||a.hydrateClientSide))return[3,3];r.$flags$|=32;s=Vt(o,r,i);if(!s.then)return[3,2];n=H("st:load:".concat(o.$tagName$,":").concat(r.$modeName$),"[Stencil] Load module for <".concat(o.$tagName$,">"));return[4,s];case 1:s=v.sent();n();v.label=2;case 2:if((a.isDev||a.isDebug)&&!s){throw new Error('Constructor for "'.concat(o.$tagName$,"#").concat(r.$modeName$,'" was not found'))}if(a.member&&!s.isProxied){if(a.watchCallback){o.$watchers$=s.watchers}at(s,o,2);s.isProxied=true}l=F("createInstance",o.$tagName$);if(a.member){r.$flags$|=8}try{new s(r)}catch(h){zt(h)}if(a.member){r.$flags$&=~8}if(a.watchCallback){r.$flags$|=128}l();it(r.$lazyInstance$);return[3,4];case 3:s=e.constructor;r.$flags$|=32;customElements.whenDefined(o.$tagName$).then((function(){return r.$flags$|=128}));v.label=4;case 4:if(!(a.style&&s.style))return[3,7];f=s.style;if(a.mode&&typeof f!=="string"){f=f[r.$modeName$=Y(e)];if(a.hydrateServerSide&&r.$modeName$){e.setAttribute("s-mode",r.$modeName$)}}c=J(o,r.$modeName$);if(!!Wt.has(c))return[3,7];u=F("registerStyles",o.$tagName$);if(!(!a.hydrateServerSide&&a.shadowDom&&a.shadowDomShim&&o.$flags$&8))return[3,6];return[4,t.import("./shadow-css-d0426811.system.js").then((function(e){return e.scopeCss(f,c,false)}))];case 5:f=v.sent();v.label=6;case 6:Q(c,f,!!(o.$flags$&1));u();v.label=7;case 7:d=r.$ancestorComponent$;$=function(){return Me(r,true)};if(a.asyncLoading&&d&&d["s-rc"]){d["s-rc"].push($)}else{$()}return[2]}}))}))};var it=function(e){if(a.lazyLoad&&a.connectedCallback){Qe(e,"connectedCallback")}};var st=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=t.$cmpMeta$;var r=F("connectedCallback",n.$tagName$);if(a.hostListenerTargetParent){k(e,t,n.$listeners$,true)}if(!(t.$flags$&1)){t.$flags$|=1;var o=void 0;if(a.hydrateClientSide){o=e.getAttribute(z);if(o){if(a.shadowDom&&R&&n.$flags$&1){var i=a.mode?K(e.shadowRoot,n,e.getAttribute("s-mode")):K(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}Ye(e,n.$tagName$,o,t)}}if(a.slotRelocation&&!o){if(a.hydrateServerSide||(a.slot||a.shadowDom)&&n.$flags$&(4|8)){lt(e)}}if(a.asyncLoading){var s=e;while(s=s.parentNode||s.host){if(a.hydrateClientSide&&s.nodeType===1&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){je(t,t.$ancestorComponent$=s);break}}}if(a.prop&&!a.hydrateServerSide&&n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}if(a.initializeNextTick){en((function(){return ot(e,t,n)}))}else{ot(e,t,n)}}else{k(e,t,n.$listeners$,false);it(t.$lazyInstance$)}r()}};var lt=function(e){var t=e["s-cr"]=b.createComment(a.isDebug?"content-ref (host=".concat(e.localName,")"):"");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var ft=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=a.lazyLoad?t.$lazyInstance$:e;if(a.hostListener){if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.removeHost(e)}if(a.lazyLoad&&a.disconnectedCallback){Qe(n,"disconnectedCallback")}if(a.cmpDidUnload){Qe(n,"componentDidUnload")}}};var ct=function(e,t){customElements.define(t[1],ut(e,t))};var ut=function(e,t){var n={$flags$:t[0],$tagName$:t[1]};if(a.member){n.$members$=t[2]}if(a.hostListener){n.$listeners$=t[3]}if(a.watchCallback){n.$watchers$=e.$watchers$}if(a.reflect){n.$attrsToReflect$=[]}if(a.shadowDom&&!R&&n.$flags$&1){n.$flags$|=8}var r=e.prototype.connectedCallback;var o=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__registerHost:function(){Pt(this,n)},connectedCallback:function(){st(this);if(a.connectedCallback&&r){r.call(this)}},disconnectedCallback:function(){ft(this);if(a.disconnectedCallback&&o){o.call(this)}},__attachShadow:function(){if(R){if(a.shadowDelegatesFocus){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}else{this.attachShadow({mode:"open"})}}else{this.shadowRoot=this}}});e.is=n.$tagName$;return at(e,n,1|2)};var dt=function(e){if(a.style&&a.mode&&!a.lazyLoad){var t=Y(e);var n=Et(e);if(n.$modeName$!==t){var r=n.$cmpMeta$;var o=e["s-sc"];var i=J(r,t);var s=e.constructor.style[t];var l=r.$flags$;if(s){if(!Wt.has(i)){Q(i,s,!!(l&1))}n.$modeName$=t;e.classList.remove(o+"-h",o+"-s");X(n);We(e)}}}};var $t=function(e,t,n){var r=Et(e);r.$flags$=1;e["s-hmr-load"]=function(){delete e["s-hmr-load"]};ot(e,r,t,n)};var vt=function(e){var t=e.cloneNode;e.cloneNode=function(e){var n=this;var r=a.shadowDom?n.shadowRoot&&R:false;var o=t.call(n,r?e:false);if(a.slot&&!r&&e){var i=0;var s=void 0,l=void 0;var f=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;i<n.childNodes.length;i++){s=n.childNodes[i]["s-nr"];l=f.every((function(e){return!n.childNodes[i][e]}));if(s){if(a.appendChildSlotFix&&o.__appendChild){o.__appendChild(s.cloneNode(true))}else{o.appendChild(s.cloneNode(true))}}if(l){o.appendChild(n.childNodes[i].cloneNode(true))}}}return o}};var ht=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=gt(e);var n=yt(this.childNodes,t);if(n){var r=bt(n,t);var a=r[r.length-1];return a.parentNode.insertBefore(e,a.nextSibling)}return this.__appendChild(e)}};var mt=function(e,t){if(a.scoped&&t.$flags$&2){var n=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",n);Object.defineProperty(e,"textContent",{get:function(){var e;var t=yt(this.childNodes,"");if(((e=t===null||t===void 0?void 0:t.nextSibling)===null||e===void 0?void 0:e.nodeType)===3){return t.nextSibling.textContent}else if(t){return t.textContent}else{return this.__textContent}},set:function(e){var t;var n=yt(this.childNodes,"");if(((t=n===null||n===void 0?void 0:n.nextSibling)===null||t===void 0?void 0:t.nodeType)===3){n.nextSibling.textContent=e}else if(n){n.textContent=e}else{this.__textContent=e;var r=this["s-cr"];if(r){this.insertBefore(r,this.firstChild)}}}})}};var pt=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((S.$flags$&1)===0&&Et(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var gt=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var yt=function(e,t){var n=0;var r;for(;n<e.length;n++){r=e[n];if(r["s-sr"]&&r["s-sn"]===t){return r}r=yt(r.childNodes,t);if(r){return r}}return null};var bt=function(e,t){var n=[e];while((e=e.nextSibling)&&e["s-sn"]===t){n.push(e)}return n};var wt=e("b",(function(e,t){if(t===void 0){t={}}if(a.profile&&performance.mark){performance.mark("st:app:start")}W();var n=F("bootstrapLazy");var r=[];var o=t.exclude||[];var i=g.customElements;var s=b.head;var l=s.querySelector("meta[charset]");var f=b.createElement("style");var c=[];var u=b.querySelectorAll("[".concat(j,"]"));var d;var $=true;var v=0;Object.assign(S,t);S.$resourcesUrl$=new URL(t.resourcesUrl||"./",b.baseURI).href;if(a.asyncQueue){if(t.syncQueue){S.$flags$|=4}}if(a.hydrateClientSide){S.$flags$|=2}if(a.hydrateClientSide&&a.shadowDom){for(;v<u.length;v++){Q(u[v].getAttribute(j),G(u[v].innerHTML),true)}}e.map((function(e){e[1].map((function(n){var s={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};if(a.member){s.$members$=n[2]}if(a.hostListener){s.$listeners$=n[3]}if(a.reflect){s.$attrsToReflect$=[]}if(a.watchCallback){s.$watchers$={}}if(a.shadowDom&&!R&&s.$flags$&1){s.$flags$|=8}var l=a.transformTagName&&t.transformTagName?t.transformTagName(s.$tagName$):s.$tagName$;var f=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Pt(t,s);if(a.shadowDom&&s.$flags$&1){if(R){if(a.shadowDelegatesFocus){t.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}else{t.attachShadow({mode:"open"})}}else if(!a.hydrateServerSide&&!("shadowRoot"in t)){t.shadowRoot=t}}if(a.slotChildNodesFix){pt(t,s)}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if($){c.push(this)}else{S.jmp((function(){return st(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return ft(e)}))};t.prototype.componentOnReady=function(){return Et(this).$onReadyPromise$};return t}(HTMLElement);if(a.cloneNodeFix){vt(f.prototype)}if(a.appendChildSlotFix){ht(f.prototype)}if(a.hotModuleReplacement){f.prototype["s-hmr"]=function(e){$t(this,s,e)}}if(a.scopedSlotTextContentFix){mt(f.prototype,s)}s.$lazyBundleId$=e[0];if(!o.includes(l)&&!i.get(l)){r.push(l);i.define(l,at(f,s,1))}}))}));if(a.invisiblePrehydration&&(a.hydratedClass||a.hydratedAttribute)){f.innerHTML=r+B;f.setAttribute("data-styles","");s.insertBefore(f,l?l.nextSibling:s.firstChild)}$=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{if(a.profile){S.jmp((function(){return d=setTimeout(qe,30,"timeout")}))}else{S.jmp((function(){return d=setTimeout(qe,30)}))}}n()}));var St=function(e){var t=new URL(e,S.$resourcesUrl$);return t.origin!==g.location.origin?t.href:t.pathname};var Nt=function(e){return S.$resourcesUrl$=e};var Rt=function(e,t){var n=function(){var e=b.querySelector(t);if(!e){e=b.createElement(t);b.body.appendChild(e)}return typeof e.componentOnReady==="function"?e.componentOnReady():Promise.resolve(e)};var r=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n().then((function(t){return t.create.apply(t,e)}))};return{create:r,componentOnReady:n}};var Ct=function(e,t){if(t in T){return T[t]}else if(t==="window"){return g}else if(t==="document"){return b}else if(t==="isServer"||t==="isPrerender"){return a.hydrateServerSide?true:false}else if(t==="isClient"){return a.hydrateServerSide?false:true}else if(t==="resourcesUrl"||t==="publicPath"){return St(".")}else if(t==="queue"){return{write:nn,read:tn,tick:{then:function(e){return en(e)}}}}return undefined};var Lt=function(e,t){if(e!=null){var n={hostIds:0,rootLevelIds:0,staticComponents:new Set(t)};var r=[];xt(e,e.body,n,r);r.forEach((function(t){if(t!=null){var r=t["s-nr"];var a=r["s-host-id"];var o=r["s-node-id"];var i="".concat(a,".").concat(o);if(a==null){a=0;n.rootLevelIds++;o=n.rootLevelIds;i="".concat(a,".").concat(o);if(r.nodeType===1){r.setAttribute(M,i)}else if(r.nodeType===3){if(a===0){var s=r.nodeValue.trim();if(s===""){t.remove();return}}var l=e.createComment(i);l.nodeValue="".concat(I,".").concat(i);r.parentNode.insertBefore(l,r)}}var f="".concat(O,".").concat(i);var c=t.parentElement;if(c){if(c["s-en"]===""){f+="."}else if(c["s-en"]==="c"){f+=".c"}}t.nodeValue=f}}))}};var xt=function(e,t,n,r){if(t==null){return}if(t["s-nr"]!=null){r.push(t)}if(t.nodeType===1){t.childNodes.forEach((function(t){var a=Et(t);if(a!=null&&!n.staticComponents.has(t.nodeName.toLowerCase())){var o={nodeIds:0};Tt(e,t,a.$vnode$,n,o)}xt(e,t,n,r)}))}};var Tt=function(e,t,n,r,a){if(n!=null){var o=++r.hostIds;t.setAttribute(z,o);if(t["s-cr"]!=null){t["s-cr"].nodeValue="".concat(E,".").concat(o)}if(n.$children$!=null){var i=0;n.$children$.forEach((function(t,n){kt(e,t,a,o,i,n)}))}if(t&&n&&n.$elm$&&!t.hasAttribute("c-id")){var s=t.parentElement;if(s&&s.childNodes){var l=Array.from(s.childNodes);var f=l.find((function(e){return e.nodeType===8&&e["s-sr"]}));if(f){var c=l.indexOf(t)-1;n.$elm$.setAttribute(M,"".concat(f["s-host-id"],".").concat(f["s-node-id"],".0.").concat(c))}}}}};var kt=function(e,t,n,r,a,o){var i=t.$elm$;if(i==null){return}var s=n.nodeIds++;var l="".concat(r,".").concat(s,".").concat(a,".").concat(o);i["s-host-id"]=r;i["s-node-id"]=s;if(i.nodeType===1){i.setAttribute(M,l)}else if(i.nodeType===3){var f=i.parentNode;var c=f.nodeName;if(c!=="STYLE"&&c!=="SCRIPT"){var u="".concat(I,".").concat(l);var d=e.createComment(u);f.insertBefore(d,i)}}else if(i.nodeType===8){if(i["s-sr"]){var $=i["s-sn"]||"";var v="".concat(P,".").concat(l,".").concat($);i.nodeValue=v}}if(t.$children$!=null){var h=a+1;t.$children$.forEach((function(t,a){kt(e,t,n,r,h,a)}))}};var _t=function(e){return Object.assign(S,e)};var Dt=function(e,t){return t};var At=new WeakMap;var Et=function(e){return At.get(e)};var Ot=e("r",(function(e,t){return At.set(t.$lazyInstance$=e,t)}));var Pt=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};if(a.isDev){n.$renderCount$=0}if(a.method&&a.lazyLoad){n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}if(a.asyncLoading){n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}k(e,n,t.$listeners$,false);return At.set(e,n)};var It=function(e,t){return t in e};var zt=function(e,t){return(f||console.error)(e,t)};var jt=a.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var Mt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.error.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))};var Bt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.warn.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))};var Ut=e("c",(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.info.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))}));var Ft=function(e){return f=e};var Ht=new Map;var Vt=function(e,n,r){var o=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;if(a.isDev&&typeof i!=="string"){Mt("Trying to lazily load component <".concat(e.$tagName$,'> with style mode "').concat(n.$modeName$,'", but it does not exist.'));return undefined}var s=!a.hotModuleReplacement?Ht.get(i):false;if(s){return s[o]}return t.import("./".concat(i,".entry.js").concat(a.hotModuleReplacement&&r?"?s-hmr="+r:"")).then((function(e){if(!a.hotModuleReplacement){Ht.set(i,e)}return e[o]}),zt)};var Wt=new Map;var qt=[];var Qt=[];var Kt=[];var Xt=[];var Jt=function(e,t){return function(n){e.push(n);if(!p){p=true;if(t&&S.$flags$&4){en(Zt)}else{S.raf(Zt)}}}};var Gt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(n){zt(n)}}e.length=0};var Yt=function(e,t){var n=0;var r=0;while(n<e.length&&(r=performance.now())<t){try{e[n++](r)}catch(a){zt(a)}}if(n===e.length){e.length=0}else if(n!==0){e.splice(0,n)}};var Zt=function(){if(a.asyncQueue){m++}Gt(Qt);if(a.asyncQueue){var e=(S.$flags$&6)===2?performance.now()+14*Math.ceil(m*(1/10)):Infinity;Yt(Kt,e);Yt(Xt,e);if(Kt.length>0){Xt.push.apply(Xt,Kt);Kt.length=0}if(p=Qt.length+Kt.length+Xt.length>0){S.raf(Zt)}else{m=0}}else{Gt(Kt);if(p=Qt.length>0){S.raf(Zt)}}};var en=function(e){return L().then(e)};var tn=Jt(Qt,false);var nn=Jt(Kt,true);var rn={isDev:a.isDev?true:false,isBrowser:true,isServer:false,isTesting:a.isTesting?true:false}}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r["throw"](e))}catch(t){i(t)}}function s(e){e.done?n(e.value):o(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(u){a=[6,u];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(exports){"use strict";return{execute:function(){var _this=this;var t=function(){function e(){}e.isNull=function(e){return null===e};e.isEmpty=function(t){return e.isString(t)&&""===t||e.isArray(t)&&t.length<1||e.isObjectLiteral(t)&&Object.keys(t).length<1};e.isUndefined=function(e){return void 0===e};e.isZero=function(e){return 0===e};e.exists=function(t){return!(e.isUndefined(t)||e.isNull(t))};e.isNullOrEmpty=function(t){return!e.exists(t)||e.isEmpty(t)};e.isArray=function(e){return Array.isArray(e)};e.isBool=function(e){return"boolean"==typeof e};e.isTrue=function(t){return e.isBool(t)&&!0===t};e.isFalse=function(t){return e.isBool(t)&&!1===t};e.isDate=function(e){return e instanceof Date};e.isNumber=function(e){return("number"==typeof e||e instanceof Number)&&!isNaN(e)};e.isEven=function(e){return this.isNumber(e)&&!this.isZero(e)&&e%2==0};e.isOdd=function(e){return this.isNumber(e)&&!this.isZero(e)&&!this.isEven(e)};e.isString=function(e){return"string"==typeof e||e instanceof String};e.isFunction=function(e){return e instanceof Function};e.isAsyncFunction=function(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||e.isFunction(t)&&/^async/.test(t.toString())||e.isFunction(t().then)}catch(t){return!1}};e.isPromise=function(e){return e instanceof Promise};e.isObject=function(t){return e.exists(t)&&"object"==typeof t&&!(e.isBool(t)||e.isNumber(t)||e.isDate(t)||e.isArray(t)||e.isString(t)||e.isFunction(t))};e.isObjectLiteral=function(t){return e.isObject(t)&&t.constructor==={}.constructor};e.isTruthy=function(t){return!e.isFalsy(t)};e.isFalsy=function(t){return e.isZero(t)||e.isFalse(t)||e.isNullOrEmpty(t)||isNaN(t)};return e}();function e(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return"".concat.apply("",e)}function r(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return t.reduce((function(e,t,n){return e.replace(new RegExp("\\{".concat(n,"\\}"),"g"),t&&t.toString?t.toString():t)}),e)}function i(e){return s(n(e))}function s(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/^[\s\n]*/,""):e}function n(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/[\s\n]*$/,""):e}var a=Object.freeze({__proto__:null,build:e,chunk:function(e,n){if(n===void 0){n=0}if(!t.isString(e)||Number.isNaN(n)||n<0)return[];if(n<e.length){var r=0;var o=n||e.length,i=[];for(;r<e.length;)i.push(e.slice(r,r+o)),r+=o;return i}return[e]},format:r,trim:i,trimStart:s,trimEnd:n,capitalize:function(e){if(e===void 0){e=""}return(e||"").charAt(0).toUpperCase()+(e||"").slice(1).toLowerCase()},mask:function(e,n,r){if(r===void 0){r="_"}return t.isFunction(n)?n(e):t.isString(n)&&e.split("").reduce((function(e,t){return e.replace(new RegExp(r),t)}),n)},unmask:function(e,n,r){if(r===void 0){r="_"}var o=new RegExp(r);return t.isFunction(n)?n(e):t.isString(n)&&e.split("").reduce((function(e,t,r){return!o.test(t)&&o.test(n.charAt(r))?e+t:e}),"")}});function h(e,t){try{return e()}catch(n){return t}}var l;h.async=function(e,t){return __awaiter(_this,void 0,void 0,(function(){var n;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,e()];case 1:return[2,r.sent()];case 2:n=r.sent();return[2,t];case 3:return[2]}}))}))};var d=function(){function e(e,t,n){if(t<1||t>12)throw new Error("Invalid month at Assert.DayPoint");if(n<1||n>y(t,e))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(e,t-1,n):new Date,this._day=this._value.getDay(),this._date=n,this._month=t,this._year=e}Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this._day},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"date",{get:function(){return this._date},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this._month},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this._year},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"shortYear",{get:function(){var e=this._year.toString();return parseInt(e.substr(e.length-2))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekday",{get:function(){var e=this._day;return e>0&&e<6},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return!this.isWeekday},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isLeapYear",{get:function(){return f(this._year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextDay",{get:function(){return p(this,1,0,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevDay",{get:function(){return p(this,-1,0,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextMonth",{get:function(){return p(this,0,1,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevMonth",{get:function(){return p(this,0,-1,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextYear",{get:function(){return p(this,0,0,1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevYear",{get:function(){return p(this,0,0,-1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"firstDayOfMonth",{get:function(){return new e(this._year,this._month,1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDayOfMonth",{get:function(){return new e(this._year,this._month,y(this._month,this._year))},enumerable:false,configurable:true});e.prototype.add=function(e,t,n){function r(e,t,n){var r=e,o=t;for(;o--;)r=r[n];return r}var o=Math.abs,i=o(e),a=o(n),u=o(t),s=n<0?"prevDay":"nextDay",c=t<0?"prevMonth":"nextMonth";return r(r(r(this,i,e<0?"prevYear":"nextYear"),u,c),a,s)};e.prototype.isBefore=function(e){return!(this.isAfter(e)||this.equals(e))};e.prototype.isAfter=function(e){var t=this._year,n=e.year,r=this._month,o=e.month;return t>n||t===n&&r>o||t===n&&r===o&&this._date>e.date};e.prototype.equals=function(e){return this._year===e.year&&this._month===e.month&&this._date===e.date};e.prototype.toString=function(e){if(e===void 0){e="mm/dd/yyyy"}var t=/y{3,}/i.test(e)?this._year:this.shortYear,n=this._month,o=this._date,i=/m{2}/i.test(e)&&n<10?"0{1}":"{1}",a=/d{2}/i.test(e)&&o<10?"0{2}":"{2}";return r(e.replace(/y+/gi,"{0}").replace(/m+/gi,i).replace(/d+/gi,a),t,n,o)};e.prototype.toDate=function(){return this._value};e.prototype.toJson=function(){return this._value.toJSON()};e.canParse=function(n){return t.isString(n)||t.isNumber(n)||t.isDate(n)?!isNaN(new Date(n).valueOf()):n instanceof e};e.parse=function(n){if(n instanceof e)return n;var o=t.isString(n)?i(n).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):n;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(o)){var a=o.split("-"),u=a[0];a.push(u),a.shift(),o=a.join("/")}var s=new Date(o);if(!t.exists(o)||Number.isNaN(s.valueOf()))throw new Error(r("Cannot parse value= {0}",o));return new e(s.getFullYear(),s.getMonth()+1,s.getDate())};e.tryParse=function(t){return h((function(){return e.parse(t)}),null)};e.assumeNow=function(t){l=e.parse(t)};Object.defineProperty(e,"today",{get:function(){return l||e.parse(new Date)},enumerable:false,configurable:true});return e}();function y(e,n){return 2===e?f(n)?29:28:e<8&&t.isEven(e)||e>7&&t.isOdd(e)?30:31}function f(t){var n=t.toString().split(/\B/);return parseFloat(e(n[n.length-2],n[n.length-1]))%4==0}function p(e,t,n,r){var o=e.month,i=e.year,a=e.date,u=n,s=r;var c=a+t,l=o+u,f=i+s;if(a+t>y(o,i)&&(c=1,l=o+u+1),a+t<1){var p=e.prevMonth;c=y(p.month,p.year),l=o+u-1}return l>12&&(l=1,f=i+s+1),l<1&&(l=12,f=i+s-1),new d(f,l,c)}function m(e,t){if(t===void 0){t=0}var n=Math.pow(10,-t);return Math.round(parseFloat((e*n).toFixed(Math.abs(t))))/n}function g(e,t){if(t===void 0){t=0}return m(e+5*Math.pow(10,t-1),t)}function _(e,t){if(t===void 0){t=0}return 0===e?0:m(e-5*Math.pow(10,t-1),t)}function w(e,t){if(t===void 0){t=0}return e<0?g(e,t):_(e,t)}function x(e){var t=function(e,n,r){if(n===void 0){n=0}if(r===void 0){r=1}return 0<e?t(--e,r,n+r):n};return t(e)}function v(e){var t=0,n=1,r=0;for(;e>1;)r=t,t=n,n+=r,e--;return e<1?t:n}function b(e,t){if(t===void 0){t=0}var n=parseInt(e);return Number.isNaN(n)?t:n}var N=Object.freeze({__proto__:null,random:function(e,t){if(e===void 0){e=0}if(t===void 0){t=1}return Math.random()*(t-e)+e},round:m,roundUp:g,roundDown:_,roundTowardZero:w,gcd:function e(t,n){return 0===n?Math.abs(t):e(n,t%n)},fib:x,fib2:v,fibArray:function(e){return Array(e).fill(0).map((function(){return x(--e)})).reverse()},fib2Array:function(e){return Array(e).fill(0).map((function(){return v(--e)})).reverse()},tryParseInt:b,tryParseFloat:function(e,t){if(t===void 0){t=0}var n=parseFloat(e);return Number.isNaN(n)?t:n}});var $=function(){function e(e,n){if(e===void 0){e=0}if(n===void 0){n=0}if(!t.isNumber(e)||!t.isNumber(n))throw new Error("Coord requires numeric x and y values");this._x=e,this._y=n}Object.defineProperty(e.prototype,"x",{get:function(){return this._x},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"y",{get:function(){return this._y},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"value",{get:function(){return{x:this.x,y:this.y}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"half",{get:function(){return this.divide(new e(2,2))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"abs",{get:function(){return new e(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});e.prototype.equals=function(e){return this.x===e.x&&this.y===e.y};e.prototype.add=function(t){return new e(this.x+t.x,this.y+t.y)};e.prototype.subtract=function(t){return new e(this.x-t.x,this.y-t.y)};e.prototype.multiply=function(t){return new e(this.x*t.x,this.y*t.y)};e.prototype.divide=function(t){return new e(this.x/t.x,this.y/t.y)};e.prototype.round=function(t){if(t===void 0){t=0}return new e(m(this.x,t),m(this.y,t))};e.prototype.toString=function(){return"(".concat(this.x,",").concat(this.y,")")};e.canParse=function(n){return t.isArray(n)?!(Number.isNaN(n[0])||Number.isNaN(n[1])):t.isObjectLiteral(n)&&"x"in n&&"y"in n?!(Number.isNaN(n.x)||Number.isNaN(n.y)):n instanceof e};e.parse=function(n){return t.exists(n)?n instanceof e?n:t.isArray(n)?new e(n[0],n[1]):t.isObjectLiteral(n)&&t.exists(n.x)&&t.exists(n.y)?new e(n.x,n.y):null:null};e.tryParse=function(t){return h((function(){return e.parse(t)}),null)};return e}();var F=function(e){__extends(t,e);function t(t,n){if(t===void 0){t=0}if(n===void 0){n=0}var r=this;r=e.call(this,t,n)||this,r._lengthSquared=Math.pow(t,2)+Math.pow(n,2),r._magnitude=Math.sqrt(r._lengthSquared),r._unitNormalX=0===t&&0===n?0:t/r._magnitude,r._unitNormalY=0===t&&0===n?0:n/r._magnitude;return r}Object.defineProperty(t.prototype,"magnitude",{get:function(){return this._magnitude},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isZero",{get:function(){return 0===this.x&&0===this.y},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"normal",{get:function(){return new t(this._unitNormalX,this._unitNormalY)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"invert",{get:function(){return new t(-this.x,-this.y)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"norm",{get:function(){return new t(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"perpendicular",{get:function(){return new t(-this.y,this.x)},enumerable:false,configurable:true});t.prototype.equals=function(e){return e instanceof t&&this.x===e.x&&this.y===e.y};t.prototype.add=function(e){return e instanceof t?new t(this.x+e.x,this.y+e.y):null};t.prototype.dot=function(e){return e instanceof t?this.x*e.x+this.y*e.y:null};t.prototype.perpendicularAtTo=function(e){if(!(e instanceof t))return null;var n=e.add(this.projectionOfOnto(e).invert);return new t(n.x,n.y)};t.prototype.projectionOfOnto=function(e){if(!(e instanceof t))return null;var n=e.normal.scale(this.dot(e.normal));return new t(n.x,n.y)};t.prototype.scale=function(e){return new t(this.x*e,this.y*e)};t.prototype.unitNormalDot=function(e){return e instanceof t?this.normal.x*e.normal.x+this.normal.y*e.normal.y:null};t.prototype.reflect=function(e){if(!(e instanceof t))return null;if(e.isZero)return this;var n=e.normal;return this.add(n.scale(2*n.dot(this)).invert)};t.prototype.round=function(e){if(e===void 0){e=0}return new t(m(this.x,e),m(this.y,e))};return t}($);var O=function(e){__extends(t,e);function t(t,n){return e.call(this,t,n)||this}t.prototype.isAbove=function(e){return this.y<e.y};t.prototype.isBelow=function(e){return this.y>e.y};t.prototype.isLeftOf=function(e){return this.x<e.x};t.prototype.isRightOf=function(e){return this.x>e.x};t.prototype.distanceFrom=function(e){return new F(this.x-e.x,this.y-e.y)};t.prototype.distanceTo=function(e){return this.distanceFrom(e).invert};t.canParse=function(e){return e instanceof t||$.canParse(e)};t.parse=function(e){if(e instanceof t)return e;var n=$.parse(e);return new t(n.x,n.y)};t.tryParse=function(e){return h((function(){return t.parse(e)}),null)};return t}($);function k(){return Math.random().toString().substr(2)}function Z(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}var R=Object.freeze({__proto__:null,uid:k,uuid:Z,suid:function(){return Symbol(k())},suuid:function(){return Symbol(Z())}});Object.freeze({__proto__:null,pattern:function(e){return e.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\")},escape:function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/#:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?#]+=[^=?#]*(&[^=?#]+=[^=?#]*)*(#.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});var Cookie=function(){function e(){}e.serialize=function(e,n){if(n===void 0){n=defaultParams}try{if(t.isUndefined(e))throw new Error;var r=Object.assign(defaultParams,n),o=r.name,i=r.expires,u=r.path,s=r.domain,c=r.secure,l=kvPair(o,e),f=d.canParse(i)?kvPair("; expires",d.parse(i).toDate().toGMTString()):"",p=u?kvPair("; path",u.split("/").map((function(e){return encodeURIComponent(e)})).join("/")):"",h=s?kvPair("; domain",encodeURIComponent(s)):"";return l+f+p+h+(c?"; secure":"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}};e.deserialize=function(e){try{return read$1(e)[1]}catch(t){throw new Error(a.format("Cannot deserialize {0}",e))}};e.read=function(e){try{var n=read$1(e),r=n[0],o=n[1];return{name:r,value:o}}catch(t){throw new Error(a.format("Cannot read {0}",e))}};return e}();var defaultParams={name:R.uid(),expires:d.today.nextYear.toDate(),path:"/",domain:null,secure:!1},kvPair=function(e,t){return"".concat(e,"=").concat(t)},read$1=function(e){return/;/.test(e)?e.substring(0,e.search(";")).split("="):e.split("=")};var Device=function(){function e(){}Object.defineProperty(e,"orientation",{get:function(){var t=window.screen,n=(t.orientation||{}).type||t.mozOrientation||t.msOrientation,r=window.orientation;return n===e.landscapePrimary||90===r?e.landscapePrimary:n===e.landscapeSecondary||-90===r?e.landscapeSecondary:n===e.portraitPrimary||0===r?e.portraitPrimary:n===e.portraitSecondary||180===r?e.portraitSecondary:void 0},enumerable:false,configurable:true});Object.defineProperty(e,"landscapePrimary",{get:function(){return"landscape-primary"},enumerable:false,configurable:true});Object.defineProperty(e,"landscapeSecondary",{get:function(){return"landscape-secondary"},enumerable:false,configurable:true});Object.defineProperty(e,"portraitPrimary",{get:function(){return"portrait-primary"},enumerable:false,configurable:true});Object.defineProperty(e,"portraitSecondary",{get:function(){return"portrait-secondary"},enumerable:false,configurable:true});Object.defineProperty(e,"isMobile",{get:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(window.navigator.userAgent)},enumerable:false,configurable:true});return e}();exports("a",Device);var onPreventScroll=new Set,onResumeScroll=new Set;var scroll,lastPageYOffset,lastPageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1;var Document=function(){function n(){}Object.defineProperty(n,"scrollbarWidth",{get:function(){return window.innerWidth-document.documentElement.clientWidth},enumerable:false,configurable:true});Object.defineProperty(n,"isScrollPrevented",{get:function(){return t.exists(n.scrollY)},enumerable:false,configurable:true});n.preventScroll=function(){try{onPreventScroll.forEach((function(e){return e()}))}catch(e){}n.position=document.body.style.position,n.offsetY=document.body.style.top,n.offsetX=document.body.style.left,n.width=document.body.style.width,n.height=document.body.style.height,n.documentWidth=document.documentElement.style.width,n.documentWidth=document.documentElement.style.width,n.documentHeight=document.documentElement.style.height,n.overflowY=document.documentElement.style.overflowY,n.scrollX=window.scrollX||window.pageXOffset,n.scrollY=window.scrollY||window.pageYOffset;var e=n.scrollbarWidth;document.body.style.position="fixed",document.body.style.left="-".concat(n.scrollX,"px"),document.body.style.top="calc(-".concat(n.scrollY,"px - ").concat(window.getComputedStyle(document.body)["padding-top"]," - ").concat(window.getComputedStyle(document.body)["margin-top"],")"),document.body.style.width="calc(100vw - ".concat(e,"px - ").concat(window.getComputedStyle(document.body)["padding-left"]," - ").concat(window.getComputedStyle(document.body)["padding-right"]," - ").concat(window.getComputedStyle(document.body)["margin-left"]," - ").concat(window.getComputedStyle(document.body)["margin-right"],")"),document.documentElement.style.width="100wh",document.documentElement.style.height="100vh",document.documentElement.style.overflowY=e&&"scroll"};n.resumeScroll=function(){try{onResumeScroll.forEach((function(e){return e()}))}catch(e){}document.body.style.position=n.position,document.body.style.top=n.offsetY,document.body.style.left=n.offsetX,document.body.style.width=n.width,document.body.style.height=n.height,document.documentElement.style.width=n.documentWidth,document.documentElement.style.height=n.documentHeight,document.documentElement.style.overflowY=n.overflowY,window.scrollTo(n.scrollX,n.scrollY),n.position=null,n.offsetY=null,n.offsetX=null,n.width=null,n.height=null,n.documentWidth=null,n.documentHeight=null,n.overflowY=null,n.scrollX=null,n.scrollY=null};n.onPreventScroll=function(e){onPreventScroll.add(e)};n.onResumeScroll=function(e){onResumeScroll.add(e)};Object.defineProperty(n,"scroll",{get:function(){return scroll||(scroll=new Scroll,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,window.addEventListener("unload",(function(){return scroll.unload()}))),scroll},enumerable:false,configurable:true});return n}();exports("D",Document);var updateScrollValue=function(){var e=window.pageYOffset,t=window.pageXOffset;scrollIsDown=e>lastPageYOffset,scrollIsUp=e<lastPageYOffset,scrollIsRight=t>lastPageXOffset,scrollIsLeft=t<lastPageXOffset,lastPageYOffset=e||window.pageYOffset,lastPageXOffset=t||window.pageXOffset};var Scroll=function(){function e(){document.addEventListener("scroll",updateScrollValue,{passive:!0})}Object.defineProperty(e.prototype,"down",{get:function(){return scrollIsDown},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"up",{get:function(){return scrollIsUp},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"left",{get:function(){return scrollIsLeft},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"right",{get:function(){return scrollIsRight},enumerable:false,configurable:true});e.prototype.unload=function(){document.removeEventListener("scroll",updateScrollValue),scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scroll=null};return e}();function encodeBase64(e,n){if(n===void 0){n=!1}if(!t.isString(e))throw new Error("Cannot encode non-string values.");var r=window.btoa(e);return n?r.replace(/=/g,""):r}function decodeBase64(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return window.atob(e)}function encodeUtf8(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return decodeURIComponent(encodeURIComponent(e))}function decodeUtf8(e){if(!t.isString(e))throw new Error("Cannot decode non-string values.");return decodeURIComponent(encodeURIComponent(e))}var Json=function(){function Json(){}Json.serialize=function(e){if(t.isFunction(e))return;if(!t.exists(e))return e;if(!t.isArray(e)&&!t.isObject(e))return e.toString();var n=t.isArray(e)?"[{0}]":"{{0}}",r=[];return Object.keys(e).forEach((function(n){var o=e[n];if(t.isUndefined(o))return;var i=t.isNumber(o)?o:t.isDate(o)?'"'.concat(d.parse(o).toJson(),'"'):t.isString(o)?'"'.concat(serializeString(o),'"'):Json.serialize(o);r[r.length]=(t.isObject(e)&&!t.isArray(e)?'"'.concat(n,'":'):"")+i})),a.format(n,r)};Json.deserialize=function(e){return/function|(=$)/i.test(e)?e:Json.deserialize_unsafe(e)};Json.deserialize_unsafe=function(value){try{var result_1=t.isString(value)?eval("(".concat(deserializeString(value),")")):value;return t.exists(result_1)?t.isNullOrEmpty(result_1.tagName)&&(t.isObject(result_1)||t.isArray(result_1))?(Object.keys(result_1).forEach((function(e){var n=result_1[e];(t.isObject(n)||t.isArray(n))&&(result_1[e]=Json.deserialize(n)),/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(n)&&d.canParse(n)&&(result_1[e]=d.parse(n).toDate())})),result_1):/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(result_1)?d.parse(result_1).toDate():result_1:result_1}catch(e){throw new Error(a.format("Cannot deserialize {0}",value))}};Json.encode=function(e,t){if(t===void 0){t=!1}try{return encodeBase64(Json.serialize(e),t)}catch(t){throw new Error(a.format("Cannot encode {0}",e))}};Json.decode=function(e){try{return Json.deserialize(decodeBase64(e))}catch(t){throw new Error(a.format("Cannot decode {0}",e))}};return Json}();function serializeString(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\//g,"/").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}function deserializeString(e){return e.replace(/\\\//g,"/").replace(/\\\\f/g,"\\f").replace(/\\\\n/g,"\\n").replace(/\\\\r/g,"\\r").replace(/\\\\t/g,"\\t")}var QueryString=function(){function e(){}e.serialize=function(e){try{var n="";return Object.keys(e).forEach((function(r){var o=e[r],i=t.isDate(o)?d.parse(o).toJson():o;n+=a.format("&{0}={1}",encodeURIComponent(r),encodeURIComponent(Json.serialize(i)))})),n.replace(/^&/,"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}};e.deserialize=function(e){if(/\??[^\s"'<>]+=[^\s"'<>]+/.test(e)){var t=e.replace(/.*\?/,"").split("&"),n={};return t.forEach((function(e){var t=e.split("="),r=t[0],o=t[1],i=/^null$|^true$|^false$|^\d+(\.\d+?)?$|^\[.*]$|^{.*}$/.test(o)?o:'"'.concat(o,'"');n[decodeURIComponent(r)]=Json.deserialize(decodeURIComponent(i))})),n}};return e}();var worker=function(e){var t=e.toString(),n=t.indexOf("{")+1,r=t.lastIndexOf("}"),o=/(=>)/.test(t)&&!/{/gm.test(t)?"".concat(t.replace("=>","=> {"),"}"):t.substring(n,r),i=new self.Blob([o],{type:"text/javascript"});return new Worker(URL.createObjectURL(i))},connection=function(){var e=self.indexedDB||self.mozIndexedDB||self.webkitIndexedDB||self.msIndexedDB;function t(t){if(!/^[A-z][A-z0-9]*$/.test(t))throw new Error("Invalid collection name. Must be alphanumeric and begin with an alpha character");return new Promise((function(n,r){try{var o=e.open(t);o.onerror=function(){r(new Error("Error opening IndexedDB."))},o.onupgradeneeded=function(e){e.target.result.createObjectStore(t,{autoIncrement:!1})},o.onsuccess=function(){n(o.result)}}catch(e){r(e)}}))}onmessage=function(e){var n=e.data[0],r=e.data[1],o=e.data[2];try{"read"===n&&function(e){return t(e).then((function(t){return new Promise((function(n,r){var o=t.transaction([e],"readonly").objectStore(e).get(1);o.onsuccess=function(e){t.close(),n(e.target.result)},o.onerror=function(){t.close(),r(o.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"write"===n&&function(e,n){return t(e).then((function(t){return new Promise((function(r,o){var i=t.transaction([e],"readwrite").objectStore(e).put(n,1);i.onsuccess=function(e){t.close(),r(e.target.result)},i.onerror=function(){t.close(),o(i.error)}}))}))}(r,o).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"remove"===n&&function(e){return t(e).then((function(t){return new Promise((function(n,r){var o=t.transaction([e],"readwrite").objectStore(e).delete(1);o.onsuccess=function(e){t.close(),n(e.target.result)},o.onerror=function(){t.close(),r(o.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"drop"===n&&function(e){return t(e).then((function(t){return t.onversionchange=function(){return t.close()},new Promise((function(t,n){var r=indexedDB.deleteDatabase(e);r.onsuccess=function(){t(!0)},r.onerror=function(){n(r.error)},r.onblocked=function(){n(r.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])}))}catch(e){postMessage(["error",e.message])}}};var validCollection=/^[A-z]+$/;var connectionThread;var Store=function(){function e(){}Object.defineProperty(e,"connected",{get:function(){return t.exists(connectionThread)},enumerable:false,configurable:true});e.connect=function(){try{return e.connected||(connectionThread=worker(connection)),e}catch(t){throw new Error("Store could not connect.")}};e.disconnect=function(){try{if(e.connected)return connectionThread.terminate(),connectionThread=null,e}catch(t){throw new Error("Store could not be disconnected.")}};e.read=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"read"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["read",e])}else r(new Error("Cannot read disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.write=function(e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,new Promise((function(r,o){if(validCollection.test(e))if(t.exists(connectionThread)){var i=function(t){var n=t.data,a=n[0],u=n[1],s=n[2];"error"===a&&u===e&&(o(new Error(s)),connectionThread.removeEventListener("message",i)),"write"===a&&u===e&&(r(s),connectionThread.removeEventListener("message",i))};connectionThread.addEventListener("message",i),connectionThread.postMessage(["write",e,n])}else o(Error("Cannot write disconnected Store."));else o(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.remove=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"remove"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["remove",e])}else r(Error("Cannot write disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.delete=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(!t.isNullOrEmpty(e)&&validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"drop"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["drop",e])}else r(Error("Cannot drop disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.save=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:t.trys.push([0,2,,3]);return[4,navigator.storage.persist()];case 1:return[2,t.sent()];case 2:e=t.sent();return[2,!1];case 3:return[2]}}))}))};e.estimate=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,r,o,i,a;return __generator(this,(function(u){switch(u.label){case 0:u.trys.push([0,2,,3]);e=navigator.storage||navigator.webkitPersistentStorage;return[4,e.estimate()];case 1:t=u.sent()||{},n=t.quota,r=n===void 0?NaN:n,o=t.usage,i=o===void 0?NaN:o;return[2,{quota:r,usage:i,free:"".concat(N.roundUp((r-i)/r*100,-4),"%"),used:"".concat(N.roundUp(i/r*100,-4),"%")}];case 2:a=u.sent();return[2,{}];case 3:return[2]}}))}))};e.saved=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:t.trys.push([0,2,,3]);return[4,navigator.storage.persisted()];case 1:return[2,t.sent()];case 2:e=t.sent();return[2,!1];case 3:return[2]}}))}))};return e}();var Dto=function(){function e(e,n){if(e===void 0){e={}}if(!t.isArray(e)&&!t.isObject(e))throw new TypeError("Dto value must be Array or object literal");this._value=e,this._name=n}Object.defineProperty(e.prototype,"value",{get:function(){return t.isArray(this._value)?__spreadArray([],this._value,true):__assign({},this._value)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:false,configurable:true});e.prototype.read=function(e){return t.exists(e)?!t.isArray(this._value)||t.isNumber(e)?this._value[e]:void 0:this.value};e.prototype.remove=function(e){return t.isString(e)&&t.exists(e)&&delete this._value[e],t.isFunction(e)&&this._value.splice(this._value.findIndex(e),1),this};e.prototype.write=function(e,n){return t.isNullOrEmpty(e)||(t.isArray(this._value)?(t.isUndefined(n)&&this._value.push(e),t.isNumber(e)&&(this._value[e]=n)):this._value[e]=n),this};e.prototype.update=function(e){var n=Object.assign(this.value,e);return this._value=t.isArray(this._value)?Object.values(n):n,this};e.prototype.clear=function(){return this._value=t.isArray(this._value)?[]:{},this};e.prototype.save=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:Store.connect();return[4,Store.write(this.name,this.encode(!0,!0))];case 1:e.sent();return[4,Store.save()];case 2:return[2,e.sent()]}}))}))};e.prototype.saveAs=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.name=e,Store.connect();return[4,Store.delete(this.name)];case 1:return[2,(t.sent(),this.save())]}}))}))};e.prototype.delete=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:Store.connect();return[4,Store.delete(this.name)];case 1:return[2,(e.sent(),this)]}}))}))};e.prototype.encode=function(e,t){if(e===void 0){e=!1}if(t===void 0){t=!1}var n=Json.serialize(this._value);return encodeBase64(t?encodeURIComponent(n):n,e)};e.decode=function(t,n){var r=decodeBase64(t),o=decodeURIComponent(r);return new e(Json.deserialize(o),n)};e.prototype.toFormData=function(){var e=this.value,t=new window.FormData;return Object.keys(e).forEach((function(n){return t.append(n,e[n])})),t};e.prototype.toJson=function(){return Json.serialize(this._value)};e.prototype.toQueryString=function(){return QueryString.serialize(this._value)};e.parseFormData=function(t){var n={};for(var r=0,o=t.entries();r<o.length;r++){var i=o[r],a=i[0],u=i[1];n[a]=u}return new e(n)};e.parseJson=function(t){return new e(Json.deserialize(t))};e.parseJwt=function(n){try{var r=n.split("."),o=r[1];return new e(JSON.parse(window.atob(o)))}catch(t){throw new SyntaxError("Cannot parseJwt: ".concat(n))}};e.parseQueryString=function(t){return new e(QueryString.deserialize(t))};e.load=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,(Store.connect(),Store.read(t).then((function(r){try{return e.decode(r,t)}catch(n){return}})).catch((function(){})))]}))}))};return e}();var Event=function(){function e(){}e.mute=function(e){return!!t.exists(e)&&(t.isFunction(e.preventDefault)&&e.preventDefault(),t.isFunction(e.stopPropagation)&&e.stopPropagation(),t.isFunction(e.stopImmediatePropagation)&&e.stopImmediatePropagation(),t.exists(e.cancelBubble)&&(e.cancelBubble=!0),!1)};return e}();exports("E",Event);var readFieldNames=function(e){var t=e.getAttribute("id"),n=__spreadArray([],e.querySelectorAll("[name]"),true).map((function(e){return e.name})),r=t?__spreadArray([],document.querySelectorAll('[form="'.concat(t,'"]')),true).map((function(e){return e.name})):[];return __spreadArray(__spreadArray([],n,true),r,true)},readData=function(e){return new window.FormData(e)},read=function(e){var n={};try{readData(e).forEach((function(e,r){var o=n[r];t.isArray(o)?n[r].push(e):t.exists(o)?n[r]=[n[r],e]:n[r]=e}))}catch(t){__spreadArray([],e.elements,true).forEach((function(e){var t=e.name,r=e.type,o=e.value,i=e.files;if("file"===r)n[t]=i[0];else if("checkbox"===r||"radio"===r)e.checked&&(n[t]=o);else if(e.multiple){var a=[];e.querySelectorAll("option").forEach((function(e){return e.selected&&a.push(e.value)})),n[t]=a.length<2?a[0]:a}else n[t]=o}))}return n},readJson=function(e){return JSON.stringify(read(e))},write=function(e,n){__spreadArray([],e.elements,true).forEach((function(e){/^select$/i.test(e.nodeName)?t.isArray(n[e.name])?__spreadArray([],e.options,true).forEach((function(t){t.selected=n[e.name].indexOf(t.value)>=0})):t.exists(n[e.name])&&(e.value=n[e.name]):t.exists(n[e.name])&&("checkbox"===e.type||"radio"===e.type?e.checked=n[e.name]===e.value:e.value=n[e.name])}))};var index=exports("i",{readFieldNames:readFieldNames,read:read,readData:readData,readJson:readJson,write:write});var Key=function(){function e(e,t,n){if(n===void 0){n={}}this.key=e,this.msKey=t||e,this.altKey=n.altKey||!1,this.ctrlKey=n.ctrlKey||!1,this.metaKey=n.metaKey||!1,this.shiftKey=n.shiftKey||!1}Object.defineProperty(e.prototype,"alt",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.ctrlKey,i=t.metaKey,a=t.shiftKey;return new e(n,r,{altKey:!0,ctrlKey:o,metaKey:i,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ctrl",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.metaKey,a=t.shiftKey;return new e(n,r,{altKey:o,ctrlKey:!0,metaKey:i,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"meta",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.ctrlKey,a=t.shiftKey;return new e(n,r,{altKey:o,ctrlKey:i,metaKey:!0,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"shift",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.ctrlKey,a=t.metaKey;return new e(n,r,{altKey:o,ctrlKey:i,metaKey:a,shiftKey:!0})},enumerable:false,configurable:true});e.prototype.equals=function(t){return t instanceof e&&this.altKey===t.altKey&&this.ctrlKey===t.ctrlKey&&this.metaKey===t.metaKey&&this.shiftKey===t.shiftKey&&(this.key===t.key||this.msKey===t.msKey)};e.prototype.didFire=function(t){var n=t.code,r=t.key,o=t.altKey,i=t.ctrlKey,a=t.metaKey,u=t.shiftKey,s="Dead"===r?n:r;return t&&("ANY"===this.key||this.equals(new e(s,s,{altKey:o,ctrlKey:i,metaKey:a,shiftKey:u})))};Object.defineProperty(e,"press",{get:function(){return"keypress"},enumerable:false,configurable:true});Object.defineProperty(e,"down",{get:function(){return"keydown"},enumerable:false,configurable:true});Object.defineProperty(e,"up",{get:function(){return"keyup"},enumerable:false,configurable:true});Object.defineProperty(e,"any",{get:function(){return new e("ANY")},enumerable:false,configurable:true});Object.defineProperty(e,"esc",{get:function(){return new e("Escape","Esc")},enumerable:false,configurable:true});Object.defineProperty(e,"enter",{get:function(){return new e("Enter")},enumerable:false,configurable:true});Object.defineProperty(e,"space",{get:function(){return new e(" ","Spacebar")},enumerable:false,configurable:true});Object.defineProperty(e,"tab",{get:function(){return new e("Tab")},enumerable:false,configurable:true});Object.defineProperty(e,"left",{get:function(){return new e("ArrowLeft","Left")},enumerable:false,configurable:true});Object.defineProperty(e,"right",{get:function(){return new e("ArrowRight","Right")},enumerable:false,configurable:true});return e}();exports("K",Key);var Keyboard=function(){function e(){}e.on=function(e,t,n,r){var o=function(e){return t.didFire(e)?n(e,t):null};return window.addEventListener(e,o,r),{unsubscribe:function(){window.removeEventListener(e,o)}}};e.onKeyPress=function(t,n,r){return e.on(Key.press,t,n,r)};e.onKeyDown=function(t,n,r){return e.on(Key.down,t,n,r)};e.onKeyUp=function(t,n,r){return e.on(Key.up,t,n,r)};return e}();var Swipe=function(){function e(e,t){if(t===void 0){t=0}this.didTouchStart=this.didTouchStart.bind(this),this.didTouchEnd=this.didTouchEnd.bind(this),this.didTouchMove=this.didTouchMove.bind(this),e.addEventListener("touchstart",this.didTouchStart,{capture:!1,passive:!0}),e.addEventListener("touchend",this.didTouchEnd,{capture:!1,passive:!0}),e.addEventListener("touchmove",this.didTouchMove,{capture:!1,passive:!0}),this.element=e,this.tolerance=t,this.didSwipeLeft=function(){},this.didSwipeRight=function(){},this.didMove=function(){}}e.prototype.onLeft=function(e){return this.didSwipeLeft=e,this};e.prototype.onRight=function(e){return this.didSwipeRight=e,this};e.prototype.onMove=function(e){return this.didMove=e,this};e.prototype.destroy=function(){var e=this.element;return e.removeEventListener("touchstart",this.didTouchStart,!1),e.removeEventListener("touchend",this.didTouchEnd,!1),e.removeEventListener("touchmove",this.didTouchMove,!1),this};e.prototype.didTouchStart=function(e){var t=e.touches[0];this.touchStartPoint=new O(t.pageX,t.pageY)};e.prototype.didTouchEnd=function(e){var t=e.changedTouches[0],n=this.touchStartPoint,r=new O(t.pageX,t.pageY);r.isLeftOf(n)&&Math.abs(r.distanceFrom(n).x)>this.tolerance&&this.didSwipeLeft(e),r.isRightOf(n)&&Math.abs(r.distanceFrom(n).x)>this.tolerance&&this.didSwipeRight(e)};e.prototype.didTouchMove=function(e){var t=e.touches[0],n=this.touchStartPoint,r=new O(t.pageX,t.pageY);this.didMove({distance:r.distanceFrom(n),up:r.isAbove(n),down:r.isBelow(n),left:r.isLeftOf(n),right:r.isRightOf(n)})};return e}();exports("S",Swipe)}}}));