@pantograph/vue 0.23.32 → 0.23.35

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 (352) hide show
  1. package/dist/ActionButton/ActionButton.d.ts +4 -3
  2. package/dist/ActionButton/index.js +1 -1
  3. package/dist/ActionButton/index.umd.cjs +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-YPrkYEHL.js → ActionButton.vue_vue_type_script_setup_true_lang-BGrL1xRj.js} +1 -1
  5. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-CDY-S7kB.js → ActionButton.vue_vue_type_script_setup_true_lang-jhaE9j9X.js} +3 -3
  6. package/dist/Alert/Alert.d.ts +7 -7
  7. package/dist/Alert/index.js +1 -1
  8. package/dist/Alert/index.umd.cjs +1 -1
  9. package/dist/Alert.vue_vue_type_style_index_0_lang-89bXo9jG.js +121 -0
  10. package/dist/Alert.vue_vue_type_style_index_0_lang-BdhEOwG7.js +1 -0
  11. package/dist/Avatar/Avatar.d.ts +2 -2
  12. package/dist/Avatar/index.js +1 -1
  13. package/dist/Avatar/index.umd.cjs +1 -1
  14. package/dist/Avatar.vue_vue_type_style_index_0_lang-YkXWR99l.js +1 -0
  15. package/dist/{Avatar.vue_vue_type_style_index_0_lang-Cu0myQ2q.js → Avatar.vue_vue_type_style_index_0_lang-kaq1iN2X.js} +55 -55
  16. package/dist/AvatarGroup/AvatarGroup.d.ts +2 -2
  17. package/dist/AvatarGroup/index.js +1 -1
  18. package/dist/AvatarGroup/index.umd.cjs +1 -1
  19. package/dist/Badge/index.js +1 -1
  20. package/dist/Badge/index.umd.cjs +1 -1
  21. package/dist/{Badge.vue_vue_type_script_setup_true_lang-Cn39UXpc.js → Badge.vue_vue_type_script_setup_true_lang-BAQIKtam.js} +1 -1
  22. package/dist/{Badge.vue_vue_type_script_setup_true_lang-xUkbs4Ce.js → Badge.vue_vue_type_script_setup_true_lang-C6x4r-P7.js} +3 -3
  23. package/dist/Base/BaseBadge/BaseBadge.d.ts +2 -2
  24. package/dist/Base/BaseButton/BaseButton.d.ts +3 -2
  25. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BFkYFuq2.js → BaseBadge.vue_vue_type_style_index_0_lang-CAdrPXmH.js} +4 -4
  26. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-uB5-HVX9.js → BaseBadge.vue_vue_type_style_index_0_lang-Clv4Io8O.js} +1 -1
  27. package/dist/BaseButton.vue_vue_type_style_index_0_lang-Cc9byFK5.js +1 -0
  28. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-BPityrBM.js → BaseButton.vue_vue_type_style_index_0_lang-favf_C7t.js} +35 -32
  29. package/dist/Button/Button.d.ts +7 -6
  30. package/dist/Button/index.js +1 -1
  31. package/dist/Button/index.umd.cjs +1 -1
  32. package/dist/{Button.vue_vue_type_script_setup_true_lang-DzN5OhXV.js → Button.vue_vue_type_script_setup_true_lang-DTZUw0pf.js} +19 -18
  33. package/dist/Button.vue_vue_type_script_setup_true_lang-dyN0fBVx.js +1 -0
  34. package/dist/ButtonGroup/ButtonGroup.d.ts +2 -2
  35. package/dist/ButtonGroup/index.js +1 -1
  36. package/dist/ButtonGroup/index.umd.cjs +1 -1
  37. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-BflgAkUi.js +58 -0
  38. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-DL19WEBS.js → ButtonGroup.vue_vue_type_script_setup_true_lang-DwaBBOgk.js} +1 -1
  39. package/dist/Checkbox/Checkbox.d.ts +6 -6
  40. package/dist/Checkbox/index.js +1 -1
  41. package/dist/Checkbox/index.umd.cjs +1 -1
  42. package/dist/Checkbox.vue_vue_type_style_index_0_lang-D_UcZD7p.js +1 -0
  43. package/dist/Checkbox.vue_vue_type_style_index_0_lang-Dzren1pf.js +223 -0
  44. package/dist/CheckboxGroup/index.js +1 -1
  45. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  46. package/dist/Chip/Chip.d.ts +6 -6
  47. package/dist/Chip/index.js +2 -2
  48. package/dist/Chip/index.umd.cjs +1 -1
  49. package/dist/Chip.vue_vue_type_style_index_0_lang-BLjUJgbj.js +1 -0
  50. package/dist/Chip.vue_vue_type_style_index_0_lang-BPdU3Pgk.js +123 -0
  51. package/dist/ChipGroup/ChipGroup.d.ts +2 -2
  52. package/dist/ChipGroup/index.js +1 -1
  53. package/dist/ChipGroup/index.umd.cjs +1 -1
  54. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-BHE3G-1b.js → ChipGroup.vue_vue_type_style_index_0_lang-D4A14AxB.js} +19 -19
  55. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-vXOtvFCA.js +1 -0
  56. package/dist/ColorPicker/ColorPicker.d.ts +2 -2
  57. package/dist/ColorPicker/index.js +1 -1
  58. package/dist/ColorPicker/index.umd.cjs +1 -1
  59. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-hkEm8s8Y.js → ColorPicker.vue_vue_type_style_index_0_lang-CAzVW3da.js} +748 -755
  60. package/dist/ColorPicker.vue_vue_type_style_index_0_lang-CYPF-q6f.js +4 -0
  61. package/dist/ColorSwatch/index.js +1 -1
  62. package/dist/ColorSwatch/index.umd.cjs +1 -1
  63. package/dist/{ColorSwatch-BvLJgm8t.js → ColorSwatch-BRe9OLTq.js} +1 -1
  64. package/dist/{ColorSwatch-BFwCCGkk.js → ColorSwatch-LVdDBugO.js} +1 -1
  65. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-BnpzS5m2.js +1 -0
  66. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-sxIVsDtk.js → ColorSwatch.vue_vue_type_style_index_0_lang-htOyCGxU.js} +31 -31
  67. package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +2 -2
  68. package/dist/ColorSwatchGroup/index.js +1 -1
  69. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  70. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-BH3ul93i.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-Cv2D2XJ5.js} +58 -59
  71. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DFUXE61f.js +1 -0
  72. package/dist/ColorTrigger/index.js +1 -1
  73. package/dist/ColorTrigger/index.umd.cjs +1 -1
  74. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DYsDt2q7.js → ColorTrigger.vue_vue_type_style_index_0_lang-CNeFfFIE.js} +33 -31
  75. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-nVzcYP7q.js +1 -0
  76. package/dist/Combobox/index.d.ts +1 -1
  77. package/dist/Combobox/index.js +1 -1
  78. package/dist/Combobox/index.umd.cjs +1 -1
  79. package/dist/Combobox/types.d.ts +21 -19
  80. package/dist/{Combobox.vue_vue_type_style_index_0_lang-acRV8Hk_.js → Combobox.vue_vue_type_style_index_0_lang-Cj3maBpd.js} +231 -229
  81. package/dist/Combobox.vue_vue_type_style_index_0_lang-Dtf_JcyR.js +1 -0
  82. package/dist/Comment/Comment.d.ts +19 -14
  83. package/dist/Comment/CommentAction.d.ts +1 -1
  84. package/dist/Comment/CommentEditor.d.ts +29 -27
  85. package/dist/Comment/CommentTrigger.d.ts +2 -2
  86. package/dist/Comment/index.js +1772 -341
  87. package/dist/Comment/index.umd.cjs +1 -1
  88. package/dist/ConfigProvider/index.d.ts +2 -2
  89. package/dist/ConfigProvider/index.js +2 -2
  90. package/dist/ConfigProvider/index.umd.cjs +1 -1
  91. package/dist/DataTable/DataTable.d.ts +2 -2
  92. package/dist/DataTable/DataTable.model.d.ts +2 -2
  93. package/dist/DataTable/index.js +1 -1
  94. package/dist/DataTable/index.umd.cjs +1 -1
  95. package/dist/DataTable/types.d.ts +7 -7
  96. package/dist/{DataTable.vue_vue_type_style_index_0_lang-DeFWy19J.js → DataTable.vue_vue_type_style_index_0_lang-CW2i09wf.js} +170 -170
  97. package/dist/DataTable.vue_vue_type_style_index_0_lang-rouccC9l.js +1 -0
  98. package/dist/Divider/Divider.d.ts +2 -2
  99. package/dist/Divider/index.js +1 -1
  100. package/dist/Divider/index.umd.cjs +1 -1
  101. package/dist/Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js +1 -0
  102. package/dist/Divider.vue_vue_type_style_index_0_lang-CfBklijs.js +36 -0
  103. package/dist/DropZone/DropZone.d.ts +5 -5
  104. package/dist/DropZone/index.js +1 -1
  105. package/dist/DropZone/index.umd.cjs +1 -1
  106. package/dist/DropZone.vue_vue_type_style_index_0_lang-4zdO8B11.js +1 -0
  107. package/dist/DropZone.vue_vue_type_style_index_0_lang-CF9qXlg0.js +126 -0
  108. package/dist/Empty/Empty.d.ts +8 -8
  109. package/dist/Empty/index.js +1 -1
  110. package/dist/Empty/index.umd.cjs +1 -1
  111. package/dist/{Empty.vue_vue_type_style_index_0_lang-7tbvqB1R.js → Empty.vue_vue_type_style_index_0_lang-BAbEBeZo.js} +66 -64
  112. package/dist/Empty.vue_vue_type_style_index_0_lang-CLG9v3ny.js +1 -0
  113. package/dist/FloatButton/FloatButton.d.ts +5 -4
  114. package/dist/FloatButton/index.js +1 -1
  115. package/dist/FloatButton/index.umd.cjs +1 -1
  116. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-BVJZNZm4.js +1 -0
  117. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-CyPn7BP9.js → FloatButton.vue_vue_type_script_setup_true_lang-PYw1Yz9o.js} +16 -15
  118. package/dist/Form/Form.d.ts +4 -4
  119. package/dist/Form/FormItem.d.ts +6 -6
  120. package/dist/Form/index.js +1 -1
  121. package/dist/Form/index.umd.cjs +1 -1
  122. package/dist/FormValidation/FormValidation.d.ts +2 -2
  123. package/dist/GOPicker/GOPicker.d.ts +6 -6
  124. package/dist/GOPicker/GOPicker.model.d.ts +8 -8
  125. package/dist/GOPicker/index.js +1 -1
  126. package/dist/GOPicker/index.umd.cjs +1 -1
  127. package/dist/GOPicker.vue_vue_type_style_index_0_lang-Bb05nUVP.js +1 -0
  128. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BVoqsUSP.js → GOPicker.vue_vue_type_style_index_0_lang-DVZ2wSgV.js} +134 -138
  129. package/dist/GraphicalObject/index.js +1 -1
  130. package/dist/GraphicalObject/index.umd.cjs +1 -1
  131. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-wa2gzF3h.js → GraphicalObject.vue_vue_type_script_setup_true_lang-C949W-Ro.js} +4 -4
  132. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-C8xqfzNN.js → GraphicalObject.vue_vue_type_script_setup_true_lang-EviuZ52W.js} +1 -1
  133. package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +2 -2
  134. package/dist/GraphicalObjectGroup/index.js +1 -1
  135. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  136. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DNZCFMGG.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CYUJM_Vv.js} +15 -15
  137. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DAXoXPPu.js +1 -0
  138. package/dist/Icon/Icon.d.ts +2 -2
  139. package/dist/Icon/index.js +1 -1
  140. package/dist/Icon/index.umd.cjs +1 -1
  141. package/dist/{Icon.vue_vue_type_style_index_0_lang-B5G5kKKT.js → Icon.vue_vue_type_style_index_0_lang-BUvEzzua.js} +1284 -1286
  142. package/dist/Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js +9 -0
  143. package/dist/IconButton/IconButton.d.ts +7 -6
  144. package/dist/IconButton/index.js +1 -1
  145. package/dist/IconButton/index.umd.cjs +1 -1
  146. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-C2rb5OIv.js → IconButton.vue_vue_type_script_setup_true_lang-BBnCpnF1.js} +7 -6
  147. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DynLmo_n.js +1 -0
  148. package/dist/Image/Image.d.ts +4 -4
  149. package/dist/Image/index.js +1 -1
  150. package/dist/Image/index.umd.cjs +1 -1
  151. package/dist/Image.vue_vue_type_style_index_0_lang-B43Rg3w7.js +1 -0
  152. package/dist/Image.vue_vue_type_style_index_0_lang-UVOAmZXt.js +125 -0
  153. package/dist/IndentLevel/IndentLevel.d.ts +2 -2
  154. package/dist/IndentLevel/index.js +1 -1
  155. package/dist/IndentLevel/index.umd.cjs +1 -1
  156. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-59akXJBr.js +96 -0
  157. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-CELNQ3jz.js +1 -0
  158. package/dist/Indicator/index.js +1 -1
  159. package/dist/Indicator/index.umd.cjs +1 -1
  160. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CLTWioGg.js → Indicator.vue_vue_type_script_setup_true_lang-AJV4EFOO.js} +3 -3
  161. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CElSyzf2.js → Indicator.vue_vue_type_script_setup_true_lang-BQqMdFAx.js} +1 -1
  162. package/dist/Input/index.js +1 -1
  163. package/dist/Input/index.umd.cjs +1 -1
  164. package/dist/{Input.vue_vue_type_style_index_0_lang-xmespk2m.js → Input.vue_vue_type_style_index_0_lang-D4aCRGW6.js} +4 -4
  165. package/dist/{Input.vue_vue_type_style_index_0_lang-lTJ9hmcg.js → Input.vue_vue_type_style_index_0_lang-DEQgofJ1.js} +1 -1
  166. package/dist/Kbd/Kbd.d.ts +3 -3
  167. package/dist/Kbd/index.js +1 -1
  168. package/dist/Kbd/index.umd.cjs +1 -1
  169. package/dist/Kbd.vue_vue_type_style_index_0_lang-CUGyyeHh.js +1 -0
  170. package/dist/Kbd.vue_vue_type_style_index_0_lang-DpjuML9o.js +47 -0
  171. package/dist/Label/Label.d.ts +9 -9
  172. package/dist/Label/index.js +1 -1
  173. package/dist/Label/index.umd.cjs +1 -1
  174. package/dist/Link/Link.d.ts +3 -3
  175. package/dist/Link/index.js +1 -1
  176. package/dist/Link/index.umd.cjs +1 -1
  177. package/dist/Link.vue_vue_type_style_index_0_lang-BfC3SwbG.js +1 -0
  178. package/dist/Link.vue_vue_type_style_index_0_lang-CsBkek74.js +77 -0
  179. package/dist/Menu/Menu.d.ts +3 -3
  180. package/dist/Menu/index.js +1 -1
  181. package/dist/Menu/index.umd.cjs +1 -1
  182. package/dist/MenuItem/MenuItemContent.d.ts +9 -9
  183. package/dist/MenuItem/index.js +1 -1
  184. package/dist/MenuItem/index.umd.cjs +1 -1
  185. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-CbDniwiC.js → MenuItem.vue_vue_type_style_index_0_lang-DNlGDoyp.js} +85 -85
  186. package/dist/MenuItem.vue_vue_type_style_index_0_lang-fYybuhKO.js +1 -0
  187. package/dist/Pagination/index.d.ts +1 -1
  188. package/dist/Pagination/index.js +1 -5
  189. package/dist/Pagination/index.umd.cjs +1 -1
  190. package/dist/Popover/Popover.d.ts +4 -3
  191. package/dist/Popover/index.js +1 -1
  192. package/dist/Popover/index.umd.cjs +1 -1
  193. package/dist/{Popover.vue_vue_type_style_index_0_lang-Dk4VAxwA.js → Popover.vue_vue_type_style_index_0_lang-Bdu86hho.js} +15 -14
  194. package/dist/Popover.vue_vue_type_style_index_0_lang-qJ0psPTx.js +1 -0
  195. package/dist/RadioGroup/RadioGroup.d.ts +2 -2
  196. package/dist/RadioGroup/RadioGroupItem.d.ts +4 -4
  197. package/dist/RadioGroup/index.js +1 -1
  198. package/dist/RadioGroup/index.umd.cjs +1 -1
  199. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-BVfQx8wD.js +101 -0
  200. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CQ_nySHu.js +1 -0
  201. package/dist/ScrollContainer/Mask.d.ts +2 -2
  202. package/dist/ScrollContainer/ScrollContainer.d.ts +29 -130
  203. package/dist/ScrollContainer/index.js +1 -1
  204. package/dist/ScrollContainer/index.umd.cjs +1 -1
  205. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BLFtmUwR.js +1 -0
  206. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DGUSuq_n.js +224 -0
  207. package/dist/Segmented/index.d.ts +1 -2
  208. package/dist/Segmented/index.js +1 -6
  209. package/dist/Segmented/index.umd.cjs +1 -1
  210. package/dist/Select/index.d.ts +1 -1
  211. package/dist/Select/index.js +1 -1
  212. package/dist/Select/index.umd.cjs +1 -1
  213. package/dist/Select/types.d.ts +19 -18
  214. package/dist/{Select.vue_vue_type_style_index_0_lang-B34UEEAj.js → Select.vue_vue_type_style_index_0_lang-D-dLDaBy.js} +264 -263
  215. package/dist/Select.vue_vue_type_style_index_0_lang-Dk38gPKw.js +1 -0
  216. package/dist/Shortcut/Shortcut.d.ts +2 -2
  217. package/dist/Shortcut/index.js +1 -1
  218. package/dist/Shortcut/index.umd.cjs +1 -1
  219. package/dist/Shortcut.vue_vue_type_style_index_0_lang-BXy0S1__.js +32 -0
  220. package/dist/Shortcut.vue_vue_type_style_index_0_lang-maaUKoPJ.js +1 -0
  221. package/dist/Skeleton/Skeleton.d.ts +3 -3
  222. package/dist/Skeleton/index.js +1 -1
  223. package/dist/Skeleton/index.umd.cjs +1 -1
  224. package/dist/Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js +58 -0
  225. package/dist/Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js +1 -0
  226. package/dist/Spinner/Spinner.d.ts +2 -2
  227. package/dist/Spinner/index.js +1 -1
  228. package/dist/Spinner/index.umd.cjs +1 -1
  229. package/dist/{Spinner.vue_vue_type_style_index_0_lang-CAgX6rYO.js → Spinner.vue_vue_type_style_index_0_lang-BacaASPe.js} +23 -21
  230. package/dist/Spinner.vue_vue_type_style_index_0_lang-D9QAUh3y.js +1 -0
  231. package/dist/SubMenu/index.js +1 -1
  232. package/dist/SubMenu/index.umd.cjs +1 -1
  233. package/dist/Switch/Switch.d.ts +4 -4
  234. package/dist/Switch/index.js +1 -1
  235. package/dist/Switch/index.umd.cjs +1 -1
  236. package/dist/Switch.vue_vue_type_style_index_0_lang--RYeL-jW.js +137 -0
  237. package/dist/Switch.vue_vue_type_style_index_0_lang-gKEdPPxG.js +1 -0
  238. package/dist/THead.vue_vue_type_style_index_0_lang-D0RuVLmr.js +1 -0
  239. package/dist/THead.vue_vue_type_style_index_0_lang-DfOi9-Nh.js +199 -0
  240. package/dist/Table/TBody.d.ts +2 -2
  241. package/dist/Table/THead.d.ts +2 -2
  242. package/dist/Table/Table.d.ts +2 -2
  243. package/dist/Table/Td.d.ts +2 -2
  244. package/dist/Table/Th.d.ts +2 -2
  245. package/dist/Table/Tr.d.ts +2 -2
  246. package/dist/Table/index.js +1 -1
  247. package/dist/Table/index.umd.cjs +1 -1
  248. package/dist/Tabs/Tabs.model.d.ts +2 -0
  249. package/dist/Tabs/index.d.ts +1 -0
  250. package/dist/Tabs/index.js +1 -0
  251. package/dist/Tabs/index.umd.cjs +1 -0
  252. package/dist/Textarea/Textarea.d.ts +46 -23
  253. package/dist/Textarea/index.js +1 -1
  254. package/dist/Textarea/index.umd.cjs +1 -1
  255. package/dist/Textarea.vue_vue_type_style_index_0_lang-0wTOqfhB.js +1 -0
  256. package/dist/Textarea.vue_vue_type_style_index_0_lang-CPto-5VY.js +164 -0
  257. package/dist/Tree/Tree.model.d.ts +3 -3
  258. package/dist/Tree/TreeNode.d.ts +2 -2
  259. package/dist/Tree/index.js +1 -1
  260. package/dist/Tree/index.umd.cjs +1 -1
  261. package/dist/{Tree.vue_vue_type_style_index_0_lang-BALb4dHG.js → Tree.vue_vue_type_style_index_0_lang-D-mTy1Es.js} +336 -334
  262. package/dist/{Tree.vue_vue_type_style_index_0_lang-D-ZM2mYK.js → Tree.vue_vue_type_style_index_0_lang-ZoSOcaY2.js} +2 -2
  263. package/dist/Upload/UploadTrigger.d.ts +12 -0
  264. package/dist/Upload/index.d.ts +1 -4
  265. package/dist/Upload/index.js +1 -14
  266. package/dist/Upload/index.umd.cjs +1 -1
  267. package/dist/Upload/types.d.ts +12 -2
  268. package/dist/{index-C7THkhcc.js → index-BTuMaS--.js} +1 -1
  269. package/dist/{index-DWw7aruo.js → index-BmcHqJPl.js} +1 -1
  270. package/dist/index-DEgppVnR.js +1 -0
  271. package/dist/{index-BbGUveIH.js → index-T3jqfug4.js} +450 -502
  272. package/dist/index.d.ts +1 -0
  273. package/dist/index.js +130 -147
  274. package/dist/index.umd.cjs +1 -1
  275. package/dist/options-Bh1s18jm.js +11 -0
  276. package/dist/options-CY2uxp5A.js +1 -0
  277. package/dist/{sortBy-Cw_YX22p.js → sortBy-BoHPhPoZ.js} +2 -2
  278. package/dist/{sortBy-UQMixpNq.js → sortBy-NRZqvtuE.js} +1 -1
  279. package/dist/style/index.css +1 -1
  280. package/dist/types/index.d.ts +0 -1
  281. package/dist/{uniq-CDvn5hSU.js → uniq-DA_VCwGV.js} +1 -1
  282. package/dist/{uniq-Cc6HQWip.js → uniq-iuU6YkEW.js} +1 -1
  283. package/dist/{useInputDataStates-BqxUx2nG.js → useInputDataStates-CJoP9BXy.js} +1 -1
  284. package/dist/{useInputDataStates-B9FItrY8.js → useInputDataStates-CXaVG_o2.js} +1 -1
  285. package/dist/utils/index.js +3 -3
  286. package/dist/utils/index.umd.cjs +1 -1
  287. package/dist/utils/options.d.ts +1 -1
  288. package/package.json +16 -13
  289. package/dist/Alert.vue_vue_type_style_index_0_lang-BKNHgs7z.js +0 -1
  290. package/dist/Alert.vue_vue_type_style_index_0_lang-utLLIbpv.js +0 -120
  291. package/dist/Avatar.vue_vue_type_style_index_0_lang-G90FXPBR.js +0 -1
  292. package/dist/BaseButton.vue_vue_type_style_index_0_lang-Bzr3TLbe.js +0 -1
  293. package/dist/Button.vue_vue_type_script_setup_true_lang-_7yxLkPD.js +0 -1
  294. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-CF56RzMa.js +0 -56
  295. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BSsP-Szx.js +0 -1
  296. package/dist/Checkbox.vue_vue_type_style_index_0_lang-CIEUNDOh.js +0 -223
  297. package/dist/Chip.vue_vue_type_style_index_0_lang-BevhC8XN.js +0 -121
  298. package/dist/Chip.vue_vue_type_style_index_0_lang-CSXDmtPl.js +0 -1
  299. package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DYYDoMlH.js +0 -1
  300. package/dist/ColorPicker.vue_vue_type_style_index_0_lang-BFK_myw9.js +0 -4
  301. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-DN81zMHX.js +0 -1
  302. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DcEvU-D9.js +0 -1
  303. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-DGgpwSzC.js +0 -1
  304. package/dist/Combobox.vue_vue_type_style_index_0_lang-BMiNF3DO.js +0 -1
  305. package/dist/DataTable.vue_vue_type_style_index_0_lang-DHyx61rt.js +0 -1
  306. package/dist/Divider.vue_vue_type_style_index_0_lang-B6fQsp1Y.js +0 -34
  307. package/dist/Divider.vue_vue_type_style_index_0_lang-DoEWjJx6.js +0 -1
  308. package/dist/DropZone.vue_vue_type_style_index_0_lang-Ddc_87XC.js +0 -1
  309. package/dist/DropZone.vue_vue_type_style_index_0_lang-xtdiUX0n.js +0 -124
  310. package/dist/Empty.vue_vue_type_style_index_0_lang-DtRaCeHm.js +0 -1
  311. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-BAsjSEup.js +0 -1
  312. package/dist/GOPicker.vue_vue_type_style_index_0_lang-DSRAMWIl.js +0 -1
  313. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-Ds6xYzA-.js +0 -1
  314. package/dist/Icon.vue_vue_type_style_index_0_lang-UTawvSSk.js +0 -9
  315. package/dist/IconButton.vue_vue_type_script_setup_true_lang-CJJt93Jx.js +0 -1
  316. package/dist/Image.vue_vue_type_style_index_0_lang-CTyk96Kv.js +0 -1
  317. package/dist/Image.vue_vue_type_style_index_0_lang-Ccy469Gw.js +0 -121
  318. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-B7inh8GW.js +0 -1
  319. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-DwNLmANl.js +0 -94
  320. package/dist/Kbd.vue_vue_type_style_index_0_lang-9AEhO33W.js +0 -1
  321. package/dist/Kbd.vue_vue_type_style_index_0_lang-DnQHHSjf.js +0 -47
  322. package/dist/Link.vue_vue_type_style_index_0_lang-037gFMMU.js +0 -77
  323. package/dist/Link.vue_vue_type_style_index_0_lang-CrSclTt_.js +0 -1
  324. package/dist/MenuItem.vue_vue_type_style_index_0_lang-CZ_1Uprs.js +0 -1
  325. package/dist/Pagination/Pagination.d.ts +0 -59
  326. package/dist/Pagination.vue_vue_type_style_index_0_lang-BtclbfAa.js +0 -221
  327. package/dist/Pagination.vue_vue_type_style_index_0_lang-DTCTZSTa.js +0 -1
  328. package/dist/Popover.vue_vue_type_style_index_0_lang-DA6_4Z_q.js +0 -1
  329. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Bbs0ouQg.js +0 -101
  330. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CuQsvlwM.js +0 -1
  331. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BAxwM8rQ.js +0 -189
  332. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BIoD2_5T.js +0 -1
  333. package/dist/Segmented/Segmented.d.ts +0 -57
  334. package/dist/Segmented.vue_vue_type_style_index_0_lang-BrNeOty8.js +0 -1
  335. package/dist/Segmented.vue_vue_type_style_index_0_lang-NSpJMsMu.js +0 -161
  336. package/dist/Select.vue_vue_type_style_index_0_lang-CiDQsRzV.js +0 -1
  337. package/dist/Shortcut.vue_vue_type_style_index_0_lang-Ar0DIocH.js +0 -1
  338. package/dist/Shortcut.vue_vue_type_style_index_0_lang-DaEXMuLd.js +0 -32
  339. package/dist/Skeleton.vue_vue_type_style_index_0_lang-CWNX_-Jl.js +0 -1
  340. package/dist/Skeleton.vue_vue_type_style_index_0_lang-Xi8CteLp.js +0 -58
  341. package/dist/Spinner.vue_vue_type_style_index_0_lang-CZP1YaOb.js +0 -1
  342. package/dist/Switch.vue_vue_type_style_index_0_lang-CnyL4HP7.js +0 -1
  343. package/dist/Switch.vue_vue_type_style_index_0_lang-D7SXKifF.js +0 -137
  344. package/dist/THead.vue_vue_type_style_index_0_lang-4qfibbiA.js +0 -191
  345. package/dist/THead.vue_vue_type_style_index_0_lang-BhGY_St8.js +0 -1
  346. package/dist/Textarea.vue_vue_type_style_index_0_lang-C4kStxln.js +0 -164
  347. package/dist/Textarea.vue_vue_type_style_index_0_lang-Dp2UcWz4.js +0 -1
  348. package/dist/Upload.vue_vue_type_style_index_0_lang-C8T8U6MX.js +0 -1403
  349. package/dist/Upload.vue_vue_type_style_index_0_lang-D3wWY8lo.js +0 -1
  350. package/dist/index-zMkg_RCw.js +0 -1
  351. package/dist/options-CWrQ7gsa.js +0 -1
  352. package/dist/options-D4et5euX.js +0 -10
