@kdcloudjs/shoelace 1.0.31 → 1.0.32

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 (1555) hide show
  1. package/cdn/chunks/chunk.22GJIWXX.js +97 -0
  2. package/cdn/chunks/chunk.2BHLJNNN.js +11 -0
  3. package/cdn/chunks/chunk.2C4ZQYGU.js +21 -0
  4. package/cdn/chunks/chunk.2FUYB335.js +215 -0
  5. package/cdn/chunks/chunk.2IHBQTP5.js +21 -0
  6. package/cdn/chunks/chunk.2KCKLOXC.js +77 -0
  7. package/cdn/chunks/chunk.2LBQRO3Q.js +11 -0
  8. package/cdn/chunks/chunk.2PV5VRDY.js +73 -0
  9. package/cdn/chunks/chunk.2ZSANMKJ.js +11 -0
  10. package/cdn/chunks/chunk.32JIUZ2E.js +21 -0
  11. package/cdn/chunks/chunk.35Y6VPRT.js +28 -0
  12. package/cdn/chunks/chunk.36VMCZTW.js +127 -0
  13. package/cdn/chunks/chunk.375UEKIG.js +21 -0
  14. package/cdn/chunks/chunk.37USSGQA.js +21 -0
  15. package/cdn/chunks/chunk.3CYEJIVZ.js +587 -0
  16. package/cdn/chunks/chunk.3FMRATHK.js +11 -0
  17. package/cdn/chunks/chunk.3PQFIVQJ.js +25 -0
  18. package/cdn/chunks/chunk.3R2ZYFZP.js +24 -0
  19. package/cdn/chunks/chunk.3VJQ2BSO.js +586 -0
  20. package/cdn/chunks/chunk.3Y7KVZXA.js +49 -0
  21. package/cdn/chunks/chunk.42UIFGIX.js +11 -0
  22. package/cdn/chunks/chunk.45FBYZ7R.js +27 -0
  23. package/cdn/chunks/chunk.47CWJN2H.js +11 -0
  24. package/cdn/chunks/chunk.4DZHFVDU.js +24 -0
  25. package/cdn/chunks/chunk.4IO3KIPI.js +526 -0
  26. package/cdn/chunks/chunk.4JSIJVYS.js +91 -0
  27. package/cdn/chunks/chunk.4MZ2UHIL.js +233 -0
  28. package/cdn/chunks/chunk.4NLYJZXK.js +29 -0
  29. package/cdn/chunks/chunk.4OLNCS4I.js +24 -0
  30. package/cdn/chunks/chunk.4PLTUYLD.js +11 -0
  31. package/cdn/chunks/chunk.52E7U2XC.js +11 -0
  32. package/cdn/chunks/chunk.5C2KGGKA.js +7407 -0
  33. package/cdn/chunks/chunk.5ISRJXBG.js +199 -0
  34. package/cdn/chunks/chunk.5IXRH63Y.js +158 -0
  35. package/cdn/chunks/chunk.5OAZITCT.js +27 -0
  36. package/cdn/chunks/chunk.5V35VQ4Y.js +113 -0
  37. package/cdn/chunks/chunk.5VN4EHJ7.js +1156 -0
  38. package/cdn/chunks/chunk.62JYGEDK.js +822 -0
  39. package/cdn/chunks/chunk.67WPLUKE.js +11 -0
  40. package/cdn/chunks/chunk.6DYZD3HR.js +21 -0
  41. package/cdn/chunks/chunk.6DZGYUMD.js +11 -0
  42. package/cdn/chunks/chunk.6MTLG6GW.js +128 -0
  43. package/cdn/chunks/chunk.6SLRZ5CC.js +11 -0
  44. package/cdn/chunks/chunk.6TE6Y3SU.js +11 -0
  45. package/cdn/chunks/chunk.6UMQHEH4.js +153 -0
  46. package/cdn/chunks/chunk.6ZY6H774.js +11 -0
  47. package/cdn/chunks/chunk.72XAODK4.js +11 -0
  48. package/cdn/chunks/chunk.73FESCBP.js +11 -0
  49. package/cdn/chunks/chunk.7AYCGL6E.js +24 -0
  50. package/cdn/chunks/chunk.7IZGCLI2.js +11 -0
  51. package/cdn/chunks/chunk.7VLFZCDI.js +21 -0
  52. package/cdn/chunks/chunk.7WEOJDWJ.js +21 -0
  53. package/cdn/chunks/chunk.ADHGYD6K.js +11 -0
  54. package/cdn/chunks/chunk.AEFBLX65.js +161 -0
  55. package/cdn/chunks/chunk.AIQAKGFF.js +27 -0
  56. package/cdn/chunks/chunk.APTZUBVG.js +26 -0
  57. package/cdn/chunks/chunk.ATFJ7BDG.js +103 -0
  58. package/cdn/chunks/chunk.ATK753QY.js +25 -0
  59. package/cdn/chunks/chunk.B2ZDBLPQ.js +11 -0
  60. package/cdn/chunks/chunk.BAAHF3FZ.js +21 -0
  61. package/cdn/chunks/chunk.BBNLTP5U.js +135 -0
  62. package/cdn/chunks/chunk.BHHJTPY3.js +21 -0
  63. package/cdn/chunks/chunk.BO4CQOED.js +5845 -0
  64. package/cdn/chunks/chunk.BZQKIYXC.js +29 -0
  65. package/cdn/chunks/chunk.C3G6HXW6.js +11 -0
  66. package/cdn/chunks/chunk.C63DUUAH.js +11 -0
  67. package/cdn/chunks/chunk.CGX4MX36.js +27 -0
  68. package/cdn/chunks/chunk.CLJP7P53.js +25 -0
  69. package/cdn/chunks/chunk.CMQFWU26.js +11 -0
  70. package/cdn/chunks/chunk.CQH4R6Q6.js +24 -0
  71. package/cdn/chunks/chunk.CQJGUP47.js +11 -0
  72. package/cdn/chunks/chunk.CRRVAYFX.js +24 -0
  73. package/cdn/chunks/chunk.CSVCD2EF.js +135 -0
  74. package/cdn/chunks/chunk.D2VAWCYS.js +11 -0
  75. package/cdn/chunks/chunk.D2WYPMZJ.js +114 -0
  76. package/cdn/chunks/chunk.DAPDH7BP.js +29 -0
  77. package/cdn/chunks/chunk.DDAODWE3.js +79 -0
  78. package/cdn/chunks/chunk.DFUOAFTW.js +21 -0
  79. package/cdn/chunks/chunk.DMYD3Q6J.js +24 -0
  80. package/cdn/chunks/chunk.DOPCXLID.js +314 -0
  81. package/cdn/chunks/chunk.DTJKNA7H.js +11 -0
  82. package/cdn/chunks/chunk.DX4YDMKP.js +292 -0
  83. package/cdn/chunks/chunk.DYCVWB6O.js +134 -0
  84. package/cdn/chunks/chunk.E364D63H.js +215 -0
  85. package/cdn/chunks/chunk.EA2NVLY4.js +75 -0
  86. package/cdn/chunks/chunk.F62SV5GR.js +1676 -0
  87. package/cdn/chunks/chunk.F6EMM6N7.js +1990 -0
  88. package/cdn/chunks/chunk.F6WTWYX7.js +341 -0
  89. package/cdn/chunks/chunk.F7Q4KCSJ.js +11 -0
  90. package/cdn/chunks/chunk.FD4BWOTV.js +21 -0
  91. package/cdn/chunks/chunk.FI2UJABU.js +11 -0
  92. package/cdn/chunks/chunk.FM45HMMC.js +346 -0
  93. package/cdn/chunks/chunk.FMCO3W6Q.js +99 -0
  94. package/cdn/chunks/chunk.FQRNXQ4C.js +271 -0
  95. package/cdn/chunks/chunk.FW3XXKDA.js +2631 -0
  96. package/cdn/chunks/chunk.FX25LJSJ.js +11 -0
  97. package/cdn/chunks/chunk.FXWXIOL2.js +11 -0
  98. package/cdn/chunks/chunk.FYDHGROB.js +26 -0
  99. package/cdn/chunks/chunk.FYNAMMNA.js +29 -0
  100. package/cdn/chunks/chunk.GBABMMXE.js +354 -0
  101. package/cdn/chunks/chunk.GF6BDN6A.js +11 -0
  102. package/cdn/chunks/chunk.GFZKSTR4.js +11 -0
  103. package/cdn/chunks/chunk.GIJCGKSV.js +11 -0
  104. package/cdn/chunks/chunk.GJIAUDGM.js +50 -0
  105. package/cdn/chunks/chunk.GRZFS7OB.js +87 -0
  106. package/cdn/chunks/chunk.GVJPX4FB.js +24 -0
  107. package/cdn/chunks/chunk.GYIYROU4.js +137 -0
  108. package/cdn/chunks/chunk.H6W6LOAJ.js +63 -0
  109. package/cdn/chunks/chunk.H7AJIGT2.js +11 -0
  110. package/cdn/chunks/chunk.HDWZ3ZDL.js +60 -0
  111. package/cdn/chunks/chunk.HHQRVAAM.js +291 -0
  112. package/cdn/chunks/chunk.HIDCMMCK.js +89 -0
  113. package/cdn/chunks/chunk.HJWMNGL2.js +11 -0
  114. package/cdn/chunks/chunk.HY2DU6HS.js +197 -0
  115. package/cdn/chunks/chunk.HZSLHLHF.js +21 -0
  116. package/cdn/chunks/chunk.I6RABVSB.js +11 -0
  117. package/cdn/chunks/chunk.IAJV3N4Q.js +95 -0
  118. package/cdn/chunks/chunk.INXWYVVI.js +28 -0
  119. package/cdn/chunks/chunk.IVPOE6W7.js +27 -0
  120. package/cdn/chunks/chunk.IXEGKEOK.js +24 -0
  121. package/cdn/chunks/chunk.IZEGURSJ.js +11 -0
  122. package/cdn/chunks/chunk.J3ISPOVI.js +24 -0
  123. package/cdn/chunks/chunk.J56KXZXB.js +120 -0
  124. package/cdn/chunks/chunk.JAWTHXWQ.js +1255 -0
  125. package/cdn/chunks/chunk.JF7HSU5I.js +25 -0
  126. package/cdn/chunks/chunk.JKXFCUFN.js +336 -0
  127. package/cdn/chunks/chunk.JQD5MJPF.js +11 -0
  128. package/cdn/chunks/chunk.JSBEUCZ6.js +455 -0
  129. package/cdn/chunks/chunk.JWQD27XP.js +25 -0
  130. package/cdn/chunks/chunk.KERD64T5.js +11 -0
  131. package/cdn/chunks/chunk.KF3II6F5.js +11 -0
  132. package/cdn/chunks/chunk.KG53RXN4.js +313 -0
  133. package/cdn/chunks/chunk.KQ32NOBP.js +11 -0
  134. package/cdn/chunks/chunk.KRKLE66Q.js +33 -0
  135. package/cdn/chunks/chunk.KYQ4P7VT.js +24 -0
  136. package/cdn/chunks/chunk.KZONJ6SM.js +24 -0
  137. package/cdn/chunks/chunk.L2XJJ4ZB.js +11 -0
  138. package/cdn/chunks/chunk.L56USDF4.js +158 -0
  139. package/cdn/chunks/chunk.LGIM6JC6.js +21 -0
  140. package/cdn/chunks/chunk.LSSCDJTD.js +11 -0
  141. package/cdn/chunks/chunk.LVTA2GU3.js +133 -0
  142. package/cdn/chunks/chunk.M33X74G3.js +191 -0
  143. package/cdn/chunks/chunk.M6KQWEUJ.js +391 -0
  144. package/cdn/chunks/chunk.MIWROZDV.js +82 -0
  145. package/cdn/chunks/chunk.MMZXWP6E.js +118 -0
  146. package/cdn/chunks/chunk.MXX4OLRN.js +331 -0
  147. package/cdn/chunks/chunk.NFO24LCM.js +25 -0
  148. package/cdn/chunks/chunk.NLZDPQHO.js +11 -0
  149. package/cdn/chunks/chunk.NO3TLBS6.js +42 -0
  150. package/cdn/chunks/chunk.NOKRLB3M.js +11 -0
  151. package/cdn/chunks/chunk.NQMHY36X.js +11 -0
  152. package/cdn/chunks/chunk.NTAJ72YR.js +25 -0
  153. package/cdn/chunks/chunk.NTX2PSNR.js +25 -0
  154. package/cdn/chunks/chunk.NYYRPLSZ.js +49 -0
  155. package/cdn/chunks/chunk.O3L3BELI.js +11 -0
  156. package/cdn/chunks/chunk.O67ZIY66.js +11 -0
  157. package/cdn/chunks/chunk.OBRHBPDC.js +11 -0
  158. package/cdn/chunks/chunk.OH7NMQG4.js +11 -0
  159. package/cdn/chunks/chunk.OJ2HZFEV.js +11 -0
  160. package/cdn/chunks/chunk.OKXMJTGY.js +11 -0
  161. package/cdn/chunks/chunk.OMX7IOOR.js +11 -0
  162. package/cdn/chunks/chunk.OQYOZDNV.js +367 -0
  163. package/cdn/chunks/chunk.ORMXZSFQ.js +11 -0
  164. package/cdn/chunks/chunk.OSWXVLHF.js +279 -0
  165. package/cdn/chunks/chunk.OUHIJZZR.js +154 -0
  166. package/cdn/chunks/chunk.OXVLM2PO.js +24 -0
  167. package/cdn/chunks/chunk.P4FMR5NR.js +11 -0
  168. package/cdn/chunks/chunk.P5KUOKG6.js +21 -0
  169. package/cdn/chunks/chunk.P6JZ5DU7.js +21 -0
  170. package/cdn/chunks/chunk.PDDOT6LJ.js +21 -0
  171. package/cdn/chunks/chunk.PEYJO3OY.js +11 -0
  172. package/cdn/chunks/chunk.PI5RZMOI.js +21 -0
  173. package/cdn/chunks/chunk.PK6MIU6Z.js +330 -0
  174. package/cdn/chunks/chunk.PLHADOQ2.js +110 -0
  175. package/cdn/chunks/chunk.PRMTG7YQ.js +21 -0
  176. package/cdn/chunks/chunk.PTUPCJMB.js +24 -0
  177. package/cdn/chunks/chunk.Q2TRA26O.js +24 -0
  178. package/cdn/chunks/chunk.QBRK2HGN.js +11 -0
  179. package/cdn/chunks/chunk.QL2HZJUJ.js +21 -0
  180. package/cdn/chunks/chunk.QMWCJ4S7.js +11 -0
  181. package/cdn/chunks/chunk.QNATTURP.js +11 -0
  182. package/cdn/chunks/chunk.QPA3S64U.js +11 -0
  183. package/cdn/chunks/chunk.QSJIOSQG.js +28 -0
  184. package/cdn/chunks/chunk.QZNEXD7L.js +236 -0
  185. package/cdn/chunks/chunk.R2GUNDC5.js +11 -0
  186. package/cdn/chunks/chunk.RYS3HA7N.js +67 -0
  187. package/cdn/chunks/chunk.SZFAGLK5.js +54 -0
  188. package/cdn/chunks/chunk.T5FW3CT4.js +605 -0
  189. package/cdn/chunks/chunk.T5H3S4HI.js +27 -0
  190. package/cdn/chunks/chunk.T7KOZRIJ.js +24 -0
  191. package/cdn/chunks/chunk.TCSFI34V.js +25 -0
  192. package/cdn/chunks/chunk.TE7GEDY6.js +379 -0
  193. package/cdn/chunks/chunk.TF7CFS3U.js +21 -0
  194. package/cdn/chunks/chunk.TMN3TQWK.js +11 -0
  195. package/cdn/chunks/chunk.TTGJKAMC.js +26 -0
  196. package/cdn/chunks/chunk.TXJ4VH5I.js +25 -0
  197. package/cdn/chunks/chunk.U3TQU7XC.js +175 -0
  198. package/cdn/chunks/chunk.UBXVJ5DT.js +276 -0
  199. package/cdn/chunks/chunk.UCJLAY7A.js +11 -0
  200. package/cdn/chunks/chunk.UEFZUGQR.js +36 -0
  201. package/cdn/chunks/chunk.UHD2SVBA.js +24 -0
  202. package/cdn/chunks/chunk.UJBP3X3W.js +11 -0
  203. package/cdn/chunks/chunk.ULJSHWM3.js +305 -0
  204. package/cdn/chunks/chunk.UT5DFWZF.js +28 -0
  205. package/cdn/chunks/chunk.UY5WX6C3.js +122 -0
  206. package/cdn/chunks/chunk.VLKFFKR6.js +510 -0
  207. package/cdn/chunks/chunk.VM2BWT5C.js +11 -0
  208. package/cdn/chunks/chunk.VV72BKRR.js +11 -0
  209. package/cdn/chunks/chunk.VVAESIBH.js +11 -0
  210. package/cdn/chunks/chunk.VVO44MUZ.js +11 -0
  211. package/cdn/chunks/chunk.VXJ36URO.js +216 -0
  212. package/cdn/chunks/chunk.VXT2YYFS.js +219 -0
  213. package/cdn/chunks/chunk.VZ4IO2SU.js +29 -0
  214. package/cdn/chunks/chunk.W4M65UPR.js +302 -0
  215. package/cdn/chunks/chunk.W7B25I3M.js +28 -0
  216. package/cdn/chunks/chunk.WJ426UE7.js +21 -0
  217. package/cdn/chunks/chunk.WK4ZKVY6.js +29 -0
  218. package/cdn/chunks/chunk.WLIQ3JLU.js +21 -0
  219. package/cdn/chunks/chunk.WMP7CG46.js +26 -0
  220. package/cdn/chunks/chunk.WQYDRV2O.js +24 -0
  221. package/cdn/chunks/chunk.WSLGL7HA.js +11 -0
  222. package/cdn/chunks/chunk.X2RYRLT2.js +236 -0
  223. package/cdn/chunks/chunk.X4AOTUOW.js +21 -0
  224. package/cdn/chunks/chunk.X52S4RF5.js +11 -0
  225. package/cdn/chunks/chunk.XFZ6AKF6.js +177 -0
  226. package/cdn/chunks/chunk.XGGECA6G.js +11 -0
  227. package/cdn/chunks/chunk.XGV2E6U3.js +450 -0
  228. package/cdn/chunks/chunk.XJCXTN72.js +11 -0
  229. package/cdn/chunks/chunk.XKNVE7RD.js +93 -0
  230. package/cdn/chunks/chunk.XLTWU6Q5.js +186 -0
  231. package/cdn/chunks/chunk.XSG33SHB.js +11 -0
  232. package/cdn/chunks/chunk.XUVFO7PK.js +255 -0
  233. package/cdn/chunks/chunk.Y2LZ2SKX.js +724 -0
  234. package/cdn/chunks/chunk.Y3VVYP4E.js +15 -0
  235. package/cdn/chunks/chunk.Y7DVP7N5.js +11 -0
  236. package/cdn/chunks/chunk.YAEHNW4N.js +1925 -0
  237. package/cdn/chunks/chunk.YC6KAMKV.js +142 -0
  238. package/cdn/chunks/chunk.YDNJNSWE.js +11 -0
  239. package/cdn/chunks/chunk.YGUOKOOI.js +21 -0
  240. package/cdn/chunks/chunk.YIZAIJFY.js +21 -0
  241. package/cdn/chunks/chunk.YOISCY5H.js +29 -0
  242. package/cdn/chunks/chunk.YSCMMPDC.js +11 -0
  243. package/cdn/chunks/chunk.YSK4YS7S.js +24 -0
  244. package/cdn/chunks/chunk.YSO77235.js +11 -0
  245. package/cdn/chunks/chunk.YV5VHLPA.js +11 -0
  246. package/cdn/chunks/chunk.Z26DCWV6.js +29 -0
  247. package/cdn/chunks/chunk.Z27Q3ZRU.js +21 -0
  248. package/cdn/chunks/chunk.Z3P4WEN5.js +299 -0
  249. package/cdn/chunks/chunk.ZBUVYKJW.js +21 -0
  250. package/cdn/chunks/chunk.ZHDLX7AM.js +11 -0
  251. package/cdn/chunks/chunk.ZK2QQPC7.js +105 -0
  252. package/cdn/chunks/chunk.ZKLS4QPQ.js +25 -0
  253. package/cdn/chunks/chunk.ZMHSRMKN.js +27 -0
  254. package/cdn/chunks/chunk.ZT6PXVLC.js +402 -0
  255. package/cdn/chunks/chunk.ZXNCNFZF.js +24 -0
  256. package/cdn/components/alert/alert.component.js +7 -7
  257. package/cdn/components/alert/alert.js +8 -8
  258. package/cdn/components/animated-image/animated-image.component.js +4 -4
  259. package/cdn/components/animated-image/animated-image.js +5 -5
  260. package/cdn/components/animation/animation.component.js +2 -2
  261. package/cdn/components/animation/animation.js +3 -3
  262. package/cdn/components/avatar/avatar.component.js +4 -4
  263. package/cdn/components/avatar/avatar.js +5 -5
  264. package/cdn/components/badge/badge.component.js +2 -2
  265. package/cdn/components/badge/badge.js +3 -3
  266. package/cdn/components/breadcrumb/breadcrumb.component.js +4 -4
  267. package/cdn/components/breadcrumb/breadcrumb.js +5 -5
  268. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  269. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  270. package/cdn/components/button/button.component.js +7 -7
  271. package/cdn/components/button/button.js +8 -8
  272. package/cdn/components/button-group/button-group.component.js +2 -2
  273. package/cdn/components/button-group/button-group.js +3 -3
  274. package/cdn/components/calendar/calendar.component.js +9 -9
  275. package/cdn/components/calendar/calendar.js +9 -9
  276. package/cdn/components/card/card.component.js +2 -2
  277. package/cdn/components/card/card.js +3 -3
  278. package/cdn/components/carousel/carousel.component.js +5 -5
  279. package/cdn/components/carousel/carousel.js +6 -6
  280. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  281. package/cdn/components/carousel-item/carousel-item.js +3 -3
  282. package/cdn/components/checkbox/checkbox.component.js +4 -4
  283. package/cdn/components/checkbox/checkbox.js +5 -5
  284. package/cdn/components/col/col.component.js +2 -2
  285. package/cdn/components/col/col.js +3 -3
  286. package/cdn/components/color-picker/color-picker.component.js +16 -16
  287. package/cdn/components/color-picker/color-picker.js +17 -17
  288. package/cdn/components/copy-button/copy-button.component.js +7 -7
  289. package/cdn/components/copy-button/copy-button.js +8 -8
  290. package/cdn/components/date-panel/date-panel.component.js +12 -12
  291. package/cdn/components/date-panel/date-panel.js +12 -12
  292. package/cdn/components/datepicker/datepicker.component.js +18 -18
  293. package/cdn/components/datepicker/datepicker.js +18 -18
  294. package/cdn/components/daterangepicker/daterangepicker.component.js +14 -14
  295. package/cdn/components/daterangepicker/daterangepicker.js +15 -15
  296. package/cdn/components/details/details.component.js +4 -4
  297. package/cdn/components/details/details.js +5 -5
  298. package/cdn/components/dialog/dialog.component.js +7 -7
  299. package/cdn/components/dialog/dialog.js +8 -8
  300. package/cdn/components/divider/divider.component.js +2 -2
  301. package/cdn/components/divider/divider.js +3 -3
  302. package/cdn/components/drawer/drawer.component.js +7 -7
  303. package/cdn/components/drawer/drawer.js +8 -8
  304. package/cdn/components/dropdown/dropdown.component.js +5 -5
  305. package/cdn/components/dropdown/dropdown.js +6 -6
  306. package/cdn/components/float-button/float-button.component.js +8 -8
  307. package/cdn/components/float-button/float-button.js +9 -9
  308. package/cdn/components/float-button-group/float-button-group.component.js +4 -4
  309. package/cdn/components/float-button-group/float-button-group.js +5 -5
  310. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  311. package/cdn/components/format-bytes/format-bytes.js +3 -3
  312. package/cdn/components/format-date/format-date.component.js +2 -2
  313. package/cdn/components/format-date/format-date.js +3 -3
  314. package/cdn/components/format-number/format-number.component.js +2 -2
  315. package/cdn/components/format-number/format-number.js +3 -3
  316. package/cdn/components/icon/icon.component.js +3 -3
  317. package/cdn/components/icon/icon.js +4 -4
  318. package/cdn/components/icon-button/icon-button.component.js +4 -4
  319. package/cdn/components/icon-button/icon-button.js +5 -5
  320. package/cdn/components/image-comparer/image-comparer.component.js +4 -4
  321. package/cdn/components/image-comparer/image-comparer.js +5 -5
  322. package/cdn/components/include/include.component.js +2 -2
  323. package/cdn/components/include/include.js +3 -3
  324. package/cdn/components/input/input.component.js +6 -6
  325. package/cdn/components/input/input.js +7 -7
  326. package/cdn/components/menu/menu.component.js +2 -2
  327. package/cdn/components/menu/menu.js +3 -3
  328. package/cdn/components/menu-item/menu-item.component.js +7 -7
  329. package/cdn/components/menu-item/menu-item.js +8 -8
  330. package/cdn/components/menu-label/menu-label.component.js +2 -2
  331. package/cdn/components/menu-label/menu-label.js +3 -3
  332. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  333. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  334. package/cdn/components/nav/nav.component.js +12 -12
  335. package/cdn/components/nav/nav.js +13 -13
  336. package/cdn/components/nav-group/nav-group.component.js +2 -2
  337. package/cdn/components/nav-group/nav-group.js +3 -3
  338. package/cdn/components/nav-item/nav-item.component.js +2 -2
  339. package/cdn/components/nav-item/nav-item.js +3 -3
  340. package/cdn/components/nav-submenu/nav-submenu.component.js +6 -6
  341. package/cdn/components/nav-submenu/nav-submenu.js +7 -7
  342. package/cdn/components/option/option.component.js +4 -4
  343. package/cdn/components/option/option.js +5 -5
  344. package/cdn/components/pagination/custom-select.js +13 -13
  345. package/cdn/components/pagination/pagination.component.js +14 -14
  346. package/cdn/components/pagination/pagination.js +14 -14
  347. package/cdn/components/popup/popup.component.js +2 -2
  348. package/cdn/components/popup/popup.js +3 -3
  349. package/cdn/components/progress-bar/progress-bar.component.js +3 -3
  350. package/cdn/components/progress-bar/progress-bar.js +4 -4
  351. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  352. package/cdn/components/progress-ring/progress-ring.js +3 -3
  353. package/cdn/components/qr-code/qr-code.component.js +2 -2
  354. package/cdn/components/qr-code/qr-code.js +3 -3
  355. package/cdn/components/radio/radio.component.js +4 -4
  356. package/cdn/components/radio/radio.js +5 -5
  357. package/cdn/components/radio-button/radio-button.component.js +2 -2
  358. package/cdn/components/radio-button/radio-button.js +3 -3
  359. package/cdn/components/radio-group/radio-group.component.js +3 -3
  360. package/cdn/components/radio-group/radio-group.js +4 -4
  361. package/cdn/components/range/range.component.js +4 -4
  362. package/cdn/components/range/range.js +5 -5
  363. package/cdn/components/rating/rating.component.js +4 -4
  364. package/cdn/components/rating/rating.js +5 -5
  365. package/cdn/components/relative-time/relative-time.component.js +2 -2
  366. package/cdn/components/relative-time/relative-time.js +3 -3
  367. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  368. package/cdn/components/resize-observer/resize-observer.js +3 -3
  369. package/cdn/components/row/row.component.js +2 -2
  370. package/cdn/components/row/row.js +3 -3
  371. package/cdn/components/screen/screen.component.js +2 -2
  372. package/cdn/components/screen/screen.js +3 -3
  373. package/cdn/components/select/select.component.js +10 -10
  374. package/cdn/components/select/select.js +11 -11
  375. package/cdn/components/sender/sender.component.js +17 -17
  376. package/cdn/components/sender/sender.js +18 -18
  377. package/cdn/components/sender-header/sender-header.component.js +8 -8
  378. package/cdn/components/sender-header/sender-header.js +9 -9
  379. package/cdn/components/sender-switch/sender-switch.component.js +8 -8
  380. package/cdn/components/sender-switch/sender-switch.js +9 -9
  381. package/cdn/components/skeleton/skeleton.component.js +2 -2
  382. package/cdn/components/skeleton/skeleton.js +3 -3
  383. package/cdn/components/spinner/spinner.component.js +2 -2
  384. package/cdn/components/spinner/spinner.js +3 -3
  385. package/cdn/components/split-panel/split-panel.component.js +3 -3
  386. package/cdn/components/split-panel/split-panel.js +4 -4
  387. package/cdn/components/switch/switch.component.js +2 -2
  388. package/cdn/components/switch/switch.js +3 -3
  389. package/cdn/components/tab/tab.component.js +6 -6
  390. package/cdn/components/tab/tab.js +7 -7
  391. package/cdn/components/tab-group/tab-group.component.js +7 -7
  392. package/cdn/components/tab-group/tab-group.js +8 -8
  393. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  394. package/cdn/components/tab-panel/tab-panel.js +3 -3
  395. package/cdn/components/table/body-table.js +9 -9
  396. package/cdn/components/table/col-group.js +3 -3
  397. package/cdn/components/table/const.js +3 -1
  398. package/cdn/components/table/features/col-pining.js +3 -3
  399. package/cdn/components/table/features/index.js +5 -5
  400. package/cdn/components/table/features/row-drag-controller.js +1 -1
  401. package/cdn/components/table/features/tree-table.js +1 -1
  402. package/cdn/components/table/footer-table.js +19 -0
  403. package/cdn/components/table/head-table.js +28 -28
  404. package/cdn/components/table/spinner-container.js +2 -2
  405. package/cdn/components/table/table.component.js +41 -40
  406. package/cdn/components/table/table.js +42 -41
  407. package/cdn/components/table/utils.js +2 -2
  408. package/cdn/components/tag/tag.component.js +6 -6
  409. package/cdn/components/tag/tag.js +7 -7
  410. package/cdn/components/textarea/textarea.component.js +2 -2
  411. package/cdn/components/textarea/textarea.js +3 -3
  412. package/cdn/components/think/think.component.js +5 -5
  413. package/cdn/components/think/think.js +6 -6
  414. package/cdn/components/thought-chain/thought-chain.component.js +2 -2
  415. package/cdn/components/thought-chain/thought-chain.js +3 -3
  416. package/cdn/components/thought-chain-item/thought-chain-item.component.js +5 -5
  417. package/cdn/components/thought-chain-item/thought-chain-item.js +6 -6
  418. package/cdn/components/thought-chain-node/thought-chain-node.component.js +5 -5
  419. package/cdn/components/thought-chain-node/thought-chain-node.js +6 -6
  420. package/cdn/components/time-panel/time-panel.component.js +8 -8
  421. package/cdn/components/time-panel/time-panel.js +8 -8
  422. package/cdn/components/timepicker/timepicker.component.js +18 -18
  423. package/cdn/components/timepicker/timepicker.js +18 -18
  424. package/cdn/components/tooltip/tooltip.component.js +3 -3
  425. package/cdn/components/tooltip/tooltip.js +4 -4
  426. package/cdn/components/tree/tree.component.js +11 -11
  427. package/cdn/components/tree/tree.js +12 -12
  428. package/cdn/components/tree-item/tree-item.component.js +8 -8
  429. package/cdn/components/tree-item/tree-item.js +9 -9
  430. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  431. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  432. package/cdn/components/x-markdown/markdown/render.js +2 -2
  433. package/cdn/components/x-markdown/x-markdown.component.js +5 -5
  434. package/cdn/components/x-markdown/x-markdown.js +6 -6
  435. package/cdn/custom-elements.json +4180 -4144
  436. package/cdn/react/alert/index.js +8 -8
  437. package/cdn/react/animated-image/index.js +5 -5
  438. package/cdn/react/animation/index.js +3 -3
  439. package/cdn/react/avatar/index.js +5 -5
  440. package/cdn/react/badge/index.js +3 -3
  441. package/cdn/react/breadcrumb/index.js +5 -5
  442. package/cdn/react/breadcrumb-item/index.js +3 -3
  443. package/cdn/react/button/index.js +8 -8
  444. package/cdn/react/button-group/index.js +3 -3
  445. package/cdn/react/card/index.js +3 -3
  446. package/cdn/react/carousel/index.js +6 -6
  447. package/cdn/react/carousel-item/index.js +3 -3
  448. package/cdn/react/checkbox/index.js +5 -5
  449. package/cdn/react/col/index.js +3 -3
  450. package/cdn/react/color-picker/index.js +17 -17
  451. package/cdn/react/copy-button/index.js +8 -8
  452. package/cdn/react/date-panel/index.js +13 -13
  453. package/cdn/react/datepicker/index.js +19 -19
  454. package/cdn/react/daterangepicker/index.js +15 -15
  455. package/cdn/react/details/index.js +5 -5
  456. package/cdn/react/dialog/index.js +8 -8
  457. package/cdn/react/divider/index.js +3 -3
  458. package/cdn/react/drawer/index.js +8 -8
  459. package/cdn/react/dropdown/index.js +6 -6
  460. package/cdn/react/float-button/index.js +9 -9
  461. package/cdn/react/float-button-group/index.js +5 -5
  462. package/cdn/react/format-bytes/index.js +3 -3
  463. package/cdn/react/format-date/index.js +3 -3
  464. package/cdn/react/format-number/index.js +3 -3
  465. package/cdn/react/icon/index.js +4 -4
  466. package/cdn/react/icon-button/index.js +5 -5
  467. package/cdn/react/image-comparer/index.js +5 -5
  468. package/cdn/react/include/index.js +3 -3
  469. package/cdn/react/index.js +263 -262
  470. package/cdn/react/input/index.js +7 -7
  471. package/cdn/react/menu/index.js +3 -3
  472. package/cdn/react/menu-item/index.js +8 -8
  473. package/cdn/react/menu-label/index.js +3 -3
  474. package/cdn/react/mutation-observer/index.js +3 -3
  475. package/cdn/react/nav/index.js +13 -13
  476. package/cdn/react/nav-group/index.js +3 -3
  477. package/cdn/react/nav-item/index.js +3 -3
  478. package/cdn/react/nav-submenu/index.js +7 -7
  479. package/cdn/react/option/index.js +5 -5
  480. package/cdn/react/pagination/index.js +15 -15
  481. package/cdn/react/popup/index.js +3 -3
  482. package/cdn/react/progress-bar/index.js +4 -4
  483. package/cdn/react/progress-ring/index.js +3 -3
  484. package/cdn/react/qr-code/index.js +3 -3
  485. package/cdn/react/radio/index.js +5 -5
  486. package/cdn/react/radio-button/index.js +3 -3
  487. package/cdn/react/radio-group/index.js +4 -4
  488. package/cdn/react/range/index.js +5 -5
  489. package/cdn/react/rating/index.js +5 -5
  490. package/cdn/react/relative-time/index.js +3 -3
  491. package/cdn/react/resize-observer/index.js +3 -3
  492. package/cdn/react/row/index.js +3 -3
  493. package/cdn/react/screen/index.js +3 -3
  494. package/cdn/react/select/index.js +11 -11
  495. package/cdn/react/sender/index.js +18 -18
  496. package/cdn/react/sender-header/index.js +9 -9
  497. package/cdn/react/sender-switch/index.js +9 -9
  498. package/cdn/react/skeleton/index.js +3 -3
  499. package/cdn/react/spinner/index.js +3 -3
  500. package/cdn/react/split-panel/index.js +4 -4
  501. package/cdn/react/switch/index.js +3 -3
  502. package/cdn/react/tab/index.js +7 -7
  503. package/cdn/react/tab-group/index.js +8 -8
  504. package/cdn/react/tab-panel/index.js +3 -3
  505. package/cdn/react/table/index.js +42 -41
  506. package/cdn/react/tag/index.js +7 -7
  507. package/cdn/react/textarea/index.js +3 -3
  508. package/cdn/react/think/index.js +6 -6
  509. package/cdn/react/thought-chain/index.js +3 -3
  510. package/cdn/react/thought-chain-item/index.js +6 -6
  511. package/cdn/react/thought-chain-node/index.js +6 -6
  512. package/cdn/react/timepicker/index.js +19 -19
  513. package/cdn/react/tooltip/index.js +4 -4
  514. package/cdn/react/tree/index.js +12 -12
  515. package/cdn/react/tree-item/index.js +9 -9
  516. package/cdn/react/visually-hidden/index.js +3 -3
  517. package/cdn/react/x-markdown/index.js +6 -6
  518. package/cdn/shoelace.js +251 -250
  519. package/cdn/themes/light.css +1 -0
  520. package/cdn/themes/light.styles.js +1 -0
  521. package/cdn/types/vue/index.d.ts +468 -464
  522. package/cdn/vscode.html-custom-data.json +412 -408
  523. package/cdn/web-types.json +1018 -1009
  524. package/dist/chunks/chunk.23TLPZVT.js +171 -0
  525. package/dist/chunks/chunk.26SCCLYY.js +96 -0
  526. package/dist/chunks/chunk.2EA23QDM.js +21 -0
  527. package/dist/chunks/chunk.2LNFLOLP.js +24 -0
  528. package/dist/chunks/chunk.2NDBF2XR.js +247 -0
  529. package/dist/chunks/chunk.323MRUTD.js +91 -0
  530. package/dist/chunks/chunk.325RUAEG.js +29 -0
  531. package/dist/chunks/chunk.37ODMRKG.js +25 -0
  532. package/dist/chunks/chunk.3AINOOTS.js +25 -0
  533. package/dist/chunks/chunk.3EOJVTR3.js +299 -0
  534. package/dist/chunks/chunk.3ILQMNTZ.js +11 -0
  535. package/dist/chunks/chunk.3P4V4P3H.js +153 -0
  536. package/dist/chunks/chunk.3STPB52K.js +27 -0
  537. package/dist/chunks/chunk.3SZVHDKE.js +29 -0
  538. package/dist/chunks/chunk.3YHNIVVX.js +109 -0
  539. package/dist/chunks/chunk.453W67RW.js +11 -0
  540. package/dist/chunks/chunk.456SA7OE.js +11 -0
  541. package/dist/chunks/chunk.4CHFBCQT.js +167 -0
  542. package/dist/chunks/chunk.4DK5CSJZ.js +11 -0
  543. package/dist/chunks/chunk.4GUHVZ2G.js +21 -0
  544. package/dist/chunks/chunk.4H67K62S.js +29 -0
  545. package/dist/chunks/chunk.4NB33WQT.js +21 -0
  546. package/dist/chunks/chunk.4REBK5EZ.js +100 -0
  547. package/dist/chunks/chunk.532ZYU3S.js +90 -0
  548. package/dist/chunks/chunk.5E2BAEVT.js +75 -0
  549. package/dist/chunks/chunk.5FVPEAVC.js +25 -0
  550. package/dist/chunks/chunk.5PLSGYKT.js +113 -0
  551. package/dist/chunks/chunk.5SMBLG5P.js +28 -0
  552. package/dist/chunks/chunk.5YU6NMJE.js +11 -0
  553. package/dist/chunks/chunk.5ZA7EUGU.js +11 -0
  554. package/dist/chunks/chunk.646YVPQG.js +11 -0
  555. package/dist/chunks/chunk.64BOJ6TO.js +85 -0
  556. package/dist/chunks/chunk.6B4WDWBX.js +11 -0
  557. package/dist/chunks/chunk.6GO6GKHL.js +21 -0
  558. package/dist/chunks/chunk.6I5L5JDP.js +11 -0
  559. package/dist/chunks/chunk.6JHJGMXS.js +11 -0
  560. package/dist/chunks/chunk.6JQ6N5CR.js +24 -0
  561. package/dist/chunks/chunk.6MI4FM5D.js +11 -0
  562. package/dist/chunks/chunk.6RUAZUNA.js +11 -0
  563. package/dist/chunks/chunk.6V7W7HEY.js +11 -0
  564. package/dist/chunks/chunk.6WQZBDEA.js +29 -0
  565. package/dist/chunks/chunk.6YPXVX7E.js +11 -0
  566. package/dist/chunks/chunk.73PS3CM4.js +24 -0
  567. package/dist/chunks/chunk.75NQDSZQ.js +24 -0
  568. package/dist/chunks/chunk.7F2MGDBD.js +11 -0
  569. package/dist/chunks/chunk.7I33CNXG.js +52 -0
  570. package/dist/chunks/chunk.7NO6S5TS.js +11 -0
  571. package/dist/chunks/chunk.7QFIQXKG.js +25 -0
  572. package/dist/chunks/chunk.7XP2M4KA.js +125 -0
  573. package/dist/chunks/chunk.ABAEZKYD.js +11 -0
  574. package/dist/chunks/chunk.ABZK4LBO.js +21 -0
  575. package/dist/chunks/chunk.ACTYIS5W.js +11 -0
  576. package/dist/chunks/chunk.AG7G6U34.js +67 -0
  577. package/dist/chunks/chunk.AGGYGFG5.js +11 -0
  578. package/dist/chunks/chunk.AO2IIC6O.js +11 -0
  579. package/dist/chunks/chunk.ARQFSMGI.js +361 -0
  580. package/dist/chunks/chunk.AS7VVSTY.js +11 -0
  581. package/dist/chunks/chunk.AXJBWCRQ.js +25 -0
  582. package/dist/chunks/chunk.B23MMOIT.js +34 -0
  583. package/dist/chunks/chunk.B7O4DTOY.js +448 -0
  584. package/dist/chunks/chunk.BDBC77RU.js +99 -0
  585. package/dist/chunks/chunk.BEDWXX2A.js +11 -0
  586. package/dist/chunks/chunk.BH47LXR7.js +598 -0
  587. package/dist/chunks/chunk.BQSFWPON.js +21 -0
  588. package/dist/chunks/chunk.BSNBFFIW.js +11 -0
  589. package/dist/chunks/chunk.BVDZVI5X.js +11 -0
  590. package/dist/chunks/chunk.BXFHLMUH.js +25 -0
  591. package/dist/chunks/chunk.BZAOMJ56.js +11 -0
  592. package/dist/chunks/chunk.C52VXVWX.js +11 -0
  593. package/dist/chunks/chunk.CDIKJAZZ.js +119 -0
  594. package/dist/chunks/chunk.CGECDXY2.js +444 -0
  595. package/dist/chunks/chunk.CL4JBCOI.js +227 -0
  596. package/dist/chunks/chunk.CY5NI24N.js +11 -0
  597. package/dist/chunks/chunk.CYVW6FVL.js +21 -0
  598. package/dist/chunks/chunk.D3MSRBRO.js +11 -0
  599. package/dist/chunks/chunk.D6J3AO2B.js +135 -0
  600. package/dist/chunks/chunk.DEPWFOWK.js +128 -0
  601. package/dist/chunks/chunk.DFAQ7TUF.js +21 -0
  602. package/dist/chunks/chunk.DFZDVAFL.js +134 -0
  603. package/dist/chunks/chunk.DGTYZKT2.js +11 -0
  604. package/dist/chunks/chunk.DJTL2HRI.js +93 -0
  605. package/dist/chunks/chunk.DOGHHACB.js +11 -0
  606. package/dist/chunks/chunk.DONDEDJQ.js +26 -0
  607. package/dist/chunks/chunk.DPWFMAUN.js +21 -0
  608. package/dist/chunks/chunk.DWD32LZP.js +24 -0
  609. package/dist/chunks/chunk.DY23GKRX.js +148 -0
  610. package/dist/chunks/chunk.DZ4N7ZUR.js +28 -0
  611. package/dist/chunks/chunk.DZVK5OFR.js +231 -0
  612. package/dist/chunks/chunk.EBLTGTNV.js +25 -0
  613. package/dist/chunks/chunk.EF6OJRK7.js +24 -0
  614. package/dist/chunks/chunk.ER53E47R.js +11 -0
  615. package/dist/chunks/chunk.EVONWXTA.js +21 -0
  616. package/dist/chunks/chunk.EVT2P7I5.js +25 -0
  617. package/dist/chunks/chunk.EYF7OHPR.js +24 -0
  618. package/dist/chunks/chunk.F74KIZ6G.js +27 -0
  619. package/dist/chunks/chunk.FFD2PFBA.js +21 -0
  620. package/dist/chunks/chunk.FJIKUUX5.js +21 -0
  621. package/dist/chunks/chunk.FMFZM3VE.js +212 -0
  622. package/dist/chunks/chunk.FTI73S6W.js +11 -0
  623. package/dist/chunks/chunk.FURFC2CO.js +105 -0
  624. package/dist/chunks/chunk.FUWVGY24.js +11 -0
  625. package/dist/chunks/chunk.FYRXV7WP.js +26 -0
  626. package/dist/chunks/chunk.GB2MPWHR.js +11 -0
  627. package/dist/chunks/chunk.GC5UNJYA.js +11 -0
  628. package/dist/chunks/chunk.GHAZ2NSU.js +11 -0
  629. package/dist/chunks/chunk.GPTSGD2A.js +25 -0
  630. package/dist/chunks/chunk.GRXPM4O4.js +21 -0
  631. package/dist/chunks/chunk.GVRYANRJ.js +111 -0
  632. package/dist/chunks/chunk.GWXCNG4Z.js +293 -0
  633. package/dist/chunks/chunk.H7KRVU4U.js +335 -0
  634. package/dist/chunks/chunk.HJPZCMUJ.js +24 -0
  635. package/dist/chunks/chunk.HMYHOYG6.js +11 -0
  636. package/dist/chunks/chunk.HTHPVAF6.js +24 -0
  637. package/dist/chunks/chunk.HV6DWGV6.js +170 -0
  638. package/dist/chunks/chunk.HVGGXTUY.js +814 -0
  639. package/dist/chunks/chunk.HWJ5GHEF.js +29 -0
  640. package/dist/chunks/chunk.I55RYRHJ.js +11 -0
  641. package/dist/chunks/chunk.ICLMKLSM.js +27 -0
  642. package/dist/chunks/chunk.IEUYJI2V.js +11 -0
  643. package/dist/chunks/chunk.IM2EER45.js +11 -0
  644. package/dist/chunks/chunk.IMD7EKYB.js +306 -0
  645. package/dist/chunks/chunk.JHG5PGQB.js +28 -0
  646. package/dist/chunks/chunk.JL4IEF5S.js +42 -0
  647. package/dist/chunks/chunk.JLDLFEY2.js +25 -0
  648. package/dist/chunks/chunk.JTIWCWEI.js +24 -0
  649. package/dist/chunks/chunk.K246SNWP.js +11 -0
  650. package/dist/chunks/chunk.K3R5PQIU.js +126 -0
  651. package/dist/chunks/chunk.K4IPS2TK.js +11 -0
  652. package/dist/chunks/chunk.K4TJJ7EM.js +916 -0
  653. package/dist/chunks/chunk.KFHXR2BC.js +11 -0
  654. package/dist/chunks/chunk.KLVXNU4L.js +24 -0
  655. package/dist/chunks/chunk.KONR2CKB.js +27 -0
  656. package/dist/chunks/chunk.KVVOE4N5.js +59 -0
  657. package/dist/chunks/chunk.KXCO3UVW.js +25 -0
  658. package/dist/chunks/chunk.L7IWPTUL.js +1150 -0
  659. package/dist/chunks/chunk.LFCXATA2.js +949 -0
  660. package/dist/chunks/chunk.LGRQXGOU.js +73 -0
  661. package/dist/chunks/chunk.LJTMHMMV.js +315 -0
  662. package/dist/chunks/chunk.LNCVA2LC.js +21 -0
  663. package/dist/chunks/chunk.LOIJEG4W.js +11 -0
  664. package/dist/chunks/chunk.LV5NZ2X4.js +26 -0
  665. package/dist/chunks/chunk.LVL2F2UK.js +50 -0
  666. package/dist/chunks/chunk.M5M6A7A4.js +63 -0
  667. package/dist/chunks/chunk.M7WPGNKJ.js +21 -0
  668. package/dist/chunks/chunk.MBBGYDPJ.js +21 -0
  669. package/dist/chunks/chunk.MD5CNJYY.js +21 -0
  670. package/dist/chunks/chunk.MMX2MNK3.js +294 -0
  671. package/dist/chunks/chunk.MORRVJDQ.js +21 -0
  672. package/dist/chunks/chunk.MOUSVVQT.js +11 -0
  673. package/dist/chunks/chunk.MQWHTJPK.js +371 -0
  674. package/dist/chunks/chunk.MVII53TU.js +502 -0
  675. package/dist/chunks/chunk.MVUU32XP.js +11 -0
  676. package/dist/chunks/chunk.MWXTMR76.js +11 -0
  677. package/dist/chunks/chunk.N6I33EAC.js +397 -0
  678. package/dist/chunks/chunk.NB5YIW7Z.js +11 -0
  679. package/dist/chunks/chunk.NBSEUJKB.js +194 -0
  680. package/dist/chunks/chunk.NEKEYVJO.js +11 -0
  681. package/dist/chunks/chunk.NGR354TT.js +11 -0
  682. package/dist/chunks/chunk.NNAGCOFI.js +11 -0
  683. package/dist/chunks/chunk.NRN6Q3XG.js +24 -0
  684. package/dist/chunks/chunk.NV4UTSI6.js +117 -0
  685. package/dist/chunks/chunk.NYROL4ZE.js +21 -0
  686. package/dist/chunks/chunk.NZWXUQ3H.js +384 -0
  687. package/dist/chunks/chunk.O6OUZP3U.js +11 -0
  688. package/dist/chunks/chunk.OBJGSS6E.js +280 -0
  689. package/dist/chunks/chunk.OBK2YPSN.js +151 -0
  690. package/dist/chunks/chunk.OCHTUUOS.js +504 -0
  691. package/dist/chunks/chunk.OIPWYUIP.js +29 -0
  692. package/dist/chunks/chunk.OJ2M4ES7.js +320 -0
  693. package/dist/chunks/chunk.OJUO7QTD.js +11 -0
  694. package/dist/chunks/chunk.OMAX4MNF.js +192 -0
  695. package/dist/chunks/chunk.OOZXG5GD.js +86 -0
  696. package/dist/chunks/chunk.OPFBZE7B.js +11 -0
  697. package/dist/chunks/chunk.OWEZV62N.js +28 -0
  698. package/dist/chunks/chunk.OYALUVRG.js +24 -0
  699. package/dist/chunks/chunk.P2VEKBPG.js +21 -0
  700. package/dist/chunks/chunk.P5MTSCJS.js +32 -0
  701. package/dist/chunks/chunk.PAFCWRAG.js +11 -0
  702. package/dist/chunks/chunk.PAY755AQ.js +11 -0
  703. package/dist/chunks/chunk.PCNSVIK4.js +11 -0
  704. package/dist/chunks/chunk.PEPNOA73.js +263 -0
  705. package/dist/chunks/chunk.PILQUS46.js +581 -0
  706. package/dist/chunks/chunk.PL3LGAXY.js +21 -0
  707. package/dist/chunks/chunk.PTSGOSPM.js +21 -0
  708. package/dist/chunks/chunk.Q42GQQ47.js +11 -0
  709. package/dist/chunks/chunk.Q4LAKBXF.js +11 -0
  710. package/dist/chunks/chunk.QC7RFFLZ.js +11 -0
  711. package/dist/chunks/chunk.QGYYJHJM.js +22 -0
  712. package/dist/chunks/chunk.QOGZTB3J.js +24 -0
  713. package/dist/chunks/chunk.QPMRCS3F.js +154 -0
  714. package/dist/chunks/chunk.QYK33DTB.js +27 -0
  715. package/dist/chunks/chunk.QZEXE67U.js +11 -0
  716. package/dist/chunks/chunk.R3KSEODV.js +348 -0
  717. package/dist/chunks/chunk.R56GO5NN.js +11 -0
  718. package/dist/chunks/chunk.R5TQOQAQ.js +11 -0
  719. package/dist/chunks/chunk.RHF6I4CP.js +209 -0
  720. package/dist/chunks/chunk.RJWPMX7W.js +231 -0
  721. package/dist/chunks/chunk.RK2XXSIB.js +57 -0
  722. package/dist/chunks/chunk.RK7FET3Z.js +24 -0
  723. package/dist/chunks/chunk.ROBU4SHI.js +11 -0
  724. package/dist/chunks/chunk.RSXX3WRW.js +11 -0
  725. package/dist/chunks/chunk.RVQ76RAB.js +26 -0
  726. package/dist/chunks/chunk.S4TGXT7T.js +214 -0
  727. package/dist/chunks/chunk.SKOPZQNS.js +24 -0
  728. package/dist/chunks/chunk.SKYYMGPL.js +11 -0
  729. package/dist/chunks/chunk.SRS6IIO3.js +33 -0
  730. package/dist/chunks/chunk.SUCFVDWF.js +11 -0
  731. package/dist/chunks/chunk.SZOAHQRH.js +21 -0
  732. package/dist/chunks/chunk.TBD4QJ5D.js +11 -0
  733. package/dist/chunks/chunk.TJ66D5ZW.js +324 -0
  734. package/dist/chunks/chunk.TN732AHC.js +337 -0
  735. package/dist/chunks/chunk.TO2O2WKT.js +45 -0
  736. package/dist/chunks/chunk.TPT7QM36.js +24 -0
  737. package/dist/chunks/chunk.TQPBT2QK.js +147 -0
  738. package/dist/chunks/chunk.TSKGGTC7.js +116 -0
  739. package/dist/chunks/chunk.U3A2RLLY.js +11 -0
  740. package/dist/chunks/chunk.UBHV3NFZ.js +80 -0
  741. package/dist/chunks/chunk.UCUCDSMT.js +1251 -0
  742. package/dist/chunks/chunk.UE73HLDG.js +27 -0
  743. package/dist/chunks/chunk.UL2HFXCX.js +126 -0
  744. package/dist/chunks/chunk.UQE6MYX7.js +11 -0
  745. package/dist/chunks/chunk.V2U6HBGK.js +417 -0
  746. package/dist/chunks/chunk.V4ER4EQ2.js +28 -0
  747. package/dist/chunks/chunk.VC23ETJP.js +21 -0
  748. package/dist/chunks/chunk.VFDED5ZN.js +21 -0
  749. package/dist/chunks/chunk.VLEKCONO.js +29 -0
  750. package/dist/chunks/chunk.VW6M434O.js +100 -0
  751. package/dist/chunks/chunk.VYZSSTRO.js +550 -0
  752. package/dist/chunks/chunk.WAA4F577.js +11 -0
  753. package/dist/chunks/chunk.WAZPRCFA.js +45 -0
  754. package/dist/chunks/chunk.WCUK6RJF.js +1667 -0
  755. package/dist/chunks/chunk.WDWT3KE2.js +84 -0
  756. package/dist/chunks/chunk.WFYIGAWC.js +274 -0
  757. package/dist/chunks/chunk.WOYG75OC.js +21 -0
  758. package/dist/chunks/chunk.WQUVNVEL.js +188 -0
  759. package/dist/chunks/chunk.WZH4NZ3O.js +11 -0
  760. package/dist/chunks/chunk.X2MMC7UR.js +11 -0
  761. package/dist/chunks/chunk.XALXTZUR.js +11 -0
  762. package/dist/chunks/chunk.XEVZMU4Q.js +135 -0
  763. package/dist/chunks/chunk.XHRX6POL.js +24 -0
  764. package/dist/chunks/chunk.XMBINA7J.js +181 -0
  765. package/dist/chunks/chunk.XRYXQPWG.js +21 -0
  766. package/dist/chunks/chunk.XZZXZXWT.js +21 -0
  767. package/dist/chunks/chunk.Y3OTTFHX.js +22 -0
  768. package/dist/chunks/chunk.Y3VVYP4E.js +15 -0
  769. package/dist/chunks/chunk.Y5RCCSVD.js +11 -0
  770. package/dist/chunks/chunk.Y6S7ABQU.js +25 -0
  771. package/dist/chunks/chunk.YZYAQMW2.js +311 -0
  772. package/dist/chunks/chunk.Z7FHCPDJ.js +11 -0
  773. package/dist/chunks/chunk.ZDVSEURQ.js +213 -0
  774. package/dist/chunks/chunk.ZF7PHNPH.js +11 -0
  775. package/dist/chunks/chunk.ZGTQYFRC.js +286 -0
  776. package/dist/chunks/chunk.ZNN5HQHB.js +428 -0
  777. package/dist/chunks/chunk.ZRM2FJ74.js +75 -0
  778. package/dist/chunks/chunk.ZSNTKQDJ.js +29 -0
  779. package/dist/components/alert/alert.component.js +6 -6
  780. package/dist/components/alert/alert.js +7 -7
  781. package/dist/components/animated-image/animated-image.component.js +4 -4
  782. package/dist/components/animated-image/animated-image.js +5 -5
  783. package/dist/components/animation/animation.component.js +2 -2
  784. package/dist/components/animation/animation.js +3 -3
  785. package/dist/components/avatar/avatar.component.js +4 -4
  786. package/dist/components/avatar/avatar.js +5 -5
  787. package/dist/components/badge/badge.component.js +2 -2
  788. package/dist/components/badge/badge.js +3 -3
  789. package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
  790. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  791. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  792. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  793. package/dist/components/button/button.component.js +6 -6
  794. package/dist/components/button/button.js +7 -7
  795. package/dist/components/button-group/button-group.component.js +2 -2
  796. package/dist/components/button-group/button-group.js +3 -3
  797. package/dist/components/calendar/calendar.component.js +8 -8
  798. package/dist/components/calendar/calendar.js +8 -8
  799. package/dist/components/card/card.component.js +2 -2
  800. package/dist/components/card/card.js +3 -3
  801. package/dist/components/carousel/carousel.component.js +5 -5
  802. package/dist/components/carousel/carousel.js +6 -6
  803. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  804. package/dist/components/carousel-item/carousel-item.js +3 -3
  805. package/dist/components/checkbox/checkbox.component.js +4 -4
  806. package/dist/components/checkbox/checkbox.js +5 -5
  807. package/dist/components/col/col.component.js +2 -2
  808. package/dist/components/col/col.js +3 -3
  809. package/dist/components/color-picker/color-picker.component.js +15 -15
  810. package/dist/components/color-picker/color-picker.js +16 -16
  811. package/dist/components/copy-button/copy-button.component.js +7 -7
  812. package/dist/components/copy-button/copy-button.js +8 -8
  813. package/dist/components/date-panel/date-panel.component.js +11 -11
  814. package/dist/components/date-panel/date-panel.js +11 -11
  815. package/dist/components/datepicker/datepicker.component.js +17 -17
  816. package/dist/components/datepicker/datepicker.js +17 -17
  817. package/dist/components/daterangepicker/daterangepicker.component.js +13 -13
  818. package/dist/components/daterangepicker/daterangepicker.js +14 -14
  819. package/dist/components/details/details.component.js +4 -4
  820. package/dist/components/details/details.js +5 -5
  821. package/dist/components/dialog/dialog.component.js +6 -6
  822. package/dist/components/dialog/dialog.js +7 -7
  823. package/dist/components/divider/divider.component.js +2 -2
  824. package/dist/components/divider/divider.js +3 -3
  825. package/dist/components/drawer/drawer.component.js +6 -6
  826. package/dist/components/drawer/drawer.js +7 -7
  827. package/dist/components/dropdown/dropdown.component.js +4 -4
  828. package/dist/components/dropdown/dropdown.js +5 -5
  829. package/dist/components/float-button/float-button.component.js +7 -7
  830. package/dist/components/float-button/float-button.js +8 -8
  831. package/dist/components/float-button-group/float-button-group.component.js +4 -4
  832. package/dist/components/float-button-group/float-button-group.js +5 -5
  833. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  834. package/dist/components/format-bytes/format-bytes.js +3 -3
  835. package/dist/components/format-date/format-date.component.js +2 -2
  836. package/dist/components/format-date/format-date.js +3 -3
  837. package/dist/components/format-number/format-number.component.js +2 -2
  838. package/dist/components/format-number/format-number.js +3 -3
  839. package/dist/components/icon/icon.component.js +3 -3
  840. package/dist/components/icon/icon.js +4 -4
  841. package/dist/components/icon-button/icon-button.component.js +4 -4
  842. package/dist/components/icon-button/icon-button.js +5 -5
  843. package/dist/components/image-comparer/image-comparer.component.js +4 -4
  844. package/dist/components/image-comparer/image-comparer.js +5 -5
  845. package/dist/components/include/include.component.js +2 -2
  846. package/dist/components/include/include.js +3 -3
  847. package/dist/components/input/input.component.js +5 -5
  848. package/dist/components/input/input.js +6 -6
  849. package/dist/components/menu/menu.component.js +2 -2
  850. package/dist/components/menu/menu.js +3 -3
  851. package/dist/components/menu-item/menu-item.component.js +7 -7
  852. package/dist/components/menu-item/menu-item.js +8 -8
  853. package/dist/components/menu-label/menu-label.component.js +2 -2
  854. package/dist/components/menu-label/menu-label.js +3 -3
  855. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  856. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  857. package/dist/components/nav/nav.component.js +12 -12
  858. package/dist/components/nav/nav.js +13 -13
  859. package/dist/components/nav-group/nav-group.component.js +2 -2
  860. package/dist/components/nav-group/nav-group.js +3 -3
  861. package/dist/components/nav-item/nav-item.component.js +2 -2
  862. package/dist/components/nav-item/nav-item.js +3 -3
  863. package/dist/components/nav-submenu/nav-submenu.component.js +6 -6
  864. package/dist/components/nav-submenu/nav-submenu.js +7 -7
  865. package/dist/components/option/option.component.js +4 -4
  866. package/dist/components/option/option.js +5 -5
  867. package/dist/components/pagination/custom-select.js +12 -12
  868. package/dist/components/pagination/pagination.component.js +13 -13
  869. package/dist/components/pagination/pagination.js +13 -13
  870. package/dist/components/popup/popup.component.js +2 -2
  871. package/dist/components/popup/popup.js +3 -3
  872. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  873. package/dist/components/progress-bar/progress-bar.js +3 -3
  874. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  875. package/dist/components/progress-ring/progress-ring.js +3 -3
  876. package/dist/components/qr-code/qr-code.component.js +2 -2
  877. package/dist/components/qr-code/qr-code.js +3 -3
  878. package/dist/components/radio/radio.component.js +4 -4
  879. package/dist/components/radio/radio.js +5 -5
  880. package/dist/components/radio-button/radio-button.component.js +2 -2
  881. package/dist/components/radio-button/radio-button.js +3 -3
  882. package/dist/components/radio-group/radio-group.component.js +3 -3
  883. package/dist/components/radio-group/radio-group.js +4 -4
  884. package/dist/components/range/range.component.js +3 -3
  885. package/dist/components/range/range.js +4 -4
  886. package/dist/components/rating/rating.component.js +4 -4
  887. package/dist/components/rating/rating.js +5 -5
  888. package/dist/components/relative-time/relative-time.component.js +2 -2
  889. package/dist/components/relative-time/relative-time.js +3 -3
  890. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  891. package/dist/components/resize-observer/resize-observer.js +3 -3
  892. package/dist/components/row/row.component.js +2 -2
  893. package/dist/components/row/row.js +3 -3
  894. package/dist/components/screen/screen.component.js +2 -2
  895. package/dist/components/screen/screen.js +3 -3
  896. package/dist/components/select/select.component.js +9 -9
  897. package/dist/components/select/select.js +10 -10
  898. package/dist/components/sender/sender.component.js +16 -16
  899. package/dist/components/sender/sender.js +17 -17
  900. package/dist/components/sender-header/sender-header.component.js +7 -7
  901. package/dist/components/sender-header/sender-header.js +8 -8
  902. package/dist/components/sender-switch/sender-switch.component.js +7 -7
  903. package/dist/components/sender-switch/sender-switch.js +8 -8
  904. package/dist/components/skeleton/skeleton.component.js +2 -2
  905. package/dist/components/skeleton/skeleton.js +3 -3
  906. package/dist/components/spinner/spinner.component.js +2 -2
  907. package/dist/components/spinner/spinner.js +3 -3
  908. package/dist/components/split-panel/split-panel.component.js +2 -2
  909. package/dist/components/split-panel/split-panel.js +3 -3
  910. package/dist/components/switch/switch.component.js +2 -2
  911. package/dist/components/switch/switch.js +3 -3
  912. package/dist/components/tab/tab.component.js +5 -5
  913. package/dist/components/tab/tab.js +6 -6
  914. package/dist/components/tab-group/tab-group.component.js +6 -6
  915. package/dist/components/tab-group/tab-group.js +7 -7
  916. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  917. package/dist/components/tab-panel/tab-panel.js +3 -3
  918. package/dist/components/table/body-table.js +9 -9
  919. package/dist/components/table/col-group.js +3 -3
  920. package/dist/components/table/const.js +3 -1
  921. package/dist/components/table/features/col-pining.js +3 -3
  922. package/dist/components/table/features/index.js +5 -5
  923. package/dist/components/table/features/row-drag-controller.js +1 -1
  924. package/dist/components/table/features/tree-table.js +1 -1
  925. package/dist/components/table/footer-table.js +13 -0
  926. package/dist/components/table/head-table.js +27 -27
  927. package/dist/components/table/spinner-container.js +2 -2
  928. package/dist/components/table/table.component.js +40 -39
  929. package/dist/components/table/table.js +41 -40
  930. package/dist/components/table/utils.js +2 -2
  931. package/dist/components/tag/tag.component.js +5 -5
  932. package/dist/components/tag/tag.js +6 -6
  933. package/dist/components/textarea/textarea.component.js +2 -2
  934. package/dist/components/textarea/textarea.js +3 -3
  935. package/dist/components/think/think.component.js +5 -5
  936. package/dist/components/think/think.js +6 -6
  937. package/dist/components/thought-chain/thought-chain.component.js +2 -2
  938. package/dist/components/thought-chain/thought-chain.js +3 -3
  939. package/dist/components/thought-chain-item/thought-chain-item.component.js +5 -5
  940. package/dist/components/thought-chain-item/thought-chain-item.js +6 -6
  941. package/dist/components/thought-chain-node/thought-chain-node.component.js +5 -5
  942. package/dist/components/thought-chain-node/thought-chain-node.js +6 -6
  943. package/dist/components/time-panel/time-panel.component.js +7 -7
  944. package/dist/components/time-panel/time-panel.js +7 -7
  945. package/dist/components/timepicker/timepicker.component.js +17 -17
  946. package/dist/components/timepicker/timepicker.js +17 -17
  947. package/dist/components/tooltip/tooltip.component.js +3 -3
  948. package/dist/components/tooltip/tooltip.js +4 -4
  949. package/dist/components/tree/tree.component.js +10 -10
  950. package/dist/components/tree/tree.js +11 -11
  951. package/dist/components/tree-item/tree-item.component.js +7 -7
  952. package/dist/components/tree-item/tree-item.js +8 -8
  953. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  954. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  955. package/dist/components/x-markdown/markdown/render.js +2 -2
  956. package/dist/components/x-markdown/x-markdown.component.js +5 -5
  957. package/dist/components/x-markdown/x-markdown.js +6 -6
  958. package/dist/custom-elements.json +4180 -4144
  959. package/dist/react/alert/index.js +7 -7
  960. package/dist/react/animated-image/index.js +5 -5
  961. package/dist/react/animation/index.js +3 -3
  962. package/dist/react/avatar/index.js +5 -5
  963. package/dist/react/badge/index.js +3 -3
  964. package/dist/react/breadcrumb/index.js +5 -5
  965. package/dist/react/breadcrumb-item/index.js +3 -3
  966. package/dist/react/button/index.js +7 -7
  967. package/dist/react/button-group/index.js +3 -3
  968. package/dist/react/card/index.js +3 -3
  969. package/dist/react/carousel/index.js +6 -6
  970. package/dist/react/carousel-item/index.js +3 -3
  971. package/dist/react/checkbox/index.js +5 -5
  972. package/dist/react/col/index.js +3 -3
  973. package/dist/react/color-picker/index.js +16 -16
  974. package/dist/react/copy-button/index.js +8 -8
  975. package/dist/react/date-panel/index.js +12 -12
  976. package/dist/react/datepicker/index.js +18 -18
  977. package/dist/react/daterangepicker/index.js +14 -14
  978. package/dist/react/details/index.js +5 -5
  979. package/dist/react/dialog/index.js +7 -7
  980. package/dist/react/divider/index.js +3 -3
  981. package/dist/react/drawer/index.js +7 -7
  982. package/dist/react/dropdown/index.js +5 -5
  983. package/dist/react/float-button/index.js +8 -8
  984. package/dist/react/float-button-group/index.js +5 -5
  985. package/dist/react/format-bytes/index.js +3 -3
  986. package/dist/react/format-date/index.js +3 -3
  987. package/dist/react/format-number/index.js +3 -3
  988. package/dist/react/icon/index.js +4 -4
  989. package/dist/react/icon-button/index.js +5 -5
  990. package/dist/react/image-comparer/index.js +5 -5
  991. package/dist/react/include/index.js +3 -3
  992. package/dist/react/index.js +262 -261
  993. package/dist/react/input/index.js +6 -6
  994. package/dist/react/menu/index.js +3 -3
  995. package/dist/react/menu-item/index.js +8 -8
  996. package/dist/react/menu-label/index.js +3 -3
  997. package/dist/react/mutation-observer/index.js +3 -3
  998. package/dist/react/nav/index.js +13 -13
  999. package/dist/react/nav-group/index.js +3 -3
  1000. package/dist/react/nav-item/index.js +3 -3
  1001. package/dist/react/nav-submenu/index.js +7 -7
  1002. package/dist/react/option/index.js +5 -5
  1003. package/dist/react/pagination/index.js +14 -14
  1004. package/dist/react/popup/index.js +3 -3
  1005. package/dist/react/progress-bar/index.js +3 -3
  1006. package/dist/react/progress-ring/index.js +3 -3
  1007. package/dist/react/qr-code/index.js +3 -3
  1008. package/dist/react/radio/index.js +5 -5
  1009. package/dist/react/radio-button/index.js +3 -3
  1010. package/dist/react/radio-group/index.js +4 -4
  1011. package/dist/react/range/index.js +4 -4
  1012. package/dist/react/rating/index.js +5 -5
  1013. package/dist/react/relative-time/index.js +3 -3
  1014. package/dist/react/resize-observer/index.js +3 -3
  1015. package/dist/react/row/index.js +3 -3
  1016. package/dist/react/screen/index.js +3 -3
  1017. package/dist/react/select/index.js +10 -10
  1018. package/dist/react/sender/index.js +17 -17
  1019. package/dist/react/sender-header/index.js +8 -8
  1020. package/dist/react/sender-switch/index.js +8 -8
  1021. package/dist/react/skeleton/index.js +3 -3
  1022. package/dist/react/spinner/index.js +3 -3
  1023. package/dist/react/split-panel/index.js +3 -3
  1024. package/dist/react/switch/index.js +3 -3
  1025. package/dist/react/tab/index.js +6 -6
  1026. package/dist/react/tab-group/index.js +7 -7
  1027. package/dist/react/tab-panel/index.js +3 -3
  1028. package/dist/react/table/index.js +41 -40
  1029. package/dist/react/tag/index.js +6 -6
  1030. package/dist/react/textarea/index.js +3 -3
  1031. package/dist/react/think/index.js +6 -6
  1032. package/dist/react/thought-chain/index.js +3 -3
  1033. package/dist/react/thought-chain-item/index.js +6 -6
  1034. package/dist/react/thought-chain-node/index.js +6 -6
  1035. package/dist/react/timepicker/index.js +18 -18
  1036. package/dist/react/tooltip/index.js +4 -4
  1037. package/dist/react/tree/index.js +11 -11
  1038. package/dist/react/tree-item/index.js +8 -8
  1039. package/dist/react/visually-hidden/index.js +3 -3
  1040. package/dist/react/x-markdown/index.js +6 -6
  1041. package/dist/shoelace.js +250 -249
  1042. package/dist/themes/light.css +1 -0
  1043. package/dist/themes/light.styles.js +1 -0
  1044. package/dist/types/vue/index.d.ts +468 -464
  1045. package/dist/vscode.html-custom-data.json +412 -408
  1046. package/dist/web-types.json +1018 -1009
  1047. package/package.json +1 -1
  1048. package/cdn/chunks/chunk.24WW36SE.js +0 -25
  1049. package/cdn/chunks/chunk.2AP733KC.js +0 -186
  1050. package/cdn/chunks/chunk.2I3QE4LS.js +0 -11
  1051. package/cdn/chunks/chunk.2RHE6UUM.js +0 -27
  1052. package/cdn/chunks/chunk.2TWXBBYA.js +0 -21
  1053. package/cdn/chunks/chunk.2UGFGPFO.js +0 -24
  1054. package/cdn/chunks/chunk.2VXAPR3U.js +0 -118
  1055. package/cdn/chunks/chunk.2XZTJH3J.js +0 -11
  1056. package/cdn/chunks/chunk.2YOH4RA6.js +0 -21
  1057. package/cdn/chunks/chunk.32QJTA5O.js +0 -11
  1058. package/cdn/chunks/chunk.32VXI7RG.js +0 -11
  1059. package/cdn/chunks/chunk.3BAT6CQA.js +0 -21
  1060. package/cdn/chunks/chunk.3DRIHIOU.js +0 -122
  1061. package/cdn/chunks/chunk.3LJIDT6C.js +0 -586
  1062. package/cdn/chunks/chunk.3MAQV43I.js +0 -161
  1063. package/cdn/chunks/chunk.3Q6AWNUW.js +0 -154
  1064. package/cdn/chunks/chunk.3XHUQH4I.js +0 -79
  1065. package/cdn/chunks/chunk.3YS5E62V.js +0 -21
  1066. package/cdn/chunks/chunk.43HIWDJN.js +0 -11
  1067. package/cdn/chunks/chunk.4AEYU43S.js +0 -11
  1068. package/cdn/chunks/chunk.4EK6KNBC.js +0 -587
  1069. package/cdn/chunks/chunk.4FP6LF4Q.js +0 -24
  1070. package/cdn/chunks/chunk.4HQFECC3.js +0 -11
  1071. package/cdn/chunks/chunk.4QIMAJZU.js +0 -330
  1072. package/cdn/chunks/chunk.4ROHG6YW.js +0 -33
  1073. package/cdn/chunks/chunk.5OSAQTLN.js +0 -11
  1074. package/cdn/chunks/chunk.5RGUSMA7.js +0 -153
  1075. package/cdn/chunks/chunk.65LAI2UR.js +0 -21
  1076. package/cdn/chunks/chunk.664W2L4L.js +0 -25
  1077. package/cdn/chunks/chunk.6DRZMNH2.js +0 -379
  1078. package/cdn/chunks/chunk.6MAGFWEV.js +0 -11
  1079. package/cdn/chunks/chunk.6NPZKMAQ.js +0 -21
  1080. package/cdn/chunks/chunk.6PQLQZDG.js +0 -21
  1081. package/cdn/chunks/chunk.6VRS5QSE.js +0 -87
  1082. package/cdn/chunks/chunk.6WEMAOXM.js +0 -367
  1083. package/cdn/chunks/chunk.6XAK4BE3.js +0 -11
  1084. package/cdn/chunks/chunk.74D4HZDZ.js +0 -336
  1085. package/cdn/chunks/chunk.75RWKQUT.js +0 -11
  1086. package/cdn/chunks/chunk.776A6XOL.js +0 -21
  1087. package/cdn/chunks/chunk.777TVRV7.js +0 -526
  1088. package/cdn/chunks/chunk.77NGAFFB.js +0 -24
  1089. package/cdn/chunks/chunk.7D2W6ITA.js +0 -60
  1090. package/cdn/chunks/chunk.7FUWVL5C.js +0 -216
  1091. package/cdn/chunks/chunk.7P4TKLSC.js +0 -299
  1092. package/cdn/chunks/chunk.7T7I4NV2.js +0 -24
  1093. package/cdn/chunks/chunk.A653MKCQ.js +0 -215
  1094. package/cdn/chunks/chunk.ACCQF64E.js +0 -54
  1095. package/cdn/chunks/chunk.ADHBVQOV.js +0 -11
  1096. package/cdn/chunks/chunk.AIA5GESE.js +0 -11
  1097. package/cdn/chunks/chunk.AIWRCLGO.js +0 -11
  1098. package/cdn/chunks/chunk.AQCX7OCI.js +0 -455
  1099. package/cdn/chunks/chunk.B5NTZCHJ.js +0 -29
  1100. package/cdn/chunks/chunk.BCVSZ275.js +0 -21
  1101. package/cdn/chunks/chunk.BGMP5UV6.js +0 -21
  1102. package/cdn/chunks/chunk.BHNBRZJI.js +0 -21
  1103. package/cdn/chunks/chunk.BHVQK6BQ.js +0 -11
  1104. package/cdn/chunks/chunk.BNESESDJ.js +0 -11
  1105. package/cdn/chunks/chunk.BXCHFN5R.js +0 -11
  1106. package/cdn/chunks/chunk.C4N3GUEY.js +0 -236
  1107. package/cdn/chunks/chunk.CFDZMDIP.js +0 -11
  1108. package/cdn/chunks/chunk.CNMRVXFY.js +0 -158
  1109. package/cdn/chunks/chunk.CO3LAH64.js +0 -99
  1110. package/cdn/chunks/chunk.D2DVKNXX.js +0 -11
  1111. package/cdn/chunks/chunk.D2GTY7PE.js +0 -75
  1112. package/cdn/chunks/chunk.DAIAFYJT.js +0 -11
  1113. package/cdn/chunks/chunk.DG3F6OPU.js +0 -136
  1114. package/cdn/chunks/chunk.DMM3PKQP.js +0 -24
  1115. package/cdn/chunks/chunk.DOGB5EZC.js +0 -127
  1116. package/cdn/chunks/chunk.DPTOAIBI.js +0 -11
  1117. package/cdn/chunks/chunk.DR56AOD6.js +0 -25
  1118. package/cdn/chunks/chunk.DUNTCPCC.js +0 -11
  1119. package/cdn/chunks/chunk.E7KUGXMS.js +0 -11
  1120. package/cdn/chunks/chunk.EAXP3GJF.js +0 -24
  1121. package/cdn/chunks/chunk.EG5DXJSS.js +0 -305
  1122. package/cdn/chunks/chunk.ENDE6WDK.js +0 -21
  1123. package/cdn/chunks/chunk.EQ6GHEUX.js +0 -28
  1124. package/cdn/chunks/chunk.EQM3ROLB.js +0 -11
  1125. package/cdn/chunks/chunk.EVHE3P3B.js +0 -11
  1126. package/cdn/chunks/chunk.F22SPZB3.js +0 -1255
  1127. package/cdn/chunks/chunk.F4WJ35X3.js +0 -97
  1128. package/cdn/chunks/chunk.FEOPEHU4.js +0 -113
  1129. package/cdn/chunks/chunk.FFVI2IXF.js +0 -25
  1130. package/cdn/chunks/chunk.FKC5SAC5.js +0 -11
  1131. package/cdn/chunks/chunk.FRIKNHQQ.js +0 -24
  1132. package/cdn/chunks/chunk.G62U2BDB.js +0 -26
  1133. package/cdn/chunks/chunk.GAP3NMP6.js +0 -114
  1134. package/cdn/chunks/chunk.GPKB5FKJ.js +0 -11
  1135. package/cdn/chunks/chunk.GZVEWZ6S.js +0 -11
  1136. package/cdn/chunks/chunk.GZXB5Q7I.js +0 -236
  1137. package/cdn/chunks/chunk.H3ZSW3ML.js +0 -49
  1138. package/cdn/chunks/chunk.H5ZKOE44.js +0 -11
  1139. package/cdn/chunks/chunk.HAFCRWWF.js +0 -292
  1140. package/cdn/chunks/chunk.HFE2EELD.js +0 -42
  1141. package/cdn/chunks/chunk.HFPCERTR.js +0 -450
  1142. package/cdn/chunks/chunk.HFTRIX4T.js +0 -21
  1143. package/cdn/chunks/chunk.HFX36NAZ.js +0 -11
  1144. package/cdn/chunks/chunk.HH4KTEOX.js +0 -341
  1145. package/cdn/chunks/chunk.HMZIA6TS.js +0 -21
  1146. package/cdn/chunks/chunk.HSTYCTCO.js +0 -1925
  1147. package/cdn/chunks/chunk.HZNHRGUW.js +0 -11
  1148. package/cdn/chunks/chunk.IAH6V4O6.js +0 -191
  1149. package/cdn/chunks/chunk.IBFQ4MLS.js +0 -29
  1150. package/cdn/chunks/chunk.IFUMP3SM.js +0 -11
  1151. package/cdn/chunks/chunk.IKZ55ATB.js +0 -24
  1152. package/cdn/chunks/chunk.ILBB5HJK.js +0 -11
  1153. package/cdn/chunks/chunk.IXTHDSH2.js +0 -11
  1154. package/cdn/chunks/chunk.J5EDZ3U4.js +0 -276
  1155. package/cdn/chunks/chunk.JGJ34IDV.js +0 -21
  1156. package/cdn/chunks/chunk.JGM5QSDL.js +0 -29
  1157. package/cdn/chunks/chunk.JLYEN6KY.js +0 -11
  1158. package/cdn/chunks/chunk.JUHP7VBG.js +0 -346
  1159. package/cdn/chunks/chunk.KF2IXR6F.js +0 -27
  1160. package/cdn/chunks/chunk.KFKG6VML.js +0 -11
  1161. package/cdn/chunks/chunk.KHAA7DOA.js +0 -25
  1162. package/cdn/chunks/chunk.L3QFFKRU.js +0 -82
  1163. package/cdn/chunks/chunk.L3XGNBZC.js +0 -11
  1164. package/cdn/chunks/chunk.L54BOFZZ.js +0 -25
  1165. package/cdn/chunks/chunk.LEWH7YKP.js +0 -11
  1166. package/cdn/chunks/chunk.LFC2N2WU.js +0 -21
  1167. package/cdn/chunks/chunk.LRDC5FNM.js +0 -21
  1168. package/cdn/chunks/chunk.LRHB4GGU.js +0 -177
  1169. package/cdn/chunks/chunk.M22RVKD5.js +0 -1156
  1170. package/cdn/chunks/chunk.M3D74BA7.js +0 -11
  1171. package/cdn/chunks/chunk.MANY2TRV.js +0 -11
  1172. package/cdn/chunks/chunk.MDQYJZQS.js +0 -21
  1173. package/cdn/chunks/chunk.MNIYL75K.js +0 -120
  1174. package/cdn/chunks/chunk.MNVFGKFA.js +0 -63
  1175. package/cdn/chunks/chunk.MNYYGL2G.js +0 -11
  1176. package/cdn/chunks/chunk.MOGUH7GN.js +0 -29
  1177. package/cdn/chunks/chunk.MOXXBMVH.js +0 -11
  1178. package/cdn/chunks/chunk.MRLC3567.js +0 -11
  1179. package/cdn/chunks/chunk.MW477ANT.js +0 -26
  1180. package/cdn/chunks/chunk.MYLFX5LX.js +0 -11
  1181. package/cdn/chunks/chunk.NBCWBDT4.js +0 -291
  1182. package/cdn/chunks/chunk.NISAAN5X.js +0 -36
  1183. package/cdn/chunks/chunk.NKXBOUPT.js +0 -21
  1184. package/cdn/chunks/chunk.NPB5H3GH.js +0 -11
  1185. package/cdn/chunks/chunk.NQA7X2TY.js +0 -11
  1186. package/cdn/chunks/chunk.NSCQ5BDB.js +0 -11
  1187. package/cdn/chunks/chunk.NUAUGRF4.js +0 -11
  1188. package/cdn/chunks/chunk.NYQXSK4K.js +0 -11
  1189. package/cdn/chunks/chunk.NZXWOPL3.js +0 -21
  1190. package/cdn/chunks/chunk.O7BMIARB.js +0 -24
  1191. package/cdn/chunks/chunk.OAJJWRFV.js +0 -128
  1192. package/cdn/chunks/chunk.OBQXUZUT.js +0 -302
  1193. package/cdn/chunks/chunk.OLWRED2T.js +0 -11
  1194. package/cdn/chunks/chunk.OPUWOUN3.js +0 -27
  1195. package/cdn/chunks/chunk.OTJQYRCF.js +0 -21
  1196. package/cdn/chunks/chunk.OTYDDGYD.js +0 -21
  1197. package/cdn/chunks/chunk.P7E5JMGZ.js +0 -11
  1198. package/cdn/chunks/chunk.PA3KILKI.js +0 -11
  1199. package/cdn/chunks/chunk.PBB7322Y.js +0 -21
  1200. package/cdn/chunks/chunk.PG6GVAA4.js +0 -314
  1201. package/cdn/chunks/chunk.PKSX66KO.js +0 -11
  1202. package/cdn/chunks/chunk.PLJLGB2U.js +0 -11
  1203. package/cdn/chunks/chunk.POIE2XDG.js +0 -11
  1204. package/cdn/chunks/chunk.PTU5C4HV.js +0 -11
  1205. package/cdn/chunks/chunk.QB7U2EQ7.js +0 -21
  1206. package/cdn/chunks/chunk.QFZJJX6A.js +0 -29
  1207. package/cdn/chunks/chunk.QIAK5LS3.js +0 -24
  1208. package/cdn/chunks/chunk.QMAX5HQE.js +0 -11
  1209. package/cdn/chunks/chunk.QPXE274O.js +0 -29
  1210. package/cdn/chunks/chunk.QROBXPC7.js +0 -25
  1211. package/cdn/chunks/chunk.QXEX7QEQ.js +0 -21
  1212. package/cdn/chunks/chunk.R2JQXSFE.js +0 -279
  1213. package/cdn/chunks/chunk.R3D5A2FU.js +0 -24
  1214. package/cdn/chunks/chunk.RB2K6RHI.js +0 -11
  1215. package/cdn/chunks/chunk.RBLNSGJA.js +0 -21
  1216. package/cdn/chunks/chunk.REVFQ5XX.js +0 -95
  1217. package/cdn/chunks/chunk.RJ3FTBIG.js +0 -29
  1218. package/cdn/chunks/chunk.RNK6BFDN.js +0 -1990
  1219. package/cdn/chunks/chunk.ROEAW3OD.js +0 -11
  1220. package/cdn/chunks/chunk.RQQ7FUGE.js +0 -77
  1221. package/cdn/chunks/chunk.RSOAZPCO.js +0 -11
  1222. package/cdn/chunks/chunk.RSREJ5ZX.js +0 -24
  1223. package/cdn/chunks/chunk.S35STP65.js +0 -11
  1224. package/cdn/chunks/chunk.S5S2NY35.js +0 -28
  1225. package/cdn/chunks/chunk.S62ORFAR.js +0 -255
  1226. package/cdn/chunks/chunk.SFJXFFYI.js +0 -24
  1227. package/cdn/chunks/chunk.SGCGLCRE.js +0 -24
  1228. package/cdn/chunks/chunk.SOLBN27G.js +0 -73
  1229. package/cdn/chunks/chunk.SRPRGHBX.js +0 -11
  1230. package/cdn/chunks/chunk.SSB6QUTO.js +0 -24
  1231. package/cdn/chunks/chunk.STO4IWKA.js +0 -105
  1232. package/cdn/chunks/chunk.STU2GAK3.js +0 -21
  1233. package/cdn/chunks/chunk.STYVQ3GY.js +0 -11
  1234. package/cdn/chunks/chunk.SVU72MOF.js +0 -28
  1235. package/cdn/chunks/chunk.SXN43BZH.js +0 -135
  1236. package/cdn/chunks/chunk.SZDK7V5H.js +0 -219
  1237. package/cdn/chunks/chunk.T4N2FGGL.js +0 -27
  1238. package/cdn/chunks/chunk.T5VRBH5J.js +0 -510
  1239. package/cdn/chunks/chunk.T7N3H4OU.js +0 -11
  1240. package/cdn/chunks/chunk.T7OBFEH3.js +0 -25
  1241. package/cdn/chunks/chunk.TELBSIWY.js +0 -67
  1242. package/cdn/chunks/chunk.TGZZ2TNN.js +0 -50
  1243. package/cdn/chunks/chunk.TKYOUUS4.js +0 -28
  1244. package/cdn/chunks/chunk.TNUMW7A7.js +0 -11
  1245. package/cdn/chunks/chunk.UA3JM7ZK.js +0 -11
  1246. package/cdn/chunks/chunk.UCVTBQUH.js +0 -89
  1247. package/cdn/chunks/chunk.UJSGSINK.js +0 -27
  1248. package/cdn/chunks/chunk.UL2RQS4N.js +0 -24
  1249. package/cdn/chunks/chunk.UNHUSGU4.js +0 -25
  1250. package/cdn/chunks/chunk.UP5K765N.js +0 -13
  1251. package/cdn/chunks/chunk.UXA3423R.js +0 -28
  1252. package/cdn/chunks/chunk.V4N7IJQQ.js +0 -25
  1253. package/cdn/chunks/chunk.VAUFSUSB.js +0 -11
  1254. package/cdn/chunks/chunk.VBV7G2UF.js +0 -5845
  1255. package/cdn/chunks/chunk.VHD6KPB4.js +0 -11
  1256. package/cdn/chunks/chunk.VKB6LKH4.js +0 -91
  1257. package/cdn/chunks/chunk.VPGMGU5T.js +0 -24
  1258. package/cdn/chunks/chunk.VQ4QS2IG.js +0 -402
  1259. package/cdn/chunks/chunk.VQZYCZBT.js +0 -197
  1260. package/cdn/chunks/chunk.VROEJ7B7.js +0 -11
  1261. package/cdn/chunks/chunk.VRSGP44Y.js +0 -26
  1262. package/cdn/chunks/chunk.VVNUUKOU.js +0 -331
  1263. package/cdn/chunks/chunk.VYSCBDFH.js +0 -158
  1264. package/cdn/chunks/chunk.W6FFUGXP.js +0 -142
  1265. package/cdn/chunks/chunk.WAY7563T.js +0 -11
  1266. package/cdn/chunks/chunk.WBCR74E3.js +0 -25
  1267. package/cdn/chunks/chunk.WEXM5ZNH.js +0 -11
  1268. package/cdn/chunks/chunk.WFS2ZW2B.js +0 -27
  1269. package/cdn/chunks/chunk.WO7NUYTE.js +0 -103
  1270. package/cdn/chunks/chunk.WOFY6UAP.js +0 -110
  1271. package/cdn/chunks/chunk.WPESYCFW.js +0 -215
  1272. package/cdn/chunks/chunk.WTJDLUX5.js +0 -605
  1273. package/cdn/chunks/chunk.WUFUS2OW.js +0 -391
  1274. package/cdn/chunks/chunk.X3YUXAYG.js +0 -27
  1275. package/cdn/chunks/chunk.XAVYUQQG.js +0 -175
  1276. package/cdn/chunks/chunk.XDXT7NSR.js +0 -21
  1277. package/cdn/chunks/chunk.XNGBMHEJ.js +0 -199
  1278. package/cdn/chunks/chunk.XRHTDMWI.js +0 -7378
  1279. package/cdn/chunks/chunk.XTAHM4Z5.js +0 -354
  1280. package/cdn/chunks/chunk.XTB2EMPO.js +0 -271
  1281. package/cdn/chunks/chunk.XTZD43PS.js +0 -93
  1282. package/cdn/chunks/chunk.XY7Q4XXB.js +0 -233
  1283. package/cdn/chunks/chunk.XZLP3R7F.js +0 -11
  1284. package/cdn/chunks/chunk.YATAWBAE.js +0 -11
  1285. package/cdn/chunks/chunk.YB77SADY.js +0 -11
  1286. package/cdn/chunks/chunk.YCNZNFG7.js +0 -2632
  1287. package/cdn/chunks/chunk.YHRSHDUN.js +0 -137
  1288. package/cdn/chunks/chunk.YJL3SPDD.js +0 -24
  1289. package/cdn/chunks/chunk.YJU73B6Y.js +0 -11
  1290. package/cdn/chunks/chunk.YLTSE26T.js +0 -24
  1291. package/cdn/chunks/chunk.YNIOT4PI.js +0 -822
  1292. package/cdn/chunks/chunk.YNJYQXVB.js +0 -1676
  1293. package/cdn/chunks/chunk.YUA64KZ4.js +0 -49
  1294. package/cdn/chunks/chunk.Z5YUILXA.js +0 -133
  1295. package/cdn/chunks/chunk.ZAJIZ63T.js +0 -724
  1296. package/cdn/chunks/chunk.ZFCRZORN.js +0 -11
  1297. package/cdn/chunks/chunk.ZIDTQCIT.js +0 -24
  1298. package/cdn/chunks/chunk.ZTVV5FSP.js +0 -26
  1299. package/cdn/chunks/chunk.ZUG342V6.js +0 -11
  1300. package/cdn/chunks/chunk.ZVNL2EA7.js +0 -29
  1301. package/cdn/chunks/chunk.ZX24V6F5.js +0 -313
  1302. package/dist/chunks/chunk.2222Y2UK.js +0 -27
  1303. package/dist/chunks/chunk.24YRDJWM.js +0 -315
  1304. package/dist/chunks/chunk.255ED3AX.js +0 -29
  1305. package/dist/chunks/chunk.277V6KES.js +0 -11
  1306. package/dist/chunks/chunk.2B6SZPSB.js +0 -11
  1307. package/dist/chunks/chunk.2GEKAE7B.js +0 -21
  1308. package/dist/chunks/chunk.2I5NSDA3.js +0 -50
  1309. package/dist/chunks/chunk.2JBERLVD.js +0 -42
  1310. package/dist/chunks/chunk.2KIO3HAG.js +0 -25
  1311. package/dist/chunks/chunk.2T32M5MK.js +0 -598
  1312. package/dist/chunks/chunk.2ZZFGPJB.js +0 -25
  1313. package/dist/chunks/chunk.3BI3ZBWV.js +0 -25
  1314. package/dist/chunks/chunk.3MHYIUMZ.js +0 -11
  1315. package/dist/chunks/chunk.3ONOB433.js +0 -11
  1316. package/dist/chunks/chunk.3U2YGNEM.js +0 -11
  1317. package/dist/chunks/chunk.3W5WAOJN.js +0 -28
  1318. package/dist/chunks/chunk.3XA37MYL.js +0 -134
  1319. package/dist/chunks/chunk.3XGKVNFS.js +0 -21
  1320. package/dist/chunks/chunk.4QJCVJBF.js +0 -11
  1321. package/dist/chunks/chunk.4UNNJGN7.js +0 -581
  1322. package/dist/chunks/chunk.4V3MCNCG.js +0 -293
  1323. package/dist/chunks/chunk.4X653G5O.js +0 -306
  1324. package/dist/chunks/chunk.4XRAGUIQ.js +0 -117
  1325. package/dist/chunks/chunk.56LFKZBN.js +0 -24
  1326. package/dist/chunks/chunk.576UYCIO.js +0 -11
  1327. package/dist/chunks/chunk.5B2SCWWU.js +0 -57
  1328. package/dist/chunks/chunk.5BXLFKDP.js +0 -27
  1329. package/dist/chunks/chunk.5I3DB52F.js +0 -99
  1330. package/dist/chunks/chunk.5XQT43Z6.js +0 -397
  1331. package/dist/chunks/chunk.5YOOCYJR.js +0 -21
  1332. package/dist/chunks/chunk.6B322ONF.js +0 -93
  1333. package/dist/chunks/chunk.6JMQ2TIB.js +0 -11
  1334. package/dist/chunks/chunk.6PHR5DV3.js +0 -11
  1335. package/dist/chunks/chunk.6TNOTVIW.js +0 -11
  1336. package/dist/chunks/chunk.6TZMHHC3.js +0 -25
  1337. package/dist/chunks/chunk.73BK3LQW.js +0 -11
  1338. package/dist/chunks/chunk.75YPNEVH.js +0 -11
  1339. package/dist/chunks/chunk.7FBPST7K.js +0 -280
  1340. package/dist/chunks/chunk.7G3P2HOV.js +0 -73
  1341. package/dist/chunks/chunk.7HG6ANKZ.js +0 -11
  1342. package/dist/chunks/chunk.7UEZE5SE.js +0 -63
  1343. package/dist/chunks/chunk.7UIHF6BL.js +0 -24
  1344. package/dist/chunks/chunk.7ZZ53HWP.js +0 -11
  1345. package/dist/chunks/chunk.A4I7TNK6.js +0 -29
  1346. package/dist/chunks/chunk.A5FVRZ2V.js +0 -11
  1347. package/dist/chunks/chunk.ACFWV6JZ.js +0 -91
  1348. package/dist/chunks/chunk.ACYS3462.js +0 -90
  1349. package/dist/chunks/chunk.AJYW62WJ.js +0 -348
  1350. package/dist/chunks/chunk.AMPAX7MW.js +0 -227
  1351. package/dist/chunks/chunk.AQLIAUBR.js +0 -28
  1352. package/dist/chunks/chunk.AR55FJTM.js +0 -11
  1353. package/dist/chunks/chunk.AT6Q3CT3.js +0 -11
  1354. package/dist/chunks/chunk.ATWVDQCS.js +0 -11
  1355. package/dist/chunks/chunk.AV6HVIYO.js +0 -11
  1356. package/dist/chunks/chunk.AWQWCVVK.js +0 -105
  1357. package/dist/chunks/chunk.AZ2WMYLE.js +0 -11
  1358. package/dist/chunks/chunk.AZTRAFIF.js +0 -86
  1359. package/dist/chunks/chunk.BDR6VFV5.js +0 -25
  1360. package/dist/chunks/chunk.BS32CM5D.js +0 -80
  1361. package/dist/chunks/chunk.BUKXV23V.js +0 -24
  1362. package/dist/chunks/chunk.BUX2HRXS.js +0 -24
  1363. package/dist/chunks/chunk.BZBOJSAW.js +0 -11
  1364. package/dist/chunks/chunk.CBSZF36H.js +0 -11
  1365. package/dist/chunks/chunk.CDMX7FSB.js +0 -45
  1366. package/dist/chunks/chunk.CFUHD4SV.js +0 -21
  1367. package/dist/chunks/chunk.CJJNKIGS.js +0 -11
  1368. package/dist/chunks/chunk.CLEZ2AZE.js +0 -100
  1369. package/dist/chunks/chunk.CMHVCSO3.js +0 -25
  1370. package/dist/chunks/chunk.CMQDL7CN.js +0 -25
  1371. package/dist/chunks/chunk.COGPFCGH.js +0 -11
  1372. package/dist/chunks/chunk.CPYCCN74.js +0 -24
  1373. package/dist/chunks/chunk.CS3KGM3I.js +0 -21
  1374. package/dist/chunks/chunk.CSJDM3I6.js +0 -231
  1375. package/dist/chunks/chunk.CVSDG6FV.js +0 -24
  1376. package/dist/chunks/chunk.CW3SMEMO.js +0 -111
  1377. package/dist/chunks/chunk.CWIT4JOL.js +0 -11
  1378. package/dist/chunks/chunk.CXUTYTWH.js +0 -294
  1379. package/dist/chunks/chunk.D46NZRNK.js +0 -29
  1380. package/dist/chunks/chunk.D7XNHHL2.js +0 -1251
  1381. package/dist/chunks/chunk.DEITFGBS.js +0 -11
  1382. package/dist/chunks/chunk.DHQWUNZ7.js +0 -26
  1383. package/dist/chunks/chunk.DKX5VTND.js +0 -25
  1384. package/dist/chunks/chunk.DNWRKWYS.js +0 -11
  1385. package/dist/chunks/chunk.DPPHNIDC.js +0 -11
  1386. package/dist/chunks/chunk.DQABKHDM.js +0 -949
  1387. package/dist/chunks/chunk.DTKQCP3B.js +0 -27
  1388. package/dist/chunks/chunk.DVZSBAMK.js +0 -11
  1389. package/dist/chunks/chunk.DW7HAH5F.js +0 -21
  1390. package/dist/chunks/chunk.E65L7RMX.js +0 -21
  1391. package/dist/chunks/chunk.ELXEGEO7.js +0 -11
  1392. package/dist/chunks/chunk.ETW3CARH.js +0 -85
  1393. package/dist/chunks/chunk.EUHALBSG.js +0 -27
  1394. package/dist/chunks/chunk.EYXJPF4T.js +0 -11
  1395. package/dist/chunks/chunk.F2BIKL72.js +0 -34
  1396. package/dist/chunks/chunk.F3YAUNWY.js +0 -11
  1397. package/dist/chunks/chunk.FJR4PM7P.js +0 -11
  1398. package/dist/chunks/chunk.FZW6GDBE.js +0 -29
  1399. package/dist/chunks/chunk.G22CZGOK.js +0 -21
  1400. package/dist/chunks/chunk.G2XPKRQD.js +0 -11
  1401. package/dist/chunks/chunk.GGK2EW5V.js +0 -59
  1402. package/dist/chunks/chunk.GJADB4CF.js +0 -11
  1403. package/dist/chunks/chunk.GJBMOBND.js +0 -21
  1404. package/dist/chunks/chunk.GJTIA2ID.js +0 -27
  1405. package/dist/chunks/chunk.GN44I7UO.js +0 -24
  1406. package/dist/chunks/chunk.GPSGJKTW.js +0 -75
  1407. package/dist/chunks/chunk.GQGC3KU4.js +0 -371
  1408. package/dist/chunks/chunk.GT3XTQOL.js +0 -33
  1409. package/dist/chunks/chunk.GURJBGDH.js +0 -24
  1410. package/dist/chunks/chunk.GVAPJYA3.js +0 -154
  1411. package/dist/chunks/chunk.H2B2ZHRX.js +0 -67
  1412. package/dist/chunks/chunk.H5R4TGZH.js +0 -11
  1413. package/dist/chunks/chunk.H6E5FUQA.js +0 -429
  1414. package/dist/chunks/chunk.HEIDKY6A.js +0 -11
  1415. package/dist/chunks/chunk.HTHEA36S.js +0 -21
  1416. package/dist/chunks/chunk.HUEJ6FJI.js +0 -171
  1417. package/dist/chunks/chunk.HXJCURBU.js +0 -84
  1418. package/dist/chunks/chunk.HY7S73WI.js +0 -21
  1419. package/dist/chunks/chunk.I3E7XRJD.js +0 -448
  1420. package/dist/chunks/chunk.I7LLE46P.js +0 -11
  1421. package/dist/chunks/chunk.I7MYJ6T7.js +0 -21
  1422. package/dist/chunks/chunk.IBO3W47J.js +0 -502
  1423. package/dist/chunks/chunk.IFLJEMM4.js +0 -11
  1424. package/dist/chunks/chunk.IGD3XHBJ.js +0 -11
  1425. package/dist/chunks/chunk.IIITTBKF.js +0 -26
  1426. package/dist/chunks/chunk.IL42CGIL.js +0 -11
  1427. package/dist/chunks/chunk.INWQRWZW.js +0 -29
  1428. package/dist/chunks/chunk.IPRT4PW2.js +0 -148
  1429. package/dist/chunks/chunk.IWLHXROM.js +0 -194
  1430. package/dist/chunks/chunk.J273PGYD.js +0 -11
  1431. package/dist/chunks/chunk.J76YHVQV.js +0 -11
  1432. package/dist/chunks/chunk.JEHBPENY.js +0 -11
  1433. package/dist/chunks/chunk.JI646VQW.js +0 -21
  1434. package/dist/chunks/chunk.JRE3XEGV.js +0 -96
  1435. package/dist/chunks/chunk.JT753POS.js +0 -32
  1436. package/dist/chunks/chunk.K5UHBRBV.js +0 -11
  1437. package/dist/chunks/chunk.KFSHKNTI.js +0 -26
  1438. package/dist/chunks/chunk.KUH7IHNM.js +0 -21
  1439. package/dist/chunks/chunk.KWBC22UR.js +0 -320
  1440. package/dist/chunks/chunk.L2GNETEW.js +0 -52
  1441. package/dist/chunks/chunk.L3EQKDDD.js +0 -22
  1442. package/dist/chunks/chunk.LHEMCYGN.js +0 -21
  1443. package/dist/chunks/chunk.LJNA7HKE.js +0 -384
  1444. package/dist/chunks/chunk.LJUGR5OF.js +0 -126
  1445. package/dist/chunks/chunk.LKK2PFM6.js +0 -11
  1446. package/dist/chunks/chunk.LO3Y3SC3.js +0 -21
  1447. package/dist/chunks/chunk.LS6NLVX5.js +0 -247
  1448. package/dist/chunks/chunk.LVUUWAFL.js +0 -1667
  1449. package/dist/chunks/chunk.LZYWPESL.js +0 -11
  1450. package/dist/chunks/chunk.M4PMEYE2.js +0 -25
  1451. package/dist/chunks/chunk.MAWNPWPF.js +0 -29
  1452. package/dist/chunks/chunk.MHCVVLCT.js +0 -11
  1453. package/dist/chunks/chunk.MHMUDAVA.js +0 -324
  1454. package/dist/chunks/chunk.MJJGFKLO.js +0 -21
  1455. package/dist/chunks/chunk.MZLRGXPI.js +0 -21
  1456. package/dist/chunks/chunk.N46JKT2J.js +0 -25
  1457. package/dist/chunks/chunk.N5D2F64K.js +0 -11
  1458. package/dist/chunks/chunk.N7JHDJGM.js +0 -24
  1459. package/dist/chunks/chunk.NJCLPQUU.js +0 -286
  1460. package/dist/chunks/chunk.NKOQAWVZ.js +0 -28
  1461. package/dist/chunks/chunk.NOJSANXR.js +0 -263
  1462. package/dist/chunks/chunk.NYQ75SBP.js +0 -27
  1463. package/dist/chunks/chunk.ON4ZSL6J.js +0 -11
  1464. package/dist/chunks/chunk.OSALHQGA.js +0 -24
  1465. package/dist/chunks/chunk.OUNPBRRD.js +0 -22
  1466. package/dist/chunks/chunk.P43PK6RL.js +0 -21
  1467. package/dist/chunks/chunk.P6QATVJO.js +0 -337
  1468. package/dist/chunks/chunk.P7A65F4C.js +0 -11
  1469. package/dist/chunks/chunk.PGTN7J4V.js +0 -116
  1470. package/dist/chunks/chunk.PHBT3MJN.js +0 -361
  1471. package/dist/chunks/chunk.PK3EOIQ6.js +0 -170
  1472. package/dist/chunks/chunk.PMI7GCY2.js +0 -25
  1473. package/dist/chunks/chunk.POUWYLGI.js +0 -25
  1474. package/dist/chunks/chunk.PW7XZMYT.js +0 -11
  1475. package/dist/chunks/chunk.Q2XU4CXO.js +0 -21
  1476. package/dist/chunks/chunk.Q5VJXOXL.js +0 -24
  1477. package/dist/chunks/chunk.Q73UA4YW.js +0 -11
  1478. package/dist/chunks/chunk.QAYUT4BX.js +0 -24
  1479. package/dist/chunks/chunk.QP55ES4D.js +0 -21
  1480. package/dist/chunks/chunk.QP5DAVFM.js +0 -24
  1481. package/dist/chunks/chunk.QQVS2P2C.js +0 -126
  1482. package/dist/chunks/chunk.QYPMCDLQ.js +0 -75
  1483. package/dist/chunks/chunk.R5WPNMCQ.js +0 -26
  1484. package/dist/chunks/chunk.R7KBW4QU.js +0 -213
  1485. package/dist/chunks/chunk.RHMTH33E.js +0 -11
  1486. package/dist/chunks/chunk.RS2GWDLW.js +0 -153
  1487. package/dist/chunks/chunk.RXIN2NBH.js +0 -11
  1488. package/dist/chunks/chunk.RXL26ZVA.js +0 -21
  1489. package/dist/chunks/chunk.RY2V2DAG.js +0 -24
  1490. package/dist/chunks/chunk.RZAJZ3DQ.js +0 -21
  1491. package/dist/chunks/chunk.S3JB2UHY.js +0 -231
  1492. package/dist/chunks/chunk.S3KIYD3N.js +0 -119
  1493. package/dist/chunks/chunk.S4YBE4U3.js +0 -311
  1494. package/dist/chunks/chunk.S6OTSVTK.js +0 -11
  1495. package/dist/chunks/chunk.SI5MIM74.js +0 -11
  1496. package/dist/chunks/chunk.SL5TVNJJ.js +0 -335
  1497. package/dist/chunks/chunk.SQTKV2YF.js +0 -125
  1498. package/dist/chunks/chunk.SWBDS6VT.js +0 -21
  1499. package/dist/chunks/chunk.T2MF4VUY.js +0 -24
  1500. package/dist/chunks/chunk.T67Q7FG4.js +0 -212
  1501. package/dist/chunks/chunk.T6LQGRUO.js +0 -11
  1502. package/dist/chunks/chunk.T75MXKKM.js +0 -11
  1503. package/dist/chunks/chunk.TDWRSVI2.js +0 -109
  1504. package/dist/chunks/chunk.TFEBABHN.js +0 -11
  1505. package/dist/chunks/chunk.TFVPZDQP.js +0 -1150
  1506. package/dist/chunks/chunk.TMKAHS52.js +0 -504
  1507. package/dist/chunks/chunk.TOIQDGSN.js +0 -550
  1508. package/dist/chunks/chunk.TS6C6XE6.js +0 -11
  1509. package/dist/chunks/chunk.TTNMH7HL.js +0 -11
  1510. package/dist/chunks/chunk.TVTYAME6.js +0 -24
  1511. package/dist/chunks/chunk.U546SMOX.js +0 -151
  1512. package/dist/chunks/chunk.U7ELM3KR.js +0 -11
  1513. package/dist/chunks/chunk.UCRIUDWV.js +0 -24
  1514. package/dist/chunks/chunk.UJBLG2EM.js +0 -45
  1515. package/dist/chunks/chunk.UNJJA52B.js +0 -299
  1516. package/dist/chunks/chunk.UP5K765N.js +0 -13
  1517. package/dist/chunks/chunk.UQBEXQPA.js +0 -21
  1518. package/dist/chunks/chunk.UTRX2GAS.js +0 -11
  1519. package/dist/chunks/chunk.VGZSH2J3.js +0 -11
  1520. package/dist/chunks/chunk.VKQ35S4O.js +0 -136
  1521. package/dist/chunks/chunk.VOBHSZHJ.js +0 -28
  1522. package/dist/chunks/chunk.VSR2VRYO.js +0 -11
  1523. package/dist/chunks/chunk.VTDIICXK.js +0 -11
  1524. package/dist/chunks/chunk.VW4UAUYL.js +0 -29
  1525. package/dist/chunks/chunk.VWUHLZYU.js +0 -167
  1526. package/dist/chunks/chunk.W2MX7XQG.js +0 -147
  1527. package/dist/chunks/chunk.W2XAF2TT.js +0 -11
  1528. package/dist/chunks/chunk.W4CK4MNF.js +0 -11
  1529. package/dist/chunks/chunk.W5XOGECB.js +0 -135
  1530. package/dist/chunks/chunk.W6RAVHWZ.js +0 -214
  1531. package/dist/chunks/chunk.W6WWCEDK.js +0 -11
  1532. package/dist/chunks/chunk.WDHQTWCE.js +0 -113
  1533. package/dist/chunks/chunk.WGWXYQAT.js +0 -444
  1534. package/dist/chunks/chunk.WTQNDLPG.js +0 -11
  1535. package/dist/chunks/chunk.X3FWAJEG.js +0 -11
  1536. package/dist/chunks/chunk.XGK7HEDC.js +0 -209
  1537. package/dist/chunks/chunk.XQMCPLLN.js +0 -28
  1538. package/dist/chunks/chunk.XRCLRCVM.js +0 -181
  1539. package/dist/chunks/chunk.XSZIVLXG.js +0 -21
  1540. package/dist/chunks/chunk.XWFL7NJJ.js +0 -11
  1541. package/dist/chunks/chunk.XZNGEUYB.js +0 -29
  1542. package/dist/chunks/chunk.Y4XGHZNT.js +0 -100
  1543. package/dist/chunks/chunk.YFHUR4GU.js +0 -21
  1544. package/dist/chunks/chunk.YO7DMVSG.js +0 -814
  1545. package/dist/chunks/chunk.YPHENAEZ.js +0 -417
  1546. package/dist/chunks/chunk.YT7X6G4Q.js +0 -887
  1547. package/dist/chunks/chunk.Z5BUSFRU.js +0 -24
  1548. package/dist/chunks/chunk.Z73U3F6N.js +0 -11
  1549. package/dist/chunks/chunk.ZABCFN7Q.js +0 -21
  1550. package/dist/chunks/chunk.ZE3LRPQR.js +0 -11
  1551. package/dist/chunks/chunk.ZIK6UFCB.js +0 -192
  1552. package/dist/chunks/chunk.ZO3NUUSF.js +0 -274
  1553. package/dist/chunks/chunk.ZPSIFGI7.js +0 -188
  1554. package/dist/chunks/chunk.ZUEFDSKK.js +0 -11
  1555. package/dist/chunks/chunk.ZXDRF2AZ.js +0 -11
