@esri/calcite-components 1.0.0-next.430 → 1.0.0-next.433

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 (816) hide show
  1. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  2. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  3. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  4. package/dist/calcite/calcite.esm.js +2 -2
  5. package/dist/calcite/calcite.js +1 -1
  6. package/dist/calcite/index.esm.js +1 -1
  7. package/dist/calcite/p-01b7eb5e.system.entry.js +6 -0
  8. package/dist/calcite/{p-85de34c5.js → p-01bbfb4c.js} +1 -1
  9. package/dist/calcite/p-035ff150.system.js +6 -0
  10. package/dist/calcite/{p-d553c216.entry.js → p-05062006.entry.js} +2 -2
  11. package/dist/calcite/{p-bcf6fd28.entry.js → p-059f597e.entry.js} +2 -2
  12. package/dist/calcite/{p-15798e80.entry.js → p-05f9b41a.entry.js} +2 -2
  13. package/dist/calcite/{p-917e456b.system.entry.js → p-0649840c.system.entry.js} +2 -2
  14. package/dist/calcite/{p-ed7198ab.js → p-069c8809.js} +2 -2
  15. package/dist/calcite/{p-800feffd.entry.js → p-08f8a77e.entry.js} +2 -2
  16. package/dist/calcite/{p-e0eec72e.entry.js → p-0a98da03.entry.js} +2 -2
  17. package/dist/calcite/{p-9fe7ea0e.system.entry.js → p-0dc2491e.system.entry.js} +2 -2
  18. package/dist/calcite/{p-4d479267.system.js → p-0eac8dbb.system.js} +2 -2
  19. package/dist/calcite/{p-e636c3e3.system.js → p-0fd45c6e.system.js} +2 -2
  20. package/dist/calcite/{p-785cf808.system.js → p-112c23aa.system.js} +1 -1
  21. package/dist/calcite/{p-b862e116.system.entry.js → p-11478f04.system.entry.js} +2 -2
  22. package/dist/calcite/{p-7595bbf7.entry.js → p-11e7424f.entry.js} +2 -2
  23. package/dist/calcite/{p-5386a92a.js → p-151a7c60.js} +1 -1
  24. package/dist/calcite/{p-17f2a129.system.entry.js → p-155409b8.system.entry.js} +2 -2
  25. package/dist/calcite/{p-09a850b4.js → p-17587bb6.js} +2 -2
  26. package/dist/calcite/{p-01bebbb2.system.entry.js → p-1902f934.system.entry.js} +2 -2
  27. package/dist/calcite/{p-a698cf98.entry.js → p-1b4df6f0.entry.js} +2 -2
  28. package/dist/calcite/p-1c5afb09.entry.js +6 -0
  29. package/dist/calcite/{p-2709d16f.entry.js → p-1cb82acb.entry.js} +2 -2
  30. package/dist/calcite/{p-7adbc11f.system.entry.js → p-1e4112fb.system.entry.js} +2 -2
  31. package/dist/calcite/{p-882b81da.system.entry.js → p-20a99e90.system.entry.js} +2 -2
  32. package/dist/calcite/p-21c4d43b.js +6 -0
  33. package/dist/calcite/{p-6c75a2c3.entry.js → p-22cd624d.entry.js} +2 -2
  34. package/dist/calcite/{p-40336c4d.system.entry.js → p-259556d9.system.entry.js} +2 -2
  35. package/dist/calcite/{p-3bf83335.system.js → p-282eac81.system.js} +1 -1
  36. package/dist/calcite/{p-5d4c8144.entry.js → p-29cea61e.entry.js} +2 -2
  37. package/dist/calcite/{p-a4f47b7f.entry.js → p-2e702453.entry.js} +2 -2
  38. package/dist/calcite/{p-8ed9c4a7.system.js → p-2f35a097.system.js} +2 -2
  39. package/dist/calcite/p-316f8a6b.entry.js +6 -0
  40. package/dist/calcite/{p-41daaa2b.system.entry.js → p-3478c9dd.system.entry.js} +2 -2
  41. package/dist/calcite/{p-67b40450.system.js → p-3933da4b.system.js} +2 -2
  42. package/dist/calcite/{p-a0357e60.entry.js → p-3cf4425a.entry.js} +2 -2
  43. package/dist/calcite/{p-0c4e2544.js → p-3d5c9257.js} +2 -2
  44. package/dist/calcite/{p-85730c80.js → p-3ddf4c77.js} +2 -2
  45. package/dist/calcite/{p-fa09eba2.entry.js → p-3f0d09c7.entry.js} +2 -2
  46. package/dist/calcite/{p-2dafa9fc.js → p-3fa6c45f.js} +2 -2
  47. package/dist/calcite/{p-25617995.system.entry.js → p-42c453de.system.entry.js} +3 -3
  48. package/dist/calcite/{p-f98b56e7.system.entry.js → p-43d21085.system.entry.js} +2 -2
  49. package/dist/calcite/{p-8cd0b1e2.entry.js → p-4566aaee.entry.js} +2 -2
  50. package/dist/calcite/{p-04698c9d.entry.js → p-493d9f4a.entry.js} +2 -2
  51. package/dist/calcite/{p-750c9bd3.system.js → p-4a0eb473.system.js} +1 -1
  52. package/dist/calcite/{p-725f4da2.entry.js → p-4b1ef0d8.entry.js} +2 -2
  53. package/dist/calcite/{p-2ca913a7.system.entry.js → p-4c8ef0fe.system.entry.js} +2 -2
  54. package/dist/calcite/{p-af5ea246.system.entry.js → p-4d257d37.system.entry.js} +2 -2
  55. package/dist/calcite/{p-342baff3.system.entry.js → p-4d8635c6.system.entry.js} +2 -2
  56. package/dist/calcite/{p-752accea.system.js → p-4fd6579c.system.js} +1 -1
  57. package/dist/calcite/{p-6765aa39.system.entry.js → p-4fe5e339.system.entry.js} +2 -2
  58. package/dist/calcite/{p-664b9990.system.entry.js → p-54f30bf4.system.entry.js} +2 -2
  59. package/dist/calcite/{p-b5e148e7.system.js → p-558a1c7e.system.js} +2 -2
  60. package/dist/calcite/{p-fcb85f5a.system.entry.js → p-577667a2.system.entry.js} +3 -3
  61. package/dist/calcite/{p-a465f73b.entry.js → p-5779c821.entry.js} +2 -2
  62. package/dist/calcite/{p-4dac11ef.entry.js → p-57d9f822.entry.js} +2 -2
  63. package/dist/calcite/{p-51316fa8.entry.js → p-594f193e.entry.js} +2 -2
  64. package/dist/calcite/{p-bc156702.system.entry.js → p-5954a2b8.system.entry.js} +3 -3
  65. package/dist/calcite/p-5a7ae658.js +6 -0
  66. package/dist/calcite/{p-10b4e7d1.entry.js → p-5ae470d3.entry.js} +2 -2
  67. package/dist/calcite/{p-f5c1e07b.system.entry.js → p-5b0d5d34.system.entry.js} +2 -2
  68. package/dist/calcite/{p-b4cad296.js → p-5b6f1664.js} +2 -2
  69. package/dist/calcite/{p-c5c42bed.entry.js → p-5f0a71dd.entry.js} +2 -2
  70. package/dist/calcite/{p-5b2fdd1c.system.entry.js → p-5ff951d0.system.entry.js} +2 -2
  71. package/dist/calcite/{p-9e76f637.system.entry.js → p-618d82d2.system.entry.js} +2 -2
  72. package/dist/calcite/{p-3887b97b.entry.js → p-62d55fb1.entry.js} +2 -2
  73. package/dist/calcite/{p-142256da.entry.js → p-62ff1e29.entry.js} +2 -2
  74. package/dist/calcite/{p-c1026be6.js → p-631440e9.js} +1 -1
  75. package/dist/calcite/{p-db4d969c.system.entry.js → p-66ab2bce.system.entry.js} +2 -2
  76. package/dist/calcite/p-67272a47.system.entry.js +6 -0
  77. package/dist/calcite/{p-e6f5955f.entry.js → p-678a595b.entry.js} +2 -2
  78. package/dist/calcite/{p-95c695bb.entry.js → p-6905de01.entry.js} +2 -2
  79. package/dist/calcite/{p-798e55f8.system.entry.js → p-6998e267.system.entry.js} +2 -2
  80. package/dist/calcite/{p-2ff28bce.entry.js → p-6be82d7b.entry.js} +2 -2
  81. package/dist/calcite/p-71ca1c98.js +12 -0
  82. package/dist/calcite/{p-6749afad.entry.js → p-7758ebf3.entry.js} +2 -2
  83. package/dist/calcite/{p-1ec9e015.js → p-797b3d07.js} +1 -1
  84. package/dist/calcite/{p-cebc3956.system.entry.js → p-7d1e0b48.system.entry.js} +2 -2
  85. package/dist/calcite/{p-156bdafd.system.entry.js → p-850e22a3.system.entry.js} +2 -2
  86. package/dist/calcite/{p-d289ce30.system.entry.js → p-85f26d64.system.entry.js} +2 -2
  87. package/dist/calcite/{p-f7e0392c.system.entry.js → p-86544aa9.system.entry.js} +2 -2
  88. package/dist/calcite/{p-fc0c1a3a.js → p-86f23774.js} +2 -2
  89. package/dist/calcite/{p-7d61ca43.system.js → p-87b77522.system.js} +2 -2
  90. package/dist/calcite/{p-fe9ff146.system.entry.js → p-88c8273a.system.entry.js} +2 -2
  91. package/dist/calcite/{p-18cd2c2d.entry.js → p-89ba3854.entry.js} +2 -2
  92. package/dist/calcite/{p-fc855363.system.entry.js → p-8a43f6cd.system.entry.js} +2 -2
  93. package/dist/calcite/{p-78ab1a24.entry.js → p-8aaea6d1.entry.js} +2 -2
  94. package/dist/calcite/{p-8790d1e8.js → p-8aedcadb.js} +1 -1
  95. package/dist/calcite/{p-fae87ad2.system.entry.js → p-8c4f203a.system.entry.js} +2 -2
  96. package/dist/calcite/{p-cc09d65e.js → p-8c7717f9.js} +1 -1
  97. package/dist/calcite/{p-9c552466.entry.js → p-8eed5be7.entry.js} +2 -2
  98. package/dist/calcite/{p-9eda8386.system.js → p-905c679d.system.js} +2 -2
  99. package/dist/calcite/{p-7b0daff6.entry.js → p-91d5971b.entry.js} +2 -2
  100. package/dist/calcite/{p-966854a2.system.js → p-9281ab30.system.js} +2 -2
  101. package/dist/calcite/{p-065931ea.system.entry.js → p-9283389e.system.entry.js} +2 -2
  102. package/dist/calcite/{p-96aa701c.system.entry.js → p-92b3c38d.system.entry.js} +2 -2
  103. package/dist/calcite/{p-405ccb43.system.entry.js → p-92de764a.system.entry.js} +2 -2
  104. package/dist/calcite/{p-9c59be56.system.entry.js → p-93291b6e.system.entry.js} +2 -2
  105. package/dist/calcite/{p-d01a99d9.system.entry.js → p-9397f2f1.system.entry.js} +2 -2
  106. package/dist/calcite/{p-05883e95.system.entry.js → p-97c2328e.system.entry.js} +2 -2
  107. package/dist/calcite/{p-75a03b97.system.entry.js → p-98f33876.system.entry.js} +2 -2
  108. package/dist/calcite/{p-b66d2160.system.entry.js → p-9b348af7.system.entry.js} +2 -2
  109. package/dist/calcite/{p-dd84754d.entry.js → p-9c77e4b2.entry.js} +2 -2
  110. package/dist/calcite/{p-f74a1d61.entry.js → p-9d8944d2.entry.js} +2 -2
  111. package/dist/calcite/{p-d277d602.entry.js → p-9e51e070.entry.js} +2 -2
  112. package/dist/calcite/{p-9764793b.system.js → p-9e7eb819.system.js} +1 -1
  113. package/dist/calcite/{p-c9f2fce5.entry.js → p-a1cf7794.entry.js} +2 -2
  114. package/dist/calcite/{p-c72ab186.js → p-a43a7692.js} +1 -1
  115. package/dist/calcite/{p-4b3b77a5.system.entry.js → p-a594426f.system.entry.js} +2 -2
  116. package/dist/calcite/{p-63d50893.entry.js → p-a6089008.entry.js} +2 -2
  117. package/dist/calcite/p-a635ba1c.entry.js +6 -0
  118. package/dist/calcite/{p-9b8cfbfb.system.entry.js → p-ab538dcc.system.entry.js} +2 -2
  119. package/dist/calcite/{p-82e4d02a.entry.js → p-ac3ad1a9.entry.js} +2 -2
  120. package/dist/calcite/{p-06ac73ba.system.entry.js → p-ac820fa8.system.entry.js} +2 -2
  121. package/dist/calcite/{p-a73d9415.system.entry.js → p-ae6c3acc.system.entry.js} +2 -2
  122. package/dist/calcite/{p-4344c8fb.entry.js → p-b092122c.entry.js} +2 -2
  123. package/dist/calcite/{p-49fd5e81.js → p-b2ba6edd.js} +1 -1
  124. package/dist/calcite/{p-779be7b0.system.js → p-b4971e07.system.js} +2 -2
  125. package/dist/calcite/{p-d8370311.system.entry.js → p-b5f02839.system.entry.js} +2 -2
  126. package/dist/calcite/p-b7ff0d7c.entry.js +6 -0
  127. package/dist/calcite/{p-4fc481ea.entry.js → p-bc059d4a.entry.js} +2 -2
  128. package/dist/calcite/{p-6cccdd61.system.entry.js → p-bd3d58e2.system.entry.js} +2 -2
  129. package/dist/calcite/{p-3d09adf2.system.js → p-bd55cfef.system.js} +1 -1
  130. package/dist/calcite/{p-a1fbcc2e.js → p-c1063d0f.js} +1 -1
  131. package/dist/calcite/{p-c5ae7ec3.system.js → p-c2929715.system.js} +1 -1
  132. package/dist/calcite/{p-96c9143b.entry.js → p-c2c60eed.entry.js} +2 -2
  133. package/dist/calcite/{p-8f2922ac.system.entry.js → p-c49cbffb.system.entry.js} +2 -2
  134. package/dist/calcite/{p-30b47a95.entry.js → p-c4f43b30.entry.js} +2 -2
  135. package/dist/calcite/{p-f8d57526.js → p-c5bb502e.js} +1 -1
  136. package/dist/calcite/{p-ccf412ea.js → p-c9423b9b.js} +2 -2
  137. package/dist/calcite/p-c9bca200.system.entry.js +6 -0
  138. package/dist/calcite/{p-6e6943bc.js → p-ccd248b5.js} +1 -1
  139. package/dist/calcite/{p-0c5dc519.system.entry.js → p-cdba62e8.system.entry.js} +2 -2
  140. package/dist/calcite/{p-7102f65d.system.entry.js → p-cf1f30b8.system.entry.js} +2 -2
  141. package/dist/calcite/{p-5e6d344a.system.js → p-d199a033.system.js} +1 -1
  142. package/dist/calcite/p-d1b3382a.system.js +12 -0
  143. package/dist/calcite/{p-0b10cd7e.system.js → p-d1d6d544.system.js} +1 -1
  144. package/dist/calcite/{p-62343a00.entry.js → p-d274a55f.entry.js} +2 -2
  145. package/dist/calcite/{p-85ef772b.entry.js → p-d282d7bd.entry.js} +2 -2
  146. package/dist/calcite/{p-fdc0aea2.system.entry.js → p-d2f5d81f.system.entry.js} +2 -2
  147. package/dist/calcite/{p-30b4aee2.system.js → p-d3d5bcdc.system.js} +2 -2
  148. package/dist/calcite/{p-e70e2e36.system.js → p-d7c7ea78.system.js} +1 -1
  149. package/dist/calcite/{p-7e107910.system.js → p-d8fbfb66.system.js} +1 -1
  150. package/dist/calcite/p-db72ee7c.system.entry.js +6 -0
  151. package/dist/calcite/{p-4c950302.system.js → p-dc4200a3.system.js} +1 -1
  152. package/dist/calcite/{p-04125541.js → p-de38f7ac.js} +2 -2
  153. package/dist/calcite/p-dec240ef.entry.js +6 -0
  154. package/dist/calcite/{p-9ef5686a.system.entry.js → p-df6161d0.system.entry.js} +2 -2
  155. package/dist/calcite/{p-b73fe065.system.entry.js → p-e0a7d2c0.system.entry.js} +2 -2
  156. package/dist/calcite/{p-37fa5da9.entry.js → p-e6170a35.entry.js} +2 -2
  157. package/dist/calcite/{p-e41b86bc.system.js → p-e95596bf.system.js} +1 -1
  158. package/dist/calcite/{p-55d4617f.entry.js → p-ea471416.entry.js} +2 -2
  159. package/dist/calcite/{p-634ae829.system.js → p-ec507a72.system.js} +2 -2
  160. package/dist/calcite/{p-4684178f.entry.js → p-ee698f40.entry.js} +2 -2
  161. package/dist/calcite/{p-760c20da.entry.js → p-f0265ed3.entry.js} +2 -2
  162. package/dist/calcite/p-f0847138.entry.js +6 -0
  163. package/dist/calcite/{p-ccca37d4.entry.js → p-f19a8def.entry.js} +2 -2
  164. package/dist/calcite/p-f1c746a1.system.entry.js +6 -0
  165. package/dist/calcite/{p-8c5880fe.entry.js → p-f1d4aebb.entry.js} +2 -2
  166. package/dist/calcite/{p-cc2f5cec.entry.js → p-f6c7bc15.entry.js} +2 -2
  167. package/dist/calcite/{p-3ca2743d.system.entry.js → p-f7792ef9.system.entry.js} +2 -2
  168. package/dist/calcite/{p-9204d083.system.entry.js → p-f98c4419.system.entry.js} +2 -2
  169. package/dist/calcite/{p-d9b11e91.js → p-f9d3b64f.js} +1 -1
  170. package/dist/calcite/p-ff7ffd80.entry.js +6 -0
  171. package/dist/cjs/{ExpandToggle-3a617397.js → ExpandToggle-88cee7c1.js} +5 -5
  172. package/dist/cjs/{Heading-a1739d76.js → Heading-e6c85184.js} +2 -2
  173. package/dist/cjs/{array-5f739953.js → array-4d1fe6c6.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  179. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -18
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -13
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  195. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +28 -17
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  207. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +22 -9
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +18 -12
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite.cjs.js +4 -4
  232. package/dist/cjs/{conditionalSlot-97d0e204.js → conditionalSlot-f9d23ca7.js} +3 -3
  233. package/dist/cjs/{debounce-1961458e.js → debounce-fb022e97.js} +1 -1
  234. package/dist/cjs/{dom-9112a2f5.js → dom-2e9e2c60.js} +2 -2
  235. package/dist/cjs/{forIn-ca382db1.js → forIn-a0a04677.js} +2 -2
  236. package/dist/cjs/{form-2fd689ca.js → form-b642e7f7.js} +3 -3
  237. package/dist/cjs/{guid-aa0068fa.js → guid-2d88d7e4.js} +1 -1
  238. package/dist/cjs/{index-af6ebf15.js → index-7c71facb.js} +1 -1
  239. package/dist/cjs/index.cjs.js +1 -1
  240. package/dist/cjs/{interactive-8d2c7945.js → interactive-c65c646a.js} +1 -1
  241. package/dist/cjs/{interfaces-025e1d7b.js → interfaces-c938d661.js} +1 -1
  242. package/dist/cjs/{label-ceda22ca.js → label-1fda9f85.js} +2 -2
  243. package/dist/cjs/loader.cjs.js +4 -4
  244. package/dist/cjs/{locale-d2e41124.js → locale-9b914ee7.js} +2 -2
  245. package/dist/cjs/{math-d1ea4c45.js → math-ac7e966c.js} +1 -1
  246. package/dist/cjs/{number-9733512e.js → number-dfdc570a.js} +1 -1
  247. package/dist/cjs/{observers-0321d521.js → observers-b29b5c02.js} +1 -1
  248. package/dist/cjs/{popper-982dc8df.js → popper-d091495d.js} +29 -4
  249. package/dist/cjs/{resources-a6d3078d.js → resources-03113597.js} +3 -3
  250. package/dist/cjs/{resources-c163ce43.js → resources-35cea258.js} +5 -5
  251. package/dist/cjs/{resources-0c6be915.js → resources-ac8de325.js} +1 -1
  252. package/dist/cjs/{resources-a1343e3b.js → resources-caa97243.js} +1 -1
  253. package/dist/cjs/{sortable.esm-b258b6c9.js → sortable.esm-0ca6b113.js} +63 -55
  254. package/dist/cjs/{utils-fda6b3d9.js → utils-80f88970.js} +1 -1
  255. package/dist/collection/collection-manifest.json +1 -1
  256. package/dist/collection/components/accordion/accordion.js +1 -1
  257. package/dist/collection/components/accordion/interfaces.js +1 -1
  258. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  259. package/dist/collection/components/action/action.js +1 -1
  260. package/dist/collection/components/action/resources.js +1 -1
  261. package/dist/collection/components/action-bar/action-bar.js +1 -1
  262. package/dist/collection/components/action-bar/resources.js +1 -1
  263. package/dist/collection/components/action-bar/utils.js +1 -1
  264. package/dist/collection/components/action-group/action-group.js +1 -1
  265. package/dist/collection/components/action-group/resources.js +1 -1
  266. package/dist/collection/components/action-menu/action-menu.js +1 -1
  267. package/dist/collection/components/action-menu/resources.js +1 -1
  268. package/dist/collection/components/action-pad/action-pad.js +1 -1
  269. package/dist/collection/components/action-pad/resources.js +1 -1
  270. package/dist/collection/components/alert/alert.js +1 -1
  271. package/dist/collection/components/alert/interfaces.js +1 -1
  272. package/dist/collection/components/alert/resources.js +1 -1
  273. package/dist/collection/components/avatar/avatar.js +1 -1
  274. package/dist/collection/components/avatar/utils.js +1 -1
  275. package/dist/collection/components/block/block.js +1 -1
  276. package/dist/collection/components/block/resources.js +1 -1
  277. package/dist/collection/components/block-section/block-section.js +1 -1
  278. package/dist/collection/components/block-section/interfaces.js +1 -1
  279. package/dist/collection/components/block-section/resources.js +1 -1
  280. package/dist/collection/components/button/button.js +1 -1
  281. package/dist/collection/components/button/interfaces.js +1 -1
  282. package/dist/collection/components/button/resources.js +1 -1
  283. package/dist/collection/components/card/card.js +1 -1
  284. package/dist/collection/components/card/resources.js +1 -1
  285. package/dist/collection/components/checkbox/checkbox.js +1 -1
  286. package/dist/collection/components/chip/chip.js +1 -1
  287. package/dist/collection/components/chip/interfaces.js +1 -1
  288. package/dist/collection/components/chip/resources.js +1 -1
  289. package/dist/collection/components/color-picker/color-picker.js +1 -1
  290. package/dist/collection/components/color-picker/interfaces.js +1 -1
  291. package/dist/collection/components/color-picker/resources.js +1 -1
  292. package/dist/collection/components/color-picker/utils.js +1 -1
  293. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  294. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  295. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  296. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  297. package/dist/collection/components/combobox/combobox.js +16 -8
  298. package/dist/collection/components/combobox/interfaces.js +1 -1
  299. package/dist/collection/components/combobox/resources.js +1 -1
  300. package/dist/collection/components/combobox/utils.js +1 -1
  301. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  302. package/dist/collection/components/combobox-item/resources.js +1 -1
  303. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  304. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  305. package/dist/collection/components/date-picker/date-picker.js +1 -1
  306. package/dist/collection/components/date-picker/interfaces.js +1 -1
  307. package/dist/collection/components/date-picker/resources.js +1 -1
  308. package/dist/collection/components/date-picker/utils.js +1 -1
  309. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  310. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  311. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  312. package/dist/collection/components/dropdown/dropdown.js +16 -8
  313. package/dist/collection/components/dropdown/interfaces.js +1 -1
  314. package/dist/collection/components/dropdown/resources.js +1 -1
  315. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  316. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  317. package/dist/collection/components/dropdown-group/resources.js +1 -1
  318. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  319. package/dist/collection/components/dropdown-item/resources.js +1 -1
  320. package/dist/collection/components/fab/fab.js +1 -1
  321. package/dist/collection/components/fab/resources.js +1 -1
  322. package/dist/collection/components/filter/filter.js +1 -1
  323. package/dist/collection/components/filter/resources.js +1 -1
  324. package/dist/collection/components/flow/flow.js +1 -1
  325. package/dist/collection/components/flow/interfaces.js +1 -1
  326. package/dist/collection/components/flow/resources.js +1 -1
  327. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  328. package/dist/collection/components/functional/Heading.js +1 -1
  329. package/dist/collection/components/graph/graph.js +1 -1
  330. package/dist/collection/components/graph/interfaces.js +1 -1
  331. package/dist/collection/components/graph/util.js +1 -1
  332. package/dist/collection/components/handle/handle.js +1 -1
  333. package/dist/collection/components/handle/resources.js +1 -1
  334. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  335. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  336. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  337. package/dist/collection/components/icon/icon.js +1 -1
  338. package/dist/collection/components/icon/resources.js +1 -1
  339. package/dist/collection/components/icon/utils.js +1 -1
  340. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  341. package/dist/collection/components/inline-editable/resources.js +1 -1
  342. package/dist/collection/components/input/input.js +1 -1
  343. package/dist/collection/components/input/interfaces.js +1 -1
  344. package/dist/collection/components/input/resources.js +1 -1
  345. package/dist/collection/components/input-date-picker/input-date-picker.js +21 -8
  346. package/dist/collection/components/input-message/input-message.js +1 -1
  347. package/dist/collection/components/input-message/interfaces.js +1 -1
  348. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  349. package/dist/collection/components/interfaces.js +1 -1
  350. package/dist/collection/components/label/label.js +1 -1
  351. package/dist/collection/components/label/resources.js +1 -1
  352. package/dist/collection/components/link/link.js +1 -1
  353. package/dist/collection/components/list/list.js +1 -1
  354. package/dist/collection/components/list/resources.js +1 -1
  355. package/dist/collection/components/list-item/list-item.js +1 -1
  356. package/dist/collection/components/list-item/resources.js +1 -1
  357. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  358. package/dist/collection/components/list-item-group/resources.js +1 -1
  359. package/dist/collection/components/loader/loader.js +1 -1
  360. package/dist/collection/components/modal/interfaces.js +1 -1
  361. package/dist/collection/components/modal/modal.js +1 -1
  362. package/dist/collection/components/modal/resources.js +1 -1
  363. package/dist/collection/components/notice/notice.js +1 -1
  364. package/dist/collection/components/notice/resources.js +1 -1
  365. package/dist/collection/components/option/option.js +1 -1
  366. package/dist/collection/components/option-group/option-group.js +1 -1
  367. package/dist/collection/components/pagination/pagination.js +1 -1
  368. package/dist/collection/components/pagination/resources.js +1 -1
  369. package/dist/collection/components/panel/panel.js +1 -1
  370. package/dist/collection/components/panel/resources.js +1 -1
  371. package/dist/collection/components/pick-list/pick-list.js +1 -1
  372. package/dist/collection/components/pick-list/resources.js +1 -1
  373. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  374. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  375. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  376. package/dist/collection/components/pick-list-group/resources.js +1 -1
  377. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  378. package/dist/collection/components/pick-list-item/resources.js +1 -1
  379. package/dist/collection/components/popover/popover.js +20 -5
  380. package/dist/collection/components/popover/resources.js +1 -1
  381. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  382. package/dist/collection/components/progress/progress.js +1 -1
  383. package/dist/collection/components/radio-button/radio-button.js +1 -1
  384. package/dist/collection/components/radio-button/resources.js +1 -1
  385. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  386. package/dist/collection/components/radio-group/interfaces.js +1 -1
  387. package/dist/collection/components/radio-group/radio-group.js +1 -1
  388. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  389. package/dist/collection/components/radio-group-item/resources.js +1 -1
  390. package/dist/collection/components/rating/rating.js +1 -1
  391. package/dist/collection/components/rating/resources.js +1 -1
  392. package/dist/collection/components/scrim/resources.js +1 -1
  393. package/dist/collection/components/scrim/scrim.js +1 -1
  394. package/dist/collection/components/select/resources.js +1 -1
  395. package/dist/collection/components/select/select.js +1 -1
  396. package/dist/collection/components/shell/resources.js +1 -1
  397. package/dist/collection/components/shell/shell.js +1 -1
  398. package/dist/collection/components/shell-center-row/resources.js +1 -1
  399. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  400. package/dist/collection/components/shell-panel/resources.js +1 -1
  401. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  402. package/dist/collection/components/slider/slider.js +1 -1
  403. package/dist/collection/components/sortable-list/resources.js +1 -1
  404. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  405. package/dist/collection/components/split-button/resources.js +1 -1
  406. package/dist/collection/components/split-button/split-button.js +1 -1
  407. package/dist/collection/components/stepper/stepper.js +1 -1
  408. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  409. package/dist/collection/components/switch/switch.js +1 -1
  410. package/dist/collection/components/tab/interfaces.js +1 -1
  411. package/dist/collection/components/tab/tab.js +1 -1
  412. package/dist/collection/components/tab-nav/tab-nav.js +14 -13
  413. package/dist/collection/components/tab-title/tab-title.js +1 -1
  414. package/dist/collection/components/tabs/interfaces.js +1 -1
  415. package/dist/collection/components/tabs/resources.js +1 -1
  416. package/dist/collection/components/tabs/tabs.js +1 -1
  417. package/dist/collection/components/tile/resources.js +1 -1
  418. package/dist/collection/components/tile/tile.css +2 -2
  419. package/dist/collection/components/tile/tile.js +1 -1
  420. package/dist/collection/components/tile-select/interfaces.js +1 -1
  421. package/dist/collection/components/tile-select/resources.js +1 -1
  422. package/dist/collection/components/tile-select/tile-select.js +1 -1
  423. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  424. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  425. package/dist/collection/components/time-picker/resources.js +1 -1
  426. package/dist/collection/components/time-picker/time-picker.js +1 -1
  427. package/dist/collection/components/tip/resources.js +1 -1
  428. package/dist/collection/components/tip/tip.js +1 -1
  429. package/dist/collection/components/tip-group/tip-group.js +1 -1
  430. package/dist/collection/components/tip-manager/resources.js +1 -1
  431. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  432. package/dist/collection/components/tooltip/resources.js +1 -1
  433. package/dist/collection/components/tooltip/tooltip.js +1 -1
  434. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  435. package/dist/collection/components/tree/interfaces.js +1 -1
  436. package/dist/collection/components/tree/tree.js +1 -1
  437. package/dist/collection/components/tree-item/interfaces.js +1 -1
  438. package/dist/collection/components/tree-item/resources.js +1 -1
  439. package/dist/collection/components/tree-item/tree-item.js +1 -1
  440. package/dist/collection/components/value-list/resources.js +1 -1
  441. package/dist/collection/components/value-list/value-list.js +1 -1
  442. package/dist/collection/components/value-list-item/resources.js +1 -1
  443. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  444. package/dist/collection/utils/array.js +1 -1
  445. package/dist/collection/utils/conditionalSlot.js +1 -1
  446. package/dist/collection/utils/date.js +1 -1
  447. package/dist/collection/utils/dom.js +1 -1
  448. package/dist/collection/utils/filter.js +1 -1
  449. package/dist/collection/utils/form.js +1 -1
  450. package/dist/collection/utils/globalAttributes.js +1 -1
  451. package/dist/collection/utils/guid.js +1 -1
  452. package/dist/collection/utils/interactive.js +1 -1
  453. package/dist/collection/utils/key.js +1 -1
  454. package/dist/collection/utils/label.js +1 -1
  455. package/dist/collection/utils/locale.js +1 -1
  456. package/dist/collection/utils/math.js +1 -1
  457. package/dist/collection/utils/number.js +1 -1
  458. package/dist/collection/utils/observers.js +1 -1
  459. package/dist/collection/utils/popper.js +17 -3
  460. package/dist/collection/utils/resources.js +1 -1
  461. package/dist/collection/utils/time.js +1 -1
  462. package/dist/components/ExpandToggle.js +1 -1
  463. package/dist/components/Heading.js +1 -1
  464. package/dist/components/action-group.js +1 -1
  465. package/dist/components/action-menu.js +1 -1
  466. package/dist/components/action.js +1 -1
  467. package/dist/components/array.js +1 -1
  468. package/dist/components/button.js +1 -1
  469. package/dist/components/calcite-accordion-item.js +1 -1
  470. package/dist/components/calcite-accordion.js +1 -1
  471. package/dist/components/calcite-action-bar.js +1 -1
  472. package/dist/components/calcite-action-group.js +1 -1
  473. package/dist/components/calcite-action-menu.js +1 -1
  474. package/dist/components/calcite-action-pad.js +1 -1
  475. package/dist/components/calcite-action.js +1 -1
  476. package/dist/components/calcite-alert.js +1 -1
  477. package/dist/components/calcite-avatar.js +1 -1
  478. package/dist/components/calcite-block-section.js +1 -1
  479. package/dist/components/calcite-block.js +1 -1
  480. package/dist/components/calcite-button.js +1 -1
  481. package/dist/components/calcite-card.js +1 -1
  482. package/dist/components/calcite-checkbox.js +1 -1
  483. package/dist/components/calcite-chip.js +1 -1
  484. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  485. package/dist/components/calcite-color-picker-swatch.js +1 -1
  486. package/dist/components/calcite-color-picker.js +1 -1
  487. package/dist/components/calcite-combobox-item-group.js +1 -1
  488. package/dist/components/calcite-combobox-item.js +1 -1
  489. package/dist/components/calcite-combobox.js +14 -8
  490. package/dist/components/calcite-date-picker-day.js +1 -1
  491. package/dist/components/calcite-date-picker-month-header.js +1 -1
  492. package/dist/components/calcite-date-picker-month.js +1 -1
  493. package/dist/components/calcite-date-picker.js +1 -1
  494. package/dist/components/calcite-dropdown-group.js +1 -1
  495. package/dist/components/calcite-dropdown-item.js +1 -1
  496. package/dist/components/calcite-dropdown.js +1 -1
  497. package/dist/components/calcite-fab.js +1 -1
  498. package/dist/components/calcite-filter.js +1 -1
  499. package/dist/components/calcite-flow.js +1 -1
  500. package/dist/components/calcite-graph.js +1 -1
  501. package/dist/components/calcite-handle.js +1 -1
  502. package/dist/components/calcite-icon.js +1 -1
  503. package/dist/components/calcite-inline-editable.js +1 -1
  504. package/dist/components/calcite-input-date-picker.js +19 -8
  505. package/dist/components/calcite-input-message.js +1 -1
  506. package/dist/components/calcite-input-time-picker.js +1 -1
  507. package/dist/components/calcite-input.js +1 -1
  508. package/dist/components/calcite-label.js +1 -1
  509. package/dist/components/calcite-link.js +1 -1
  510. package/dist/components/calcite-list-item-group.js +1 -1
  511. package/dist/components/calcite-list-item.js +1 -1
  512. package/dist/components/calcite-list.js +1 -1
  513. package/dist/components/calcite-loader.js +1 -1
  514. package/dist/components/calcite-modal.js +1 -1
  515. package/dist/components/calcite-notice.js +1 -1
  516. package/dist/components/calcite-option-group.js +1 -1
  517. package/dist/components/calcite-option.js +1 -1
  518. package/dist/components/calcite-pagination.js +1 -1
  519. package/dist/components/calcite-panel.js +1 -1
  520. package/dist/components/calcite-pick-list-group.js +1 -1
  521. package/dist/components/calcite-pick-list-item.js +1 -1
  522. package/dist/components/calcite-pick-list.js +1 -1
  523. package/dist/components/calcite-popover-manager.js +1 -1
  524. package/dist/components/calcite-popover.js +1 -1
  525. package/dist/components/calcite-progress.js +1 -1
  526. package/dist/components/calcite-radio-button-group.js +1 -1
  527. package/dist/components/calcite-radio-button.js +1 -1
  528. package/dist/components/calcite-radio-group-item.js +1 -1
  529. package/dist/components/calcite-radio-group.js +1 -1
  530. package/dist/components/calcite-rating.js +1 -1
  531. package/dist/components/calcite-scrim.js +1 -1
  532. package/dist/components/calcite-select.js +1 -1
  533. package/dist/components/calcite-shell-center-row.js +1 -1
  534. package/dist/components/calcite-shell-panel.js +1 -1
  535. package/dist/components/calcite-shell.js +1 -1
  536. package/dist/components/calcite-slider.js +1 -1
  537. package/dist/components/calcite-sortable-list.js +1 -1
  538. package/dist/components/calcite-split-button.js +1 -1
  539. package/dist/components/calcite-stepper-item.js +1 -1
  540. package/dist/components/calcite-stepper.js +1 -1
  541. package/dist/components/calcite-switch.js +1 -1
  542. package/dist/components/calcite-tab-nav.js +1 -1
  543. package/dist/components/calcite-tab-title.js +1 -1
  544. package/dist/components/calcite-tab.js +1 -1
  545. package/dist/components/calcite-tabs.js +1 -1
  546. package/dist/components/calcite-tile-select-group.js +1 -1
  547. package/dist/components/calcite-tile-select.js +1 -1
  548. package/dist/components/calcite-tile.js +1 -1
  549. package/dist/components/calcite-time-picker.js +1 -1
  550. package/dist/components/calcite-tip-group.js +1 -1
  551. package/dist/components/calcite-tip-manager.js +1 -1
  552. package/dist/components/calcite-tip.js +1 -1
  553. package/dist/components/calcite-tooltip-manager.js +1 -1
  554. package/dist/components/calcite-tooltip.js +1 -1
  555. package/dist/components/calcite-tree-item.js +1 -1
  556. package/dist/components/calcite-tree.js +1 -1
  557. package/dist/components/calcite-value-list-item.js +1 -1
  558. package/dist/components/calcite-value-list.js +1 -1
  559. package/dist/components/checkbox.js +1 -1
  560. package/dist/components/chip.js +1 -1
  561. package/dist/components/color-picker-hex-input.js +1 -1
  562. package/dist/components/color-picker-swatch.js +1 -1
  563. package/dist/components/conditionalSlot.js +1 -1
  564. package/dist/components/date-picker-day.js +1 -1
  565. package/dist/components/date-picker-month-header.js +1 -1
  566. package/dist/components/date-picker-month.js +1 -1
  567. package/dist/components/date-picker.js +1 -1
  568. package/dist/components/date.js +1 -1
  569. package/dist/components/debounce.js +1 -1
  570. package/dist/components/dom.js +1 -1
  571. package/dist/components/dropdown.js +14 -8
  572. package/dist/components/filter.js +1 -1
  573. package/dist/components/forIn.js +1 -1
  574. package/dist/components/form.js +1 -1
  575. package/dist/components/graph.js +1 -1
  576. package/dist/components/guid.js +1 -1
  577. package/dist/components/handle.js +1 -1
  578. package/dist/components/icon.js +1 -1
  579. package/dist/components/index.d.ts +1 -1
  580. package/dist/components/index.js +1 -1
  581. package/dist/components/input.js +1 -1
  582. package/dist/components/interactive.js +1 -1
  583. package/dist/components/interfaces.js +1 -1
  584. package/dist/components/interfaces2.js +1 -1
  585. package/dist/components/label.js +1 -1
  586. package/dist/components/label2.js +1 -1
  587. package/dist/components/link.js +1 -1
  588. package/dist/components/loader.js +1 -1
  589. package/dist/components/locale.js +1 -1
  590. package/dist/components/math.js +1 -1
  591. package/dist/components/number.js +1 -1
  592. package/dist/components/observers.js +1 -1
  593. package/dist/components/pick-list-item.js +1 -1
  594. package/dist/components/popover.js +18 -5
  595. package/dist/components/popper.js +27 -3
  596. package/dist/components/progress.js +1 -1
  597. package/dist/components/resources.js +1 -1
  598. package/dist/components/resources2.js +1 -1
  599. package/dist/components/resources3.js +1 -1
  600. package/dist/components/resources4.js +1 -1
  601. package/dist/components/resources5.js +1 -1
  602. package/dist/components/scrim.js +1 -1
  603. package/dist/components/shared-list-render.js +1 -1
  604. package/dist/components/sortable.esm.js +63 -55
  605. package/dist/components/switch.js +1 -1
  606. package/dist/components/tab-nav.js +15 -8
  607. package/dist/components/tab-title.js +1 -1
  608. package/dist/components/tab.js +1 -1
  609. package/dist/components/tabs.js +1 -1
  610. package/dist/components/tile.js +2 -2
  611. package/dist/components/time-picker.js +1 -1
  612. package/dist/components/tooltip-manager.js +1 -1
  613. package/dist/components/utils.js +1 -1
  614. package/dist/components/utils2.js +1 -1
  615. package/dist/custom-elements/index.js +159 -85
  616. package/dist/esm/{ExpandToggle-b9e6cc02.js → ExpandToggle-215b4bd6.js} +5 -5
  617. package/dist/esm/{Heading-bf0dcdce.js → Heading-2e7dc753.js} +2 -2
  618. package/dist/esm/{array-8fbc62cc.js → array-a5dff964.js} +1 -1
  619. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  620. package/dist/esm/calcite-action-bar.entry.js +10 -10
  621. package/dist/esm/calcite-action-group.entry.js +8 -8
  622. package/dist/esm/calcite-action-menu.entry.js +8 -8
  623. package/dist/esm/calcite-action-pad.entry.js +9 -9
  624. package/dist/esm/calcite-action.entry.js +4 -4
  625. package/dist/esm/calcite-alert.entry.js +5 -5
  626. package/dist/esm/calcite-avatar.entry.js +5 -5
  627. package/dist/esm/calcite-block_2.entry.js +8 -8
  628. package/dist/esm/calcite-button.entry.js +7 -7
  629. package/dist/esm/calcite-card.entry.js +6 -6
  630. package/dist/esm/calcite-checkbox.entry.js +7 -7
  631. package/dist/esm/calcite-chip.entry.js +6 -6
  632. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  633. package/dist/esm/calcite-combobox_3.entry.js +24 -18
  634. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  635. package/dist/esm/calcite-dropdown_3.entry.js +19 -13
  636. package/dist/esm/calcite-fab.entry.js +5 -5
  637. package/dist/esm/calcite-filter.entry.js +7 -7
  638. package/dist/esm/calcite-flow.entry.js +3 -3
  639. package/dist/esm/calcite-graph_2.entry.js +9 -9
  640. package/dist/esm/calcite-handle.entry.js +2 -2
  641. package/dist/esm/calcite-icon.entry.js +5 -5
  642. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  643. package/dist/esm/calcite-input-date-picker.entry.js +28 -17
  644. package/dist/esm/calcite-input-message.entry.js +4 -4
  645. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  646. package/dist/esm/calcite-input.entry.js +11 -11
  647. package/dist/esm/calcite-label.entry.js +5 -5
  648. package/dist/esm/calcite-link.entry.js +5 -5
  649. package/dist/esm/calcite-list_3.entry.js +8 -8
  650. package/dist/esm/calcite-loader.entry.js +3 -3
  651. package/dist/esm/calcite-modal.entry.js +6 -6
  652. package/dist/esm/calcite-notice.entry.js +7 -7
  653. package/dist/esm/calcite-option_3.entry.js +8 -8
  654. package/dist/esm/calcite-pagination.entry.js +2 -2
  655. package/dist/esm/calcite-panel.entry.js +9 -9
  656. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  657. package/dist/esm/calcite-popover_2.entry.js +22 -9
  658. package/dist/esm/calcite-progress.entry.js +2 -2
  659. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  660. package/dist/esm/calcite-radio-button.entry.js +8 -8
  661. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  662. package/dist/esm/calcite-rating.entry.js +7 -7
  663. package/dist/esm/calcite-scrim.entry.js +2 -2
  664. package/dist/esm/calcite-shell_3.entry.js +7 -7
  665. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  666. package/dist/esm/calcite-split-button.entry.js +3 -3
  667. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  668. package/dist/esm/calcite-switch.entry.js +7 -7
  669. package/dist/esm/calcite-tab_4.entry.js +18 -12
  670. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  671. package/dist/esm/calcite-tile.entry.js +8 -8
  672. package/dist/esm/calcite-tip_3.entry.js +7 -7
  673. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  674. package/dist/esm/calcite-tree_2.entry.js +6 -6
  675. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  676. package/dist/esm/calcite.js +4 -4
  677. package/dist/esm/{conditionalSlot-ee8dc764.js → conditionalSlot-7475f53a.js} +3 -3
  678. package/dist/esm/{debounce-71013d9b.js → debounce-926b1272.js} +1 -1
  679. package/dist/esm/{dom-6c1262a4.js → dom-eedae61e.js} +2 -2
  680. package/dist/esm/{forIn-5a2ff386.js → forIn-9237f6b1.js} +2 -2
  681. package/dist/esm/{form-59cb94ac.js → form-dfb478c2.js} +3 -3
  682. package/dist/esm/{guid-2a264f44.js → guid-41edc50f.js} +1 -1
  683. package/dist/esm/{index-a852cbc0.js → index-f6adec6b.js} +1 -1
  684. package/dist/esm/index.js +1 -1
  685. package/dist/esm/{interactive-843bf339.js → interactive-6bc848df.js} +1 -1
  686. package/dist/esm/{interfaces-4cadda8d.js → interfaces-5c343e6c.js} +1 -1
  687. package/dist/esm/{label-7979a13c.js → label-ec804122.js} +2 -2
  688. package/dist/esm/loader.js +4 -4
  689. package/dist/esm/{locale-81630499.js → locale-09d65cb0.js} +2 -2
  690. package/dist/esm/{math-34ad511e.js → math-5b0f16a1.js} +1 -1
  691. package/dist/esm/{number-0ae296d8.js → number-3e57731c.js} +1 -1
  692. package/dist/esm/{observers-3058d983.js → observers-f78a3ebd.js} +1 -1
  693. package/dist/esm/{popper-3e5bba76.js → popper-8f18b866.js} +28 -4
  694. package/dist/esm/{resources-e0e65ec9.js → resources-3b0fb6bf.js} +1 -1
  695. package/dist/esm/{resources-7f8187d7.js → resources-6af25654.js} +1 -1
  696. package/dist/esm/{resources-9c0fd61b.js → resources-b2450939.js} +3 -3
  697. package/dist/esm/{resources-1d6a7ad9.js → resources-c17058ed.js} +5 -5
  698. package/dist/esm/{sortable.esm-ec78c8ec.js → sortable.esm-154ce266.js} +63 -55
  699. package/dist/esm/{utils-fdcecfa8.js → utils-33898127.js} +1 -1
  700. package/dist/esm-es5/{ExpandToggle-b9e6cc02.js → ExpandToggle-215b4bd6.js} +2 -2
  701. package/dist/esm-es5/{Heading-bf0dcdce.js → Heading-2e7dc753.js} +2 -2
  702. package/dist/esm-es5/{array-8fbc62cc.js → array-a5dff964.js} +1 -1
  703. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  704. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  705. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  706. package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
  707. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  708. package/dist/esm-es5/calcite-action.entry.js +2 -2
  709. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  710. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  711. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  712. package/dist/esm-es5/calcite-button.entry.js +2 -2
  713. package/dist/esm-es5/calcite-card.entry.js +2 -2
  714. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  715. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  716. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  717. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  718. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  719. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  720. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  721. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  722. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  723. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  724. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  725. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  726. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  727. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  728. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  729. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  730. package/dist/esm-es5/calcite-input.entry.js +2 -2
  731. package/dist/esm-es5/calcite-label.entry.js +2 -2
  732. package/dist/esm-es5/calcite-link.entry.js +3 -3
  733. package/dist/esm-es5/calcite-list_3.entry.js +3 -3
  734. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  735. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  736. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  737. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  738. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  739. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  740. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  741. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  742. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  743. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  744. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  745. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  747. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  748. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  750. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  751. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  753. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  754. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  756. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  757. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  759. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite.js +2 -2
  761. package/dist/esm-es5/{conditionalSlot-ee8dc764.js → conditionalSlot-7475f53a.js} +2 -2
  762. package/dist/esm-es5/{debounce-71013d9b.js → debounce-926b1272.js} +1 -1
  763. package/dist/esm-es5/{dom-6c1262a4.js → dom-eedae61e.js} +2 -2
  764. package/dist/esm-es5/{forIn-5a2ff386.js → forIn-9237f6b1.js} +2 -2
  765. package/dist/esm-es5/{form-59cb94ac.js → form-dfb478c2.js} +2 -2
  766. package/dist/esm-es5/{guid-2a264f44.js → guid-41edc50f.js} +1 -1
  767. package/dist/esm-es5/{index-a852cbc0.js → index-f6adec6b.js} +1 -1
  768. package/dist/esm-es5/index.js +1 -1
  769. package/dist/esm-es5/{interactive-843bf339.js → interactive-6bc848df.js} +1 -1
  770. package/dist/esm-es5/{interfaces-4cadda8d.js → interfaces-5c343e6c.js} +1 -1
  771. package/dist/esm-es5/{label-7979a13c.js → label-ec804122.js} +2 -2
  772. package/dist/esm-es5/loader.js +2 -2
  773. package/dist/esm-es5/{locale-81630499.js → locale-09d65cb0.js} +2 -2
  774. package/dist/esm-es5/{math-34ad511e.js → math-5b0f16a1.js} +1 -1
  775. package/dist/esm-es5/{number-0ae296d8.js → number-3e57731c.js} +1 -1
  776. package/dist/esm-es5/{observers-3058d983.js → observers-f78a3ebd.js} +1 -1
  777. package/dist/esm-es5/{popper-3e5bba76.js → popper-8f18b866.js} +2 -2
  778. package/dist/esm-es5/{resources-e0e65ec9.js → resources-3b0fb6bf.js} +1 -1
  779. package/dist/esm-es5/{resources-7f8187d7.js → resources-6af25654.js} +1 -1
  780. package/dist/esm-es5/{resources-9c0fd61b.js → resources-b2450939.js} +2 -2
  781. package/dist/esm-es5/{resources-1d6a7ad9.js → resources-c17058ed.js} +2 -2
  782. package/dist/esm-es5/sortable.esm-154ce266.js +12 -0
  783. package/dist/esm-es5/{utils-fdcecfa8.js → utils-33898127.js} +1 -1
  784. package/dist/extras/docs-json.json +2 -8
  785. package/dist/loader/cdn.js +1 -1
  786. package/dist/loader/index.cjs.js +1 -1
  787. package/dist/loader/index.es2017.js +1 -1
  788. package/dist/loader/index.js +1 -1
  789. package/dist/types/components/combobox/combobox.d.ts +3 -0
  790. package/dist/types/components/dropdown/dropdown.d.ts +3 -0
  791. package/dist/types/components/input-date-picker/input-date-picker.d.ts +3 -0
  792. package/dist/types/components/popover/popover.d.ts +4 -0
  793. package/dist/types/components/tab-nav/tab-nav.d.ts +2 -1
  794. package/dist/types/utils/popper.d.ts +3 -2
  795. package/hydrate/index.d.ts +1 -1
  796. package/hydrate/index.js +155 -86
  797. package/package.json +23 -23
  798. package/readme.md +0 -1
  799. package/dist/calcite/p-094e0790.js +0 -6
  800. package/dist/calcite/p-114c97c7.entry.js +0 -6
  801. package/dist/calcite/p-25e8b91d.entry.js +0 -6
  802. package/dist/calcite/p-34f2e7c2.system.js +0 -12
  803. package/dist/calcite/p-37095a3f.js +0 -12
  804. package/dist/calcite/p-45a2d2f2.system.entry.js +0 -6
  805. package/dist/calcite/p-4f11f04b.entry.js +0 -6
  806. package/dist/calcite/p-58fe7402.entry.js +0 -6
  807. package/dist/calcite/p-74cfecc6.system.entry.js +0 -6
  808. package/dist/calcite/p-9e28b051.system.entry.js +0 -6
  809. package/dist/calcite/p-9e4486da.system.entry.js +0 -6
  810. package/dist/calcite/p-a7ee1acd.entry.js +0 -6
  811. package/dist/calcite/p-ae5080e3.system.js +0 -6
  812. package/dist/calcite/p-af193655.entry.js +0 -6
  813. package/dist/calcite/p-b2c8896f.js +0 -6
  814. package/dist/calcite/p-d145279d.system.entry.js +0 -6
  815. package/dist/calcite/p-f89c8b5e.entry.js +0 -6
  816. package/dist/esm-es5/sortable.esm-ec78c8ec.js +0 -12
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.429
6
- */System.register(["./p-9764793b.system.js","./p-634ae829.system.js","./p-ae5080e3.system.js","./p-785cf808.system.js","./p-0b10cd7e.system.js","./p-4c950302.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c,l,p,d,m,f,u,h;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){r=t.g;s=t.f;c=t.d},function(t){l=t.d;p=t.C;d=t.u;m=t.c;f=t.p},function(t){u=t.c},function(t){h=t.u},function(){}],execute:function(){var w={dropdownTrigger:"dropdown-trigger"};var b="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var v=t("calcite_dropdown",function(){function t(t){var n=this;e(this,t);this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7);this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7);this.calciteDropdownClose=i(this,"calciteDropdownClose",7);this.active=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=l;this.scale="m";this.selectedItems=[];this.type="click";this.width="m";this.items=[];this.activeTransitionProp="visibility";this.mutationObserver=u("mutation",(function(){return n.updateItems()}));this.resizeObserver=u("resize",(function(){return n.setMaxScrollerHeight()}));this.updateItems=function(){n.updateSelectedItems();n.triggers=r(n.el,"dropdown-trigger",{all:true});n.items=Array.from(n.el.querySelectorAll("calcite-dropdown-item"));n.reposition()};this.setMaxScrollerHeight=function(){var t=n,e=t.active,i=t.scrollerEl;if(!i||!e){return}n.reposition();var a=n.getMaxScrollerHeight();i.style.maxHeight=a>0?"".concat(a,"px"):"";n.reposition()};this.setScrollerEl=function(t){n.resizeObserver.observe(t);n.scrollerEl=t};this.transitionEnd=function(t){if(t.propertyName===n.activeTransitionProp){n.active?n.calciteDropdownOpen.emit():n.calciteDropdownClose.emit()}};this.setReferenceEl=function(t){n.referenceEl=t};this.setMenuEl=function(t){n.menuEl=t};this.keyDownHandler=function(t){var e=t.target;if(e!==n.referenceEl){return}var i=t.key;if(n.active&&(i==="Escape"||t.shiftKey&&i==="Tab")){n.closeCalciteDropdown();return}switch(i){case" ":case"Enter":n.openCalciteDropdown();break;case"Escape":n.closeCalciteDropdown();break}};this.focusOnFirstActiveOrFirstItem=function(){n.getFocusableElement(n.items.find((function(t){return t.active}))||n.items[0])};this.toggleOpenEnd=function(){n.focusOnFirstActiveOrFirstItem();n.el.removeEventListener("calciteDropdownOpen",n.toggleOpenEnd)};this.openCalciteDropdown=function(){n.active=!n.active;if(n.active){n.el.addEventListener("calciteDropdownOpen",n.toggleOpenEnd)}}}t.prototype.activeHandler=function(){if(!this.disabled){this.reposition();return}this.active=false};t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.createPopper();this.updateItems()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.componentDidRender=function(){h(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.destroyPopper()};t.prototype.render=function(){var t;var e=this.active;return n(a,null,n("div",{class:"calcite-dropdown-trigger-container",onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},n("slot",{"aria-expanded":e.toString(),"aria-haspopup":"true",name:w.dropdownTrigger})),n("div",{"aria-hidden":(!e).toString(),class:"calcite-dropdown-wrapper",ref:this.setMenuEl},n("div",{class:(t={},t["calcite-dropdown-content"]=true,t[p.animation]=true,t[p.animationActive]=e,t),onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},n("div",{hidden:!this.active},n("slot",null)))))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a,o;return __generator(this,(function(r){switch(r.label){case 0:t=this,e=t.popper,i=t.menuEl,n=t.placement;a=this.getModifiers();if(!e)return[3,2];return[4,d({el:i,modifiers:a,placement:n,popper:e})];case 1:o=r.sent();return[3,3];case 2:o=this.createPopper();r.label=3;case 3:o;return[2]}}))}))};t.prototype.closeCalciteDropdownOnClick=function(t){if(!this.active||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};t.prototype.closeCalciteDropdownOnEvent=function(){this.closeCalciteDropdown()};t.prototype.closeCalciteDropdownOnOpenEvent=function(t){if(t.composedPath().includes(this.el)){return}this.active=false};t.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};t.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};t.prototype.calciteDropdownItemKeyEvent=function(t){var e=t.detail.keyboardEvent;var i=e.target;var n=i.nodeName!=="A"?i:i.parentNode;var a=this.itemIndex(n)===0;var o=this.itemIndex(n)===this.items.length-1;switch(e.key){case"Tab":if(o&&!e.shiftKey){this.closeCalciteDropdown()}else if(a&&e.shiftKey){this.closeCalciteDropdown()}else if(e.shiftKey){this.focusPrevItem(n)}else{this.focusNextItem(n)}break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.handleItemSelect=function(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.disableCloseOnSelect||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.flipPlacements||f};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,i=t.referenceEl,n=t.placement,a=t.overlayPositioning;var o=this.getModifiers();this.popper=m({el:e,modifiers:o,overlayPositioning:a,placement:n,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.updateSelectedItems=function(){var t=Array.from(this.el.querySelectorAll("calcite-dropdown-item"));this.selectedItems=t.filter((function(t){return t.active}))};t.prototype.getMaxScrollerHeight=function(){var t=Array.from(this.el.querySelectorAll("calcite-dropdown-group"));var e=this.maxItems;var i=0;var n=0;var a;t.forEach((function(t){if(e>0&&i<e){Array.from(t.children).forEach((function(t,o){if(o===0){if(isNaN(a)){a=t.offsetTop}n+=a}if(i<e){n+=t.offsetHeight;i+=1}}))}}));return n};t.prototype.closeCalciteDropdown=function(t){if(t===void 0){t=true}this.active=false;if(t){s(this.triggers[0])}};t.prototype.focusFirstItem=function(){var t=this.items[0];this.getFocusableElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.getFocusableElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.items[e+1]||this.items[0];this.getFocusableElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.items[e-1]||this.items[this.items.length-1];this.getFocusableElement(i)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.getFocusableElement=function(t){if(!t){return}var e=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;s(e)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return t}());v.style=b;var g={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var y="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";var k=t("calcite_dropdown_group",function(){function t(t){e(this,t);this.calciteDropdownItemChange=i(this,"calciteDropdownItemChange",7);this.selectionMode="single"}t.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};t.prototype.render=function(){var t;var e=this.scale||c(this.el,"scale","m");var i=this.groupTitle?n("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var o=this.groupPosition>0?n("div",{class:"dropdown-separator",role:"separator"}):null;return n(a,{role:"menu"},n("div",{class:(t={container:true},t[g.containerSmall]=e==="s",t[g.containerMedium]=e==="m",t[g.containerLarge]=e==="l",t),title:this.groupTitle},o,i,n("slot",null)))};t.prototype.updateActiveItemOnChange=function(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};t.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());k.style=y;var D={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var x="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";var I=t("calcite_dropdown_item",function(){function t(t){e(this,t);this.calciteDropdownItemSelect=i(this,"calciteDropdownItemSelect",7);this.calciteDropdownItemKeyEvent=i(this,"calciteDropdownItemKeyEvent",7);this.calciteDropdownCloseRequest=i(this,"calciteDropdownCloseRequest",7);this.active=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.el.focus();return[2]}))}))};t.prototype.componentWillLoad=function(){this.initialize()};t.prototype.connectedCallback=function(){this.initialize()};t.prototype.render=function(){var t;var e=this;var i=c(this.el,"scale","m");var o=n("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var r=n("span",{class:"dropdown-item-content"},n("slot",null));var s=n("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var l=this.iconStart&&this.iconEnd?[o,r,s]:this.iconStart?[o,n("slot",null)]:this.iconEnd?[r,s]:r;var p=!this.href?l:n("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(t){return e.childLink=t},rel:this.rel,target:this.target},l);var d=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var m=this.selectionMode!=="none"?this.active.toString():null;return n(a,{"aria-checked":m,role:d,tabindex:"0"},n("div",{class:(t={container:true},t[D.containerLink]=!!this.href,t[D.containerSmall]=i==="s",t[D.containerMedium]=i==="m",t[D.containerLarge]=i==="l",t[D.containerMulti]=this.selectionMode==="multi",t[D.containerSingle]=this.selectionMode==="single",t[D.containerNone]=this.selectionMode==="none",t)},this.selectionMode!=="none"?n("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,p))};t.prototype.onClick=function(){this.emitRequestedItem()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":this.emitRequestedItem();if(this.href){t.preventDefault();this.childLink.click()}break;case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}break;case"Escape":this.calciteDropdownCloseRequest.emit();break;case"Tab":case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteDropdownItemKeyEvent.emit({keyboardEvent:t});break}t.preventDefault()};t.prototype.updateActiveItemOnChange=function(t){var e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}};t.prototype.initialize=function(){this.selectionMode=c(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.active=false}};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.active=!this.active}break;case"single":if(this.el===this.requestedDropdownItem){this.active=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.active=false}break;case"none":this.active=false;break}};t.prototype.emitRequestedItem=function(){this.calciteDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());I.style=x}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.429
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-85de34c5.js";import{T as r,d as s,a as o,b as c,g as l,s as p,p as h,i as m}from"./p-ccf412ea.js";import{c as d,d as u,g as f}from"./p-b2c8896f.js";import{c as b,d as w,H as v}from"./p-85730c80.js";import{d as y,u as g,C as k,c as x,p as D}from"./p-09a850b4.js";import{u as C}from"./p-5386a92a.js";import"./p-ed7198ab.js";import"./p-49fd5e81.js";import"./p-2dafa9fc.js";import"./p-6e6943bc.js";const I=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",7),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",7),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",7),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",7),this.disabled=!1,this.active=!1,this.intlPrevMonth=r.prevMonth,this.intlNextMonth=r.nextMonth,this.intlYear=r.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.placement=y,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteInputDatePickerOpen.emit():this.calciteInputDatePickerClose.emit())},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.active=!1},this.keyUpHandler=t=>{"Escape"===t.key&&(this.active=!1)},this.inputBlur=t=>{this.blur(t.detail)},this.startInputFocus=()=>{this.active=!0,this.focusedInput="start"},this.endInputFocus=()=>{this.active=!0,this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setMenuEl=t=>{t&&(this.menuEl=t,this.createPopper())},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.value=s(t.detail))},this.handleDateRangeChange=t=>{var i,a;if(!this.range||!t.detail)return;const{startDate:e,endDate:n}=t.detail;this.start=s(e),this.end=s(n),this.value=[this.start,this.end],this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(a=this.startInput)||void 0===a||a.setFocus())}}handleDisabledChange(t){t||(this.active=!1)}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>o(t))),this.start=t[0],this.end=t[1]):t?(this.valueAsDate=o(t),this.start="",this.end=""):(this.valueAsDate=void 0,this.start=void 0,this.end=void 0)}onMinChanged(t){this.minAsDate=o(t)}onMaxChanged(t){this.maxAsDate=o(t)}activeHandler(){this.disabled?this.active=!1:this.reposition()}handleDateOrRangeChange(){this.calciteInputDatePickerChange.emit()}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.active=!1)}async setFocus(){var t;null===(t=this.startInput)||void 0===t||t.setFocus()}async reposition(){const{placement:t,popper:i,menuEl:a}=this,e=this.getModifiers();i?await g({el:a,modifiers:e,placement:t,popper:i}):this.createPopper()}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>o(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=o(this.value),this.start="",this.end=""),this.start&&(this.startAsDate=o(this.start)),this.end&&(this.endAsDate=o(this.end)),this.min&&(this.minAsDate=o(this.min)),this.max&&(this.maxAsDate=o(this.max)),this.createPopper(),d(this),b(this)}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}disconnectedCallback(){this.destroyPopper(),u(this),w(this)}componentDidRender(){C(this)}render(){var t,i;const{disabled:n}=this,r=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null,o=s?s.toLocaleDateString(this.locale):"",l=r?r.toLocaleDateString(this.locale):"";return a(e,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":this.active.toString(),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:n,icon:"calendar",label:f(this),"number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:l})),a("div",{"aria-hidden":(!this.active).toString(),class:{"menu-container":!0,"menu-container--active":this.active},ref:this.setMenuEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[k.animation]:!0,[k.animationActive]:this.active},onTransitionEnd:this.transitionEnd},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:n,icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:o}))),a(v,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,this.createPopper()}onLabelClick(){this.setFocus()}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.flipPlacements||D},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,placement:i,referenceEl:a,overlayPositioning:e}=this;if(!t||!a)return;const n=this.getModifiers();this.popper=x({el:t,modifiers:n,overlayPositioning:e,placement:i,referenceEl:a})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}startWatcher(t){this.startAsDate=o(t)}endWatcher(t){this.endAsDate=o(t)}async loadLocaleData(){const{locale:t}=this;this.localeData=await l(t)}clearCurrentValue(){if(!this.range)return void(this.value="");const{focusedInput:t}=this;"start"===t?(this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""],this.start=void 0):"end"===t&&(this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""],this.end=void 0)}input(t){const i=this.getDateFromInput(t);if(!i)return void this.clearCurrentValue();if(!this.range)return this.value=s(i),void this.calciteDatePickerChange.emit(i);const{focusedInput:a}=this;if("start"===a){if(!this.startAsDate||!p(i,this.startAsDate)){const t=s(i);this.value=Array.isArray(this.value)?[t,this.value[1]||""]:[t],this.start=t,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate})}}else if(!("end"!==a||this.endAsDate&&p(i,this.endAsDate))){const t=s(i);this.value=Array.isArray(this.value)?[this.value[0]||"",t]:["",t],this.end=t,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})}}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:n,startAsDate:r,valueAsDate:s}=this;this.getDateFromInput(t.value)||(!n&&s?t.value=Array.isArray(s)?s["end"===a?1:0].toLocaleDateString(i):s.toLocaleDateString(i):"start"===a&&r?t.value=r.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:n}=h(t,this.localeData),r=a>0,s=e>-1,o=new Date(n,e,a);o.setFullYear(n);const c=!isNaN(o.getTime()),l=t.split(i).filter((t=>t)).length>2,p=n.toString().length>0;return!!(r&&s&&c&&l&&p&&m(o,this.min,this.max))&&o}get el(){return n(this)}static get watchers(){return{disabled:["handleDisabledChange"],value:["valueHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};I.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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--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([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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;width:100%;--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);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .menu-container{pointer-events:initial;visibility:visible}.menu-container--active .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{I as calcite_input_date_picker}
@@ -1,12 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.429
5
- */
6
- /**!
7
- * Sortable 1.14.0
8
- * @author RubaXa <trash@rubaxa.org>
9
- * @author owenm <owen23355@gmail.com>
10
- * @license MIT
11
- */
12
- function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(t){n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}o.push.apply(o,n)}return o}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};if(t%2){ownKeys(Object(o),true).forEach((function(t){_defineProperty(e,t,o[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(o))}else{ownKeys(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}}return e}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(e){return typeof e}}else{_typeof=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _defineProperty(e,t,o){if(t in e){Object.defineProperty(e,t,{value:o,enumerable:true,configurable:true,writable:true})}else{e[t]=o}return e}function _extends(){_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o){if(Object.prototype.hasOwnProperty.call(o,n)){e[n]=o[n]}}}return e};return _extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var o={};var n=Object.keys(e);var r,l;for(l=0;l<n.length;l++){r=n[l];if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}function _objectWithoutProperties(e,t){if(e==null)return{};var o=_objectWithoutPropertiesLoose(e,t);var n,r;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++){n=l[r];if(t.indexOf(n)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,n))continue;o[n]=e[n]}}return o}var version="1.14.0";function userAgent(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var Edge=userAgent(/Edge/i);var FireFox=userAgent(/firefox/i);var Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i);var IOS=userAgent(/iP(ad|od|hone)/i);var ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i);var captureMode={capture:false,passive:false};function on(e,t,o){e.addEventListener(t,o,!IE11OrLess&&captureMode)}function off(e,t,o){e.removeEventListener(t,o,!IE11OrLess&&captureMode)}function matches(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(e){return false}}return false}function getParentOrHost(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function closest(e,t,o,n){if(e){o=o||document;do{if(t!=null&&(t[0]===">"?e.parentNode===o&&matches(e,t):matches(e,t))||n&&e===o){return e}if(e===o)break}while(e=getParentOrHost(e))}return null}var R_SPACE=/\s+/g;function toggleClass(e,t,o){if(e&&t){if(e.classList){e.classList[o?"add":"remove"](t)}else{var n=(" "+e.className+" ").replace(R_SPACE," ").replace(" "+t+" "," ");e.className=(n+(o?" "+t:"")).replace(R_SPACE," ")}}}function css(e,t,o){var n=e&&e.style;if(n){if(o===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){o=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){o=e.currentStyle}return t===void 0?o:o[t]}else{if(!(t in n)&&t.indexOf("webkit")===-1){t="-webkit-"+t}n[t]=o+(typeof o==="string"?"":"px")}}}function matrix(e,t){var o="";if(typeof e==="string"){o=e}else{do{var n=css(e,"transform");if(n&&n!=="none"){o=n+" "+o}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(o)}function find(e,t,o){if(e){var n=e.getElementsByTagName(t),r=0,l=n.length;if(o){for(;r<l;r++){o(n[r],r)}}return n}return[]}function getWindowScrollingElement(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function getRect(e,t,o,n,r){if(!e.getBoundingClientRect&&e!==window)return;var l,a,i,s,c,u,d;if(e!==window&&e.parentNode&&e!==getWindowScrollingElement()){l=e.getBoundingClientRect();a=l.top;i=l.left;s=l.bottom;c=l.right;u=l.height;d=l.width}else{a=0;i=0;s=window.innerHeight;c=window.innerWidth;u=window.innerHeight;d=window.innerWidth}if((t||o)&&e!==window){r=r||e.parentNode;if(!IE11OrLess){do{if(r&&r.getBoundingClientRect&&(css(r,"transform")!=="none"||o&&css(r,"position")!=="static")){var f=r.getBoundingClientRect();a-=f.top+parseInt(css(r,"border-top-width"));i-=f.left+parseInt(css(r,"border-left-width"));s=a+l.height;c=i+l.width;break}}while(r=r.parentNode)}}if(n&&e!==window){var g=matrix(r||e),h=g&&g.a,p=g&&g.d;if(g){a/=p;i/=h;d/=h;u/=p;s=a+u;c=i+d}}return{top:a,left:i,bottom:s,right:c,width:d,height:u}}function isScrolledPast(e,t,o){var n=getParentAutoScrollElement(e,true),r=getRect(e)[t];while(n){var l=getRect(n)[o],a=void 0;if(o==="top"||o==="left"){a=r>=l}else{a=r<=l}if(!a)return n;if(n===getWindowScrollingElement())break;n=getParentAutoScrollElement(n,false)}return false}function getChild(e,t,o,n){var r=0,l=0,a=e.children;while(l<a.length){if(a[l].style.display!=="none"&&a[l]!==Sortable.ghost&&(n||a[l]!==Sortable.dragged)&&closest(a[l],o.draggable,e,false)){if(r===t){return a[l]}r++}l++}return null}function lastChild(e,t){var o=e.lastElementChild;while(o&&(o===Sortable.ghost||css(o,"display")==="none"||t&&!matches(o,t))){o=o.previousElementSibling}return o||null}function index(e,t){var o=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Sortable.clone&&(!t||matches(e,t))){o++}}return o}function getRelativeScrollOffset(e){var t=0,o=0,n=getWindowScrollingElement();if(e){do{var r=matrix(e),l=r.a,a=r.d;t+=e.scrollLeft*l;o+=e.scrollTop*a}while(e!==n&&(e=e.parentNode))}return[t,o]}function indexOfObject(e,t){for(var o in e){if(!e.hasOwnProperty(o))continue;for(var n in t){if(t.hasOwnProperty(n)&&t[n]===e[o][n])return Number(o)}}return-1}function getParentAutoScrollElement(e,t){if(!e||!e.getBoundingClientRect)return getWindowScrollingElement();var o=e;var n=false;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var r=css(o);if(o.clientWidth<o.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return getWindowScrollingElement();if(n||t)return o;n=true}}}while(o=o.parentNode);return getWindowScrollingElement()}function extend(e,t){if(e&&t){for(var o in t){if(t.hasOwnProperty(o)){e[o]=t[o]}}}return e}function isRectEqual(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var _throttleTimeout;function throttle(e,t){return function(){if(!_throttleTimeout){var o=arguments,n=this;if(o.length===1){e.call(n,o[0])}else{e.apply(n,o)}_throttleTimeout=setTimeout((function(){_throttleTimeout=void 0}),t)}}}function cancelThrottle(){clearTimeout(_throttleTimeout);_throttleTimeout=void 0}function scrollBy(e,t,o){e.scrollLeft+=t;e.scrollTop+=o}function clone(e){var t=window.Polymer;var o=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(o){return o(e).clone(true)[0]}else{return e.cloneNode(true)}}var expando="Sortable"+(new Date).getTime();function AnimationStateManager(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var o=[].slice.call(this.el.children);o.forEach((function(t){if(css(t,"display")==="none"||t===Sortable.ghost)return;e.push({target:t,rect:getRect(t)});var o=_objectSpread2({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=matrix(t,true);if(n){o.top-=n.f;o.left-=n.e}}t.fromRect=o}))},addAnimationState:function t(o){e.push(o)},removeAnimationState:function t(o){e.splice(indexOfObject(e,{target:o}),1)},animateAll:function o(n){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof n==="function")n();return}var l=false,a=0;e.forEach((function(e){var t=0,o=e.target,n=o.fromRect,i=getRect(o),s=o.prevFromRect,c=o.prevToRect,u=e.rect,d=matrix(o,true);if(d){i.top-=d.f;i.left-=d.e}o.toRect=i;if(o.thisAnimationDuration){if(isRectEqual(s,i)&&!isRectEqual(n,i)&&(u.top-i.top)/(u.left-i.left)===(n.top-i.top)/(n.left-i.left)){t=calculateRealTime(u,s,c,r.options)}}if(!isRectEqual(i,n)){o.prevFromRect=n;o.prevToRect=i;if(!t){t=r.options.animation}r.animate(o,u,i,t)}if(t){l=true;a=Math.max(a,t);clearTimeout(o.animationResetTimer);o.animationResetTimer=setTimeout((function(){o.animationTime=0;o.prevFromRect=null;o.fromRect=null;o.prevToRect=null;o.thisAnimationDuration=null}),t);o.thisAnimationDuration=t}}));clearTimeout(t);if(!l){if(typeof n==="function")n()}else{t=setTimeout((function(){if(typeof n==="function")n()}),a)}e=[]},animate:function e(t,o,n,r){if(r){css(t,"transition","");css(t,"transform","");var l=matrix(this.el),a=l&&l.a,i=l&&l.d,s=(o.left-n.left)/(a||1),c=(o.top-n.top)/(i||1);t.animatingX=!!s;t.animatingY=!!c;css(t,"transform","translate3d("+s+"px,"+c+"px,0)");this.forRepaintDummy=repaint(t);css(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));css(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){css(t,"transition","");css(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function repaint(e){return e.offsetWidth}function calculateRealTime(e,t,o,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*n.animation}var plugins=[];var defaults={initializeByDefault:true};var PluginManager={mount:function e(t){for(var o in defaults){if(defaults.hasOwnProperty(o)&&!(o in t)){t[o]=defaults[o]}}plugins.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));plugins.push(t)},pluginEvent:function e(t,o,n){var r=this;this.eventCanceled=false;n.cancel=function(){r.eventCanceled=true};var l=t+"Global";plugins.forEach((function(e){if(!o[e.pluginName])return;if(o[e.pluginName][l]){o[e.pluginName][l](_objectSpread2({sortable:o},n))}if(o.options[e.pluginName]&&o[e.pluginName][t]){o[e.pluginName][t](_objectSpread2({sortable:o},n))}}))},initializePlugins:function e(t,o,n,r){plugins.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var l=new e(t,o,t.options);l.sortable=t;l.options=t.options;t[r]=l;_extends(n,l.defaults)}));for(var l in t.options){if(!t.options.hasOwnProperty(l))continue;var a=this.modifyOption(t,l,t.options[l]);if(typeof a!=="undefined"){t.options[l]=a}}},getEventProperties:function e(t,o){var n={};plugins.forEach((function(e){if(typeof e.eventProperties!=="function")return;_extends(n,e.eventProperties.call(o[e.pluginName],t))}));return n},modifyOption:function e(t,o,n){var r;plugins.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[o]==="function"){r=e.optionListeners[o].call(t[e.pluginName],n)}}));return r}};function dispatchEvent(e){var t=e.sortable,o=e.rootEl,n=e.name,r=e.targetEl,l=e.cloneEl,a=e.toEl,i=e.fromEl,s=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,g=e.putSortable,h=e.extraEventProperties;t=t||o&&o[expando];if(!t)return;var p,v=t.options,E="on"+n.charAt(0).toUpperCase()+n.substr(1);if(window.CustomEvent&&!IE11OrLess&&!Edge){p=new CustomEvent(n,{bubbles:true,cancelable:true})}else{p=document.createEvent("Event");p.initEvent(n,true,true)}p.to=a||o;p.from=i||o;p.item=r||o;p.clone=l;p.oldIndex=s;p.newIndex=c;p.oldDraggableIndex=u;p.newDraggableIndex=d;p.originalEvent=f;p.pullMode=g?g.lastPutMode:undefined;var m=_objectSpread2(_objectSpread2({},h),PluginManager.getEventProperties(n,t));for(var b in m){p[b]=m[b]}if(o){o.dispatchEvent(p)}if(v[E]){v[E].call(t,p)}}var _excluded=["evt"];var pluginEvent=function e(t,o){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=n.evt,l=_objectWithoutProperties(n,_excluded);PluginManager.pluginEvent.bind(Sortable)(t,o,_objectSpread2({dragEl:dragEl,parentEl:parentEl,ghostEl:ghostEl,rootEl:rootEl,nextEl:nextEl,lastDownEl:lastDownEl,cloneEl:cloneEl,cloneHidden:cloneHidden,dragStarted:moved,putSortable:putSortable,activeSortable:Sortable.active,originalEvent:r,oldIndex:oldIndex,oldDraggableIndex:oldDraggableIndex,newIndex:newIndex,newDraggableIndex:newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function e(){cloneHidden=true},cloneNowShown:function e(){cloneHidden=false},dispatchSortableEvent:function e(t){_dispatchEvent({sortable:o,name:t,originalEvent:r})}},l))};function _dispatchEvent(e){dispatchEvent(_objectSpread2({putSortable:putSortable,cloneEl:cloneEl,targetEl:dragEl,rootEl:rootEl,oldIndex:oldIndex,oldDraggableIndex:oldDraggableIndex,newIndex:newIndex,newDraggableIndex:newDraggableIndex},e))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=false,ignoreNextClick=false,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=false,isCircumstantialInvert=false,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=false,savedInputChecked=[];var documentExists=typeof document!=="undefined",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!documentExists)return;if(IE11OrLess){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),_detectDirection=function e(t,o){var n=css(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),l=getChild(t,0,o),a=getChild(t,1,o),i=l&&css(l),s=a&&css(a),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+getRect(l).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+getRect(a).width;if(n.display==="flex"){return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal"}if(n.display==="grid"){return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(l&&i["float"]&&i["float"]!=="none"){var d=i["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return l&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=r&&n[CSSFloatProperty]==="none"||a&&n[CSSFloatProperty]==="none"&&c+u>r)?"vertical":"horizontal"},_dragElInRowColumn=function e(t,o,n){var r=n?t.left:t.top,l=n?t.right:t.bottom,a=n?t.width:t.height,i=n?o.left:o.top,s=n?o.right:o.bottom,c=n?o.width:o.height;return r===i||l===s||r+a/2===i+c/2},_detectNearestEmptySortable=function e(t,o){var n;sortables.some((function(e){var r=e[expando].options.emptyInsertThreshold;if(!r||lastChild(e))return;var l=getRect(e),a=t>=l.left-r&&t<=l.right+r,i=o>=l.top-r&&o<=l.bottom+r;if(a&&i){return n=e}}));return n},_prepareGroup=function e(t){function o(e,t){return function(n,r,l,a){var i=n.options.group.name&&r.options.group.name&&n.options.group.name===r.options.group.name;if(e==null&&(t||i)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return o(e(n,r,l,a),t)(n,r,l,a)}else{var s=(t?n:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var n={};var r=t.group;if(!r||_typeof(r)!="object"){r={name:r}}n.name=r.name;n.checkPull=o(r.pull,true);n.checkPut=o(r.put);n.revertClone=r.revertClone;t.group=n},_hideGhostForTarget=function e(){if(!supportCssPointerEvents&&ghostEl){css(ghostEl,"display","none")}},_unhideGhostForTarget=function e(){if(!supportCssPointerEvents&&ghostEl){css(ghostEl,"display","")}};if(documentExists){document.addEventListener("click",(function(e){if(ignoreNextClick){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();ignoreNextClick=false;return false}}),true)}var nearestEmptyInsertDetectEvent=function e(t){if(dragEl){t=t.touches?t.touches[0]:t;var o=_detectNearestEmptySortable(t.clientX,t.clientY);if(o){var n={};for(var r in t){if(t.hasOwnProperty(r)){n[r]=t[r]}}n.target=n.rootEl=o;n.preventDefault=void 0;n.stopPropagation=void 0;o[expando]._onDragOver(n)}}};var _checkOutsideTargetEl=function e(t){if(dragEl){dragEl.parentNode[expando]._isOutsideThisEl(t.target)}};function Sortable(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=_extends({},t);e[expando]=this;var o={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return _detectDirection(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,o){t.setData("Text",o.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==false&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,e,o);for(var n in o){!(n in t)&&(t[n]=o[n])}_prepareGroup(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:supportDraggable;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){on(e,"pointerdown",this._onTapStart)}else{on(e,"mousedown",this._onTapStart);on(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){on(e,"dragover",this);on(e,"dragenter",this)}sortables.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){lastTarget=null}},_getDirection:function e(t,o){return typeof this.options.direction==="function"?this.options.direction.call(this,t,o,dragEl):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var o=this,n=this.el,r=this.options,l=r.preventOnFilter,a=t.type,i=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(i||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=r.filter;_saveInputCheckedState(n);if(dragEl){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(c.isContentEditable){return}if(!this.nativeDraggable&&Safari&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=closest(s,r.draggable,n,false);if(s&&s.animated){return}if(lastDownEl===s){return}oldIndex=index(s);oldDraggableIndex=index(s,r.draggable);if(typeof u==="function"){if(u.call(this,t,s,this)){_dispatchEvent({sortable:o,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n});pluginEvent("filter",o,{evt:t});l&&t.cancelable&&t.preventDefault();return}}else if(u){u=u.split(",").some((function(e){e=closest(c,e.trim(),n,false);if(e){_dispatchEvent({sortable:o,rootEl:e,name:"filter",targetEl:s,fromEl:n,toEl:n});pluginEvent("filter",o,{evt:t});return true}}));if(u){l&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!closest(c,r.handle,n,false)){return}this._prepareDragStart(t,i,s)},_prepareDragStart:function e(t,o,n){var r=this,l=r.el,a=r.options,i=l.ownerDocument,s;if(n&&!dragEl&&n.parentNode===l){var c=getRect(n);rootEl=l;dragEl=n;parentEl=dragEl.parentNode;nextEl=dragEl.nextSibling;lastDownEl=n;activeGroup=a.group;Sortable.dragged=dragEl;tapEvt={target:dragEl,clientX:(o||t).clientX,clientY:(o||t).clientY};tapDistanceLeft=tapEvt.clientX-c.left;tapDistanceTop=tapEvt.clientY-c.top;this._lastX=(o||t).clientX;this._lastY=(o||t).clientY;dragEl.style["will-change"]="all";s=function e(){pluginEvent("delayEnded",r,{evt:t});if(Sortable.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!FireFox&&r.nativeDraggable){dragEl.draggable=true}r._triggerDragStart(t,o);_dispatchEvent({sortable:r,name:"choose",originalEvent:t});toggleClass(dragEl,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){find(dragEl,e.trim(),_disableDraggable)}));on(i,"dragover",nearestEmptyInsertDetectEvent);on(i,"mousemove",nearestEmptyInsertDetectEvent);on(i,"touchmove",nearestEmptyInsertDetectEvent);on(i,"mouseup",r._onDrop);on(i,"touchend",r._onDrop);on(i,"touchcancel",r._onDrop);if(FireFox&&this.nativeDraggable){this.options.touchStartThreshold=4;dragEl.draggable=true}pluginEvent("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(i,"mouseup",r._disableDelayedDrag);on(i,"touchend",r._disableDelayedDrag);on(i,"touchcancel",r._disableDelayedDrag);on(i,"mousemove",r._delayedDragTouchMoveHandler);on(i,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&on(i,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var o=t.touches?t.touches[0]:t;if(Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function e(){dragEl&&_disableDraggable(dragEl);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._disableDelayedDrag);off(t,"touchend",this._disableDelayedDrag);off(t,"touchcancel",this._disableDelayedDrag);off(t,"mousemove",this._delayedDragTouchMoveHandler);off(t,"touchmove",this._delayedDragTouchMoveHandler);off(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,o){o=o||t.pointerType=="touch"&&t;if(!this.nativeDraggable||o){if(this.options.supportPointer){on(document,"pointermove",this._onTouchMove)}else if(o){on(document,"touchmove",this._onTouchMove)}else{on(document,"mousemove",this._onTouchMove)}}else{on(dragEl,"dragend",this);on(rootEl,"dragstart",this._onDragStart)}try{if(document.selection){_nextTick((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(e){}},_dragStarted:function e(t,o){awaitingDragStarted=false;if(rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:o});if(this.nativeDraggable){on(document,"dragover",_checkOutsideTargetEl)}var n=this.options;!t&&toggleClass(dragEl,n.dragClass,false);toggleClass(dragEl,n.ghostClass,true);Sortable.active=this;t&&this._appendGhost();_dispatchEvent({sortable:this,name:"start",originalEvent:o})}else{this._nulling()}},_emulateDragOver:function e(){if(touchEvt){this._lastX=touchEvt.clientX;this._lastY=touchEvt.clientY;_hideGhostForTarget();var t=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY);var o=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY);if(t===o)break;o=t}dragEl.parentNode[expando]._isOutsideThisEl(t);if(o){do{if(o[expando]){var n=void 0;n=o[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:t,rootEl:o});if(n&&!this.options.dragoverBubble){break}}t=o}while(o=o.parentNode)}_unhideGhostForTarget()}},_onTouchMove:function e(t){if(tapEvt){var o=this.options,n=o.fallbackTolerance,r=o.fallbackOffset,l=t.touches?t.touches[0]:t,a=ghostEl&&matrix(ghostEl,true),i=ghostEl&&a&&a.a,s=ghostEl&&a&&a.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),u=(l.clientX-tapEvt.clientX+r.x)/(i||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(i||1),d=(l.clientY-tapEvt.clientY+r.y)/(s||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(s||1);if(!Sortable.active&&!awaitingDragStarted){if(n&&Math.max(Math.abs(l.clientX-this._lastX),Math.abs(l.clientY-this._lastY))<n){return}this._onDragStart(t,true)}if(ghostEl){if(a){a.e+=u-(lastDx||0);a.f+=d-(lastDy||0)}else{a={a:1,b:0,c:0,d:1,e:u,f:d}}var f="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");css(ghostEl,"webkitTransform",f);css(ghostEl,"mozTransform",f);css(ghostEl,"msTransform",f);css(ghostEl,"transform",f);lastDx=u;lastDy=d;touchEvt=l}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!ghostEl){var t=this.options.fallbackOnBody?document.body:rootEl,o=getRect(dragEl,true,PositionGhostAbsolutely,true,t),n=this.options;if(PositionGhostAbsolutely){ghostRelativeParent=t;while(css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document){ghostRelativeParent=ghostRelativeParent.parentNode}if(ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement){if(ghostRelativeParent===document)ghostRelativeParent=getWindowScrollingElement();o.top+=ghostRelativeParent.scrollTop;o.left+=ghostRelativeParent.scrollLeft}else{ghostRelativeParent=getWindowScrollingElement()}ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(true);toggleClass(ghostEl,n.ghostClass,false);toggleClass(ghostEl,n.fallbackClass,true);toggleClass(ghostEl,n.dragClass,true);css(ghostEl,"transition","");css(ghostEl,"transform","");css(ghostEl,"box-sizing","border-box");css(ghostEl,"margin",0);css(ghostEl,"top",o.top);css(ghostEl,"left",o.left);css(ghostEl,"width",o.width);css(ghostEl,"height",o.height);css(ghostEl,"opacity","0.8");css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed");css(ghostEl,"zIndex","100000");css(ghostEl,"pointerEvents","none");Sortable.ghost=ghostEl;t.appendChild(ghostEl);css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function e(t,o){var n=this;var r=t.dataTransfer;var l=n.options;pluginEvent("dragStart",this,{evt:t});if(Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this);if(!Sortable.eventCanceled){cloneEl=clone(dragEl);cloneEl.draggable=false;cloneEl.style["will-change"]="";this._hideClone();toggleClass(cloneEl,this.options.chosenClass,false);Sortable.clone=cloneEl}n.cloneId=_nextTick((function(){pluginEvent("clone",n);if(Sortable.eventCanceled)return;if(!n.options.removeCloneOnHide){rootEl.insertBefore(cloneEl,dragEl)}n._hideClone();_dispatchEvent({sortable:n,name:"clone"})}));!o&&toggleClass(dragEl,l.dragClass,true);if(o){ignoreNextClick=true;n._loopId=setInterval(n._emulateDragOver,50)}else{off(document,"mouseup",n._onDrop);off(document,"touchend",n._onDrop);off(document,"touchcancel",n._onDrop);if(r){r.effectAllowed="move";l.setData&&l.setData.call(n,r,dragEl)}on(document,"drop",n);css(dragEl,"transform","translateZ(0)")}awaitingDragStarted=true;n._dragStartId=_nextTick(n._dragStarted.bind(n,o,t));on(document,"selectstart",n);moved=true;if(Safari){css(document.body,"user-select","none")}},_onDragOver:function e(t){var o=this.el,n=t.target,r,l,a,i=this.options,s=i.group,c=Sortable.active,u=activeGroup===s,d=i.sort,f=putSortable||c,g,h=this,p=false;if(_silent)return;function v(e,i){pluginEvent(e,h,_objectSpread2({evt:t,isOwner:u,axis:g?"vertical":"horizontal",revert:a,dragRect:r,targetRect:l,canSort:d,fromSortable:f,target:n,completed:m,onMove:function e(n,l){return _onMove(rootEl,o,dragEl,r,n,getRect(n),t,l)},changed:b},i))}function E(){v("dragOverAnimationCapture");h.captureAnimationState();if(h!==f){f.captureAnimationState()}}function m(e){v("dragOverCompleted",{insertion:e});if(e){if(u){c._hideClone()}else{c._showClone(h)}if(h!==f){toggleClass(dragEl,putSortable?putSortable.options.ghostClass:c.options.ghostClass,false);toggleClass(dragEl,i.ghostClass,true)}if(putSortable!==h&&h!==Sortable.active){putSortable=h}else if(h===Sortable.active&&putSortable){putSortable=null}if(f===h){h._ignoreWhileAnimating=n}h.animateAll((function(){v("dragOverAnimationComplete");h._ignoreWhileAnimating=null}));if(h!==f){f.animateAll();f._ignoreWhileAnimating=null}}if(n===dragEl&&!dragEl.animated||n===o&&!n.animated){lastTarget=null}if(!i.dragoverBubble&&!t.rootEl&&n!==document){dragEl.parentNode[expando]._isOutsideThisEl(t.target);!e&&nearestEmptyInsertDetectEvent(t)}!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return p=true}function b(){newIndex=index(dragEl);newDraggableIndex=index(dragEl,i.draggable);_dispatchEvent({sortable:h,name:"change",toEl:o,newIndex:newIndex,newDraggableIndex:newDraggableIndex,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}n=closest(n,i.draggable,o,true);v("dragOver");if(Sortable.eventCanceled)return p;if(dragEl.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||h._ignoreWhileAnimating===n){return m(false)}ignoreNextClick=false;if(c&&!i.disabled&&(u?d||(a=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,c,dragEl,t))&&s.checkPut(this,c,dragEl,t))){g=this._getDirection(t,n)==="vertical";r=getRect(dragEl);v("dragOverValid");if(Sortable.eventCanceled)return p;if(a){parentEl=rootEl;E();this._hideClone();v("revert");if(!Sortable.eventCanceled){if(nextEl){rootEl.insertBefore(dragEl,nextEl)}else{rootEl.appendChild(dragEl)}}return m(true)}var S=lastChild(o,i.draggable);if(!S||_ghostIsLast(t,g,this)&&!S.animated){if(S===dragEl){return m(false)}if(S&&o===t.target){n=S}if(n){l=getRect(n)}if(_onMove(rootEl,o,dragEl,r,n,l,t,!!n)!==false){E();o.appendChild(dragEl);parentEl=o;b();return m(true)}}else if(S&&_ghostIsFirst(t,g,this)){var _=getChild(o,0,i,true);if(_===dragEl){return m(false)}n=_;l=getRect(n);if(_onMove(rootEl,o,dragEl,r,n,l,t,false)!==false){E();o.insertBefore(dragEl,_);parentEl=o;b();return m(true)}}else if(n.parentNode===o){l=getRect(n);var w=0,y,D=dragEl.parentNode!==o,x=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||r,n.animated&&n.toRect||l,g),I=g?"top":"left",C=isScrolledPast(n,"top","top")||isScrolledPast(dragEl,"top","top"),T=C?C.scrollTop:void 0;if(lastTarget!==n){y=l[I];pastFirstInvertThresh=false;isCircumstantialInvert=!x&&i.invertSwap||D}w=_getSwapDirection(t,n,l,g,x?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,isCircumstantialInvert,lastTarget===n);var P;if(w!==0){var A=index(dragEl);do{A-=w;P=parentEl.children[A]}while(P&&(css(P,"display")==="none"||P===ghostEl))}if(w===0||P===n){return m(false)}lastTarget=n;lastDirection=w;var R=n.nextElementSibling,O=false;O=w===1;var M=_onMove(rootEl,o,dragEl,r,n,l,t,O);if(M!==false){if(M===1||M===-1){O=M===1}_silent=true;setTimeout(_unsilent,30);E();if(O&&!R){o.appendChild(dragEl)}else{n.parentNode.insertBefore(dragEl,O?R:n)}if(C){scrollBy(C,0,T-C.scrollTop)}parentEl=dragEl.parentNode;if(y!==undefined&&!isCircumstantialInvert){targetMoveDistance=Math.abs(y-getRect(n)[I])}b();return m(true)}}if(o.contains(dragEl)){return m(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){off(document,"mousemove",this._onTouchMove);off(document,"touchmove",this._onTouchMove);off(document,"pointermove",this._onTouchMove);off(document,"dragover",nearestEmptyInsertDetectEvent);off(document,"mousemove",nearestEmptyInsertDetectEvent);off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._onDrop);off(t,"touchend",this._onDrop);off(t,"pointerup",this._onDrop);off(t,"touchcancel",this._onDrop);off(document,"selectstart",this)},_onDrop:function e(t){var o=this.el,n=this.options;newIndex=index(dragEl);newDraggableIndex=index(dragEl,n.draggable);pluginEvent("drop",this,{evt:t});parentEl=dragEl&&dragEl.parentNode;newIndex=index(dragEl);newDraggableIndex=index(dragEl,n.draggable);if(Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=false;isCircumstantialInvert=false;pastFirstInvertThresh=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);_cancelNextTick(this.cloneId);_cancelNextTick(this._dragStartId);if(this.nativeDraggable){off(document,"drop",this);off(o,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(Safari){css(document.body,"user-select","")}css(dragEl,"transform","");if(t){if(moved){t.cancelable&&t.preventDefault();!n.dropBubble&&t.stopPropagation()}ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl);if(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone"){cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl)}if(dragEl){if(this.nativeDraggable){off(dragEl,"dragend",this)}_disableDraggable(dragEl);dragEl.style["will-change"]="";if(moved&&!awaitingDragStarted){toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,false)}toggleClass(dragEl,this.options.chosenClass,false);_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:t});if(rootEl!==parentEl){if(newIndex>=0){_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:t});_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:t});_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:t});_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})}putSortable&&putSortable.save()}else{if(newIndex!==oldIndex){if(newIndex>=0){_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:t});_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})}}}if(Sortable.active){if(newIndex==null||newIndex===-1){newIndex=oldIndex;newDraggableIndex=oldDraggableIndex}_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){pluginEvent("nulling",this);rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null;savedInputChecked.forEach((function(e){e.checked=true}));savedInputChecked.length=lastDx=lastDy=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(dragEl){this._onDragOver(t);_globalDragOver(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],o,n=this.el.children,r=0,l=n.length,a=this.options;for(;r<l;r++){o=n[r];if(closest(o,a.draggable,this.el,false)){t.push(o.getAttribute(a.dataIdAttr)||_generateId(o))}}return t},sort:function e(t,o){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];if(closest(o,this.options.draggable,r,false)){n[e]=o}}),this);o&&this.captureAnimationState();t.forEach((function(e){if(n[e]){r.removeChild(n[e]);r.appendChild(n[e])}}));o&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,o){return closest(t,o||this.options.draggable,this.el,false)},option:function e(t,o){var n=this.options;if(o===void 0){return n[t]}else{var r=PluginManager.modifyOption(this,t,o);if(typeof r!=="undefined"){n[t]=r}else{n[t]=o}if(t==="group"){_prepareGroup(n)}}},destroy:function e(){pluginEvent("destroy",this);var t=this.el;t[expando]=null;off(t,"mousedown",this._onTapStart);off(t,"touchstart",this._onTapStart);off(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){off(t,"dragover",this);off(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();sortables.splice(sortables.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!cloneHidden){pluginEvent("hideClone",this);if(Sortable.eventCanceled)return;css(cloneEl,"display","none");if(this.options.removeCloneOnHide&&cloneEl.parentNode){cloneEl.parentNode.removeChild(cloneEl)}cloneHidden=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){pluginEvent("showClone",this);if(Sortable.eventCanceled)return;if(dragEl.parentNode==rootEl&&!this.options.group.revertClone){rootEl.insertBefore(cloneEl,dragEl)}else if(nextEl){rootEl.insertBefore(cloneEl,nextEl)}else{rootEl.appendChild(cloneEl)}if(this.options.group.revertClone){this.animate(dragEl,cloneEl)}css(cloneEl,"display","");cloneHidden=false}}};function _globalDragOver(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function _onMove(e,t,o,n,r,l,a,i){var s,c=e[expando],u=c.options.onMove,d;if(window.CustomEvent&&!IE11OrLess&&!Edge){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=o;s.draggedRect=n;s.related=r||t;s.relatedRect=l||getRect(t);s.willInsertAfter=i;s.originalEvent=a;e.dispatchEvent(s);if(u){d=u.call(c,s,a)}return d}function _disableDraggable(e){e.draggable=false}function _unsilent(){_silent=false}function _ghostIsFirst(e,t,o){var n=getRect(getChild(o.el,0,o.options,true));var r=10;return t?e.clientX<n.left-r||e.clientY<n.top&&e.clientX<n.right:e.clientY<n.top-r||e.clientY<n.bottom&&e.clientX<n.left}function _ghostIsLast(e,t,o){var n=getRect(lastChild(o.el,o.options.draggable));var r=10;return t?e.clientX>n.right+r||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+r}function _getSwapDirection(e,t,o,n,r,l,a,i){var s=n?e.clientY:e.clientX,c=n?o.height:o.width,u=n?o.top:o.left,d=n?o.bottom:o.right,f=false;if(!a){if(i&&targetMoveDistance<c*r){if(!pastFirstInvertThresh&&(lastDirection===1?s>u+c*l/2:s<d-c*l/2)){pastFirstInvertThresh=true}if(!pastFirstInvertThresh){if(lastDirection===1?s<u+targetMoveDistance:s>d-targetMoveDistance){return-lastDirection}}else{f=true}}else{if(s>u+c*(1-r)/2&&s<d-c*(1-r)/2){return _getInsertDirection(t)}}}f=f||a;if(f){if(s<u+c*l/2||s>d-c*l/2){return s>u+c/2?1:-1}}return 0}function _getInsertDirection(e){if(index(dragEl)<index(e)){return 1}else{return-1}}function _generateId(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,n=0;while(o--){n+=t.charCodeAt(o)}return n.toString(36)}function _saveInputCheckedState(e){savedInputChecked.length=0;var t=e.getElementsByTagName("input");var o=t.length;while(o--){var n=t[o];n.checked&&savedInputChecked.push(n)}}function _nextTick(e){return setTimeout(e,0)}function _cancelNextTick(e){return clearTimeout(e)}if(documentExists){on(document,"touchmove",(function(e){if((Sortable.active||awaitingDragStarted)&&e.cancelable){e.preventDefault()}}))}Sortable.utils={on:on,off:off,css:css,find:find,is:function e(t,o){return!!closest(t,o,t,false)},extend:extend,throttle:throttle,closest:closest,toggleClass:toggleClass,clone:clone,index:index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild:getChild};Sortable.get=function(e){return e[expando]};Sortable.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++){t[o]=arguments[o]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),e.utils);PluginManager.mount(e)}))};Sortable.create=function(e,t){return new Sortable(e,t)};Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=false,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var o=t.originalEvent;if(this.sortable.nativeDraggable){on(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){on(document,"pointermove",this._handleFallbackAutoScroll)}else if(o.touches){on(document,"touchmove",this._handleFallbackAutoScroll)}else{on(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var o=t.originalEvent;if(!this.options.dragOverBubble&&!o.rootEl){this._handleAutoScroll(o)}},drop:function e(){if(this.sortable.nativeDraggable){off(document,"dragover",this._handleAutoScroll)}else{off(document,"pointermove",this._handleFallbackAutoScroll);off(document,"touchmove",this._handleFallbackAutoScroll);off(document,"mousemove",this._handleFallbackAutoScroll)}clearPointerElemChangedInterval();clearAutoScrolls();cancelThrottle()},nulling:function e(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null;autoScrolls.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,o){var n=this;var r=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,l);touchEvt$1=t;if(o||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(t,this.options,a,o);var i=getParentAutoScrollElement(a,true);if(scrolling&&(!pointerElemChangedInterval||r!==lastAutoScrollX||l!==lastAutoScrollY)){pointerElemChangedInterval&&clearPointerElemChangedInterval();pointerElemChangedInterval=setInterval((function(){var e=getParentAutoScrollElement(document.elementFromPoint(r,l),true);if(e!==i){i=e;clearAutoScrolls()}autoScroll(t,n.options,e,o)}),10);lastAutoScrollX=r;lastAutoScrollY=l}}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(a,true)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(t,this.options,getParentAutoScrollElement(a,false),false)}}};return _extends(e,{pluginName:"scroll",initializeByDefault:true})}function clearAutoScrolls(){autoScrolls.forEach((function(e){clearInterval(e.pid)}));autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle((function(e,t,o,n){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,s=getWindowScrollingElement();var c=false,u;if(scrollRootEl!==o){scrollRootEl=o;clearAutoScrolls();scrollEl=t.scroll;u=t.scrollFn;if(scrollEl===true){scrollEl=getParentAutoScrollElement(o,true)}}var d=0;var f=scrollEl;do{var g=f,h=getRect(g),p=h.top,v=h.bottom,E=h.left,m=h.right,b=h.width,S=h.height,_=void 0,w=void 0,y=g.scrollWidth,D=g.scrollHeight,x=css(g),I=g.scrollLeft,C=g.scrollTop;if(g===s){_=b<y&&(x.overflowX==="auto"||x.overflowX==="scroll"||x.overflowX==="visible");w=S<D&&(x.overflowY==="auto"||x.overflowY==="scroll"||x.overflowY==="visible")}else{_=b<y&&(x.overflowX==="auto"||x.overflowX==="scroll");w=S<D&&(x.overflowY==="auto"||x.overflowY==="scroll")}var T=_&&(Math.abs(m-r)<=a&&I+b<y)-(Math.abs(E-r)<=a&&!!I);var P=w&&(Math.abs(v-l)<=a&&C+S<D)-(Math.abs(p-l)<=a&&!!C);if(!autoScrolls[d]){for(var A=0;A<=d;A++){if(!autoScrolls[A]){autoScrolls[A]={}}}}if(autoScrolls[d].vx!=T||autoScrolls[d].vy!=P||autoScrolls[d].el!==g){autoScrolls[d].el=g;autoScrolls[d].vx=T;autoScrolls[d].vy=P;clearInterval(autoScrolls[d].pid);if(T!=0||P!=0){c=true;autoScrolls[d].pid=setInterval(function(){if(n&&this.layer===0){Sortable.active._onTouchMove(touchEvt$1)}var t=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*i:0;var o=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*i:0;if(typeof u==="function"){if(u.call(Sortable.dragged.parentNode[expando],o,t,e,touchEvt$1,autoScrolls[this.layer].el)!=="continue"){return}}scrollBy(autoScrolls[this.layer].el,o,t)}.bind({layer:d}),24)}}d++}while(t.bubbleScroll&&f!==s&&(f=getParentAutoScrollElement(f,false)));scrolling=c}),30);var drop=function e(t){var o=t.originalEvent,n=t.putSortable,r=t.dragEl,l=t.activeSortable,a=t.dispatchSortableEvent,i=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!o)return;var c=n||l;i();var u=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o;var d=document.elementFromPoint(u.clientX,u.clientY);s();if(c&&!c.el.contains(d)){a("spill");this.onSpill({dragEl:r,putSortable:n})}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function e(t){var o=t.oldDraggableIndex;this.startIndex=o},onSpill:function e(t){var o=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState();if(n){n.captureAnimationState()}var r=getChild(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(o,r)}else{this.sortable.el.appendChild(o)}this.sortable.animateAll();if(n){n.animateAll()}},drop:drop};_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function e(t){var o=t.dragEl,n=t.putSortable;var r=n||this.sortable;r.captureAnimationState();o.parentNode&&o.parentNode.removeChild(o);r.animateAll()},drop:drop};_extends(Remove,{pluginName:"removeOnSpill"});Sortable.mount(new AutoScrollPlugin);Sortable.mount(Remove,Revert);export{Sortable as S};