@sparkle-learning/core 0.0.29 → 0.0.30

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 (674) hide show
  1. package/dist/cjs/{PrivateRoute-81e20cbf.js → PrivateRoute-043bb7d3.js} +2 -2
  2. package/dist/cjs/{active-router-3bd7b540.js → active-router-eedb3bfe.js} +1 -1
  3. package/dist/cjs/{animation-05337433.js → animation-6132e37f.js} +28 -4
  4. package/dist/cjs/app-globals-9869bf67.js +9 -0
  5. package/dist/cjs/{auth.store-aba3d22f.js → auth.store-ff3fda09.js} +1869 -357
  6. package/dist/cjs/compass-svg.cjs.entry.js +1 -1
  7. package/dist/cjs/context-consumer.cjs.entry.js +1 -1
  8. package/dist/cjs/course-select.cjs.entry.js +1 -1
  9. package/dist/cjs/{cubic-bezier-24e309bf.js → cubic-bezier-293f4663.js} +3 -0
  10. package/dist/cjs/dir-5af5259a.js +20 -0
  11. package/dist/cjs/{facilitator.service-e1e2f719.js → facilitator.service-faac5c0c.js} +1 -1
  12. package/dist/cjs/{feed.service-032c2ecc.js → feed.service-66405969.js} +6 -6
  13. package/dist/cjs/focus-visible-ad3828a7.js +63 -0
  14. package/dist/cjs/framework-delegate-2470a246.js +113 -0
  15. package/dist/cjs/{gesture-controller-e824cfb3.js → gesture-controller-07c31f70.js} +3 -0
  16. package/dist/cjs/{haptic-415dac5b.js → haptic-91e86eb7.js} +3 -0
  17. package/dist/cjs/{hardware-back-button-ca468aae.js → hardware-back-button-f7b5d99e.js} +3 -0
  18. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +18001 -0
  19. package/dist/cjs/{helpers-26770c32.js → helpers-7e28976c.js} +122 -3
  20. package/dist/cjs/{icons-a0fef92b.js → icons-b8a2231a.js} +1 -1
  21. package/dist/cjs/{index-427d03fb.js → index-185f9c5a.js} +3 -0
  22. package/dist/cjs/{index-6eff209d.js → index-43642662.js} +24 -3
  23. package/dist/cjs/{index-7bcd36a0.js → index-459a5fa9.js} +20 -4
  24. package/dist/cjs/index-8540d72e.js +42 -0
  25. package/dist/cjs/{index-58b3ee93.js → index-b12edb26.js} +34 -5
  26. package/dist/cjs/{index-fbf4d3bf.js → index-bae2a754.js} +303 -207
  27. package/dist/cjs/index.cjs.js +7 -7
  28. package/dist/cjs/index.es-ef3efdfb.js +10671 -0
  29. package/dist/cjs/{input-shims-213e83f8.js → input-shims-6c442c9f.js} +34 -10
  30. package/dist/cjs/ion-accordion-group.cjs.entry.js +197 -0
  31. package/dist/cjs/ion-accordion.cjs.entry.js +340 -0
  32. package/dist/cjs/ion-action-sheet_4.cjs.entry.js +2203 -0
  33. package/dist/cjs/ion-app.cjs.entry.js +23 -8
  34. package/dist/cjs/ion-back-button.cjs.entry.js +14 -9
  35. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  36. package/dist/cjs/ion-badge.cjs.entry.js +3 -3
  37. package/dist/cjs/ion-breadcrumb.cjs.entry.js +103 -0
  38. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +135 -0
  39. package/dist/cjs/ion-buttons_3.cjs.entry.js +7 -6
  40. package/dist/cjs/ion-card-header.cjs.entry.js +3 -3
  41. package/dist/cjs/ion-card-subtitle.cjs.entry.js +3 -3
  42. package/dist/cjs/ion-card-title.cjs.entry.js +3 -3
  43. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  44. package/dist/cjs/ion-content_2.cjs.entry.js +144 -56
  45. package/dist/cjs/ion-datetime.cjs.entry.js +1902 -779
  46. package/dist/cjs/ion-fab-button.cjs.entry.js +5 -4
  47. package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-fab.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-footer.cjs.entry.js +79 -4
  50. package/dist/cjs/ion-img.cjs.entry.js +33 -7
  51. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +4 -2
  53. package/dist/cjs/ion-item-divider.cjs.entry.js +3 -3
  54. package/dist/cjs/ion-item-group.cjs.entry.js +2 -2
  55. package/dist/cjs/ion-item-option.cjs.entry.js +4 -4
  56. package/dist/cjs/ion-item-options.cjs.entry.js +3 -3
  57. package/dist/cjs/ion-item-sliding.cjs.entry.js +52 -8
  58. package/dist/cjs/ion-loading.cjs.entry.js +23 -11
  59. package/dist/cjs/ion-menu-button.cjs.entry.js +17 -11
  60. package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
  61. package/dist/cjs/ion-menu.cjs.entry.js +141 -29
  62. package/dist/cjs/ion-modal.cjs.entry.js +649 -75
  63. package/dist/cjs/ion-nav-link.cjs.entry.js +4 -1
  64. package/dist/cjs/ion-nav.cjs.entry.js +140 -137
  65. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +700 -0
  66. package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
  67. package/dist/cjs/ion-picker.cjs.entry.js +18 -11
  68. package/dist/cjs/ion-progress-bar.cjs.entry.js +17 -13
  69. package/dist/cjs/ion-refresher-content.cjs.entry.js +7 -6
  70. package/dist/cjs/ion-refresher.cjs.entry.js +83 -84
  71. package/dist/cjs/ion-reorder-group.cjs.entry.js +9 -8
  72. package/dist/cjs/ion-reorder.cjs.entry.js +5 -4
  73. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  74. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  75. package/dist/cjs/ion-router-link.cjs.entry.js +3 -3
  76. package/dist/cjs/ion-router-outlet.cjs.entry.js +50 -12
  77. package/dist/cjs/ion-router.cjs.entry.js +378 -234
  78. package/dist/cjs/ion-searchbar.cjs.entry.js +50 -17
  79. package/dist/cjs/ion-segment-button.cjs.entry.js +12 -9
  80. package/dist/cjs/ion-segment.cjs.entry.js +89 -10
  81. package/dist/cjs/ion-select_2.cjs.entry.js +64 -30
  82. package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
  83. package/dist/cjs/ion-slide.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-slides.cjs.entry.js +19 -32
  85. package/dist/cjs/ion-split-pane.cjs.entry.js +8 -3
  86. package/dist/cjs/ion-tab-bar.cjs.entry.js +25 -12
  87. package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
  88. package/dist/cjs/ion-tab.cjs.entry.js +3 -2
  89. package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-textarea.cjs.entry.js +9 -8
  91. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  92. package/dist/cjs/ion-toast.cjs.entry.js +37 -27
  93. package/dist/cjs/ion-toggle.cjs.entry.js +15 -15
  94. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +13 -3
  95. package/dist/cjs/{ionic-global-4930d319.js → ionic-global-878073d1.js} +103 -77
  96. package/dist/cjs/{ios.transition-6e1fd3d6.js → ios.transition-c3bfb096.js} +8 -5
  97. package/dist/cjs/{keyboard-1dcbde6c.js → keyboard-dfd76ac3.js} +3 -0
  98. package/dist/cjs/loader.cjs.js +5 -5
  99. package/dist/cjs/{md.transition-3652ad78.js → md.transition-7eb9a1a7.js} +7 -4
  100. package/dist/cjs/{menu-toggle-util-a8fb4c56.js → menu-toggle-util-cb549c2c.js} +4 -1
  101. package/dist/cjs/{overlays-08a817ea.js → overlays-0a748609.js} +188 -47
  102. package/dist/cjs/{purify-a443f0eb.js → purify-d0ad2883.js} +187 -74
  103. package/dist/cjs/sparkle-animation-player.cjs.entry.js +2 -2
  104. package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
  105. package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
  106. package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
  107. package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
  108. package/dist/cjs/sparkle-core.cjs.js +7 -7
  109. package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
  110. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +7 -7
  111. package/dist/cjs/sparkle-feed-post.cjs.entry.js +1 -1
  112. package/dist/cjs/sparkle-feedback.cjs.entry.js +7 -7
  113. package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -8
  114. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
  115. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
  116. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
  117. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
  118. package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
  119. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
  120. package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
  121. package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
  122. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  123. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
  124. package/dist/cjs/sparkle-quiz.cjs.entry.js +2 -2
  125. package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
  126. package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
  127. package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
  128. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
  129. package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
  130. package/dist/cjs/sparkle-youtube.cjs.entry.js +2 -2
  131. package/dist/cjs/{spinner-configs-559523fd.js → spinner-configs-6f6b7ef0.js} +36 -1
  132. package/dist/cjs/status-tap-8697433c.js +40 -0
  133. package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
  134. package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
  135. package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  136. package/dist/cjs/{student.service-41c7c78d.js → student.service-744c3155.js} +1 -1
  137. package/dist/cjs/{swipe-back-c1951cbd.js → swipe-back-7e08b5e0.js} +32 -8
  138. package/dist/cjs/{swiper.bundle-cbea42d8.js → swiper.bundle-8c897c07.js} +4 -4
  139. package/dist/cjs/{tap-click-cd858b48.js → tap-click-1caf1780.js} +8 -1
  140. package/dist/cjs/{theme-98ccfc24.js → theme-4252ac15.js} +3 -0
  141. package/dist/cjs/util-d383acb8.js +2462 -0
  142. package/dist/collection/collection-manifest.json +8 -2
  143. package/dist/collection/components/layout/page/page.js +1 -0
  144. package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +6 -2
  145. package/dist/esm/{PrivateRoute-df0d1e6b.js → PrivateRoute-b9937c45.js} +2 -2
  146. package/dist/esm/{active-router-b3ae32c7.js → active-router-909088d6.js} +1 -1
  147. package/dist/esm/{animation-72fdacfb.js → animation-b306f6c2.js} +28 -4
  148. package/dist/esm/app-globals-5c736ae5.js +7 -0
  149. package/dist/esm/auth.store-3ed2389e.js +4061 -0
  150. package/dist/esm/compass-svg.entry.js +1 -1
  151. package/dist/esm/context-consumer.entry.js +1 -1
  152. package/dist/esm/course-select.entry.js +1 -1
  153. package/dist/esm/{cubic-bezier-ed243a9b.js → cubic-bezier-a7ad9c8e.js} +3 -0
  154. package/dist/esm/dir-03012648.js +18 -0
  155. package/dist/esm/{facilitator.service-cddb2feb.js → facilitator.service-ec0a9739.js} +1 -1
  156. package/dist/esm/{feed.service-694d3d54.js → feed.service-33b83cb7.js} +6 -6
  157. package/dist/esm/focus-visible-40cda868.js +61 -0
  158. package/dist/esm/framework-delegate-3bc58c27.js +109 -0
  159. package/dist/esm/{gesture-controller-604336b7.js → gesture-controller-686622ba.js} +3 -0
  160. package/dist/esm/{haptic-67928174.js → haptic-99c9e346.js} +4 -1
  161. package/dist/esm/{hardware-back-button-508e48cf.js → hardware-back-button-b6ccf74a.js} +3 -0
  162. package/dist/esm/header-mobile-collapse_61.entry.js +17937 -0
  163. package/dist/esm/{helpers-e7f66b2b.js → helpers-39367fe1.js} +119 -4
  164. package/dist/esm/{icons-33e5804c.js → icons-5debfbaf.js} +1 -1
  165. package/dist/esm/{index-cc97b114.js → index-435af8e6.js} +3 -0
  166. package/dist/esm/{index-55fc9f5e.js → index-5568e3fa.js} +303 -208
  167. package/dist/esm/{index-dc09784f.js → index-9594837e.js} +20 -4
  168. package/dist/esm/{index-b2ad0f1a.js → index-a12c14bd.js} +25 -4
  169. package/dist/esm/{index-a94619f9.js → index-c26d8655.js} +34 -5
  170. package/dist/esm/index-dc61f152.js +22 -0
  171. package/dist/esm/index.es-97dd8174.js +10585 -0
  172. package/dist/esm/index.js +7 -7
  173. package/dist/esm/{input-shims-3a97fa86.js → input-shims-cc98ea92.js} +34 -10
  174. package/dist/esm/ion-accordion-group.entry.js +193 -0
  175. package/dist/esm/ion-accordion.entry.js +336 -0
  176. package/dist/esm/ion-action-sheet_4.entry.js +2196 -0
  177. package/dist/esm/ion-app.entry.js +23 -8
  178. package/dist/esm/ion-back-button.entry.js +14 -9
  179. package/dist/esm/ion-backdrop.entry.js +3 -3
  180. package/dist/esm/ion-badge.entry.js +3 -3
  181. package/dist/esm/ion-breadcrumb.entry.js +99 -0
  182. package/dist/esm/ion-breadcrumbs.entry.js +131 -0
  183. package/dist/esm/ion-buttons_3.entry.js +7 -6
  184. package/dist/esm/ion-card-header.entry.js +3 -3
  185. package/dist/esm/ion-card-subtitle.entry.js +3 -3
  186. package/dist/esm/ion-card-title.entry.js +3 -3
  187. package/dist/esm/ion-chip.entry.js +3 -3
  188. package/dist/esm/ion-content_2.entry.js +144 -56
  189. package/dist/esm/ion-datetime.entry.js +1902 -779
  190. package/dist/esm/ion-fab-button.entry.js +5 -4
  191. package/dist/esm/ion-fab-list.entry.js +2 -2
  192. package/dist/esm/ion-fab.entry.js +2 -2
  193. package/dist/esm/ion-footer.entry.js +79 -4
  194. package/dist/esm/ion-img.entry.js +33 -7
  195. package/dist/esm/ion-infinite-scroll-content.entry.js +3 -3
  196. package/dist/esm/ion-infinite-scroll.entry.js +4 -2
  197. package/dist/esm/ion-item-divider.entry.js +3 -3
  198. package/dist/esm/ion-item-group.entry.js +2 -2
  199. package/dist/esm/ion-item-option.entry.js +4 -4
  200. package/dist/esm/ion-item-options.entry.js +3 -3
  201. package/dist/esm/ion-item-sliding.entry.js +52 -8
  202. package/dist/esm/ion-loading.entry.js +23 -11
  203. package/dist/esm/ion-menu-button.entry.js +17 -11
  204. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  205. package/dist/esm/ion-menu.entry.js +141 -29
  206. package/dist/esm/ion-modal.entry.js +649 -75
  207. package/dist/esm/ion-nav-link.entry.js +4 -1
  208. package/dist/esm/ion-nav.entry.js +140 -137
  209. package/dist/esm/ion-picker-column-internal_2.entry.js +695 -0
  210. package/dist/esm/ion-picker-column.entry.js +5 -5
  211. package/dist/esm/ion-picker.entry.js +18 -11
  212. package/dist/esm/ion-progress-bar.entry.js +17 -13
  213. package/dist/esm/ion-refresher-content.entry.js +7 -6
  214. package/dist/esm/ion-refresher.entry.js +82 -83
  215. package/dist/esm/ion-reorder-group.entry.js +9 -8
  216. package/dist/esm/ion-reorder.entry.js +5 -4
  217. package/dist/esm/ion-route-redirect.entry.js +1 -1
  218. package/dist/esm/ion-route.entry.js +1 -1
  219. package/dist/esm/ion-router-link.entry.js +3 -3
  220. package/dist/esm/ion-router-outlet.entry.js +50 -12
  221. package/dist/esm/ion-router.entry.js +378 -234
  222. package/dist/esm/ion-searchbar.entry.js +50 -17
  223. package/dist/esm/ion-segment-button.entry.js +12 -9
  224. package/dist/esm/ion-segment.entry.js +89 -10
  225. package/dist/esm/ion-select_2.entry.js +64 -30
  226. package/dist/esm/ion-skeleton-text.entry.js +4 -4
  227. package/dist/esm/ion-slide.entry.js +2 -2
  228. package/dist/esm/ion-slides.entry.js +19 -32
  229. package/dist/esm/ion-split-pane.entry.js +8 -3
  230. package/dist/esm/ion-tab-bar.entry.js +25 -12
  231. package/dist/esm/ion-tab-button.entry.js +2 -2
  232. package/dist/esm/ion-tab.entry.js +3 -2
  233. package/dist/esm/ion-tabs.entry.js +1 -1
  234. package/dist/esm/ion-textarea.entry.js +9 -8
  235. package/dist/esm/ion-thumbnail.entry.js +2 -2
  236. package/dist/esm/ion-toast.entry.js +37 -27
  237. package/dist/esm/ion-toggle.entry.js +15 -15
  238. package/dist/esm/ion-virtual-scroll.entry.js +13 -3
  239. package/dist/esm/{ionic-global-1f9287cc.js → ionic-global-0939c477.js} +103 -77
  240. package/dist/esm/{ios.transition-d01abefd.js → ios.transition-b4ca8a33.js} +8 -5
  241. package/dist/esm/{keyboard-06906eac.js → keyboard-2503e874.js} +3 -0
  242. package/dist/esm/loader.js +5 -5
  243. package/dist/esm/{md.transition-245ffa55.js → md.transition-ca5e0322.js} +7 -4
  244. package/dist/esm/{menu-toggle-util-fe83fcf5.js → menu-toggle-util-7fa22c2f.js} +4 -1
  245. package/dist/esm/{overlays-8363621c.js → overlays-34cfa9e0.js} +187 -47
  246. package/dist/esm/polyfills/css-shim.js +1 -1
  247. package/dist/esm/polyfills/index.js +2 -2
  248. package/dist/esm/{purify-7e29b899.js → purify-ffce2b4c.js} +185 -72
  249. package/dist/esm/sparkle-animation-player.entry.js +2 -2
  250. package/dist/esm/sparkle-character-intro.entry.js +1 -1
  251. package/dist/esm/sparkle-code.entry.js +2 -2
  252. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  253. package/dist/esm/sparkle-compass.entry.js +1 -1
  254. package/dist/esm/sparkle-core.js +7 -7
  255. package/dist/esm/sparkle-emoji.entry.js +1 -1
  256. package/dist/esm/sparkle-facilitator-notes-form.entry.js +7 -7
  257. package/dist/esm/sparkle-feed-post.entry.js +1 -1
  258. package/dist/esm/sparkle-feedback.entry.js +7 -7
  259. package/dist/esm/sparkle-goal-form.entry.js +8 -8
  260. package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
  261. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  262. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  263. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  264. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  265. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  266. package/dist/esm/sparkle-overlay.entry.js +1 -1
  267. package/dist/esm/sparkle-poll.entry.js +1 -1
  268. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  269. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  270. package/dist/esm/sparkle-quiz.entry.js +2 -2
  271. package/dist/esm/sparkle-select.entry.js +1 -1
  272. package/dist/esm/sparkle-sidebar.entry.js +1 -1
  273. package/dist/esm/sparkle-tab.entry.js +1 -1
  274. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  275. package/dist/esm/sparkle-tabs.entry.js +1 -1
  276. package/dist/esm/sparkle-youtube.entry.js +2 -2
  277. package/dist/esm/{spinner-configs-9536fae2.js → spinner-configs-f609a655.js} +36 -1
  278. package/dist/esm/status-tap-6351a0cb.js +38 -0
  279. package/dist/esm/stencil-async-content.entry.js +1 -1
  280. package/dist/esm/stencil-route-title.entry.js +2 -2
  281. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  282. package/dist/esm/{student.service-c36c5a75.js → student.service-29b688ba.js} +1 -1
  283. package/dist/esm/{swipe-back-21f58ecf.js → swipe-back-34251834.js} +32 -8
  284. package/dist/esm/{swiper.bundle-d4422d52.js → swiper.bundle-b6a959de.js} +4 -4
  285. package/dist/esm/{tap-click-8c728329.js → tap-click-13f1fb0d.js} +8 -1
  286. package/dist/esm/{theme-12606872.js → theme-c336c9d9.js} +3 -0
  287. package/dist/esm/util-6ef753e9.js +2451 -0
  288. package/dist/loader/index.d.ts +0 -1
  289. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +75 -0
  290. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +72 -0
  291. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +25 -0
  292. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +59 -0
  293. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +10 -19
  294. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +19 -16
  295. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +2 -2
  296. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +4 -0
  297. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +4 -0
  298. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +234 -0
  299. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +237 -0
  300. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +38 -0
  301. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +37 -0
  302. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -1
  303. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +5 -5
  304. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +60 -14
  305. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +586 -68
  306. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +575 -68
  307. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +4 -0
  308. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +16 -0
  309. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +9 -0
  310. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +9 -0
  311. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +105 -17
  312. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +295 -22
  313. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +6 -6
  314. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +6 -6
  315. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +2 -2
  316. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +7 -3
  317. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +100 -18
  318. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +1 -1
  319. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +2 -2
  320. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +2 -2
  321. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +74 -11
  322. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +48 -4
  323. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +59 -0
  324. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +62 -0
  325. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +122 -0
  326. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +118 -0
  327. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +83 -0
  328. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +49 -0
  329. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +53 -38
  330. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +53 -38
  331. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +3 -3
  332. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +5 -5
  333. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +12 -0
  334. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +2 -2
  335. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +1 -1
  336. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +1 -1
  337. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +4 -0
  338. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +4 -0
  339. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +1 -1
  340. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +30 -2
  341. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/{select-popover.css → select-popover.ios.css} +4 -4
  342. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
  343. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +4 -4
  344. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +15 -2
  345. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +2 -1
  346. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +1 -0
  347. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +9 -0
  348. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +9 -0
  349. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +4 -3
  350. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +14 -2
  351. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +14 -2
  352. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +1 -0
  353. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +1 -0
  354. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +3 -2
  355. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +2 -1
  356. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +1 -1
  357. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
  358. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
  359. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
  360. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
  361. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
  362. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +255 -0
  363. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
  364. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
  365. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
  366. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
  367. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
  368. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
  369. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
  370. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +18 -0
  371. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +89 -0
  372. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
  373. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
  374. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
  375. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
  376. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
  377. package/dist/sparkle-core/index.esm.js +1 -1
  378. package/dist/sparkle-core/p-0146afa0.entry.js +1 -0
  379. package/dist/sparkle-core/{p-52355989.entry.js → p-016a7aaf.entry.js} +1 -1
  380. package/dist/sparkle-core/p-0187adef.entry.js +1 -0
  381. package/dist/sparkle-core/{p-4328af62.js → p-03189863.js} +1 -1
  382. package/dist/sparkle-core/{p-d4d9aa4a.entry.js → p-03ec54a8.entry.js} +1 -1
  383. package/dist/sparkle-core/p-04583c51.entry.js +1 -0
  384. package/dist/sparkle-core/{p-6d506f4e.js → p-052caa63.js} +1 -1
  385. package/dist/sparkle-core/{p-016bf847.entry.js → p-057f6a23.entry.js} +1 -1
  386. package/dist/sparkle-core/p-0580419b.entry.js +1 -0
  387. package/dist/sparkle-core/{p-c563b4de.js → p-063cd168.js} +4 -1
  388. package/dist/sparkle-core/p-081968cc.entry.js +1 -0
  389. package/dist/sparkle-core/p-0934f5dd.entry.js +1 -0
  390. package/dist/sparkle-core/{p-3f5d7a08.entry.js → p-11cf398a.entry.js} +1 -1
  391. package/dist/sparkle-core/p-1339830f.entry.js +1 -0
  392. package/dist/sparkle-core/p-145e40f5.entry.js +1 -0
  393. package/dist/sparkle-core/{p-68f3c93d.entry.js → p-1726da2f.entry.js} +1 -1
  394. package/dist/sparkle-core/p-173d5461.entry.js +7 -0
  395. package/dist/sparkle-core/p-18e62133.entry.js +1 -0
  396. package/dist/sparkle-core/p-1af044f7.js +3 -0
  397. package/dist/sparkle-core/p-1b78dea1.entry.js +1 -0
  398. package/dist/sparkle-core/p-1cef8572.js +4 -0
  399. package/dist/sparkle-core/p-1df05176.js +4 -0
  400. package/dist/sparkle-core/p-21bf4ca0.entry.js +1 -0
  401. package/dist/sparkle-core/p-21db4e8e.entry.js +1 -0
  402. package/dist/sparkle-core/p-23a9f7d1.entry.js +1 -0
  403. package/dist/sparkle-core/p-289a35ed.entry.js +1 -0
  404. package/dist/sparkle-core/p-2ee6a5f9.entry.js +1 -0
  405. package/dist/sparkle-core/p-350adbaa.entry.js +1 -0
  406. package/dist/sparkle-core/{p-bccd9036.entry.js → p-35a7bd6c.entry.js} +1 -1
  407. package/dist/sparkle-core/{p-66e3bd1c.entry.js → p-37c00e39.entry.js} +1 -1
  408. package/dist/sparkle-core/p-389500fd.js +4 -0
  409. package/dist/sparkle-core/p-39e5a90f.entry.js +1 -0
  410. package/dist/sparkle-core/{p-ac5e5308.entry.js → p-3a202a38.entry.js} +1 -1
  411. package/dist/sparkle-core/p-3defe550.entry.js +1 -0
  412. package/dist/sparkle-core/p-45e6db62.entry.js +1 -0
  413. package/dist/sparkle-core/{p-581ca370.entry.js → p-48f9b960.entry.js} +1 -1
  414. package/dist/sparkle-core/{p-0efbc0b3.entry.js → p-4dc3ef96.entry.js} +1 -1
  415. package/dist/sparkle-core/p-506221fe.js +4 -0
  416. package/dist/sparkle-core/p-50aac721.entry.js +7 -0
  417. package/dist/sparkle-core/p-513794b0.js +16 -0
  418. package/dist/sparkle-core/{p-2e4e8117.js → p-5264da79.js} +3 -0
  419. package/dist/sparkle-core/{p-40db85ac.entry.js → p-547b70c6.entry.js} +1 -1
  420. package/dist/sparkle-core/p-5598650a.entry.js +1 -0
  421. package/dist/sparkle-core/p-55ae49e1.js +4 -0
  422. package/dist/sparkle-core/p-58e98f89.entry.js +1 -0
  423. package/dist/sparkle-core/p-59f7bf6e.entry.js +1 -0
  424. package/dist/sparkle-core/p-5a3d0e6b.js +4 -0
  425. package/dist/sparkle-core/{p-85d31769.entry.js → p-5b40aae5.entry.js} +1 -1
  426. package/dist/sparkle-core/p-5c9aa1f9.entry.js +4 -0
  427. package/dist/sparkle-core/p-5d2e54ee.entry.js +1 -0
  428. package/dist/sparkle-core/p-5d409601.js +1 -1
  429. package/dist/sparkle-core/{p-afbaad64.entry.js → p-5f45d206.entry.js} +1 -1
  430. package/dist/sparkle-core/p-5ff6416d.entry.js +7 -0
  431. package/dist/sparkle-core/{p-cf2332bb.entry.js → p-62a6c96f.entry.js} +1 -1
  432. package/dist/sparkle-core/p-64e72f8f.js +4 -0
  433. package/dist/sparkle-core/p-660e0742.js +1 -0
  434. package/dist/sparkle-core/{p-d5023db0.entry.js → p-667accac.entry.js} +1 -1
  435. package/dist/sparkle-core/{p-9ca56f5d.entry.js → p-680663a2.entry.js} +1 -1
  436. package/dist/sparkle-core/{p-e975924a.entry.js → p-6823e6c1.entry.js} +1 -1
  437. package/dist/sparkle-core/p-69e7783d.js +4 -0
  438. package/dist/sparkle-core/p-6bbabb80.entry.js +1 -0
  439. package/dist/sparkle-core/p-6bf07a28.js +1 -0
  440. package/dist/sparkle-core/p-6c6145cd.js +4 -0
  441. package/dist/sparkle-core/p-6c90bde6.entry.js +5 -0
  442. package/dist/sparkle-core/p-6e88764b.entry.js +4 -0
  443. package/dist/sparkle-core/p-6ee40949.js +1 -0
  444. package/dist/sparkle-core/p-6fbe3ca3.entry.js +1 -0
  445. package/dist/sparkle-core/{p-f2660943.js → p-6fd4985d.js} +3 -0
  446. package/dist/sparkle-core/{p-8fc9298a.js → p-703ca87c.js} +3 -0
  447. package/dist/sparkle-core/{p-1bf8bed6.entry.js → p-7052c43a.entry.js} +1 -1
  448. package/dist/sparkle-core/{p-111520a0.js → p-70b2452c.js} +3 -0
  449. package/dist/sparkle-core/p-713590fc.js +5 -0
  450. package/dist/sparkle-core/p-7493ee15.entry.js +1 -0
  451. package/dist/sparkle-core/p-75572037.js +1 -0
  452. package/dist/sparkle-core/{p-eb56aa20.entry.js → p-768bcc9e.entry.js} +1 -1
  453. package/dist/sparkle-core/p-797c23ed.entry.js +1 -0
  454. package/dist/sparkle-core/{p-03eb2164.js → p-7c38a70b.js} +1 -1
  455. package/dist/sparkle-core/{p-09d43bee.entry.js → p-7d61177b.entry.js} +1 -1
  456. package/dist/sparkle-core/p-7dbfc316.js +1 -0
  457. package/dist/sparkle-core/p-7e61973d.entry.js +7 -0
  458. package/dist/sparkle-core/{p-3cd28c60.entry.js → p-82e98d07.entry.js} +1 -1
  459. package/dist/sparkle-core/p-838fa86d.entry.js +18 -0
  460. package/dist/sparkle-core/p-855ca600.js +1 -0
  461. package/dist/sparkle-core/p-857f3696.entry.js +1 -0
  462. package/dist/sparkle-core/{p-8f72be08.js → p-8c6b6038.js} +3 -0
  463. package/dist/sparkle-core/p-8fe2e51f.entry.js +4 -0
  464. package/dist/sparkle-core/{p-f72a6e6d.entry.js → p-90389886.entry.js} +1 -1
  465. package/dist/sparkle-core/p-932bfb69.entry.js +1 -0
  466. package/dist/sparkle-core/p-935e7cfc.js +1 -0
  467. package/dist/sparkle-core/{p-c70b9765.entry.js → p-941eaa3a.entry.js} +1 -1
  468. package/dist/sparkle-core/p-95004267.entry.js +1 -0
  469. package/dist/sparkle-core/p-950effe7.entry.js +1 -0
  470. package/dist/sparkle-core/{p-1ca4bf1d.entry.js → p-996361f9.entry.js} +1 -1
  471. package/dist/sparkle-core/p-9a17f2ad.js +4 -0
  472. package/dist/sparkle-core/p-9a443f51.js +1 -1
  473. package/dist/sparkle-core/p-9babd345.js +1 -0
  474. package/dist/sparkle-core/p-9cfdeb18.entry.js +1 -0
  475. package/dist/sparkle-core/p-a080e768.entry.js +1 -0
  476. package/dist/sparkle-core/p-a1cab0f3.js +4 -0
  477. package/dist/sparkle-core/p-a7cc0052.entry.js +4 -0
  478. package/dist/sparkle-core/p-a9ccb0df.js +4 -0
  479. package/dist/sparkle-core/p-a9ee3f6d.entry.js +1 -0
  480. package/dist/sparkle-core/{p-abe2676a.entry.js → p-aa87c7f0.entry.js} +1 -1
  481. package/dist/sparkle-core/{p-e818b11d.entry.js → p-aa9ebc39.entry.js} +1 -1
  482. package/dist/sparkle-core/p-ae1f145d.entry.js +1 -0
  483. package/dist/sparkle-core/{p-73a646fb.entry.js → p-b07a2cf2.entry.js} +1 -1
  484. package/dist/sparkle-core/{p-c82b05e0.entry.js → p-b3909012.entry.js} +1 -1
  485. package/dist/sparkle-core/p-b3e6427d.js +7 -0
  486. package/dist/sparkle-core/p-b49ca0ea.entry.js +1 -0
  487. package/dist/sparkle-core/p-b81e20fe.entry.js +4 -0
  488. package/dist/sparkle-core/p-bca0e465.entry.js +1 -0
  489. package/dist/sparkle-core/p-c1279cc9.entry.js +1 -0
  490. package/dist/sparkle-core/p-c1376096.entry.js +1 -0
  491. package/dist/sparkle-core/{p-5b4938ce.entry.js → p-c3986a52.entry.js} +1 -1
  492. package/dist/sparkle-core/p-c3d3d5c4.entry.js +1 -0
  493. package/dist/sparkle-core/p-c48bbc7c.entry.js +4 -0
  494. package/dist/sparkle-core/p-c5b9bdd6.entry.js +1 -0
  495. package/dist/sparkle-core/{p-15d68269.entry.js → p-c69b0a7a.entry.js} +1 -1
  496. package/dist/sparkle-core/p-cbbeed67.entry.js +1 -0
  497. package/dist/sparkle-core/p-d4a435f8.entry.js +1 -0
  498. package/dist/sparkle-core/p-d4c07aca.js +4 -0
  499. package/dist/sparkle-core/p-d5b05ece.entry.js +5 -0
  500. package/dist/sparkle-core/p-d7baf31e.entry.js +1 -0
  501. package/dist/sparkle-core/p-d8d3524a.js +1 -0
  502. package/dist/sparkle-core/p-df0070c5.entry.js +352 -0
  503. package/dist/sparkle-core/{p-22926eed.entry.js → p-e0fced48.entry.js} +1 -1
  504. package/dist/sparkle-core/p-e1cba44b.entry.js +4 -0
  505. package/dist/sparkle-core/p-e225581a.js +7 -0
  506. package/dist/sparkle-core/{p-4e28ca37.entry.js → p-e3fdd0a8.entry.js} +1 -1
  507. package/dist/sparkle-core/p-e72d4450.js +4 -0
  508. package/dist/sparkle-core/p-eb70a23c.entry.js +1 -0
  509. package/dist/sparkle-core/{p-f9143c5d.entry.js → p-ecd39170.entry.js} +1 -1
  510. package/dist/sparkle-core/{p-151afa9e.entry.js → p-ed0e9d29.entry.js} +1 -1
  511. package/dist/sparkle-core/{p-92d42c10.entry.js → p-ee0d7f19.entry.js} +1 -1
  512. package/dist/sparkle-core/p-f4001fdf.js +4 -0
  513. package/dist/sparkle-core/p-f9b73032.entry.js +1 -0
  514. package/dist/sparkle-core/p-faa912d7.entry.js +1 -0
  515. package/dist/sparkle-core/{p-a250e2ae.entry.js → p-fbd7eeca.entry.js} +1 -1
  516. package/dist/sparkle-core/p-fc933591.entry.js +1 -0
  517. package/dist/sparkle-core/p-fef04ab5.js +4 -0
  518. package/dist/sparkle-core/sparkle-core.css +1 -1
  519. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  520. package/dist/sparkle-core/svg/balloon-outline.svg +1 -0
  521. package/dist/sparkle-core/svg/balloon-sharp.svg +1 -0
  522. package/dist/sparkle-core/svg/balloon.svg +1 -0
  523. package/dist/sparkle-core/svg/bowling-ball-outline.svg +1 -0
  524. package/dist/sparkle-core/svg/bowling-ball-sharp.svg +1 -0
  525. package/dist/sparkle-core/svg/bowling-ball.svg +1 -0
  526. package/dist/sparkle-core/svg/calendar-number-outline.svg +1 -0
  527. package/dist/sparkle-core/svg/calendar-number-sharp.svg +1 -0
  528. package/dist/sparkle-core/svg/calendar-number.svg +1 -0
  529. package/dist/sparkle-core/svg/diamond-outline.svg +1 -0
  530. package/dist/sparkle-core/svg/diamond-sharp.svg +1 -0
  531. package/dist/sparkle-core/svg/diamond.svg +1 -0
  532. package/dist/sparkle-core/svg/footsteps-outline.svg +1 -0
  533. package/dist/sparkle-core/svg/footsteps-sharp.svg +1 -0
  534. package/dist/sparkle-core/svg/footsteps.svg +1 -0
  535. package/dist/sparkle-core/svg/id-card-outline.svg +1 -0
  536. package/dist/sparkle-core/svg/id-card-sharp.svg +1 -0
  537. package/dist/sparkle-core/svg/id-card.svg +1 -0
  538. package/dist/sparkle-core/svg/logo-apple-ar.svg +1 -0
  539. package/dist/sparkle-core/svg/prism-outline.svg +1 -0
  540. package/dist/sparkle-core/svg/prism-sharp.svg +1 -0
  541. package/dist/sparkle-core/svg/prism.svg +1 -0
  542. package/dist/sparkle-core/svg/scale-outline.svg +1 -0
  543. package/dist/sparkle-core/svg/scale-sharp.svg +1 -0
  544. package/dist/sparkle-core/svg/scale.svg +1 -0
  545. package/dist/sparkle-core/svg/shield-half-outline.svg +1 -0
  546. package/dist/sparkle-core/svg/shield-half-sharp.svg +1 -0
  547. package/dist/sparkle-core/svg/shield-half.svg +1 -0
  548. package/dist/sparkle-core/svg/sparkles-outline.svg +1 -0
  549. package/dist/sparkle-core/svg/sparkles-sharp.svg +1 -0
  550. package/dist/sparkle-core/svg/sparkles.svg +1 -0
  551. package/dist/sparkle-core/swiper/swiper.bundle.js +2 -2
  552. package/dist/types/components/sparkle-youtube/sparkle-youtube.d.ts +1 -1
  553. package/dist/types/models/definitions.d.ts +8 -0
  554. package/dist/types/stencil-public-runtime.d.ts +200 -190
  555. package/package.json +25 -25
  556. package/dist/cjs/app-globals-98121d6d.js +0 -9
  557. package/dist/cjs/button-active-9456fb4d.js +0 -66
  558. package/dist/cjs/focus-visible-1583bc8e.js +0 -45
  559. package/dist/cjs/framework-delegate-72815681.js +0 -37
  560. package/dist/cjs/header-mobile-collapse_60.cjs.entry.js +0 -88
  561. package/dist/cjs/index.es-11437480.js +0 -13836
  562. package/dist/cjs/ion-action-sheet.cjs.entry.js +0 -261
  563. package/dist/cjs/ion-alert.cjs.entry.js +0 -455
  564. package/dist/cjs/ion-note.cjs.entry.js +0 -29
  565. package/dist/cjs/ion-popover.cjs.entry.js +0 -365
  566. package/dist/cjs/ion-select-popover.cjs.entry.js +0 -35
  567. package/dist/cjs/status-tap-466a7c6a.js +0 -25
  568. package/dist/cjs/util-b0e2ec9f.js +0 -5682
  569. package/dist/esm/app-globals-6451faf3.js +0 -7
  570. package/dist/esm/auth.store-dd944bc2.js +0 -2552
  571. package/dist/esm/button-active-97535443.js +0 -64
  572. package/dist/esm/focus-visible-abf04ce3.js +0 -43
  573. package/dist/esm/framework-delegate-2c397da3.js +0 -34
  574. package/dist/esm/header-mobile-collapse_60.entry.js +0 -21
  575. package/dist/esm/index.es-1d452836.js +0 -13750
  576. package/dist/esm/ion-action-sheet.entry.js +0 -257
  577. package/dist/esm/ion-alert.entry.js +0 -451
  578. package/dist/esm/ion-note.entry.js +0 -25
  579. package/dist/esm/ion-popover.entry.js +0 -361
  580. package/dist/esm/ion-select-popover.entry.js +0 -31
  581. package/dist/esm/status-tap-9221cd79.js +0 -23
  582. package/dist/esm/util-042b5fee.js +0 -5671
  583. package/dist/sparkle-core/p-019d9d02.entry.js +0 -1
  584. package/dist/sparkle-core/p-02d6d899.js +0 -1
  585. package/dist/sparkle-core/p-0312758b.js +0 -1
  586. package/dist/sparkle-core/p-03fd27d0.entry.js +0 -1
  587. package/dist/sparkle-core/p-07018d29.js +0 -1
  588. package/dist/sparkle-core/p-083d57a6.entry.js +0 -1
  589. package/dist/sparkle-core/p-0e1c7c8c.js +0 -1
  590. package/dist/sparkle-core/p-101feae9.js +0 -1
  591. package/dist/sparkle-core/p-13b0cdfc.entry.js +0 -1
  592. package/dist/sparkle-core/p-13c9bf3a.entry.js +0 -1
  593. package/dist/sparkle-core/p-169920f1.js +0 -1
  594. package/dist/sparkle-core/p-1e1f5e98.entry.js +0 -1
  595. package/dist/sparkle-core/p-1e866c41.entry.js +0 -1
  596. package/dist/sparkle-core/p-2474bf60.entry.js +0 -1
  597. package/dist/sparkle-core/p-25bbf9b4.entry.js +0 -1
  598. package/dist/sparkle-core/p-2a45b732.js +0 -1
  599. package/dist/sparkle-core/p-2abf4d37.entry.js +0 -1
  600. package/dist/sparkle-core/p-2c5edb9f.entry.js +0 -1
  601. package/dist/sparkle-core/p-2d966d35.js +0 -1
  602. package/dist/sparkle-core/p-30b641a4.entry.js +0 -1
  603. package/dist/sparkle-core/p-359422b6.entry.js +0 -1
  604. package/dist/sparkle-core/p-37bfb548.entry.js +0 -1
  605. package/dist/sparkle-core/p-396a9849.js +0 -1
  606. package/dist/sparkle-core/p-3a29a75b.entry.js +0 -1
  607. package/dist/sparkle-core/p-3bb55510.entry.js +0 -1
  608. package/dist/sparkle-core/p-3be0a218.js +0 -1
  609. package/dist/sparkle-core/p-417a8dd6.js +0 -1
  610. package/dist/sparkle-core/p-447163be.entry.js +0 -1
  611. package/dist/sparkle-core/p-49265a8e.entry.js +0 -1
  612. package/dist/sparkle-core/p-4950f841.entry.js +0 -1
  613. package/dist/sparkle-core/p-4b7db0e6.js +0 -1
  614. package/dist/sparkle-core/p-4d8cb365.entry.js +0 -1
  615. package/dist/sparkle-core/p-5073899e.entry.js +0 -1
  616. package/dist/sparkle-core/p-522733aa.js +0 -483
  617. package/dist/sparkle-core/p-5b366c20.entry.js +0 -1
  618. package/dist/sparkle-core/p-5dce20b9.entry.js +0 -1
  619. package/dist/sparkle-core/p-6006beec.entry.js +0 -1
  620. package/dist/sparkle-core/p-600d04fc.entry.js +0 -1
  621. package/dist/sparkle-core/p-60828739.entry.js +0 -1
  622. package/dist/sparkle-core/p-6112b180.entry.js +0 -1
  623. package/dist/sparkle-core/p-62a62b6e.entry.js +0 -1
  624. package/dist/sparkle-core/p-66eb6b7a.entry.js +0 -1
  625. package/dist/sparkle-core/p-67ddec3f.entry.js +0 -1
  626. package/dist/sparkle-core/p-68cb7d41.entry.js +0 -1
  627. package/dist/sparkle-core/p-69cd49de.js +0 -1
  628. package/dist/sparkle-core/p-6edbdde5.entry.js +0 -1
  629. package/dist/sparkle-core/p-6f0ecbe3.js +0 -1
  630. package/dist/sparkle-core/p-765b8593.js +0 -1
  631. package/dist/sparkle-core/p-770128c8.js +0 -1
  632. package/dist/sparkle-core/p-7840618d.js +0 -1
  633. package/dist/sparkle-core/p-7b37d523.entry.js +0 -1
  634. package/dist/sparkle-core/p-7d83d006.entry.js +0 -1
  635. package/dist/sparkle-core/p-7ecad3fb.entry.js +0 -1
  636. package/dist/sparkle-core/p-7f3d5344.js +0 -1
  637. package/dist/sparkle-core/p-81651f26.entry.js +0 -1
  638. package/dist/sparkle-core/p-8490f1bc.js +0 -1
  639. package/dist/sparkle-core/p-86148067.entry.js +0 -1
  640. package/dist/sparkle-core/p-8b5bc1d6.entry.js +0 -1
  641. package/dist/sparkle-core/p-8c3ee44c.entry.js +0 -1
  642. package/dist/sparkle-core/p-9007a06b.entry.js +0 -1
  643. package/dist/sparkle-core/p-90482861.entry.js +0 -1
  644. package/dist/sparkle-core/p-a061537e.entry.js +0 -1
  645. package/dist/sparkle-core/p-a38ea475.js +0 -1
  646. package/dist/sparkle-core/p-aef0bba0.js +0 -1
  647. package/dist/sparkle-core/p-b11fe0c7.js +0 -1
  648. package/dist/sparkle-core/p-bac45a26.entry.js +0 -1
  649. package/dist/sparkle-core/p-bbe5977b.entry.js +0 -1
  650. package/dist/sparkle-core/p-c163c16d.entry.js +0 -1
  651. package/dist/sparkle-core/p-c3166584.entry.js +0 -1
  652. package/dist/sparkle-core/p-c34269ae.entry.js +0 -1
  653. package/dist/sparkle-core/p-c466ee32.js +0 -1
  654. package/dist/sparkle-core/p-c6710592.entry.js +0 -1
  655. package/dist/sparkle-core/p-c7022391.entry.js +0 -1
  656. package/dist/sparkle-core/p-d4ad796c.js +0 -1
  657. package/dist/sparkle-core/p-d6152660.entry.js +0 -1
  658. package/dist/sparkle-core/p-d63406d8.js +0 -1
  659. package/dist/sparkle-core/p-dba672d5.entry.js +0 -1
  660. package/dist/sparkle-core/p-dd73d01a.entry.js +0 -1
  661. package/dist/sparkle-core/p-de33872d.entry.js +0 -1
  662. package/dist/sparkle-core/p-dee2128a.entry.js +0 -1
  663. package/dist/sparkle-core/p-df07e132.entry.js +0 -1
  664. package/dist/sparkle-core/p-e23bd285.js +0 -3
  665. package/dist/sparkle-core/p-e4f41e16.entry.js +0 -1
  666. package/dist/sparkle-core/p-e5d5aaa5.js +0 -1
  667. package/dist/sparkle-core/p-e72c6d87.entry.js +0 -1
  668. package/dist/sparkle-core/p-e8df6ea6.entry.js +0 -1
  669. package/dist/sparkle-core/p-ef2a2172.js +0 -1
  670. package/dist/sparkle-core/p-f1a4ab33.entry.js +0 -1
  671. package/dist/sparkle-core/p-f43ac631.entry.js +0 -1
  672. package/dist/sparkle-core/p-f8063d7b.js +0 -1
  673. package/dist/sparkle-core/p-fd62283e.entry.js +0 -1
  674. package/dist/sparkle-core/p-fef71e0e.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as t,i,w as s,f as e,h,H as n,d as r}from"./p-d63406d8.js";const o=(t,i)=>{const s=a(t,i);return s&&t.ownerDocument?t.ownerDocument.importNode(s.content,!0).children[0]:null},a=(t,i)=>{switch(i){case"item":return t.querySelector("template:not([name])");case"header":return t.querySelector("template[name=header]");case"footer":return t.querySelector("template[name=footer]")}},l=(t,i,s,e,h,n,r,o,a,l,c,u)=>{const d=[],m=u+c;for(let u=c;u<m;u++){const c=t[u];if(h){const i=h(c,u,t);null!=i&&d.push({i:l++,type:"header",value:i,index:u,height:s?s(i,u):r,reads:s?0:2,visible:!!s})}if(d.push({i:l++,type:"item",value:c,index:u,height:i?i(c,u):a,reads:i?0:2,visible:!!i}),n){const i=n(c,u,t);null!=i&&d.push({i:l++,type:"footer",value:i,index:u,height:e?e(i,u):o,reads:e?0:2,visible:!!e})}}return d},c=class{constructor(i){t(this,i),this.range={offset:0,length:0},this.viewportHeight=0,this.cells=[],this.virtualDom=[],this.isEnabled=!1,this.viewportOffset=0,this.currentScrollTop=0,this.indexDirty=0,this.lastItemLen=0,this.totalHeight=0,this.approxItemHeight=45,this.approxHeaderHeight=30,this.approxFooterHeight=30,this.onScroll=()=>{this.updateVirtualScroll()}}itemsChanged(){this.calcCells(),this.updateVirtualScroll()}async connectedCallback(){const t=this.el.closest("ion-content");t?(this.scrollEl=await t.getScrollElement(),this.contentEl=t,this.calcCells(),this.updateState()):console.error("<ion-virtual-scroll> must be used inside an <ion-content>")}componentDidUpdate(){this.updateState()}disconnectedCallback(){this.scrollEl=void 0}onResize(){this.calcCells(),this.updateVirtualScroll()}positionForItem(t){return Promise.resolve(((t,i,s)=>{const e=i.find((i=>"item"===i.type&&i.index===t));return e?s[e.i]:-1})(t,this.cells,this.getHeightIndex()))}async checkRange(t,i=-1){if(!this.items)return;const s=-1===i?this.items.length-t:i,e=((t,i)=>0===i?0:i===(t.length>0?t[t.length-1].index:0)+1?t.length:t.findIndex((t=>t.index===i)))(this.cells,t),h=l(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,e,t,s);this.cells=((t,i,s)=>{if(0===s&&i.length>=t.length)return i;for(let e=0;e<i.length;e++)t[e+s]=i[e];return t})(this.cells,h,e),this.lastItemLen=this.items.length,this.indexDirty=Math.max(t-1,0),this.scheduleUpdate()}async checkEnd(){this.items&&this.checkRange(this.lastItemLen)}updateVirtualScroll(){this.isEnabled&&this.scrollEl&&(this.timerUpdate&&(clearTimeout(this.timerUpdate),this.timerUpdate=void 0),i(this.readVS.bind(this)),s(this.writeVS.bind(this)))}readVS(){const{contentEl:t,scrollEl:i,el:s}=this;let e=0,h=s;for(;h&&h!==t;)e+=h.offsetTop,h=h.offsetParent;this.viewportOffset=e,i&&(this.viewportHeight=i.offsetHeight,this.currentScrollTop=i.scrollTop)}writeVS(){const t=this.indexDirty,i=(n=this.currentScrollTop-this.viewportOffset,r=this.viewportHeight,{top:Math.max(n-100,0),bottom:n+r+100}),s=this.getHeightIndex(),h=((t,i)=>{const s=i.top,e=i.bottom;let h=0;for(;h<t.length&&!(t[h]>s);h++);const n=Math.max(h-2-1,0);for(;h<t.length&&!(t[h]>=e);h++);return{offset:n,length:Math.min(h+2,t.length)-n}})(s,i);var n,r;((t,i,s)=>t<=s.offset+s.length||i.offset!==s.offset||i.length!==s.length)(t,this.range,h)&&(this.range=h,((t,i,s,e)=>{for(const i of t)i.change=0,i.d=!0;const h=[],n=e.offset+e.length;for(let r=e.offset;r<n;r++){const e=s[r],n=t.find((t=>t.d&&t.cell===e));if(n){const t=i[r];t!==n.top&&(n.top=t,n.change=1),n.d=!1}else h.push(e)}const r=t.filter((t=>t.d));for(const s of h){const e=r.find((t=>t.d&&t.cell.type===s.type)),h=s.i;e?(e.d=!1,e.change=2,e.cell=s,e.top=i[h]):t.push({d:!1,cell:s,visible:!0,change:2,top:i[h]})}t.filter((t=>t.d&&-9999!==t.top)).forEach((t=>{t.change=1,t.top=-9999}))})(this.virtualDom,s,this.cells,h),this.nodeRender?((t,i,s,e)=>{const h=Array.from(t.children).filter((t=>"TEMPLATE"!==t.tagName)),n=h.length;let r;for(let a=0;a<s.length;a++){const l=s[a],c=l.cell;if(2===l.change){if(a<n)r=h[a],i(r,c,a);else{const s=o(t,c.type);r=i(s,c,a)||s,r.classList.add("virtual-item"),t.appendChild(r)}r.$ionCell=c}else r=h[a];0!==l.change&&(r.style.transform=`translate3d(0,${l.top}px,0)`);const u=c.visible;l.visible!==u&&(u?r.classList.remove("virtual-loading"):r.classList.add("virtual-loading"),l.visible=u),c.reads>0&&(e(c,r),c.reads--)}})(this.el,this.nodeRender,this.virtualDom,this.updateCellHeight.bind(this)):this.domRender?this.domRender(this.virtualDom):this.renderItem&&e(this))}updateCellHeight(t,i){const s=()=>{if(i.$ionCell===t){const s=window.getComputedStyle(i),e=i.offsetHeight+parseFloat(s.getPropertyValue("margin-bottom"));this.setCellHeight(t,e)}};i&&i.componentOnReady?i.componentOnReady().then(s):s()}setCellHeight(t,i){const s=t.i;t===this.cells[s]&&(t.height===i&&!0===t.visible||(t.visible=!0,t.height=i,this.indexDirty=Math.min(this.indexDirty,s),this.scheduleUpdate()))}scheduleUpdate(){clearTimeout(this.timerUpdate),this.timerUpdate=setTimeout((()=>this.updateVirtualScroll()),100)}updateState(){const t=!(!this.scrollEl||!this.cells);t!==this.isEnabled&&(this.enableScrollEvents(t),t&&this.updateVirtualScroll())}calcCells(){this.items&&(this.lastItemLen=this.items.length,this.cells=l(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,0,0,this.lastItemLen),this.indexDirty=0)}getHeightIndex(){return this.indexDirty!==1/0&&this.calcHeightIndex(this.indexDirty),this.heightIndex}calcHeightIndex(t=0){this.heightIndex=((t,i)=>{if(!t)return new Uint32Array(i);if(t.length===i)return t;if(i>t.length){const s=new Uint32Array(i);return s.set(t),s}return t.subarray(0,i)})(this.heightIndex,this.cells.length),this.totalHeight=((t,i,s)=>{let e=t[s];for(let h=s;h<t.length;h++)t[h]=e,e+=i[h].height;return e})(this.heightIndex,this.cells,t),this.indexDirty=1/0}enableScrollEvents(t){this.rmEvent&&(this.rmEvent(),this.rmEvent=void 0);const i=this.scrollEl;i&&(this.isEnabled=t,i.addEventListener("scroll",this.onScroll),this.rmEvent=()=>{i.removeEventListener("scroll",this.onScroll)})}renderVirtualNode(t){const{type:i,value:s,index:e}=t.cell;switch(i){case"item":return this.renderItem(s,e);case"header":return this.renderHeader(s,e);case"footer":return this.renderFooter(s,e)}}render(){return h(n,{style:{height:this.totalHeight+"px"}},this.renderItem&&h(u,{dom:this.virtualDom},this.virtualDom.map((t=>this.renderVirtualNode(t)))))}get el(){return r(this)}static get watchers(){return{itemHeight:["itemsChanged"],headerHeight:["itemsChanged"],footerHeight:["itemsChanged"],items:["itemsChanged"]}}},u=({dom:t},i,s)=>s.map(i,((i,s)=>{const e=t[s],h=i.vattrs||{};let n=h.class||"";return n+="virtual-item ",e.visible||(n+="virtual-loading"),Object.assign(Object.assign({},i),{vattrs:Object.assign(Object.assign({},h),{class:n,style:Object.assign(Object.assign({},h.style),{transform:`translate3d(0,${e.top}px,0)`})})})}));c.style="ion-virtual-scroll{display:block;position:relative;width:100%;contain:strict;user-select:none}ion-virtual-scroll>.virtual-loading{opacity:0}ion-virtual-scroll>.virtual-item{position:absolute !important;top:0 !important;right:0 !important;left:0 !important;transition-duration:0ms;will-change:transform}";export{c as ion_virtual_scroll}
