@ionic/core 9.0.12-nightly.20261117 → 9.0.12

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 (445) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-fab-button.js +1 -1
  27. package/components/ion-fab-list.js +1 -1
  28. package/components/ion-fab.js +1 -1
  29. package/components/ion-footer.js +1 -1
  30. package/components/ion-grid.js +1 -1
  31. package/components/ion-header.js +1 -1
  32. package/components/ion-icon.js +1 -1
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +1 -1
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input-otp.js +1 -1
  37. package/components/ion-input-password-toggle.js +1 -1
  38. package/components/ion-input.js +1 -1
  39. package/components/ion-item-divider.js +1 -1
  40. package/components/ion-item-group.js +1 -1
  41. package/components/ion-item-option.js +1 -1
  42. package/components/ion-item-options.js +1 -1
  43. package/components/ion-item-sliding.js +1 -1
  44. package/components/ion-item.js +1 -1
  45. package/components/ion-label.js +1 -1
  46. package/components/ion-list-header.js +1 -1
  47. package/components/ion-list.js +1 -1
  48. package/components/ion-loading.js +1 -1
  49. package/components/ion-menu-button.js +1 -1
  50. package/components/ion-menu-toggle.js +1 -1
  51. package/components/ion-menu.js +1 -1
  52. package/components/ion-modal.js +1 -1
  53. package/components/ion-nav-link.js +1 -1
  54. package/components/ion-nav.js +1 -1
  55. package/components/ion-note.js +1 -1
  56. package/components/ion-picker-column-option.js +1 -1
  57. package/components/ion-picker-column.js +1 -1
  58. package/components/ion-picker.js +1 -1
  59. package/components/ion-popover.js +1 -1
  60. package/components/ion-progress-bar.js +1 -1
  61. package/components/ion-radio-group.js +1 -1
  62. package/components/ion-radio.js +1 -1
  63. package/components/ion-range.js +1 -1
  64. package/components/ion-refresher-content.js +1 -1
  65. package/components/ion-refresher.js +1 -1
  66. package/components/ion-reorder-group.js +1 -1
  67. package/components/ion-reorder.js +1 -1
  68. package/components/ion-ripple-effect.js +1 -1
  69. package/components/ion-route-redirect.js +1 -1
  70. package/components/ion-route.js +1 -1
  71. package/components/ion-router-link.js +1 -1
  72. package/components/ion-router-outlet.js +1 -1
  73. package/components/ion-router.js +1 -1
  74. package/components/ion-row.js +1 -1
  75. package/components/ion-searchbar.js +1 -1
  76. package/components/ion-segment-button.js +1 -1
  77. package/components/ion-segment-content.js +1 -1
  78. package/components/ion-segment-view.js +1 -1
  79. package/components/ion-segment.js +1 -1
  80. package/components/ion-select-modal.js +1 -1
  81. package/components/ion-select-option.js +1 -1
  82. package/components/ion-select-popover.js +1 -1
  83. package/components/ion-select.js +1 -1
  84. package/components/ion-skeleton-text.js +1 -1
  85. package/components/ion-spinner.js +1 -1
  86. package/components/ion-split-pane.js +1 -1
  87. package/components/ion-tab-bar.js +1 -1
  88. package/components/ion-tab-button.js +1 -1
  89. package/components/ion-tab.js +1 -1
  90. package/components/ion-tabs.js +1 -1
  91. package/components/ion-text.js +1 -1
  92. package/components/ion-textarea.js +1 -1
  93. package/components/ion-thumbnail.js +1 -1
  94. package/components/ion-title.js +1 -1
  95. package/components/ion-toast.js +1 -1
  96. package/components/ion-toggle.js +1 -1
  97. package/components/ion-toolbar.js +1 -1
  98. package/components/p-4z5TSFKN.js +4 -0
  99. package/components/p-B4e-N-iU.js +4 -0
  100. package/components/{p-DVa8nma_.js → p-BAId-lif.js} +1 -1
  101. package/components/{p-CsEqD5L_.js → p-BG2WJ00s.js} +1 -1
  102. package/components/{p-DACACVWx.js → p-BPHUpiiM.js} +1 -1
  103. package/components/{p-C6Eoe8TE.js → p-BPhmNtm9.js} +1 -1
  104. package/components/{p-BAAtTHkh.js → p-BVP5mSVm.js} +1 -1
  105. package/components/{p-WjhtXvI0.js → p-BW8F7e0i.js} +1 -1
  106. package/components/{p-CHw0oDIX.js → p-BbKlaMtT.js} +1 -1
  107. package/components/{p-5LnxYgt7.js → p-BeFfed0O.js} +1 -1
  108. package/components/{p-XIe1lvTS.js → p-BiZyTqN_.js} +1 -1
  109. package/components/p-BjZLJLiN.js +4 -0
  110. package/components/{p-B89FqNe7.js → p-BmBGUFc2.js} +1 -1
  111. package/components/{p-Rhx3BXcO.js → p-Bs6l0hmn.js} +1 -1
  112. package/{dist/ionic/p-Cw2UdaY3.js → components/p-C1FMVh-c.js} +1 -1
  113. package/components/p-C2VUMtb_.js +4 -0
  114. package/components/{p-oTJGwohD.js → p-CEQhyzEV.js} +1 -1
  115. package/components/{p-D7J-iv5T.js → p-CGPlqk2U.js} +1 -1
  116. package/components/{p-vrDIiMl4.js → p-CIqj2_kr.js} +1 -1
  117. package/components/{p-Bp-vRdq-.js → p-CK5LoZgF.js} +1 -1
  118. package/components/p-CjipsCSh.js +4 -0
  119. package/components/{p-Zt5D5E38.js → p-CkBN8nLu.js} +1 -1
  120. package/components/{p-DuIBLek5.js → p-CmuQBpNF.js} +1 -1
  121. package/components/{p-DiyUViLU.js → p-CnlUj9Gp.js} +1 -1
  122. package/components/{p-BU1um0go.js → p-CoZdMyjc.js} +1 -1
  123. package/components/p-Cu22S_Bl.js +4 -0
  124. package/components/{p-Cjd_foSx.js → p-CvJCRpUX.js} +1 -1
  125. package/components/{p-z3BvC0Oq.js → p-Cw7d5DbA.js} +1 -1
  126. package/components/p-D-9Kbp9V.js +4 -0
  127. package/components/{p-oMDI2x4Q.js → p-D76C9Iw8.js} +1 -1
  128. package/components/{p-BEN_dW38.js → p-DJGnlsxd.js} +1 -1
  129. package/{dist/ionic/p-Ci4965j8.js → components/p-DMViqAgW.js} +1 -1
  130. package/components/p-DXwlA9fK.js +4 -0
  131. package/components/p-DZnVmCdW.js +4 -0
  132. package/components/p-D_mpvgZo.js +4 -0
  133. package/components/p-DaM57RSp.js +4 -0
  134. package/components/{p-CNJpfJeD.js → p-Debuc-PI.js} +1 -1
  135. package/components/p-Dga790ke.js +4 -0
  136. package/components/{p-BGVimUCE.js → p-DjCSZZsZ.js} +1 -1
  137. package/components/{p-By_XQw23.js → p-DjaPZRNp.js} +1 -1
  138. package/components/{p-CSwBJDKF.js → p-DjkKiJ-Z.js} +1 -1
  139. package/components/{p-CyOxaozL.js → p-DluP6kjT.js} +1 -1
  140. package/components/{p-fywS7BXD.js → p-DmMCzf7n.js} +1 -1
  141. package/components/{p-DrXp7JFH.js → p-DvVp-N7F.js} +1 -1
  142. package/components/p-H5MjXgsw.js +4 -0
  143. package/components/{p-CApfTEZu.js → p-MmeVOM-P.js} +1 -1
  144. package/{dist/ionic/p-7hQRImkK.js → components/p-QTccyPJk.js} +1 -1
  145. package/components/{p-2r7QpBW2.js → p-SWkzJ3qv.js} +1 -1
  146. package/components/{p-CQdSaeqv.js → p-V0GEPf8E.js} +1 -1
  147. package/components/p-VYhssPGK.js +4 -0
  148. package/components/{p-BRwclc4v.js → p-XbNDx_fA.js} +1 -1
  149. package/{dist/ionic/p-D-BSHro8.js → components/p-d8PmTFON.js} +1 -1
  150. package/components/{p-BPW1yhC5.js → p-oIGmkL03.js} +1 -1
  151. package/components/{p-Dt1Xl4fS.js → p-ofv0IK1O.js} +1 -1
  152. package/dist/cjs/{animation-B7oGwLLy.js → animation-DlzccfDd.js} +2 -2
  153. package/dist/cjs/{app-globals-CIBBAkMv.js → app-globals-BBnfXNGo.js} +1 -1
  154. package/dist/cjs/{attribute-controller-CWz9nryP.js → attribute-controller-DFB7TQyv.js} +1 -1
  155. package/dist/cjs/{button-active-B9Tkc4mf.js → button-active-BQ2S4ZWy.js} +2 -2
  156. package/dist/cjs/{capacitor-MxFQgshb.js → capacitor-C3jqMZUp.js} +1 -1
  157. package/dist/cjs/{format-CqApCy46.js → format-BYl04xWn.js} +1 -1
  158. package/dist/cjs/{framework-delegate-DAKg2Azt.js → framework-delegate-DaCOvv4f.js} +1 -1
  159. package/dist/cjs/{haptic-CRRCyhfL.js → haptic-CoLjHjMM.js} +1 -1
  160. package/dist/cjs/{helpers-BDvjDsXt.js → helpers-DNBm7IvL.js} +1 -1
  161. package/dist/cjs/{index-BashZvQB.js → index-B-9fVZ1n.js} +4 -4
  162. package/dist/cjs/{index-BecWuzkK.js → index-B9cvjLlx.js} +2 -2
  163. package/dist/cjs/{index-DJX-8rkB.js → index-BVExV68H.js} +1 -1
  164. package/dist/cjs/{index-D02LHDVd.js → index-BjukzfRx.js} +2 -2
  165. package/dist/cjs/{index-C66ah2Ic.js → index-COPA2qmr.js} +5 -5
  166. package/dist/cjs/{index-CKee8md4.js → index-vpLyKa3B.js} +16 -6
  167. package/dist/cjs/index.cjs.js +11 -11
  168. package/dist/cjs/{input-shims-ClPpap7E.js → input-shims-C55ajY7V.js} +5 -5
  169. package/dist/cjs/{input.utils-DXw7l7p9.js → input.utils-CBj7zmfe.js} +1 -1
  170. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  171. package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -12
  172. package/dist/cjs/ion-alert.cjs.entry.js +12 -12
  173. package/dist/cjs/ion-app_8.cjs.entry.js +16 -16
  174. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  175. package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
  176. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  177. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
  178. package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
  179. package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
  180. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
  181. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  182. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  183. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  184. package/dist/cjs/ion-datetime.cjs.entry.js +6 -6
  185. package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
  186. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  187. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
  188. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  189. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  190. package/dist/cjs/ion-input.cjs.entry.js +6 -6
  191. package/dist/cjs/ion-item-option_3.cjs.entry.js +5 -5
  192. package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
  193. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  194. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  195. package/dist/cjs/ion-modal.cjs.entry.js +12 -12
  196. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
  197. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  198. package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
  199. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  200. package/dist/cjs/ion-popover.cjs.entry.js +8 -8
  201. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  202. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  203. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  204. package/dist/cjs/ion-refresher_2.cjs.entry.js +8 -8
  205. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  206. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  207. package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
  208. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  209. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  210. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  211. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  212. package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
  213. package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
  214. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  215. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  216. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
  217. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  218. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  219. package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
  220. package/dist/cjs/ion-toast.cjs.entry.js +7 -7
  221. package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
  222. package/dist/cjs/{ionic-global-Bt1gOF3y.js → ionic-global-QTK6g1fO.js} +1 -1
  223. package/dist/cjs/ionic.cjs.js +4 -4
  224. package/dist/cjs/{ios.transition-CExZyoOI.js → ios.transition-B3ZEimAt.js} +4 -4
  225. package/dist/cjs/{item-multiple-inputs-DCadv5DD.js → item-multiple-inputs-BCXLvS-7.js} +1 -1
  226. package/dist/cjs/{keyboard-DcLeJI_8.js → keyboard-D09lu9Ui.js} +4 -4
  227. package/dist/cjs/{keyboard-controller-BMyz0P1a.js → keyboard-controller-DdjUnixl.js} +2 -2
  228. package/dist/cjs/{keyboard-OOIuCa13.js → keyboard-m0YvDiQo.js} +1 -1
  229. package/dist/cjs/loader.cjs.js +3 -3
  230. package/dist/cjs/{md.transition-DaAVTRvs.js → md.transition-C6bsrBL9.js} +4 -4
  231. package/dist/cjs/{overlay-focus-boundary-CZ2RXrFn.js → overlay-focus-boundary-CSrlxrNh.js} +2 -2
  232. package/dist/cjs/{overlays-i5Hu742D.js → overlays-CQn_A50_.js} +4 -4
  233. package/dist/cjs/{page-restore-Cu4yZIh3.js → page-restore-DAn6uyjc.js} +1 -1
  234. package/dist/cjs/{select-option-render-XNNDfPjV.js → select-option-render-DlDqVzKp.js} +2 -2
  235. package/dist/cjs/{slot-mutation-controller-DPIgf5CF.js → slot-mutation-controller-CefCz349.js} +1 -1
  236. package/dist/cjs/{status-tap-DsMxsZJD.js → status-tap-kGuqyCj0.js} +3 -3
  237. package/dist/cjs/{swipe-back-DTBGxsBq.js → swipe-back-qjHVCapG.js} +2 -2
  238. package/dist/collection/collection-manifest.json +1 -1
  239. package/dist/docs.json +2 -2
  240. package/dist/esm/{animation-DC5AcIYI.js → animation-BYD6qYqw.js} +2 -2
  241. package/dist/esm/{app-globals-BFed4dT0.js → app-globals-CYnbK2w5.js} +1 -1
  242. package/dist/esm/{attribute-controller-CWhjOrjK.js → attribute-controller-CsxlVqNe.js} +1 -1
  243. package/dist/esm/{button-active-C2jz6R8a.js → button-active-DPPm_VjM.js} +2 -2
  244. package/dist/esm/{capacitor-Bt0eJ0hM.js → capacitor-BtVqr-0a.js} +1 -1
  245. package/dist/esm/{format-C833IXB1.js → format-BgKTubOe.js} +1 -1
  246. package/dist/esm/{framework-delegate-DnTzYR1W.js → framework-delegate-_-r5Mbs1.js} +1 -1
  247. package/dist/esm/{haptic-ChR8my2M.js → haptic-DatoB-5Q.js} +1 -1
  248. package/dist/esm/{helpers-BvbUHGGm.js → helpers-BGy986qP.js} +1 -1
  249. package/dist/esm/{index-BObCPR8a.js → index-BUron7QJ.js} +2 -2
  250. package/dist/esm/{index-MGm9Sl6h.js → index-D22yGpGL.js} +4 -4
  251. package/dist/esm/{index-DFG3GaUN.js → index-DINFvBJj.js} +2 -2
  252. package/dist/esm/{index-I3r9qsv0.js → index-QObOymXw.js} +1 -1
  253. package/dist/esm/{index-BGtO2Fhf.js → index-uFStprb5.js} +16 -6
  254. package/dist/esm/{index-Crsw1OSp.js → index-yy1nOLQ-.js} +5 -5
  255. package/dist/esm/index.js +11 -11
  256. package/dist/esm/{input-shims-DmHorap3.js → input-shims-DxCUOpoX.js} +5 -5
  257. package/dist/esm/{input.utils-CBbgDLtb.js → input.utils-BIAhIO4-.js} +1 -1
  258. package/dist/esm/ion-accordion_2.entry.js +3 -3
  259. package/dist/esm/ion-action-sheet.entry.js +12 -12
  260. package/dist/esm/ion-alert.entry.js +12 -12
  261. package/dist/esm/ion-app_8.entry.js +16 -16
  262. package/dist/esm/ion-avatar_3.entry.js +2 -2
  263. package/dist/esm/ion-back-button.entry.js +4 -4
  264. package/dist/esm/ion-backdrop.entry.js +2 -2
  265. package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
  266. package/dist/esm/ion-button_2.entry.js +4 -4
  267. package/dist/esm/ion-card_5.entry.js +4 -4
  268. package/dist/esm/ion-checkbox.entry.js +4 -4
  269. package/dist/esm/ion-chip.entry.js +2 -2
  270. package/dist/esm/ion-col_3.entry.js +2 -2
  271. package/dist/esm/ion-datetime-button.entry.js +4 -4
  272. package/dist/esm/ion-datetime.entry.js +6 -6
  273. package/dist/esm/ion-fab_3.entry.js +4 -4
  274. package/dist/esm/ion-img.entry.js +3 -3
  275. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
  276. package/dist/esm/ion-input-otp.entry.js +3 -3
  277. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  278. package/dist/esm/ion-input.entry.js +6 -6
  279. package/dist/esm/ion-item-option_3.entry.js +5 -5
  280. package/dist/esm/ion-item_8.entry.js +4 -4
  281. package/dist/esm/ion-loading.entry.js +8 -8
  282. package/dist/esm/ion-menu_3.entry.js +8 -8
  283. package/dist/esm/ion-modal.entry.js +12 -12
  284. package/dist/esm/ion-nav_2.entry.js +6 -6
  285. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  286. package/dist/esm/ion-picker-column.entry.js +5 -5
  287. package/dist/esm/ion-picker.entry.js +2 -2
  288. package/dist/esm/ion-popover.entry.js +8 -8
  289. package/dist/esm/ion-progress-bar.entry.js +3 -3
  290. package/dist/esm/ion-radio_2.entry.js +4 -4
  291. package/dist/esm/ion-range.entry.js +4 -4
  292. package/dist/esm/ion-refresher_2.entry.js +8 -8
  293. package/dist/esm/ion-reorder_2.entry.js +6 -6
  294. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  295. package/dist/esm/ion-route_4.entry.js +5 -5
  296. package/dist/esm/ion-searchbar.entry.js +4 -4
  297. package/dist/esm/ion-segment-content.entry.js +1 -1
  298. package/dist/esm/ion-segment-view.entry.js +1 -1
  299. package/dist/esm/ion-segment_2.entry.js +4 -4
  300. package/dist/esm/ion-select-modal.entry.js +7 -7
  301. package/dist/esm/ion-select_3.entry.js +9 -9
  302. package/dist/esm/ion-spinner.entry.js +2 -2
  303. package/dist/esm/ion-split-pane.entry.js +2 -2
  304. package/dist/esm/ion-tab-bar_2.entry.js +7 -7
  305. package/dist/esm/ion-tab_2.entry.js +3 -3
  306. package/dist/esm/ion-text.entry.js +2 -2
  307. package/dist/esm/ion-textarea.entry.js +5 -5
  308. package/dist/esm/ion-toast.entry.js +7 -7
  309. package/dist/esm/ion-toggle.entry.js +6 -6
  310. package/dist/esm/{ionic-global-BDyJ_8I-.js → ionic-global-BUMBTNBh.js} +1 -1
  311. package/dist/esm/ionic.js +5 -5
  312. package/dist/esm/{ios.transition-BRRzMHfK.js → ios.transition-BpwDTdvj.js} +4 -4
  313. package/dist/esm/{item-multiple-inputs-IPlsPhUJ.js → item-multiple-inputs-0UgndTBq.js} +1 -1
  314. package/dist/esm/{keyboard-BFjnkNMv.js → keyboard-7B2XoG-w.js} +1 -1
  315. package/dist/esm/{keyboard-DUoJXTRE.js → keyboard-BYoxr1oW.js} +4 -4
  316. package/dist/esm/{keyboard-controller-BA84p4ML.js → keyboard-controller-YSWkCPGy.js} +2 -2
  317. package/dist/esm/loader.js +4 -4
  318. package/dist/esm/{md.transition-BlNVIP5o.js → md.transition-8JQ5A2YB.js} +4 -4
  319. package/dist/esm/{overlay-focus-boundary-CCNk7ciy.js → overlay-focus-boundary-CWQiIajC.js} +2 -2
  320. package/dist/esm/{overlays-Xm0t_lkB.js → overlays-CzadOuIw.js} +4 -4
  321. package/dist/esm/{page-restore-Bsdr7iUh.js → page-restore-CNWCTzxd.js} +1 -1
  322. package/dist/esm/{select-option-render-BUBAvw2_.js → select-option-render-DHHau8BW.js} +2 -2
  323. package/dist/esm/{slot-mutation-controller-DBmgz_0k.js → slot-mutation-controller-DNxd1bl7.js} +1 -1
  324. package/dist/esm/{status-tap-z4LuyVUt.js → status-tap-BiQx78ee.js} +3 -3
  325. package/dist/esm/{swipe-back-C1eBKfiK.js → swipe-back-CZd7IfGd.js} +2 -2
  326. package/dist/ionic/index.esm.js +1 -1
  327. package/dist/ionic/ionic.esm.js +1 -1
  328. package/dist/ionic/{p-580719a5.entry.js → p-061ba881.entry.js} +1 -1
  329. package/dist/ionic/{p-ddc84221.entry.js → p-10ed267f.entry.js} +1 -1
  330. package/dist/ionic/{p-eebb7bda.entry.js → p-156cd0c6.entry.js} +1 -1
  331. package/dist/ionic/{p-21695669.entry.js → p-16c12ab0.entry.js} +1 -1
  332. package/dist/ionic/{p-1616c2e3.entry.js → p-29b5c451.entry.js} +1 -1
  333. package/dist/ionic/{p-73865b4d.entry.js → p-38b60d46.entry.js} +1 -1
  334. package/dist/ionic/{p-2687e36e.entry.js → p-39109311.entry.js} +1 -1
  335. package/dist/ionic/{p-2b7d88a2.entry.js → p-41595411.entry.js} +1 -1
  336. package/dist/ionic/{p-cf03115e.entry.js → p-49353ba3.entry.js} +1 -1
  337. package/dist/ionic/{p-e743b494.entry.js → p-502b3b55.entry.js} +1 -1
  338. package/dist/ionic/{p-45b89e66.entry.js → p-50e0cf1e.entry.js} +1 -1
  339. package/dist/ionic/{p-6a746af4.entry.js → p-59440b91.entry.js} +1 -1
  340. package/dist/ionic/{p-ee32fe1e.entry.js → p-5a79d5f5.entry.js} +1 -1
  341. package/dist/ionic/{p-6e7d46fa.entry.js → p-5d45d791.entry.js} +1 -1
  342. package/dist/ionic/{p-1ade69d2.entry.js → p-63be88eb.entry.js} +1 -1
  343. package/dist/ionic/{p-66adc5a1.entry.js → p-6f40f52a.entry.js} +1 -1
  344. package/dist/ionic/{p-0f86b7c9.entry.js → p-6fc4784d.entry.js} +1 -1
  345. package/dist/ionic/{p-5d84aaf7.entry.js → p-725ca555.entry.js} +1 -1
  346. package/dist/ionic/{p-d3657292.entry.js → p-74d4dcce.entry.js} +1 -1
  347. package/dist/ionic/{p-062c7ac1.entry.js → p-7b0aef50.entry.js} +1 -1
  348. package/dist/ionic/{p-79e645bd.entry.js → p-7c2e9d9f.entry.js} +1 -1
  349. package/dist/ionic/{p-6031e8ec.entry.js → p-81f1c2ae.entry.js} +1 -1
  350. package/dist/ionic/{p-465331aa.entry.js → p-8f9fa3c7.entry.js} +1 -1
  351. package/dist/ionic/{p-1b7a15d4.entry.js → p-9321f62f.entry.js} +1 -1
  352. package/dist/ionic/{p-27c5a761.entry.js → p-952409d3.entry.js} +1 -1
  353. package/dist/ionic/{p-C7A9OQcL.js → p-BAqE8tUg.js} +1 -1
  354. package/dist/ionic/p-BBBnHcNG.js +4 -0
  355. package/dist/ionic/p-BFtwn6zO.js +4 -0
  356. package/dist/ionic/{p-de2BC0yO.js → p-BHPNO6ja.js} +1 -1
  357. package/dist/ionic/p-BRzjwFMi.js +4 -0
  358. package/dist/ionic/{p-Djxbup9p.js → p-BZf0THeN.js} +1 -1
  359. package/dist/ionic/p-B_Md9dSU.js +4 -0
  360. package/dist/ionic/{p-CNyAVKal.js → p-Behw7xh8.js} +1 -1
  361. package/dist/ionic/{p-ynrl9u5l.js → p-Bp47w0ZS.js} +1 -1
  362. package/dist/ionic/p-Bs8mucSo.js +4 -0
  363. package/dist/ionic/{p-DRGrDfWv.js → p-BxHLmLX1.js} +1 -1
  364. package/dist/ionic/{p-D0_5-Ckh.js → p-CGfIEco6.js} +1 -1
  365. package/{components/p-DDML-XXM.js → dist/ionic/p-CIlx2LFR.js} +1 -1
  366. package/dist/ionic/{p-D3flizxM.js → p-CJQh8p4r.js} +1 -1
  367. package/dist/ionic/p-CSH25_Bl.js +4 -0
  368. package/dist/ionic/{p-C_0lvVN_.js → p-C_a0nr27.js} +1 -1
  369. package/dist/ionic/{p-DJqMQDf-.js → p-D981kEuI.js} +1 -1
  370. package/dist/ionic/p-DNevhlPw.js +4 -0
  371. package/dist/ionic/{p-e6vEFj_7.js → p-DOAJgEZe.js} +1 -1
  372. package/dist/ionic/{p-Dsf_kOyV.js → p-DQEwYoYk.js} +1 -1
  373. package/{components/p-D2CH_C1y.js → dist/ionic/p-DW5lJnDf.js} +1 -1
  374. package/dist/ionic/p-DZWBS9J6.js +4 -0
  375. package/dist/ionic/p-Dnxv8bGO.js +4 -0
  376. package/dist/ionic/{p-CjUT_VTP.js → p-DtzLTqLT.js} +1 -1
  377. package/dist/ionic/{p-B9cO-kYV.js → p-Dy5ODIkp.js} +1 -1
  378. package/dist/ionic/p-TucAhQ7c.js +4 -0
  379. package/dist/ionic/p-YsbDGprQ.js +4 -0
  380. package/dist/ionic/{p-35f6b2c2.entry.js → p-a63e20ae.entry.js} +1 -1
  381. package/dist/ionic/{p-eb00b546.entry.js → p-b2693dfd.entry.js} +1 -1
  382. package/dist/ionic/{p-b872f43e.entry.js → p-b33969da.entry.js} +1 -1
  383. package/dist/ionic/{p-f1522504.entry.js → p-b5d7df34.entry.js} +1 -1
  384. package/dist/ionic/{p-207bdd52.entry.js → p-b9dd7fd3.entry.js} +1 -1
  385. package/dist/ionic/{p-e9ec0336.entry.js → p-bd6286d3.entry.js} +1 -1
  386. package/dist/ionic/{p-35ba2f57.entry.js → p-c19b22e4.entry.js} +1 -1
  387. package/dist/ionic/{p-42602b39.entry.js → p-c1c958b6.entry.js} +1 -1
  388. package/dist/ionic/{p-17217288.entry.js → p-c328ccd2.entry.js} +1 -1
  389. package/dist/ionic/{p-fb3ddd88.entry.js → p-c391fa2d.entry.js} +1 -1
  390. package/dist/ionic/p-c6cf173a.entry.js +4 -0
  391. package/dist/ionic/{p-bf720fd6.entry.js → p-c82b9058.entry.js} +1 -1
  392. package/dist/ionic/{p-4fca5021.entry.js → p-c8a48b15.entry.js} +1 -1
  393. package/dist/ionic/{p-edb64272.entry.js → p-ca65a767.entry.js} +1 -1
  394. package/dist/ionic/{p-a6f903d7.entry.js → p-cbe648c7.entry.js} +1 -1
  395. package/dist/ionic/{p-d16a14d0.entry.js → p-d30489e6.entry.js} +1 -1
  396. package/dist/ionic/{p-4df1b117.entry.js → p-dc6be1a6.entry.js} +1 -1
  397. package/dist/ionic/{p-2090c9dd.entry.js → p-e17dba82.entry.js} +1 -1
  398. package/dist/ionic/{p-ca608663.entry.js → p-ea467e6b.entry.js} +1 -1
  399. package/dist/ionic/{p-6f48a2ef.entry.js → p-ecc36a41.entry.js} +1 -1
  400. package/dist/ionic/p-f2500ead.entry.js +4 -0
  401. package/dist/ionic/{p-09e8cdf7.entry.js → p-f437b1c1.entry.js} +1 -1
  402. package/dist/ionic/{p-30b31038.entry.js → p-f693211b.entry.js} +1 -1
  403. package/dist/ionic/{p-103d7546.entry.js → p-f79b8489.entry.js} +1 -1
  404. package/dist/ionic/p-fa800994.entry.js +4 -0
  405. package/dist/ionic/{p-71afd3ee.entry.js → p-fe2072b9.entry.js} +1 -1
  406. package/dist/ionic/{p-c7315410.entry.js → p-fe2ddbef.entry.js} +1 -1
  407. package/dist/ionic/p-l87wJDEi.js +4 -0
  408. package/dist/ionic/p-u2H7Vgbn.js +4 -0
  409. package/dist/ionic/p-uFStprb5.js +6 -0
  410. package/dist/ionic/p-uie7xeDT.js +4 -0
  411. package/hydrate/index.js +2 -2
  412. package/hydrate/index.mjs +2 -2
  413. package/package.json +4 -4
  414. package/components/p-BqRR1T5F.js +0 -4
  415. package/components/p-C6mx0RsH.js +0 -4
  416. package/components/p-CHtaS-1H.js +0 -4
  417. package/components/p-CVWleXIL.js +0 -4
  418. package/components/p-Cc_TDlHf.js +0 -4
  419. package/components/p-CekDicbC.js +0 -4
  420. package/components/p-ChRi5CSK.js +0 -4
  421. package/components/p-ChqSZmyn.js +0 -4
  422. package/components/p-CxYMGJTr.js +0 -4
  423. package/components/p-DBdOjgB_.js +0 -4
  424. package/components/p-DJaeKpJp.js +0 -4
  425. package/components/p-DPypH5J1.js +0 -4
  426. package/components/p-DSGxE4YQ.js +0 -4
  427. package/components/p-Dhhot0Wu.js +0 -4
  428. package/components/p-Di_8hcJD.js +0 -4
  429. package/components/p-dgUknkY4.js +0 -4
  430. package/dist/ionic/p-179b25d7.entry.js +0 -4
  431. package/dist/ionic/p-1feuPAQy.js +0 -4
  432. package/dist/ionic/p-BGtO2Fhf.js +0 -6
  433. package/dist/ionic/p-BmeHOspf.js +0 -4
  434. package/dist/ionic/p-CBq1CZwb.js +0 -4
  435. package/dist/ionic/p-CRgN46qV.js +0 -4
  436. package/dist/ionic/p-CYKfkI6i.js +0 -4
  437. package/dist/ionic/p-D5TRCRie.js +0 -4
  438. package/dist/ionic/p-DCzujr0Q.js +0 -4
  439. package/dist/ionic/p-Dqz9qh-H.js +0 -4
  440. package/dist/ionic/p-RJtRqfIz.js +0 -4
  441. package/dist/ionic/p-SfKXFiOB.js +0 -4
  442. package/dist/ionic/p-UUJgswAN.js +0 -4
  443. package/dist/ionic/p-c976fea2.entry.js +0 -4
  444. package/dist/ionic/p-df9ebba7.entry.js +0 -4
  445. package/dist/ionic/p-rXvVaOP9.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "9.0.12-nightly.20261117",
