@esri/calcite-components 1.0.0-next.545 → 1.0.0-next.548

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 (823) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/p-02a85497.entry.js +6 -0
  5. package/dist/calcite/{p-fca44ef4.js → p-056476f2.js} +2 -2
  6. package/dist/calcite/{p-96887b19.entry.js → p-0e71c00e.entry.js} +2 -2
  7. package/dist/calcite/{p-e29707d8.system.js → p-11571246.system.js} +1 -1
  8. package/dist/calcite/{p-9c2366ae.entry.js → p-117f137e.entry.js} +2 -2
  9. package/dist/calcite/p-12e478ea.system.js +6 -0
  10. package/dist/calcite/{p-dbe31568.entry.js → p-140dc09b.entry.js} +2 -2
  11. package/dist/calcite/{p-08017521.system.entry.js → p-17609120.system.entry.js} +2 -2
  12. package/dist/calcite/{p-79fb832a.system.entry.js → p-1779b451.system.entry.js} +2 -2
  13. package/dist/calcite/{p-36bb89b0.entry.js → p-191e12fd.entry.js} +2 -2
  14. package/dist/calcite/{p-e0f4fa7a.entry.js → p-19724691.entry.js} +2 -2
  15. package/dist/calcite/{p-abddf259.js → p-1a52ad21.js} +2 -2
  16. package/dist/calcite/{p-a5617c0b.system.js → p-1c8d47a0.system.js} +1 -1
  17. package/dist/calcite/{p-0eed4434.entry.js → p-1dfccbe0.entry.js} +2 -2
  18. package/dist/calcite/{p-adf03aa5.entry.js → p-2175734f.entry.js} +2 -2
  19. package/dist/calcite/{p-f89e2c44.system.entry.js → p-21b9b7e7.system.entry.js} +2 -2
  20. package/dist/calcite/{p-d1a98bc1.system.entry.js → p-229cf5b5.system.entry.js} +2 -2
  21. package/dist/calcite/{p-426a08ee.system.entry.js → p-25525f71.system.entry.js} +2 -2
  22. package/dist/calcite/{p-7835d9c6.entry.js → p-25e0d6fc.entry.js} +2 -2
  23. package/dist/calcite/{p-40fd0812.system.entry.js → p-260ad7eb.system.entry.js} +3 -3
  24. package/dist/calcite/{p-bd91b3e2.system.entry.js → p-2b501741.system.entry.js} +2 -2
  25. package/dist/calcite/{p-3d0f9058.entry.js → p-2be11c45.entry.js} +2 -2
  26. package/dist/calcite/{p-5d4755cf.js → p-2d3c5c2b.js} +1 -1
  27. package/dist/calcite/{p-4a508f15.system.entry.js → p-2e312e87.system.entry.js} +2 -2
  28. package/dist/calcite/{p-af77d6d8.entry.js → p-2f0477d9.entry.js} +2 -2
  29. package/dist/calcite/{p-867ea31c.js → p-2fd5d528.js} +1 -1
  30. package/dist/calcite/{p-fc15b223.system.js → p-2fe4e53d.system.js} +1 -1
  31. package/dist/calcite/{p-92871457.entry.js → p-32ddbb0c.entry.js} +2 -2
  32. package/dist/calcite/p-33cc0c66.system.entry.js +6 -0
  33. package/dist/calcite/{p-d687626a.entry.js → p-376737ca.entry.js} +2 -2
  34. package/dist/calcite/{p-66604bf0.entry.js → p-38294283.entry.js} +2 -2
  35. package/dist/calcite/{p-fe79b4f5.entry.js → p-3c016833.entry.js} +2 -2
  36. package/dist/calcite/{p-ebb01425.entry.js → p-3c8401fb.entry.js} +2 -2
  37. package/dist/calcite/{p-d74b6640.system.entry.js → p-3cd7043a.system.entry.js} +2 -2
  38. package/dist/calcite/{p-e2ff7289.system.js → p-3cde8c7c.system.js} +2 -2
  39. package/dist/calcite/{p-45381bd8.system.entry.js → p-3d646397.system.entry.js} +2 -2
  40. package/dist/calcite/{p-33efb339.entry.js → p-3da11f29.entry.js} +2 -2
  41. package/dist/calcite/{p-ddea9f57.entry.js → p-3dfb6c8a.entry.js} +2 -2
  42. package/dist/calcite/{p-8d4b4dca.entry.js → p-3fbb2be2.entry.js} +2 -2
  43. package/dist/calcite/{p-ffa9e0fb.entry.js → p-40091025.entry.js} +2 -2
  44. package/dist/calcite/{p-216924b5.system.js → p-41743900.system.js} +1 -1
  45. package/dist/calcite/{p-2abc77ed.entry.js → p-43248ec5.entry.js} +2 -2
  46. package/dist/calcite/{p-aa2304a9.system.entry.js → p-432679ca.system.entry.js} +2 -2
  47. package/dist/calcite/{p-39572acc.system.entry.js → p-43bbf9aa.system.entry.js} +2 -2
  48. package/dist/calcite/{p-34e0d018.entry.js → p-4737c903.entry.js} +2 -2
  49. package/dist/calcite/{p-f9ea2e8c.system.entry.js → p-4bc1ecb5.system.entry.js} +2 -2
  50. package/dist/calcite/{p-77db2b28.system.js → p-4d4e749e.system.js} +1 -1
  51. package/dist/calcite/{p-49dc69ef.system.entry.js → p-4ff4ea0e.system.entry.js} +2 -2
  52. package/dist/calcite/{p-c9bcd72e.system.entry.js → p-511ab9ad.system.entry.js} +2 -2
  53. package/dist/calcite/{p-19acf1aa.entry.js → p-525fb5df.entry.js} +2 -2
  54. package/dist/calcite/{p-a8eded9b.entry.js → p-52fa1f8f.entry.js} +2 -2
  55. package/dist/calcite/{p-92e60516.js → p-552b13bf.js} +2 -2
  56. package/dist/calcite/{p-171f79cd.system.entry.js → p-55affa79.system.entry.js} +2 -2
  57. package/dist/calcite/{p-77cd5ae7.system.entry.js → p-564e83c2.system.entry.js} +2 -2
  58. package/dist/calcite/{p-a60da399.system.entry.js → p-56c0fe16.system.entry.js} +2 -2
  59. package/dist/calcite/{p-a2f31213.system.entry.js → p-56eaf401.system.entry.js} +2 -2
  60. package/dist/calcite/{p-f381813f.system.js → p-593c53cd.system.js} +1 -1
  61. package/dist/calcite/{p-c9b4869d.js → p-5a553915.js} +1 -1
  62. package/dist/calcite/{p-d26be0a8.entry.js → p-5a5ff306.entry.js} +2 -2
  63. package/dist/calcite/p-5e344169.entry.js +6 -0
  64. package/dist/calcite/{p-86a3be16.system.js → p-600cfdef.system.js} +1 -1
  65. package/dist/calcite/{p-51528f35.js → p-6b372484.js} +2 -2
  66. package/dist/calcite/{p-b9204866.system.entry.js → p-6b9101f5.system.entry.js} +2 -2
  67. package/dist/calcite/{p-c87b0281.system.js → p-6bbea082.system.js} +2 -2
  68. package/dist/calcite/{p-a11cc161.entry.js → p-6bc7ae57.entry.js} +2 -2
  69. package/dist/calcite/{p-0933dd38.entry.js → p-6ce81214.entry.js} +2 -2
  70. package/dist/calcite/{p-fac07d53.js → p-6d7057b7.js} +2 -2
  71. package/dist/calcite/{p-af8e7771.js → p-6ec71622.js} +1 -1
  72. package/dist/calcite/p-752c3bac.entry.js +6 -0
  73. package/dist/calcite/{p-8678ac36.system.entry.js → p-7574f7f1.system.entry.js} +2 -2
  74. package/dist/calcite/{p-125968db.system.js → p-7748796a.system.js} +2 -2
  75. package/dist/calcite/{p-f5882583.entry.js → p-7ce41a1d.entry.js} +2 -2
  76. package/dist/calcite/{p-6d99324d.js → p-8026a5f6.js} +1 -1
  77. package/dist/calcite/{p-c1f5e0e3.system.entry.js → p-825bba8c.system.entry.js} +2 -2
  78. package/dist/calcite/{p-8fdb3372.system.entry.js → p-844c2823.system.entry.js} +2 -2
  79. package/dist/calcite/{p-9bad1791.system.entry.js → p-86b290ea.system.entry.js} +2 -2
  80. package/dist/calcite/{p-f73ac0d1.js → p-8760aab9.js} +1 -1
  81. package/dist/calcite/p-899429ac.entry.js +6 -0
  82. package/dist/calcite/{p-dec72229.system.entry.js → p-8bdb699f.system.entry.js} +2 -2
  83. package/dist/calcite/{p-1c3d9a00.system.js → p-8c697c34.system.js} +2 -2
  84. package/dist/calcite/{p-fcc86332.entry.js → p-8d1b7a04.entry.js} +2 -2
  85. package/dist/calcite/{p-fadc93cf.entry.js → p-8f1e6223.entry.js} +2 -2
  86. package/dist/calcite/{p-8109972f.entry.js → p-8f6cd21a.entry.js} +2 -2
  87. package/dist/calcite/{p-cea09e89.system.entry.js → p-9306c8aa.system.entry.js} +2 -2
  88. package/dist/calcite/{p-c45913f4.entry.js → p-95835979.entry.js} +2 -2
  89. package/dist/calcite/{p-48ec1e5b.entry.js → p-960f9f81.entry.js} +2 -2
  90. package/dist/calcite/{p-cf15be2d.js → p-977e967b.js} +1 -1
  91. package/dist/calcite/{p-d5d6b4f2.system.js → p-978eca63.system.js} +2 -2
  92. package/dist/calcite/{p-10b5a7d3.js → p-9920d76f.js} +1 -1
  93. package/dist/calcite/{p-421b1041.system.entry.js → p-99bd2b6a.system.entry.js} +2 -2
  94. package/dist/calcite/{p-a18a4874.system.js → p-9b0b6188.system.js} +2 -2
  95. package/dist/calcite/{p-686faef5.entry.js → p-9c04c0de.entry.js} +2 -2
  96. package/dist/calcite/{p-5cc19e1c.system.js → p-9c092d87.system.js} +2 -2
  97. package/dist/calcite/{p-4b6e7d5f.entry.js → p-9dd6856d.entry.js} +2 -2
  98. package/dist/calcite/{p-891bd723.system.entry.js → p-9eef0865.system.entry.js} +2 -2
  99. package/dist/calcite/p-9f02e069.system.entry.js +6 -0
  100. package/dist/calcite/{p-28c957d6.system.js → p-a1a8e027.system.js} +1 -1
  101. package/dist/calcite/{p-d1474b1a.entry.js → p-a2d9d868.entry.js} +2 -2
  102. package/dist/calcite/{p-5502ed77.system.entry.js → p-a2f3a968.system.entry.js} +2 -2
  103. package/dist/calcite/{p-30a83253.js → p-a4464763.js} +1 -1
  104. package/dist/calcite/{p-382ef597.entry.js → p-a59e0b5e.entry.js} +2 -2
  105. package/dist/calcite/{p-366dc49f.entry.js → p-a6c642c7.entry.js} +2 -2
  106. package/dist/calcite/{p-8e89c5ca.entry.js → p-a70a4b30.entry.js} +2 -2
  107. package/dist/calcite/{p-50aa2d9a.entry.js → p-a94594b3.entry.js} +2 -2
  108. package/dist/calcite/{p-97399359.system.entry.js → p-a96c021e.system.entry.js} +2 -2
  109. package/dist/calcite/{p-ff369cc9.system.entry.js → p-aa9e5bed.system.entry.js} +2 -2
  110. package/dist/calcite/{p-9078536b.entry.js → p-ac9b6e7d.entry.js} +2 -2
  111. package/dist/calcite/{p-68b68cb1.entry.js → p-ad122856.entry.js} +2 -2
  112. package/dist/calcite/{p-ff782b2c.system.entry.js → p-afcf4cf1.system.entry.js} +2 -2
  113. package/dist/calcite/{p-09513558.system.entry.js → p-b0c5af9e.system.entry.js} +2 -2
  114. package/dist/calcite/{p-44aa00e2.js → p-b1722c71.js} +2 -2
  115. package/dist/calcite/{p-4f706cb7.js → p-b18c30fd.js} +2 -2
  116. package/dist/calcite/{p-57921e33.system.js → p-b1db6536.system.js} +1 -1
  117. package/dist/calcite/{p-7d1f33a7.js → p-b248eb10.js} +1 -1
  118. package/dist/calcite/{p-b1ef2c4c.entry.js → p-b2e18001.entry.js} +2 -2
  119. package/dist/calcite/p-b56ca7b5.js +6 -0
  120. package/dist/calcite/{p-07f1ec4c.system.entry.js → p-b7a6b152.system.entry.js} +2 -2
  121. package/dist/calcite/{p-865547b6.js → p-b83ff24d.js} +1 -1
  122. package/dist/calcite/p-b973815b.entry.js +6 -0
  123. package/dist/calcite/{p-40f4db01.system.js → p-ba194568.system.js} +3 -3
  124. package/dist/calcite/{p-61a7329d.entry.js → p-ba927c6b.entry.js} +2 -2
  125. package/dist/calcite/{p-836f2267.entry.js → p-bb53112e.entry.js} +2 -2
  126. package/dist/calcite/{p-06712b22.js → p-be10811a.js} +2 -2
  127. package/dist/calcite/{p-b2dcf840.system.js → p-c01b7489.system.js} +1 -1
  128. package/dist/calcite/{p-6a8dca5c.js → p-c09e8a38.js} +2 -2
  129. package/dist/calcite/{p-51c4745a.system.entry.js → p-c0b6d540.system.entry.js} +2 -2
  130. package/dist/calcite/{p-db787990.entry.js → p-c181350b.entry.js} +2 -2
  131. package/dist/calcite/{p-55b60020.js → p-c1892dd3.js} +1 -1
  132. package/dist/calcite/{p-f15c2e86.system.entry.js → p-c2a492b1.system.entry.js} +2 -2
  133. package/dist/calcite/{p-ddc68710.system.js → p-c7317eb9.system.js} +1 -1
  134. package/dist/calcite/{p-fd17bea9.system.entry.js → p-c7599daa.system.entry.js} +3 -3
  135. package/dist/calcite/{p-cff58306.entry.js → p-c7606fa2.entry.js} +2 -2
  136. package/dist/calcite/{p-cf35f23d.system.entry.js → p-c91ce1f0.system.entry.js} +2 -2
  137. package/dist/calcite/{p-10933bb8.system.entry.js → p-c9665f02.system.entry.js} +2 -2
  138. package/dist/calcite/{p-ef00f12b.system.entry.js → p-c9c29947.system.entry.js} +2 -2
  139. package/dist/calcite/{p-3960c1a2.system.entry.js → p-cd50544d.system.entry.js} +2 -2
  140. package/dist/calcite/{p-811c0946.entry.js → p-ce7d1465.entry.js} +2 -2
  141. package/dist/calcite/{p-a7cd6e07.system.entry.js → p-ce9890f2.system.entry.js} +2 -2
  142. package/dist/calcite/{p-4c06220c.entry.js → p-d2e6af7a.entry.js} +2 -2
  143. package/dist/calcite/{p-91a63409.js → p-d391708a.js} +1 -1
  144. package/dist/calcite/{p-7839585a.system.entry.js → p-d70fc131.system.entry.js} +2 -2
  145. package/dist/calcite/{p-a597179f.system.entry.js → p-d7c85f10.system.entry.js} +2 -2
  146. package/dist/calcite/{p-82fd4d63.entry.js → p-db1a3e79.entry.js} +2 -2
  147. package/dist/calcite/p-dbb03b98.system.entry.js +6 -0
  148. package/dist/calcite/{p-6585703d.system.entry.js → p-dbf378e6.system.entry.js} +2 -2
  149. package/dist/calcite/{p-0dd3325b.js → p-dc32a539.js} +2 -2
  150. package/dist/calcite/{p-4c423666.system.entry.js → p-dd68a28a.system.entry.js} +2 -2
  151. package/dist/calcite/{p-14120933.system.js → p-dd87f77d.system.js} +1 -1
  152. package/dist/calcite/{p-b080d795.system.entry.js → p-de004a69.system.entry.js} +2 -2
  153. package/dist/calcite/{p-0fed34a3.system.entry.js → p-de8414fa.system.entry.js} +2 -2
  154. package/dist/calcite/{p-91cf193c.system.js → p-e0ec68f0.system.js} +1 -1
  155. package/dist/calcite/{p-26cef117.system.js → p-e2b650ba.system.js} +2 -2
  156. package/dist/calcite/{p-2a0cfe91.system.entry.js → p-e470333b.system.entry.js} +3 -3
  157. package/dist/calcite/{p-0b7eff00.entry.js → p-e5d232dc.entry.js} +2 -2
  158. package/dist/calcite/{p-d0e461cc.system.entry.js → p-e81e8f60.system.entry.js} +2 -2
  159. package/dist/calcite/{p-a84c51e4.entry.js → p-e923d23b.entry.js} +2 -2
  160. package/dist/calcite/{p-1d115ed6.system.js → p-eb4ce1c1.system.js} +1 -1
  161. package/dist/calcite/{p-783fcd16.system.js → p-ef0e2057.system.js} +2 -2
  162. package/dist/calcite/{p-4754fd7f.system.js → p-f082df07.system.js} +2 -2
  163. package/dist/calcite/{p-3ca99921.entry.js → p-f17ea976.entry.js} +2 -2
  164. package/dist/calcite/{p-49c3daaa.system.entry.js → p-f1e3bad8.system.entry.js} +2 -2
  165. package/dist/calcite/{p-cd5d0f01.system.entry.js → p-f3082765.system.entry.js} +2 -2
  166. package/dist/calcite/{p-d787ef6f.system.entry.js → p-f55ad184.system.entry.js} +3 -3
  167. package/dist/calcite/{p-165d407f.entry.js → p-f6336bc4.entry.js} +2 -2
  168. package/dist/calcite/{p-8b0ed7a6.entry.js → p-f9beec86.entry.js} +2 -2
  169. package/dist/calcite/{p-831bee4b.system.entry.js → p-fa916e7d.system.entry.js} +2 -2
  170. package/dist/calcite/{p-4c03898a.system.entry.js → p-fa95d3dd.system.entry.js} +2 -2
  171. package/dist/calcite/{p-46eb815c.system.entry.js → p-fad387f0.system.entry.js} +2 -2
  172. package/dist/cjs/{ExpandToggle-bb606091.js → ExpandToggle-8a3ca570.js} +5 -5
  173. package/dist/cjs/{Heading-0f2e7118.js → Heading-6db40c00.js} +2 -2
  174. package/dist/cjs/{array-e09585d4.js → array-616f591a.js} +1 -1
  175. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
  176. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  177. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  180. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  181. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  183. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-chip.cjs.entry.js +24 -8
  188. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  189. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -14
  190. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  191. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  193. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  194. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  195. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  196. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  201. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-input-text.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  204. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  206. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-modal.cjs.entry.js +18 -10
  210. package/dist/cjs/calcite-notice.cjs.entry.js +22 -8
  211. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  212. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  213. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  215. package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -9
  216. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  218. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  222. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  228. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  229. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  230. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  231. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  232. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  234. package/dist/cjs/calcite.cjs.js +3 -3
  235. package/dist/cjs/{conditionalSlot-72d7279a.js → conditionalSlot-cec57744.js} +3 -3
  236. package/dist/cjs/{debounce-d03b3c0d.js → debounce-84e3d9f9.js} +1 -1
  237. package/dist/cjs/{dom-7d31f23c.js → dom-97c813d6.js} +2 -2
  238. package/dist/cjs/{filter-5d0a59f0.js → filter-5460253e.js} +2 -2
  239. package/dist/cjs/{floating-ui-2421d0a3.js → floating-ui-3b66d63e.js} +2 -2
  240. package/dist/cjs/{form-f81a1159.js → form-4fa4fd98.js} +3 -3
  241. package/dist/cjs/{guid-c4d68bba.js → guid-d5e3b115.js} +1 -1
  242. package/dist/cjs/{index-a14d74bf.js → index-0f5ed25d.js} +1 -1
  243. package/dist/cjs/index.cjs.js +1 -1
  244. package/dist/cjs/{interactive-7dd3d0fb.js → interactive-984f4967.js} +1 -1
  245. package/dist/cjs/{interfaces-a7cfada4.js → interfaces-91d2eba6.js} +1 -1
  246. package/dist/cjs/{key-4c570734.js → key-56ee2547.js} +1 -1
  247. package/dist/cjs/{label-db6eed6b.js → label-2a262c34.js} +2 -2
  248. package/dist/cjs/loader.cjs.js +3 -3
  249. package/dist/cjs/{locale-d072cf3c.js → locale-4b66758d.js} +2 -2
  250. package/dist/cjs/{math-fbf643c3.js → math-74551755.js} +1 -1
  251. package/dist/cjs/{observers-36d8653e.js → observers-cdcee83d.js} +1 -1
  252. package/dist/cjs/{resources-02e2cc33.js → resources-2435f08d.js} +3 -3
  253. package/dist/cjs/{resources-0db49bd5.js → resources-39cf8de6.js} +1 -1
  254. package/dist/cjs/{resources-bb07fd5f.js → resources-56f5e056.js} +1 -1
  255. package/dist/cjs/{resources-71fa072e.js → resources-85e95b9e.js} +5 -5
  256. package/dist/cjs/{sortable.esm-9e46a946.js → sortable.esm-b1a8ede0.js} +1 -1
  257. package/dist/cjs/{utils-83aa80f3.js → utils-c2a6dfc1.js} +1 -1
  258. package/dist/collection/components/accordion/accordion.js +1 -1
  259. package/dist/collection/components/accordion/interfaces.js +1 -1
  260. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  261. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  262. package/dist/collection/components/accordion-item/resources.js +1 -1
  263. package/dist/collection/components/action/action.js +1 -1
  264. package/dist/collection/components/action/resources.js +1 -1
  265. package/dist/collection/components/action-bar/action-bar.js +1 -1
  266. package/dist/collection/components/action-bar/resources.js +1 -1
  267. package/dist/collection/components/action-bar/utils.js +1 -1
  268. package/dist/collection/components/action-group/action-group.js +1 -1
  269. package/dist/collection/components/action-group/resources.js +1 -1
  270. package/dist/collection/components/action-menu/action-menu.js +1 -1
  271. package/dist/collection/components/action-menu/resources.js +1 -1
  272. package/dist/collection/components/action-pad/action-pad.js +1 -1
  273. package/dist/collection/components/action-pad/resources.js +1 -1
  274. package/dist/collection/components/alert/alert.js +1 -1
  275. package/dist/collection/components/alert/interfaces.js +1 -1
  276. package/dist/collection/components/alert/resources.js +1 -1
  277. package/dist/collection/components/avatar/avatar.js +1 -1
  278. package/dist/collection/components/avatar/utils.js +1 -1
  279. package/dist/collection/components/block/block.js +1 -1
  280. package/dist/collection/components/block/resources.js +1 -1
  281. package/dist/collection/components/block-section/block-section.js +1 -1
  282. package/dist/collection/components/block-section/interfaces.js +1 -1
  283. package/dist/collection/components/block-section/resources.js +1 -1
  284. package/dist/collection/components/button/button.js +1 -1
  285. package/dist/collection/components/button/interfaces.js +1 -1
  286. package/dist/collection/components/button/resources.js +1 -1
  287. package/dist/collection/components/card/card.js +1 -1
  288. package/dist/collection/components/card/resources.js +1 -1
  289. package/dist/collection/components/checkbox/checkbox.js +1 -1
  290. package/dist/collection/components/chip/chip.css +0 -2
  291. package/dist/collection/components/chip/chip.js +22 -3
  292. package/dist/collection/components/chip/interfaces.js +1 -1
  293. package/dist/collection/components/chip/resources.js +1 -1
  294. package/dist/collection/components/color-picker/color-picker.js +1 -1
  295. package/dist/collection/components/color-picker/interfaces.js +1 -1
  296. package/dist/collection/components/color-picker/resources.js +1 -1
  297. package/dist/collection/components/color-picker/utils.js +1 -1
  298. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  299. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  300. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  301. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  302. package/dist/collection/components/combobox/combobox.css +0 -1
  303. package/dist/collection/components/combobox/combobox.js +3 -2
  304. package/dist/collection/components/combobox/interfaces.js +1 -1
  305. package/dist/collection/components/combobox/resources.js +1 -1
  306. package/dist/collection/components/combobox/utils.js +1 -1
  307. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  308. package/dist/collection/components/combobox-item/resources.js +1 -1
  309. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  310. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  311. package/dist/collection/components/date-picker/date-picker.js +1 -1
  312. package/dist/collection/components/date-picker/interfaces.js +1 -1
  313. package/dist/collection/components/date-picker/resources.js +1 -1
  314. package/dist/collection/components/date-picker/utils.js +1 -1
  315. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  316. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  317. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  318. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  319. package/dist/collection/components/dropdown/dropdown.js +1 -1
  320. package/dist/collection/components/dropdown/interfaces.js +1 -1
  321. package/dist/collection/components/dropdown/resources.js +1 -1
  322. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  323. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  324. package/dist/collection/components/dropdown-group/resources.js +1 -1
  325. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  326. package/dist/collection/components/dropdown-item/resources.js +1 -1
  327. package/dist/collection/components/fab/fab.js +1 -1
  328. package/dist/collection/components/fab/resources.js +1 -1
  329. package/dist/collection/components/filter/filter.js +1 -1
  330. package/dist/collection/components/filter/resources.js +1 -1
  331. package/dist/collection/components/flow/flow.js +1 -1
  332. package/dist/collection/components/flow/interfaces.js +1 -1
  333. package/dist/collection/components/flow/resources.js +1 -1
  334. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  335. package/dist/collection/components/functional/Heading.js +1 -1
  336. package/dist/collection/components/graph/graph.js +1 -1
  337. package/dist/collection/components/graph/interfaces.js +1 -1
  338. package/dist/collection/components/graph/util.js +1 -1
  339. package/dist/collection/components/handle/handle.js +1 -1
  340. package/dist/collection/components/handle/resources.js +1 -1
  341. package/dist/collection/components/icon/icon.js +1 -1
  342. package/dist/collection/components/icon/resources.js +1 -1
  343. package/dist/collection/components/icon/utils.js +1 -1
  344. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  345. package/dist/collection/components/inline-editable/resources.js +1 -1
  346. package/dist/collection/components/input/input.js +1 -1
  347. package/dist/collection/components/input/interfaces.js +1 -1
  348. package/dist/collection/components/input/resources.js +1 -1
  349. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  350. package/dist/collection/components/input-date-picker/resources.js +1 -1
  351. package/dist/collection/components/input-message/input-message.js +1 -1
  352. package/dist/collection/components/input-message/interfaces.js +1 -1
  353. package/dist/collection/components/input-number/input-number.js +1 -1
  354. package/dist/collection/components/input-number/interfaces.js +1 -1
  355. package/dist/collection/components/input-number/resources.js +1 -1
  356. package/dist/collection/components/input-text/input-text.js +1 -1
  357. package/dist/collection/components/input-text/resources.js +1 -1
  358. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  359. package/dist/collection/components/interfaces.js +1 -1
  360. package/dist/collection/components/label/label.js +1 -1
  361. package/dist/collection/components/label/resources.js +1 -1
  362. package/dist/collection/components/link/link.js +1 -1
  363. package/dist/collection/components/list/list.js +1 -1
  364. package/dist/collection/components/list/resources.js +1 -1
  365. package/dist/collection/components/list-item/list-item.js +1 -1
  366. package/dist/collection/components/list-item/resources.js +1 -1
  367. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  368. package/dist/collection/components/list-item-group/resources.js +1 -1
  369. package/dist/collection/components/loader/loader.js +1 -1
  370. package/dist/collection/components/modal/interfaces.js +1 -1
  371. package/dist/collection/components/modal/modal.css +0 -5
  372. package/dist/collection/components/modal/modal.js +12 -4
  373. package/dist/collection/components/modal/resources.js +1 -1
  374. package/dist/collection/components/notice/notice.js +20 -2
  375. package/dist/collection/components/notice/resources.js +1 -1
  376. package/dist/collection/components/option/option.js +1 -1
  377. package/dist/collection/components/option-group/option-group.js +1 -1
  378. package/dist/collection/components/pagination/pagination.js +1 -1
  379. package/dist/collection/components/pagination/resources.js +1 -1
  380. package/dist/collection/components/panel/panel.js +1 -1
  381. package/dist/collection/components/panel/resources.js +1 -1
  382. package/dist/collection/components/pick-list/pick-list.js +1 -1
  383. package/dist/collection/components/pick-list/resources.js +1 -1
  384. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  385. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  386. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  387. package/dist/collection/components/pick-list-group/resources.js +1 -1
  388. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  389. package/dist/collection/components/pick-list-item/resources.js +1 -1
  390. package/dist/collection/components/popover/PopoverManager.js +1 -1
  391. package/dist/collection/components/popover/popover.js +23 -5
  392. package/dist/collection/components/popover/resources.js +1 -1
  393. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  394. package/dist/collection/components/progress/progress.js +1 -1
  395. package/dist/collection/components/radio-button/radio-button.js +1 -1
  396. package/dist/collection/components/radio-button/resources.js +1 -1
  397. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  398. package/dist/collection/components/radio-group/interfaces.js +1 -1
  399. package/dist/collection/components/radio-group/radio-group.js +1 -1
  400. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  401. package/dist/collection/components/radio-group-item/resources.js +1 -1
  402. package/dist/collection/components/rating/rating.js +1 -1
  403. package/dist/collection/components/rating/resources.js +1 -1
  404. package/dist/collection/components/scrim/resources.js +1 -1
  405. package/dist/collection/components/scrim/scrim.js +1 -1
  406. package/dist/collection/components/select/resources.js +1 -1
  407. package/dist/collection/components/select/select.js +1 -1
  408. package/dist/collection/components/shell/resources.js +1 -1
  409. package/dist/collection/components/shell/shell.js +1 -1
  410. package/dist/collection/components/shell-center-row/resources.js +1 -1
  411. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  412. package/dist/collection/components/shell-panel/resources.js +1 -1
  413. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  414. package/dist/collection/components/slider/slider.js +1 -1
  415. package/dist/collection/components/sortable-list/resources.js +1 -1
  416. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  417. package/dist/collection/components/split-button/resources.js +1 -1
  418. package/dist/collection/components/split-button/split-button.js +1 -1
  419. package/dist/collection/components/stepper/interfaces.js +1 -1
  420. package/dist/collection/components/stepper/stepper.js +1 -1
  421. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  422. package/dist/collection/components/switch/switch.js +1 -1
  423. package/dist/collection/components/tab/interfaces.js +1 -1
  424. package/dist/collection/components/tab/tab.js +1 -1
  425. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  426. package/dist/collection/components/tab-title/tab-title.js +1 -1
  427. package/dist/collection/components/tabs/interfaces.js +1 -1
  428. package/dist/collection/components/tabs/resources.js +1 -1
  429. package/dist/collection/components/tabs/tabs.js +1 -1
  430. package/dist/collection/components/tile/resources.js +1 -1
  431. package/dist/collection/components/tile/tile.js +1 -1
  432. package/dist/collection/components/tile-select/interfaces.js +1 -1
  433. package/dist/collection/components/tile-select/resources.js +1 -1
  434. package/dist/collection/components/tile-select/tile-select.js +1 -1
  435. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  436. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  437. package/dist/collection/components/time-picker/resources.js +1 -1
  438. package/dist/collection/components/time-picker/time-picker.js +1 -1
  439. package/dist/collection/components/tip/resources.js +1 -1
  440. package/dist/collection/components/tip/tip.js +1 -1
  441. package/dist/collection/components/tip-group/tip-group.js +1 -1
  442. package/dist/collection/components/tip-manager/resources.js +1 -1
  443. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  444. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  445. package/dist/collection/components/tooltip/resources.js +1 -1
  446. package/dist/collection/components/tooltip/tooltip.js +1 -1
  447. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  448. package/dist/collection/components/tree/interfaces.js +1 -1
  449. package/dist/collection/components/tree/tree.js +1 -1
  450. package/dist/collection/components/tree-item/interfaces.js +1 -1
  451. package/dist/collection/components/tree-item/resources.js +1 -1
  452. package/dist/collection/components/tree-item/tree-item.js +1 -1
  453. package/dist/collection/components/value-list/interfaces.js +1 -1
  454. package/dist/collection/components/value-list/resources.js +1 -1
  455. package/dist/collection/components/value-list/utils.js +1 -1
  456. package/dist/collection/components/value-list/value-list.js +1 -1
  457. package/dist/collection/components/value-list-item/resources.js +1 -1
  458. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  459. package/dist/collection/utils/array.js +1 -1
  460. package/dist/collection/utils/conditionalSlot.js +1 -1
  461. package/dist/collection/utils/date.js +1 -1
  462. package/dist/collection/utils/dom.js +1 -1
  463. package/dist/collection/utils/filter.js +1 -1
  464. package/dist/collection/utils/floating-ui.js +1 -1
  465. package/dist/collection/utils/form.js +1 -1
  466. package/dist/collection/utils/globalAttributes.js +1 -1
  467. package/dist/collection/utils/guid.js +1 -1
  468. package/dist/collection/utils/interactive.js +1 -1
  469. package/dist/collection/utils/key.js +1 -1
  470. package/dist/collection/utils/label.js +1 -1
  471. package/dist/collection/utils/locale.js +1 -1
  472. package/dist/collection/utils/math.js +1 -1
  473. package/dist/collection/utils/number.js +1 -1
  474. package/dist/collection/utils/observers.js +1 -1
  475. package/dist/collection/utils/openCloseComponent.js +1 -1
  476. package/dist/collection/utils/resources.js +1 -1
  477. package/dist/collection/utils/time.js +1 -1
  478. package/dist/components/ExpandToggle.js +1 -1
  479. package/dist/components/Heading.js +1 -1
  480. package/dist/components/action-group.js +1 -1
  481. package/dist/components/action-menu.js +1 -1
  482. package/dist/components/action.js +1 -1
  483. package/dist/components/array.js +1 -1
  484. package/dist/components/button.js +1 -1
  485. package/dist/components/calcite-accordion-item.js +1 -1
  486. package/dist/components/calcite-accordion.js +1 -1
  487. package/dist/components/calcite-action-bar.js +1 -1
  488. package/dist/components/calcite-action-group.js +1 -1
  489. package/dist/components/calcite-action-menu.js +1 -1
  490. package/dist/components/calcite-action-pad.js +1 -1
  491. package/dist/components/calcite-action.js +1 -1
  492. package/dist/components/calcite-alert.js +1 -1
  493. package/dist/components/calcite-avatar.js +1 -1
  494. package/dist/components/calcite-block-section.js +1 -1
  495. package/dist/components/calcite-block.js +1 -1
  496. package/dist/components/calcite-button.js +1 -1
  497. package/dist/components/calcite-card.js +1 -1
  498. package/dist/components/calcite-checkbox.js +1 -1
  499. package/dist/components/calcite-chip.js +1 -1
  500. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  501. package/dist/components/calcite-color-picker-swatch.js +1 -1
  502. package/dist/components/calcite-color-picker.js +1 -1
  503. package/dist/components/calcite-combobox-item-group.js +1 -1
  504. package/dist/components/calcite-combobox-item.js +1 -1
  505. package/dist/components/calcite-combobox.js +4 -3
  506. package/dist/components/calcite-date-picker-day.js +1 -1
  507. package/dist/components/calcite-date-picker-month-header.js +1 -1
  508. package/dist/components/calcite-date-picker-month.js +1 -1
  509. package/dist/components/calcite-date-picker.js +1 -1
  510. package/dist/components/calcite-dropdown-group.js +1 -1
  511. package/dist/components/calcite-dropdown-item.js +1 -1
  512. package/dist/components/calcite-dropdown.js +1 -1
  513. package/dist/components/calcite-fab.js +1 -1
  514. package/dist/components/calcite-filter.js +1 -1
  515. package/dist/components/calcite-flow.js +1 -1
  516. package/dist/components/calcite-graph.js +1 -1
  517. package/dist/components/calcite-handle.js +1 -1
  518. package/dist/components/calcite-icon.js +1 -1
  519. package/dist/components/calcite-inline-editable.js +1 -1
  520. package/dist/components/calcite-input-date-picker.js +1 -1
  521. package/dist/components/calcite-input-message.js +1 -1
  522. package/dist/components/calcite-input-number.js +1 -1
  523. package/dist/components/calcite-input-text.js +1 -1
  524. package/dist/components/calcite-input-time-picker.js +1 -1
  525. package/dist/components/calcite-input.js +1 -1
  526. package/dist/components/calcite-label.js +1 -1
  527. package/dist/components/calcite-link.js +1 -1
  528. package/dist/components/calcite-list-item-group.js +1 -1
  529. package/dist/components/calcite-list-item.js +1 -1
  530. package/dist/components/calcite-list.js +1 -1
  531. package/dist/components/calcite-loader.js +1 -1
  532. package/dist/components/calcite-modal.js +13 -5
  533. package/dist/components/calcite-notice.js +16 -2
  534. package/dist/components/calcite-option-group.js +1 -1
  535. package/dist/components/calcite-option.js +1 -1
  536. package/dist/components/calcite-pagination.js +1 -1
  537. package/dist/components/calcite-panel.js +1 -1
  538. package/dist/components/calcite-pick-list-group.js +1 -1
  539. package/dist/components/calcite-pick-list-item.js +1 -1
  540. package/dist/components/calcite-pick-list.js +1 -1
  541. package/dist/components/calcite-popover-manager.js +1 -1
  542. package/dist/components/calcite-popover.js +1 -1
  543. package/dist/components/calcite-progress.js +1 -1
  544. package/dist/components/calcite-radio-button-group.js +1 -1
  545. package/dist/components/calcite-radio-button.js +1 -1
  546. package/dist/components/calcite-radio-group-item.js +1 -1
  547. package/dist/components/calcite-radio-group.js +1 -1
  548. package/dist/components/calcite-rating.js +1 -1
  549. package/dist/components/calcite-scrim.js +1 -1
  550. package/dist/components/calcite-select.js +1 -1
  551. package/dist/components/calcite-shell-center-row.js +1 -1
  552. package/dist/components/calcite-shell-panel.js +1 -1
  553. package/dist/components/calcite-shell.js +1 -1
  554. package/dist/components/calcite-slider.js +1 -1
  555. package/dist/components/calcite-sortable-list.js +1 -1
  556. package/dist/components/calcite-split-button.js +1 -1
  557. package/dist/components/calcite-stepper-item.js +1 -1
  558. package/dist/components/calcite-stepper.js +1 -1
  559. package/dist/components/calcite-switch.js +1 -1
  560. package/dist/components/calcite-tab-nav.js +1 -1
  561. package/dist/components/calcite-tab-title.js +1 -1
  562. package/dist/components/calcite-tab.js +1 -1
  563. package/dist/components/calcite-tabs.js +1 -1
  564. package/dist/components/calcite-tile-select-group.js +1 -1
  565. package/dist/components/calcite-tile-select.js +1 -1
  566. package/dist/components/calcite-tile.js +1 -1
  567. package/dist/components/calcite-time-picker.js +1 -1
  568. package/dist/components/calcite-tip-group.js +1 -1
  569. package/dist/components/calcite-tip-manager.js +1 -1
  570. package/dist/components/calcite-tip.js +1 -1
  571. package/dist/components/calcite-tooltip-manager.js +1 -1
  572. package/dist/components/calcite-tooltip.js +1 -1
  573. package/dist/components/calcite-tree-item.js +1 -1
  574. package/dist/components/calcite-tree.js +1 -1
  575. package/dist/components/calcite-value-list-item.js +1 -1
  576. package/dist/components/calcite-value-list.js +1 -1
  577. package/dist/components/checkbox.js +1 -1
  578. package/dist/components/chip.js +19 -3
  579. package/dist/components/color-picker-hex-input.js +1 -1
  580. package/dist/components/color-picker-swatch.js +1 -1
  581. package/dist/components/conditionalSlot.js +1 -1
  582. package/dist/components/date-picker-day.js +1 -1
  583. package/dist/components/date-picker-month-header.js +1 -1
  584. package/dist/components/date-picker-month.js +1 -1
  585. package/dist/components/date-picker.js +1 -1
  586. package/dist/components/date.js +1 -1
  587. package/dist/components/debounce.js +1 -1
  588. package/dist/components/dom.js +1 -1
  589. package/dist/components/dropdown.js +1 -1
  590. package/dist/components/filter.js +1 -1
  591. package/dist/components/filter2.js +1 -1
  592. package/dist/components/floating-ui.js +1 -1
  593. package/dist/components/form.js +1 -1
  594. package/dist/components/graph.js +1 -1
  595. package/dist/components/guid.js +1 -1
  596. package/dist/components/handle.js +1 -1
  597. package/dist/components/icon.js +1 -1
  598. package/dist/components/index.js +1 -1
  599. package/dist/components/input.js +1 -1
  600. package/dist/components/interactive.js +1 -1
  601. package/dist/components/interfaces.js +1 -1
  602. package/dist/components/interfaces2.js +1 -1
  603. package/dist/components/key.js +1 -1
  604. package/dist/components/label.js +1 -1
  605. package/dist/components/label2.js +1 -1
  606. package/dist/components/link.js +1 -1
  607. package/dist/components/loader.js +1 -1
  608. package/dist/components/locale.js +1 -1
  609. package/dist/components/math.js +1 -1
  610. package/dist/components/observers.js +1 -1
  611. package/dist/components/pick-list-item.js +1 -1
  612. package/dist/components/popover.js +19 -5
  613. package/dist/components/progress.js +1 -1
  614. package/dist/components/resources.js +1 -1
  615. package/dist/components/resources2.js +1 -1
  616. package/dist/components/resources3.js +1 -1
  617. package/dist/components/scrim.js +1 -1
  618. package/dist/components/shared-list-render.js +1 -1
  619. package/dist/components/sortable.esm.js +1 -1
  620. package/dist/components/switch.js +1 -1
  621. package/dist/components/tab-nav.js +1 -1
  622. package/dist/components/tab-title.js +1 -1
  623. package/dist/components/tab.js +1 -1
  624. package/dist/components/tabs.js +1 -1
  625. package/dist/components/tile.js +1 -1
  626. package/dist/components/time-picker.js +1 -1
  627. package/dist/components/utils.js +1 -1
  628. package/dist/components/utils2.js +1 -1
  629. package/dist/custom-elements/index.js +66 -13
  630. package/dist/esm/{ExpandToggle-261700fa.js → ExpandToggle-8adafc81.js} +5 -5
  631. package/dist/esm/{Heading-efa4556c.js → Heading-1bb100f0.js} +2 -2
  632. package/dist/esm/{array-a5a01182.js → array-f04517d4.js} +1 -1
  633. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  634. package/dist/esm/calcite-action-bar.entry.js +10 -10
  635. package/dist/esm/calcite-action-group.entry.js +8 -8
  636. package/dist/esm/calcite-action-menu.entry.js +8 -8
  637. package/dist/esm/calcite-action-pad.entry.js +9 -9
  638. package/dist/esm/calcite-action.entry.js +6 -6
  639. package/dist/esm/calcite-alert.entry.js +5 -5
  640. package/dist/esm/calcite-avatar.entry.js +5 -5
  641. package/dist/esm/calcite-block_2.entry.js +8 -8
  642. package/dist/esm/calcite-button.entry.js +8 -8
  643. package/dist/esm/calcite-card.entry.js +6 -6
  644. package/dist/esm/calcite-checkbox.entry.js +7 -7
  645. package/dist/esm/calcite-chip.entry.js +24 -8
  646. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  647. package/dist/esm/calcite-combobox_3.entry.js +15 -14
  648. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  649. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  650. package/dist/esm/calcite-fab.entry.js +5 -5
  651. package/dist/esm/calcite-filter.entry.js +7 -7
  652. package/dist/esm/calcite-flow.entry.js +3 -3
  653. package/dist/esm/calcite-graph_2.entry.js +9 -9
  654. package/dist/esm/calcite-handle.entry.js +4 -4
  655. package/dist/esm/calcite-icon.entry.js +5 -5
  656. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  657. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  658. package/dist/esm/calcite-input-message.entry.js +4 -4
  659. package/dist/esm/calcite-input-number.entry.js +11 -11
  660. package/dist/esm/calcite-input-text.entry.js +8 -8
  661. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  662. package/dist/esm/calcite-input.entry.js +11 -11
  663. package/dist/esm/calcite-label.entry.js +5 -5
  664. package/dist/esm/calcite-link.entry.js +5 -5
  665. package/dist/esm/calcite-list_3.entry.js +8 -8
  666. package/dist/esm/calcite-loader.entry.js +3 -3
  667. package/dist/esm/calcite-modal.entry.js +18 -10
  668. package/dist/esm/calcite-notice.entry.js +22 -8
  669. package/dist/esm/calcite-option_3.entry.js +8 -8
  670. package/dist/esm/calcite-pagination.entry.js +5 -5
  671. package/dist/esm/calcite-panel.entry.js +9 -9
  672. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  673. package/dist/esm/calcite-popover_2.entry.js +23 -9
  674. package/dist/esm/calcite-progress.entry.js +2 -2
  675. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  676. package/dist/esm/calcite-radio-button.entry.js +8 -8
  677. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  678. package/dist/esm/calcite-rating.entry.js +8 -8
  679. package/dist/esm/calcite-scrim.entry.js +2 -2
  680. package/dist/esm/calcite-shell_3.entry.js +7 -7
  681. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  682. package/dist/esm/calcite-split-button.entry.js +3 -3
  683. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  684. package/dist/esm/calcite-switch.entry.js +7 -7
  685. package/dist/esm/calcite-tab_4.entry.js +6 -6
  686. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  687. package/dist/esm/calcite-tile.entry.js +7 -7
  688. package/dist/esm/calcite-tip_3.entry.js +7 -7
  689. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  690. package/dist/esm/calcite-tree_2.entry.js +6 -6
  691. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  692. package/dist/esm/calcite.js +3 -3
  693. package/dist/esm/{conditionalSlot-669e0410.js → conditionalSlot-9265c020.js} +3 -3
  694. package/dist/esm/{debounce-6de0511c.js → debounce-78540dfe.js} +1 -1
  695. package/dist/esm/{dom-23885dd1.js → dom-601ed117.js} +2 -2
  696. package/dist/esm/{filter-c67483d8.js → filter-db2b8e46.js} +2 -2
  697. package/dist/esm/{floating-ui-9c812ea6.js → floating-ui-7da43d04.js} +2 -2
  698. package/dist/esm/{form-bd3527b0.js → form-c5d2e812.js} +3 -3
  699. package/dist/esm/{guid-da1507c2.js → guid-b1a20285.js} +1 -1
  700. package/dist/esm/{index-66416f62.js → index-4df0b5ae.js} +1 -1
  701. package/dist/esm/index.js +1 -1
  702. package/dist/esm/{interactive-44cac9af.js → interactive-d35faa43.js} +1 -1
  703. package/dist/esm/{interfaces-e5d85d5e.js → interfaces-7ce9e81f.js} +1 -1
  704. package/dist/esm/{key-e6236d7a.js → key-4bea50e2.js} +1 -1
  705. package/dist/esm/{label-237c930c.js → label-80bf2ab3.js} +2 -2
  706. package/dist/esm/loader.js +3 -3
  707. package/dist/esm/{locale-8ff71bfb.js → locale-15a35363.js} +2 -2
  708. package/dist/esm/{math-5ac97cd0.js → math-1b218643.js} +1 -1
  709. package/dist/esm/{observers-8d9b9c5f.js → observers-b252236c.js} +1 -1
  710. package/dist/esm/{resources-1e411380.js → resources-09adf178.js} +3 -3
  711. package/dist/esm/{resources-c818df7b.js → resources-65020a1d.js} +1 -1
  712. package/dist/esm/{resources-1f2c04d2.js → resources-94c645f9.js} +1 -1
  713. package/dist/esm/{resources-b1fb5bcc.js → resources-f227662c.js} +5 -5
  714. package/dist/esm/{sortable.esm-ed006e45.js → sortable.esm-fff90bd5.js} +1 -1
  715. package/dist/esm/{utils-9bcb0906.js → utils-3741d612.js} +1 -1
  716. package/dist/esm-es5/ExpandToggle-8adafc81.js +6 -0
  717. package/dist/esm-es5/{Heading-efa4556c.js → Heading-1bb100f0.js} +2 -2
  718. package/dist/esm-es5/{array-a5a01182.js → array-f04517d4.js} +1 -1
  719. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  720. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  721. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  722. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  723. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  724. package/dist/esm-es5/calcite-action.entry.js +2 -2
  725. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  726. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  727. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  728. package/dist/esm-es5/calcite-button.entry.js +2 -2
  729. package/dist/esm-es5/calcite-card.entry.js +2 -2
  730. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  731. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  732. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  733. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  734. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  735. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  736. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  737. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  738. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  739. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  740. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  741. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  742. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  743. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  744. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  745. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  746. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  747. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  748. package/dist/esm-es5/calcite-input.entry.js +2 -2
  749. package/dist/esm-es5/calcite-label.entry.js +2 -2
  750. package/dist/esm-es5/calcite-link.entry.js +2 -2
  751. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  752. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  753. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  754. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  755. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  756. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  757. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  758. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  759. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  761. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  762. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  763. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  764. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  765. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  766. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  767. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  768. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  769. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  771. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  772. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  773. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  774. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  775. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  777. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite.js +2 -2
  779. package/dist/esm-es5/{conditionalSlot-669e0410.js → conditionalSlot-9265c020.js} +2 -2
  780. package/dist/esm-es5/{debounce-6de0511c.js → debounce-78540dfe.js} +1 -1
  781. package/dist/esm-es5/{dom-23885dd1.js → dom-601ed117.js} +2 -2
  782. package/dist/esm-es5/{filter-c67483d8.js → filter-db2b8e46.js} +2 -2
  783. package/dist/esm-es5/{floating-ui-9c812ea6.js → floating-ui-7da43d04.js} +2 -2
  784. package/dist/esm-es5/{form-bd3527b0.js → form-c5d2e812.js} +2 -2
  785. package/dist/esm-es5/{guid-da1507c2.js → guid-b1a20285.js} +1 -1
  786. package/dist/esm-es5/{index-66416f62.js → index-4df0b5ae.js} +1 -1
  787. package/dist/esm-es5/index.js +1 -1
  788. package/dist/esm-es5/{interactive-44cac9af.js → interactive-d35faa43.js} +1 -1
  789. package/dist/esm-es5/{interfaces-e5d85d5e.js → interfaces-7ce9e81f.js} +1 -1
  790. package/dist/esm-es5/{key-e6236d7a.js → key-4bea50e2.js} +1 -1
  791. package/dist/esm-es5/{label-237c930c.js → label-80bf2ab3.js} +2 -2
  792. package/dist/esm-es5/loader.js +2 -2
  793. package/dist/esm-es5/{locale-8ff71bfb.js → locale-15a35363.js} +2 -2
  794. package/dist/esm-es5/{math-5ac97cd0.js → math-1b218643.js} +1 -1
  795. package/dist/esm-es5/{observers-8d9b9c5f.js → observers-b252236c.js} +1 -1
  796. package/dist/esm-es5/{resources-1e411380.js → resources-09adf178.js} +2 -2
  797. package/dist/esm-es5/{resources-c818df7b.js → resources-65020a1d.js} +1 -1
  798. package/dist/esm-es5/{resources-1f2c04d2.js → resources-94c645f9.js} +1 -1
  799. package/dist/esm-es5/{resources-b1fb5bcc.js → resources-f227662c.js} +2 -2
  800. package/dist/esm-es5/{sortable.esm-ed006e45.js → sortable.esm-fff90bd5.js} +1 -1
  801. package/dist/esm-es5/{utils-9bcb0906.js → utils-3741d612.js} +1 -1
  802. package/dist/extras/docs-json.json +4 -5
  803. package/dist/loader/cdn.js +1 -1
  804. package/dist/loader/index.cjs.js +1 -1
  805. package/dist/loader/index.es2017.js +1 -1
  806. package/dist/loader/index.js +1 -1
  807. package/dist/types/components/chip/chip.d.ts +2 -0
  808. package/dist/types/components/modal/modal.d.ts +1 -0
  809. package/dist/types/components/notice/notice.d.ts +2 -0
  810. package/dist/types/components/popover/popover.d.ts +2 -0
  811. package/hydrate/index.js +67 -14
  812. package/package.json +1 -1
  813. package/dist/calcite/p-059b6315.js +0 -6
  814. package/dist/calcite/p-1ab61780.entry.js +0 -6
  815. package/dist/calcite/p-2a2ed05c.system.js +0 -6
  816. package/dist/calcite/p-8bb47f2c.entry.js +0 -6
  817. package/dist/calcite/p-9e5fa3ce.entry.js +0 -6
  818. package/dist/calcite/p-bb1ffcd5.system.entry.js +0 -6
  819. package/dist/calcite/p-bfa9422b.system.entry.js +0 -6
  820. package/dist/calcite/p-c3be24b2.entry.js +0 -6
  821. package/dist/calcite/p-f0828b38.system.entry.js +0 -6
  822. package/dist/calcite/p-f864e8da.entry.js +0 -6
  823. package/dist/esm-es5/ExpandToggle-261700fa.js +0 -6
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.545
6
- */System.register(["./p-f381813f.system.js","./p-125968db.system.js","./p-783fcd16.system.js","./p-216924b5.system.js","./p-e2ff7289.system.js","./p-5cc19e1c.system.js","./p-ddc68710.system.js","./p-b2dcf840.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a;x=e.C},function(e){k=e.u},function(e){A=e.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var _=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}());_.style=R;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var M=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){var t=e.key;if(t===" "||t==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());M.style=C;var S="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(e){var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=S;var P=543;var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var Y=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e===null||e===void 0?void 0:e.preventDefault();e.stopPropagation();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());Y.style=H}}}));
5
+ * v1.0.0-next.548
6
+ */System.register(["./p-593c53cd.system.js","./p-7748796a.system.js","./p-ef0e2057.system.js","./p-41743900.system.js","./p-3cde8c7c.system.js","./p-9c092d87.system.js","./p-c7317eb9.system.js","./p-c01b7489.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a;x=e.C},function(e){k=e.u},function(e){A=e.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var _=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}());_.style=R;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var M=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){var t=e.key;if(t===" "||t==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());M.style=C;var S="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(e){var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=S;var P=543;var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var Y=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e===null||e===void 0?void 0:e.preventDefault();e.stopPropagation();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());Y.style=H}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.545
4
+ * v1.0.0-next.548
5
5
  */
6
- import{r as t,c as i,h as a,F as e,g as s}from"./p-cf15be2d.js";import{c as n}from"./p-5d4755cf.js";import{l as o}from"./p-0dd3325b.js";import"./p-af8e7771.js";const r=["lang"],l=new Map;let c;function h(t,i){const{el:a}=t,e={};i.filter((t=>!!r.includes(t)&&!!a.hasAttribute(t))).forEach((t=>{const i=a.getAttribute(t);null!==i&&(e[t]=i)})),t.globalAttributes=e}function m(t){t.forEach((({target:t})=>{const[i,a]=l.get(t);h(i,a.attributeFilter)}))}const p=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7),this.calcitePaginationChange=i(this,"calcitePaginationChange",7),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.globalAttributes={},this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}connectedCallback(){!function(t,i){const{el:a}=t,e={attributeFilter:i};l.set(a,[t,e]),h(t,i),c||(c=n("mutation",m)),c.observe(a,e)}(this,["lang"])}disconnectedCallback(){!function(t){l.delete(t.el),m(c.takeRecords()),c.disconnect();for(const[t,[,i]]of l.entries())c.observe(t,i)}(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=this.globalAttributes.lang||document.documentElement.lang||"en",e=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},o(e.toString(),i,!0))}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{p as calcite_pagination}
6
+ import{r as t,c as i,h as a,F as e,g as s}from"./p-977e967b.js";import{c as n}from"./p-2d3c5c2b.js";import{l as o}from"./p-dc32a539.js";import"./p-6ec71622.js";const r=["lang"],l=new Map;let c;function h(t,i){const{el:a}=t,e={};i.filter((t=>!!r.includes(t)&&!!a.hasAttribute(t))).forEach((t=>{const i=a.getAttribute(t);null!==i&&(e[t]=i)})),t.globalAttributes=e}function m(t){t.forEach((({target:t})=>{const[i,a]=l.get(t);h(i,a.attributeFilter)}))}const p=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7),this.calcitePaginationChange=i(this,"calcitePaginationChange",7),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.globalAttributes={},this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}connectedCallback(){!function(t,i){const{el:a}=t,e={attributeFilter:i};l.set(a,[t,e]),h(t,i),c||(c=n("mutation",m)),c.observe(a,e)}(this,["lang"])}disconnectedCallback(){!function(t){l.delete(t.el),m(c.takeRecords()),c.disconnect();for(const[t,[,i]]of l.entries())c.observe(t,i)}(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=this.globalAttributes.lang||document.documentElement.lang||"en",e=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},o(e.toString(),i,!0))}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{p as calcite_pagination}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.545
4
+ * v1.0.0-next.548
5
5
  */