@@ -1 +0,0 @@
1
- import{r as i,e as n,h as o,H as t,d as a}from"./p-d63406d8.js";import{g as s,c as e}from"./p-770128c8.js";import"./p-f8063d7b.js";import{c as r}from"./p-4b7db0e6.js";import{s as d}from"./p-111520a0.js";import"./p-f2660943.js";import{B as p,b as l,p as c,d as g,e as h}from"./p-c466ee32.js";import{g as m}from"./p-7840618d.js";const f=i=>{const n=r(),o=r(),t=r();return o.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([o,t])},b=i=>{const n=r(),o=r(),t=r();return o.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([o,t])},u=i=>{const n=r(),o=r(),t=r();return o.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([o,t])},x=i=>{const n=r(),o=r(),t=r();return o.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([o,t])},v=class{constructor(o){i(this,o),this.didPresent=n(this,"ionLoadingDidPresent",7),this.willPresent=n(this,"ionLoadingWillPresent",7),this.willDismiss=n(this,"ionLoadingWillDismiss",7),this.didDismiss=n(this,"ionLoadingDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,p)}}connectedCallback(){l(this.el)}componentWillLoad(){if(void 0===this.spinner){const i=s(this);this.spinner=e.get("loadingSpinner",e.get("spinner","ios"===i?"lines":"crescent"))}}async present(){await c(this,"loadingEnter",f,u,void 0),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss()),this.duration+10))}dismiss(i,n){return this.durationTimeout&&clearTimeout(this.durationTimeout),g(this,i,n,"loadingLeave",b,x)}onDidDismiss(){return h(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return h(this.el,"ionLoadingWillDismiss")}render(){const{message:i,spinner:n}=this,a=s(this);return o(t,{onIonBackdropTap:this.onBackdropTap,tabindex:"-1",style:{zIndex:""+(4e4+this.overlayIndex)},class:Object.assign(Object.assign({},m(this.cssClass)),{[a]:!0,"loading-translucent":this.translucent})},o("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),o("div",{tabindex:"0"}),o("div",{class:"loading-wrapper ion-overlay-wrapper",role:"dialog"},n&&o("div",{class:"loading-spinner"},o("ion-spinner",{name:n,"aria-hidden":"true"})),i&&o("div",{class:"loading-content",innerHTML:d(i)})),o("div",{tabindex:"0"}))}get el(){return a(this)}};v.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-ios,.spinner-lines-small.sc-ion-loading-ios,.spinner-bubbles.sc-ion-loading-ios,.spinner-circles.sc-ion-loading-ios,.spinner-crescent.sc-ion-loading-ios,.spinner-dots.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;padding-left:34px;padding-right:34px;padding-top:24px;padding-bottom:24px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px}}@supports (backdrop-filter: blur(0)){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-md,.spinner-lines-small.sc-ion-loading-md,.spinner-bubbles.sc-ion-loading-md,.spinner-circles.sc-ion-loading-md,.spinner-crescent.sc-ion-loading-md,.spinner-dots.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}"};export{v as ion_loading}
@@ -1 +0,0 @@
1
- import{r as t,e as s,h as a,H as i,d as e}from"./p-d63406d8.js";const r=class{constructor(a){t(this,a),this.shown=s(this,"shown",7),this.hidden=s(this,"hidden",7),this.theme="dark",this.preventClose=!1,this.focusIndex=0,this.isShowing=!1}async show(){this.$focusedElBeforeOpen=document.activeElement,this.$focusedElBeforeOpen&&this.$focusedElBeforeOpen.setAttribute("aria-expanded","true"),this.isShowing=!0,this.$focusableEls.length>0?setTimeout((()=>this.$focusableEls[0].focus()),100):setTimeout((()=>this.$content.focus()),100),this.shown.emit()}async hide(){this.isShowing=!1,this.focusIndex=0,this.$focusedElBeforeOpen&&(this.$focusedElBeforeOpen.setAttribute("aria-expanded","false"),this.$focusedElBeforeOpen.focus()),this.hidden.emit()}handleKeyDown(t){switch(t.keyCode){case 9:this.handleTab(t);break;case 27:this.handleEsc()}}handleEsc(){this.preventClose||this.hide()}handleTab(t){t.preventDefault(),t.shiftKey?this.handleBackwardTab():this.handleForwardTab()}handleBackwardTab(){this.focusIndex=0===this.focusIndex?this.$focusableEls.length-1:--this.focusIndex,this.$focusableEls[this.focusIndex].focus()}handleForwardTab(){this.focusIndex=this.$focusableEls.length-1===this.focusIndex?0:++this.focusIndex,this.$focusableEls[this.focusIndex].focus()}handleScrimClick(){this.preventClose||this.hide()}componentDidLoad(){this.$focusableEls=Array.from(this.$el.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'))}render(){return a(i,{class:{"sparkle-overlay":!0,[this.theme]:!0,absolute:this.absolute,opened:this.isShowing}},a("div",{class:"scrim",onClick:()=>this.handleScrimClick()}),a("div",{class:"content",role:"dialog","aria-labelledby":this.titleId,tabindex:"-1",ref:t=>this.$content=t},a("slot",null)))}get $el(){return e(this)}};r.style="sparkle-overlay{--sparkle-z-index-xl:500;--sparkle-transition-fast:0.3s;--sparkle-color-light-base:197, 209, 218;--sparkle-shadow-xl:0 20px 40px rgba(0, 0, 0, 0.2)}.sparkle-overlay{-ms-flex-align:center;align-items:center;display:flex;visibility:hidden;-ms-flex-pack:center;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:auto;-ms-touch-action:none;touch-action:none;opacity:0;z-index:var(--sparkle-z-index-xl)}.sparkle-overlay,.sparkle-overlay.opened{-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}.sparkle-overlay.opened{visibility:visible;opacity:1}.sparkle-overlay.opened .content{-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}.sparkle-overlay.light{background-color:rgba(var(--sparkle-color-light-base), 0.6)}.sparkle-overlay.dark{background-color:rgba(var(--sparkle-color-dark-base), 0.6)}.sparkle-overlay.absolute{position:absolute}.sparkle-overlay .scrim{border-radius:inherit;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;-webkit-transition:inherit;transition:inherit;width:100%;will-change:opacity}.sparkle-overlay .content{position:relative;outline:none;-webkit-box-shadow:var(--sparkle-shadow-xl);box-shadow:var(--sparkle-shadow-xl);-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}";export{r as sparkle_overlay}
@@ -1 +0,0 @@
1
- import{r as e,h as r,d as s}from"./p-d63406d8.js";const a=class{constructor(r){e(this,r),this.position="left",this.size="sm"}async hide(){this.isShowing=!1,await this.$overlay.hide()}async show(){await this.$overlay.show(),this.isShowing=!0}componentDidRender(){this.$overlay.querySelector(".scrim").addEventListener("click",(()=>this.hide()))}overlayHiddenHandler(){this.isShowing=!1}render(){return r("sparkle-overlay",{onHidden:()=>this.overlayHiddenHandler(),ref:e=>this.$overlay=e},r("aside",{class:{"sparkle-sidebar":!0,["size-"+this.size]:!0,[this.position]:!0,show:this.isShowing},ref:e=>this.$drawer=e},r("header",{class:"drawer-header"},r("h3",{class:"drawer-title"},this.headerText),r("ion-button",{onClick:()=>this.hide(),class:"drawer-close",color:"dark"},r("ion-icon",{name:"close-outline"}))),r("div",{class:"drawer-body"},r("slot",null))))}get $el(){return s(this)}};a.style="sparkle-sidebar{--sparkle-spacing-size-lg:1rem;--sparkle-transition-med:0.5s;--sparkle-color-dark-lighter:89, 109, 127;--sparkle-font-size-md:1.25rem;--sparkle-spacing-size-none:0;--sparkle-spacing-size-xxxs:0.0625rem;--sparkle-color-light-base:1197, 209, 218;--sparkle-font-size-lg:1.5rem;--sparkle-color-dark-base:55, 68, 79}.sparkle-sidebar{height:100%;max-width:90%;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto;background-color:#fff;padding:var(--sparkle-spacing-size-lg);-webkit-transition:all var(--sparkle-transition-med) ease-in-out;transition:all var(--sparkle-transition-med) ease-in-out}.sparkle-sidebar.left{border-right:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1)}.sparkle-sidebar.left.size-sm{width:16rem;left:-16rem}.sparkle-sidebar.left.size-md{width:22.5rem;left:-22.5rem}.sparkle-sidebar.left.size-lg{width:30rem;left:-30rem}.sparkle-sidebar.left.size-xl{width:45rem;left:-45rem}.sparkle-sidebar.left.show{visibility:visible;left:0}.sparkle-sidebar.right{border-right:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1)}.sparkle-sidebar.right.size-sm{width:16rem;right:-16rem}.sparkle-sidebar.right.size-md{width:22.5rem;right:-22.5rem}.sparkle-sidebar.right.size-lg{width:30rem;right:-30rem}.sparkle-sidebar.right.size-xl{width:45rem;right:-45rem}.sparkle-sidebar.right.show{visibility:visible;right:0}.sparkle-sidebar .drawer-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;border-bottom:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-light-base), 1);font-size:var(--sparkle-font-size-lg);color:rgba(var(--sparkle-color-dark-base), 1)}.sparkle-sidebar .drawer-header .drawer-title{line-height:1}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button{padding:var(--sparkle-spacing-size-none)}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button .button-text{display:-ms-inline-flexbox;display:inline-flex}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button .icon{font-size:var(--sparkle-font-size-md)}.sparkle-sidebar .drawer-body{padding-top:var(--sparkle-spacing-size-lg);padding-bottom:var(--sparkle-spacing-size-lg)}";export{a as sparkle_sidebar}
@@ -1 +0,0 @@
1
- import{w as e,r,e as i,i as s,h as t,d as n,H as o}from"./p-d63406d8.js";import{a as h,g as a}from"./p-770128c8.js";import{j as f,g as l,e as c}from"./p-f8063d7b.js";import{c as p}from"./p-4b7db0e6.js";import{g}from"./p-8f72be08.js";import{c as d}from"./p-c563b4de.js";const m=e=>{const r=e.querySelector("ion-spinner"),i=r.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),t=e.querySelector(".arrow-container"),n=t?t.querySelector("ion-icon"):null,o=p().duration(1e3).easing("ease-out"),h=p().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),a=p().addElement(i).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),f=p().addElement(r).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(t&&n){const e=p().addElement(t).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),r=p().addElement(n).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([e,r])}return o.addAnimation([h,a,f])},u=(e,r)=>{e.style.setProperty("opacity",r.toString())},x=(r,i)=>{if(!r)return Promise.resolve();const s=y(r,200);return e((()=>{r.style.setProperty("transition","0.2s all ease-out"),void 0===i?r.style.removeProperty("transform"):r.style.setProperty("transform",`translate3d(0px, ${i}, 0px)`)})),s},v=async(e,r)=>{const i=e.querySelector("ion-refresher-content");if(!i)return Promise.resolve(!1);await i.componentOnReady();const s=i.querySelector(".refresher-pulling ion-spinner"),t=i.querySelector(".refresher-refreshing ion-spinner");return null!==s&&null!==t&&("ios"===r&&h("mobile")&&void 0!==e.style.webkitOverflowScrolling||"md"===r)},y=(e,r=0)=>new Promise((i=>{b(e,r,i)})),b=(e,r=0,i)=>{let s,t;const n={passive:!0},o=()=>{s&&s()},h=r=>{void 0!==r&&e!==r.target||(o(),i(r))};return e&&(e.addEventListener("webkitTransitionEnd",h,n),e.addEventListener("transitionend",h,n),t=setTimeout(h,r+500),s=()=>{t&&(clearTimeout(t),t=void 0),e.removeEventListener("webkitTransitionEnd",h,n),e.removeEventListener("transitionend",h,n)}),o},w=class{constructor(e){r(this,e),this.ionRefresh=i(this,"ionRefresh",7),this.ionPull=i(this,"ionPull",7),this.ionStart=i(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async checkNativeRefresher(){const e=await v(this.el,a(this));if(e&&!this.nativeRefresher){const e=this.el.closest("ion-content");this.setupNativeRefresher(e)}else e||this.destroyNativeRefresher()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}async resetNativeRefresher(e,r){this.state=r,"ios"===a(this)?await x(e,void 0):await y(this.el.querySelector(".refresher-refreshing-icon"),200),this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach((e=>e.destroy())),this.animations=[],this.progress=0,this.state=1}async setupiOSNativeRefresher(r,i){this.elementToTransform=this.scrollEl;const t=r.shadowRoot.querySelectorAll("svg");let n=.16*this.scrollEl.clientHeight;const o=t.length;e((()=>t.forEach((e=>e.style.setProperty("animation","none"))))),this.scrollListenerCallback=()=>{(this.pointerDown||1!==this.state)&&s((()=>{const s=this.scrollEl.scrollTop,h=this.el.clientHeight;if(s>0){if(8===this.state){const r=f(0,s/(.5*h),1);return void e((()=>u(i,1-r)))}return void e((()=>u(r,0)))}this.pointerDown&&(this.didStart||(this.didStart=!0,this.ionStart.emit()),this.pointerDown&&this.ionPull.emit());const a=f(0,Math.abs(s)/h,.99),l=this.progress=f(0,(Math.abs(s)-30)/n,1),c=f(0,Math.floor(l*o),o-1);var p,g;8===this.state||c===o-1?(this.pointerDown&&(p=i,g=this.lastVelocityY,e((()=>{p.style.setProperty("--refreshing-rotation-duration",g>=1?"0.5s":"2s"),p.style.setProperty("opacity","1")}))),this.didRefresh||(this.beginRefresh(),this.didRefresh=!0,d({style:"light"}),this.pointerDown||x(this.elementToTransform,h+"px"))):(this.state=2,((r,i,s,t)=>{e((()=>{u(r,s),i.forEach(((e,r)=>e.style.setProperty("opacity",r<=t?"0.99":"0")))}))})(r,t,a,c))}))},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),this.gesture=(await import("./p-101feae9.js")).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{this.pointerDown=!0,this.didRefresh||x(this.elementToTransform,"0px"),0===n&&(n=.16*this.scrollEl.clientHeight)},onMove:e=>{this.lastVelocityY=e.velocityY},onEnd:()=>{this.pointerDown=!1,this.didStart=!1,this.needsCompletion?(this.resetNativeRefresher(this.elementToTransform,32),this.needsCompletion=!1):this.didRefresh&&s((()=>x(this.elementToTransform,this.el.clientHeight+"px")))}}),this.disabledChanged()}async setupMDNativeRefresher(r,i,s){const t=l(i).querySelector("circle"),n=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=l(s).querySelector("circle");null!==t&&null!==o&&e((()=>{t.style.setProperty("animation","none"),s.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")})),this.gesture=(await import("./p-101feae9.js")).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==this.state&&32!==this.state&&0===this.scrollEl.scrollTop,onStart:e=>{e.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===this.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart)return i.data.didStart=!0,this.state=2,void e((()=>{const e=((e,r)=>"scale"===e?(e=>{const r=e.clientHeight,i=p().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${r+20}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return m(e).addAnimation([i])})(r):(e=>{const r=e.clientHeight,i=p().addElement(e).keyframes([{offset:0,transform:`translateY(-${r+20}px)`},{offset:1,transform:"translateY(100px)"}]);return m(e).addAnimation([i])})(r))((e=>{const r=e.previousElementSibling;return null!==r&&"ION-HEADER"===r.tagName?"translate":"scale"})(r),n);i.data.animation=e,this.scrollEl.style.setProperty("--overflow","hidden"),e.progressStart(!1,0),this.ionStart.emit(),this.animations.push(e)}));this.progress=f(0,i.deltaY/180*.5,1),i.data.animation.progressStep(this.progress),this.ionPull.emit()}},onEnd:r=>{if(!r.data.didStart)return;if(e((()=>this.scrollEl.style.removeProperty("--overflow"))),this.progress<=.4)return this.gesture.enable(!1),void r.data.animation.progressEnd(0,this.progress,500).onFinish((()=>{this.animations.forEach((e=>e.destroy())),this.animations=[],this.gesture.enable(!0),this.state=1}));const i=g([0,0],[0,0],[1,1],[1,1],this.progress)[0],s=(e=>p().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(n);this.animations.push(s),e((async()=>{n.style.setProperty("--ion-pulling-refresher-translate",100*i+"px"),r.data.animation.progressEnd(),await s.play(),this.beginRefresh(),r.data.animation.destroy()}))}}),this.disabledChanged()}async setupNativeRefresher(e){if(this.scrollListenerCallback||!e||this.nativeRefresher||!this.scrollEl)return;this.setCss(0,"",!1,""),this.nativeRefresher=!0;const r=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),i=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===a(this)?this.setupiOSNativeRefresher(r,i):this.setupMDNativeRefresher(e,r,i)}componentDidUpdate(){this.checkNativeRefresher()}async connectedCallback(){if("fixed"!==this.el.getAttribute("slot"))return void console.error('Make sure you use: <ion-refresher slot="fixed">');const e=this.el.closest("ion-content");e?(await e.componentOnReady(),this.scrollEl=await e.getScrollElement(),this.backgroundContentEl=l(e).querySelector("#background-content"),await v(this.el,a(this))?this.setupNativeRefresher(e):(this.gesture=(await import("./p-101feae9.js")).createGesture({el:e,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>this.canStart(),onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:()=>this.onEnd()}),this.disabledChanged())):console.error("<ion-refresher> must be used inside an <ion-content>")}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async complete(){this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||c((()=>c((()=>this.resetNativeRefresher(this.elementToTransform,32)))))):this.close(32,"120ms")}async cancel(){this.nativeRefresher?this.pointerDown||c((()=>c((()=>this.resetNativeRefresher(this.elementToTransform,16))))):this.close(16,"")}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1}onMove(e){if(!this.scrollEl)return;const r=e.event;if(r.touches&&r.touches.length>1)return;if(0!=(56&this.state))return;const i=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*i;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(r.cancelable&&r.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const t=this.pullMin;this.progress=s/t,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),s<t?this.state=2:s>this.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,r){setTimeout((()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"")}),600),this.state=e,this.setCss(0,this.closeDuration,!0,r)}setCss(r,i,s,t){this.nativeRefresher||(this.appliedStyles=r>0,e((()=>{if(this.scrollEl&&this.backgroundContentEl){const e=this.scrollEl.style,n=this.backgroundContentEl.style;e.transform=n.transform=r>0?`translateY(${r}px) translateZ(0px)`:"",e.transitionDuration=n.transitionDuration=i,e.transitionDelay=n.transitionDelay=t,e.overflow=s?"hidden":""}})))}render(){const e=a(this);return t(o,{slot:"fixed",class:{[e]:!0,["refresher-"+e]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return n(this)}static get watchers(){return{disabled:["disabledChanged"]}}};w.style={ios:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:flex;flex-direction:column;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{transform-origin:center;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;animation:250ms linear refresher-pop forwards}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}@keyframes refresher-pop{0%{transform:scale(1);animation-timing-function:ease-in}50%{transform:scale(1.2);animation-timing-function:ease-out}100%{transform:scale(1)}}@keyframes refresher-rotate{from{transform:rotate(0deg)}to{transform:rotate(180deg)}}",md:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:flex;flex-direction:column;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{transform-origin:center;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .arrow-container ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:flex}ion-refresher.refresher-native .refresher-pulling-icon{transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;border-radius:100%;padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:flex;border:1px solid #ececec;background:white;box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}"};export{w as ion_refresher}
@@ -1,3 +0,0 @@
1
- import{c as e,a as t}from"./p-522733aa.js";var n=e((function(e){
2
- /*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
3
- e.exports=function(){var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,o=Object.freeze,a=Object.seal,l=Object.create,s="undefined"!=typeof Reflect&&Reflect,c=s.apply,f=s.construct;c||(c=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),a||(a=function(e){return e}),f||(f=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u,d=k(Array.prototype.forEach),m=k(Array.prototype.pop),p=k(Array.prototype.push),g=k(String.prototype.toLowerCase),h=k(String.prototype.match),y=k(String.prototype.replace),v=k(String.prototype.indexOf),b=k(String.prototype.trim),x=k(RegExp.prototype.test),w=(u=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f(u,t)});function k(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return c(e,t,r)}}function S(e,r){t&&t(e,null);for(var i=r.length;i--;){var o=r[i];if("string"==typeof o){var a=g(o);a!==o&&(n(r)||(r[i]=a),o=a)}e[o]=!0}return e}function A(t){var n=l(null),r=void 0;for(r in t)c(e,t,[r])&&(n[r]=t[r]);return n}function z(e,t){for(;null!==e;){var n=i(e,t);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var j=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),L=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=o(["#text"]),R=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),E=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),N=a(/<%[\s\S]*|[\s\S]*%>/gm),I=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),C=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var $=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":P(e))||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$(),n=function(t){return e(t)};if(n.version="2.2.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,s=t.Node,c=t.Element,f=t.NodeFilter,u=t.NamedNodeMap,k=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,Y=t.Text,J=t.Comment,K=t.DOMParser,Q=t.trustedTypes,X=c.prototype,Z=z(X,"cloneNode"),ee=z(X,"nextSibling"),te=z(X,"childNodes"),ne=z(X,"parentNode");if("function"==typeof l){var re=i.createElement("template");re.content&&re.content.ownerDocument&&(i=re.content.ownerDocument)}var ie=V(Q,r),oe=ie&&Be?ie.createHTML(""):"",ae=i.implementation,le=i.createNodeIterator,se=i.getElementsByTagName,ce=i.createDocumentFragment,fe=r.importNode,ue={};try{ue=A(i).documentMode?i.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof ne&&ae&&void 0!==ae.createHTMLDocument&&9!==ue;var me=q,pe=N,ge=I,he=G,ye=U,ve=H,be=C,xe=null,we=S({},[].concat(W(j),W(O),W(F),W(D),W(M))),ke=null,Se=S({},[].concat(W(R),W(E),W(_),W(B))),Ae=null,ze=null,je=!0,Oe=!0,Fe=!1,Te=!1,De=!1,Le=!1,Me=!1,Re=!1,Ee=!1,_e=!0,Be=!1,qe=!0,Ne=!0,Ie=!1,Ge={},Ce=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,He=S({},["audio","video","img","source","image","track"]),Pe=null,We=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),$e=null,Ve=i.createElement("form"),Ye=function(e){$e&&$e===e||(e&&"object"===(void 0===e?"undefined":P(e))||(e={}),e=A(e),xe="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):we,ke="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):Se,Pe="ADD_URI_SAFE_ATTR"in e?S(A(We),e.ADD_URI_SAFE_ATTR):We,Ue="ADD_DATA_URI_TAGS"in e?S(A(He),e.ADD_DATA_URI_TAGS):He,Ae="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},ze="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},je=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Fe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,_e=!1!==e.RETURN_DOM_IMPORT,Be=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,qe=!1!==e.SANITIZE_DOM,Ne=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,(Te=e.SAFE_FOR_TEMPLATES||!1)&&(Oe=!1),(Ee=e.RETURN_DOM_FRAGMENT||!1)&&(Re=!0),(Ge="USE_PROFILES"in e&&e.USE_PROFILES)&&(xe=S({},[].concat(W(M))),ke=[],!0===Ge.html&&(S(xe,j),S(ke,R)),!0===Ge.svg&&(S(xe,O),S(ke,E),S(ke,B)),!0===Ge.svgFilters&&(S(xe,F),S(ke,E),S(ke,B)),!0===Ge.mathMl&&(S(xe,D),S(ke,_),S(ke,B))),e.ADD_TAGS&&(xe===we&&(xe=A(xe)),S(xe,e.ADD_TAGS)),e.ADD_ATTR&&(ke===Se&&(ke=A(ke)),S(ke,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Pe,e.ADD_URI_SAFE_ATTR),Ne&&(xe["#text"]=!0),De&&S(xe,["html","head","body"]),xe.table&&(S(xe,["tbody"]),delete Ae.tbody),o&&o(e),$e=e)},Je=S({},["mi","mo","mn","ms","mtext"]),Ke=S({},["foreignobject","desc","title","annotation-xml"]),Qe=S({},O);S(Qe,F),S(Qe,T);var Xe=S({},D);S(Xe,L);var Ze="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml",nt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===et)return t.namespaceURI===tt?"svg"===n:t.namespaceURI===Ze?"svg"===n&&("annotation-xml"===r||Je[r]):Boolean(Qe[n]);if(e.namespaceURI===Ze)return t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&&Ke[r]:Boolean(Xe[n]);if(e.namespaceURI===tt){if(t.namespaceURI===et&&!Ke[r])return!1;if(t.namespaceURI===Ze&&!Je[r])return!1;var i=S({},["title","style","font","a","script"]);return!Xe[n]&&(i[n]||!Qe[n])}return!1},rt=function(e){p(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=oe}catch(t){e.remove()}}},it=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(Re||Ee)try{rt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ot=function(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=ie?ie.createHTML(e):e;try{t=(new K).parseFromString(o,"text/html")}catch(e){}if(!t||!t.documentElement){var a=(t=ae.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}return e&&n&&t.body.insertBefore(i.createTextNode(n),t.body.childNodes[0]||null),se.call(t,De?"html":"body")[0]},at=function(e){return le.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,(function(){return f.FILTER_ACCEPT}),!1)},lt=function(e){return!(e instanceof Y||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof k&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},st=function(e){return"object"===(void 0===s?"undefined":P(s))?e instanceof s:e&&"object"===(void 0===e?"undefined":P(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ct=function(e,t,r){de[e]&&d(de[e],(function(e){e.call(n,t,r,$e)}))},ft=function(e){var t=void 0;if(ct("beforeSanitizeElements",e,null),lt(e))return rt(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return rt(e),!0;var r=g(e.nodeName);if(ct("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return rt(e),!0;if(!xe[r]||Ae[r]){if(Ne&&!Ce[r]){var i=ne(e),o=te(e);if(o&&i)for(var a=o.length-1;a>=0;--a)i.insertBefore(Z(o[a],!0),ee(e))}return rt(e),!0}return e instanceof c&&!nt(e)?(rt(e),!0):"noscript"!==r&&"noembed"!==r||!x(/<\/no(script|embed)/i,e.innerHTML)?(Te&&3===e.nodeType&&(t=y(t=e.textContent,me," "),t=y(t,pe," "),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),ct("afterSanitizeElements",e,null),!1):(rt(e),!0)},ut=function(e,t,n){if(qe&&("id"===t||"name"===t)&&(n in i||n in Ve))return!1;if(Oe&&x(ge,t));else if(je&&x(he,t));else{if(!ke[t]||ze[t])return!1;if(Pe[t]);else if(x(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Ue[e])if(Fe&&!x(ye,y(n,ve,"")));else if(n)return!1}return!0},dt=function(e){var t=void 0,r=void 0,i=void 0,o=void 0;ct("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(o=a.length;o--;){var s=(t=a[o]).name,c=t.namespaceURI;if(r=b(t.value),i=g(s),l.attrName=i,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ct("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(it(s,e),l.keepAttr))if(x(/\/>/i,r))it(s,e);else{Te&&(r=y(r,me," "),r=y(r,pe," "));var f=e.nodeName.toLowerCase();if(ut(f,i,r))try{c?e.setAttributeNS(c,s,r):e.setAttribute(s,r),m(n.removed)}catch(e){}}}ct("afterSanitizeAttributes",e,null)}},mt=function e(t){var n=void 0,r=at(t);for(ct("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ct("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof a&&e(n.content),dt(n));ct("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,i){var o=void 0,l=void 0,c=void 0,f=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!st(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported){if("object"===P(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(st(e))return t.toStaticHTML(e.outerHTML)}return e}if(Le||Ye(i),n.removed=[],"string"==typeof e&&(Ie=!1),Ie);else if(e instanceof s)1===(l=(o=ot("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?o=l:o.appendChild(l);else{if(!Re&&!Te&&!De&&-1===e.indexOf("<"))return ie&&Be?ie.createHTML(e):e;if(!(o=ot(e)))return Re?null:oe}o&&Me&&rt(o.firstChild);for(var d=at(Ie?e:o);c=d.nextNode();)3===c.nodeType&&c===f||ft(c)||(c.content instanceof a&&mt(c.content),dt(c),f=c);if(f=null,Ie)return e;if(Re){if(Ee)for(u=ce.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return _e&&(u=fe.call(r,u,!0)),u}var m=De?o.outerHTML:o.innerHTML;return Te&&(m=y(m,me," "),m=y(m,pe," ")),ie&&Be?ie.createHTML(m):m},n.setConfig=function(e){Ye(e),Le=!0},n.clearConfig=function(){$e=null,Le=!1},n.isValidAttribute=function(e,t,n){$e||Ye({});var r=g(e),i=g(t);return ut(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],p(de[e],t))},n.removeHook=function(e){de[e]&&m(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}()}()}));const r=Object.freeze(Object.assign(Object.create(null),n,{default:n}));export{r as p}
@@ -1 +0,0 @@
1
- import{r as t,h as i,a as s,d as e}from"./p-d63406d8.js";import{g as a}from"./p-5d409601.js";import{S as o}from"./p-396a9849.js";class n{constructor(){this.pItems={}}fromSrt(t,i){var s=!!i;(t=(t=t.replace(/\r/g,"")).split(/(\d+)\n(\d{2}:\d{2}:\d{2},\d{3}) --> (\d{2}:\d{2}:\d{2},\d{3})/g)).shift();for(var e={},a=0;a<t.length;a+=4)e[s?this.timeS(t[a+1].trim()):t[a+1].trim()]=t[a+3].trim();return e}toSrt(t){if(!(t instanceof Array))return"";for(var i="",s=0;s<t.length;s++){var e=t[s];isNaN(e.startTime)||isNaN(e.endTime)||(e.startTime=this.msTime(parseInt(e.startTime,10)),e.endTime=this.msTime(parseInt(e.endTime,10))),i+=e.id+"\r\n",i+=e.startTime+" --\x3e "+e.endTime+"\r\n",i+=e.text.replace("\n","\r\n")+"\r\n\r\n"}return i}timeS(t){var i=/(\d+):(\d{2}):(\d{2}),(\d{3})/.exec(t);if(null===i)return 0;for(var s=1;s<5;s++)i[s]=parseInt(i[s],10).toString(),isNaN(parseInt(i[s],10))&&(i[s]="0");return 3600*parseInt(i[1],10)+60*parseInt(i[2],10)+parseInt(i[3],10)+Math.floor(parseInt(i[4],10)/1e3)}msTime(t){var i=[36e5,6e4,1e3],s=[];for(var e in i){var a=(t/i[e]>>0).toString();a.length<2&&(a="0"+a),t%=i[e],s.push(a)}var o=t.toString();if(o.length<3)for(let t=0;t<=3-o.length;t++)o="0"+o;return s.join(":")+","+o}}const r=class{constructor(i){t(this,i),this.showCaption=!1,this.paused=!0,this.dataLoaded=!1,this.currentProgressWidth=0,this.captionText="",this.firstFramePath="",this.isBusy=!1,this.animationVideoProgress="0",this.captionData={}}closedCaptionChange(t){this.showCaption=!this.showCaption}onClassRoomModeChanged(t){this.classMode=t.detail}componentWillLoad(){this.classMode=a(o.LOCALSTORAGE_CLASSROOM_MODE);const t=document.createElement("script");this.firstFramePath=this.src.replace(".js",".png"),t.src=this.src,document.body.appendChild(t),this.readTextFile(this.src.replace(".js",".srt")),this.rergisterSoundControls()}readTextFile(t){let i=this;var s=new XMLHttpRequest;s.open("GET",t,!1),s.onreadystatechange=function(){if(4===s.readyState&&(200===s.status||0==s.status)){var t=s.responseText,e=new n;i.captionData=e.fromSrt(t,!0)}},s.send(null)}isScriptLoaded(t){for(var i=document.getElementsByTagName("script"),s=i.length;s--;)if(i[s].getAttribute("src")==t)return!0;return!1}rergisterSoundControls(){window.playSound=t=>(this.sound&&this.sound.stop(),this.sound=createjs.Sound.play(t,{interrupt:createjs.Sound.INTERRUPT_EARLY,loop:0,volume:1}),this.sound),window.resetToStart=()=>{console.log("reset"),this.rewindAnimationToStart()}}startLoading(){this.isBusy=!0,this.paused=!1}doneLoading(){this.isBusy=!1,this.dataLoaded=!0,this.paused=!1}handleFileLoad(t){var i=this.comp.getImages();t&&"image"==t.item.type&&(i[t.item.id]=t.result)}handleQueueProgress(t){return t=>{this.animationVideoProgress=t.loaded?(100*t.loaded).toFixed(0):"0",1==t.loaded&&this.doneLoading()}}handleComplete(t){for(var i=this.comp.getSpriteSheet(),s=t.target,e=this.library.ssMetadata,a=0;a<e.length;a++)i[e[a].name]=new createjs.SpriteSheet({images:[s.getResult(e[a].name)],frames:e[a].frames});var o=this.src.substring(this.src.lastIndexOf("/")+1,this.src.lastIndexOf("."));this.exportRoot=new this.library[o],this.stage=new this.library.Stage(this.canvas),this.makeResponsive(!0,"both",!1,1),AdobeAn.compositionLoaded(this.library.properties.id),this.stage.addChild(this.exportRoot),createjs.Ticker.framerate=this.library.properties.fps,createjs.Ticker.paused=!1,createjs.Ticker.addEventListener("tick",this.stage),createjs.Ticker.addEventListener("tick",(t=>{this.tickHandler(t)})),console.log(createjs.Ticker)}loadAnimation(){this.startLoading(),createjs.Sound.initializeDefaultPlugins()&&(this.canvas=this.el.querySelector(".video-canvas"),this.anim_container=this.el.querySelector(".canvas-container"),this.comp=AdobeAn.getComposition(this.composition),this.canvas.style.width="100%",console.log(this.canvas.offsetWidth),this.canvas.style.height=this.canvas.offsetWidth+"px",this.anim_container.style.height=this.canvas.offsetWidth+"px",this.library=this.comp.getLibrary(),this.loader=new createjs.LoadQueue(!1),this.loader.setMaxConnections(3),this.loader.maintainScriptOrder=!0,this.loader.installPlugin(createjs.Sound),this.loader.addEventListener("complete",(t=>{this.handleComplete(t)})),this.loader.addEventListener("fileload",(t=>{this.handleFileLoad(t)})),this.loader.addEventListener("progress",this.handleQueueProgress(this)),this.loader.loadManifest(this.library.properties.manifest,!0,this.src.substring(0,this.src.lastIndexOf("/")+1)))}playButtonAction(){this.dataLoaded?this.playPauseAnimation():this.loadAnimation()}playPauseAnimation(){createjs.Ticker.paused?this.playAnimation():this.pauseAnimation()}async playAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!1,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.addEventListener("tick",this.stage),this.paused=t}}async pauseAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!0,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.removeEventListener("tick",this.stage),this.paused=t}}disconnectedCallback(){this.pauseAnimation(),createjs.Sound.removeAllSounds()}async classRoomModeChanged(t){this.classMode=t}async destroyAnimation(){this.pauseAnimation()}makeResponsive(t,i,s,e){window.addEventListener("resize",(()=>this.resizeCanvas(t,i,s,e))),this.resizeCanvas(t,i,s,e)}resizeCanvas(t,i,s,e){var a,o,n=1,r=this.library.properties.width,h=this.library.properties.height,l=window.innerWidth,c=window.innerHeight,d=window.devicePixelRatio||1,p=l/r,u=c/h,m=1;t&&("width"==i&&a==l||"height"==i&&o==c?m=n:s?1==e?m=Math.min(p,u):2==e&&(m=Math.max(p,u)):(l<r||c<h)&&(m=Math.min(p,u)));var g=this.el.querySelector(".canvas-container");this.canvas.width=r*d*m,this.canvas.height=h*d*m,this.canvas.style.width="100%",this.canvas.style.height=this.canvas.offsetWidth+"px",g.style.height=this.canvas.offsetWidth+"px",this.stage.scaleX=d*m,this.stage.scaleY=d*m,a=l,o=c,n=m,this.sizeOfCanvas=this.canvas.offsetWidth;var v=this.el.querySelector(".progressBar");this.sizeofProgressBar=v.offsetWidth,this.stage.tickOnUpdate=!1,this.stage.update(),this.stage.tickOnUpdate=!0}tickHandler(t){t.paused||(this.timeline=this.stage.children[0].timeline,this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]&&(this.captionText=this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]),this.timeline.position%10==0&&(this.currentProgressWidth=parseFloat((this.timeline.position/this.timeline.duration*this.sizeofProgressBar).toFixed(0))))}rewindAnimationTo(t){let i=this.sound;i&&(i.paused=!0);let s=this.stage.children[0],e=s.timeline;t<0&&(t=0),t>e.duration&&(t=e.duration-10),this.paused?(s.gotoAndStop(t),this.stage.update(),i&&!i.getPaused()&&(createjs.Ticker.paused=!0)):(s.gotoAndPlay(t),createjs.Ticker.paused=!1)}rewindAnimationToStart(){this.paused=!0,this.rewindAnimationTo(0)}rewindAnimation(t){t.stopPropagation();let i=Math.round(t.offsetX/this.sizeofProgressBar*this.stage.children[0].timeline.duration);this.rewindAnimationTo(i)}rewind5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position-5*this.library.properties.fps)}fastForward5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position+5*this.library.properties.fps)}muteVolume(){let t=this.sound;t&&(t.volume=0)}downVolume(){let t=this.sound;t&&t._getVolume()>.9&&(t.volume=t._getVolume()-.1)}upVolume(){let t=this.sound;t&&t._getVolume()<1&&(t.volume=t._getVolume()+.1)}render(){return i("div",{class:"cavase-main-container"},i("div",{class:"canvas-container",id:"canvas-container"},this.classMode?"":i("div",null,i("canvas",{class:"video-canvas",onClick:()=>this.playButtonAction()}),this.showCaption?i("div",{class:"caption"},this.captionText):""),this.dataLoaded?"":i("img",{class:"frame-img",src:this.firstFramePath}),this.classMode?i("img",{class:"overlay-img",src:s("./assets/play-button-disabled-overlay.png")}):"",!this.classMode&&this.paused?i("img",{class:"overlay-img",onClick:()=>this.playButtonAction(),src:s("./assets/play-button-overlay.png")}):"",this.isBusy?i("div",{class:"loading-container"},i("div",{class:"uil-ring-css"},i("div",null),i("a",null,"Loading ",this.animationVideoProgress,"%"))):""),this.dataLoaded?i("div",{class:"navControls"},i("div",{class:"progressBar",onClick:t=>this.rewindAnimation(t)},i("div",{class:"currentProgress",style:{width:this.currentProgressWidth+"px"}})),i("div",{class:"button-panel"},i("ion-button",{size:"small",color:"transperant",onClick:()=>this.rewind5Sec()}," ",i("ion-icon",{name:"play-back-outline"})," "),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.playButtonAction()}," ",i("ion-icon",this.paused?{name:"pause-outline"}:{name:"play-outline"})),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.fastForward5Sec()}," ",i("ion-icon",{name:"play-forward-outline"})))):"",this.dataLoaded&&this.captionText?i("div",{class:"closed-caption"},i("ion-item",{lines:"none"},i("ion-label",null,"Closed Caption"),i("ion-toggle",{slot:"end",color:"primary",checked:this.showCaption}))):"")}static get assetsDirs(){return["assets"]}get el(){return e(this)}};r.style='.video-canvas{position:absolute;display:block;background-color:#f5f5f5;width:auto}.closed-caption{justify-content:flex-end;width:100%;display:flex}sparkle-animation-player{width:100%;margin:0 auto}.caption{position:absolute;bottom:0px;color:white;text-align:center;width:100%;text-shadow:1px 1px 2px #e50539}.canvas-container{width:680px;height:680px;background-color:#f5f5f5;border-radius:10px;position:relative}.frame-img{position:absolute;display:block;max-width:100%;width:100%;height:auto}.overlay-img{position:absolute;z-index:9999;top:0px;display:block;max-width:100%;width:100%;height:auto}.button-panel{display:flex;justify-content:center}ion-icon{color:var(--ion-color-primary)}.navControls{width:680px;background:transparent;border-radius:10px;position:relative;padding-top:15px;display:flex;flex-direction:column;align-items:center}.navControls .progressBar{flex:100%;border-radius:20px;position:relative;left:0;right:0;height:4px;background-color:rgba(205, 205, 205, 0.7);width:100%}.navControls .progressBar .currentProgress{border-radius:20px;position:absolute;height:25px;background-color:var(--ion-color-primary);transition:width 0.5s;width:100%}.navControls .progressBar .currentProgress:before{position:absolute;top:50%;right:4px;content:" ";display:block;width:12px;height:12px;margin-top:-10px;background:#e5053a;border-radius:10px;border:4px solid #d9d4d4;z-index:10}#dom_overlay_container{pointer-events:none;overflow:hidden;position:absolute;left:0px;top:0px;display:block}.cavase-main-container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;padding:15px;background-position:center;background-size:cover;background-repeat:no-repeat}.loading-container{height:100%;display:flex;justify-content:center;align-items:center}.uil-ring-css{position:absolute}ion-button{--ion-color-base:transparent;--ion-color-contrast:var(--ion-color-primary);--box-shadow:none !important}@media screen and (min-width: 760px){.navControls{flex-direction:row}.navControls .progressBar{height:24px;flex:75%;width:75%}.button-panel{flex:25%;width:25%}}';export{r as sparkle_animation_player}
@@ -1 +0,0 @@
1
- import{i as o}from"./p-770128c8.js";const s=()=>{o()};export{s as g}
@@ -1 +0,0 @@
1
- import{r as t,e as s,h as r,d as i,H as e}from"./p-d63406d8.js";import{g as o}from"./p-770128c8.js";import{a as h,b as n,h as a}from"./p-c563b4de.js";const c=class{constructor(r){t(this,r),this.ionItemReorder=s(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async connectedCallback(){const t=this.el.closest("ion-content");t&&(this.scrollEl=await t.getScrollElement()),this.gesture=(await import("./p-101feae9.js")).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:t=>this.canStart(t),onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()}),this.disabledChanged()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(t){return Promise.resolve(this.completeSync(t))}canStart(t){if(this.selectedItemEl||0!==this.state)return!1;const s=t.event.target.closest("ion-reorder");if(!s)return!1;const r=l(s,this.el);return!!r&&(t.data=r,!0)}onStart(t){t.event.preventDefault();const s=this.selectedItemEl=t.data,r=this.cachedHeights;r.length=0;const i=this.el,e=i.children;if(!e||0===e.length)return;let o=0;for(let t=0;t<e.length;t++){const s=e[t];o+=s.offsetHeight,r.push(o),s.$ionIndex=t}const n=i.getBoundingClientRect();if(this.containerTop=n.top,this.containerBottom=n.bottom,this.scrollEl){const t=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop,this.scrollElTop=t.top+u,this.scrollElBottom=t.bottom-u}else this.scrollElInitial=0,this.scrollElTop=0,this.scrollElBottom=0;this.lastToIndex=d(s),this.selectedItemHeight=s.offsetHeight,this.state=1,s.classList.add(f),h()}onMove(t){const s=this.selectedItemEl;if(!s)return;const r=this.autoscroll(t.currentY),i=this.containerTop-r,e=Math.max(i,Math.min(t.currentY,this.containerBottom-r)),o=r+e-t.startY,h=this.itemIndexForTop(e-i);if(h!==this.lastToIndex){const t=d(s);this.lastToIndex=h,n(),this.reorderMove(t,h)}s.style.transform=`translateY(${o}px)`}onEnd(){const t=this.selectedItemEl;if(this.state=2,!t)return void(this.state=0);const s=this.lastToIndex,r=d(t);s===r?this.completeSync():this.ionItemReorder.emit({from:r,to:s,complete:this.completeSync.bind(this)}),a()}completeSync(t){const s=this.selectedItemEl;if(s&&2===this.state){const r=this.el.children,i=r.length,e=this.lastToIndex,o=d(s);e===o||void 0!==t&&!0!==t||this.el.insertBefore(s,o<e?r[e+1]:r[e]),Array.isArray(t)&&(t=m(t,o,e));for(let t=0;t<i;t++)r[t].style.transform="";s.style.transition="",s.classList.remove(f),this.selectedItemEl=void 0,this.state=0}return t}itemIndexForTop(t){const s=this.cachedHeights;let r=0;for(r=0;r<s.length&&!(s[r]>t);r++);return r}reorderMove(t,s){const r=this.selectedItemHeight,i=this.el.children;for(let e=0;e<i.length;e++){let o="";e>t&&e<=s?o=`translateY(${-r}px)`:e<t&&e>=s&&(o=`translateY(${r}px)`),i[e].style.transform=o}}autoscroll(t){if(!this.scrollEl)return 0;let s=0;return t<this.scrollElTop?s=-p:t>this.scrollElBottom&&(s=p),0!==s&&this.scrollEl.scrollBy(0,s),this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=o(this);return r(e,{class:{[t]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return i(this)}static get watchers(){return{disabled:["disabledChanged"]}}},d=t=>t.$ionIndex,l=(t,s)=>{let r;for(;t;){if(r=t.parentElement,r===s)return t;t=r}},u=60,p=10,f="reorder-selected",m=(t,s,r)=>{const i=t[s];return t.splice(s,1),t.splice(r,0,i),t.slice()};c.style=".reorder-list-active>*{transition:transform 300ms;will-change:transform}.reorder-enabled{user-select:none}.reorder-enabled ion-reorder{display:block;cursor:grab;pointer-events:all;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:grabbing}.reorder-selected{position:relative;transition:none !important;box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{transform:translate3d(0, 0, 0)}";export{c as ion_reorder_group}
@@ -1 +0,0 @@
1
- import{r as s,h as i,H as r,d as e}from"./p-d63406d8.js";import{g as n,c as t,a as o}from"./p-770128c8.js";import{s as a}from"./p-111520a0.js";import{S as c}from"./p-417a8dd6.js";const h=class{constructor(i){s(this,i)}componentWillLoad(){if(void 0===this.pullingIcon){const s=n(this),i=void 0!==this.el.style.webkitOverflowScrolling?"lines":"arrow-down";this.pullingIcon=t.get("refreshingIcon","ios"===s&&o("mobile")?t.get("spinner",i):"circular")}if(void 0===this.refreshingSpinner){const s=n(this);this.refreshingSpinner=t.get("refreshingSpinner",t.get("spinner","ios"===s?"lines":"circular"))}}render(){const s=this.pullingIcon,e=null!=s&&void 0!==c[s],t=n(this);return i(r,{class:t},i("div",{class:"refresher-pulling"},this.pullingIcon&&e&&i("div",{class:"refresher-pulling-icon"},i("div",{class:"spinner-arrow-container"},i("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===t&&"circular"===this.pullingIcon&&i("div",{class:"arrow-container"},i("ion-icon",{name:"caret-back-sharp"})))),this.pullingIcon&&!e&&i("div",{class:"refresher-pulling-icon"},i("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&i("div",{class:"refresher-pulling-text",innerHTML:a(this.pullingText)})),i("div",{class:"refresher-refreshing"},this.refreshingSpinner&&i("div",{class:"refresher-refreshing-icon"},i("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&i("div",{class:"refresher-refreshing-text",innerHTML:a(this.refreshingText)})))}get el(){return e(this)}};export{h as ion_refresher_content}
@@ -1 +0,0 @@
1
- import"./p-d63406d8.js";import"./p-f8063d7b.js";import{c as t}from"./p-4b7db0e6.js";import{g as n}from"./p-765b8593.js";const o=t=>document.querySelector(t+".ion-cloned-element"),a=t=>t.shadowRoot||t,e=t=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),o="ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(o):null}return t.querySelector(o)},s=(t,n)=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const o=t.closest("ion-header"),a=o&&!o.classList.contains("header-collapse-condense-inactive"),e=t.querySelector("ion-back-button"),s=t.classList.contains("buttons-collapse"),r="start"===t.slot||""===t.slot;if(null!==e&&r&&(s&&a&&n||!s))return e}return null},r=(n,e,s,r,i,l)=>{const c=e?`calc(100% - ${l.right+4}px)`:l.left-4+"px",p=e?"7px":"-7px",f=e?"-4px":"4px",d=e?"-4px":"4px",b=e?"right":"left",$=e?"left":"right",m=s?[{offset:0,opacity:1,transform:`translate3d(${f}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${p}, ${i.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${p}, ${i.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${f}, ${l.top-46}px, 0) scale(1)`}],u=s?[{offset:0,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`}],y=t(),X=t(),x=o("ion-back-button"),h=a(x).querySelector(".button-text"),g=a(x).querySelector("ion-icon");x.text=r.text,x.mode=r.mode,x.icon=r.icon,x.color=r.color,x.disabled=r.disabled,x.style.setProperty("display","block"),x.style.setProperty("position","fixed"),X.addElement(g),y.addElement(h),y.beforeStyles({"transform-origin":b+" center"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),x.style.setProperty(b,c)})).afterAddWrite((()=>{r.style.setProperty("display",""),x.style.setProperty("display","none"),x.style.removeProperty(b)})).keyframes(m),X.beforeStyles({"transform-origin":$+" center"}).keyframes(u),n.addAnimation([y,X])},i=(n,a,e,s,r,i)=>{const l=a?`calc(100% - ${r.right}px)`:r.left+"px",c=a?"-18px":"18px",p=a?"right":"left",f=e?[{offset:0,opacity:0,transform:`translate3d(${c}, ${i.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${i.top-4}px, 0) scale(0.5)`}],d=o("ion-title"),b=t();d.innerText=s.innerText,d.size=s.size,d.color=s.color,b.addElement(d),b.beforeStyles({"transform-origin":p+" center",height:"46px",display:"",position:"relative",[p]:l}).beforeAddWrite((()=>{s.style.setProperty("display","none")})).afterAddWrite((()=>{s.style.setProperty("display",""),d.style.setProperty("display","none")})).keyframes(f),n.addAnimation(b)},l=(o,l)=>{try{const c="cubic-bezier(0.32,0.72,0,1)",p="opacity",f="transform",d="0%",b=.8,$="rtl"===o.ownerDocument.dir,m=$?"-99.5%":"99.5%",u=$?"33%":"-33%",y=l.enteringEl,X=l.leavingEl,x="back"===l.direction,h=y.querySelector(":scope > ion-content"),g=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),v=y.querySelectorAll(":scope > ion-header > ion-toolbar"),k=t(),w=t();if(k.addElement(y).duration(l.duration||540).easing(l.easing||c).fill("both").beforeRemoveClass("ion-page-invisible"),X&&o){const n=t();n.addElement(o),k.addAnimation(n)}if(h||0!==v.length||0!==g.length?(w.addElement(h),w.addElement(g)):w.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(w),x?w.beforeClearStyles([p]).fromTo("transform",`translateX(${u})`,`translateX(${d})`).fromTo(p,b,1):w.beforeClearStyles([p]).fromTo("transform",`translateX(${m})`,`translateX(${d})`),h){const n=a(h).querySelector(".transition-effect");if(n){const o=n.querySelector(".transition-cover"),a=n.querySelector(".transition-shadow"),e=t(),s=t(),r=t();e.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),s.addElement(o).beforeClearStyles([p]).fromTo(p,0,.1),r.addElement(a).beforeClearStyles([p]).fromTo(p,.03,.7),e.addAnimation([s,r]),w.addAnimation([e])}}const T=y.querySelector("ion-header.header-collapse-condense"),{forward:j,backward:A}=((t,n,o,a,l)=>{const c=s(a,o),p=e(l),f=e(a),d=s(l,o),b=null!==c&&null!==p&&!o,$=null!==f&&null!==d&&o;if(b){const a=p.getBoundingClientRect(),e=c.getBoundingClientRect();i(t,n,o,p,a,e),r(t,n,o,c,a,e)}else if($){const a=f.getBoundingClientRect(),e=d.getBoundingClientRect();i(t,n,o,f,a,e),r(t,n,o,d,a,e)}return{forward:b,backward:$}})(k,$,x,y,X);if(v.forEach((n=>{const o=t();o.addElement(n),k.addAnimation(o);const e=t();e.addElement(n.querySelector("ion-title"));const s=t(),r=Array.from(n.querySelectorAll("ion-buttons,[menuToggle]")),i=n.closest("ion-header"),l=i&&i.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(x?t=>{const n=t.classList.contains("buttons-collapse");return n&&!l||!n}:t=>!t.classList.contains("buttons-collapse")),s.addElement(c);const f=t();f.addElement(n.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const b=t();b.addElement(a(n).querySelector(".toolbar-background"));const y=t(),X=n.querySelector("ion-back-button");if(X&&y.addElement(X),o.addAnimation([e,s,f,b,y]),s.fromTo(p,.01,1),f.fromTo(p,.01,1),x)l||e.fromTo("transform",`translateX(${u})`,`translateX(${d})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${u})`,`translateX(${d})`),y.fromTo(p,.01,1);else if(T||e.fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${m})`,`translateX(${d})`),b.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?b.fromTo("transform",$?"translateX(-100%)":"translateX(100%)","translateX(0px)"):b.fromTo(p,.01,"var(--opacity)"),j||y.fromTo(p,.01,1),X&&!j){const n=t();n.addElement(a(X).querySelector(".button-text")).fromTo("transform",$?"translateX(-100px)":"translateX(100px)","translateX(0px)"),o.addAnimation(n)}})),X){const o=t(),e=X.querySelector(":scope > ion-content"),s=X.querySelectorAll(":scope > ion-header > ion-toolbar"),r=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(e||0!==s.length||0!==r.length?(o.addElement(e),o.addElement(r)):o.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(o),x){o.beforeClearStyles([p]).fromTo("transform",`translateX(${d})`,$?"translateX(-100%)":"translateX(100%)");const t=n(X);k.afterAddWrite((()=>{"normal"===k.getDirection()&&t.style.setProperty("display","none")}))}else o.fromTo("transform",`translateX(${d})`,`translateX(${u})`).fromTo(p,1,b);if(e){const n=a(e).querySelector(".transition-effect");if(n){const a=n.querySelector(".transition-cover"),e=n.querySelector(".transition-shadow"),s=t(),r=t(),i=t();s.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([p]).fromTo(p,.1,0),i.addElement(e).beforeClearStyles([p]).fromTo(p,.7,.03),s.addAnimation([r,i]),o.addAnimation([s])}}s.forEach((n=>{const o=t();o.addElement(n);const e=t();e.addElement(n.querySelector("ion-title"));const s=t(),r=n.querySelectorAll("ion-buttons,[menuToggle]"),i=n.closest("ion-header"),l=i&&i.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const n=t.classList.contains("buttons-collapse");return n&&!l||!n}));s.addElement(c);const b=t(),m=n.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");m.length>0&&b.addElement(m);const y=t();y.addElement(a(n).querySelector(".toolbar-background"));const X=t(),h=n.querySelector("ion-back-button");if(h&&X.addElement(h),o.addAnimation([e,s,b,X,y]),k.addAnimation(o),X.fromTo(p,.99,0),s.fromTo(p,.99,0),b.fromTo(p,.99,0),x){if(l||e.fromTo("transform",`translateX(${d})`,$?"translateX(-100%)":"translateX(100%)").fromTo(p,.99,0),b.fromTo("transform",`translateX(${d})`,$?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?y.fromTo("transform","translateX(0px)",$?"translateX(-100%)":"translateX(100%)"):y.fromTo(p,"var(--opacity)",0),h&&!A){const n=t();n.addElement(a(h).querySelector(".button-text")).fromTo("transform",`translateX(${d})`,`translateX(${($?-124:124)+"px"})`),o.addAnimation(n)}}else l||e.fromTo("transform",`translateX(${d})`,`translateX(${u})`).fromTo(p,.99,0).afterClearStyles([f,p]),b.fromTo("transform",`translateX(${d})`,`translateX(${u})`).afterClearStyles([f,p]),X.afterClearStyles([p]),e.afterClearStyles([p]),s.afterClearStyles([p])}))}return k}catch(t){throw t}};export{l as iosTransitionAnimation,a as shadow}
@@ -1 +0,0 @@
1
- import{r as t,e,h as i,H as s,d as n}from"./p-d63406d8.js";import{g as o}from"./p-770128c8.js";import{f as r,b as a,c as l}from"./p-f8063d7b.js";import"./p-f2660943.js";import{g as d,h,a as p}from"./p-c466ee32.js";import{h as c}from"./p-7840618d.js";const u=(t,e)=>{if(1===t.nodeType)return(t.tagName===e.toUpperCase()?[t]:Array.from(t.querySelectorAll(e))).find((e=>e.value===t.value))},g=class{constructor(i){t(this,i),this.ionChange=e(this,"ionChange",7),this.ionCancel=e(this,"ionCancel",7),this.ionFocus=e(this,"ionFocus",7),this.ionBlur=e(this,"ionBlur",7),this.ionStyle=e(this,"ionStyle",7),this.inputId="ion-sel-"+w++,this.didInit=!1,this.isExpanded=!1,this.disabled=!1,this.cancelText="Cancel",this.okText="OK",this.name=this.inputId,this.multiple=!1,this.interface="alert",this.interfaceOptions={},this.onClick=t=>{this.setFocus(),this.open(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}disabledChanged(){this.emitStyle()}valueChanged(){this.emitStyle(),this.didInit&&this.ionChange.emit({value:this.value})}async connectedCallback(){this.updateOverlayOptions(),this.emitStyle(),this.mutationO=((t,e,i)=>{if("undefined"==typeof MutationObserver)return;const s=new MutationObserver((t=>{i(((t,e)=>{let i;t.forEach((t=>{for(let s=0;s<t.addedNodes.length;s++)i=u(t.addedNodes[s],e)||i}))})(t,"ion-select-option"))}));return s.observe(t,{childList:!0,subtree:!0}),s})(this.el,0,(async()=>{this.updateOverlayOptions()}))}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentDidLoad(){this.didInit=!0}async open(t){if(this.disabled||this.isExpanded)return;const e=this.overlay=await this.createOverlay(t);return this.isExpanded=!0,e.onDidDismiss().then((()=>{this.overlay=void 0,this.isExpanded=!1,this.setFocus()})),await e.present(),e}createOverlay(t){let e=this.interface;return"action-sheet"!==e&&"popover"!==e||!this.multiple||(console.warn(`Select interface cannot be "${e}" with a multi-value select. Using the "alert" interface instead.`),e="alert"),"popover"!==e||t||(console.warn('Select interface cannot be a "popover" without passing an event. Using the "alert" interface instead.'),e="alert"),"popover"===e?this.openPopover(t):"action-sheet"===e?this.openActionSheet():this.openAlert()}updateOverlayOptions(){const t=this.overlay;if(!t)return;const e=this.childOpts,i=this.value;switch(this.interface){case"action-sheet":t.buttons=this.createActionSheetButtons(e,i);break;case"popover":const s=t.querySelector("ion-select-popover");s&&(s.options=this.createPopoverOptions(e,i));break;case"alert":t.inputs=this.createAlertInputs(e,this.multiple?"checkbox":"radio",i)}}createActionSheetButtons(t,e){const i=t.map((t=>{const i=v(t),s=Array.from(t.classList).filter((t=>"hydrated"!==t)).join(" "),n=`${C} ${s}`;return{role:b(i,e,this.compareWith)?"selected":"",text:t.textContent,cssClass:n,handler:()=>{this.value=i}}}));return i.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),i}createAlertInputs(t,e,i){return t.map((t=>{const s=v(t),n=Array.from(t.classList).filter((t=>"hydrated"!==t)).join(" ");return{type:e,cssClass:`${C} ${n}`,label:t.textContent||"",value:s,checked:b(s,i,this.compareWith),disabled:t.disabled}}))}createPopoverOptions(t,e){return t.map((t=>{const i=v(t),s=Array.from(t.classList).filter((t=>"hydrated"!==t)).join(" ");return{text:t.textContent||"",cssClass:`${C} ${s}`,value:i,checked:b(i,e,this.compareWith),disabled:t.disabled,handler:()=>{this.value=i,this.close()}}}))}async openPopover(t){const e=this.interfaceOptions,i=o(this),s=this.value,n=Object.assign(Object.assign({mode:i},e),{component:"ion-select-popover",cssClass:["select-popover",e.cssClass],event:t,componentProps:{header:e.header,subHeader:e.subHeader,message:e.message,value:s,options:this.createPopoverOptions(this.childOpts,s)}});return d.create(n)}async openActionSheet(){const t=o(this),e=this.interfaceOptions,i=Object.assign(Object.assign({mode:t},e),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",e.cssClass]});return h.create(i)}async openAlert(){const t=this.getLabel(),e=t?t.textContent:null,i=this.interfaceOptions,s=this.multiple?"checkbox":"radio",n=o(this),r=Object.assign(Object.assign({mode:n},i),{header:i.header?i.header:e,inputs:this.createAlertInputs(this.childOpts,s,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:t=>{this.value=t}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return p.create(r)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return r(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}getText(){const t=this.selectedText;return null!=t&&""!==t?t:x(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){this.ionStyle.emit({interactive:!0,select:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"interactive-disabled":this.disabled,"select-disabled":this.disabled})}render(){const{disabled:t,el:e,inputId:n,isExpanded:r,name:d,placeholder:h,value:p}=this,u=o(this),{labelText:g,labelId:b}=a(e,n);l(!0,e,d,f(p),t);let v=!1,m=this.getText();""===m&&null!=h&&(m=h,v=!0);const x={"select-text":!0,"select-placeholder":v},y=v?"placeholder":"text",w=void 0!==g?""!==m?`${m}, ${g}`:g:m;return i(s,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":t?"true":null,"aria-label":w,class:{[u]:!0,"in-item":c("ion-item",e),"select-disabled":t}},i("div",{"aria-hidden":"true",class:x,part:y},m),i("div",{class:"select-icon",role:"presentation",part:"icon"},i("div",{class:"select-icon-inner"})),i("label",{id:b},w),i("button",{type:"button",disabled:t,id:n,"aria-labelledby":b,"aria-haspopup":"listbox","aria-expanded":""+r,onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusEl=t}))}get el(){return n(this)}static get watchers(){return{disabled:["disabledChanged"],placeholder:["disabledChanged"],value:["valueChanged"]}}},b=(t,e,i)=>void 0!==t&&(Array.isArray(t)?t.some((t=>m(t,e,i))):m(t,e,i)),v=t=>{const e=t.value;return void 0===e?t.textContent||"":e},f=t=>{if(null!=t)return Array.isArray(t)?t.join(","):t.toString()},m=(t,e,i)=>"function"==typeof i?i(t,e):"string"==typeof i?t[i]===e[i]:Array.isArray(e)?e.includes(t):t===e,x=(t,e,i)=>void 0===e?"":Array.isArray(e)?e.map((e=>y(t,e,i))).filter((t=>null!==t)).join(", "):y(t,e,i)||"",y=(t,e,i)=>{const s=t.find((t=>m(v(t),e,i)));return s?s.textContent:null};let w=0;const C="select-interface-option";g.style={ios:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{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}.select-icon{position:relative;opacity:0.33}.select-text{flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px}",md:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{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}.select-icon{position:relative;opacity:0.33}.select-text{flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px}:host-context(.item-label-floating) .select-icon{transform:translate3d(0, -9px, 0)}"};const k=class{constructor(e){t(this,e),this.inputId="ion-selopt-"+O++,this.disabled=!1}render(){return i(s,{role:"option",id:this.inputId,class:o(this)})}get el(){return n(this)}};let O=0;k.style=":host{display:none}";export{g as ion_select,k as ion_select_option}
@@ -1 +0,0 @@
1
- import{r as o,e as i,h as r,H as t,d as e}from"./p-d63406d8.js";import{g as p}from"./p-770128c8.js";import"./p-f8063d7b.js";import{c as n}from"./p-4b7db0e6.js";import{d as s}from"./p-765b8593.js";import"./p-f2660943.js";import{B as a,b as c,p as v,d as h,e as d}from"./p-c466ee32.js";import{g as l}from"./p-7840618d.js";import{a as m,d as x}from"./p-a38ea475.js";const b=(o,i)=>{let r="top",t="left";const e=o.querySelector(".popover-content"),p=e.getBoundingClientRect(),s=p.width,a=p.height,c=o.ownerDocument.defaultView.innerWidth,v=o.ownerDocument.defaultView.innerHeight,h=i&&i.target&&i.target.getBoundingClientRect(),d=null!=h&&"top"in h?h.top:v/2-a/2,l=null!=h&&"left"in h?h.left:c/2,m=h&&h.width||0,x=h&&h.height||0,b=o.querySelector(".popover-arrow"),u=b.getBoundingClientRect(),w=u.width,g=u.height;null==h&&(b.style.display="none");const y={top:d+x,left:l+m/2-w/2},k={top:d+x+(g-1),left:l+m/2-s/2};let D=!1,P=!1;k.left<f+25?(D=!0,k.left=f):s+f+k.left+25>c&&(P=!0,k.left=c-s-f,t="right"),d+x+a>v&&d-a>0?(y.top=d-(g+1),k.top=d-a-(g-1),o.className=o.className+" popover-bottom",r="bottom"):d+x+a>v&&(e.style.bottom=f+"%"),b.style.top=y.top+"px",b.style.left=y.left+"px",e.style.top=k.top+"px",e.style.left=k.left+"px",D&&(e.style.left=`calc(${k.left}px + var(--ion-safe-area-left, 0px))`),P&&(e.style.left=`calc(${k.left}px - var(--ion-safe-area-right, 0px))`),e.style.transformOrigin=r+" "+t;const j=n(),W=n(),z=n();return W.addElement(o.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),z.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),j.addElement(o).easing("ease").duration(100).addAnimation([W,z])},f=5,u=o=>{const i=n(),r=n(),t=n();return r.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),i.addElement(o).easing("ease").duration(500).addAnimation([r,t])},w=(o,i)=>{const r=o.ownerDocument,t="rtl"===r.dir;let e="top",p=t?"right":"left";const s=o.querySelector(".popover-content"),a=s.getBoundingClientRect(),c=a.width,v=a.height,h=r.defaultView.innerWidth,d=r.defaultView.innerHeight,l=i&&i.target&&i.target.getBoundingClientRect(),m=null!=l&&"bottom"in l?l.bottom:d/2-v/2,x=l&&l.height||0,b={top:m,left:null!=l&&"left"in l?t?l.left-c+l.width:l.left:h/2-c/2};b.left<12?(b.left=12,p="left"):c+12+b.left>h&&(b.left=h-c-12,p="right"),m+x+v>d&&m-v>0?(b.top=m-v-x,o.className=o.className+" popover-bottom",e="bottom"):m+x+v>d&&(s.style.bottom="12px");const f=n(),u=n(),w=n(),g=n(),y=n();return u.addElement(o.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),w.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),g.addElement(s).beforeStyles({top:b.top+"px",left:b.left+"px","transform-origin":`${e} ${p}`}).fromTo("transform","scale(0.001)","scale(1)"),y.addElement(o.querySelector(".popover-viewport")).fromTo("opacity",.01,1),f.addElement(o).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).addAnimation([u,w,g,y])},g=o=>{const i=n(),r=n(),t=n();return r.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),i.addElement(o).easing("ease").duration(500).addAnimation([r,t])},y=class{constructor(r){o(this,r),this.didPresent=i(this,"ionPopoverDidPresent",7),this.willPresent=i(this,"ionPopoverWillPresent",7),this.willDismiss=i(this,"ionPopoverWillDismiss",7),this.didDismiss=i(this,"ionPopoverDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onDismiss=o=>{o.stopPropagation(),o.preventDefault(),this.dismiss()},this.onBackdropTap=()=>{this.dismiss(void 0,a)},this.onLifecycle=o=>{const i=this.usersElement,r=k[o.type];if(i&&r){const t=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:o.detail});i.dispatchEvent(t)}}}connectedCallback(){c(this.el)}async present(){if(this.presented)return;const o=this.el.querySelector(".popover-content");if(!o)throw new Error("container is undefined");const i=Object.assign(Object.assign({},this.componentProps),{popover:this.el});return this.usersElement=await m(this.delegate,o,this.component,["popover-viewport",this.el["s-sc"]],i),await s(this.usersElement),v(this,"popoverEnter",b,w,this.event)}async dismiss(o,i){const r=await h(this,o,i,"popoverLeave",u,g,this.event);return r&&await x(this.delegate,this.usersElement),r}onDidDismiss(){return d(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return d(this.el,"ionPopoverWillDismiss")}render(){const o=p(this),{onLifecycle:i}=this;return r(t,{"aria-modal":"true","no-router":!0,tabindex:"-1",style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},l(this.cssClass)),{[o]:!0,"popover-translucent":this.translucent}),onIonPopoverDidPresent:i,onIonPopoverWillPresent:i,onIonPopoverWillDismiss:i,onIonPopoverDidDismiss:i,onIonDismiss:this.onDismiss,onIonBackdropTap:this.onBackdropTap},r("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop}),r("div",{tabindex:"0"}),r("div",{class:"popover-wrapper ion-overlay-wrapper"},r("div",{class:"popover-arrow"}),r("div",{class:"popover-content"})),r("div",{tabindex:"0"}))}get el(){return e(this)}},k={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};y.style={ios:'.sc-ion-popover-ios-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-ios-h{display:none}.popover-wrapper.sc-ion-popover-ios{opacity:0;z-index:10}.popover-content.sc-ion-popover-ios{display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-ios{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-ios-h{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}.popover-content.sc-ion-popover-ios{border-radius:10px}.popover-arrow.sc-ion-popover-ios{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow.sc-ion-popover-ios::after{left:3px;top:3px;border-radius:3px;position:absolute;width:14px;height:14px;transform:rotate(45deg);background:var(--background);content:"";z-index:10}[dir=rtl].sc-ion-popover-ios .popover-arrow.sc-ion-popover-ios::after,[dir=rtl].sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after,[dir=rtl] .sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{left:unset;right:unset;right:3px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios{top:auto;bottom:-10px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{top:-6px}@supports (backdrop-filter: blur(0)){.popover-translucent.sc-ion-popover-ios-h .popover-content.sc-ion-popover-ios,.popover-translucent.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}}',md:".sc-ion-popover-md-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-md-h{display:none}.popover-wrapper.sc-ion-popover-md{opacity:0;z-index:10}.popover-content.sc-ion-popover-md{display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-md{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-md-h{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content.sc-ion-popover-md{border-radius:4px;transform-origin:left top}[dir=rtl].sc-ion-popover-md .popover-content.sc-ion-popover-md,[dir=rtl].sc-ion-popover-md-h .popover-content.sc-ion-popover-md,[dir=rtl] .sc-ion-popover-md-h .popover-content.sc-ion-popover-md{transform-origin:right top}.popover-viewport.sc-ion-popover-md{transition-delay:100ms}"};export{y as ion_popover}
@@ -1 +0,0 @@
1
- const e=(e,t=[])=>{const n={};return t.forEach((t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))})),n},t=(e,t,n,r)=>{if("undefined"!=typeof window){const i=window,a=i&&i.Ionic&&i.Ionic.config;if(a){const i=a.get("_ael");if(i)return i(e,t,n,r);if(a._ael)return a._ael(e,t,n,r)}}return e.addEventListener(t,n,r)},n=(e,t,n,r)=>{if("undefined"!=typeof window){const i=window,a=i&&i.Ionic&&i.Ionic.config;if(a){const i=a.get("_rel");if(i)return i(e,t,n,r);if(a._rel)return a._rel(e,t,n,r)}}return e.removeEventListener(t,n,r)},r=(e,t=e)=>e.shadowRoot||t,i=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),a=e=>!!e.shadowRoot&&!!e.attachShadow,o=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},s=(e,t)=>{let n;const r=e.getAttribute("aria-labelledby"),i=e.id;let a=null!==r&&""!==r.trim()?r:t+"-lbl",s=null!==r&&""!==r.trim()?document.querySelector("#"+r):o(e);return s?(null===r&&(s.id=a),n=s.textContent,s.setAttribute("aria-hidden","true")):""!==i.trim()&&(s=document.querySelector(`label[for=${i}]`),s&&(s.id=a=i+"-lbl",n=s.textContent)),{label:s,labelId:a,labelText:n}},u=(e,t,n,r,i)=>{if(e||a(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=i,e.name=n,e.value=r||""}},l=(e,t,n)=>Math.max(e,Math.min(t,n)),d=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},f=e=>e.timeStamp||Date.now(),c=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},m=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},w=(e,t)=>{const n=e._original||e;return{_original:e,emit:_(n.emit.bind(n),t)}},_=(e,t=0)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(e,t,...r)}};export{t as a,s as b,u as c,w as d,i as e,o as f,r as g,a as h,e as i,l as j,m as k,d as l,_ as m,f as n,c as p,n as r}
@@ -1 +0,0 @@
1
- import{r as t,e as i,w as s,h as o,H as e,d as n}from"./p-d63406d8.js";import{c as a,g as r}from"./p-770128c8.js";import{p as h}from"./p-f8063d7b.js";import{c as l,h as c}from"./p-7840618d.js";const d=class{constructor(s){t(this,s),this.ionChange=i(this,"ionChange",7),this.ionSelect=i(this,"ionSelect",7),this.ionStyle=i(this,"ionStyle",7),this.didInit=!1,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.onClick=t=>{const i=t.target,s=this.checked;"ION-SEGMENT"!==i.tagName&&(this.value=i.value,!this.scrollable&&this.swipeGesture||(s?this.checkButton(s,i):this.setCheckedClasses()),this.checked=i)}}colorChanged(t,i){(void 0===i&&void 0!==t||void 0!==i&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t,i){this.ionSelect.emit({value:t}),(""!==i||this.didInit)&&(this.activated?this.valueAfterGesture=t:this.ionChange.emit({value:t}))}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const i of t)i.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.setCheckedClasses(),this.gesture=(await import("./p-101feae9.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.didInit=!0}onStart(t){this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1);const i=this.setNextIndex(t,!0);t.event.stopImmediatePropagation(),i&&this.addRipple(t);const s=this.valueAfterGesture;void 0!==s&&(this.ionChange.emit({value:s}),this.valueAfterGesture=void 0)}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}addRipple(t){if(!a.getBoolean("animated",!0)||!a.getBoolean("rippleEffect",!0))return;const i=this.getButtons().find((t=>t.value===this.value)),s=(i.shadowRoot||i).querySelector("ion-ripple-effect");if(!s)return;const{x:o,y:e}=h(t.event);s.addRipple(o,e).then((t=>t()))}setActivated(t){this.getButtons().forEach((i=>{t?i.classList.add("segment-button-activated"):i.classList.remove("segment-button-activated")})),this.activated=t}activate(t){const i=t.event.target,s=this.getButtons().find((t=>t.value===this.value));"ION-SEGMENT-BUTTON"===i.tagName&&(s||(this.value=i.value,this.setCheckedClasses()),this.value===i.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,i){const o=this.getIndicator(t),e=this.getIndicator(i);if(null===o||null===e)return;const n=o.getBoundingClientRect(),a=e.getBoundingClientRect(),r=`translate3d(${n.left-a.left}px, 0, 0) scaleX(${n.width/a.width})`;s((()=>{e.classList.remove("segment-button-indicator-animated"),e.style.setProperty("transform",r),e.getBoundingClientRect(),e.classList.add("segment-button-indicator-animated"),e.style.setProperty("transform","")})),this.value=i.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),i=t.findIndex((t=>t.value===this.value))+1;this.checked=t.find((t=>t.value===this.value));for(const i of t)i.classList.remove("segment-button-after-checked");i<t.length&&t[i].classList.add("segment-button-after-checked")}setNextIndex(t,i=!1){const s="rtl"===document.dir,o=this.activated,e=this.getButtons(),n=e.findIndex((t=>t.value===this.value)),a=e[n];let r,h;if(-1===n)return;const l=a.getBoundingClientRect(),c=l.left,d=l.width,g=t.currentX,u=document.elementFromPoint(g,l.top+l.height/2);if(o&&!i){if(s?g>c+d:g<c){const t=n-1;t>=0&&(h=t)}else if((s?g<c:g>c+d)&&o&&!i){const t=n+1;t<e.length&&(h=t)}void 0===h||e[h].disabled||(r=e[h])}if(!o&&i&&(r=u),null!=r){if("ION-SEGMENT"===r.tagName)return!1;a!==r&&this.checkButton(a,r)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}render(){const t=r(this);return o(e,{onClick:this.onClick,class:l(this.color,{[t]:!0,"in-toolbar":c("ion-toolbar",this.el),"in-toolbar-color":c("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},o("slot",null))}get el(){return n(this)}static get watchers(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}};d.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:auto}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-toolbar){margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};export{d as ion_segment}
@@ -1 +0,0 @@
1
- import{r as t,e as o,d as n}from"./p-d63406d8.js";import{m as r}from"./p-f8063d7b.js";const e=t=>"/"+t.filter((t=>t.length>0)).join("/"),s=t=>{if(null==t)return[""];const o=t.split("?")[0].split("/").map((t=>t.trim())).filter((t=>t.length>0));return 0===o.length?[""]:o},i=async(t,o,n,r,e=!1,s)=>{try{const a=c(t);if(r>=o.length||!a)return e;await a.componentOnReady();const u=o[r],h=await a.setRouteId(u.id,u.params,n,s);return h.changed&&(n="root",e=!0),e=await i(h.element,o,n,r+1,e,s),h.markVisible&&await h.markVisible(),e}catch(t){return console.error(t),!1}},a=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",c=t=>{if(!t)return;if(t.matches(a))return t;return t.querySelector(a)||void 0},u=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:r}=o;if(void 0===r)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const r=n[o];if("*"===r)return!0;if(r!==t[o])return!1}return n.length===t.length})(t,o))),h=(t,o)=>{const n=Math.min(t.length,o.length);let r=0;for(;r<n&&t[r].toLowerCase()===o[r].id;r++);return r},l=(t,o)=>{const n=new p(t);let r,e=!1;for(let t=0;t<o.length;t++){const s=o[t].path;if(""===s[0])e=!0;else{for(const o of s){const e=n.next();if(":"===o[0]){if(""===e)return null;r=r||[],(r[t]||(r[t]={}))[o.slice(1)]=e}else if(e!==o)return null}e=!1}}return e&&e!==(""===n.next())?null:r?o.map(((t,o)=>({id:t.id,path:t.path,params:f(t.params,r[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},f=(t,o)=>!t&&o?o:t&&!o?t:t&&o?Object.assign(Object.assign({},t),o):void 0,d=(t,o)=>{let n=null,r=0;for(const e of o){const o=l(t,e);if(null!==o){const t=w(o);t>r&&(r=t,n=o)}}return n},w=t=>{let o=1,n=1;for(const r of t)for(const t of r.path)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class p{constructor(t){this.path=t.slice()}next(){return this.path.length>0?this.path.shift():""}}const m=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=R(t,"to");return{from:s(R(t,"from")),to:null==o?void 0:s(o)}})),y=t=>g(b(t)),b=(t,o=t)=>Array.from(o.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((o=>{const n=R(o,"component");if(null==n)throw new Error("component missing in ion-route");return{path:s(R(o,"url")),id:n.toLowerCase(),params:o.componentProps,beforeLeave:o.beforeLeave,beforeEnter:o.beforeEnter,children:b(t,o)}})),R=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,g=t=>{const o=[];for(const n of t)v([],o,n);return o},v=(t,o,n)=>{const r=t.slice();if(r.push({id:n.id,path:n.path,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}),0!==n.children.length)for(const t of n.children)v(r,o,t);else o.push(r)},E=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){console.debug("[ion-router] router will load"),await(c(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",t,{once:!0})}))),console.debug("[ion-router] found nav"),await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",r(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",r(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getPath();const n=await this.runGuards(o);return!0!==n?("object"==typeof n&&(o=s(n.redirect)),!1):(console.debug("[ion-router] URL changed -> update nav",o,t),this.writeNavStateRoot(o,t))}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){t.startsWith(".")&&(t=new URL(t,window.location.href).pathname),console.debug("[ion-router] URL pushed -> updating nav",t,o);let r=s(t),e=t.split("?")[1];const i=await this.runGuards(r);if(!0!==i){if("object"!=typeof i)return!1;r=s(i.redirect),e=i.redirect.split("?")[1]}return this.setPath(r,o,e),this.writeNavStateRoot(r,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){console.debug("CURRENT PATH",this.getPath()),console.debug("PREVIOUS PATH",this.previousPath),(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.path)));const n=o.map((t=>t.id));console.debug("%c "+e(t),"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(y(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ","$c "+e(o.from),"font-weight: bold"," TO: ","$c "+e(o.to),"font-weight: bold");console.groupEnd()})(m(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=c(n),o;){const r=await o.getRouteId();if(!r)break;n=r.element,r.element=void 0,t.push(r)}return{ids:t,outlet:o}})(),r=((t,o)=>{let n=null,r=0;const e=t.map((t=>t.id));for(const t of o){const o=h(e,t);o>r&&(n=t,r=o)}return n?n.map(((o,n)=>({id:o.id,path:o.path,params:f(o.params,t[n]&&t[n].params)}))):null})(o,y(this.el));if(!r)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const e=(t=>{const o=[];for(const n of t)for(const t of n.path)if(":"===t[0]){const r=n.params&&n.params[t.slice(1)];if(!r)return null;o.push(r)}else""!==t&&o.push(t);return o})(r);return e?(console.debug("[ion-router] nav changed -> update URL",o,e),this.setPath(e,t),await this.safeWriteNavState(n,r,"root",e,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getPath();t&&u(t,m(this.el))&&this.writeNavStateRoot(t,"root")}onRoutesChanged(){return this.writeNavStateRoot(this.getPath(),"root")}historyDirection(){const t=window;null===t.history.state&&(this.state++,t.history.replaceState(this.state,t.document.title,t.document.location&&t.document.location.href));const o=t.history.state,n=this.lastState;return this.lastState=o,o>n||o>=n&&n>0?"forward":o<n?"back":"root"}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const r=m(this.el),e=u(t,r);let s=null;e&&(this.setPath(e.to,o),s=e.from,t=e.to);const i=y(this.el),a=d(t,i);return a?this.safeWriteNavState(document.body,a,o,t,s,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,r,e,s=0,i){const a=await this.lock();let c=!1;try{c=await this.writeNavState(t,o,n,r,e,s,i)}catch(t){console.error(t)}return a(),c}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getPath(),o=s(this.previousPath)){if(!t||!o)return!0;const n=y(this.el),r=d(t,n),e=d(o,n),i=r&&r[r.length-1].beforeEnter,a=e&&e[e.length-1].beforeLeave,c=!a||await a();if(!1===c||"object"==typeof c)return c;const u=!i||await i();return!1!==u&&"object"!=typeof u||u}async writeNavState(t,o,n,r,e,s=0,a){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(r,e);c&&this.ionRouteWillChange.emit(c);const u=await i(t,o,n,s,!1,a);return this.busy=!1,u&&console.debug("[ion-router] route changed",r),c&&this.ionRouteDidChange.emit(c),u}setPath(t,o,n){this.state++,((t,o,n,r,i,a,c)=>{let u=e([...s(this.root),...r]);n&&(u="#"+u),void 0!==c&&(u=u+"?"+c),"forward"===i?t.pushState(a,"",u):t.replaceState(a,"",u)})(window.history,0,this.useHash,t,o,this.state,n)}getPath(){return((t,o)=>{let n=t.pathname;if(this.useHash){const o=t.hash;n="#"===o[0]?o.slice(1):""}return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n].length>0&&t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(s(o),s(n))})(window.location,this.root)}routeChangeEvent(t,o){const n=this.previousPath,r=e(t);return this.previousPath=r,r===n?null:{from:n,redirectedFrom:o?e(o):null,to:r}}get el(){return n(this)}};export{E as ion_router}