@ionic/core 9.0.4-dev.11789491273.11ab1c95 → 9.0.4-dev.11789496656.1690cf55

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 (282) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion.js +1 -1
  3. package/components/ion-action-sheet.js +1 -1
  4. package/components/ion-alert.js +1 -1
  5. package/components/ion-app.js +1 -1
  6. package/components/ion-back-button.js +1 -1
  7. package/components/ion-breadcrumb.js +1 -1
  8. package/components/ion-button.js +1 -1
  9. package/components/ion-card.js +1 -1
  10. package/components/ion-checkbox.js +1 -1
  11. package/components/ion-content.js +1 -1
  12. package/components/ion-datetime-button.js +1 -1
  13. package/components/ion-datetime.js +1 -1
  14. package/components/ion-fab-button.js +1 -1
  15. package/components/ion-footer.js +1 -1
  16. package/components/ion-header.js +1 -1
  17. package/components/ion-img.js +1 -1
  18. package/components/ion-infinite-scroll.js +1 -1
  19. package/components/ion-input-otp.js +1 -1
  20. package/components/ion-input-password-toggle.js +1 -1
  21. package/components/ion-input.js +1 -1
  22. package/components/ion-item-options.js +1 -1
  23. package/components/ion-item-sliding.js +1 -1
  24. package/components/ion-item.js +1 -1
  25. package/components/ion-loading.js +1 -1
  26. package/components/ion-menu-button.js +1 -1
  27. package/components/ion-menu-toggle.js +1 -1
  28. package/components/ion-menu.js +1 -1
  29. package/components/ion-modal.js +1 -1
  30. package/components/ion-nav.js +1 -1
  31. package/components/ion-picker-column-option.js +1 -1
  32. package/components/ion-picker-column.js +1 -1
  33. package/components/ion-picker.js +1 -1
  34. package/components/ion-popover.js +1 -1
  35. package/components/ion-progress-bar.js +1 -1
  36. package/components/ion-radio-group.js +1 -1
  37. package/components/ion-radio.js +1 -1
  38. package/components/ion-range.js +1 -1
  39. package/components/ion-refresher-content.js +1 -1
  40. package/components/ion-refresher.js +1 -1
  41. package/components/ion-reorder-group.js +1 -1
  42. package/components/ion-router-outlet.js +1 -1
  43. package/components/ion-router.js +1 -1
  44. package/components/ion-searchbar.js +1 -1
  45. package/components/ion-segment-button.js +1 -1
  46. package/components/ion-segment.js +1 -1
  47. package/components/ion-select-modal.js +1 -1
  48. package/components/ion-select-popover.js +1 -1
  49. package/components/ion-select.js +1 -1
  50. package/components/ion-tab-button.js +1 -1
  51. package/components/ion-tab.js +1 -1
  52. package/components/ion-textarea.js +1 -1
  53. package/components/ion-toast.js +1 -1
  54. package/components/ion-toggle.js +1 -1
  55. package/components/{p-DPJUYiz0.js → p-5juwds63.js} +1 -1
  56. package/components/{p-6yLSJYP5.js → p-B86lRIDO.js} +1 -1
  57. package/components/{p-zpafbpPu.js → p-BIMP7XsN.js} +1 -1
  58. package/components/p-BVWd2PEY.js +4 -0
  59. package/components/{p--0Ha2gLq.js → p-BjATTE99.js} +1 -1
  60. package/components/{p-Dh79xOoJ.js → p-BniAZ6W5.js} +1 -1
  61. package/components/{p-B4w_sFd4.js → p-BoYGC-l-.js} +1 -1
  62. package/components/{p-C0FB9NcQ.js → p-BrN7xu9-.js} +1 -1
  63. package/components/{p-BCkE4_T_.js → p-C3ywH_Mf.js} +1 -1
  64. package/components/{p-BLCBNn2X.js → p-C4uFpZGN.js} +1 -1
  65. package/components/{p-DX55ygwT.js → p-C7LLUTK7.js} +1 -1
  66. package/components/{p-Cw6JRwdQ.js → p-C9Q3BKWR.js} +1 -1
  67. package/components/{p-DCqwKMcP.js → p-CDwQvoOp.js} +1 -1
  68. package/components/{p-sOZUmSUg.js → p-CIe-qmpb.js} +1 -1
  69. package/components/{p-i_RUbfxc.js → p-CTXzvhyU.js} +1 -1
  70. package/components/{p-BgsT2jfW.js → p-D1hWyvjx.js} +1 -1
  71. package/components/{p-ClaT45M5.js → p-DId_XvAJ.js} +1 -1
  72. package/{dist/ionic/p-BMSRTipc.js → components/p-DQrYMQ7L.js} +1 -1
  73. package/components/{p-C4hRhU-I.js → p-DQv0f8j9.js} +1 -1
  74. package/components/{p-BbuOLVCJ.js → p-DU1fmq1v.js} +1 -1
  75. package/components/{p-BBVXJUno.js → p-DcMeOO67.js} +1 -1
  76. package/components/{p-OTASwZcn.js → p-Ddg9-TD5.js} +1 -1
  77. package/components/{p-BCI0nI6X.js → p-DeC5OhCT.js} +1 -1
  78. package/components/p-DrEqn5AR.js +4 -0
  79. package/components/{p-BpPCBEmb.js → p-DrfyhL1q.js} +1 -1
  80. package/components/p-NSJZ0wBJ.js +4 -0
  81. package/components/{p-Bb4gKl_z.js → p-fwDT5gkM.js} +1 -1
  82. package/components/{p-DbTr4Ana.js → p-gE0D5aEA.js} +1 -1
  83. package/components/{p-CPj9oYoe.js → p-rjD7uyw_.js} +1 -1
  84. package/components/{p-BmIw6_lr.js → p-s40C1wOl.js} +1 -1
  85. package/components/{p-5jHAJ8C_.js → p-v66I_MxD.js} +1 -1
  86. package/dist/cjs/{framework-delegate-30SP5_5C.js → framework-delegate-CCa_7nPe.js} +1 -1
  87. package/dist/cjs/{helpers-28k0ioWb.js → helpers-BjlIqCre.js} +2 -5
  88. package/dist/cjs/{index-BjT0jN-K.js → index-CQX-LFXH.js} +3 -3
  89. package/dist/cjs/{index-CiwO_ZVY.js → index-CpNJEu8Q.js} +1 -1
  90. package/dist/cjs/{index-Df1Nb3Lk.js → index-DbIi_tua.js} +1 -1
  91. package/dist/cjs/{index-DEWlkbEq.js → index-oGSMGpY5.js} +1 -1
  92. package/dist/cjs/index.cjs.js +7 -7
  93. package/dist/cjs/{input-shims-CoTMQkM0.js → input-shims-CfRpLg7f.js} +2 -2
  94. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
  95. package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-alert.cjs.entry.js +3 -3
  97. package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
  98. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  99. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  100. package/dist/cjs/ion-button_2.cjs.entry.js +32 -22
  101. package/dist/cjs/ion-card_5.cjs.entry.js +5 -13
  102. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  103. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  104. package/dist/cjs/ion-datetime.cjs.entry.js +3 -3
  105. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  106. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  108. package/dist/cjs/ion-input-otp.cjs.entry.js +1 -1
  109. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  110. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-item_8.cjs.entry.js +6 -16
  112. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
  114. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  115. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
  116. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  117. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  118. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  119. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  120. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  121. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  122. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  123. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  124. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  125. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  126. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  127. package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
  128. package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
  129. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  130. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  131. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
  132. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  133. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  134. package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
  135. package/dist/cjs/ionic.cjs.js +1 -1
  136. package/dist/cjs/{ios.transition-C1f9F6HE.js → ios.transition-qFm2dzNr.js} +2 -2
  137. package/dist/cjs/loader.cjs.js +1 -1
  138. package/dist/cjs/{md.transition-ApZEp9g4.js → md.transition-BUSI4dNc.js} +2 -2
  139. package/dist/cjs/{overlays-DqxYgNWz.js → overlays-jCxDhheS.js} +2 -2
  140. package/dist/cjs/{slot-mutation-controller-D09vhXzN.js → slot-mutation-controller-BKQkzuIH.js} +1 -1
  141. package/dist/cjs/{status-tap-DdEe06LQ.js → status-tap-DSkB5t_f.js} +2 -2
  142. package/dist/cjs/{swipe-back-D1lp_e6s.js → swipe-back-DxaKhxCu.js} +1 -1
  143. package/dist/collection/components/button/button.js +32 -21
  144. package/dist/collection/components/card/card.js +6 -12
  145. package/dist/collection/components/item/item.js +6 -15
  146. package/dist/collection/utils/helpers.js +3 -5
  147. package/dist/docs.json +1 -1
  148. package/dist/esm/{framework-delegate-BgMe4jPq.js → framework-delegate-DNJbxXfG.js} +1 -1
  149. package/dist/esm/{helpers-DeeJAHV9.js → helpers-BhJI0AJ9.js} +3 -5
  150. package/dist/esm/{index-R9pvwLnZ.js → index-B642W5K5.js} +3 -3
  151. package/dist/esm/{index-DE7lbMup.js → index-C7RizanJ.js} +1 -1
  152. package/dist/esm/{index-Co9fHIiq.js → index-CE9JWPY5.js} +1 -1
  153. package/dist/esm/{index-DCEhZGaW.js → index-CvUsV0R4.js} +1 -1
  154. package/dist/esm/index.js +7 -7
  155. package/dist/esm/{input-shims-Dq4cwnFs.js → input-shims-CJyayCsi.js} +2 -2
  156. package/dist/esm/ion-accordion_2.entry.js +1 -1
  157. package/dist/esm/ion-action-sheet.entry.js +3 -3
  158. package/dist/esm/ion-alert.entry.js +3 -3
  159. package/dist/esm/ion-app_8.entry.js +8 -8
  160. package/dist/esm/ion-back-button.entry.js +1 -1
  161. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  162. package/dist/esm/ion-button_2.entry.js +33 -23
  163. package/dist/esm/ion-card_5.entry.js +6 -14
  164. package/dist/esm/ion-checkbox.entry.js +1 -1
  165. package/dist/esm/ion-datetime-button.entry.js +1 -1
  166. package/dist/esm/ion-datetime.entry.js +3 -3
  167. package/dist/esm/ion-fab_3.entry.js +1 -1
  168. package/dist/esm/ion-img.entry.js +1 -1
  169. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  170. package/dist/esm/ion-input-otp.entry.js +1 -1
  171. package/dist/esm/ion-input.entry.js +2 -2
  172. package/dist/esm/ion-item-option_3.entry.js +2 -2
  173. package/dist/esm/ion-item_8.entry.js +6 -16
  174. package/dist/esm/ion-loading.entry.js +3 -3
  175. package/dist/esm/ion-menu_3.entry.js +4 -4
  176. package/dist/esm/ion-modal.entry.js +5 -5
  177. package/dist/esm/ion-nav_2.entry.js +4 -4
  178. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  179. package/dist/esm/ion-picker-column.entry.js +1 -1
  180. package/dist/esm/ion-picker.entry.js +1 -1
  181. package/dist/esm/ion-popover.entry.js +4 -4
  182. package/dist/esm/ion-progress-bar.entry.js +1 -1
  183. package/dist/esm/ion-radio_2.entry.js +1 -1
  184. package/dist/esm/ion-range.entry.js +2 -2
  185. package/dist/esm/ion-refresher_2.entry.js +2 -2
  186. package/dist/esm/ion-reorder_2.entry.js +2 -2
  187. package/dist/esm/ion-route_4.entry.js +2 -2
  188. package/dist/esm/ion-searchbar.entry.js +1 -1
  189. package/dist/esm/ion-segment_2.entry.js +1 -1
  190. package/dist/esm/ion-select-modal.entry.js +3 -3
  191. package/dist/esm/ion-select_3.entry.js +4 -4
  192. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  193. package/dist/esm/ion-tab_2.entry.js +2 -2
  194. package/dist/esm/ion-textarea.entry.js +2 -2
  195. package/dist/esm/ion-toast.entry.js +3 -3
  196. package/dist/esm/ion-toggle.entry.js +1 -1
  197. package/dist/esm/ionic.js +1 -1
  198. package/dist/esm/{ios.transition-Df5RLe_T.js → ios.transition-CMEC0NN1.js} +2 -2
  199. package/dist/esm/loader.js +1 -1
  200. package/dist/esm/{md.transition-CjaOFo9D.js → md.transition-BpFq_zft.js} +2 -2
  201. package/dist/esm/{overlays-BibrxrLf.js → overlays-DxdXkHtM.js} +2 -2
  202. package/dist/esm/{slot-mutation-controller-BkDOe1zv.js → slot-mutation-controller-Bkj4RRBZ.js} +1 -1
  203. package/dist/esm/{status-tap-jSEmdAcL.js → status-tap-Cd1sqU_0.js} +2 -2
  204. package/dist/esm/{swipe-back-DECoCqxP.js → swipe-back-C4ZOaoql.js} +1 -1
  205. package/dist/ionic/index.esm.js +1 -1
  206. package/dist/ionic/ionic.esm.js +1 -1
  207. package/dist/ionic/{p-e20958c9.entry.js → p-01de1004.entry.js} +1 -1
  208. package/dist/ionic/{p-f320604d.entry.js → p-02e54c8d.entry.js} +1 -1
  209. package/dist/ionic/{p-f72fd8c8.entry.js → p-0520b9ba.entry.js} +1 -1
  210. package/dist/ionic/p-052b764a.entry.js +4 -0
  211. package/dist/ionic/{p-e07af85b.entry.js → p-09f39c5d.entry.js} +1 -1
  212. package/dist/ionic/{p-5264ae56.entry.js → p-0d067e59.entry.js} +1 -1
  213. package/dist/ionic/{p-94b50c55.entry.js → p-1ef783d7.entry.js} +1 -1
  214. package/dist/ionic/{p-bc6477b7.entry.js → p-28747c67.entry.js} +1 -1
  215. package/dist/ionic/{p-005fc249.entry.js → p-2a6fd353.entry.js} +1 -1
  216. package/dist/ionic/p-2df5f248.entry.js +4 -0
  217. package/dist/ionic/{p-b52666f2.entry.js → p-3b059f00.entry.js} +1 -1
  218. package/dist/ionic/{p-17076d6d.entry.js → p-3e797669.entry.js} +1 -1
  219. package/dist/ionic/{p-c968f7c8.entry.js → p-478ff9ac.entry.js} +1 -1
  220. package/dist/ionic/{p-34b93eb0.entry.js → p-4ab06d54.entry.js} +1 -1
  221. package/dist/ionic/{p-7fc0c7f4.entry.js → p-4f1fff81.entry.js} +1 -1
  222. package/dist/ionic/{p-d01370da.entry.js → p-57d26686.entry.js} +1 -1
  223. package/dist/ionic/{p-bcce4c27.entry.js → p-5abe3412.entry.js} +1 -1
  224. package/dist/ionic/{p-25606ced.entry.js → p-5c8818b2.entry.js} +1 -1
  225. package/dist/ionic/{p-8d06d603.entry.js → p-6393418d.entry.js} +1 -1
  226. package/dist/ionic/{p-8fe32c85.entry.js → p-64fbb77c.entry.js} +1 -1
  227. package/dist/ionic/{p-65e8cf6e.entry.js → p-721849d1.entry.js} +1 -1
  228. package/dist/ionic/{p-e831cbc4.entry.js → p-79a013a5.entry.js} +1 -1
  229. package/dist/ionic/{p-23a40e1a.entry.js → p-7c9ca14d.entry.js} +1 -1
  230. package/dist/ionic/{p-57c5caad.entry.js → p-9521b660.entry.js} +1 -1
  231. package/dist/ionic/{p-1662825b.entry.js → p-99a5f8fe.entry.js} +1 -1
  232. package/dist/ionic/{p-c9ca4b89.entry.js → p-9afcc57e.entry.js} +1 -1
  233. package/dist/ionic/p-BST1u0ec.js +4 -0
  234. package/dist/ionic/{p-BoPnUg6t.js → p-B_eIgbzl.js} +1 -1
  235. package/dist/ionic/{p-BJIzb1h3.js → p-Bb4lV5CQ.js} +1 -1
  236. package/dist/ionic/{p-eRdlCM8q.js → p-BnXwO7xo.js} +1 -1
  237. package/dist/ionic/p-CQfHHCVd.js +4 -0
  238. package/dist/ionic/{p-T2mbrXZh.js → p-CmeeH7IA.js} +1 -1
  239. package/{components/p-fwAEwYZc.js → dist/ionic/p-CxU8VnTb.js} +1 -1
  240. package/dist/ionic/{p-BViV3T3I.js → p-Cyf8fFhT.js} +1 -1
  241. package/dist/ionic/{p-BUizV0iN.js → p-DED3r_HX.js} +1 -1
  242. package/dist/ionic/p-DYa-7lKb.js +4 -0
  243. package/dist/ionic/{p-Bg92X_yH.js → p-Yzw-faqR.js} +1 -1
  244. package/dist/ionic/{p-BlliOtjV.js → p-aq9QZ_SS.js} +1 -1
  245. package/dist/ionic/{p-e7e5bd70.entry.js → p-b5f869d3.entry.js} +1 -1
  246. package/dist/ionic/{p-1da7dbb2.entry.js → p-b7b22bc6.entry.js} +1 -1
  247. package/dist/ionic/{p-0e4a8b4c.entry.js → p-bd9da73b.entry.js} +1 -1
  248. package/dist/ionic/{p-c8bc68c1.entry.js → p-c1976d29.entry.js} +1 -1
  249. package/dist/ionic/{p-a1694aea.entry.js → p-c2810802.entry.js} +1 -1
  250. package/dist/ionic/{p-418c7db6.entry.js → p-c6f331c7.entry.js} +1 -1
  251. package/dist/ionic/{p-259211ef.entry.js → p-c7f88038.entry.js} +1 -1
  252. package/dist/ionic/{p-f6d7e96d.entry.js → p-cb99a8ab.entry.js} +1 -1
  253. package/dist/ionic/{p-d47e04c8.entry.js → p-e1182b8c.entry.js} +1 -1
  254. package/dist/ionic/{p-f78add99.entry.js → p-e205531a.entry.js} +1 -1
  255. package/dist/ionic/{p-bf0bf4be.entry.js → p-e45577f0.entry.js} +1 -1
  256. package/dist/ionic/{p-d203aa2f.entry.js → p-e8b2b575.entry.js} +1 -1
  257. package/dist/ionic/{p-b87e375b.entry.js → p-f66db3f9.entry.js} +1 -1
  258. package/dist/ionic/{p-00c87480.entry.js → p-f8a111c8.entry.js} +1 -1
  259. package/dist/ionic/p-fb0821b2.entry.js +4 -0
  260. package/dist/ionic/{p-BQq5eWUl.js → p-sa30xypV.js} +1 -1
  261. package/dist/types/components/button/button.d.ts +12 -3
  262. package/dist/types/components/card/card.d.ts +1 -3
  263. package/dist/types/components/item/item.d.ts +1 -1
  264. package/dist/types/utils/helpers.d.ts +2 -10
  265. package/hydrate/index.js +41 -168
  266. package/hydrate/index.mjs +41 -168
  267. package/package.json +2 -2
  268. package/components/p-BUZjpZPj.js +0 -4
  269. package/components/p-D2vl9H3c.js +0 -4
  270. package/components/p-DP8hRAY9.js +0 -4
  271. package/components/p-Dp5qTLGr.js +0 -4
  272. package/dist/cjs/attribute-controller-Co16PtRL.js +0 -132
  273. package/dist/collection/utils/attribute-controller.js +0 -126
  274. package/dist/esm/attribute-controller-CpBzYvYU.js +0 -129
  275. package/dist/ionic/p-0870e9ff.entry.js +0 -4
  276. package/dist/ionic/p-2d100776.entry.js +0 -4
  277. package/dist/ionic/p-BautDe39.js +0 -4
  278. package/dist/ionic/p-CW7vemvF.js +0 -4
  279. package/dist/ionic/p-Dnq82tx6.js +0 -4
  280. package/dist/ionic/p-PCITDQzG.js +0 -4
  281. package/dist/ionic/p-bba893bd.entry.js +0 -4
  282. package/dist/types/utils/attribute-controller.d.ts +0 -56
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{p as o,H as e,h as t,i,d as s,t as c}from"./p-CthoZqG1.js";import{b as n}from"./p-2ta4uE9-.js";import{a as l,g as a}from"./p-BSQPZ79H.js";import{s as d}from"./p-zpafbpPu.js";import{r}from"./p-MOwrp7hX.js";import{g as m}from"./p-byZM6qHV.js";import{d as p}from"./p-Dp5qTLGr.js";import{d as h}from"./p-Csi6iX-c.js";import{d as b}from"./p-BmIw6_lr.js";import{d as x}from"./p-OTASwZcn.js";import{d as f}from"./p-BgsT2jfW.js";import{d as g}from"./p-MLplUp3U.js";import{d as u}from"./p-DP8hRAY9.js";import{d as k}from"./p-gyjG_IM4.js";import{d as v}from"./p-C0FB9NcQ.js";import{d as y}from"./p-BbuOLVCJ.js";import{d as w}from"./p-BuxZkazO.js";import{d as j}from"./p-47h0_nN4.js";import{d as E}from"./p-CkffScdn.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,s)=>{const c=i,n=!!c.startContent||!!c.endContent||!!c.description,d={id:`modal-option-${s}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.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:c.justify??h,labelPlacement:c.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,s)=>{const c=e,n=!!c.startContent||!!c.endContent||!!c.description,d={id:`modal-option-${s}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.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:c.justify??h,labelPlacement:c.labelPlacement??p,onIonChange:o=>{this.setChecked(o),this.callOptionHandler(o),i(this)}},r(d,"select-option-label")))}))}render(){return t(s,{key:"791e95b985dd4b135db17a25fc678e9f8b73c597",class:n(this)},t("ion-header",{key:"697d18eef394c4c11c73afe69b9eadd1bad97d38"},t("ion-toolbar",{key:"036968824ad8771020fe2b7604a6e72b73efc8ae"},void 0!==this.header&&t("ion-title",{key:"102e0346be83e879e733f9b410437b26216156aa"},this.header),t("ion-buttons",{key:"436b997e990ce2f5e12e1651f8afc31ae231f7b0",slot:"end"},t("ion-button",{key:"ee4ddfd0612d33583aa0b93ebdb5257b10d4fda5",onClick:()=>this.closeModal()},this.cancelText)))),t("ion-content",{key:"38ea098f85ac69226e614e0a09f668e9209f7ea1"},t("ion-list",{key:"20becc2537a1a027915fe0598203039ceb8ba4f3"},!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 z(){"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(c(o))||customElements.define(c(o),C);break;case"ion-button":customElements.get(c(o))||p();break;case"ion-buttons":customElements.get(c(o))||h();break;case"ion-checkbox":customElements.get(c(o))||b();break;case"ion-content":customElements.get(c(o))||x();break;case"ion-header":customElements.get(c(o))||f();break;case"ion-icon":customElements.get(c(o))||g();break;case"ion-item":customElements.get(c(o))||u();break;case"ion-list":customElements.get(c(o))||k();break;case"ion-radio":customElements.get(c(o))||v();break;case"ion-radio-group":customElements.get(c(o))||y();break;case"ion-ripple-effect":customElements.get(c(o))||w();break;case"ion-title":customElements.get(c(o))||j();break;case"ion-toolbar":customElements.get(c(o))||E()}}))}export{C as S,z as d}
4
+ import{p as o,H as e,h as t,i,d as s,t as c}from"./p-CthoZqG1.js";import{b as n}from"./p-2ta4uE9-.js";import{a as l,g as a}from"./p-BSQPZ79H.js";import{s as d}from"./p-BIMP7XsN.js";import{r}from"./p-MOwrp7hX.js";import{g as m}from"./p-byZM6qHV.js";import{d as p}from"./p-BVWd2PEY.js";import{d as h}from"./p-Csi6iX-c.js";import{d as b}from"./p-s40C1wOl.js";import{d as x}from"./p-Ddg9-TD5.js";import{d as f}from"./p-D1hWyvjx.js";import{d as g}from"./p-MLplUp3U.js";import{d as u}from"./p-DrEqn5AR.js";import{d as k}from"./p-gyjG_IM4.js";import{d as v}from"./p-BrN7xu9-.js";import{d as y}from"./p-DU1fmq1v.js";import{d as w}from"./p-BuxZkazO.js";import{d as j}from"./p-47h0_nN4.js";import{d as E}from"./p-CkffScdn.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,s)=>{const c=i,n=!!c.startContent||!!c.endContent||!!c.description,d={id:`modal-option-${s}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.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:c.justify??h,labelPlacement:c.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,s)=>{const c=e,n=!!c.startContent||!!c.endContent||!!c.description,d={id:`modal-option-${s}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.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:c.justify??h,labelPlacement:c.labelPlacement??p,onIonChange:o=>{this.setChecked(o),this.callOptionHandler(o),i(this)}},r(d,"select-option-label")))}))}render(){return t(s,{key:"791e95b985dd4b135db17a25fc678e9f8b73c597",class:n(this)},t("ion-header",{key:"697d18eef394c4c11c73afe69b9eadd1bad97d38"},t("ion-toolbar",{key:"036968824ad8771020fe2b7604a6e72b73efc8ae"},void 0!==this.header&&t("ion-title",{key:"102e0346be83e879e733f9b410437b26216156aa"},this.header),t("ion-buttons",{key:"436b997e990ce2f5e12e1651f8afc31ae231f7b0",slot:"end"},t("ion-button",{key:"ee4ddfd0612d33583aa0b93ebdb5257b10d4fda5",onClick:()=>this.closeModal()},this.cancelText)))),t("ion-content",{key:"38ea098f85ac69226e614e0a09f668e9209f7ea1"},t("ion-list",{key:"20becc2537a1a027915fe0598203039ceb8ba4f3"},!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 z(){"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(c(o))||customElements.define(c(o),C);break;case"ion-button":customElements.get(c(o))||p();break;case"ion-buttons":customElements.get(c(o))||h();break;case"ion-checkbox":customElements.get(c(o))||b();break;case"ion-content":customElements.get(c(o))||x();break;case"ion-header":customElements.get(c(o))||f();break;case"ion-icon":customElements.get(c(o))||g();break;case"ion-item":customElements.get(c(o))||u();break;case"ion-list":customElements.get(c(o))||k();break;case"ion-radio":customElements.get(c(o))||v();break;case"ion-radio-group":customElements.get(c(o))||y();break;case"ion-ripple-effect":customElements.get(c(o))||w();break;case"ion-title":customElements.get(c(o))||j();break;case"ion-toolbar":customElements.get(c(o))||E()}}))}export{C as S,z as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{j as a}from"./p-CthoZqG1.js";import{i}from"./p-Dojwmvde.js";const r=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},t=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):m((()=>i(a)))},n=a=>void 0!==a.componentOnReady,o=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=a=>o(a,s),u=(a,i,r,e)=>a.addEventListener(i,r,e),d=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,m=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),p=a=>!!a.shadowRoot&&!!a.attachShadow,f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},b=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},v=(a,i,r)=>Math.max(a,Math.min(i,r)),w=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},x=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},h=(a,r)=>{const e=i(r);switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:_(r.emit.bind(r),i)}},_=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},T=(a,i)=>{if(a??={},i??={},a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},j=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{u as a,d as b,t as c,b as d,v as e,f,c as g,p as h,l as i,o as j,s as k,n as l,y as m,h as n,w as o,j as p,_ as q,m as r,T as s,r as t,x as u}
4
+ import{j as a}from"./p-CthoZqG1.js";import{i}from"./p-Dojwmvde.js";const r=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},t=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):m((()=>i(a)))},n=a=>void 0!==a.componentOnReady,o=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=a=>o(a,s),u=(a,i,r,e)=>a.addEventListener(i,r,e),d=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,m=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),p=a=>!!a.shadowRoot&&!!a.attachShadow,f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},b=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},v=(a,i,r)=>Math.max(a,Math.min(i,r)),w=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},x=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},h=(a,r)=>{const e=i(r);switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:_(r.emit.bind(r),i)}},_=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},T=(a,i)=>{if(a??={},i??={},a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},j=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{u as a,d as b,t as c,o as d,b as e,v as f,c as g,p as h,l as i,f as j,n as k,y as l,h as m,w as n,j as o,_ as p,x as q,m as r,T as s,r as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as n,f as e,w as i,B as a}from"./p-CthoZqG1.js";import{r as o}from"./p-DX55ygwT.js";const r="ionViewWillEnter",t="ionViewDidEnter",s="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",u=n=>{n.tabIndex=-1,n.focus()},d=n=>null!==n.offsetParent,f="ion-last-focus",p=e=>{if(n.get("focusManagerPriority",!1)){const n=document.activeElement;null!==n&&e?.contains(n)&&n.setAttribute(f,"true")}},w=i=>{const a=n.get("focusManagerPriority",!1);if(Array.isArray(a)&&!i.contains(document.activeElement)){const n=i.querySelector(`[${f}]`);if(n&&d(n))return void u(n);for(const n of a)switch(n){case"content":const a=i.querySelector('main, [role="main"]');if(a&&d(a))return void u(a);break;case"heading":const o=i.querySelector('h1, [role="heading"][aria-level="1"]');if(o&&d(o))return void u(o);break;case"banner":const r=i.querySelector('header, [role="banner"]');if(r&&d(r))return void u(r);break;default:e(`Unrecognized focus manager priority value ${n}`)}u(i)}},m=n=>new Promise(((e,a)=>{i((()=>{const i=A(n);v(n,i),b(n).then((i=>{i.animation&&i.animation.destroy(),g(n),e(i)}),(e=>{g(n),a(e)})).finally((()=>{W(i,!1)}))}))})),v=(n,e)=>{const i=n.enteringEl,a=n.leavingEl;p(a),U(i,a,n.direction),W(e,!0),n.showGoBack?i.classList.add("can-go-back"):i.classList.remove("can-go-back"),M(i,!1),i.style.setProperty("pointer-events","none"),a&&(M(a,!1),a.style.setProperty("pointer-events","none"))},b=async n=>{const e=await h(n);return e&&a.isBrowser?y(e,n):P(n)},g=n=>{const e=n.enteringEl,i=n.leavingEl;e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events"),void 0!==i&&(i.classList.remove("ion-page-invisible"),i.style.removeProperty("pointer-events")),w(e)},h=async n=>{if(n.leavingEl&&n.animated&&0!==n.duration)return n.animationBuilder?n.animationBuilder:"ios"===n.mode?(await import("./p-BpPCBEmb.js")).iosTransitionAnimation:(await import("./p-DPJUYiz0.js")).mdTransitionAnimation},y=async(n,e)=>{await k(e,!0);const i=n(e.baseEl,e);j(e.enteringEl,e.leavingEl);const a=await V(i,e);return e.progressCallback&&e.progressCallback(void 0),a&&D(e.enteringEl,e.leavingEl),{hasCompleted:a,animation:i}},P=async e=>{const i=e.enteringEl,a=e.leavingEl,o=n.get("focusManagerPriority",!1);return await k(e,o),j(i,a),D(i,a),{hasCompleted:!0}},k=async(n,e)=>{(void 0!==n.deepWait?n.deepWait:e)&&await Promise.all([L(n.enteringEl),L(n.leavingEl)]),await C(n.viewIsReady,n.enteringEl)},C=async(n,e)=>{n&&await n(e)},V=(n,e)=>{const i=e.progressCallback,a=new Promise((e=>{n.onFinish((n=>e(1===n)))}));return i?(n.progressStart(!0),i(n)):n.play(),a},j=(n,e)=>{E(e,s),E(n,r)},D=(n,e)=>{E(n,t),E(e,c)},E=(n,e)=>{if(n){const i=new CustomEvent(e,{bubbles:!1,cancelable:!1});n.dispatchEvent(i)}},B=()=>new Promise((n=>o((()=>o((()=>n())))))),L=async n=>{const e=n;if(e){if(null!=e.componentOnReady){if(null!=await e.componentOnReady())return}else if(null!=e.__registerHost){const n=new Promise((n=>o(n)));return void await n}await Promise.all(Array.from(e.children).map(L))}},M=(n,e)=>{e?(n.setAttribute("aria-hidden","true"),n.classList.add("ion-page-hidden")):(n.hidden=!1,n.removeAttribute("aria-hidden"),n.classList.remove("ion-page-hidden"))},U=(n,e,i)=>{void 0!==n&&(n.style.zIndex="back"===i?"99":"101"),void 0!==e&&(e.style.zIndex="100")},W=(n,e)=>{if(!n)return;const i="header-transitioning";e?n.classList.add(i):n.classList.remove(i)},z=n=>{if(n.classList.contains("ion-page"))return n;return n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||n},A=n=>{if("ios"!==n.mode)return null;const e="back"===n.direction?n.leavingEl:n.enteringEl;return e?e.querySelector("ion-header"):null};export{r as L,t as a,s as b,c,l as d,L as e,z as g,E as l,M as s,m as t,B as w}
4
+ import{c as n,f as e,w as i,B as a}from"./p-CthoZqG1.js";import{r as o}from"./p-C7LLUTK7.js";const r="ionViewWillEnter",t="ionViewDidEnter",s="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",u=n=>{n.tabIndex=-1,n.focus()},d=n=>null!==n.offsetParent,f="ion-last-focus",w=e=>{if(n.get("focusManagerPriority",!1)){const n=document.activeElement;null!==n&&e?.contains(n)&&n.setAttribute(f,"true")}},p=i=>{const a=n.get("focusManagerPriority",!1);if(Array.isArray(a)&&!i.contains(document.activeElement)){const n=i.querySelector(`[${f}]`);if(n&&d(n))return void u(n);for(const n of a)switch(n){case"content":const a=i.querySelector('main, [role="main"]');if(a&&d(a))return void u(a);break;case"heading":const o=i.querySelector('h1, [role="heading"][aria-level="1"]');if(o&&d(o))return void u(o);break;case"banner":const r=i.querySelector('header, [role="banner"]');if(r&&d(r))return void u(r);break;default:e(`Unrecognized focus manager priority value ${n}`)}u(i)}},v=n=>new Promise(((e,a)=>{i((()=>{const i=$(n);m(n,i),b(n).then((i=>{i.animation&&i.animation.destroy(),g(n),e(i)}),(e=>{g(n),a(e)})).finally((()=>{q(i,!1)}))}))})),m=(n,e)=>{const i=n.enteringEl,a=n.leavingEl;w(a),W(i,a,n.direction),q(e,!0),n.showGoBack?i.classList.add("can-go-back"):i.classList.remove("can-go-back"),U(i,!1),i.style.setProperty("pointer-events","none"),a&&(U(a,!1),a.style.setProperty("pointer-events","none"))},b=async n=>{const e=await h(n);return e&&a.isBrowser?y(e,n):P(n)},g=n=>{const e=n.enteringEl,i=n.leavingEl;e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events"),void 0!==i&&(i.classList.remove("ion-page-invisible"),i.style.removeProperty("pointer-events")),p(e)},h=async n=>{if(n.leavingEl&&n.animated&&0!==n.duration)return n.animationBuilder?n.animationBuilder:"ios"===n.mode?(await import("./p-DrfyhL1q.js")).iosTransitionAnimation:(await import("./p-5juwds63.js")).mdTransitionAnimation},y=async(n,e)=>{await k(e,!0);const i=n(e.baseEl,e);C(e.enteringEl,e.leavingEl);const a=await j(i,e);return e.progressCallback&&e.progressCallback(void 0),a&&V(e.enteringEl,e.leavingEl),{hasCompleted:a,animation:i}},P=async e=>{const i=e.enteringEl,a=e.leavingEl,o=n.get("focusManagerPriority",!1);return await k(e,o),C(i,a),V(i,a),{hasCompleted:!0}},k=async(n,e)=>{(void 0!==n.deepWait?n.deepWait:e)&&await Promise.all([M(n.enteringEl),M(n.leavingEl)]),await L(n.viewIsReady,n.enteringEl)},L=async(n,e)=>{n&&await n(e)},j=(n,e)=>{const i=e.progressCallback,a=new Promise((e=>{n.onFinish((n=>e(1===n)))}));return i?(n.progressStart(!0),i(n)):n.play(),a},C=(n,e)=>{D(e,s),D(n,r)},V=(n,e)=>{D(n,t),D(e,c)},D=(n,e)=>{if(n){const i=new CustomEvent(e,{bubbles:!1,cancelable:!1});n.dispatchEvent(i)}},E=()=>new Promise((n=>o((()=>o((()=>n())))))),M=async n=>{const e=n;if(e){if(null!=e.componentOnReady){if(null!=await e.componentOnReady())return}else if(null!=e.__registerHost){const n=new Promise((n=>o(n)));return void await n}await Promise.all(Array.from(e.children).map(M))}},U=(n,e)=>{e?(n.setAttribute("aria-hidden","true"),n.classList.add("ion-page-hidden")):(n.hidden=!1,n.removeAttribute("aria-hidden"),n.classList.remove("ion-page-hidden"))},W=(n,e,i)=>{void 0!==n&&(n.style.zIndex="back"===i?"99":"101"),void 0!==e&&(e.style.zIndex="100")},q=(n,e)=>{if(!n)return;const i="header-transitioning";e?n.classList.add(i):n.classList.remove(i)},A=n=>{if(n.classList.contains("ion-page"))return n;return n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||n},$=n=>{if("ios"!==n.mode)return null;const e="back"===n.direction?n.leavingEl:n.enteringEl;return e?e.querySelector("ion-header"):null};export{r as L,t as a,s as b,c,l as d,M as e,A as g,D as l,U as s,v as t,E as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as t}from"./p-CthoZqG1.js";import{c as r}from"./p-CPGp3WWG.js";import{c as s,t as e,e as a}from"./p-DX55ygwT.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},g=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),h=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&&g()||"md"===r)};export{l as a,m as b,c,n as d,g as e,o as g,x as h,h as s,u as t}
4
+ import{w as t}from"./p-CthoZqG1.js";import{c as r}from"./p-CPGp3WWG.js";import{c as s,t as e,f as a}from"./p-C7LLUTK7.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},g=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),h=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&&g()||"md"===r)};export{l as a,m as b,c,n as d,g as e,o as g,x as h,h as s,u as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as t}from"./p-ZjP4CjeZ.js";import{u as e}from"./p-DX55ygwT.js";const o=o=>{if(void 0===t)return;let s,u,p,l=0;const d=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{p&&clearTimeout(p),p=void 0,s&&(b(!1),s=void 0)},w=(t,o)=>{if(t&&t===s)return;p&&clearTimeout(p),p=void 0;const{x:i,y:r}=e(o);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||T(s,i,r),b(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{T(t,i,r),p=void 0};n(t)?o():p=setTimeout(o,c)}s=t},T=(t,e,o)=>{if(l=Date.now(),t.classList.add(a),!d)return;const i=r(t);null!==i&&(j(),u=i.addRipple(e,o))},j=()=>{void 0!==u&&(u.then((t=>t())),u=void 0)},b=t=>{j();const e=s;if(!e)return;const o=f-Date.now()+l;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||w(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{w(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{o as startTapClick}
4
+ import{d as t}from"./p-ZjP4CjeZ.js";import{q as e}from"./p-C7LLUTK7.js";const o=o=>{if(void 0===t)return;let s,p,u,l=0;const d=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,s&&(b(!1),s=void 0)},T=(t,o)=>{if(t&&t===s)return;u&&clearTimeout(u),u=void 0;const{x:i,y:r}=e(o);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||w(s,i,r),b(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{w(t,i,r),u=void 0};n(t)?o():u=setTimeout(o,c)}s=t},w=(t,e,o)=>{if(l=Date.now(),t.classList.add(a),!d)return;const i=r(t);null!==i&&(j(),p=i.addRipple(e,o))},j=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},b=t=>{j();const e=s;if(!e)return;const o=f-Date.now()+l;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||T(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{T(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{o as startTapClick}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-k92zpBT6.js";import{f as n}from"./p-CthoZqG1.js";import{c as r}from"./p-DX55ygwT.js";import{b as s}from"./p-2ta4uE9-.js";import{c as a}from"./p-CPGp3WWG.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),p=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,p),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),p=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,p])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},p=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await d(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},p=async()=>(await d(),f()),m=(t,e)=>{s.set(t,e)},f=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const e=a.find(t);if(void 0!==e)return e.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return m("reveal",c),m("push",u),m("overlay",i),t?.addEventListener("ionBackButton",(t=>{const n=f();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:m,get:o,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:p,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await p()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):p());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:f,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await p();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{p as m}
4
+ import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-k92zpBT6.js";import{f as n}from"./p-CthoZqG1.js";import{c as r}from"./p-C7LLUTK7.js";import{b as s}from"./p-2ta4uE9-.js";import{c as a}from"./p-CPGp3WWG.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),p=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,p),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),p=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,p])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},p=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await d(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},p=async()=>(await d(),f()),m=(t,e)=>{s.set(t,e)},f=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const e=a.find(t);if(void 0!==e)return e.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return m("reveal",c),m("push",u),m("overlay",i),t?.addEventListener("ionBackButton",(t=>{const n=f();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:m,get:o,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:p,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await p()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):p());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:f,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await p();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{p as m}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{k as e,w as o,p as t,H as n,h as a,d as i,t as s}from"./p-CthoZqG1.js";import{g as r,f as l,p as d}from"./p-Bb4gKl_z.js";import{e as c,i as p}from"./p-DX55ygwT.js";import{h}from"./p-byZM6qHV.js";import{b}from"./p-2ta4uE9-.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},y=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"))}}))}},x=(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=p(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=y(this.collapsibleMainHeader),s=y(this.el);i&&s&&(g(i,!1),x(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;x(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),x(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)(h("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}
4
+ import{k as e,w as o,p as t,H as n,h as a,d as i,t as s}from"./p-CthoZqG1.js";import{g as r,f as l,p as d}from"./p-fwDT5gkM.js";import{f as c,i as p}from"./p-C7LLUTK7.js";import{h}from"./p-byZM6qHV.js";import{b}from"./p-2ta4uE9-.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=p(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)(h("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 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{p as t,H as o,e,k as i,h as n,d as a,t as s}from"./p-CthoZqG1.js";import{c}from"./p-rDUBp56G.js";import{r}from"./p-DX55ygwT.js";import{c as l}from"./p-B-hirT0v.js";import{c as d,d as h,B as b,i as p,e as u,f as g,g as m,s as f,h as v,r as x,j as k,k as y}from"./p-zpafbpPu.js";import{r as w}from"./p-MOwrp7hX.js";import{g as z}from"./p-byZM6qHV.js";import{b as C}from"./p-2ta4uE9-.js";import{c as D}from"./p-CPGp3WWG.js";import{d as j}from"./p-DKX1mWld.js";import{d as A}from"./p-MLplUp3U.js";import{d as B}from"./p-BuxZkazO.js";const I=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},E=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},S=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},W=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},O=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.didPresent=e(this,"ionActionSheetDidPresent",7),this.willPresent=e(this,"ionActionSheetWillPresent",7),this.willDismiss=e(this,"ionActionSheetWillDismiss",7),this.didDismiss=e(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=d(this),this.lockController=l(),this.triggerController=h(),this.hasRadioButtons=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,b)},this.dispatchCancelHandler=t=>{if(p(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}buttonsChanged(){const t=this.getRadioButtons();if(this.hasRadioButtons=t.length>0,this.hasRadioButtons){const o=t.find((t=>"true"===t.htmlAttributes?.["aria-checked"]));if(o){const t=this.getButtons().indexOf(o);this.activeRadioId=this.getButtonId(o,t)}}}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:e}=this;t&&e.addClickListener(o,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await u(this,"actionSheetEnter",I,S),t()}async dismiss(t,o){const e=await this.lockController.lock(),i=await g(this,t,o,"actionSheetLeave",E,W);return i&&this.delegateController.removeViewFromDom(),e(),i}onDidDismiss(){return m(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return m(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const o=t.role;return p(o)?this.dismiss(t.data,o):await this.callButtonHandler(t)?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await f(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}getRadioButtons(){return this.getButtons().filter((t=>{const o=t.htmlAttributes?.role;return"radio"===o&&!p(o)}))}selectRadioButton(t){const o=this.getButtonId(t);this.activeRadioId=o}getButtonId(t,o){if(t.id)return t.id;const e=this.getButtons(),i=void 0!==o?o:e.indexOf(t);return`action-sheet-button-${this.overlayIndex}-${i}`}onKeydown(t){if(!this.hasRadioButtons||!this.presented)return;const o=t.target;if(!this.el.contains(o)||!o.classList.contains("action-sheet-button")||"radio"!==o.getAttribute("role"))return;const e=Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter((t=>!t.disabled)),i=e.findIndex((t=>t.id===o.id));if(-1===i)return;const n=this.getButtons(),a=this.getRadioButtons(),s=new Map;let c;if(a.forEach((t=>{const o=n.indexOf(t),e=this.getButtonId(t,o);s.set(e,t)})),["ArrowDown","ArrowRight"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=i===e.length-1?e[0]:e[i+1];else if(["ArrowUp","ArrowLeft"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=0===i?e[e.length-1]:e[i-1];else if(" "===t.key||"Enter"===t.key){t.preventDefault(),t.stopPropagation();const e=s.get(o.id);return void(e&&(this.selectRadioButton(e),this.buttonClick(e)))}if(c){const t=s.get(c.id);t&&(this.selectRadioButton(t),c.focus())}}connectedCallback(){v(this.el),this.triggerChanged(),this.setupButtonActiveGesture(),this.presented&&x(this.el)}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener(),this.presented&&k()}componentWillLoad(){this.htmlAttributes?.id||y(this.el),this.buttonsChanged()}setupButtonActiveGesture(){const{groupEl:t,wrapperEl:o}=this;"ios"===C(this)&&o&&t&&i((()=>{this.gesture||!this.el.isConnected||t.scrollHeight>t.clientHeight||(this.gesture=c(o,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))}))}componentDidLoad(){this.setupButtonActiveGesture(),!0===this.isOpen&&r((()=>this.present())),this.triggerChanged()}renderActionSheetButtons(t){const o=C(this),{activeRadioId:e}=this;return t.map(((t,i)=>{const a="radio"===t.htmlAttributes?.role,s=this.getButtonId(t,i),c=this.getRadioButtons(),r=a&&s===e;let l;l=a?r||!e&&a&&t===c[0]?0:-1:void 0;const d={...t.htmlAttributes};a&&(d["aria-checked"]=r?"true":"false");const h={id:s,label:t.text,startContent:t.startContent,endContent:t.endContent,description:t.description};return n("button",{...d,role:a?"radio":void 0,type:"button",id:s,class:{...Y(t),...a&&{"action-sheet-selected":r}},onClick:()=>{a&&this.selectRadioButton(t),this.buttonClick(t)},disabled:t.disabled,tabIndex:l},n("span",{class:"action-sheet-button-inner"},t.icon&&n("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),w(h,"action-sheet-button-label",!0)),"md"===o&&n("ion-ripple-effect",null))}))}render(){const{header:t,htmlAttributes:o,overlayIndex:e,hasRadioButtons:i}=this,s=C(this),c=this.getButtons(),r=c.find((t=>"cancel"===t.role)),l=c.filter((t=>"cancel"!==t.role)),d=`action-sheet-${e}-header`;return n(a,{key:"83b47ea6b81d4eec6582c1dcaae6f267c78ba634",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?d:null,tabindex:"-1",...o,style:{zIndex:`${2e4+this.overlayIndex}`},class:{[s]:!0,...z(this.cssClass),"overlay-hidden":!0,"action-sheet-translucent":this.translucent},onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},n("ion-backdrop",{key:"3652793ec76adcfb87b814eb65d1260ae26f6910",tappable:this.backdropDismiss}),n("div",{key:"7de3a51daf95b50e02734a2cc8eec6f55b1473f3",tabindex:"0","aria-hidden":"true"}),n("div",{key:"9b76bbf12901b956f7ee6d984f7f71e169bb5939",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},n("div",{key:"cb52c905275a46ff27810fb1b4748ab533a78c45",class:"action-sheet-container"},n("div",{key:"578c7194cfbcb65c1e41e15c390af41f179a2686",class:"action-sheet-group",ref:t=>this.groupEl=t,role:i?"radiogroup":void 0},void 0!==t&&n("div",{key:"ee961307c25cb1fcb0c6bbf667a8ed76ab717860",id:d,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&n("div",{key:"82d4016010db14d3f3b9911c276cb9a63b960ef4",class:"action-sheet-sub-title"},this.subHeader)),this.renderActionSheetButtons(l)),r&&n("div",{key:"a88fbfab194e13c6642a65f2e19a12299dd4ac23",class:"action-sheet-group action-sheet-group-cancel"},n("button",{key:"a232b8d23f1fc2efb7b37a605102b6994761a2f6",...r.htmlAttributes,type:"button",class:Y(r),onClick:()=>this.buttonClick(r)},n("span",{key:"19a7d95d3428d78a56b7dacabdec8fc0b722d8c2",class:"action-sheet-button-inner"},r.icon&&n("ion-icon",{key:"5f3f3cb996a48e6365a3a09ea72ddc68ac9ccb78",icon:r.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),r.text),"md"===s&&n("ion-ripple-effect",{key:"6e8fcb5f103ac19aa4b0682f19791cef0a147001"}))))),n("div",{key:"36f63ab77949c88f662e2cf6bb18510cb9de6a9f",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{ios:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-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-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}',md:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-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-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{font-size:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],buttons:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],header:[1],subHeader:[1,"sub-header"],translucent:[4],animated:[4],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],activeRadioId:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[0,"keydown","onKeydown"]],{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),Y=t=>({"action-sheet-button":!0,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled,[`action-sheet-${t.role}`]:void 0!==t.role,...z(t.cssClass)});function P(){"undefined"!=typeof customElements&&["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"].forEach((t=>{switch(t){case"ion-action-sheet":customElements.get(s(t))||customElements.define(s(t),O);break;case"ion-backdrop":customElements.get(s(t))||j();break;case"ion-icon":customElements.get(s(t))||A();break;case"ion-ripple-effect":customElements.get(s(t))||B()}}))}export{O as A,P as d}
4
+ import{p as t,H as o,e,k as i,h as n,d as a,t as s}from"./p-CthoZqG1.js";import{c}from"./p-rDUBp56G.js";import{r}from"./p-C7LLUTK7.js";import{c as l}from"./p-B-hirT0v.js";import{c as d,d as h,B as b,i as p,e as u,f as g,g as m,s as f,h as v,r as x,j as k,k as y}from"./p-BIMP7XsN.js";import{r as w}from"./p-MOwrp7hX.js";import{g as z}from"./p-byZM6qHV.js";import{b as C}from"./p-2ta4uE9-.js";import{c as D}from"./p-CPGp3WWG.js";import{d as j}from"./p-DKX1mWld.js";import{d as A}from"./p-MLplUp3U.js";import{d as B}from"./p-BuxZkazO.js";const I=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},E=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},S=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},W=t=>{const o=D(),e=D(),i=D();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},O=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.didPresent=e(this,"ionActionSheetDidPresent",7),this.willPresent=e(this,"ionActionSheetWillPresent",7),this.willDismiss=e(this,"ionActionSheetWillDismiss",7),this.didDismiss=e(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=d(this),this.lockController=l(),this.triggerController=h(),this.hasRadioButtons=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,b)},this.dispatchCancelHandler=t=>{if(p(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}buttonsChanged(){const t=this.getRadioButtons();if(this.hasRadioButtons=t.length>0,this.hasRadioButtons){const o=t.find((t=>"true"===t.htmlAttributes?.["aria-checked"]));if(o){const t=this.getButtons().indexOf(o);this.activeRadioId=this.getButtonId(o,t)}}}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:e}=this;t&&e.addClickListener(o,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await u(this,"actionSheetEnter",I,S),t()}async dismiss(t,o){const e=await this.lockController.lock(),i=await g(this,t,o,"actionSheetLeave",E,W);return i&&this.delegateController.removeViewFromDom(),e(),i}onDidDismiss(){return m(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return m(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const o=t.role;return p(o)?this.dismiss(t.data,o):await this.callButtonHandler(t)?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await f(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}getRadioButtons(){return this.getButtons().filter((t=>{const o=t.htmlAttributes?.role;return"radio"===o&&!p(o)}))}selectRadioButton(t){const o=this.getButtonId(t);this.activeRadioId=o}getButtonId(t,o){if(t.id)return t.id;const e=this.getButtons(),i=void 0!==o?o:e.indexOf(t);return`action-sheet-button-${this.overlayIndex}-${i}`}onKeydown(t){if(!this.hasRadioButtons||!this.presented)return;const o=t.target;if(!this.el.contains(o)||!o.classList.contains("action-sheet-button")||"radio"!==o.getAttribute("role"))return;const e=Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter((t=>!t.disabled)),i=e.findIndex((t=>t.id===o.id));if(-1===i)return;const n=this.getButtons(),a=this.getRadioButtons(),s=new Map;let c;if(a.forEach((t=>{const o=n.indexOf(t),e=this.getButtonId(t,o);s.set(e,t)})),["ArrowDown","ArrowRight"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=i===e.length-1?e[0]:e[i+1];else if(["ArrowUp","ArrowLeft"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=0===i?e[e.length-1]:e[i-1];else if(" "===t.key||"Enter"===t.key){t.preventDefault(),t.stopPropagation();const e=s.get(o.id);return void(e&&(this.selectRadioButton(e),this.buttonClick(e)))}if(c){const t=s.get(c.id);t&&(this.selectRadioButton(t),c.focus())}}connectedCallback(){v(this.el),this.triggerChanged(),this.setupButtonActiveGesture(),this.presented&&x(this.el)}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener(),this.presented&&k()}componentWillLoad(){this.htmlAttributes?.id||y(this.el),this.buttonsChanged()}setupButtonActiveGesture(){const{groupEl:t,wrapperEl:o}=this;"ios"===C(this)&&o&&t&&i((()=>{this.gesture||!this.el.isConnected||t.scrollHeight>t.clientHeight||(this.gesture=c(o,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))}))}componentDidLoad(){this.setupButtonActiveGesture(),!0===this.isOpen&&r((()=>this.present())),this.triggerChanged()}renderActionSheetButtons(t){const o=C(this),{activeRadioId:e}=this;return t.map(((t,i)=>{const a="radio"===t.htmlAttributes?.role,s=this.getButtonId(t,i),c=this.getRadioButtons(),r=a&&s===e;let l;l=a?r||!e&&a&&t===c[0]?0:-1:void 0;const d={...t.htmlAttributes};a&&(d["aria-checked"]=r?"true":"false");const h={id:s,label:t.text,startContent:t.startContent,endContent:t.endContent,description:t.description};return n("button",{...d,role:a?"radio":void 0,type:"button",id:s,class:{...Y(t),...a&&{"action-sheet-selected":r}},onClick:()=>{a&&this.selectRadioButton(t),this.buttonClick(t)},disabled:t.disabled,tabIndex:l},n("span",{class:"action-sheet-button-inner"},t.icon&&n("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),w(h,"action-sheet-button-label",!0)),"md"===o&&n("ion-ripple-effect",null))}))}render(){const{header:t,htmlAttributes:o,overlayIndex:e,hasRadioButtons:i}=this,s=C(this),c=this.getButtons(),r=c.find((t=>"cancel"===t.role)),l=c.filter((t=>"cancel"!==t.role)),d=`action-sheet-${e}-header`;return n(a,{key:"83b47ea6b81d4eec6582c1dcaae6f267c78ba634",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?d:null,tabindex:"-1",...o,style:{zIndex:`${2e4+this.overlayIndex}`},class:{[s]:!0,...z(this.cssClass),"overlay-hidden":!0,"action-sheet-translucent":this.translucent},onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},n("ion-backdrop",{key:"3652793ec76adcfb87b814eb65d1260ae26f6910",tappable:this.backdropDismiss}),n("div",{key:"7de3a51daf95b50e02734a2cc8eec6f55b1473f3",tabindex:"0","aria-hidden":"true"}),n("div",{key:"9b76bbf12901b956f7ee6d984f7f71e169bb5939",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},n("div",{key:"cb52c905275a46ff27810fb1b4748ab533a78c45",class:"action-sheet-container"},n("div",{key:"578c7194cfbcb65c1e41e15c390af41f179a2686",class:"action-sheet-group",ref:t=>this.groupEl=t,role:i?"radiogroup":void 0},void 0!==t&&n("div",{key:"ee961307c25cb1fcb0c6bbf667a8ed76ab717860",id:d,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&n("div",{key:"82d4016010db14d3f3b9911c276cb9a63b960ef4",class:"action-sheet-sub-title"},this.subHeader)),this.renderActionSheetButtons(l)),r&&n("div",{key:"a88fbfab194e13c6642a65f2e19a12299dd4ac23",class:"action-sheet-group action-sheet-group-cancel"},n("button",{key:"a232b8d23f1fc2efb7b37a605102b6994761a2f6",...r.htmlAttributes,type:"button",class:Y(r),onClick:()=>this.buttonClick(r)},n("span",{key:"19a7d95d3428d78a56b7dacabdec8fc0b722d8c2",class:"action-sheet-button-inner"},r.icon&&n("ion-icon",{key:"5f3f3cb996a48e6365a3a09ea72ddc68ac9ccb78",icon:r.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),r.text),"md"===s&&n("ion-ripple-effect",{key:"6e8fcb5f103ac19aa4b0682f19791cef0a147001"}))))),n("div",{key:"36f63ab77949c88f662e2cf6bb18510cb9de6a9f",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{ios:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-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-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}',md:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-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-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{font-size:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],buttons:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],header:[1],subHeader:[1,"sub-header"],translucent:[4],animated:[4],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],activeRadioId:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[0,"keydown","onKeydown"]],{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),Y=t=>({"action-sheet-button":!0,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled,[`action-sheet-${t.role}`]:void 0!==t.role,...z(t.cssClass)});function L(){"undefined"!=typeof customElements&&["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"].forEach((t=>{switch(t){case"ion-action-sheet":customElements.get(s(t))||customElements.define(s(t),O);break;case"ion-backdrop":customElements.get(s(t))||j();break;case"ion-icon":customElements.get(s(t))||A();break;case"ion-ripple-effect":customElements.get(s(t))||B()}}))}export{O as A,L as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as t}from"./p-ZjP4CjeZ.js";import{r as o}from"./p-BJIzb1h3.js";import{i as e}from"./p-Dojwmvde.js";const r=(e,r,i)=>{let n;const s=()=>void 0!==r()&&void 0===e.label&&null!==i(),d=()=>{const o=r();if(void 0===o)return;if(!s())return void o.style.removeProperty("width");const a=i().scrollWidth;if(0===a&&null===o.offsetParent&&void 0!==t&&"IntersectionObserver"in t){if(void 0!==n)return;const t=n=new IntersectionObserver((o=>{1===o[0].intersectionRatio&&(d(),t.disconnect(),n=void 0)}),{threshold:.01,root:e});t.observe(o)}else o.style.setProperty("width",.75*a+"px")};return{calculateNotchWidth:()=>{s()&&o((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},i="skip-label-transition",n=(t,r,n)=>{let s,d,a,c,v;const l=()=>{void 0===a&&(a=o((()=>{a=void 0;const s=(()=>{const o=r();if(!o||!n())return"";const i=o.getBoundingClientRect().width,s=Math.round(10*i)/10,d=e(t)?"":"-";return s?`${d}${s}px`:"0px"})();s!==v&&(void 0!==c&&cancelAnimationFrame(c),t.classList.add(i),t.style.setProperty("--internal-start-container-adjustment",s),v=s,c=o((()=>{c=void 0,t.classList.remove(i)}))),f()})))},u=()=>{s&&(s.disconnect(),s=void 0,d=void 0)},f=()=>{const t=r();t&&n()?"function"!=typeof ResizeObserver||s&&d===t||(u(),s=new ResizeObserver((()=>{l()})),d=t,s.observe(t)):u()};return{calculateStartContainerWidth:()=>{l()},destroy:()=>{u(),void 0!==a&&(cancelAnimationFrame(a),a=void 0),void 0!==c&&(cancelAnimationFrame(c),c=void 0,t.classList.remove(i)),v=void 0}}},s=(t,o)=>{const e=t.target.closest('[slot="start"], [slot="end"]');return null!==e&&e!==o&&o.contains(e)?e:null},d=(t,e)=>{let r=!1;return{handleClickCapture:i=>{if(((t,o)=>null!==s(t,o))(i,t))return r=!0,void o((()=>r=!1));if(void 0===e)return void(r&&(i.stopPropagation(),r=!1));const n=e();void 0!==n&&i.target===n&&(i.stopPropagation(),r||t.click(),r=!1)}}},a=(e,r,i)=>{let n,s;if(void 0!==t&&"MutationObserver"in t){const t=Array.isArray(r)?r:[r];n=new MutationObserver((e=>{for(const r of e)for(const e of r.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&t.includes(e.slot))return i(),void o((()=>d(e)))})),n.observe(e,{childList:!0,subtree:!0})}const d=t=>{s&&(s.disconnect(),s=void 0),s=new MutationObserver((t=>{i();for(const o of t)for(const t of o.removedNodes)t.nodeType===Node.ELEMENT_NODE&&t.slot===r&&a()})),s.observe(t.parentElement??t,{subtree:!0,childList:!0})},a=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),a()}}};export{r as a,n as b,a as c,d,s as g}
4
+ import{w as t}from"./p-ZjP4CjeZ.js";import{r as o}from"./p-C7LLUTK7.js";import{i as e}from"./p-Dojwmvde.js";const r=(e,r,i)=>{let n;const s=()=>void 0!==r()&&void 0===e.label&&null!==i(),d=()=>{const o=r();if(void 0===o)return;if(!s())return void o.style.removeProperty("width");const a=i().scrollWidth;if(0===a&&null===o.offsetParent&&void 0!==t&&"IntersectionObserver"in t){if(void 0!==n)return;const t=n=new IntersectionObserver((o=>{1===o[0].intersectionRatio&&(d(),t.disconnect(),n=void 0)}),{threshold:.01,root:e});t.observe(o)}else o.style.setProperty("width",.75*a+"px")};return{calculateNotchWidth:()=>{s()&&o((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},i="skip-label-transition",n=(t,r,n)=>{let s,d,a,c,v;const l=()=>{void 0===a&&(a=o((()=>{a=void 0;const s=(()=>{const o=r();if(!o||!n())return"";const i=o.getBoundingClientRect().width,s=Math.round(10*i)/10,d=e(t)?"":"-";return s?`${d}${s}px`:"0px"})();s!==v&&(void 0!==c&&cancelAnimationFrame(c),t.classList.add(i),t.style.setProperty("--internal-start-container-adjustment",s),v=s,c=o((()=>{c=void 0,t.classList.remove(i)}))),f()})))},u=()=>{s&&(s.disconnect(),s=void 0,d=void 0)},f=()=>{const t=r();t&&n()?"function"!=typeof ResizeObserver||s&&d===t||(u(),s=new ResizeObserver((()=>{l()})),d=t,s.observe(t)):u()};return{calculateStartContainerWidth:()=>{l()},destroy:()=>{u(),void 0!==a&&(cancelAnimationFrame(a),a=void 0),void 0!==c&&(cancelAnimationFrame(c),c=void 0,t.classList.remove(i)),v=void 0}}},s=(t,o)=>{const e=t.target.closest('[slot="start"], [slot="end"]');return null!==e&&e!==o&&o.contains(e)?e:null},d=(t,e)=>{let r=!1;return{handleClickCapture:i=>{if(((t,o)=>null!==s(t,o))(i,t))return r=!0,void o((()=>r=!1));if(void 0===e)return void(r&&(i.stopPropagation(),r=!1));const n=e();void 0!==n&&i.target===n&&(i.stopPropagation(),r||t.click(),r=!1)}}},a=(e,r,i)=>{let n,s;if(void 0!==t&&"MutationObserver"in t){const t=Array.isArray(r)?r:[r];n=new MutationObserver((e=>{for(const r of e)for(const e of r.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&t.includes(e.slot))return i(),void o((()=>d(e)))})),n.observe(e,{childList:!0,subtree:!0})}const d=t=>{s&&(s.disconnect(),s=void 0),s=new MutationObserver((t=>{i();for(const o of t)for(const t of o.removedNodes)t.nodeType===Node.ELEMENT_NODE&&t.slot===r&&a()})),s.observe(t.parentElement??t,{subtree:!0,childList:!0})},a=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),a()}}};export{r as a,n as b,a as c,d,s as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{p as e,H as o,h as t,i as s,d as i,t as c}from"./p-CthoZqG1.js";import{a as n,g as p}from"./p-BSQPZ79H.js";import{s as l}from"./p-zpafbpPu.js";import{r}from"./p-MOwrp7hX.js";import{g as a}from"./p-byZM6qHV.js";import{b as d}from"./p-2ta4uE9-.js";import{d as m}from"./p-BmIw6_lr.js";import{d as h}from"./p-MLplUp3U.js";import{d as v}from"./p-DP8hRAY9.js";import{d as b}from"./p-BMHhG7Xh.js";import{d as f}from"./p-gyjG_IM4.js";import{d as g}from"./p-PWHvigWP.js";import{d as x}from"./p-C0FB9NcQ.js";import{d as u}from"./p-BbuOLVCJ.js";import{d as k}from"./p-BuxZkazO.js";const y=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.pendingEnterTarget=null,this.options=[]}findOptionFromEvent(e){const{options:o}=this;return o.find((o=>o.value===e.target.value))}callOptionHandler(e){const o=this.findOptionFromEvent(e),t=this.getValues(e);o?.handler&&l(o.handler,t)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:o}=this,t=this.findOptionFromEvent(e);o&&t&&(t.checked=e.detail.checked)}getValues(e){const{multiple:o,options:t}=this;if(o)return t.filter((e=>e.checked)).map((e=>e.value));const s=this.findOptionFromEvent(e);return s?s.value:void 0}renderOptions(e){const{multiple:o}=this;return!0===o?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){const o=d(this);return e.map(((e,i)=>{const c=e,l=!!c.startContent||!!c.endContent||!!c.description,d={id:`popover-option-${i}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.description},m=n(o,"checkbox"),h=p(o,"checkbox");return t("ion-item",{disabled:e.disabled,class:{"item-checkbox-checked":e.checked,...a(e.cssClass)}},t("ion-checkbox",{class:{"select-option-has-rich-content":l},value:e.value,disabled:e.disabled,checked:e.checked,justify:c.justify??h,labelPlacement:c.labelPlacement??m,onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),s(this)}},r(d,"select-option-label")))}))}renderRadioOptions(e){const o=d(this),s=e.filter((e=>e.checked)).map((e=>e.value))[0];return t("ion-radio-group",{value:s,onIonChange:e=>this.callOptionHandler(e)},e.map(((e,i)=>{const c=e,l=!!c.startContent||!!c.endContent||!!c.description,d={id:`popover-option-${i}`,label:c.text,startContent:c.startContent,endContent:c.endContent,description:c.description};return t("ion-item",{disabled:e.disabled,class:{"item-radio-checked":e.value===s,...a(e.cssClass)}},t("ion-radio",{class:{"select-option-has-rich-content":l},value:e.value,disabled:e.disabled,justify:c.justify??p(o,"radio"),labelPlacement:c.labelPlacement??n(o,"radio"),onClick:()=>this.dismissParentPopover(),onKeyDown:e=>{"Enter"!==e.key||e.repeat||(this.pendingEnterTarget=e.currentTarget)},onKeyUp:e=>{if(" "===e.key)this.dismissParentPopover();else if("Enter"===e.key){const o=this.pendingEnterTarget===e.currentTarget;this.pendingEnterTarget=null,o&&this.dismissParentPopover()}}},r(d,"select-option-label")))})))}render(){const{header:e,message:o,options:s,subHeader:c}=this,n=void 0!==c||void 0!==o;return t(i,{key:"4b4ac4a4b6523147e7c1f5e29dd8043867f2baea",class:d(this)},t("ion-list",{key:"f700d3dc3ce68c20a4d981164b29262564097fb4"},void 0!==e&&t("ion-list-header",{key:"196bcd7963f13ef8bc46231545eee4cb8d526f5e"},e),n&&t("ion-item",{key:"bb108e0aa2409997df35f52cb67e58e55e0fd630"},t("ion-label",{key:"59e8d9196ff976f3835766662654c0f085e58ec3",class:"ion-text-wrap"},void 0!==c&&t("h3",{key:"532f75d7c129ffadca4e6cbb619a4427aaede65c"},c),void 0!==o&&t("p",{key:"fc42c91594b9001e983cb5e4176fc4c9bff0f708"},o))),this.renderOptions(s)))}get el(){return this}static get style(){return{ios:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-label-has-rich-content.sc-ion-select-popover-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-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-ios,.alert-checkbox-label-text.sc-ion-select-popover-ios,.alert-radio-label-text.sc-ion-select-popover-ios,.select-option-label-text.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-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-popover-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-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios{width:44px;height:44px}.select-option-start.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-select-popover-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-select-popover-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}',md:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-label-has-rich-content.sc-ion-select-popover-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-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-md,.alert-checkbox-label-text.sc-ion-select-popover-md,.alert-radio-label-text.sc-ion-select-popover-md,.select-option-label-text.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-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-popover-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-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md{width:40px;height:40px}.select-option-start.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md{font-size:24px}.select-option-start.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md{width:56px;height:56px}.select-option-start.sc-ion-select-popover-md>video.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>video.sc-ion-select-popover-md{width:114px;height:56px}.sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-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-popover-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-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]}]);function w(){"undefined"!=typeof customElements&&["ion-select-popover","ion-checkbox","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-radio","ion-radio-group","ion-ripple-effect"].forEach((e=>{switch(e){case"ion-select-popover":customElements.get(c(e))||customElements.define(c(e),y);break;case"ion-checkbox":customElements.get(c(e))||m();break;case"ion-icon":customElements.get(c(e))||h();break;case"ion-item":customElements.get(c(e))||v();break;case"ion-label":customElements.get(c(e))||b();break;case"ion-list":customElements.get(c(e))||f();break;case"ion-list-header":customElements.get(c(e))||g();break;case"ion-radio":customElements.get(c(e))||x();break;case"ion-radio-group":customElements.get(c(e))||u();break;case"ion-ripple-effect":customElements.get(c(e))||k()}}))}export{y as S,w as d}
4
+ import{p as e,H as o,h as t,i as s,d as i,t as n}from"./p-CthoZqG1.js";import{a as c,g as l}from"./p-BSQPZ79H.js";import{s as p}from"./p-BIMP7XsN.js";import{r}from"./p-MOwrp7hX.js";import{g as a}from"./p-byZM6qHV.js";import{b as d}from"./p-2ta4uE9-.js";import{d as m}from"./p-s40C1wOl.js";import{d as h}from"./p-MLplUp3U.js";import{d as v}from"./p-DrEqn5AR.js";import{d as b}from"./p-BMHhG7Xh.js";import{d as f}from"./p-gyjG_IM4.js";import{d as x}from"./p-PWHvigWP.js";import{d as g}from"./p-BrN7xu9-.js";import{d as u}from"./p-DU1fmq1v.js";import{d as k}from"./p-BuxZkazO.js";const y=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.pendingEnterTarget=null,this.options=[]}findOptionFromEvent(e){const{options:o}=this;return o.find((o=>o.value===e.target.value))}callOptionHandler(e){const o=this.findOptionFromEvent(e),t=this.getValues(e);o?.handler&&p(o.handler,t)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:o}=this,t=this.findOptionFromEvent(e);o&&t&&(t.checked=e.detail.checked)}getValues(e){const{multiple:o,options:t}=this;if(o)return t.filter((e=>e.checked)).map((e=>e.value));const s=this.findOptionFromEvent(e);return s?s.value:void 0}renderOptions(e){const{multiple:o}=this;return!0===o?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){const o=d(this);return e.map(((e,i)=>{const n=e,p=!!n.startContent||!!n.endContent||!!n.description,d={id:`popover-option-${i}`,label:n.text,startContent:n.startContent,endContent:n.endContent,description:n.description},m=c(o,"checkbox"),h=l(o,"checkbox");return t("ion-item",{disabled:e.disabled,class:{"item-checkbox-checked":e.checked,...a(e.cssClass)}},t("ion-checkbox",{class:{"select-option-has-rich-content":p},value:e.value,disabled:e.disabled,checked:e.checked,justify:n.justify??h,labelPlacement:n.labelPlacement??m,onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),s(this)}},r(d,"select-option-label")))}))}renderRadioOptions(e){const o=d(this),s=e.filter((e=>e.checked)).map((e=>e.value))[0];return t("ion-radio-group",{value:s,onIonChange:e=>this.callOptionHandler(e)},e.map(((e,i)=>{const n=e,p=!!n.startContent||!!n.endContent||!!n.description,d={id:`popover-option-${i}`,label:n.text,startContent:n.startContent,endContent:n.endContent,description:n.description};return t("ion-item",{disabled:e.disabled,class:{"item-radio-checked":e.value===s,...a(e.cssClass)}},t("ion-radio",{class:{"select-option-has-rich-content":p},value:e.value,disabled:e.disabled,justify:n.justify??l(o,"radio"),labelPlacement:n.labelPlacement??c(o,"radio"),onClick:()=>this.dismissParentPopover(),onKeyDown:e=>{"Enter"!==e.key||e.repeat||(this.pendingEnterTarget=e.currentTarget)},onKeyUp:e=>{if(" "===e.key)this.dismissParentPopover();else if("Enter"===e.key){const o=this.pendingEnterTarget===e.currentTarget;this.pendingEnterTarget=null,o&&this.dismissParentPopover()}}},r(d,"select-option-label")))})))}render(){const{header:e,message:o,options:s,subHeader:n}=this,c=void 0!==n||void 0!==o;return t(i,{key:"4b4ac4a4b6523147e7c1f5e29dd8043867f2baea",class:d(this)},t("ion-list",{key:"f700d3dc3ce68c20a4d981164b29262564097fb4"},void 0!==e&&t("ion-list-header",{key:"196bcd7963f13ef8bc46231545eee4cb8d526f5e"},e),c&&t("ion-item",{key:"bb108e0aa2409997df35f52cb67e58e55e0fd630"},t("ion-label",{key:"59e8d9196ff976f3835766662654c0f085e58ec3",class:"ion-text-wrap"},void 0!==n&&t("h3",{key:"532f75d7c129ffadca4e6cbb619a4427aaede65c"},n),void 0!==o&&t("p",{key:"fc42c91594b9001e983cb5e4176fc4c9bff0f708"},o))),this.renderOptions(s)))}get el(){return this}static get style(){return{ios:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-label-has-rich-content.sc-ion-select-popover-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-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-ios,.alert-checkbox-label-text.sc-ion-select-popover-ios,.alert-radio-label-text.sc-ion-select-popover-ios,.select-option-label-text.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-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-popover-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-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios{width:44px;height:44px}.select-option-start.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-select-popover-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-select-popover-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}',md:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-label-has-rich-content.sc-ion-select-popover-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-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-md,.alert-checkbox-label-text.sc-ion-select-popover-md,.alert-radio-label-text.sc-ion-select-popover-md,.select-option-label-text.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-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-popover-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-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md{width:40px;height:40px}.select-option-start.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md{font-size:24px}.select-option-start.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md{width:56px;height:56px}.select-option-start.sc-ion-select-popover-md>video.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>video.sc-ion-select-popover-md{width:114px;height:56px}.sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-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-popover-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-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]}]);function w(){"undefined"!=typeof customElements&&["ion-select-popover","ion-checkbox","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-radio","ion-radio-group","ion-ripple-effect"].forEach((e=>{switch(e){case"ion-select-popover":customElements.get(n(e))||customElements.define(n(e),y);break;case"ion-checkbox":customElements.get(n(e))||m();break;case"ion-icon":customElements.get(n(e))||h();break;case"ion-item":customElements.get(n(e))||v();break;case"ion-label":customElements.get(n(e))||b();break;case"ion-list":customElements.get(n(e))||f();break;case"ion-list-header":customElements.get(n(e))||x();break;case"ion-radio":customElements.get(n(e))||g();break;case"ion-radio-group":customElements.get(n(e))||u();break;case"ion-ripple-effect":customElements.get(n(e))||k()}}))}export{y as S,w as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{p as t,H as i,e,h as o,d as r,t as s}from"./p-CthoZqG1.js";import{d as n}from"./p-DX55ygwT.js";import{c as a}from"./p-DJztqcrH.js";import{b as d}from"./p-2ta4uE9-.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.inputId="ion-rg-"+h++,this.helperTextId=`${this.inputId}-helper-text`,this.errorTextId=`${this.inputId}-error-text`,this.labelId=`${this.inputId}-lbl`,this.isInvalid=!1,this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=t=>{const i=this.getRadios(),e=i.find((t=>!t.disabled)),o=i.find((i=>i.value===t&&!i.disabled));if(!e&&!o)return;const r=o||e;for(const t of i)t.setButtonTabindex(t===r?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i&&!i.disabled){const e=i.value;e!==this.value?(this.value=e,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}}}valueChanged(t){this.setRadioTabindex(t),this.ionValueChange.emit({value:t})}componentDidLoad(){this.valueChanged(this.value)}async connectedCallback(){const t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(t){const i=this.label=t.querySelector("ion-label");i&&(this.labelId=i.id=this.name+"-lbl")}"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver((()=>{const t=a(this.el);this.isInvalid!==t&&(this.isInvalid=t,Promise.resolve().then((()=>{this.hintTextId=this.getHintTextId()})))})),this.validationObserver.observe(this.el,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=a(this.el)}componentWillLoad(){this.hintTextId=this.getHintTextId()}disconnectedCallback(){this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(t){const{value:i}=this;this.ionChange.emit({value:i,event:t})}onKeydown(t){const i=!!this.el.closest("ion-select-popover")||!!this.el.closest("ion-select-modal");if(t.target&&!this.el.contains(t.target))return;const e=this.getRadios().filter((t=>!t.disabled));if(t.target&&e.includes(t.target)){const o=e.findIndex((i=>i===t.target)),r=e[o];let s;if(["ArrowDown","ArrowRight"].includes(t.key)&&(s=o===e.length-1?e[0]:e[o+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(s=0===o?e[e.length-1]:e[o-1]),s&&e.includes(s)&&(s.setFocus(t),i||(this.value=s.value,this.emitValueChange(t))),[" "].includes(t.key)){const i=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:r.value,(i!==this.value||this.allowEmptySelection)&&this.emitValueChange(t),t.preventDefault()}if("Enter"===t.key&&i&&!t.repeat){const i=this.value;this.value=r.value,i!==this.value&&this.emitValueChange(t),t.preventDefault()}}}async setFocus(){const t=this.getRadios().find((t=>-1!==t.tabIndex));t?.setFocus()}renderHintText(){const{helperText:t,errorText:i,helperTextId:e,errorTextId:r,isInvalid:s}=this;if(t||i)return o("div",{class:"radio-group-top"},o("div",{id:e,class:"helper-text","aria-live":"polite"},s?null:t),o("div",{id:r,class:"error-text",role:"alert"},s?i:null))}getHintTextId(){const{helperText:t,errorText:i,helperTextId:e,errorTextId:o,isInvalid:r}=this;return r&&i?o:t?e:void 0}render(){const{label:t,labelId:i,el:e,name:s,value:a}=this,l=d(this);return n(!0,e,s,a,!1),o(r,{key:"8d926a17e800adf0184274215c9689c96a8d6dfd",role:"radiogroup","aria-labelledby":t?i:null,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,onClick:this.onClick,class:l},this.renderHintText(),o("slot",{key:"2ff891123d5971a581b70d0886d23a074358c2dc"}))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return{ios:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}",md:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}"}}},[292,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],compareWith:[1,"compare-with"],name:[1],value:[1032],helperText:[1,"helper-text"],errorText:[1,"error-text"],isInvalid:[32],hintTextId:[32],setFocus:[64]},[[4,"keydown","onKeydown"]],{value:[{valueChanged:0}]}]);let h=0;function p(){"undefined"!=typeof customElements&&["ion-radio-group"].forEach((t=>{"ion-radio-group"===t&&(customElements.get(s(t))||customElements.define(s(t),l))}))}export{l as R,p as d}
4
+ import{p as t,H as i,e,h as o,d as r,t as s}from"./p-CthoZqG1.js";import{e as n}from"./p-C7LLUTK7.js";import{c as a}from"./p-DJztqcrH.js";import{b as d}from"./p-2ta4uE9-.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.inputId="ion-rg-"+h++,this.helperTextId=`${this.inputId}-helper-text`,this.errorTextId=`${this.inputId}-error-text`,this.labelId=`${this.inputId}-lbl`,this.isInvalid=!1,this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=t=>{const i=this.getRadios(),e=i.find((t=>!t.disabled)),o=i.find((i=>i.value===t&&!i.disabled));if(!e&&!o)return;const r=o||e;for(const t of i)t.setButtonTabindex(t===r?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i&&!i.disabled){const e=i.value;e!==this.value?(this.value=e,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}}}valueChanged(t){this.setRadioTabindex(t),this.ionValueChange.emit({value:t})}componentDidLoad(){this.valueChanged(this.value)}async connectedCallback(){const t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(t){const i=this.label=t.querySelector("ion-label");i&&(this.labelId=i.id=this.name+"-lbl")}"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver((()=>{const t=a(this.el);this.isInvalid!==t&&(this.isInvalid=t,Promise.resolve().then((()=>{this.hintTextId=this.getHintTextId()})))})),this.validationObserver.observe(this.el,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=a(this.el)}componentWillLoad(){this.hintTextId=this.getHintTextId()}disconnectedCallback(){this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(t){const{value:i}=this;this.ionChange.emit({value:i,event:t})}onKeydown(t){const i=!!this.el.closest("ion-select-popover")||!!this.el.closest("ion-select-modal");if(t.target&&!this.el.contains(t.target))return;const e=this.getRadios().filter((t=>!t.disabled));if(t.target&&e.includes(t.target)){const o=e.findIndex((i=>i===t.target)),r=e[o];let s;if(["ArrowDown","ArrowRight"].includes(t.key)&&(s=o===e.length-1?e[0]:e[o+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(s=0===o?e[e.length-1]:e[o-1]),s&&e.includes(s)&&(s.setFocus(t),i||(this.value=s.value,this.emitValueChange(t))),[" "].includes(t.key)){const i=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:r.value,(i!==this.value||this.allowEmptySelection)&&this.emitValueChange(t),t.preventDefault()}if("Enter"===t.key&&i&&!t.repeat){const i=this.value;this.value=r.value,i!==this.value&&this.emitValueChange(t),t.preventDefault()}}}async setFocus(){const t=this.getRadios().find((t=>-1!==t.tabIndex));t?.setFocus()}renderHintText(){const{helperText:t,errorText:i,helperTextId:e,errorTextId:r,isInvalid:s}=this;if(t||i)return o("div",{class:"radio-group-top"},o("div",{id:e,class:"helper-text","aria-live":"polite"},s?null:t),o("div",{id:r,class:"error-text",role:"alert"},s?i:null))}getHintTextId(){const{helperText:t,errorText:i,helperTextId:e,errorTextId:o,isInvalid:r}=this;return r&&i?o:t?e:void 0}render(){const{label:t,labelId:i,el:e,name:s,value:a}=this,l=d(this);return n(!0,e,s,a,!1),o(r,{key:"8d926a17e800adf0184274215c9689c96a8d6dfd",role:"radiogroup","aria-labelledby":t?i:null,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,onClick:this.onClick,class:l},this.renderHintText(),o("slot",{key:"2ff891123d5971a581b70d0886d23a074358c2dc"}))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return{ios:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}",md:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}"}}},[292,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],compareWith:[1,"compare-with"],name:[1],value:[1032],helperText:[1,"helper-text"],errorText:[1,"error-text"],isInvalid:[32],hintTextId:[32],setFocus:[64]},[[4,"keydown","onKeydown"]],{value:[{valueChanged:0}]}]);let h=0;function p(){"undefined"!=typeof customElements&&["ion-radio-group"].forEach((t=>{"ion-radio-group"===t&&(customElements.get(s(t))||customElements.define(s(t),l))}))}export{l as R,p as d}