6
6
  System.register([],(function(t){"use strict";return{execute:function(){t("g",e);function e(t,e){return(t+e)%e}}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,r,e,n){function o(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.545
6
- */System.register(["./p-b2dcf840.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.g}],execute:function(){t({a:f,b:c,c:y,d:s,e:a,f:p,g:A,h:T,i:m,j:S,n:l,q:h,s:k,t:q});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=t("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=t("T",{loading:"Loading"});function a(t){if(!t){return""}return t.id=t.id||"".concat(t.tagName.toLowerCase(),"-").concat(r())}function l(t){return Array.isArray(t)?t:Array.from(t)}function c(t){var r=y(t,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(r===null||r===void 0?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(t){var r="dir";var e="[".concat(r,"]");var n=y(t,e);return n?n.getAttribute(r):"ltr"}function s(t,r,e){var n="[".concat(r,"]");var o=t.closest(n);return o?o.getAttribute(r):e}function d(t){return t.getRootNode()}function v(t){return t.host||null}function h(t,r){var e=r.selector,n=r.id;function o(t){if(!t){return null}if(t.assignedSlot){t=t.assignedSlot}var r=d(t);var i=n?"getElementById"in r?r.getElementById(n):null:e?r.querySelector(e):null;var u=v(r);return i?i:u?o(u):null}return o(t)}function y(t,r){function e(t){return t?t.closest(r)||e(v(d(t))):null}return e(t)}function m(t){return typeof(t===null||t===void 0?void 0:t.setFocus)==="function"}function p(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!t){return[2]}return[2,m(t)?t.setFocus():t.focus()]}))}))}var g=":not([slot])";function A(t,r,e){if(r&&!Array.isArray(r)&&typeof r!=="string"){e=r;r=null}var n=r?Array.isArray(r)?r.map((function(t){return'[slot="'.concat(t,'"]')})).join(","):'[slot="'.concat(r,'"]'):g;if(e===null||e===void 0?void 0:e.all){return _(t,n,e)}return w(t,n,e)}function b(t,r){return t?Array.from(t.children||[]).filter((function(t){return t===null||t===void 0?void 0:t.matches(r)})):[]}function _(t,r,e){var n=r===g?b(t,g):Array.from(t.querySelectorAll(r));n=e&&e.direct===false?n:n.filter((function(r){return r.parentElement===t}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(t){return t===null||t===void 0?void 0:t.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(t){return Array.from(t.querySelectorAll(o))})).reduce((function(t,r){return __spreadArray(__spreadArray([],t,true),r,true)}),[]).filter((function(t){return!!t})):n}function w(t,r,e){var n=r===g?b(t,g)[0]||null:t.querySelector(r);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===t?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function S(t,r){return Array.from(t.children).filter((function(t){return t.matches(r)}))}function k(t,r,e){if(typeof r==="string"&&r!==""){return r}else if(r===""){return t[e]}}function T(t,r){return!(r.left>t.right||r.right<t.left||r.top>t.bottom||r.bottom<t.top)}function q(t){return Boolean(t).toString()}}}}));
5
+ * v1.0.0-next.548
6
+ */System.register(["./p-c01b7489.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.g}],execute:function(){t({a:f,b:c,c:y,d:s,e:a,f:p,g:A,h:T,i:m,j:S,n:l,q:h,s:k,t:q});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=t("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=t("T",{loading:"Loading"});function a(t){if(!t){return""}return t.id=t.id||"".concat(t.tagName.toLowerCase(),"-").concat(r())}function l(t){return Array.isArray(t)?t:Array.from(t)}function c(t){var r=y(t,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(r===null||r===void 0?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(t){var r="dir";var e="[".concat(r,"]");var n=y(t,e);return n?n.getAttribute(r):"ltr"}function s(t,r,e){var n="[".concat(r,"]");var o=t.closest(n);return o?o.getAttribute(r):e}function d(t){return t.getRootNode()}function v(t){return t.host||null}function h(t,r){var e=r.selector,n=r.id;function o(t){if(!t){return null}if(t.assignedSlot){t=t.assignedSlot}var r=d(t);var i=n?"getElementById"in r?r.getElementById(n):null:e?r.querySelector(e):null;var u=v(r);return i?i:u?o(u):null}return o(t)}function y(t,r){function e(t){return t?t.closest(r)||e(v(d(t))):null}return e(t)}function m(t){return typeof(t===null||t===void 0?void 0:t.setFocus)==="function"}function p(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!t){return[2]}return[2,m(t)?t.setFocus():t.focus()]}))}))}var g=":not([slot])";function A(t,r,e){if(r&&!Array.isArray(r)&&typeof r!=="string"){e=r;r=null}var n=r?Array.isArray(r)?r.map((function(t){return'[slot="'.concat(t,'"]')})).join(","):'[slot="'.concat(r,'"]'):g;if(e===null||e===void 0?void 0:e.all){return _(t,n,e)}return w(t,n,e)}function b(t,r){return t?Array.from(t.children||[]).filter((function(t){return t===null||t===void 0?void 0:t.matches(r)})):[]}function _(t,r,e){var n=r===g?b(t,g):Array.from(t.querySelectorAll(r));n=e&&e.direct===false?n:n.filter((function(r){return r.parentElement===t}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(t){return t===null||t===void 0?void 0:t.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(t){return Array.from(t.querySelectorAll(o))})).reduce((function(t,r){return __spreadArray(__spreadArray([],t,true),r,true)}),[]).filter((function(t){return!!t})):n}function w(t,r,e){var n=r===g?b(t,g)[0]||null:t.querySelector(r);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===t?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function S(t,r){return Array.from(t.children).filter((function(t){return t.matches(r)}))}function k(t,r,e){if(typeof r==="string"&&r!==""){return r}else if(r===""){return t[e]}}function T(t,r){return!(r.left>t.right||r.right<t.left||r.top>t.bottom||r.bottom<t.top)}function q(t){return Boolean(t).toString()}}}}));
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t)
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.545
6
- */System.register(["./p-783fcd16.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:kt,c:Et,f:Pt,p:Ot});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W;var C,j;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;C={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(C.element=T,C.boundary=d,C.rootBoundary=p,C.strategy=s,C)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(H=a).convertOffsetParentRelativeRectToViewportRelativeRect;j={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(H,[(j.offsetParent=M.sent(),j.strategy=s,j)])];case 8:S=M.sent();return[3,10];case 9:S=o[g];M.label=10;case 10:k=D.apply(void 0,[S]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W,C;var j,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;S=h(E,D,k);H=_==="start"?g[x]:g[A];W=H>0&&D!==S&&v.reference[w]<=v.floating[w];C=W?D<E?E-D:k-D:0;return[2,(j={},j[y]=m[y]-C,j.data=(M={},M[y]=S,M.centerOffset=D-S,M),j)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,S,H,W,C,j,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}H=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=H.apply(void 0,W.concat([B.sent()])),D=k.main,S=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}C=[O[n(E)],O[D],O[S]];j=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:C}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:j},reset:{placement:M}}]}F=j.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:j},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,S,H,W,C,j,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;C=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,C.concat([I.sent()])),S=D.main,H=D.cross;E.push(T[S],T[H]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((j=(M=a.flip)==null?void 0:M.index)!=null?j:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var S=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function H(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=H(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function j(t){if(t==null){return window}if(!C(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return j(t).getComputedStyle(t)}function F(t){return C(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof j(t).HTMLElement}function B(t){return t instanceof j(t).Element}function z(t){return t instanceof j(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=j(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?j(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||getComputedStyle(t).position==="fixed"){return null}return t.offsetParent}function at(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{e=e.parentNode}}return null}function ot(t){var e=j(t);var r=it(t);while(r&&Y(r)&&getComputedStyle(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&getComputedStyle(r).position==="static"&&!q(r))){return e}return r||at(t)||e}function lt(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function st(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ft(t,e){var r=j(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ut(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function ct(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return ct(e)}function dt(t,e){var r;if(e===void 0){e=[]}var n=ct(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=j(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(dt(o))}function vt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function pt(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function ht(t,e,r){if(e==="viewport"){return c(ft(t,r))}if(B(e)){return pt(e,r)}return c(ut(Z(t)))}function gt(t){var e=dt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?ot(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&vt(t,n)&&F(t)!=="body"}))}function mt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?gt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=ht(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),ht(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var yt={getClippingRect:mt,convertOffsetParentRelativeRectToViewportRelativeRect:st,isElement:B,getDimensions:lt,getOffsetParent:ot,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,ot(r),n),floating:__assign(__assign({},lt(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function _t(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?dt(t):[],true),dt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:yt},r))};var bt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var xt=t("d","bottom-start");var At=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Rt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[S({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Pt(t,e){var r=t.filter((function(t){return bt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(bt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Lt(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Ot(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Lt(r,a),middleware:Rt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Tt=new WeakMap;function Et(t,e,r){if(!r||!e){return}kt(t,e,r);Tt.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function kt(t,e,r){if(!r||!e){return}var n=Tt.get(t);if(n){n()}Tt.delete(t)}var Dt=4;var St=t("b",Math.ceil(Math.hypot(Dt,Dt)))}}}));
5
+ * v1.0.0-next.548
6
+ */System.register(["./p-ef0e2057.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:kt,c:Et,f:Pt,p:Ot});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W;var C,j;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;C={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(C.element=T,C.boundary=d,C.rootBoundary=p,C.strategy=s,C)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(H=a).convertOffsetParentRelativeRectToViewportRelativeRect;j={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(H,[(j.offsetParent=M.sent(),j.strategy=s,j)])];case 8:S=M.sent();return[3,10];case 9:S=o[g];M.label=10;case 10:k=D.apply(void 0,[S]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,S,H,W,C;var j,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;S=h(E,D,k);H=_==="start"?g[x]:g[A];W=H>0&&D!==S&&v.reference[w]<=v.floating[w];C=W?D<E?E-D:k-D:0;return[2,(j={},j[y]=m[y]-C,j.data=(M={},M[y]=S,M.centerOffset=D-S,M),j)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,S,H,W,C,j,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}H=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=H.apply(void 0,W.concat([B.sent()])),D=k.main,S=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}C=[O[n(E)],O[D],O[S]];j=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:C}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:j},reset:{placement:M}}]}F=j.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:j},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,S,H,W,C,j,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;C=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,C.concat([I.sent()])),S=D.main,H=D.cross;E.push(T[S],T[H]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((j=(M=a.flip)==null?void 0:M.index)!=null?j:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var S=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function H(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=H(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function C(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function j(t){if(t==null){return window}if(!C(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return j(t).getComputedStyle(t)}function F(t){return C(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof j(t).HTMLElement}function B(t){return t instanceof j(t).Element}function z(t){return t instanceof j(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=j(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?j(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||getComputedStyle(t).position==="fixed"){return null}return t.offsetParent}function at(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{e=e.parentNode}}return null}function ot(t){var e=j(t);var r=it(t);while(r&&Y(r)&&getComputedStyle(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&getComputedStyle(r).position==="static"&&!q(r))){return e}return r||at(t)||e}function lt(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function st(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ft(t,e){var r=j(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ut(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function ct(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return ct(e)}function dt(t,e){var r;if(e===void 0){e=[]}var n=ct(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=j(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(dt(o))}function vt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function pt(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function ht(t,e,r){if(e==="viewport"){return c(ft(t,r))}if(B(e)){return pt(e,r)}return c(ut(Z(t)))}function gt(t){var e=dt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?ot(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&vt(t,n)&&F(t)!=="body"}))}function mt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?gt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=ht(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),ht(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var yt={getClippingRect:mt,convertOffsetParentRelativeRectToViewportRelativeRect:st,isElement:B,getDimensions:lt,getOffsetParent:ot,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,ot(r),n),floating:__assign(__assign({},lt(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function _t(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?dt(t):[],true),dt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:yt},r))};var bt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var xt=t("d","bottom-start");var At=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Rt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[S({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Pt(t,e){var r=t.filter((function(t){return bt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(bt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Lt(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Ot(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Lt(r,a),middleware:Rt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Tt=new WeakMap;function Et(t,e,r){if(!r||!e){return}kt(t,e,r);Tt.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function kt(t,e,r){if(!r||!e){return}var n=Tt.get(t);if(n){n()}Tt.delete(t)}var Dt=4;var St=t("b",Math.ceil(Math.hypot(Dt,Dt)))}}}));