@sparkle-learning/core 0.0.34 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/dist/cjs/{PrivateRoute-482697a6.js → PrivateRoute-4abc9d29.js} +2 -2
  2. package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
  3. package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
  4. package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
  5. package/dist/cjs/{auth.service-f878f6ab.js → auth.service-4b584cd7.js} +4 -3
  6. package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
  7. package/dist/cjs/compass-svg.cjs.entry.js +1 -1
  8. package/dist/cjs/context-consumer.cjs.entry.js +1 -1
  9. package/dist/cjs/course-select.cjs.entry.js +1 -1
  10. package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
  11. package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
  12. package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
  13. package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
  14. package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
  15. package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
  16. package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
  17. package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
  18. package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +2 -2
  19. package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
  20. package/dist/cjs/httpService-7211d93b.js +685 -0
  21. package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
  22. package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
  23. package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
  24. package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
  25. package/dist/cjs/{index-07e8aa51.js → index-70e63f5b.js} +2 -2
  26. package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
  27. package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
  28. package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
  29. package/dist/cjs/index-9c7b27e4.js +140 -0
  30. package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
  31. package/dist/cjs/index-e56e09b8.js +38 -0
  32. package/dist/cjs/index.cjs.js +9 -8
  33. package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
  34. package/dist/cjs/{injectHistory-77d41284.js → injectHistory-7206bbb9.js} +1 -1
  35. package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
  36. package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
  37. package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
  38. package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
  39. package/dist/cjs/ion-app.cjs.entry.js +8 -8
  40. package/dist/cjs/ion-avatar_16.cjs.entry.js +1907 -0
  41. package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
  42. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
  43. package/dist/cjs/ion-badge.cjs.entry.js +3 -3
  44. package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
  45. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
  46. package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
  47. package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
  48. package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
  49. package/dist/cjs/ion-checkbox_4.cjs.entry.js +22 -32
  50. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  51. package/dist/cjs/ion-col_3.cjs.entry.js +29 -25
  52. package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
  53. package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
  54. package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
  55. package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
  56. package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
  57. package/dist/cjs/ion-fab.cjs.entry.js +15 -13
  58. package/dist/cjs/ion-footer.cjs.entry.js +16 -14
  59. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  60. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
  61. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
  62. package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
  63. package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
  64. package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
  65. package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
  66. package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
  67. package/dist/cjs/ion-loading.cjs.entry.js +23 -35
  68. package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
  69. package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
  70. package/dist/cjs/ion-menu.cjs.entry.js +47 -40
  71. package/dist/cjs/ion-modal.cjs.entry.js +935 -282
  72. package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-nav.cjs.entry.js +45 -35
  74. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
  75. package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
  76. package/dist/cjs/ion-picker.cjs.entry.js +15 -17
  77. package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
  78. package/dist/cjs/ion-range.cjs.entry.js +117 -47
  79. package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
  80. package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
  81. package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
  82. package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
  83. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  84. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
  86. package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
  87. package/dist/cjs/ion-router.cjs.entry.js +32 -31
  88. package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
  89. package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
  90. package/dist/cjs/ion-segment.cjs.entry.js +24 -26
  91. package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
  92. package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
  93. package/dist/cjs/ion-slide.cjs.entry.js +3 -3
  94. package/dist/cjs/ion-slides.cjs.entry.js +23 -23
  95. package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
  96. package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
  97. package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
  98. package/dist/cjs/ion-tab.cjs.entry.js +4 -4
  99. package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
  100. package/dist/cjs/ion-text.cjs.entry.js +24 -0
  101. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  102. package/dist/cjs/ion-toast.cjs.entry.js +23 -43
  103. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
  104. package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
  105. package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
  106. package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
  107. package/dist/cjs/loader.cjs.js +5 -5
  108. package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
  109. package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
  110. package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
  111. package/dist/cjs/parse-d0071120.js +1237 -0
  112. package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
  113. package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
  114. package/dist/cjs/sparkle-card_3.cjs.entry.js +2 -2
  115. package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
  116. package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
  117. package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
  118. package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
  119. package/dist/cjs/sparkle-core.cjs.js +5 -5
  120. package/dist/cjs/sparkle-course-root.cjs.entry.js +12 -11
  121. package/dist/cjs/sparkle-dropdown.cjs.entry.js +2 -2
  122. package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
  123. package/dist/cjs/sparkle-export-lessons_6.cjs.entry.js +12 -11
  124. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +23 -22
  125. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
  126. package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -8
  127. package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
  128. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +1 -1
  129. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
  130. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
  131. package/dist/cjs/sparkle-gww-item.cjs.entry.js +5 -5
  132. package/dist/cjs/sparkle-intro.cjs.entry.js +1 -1
  133. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
  134. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
  135. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +3 -3
  136. package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
  137. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
  138. package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
  139. package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
  140. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  141. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
  142. package/dist/cjs/sparkle-quiz.cjs.entry.js +1 -1
  143. package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
  144. package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
  145. package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
  146. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
  147. package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
  148. package/dist/cjs/sparkle-validation-error.cjs.entry.js +1 -1
  149. package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
  150. package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
  151. package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
  152. package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
  153. package/dist/cjs/stencil-route-link.cjs.entry.js +2 -2
  154. package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
  155. package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  156. package/dist/cjs/stencil-router-redirect.cjs.entry.js +2 -2
  157. package/dist/cjs/{student.service-7af424fe.js → student.service-d48f1c99.js} +7 -7
  158. package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
  159. package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
  160. package/dist/cjs/{user.store-3d29139d.js → user.store-8a049c4e.js} +1 -1
  161. package/dist/collection/collection-manifest.json +2 -1
  162. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
  163. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
  164. package/dist/esm/{PrivateRoute-f59ba6b5.js → PrivateRoute-530ef873.js} +2 -2
  165. package/dist/esm/{active-router-909088d6.js → active-router-9843e205.js} +1 -1
  166. package/dist/esm/{animation-7b083379.js → animation-d98d3e81.js} +83 -78
  167. package/dist/esm/{app-globals-5c736ae5.js → app-globals-08edc964.js} +1 -1
  168. package/dist/esm/{auth.service-7ab0ac58.js → auth.service-79389d86.js} +3 -2
  169. package/dist/esm/{auth.store-98fad96d.js → auth.store-b812b34b.js} +45 -725
  170. package/dist/esm/compass-svg.entry.js +1 -1
  171. package/dist/esm/context-consumer.entry.js +1 -1
  172. package/dist/esm/course-select.entry.js +1 -1
  173. package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
  174. package/dist/esm/{facilitator.service-1524bf89.js → facilitator.service-7babc526.js} +2 -1
  175. package/dist/esm/{feed.service-4900fc62.js → feed.service-80fbe79d.js} +2 -1
  176. package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
  177. package/dist/esm/{framework-delegate-518bd233.js → framework-delegate-9b329182.js} +11 -13
  178. package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
  179. package/dist/esm/{haptic-99c9e346.js → haptic-3a76a65c.js} +4 -3
  180. package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
  181. package/dist/esm/header-mobile-collapse_2.entry.js +2 -2
  182. package/dist/esm/{helpers-9d0930de.js → helpers-94a5855b.js} +81 -15
  183. package/dist/esm/httpService-b2b7a1ad.js +683 -0
  184. package/dist/esm/{icons-05b6ce86.js → icons-16f1a80b.js} +1 -1
  185. package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
  186. package/dist/esm/{tap-click-cca25060.js → index-230a26c9.js} +30 -20
  187. package/dist/esm/{index-8de9446b.js → index-478745be.js} +17 -25
  188. package/dist/esm/{index-ea26196a.js → index-4ec6b9c2.js} +5 -2
  189. package/dist/esm/{index-fa5e93c5.js → index-95307148.js} +19 -28
  190. package/dist/esm/{index-5568e3fa.js → index-9db08224.js} +19 -12
  191. package/dist/esm/{index-c92f99d4.js → index-ab1c6a9f.js} +2 -2
  192. package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
  193. package/dist/esm/index-c23a1826.js +128 -0
  194. package/dist/esm/index-dad75b83.js +34 -0
  195. package/dist/esm/{index.es-89cff481.js → index.es-1c3b1ef3.js} +2 -7
  196. package/dist/esm/index.js +9 -8
  197. package/dist/esm/{injectHistory-52d0c7eb.js → injectHistory-4bfff188.js} +1 -1
  198. package/dist/esm/{input-shims-7f04e044.js → input-shims-ce5c01df.js} +21 -24
  199. package/dist/esm/ion-accordion-group.entry.js +17 -9
  200. package/dist/esm/ion-accordion.entry.js +19 -23
  201. package/dist/esm/ion-action-sheet_4.entry.js +216 -212
  202. package/dist/esm/ion-app.entry.js +8 -8
  203. package/dist/esm/ion-avatar_16.entry.js +1888 -0
  204. package/dist/esm/ion-back-button.entry.js +11 -11
  205. package/dist/esm/ion-backdrop.entry.js +4 -4
  206. package/dist/esm/ion-badge.entry.js +3 -3
  207. package/dist/esm/ion-breadcrumb.entry.js +13 -21
  208. package/dist/esm/ion-breadcrumbs.entry.js +12 -14
  209. package/dist/esm/ion-buttons_3.entry.js +13 -13
  210. package/dist/esm/ion-card-header.entry.js +4 -4
  211. package/dist/esm/ion-card-subtitle.entry.js +4 -4
  212. package/dist/esm/ion-checkbox_4.entry.js +22 -32
  213. package/dist/esm/ion-chip.entry.js +3 -3
  214. package/dist/esm/ion-col_3.entry.js +29 -25
  215. package/dist/esm/ion-content_2.entry.js +59 -52
  216. package/dist/esm/ion-datetime-button.entry.js +308 -0
  217. package/dist/esm/ion-datetime.entry.js +723 -1216
  218. package/dist/esm/ion-fab-button.entry.js +25 -9
  219. package/dist/esm/ion-fab-list.entry.js +4 -4
  220. package/dist/esm/ion-fab.entry.js +15 -13
  221. package/dist/esm/ion-footer.entry.js +16 -14
  222. package/dist/esm/ion-img.entry.js +4 -4
  223. package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
  224. package/dist/esm/ion-infinite-scroll.entry.js +13 -15
  225. package/dist/esm/ion-item-divider.entry.js +4 -4
  226. package/dist/esm/ion-item-group.entry.js +3 -3
  227. package/dist/esm/ion-item-option.entry.js +8 -8
  228. package/dist/esm/ion-item-options.entry.js +5 -5
  229. package/dist/esm/ion-item-sliding.entry.js +41 -46
  230. package/dist/esm/ion-loading.entry.js +23 -35
  231. package/dist/esm/ion-menu-button.entry.js +13 -13
  232. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  233. package/dist/esm/ion-menu.entry.js +47 -40
  234. package/dist/esm/ion-modal.entry.js +921 -268
  235. package/dist/esm/ion-nav-link.entry.js +2 -2
  236. package/dist/esm/ion-nav.entry.js +45 -35
  237. package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
  238. package/dist/esm/ion-picker-column.entry.js +23 -25
  239. package/dist/esm/ion-picker.entry.js +15 -17
  240. package/dist/esm/ion-progress-bar.entry.js +6 -8
  241. package/dist/esm/ion-range.entry.js +117 -47
  242. package/dist/esm/ion-refresher-content.entry.js +6 -12
  243. package/dist/esm/ion-refresher.entry.js +68 -50
  244. package/dist/esm/ion-reorder-group.entry.js +15 -16
  245. package/dist/esm/ion-reorder.entry.js +3 -3
  246. package/dist/esm/ion-route-redirect.entry.js +1 -1
  247. package/dist/esm/ion-route.entry.js +1 -1
  248. package/dist/esm/ion-router-link.entry.js +5 -5
  249. package/dist/esm/ion-router-outlet.entry.js +22 -20
  250. package/dist/esm/ion-router.entry.js +32 -31
  251. package/dist/esm/ion-searchbar.entry.js +14 -16
  252. package/dist/esm/ion-segment-button.entry.js +8 -8
  253. package/dist/esm/ion-segment.entry.js +24 -26
  254. package/dist/esm/ion-select_2.entry.js +59 -56
  255. package/dist/esm/ion-skeleton-text.entry.js +4 -4
  256. package/dist/esm/ion-slide.entry.js +3 -3
  257. package/dist/esm/ion-slides.entry.js +23 -23
  258. package/dist/esm/ion-split-pane.entry.js +10 -11
  259. package/dist/esm/ion-tab-bar.entry.js +5 -5
  260. package/dist/esm/ion-tab-button.entry.js +6 -6
  261. package/dist/esm/ion-tab.entry.js +4 -4
  262. package/dist/esm/ion-tabs.entry.js +4 -5
  263. package/dist/esm/ion-text.entry.js +20 -0
  264. package/dist/esm/ion-thumbnail.entry.js +2 -2
  265. package/dist/esm/ion-toast.entry.js +23 -43
  266. package/dist/esm/ion-virtual-scroll.entry.js +29 -28
  267. package/dist/esm/{ionic-global-0939c477.js → ionic-global-293e882b.js} +27 -31
  268. package/dist/esm/{ios.transition-db4f4ca6.js → ios.transition-7cd34deb.js} +71 -51
  269. package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
  270. package/dist/esm/loader.js +5 -5
  271. package/dist/esm/{md.transition-8294b503.js → md.transition-2589a5b1.js} +9 -16
  272. package/dist/esm/{menu-toggle-util-06adade3.js → menu-toggle-util-f92ba2f0.js} +2 -2
  273. package/dist/esm/{overlays-5c777f10.js → overlays-dfa730c8.js} +29 -29
  274. package/dist/esm/parse-1ae3a9bb.js +1196 -0
  275. package/dist/esm/polyfills/css-shim.js +1 -1
  276. package/dist/esm/{purify-eb68cf1d.js → purify-79af871f.js} +1 -1
  277. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  278. package/dist/esm/sparkle-card_3.entry.js +2 -2
  279. package/dist/esm/sparkle-character-intro.entry.js +1 -1
  280. package/dist/esm/sparkle-code.entry.js +2 -2
  281. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  282. package/dist/esm/sparkle-compass.entry.js +1 -1
  283. package/dist/esm/sparkle-core.js +5 -5
  284. package/dist/esm/sparkle-course-root.entry.js +12 -11
  285. package/dist/esm/sparkle-dropdown.entry.js +2 -2
  286. package/dist/esm/sparkle-emoji.entry.js +1 -1
  287. package/dist/esm/sparkle-export-lessons_6.entry.js +12 -11
  288. package/dist/esm/sparkle-facilitator-header_19.entry.js +17 -16
  289. package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
  290. package/dist/esm/sparkle-feedback.entry.js +9 -8
  291. package/dist/esm/sparkle-goal-form.entry.js +8 -7
  292. package/dist/esm/sparkle-goal-progress.entry.js +1 -1
  293. package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
  294. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  295. package/dist/esm/sparkle-gww-item.entry.js +5 -5
  296. package/dist/esm/sparkle-intro.entry.js +1 -1
  297. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  298. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  299. package/dist/esm/sparkle-menu-toggle_3.entry.js +3 -3
  300. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  301. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  302. package/dist/esm/sparkle-overlay.entry.js +1 -1
  303. package/dist/esm/sparkle-poll.entry.js +1 -1
  304. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  305. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  306. package/dist/esm/sparkle-quiz.entry.js +1 -1
  307. package/dist/esm/sparkle-select.entry.js +1 -1
  308. package/dist/esm/sparkle-sidebar.entry.js +1 -1
  309. package/dist/esm/sparkle-tab.entry.js +1 -1
  310. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  311. package/dist/esm/sparkle-tabs.entry.js +1 -1
  312. package/dist/esm/sparkle-validation-error.entry.js +1 -1
  313. package/dist/esm/sparkle-youtube.entry.js +1 -1
  314. package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
  315. package/dist/esm/{status-tap-e8c0c752.js → status-tap-79b6199d.js} +7 -5
  316. package/dist/esm/stencil-async-content.entry.js +1 -1
  317. package/dist/esm/stencil-route-link.entry.js +2 -2
  318. package/dist/esm/stencil-route-title.entry.js +2 -2
  319. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  320. package/dist/esm/stencil-router-redirect.entry.js +2 -2
  321. package/dist/esm/{student.service-c2f44f3a.js → student.service-0caed0f4.js} +2 -2
  322. package/dist/esm/{swipe-back-9a3b2cdd.js → swipe-back-ad7a0361.js} +5 -5
  323. package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
  324. package/dist/esm/{user.store-e6ff7558.js → user.store-8477642a.js} +1 -1
  325. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
  326. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
  327. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
  328. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
  329. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
  330. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
  331. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
  332. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
  333. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
  334. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
  335. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
  336. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
  337. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
  338. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
  339. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
  340. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
  341. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
  342. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
  343. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
  344. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
  345. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
  346. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
  347. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
  348. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
  349. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
  350. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
  351. package/dist/sparkle-core/index.esm.js +1 -1
  352. package/dist/sparkle-core/p-0127a61a.entry.js +1 -0
  353. package/dist/sparkle-core/p-01743e3e.js +4 -0
  354. package/dist/sparkle-core/p-06af1bc8.entry.js +1 -0
  355. package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
  356. package/dist/sparkle-core/p-0798d46a.entry.js +1 -0
  357. package/dist/sparkle-core/p-085eb951.entry.js +4 -0
  358. package/dist/sparkle-core/{p-39e5a90f.entry.js → p-0b92326d.entry.js} +1 -1
  359. package/dist/sparkle-core/{p-b21d0d9f.entry.js → p-0c603495.entry.js} +2 -2
  360. package/dist/sparkle-core/p-0d7cceaa.entry.js +1 -0
  361. package/dist/sparkle-core/p-0d813026.entry.js +1 -0
  362. package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
  363. package/dist/sparkle-core/{p-6c5b5ea2.entry.js → p-11ed6b7f.entry.js} +1 -1
  364. package/dist/sparkle-core/p-122427b7.entry.js +1 -0
  365. package/dist/sparkle-core/p-12c4f45c.entry.js +1 -0
  366. package/dist/sparkle-core/p-136b93d5.entry.js +4 -0
  367. package/dist/sparkle-core/{p-f6bafe1d.js → p-1394cbb8.js} +2 -2
  368. package/dist/sparkle-core/{p-c48bbc7c.entry.js → p-14340143.entry.js} +1 -1
  369. package/dist/sparkle-core/p-14a06a91.entry.js +1 -0
  370. package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-16b7974e.entry.js} +1 -1
  371. package/dist/sparkle-core/p-16c81890.entry.js +1 -0
  372. package/dist/sparkle-core/{p-d00f550b.entry.js → p-1701723e.entry.js} +1 -1
  373. package/dist/sparkle-core/{p-232cc3bc.js → p-17aef6f9.js} +1 -1
  374. package/dist/sparkle-core/p-180857a2.entry.js +1 -0
  375. package/dist/sparkle-core/p-1acc7870.entry.js +1 -0
  376. package/dist/sparkle-core/{p-0ad99881.js → p-1c2aee9c.js} +1 -1
  377. package/dist/sparkle-core/p-1cd4c3cc.entry.js +1 -0
  378. package/dist/sparkle-core/p-21d9833d.js +1 -0
  379. package/dist/sparkle-core/p-23d713e2.js +1 -0
  380. package/dist/sparkle-core/p-25c13612.entry.js +1 -0
  381. package/dist/sparkle-core/p-2699868a.entry.js +1 -0
  382. package/dist/sparkle-core/p-27075abe.js +4 -0
  383. package/dist/sparkle-core/{p-52d4715a.js → p-280e938d.js} +1 -1
  384. package/dist/sparkle-core/p-2c89a6c2.entry.js +1 -0
  385. package/dist/sparkle-core/p-308517b3.js +4 -0
  386. package/dist/sparkle-core/p-3227afcb.entry.js +1 -0
  387. package/dist/sparkle-core/{p-c748f64e.entry.js → p-34d93a39.entry.js} +1 -1
  388. package/dist/sparkle-core/{p-e1aee41e.entry.js → p-34ebfc8a.entry.js} +1 -1
  389. package/dist/sparkle-core/p-351b82a8.entry.js +1 -0
  390. package/dist/sparkle-core/p-363a2d6d.js +4 -0
  391. package/dist/sparkle-core/p-36c48760.entry.js +1 -0
  392. package/dist/sparkle-core/p-3810777d.js +4 -0
  393. package/dist/sparkle-core/p-384911d7.entry.js +1 -0
  394. package/dist/sparkle-core/p-3b618eda.entry.js +1 -0
  395. package/dist/sparkle-core/p-3c752205.entry.js +1 -0
  396. package/dist/sparkle-core/{p-90466494.entry.js → p-3d2c0e24.entry.js} +2 -2
  397. package/dist/sparkle-core/{p-350adbaa.entry.js → p-3eb56165.entry.js} +1 -1
  398. package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-3ef53ebf.entry.js} +1 -1
  399. package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-3fd92216.entry.js} +1 -1
  400. package/dist/sparkle-core/{p-ff4d6858.js → p-4338e1e3.js} +2 -2
  401. package/dist/sparkle-core/{p-2af82cc1.entry.js → p-442eadcf.entry.js} +1 -1
  402. package/dist/sparkle-core/{p-5f45d206.entry.js → p-4af496a8.entry.js} +1 -1
  403. package/dist/sparkle-core/{p-c8ae9e47.entry.js → p-4c9e010d.entry.js} +1 -1
  404. package/dist/sparkle-core/p-4d0dfbc9.js +1 -0
  405. package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
  406. package/dist/sparkle-core/{p-67f71099.entry.js → p-4e0502b8.entry.js} +1 -1
  407. package/dist/sparkle-core/p-506f3c5f.js +4 -0
  408. package/dist/sparkle-core/p-524a6174.entry.js +1 -0
  409. package/dist/sparkle-core/p-53aac9d7.entry.js +1 -0
  410. package/dist/sparkle-core/{p-0580419b.entry.js → p-56700a40.entry.js} +1 -1
  411. package/dist/sparkle-core/p-5722be24.entry.js +1 -0
  412. package/dist/sparkle-core/{p-2f437793.entry.js → p-58389020.entry.js} +14 -14
  413. package/dist/sparkle-core/{p-11cf398a.entry.js → p-58f74119.entry.js} +1 -1
  414. package/dist/sparkle-core/p-5979f253.entry.js +1 -0
  415. package/dist/sparkle-core/p-5a3de051.entry.js +4 -0
  416. package/dist/sparkle-core/p-5a850731.entry.js +1 -0
  417. package/dist/sparkle-core/p-5dcf33fb.entry.js +1 -0
  418. package/dist/sparkle-core/p-5e8fa1ac.entry.js +1 -0
  419. package/dist/sparkle-core/p-5ef50959.js +1 -0
  420. package/dist/sparkle-core/p-615b8f64.entry.js +1 -0
  421. package/dist/sparkle-core/{p-90389886.entry.js → p-63d8a5b7.entry.js} +1 -1
  422. package/dist/sparkle-core/p-6a337ad1.entry.js +1 -0
  423. package/dist/sparkle-core/p-6a5ace01.js +2 -0
  424. package/dist/sparkle-core/{p-d7baf31e.entry.js → p-6ae9c743.entry.js} +1 -1
  425. package/dist/sparkle-core/p-76206f80.entry.js +1 -0
  426. package/dist/sparkle-core/{p-5e4ec238.entry.js → p-767c9db8.entry.js} +1 -1
  427. package/dist/sparkle-core/p-76a6e202.entry.js +1 -0
  428. package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-785f1879.entry.js} +1 -1
  429. package/dist/sparkle-core/p-788735b9.entry.js +1 -0
  430. package/dist/sparkle-core/{p-057f6a23.entry.js → p-7b21bd70.entry.js} +1 -1
  431. package/dist/sparkle-core/p-7b3d1457.js +1 -0
  432. package/dist/sparkle-core/p-7d8427eb.js +4 -0
  433. package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
  434. package/dist/sparkle-core/{p-337f92b0.entry.js → p-8cbe019a.entry.js} +5 -5
  435. package/dist/sparkle-core/{p-401feeb0.js → p-8d630960.js} +1 -1
  436. package/dist/sparkle-core/{p-7052c43a.entry.js → p-8e42e634.entry.js} +1 -1
  437. package/dist/sparkle-core/p-8e56f9ee.entry.js +1 -0
  438. package/dist/sparkle-core/p-8ed0cefb.entry.js +1 -0
  439. package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
  440. package/dist/sparkle-core/{p-77c23496.entry.js → p-9484e34b.entry.js} +1 -1
  441. package/dist/sparkle-core/p-966817ec.js +1 -0
  442. package/dist/sparkle-core/p-969e98e5.entry.js +1 -0
  443. package/dist/sparkle-core/p-98f3925b.js +4 -0
  444. package/dist/sparkle-core/{p-e08059b6.js → p-99231c00.js} +2 -2
  445. package/dist/sparkle-core/p-9a383065.entry.js +7 -0
  446. package/dist/sparkle-core/p-9b4979b5.entry.js +4 -0
  447. package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-9cd95e7e.entry.js} +1 -1
  448. package/dist/sparkle-core/{p-c4104929.entry.js → p-9dc42d70.entry.js} +1 -1
  449. package/dist/sparkle-core/{p-c8ed0575.js → p-9eea81f2.js} +1 -1
  450. package/dist/sparkle-core/{p-797c23ed.entry.js → p-9ef14088.entry.js} +1 -1
  451. package/dist/sparkle-core/p-a05871e6.js +1 -0
  452. package/dist/sparkle-core/{p-d394eed1.entry.js → p-a111c567.entry.js} +1 -1
  453. package/dist/sparkle-core/{p-a7832a51.js → p-a19b42f0.js} +1 -1
  454. package/dist/sparkle-core/p-a208ab2d.js +4 -0
  455. package/dist/sparkle-core/p-a2f7c751.entry.js +1 -0
  456. package/dist/sparkle-core/p-a458b415.entry.js +1 -0
  457. package/dist/sparkle-core/p-a6c1a55a.entry.js +5 -0
  458. package/dist/sparkle-core/p-ab3a8f5e.entry.js +1 -0
  459. package/dist/sparkle-core/p-ac0e4d8c.entry.js +1 -0
  460. package/dist/sparkle-core/p-add30d46.js +4 -0
  461. package/dist/sparkle-core/{p-5b40aae5.entry.js → p-b00d0a47.entry.js} +1 -1
  462. package/dist/sparkle-core/p-b2827978.entry.js +1 -0
  463. package/dist/sparkle-core/p-b8ba8164.entry.js +1 -0
  464. package/dist/sparkle-core/{p-6823e6c1.entry.js → p-ba775d8e.entry.js} +1 -1
  465. package/dist/sparkle-core/{p-37c00e39.entry.js → p-bae8cd7d.entry.js} +1 -1
  466. package/dist/sparkle-core/p-bb3e3482.entry.js +1 -0
  467. package/dist/sparkle-core/{p-330ccc7c.entry.js → p-bb575dba.entry.js} +1 -1
  468. package/dist/sparkle-core/p-bd2c8e30.entry.js +10 -0
  469. package/dist/sparkle-core/p-c48352cf.js +4 -0
  470. package/dist/sparkle-core/{p-667accac.entry.js → p-c5eb4404.entry.js} +1 -1
  471. package/dist/sparkle-core/p-c8ad5a5b.entry.js +4 -0
  472. package/dist/sparkle-core/p-c9f474d0.js +4 -0
  473. package/dist/sparkle-core/p-ca0edc9b.entry.js +1 -0
  474. package/dist/sparkle-core/{p-680663a2.entry.js → p-cb04b18a.entry.js} +1 -1
  475. package/dist/sparkle-core/{p-b3909012.entry.js → p-d0d0e5e5.entry.js} +1 -1
  476. package/dist/sparkle-core/{p-7d61177b.entry.js → p-d220a642.entry.js} +1 -1
  477. package/dist/sparkle-core/p-d38a2511.entry.js +1 -0
  478. package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-d5b8302f.entry.js} +1 -1
  479. package/dist/sparkle-core/p-d5ba8e80.entry.js +1 -0
  480. package/dist/sparkle-core/{p-3a202a38.entry.js → p-d6637b48.entry.js} +1 -1
  481. package/dist/sparkle-core/p-d6788642.entry.js +1 -0
  482. package/dist/sparkle-core/p-d6a3a639.entry.js +1 -0
  483. package/dist/sparkle-core/p-d86f8633.entry.js +1 -0
  484. package/dist/sparkle-core/{p-08923b40.entry.js → p-defeaa5c.entry.js} +1 -1
  485. package/dist/sparkle-core/p-df5cfa7f.entry.js +1 -0
  486. package/dist/sparkle-core/p-df5efe0d.entry.js +1 -0
  487. package/dist/sparkle-core/p-dff8325e.js +4 -0
  488. package/dist/sparkle-core/{p-034306e2.js → p-e09de7ac.js} +1 -1
  489. package/dist/sparkle-core/{p-016a7aaf.entry.js → p-e1743d82.entry.js} +1 -1
  490. package/dist/sparkle-core/p-e28a106d.entry.js +1 -0
  491. package/dist/sparkle-core/p-e566c0b3.entry.js +1 -0
  492. package/dist/sparkle-core/{p-52f1d1ca.entry.js → p-e6d39f6e.entry.js} +1 -1
  493. package/dist/sparkle-core/p-e9431eeb.js +7 -0
  494. package/dist/sparkle-core/p-ea4a9f0d.entry.js +1 -0
  495. package/dist/sparkle-core/p-ea7d7a3b.js +1 -0
  496. package/dist/sparkle-core/p-eaa8bbee.js +4 -0
  497. package/dist/sparkle-core/p-ed3dfd89.js +4 -0
  498. package/dist/sparkle-core/{p-3defe550.entry.js → p-efe37368.entry.js} +1 -1
  499. package/dist/sparkle-core/{p-bef34cfe.entry.js → p-f187d129.entry.js} +1 -1
  500. package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
  501. package/dist/sparkle-core/{p-052caa63.js → p-f5e7bfa5.js} +1 -1
  502. package/dist/sparkle-core/{p-ecd39170.entry.js → p-f63a13d8.entry.js} +1 -1
  503. package/dist/sparkle-core/{p-1726da2f.entry.js → p-fdb9a613.entry.js} +1 -1
  504. package/dist/sparkle-core/p-fde96f7c.js +4 -0
  505. package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-fe214d79.entry.js} +1 -1
  506. package/dist/sparkle-core/p-fe3a7bca.js +1 -0
  507. package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-fea20ec2.entry.js} +1 -1
  508. package/dist/sparkle-core/p-ff26d891.entry.js +1 -0
  509. package/dist/sparkle-core/sparkle-core.css +1 -1
  510. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  511. package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
  512. package/dist/types/components.d.ts +60 -11
  513. package/package.json +3 -3
  514. package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
  515. package/dist/cjs/ion-button_3.cjs.entry.js +0 -383
  516. package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
  517. package/dist/cjs/ion-card_2.cjs.entry.js +0 -93
  518. package/dist/cjs/ion-icon_2.cjs.entry.js +0 -397
  519. package/dist/cjs/ion-input_2.cjs.entry.js +0 -316
  520. package/dist/cjs/ion-label_2.cjs.entry.js +0 -126
  521. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  522. package/dist/cjs/ion-textarea.cjs.entry.js +0 -247
  523. package/dist/cjs/ion-toggle.cjs.entry.js +0 -160
  524. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -19
  525. package/dist/esm/ion-avatar.entry.js +0 -21
  526. package/dist/esm/ion-button_3.entry.js +0 -377
  527. package/dist/esm/ion-card-title.entry.js +0 -26
  528. package/dist/esm/ion-card_2.entry.js +0 -88
  529. package/dist/esm/ion-icon_2.entry.js +0 -392
  530. package/dist/esm/ion-input_2.entry.js +0 -311
  531. package/dist/esm/ion-label_2.entry.js +0 -121
  532. package/dist/esm/ion-spinner.entry.js +0 -60
  533. package/dist/esm/ion-textarea.entry.js +0 -243
  534. package/dist/esm/ion-toggle.entry.js +0 -156
  535. package/dist/esm/sparkle-feed-post.entry.js +0 -15
  536. package/dist/sparkle-core/p-021fde3c.entry.js +0 -1
  537. package/dist/sparkle-core/p-034aa29f.entry.js +0 -5
  538. package/dist/sparkle-core/p-03ec54a8.entry.js +0 -1
  539. package/dist/sparkle-core/p-04583c51.entry.js +0 -1
  540. package/dist/sparkle-core/p-063cd168.js +0 -4
  541. package/dist/sparkle-core/p-06c0cce3.entry.js +0 -1
  542. package/dist/sparkle-core/p-081968cc.entry.js +0 -1
  543. package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
  544. package/dist/sparkle-core/p-11234d0f.entry.js +0 -1
  545. package/dist/sparkle-core/p-1133fcbd.js +0 -4
  546. package/dist/sparkle-core/p-1551190a.entry.js +0 -1
  547. package/dist/sparkle-core/p-1e8c22e0.entry.js +0 -1
  548. package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
  549. package/dist/sparkle-core/p-21db4e8e.entry.js +0 -1
  550. package/dist/sparkle-core/p-23a9f7d1.entry.js +0 -1
  551. package/dist/sparkle-core/p-28950db0.entry.js +0 -1
  552. package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
  553. package/dist/sparkle-core/p-35c5c110.entry.js +0 -1
  554. package/dist/sparkle-core/p-3ff617d5.js +0 -1
  555. package/dist/sparkle-core/p-4028676b.js +0 -4
  556. package/dist/sparkle-core/p-41124baa.js +0 -4
  557. package/dist/sparkle-core/p-41af3793.entry.js +0 -1
  558. package/dist/sparkle-core/p-43a7391b.entry.js +0 -1
  559. package/dist/sparkle-core/p-44c23f72.js +0 -1
  560. package/dist/sparkle-core/p-4550e10f.entry.js +0 -1
  561. package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
  562. package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
  563. package/dist/sparkle-core/p-4a72626a.js +0 -1
  564. package/dist/sparkle-core/p-4ba57978.entry.js +0 -4
  565. package/dist/sparkle-core/p-4dc3ef96.entry.js +0 -1
  566. package/dist/sparkle-core/p-4ef4b8bd.entry.js +0 -5
  567. package/dist/sparkle-core/p-4f144efa.js +0 -4
  568. package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
  569. package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
  570. package/dist/sparkle-core/p-5a98d42e.entry.js +0 -7
  571. package/dist/sparkle-core/p-5ec7fd67.entry.js +0 -1
  572. package/dist/sparkle-core/p-618f6f82.entry.js +0 -1
  573. package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
  574. package/dist/sparkle-core/p-65ca1fb2.entry.js +0 -1
  575. package/dist/sparkle-core/p-663fafa9.entry.js +0 -1
  576. package/dist/sparkle-core/p-6a16b9ef.entry.js +0 -4
  577. package/dist/sparkle-core/p-6b6a8f0a.entry.js +0 -1
  578. package/dist/sparkle-core/p-6ebf52fb.entry.js +0 -1
  579. package/dist/sparkle-core/p-6f45db93.js +0 -1
  580. package/dist/sparkle-core/p-6fd4985d.js +0 -4
  581. package/dist/sparkle-core/p-70b2452c.js +0 -4
  582. package/dist/sparkle-core/p-74106ca8.entry.js +0 -1
  583. package/dist/sparkle-core/p-7493ee15.entry.js +0 -1
  584. package/dist/sparkle-core/p-75572037.js +0 -1
  585. package/dist/sparkle-core/p-7568dcab.entry.js +0 -1
  586. package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
  587. package/dist/sparkle-core/p-7703bae9.entry.js +0 -1
  588. package/dist/sparkle-core/p-79606a41.entry.js +0 -1
  589. package/dist/sparkle-core/p-7976e88c.entry.js +0 -1
  590. package/dist/sparkle-core/p-7c1f59ec.js +0 -1
  591. package/dist/sparkle-core/p-7de0a22b.entry.js +0 -1
  592. package/dist/sparkle-core/p-848fe770.entry.js +0 -1
  593. package/dist/sparkle-core/p-85429b12.entry.js +0 -1
  594. package/dist/sparkle-core/p-86d099f1.js +0 -4
  595. package/dist/sparkle-core/p-87549bb7.js +0 -4
  596. package/dist/sparkle-core/p-8c470e28.entry.js +0 -1
  597. package/dist/sparkle-core/p-954c89c2.entry.js +0 -1
  598. package/dist/sparkle-core/p-95d01c4c.js +0 -4
  599. package/dist/sparkle-core/p-987c64eb.js +0 -1
  600. package/dist/sparkle-core/p-996361f9.entry.js +0 -1
  601. package/dist/sparkle-core/p-9babd345.js +0 -1
  602. package/dist/sparkle-core/p-a89dea80.entry.js +0 -1
  603. package/dist/sparkle-core/p-b17dd6df.js +0 -4
  604. package/dist/sparkle-core/p-b3e6427d.js +0 -7
  605. package/dist/sparkle-core/p-b49ca0ea.entry.js +0 -1
  606. package/dist/sparkle-core/p-b7dafaae.entry.js +0 -1
  607. package/dist/sparkle-core/p-bd062288.entry.js +0 -1
  608. package/dist/sparkle-core/p-beb401e3.entry.js +0 -1
  609. package/dist/sparkle-core/p-c1c59771.js +0 -1
  610. package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
  611. package/dist/sparkle-core/p-c5b9bdd6.entry.js +0 -1
  612. package/dist/sparkle-core/p-c753207f.entry.js +0 -1
  613. package/dist/sparkle-core/p-c96b24bd.entry.js +0 -4
  614. package/dist/sparkle-core/p-ce13171b.entry.js +0 -1
  615. package/dist/sparkle-core/p-d48e95c1.entry.js +0 -1
  616. package/dist/sparkle-core/p-d4b1a14a.entry.js +0 -1
  617. package/dist/sparkle-core/p-d56efeac.entry.js +0 -4
  618. package/dist/sparkle-core/p-d59a5984.entry.js +0 -1
  619. package/dist/sparkle-core/p-d8aff730.entry.js +0 -1
  620. package/dist/sparkle-core/p-da8921d0.entry.js +0 -1
  621. package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
  622. package/dist/sparkle-core/p-ec4d22e3.entry.js +0 -1
  623. package/dist/sparkle-core/p-ed3eed72.entry.js +0 -1
  624. package/dist/sparkle-core/p-ee0717e1.entry.js +0 -4
  625. package/dist/sparkle-core/p-ef2dace6.js +0 -4
  626. package/dist/sparkle-core/p-f1106984.entry.js +0 -1
  627. package/dist/sparkle-core/p-f61ca75c.entry.js +0 -1
  628. package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
  629. package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as n}from"./p-9babd345.js";import{g as r}from"./p-fef04ab5.js";import{o,c as a}from"./p-69e7783d.js";const e=class{constructor(i){t(this,i),this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}isClickable(){return void 0!==this.href||this.button}renderCard(t){const n=this.isClickable();if(!n)return[i("slot",null)];const{href:r,routerAnimation:a,routerDirection:e}=this,d=n?void 0===r?"button":"a":"div";return i(d,Object.assign({},"button"===d?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},{class:"card-native",part:"native",disabled:this.disabled,onClick:t=>o(r,t,e,a)}),i("slot",null),n&&"md"===t&&i("ion-ripple-effect",null))}render(){const t=r(this);return i(n,{class:a(this.color,{[t]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(t))}};e.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;transform:translateZ(0);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}"};const d=class{constructor(i){t(this,i)}render(){const t=r(this);return i(n,{class:{[t]:!0,[`card-content-${t}`]:!0}})}};d.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};export{e as ion_card,d as ion_card_content}
@@ -1 +0,0 @@
1
- import{r as i,i as t,h as o,e,H as n}from"./p-9babd345.js";import{g as s}from"./p-fef04ab5.js";import{h as r}from"./p-4f144efa.js";const d=class{constructor(o){i(this,o),this.ionSwipe=t(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const i=s(this),t=r(this.side);return o(n,{class:{[i]:!0,[`item-options-${i}`]:!0,"item-options-start":!t,"item-options-end":t}})}get el(){return e(this)}};d.style={ios:"ion-item-options{top:0;right:0;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;justify-content:flex-end}.item-options-start{right:auto;left:0;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;justify-content:flex-end}.item-options-start{right:auto;left:0;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};export{d as ion_item_options}
@@ -1,4 +0,0 @@
1
- import{q as t,p as o}from"./p-4f144efa.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */const e=e=>{let f,l,d,v,p=10*-u,m=0;const T=e.getBoolean("animated",!0)&&e.getBoolean("rippleEffect",!0),h=new WeakMap,w=o=>{p=t(o),E(o)},b=()=>{clearTimeout(v),v=void 0,l&&(k(!1),l=void 0)},x=t=>{l||void 0!==f&&null!==f.parentElement||(f=void 0,S(i(t),t))},E=t=>{S(void 0,t)},S=(t,e)=>{if(t&&t===l)return;clearTimeout(v),v=void 0;const{x:i,y:r}=o(e);if(l){if(h.has(l))throw new Error("internal error");l.classList.contains(c)||D(l,i,r),k(!0)}if(t){const o=h.get(t);o&&(clearTimeout(o),h.delete(t));const e=n(t)?0:a;t.classList.remove(c),v=setTimeout((()=>{D(t,i,r),v=void 0}),e)}l=t},D=(t,o,e)=>{m=Date.now(),t.classList.add(c);const i=T&&r(t);i&&i.addRipple&&(j(),d=i.addRipple(o,e))},j=()=>{void 0!==d&&(d.then((t=>t())),d=void 0)},k=t=>{j();const o=l;if(!o)return;const e=s-Date.now()+m;if(t&&e>0&&!n(o)){const t=setTimeout((()=>{o.classList.remove(c),h.delete(o)}),s);h.set(o,t)}else o.classList.remove(c)},q=document;q.addEventListener("ionScrollStart",(t=>{f=t.target,b()})),q.addEventListener("ionScrollEnd",(()=>{f=void 0})),q.addEventListener("ionGestureCaptured",b),q.addEventListener("touchstart",(o=>{p=t(o),x(o)}),!0),q.addEventListener("touchcancel",w,!0),q.addEventListener("touchend",w,!0),q.addEventListener("mousedown",(o=>{const e=t(o)-u;p<e&&x(o)}),!0),q.addEventListener("mouseup",(o=>{const e=t(o)-u;p<e&&E(o)}),!0),q.addEventListener("contextmenu",(t=>{E(t)}),!0)},i=t=>{if(!t.composedPath)return t.target.closest(".ion-activatable");{const o=t.composedPath();for(let t=0;t<o.length-2;t++){const e=o[t];if(e.classList&&e.classList.contains("ion-activatable"))return e}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const o=t.shadowRoot.querySelector("ion-ripple-effect");if(o)return o}return t.querySelector("ion-ripple-effect")},c="ion-activated",a=200,s=200,u=2500;export{e as startTapClick}
@@ -1,4 +0,0 @@
1
- import{b as n}from"./p-4f144efa.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */let i;const t=n=>{if(void 0===i){const t=void 0!==n.style.webkitAnimationName;i=void 0===n.style.animationName&&t?"-webkit-":""}return i},e=(n,i,e)=>{const o=i.startsWith("animation")?t(n):"";n.style.setProperty(o+i,e)},o=(n,i)=>{const e=i.startsWith("animation")?t(n):"";n.style.removeProperty(e+i)},a=[],r=(n=[],i)=>{if(void 0!==i){const t=Array.isArray(i)?i:[i];return[...n,...t]}return n},s=i=>{let s,l,d,m,f,c,u,v,y,p,g,$,A,b=[],E=[],k=[],C=!1,w={},h=[],S=[],T={},F=0,R=!1,D=!1,W=!0,I=!1,K=!0;const M=i,j=[],x=[],z=[],P=[],Z=[],q=[],B=[],G=[],H=[],J=[],L="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,N="function"==typeof Element&&"function"==typeof Element.prototype.animate&&L,O=()=>J,Q=(n,i)=>((i&&i.oneTimeCallback?x:j).push({c:n,o:i}),A),U=()=>{if(N)J.forEach((n=>{n.cancel()})),J.length=0;else{const i=z.slice();n((()=>{i.forEach((n=>{o(n,"animation-name"),o(n,"animation-duration"),o(n,"animation-timing-function"),o(n,"animation-iteration-count"),o(n,"animation-delay"),o(n,"animation-play-state"),o(n,"animation-fill-mode"),o(n,"animation-direction")}))}))}},V=()=>{Z.forEach((n=>{n&&n.parentNode&&n.parentNode.removeChild(n)})),Z.length=0},X=()=>void 0!==f?f:u?u.getFill():"both",Y=()=>void 0!==y?y:void 0!==c?c:u?u.getDirection():"normal",_=()=>R?"linear":void 0!==d?d:u?u.getEasing():"linear",nn=()=>D?0:void 0!==p?p:void 0!==l?l:u?u.getDuration():0,tn=()=>void 0!==m?m:u?u.getIterations():1,en=()=>void 0!==g?g:void 0!==s?s:u?u.getDelay():0,on=()=>{0!==F&&(F--,0===F&&((()=>{un(),G.forEach((n=>n())),H.forEach((n=>n()));const n=W?1:0,i=h,t=S,o=T;z.forEach((n=>{const a=n.classList;i.forEach((n=>a.add(n))),t.forEach((n=>a.remove(n)));for(const i in o)o.hasOwnProperty(i)&&e(n,i,o[i])})),j.forEach((i=>i.c(n,A))),x.forEach((i=>i.c(n,A))),x.length=0,K=!0,W&&(I=!0),W=!0})(),u&&u.animationFinish()))},an=(o=!0)=>{V();const r=((s=b).forEach((n=>{for(const i in n)if(n.hasOwnProperty(i)){const t=n[i];if("easing"===i)n["animation-timing-function"]=t,delete n[i];else{const e=i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();e!==i&&(n[e]=t,delete n[i])}}})),s);var s;z.forEach((s=>{if(r.length>0){const l=((n=[])=>n.map((n=>{const i=n.offset,t=[];for(const i in n)n.hasOwnProperty(i)&&"offset"!==i&&t.push(`${i}: ${n[i]};`);return`${100*i}% { ${t.join(" ")} }`})).join(" "))(r);$=void 0!==i?i:(n=>{let i=a.indexOf(n);return i<0&&(i=a.push(n)-1),`ion-animation-${i}`})(l);const d=((n,i,e)=>{const o=(n=>{const i=n.getRootNode();return i.head||i})(e),a=t(e),r=o.querySelector("#"+n);if(r)return r;const s=(e.ownerDocument||document).createElement("style");return s.id=n,s.textContent=`@${a}keyframes ${n} { ${i} } @${a}keyframes ${n}-alt { ${i} }`,o.appendChild(s),s})($,l,s);Z.push(d),e(s,"animation-duration",`${nn()}ms`),e(s,"animation-timing-function",_()),e(s,"animation-delay",`${en()}ms`),e(s,"animation-fill-mode",X()),e(s,"animation-direction",Y());const m=tn()===1/0?"infinite":tn().toString();e(s,"animation-iteration-count",m),e(s,"animation-play-state","paused"),o&&e(s,"animation-name",`${d.id}-alt`),n((()=>{e(s,"animation-name",d.id||null)}))}}))},rn=(n=!0)=>{(()=>{q.forEach((n=>n())),B.forEach((n=>n()));const n=E,i=k,t=w;z.forEach((o=>{const a=o.classList;n.forEach((n=>a.add(n))),i.forEach((n=>a.remove(n)));for(const n in t)t.hasOwnProperty(n)&&e(o,n,t[n])}))})(),b.length>0&&(N?(z.forEach((n=>{const i=n.animate(b,{id:M,delay:en(),duration:nn(),easing:_(),iterations:tn(),fill:X(),direction:Y()});i.pause(),J.push(i)})),J.length>0&&(J[0].onfinish=()=>{on()})):an(n)),C=!0},sn=n=>{if(n=Math.min(Math.max(n,0),.9999),N)J.forEach((i=>{i.currentTime=i.effect.getComputedTiming().delay+nn()*n,i.pause()}));else{const i=`-${nn()*n}ms`;z.forEach((n=>{b.length>0&&(e(n,"animation-delay",i),e(n,"animation-play-state","paused"))}))}},ln=n=>{J.forEach((n=>{n.effect.updateTiming({delay:en(),duration:nn(),easing:_(),iterations:tn(),fill:X(),direction:Y()})})),void 0!==n&&sn(n)},dn=(i=!0,t)=>{n((()=>{z.forEach((o=>{e(o,"animation-name",$||null),e(o,"animation-duration",`${nn()}ms`),e(o,"animation-timing-function",_()),e(o,"animation-delay",void 0!==t?`-${t*nn()}ms`:`${en()}ms`),e(o,"animation-fill-mode",X()||null),e(o,"animation-direction",Y()||null);const a=tn()===1/0?"infinite":tn().toString();e(o,"animation-iteration-count",a),i&&e(o,"animation-name",`${$}-alt`),n((()=>{e(o,"animation-name",$||null)}))}))}))},mn=(n=!1,i=!0,t)=>(n&&P.forEach((e=>{e.update(n,i,t)})),N?ln(t):dn(i,t),A),fn=()=>{C&&(N?J.forEach((n=>{n.pause()})):z.forEach((n=>{e(n,"animation-play-state","paused")})))},cn=()=>{v=void 0,on()},un=()=>{v&&clearTimeout(v)},vn=i=>new Promise((t=>{i&&i.sync&&(D=!0,Q((()=>D=!1),{oneTimeCallback:!0})),C||rn(),I&&(N?(sn(0),ln()):dn(),I=!1),K&&(F=P.length+1,K=!1),Q((()=>t()),{oneTimeCallback:!0}),P.forEach((n=>{n.play()})),N?(J.forEach((n=>{n.play()})),0!==b.length&&0!==z.length||on()):(()=>{if(un(),n((()=>{z.forEach((n=>{b.length>0&&e(n,"animation-play-state","running")}))})),0===b.length||0===z.length)on();else{const i=en()||0,t=nn()||0,e=tn()||1;isFinite(e)&&(v=setTimeout(cn,i+t*e+100)),(i=>{let t;const e={passive:!0},a=e=>{i===e.target&&(t&&t(),un(),n((()=>{z.forEach((n=>{o(n,"animation-duration"),o(n,"animation-delay"),o(n,"animation-play-state")})),n(on)})))};i&&(i.addEventListener("webkitAnimationEnd",a,e),i.addEventListener("animationend",a,e),t=()=>{i.removeEventListener("webkitAnimationEnd",a,e),i.removeEventListener("animationend",a,e)})})(z[0])}})()})),yn=(n,i)=>{const t=b[0];return void 0===t||void 0!==t.offset&&0!==t.offset?b=[{offset:0,[n]:i},...b]:t[n]=i,A};return A={parentAnimation:u,elements:z,childAnimations:P,id:M,animationFinish:on,from:yn,to:(n,i)=>{const t=b[b.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?b=[...b,{offset:1,[n]:i}]:t[n]=i,A},fromTo:(n,i,t)=>yn(n,i).to(n,t),parent:n=>(u=n,A),play:vn,pause:()=>(P.forEach((n=>{n.pause()})),fn(),A),stop:()=>{P.forEach((n=>{n.stop()})),C&&(U(),C=!1),R=!1,D=!1,K=!0,y=void 0,p=void 0,g=void 0,F=0,I=!1,W=!0},destroy:n=>(P.forEach((i=>{i.destroy(n)})),(n=>{U(),n&&V()})(n),z.length=0,P.length=0,b.length=0,j.length=0,x.length=0,C=!1,K=!0,A),keyframes:n=>{const i=b!==n;return b=n,i&&(n=>{N?O().forEach((i=>{if(i.effect.setKeyframes)i.effect.setKeyframes(n);else{const t=new KeyframeEffect(i.effect.target,n,i.effect.getTiming());i.effect=t}})):an()})(b),A},addAnimation:n=>{if(null!=n)if(Array.isArray(n))for(const i of n)i.parent(A),P.push(i);else n.parent(A),P.push(n);return A},addElement:n=>{if(null!=n)if(1===n.nodeType)z.push(n);else if(n.length>=0)for(let i=0;i<n.length;i++)z.push(n[i]);else console.error("Invalid addElement value");return A},update:mn,fill:n=>(f=n,mn(!0),A),direction:n=>(c=n,mn(!0),A),iterations:n=>(m=n,mn(!0),A),duration:n=>(N||0!==n||(n=1),l=n,mn(!0),A),easing:n=>(d=n,mn(!0),A),delay:n=>(s=n,mn(!0),A),getWebAnimations:O,getKeyframes:()=>b,getFill:X,getDirection:Y,getDelay:en,getIterations:tn,getEasing:_,getDuration:nn,afterAddRead:n=>(G.push(n),A),afterAddWrite:n=>(H.push(n),A),afterClearStyles:(n=[])=>{for(const i of n)T[i]="";return A},afterStyles:(n={})=>(T=n,A),afterRemoveClass:n=>(S=r(S,n),A),afterAddClass:n=>(h=r(h,n),A),beforeAddRead:n=>(q.push(n),A),beforeAddWrite:n=>(B.push(n),A),beforeClearStyles:(n=[])=>{for(const i of n)w[i]="";return A},beforeStyles:(n={})=>(w=n,A),beforeRemoveClass:n=>(k=r(k,n),A),beforeAddClass:n=>(E=r(E,n),A),onFinish:Q,progressStart:(n=!1,i)=>(P.forEach((t=>{t.progressStart(n,i)})),fn(),R=n,C||rn(),mn(!1,!0,i),A),progressStep:n=>(P.forEach((i=>{i.progressStep(n)})),sn(n),A),progressEnd:(n,i,t)=>(R=!1,P.forEach((e=>{e.progressEnd(n,i,t)})),void 0!==t&&(p=t),I=!1,W=!0,0===n?(y="reverse"===Y()?"normal":"reverse","reverse"===y&&(W=!1),N?(mn(),sn(1-i)):(g=(1-i)*nn()*-1,mn(!1,!1))):1===n&&(N?(mn(),sn(i)):(g=i*nn()*-1,mn(!1,!1))),void 0!==n&&(Q((()=>{p=void 0,y=void 0,g=void 0}),{oneTimeCallback:!0}),u||vn()),A)}};export{s as c}
@@ -1 +0,0 @@
1
- import{r as t,i,h as e,H as n,e as o}from"./p-9babd345.js";import{g as s}from"./p-fef04ab5.js";import{b as r,g as a}from"./p-4f144efa.js";import{a as h,b as c,c as l}from"./p-063cd168.js";import{c as p}from"./p-69e7783d.js";const d=class{constructor(e){t(this,e),this.ionChange=i(this,"ionChange",7),this.hapticsStarted=!1,this.isColumnVisible=!1,this.isActive=!1,this.items=[],this.color="primary",this.numericInput=!1,this.centerPickerItemInView=(t,i=!0)=>{const{el:e,isColumnVisible:n}=this;if(n){const n=t.offsetTop-3*t.clientHeight+t.clientHeight/2;e.scrollTop!==n&&e.scroll({top:n,left:0,behavior:i?"smooth":void 0})}},this.inputModeChange=t=>{if(!this.numericInput)return;const{useInputMode:i,inputModeColumn:e}=t.detail;this.isActive=!(!i||void 0!==e&&e!==this.el)},this.initializeScrollListener=()=>{const{el:t}=this;let i,e=this.activeItem;const n=()=>{r((()=>{i&&(clearTimeout(i),i=void 0),this.hapticsStarted||(h(),this.hapticsStarted=!0);const n=t.getBoundingClientRect(),o=t.shadowRoot.elementFromPoint(n.x+n.width/2,n.y+n.height/2);null!==e&&e.classList.remove(u),o!==e&&c(),e=o,o.classList.add(u),i=setTimeout((()=>{const t=o.getAttribute("data-index");if(null===t)return;const i=parseInt(t,10),e=this.items[i];e.value!==this.value&&(this.setValue(e.value),l(),this.hapticsStarted=!1)}),250)}))};r((()=>{t.addEventListener("scroll",n),this.destroyScrollListener=()=>{t.removeEventListener("scroll",n)}}))}}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView()}componentWillLoad(){new IntersectionObserver((t=>{var i;if(t[0].isIntersecting){this.isColumnVisible=!0;const t=a(this.el).querySelector(`.${u}`);null==t||t.classList.remove(u),this.scrollActiveItemIntoView(),null===(i=this.activeItem)||void 0===i||i.classList.add(u),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.01}).observe(this.el);const t=this.el.closest("ion-picker-internal");null!==t&&t.addEventListener("ionInputModeChange",(t=>this.inputModeChange(t)))}componentDidRender(){var t;const{activeItem:i,items:e,isColumnVisible:n,value:o}=this;n&&(i?this.scrollActiveItemIntoView():(null===(t=e[0])||void 0===t?void 0:t.value)!==o&&this.setValue(e[0].value))}async scrollActiveItemIntoView(){const t=this.activeItem;t&&this.centerPickerItemInView(t,!1)}setValue(t){const{items:i}=this;this.value=t;const e=i.find((i=>i.value===t));e&&this.ionChange.emit(e)}get activeItem(){return a(this.el).querySelector(`.picker-item[data-value="${this.value}"]`)}render(){const{items:t,color:i,isActive:o,numericInput:r}=this,a=s(this);return e(n,{tabindex:0,class:p(i,{[a]:!0,"picker-column-active":o,"picker-column-numeric-input":r})},e("div",{class:"picker-item picker-item-empty"}," "),e("div",{class:"picker-item picker-item-empty"}," "),e("div",{class:"picker-item picker-item-empty"}," "),t.map(((t,i)=>e("div",{class:"picker-item","data-value":t.value,"data-index":i,onClick:t=>{this.centerPickerItemInView(t.target)}},t.text))),e("div",{class:"picker-item picker-item-empty"}," "),e("div",{class:"picker-item picker-item-empty"}," "),e("div",{class:"picker-item picker-item-empty"}," "))}get el(){return o(this)}static get watchers(){return{value:["valueChange"]}}},u="picker-item-active";d.style={ios:":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{height:34px;line-height:34px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty{scroll-snap-align:none}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{height:34px;line-height:34px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty{scroll-snap-align:none}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"};const g=class{constructor(e){t(this,e),this.ionInputModeChange=i(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=t=>{const{highlightEl:i}=this;if(!i)return!1;const e=i.getBoundingClientRect();return!(t.clientX<e.left||t.clientX>e.right||t.clientY<e.top||t.clientY>e.bottom)},this.onFocusOut=t=>{const{relatedTarget:i}=t;(!i||"ION-PICKER-COLUMN-INTERNAL"!==i.tagName&&i!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=t=>{const{target:i}=t;if("ION-PICKER-COLUMN-INTERNAL"===i.tagName&&!this.actionOnClick){const t=i;t.numericInput?this.enterInputMode(t,!1):this.exitInputMode()}},this.onClick=()=>{const{actionOnClick:t}=this;t&&(t(),this.actionOnClick=void 0)},this.onPointerDown=t=>{const{useInputMode:i,inputModeColumn:e,el:n}=this;if(this.isInHighlightBounds(t))if(i)this.actionOnClick="ION-PICKER-COLUMN-INTERNAL"===t.target.tagName?e&&e===t.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(t.target)}:()=>{this.exitInputMode()};else{const i=1===n.querySelectorAll("ion-picker-column-internal.picker-column-numeric-input").length?t.target:void 0;this.actionOnClick=()=>{this.enterInputMode(i)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(t,i=!0)=>{const{inputEl:e,el:n}=this;e&&n.querySelector("ion-picker-column-internal.picker-column-numeric-input")&&(this.useInputMode=!0,this.inputModeColumn=t,i?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),e.focus()):(n.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{n.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.exitInputMode=()=>{const{inputEl:t,useInputMode:i}=this;i&&t&&(this.useInputMode=!1,this.inputModeColumn=void 0,t.blur(),t.value="",this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),this.emitInputModeChange())},this.onKeyPress=t=>{const{inputEl:i}=this;if(!i)return;const e=parseInt(t.key,10);Number.isNaN(e)||(i.value+=t.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:t,inputModeColumn:i,singleColumnSearchTimeout:e}=this;if(!t||!i)return;const n=i.items;if(e&&clearTimeout(e),this.singleColumnSearchTimeout=setTimeout((()=>{t.value="",this.singleColumnSearchTimeout=void 0}),1e3),t.value.length>=3){const i=t.value.substring(t.value.length-2);return t.value=i,void this.selectSingleColumn()}const o=n.find((({text:i})=>i.replace(/^0+/,"")===t.value));if(o)i.value=o.value;else if(2===t.value.length){const i=t.value.substring(t.value.length-1);t.value=i,this.selectSingleColumn()}},this.searchColumn=(t,i,e="start")=>{let n;const o="start"===e?/^0+/:/0$/;n=t.items.find((({text:t})=>t.replace(o,"")===i)),n&&(t.value=n.value)},this.selectMultiColumn=()=>{const{inputEl:t,el:i}=this;if(!t)return;const e=Array.from(i.querySelectorAll("ion-picker-column-internal")).filter((t=>t.numericInput)),n=e[0],o=e[1];let s,r=t.value;switch(r.length){case 1:this.searchColumn(n,r);break;case 2:const i=t.value.substring(0,1);r="0"===i||"1"===i?t.value:i,this.searchColumn(n,r),1===r.length&&(s=t.value.substring(t.value.length-1),this.searchColumn(o,s,"end"));break;case 3:const e=t.value.substring(0,1);r="0"===e||"1"===e?t.value.substring(0,2):e,this.searchColumn(n,r),s=t.value.substring(1===r.length?1:2),this.searchColumn(o,s,"end");break;case 4:const a=t.value.substring(0,1);r="0"===a||"1"===a?t.value.substring(0,2):a,this.searchColumn(n,r);const h=t.value.substring(1===r.length?1:2,t.value.length);this.searchColumn(o,h,"end");break;default:const c=t.value.substring(t.value.length-4);t.value=c,this.selectMultiColumn()}},this.onInputChange=()=>{const{useInputMode:t,inputEl:i,inputModeColumn:e}=this;t&&i&&(e?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:t,inputModeColumn:i}=this;this.ionInputModeChange.emit({useInputMode:t,inputModeColumn:i})}}componentWillLoad(){a(this.el).addEventListener("focusin",this.onFocusIn),a(this.el).addEventListener("focusout",this.onFocusOut)}render(){return e(n,{onPointerDown:t=>this.onPointerDown(t),onClick:()=>this.onClick()},e("input",{"aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",ref:t=>this.inputEl=t,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),e("div",{class:"picker-before"}),e("div",{class:"picker-after"}),e("div",{class:"picker-highlight",ref:t=>this.highlightEl=t}),e("slot",null))}get el(){return o(this)}};g.style={ios:":host{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;z-index:1;pointer-events:none}:host .picker-before{left:0;top:0;height:83px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-after{left:0;top:116px;height:84px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;transform:translateY(-50%);z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .picker-highlight{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host .picker-before{background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%)}:host .picker-after{background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%)}:host .picker-highlight{background:var(--ion-color-step-150, #eeeeef)}",md:":host{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;z-index:1;pointer-events:none}:host .picker-before{left:0;top:0;height:83px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-after{left:0;top:116px;height:84px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;transform:translateY(-50%);z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .picker-highlight{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host .picker-before{background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0) 90%)}:host .picker-after{background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0) 90%)}"};export{d as ion_picker_column_internal,g as ion_picker_internal}
@@ -1 +0,0 @@
1
- import{r as o,h as n,e,H as r}from"./p-9babd345.js";import{D as i}from"./p-401feeb0.js";const t=class{constructor(n){o(this,n),this.align="left",this.isOpen=!1}handleClick(o){o.target instanceof Node&&this.el.contains(o.target)||this.close()}handleKeyup(o){"Enter"===o.key&&this.toggle(),"Escape"===o.key&&this.close()}async close(){this.isOpen=!1}async open(){this.isOpen=!0}async toggle(){this.isOpen=!this.isOpen}hostData(){return{tabindex:"0",class:{Dropdown:!0,[`Dropdown--${this.align}`]:!0,"is-open":this.isOpen}}}__stencil_render(){const o=this.icon;return[n("button",{tabindex:"-1",class:"Dropdown-button","aria-haspopup":"menu","aria-expanded":this.isOpen?"true":"false",onClick:this.toggle.bind(this)},n("span",{class:"Dropdown-button-label"},this.label),o?n(o,{class:"Dropdown-icon"}):null,this.image?n("img",{class:"Dropdown-image",src:this.image}):null,n(i,{class:"Dropdown-arrow"})),n("div",{role:"menu",class:"Dropdown-panel"},n("slot",null))]}get el(){return e(this)}render(){return n(r,this.hostData(),this.__stencil_render())}};t.style=".Dropdown{display:inline-block;position:relative;z-index:1}.Dropdown-button{appearance:none;background:none;border:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:initial;white-space:nowrap;display:flex}.Dropdown-button .Dropdown-icon{height:14px;width:22px;fill:#ced6e0}.Dropdown-button .Dropdown-icon+.Dropdown-arrow{margin-left:0px;fill:#ced6e0;vertical-align:2px}.Dropdown:focus,.Dropdown-button:focus{outline:none}.Dropdown-button:hover{cursor:pointer}.Dropdown-arrow{fill:currentColor;height:0.8em;margin-bottom:-0.0875em;width:0.8em;margin-left:0.8em}.Dropdown.is-open .Dropdown-arrow{transform:rotate(180deg)}.Dropdown-panel{background-color:var(--background);border-radius:6px;border:none;box-shadow:0px 4px 12px 0px rgba(0, 0, 0, 0.08), 0px 2px 4px 0px rgba(0, 0, 0, 0.08);display:none;min-width:100%;overflow:hidden;pointer-events:none;position:absolute;top:100%;visibility:hidden}.Dropdown.is-open .Dropdown-panel{display:initial;pointer-events:auto;visibility:visible}.Dropdown--left .Dropdown-panel{left:0}.Dropdown--right .Dropdown-panel{right:0}.Dropdown--center .Dropdown-panel{left:50%;transform:translateX(-50%)}.Dropdown-panel a{display:flex;justify-content:space-between;padding:0.5em 1em}.Dropdown-panel svg{height:1em;width:1em;margin-left:4px}@media (hover: hover){.Dropdown-panel a:hover{background-color:rgba(0, 0, 0, 0.025)}}.Dropdown-panel>section{padding:0.5em 0}.Dropdown-panel>section:not(:last-child){border-bottom:solid 1px var(--line-rule-color)}.Dropdown-image{height:36px;width:36px;border-radius:50%}";export{t as sparkle_dropdown}
@@ -1,4 +0,0 @@
1
- import{e as t}from"./p-4f144efa.js";import{i as o}from"./p-506221fe.js";import{createGesture as r}from"./p-b3e6427d.js";import"./p-703ca87c.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */const e=(e,s,n,a,c)=>{const p=e.ownerDocument.defaultView,i=o(e),m=t=>i?-t.deltaX:t.deltaX;return r({el:e,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:t=>(t=>{const{startX:o}=t;return i?o>=p.innerWidth-50:o<=50})(t)&&s(),onStart:n,onMove:t=>{const o=m(t);a(o/p.innerWidth)},onEnd:o=>{const r=m(o),e=p.innerWidth,s=r/e,n=(t=>i?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>e/2),f=(a?1-s:s)*e;let h=0;if(f>5){const t=f/Math.abs(n);h=Math.min(t,540)}c(a,s<=0?.01:t(0,s,.9999),h)}})};export{e as createSwipeBackGesture}
@@ -1 +0,0 @@
1
- const t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Back</title><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>",s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Back</title><path d='M368 64L144 256l224 192V64z'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Down</title><path d='M64 144l192 224 192-224H64z'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Up</title><path d='M448 368L256 144 64 368h384z'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Back</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",w="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close Circle</title><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipsis Horizontal</title><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",d="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Three</title><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>",x="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Two</title><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>",p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";export{g as a,e as b,a as c,n as d,c as e,l as f,o as g,w as h,d as i,i as j,s as k,x as l,h as m,t as n,r as o,v as p,u as q,m as r,p as s}
@@ -1 +0,0 @@
1
- import{r as t,h as s,c as l,H as a,e as i}from"./p-9babd345.js";const o=class{constructor(s){t(this,s)}dismiss(t){this.el.closest("ion-modal").dismiss({dismissed:!0})}render(){return s(a,null,s("ion-toolbar",{color:"primary"},s("ion-buttons",{slot:"start"},s("ion-back-button",{defaultHref:"great-white-wall",onClick:()=>this.dismiss()})),s("ion-title",null,"Comments")),s("ion-content",null,this.comments.map((t=>s("ion-item",null,s("ion-avatar",{class:"avatar",slot:"start"},s("img",{src:l("/assets/img/user.png")})),s("ion-label",null,s("h2",null,t.Name),s("p",null,t.Comment)))))))}get el(){return i(this)}};o.style=":host{display:block}.avatar{width:30px;height:30px}";export{o as sparkle_gww_comment_list}
@@ -1 +0,0 @@
1
- let e,t,n,l=!1,s=!1,o=!1,i=!1,r=null,c=!1;const a="undefined"!=typeof window?window:{},f=a.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},d=e=>{Object.assign(u,e)},p=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$={},m=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=w(e,n),i=b(t,s),r=y(n);u.ael(o,l,i,r),(t.o=t.o||[]).push((()=>u.rel(o,l,i,r)))}))},b=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ke(e)}},w=(e,t)=>4&t?f:8&t?a:16&t?f.body:e,y=e=>0!=(2&e),g="http://www.w3.org/1999/xlink",v=new WeakMap,k=(e,t)=>"sc-"+(t&&32&e.t?e.p+"-"+t:e.p),j=e=>Ce.push(e),S=e=>we(e).h,O={},C=e=>"object"==(e=typeof e)||"function"===e,M=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!C(l))&&(l+=""),i&&r?c[c.length-1].$+=l:c.push(i?R(null,l):l),r=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,P);const f=R(e,null);return f.m=t,c.length>0&&(f.g=c),f.v=s,f.k=o,f},R=(e,t)=>({t:0,j:e,$:t,S:null,g:null,m:null,v:null,k:null}),x={},P={forEach:(e,t)=>e.map(U).forEach(t),map:(e,t)=>e.map(U).map(t).map(T)},U=e=>({vattrs:e.m,vchildren:e.g,vkey:e.v,vname:e.k,vtag:e.j,vtext:e.$}),T=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),M(e.vtag,t,...e.vchildren||[])}const t=R(e.vtag,e.vtext);return t.m=e.vattrs,t.g=e.vchildren,t.v=e.vkey,t.k=e.vname,t},D=(e,t,n,l,s,o)=>{if(n!==l){let i=ve(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=W(n),o=W(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=C(l);if((i||c&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(g,t):e.removeAttribute(t)):(!i||4&o||s)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(g,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ve(a,r)?r.slice(2):r[2]+t.slice(3),n&&u.rel(e,t,n,!1),l&&u.ael(e,t,l,!1)}},L=/\s/,W=e=>e?e.split(L):[],E=(e,t,n,l)=>{const s=11===t.S.nodeType&&t.S.host?t.S.host:t.S,o=e&&e.m||O,i=t.m||O;for(l in o)l in i||D(s,l,o[l],void 0,n,t.t);for(l in i)D(s,l,o[l],i[l],n,t.t)},F=(s,r,c,a)=>{let u,d,p,h=r.g[c],$=0;if(l||(o=!0,"slot"===h.j&&(e&&a.classList.add(e+"-s"),h.t|=h.g?2:1)),null!==h.$)u=h.S=f.createTextNode(h.$);else if(1&h.t)u=h.S=f.createTextNode("");else{if(i||(i="svg"===h.j),u=h.S=f.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&h.t?"slot-fb":h.j),i&&"foreignObject"===h.j&&(i=!1),E(null,h,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),h.g)for($=0;$<h.g.length;++$)d=F(s,h,$,u),d&&u.appendChild(d);"svg"===h.j?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&h.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=h.k||"",p=s&&s.g&&s.g[c],p&&p.j===h.j&&s.S&&N(s.S,!1)),u},N=(e,t)=>{u.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==n&&s["s-ol"]&&(V(s).insertBefore(s,H(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),t&&N(s,t)}u.t&=-2},q=(e,t,l,s,o,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);o<=i;++o)s[o]&&(r=F(null,l,o,e),r&&(s[o].S=r,c.insertBefore(r,H(t))))},A=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.S,K(l),s=!0,o["s-ol"]?o["s-ol"].remove():N(o,!0),o.remove())},B=(e,t)=>e.j===t.j&&("slot"===e.j?e.k===t.k:e.v===t.v),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.S=e.S,l=e.g,s=t.g,o=t.j,r=t.$;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||E(e,t,i),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],p=l.length-1,h=l[0],$=l[p];for(;i<=f&&r<=p;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==h)h=l[++r];else if(null==$)$=l[--p];else if(B(u,h))_(u,h),u=t[++i],h=l[++r];else if(B(d,$))_(d,$),d=t[--f],$=l[--p];else if(B(u,$))"slot"!==u.j&&"slot"!==$.j||N(u.S.parentNode,!1),_(u,$),e.insertBefore(u.S,d.S.nextSibling),u=t[++i],$=l[--p];else if(B(d,h))"slot"!==u.j&&"slot"!==$.j||N(d.S.parentNode,!1),_(d,h),e.insertBefore(d.S,u.S),d=t[--f],h=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].v&&t[a].v===h.v){c=a;break}c>=0?(o=t[c],o.j!==h.j?s=F(t&&t[r],n,c,e):(_(o,h),t[c]=void 0,s=o.S),h=l[++r]):(s=F(t&&t[r],n,r,e),h=l[++r]),s&&V(u.S).insertBefore(s,H(u.S))}i>f?q(e,null==l[p+1]?null:l[p+1].S,n,l,r,p):r>p&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.$&&(n.textContent=""),q(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),i&&"svg"===o&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.$!==r&&(n.data=r)},z=e=>{let t,n,l,s,o,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<l;s++)if(i=r[s].nodeType,r[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===i&&o===r[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[s].textContent.trim()){t.hidden=!0;break}z(t)}},G=[],I=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(J(n,o)?(i=G.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.C=t:G.push({C:t,O:n}),n["s-sr"]&&G.map((e=>{J(e.O,n["s-sn"])&&(i=G.find((e=>e.O===n)),i&&!e.C&&(e.C=i.C))}))):G.some((e=>e.O===n))||G.push({O:n}));1===t.nodeType&&I(t)}},J=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,K=e=>{e.m&&e.m.ref&&e.m.ref(null),e.g&&e.g.map(K)},Q=e=>we(e).M,X=(e,t,n)=>{const l=Q(e);return{emit:e=>Y(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Y=(e,t,n)=>{const l=u.ce(t,n);return e.dispatchEvent(l),l},Z=(e,t)=>{t&&!e.R&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.R=t)))},ee=(e,t)=>{if(e.t|=16,!(4&e.t))return Z(e,e.P),Le((()=>te(e,t)));e.t|=512},te=(e,t)=>{const n=e.i;let l;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>ce(n,e,t))),e.u=null),l=ce(n,"componentWillLoad")):l=ce(n,"componentWillUpdate"),l=ae(l,(()=>ce(n,"componentWillRender"))),ae(l,(()=>ne(e,n,t)))},ne=async(e,t,n)=>{const l=e.M,s=l["s-rc"];n&&(e=>{const t=e.U,n=e.M,l=t.t,s=((e,t,n)=>{let l=k(t,n),s=Oe.get(l);if(e=11===e.nodeType?e:f,s)if("string"==typeof s){let t,n=v.get(e=e.head||e);n||v.set(e,n=new Set),n.has(l)||(t=f.createElement("style"),t.innerHTML=s,e.insertBefore(t,e.querySelector("link")),n&&n.add(l))}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.h);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);le(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},le=(i,c)=>{try{r=c,c=c.render&&c.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,a=i.U,d=i.T||R(null,null),p=(e=>e&&e.j===x)(r)?r:M(null,null,r);if(n=c.tagName,a.D&&(p.m=p.m||{},a.D.map((([e,t])=>p.m[t]=c[e]))),p.j=null,p.t|=4,i.T=p,p.S=d.S=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&a.t),s=!1,_(d,p),u.t|=1,o){let e,t,n,l,s,o;I(p.S);let i=0;for(;i<G.length;i++)e=G[i],t=e.O,t["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.O,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}s&&z(p.S),u.t&=-2,G.length=0})(i,c)}catch(e){ke(e,i.M)}return r=null,null},se=()=>r,oe=e=>{const t=e.M,n=e.i,l=e.P;ce(n,"componentDidRender"),64&e.t?ce(n,"componentDidUpdate"):(e.t|=64,fe(t),ce(n,"componentDidLoad"),e.L(t),l||re()),e.W(t),e.R&&(e.R(),e.R=void 0),512&e.t&&Te((()=>ee(e,!1))),e.t&=-517},ie=e=>{{const t=we(e),n=t.M.isConnected;return n&&2==(18&t.t)&&ee(t,!1),n}},re=()=>{fe(f.documentElement),Te((()=>Y(a,"appload",{detail:{namespace:"sparkle-core"}})))},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ke(e)}},ae=(e,t)=>e&&e.then?e.then(t):t(),fe=e=>e.classList.add("hydrated"),ue=(e,t,n)=>{if(t.F){e.watchers&&(t.N=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>we(this).q.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=we(e),o=s.M,i=s.q.get(t),r=s.t,c=s.i;if(n=((e,t)=>null==e||C(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.q.set(t,n),c)){if(l.N&&128&r){const e=l.N[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){ke(e,o)}}))}2==(18&r)&&ee(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=we(this);return n.A.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){u.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.D.push([e,s]),s}))}}return e},de=e=>{ce(e,"connectedCallback")},pe=(e,t={})=>{const n=[],l=t.exclude||[],s=a.customElements,o=f.head,i=o.querySelector("meta[charset]"),r=f.createElement("style"),c=[];let d,p=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",f.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],p:t[1],F:t[2],B:t[3]};o.F=t[2],o.B=t[3],o.D=[],o.N={};const i=o.p,r=class extends HTMLElement{constructor(e){super(e),ge(e=this,o),1&o.t&&e.attachShadow({mode:"open",delegatesFocus:!!(16&o.t)})}connectedCallback(){d&&(clearTimeout(d),d=null),p?c.push(this):u.jmp((()=>(e=>{if(0==(1&u.t)){const t=we(e),n=t.U,l=()=>{};if(1&t.t)m(e,t,n.B),de(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Z(t,t.P=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=Se(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.N=s.watchers,ue(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){ke(e)}t.t&=-9,t.t|=128,e(),de(t.i)}if(s.style){let l=s.style;"string"!=typeof l&&(l=l[t.h=(e=>Ce.map((t=>t(e))).find((e=>!!e)))(e)]);const o=k(n,t.h);if(!Oe.has(o)){const e=()=>{};((e,t,n)=>{let l=Oe.get(e);h&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,Oe.set(e,l)})(o,l,!!(1&n.t)),e()}}}const o=t.P,i=()=>ee(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(e,t,n)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=we(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ce(t,"disconnectedCallback"),ce(t,"componentDidUnload")}})()))}componentOnReady(){return we(this).H}};o.V=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ue(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),p=!1,c.length?c.map((e=>e.connectedCallback())):u.jmp((()=>d=setTimeout(re,30)))},he=e=>{const t=new URL(e,u.l);return t.origin!==a.location.origin?t.href:t.pathname},$e=(e,t)=>t in $?$[t]:"window"===t?a:"document"===t?f:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?he("."):"queue"===t?{write:Le,read:De,tick:{then:e=>Te(e)}}:void 0)),me=(e,t)=>t,be=new WeakMap,we=e=>be.get(e),ye=(e,t)=>be.set(t.i=e,t),ge=(e,t)=>{const n={t:0,M:e,U:t,q:new Map};return n.A=new Promise((e=>n.W=e)),n.H=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.B),be.set(e,n)},ve=(e,t)=>t in e,ke=(e,t)=>(0,console.error)(e,t),je=new Map,Se=e=>{const t=e.p.replace(/-/g,"_"),n=e.V,l=je.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(je.set(n,e),e[t])),ke)},Oe=new Map,Ce=[],Me=[],Re=[],xe=(e,t)=>n=>{e.push(n),c||(c=!0,t&&4&u.t?Te(Ue):u.raf(Ue))},Pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ke(e)}e.length=0},Ue=()=>{Pe(Me),Pe(Re),(c=Me.length>0)&&u.raf(Ue)},Te=e=>p().then(e),De=xe(Me,!1),Le=xe(Re,!0),We={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1};export{We as B,$ as C,me as F,x as H,j as a,pe as b,he as c,se as d,Q as e,ie as f,S as g,M as h,X as i,De as j,$e as k,p,ye as r,d as s,Le as w}
@@ -1 +0,0 @@
1
- import{r as i,i as l,h as o,H as e,e as t}from"./p-9babd345.js";import{g as n}from"./p-fef04ab5.js";import{c as a,h as s}from"./p-69e7783d.js";const r=class{constructor(o){i(this,o),this.ionColor=l(this,"ionColor",7),this.ionStyle=l(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout((()=>{this.noAnimate=!1}),1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:i}=this;this.ionColor.emit({"item-label-color":void 0!==i,[`ion-color-${i}`]:void 0!==i})}emitStyle(){const{inRange:i,position:l}=this;i||this.ionStyle.emit({label:!0,[`label-${l}`]:void 0!==l})}render(){const i=this.position,l=n(this);return o(e,{class:a(this.color,{[l]:!0,"in-item-color":s("ion-item.ion-color",this.el),[`label-${i}`]:void 0!==i,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return t(this)}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}};r.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{align-self:baseline}.label-fixed.sc-ion-label-ios-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;transform:translate3d(0, 29px, 0);transform-origin:left top;transition:transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{transform:translate3d(0, 28px, 0)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{transform:translate3d(0, 0, 0) scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:'.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{align-self:baseline}.label-fixed.sc-ion-label-md-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{transform-origin:top right}.label-stacked.sc-ion-label-md-h{transform:translateY(50%) scale(0.75);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{transform:translateY(96%);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(-6px) scale(0.75);position:relative;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}'};const m=class{constructor(l){i(this,l),this.inset=!1}async closeSlidingItems(){const i=this.el.querySelector("ion-item-sliding");return!(!i||!i.closeOpened)&&i.closeOpened()}render(){const i=n(this),{lines:l,inset:t}=this;return o(e,{class:{[i]:!0,[`list-${i}`]:!0,"list-inset":t,[`list-lines-${l}`]:void 0!==l,[`list-${i}-lines-${l}`]:void 0!==l}})}get el(){return t(this)}};m.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{r as ion_label,m as ion_list}
@@ -1,4 +0,0 @@
1
- import{g as o,c as n}from"./p-fef04ab5.js";import{OVERLAY_BACK_BUTTON_PRIORITY as t}from"./p-6fd4985d.js";import{c as e,f as a,a as i,r,g as s}from"./p-4f144efa.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */let c=0;const d=new WeakMap,l=o=>({create:n=>b(o,n),dismiss:(n,t,e)=>k(document,n,t,o,e),getTop:async()=>O(document,o)}),u=l("ion-alert"),p=l("ion-action-sheet"),f=l("ion-modal"),v=l("ion-popover"),m=l("ion-toast"),y=o=>{"undefined"!=typeof document&&j(document);const n=c++;o.overlayIndex=n,o.hasAttribute("id")||(o.id=`ion-overlay-${n}`)},b=(o,n)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(o).then((()=>{const t=document.createElement(o);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},n),{hasController:!0})),z(document).appendChild(t),new Promise((o=>e(t,o)))})):Promise.resolve(),h='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',w="input:not([type=hidden]), textarea, button, select",x=(o,n)=>{let t=o.querySelector(h);const e=t&&t.shadowRoot;e&&(t=e.querySelector(w)||t),t?a(t):n.focus()},g=(o,n)=>{const t=Array.from(o.querySelectorAll(h));let e=t.length>0?t[t.length-1]:null;const a=e&&e.shadowRoot;a&&(e=a.querySelector(w)||e),e?e.focus():n.focus()},j=o=>{0===c&&(c=1,o.addEventListener("focus",(n=>{((o,n)=>{const t=O(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),e=o.target;t&&e&&(t.classList.contains("ion-disable-focus-trap")||(t.shadowRoot?(()=>{if(t.contains(e))t.lastFocus=e;else{const o=t.lastFocus;x(t,t),o===n.activeElement&&g(t,t),t.lastFocus=n.activeElement}})():(()=>{if(t===e)t.lastFocus=void 0;else{const o=s(t);if(!o.contains(e))return;const a=o.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(e))t.lastFocus=e;else{const o=t.lastFocus;x(a,t),o===n.activeElement&&g(a,t),t.lastFocus=n.activeElement}}})()))})(n,o)}),!0),o.addEventListener("ionBackButton",(n=>{const e=O(o);e&&e.backdropDismiss&&n.detail.register(t,(()=>e.dismiss(void 0,S)))})),o.addEventListener("keyup",(n=>{if("Escape"===n.key){const n=O(o);n&&n.backdropDismiss&&n.dismiss(void 0,S)}})))},k=(o,n,t,e,a)=>{const i=O(o,e,a);return i?i.dismiss(n,t):Promise.reject("overlay does not exist")},O=(o,n,t)=>{const e=((o,n)=>(void 0===n&&(n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(o.querySelectorAll(n)).filter((o=>o.overlayIndex>0))))(o,n).filter((o=>!o.classList.contains("overlay-hidden")));return void 0===t?e[e.length-1]:e.find((o=>o.id===t))},P=(o=!1)=>{const n=z(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(o?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},A=async(t,e,a,i,r)=>{var s,c;if(t.presented)return;P(!0),t.presented=!0,t.willPresent.emit(),null===(s=t.willPresentShorthand)||void 0===s||s.emit();const d=o(t),l=t.enterAnimation?t.enterAnimation:n.get(e,"ios"===d?a:i);await C(t,l,t.el,r)&&(t.didPresent.emit(),null===(c=t.didPresentShorthand)||void 0===c||c.emit()),"ION-TOAST"!==t.el.tagName&&B(t.el),t.keyboardClose&&t.el.focus()},B=async o=>{let n=document.activeElement;if(!n)return;const t=n&&n.shadowRoot;t&&(n=t.querySelector(w)||n),await o.onDidDismiss(),n.focus()},T=async(t,e,a,i,r,s,c)=>{var l,u;if(!t.presented)return!1;P(!1),t.presented=!1;try{t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:a}),null===(l=t.willDismissShorthand)||void 0===l||l.emit({data:e,role:a});const p=o(t),f=t.leaveAnimation?t.leaveAnimation:n.get(i,"ios"===p?r:s);"gesture"!==a&&await C(t,f,t.el,c),t.didDismiss.emit({data:e,role:a}),null===(u=t.didDismissShorthand)||void 0===u||u.emit({data:e,role:a}),d.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events")}catch(o){console.error(o)}return t.el.remove(),!0},z=o=>o.querySelector("ion-app")||o.body,C=async(o,t,e,a)=>{e.classList.remove("overlay-hidden");const i=t(o.el,a);o.animated&&n.getBoolean("animated",!0)||i.duration(0),o.keyboardClose&&i.beforeAddWrite((()=>{const o=e.ownerDocument.activeElement;o&&o.matches("input,ion-input, ion-textarea")&&o.blur()}));const r=d.get(o)||[];return d.set(o,[...r,i]),await i.play(),!0},E=(o,n)=>{let t;const e=new Promise((o=>t=o));return G(o,n,(o=>{t(o.detail)})),e},G=(o,n,t)=>{const e=a=>{r(o,n,e),t(a)};i(o,n,e)},I=o=>"cancel"===o||o===S,M=o=>o(),N=(o,t)=>{if("function"==typeof o)return n.get("_zoneGate",M)((()=>{try{return o(t)}catch(o){throw o}}))},S="backdrop";export{S as B,A as a,d as b,v as c,T as d,E as e,p as f,O as g,u as h,I as i,x as j,f as m,y as p,N as s,m as t}
@@ -1,7 +0,0 @@
1
- import{G as t}from"./p-703ca87c.js";export{G as GESTURE_CONTROLLER}from"./p-703ca87c.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */const e=(t,e,n,r)=>{const s=o(t)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let c,i;return t.__zone_symbol__addEventListener?(c="__zone_symbol__addEventListener",i="__zone_symbol__removeEventListener"):(c="addEventListener",i="removeEventListener"),t[c](e,n,s),()=>{t[i](e,n,s)}},o=t=>{if(void 0===n)try{const e=Object.defineProperty({},"passive",{get:()=>{n=!0}});t.addEventListener("optsTest",(()=>{}),e)}catch(t){n=!1}return!!n};let n;
5
- /*!
6
- * (C) Ionic http://ionicframework.com - MIT License
7
- */const r=t=>t instanceof Document?t:t.ownerDocument,s=o=>{let n=!1,s=!1,u=!0,d=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},o),v=l.canStart,m=l.onWillStart,p=l.onStart,f=l.onEnd,y=l.notCaptured,_=l.onMove,h=l.threshold,b=l.passive,E=l.blurOnStart,L={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((t,e,o)=>{const n=o*(Math.PI/180),r="x"===t,s=Math.cos(n),c=e*e;let i=0,a=0,u=!1,d=0;return{start(t,e){i=t,a=e,d=0,u=!0},detect(t,e){if(!u)return!1;const o=t-i,n=e-a,l=o*o+n*n;if(l<c)return!1;const v=Math.sqrt(l),m=(r?o:n)/v;return d=m>s?1:m<-s?-1:0,u=!1,!0},isGesture:()=>0!==d,getDirection:()=>d}})(l.direction,l.threshold,l.maxAngle),D=t.createGesture({name:o.gestureName,priority:o.gesturePriority,disableScroll:o.disableScroll}),T=()=>{n&&(d=!1,_&&_(L))},g=()=>!(D&&!D.capture()||(n=!0,u=!1,L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime,m?m(L).then(j):j(),0)),j=()=>{E&&(()=>{if("undefined"!=typeof document){const t=document.activeElement;null!==t&&t.blur&&t.blur()}})(),p&&p(L),u=!0},G=()=>{n=!1,s=!1,d=!1,u=!0,D.release()},O=t=>{const e=n,o=u;G(),o&&(c(L,t),e?f&&f(L):y&&y(L))},X=((t,o,n,s,c)=>{let i,a,u,d,l,v,m,p=0;const f=r=>{p=Date.now()+2e3,o(r)&&(!a&&n&&(a=e(t,"touchmove",n,c)),u||(u=e(r.target,"touchend",_,c)),d||(d=e(r.target,"touchcancel",_,c)))},y=s=>{p>Date.now()||o(s)&&(!v&&n&&(v=e(r(t),"mousemove",n,c)),m||(m=e(r(t),"mouseup",h,c)))},_=t=>{b(),s&&s(t)},h=t=>{E(),s&&s(t)},b=()=>{a&&a(),u&&u(),d&&d(),a=u=d=void 0},E=()=>{v&&v(),m&&m(),v=m=void 0},L=()=>{b(),E()},x=(o=!0)=>{o?(i||(i=e(t,"touchstart",f,c)),l||(l=e(t,"mousedown",y,c))):(i&&i(),l&&l(),i=l=void 0,L())};return{enable:x,stop:L,destroy:()=>{x(!1),s=n=o=void 0}}})(l.el,(t=>{const e=a(t);return!(s||!u)&&(i(t,L),L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime=e,L.velocityX=L.velocityY=L.deltaX=L.deltaY=0,L.event=t,(!v||!1!==v(L))&&(D.release(),!!D.start()&&(s=!0,0===h?g():(x.start(L.startX,L.startY),!0))))}),(t=>{n?!d&&u&&(d=!0,c(L,t),requestAnimationFrame(T)):(c(L,t),x.detect(L.currentX,L.currentY)&&(x.isGesture()&&g()||Y()))}),O,{capture:!1,passive:b}),Y=()=>{G(),X.stop(),y&&y(L)};return{enable(t=!0){t||(n&&O(void 0),G()),X.enable(t)},destroy(){D.destroy(),X.destroy()}}},c=(t,e)=>{if(!e)return;const o=t.currentX,n=t.currentY,r=t.currentTime;i(e,t);const s=t.currentX,c=t.currentY,u=(t.currentTime=a(e))-r;if(u>0&&u<100){const e=(c-n)/u;t.velocityX=(s-o)/u*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=s-t.startX,t.deltaY=c-t.startY,t.event=e},i=(t,e)=>{let o=0,n=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];o=t.clientX,n=t.clientY}else void 0!==t.pageX&&(o=t.pageX,n=t.pageY)}e.currentX=o,e.currentY=n},a=t=>t.timeStamp||Date.now();export{s as createGesture}
@@ -1 +0,0 @@
1
- import{r,h as a,c as t,e}from"./p-9babd345.js";const c=class{constructor(a){r(this,a),this.character="jen",this.position="right"}componentDidLoad(){console.log(this.character)}render(){return a("div",{class:`character-phrase-block ${this.position}`},a("div",{class:`character-box ${this.position}`},a("slot",null)),a("div",{class:`character-image-block ${this.position}`},a("img",{class:"image-animation",src:t("./assets/characters/"+this.character+".png")})))}static get assetsDirs(){return["assets"]}get el(){return e(this)}};c.style='sparkle-character-intro{--sparkle-character-background-color:#e7e7e7}sparkle-character-intro .character-phrase-block{display:flex;width:100%;min-height:200px;align-items:center;padding:20px}sparkle-character-intro .character-phrase-block.right{justify-content:flex-end}sparkle-character-intro .character-phrase-block.left{justify-content:flex-start}sparkle-character-intro .character-phrase-block.left .character-box{order:2}sparkle-character-intro .character-phrase-block.left .character-image-block{order:1}sparkle-character-intro .character-box{min-width:300px;border-radius:15px;background:var(--sparkle-character-background-color);color:var(--text-color);padding:20px;text-align:center;position:relative;box-shadow:0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04)}sparkle-character-intro .character-box.right:before{content:"";width:0px;height:0px;position:absolute;border-left:15px solid var(--sparkle-character-background-color);border-right:15px solid transparent;border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;right:-16px;top:0px}sparkle-character-intro .character-box.left:before{content:"";width:0px;height:0px;position:absolute;border-left:15px solid transparent;border-right:15px solid var(--sparkle-character-background-color);border-top:15px solid var(--sparkle-character-background-color);border-bottom:15px solid transparent;left:-16px;top:0px}sparkle-character-intro img{max-width:100%;border:0}sparkle-character-intro .character-image-block{float:left;width:20%}sparkle-character-intro .character-image-block.right{transform:rotateY(180deg)}';export{c as sparkle_character_intro}
@@ -1 +0,0 @@
1
- import{h as t,r as s,H as i,e}from"./p-9babd345.js";import{t as a}from"./p-b17dd6df.js";import{F as o,f as l}from"./p-44c23f72.js";import"./p-fef04ab5.js";import"./p-6fd4985d.js";import"./p-4f144efa.js";import"./p-c1c59771.js";import"./p-b226f54d.js";const r=()=>t("div",{class:"spinner-border",role:"status"}),n=class{constructor(t){s(this,t),this.formControls={noteText:{isValid:!0,value:"",errorMessage:"",validate:t=>(console.log(t),t&&t.length>0?{valid:!0,errorMessage:""}:{valid:!1,errorMessage:"Notes is required"})}},this.submitted=!1}componentDidLoad(){this.initialValues&&this.changeFormValue("noteText",this.initialValues.NoteText)}async onSubmit(t){t.preventDefault(),this.submitted=!0;let s=!0;for(let t in this.formControls){let i=this.formControls[t];i.isValid=i.validate(i.value).valid,i.errorMessage=i.validate(i.value).errorMessage,i.isValid||(s=!1)}if(s)if(this.initialValues&&this.initialValues.Id>0){let t=await o.getInstance().updateFacilitatorNote({NoteText:this.formControls.noteText.value,Id:this.initialValues.Id});t.Succeeded?((await a.create({message:"Notes updated successfully",duration:3e3})).present(),this.dismiss()):(await a.create({message:t.Message,duration:3e3})).present()}else{let t=await o.getInstance().addFacilitatorNote({NoteText:this.formControls.noteText.value});t.Succeeded?((await a.create({message:"Notes added successfully",duration:3e3})).present(),this.dismiss()):(await a.create({message:t.Message,duration:3e3})).present()}}dismiss(t){this.el.closest("ion-modal").dismiss({dismissed:!0})}changeFormValue(t,s){this.formControls=Object.assign(Object.assign({},this.formControls),{[t]:Object.assign(Object.assign({},this.formControls[t]),{value:s,isValid:this.formControls[t].validate(s).valid,errorMessage:this.formControls[t].validate(s).errorMessage})})}render(){const s=this.formControls.noteText.isValid?"is-valid":"is-invalid";return t(i,null,t("ion-header",{translucent:!0},t("ion-toolbar",null,t("ion-title",null,"Facilitator Note"),t("ion-buttons",{slot:"end"},t("ion-button",{onClick:()=>this.dismiss()},"Close")))),t("ion-content",{class:"ion-padding"},t("form",{onSubmit:t=>this.onSubmit(t),novalidate:!0},t("div",{class:"mb-3"},t("label",{htmlFor:"validationTextarea",class:"form-label"},"Notes"),t("textarea",{class:`form-control ${this.submitted&&s}`,placeholder:"Notes",value:this.formControls.noteText.value,onChange:t=>this.changeFormValue("noteText",t.target.value)}),this.formControls.noteText.errorMessage&&t("div",{class:"invalid-feedback"},this.formControls.noteText.errorMessage)),t("div",{class:"mb-3"},l.state.notesLoading&&t(r,null),t("button",{class:"btn btn-primary",type:"submit",disabled:l.state.notesLoading},"Submit")))))}get el(){return e(this)}};n.style=":host{display:block}";export{n as sparkle_facilitator_notes_form}
@@ -1 +0,0 @@
1
- import{r as i,h as t,e as s}from"./p-9babd345.js";import{S as e,G as a,M as o,a as n}from"./p-4bd4dab2.js";import{E as l}from"./p-b226f54d.js";import{A as h}from"./p-9a443f51.js";import{A as r,F as d,g as p,f as c}from"./p-4a72626a.js";import"./p-c1c59771.js";import"./p-b17dd6df.js";import"./p-fef04ab5.js";import"./p-6fd4985d.js";import"./p-4f144efa.js";const u=class{constructor(t){i(this,t),this.name={valid:!1,value:""},this.description={valid:!1,value:""},this.category={valid:!1,value:""},this.progress=0,this.public=!0,this.goalUpdateText={valid:!0,value:""},this.submitted=!1}goalHanlder(i){this.updateGoal(i.AppData)}componentWillLoad(){this.appData&&this.updateGoal(this.appData.AppData)}updateGoal(i){i&&(this.name=Object.assign(Object.assign({},this.name),{value:i.Name}),this.description=Object.assign(Object.assign({},this.description),{value:i.Description}),this.category=Object.assign(Object.assign({},this.category),{value:i.Category}),this.goalUpdateText=Object.assign(Object.assign({},this.goalUpdateText),{value:i.GoalText}),this.progress=i.Percentage)}handleTitle(i){this.validateTitle(),this.name=Object.assign(Object.assign({},this.name),{value:i.target.value})}handleDescription(i){this.validateDescription(),this.description=Object.assign(Object.assign({},this.description),{value:i.target.value})}handleCategory(i){this.validateCategoy(),this.category=Object.assign(Object.assign({},this.category),{value:i.target.value})}handleGoalProgressInfo(i){this.goalUpdateText=Object.assign(Object.assign({},this.goalUpdateText),{value:i.target.value})}validateTitle(){this.name=Object.assign(Object.assign({},this.name),this.name.value&&this.name.value.length>0?{valid:!0}:{valid:!1})}validateDescription(){this.description=Object.assign(Object.assign({},this.description),this.description.value&&this.description.value.length>0?{valid:!0}:{valid:!1})}validateCategoy(){this.category=Object.assign(Object.assign({},this.category),this.category.value&&this.category.value.length>0?{valid:!0}:{valid:!1})}validateGoalUpdateText(){this.goalUpdateText=Object.assign(Object.assign({},this.goalUpdateText),this.goalUpdateText.value&&this.goalUpdateText.value.length>0?{valid:!0}:{valid:!1})}async onSubmit(i){if(i.preventDefault(),console.log("clicked signup"),this.validateTitle(),this.validateDescription(),this.validateCategoy(),this.submitted=!0,this.appData&&this.appData.Id>0){if(this.validateGoalUpdateText(),this.name.valid&&this.description.valid&&this.category.valid&&this.goalUpdateText.valid){var t=a(this.name.value,this.description.value,this.category.value,this.progress,this.goalUpdateText.value);(await r.getInstance().updateGoal({Id:this.appData.Id,MiniAppId:e.MY_GOALS_APP_ID,AppJsonData:JSON.stringify(t)})).Succeeded&&(this.public?await this.postToFeed():this.dismiss())}}else this.name.valid&&this.description.valid&&this.category.valid&&(t=a(this.name.value,this.description.value,this.category.value,this.progress,this.goalUpdateText.value),(await r.getInstance().createGoal({MiniAppId:e.MY_GOALS_APP_ID,AppJsonData:JSON.stringify(t)})).Succeeded&&this.dismiss())}async postToFeed(){const i=l.getInstance().get("sparkle");var t={CourseId:(await h.getInstance().loadJsonFile(i.tocPath)).id,MiniAppId:e.MY_GOALS_APP_ID,PostText:o(this.name.value,this.goalUpdateText.value,this.progress),PostTextJSON:n(this.name.value,this.goalUpdateText.value,this.progress),IsPublic:this.public,ExternalResourceUrl:""};(await d.getInstance().createPost(t)).Succeeded&&this.dismiss()}dismiss(i){this.el.closest("ion-modal").dismiss({dismissed:!0})}renderEditBookingFields(){if(this.appData)return t("div",null,t("ion-item",null,t("ion-label",{position:"stacked",color:"primary"},"Goal Progress Info"),t("ion-input",{name:"title",type:"text",value:this.goalUpdateText.value,onInput:i=>this.handleGoalProgressInfo(i)})),t("ion-text",{color:"danger"},t("p",{hidden:this.goalUpdateText.valid||!1===this.submitted,class:"ion-padding-start"},"Goal Progress text is required")),t("ion-item",null,t("ion-label",{position:"stacked"},"Progress"),t("ion-range",{value:this.progress,min:1,max:100,step:1,snaps:!0,pin:!0,onIonChange:i=>this.progress=+i.detail.value},t("ion-icon",{size:"small",slot:"start",name:"pulse"}),t("ion-icon",{name:"pulse",size:"small"}),t("strong",{slot:"end"},this.progress))),t("ion-text",{color:"danger"},t("p",{hidden:this.progress>0||!1===this.submitted,class:"ion-padding-start"},"Min Progress value should be 1")),t("ion-item",{lines:"none"},t("ion-label",null,"Share to Community Wall"),t("ion-checkbox",{slot:"start",onChange:i=>this.public=i.detail.checked,checked:!0})))}render(){return[t("div",null,t("ion-toolbar",{color:"primary"},t("ion-buttons",{slot:"start"},t("ion-back-button",{defaultHref:"home",onClick:()=>this.dismiss()})),t("ion-title",null,"Add New Goal")),t("div",{class:"inner-content"},t("form",{class:"ion-padding",novalidate:!0,onSubmit:i=>this.onSubmit(i)},t("ion-list",{"no-lines":!0},t("ion-item",null,t("ion-label",{position:"stacked",color:"primary"},"Title"),t("ion-input",{name:"title",type:"text",value:this.name.value,onInput:i=>this.handleTitle(i),required:!0})),t("ion-text",{color:"danger"},t("p",{hidden:this.name.valid||!1===this.submitted,class:"ion-padding-start"},"Title is required")),t("ion-item",null,t("ion-label",{position:"stacked",color:"primary"},"Description"),t("ion-textarea",{name:"desciption",value:this.description.value,onInput:i=>this.handleDescription(i),required:!0})),t("ion-text",{color:"danger"},t("p",{hidden:this.description.valid||!1===this.submitted,class:"ion-padding-start"},"Description is required")),t("ion-item",null,t("ion-label",null,"Category"),t("ion-select",{value:this.category.value,onIonChange:i=>this.handleCategory(i)},t("ion-select-option",{value:"Emotional"},"Emotional"),t("ion-select-option",{value:"Interpersonal"},"Interpersonal"),t("ion-select-option",{value:"Learning"},"Learning"),t("ion-select-option",{value:"Financial"},"Financial"),t("ion-select-option",{value:"Physical"},"Physical"))),t("ion-text",{color:"danger"},t("p",{hidden:this.category.valid||!1===this.submitted,class:"ion-padding-start"},"Category is required")),this.renderEditBookingFields()),t("div",{class:"ion-padding"},this.appData&&t("ion-button",{type:"submit",expand:"block",disabled:p.state.goalLoading||c.state.postIdLoading>0},p.state.goalLoading&&t("ion-spinner",{name:"dots"})," Update"),!this.appData&&t("ion-button",{type:"submit",expand:"block",disabled:p.state.goalLoading},p.state.goalLoading&&t("ion-spinner",{name:"dots"})," Add")))))]}get el(){return s(this)}static get watchers(){return{appData:["goalHanlder"]}}};u.style=":host{display:block}";export{u as sparkle_goal_form}
@@ -1 +0,0 @@
1
- import{r as t,i,h as s,H as e,e as r}from"./p-9babd345.js";import{g as o}from"./p-fef04ab5.js";import{i as n}from"./p-4f144efa.js";const h=class{constructor(s){t(this,s),this.ionImgWillLoad=i(this,"ionImgWillLoad",7),this.ionImgDidLoad=i(this,"ionImgDidLoad",7),this.ionError=i(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()}}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=n(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&("undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver((t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())})),this.io.observe(this.el)):setTimeout((()=>this.load()),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:i,onLoad:r,loadError:n,inheritedAttributes:h}=this,{draggable:d}=h;return s(e,{class:o(this)},s("img",{decoding:"async",src:t,alt:i,onLoad:r,onError:n,part:"image",draggable:a(d)}))}get el(){return r(this)}static get watchers(){return{src:["srcChanged"]}}},a=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};h.style=":host{display:block;object-fit:contain}img{display:block;width:100%;height:100%;object-fit:inherit;object-position:inherit}";export{h as ion_img}
@@ -1 +0,0 @@
1
- import{t}from"./p-b17dd6df.js";import{E as e}from"./p-b226f54d.js";import{d as r,f as n}from"./p-9babd345.js";var o=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},i=Object.prototype.toString;function u(t){return Array.isArray(t)}function a(t){return void 0===t}function f(t){return"[object ArrayBuffer]"===i.call(t)}function c(t){return null!==t&&"object"==typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===i.call(t)}function y(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),u(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var l={isArray:u,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:p,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:s,isStream:function(t){return c(t)&&s(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:y,merge:function t(){var e={};function r(r,n){e[n]=p(e[n])&&p(r)?t(e[n],r):p(r)?t({},r):u(r)?r.slice():r}for(var n=0,o=arguments.length;n<o;n++)y(arguments[n],r);return e},extend:function(t,e,r){return y(e,(function(e,n){t[n]=r&&"function"==typeof e?o(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}};function d(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var v=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(l.isURLSearchParams(e))n=e.toString();else{var o=[];l.forEach(e,(function(t,e){null!=t&&(l.isArray(t)?e+="[]":t=[t],l.forEach(t,(function(t){l.isDate(t)?t=t.toISOString():l.isObject(t)&&(t=JSON.stringify(t)),o.push(d(e)+"="+d(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t};function b(){this.handlers=[]}b.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},b.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},b.prototype.forEach=function(t){l.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var m=b,h=function(t,e){l.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},g=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},j={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},S=function(t,e,r,n,o){var i=new Error(t);return g(i,e,r,n,o)},A=l.isStandardBrowserEnv()?{write:function(t,e,r,n,o,i){var u=[];u.push(t+"="+encodeURIComponent(e)),l.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),l.isString(n)&&u.push("path="+n),l.isString(o)&&u.push("domain="+o),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},w=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],O=l.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=l.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0};function P(t){this.message=t}P.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},P.prototype.__CANCEL__=!0;var E=P,R={"Content-Type":"application/x-www-form-urlencoded"};function F(t,e){!l.isUndefined(t)&&l.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var x,k={transitional:j,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(x=function(t){return new Promise((function(e,r){var n,o=t.data,i=t.headers,u=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}l.isFormData(o)&&delete i["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(c+":"+p)}var s,y,d=(y=t.url,(s=t.baseURL)&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(y)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(s,y):y);function b(){if(f){var n,o,i,c,p,s="getAllResponseHeaders"in f?(n=f.getAllResponseHeaders(),p={},n?(l.forEach(n.split("\n"),(function(t){if(c=t.indexOf(":"),o=l.trim(t.substr(0,c)).toLowerCase(),i=l.trim(t.substr(c+1)),o){if(p[o]&&w.indexOf(o)>=0)return;p[o]="set-cookie"===o?(p[o]?p[o]:[]).concat([i]):p[o]?p[o]+", "+i:i}})),p):p):null;!function(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(S("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}((function(t){e(t),a()}),(function(t){r(t),a()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:s,config:t,request:f}),f=null}}if(f.open(t.method.toUpperCase(),v(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(r(S("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){r(S("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(S(e,t,(t.transitional||j).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},l.isStandardBrowserEnv()){var m=(t.withCredentials||O(d))&&t.xsrfCookieName?A.read(t.xsrfCookieName):void 0;m&&(i[t.xsrfHeaderName]=m)}"setRequestHeader"in f&&l.forEach(i,(function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:f.setRequestHeader(e,t)})),l.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),u&&"json"!==u&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(n=function(t){f&&(r(!t||t&&t.type?new E("canceled"):t),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n))),o||(o=null),f.send(o)}))}),x),transformRequest:[function(t,e){return h(e,"Accept"),h(e,"Content-Type"),l.isFormData(t)||l.isArrayBuffer(t)||l.isBuffer(t)||l.isStream(t)||l.isFile(t)||l.isBlob(t)?t:l.isArrayBufferView(t)?t.buffer:l.isURLSearchParams(t)?(F(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):l.isObject(t)||e&&"application/json"===e["Content-Type"]?(F(e,"application/json"),function(t){if(l.isString(t))try{return(0,JSON.parse)(t),l.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||k.transitional,r=!(e&&e.silentJSONParsing)&&"json"===this.responseType;if(r||e&&e.forcedJSONParsing&&l.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw g(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};l.forEach(["delete","get","head"],(function(t){k.headers[t]={}})),l.forEach(["post","put","patch"],(function(t){k.headers[t]=l.merge(R)}));var I=k,U=function(t,e,r){var n=this||I;return l.forEach(r,(function(r){t=r.call(n,t,e)})),t},M=function(t){return!(!t||!t.__CANCEL__)};function N(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new E("canceled")}var T=function(t){return N(t),t.headers=t.headers||{},t.data=U.call(t,t.data,t.headers,t.transformRequest),t.headers=l.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),l.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||I.adapter)(t).then((function(e){return N(t),e.data=U.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return M(e)||(N(t),e&&e.response&&(e.response.data=U.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},B=function(t,e){e=e||{};var r={};function n(t,e){return l.isPlainObject(t)&&l.isPlainObject(e)?l.merge(t,e):l.isPlainObject(e)?l.merge({},e):l.isArray(e)?e.slice():e}function o(r){return l.isUndefined(e[r])?l.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!l.isUndefined(e[t]))return n(void 0,e[t])}function u(r){return l.isUndefined(e[r])?l.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function a(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var f={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:a};return l.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=f[t]||o,n=e(t);l.isUndefined(n)&&e!==a||(r[t]=n)})),r},C={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){C[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var W={};C.transitional=function(t,e,r){function n(t,e){return"[Axios v0.26.1] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new Error(n(o," has been removed"+(e?" in "+e:"")));return e&&!W[o]&&(W[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var D={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],u=e[i];if(u){var a=t[i],f=void 0===a||u(a,i,t);if(!0!==f)throw new TypeError("option "+i+" must be "+f)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:C},_=D.validators;function $(t){this.defaults=t,this.interceptors={request:new m,response:new m}}$.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=B(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var r=e.transitional;void 0!==r&&D.assertOptions(r,{silentJSONParsing:_.transitional(_.boolean),forcedJSONParsing:_.transitional(_.boolean),clarifyTimeoutError:_.transitional(_.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!o){var a=[T,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(u),i=Promise.resolve(e);a.length;)i=i.then(a.shift(),a.shift());return i}for(var f=e;n.length;){var c=n.shift(),p=n.shift();try{f=c(f)}catch(t){p(t);break}}try{i=T(f)}catch(t){return Promise.reject(t)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},$.prototype.getUri=function(t){return t=B(this.defaults,t),v(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},l.forEach(["delete","get","head","options"],(function(t){$.prototype[t]=function(e,r){return this.request(B(r||{},{method:t,url:e,data:(r||{}).data}))}})),l.forEach(["post","put","patch"],(function(t){$.prototype[t]=function(e,r,n){return this.request(B(n||{},{method:t,url:e,data:r}))}}));var q=$;function G(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new E(t),e(r.reason))}))}G.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},G.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},G.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},G.source=function(){var t;return{token:new G((function(e){t=e})),cancel:t}};var J=G,L=function t(e){var r=new q(e),n=o(q.prototype.request,r);return l.extend(n,q.prototype,r),l.extend(n,r),n.create=function(r){return t(B(e,r))},n}(I);L.Axios=q,L.Cancel=E,L.CancelToken=J,L.isCancel=M,L.VERSION="0.26.1",L.all=function(t){return Promise.all(t)},L.spread=function(t){return function(e){return t.apply(null,e)}},L.isAxiosError=function(t){return l.isObject(t)&&!0===t.isAxiosError};var z=L;z.default=L;var H=z,V="undefined"!=typeof Symbol&&Symbol,X="Function.prototype.bind called on incompatible ",K=Array.prototype.slice,Q=Object.prototype.toString,Y=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==Q.call(e))throw new TypeError(X+e);for(var r,n=K.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(K.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(K.call(arguments)))},i=Math.max(0,e.length-n.length),u=[],a=0;a<i;a++)u.push("$"+a);if(r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var f=function(){};f.prototype=e.prototype,r.prototype=new f,f.prototype=null}return r},Z=Y.call(Function.call,Object.prototype.hasOwnProperty),tt=SyntaxError,et=Function,rt=TypeError,nt=function(t){try{return et('"use strict"; return ('+t+").constructor;")()}catch(t){}},ot=Object.getOwnPropertyDescriptor,it=function(){throw new rt},ut=ot?function(){try{return it}catch(t){try{return ot(arguments,"callee").get}catch(t){return it}}}():it,at="function"==typeof V&&"function"==typeof Symbol&&"symbol"==typeof V("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),ft=Object.getPrototypeOf||function(t){return t.__proto__},ct={},pt="undefined"==typeof Uint8Array?void 0:ft(Uint8Array),st={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":at?ft([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":ct,"%AsyncGenerator%":ct,"%AsyncGeneratorFunction%":ct,"%AsyncIteratorPrototype%":ct,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":et,"%GeneratorFunction%":ct,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":at?ft(ft([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&at?ft((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&at?ft((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":at?ft(""[Symbol.iterator]()):void 0,"%Symbol%":at?Symbol:void 0,"%SyntaxError%":tt,"%ThrowTypeError%":ut,"%TypedArray%":pt,"%TypeError%":rt,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},yt=function t(e){var r;if("%AsyncFunction%"===e)r=nt("async function () {}");else if("%GeneratorFunction%"===e)r=nt("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=nt("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=ft(o.prototype))}return st[e]=r,r},lt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},dt=Y.call(Function.call,Array.prototype.concat),vt=Y.call(Function.apply,Array.prototype.splice),bt=Y.call(Function.call,String.prototype.replace),mt=Y.call(Function.call,String.prototype.slice),ht=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gt=/\\(\\)?/g,jt=function(t){var e=mt(t,0,1),r=mt(t,-1);if("%"===e&&"%"!==r)throw new tt("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new tt("invalid intrinsic syntax, expected opening `%`");var n=[];return bt(t,ht,(function(t,e,r,o){n[n.length]=r?bt(o,gt,"$1"):e||t})),n},St=function(t,e){var r,n=t;if(Z(lt,n)&&(n="%"+(r=lt[n])[0]+"%"),Z(st,n)){var o=st[n];if(o===ct&&(o=yt(n)),void 0===o&&!e)throw new rt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new tt("intrinsic "+t+" does not exist!")},At=function(t,e){if("string"!=typeof t||0===t.length)throw new rt("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new rt('"allowMissing" argument must be a boolean');var r=jt(t),n=r.length>0?r[0]:"",o=St("%"+n+"%",e),i=o.name,u=o.value,a=!1,f=o.alias;f&&(n=f[0],vt(r,dt([0,1],f)));for(var c=1,p=!0;c<r.length;c+=1){var s=r[c],y=mt(s,0,1),l=mt(s,-1);if(('"'===y||"'"===y||"`"===y||'"'===l||"'"===l||"`"===l)&&y!==l)throw new tt("property names with quotes must have matching quotes");if("constructor"!==s&&p||(a=!0),Z(st,i="%"+(n+="."+s)+"%"))u=st[i];else if(null!=u){if(!(s in u)){if(!e)throw new rt("base intrinsic for "+t+" exists, but the property is not available.");return}if(ot&&c+1>=r.length){var d=ot(u,s);u=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:u[s]}else p=Z(u,s),u=u[s];p&&!a&&(st[i]=u)}}return u},wt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ot(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Pt(t,e,r){return t(r={path:e,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function Et(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})})),e}var Rt=Pt((function(t){var e=At("%Function.prototype.apply%"),r=At("%Function.prototype.call%"),n=At("%Reflect.apply%",!0)||Y.call(r,e),o=At("%Object.getOwnPropertyDescriptor%",!0),i=At("%Object.defineProperty%",!0),u=At("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=n(Y,r,arguments);if(o&&i){var a=o(e,"length");a.configurable&&i(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var a=function(){return n(Y,e,arguments)};i?i(t.exports,"apply",{value:a}):t.exports.apply=a})),Ft=Rt(At("String.prototype.indexOf")),xt=function(t,e){var r=At(t,!!e);return"function"==typeof r&&Ft(t,".prototype.")>-1?Rt(r):r};const kt=Et(Object.freeze({__proto__:null,default:{}}));var It="function"==typeof Map&&Map.prototype,Ut=Object.getOwnPropertyDescriptor&&It?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mt=It&&Ut&&"function"==typeof Ut.get?Ut.get:null,Nt=It&&Map.prototype.forEach,Tt="function"==typeof Set&&Set.prototype,Bt=Object.getOwnPropertyDescriptor&&Tt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ct=Tt&&Bt&&"function"==typeof Bt.get?Bt.get:null,Wt=Tt&&Set.prototype.forEach,Dt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,_t="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,$t="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,qt=Boolean.prototype.valueOf,Gt=Object.prototype.toString,Jt=Function.prototype.toString,Lt=String.prototype.match,zt=String.prototype.slice,Ht=String.prototype.replace,Vt=String.prototype.toUpperCase,Xt=String.prototype.toLowerCase,Kt=RegExp.prototype.test,Qt=Array.prototype.concat,Yt=Array.prototype.join,Zt=Array.prototype.slice,te=Math.floor,ee="function"==typeof BigInt?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,oe="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ie="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ue=Object.prototype.propertyIsEnumerable,ae=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function fe(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Kt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-te(-t):te(t);if(n!==t){var o=String(n),i=zt.call(e,o.length+1);return Ht.call(o,r,"$&_")+"."+Ht.call(Ht.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ht.call(e,r,"$&_")}var ce=kt.custom,pe=ce&&ve(ce)?ce:null,se=function t(e,r,n,o){var i=r||{};if(me(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(me(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!me(i,"customInspect")||i.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(me(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(me(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return je(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var f=String(e);return a?fe(e,f):f}if("bigint"==typeof e){var c=String(e)+"n";return a?fe(e,c):c}var p=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=p&&p>0&&"object"==typeof e)return de(e)?"[Array]":"[Object]";var s,y=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Yt.call(Array(t.indent+1)," ")}return{base:r,prev:Yt.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(ge(o,e)>=0)return"[Circular]";function l(e,r,u){if(r&&(o=Zt.call(o)).push(r),u){var a={depth:i.depth};return me(i,"quoteStyle")&&(a.quoteStyle=i.quoteStyle),t(e,a,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var d=function(t){if(t.name)return t.name;var e=Lt.call(Jt.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),v=Ee(e,l);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(v.length>0?" { "+Yt.call(v,", ")+" }":"")}if(ve(e)){var b=oe?Ht.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ne.call(e);return"object"!=typeof e||oe?b:Ae(b)}if((s=e)&&"object"==typeof s&&("undefined"!=typeof HTMLElement&&s instanceof HTMLElement||"string"==typeof s.nodeName&&"function"==typeof s.getAttribute)){for(var m="<"+Xt.call(String(e.nodeName)),h=e.attributes||[],g=0;g<h.length;g++)m+=" "+h[g].name+"="+ye(le(h[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+Xt.call(String(e.nodeName))+">"}if(de(e)){if(0===e.length)return"[]";var j=Ee(e,l);return y&&!function(t){for(var e=0;e<t.length;e++)if(ge(t[e],"\n")>=0)return!1;return!0}(j)?"["+Pe(j,y)+"]":"[ "+Yt.call(j,", ")+" ]"}if(function(t){return!("[object Error]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e)){var S=Ee(e,l);return"cause"in e&&!ue.call(e,"cause")?"{ ["+String(e)+"] "+Yt.call(Qt.call("[cause]: "+l(e.cause),S),", ")+" }":0===S.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Yt.call(S,", ")+" }"}if("object"==typeof e&&u){if(pe&&"function"==typeof e[pe])return e[pe]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Mt||!t||"object"!=typeof t)return!1;try{Mt.call(t);try{Ct.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var A=[];return Nt.call(e,(function(t,r){A.push(l(r,e,!0)+" => "+l(t,e))})),Oe("Map",Mt.call(e),A,y)}if(function(t){if(!Ct||!t||"object"!=typeof t)return!1;try{Ct.call(t);try{Mt.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var w=[];return Wt.call(e,(function(t){w.push(l(t,e))})),Oe("Set",Ct.call(e),w,y)}if(function(t){if(!Dt||!t||"object"!=typeof t)return!1;try{Dt.call(t,Dt);try{_t.call(t,_t)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return we("WeakMap");if(function(t){if(!_t||!t||"object"!=typeof t)return!1;try{_t.call(t,_t);try{Dt.call(t,Dt)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return we("WeakSet");if(function(t){if(!$t||!t||"object"!=typeof t)return!1;try{return $t.call(t),!0}catch(t){}return!1}(e))return we("WeakRef");if(function(t){return!("[object Number]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e))return Ae(l(Number(e)));if(function(t){if(!t||"object"!=typeof t||!ee)return!1;try{return ee.call(t),!0}catch(t){}return!1}(e))return Ae(l(ee.call(e)));if(function(t){return!("[object Boolean]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e))return Ae(qt.call(e));if(function(t){return!("[object String]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e))return Ae(l(String(e)));if(!function(t){return!("[object Date]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e)&&!function(t){return!("[object RegExp]"!==he(t)||ie&&"object"==typeof t&&ie in t)}(e)){var O=Ee(e,l),P=ae?ae(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",R=!P&&ie&&Object(e)===e&&ie in e?zt.call(he(e),8,-1):E?"Object":"",F=(P||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(R||E?"["+Yt.call(Qt.call([],R||[],E||[]),": ")+"] ":"");return 0===O.length?F+"{}":y?F+"{"+Pe(O,y)+"}":F+"{ "+Yt.call(O,", ")+" }"}return String(e)};function ye(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function le(t){return Ht.call(String(t),/"/g,"&quot;")}function de(t){return!("[object Array]"!==he(t)||ie&&"object"==typeof t&&ie in t)}function ve(t){if(oe)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!ne)return!1;try{return ne.call(t),!0}catch(t){}return!1}var be=Object.prototype.hasOwnProperty||function(t){return t in this};function me(t,e){return be.call(t,e)}function he(t){return Gt.call(t)}function ge(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function je(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return je(zt.call(t,0,e.maxStringLength),e)+n}return ye(Ht.call(Ht.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Se),"single",e)}function Se(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Vt.call(e.toString(16))}function Ae(t){return"Object("+t+")"}function we(t){return t+" { ? }"}function Oe(t,e,r,n){return t+" ("+e+") {"+(n?Pe(r,n):Yt.call(r,", "))+"}"}function Pe(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Yt.call(t,","+r)+"\n"+e.prev}function Ee(t,e){var r=de(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=me(t,o)?e(t[o],t):""}var i,u="function"==typeof re?re(t):[];if(oe){i={};for(var a=0;a<u.length;a++)i["$"+u[a]]=u[a]}for(var f in t)me(t,f)&&(r&&String(Number(f))===f&&f<t.length||oe&&i["$"+f]instanceof Symbol||(Kt.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],t))));if("function"==typeof re)for(var c=0;c<u.length;c++)ue.call(t,u[c])&&n.push("["+e(u[c])+"]: "+e(t[u[c]],t));return n}var Re=At("%TypeError%"),Fe=At("%WeakMap%",!0),xe=At("%Map%",!0),ke=xt("WeakMap.prototype.get",!0),Ie=xt("WeakMap.prototype.set",!0),Ue=xt("WeakMap.prototype.has",!0),Me=xt("Map.prototype.get",!0),Ne=xt("Map.prototype.set",!0),Te=xt("Map.prototype.has",!0),Be=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},Ce=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new Re("Side channel does not contain "+se(t))},get:function(n){if(Fe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return ke(t,n)}else if(xe){if(e)return Me(e,n)}else if(r)return function(t,e){var r=Be(t,e);return r&&r.value}(r,n)},has:function(n){if(Fe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return Ue(t,n)}else if(xe){if(e)return Te(e,n)}else if(r)return function(t,e){return!!Be(t,e)}(r,n);return!1},set:function(n,o){Fe&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new Fe),Ie(t,n,o)):xe?(e||(e=new xe),Ne(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=Be(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},We=String.prototype.replace,De=/%20/g,_e={default:"RFC3986",formatters:{RFC1738:function(t){return We.call(t,De,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},$e=Object.prototype.hasOwnProperty,qe=Array.isArray,Ge=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Je=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},Le={arrayToObject:Je,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],u=Object.keys(i),a=0;a<u.length;++a){var f=u[a],c=i[f];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:f}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(qe(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",a=0;a<i.length;++a){var f=i.charCodeAt(a);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===_e.RFC1738&&(40===f||41===f)?u+=i.charAt(a):f<128?u+=Ge[f]:f<2048?u+=Ge[192|f>>6]+Ge[128|63&f]:f<55296||f>=57344?u+=Ge[224|f>>12]+Ge[128|f>>6&63]+Ge[128|63&f]:(f=65536+((1023&f)<<10|1023&i.charCodeAt(a+=1)),u+=Ge[240|f>>18]+Ge[128|f>>12&63]+Ge[128|f>>6&63]+Ge[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(qe(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(qe(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!$e.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return qe(e)&&!qe(r)&&(o=Je(e,n)),qe(e)&&qe(r)?(r.forEach((function(r,o){if($e.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=$e.call(e,o)?t(e[o],i,n):i,e}),o)}},ze=Object.prototype.hasOwnProperty,He={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},Ve=Array.isArray,Xe=String.prototype.split,Ke=Array.prototype.push,Qe=function(t,e){Ke.apply(t,Ve(e)?e:[e])},Ye=Date.prototype.toISOString,Ze=_e.default,tr={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Le.encode,encodeValuesOnly:!1,format:Ze,formatter:_e.formatters[Ze],indices:!1,serializeDate:function(t){return Ye.call(t)},skipNulls:!1,strictNullHandling:!1},er={},rr=function t(e,r,n,o,i,u,a,f,c,p,s,y,l,d,v){for(var b,m=e,h=v,g=0,j=!1;void 0!==(h=h.get(er))&&!j;){var S=h.get(e);if(g+=1,void 0!==S){if(S===g)throw new RangeError("Cyclic object value");j=!0}void 0===h.get(er)&&(g=0)}if("function"==typeof a?m=a(r,m):m instanceof Date?m=p(m):"comma"===n&&Ve(m)&&(m=Le.maybeMap(m,(function(t){return t instanceof Date?p(t):t}))),null===m){if(o)return u&&!l?u(r,tr.encoder,d,"key",s):r;m=""}if("string"==typeof(b=m)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||Le.isBuffer(m)){if(u){var A=l?r:u(r,tr.encoder,d,"key",s);if("comma"===n&&l){for(var w=Xe.call(String(m),","),O="",P=0;P<w.length;++P)O+=(0===P?"":",")+y(u(w[P],tr.encoder,d,"value",s));return[y(A)+"="+O]}return[y(A)+"="+y(u(m,tr.encoder,d,"value",s))]}return[y(r)+"="+y(String(m))]}var E,R=[];if(void 0===m)return R;if("comma"===n&&Ve(m))E=[{value:m.length>0?m.join(",")||null:void 0}];else if(Ve(a))E=a;else{var F=Object.keys(m);E=f?F.sort(f):F}for(var x=0;x<E.length;++x){var k=E[x],I="object"==typeof k&&void 0!==k.value?k.value:m[k];if(!i||null!==I){var U=Ve(m)?"function"==typeof n?n(r,k):r:r+(c?"."+k:"["+k+"]");v.set(e,g);var M=Ce();M.set(er,v),Qe(R,t(I,U,n,o,i,u,a,f,c,p,s,y,l,d,M))}}return R};const nr=t=>!("isConnected"in t)||t.isConnected,or=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(nr))})(...e)}),2e3)}})(),ir=(t,e)=>{const o=((t,e=((t,e)=>t!==e))=>{let r=new Map(Object.entries(null!=t?t:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{r=new Map(Object.entries(null!=t?t:{})),n.reset.forEach((t=>t()))},i=t=>(n.get.forEach((e=>e(t))),r.get(t)),u=(t,o)=>{const i=r.get(t);e(o,i,t)&&(r.set(t,o),n.set.forEach((e=>e(t,o,i))))},a="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,e)=>i(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,r)=>(u(e,r),!0)}),f=(t,e)=>(n[t].push(e),()=>{((t,e)=>{const r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.length--)})(n[t],e)});return{state:a,get:i,set:u,on:f,onChange:(e,r)=>{const n=f("set",((t,n)=>{t===e&&r(n)})),o=f("reset",(()=>r(t[e])));return()=>{n(),o()}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(f("set",e.set)),e.get&&t.push(f("get",e.get)),e.reset&&t.push(f("reset",e.reset)),e.dispose&&t.push(f("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{n.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const e=r.get(t);n.set.forEach((r=>r(t,e,e)))}}})(t,e);return o.use((()=>{if("function"!=typeof r)return{};const t=new Map;return{dispose:()=>t.clear(),get:e=>{const n=r();n&&((t,e,r)=>{const n=t.get(e);n?n.includes(r)||n.push(r):t.set(e,[r])})(t,e,n)},set:e=>{const r=t.get(e);r&&t.set(e,r.filter(n)),or(t)},reset:()=>{t.forEach((t=>t.forEach(n))),or(t)}}})()),o},{state:ur,onChange:ar,reset:fr}=ir({toc:void 0}),cr={state:ur,onChange:ar,reset:fr};class pr{constructor(){}static getInstance(){return pr.instance||(pr.instance=new pr),pr.instance}static init(){var r=e.getInstance().get("sparkle");this.http=H.create({baseURL:r.apiUrl,headers:{"Content-Type":"application/json"},timeout:3e4,paramsSerializer:function(t){return function(t,e){var r,n=t,o=function(t){if(!t)return tr;if(null!=t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||tr.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=_e.default;if(void 0!==t.format){if(!ze.call(_e.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=_e.formatters[r],o=tr.filter;return("function"==typeof t.filter||Ve(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:tr.addQueryPrefix,allowDots:void 0===t.allowDots?tr.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:tr.charsetSentinel,delimiter:void 0===t.delimiter?tr.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:tr.encode,encoder:"function"==typeof t.encoder?t.encoder:tr.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:tr.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:tr.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:tr.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:tr.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):Ve(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var u=He[e&&e.arrayFormat in He?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices"];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var a=Ce(),f=0;f<r.length;++f){var c=r[f];o.skipNulls&&null===n[c]||Qe(i,rr(n[c],c,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,a))}var p=i.join(o.delimiter),s=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(s+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),p.length>0?s+p:""}(t,{encode:!1})}}),this.http.interceptors.request.use((function(t){return r&&r.auth&&r.auth.getToken()&&(t.headers.common.Authorization="Bearer "+sparkle.auth.getToken()),t.headers.common["Sparkle.CourseId"]=r.courseId,console.log(cr.state.pageInfo),cr.state.pageInfo&&(t.headers.common["Sparkle.CourseModuleId"]=cr.state.pageInfo.courseModuleId,t.headers.common["Sparkle.SessionId"]=cr.state.pageInfo.sessionId,t.headers.common["Sparkle.PageId"]=cr.state.pageInfo.pageId),t}),(function(t){return Promise.reject(t)})),this.http.interceptors.response.use((async e=>(e.data.Message&&(await t.create({message:e.data.Message,duration:3e3})).present(),e.data.Failed?null:e.data)),(async e=>e.response&&e.response.data&&e.response.data.ErrorMessage?((await t.create({message:e.response.data.ErrorMessage,duration:3e3})).present(),Promise.reject(e)):e.response&&e.response.data&&400==e.response.status?((await t.create({message:e.response.data.Message,duration:3e3})).present(),Promise.reject(e.response.data)):e.response&&e.response.data&&e.response.data.Message?((await t.create({message:e.response.data.Message,duration:3e3})).present(),Promise.reject(e)):(e.request?console.log(e.request):(await t.create({message:"Unknown Error",duration:3e3})).present(),setTimeout((()=>{}),1e3),Promise.reject(e))))}}const{state:sr,onChange:yr,reset:lr}=ir({authUser:null,bearer:"Bearer ",isAuthenticated:!1,loading:!1});yr("authUser",(t=>{sr.bearer=`Bearer ${t?t.JWToken:""}`,sr.isAuthenticated=t&&!!t.Id}));const dr={state:sr,onChange:yr,reset:lr};export{dr as A,pr as H,cr as T,Pt as a,wt as b,ir as c,Ot as g}
@@ -1 +0,0 @@
1
- import{r as s,i,h as t,H as e,e as n}from"./p-9babd345.js";function o(s,i){return"question-"+s+"-option-"+i}const l=class{constructor(t){s(this,t),this.quizFeedbackChange=i(this,"quizFeedbackChange",7),this.displayOptions=[0,1,2,3,4,5,6,7,8,9,10]}render(){return t(e,{class:"quiz__feedback"},t("div",{class:"question-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,this.displayOptions.map(((s,i)=>t("div",{class:"option"},t("input",{type:"radio",id:o(this.question.questionId,i),name:"question-"+this.question.questionId,value:s,onChange:s=>this.quizFeedbackChange.emit({value:s.target.value,question:this.question})}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},this.displayOptions[i])," ",s),t("br",null)))))))}};l.style=":host{display:block}";const a=class{constructor(t){s(this,t),this.quizInputChange=i(this,"quizInputChange",7)}render(){return t(e,{class:"quiz__input"},t("div",{class:"question-container"},t("label",{htmlFor:"question-"+this.question.questionId,class:"form-label"},this.question.questionText),t("input",{type:"text",class:"form-control",id:"question-"+this.question.questionId,name:"question-"+this.question.questionId,onInput:s=>this.quizInputChange.emit({value:s.target.value,question:this.question})})))}};a.style=":host{display:block}";const h=class{constructor(t){s(this,t),this.quizOpinionChange=i(this,"quizOpinionChange",7),this.fivePointsDisplayOptions=["Strongly agree","Agree","Not sure","Disagree","Strongly disagree"],this.tenPointsDisplayOptions=["Never","Never","Sometimes","Sometimes","Half of the time","Half of the time","Most of the time","Most of the time","Always","Always","Always"],this.tenPointsDefaultValue=5}optionChanged(s,i){this.selectedIndex=s,this.quizOpinionChange.emit({value:i,question:this.question})}renderFivePointScale(){return this.fivePointsDisplayOptions.map(((s,i)=>t("div",{class:"option"},t("input",{id:o(this.question.questionId,i),type:"radio",name:"question-"+this.question.questionId,value:s,onChange:()=>this.optionChanged(i,this.fivePointsDisplayOptions[i])}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},i+1),s),t("br",null))))}renderTenPointScale(){return t("div",null,t("ion-item",null,t("ion-range",{class:"opinion-range",onIonChange:s=>this.optionChanged(+s.detail.value,this.tenPointsDisplayOptions[+s.detail.value]),min:0,max:10,value:this.tenPointsDefaultValue,step:1,pin:!0,snaps:!0},t("ion-icon",{size:"small",slot:"start",name:"star-outline"}),t("ion-icon",{slot:"end",name:"star"}))),t("div",{class:"scale"},t("p",null,"Never"),t("p",{class:"selected"},this.tenPointsDisplayOptions[this.selectedIndex]||this.tenPointsDisplayOptions[this.tenPointsDefaultValue]),t("p",null,"Always")),t("br",null),t("hr",null))}render(){return t(e,{class:"quiz__opinion"},t("div",{class:"opinion-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,"FIVE-POINTS"==this.question.scale&&this.renderFivePointScale(),"TEN-POINTS"==this.question.scale&&this.renderTenPointScale())))}get el(){return n(this)}};h.style="sparkle-quiz-opinion .scale{display:flex;justify-content:space-between}sparkle-quiz-opinion .scale>p{margin:0}sparkle-quiz-opinion .scale>p.selected{color:var(--ion-color-primary)}sparkle-quiz-opinion ion-icon{font-size:30px}sparkle-quiz-opinion .icon-group{min-width:70px;text-align:right;padding-right:10px}";const r=class{constructor(t){s(this,t),this.quizInputChange=i(this,"quizInputChange",7)}render(){return t(e,{class:"quiz__input"},t("div",{class:"question-container"},t("label",{htmlFor:"question-"+this.question.questionId,class:"form-label"},this.question.questionText),t("input",{type:"text",class:"form-control",id:"question-"+this.question.questionId,name:"question-"+this.question.questionId,onInput:s=>this.quizInputChange.emit({value:s.target.value,question:this.question})})))}};r.style=":host{display:block}";const u=class{constructor(t){s(this,t),this.quizSelectChange=i(this,"quizSelectChange",7),this.allowMultiple=!1,this.values=[],this.displayOptions=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]}optionChanged(s){this.values=s.target.checked?[...this.values,s.target.value]:this.values.filter((i=>i!==s.target.value)),this.quizSelectChange.emit({value:this.values,question:this.question})}render(){return t(e,{class:"quiz__select"},t("div",{class:"question-container"},t("div",{class:"question-text"},this.question.questionText),t("div",null,this.question.options.map(((s,i)=>t("div",{class:"option"},t("input",{type:this.allowMultiple?"checkbox":"radio",id:o(this.question.questionId,i),name:"question-"+this.question.questionId,value:s.option,onChange:s=>this.optionChanged(s)}),t("label",{htmlFor:o(this.question.questionId,i)},t("span",{class:"number"},this.displayOptions[i]),s.option),t("br",null)))))))}};u.style=":host{display:block}";export{l as sparkle_quiz_feedback,a as sparkle_quiz_input,h as sparkle_quiz_opinion,r as sparkle_quiz_poll,u as sparkle_quiz_select}
@@ -1 +0,0 @@
1
- import{r as t,i as r}from"./p-9babd345.js";const e=class{constructor(e){t(this,e),this.ionRouteRedirectChanged=r(this,"ionRouteRedirectChanged",7)}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}};export{e as ion_route_redirect}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as a,e as o}from"./p-9babd345.js";import{g as i,c as e,a as n}from"./p-fef04ab5.js";const p=class{constructor(s){t(this,s)}componentDidLoad(){d((async()=>{const t=n(window,"hybrid");e.getBoolean("_testing")||import("./p-86d099f1.js").then((t=>t.startTapClick(e))),e.getBoolean("statusTap",t)&&import("./p-1133fcbd.js").then((t=>t.startStatusTap())),e.getBoolean("inputShims",r())&&import("./p-41124baa.js").then((t=>t.startInputShims(e)));const s=await import("./p-6fd4985d.js");e.getBoolean("hardwareBackButton",t)?s.startHardwareBackButton():s.blockHardwareBackButton(),"undefined"!=typeof window&&import("./p-5264da79.js").then((t=>t.startKeyboardAssist(window))),import("./p-d4c07aca.js").then((t=>this.focusVisible=t.startFocusVisible()))}))}async setFocus(t){this.focusVisible&&this.focusVisible.setFocus(t)}render(){const t=i(this);return s(a,{class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":e.getBoolean("_forceStatusbarPadding")}})}get el(){return o(this)}},r=()=>n(window,"ios")&&n(window,"mobile"),d=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};p.style="html.plt-mobile ion-app{user-select:none}html.plt-mobile ion-app [contenteditable]{user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";export{p as ion_app}
@@ -1,4 +0,0 @@
1
- import{r as t,i,h as s,e}from"./p-9babd345.js";import{g as n,c as o}from"./p-fef04ab5.js";import{g as r}from"./p-8c6b6038.js";import{j as a,s as h}from"./p-4f144efa.js";import{l as c,t as l,s as d,L as u,a as v,b as m}from"./p-e08059b6.js";import{a as f}from"./p-4028676b.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */class p{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await f(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){a(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const w=(t,i,s)=>!!t&&t.component===i&&h(t.params,s),b=(t,i)=>t?t instanceof p?t:new p(t,i):null,g=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.animationEnabled=!0,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.animated=!0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&(this.useRouter||this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=n(this);this.swipeGesture=o.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.rootChanged(),this.gesture=(await import("./p-95d01c4c.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}disconnectedCallback(){for(const t of this.views)c(t.element,u),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,s,e){return this.insert(-1,t,i,s,e)}insert(t,i,s,e,n){return this.insertPages(t,[{component:i,componentProps:s}],e,n)}insertPages(t,i,s,e){return this.queueTrns({insertStart:t,insertViews:i,opts:s},e)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,s){const e={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(e.removeView=t,e.removeStart=1):"number"==typeof t&&(e.removeStart=t+1),this.queueTrns(e,s)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,s,e){return this.queueTrns({removeStart:t,removeCount:i,opts:s},e)}setRoot(t,i,s,e){return this.setPages([{component:t,componentProps:i}],s,e)}setPages(t,i,s){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},s)}setRouteId(t,i,s,e){const n=this.getActiveSync();if(w(n,t,i))return Promise.resolve({changed:!1,element:n.element});let o;const r=new Promise((t=>o=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const s=new Promise((t=>i=t));return o({changed:!0,element:t,markVisible:async()=>{i(),await a}}),s}};if("root"===s)a=this.setRoot(t,i,h);else{const n=this.views.find((s=>w(s,t,i)));n?a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:e})):"forward"===s?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:e})):"back"===s&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:e})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,s=i.indexOf(t);return s>0?i[s-1]:void 0}async queueTrns(t,i){var s,e;if(this.isTransitioning&&(null===(s=t.opts)||void 0===s?void 0:s.skipIfBusy))return!1;const n=new Promise(((i,s)=>{t.resolve=i,t.reject=s}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const s=await i.canTransition();if(!1===s)return!1;if("string"==typeof s)return i.push(s,t.opts.direction||"back"),!1}}return 0===(null===(e=t.insertViews)||void 0===e?void 0:e.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),n}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),s=this.getEnteringView(t,i);if(!i&&!s)throw new Error("no views in the stack to be removed");s&&1===s.state&&await s.init(this.el),this.postViewInit(s,i,t);const e=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&s!==i;let n;e&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==s?void 0:s.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),n=e?await this.transition(s,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(n,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,s,e;const n=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(s=(e=t.opts).delegate)&&void 0!==s||(e.delegate=this.delegate),void 0!==t.removeView){a(void 0!==t.removeStart,"removeView needs removeStart"),a(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);const o=t.insertViews;if(!o)return;a(o.length>0,"length can not be zero");const r=o.map((t=>t instanceof p?t:"component"in t?b(t.component,null===t.componentProps?void 0:t.componentProps):b(t,void 0))).filter((t=>null!==t));if(0===r.length)throw new Error("invalid views to insert");for(const i of r){i.delegate=t.opts.delegate;const s=i.nav;if(s&&s!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=r}getEnteringView(t,i){const s=t.insertViews;if(void 0!==s)return s[s.length-1];const e=t.removeStart;if(void 0!==e){const s=this.views,n=e+t.removeCount;for(let t=s.length-1;t>=0;t--){const o=s[t];if((t<e||t>=n)&&o!==i)return o}}}postViewInit(t,i,s){var e,n,o;a(i||t,"Both leavingView and enteringView are null"),a(s.resolve,"resolve must be valid"),a(s.reject,"reject must be valid");const r=s.opts,{insertViews:h,removeStart:l,removeCount:d}=s;let f;if(void 0!==l&&void 0!==d){a(l>=0,"removeStart can not be negative"),a(d>=0,"removeCount can not be negative"),f=[];for(let s=l;s<l+d;s++){const e=this.views[s];e&&e!==t&&e!==i&&f.push(e)}null!==(e=r.direction)&&void 0!==e||(r.direction="back")}const p=this.views.length+(null!==(n=null==h?void 0:h.length)&&void 0!==n?n:0)-(null!=d?d:0);if(a(p>=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=s.insertStart;for(const i of h)this.insertViewAt(i,t),t++;s.enteringRequiresTransition&&(null!==(o=r.direction)&&void 0!==o||(r.direction="forward"))}if(f&&f.length>0){for(const t of f)c(t.element,v),c(t.element,m),c(t.element,u);for(const t of f)this.destroyView(t)}}async transition(t,i,s){const e=s.opts,r=e.progressAnimation?t=>this.sbAni=t:void 0,a=n(this),h=t.element,c=i&&i.element,d=Object.assign(Object.assign({mode:a,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&o.getBoolean("animated",!0),enteringEl:h,leavingEl:c},e),{animationBuilder:e.animationBuilder||this.animation||o.get("navAnimation")}),{hasCompleted:u}=await l(d);return this.transitionFinish(u,t,i,e)}transitionFinish(t,i,s,e){const n=t?i:s;return n&&this.cleanup(n),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:s,direction:e.direction}}insertViewAt(t,i){const s=this.views,e=s.indexOf(t);e>-1?(a(t.nav===this,"view is not part of the nav"),s.splice(e,1),s.splice(i,0,t)):(a(!t.nav,"nav is used"),t.nav=this,s.splice(i,0,t))}removeView(t){a(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,s=i.indexOf(t);a(s>-1,"view must be part of the stack"),s>=0&&i.splice(s,1)}destroyView(t){t._destroy(),this.removeView(t)}cleanup(t){if(this.destroyed)return;const i=this.views,s=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const e=i[t],n=e.element;n&&(t>s?(c(n,u),this.destroyView(e)):t<s&&d(n,!0))}}canStart(){return!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.animationEnabled&&this.canGoBackSync()}onStart(){this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,s){if(this.sbAni){this.animationEnabled=!1,this.sbAni.onFinish((()=>{this.animationEnabled=!0}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=r([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=r([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,e,s)}}render(){return s("slot",null)}get el(){return e(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};g.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";export{g as ion_nav}