@@ -0,0 +1,2631 @@
1
+ import {
2
+ e
3
+ } from "./chunk.OVNPI46I.js";
4
+ import {
5
+ b
6
+ } from "./chunk.7Z2GKZ7U.js";
7
+
8
+ // node_modules/sortablejs/modular/sortable.esm.js
9
+ function _defineProperty(e2, r, t) {
10
+ return (r = _toPropertyKey(r)) in e2 ? Object.defineProperty(e2, r, {
11
+ value: t,
12
+ enumerable: true,
13
+ configurable: true,
14
+ writable: true
15
+ }) : e2[r] = t, e2;
16
+ }
17
+ function _extends() {
18
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
19
+ for (var e2 = 1; e2 < arguments.length; e2++) {
20
+ var t = arguments[e2];
21
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
22
+ }
23
+ return n;
24
+ }, _extends.apply(null, arguments);
25
+ }
26
+ function ownKeys(e2, r) {
27
+ var t = Object.keys(e2);
28
+ if (Object.getOwnPropertySymbols) {
29
+ var o = Object.getOwnPropertySymbols(e2);
30
+ r && (o = o.filter(function(r2) {
31
+ return Object.getOwnPropertyDescriptor(e2, r2).enumerable;
32
+ })), t.push.apply(t, o);
33
+ }
34
+ return t;
35
+ }
36
+ function _objectSpread2(e2) {
37
+ for (var r = 1; r < arguments.length; r++) {
38
+ var t = null != arguments[r] ? arguments[r] : {};
39
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
40
+ _defineProperty(e2, r2, t[r2]);
41
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
42
+ Object.defineProperty(e2, r2, Object.getOwnPropertyDescriptor(t, r2));
43
+ });
44
+ }
45
+ return e2;
46
+ }
47
+ function _objectWithoutProperties(e2, t) {
48
+ if (null == e2) return {};
49
+ var o, r, i = _objectWithoutPropertiesLoose(e2, t);
50
+ if (Object.getOwnPropertySymbols) {
51
+ var n = Object.getOwnPropertySymbols(e2);
52
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e2, o) && (i[o] = e2[o]);
53
+ }
54
+ return i;
55
+ }
56
+ function _objectWithoutPropertiesLoose(r, e2) {
57
+ if (null == r) return {};
58
+ var t = {};
59
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
60
+ if (-1 !== e2.indexOf(n)) continue;
61
+ t[n] = r[n];
62
+ }
63
+ return t;
64
+ }
65
+ function _toPrimitive(t, r) {
66
+ if ("object" != typeof t || !t) return t;
67
+ var e2 = t[Symbol.toPrimitive];
68
+ if (void 0 !== e2) {
69
+ var i = e2.call(t, r || "default");
70
+ if ("object" != typeof i) return i;
71
+ throw new TypeError("@@toPrimitive must return a primitive value.");
72
+ }
73
+ return ("string" === r ? String : Number)(t);
74
+ }
75
+ function _toPropertyKey(t) {
76
+ var i = _toPrimitive(t, "string");
77
+ return "symbol" == typeof i ? i : i + "";
78
+ }
79
+ function _typeof(o) {
80
+ "@babel/helpers - typeof";
81
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
82
+ return typeof o2;
83
+ } : function(o2) {
84
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
85
+ }, _typeof(o);
86
+ }
87
+ var version = "1.15.7";
88
+ function userAgent(pattern) {
89
+ if (typeof window !== "undefined" && window.navigator) {
90
+ return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
91
+ }
92
+ }
93
+ var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
94
+ var Edge = userAgent(/Edge/i);
95
+ var FireFox = userAgent(/firefox/i);
96
+ var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
97
+ var IOS = userAgent(/iP(ad|od|hone)/i);
98
+ var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
99
+ var captureMode = {
100
+ capture: false,
101
+ passive: false
102
+ };
103
+ function on(el, event, fn) {
104
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
105
+ }
106
+ function off(el, event, fn) {
107
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
108
+ }
109
+ function matches(el, selector) {
110
+ if (!selector) return;
111
+ selector[0] === ">" && (selector = selector.substring(1));
112
+ if (el) {
113
+ try {
114
+ if (el.matches) {
115
+ return el.matches(selector);
116
+ } else if (el.msMatchesSelector) {
117
+ return el.msMatchesSelector(selector);
118
+ } else if (el.webkitMatchesSelector) {
119
+ return el.webkitMatchesSelector(selector);
120
+ }
121
+ } catch (_) {
122
+ return false;
123
+ }
124
+ }
125
+ return false;
126
+ }
127
+ function getParentOrHost(el) {
128
+ return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
129
+ }
130
+ function closest(el, selector, ctx, includeCTX) {
131
+ if (el) {
132
+ ctx = ctx || document;
133
+ do {
134
+ if (selector != null && (selector[0] === ">" ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
135
+ return el;
136
+ }
137
+ if (el === ctx) break;
138
+ } while (el = getParentOrHost(el));
139
+ }
140
+ return null;
141
+ }
142
+ var R_SPACE = /\s+/g;
143
+ function toggleClass(el, name, state) {
144
+ if (el && name) {
145
+ if (el.classList) {
146
+ el.classList[state ? "add" : "remove"](name);
147
+ } else {
148
+ var className = (" " + el.className + " ").replace(R_SPACE, " ").replace(" " + name + " ", " ");
149
+ el.className = (className + (state ? " " + name : "")).replace(R_SPACE, " ");
150
+ }
151
+ }
152
+ }
153
+ function css(el, prop, val) {
154
+ var style = el && el.style;
155
+ if (style) {
156
+ if (val === void 0) {
157
+ if (document.defaultView && document.defaultView.getComputedStyle) {
158
+ val = document.defaultView.getComputedStyle(el, "");
159
+ } else if (el.currentStyle) {
160
+ val = el.currentStyle;
161
+ }
162
+ return prop === void 0 ? val : val[prop];
163
+ } else {
164
+ if (!(prop in style) && prop.indexOf("webkit") === -1) {
165
+ prop = "-webkit-" + prop;
166
+ }
167
+ style[prop] = val + (typeof val === "string" ? "" : "px");
168
+ }
169
+ }
170
+ }
171
+ function matrix(el, selfOnly) {
172
+ var appliedTransforms = "";
173
+ if (typeof el === "string") {
174
+ appliedTransforms = el;
175
+ } else {
176
+ do {
177
+ var transform = css(el, "transform");
178
+ if (transform && transform !== "none") {
179
+ appliedTransforms = transform + " " + appliedTransforms;
180
+ }
181
+ } while (!selfOnly && (el = el.parentNode));
182
+ }
183
+ var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
184
+ return matrixFn && new matrixFn(appliedTransforms);
185
+ }
186
+ function find(ctx, tagName, iterator) {
187
+ if (ctx) {
188
+ var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length;
189
+ if (iterator) {
190
+ for (; i < n; i++) {
191
+ iterator(list[i], i);
192
+ }
193
+ }
194
+ return list;
195
+ }
196
+ return [];
197
+ }
198
+ function getWindowScrollingElement() {
199
+ var scrollingElement = document.scrollingElement;
200
+ if (scrollingElement) {
201
+ return scrollingElement;
202
+ } else {
203
+ return document.documentElement;
204
+ }
205
+ }
206
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
207
+ if (!el.getBoundingClientRect && el !== window) return;
208
+ var elRect, top, left, bottom, right, height, width;
209
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
210
+ elRect = el.getBoundingClientRect();
211
+ top = elRect.top;
212
+ left = elRect.left;
213
+ bottom = elRect.bottom;
214
+ right = elRect.right;
215
+ height = elRect.height;
216
+ width = elRect.width;
217
+ } else {
218
+ top = 0;
219
+ left = 0;
220
+ bottom = window.innerHeight;
221
+ right = window.innerWidth;
222
+ height = window.innerHeight;
223
+ width = window.innerWidth;
224
+ }
225
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
226
+ container = container || el.parentNode;
227
+ if (!IE11OrLess) {
228
+ do {
229
+ if (container && container.getBoundingClientRect && (css(container, "transform") !== "none" || relativeToNonStaticParent && css(container, "position") !== "static")) {
230
+ var containerRect = container.getBoundingClientRect();
231
+ top -= containerRect.top + parseInt(css(container, "border-top-width"));
232
+ left -= containerRect.left + parseInt(css(container, "border-left-width"));
233
+ bottom = top + elRect.height;
234
+ right = left + elRect.width;
235
+ break;
236
+ }
237
+ } while (container = container.parentNode);
238
+ }
239
+ }
240
+ if (undoScale && el !== window) {
241
+ var elMatrix = matrix(container || el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d;
242
+ if (elMatrix) {
243
+ top /= scaleY;
244
+ left /= scaleX;
245
+ width /= scaleX;
246
+ height /= scaleY;
247
+ bottom = top + height;
248
+ right = left + width;
249
+ }
250
+ }
251
+ return {
252
+ top,
253
+ left,
254
+ bottom,
255
+ right,
256
+ width,
257
+ height
258
+ };
259
+ }
260
+ function isScrolledPast(el, elSide, parentSide) {
261
+ var parent = getParentAutoScrollElement(el, true), elSideVal = getRect(el)[elSide];
262
+ while (parent) {
263
+ var parentSideVal = getRect(parent)[parentSide], visible = void 0;
264
+ if (parentSide === "top" || parentSide === "left") {
265
+ visible = elSideVal >= parentSideVal;
266
+ } else {
267
+ visible = elSideVal <= parentSideVal;
268
+ }
269
+ if (!visible) return parent;
270
+ if (parent === getWindowScrollingElement()) break;
271
+ parent = getParentAutoScrollElement(parent, false);
272
+ }
273
+ return false;
274
+ }
275
+ function getChild(el, childNum, options, includeDragEl) {
276
+ var currentChild = 0, i = 0, children = el.children;
277
+ while (i < children.length) {
278
+ if (children[i].style.display !== "none" && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
279
+ if (currentChild === childNum) {
280
+ return children[i];
281
+ }
282
+ currentChild++;
283
+ }
284
+ i++;
285
+ }
286
+ return null;
287
+ }
288
+ function lastChild(el, selector) {
289
+ var last = el.lastElementChild;
290
+ while (last && (last === Sortable.ghost || css(last, "display") === "none" || selector && !matches(last, selector))) {
291
+ last = last.previousElementSibling;
292
+ }
293
+ return last || null;
294
+ }
295
+ function index(el, selector) {
296
+ var index2 = 0;
297
+ if (!el || !el.parentNode) {
298
+ return -1;
299
+ }
300
+ while (el = el.previousElementSibling) {
301
+ if (el.nodeName.toUpperCase() !== "TEMPLATE" && el !== Sortable.clone && (!selector || matches(el, selector))) {
302
+ index2++;
303
+ }
304
+ }
305
+ return index2;
306
+ }
307
+ function getRelativeScrollOffset(el) {
308
+ var offsetLeft = 0, offsetTop = 0, winScroller = getWindowScrollingElement();
309
+ if (el) {
310
+ do {
311
+ var elMatrix = matrix(el), scaleX = elMatrix.a, scaleY = elMatrix.d;
312
+ offsetLeft += el.scrollLeft * scaleX;
313
+ offsetTop += el.scrollTop * scaleY;
314
+ } while (el !== winScroller && (el = el.parentNode));
315
+ }
316
+ return [offsetLeft, offsetTop];
317
+ }
318
+ function indexOfObject(arr, obj) {
319
+ for (var i in arr) {
320
+ if (!arr.hasOwnProperty(i)) continue;
321
+ for (var key in obj) {
322
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
323
+ }
324
+ }
325
+ return -1;
326
+ }
327
+ function getParentAutoScrollElement(el, includeSelf) {
328
+ if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
329
+ var elem = el;
330
+ var gotSelf = false;
331
+ do {
332
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
333
+ var elemCSS = css(elem);
334
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == "auto" || elemCSS.overflowX == "scroll") || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == "auto" || elemCSS.overflowY == "scroll")) {
335
+ if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
336
+ if (gotSelf || includeSelf) return elem;
337
+ gotSelf = true;
338
+ }
339
+ }
340
+ } while (elem = elem.parentNode);
341
+ return getWindowScrollingElement();
342
+ }
343
+ function extend(dst, src) {
344
+ if (dst && src) {
345
+ for (var key in src) {
346
+ if (src.hasOwnProperty(key)) {
347
+ dst[key] = src[key];
348
+ }
349
+ }
350
+ }
351
+ return dst;
352
+ }
353
+ function isRectEqual(rect1, rect2) {
354
+ return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
355
+ }
356
+ var _throttleTimeout;
357
+ function throttle(callback, ms) {
358
+ return function() {
359
+ if (!_throttleTimeout) {
360
+ var args = arguments, _this = this;
361
+ if (args.length === 1) {
362
+ callback.call(_this, args[0]);
363
+ } else {
364
+ callback.apply(_this, args);
365
+ }
366
+ _throttleTimeout = setTimeout(function() {
367
+ _throttleTimeout = void 0;
368
+ }, ms);
369
+ }
370
+ };
371
+ }
372
+ function cancelThrottle() {
373
+ clearTimeout(_throttleTimeout);
374
+ _throttleTimeout = void 0;
375
+ }
376
+ function scrollBy(el, x, y) {
377
+ el.scrollLeft += x;
378
+ el.scrollTop += y;
379
+ }
380
+ function clone(el) {
381
+ var Polymer = window.Polymer;
382
+ var $ = window.jQuery || window.Zepto;
383
+ if (Polymer && Polymer.dom) {
384
+ return Polymer.dom(el).cloneNode(true);
385
+ } else if ($) {
386
+ return $(el).clone(true)[0];
387
+ } else {
388
+ return el.cloneNode(true);
389
+ }
390
+ }
391
+ function getChildContainingRectFromElement(container, options, ghostEl2) {
392
+ var rect = {};
393
+ Array.from(container.children).forEach(function(child) {
394
+ var _rect$left, _rect$top, _rect$right, _rect$bottom;
395
+ if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl2) return;
396
+ var childRect = getRect(child);
397
+ rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
398
+ rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
399
+ rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
400
+ rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
401
+ });
402
+ rect.width = rect.right - rect.left;
403
+ rect.height = rect.bottom - rect.top;
404
+ rect.x = rect.left;
405
+ rect.y = rect.top;
406
+ return rect;
407
+ }
408
+ var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
409
+ function AnimationStateManager() {
410
+ var animationStates = [], animationCallbackId;
411
+ return {
412
+ captureAnimationState: function captureAnimationState() {
413
+ animationStates = [];
414
+ if (!this.options.animation) return;
415
+ var children = [].slice.call(this.el.children);
416
+ children.forEach(function(child) {
417
+ if (css(child, "display") === "none" || child === Sortable.ghost) return;
418
+ animationStates.push({
419
+ target: child,
420
+ rect: getRect(child)
421
+ });
422
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
423
+ if (child.thisAnimationDuration) {
424
+ var childMatrix = matrix(child, true);
425
+ if (childMatrix) {
426
+ fromRect.top -= childMatrix.f;
427
+ fromRect.left -= childMatrix.e;
428
+ }
429
+ }
430
+ child.fromRect = fromRect;
431
+ });
432
+ },
433
+ addAnimationState: function addAnimationState(state) {
434
+ animationStates.push(state);
435
+ },
436
+ removeAnimationState: function removeAnimationState(target) {
437
+ animationStates.splice(indexOfObject(animationStates, {
438
+ target
439
+ }), 1);
440
+ },
441
+ animateAll: function animateAll(callback) {
442
+ var _this = this;
443
+ if (!this.options.animation) {
444
+ clearTimeout(animationCallbackId);
445
+ if (typeof callback === "function") callback();
446
+ return;
447
+ }
448
+ var animating = false, animationTime = 0;
449
+ animationStates.forEach(function(state) {
450
+ var time = 0, target = state.target, fromRect = target.fromRect, toRect = getRect(target), prevFromRect = target.prevFromRect, prevToRect = target.prevToRect, animatingRect = state.rect, targetMatrix = matrix(target, true);
451
+ if (targetMatrix) {
452
+ toRect.top -= targetMatrix.f;
453
+ toRect.left -= targetMatrix.e;
454
+ }
455
+ target.toRect = toRect;
456
+ if (target.thisAnimationDuration) {
457
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
458
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
459
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
460
+ }
461
+ }
462
+ if (!isRectEqual(toRect, fromRect)) {
463
+ target.prevFromRect = fromRect;
464
+ target.prevToRect = toRect;
465
+ if (!time) {
466
+ time = _this.options.animation;
467
+ }
468
+ _this.animate(target, animatingRect, toRect, time);
469
+ }
470
+ if (time) {
471
+ animating = true;
472
+ animationTime = Math.max(animationTime, time);
473
+ clearTimeout(target.animationResetTimer);
474
+ target.animationResetTimer = setTimeout(function() {
475
+ target.animationTime = 0;
476
+ target.prevFromRect = null;
477
+ target.fromRect = null;
478
+ target.prevToRect = null;
479
+ target.thisAnimationDuration = null;
480
+ }, time);
481
+ target.thisAnimationDuration = time;
482
+ }
483
+ });
484
+ clearTimeout(animationCallbackId);
485
+ if (!animating) {
486
+ if (typeof callback === "function") callback();
487
+ } else {
488
+ animationCallbackId = setTimeout(function() {
489
+ if (typeof callback === "function") callback();
490
+ }, animationTime);
491
+ }
492
+ animationStates = [];
493
+ },
494
+ animate: function animate(target, currentRect, toRect, duration) {
495
+ if (duration) {
496
+ css(target, "transition", "");
497
+ css(target, "transform", "");
498
+ var elMatrix = matrix(this.el), scaleX = elMatrix && elMatrix.a, scaleY = elMatrix && elMatrix.d, translateX = (currentRect.left - toRect.left) / (scaleX || 1), translateY = (currentRect.top - toRect.top) / (scaleY || 1);
499
+ target.animatingX = !!translateX;
500
+ target.animatingY = !!translateY;
501
+ css(target, "transform", "translate3d(" + translateX + "px," + translateY + "px,0)");
502
+ this.forRepaintDummy = repaint(target);
503
+ css(target, "transition", "transform " + duration + "ms" + (this.options.easing ? " " + this.options.easing : ""));
504
+ css(target, "transform", "translate3d(0,0,0)");
505
+ typeof target.animated === "number" && clearTimeout(target.animated);
506
+ target.animated = setTimeout(function() {
507
+ css(target, "transition", "");
508
+ css(target, "transform", "");
509
+ target.animated = false;
510
+ target.animatingX = false;
511
+ target.animatingY = false;
512
+ }, duration);
513
+ }
514
+ }
515
+ };
516
+ }
517
+ function repaint(target) {
518
+ return target.offsetWidth;
519
+ }
520
+ function calculateRealTime(animatingRect, fromRect, toRect, options) {
521
+ return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
522
+ }
523
+ var plugins = [];
524
+ var defaults = {
525
+ initializeByDefault: true
526
+ };
527
+ var PluginManager = {
528
+ mount: function mount(plugin) {
529
+ for (var option2 in defaults) {
530
+ if (defaults.hasOwnProperty(option2) && !(option2 in plugin)) {
531
+ plugin[option2] = defaults[option2];
532
+ }
533
+ }
534
+ plugins.forEach(function(p) {
535
+ if (p.pluginName === plugin.pluginName) {
536
+ throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
537
+ }
538
+ });
539
+ plugins.push(plugin);
540
+ },
541
+ pluginEvent: function pluginEvent(eventName, sortable, evt) {
542
+ var _this = this;
543
+ this.eventCanceled = false;
544
+ evt.cancel = function() {
545
+ _this.eventCanceled = true;
546
+ };
547
+ var eventNameGlobal = eventName + "Global";
548
+ plugins.forEach(function(plugin) {
549
+ if (!sortable[plugin.pluginName]) return;
550
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
551
+ sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
552
+ sortable
553
+ }, evt));
554
+ }
555
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
556
+ sortable[plugin.pluginName][eventName](_objectSpread2({
557
+ sortable
558
+ }, evt));
559
+ }
560
+ });
561
+ },
562
+ initializePlugins: function initializePlugins(sortable, el, defaults2, options) {
563
+ plugins.forEach(function(plugin) {
564
+ var pluginName = plugin.pluginName;
565
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
566
+ var initialized = new plugin(sortable, el, sortable.options);
567
+ initialized.sortable = sortable;
568
+ initialized.options = sortable.options;
569
+ sortable[pluginName] = initialized;
570
+ _extends(defaults2, initialized.defaults);
571
+ });
572
+ for (var option2 in sortable.options) {
573
+ if (!sortable.options.hasOwnProperty(option2)) continue;
574
+ var modified = this.modifyOption(sortable, option2, sortable.options[option2]);
575
+ if (typeof modified !== "undefined") {
576
+ sortable.options[option2] = modified;
577
+ }
578
+ }
579
+ },
580
+ getEventProperties: function getEventProperties(name, sortable) {
581
+ var eventProperties = {};
582
+ plugins.forEach(function(plugin) {
583
+ if (typeof plugin.eventProperties !== "function") return;
584
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
585
+ });
586
+ return eventProperties;
587
+ },
588
+ modifyOption: function modifyOption(sortable, name, value) {
589
+ var modifiedValue;
590
+ plugins.forEach(function(plugin) {
591
+ if (!sortable[plugin.pluginName]) return;
592
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === "function") {
593
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
594
+ }
595
+ });
596
+ return modifiedValue;
597
+ }
598
+ };
599
+ function dispatchEvent(_ref) {
600
+ var sortable = _ref.sortable, rootEl2 = _ref.rootEl, name = _ref.name, targetEl = _ref.targetEl, cloneEl2 = _ref.cloneEl, toEl = _ref.toEl, fromEl = _ref.fromEl, oldIndex2 = _ref.oldIndex, newIndex2 = _ref.newIndex, oldDraggableIndex2 = _ref.oldDraggableIndex, newDraggableIndex2 = _ref.newDraggableIndex, originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, extraEventProperties = _ref.extraEventProperties;
601
+ sortable = sortable || rootEl2 && rootEl2[expando];
602
+ if (!sortable) return;
603
+ var evt, options = sortable.options, onName = "on" + name.charAt(0).toUpperCase() + name.substr(1);
604
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
605
+ evt = new CustomEvent(name, {
606
+ bubbles: true,
607
+ cancelable: true
608
+ });
609
+ } else {
610
+ evt = document.createEvent("Event");
611
+ evt.initEvent(name, true, true);
612
+ }
613
+ evt.to = toEl || rootEl2;
614
+ evt.from = fromEl || rootEl2;
615
+ evt.item = targetEl || rootEl2;
616
+ evt.clone = cloneEl2;
617
+ evt.oldIndex = oldIndex2;
618
+ evt.newIndex = newIndex2;
619
+ evt.oldDraggableIndex = oldDraggableIndex2;
620
+ evt.newDraggableIndex = newDraggableIndex2;
621
+ evt.originalEvent = originalEvent;
622
+ evt.pullMode = putSortable2 ? putSortable2.lastPutMode : void 0;
623
+ var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
624
+ for (var option2 in allEventProperties) {
625
+ evt[option2] = allEventProperties[option2];
626
+ }
627
+ if (rootEl2) {
628
+ rootEl2.dispatchEvent(evt);
629
+ }
630
+ if (options[onName]) {
631
+ options[onName].call(sortable, evt);
632
+ }
633
+ }
634
+ var _excluded = ["evt"];
635
+ var pluginEvent2 = function pluginEvent3(eventName, sortable) {
636
+ var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data = _objectWithoutProperties(_ref, _excluded);
637
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
638
+ dragEl,
639
+ parentEl,
640
+ ghostEl,
641
+ rootEl,
642
+ nextEl,
643
+ lastDownEl,
644
+ cloneEl,
645
+ cloneHidden,
646
+ dragStarted: moved,
647
+ putSortable,
648
+ activeSortable: Sortable.active,
649
+ originalEvent,
650
+ oldIndex,
651
+ oldDraggableIndex,
652
+ newIndex,
653
+ newDraggableIndex,
654
+ hideGhostForTarget: _hideGhostForTarget,
655
+ unhideGhostForTarget: _unhideGhostForTarget,
656
+ cloneNowHidden: function cloneNowHidden() {
657
+ cloneHidden = true;
658
+ },
659
+ cloneNowShown: function cloneNowShown() {
660
+ cloneHidden = false;
661
+ },
662
+ dispatchSortableEvent: function dispatchSortableEvent(name) {
663
+ _dispatchEvent({
664
+ sortable,
665
+ name,
666
+ originalEvent
667
+ });
668
+ }
669
+ }, data));
670
+ };
671
+ function _dispatchEvent(info) {
672
+ dispatchEvent(_objectSpread2({
673
+ putSortable,
674
+ cloneEl,
675
+ targetEl: dragEl,
676
+ rootEl,
677
+ oldIndex,
678
+ oldDraggableIndex,
679
+ newIndex,
680
+ newDraggableIndex
681
+ }, info));
682
+ }
683
+ var dragEl;
684
+ var parentEl;
685
+ var ghostEl;
686
+ var rootEl;
687
+ var nextEl;
688
+ var lastDownEl;
689
+ var cloneEl;
690
+ var cloneHidden;
691
+ var oldIndex;
692
+ var newIndex;
693
+ var oldDraggableIndex;
694
+ var newDraggableIndex;
695
+ var activeGroup;
696
+ var putSortable;
697
+ var awaitingDragStarted = false;
698
+ var ignoreNextClick = false;
699
+ var sortables = [];
700
+ var tapEvt;
701
+ var touchEvt;
702
+ var lastDx;
703
+ var lastDy;
704
+ var tapDistanceLeft;
705
+ var tapDistanceTop;
706
+ var moved;
707
+ var lastTarget;
708
+ var lastDirection;
709
+ var pastFirstInvertThresh = false;
710
+ var isCircumstantialInvert = false;
711
+ var targetMoveDistance;
712
+ var ghostRelativeParent;
713
+ var ghostRelativeParentInitialScroll = [];
714
+ var _silent = false;
715
+ var savedInputChecked = [];
716
+ var documentExists = typeof document !== "undefined";
717
+ var PositionGhostAbsolutely = IOS;
718
+ var CSSFloatProperty = Edge || IE11OrLess ? "cssFloat" : "float";
719
+ var supportDraggable = documentExists && !ChromeForAndroid && !IOS && "draggable" in document.createElement("div");
720
+ var supportCssPointerEvents = function() {
721
+ if (!documentExists) return;
722
+ if (IE11OrLess) {
723
+ return false;
724
+ }
725
+ var el = document.createElement("x");
726
+ el.style.cssText = "pointer-events:auto";
727
+ return el.style.pointerEvents === "auto";
728
+ }();
729
+ var _detectDirection = function _detectDirection2(el, options) {
730
+ var elCSS = css(el), elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth), child1 = getChild(el, 0, options), child2 = getChild(el, 1, options), firstChildCSS = child1 && css(child1), secondChildCSS = child2 && css(child2), firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width, secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
731
+ if (elCSS.display === "flex") {
732
+ return elCSS.flexDirection === "column" || elCSS.flexDirection === "column-reverse" ? "vertical" : "horizontal";
733
+ }
734
+ if (elCSS.display === "grid") {
735
+ return elCSS.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
736
+ }
737
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== "none") {
738
+ var touchingSideChild2 = firstChildCSS["float"] === "left" ? "left" : "right";
739
+ return child2 && (secondChildCSS.clear === "both" || secondChildCSS.clear === touchingSideChild2) ? "vertical" : "horizontal";
740
+ }
741
+ return child1 && (firstChildCSS.display === "block" || firstChildCSS.display === "flex" || firstChildCSS.display === "table" || firstChildCSS.display === "grid" || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === "none" || child2 && elCSS[CSSFloatProperty] === "none" && firstChildWidth + secondChildWidth > elWidth) ? "vertical" : "horizontal";
742
+ };
743
+ var _dragElInRowColumn = function _dragElInRowColumn2(dragRect, targetRect, vertical) {
744
+ var dragElS1Opp = vertical ? dragRect.left : dragRect.top, dragElS2Opp = vertical ? dragRect.right : dragRect.bottom, dragElOppLength = vertical ? dragRect.width : dragRect.height, targetS1Opp = vertical ? targetRect.left : targetRect.top, targetS2Opp = vertical ? targetRect.right : targetRect.bottom, targetOppLength = vertical ? targetRect.width : targetRect.height;
745
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
746
+ };
747
+ var _detectNearestEmptySortable = function _detectNearestEmptySortable2(x, y) {
748
+ var ret;
749
+ sortables.some(function(sortable) {
750
+ var threshold = sortable[expando].options.emptyInsertThreshold;
751
+ if (!threshold || lastChild(sortable)) return;
752
+ var rect = getRect(sortable), insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold, insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
753
+ if (insideHorizontally && insideVertically) {
754
+ return ret = sortable;
755
+ }
756
+ });
757
+ return ret;
758
+ };
759
+ var _prepareGroup = function _prepareGroup2(options) {
760
+ function toFn(value, pull) {
761
+ return function(to, from, dragEl2, evt) {
762
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
763
+ if (value == null && (pull || sameGroup)) {
764
+ return true;
765
+ } else if (value == null || value === false) {
766
+ return false;
767
+ } else if (pull && value === "clone") {
768
+ return value;
769
+ } else if (typeof value === "function") {
770
+ return toFn(value(to, from, dragEl2, evt), pull)(to, from, dragEl2, evt);
771
+ } else {
772
+ var otherGroup = (pull ? to : from).options.group.name;
773
+ return value === true || typeof value === "string" && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
774
+ }
775
+ };
776
+ }
777
+ var group = {};
778
+ var originalGroup = options.group;
779
+ if (!originalGroup || _typeof(originalGroup) != "object") {
780
+ originalGroup = {
781
+ name: originalGroup
782
+ };
783
+ }
784
+ group.name = originalGroup.name;
785
+ group.checkPull = toFn(originalGroup.pull, true);
786
+ group.checkPut = toFn(originalGroup.put);
787
+ group.revertClone = originalGroup.revertClone;
788
+ options.group = group;
789
+ };
790
+ var _hideGhostForTarget = function _hideGhostForTarget2() {
791
+ if (!supportCssPointerEvents && ghostEl) {
792
+ css(ghostEl, "display", "none");
793
+ }
794
+ };
795
+ var _unhideGhostForTarget = function _unhideGhostForTarget2() {
796
+ if (!supportCssPointerEvents && ghostEl) {
797
+ css(ghostEl, "display", "");
798
+ }
799
+ };
800
+ if (documentExists && !ChromeForAndroid) {
801
+ document.addEventListener("click", function(evt) {
802
+ if (ignoreNextClick) {
803
+ evt.preventDefault();
804
+ evt.stopPropagation && evt.stopPropagation();
805
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
806
+ ignoreNextClick = false;
807
+ return false;
808
+ }
809
+ }, true);
810
+ }
811
+ var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent2(evt) {
812
+ if (dragEl) {
813
+ evt = evt.touches ? evt.touches[0] : evt;
814
+ var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
815
+ if (nearest) {
816
+ var event = {};
817
+ for (var i in evt) {
818
+ if (evt.hasOwnProperty(i)) {
819
+ event[i] = evt[i];
820
+ }
821
+ }
822
+ event.target = event.rootEl = nearest;
823
+ event.preventDefault = void 0;
824
+ event.stopPropagation = void 0;
825
+ nearest[expando]._onDragOver(event);
826
+ }
827
+ }
828
+ };
829
+ var _checkOutsideTargetEl = function _checkOutsideTargetEl2(evt) {
830
+ if (dragEl) {
831
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
832
+ }
833
+ };
834
+ function Sortable(el, options) {
835
+ if (!(el && el.nodeType && el.nodeType === 1)) {
836
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
837
+ }
838
+ this.el = el;
839
+ this.options = options = _extends({}, options);
840
+ el[expando] = this;
841
+ var defaults2 = {
842
+ group: null,
843
+ sort: true,
844
+ disabled: false,
845
+ store: null,
846
+ handle: null,
847
+ draggable: /^[uo]l$/i.test(el.nodeName) ? ">li" : ">*",
848
+ swapThreshold: 1,
849
+ // percentage; 0 <= x <= 1
850
+ invertSwap: false,
851
+ // invert always
852
+ invertedSwapThreshold: null,
853
+ // will be set to same as swapThreshold if default
854
+ removeCloneOnHide: true,
855
+ direction: function direction() {
856
+ return _detectDirection(el, this.options);
857
+ },
858
+ ghostClass: "sortable-ghost",
859
+ chosenClass: "sortable-chosen",
860
+ dragClass: "sortable-drag",
861
+ ignore: "a, img",
862
+ filter: null,
863
+ preventOnFilter: true,
864
+ animation: 0,
865
+ easing: null,
866
+ setData: function setData(dataTransfer, dragEl2) {
867
+ dataTransfer.setData("Text", dragEl2.textContent);
868
+ },
869
+ dropBubble: false,
870
+ dragoverBubble: false,
871
+ dataIdAttr: "data-id",
872
+ delay: 0,
873
+ delayOnTouchOnly: false,
874
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
875
+ forceFallback: false,
876
+ fallbackClass: "sortable-fallback",
877
+ fallbackOnBody: false,
878
+ fallbackTolerance: 0,
879
+ fallbackOffset: {
880
+ x: 0,
881
+ y: 0
882
+ },
883
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
884
+ supportPointer: Sortable.supportPointer !== false && "PointerEvent" in window && (!Safari || IOS),
885
+ emptyInsertThreshold: 5
886
+ };
887
+ PluginManager.initializePlugins(this, el, defaults2);
888
+ for (var name in defaults2) {
889
+ !(name in options) && (options[name] = defaults2[name]);
890
+ }
891
+ _prepareGroup(options);
892
+ for (var fn in this) {
893
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
894
+ this[fn] = this[fn].bind(this);
895
+ }
896
+ }
897
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
898
+ if (this.nativeDraggable) {
899
+ this.options.touchStartThreshold = 1;
900
+ }
901
+ if (options.supportPointer) {
902
+ on(el, "pointerdown", this._onTapStart);
903
+ } else {
904
+ on(el, "mousedown", this._onTapStart);
905
+ on(el, "touchstart", this._onTapStart);
906
+ }
907
+ if (this.nativeDraggable) {
908
+ on(el, "dragover", this);
909
+ on(el, "dragenter", this);
910
+ }
911
+ sortables.push(this.el);
912
+ options.store && options.store.get && this.sort(options.store.get(this) || []);
913
+ _extends(this, AnimationStateManager());
914
+ }
915
+ Sortable.prototype = /** @lends Sortable.prototype */
916
+ {
917
+ constructor: Sortable,
918
+ _isOutsideThisEl: function _isOutsideThisEl(target) {
919
+ if (!this.el.contains(target) && target !== this.el) {
920
+ lastTarget = null;
921
+ }
922
+ },
923
+ _getDirection: function _getDirection(evt, target) {
924
+ return typeof this.options.direction === "function" ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
925
+ },
926
+ _onTapStart: function _onTapStart(evt) {
927
+ if (!evt.cancelable) return;
928
+ var _this = this, el = this.el, options = this.options, preventOnFilter = options.preventOnFilter, type = evt.type, touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === "touch" && evt, target = (touch || evt).target, originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target, filter = options.filter;
929
+ _saveInputCheckedState(el);
930
+ if (dragEl) {
931
+ return;
932
+ }
933
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
934
+ return;
935
+ }
936
+ if (originalTarget.isContentEditable) {
937
+ return;
938
+ }
939
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === "SELECT") {
940
+ return;
941
+ }
942
+ target = closest(target, options.draggable, el, false);
943
+ if (target && target.animated) {
944
+ return;
945
+ }
946
+ if (lastDownEl === target) {
947
+ return;
948
+ }
949
+ oldIndex = index(target);
950
+ oldDraggableIndex = index(target, options.draggable);
951
+ if (typeof filter === "function") {
952
+ if (filter.call(this, evt, target, this)) {
953
+ _dispatchEvent({
954
+ sortable: _this,
955
+ rootEl: originalTarget,
956
+ name: "filter",
957
+ targetEl: target,
958
+ toEl: el,
959
+ fromEl: el
960
+ });
961
+ pluginEvent2("filter", _this, {
962
+ evt
963
+ });
964
+ preventOnFilter && evt.preventDefault();
965
+ return;
966
+ }
967
+ } else if (filter) {
968
+ filter = filter.split(",").some(function(criteria) {
969
+ criteria = closest(originalTarget, criteria.trim(), el, false);
970
+ if (criteria) {
971
+ _dispatchEvent({
972
+ sortable: _this,
973
+ rootEl: criteria,
974
+ name: "filter",
975
+ targetEl: target,
976
+ fromEl: el,
977
+ toEl: el
978
+ });
979
+ pluginEvent2("filter", _this, {
980
+ evt
981
+ });
982
+ return true;
983
+ }
984
+ });
985
+ if (filter) {
986
+ preventOnFilter && evt.preventDefault();
987
+ return;
988
+ }
989
+ }
990
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
991
+ return;
992
+ }
993
+ this._prepareDragStart(evt, touch, target);
994
+ },
995
+ _prepareDragStart: function _prepareDragStart(evt, touch, target) {
996
+ var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn;
997
+ if (target && !dragEl && target.parentNode === el) {
998
+ var dragRect = getRect(target);
999
+ rootEl = el;
1000
+ dragEl = target;
1001
+ parentEl = dragEl.parentNode;
1002
+ nextEl = dragEl.nextSibling;
1003
+ lastDownEl = target;
1004
+ activeGroup = options.group;
1005
+ Sortable.dragged = dragEl;
1006
+ tapEvt = {
1007
+ target: dragEl,
1008
+ clientX: (touch || evt).clientX,
1009
+ clientY: (touch || evt).clientY
1010
+ };
1011
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1012
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1013
+ this._lastX = (touch || evt).clientX;
1014
+ this._lastY = (touch || evt).clientY;
1015
+ dragEl.style["will-change"] = "all";
1016
+ dragStartFn = function dragStartFn2() {
1017
+ pluginEvent2("delayEnded", _this, {
1018
+ evt
1019
+ });
1020
+ if (Sortable.eventCanceled) {
1021
+ _this._onDrop();
1022
+ return;
1023
+ }
1024
+ _this._disableDelayedDragEvents();
1025
+ if (!FireFox && _this.nativeDraggable) {
1026
+ dragEl.draggable = true;
1027
+ }
1028
+ _this._triggerDragStart(evt, touch);
1029
+ _dispatchEvent({
1030
+ sortable: _this,
1031
+ name: "choose",
1032
+ originalEvent: evt
1033
+ });
1034
+ toggleClass(dragEl, options.chosenClass, true);
1035
+ };
1036
+ options.ignore.split(",").forEach(function(criteria) {
1037
+ find(dragEl, criteria.trim(), _disableDraggable);
1038
+ });
1039
+ on(ownerDocument, "dragover", nearestEmptyInsertDetectEvent);
1040
+ on(ownerDocument, "mousemove", nearestEmptyInsertDetectEvent);
1041
+ on(ownerDocument, "touchmove", nearestEmptyInsertDetectEvent);
1042
+ if (options.supportPointer) {
1043
+ on(ownerDocument, "pointerup", _this._onDrop);
1044
+ !this.nativeDraggable && on(ownerDocument, "pointercancel", _this._onDrop);
1045
+ } else {
1046
+ on(ownerDocument, "mouseup", _this._onDrop);
1047
+ on(ownerDocument, "touchend", _this._onDrop);
1048
+ on(ownerDocument, "touchcancel", _this._onDrop);
1049
+ }
1050
+ if (FireFox && this.nativeDraggable) {
1051
+ this.options.touchStartThreshold = 4;
1052
+ dragEl.draggable = true;
1053
+ }
1054
+ pluginEvent2("delayStart", this, {
1055
+ evt
1056
+ });
1057
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1058
+ if (Sortable.eventCanceled) {
1059
+ this._onDrop();
1060
+ return;
1061
+ }
1062
+ if (options.supportPointer) {
1063
+ on(ownerDocument, "pointerup", _this._disableDelayedDrag);
1064
+ on(ownerDocument, "pointercancel", _this._disableDelayedDrag);
1065
+ } else {
1066
+ on(ownerDocument, "mouseup", _this._disableDelayedDrag);
1067
+ on(ownerDocument, "touchend", _this._disableDelayedDrag);
1068
+ on(ownerDocument, "touchcancel", _this._disableDelayedDrag);
1069
+ }
1070
+ on(ownerDocument, "mousemove", _this._delayedDragTouchMoveHandler);
1071
+ on(ownerDocument, "touchmove", _this._delayedDragTouchMoveHandler);
1072
+ options.supportPointer && on(ownerDocument, "pointermove", _this._delayedDragTouchMoveHandler);
1073
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1074
+ } else {
1075
+ dragStartFn();
1076
+ }
1077
+ }
1078
+ },
1079
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(e2) {
1080
+ var touch = e2.touches ? e2.touches[0] : e2;
1081
+ if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
1082
+ this._disableDelayedDrag();
1083
+ }
1084
+ },
1085
+ _disableDelayedDrag: function _disableDelayedDrag() {
1086
+ dragEl && _disableDraggable(dragEl);
1087
+ clearTimeout(this._dragStartTimer);
1088
+ this._disableDelayedDragEvents();
1089
+ },
1090
+ _disableDelayedDragEvents: function _disableDelayedDragEvents() {
1091
+ var ownerDocument = this.el.ownerDocument;
1092
+ off(ownerDocument, "mouseup", this._disableDelayedDrag);
1093
+ off(ownerDocument, "touchend", this._disableDelayedDrag);
1094
+ off(ownerDocument, "touchcancel", this._disableDelayedDrag);
1095
+ off(ownerDocument, "pointerup", this._disableDelayedDrag);
1096
+ off(ownerDocument, "pointercancel", this._disableDelayedDrag);
1097
+ off(ownerDocument, "mousemove", this._delayedDragTouchMoveHandler);
1098
+ off(ownerDocument, "touchmove", this._delayedDragTouchMoveHandler);
1099
+ off(ownerDocument, "pointermove", this._delayedDragTouchMoveHandler);
1100
+ },
1101
+ _triggerDragStart: function _triggerDragStart(evt, touch) {
1102
+ touch = touch || evt.pointerType == "touch" && evt;
1103
+ if (!this.nativeDraggable || touch) {
1104
+ if (this.options.supportPointer) {
1105
+ on(document, "pointermove", this._onTouchMove);
1106
+ } else if (touch) {
1107
+ on(document, "touchmove", this._onTouchMove);
1108
+ } else {
1109
+ on(document, "mousemove", this._onTouchMove);
1110
+ }
1111
+ } else {
1112
+ on(dragEl, "dragend", this);
1113
+ on(rootEl, "dragstart", this._onDragStart);
1114
+ }
1115
+ try {
1116
+ if (document.selection) {
1117
+ _nextTick(function() {
1118
+ document.selection.empty();
1119
+ });
1120
+ } else {
1121
+ window.getSelection().removeAllRanges();
1122
+ }
1123
+ } catch (err) {
1124
+ }
1125
+ },
1126
+ _dragStarted: function _dragStarted(fallback, evt) {
1127
+ awaitingDragStarted = false;
1128
+ if (rootEl && dragEl) {
1129
+ pluginEvent2("dragStarted", this, {
1130
+ evt
1131
+ });
1132
+ if (this.nativeDraggable) {
1133
+ on(document, "dragover", _checkOutsideTargetEl);
1134
+ }
1135
+ var options = this.options;
1136
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1137
+ toggleClass(dragEl, options.ghostClass, true);
1138
+ Sortable.active = this;
1139
+ fallback && this._appendGhost();
1140
+ _dispatchEvent({
1141
+ sortable: this,
1142
+ name: "start",
1143
+ originalEvent: evt
1144
+ });
1145
+ } else {
1146
+ this._nulling();
1147
+ }
1148
+ },
1149
+ _emulateDragOver: function _emulateDragOver() {
1150
+ if (touchEvt) {
1151
+ this._lastX = touchEvt.clientX;
1152
+ this._lastY = touchEvt.clientY;
1153
+ _hideGhostForTarget();
1154
+ var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1155
+ var parent = target;
1156
+ while (target && target.shadowRoot) {
1157
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1158
+ if (target === parent) break;
1159
+ parent = target;
1160
+ }
1161
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1162
+ if (parent) {
1163
+ do {
1164
+ if (parent[expando]) {
1165
+ var inserted = void 0;
1166
+ inserted = parent[expando]._onDragOver({
1167
+ clientX: touchEvt.clientX,
1168
+ clientY: touchEvt.clientY,
1169
+ target,
1170
+ rootEl: parent
1171
+ });
1172
+ if (inserted && !this.options.dragoverBubble) {
1173
+ break;
1174
+ }
1175
+ }
1176
+ target = parent;
1177
+ } while (parent = getParentOrHost(parent));
1178
+ }
1179
+ _unhideGhostForTarget();
1180
+ }
1181
+ },
1182
+ _onTouchMove: function _onTouchMove(evt) {
1183
+ if (tapEvt) {
1184
+ var options = this.options, fallbackTolerance = options.fallbackTolerance, fallbackOffset = options.fallbackOffset, touch = evt.touches ? evt.touches[0] : evt, ghostMatrix = ghostEl && matrix(ghostEl, true), scaleX = ghostEl && ghostMatrix && ghostMatrix.a, scaleY = ghostEl && ghostMatrix && ghostMatrix.d, relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent), dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1), dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
1185
+ if (!Sortable.active && !awaitingDragStarted) {
1186
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1187
+ return;
1188
+ }
1189
+ this._onDragStart(evt, true);
1190
+ }
1191
+ if (ghostEl) {
1192
+ if (ghostMatrix) {
1193
+ ghostMatrix.e += dx - (lastDx || 0);
1194
+ ghostMatrix.f += dy - (lastDy || 0);
1195
+ } else {
1196
+ ghostMatrix = {
1197
+ a: 1,
1198
+ b: 0,
1199
+ c: 0,
1200
+ d: 1,
1201
+ e: dx,
1202
+ f: dy
1203
+ };
1204
+ }
1205
+ var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1206
+ css(ghostEl, "webkitTransform", cssMatrix);
1207
+ css(ghostEl, "mozTransform", cssMatrix);
1208
+ css(ghostEl, "msTransform", cssMatrix);
1209
+ css(ghostEl, "transform", cssMatrix);
1210
+ lastDx = dx;
1211
+ lastDy = dy;
1212
+ touchEvt = touch;
1213
+ }
1214
+ evt.cancelable && evt.preventDefault();
1215
+ }
1216
+ },
1217
+ _appendGhost: function _appendGhost() {
1218
+ if (!ghostEl) {
1219
+ var container = this.options.fallbackOnBody ? document.body : rootEl, rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container), options = this.options;
1220
+ if (PositionGhostAbsolutely) {
1221
+ ghostRelativeParent = container;
1222
+ while (css(ghostRelativeParent, "position") === "static" && css(ghostRelativeParent, "transform") === "none" && ghostRelativeParent !== document) {
1223
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1224
+ }
1225
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1226
+ if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1227
+ rect.top += ghostRelativeParent.scrollTop;
1228
+ rect.left += ghostRelativeParent.scrollLeft;
1229
+ } else {
1230
+ ghostRelativeParent = getWindowScrollingElement();
1231
+ }
1232
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1233
+ }
1234
+ ghostEl = dragEl.cloneNode(true);
1235
+ toggleClass(ghostEl, options.ghostClass, false);
1236
+ toggleClass(ghostEl, options.fallbackClass, true);
1237
+ toggleClass(ghostEl, options.dragClass, true);
1238
+ css(ghostEl, "transition", "");
1239
+ css(ghostEl, "transform", "");
1240
+ css(ghostEl, "box-sizing", "border-box");
1241
+ css(ghostEl, "margin", 0);
1242
+ css(ghostEl, "top", rect.top);
1243
+ css(ghostEl, "left", rect.left);
1244
+ css(ghostEl, "width", rect.width);
1245
+ css(ghostEl, "height", rect.height);
1246
+ css(ghostEl, "opacity", "0.8");
1247
+ css(ghostEl, "position", PositionGhostAbsolutely ? "absolute" : "fixed");
1248
+ css(ghostEl, "zIndex", "100000");
1249
+ css(ghostEl, "pointerEvents", "none");
1250
+ Sortable.ghost = ghostEl;
1251
+ container.appendChild(ghostEl);
1252
+ css(ghostEl, "transform-origin", tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + "% " + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + "%");
1253
+ }
1254
+ },
1255
+ _onDragStart: function _onDragStart(evt, fallback) {
1256
+ var _this = this;
1257
+ var dataTransfer = evt.dataTransfer;
1258
+ var options = _this.options;
1259
+ pluginEvent2("dragStart", this, {
1260
+ evt
1261
+ });
1262
+ if (Sortable.eventCanceled) {
1263
+ this._onDrop();
1264
+ return;
1265
+ }
1266
+ pluginEvent2("setupClone", this);
1267
+ if (!Sortable.eventCanceled) {
1268
+ cloneEl = clone(dragEl);
1269
+ cloneEl.removeAttribute("id");
1270
+ cloneEl.draggable = false;
1271
+ cloneEl.style["will-change"] = "";
1272
+ this._hideClone();
1273
+ toggleClass(cloneEl, this.options.chosenClass, false);
1274
+ Sortable.clone = cloneEl;
1275
+ }
1276
+ _this.cloneId = _nextTick(function() {
1277
+ pluginEvent2("clone", _this);
1278
+ if (Sortable.eventCanceled) return;
1279
+ if (!_this.options.removeCloneOnHide) {
1280
+ rootEl.insertBefore(cloneEl, dragEl);
1281
+ }
1282
+ _this._hideClone();
1283
+ _dispatchEvent({
1284
+ sortable: _this,
1285
+ name: "clone"
1286
+ });
1287
+ });
1288
+ !fallback && toggleClass(dragEl, options.dragClass, true);
1289
+ if (fallback) {
1290
+ ignoreNextClick = true;
1291
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1292
+ } else {
1293
+ off(document, "mouseup", _this._onDrop);
1294
+ off(document, "touchend", _this._onDrop);
1295
+ off(document, "touchcancel", _this._onDrop);
1296
+ if (dataTransfer) {
1297
+ dataTransfer.effectAllowed = "move";
1298
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1299
+ }
1300
+ on(document, "drop", _this);
1301
+ css(dragEl, "transform", "translateZ(0)");
1302
+ }
1303
+ awaitingDragStarted = true;
1304
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1305
+ on(document, "selectstart", _this);
1306
+ moved = true;
1307
+ window.getSelection().removeAllRanges();
1308
+ if (Safari) {
1309
+ css(document.body, "user-select", "none");
1310
+ }
1311
+ },
1312
+ // Returns true - if no further action is needed (either inserted or another condition)
1313
+ _onDragOver: function _onDragOver(evt) {
1314
+ var el = this.el, target = evt.target, dragRect, targetRect, revert, options = this.options, group = options.group, activeSortable = Sortable.active, isOwner = activeGroup === group, canSort = options.sort, fromSortable = putSortable || activeSortable, vertical, _this = this, completedFired = false;
1315
+ if (_silent) return;
1316
+ function dragOverEvent(name, extra) {
1317
+ pluginEvent2(name, _this, _objectSpread2({
1318
+ evt,
1319
+ isOwner,
1320
+ axis: vertical ? "vertical" : "horizontal",
1321
+ revert,
1322
+ dragRect,
1323
+ targetRect,
1324
+ canSort,
1325
+ fromSortable,
1326
+ target,
1327
+ completed,
1328
+ onMove: function onMove(target2, after2) {
1329
+ return _onMove(rootEl, el, dragEl, dragRect, target2, getRect(target2), evt, after2);
1330
+ },
1331
+ changed
1332
+ }, extra));
1333
+ }
1334
+ function capture() {
1335
+ dragOverEvent("dragOverAnimationCapture");
1336
+ _this.captureAnimationState();
1337
+ if (_this !== fromSortable) {
1338
+ fromSortable.captureAnimationState();
1339
+ }
1340
+ }
1341
+ function completed(insertion) {
1342
+ dragOverEvent("dragOverCompleted", {
1343
+ insertion
1344
+ });
1345
+ if (insertion) {
1346
+ if (isOwner) {
1347
+ activeSortable._hideClone();
1348
+ } else {
1349
+ activeSortable._showClone(_this);
1350
+ }
1351
+ if (_this !== fromSortable) {
1352
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1353
+ toggleClass(dragEl, options.ghostClass, true);
1354
+ }
1355
+ if (putSortable !== _this && _this !== Sortable.active) {
1356
+ putSortable = _this;
1357
+ } else if (_this === Sortable.active && putSortable) {
1358
+ putSortable = null;
1359
+ }
1360
+ if (fromSortable === _this) {
1361
+ _this._ignoreWhileAnimating = target;
1362
+ }
1363
+ _this.animateAll(function() {
1364
+ dragOverEvent("dragOverAnimationComplete");
1365
+ _this._ignoreWhileAnimating = null;
1366
+ });
1367
+ if (_this !== fromSortable) {
1368
+ fromSortable.animateAll();
1369
+ fromSortable._ignoreWhileAnimating = null;
1370
+ }
1371
+ }
1372
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1373
+ lastTarget = null;
1374
+ }
1375
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1376
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1377
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1378
+ }
1379
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1380
+ return completedFired = true;
1381
+ }
1382
+ function changed() {
1383
+ newIndex = index(dragEl);
1384
+ newDraggableIndex = index(dragEl, options.draggable);
1385
+ _dispatchEvent({
1386
+ sortable: _this,
1387
+ name: "change",
1388
+ toEl: el,
1389
+ newIndex,
1390
+ newDraggableIndex,
1391
+ originalEvent: evt
1392
+ });
1393
+ }
1394
+ if (evt.preventDefault !== void 0) {
1395
+ evt.cancelable && evt.preventDefault();
1396
+ }
1397
+ target = closest(target, options.draggable, el, true);
1398
+ dragOverEvent("dragOver");
1399
+ if (Sortable.eventCanceled) return completedFired;
1400
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1401
+ return completed(false);
1402
+ }
1403
+ ignoreNextClick = false;
1404
+ if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
1405
+ vertical = this._getDirection(evt, target) === "vertical";
1406
+ dragRect = getRect(dragEl);
1407
+ dragOverEvent("dragOverValid");
1408
+ if (Sortable.eventCanceled) return completedFired;
1409
+ if (revert) {
1410
+ parentEl = rootEl;
1411
+ capture();
1412
+ this._hideClone();
1413
+ dragOverEvent("revert");
1414
+ if (!Sortable.eventCanceled) {
1415
+ if (nextEl) {
1416
+ rootEl.insertBefore(dragEl, nextEl);
1417
+ } else {
1418
+ rootEl.appendChild(dragEl);
1419
+ }
1420
+ }
1421
+ return completed(true);
1422
+ }
1423
+ var elLastChild = lastChild(el, options.draggable);
1424
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1425
+ if (elLastChild === dragEl) {
1426
+ return completed(false);
1427
+ }
1428
+ if (elLastChild && el === evt.target) {
1429
+ target = elLastChild;
1430
+ }
1431
+ if (target) {
1432
+ targetRect = getRect(target);
1433
+ }
1434
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1435
+ capture();
1436
+ if (elLastChild && elLastChild.nextSibling) {
1437
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1438
+ } else {
1439
+ el.appendChild(dragEl);
1440
+ }
1441
+ parentEl = el;
1442
+ changed();
1443
+ return completed(true);
1444
+ }
1445
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1446
+ var firstChild = getChild(el, 0, options, true);
1447
+ if (firstChild === dragEl) {
1448
+ return completed(false);
1449
+ }
1450
+ target = firstChild;
1451
+ targetRect = getRect(target);
1452
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
1453
+ capture();
1454
+ el.insertBefore(dragEl, firstChild);
1455
+ parentEl = el;
1456
+ changed();
1457
+ return completed(true);
1458
+ }
1459
+ } else if (target.parentNode === el) {
1460
+ targetRect = getRect(target);
1461
+ var direction = 0, targetBeforeFirstSwap, differentLevel = dragEl.parentNode !== el, differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical), side1 = vertical ? "top" : "left", scrolledPastTop = isScrolledPast(target, "top", "top") || isScrolledPast(dragEl, "top", "top"), scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
1462
+ if (lastTarget !== target) {
1463
+ targetBeforeFirstSwap = targetRect[side1];
1464
+ pastFirstInvertThresh = false;
1465
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
1466
+ }
1467
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
1468
+ var sibling;
1469
+ if (direction !== 0) {
1470
+ var dragIndex = index(dragEl);
1471
+ do {
1472
+ dragIndex -= direction;
1473
+ sibling = parentEl.children[dragIndex];
1474
+ } while (sibling && (css(sibling, "display") === "none" || sibling === ghostEl));
1475
+ }
1476
+ if (direction === 0 || sibling === target) {
1477
+ return completed(false);
1478
+ }
1479
+ lastTarget = target;
1480
+ lastDirection = direction;
1481
+ var nextSibling = target.nextElementSibling, after = false;
1482
+ after = direction === 1;
1483
+ var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
1484
+ if (moveVector !== false) {
1485
+ if (moveVector === 1 || moveVector === -1) {
1486
+ after = moveVector === 1;
1487
+ }
1488
+ _silent = true;
1489
+ setTimeout(_unsilent, 30);
1490
+ capture();
1491
+ if (after && !nextSibling) {
1492
+ el.appendChild(dragEl);
1493
+ } else {
1494
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
1495
+ }
1496
+ if (scrolledPastTop) {
1497
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
1498
+ }
1499
+ parentEl = dragEl.parentNode;
1500
+ if (targetBeforeFirstSwap !== void 0 && !isCircumstantialInvert) {
1501
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
1502
+ }
1503
+ changed();
1504
+ return completed(true);
1505
+ }
1506
+ }
1507
+ if (el.contains(dragEl)) {
1508
+ return completed(false);
1509
+ }
1510
+ }
1511
+ return false;
1512
+ },
1513
+ _ignoreWhileAnimating: null,
1514
+ _offMoveEvents: function _offMoveEvents() {
1515
+ off(document, "mousemove", this._onTouchMove);
1516
+ off(document, "touchmove", this._onTouchMove);
1517
+ off(document, "pointermove", this._onTouchMove);
1518
+ off(document, "dragover", nearestEmptyInsertDetectEvent);
1519
+ off(document, "mousemove", nearestEmptyInsertDetectEvent);
1520
+ off(document, "touchmove", nearestEmptyInsertDetectEvent);
1521
+ },
1522
+ _offUpEvents: function _offUpEvents() {
1523
+ var ownerDocument = this.el.ownerDocument;
1524
+ off(ownerDocument, "mouseup", this._onDrop);
1525
+ off(ownerDocument, "touchend", this._onDrop);
1526
+ off(ownerDocument, "pointerup", this._onDrop);
1527
+ off(ownerDocument, "pointercancel", this._onDrop);
1528
+ off(ownerDocument, "touchcancel", this._onDrop);
1529
+ off(document, "selectstart", this);
1530
+ },
1531
+ _onDrop: function _onDrop(evt) {
1532
+ var el = this.el, options = this.options;
1533
+ newIndex = index(dragEl);
1534
+ newDraggableIndex = index(dragEl, options.draggable);
1535
+ pluginEvent2("drop", this, {
1536
+ evt
1537
+ });
1538
+ parentEl = dragEl && dragEl.parentNode;
1539
+ newIndex = index(dragEl);
1540
+ newDraggableIndex = index(dragEl, options.draggable);
1541
+ if (Sortable.eventCanceled) {
1542
+ this._nulling();
1543
+ return;
1544
+ }
1545
+ awaitingDragStarted = false;
1546
+ isCircumstantialInvert = false;
1547
+ pastFirstInvertThresh = false;
1548
+ clearInterval(this._loopId);
1549
+ clearTimeout(this._dragStartTimer);
1550
+ _cancelNextTick(this.cloneId);
1551
+ _cancelNextTick(this._dragStartId);
1552
+ if (this.nativeDraggable) {
1553
+ off(document, "drop", this);
1554
+ off(el, "dragstart", this._onDragStart);
1555
+ }
1556
+ this._offMoveEvents();
1557
+ this._offUpEvents();
1558
+ if (Safari) {
1559
+ css(document.body, "user-select", "");
1560
+ }
1561
+ css(dragEl, "transform", "");
1562
+ if (evt) {
1563
+ if (moved) {
1564
+ evt.cancelable && evt.preventDefault();
1565
+ !options.dropBubble && evt.stopPropagation();
1566
+ }
1567
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
1568
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== "clone") {
1569
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
1570
+ }
1571
+ if (dragEl) {
1572
+ if (this.nativeDraggable) {
1573
+ off(dragEl, "dragend", this);
1574
+ }
1575
+ _disableDraggable(dragEl);
1576
+ dragEl.style["will-change"] = "";
1577
+ if (moved && !awaitingDragStarted) {
1578
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
1579
+ }
1580
+ toggleClass(dragEl, this.options.chosenClass, false);
1581
+ _dispatchEvent({
1582
+ sortable: this,
1583
+ name: "unchoose",
1584
+ toEl: parentEl,
1585
+ newIndex: null,
1586
+ newDraggableIndex: null,
1587
+ originalEvent: evt
1588
+ });
1589
+ if (rootEl !== parentEl) {
1590
+ if (newIndex >= 0) {
1591
+ _dispatchEvent({
1592
+ rootEl: parentEl,
1593
+ name: "add",
1594
+ toEl: parentEl,
1595
+ fromEl: rootEl,
1596
+ originalEvent: evt
1597
+ });
1598
+ _dispatchEvent({
1599
+ sortable: this,
1600
+ name: "remove",
1601
+ toEl: parentEl,
1602
+ originalEvent: evt
1603
+ });
1604
+ _dispatchEvent({
1605
+ rootEl: parentEl,
1606
+ name: "sort",
1607
+ toEl: parentEl,
1608
+ fromEl: rootEl,
1609
+ originalEvent: evt
1610
+ });
1611
+ _dispatchEvent({
1612
+ sortable: this,
1613
+ name: "sort",
1614
+ toEl: parentEl,
1615
+ originalEvent: evt
1616
+ });
1617
+ }
1618
+ putSortable && putSortable.save();
1619
+ } else {
1620
+ if (newIndex !== oldIndex) {
1621
+ if (newIndex >= 0) {
1622
+ _dispatchEvent({
1623
+ sortable: this,
1624
+ name: "update",
1625
+ toEl: parentEl,
1626
+ originalEvent: evt
1627
+ });
1628
+ _dispatchEvent({
1629
+ sortable: this,
1630
+ name: "sort",
1631
+ toEl: parentEl,
1632
+ originalEvent: evt
1633
+ });
1634
+ }
1635
+ }
1636
+ }
1637
+ if (Sortable.active) {
1638
+ if (newIndex == null || newIndex === -1) {
1639
+ newIndex = oldIndex;
1640
+ newDraggableIndex = oldDraggableIndex;
1641
+ }
1642
+ _dispatchEvent({
1643
+ sortable: this,
1644
+ name: "end",
1645
+ toEl: parentEl,
1646
+ originalEvent: evt
1647
+ });
1648
+ this.save();
1649
+ }
1650
+ }
1651
+ }
1652
+ this._nulling();
1653
+ },
1654
+ _nulling: function _nulling() {
1655
+ pluginEvent2("nulling", this);
1656
+ 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;
1657
+ var el = this.el;
1658
+ savedInputChecked.forEach(function(checkEl) {
1659
+ if (el.contains(checkEl)) {
1660
+ checkEl.checked = true;
1661
+ }
1662
+ });
1663
+ savedInputChecked.length = lastDx = lastDy = 0;
1664
+ },
1665
+ handleEvent: function handleEvent(evt) {
1666
+ switch (evt.type) {
1667
+ case "drop":
1668
+ case "dragend":
1669
+ this._onDrop(evt);
1670
+ break;
1671
+ case "dragenter":
1672
+ case "dragover":
1673
+ if (dragEl) {
1674
+ this._onDragOver(evt);
1675
+ _globalDragOver(evt);
1676
+ }
1677
+ break;
1678
+ case "selectstart":
1679
+ evt.preventDefault();
1680
+ break;
1681
+ }
1682
+ },
1683
+ /**
1684
+ * Serializes the item into an array of string.
1685
+ * @returns {String[]}
1686
+ */
1687
+ toArray: function toArray() {
1688
+ var order = [], el, children = this.el.children, i = 0, n = children.length, options = this.options;
1689
+ for (; i < n; i++) {
1690
+ el = children[i];
1691
+ if (closest(el, options.draggable, this.el, false)) {
1692
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
1693
+ }
1694
+ }
1695
+ return order;
1696
+ },
1697
+ /**
1698
+ * Sorts the elements according to the array.
1699
+ * @param {String[]} order order of the items
1700
+ */
1701
+ sort: function sort(order, useAnimation) {
1702
+ var items = {}, rootEl2 = this.el;
1703
+ this.toArray().forEach(function(id, i) {
1704
+ var el = rootEl2.children[i];
1705
+ if (closest(el, this.options.draggable, rootEl2, false)) {
1706
+ items[id] = el;
1707
+ }
1708
+ }, this);
1709
+ useAnimation && this.captureAnimationState();
1710
+ order.forEach(function(id) {
1711
+ if (items[id]) {
1712
+ rootEl2.removeChild(items[id]);
1713
+ rootEl2.appendChild(items[id]);
1714
+ }
1715
+ });
1716
+ useAnimation && this.animateAll();
1717
+ },
1718
+ /**
1719
+ * Save the current sorting
1720
+ */
1721
+ save: function save() {
1722
+ var store = this.options.store;
1723
+ store && store.set && store.set(this);
1724
+ },
1725
+ /**
1726
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
1727
+ * @param {HTMLElement} el
1728
+ * @param {String} [selector] default: `options.draggable`
1729
+ * @returns {HTMLElement|null}
1730
+ */
1731
+ closest: function closest$1(el, selector) {
1732
+ return closest(el, selector || this.options.draggable, this.el, false);
1733
+ },
1734
+ /**
1735
+ * Set/get option
1736
+ * @param {string} name
1737
+ * @param {*} [value]
1738
+ * @returns {*}
1739
+ */
1740
+ option: function option(name, value) {
1741
+ var options = this.options;
1742
+ if (value === void 0) {
1743
+ return options[name];
1744
+ } else {
1745
+ var modifiedValue = PluginManager.modifyOption(this, name, value);
1746
+ if (typeof modifiedValue !== "undefined") {
1747
+ options[name] = modifiedValue;
1748
+ } else {
1749
+ options[name] = value;
1750
+ }
1751
+ if (name === "group") {
1752
+ _prepareGroup(options);
1753
+ }
1754
+ }
1755
+ },
1756
+ /**
1757
+ * Destroy
1758
+ */
1759
+ destroy: function destroy() {
1760
+ pluginEvent2("destroy", this);
1761
+ var el = this.el;
1762
+ el[expando] = null;
1763
+ off(el, "mousedown", this._onTapStart);
1764
+ off(el, "touchstart", this._onTapStart);
1765
+ off(el, "pointerdown", this._onTapStart);
1766
+ if (this.nativeDraggable) {
1767
+ off(el, "dragover", this);
1768
+ off(el, "dragenter", this);
1769
+ }
1770
+ Array.prototype.forEach.call(el.querySelectorAll("[draggable]"), function(el2) {
1771
+ el2.removeAttribute("draggable");
1772
+ });
1773
+ this._onDrop();
1774
+ this._disableDelayedDragEvents();
1775
+ sortables.splice(sortables.indexOf(this.el), 1);
1776
+ this.el = el = null;
1777
+ },
1778
+ _hideClone: function _hideClone() {
1779
+ if (!cloneHidden) {
1780
+ pluginEvent2("hideClone", this);
1781
+ if (Sortable.eventCanceled) return;
1782
+ css(cloneEl, "display", "none");
1783
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
1784
+ cloneEl.parentNode.removeChild(cloneEl);
1785
+ }
1786
+ cloneHidden = true;
1787
+ }
1788
+ },
1789
+ _showClone: function _showClone(putSortable2) {
1790
+ if (putSortable2.lastPutMode !== "clone") {
1791
+ this._hideClone();
1792
+ return;
1793
+ }
1794
+ if (cloneHidden) {
1795
+ pluginEvent2("showClone", this);
1796
+ if (Sortable.eventCanceled) return;
1797
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
1798
+ rootEl.insertBefore(cloneEl, dragEl);
1799
+ } else if (nextEl) {
1800
+ rootEl.insertBefore(cloneEl, nextEl);
1801
+ } else {
1802
+ rootEl.appendChild(cloneEl);
1803
+ }
1804
+ if (this.options.group.revertClone) {
1805
+ this.animate(dragEl, cloneEl);
1806
+ }
1807
+ css(cloneEl, "display", "");
1808
+ cloneHidden = false;
1809
+ }
1810
+ }
1811
+ };
1812
+ function _globalDragOver(evt) {
1813
+ if (evt.dataTransfer) {
1814
+ evt.dataTransfer.dropEffect = "move";
1815
+ }
1816
+ evt.cancelable && evt.preventDefault();
1817
+ }
1818
+ function _onMove(fromEl, toEl, dragEl2, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
1819
+ var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal;
1820
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
1821
+ evt = new CustomEvent("move", {
1822
+ bubbles: true,
1823
+ cancelable: true
1824
+ });
1825
+ } else {
1826
+ evt = document.createEvent("Event");
1827
+ evt.initEvent("move", true, true);
1828
+ }
1829
+ evt.to = toEl;
1830
+ evt.from = fromEl;
1831
+ evt.dragged = dragEl2;
1832
+ evt.draggedRect = dragRect;
1833
+ evt.related = targetEl || toEl;
1834
+ evt.relatedRect = targetRect || getRect(toEl);
1835
+ evt.willInsertAfter = willInsertAfter;
1836
+ evt.originalEvent = originalEvent;
1837
+ fromEl.dispatchEvent(evt);
1838
+ if (onMoveFn) {
1839
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
1840
+ }
1841
+ return retVal;
1842
+ }
1843
+ function _disableDraggable(el) {
1844
+ el.draggable = false;
1845
+ }
1846
+ function _unsilent() {
1847
+ _silent = false;
1848
+ }
1849
+ function _ghostIsFirst(evt, vertical, sortable) {
1850
+ var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
1851
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1852
+ var spacer = 10;
1853
+ return vertical ? evt.clientX < childContainingRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < childContainingRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
1854
+ }
1855
+ function _ghostIsLast(evt, vertical, sortable) {
1856
+ var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
1857
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
1858
+ var spacer = 10;
1859
+ return vertical ? evt.clientX > childContainingRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > childContainingRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
1860
+ }
1861
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
1862
+ var mouseOnAxis = vertical ? evt.clientY : evt.clientX, targetLength = vertical ? targetRect.height : targetRect.width, targetS1 = vertical ? targetRect.top : targetRect.left, targetS2 = vertical ? targetRect.bottom : targetRect.right, invert = false;
1863
+ if (!invertSwap) {
1864
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
1865
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
1866
+ pastFirstInvertThresh = true;
1867
+ }
1868
+ if (!pastFirstInvertThresh) {
1869
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance : mouseOnAxis > targetS2 - targetMoveDistance) {
1870
+ return -lastDirection;
1871
+ }
1872
+ } else {
1873
+ invert = true;
1874
+ }
1875
+ } else {
1876
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
1877
+ return _getInsertDirection(target);
1878
+ }
1879
+ }
1880
+ }
1881
+ invert = invert || invertSwap;
1882
+ if (invert) {
1883
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
1884
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
1885
+ }
1886
+ }
1887
+ return 0;
1888
+ }
1889
+ function _getInsertDirection(target) {
1890
+ if (index(dragEl) < index(target)) {
1891
+ return 1;
1892
+ } else {
1893
+ return -1;
1894
+ }
1895
+ }
1896
+ function _generateId(el) {
1897
+ var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0;
1898
+ while (i--) {
1899
+ sum += str.charCodeAt(i);
1900
+ }
1901
+ return sum.toString(36);
1902
+ }
1903
+ function _saveInputCheckedState(root) {
1904
+ savedInputChecked.length = 0;
1905
+ var inputs = root.getElementsByTagName("input");
1906
+ var idx = inputs.length;
1907
+ while (idx--) {
1908
+ var el = inputs[idx];
1909
+ el.checked && savedInputChecked.push(el);
1910
+ }
1911
+ }
1912
+ function _nextTick(fn) {
1913
+ return setTimeout(fn, 0);
1914
+ }
1915
+ function _cancelNextTick(id) {
1916
+ return clearTimeout(id);
1917
+ }
1918
+ if (documentExists) {
1919
+ on(document, "touchmove", function(evt) {
1920
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
1921
+ evt.preventDefault();
1922
+ }
1923
+ });
1924
+ }
1925
+ Sortable.utils = {
1926
+ on,
1927
+ off,
1928
+ css,
1929
+ find,
1930
+ is: function is(el, selector) {
1931
+ return !!closest(el, selector, el, false);
1932
+ },
1933
+ extend,
1934
+ throttle,
1935
+ closest,
1936
+ toggleClass,
1937
+ clone,
1938
+ index,
1939
+ nextTick: _nextTick,
1940
+ cancelNextTick: _cancelNextTick,
1941
+ detectDirection: _detectDirection,
1942
+ getChild,
1943
+ expando
1944
+ };
1945
+ Sortable.get = function(element) {
1946
+ return element[expando];
1947
+ };
1948
+ Sortable.mount = function() {
1949
+ for (var _len = arguments.length, plugins2 = new Array(_len), _key = 0; _key < _len; _key++) {
1950
+ plugins2[_key] = arguments[_key];
1951
+ }
1952
+ if (plugins2[0].constructor === Array) plugins2 = plugins2[0];
1953
+ plugins2.forEach(function(plugin) {
1954
+ if (!plugin.prototype || !plugin.prototype.constructor) {
1955
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
1956
+ }
1957
+ if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
1958
+ PluginManager.mount(plugin);
1959
+ });
1960
+ };
1961
+ Sortable.create = function(el, options) {
1962
+ return new Sortable(el, options);
1963
+ };
1964
+ Sortable.version = version;
1965
+ var autoScrolls = [];
1966
+ var scrollEl;
1967
+ var scrollRootEl;
1968
+ var scrolling = false;
1969
+ var lastAutoScrollX;
1970
+ var lastAutoScrollY;
1971
+ var touchEvt$1;
1972
+ var pointerElemChangedInterval;
1973
+ function AutoScrollPlugin() {
1974
+ function AutoScroll() {
1975
+ this.defaults = {
1976
+ scroll: true,
1977
+ forceAutoScrollFallback: false,
1978
+ scrollSensitivity: 30,
1979
+ scrollSpeed: 10,
1980
+ bubbleScroll: true
1981
+ };
1982
+ for (var fn in this) {
1983
+ if (fn.charAt(0) === "_" && typeof this[fn] === "function") {
1984
+ this[fn] = this[fn].bind(this);
1985
+ }
1986
+ }
1987
+ }
1988
+ AutoScroll.prototype = {
1989
+ dragStarted: function dragStarted(_ref) {
1990
+ var originalEvent = _ref.originalEvent;
1991
+ if (this.sortable.nativeDraggable) {
1992
+ on(document, "dragover", this._handleAutoScroll);
1993
+ } else {
1994
+ if (this.options.supportPointer) {
1995
+ on(document, "pointermove", this._handleFallbackAutoScroll);
1996
+ } else if (originalEvent.touches) {
1997
+ on(document, "touchmove", this._handleFallbackAutoScroll);
1998
+ } else {
1999
+ on(document, "mousemove", this._handleFallbackAutoScroll);
2000
+ }
2001
+ }
2002
+ },
2003
+ dragOverCompleted: function dragOverCompleted(_ref2) {
2004
+ var originalEvent = _ref2.originalEvent;
2005
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2006
+ this._handleAutoScroll(originalEvent);
2007
+ }
2008
+ },
2009
+ drop: function drop3() {
2010
+ if (this.sortable.nativeDraggable) {
2011
+ off(document, "dragover", this._handleAutoScroll);
2012
+ } else {
2013
+ off(document, "pointermove", this._handleFallbackAutoScroll);
2014
+ off(document, "touchmove", this._handleFallbackAutoScroll);
2015
+ off(document, "mousemove", this._handleFallbackAutoScroll);
2016
+ }
2017
+ clearPointerElemChangedInterval();
2018
+ clearAutoScrolls();
2019
+ cancelThrottle();
2020
+ },
2021
+ nulling: function nulling() {
2022
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2023
+ autoScrolls.length = 0;
2024
+ },
2025
+ _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
2026
+ this._handleAutoScroll(evt, true);
2027
+ },
2028
+ _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2029
+ var _this = this;
2030
+ var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, elem = document.elementFromPoint(x, y);
2031
+ touchEvt$1 = evt;
2032
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2033
+ autoScroll(evt, this.options, elem, fallback);
2034
+ var ogElemScroller = getParentAutoScrollElement(elem, true);
2035
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2036
+ pointerElemChangedInterval && clearPointerElemChangedInterval();
2037
+ pointerElemChangedInterval = setInterval(function() {
2038
+ var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2039
+ if (newElem !== ogElemScroller) {
2040
+ ogElemScroller = newElem;
2041
+ clearAutoScrolls();
2042
+ }
2043
+ autoScroll(evt, _this.options, newElem, fallback);
2044
+ }, 10);
2045
+ lastAutoScrollX = x;
2046
+ lastAutoScrollY = y;
2047
+ }
2048
+ } else {
2049
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2050
+ clearAutoScrolls();
2051
+ return;
2052
+ }
2053
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2054
+ }
2055
+ }
2056
+ };
2057
+ return _extends(AutoScroll, {
2058
+ pluginName: "scroll",
2059
+ initializeByDefault: true
2060
+ });
2061
+ }
2062
+ function clearAutoScrolls() {
2063
+ autoScrolls.forEach(function(autoScroll2) {
2064
+ clearInterval(autoScroll2.pid);
2065
+ });
2066
+ autoScrolls = [];
2067
+ }
2068
+ function clearPointerElemChangedInterval() {
2069
+ clearInterval(pointerElemChangedInterval);
2070
+ }
2071
+ var autoScroll = throttle(function(evt, options, rootEl2, isFallback) {
2072
+ if (!options.scroll) return;
2073
+ var x = (evt.touches ? evt.touches[0] : evt).clientX, y = (evt.touches ? evt.touches[0] : evt).clientY, sens = options.scrollSensitivity, speed = options.scrollSpeed, winScroller = getWindowScrollingElement();
2074
+ var scrollThisInstance = false, scrollCustomFn;
2075
+ if (scrollRootEl !== rootEl2) {
2076
+ scrollRootEl = rootEl2;
2077
+ clearAutoScrolls();
2078
+ scrollEl = options.scroll;
2079
+ scrollCustomFn = options.scrollFn;
2080
+ if (scrollEl === true) {
2081
+ scrollEl = getParentAutoScrollElement(rootEl2, true);
2082
+ }
2083
+ }
2084
+ var layersOut = 0;
2085
+ var currentParent = scrollEl;
2086
+ do {
2087
+ var el = currentParent, rect = getRect(el), top = rect.top, bottom = rect.bottom, left = rect.left, right = rect.right, width = rect.width, height = rect.height, canScrollX = void 0, canScrollY = void 0, scrollWidth = el.scrollWidth, scrollHeight = el.scrollHeight, elCSS = css(el), scrollPosX = el.scrollLeft, scrollPosY = el.scrollTop;
2088
+ if (el === winScroller) {
2089
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll" || elCSS.overflowX === "visible");
2090
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll" || elCSS.overflowY === "visible");
2091
+ } else {
2092
+ canScrollX = width < scrollWidth && (elCSS.overflowX === "auto" || elCSS.overflowX === "scroll");
2093
+ canScrollY = height < scrollHeight && (elCSS.overflowY === "auto" || elCSS.overflowY === "scroll");
2094
+ }
2095
+ var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2096
+ var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2097
+ if (!autoScrolls[layersOut]) {
2098
+ for (var i = 0; i <= layersOut; i++) {
2099
+ if (!autoScrolls[i]) {
2100
+ autoScrolls[i] = {};
2101
+ }
2102
+ }
2103
+ }
2104
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2105
+ autoScrolls[layersOut].el = el;
2106
+ autoScrolls[layersOut].vx = vx;
2107
+ autoScrolls[layersOut].vy = vy;
2108
+ clearInterval(autoScrolls[layersOut].pid);
2109
+ if (vx != 0 || vy != 0) {
2110
+ scrollThisInstance = true;
2111
+ autoScrolls[layersOut].pid = setInterval(function() {
2112
+ if (isFallback && this.layer === 0) {
2113
+ Sortable.active._onTouchMove(touchEvt$1);
2114
+ }
2115
+ var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2116
+ var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2117
+ if (typeof scrollCustomFn === "function") {
2118
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== "continue") {
2119
+ return;
2120
+ }
2121
+ }
2122
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2123
+ }.bind({
2124
+ layer: layersOut
2125
+ }), 24);
2126
+ }
2127
+ }
2128
+ layersOut++;
2129
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2130
+ scrolling = scrollThisInstance;
2131
+ }, 30);
2132
+ var drop = function drop2(_ref) {
2133
+ var originalEvent = _ref.originalEvent, putSortable2 = _ref.putSortable, dragEl2 = _ref.dragEl, activeSortable = _ref.activeSortable, dispatchSortableEvent = _ref.dispatchSortableEvent, hideGhostForTarget = _ref.hideGhostForTarget, unhideGhostForTarget = _ref.unhideGhostForTarget;
2134
+ if (!originalEvent) return;
2135
+ var toSortable = putSortable2 || activeSortable;
2136
+ hideGhostForTarget();
2137
+ var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2138
+ var target = document.elementFromPoint(touch.clientX, touch.clientY);
2139
+ unhideGhostForTarget();
2140
+ if (toSortable && !toSortable.el.contains(target)) {
2141
+ dispatchSortableEvent("spill");
2142
+ this.onSpill({
2143
+ dragEl: dragEl2,
2144
+ putSortable: putSortable2
2145
+ });
2146
+ }
2147
+ };
2148
+ function Revert() {
2149
+ }
2150
+ Revert.prototype = {
2151
+ startIndex: null,
2152
+ dragStart: function dragStart(_ref2) {
2153
+ var oldDraggableIndex2 = _ref2.oldDraggableIndex;
2154
+ this.startIndex = oldDraggableIndex2;
2155
+ },
2156
+ onSpill: function onSpill(_ref3) {
2157
+ var dragEl2 = _ref3.dragEl, putSortable2 = _ref3.putSortable;
2158
+ this.sortable.captureAnimationState();
2159
+ if (putSortable2) {
2160
+ putSortable2.captureAnimationState();
2161
+ }
2162
+ var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2163
+ if (nextSibling) {
2164
+ this.sortable.el.insertBefore(dragEl2, nextSibling);
2165
+ } else {
2166
+ this.sortable.el.appendChild(dragEl2);
2167
+ }
2168
+ this.sortable.animateAll();
2169
+ if (putSortable2) {
2170
+ putSortable2.animateAll();
2171
+ }
2172
+ },
2173
+ drop
2174
+ };
2175
+ _extends(Revert, {
2176
+ pluginName: "revertOnSpill"
2177
+ });
2178
+ function Remove() {
2179
+ }
2180
+ Remove.prototype = {
2181
+ onSpill: function onSpill2(_ref4) {
2182
+ var dragEl2 = _ref4.dragEl, putSortable2 = _ref4.putSortable;
2183
+ var parentSortable = putSortable2 || this.sortable;
2184
+ parentSortable.captureAnimationState();
2185
+ dragEl2.parentNode && dragEl2.parentNode.removeChild(dragEl2);
2186
+ parentSortable.animateAll();
2187
+ },
2188
+ drop
2189
+ };
2190
+ _extends(Remove, {
2191
+ pluginName: "removeOnSpill"
2192
+ });
2193
+ Sortable.mount(new AutoScrollPlugin());
2194
+ Sortable.mount(Remove, Revert);
2195
+ var sortable_esm_default = Sortable;
2196
+
2197
+ // src/components/table/features/row-drag-controller.ts
2198
+ var RowDragController = class {
2199
+ constructor(getCommonProps, getBodyRef, treeCtrl, requestUpdate) {
2200
+ this.getCommonProps = getCommonProps;
2201
+ this.getBodyRef = getBodyRef;
2202
+ this.treeCtrl = treeCtrl;
2203
+ this.requestUpdate = requestUpdate;
2204
+ this.tbodyRef = e();
2205
+ this.draggingRowKey = null;
2206
+ this.draggingKeys = /* @__PURE__ */ new Set();
2207
+ /** 拖拽状态(宿主通过 getter 读取来驱动渲染) */
2208
+ this.currentInsertIndex = null;
2209
+ this.draggingBlock = { start: -1, end: -1 };
2210
+ this.dropTarget = null;
2211
+ this.cleanupDragImage = () => {
2212
+ var _a;
2213
+ if ((_a = this.dragImageEl) == null ? void 0 : _a.parentNode) this.dragImageEl.parentNode.removeChild(this.dragImageEl);
2214
+ this.dragImageEl = void 0;
2215
+ };
2216
+ // ===================== Sortable 事件 =====================
2217
+ this.handleMove = (evt) => {
2218
+ var _a, _b;
2219
+ const tbody = this.tbodyRef.value;
2220
+ if (!this.bodyRef.value || !tbody) return true;
2221
+ const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
2222
+ if (!rows.length) return true;
2223
+ if (this.treeCtrl.isTreeMode()) {
2224
+ if (!this.draggingRowKey && evt.item) {
2225
+ this.draggingRowKey = (_a = evt.item.dataset.rowKey) != null ? _a : null;
2226
+ }
2227
+ this.dropTarget = this.calcDragTarget(evt);
2228
+ this.requestUpdate();
2229
+ return false;
2230
+ }
2231
+ const mouseY = evt.originalEvent.clientY;
2232
+ const firstRect = rows[0].getBoundingClientRect();
2233
+ const lastRect = rows[rows.length - 1].getBoundingClientRect();
2234
+ let insertIndex = (_b = this.currentInsertIndex) != null ? _b : 0;
2235
+ if (mouseY >= lastRect.bottom) {
2236
+ insertIndex = rows.length;
2237
+ } else if (mouseY <= firstRect.top) {
2238
+ insertIndex = 0;
2239
+ } else {
2240
+ const related = evt.related;
2241
+ if (related) {
2242
+ const rect = related.getBoundingClientRect();
2243
+ const relatedIndex = rows.indexOf(related);
2244
+ if (relatedIndex >= 0) {
2245
+ insertIndex = mouseY - rect.top > rect.height / 2 ? relatedIndex + 1 : relatedIndex;
2246
+ }
2247
+ }
2248
+ }
2249
+ this.currentInsertIndex = Math.max(0, Math.min(rows.length, insertIndex));
2250
+ this.requestUpdate();
2251
+ return false;
2252
+ };
2253
+ this.handleEnd = (evt) => {
2254
+ var _a, _b, _c, _d;
2255
+ if (this.treeCtrl.isTreeMode()) {
2256
+ const target = this.dropTarget;
2257
+ this.treeCtrl.restoreExpandForDrag();
2258
+ if (!target || !this.draggingRowKey) {
2259
+ this.resetTreeDragState();
2260
+ return;
2261
+ }
2262
+ const dragKey = this.draggingRowKey;
2263
+ const cfg = this.treeCtrl.getTreeConfig();
2264
+ const { removed, newData } = this.treeCtrl.removeNodeFromTree(
2265
+ this.commonProps.dataSource,
2266
+ dragKey,
2267
+ cfg.childrenRecordName
2268
+ );
2269
+ if (removed) {
2270
+ const newDataSource = this.treeCtrl.insertNodeToTree(
2271
+ newData,
2272
+ removed,
2273
+ target.rowKey,
2274
+ target.position,
2275
+ cfg.childrenRecordName
2276
+ );
2277
+ (_b = (_a = this.commonProps).slRowReorder) == null ? void 0 : _b.call(_a, {
2278
+ fromKey: dragKey,
2279
+ toKey: target.rowKey,
2280
+ rows: this.commonProps.dataSource,
2281
+ newRows: newDataSource
2282
+ });
2283
+ }
2284
+ this.resetTreeDragState();
2285
+ return;
2286
+ }
2287
+ if (this.currentInsertIndex === null) return;
2288
+ this.draggingBlock = { start: -1, end: -1 };
2289
+ this.requestUpdate();
2290
+ const rows = this.commonProps.tableInstance.getRowModel().rows;
2291
+ const fromIndex = evt.oldDraggableIndex;
2292
+ const toIndex = this.currentInsertIndex;
2293
+ const fromKey = this.commonProps.adapter.getRecordKey(rows[fromIndex].original);
2294
+ const newRows = [...rows.map((r) => r.original)];
2295
+ const { start, end } = this.getSelectedBlock(rows, fromIndex);
2296
+ if (start <= toIndex && toIndex <= end) {
2297
+ this.currentInsertIndex = null;
2298
+ return;
2299
+ }
2300
+ const block = newRows.splice(start, end - start + 1);
2301
+ const targetIndex = start < toIndex ? toIndex - block.length : toIndex;
2302
+ newRows.splice(targetIndex, 0, ...block);
2303
+ const toRow = rows[Math.min(toIndex, rows.length - 1)];
2304
+ const toKey = this.commonProps.adapter.getRecordKey(toRow.original);
2305
+ (_d = (_c = this.commonProps).slRowReorder) == null ? void 0 : _d.call(_c, {
2306
+ fromKey,
2307
+ toKey,
2308
+ rows: this.commonProps.dataSource,
2309
+ newRows
2310
+ });
2311
+ this.currentInsertIndex = null;
2312
+ this.cleanupDragImage();
2313
+ };
2314
+ this.handleChoose = (evt) => {
2315
+ const rows = this.commonProps.tableInstance.getRowModel().rows;
2316
+ const fromIndex = evt.oldDraggableIndex;
2317
+ if (this.treeCtrl.isTreeMode()) {
2318
+ const dragRow = rows[fromIndex];
2319
+ if (dragRow) {
2320
+ this.draggingRowKey = this.commonProps.adapter.getRecordKey(dragRow.original);
2321
+ this.draggingKeys = /* @__PURE__ */ new Set([this.draggingRowKey]);
2322
+ this.treeCtrl.collectSubRowKeys(dragRow, this.draggingKeys);
2323
+ const keyToCollapse = this.draggingRowKey;
2324
+ evt.item.addEventListener("dragstart", () => this.treeCtrl.collapseForDrag(keyToCollapse), {
2325
+ once: true
2326
+ });
2327
+ }
2328
+ this.draggingBlock = { start: fromIndex, end: fromIndex };
2329
+ this.requestUpdate();
2330
+ if (dragRow) {
2331
+ const text = this.getFirstDataColumnText(dragRow);
2332
+ const dragImage2 = this.createDragImage(text || null);
2333
+ if (dragImage2) {
2334
+ this.dragImageEl = dragImage2;
2335
+ evt.item.addEventListener(
2336
+ "dragstart",
2337
+ (e2) => {
2338
+ var _a;
2339
+ return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
2340
+ },
2341
+ { once: true }
2342
+ );
2343
+ }
2344
+ }
2345
+ return;
2346
+ }
2347
+ const { start, end } = this.getSelectedBlock(rows, fromIndex);
2348
+ this.draggingBlock = { start, end };
2349
+ this.requestUpdate();
2350
+ if (start === end) {
2351
+ const dragRow = rows[fromIndex];
2352
+ const text = this.getFirstDataColumnText(dragRow);
2353
+ console.log(text, "text");
2354
+ const dragImage2 = this.createDragImage(text || null);
2355
+ if (dragImage2) {
2356
+ this.dragImageEl = dragImage2;
2357
+ evt.item.addEventListener(
2358
+ "dragstart",
2359
+ (e2) => {
2360
+ var _a;
2361
+ return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage2, dragImage2.offsetWidth * 0.2, dragImage2.offsetHeight * 0.75);
2362
+ },
2363
+ { once: true }
2364
+ );
2365
+ }
2366
+ return;
2367
+ }
2368
+ const dragImage = this.createDragImage(`\u62D6\u52A8 ${end - start + 1} \u884C\u6570\u636E`);
2369
+ if (dragImage) {
2370
+ this.dragImageEl = dragImage;
2371
+ evt.item.addEventListener(
2372
+ "dragstart",
2373
+ (e2) => {
2374
+ var _a;
2375
+ return (_a = e2.dataTransfer) == null ? void 0 : _a.setDragImage(dragImage, dragImage.offsetWidth * 0.2, dragImage.offsetHeight * 0.75);
2376
+ },
2377
+ { once: true }
2378
+ );
2379
+ }
2380
+ };
2381
+ this.handleUnchoose = () => {
2382
+ var _a;
2383
+ this.draggingBlock = { start: -1, end: -1 };
2384
+ this.draggingKeys.clear();
2385
+ (_a = this.cleanupDragImage) == null ? void 0 : _a.call(this);
2386
+ this.requestUpdate();
2387
+ };
2388
+ }
2389
+ get commonProps() {
2390
+ return this.getCommonProps();
2391
+ }
2392
+ get bodyRef() {
2393
+ return this.getBodyRef();
2394
+ }
2395
+ // ===================== 辅助方法 =====================
2396
+ getSelectedBlock(rows, fromIndex) {
2397
+ const selected = this.commonProps.rowSelectedMap;
2398
+ if (!selected[rows[fromIndex].id]) {
2399
+ return { start: fromIndex, end: fromIndex };
2400
+ }
2401
+ let start = fromIndex;
2402
+ let end = fromIndex;
2403
+ while (start > 0 && selected[rows[start - 1].id]) start--;
2404
+ while (end < rows.length - 1 && selected[rows[end + 1].id]) end++;
2405
+ return { start, end };
2406
+ }
2407
+ getFirstDataColumnText(row) {
2408
+ const nonDataIds = /* @__PURE__ */ new Set(["select", "expend", "drag"]);
2409
+ const cells = row.getVisibleCells();
2410
+ for (const cell of cells) {
2411
+ if (nonDataIds.has(cell.column.id)) continue;
2412
+ const value = cell.getValue();
2413
+ if (value == null || value === "") return "";
2414
+ return String(value);
2415
+ }
2416
+ return "";
2417
+ }
2418
+ getTableContainerWidth() {
2419
+ var _a, _b;
2420
+ const bodyEl = (_a = this.bodyRef) == null ? void 0 : _a.value;
2421
+ return (_b = bodyEl == null ? void 0 : bodyEl.clientWidth) != null ? _b : 600;
2422
+ }
2423
+ createDragImage(text) {
2424
+ if (text === null) return null;
2425
+ const maxWidth = this.getTableContainerWidth();
2426
+ const dragImage = document.createElement("div");
2427
+ dragImage.textContent = text;
2428
+ Object.assign(dragImage.style, {
2429
+ position: "fixed",
2430
+ padding: "10px 8px",
2431
+ color: "#212121",
2432
+ fontSize: "12px",
2433
+ background: "#FFFFFF",
2434
+ border: "1px solid rgba(217,217,217,1)",
2435
+ boxShadow: "0px 6px 16px 3px rgba(0,0,0,0.08)",
2436
+ borderRadius: "2px",
2437
+ lineHeight: "21px",
2438
+ minWidth: "80px",
2439
+ maxWidth: `${maxWidth}px`,
2440
+ width: "fit-content",
2441
+ boxSizing: "border-box",
2442
+ overflow: "hidden",
2443
+ whiteSpace: "nowrap",
2444
+ textOverflow: "ellipsis",
2445
+ textAlign: "center"
2446
+ });
2447
+ document.body.appendChild(dragImage);
2448
+ return dragImage;
2449
+ }
2450
+ // ===================== 树型拖拽目标计算 =====================
2451
+ calcDragTarget(evt) {
2452
+ const tbody = this.tbodyRef.value;
2453
+ if (!tbody) return null;
2454
+ const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
2455
+ if (!rows.length) return null;
2456
+ const mouseY = evt.originalEvent.clientY;
2457
+ const firstRect = rows[0].getBoundingClientRect();
2458
+ const lastRect = rows[rows.length - 1].getBoundingClientRect();
2459
+ let targetRowEl = null;
2460
+ let rowIndex = -1;
2461
+ if (mouseY <= firstRect.top) {
2462
+ targetRowEl = rows[0];
2463
+ rowIndex = 0;
2464
+ } else if (mouseY >= lastRect.bottom) {
2465
+ targetRowEl = rows[rows.length - 1];
2466
+ rowIndex = rows.length - 1;
2467
+ } else {
2468
+ for (let i = 0; i < rows.length; i++) {
2469
+ const rect2 = rows[i].getBoundingClientRect();
2470
+ if (mouseY >= rect2.top && mouseY < rect2.bottom) {
2471
+ targetRowEl = rows[i];
2472
+ rowIndex = i;
2473
+ break;
2474
+ }
2475
+ }
2476
+ }
2477
+ if (!targetRowEl || rowIndex < 0) return null;
2478
+ const rect = targetRowEl.getBoundingClientRect();
2479
+ const offset = mouseY - rect.top;
2480
+ const rowHeight = rect.height;
2481
+ const targetRowKey = targetRowEl.dataset.rowKey;
2482
+ let position;
2483
+ if (offset < rowHeight * 0.35) position = "before";
2484
+ else if (offset > rowHeight * 0.65) position = "after";
2485
+ else position = "inside";
2486
+ const depth = this.treeCtrl.getRowDepth(targetRowKey);
2487
+ return { rowIndex, position, rowKey: targetRowKey, depth };
2488
+ }
2489
+ resetTreeDragState() {
2490
+ this.dropTarget = null;
2491
+ this.draggingBlock = { start: -1, end: -1 };
2492
+ this.draggingRowKey = null;
2493
+ this.draggingKeys.clear();
2494
+ this.requestUpdate();
2495
+ this.cleanupDragImage();
2496
+ }
2497
+ // ===================== 指示线渲染 =====================
2498
+ getIndicatorLeft(targetRowEl, depth) {
2499
+ const tbody = this.tbodyRef.value;
2500
+ const host = tbody == null ? void 0 : tbody.closest("sl-table");
2501
+ const indentPx = host ? parseFloat(getComputedStyle(host).getPropertyValue("--sl-datatable-tree-indent")) || 12 : 12;
2502
+ if (!tbody) return depth * indentPx;
2503
+ const tbodyRect = tbody.getBoundingClientRect();
2504
+ const contentDiv = targetRowEl.querySelector(".tree-cell-content");
2505
+ if (contentDiv) {
2506
+ const hasExpandIcon = !!contentDiv.querySelector(".row-expand-icon");
2507
+ if (hasExpandIcon) {
2508
+ const paddingLeft = parseFloat(getComputedStyle(contentDiv).paddingInlineStart) || 0;
2509
+ return contentDiv.getBoundingClientRect().left - tbodyRect.left + paddingLeft;
2510
+ }
2511
+ const textSpan = contentDiv.querySelector(".tree-cell-text");
2512
+ const refEl = textSpan != null ? textSpan : contentDiv;
2513
+ return refEl.getBoundingClientRect().left - tbodyRect.left;
2514
+ }
2515
+ return depth * indentPx;
2516
+ }
2517
+ renderIndicator() {
2518
+ const tbody = this.tbodyRef.value;
2519
+ if (!tbody) return "";
2520
+ const rows = Array.from(tbody.querySelectorAll("tr[data-row-key]"));
2521
+ if (!rows.length) return "";
2522
+ const isTree = this.treeCtrl.isTreeMode();
2523
+ if (isTree && this.dropTarget) {
2524
+ const { rowIndex, position, depth } = this.dropTarget;
2525
+ const row2 = rows[rowIndex];
2526
+ if (!row2) return "";
2527
+ if (position === "inside") {
2528
+ return b`
2529
+ <div
2530
+ style="
2531
+ position:absolute;
2532
+ left:0;
2533
+ right:0;
2534
+ top:${row2.offsetTop}px;
2535
+ height:${row2.offsetHeight}px;
2536
+ border:2px solid #1677ff;
2537
+ border-radius:2px;
2538
+ pointer-events:none;
2539
+ z-index:10;
2540
+ box-sizing:border-box;
2541
+ "
2542
+ ></div>
2543
+ `;
2544
+ }
2545
+ const top2 = position === "before" ? row2.offsetTop : row2.offsetTop + row2.offsetHeight;
2546
+ const left = this.getIndicatorLeft(row2, depth);
2547
+ return b`
2548
+ <div
2549
+ style="
2550
+ position:absolute;
2551
+ left:${left}px;
2552
+ right:0;
2553
+ top:${top2}px;
2554
+ height:2px;
2555
+ background:#1677ff;
2556
+ pointer-events:none;
2557
+ z-index:10;
2558
+ "
2559
+ ></div>
2560
+ `;
2561
+ }
2562
+ if (this.currentInsertIndex === null) return "";
2563
+ const index2 = Math.min(this.currentInsertIndex, rows.length - 1);
2564
+ const row = rows[index2];
2565
+ const top = this.currentInsertIndex >= rows.length ? row.offsetTop + row.offsetHeight : row.offsetTop;
2566
+ return b`
2567
+ <div
2568
+ style="
2569
+ position:absolute;
2570
+ left:0;
2571
+ right:0;
2572
+ top:${top}px;
2573
+ height:2px;
2574
+ background:#1677ff;
2575
+ pointer-events:none;
2576
+ z-index:10;
2577
+ "
2578
+ ></div>
2579
+ `;
2580
+ }
2581
+ // ===================== Sortable 初始化 =====================
2582
+ initSortable() {
2583
+ var _a, _b;
2584
+ const { rowDrag, virtualized } = this.commonProps;
2585
+ if (!rowDrag || virtualized) {
2586
+ (_a = this.sortable) == null ? void 0 : _a.destroy();
2587
+ this.sortable = void 0;
2588
+ return;
2589
+ }
2590
+ const el = this.tbodyRef.value;
2591
+ if (!el) return;
2592
+ (_b = this.sortable) == null ? void 0 : _b.destroy();
2593
+ this.sortable = sortable_esm_default.create(el, {
2594
+ animation: 0,
2595
+ draggable: "tr[data-row-key]",
2596
+ handle: ".row-drag-handle",
2597
+ onChoose: this.handleChoose,
2598
+ onMove: this.handleMove,
2599
+ onEnd: this.handleEnd,
2600
+ onUnchoose: this.handleUnchoose
2601
+ });
2602
+ }
2603
+ /** 判断某行是否处于拖拽中 */
2604
+ isRowDragging(rowKey, rowIndex) {
2605
+ if (this.draggingKeys.size > 0) {
2606
+ return this.draggingKeys.has(rowKey);
2607
+ }
2608
+ const block = this.draggingBlock;
2609
+ return !!block && rowIndex >= block.start && rowIndex <= block.end;
2610
+ }
2611
+ destroy() {
2612
+ var _a;
2613
+ (_a = this.sortable) == null ? void 0 : _a.destroy();
2614
+ this.sortable = void 0;
2615
+ this.cleanupDragImage();
2616
+ }
2617
+ };
2618
+
2619
+ export {
2620
+ RowDragController
2621
+ };
2622
+ /*! Bundled license information:
2623
+
2624
+ sortablejs/modular/sortable.esm.js:
2625
+ (**!
2626
+ * Sortable 1.15.7
2627
+ * @author RubaXa <trash@rubaxa.org>
2628
+ * @author owenm <owen23355@gmail.com>
2629
+ * @license MIT
2630
+ *)
2631
+ */