voyager-ionic-core 7.2.3-tweak.1 → 7.4.3

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 (1182) hide show
  1. package/components/action-sheet.js +12 -17
  2. package/components/alert.js +17 -20
  3. package/components/button-active.js +1 -1
  4. package/components/button.js +18 -0
  5. package/components/checkbox.js +15 -7
  6. package/components/data.js +47 -9
  7. package/components/framework-delegate.js +21 -2
  8. package/components/icon.js +6 -0
  9. package/components/index.d.ts +6 -0
  10. package/components/index.js +3 -3
  11. package/components/index2.js +203 -429
  12. package/components/index3.js +429 -203
  13. package/components/input-shims.js +88 -7
  14. package/components/ion-accordion-group.js +5 -1
  15. package/components/ion-accordion.js +2 -0
  16. package/components/ion-breadcrumbs.js +5 -1
  17. package/components/ion-content.js +51 -5
  18. package/components/ion-datetime-button.js +3 -0
  19. package/components/ion-datetime.js +142 -92
  20. package/components/ion-fab-list.js +3 -1
  21. package/components/ion-fab.js +3 -1
  22. package/components/ion-header.js +1 -1
  23. package/components/ion-img.js +2 -0
  24. package/components/ion-infinite-scroll.js +3 -0
  25. package/components/ion-input.js +6 -1
  26. package/components/ion-item-sliding.js +3 -1
  27. package/components/ion-loading.js +11 -16
  28. package/components/ion-menu.js +25 -7
  29. package/components/ion-modal.js +46 -42
  30. package/components/ion-nav.js +5 -2
  31. package/components/ion-picker.js +11 -16
  32. package/components/ion-range.js +41 -6
  33. package/components/ion-refresher.js +5 -3
  34. package/components/ion-reorder-group.js +3 -1
  35. package/components/ion-route-redirect.js +3 -0
  36. package/components/ion-route.js +4 -0
  37. package/components/ion-router-outlet.js +8 -13
  38. package/components/ion-searchbar.js +4 -0
  39. package/components/ion-segment-button.js +2 -0
  40. package/components/ion-segment.js +42 -25
  41. package/components/ion-select.js +5 -0
  42. package/components/ion-split-pane.js +4 -0
  43. package/components/ion-tab-bar.js +6 -0
  44. package/components/ion-tab.js +2 -0
  45. package/components/ion-textarea.js +8 -4
  46. package/components/ion-title.js +3 -1
  47. package/components/ion-toast.js +15 -17
  48. package/components/ion-toggle.js +9 -4
  49. package/components/ion-toolbar.js +2 -2
  50. package/components/ios.transition.js +1 -1
  51. package/components/item.js +48 -10
  52. package/components/label.js +5 -2
  53. package/components/lock-controller.js +38 -0
  54. package/components/md.transition.js +1 -1
  55. package/components/notch-controller.js +1 -1
  56. package/components/overlays.js +30 -10
  57. package/components/picker-column-internal.js +2 -0
  58. package/components/picker-column.js +3 -1
  59. package/components/popover.js +20 -30
  60. package/components/radio-group.js +3 -1
  61. package/components/radio.js +11 -3
  62. package/components/swipe-back.js +1 -1
  63. package/css/core.css +0 -1
  64. package/css/core.css.map +1 -1
  65. package/css/ionic.bundle.css +1 -1
  66. package/css/ionic.bundle.css.map +1 -1
  67. package/dist/cjs/{animation-c68ec4cb.js → animation-2bb33618.js} +2 -2
  68. package/dist/cjs/{app-globals-3ba8ddad.js → app-globals-84b6a756.js} +1 -1
  69. package/dist/cjs/{button-active-7578c6c2.js → button-active-c358e83c.js} +3 -3
  70. package/dist/cjs/{capacitor-a77e977e.js → capacitor-2ffba62a.js} +1 -1
  71. package/dist/cjs/{data-3a7f5c1a.js → data-db832785.js} +48 -10
  72. package/dist/cjs/{form-controller-d42b8c05.js → form-controller-5e223b54.js} +1 -1
  73. package/dist/cjs/{framework-delegate-d2bbe945.js → framework-delegate-c0873a6f.js} +22 -3
  74. package/dist/cjs/{haptic-89b33156.js → haptic-c5f6b4d5.js} +1 -1
  75. package/dist/cjs/{index-def9efb5.js → index-0ee995e4.js} +1 -1
  76. package/dist/cjs/{index-dc56ac38.js → index-10873539.js} +2 -2
  77. package/dist/cjs/{index-b358eb23.js → index-14a4821e.js} +188 -45
  78. package/dist/cjs/{index-1901dd17.js → index-97a3eade.js} +4 -4
  79. package/dist/cjs/{index-404c1016.js → index-9f379eaa.js} +2 -2
  80. package/dist/cjs/{index-4e642409.js → index-acf6bdf0.js} +4 -4
  81. package/dist/cjs/index.cjs.js +24 -23
  82. package/dist/cjs/{input-shims-9b42b3fe.js → input-shims-da7dc0de.js} +96 -16
  83. package/dist/cjs/{input.utils-7e077818.js → input.utils-0fe3097c.js} +3 -3
  84. package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -5
  85. package/dist/cjs/ion-action-sheet.cjs.entry.js +24 -32
  86. package/dist/cjs/ion-alert.cjs.entry.js +27 -35
  87. package/dist/cjs/ion-app_8.cjs.entry.js +79 -40
  88. package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
  89. package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
  90. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  91. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +5 -5
  92. package/dist/cjs/ion-button_2.cjs.entry.js +21 -5
  93. package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
  94. package/dist/cjs/ion-checkbox.cjs.entry.js +17 -13
  95. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -6
  98. package/dist/cjs/ion-datetime_3.cjs.entry.js +156 -125
  99. package/dist/cjs/ion-fab_3.cjs.entry.js +7 -7
  100. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  101. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +6 -6
  102. package/dist/cjs/ion-input.cjs.entry.js +11 -11
  103. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  104. package/dist/cjs/ion-item_8.cjs.entry.js +43 -16
  105. package/dist/cjs/ion-loading.cjs.entry.js +19 -27
  106. package/dist/cjs/ion-menu_3.cjs.entry.js +32 -19
  107. package/dist/cjs/ion-modal.cjs.entry.js +59 -58
  108. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  109. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +7 -7
  110. package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-popover.cjs.entry.js +26 -40
  112. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  113. package/dist/cjs/ion-radio_2.cjs.entry.js +11 -9
  114. package/dist/cjs/ion-range.cjs.entry.js +42 -14
  115. package/dist/cjs/ion-refresher_2.cjs.entry.js +16 -16
  116. package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -10
  117. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  118. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  119. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  120. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -29
  121. package/dist/cjs/ion-select_3.cjs.entry.js +14 -14
  122. package/dist/cjs/ion-spinner.cjs.entry.js +4 -4
  123. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  124. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +12 -8
  125. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  126. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  127. package/dist/cjs/ion-textarea.cjs.entry.js +12 -12
  128. package/dist/cjs/ion-toast.cjs.entry.js +23 -28
  129. package/dist/cjs/ion-toggle.cjs.entry.js +17 -15
  130. package/dist/cjs/{ionic-global-5e671da5.js → ionic-global-a71608df.js} +1 -1
  131. package/dist/cjs/ionic.cjs.js +5 -8
  132. package/dist/cjs/{ios.transition-0b0d2e7f.js → ios.transition-e31445c2.js} +5 -5
  133. package/dist/cjs/{keyboard-2eabd73b.js → keyboard-38f2bb7b.js} +3 -3
  134. package/dist/cjs/{keyboard-controller-4aa8c1d6.js → keyboard-controller-50beb83a.js} +2 -2
  135. package/dist/cjs/{keyboard-f35d0b9d.js → keyboard-fd7db491.js} +1 -1
  136. package/dist/cjs/loader.cjs.js +5 -14
  137. package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
  138. package/dist/cjs/{md.transition-481e9b5f.js → md.transition-fb13ac79.js} +5 -5
  139. package/dist/cjs/{notch-controller-159c65d4.js → notch-controller-f4f6af5d.js} +3 -3
  140. package/dist/cjs/{overlays-d17b3668.js → overlays-efc9d511.js} +36 -16
  141. package/dist/cjs/{status-tap-6061aa3f.js → status-tap-8c22e017.js} +4 -4
  142. package/dist/cjs/{swipe-back-7e99fa89.js → swipe-back-d97c74d1.js} +4 -4
  143. package/dist/collection/collection-manifest.json +94 -94
  144. package/dist/collection/components/accordion/accordion.js +4 -4
  145. package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +1 -1
  146. package/dist/collection/components/accordion/test/accordion.e2e.js +1 -1
  147. package/dist/collection/components/accordion/test/basic/accordion.e2e.js +1 -1
  148. package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +1 -1
  149. package/dist/collection/components/accordion/test/nested/accordion.e2e.js +1 -1
  150. package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +2 -2
  151. package/dist/collection/components/accordion-group/accordion-group.js +12 -7
  152. package/dist/collection/components/action-sheet/action-sheet.js +47 -39
  153. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +19 -4
  154. package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +1 -1
  155. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +2 -2
  156. package/dist/collection/components/action-sheet/test/basic/fixture.js +1 -1
  157. package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +1 -1
  158. package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +1 -1
  159. package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +1 -1
  160. package/dist/collection/components/alert/alert.ios.css +3 -8
  161. package/dist/collection/components/alert/alert.js +52 -42
  162. package/dist/collection/components/alert/alert.md.css +3 -9
  163. package/dist/collection/components/alert/test/a11y/alert.e2e.js +11 -2
  164. package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
  165. package/dist/collection/components/alert/test/is-open/alert.e2e.js +1 -1
  166. package/dist/collection/components/alert/test/standalone/alert.e2e.js +1 -1
  167. package/dist/collection/components/alert/test/trigger/alert.e2e.js +1 -1
  168. package/dist/collection/components/app/app.js +7 -5
  169. package/dist/collection/components/app/test/safe-area/app.e2e.js +1 -1
  170. package/dist/collection/components/avatar/avatar.js +2 -2
  171. package/dist/collection/components/avatar/test/basic/avatar.e2e.js +1 -1
  172. package/dist/collection/components/back-button/back-button.js +8 -6
  173. package/dist/collection/components/back-button/test/basic/back-button.e2e.js +1 -1
  174. package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +1 -1
  175. package/dist/collection/components/backdrop/backdrop.js +2 -2
  176. package/dist/collection/components/badge/badge.js +4 -3
  177. package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
  178. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -7
  179. package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -4
  180. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +2 -2
  181. package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +1 -1
  182. package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +1 -1
  183. package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +1 -1
  184. package/dist/collection/components/button/button.js +26 -6
  185. package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
  186. package/dist/collection/components/button/test/clear/button.e2e.js +1 -1
  187. package/dist/collection/components/button/test/expand/button.e2e.js +1 -1
  188. package/dist/collection/components/button/test/form-reference/button.e2e.js +1 -1
  189. package/dist/collection/components/button/test/icon/button.e2e.js +1 -1
  190. package/dist/collection/components/button/test/outline/button.e2e.js +1 -1
  191. package/dist/collection/components/button/test/round/button.e2e.js +1 -1
  192. package/dist/collection/components/button/test/size/button.e2e.js +1 -1
  193. package/dist/collection/components/button/test/strong/button.e2e.js +1 -1
  194. package/dist/collection/components/button/test/wrap/button.e2e.js +1 -1
  195. package/dist/collection/components/buttons/buttons.js +2 -2
  196. package/dist/collection/components/card/card.js +8 -5
  197. package/dist/collection/components/card/test/basic/card.e2e.js +1 -1
  198. package/dist/collection/components/card-content/card-content.js +2 -2
  199. package/dist/collection/components/card-header/card-header.js +4 -3
  200. package/dist/collection/components/card-header/test/basic/card-header.e2e.js +1 -1
  201. package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
  202. package/dist/collection/components/card-title/card-title.js +4 -3
  203. package/dist/collection/components/checkbox/checkbox.ios.css +67 -0
  204. package/dist/collection/components/checkbox/checkbox.js +38 -13
  205. package/dist/collection/components/checkbox/checkbox.md.css +67 -0
  206. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +2 -2
  207. package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +18 -1
  208. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +3 -3
  209. package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +1 -1
  210. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +18 -5
  211. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +38 -11
  212. package/dist/collection/components/checkbox/test/legacy/basic/checkbox.e2e.js +19 -2
  213. package/dist/collection/components/checkbox/test/legacy/indeterminate/checkbox.e2e.js +2 -2
  214. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +5 -5
  215. package/dist/collection/components/chip/chip.js +4 -3
  216. package/dist/collection/components/chip/test/basic/chip.e2e.js +1 -1
  217. package/dist/collection/components/chip/test/states/chip.e2e.js +1 -1
  218. package/dist/collection/components/col/col.js +2 -2
  219. package/dist/collection/components/content/content.js +76 -24
  220. package/dist/collection/components/content/test/basic/content.e2e.js +1 -1
  221. package/dist/collection/components/content/test/fixed/content.e2e.js +1 -1
  222. package/dist/collection/components/content/test/fullscreen/content.e2e.js +1 -1
  223. package/dist/collection/components/content/test/standalone/content.e2e.js +1 -1
  224. package/dist/collection/components/datetime/datetime.ios.css +32 -29
  225. package/dist/collection/components/datetime/datetime.js +169 -114
  226. package/dist/collection/components/datetime/datetime.md.css +20 -28
  227. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +26 -1
  228. package/dist/collection/components/datetime/test/color/datetime.e2e.js +2 -2
  229. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +28 -9
  230. package/dist/collection/components/datetime/test/datetime.e2e.js +1 -1
  231. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +1 -1
  232. package/dist/collection/components/datetime/test/display/datetime.e2e.js +1 -1
  233. package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +1 -1
  234. package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +1 -1
  235. package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +1 -1
  236. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +1 -1
  237. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +1 -1
  238. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
  239. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +1 -1
  240. package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
  241. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +16 -1
  242. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +49 -18
  243. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +10 -13
  244. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +1 -1
  245. package/dist/collection/components/datetime/test/values/datetime.e2e.js +1 -1
  246. package/dist/collection/components/datetime/utils/data.js +18 -10
  247. package/dist/collection/components/datetime/utils/format.js +1 -1
  248. package/dist/collection/components/datetime/utils/manipulation.js +3 -3
  249. package/dist/collection/components/datetime/utils/parse.js +36 -5
  250. package/dist/collection/components/datetime/utils/state.js +3 -3
  251. package/dist/collection/components/datetime-button/datetime-button.js +11 -7
  252. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +1 -1
  253. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +1 -1
  254. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +1 -1
  255. package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +1 -1
  256. package/dist/collection/components/fab/fab.css +88 -28
  257. package/dist/collection/components/fab/fab.js +6 -4
  258. package/dist/collection/components/fab/test/basic/fab.e2e.js +1 -1
  259. package/dist/collection/components/fab/test/custom-size/fab.e2e.js +17 -0
  260. package/dist/collection/components/fab/test/states/fab.e2e.js +1 -1
  261. package/dist/collection/components/fab/test/translucent/fab.e2e.js +1 -1
  262. package/dist/collection/components/fab-button/fab-button.js +9 -6
  263. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
  264. package/dist/collection/components/fab-list/fab-list.css +17 -10
  265. package/dist/collection/components/fab-list/fab-list.js +2 -2
  266. package/dist/collection/components/footer/footer.js +3 -3
  267. package/dist/collection/components/footer/footer.utils.js +1 -1
  268. package/dist/collection/components/footer/test/basic/footer.e2e.js +1 -1
  269. package/dist/collection/components/footer/test/fade/footer.e2e.js +1 -1
  270. package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +1 -1
  271. package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +1 -1
  272. package/dist/collection/components/grid/grid.js +2 -2
  273. package/dist/collection/components/grid/test/basic/grid.e2e.js +1 -1
  274. package/dist/collection/components/grid/test/offsets/grid.e2e.js +1 -1
  275. package/dist/collection/components/grid/test/padding/grid.e2e.js +1 -1
  276. package/dist/collection/components/grid/test/sizes/grid.e2e.js +1 -1
  277. package/dist/collection/components/header/header.ios.css +26 -1
  278. package/dist/collection/components/header/header.js +3 -3
  279. package/dist/collection/components/header/header.utils.js +1 -1
  280. package/dist/collection/components/header/test/a11y/header.e2e.js +2 -2
  281. package/dist/collection/components/header/test/basic/header.e2e.js +1 -1
  282. package/dist/collection/components/header/test/condense/header.e2e.js +1 -1
  283. package/dist/collection/components/header/test/fade/header.e2e.js +1 -1
  284. package/dist/collection/components/header/test/scroll-target/header.e2e.js +1 -1
  285. package/dist/collection/components/icon/test/basic/icon.e2e.js +1 -1
  286. package/dist/collection/components/icon/test/dir/icon.e2e.js +1 -1
  287. package/dist/collection/components/img/img.js +2 -2
  288. package/dist/collection/components/img/test/basic/img.e2e.js +1 -1
  289. package/dist/collection/components/img/test/draggable/img.e2e.js +1 -1
  290. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -3
  291. package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +1 -1
  292. package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +1 -1
  293. package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +1 -1
  294. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +7 -5
  295. package/dist/collection/components/input/input.js +27 -16
  296. package/dist/collection/components/input/test/a11y/input.e2e.js +2 -2
  297. package/dist/collection/components/input/test/basic/input.e2e.js +1 -1
  298. package/dist/collection/components/input/test/bottom-content/input.e2e.js +8 -8
  299. package/dist/collection/components/input/test/card/input.e2e.js +2 -2
  300. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
  301. package/dist/collection/components/input/test/color/input.e2e.js +16 -16
  302. package/dist/collection/components/input/test/fill/input.e2e.js +11 -11
  303. package/dist/collection/components/input/test/highlight/input.e2e.js +10 -10
  304. package/dist/collection/components/input/test/input.e2e.js +1 -1
  305. package/dist/collection/components/input/test/item/input.e2e.js +3 -3
  306. package/dist/collection/components/input/test/label-placement/input.e2e.js +17 -17
  307. package/dist/collection/components/input/test/legacy/a11y/input.e2e.js +1 -1
  308. package/dist/collection/components/input/test/legacy/basic/input.e2e.js +11 -11
  309. package/dist/collection/components/input/test/legacy/clear-on-edit/input.e2e.js +1 -1
  310. package/dist/collection/components/input/test/legacy/input-events.e2e.js +1 -1
  311. package/dist/collection/components/input/test/legacy/masking/input.e2e.js +1 -1
  312. package/dist/collection/components/input/test/legacy/spec/input.e2e.js +1 -1
  313. package/dist/collection/components/input/test/states/input.e2e.js +3 -3
  314. package/dist/collection/components/item/item.ios.css +8 -4
  315. package/dist/collection/components/item/item.js +57 -14
  316. package/dist/collection/components/item/item.md.css +8 -4
  317. package/dist/collection/components/item/test/a11y/item.e2e.js +2 -2
  318. package/dist/collection/components/item/test/alignment/item.e2e.js +1 -1
  319. package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
  320. package/dist/collection/components/item/test/buttons/item.e2e.js +1 -1
  321. package/dist/collection/components/item/test/colors/item.e2e.js +1 -1
  322. package/dist/collection/components/item/test/counter/item.e2e.js +1 -1
  323. package/dist/collection/components/item/test/css-variables/item.e2e.js +1 -1
  324. package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
  325. package/dist/collection/components/item/test/dividers/item.e2e.js +1 -1
  326. package/dist/collection/components/item/test/groups/item.e2e.js +1 -1
  327. package/dist/collection/components/item/test/highlight/item.e2e.js +1 -1
  328. package/dist/collection/components/item/test/icons/item.e2e.js +1 -1
  329. package/dist/collection/components/item/test/images/item.e2e.js +1 -1
  330. package/dist/collection/components/item/test/inputs/item.e2e.js +1 -1
  331. package/dist/collection/components/item/test/legacy/alignment/item.e2e.js +1 -1
  332. package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +1 -1
  333. package/dist/collection/components/item/test/legacy/fill/item.e2e.js +1 -1
  334. package/dist/collection/components/item/test/legacy/form/item.e2e.js +1 -1
  335. package/dist/collection/components/item/test/lines/item.e2e.js +1 -1
  336. package/dist/collection/components/item/test/media/item.e2e.js +1 -1
  337. package/dist/collection/components/item/test/reorder/item.e2e.js +1 -1
  338. package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +1 -1
  339. package/dist/collection/components/item/test/states/item.e2e.js +1 -1
  340. package/dist/collection/components/item/test/text/item.e2e.js +1 -1
  341. package/dist/collection/components/item-divider/item-divider.js +4 -3
  342. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +1 -1
  343. package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +1 -1
  344. package/dist/collection/components/item-group/item-group.js +2 -2
  345. package/dist/collection/components/item-option/item-option.js +4 -3
  346. package/dist/collection/components/item-options/item-options.js +6 -4
  347. package/dist/collection/components/item-sliding/item-sliding.js +14 -8
  348. package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +1 -1
  349. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +39 -13
  350. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +22 -7
  351. package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +4 -10
  352. package/dist/collection/components/item-sliding/test/test.utils.js +9 -1
  353. package/dist/collection/components/label/label.ios.css +2 -4
  354. package/dist/collection/components/label/label.js +8 -5
  355. package/dist/collection/components/label/label.md.css +2 -4
  356. package/dist/collection/components/label/test/basic/label.e2e.js +1 -1
  357. package/dist/collection/components/label/test/color/label.e2e.js +1 -1
  358. package/dist/collection/components/label/test/headings/label.e2e.js +1 -1
  359. package/dist/collection/components/list/list.js +4 -3
  360. package/dist/collection/components/list/test/a11y/list.e2e.js +2 -2
  361. package/dist/collection/components/list/test/basic/list.e2e.js +1 -1
  362. package/dist/collection/components/list/test/inset/list.e2e.js +1 -1
  363. package/dist/collection/components/list/test/lines/list.e2e.js +1 -1
  364. package/dist/collection/components/list-header/list-header.js +4 -3
  365. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +1 -1
  366. package/dist/collection/components/loading/loading.js +49 -40
  367. package/dist/collection/components/loading/test/a11y/loading.e2e.js +2 -2
  368. package/dist/collection/components/loading/test/basic/loading.e2e.js +1 -1
  369. package/dist/collection/components/loading/test/is-open/loading.e2e.js +1 -1
  370. package/dist/collection/components/loading/test/standalone/loading.e2e.js +1 -1
  371. package/dist/collection/components/loading/test/trigger/loading.e2e.js +1 -1
  372. package/dist/collection/components/menu/menu.ios.css +102 -0
  373. package/dist/collection/components/menu/menu.js +35 -14
  374. package/dist/collection/components/menu/menu.md.css +102 -0
  375. package/dist/collection/components/menu/test/a11y/menu.e2e.js +2 -2
  376. package/dist/collection/components/menu/test/basic/menu.e2e.js +1 -1
  377. package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +1 -1
  378. package/dist/collection/components/menu/test/safe-area/menu.e2e.js +87 -0
  379. package/dist/collection/components/menu-button/menu-button.js +7 -6
  380. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +2 -2
  381. package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +23 -0
  382. package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +1 -1
  383. package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
  384. package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +1 -1
  385. package/dist/collection/components/modal/animations/ios.enter.js +2 -2
  386. package/dist/collection/components/modal/animations/ios.leave.js +2 -2
  387. package/dist/collection/components/modal/animations/md.enter.js +1 -1
  388. package/dist/collection/components/modal/animations/md.leave.js +1 -1
  389. package/dist/collection/components/modal/animations/sheet.js +1 -1
  390. package/dist/collection/components/modal/gestures/sheet.js +2 -2
  391. package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -2
  392. package/dist/collection/components/modal/modal.js +102 -76
  393. package/dist/collection/components/modal/test/a11y/modal.e2e.js +2 -2
  394. package/dist/collection/components/modal/test/basic/modal.e2e.js +1 -1
  395. package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +1 -1
  396. package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +2 -2
  397. package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +1 -1
  398. package/dist/collection/components/modal/test/card/modal-card.e2e.js +2 -2
  399. package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +6 -6
  400. package/dist/collection/components/modal/test/card-nav/modal.e2e.js +5 -6
  401. package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +2 -2
  402. package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +2 -2
  403. package/dist/collection/components/modal/test/custom/modal.e2e.js +1 -1
  404. package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +1 -1
  405. package/dist/collection/components/modal/test/dark-mode/model.e2e.js +1 -1
  406. package/dist/collection/components/modal/test/fixtures.js +1 -1
  407. package/dist/collection/components/modal/test/inline/modal.e2e.js +1 -1
  408. package/dist/collection/components/modal/test/is-open/modal.e2e.js +1 -1
  409. package/dist/collection/components/modal/test/sheet/modal.e2e.js +2 -2
  410. package/dist/collection/components/modal/test/trigger/modal.e2e.js +1 -1
  411. package/dist/collection/components/modal/utils.spec.js +1 -1
  412. package/dist/collection/components/nav/nav.css +0 -1
  413. package/dist/collection/components/nav/nav.js +129 -67
  414. package/dist/collection/components/nav/test/basic/nav.e2e.js +1 -1
  415. package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +1 -1
  416. package/dist/collection/components/nav/test/nested/nav.e2e.js +1 -1
  417. package/dist/collection/components/nav/test/routing/nav.e2e.js +1 -1
  418. package/dist/collection/components/nav-link/nav-link.js +10 -6
  419. package/dist/collection/components/note/note.js +4 -3
  420. package/dist/collection/components/note/test/basic/note.e2e.js +1 -1
  421. package/dist/collection/components/picker/picker.js +50 -39
  422. package/dist/collection/components/picker/test/basic/picker.e2e.js +1 -1
  423. package/dist/collection/components/picker/test/is-open/picker.e2e.js +1 -1
  424. package/dist/collection/components/picker/test/trigger/picker.e2e.js +1 -1
  425. package/dist/collection/components/picker-column/picker-column.js +6 -4
  426. package/dist/collection/components/picker-column/test/standalone/picker-column.e2e.js +1 -1
  427. package/dist/collection/components/picker-column/test/test.utils.js +2 -2
  428. package/dist/collection/components/picker-column-internal/picker-column-internal.js +12 -7
  429. package/dist/collection/components/picker-column-internal/test/basic/picker-column-internal.e2e.js +1 -1
  430. package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +1 -1
  431. package/dist/collection/components/picker-internal/picker-internal.js +5 -3
  432. package/dist/collection/components/picker-internal/test/a11y/picker-internal.e2e.js +2 -2
  433. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +1 -1
  434. package/dist/collection/components/picker-internal/test/keyboard-entry/picker-internal.e2e.js +1 -1
  435. package/dist/collection/components/popover/animations/ios.enter.js +1 -1
  436. package/dist/collection/components/popover/animations/md.enter.js +1 -1
  437. package/dist/collection/components/popover/popover.js +84 -67
  438. package/dist/collection/components/popover/test/adjustment/popover.e2e.js +1 -1
  439. package/dist/collection/components/popover/test/arrow/popover.e2e.js +2 -2
  440. package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
  441. package/dist/collection/components/popover/test/basic/popover.e2e.js +2 -2
  442. package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +2 -2
  443. package/dist/collection/components/popover/test/fixture.js +1 -1
  444. package/dist/collection/components/popover/test/inline/popover.e2e.js +2 -2
  445. package/dist/collection/components/popover/test/is-open/popover.e2e.js +1 -1
  446. package/dist/collection/components/popover/test/nested/popover.e2e.js +1 -1
  447. package/dist/collection/components/popover/test/position/popover.e2e.js +2 -2
  448. package/dist/collection/components/popover/test/reference/popover.e2e.js +1 -1
  449. package/dist/collection/components/popover/test/size/popover.e2e.js +2 -2
  450. package/dist/collection/components/popover/test/standalone/popover.e2e.js +1 -1
  451. package/dist/collection/components/popover/test/test.utils.js +1 -1
  452. package/dist/collection/components/popover/test/trigger/popover.e2e.js +2 -2
  453. package/dist/collection/components/progress-bar/progress-bar.js +5 -4
  454. package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +1 -1
  455. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
  456. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
  457. package/dist/collection/components/radio/radio.ios.css +67 -0
  458. package/dist/collection/components/radio/radio.js +34 -10
  459. package/dist/collection/components/radio/radio.md.css +67 -0
  460. package/dist/collection/components/radio/test/a11y/radio.e2e.js +2 -2
  461. package/dist/collection/components/radio/test/color/radio.e2e.js +3 -3
  462. package/dist/collection/components/radio/test/item/radio.e2e.js +42 -4
  463. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +41 -10
  464. package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +5 -3
  465. package/dist/collection/components/radio/test/legacy/basic/radio.e2e.js +1 -1
  466. package/dist/collection/components/radio/test/states/radio.e2e.js +5 -5
  467. package/dist/collection/components/radio-group/radio-group.js +6 -4
  468. package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +2 -2
  469. package/dist/collection/components/radio-group/test/fixtures.js +1 -1
  470. package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +1 -1
  471. package/dist/collection/components/radio-group/test/legacy/basic/radio-group.e2e.js +1 -1
  472. package/dist/collection/components/radio-group/test/legacy/form/radio-group.e2e.js +1 -1
  473. package/dist/collection/components/radio-group/test/legacy/search/radio-group.e2e.js +1 -1
  474. package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +1 -1
  475. package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +2 -2
  476. package/dist/collection/components/range/range.ios.css +80 -1
  477. package/dist/collection/components/range/range.js +53 -17
  478. package/dist/collection/components/range/range.md.css +80 -1
  479. package/dist/collection/components/range/test/a11y/range.e2e.js +2 -2
  480. package/dist/collection/components/range/test/active-bar-start/range.e2e.js +1 -1
  481. package/dist/collection/components/range/test/basic/range.e2e.js +1 -1
  482. package/dist/collection/components/range/test/color/range.e2e.js +2 -2
  483. package/dist/collection/components/range/test/custom/range.e2e.js +2 -2
  484. package/dist/collection/components/range/test/item/range.e2e.js +30 -4
  485. package/dist/collection/components/range/test/label/range.e2e.js +72 -13
  486. package/dist/collection/components/range/test/legacy/a11y/range.e2e.js +4 -4
  487. package/dist/collection/components/range/test/legacy/active-bar-start/range.e2e.js +2 -2
  488. package/dist/collection/components/range/test/legacy/basic/range.e2e.js +3 -8
  489. package/dist/collection/components/range/test/legacy/range-events.e2e.js +1 -1
  490. package/dist/collection/components/range/test/legacy/scroll-target/range.e2e.js +1 -1
  491. package/dist/collection/components/range/test/range-events.e2e.js +17 -18
  492. package/dist/collection/components/range/test/scroll-target/range.e2e.js +1 -1
  493. package/dist/collection/components/range/test/states/range.e2e.js +5 -5
  494. package/dist/collection/components/refresher/refresher.js +11 -7
  495. package/dist/collection/components/refresher/refresher.utils.js +1 -1
  496. package/dist/collection/components/refresher/test/basic/refresher.e2e.js +3 -4
  497. package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +5 -6
  498. package/dist/collection/components/refresher/test/test.utils.js +4 -1
  499. package/dist/collection/components/refresher-content/refresher-content.js +13 -9
  500. package/dist/collection/components/reorder/reorder.js +3 -3
  501. package/dist/collection/components/reorder-group/reorder-group.js +6 -4
  502. package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +1 -1
  503. package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +3 -5
  504. package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +3 -5
  505. package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +3 -5
  506. package/dist/collection/components/ripple-effect/ripple-effect.js +4 -3
  507. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +1 -1
  508. package/dist/collection/components/route/route.js +4 -2
  509. package/dist/collection/components/router/router.js +26 -16
  510. package/dist/collection/components/router/test/basic/router.e2e.js +1 -1
  511. package/dist/collection/components/router/test/guards/href/router.e2e.js +2 -2
  512. package/dist/collection/components/router/test/guards/link/router.e2e.js +2 -2
  513. package/dist/collection/components/router/test/guards/push/router.e2e.js +2 -2
  514. package/dist/collection/components/router/test/guards/router.e2e.js +1 -1
  515. package/dist/collection/components/router/utils/debug.js +1 -1
  516. package/dist/collection/components/router/utils/dom.js +1 -1
  517. package/dist/collection/components/router/utils/parser.js +1 -1
  518. package/dist/collection/components/router/utils/path.js +1 -1
  519. package/dist/collection/components/router-link/router-link.js +8 -5
  520. package/dist/collection/components/router-outlet/{route-outlet.css → router-outlet.css} +0 -1
  521. package/dist/collection/components/router-outlet/{route-outlet.js → router-outlet.js} +40 -29
  522. package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +1 -1
  523. package/dist/collection/components/row/row.js +2 -2
  524. package/dist/collection/components/searchbar/searchbar.js +20 -12
  525. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +1 -1
  526. package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +1 -1
  527. package/dist/collection/components/segment/segment.js +47 -30
  528. package/dist/collection/components/segment/test/a11y/segment.e2e.js +2 -2
  529. package/dist/collection/components/segment/test/basic/segment.e2e.js +1 -1
  530. package/dist/collection/components/segment/test/custom/segment.e2e.js +1 -1
  531. package/dist/collection/components/segment/test/icon/segment.e2e.js +1 -1
  532. package/dist/collection/components/segment/test/modes/segment.e2e.js +1 -1
  533. package/dist/collection/components/segment/test/scrollable/segment.e2e.js +41 -2
  534. package/dist/collection/components/segment/test/segment-events.e2e.js +1 -1
  535. package/dist/collection/components/segment/test/toolbar/segment.e2e.js +1 -1
  536. package/dist/collection/components/segment/test/wrap/segment.e2e.js +1 -1
  537. package/dist/collection/components/segment-button/segment-button.js +8 -5
  538. package/dist/collection/components/select/select.js +19 -11
  539. package/dist/collection/components/select/test/a11y/select.e2e.js +2 -2
  540. package/dist/collection/components/select/test/async/select.e2e.js +1 -1
  541. package/dist/collection/components/select/test/basic/select.e2e.js +22 -1
  542. package/dist/collection/components/select/test/card/select.e2e.js +2 -2
  543. package/dist/collection/components/select/test/color/select.e2e.js +4 -4
  544. package/dist/collection/components/select/test/compare-with/select.e2e.js +1 -1
  545. package/dist/collection/components/select/test/custom/select.e2e.js +1 -1
  546. package/dist/collection/components/select/test/fill/select.e2e.js +11 -11
  547. package/dist/collection/components/select/test/highlight/select.e2e.js +4 -4
  548. package/dist/collection/components/select/test/item/select.e2e.js +3 -3
  549. package/dist/collection/components/select/test/label/select.e2e.js +21 -21
  550. package/dist/collection/components/select/test/legacy/async/select.e2e.js +1 -1
  551. package/dist/collection/components/select/test/legacy/basic/select.e2e.js +1 -1
  552. package/dist/collection/components/select/test/legacy/compare-with/select.e2e.js +1 -1
  553. package/dist/collection/components/select/test/legacy/custom/custom.e2e.js +1 -1
  554. package/dist/collection/components/select/test/legacy/single-value/select.e2e.js +1 -1
  555. package/dist/collection/components/select/test/legacy/spec/select.e2e.js +1 -1
  556. package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
  557. package/dist/collection/components/select/test/popover-size/select.e2e.js +1 -1
  558. package/dist/collection/components/select/test/states/select.e2e.js +5 -5
  559. package/dist/collection/components/select/test/toggle-icon/select.e2e.js +1 -1
  560. package/dist/collection/components/select/test/wrapping/select.e2e.js +1 -1
  561. package/dist/collection/components/select-option/select-option.js +2 -2
  562. package/dist/collection/components/select-popover/select-popover.js +4 -3
  563. package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +2 -2
  564. package/dist/collection/components/select-popover/test/fixtures.js +1 -1
  565. package/dist/collection/components/skeleton-text/skeleton-text.js +3 -3
  566. package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +1 -1
  567. package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +1 -1
  568. package/dist/collection/components/spinner/spinner.js +8 -6
  569. package/dist/collection/components/spinner/test/basic/spinner.e2e.js +1 -1
  570. package/dist/collection/components/spinner/test/color/spinner.e2e.js +1 -1
  571. package/dist/collection/components/spinner/test/resize/spinner.e2e.js +1 -1
  572. package/dist/collection/components/split-pane/split-pane.js +2 -2
  573. package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +1 -1
  574. package/dist/collection/components/tab/tab.js +7 -4
  575. package/dist/collection/components/tab-bar/tab-bar.js +27 -4
  576. package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +1 -1
  577. package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +31 -1
  578. package/dist/collection/components/tab-button/tab-button.js +7 -5
  579. package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +2 -2
  580. package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +1 -1
  581. package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +1 -1
  582. package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +1 -1
  583. package/dist/collection/components/tabs/tabs.js +19 -10
  584. package/dist/collection/components/tabs/test/basic/tabs.e2e.js +1 -1
  585. package/dist/collection/components/tabs/test/placements/tabs.e2e.js +1 -1
  586. package/dist/collection/components/text/test/basic/text.e2e.js +1 -1
  587. package/dist/collection/components/text/text.js +4 -3
  588. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +2 -2
  589. package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +1 -1
  590. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +7 -7
  591. package/dist/collection/components/textarea/test/card/textarea.e2e.js +2 -2
  592. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
  593. package/dist/collection/components/textarea/test/color/textarea.e2e.js +16 -16
  594. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
  595. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +11 -11
  596. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +10 -10
  597. package/dist/collection/components/textarea/test/item/textarea.e2e.js +3 -3
  598. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +22 -22
  599. package/dist/collection/components/textarea/test/legacy/a11y/textarea.e2e.js +1 -1
  600. package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +6 -6
  601. package/dist/collection/components/textarea/test/legacy/basic/textarea.e2e.js +1 -1
  602. package/dist/collection/components/textarea/test/legacy/clear-on-edit/textarea.e2e.js +1 -1
  603. package/dist/collection/components/textarea/test/states/textarea.e2e.js +3 -3
  604. package/dist/collection/components/textarea/test/textarea-events.e2e.js +1 -1
  605. package/dist/collection/components/textarea/textarea.ios.css +16 -0
  606. package/dist/collection/components/textarea/textarea.js +23 -14
  607. package/dist/collection/components/textarea/textarea.md.css +16 -0
  608. package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +1 -1
  609. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  610. package/dist/collection/components/title/test/basic/title.e2e.js +16 -1
  611. package/dist/collection/components/title/title.ios.css +1 -1
  612. package/dist/collection/components/title/title.js +6 -4
  613. package/dist/collection/components/toast/test/a11y/toast.e2e.js +14 -6
  614. package/dist/collection/components/toast/test/basic/toast.e2e.js +1 -1
  615. package/dist/collection/components/toast/test/is-open/toast.e2e.js +1 -1
  616. package/dist/collection/components/toast/test/layout/toast.e2e.js +1 -1
  617. package/dist/collection/components/toast/test/standalone/toast.e2e.js +1 -1
  618. package/dist/collection/components/toast/test/trigger/toast.e2e.js +1 -1
  619. package/dist/collection/components/toast/toast.js +64 -46
  620. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +2 -2
  621. package/dist/collection/components/toggle/test/color/toggle.e2e.js +3 -3
  622. package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +1 -1
  623. package/dist/collection/components/toggle/test/item/toggle.e2e.js +48 -5
  624. package/dist/collection/components/toggle/test/label/toggle.e2e.js +37 -10
  625. package/dist/collection/components/toggle/test/legacy/basic/toggle.e2e.js +1 -1
  626. package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +3 -3
  627. package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +2 -2
  628. package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +1 -1
  629. package/dist/collection/components/toggle/test/states/toggle.e2e.js +4 -4
  630. package/dist/collection/components/toggle/toggle.ios.css +67 -1
  631. package/dist/collection/components/toggle/toggle.js +34 -11
  632. package/dist/collection/components/toggle/toggle.md.css +67 -1
  633. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +1 -1
  634. package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +1 -1
  635. package/dist/collection/components/toolbar/toolbar.ios.css +12 -4
  636. package/dist/collection/components/toolbar/toolbar.js +4 -3
  637. package/dist/collection/components/toolbar/toolbar.md.css +2 -4
  638. package/dist/collection/global/ionic-global.js +3 -3
  639. package/dist/collection/index.js +2 -1
  640. package/dist/collection/utils/animation/animation.js +3 -3
  641. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +3 -0
  642. package/dist/collection/utils/animation/test/display/animation.e2e.js +1 -1
  643. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +1 -1
  644. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +1 -1
  645. package/dist/collection/utils/content/content.utils.spec.js +1 -1
  646. package/dist/collection/utils/content/index.js +2 -2
  647. package/dist/collection/utils/floating-point/floating-point.spec.js +1 -1
  648. package/dist/collection/utils/forms/notch-controller.js +1 -1
  649. package/dist/collection/utils/framework-delegate.js +22 -3
  650. package/dist/collection/utils/gesture/button-active.js +3 -3
  651. package/dist/collection/utils/gesture/index.js +3 -3
  652. package/dist/collection/utils/gesture/pointer-events.js +1 -1
  653. package/dist/collection/utils/gesture/swipe-back.js +3 -3
  654. package/dist/collection/utils/helpers.spec.js +1 -1
  655. package/dist/collection/utils/input-shims/hacks/hide-caret.js +2 -2
  656. package/dist/collection/utils/input-shims/hacks/input-blurring.js +1 -1
  657. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +92 -10
  658. package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -4
  659. package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +1 -1
  660. package/dist/collection/utils/input-shims/input-shims.js +6 -6
  661. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
  662. package/dist/collection/utils/keyboard/keyboard.js +1 -1
  663. package/dist/collection/utils/lock-controller.js +36 -0
  664. package/dist/collection/utils/menu-controller/animations/base.js +1 -1
  665. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  666. package/dist/collection/utils/menu-controller/animations/push.js +3 -3
  667. package/dist/collection/utils/menu-controller/animations/reveal.js +3 -3
  668. package/dist/collection/utils/menu-controller/index.js +5 -5
  669. package/dist/collection/utils/native/haptic.js +1 -1
  670. package/dist/collection/utils/native/keyboard.js +2 -2
  671. package/dist/collection/utils/native/status-bar.js +1 -1
  672. package/dist/collection/utils/overlays.js +35 -15
  673. package/dist/collection/utils/platform.js +1 -1
  674. package/dist/collection/utils/rtl/dir.spec.js +1 -1
  675. package/dist/collection/utils/status-tap.js +3 -3
  676. package/dist/collection/utils/tap-click/index.js +1 -1
  677. package/dist/collection/utils/tap-click/test/tap-click.e2e.js +1 -1
  678. package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +1 -1
  679. package/dist/collection/utils/test/overlays/overlays.e2e.js +1 -1
  680. package/dist/collection/utils/test/playwright/drag-element.js +67 -8
  681. package/dist/collection/utils/test/playwright/matchers/index.js +3 -3
  682. package/dist/collection/utils/test/playwright/matchers/toHaveReceivedEventDetail.js +2 -2
  683. package/dist/collection/utils/test/playwright/page/utils/goto.js +3 -0
  684. package/dist/collection/utils/test/playwright/page/utils/index.js +0 -1
  685. package/dist/collection/utils/test/playwright/page/utils/locator.js +1 -1
  686. package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -0
  687. package/dist/collection/utils/test/playwright/page/utils/spy-on-event.js +1 -1
  688. package/dist/collection/utils/test/playwright/playwright-page.js +4 -5
  689. package/dist/collection/utils/test/playwright/viewports/index.js +4 -0
  690. package/dist/collection/utils/transition/index.js +3 -3
  691. package/dist/collection/utils/transition/ios.transition.js +2 -2
  692. package/dist/collection/utils/transition/md.transition.js +2 -2
  693. package/dist/docs.d.ts +361 -88
  694. package/dist/docs.json +7176 -117
  695. package/dist/esm/{animation-258fd22b.js → animation-a1d9e088.js} +2 -2
  696. package/dist/esm/{app-globals-70454efb.js → app-globals-df292a32.js} +1 -1
  697. package/dist/esm/{button-active-aef107f0.js → button-active-7180a130.js} +3 -3
  698. package/dist/esm/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
  699. package/dist/esm/{data-605c040f.js → data-009dbf15.js} +48 -10
  700. package/dist/esm/{form-controller-6cd7ebd1.js → form-controller-ed77647a.js} +1 -1
  701. package/dist/esm/{framework-delegate-6a45ed30.js → framework-delegate-aa433dea.js} +22 -3
  702. package/dist/esm/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
  703. package/dist/esm/{index-afea2bcf.js → index-32c6828b.js} +4 -4
  704. package/dist/esm/{index-6e89f340.js → index-3d6aefa2.js} +4 -4
  705. package/dist/esm/{index-7373924f.js → index-746a238e.js} +2 -2
  706. package/dist/esm/{index-36a5fd75.js → index-cb894020.js} +188 -45
  707. package/dist/esm/{index-2d0c7c77.js → index-f0cc4e14.js} +2 -2
  708. package/dist/esm/{index-422b6e83.js → index-ff313b19.js} +2 -2
  709. package/dist/esm/index.js +17 -17
  710. package/dist/esm/{input-shims-5b912f6d.js → input-shims-d78a3c77.js} +93 -13
  711. package/dist/esm/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +3 -3
  712. package/dist/esm/ion-accordion_2.entry.js +5 -5
  713. package/dist/esm/ion-action-sheet.entry.js +24 -32
  714. package/dist/esm/ion-alert.entry.js +27 -35
  715. package/dist/esm/ion-app_8.entry.js +79 -40
  716. package/dist/esm/ion-avatar_3.entry.js +3 -3
  717. package/dist/esm/ion-back-button.entry.js +5 -5
  718. package/dist/esm/ion-backdrop.entry.js +3 -3
  719. package/dist/esm/ion-breadcrumb_2.entry.js +5 -5
  720. package/dist/esm/ion-button_2.entry.js +21 -5
  721. package/dist/esm/ion-card_5.entry.js +4 -4
  722. package/dist/esm/ion-checkbox.entry.js +17 -13
  723. package/dist/esm/ion-chip.entry.js +3 -3
  724. package/dist/esm/ion-col_3.entry.js +2 -2
  725. package/dist/esm/ion-datetime-button.entry.js +9 -6
  726. package/dist/esm/ion-datetime_3.entry.js +156 -125
  727. package/dist/esm/ion-fab_3.entry.js +7 -7
  728. package/dist/esm/ion-img.entry.js +3 -3
  729. package/dist/esm/ion-infinite-scroll_2.entry.js +6 -6
  730. package/dist/esm/ion-input.entry.js +11 -11
  731. package/dist/esm/ion-item-option_3.entry.js +8 -8
  732. package/dist/esm/ion-item_8.entry.js +43 -16
  733. package/dist/esm/ion-loading.entry.js +19 -27
  734. package/dist/esm/ion-menu_3.entry.js +32 -19
  735. package/dist/esm/ion-modal.entry.js +59 -58
  736. package/dist/esm/ion-nav_2.entry.js +8 -8
  737. package/dist/esm/ion-picker-column-internal.entry.js +7 -7
  738. package/dist/esm/ion-picker-internal.entry.js +2 -2
  739. package/dist/esm/ion-popover.entry.js +26 -40
  740. package/dist/esm/ion-progress-bar.entry.js +4 -4
  741. package/dist/esm/ion-radio_2.entry.js +11 -9
  742. package/dist/esm/ion-range.entry.js +42 -14
  743. package/dist/esm/ion-refresher_2.entry.js +16 -16
  744. package/dist/esm/ion-reorder_2.entry.js +10 -10
  745. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  746. package/dist/esm/ion-route_4.entry.js +4 -4
  747. package/dist/esm/ion-searchbar.entry.js +6 -6
  748. package/dist/esm/ion-segment_2.entry.js +40 -29
  749. package/dist/esm/ion-select_3.entry.js +14 -14
  750. package/dist/esm/ion-spinner.entry.js +4 -4
  751. package/dist/esm/ion-split-pane.entry.js +2 -2
  752. package/dist/esm/ion-tab-bar_2.entry.js +12 -8
  753. package/dist/esm/ion-tab_2.entry.js +3 -3
  754. package/dist/esm/ion-text.entry.js +3 -3
  755. package/dist/esm/ion-textarea.entry.js +12 -12
  756. package/dist/esm/ion-toast.entry.js +23 -28
  757. package/dist/esm/ion-toggle.entry.js +17 -15
  758. package/dist/esm/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
  759. package/dist/esm/ionic.js +6 -9
  760. package/dist/esm/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +5 -5
  761. package/dist/esm/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
  762. package/dist/esm/{keyboard-a818f780.js → keyboard-b551279d.js} +3 -3
  763. package/dist/esm/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +2 -2
  764. package/dist/esm/loader.js +6 -15
  765. package/dist/esm/lock-controller-e8c6c051.js +38 -0
  766. package/dist/esm/{md.transition-b7d7b475.js → md.transition-caed184e.js} +5 -5
  767. package/dist/esm/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +3 -3
  768. package/dist/esm/{overlays-4801a327.js → overlays-84621c0a.js} +35 -15
  769. package/dist/esm/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +4 -4
  770. package/dist/esm/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +4 -4
  771. package/dist/esm-es5/{animation-258fd22b.js → animation-a1d9e088.js} +1 -1
  772. package/dist/esm-es5/app-globals-df292a32.js +4 -0
  773. package/dist/esm-es5/{button-active-aef107f0.js → button-active-7180a130.js} +1 -1
  774. package/dist/esm-es5/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
  775. package/dist/esm-es5/data-009dbf15.js +4 -0
  776. package/dist/esm-es5/form-controller-ed77647a.js +4 -0
  777. package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
  778. package/dist/esm-es5/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
  779. package/dist/esm-es5/{index-afea2bcf.js → index-32c6828b.js} +1 -1
  780. package/dist/esm-es5/{index-6e89f340.js → index-3d6aefa2.js} +1 -1
  781. package/dist/esm-es5/{index-7373924f.js → index-746a238e.js} +1 -1
  782. package/dist/esm-es5/index-cb894020.js +5 -0
  783. package/dist/esm-es5/{index-2d0c7c77.js → index-f0cc4e14.js} +1 -1
  784. package/dist/esm-es5/{index-422b6e83.js → index-ff313b19.js} +1 -1
  785. package/dist/esm-es5/index.js +1 -1
  786. package/dist/esm-es5/input-shims-d78a3c77.js +4 -0
  787. package/dist/esm-es5/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +1 -1
  788. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  789. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  790. package/dist/esm-es5/ion-alert.entry.js +1 -1
  791. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  792. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  793. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  794. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  795. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  796. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  797. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  798. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  799. package/dist/esm-es5/ion-chip.entry.js +1 -1
  800. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  801. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  802. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  803. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  804. package/dist/esm-es5/ion-img.entry.js +1 -1
  805. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  806. package/dist/esm-es5/ion-input.entry.js +1 -1
  807. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  808. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  809. package/dist/esm-es5/ion-loading.entry.js +1 -1
  810. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  811. package/dist/esm-es5/ion-modal.entry.js +1 -1
  812. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  813. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  814. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  815. package/dist/esm-es5/ion-popover.entry.js +1 -1
  816. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  817. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  818. package/dist/esm-es5/ion-range.entry.js +1 -1
  819. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  820. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  821. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  822. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  823. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  824. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  825. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  826. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  827. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  828. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  829. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  830. package/dist/esm-es5/ion-text.entry.js +1 -1
  831. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  832. package/dist/esm-es5/ion-toast.entry.js +1 -1
  833. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  834. package/dist/esm-es5/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
  835. package/dist/esm-es5/ionic.js +1 -1
  836. package/dist/esm-es5/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +1 -1
  837. package/dist/esm-es5/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
  838. package/dist/esm-es5/{keyboard-a818f780.js → keyboard-b551279d.js} +1 -1
  839. package/dist/esm-es5/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +1 -1
  840. package/dist/esm-es5/loader.js +1 -1
  841. package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
  842. package/dist/esm-es5/md.transition-caed184e.js +4 -0
  843. package/dist/esm-es5/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +1 -1
  844. package/dist/esm-es5/overlays-84621c0a.js +4 -0
  845. package/dist/esm-es5/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +1 -1
  846. package/dist/esm-es5/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +1 -1
  847. package/dist/html.html-data.json +139 -91
  848. package/dist/ionic/index.esm.js +1 -1
  849. package/dist/ionic/ionic.esm.js +1 -1
  850. package/dist/ionic/ionic.js +2 -6
  851. package/dist/ionic/{p-d267077c.system.entry.js → p-007168b8.system.entry.js} +1 -1
  852. package/dist/ionic/p-00cf2d6c.js +4 -0
  853. package/dist/ionic/p-018ad59f.entry.js +4 -0
  854. package/dist/ionic/p-037e2738.system.entry.js +4 -0
  855. package/dist/ionic/p-043e8328.system.js +4 -0
  856. package/dist/ionic/{p-138fcf0f.entry.js → p-0793ebfd.entry.js} +1 -1
  857. package/dist/ionic/{p-66bd7d60.entry.js → p-0e070fbe.entry.js} +1 -1
  858. package/dist/ionic/p-0e9a055c.js +4 -0
  859. package/dist/ionic/{p-e3f387af.system.js → p-14d7b7e2.system.js} +1 -1
  860. package/dist/ionic/{p-b159246b.entry.js → p-15278928.entry.js} +1 -1
  861. package/dist/ionic/p-1c59608c.system.entry.js +4 -0
  862. package/dist/ionic/p-1caf1ec6.entry.js +4 -0
  863. package/dist/ionic/p-1d2d1ab5.system.entry.js +4 -0
  864. package/dist/ionic/p-21085f64.system.entry.js +4 -0
  865. package/dist/ionic/p-23e76249.entry.js +4 -0
  866. package/dist/ionic/p-26fbffd4.system.js +5 -0
  867. package/dist/ionic/{p-8a95273c.js → p-276afddd.js} +1 -1
  868. package/dist/ionic/{p-43060640.system.entry.js → p-28678af4.system.entry.js} +1 -1
  869. package/dist/ionic/p-2992f2a8.entry.js +4 -0
  870. package/dist/ionic/{p-40f778e6.js → p-30b04d8d.js} +1 -1
  871. package/dist/ionic/{p-f3116c14.system.js → p-3632220b.system.js} +1 -1
  872. package/dist/ionic/{p-cd582fdb.system.entry.js → p-37fc0d22.system.entry.js} +1 -1
  873. package/dist/ionic/p-3bad5c1a.js +4 -0
  874. package/dist/ionic/{p-1699be8e.entry.js → p-3bf7c0dc.entry.js} +1 -1
  875. package/dist/ionic/{p-aa7b8135.system.js → p-3d726a67.system.js} +1 -1
  876. package/dist/ionic/{p-5d6123f1.entry.js → p-3db27dec.entry.js} +1 -1
  877. package/dist/ionic/{p-a780a377.entry.js → p-3dce88bf.entry.js} +1 -1
  878. package/dist/ionic/{p-9dcf76ff.system.entry.js → p-3e6b0330.system.entry.js} +1 -1
  879. package/dist/ionic/{p-59a47aff.system.js → p-41477ad9.system.js} +1 -1
  880. package/dist/ionic/{p-d7fd994b.js → p-419eb426.js} +1 -1
  881. package/dist/ionic/p-44ef7224.system.js +4 -0
  882. package/dist/ionic/p-469d6a98.entry.js +4 -0
  883. package/dist/ionic/p-4af11953.entry.js +4 -0
  884. package/dist/ionic/p-4b23f472.entry.js +4 -0
  885. package/dist/ionic/{p-a2e57f27.entry.js → p-4c20879c.entry.js} +1 -1
  886. package/dist/ionic/p-4e76e29a.system.entry.js +4 -0
  887. package/dist/ionic/p-50d83224.entry.js +4 -0
  888. package/dist/ionic/{p-c75da7cf.system.js → p-534a1cbc.system.js} +1 -1
  889. package/dist/ionic/p-53b2a46f.js +4 -0
  890. package/dist/ionic/{p-ed70dec7.entry.js → p-57743e20.entry.js} +1 -1
  891. package/dist/ionic/{p-d7e0a42b.system.js → p-57c5eca2.system.js} +2 -2
  892. package/dist/ionic/p-58565369.system.entry.js +4 -0
  893. package/dist/ionic/{p-505d3b57.system.js → p-5c24c115.system.js} +1 -1
  894. package/dist/ionic/{p-7c63a67f.system.entry.js → p-5fd0a13e.system.entry.js} +1 -1
  895. package/dist/ionic/{p-084b2140.system.js → p-613d4042.system.js} +1 -1
  896. package/dist/ionic/{p-6ff7a5e5.entry.js → p-63f39d2f.entry.js} +1 -1
  897. package/dist/ionic/{p-4c9a0825.system.js → p-64475ab5.system.js} +2 -2
  898. package/dist/ionic/p-6641d7fa.js +4 -0
  899. package/dist/ionic/{p-fc431180.entry.js → p-67e21699.entry.js} +1 -1
  900. package/dist/ionic/p-68a3da51.js +4 -0
  901. package/dist/ionic/p-68b405cc.entry.js +4 -0
  902. package/dist/ionic/{p-565d288e.system.js → p-6b2641f6.system.js} +1 -1
  903. package/dist/ionic/{p-9cfa25d2.system.entry.js → p-6c7d61b9.system.entry.js} +1 -1
  904. package/dist/ionic/{p-ab692eeb.entry.js → p-6ce891b2.entry.js} +1 -1
  905. package/dist/ionic/{p-8a9d2a85.system.entry.js → p-6db9035a.system.entry.js} +1 -1
  906. package/dist/ionic/{p-9edd7119.system.entry.js → p-6f3099b6.system.entry.js} +1 -1
  907. package/dist/ionic/p-73eba881.system.js +4 -0
  908. package/dist/ionic/p-772f6c84.system.js +4 -0
  909. package/dist/ionic/{p-9a7f5ed5.entry.js → p-7887ac7a.entry.js} +1 -1
  910. package/dist/ionic/{p-c1f5d275.js → p-7a590a28.js} +1 -1
  911. package/dist/ionic/p-7b15d413.entry.js +4 -0
  912. package/dist/ionic/{p-0b761768.system.js → p-7c901810.system.js} +1 -1
  913. package/dist/ionic/p-7cad90ed.entry.js +4 -0
  914. package/dist/ionic/p-7cfd253c.js +4 -0
  915. package/dist/ionic/p-7d6f2bbb.system.entry.js +4 -0
  916. package/dist/ionic/{p-c05662ba.system.entry.js → p-7fd0f045.system.entry.js} +1 -1
  917. package/dist/ionic/p-81c818e7.js +4 -0
  918. package/dist/ionic/{p-fc2c5521.system.entry.js → p-84549737.system.entry.js} +1 -1
  919. package/dist/ionic/p-8957b1de.system.entry.js +4 -0
  920. package/dist/ionic/{p-e4146230.system.entry.js → p-89e3d112.system.entry.js} +1 -1
  921. package/dist/ionic/{p-609ac308.js → p-8a289322.js} +1 -1
  922. package/dist/ionic/{p-46956a85.js → p-8b1be026.js} +1 -1
  923. package/dist/ionic/p-8c17d825.js +4 -0
  924. package/dist/ionic/{p-0c92638a.js → p-8cf94fc1.js} +1 -1
  925. package/dist/ionic/p-8f36cde3.system.entry.js +4 -0
  926. package/dist/ionic/p-903c36fe.js +5 -0
  927. package/dist/ionic/p-90ebbca0.entry.js +4 -0
  928. package/dist/ionic/{p-ee5049fd.entry.js → p-9201a4d3.entry.js} +1 -1
  929. package/dist/ionic/{p-477f7813.entry.js → p-92d72ad8.entry.js} +1 -1
  930. package/dist/ionic/{p-52540082.js → p-94a4ce40.js} +1 -1
  931. package/dist/ionic/p-95e44641.system.entry.js +4 -0
  932. package/dist/ionic/{p-ee9863ad.js → p-9649c54e.js} +1 -1
  933. package/dist/ionic/p-96ad49f1.entry.js +4 -0
  934. package/dist/ionic/{p-e8b9a6b2.system.entry.js → p-9a6f6789.system.entry.js} +1 -1
  935. package/dist/ionic/{p-86e57430.system.js → p-9ab6f3e6.system.js} +1 -1
  936. package/dist/ionic/{p-49ead5cb.system.js → p-9d0916cb.system.js} +1 -1
  937. package/dist/ionic/p-9e727d1d.entry.js +4 -0
  938. package/dist/ionic/{p-dd54d07b.system.entry.js → p-9e91c83f.system.entry.js} +1 -1
  939. package/dist/ionic/p-9f2e0db9.js +4 -0
  940. package/dist/ionic/{p-f9f3ef7c.system.js → p-9f9efb31.system.js} +1 -1
  941. package/dist/ionic/p-a0e2f6d8.entry.js +4 -0
  942. package/dist/ionic/{p-30ae30f8.entry.js → p-a1d7f4ef.entry.js} +1 -1
  943. package/dist/ionic/{p-f6f393ee.system.entry.js → p-a4e95028.system.entry.js} +1 -1
  944. package/dist/ionic/p-a51f5932.entry.js +4 -0
  945. package/dist/ionic/p-a6c52452.entry.js +4 -0
  946. package/dist/ionic/{p-40ed5852.system.js → p-a732cfec.system.js} +1 -1
  947. package/dist/ionic/{p-fa98c2a6.system.js → p-a760fd9a.system.js} +1 -1
  948. package/dist/ionic/{p-7cc4d08a.system.entry.js → p-a8403bed.system.entry.js} +1 -1
  949. package/dist/ionic/{p-94d4b708.system.entry.js → p-a9b13f18.system.entry.js} +1 -1
  950. package/dist/ionic/{p-2d55f2bd.system.js → p-ab4cff27.system.js} +1 -1
  951. package/dist/ionic/p-ab7edc16.system.entry.js +4 -0
  952. package/dist/ionic/{p-465e0121.system.entry.js → p-abfd1f2e.system.entry.js} +1 -1
  953. package/dist/ionic/p-ac32f6ce.entry.js +4 -0
  954. package/dist/ionic/p-b132c2c0.system.js +4 -0
  955. package/dist/ionic/{p-6f59ad61.entry.js → p-b2397f35.entry.js} +1 -1
  956. package/dist/ionic/p-b24aa895.js +4 -0
  957. package/dist/ionic/{p-a7016aef.entry.js → p-b27772bf.entry.js} +1 -1
  958. package/dist/ionic/p-b287ab05.js +4 -0
  959. package/dist/ionic/p-b370d1b4.js +4 -0
  960. package/dist/ionic/p-b3bcef34.system.entry.js +4 -0
  961. package/dist/ionic/p-b4c0e9ee.entry.js +4 -0
  962. package/dist/ionic/{p-b46c09ac.system.entry.js → p-b4daca17.system.entry.js} +1 -1
  963. package/dist/ionic/p-b79eb3cd.entry.js +4 -0
  964. package/dist/ionic/{p-322237d0.entry.js → p-b9e2aede.entry.js} +1 -1
  965. package/dist/ionic/{p-28342e96.js → p-bb6f38ed.js} +1 -1
  966. package/dist/ionic/{p-c3325038.system.js → p-bba2ce59.system.js} +1 -1
  967. package/dist/ionic/{p-088a58a8.system.entry.js → p-c09e1da9.system.entry.js} +1 -1
  968. package/dist/ionic/{p-f7515628.entry.js → p-c2d6b2fb.entry.js} +1 -1
  969. package/dist/ionic/p-c381a9a9.system.entry.js +4 -0
  970. package/dist/ionic/p-c8ec0d79.system.js +4 -0
  971. package/dist/ionic/p-ca5cf574.js +4 -0
  972. package/dist/ionic/{p-0dd11651.entry.js → p-ca655a7c.entry.js} +1 -1
  973. package/dist/ionic/p-cc196b34.js +4 -0
  974. package/dist/ionic/{p-0fba861a.system.js → p-ccdcb022.system.js} +1 -1
  975. package/dist/ionic/{p-9912d985.js → p-d1de1188.js} +1 -1
  976. package/dist/ionic/{p-54ada505.entry.js → p-d2a278b1.entry.js} +1 -1
  977. package/dist/ionic/{p-355aae8e.system.entry.js → p-d511de89.system.entry.js} +1 -1
  978. package/dist/ionic/p-d580cbb7.system.entry.js +4 -0
  979. package/dist/ionic/{p-13cb1942.system.entry.js → p-d90f0779.system.entry.js} +1 -1
  980. package/dist/ionic/p-da024961.entry.js +4 -0
  981. package/dist/ionic/p-dd0c00ed.entry.js +4 -0
  982. package/dist/ionic/p-e263255c.system.entry.js +4 -0
  983. package/dist/ionic/p-e3272ed8.entry.js +4 -0
  984. package/dist/ionic/{p-f67dfe83.system.entry.js → p-e40b2cb4.system.entry.js} +1 -1
  985. package/dist/ionic/p-e6d2cca2.system.entry.js +4 -0
  986. package/dist/ionic/p-e88ed929.system.entry.js +4 -0
  987. package/dist/ionic/p-eacb02b2.system.js +4 -0
  988. package/dist/ionic/{p-54d3d2b6.entry.js → p-ec29338e.entry.js} +1 -1
  989. package/dist/ionic/p-ec451ef7.system.entry.js +4 -0
  990. package/dist/ionic/{p-ec8a20f7.system.entry.js → p-f1c2678b.system.entry.js} +1 -1
  991. package/dist/ionic/{p-46cac66d.system.entry.js → p-f37d6823.system.entry.js} +1 -1
  992. package/dist/ionic/p-f4267847.system.entry.js +4 -0
  993. package/dist/ionic/p-f6f4d4bb.system.entry.js +4 -0
  994. package/dist/ionic/{p-c056132d.entry.js → p-fa06c407.entry.js} +1 -1
  995. package/dist/ionic/{p-c3da26fd.system.js → p-fa8d4788.system.js} +1 -1
  996. package/dist/ionic/p-fb18f74b.system.entry.js +4 -0
  997. package/dist/ionic/{p-163145e8.system.entry.js → p-fbc7995a.system.entry.js} +1 -1
  998. package/dist/ionic/{p-3ca87455.system.js → p-ff5a10f9.system.js} +1 -1
  999. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -0
  1000. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
  1001. package/dist/types/components/alert/alert-interface.d.ts +3 -0
  1002. package/dist/types/components/alert/alert.d.ts +1 -1
  1003. package/dist/types/components/button/button.d.ts +9 -0
  1004. package/dist/types/components/checkbox/checkbox.d.ts +9 -1
  1005. package/dist/types/components/content/content.d.ts +2 -1
  1006. package/dist/types/components/datetime/datetime.d.ts +23 -10
  1007. package/dist/types/components/datetime/utils/data.d.ts +1 -1
  1008. package/dist/types/components/datetime/utils/parse.d.ts +5 -5
  1009. package/dist/types/components/item/item.d.ts +2 -0
  1010. package/dist/types/components/item-sliding/test/test.utils.d.ts +5 -0
  1011. package/dist/types/components/loading/loading.d.ts +1 -1
  1012. package/dist/types/components/menu/menu.d.ts +2 -0
  1013. package/dist/types/components/modal/modal.d.ts +1 -1
  1014. package/dist/types/components/picker/picker-interface.d.ts +3 -0
  1015. package/dist/types/components/picker/picker.d.ts +1 -1
  1016. package/dist/types/components/popover/popover.d.ts +1 -1
  1017. package/dist/types/components/radio/radio.d.ts +8 -1
  1018. package/dist/types/components/range/range.d.ts +10 -1
  1019. package/dist/types/components/router-outlet/{route-outlet.d.ts → router-outlet.d.ts} +1 -2
  1020. package/dist/types/components/segment/segment.d.ts +1 -0
  1021. package/dist/types/components/tab-bar/tab-bar.d.ts +8 -0
  1022. package/dist/types/components/toast/toast-interface.d.ts +6 -0
  1023. package/dist/types/components/toast/toast.d.ts +2 -1
  1024. package/dist/types/components/toggle/toggle.d.ts +8 -1
  1025. package/dist/types/components.d.ts +42 -16
  1026. package/dist/types/index.d.ts +1 -0
  1027. package/dist/types/interface.d.ts +1 -0
  1028. package/dist/types/stencil-public-runtime.d.ts +17 -5
  1029. package/dist/types/utils/browser/index.d.ts +16 -1
  1030. package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
  1031. package/dist/types/utils/lock-controller.d.ts +10 -0
  1032. package/dist/types/utils/overlays.d.ts +5 -2
  1033. package/dist/types/utils/test/playwright/drag-element.d.ts +8 -1
  1034. package/dist/types/utils/test/playwright/page/utils/index.d.ts +0 -1
  1035. package/dist/types/utils/test/playwright/playwright-declarations.d.ts +0 -5
  1036. package/dist/types/utils/test/playwright/viewports/index.d.ts +4 -0
  1037. package/hydrate/index.d.ts +6 -6
  1038. package/hydrate/index.js +731 -478
  1039. package/loader/index.d.ts +1 -1
  1040. package/package.json +7 -6
  1041. package/dist/collection/utils/test/playwright/page/utils/get-snapshot-settings.js +0 -32
  1042. package/dist/esm/polyfills/css-shim.js +0 -1
  1043. package/dist/esm-es5/app-globals-70454efb.js +0 -4
  1044. package/dist/esm-es5/data-605c040f.js +0 -4
  1045. package/dist/esm-es5/form-controller-6cd7ebd1.js +0 -4
  1046. package/dist/esm-es5/framework-delegate-6a45ed30.js +0 -4
  1047. package/dist/esm-es5/index-36a5fd75.js +0 -5
  1048. package/dist/esm-es5/input-shims-5b912f6d.js +0 -4
  1049. package/dist/esm-es5/md.transition-b7d7b475.js +0 -4
  1050. package/dist/esm-es5/overlays-4801a327.js +0 -4
  1051. package/dist/ionic/p-004db8b3.entry.js +0 -4
  1052. package/dist/ionic/p-026e6f00.system.entry.js +0 -4
  1053. package/dist/ionic/p-05111967.entry.js +0 -4
  1054. package/dist/ionic/p-0768899f.system.entry.js +0 -4
  1055. package/dist/ionic/p-0e51ceb7.system.entry.js +0 -4
  1056. package/dist/ionic/p-138715e1.system.js +0 -4
  1057. package/dist/ionic/p-164b025e.system.js +0 -4
  1058. package/dist/ionic/p-1ce8e1ca.system.entry.js +0 -4
  1059. package/dist/ionic/p-1f05aa2b.system.entry.js +0 -4
  1060. package/dist/ionic/p-21e3627d.entry.js +0 -4
  1061. package/dist/ionic/p-2e5dc115.entry.js +0 -4
  1062. package/dist/ionic/p-335e3cfe.js +0 -4
  1063. package/dist/ionic/p-34f66fef.entry.js +0 -4
  1064. package/dist/ionic/p-37184fe8.js +0 -4
  1065. package/dist/ionic/p-39a30df1.entry.js +0 -4
  1066. package/dist/ionic/p-3bf5cd2e.system.entry.js +0 -4
  1067. package/dist/ionic/p-3f9dbcfc.system.entry.js +0 -4
  1068. package/dist/ionic/p-4108c24e.entry.js +0 -4
  1069. package/dist/ionic/p-451cbc39.js +0 -4
  1070. package/dist/ionic/p-4ab679fd.system.js +0 -4
  1071. package/dist/ionic/p-4f7973ad.entry.js +0 -4
  1072. package/dist/ionic/p-5a3ee051.system.js +0 -4
  1073. package/dist/ionic/p-5c30baea.system.entry.js +0 -4
  1074. package/dist/ionic/p-5db06d92.system.entry.js +0 -4
  1075. package/dist/ionic/p-5dc1aee9.entry.js +0 -4
  1076. package/dist/ionic/p-5de3c520.js +0 -4
  1077. package/dist/ionic/p-627e74b4.js +0 -4
  1078. package/dist/ionic/p-68ff1f90.entry.js +0 -4
  1079. package/dist/ionic/p-69a66969.js +0 -4
  1080. package/dist/ionic/p-6a0edd6d.system.js +0 -5
  1081. package/dist/ionic/p-6eeeee8b.system.entry.js +0 -4
  1082. package/dist/ionic/p-72969d37.entry.js +0 -4
  1083. package/dist/ionic/p-74a23266.system.entry.js +0 -4
  1084. package/dist/ionic/p-8711de04.entry.js +0 -4
  1085. package/dist/ionic/p-871802fe.entry.js +0 -4
  1086. package/dist/ionic/p-897e142d.entry.js +0 -4
  1087. package/dist/ionic/p-8da248f0.system.entry.js +0 -4
  1088. package/dist/ionic/p-9131f2ce.system.entry.js +0 -4
  1089. package/dist/ionic/p-921d49a0.entry.js +0 -4
  1090. package/dist/ionic/p-94bb8e22.entry.js +0 -4
  1091. package/dist/ionic/p-954ce757.system.entry.js +0 -4
  1092. package/dist/ionic/p-99eac672.system.js +0 -4
  1093. package/dist/ionic/p-9c935c1f.system.entry.js +0 -4
  1094. package/dist/ionic/p-a18e77cb.system.entry.js +0 -4
  1095. package/dist/ionic/p-a4ef5b36.js +0 -4
  1096. package/dist/ionic/p-a5808f22.entry.js +0 -4
  1097. package/dist/ionic/p-acd4af3a.entry.js +0 -4
  1098. package/dist/ionic/p-b096113b.js +0 -4
  1099. package/dist/ionic/p-b6098fdf.entry.js +0 -4
  1100. package/dist/ionic/p-b6519389.system.entry.js +0 -4
  1101. package/dist/ionic/p-c60bc054.system.entry.js +0 -4
  1102. package/dist/ionic/p-c7d59299.js +0 -4
  1103. package/dist/ionic/p-c9b94b63.system.entry.js +0 -4
  1104. package/dist/ionic/p-cc6e5174.js +0 -4
  1105. package/dist/ionic/p-cd83e6cc.system.entry.js +0 -4
  1106. package/dist/ionic/p-d0dedc45.entry.js +0 -4
  1107. package/dist/ionic/p-d34c3e77.js +0 -4
  1108. package/dist/ionic/p-d834e36b.entry.js +0 -4
  1109. package/dist/ionic/p-d9bc4210.js +0 -5
  1110. package/dist/ionic/p-e171bd9c.system.js +0 -4
  1111. package/dist/ionic/p-f16ea33b.entry.js +0 -4
  1112. package/dist/ionic/p-f321535c.js +0 -4
  1113. package/dist/ionic/p-f3c381f2.entry.js +0 -4
  1114. package/dist/ionic/p-f484f0e1.system.entry.js +0 -4
  1115. package/dist/ionic/p-f810e0d3.js +0 -4
  1116. package/dist/ionic/p-ffe2c670.js +0 -4
  1117. package/dist/types/utils/test/playwright/page/utils/get-snapshot-settings.d.ts +0 -8
  1118. /package/dist/cjs/{config-172736e4.js → config-d5882735.js} +0 -0
  1119. /package/dist/cjs/{cubic-bezier-0e51923d.js → cubic-bezier-6b9222ad.js} +0 -0
  1120. /package/dist/cjs/{dir-186d3a4d.js → dir-f1e0ca26.js} +0 -0
  1121. /package/dist/cjs/{focus-visible-6163be3a.js → focus-visible-a7545600.js} +0 -0
  1122. /package/dist/cjs/{gesture-controller-e2865472.js → gesture-controller-b46721be.js} +0 -0
  1123. /package/dist/cjs/{hardware-back-button-bae6e13a.js → hardware-back-button-b67c8e75.js} +0 -0
  1124. /package/dist/cjs/{helpers-77560954.js → helpers-ea4ccbcb.js} +0 -0
  1125. /package/dist/cjs/{index-f0d7c9cc.js → index-306a7476.js} +0 -0
  1126. /package/dist/cjs/{index-79605113.js → index-cc7dfb7c.js} +0 -0
  1127. /package/dist/cjs/{index-b0e73ba0.js → index-d8d1fc0b.js} +0 -0
  1128. /package/dist/cjs/{spinner-configs-7d30ff6f.js → spinner-configs-f7b5105b.js} +0 -0
  1129. /package/dist/cjs/{theme-e6fec71e.js → theme-fbc56b3b.js} +0 -0
  1130. /package/dist/cjs/{watch-options-4d182698.js → watch-options-f3f77e54.js} +0 -0
  1131. /package/dist/esm/{config-80c044f2.js → config-96c9ace3.js} +0 -0
  1132. /package/dist/esm/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
  1133. /package/dist/esm/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
  1134. /package/dist/esm/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
  1135. /package/dist/esm/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
  1136. /package/dist/esm/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
  1137. /package/dist/esm/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
  1138. /package/dist/esm/{index-e86f0117.js → index-595d62c9.js} +0 -0
  1139. /package/dist/esm/{index-b32cad98.js → index-7a14ecec.js} +0 -0
  1140. /package/dist/esm/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
  1141. /package/dist/esm/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
  1142. /package/dist/esm/{theme-7670341c.js → theme-17531cdf.js} +0 -0
  1143. /package/dist/esm/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
  1144. /package/dist/esm-es5/{config-80c044f2.js → config-96c9ace3.js} +0 -0
  1145. /package/dist/esm-es5/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
  1146. /package/dist/esm-es5/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
  1147. /package/dist/esm-es5/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
  1148. /package/dist/esm-es5/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
  1149. /package/dist/esm-es5/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
  1150. /package/dist/esm-es5/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
  1151. /package/dist/esm-es5/{index-e86f0117.js → index-595d62c9.js} +0 -0
  1152. /package/dist/esm-es5/{index-b32cad98.js → index-7a14ecec.js} +0 -0
  1153. /package/dist/esm-es5/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
  1154. /package/dist/esm-es5/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
  1155. /package/dist/esm-es5/{theme-7670341c.js → theme-17531cdf.js} +0 -0
  1156. /package/dist/esm-es5/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
  1157. /package/dist/ionic/{p-35d01c78.js → p-0a87858b.js} +0 -0
  1158. /package/dist/ionic/{p-3b753651.system.js → p-0e94957a.system.js} +0 -0
  1159. /package/dist/ionic/{p-6561b0e5.js → p-185e427e.js} +0 -0
  1160. /package/dist/ionic/{p-e1bc9a81.js → p-1b8e1d03.js} +0 -0
  1161. /package/dist/ionic/{p-fe01417c.js → p-1d072d3d.js} +0 -0
  1162. /package/dist/ionic/{p-5503807a.system.js → p-2b89ea1b.system.js} +0 -0
  1163. /package/dist/ionic/{p-1ef14636.system.js → p-44bc8b45.system.js} +0 -0
  1164. /package/dist/ionic/{p-97891b6b.system.js → p-479cdbf8.system.js} +0 -0
  1165. /package/dist/ionic/{p-09292468.system.js → p-56dc022e.system.js} +0 -0
  1166. /package/dist/ionic/{p-c099b4c9.js → p-5bf16a18.js} +0 -0
  1167. /package/dist/ionic/{p-38bc7b29.js → p-63eb0acd.js} +0 -0
  1168. /package/dist/ionic/{p-bb5b0f18.js → p-6dbfe5d4.js} +0 -0
  1169. /package/dist/ionic/{p-d2405689.js → p-76fce40e.js} +0 -0
  1170. /package/dist/ionic/{p-7ec7dc35.js → p-7b021525.js} +0 -0
  1171. /package/dist/ionic/{p-bb38e011.js → p-7c2bac85.js} +0 -0
  1172. /package/dist/ionic/{p-86d4b2bf.system.js → p-815c2fba.system.js} +0 -0
  1173. /package/dist/ionic/{p-c2257c28.system.js → p-819ff3b9.system.js} +0 -0
  1174. /package/dist/ionic/{p-56929710.system.js → p-87411e39.system.js} +0 -0
  1175. /package/dist/ionic/{p-dc3c3a0a.system.js → p-8985b268.system.js} +0 -0
  1176. /package/dist/ionic/{p-04f1268e.system.js → p-8c15eda7.system.js} +0 -0
  1177. /package/dist/ionic/{p-72dbfdd4.system.js → p-9e852ff1.system.js} +0 -0
  1178. /package/dist/ionic/{p-3c349187.js → p-b347cfd1.js} +0 -0
  1179. /package/dist/ionic/{p-896b72c9.js → p-c18d6eac.js} +0 -0
  1180. /package/dist/ionic/{p-eb54056c.system.js → p-c4f2dce7.system.js} +0 -0
  1181. /package/dist/ionic/{p-4a212c9c.system.js → p-c87827ca.system.js} +0 -0
  1182. /package/dist/ionic/{p-e1c318e0.js → p-e0b06b65.js} +0 -0
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{s(o.next(e))}catch(e){a(e)}}function l(e){try{s(o["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):i(e.value).then(r,l)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(l){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,l[0]&&(n=0)),n)try{if(o=1,i&&(a=l[0]&2?i["return"]:l[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;if(i=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;i=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];i=0}finally{o=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-6a0edd6d.system.js","./p-aa7b8135.system.js","./p-86d4b2bf.system.js","./p-97891b6b.system.js","./p-e3f387af.system.js","./p-c2257c28.system.js","./p-1ef14636.system.js","./p-dc3c3a0a.system.js","./p-f9f3ef7c.system.js","./p-0fba861a.system.js","./p-3b753651.system.js"],(function(e,t){"use strict";var n,o,i,a,r,l,s,g,c,d,h,p,u,b,f,m,w,x,k;return{setters:[function(e){n=e.r;o=e.d;i=e.h;a=e.H;r=e.f},function(e){l=e.c},function(e){s=e.i;g=e.d;c=e.e},function(e){d=e.p},function(e){h=e.c},function(e){p=e.i},function(e){u=e.c;b=e.h},function(e){f=e.f;m=e.r;w=e.g},function(e){x=e.c;k=e.b},function(){},function(){}],execute:function(){var v=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{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;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}";var y=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{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;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}";var j=e("ion_toggle",function(){function e(e){var i=this;n(this,e);this.ionChange=o(this,"ionChange",7);this.ionFocus=o(this,"ionFocus",7);this.ionBlur=o(this,"ionBlur",7);this.ionStyle=o(this,"ionStyle",7);this.inputId="ion-tg-".concat(L++);this.lastDrag=0;this.inheritedAttributes={};this.didLoad=false;this.hasLoggedDeprecationWarning=false;this.setupGesture=function(){return __awaiter(i,void 0,void 0,(function(){var e,n;var o=this;return __generator(this,(function(i){switch(i.label){case 0:e=this.toggleTrack;if(!e)return[3,2];n=this;return[4,t.import("./p-c3da26fd.system.js")];case 1:n.gesture=i.sent().createGesture({el:e,gestureName:"toggle",gesturePriority:100,threshold:5,passive:false,onStart:function(){return o.onStart()},onMove:function(e){return o.onMove(e)},onEnd:function(e){return o.onEnd(e)}});this.disabledChanged();i.label=2;case 2:return[2]}}))}))};this.onClick=function(e){e.preventDefault();if(i.lastDrag+300<Date.now()){i.toggleChecked()}};this.onFocus=function(){i.ionFocus.emit()};this.onBlur=function(){i.ionBlur.emit()};this.getSwitchLabelIcon=function(e,t){if(e==="md"){return t?f:m}return t?m:w};this.activated=false;this.color=undefined;this.name=this.inputId;this.checked=false;this.disabled=false;this.value="on";this.enableOnOffLabels=x.get("toggleOnOffLabels");this.labelPlacement="start";this.legacy=undefined;this.justify="space-between"}e.prototype.disabledChanged=function(){this.emitStyle();if(this.gesture){this.gesture.enable(!this.disabled)}};e.prototype.toggleChecked=function(){var e=this,t=e.checked,n=e.value;var o=!t;this.checked=o;this.ionChange.emit({checked:o,value:n})};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.legacyFormController=l(this.el);if(this.didLoad){this.setupGesture()}return[2]}))}))};e.prototype.componentDidLoad=function(){this.setupGesture();this.didLoad=true};e.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}};e.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},s(this.el))}};e.prototype.emitStyle=function(){if(this.legacyFormController.hasLegacyControl()){this.ionStyle.emit({"interactive-disabled":this.disabled})}};e.prototype.onStart=function(){this.activated=true;this.setFocus()};e.prototype.onMove=function(e){if(C(p(this.el),this.checked,e.deltaX,-10)){this.toggleChecked();h()}};e.prototype.onEnd=function(e){this.activated=false;this.lastDrag=Date.now();e.event.preventDefault();e.event.stopImmediatePropagation()};e.prototype.getValue=function(){return this.value||""};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.renderOnOffSwitchLabels=function(e,t){var n=this.getSwitchLabelIcon(e,t);return i("ion-icon",{class:{"toggle-switch-icon":true,"toggle-switch-icon-checked":t},icon:n,"aria-hidden":"true"})};e.prototype.renderToggleControl=function(){var e=this;var t=k(this);var n=this,o=n.enableOnOffLabels,a=n.checked;return i("div",{class:"toggle-icon",part:"track",ref:function(t){return e.toggleTrack=t}},o&&t==="ios"&&[this.renderOnOffSwitchLabels(t,true),this.renderOnOffSwitchLabels(t,false)],i("div",{class:"toggle-icon-wrapper"},i("div",{class:"toggle-inner",part:"handle"},o&&t==="md"&&this.renderOnOffSwitchLabels(t,a))))};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()};e.prototype.renderToggle=function(){var e;var t=this;var n=this,o=n.activated,r=n.color,l=n.checked,s=n.disabled,c=n.el,d=n.justify,h=n.labelPlacement,f=n.inputId,m=n.name;var w=k(this);var x=this.getValue();var v=p(c)?"rtl":"ltr";g(true,c,m,l?x:"",s);return i(a,{onClick:this.onClick,class:u(r,(e={},e[w]=true,e["in-item"]=b("ion-item",c),e["toggle-activated"]=o,e["toggle-checked"]=l,e["toggle-disabled"]=s,e["toggle-justify-".concat(d)]=true,e["toggle-label-placement-".concat(h)]=true,e["toggle-".concat(v)]=true,e))},i("label",{class:"toggle-wrapper"},i("input",Object.assign({type:"checkbox",role:"switch","aria-checked":"".concat(l),checked:l,disabled:s,id:f,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}},this.inheritedAttributes)),i("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!this.hasLabel}},i("slot",null)),i("div",{class:"native-wrapper"},this.renderToggleControl())))};e.prototype.renderLegacyToggle=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){d('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-toggle>Email</ion-toggle>\nExample with aria-label: <ion-toggle aria-label="Email"></ion-toggle>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){d('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var n=this,o=n.activated,r=n.color,l=n.checked,s=n.disabled,h=n.el,f=n.inputId,m=n.name;var w=k(this);var x=c(h,f),v=x.label,y=x.labelId,j=x.labelText;var C=this.getValue();var L=p(h)?"rtl":"ltr";g(true,h,m,l?C:"",s);return i(a,{onClick:this.onClick,"aria-labelledby":v?y:null,"aria-checked":"".concat(l),"aria-hidden":s?"true":null,role:"switch",class:u(r,(e={},e[w]=true,e["in-item"]=b("ion-item",h),e["toggle-activated"]=o,e["toggle-checked"]=l,e["toggle-disabled"]=s,e["legacy-toggle"]=true,e.interactive=true,e["toggle-".concat(L)]=true,e))},this.renderToggleControl(),i("label",{htmlFor:f},j),i("input",{type:"checkbox",role:"switch","aria-checked":"".concat(l),disabled:s,id:f,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledChanged"]}},enumerable:false,configurable:true});return e}());var C=function(e,t,n,o){if(t){return!e&&o>n||e&&-o<n}else{return!e&&-o<n||e&&o>n}};var L=0;j.style={ios:v,md:y}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as o}from"./p-52540082.js";import{g as t}from"./p-ee9863ad.js";import"./p-3c349187.js";import"./p-38bc7b29.js";import"./p-d9bc4210.js";const i=(i,r)=>{var a,n,s;const p="40px",c="back"===r.direction,e=r.leavingEl,b=t(r.enteringEl),l=b.querySelector("ion-toolbar"),m=o();if(m.addElement(b).fill("both").beforeRemoveClass("ion-page-invisible"),c?m.duration((null!==(a=r.duration)&&void 0!==a?a:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration((null!==(n=r.duration)&&void 0!==n?n:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),l){const t=o();t.addElement(l),m.addAnimation(t)}if(e&&c){m.duration((null!==(s=r.duration)&&void 0!==s?s:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const i=o();i.addElement(t(e)).onFinish((o=>{1===o&&i.elements.length>0&&i.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),m.addAnimation(i)}return m};export{i as mdTransitionAnimation}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-6a0edd6d.system.js","./p-aa7b8135.system.js","./p-86d4b2bf.system.js","./p-97891b6b.system.js","./p-1ef14636.system.js","./p-f9f3ef7c.system.js"],(function(e){"use strict";var t,o,r,i,n,c,a,s,l,h,b,p,d;return{setters:[function(e){t=e.r;o=e.d;r=e.h;i=e.H;n=e.f},function(e){c=e.c},function(e){a=e.i;s=e.d;l=e.e},function(e){h=e.p},function(e){b=e.c;p=e.h},function(e){d=e.b}],execute:function(){var x=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{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;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}";var k=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{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;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}";var m=e("ion_checkbox",function(){function e(e){var r=this;t(this,e);this.ionChange=o(this,"ionChange",7);this.ionFocus=o(this,"ionFocus",7);this.ionBlur=o(this,"ionBlur",7);this.ionStyle=o(this,"ionStyle",7);this.inputId="ion-cb-".concat(g++);this.inheritedAttributes={};this.hasLoggedDeprecationWarning=false;this.setChecked=function(e){var t=r.checked=e;r.ionChange.emit({checked:t,value:r.value})};this.toggleChecked=function(e){e.preventDefault();r.setFocus();r.setChecked(!r.checked);r.indeterminate=false};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.color=undefined;this.name=this.inputId;this.checked=false;this.indeterminate=false;this.disabled=false;this.value="on";this.labelPlacement="start";this.justify="space-between";this.legacy=undefined}e.prototype.connectedCallback=function(){this.legacyFormController=c(this.el)};e.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},a(this.el))}};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["checkbox-checked"]=this.checked}this.ionStyle.emit(e)};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()};e.prototype.renderCheckbox=function(){var e;var t=this;var o=this,n=o.color,c=o.checked,a=o.disabled,l=o.el,h=o.getSVGPath,x=o.indeterminate,k=o.inheritedAttributes,m=o.inputId,g=o.justify,u=o.labelPlacement,f=o.name,y=o.value;var w=d(this);var v=h(w,x);s(true,l,f,c?y:"",a);return r(i,{class:b(n,(e={},e[w]=true,e["in-item"]=p("ion-item",l),e["checkbox-checked"]=c,e["checkbox-disabled"]=a,e["checkbox-indeterminate"]=x,e.interactive=true,e["checkbox-justify-".concat(g)]=true,e["checkbox-label-placement-".concat(u)]=true,e))},r("label",{class:"checkbox-wrapper"},r("input",Object.assign({type:"checkbox",checked:c?true:undefined,disabled:a,id:m,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}},k)),r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":l.textContent===""}},r("slot",null)),r("div",{class:"native-wrapper"},r("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},v))))};e.prototype.renderLegacyCheckbox=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){h('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-checkbox>Label</ion-checkbox>\nExample with aria-label: <ion-checkbox aria-label="Label"></ion-checkbox>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){h('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var o=this,n=o.color,c=o.checked,a=o.disabled,x=o.el,k=o.getSVGPath,m=o.indeterminate,g=o.inputId,u=o.name,f=o.value;var y=d(this);var w=l(x,g),v=w.label,j=w.labelId,z=w.labelText;var C=k(y,m);s(true,x,u,c?f:"",a);return r(i,{"aria-labelledby":v?j:null,"aria-checked":"".concat(c),"aria-hidden":a?"true":null,role:"checkbox",class:b(n,(e={},e[y]=true,e["in-item"]=p("ion-item",x),e["checkbox-checked"]=c,e["checkbox-disabled"]=a,e["checkbox-indeterminate"]=m,e["legacy-checkbox"]=true,e.interactive=true,e))},r("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},C),r("label",{htmlFor:g},z),r("input",{type:"checkbox","aria-checked":"".concat(c),disabled:a,id:g,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}}))};e.prototype.getSVGPath=function(e,t){var o=t?r("path",{d:"M6 12L18 12",part:"mark"}):r("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});if(e==="md"){o=t?r("path",{d:"M2 12H22",part:"mark"}):r("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})}return o};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}());var g=0;m.style={ios:x,md:k}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{l as t}from"./p-38bc7b29.js";import{i as o}from"./p-bb5b0f18.js";import{createGesture as r}from"./p-46956a85.js";import"./p-e1c318e0.js";const s=(s,e,n,a,c)=>{const p=s.ownerDocument.defaultView;let i=o(s);const m=t=>i?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(i=o(s),(t=>{const o=localStorage.getItem("FULL_SWIPE_BACK")?p.innerWidth:60,{startX:r}=t;return i?r>=p.innerWidth-o:r<=o})(t)&&e()),onStart:n,onMove:t=>{const o=m(t);a(o/p.innerWidth)},onEnd:o=>{const r=m(o),s=p.innerWidth,e=r/s,n=(t=>i?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),l=(a?1-e:e)*s;let b=0;if(l>5){const t=l/Math.abs(n);b=Math.min(t,200)}c(a,e<=0?.01:t(0,e,.9999),b)}})};export{s as createSwipeBackGesture}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{u(i.next(t))}catch(t){r(t)}}function a(t){try{u(i["throw"](t))}catch(t){r(t)}}function u(t){t.done?n(t.value):o(t.value).then(s,a)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return u([t,e])}}function u(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(i=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{i=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-6a0edd6d.system.js","./p-eb54056c.system.js","./p-3b753651.system.js","./p-72dbfdd4.system.js","./p-86d4b2bf.system.js","./p-d7e0a42b.system.js","./p-99eac672.system.js","./p-f9f3ef7c.system.js","./p-1ef14636.system.js","./p-dc3c3a0a.system.js","./p-04f1268e.system.js","./p-565d288e.system.js","./p-084b2140.system.js","./p-97891b6b.system.js"],(function(t,e){"use strict";var n,i,o,r,s,a,u,d,l,h,c,p,f,m,b,v,g,y,w,x;return{setters:[function(t){n=t.r;i=t.d;o=t.h;r=t.H;s=t.f},function(t){a=t.g},function(t){u=t.d},function(t){d=t.G},function(t){l=t.p;h=t.i;c=t.o;p=t.l},function(t){f=t.m},function(t){m=t.q},function(t){b=t.c;v=t.b},function(t){g=t.c;y=t.h},function(t){w=t.u;x=t.v},function(){},function(){},function(){},function(){}],execute:function(){var k=this;var _=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";var A=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";var E="cubic-bezier(0.32,0.72,0,1)";var C="cubic-bezier(0.0,0.0,0.2,1)";var O="cubic-bezier(1, 0, 0.68, 0.28)";var S="cubic-bezier(0.4, 0, 0.6, 1)";var j='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])';var z=t("ion_menu",function(){function t(t){var e=this;n(this,t);this.ionWillOpen=i(this,"ionWillOpen",7);this.ionWillClose=i(this,"ionWillClose",7);this.ionDidOpen=i(this,"ionDidOpen",7);this.ionDidClose=i(this,"ionDidClose",7);this.ionMenuChange=i(this,"ionMenuChange",7);this.lastOnEnd=0;this.blocker=d.createBlocker({disableScroll:true});this.isAnimating=false;this._isOpen=false;this.inheritedAttributes={};this.handleFocus=function(t){var n=m(document);if(n&&!n.contains(e.el)){return}e.trapKeyboardFocus(t,document)};this.isPaneVisible=false;this.isEndSide=false;this.contentId=undefined;this.menuId=undefined;this.type=undefined;this.disabled=false;this.side="start";this.swipeGesture=true;this.maxEdgeStart=50}t.prototype.typeChanged=function(t,e){var n=this.contentEl;if(n){if(e!==undefined){n.classList.remove("menu-content-".concat(e))}n.classList.add("menu-content-".concat(t));n.removeAttribute("style")}if(this.menuInnerEl){this.menuInnerEl.removeAttribute("style")}this.animation=undefined};t.prototype.disabledChanged=function(){this.updateState();this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})};t.prototype.sideChanged=function(){this.isEndSide=l(this.side);this.animation=undefined};t.prototype.swipeGestureChanged=function(){this.updateState()};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,n;var i=this;return __generator(this,(function(o){switch(o.label){case 0:if(!(typeof customElements!=="undefined"&&customElements!=null))return[3,2];return[4,customElements.whenDefined("ion-menu")];case 1:o.sent();o.label=2;case 2:if(this.type===undefined){this.type=b.get("menuType","overlay")}t=this.contentId!==undefined?document.getElementById(this.contentId):null;if(t===null){console.error('Menu: must have a "content" element to listen for drag events on.');return[2]}if(this.el.contains(t)){console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.')}this.contentEl=t;t.classList.add("menu-content");this.typeChanged(this.type,undefined);this.sideChanged();f._register(this);n=this;return[4,e.import("./p-c3da26fd.system.js")];case 3:n.gesture=o.sent().createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:true,canStart:function(t){return i.canStart(t)},onWillStart:function(){return i.onWillStart()},onStart:function(){return i.onStart()},onMove:function(t){return i.onMove(t)},onEnd:function(t){return i.onEnd(t)}});this.updateState();return[2]}}))}))};t.prototype.componentWillLoad=function(){this.inheritedAttributes=h(this.el)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen});this.updateState();return[2]}))}))};t.prototype.disconnectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.close(false)];case 1:t.sent();this.blocker.destroy();f._unregister(this);if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.animation=undefined;this.contentEl=undefined;return[2]}}))}))};t.prototype.onSplitPaneChanged=function(t){this.isPaneVisible=t.detail.isPane(this.el);this.updateState()};t.prototype.onBackdropClick=function(t){if(this._isOpen&&this.lastOnEnd<t.timeStamp-100){var e=t.composedPath?!t.composedPath().includes(this.menuInnerEl):false;if(e){t.preventDefault();t.stopPropagation();this.close()}}};t.prototype.onKeydown=function(t){if(t.key==="Escape"){this.close()}};t.prototype.isOpen=function(){return Promise.resolve(this._isOpen)};t.prototype.isActive=function(){return Promise.resolve(this._isActive())};t.prototype.open=function(t){if(t===void 0){t=true}return this.setOpen(true,t)};t.prototype.close=function(t){if(t===void 0){t=true}return this.setOpen(false,t)};t.prototype.toggle=function(t){if(t===void 0){t=true}return this.setOpen(!this._isOpen,t)};t.prototype.setOpen=function(t,e){if(e===void 0){e=true}return f._setOpen(this,t,e)};t.prototype.focusFirstDescendant=function(){var t=this.el;var e=t.querySelector(j);if(e){e.focus()}else{t.focus()}};t.prototype.focusLastDescendant=function(){var t=this.el;var e=Array.from(t.querySelectorAll(j));var n=e.length>0?e[e.length-1]:null;if(n){n.focus()}else{t.focus()}};t.prototype.trapKeyboardFocus=function(t,e){var n=t.target;if(!n){return}if(this.el.contains(n)){this.lastFocus=n}else{this.focusFirstDescendant();if(this.lastFocus===e.activeElement){this.focusLastDescendant()}}};t.prototype._setOpen=function(t,e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:if(!this._isActive()||this.isAnimating||t===this._isOpen){return[2,false]}this.beforeAnimation(t);return[4,this.loadAnimation()];case 1:n.sent();return[4,this.startAnimation(t,e)];case 2:n.sent();this.afterAnimation(t);return[2,true]}}))}))};t.prototype.loadAnimation=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,n;return __generator(this,(function(i){switch(i.label){case 0:t=this.menuInnerEl.offsetWidth;e=l(this.side);if(t===this.width&&this.animation!==undefined&&e===this.isEndSide){return[2]}this.width=t;this.isEndSide=e;if(this.animation){this.animation.destroy();this.animation=undefined}n=this;return[4,f._createAnimation(this.type,this)];case 1:n.animation=i.sent();if(!b.getBoolean("animated",true)){this.animation.duration(0)}this.animation.fill("both");return[2]}}))}))};t.prototype.startAnimation=function(t,e){return __awaiter(this,void 0,void 0,(function(){var n,i,o,r,s;return __generator(this,(function(a){switch(a.label){case 0:n=!t;i=v(this);o=i==="ios"?E:C;r=i==="ios"?O:S;s=this.animation.direction(n?"reverse":"normal").easing(n?r:o).onFinish((function(){if(s.getDirection()==="reverse"){s.direction("normal")}}));if(!e)return[3,2];return[4,s.play()];case 1:a.sent();return[3,3];case 2:s.play({sync:true});a.label=3;case 3:return[2]}}))}))};t.prototype._isActive=function(){return!this.disabled&&!this.isPaneVisible};t.prototype.canSwipe=function(){return this.swipeGesture&&!this.isAnimating&&this._isActive()};t.prototype.canStart=function(t){var e=!!document.querySelector("ion-modal.show-modal");if(e||!this.canSwipe()){return false}if(this._isOpen){return true}else if(f._getOpenSync()){return false}return P(window,t.currentX,this.isEndSide,this.maxEdgeStart)};t.prototype.onWillStart=function(){this.beforeAnimation(!this._isOpen);return this.loadAnimation()};t.prototype.onStart=function(){if(!this.isAnimating||!this.animation){c(false,"isAnimating has to be true");return}this.animation.progressStart(true,this._isOpen?1:0)};t.prototype.onMove=function(t){if(!this.isAnimating||!this.animation){c(false,"isAnimating has to be true");return}var e=L(t.deltaX,this._isOpen,this.isEndSide);var n=e/this.width;this.animation.progressStep(this._isOpen?1-n:n)};t.prototype.onEnd=function(t){var e=this;if(!this.isAnimating||!this.animation){c(false,"isAnimating has to be true");return}var n=this._isOpen;var i=this.isEndSide;var o=L(t.deltaX,n,i);var r=this.width;var s=o/r;var u=t.velocityX;var d=r/2;var l=u>=0&&(u>.2||t.deltaX>d);var h=u<=0&&(u<-.2||t.deltaX<-d);var f=n?i?l:h:i?h:l;var m=!n&&f;if(n&&!f){m=true}this.lastOnEnd=t.currentTime;var b=f?.001:-.001;var v=s<0?.01:s;b+=a([0,0],[.4,0],[.6,1],[1,1],p(0,v,.9999))[0]||0;var g=this._isOpen?!f:f;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((function(){return e.afterAnimation(m)}),{oneTimeCallback:true}).progressEnd(g?1:0,this._isOpen?1-b:b,300)};t.prototype.beforeAnimation=function(t){c(!this.isAnimating,"_before() should not be called while animating");this.el.classList.add(D);this.el.setAttribute("tabindex","0");if(this.backdropEl){this.backdropEl.classList.add(W)}if(this.contentEl){this.contentEl.classList.add(I);this.contentEl.setAttribute("aria-hidden","true")}this.blocker.block();this.isAnimating=true;if(t){this.ionWillOpen.emit()}else{this.ionWillClose.emit()}};t.prototype.afterAnimation=function(t){var e;c(this.isAnimating,"_before() should be called while animating");this._isOpen=t;this.isAnimating=false;if(!this._isOpen){this.blocker.unblock()}if(t){this.ionDidOpen.emit();var n=(e=document.activeElement)===null||e===void 0?void 0:e.closest("ion-menu");if(n!==this.el){this.el.focus()}document.addEventListener("focus",this.handleFocus,true)}else{this.el.classList.remove(D);this.el.removeAttribute("tabindex");if(this.contentEl){this.contentEl.classList.remove(I);this.contentEl.removeAttribute("aria-hidden")}if(this.backdropEl){this.backdropEl.classList.remove(W)}if(this.animation){this.animation.stop()}this.ionDidClose.emit();document.removeEventListener("focus",this.handleFocus,true)}};t.prototype.updateState=function(){var t=this._isActive();if(this.gesture){this.gesture.enable(t&&this.swipeGesture)}if(!t&&this._isOpen){this.forceClosing()}if(u===null||u===void 0?void 0:u.contains(this.el)){if(!this.disabled){f._setActiveMenu(this)}}c(!this.isAnimating,"can not be animating")};t.prototype.forceClosing=function(){c(this._isOpen,"menu cannot be closed");this.isAnimating=true;var t=this.animation.direction("reverse");t.play({sync:true});this.afterAnimation(false)};t.prototype.render=function(){var t;var e=this;var n=this,i=n.type,s=n.disabled,a=n.isPaneVisible,u=n.inheritedAttributes,d=n.side;var l=v(this);return o(r,{role:"navigation","aria-label":u["aria-label"]||"menu",class:(t={},t[l]=true,t["menu-type-".concat(i)]=true,t["menu-enabled"]=!s,t["menu-side-".concat(d)]=true,t["menu-pane-visible"]=a,t)},o("div",{class:"menu-inner",part:"container",ref:function(t){return e.menuInnerEl=t}},o("slot",null)),o("ion-backdrop",{ref:function(t){return e.backdropEl=t},class:"menu-backdrop",tappable:false,stopPropagation:false,part:"backdrop"}))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}},enumerable:false,configurable:true});return t}());var L=function(t,e,n){return Math.max(0,e!==n?-t:t)};var P=function(t,e,n,i){if(n){return e>=t.innerWidth-i}else{return e<=i}};var D="show-menu";var W="show-backdrop";var I="menu-content-open";z.style={ios:_,md:A};var F=function(t){return __awaiter(k,void 0,void 0,(function(){var e,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,f.get(t)];case 1:e=i.sent();n=e;if(!n)return[3,3];return[4,e.isActive()];case 2:n=i.sent();i.label=3;case 3:return[2,!!n]}}))}))};var M=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';var X=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';var G=t("ion_menu_button",function(){function t(t){var e=this;n(this,t);this.inheritedAttributes={};this.onClick=function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){return[2,f.toggle(this.menu)]}))}))};this.visible=false;this.color=undefined;this.disabled=false;this.menu=undefined;this.autoHide=true;this.type="button"}t.prototype.componentWillLoad=function(){this.inheritedAttributes=h(this.el)};t.prototype.componentDidLoad=function(){this.visibilityChanged()};t.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,F(this.menu)];case 1:t.visible=e.sent();return[2]}}))}))};t.prototype.render=function(){var t;var e=this,n=e.color,i=e.disabled,s=e.inheritedAttributes;var a=v(this);var u=b.get("menuIcon",a==="ios"?w:x);var d=this.autoHide&&!this.visible;var l={type:this.type};var h=s["aria-label"]||"menu";return o(r,{onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":d?"true":null,class:g(n,(t={},t[a]=true,t.button=true,t["menu-button-hidden"]=d,t["menu-button-disabled"]=i,t["in-toolbar"]=y("ion-toolbar",this.el),t["in-toolbar-color"]=y("ion-toolbar[color]",this.el),t["ion-activatable"]=true,t["ion-focusable"]=true,t))},o("button",Object.assign({},l,{disabled:i,class:"button-native",part:"native","aria-label":h}),o("span",{class:"button-inner"},o("slot",null,o("ion-icon",{part:"icon",icon:u,mode:a,lazy:false,"aria-hidden":"true"}))),a==="md"&&o("ion-ripple-effect",{type:"unbounded"})))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());G.style={ios:M,md:X};var H=":host(.menu-toggle-hidden){display:none}";var q=t("ion_menu_toggle",function(){function t(t){var e=this;n(this,t);this.onClick=function(){return f.toggle(e.menu)};this.visible=false;this.menu=undefined;this.autoHide=true}t.prototype.connectedCallback=function(){this.visibilityChanged()};t.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,F(this.menu)];case 1:t.visible=e.sent();return[2]}}))}))};t.prototype.render=function(){var t;var e=v(this);var n=this.autoHide&&!this.visible;return o(r,{onClick:this.onClick,"aria-hidden":n?"true":null,class:(t={},t[e]=true,t["menu-toggle-hidden"]=n,t)},o("slot",null))};return t}());q.style=H}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o,h as t,H as i,f as n,d as e}from"./p-d9bc4210.js";import{r,t as s,a,b as d,g as c}from"./p-38bc7b29.js";import{l as h}from"./p-35d01c78.js";import{c as l,b as p}from"./p-c1f5d275.js";import{p as u}from"./p-e1bc9a81.js";const x=class{constructor(t){o(this,t),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const o=this.getSlottedHeaderIonItem();o&&(o.button=!0,o.detail=!1,void 0===o.lines&&(o.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:o}=this;if(!o)return;const t=o.querySelector("slot");return t&&void 0!==t.assignedElements?t.assignedElements().find((o=>"ION-ITEM"===o.tagName)):void 0},this.setAria=(o=!1)=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const i=c(t).querySelector("button");i&&i.setAttribute("aria-expanded",`${o}`)},this.slotToggleIcon=()=>{const o=this.getSlottedHeaderIonItem();if(!o)return;const{toggleIconSlot:t,toggleIcon:i}=this;if(o.querySelector(".ion-accordion-toggle-icon"))return;const n=document.createElement("ion-icon");n.slot=t,n.lazy=!1,n.classList.add("ion-accordion-toggle-icon"),n.icon=i,n.setAttribute("aria-hidden","true"),o.appendChild(n)},this.expandAccordion=(o=!1)=>{const{contentEl:t,contentElWrapper:i}=this;o||void 0===t||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?r((()=>{this.state=8,this.currentRaf=r((async()=>{const o=i.offsetHeight,n=s(t,2e3);t.style.setProperty("max-height",`${o}px`),await n,this.state=4,t.style.removeProperty("max-height")}))})):this.state=4)},this.collapseAccordion=(o=!1)=>{const{contentEl:t}=this;o||void 0===t?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=r((async()=>{t.style.setProperty("max-height",`${t.offsetHeight}px`),r((async()=>{const o=s(t,2e3);this.state=2,await o,this.state=1,t.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>"undefined"!=typeof window&&(!matchMedia("(prefers-reduced-motion: reduce)").matches&&!(!l.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated)),this.updateState=async(o=!1)=>{const t=this.accordionGroupEl,i=this.value;if(!t)return;const n=t.value;if(Array.isArray(n)?n.includes(i):n===i)this.expandAccordion(o),this.isNext=this.isPrevious=!1;else{this.collapseAccordion(o);const t=this.getNextSibling(),i=null==t?void 0:t.value;void 0!==i&&(this.isPrevious=Array.isArray(n)?n.includes(i):n===i);const e=this.getPreviousSibling(),r=null==e?void 0:e.value;void 0!==r&&(this.isNext=Array.isArray(n)?n.includes(r):n===r)}},this.getNextSibling=()=>{if(!this.el)return;const o=this.el.nextElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const o=this.el.previousElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+g++,this.disabled=!1,this.readonly=!1,this.toggleIcon=h,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),a(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&d(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),r((()=>{this.setAria(4===this.state||8===this.state)}))}toggleExpanded(){const{accordionGroupEl:o,value:t,state:i}=this;o&&o.requestAccordionToggle(t,1===i||2===i)}render(){const{disabled:o,readonly:n}=this,e=p(this),r=4===this.state||8===this.state,s=r?"header expanded":"header",a=r?"content expanded":"content";return this.setAria(r),t(i,{class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":n,"accordion-animated":this.shouldAnimate()}},t("div",{onClick:()=>this.toggleExpanded(),id:"header",part:s,"aria-controls":"content",ref:o=>this.headerEl=o},t("slot",{name:"header"})),t("div",{id:"content",part:a,role:"region","aria-labelledby":"header",ref:o=>this.contentEl=o},t("div",{id:"content-wrapper",ref:o=>this.contentElWrapper=o},t("slot",{name:"content"}))))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{value:["valueChanged"]}}};let g=0;x.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const m=class{constructor(t){o(this,t),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&u(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this,t=await this.getAccordions();for(const i of t)i.disabled=o}async readonlyChanged(){const{readonly:o}=this,t=await this.getAccordions();for(const i of t)i.readonly=o}async onKeydown(o){const t=document.activeElement;if(!t)return;if(!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i)return;if(i.closest("ion-accordion-group")!==this.el)return;const n=await this.getAccordions(),e=n.findIndex((o=>o===i));if(-1===e)return;let r;"ArrowDown"===o.key?r=this.findNextAccordion(n,e):"ArrowUp"===o.key?r=this.findPreviousAccordion(n,e):"Home"===o.key?r=n[0]:"End"===o.key&&(r=n[n.length-1]),void 0!==r&&r!==t&&r.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:e,disabled:r}=this;if(!e&&!r)if(t)if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];void 0===i.find((t=>t===o))&&void 0!==o&&this.setValue([...i,o])}else this.setValue(o);else if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else this.setValue(void 0)}findNextAccordion(o,t){const i=o[t+1];return void 0===i?o[0]:i}findPreviousAccordion(o,t){const i=o[t-1];return void 0===i?o[o.length-1]:i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:n,expand:e}=this,r=p(this);return t(i,{class:{[r]:!0,"accordion-group-disabled":o,"accordion-group-readonly":n,[`accordion-group-expand-${e}`]:!0},role:"presentation"},t("slot",null))}get el(){return n(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};m.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous):dir(rtl){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next):dir(rtl){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{x as ion_accordion,m as ion_accordion_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{d as t}from"./p-3c349187.js";import{u as o,v as e}from"./p-38bc7b29.js";const i=i=>{if(void 0===t)return;let l,d,p,v=10*-f,m=0;const b=i.getBoolean("animated",!0)&&i.getBoolean("rippleEffect",!0),h=new WeakMap,w=t=>{v=o(t),x(t)},T=()=>{p&&clearTimeout(p),p=void 0,l&&(y(!1),l=void 0)},j=t=>{l||D(n(t),t)},x=t=>{D(void 0,t)},D=(t,o)=>{if(t&&t===l)return;p&&clearTimeout(p),p=void 0;const{x:i,y:n}=e(o);if(l){if(h.has(l))throw new Error("internal error");l.classList.contains(a)||E(l,i,n),y(!0)}if(t){const o=h.get(t);o&&(clearTimeout(o),h.delete(t)),t.classList.remove(a);const e=()=>{E(t,i,n),p=void 0};r(t)?e():p=setTimeout(e,s)}l=t},E=(t,o,e)=>{if(m=Date.now(),t.classList.add(a),!b)return;const i=c(t);null!==i&&(k(),d=i.addRipple(o,e))},k=()=>{void 0!==d&&(d.then((t=>t())),d=void 0)},y=t=>{k();const o=l;if(!o)return;const e=u-Date.now()+m;if(t&&e>0&&!r(o)){const t=setTimeout((()=>{o.classList.remove(a),h.delete(o)}),u);h.set(o,t)}else o.classList.remove(a)};t.addEventListener("ionGestureCaptured",T),t.addEventListener("touchstart",(t=>{v=o(t),j(t)}),!0),t.addEventListener("touchcancel",w,!0),t.addEventListener("touchend",w,!0),t.addEventListener("pointercancel",T,!0),t.addEventListener("mousedown",(t=>{if(2===t.button)return;const e=o(t)-f;v<e&&j(t)}),!0),t.addEventListener("mouseup",(t=>{const e=o(t)-f;v<e&&x(t)}),!0)},n=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const o=t.composedPath();for(let t=0;t<o.length-2;t++){const e=o[t];if(!(e instanceof ShadowRoot)&&e.classList.contains("ion-activatable"))return e}}},r=t=>t.classList.contains("ion-activatable-instant"),c=t=>{if(t.shadowRoot){const o=t.shadowRoot.querySelector("ion-ripple-effect");if(o)return o}return t.querySelector("ion-ripple-effect")},a="ion-activated",s=100,u=150,f=2500;export{i as startTapClick}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,h as e,H as i,f as a}from"./p-d9bc4210.js";import{a as n,c as o}from"./p-38bc7b29.js";import{a as s}from"./p-e1bc9a81.js";import{c as r}from"./p-fe01417c.js";import{b as d}from"./p-c1f5d275.js";import{q as c,t as l,J as m,S as p,G as h,K as b,T as u}from"./p-5de3c520.js";const f=class{constructor(e){t(this,e),this.datetimeEl=null,this.overlayEl=null,this.getParsedDateValues=t=>null==t?[]:Array.isArray(t)?t:[t],this.setDateTimeText=()=>{const{datetimeEl:t,datetimePresentation:e}=this;if(!t)return;const{value:i,locale:a,hourCycle:n,preferWheel:o,multiple:r,titleSelectedDatesFormatter:d}=t,f=this.getParsedDateValues(i),x=c(f.length>0?f:[l()])[0],v=m(a,n);switch(this.dateText=this.timeText=void 0,e){case"date-time":case"time-date":const t=u(a,x),e=b(a,x,v);o?this.dateText=`${t} ${e}`:(this.dateText=t,this.timeText=e);break;case"date":if(r&&1!==f.length){let t=`${f.length} days`;if(void 0!==d)try{t=d(f)}catch(t){s("Exception in provided `titleSelectedDatesFormatter`: ",t)}this.dateText=t}else this.dateText=u(a,x);break;case"time":this.timeText=b(a,x,v);break;case"month-year":this.dateText=h(a,x);break;case"month":this.dateText=p(a,x,{month:"long"});break;case"year":this.dateText=p(a,x,{year:"numeric"})}},this.waitForDatetimeChanges=async()=>{const{datetimeEl:t}=this;return t?new Promise((e=>{n(t,"ionRender",e,{once:!0})})):Promise.resolve()},this.handleDateClick=async t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e)return;let a=!1;switch(i){case"date-time":case"time-date":!e.preferWheel&&"date"!==e.presentation&&(e.presentation="date",a=!0)}this.selectedButton="date",this.presentOverlay(t,a,this.dateTargetEl)},this.handleTimeClick=t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e)return;let a=!1;switch(i){case"date-time":case"time-date":"time"!==e.presentation&&(e.presentation="time",a=!0)}this.selectedButton="time",this.presentOverlay(t,a,this.timeTargetEl)},this.presentOverlay=async(t,e,i)=>{const{overlayEl:a}=this;a&&("ION-POPOVER"===a.tagName?(e&&await this.waitForDatetimeChanges(),a.present(Object.assign(Object.assign({},t),{detail:{ionShadowTarget:i}}))):a.present())},this.datetimePresentation="date-time",this.dateText=void 0,this.timeText=void 0,this.datetimeActive=!1,this.selectedButton=void 0,this.color="primary",this.disabled=!1,this.datetime=void 0}async componentWillLoad(){const{datetime:t}=this;if(!t)return void s("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",this.el);const e=this.datetimeEl=document.getElementById(t);if(!e)return void s(`No ion-datetime instance found for ID '${t}'.`,this.el);if("ION-DATETIME"!==e.tagName)return void s(`Expected an ion-datetime instance for ID '${t}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver((t=>{this.datetimeActive=t[0].isIntersecting}),{threshold:.01}).observe(e);const i=this.overlayEl=e.closest("ion-modal, ion-popover");i&&i.classList.add("ion-datetime-button-overlay"),o(e,(()=>{const t=this.datetimePresentation=e.presentation||"date-time";switch(this.setDateTimeText(),n(e,"ionValueChange",this.setDateTimeText),t){case"date-time":case"date":case"month-year":case"month":case"year":this.selectedButton="date";break;case"time-date":case"time":this.selectedButton="time"}}))}render(){const{color:t,dateText:a,timeText:n,selectedButton:o,datetimeActive:s,disabled:c}=this,l=d(this);return e(i,{class:r(t,{[l]:!0,[`${o}-active`]:s,"datetime-button-disabled":c})},a&&e("button",{class:"ion-activatable",id:"date-button","aria-expanded":s?"true":"false",onClick:this.handleDateClick,disabled:c,part:"native",ref:t=>this.dateTargetEl=t},e("slot",{name:"date-target"},a),"md"===l&&e("ion-ripple-effect",null)),n&&e("button",{class:"ion-activatable",id:"time-button","aria-expanded":s?"true":"false",onClick:this.handleTimeClick,disabled:c,part:"native",ref:t=>this.timeTargetEl=t},e("slot",{name:"time-target"},n),"md"===l&&e("ion-ripple-effect",null)))}get el(){return a(this)}};f.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}"};export{f as ion_datetime_button}
@@ -1,5 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- let e,t,n,l=!1,o=!1,s=!1,i=!1,r=!1;const c={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},f=e=>{const t=new URL(e,Le.t);return t.origin!==Pe.location.origin?t.href:t.pathname},a="s-id",u="sty-id",$="c-id",d="http://www.w3.org/1999/xlink",h={},m=e=>"object"==(e=typeof e)||"function"===e;function p(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const y=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&r?c[c.length-1].l+=l:c.push(i?b(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,w);const a=b(e,null);return a.o=t,c.length>0&&(a.i=c),a.u=o,a.$=s,a},b=(e,t)=>({h:0,m:e,l:t,p:null,i:null,o:null,u:null,$:null}),v={},w={forEach:(e,t)=>e.map(g).forEach(t),map:(e,t)=>e.map(g).map(t).map(k)},g=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.$,vtag:e.m,vtext:e.l}),k=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),y(e.vtag,t,...e.vchildren||[])}const t=b(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.$=e.vname,t},j=(e,t,n,l,o,s,i)=>{let r,c,f,a;if(1===s.nodeType){for(r=s.getAttribute($),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(f={h:0,v:c[0],g:c[1],k:c[2],j:c[3],m:s.tagName.toLowerCase(),p:s,o:null,i:null,u:null,$:null,l:null},t.push(f),s.removeAttribute($),e.i||(e.i=[]),e.i[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.p))),a=s.childNodes.length-1;a>=0;a--)j(e,t,n,l,o,s.childNodes[a],i);if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)j(e,t,n,l,o,s.shadowRoot.childNodes[a],i)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],f={h:0,v:c[1],g:c[2],k:c[3],j:c[4],p:s,o:null,i:null,u:null,$:null,m:null,l:null},"t"===r?(f.p=s.nextSibling,f.p&&3===f.p.nodeType&&(f.l=f.p.textContent,t.push(f),s.remove(),e.i||(e.i=[]),e.i[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.p))):f.v===i&&("s"===r?(f.m="slot",s["s-sn"]=c[5]?f.$=c[5]:"",s["s-sr"]=!0,l&&(f.p=Te.createElement(f.m),f.$&&f.p.setAttribute("name",f.$),s.parentNode.insertBefore(f.p,s),s.remove(),"0"===f.k&&(l[f.j]=f.p)),n.push(f),e.i||(e.i=[]),e.i[f.j]=f):"r"===r&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=b(null,s.textContent);t.p=s,t.j="0",e.i=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},O=e=>Re.push(e),x=e=>ge(e).S,M=e=>ge(e).O,C=(e,t,n)=>{const l=M(e);return{emit:e=>R(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},R=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},P=new WeakMap,T=(e,t,n)=>{let l=Ce.get(e);Ne&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ce.set(e,l)},L=(e,t,n)=>{var l;let o=D(t,n);const s=Ce.get(o);if(e=11===e.nodeType?e:Te,s)if("string"==typeof s){let t,n=P.get(e=e.head||e);if(n||P.set(e,n=new Set),!n.has(o)){if(e.host&&(t=e.querySelector(`[${u}="${o}"]`)))t.innerHTML=s;else{t=Te.createElement("style"),t.innerHTML=s;const n=null!==(l=Le.M)&&void 0!==l?l:p(Te);null!=n&&t.setAttribute("nonce",n),e.insertBefore(t,e.querySelector("link"))}n&&n.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o},D=(e,t)=>"sc-"+(t&&32&e.h?e.C+"-"+t:e.C),E=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),I=(e,t,n,l,o,s)=>{if(n!==l){let i=Se(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=m(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(d,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,f?e.setAttributeNS(d,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):Se(Pe,r)?r.slice(2):r[2]+t.slice(3),n&&Le.rel(e,t,n,!1),l&&Le.ael(e,t,l,!1)}},N=/\s/,U=e=>e?e.split(N):[],W=(e,t,n,l)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,s=e&&e.o||h,i=t.o||h;for(l in s)l in i||I(o,l,s[l],void 0,n,t.h);for(l in i)I(o,l,s[l],i[l],n,t.h)},F=(o,r,c,f)=>{const a=r.i[c];let u,$,d,h=0;if(l||(s=!0,"slot"===a.m&&(e&&f.classList.add(e+"-s"),a.h|=a.i?2:1)),null!==a.l)u=a.p=Te.createTextNode(a.l);else if(1&a.h)u=a.p=Te.createTextNode("");else{if(i||(i="svg"===a.m),u=a.p=Te.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.h?"slot-fb":a.m),i&&"foreignObject"===a.m&&(i=!1),W(null,a,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),a.i)for(h=0;h<a.i.length;++h)$=F(o,a,h,u),$&&u.appendChild($);"svg"===a.m?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&a.h&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=a.$||"",d=o&&o.i&&o.i[c],d&&d.m===a.m&&o.p&&A(o.p,!1)),u},A=(e,t)=>{Le.h|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(_(o).insertBefore(o,V(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&A(o,t)}Le.h&=-2},B=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=F(null,l,s,e),r&&(o[s].p=r,c.insertBefore(r,V(t))))},H=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.p;X(t),e&&(o=!0,e["s-ol"]?e["s-ol"].remove():A(e,!0),e.remove())}}},q=(e,t)=>e.m===t.m&&("slot"===e.m?e.$===t.$:e.u===t.u),V=e=>e&&e["s-ol"]||e,_=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,z=(e,t)=>{const n=t.p=e.p,l=e.i,o=t.i,s=t.m,r=t.l;let c;null===r?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||W(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],$=t[a],d=l.length-1,h=l[0],m=l[d];for(;i<=a&&r<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==m)m=l[--d];else if(q(u,h))z(u,h),u=t[++i],h=l[++r];else if(q($,m))z($,m),$=t[--a],m=l[--d];else if(q(u,m))"slot"!==u.m&&"slot"!==m.m||A(u.p.parentNode,!1),z(u,m),e.insertBefore(u.p,$.p.nextSibling),u=t[++i],m=l[--d];else if(q($,h))"slot"!==u.m&&"slot"!==m.m||A($.p.parentNode,!1),z($,h),e.insertBefore($.p,u.p),$=t[--a],h=l[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].u&&t[f].u===h.u){c=f;break}c>=0?(s=t[c],s.m!==h.m?o=F(t&&t[r],n,c,e):(z(s,h),t[c]=void 0,o=s.p),h=l[++r]):(o=F(t&&t[r],n,r,e),h=l[++r]),o&&_(u.p).insertBefore(o,V(u.p))}i>a?B(e,null==l[d+1]?null:l[d+1].p,n,l,r,d):r>d&&H(t,i,a)})(n,l,t,o):null!==o?(null!==e.l&&(n.textContent=""),B(n,null,t,o,0,o.length-1)):null!==l&&H(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.l!==r&&(n.data=r)},G=e=>{const t=e.childNodes;let n,l,o,s,i,r;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(r=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==i){if(1===r&&i===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===r||3===r&&""!==t[s].textContent.trim()){n.hidden=!0;break}G(n)}},J=[],K=e=>{let t,n,l,s,i,r,c=0;const f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(Q(n,s)?(i=J.find((e=>e.R===n)),o=!0,n["s-sn"]=n["s-sn"]||s,i?i.P=t:J.push({P:t,R:n}),n["s-sr"]&&J.map((e=>{Q(e.R,n["s-sn"])&&(i=J.find((e=>e.R===n)),i&&!e.P&&(e.P=i.P))}))):J.some((e=>e.R===n))||J.push({R:n}));1===t.nodeType&&K(t)}},Q=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,X=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(X)},Y=(e,t)=>{t&&!e.T&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.T=t)))},Z=(e,t)=>{if(e.h|=16,!(4&e.h))return Y(e,e.L),Ve((()=>ee(e,t)));e.h|=512},ee=(e,t)=>{const n=e.D;let l;return t&&(e.h|=256,e.I&&(e.I.map((([e,t])=>ce(n,e,t))),e.I=void 0),l=ce(n,"componentWillLoad")),l=te(l,(()=>ce(n,"componentWillRender"))),te(l,(()=>le(e,n,t)))},te=(e,t)=>ne(e)?e.then(t):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,le=async(e,t,n)=>{var l;const o=e.O,s=o["s-rc"];n&&(e=>{const t=e.N,n=e.O,l=t.h,o=L(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.S);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);oe(e,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>se(e);0===t.length?n():(Promise.all(t).then(n),e.h|=4,t.length=0)}},oe=(i,r)=>{try{r=r.render&&r.render(),i.h&=-17,i.h|=2,((i,r)=>{const c=i.O,f=i.N,a=i.U||b(null,null),u=(e=>e&&e.m===v)(r)?r:y(null,null,r);if(n=c.tagName,f.W&&(u.o=u.o||{},f.W.map((([e,t])=>u.o[t]=c[e]))),u.m=null,u.h|=4,i.U=u,u.p=a.p=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&f.h),o=!1,z(a,u),Le.h|=1,s){let e,t,n,l,o,s;K(u.p);let i=0;for(;i<J.length;i++)e=J[i],t=e.R,t["s-ol"]||(n=Te.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<J.length;i++)if(e=J[i],t=e.R,e.P){for(l=e.P.parentNode,o=e.P.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&G(u.p),Le.h&=-2,J.length=0})(i,r)}catch(e){Oe(e,i.O)}return null},se=e=>{const t=e.O,n=e.D,l=e.L;ce(n,"componentDidRender"),64&e.h?ce(n,"componentDidUpdate"):(e.h|=64,fe(t),ce(n,"componentDidLoad"),e.F(t),l||re()),e.A(t),e.T&&(e.T(),e.T=void 0),512&e.h&&He((()=>Z(e,!1))),e.h&=-517},ie=e=>{{const t=ge(e),n=t.O.isConnected;return n&&2==(18&t.h)&&Z(t,!1),n}},re=()=>{fe(Te.documentElement),He((()=>R(Pe,"appload",{detail:{namespace:"ionic"}})))},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Oe(e)}},fe=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{if(t.B){e.watchers&&(t.H=e.watchers);const l=Object.entries(t.B),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>ge(this).q.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=ge(e),s=o.O,i=o.q.get(t),r=o.h,c=o.D;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.B[t][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.q.set(t,n),c)){if(l.H&&128&r){const e=l.H[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){Oe(e,s)}}))}2==(18&r)&&Z(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=ge(this);return n.V.then((()=>n.D[e](...t)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){Le.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.W.push([e,o]),o}))}}return e},ue=e=>{ce(e,"connectedCallback")},$e=e=>{if(0==(1&Le.h)){const t=ge(e),n=t.N,l=()=>{};if(1&t.h)me(e,t,n._),ue(t.D);else{let l;if(t.h|=1,l=e.getAttribute(a),l){if(1&n.h){const t=L(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,r=l.U=b(t,null);Le.G||S(Te.body,Le.G=new Map),e[a]=n,e.removeAttribute(a),j(r,s,[],i,e,e,n),s.map((e=>{const n=e.v+"."+e.g,l=Le.G.get(n),s=e.p;l&&Ee&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le.G.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.C,l,t)}l||12&n.h&&de(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Y(t,t.L=n);break}}n.B&&Object.entries(n.B).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.h)){t.h|=32;{if((o=Me(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.H=o.watchers,ae(o,n,2),o.isProxied=!0);const e=()=>{};t.h|=8;try{new o(t)}catch(e){Oe(e)}t.h&=-9,t.h|=128,e(),ue(t.D)}if(o.style){let l=o.style;"string"!=typeof l&&(l=l[t.S=(e=>Re.map((t=>t(e))).find((e=>!!e)))(e)]);const s=D(n,t.S);if(!Ce.has(s)){const e=()=>{};T(s,l,!!(1&n.h)),e()}}}const s=t.L,i=()=>Z(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(e,t,n)}l()}},de=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=(e,t={})=>{var n;const l=[],o=t.exclude||[],s=Pe.customElements,i=Te.head,r=i.querySelector("meta[charset]"),c=Te.createElement("style"),f=[],a=Te.querySelectorAll(`[${u}]`);let $,d=!0,h=0;for(Object.assign(Le,t),Le.t=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.h|=2;h<a.length;h++)T(a[h].getAttribute(u),E(a[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={h:t[0],C:t[1],B:t[2],_:t[3]};n.B=t[2],n._=t[3],n.W=[],n.H={};const i=n.C,r=class extends HTMLElement{constructor(e){super(e),je(e=this,n),1&n.h&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.h)})}connectedCallback(){$&&(clearTimeout($),$=null),d?f.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(()=>{if(0==(1&Le.h)){const e=ge(this),t=e.D;e.J&&(e.J.map((e=>e())),e.J=void 0),ce(t,"disconnectedCallback")}})()))}componentOnReady(){return ge(this).K}};n.X=e[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,ae(r,n,1)))}))}));{c.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles","");const e=null!==(n=Le.M)&&void 0!==n?n:p(Te);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,r?r.nextSibling:i.firstChild)}d=!1,f.length?f.map((e=>e.connectedCallback())):Le.jmp((()=>$=setTimeout(re,30)))},me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ye(e,n),i=pe(t,o),r=be(n);Le.ael(s,l,i,r),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,r)))}))},pe=(e,t)=>n=>{try{256&e.h?e.D[t](n):(e.I=e.I||[]).push([t,n])}catch(e){Oe(e)}},ye=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,be=e=>0!=(2&e),ve=e=>Le.M=e,we=new WeakMap,ge=e=>we.get(e),ke=(e,t)=>we.set(t.D=e,t),je=(e,t)=>{const n={h:0,O:e,N:t,q:new Map};return n.V=new Promise((e=>n.A=e)),n.K=new Promise((e=>n.F=e)),e["s-p"]=[],e["s-rc"]=[],me(e,n,t._),we.set(e,n)},Se=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),xe=new Map,Me=e=>{const t=e.C.replace(/-/g,"_"),n=e.X,l=xe.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(xe.set(n,e),e[t])),Oe)
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ce=new Map,Re=[],Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={h:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},De=e=>{Object.assign(Le,e)},Ee=!0,Ie=e=>Promise.resolve(e),Ne=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Ue=[],We=[],Fe=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&Le.h?He(Be):Le.raf(Be))},Ae=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Oe(e)}e.length=0},Be=()=>{Ae(Ue),Ae(We),(r=Ue.length>0)&&Le.raf(Be)},He=e=>Ie().then(e),qe=Fe(Ue,!1),Ve=Fe(We,!0);export{c as B,v as H,De as a,he as b,O as c,C as d,qe as e,M as f,x as g,y as h,ie as i,f as j,Ie as p,ke as r,ve as s,Ve as w}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-4c9a0825.system.js","./p-86d4b2bf.system.js","./p-c3325038.system.js","./p-97891b6b.system.js","./p-0fba861a.system.js","./p-3b753651.system.js"],(function(e){"use strict";var t,n,r,i,o,a,u,s,c;return{setters:[function(e){t=e.g;n=e.c;r=e.f},function(e){i=e.a;o=e.b;a=e.r;u=e.c},function(e){s=e.a;c=e.K},function(){},function(){},function(){}],execute:function(){var f=this;var l=new WeakMap;var d=function(e,t,n,r,i){if(r===void 0){r=0}if(i===void 0){i=false}if(l.has(e)===n){return}if(n){h(e,t,r,i)}else{p(e,t)}};var v=function(e){return e===e.getRootNode().activeElement};var h=function(e,t,n,r){if(r===void 0){r=false}var i=t.parentNode;var o=t.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(r){o.disabled=true}i.appendChild(o);l.set(e,o);var a=e.ownerDocument;var u=a.dir==="rtl"?9999:-9999;e.style.pointerEvents="none";t.style.transform="translate3d(".concat(u,"px,").concat(n,"px,0) scale(0)")};var p=function(e,t){var n=l.get(e);if(n){l.delete(e);n.remove()}e.style.pointerEvents="";t.style.transform=""};var m=50;var b=function(e,t,n){if(!n||!t){return function(){return}}var r=function(n){if(v(t)){d(e,t,n)}};var a=function(){return d(e,t,false)};var u=function(){return r(true)};var s=function(){return r(false)};i(n,"ionScrollStart",u);i(n,"ionScrollEnd",s);t.addEventListener("blur",a);return function(){o(n,"ionScrollStart",u);o(n,"ionScrollEnd",s);t.removeEventListener("blur",a)}};var w="input, textarea, [no-blur], [contenteditable]";var y=function(){var e=true;var t=false;var n=document;var r=function(){t=true};var a=function(){e=true};var u=function(r){if(t){t=false;return}var i=n.activeElement;if(!i){return}if(i.matches(w)){return}var o=r.target;if(o===i){return}if(o.matches(w)||o.closest(w)){return}e=false;setTimeout((function(){if(!e){i.blur()}}),50)};i(n,"ionScrollStart",r);n.addEventListener("focusin",a,true);n.addEventListener("touchend",u,false);return function(){o(n,"ionScrollStart",r,true);n.removeEventListener("focusin",a,true);n.removeEventListener("touchend",u,false)}};var g=.3;var _=function(e,t,n){var r;var i=(r=e.closest("ion-item,[ion-item]"))!==null&&r!==void 0?r:e;return S(i.getBoundingClientRect(),t.getBoundingClientRect(),n,e.ownerDocument.defaultView.innerHeight)};var S=function(e,t,n,r){var i=e.top;var o=e.bottom;var a=t.top;var u=Math.min(t.bottom,r-n);var s=a+15;var c=u-m;var f=c-o;var l=s-i;var d=Math.round(f<0?-f:l>0?-l:0);var v=Math.min(d,i-a);var h=Math.abs(v);var p=h/g;var b=Math.min(400,Math.max(150,p));return{scrollAmount:v,scrollDuration:b,scrollPadding:n,inputSafeY:-(i-s)+4}};var E="$ionPaddingTimer";var L=function(e,t,n){var r=e[E];if(r){clearTimeout(r)}if(t>0){e.style.setProperty("--keyboard-offset","".concat(t,"px"))}else{e[E]=setTimeout((function(){e.style.setProperty("--keyboard-offset","0px");if(n){n()}}),120)}};var x=function(e,t,n){var r=function(){if(t){L(t,0,n)}};e.addEventListener("focusout",r,{once:true})};var k=0;var D="data-ionic-skip-scroll-assist";var A=function(e,t,n,r,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===s.None);var l=function(){return __awaiter(f,void 0,void 0,(function(){return __generator(this,(function(o){if(t.hasAttribute(D)){t.removeAttribute(D);return[2]}P(e,t,n,r,i,c,u);return[2]}))}))};e.addEventListener("focusin",l,true);return function(){e.removeEventListener("focusin",l,true)}};var M=function(e){if(document.activeElement===e){return}e.setAttribute(D,"true");e.focus()};var P=function(e,r,i,o,u,s,c){if(c===void 0){c=false}return __awaiter(f,void 0,void 0,(function(){var f,l,v,h,p,b;var w=this;return __generator(this,(function(y){switch(y.label){case 0:if(!i&&!o){return[2]}f=_(e,i||o,u);if(i&&Math.abs(f.scrollAmount)<4){M(r);if(s&&i!==null){L(i,k);x(r,i,(function(){return k=0}))}return[2]}d(e,r,true,f.inputSafeY,c);M(r);a((function(){return e.click()}));if(s&&i){k=f.scrollPadding;L(i,k)}if(!(typeof window!=="undefined"))return[3,3];v=function(){return __awaiter(w,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(l!==undefined){clearTimeout(l)}window.removeEventListener("ionKeyboardDidShow",h);window.removeEventListener("ionKeyboardDidShow",v);if(!i)return[3,2];return[4,n(i,0,f.scrollAmount,f.scrollDuration)];case 1:t.sent();t.label=2;case 2:d(e,r,false,f.inputSafeY);M(r);if(s){x(r,i,(function(){return k=0}))}return[2]}}))}))};h=function(){window.removeEventListener("ionKeyboardDidShow",h);window.addEventListener("ionKeyboardDidShow",v)};if(!i)return[3,2];return[4,t(i)];case 1:p=y.sent();b=p.scrollHeight-p.clientHeight;if(f.scrollAmount>b-p.scrollTop){if(r.type==="password"){f.scrollAmount+=m;window.addEventListener("ionKeyboardDidShow",h)}else{window.addEventListener("ionKeyboardDidShow",v)}l=setTimeout(v,1e3);return[2]}y.label=2;case 2:v();y.label=3;case 3:return[2]}}))}))};var T=true;var B=e("startInputShims",(function(e,t){return __awaiter(f,void 0,void 0,(function(){var n,i,o,a,s,f,l,d,v,h,p,m,w,g,_,S,E;var L=this;return __generator(this,(function(x){switch(x.label){case 0:n=document;i=t==="ios";o=t==="android";a=e.getNumber("keyboardHeight",290);s=e.getBoolean("scrollAssist",true);f=e.getBoolean("hideCaretOnScroll",i);l=e.getBoolean("inputBlurring",i);d=e.getBoolean("scrollPadding",true);v=Array.from(n.querySelectorAll("ion-input, ion-textarea"));h=new WeakMap;p=new WeakMap;return[4,c.getResizeMode()];case 1:m=x.sent();w=function(e){return __awaiter(L,void 0,void 0,(function(){var t,n,i,c,l,v,l;return __generator(this,(function(w){switch(w.label){case 0:return[4,new Promise((function(t){return u(e,t)}))];case 1:w.sent();t=e.shadowRoot||e;n=t.querySelector("input")||t.querySelector("textarea");i=r(e);c=!i?e.closest("ion-footer"):null;if(!n){return[2]}if(!!i&&f&&!h.has(e)){l=b(e,n,i);h.set(e,l)}v=n.type==="date"||n.type==="datetime-local";if(!v&&(!!i||!!c)&&s&&!p.has(e)){l=A(e,n,i,c,a,d,m,o);p.set(e,l)}return[2]}}))}))};g=function(e){if(f){var t=h.get(e);if(t){t()}h.delete(e)}if(s){var t=p.get(e);if(t){t()}p.delete(e)}};if(l&&T){y()}for(_=0,S=v;_<S.length;_++){E=S[_];w(E)}n.addEventListener("ionInputDidLoad",(function(e){w(e.detail)}));n.addEventListener("ionInputDidUnload",(function(e){g(e.detail)}));return[2]}}))}))}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as e,w as a,h as i,H as r,f as o,i as n}from"./p-d9bc4210.js";import{c as l}from"./p-451cbc39.js";import{c as s}from"./p-b096113b.js";import{j as d,i as c,k as x,h as p}from"./p-38bc7b29.js";import{p as h}from"./p-e1bc9a81.js";import{c as m,g}from"./p-8a95273c.js";import{c as b,h as f}from"./p-fe01417c.js";import{b as u}from"./p-c1f5d275.js";import"./p-3c349187.js";const v=class{constructor(a){t(this,a),this.ionChange=e(this,"ionChange",7),this.ionInput=e(this,"ionInput",7),this.ionStyle=e(this,"ionStyle",7),this.ionBlur=e(this,"ionBlur",7),this.ionFocus=e(this,"ionFocus",7),this.inputId="ion-textarea-"+w++,this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.emitInputChange(t)},this.onChange=t=>{this.emitValueChange(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusedValue=this.value,this.focusChange(),this.ionFocus.emit(t)},this.onBlur=t=>{this.hasFocus=!1,this.focusChange(),this.focusedValue!==this.value&&this.emitValueChange(t),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(t)},this.onKeyDown=t=>{this.checkClearOnEdit(t)},this.hasFocus=!1,this.color=void 0,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=void 0,this.disabled=!1,this.fill=void 0,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.autoGrow=!1,this.value="",this.counter=!1,this.counterFormatter=void 0,this.errorText=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.shape=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:a}=this;this.ionInput=void 0===e?null!=a?a:t:d(t,e)}disabledChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle()}connectedCallback(){const{el:t}=this;this.legacyFormController=l(t),this.slotMutationController=m(t,"label",(()=>n(this))),this.notchController=s(t,(()=>this.notchSpacerEl),(()=>this.labelSlot)),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:t}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},c(this.el)),x(this.el,["data-form-type","title","tabindex"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var t;null===(t=this.notchController)||void 0===t||t.calculateNotchWidth()}async setFocus(){this.nativeInput&&this.nativeInput.focus()}getInputElement(){return Promise.resolve(this.nativeInput)}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus})}emitValueChange(t){const{value:e}=this,a=null==e?e:e.toString();this.focusedValue=a,this.ionChange.emit({value:a,event:t})}emitInputChange(t){const{value:e}=this;this.ionInput.emit({value:e,event:t})}runAutoGrow(){this.nativeInput&&this.autoGrow&&a((()=>{var t;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(t=this.value)&&void 0!==t?t:"")}))}checkClearOnEdit(t){this.clearOnEdit&&(!this.didTextareaClearOnEdit&&this.hasValue()&&(this.value="",this.emitInputChange(t)),this.didTextareaClearOnEdit=!0)}focusChange(){this.emitStyle()}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLegacyTextarea(){this.hasLoggedDeprecationWarning||(h('ion-textarea now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: <ion-textarea label="Comments"></ion-textarea>\nExample with aria-label: <ion-textarea aria-label="Comments"></ion-textarea>\n\nFor textareas that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the textarea by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.hasLoggedDeprecationWarning=!0);const t=u(this),e=this.getValue(),a=this.inputId+"-lbl",o=p(this.el);return o&&(o.id=a),i(r,{"aria-disabled":this.disabled?"true":null,class:b(this.color,{[t]:!0,"legacy-textarea":!0})},i("div",{class:"textarea-legacy-wrapper",ref:t=>this.textareaWrapper=t},i("textarea",Object.assign({class:"native-textarea","aria-labelledby":o?o.id:null,ref:t=>this.nativeInput=t,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),e)))}renderLabel(){const{label:t}=this;return i("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===t?i("slot",{name:"label"}):i("div",{class:"label-text"},t))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===u(this)&&"outline"===this.fill?[i("div",{class:"textarea-outline-container"},i("div",{class:"textarea-outline-start"}),i("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},i("div",{class:"notch-spacer","aria-hidden":"true",ref:t=>this.notchSpacerEl=t},this.label)),i("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:t,errorText:e}=this;return[i("div",{class:"helper-text"},t),i("div",{class:"error-text"},e)]}renderCounter(){const{counter:t,maxlength:e,counterFormatter:a,value:r}=this;if(!0===t&&void 0!==e)return i("div",{class:"counter"},g(r,e,a))}renderBottomContent(){const{counter:t,helperText:e,errorText:a,maxlength:r}=this;if(e||a||!0===t&&void 0!==r)return i("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}renderTextarea(){const{inputId:t,disabled:e,fill:a,shape:o,labelPlacement:n}=this,l=u(this),s=this.getValue(),d=f("ion-item",this.el),c="md"===l&&"outline"!==a&&!d;return i(r,{class:b(this.color,{[l]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,[`textarea-fill-${a}`]:void 0!==a,[`textarea-shape-${o}`]:void 0!==o,[`textarea-label-placement-${n}`]:!0,"textarea-disabled":e})},i("label",{class:"textarea-wrapper"},this.renderLabelContainer(),i("div",{class:"native-wrapper",ref:t=>this.textareaWrapper=t},i("textarea",Object.assign({class:"native-textarea",ref:t=>this.nativeInput=t,id:t,disabled:e,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,minLength:this.minlength,maxLength:this.maxlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),s)),c&&i("div",{class:"textarea-highlight"})),this.renderBottomContent())}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyTextarea():this.renderTextarea()}get el(){return o(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}};let w=0;v.style={ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl),.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}',md:'.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.legacy-textarea.sc-ion-textarea-md-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}.sc-ion-textarea-md-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{white-space:inherit}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md,.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md,.textarea-legacy-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after,.textarea-legacy-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:12px}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl),.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.textarea-fill-solid.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-fill-solid.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-fill-solid.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:2px;--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl),.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.has-focus.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-value.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md:dir(rtl){border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.has-focus.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.has-value.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.sc-ion-textarea-md-h:not(.legacy-textarea){min-height:56px}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea[disabled].sc-ion-textarea-md,.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl].in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}'};export{v as ion_textarea}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as o}from"./p-38bc7b29.js";import{b as s}from"./p-e1bc9a81.js";const a="ion-content",t=".ion-content-scroll-host",r=`${a}, ${t}`,e=o=>"ION-CONTENT"===o.tagName,i=async s=>e(s)?(await new Promise((a=>o(s,a))),s.getScrollElement()):s,n=o=>o.querySelector(t)||o.querySelector(r),c=o=>o.closest(r),m=(o,s)=>e(o)?o.scrollToTop(s):Promise.resolve(o.scrollTo({top:0,left:0,behavior:s>0?"smooth":"auto"})),f=(o,s,a,t)=>e(o)?o.scrollByPoint(s,a,t):Promise.resolve(o.scrollBy({top:a,left:s,behavior:t>0?"smooth":"auto"})),p=o=>s(o,a),b=o=>{if(e(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},h=(o,s)=>{e(o)?o.scrollY=s:o.style.removeProperty("overflow")};export{t as I,n as a,a as b,f as c,b as d,c as f,i as g,e as i,p,h as r,m as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as o,w as i,h as a,H as r,f as e}from"./p-d9bc4210.js";import{f as s,i as n,d,r as h,a as p,p as l}from"./p-f321535c.js";import{C as c,a as m,d as b}from"./p-335e3cfe.js";import{g as f,l as u,r as w,k as v,m as x}from"./p-38bc7b29.js";import{p as g}from"./p-e1bc9a81.js";import{g as k}from"./p-627e74b4.js";import{G as y,e as A,B as D,j as B,k as Y,f as j,n as M,g as E,h as C}from"./p-a4ef5b36.js";import{g as S}from"./p-fe01417c.js";import{e as O,w as P}from"./p-ee9863ad.js";import{b as $,c as T}from"./p-c1f5d275.js";import{KEYBOARD_DID_OPEN as z}from"./p-0c92638a.js";import{c as I}from"./p-52540082.js";import{g as W}from"./p-bb38e011.js";import{createGesture as L}from"./p-46956a85.js";import{w as R}from"./p-3c349187.js";import"./p-6561b0e5.js";import"./p-d7fd994b.js";import"./p-e1c318e0.js";var N;!function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"}(N||(N={}));const K={getEngine(){const t=k();if(null==t?void 0:t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},supportsDefaultStatusBarStyle(){const t=k();return!!(null==t?void 0:t.PluginHeaders)},setStyle(t){const o=this.getEngine();o&&o.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t)return N.Default;const{style:o}=await t.getInfo();return o}},V=(t,o)=>{if(1===o)return 0;const i=1/(1-o);return t*i+-o*i},Z=()=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:N.Dark})},F=(t=N.Default)=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:t})},G=async(t,o)=>{"function"==typeof t.canDismiss&&await t.canDismiss(void 0,y)&&(o.isRunning()?o.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},_=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,H=.93,U=(t,o)=>u(400,t/Math.abs(1.1*o),500),q=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=void 0===i||i<o,r=a?`calc(var(--backdrop-opacity) * ${o})`:"0",e=I("backdropAnimation").fromTo("opacity",0,r);return a&&e.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*o}%)`}]),backdropAnimation:e}},J=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=`calc(var(--backdrop-opacity) * ${V(o,i)})`,r=[{offset:0,opacity:a},{offset:1,opacity:0}],e=[{offset:0,opacity:a},{offset:i,opacity:0},{offset:1,opacity:0}],s=I("backdropAnimation").keyframes(0!==i?e:r);return{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*o}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},Q=(t,o)=>{const{presentingEl:i,currentBreakpoint:a}=o,r=f(t),{wrapperAnimation:e,backdropAnimation:s}=void 0!==a?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(r.querySelector("ion-backdrop")),e.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const n=I("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(e);if(i){const t=window.innerWidth<768,o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,a=f(i),r=I().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),d=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",a=`translateY(${o?"-10px":t}) scale(0.93)`;r.afterStyles({transform:a}).beforeAddWrite((()=>d.style.setProperty("background-color","black"))).addElement(i).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:a,borderRadius:"10px 10px 0 0"}]),n.addAnimation(r)}else if(n.addAnimation(s),o){const t=`translateY(-10px) scale(${o?H:1})`;r.afterStyles({transform:t}).addElement(a.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:t}]);const i=I().afterStyles({transform:t}).addElement(a.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:t}]);n.addAnimation([r,i])}else e.fromTo("opacity","0","1")}else n.addAnimation(s);return n},X=(t,o,i=500)=>{const{presentingEl:a,currentBreakpoint:r}=o,e=f(t),{wrapperAnimation:s,backdropAnimation:n}=void 0!==r?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().fromTo("transform","translateY(0vh)","translateY(100vh)")};n.addElement(e.querySelector("ion-backdrop")),s.addElement(e.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=I("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i).addAnimation(s);if(a){const t=window.innerWidth<768,o="ION-MODAL"===a.tagName&&void 0!==a.presentingElement,i=f(a),r=I().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{1===t&&(a.style.setProperty("overflow",""),Array.from(e.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((t=>void 0!==t.presentingElement)).length<=1&&e.style.setProperty("background-color",""))})),e=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",i=`translateY(${o?"-10px":t}) scale(0.93)`;r.addElement(a).keyframes([{offset:0,filter:"contrast(0.85)",transform:i,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(r)}else if(d.addAnimation(n),o){const t=`translateY(-10px) scale(${o?H:1})`;r.addElement(i.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:t},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const a=I().addElement(i.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:t},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([r,a])}else s.fromTo("opacity","1","0")}else d.addAnimation(n);return d},tt=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([e,r])},ot=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([e,r])},it=class{constructor(i){t(this,i),this.didPresent=o(this,"ionModalDidPresent",7),this.willPresent=o(this,"ionModalWillPresent",7),this.willDismiss=o(this,"ionModalWillDismiss",7),this.didDismiss=o(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=o(this,"ionBreakpointDidChange",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.ionMount=o(this,"ionMount",7),this.triggerController=A(),this.coreDelegate=c(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:o}=this;"cycle"===o&&void 0===t&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,D)},this.onLifecycle=t=>{const o=this.usersElement,i=at[t.type];if(o&&i){const a=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(a)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,o)=>t-o)))}connectedCallback(){const{el:t}=this;B(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:o,el:i}=this,a=this.isSheetModal=void 0!==t&&void 0!==o;this.inheritedAttributes=v(i,["aria-label","role"]),a&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===o||t.includes(o)||g("Your breakpoints array must include the initialBreakpoint value."),Y(i)}componentDidLoad(){!0===this.isOpen&&w((()=>this.present())),this.breakpointsChanged(this.breakpoints)}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(t,o){const{canDismiss:i}=this;return"function"==typeof i?i(t,o):i}async present(){if(this.presented)return;const{presentingElement:t,el:o}=this;void 0!==this.currentTransition&&await this.currentTransition,this.currentBreakpoint=this.initialBreakpoint;const{inline:a,delegate:r}=this.getDelegate(!0);this.usersElement=await m(r,o,this.component,["ion-page"],this.componentProps,a),this.ionMount.emit(),x(o)?await O(this.usersElement):this.keepContentsMounted||await P(),i((()=>this.el.classList.add("show-modal"))),this.currentTransition=j(this,"modalEnter",Q,tt,{presentingEl:t,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),w((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(z,this.keyboardOpenCallback));const e=void 0!==t;e&&"ios"===$(this)&&(this.statusBarStyle=await K.getStyle(),Z()),await this.currentTransition,this.isSheetModal?this.initSheetGesture():e&&this.initSwipeToClose(),this.currentTransition=void 0}initSwipeToClose(){var t;if("ios"!==$(this))return;const{el:o}=this,i=this.leaveAnimation||T.get("modalLeave",X),a=this.animation=i(o,{presentingEl:this.presentingElement});if(!p(o))return void l(o);const r=null!==(t=this.statusBarStyle)&&void 0!==t?t:N.Default;this.gesture=((t,o,i,a)=>{const r=.5,e=t.offsetHeight;let p=!1,l=!1,c=null,m=null,b=!0,w=0;const v=L({el:t,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:t=>{const o=t.event.target;if(null===o||!o.closest)return!0;if(c=s(o),c){if(n(c)){const t=f(c);m=t.querySelector(".inner-scroll")}else m=c;return!c.querySelector("ion-refresher")&&0===m.scrollTop}return null===o.closest("ion-footer")},onStart:i=>{const{deltaY:a}=i;b=!c||!n(c)||c.scrollY,l=void 0!==t.canDismiss&&!0!==t.canDismiss,a>0&&c&&d(c),o.progressStart(!0,p?1:0)},onMove:t=>{const{deltaY:a}=t;a>0&&c&&d(c);const s=t.deltaY/e,n=s>=0&&l,h=n?.2:.9999,p=n?_(s/h):s,m=u(1e-4,p,h);o.progressStep(m),m>=r&&w<r?F(i):m<r&&w>=r&&Z(),w=m},onEnd:i=>{const s=i.velocityY,n=i.deltaY/e,d=n>=0&&l,m=d?.2:.9999,f=d?_(n/m):n,w=u(1e-4,f,m),x=!d&&(i.deltaY+1e3*s)/e>=r;let g=x?-.001:.001;x?(o.easing("cubic-bezier(0.32, 0.72, 0, 1)"),g+=W([0,0],[.32,.72],[0,1],[1,1],w)[0]):(o.easing("cubic-bezier(1, 0, 0.68, 0.28)"),g+=W([0,0],[1,0],[.68,.28],[1,1],w)[0]);const k=U(x?n*e:(1-w)*e,s);p=x,v.enable(!1),c&&h(c,b),o.onFinish((()=>{x||v.enable(!0)})).progressEnd(x?1:0,g,k),d&&w>m/4?G(t,o):x&&a()}});return v})(o,a,r,(()=>{this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))})),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:o,backdropBreakpoint:i}=this;if(!t||void 0===o)return;const a=this.enterAnimation||T.get("modalEnter",Q),r=this.animation=a(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:i});r.progressStart(!0,1);const{gesture:e,moveSheetToBreakpoint:s}=((t,o,i,a,r,e,s=[],n,d,h)=>{const p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==r?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},l=t.querySelector("ion-content"),c=i.clientHeight;let m=a,b=0,f=!1;const v=e.childAnimations.find((t=>"wrapperAnimation"===t.id)),x=e.childAnimations.find((t=>"backdropAnimation"===t.id)),g=s[s.length-1],k=s[0],y=()=>{t.style.setProperty("pointer-events","auto"),o.style.setProperty("pointer-events","auto"),t.classList.remove("ion-disable-focus-trap")},A=()=>{t.style.setProperty("pointer-events","none"),o.style.setProperty("pointer-events","none"),t.classList.add("ion-disable-focus-trap")};v&&x&&(v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-m),m>r?y():A()),l&&m!==g&&(l.scrollY=!1);const D=o=>{const{breakpoint:i,canDismiss:a,breakpointOffset:n,animated:c}=o,b=a&&0===i,f=b?m:i,u=0!==f;return m=0,v&&x&&(v.keyframes([{offset:0,transform:`translateY(${100*n}%)`},{offset:1,transform:`translateY(${100*(1-f)}%)`}]),x.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${V(1-n,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${V(f,r)})`}]),e.progressStep(0)),B.enable(!1),b?G(t,e):u||d(),new Promise((t=>{e.onFinish((()=>{u?v&&x?w((()=>{v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-f),m=f,h(m),l&&m===s[s.length-1]&&(l.scrollY=!0),m>r?y():A(),B.enable(!0),t()})):(B.enable(!0),t()):t()}),{oneTimeCallback:!0}).progressEnd(1,0,c?500:0)}))},B=L({el:i,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:t=>{const o=t.event.target.closest("ion-content");return m=n(),1!==m||!o},onStart:()=>{f=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===k,l&&(l.scrollY=!1),w((()=>{t.focus()})),e.progressStart(!0,1-m)},onMove:t=>{const o=s.length>1?1-s[1]:void 0,i=1-m+t.deltaY/c,a=void 0!==o&&i>=o&&f,r=a?.95:.9999,n=a&&void 0!==o?o+_((i-o)/(r-o)):i;b=u(1e-4,n,r),e.progressStep(b)},onEnd:t=>{const o=m-(t.deltaY+350*t.velocityY)/c,i=s.reduce(((t,i)=>Math.abs(i-o)<Math.abs(t-o)?i:t));D({breakpoint:i,breakpointOffset:b,canDismiss:f,animated:!0})}});return{gesture:B,moveSheetToBreakpoint:D}})(this.el,this.backdropEl,t,o,i,r,this.sortedBreakpoints,(()=>{var t;return null!==(t=this.currentBreakpoint)&&void 0!==t?t:0}),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}));this.gesture=e,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))}async dismiss(t,o){var a;if(this.gestureAnimationDismissing&&o!==y)return!1;if("handler"!==o&&!await this.checkCanDismiss(t,o))return!1;const{presentingElement:r}=this;void 0!==r&&"ios"===$(this)&&F(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(z,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0),void 0!==this.currentTransition&&await this.currentTransition;const e=M.get(this)||[];this.currentTransition=E(this,t,o,"modalLeave",X,ot,{presentingEl:r,currentBreakpoint:null!==(a=this.currentBreakpoint)&&void 0!==a?a:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});const s=await this.currentTransition;if(s){const{delegate:t}=this.getDelegate();await b(t,this.usersElement),i((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),e.forEach((t=>t.destroy()))}return this.currentBreakpoint=void 0,this.currentTransition=void 0,this.animation=void 0,s}onDidDismiss(){return C(this.el,"ionModalDidDismiss")}onWillDismiss(){return C(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void g("setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void g(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:o,moveSheetToBreakpoint:i,canDismiss:a,breakpoints:r,animated:e}=this;o!==t&&i&&(this.sheetTransition=i({breakpoint:t,breakpointOffset:1-o,canDismiss:void 0!==a&&!0!==a&&0===r[0],animated:e}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:o}=this;if(!t||null==o)return!1;const i=t.filter((t=>0!==t)),a=i.indexOf(o),r=i[(a+1)%i.length];return await this.setCurrentBreakpoint(r),!0}render(){const{handle:t,isSheetModal:o,presentingElement:i,htmlAttributes:e,handleBehavior:s,inheritedAttributes:n}=this,d=!1!==t&&o,h=$(this),p=void 0!==i&&"ios"===h,l="cycle"===s;return a(r,Object.assign({"no-router":!0,tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[h]:!0,"modal-default":!p&&!o,"modal-card":p,"modal-sheet":o,"overlay-hidden":!0},S(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),a("ion-backdrop",{ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===h&&a("div",{class:"modal-shadow"}),a("div",Object.assign({role:"dialog"},n,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t}),d&&a("button",{class:"modal-handle",tabIndex:l?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:l?this.onHandleClick:void 0,part:"handle"}),a("slot",null)))}get el(){return e(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},at={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};it.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'};export{it as ion_modal}