3
+ "version": "9.0.12",
4
4
  "description": "Base components for Ionic",
5
5
  "engines": {
6
6
  "node": ">= 16"
@@ -66,7 +66,7 @@
66
66
  "loader/"
67
67
  ],
68
68
  "dependencies": {
69
- "@stencil/core": "^4.45.3",
69
+ "@stencil/core": "^4.45.4",
70
70
  "ionicons": "^8.1.0",
71
71
  "tslib": "^2.1.0"
72
72
  },
@@ -80,7 +80,7 @@
80
80
  "@eslint/js": "^9.0.0",
81
81
  "@ionic/eslint-config": "^0.3.0",
82
82
  "@ionic/prettier-config": "^2.0.0",
83
- "@playwright/test": "^1.64.1",
83
+ "@playwright/test": "^1.65.1",
84
84
  "@rollup/plugin-node-resolve": "^8.4.0",
85
85
  "@rollup/plugin-virtual": "^2.0.3",
86
86
  "@stencil/angular-output-target": "^1.4.1",
@@ -102,7 +102,7 @@
102
102
  "fs-extra": "^9.0.1",
103
103
  "jest": "^29.7.0",
104
104
  "jest-cli": "^29.7.0",
105
- "playwright-core": "^1.64.1",
105
+ "playwright-core": "^1.65.1",
106
106
  "prettier": "^2.6.1",
107
107
  "rollup": "^2.26.4",
