@getflip/swirl-components-react 0.455.0 → 0.456.1-beta-20260305113737

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 (463) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/stencil-generated/components.d.ts +1622 -0
  3. package/dist/swirl-components-react.js +38085 -476
  4. package/dist/swirl-components-react.umd.cjs +65 -94
  5. package/package.json +2 -6
  6. package/dist/FileSaver.min-DISpcNDq.9430eab9.js +0 -79
  7. package/dist/bodyScrollLock.esm-B0kNlhKL.c7a66a82.js +0 -93
  8. package/dist/floating-ui.dom-CLsTbQHn.fe95e3a6.js +0 -988
  9. package/dist/index-D3UoejeY.7db8c51e.js +0 -7494
  10. package/dist/index-orsBiyT_.fc4357c3.js +0 -47
  11. package/dist/index.0e476e54.js +0 -4650
  12. package/dist/index.esm-DBTxpXCn.fccbd562.js +0 -187
  13. package/dist/media-query.service-CCYT6DU8.f0931fdc.js +0 -17
  14. package/dist/sortable.esm-CMrz6687.dac971cd.js +0 -1240
  15. package/dist/stencil-generated/index.d.ts +0 -474
  16. package/dist/stencil-generated/react-component-lib/createComponent.d.ts +0 -10
  17. package/dist/stencil-generated/react-component-lib/createOverlayComponent.d.ts +0 -21
  18. package/dist/stencil-generated/react-component-lib/index.d.ts +0 -2
  19. package/dist/stencil-generated/react-component-lib/interfaces.d.ts +0 -29
  20. package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +0 -16
  21. package/dist/stencil-generated/react-component-lib/utils/case.d.ts +0 -2
  22. package/dist/stencil-generated/react-component-lib/utils/index.d.ts +0 -10
  23. package/dist/swirl-accordion-item.entry.5294ec10.js +0 -38
  24. package/dist/swirl-accordion.entry.47c30825.js +0 -39
  25. package/dist/swirl-action-list-item.entry.fb87b949.js +0 -38
  26. package/dist/swirl-action-list-section.entry.74577720.js +0 -15
  27. package/dist/swirl-action-list_8.entry.c0d11c64.js +0 -171
  28. package/dist/swirl-app-bar.entry.87fa040b.js +0 -49
  29. package/dist/swirl-app-icon.entry.a0d9b1db.js +0 -30
  30. package/dist/swirl-app-layout.entry.93e98b11.js +0 -205
  31. package/dist/swirl-autocomplete.entry.e6155023.js +0 -117
  32. package/dist/swirl-avatar-group.entry.5f7b3b48.js +0 -37
  33. package/dist/swirl-avatar.entry.e3ce764f.js +0 -72
  34. package/dist/swirl-badge.entry.9d51fc44.js +0 -19
  35. package/dist/swirl-banner.entry.962a7215.js +0 -51
  36. package/dist/swirl-box.entry.21137732.js +0 -109
  37. package/dist/swirl-button-group.entry.309a1839.js +0 -19
  38. package/dist/swirl-button.entry.62d32407.js +0 -61
  39. package/dist/swirl-card.entry.20063ee9.js +0 -49
  40. package/dist/swirl-carousel-slide.entry.61dbe677.js +0 -23
  41. package/dist/swirl-carousel.entry.03be4fae.js +0 -91
  42. package/dist/swirl-checkbox.entry.2c4507d9.js +0 -28
  43. package/dist/swirl-chip.entry.3638b41e.js +0 -42
  44. package/dist/swirl-color-input.entry.9607d054.js +0 -272
  45. package/dist/swirl-columns.entry.0c549e8d.js +0 -18
  46. package/dist/swirl-console-layout.entry.ad1777cb.js +0 -93
  47. package/dist/swirl-data-cell-stack.entry.a3b92efa.js +0 -25
  48. package/dist/swirl-data-cell.entry.6c01b738.js +0 -34
  49. package/dist/swirl-date-input.entry.c382bdb6.js +0 -146
  50. package/dist/swirl-date-picker_2.entry.496df017.js +0 -47
  51. package/dist/swirl-description-list-item.entry.1b164b37.js +0 -24
  52. package/dist/swirl-description-list.entry.e233393e.js +0 -15
  53. package/dist/swirl-dialog.entry.07392ba1.js +0 -69
  54. package/dist/swirl-emoji-clap.entry.f838b761.js +0 -17
  55. package/dist/swirl-emoji-happy.entry.fcd3c8a5.js +0 -17
  56. package/dist/swirl-emoji-idea.entry.c2548d7d.js +0 -17
  57. package/dist/swirl-emoji-love.entry.807091fc.js +0 -17
  58. package/dist/swirl-emoji-sad.entry.30a8e8b1.js +0 -17
  59. package/dist/swirl-emoji-thumbs-up.entry.f08ef4d2.js +0 -17
  60. package/dist/swirl-emoji.entry.65c1179c.js +0 -16
  61. package/dist/swirl-empty-state.entry.d9c4b201.js +0 -23
  62. package/dist/swirl-file-chip.entry.dcdaab9a.js +0 -59
  63. package/dist/swirl-file-uploader.entry.a6376f6e.js +0 -31
  64. package/dist/swirl-file-viewer-audio_7.entry.bbc65449.js +0 -18783
  65. package/dist/swirl-form-control.entry.c1a70ce4.js +0 -121
  66. package/dist/swirl-form-group.entry.6c84e80b.js +0 -17
  67. package/dist/swirl-heading.entry.e7529c35.js +0 -26
  68. package/dist/swirl-icon-add-moderator.entry.a6eb66cf.js +0 -19
  69. package/dist/swirl-icon-add-photo.entry.33f3e8d8.js +0 -19
  70. package/dist/swirl-icon-add-reaction.entry.d3f40fd8.js +0 -19
  71. package/dist/swirl-icon-admin-panel-settings.entry.a50b4a76.js +0 -19
  72. package/dist/swirl-icon-ai-filled.entry.18a663f4.js +0 -19
  73. package/dist/swirl-icon-ai.entry.2a32f232.js +0 -19
  74. package/dist/swirl-icon-apps.entry.3351a933.js +0 -19
  75. package/dist/swirl-icon-arrow-back_5.entry.ef93212c.js +0 -71
  76. package/dist/swirl-icon-arrow-downward_2.entry.316dda8e.js +0 -32
  77. package/dist/swirl-icon-arrow-left_3.entry.68811e2c.js +0 -45
  78. package/dist/swirl-icon-arrow-right-small.entry.55d7df92.js +0 -19
  79. package/dist/swirl-icon-aspect-ratio.entry.b1ebc68f.js +0 -19
  80. package/dist/swirl-icon-attachment_6.entry.8539855f.js +0 -84
  81. package/dist/swirl-icon-autorenew.entry.a5a354e4.js +0 -19
  82. package/dist/swirl-icon-bar-chart.entry.5a0bc789.js +0 -19
  83. package/dist/swirl-icon-beach-access-filled.entry.bec907f4.js +0 -19
  84. package/dist/swirl-icon-beach-access.entry.8939d641.js +0 -19
  85. package/dist/swirl-icon-block.entry.8972d4d5.js +0 -19
  86. package/dist/swirl-icon-bookmark-filled.entry.a3cfb778.js +0 -19
  87. package/dist/swirl-icon-bookmark.entry.aa250b81.js +0 -19
  88. package/dist/swirl-icon-calendar-add-on-filled.entry.e960eb71.js +0 -19
  89. package/dist/swirl-icon-calendar-respond.entry.85a4bb24.js +0 -19
  90. package/dist/swirl-icon-calendar-today.entry.6b4a4506.js +0 -19
  91. package/dist/swirl-icon-call-end.entry.817adcc6.js +0 -19
  92. package/dist/swirl-icon-call.entry.bcd6e165.js +0 -19
  93. package/dist/swirl-icon-cancel-filled.entry.a9f3b10c.js +0 -19
  94. package/dist/swirl-icon-cancel-outline.entry.9cc1c496.js +0 -19
  95. package/dist/swirl-icon-cancel_4.entry.ce87c7a7.js +0 -58
  96. package/dist/swirl-icon-chat-bubble.entry.3754f362.js +0 -19
  97. package/dist/swirl-icon-chats-filled.entry.4723be8d.js +0 -19
  98. package/dist/swirl-icon-chats.entry.c59206b4.js +0 -19
  99. package/dist/swirl-icon-check-circle-filled.entry.0472d6e8.js +0 -19
  100. package/dist/swirl-icon-check-circle_2.entry.44733a9c.js +0 -32
  101. package/dist/swirl-icon-check-small_2.entry.fb9fdf9b.js +0 -66
  102. package/dist/swirl-icon-check-strong_2.entry.7bd65267.js +0 -32
  103. package/dist/swirl-icon-check.entry.d29bfff8.js +0 -19
  104. package/dist/swirl-icon-checkbox-filled.entry.4c9bdf21.js +0 -19
  105. package/dist/swirl-icon-chevron-left.entry.4eb1a080.js +0 -19
  106. package/dist/swirl-icon-chevron-right.entry.bef6e257.js +0 -19
  107. package/dist/swirl-icon-close-fullscreen.entry.424b0b11.js +0 -19
  108. package/dist/swirl-icon-close-small.entry.c5eafcd0.js +0 -19
  109. package/dist/swirl-icon-close.entry.7e97e55e.js +0 -19
  110. package/dist/swirl-icon-cloud-upload.entry.c4e3629f.js +0 -19
  111. package/dist/swirl-icon-column.entry.c0d502a3.js +0 -19
  112. package/dist/swirl-icon-comment.entry.9f1eedc8.js +0 -19
  113. package/dist/swirl-icon-contrast.entry.44c8cef1.js +0 -19
  114. package/dist/swirl-icon-copy.entry.bd1920a6.js +0 -19
  115. package/dist/swirl-icon-crop.entry.5cde943f.js +0 -19
  116. package/dist/swirl-icon-dark-mode.entry.db44f076.js +0 -19
  117. package/dist/swirl-icon-date-range.entry.af6a7aa7.js +0 -19
  118. package/dist/swirl-icon-delete.entry.596f4155.js +0 -19
  119. package/dist/swirl-icon-deployed-code.entry.c34ae231.js +0 -19
  120. package/dist/swirl-icon-description.entry.3c3fd04e.js +0 -19
  121. package/dist/swirl-icon-desktop.entry.a1d8fc60.js +0 -19
  122. package/dist/swirl-icon-directory-filled.entry.bc829eb3.js +0 -19
  123. package/dist/swirl-icon-directory.entry.16da61b1.js +0 -19
  124. package/dist/swirl-icon-discover.entry.fec9f1ca.js +0 -19
  125. package/dist/swirl-icon-dock-left.entry.6fe8d114.js +0 -19
  126. package/dist/swirl-icon-door-open.entry.cf7fbccb.js +0 -19
  127. package/dist/swirl-icon-dot.entry.29145055.js +0 -19
  128. package/dist/swirl-icon-double-arrow-right.entry.b815a94e.js +0 -19
  129. package/dist/swirl-icon-edit-note.entry.56e8dede.js +0 -19
  130. package/dist/swirl-icon-edit.entry.af16d49b.js +0 -19
  131. package/dist/swirl-icon-emoji-mood.entry.69180e36.js +0 -19
  132. package/dist/swirl-icon-emoji-satisfied.entry.766c5b66.js +0 -19
  133. package/dist/swirl-icon-emoji-symbols.entry.f614e8e9.js +0 -19
  134. package/dist/swirl-icon-error_3.entry.758289fb.js +0 -59
  135. package/dist/swirl-icon-expand-more.entry.154fc51a.js +0 -19
  136. package/dist/swirl-icon-experiment.entry.611e9595.js +0 -19
  137. package/dist/swirl-icon-file.entry.9d4bf48f.js +0 -19
  138. package/dist/swirl-icon-filter.entry.b67cbb25.js +0 -19
  139. package/dist/swirl-icon-folder-shared.entry.9407c286.js +0 -19
  140. package/dist/swirl-icon-format-h-one.entry.7302740f.js +0 -19
  141. package/dist/swirl-icon-format-list-bulleted.entry.55513e91.js +0 -19
  142. package/dist/swirl-icon-forward.entry.ded248ed.js +0 -19
  143. package/dist/swirl-icon-gif.entry.9b64fdbc.js +0 -19
  144. package/dist/swirl-icon-group-add.entry.7c6f3813.js +0 -19
  145. package/dist/swirl-icon-group-assign.entry.b17b4bc2.js +0 -19
  146. package/dist/swirl-icon-groups-filled.entry.3595cac3.js +0 -19
  147. package/dist/swirl-icon-groups.entry.e85a7a06.js +0 -19
  148. package/dist/swirl-icon-hamburger-menu.entry.4c326dcb.js +0 -19
  149. package/dist/swirl-icon-health-and-safety.entry.ce06d207.js +0 -19
  150. package/dist/swirl-icon-help-filled.entry.1de41152.js +0 -19
  151. package/dist/swirl-icon-help.entry.e78bf0c6.js +0 -19
  152. package/dist/swirl-icon-highlight.entry.cd0e292d.js +0 -19
  153. package/dist/swirl-icon-history.entry.2b4ad63b.js +0 -19
  154. package/dist/swirl-icon-home-filled.entry.5e2f6877.js +0 -19
  155. package/dist/swirl-icon-home.entry.ad10de0b.js +0 -19
  156. package/dist/swirl-icon-hr-resting.entry.e7735e58.js +0 -19
  157. package/dist/swirl-icon-improve-text.entry.e04ffeb9.js +0 -19
  158. package/dist/swirl-icon-info.entry.19a39662.js +0 -19
  159. package/dist/swirl-icon-insert-below.entry.c4cb0997.js +0 -19
  160. package/dist/swirl-icon-insert-chart.entry.0d696cd3.js +0 -19
  161. package/dist/swirl-icon-insert-on-top.entry.cd9d503f.js +0 -19
  162. package/dist/swirl-icon-inventory-off.entry.bcfc8043.js +0 -19
  163. package/dist/swirl-icon-inventory.entry.f5885a0c.js +0 -19
  164. package/dist/swirl-icon-iphone.entry.7c5ef281.js +0 -19
  165. package/dist/swirl-icon-key.entry.4482a2a7.js +0 -19
  166. package/dist/swirl-icon-keyboard-hide.entry.5c72f4d8.js +0 -19
  167. package/dist/swirl-icon-keyboard.entry.49a8a687.js +0 -19
  168. package/dist/swirl-icon-language.entry.4bdffbb5.js +0 -19
  169. package/dist/swirl-icon-light-mode.entry.cb097cee.js +0 -19
  170. package/dist/swirl-icon-like.entry.d0ab0715.js +0 -19
  171. package/dist/swirl-icon-link.entry.b8776d9b.js +0 -19
  172. package/dist/swirl-icon-live.entry.eb7d82ee.js +0 -19
  173. package/dist/swirl-icon-load.entry.5e6b7d42.js +0 -19
  174. package/dist/swirl-icon-location-on.entry.7df111ef.js +0 -19
  175. package/dist/swirl-icon-lock-open.entry.bd0446b7.js +0 -19
  176. package/dist/swirl-icon-lock-person.entry.c9cb98bc.js +0 -19
  177. package/dist/swirl-icon-lock.entry.f5d33ea8.js +0 -19
  178. package/dist/swirl-icon-login.entry.92a88721.js +0 -19
  179. package/dist/swirl-icon-logout.entry.17fa9c42.js +0 -19
  180. package/dist/swirl-icon-long-text.entry.2b009140.js +0 -19
  181. package/dist/swirl-icon-mail.entry.be2727f6.js +0 -19
  182. package/dist/swirl-icon-manage-accounts.entry.f5c4a64e.js +0 -19
  183. package/dist/swirl-icon-mark-chat-read.entry.63ca09f5.js +0 -19
  184. package/dist/swirl-icon-mark-chat-unread.entry.c397d062.js +0 -19
  185. package/dist/swirl-icon-mention.entry.f8ea0463.js +0 -19
  186. package/dist/swirl-icon-menu-book-filled.entry.c50384d3.js +0 -19
  187. package/dist/swirl-icon-menu-filled.entry.b4c5317c.js +0 -19
  188. package/dist/swirl-icon-menu.entry.4fed240a.js +0 -19
  189. package/dist/swirl-icon-message.entry.4a7df5a9.js +0 -19
  190. package/dist/swirl-icon-mic-off.entry.2698915b.js +0 -19
  191. package/dist/swirl-icon-mic.entry.1e0e0c18.js +0 -19
  192. package/dist/swirl-icon-more-horizontal.entry.8f60b2fe.js +0 -19
  193. package/dist/swirl-icon-more-vertikal.entry.ad00eb97.js +0 -19
  194. package/dist/swirl-icon-news-filled.entry.63390861.js +0 -19
  195. package/dist/swirl-icon-news-off.entry.d78a0922.js +0 -19
  196. package/dist/swirl-icon-news.entry.a76eeca0.js +0 -19
  197. package/dist/swirl-icon-next-plan.entry.b3e88585.js +0 -19
  198. package/dist/swirl-icon-note-stack-filled.entry.857233a4.js +0 -19
  199. package/dist/swirl-icon-note-stack.entry.5f2a0eb5.js +0 -19
  200. package/dist/swirl-icon-notifications-active.entry.bfd5a05d.js +0 -19
  201. package/dist/swirl-icon-notifications-off.entry.a7333607.js +0 -19
  202. package/dist/swirl-icon-notifications.entry.f2d1a91e.js +0 -19
  203. package/dist/swirl-icon-open-in-full.entry.5fbfea94.js +0 -19
  204. package/dist/swirl-icon-open-in-new.entry.83c9889c.js +0 -19
  205. package/dist/swirl-icon-patient-list.entry.195bf2c2.js +0 -19
  206. package/dist/swirl-icon-pause-circle.entry.3775a578.js +0 -19
  207. package/dist/swirl-icon-pause.entry.0d64236e.js +0 -19
  208. package/dist/swirl-icon-people-alt.entry.edbf06c5.js +0 -19
  209. package/dist/swirl-icon-person-check.entry.f21b2f75.js +0 -19
  210. package/dist/swirl-icon-person-off.entry.747e3831.js +0 -19
  211. package/dist/swirl-icon-person.entry.2d241312.js +0 -19
  212. package/dist/swirl-icon-phone.entry.69f19d1d.js +0 -19
  213. package/dist/swirl-icon-photo-camera.entry.9f43d86c.js +0 -19
  214. package/dist/swirl-icon-picture-in-picture.entry.a571048d.js +0 -19
  215. package/dist/swirl-icon-pin-off.entry.95940a3a.js +0 -19
  216. package/dist/swirl-icon-pin.entry.d9f2a744.js +0 -19
  217. package/dist/swirl-icon-place.entry.27872151.js +0 -19
  218. package/dist/swirl-icon-play-arrow.entry.9aa8a6ca.js +0 -19
  219. package/dist/swirl-icon-poll.entry.8d7f3f1f.js +0 -19
  220. package/dist/swirl-icon-post-approval.entry.062cad3a.js +0 -19
  221. package/dist/swirl-icon-present.entry.9127c31b.js +0 -19
  222. package/dist/swirl-icon-preview.entry.e36b1135.js +0 -19
  223. package/dist/swirl-icon-print.entry.a612b5db.js +0 -19
  224. package/dist/swirl-icon-public-off.entry.9096f6dd.js +0 -19
  225. package/dist/swirl-icon-public.entry.a96fcd7c.js +0 -19
  226. package/dist/swirl-icon-published-with-changes.entry.8d1322c1.js +0 -19
  227. package/dist/swirl-icon-ratio-four-to-three.entry.8e6c968d.js +0 -19
  228. package/dist/swirl-icon-ratio-freeform.entry.ec6bc1b2.js +0 -19
  229. package/dist/swirl-icon-ratio-sixteen-to-nine.entry.c971d434.js +0 -19
  230. package/dist/swirl-icon-ratio-square.entry.07727efc.js +0 -19
  231. package/dist/swirl-icon-ratio-three-to-four.entry.c4d2bc84.js +0 -19
  232. package/dist/swirl-icon-ratio-three-to-two.entry.d72a4af2.js +0 -19
  233. package/dist/swirl-icon-recieved.entry.9e2a992e.js +0 -19
  234. package/dist/swirl-icon-refresh.entry.3894e67e.js +0 -19
  235. package/dist/swirl-icon-remove-circle.entry.ff7d513a.js +0 -19
  236. package/dist/swirl-icon-remove-moderator.entry.9c54da6a.js +0 -19
  237. package/dist/swirl-icon-reply.entry.0bb8e50a.js +0 -19
  238. package/dist/swirl-icon-report.entry.d65c32fb.js +0 -19
  239. package/dist/swirl-icon-roadmap.entry.175d8873.js +0 -19
  240. package/dist/swirl-icon-rotate-left.entry.3d4cf93b.js +0 -19
  241. package/dist/swirl-icon-rotate-right.entry.a492e49b.js +0 -19
  242. package/dist/swirl-icon-screenshare-off.entry.f38cbce2.js +0 -19
  243. package/dist/swirl-icon-screenshare.entry.87aa7b2c.js +0 -19
  244. package/dist/swirl-icon-search-strong.entry.90f25ac2.js +0 -19
  245. package/dist/swirl-icon-search.entry.2a77d0ff.js +0 -19
  246. package/dist/swirl-icon-section.entry.9787ce40.js +0 -19
  247. package/dist/swirl-icon-secure.entry.1f74f830.js +0 -19
  248. package/dist/swirl-icon-sell.entry.cbb75022.js +0 -19
  249. package/dist/swirl-icon-send.entry.2d2f0d4c.js +0 -19
  250. package/dist/swirl-icon-settings.entry.24711d03.js +0 -19
  251. package/dist/swirl-icon-short-text.entry.4b69bace.js +0 -19
  252. package/dist/swirl-icon-simplify.entry.828ad046.js +0 -19
  253. package/dist/swirl-icon-spellcheck.entry.d26be768.js +0 -19
  254. package/dist/swirl-icon-stars.entry.c8c1a7c4.js +0 -19
  255. package/dist/swirl-icon-sticky-note.entry.0819898b.js +0 -19
  256. package/dist/swirl-icon-stop-circle.entry.51af07f2.js +0 -19
  257. package/dist/swirl-icon-stop.entry.97ddf8d6.js +0 -19
  258. package/dist/swirl-icon-sunny.entry.e2eb87b5.js +0 -19
  259. package/dist/swirl-icon-sync.entry.002b286b.js +0 -19
  260. package/dist/swirl-icon-tasks-filled.entry.00252ff0.js +0 -19
  261. package/dist/swirl-icon-tasks.entry.5aa8b016.js +0 -19
  262. package/dist/swirl-icon-terminal.entry.b238a607.js +0 -19
  263. package/dist/swirl-icon-time-filled.entry.dda53035.js +0 -19
  264. package/dist/swirl-icon-time.entry.48e8b8ed.js +0 -19
  265. package/dist/swirl-icon-today-filled.entry.b0afd102.js +0 -19
  266. package/dist/swirl-icon-translate.entry.34a98fb6.js +0 -19
  267. package/dist/swirl-icon-tree-structure.entry.23400f0d.js +0 -19
  268. package/dist/swirl-icon-undo.entry.5e0a8ee2.js +0 -19
  269. package/dist/swirl-icon-unlock-person.entry.f7787839.js +0 -19
  270. package/dist/swirl-icon-upload.entry.25e7b320.js +0 -19
  271. package/dist/swirl-icon-user-add.entry.a15f9066.js +0 -19
  272. package/dist/swirl-icon-user-assign.entry.376af42f.js +0 -19
  273. package/dist/swirl-icon-video-camera-off.entry.036e5df5.js +0 -19
  274. package/dist/swirl-icon-video-camera.entry.90d4bf7b.js +0 -19
  275. package/dist/swirl-icon-video-library.entry.c2f7aa19.js +0 -19
  276. package/dist/swirl-icon-view-agenda.entry.6c27f69e.js +0 -19
  277. package/dist/swirl-icon-voice.entry.5050a886.js +0 -19
  278. package/dist/swirl-icon-volume-up.entry.65a78ff4.js +0 -19
  279. package/dist/swirl-icon-web-asset-off.entry.0cb673d0.js +0 -19
  280. package/dist/swirl-icon-web-asset.entry.2a71a44c.js +0 -19
  281. package/dist/swirl-icon-work.entry.4a2083a8.js +0 -19
  282. package/dist/swirl-icon.entry.4d7af47f.js +0 -17
  283. package/dist/swirl-image-grid-item.entry.5ed62cbf.js +0 -93
  284. package/dist/swirl-image-grid.entry.27f29eca.js +0 -51
  285. package/dist/swirl-inline-notification.entry.c06299d7.js +0 -17
  286. package/dist/swirl-inline-status.entry.5cf0ff4b.js +0 -37
  287. package/dist/swirl-lightbox.entry.e5c29ea6.js +0 -152
  288. package/dist/swirl-link.entry.eb779f19.js +0 -17
  289. package/dist/swirl-list.entry.a378b5b6.js +0 -18
  290. package/dist/swirl-menu-item.entry.b6a45766.js +0 -86
  291. package/dist/swirl-menu.entry.4b858c00.js +0 -184
  292. package/dist/swirl-modal-shell.entry.ced927de.js +0 -45
  293. package/dist/swirl-modal.entry.964f2c0a.js +0 -177
  294. package/dist/swirl-option-list-section.entry.91145d26.js +0 -15
  295. package/dist/swirl-option-list_2.entry.29bd23e2.js +0 -293
  296. package/dist/swirl-pagination.entry.b43e8aae.js +0 -38
  297. package/dist/swirl-pdf-reader.entry.f4bf6ae6.js +0 -120
  298. package/dist/swirl-popover_2.entry.835664ad.js +0 -263
  299. package/dist/swirl-progress-indicator.entry.46e96df4.js +0 -17
  300. package/dist/swirl-radio-group.entry.be194877.js +0 -47
  301. package/dist/swirl-radio.entry.29ceebbb.js +0 -27
  302. package/dist/swirl-resource-list-file-item.entry.1821e790.js +0 -39
  303. package/dist/swirl-resource-list-item.entry.fad75ff5.js +0 -100
  304. package/dist/swirl-resource-list-section.entry.6992857e.js +0 -19
  305. package/dist/swirl-resource-list.entry.44618d0c.js +0 -158
  306. package/dist/swirl-search.entry.a4881f83.js +0 -51
  307. package/dist/swirl-select.entry.34e60f6f.js +0 -94
  308. package/dist/swirl-separator.entry.28612130.js +0 -29
  309. package/dist/swirl-shell-layout.entry.cd92e2de.js +0 -686
  310. package/dist/swirl-shell-navigation-item.entry.f4ee0081.js +0 -46
  311. package/dist/swirl-skeleton-box.entry.71f34516.js +0 -24
  312. package/dist/swirl-skeleton-text.entry.91dcab8a.js +0 -17
  313. package/dist/swirl-stack.entry.08dc85a8.js +0 -21
  314. package/dist/swirl-status-indicator.entry.d02c496a.js +0 -17
  315. package/dist/swirl-switch.entry.272c4ba2.js +0 -30
  316. package/dist/swirl-symbol-ac-unit.entry.86885c95.js +0 -17
  317. package/dist/swirl-symbol-account-circle.entry.eca73ba0.js +0 -17
  318. package/dist/swirl-symbol-alternate-email.entry.4c96c3df.js +0 -17
  319. package/dist/swirl-symbol-android.entry.3aabb332.js +0 -17
  320. package/dist/swirl-symbol-announcement.entry.53fbd841.js +0 -17
  321. package/dist/swirl-symbol-autorenew.entry.54fbabd2.js +0 -17
  322. package/dist/swirl-symbol-backup.entry.02adf0fe.js +0 -17
  323. package/dist/swirl-symbol-badge.entry.e7c9ecd9.js +0 -17
  324. package/dist/swirl-symbol-barcode-reader.entry.d53d8c07.js +0 -17
  325. package/dist/swirl-symbol-barcode-scanner.entry.5a6e9368.js +0 -17
  326. package/dist/swirl-symbol-battery-horiz.entry.6ce1afd7.js +0 -17
  327. package/dist/swirl-symbol-beach-access.entry.c87ddba7.js +0 -17
  328. package/dist/swirl-symbol-bolt.entry.0b417bc7.js +0 -17
  329. package/dist/swirl-symbol-bookmark.entry.c76e607d.js +0 -17
  330. package/dist/swirl-symbol-calendar.entry.566d6f9a.js +0 -17
  331. package/dist/swirl-symbol-campaign.entry.6af98f4f.js +0 -17
  332. package/dist/swirl-symbol-cards-star.entry.8aadfe8a.js +0 -17
  333. package/dist/swirl-symbol-cloud.entry.036cf708.js +0 -17
  334. package/dist/swirl-symbol-construction.entry.182c641e.js +0 -17
  335. package/dist/swirl-symbol-contacts.entry.584cf55d.js +0 -17
  336. package/dist/swirl-symbol-coronavirus.entry.f78cd123.js +0 -17
  337. package/dist/swirl-symbol-design-services.entry.2ca9436d.js +0 -17
  338. package/dist/swirl-symbol-desktop-windows.entry.ef6ca405.js +0 -17
  339. package/dist/swirl-symbol-directions-car-filled.entry.c933f535.js +0 -17
  340. package/dist/swirl-symbol-diversity.entry.7ebd590f.js +0 -17
  341. package/dist/swirl-symbol-draw.entry.5abb087e.js +0 -17
  342. package/dist/swirl-symbol-edit-calendar.entry.9f50df28.js +0 -17
  343. package/dist/swirl-symbol-email.entry.3b718c7a.js +0 -17
  344. package/dist/swirl-symbol-emergency.entry.c7143d75.js +0 -17
  345. package/dist/swirl-symbol-emoji-food-beverage.entry.e2d5fa89.js +0 -17
  346. package/dist/swirl-symbol-engineering.entry.12a4e5e0.js +0 -17
  347. package/dist/swirl-symbol-event-menu.entry.d828df39.js +0 -17
  348. package/dist/swirl-symbol-explore.entry.b549aa09.js +0 -17
  349. package/dist/swirl-symbol-extension.entry.01844a02.js +0 -17
  350. package/dist/swirl-symbol-facebook.entry.e075862f.js +0 -17
  351. package/dist/swirl-symbol-favorite.entry.7236e135.js +0 -17
  352. package/dist/swirl-symbol-fitness-center.entry.bb46abd9.js +0 -17
  353. package/dist/swirl-symbol-flag.entry.e158aeed.js +0 -17
  354. package/dist/swirl-symbol-flight.entry.40154cb1.js +0 -17
  355. package/dist/swirl-symbol-folder.entry.9566d75f.js +0 -17
  356. package/dist/swirl-symbol-globe.entry.4b67273f.js +0 -17
  357. package/dist/swirl-symbol-groups.entry.c335580b.js +0 -17
  358. package/dist/swirl-symbol-healing.entry.9f68504a.js +0 -17
  359. package/dist/swirl-symbol-health-and-safety.entry.9572624e.js +0 -17
  360. package/dist/swirl-symbol-help.entry.877353cb.js +0 -17
  361. package/dist/swirl-symbol-home-repair-service.entry.c65ccfb8.js +0 -17
  362. package/dist/swirl-symbol-home-storage.entry.27430dea.js +0 -17
  363. package/dist/swirl-symbol-id-card.entry.cb815b99.js +0 -17
  364. package/dist/swirl-symbol-image.entry.34620d05.js +0 -17
  365. package/dist/swirl-symbol-info-menu.entry.fc23e1cf.js +0 -17
  366. package/dist/swirl-symbol-instagram.entry.5452d0d7.js +0 -17
  367. package/dist/swirl-symbol-inventory-2.entry.171a2fb6.js +0 -17
  368. package/dist/swirl-symbol-inventory.entry.45407c7c.js +0 -17
  369. package/dist/swirl-symbol-ios.entry.ef2294e0.js +0 -17
  370. package/dist/swirl-symbol-key.entry.507c2c12.js +0 -17
  371. package/dist/swirl-symbol-language.entry.5d97cfab.js +0 -17
  372. package/dist/swirl-symbol-leaderboard.entry.8077c113.js +0 -17
  373. package/dist/swirl-symbol-lightbulb.entry.7827319e.js +0 -17
  374. package/dist/swirl-symbol-linkedin.entry.e0483e9e.js +0 -17
  375. package/dist/swirl-symbol-local-shipping.entry.37a81e80.js +0 -17
  376. package/dist/swirl-symbol-location-on.entry.c1c5f679.js +0 -17
  377. package/dist/swirl-symbol-loyalty.entry.69a23703.js +0 -17
  378. package/dist/swirl-symbol-map.entry.9f37e634.js +0 -17
  379. package/dist/swirl-symbol-maps-home-work.entry.ed2519d5.js +0 -17
  380. package/dist/swirl-symbol-menu-book.entry.cabbb0c0.js +0 -17
  381. package/dist/swirl-symbol-mop.entry.2fc183db.js +0 -17
  382. package/dist/swirl-symbol-nest-eco-leaf.entry.734466d4.js +0 -17
  383. package/dist/swirl-symbol-notifications.entry.a064cccc.js +0 -17
  384. package/dist/swirl-symbol-open-in-new.entry.b737b6f0.js +0 -17
  385. package/dist/swirl-symbol-orders.entry.b6c863e4.js +0 -17
  386. package/dist/swirl-symbol-package.entry.b7d05046.js +0 -17
  387. package/dist/swirl-symbol-palette.entry.e2187911.js +0 -17
  388. package/dist/swirl-symbol-partly-cloudy-day.entry.f8bab71a.js +0 -17
  389. package/dist/swirl-symbol-pedal-bike.entry.6eefc01f.js +0 -17
  390. package/dist/swirl-symbol-percent-discount.entry.66e324e0.js +0 -17
  391. package/dist/swirl-symbol-pets.entry.47bfce8e.js +0 -17
  392. package/dist/swirl-symbol-pinterest.entry.2b6a0588.js +0 -17
  393. package/dist/swirl-symbol-point-of-sale.entry.07f8df08.js +0 -17
  394. package/dist/swirl-symbol-policy.entry.9ef761f4.js +0 -17
  395. package/dist/swirl-symbol-precision-manufacturing.entry.8d254e62.js +0 -17
  396. package/dist/swirl-symbol-print.entry.b7b367c5.js +0 -17
  397. package/dist/swirl-symbol-push-pin.entry.d3aa7b84.js +0 -17
  398. package/dist/swirl-symbol-recycling.entry.7a6a0dc0.js +0 -17
  399. package/dist/swirl-symbol-redeem.entry.944bd5ac.js +0 -17
  400. package/dist/swirl-symbol-report-problem.entry.3d2933eb.js +0 -17
  401. package/dist/swirl-symbol-restaurant.entry.05fd0e88.js +0 -17
  402. package/dist/swirl-symbol-roadmap.entry.549abf68.js +0 -17
  403. package/dist/swirl-symbol-rocket-launch.entry.7941aa11.js +0 -17
  404. package/dist/swirl-symbol-room.entry.88a541a0.js +0 -17
  405. package/dist/swirl-symbol-savings.entry.a26509c9.js +0 -17
  406. package/dist/swirl-symbol-school.entry.3872b7c9.js +0 -17
  407. package/dist/swirl-symbol-sell.entry.113b39e8.js +0 -17
  408. package/dist/swirl-symbol-settings-voice.entry.155da2eb.js +0 -17
  409. package/dist/swirl-symbol-shopping-bag.entry.efb9d666.js +0 -17
  410. package/dist/swirl-symbol-shopping-cart.entry.ff0fe070.js +0 -17
  411. package/dist/swirl-symbol-smartphone.entry.4225fef2.js +0 -17
  412. package/dist/swirl-symbol-spa.entry.eab538cf.js +0 -17
  413. package/dist/swirl-symbol-sports-soccer.entry.a9d1c296.js +0 -17
  414. package/dist/swirl-symbol-star.entry.8c196964.js +0 -17
  415. package/dist/swirl-symbol-supervisor-account.entry.775d81b0.js +0 -17
  416. package/dist/swirl-symbol-task.entry.d8a61874.js +0 -17
  417. package/dist/swirl-symbol-tasks.entry.69ee247f.js +0 -17
  418. package/dist/swirl-symbol-thumbs-up-down.entry.6b6ef4ed.js +0 -17
  419. package/dist/swirl-symbol-timer.entry.43abd0c8.js +0 -17
  420. package/dist/swirl-symbol-tools-power-drill.entry.ca20534e.js +0 -17
  421. package/dist/swirl-symbol-train.entry.171d2856.js +0 -17
  422. package/dist/swirl-symbol-trophy.entry.4102de18.js +0 -17
  423. package/dist/swirl-symbol-twitter.entry.c3d5c43f.js +0 -17
  424. package/dist/swirl-symbol-video.entry.73f73784.js +0 -17
  425. package/dist/swirl-symbol-warehouse.entry.ed728eb9.js +0 -17
  426. package/dist/swirl-symbol-water-drop.entry.04d41843.js +0 -17
  427. package/dist/swirl-symbol-wb-sunny.entry.4b7f1f86.js +0 -17
  428. package/dist/swirl-symbol-wechat.entry.8ac429cf.js +0 -17
  429. package/dist/swirl-symbol-weibo.entry.740e17b8.js +0 -17
  430. package/dist/swirl-symbol-wifi.entry.5a0e5f59.js +0 -17
  431. package/dist/swirl-symbol-work.entry.83dca9b3.js +0 -17
  432. package/dist/swirl-symbol-xing.entry.b1702954.js +0 -17
  433. package/dist/swirl-symbol-youtube.entry.ee5279c9.js +0 -17
  434. package/dist/swirl-symbol.entry.7c26926c.js +0 -16
  435. package/dist/swirl-tab-bar.entry.0914bfe1.js +0 -65
  436. package/dist/swirl-tab.entry.4397d9e0.js +0 -17
  437. package/dist/swirl-table-cell.entry.13bca043.js +0 -15
  438. package/dist/swirl-table-column.entry.9290611f.js +0 -34
  439. package/dist/swirl-table-row-group.entry.b013be17.js +0 -35
  440. package/dist/swirl-table-row.entry.dad94401.js +0 -27
  441. package/dist/swirl-table.entry.fa1c44d2.js +0 -335
  442. package/dist/swirl-tabs.entry.491b0177.js +0 -63
  443. package/dist/swirl-text-input.entry.b6aea7d3.js +0 -93
  444. package/dist/swirl-text.entry.136adf15.js +0 -299
  445. package/dist/swirl-theme-provider.entry.0a843651.js +0 -96
  446. package/dist/swirl-thumbnail.entry.91acb04a.js +0 -20
  447. package/dist/swirl-time-input.entry.e6d3a3e6.js +0 -140
  448. package/dist/swirl-toast-provider.entry.7a0f91db.js +0 -81
  449. package/dist/swirl-toast.entry.f278b013.js +0 -55
  450. package/dist/swirl-toggle-button.entry.aada18b2.js +0 -21
  451. package/dist/swirl-toggle-group.entry.be636341.js +0 -62
  452. package/dist/swirl-toolbar.entry.4e5bed6a.js +0 -56
  453. package/dist/swirl-tooltip.entry.0a26b7d4.js +0 -114
  454. package/dist/swirl-tree-navigation-item.entry.dd705315.js +0 -73
  455. package/dist/swirl-tree-navigation.entry.1a95edea.js +0 -15
  456. package/dist/swirl-tree-view-item.entry.b143d3fd.js +0 -203
  457. package/dist/swirl-tree-view.config-BkSXzL50.94f4a648.js +0 -24
  458. package/dist/swirl-tree-view.entry.983ad325.js +0 -222
  459. package/dist/swirl-video-thumbnail.entry.b8216f3d.js +0 -15
  460. package/dist/swirl-visually-hidden.entry.d20b75ef.js +0 -15
  461. package/dist/utils-CCck-DTo.e4e43b6a.js +0 -119
  462. package/dist/v4-DD3477fe.2624487e.js +0 -27
  463. package/dist/wc-datepicker.entry.3cbe56b3.js +0 -380