@@ -1,6 +1,6 @@
1
- "use strict";const i=require("vue"),P=require("@pantograph/utils"),Xt=require("class-variance-authority"),te=require("./Icon.vue_vue_type_style_index_0_lang-UTawvSSk.js"),ft=require("./uniq-CDvn5hSU.js"),Yt=require("./options-CWrQ7gsa.js"),un=require("reka-ui"),cn=require("./IndentLevel.vue_vue_type_style_index_0_lang-B7inh8GW.js"),dn=require("./Checkbox.vue_vue_type_style_index_0_lang-BSsP-Szx.js"),Gt=require("./useInputDataStates-B9FItrY8.js"),fn=require("@vueuse/core"),Pt=require("./index-DWw7aruo.js");/**!
1
+ "use strict";const i=require("vue"),O=require("@pantograph/utils"),Xt=require("class-variance-authority"),te=require("./Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js"),ft=require("./uniq-DA_VCwGV.js"),Yt=require("./options-CY2uxp5A.js"),un=require("reka-ui"),cn=require("./IndentLevel.vue_vue_type_style_index_0_lang-CELNQ3jz.js"),dn=require("./Checkbox.vue_vue_type_style_index_0_lang-D_UcZD7p.js"),Gt=require("./useInputDataStates-CXaVG_o2.js"),fn=require("@vueuse/core"),Pt=require("./index-BmcHqJPl.js");/**!
2
2
  * Sortable 1.15.6
3
3
  * @author RubaXa <trash@rubaxa.org>
4
4
  * @author owenm <owen23355@gmail.com>
5
5
  * @license MIT
6
- */function At(o,e){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),n.push.apply(n,t)}return n}function ye(o){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?At(Object(n),!0).forEach(function(t){pn(o,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(n,t))})}return o}function et(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(e){return typeof e}:et=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(o)}function pn(o,e,n){return e in o?Object.defineProperty(o,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[e]=n,o}function Se(){return Se=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(o[t]=n[t])}return o},Se.apply(this,arguments)}function hn(o,e){if(o==null)return{};var n={},t=Object.keys(o),r,a;for(a=0;a<t.length;a++)r=t[a],!(e.indexOf(r)>=0)&&(n[r]=o[r]);return n}function gn(o,e){if(o==null)return{};var n=hn(o,e),t,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);for(r=0;r<a.length;r++)t=a[r],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(o,t)&&(n[t]=o[t])}return n}var mn="1.15.6";function _e(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var Ce=_e(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),$e=_e(/Edge/i),Bt=_e(/firefox/i),Ve=_e(/safari/i)&&!_e(/chrome/i)&&!_e(/android/i),Tt=_e(/iP(ad|od|hone)/i),Ht=_e(/chrome/i)&&_e(/android/i),$t={capture:!1,passive:!1};function I(o,e,n){o.addEventListener(e,n,!Ce&&$t)}function T(o,e,n){o.removeEventListener(e,n,!Ce&&$t)}function it(o,e){if(e){if(e[0]===">"&&(e=e.substring(1)),o)try{if(o.matches)return o.matches(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e)}catch{return!1}return!1}}function jt(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function he(o,e,n,t){if(o){n=n||document;do{if(e!=null&&(e[0]===">"?o.parentNode===n&&it(o,e):it(o,e))||t&&o===n)return o;if(o===n)break}while(o=jt(o))}return null}var Ft=/\s+/g;function ae(o,e,n){if(o&&e)if(o.classList)o.classList[n?"add":"remove"](e);else{var t=(" "+o.className+" ").replace(Ft," ").replace(" "+e+" "," ");o.className=(t+(n?" "+e:"")).replace(Ft," ")}}function b(o,e,n){var t=o&&o.style;if(t){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(n=o.currentStyle),e===void 0?n:n[e];!(e in t)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),t[e]=n+(typeof n=="string"?"":"px")}}function Me(o,e){var n="";if(typeof o=="string")n=o;else do{var t=b(o,"transform");t&&t!=="none"&&(n=t+" "+n)}while(!e&&(o=o.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function qt(o,e,n){if(o){var t=o.getElementsByTagName(e),r=0,a=t.length;if(n)for(;r<a;r++)n(t[r],r);return t}return[]}function be(){var o=document.scrollingElement;return o||document.documentElement}function L(o,e,n,t,r){if(!(!o.getBoundingClientRect&&o!==window)){var a,l,s,u,c,p,f;if(o!==window&&o.parentNode&&o!==be()?(a=o.getBoundingClientRect(),l=a.top,s=a.left,u=a.bottom,c=a.right,p=a.height,f=a.width):(l=0,s=0,u=window.innerHeight,c=window.innerWidth,p=window.innerHeight,f=window.innerWidth),(e||n)&&o!==window&&(r=r||o.parentNode,!Ce))do if(r&&r.getBoundingClientRect&&(b(r,"transform")!=="none"||n&&b(r,"position")!=="static")){var E=r.getBoundingClientRect();l-=E.top+parseInt(b(r,"border-top-width")),s-=E.left+parseInt(b(r,"border-left-width")),u=l+a.height,c=s+a.width;break}while(r=r.parentNode);if(t&&o!==window){var m=Me(r||o),S=m&&m.a,C=m&&m.d;m&&(l/=C,s/=S,f/=S,p/=C,u=l+p,c=s+f)}return{top:l,left:s,bottom:u,right:c,width:f,height:p}}}function Mt(o,e,n){for(var t=Te(o,!0),r=L(o)[e];t;){var a=L(t)[n],l=void 0;if(l=r>=a,!l)return t;if(t===be())break;t=Te(t,!1)}return!1}function ze(o,e,n,t){for(var r=0,a=0,l=o.children;a<l.length;){if(l[a].style.display!=="none"&&l[a]!==g.ghost&&(t||l[a]!==g.dragged)&&he(l[a],n.draggable,o,!1)){if(r===e)return l[a];r++}a++}return null}function kt(o,e){for(var n=o.lastElementChild;n&&(n===g.ghost||b(n,"display")==="none"||e&&!it(n,e));)n=n.previousElementSibling;return n||null}function ue(o,e){var n=0;if(!o||!o.parentNode)return-1;for(;o=o.previousElementSibling;)o.nodeName.toUpperCase()!=="TEMPLATE"&&o!==g.clone&&(!e||it(o,e))&&n++;return n}function zt(o){var e=0,n=0,t=be();if(o)do{var r=Me(o),a=r.a,l=r.d;e+=o.scrollLeft*a,n+=o.scrollTop*l}while(o!==t&&(o=o.parentNode));return[e,n]}function vn(o,e){for(var n in o)if(o.hasOwnProperty(n)){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===o[n][t])return Number(n)}return-1}function Te(o,e){if(!o||!o.getBoundingClientRect)return be();var n=o,t=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=b(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return be();if(t||e)return n;t=!0}}while(n=n.parentNode);return be()}function bn(o,e){if(o&&e)for(var n in e)e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function pt(o,e){return Math.round(o.top)===Math.round(e.top)&&Math.round(o.left)===Math.round(e.left)&&Math.round(o.height)===Math.round(e.height)&&Math.round(o.width)===Math.round(e.width)}var Xe;function Wt(o,e){return function(){if(!Xe){var n=arguments,t=this;n.length===1?o.call(t,n[0]):o.apply(t,n),Xe=setTimeout(function(){Xe=void 0},e)}}}function yn(){clearTimeout(Xe),Xe=void 0}function Ut(o,e,n){o.scrollLeft+=e,o.scrollTop+=n}function Zt(o){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(o).cloneNode(!0):n?n(o).clone(!0)[0]:o.cloneNode(!0)}function Qt(o,e,n){var t={};return Array.from(o.children).forEach(function(r){var a,l,s,u;if(!(!he(r,e.draggable,o,!1)||r.animated||r===n)){var c=L(r);t.left=Math.min((a=t.left)!==null&&a!==void 0?a:1/0,c.left),t.top=Math.min((l=t.top)!==null&&l!==void 0?l:1/0,c.top),t.right=Math.max((s=t.right)!==null&&s!==void 0?s:-1/0,c.right),t.bottom=Math.max((u=t.bottom)!==null&&u!==void 0?u:-1/0,c.bottom)}}),t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}var ne="Sortable"+new Date().getTime();function En(){var o=[],e;return{captureAnimationState:function(){if(o=[],!!this.options.animation){var t=[].slice.call(this.el.children);t.forEach(function(r){if(!(b(r,"display")==="none"||r===g.ghost)){o.push({target:r,rect:L(r)});var a=ye({},o[o.length-1].rect);if(r.thisAnimationDuration){var l=Me(r,!0);l&&(a.top-=l.f,a.left-=l.e)}r.fromRect=a}})}},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(vn(o,{target:t}),1)},animateAll:function(t){var r=this;if(!this.options.animation){clearTimeout(e),typeof t=="function"&&t();return}var a=!1,l=0;o.forEach(function(s){var u=0,c=s.target,p=c.fromRect,f=L(c),E=c.prevFromRect,m=c.prevToRect,S=s.rect,C=Me(c,!0);C&&(f.top-=C.f,f.left-=C.e),c.toRect=f,c.thisAnimationDuration&&pt(E,f)&&!pt(p,f)&&(S.top-f.top)/(S.left-f.left)===(p.top-f.top)/(p.left-f.left)&&(u=_n(S,E,m,r.options)),pt(f,p)||(c.prevFromRect=p,c.prevToRect=f,u||(u=r.options.animation),r.animate(c,S,f,u)),u&&(a=!0,l=Math.max(l,u),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},u),c.thisAnimationDuration=u)}),clearTimeout(e),a?e=setTimeout(function(){typeof t=="function"&&t()},l):typeof t=="function"&&t(),o=[]},animate:function(t,r,a,l){if(l){b(t,"transition",""),b(t,"transform","");var s=Me(this.el),u=s&&s.a,c=s&&s.d,p=(r.left-a.left)/(u||1),f=(r.top-a.top)/(c||1);t.animatingX=!!p,t.animatingY=!!f,b(t,"transform","translate3d("+p+"px,"+f+"px,0)"),this.forRepaintDummy=wn(t),b(t,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),b(t,"transform","translate3d(0,0,0)"),typeof t.animated=="number"&&clearTimeout(t.animated),t.animated=setTimeout(function(){b(t,"transition",""),b(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},l)}}}}function wn(o){return o.offsetWidth}function _n(o,e,n,t){return Math.sqrt(Math.pow(e.top-o.top,2)+Math.pow(e.left-o.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*t.animation}var Pe=[],ht={initializeByDefault:!0},je={mount:function(e){for(var n in ht)ht.hasOwnProperty(n)&&!(n in e)&&(e[n]=ht[n]);Pe.forEach(function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Pe.push(e)},pluginEvent:function(e,n,t){var r=this;this.eventCanceled=!1,t.cancel=function(){r.eventCanceled=!0};var a=e+"Global";Pe.forEach(function(l){n[l.pluginName]&&(n[l.pluginName][a]&&n[l.pluginName][a](ye({sortable:n},t)),n.options[l.pluginName]&&n[l.pluginName][e]&&n[l.pluginName][e](ye({sortable:n},t)))})},initializePlugins:function(e,n,t,r){Pe.forEach(function(s){var u=s.pluginName;if(!(!e.options[u]&&!s.initializeByDefault)){var c=new s(e,n,e.options);c.sortable=e,c.options=e.options,e[u]=c,Se(t,c.defaults)}});for(var a in e.options)if(e.options.hasOwnProperty(a)){var l=this.modifyOption(e,a,e.options[a]);typeof l<"u"&&(e.options[a]=l)}},getEventProperties:function(e,n){var t={};return Pe.forEach(function(r){typeof r.eventProperties=="function"&&Se(t,r.eventProperties.call(n[r.pluginName],e))}),t},modifyOption:function(e,n,t){var r;return Pe.forEach(function(a){e[a.pluginName]&&a.optionListeners&&typeof a.optionListeners[n]=="function"&&(r=a.optionListeners[n].call(e[a.pluginName],t))}),r}};function Sn(o){var e=o.sortable,n=o.rootEl,t=o.name,r=o.targetEl,a=o.cloneEl,l=o.toEl,s=o.fromEl,u=o.oldIndex,c=o.newIndex,p=o.oldDraggableIndex,f=o.newDraggableIndex,E=o.originalEvent,m=o.putSortable,S=o.extraEventProperties;if(e=e||n&&n[ne],!!e){var C,K=e.options,Y="on"+t.charAt(0).toUpperCase()+t.substr(1);window.CustomEvent&&!Ce&&!$e?C=new CustomEvent(t,{bubbles:!0,cancelable:!0}):(C=document.createEvent("Event"),C.initEvent(t,!0,!0)),C.to=l||n,C.from=s||n,C.item=r||n,C.clone=a,C.oldIndex=u,C.newIndex=c,C.oldDraggableIndex=p,C.newDraggableIndex=f,C.originalEvent=E,C.pullMode=m?m.lastPutMode:void 0;var A=ye(ye({},S),je.getEventProperties(t,e));for(var O in A)C[O]=A[O];n&&n.dispatchEvent(C),K[Y]&&K[Y].call(e,C)}}var Cn=["evt"],ee=function(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.evt,a=gn(t,Cn);je.pluginEvent.bind(g)(e,n,ye({dragEl:d,parentEl:M,ghostEl:w,rootEl:B,nextEl:Ne,lastDownEl:tt,cloneEl:F,cloneHidden:xe,dragStarted:Re,putSortable:H,activeSortable:g.active,originalEvent:r,oldIndex:Fe,oldDraggableIndex:Ye,newIndex:le,newDraggableIndex:De,hideGhostForTarget:nn,unhideGhostForTarget:on,cloneNowHidden:function(){xe=!0},cloneNowShown:function(){xe=!1},dispatchSortableEvent:function(s){Z({sortable:n,name:s,originalEvent:r})}},a))};function Z(o){Sn(ye({putSortable:H,cloneEl:F,targetEl:d,rootEl:B,oldIndex:Fe,oldDraggableIndex:Ye,newIndex:le,newDraggableIndex:De},o))}var d,M,w,B,Ne,tt,F,xe,Fe,le,Ye,De,Ue,H,Be=!1,at=!1,lt=[],ke,pe,gt,mt,Rt,Lt,Re,Ae,Ge,He=!1,Ze=!1,nt,j,vt=[],_t=!1,st=[],ct=typeof document<"u",Qe=Tt,Kt=$e||Ce?"cssFloat":"float",Dn=ct&&!Ht&&!Tt&&"draggable"in document.createElement("div"),Jt=function(){if(ct){if(Ce)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}}(),en=function(e,n){var t=b(e),r=parseInt(t.width)-parseInt(t.paddingLeft)-parseInt(t.paddingRight)-parseInt(t.borderLeftWidth)-parseInt(t.borderRightWidth),a=ze(e,0,n),l=ze(e,1,n),s=a&&b(a),u=l&&b(l),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(a).width,p=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+L(l).width;if(t.display==="flex")return t.flexDirection==="column"||t.flexDirection==="column-reverse"?"vertical":"horizontal";if(t.display==="grid")return t.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return l&&(u.clear==="both"||u.clear===f)?"vertical":"horizontal"}return a&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||c>=r&&t[Kt]==="none"||l&&t[Kt]==="none"&&c+p>r)?"vertical":"horizontal"},xn=function(e,n,t){var r=t?e.left:e.top,a=t?e.right:e.bottom,l=t?e.width:e.height,s=t?n.left:n.top,u=t?n.right:n.bottom,c=t?n.width:n.height;return r===s||a===u||r+l/2===s+c/2},Tn=function(e,n){var t;return lt.some(function(r){var a=r[ne].options.emptyInsertThreshold;if(!(!a||kt(r))){var l=L(r),s=e>=l.left-a&&e<=l.right+a,u=n>=l.top-a&&n<=l.bottom+a;if(s&&u)return t=r}}),t},tn=function(e){function n(a,l){return function(s,u,c,p){var f=s.options.group.name&&u.options.group.name&&s.options.group.name===u.options.group.name;if(a==null&&(l||f))return!0;if(a==null||a===!1)return!1;if(l&&a==="clone")return a;if(typeof a=="function")return n(a(s,u,c,p),l)(s,u,c,p);var E=(l?s:u).options.group.name;return a===!0||typeof a=="string"&&a===E||a.join&&a.indexOf(E)>-1}}var t={},r=e.group;(!r||et(r)!="object")&&(r={name:r}),t.name=r.name,t.checkPull=n(r.pull,!0),t.checkPut=n(r.put),t.revertClone=r.revertClone,e.group=t},nn=function(){!Jt&&w&&b(w,"display","none")},on=function(){!Jt&&w&&b(w,"display","")};ct&&!Ht&&document.addEventListener("click",function(o){if(at)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),at=!1,!1},!0);var Ie=function(e){if(d){e=e.touches?e.touches[0]:e;var n=Tn(e.clientX,e.clientY);if(n){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.target=t.rootEl=n,t.preventDefault=void 0,t.stopPropagation=void 0,n[ne]._onDragOver(t)}}},kn=function(e){d&&d.parentNode[ne]._isOutsideThisEl(e.target)};function g(o,e){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=e=Se({},e),o[ne]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return en(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,s){l.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:g.supportPointer!==!1&&"PointerEvent"in window&&(!Ve||Tt),emptyInsertThreshold:5};je.initializePlugins(this,o,n);for(var t in n)!(t in e)&&(e[t]=n[t]);tn(e);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=e.forceFallback?!1:Dn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?I(o,"pointerdown",this._onTapStart):(I(o,"mousedown",this._onTapStart),I(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(I(o,"dragover",this),I(o,"dragenter",this)),lt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Se(this,En())}g.prototype={constructor:g,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Ae=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,d):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,t=this.el,r=this.options,a=r.preventOnFilter,l=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,u=(s||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||u,p=r.filter;if(Mn(t),!d&&!(/mousedown|pointerdown/.test(l)&&e.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Ve&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=he(u,r.draggable,t,!1),!(u&&u.animated)&&tt!==u)){if(Fe=ue(u),Ye=ue(u,r.draggable),typeof p=="function"){if(p.call(this,e,u,this)){Z({sortable:n,rootEl:c,name:"filter",targetEl:u,toEl:t,fromEl:t}),ee("filter",n,{evt:e}),a&&e.preventDefault();return}}else if(p&&(p=p.split(",").some(function(f){if(f=he(c,f.trim(),t,!1),f)return Z({sortable:n,rootEl:f,name:"filter",targetEl:u,fromEl:t,toEl:t}),ee("filter",n,{evt:e}),!0}),p)){a&&e.preventDefault();return}r.handle&&!he(c,r.handle,t,!1)||this._prepareDragStart(e,s,u)}}},_prepareDragStart:function(e,n,t){var r=this,a=r.el,l=r.options,s=a.ownerDocument,u;if(t&&!d&&t.parentNode===a){var c=L(t);if(B=a,d=t,M=d.parentNode,Ne=d.nextSibling,tt=t,Ue=l.group,g.dragged=d,ke={target:d,clientX:(n||e).clientX,clientY:(n||e).clientY},Rt=ke.clientX-c.left,Lt=ke.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,d.style["will-change"]="all",u=function(){if(ee("delayEnded",r,{evt:e}),g.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!Bt&&r.nativeDraggable&&(d.draggable=!0),r._triggerDragStart(e,n),Z({sortable:r,name:"choose",originalEvent:e}),ae(d,l.chosenClass,!0)},l.ignore.split(",").forEach(function(p){qt(d,p.trim(),bt)}),I(s,"dragover",Ie),I(s,"mousemove",Ie),I(s,"touchmove",Ie),l.supportPointer?(I(s,"pointerup",r._onDrop),!this.nativeDraggable&&I(s,"pointercancel",r._onDrop)):(I(s,"mouseup",r._onDrop),I(s,"touchend",r._onDrop),I(s,"touchcancel",r._onDrop)),Bt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,d.draggable=!0),ee("delayStart",this,{evt:e}),l.delay&&(!l.delayOnTouchOnly||n)&&(!this.nativeDraggable||!($e||Ce))){if(g.eventCanceled){this._onDrop();return}l.supportPointer?(I(s,"pointerup",r._disableDelayedDrag),I(s,"pointercancel",r._disableDelayedDrag)):(I(s,"mouseup",r._disableDelayedDrag),I(s,"touchend",r._disableDelayedDrag),I(s,"touchcancel",r._disableDelayedDrag)),I(s,"mousemove",r._delayedDragTouchMoveHandler),I(s,"touchmove",r._delayedDragTouchMoveHandler),l.supportPointer&&I(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(u,l.delay)}else u()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){d&&bt(d),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;T(e,"mouseup",this._disableDelayedDrag),T(e,"touchend",this._disableDelayedDrag),T(e,"touchcancel",this._disableDelayedDrag),T(e,"pointerup",this._disableDelayedDrag),T(e,"pointercancel",this._disableDelayedDrag),T(e,"mousemove",this._delayedDragTouchMoveHandler),T(e,"touchmove",this._delayedDragTouchMoveHandler),T(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?I(document,"pointermove",this._onTouchMove):n?I(document,"touchmove",this._onTouchMove):I(document,"mousemove",this._onTouchMove):(I(d,"dragend",this),I(B,"dragstart",this._onDragStart));try{document.selection?ot(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Be=!1,B&&d){ee("dragStarted",this,{evt:n}),this.nativeDraggable&&I(document,"dragover",kn);var t=this.options;!e&&ae(d,t.dragClass,!1),ae(d,t.ghostClass,!0),g.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(pe){this._lastX=pe.clientX,this._lastY=pe.clientY,nn();for(var e=document.elementFromPoint(pe.clientX,pe.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(pe.clientX,pe.clientY),e!==n);)n=e;if(d.parentNode[ne]._isOutsideThisEl(e),n)do{if(n[ne]){var t=void 0;if(t=n[ne]._onDragOver({clientX:pe.clientX,clientY:pe.clientY,target:e,rootEl:n}),t&&!this.options.dragoverBubble)break}e=n}while(n=jt(n));on()}},_onTouchMove:function(e){if(ke){var n=this.options,t=n.fallbackTolerance,r=n.fallbackOffset,a=e.touches?e.touches[0]:e,l=w&&Me(w,!0),s=w&&l&&l.a,u=w&&l&&l.d,c=Qe&&j&&zt(j),p=(a.clientX-ke.clientX+r.x)/(s||1)+(c?c[0]-vt[0]:0)/(s||1),f=(a.clientY-ke.clientY+r.y)/(u||1)+(c?c[1]-vt[1]:0)/(u||1);if(!g.active&&!Be){if(t&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<t)return;this._onDragStart(e,!0)}if(w){l?(l.e+=p-(gt||0),l.f+=f-(mt||0)):l={a:1,b:0,c:0,d:1,e:p,f};var E="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");b(w,"webkitTransform",E),b(w,"mozTransform",E),b(w,"msTransform",E),b(w,"transform",E),gt=p,mt=f,pe=a}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!w){var e=this.options.fallbackOnBody?document.body:B,n=L(d,!0,Qe,!0,e),t=this.options;if(Qe){for(j=e;b(j,"position")==="static"&&b(j,"transform")==="none"&&j!==document;)j=j.parentNode;j!==document.body&&j!==document.documentElement?(j===document&&(j=be()),n.top+=j.scrollTop,n.left+=j.scrollLeft):j=be(),vt=zt(j)}w=d.cloneNode(!0),ae(w,t.ghostClass,!1),ae(w,t.fallbackClass,!0),ae(w,t.dragClass,!0),b(w,"transition",""),b(w,"transform",""),b(w,"box-sizing","border-box"),b(w,"margin",0),b(w,"top",n.top),b(w,"left",n.left),b(w,"width",n.width),b(w,"height",n.height),b(w,"opacity","0.8"),b(w,"position",Qe?"absolute":"fixed"),b(w,"zIndex","100000"),b(w,"pointerEvents","none"),g.ghost=w,e.appendChild(w),b(w,"transform-origin",Rt/parseInt(w.style.width)*100+"% "+Lt/parseInt(w.style.height)*100+"%")}},_onDragStart:function(e,n){var t=this,r=e.dataTransfer,a=t.options;if(ee("dragStart",this,{evt:e}),g.eventCanceled){this._onDrop();return}ee("setupClone",this),g.eventCanceled||(F=Zt(d),F.removeAttribute("id"),F.draggable=!1,F.style["will-change"]="",this._hideClone(),ae(F,this.options.chosenClass,!1),g.clone=F),t.cloneId=ot(function(){ee("clone",t),!g.eventCanceled&&(t.options.removeCloneOnHide||B.insertBefore(F,d),t._hideClone(),Z({sortable:t,name:"clone"}))}),!n&&ae(d,a.dragClass,!0),n?(at=!0,t._loopId=setInterval(t._emulateDragOver,50)):(T(document,"mouseup",t._onDrop),T(document,"touchend",t._onDrop),T(document,"touchcancel",t._onDrop),r&&(r.effectAllowed="move",a.setData&&a.setData.call(t,r,d)),I(document,"drop",t),b(d,"transform","translateZ(0)")),Be=!0,t._dragStartId=ot(t._dragStarted.bind(t,n,e)),I(document,"selectstart",t),Re=!0,window.getSelection().removeAllRanges(),Ve&&b(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,t=e.target,r,a,l,s=this.options,u=s.group,c=g.active,p=Ue===u,f=s.sort,E=H||c,m,S=this,C=!1;if(_t)return;function K(we,_){ee(we,S,ye({evt:e,isOwner:p,axis:m?"vertical":"horizontal",revert:l,dragRect:r,targetRect:a,canSort:f,fromSortable:E,target:t,completed:A,onMove:function(h,D){return Je(B,n,d,r,h,L(h),e,D)},changed:O},_))}function Y(){K("dragOverAnimationCapture"),S.captureAnimationState(),S!==E&&E.captureAnimationState()}function A(we){return K("dragOverCompleted",{insertion:we}),we&&(p?c._hideClone():c._showClone(S),S!==E&&(ae(d,H?H.options.ghostClass:c.options.ghostClass,!1),ae(d,s.ghostClass,!0)),H!==S&&S!==g.active?H=S:S===g.active&&H&&(H=null),E===S&&(S._ignoreWhileAnimating=t),S.animateAll(function(){K("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==E&&(E.animateAll(),E._ignoreWhileAnimating=null)),(t===d&&!d.animated||t===n&&!t.animated)&&(Ae=null),!s.dragoverBubble&&!e.rootEl&&t!==document&&(d.parentNode[ne]._isOutsideThisEl(e.target),!we&&Ie(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),C=!0}function O(){le=ue(d),De=ue(d,s.draggable),Z({sortable:S,name:"change",toEl:n,newIndex:le,newDraggableIndex:De,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),t=he(t,s.draggable,n,!0),K("dragOver"),g.eventCanceled)return C;if(d.contains(e.target)||t.animated&&t.animatingX&&t.animatingY||S._ignoreWhileAnimating===t)return A(!1);if(at=!1,c&&!s.disabled&&(p?f||(l=M!==B):H===this||(this.lastPutMode=Ue.checkPull(this,c,d,e))&&u.checkPut(this,c,d,e))){if(m=this._getDirection(e,t)==="vertical",r=L(d),K("dragOverValid"),g.eventCanceled)return C;if(l)return M=B,Y(),this._hideClone(),K("revert"),g.eventCanceled||(Ne?B.insertBefore(d,Ne):B.appendChild(d)),A(!0);var z=kt(n,s.draggable);if(!z||Pn(e,m,this)&&!z.animated){if(z===d)return A(!1);if(z&&n===e.target&&(t=z),t&&(a=L(t)),Je(B,n,d,r,t,a,e,!!t)!==!1)return Y(),z&&z.nextSibling?n.insertBefore(d,z.nextSibling):n.appendChild(d),M=n,O(),A(!0)}else if(z&&On(e,m,this)){var q=ze(n,0,s,!0);if(q===d)return A(!1);if(t=q,a=L(t),Je(B,n,d,r,t,a,e,!1)!==!1)return Y(),n.insertBefore(d,q),M=n,O(),A(!0)}else if(t.parentNode===n){a=L(t);var W=0,oe,$=d.parentNode!==n,V=!xn(d.animated&&d.toRect||r,t.animated&&t.toRect||a,m),ge=m?"top":"left",se=Mt(t,"top","top")||Mt(d,"top","top"),ce=se?se.scrollTop:void 0;Ae!==t&&(oe=a[ge],He=!1,Ze=!V&&s.invertSwap||$),W=An(e,t,a,m,V?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,Ze,Ae===t);var U;if(W!==0){var Q=ue(d);do Q-=W,U=M.children[Q];while(U&&(b(U,"display")==="none"||U===w))}if(W===0||U===t)return A(!1);Ae=t,Ge=W;var de=t.nextElementSibling,re=!1;re=W===1;var Ee=Je(B,n,d,r,t,a,e,re);if(Ee!==!1)return(Ee===1||Ee===-1)&&(re=Ee===1),_t=!0,setTimeout(Nn,30),Y(),re&&!de?n.appendChild(d):t.parentNode.insertBefore(d,re?de:t),se&&Ut(se,0,ce-se.scrollTop),M=d.parentNode,oe!==void 0&&!Ze&&(nt=Math.abs(oe-L(t)[ge])),O(),A(!0)}if(n.contains(d))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Ie),T(document,"mousemove",Ie),T(document,"touchmove",Ie)},_offUpEvents:function(){var e=this.el.ownerDocument;T(e,"mouseup",this._onDrop),T(e,"touchend",this._onDrop),T(e,"pointerup",this._onDrop),T(e,"pointercancel",this._onDrop),T(e,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(e){var n=this.el,t=this.options;if(le=ue(d),De=ue(d,t.draggable),ee("drop",this,{evt:e}),M=d&&d.parentNode,le=ue(d),De=ue(d,t.draggable),g.eventCanceled){this._nulling();return}Be=!1,Ze=!1,He=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),St(this.cloneId),St(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ve&&b(document.body,"user-select",""),b(d,"transform",""),e&&(Re&&(e.cancelable&&e.preventDefault(),!t.dropBubble&&e.stopPropagation()),w&&w.parentNode&&w.parentNode.removeChild(w),(B===M||H&&H.lastPutMode!=="clone")&&F&&F.parentNode&&F.parentNode.removeChild(F),d&&(this.nativeDraggable&&T(d,"dragend",this),bt(d),d.style["will-change"]="",Re&&!Be&&ae(d,H?H.options.ghostClass:this.options.ghostClass,!1),ae(d,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:M,newIndex:null,newDraggableIndex:null,originalEvent:e}),B!==M?(le>=0&&(Z({rootEl:M,name:"add",toEl:M,fromEl:B,originalEvent:e}),Z({sortable:this,name:"remove",toEl:M,originalEvent:e}),Z({rootEl:M,name:"sort",toEl:M,fromEl:B,originalEvent:e}),Z({sortable:this,name:"sort",toEl:M,originalEvent:e})),H&&H.save()):le!==Fe&&le>=0&&(Z({sortable:this,name:"update",toEl:M,originalEvent:e}),Z({sortable:this,name:"sort",toEl:M,originalEvent:e})),g.active&&((le==null||le===-1)&&(le=Fe,De=Ye),Z({sortable:this,name:"end",toEl:M,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){ee("nulling",this),B=d=M=w=Ne=F=tt=xe=ke=pe=Re=le=De=Fe=Ye=Ae=Ge=H=Ue=g.dragged=g.ghost=g.clone=g.active=null,st.forEach(function(e){e.checked=!0}),st.length=gt=mt=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":d&&(this._onDragOver(e),In(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,t=this.el.children,r=0,a=t.length,l=this.options;r<a;r++)n=t[r],he(n,l.draggable,this.el,!1)&&e.push(n.getAttribute(l.dataIdAttr)||Fn(n));return e},sort:function(e,n){var t={},r=this.el;this.toArray().forEach(function(a,l){var s=r.children[l];he(s,this.options.draggable,r,!1)&&(t[a]=s)},this),n&&this.captureAnimationState(),e.forEach(function(a){t[a]&&(r.removeChild(t[a]),r.appendChild(t[a]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return he(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var t=this.options;if(n===void 0)return t[e];var r=je.modifyOption(this,e,n);typeof r<"u"?t[e]=r:t[e]=n,e==="group"&&tn(t)},destroy:function(){ee("destroy",this);var e=this.el;e[ne]=null,T(e,"mousedown",this._onTapStart),T(e,"touchstart",this._onTapStart),T(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(e,"dragover",this),T(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),lt.splice(lt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!xe){if(ee("hideClone",this),g.eventCanceled)return;b(F,"display","none"),this.options.removeCloneOnHide&&F.parentNode&&F.parentNode.removeChild(F),xe=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(xe){if(ee("showClone",this),g.eventCanceled)return;d.parentNode==B&&!this.options.group.revertClone?B.insertBefore(F,d):Ne?B.insertBefore(F,Ne):B.appendChild(F),this.options.group.revertClone&&this.animate(d,F),b(F,"display",""),xe=!1}}};function In(o){o.dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault()}function Je(o,e,n,t,r,a,l,s){var u,c=o[ne],p=c.options.onMove,f;return window.CustomEvent&&!Ce&&!$e?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=e,u.from=o,u.dragged=n,u.draggedRect=t,u.related=r||e,u.relatedRect=a||L(e),u.willInsertAfter=s,u.originalEvent=l,o.dispatchEvent(u),p&&(f=p.call(c,u,l)),f}function bt(o){o.draggable=!1}function Nn(){_t=!1}function On(o,e,n){var t=L(ze(n.el,0,n.options,!0)),r=Qt(n.el,n.options,w),a=10;return e?o.clientX<r.left-a||o.clientY<t.top&&o.clientX<t.right:o.clientY<r.top-a||o.clientY<t.bottom&&o.clientX<t.left}function Pn(o,e,n){var t=L(kt(n.el,n.options.draggable)),r=Qt(n.el,n.options,w),a=10;return e?o.clientX>r.right+a||o.clientY>t.bottom&&o.clientX>t.left:o.clientY>r.bottom+a||o.clientX>t.right&&o.clientY>t.top}function An(o,e,n,t,r,a,l,s){var u=t?o.clientY:o.clientX,c=t?n.height:n.width,p=t?n.top:n.left,f=t?n.bottom:n.right,E=!1;if(!l){if(s&&nt<c*r){if(!He&&(Ge===1?u>p+c*a/2:u<f-c*a/2)&&(He=!0),He)E=!0;else if(Ge===1?u<p+nt:u>f-nt)return-Ge}else if(u>p+c*(1-r)/2&&u<f-c*(1-r)/2)return Bn(e)}return E=E||l,E&&(u<p+c*a/2||u>f-c*a/2)?u>p+c/2?1:-1:0}function Bn(o){return ue(d)<ue(o)?1:-1}function Fn(o){for(var e=o.tagName+o.className+o.src+o.href+o.textContent,n=e.length,t=0;n--;)t+=e.charCodeAt(n);return t.toString(36)}function Mn(o){st.length=0;for(var e=o.getElementsByTagName("input"),n=e.length;n--;){var t=e[n];t.checked&&st.push(t)}}function ot(o){return setTimeout(o,0)}function St(o){return clearTimeout(o)}ct&&I(document,"touchmove",function(o){(g.active||Be)&&o.cancelable&&o.preventDefault()});g.utils={on:I,off:T,css:b,find:qt,is:function(e,n){return!!he(e,n,e,!1)},extend:bn,throttle:Wt,closest:he,toggleClass:ae,clone:Zt,index:ue,nextTick:ot,cancelNextTick:St,detectDirection:en,getChild:ze,expando:ne};g.get=function(o){return o[ne]};g.mount=function(){for(var o=arguments.length,e=new Array(o),n=0;n<o;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(g.utils=ye(ye({},g.utils),t.utils)),je.mount(t)})};g.create=function(o,e){return new g(o,e)};g.version=mn;var R=[],Le,Ct,Dt=!1,yt,Et,ut,Ke;function zn(){function o(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return o.prototype={dragStarted:function(n){var t=n.originalEvent;this.sortable.nativeDraggable?I(document,"dragover",this._handleAutoScroll):this.options.supportPointer?I(document,"pointermove",this._handleFallbackAutoScroll):t.touches?I(document,"touchmove",this._handleFallbackAutoScroll):I(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var t=n.originalEvent;!this.options.dragOverBubble&&!t.rootEl&&this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),Vt(),rt(),yn()},nulling:function(){ut=Ct=Le=Dt=Ke=yt=Et=null,R.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,t){var r=this,a=(n.touches?n.touches[0]:n).clientX,l=(n.touches?n.touches[0]:n).clientY,s=document.elementFromPoint(a,l);if(ut=n,t||this.options.forceAutoScrollFallback||$e||Ce||Ve){wt(n,this.options,s,t);var u=Te(s,!0);Dt&&(!Ke||a!==yt||l!==Et)&&(Ke&&Vt(),Ke=setInterval(function(){var c=Te(document.elementFromPoint(a,l),!0);c!==u&&(u=c,rt()),wt(n,r.options,c,t)},10),yt=a,Et=l)}else{if(!this.options.bubbleScroll||Te(s,!0)===be()){rt();return}wt(n,this.options,Te(s,!1),!1)}}},Se(o,{pluginName:"scroll",initializeByDefault:!0})}function rt(){R.forEach(function(o){clearInterval(o.pid)}),R=[]}function Vt(){clearInterval(Ke)}var wt=Wt(function(o,e,n,t){if(e.scroll){var r=(o.touches?o.touches[0]:o).clientX,a=(o.touches?o.touches[0]:o).clientY,l=e.scrollSensitivity,s=e.scrollSpeed,u=be(),c=!1,p;Ct!==n&&(Ct=n,rt(),Le=e.scroll,p=e.scrollFn,Le===!0&&(Le=Te(n,!0)));var f=0,E=Le;do{var m=E,S=L(m),C=S.top,K=S.bottom,Y=S.left,A=S.right,O=S.width,z=S.height,q=void 0,W=void 0,oe=m.scrollWidth,$=m.scrollHeight,V=b(m),ge=m.scrollLeft,se=m.scrollTop;m===u?(q=O<oe&&(V.overflowX==="auto"||V.overflowX==="scroll"||V.overflowX==="visible"),W=z<$&&(V.overflowY==="auto"||V.overflowY==="scroll"||V.overflowY==="visible")):(q=O<oe&&(V.overflowX==="auto"||V.overflowX==="scroll"),W=z<$&&(V.overflowY==="auto"||V.overflowY==="scroll"));var ce=q&&(Math.abs(A-r)<=l&&ge+O<oe)-(Math.abs(Y-r)<=l&&!!ge),U=W&&(Math.abs(K-a)<=l&&se+z<$)-(Math.abs(C-a)<=l&&!!se);if(!R[f])for(var Q=0;Q<=f;Q++)R[Q]||(R[Q]={});(R[f].vx!=ce||R[f].vy!=U||R[f].el!==m)&&(R[f].el=m,R[f].vx=ce,R[f].vy=U,clearInterval(R[f].pid),(ce!=0||U!=0)&&(c=!0,R[f].pid=setInterval((function(){t&&this.layer===0&&g.active._onTouchMove(ut);var de=R[this.layer].vy?R[this.layer].vy*s:0,re=R[this.layer].vx?R[this.layer].vx*s:0;typeof p=="function"&&p.call(g.dragged.parentNode[ne],re,de,o,ut,R[this.layer].el)!=="continue"||Ut(R[this.layer].el,re,de)}).bind({layer:f}),24))),f++}while(e.bubbleScroll&&E!==u&&(E=Te(E,!1)));Dt=c}},30),rn=function(e){var n=e.originalEvent,t=e.putSortable,r=e.dragEl,a=e.activeSortable,l=e.dispatchSortableEvent,s=e.hideGhostForTarget,u=e.unhideGhostForTarget;if(n){var c=t||a;s();var p=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(p.clientX,p.clientY);u(),c&&!c.el.contains(f)&&(l("spill"),this.onSpill({dragEl:r,putSortable:t}))}};function It(){}It.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,t=e.putSortable;this.sortable.captureAnimationState(),t&&t.captureAnimationState();var r=ze(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(n,r):this.sortable.el.appendChild(n),this.sortable.animateAll(),t&&t.animateAll()},drop:rn};Se(It,{pluginName:"revertOnSpill"});function Nt(){}Nt.prototype={onSpill:function(e){var n=e.dragEl,t=e.putSortable,r=t||this.sortable;r.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),r.animateAll()},drop:rn};Se(Nt,{pluginName:"removeOnSpill"});g.mount(new zn);g.mount(Nt,It);const Rn=Object.freeze(Object.defineProperty({__proto__:null,Sortable:g,default:g},Symbol.toStringTag,{value:"Module"})),an=["sm","md","lg"],xt={none:"gap-none",sm:"gap-sm",md:"gap-md",lg:"gap-lg"},[ln,sn]=un.createContext("CheckboxGroup"),Ln=["data-parents","data-key","data-draggable"],Kn=["tabindex"],Vn=["data-parents","data-level"],Xn=i.defineComponent({...Yt.getComponentOptions("TreeNode"),__name:"TreeNode",props:{item:{},level:{default:1},parentKeys:{}},setup(o){const e=o,n=i.useSlots(),t=ln(),r=Xt.cva(t.prefixes.node,{variants:{disabled:P.generateVariantClassList("disabled",t.prefixes.node),active:P.generateVariantClassList("active",t.prefixes.node),hasChildren:P.generateVariantClassList("has-children",t.prefixes.node)}}),a=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";case"md":case"lg":return"xsm"}}),l=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";default:return"xsm"}}),s=_=>t.getNodeField(_,"children"),u=_=>t.getNodeField(_,"key"),c=i.computed(()=>s(e.item)),p=i.computed(()=>t.getNodeField(e.item,"leaf")),f=i.computed(()=>t.props.draggable?t.getNodeField(e.item,"draggable")??!0:!1),E=i.computed(()=>u(e.item)),m=i.computed(()=>!!(t.disabled.value||t.getNodeField(e.item,"disabled"))),S=i.computed(()=>{var _;return!!((_=c.value)!=null&&_.some(v=>t.expandedKeys.value.includes(u(v))))}),C=i.computed(()=>!(e.item.dragging??!1)&&t.expandedKeys.value.includes(E.value)),K=i.computed(()=>{var _;return!!(!t.dragging.value&&t.props.showLine&&C.value&&((_=c.value)!=null&&_.length))}),Y=()=>{m.value||(t.props.syncCheckboxAndSelect?q():t.onSelect(e.item))},A=i.computed(()=>!!t.model.value.includes(E.value)),O=i.computed(()=>{const _=(x=e.item)=>{const y=s(x);return(y==null?void 0:y.length)&&y.every(N=>t.checked.value.includes(u(N)))},v=(x=e.item)=>{const y=s(x);return y!=null&&y.length?!!(y!=null&&y.some(N=>t.checked.value.includes(u(N))||v(N))):!1},h=t.checked.value.includes(E.value);return _()?(h||t.onCheck(e.item),!0):v()?(h&&t.onCheck(e.item),"indeterminate"):!!h}),z=_=>{t.props.syncCheckboxAndSelect||_==null||_.stopPropagation()},q=_=>{var x;if(_!==void 0&&t.props.syncCheckboxAndSelect)return;if(!((x=c.value)!=null&&x.length))return t.props.syncCheckboxAndSelect&&t.onSelect(e.item),t.onCheck(e.item);const v=(y=e.item)=>{const N=s(y);return N!=null&&N.length?N.reduce((me,ie)=>{const X=s(ie),J=u(ie);return X!=null&&X.length?[...me,J,...v(ie)]:[...me,J]},[]):[]},h=v(),D={keys:[E.value,...h],value:!t.checked.value.includes(E.value)};return t.props.syncCheckboxAndSelect&&t.onSelect(e.item,D),t.onCheck(e.item,D)},W=i.computed(()=>[...e.parentKeys??[],E.value]),oe=_=>{t.onExpandKey(e.item,_)},$=i.computed(()=>e.item.dragging_level??e.level),V=i.computed(()=>$.value+1),ge=i.ref(),se=i.ref();t.useSortable({root:ge,instance:se,node:e.item});const ce=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";case"md":return"xsm";case"lg":return"sm"}}),{rootBindings:U,inputBindings:Q}=Gt.UseInputDataStates({getDisabled:()=>m.value}),de=i.computed(()=>{var _,v;return!!((_=c.value)!=null&&_.length||(v=t.props)!=null&&v.lazyLoad&&!p.value)}),re=i.ref(),{width:Ee,height:we}=fn.useElementSize(re);return(_,v)=>{var D,x,y,N,me,ie,X,J,Oe,k;const h=i.resolveComponent("TreeNode",!0);return i.openBlock(),i.createElementBlock("div",i.mergeProps({"data-parents":(D=i.unref(t).props)!=null&&D.draggable?_.parentKeys:void 0,"data-key":(x=i.unref(t).props)!=null&&x.draggable?E.value:void 0,"data-draggable":(y=i.unref(t).props)!=null&&y.draggable?!m.value&&f.value:void 0,class:[(N=c.value)!=null&&N.length?i.unref(t).prefixes.group:"",i.unref(P.getBemElement)(i.unref(t).prefixes.node,"root"),i.unref(t).getNodeField(_.item,"class"),{[i.unref(P.getBemModifier)(i.unref(t).prefixes.group,"child-expanded")]:S.value,[i.unref(P.getBemModifier)(i.unref(t).prefixes.group,"draggable")]:(me=i.unref(t).props)==null?void 0:me.draggable}]},i.unref(U),{style:{"--ptc-tree-node-indent-height":`${i.unref(we)}px`,"--ptc-tree-node-indent-width":`${i.unref(Ee)}px`}}),[K.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(i.unref(P.getBemElement)(i.unref(t).prefixes.group,"line"))},null,2)):i.createCommentVNode("",!0),i.createElementVNode("div",i.mergeProps({tabindex:m.value?void 0:0,class:[i.unref(r)({disabled:m.value,active:A.value,hasChildren:de.value})]},i.unref(Q),{onClick:Y}),[(ie=i.unref(t).props)!=null&&ie.draggable?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(i.unref(t).prefixes.draggable)},[!_.item.dragging&&!i.unref(t).dragging.value?(i.openBlock(),i.createBlock(te._sfc_main$3,{key:0,icon:"tabler:grip-vertical",size:l.value,class:i.normalizeClass(i.unref(t).prefixes.draggableIcon)},{default:i.withCtx(()=>[i.renderSlot(_.$slots,"dragTrigger",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:O.value,disabled:m.value,unFocusable:!0})))]),_:3},8,["size","class"])):i.createCommentVNode("",!0)],2)):i.createCommentVNode("",!0),i.createVNode(cn._sfc_main,{ref_key:"indent",ref:re,level:$.value,children:de.value,size:ce.value,expanded:C.value,showLine:!1,class:i.normalizeClass(i.unref(P.getBemElement)(i.unref(t).prefixes.node,"indent")),loading:i.unref(t).getNodeField(_.item,"loading"),"branch-icon":i.unref(t).getNodeField(_.item,"switcherIcon")??((X=i.unref(t).props)==null?void 0:X.switcherIcon),"no-rotate-branch":i.unref(t).getNodeField(_.item,"noRotateSwitcherIcon")??((J=i.unref(t).props)==null?void 0:J.noRotateSwitcherIcon),onToggleExpand:v[0]||(v[0]=i.withModifiers(G=>oe(),["stop"]))},{default:i.withCtx(()=>[i.renderSlot(_.$slots,"switcherIcon",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:O.value,expanded:C.value,disabled:m.value,unFocusable:!0})))]),_:3},8,["level","children","size","expanded","class","loading","branch-icon","no-rotate-branch"]),!_.item.dragging||!i.unref(t).dragging.value?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[(Oe=i.unref(t).props)!=null&&Oe.checkbox?(i.openBlock(),i.createBlock(dn._sfc_main,{key:0,size:a.value,onClick:z,modelValue:O.value,"onUpdate:modelValue":q,disabled:m.value},null,8,["size","modelValue","disabled"])):i.createCommentVNode("",!0),i.renderSlot(_.$slots,"title",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:O.value,disabled:m.value,unFocusable:!0})),()=>[i.createElementVNode("div",{class:i.normalizeClass(i.unref(P.getBemElement)(i.unref(t).prefixes.node,"title"))},i.toDisplayString(i.unref(t).getNodeField(_.item,"title")),3)])],64)):(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(i.unref(P.getBemElement)(i.unref(t).prefixes.node,"slot"))},null,2))],16,Kn),(k=c.value)!=null&&k.length&&(i.unref(t).props.forceMount||C.value||i.unref(t).props.draggable)?i.withDirectives((i.openBlock(),i.createElementBlock("div",{key:1,class:i.normalizeClass(i.unref(t).prefixes.groupList),ref_key:"root",ref:ge,"data-parents":i.unref(t).props.draggable?W.value:void 0,"data-level":i.unref(t).props.draggable?V.value:void 0},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s(_.item),G=>(i.openBlock(),i.createBlock(h,{key:i.unref(t).getNodeField(G,"key"),parentKeys:W.value,item:G,level:V.value},i.createSlots({_:2},[i.renderList(Object.keys(n),fe=>({name:fe,fn:i.withCtx(ve=>[i.renderSlot(_.$slots,fe,i.mergeProps({ref_for:!0},ve))])}))]),1032,["parentKeys","item","level"]))),128))],10,Vn)),[[i.vShow,C.value]]):i.createCommentVNode("",!0)],16,Ln)}}}),Yn=i.defineComponent({...Yt.getComponentOptions("Tree"),__name:"Tree",props:{class:{},size:{default:"md"},gap:{},dir:{},data:{},modelValue:{},value:{},checkedKeys:{},expandedKeys:{},multiple:{type:Boolean},checkbox:{type:Boolean},syncCheckboxAndSelect:{type:Boolean},defaultExpandAll:{type:Boolean},selectable:{type:Boolean},showLine:{type:Boolean},inlineNode:{type:Boolean},lazyLoad:{type:Boolean},forceMount:{type:Boolean},fieldNames:{},groupName:{},getSortableProps:{},switcherIcon:{},noRotateSwitcherIcon:{type:Boolean},draggable:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue","update:value","update:expandedKeys","update:checkedKeys","expand","select","check","dragStart","dragEnd","move","choose","unchoose"],setup(o,{emit:e}){const n=o,t=e,r=i.useSlots(),a=P.getBemBlock("tree"),l=P.getBemElement(a,"node"),s=P.getBemElement(l,"group"),u=P.getBemElement(l,"draggable"),c=P.getBemElement(u,"icon"),p=P.getBemElement(s,"list"),f={node:l,group:s,draggable:u,draggableIcon:c,groupList:p},E=Xt.cva(a,{variants:{size:P.generateVariantClassList(an,a),gap:P.generateVariantClassList(xt,a),selectable:P.generateVariantClassList("selectable",a),disabled:P.generateVariantClassList("disabled",a),inlineNode:P.generateVariantClassList("inline-node",a),dragging:P.generateVariantClassList("dragging",a)}}),m=(v,h)=>{var x;const D=te.get(v,h);return(x=n.fieldNames)!=null&&x[h]?te.get(v,n.fieldNames[h],D):D},S=i.ref(te.cloneDeep(n.data)),C=()=>{if(!n.lazyLoad){const v=[],h=D=>{for(const x of D){const y=m(x,"children");y!=null&&y.length&&(v.push(m(x,"key")),h(y))}};return h(S.value),v}return[]},K=i.ref(n.expandedKeys??(n.defaultExpandAll?C():[]));i.watch(()=>[n.defaultExpandAll,n.expandedKeys],([v,h],[D,x])=>{h!==x?K.value=n.expandedKeys??[]:v&&!D&&(K.value=C())});const Y=i.computed({get(){return n.expandedKeys?n.expandedKeys:K.value},set(v){n.expandedKeys||(K.value=v),t("update:expandedKeys",v)}});i.watch(()=>n.data,()=>{S.value=te.cloneDeep(n.data);const v=C();Y.value=Y.value.filter(h=>v.includes(h)),n.draggable&&U.value++},{deep:!0});const A=i.ref(n.modelValue??n.value??[]);i.watch(()=>[n.modelValue,n.value],()=>{A.value=n.modelValue??n.value??[]});const O=i.computed({get(){return n.modelValue??n.value?n.modelValue??n.value:A.value},set(v){v&&((n.modelValue??n.value)||(A.value=v),t("update:modelValue",v),t("update:value",v))}}),{getDisabled:z,getSize:q}=Gt.useFormInput(),W=(v,h)=>{var D,x;if(n.selectable&&!z.value){let y=te.cloneDeep(O.value);const N=m(v,"key");h!=null&&h.keys.length&&n.multiple?h.value?y=ft.uniq([...h.keys,...y]):y=te.cloneDeep(O.value.filter(ie=>!h.keys.includes(ie))):n.multiple?(D=O.value)!=null&&D.includes(N)?y=te.cloneDeep((x=O.value)==null?void 0:x.filter(ie=>ie!==N)):y=te.cloneDeep([...O.value??[],N]):O.value.includes(N)?y=[]:y=[N],O.value=y;const me=(h==null?void 0:h.value)??y.includes(N);t("select",v,me,(h==null?void 0:h.keys)??N)}},oe=i.ref(n.checkedKeys??[]);i.watch(()=>n.checkedKeys,()=>{oe.value=n.checkedKeys??[]});const $=i.computed({get(){return n.checkedKeys?n.checkedKeys:oe.value},set(v){n.checkedKeys||(oe.value=v),t("update:checkedKeys",v)}}),V=(v,h)=>{if(n.checkbox&&!z.value){let D=te.cloneDeep($.value);const x=m(v,"key");h!=null&&h.keys.length?h.value?D=ft.uniq([...h.keys,...D]):D=te.cloneDeep($.value.filter(N=>!h.keys.includes(N))):$.value.includes(x)?D=te.cloneDeep($.value.filter(N=>N!==x)):D=te.cloneDeep([...$.value,x]),$.value=D;const y=(h==null?void 0:h.value)??D.includes(x);t("check",v,y,(h==null?void 0:h.keys)??x)}},ge=(v,h)=>{let D=!0;const x=m(v,"key");let y=te.cloneDeep(Y.value);h||h!==!1&&!y.includes(x)?(y=ft.uniq([...y,x]),D=!0):(y=y.filter(N=>N!==x),D=!1),Y.value=y,t("expand",v,D)},se=i.computed(()=>{if(n.gap){if(typeof n.gap=="number")return`${n.gap}px`;if(!Object.keys(xt).includes(n.gap))return n.gap}}),ce=n.groupName??P.usePCId(a),U=i.ref(1),Q=i.ref(!1),de=i.ref(),re=i.ref(),Ee=v=>{if(n.draggable){const{root:h,instance:D,node:x}=v,y=X=>{var J;return(J=X.getAttribute("data-parents"))==null?void 0:J.split(",")},N=X=>{const J=(G,fe=S.value)=>{const{parents:ve,self:qe}=G;for(const dt of fe){const Ot=m(dt,"key").toString();if(Ot===qe)return dt;const We=m(dt,"children");if(ve!=null&&ve.includes(Ot)&&(We!=null&&We.length))return J(G,We)}},Oe=y(X),k=X.getAttribute("data-key")??"";return J({parents:Oe,self:k})},me=P.getBemModifier(P.getBemElement(a,"dragging_item"),q.value),ie=()=>{var X;(X=D.value)==null||X.destroy(),D.value=void 0};i.onMounted(()=>{const X=i.watch(()=>[h.value,U.value],async()=>{var J;if(D.value)ie();else if(h.value){if(!n.draggable)return X==null?void 0:X();const{default:Oe}=await Promise.resolve().then(()=>Rn);D.value=new Oe(h.value,{...((J=n.getSortableProps)==null?void 0:J.call(n,x))||{},group:Pt.isFunction(ce)?ce(x):ce,animation:150,forceFallback:!0,fallbackOnBody:!0,filter:"[data-draggable=false]",handle:`.${f.node} .${f.draggable} .${f.draggableIcon}`,dataIdAttr:"data-key",dragClass:me,onChoose(k){const G=N(k==null?void 0:k.item);G&&(G.dragging=!0),t("choose",k)},onStart(k){var G;if(typeof document<"u"){const fe=document.querySelector(`.${me}`),ve=(G=getComputedStyle(h.value))==null?void 0:G.direction;fe!=null&&fe.style&&(fe.style.direction=ve)}Q.value=!0,t("dragStart",k)},onUnchoose(k){const G=N(k==null?void 0:k.item);G&&(G.dragging=!1),t("unchoose",k)},onEnd(k){Q.value=!1,t("dragEnd",{...k,node:N(k==null?void 0:k.item),oldParents:y(k==null?void 0:k.item),newParents:y(k==null?void 0:k.to)})},onMove(k,G){var qe;const fe=Number(((qe=k==null?void 0:k.to)==null?void 0:qe.getAttribute("data-level"))??"1"),ve=N(k==null?void 0:k.dragged);ve&&(ve.dragging_level=fe),t("move",k,G)}})}},{immediate:!0})}),i.onBeforeUnmount(()=>{D.value&&ie()})}};Ee({root:de,instance:re});const{getDir:we}=Pt.useConfig(),_=we();return sn({size:q,disabled:z,props:n,expandedKeys:Y,model:O,dir:_,checked:$,onExpandKey:ge,onSelect:W,onCheck:V,getNodeField:m,useSortable:Ee,dragging:Q,prefixes:f}),(v,h)=>(i.openBlock(),i.createElementBlock("div",{key:U.value,role:"tree",class:i.normalizeClass([i.unref(E)({size:i.unref(q),gap:n.gap??i.unref(q),selectable:n.selectable,disabled:i.unref(z),inlineNode:n.inlineNode,dragging:Q.value}),n.class]),style:i.normalizeStyle({"--ptc-tree-gap":se.value}),ref_key:"root",ref:de},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(S.value,D=>(i.openBlock(),i.createBlock(Xn,{key:m(D,"key"),item:D},i.createSlots({_:2},[i.renderList(Object.keys(r),x=>({name:x,fn:i.withCtx(y=>[i.renderSlot(v.$slots,x,i.mergeProps({ref_for:!0},y))])}))]),1032,["item"]))),128))],6))}});exports.TreeGaps=xt;exports.TreeSizes=an;exports._sfc_main=Yn;exports.injectTreeContext=ln;exports.provideTreeContext=sn;
6
+ */function At(o,e){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),n.push.apply(n,t)}return n}function ye(o){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?At(Object(n),!0).forEach(function(t){pn(o,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(n,t))})}return o}function et(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(e){return typeof e}:et=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(o)}function pn(o,e,n){return e in o?Object.defineProperty(o,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[e]=n,o}function Se(){return Se=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(o[t]=n[t])}return o},Se.apply(this,arguments)}function hn(o,e){if(o==null)return{};var n={},t=Object.keys(o),r,a;for(a=0;a<t.length;a++)r=t[a],!(e.indexOf(r)>=0)&&(n[r]=o[r]);return n}function gn(o,e){if(o==null)return{};var n=hn(o,e),t,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);for(r=0;r<a.length;r++)t=a[r],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(o,t)&&(n[t]=o[t])}return n}var mn="1.15.6";function _e(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var Ce=_e(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),$e=_e(/Edge/i),Bt=_e(/firefox/i),Ve=_e(/safari/i)&&!_e(/chrome/i)&&!_e(/android/i),Tt=_e(/iP(ad|od|hone)/i),Ht=_e(/chrome/i)&&_e(/android/i),$t={capture:!1,passive:!1};function I(o,e,n){o.addEventListener(e,n,!Ce&&$t)}function T(o,e,n){o.removeEventListener(e,n,!Ce&&$t)}function it(o,e){if(e){if(e[0]===">"&&(e=e.substring(1)),o)try{if(o.matches)return o.matches(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e)}catch{return!1}return!1}}function jt(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function he(o,e,n,t){if(o){n=n||document;do{if(e!=null&&(e[0]===">"?o.parentNode===n&&it(o,e):it(o,e))||t&&o===n)return o;if(o===n)break}while(o=jt(o))}return null}var Ft=/\s+/g;function ae(o,e,n){if(o&&e)if(o.classList)o.classList[n?"add":"remove"](e);else{var t=(" "+o.className+" ").replace(Ft," ").replace(" "+e+" "," ");o.className=(t+(n?" "+e:"")).replace(Ft," ")}}function b(o,e,n){var t=o&&o.style;if(t){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(n=o.currentStyle),e===void 0?n:n[e];!(e in t)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),t[e]=n+(typeof n=="string"?"":"px")}}function Me(o,e){var n="";if(typeof o=="string")n=o;else do{var t=b(o,"transform");t&&t!=="none"&&(n=t+" "+n)}while(!e&&(o=o.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function qt(o,e,n){if(o){var t=o.getElementsByTagName(e),r=0,a=t.length;if(n)for(;r<a;r++)n(t[r],r);return t}return[]}function be(){var o=document.scrollingElement;return o||document.documentElement}function L(o,e,n,t,r){if(!(!o.getBoundingClientRect&&o!==window)){var a,l,s,u,c,p,f;if(o!==window&&o.parentNode&&o!==be()?(a=o.getBoundingClientRect(),l=a.top,s=a.left,u=a.bottom,c=a.right,p=a.height,f=a.width):(l=0,s=0,u=window.innerHeight,c=window.innerWidth,p=window.innerHeight,f=window.innerWidth),(e||n)&&o!==window&&(r=r||o.parentNode,!Ce))do if(r&&r.getBoundingClientRect&&(b(r,"transform")!=="none"||n&&b(r,"position")!=="static")){var E=r.getBoundingClientRect();l-=E.top+parseInt(b(r,"border-top-width")),s-=E.left+parseInt(b(r,"border-left-width")),u=l+a.height,c=s+a.width;break}while(r=r.parentNode);if(t&&o!==window){var m=Me(r||o),S=m&&m.a,C=m&&m.d;m&&(l/=C,s/=S,f/=S,p/=C,u=l+p,c=s+f)}return{top:l,left:s,bottom:u,right:c,width:f,height:p}}}function Mt(o,e,n){for(var t=Te(o,!0),r=L(o)[e];t;){var a=L(t)[n],l=void 0;if(l=r>=a,!l)return t;if(t===be())break;t=Te(t,!1)}return!1}function ze(o,e,n,t){for(var r=0,a=0,l=o.children;a<l.length;){if(l[a].style.display!=="none"&&l[a]!==g.ghost&&(t||l[a]!==g.dragged)&&he(l[a],n.draggable,o,!1)){if(r===e)return l[a];r++}a++}return null}function kt(o,e){for(var n=o.lastElementChild;n&&(n===g.ghost||b(n,"display")==="none"||e&&!it(n,e));)n=n.previousElementSibling;return n||null}function ue(o,e){var n=0;if(!o||!o.parentNode)return-1;for(;o=o.previousElementSibling;)o.nodeName.toUpperCase()!=="TEMPLATE"&&o!==g.clone&&(!e||it(o,e))&&n++;return n}function zt(o){var e=0,n=0,t=be();if(o)do{var r=Me(o),a=r.a,l=r.d;e+=o.scrollLeft*a,n+=o.scrollTop*l}while(o!==t&&(o=o.parentNode));return[e,n]}function vn(o,e){for(var n in o)if(o.hasOwnProperty(n)){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===o[n][t])return Number(n)}return-1}function Te(o,e){if(!o||!o.getBoundingClientRect)return be();var n=o,t=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=b(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return be();if(t||e)return n;t=!0}}while(n=n.parentNode);return be()}function bn(o,e){if(o&&e)for(var n in e)e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function pt(o,e){return Math.round(o.top)===Math.round(e.top)&&Math.round(o.left)===Math.round(e.left)&&Math.round(o.height)===Math.round(e.height)&&Math.round(o.width)===Math.round(e.width)}var Xe;function Wt(o,e){return function(){if(!Xe){var n=arguments,t=this;n.length===1?o.call(t,n[0]):o.apply(t,n),Xe=setTimeout(function(){Xe=void 0},e)}}}function yn(){clearTimeout(Xe),Xe=void 0}function Ut(o,e,n){o.scrollLeft+=e,o.scrollTop+=n}function Zt(o){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(o).cloneNode(!0):n?n(o).clone(!0)[0]:o.cloneNode(!0)}function Qt(o,e,n){var t={};return Array.from(o.children).forEach(function(r){var a,l,s,u;if(!(!he(r,e.draggable,o,!1)||r.animated||r===n)){var c=L(r);t.left=Math.min((a=t.left)!==null&&a!==void 0?a:1/0,c.left),t.top=Math.min((l=t.top)!==null&&l!==void 0?l:1/0,c.top),t.right=Math.max((s=t.right)!==null&&s!==void 0?s:-1/0,c.right),t.bottom=Math.max((u=t.bottom)!==null&&u!==void 0?u:-1/0,c.bottom)}}),t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}var ne="Sortable"+new Date().getTime();function En(){var o=[],e;return{captureAnimationState:function(){if(o=[],!!this.options.animation){var t=[].slice.call(this.el.children);t.forEach(function(r){if(!(b(r,"display")==="none"||r===g.ghost)){o.push({target:r,rect:L(r)});var a=ye({},o[o.length-1].rect);if(r.thisAnimationDuration){var l=Me(r,!0);l&&(a.top-=l.f,a.left-=l.e)}r.fromRect=a}})}},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(vn(o,{target:t}),1)},animateAll:function(t){var r=this;if(!this.options.animation){clearTimeout(e),typeof t=="function"&&t();return}var a=!1,l=0;o.forEach(function(s){var u=0,c=s.target,p=c.fromRect,f=L(c),E=c.prevFromRect,m=c.prevToRect,S=s.rect,C=Me(c,!0);C&&(f.top-=C.f,f.left-=C.e),c.toRect=f,c.thisAnimationDuration&&pt(E,f)&&!pt(p,f)&&(S.top-f.top)/(S.left-f.left)===(p.top-f.top)/(p.left-f.left)&&(u=_n(S,E,m,r.options)),pt(f,p)||(c.prevFromRect=p,c.prevToRect=f,u||(u=r.options.animation),r.animate(c,S,f,u)),u&&(a=!0,l=Math.max(l,u),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},u),c.thisAnimationDuration=u)}),clearTimeout(e),a?e=setTimeout(function(){typeof t=="function"&&t()},l):typeof t=="function"&&t(),o=[]},animate:function(t,r,a,l){if(l){b(t,"transition",""),b(t,"transform","");var s=Me(this.el),u=s&&s.a,c=s&&s.d,p=(r.left-a.left)/(u||1),f=(r.top-a.top)/(c||1);t.animatingX=!!p,t.animatingY=!!f,b(t,"transform","translate3d("+p+"px,"+f+"px,0)"),this.forRepaintDummy=wn(t),b(t,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),b(t,"transform","translate3d(0,0,0)"),typeof t.animated=="number"&&clearTimeout(t.animated),t.animated=setTimeout(function(){b(t,"transition",""),b(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},l)}}}}function wn(o){return o.offsetWidth}function _n(o,e,n,t){return Math.sqrt(Math.pow(e.top-o.top,2)+Math.pow(e.left-o.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*t.animation}var Pe=[],ht={initializeByDefault:!0},je={mount:function(e){for(var n in ht)ht.hasOwnProperty(n)&&!(n in e)&&(e[n]=ht[n]);Pe.forEach(function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Pe.push(e)},pluginEvent:function(e,n,t){var r=this;this.eventCanceled=!1,t.cancel=function(){r.eventCanceled=!0};var a=e+"Global";Pe.forEach(function(l){n[l.pluginName]&&(n[l.pluginName][a]&&n[l.pluginName][a](ye({sortable:n},t)),n.options[l.pluginName]&&n[l.pluginName][e]&&n[l.pluginName][e](ye({sortable:n},t)))})},initializePlugins:function(e,n,t,r){Pe.forEach(function(s){var u=s.pluginName;if(!(!e.options[u]&&!s.initializeByDefault)){var c=new s(e,n,e.options);c.sortable=e,c.options=e.options,e[u]=c,Se(t,c.defaults)}});for(var a in e.options)if(e.options.hasOwnProperty(a)){var l=this.modifyOption(e,a,e.options[a]);typeof l<"u"&&(e.options[a]=l)}},getEventProperties:function(e,n){var t={};return Pe.forEach(function(r){typeof r.eventProperties=="function"&&Se(t,r.eventProperties.call(n[r.pluginName],e))}),t},modifyOption:function(e,n,t){var r;return Pe.forEach(function(a){e[a.pluginName]&&a.optionListeners&&typeof a.optionListeners[n]=="function"&&(r=a.optionListeners[n].call(e[a.pluginName],t))}),r}};function Sn(o){var e=o.sortable,n=o.rootEl,t=o.name,r=o.targetEl,a=o.cloneEl,l=o.toEl,s=o.fromEl,u=o.oldIndex,c=o.newIndex,p=o.oldDraggableIndex,f=o.newDraggableIndex,E=o.originalEvent,m=o.putSortable,S=o.extraEventProperties;if(e=e||n&&n[ne],!!e){var C,K=e.options,Y="on"+t.charAt(0).toUpperCase()+t.substr(1);window.CustomEvent&&!Ce&&!$e?C=new CustomEvent(t,{bubbles:!0,cancelable:!0}):(C=document.createEvent("Event"),C.initEvent(t,!0,!0)),C.to=l||n,C.from=s||n,C.item=r||n,C.clone=a,C.oldIndex=u,C.newIndex=c,C.oldDraggableIndex=p,C.newDraggableIndex=f,C.originalEvent=E,C.pullMode=m?m.lastPutMode:void 0;var A=ye(ye({},S),je.getEventProperties(t,e));for(var P in A)C[P]=A[P];n&&n.dispatchEvent(C),K[Y]&&K[Y].call(e,C)}}var Cn=["evt"],ee=function(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.evt,a=gn(t,Cn);je.pluginEvent.bind(g)(e,n,ye({dragEl:d,parentEl:M,ghostEl:w,rootEl:B,nextEl:Ne,lastDownEl:tt,cloneEl:F,cloneHidden:xe,dragStarted:Re,putSortable:H,activeSortable:g.active,originalEvent:r,oldIndex:Fe,oldDraggableIndex:Ye,newIndex:le,newDraggableIndex:De,hideGhostForTarget:nn,unhideGhostForTarget:on,cloneNowHidden:function(){xe=!0},cloneNowShown:function(){xe=!1},dispatchSortableEvent:function(s){Z({sortable:n,name:s,originalEvent:r})}},a))};function Z(o){Sn(ye({putSortable:H,cloneEl:F,targetEl:d,rootEl:B,oldIndex:Fe,oldDraggableIndex:Ye,newIndex:le,newDraggableIndex:De},o))}var d,M,w,B,Ne,tt,F,xe,Fe,le,Ye,De,Ue,H,Be=!1,at=!1,lt=[],ke,pe,gt,mt,Rt,Lt,Re,Ae,Ge,He=!1,Ze=!1,nt,j,vt=[],_t=!1,st=[],ct=typeof document<"u",Qe=Tt,Kt=$e||Ce?"cssFloat":"float",Dn=ct&&!Ht&&!Tt&&"draggable"in document.createElement("div"),Jt=function(){if(ct){if(Ce)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}}(),en=function(e,n){var t=b(e),r=parseInt(t.width)-parseInt(t.paddingLeft)-parseInt(t.paddingRight)-parseInt(t.borderLeftWidth)-parseInt(t.borderRightWidth),a=ze(e,0,n),l=ze(e,1,n),s=a&&b(a),u=l&&b(l),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(a).width,p=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+L(l).width;if(t.display==="flex")return t.flexDirection==="column"||t.flexDirection==="column-reverse"?"vertical":"horizontal";if(t.display==="grid")return t.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return l&&(u.clear==="both"||u.clear===f)?"vertical":"horizontal"}return a&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||c>=r&&t[Kt]==="none"||l&&t[Kt]==="none"&&c+p>r)?"vertical":"horizontal"},xn=function(e,n,t){var r=t?e.left:e.top,a=t?e.right:e.bottom,l=t?e.width:e.height,s=t?n.left:n.top,u=t?n.right:n.bottom,c=t?n.width:n.height;return r===s||a===u||r+l/2===s+c/2},Tn=function(e,n){var t;return lt.some(function(r){var a=r[ne].options.emptyInsertThreshold;if(!(!a||kt(r))){var l=L(r),s=e>=l.left-a&&e<=l.right+a,u=n>=l.top-a&&n<=l.bottom+a;if(s&&u)return t=r}}),t},tn=function(e){function n(a,l){return function(s,u,c,p){var f=s.options.group.name&&u.options.group.name&&s.options.group.name===u.options.group.name;if(a==null&&(l||f))return!0;if(a==null||a===!1)return!1;if(l&&a==="clone")return a;if(typeof a=="function")return n(a(s,u,c,p),l)(s,u,c,p);var E=(l?s:u).options.group.name;return a===!0||typeof a=="string"&&a===E||a.join&&a.indexOf(E)>-1}}var t={},r=e.group;(!r||et(r)!="object")&&(r={name:r}),t.name=r.name,t.checkPull=n(r.pull,!0),t.checkPut=n(r.put),t.revertClone=r.revertClone,e.group=t},nn=function(){!Jt&&w&&b(w,"display","none")},on=function(){!Jt&&w&&b(w,"display","")};ct&&!Ht&&document.addEventListener("click",function(o){if(at)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),at=!1,!1},!0);var Ie=function(e){if(d){e=e.touches?e.touches[0]:e;var n=Tn(e.clientX,e.clientY);if(n){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.target=t.rootEl=n,t.preventDefault=void 0,t.stopPropagation=void 0,n[ne]._onDragOver(t)}}},kn=function(e){d&&d.parentNode[ne]._isOutsideThisEl(e.target)};function g(o,e){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=e=Se({},e),o[ne]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return en(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,s){l.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:g.supportPointer!==!1&&"PointerEvent"in window&&(!Ve||Tt),emptyInsertThreshold:5};je.initializePlugins(this,o,n);for(var t in n)!(t in e)&&(e[t]=n[t]);tn(e);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=e.forceFallback?!1:Dn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?I(o,"pointerdown",this._onTapStart):(I(o,"mousedown",this._onTapStart),I(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(I(o,"dragover",this),I(o,"dragenter",this)),lt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Se(this,En())}g.prototype={constructor:g,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Ae=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,d):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,t=this.el,r=this.options,a=r.preventOnFilter,l=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,u=(s||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||u,p=r.filter;if(Mn(t),!d&&!(/mousedown|pointerdown/.test(l)&&e.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Ve&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=he(u,r.draggable,t,!1),!(u&&u.animated)&&tt!==u)){if(Fe=ue(u),Ye=ue(u,r.draggable),typeof p=="function"){if(p.call(this,e,u,this)){Z({sortable:n,rootEl:c,name:"filter",targetEl:u,toEl:t,fromEl:t}),ee("filter",n,{evt:e}),a&&e.preventDefault();return}}else if(p&&(p=p.split(",").some(function(f){if(f=he(c,f.trim(),t,!1),f)return Z({sortable:n,rootEl:f,name:"filter",targetEl:u,fromEl:t,toEl:t}),ee("filter",n,{evt:e}),!0}),p)){a&&e.preventDefault();return}r.handle&&!he(c,r.handle,t,!1)||this._prepareDragStart(e,s,u)}}},_prepareDragStart:function(e,n,t){var r=this,a=r.el,l=r.options,s=a.ownerDocument,u;if(t&&!d&&t.parentNode===a){var c=L(t);if(B=a,d=t,M=d.parentNode,Ne=d.nextSibling,tt=t,Ue=l.group,g.dragged=d,ke={target:d,clientX:(n||e).clientX,clientY:(n||e).clientY},Rt=ke.clientX-c.left,Lt=ke.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,d.style["will-change"]="all",u=function(){if(ee("delayEnded",r,{evt:e}),g.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!Bt&&r.nativeDraggable&&(d.draggable=!0),r._triggerDragStart(e,n),Z({sortable:r,name:"choose",originalEvent:e}),ae(d,l.chosenClass,!0)},l.ignore.split(",").forEach(function(p){qt(d,p.trim(),bt)}),I(s,"dragover",Ie),I(s,"mousemove",Ie),I(s,"touchmove",Ie),l.supportPointer?(I(s,"pointerup",r._onDrop),!this.nativeDraggable&&I(s,"pointercancel",r._onDrop)):(I(s,"mouseup",r._onDrop),I(s,"touchend",r._onDrop),I(s,"touchcancel",r._onDrop)),Bt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,d.draggable=!0),ee("delayStart",this,{evt:e}),l.delay&&(!l.delayOnTouchOnly||n)&&(!this.nativeDraggable||!($e||Ce))){if(g.eventCanceled){this._onDrop();return}l.supportPointer?(I(s,"pointerup",r._disableDelayedDrag),I(s,"pointercancel",r._disableDelayedDrag)):(I(s,"mouseup",r._disableDelayedDrag),I(s,"touchend",r._disableDelayedDrag),I(s,"touchcancel",r._disableDelayedDrag)),I(s,"mousemove",r._delayedDragTouchMoveHandler),I(s,"touchmove",r._delayedDragTouchMoveHandler),l.supportPointer&&I(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(u,l.delay)}else u()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){d&&bt(d),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;T(e,"mouseup",this._disableDelayedDrag),T(e,"touchend",this._disableDelayedDrag),T(e,"touchcancel",this._disableDelayedDrag),T(e,"pointerup",this._disableDelayedDrag),T(e,"pointercancel",this._disableDelayedDrag),T(e,"mousemove",this._delayedDragTouchMoveHandler),T(e,"touchmove",this._delayedDragTouchMoveHandler),T(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?I(document,"pointermove",this._onTouchMove):n?I(document,"touchmove",this._onTouchMove):I(document,"mousemove",this._onTouchMove):(I(d,"dragend",this),I(B,"dragstart",this._onDragStart));try{document.selection?ot(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Be=!1,B&&d){ee("dragStarted",this,{evt:n}),this.nativeDraggable&&I(document,"dragover",kn);var t=this.options;!e&&ae(d,t.dragClass,!1),ae(d,t.ghostClass,!0),g.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(pe){this._lastX=pe.clientX,this._lastY=pe.clientY,nn();for(var e=document.elementFromPoint(pe.clientX,pe.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(pe.clientX,pe.clientY),e!==n);)n=e;if(d.parentNode[ne]._isOutsideThisEl(e),n)do{if(n[ne]){var t=void 0;if(t=n[ne]._onDragOver({clientX:pe.clientX,clientY:pe.clientY,target:e,rootEl:n}),t&&!this.options.dragoverBubble)break}e=n}while(n=jt(n));on()}},_onTouchMove:function(e){if(ke){var n=this.options,t=n.fallbackTolerance,r=n.fallbackOffset,a=e.touches?e.touches[0]:e,l=w&&Me(w,!0),s=w&&l&&l.a,u=w&&l&&l.d,c=Qe&&j&&zt(j),p=(a.clientX-ke.clientX+r.x)/(s||1)+(c?c[0]-vt[0]:0)/(s||1),f=(a.clientY-ke.clientY+r.y)/(u||1)+(c?c[1]-vt[1]:0)/(u||1);if(!g.active&&!Be){if(t&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<t)return;this._onDragStart(e,!0)}if(w){l?(l.e+=p-(gt||0),l.f+=f-(mt||0)):l={a:1,b:0,c:0,d:1,e:p,f};var E="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");b(w,"webkitTransform",E),b(w,"mozTransform",E),b(w,"msTransform",E),b(w,"transform",E),gt=p,mt=f,pe=a}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!w){var e=this.options.fallbackOnBody?document.body:B,n=L(d,!0,Qe,!0,e),t=this.options;if(Qe){for(j=e;b(j,"position")==="static"&&b(j,"transform")==="none"&&j!==document;)j=j.parentNode;j!==document.body&&j!==document.documentElement?(j===document&&(j=be()),n.top+=j.scrollTop,n.left+=j.scrollLeft):j=be(),vt=zt(j)}w=d.cloneNode(!0),ae(w,t.ghostClass,!1),ae(w,t.fallbackClass,!0),ae(w,t.dragClass,!0),b(w,"transition",""),b(w,"transform",""),b(w,"box-sizing","border-box"),b(w,"margin",0),b(w,"top",n.top),b(w,"left",n.left),b(w,"width",n.width),b(w,"height",n.height),b(w,"opacity","0.8"),b(w,"position",Qe?"absolute":"fixed"),b(w,"zIndex","100000"),b(w,"pointerEvents","none"),g.ghost=w,e.appendChild(w),b(w,"transform-origin",Rt/parseInt(w.style.width)*100+"% "+Lt/parseInt(w.style.height)*100+"%")}},_onDragStart:function(e,n){var t=this,r=e.dataTransfer,a=t.options;if(ee("dragStart",this,{evt:e}),g.eventCanceled){this._onDrop();return}ee("setupClone",this),g.eventCanceled||(F=Zt(d),F.removeAttribute("id"),F.draggable=!1,F.style["will-change"]="",this._hideClone(),ae(F,this.options.chosenClass,!1),g.clone=F),t.cloneId=ot(function(){ee("clone",t),!g.eventCanceled&&(t.options.removeCloneOnHide||B.insertBefore(F,d),t._hideClone(),Z({sortable:t,name:"clone"}))}),!n&&ae(d,a.dragClass,!0),n?(at=!0,t._loopId=setInterval(t._emulateDragOver,50)):(T(document,"mouseup",t._onDrop),T(document,"touchend",t._onDrop),T(document,"touchcancel",t._onDrop),r&&(r.effectAllowed="move",a.setData&&a.setData.call(t,r,d)),I(document,"drop",t),b(d,"transform","translateZ(0)")),Be=!0,t._dragStartId=ot(t._dragStarted.bind(t,n,e)),I(document,"selectstart",t),Re=!0,window.getSelection().removeAllRanges(),Ve&&b(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,t=e.target,r,a,l,s=this.options,u=s.group,c=g.active,p=Ue===u,f=s.sort,E=H||c,m,S=this,C=!1;if(_t)return;function K(we,_){ee(we,S,ye({evt:e,isOwner:p,axis:m?"vertical":"horizontal",revert:l,dragRect:r,targetRect:a,canSort:f,fromSortable:E,target:t,completed:A,onMove:function(h,D){return Je(B,n,d,r,h,L(h),e,D)},changed:P},_))}function Y(){K("dragOverAnimationCapture"),S.captureAnimationState(),S!==E&&E.captureAnimationState()}function A(we){return K("dragOverCompleted",{insertion:we}),we&&(p?c._hideClone():c._showClone(S),S!==E&&(ae(d,H?H.options.ghostClass:c.options.ghostClass,!1),ae(d,s.ghostClass,!0)),H!==S&&S!==g.active?H=S:S===g.active&&H&&(H=null),E===S&&(S._ignoreWhileAnimating=t),S.animateAll(function(){K("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==E&&(E.animateAll(),E._ignoreWhileAnimating=null)),(t===d&&!d.animated||t===n&&!t.animated)&&(Ae=null),!s.dragoverBubble&&!e.rootEl&&t!==document&&(d.parentNode[ne]._isOutsideThisEl(e.target),!we&&Ie(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),C=!0}function P(){le=ue(d),De=ue(d,s.draggable),Z({sortable:S,name:"change",toEl:n,newIndex:le,newDraggableIndex:De,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),t=he(t,s.draggable,n,!0),K("dragOver"),g.eventCanceled)return C;if(d.contains(e.target)||t.animated&&t.animatingX&&t.animatingY||S._ignoreWhileAnimating===t)return A(!1);if(at=!1,c&&!s.disabled&&(p?f||(l=M!==B):H===this||(this.lastPutMode=Ue.checkPull(this,c,d,e))&&u.checkPut(this,c,d,e))){if(m=this._getDirection(e,t)==="vertical",r=L(d),K("dragOverValid"),g.eventCanceled)return C;if(l)return M=B,Y(),this._hideClone(),K("revert"),g.eventCanceled||(Ne?B.insertBefore(d,Ne):B.appendChild(d)),A(!0);var z=kt(n,s.draggable);if(!z||Pn(e,m,this)&&!z.animated){if(z===d)return A(!1);if(z&&n===e.target&&(t=z),t&&(a=L(t)),Je(B,n,d,r,t,a,e,!!t)!==!1)return Y(),z&&z.nextSibling?n.insertBefore(d,z.nextSibling):n.appendChild(d),M=n,P(),A(!0)}else if(z&&On(e,m,this)){var q=ze(n,0,s,!0);if(q===d)return A(!1);if(t=q,a=L(t),Je(B,n,d,r,t,a,e,!1)!==!1)return Y(),n.insertBefore(d,q),M=n,P(),A(!0)}else if(t.parentNode===n){a=L(t);var W=0,oe,$=d.parentNode!==n,V=!xn(d.animated&&d.toRect||r,t.animated&&t.toRect||a,m),ge=m?"top":"left",se=Mt(t,"top","top")||Mt(d,"top","top"),ce=se?se.scrollTop:void 0;Ae!==t&&(oe=a[ge],He=!1,Ze=!V&&s.invertSwap||$),W=An(e,t,a,m,V?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,Ze,Ae===t);var U;if(W!==0){var Q=ue(d);do Q-=W,U=M.children[Q];while(U&&(b(U,"display")==="none"||U===w))}if(W===0||U===t)return A(!1);Ae=t,Ge=W;var de=t.nextElementSibling,re=!1;re=W===1;var Ee=Je(B,n,d,r,t,a,e,re);if(Ee!==!1)return(Ee===1||Ee===-1)&&(re=Ee===1),_t=!0,setTimeout(Nn,30),Y(),re&&!de?n.appendChild(d):t.parentNode.insertBefore(d,re?de:t),se&&Ut(se,0,ce-se.scrollTop),M=d.parentNode,oe!==void 0&&!Ze&&(nt=Math.abs(oe-L(t)[ge])),P(),A(!0)}if(n.contains(d))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Ie),T(document,"mousemove",Ie),T(document,"touchmove",Ie)},_offUpEvents:function(){var e=this.el.ownerDocument;T(e,"mouseup",this._onDrop),T(e,"touchend",this._onDrop),T(e,"pointerup",this._onDrop),T(e,"pointercancel",this._onDrop),T(e,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(e){var n=this.el,t=this.options;if(le=ue(d),De=ue(d,t.draggable),ee("drop",this,{evt:e}),M=d&&d.parentNode,le=ue(d),De=ue(d,t.draggable),g.eventCanceled){this._nulling();return}Be=!1,Ze=!1,He=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),St(this.cloneId),St(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ve&&b(document.body,"user-select",""),b(d,"transform",""),e&&(Re&&(e.cancelable&&e.preventDefault(),!t.dropBubble&&e.stopPropagation()),w&&w.parentNode&&w.parentNode.removeChild(w),(B===M||H&&H.lastPutMode!=="clone")&&F&&F.parentNode&&F.parentNode.removeChild(F),d&&(this.nativeDraggable&&T(d,"dragend",this),bt(d),d.style["will-change"]="",Re&&!Be&&ae(d,H?H.options.ghostClass:this.options.ghostClass,!1),ae(d,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:M,newIndex:null,newDraggableIndex:null,originalEvent:e}),B!==M?(le>=0&&(Z({rootEl:M,name:"add",toEl:M,fromEl:B,originalEvent:e}),Z({sortable:this,name:"remove",toEl:M,originalEvent:e}),Z({rootEl:M,name:"sort",toEl:M,fromEl:B,originalEvent:e}),Z({sortable:this,name:"sort",toEl:M,originalEvent:e})),H&&H.save()):le!==Fe&&le>=0&&(Z({sortable:this,name:"update",toEl:M,originalEvent:e}),Z({sortable:this,name:"sort",toEl:M,originalEvent:e})),g.active&&((le==null||le===-1)&&(le=Fe,De=Ye),Z({sortable:this,name:"end",toEl:M,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){ee("nulling",this),B=d=M=w=Ne=F=tt=xe=ke=pe=Re=le=De=Fe=Ye=Ae=Ge=H=Ue=g.dragged=g.ghost=g.clone=g.active=null,st.forEach(function(e){e.checked=!0}),st.length=gt=mt=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":d&&(this._onDragOver(e),In(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,t=this.el.children,r=0,a=t.length,l=this.options;r<a;r++)n=t[r],he(n,l.draggable,this.el,!1)&&e.push(n.getAttribute(l.dataIdAttr)||Fn(n));return e},sort:function(e,n){var t={},r=this.el;this.toArray().forEach(function(a,l){var s=r.children[l];he(s,this.options.draggable,r,!1)&&(t[a]=s)},this),n&&this.captureAnimationState(),e.forEach(function(a){t[a]&&(r.removeChild(t[a]),r.appendChild(t[a]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return he(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var t=this.options;if(n===void 0)return t[e];var r=je.modifyOption(this,e,n);typeof r<"u"?t[e]=r:t[e]=n,e==="group"&&tn(t)},destroy:function(){ee("destroy",this);var e=this.el;e[ne]=null,T(e,"mousedown",this._onTapStart),T(e,"touchstart",this._onTapStart),T(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(e,"dragover",this),T(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),lt.splice(lt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!xe){if(ee("hideClone",this),g.eventCanceled)return;b(F,"display","none"),this.options.removeCloneOnHide&&F.parentNode&&F.parentNode.removeChild(F),xe=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(xe){if(ee("showClone",this),g.eventCanceled)return;d.parentNode==B&&!this.options.group.revertClone?B.insertBefore(F,d):Ne?B.insertBefore(F,Ne):B.appendChild(F),this.options.group.revertClone&&this.animate(d,F),b(F,"display",""),xe=!1}}};function In(o){o.dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault()}function Je(o,e,n,t,r,a,l,s){var u,c=o[ne],p=c.options.onMove,f;return window.CustomEvent&&!Ce&&!$e?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=e,u.from=o,u.dragged=n,u.draggedRect=t,u.related=r||e,u.relatedRect=a||L(e),u.willInsertAfter=s,u.originalEvent=l,o.dispatchEvent(u),p&&(f=p.call(c,u,l)),f}function bt(o){o.draggable=!1}function Nn(){_t=!1}function On(o,e,n){var t=L(ze(n.el,0,n.options,!0)),r=Qt(n.el,n.options,w),a=10;return e?o.clientX<r.left-a||o.clientY<t.top&&o.clientX<t.right:o.clientY<r.top-a||o.clientY<t.bottom&&o.clientX<t.left}function Pn(o,e,n){var t=L(kt(n.el,n.options.draggable)),r=Qt(n.el,n.options,w),a=10;return e?o.clientX>r.right+a||o.clientY>t.bottom&&o.clientX>t.left:o.clientY>r.bottom+a||o.clientX>t.right&&o.clientY>t.top}function An(o,e,n,t,r,a,l,s){var u=t?o.clientY:o.clientX,c=t?n.height:n.width,p=t?n.top:n.left,f=t?n.bottom:n.right,E=!1;if(!l){if(s&&nt<c*r){if(!He&&(Ge===1?u>p+c*a/2:u<f-c*a/2)&&(He=!0),He)E=!0;else if(Ge===1?u<p+nt:u>f-nt)return-Ge}else if(u>p+c*(1-r)/2&&u<f-c*(1-r)/2)return Bn(e)}return E=E||l,E&&(u<p+c*a/2||u>f-c*a/2)?u>p+c/2?1:-1:0}function Bn(o){return ue(d)<ue(o)?1:-1}function Fn(o){for(var e=o.tagName+o.className+o.src+o.href+o.textContent,n=e.length,t=0;n--;)t+=e.charCodeAt(n);return t.toString(36)}function Mn(o){st.length=0;for(var e=o.getElementsByTagName("input"),n=e.length;n--;){var t=e[n];t.checked&&st.push(t)}}function ot(o){return setTimeout(o,0)}function St(o){return clearTimeout(o)}ct&&I(document,"touchmove",function(o){(g.active||Be)&&o.cancelable&&o.preventDefault()});g.utils={on:I,off:T,css:b,find:qt,is:function(e,n){return!!he(e,n,e,!1)},extend:bn,throttle:Wt,closest:he,toggleClass:ae,clone:Zt,index:ue,nextTick:ot,cancelNextTick:St,detectDirection:en,getChild:ze,expando:ne};g.get=function(o){return o[ne]};g.mount=function(){for(var o=arguments.length,e=new Array(o),n=0;n<o;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(g.utils=ye(ye({},g.utils),t.utils)),je.mount(t)})};g.create=function(o,e){return new g(o,e)};g.version=mn;var R=[],Le,Ct,Dt=!1,yt,Et,ut,Ke;function zn(){function o(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return o.prototype={dragStarted:function(n){var t=n.originalEvent;this.sortable.nativeDraggable?I(document,"dragover",this._handleAutoScroll):this.options.supportPointer?I(document,"pointermove",this._handleFallbackAutoScroll):t.touches?I(document,"touchmove",this._handleFallbackAutoScroll):I(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var t=n.originalEvent;!this.options.dragOverBubble&&!t.rootEl&&this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),Vt(),rt(),yn()},nulling:function(){ut=Ct=Le=Dt=Ke=yt=Et=null,R.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,t){var r=this,a=(n.touches?n.touches[0]:n).clientX,l=(n.touches?n.touches[0]:n).clientY,s=document.elementFromPoint(a,l);if(ut=n,t||this.options.forceAutoScrollFallback||$e||Ce||Ve){wt(n,this.options,s,t);var u=Te(s,!0);Dt&&(!Ke||a!==yt||l!==Et)&&(Ke&&Vt(),Ke=setInterval(function(){var c=Te(document.elementFromPoint(a,l),!0);c!==u&&(u=c,rt()),wt(n,r.options,c,t)},10),yt=a,Et=l)}else{if(!this.options.bubbleScroll||Te(s,!0)===be()){rt();return}wt(n,this.options,Te(s,!1),!1)}}},Se(o,{pluginName:"scroll",initializeByDefault:!0})}function rt(){R.forEach(function(o){clearInterval(o.pid)}),R=[]}function Vt(){clearInterval(Ke)}var wt=Wt(function(o,e,n,t){if(e.scroll){var r=(o.touches?o.touches[0]:o).clientX,a=(o.touches?o.touches[0]:o).clientY,l=e.scrollSensitivity,s=e.scrollSpeed,u=be(),c=!1,p;Ct!==n&&(Ct=n,rt(),Le=e.scroll,p=e.scrollFn,Le===!0&&(Le=Te(n,!0)));var f=0,E=Le;do{var m=E,S=L(m),C=S.top,K=S.bottom,Y=S.left,A=S.right,P=S.width,z=S.height,q=void 0,W=void 0,oe=m.scrollWidth,$=m.scrollHeight,V=b(m),ge=m.scrollLeft,se=m.scrollTop;m===u?(q=P<oe&&(V.overflowX==="auto"||V.overflowX==="scroll"||V.overflowX==="visible"),W=z<$&&(V.overflowY==="auto"||V.overflowY==="scroll"||V.overflowY==="visible")):(q=P<oe&&(V.overflowX==="auto"||V.overflowX==="scroll"),W=z<$&&(V.overflowY==="auto"||V.overflowY==="scroll"));var ce=q&&(Math.abs(A-r)<=l&&ge+P<oe)-(Math.abs(Y-r)<=l&&!!ge),U=W&&(Math.abs(K-a)<=l&&se+z<$)-(Math.abs(C-a)<=l&&!!se);if(!R[f])for(var Q=0;Q<=f;Q++)R[Q]||(R[Q]={});(R[f].vx!=ce||R[f].vy!=U||R[f].el!==m)&&(R[f].el=m,R[f].vx=ce,R[f].vy=U,clearInterval(R[f].pid),(ce!=0||U!=0)&&(c=!0,R[f].pid=setInterval((function(){t&&this.layer===0&&g.active._onTouchMove(ut);var de=R[this.layer].vy?R[this.layer].vy*s:0,re=R[this.layer].vx?R[this.layer].vx*s:0;typeof p=="function"&&p.call(g.dragged.parentNode[ne],re,de,o,ut,R[this.layer].el)!=="continue"||Ut(R[this.layer].el,re,de)}).bind({layer:f}),24))),f++}while(e.bubbleScroll&&E!==u&&(E=Te(E,!1)));Dt=c}},30),rn=function(e){var n=e.originalEvent,t=e.putSortable,r=e.dragEl,a=e.activeSortable,l=e.dispatchSortableEvent,s=e.hideGhostForTarget,u=e.unhideGhostForTarget;if(n){var c=t||a;s();var p=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(p.clientX,p.clientY);u(),c&&!c.el.contains(f)&&(l("spill"),this.onSpill({dragEl:r,putSortable:t}))}};function It(){}It.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,t=e.putSortable;this.sortable.captureAnimationState(),t&&t.captureAnimationState();var r=ze(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(n,r):this.sortable.el.appendChild(n),this.sortable.animateAll(),t&&t.animateAll()},drop:rn};Se(It,{pluginName:"revertOnSpill"});function Nt(){}Nt.prototype={onSpill:function(e){var n=e.dragEl,t=e.putSortable,r=t||this.sortable;r.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),r.animateAll()},drop:rn};Se(Nt,{pluginName:"removeOnSpill"});g.mount(new zn);g.mount(Nt,It);const Rn=Object.freeze(Object.defineProperty({__proto__:null,Sortable:g,default:g},Symbol.toStringTag,{value:"Module"})),an=["sm","md","lg"],xt={none:"gap-none",sm:"gap-sm",md:"gap-md",lg:"gap-lg"},[ln,sn]=un.createContext("CheckboxGroup"),Ln=["data-parents","data-key","data-draggable"],Kn=["tabindex"],Vn=["data-parents","data-level"],Xn=i.defineComponent({...Yt.getComponentOptions("TreeNode"),__name:"TreeNode",props:{item:{},level:{default:1},parentKeys:{}},setup(o){const e=o,n=i.useSlots(),t=ln(),r=Xt.cva(t.prefixes.node,{variants:{disabled:O.generateVariantClassList("disabled",t.prefixes.node),active:O.generateVariantClassList("active",t.prefixes.node),hasChildren:O.generateVariantClassList("has-children",t.prefixes.node)}}),a=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";case"md":case"lg":return"xsm"}}),l=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";default:return"xsm"}}),s=_=>t.getNodeField(_,"children"),u=_=>t.getNodeField(_,"key"),c=i.computed(()=>s(e.item)),p=i.computed(()=>t.getNodeField(e.item,"leaf")),f=i.computed(()=>t.props.draggable?t.getNodeField(e.item,"draggable")??!0:!1),E=i.computed(()=>u(e.item)),m=i.computed(()=>!!(t.disabled.value||t.getNodeField(e.item,"disabled"))),S=i.computed(()=>{var _;return!!((_=c.value)!=null&&_.some(v=>t.expandedKeys.value.includes(u(v))))}),C=i.computed(()=>!(e.item.dragging??!1)&&t.expandedKeys.value.includes(E.value)),K=i.computed(()=>{var _;return!!(!t.dragging.value&&t.props.showLine&&C.value&&((_=c.value)!=null&&_.length))}),Y=()=>{m.value||(t.props.syncCheckboxAndSelect?q():t.onSelect(e.item))},A=i.computed(()=>!!t.model.value.includes(E.value)),P=i.computed(()=>{const _=(x=e.item)=>{const y=s(x);return(y==null?void 0:y.length)&&y.every(N=>t.checked.value.includes(u(N)))},v=(x=e.item)=>{const y=s(x);return y!=null&&y.length?!!(y!=null&&y.some(N=>t.checked.value.includes(u(N))||v(N))):!1},h=t.checked.value.includes(E.value);return _()?(h||t.onCheck(e.item),!0):v()?(h&&t.onCheck(e.item),"indeterminate"):!!h}),z=_=>{t.props.syncCheckboxAndSelect||_==null||_.stopPropagation()},q=_=>{var x;if(_!==void 0&&t.props.syncCheckboxAndSelect)return;if(!((x=c.value)!=null&&x.length))return t.props.syncCheckboxAndSelect&&t.onSelect(e.item),t.onCheck(e.item);const v=(y=e.item)=>{const N=s(y);return N!=null&&N.length?N.reduce((me,ie)=>{const X=s(ie),J=u(ie);return X!=null&&X.length?[...me,J,...v(ie)]:[...me,J]},[]):[]},h=v(),D={keys:[E.value,...h],value:!t.checked.value.includes(E.value)};return t.props.syncCheckboxAndSelect&&t.onSelect(e.item,D),t.onCheck(e.item,D)},W=i.computed(()=>[...e.parentKeys??[],E.value]),oe=_=>{t.onExpandKey(e.item,_)},$=i.computed(()=>e.item.dragging_level??e.level),V=i.computed(()=>$.value+1),ge=i.ref(),se=i.ref();t.useSortable({root:ge,instance:se,node:e.item});const ce=i.computed(()=>{switch(t.size.value){case"sm":return"2xsm";case"md":return"xsm";case"lg":return"sm"}}),{rootBindings:U,inputBindings:Q}=Gt.UseInputDataStates({getDisabled:()=>m.value}),de=i.computed(()=>{var _,v;return!!((_=c.value)!=null&&_.length||(v=t.props)!=null&&v.lazyLoad&&!p.value)}),re=i.ref(),{width:Ee,height:we}=fn.useElementSize(re);return(_,v)=>{var D,x,y,N,me,ie,X,J,Oe,k;const h=i.resolveComponent("TreeNode",!0);return i.openBlock(),i.createElementBlock("div",i.mergeProps({"data-parents":(D=i.unref(t).props)!=null&&D.draggable?_.parentKeys:void 0,"data-key":(x=i.unref(t).props)!=null&&x.draggable?E.value:void 0,"data-draggable":(y=i.unref(t).props)!=null&&y.draggable?!m.value&&f.value:void 0,class:i.unref(O.normCls)((N=c.value)!=null&&N.length?i.unref(t).prefixes.group:"",i.unref(O.getBemElement)(i.unref(t).prefixes.node,"root"),i.unref(t).getNodeField(_.item,"class"),{[i.unref(O.getBemModifier)(i.unref(t).prefixes.group,"child-expanded")]:S.value,[i.unref(O.getBemModifier)(i.unref(t).prefixes.group,"draggable")]:(me=i.unref(t).props)==null?void 0:me.draggable})},i.unref(U),{style:{"--ptc-tree-node-indent-height":`${i.unref(we)}px`,"--ptc-tree-node-indent-width":`${i.unref(Ee)}px`}}),[K.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(i.unref(O.getBemElement)(i.unref(t).prefixes.group,"line"))},null,2)):i.createCommentVNode("",!0),i.createElementVNode("div",i.mergeProps({tabindex:m.value?void 0:0,class:i.unref(O.normCls)(i.unref(r)({disabled:m.value,active:A.value,hasChildren:de.value}))},i.unref(Q),{onClick:Y}),[(ie=i.unref(t).props)!=null&&ie.draggable?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(i.unref(t).prefixes.draggable)},[!_.item.dragging&&!i.unref(t).dragging.value?(i.openBlock(),i.createBlock(te._sfc_main$3,{key:0,icon:"tabler:grip-vertical",size:l.value,class:i.normalizeClass(i.unref(t).prefixes.draggableIcon)},{default:i.withCtx(()=>[i.renderSlot(_.$slots,"dragTrigger",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:P.value,disabled:m.value,unFocusable:!0})))]),_:3},8,["size","class"])):i.createCommentVNode("",!0)],2)):i.createCommentVNode("",!0),i.createVNode(cn._sfc_main,{ref_key:"indent",ref:re,level:$.value,children:de.value,size:ce.value,expanded:C.value,showLine:!1,class:i.normalizeClass(i.unref(O.getBemElement)(i.unref(t).prefixes.node,"indent")),loading:i.unref(t).getNodeField(_.item,"loading"),"branch-icon":i.unref(t).getNodeField(_.item,"switcherIcon")??((X=i.unref(t).props)==null?void 0:X.switcherIcon),"no-rotate-branch":i.unref(t).getNodeField(_.item,"noRotateSwitcherIcon")??((J=i.unref(t).props)==null?void 0:J.noRotateSwitcherIcon),onToggleExpand:v[0]||(v[0]=i.withModifiers(G=>oe(),["stop"]))},{default:i.withCtx(()=>[i.renderSlot(_.$slots,"switcherIcon",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:P.value,expanded:C.value,disabled:m.value,unFocusable:!0})))]),_:3},8,["level","children","size","expanded","class","loading","branch-icon","no-rotate-branch"]),!_.item.dragging||!i.unref(t).dragging.value?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[(Oe=i.unref(t).props)!=null&&Oe.checkbox?(i.openBlock(),i.createBlock(dn._sfc_main,{key:0,size:a.value,onClick:z,modelValue:P.value,"onUpdate:modelValue":q,disabled:m.value},null,8,["size","modelValue","disabled"])):i.createCommentVNode("",!0),i.renderSlot(_.$slots,"title",i.normalizeProps(i.guardReactiveProps({..._.item,selected:A.value,checked:P.value,disabled:m.value,unFocusable:!0})),()=>[i.createElementVNode("div",{class:i.normalizeClass(i.unref(O.getBemElement)(i.unref(t).prefixes.node,"title"))},i.toDisplayString(i.unref(t).getNodeField(_.item,"title")),3)])],64)):(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(i.unref(O.getBemElement)(i.unref(t).prefixes.node,"slot"))},null,2))],16,Kn),(k=c.value)!=null&&k.length&&(i.unref(t).props.forceMount||C.value||i.unref(t).props.draggable)?i.withDirectives((i.openBlock(),i.createElementBlock("div",{key:1,class:i.normalizeClass(i.unref(t).prefixes.groupList),ref_key:"root",ref:ge,"data-parents":i.unref(t).props.draggable?W.value:void 0,"data-level":i.unref(t).props.draggable?V.value:void 0},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s(_.item),G=>(i.openBlock(),i.createBlock(h,{key:i.unref(t).getNodeField(G,"key"),parentKeys:W.value,item:G,level:V.value},i.createSlots({_:2},[i.renderList(Object.keys(n),fe=>({name:fe,fn:i.withCtx(ve=>[i.renderSlot(_.$slots,fe,i.mergeProps({ref_for:!0},ve))])}))]),1032,["parentKeys","item","level"]))),128))],10,Vn)),[[i.vShow,C.value]]):i.createCommentVNode("",!0)],16,Ln)}}}),Yn=i.defineComponent({...Yt.getComponentOptions("Tree"),__name:"Tree",props:{class:{},size:{default:"md"},gap:{},dir:{},data:{},modelValue:{},value:{},checkedKeys:{},expandedKeys:{},multiple:{type:Boolean},checkbox:{type:Boolean},syncCheckboxAndSelect:{type:Boolean},defaultExpandAll:{type:Boolean},selectable:{type:Boolean},showLine:{type:Boolean},inlineNode:{type:Boolean},lazyLoad:{type:Boolean},forceMount:{type:Boolean},fieldNames:{},groupName:{},getSortableProps:{},switcherIcon:{},noRotateSwitcherIcon:{type:Boolean},draggable:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue","update:value","update:expandedKeys","update:checkedKeys","expand","select","check","dragStart","dragEnd","move","choose","unchoose"],setup(o,{emit:e}){const n=o,t=e,r=i.useSlots(),a=O.getBemBlock("tree"),l=O.getBemElement(a,"node"),s=O.getBemElement(l,"group"),u=O.getBemElement(l,"draggable"),c=O.getBemElement(u,"icon"),p=O.getBemElement(s,"list"),f={node:l,group:s,draggable:u,draggableIcon:c,groupList:p},E=Xt.cva(a,{variants:{size:O.generateVariantClassList(an,a),gap:O.generateVariantClassList(xt,a),selectable:O.generateVariantClassList("selectable",a),disabled:O.generateVariantClassList("disabled",a),inlineNode:O.generateVariantClassList("inline-node",a),dragging:O.generateVariantClassList("dragging",a)}}),m=(v,h)=>{var x;const D=te.get(v,h);return(x=n.fieldNames)!=null&&x[h]?te.get(v,n.fieldNames[h],D):D},S=i.ref(te.cloneDeep(n.data)),C=()=>{if(!n.lazyLoad){const v=[],h=D=>{for(const x of D){const y=m(x,"children");y!=null&&y.length&&(v.push(m(x,"key")),h(y))}};return h(S.value),v}return[]},K=i.ref(n.expandedKeys??(n.defaultExpandAll?C():[]));i.watch(()=>[n.defaultExpandAll,n.expandedKeys],([v,h],[D,x])=>{h!==x?K.value=n.expandedKeys??[]:v&&!D&&(K.value=C())});const Y=i.computed({get(){return n.expandedKeys?n.expandedKeys:K.value},set(v){n.expandedKeys||(K.value=v),t("update:expandedKeys",v)}});i.watch(()=>n.data,()=>{S.value=te.cloneDeep(n.data);const v=C();Y.value=Y.value.filter(h=>v.includes(h)),n.draggable&&U.value++},{deep:!0});const A=i.ref(n.modelValue??n.value??[]);i.watch(()=>[n.modelValue,n.value],()=>{A.value=n.modelValue??n.value??[]});const P=i.computed({get(){return n.modelValue??n.value?n.modelValue??n.value:A.value},set(v){v&&((n.modelValue??n.value)||(A.value=v),t("update:modelValue",v),t("update:value",v))}}),{getDisabled:z,getSize:q}=Gt.useFormInput(),W=(v,h)=>{var D,x;if(n.selectable&&!z.value){let y=te.cloneDeep(P.value);const N=m(v,"key");h!=null&&h.keys.length&&n.multiple?h.value?y=ft.uniq([...h.keys,...y]):y=te.cloneDeep(P.value.filter(ie=>!h.keys.includes(ie))):n.multiple?(D=P.value)!=null&&D.includes(N)?y=te.cloneDeep((x=P.value)==null?void 0:x.filter(ie=>ie!==N)):y=te.cloneDeep([...P.value??[],N]):P.value.includes(N)?y=[]:y=[N],P.value=y;const me=(h==null?void 0:h.value)??y.includes(N);t("select",v,me,(h==null?void 0:h.keys)??N)}},oe=i.ref(n.checkedKeys??[]);i.watch(()=>n.checkedKeys,()=>{oe.value=n.checkedKeys??[]});const $=i.computed({get(){return n.checkedKeys?n.checkedKeys:oe.value},set(v){n.checkedKeys||(oe.value=v),t("update:checkedKeys",v)}}),V=(v,h)=>{if(n.checkbox&&!z.value){let D=te.cloneDeep($.value);const x=m(v,"key");h!=null&&h.keys.length?h.value?D=ft.uniq([...h.keys,...D]):D=te.cloneDeep($.value.filter(N=>!h.keys.includes(N))):$.value.includes(x)?D=te.cloneDeep($.value.filter(N=>N!==x)):D=te.cloneDeep([...$.value,x]),$.value=D;const y=(h==null?void 0:h.value)??D.includes(x);t("check",v,y,(h==null?void 0:h.keys)??x)}},ge=(v,h)=>{let D=!0;const x=m(v,"key");let y=te.cloneDeep(Y.value);h||h!==!1&&!y.includes(x)?(y=ft.uniq([...y,x]),D=!0):(y=y.filter(N=>N!==x),D=!1),Y.value=y,t("expand",v,D)},se=i.computed(()=>{if(n.gap){if(typeof n.gap=="number")return`${n.gap}px`;if(!Object.keys(xt).includes(n.gap))return n.gap}}),ce=n.groupName??O.usePCId(a),U=i.ref(1),Q=i.ref(!1),de=i.ref(),re=i.ref(),Ee=v=>{if(n.draggable){const{root:h,instance:D,node:x}=v,y=X=>{var J;return(J=X.getAttribute("data-parents"))==null?void 0:J.split(",")},N=X=>{const J=(G,fe=S.value)=>{const{parents:ve,self:qe}=G;for(const dt of fe){const Ot=m(dt,"key").toString();if(Ot===qe)return dt;const We=m(dt,"children");if(ve!=null&&ve.includes(Ot)&&(We!=null&&We.length))return J(G,We)}},Oe=y(X),k=X.getAttribute("data-key")??"";return J({parents:Oe,self:k})},me=O.getBemModifier(O.getBemElement(a,"dragging_item"),q.value),ie=()=>{var X;(X=D.value)==null||X.destroy(),D.value=void 0};i.onMounted(()=>{const X=i.watch(()=>[h.value,U.value],async()=>{var J;if(D.value)ie();else if(h.value){if(!n.draggable)return X==null?void 0:X();const{default:Oe}=await Promise.resolve().then(()=>Rn);D.value=new Oe(h.value,{...((J=n.getSortableProps)==null?void 0:J.call(n,x))||{},group:Pt.isFunction(ce)?ce(x):ce,animation:150,forceFallback:!0,fallbackOnBody:!0,filter:"[data-draggable=false]",handle:`.${f.node} .${f.draggable} .${f.draggableIcon}`,dataIdAttr:"data-key",dragClass:me,onChoose(k){const G=N(k==null?void 0:k.item);G&&(G.dragging=!0),t("choose",k)},onStart(k){var G;if(typeof document<"u"){const fe=document.querySelector(`.${me}`),ve=(G=getComputedStyle(h.value))==null?void 0:G.direction;fe!=null&&fe.style&&(fe.style.direction=ve)}Q.value=!0,t("dragStart",k)},onUnchoose(k){const G=N(k==null?void 0:k.item);G&&(G.dragging=!1),t("unchoose",k)},onEnd(k){Q.value=!1,t("dragEnd",{...k,node:N(k==null?void 0:k.item),oldParents:y(k==null?void 0:k.item),newParents:y(k==null?void 0:k.to)})},onMove(k,G){var qe;const fe=Number(((qe=k==null?void 0:k.to)==null?void 0:qe.getAttribute("data-level"))??"1"),ve=N(k==null?void 0:k.dragged);ve&&(ve.dragging_level=fe),t("move",k,G)}})}},{immediate:!0})}),i.onBeforeUnmount(()=>{D.value&&ie()})}};Ee({root:de,instance:re});const{getDir:we}=Pt.useConfig(),_=we();return sn({size:q,disabled:z,props:n,expandedKeys:Y,model:P,dir:_,checked:$,onExpandKey:ge,onSelect:W,onCheck:V,getNodeField:m,useSortable:Ee,dragging:Q,prefixes:f}),(v,h)=>(i.openBlock(),i.createElementBlock("div",{key:U.value,role:"tree",class:i.normalizeClass(i.unref(O.normCls)(i.unref(E)({size:i.unref(q),gap:n.gap??i.unref(q),selectable:n.selectable,disabled:i.unref(z),inlineNode:n.inlineNode,dragging:Q.value}),n.class)),style:i.normalizeStyle({"--ptc-tree-gap":se.value}),ref_key:"root",ref:de},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(S.value,D=>(i.openBlock(),i.createBlock(Xn,{key:m(D,"key"),item:D},i.createSlots({_:2},[i.renderList(Object.keys(r),x=>({name:x,fn:i.withCtx(y=>[i.renderSlot(v.$slots,x,i.mergeProps({ref_for:!0},y))])}))]),1032,["item"]))),128))],6))}});exports.TreeGaps=xt;exports.TreeSizes=an;exports._sfc_main=Yn;exports.injectTreeContext=ln;exports.provideTreeContext=sn;
@@ -2,7 +2,19 @@ import { UploadBaseProps } from './types';
2
2
  declare function __VLS_template(): {
3
3
  slots: {
4
4
  default?(_: {
5
+ disabled: boolean | undefined;
6
+ onClick?: undefined;
7
+ onKeydown?: undefined;
8
+ onDrop?: undefined;
9
+ onDragover?: undefined;
10
+ tabindex?: undefined;
11
+ } | {
12
+ disabled: boolean | undefined;
5
13
  onClick: () => void;
14
+ onKeydown: (e: KeyboardEvent) => void;
15
+ onDrop: (e: DragEvent) => Promise<void>;
16
+ onDragover: (e: DragEvent) => Promise<void>;
17
+ tabindex: string;
6
18
  }): any;
7
19
  };
8
20
  refs: {
@@ -1,4 +1 @@
1
- export { default as Upload } from './Upload';
2
- export { default as UploadTrigger } from './UploadTrigger';
3
- export * from './types';
4
- export * from './Upload.model';
1
+ export {};
@@ -1,14 +1 @@
1
- import { _ as o, e as p, d as e, U as d, a as t, f as i, i as l, p as U, c as r, b as x, u as f } from "../Upload.vue_vue_type_style_index_0_lang-C8T8U6MX.js";
2
- export {
3
- o as Upload,
4
- p as UploadListTypes,
5
- e as UploadSizes,
6
- d as UploadStatuses,
7
- t as UploadTrigger,
8
- i as UploadTypes,
9
- l as injectUploadContext,
10
- U as provideUploadContext,
11
- r as uploadListItemPrefix,
12
- x as uploadListPrefix,
13
- f as uploadPrefix
14
- };
1
+
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Upload.vue_vue_type_style_index_0_lang-D3wWY8lo.js");exports.Upload=e._sfc_main;exports.UploadListTypes=e.UploadListTypes;exports.UploadSizes=e.UploadSizes;exports.UploadStatuses=e.UploadStatuses;exports.UploadTrigger=e._sfc_main$1;exports.UploadTypes=e.UploadTypes;exports.injectUploadContext=e.injectUploadContext;exports.provideUploadContext=e.provideUploadContext;exports.uploadListItemPrefix=e.uploadListItemPrefix;exports.uploadListPrefix=e.uploadListPrefix;exports.uploadPrefix=e.uploadPrefix;
1
+ "use strict";
@@ -68,6 +68,14 @@ export interface UploadEmits {
68
68
  (e: 'resetRequest', value: UploadFile): void;
69
69
  (e: 'remove', value: UploadFile): void;
70
70
  }
71
+ export interface UploadDefSlotProps {
72
+ onClick: () => void;
73
+ onKeydown: () => void;
74
+ onDrop: () => void;
75
+ onDragover: () => void;
76
+ tabindex: number;
77
+ disabled: boolean;
78
+ }
71
79
  export interface UploadSlots {
72
80
  go?: (data: {
73
81
  uploadFile: UploadFile;
@@ -85,9 +93,11 @@ export interface UploadSlots {
85
93
  listItem?: (data: UploadContext & {
86
94
  uploadFile: UploadFile;
87
95
  }) => never;
88
- default?: (data: {
89
- onClick: () => void;
96
+ actions?: (data: UploadContext & {
97
+ uploadFile: UploadFile;
98
+ downloadFile: () => void;
90
99
  }) => never;
100
+ default?: (data: UploadDefSlotProps) => never;
91
101
  }
92
102
  export interface UploadContext {
93
103
  props: UploadProps;
@@ -2,7 +2,7 @@ import { createContext as C, ConfigProvider as w } from "reka-ui";
2
2
  import { toggleDark as A, getThemeConfig as h, init as F, defineTheme as g } from "@pantograph/tokens";
3
3
  import { computed as f, unref as y, ref as j, defineComponent as P, onMounted as _, watch as x, h as E, getCurrentInstance as q } from "vue";
4
4
  import { useMutationObserver as v } from "@vueuse/core";
5
- import { a as $ } from "./options-D4et5euX.js";
5
+ import { a as $ } from "./options-Bh1s18jm.js";
6
6
  var G = typeof global == "object" && global && global.Object === Object && global, L = typeof self == "object" && self && self.Object === Object && self, M = G || L || Function("return this")(), s = M.Symbol, D = Object.prototype, N = D.hasOwnProperty, I = D.toString, l = s ? s.toStringTag : void 0;
7
7
  function R(e) {
8
8
  var t = N.call(e, l), o = e[l];
@@ -1 +1 @@
1
- "use strict";const j=require("reka-ui"),f=require("@pantograph/tokens"),r=require("vue"),v=require("@vueuse/core"),x=require("./options-CWrQ7gsa.js");var T=typeof global=="object"&&global&&global.Object===Object&&global,_=typeof self=="object"&&self&&self.Object===Object&&self,O=T||_||Function("return this")(),s=O.Symbol,D=Object.prototype,E=D.hasOwnProperty,G=D.toString,d=s?s.toStringTag:void 0;function $(e){var t=E.call(e,d),o=e[d];try{e[d]=void 0;var c=!0}catch{}var i=G.call(e);return c&&(t?e[d]=o:delete e[d]),i}var L=Object.prototype,M=L.toString;function N(e){return M.call(e)}var U="[object Null]",I="[object Undefined]",y=s?s.toStringTag:void 0;function m(e){return e==null?e===void 0?I:U:y&&y in Object(e)?$(e):N(e)}function S(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R="[object AsyncFunction]",z="[object Function]",B="[object GeneratorFunction]",H="[object Proxy]";function C(e){if(!S(e))return!1;var t=m(e);return t==z||t==B||t==R||t==H}function k(e){return e!=null&&typeof e=="object"}var w=Array.isArray,J="[object String]";function b(e){return typeof e=="string"||!w(e)&&k(e)&&m(e)==J}const q=e=>{const t=r.computed(()=>{const n=r.unref(e);if(b(n)&&typeof document<"u")return document.querySelector(n);if((n==null?void 0:n.nodeType)===1)return n;if(typeof document<"u")return document.documentElement}),o=r.ref("ltr"),c=()=>{var n;((n=t.value)==null?void 0:n.nodeType)===1&&(o.value=getComputedStyle(t.value).direction)};c();const i=n=>{let a=n;(!n||!["rtl","ltr"].includes(n))&&(a=o.value==="ltr"?"rtl":"ltr"),t.value&&(t.value.dir=a)};return v.useMutationObserver(t,c,{attributes:!0,attributeFilter:["dir","class","style"]}),[o,i]},A=e=>{const t=r.computed(()=>{const n=r.unref(e);if(b(n)&&typeof document<"u")return document.querySelector(n);if((n==null?void 0:n.nodeType)===1)return n;if(typeof document<"u")return document.documentElement}),o=r.ref(!1),c=()=>{var n,a,g;((n=t.value)==null?void 0:n.nodeType)===1&&(o.value=((g=(a=t.value)==null?void 0:a.classList)==null?void 0:g.contains("pantograph-dark"))??!1)};c();const i=n=>{let a=n;[!0,!1].includes(n)||(a=!o.value),t.value&&f.toggleDark(a,t.value)};return v.useMutationObserver(t,c,{attributes:!0,attributeFilter:["class","data-theme"]}),[o,i]},[K,F]=j.createContext("config-provider"),[Q,V]=q(),[W,X]=A(),Y={dir:Q,changeDirection:V,dark:W,flipOnDir:r.computed(()=>"none"),toggleDark:X,changeTheme:f.defineTheme,theme:r.computed(()=>f.getThemeConfig())},P=()=>K(Y),Z=r.defineComponent({name:x.getComponentName("ConfigProvider"),inheritAttrs:!1,props:{flipOnDir:{type:String,required:!1},locale:{type:[String,Object],required:!1},theme:{type:Object,required:!1},changeAbleDirectionElement:{type:[String,Object],default:"html"},changeAbleDarkElement:{type:[String,Object],default:"html"}},setup(e,{slots:t}){const[o,c]=q(e.changeAbleDirectionElement),[i,n]=A(e.changeAbleDarkElement);r.onMounted(()=>{r.watch(()=>e.theme,()=>{var u,l;if((u=e.theme)!=null&&u.init||(l=e.theme)!=null&&l.element){const{init:te,...h}=e.theme;typeof window<"u"&&!window.pantographThemeDefined?(f.init(h),window.pantographThemeDefined=!0):f.defineTheme(h)}},{immediate:!0})});const a=r.computed(()=>({...f.getThemeConfig(e.theme),dark:i.value})),g=r.computed(()=>e.flipOnDir),p=u=>{var l;return f.defineTheme({element:(l=e.theme)==null?void 0:l.element,...u})};return F({dir:o,theme:a,flipOnDir:g,dark:i,changeDirection:c,changeTheme:p,toggleDark:n}),()=>r.h(j.ConfigProvider,{dir:o.value},{default:()=>{var u;return(u=t.default)==null?void 0:u.call(t,{dir:o.value,theme:a.value,dark:i.value,changeDirection:c,changeTheme:p,toggleDark:n})}})}}),ee=()=>{const e=P(),t=r.getCurrentInstance();return{config:e,getFlipOnDir:i=>r.computed(()=>(t==null?void 0:t.props)[i]??e.flipOnDir.value),getDir:i=>r.computed(()=>(i&&C(i)?i():(t==null?void 0:t.props).dir)??e.dir.value)}};exports.ConfigProvider=Z;exports.Symbol=s;exports.baseGetTag=m;exports.freeGlobal=T;exports.injectConfigContext=P;exports.isArray=w;exports.isFunction=C;exports.isObject=S;exports.isObjectLike=k;exports.isString=b;exports.provideConfigContext=F;exports.root=O;exports.useConfig=ee;
1
+ "use strict";const j=require("reka-ui"),f=require("@pantograph/tokens"),r=require("vue"),v=require("@vueuse/core"),x=require("./options-CY2uxp5A.js");var T=typeof global=="object"&&global&&global.Object===Object&&global,_=typeof self=="object"&&self&&self.Object===Object&&self,O=T||_||Function("return this")(),s=O.Symbol,D=Object.prototype,E=D.hasOwnProperty,G=D.toString,d=s?s.toStringTag:void 0;function $(e){var t=E.call(e,d),o=e[d];try{e[d]=void 0;var c=!0}catch{}var i=G.call(e);return c&&(t?e[d]=o:delete e[d]),i}var L=Object.prototype,M=L.toString;function N(e){return M.call(e)}var U="[object Null]",I="[object Undefined]",y=s?s.toStringTag:void 0;function m(e){return e==null?e===void 0?I:U:y&&y in Object(e)?$(e):N(e)}function S(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R="[object AsyncFunction]",z="[object Function]",B="[object GeneratorFunction]",H="[object Proxy]";function C(e){if(!S(e))return!1;var t=m(e);return t==z||t==B||t==R||t==H}function k(e){return e!=null&&typeof e=="object"}var w=Array.isArray,J="[object String]";function b(e){return typeof e=="string"||!w(e)&&k(e)&&m(e)==J}const q=e=>{const t=r.computed(()=>{const n=r.unref(e);if(b(n)&&typeof document<"u")return document.querySelector(n);if((n==null?void 0:n.nodeType)===1)return n;if(typeof document<"u")return document.documentElement}),o=r.ref("ltr"),c=()=>{var n;((n=t.value)==null?void 0:n.nodeType)===1&&(o.value=getComputedStyle(t.value).direction)};c();const i=n=>{let a=n;(!n||!["rtl","ltr"].includes(n))&&(a=o.value==="ltr"?"rtl":"ltr"),t.value&&(t.value.dir=a)};return v.useMutationObserver(t,c,{attributes:!0,attributeFilter:["dir","class","style"]}),[o,i]},A=e=>{const t=r.computed(()=>{const n=r.unref(e);if(b(n)&&typeof document<"u")return document.querySelector(n);if((n==null?void 0:n.nodeType)===1)return n;if(typeof document<"u")return document.documentElement}),o=r.ref(!1),c=()=>{var n,a,g;((n=t.value)==null?void 0:n.nodeType)===1&&(o.value=((g=(a=t.value)==null?void 0:a.classList)==null?void 0:g.contains("pantograph-dark"))??!1)};c();const i=n=>{let a=n;[!0,!1].includes(n)||(a=!o.value),t.value&&f.toggleDark(a,t.value)};return v.useMutationObserver(t,c,{attributes:!0,attributeFilter:["class","data-theme"]}),[o,i]},[K,F]=j.createContext("config-provider"),[Q,V]=q(),[W,X]=A(),Y={dir:Q,changeDirection:V,dark:W,flipOnDir:r.computed(()=>"none"),toggleDark:X,changeTheme:f.defineTheme,theme:r.computed(()=>f.getThemeConfig())},P=()=>K(Y),Z=r.defineComponent({name:x.getComponentName("ConfigProvider"),inheritAttrs:!1,props:{flipOnDir:{type:String,required:!1},locale:{type:[String,Object],required:!1},theme:{type:Object,required:!1},changeAbleDirectionElement:{type:[String,Object],default:"html"},changeAbleDarkElement:{type:[String,Object],default:"html"}},setup(e,{slots:t}){const[o,c]=q(e.changeAbleDirectionElement),[i,n]=A(e.changeAbleDarkElement);r.onMounted(()=>{r.watch(()=>e.theme,()=>{var u,l;if((u=e.theme)!=null&&u.init||(l=e.theme)!=null&&l.element){const{init:te,...h}=e.theme;typeof window<"u"&&!window.pantographThemeDefined?(f.init(h),window.pantographThemeDefined=!0):f.defineTheme(h)}},{immediate:!0})});const a=r.computed(()=>({...f.getThemeConfig(e.theme),dark:i.value})),g=r.computed(()=>e.flipOnDir),p=u=>{var l;return f.defineTheme({element:(l=e.theme)==null?void 0:l.element,...u})};return F({dir:o,theme:a,flipOnDir:g,dark:i,changeDirection:c,changeTheme:p,toggleDark:n}),()=>r.h(j.ConfigProvider,{dir:o.value},{default:()=>{var u;return(u=t.default)==null?void 0:u.call(t,{dir:o.value,theme:a.value,dark:i.value,changeDirection:c,changeTheme:p,toggleDark:n})}})}}),ee=()=>{const e=P(),t=r.getCurrentInstance();return{config:e,getFlipOnDir:i=>r.computed(()=>(t==null?void 0:t.props)[i]??e.flipOnDir.value),getDir:i=>r.computed(()=>(i&&C(i)?i():(t==null?void 0:t.props).dir)??e.dir.value)}};exports.ConfigProvider=Z;exports.Symbol=s;exports.baseGetTag=m;exports.freeGlobal=T;exports.injectConfigContext=P;exports.isArray=w;exports.isFunction=C;exports.isObject=S;exports.isObjectLike=k;exports.isString=b;exports.provideConfigContext=F;exports.root=O;exports.useConfig=ee;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Sn=Object.create,jt=Object.defineProperty,In=Object.getOwnPropertyDescriptor,Se=Object.getOwnPropertyNames,kn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty,Rn=(e,t)=>function(){return e&&(t=(0,e[Se(e)[0]])(e=0)),t},wn=(e,t)=>function(){return t||(0,e[Se(e)[0]])((t={exports:{}}).exports,t),t.exports},Pn=(e,t,n,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Se(t))!bn.call(e,r)&&r!==n&&jt(e,r,{get:()=>t[r],enumerable:!(u=In(t,r))||u.enumerable});return e},Vn=(e,t,n)=>(n=e!=null?Sn(kn(e)):{},Pn(jt(n,"default",{value:e,enumerable:!0}),e)),ee=Rn({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),xn=wn({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){ee(),t.exports=u;function n(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function u(o){if(o=o||{},o.circles)return r(o);const i=new Map;if(i.set(Date,d=>new Date(d)),i.set(Map,(d,m)=>new Map(h(Array.from(d),m))),i.set(Set,(d,m)=>new Set(h(Array.from(d),m))),o.constructorHandlers)for(const d of o.constructorHandlers)i.set(d[0],d[1]);let a=null;return o.proto?A:p;function h(d,m){const c=Object.keys(d),_=new Array(c.length);for(let g=0;g<c.length;g++){const f=c[g],E=d[f];typeof E!="object"||E===null?_[f]=E:E.constructor!==Object&&(a=i.get(E.constructor))?_[f]=a(E,m):ArrayBuffer.isView(E)?_[f]=n(E):_[f]=m(E)}return _}function p(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return h(d,p);if(d.constructor!==Object&&(a=i.get(d.constructor)))return a(d,p);const m={};for(const c in d){if(Object.hasOwnProperty.call(d,c)===!1)continue;const _=d[c];typeof _!="object"||_===null?m[c]=_:_.constructor!==Object&&(a=i.get(_.constructor))?m[c]=a(_,p):ArrayBuffer.isView(_)?m[c]=n(_):m[c]=p(_)}return m}function A(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return h(d,A);if(d.constructor!==Object&&(a=i.get(d.constructor)))return a(d,A);const m={};for(const c in d){const _=d[c];typeof _!="object"||_===null?m[c]=_:_.constructor!==Object&&(a=i.get(_.constructor))?m[c]=a(_,A):ArrayBuffer.isView(_)?m[c]=n(_):m[c]=A(_)}return m}}function r(o){const i=[],a=[],h=new Map;if(h.set(Date,c=>new Date(c)),h.set(Map,(c,_)=>new Map(A(Array.from(c),_))),h.set(Set,(c,_)=>new Set(A(Array.from(c),_))),o.constructorHandlers)for(const c of o.constructorHandlers)h.set(c[0],c[1]);let p=null;return o.proto?m:d;function A(c,_){const g=Object.keys(c),f=new Array(g.length);for(let E=0;E<g.length;E++){const T=g[E],y=c[T];if(typeof y!="object"||y===null)f[T]=y;else if(y.constructor!==Object&&(p=h.get(y.constructor)))f[T]=p(y,_);else if(ArrayBuffer.isView(y))f[T]=n(y);else{const k=i.indexOf(y);k!==-1?f[T]=a[k]:f[T]=_(y)}}return f}function d(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return A(c,d);if(c.constructor!==Object&&(p=h.get(c.constructor)))return p(c,d);const _={};i.push(c),a.push(_);for(const g in c){if(Object.hasOwnProperty.call(c,g)===!1)continue;const f=c[g];if(typeof f!="object"||f===null)_[g]=f;else if(f.constructor!==Object&&(p=h.get(f.constructor)))_[g]=p(f,d);else if(ArrayBuffer.isView(f))_[g]=n(f);else{const E=i.indexOf(f);E!==-1?_[g]=a[E]:_[g]=d(f)}}return i.pop(),a.pop(),_}function m(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return A(c,m);if(c.constructor!==Object&&(p=h.get(c.constructor)))return p(c,m);const _={};i.push(c),a.push(_);for(const g in c){const f=c[g];if(typeof f!="object"||f===null)_[g]=f;else if(f.constructor!==Object&&(p=h.get(f.constructor)))_[g]=p(f,m);else if(ArrayBuffer.isView(f))_[g]=n(f);else{const E=i.indexOf(f);E!==-1?_[g]=a[E]:_[g]=m(f)}}return i.pop(),a.pop(),_}}}});ee();ee();ee();var $t=typeof navigator<"u",l=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof l.chrome<"u"&&l.chrome.devtools;$t&&(l.self,l.top);var Ke;typeof navigator<"u"&&((Ke=navigator.userAgent)==null||Ke.toLowerCase().includes("electron"));ee();var Nn=Vn(xn()),Fn=/(?:^|[-_/])(\w)/g;function Bn(e,t){return t?t.toUpperCase():""}function Un(e){return e&&`${e}`.replace(Fn,Bn)}function Ln(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const u=n.lastIndexOf("/"),r=n.substring(u+1);{const o=r.lastIndexOf(t);return r.substring(0,o)}}var He=(0,Nn.default)({circles:!0});const Mn={trailing:!0};function M(e,t=25,n={}){if(n={...Mn,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let u,r,o=[],i,a;const h=(p,A)=>(i=Kn(e,p,A),i.finally(()=>{if(i=null,n.trailing&&a&&!r){const d=h(p,a);return a=null,d}}),i);return function(...p){return i?(n.trailing&&(a=p),i):new Promise(A=>{const d=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const m=n.leading?u:h(this,p);for(const c of o)c(m);o=[]},t),d?(u=h(this,p),A(u)):o.push(A)})}}async function Kn(e,t,n){return await e.apply(t,n)}function ge(e,t={},n){for(const u in e){const r=e[u],o=n?`${n}:${u}`:u;typeof r=="object"&&r!==null?ge(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const Hn={run:e=>e()},zn=()=>Hn,Gt=typeof console.createTask<"u"?console.createTask:zn;function jn(e,t){const n=t.shift(),u=Gt(n);return e.reduce((r,o)=>r.then(()=>u.run(()=>o(...t))),Promise.resolve())}function $n(e,t){const n=t.shift(),u=Gt(n);return Promise.all(e.map(r=>u.run(()=>r(...t))))}function Ee(e,t){for(const n of[...e])n(t)}class Gn{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,u={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!u.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let u,r=(...o)=>(typeof u=="function"&&u(),u=void 0,r=void 0,n(...o));return u=this.hook(t,r),u}removeHook(t,n){if(this._hooks[t]){const u=this._hooks[t].indexOf(n);u!==-1&&this._hooks[t].splice(u,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const u=this._hooks[t]||[];delete this._hooks[t];for(const r of u)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ge(t),u=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of u.splice(0,u.length))r()}}removeHooks(t){const n=ge(t);for(const u in n)this.removeHook(u,n[u])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(jn,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith($n,t,...n)}callHookWith(t,n,...u){const r=this._before||this._after?{name:n,args:u,context:{}}:void 0;this._before&&Ee(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],u);return o instanceof Promise?o.finally(()=>{this._after&&r&&Ee(this._after,r)}):(this._after&&r&&Ee(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function qt(){return new Gn}var qn=Object.create,Yt=Object.defineProperty,Yn=Object.getOwnPropertyDescriptor,Ie=Object.getOwnPropertyNames,Wn=Object.getPrototypeOf,Zn=Object.prototype.hasOwnProperty,Xn=(e,t)=>function(){return e&&(t=(0,e[Ie(e)[0]])(e=0)),t},Wt=(e,t)=>function(){return t||(0,e[Ie(e)[0]])((t={exports:{}}).exports,t),t.exports},Jn=(e,t,n,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Ie(t))!Zn.call(e,r)&&r!==n&&Yt(e,r,{get:()=>t[r],enumerable:!(u=Yn(t,r))||u.enumerable});return e},Qn=(e,t,n)=>(n=e!=null?qn(Wn(e)):{},Jn(Yt(n,"default",{value:e,enumerable:!0}),e)),s=Xn({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),eu=Wt({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){s(),function(n){var u={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},h=[";","?",":","@","&","=","+","$",",","/"].join(""),p=[";","?",":","@","&","=","+","$",","].join(""),A=[".","!","~","*","'","(",")"].join(""),d=function(f,E){var T="-",y="",k="",ce=!0,w={},Be,te,$,_e,fe,Ue,G,B,Le,P,v,ne,b,U,V="";if(typeof f!="string")return"";if(typeof E=="string"&&(T=E),G=a.en,B=i.en,typeof E=="object"){Be=E.maintainCase||!1,w=E.custom&&typeof E.custom=="object"?E.custom:w,$=+E.truncate>1&&E.truncate||!1,_e=E.uric||!1,fe=E.uricNoSlash||!1,Ue=E.mark||!1,ce=!(E.symbols===!1||E.lang===!1),T=E.separator||T,_e&&(V+=h),fe&&(V+=p),Ue&&(V+=A),G=E.lang&&a[E.lang]&&ce?a[E.lang]:ce?a.en:{},B=E.lang&&i[E.lang]?i[E.lang]:E.lang===!1||E.lang===!0?{}:i.en,E.titleCase&&typeof E.titleCase.length=="number"&&Array.prototype.toString.call(E.titleCase)?(E.titleCase.forEach(function(I){w[I+""]=I+""}),te=!0):te=!!E.titleCase,E.custom&&typeof E.custom.length=="number"&&Array.prototype.toString.call(E.custom)&&E.custom.forEach(function(I){w[I+""]=I+""}),Object.keys(w).forEach(function(I){var q;I.length>1?q=new RegExp("\\b"+c(I)+"\\b","gi"):q=new RegExp(c(I),"gi"),f=f.replace(q,w[I])});for(v in w)V+=v}for(V+=T,V=c(V),f=f.replace(/(^\s+|\s+$)/g,""),b=!1,U=!1,P=0,ne=f.length;P<ne;P++)v=f[P],_(v,w)?b=!1:B[v]?(v=b&&B[v].match(/[A-Za-z0-9]/)?" "+B[v]:B[v],b=!1):v in u?(P+1<ne&&r.indexOf(f[P+1])>=0?(k+=v,v=""):U===!0?(v=o[k]+u[v],k=""):v=b&&u[v].match(/[A-Za-z0-9]/)?" "+u[v]:u[v],b=!1,U=!1):v in o?(k+=v,v="",P===ne-1&&(v=o[k]),U=!0):G[v]&&!(_e&&h.indexOf(v)!==-1)&&!(fe&&p.indexOf(v)!==-1)?(v=b||y.substr(-1).match(/[A-Za-z0-9]/)?T+G[v]:G[v],v+=f[P+1]!==void 0&&f[P+1].match(/[A-Za-z0-9]/)?T:"",b=!0):(U===!0?(v=o[k]+v,k="",U=!1):b&&(/[A-Za-z0-9]/.test(v)||y.substr(-1).match(/A-Za-z0-9]/))&&(v=" "+v),b=!1),y+=v.replace(new RegExp("[^\\w\\s"+V+"_-]","g"),T);return te&&(y=y.replace(/(\w)(\S*)/g,function(I,q,Me){var de=q.toUpperCase()+(Me!==null?Me:"");return Object.keys(w).indexOf(de.toLowerCase())<0?de:de.toLowerCase()})),y=y.replace(/\s+/g,T).replace(new RegExp("\\"+T+"+","g"),T).replace(new RegExp("(^\\"+T+"+|\\"+T+"+$)","g"),""),$&&y.length>$&&(Le=y.charAt($)===T,y=y.slice(0,$),Le||(y=y.slice(0,y.lastIndexOf(T)))),!Be&&!te&&(y=y.toLowerCase()),y},m=function(f){return function(T){return d(T,f)}},c=function(f){return f.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(g,f){for(var E in f)if(f[E]===g)return!0};if(typeof t<"u"&&t.exports)t.exports=d,t.exports.createSlug=m;else if(typeof define<"u"&&define.amd)define([],function(){return d});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=d,n.createSlug=m}catch{}}(e)}}),tu=Wt({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){s(),t.exports=eu()}});s();s();s();s();s();s();s();s();function nu(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function uu(e){const t=e.__file;if(t)return Un(Ln(t,".vue"))}function ze(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function ke(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Zt(e){var t,n;const u=(t=e.subTree)==null?void 0:t.type,r=ke(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===u:!1}function se(e){var t,n,u;const r=nu((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return ze(e,i);for(const i in(u=e.appContext)==null?void 0:u.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return ze(e,i);const o=uu((e==null?void 0:e.type)||{});return o||"Anonymous Component"}function ru(e){var t,n,u;const r=(u=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?u:0,o=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${o}`}function me(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function ou(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var ue;function iu(e){return ue||(ue=document.createRange()),ue.selectNode(e),ue.getBoundingClientRect()}function su(e){const t=ou();if(!e.children)return t;for(let n=0,u=e.children.length;n<u;n++){const r=e.children[n];let o;if(r.component)o=F(r.component);else if(r.el){const i=r.el;i.nodeType===1||i.getBoundingClientRect?o=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(o=iu(i))}o&&au(t,o)}return t}function au(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var je={top:0,left:0,right:0,bottom:0,width:0,height:0};function F(e){const t=e.subTree.el;return typeof window>"u"?je:Zt(e)?su(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?F(e.subTree.component):je}s();function be(e){return Zt(e)?lu(e.subTree):e.subTree?[e.subTree.el]:[]}function lu(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...be(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var Xt="__vue-devtools-component-inspector__",Jt="__vue-devtools-component-inspector__card__",Qt="__vue-devtools-component-inspector__name__",en="__vue-devtools-component-inspector__indicator__",tn={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},cu={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},_u={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function z(){return document.getElementById(Xt)}function fu(){return document.getElementById(Jt)}function du(){return document.getElementById(en)}function Eu(){return document.getElementById(Qt)}function Re(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function we(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Xt,Object.assign(n.style,{...tn,...Re(e.bounds),...e.style});const u=document.createElement("span");u.id=Jt,Object.assign(u.style,{...cu,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Qt,r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const o=document.createElement("i");return o.id=en,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(o.style,_u),u.appendChild(r),u.appendChild(o),n.appendChild(u),document.body.appendChild(n),n}function Pe(e){const t=z(),n=fu(),u=Eu(),r=du();t&&(Object.assign(t.style,{...tn,...Re(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),u.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function pu(e){const t=F(e);if(!t.width&&!t.height)return;const n=se(e);z()?Pe({bounds:t,name:n}):we({bounds:t,name:n})}function nn(){const e=z();e&&(e.style.display="none")}var ve=null;function Ae(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(ve=n,n.vnode.el)){const r=F(n),o=se(n);z()?Pe({bounds:r,name:o}):we({bounds:r,name:o})}}}function hu(e,t){if(e.preventDefault(),e.stopPropagation(),ve){const n=ru(ve);t(n)}}var ie=null;function gu(){nn(),window.removeEventListener("mouseover",Ae),window.removeEventListener("click",ie,!0),ie=null}function mu(){return window.addEventListener("mouseover",Ae),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),hu(n,u=>{window.removeEventListener("click",t,!0),ie=null,window.removeEventListener("mouseover",Ae);const r=z();r&&(r.style.display="none"),e(JSON.stringify({id:u}))})}ie=t,window.addEventListener("click",t,!0)})}function vu(e){const t=me(D.value,e.id);if(t){const[n]=be(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const u=F(t),r=document.createElement("div"),o={...Re(u),position:"absolute"};Object.assign(r.style,o),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const u=F(t);if(u.width||u.height){const r=se(t),o=z();o?Pe({...e,name:r,bounds:u}):we({...e,name:r,bounds:u}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}s();var $e,Ge;(Ge=($e=l).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||($e.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Au(e){let t=0;const n=setInterval(()=>{l.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function yu(){const e=l.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Ou(){return new Promise(e=>{function t(){yu(),e(l.__VUE_INSPECTOR__)}l.__VUE_INSPECTOR__?t():Au(()=>{t()})})}s();s();function Tu(e){return!!(e&&e.__v_isReadonly)}function un(e){return Tu(e)?un(e.__v_raw):!!(e&&e.__v_isReactive)}function pe(e){return!!(e&&e.__v_isRef===!0)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}var Cu=class{constructor(){this.refEditor=new Du}set(e,t,n,u){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const a=r.shift();e instanceof Map?e=e.get(a):e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const o=r[0],i=this.refEditor.get(e)[o];u?u(e,o,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[o]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let u=0;u<n.length;u++)if(e instanceof Map?e=e.get(n[u]):e=e[n[u]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const u=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&u.length>r;){const o=u.shift();e=e[o],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,u[0])}createDefaultSetCallback(e){return(t,n,u)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Y(t)instanceof Map?t.delete(n):Y(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,u):Y(t)instanceof Map?t.set(e.newKey||n,u):Y(t)instanceof Set?t.add(u):t[e.newKey||n]=u}}}},Du=class{set(e,t){if(pe(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(o=>{e.set(o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>e.delete(o));return}const u=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),u.delete(r)}),u.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return pe(e)?e.value:e}isRef(e){return pe(e)||un(e)}};s();s();s();var Su="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Iu(){if(!$t||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(Su);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}s();s();s();var qe,Ye;(Ye=(qe=l).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(qe.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var ku=new Proxy(l.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function bu(e,t){C.timelineLayersState[t.id]=!1,ku.push({...e,descriptorId:t.id,appRecord:ke(t.app)})}var We,Ze;(Ze=(We=l).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(We.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Ve=new Proxy(l.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),rn=M(()=>{j.hooks.callHook("sendInspectorToClient",on())});function Ru(e,t){var n,u;Ve.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(u=e.stateFilterPlaceholder)!=null?u:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:ke(t.app)}),rn()}function on(){return Ve.filter(e=>e.descriptor.app===D.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,u=e.options;return{id:u.id,label:u.label,logo:n.logo,icon:`custom-ic-baseline-${(t=u==null?void 0:u.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function re(e,t){return Ve.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function wu(){const e=qt();e.hook("addInspector",({inspector:u,plugin:r})=>{Ru(u,r.descriptor)});const t=M(async({inspectorId:u,plugin:r})=>{var o;if(!u||!((o=r==null?void 0:r.descriptor)!=null&&o.app)||C.highPerfModeEnabled)return;const i=re(u,r.descriptor.app),a={app:r.descriptor.app,inspectorId:u,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(h=>{e.callHookWith(async p=>{await Promise.all(p.map(A=>A(a))),h()},"getInspectorTree")}),e.callHookWith(async h=>{await Promise.all(h.map(p=>p({inspectorId:u,rootNodes:a.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=M(async({inspectorId:u,plugin:r})=>{var o;if(!u||!((o=r==null?void 0:r.descriptor)!=null&&o.app)||C.highPerfModeEnabled)return;const i=re(u,r.descriptor.app),a={app:r.descriptor.app,inspectorId:u,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},h={currentTab:`custom-inspector:${u}`};a.nodeId&&await new Promise(p=>{e.callHookWith(async A=>{await Promise.all(A.map(d=>d(a,h))),p()},"getInspectorState")}),e.callHookWith(async p=>{await Promise.all(p.map(A=>A({inspectorId:u,nodeId:a.nodeId,state:a.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:u,nodeId:r,plugin:o})=>{const i=re(u,o.descriptor.app);i&&(i.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:u,plugin:r})=>{bu(u,r.descriptor)}),e.hook("timelineEventAdded",({options:u,plugin:r})=>{var o;const i=["performance","component-event","keyboard","mouse"];C.highPerfModeEnabled||!((o=C.timelineLayersState)!=null&&o[r.descriptor.id])&&!i.includes(u.layerId)||e.callHookWith(async a=>{await Promise.all(a.map(h=>h(u)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:u})=>{const r=u.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const o=r.id.toString();return[...r.instanceMap].filter(([a])=>a.split(":")[0]===o).map(([,a])=>a)}),e.hook("getComponentBounds",async({instance:u})=>F(u)),e.hook("getComponentName",({instance:u})=>se(u)),e.hook("componentHighlight",({uid:u})=>{const r=D.value.instanceMap.get(u);r&&pu(r)}),e.hook("componentUnhighlight",()=>{nn()}),e}var Xe,Je;(Je=(Xe=l).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Xe.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Qe,et;(et=(Qe=l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Qe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var tt,nt;(nt=(tt=l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(tt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var ut,rt;(rt=(ut=l).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(ut.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var ot,it;(it=(ot=l).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(ot.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var N="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Pu(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Iu()}}var st,at;(at=(st=l)[N])!=null||(st[N]=Pu());var Vu=M(e=>{j.hooks.callHook("devtoolsStateUpdated",{state:e})});M((e,t)=>{j.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var ae=new Proxy(l.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?l.__VUE_DEVTOOLS_KIT_APP_RECORDS__:l.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),D=new Proxy(l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function sn(){Vu({...l[N],appRecords:ae.value,activeAppRecordId:D.id,tabs:l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function xu(e){l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,sn()}function Nu(e){l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,sn()}var C=new Proxy(l[N],{get(e,t){return t==="appRecords"?ae:t==="activeAppRecordId"?D.id:t==="tabs"?l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:l[N][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...l[N]},e[t]=n,l[N][t]=n,!0}});function Fu(e={}){var t,n,u;const{file:r,host:o,baseUrl:i=window.location.origin,line:a=0,column:h=0}=e;if(r){if(o==="chrome-extension"){const p=r.replace(/\\/g,"\\\\"),A=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${A}__open-in-editor?file=${encodeURI(r)}`).then(d=>{if(!d.ok){const m=`Opening component ${p} failed`;console.log(`%c${m}`,"color:red")}})}else if(C.vitePluginDetected){const p=(u=l.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?u:i;l.__VUE_INSPECTOR__.openInEditor(p,r,a,h)}}}s();s();s();s();s();var lt,ct;(ct=(lt=l).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(lt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var xe=new Proxy(l.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function ye(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Ne(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Bu(e){var t,n,u;const r=(n=(t=xe.find(o=>{var i;return o[0].id===e&&!!((i=o[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(u=r==null?void 0:r.settings)!=null?u:null}function an(e,t){var n,u,r;const o=Ne(e);if(o){const i=localStorage.getItem(o);if(i)return JSON.parse(i)}if(e){const i=(u=(n=xe.find(a=>a[0].id===e))==null?void 0:n[0])!=null?u:null;return ye((r=i==null?void 0:i.settings)!=null?r:{})}return ye(t)}function Uu(e,t){const n=Ne(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(ye(t)))}function Lu(e,t,n){const u=Ne(e),r=localStorage.getItem(u),o=JSON.parse(r||"{}"),i={...o,[t]:n};localStorage.setItem(u,JSON.stringify(i)),j.hooks.callHookWith(a=>{a.forEach(h=>h({pluginId:e,key:t,oldValue:o[t],newValue:n,settings:i}))},"setPluginSettings")}s();s();s();s();s();s();s();s();s();s();s();var _t,ft,S=(ft=(_t=l).__VUE_DEVTOOLS_HOOK)!=null?ft:_t.__VUE_DEVTOOLS_HOOK=qt(),Mu={vueAppInit(e){S.hook("app:init",e)},vueAppUnmount(e){S.hook("app:unmount",e)},vueAppConnected(e){S.hook("app:connected",e)},componentAdded(e){return S.hook("component:added",e)},componentEmit(e){return S.hook("component:emit",e)},componentUpdated(e){return S.hook("component:updated",e)},componentRemoved(e){return S.hook("component:removed",e)},setupDevtoolsPlugin(e){S.hook("devtools-plugin:setup",e)},perfStart(e){return S.hook("perf:start",e)},perfEnd(e){return S.hook("perf:end",e)}},ln={on:Mu,setupDevToolsPlugin(e,t){return S.callHook("devtools-plugin:setup",e,t)}},Ku=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(C.highPerfModeEnabled)return;const n=on().find(u=>u.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const u=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];S.callHook("component:updated",...u)}else S.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Uu(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){C.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){C.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return C.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){C.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return an(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Hu=Ku;s();s();s();s();var zu="__vue_devtool_undefined__",ju="__vue_devtool_infinity__",$u="__vue_devtool_negative_infinity__",Gu="__vue_devtool_nan__";s();s();var qu={[zu]:"undefined",[Gu]:"NaN",[ju]:"Infinity",[$u]:"-Infinity"};Object.entries(qu).reduce((e,[t,n])=>(e[n]=t,e),{});s();s();s();s();s();var dt,Et;(Et=(dt=l).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(dt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function cn(e,t){return ln.setupDevToolsPlugin(e,t)}function Yu(e,t){const[n,u]=e;if(n.app!==t)return;const r=new Hu({plugin:{setupFn:u,descriptor:n},ctx:j});n.packageName==="vuex"&&r.on.editInspectorState(o=>{r.sendInspectorState(o.inspectorId)}),u(r)}function _n(e,t){l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||C.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),xe.forEach(n=>{Yu(n,e)}))}s();s();var Z="__VUE_DEVTOOLS_ROUTER__",K="__VUE_DEVTOOLS_ROUTER_INFO__",pt,ht;(ht=(pt=l)[K])!=null||(pt[K]={currentRoute:null,routes:[]});var gt,mt;(mt=(gt=l)[Z])!=null||(gt[Z]={});new Proxy(l[K],{get(e,t){return l[K][t]}});new Proxy(l[Z],{get(e,t){if(t==="value")return l[Z]}});function Wu(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Fe(e){return e.map(t=>{let{path:n,name:u,children:r,meta:o}=t;return r!=null&&r.length&&(r=Fe(r)),{path:n,name:u,children:r,meta:o}})}function Zu(e){if(e){const{fullPath:t,hash:n,href:u,path:r,name:o,matched:i,params:a,query:h}=e;return{fullPath:t,hash:n,href:u,path:r,name:o,params:a,query:h,matched:Fe(i)}}return e}function Xu(e,t){function n(){var u;const r=(u=e.app)==null?void 0:u.config.globalProperties.$router,o=Zu(r==null?void 0:r.currentRoute.value),i=Fe(Wu(r)),a=console.warn;console.warn=()=>{},l[K]={currentRoute:o?He(o):{},routes:He(i)},l[Z]=r,console.warn=a}n(),ln.on.componentUpdated(M(()=>{var u;((u=t.value)==null?void 0:u.app)===e.app&&(n(),!C.highPerfModeEnabled&&j.hooks.callHook("routerInfoUpdated",{state:l[K]}))},200))}function Ju(e){return{async getInspectorTree(t){const n={...t,app:D.value.app,rootNodes:[]};return await new Promise(u=>{e.callHookWith(async r=>{await Promise.all(r.map(o=>o(n))),u()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:D.value.app,state:null},u={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(i=>i(n,u))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Cu,u={...t,app:D.value.app,set:(r,o=t.path,i=t.state.value,a)=>{n.set(r,o,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(o=>o(u))},"editInspectorState")},sendInspectorState(t){const n=re(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return mu()},cancelInspectComponentInspector(){return gu()},getComponentRenderCode(t){const n=me(D.value,t);if(n)return typeof(n==null?void 0:n.type)!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return vu({id:t})},openInEditor:Fu,getVueInspector:Ou,toggleApp(t,n){const u=ae.value.find(r=>r.id===t);u&&(Nu(t),xu(u),Xu(u,D),rn(),_n(u.app,n))},inspectDOM(t){const n=me(D.value,t);if(n){const[u]=be(n);u&&(l.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=u)}},updatePluginSettings(t,n,u){Lu(t,n,u)},getPluginSettings(t){return{options:Bu(t),values:an(t)}}}}s();var vt,At;(At=(vt=l).__VUE_DEVTOOLS_ENV__)!=null||(vt.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var yt=wu(),Ot,Tt;(Tt=(Ot=l).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Ot.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:yt,get state(){return{...C,activeAppRecordId:D.id,activeAppRecord:D.value,appRecords:ae.value}},api:Ju(yt)});var j=l.__VUE_DEVTOOLS_KIT_CONTEXT__;s();Qn(tu());var Ct,Dt;(Dt=(Ct=l).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Ct.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});s();s();function Qu(e){C.highPerfModeEnabled=e??!C.highPerfModeEnabled,!e&&D.value&&_n(D.value.app)}s();s();s();function er(e){C.devtoolsClientDetected={...C.devtoolsClientDetected,...e};const t=Object.values(C.devtoolsClientDetected).some(Boolean);Qu(!t)}var St,It;(It=(St=l).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(St.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=er);s();s();s();s();s();s();s();var tr=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},fn=class{constructor(e){this.generateIdentifier=e,this.kv=new tr}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},nr=class extends fn{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};s();s();function ur(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function rr(e,t){const n=ur(e);if("find"in n)return n.find(t);const u=n;for(let r=0;r<u.length;r++){const o=u[r];if(t(o))return o}}function H(e,t){Object.entries(e).forEach(([n,u])=>t(u,n))}function oe(e,t){return e.indexOf(t)!==-1}function kt(e,t){for(let n=0;n<e.length;n++){const u=e[n];if(t(u))return u}}var or=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return rr(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};s();s();var ir=e=>Object.prototype.toString.call(e).slice(8,-1),dn=e=>typeof e>"u",sr=e=>e===null,X=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Oe=e=>X(e)&&Object.keys(e).length===0,x=e=>Array.isArray(e),ar=e=>typeof e=="string",lr=e=>typeof e=="number"&&!isNaN(e),cr=e=>typeof e=="boolean",_r=e=>e instanceof RegExp,J=e=>e instanceof Map,Q=e=>e instanceof Set,En=e=>ir(e)==="Symbol",fr=e=>e instanceof Date&&!isNaN(e.valueOf()),dr=e=>e instanceof Error,bt=e=>typeof e=="number"&&isNaN(e),Er=e=>cr(e)||sr(e)||dn(e)||lr(e)||ar(e)||En(e),pr=e=>typeof e=="bigint",hr=e=>e===1/0||e===-1/0,gr=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),mr=e=>e instanceof URL;s();var pn=e=>e.replace(/\./g,"\\."),he=e=>e.map(String).map(pn).join("."),W=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let o=e.charAt(r);if(o==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(o==="."){t.push(n),n="";continue}n+=o}const u=n;return t.push(u),t};s();function R(e,t,n,u){return{isApplicable:e,annotation:t,transform:n,untransform:u}}var hn=[R(dn,"undefined",()=>null,()=>{}),R(pr,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),R(fr,"Date",e=>e.toISOString(),e=>new Date(e)),R(dr,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(u=>{n[u]=e[u]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(u=>{n[u]=e[u]}),n}),R(_r,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),R(Q,"set",e=>[...e.values()],e=>new Set(e)),R(J,"map",e=>[...e.entries()],e=>new Map(e)),R(e=>bt(e)||hr(e),"number",e=>bt(e)?"NaN":e>0?"Infinity":"-Infinity",Number),R(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),R(mr,"URL",e=>e.toString(),e=>new URL(e))];function le(e,t,n,u){return{isApplicable:e,annotation:t,transform:n,untransform:u}}var gn=le((e,t)=>En(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const u=n.symbolRegistry.getValue(t[1]);if(!u)throw new Error("Trying to deserialize unknown symbol");return u}),vr=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),mn=le(gr,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=vr[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function vn(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var An=le(vn,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const u={};return n.forEach(r=>{u[r]=e[r]}),u},(e,t,n)=>{const u=n.classRegistry.getValue(t[1]);if(!u)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(u.prototype),e)}),yn=le((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const u=n.customTransformerRegistry.findByName(t[1]);if(!u)throw new Error("Trying to deserialize unknown custom value");return u.deserialize(e)}),Ar=[An,gn,yn,mn],Rt=(e,t)=>{const n=kt(Ar,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const u=kt(hn,r=>r.isApplicable(e,t));if(u)return{value:u.transform(e,t),type:u.annotation}},On={};hn.forEach(e=>{On[e.annotation]=e});var yr=(e,t,n)=>{if(x(t))switch(t[0]){case"symbol":return gn.untransform(e,t,n);case"class":return An.untransform(e,t,n);case"custom":return yn.untransform(e,t,n);case"typed-array":return mn.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const u=On[t];if(!u)throw new Error("Unknown transformation: "+t);return u.untransform(e,n)}};s();var L=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Tn(e){if(oe(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(oe(e,"prototype"))throw new Error("prototype is not allowed as a property");if(oe(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Or=(e,t)=>{Tn(t);for(let n=0;n<t.length;n++){const u=t[n];if(Q(e))e=L(e,+u);else if(J(e)){const r=+u,o=+t[++n]==0?"key":"value",i=L(e,r);switch(o){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[u]}return e},Te=(e,t,n)=>{if(Tn(t),t.length===0)return n(e);let u=e;for(let o=0;o<t.length-1;o++){const i=t[o];if(x(u)){const a=+i;u=u[a]}else if(X(u))u=u[i];else if(Q(u)){const a=+i;u=L(u,a)}else if(J(u)){if(o===t.length-2)break;const h=+i,p=+t[++o]==0?"key":"value",A=L(u,h);switch(p){case"key":u=A;break;case"value":u=u.get(A);break}}}const r=t[t.length-1];if(x(u)?u[+r]=n(u[+r]):X(u)&&(u[r]=n(u[r])),Q(u)){const o=L(u,+r),i=n(o);o!==i&&(u.delete(o),u.add(i))}if(J(u)){const o=+t[t.length-2],i=L(u,o);switch(+r==0?"key":"value"){case"key":{const h=n(i);u.set(h,u.get(i)),h!==i&&u.delete(i);break}case"value":{u.set(i,n(u.get(i)));break}}}return e};function Ce(e,t,n=[]){if(!e)return;if(!x(e)){H(e,(o,i)=>Ce(o,t,[...n,...W(i)]));return}const[u,r]=e;r&&H(r,(o,i)=>{Ce(o,t,[...n,...W(i)])}),t(u,n)}function Tr(e,t,n){return Ce(t,(u,r)=>{e=Te(e,r,o=>yr(o,u,n))}),e}function Cr(e,t){function n(u,r){const o=Or(e,W(r));u.map(W).forEach(i=>{e=Te(e,i,()=>o)})}if(x(t)){const[u,r]=t;u.forEach(o=>{e=Te(e,W(o),()=>e)}),r&&H(r,n)}else H(t,n);return e}var Dr=(e,t)=>X(e)||x(e)||J(e)||Q(e)||vn(e,t);function Sr(e,t,n){const u=n.get(e);u?u.push(t):n.set(e,[t])}function Ir(e,t){const n={};let u;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(a=>a.map(String)).sort((a,h)=>a.length-h.length));const[o,...i]=r;o.length===0?u=i.map(he):n[he(o)]=i.map(he)}),u?Oe(n)?[u]:[u,n]:Oe(n)?void 0:n}var Cn=(e,t,n,u,r=[],o=[],i=new Map)=>{var a;const h=Er(e);if(!h){Sr(e,r,t);const _=i.get(e);if(_)return u?{transformedValue:null}:_}if(!Dr(e,n)){const _=Rt(e,n),g=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return h||i.set(e,g),g}if(oe(o,e))return{transformedValue:null};const p=Rt(e,n),A=(a=p==null?void 0:p.value)!=null?a:e,d=x(A)?[]:{},m={};H(A,(_,g)=>{if(g==="__proto__"||g==="constructor"||g==="prototype")throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);const f=Cn(_,t,n,u,[...r,g],[...o,e],i);d[g]=f.transformedValue,x(f.annotations)?m[g]=f.annotations:X(f.annotations)&&H(f.annotations,(E,T)=>{m[pn(g)+"."+T]=E})});const c=Oe(m)?{transformedValue:d,annotations:p?[p.type]:void 0}:{transformedValue:d,annotations:p?[p.type,m]:m};return h||i.set(e,c),c};s();s();function Dn(e){return Object.prototype.toString.call(e).slice(8,-1)}function wt(e){return Dn(e)==="Array"}function kr(e){if(Dn(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function br(e,t,n,u,r){const o={}.propertyIsEnumerable.call(u,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=n),r&&o==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function De(e,t={}){if(wt(e))return e.map(r=>De(r,t));if(!kr(e))return e;const n=Object.getOwnPropertyNames(e),u=Object.getOwnPropertySymbols(e);return[...n,...u].reduce((r,o)=>{if(wt(t.props)&&!t.props.includes(o))return r;const i=e[o],a=De(i,t);return br(r,o,a,e,t.nonenumerable),r},{})}var O=class{constructor({dedupe:e=!1}={}){this.classRegistry=new nr,this.symbolRegistry=new fn(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new or,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Cn(e,t,this,this.dedupe),u={json:n.transformedValue};n.annotations&&(u.meta={...u.meta,values:n.annotations});const r=Ir(t,this.dedupe);return r&&(u.meta={...u.meta,referentialEqualities:r}),u}deserialize(e){const{json:t,meta:n}=e;let u=De(t);return n!=null&&n.values&&(u=Tr(u,n.values,this)),n!=null&&n.referentialEqualities&&(u=Cr(u,n.referentialEqualities)),u}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};O.defaultInstance=new O;O.serialize=O.defaultInstance.serialize.bind(O.defaultInstance);O.deserialize=O.defaultInstance.deserialize.bind(O.defaultInstance);O.stringify=O.defaultInstance.stringify.bind(O.defaultInstance);O.parse=O.defaultInstance.parse.bind(O.defaultInstance);O.registerClass=O.defaultInstance.registerClass.bind(O.defaultInstance);O.registerSymbol=O.defaultInstance.registerSymbol.bind(O.defaultInstance);O.registerCustom=O.defaultInstance.registerCustom.bind(O.defaultInstance);O.allowErrorProps=O.defaultInstance.allowErrorProps.bind(O.defaultInstance);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Pt,Vt;(Vt=(Pt=l).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Pt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var xt,Nt;(Nt=(xt=l).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(xt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Ft,Bt;(Bt=(Ft=l).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Ft.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Ut,Lt;(Lt=(Ut=l).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(Ut.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var Mt,Kt;(Kt=(Mt=l).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(Mt.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var Ht,zt;(zt=(Ht=l).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(Ht.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);s();s();s();s();s();s();s();exports.setupDevToolsPlugin=cn;exports.setupDevtoolsPlugin=cn;