108
108
  "sass": "^1.33.0",
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as t}from"./p-Dhhot0Wu.js";import{c as r}from"./p-DPypH5J1.js";import{c as s,t as e,e as a}from"./p-oTJGwohD.js";const o=t=>{const r=t.previousElementSibling;return null!==r&&"ION-HEADER"===r.tagName?"translate":"scale"},n=(t,r,s)=>"scale"===t?i(r,s):p(r,s),f=t=>{const s=t.querySelector("ion-spinner"),e=s.shadowRoot.querySelector("circle"),a=t.querySelector(".spinner-arrow-container"),o=t.querySelector(".arrow-container"),n=o?o.querySelector("ion-icon"):null,f=r().duration(1e3).easing("ease-out"),i=r().addElement(a).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),p=r().addElement(e).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),c=r().addElement(s).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(o&&n){const t=r().addElement(o).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),s=r().addElement(n).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);f.addAnimation([t,s])}return f.addAnimation([i,p,c])},i=(t,s)=>{const e=s.clientHeight,a=r().addElement(t).keyframes([{offset:0,transform:`scale(0) translateY(-${e}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return f(t).addAnimation([a])},p=(t,s)=>{const e=s.clientHeight,a=r().addElement(t).keyframes([{offset:0,transform:`translateY(-${e}px)`},{offset:1,transform:"translateY(100px)"}]);return f(t).addAnimation([a])},c=t=>r().duration(125).addElement(t).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"),l=(t,r)=>{t.style.setProperty("opacity",r.toString())},m=(r,s,e)=>{t((()=>{r.forEach(((t,r)=>{const o=r*(1/s),n=a(0,(e-o)/(1-o),1);t.style.setProperty("opacity",n.toString())}))}))},x=(r,s)=>{t((()=>{r.style.setProperty("--refreshing-rotation-duration",s>=1?"0.5s":"2s"),r.style.setProperty("opacity","1")}))},u=(r,s,a=200)=>{if(!r)return Promise.resolve();const o=e(r,a);return t((()=>{r.style.setProperty("transition",`${a}ms all ease-out`),void 0===s?r.style.removeProperty("transform"):r.style.setProperty("transform",`translate3d(0px, ${s}, 0px)`)})),o},h=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),g=async(t,r)=>{const e=t.querySelector("ion-refresher-content");if(!e)return Promise.resolve(!1);await new Promise((t=>s(e,t)));const a=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),o=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==a&&null!==o&&("ios"===r&&h()||"md"===r)};export{l as a,m as b,c,n as d,h as e,o as g,x as h,g as s,u as t}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as t}from"./p-ZjP4CjeZ.js";import{e as o,c as e}from"./p-Dhhot0Wu.js";const n=()=>o.get("experimentalCloseWatcher",!1)&&void 0!==t&&"CloseWatcher"in t,i=()=>{document.addEventListener("backbutton",(()=>{}))},r=[];let a;const c=t=>{r.push(t)},s=()=>{a?.()},l=()=>{const o=document;let i=!1;const c=()=>{if(i)return;let t=0,n=[];const r=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(o,e){n.push({priority:o,handler:e,id:t++})}}});o.dispatchEvent(r);const a=()=>{if(n.length>0){let t={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};n.forEach((o=>{o.priority>=t.priority&&(t=o)})),i=!0,n=n.filter((o=>o.id!==t.id)),(async t=>{try{if(t?.handler){const o=t.handler(a);null!=o&&await o}}catch(t){e("[ion-app] - Exception in startHardwareBackButton:",t)}})(t).then((()=>i=!1))}};a()};if(o.addEventListener("backbutton",c),n()){let o;a=()=>{if(!r.some((t=>t())))return o?.destroy(),void(o=void 0);void 0===o&&(o=new t.CloseWatcher,o.onclose=()=>{o=void 0,c(),a?.()})},a()}},d=100,u=99;export{u as MENU_BACK_BUTTON_PRIORITY,d as OVERLAY_BACK_BUTTON_PRIORITY,c as addCloseWatcherCondition,i as blockHardwareBackButton,n as shouldUseCloseWatcher,l as startHardwareBackButton,s as updateCloseWatcher}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as o}from"./p-oTJGwohD.js";import{u as s}from"./p-Dhhot0Wu.js";const r="ion-content",e=".ion-content-scroll-host",t=`${r}, ${e}`,n=o=>"ION-CONTENT"===o.tagName,a=async s=>n(s)?(await new Promise((r=>o(s,r))),s.getScrollElement()):s,i=o=>o.querySelector(e)||o.querySelector(t),l=o=>o.closest(t),f=o=>o.querySelector(e),h=o=>{if(n(o))return o.querySelector("ion-refresher");const s=o.closest(r);if(null===s)return null;const e=f(s);return null!==e&&e.contains(o)?s.querySelector("ion-refresher"):null},u=(o,s)=>n(o)?o.scrollToTop(s):Promise.resolve(o.scrollTo({top:0,left:0,behavior:"smooth"})),c=(o,s,r,e)=>n(o)?o.scrollByPoint(s,r,e):Promise.resolve(o.scrollBy({top:r,left:s,behavior:e>0?"smooth":"auto"})),m=o=>s(o,r),p=o=>{if(n(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},w=(o,s)=>{n(o)?o.scrollY=s:o.style.removeProperty("overflow")};export{e as I,l as a,h as b,r as c,p as d,f as e,i as f,a as g,c as h,n as i,m as p,w as r,u as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{k as e,w as o,d as t,H as n,h as a,f as i,t as s}from"./p-Dhhot0Wu.js";import{g as r,f as l,p as d}from"./p-CHtaS-1H.js";import{e as c,i as h}from"./p-oTJGwohD.js";import{h as p}from"./p-byZM6qHV.js";import{b}from"./p-BRwclc4v.js";const u="none",f="banner",m=e=>{const o=document.querySelector(`${e}.ion-cloned-element`);if(null!==o)return o;const t=document.createElement(e);return t.classList.add("ion-cloned-element"),t.style.setProperty("display","none"),document.body.appendChild(t),t},x=e=>{if(!e)return;const o=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(o).map((e=>{const o=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:o,innerTitleEl:o?o.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}}))}},y=(e,o)=>{"fade"!==e.collapse&&(void 0===o?e.style.removeProperty("--opacity-scale"):e.style.setProperty("--opacity-scale",o.toString()))},g=(e,o=!0)=>{const t=e.el,n=e.toolbars.map((e=>e.ionTitleEl));o?(t.setAttribute("role",f),t.classList.remove("header-collapse-condense-inactive"),n.forEach((e=>{e&&e.removeAttribute("aria-hidden")}))):(t.setAttribute("role",u),t.classList.add("header-collapse-condense-inactive"),n.forEach((e=>{e&&e.setAttribute("aria-hidden","true")})))},k=(t,n,a)=>{e((()=>{const e=t.scrollTop,i=n.clientHeight,s=a?a.clientHeight:0;if(null!==a&&e<s)return n.style.setProperty("--opacity-scale","0"),void t.style.setProperty("clip-path",`inset(${i}px 0px 0px 0px)`);const r=c(0,(e-s)/10,1);o((()=>{t.style.removeProperty("clip-path"),n.style.setProperty("--opacity-scale",r.toString())}))}))},v=t(class extends n{constructor(e){super(),!1!==e&&this.__registerHost(),this.inheritedAttributes={},this.translucent=!1,this.setupFadeHeader=async(e,o)=>{const t=this.scrollEl=await r(e);this.contentScrollCallback=()=>{k(this.scrollEl,this.el,o)},t.addEventListener("scroll",this.contentScrollCallback),k(this.scrollEl,this.el,o)}}componentWillLoad(){this.inheritedAttributes=h(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){if("ios"!==b(this))return;const{collapse:e}=this,t="condense"===e,n="fade"===e;if(this.destroyCollapsibleHeader(),t){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?l(e):null;o((()=>{m("ion-title").size="large",m("ion-back-button")})),await this.setupCondenseHeader(t,e)}else if(n){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),o=e?l(e):null;if(!o)return void d(this.el);const t=o.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(o,t)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(t,n){if(!t||!n)return void d(this.el);if("undefined"==typeof IntersectionObserver)return;this.scrollEl=await r(t);const a=n.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(a).find((e=>"condense"!==e.collapse)),!this.collapsibleMainHeader)return;const i=x(this.collapsibleMainHeader),s=x(this.el);i&&s&&(g(i,!1),y(i.el,0),this.intersectionObserver=new IntersectionObserver((e=>{((e,t,n,a)=>{o((()=>{const o=a.scrollTop;((e,o,t)=>{if(!e[0].isIntersecting)return;const n=e[0].intersectionRatio>.9||t<=0?0:100*(1-e[0].intersectionRatio)/75;y(o.el,1===n?void 0:n)})(e,t,o);const i=e[0],s=i.intersectionRect,r=s.width*s.height,l=0===r&&0==i.rootBounds.width*i.rootBounds.height,d=Math.abs(s.left-i.boundingClientRect.left),c=Math.abs(s.right-i.boundingClientRect.right);l||r>0&&(d>=5||c>=5)||(i.isIntersecting?(g(t,!1),g(n)):(0===s.x&&0===s.y||0!==s.width&&0!==s.height)&&o>0&&(g(t),g(n,!1),y(t.el)))}))})(e,i,s,this.scrollEl)}),{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(s.toolbars[s.toolbars.length-1].el),this.contentScrollCallback=()=>{((t,n,a)=>{e((()=>{const e=c(1,1+-t.scrollTop/500,1.1);null===a.querySelector("ion-refresher.refresher-native")&&o((()=>{((e=[],o=1,t=!1)=>{e.forEach((e=>{const n=e.ionTitleEl,a=e.innerTitleEl;n&&"large"===n.size&&(a.style.transition=t?"all 0.2s ease-in-out":"",a.style.transform=`scale3d(${o}, ${o}, 1)`)}))})(n.toolbars,e)}))}))})(this.scrollEl,s,t)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),o((()=>{void 0!==this.collapsibleMainHeader&&this.collapsibleMainHeader.classList.add("header-collapse-main")})))}render(){const{translucent:e,inheritedAttributes:o}=this,t=b(this),n=this.collapse||"none",s="condense"===n,r=((e,o,t)=>e||o&&"md"===t?u:f)(p("ion-menu",this.el),s,t);return a(i,{key:"863c4568cd7b8c0ec55109f193bbbaed68a1346e",role:r,class:{[t]:!0,[`header-${t}`]:!0,"header-translucent":this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${t}`]:this.translucent},...o},"ios"===t&&e&&a("div",{key:"25c3bdce328b0b35607d154c8b8374679313d881",class:"header-background"}),a("slot",{key:"b44fab0a9be7920b9650da26117c783e751e1702"}))}get el(){return this}static get style(){return{ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-md.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"}}},[292,"ion-header",{collapse:[1],translucent:[4]}]);function w(){"undefined"!=typeof customElements&&["ion-header"].forEach((e=>{"ion-header"===e&&(customElements.get(s(e))||customElements.define(s(e),v))}))}export{v as H,w as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{d as o,H as e,h as t,j as i,f as c,t as s}from"./p-Dhhot0Wu.js";import{b as n}from"./p-BRwclc4v.js";import{a as l,g as a}from"./p-BSQPZ79H.js";import{s as d}from"./p-DACACVWx.js";import{r}from"./p-DBdOjgB_.js";import{g as m}from"./p-byZM6qHV.js";import{d as p}from"./p-vrDIiMl4.js";import{d as h}from"./p-B89FqNe7.js";import{d as b}from"./p-CApfTEZu.js";import{d as x}from"./p-Rhx3BXcO.js";import{d as f}from"./p-CVWleXIL.js";import{d as g}from"./p-BU1um0go.js";import{d as u}from"./p-DiyUViLU.js";import{d as k}from"./p-DrXp7JFH.js";import{d as v}from"./p-By_XQw23.js";import{d as y}from"./p-2r7QpBW2.js";import{d as w}from"./p-fywS7BXD.js";import{d as j}from"./p-oMDI2x4Q.js";import{d as E}from"./p-z3BvC0Oq.js";const C=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.pendingEnterTarget=null,this.cancelText="Close",this.options=[]}closeModal(){const o=this.el.closest("ion-modal");o&&o.dismiss()}findOptionFromEvent(o){const{options:e}=this;return e.find((e=>e.value===o.target.value))}getValues(o){const{multiple:e,options:t}=this;if(e)return t.filter((o=>o.checked)).map((o=>o.value));const i=o?this.findOptionFromEvent(o):null;return i?i.value:void 0}callOptionHandler(o){const e=this.findOptionFromEvent(o),t=this.getValues(o);e?.handler&&d(e.handler,t)}setChecked(o){const{multiple:e}=this,t=this.findOptionFromEvent(o);e&&t&&(t.checked=o.detail.checked)}renderRadioOptions(){const o=n(this),e=this.options.filter((o=>o.checked)).map((o=>o.value))[0];return t("ion-radio-group",{value:e,onIonChange:o=>this.callOptionHandler(o)},this.options.map(((i,c)=>{const s=i,n=!!s.startContent||!!s.endContent||!!s.description,d={id:`modal-option-${c}`,label:s.text,startContent:s.startContent,endContent:s.endContent,description:s.description},p=l(o,"radio","modal"),h=a(o,"radio","modal");return t("ion-item",{lines:"none",disabled:i.disabled,class:{"item-radio-checked":i.value===e,...m(i.cssClass)}},t("ion-radio",{class:{"select-option-has-rich-content":n},value:i.value,disabled:i.disabled,justify:s.justify??h,labelPlacement:s.labelPlacement??p,onClick:()=>this.closeModal(),onKeyDown:o=>{"Enter"!==o.key||o.repeat||(this.pendingEnterTarget=o.currentTarget)},onKeyUp:o=>{if(" "===o.key)this.closeModal();else if("Enter"===o.key){const e=this.pendingEnterTarget===o.currentTarget;this.pendingEnterTarget=null,e&&this.closeModal()}}},r(d,"select-option-label")))})))}renderCheckboxOptions(){const o=n(this);return this.options.map(((e,c)=>{const s=e,n=!!s.startContent||!!s.endContent||!!s.description,d={id:`modal-option-${c}`,label:s.text,startContent:s.startContent,endContent:s.endContent,description:s.description},p=l(o,"checkbox","modal"),h=a(o,"checkbox","modal");return t("ion-item",{disabled:e.disabled,class:{"item-checkbox-checked":e.checked,...m(e.cssClass)}},t("ion-checkbox",{class:{"select-option-has-rich-content":n},value:e.value,disabled:e.disabled,checked:e.checked,justify:s.justify??h,labelPlacement:s.labelPlacement??p,onIonChange:o=>{this.setChecked(o),this.callOptionHandler(o),i(this)}},r(d,"select-option-label")))}))}render(){return t(c,{key:"2637fb69c9388122020b9cf628cf16fdd2e2179b",class:n(this)},t("ion-header",{key:"ff9e61a03c09f43c27db940e39db14dd2737e221"},t("ion-toolbar",{key:"56aa98fa0f06dd65cbc8fe7b383659d1df8d9626"},void 0!==this.header&&t("ion-title",{key:"c30642e641445d5ed826f2285d7296ea0c71469e"},this.header),t("ion-buttons",{key:"e87ec2fc60857219870d2e07d3287695a8d1e668",slot:"end"},t("ion-button",{key:"33801ad7c3706a89faad34fc557943628444b84a",onClick:()=>this.closeModal()},this.cancelText)))),t("ion-content",{key:"6796d924d0cfd0840c121eb2e703f6fc7b7137cb"},t("ion-list",{key:"82ebe25cc0854f6edf51a2eae83c880b2772dc3a"},!0===this.multiple?this.renderCheckboxOptions():this.renderRadioOptions())))}get el(){return this}static get style(){return{ionic:'.action-sheet-button-label-has-rich-content.sc-ion-select-modal-ionic,.alert-radio-label-has-rich-content.sc-ion-select-modal-ionic,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-ionic,.select-option-label-has-rich-content.sc-ion-select-modal-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-select-modal-ionic,.alert-radio-label-has-rich-content.sc-ion-select-modal-ionic,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-ionic,.select-option-content.sc-ion-select-modal-ionic{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-modal-ionic,.alert-checkbox-label-text.sc-ion-select-modal-ionic,.alert-radio-label-text.sc-ion-select-modal-ionic,.select-option-label-text.sc-ion-select-modal-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-modal-ionic{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-select-modal-ionic:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-select-modal-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-modal-ionic::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-modal-ionic [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-ionic::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-ionic [part~="label"],.select-option-content.sc-ion-select-modal-ionic{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-modal-ionic>ion-avatar.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>ion-avatar.sc-ion-select-modal-ionic{width:40px;height:40px}.select-option-start.sc-ion-select-modal-ionic>ion-icon.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>ion-icon.sc-ion-select-modal-ionic{font-size:24px}.select-option-start.sc-ion-select-modal-ionic>ion-img.sc-ion-select-modal-ionic,.select-option-start.sc-ion-select-modal-ionic>img.sc-ion-select-modal-ionic,.select-option-start.sc-ion-select-modal-ionic>svg.sc-ion-select-modal-ionic,.select-option-start.sc-ion-select-modal-ionic>ion-thumbnail.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>ion-img.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>img.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>svg.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>ion-thumbnail.sc-ion-select-modal-ionic{width:56px;height:56px}.select-option-start.sc-ion-select-modal-ionic>video.sc-ion-select-modal-ionic,.select-option-end.sc-ion-select-modal-ionic>video.sc-ion-select-modal-ionic{width:114px;height:56px}.sc-ion-select-modal-ionic-h{height:100%}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="container"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-ionic{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-ionic{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-ionic{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}',ios:'.action-sheet-button-label-has-rich-content.sc-ion-select-modal-ios,.alert-radio-label-has-rich-content.sc-ion-select-modal-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-ios,.select-option-label-has-rich-content.sc-ion-select-modal-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-select-modal-ios,.alert-radio-label-has-rich-content.sc-ion-select-modal-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-ios,.select-option-content.sc-ion-select-modal-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-modal-ios,.alert-checkbox-label-text.sc-ion-select-modal-ios,.alert-radio-label-text.sc-ion-select-modal-ios,.select-option-label-text.sc-ion-select-modal-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-modal-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-select-modal-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-select-modal-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-modal-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-modal-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-ios [part~="label"],.select-option-content.sc-ion-select-modal-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-modal-ios>ion-avatar.sc-ion-select-modal-ios,.select-option-start.sc-ion-select-modal-ios>ion-img.sc-ion-select-modal-ios,.select-option-start.sc-ion-select-modal-ios>ion-thumbnail.sc-ion-select-modal-ios,.select-option-start.sc-ion-select-modal-ios>img.sc-ion-select-modal-ios,.select-option-start.sc-ion-select-modal-ios>svg.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>ion-avatar.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>ion-img.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>ion-thumbnail.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>img.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>svg.sc-ion-select-modal-ios{width:44px;height:44px}.select-option-start.sc-ion-select-modal-ios>ion-icon.sc-ion-select-modal-ios,.select-option-end.sc-ion-select-modal-ios>ion-icon.sc-ion-select-modal-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-select-modal-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-select-modal-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-select-modal-ios-h{height:100%}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));content:""}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}',md:'.action-sheet-button-label-has-rich-content.sc-ion-select-modal-md,.alert-radio-label-has-rich-content.sc-ion-select-modal-md,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-md,.select-option-label-has-rich-content.sc-ion-select-modal-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-select-modal-md,.alert-radio-label-has-rich-content.sc-ion-select-modal-md,.alert-checkbox-label-has-rich-content.sc-ion-select-modal-md,.select-option-content.sc-ion-select-modal-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-modal-md,.alert-checkbox-label-text.sc-ion-select-modal-md,.alert-radio-label-text.sc-ion-select-modal-md,.select-option-label-text.sc-ion-select-modal-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-modal-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-select-modal-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-select-modal-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-modal-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-modal-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-modal-md [part~="label"],.select-option-content.sc-ion-select-modal-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-modal-md>ion-avatar.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>ion-avatar.sc-ion-select-modal-md{width:40px;height:40px}.select-option-start.sc-ion-select-modal-md>ion-icon.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>ion-icon.sc-ion-select-modal-md{font-size:24px}.select-option-start.sc-ion-select-modal-md>ion-img.sc-ion-select-modal-md,.select-option-start.sc-ion-select-modal-md>img.sc-ion-select-modal-md,.select-option-start.sc-ion-select-modal-md>svg.sc-ion-select-modal-md,.select-option-start.sc-ion-select-modal-md>ion-thumbnail.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>ion-img.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>img.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>svg.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>ion-thumbnail.sc-ion-select-modal-md{width:56px;height:56px}.select-option-start.sc-ion-select-modal-md>video.sc-ion-select-modal-md,.select-option-end.sc-ion-select-modal-md>video.sc-ion-select-modal-md{width:114px;height:56px}.sc-ion-select-modal-md-h{height:100%}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(container),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="container"]{display:none}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(label),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}'}}},[34,"ion-select-modal",{header:[1],cancelText:[1,"cancel-text"],multiple:[4],options:[16]}]);function B(){"undefined"!=typeof customElements&&["ion-select-modal","ion-button","ion-buttons","ion-checkbox","ion-content","ion-header","ion-icon","ion-item","ion-list","ion-radio","ion-radio-group","ion-ripple-effect","ion-title","ion-toolbar"].forEach((o=>{switch(o){case"ion-select-modal":customElements.get(s(o))||customElements.define(s(o),C);break;case"ion-button":customElements.get(s(o))||p();break;case"ion-buttons":customElements.get(s(o))||h();break;case"ion-checkbox":customElements.get(s(o))||b();break;case"ion-content":customElements.get(s(o))||x();break;case"ion-header":customElements.get(s(o))||f();break;case"ion-icon":customElements.get(s(o))||g();break;case"ion-item":customElements.get(s(o))||u();break;case"ion-list":customElements.get(s(o))||k();break;case"ion-radio":customElements.get(s(o))||v();break;case"ion-radio-group":customElements.get(s(o))||y();break;case"ion-ripple-effect":customElements.get(s(o))||w();break;case"ion-title":customElements.get(s(o))||j();break;case"ion-toolbar":customElements.get(s(o))||E()}}))}export{C as S,B as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{k as o,w as s}from"./p-Dhhot0Wu.js";import{a as t,s as a}from"./p-CHtaS-1H.js";import{c as r}from"./p-oTJGwohD.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const e=t(o);e&&new Promise((o=>r(e,o))).then((()=>{s((async()=>{e.style.setProperty("--overflow","hidden"),await a(e,300),e.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{d as t,H as e,i as o,p as r,h as i,f as s,t as a}from"./p-Dhhot0Wu.js";import{B as n,h as p,r as c,j as d,k as h,e as l,n as v,f,g,F as m}from"./p-DACACVWx.js";import{C as x,a as b,d as u}from"./p-Zt5D5E38.js";import{g as w,r as k,a as y,l as D}from"./p-oTJGwohD.js";import{c as P}from"./p-B-hirT0v.js";import{O as T}from"./p-DJaeKpJp.js";import{b as A,a as $}from"./p-BRwclc4v.js";import{i as C}from"./p-Dj4J3LkD.js";import{g as I}from"./p-byZM6qHV.js";import{e as W,w as L}from"./p-D2CH_C1y.js";import{c as O}from"./p-DPypH5J1.js";import{d as N}from"./p-5LnxYgt7.js";let E=null,j=!1;const z=t=>{if(null!==E)return E;if(null===t.body)return{top:0,bottom:0,left:0,right:0};const e=t.createElement("div");e.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",t.body.appendChild(e);const o=getComputedStyle(e),r={top:parseFloat(o.paddingTop)||0,bottom:parseFloat(o.paddingBottom)||0,left:parseFloat(o.paddingLeft)||0,right:parseFloat(o.paddingRight)||0};return e.remove(),E=r,j||(j=!0,k((()=>{E=null,j=!1}))),r},S=t=>{if(!t)return 1;const e=t.currentCSSZoom;if("number"==typeof e&&e>0)return e;const{width:o}=t.getBoundingClientRect(),{offsetWidth:r}=t;if(r>0&&o>0){const t=o/r;return Math.abs(t-1)<.01?1:t}return 1},Y=(t,e,o,r=1)=>{const i=e.getBoundingClientRect(),s=i.height/r;let a=i.width/r;return"cover"===t&&o&&(a=o.getBoundingClientRect().width/r),{contentWidth:a,contentHeight:s}},X=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex((t=>t===e)):-1,M=t=>{const e=w(t).querySelector("button");e&&k((()=>e.focus()))},B=(t,e,o,r,i,s,a,n,p,c,d,h=1)=>{let l={top:0,left:0,width:0,height:0};if("event"===s){if(!d)return p;l={top:d.clientY/h,left:d.clientX/h,width:1,height:1}}else{const t=d,e=c||t?.detail?.ionShadowTarget||t?.target;if(!e)return p;const o=e.getBoundingClientRect();l={top:o.top/h,left:o.left/h,width:o.width/h,height:o.height/h}}const v=J(a,l,e,o,r,i,t),f=K(n,a,l,e,o),g=v.top+f.top,m=v.left+f.left,{arrowTop:x,arrowLeft:b}=V(a,r,i,g,m,e,o,t),{originX:u,originY:w}=H(a,n,t);return{top:g,left:m,referenceCoordinates:l,arrowTop:x,arrowLeft:b,originX:u,originY:w}},H=(t,e,o)=>{switch(t){case"top":return{originX:R(e),originY:"bottom"};case"bottom":return{originX:R(e),originY:"top"};case"left":return{originX:"right",originY:F(e)};case"right":return{originX:"left",originY:F(e)};case"start":return{originX:o?"left":"right",originY:F(e)};case"end":return{originX:o?"right":"left",originY:F(e)}}},R=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},F=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},V=(t,e,o,r,i,s,a,n)=>{const p={arrowTop:r+a/2-e/2,arrowLeft:i+s-e/2},c={arrowTop:r+a/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+a,arrowLeft:i+s/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+s/2-e/2};case"left":return p;case"right":return c;case"start":return n?c:p;case"end":return n?p:c;default:return{arrowTop:0,arrowLeft:0}}},J=(t,e,o,r,i,s,a)=>{const n={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-s,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+s,left:e.left};case"left":return n;case"start":return a?p:n;case"end":return a?n:p}},K=(t,e,o,r,i)=>{switch(t){case"center":return q(e,o,r,i);case"end":return Z(e,o,r,i);default:return{top:0,left:0}}},Z=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},q=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},G=(t,e,o,r,i,s,a,n,p,c,d,h,l=0,v=0,f=0)=>{let g,m=l,x=o,b=e,u=c,w=d,k=!1,y=!1,D=!1,P=!1;const T=h?h.top+h.height:s/2-n/2,A=h?h.height:0;let $=!1;if(x<r+p.left?(x=r,k=!0,u="left"):a+r+x+p.right>i&&(y=!0,x=i-a-r,u="right"),T+A+n>s-p.bottom&&("top"===t||"bottom"===t)){const t=T-n-A-(f-1);t>=p.top+r?(b=t,m=b+n,w="bottom",$=!0):(g=r,P=!0,b>=s-p.bottom-r&&(b=p.top+r,D=!0))}return{top:b,left:x,bottom:g,originX:u,originY:w,checkSafeAreaLeft:k,checkSafeAreaRight:y,checkSafeAreaTop:D,checkSafeAreaBottom:P,arrowTop:m,arrowLeft:v,addPopoverBottomClass:$,hideArrow:!1}},U=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:a,align:n}=e,p=t.ownerDocument,c=C(t),d=w(t),h=d.querySelector(".popover-content"),l=d.querySelector(".popover-arrow"),v=S(h),f=p.defaultView.innerWidth/v,g=p.defaultView.innerHeight/v,m=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:x,contentHeight:b}=Y(r,h,m,v),{arrowWidth:u,arrowHeight:k}=((t,e=1)=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:o,height:r}=t.getBoundingClientRect();return{arrowWidth:o/e,arrowHeight:r/e}})(l,v),y=B(c,x,b,u,k,s,a,n,{top:g/2-b/2,left:f/2-x/2,originX:c?"right":"left",originY:"top"},i,o,v),D="cover"===r?0:5,P=z(p),T="cover"===r?{top:0,bottom:0,left:0,right:0}:{top:Math.max(P.top,25),bottom:Math.max(P.bottom,25),left:Math.max(P.left,25),right:Math.max(P.right,25)},{originX:A,originY:$,top:I,left:W,bottom:L,checkSafeAreaLeft:N,checkSafeAreaRight:E,checkSafeAreaTop:j,checkSafeAreaBottom:X,arrowTop:M,arrowLeft:H,addPopoverBottomClass:R}=G(a,y.top,y.left,D,f,g,x,b,T,y.originX,y.originY,y.referenceCoordinates,y.arrowTop,y.arrowLeft,k),F=O(),V=O(),J=O();return V.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),J.addElement(d.querySelector(".popover-arrow")).addElement(d.querySelector(".popover-content")).fromTo("opacity",.01,1),F.easing("ease").duration(100).beforeAddWrite((()=>{if("cover"===r&&t.style.setProperty("--width",`${x}px`),R&&t.classList.add("popover-bottom"),void 0!==L){let t=`${L}px`;X&&(t=`${L}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}let e=`${W}px`;N&&(e=`${W}px + var(--ion-safe-area-left, 0px)`),E&&(e=`${W}px - var(--ion-safe-area-right, 0px)`);let s=`${I}px`;if(j&&(s=`${I}px + var(--ion-safe-area-top, 0px)`),h.style.setProperty("top",`calc(${s} + var(--offset-y, 0))`),h.style.setProperty("left",`calc(${e} + var(--offset-x, 0))`),h.style.setProperty("transform-origin",`${$} ${A}`),null!==l){const t=((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,y.top!==I||y.left!==W,o,i);t?(l.style.setProperty("top",`calc(${M}px + var(--offset-y, 0))`),l.style.setProperty("left",`calc(${H}px + var(--offset-x, 0))`)):l.style.setProperty("display","none")}})).addAnimation([V,J])},_=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=O(),s=O(),a=O();return s.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,a])},Q=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:a,align:n}=e,p=t.ownerDocument,c=C(t),d=w(t),h=d.querySelector(".popover-content"),l=S(h),v=p.defaultView.innerWidth/l,f=p.defaultView.innerHeight/l,g=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:m,contentHeight:x}=Y(r,h,g,l),b=B(c,m,x,0,0,s,a,n,{top:f/2-x/2,left:v/2-m/2,originX:c?"right":"left",originY:"top"},i,o,l),u="cover"===r?0:12,k="cover"===r?{top:0,bottom:0,left:0,right:0}:z(p),{originX:y,originY:D,top:P,left:T,bottom:A,checkSafeAreaLeft:$,checkSafeAreaRight:I,checkSafeAreaTop:W,checkSafeAreaBottom:L,addPopoverBottomClass:N}=G(a,b.top,b.left,u,v,f,m,x,k,b.originX,b.originY,b.referenceCoordinates);let E=`${T}px`;$&&(E=`${T}px + var(--ion-safe-area-left, 0px)`),I&&(E=`${T}px - var(--ion-safe-area-right, 0px)`);let j=`${P}px`;W&&(j=`${P}px + var(--ion-safe-area-top, 0px)`);const X=O(),M=O(),H=O(),R=O(),F=O();return M.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),H.addElement(d.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),R.addElement(h).beforeStyles({top:`calc(${j} + var(--offset-y, 0px))`,left:`calc(${E} + var(--offset-x, 0px))`,"transform-origin":`${D} ${y}`}).beforeAddWrite((()=>{if(void 0!==A){let t=`${A}px`;L&&(t=`${A}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}})).fromTo("transform","scale(0.8)","scale(1)"),F.addElement(d.querySelector(".popover-viewport")).fromTo("opacity",.01,1),X.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===r&&t.style.setProperty("--width",`${m}px`),N&&t.classList.add("popover-bottom")})).addAnimation([M,H,R,F])},tt=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=O(),i=O(),s=O();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},et=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=o(this,"ionPopoverDidPresent",7),this.willPresent=o(this,"ionPopoverWillPresent",7),this.willDismiss=o(this,"ionPopoverWillDismiss",7),this.didDismiss=o(this,"ionPopoverDidDismiss",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.parentPopover=null,this.coreDelegate=x(),this.lockController=P(),this.inline=!1,this.focusDescendantOnPresent=!1,this.dirSetOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,n)},this.onLifecycle=t=>{const e=this.usersElement,o=ot[t.type];if(e&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});e.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:e,el:o,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===t)return;const s=this.triggerEl=void 0!==t?document.getElementById(t):null;s?this.destroyTriggerInteraction=((t,e,o)=>{let r=[];switch(e){case"hover":let t;r=[{eventName:"mouseenter",callback:async e=>{e.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{k((()=>{o.presentFromTrigger(e),t=void 0}))}),100)}},{eventName:"mouseleave",callback:e=>{t&&clearTimeout(t);const r=e.relatedTarget;r&&r.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),o.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>o.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:e,callback:o})=>t.addEventListener(e,o))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:e,callback:o})=>t.removeEventListener(e,o))),t.removeAttribute("data-ion-popover-trigger")}})(s,e,o):r(`[ion-popover] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:e}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const e=async e=>{const o=document.activeElement;let r=[];const i=e.target?.tagName;if("ION-POPOVER"===i||"ION-ITEM"===i){try{r=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(e.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":e.preventDefault();const i=((t,e)=>t[X(t,e)+1])(r,o);void 0!==i&&M(i);break;case"ArrowUp":e.preventDefault();const s=((t,e)=>t[X(t,e)-1])(r,o);void 0!==s&&M(s);break;case"Home":e.preventDefault();const a=r[0];void 0!==a&&M(a);break;case"End":e.preventDefault();const n=r[r.length-1];void 0!==n&&M(n);break;case"ArrowRight":case" ":case"Enter":if(o&&o.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(t)}}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)})(e)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:e,triggerAction:o,triggerEl:r,el:i}=this;e&&r&&(t&&t(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=w(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:e=>{document.elementFromPoint(e.clientX,e.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:e=>{e.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):e.stopPropagation()}}],i.forEach((({eventName:t,callback:e})=>s.addEventListener(t,e))),()=>{i.forEach((({eventName:t,callback:e})=>s.removeEventListener(t,e)))}})(r,o,i,e))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;p(e),t(),this.presented&&(c(e),this.recalculateContentOnHeaderReady())}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.presented&&d()}componentWillLoad(){const{el:t}=this,e=this.htmlAttributes?.id??h(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===A(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&k((()=>this.present())),t&&y(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,e=!1){this.focusDescendantOnPresent=e,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const e=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:e,delegate:this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate}}async present(t){const e=await this.lockController.lock();if(this.presented)return void e();const{el:o}=this,{inline:r,delegate:i}=this.getDelegate(!0);o.hasAttribute("dir")||(o.setAttribute("dir",C(o)?"rtl":"ltr"),this.dirSetOnPresent=!0),this.ionMount.emit(),this.usersElement=await b(i,o,this.component,["popover-viewport"],this.componentProps,r),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),D(o)?await W(this.usersElement):this.keepContentsMounted||await L(),await l(this,"popoverEnter",U,Q,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&v(o),e()}recalculateContentOnHeaderReady(){const t=this.el.shadowRoot?.querySelector(".popover-content");if(!t)return;const e=this.usersElement||t,o=e.querySelector("ion-header"),r=e.querySelectorAll("ion-content");o&&0!==r.length&&(this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.headerResizeObserver=new ResizeObserver((async()=>{if(o.offsetHeight>0){this.headerResizeObserver?.disconnect(),this.headerResizeObserver=void 0;for(const t of r)await t.recalculateDimensions()}})),this.headerResizeObserver.observe(o))}async dismiss(t,e,o=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;o&&this.parentPopover&&this.parentPopover.dismiss(t,e,o);const a=await f(this,t,e,"popoverLeave",_,tt,this.event);if(a){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await u(t,this.usersElement),this.dirSetOnPresent&&(this.el.removeAttribute("dir"),this.dirSetOnPresent=!1)}return r(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return g(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return g(this.el,"ionPopoverWillDismiss")}render(){const t=A(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:a,arrow:n,htmlAttributes:p,focusTrap:c}=this,d=$("desktop"),h=n&&!o;return i(s,{key:"1c5f06c725f90f8d907ae69ef9ef0eb0b5721e61","aria-modal":"true","no-router":!0,tabindex:"-1",...p,style:{zIndex:`${2e4+this.overlayIndex}`},class:{...I(this.cssClass),[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":d,[`popover-side-${a}`]:!0,[m]:!1===c,"popover-nested":!!o},onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap},!o&&i("ion-backdrop",{key:"5cd1e9743febb32fa98b74de88bb2592968df69e",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),i(T,{key:"9cad2862e34697abff6c39952b0b5f9dbc8c484e",overlay:this.el,edge:"start"}),i("div",{key:"e060966e7f2dc7a7bbdc854783ff6472924968fe",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},h&&i("div",{key:"9f589822f54981a93ba71880b7402d51969e014a",class:"popover-arrow",part:"arrow"}),i("div",{key:"2db9a75ef037c0a80507c2d7d363e28b80d82e0a",class:"popover-content",part:"content"},i("slot",{key:"0aafd5ff3244ff428ed7f7c94a6a0eaf75faac2f"}))),i(T,{key:"9e4ea8d4aefb81f0955bf78781e7d95dfda34c94",overlay:this.el,edge:"end"}))}get el(){return this}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}static get style(){return{ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}}},[289,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}]),ot={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function rt(){"undefined"!=typeof customElements&&["ion-popover","ion-backdrop"].forEach((t=>{switch(t){case"ion-popover":customElements.get(a(t))||customElements.define(a(t),et);break;case"ion-backdrop":customElements.get(a(t))||N()}}))}export{et as P,rt as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o}from"./p-oTJGwohD.js";const s=(s,t,r,a)=>{if(!s.persisted||!t)return;const e=Date.now(),n=()=>{const s=r();t.value===s?Date.now()-e<500&&o(n):"password"===t.type?a(t.value):t.value=s};o(n)};export{s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{m as a}from"./p-CsEqD5L_.js";const s=async s=>{const t=await a.get(s);return!(!t||!await t.isActive())};export{s as u}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{h as t}from"./p-Dhhot0Wu.js";import{s as e}from"./p-BPW1yhC5.js";const s=(e,n,o)=>{if(e.nodeType===Node.TEXT_NODE)return e.textContent??"";if(e.nodeType!==Node.ELEMENT_NODE)return null;const r=e,c=r.tagName.toLowerCase(),i=`${n}-${o}`,l={key:i};for(let t=0;t<r.attributes.length;t++){const e=r.attributes.item(t);l[e.name]=e.value}const $=Array.from(r.childNodes).map(((t,e)=>s(t,i,e))).filter((t=>null!==t));return t(c,l,$)},n=(n,o,r,c=!1)=>{const i=c?"span":"div",l=`${r}-${n}`;return e(o),t(i,{class:r,key:l},Array.from(o.childNodes).map(((t,e)=>s(t,l,e))))},o=(e,s,o=!1)=>{const{id:r,label:c,startContent:i,endContent:l,description:$}=e,a=!!i||!!l||!!$,p=o?"span":"div";if(!(a||"string"!=typeof c&&c))return t(p,{class:s,key:`${s}-${r}`},c);const y="string"!=typeof c&&c?n(r,c,`${s}-text`,o):t(p,{key:`${s}-label-${r}`},c);return a?t(p,{class:`${s} ${s}-has-rich-content`,key:`${s}-${r}`},i&&n(r,i,"select-option-start",o),t(p,{class:"select-option-content",key:`${s}-content-${r}`},y,$&&t(p,{class:"select-option-description",key:`${s}-desc-${r}`},$)),l&&n(r,l,"select-option-end",o)):t(p,{class:s,key:`${s}-${r}`},y)};export{o as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{h as o}from"./p-Dhhot0Wu.js";import{n as r,o as a}from"./p-DACACVWx.js";const s=({overlay:s,edge:n})=>o("div",{class:"ion-overlay-focus-boundary",tabIndex:0,"aria-hidden":"true",onFocus:o=>((o,s,n)=>{const t=o.shadowRoot?o:o.querySelector(".ion-overlay-wrapper");if(!t)return;const e=s.relatedTarget,i=null!==e&&e!==o&&(o.contains(e)||!0===o.shadowRoot?.contains(e));("start"===n?!i:i)?r(t,o):a(t,o)})(s,o,n)});export{s as O}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as e}from"./p-Dhhot0Wu.js";import{w as o}from"./p-ZjP4CjeZ.js";let t;const i=(e,o,i)=>{const n=o.startsWith("animation")?(r=e,void 0===t&&(t=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),t):"";var r;e.style.setProperty(n+o,i)},n=(e=[],o)=>{if(void 0!==o){const t=Array.isArray(o)?o:[o];return[...e,...t]}return e},r=t=>{let r,a,s,d,f,l,c,v,m,u,p,y=[],g=[],A=[],b=!1,C={},h=[],E=[],S={},k=0,R=!1,j=!1,w=!0,D=!1,T=!0,W=!1;const F=t,I=[],K=[],M=[],P=[],Z=[],x=[],q=[],z=[],B=[],G=[],H=[],J="function"==typeof AnimationEffect||void 0!==o&&"function"==typeof o.AnimationEffect,L="function"==typeof Element&&"function"==typeof Element.prototype.animate&&J,N=()=>H,O=(e,o)=>{const t=o.findIndex((o=>o.c===e));t>-1&&o.splice(t,1)},Q=(e,o)=>((o?.oneTimeCallback?K:I).push({c:e,o}),p),U=()=>{L&&(H.forEach((e=>{e.cancel()})),H.length=0)},V=()=>{x.forEach((e=>{e?.parentNode&&e.parentNode.removeChild(e)})),x.length=0},X=()=>void 0!==f?f:c?c.getFill():"both",Y=()=>void 0!==v?v:void 0!==l?l:c?c.getDirection():"normal",$=()=>R?"linear":void 0!==s?s:c?c.getEasing():"linear",_=()=>j?0:void 0!==m?m:void 0!==a?a:c?c.getDuration():0,ee=()=>void 0!==d?d:c?c.getIterations():1,oe=()=>void 0!==u?u:void 0!==r?r:c?c.getDelay():0,te=()=>{0!==k&&(k--,0===k&&((()=>{B.forEach((e=>e())),G.forEach((e=>e()));const e=w?1:0,o=h,t=E,n=S;P.forEach((e=>{const r=e.classList;o.forEach((e=>r.add(e))),t.forEach((e=>r.remove(e)));for(const o in n)n.hasOwnProperty(o)&&i(e,o,n[o])})),m=void 0,v=void 0,u=void 0,I.forEach((o=>o.c(e,p))),K.forEach((o=>o.c(e,p))),K.length=0,T=!0,w&&(D=!0),w=!0})(),c&&c.animationFinish()))},ie=()=>{(()=>{q.forEach((e=>e())),z.forEach((e=>e()));const e=g,o=A,t=C;P.forEach((n=>{const r=n.classList;e.forEach((e=>r.add(e))),o.forEach((e=>r.remove(e)));for(const e in t)t.hasOwnProperty(e)&&i(n,e,t[e])}))})(),y.length>0&&L&&(P.forEach((e=>{const o=e.animate(y,{id:F,delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()});o.pause(),H.push(o)})),H.length>0&&(H[0].onfinish=()=>{te()})),b=!0},ne=e=>{e=Math.min(Math.max(e,0),.9999),L&&H.forEach((o=>{o.currentTime=o.effect.getComputedTiming().delay+_()*e,o.pause()}))},re=e=>{H.forEach((e=>{e.effect.updateTiming({delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()})})),void 0!==e&&ne(e)},ae=(e=!1,o=!0,t)=>(e&&Z.forEach((i=>{i.update(e,o,t)})),L&&re(t),p),se=()=>{b&&(L?H.forEach((e=>{e.pause()})):P.forEach((e=>{i(e,"animation-play-state","paused")})),W=!0)},de=e=>new Promise((o=>{e?.sync&&(j=!0,Q((()=>j=!1),{oneTimeCallback:!0})),b||ie(),D&&(L&&(ne(0),re()),D=!1),T&&(k=Z.length+1,T=!1);const t=()=>{O(i,K),o()},i=()=>{O(t,M),o()};Q(i,{oneTimeCallback:!0}),M.push({c:t,o:{oneTimeCallback:!0}}),Z.forEach((e=>{e.play()})),L?(H.forEach((e=>{e.play()})),0!==y.length&&0!==P.length||te()):te(),W=!1})),fe=(e,o)=>{const t=y[0];return void 0===t||void 0!==t.offset&&0!==t.offset?y=[{offset:0,[e]:o},...y]:t[e]=o,p};return p={parentAnimation:c,elements:P,childAnimations:Z,id:F,animationFinish:te,from:fe,to:(e,o)=>{const t=y[y.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?y=[...y,{offset:1,[e]:o}]:t[e]=o,p},fromTo:(e,o,t)=>fe(e,o).to(e,t),parent:e=>(c=e,p),play:de,pause:()=>(Z.forEach((e=>{e.pause()})),se(),p),stop:()=>{Z.forEach((e=>{e.stop()})),b&&(U(),b=!1),R=!1,j=!1,T=!0,v=void 0,m=void 0,u=void 0,k=0,D=!1,w=!0,W=!1,M.forEach((e=>e.c(0,p))),M.length=0},destroy:e=>(Z.forEach((o=>{o.destroy(e)})),(e=>{U(),e&&V()})(e),P.length=0,Z.length=0,y.length=0,I.length=0,K.length=0,b=!1,T=!0,p),keyframes:e=>{const o=y!==e;return y=e,o&&(e=>{L&&N().forEach((o=>{const t=o.effect;if(t.setKeyframes)t.setKeyframes(e);else{const i=new KeyframeEffect(t.target,e,t.getTiming());o.effect=i}}))})(y),p},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const o of e)o.parent(p),Z.push(o);else e.parent(p),Z.push(e);return p},addElement:o=>{if(null!=o)if(1===o.nodeType)P.push(o);else if(o.length>=0)for(let e=0;e<o.length;e++)P.push(o[e]);else e("createAnimation - Invalid addElement value.");return p},update:ae,fill:e=>(f=e,ae(!0),p),direction:e=>(l=e,ae(!0),p),iterations:e=>(d=e,ae(!0),p),duration:e=>(L||0!==e||(e=1),a=e,ae(!0),p),easing:e=>(s=e,ae(!0),p),delay:e=>(r=e,ae(!0),p),getWebAnimations:N,getKeyframes:()=>y,getFill:X,getDirection:Y,getDelay:oe,getIterations:ee,getEasing:$,getDuration:_,afterAddRead:e=>(B.push(e),p),afterAddWrite:e=>(G.push(e),p),afterClearStyles:(e=[])=>{for(const o of e)S[o]="";return p},afterStyles:(e={})=>(S=e,p),afterRemoveClass:e=>(E=n(E,e),p),afterAddClass:e=>(h=n(h,e),p),beforeAddRead:e=>(q.push(e),p),beforeAddWrite:e=>(z.push(e),p),beforeClearStyles:(e=[])=>{for(const o of e)C[o]="";return p},beforeStyles:(e={})=>(C=e,p),beforeRemoveClass:e=>(A=n(A,e),p),beforeAddClass:e=>(g=n(g,e),p),onFinish:Q,isRunning:()=>0!==k&&!W,progressStart:(e=!1,o)=>(Z.forEach((t=>{t.progressStart(e,o)})),se(),R=e,b||ie(),ae(!1,!0,o),p),progressStep:e=>(Z.forEach((o=>{o.progressStep(e)})),ne(e),p),progressEnd:(e,o,t)=>(R=!1,Z.forEach((i=>{i.progressEnd(e,o,t)})),void 0!==t&&(m=t),D=!1,w=!0,0===e?(v="reverse"===Y()?"normal":"reverse","reverse"===v&&(w=!1),L?(ae(),ne(1-o)):(u=(1-o)*_()*-1,ae(!1,!1))):1===e&&(L?(ae(),ne(o)):(u=o*_()*-1,ae(!1,!1))),void 0===e||c||de(),p)}};export{r as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as t}from"./p-Dhhot0Wu.js";import{h as o,a as e,b as n}from"./p-CEW4RXZO.js";import{createGesture as r}from"./p-D0YpjgON.js";const s=(s,a)=>{let i,c;const d=(t,o,e)=>{if("undefined"==typeof document)return;const n=document.elementFromPoint(t,o);n&&a(n)&&!n.disabled?n!==i&&(p(),m(n,e)):p()},m=(o,e)=>{i=o,c||(c=i);const n=i;t((()=>n.classList.add("ion-activated"))),e()},p=(o=!1)=>{if(!i)return;const e=i;t((()=>e.classList.remove("ion-activated"))),o&&c!==i&&i.click(),i=void 0};return r({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>d(t.currentX,t.currentY,n),onMove:t=>d(t.currentX,t.currentY,e),onEnd:()=>{p(!0),o(),c=void 0}})};export{s as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- const t="hydrated";class n{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,n){const e=this.m.get(t);return void 0!==e?e:n}getBoolean(t,n=!1){const e=this.m.get(t);return void 0===e?n:"string"==typeof e?"true"===e:!!e}getNumber(t,n){const e=parseFloat(this.m.get(t));return isNaN(e)?void 0!==n?n:NaN:e}set(t,n){this.m.set(t,n)}}const e=new n,o=t=>{try{const n=t.sessionStorage.getItem(c);return null!==n?JSON.parse(n):{}}catch{return{}}},s=(t,n)=>{try{t.sessionStorage.setItem(c,JSON.stringify(n))}catch{return}},l=t=>{const n={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,n])=>{try{return[decodeURIComponent(t),decodeURIComponent(n)]}catch{return["",""]}})).filter((([t])=>i(t,r))).map((([t,n])=>[t.slice(r.length),n])).forEach((([t,e])=>{n[t]=e})),n},i=(t,n)=>t.substr(0,n.length)===n,r="ionic:",c="ionic-persist-config";var u;!function(t){t.OFF="OFF",t.ERROR="ERROR",t.WARN="WARN",t.DEBUG="DEBUG"}(u||(u={}));const f={[u.OFF]:0,[u.ERROR]:1,[u.WARN]:2,[u.DEBUG]:3},a=t=>{const n=String(e.get("logLevel",u.WARN)).toUpperCase();return f[n]>=f[t]},d=(t,...n)=>{if(a(u.WARN))return console.warn(`[Ionic Warning]: ${t}`,...n)},h=(t,...n)=>{if(a(u.ERROR))return console.error(`[Ionic Error]: ${t}`,...n)},v=(t,...n)=>console.error(`<${t.tagName.toLowerCase()}> must be used inside ${n.join(" or ")}.`);var p={isBrowser:!0},b=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(b||{}),$=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))($||{}),g="type",m="value",y="serialized:";function w(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var j,O=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=w(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},N=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},S=(t,n)=>n in t,x=(t,n)=>(0,console.error)(t,n),E=new Map,k=[],C="s-id",M="sty-id",I="c-id",T="http://www.w3.org/1999/xlink",L="undefined"!=typeof window?window:{},A=L.HTMLElement||class{},R={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},B=(()=>{var t;let n=!1;try{null==(t=L.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){n=!0}}))}catch(t){}return n})(),_=(()=>{try{return!!L.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!_&&(()=>!!L.document&&Object.getOwnPropertyDescriptor(L.document.adoptedStyleSheets,"length").writable)(),U=!1,D=[],H=[],W=()=>{var t;return(null==(t=L.document)?void 0:t.hidden)?setTimeout(q,16):R.raf(q)},V=(t,n)=>e=>{t.push(e),U||(U=!0,n&&4&R.i?z(q):W())},P=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){x(t)}t.length=0},q=()=>{P(D),P(H),(U=D.length>0)&&W()},z=t=>Promise.resolve(undefined).then(t),J=V(D,!1),Y=V(H,!0),G=t=>{const n=new URL(t,R.u);return n.origin!==L.location.origin?n.href:n.pathname},Z=t=>R.u=t;function K(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.i);const e=this.attachShadow(n);void 0===j&&(j=null),j&&(F?e.adoptedStyleSheets.push(j):e.adoptedStyleSheets=[...e.adoptedStyleSheets,j])}var Q=t=>{const n=Ct(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&tt(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!nt(t,st(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&Ct(t,"childNodes").length&&Q(t)}},X=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function tt(t,n,e){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||st(o)===e)&&(l.push(o),void 0!==e))return l;if(l=[...l,...tt(Ct(o,"childNodes"),n,e)],void 0!==e&&l.length)return l}return l}var nt=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)st(s)!==n||!e&&s["s-sr"]||o.push(s);return o},et=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,ot=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Ct(l,e?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=Ct(l,"childNodes"),n=[s];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=n["s-hn"]},st=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:X(s.childNodes)).forEach((t=>{o===st(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function it(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function rt(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=st(t)||"";return{slotNode:tt(Ct(n,"childNodes"),n.tagName,o)[0],slotName:o}}var ct=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=this.shadowRoot&&true,o=n.call(this,!!e&&t);if(!e&&t){let t,n,e=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;e<l.length;e++)t=l[e]["s-nr"],n=s.every((t=>!l[e][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(l[e].cloneNode(!0))}return o}},ut=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=rt(t,this);if(e){ot(t,e);const o=nt(e,n),s=o[o.length-1],l=o.every((t=>t["s-sr"])),i=Ct(s,"parentNode"),r=Ct(i,"insertBefore")(t,s.nextSibling);return it(e),l&&Q(this),r}return this.__appendChild(t)})},ft=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&tt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])[0]&&t.isConnected?(t.remove(),void Q(this)):this.__removeChild(t)})},at=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=st(n))||"",o=tt(Ct(this,"childNodes"),this.tagName,e)[0];if(o){ot(n,o,!0);const t=nt(o,e)[0],s=Ct(t,"parentNode"),l=Ct(s,"insertBefore")(n,Ct(t,"nextSibling"));return it(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},dt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},ht=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},vt=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},pt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=rt(t,this);if(o){if(null===n)return this.appendChild(t),t;if((this.__childNodes?this.childNodes:X(this.childNodes)).includes(n)){if(e!==n["s-sn"])this.appendChild(t);else{ot(t,o);const e=Ct(n,"parentNode");Ct(e,"insertBefore")(t,n),it(o)}return t}}const s=null==n?void 0:n.__parentNode;return s&&!this.isSameNode(s)?this.appendChild(t):this.__insertBefore(t,n)})},bt=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},$t=t=>{kt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:X(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){mt(this),this.insertAdjacentHTML("beforeend",t)}})},gt=t=>{if(!globalThis.HTMLElement)return;const n=(n,e,o)=>{var s;const l=null==(s=Object.getOwnPropertyDescriptor(n,e))?void 0:s.get;l&&Object.defineProperty(t,e,{get:l,set:function(t){mt(this),Array.from(Ct(this,"childNodes")).forEach((t=>{t["s-cn"]||t["s-nr"]||t["s-hn"]===this.tagName||t.remove()})),o(this,null!=t?t:"")}})};n(Element.prototype,"innerHTML",((t,n)=>t.insertAdjacentHTML("beforeend",n))),n(HTMLElement.prototype,"innerText",((t,n)=>t.append(n)))},mt=t=>{(t.__childNodes?t.childNodes:X(t.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()}))},yt=t=>{class n extends Array{item(t){return this[t]}}kt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),kt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),kt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),kt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...X(this.__childNodes)),t}})},wt=t=>{t&&!t.__nextSibling&&(kt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextSibling}}))},jt=t=>{t&&!t.__nextElementSibling&&(kt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextElementSibling}}))},Ot=t=>{t&&!t.__previousSibling&&(kt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousSibling}}))},Nt=t=>{t&&!t.__previousElementSibling&&(kt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousElementSibling}}))},St=t=>{t&&!t.__parentNode&&(kt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},xt=["children","nextElementSibling","previousElementSibling"],Et=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function kt(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;xt.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):Et.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function Ct(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var Mt=new WeakMap,It=(t,n,e)=>{let o=E.get(t);_&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,E.set(t,o)},Tt=(t,n,e)=>{var o,s,l;const i=Lt(n,e),r=E.get(i);if(!L.document)return i;if(t=11===t.nodeType?t:L.document,r)if("string"==typeof r){let e,l=Mt.get(t=t.head||t);if(l||Mt.set(t,l=new Set),t.querySelector(`[${M}="${i}"]`))l.add(i);else if(!l.has(i)){e=L.document.createElement("style"),e.textContent=r;const c=null!=(o=R.h)?o:function(){var t,n,e;return null!=(e=null==(n=null==(t=L.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();if(null!=c&&e.setAttribute("nonce",c),!(1&n.i))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),o=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(e,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(_){const n=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),F?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=r+n.textContent:t.prepend(e)}else t.append(e);1&n.i&&t.insertBefore(e,null),4&n.i&&(e.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let n=Mt.get(t);if(n||Mt.set(t,n=new Set),!n.has(i)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(r.constructor===e.CSSStyleSheet)o=r;else{o=new e.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i),"host"in t){const n=t.querySelector(`[${M}="${i}"]`);n&&Y((()=>n.remove()))}}}return i},Lt=(t,n)=>"sc-"+(n&&32&t.i?t.v+"-"+n:t.v),At=t=>"object"==(t=typeof t)||"function"===t,Rt=(t,n,...e)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(i="function"!=typeof t&&!At(o))o=String(o);else if("function"!=typeof t&&void 0===o.i){x("Invalid vNode child");continue}i&&r?c[c.length-1].p+=o:c.push(i?Bt(null,o):o),r=i}};if(u(e),n){n.key&&(s=n.key),n.name&&(l=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,Ft);const f=Bt(t,null);return f.$=n,c.length>0&&(f.j=c),f.O=s,f.N=l,f},Bt=(t,n)=>({i:0,S:t,p:null!=n?n:null,k:null,j:null,$:null,O:null,N:null}),_t={},Ft={forEach:(t,n)=>t.map(Ut).forEach(n),map:(t,n)=>t.map(Ut).map(n).map(Dt)},Ut=t=>({vattrs:t.$,vchildren:t.j,vkey:t.O,vname:t.N,vtag:t.S,vtext:t.p}),Dt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),Rt(t.vtag,n,...t.vchildren||[])}const n=Bt(t.vtag,t.vtext);return n.$=t.vattrs,n.j=t.vchildren,n.O=t.vkey,n.N=t.vname,n},Ht=(t,n,e,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(I),c&&l!==s&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Vt({i:0,C:u[0],M:u[1],I:u[2],T:u[3],S:l.tagName.toLowerCase(),k:l,$:{class:l.className||""}}),n.push(f),l.removeAttribute(I),t.j||(t.j=[]),d&&u[0]===i&&(l["s-si"]=d,f.$.class+=" "+d);const s=f.k.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.S&&(Pt(s,u[2],f,l,t,n,e,o,r),d&&l.classList.add(d)),f.k["s-sn"]=s,f.k.removeAttribute("s-sn")),void 0!==f.T&&(t.j[f.T]=f),t=f,o&&"0"===f.I&&(o[f.T]=f.k)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Ht(t,n,e,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Ht(t,n,e,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Vt({C:u[1],M:u[2],I:u[3],T:u[4]||"0",k:l,$:null,j:null,O:null,N:null,S:null,p:null}),"t"===c?(f.k=zt(l,3),f.k&&3===f.k.nodeType&&(f.p=f.k.textContent,n.push(f),l.remove(),i===f.C&&(t.j||(t.j=[]),t.j[f.T]=f),o&&"0"===f.I&&(o[f.T]=f.k))):"c"===c?(f.k=zt(l,8),f.k&&8===f.k.nodeType&&(n.push(f),l.remove())):f.C===i&&("s"===c?Pt(l["s-sn"]=u[5]||"",u[2],f,l,t,n,e,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.S){const n=Bt(null,l.textContent);n.k=l,n.T="0",t.j=[n]}return t},Wt=(t,n)=>{if(1===t.nodeType){const e=t[C]||t.getAttribute(C);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Wt(t.shadowRoot.childNodes[o],n);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Wt(s[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},Vt=t=>({i:0,C:null,M:null,I:null,T:"0",k:null,$:null,j:null,O:null,N:null,S:null,p:null,...t});function Pt(t,n,e,o,s,l,i,r,c){o["s-sr"]=!0,e.N=t||null,e.S="slot";const u=(null==s?void 0:s.k)?s.k["s-id"]||s.k.getAttribute("s-id"):"";if(r&&L.document){const l=e.k=L.document.createElement(e.S);e.N&&e.k.setAttribute("name",t),s.k.shadowRoot&&u&&u!==e.C?Ct(s.k,"insertBefore")(l,Ct(s.k,"children")[0]):Ct(Ct(o,"parentNode"),"insertBefore")(l,o),qt(c,n,t,o,e.C),o.remove(),"0"===e.I&&(r[e.T]=e.k)}else{const l=e.k,i=u&&u!==e.C&&s.k.shadowRoot;qt(c,n,t,o,i?u:e.C),lt(o),i&&s.k.insertBefore(l,s.k.children[0])}l.push(e),i.push(e),s.j||(s.j=[]),s.j[e.T]=e}var qt=(t,n,e,o,s)=>{var l,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:s})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},zt=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},Jt=t=>{k.length=0,k.push(t)},Yt=t=>{var n;return null==(n=N(t))?void 0:n.L},Gt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},Zt=class t{static fromLocalValue(n){const e=n[g],o=m in n?n[m]:void 0;switch(e){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((n=>t.fromLocalValue(n)));case"date":return new Date(o);case"map":const n=new Map;for(const[e,s]of o){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,l=t.fromLocalValue(s);n.set(o,l)}return n;case"object":const s={};for(const[n,e]of o)s[n]=t.fromLocalValue(e);return s;case"regexp":const{pattern:l,flags:i}=o;return new RegExp(l,i);case"set":const r=new Set;for(const n of o)r.add(t.fromLocalValue(n));return r;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${e}`)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(g))return!1;const n=t[g];return!!Object.values({...b,...$}).includes(n)&&("null"===n||"undefined"===n||t.hasOwnProperty(m))}};var Kt,Qt,Xt,tn=(t,n)=>{return"string"==typeof t&&t.startsWith(y)?t="string"==typeof(e=t)&&e.startsWith(y)?Zt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(e.slice(11)))):e:null==t||At(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t;var e},nn=(t,n,e)=>{const o=t;return{emit:t=>en(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},en=(t,n,e)=>{const o=R.ce(n,e);return t.dispatchEvent(o),o},on=(t,n,e,o,s,l,i)=>{if(e===o)return;let r=S(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,s=un(e);let r=un(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];r.push(e),s.forEach((t=>{t.startsWith(e)&&r.push(t)})),r=[...new Set(r)].filter((t=>t)),n.add(...r)}else{let e=s.filter((t=>t&&!r.includes(t)));if(i&&!(4&l)){const n=cn(t);e=e.filter((t=>!n.includes(t)))}n.remove(...e),n.add(...r.filter((t=>t&&!s.includes(t))))}}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&In(o,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let s;{const n=N(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(s=t[1])}}return s||(s=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=At(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const s=null==o?"":o;"list"===n?r=!1:null!=e&&t[n]===s||("function"==typeof t.__lookupSetter__(n)?t[n]=s:t.setAttribute(n,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,u=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&l&&!ln(n))&&(u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(T,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):S(L,c)?c.slice(2):c[2]+n.slice(3),e||o){const s=n.endsWith(fn);n=n.replace(an,""),e&&R.rel(t,n,e,s),o&&R.ael(t,n,o,s)}},sn=new Set(["draggable","contenteditable","spellcheck"]),ln=t=>sn.has(t)||t.startsWith("aria-"),rn=/\s/,cn=n=>{var e,o,s;const l=N(n);if(!(l&&2&l.i))return[];const i=un(null==(o=null==(e=l.A)?void 0:e.$)?void 0:o.class);return i.push(null!=(s=t)?s:"hydrated"),i},un=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(rn):[]),fn="Capture",an=new RegExp(fn+"$"),dn=(t,n,e,o)=>{const s=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.$||{},i=n.$||{};for(const t of hn(Object.keys(l)))t in i||on(s,t,l[t],void 0,e,n.i,o);for(const t of hn(Object.keys(i)))on(s,t,l[t],i[t],e,n.i,o)};function hn(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var vn=!1,pn=!1,bn=!1,$n=!1,gn=[],mn=[],yn=(t,n,e)=>{var o;const s=n.j[e];let l,i,r,c=0;if(vn||(bn=!0,"slot"===s.S&&(s.i|=s.j?2:1)),null!=s.p)l=s.k=L.document.createTextNode(s.p);else if(1&s.i)l=s.k=L.document.createTextNode(""),dn(null,s,$n);else{if($n||($n="svg"===s.S),!L.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.k=L.document.createElementNS($n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!vn&&2&s.i?"slot-fb":s.S),$n&&"foreignObject"===s.S&&($n=!1),dn(null,s,$n),null!=(u=Kt)&&void 0!==u&&l["s-si"]!==Kt&&l.classList.add(l["s-si"]=Kt),s.j){const n="template"===s.S?l.content:l;for(c=0;c<s.j.length;++c)i=yn(t,s,c),i&&n.appendChild(i)}"svg"===s.S?$n=!1:"foreignObject"===l.tagName&&($n=!0)}var u;return l["s-hn"]=Xt,3&s.i&&(l["s-sr"]=!0,l["s-cr"]=Qt,l["s-sn"]=s.N||"",l["s-rf"]=null==(o=s.$)?void 0:o.ref,lt(l),r=t&&t.j&&t.j[e],r&&r.S===s.S&&t.k&&wn(t.k),Ln(Qt,l,n.k,null==t?void 0:t.k)),l},wn=t=>{R.i|=1;const n=t.closest(Xt.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Tn(n,t,null!=e?e:null),t["s-sh"]=void 0,bn=!0)}R.i&=-2},jn=(t,n)=>{R.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===Xt&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==Xt&&o["s-ol"]&&(Tn(xn(o).parentNode,o,xn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,bn=!0),n&&jn(o,n)}R.i&=-2},On=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Xt&&(r=r.shadowRoot),"template"===e.S&&(r=r.content);s<=l;++s)o[s]&&(i=yn(null,e,s),i&&(o[s].k=i,Tn(r,i,xn(n))))},Nn=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;Mn(n),t&&(pn=!0,t["s-ol"]?t["s-ol"].remove():jn(t,!0),t.remove())}}},Sn=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.N===n.N:e?(e&&!t.O&&n.O&&(t.O=n.O),!0):t.O===n.O),xn=t=>t&&t["s-ol"]||t,En=(t,n,e=!1)=>{const o=n.k=t.k,s=t.j,l=n.j,i=n.S,r=n.p;let c;null==r?($n="svg"===i||"foreignObject"!==i&&$n,"slot"!==i||vn||t.N!==n.N&&(n.k["s-sn"]=n.N||"",wn(n.k.parentElement)),dn(t,n,$n,e),null!==s&&null!==l?((t,n,e,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],v=o.length-1,p=o[0],b=o[v];const $="template"===e.S?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==p)p=o[++c];else if(null==b)b=o[--v];else if(Sn(d,p,s))En(d,p,s),d=n[++r],p=o[++c];else if(Sn(h,b,s))En(h,b,s),h=n[--a],b=o[--v];else if(Sn(d,b,s))"slot"!==d.S&&"slot"!==b.S||jn(d.k.parentNode,!1),En(d,b,s),Tn($,d.k,h.k.nextSibling),d=n[++r],b=o[--v];else if(Sn(h,p,s))"slot"!==d.S&&"slot"!==b.S||jn(h.k.parentNode,!1),En(h,p,s),Tn($,h.k,d.k),h=n[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].O&&n[f].O===p.O){u=f;break}u>=0?(i=n[u],i.S!==p.S?l=yn(n&&n[c],e,c):(En(i,p,s),n[u]=void 0,l=i.k),p=o[++c]):(l=yn(n&&n[c],e,c),p=o[++c]),l&&Tn(xn(d.k).parentNode,l,xn(d.k))}r>a?On(t,null==o[v+1]?null:o[v+1].k,e,o,c,v):c>v&&Nn(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.p&&(o.textContent=""),On(o,null,n,l,0,l.length-1)):e||null===s?e&&null!==s&&null===l&&(n.j=s):Nn(s,0,s.length-1),$n&&"svg"===i&&($n=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.p!==r&&(o.data=r)},kn=[],Cn=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==s&&st(n)===s))if(et(n,s)){let e=kn.find((t=>t.R===n));pn=!0,n["s-sn"]=n["s-sn"]||s,e?(e.R["s-sh"]=t["s-hn"],e.B=t):(n["s-sh"]=t["s-hn"],kn.push({B:t,R:n})),n["s-sr"]&&kn.map((t=>{et(t.R,n["s-sn"])&&(e=kn.find((t=>t.R===n)),e&&!t.B&&(t.B=e.B))}))}else kn.some((t=>t.R===n))||kn.push({R:n})}1===t.nodeType&&Cn(t)}},Mn=t=>{t.$&&t.$.ref&&gn.push((()=>t.$.ref(null))),t.j&&t.j.map(Mn)},In=(t,n)=>{mn.push((()=>t(n)))},Tn=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Ln(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&St(n),t.insertBefore(n,e);const{slotNode:s}=rt(n);return s&&!o&&it(s),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Ln(t,n,e,o){var s,l;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(s=e.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var An=(t,n,e=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,f=t.A||Bt(null,null);var a;const d=(a=n)&&a.S===_t?n:Rt(null,null,n);if(Xt=c.tagName,u._&&(d.$=d.$||{},u._.forEach((([t,n])=>{d.$[n]=c[t]}))),e&&d.$)for(const t of Object.keys(d.$))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.$[t]=c[t]);if(d.S=null,d.i|=4,t.A=d,d.k=f.k=c.shadowRoot||c,Kt=c["s-sc"],vn=!(!(1&u.i)||128&u.i),Qt=c["s-cr"],pn=!1,En(f,d,e),R.i|=1,bn){Cn(d.k);for(const t of kn){const n=t.R;if(!n["s-ol"]&&L.document){const t=L.document.createTextNode("");t["s-nr"]=n,Tn(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of kn){const n=t.R,r=t.B;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(l=e["s-nr"])?l:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Tn(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=L.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Tn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(pn&&Q(d.k),R.i&=-2,kn.length=0,!vn&&!(1&u.i)&&c["s-cr"]){const t=d.k.__childNodes||d.k.childNodes;for(const n of t)if(n["s-hn"]!==Xt&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=L.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Tn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}Qt=void 0,gn.forEach((t=>t())),gn.length=0,mn.forEach((t=>t())),mn.length=0},Rn=(t,n)=>{if(n&&!t.F&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.F=()=>{n["s-p"].splice(e-1,1),o()})))}},Bn=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);Rn(t,t.U);const e=()=>_n(t,n);if(!n)return Y(e);queueMicrotask((()=>{e()}))},_n=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=qn(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),s=Fn(s,(()=>qn(o,"componentWillRender",void 0,e))),Fn(s,(()=>Dn(t,o,n)))},Fn=(t,n)=>Un(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Un=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Dn=async(t,n,e)=>{var o;const s=t.$hostElement$,l=s["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.i,s=Tt(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.L);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);Hn(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>Wn(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},Hn=(t,n,e,o)=>{try{n=n.render&&n.render(),t.i&=-17,t.i|=2,An(t,n,o)}catch(n){x(n,t.$hostElement$)}return null},Wn=t=>{const n=t.$hostElement$,e=n,o=t.U;qn(e,"componentDidRender",void 0,n),64&t.i?qn(e,"componentDidUpdate",void 0,n):(t.i|=64,zn(n),qn(e,"componentDidLoad",void 0,n),t.D(n),o||Pn()),t.F&&(t.F(),t.F=void 0),512&t.i&&z((()=>Bn(t,!1))),t.i&=-517},Vn=t=>{var n;{const e=N(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.i)&&Bn(e,!1),o}},Pn=()=>{var t;z((()=>en(L,"appload",{detail:{namespace:"ionic"}}))),(null==(t=R.H)?void 0:t.size)&&R.H.clear()},qn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){x(t,o)}},zn=n=>{var e;return n.classList.add(null!=(e=t)?e:"hydrated")},Jn=(t,n,e,o)=>{const s=N(t);if(!s)return;const l=t,i=s.l.get(n),r=s.i,c=l;e=tn(e,o.t[n][0]);const u=Number.isNaN(i)&&Number.isNaN(e);if(e!==i&&!u){if(s.l.set(n,e),o.W){const t=o.W[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&r||1&l)&&(c?c[o](e,i,n):s.V.push((()=>{s.P[o](e,i,n)})))}catch(t){x(t,l)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,i,n)&&!(16&r))return;16&r||Bn(s,!1)}}},Yn=(t,n)=>{var e,o;const s=t.prototype;{t.watchers&&!n.W&&(n.W=Gt(t.watchers)),t.deserializers&&!n.q&&(n.q=t.deserializers),t.serializers&&!n.J&&(n.J=t.serializers);const l=Object.entries(null!=(e=n.t)?e:{});l.map((([t,[e]])=>{if(31&e||32&e){const{get:o,set:l}=w(s,t)||{};o&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return o?o.apply(this):(n=t,N(this).l.get(n));var n},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(o){const s=N(this);if(s){if(l)return void 0===(32&e?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(o=s.l.get(t)),l.apply(this,[tn(o,e)]),void Jn(this,t,o=32&e?this[t]:s.$hostElement$[t],n);Jn(this,t,o,n)}}})}}));{const e=new Map;s.attributeChangedCallback=function(t,o,i){R.jmp((()=>{var r;const c=e.get(t),u=N(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const e=null==u?void 0:u.i;if(u&&e&&!(8&e)&&i!==o){const s=this,l=null==(r=n.W)?void 0:r[t];null==l||l.forEach((n=>{const[[l,r]]=Object.entries(n);null!=(null==s?void 0:s[l])&&(128&e||1&r)&&s[l].call(s,i,o,t)}))}return}const f=l.find((([t])=>t===c)),a=f?f[1][0]:0,d=4&a;if(512&a&&8&a&&!At(this[c])&&(null==(h=this[c])||!1===h?null:!0===h?"":String(h))===i)return;var h;const v=d&&null===i&&void 0===this[c];d&&(i=null!==i&&"false"!==i);const p=Object.getOwnPropertyDescriptor(s,c);v||i===this[c]||null==i&&null==this[c]||p.get&&!p.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.W)?o:{}),...l.filter((([t,n])=>31&n[0])).map((([t,o])=>{var s;const l=o[1]||t;return e.set(l,t),512&o[0]&&(null==(s=n._)||s.push([t,l])),l}))]))}}return t},Gn=async(t,n,e)=>{let o;try{if(!(32&n.i)&&(n.i|=32,n.i&=-1025,o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.i|=128)),o&&o.style)){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(n.L=(t=>k.map((n=>n(t))).find((t=>!!t)))(t),n.L&&(s=o.style[n.L]));const l=Lt(e,n.L);if(!E.has(l)){const t=()=>{};It(l,s,!!(1&e.i)),t()}}const s=n.U,l=()=>Bn(n,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()}catch(e){x(e,t),n.F&&(n.F(),n.F=void 0),!n.D||1024&n.i||n.D(t)}},Zn=t=>{if(!L.document)return;const n=t["s-cr"]=L.document.createComment("");n["s-cn"]=!0,Tn(t,n,t.firstChild)},Kn=(t,n)=>{const e={i:n[0],v:n[1]};try{e.t=n[2],e.Y=n[3],e.W=Gt(t.W),e.q=t.q,e.J=t.J,e._=[],!(1&e.i)&&256&e.i?(ct(o=t.prototype),ut(o),dt(o),at(o),bt(o),ht(o),vt(o),pt(o),$t(o),gt(o),yt(o),ft(o)):ct(t.prototype),(t=>{if(!L.document)return;const n=L.document.querySelectorAll(`[${M}]`);let e=0;for(;e<n.length;e++){const o=n[e].getAttribute(M);t.some((t=>{const n="sc-"+t.v;return 1&t.i&&(o===n||32&t.i&&o.startsWith(n+"-"))}))&&It(o,n[e].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}})([e]);const s=t.prototype.connectedCallback,l=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,n)=>{const e={i:0,$hostElement$:t,o:n,l:new Map,G:new Map};e.Z=new Promise((t=>e.D=t)),t["s-p"]=[],t["s-rc"]=[];const o=e;t.__stencil__getHostRef=()=>o,512&n.i&&O(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=N(this);if(!t)return;Xn(this,t,e.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&R.i)){const n=N(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.i)Xn(t,n,e.Y),(null==n?void 0:n.P)||(1024&n.i?setTimeout((()=>Gn(t,n,e)),1e3):(null==n?void 0:n.Z)&&n.Z.then((()=>{})));else{let o;if(n.i|=1,o=t.getAttribute(C),o){if(1&e.i){const n=Tt(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h",n+"-s")}else if(2&e.i){const n=Lt(e,t.getAttribute("s-mode"));t["s-sc"]=n}((t,n,e,o)=>{var s,l,i,r;const c=t.shadowRoot,u=[],f=[],a=[],d=c?[]:null,h=Bt(n,null);let v;h.k=t;{const n=o.o;n&&10&n.i&&t["s-sc"]?(v=t["s-sc"],t.classList.add(v+"-h")):t["s-sc"]&&delete t["s-sc"]}!L.document||R.H&&R.H.size||Wt(L.document.body,R.H=new Map),t[C]=e,t.removeAttribute(C),o.A=Ht(h,u,f,d,t,t,e,a);let p=0;const b=u.length;let $;for(;p<b;p++){$=u[p];const e=$.C+"."+$.M,o=R.H.get(e),l=$.k;if(c){if((null==(s=$.S)?void 0:s.toString().includes("-"))&&"slot-fb"!==$.S&&!$.k.shadowRoot){const t=N($.k);if(t){const n=Lt(t.o,$.k.getAttribute("s-mode")),e=L.document.querySelector(`style[sty-id="${n}"]`);e&&d.unshift(e.cloneNode(!0))}}}else l["s-hn"]=n.toUpperCase(),"slot"===$.S&&(l["s-cr"]=t["s-cr"]);"slot"===$.S&&($.N=$.k["s-sn"]||$.k.name||null,$.j?($.i|=2,$.k.childNodes.length||$.j.forEach((t=>{$.k.appendChild(t.k)}))):$.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),c||(l["s-oo"]=parseInt($.M))),o&&!o["s-id"]&&R.H.delete(e)}const g=[],m=a.length;let y,w,j,O,S=0,x=0;for(;S<m;S++)if(y=a[S],y&&y.length)for(j=y.length,w=0;w<j;w++){if(O=y[w],g[O.hostId]||(g[O.hostId]=R.H.get(O.hostId)),!g[O.hostId])continue;const t=g[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(i=null==(l=y[w-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&c||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),ot(O.node,O.slot,!1,O.node["s-oo"]||x),(null==(r=O.node.parentElement)?void 0:r.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot"),(E=O.node)&&void 0===E.__nextSibling&&globalThis.Node&&(wt(E),Ot(E),St(E),E.nodeType===Node.ELEMENT_NODE&&(jt(E),Nt(E)))),x=(O.node["s-oo"]||x)+1}var E;if(v&&f.length&&f.forEach((t=>{t.k.parentElement.classList.add(v+"-s")})),c&&!c.childNodes.length){let n=0;const e=d.length;if(e){for(;n<e;n++){const t=d[n];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,e.v,o,n)}o||12&e.i&&Zn(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Rn(n,n.U=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),Gn(t,n,e)}o()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{if(!(1&R.i)){const n=N(t);(null==n?void 0:n.K)&&(n.K.map((t=>t())),n.K=void 0)}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)})(this),l&&l.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else K.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Yn(t,e)}catch(n){return x(n),t}var o},Qn=(t,n)=>n,Xn=(t,n,e)=>{e&&L.document&&e.map((([e,o,s])=>{const l=ne(L.document,t,e),i=te(n,s),r=ee(e);R.ael(l,o,i,r),(n.K=n.K||[]).push((()=>R.rel(l,o,i,r)))}))},te=(t,n)=>e=>{try{t.$hostElement$[n](e)}catch(n){x(n,t.$hostElement$)}},ne=(t,n,e)=>4&e?t:8&e?L:16&e?t.body:n,ee=t=>B?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),oe=t=>R.h=t,se=t=>Object.assign(R,t),le=new WeakMap;function ie(t,n){let e=le.get(n);e||(e={i:0,o:{i:0,v:n.tagName},$hostElement$:n},le.set(n,e)),An(e,t)}function re(t){return t}export{p as B,Qn as F,A as H,u as L,oe as a,se as b,h as c,Kn as d,e,_t as f,G as g,Rt as h,nn as i,Vn as j,J as k,l,o as m,s as n,Yt as o,d as p,Jt as q,ie as r,Z as s,re as t,v as u,Y as w}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import"./p-Dhhot0Wu.js";const t=(t,e,n=["item-multiple-inputs"])=>{const i=t.closest("ion-item");if(!i||"undefined"==typeof MutationObserver)return;const r=()=>n.map((t=>i.classList.contains(t))).join(",");let s=r();const o=new MutationObserver((()=>{const t=r();t!==s&&(s=t,e())}));return o.observe(i,{attributes:!0,attributeFilter:["class"]}),o};export{t as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as t}from"./p-Dhhot0Wu.js";const r=(r,n,e)=>{const i=null==r?0:r.toString().length,c=o(i,n);if(void 0===e)return c;try{return e(i,n)}catch(r){return t("[ion-input] - Exception in provided `counterFormatter`:",r),c}},o=(t,r)=>`${t} / ${r}`;export{r as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as i,a as o,w as e,i as a,h as s,f as r,g as n}from"./p-BGtO2Fhf.js";import{i as d,f as h,a as l,d as p,r as c,b as m,p as f}from"./p-1feuPAQy.js";import{C as u,a as b,d as x}from"./p-DJqMQDf-.js";import{w as v,o as w,g,e as y,r as k,b as A,h as Y}from"./p-de2BC0yO.js";import{c as D}from"./p-B-hirT0v.js";import{g as O}from"./p-Dqz9qh-H.js";import{O as S}from"./p-Dsf_kOyV.js";import{G as E,O as T,F as C,n as M,d as B,B as P,h as N,r as j,j as I,k as L,e as $,f as R,g as z}from"./p-e6vEFj_7.js";import{g as F}from"./p-byZM6qHV.js";import{e as H,w as W}from"./p-Cw2UdaY3.js";import{b as V}from"./p-CjUT_VTP.js";import{KEYBOARD_DID_OPEN as _}from"./p-rXvVaOP9.js";import{c as K}from"./p-BmeHOspf.js";import{g as U}from"./p-hHmYLOfE.js";import{createGesture as Z}from"./p-D0YpjgON.js";import"./p-Dj4J3LkD.js";import"./p-B_gJaBk0.js";import"./p-C7A9OQcL.js";var q;!function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"}(q||(q={}));const G={getEngine(){const t=O();if(t?.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},setStyle(t){const i=this.getEngine();i&&i.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t)return q.Default;const{style:i}=await t.getInfo();return i}},J=(t,i)=>{if(1===i)return 0;const o=1/(1-i);return t*o+-i*o},Q=()=>{!v||v.innerWidth>=768||G.setStyle({style:q.Dark})},X=(t=q.Default)=>{!v||v.innerWidth>=768||G.setStyle({style:t})},tt=t=>{const i=d(t)?g(t).querySelector(".inner-scroll"):t;return!h(t)&&0===i.scrollTop},it=async(t,i)=>{"function"==typeof t.canDismiss&&await t.canDismiss(void 0,E)&&(i.isRunning()?i.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},ot=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,et=.915,at=(t,i)=>y(400,t/Math.abs(1.1*i),500),st=(t,i)=>{const o=window.innerHeight,e=t.getBoundingClientRect().top,a=Math.round(1e3*(1-i/(o-e)))/1e3;return Math.max(0,Math.min(1,a))},rt=t=>{const{currentBreakpoint:i,backdropBreakpoint:o,expandToScroll:e}=t,a=void 0===o||o<i,s=a?`calc(var(--backdrop-opacity) * ${i})`:"0",r=K("backdropAnimation").fromTo("opacity",0,s);return a&&r.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:K("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*i}%)`}]),backdropAnimation:r,contentAnimation:e?void 0:K("contentAnimation").keyframes([{offset:0,opacity:1,maxHeight:100*(1-i)+"%"},{offset:1,opacity:1,maxHeight:100*i+"%"}])}},nt=t=>{const{currentBreakpoint:i,backdropBreakpoint:o}=t,e=`calc(var(--backdrop-opacity) * ${J(i,o)})`,a=[{offset:0,opacity:e},{offset:1,opacity:0}],s=[{offset:0,opacity:e},{offset:o,opacity:0},{offset:1,opacity:0}],r=K("backdropAnimation").keyframes(0!==o?s:a);return{wrapperAnimation:K("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*i}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:r}},dt=(t,i)=>{const{presentingEl:o,currentBreakpoint:e,expandToScroll:a}=i,s=g(t),{wrapperAnimation:r,backdropAnimation:n,contentAnimation:d}=void 0!==e?rt(i):{backdropAnimation:K().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:K().fromTo("transform","translateY(100vh)","translateY(0vh)"),contentAnimation:void 0};n.addElement(s.querySelector("ion-backdrop")),r.addElement(s.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}),!a&&d?.addElement(t.querySelector(".ion-page"));const h=K("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation([r]);if(d&&h.addAnimation(d),o){const t=window.innerWidth<768,i="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,e=g(o),a=K().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),s=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",e=`translateY(${i?"-10px":t}) scale(0.915)`;a.afterStyles({transform:e}).beforeAddWrite((()=>s.style.setProperty("background-color","black"))).addElement(o).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:e,borderRadius:"10px 10px 0 0"}]),h.addAnimation(a)}else if(h.addAnimation(n),i){const t=`translateY(-10px) scale(${i?et:1})`;a.afterStyles({transform:t}).addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:t}]);const o=K().afterStyles({transform:t}).addElement(e.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:t}]);h.addAnimation([a,o])}else r.fromTo("opacity","0","1")}else h.addAnimation(n);return h},ht=(t,i,o=500)=>{const{presentingEl:e,currentBreakpoint:a}=i,s=g(t),{wrapperAnimation:r,backdropAnimation:n}=void 0!==a?nt(i):{backdropAnimation:K().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:K().fromTo("transform","translateY(0vh)","translateY(100vh)")};n.addElement(s.querySelector("ion-backdrop")),r.addElement(s.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=K("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(r);if(e){const t=window.innerWidth<768,i="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,o=g(e),a=K().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{1===t&&(e.style.setProperty("overflow",""),Array.from(s.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((t=>void 0!==t.presentingElement)).length<=1&&s.style.setProperty("background-color",""))})),s=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",o=`translateY(${i?"-10px":t}) scale(0.915)`;a.addElement(e).keyframes([{offset:0,filter:"contrast(0.85)",transform:o,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(a)}else if(d.addAnimation(n),i){const t=`translateY(-10px) scale(${i?et:1})`;a.addElement(o.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 e=K().addElement(o.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([a,e])}else r.fromTo("opacity","1","0")}else d.addAnimation(n);return d},lt=(t,i)=>{const{currentBreakpoint:o,expandToScroll:e}=i,a=g(t),{wrapperAnimation:s,backdropAnimation:r,contentAnimation:n}=void 0!==o?rt(i):{backdropAnimation:K().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:K().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),contentAnimation:void 0};r.addElement(a.querySelector("ion-backdrop")),s.addElement(a.querySelector(".modal-wrapper")),!e&&n?.addElement(t.querySelector(".ion-page"));const d=K().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,s]);return n&&d.addAnimation(n),d},pt=(t,i)=>{const{currentBreakpoint:o}=i,e=g(t),{wrapperAnimation:a,backdropAnimation:s}=void 0!==o?nt(i):{backdropAnimation:K().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:K().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return s.addElement(e.querySelector("ion-backdrop")),a.addElement(e.querySelector(".modal-wrapper")),K().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([s,a])};let ct=null,mt=!1;const ft=()=>{if(null!==ct)return ct;const t=v?.document;if(!t?.body)return 0;const i=t.createElement("div");i.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);",t.body.appendChild(i);const o=parseFloat(getComputedStyle(i).paddingTop)||0;return i.remove(),ct=o,mt||(mt=!0,k((()=>{ct=null,mt=!1}))),o},ut=t=>{const i=getComputedStyle(t),o=M(i.getPropertyValue("--width")),e=M(i.getPropertyValue("--height"));return"fullscreen"===o&&"fullscreen"===e?{vertical:!0,horizontal:!0}:bt(t)},bt=t=>{const i=t.shadowRoot?.querySelector(".modal-wrapper");if(null==i||void 0===v)return{vertical:!1,horizontal:!1};const o=t.classList.contains("overlay-hidden");o&&t.classList.remove("overlay-hidden");const{width:e,height:a}=i.getBoundingClientRect();return o&&t.classList.add("overlay-hidden"),{vertical:a>=v.innerHeight-5,horizontal:e>=v.innerWidth-5}},xt=(t,i)=>{t.style.setProperty("--ion-safe-area-top",i.top),t.style.setProperty("--ion-safe-area-bottom",i.bottom),t.style.setProperty("--ion-safe-area-left",i.left),t.style.setProperty("--ion-safe-area-right",i.right)},vt=class{constructor(o){new.target===vt&&t(this,o),this.didPresent=i(this,"ionModalDidPresent",7),this.willPresent=i(this,"ionModalWillPresent",7),this.willDismiss=i(this,"ionModalWillDismiss",7),this.didDismiss=i(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=i(this,"ionBreakpointDidChange",7),this.didPresentShorthand=i(this,"didPresent",7),this.willPresentShorthand=i(this,"willPresent",7),this.willDismissShorthand=i(this,"willDismiss",7),this.didDismissShorthand=i(this,"didDismiss",7),this.ionMount=i(this,"ionMount",7),this.ionDragStart=i(this,"ionDragStart",7),this.ionDragMove=i(this,"ionDragMove",7),this.ionDragEnd=i(this,"ionDragEnd",7),this.lockController=D(),this.triggerController=B(),this.coreDelegate=u(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.isPresenting=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.expandToScroll=!0,this.backdropBreakpoint=0,this.handleBehavior="cycle",this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.isOpen=!1,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:i}=this;"cycle"===i&&void 0===t&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,P)},this.onLifecycle=t=>{const i=this.usersElement,o=wt[t.type];if(i&&o){const e=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});i.dispatchEvent(e)}},this.onModalFocus=t=>{const{dragHandleEl:i,el:o}=this;t.target===o&&null==o.shadowRoot?.activeElement&&i&&-1!==i.tabIndex&&i.focus()},this.onSlotChange=({target:t})=>{t.assignedElements().forEach((t=>{t.querySelectorAll("ion-modal").forEach((t=>{null===t.getAttribute("data-parent-ion-modal")&&t.setAttribute("data-parent-ion-modal",this.el.id)}))}))}}onIsOpenChange(t,i){!0===t&&!1===i?this.present():!1===t&&!0===i&&this.dismiss()}triggerChanged(){const{trigger:t,el:i,triggerController:o}=this;t&&o.addClickListener(i,t)}onWindowResize(){this.presented&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((()=>{const t=this.getSafeAreaContext();if(!t.isCardModal||this.enterAnimation||this.leaveAnimation||this.handleViewTransition(),t.isSheetModal&&this.updateSheetOffsetTop(),!t.isSheetModal&&!t.isCardModal){this.updateSafeAreaOverrides();const{contentEl:t,hasFooter:i}=this.findContentAndFooter();this.clearContentSafeAreaPadding(t),this.applyFullscreenSafeAreaTo(t,i)}}),50))}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,i)=>t-i)))}connectedCallback(){const{el:t}=this;N(t),this.triggerChanged(),(this.presented||this.isPresenting)&&this.restoreSafeAreaOverrides(),this.presented&&(j(t),this.initParentRemovalObserver())}disconnectedCallback(){this.triggerController.removeClickListener(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides(),this.presented&&I()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:i,el:e,htmlAttributes:a}=this,s=this.isSheetModal=void 0!==t&&void 0!==i,r=["aria-label","role"];this.inheritedAttributes=A(e,r),e.parentNode&&(this.cachedOriginalParent=e.parentNode),void 0!==a&&r.forEach((t=>{a[t]&&(this.inheritedAttributes={...this.inheritedAttributes,[t]:a[t]},delete a[t])})),s&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===i||t.includes(i)||o("[ion-modal] - Your breakpoints array must include the initialBreakpoint value."),this.htmlAttributes?.id||L(this.el)}componentDidLoad(){!0===this.isOpen&&k((()=>this.present())),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const i=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:i,delegate:this.workingDelegate=i?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(t,i){const{canDismiss:o}=this;return"function"==typeof o?o(t,i):o}async present(){const t=await this.lockController.lock();if(this.presented)return void t();const{presentingElement:i,el:o}=this;this.currentBreakpoint=this.initialBreakpoint;const{inline:a,delegate:s}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await b(s,o,this.component,["ion-page"],this.componentProps,a),Y(o)?await H(this.usersElement):this.keepContentsMounted||await W(),e((()=>this.el.classList.add("show-modal"))),this.isSheetModal=void 0!==this.breakpoints&&void 0!==this.initialBreakpoint,this.isPresenting=!0;const r=void 0!==i;try{this.setInitialSafeAreaOverrides(),r&&"ios"===V(this)&&(this.statusBarStyle=await G.getStyle(),Q()),await $(this,"modalEnter",dt,lt,{presentingEl:i,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll})}finally{this.isPresenting=!1}this.updateSafeAreaOverrides(),this.applyFullscreenSafeArea(),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),k((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(_,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():r&&this.initSwipeToClose(),this.initViewTransitionListener(),this.initParentRemovalObserver(),t()}initSwipeToClose(){if("ios"!==V(this))return;const{el:t}=this,i=this.leaveAnimation||a.get("modalLeave",ht),o=this.animation=i(t,{presentingEl:this.presentingElement,expandToScroll:this.expandToScroll});m(t)?(this.gesture=((t,i,o,e,a,s,r)=>{const n=.5,h=t.offsetHeight;let m=!1,f=!1,u=null,b=!0,x=0;const v=Z({el:t,gestureName:"modalSwipeToClose",gesturePriority:T,direction:"y",threshold:10,canStart:t=>{const i=t.event.target;return null===i||!i.closest||(u=l(i),u?tt(u):null===i.closest("ion-footer"))},onStart:o=>{const{deltaY:e}=o;window.getSelection()?.removeAllRanges(),b=!u||!d(u)||u.scrollY,f=void 0!==t.canDismiss&&!0!==t.canDismiss,e>0&&u&&p(u),i.progressStart(!0,m?1:0),a()},onMove:e=>{const{deltaY:a}=e;a>0&&u&&p(u);const r=e.deltaY/h,d=r>=0&&f,l=d?.2:.9999,c=d?ot(r/l):r,m=y(1e-4,c,l);i.progressStep(m),m>=n&&x<n?X(o):m<n&&x>=n&&Q(),x=m;const b={currentY:e.currentY,deltaY:e.deltaY,velocityY:e.velocityY,progress:st(t,e.deltaY)};s(b)},onEnd:o=>{const a=o.velocityY,s=o.deltaY/h,d=s>=0&&f,l=d?.2:.9999,p=d?ot(s/l):s,x=y(1e-4,p,l),w=!d&&(o.deltaY+1e3*a)/h>=n;let g=w?-.001:.001;w?(i.easing("cubic-bezier(0.32, 0.72, 0, 1)"),g+=U([0,0],[.32,.72],[0,1],[1,1],x)[0]):(i.easing("cubic-bezier(1, 0, 0.68, 0.28)"),g+=U([0,0],[1,0],[.68,.28],[1,1],x)[0]);const k=at(w?s*h:(1-x)*h,a);m=w,v.enable(!1),u&&c(u,b),i.onFinish((()=>{w||v.enable(!0)})).progressEnd(w?1:0,g,k);const A=d&&x>l/4;A?it(t,i):w&&e();const Y=d?A&&"function"==typeof t.canDismiss:w,D={currentY:o.currentY,deltaY:o.deltaY,velocityY:o.velocityY,progress:st(t,o.deltaY),isDismissing:Y};r(D)}});return v})(t,o,this.statusBarStyle??q.Default,(()=>this.cardOnDismiss()),(()=>this.onDragStart()),(t=>this.onDragMove(t)),(t=>this.onDragEnd(t))),this.gesture.enable(!0)):f(t)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:i,backdropBreakpoint:o}=this;if(!t||void 0===i)return;const e=this.enterAnimation||a.get("modalEnter",dt),s=this.animation=e(this.el,{presentingEl:this.presentingElement,currentBreakpoint:i,backdropBreakpoint:o,expandToScroll:this.expandToScroll});s.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:n,resetContentScroll:h}=((t,i,o,e,a,s,r=[],n,h,p,c,m,f,u)=>{const b={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==a?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-a,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],CONTENT_KEYFRAMES:[{offset:0,maxHeight:"100%"},{offset:1,maxHeight:"0%"}]},x=t.querySelector("ion-content"),v=x?.scrollY??!0,w=o.clientHeight;let A=e,Y=0,D=!1,O=null,S=null,E=null,T=null;const M=r[r.length-1],B=r[0],P=s.childAnimations.find((t=>"wrapperAnimation"===t.id)),N=s.childAnimations.find((t=>"backdropAnimation"===t.id)),j=s.childAnimations.find((t=>"contentAnimation"===t.id)),I=()=>{!1!==t.focusTrap&&!1!==t.showBackdrop&&(t.style.setProperty("pointer-events","auto"),i.style.setProperty("pointer-events","auto"),t.classList.remove(C))},L=()=>{t.style.setProperty("pointer-events","none"),i.style.setProperty("pointer-events","none"),t.classList.add(C)},$=i=>{if(!S&&(S=Array.from(t.querySelectorAll("ion-footer")),!S.length))return;const o=t.querySelector(".ion-page");if(T=i,"stationary"===i)S.forEach((t=>{t.classList.remove("modal-footer-moving"),t.style.removeProperty("position"),t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("top"),t.style.removeProperty("left"),o?.style.removeProperty("padding-bottom"),o?.appendChild(t)}));else{let i=0;S.forEach(((o,e)=>{const a=o.getBoundingClientRect(),s=document.body.getBoundingClientRect();i+=o.clientHeight;const r=a.top-s.top,n=a.left-s.left;if(o.style.setProperty("--pinned-width",`${o.clientWidth}px`),o.style.setProperty("--pinned-height",`${o.clientHeight}px`),o.style.setProperty("--pinned-top",`${r}px`),o.style.setProperty("--pinned-left",`${n}px`),0===e){E=r;const i=t.querySelector("ion-header");i&&(E-=i.clientHeight)}})),S.forEach((t=>{o?.style.setProperty("padding-bottom",`${i}px`),t.classList.add("modal-footer-moving"),t.style.setProperty("position","absolute"),t.style.setProperty("width","var(--pinned-width)"),t.style.setProperty("height","var(--pinned-height)"),t.style.setProperty("top","var(--pinned-top)"),t.style.setProperty("left","var(--pinned-left)"),document.body.appendChild(t)}))}};P&&N&&(P.keyframes([...b.WRAPPER_KEYFRAMES]),N.keyframes([...b.BACKDROP_KEYFRAMES]),j?.keyframes([...b.CONTENT_KEYFRAMES]),s.progressStart(!0,1-A),A>a&&!1!==t.focusTrap&&!1!==t.showBackdrop?I():L()),x&&A!==M&&n&&(x.scrollY=!1);const R=i=>{const{breakpoint:o,canDismiss:e,breakpointOffset:d,animated:h}=i,l=e&&0===o,m=l?A:o,f=0!==m;return A=0,P&&N&&(P.keyframes([{offset:0,transform:`translateY(${100*d}%)`},{offset:1,transform:`translateY(${100*(1-m)}%)`}]),N.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${J(1-d,a)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${J(m,a)})`}]),j&&j.keyframes([{offset:0,maxHeight:100*(1-d)+"%"},{offset:1,maxHeight:100*m+"%"}]),s.progressStep(0)),W.enable(!1),l?it(t,s):f||p(),!x||m!==r[r.length-1]&&n||(x.scrollY=v),n||0!==m||$("stationary"),new Promise((i=>{s.onFinish((()=>{f?(n||$("stationary"),P&&N?k((()=>{P.keyframes([...b.WRAPPER_KEYFRAMES]),N.keyframes([...b.BACKDROP_KEYFRAMES]),j?.keyframes([...b.CONTENT_KEYFRAMES]),s.progressStart(!0,1-m),A=m,c(A),A>a&&!1!==t.focusTrap&&!1!==t.showBackdrop?I():L(),W.enable(!0),i()})):(W.enable(!0),i())):i()}),{oneTimeCallback:!0}).progressEnd(1,0,h?500:0)}))},z=(t,i)=>{const o=F(t+350*i);return r.reduce(((t,i)=>Math.abs(i-o)<Math.abs(t-o)?i:t))},F=t=>{const i=Math.round(1e3*(A-t/w))/1e3;return y(0,i,1)},H=t=>{const i=(F(t)-B)/(M-B);return y(0,i,1)},W=Z({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:t=>{const i=l(t.event.target);return A=h(),!(i&&(!n||1===A))||tt(i)},onStart:i=>{if(window.getSelection()?.removeAllRanges(),D=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===B,!n){const t=l(i.event.target);O=t&&d(t)?g(t).querySelector(".inner-scroll"):t}n||$("moving"),i.deltaY>0&&x&&(x.scrollY=!1),k((()=>{t.focus()})),s.progressStart(!0,1-A),m()},onMove:t=>{if(n||null===E||null===T||(t.currentY>=E&&"moving"===T?$("stationary"):t.currentY<E&&"stationary"===T&&$("moving")),!n&&t.deltaY<=0&&O)return;t.deltaY>0&&x&&(x.scrollY=!1);const i=r.length>1?1-r[1]:void 0,o=1-A+t.deltaY/w,e=void 0!==i&&o>=i&&D,a=e?.95:.9999,d=e&&void 0!==i?i+ot((o-i)/(a-i)):o;Y=y(1e-4,d,a),s.progressStep(Y);const h=z(t.deltaY,t.velocityY),l={currentY:t.currentY,deltaY:t.deltaY,velocityY:t.velocityY,progress:H(t.deltaY),snapBreakpoint:h};f(l)},onEnd:i=>{const o=z(i.deltaY,i.velocityY),e=D&&0===o?"function"==typeof t.canDismiss:0===o,a={currentY:i.currentY,deltaY:i.deltaY,velocityY:i.velocityY,progress:H(i.deltaY),snapBreakpoint:o,isDismissing:e};if(!n&&i.deltaY<=0&&O&&O.scrollTop>0)return $("stationary"),void u({...a,isDismissing:!1});R({breakpoint:o,breakpointOffset:Y,canDismiss:D,animated:!0}),u(a)}});return{gesture:W,moveSheetToBreakpoint:R,resetContentScroll:()=>{x&&(x.scrollY=v)}}})(this.el,this.backdropEl,t,i,o,s,this.sortedBreakpoints,this.expandToScroll,(()=>this.currentBreakpoint??0),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}),(()=>this.onDragStart()),(t=>this.onDragMove(t)),(t=>this.onDragEnd(t)));this.gesture=r,this.moveSheetToBreakpoint=n,this.resetSheetContentScroll=h,this.gesture.enable(!0),(!1===this.showBackdrop||!1===this.focusTrap||o>0)&&this.setupChildRoutePassthrough()}setupChildRoutePassthrough(){this.cachedPageParent=this.getOriginalPageParent();const t=this.cachedPageParent;if(!t||"ION-APP"===t.tagName)return;if(Array.from(t.children).some((t=>!(t===this.el||t instanceof HTMLElement&&"none"===window.getComputedStyle(t).display||"TEMPLATE"===t.tagName||"SLOT"===t.tagName||t.nodeType===Node.TEXT_NODE&&!t.textContent?.trim()))))return;t.classList.add("ion-page-overlay-passthrough");const i=t.parentElement;"ION-ROUTER-OUTLET"===i?.tagName&&"ION-APP"!==i.parentElement?.tagName&&(i.style.setProperty("pointer-events","none"),i.setAttribute("data-overlay-passthrough","true"))}getOriginalPageParent(){if(!this.cachedOriginalParent)return null;let t=this.cachedOriginalParent;for(;t&&!t.classList.contains("ion-page");)t=t.parentElement;return t}cleanupChildRoutePassthrough(){const t=this.cachedPageParent;if(!t)return;t.classList.remove("ion-page-overlay-passthrough");const i=t.parentElement;i?.hasAttribute("data-overlay-passthrough")&&(i.style.removeProperty("pointer-events"),i.removeAttribute("data-overlay-passthrough")),this.cachedPageParent=void 0}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,E),this.gestureAnimationDismissing=!1}))}cardOnDismiss(){this.gestureAnimationDismissing=!0,X(this.statusBarStyle),this.animation.onFinish((async()=>{await this.dismiss(void 0,E),this.gestureAnimationDismissing=!1}))}async dismiss(t,i){if(this.gestureAnimationDismissing&&i!==E)return!1;clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0;const o=await this.lockController.lock();if(await this.dismissNestedModals(),"handler"!==i&&!await this.checkCanDismiss(t,i))return o(),!1;const{presentingElement:a}=this;void 0!==a&&"ios"===V(this)&&X(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(_,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);const s=await R(this,t,i,"modalLeave",ht,pt,{presentingEl:a,currentBreakpoint:this.currentBreakpoint??this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll});if(s){const{delegate:t}=this.getDelegate();await x(t,this.usersElement),e((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),this.resetSheetContentScroll?.(),this.resetSheetContentScroll=void 0,this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides(),this.cleanupChildRoutePassthrough()}return this.currentBreakpoint=void 0,this.animation=void 0,o(),s}onDidDismiss(){return z(this.el,"ionModalDidDismiss")}onWillDismiss(){return z(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void o("[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void o(`[ion-modal] - Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:i,moveSheetToBreakpoint:e,canDismiss:a,breakpoints:s,animated:r}=this;i!==t&&e&&(this.sheetTransition=e({breakpoint:t,breakpointOffset:1-i,canDismiss:void 0!==a&&!0!==a&&0===s[0],animated:r}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:i}=this;if(!t||null==i)return!1;const o=t.filter((t=>0!==t)),e=o.indexOf(i),a=o[(e+1)%o.length];return await this.setCurrentBreakpoint(a),!0}initViewTransitionListener(){"ios"!==V(this)||!this.presentingElement||this.enterAnimation||this.leaveAnimation||(this.currentViewIsPortrait=window.innerWidth<768)}handleViewTransition(){if(!this.presented)return;const t=window.innerWidth<768;if(this.currentViewIsPortrait===t)return;this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0);const{presentingElement:i}=this;if(!i)return;let o;o=this.currentViewIsPortrait&&!t?((t,i,o=300)=>{const{presentingEl:e}=i;if(!e)return K("portrait-to-landscape-transition");const a="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,s=g(e),r=document.body,n=K("portrait-to-landscape-transition").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(o),d=K().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(a){const t="translateY(-10px) scale(0.915)",i="translateY(0px) scale(1)";d.addElement(e).afterStyles({transform:i}).fromTo("transform",t,i).fromTo("filter","contrast(0.85)","contrast(1)");const o=K().addElement(s.querySelector(".modal-shadow")).afterStyles({transform:i,opacity:"0"}).fromTo("transform",t,i);n.addAnimation([d,o])}else{const i=g(t),o=K().addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),a=K().addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),s=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;d.addElement(e).afterStyles({transform:"translateY(0px) scale(1)","border-radius":"0px"}).beforeAddWrite((()=>r.style.setProperty("background-color",""))).fromTo("transform",s,"translateY(0px) scale(1)").fromTo("filter","contrast(0.85)","contrast(1)").fromTo("border-radius","10px 10px 0 0","0px"),n.addAnimation([d,o,a])}return n})(this.el,{presentingEl:i}):((t,i,o=300)=>{const{presentingEl:e}=i;if(!e)return K("landscape-to-portrait-transition");const a="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,s=g(e),r=document.body,n=K("landscape-to-portrait-transition").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(o),d=K().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(a){const t="translateY(-10px) scale(0.915)",i="translateY(0) scale(1)";d.addElement(e).afterStyles({transform:i}).fromTo("transform",t,i);const o=K().addElement(s.querySelector(".modal-shadow")).afterStyles({transform:i,opacity:"0"}).fromTo("transform",t,i);n.addAnimation([d,o])}else{const i=g(t),o=K().addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),a=K().addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),s=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;d.addElement(e).afterStyles({transform:s}).beforeAddWrite((()=>r.style.setProperty("background-color","black"))).keyframes([{offset:0,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"0px"},{offset:.2,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"10px 10px 0 0"},{offset:1,transform:s,filter:"contrast(0.85)",borderRadius:"10px 10px 0 0"}]),n.addAnimation([d,o,a])}return n})(this.el,{presentingEl:i}),this.currentViewIsPortrait=t,this.viewTransitionAnimation=o,o.play().then((()=>{this.viewTransitionAnimation=void 0,k((()=>this.updateSafeAreaOverrides())),this.reinitSwipeToClose()}))}cleanupViewTransitionListener(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0)}reinitSwipeToClose(){"ios"===V(this)&&this.presentingElement&&(this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation&&(this.animation.progressEnd(0,0,0),this.animation.destroy(),this.animation=void 0),k((()=>{this.ensureCorrectModalPosition(),this.initSwipeToClose()})))}ensureCorrectModalPosition(){const{el:t,presentingElement:i}=this,o=g(t).querySelector(".modal-wrapper");if(o&&(o.style.transform="translateY(0vh)",o.style.opacity="1"),"ION-MODAL"===i?.tagName)if(window.innerWidth<768){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px";i.style.transform=`translateY(${t}) scale(0.915)`}else i.style.transform="translateY(0px) scale(1)"}async dismissNestedModals(){const t=document.querySelectorAll(`ion-modal[data-parent-ion-modal="${this.el.id}"]`);t?.forEach((async t=>{await t.dismiss(void 0,"parent-dismissed")}))}initParentRemovalObserver(){"undefined"!=typeof MutationObserver&&"undefined"!=typeof window&&this.cachedOriginalParent&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_NODE&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(this.hasController||this.cachedOriginalParent===document.body||"ION-APP"===this.cachedOriginalParent.tagName||(this.cleanupParentRemovalObserver(),this.parentRemovalObserver=new MutationObserver((t=>{t.forEach((t=>{"childList"===t.type&&t.removedNodes.length>0&&(Array.from(t.removedNodes).some((t=>{const i=t===this.cachedOriginalParent,o=!!this.cachedOriginalParent&&t.contains?.(this.cachedOriginalParent);return i||o}))||this.cachedOriginalParent&&!this.cachedOriginalParent.isConnected)&&(this.dismiss(void 0,"parent-removed"),this.cachedOriginalParent=void 0)}))})),this.parentRemovalObserver.observe(document.body,{childList:!0,subtree:!0})))}cleanupParentRemovalObserver(){this.parentRemovalObserver?.disconnect(),this.parentRemovalObserver=void 0}onDragStart(){this.ionDragStart.emit()}onDragMove(t){this.ionDragMove.emit(t)}onDragEnd(t){this.ionDragEnd.emit(t)}getSafeAreaContext(){return{isSheetModal:this.isSheetModal,isCardModal:void 0!==this.presentingElement&&"ios"===V(this),presentingElement:this.presentingElement,breakpoints:this.breakpoints,currentBreakpoint:this.currentBreakpoint}}watchHeightForContent(){var t;this.isSheetModal||(this.unsubscribeHeightChange?.(),this.unsubscribeHeightChange=(t=()=>{this.el.querySelectorAll("ion-content").forEach((t=>t.recalculateDimensions()))},w(this.el,"--height",(()=>t()))))}setInitialSafeAreaOverrides(){const t={...this.getSafeAreaContext(),coveredAxes:ut(this.el)},i=(t=>{const{isSheetModal:i,isCardModal:o}=t;if(i)return{top:"0px",bottom:"inherit",left:"0px",right:"0px"};if(o)return{top:"inherit",bottom:"inherit",left:"0px",right:"0px"};const{vertical:e,horizontal:a}=t.coveredAxes??{vertical:!0,horizontal:!0};return{top:e?"inherit":"0px",bottom:e?"inherit":"0px",left:a?"inherit":"0px",right:a?"inherit":"0px"}})(t);var o;xt(this.el,i),this.watchHeightForContent(),t.isSheetModal&&(this.updateSheetOffsetTop(),this.unsubscribeRootSafeAreaTop?.(),this.unsubscribeRootSafeAreaTop=(o=t=>this.updateSheetOffsetTop(t),w(v?.document?.body,"--ion-safe-area-top",o,ft())))}updateSheetOffsetTop(t){const i=t??ft();this.el.style.setProperty("--ion-modal-offset-top",`${i}px`)}updateSafeAreaOverrides(){const{wrapperEl:t,el:i}=this,o=this.getSafeAreaContext();if(o.isSheetModal)return;if(o.isCardModal)return;if(!t)return;const e=(t=>{const i=t.getBoundingClientRect();return{top:i.top<=5?"inherit":"0px",bottom:i.bottom>=(v?.innerHeight??0)-5?"inherit":"0px",left:i.left<=5?"inherit":"0px",right:i.right>=(v?.innerWidth??0)-5?"inherit":"0px"}})(t);xt(i,e)}applyFullscreenSafeArea(){const t=this.getSafeAreaContext();if(t.isSheetModal||t.isCardModal)return;const{contentEl:i,hasFooter:o}=this.findContentAndFooter();this.applyFullscreenSafeAreaTo(i,o)}applyFullscreenSafeAreaTo(t,i){t&&!i&&t.style.setProperty("--internal-content-safe-area-padding-bottom","var(--ion-safe-area-bottom, 0px)")}clearContentSafeAreaPadding(t){t&&t.style.removeProperty("--internal-content-safe-area-padding-bottom")}findContentAndFooter(){let t=null,i=!1;for(const o of Array.from(this.el.children)){"ION-CONTENT"===o.tagName&&(t=o),"ION-FOOTER"===o.tagName&&(i=!0);for(const e of Array.from(o.children))"ION-CONTENT"!==e.tagName||t||(t=e),"ION-FOOTER"===e.tagName&&(i=!0)}return{contentEl:t,hasFooter:i}}cleanupSafeAreaOverrides(){var t;(t=this.el).style.removeProperty("--ion-safe-area-top"),t.style.removeProperty("--ion-safe-area-bottom"),t.style.removeProperty("--ion-safe-area-left"),t.style.removeProperty("--ion-safe-area-right"),this.unsubscribeRootSafeAreaTop?.(),this.unsubscribeRootSafeAreaTop=void 0,this.unsubscribeHeightChange?.(),this.unsubscribeHeightChange=void 0,this.el.style.removeProperty("--ion-modal-offset-top");const{contentEl:i}=this.findContentAndFooter();this.clearContentSafeAreaPadding(i)}restoreSafeAreaOverrides(){this.setInitialSafeAreaOverrides(),this.applyFullscreenSafeArea(),k((()=>{if(!this.presented||!this.el.isConnected||this.isPresenting)return;const{width:t,height:i}=this.el.getBoundingClientRect();0===t&&0===i||this.updateSafeAreaOverrides()}))}render(){const{handle:t,isSheetModal:i,presentingElement:o,htmlAttributes:e,handleBehavior:a,inheritedAttributes:n,focusTrap:d,expandToScroll:h}=this,l=!1!==t&&i,p=V(this),c=void 0!==o&&"ios"===p,m="cycle"===a;return s(r,{key:"0f5bf017911db2f82bc69ba85b173b7573a21d6c","no-router":!0,tabIndex:m&&i&&l?0:-1,...e,style:{zIndex:`${2e4+this.overlayIndex}`},class:{[p]:!0,"modal-default":!c&&!i,"modal-card":c,"modal-sheet":i,"modal-no-expand-scroll":i&&!h,"overlay-hidden":!0,[C]:!1===d,...F(this.cssClass)},onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle,onFocus:this.onModalFocus},s("ion-backdrop",{key:"16ead017af217106e7eceb53a727f9b0b2dcf956",ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===p&&s("div",{key:"e040ccf1fd3757245c9804258e1d0d651a0af622",class:"modal-shadow"}),s(S,{key:"462e5424d6e04684e68cfd71bf1e526af6446681",overlay:this.el,edge:"start"}),s("div",{key:"98de2956a7dbbb3fd2709b689426ff00debf96d9",role:"dialog",...n,"aria-modal":"true",tabIndex:-1,class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t},l&&s("button",{key:"33d09f0ec7ad39e64fef18271a15491ae1f48a18",class:"modal-handle",tabIndex:m?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:m?this.onHandleClick:void 0,part:"handle",ref:t=>this.dragHandleEl=t}),s("slot",{key:"950bf5bbf3f29ee2888d3a46a5f0dde6566af0e8",onSlotchange:this.onSlotChange})),s(S,{key:"4d28b0066b3a0c57a315844761acc454055e6339",overlay:this.el,edge:"end"}))}get el(){return n(this)}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],breakpoints:[{breakpointsChanged:0}]}}},wt={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};vt.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--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-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@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, var(--ion-background-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-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-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-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--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-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@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, var(--ion-background-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-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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{vt as ion_modal}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as o}from"./p-de2BC0yO.js";import{t as s}from"./p-BGtO2Fhf.js";const r="ion-content",e=".ion-content-scroll-host",t=`${r}, ${e}`,n=o=>"ION-CONTENT"===o.tagName,a=async s=>n(s)?(await new Promise((r=>o(s,r))),s.getScrollElement()):s,i=o=>o.querySelector(e)||o.querySelector(t),l=o=>o.closest(t),f=o=>o.querySelector(e),c=o=>{if(n(o))return o.querySelector("ion-refresher");const s=o.closest(r);if(null===s)return null;const e=f(s);return null!==e&&e.contains(o)?s.querySelector("ion-refresher"):null},h=(o,s)=>n(o)?o.scrollToTop(s):Promise.resolve(o.scrollTo({top:0,left:0,behavior:"smooth"})),u=(o,s,r,e)=>n(o)?o.scrollByPoint(s,r,e):Promise.resolve(o.scrollBy({top:r,left:s,behavior:e>0?"smooth":"auto"})),m=o=>s(o,r),p=o=>{if(n(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},d=(o,s)=>{n(o)?o.scrollY=s:o.style.removeProperty("overflow")};export{e as I,l as a,i as b,r as c,p as d,f as e,c as f,a as g,u as h,n as i,m as p,d as r,h as s}