@@ -1,1240 +0,0 @@
1
- /**!
2
- * Sortable 1.15.6
3
- * @author RubaXa <trash@rubaxa.org>
4
- * @author owenm <owen23355@gmail.com>
5
- * @license MIT
6
- */
7
- function se(o, t) {
8
- var e = Object.keys(o);
9
- if (Object.getOwnPropertySymbols) {
10
- var n = Object.getOwnPropertySymbols(o);
11
- t && (n = n.filter(function(i) {
12
- return Object.getOwnPropertyDescriptor(o, i).enumerable;
13
- })), e.push.apply(e, n);
14
- }
15
- return e;
16
- }
17
- function z(o) {
18
- for (var t = 1; t < arguments.length; t++) {
19
- var e = arguments[t] != null ? arguments[t] : {};
20
- t % 2 ? se(Object(e), !0).forEach(function(n) {
21
- Me(o, n, e[n]);
22
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(e)) : se(Object(e)).forEach(function(n) {
23
- Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(e, n));
24
- });
25
- }
26
- return o;
27
- }
28
- function Mt(o) {
29
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Mt = function(t) {
30
- return typeof t;
31
- } : Mt = function(t) {
32
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
33
- }, Mt(o);
34
- }
35
- function Me(o, t, e) {
36
- return t in o ? Object.defineProperty(o, t, {
37
- value: e,
38
- enumerable: !0,
39
- configurable: !0,
40
- writable: !0
41
- }) : o[t] = e, o;
42
- }
43
- function q() {
44
- return q = Object.assign || function(o) {
45
- for (var t = 1; t < arguments.length; t++) {
46
- var e = arguments[t];
47
- for (var n in e)
48
- Object.prototype.hasOwnProperty.call(e, n) && (o[n] = e[n]);
49
- }
50
- return o;
51
- }, q.apply(this, arguments);
52
- }
53
- function Fe(o, t) {
54
- if (o == null)
55
- return {};
56
- var e = {}, n = Object.keys(o), i, r;
57
- for (r = 0; r < n.length; r++)
58
- i = n[r], !(t.indexOf(i) >= 0) && (e[i] = o[i]);
59
- return e;
60
- }
61
- function Re(o, t) {
62
- if (o == null)
63
- return {};
64
- var e = Fe(o, t), n, i;
65
- if (Object.getOwnPropertySymbols) {
66
- var r = Object.getOwnPropertySymbols(o);
67
- for (i = 0; i < r.length; i++)
68
- n = r[i], !(t.indexOf(n) >= 0) && (!Object.prototype.propertyIsEnumerable.call(o, n) || (e[n] = o[n]));
69
- }
70
- return e;
71
- }
72
- var Xe = "1.15.6";
73
- function U(o) {
74
- if (typeof window < "u" && window.navigator)
75
- return !!/* @__PURE__ */ navigator.userAgent.match(o);
76
- }
77
- var V = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ct = U(/Edge/i), ue = U(/firefox/i), wt = U(/safari/i) && !U(/chrome/i) && !U(/android/i), oe = U(/iP(ad|od|hone)/i), ve = U(/chrome/i) && U(/android/i), be = {
78
- capture: !1,
79
- passive: !1
80
- };
81
- function v(o, t, e) {
82
- o.addEventListener(t, e, !V && be);
83
- }
84
- function m(o, t, e) {
85
- o.removeEventListener(t, e, !V && be);
86
- }
87
- function kt(o, t) {
88
- if (!!t) {
89
- if (t[0] === ">" && (t = t.substring(1)), o)
90
- try {
91
- if (o.matches)
92
- return o.matches(t);
93
- if (o.msMatchesSelector)
94
- return o.msMatchesSelector(t);
95
- if (o.webkitMatchesSelector)
96
- return o.webkitMatchesSelector(t);
97
- } catch {
98
- return !1;
99
- }
100
- return !1;
101
- }
102
- }
103
- function Ee(o) {
104
- return o.host && o !== document && o.host.nodeType ? o.host : o.parentNode;
105
- }
106
- function W(o, t, e, n) {
107
- if (o) {
108
- e = e || document;
109
- do {
110
- if (t != null && (t[0] === ">" ? o.parentNode === e && kt(o, t) : kt(o, t)) || n && o === e)
111
- return o;
112
- if (o === e)
113
- break;
114
- } while (o = Ee(o));
115
- }
116
- return null;
117
- }
118
- var fe = /\s+/g;
119
- function R(o, t, e) {
120
- if (o && t)
121
- if (o.classList)
122
- o.classList[e ? "add" : "remove"](t);
123
- else {
124
- var n = (" " + o.className + " ").replace(fe, " ").replace(" " + t + " ", " ");
125
- o.className = (n + (e ? " " + t : "")).replace(fe, " ");
126
- }
127
- }
128
- function h(o, t, e) {
129
- var n = o && o.style;
130
- if (n) {
131
- if (e === void 0)
132
- return document.defaultView && document.defaultView.getComputedStyle ? e = document.defaultView.getComputedStyle(o, "") : o.currentStyle && (e = o.currentStyle), t === void 0 ? e : e[t];
133
- !(t in n) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), n[t] = e + (typeof e == "string" ? "" : "px");
134
- }
135
- }
136
- function ct(o, t) {
137
- var e = "";
138
- if (typeof o == "string")
139
- e = o;
140
- else
141
- do {
142
- var n = h(o, "transform");
143
- n && n !== "none" && (e = n + " " + e);
144
- } while (!t && (o = o.parentNode));
145
- var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
146
- return i && new i(e);
147
- }
148
- function ye(o, t, e) {
149
- if (o) {
150
- var n = o.getElementsByTagName(t), i = 0, r = n.length;
151
- if (e)
152
- for (; i < r; i++)
153
- e(n[i], i);
154
- return n;
155
- }
156
- return [];
157
- }
158
- function L() {
159
- var o = document.scrollingElement;
160
- return o || document.documentElement;
161
- }
162
- function C(o, t, e, n, i) {
163
- if (!(!o.getBoundingClientRect && o !== window)) {
164
- var r, a, l, s, u, d, c;
165
- if (o !== window && o.parentNode && o !== L() ? (r = o.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, d = r.height, c = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (t || e) && o !== window && (i = i || o.parentNode, !V))
166
- do
167
- if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || e && h(i, "position") !== "static")) {
168
- var b = i.getBoundingClientRect();
169
- a -= b.top + parseInt(h(i, "border-top-width")), l -= b.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
170
- break;
171
- }
172
- while (i = i.parentNode);
173
- if (n && o !== window) {
174
- var w = ct(i || o), E = w && w.a, y = w && w.d;
175
- w && (a /= y, l /= E, c /= E, d /= y, s = a + d, u = l + c);
176
- }
177
- return {
178
- top: a,
179
- left: l,
180
- bottom: s,
181
- right: u,
182
- width: c,
183
- height: d
184
- };
185
- }
186
- }
187
- function ce(o, t, e) {
188
- for (var n = tt(o, !0), i = C(o)[t]; n; ) {
189
- var r = C(n)[e], a = void 0;
190
- if (a = i >= r, !a)
191
- return n;
192
- if (n === L())
193
- break;
194
- n = tt(n, !1);
195
- }
196
- return !1;
197
- }
198
- function dt(o, t, e, n) {
199
- for (var i = 0, r = 0, a = o.children; r < a.length; ) {
200
- if (a[r].style.display !== "none" && a[r] !== p.ghost && (n || a[r] !== p.dragged) && W(a[r], e.draggable, o, !1)) {
201
- if (i === t)
202
- return a[r];
203
- i++;
204
- }
205
- r++;
206
- }
207
- return null;
208
- }
209
- function ie(o, t) {
210
- for (var e = o.lastElementChild; e && (e === p.ghost || h(e, "display") === "none" || t && !kt(e, t)); )
211
- e = e.previousElementSibling;
212
- return e || null;
213
- }
214
- function Y(o, t) {
215
- var e = 0;
216
- if (!o || !o.parentNode)
217
- return -1;
218
- for (; o = o.previousElementSibling; )
219
- o.nodeName.toUpperCase() !== "TEMPLATE" && o !== p.clone && (!t || kt(o, t)) && e++;
220
- return e;
221
- }
222
- function de(o) {
223
- var t = 0, e = 0, n = L();
224
- if (o)
225
- do {
226
- var i = ct(o), r = i.a, a = i.d;
227
- t += o.scrollLeft * r, e += o.scrollTop * a;
228
- } while (o !== n && (o = o.parentNode));
229
- return [t, e];
230
- }
231
- function Ye(o, t) {
232
- for (var e in o)
233
- if (!!o.hasOwnProperty(e)) {
234
- for (var n in t)
235
- if (t.hasOwnProperty(n) && t[n] === o[e][n])
236
- return Number(e);
237
- }
238
- return -1;
239
- }
240
- function tt(o, t) {
241
- if (!o || !o.getBoundingClientRect)
242
- return L();
243
- var e = o, n = !1;
244
- do
245
- if (e.clientWidth < e.scrollWidth || e.clientHeight < e.scrollHeight) {
246
- var i = h(e);
247
- if (e.clientWidth < e.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
248
- if (!e.getBoundingClientRect || e === document.body)
249
- return L();
250
- if (n || t)
251
- return e;
252
- n = !0;
253
- }
254
- }
255
- while (e = e.parentNode);
256
- return L();
257
- }
258
- function ke(o, t) {
259
- if (o && t)
260
- for (var e in t)
261
- t.hasOwnProperty(e) && (o[e] = t[e]);
262
- return o;
263
- }
264
- function zt(o, t) {
265
- return Math.round(o.top) === Math.round(t.top) && Math.round(o.left) === Math.round(t.left) && Math.round(o.height) === Math.round(t.height) && Math.round(o.width) === Math.round(t.width);
266
- }
267
- var _t;
268
- function we(o, t) {
269
- return function() {
270
- if (!_t) {
271
- var e = arguments, n = this;
272
- e.length === 1 ? o.call(n, e[0]) : o.apply(n, e), _t = setTimeout(function() {
273
- _t = void 0;
274
- }, t);
275
- }
276
- };
277
- }
278
- function Be() {
279
- clearTimeout(_t), _t = void 0;
280
- }
281
- function _e(o, t, e) {
282
- o.scrollLeft += t, o.scrollTop += e;
283
- }
284
- function De(o) {
285
- var t = window.Polymer, e = window.jQuery || window.Zepto;
286
- return t && t.dom ? t.dom(o).cloneNode(!0) : e ? e(o).clone(!0)[0] : o.cloneNode(!0);
287
- }
288
- function Se(o, t, e) {
289
- var n = {};
290
- return Array.from(o.children).forEach(function(i) {
291
- var r, a, l, s;
292
- if (!(!W(i, t.draggable, o, !1) || i.animated || i === e)) {
293
- var u = C(i);
294
- n.left = Math.min((r = n.left) !== null && r !== void 0 ? r : 1 / 0, u.left), n.top = Math.min((a = n.top) !== null && a !== void 0 ? a : 1 / 0, u.top), n.right = Math.max((l = n.right) !== null && l !== void 0 ? l : -1 / 0, u.right), n.bottom = Math.max((s = n.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
295
- }
296
- }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
297
- }
298
- var N = "Sortable" + new Date().getTime();
299
- function He() {
300
- var o = [], t;
301
- return {
302
- captureAnimationState: function() {
303
- if (o = [], !!this.options.animation) {
304
- var n = [].slice.call(this.el.children);
305
- n.forEach(function(i) {
306
- if (!(h(i, "display") === "none" || i === p.ghost)) {
307
- o.push({
308
- target: i,
309
- rect: C(i)
310
- });
311
- var r = z({}, o[o.length - 1].rect);
312
- if (i.thisAnimationDuration) {
313
- var a = ct(i, !0);
314
- a && (r.top -= a.f, r.left -= a.e);
315
- }
316
- i.fromRect = r;
317
- }
318
- });
319
- }
320
- },
321
- addAnimationState: function(n) {
322
- o.push(n);
323
- },
324
- removeAnimationState: function(n) {
325
- o.splice(Ye(o, {
326
- target: n
327
- }), 1);
328
- },
329
- animateAll: function(n) {
330
- var i = this;
331
- if (!this.options.animation) {
332
- clearTimeout(t), typeof n == "function" && n();
333
- return;
334
- }
335
- var r = !1, a = 0;
336
- o.forEach(function(l) {
337
- var s = 0, u = l.target, d = u.fromRect, c = C(u), b = u.prevFromRect, w = u.prevToRect, E = l.rect, y = ct(u, !0);
338
- y && (c.top -= y.f, c.left -= y.e), u.toRect = c, u.thisAnimationDuration && zt(b, c) && !zt(d, c) && (E.top - c.top) / (E.left - c.left) === (d.top - c.top) / (d.left - c.left) && (s = Ge(E, b, w, i.options)), zt(c, d) || (u.prevFromRect = d, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, E, c, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
339
- u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
340
- }, s), u.thisAnimationDuration = s);
341
- }), clearTimeout(t), r ? t = setTimeout(function() {
342
- typeof n == "function" && n();
343
- }, a) : typeof n == "function" && n(), o = [];
344
- },
345
- animate: function(n, i, r, a) {
346
- if (a) {
347
- h(n, "transition", ""), h(n, "transform", "");
348
- var l = ct(this.el), s = l && l.a, u = l && l.d, d = (i.left - r.left) / (s || 1), c = (i.top - r.top) / (u || 1);
349
- n.animatingX = !!d, n.animatingY = !!c, h(n, "transform", "translate3d(" + d + "px," + c + "px,0)"), this.forRepaintDummy = We(n), h(n, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
350
- h(n, "transition", ""), h(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
351
- }, a);
352
- }
353
- }
354
- };
355
- }
356
- function We(o) {
357
- return o.offsetWidth;
358
- }
359
- function Ge(o, t, e, n) {
360
- return Math.sqrt(Math.pow(t.top - o.top, 2) + Math.pow(t.left - o.left, 2)) / Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) * n.animation;
361
- }
362
- var lt = [], jt = {
363
- initializeByDefault: !0
364
- }, Ot = {
365
- mount: function(t) {
366
- for (var e in jt)
367
- jt.hasOwnProperty(e) && !(e in t) && (t[e] = jt[e]);
368
- lt.forEach(function(n) {
369
- if (n.pluginName === t.pluginName)
370
- throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
371
- }), lt.push(t);
372
- },
373
- pluginEvent: function(t, e, n) {
374
- var i = this;
375
- this.eventCanceled = !1, n.cancel = function() {
376
- i.eventCanceled = !0;
377
- };
378
- var r = t + "Global";
379
- lt.forEach(function(a) {
380
- !e[a.pluginName] || (e[a.pluginName][r] && e[a.pluginName][r](z({
381
- sortable: e
382
- }, n)), e.options[a.pluginName] && e[a.pluginName][t] && e[a.pluginName][t](z({
383
- sortable: e
384
- }, n)));
385
- });
386
- },
387
- initializePlugins: function(t, e, n, i) {
388
- lt.forEach(function(l) {
389
- var s = l.pluginName;
390
- if (!(!t.options[s] && !l.initializeByDefault)) {
391
- var u = new l(t, e, t.options);
392
- u.sortable = t, u.options = t.options, t[s] = u, q(n, u.defaults);
393
- }
394
- });
395
- for (var r in t.options)
396
- if (!!t.options.hasOwnProperty(r)) {
397
- var a = this.modifyOption(t, r, t.options[r]);
398
- typeof a < "u" && (t.options[r] = a);
399
- }
400
- },
401
- getEventProperties: function(t, e) {
402
- var n = {};
403
- return lt.forEach(function(i) {
404
- typeof i.eventProperties == "function" && q(n, i.eventProperties.call(e[i.pluginName], t));
405
- }), n;
406
- },
407
- modifyOption: function(t, e, n) {
408
- var i;
409
- return lt.forEach(function(r) {
410
- !t[r.pluginName] || r.optionListeners && typeof r.optionListeners[e] == "function" && (i = r.optionListeners[e].call(t[r.pluginName], n));
411
- }), i;
412
- }
413
- };
414
- function Le(o) {
415
- var t = o.sortable, e = o.rootEl, n = o.name, i = o.targetEl, r = o.cloneEl, a = o.toEl, l = o.fromEl, s = o.oldIndex, u = o.newIndex, d = o.oldDraggableIndex, c = o.newDraggableIndex, b = o.originalEvent, w = o.putSortable, E = o.extraEventProperties;
416
- if (t = t || e && e[N], !!t) {
417
- var y, k = t.options, j = "on" + n.charAt(0).toUpperCase() + n.substr(1);
418
- window.CustomEvent && !V && !Ct ? y = new CustomEvent(n, {
419
- bubbles: !0,
420
- cancelable: !0
421
- }) : (y = document.createEvent("Event"), y.initEvent(n, !0, !0)), y.to = a || e, y.from = l || e, y.item = i || e, y.clone = r, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = d, y.newDraggableIndex = c, y.originalEvent = b, y.pullMode = w ? w.lastPutMode : void 0;
422
- var A = z(z({}, E), Ot.getEventProperties(n, t));
423
- for (var B in A)
424
- y[B] = A[B];
425
- e && e.dispatchEvent(y), k[j] && k[j].call(t, y);
426
- }
427
- }
428
- var ze = ["evt"], x = function(t, e) {
429
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, r = Re(n, ze);
430
- Ot.pluginEvent.bind(p)(t, e, z({
431
- dragEl: f,
432
- parentEl: S,
433
- ghostEl: g,
434
- rootEl: _,
435
- nextEl: at,
436
- lastDownEl: Ft,
437
- cloneEl: D,
438
- cloneHidden: J,
439
- dragStarted: bt,
440
- putSortable: O,
441
- activeSortable: p.active,
442
- originalEvent: i,
443
- oldIndex: ft,
444
- oldDraggableIndex: Dt,
445
- newIndex: X,
446
- newDraggableIndex: Q,
447
- hideGhostForTarget: Ie,
448
- unhideGhostForTarget: Ae,
449
- cloneNowHidden: function() {
450
- J = !0;
451
- },
452
- cloneNowShown: function() {
453
- J = !1;
454
- },
455
- dispatchSortableEvent: function(l) {
456
- P({
457
- sortable: e,
458
- name: l,
459
- originalEvent: i
460
- });
461
- }
462
- }, r));
463
- };
464
- function P(o) {
465
- Le(z({
466
- putSortable: O,
467
- cloneEl: D,
468
- targetEl: f,
469
- rootEl: _,
470
- oldIndex: ft,
471
- oldDraggableIndex: Dt,
472
- newIndex: X,
473
- newDraggableIndex: Q
474
- }, o));
475
- }
476
- var f, S, g, _, at, Ft, D, J, ft, X, Dt, Q, At, O, ut = !1, Bt = !1, Ht = [], it, H, $t, Ut, he, pe, bt, st, St, Tt = !1, Pt = !1, Rt, I, qt = [], Jt = !1, Wt = [], Lt = typeof document < "u", xt = oe, ge = Ct || V ? "cssFloat" : "float", je = Lt && !ve && !oe && "draggable" in document.createElement("div"), Te = function() {
477
- if (!!Lt) {
478
- if (V)
479
- return !1;
480
- var o = document.createElement("x");
481
- return o.style.cssText = "pointer-events:auto", o.style.pointerEvents === "auto";
482
- }
483
- }(), Ce = function(t, e) {
484
- var n = h(t), i = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), r = dt(t, 0, e), a = dt(t, 1, e), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + C(r).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + C(a).width;
485
- if (n.display === "flex")
486
- return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
487
- if (n.display === "grid")
488
- return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
489
- if (r && l.float && l.float !== "none") {
490
- var c = l.float === "left" ? "left" : "right";
491
- return a && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
492
- }
493
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && n[ge] === "none" || a && n[ge] === "none" && u + d > i) ? "vertical" : "horizontal";
494
- }, $e = function(t, e, n) {
495
- var i = n ? t.left : t.top, r = n ? t.right : t.bottom, a = n ? t.width : t.height, l = n ? e.left : e.top, s = n ? e.right : e.bottom, u = n ? e.width : e.height;
496
- return i === l || r === s || i + a / 2 === l + u / 2;
497
- }, Ue = function(t, e) {
498
- var n;
499
- return Ht.some(function(i) {
500
- var r = i[N].options.emptyInsertThreshold;
501
- if (!(!r || ie(i))) {
502
- var a = C(i), l = t >= a.left - r && t <= a.right + r, s = e >= a.top - r && e <= a.bottom + r;
503
- if (l && s)
504
- return n = i;
505
- }
506
- }), n;
507
- }, Oe = function(t) {
508
- function e(r, a) {
509
- return function(l, s, u, d) {
510
- var c = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
511
- if (r == null && (a || c))
512
- return !0;
513
- if (r == null || r === !1)
514
- return !1;
515
- if (a && r === "clone")
516
- return r;
517
- if (typeof r == "function")
518
- return e(r(l, s, u, d), a)(l, s, u, d);
519
- var b = (a ? l : s).options.group.name;
520
- return r === !0 || typeof r == "string" && r === b || r.join && r.indexOf(b) > -1;
521
- };
522
- }
523
- var n = {}, i = t.group;
524
- (!i || Mt(i) != "object") && (i = {
525
- name: i
526
- }), n.name = i.name, n.checkPull = e(i.pull, !0), n.checkPut = e(i.put), n.revertClone = i.revertClone, t.group = n;
527
- }, Ie = function() {
528
- !Te && g && h(g, "display", "none");
529
- }, Ae = function() {
530
- !Te && g && h(g, "display", "");
531
- };
532
- Lt && !ve && document.addEventListener("click", function(o) {
533
- if (Bt)
534
- return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(), Bt = !1, !1;
535
- }, !0);
536
- var rt = function(t) {
537
- if (f) {
538
- t = t.touches ? t.touches[0] : t;
539
- var e = Ue(t.clientX, t.clientY);
540
- if (e) {
541
- var n = {};
542
- for (var i in t)
543
- t.hasOwnProperty(i) && (n[i] = t[i]);
544
- n.target = n.rootEl = e, n.preventDefault = void 0, n.stopPropagation = void 0, e[N]._onDragOver(n);
545
- }
546
- }
547
- }, qe = function(t) {
548
- f && f.parentNode[N]._isOutsideThisEl(t.target);
549
- };
550
- function p(o, t) {
551
- if (!(o && o.nodeType && o.nodeType === 1))
552
- throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));
553
- this.el = o, this.options = t = q({}, t), o[N] = this;
554
- var e = {
555
- group: null,
556
- sort: !0,
557
- disabled: !1,
558
- store: null,
559
- handle: null,
560
- draggable: /^[uo]l$/i.test(o.nodeName) ? ">li" : ">*",
561
- swapThreshold: 1,
562
- invertSwap: !1,
563
- invertedSwapThreshold: null,
564
- removeCloneOnHide: !0,
565
- direction: function() {
566
- return Ce(o, this.options);
567
- },
568
- ghostClass: "sortable-ghost",
569
- chosenClass: "sortable-chosen",
570
- dragClass: "sortable-drag",
571
- ignore: "a, img",
572
- filter: null,
573
- preventOnFilter: !0,
574
- animation: 0,
575
- easing: null,
576
- setData: function(a, l) {
577
- a.setData("Text", l.textContent);
578
- },
579
- dropBubble: !1,
580
- dragoverBubble: !1,
581
- dataIdAttr: "data-id",
582
- delay: 0,
583
- delayOnTouchOnly: !1,
584
- touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
585
- forceFallback: !1,
586
- fallbackClass: "sortable-fallback",
587
- fallbackOnBody: !1,
588
- fallbackTolerance: 0,
589
- fallbackOffset: {
590
- x: 0,
591
- y: 0
592
- },
593
- supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!wt || oe),
594
- emptyInsertThreshold: 5
595
- };
596
- Ot.initializePlugins(this, o, e);
597
- for (var n in e)
598
- !(n in t) && (t[n] = e[n]);
599
- Oe(t);
600
- for (var i in this)
601
- i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
602
- this.nativeDraggable = t.forceFallback ? !1 : je, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? v(o, "pointerdown", this._onTapStart) : (v(o, "mousedown", this._onTapStart), v(o, "touchstart", this._onTapStart)), this.nativeDraggable && (v(o, "dragover", this), v(o, "dragenter", this)), Ht.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), q(this, He());
603
- }
604
- p.prototype = {
605
- constructor: p,
606
- _isOutsideThisEl: function(t) {
607
- !this.el.contains(t) && t !== this.el && (st = null);
608
- },
609
- _getDirection: function(t, e) {
610
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, e, f) : this.options.direction;
611
- },
612
- _onTapStart: function(t) {
613
- if (!!t.cancelable) {
614
- var e = this, n = this.el, i = this.options, r = i.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, d = i.filter;
615
- if (nn(n), !f && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wt && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, i.draggable, n, !1), !(s && s.animated) && Ft !== s)) {
616
- if (ft = Y(s), Dt = Y(s, i.draggable), typeof d == "function") {
617
- if (d.call(this, t, s, this)) {
618
- P({
619
- sortable: e,
620
- rootEl: u,
621
- name: "filter",
622
- targetEl: s,
623
- toEl: n,
624
- fromEl: n
625
- }), x("filter", e, {
626
- evt: t
627
- }), r && t.preventDefault();
628
- return;
629
- }
630
- } else if (d && (d = d.split(",").some(function(c) {
631
- if (c = W(u, c.trim(), n, !1), c)
632
- return P({
633
- sortable: e,
634
- rootEl: c,
635
- name: "filter",
636
- targetEl: s,
637
- fromEl: n,
638
- toEl: n
639
- }), x("filter", e, {
640
- evt: t
641
- }), !0;
642
- }), d)) {
643
- r && t.preventDefault();
644
- return;
645
- }
646
- i.handle && !W(u, i.handle, n, !1) || this._prepareDragStart(t, l, s);
647
- }
648
- }
649
- },
650
- _prepareDragStart: function(t, e, n) {
651
- var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
652
- if (n && !f && n.parentNode === r) {
653
- var u = C(n);
654
- if (_ = r, f = n, S = f.parentNode, at = f.nextSibling, Ft = n, At = a.group, p.dragged = f, it = {
655
- target: f,
656
- clientX: (e || t).clientX,
657
- clientY: (e || t).clientY
658
- }, he = it.clientX - u.left, pe = it.clientY - u.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, f.style["will-change"] = "all", s = function() {
659
- if (x("delayEnded", i, {
660
- evt: t
661
- }), p.eventCanceled) {
662
- i._onDrop();
663
- return;
664
- }
665
- i._disableDelayedDragEvents(), !ue && i.nativeDraggable && (f.draggable = !0), i._triggerDragStart(t, e), P({
666
- sortable: i,
667
- name: "choose",
668
- originalEvent: t
669
- }), R(f, a.chosenClass, !0);
670
- }, a.ignore.split(",").forEach(function(d) {
671
- ye(f, d.trim(), Vt);
672
- }), v(l, "dragover", rt), v(l, "mousemove", rt), v(l, "touchmove", rt), a.supportPointer ? (v(l, "pointerup", i._onDrop), !this.nativeDraggable && v(l, "pointercancel", i._onDrop)) : (v(l, "mouseup", i._onDrop), v(l, "touchend", i._onDrop), v(l, "touchcancel", i._onDrop)), ue && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), x("delayStart", this, {
673
- evt: t
674
- }), a.delay && (!a.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Ct || V))) {
675
- if (p.eventCanceled) {
676
- this._onDrop();
677
- return;
678
- }
679
- a.supportPointer ? (v(l, "pointerup", i._disableDelayedDrag), v(l, "pointercancel", i._disableDelayedDrag)) : (v(l, "mouseup", i._disableDelayedDrag), v(l, "touchend", i._disableDelayedDrag), v(l, "touchcancel", i._disableDelayedDrag)), v(l, "mousemove", i._delayedDragTouchMoveHandler), v(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && v(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
680
- } else
681
- s();
682
- }
683
- },
684
- _delayedDragTouchMoveHandler: function(t) {
685
- var e = t.touches ? t.touches[0] : t;
686
- Math.max(Math.abs(e.clientX - this._lastX), Math.abs(e.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
687
- },
688
- _disableDelayedDrag: function() {
689
- f && Vt(f), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
690
- },
691
- _disableDelayedDragEvents: function() {
692
- var t = this.el.ownerDocument;
693
- m(t, "mouseup", this._disableDelayedDrag), m(t, "touchend", this._disableDelayedDrag), m(t, "touchcancel", this._disableDelayedDrag), m(t, "pointerup", this._disableDelayedDrag), m(t, "pointercancel", this._disableDelayedDrag), m(t, "mousemove", this._delayedDragTouchMoveHandler), m(t, "touchmove", this._delayedDragTouchMoveHandler), m(t, "pointermove", this._delayedDragTouchMoveHandler);
694
- },
695
- _triggerDragStart: function(t, e) {
696
- e = e || t.pointerType == "touch" && t, !this.nativeDraggable || e ? this.options.supportPointer ? v(document, "pointermove", this._onTouchMove) : e ? v(document, "touchmove", this._onTouchMove) : v(document, "mousemove", this._onTouchMove) : (v(f, "dragend", this), v(_, "dragstart", this._onDragStart));
697
- try {
698
- document.selection ? Xt(function() {
699
- document.selection.empty();
700
- }) : window.getSelection().removeAllRanges();
701
- } catch {
702
- }
703
- },
704
- _dragStarted: function(t, e) {
705
- if (ut = !1, _ && f) {
706
- x("dragStarted", this, {
707
- evt: e
708
- }), this.nativeDraggable && v(document, "dragover", qe);
709
- var n = this.options;
710
- !t && R(f, n.dragClass, !1), R(f, n.ghostClass, !0), p.active = this, t && this._appendGhost(), P({
711
- sortable: this,
712
- name: "start",
713
- originalEvent: e
714
- });
715
- } else
716
- this._nulling();
717
- },
718
- _emulateDragOver: function() {
719
- if (H) {
720
- this._lastX = H.clientX, this._lastY = H.clientY, Ie();
721
- for (var t = document.elementFromPoint(H.clientX, H.clientY), e = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(H.clientX, H.clientY), t !== e); )
722
- e = t;
723
- if (f.parentNode[N]._isOutsideThisEl(t), e)
724
- do {
725
- if (e[N]) {
726
- var n = void 0;
727
- if (n = e[N]._onDragOver({
728
- clientX: H.clientX,
729
- clientY: H.clientY,
730
- target: t,
731
- rootEl: e
732
- }), n && !this.options.dragoverBubble)
733
- break;
734
- }
735
- t = e;
736
- } while (e = Ee(e));
737
- Ae();
738
- }
739
- },
740
- _onTouchMove: function(t) {
741
- if (it) {
742
- var e = this.options, n = e.fallbackTolerance, i = e.fallbackOffset, r = t.touches ? t.touches[0] : t, a = g && ct(g, !0), l = g && a && a.a, s = g && a && a.d, u = xt && I && de(I), d = (r.clientX - it.clientX + i.x) / (l || 1) + (u ? u[0] - qt[0] : 0) / (l || 1), c = (r.clientY - it.clientY + i.y) / (s || 1) + (u ? u[1] - qt[1] : 0) / (s || 1);
743
- if (!p.active && !ut) {
744
- if (n && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < n)
745
- return;
746
- this._onDragStart(t, !0);
747
- }
748
- if (g) {
749
- a ? (a.e += d - ($t || 0), a.f += c - (Ut || 0)) : a = {
750
- a: 1,
751
- b: 0,
752
- c: 0,
753
- d: 1,
754
- e: d,
755
- f: c
756
- };
757
- var b = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
758
- h(g, "webkitTransform", b), h(g, "mozTransform", b), h(g, "msTransform", b), h(g, "transform", b), $t = d, Ut = c, H = r;
759
- }
760
- t.cancelable && t.preventDefault();
761
- }
762
- },
763
- _appendGhost: function() {
764
- if (!g) {
765
- var t = this.options.fallbackOnBody ? document.body : _, e = C(f, !0, xt, !0, t), n = this.options;
766
- if (xt) {
767
- for (I = t; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
768
- I = I.parentNode;
769
- I !== document.body && I !== document.documentElement ? (I === document && (I = L()), e.top += I.scrollTop, e.left += I.scrollLeft) : I = L(), qt = de(I);
770
- }
771
- g = f.cloneNode(!0), R(g, n.ghostClass, !1), R(g, n.fallbackClass, !0), R(g, n.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", e.top), h(g, "left", e.left), h(g, "width", e.width), h(g, "height", e.height), h(g, "opacity", "0.8"), h(g, "position", xt ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, t.appendChild(g), h(g, "transform-origin", he / parseInt(g.style.width) * 100 + "% " + pe / parseInt(g.style.height) * 100 + "%");
772
- }
773
- },
774
- _onDragStart: function(t, e) {
775
- var n = this, i = t.dataTransfer, r = n.options;
776
- if (x("dragStart", this, {
777
- evt: t
778
- }), p.eventCanceled) {
779
- this._onDrop();
780
- return;
781
- }
782
- x("setupClone", this), p.eventCanceled || (D = De(f), D.removeAttribute("id"), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), R(D, this.options.chosenClass, !1), p.clone = D), n.cloneId = Xt(function() {
783
- x("clone", n), !p.eventCanceled && (n.options.removeCloneOnHide || _.insertBefore(D, f), n._hideClone(), P({
784
- sortable: n,
785
- name: "clone"
786
- }));
787
- }), !e && R(f, r.dragClass, !0), e ? (Bt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (m(document, "mouseup", n._onDrop), m(document, "touchend", n._onDrop), m(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(n, i, f)), v(document, "drop", n), h(f, "transform", "translateZ(0)")), ut = !0, n._dragStartId = Xt(n._dragStarted.bind(n, e, t)), v(document, "selectstart", n), bt = !0, window.getSelection().removeAllRanges(), wt && h(document.body, "user-select", "none");
788
- },
789
- _onDragOver: function(t) {
790
- var e = this.el, n = t.target, i, r, a, l = this.options, s = l.group, u = p.active, d = At === s, c = l.sort, b = O || u, w, E = this, y = !1;
791
- if (Jt)
792
- return;
793
- function k(vt, xe) {
794
- x(vt, E, z({
795
- evt: t,
796
- isOwner: d,
797
- axis: w ? "vertical" : "horizontal",
798
- revert: a,
799
- dragRect: i,
800
- targetRect: r,
801
- canSort: c,
802
- fromSortable: b,
803
- target: n,
804
- completed: A,
805
- onMove: function(le, Ne) {
806
- return Nt(_, e, f, i, le, C(le), t, Ne);
807
- },
808
- changed: B
809
- }, xe));
810
- }
811
- function j() {
812
- k("dragOverAnimationCapture"), E.captureAnimationState(), E !== b && b.captureAnimationState();
813
- }
814
- function A(vt) {
815
- return k("dragOverCompleted", {
816
- insertion: vt
817
- }), vt && (d ? u._hideClone() : u._showClone(E), E !== b && (R(f, O ? O.options.ghostClass : u.options.ghostClass, !1), R(f, l.ghostClass, !0)), O !== E && E !== p.active ? O = E : E === p.active && O && (O = null), b === E && (E._ignoreWhileAnimating = n), E.animateAll(function() {
818
- k("dragOverAnimationComplete"), E._ignoreWhileAnimating = null;
819
- }), E !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (n === f && !f.animated || n === e && !n.animated) && (st = null), !l.dragoverBubble && !t.rootEl && n !== document && (f.parentNode[N]._isOutsideThisEl(t.target), !vt && rt(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
820
- }
821
- function B() {
822
- X = Y(f), Q = Y(f, l.draggable), P({
823
- sortable: E,
824
- name: "change",
825
- toEl: e,
826
- newIndex: X,
827
- newDraggableIndex: Q,
828
- originalEvent: t
829
- });
830
- }
831
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = W(n, l.draggable, e, !0), k("dragOver"), p.eventCanceled)
832
- return y;
833
- if (f.contains(t.target) || n.animated && n.animatingX && n.animatingY || E._ignoreWhileAnimating === n)
834
- return A(!1);
835
- if (Bt = !1, u && !l.disabled && (d ? c || (a = S !== _) : O === this || (this.lastPutMode = At.checkPull(this, u, f, t)) && s.checkPut(this, u, f, t))) {
836
- if (w = this._getDirection(t, n) === "vertical", i = C(f), k("dragOverValid"), p.eventCanceled)
837
- return y;
838
- if (a)
839
- return S = _, j(), this._hideClone(), k("revert"), p.eventCanceled || (at ? _.insertBefore(f, at) : _.appendChild(f)), A(!0);
840
- var M = ie(e, l.draggable);
841
- if (!M || Qe(t, w, this) && !M.animated) {
842
- if (M === f)
843
- return A(!1);
844
- if (M && e === t.target && (n = M), n && (r = C(n)), Nt(_, e, f, i, n, r, t, !!n) !== !1)
845
- return j(), M && M.nextSibling ? e.insertBefore(f, M.nextSibling) : e.appendChild(f), S = e, B(), A(!0);
846
- } else if (M && Ze(t, w, this)) {
847
- var et = dt(e, 0, l, !0);
848
- if (et === f)
849
- return A(!1);
850
- if (n = et, r = C(n), Nt(_, e, f, i, n, r, t, !1) !== !1)
851
- return j(), e.insertBefore(f, et), S = e, B(), A(!0);
852
- } else if (n.parentNode === e) {
853
- r = C(n);
854
- var G = 0, nt, ht = f.parentNode !== e, F = !$e(f.animated && f.toRect || i, n.animated && n.toRect || r, w), pt = w ? "top" : "left", K = ce(n, "top", "top") || ce(f, "top", "top"), gt = K ? K.scrollTop : void 0;
855
- st !== n && (nt = r[pt], Tt = !1, Pt = !F && l.invertSwap || ht), G = Je(t, n, r, w, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Pt, st === n);
856
- var $;
857
- if (G !== 0) {
858
- var ot = Y(f);
859
- do
860
- ot -= G, $ = S.children[ot];
861
- while ($ && (h($, "display") === "none" || $ === g));
862
- }
863
- if (G === 0 || $ === n)
864
- return A(!1);
865
- st = n, St = G;
866
- var mt = n.nextElementSibling, Z = !1;
867
- Z = G === 1;
868
- var It = Nt(_, e, f, i, n, r, t, Z);
869
- if (It !== !1)
870
- return (It === 1 || It === -1) && (Z = It === 1), Jt = !0, setTimeout(Ke, 30), j(), Z && !mt ? e.appendChild(f) : n.parentNode.insertBefore(f, Z ? mt : n), K && _e(K, 0, gt - K.scrollTop), S = f.parentNode, nt !== void 0 && !Pt && (Rt = Math.abs(nt - C(n)[pt])), B(), A(!0);
871
- }
872
- if (e.contains(f))
873
- return A(!1);
874
- }
875
- return !1;
876
- },
877
- _ignoreWhileAnimating: null,
878
- _offMoveEvents: function() {
879
- m(document, "mousemove", this._onTouchMove), m(document, "touchmove", this._onTouchMove), m(document, "pointermove", this._onTouchMove), m(document, "dragover", rt), m(document, "mousemove", rt), m(document, "touchmove", rt);
880
- },
881
- _offUpEvents: function() {
882
- var t = this.el.ownerDocument;
883
- m(t, "mouseup", this._onDrop), m(t, "touchend", this._onDrop), m(t, "pointerup", this._onDrop), m(t, "pointercancel", this._onDrop), m(t, "touchcancel", this._onDrop), m(document, "selectstart", this);
884
- },
885
- _onDrop: function(t) {
886
- var e = this.el, n = this.options;
887
- if (X = Y(f), Q = Y(f, n.draggable), x("drop", this, {
888
- evt: t
889
- }), S = f && f.parentNode, X = Y(f), Q = Y(f, n.draggable), p.eventCanceled) {
890
- this._nulling();
891
- return;
892
- }
893
- ut = !1, Pt = !1, Tt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), te(this.cloneId), te(this._dragStartId), this.nativeDraggable && (m(document, "drop", this), m(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wt && h(document.body, "user-select", ""), h(f, "transform", ""), t && (bt && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (_ === S || O && O.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), f && (this.nativeDraggable && m(f, "dragend", this), Vt(f), f.style["will-change"] = "", bt && !ut && R(f, O ? O.options.ghostClass : this.options.ghostClass, !1), R(f, this.options.chosenClass, !1), P({
894
- sortable: this,
895
- name: "unchoose",
896
- toEl: S,
897
- newIndex: null,
898
- newDraggableIndex: null,
899
- originalEvent: t
900
- }), _ !== S ? (X >= 0 && (P({
901
- rootEl: S,
902
- name: "add",
903
- toEl: S,
904
- fromEl: _,
905
- originalEvent: t
906
- }), P({
907
- sortable: this,
908
- name: "remove",
909
- toEl: S,
910
- originalEvent: t
911
- }), P({
912
- rootEl: S,
913
- name: "sort",
914
- toEl: S,
915
- fromEl: _,
916
- originalEvent: t
917
- }), P({
918
- sortable: this,
919
- name: "sort",
920
- toEl: S,
921
- originalEvent: t
922
- })), O && O.save()) : X !== ft && X >= 0 && (P({
923
- sortable: this,
924
- name: "update",
925
- toEl: S,
926
- originalEvent: t
927
- }), P({
928
- sortable: this,
929
- name: "sort",
930
- toEl: S,
931
- originalEvent: t
932
- })), p.active && ((X == null || X === -1) && (X = ft, Q = Dt), P({
933
- sortable: this,
934
- name: "end",
935
- toEl: S,
936
- originalEvent: t
937
- }), this.save()))), this._nulling();
938
- },
939
- _nulling: function() {
940
- x("nulling", this), _ = f = S = g = at = D = Ft = J = it = H = bt = X = Q = ft = Dt = st = St = O = At = p.dragged = p.ghost = p.clone = p.active = null, Wt.forEach(function(t) {
941
- t.checked = !0;
942
- }), Wt.length = $t = Ut = 0;
943
- },
944
- handleEvent: function(t) {
945
- switch (t.type) {
946
- case "drop":
947
- case "dragend":
948
- this._onDrop(t);
949
- break;
950
- case "dragenter":
951
- case "dragover":
952
- f && (this._onDragOver(t), Ve(t));
953
- break;
954
- case "selectstart":
955
- t.preventDefault();
956
- break;
957
- }
958
- },
959
- toArray: function() {
960
- for (var t = [], e, n = this.el.children, i = 0, r = n.length, a = this.options; i < r; i++)
961
- e = n[i], W(e, a.draggable, this.el, !1) && t.push(e.getAttribute(a.dataIdAttr) || en(e));
962
- return t;
963
- },
964
- sort: function(t, e) {
965
- var n = {}, i = this.el;
966
- this.toArray().forEach(function(r, a) {
967
- var l = i.children[a];
968
- W(l, this.options.draggable, i, !1) && (n[r] = l);
969
- }, this), e && this.captureAnimationState(), t.forEach(function(r) {
970
- n[r] && (i.removeChild(n[r]), i.appendChild(n[r]));
971
- }), e && this.animateAll();
972
- },
973
- save: function() {
974
- var t = this.options.store;
975
- t && t.set && t.set(this);
976
- },
977
- closest: function(t, e) {
978
- return W(t, e || this.options.draggable, this.el, !1);
979
- },
980
- option: function(t, e) {
981
- var n = this.options;
982
- if (e === void 0)
983
- return n[t];
984
- var i = Ot.modifyOption(this, t, e);
985
- typeof i < "u" ? n[t] = i : n[t] = e, t === "group" && Oe(n);
986
- },
987
- destroy: function() {
988
- x("destroy", this);
989
- var t = this.el;
990
- t[N] = null, m(t, "mousedown", this._onTapStart), m(t, "touchstart", this._onTapStart), m(t, "pointerdown", this._onTapStart), this.nativeDraggable && (m(t, "dragover", this), m(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
991
- e.removeAttribute("draggable");
992
- }), this._onDrop(), this._disableDelayedDragEvents(), Ht.splice(Ht.indexOf(this.el), 1), this.el = t = null;
993
- },
994
- _hideClone: function() {
995
- if (!J) {
996
- if (x("hideClone", this), p.eventCanceled)
997
- return;
998
- h(D, "display", "none"), this.options.removeCloneOnHide && D.parentNode && D.parentNode.removeChild(D), J = !0;
999
- }
1000
- },
1001
- _showClone: function(t) {
1002
- if (t.lastPutMode !== "clone") {
1003
- this._hideClone();
1004
- return;
1005
- }
1006
- if (J) {
1007
- if (x("showClone", this), p.eventCanceled)
1008
- return;
1009
- f.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(D, f) : at ? _.insertBefore(D, at) : _.appendChild(D), this.options.group.revertClone && this.animate(f, D), h(D, "display", ""), J = !1;
1010
- }
1011
- }
1012
- };
1013
- function Ve(o) {
1014
- o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
1015
- }
1016
- function Nt(o, t, e, n, i, r, a, l) {
1017
- var s, u = o[N], d = u.options.onMove, c;
1018
- return window.CustomEvent && !V && !Ct ? s = new CustomEvent("move", {
1019
- bubbles: !0,
1020
- cancelable: !0
1021
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = o, s.dragged = e, s.draggedRect = n, s.related = i || t, s.relatedRect = r || C(t), s.willInsertAfter = l, s.originalEvent = a, o.dispatchEvent(s), d && (c = d.call(u, s, a)), c;
1022
- }
1023
- function Vt(o) {
1024
- o.draggable = !1;
1025
- }
1026
- function Ke() {
1027
- Jt = !1;
1028
- }
1029
- function Ze(o, t, e) {
1030
- var n = C(dt(e.el, 0, e.options, !0)), i = Se(e.el, e.options, g), r = 10;
1031
- return t ? o.clientX < i.left - r || o.clientY < n.top && o.clientX < n.right : o.clientY < i.top - r || o.clientY < n.bottom && o.clientX < n.left;
1032
- }
1033
- function Qe(o, t, e) {
1034
- var n = C(ie(e.el, e.options.draggable)), i = Se(e.el, e.options, g), r = 10;
1035
- return t ? o.clientX > i.right + r || o.clientY > n.bottom && o.clientX > n.left : o.clientY > i.bottom + r || o.clientX > n.right && o.clientY > n.top;
1036
- }
1037
- function Je(o, t, e, n, i, r, a, l) {
1038
- var s = n ? o.clientY : o.clientX, u = n ? e.height : e.width, d = n ? e.top : e.left, c = n ? e.bottom : e.right, b = !1;
1039
- if (!a) {
1040
- if (l && Rt < u * i) {
1041
- if (!Tt && (St === 1 ? s > d + u * r / 2 : s < c - u * r / 2) && (Tt = !0), Tt)
1042
- b = !0;
1043
- else if (St === 1 ? s < d + Rt : s > c - Rt)
1044
- return -St;
1045
- } else if (s > d + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
1046
- return tn(t);
1047
- }
1048
- return b = b || a, b && (s < d + u * r / 2 || s > c - u * r / 2) ? s > d + u / 2 ? 1 : -1 : 0;
1049
- }
1050
- function tn(o) {
1051
- return Y(f) < Y(o) ? 1 : -1;
1052
- }
1053
- function en(o) {
1054
- for (var t = o.tagName + o.className + o.src + o.href + o.textContent, e = t.length, n = 0; e--; )
1055
- n += t.charCodeAt(e);
1056
- return n.toString(36);
1057
- }
1058
- function nn(o) {
1059
- Wt.length = 0;
1060
- for (var t = o.getElementsByTagName("input"), e = t.length; e--; ) {
1061
- var n = t[e];
1062
- n.checked && Wt.push(n);
1063
- }
1064
- }
1065
- function Xt(o) {
1066
- return setTimeout(o, 0);
1067
- }
1068
- function te(o) {
1069
- return clearTimeout(o);
1070
- }
1071
- Lt && v(document, "touchmove", function(o) {
1072
- (p.active || ut) && o.cancelable && o.preventDefault();
1073
- });
1074
- p.utils = {
1075
- on: v,
1076
- off: m,
1077
- css: h,
1078
- find: ye,
1079
- is: function(t, e) {
1080
- return !!W(t, e, t, !1);
1081
- },
1082
- extend: ke,
1083
- throttle: we,
1084
- closest: W,
1085
- toggleClass: R,
1086
- clone: De,
1087
- index: Y,
1088
- nextTick: Xt,
1089
- cancelNextTick: te,
1090
- detectDirection: Ce,
1091
- getChild: dt,
1092
- expando: N
1093
- };
1094
- p.get = function(o) {
1095
- return o[N];
1096
- };
1097
- p.mount = function() {
1098
- for (var o = arguments.length, t = new Array(o), e = 0; e < o; e++)
1099
- t[e] = arguments[e];
1100
- t[0].constructor === Array && (t = t[0]), t.forEach(function(n) {
1101
- if (!n.prototype || !n.prototype.constructor)
1102
- throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
1103
- n.utils && (p.utils = z(z({}, p.utils), n.utils)), Ot.mount(n);
1104
- });
1105
- };
1106
- p.create = function(o, t) {
1107
- return new p(o, t);
1108
- };
1109
- p.version = Xe;
1110
- var T = [], Et, ee, ne = !1, Kt, Zt, Gt, yt;
1111
- function on() {
1112
- function o() {
1113
- this.defaults = {
1114
- scroll: !0,
1115
- forceAutoScrollFallback: !1,
1116
- scrollSensitivity: 30,
1117
- scrollSpeed: 10,
1118
- bubbleScroll: !0
1119
- };
1120
- for (var t in this)
1121
- t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
1122
- }
1123
- return o.prototype = {
1124
- dragStarted: function(e) {
1125
- var n = e.originalEvent;
1126
- this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? v(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? v(document, "touchmove", this._handleFallbackAutoScroll) : v(document, "mousemove", this._handleFallbackAutoScroll);
1127
- },
1128
- dragOverCompleted: function(e) {
1129
- var n = e.originalEvent;
1130
- !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
1131
- },
1132
- drop: function() {
1133
- this.sortable.nativeDraggable ? m(document, "dragover", this._handleAutoScroll) : (m(document, "pointermove", this._handleFallbackAutoScroll), m(document, "touchmove", this._handleFallbackAutoScroll), m(document, "mousemove", this._handleFallbackAutoScroll)), me(), Yt(), Be();
1134
- },
1135
- nulling: function() {
1136
- Gt = ee = Et = ne = yt = Kt = Zt = null, T.length = 0;
1137
- },
1138
- _handleFallbackAutoScroll: function(e) {
1139
- this._handleAutoScroll(e, !0);
1140
- },
1141
- _handleAutoScroll: function(e, n) {
1142
- var i = this, r = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, l = document.elementFromPoint(r, a);
1143
- if (Gt = e, n || this.options.forceAutoScrollFallback || Ct || V || wt) {
1144
- Qt(e, this.options, l, n);
1145
- var s = tt(l, !0);
1146
- ne && (!yt || r !== Kt || a !== Zt) && (yt && me(), yt = setInterval(function() {
1147
- var u = tt(document.elementFromPoint(r, a), !0);
1148
- u !== s && (s = u, Yt()), Qt(e, i.options, u, n);
1149
- }, 10), Kt = r, Zt = a);
1150
- } else {
1151
- if (!this.options.bubbleScroll || tt(l, !0) === L()) {
1152
- Yt();
1153
- return;
1154
- }
1155
- Qt(e, this.options, tt(l, !1), !1);
1156
- }
1157
- }
1158
- }, q(o, {
1159
- pluginName: "scroll",
1160
- initializeByDefault: !0
1161
- });
1162
- }
1163
- function Yt() {
1164
- T.forEach(function(o) {
1165
- clearInterval(o.pid);
1166
- }), T = [];
1167
- }
1168
- function me() {
1169
- clearInterval(yt);
1170
- }
1171
- var Qt = we(function(o, t, e, n) {
1172
- if (!!t.scroll) {
1173
- var i = (o.touches ? o.touches[0] : o).clientX, r = (o.touches ? o.touches[0] : o).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, s = L(), u = !1, d;
1174
- ee !== e && (ee = e, Yt(), Et = t.scroll, d = t.scrollFn, Et === !0 && (Et = tt(e, !0)));
1175
- var c = 0, b = Et;
1176
- do {
1177
- var w = b, E = C(w), y = E.top, k = E.bottom, j = E.left, A = E.right, B = E.width, M = E.height, et = void 0, G = void 0, nt = w.scrollWidth, ht = w.scrollHeight, F = h(w), pt = w.scrollLeft, K = w.scrollTop;
1178
- w === s ? (et = B < nt && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), G = M < ht && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (et = B < nt && (F.overflowX === "auto" || F.overflowX === "scroll"), G = M < ht && (F.overflowY === "auto" || F.overflowY === "scroll"));
1179
- var gt = et && (Math.abs(A - i) <= a && pt + B < nt) - (Math.abs(j - i) <= a && !!pt), $ = G && (Math.abs(k - r) <= a && K + M < ht) - (Math.abs(y - r) <= a && !!K);
1180
- if (!T[c])
1181
- for (var ot = 0; ot <= c; ot++)
1182
- T[ot] || (T[ot] = {});
1183
- (T[c].vx != gt || T[c].vy != $ || T[c].el !== w) && (T[c].el = w, T[c].vx = gt, T[c].vy = $, clearInterval(T[c].pid), (gt != 0 || $ != 0) && (u = !0, T[c].pid = setInterval(function() {
1184
- n && this.layer === 0 && p.active._onTouchMove(Gt);
1185
- var mt = T[this.layer].vy ? T[this.layer].vy * l : 0, Z = T[this.layer].vx ? T[this.layer].vx * l : 0;
1186
- typeof d == "function" && d.call(p.dragged.parentNode[N], Z, mt, o, Gt, T[this.layer].el) !== "continue" || _e(T[this.layer].el, Z, mt);
1187
- }.bind({
1188
- layer: c
1189
- }), 24))), c++;
1190
- } while (t.bubbleScroll && b !== s && (b = tt(b, !1)));
1191
- ne = u;
1192
- }
1193
- }, 30), Pe = function(t) {
1194
- var e = t.originalEvent, n = t.putSortable, i = t.dragEl, r = t.activeSortable, a = t.dispatchSortableEvent, l = t.hideGhostForTarget, s = t.unhideGhostForTarget;
1195
- if (!!e) {
1196
- var u = n || r;
1197
- l();
1198
- var d = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, c = document.elementFromPoint(d.clientX, d.clientY);
1199
- s(), u && !u.el.contains(c) && (a("spill"), this.onSpill({
1200
- dragEl: i,
1201
- putSortable: n
1202
- }));
1203
- }
1204
- };
1205
- function re() {
1206
- }
1207
- re.prototype = {
1208
- startIndex: null,
1209
- dragStart: function(t) {
1210
- var e = t.oldDraggableIndex;
1211
- this.startIndex = e;
1212
- },
1213
- onSpill: function(t) {
1214
- var e = t.dragEl, n = t.putSortable;
1215
- this.sortable.captureAnimationState(), n && n.captureAnimationState();
1216
- var i = dt(this.sortable.el, this.startIndex, this.options);
1217
- i ? this.sortable.el.insertBefore(e, i) : this.sortable.el.appendChild(e), this.sortable.animateAll(), n && n.animateAll();
1218
- },
1219
- drop: Pe
1220
- };
1221
- q(re, {
1222
- pluginName: "revertOnSpill"
1223
- });
1224
- function ae() {
1225
- }
1226
- ae.prototype = {
1227
- onSpill: function(t) {
1228
- var e = t.dragEl, n = t.putSortable, i = n || this.sortable;
1229
- i.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), i.animateAll();
1230
- },
1231
- drop: Pe
1232
- };
1233
- q(ae, {
1234
- pluginName: "removeOnSpill"
1235
- });
1236
- p.mount(new on());
1237
- p.mount(ae, re);
1238
- export {
1239
- p as S
1240
- };