@fecp/mobile 1.1.48 → 1.1.50

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 (529) hide show
  1. package/es/mobile.css +15 -15
  2. package/es/node_modules/.pnpm/@vant_use@1.6.0_vue@3.5.13_typescript@5.7.3_/node_modules/@vant/use/dist/index.esm.mjs +2 -1
  3. package/es/node_modules/.pnpm/@vue_reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs +1523 -0
  4. package/es/node_modules/.pnpm/@vue_runtime-core@3.5.13/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs +5011 -0
  5. package/es/node_modules/.pnpm/@vue_runtime-dom@3.5.13/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs +1103 -0
  6. package/es/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.mjs +172 -1
  7. package/es/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/index.esm.mjs +1 -1
  8. package/es/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18nStore.mjs +1 -1
  9. package/es/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/icon.mjs +1 -1
  10. package/es/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/useFns.mjs +1 -1
  11. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-bar/ActionBar.mjs +2 -1
  12. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-bar-button/ActionBarButton.mjs +1 -1
  13. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-sheet/ActionSheet.mjs +1 -1
  14. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/back-top/BackTop.mjs +2 -1
  15. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/badge/Badge.mjs +1 -1
  16. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/button/Button.mjs +1 -1
  17. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/Calendar.mjs +3 -2
  18. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarDay.mjs +1 -1
  19. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarHeader.mjs +1 -1
  20. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarMonth.mjs +2 -1
  21. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cascader/Cascader.mjs +2 -1
  22. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell/Cell.mjs +1 -1
  23. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell-group/CellGroup.mjs +1 -1
  24. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/Checkbox.mjs +1 -1
  25. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/Checker.mjs +2 -1
  26. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox-group/CheckboxGroup.mjs +1 -1
  27. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/collapse/Collapse.mjs +1 -1
  28. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/collapse-item/CollapseItem.mjs +3 -1
  29. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/on-popup-reopen.mjs +1 -1
  30. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-expose.mjs +1 -1
  31. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-global-z-index.mjs +0 -4
  32. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-height.mjs +2 -1
  33. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-id.mjs +1 -1
  34. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-lazy-render.mjs +2 -1
  35. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-lock-scroll.mjs +1 -1
  36. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-placeholder.mjs +1 -1
  37. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-refs.mjs +2 -1
  38. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-route.mjs +1 -1
  39. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-scope-id.mjs +1 -1
  40. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-sync-prop-ref.mjs +2 -1
  41. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-tab-status.mjs +1 -1
  42. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-touch.mjs +1 -1
  43. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-visibility-change.mjs +1 -1
  44. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/config-provider/ConfigProvider.mjs +1 -99
  45. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/date-picker/DatePicker.mjs +4 -3
  46. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/Dialog.mjs +5 -3
  47. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/function-call.mjs +1 -1
  48. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/divider/Divider.mjs +1 -1
  49. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-item/DropdownItem.mjs +3 -1
  50. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-menu/DropdownMenu.mjs +3 -2
  51. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/empty/Empty.mjs +1 -1
  52. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/field/Field.mjs +4 -3
  53. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/floating-panel/FloatingPanel.mjs +2 -1
  54. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/form/Form.mjs +1 -1
  55. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid/Grid.mjs +2 -2
  56. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid-item/GridItem.mjs +1 -1
  57. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/highlight/Highlight.mjs +1 -1
  58. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/icon/Icon.mjs +2 -2
  59. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image/Image.mjs +2 -1
  60. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/ImagePreview.mjs +3 -2
  61. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/ImagePreviewItem.mjs +2 -1
  62. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/function-call.mjs +1 -1
  63. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/index-anchor/IndexAnchor.mjs +2 -1
  64. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/index-bar/IndexBar.mjs +2 -1
  65. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/list/List.mjs +2 -1
  66. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/loading/Loading.mjs +1 -1
  67. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/locale/index.mjs +1 -1
  68. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/nav-bar/NavBar.mjs +3 -2
  69. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notice-bar/NoticeBar.mjs +3 -1
  70. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/Notify.mjs +1 -1
  71. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/function-call.mjs +1 -1
  72. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/overlay/Overlay.mjs +3 -1
  73. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/pagination/Pagination.mjs +1 -1
  74. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/Picker.mjs +5 -4
  75. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/PickerColumn.mjs +3 -2
  76. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/PickerToolbar.mjs +1 -1
  77. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker-group/PickerGroup.mjs +1 -1
  78. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/popup/Popup.mjs +3 -1
  79. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/pull-refresh/PullRefresh.mjs +2 -1
  80. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio/Radio.mjs +1 -1
  81. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio-group/RadioGroup.mjs +2 -2
  82. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/search/Search.mjs +2 -1
  83. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sidebar/Sidebar.mjs +1 -1
  84. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sidebar-item/SidebarItem.mjs +1 -1
  85. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/step/Step.mjs +1 -1
  86. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/steps/Steps.mjs +2 -2
  87. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sticky/Sticky.mjs +3 -2
  88. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe/Swipe.mjs +3 -2
  89. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe-cell/SwipeCell.mjs +3 -2
  90. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe-item/SwipeItem.mjs +2 -1
  91. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tab/Tab.mjs +3 -1
  92. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tab/TabTitle.mjs +1 -1
  93. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/Tabbar.mjs +3 -2
  94. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/TabbarItem.mjs +1 -1
  95. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabs/Tabs.mjs +3 -2
  96. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabs/TabsContent.mjs +2 -1
  97. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/text-ellipsis/TextEllipsis.mjs +2 -1
  98. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/time-picker/TimePicker.mjs +4 -3
  99. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/toast/Toast.mjs +1 -1
  100. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/toast/function-call.mjs +2 -1
  101. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tree-select/TreeSelect.mjs +1 -1
  102. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/uploader/Uploader.mjs +3 -1
  103. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/uploader/UploaderPreviewItem.mjs +3 -3
  104. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/dom.mjs +1 -1
  105. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/format.mjs +0 -2
  106. package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/mount-component.mjs +2 -1
  107. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/grid.mjs +3 -2
  108. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/hook.mjs +1 -1
  109. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/panel.mjs +4 -2
  110. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/edit/hook.mjs +2 -1
  111. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/export-panel.mjs +2 -1
  112. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/hook.mjs +1 -1
  113. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/import-panel.mjs +2 -1
  114. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/hook.mjs +1 -1
  115. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/panel.mjs +2 -1
  116. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/hook.mjs +1 -1
  117. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/panel.mjs +2 -1
  118. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/validator/hook.mjs +1 -1
  119. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/render/index.mjs +1 -1
  120. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/body.mjs +3 -1
  121. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/cell.mjs +1 -1
  122. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/column.mjs +2 -1
  123. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/footer.mjs +3 -1
  124. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/group.mjs +2 -1
  125. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/header.mjs +3 -1
  126. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/table.mjs +2 -1
  127. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/use/cell-view.mjs +1 -1
  128. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/util.mjs +2 -1
  129. package/es/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/src/toolbar.mjs +2 -1
  130. package/es/packages/charts/src/components/baseChart/BaseChart.vue.mjs +3 -1
  131. package/es/packages/mobile/src/components/base/button/Button.vue.mjs +2 -1
  132. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +4 -4
  133. package/es/packages/mobile/src/components/base/cell/Cell.vue.mjs +2 -1
  134. package/es/packages/mobile/src/components/base/cellGroup/CellGroup.vue.mjs +2 -1
  135. package/es/packages/mobile/src/components/base/icon/Icon.vue.mjs +2 -1
  136. package/es/packages/mobile/src/components/base/image/Image.vue.mjs +2 -1
  137. package/es/packages/mobile/src/components/base/popup/Popup.vue.mjs +1 -1
  138. package/es/packages/mobile/src/components/custom/timeLineFilter/TimeLineFilter.vue.mjs +9 -7
  139. package/es/packages/mobile/src/components/dataDisplay/collapse/Collapse.vue.mjs +3 -1
  140. package/es/packages/mobile/src/components/dataDisplay/collapseItem/CollapseItem.vue.mjs +2 -1
  141. package/es/packages/mobile/src/components/dataDisplay/divider/Divider.vue.mjs +2 -1
  142. package/es/packages/mobile/src/components/dataDisplay/empty/Empty.vue.mjs +2 -1
  143. package/es/packages/mobile/src/components/dataDisplay/highlight/Highlight.vue.mjs +2 -1
  144. package/es/packages/mobile/src/components/dataDisplay/list/List.vue.mjs +2 -1
  145. package/es/packages/mobile/src/components/dataDisplay/noticeBar/NoticeBar.vue.mjs +2 -1
  146. package/es/packages/mobile/src/components/dataDisplay/step/Step.vue.mjs +2 -1
  147. package/es/packages/mobile/src/components/dataDisplay/steps/Steps.vue.mjs +3 -2
  148. package/es/packages/mobile/src/components/dataDisplay/swipe/Swipe.vue.mjs +2 -1
  149. package/es/packages/mobile/src/components/dataDisplay/swipeItem/SwipeItem.vue.mjs +2 -1
  150. package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +30 -15
  151. package/es/packages/mobile/src/components/dataDisplay/textEllipsis/TextEllipsis.vue.mjs +2 -1
  152. package/es/packages/mobile/src/components/dataDisplay/timeLine/TimeLine.vue.mjs +1 -1
  153. package/es/packages/mobile/src/components/feedback/actionSheet/ActionSheet.vue.mjs +2 -1
  154. package/es/packages/mobile/src/components/feedback/dropdownMenu/DropdownMenu.vue.mjs +4 -3
  155. package/es/packages/mobile/src/components/feedback/floatingBubble/FloatingBubble.mjs +3 -1
  156. package/es/packages/mobile/src/components/feedback/floatingBubble/FloatingBubble.vue.mjs +2 -1
  157. package/es/packages/mobile/src/components/feedback/floatingPanel/FloatingPanel.vue.mjs +2 -1
  158. package/es/packages/mobile/src/components/feedback/loading/Loading.vue.mjs +2 -1
  159. package/es/packages/mobile/src/components/feedback/pullRefresh/PullRefresh.vue.mjs +2 -1
  160. package/es/packages/mobile/src/components/feedback/swipeCell/SwipeCell.vue.mjs +2 -1
  161. package/es/packages/mobile/src/components/form/checkbox/Checkbox.vue.mjs +2 -1
  162. package/es/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.mjs +2 -1
  163. package/es/packages/mobile/src/components/form/field/Field.vue.mjs +5 -2
  164. package/es/packages/mobile/src/components/form/fieldArea/FieldArea.vue.mjs +4 -2
  165. package/es/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.mjs +3 -1
  166. package/es/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.mjs +4 -2
  167. package/es/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.mjs +3 -1
  168. package/es/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.mjs +4 -2
  169. package/es/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.mjs +4 -2
  170. package/es/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.mjs +4 -2
  171. package/es/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.mjs +3 -1
  172. package/es/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.mjs +4 -2
  173. package/es/packages/mobile/src/components/form/fieldUploader/FieldUploader.vue.mjs +2 -1
  174. package/es/packages/mobile/src/components/form/form/Form.vue.mjs +2 -1
  175. package/es/packages/mobile/src/components/form/formItem/FormItem.vue.mjs +2 -1
  176. package/es/packages/mobile/src/components/form/radioGroup/RadioGroup.vue.mjs +3 -2
  177. package/es/packages/mobile/src/components/form/search/Search.vue.mjs +2 -1
  178. package/es/packages/mobile/src/components/form/submitButton/SubmitButton.vue.mjs +1 -1
  179. package/es/packages/mobile/src/components/form/uploader/Uploader.vue.mjs +4 -2
  180. package/es/packages/mobile/src/components/layout/layout/Layout.vue.mjs +4 -4
  181. package/es/packages/mobile/src/components/navigation/actionBar/ActionBar.vue.mjs +2 -1
  182. package/es/packages/mobile/src/components/navigation/backTop/BackTop.vue.mjs +2 -1
  183. package/es/packages/mobile/src/components/navigation/grid/Grid.vue.mjs +2 -2
  184. package/es/packages/mobile/src/components/navigation/indexAnchor/IndexAnchor.vue.mjs +2 -1
  185. package/es/packages/mobile/src/components/navigation/indexBar/IndexBar.vue.mjs +2 -1
  186. package/es/packages/mobile/src/components/navigation/navBar/NavBar.vue.mjs +1 -1
  187. package/es/packages/mobile/src/components/navigation/pagination/Pagination.vue.mjs +2 -1
  188. package/es/packages/mobile/src/components/navigation/sidebar/Sidebar.vue.mjs +2 -1
  189. package/es/packages/mobile/src/components/navigation/sidebarItem/SidebarItem.vue.mjs +2 -1
  190. package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +1 -1
  191. package/es/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.mjs +2 -1
  192. package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +5 -3
  193. package/es/packages/mobile/src/components/navigation/treeSelect/TreeSelect.vue.mjs +2 -1
  194. package/es/packages/mobile/src/utils/use-route.mjs +1 -1
  195. package/lib/mobile.css +15 -15
  196. package/lib/node_modules/.pnpm/@vant_use@1.6.0_vue@3.5.13_typescript@5.7.3_/node_modules/@vant/use/dist/index.esm.js +31 -30
  197. package/lib/node_modules/.pnpm/@vue_reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +1523 -0
  198. package/lib/node_modules/.pnpm/@vue_runtime-core@3.5.13/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +5009 -0
  199. package/lib/node_modules/.pnpm/@vue_runtime-dom@3.5.13/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +1100 -0
  200. package/lib/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.js +171 -0
  201. package/lib/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/index.esm.js +2 -2
  202. package/lib/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18nStore.js +2 -2
  203. package/lib/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/icon.js +3 -3
  204. package/lib/node_modules/.pnpm/@vxe-ui_core@4.2.12_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/useFns.js +5 -5
  205. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-bar/ActionBar.js +5 -4
  206. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-bar-button/ActionBarButton.js +5 -5
  207. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/action-sheet/ActionSheet.js +15 -15
  208. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/back-top/BackTop.js +16 -15
  209. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/badge/Badge.js +5 -5
  210. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/button/Button.js +8 -8
  211. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/Calendar.js +24 -23
  212. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarDay.js +8 -8
  213. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarHeader.js +16 -16
  214. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/CalendarMonth.js +18 -17
  215. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cascader/Cascader.js +20 -19
  216. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell/Cell.js +10 -10
  217. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell-group/CellGroup.js +5 -5
  218. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/Checkbox.js +5 -5
  219. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/Checker.js +13 -12
  220. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox-group/CheckboxGroup.js +4 -4
  221. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/collapse/Collapse.js +3 -3
  222. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/collapse-item/CollapseItem.js +16 -14
  223. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/on-popup-reopen.js +3 -3
  224. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-expose.js +2 -2
  225. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-global-z-index.js +0 -4
  226. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-height.js +7 -6
  227. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-id.js +2 -2
  228. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-lazy-render.js +4 -3
  229. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-lock-scroll.js +4 -4
  230. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-placeholder.js +2 -2
  231. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-refs.js +4 -3
  232. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-route.js +2 -2
  233. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-scope-id.js +2 -2
  234. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-sync-prop-ref.js +5 -4
  235. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-tab-status.js +2 -2
  236. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-touch.js +9 -9
  237. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/composables/use-visibility-change.js +3 -3
  238. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/config-provider/ConfigProvider.js +0 -98
  239. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/date-picker/DatePicker.js +11 -10
  240. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/Dialog.js +21 -19
  241. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/function-call.js +2 -2
  242. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/divider/Divider.js +3 -3
  243. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-item/DropdownItem.js +12 -10
  244. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dropdown-menu/DropdownMenu.js +15 -14
  245. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/empty/Empty.js +67 -67
  246. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/field/Field.js +37 -36
  247. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/floating-panel/FloatingPanel.js +14 -13
  248. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/form/Form.js +3 -3
  249. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid/Grid.js +4 -4
  250. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/grid-item/GridItem.js +9 -9
  251. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/highlight/Highlight.js +6 -6
  252. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/icon/Icon.js +7 -7
  253. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image/Image.js +20 -19
  254. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/ImagePreview.js +20 -19
  255. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/ImagePreviewItem.js +21 -20
  256. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/function-call.js +2 -2
  257. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/index-anchor/IndexAnchor.js +8 -7
  258. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/index-bar/IndexBar.js +16 -15
  259. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/list/List.js +18 -17
  260. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/loading/Loading.js +9 -9
  261. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/locale/index.js +3 -3
  262. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/nav-bar/NavBar.js +12 -11
  263. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notice-bar/NoticeBar.js +14 -12
  264. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/Notify.js +3 -3
  265. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/function-call.js +2 -2
  266. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/overlay/Overlay.js +9 -7
  267. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/pagination/Pagination.js +14 -14
  268. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/Picker.js +25 -24
  269. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/PickerColumn.js +12 -11
  270. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/PickerToolbar.js +6 -6
  271. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker-group/PickerGroup.js +8 -8
  272. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/popup/Popup.js +20 -18
  273. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/pull-refresh/PullRefresh.js +13 -12
  274. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio/Radio.js +3 -3
  275. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio-group/RadioGroup.js +5 -5
  276. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/search/Search.js +9 -8
  277. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sidebar/Sidebar.js +3 -3
  278. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sidebar-item/SidebarItem.js +4 -4
  279. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/step/Step.js +12 -12
  280. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/steps/Steps.js +5 -5
  281. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/sticky/Sticky.js +14 -13
  282. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe/Swipe.js +29 -28
  283. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe-cell/SwipeCell.js +12 -11
  284. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/swipe-item/SwipeItem.js +9 -8
  285. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tab/Tab.js +20 -18
  286. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tab/TabTitle.js +6 -6
  287. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/Tabbar.js +6 -5
  288. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/TabbarItem.js +8 -8
  289. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabs/Tabs.js +30 -29
  290. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabs/TabsContent.js +8 -7
  291. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/text-ellipsis/TextEllipsis.js +15 -14
  292. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/time-picker/TimePicker.js +9 -8
  293. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/toast/Toast.js +12 -12
  294. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/toast/function-call.js +6 -5
  295. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tree-select/TreeSelect.js +8 -8
  296. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/uploader/Uploader.js +20 -18
  297. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/uploader/UploaderPreviewItem.js +18 -18
  298. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/dom.js +2 -2
  299. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/format.js +0 -2
  300. package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/utils/mount-component.js +4 -3
  301. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/grid.js +64 -63
  302. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/hook.js +5 -5
  303. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/panel.js +116 -114
  304. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/edit/hook.js +14 -13
  305. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/export-panel.js +87 -86
  306. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/hook.js +3 -3
  307. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/import-panel.js +42 -41
  308. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/hook.js +8 -8
  309. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/panel.js +21 -20
  310. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/hook.js +4 -4
  311. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/panel.js +27 -26
  312. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/validator/hook.js +9 -9
  313. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/render/index.js +31 -31
  314. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/body.js +54 -52
  315. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/cell.js +46 -46
  316. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/column.js +12 -11
  317. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/footer.js +27 -25
  318. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/group.js +12 -11
  319. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/header.js +37 -35
  320. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/table.js +333 -332
  321. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/use/cell-view.js +5 -5
  322. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/util.js +4 -3
  323. package/lib/node_modules/.pnpm/vxe-table@4.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/src/toolbar.js +43 -42
  324. package/lib/packages/charts/src/components/baseChart/BaseChart.vue.js +10 -8
  325. package/lib/packages/mobile/src/components/base/button/Button.vue.js +6 -5
  326. package/lib/packages/mobile/src/components/base/card/Card.vue.js +16 -16
  327. package/lib/packages/mobile/src/components/base/cell/Cell.vue.js +6 -5
  328. package/lib/packages/mobile/src/components/base/cellGroup/CellGroup.vue.js +6 -5
  329. package/lib/packages/mobile/src/components/base/icon/Icon.vue.js +3 -2
  330. package/lib/packages/mobile/src/components/base/image/Image.vue.js +6 -5
  331. package/lib/packages/mobile/src/components/base/popup/Popup.vue.js +6 -6
  332. package/lib/packages/mobile/src/components/custom/timeLineFilter/TimeLineFilter.vue.js +38 -36
  333. package/lib/packages/mobile/src/components/dataDisplay/collapse/Collapse.vue.js +14 -12
  334. package/lib/packages/mobile/src/components/dataDisplay/collapseItem/CollapseItem.vue.js +6 -5
  335. package/lib/packages/mobile/src/components/dataDisplay/divider/Divider.vue.js +6 -5
  336. package/lib/packages/mobile/src/components/dataDisplay/empty/Empty.vue.js +6 -5
  337. package/lib/packages/mobile/src/components/dataDisplay/highlight/Highlight.vue.js +6 -5
  338. package/lib/packages/mobile/src/components/dataDisplay/list/List.vue.js +17 -16
  339. package/lib/packages/mobile/src/components/dataDisplay/noticeBar/NoticeBar.vue.js +6 -5
  340. package/lib/packages/mobile/src/components/dataDisplay/step/Step.vue.js +6 -5
  341. package/lib/packages/mobile/src/components/dataDisplay/steps/Steps.vue.js +12 -11
  342. package/lib/packages/mobile/src/components/dataDisplay/swipe/Swipe.vue.js +6 -5
  343. package/lib/packages/mobile/src/components/dataDisplay/swipeItem/SwipeItem.vue.js +6 -5
  344. package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +87 -72
  345. package/lib/packages/mobile/src/components/dataDisplay/textEllipsis/TextEllipsis.vue.js +6 -5
  346. package/lib/packages/mobile/src/components/dataDisplay/timeLine/TimeLine.vue.js +5 -5
  347. package/lib/packages/mobile/src/components/feedback/actionSheet/ActionSheet.vue.js +6 -5
  348. package/lib/packages/mobile/src/components/feedback/dropdownMenu/DropdownMenu.vue.js +14 -13
  349. package/lib/packages/mobile/src/components/feedback/floatingBubble/FloatingBubble.js +23 -21
  350. package/lib/packages/mobile/src/components/feedback/floatingBubble/FloatingBubble.vue.js +11 -10
  351. package/lib/packages/mobile/src/components/feedback/floatingPanel/FloatingPanel.vue.js +6 -5
  352. package/lib/packages/mobile/src/components/feedback/loading/Loading.vue.js +6 -5
  353. package/lib/packages/mobile/src/components/feedback/pullRefresh/PullRefresh.vue.js +6 -5
  354. package/lib/packages/mobile/src/components/feedback/swipeCell/SwipeCell.vue.js +6 -5
  355. package/lib/packages/mobile/src/components/form/checkbox/Checkbox.vue.js +5 -4
  356. package/lib/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.js +12 -11
  357. package/lib/packages/mobile/src/components/form/field/Field.vue.js +26 -23
  358. package/lib/packages/mobile/src/components/form/fieldArea/FieldArea.vue.js +28 -26
  359. package/lib/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.js +23 -21
  360. package/lib/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.js +29 -27
  361. package/lib/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.js +19 -17
  362. package/lib/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.js +28 -26
  363. package/lib/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.js +31 -29
  364. package/lib/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.js +29 -27
  365. package/lib/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.js +19 -17
  366. package/lib/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.js +28 -26
  367. package/lib/packages/mobile/src/components/form/fieldUploader/FieldUploader.vue.js +13 -12
  368. package/lib/packages/mobile/src/components/form/form/Form.vue.js +22 -21
  369. package/lib/packages/mobile/src/components/form/formItem/FormItem.vue.js +32 -31
  370. package/lib/packages/mobile/src/components/form/radioGroup/RadioGroup.vue.js +12 -11
  371. package/lib/packages/mobile/src/components/form/search/Search.vue.js +6 -5
  372. package/lib/packages/mobile/src/components/form/submitButton/SubmitButton.vue.js +5 -5
  373. package/lib/packages/mobile/src/components/form/uploader/Uploader.vue.js +23 -21
  374. package/lib/packages/mobile/src/components/layout/layout/Layout.vue.js +8 -8
  375. package/lib/packages/mobile/src/components/navigation/actionBar/ActionBar.vue.js +6 -5
  376. package/lib/packages/mobile/src/components/navigation/backTop/BackTop.vue.js +6 -5
  377. package/lib/packages/mobile/src/components/navigation/grid/Grid.vue.js +9 -9
  378. package/lib/packages/mobile/src/components/navigation/indexAnchor/IndexAnchor.vue.js +6 -5
  379. package/lib/packages/mobile/src/components/navigation/indexBar/IndexBar.vue.js +6 -5
  380. package/lib/packages/mobile/src/components/navigation/navBar/NavBar.vue.js +6 -6
  381. package/lib/packages/mobile/src/components/navigation/pagination/Pagination.vue.js +6 -5
  382. package/lib/packages/mobile/src/components/navigation/sidebar/Sidebar.vue.js +6 -5
  383. package/lib/packages/mobile/src/components/navigation/sidebarItem/SidebarItem.vue.js +6 -5
  384. package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +4 -4
  385. package/lib/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.js +5 -4
  386. package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +19 -17
  387. package/lib/packages/mobile/src/components/navigation/treeSelect/TreeSelect.vue.js +6 -5
  388. package/lib/packages/mobile/src/utils/use-route.js +2 -2
  389. package/package.json +25 -25
  390. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/index.esm.mjs +0 -121
  391. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/clipboard.mjs +0 -55
  392. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/commands.mjs +0 -44
  393. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/config.mjs +0 -24
  394. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/configStore.mjs +0 -9
  395. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/core.mjs +0 -10
  396. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/dataStore.mjs +0 -4
  397. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/event.mjs +0 -151
  398. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/formats.mjs +0 -44
  399. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/hooks.mjs +0 -5
  400. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18n.mjs +0 -42
  401. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18nStore.mjs +0 -8
  402. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/icon.mjs +0 -16
  403. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/iconStore.mjs +0 -4
  404. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/interceptor.mjs +0 -49
  405. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/log.mjs +0 -17
  406. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/menus.mjs +0 -44
  407. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/permission.mjs +0 -60
  408. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/renderer.mjs +0 -34
  409. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/resize.mjs +0 -80
  410. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/store.mjs +0 -39
  411. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/theme.mjs +0 -20
  412. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/themeStore.mjs +0 -6
  413. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/useFns.mjs +0 -27
  414. package/es/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/validators.mjs +0 -5
  415. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/colgroup/index.mjs +0 -14
  416. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/column/index.mjs +0 -14
  417. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/components.mjs +0 -23
  418. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/index.mjs +0 -16
  419. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/emits.mjs +0 -19
  420. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/grid.mjs +0 -1469
  421. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/props.mjs +0 -11
  422. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/locale/lang/zh-CN.mjs +0 -791
  423. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/index.mjs +0 -17
  424. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/hook.mjs +0 -320
  425. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/panel.mjs +0 -1117
  426. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/edit/hook.mjs +0 -952
  427. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/export-panel.mjs +0 -482
  428. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/hook.mjs +0 -1511
  429. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/import-panel.mjs +0 -225
  430. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/util.mjs +0 -23
  431. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/hook.mjs +0 -407
  432. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/panel.mjs +0 -246
  433. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/keyboard/hook.mjs +0 -455
  434. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/hook.mjs +0 -295
  435. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/panel.mjs +0 -158
  436. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/validator/hook.mjs +0 -552
  437. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/render/index.mjs +0 -1065
  438. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/anime.mjs +0 -46
  439. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/body.mjs +0 -800
  440. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/cell.mjs +0 -1151
  441. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/column.mjs +0 -174
  442. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/columnInfo.mjs +0 -191
  443. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/emits.mjs +0 -107
  444. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/footer.mjs +0 -336
  445. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/group.mjs +0 -47
  446. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/header.mjs +0 -526
  447. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/props.mjs +0 -316
  448. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/store.mjs +0 -11
  449. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/table.mjs +0 -12173
  450. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/use/cell-view.mjs +0 -37
  451. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/util.mjs +0 -753
  452. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/index.mjs +0 -12
  453. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/src/toolbar.mjs +0 -577
  454. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/index.mjs +0 -406
  455. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/comp.mjs +0 -5
  456. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/dom.mjs +0 -157
  457. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/log.mjs +0 -9
  458. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/utils.mjs +0 -50
  459. package/es/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/vn.mjs +0 -54
  460. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/index.esm.js +0 -118
  461. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/clipboard.js +0 -55
  462. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/commands.js +0 -44
  463. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/config.js +0 -24
  464. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/configStore.js +0 -9
  465. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/core.js +0 -10
  466. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/dataStore.js +0 -4
  467. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/event.js +0 -151
  468. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/formats.js +0 -44
  469. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/hooks.js +0 -5
  470. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18n.js +0 -42
  471. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/i18nStore.js +0 -8
  472. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/icon.js +0 -16
  473. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/iconStore.js +0 -4
  474. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/interceptor.js +0 -49
  475. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/log.js +0 -17
  476. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/menus.js +0 -44
  477. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/permission.js +0 -60
  478. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/renderer.js +0 -34
  479. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/resize.js +0 -80
  480. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/store.js +0 -39
  481. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/theme.js +0 -20
  482. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/themeStore.js +0 -6
  483. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/useFns.js +0 -27
  484. package/lib/node_modules/.pnpm/@vxe-ui_core@4.0.39_vue@3.5.13_typescript@5.7.3_/node_modules/@vxe-ui/core/es/src/validators.js +0 -5
  485. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/colgroup/index.js +0 -15
  486. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/column/index.js +0 -15
  487. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/components.js +0 -23
  488. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/index.js +0 -16
  489. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/emits.js +0 -19
  490. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/grid.js +0 -1469
  491. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/grid/src/props.js +0 -11
  492. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/locale/lang/zh-CN.js +0 -791
  493. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/index.js +0 -18
  494. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/hook.js +0 -321
  495. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/custom/panel.js +0 -1117
  496. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/edit/hook.js +0 -953
  497. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/export-panel.js +0 -482
  498. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/hook.js +0 -1512
  499. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/import-panel.js +0 -225
  500. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/export/util.js +0 -23
  501. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/hook.js +0 -408
  502. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/filter/panel.js +0 -246
  503. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/keyboard/hook.js +0 -456
  504. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/hook.js +0 -296
  505. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/menu/panel.js +0 -158
  506. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/module/validator/hook.js +0 -553
  507. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/render/index.js +0 -1066
  508. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/anime.js +0 -46
  509. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/body.js +0 -800
  510. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/cell.js +0 -1151
  511. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/column.js +0 -174
  512. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/columnInfo.js +0 -191
  513. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/emits.js +0 -107
  514. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/footer.js +0 -336
  515. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/group.js +0 -47
  516. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/header.js +0 -526
  517. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/props.js +0 -316
  518. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/store.js +0 -11
  519. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/table.js +0 -12173
  520. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/use/cell-view.js +0 -37
  521. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/table/src/util.js +0 -753
  522. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/index.js +0 -13
  523. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/toolbar/src/toolbar.js +0 -577
  524. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/index.js +0 -406
  525. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/comp.js +0 -5
  526. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/dom.js +0 -157
  527. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/log.js +0 -9
  528. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/utils.js +0 -50
  529. package/lib/node_modules/.pnpm/vxe-table@4.17.0_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/ui/src/vn.js +0 -54
@@ -0,0 +1,5011 @@
1
+ import { isReactive, isShallow, shallowReadArray, toReactive, isProxy, isRef, computed as computed$1, watch as watch$1, proxyRefs, markRaw, toRaw, EffectScope, ReactiveEffect, shallowReactive, track, shallowReadonly, trigger, reactive, traverse, ref, pauseTracking, resetTracking } from "../../../../../@vue_reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
2
+ import { getCurrentScope, isReadonly, onWatcherCleanup, readonly, unref } from "../../../../../@vue_reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
3
+ import { isArray, isString, isObject, extend, EMPTY_ARR, normalizeClass, normalizeStyle, isFunction, isOn, EMPTY_OBJ, isPromise, remove, getGlobalThis, NOOP, NO, invokeArrayFns, hasOwn, isReservedProp, camelize, looseToNumber, toHandlerKey, hyphenate, def, isModelListener, capitalize, isSymbol } from "../../../../../@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
4
+ import { normalizeProps, toDisplayString } from "../../../../../@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
5
+ /**
6
+ * @vue/runtime-core v3.5.13
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/
10
+ const stack = [];
11
+ let isWarning = false;
12
+ function warn$1(msg, ...args) {
13
+ if (isWarning) return;
14
+ isWarning = true;
15
+ pauseTracking();
16
+ const instance = stack.length ? stack[stack.length - 1].component : null;
17
+ const appWarnHandler = instance && instance.appContext.config.warnHandler;
18
+ const trace = getComponentTrace();
19
+ if (appWarnHandler) {
20
+ callWithErrorHandling(
21
+ appWarnHandler,
22
+ instance,
23
+ 11,
24
+ [
25
+ // eslint-disable-next-line no-restricted-syntax
26
+ msg + args.map((a) => {
27
+ var _a, _b;
28
+ return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
29
+ }).join(""),
30
+ instance && instance.proxy,
31
+ trace.map(
32
+ ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
33
+ ).join("\n"),
34
+ trace
35
+ ]
36
+ );
37
+ } else {
38
+ const warnArgs = [`[Vue warn]: ${msg}`, ...args];
39
+ if (trace.length && // avoid spamming console during tests
40
+ true) {
41
+ warnArgs.push(`
42
+ `, ...formatTrace(trace));
43
+ }
44
+ console.warn(...warnArgs);
45
+ }
46
+ resetTracking();
47
+ isWarning = false;
48
+ }
49
+ function getComponentTrace() {
50
+ let currentVNode = stack[stack.length - 1];
51
+ if (!currentVNode) {
52
+ return [];
53
+ }
54
+ const normalizedStack = [];
55
+ while (currentVNode) {
56
+ const last = normalizedStack[0];
57
+ if (last && last.vnode === currentVNode) {
58
+ last.recurseCount++;
59
+ } else {
60
+ normalizedStack.push({
61
+ vnode: currentVNode,
62
+ recurseCount: 0
63
+ });
64
+ }
65
+ const parentInstance = currentVNode.component && currentVNode.component.parent;
66
+ currentVNode = parentInstance && parentInstance.vnode;
67
+ }
68
+ return normalizedStack;
69
+ }
70
+ function formatTrace(trace) {
71
+ const logs = [];
72
+ trace.forEach((entry, i) => {
73
+ logs.push(...i === 0 ? [] : [`
74
+ `], ...formatTraceEntry(entry));
75
+ });
76
+ return logs;
77
+ }
78
+ function formatTraceEntry({ vnode, recurseCount }) {
79
+ const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;
80
+ const isRoot = vnode.component ? vnode.component.parent == null : false;
81
+ const open = ` at <${formatComponentName(
82
+ vnode.component,
83
+ vnode.type,
84
+ isRoot
85
+ )}`;
86
+ const close = `>` + postfix;
87
+ return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];
88
+ }
89
+ function formatProps(props) {
90
+ const res = [];
91
+ const keys = Object.keys(props);
92
+ keys.slice(0, 3).forEach((key) => {
93
+ res.push(...formatProp(key, props[key]));
94
+ });
95
+ if (keys.length > 3) {
96
+ res.push(` ...`);
97
+ }
98
+ return res;
99
+ }
100
+ function formatProp(key, value, raw) {
101
+ if (isString(value)) {
102
+ value = JSON.stringify(value);
103
+ return raw ? value : [`${key}=${value}`];
104
+ } else if (typeof value === "number" || typeof value === "boolean" || value == null) {
105
+ return raw ? value : [`${key}=${value}`];
106
+ } else if (isRef(value)) {
107
+ value = formatProp(key, toRaw(value.value), true);
108
+ return raw ? value : [`${key}=Ref<`, value, `>`];
109
+ } else if (isFunction(value)) {
110
+ return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];
111
+ } else {
112
+ value = toRaw(value);
113
+ return raw ? value : [`${key}=`, value];
114
+ }
115
+ }
116
+ function callWithErrorHandling(fn, instance, type, args) {
117
+ try {
118
+ return args ? fn(...args) : fn();
119
+ } catch (err) {
120
+ handleError(err, instance, type);
121
+ }
122
+ }
123
+ function callWithAsyncErrorHandling(fn, instance, type, args) {
124
+ if (isFunction(fn)) {
125
+ const res = callWithErrorHandling(fn, instance, type, args);
126
+ if (res && isPromise(res)) {
127
+ res.catch((err) => {
128
+ handleError(err, instance, type);
129
+ });
130
+ }
131
+ return res;
132
+ }
133
+ if (isArray(fn)) {
134
+ const values = [];
135
+ for (let i = 0; i < fn.length; i++) {
136
+ values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));
137
+ }
138
+ return values;
139
+ }
140
+ }
141
+ function handleError(err, instance, type, throwInDev = true) {
142
+ const contextVNode = instance ? instance.vnode : null;
143
+ const { errorHandler, throwUnhandledErrorInProduction } = instance && instance.appContext.config || EMPTY_OBJ;
144
+ if (instance) {
145
+ let cur = instance.parent;
146
+ const exposedInstance = instance.proxy;
147
+ const errorInfo = `https://vuejs.org/error-reference/#runtime-${type}`;
148
+ while (cur) {
149
+ const errorCapturedHooks = cur.ec;
150
+ if (errorCapturedHooks) {
151
+ for (let i = 0; i < errorCapturedHooks.length; i++) {
152
+ if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {
153
+ return;
154
+ }
155
+ }
156
+ }
157
+ cur = cur.parent;
158
+ }
159
+ if (errorHandler) {
160
+ pauseTracking();
161
+ callWithErrorHandling(errorHandler, null, 10, [
162
+ err,
163
+ exposedInstance,
164
+ errorInfo
165
+ ]);
166
+ resetTracking();
167
+ return;
168
+ }
169
+ }
170
+ logError(err, type, contextVNode, throwInDev, throwUnhandledErrorInProduction);
171
+ }
172
+ function logError(err, type, contextVNode, throwInDev = true, throwInProd = false) {
173
+ if (throwInProd) {
174
+ throw err;
175
+ } else {
176
+ console.error(err);
177
+ }
178
+ }
179
+ const queue = [];
180
+ let flushIndex = -1;
181
+ const pendingPostFlushCbs = [];
182
+ let activePostFlushCbs = null;
183
+ let postFlushIndex = 0;
184
+ const resolvedPromise = /* @__PURE__ */ Promise.resolve();
185
+ let currentFlushPromise = null;
186
+ function nextTick(fn) {
187
+ const p = currentFlushPromise || resolvedPromise;
188
+ return fn ? p.then(this ? fn.bind(this) : fn) : p;
189
+ }
190
+ function findInsertionIndex(id) {
191
+ let start = flushIndex + 1;
192
+ let end = queue.length;
193
+ while (start < end) {
194
+ const middle = start + end >>> 1;
195
+ const middleJob = queue[middle];
196
+ const middleJobId = getId(middleJob);
197
+ if (middleJobId < id || middleJobId === id && middleJob.flags & 2) {
198
+ start = middle + 1;
199
+ } else {
200
+ end = middle;
201
+ }
202
+ }
203
+ return start;
204
+ }
205
+ function queueJob(job) {
206
+ if (!(job.flags & 1)) {
207
+ const jobId = getId(job);
208
+ const lastJob = queue[queue.length - 1];
209
+ if (!lastJob || // fast path when the job id is larger than the tail
210
+ !(job.flags & 2) && jobId >= getId(lastJob)) {
211
+ queue.push(job);
212
+ } else {
213
+ queue.splice(findInsertionIndex(jobId), 0, job);
214
+ }
215
+ job.flags |= 1;
216
+ queueFlush();
217
+ }
218
+ }
219
+ function queueFlush() {
220
+ if (!currentFlushPromise) {
221
+ currentFlushPromise = resolvedPromise.then(flushJobs);
222
+ }
223
+ }
224
+ function queuePostFlushCb(cb) {
225
+ if (!isArray(cb)) {
226
+ if (activePostFlushCbs && cb.id === -1) {
227
+ activePostFlushCbs.splice(postFlushIndex + 1, 0, cb);
228
+ } else if (!(cb.flags & 1)) {
229
+ pendingPostFlushCbs.push(cb);
230
+ cb.flags |= 1;
231
+ }
232
+ } else {
233
+ pendingPostFlushCbs.push(...cb);
234
+ }
235
+ queueFlush();
236
+ }
237
+ function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
238
+ for (; i < queue.length; i++) {
239
+ const cb = queue[i];
240
+ if (cb && cb.flags & 2) {
241
+ if (instance && cb.id !== instance.uid) {
242
+ continue;
243
+ }
244
+ queue.splice(i, 1);
245
+ i--;
246
+ if (cb.flags & 4) {
247
+ cb.flags &= -2;
248
+ }
249
+ cb();
250
+ if (!(cb.flags & 4)) {
251
+ cb.flags &= -2;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ function flushPostFlushCbs(seen) {
257
+ if (pendingPostFlushCbs.length) {
258
+ const deduped = [...new Set(pendingPostFlushCbs)].sort(
259
+ (a, b) => getId(a) - getId(b)
260
+ );
261
+ pendingPostFlushCbs.length = 0;
262
+ if (activePostFlushCbs) {
263
+ activePostFlushCbs.push(...deduped);
264
+ return;
265
+ }
266
+ activePostFlushCbs = deduped;
267
+ for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
268
+ const cb = activePostFlushCbs[postFlushIndex];
269
+ if (cb.flags & 4) {
270
+ cb.flags &= -2;
271
+ }
272
+ if (!(cb.flags & 8)) cb();
273
+ cb.flags &= -2;
274
+ }
275
+ activePostFlushCbs = null;
276
+ postFlushIndex = 0;
277
+ }
278
+ }
279
+ const getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
280
+ function flushJobs(seen) {
281
+ try {
282
+ for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
283
+ const job = queue[flushIndex];
284
+ if (job && !(job.flags & 8)) {
285
+ if (false) ;
286
+ if (job.flags & 4) {
287
+ job.flags &= ~1;
288
+ }
289
+ callWithErrorHandling(
290
+ job,
291
+ job.i,
292
+ job.i ? 15 : 14
293
+ );
294
+ if (!(job.flags & 4)) {
295
+ job.flags &= ~1;
296
+ }
297
+ }
298
+ }
299
+ } finally {
300
+ for (; flushIndex < queue.length; flushIndex++) {
301
+ const job = queue[flushIndex];
302
+ if (job) {
303
+ job.flags &= -2;
304
+ }
305
+ }
306
+ flushIndex = -1;
307
+ queue.length = 0;
308
+ flushPostFlushCbs();
309
+ currentFlushPromise = null;
310
+ if (queue.length || pendingPostFlushCbs.length) {
311
+ flushJobs();
312
+ }
313
+ }
314
+ }
315
+ let currentRenderingInstance = null;
316
+ let currentScopeId = null;
317
+ function setCurrentRenderingInstance(instance) {
318
+ const prev = currentRenderingInstance;
319
+ currentRenderingInstance = instance;
320
+ currentScopeId = instance && instance.type.__scopeId || null;
321
+ return prev;
322
+ }
323
+ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
324
+ if (!ctx) return fn;
325
+ if (fn._n) {
326
+ return fn;
327
+ }
328
+ const renderFnWithContext = (...args) => {
329
+ if (renderFnWithContext._d) {
330
+ setBlockTracking(-1);
331
+ }
332
+ const prevInstance = setCurrentRenderingInstance(ctx);
333
+ let res;
334
+ try {
335
+ res = fn(...args);
336
+ } finally {
337
+ setCurrentRenderingInstance(prevInstance);
338
+ if (renderFnWithContext._d) {
339
+ setBlockTracking(1);
340
+ }
341
+ }
342
+ return res;
343
+ };
344
+ renderFnWithContext._n = true;
345
+ renderFnWithContext._c = true;
346
+ renderFnWithContext._d = true;
347
+ return renderFnWithContext;
348
+ }
349
+ function withDirectives(vnode, directives) {
350
+ if (currentRenderingInstance === null) {
351
+ return vnode;
352
+ }
353
+ const instance = getComponentPublicInstance(currentRenderingInstance);
354
+ const bindings = vnode.dirs || (vnode.dirs = []);
355
+ for (let i = 0; i < directives.length; i++) {
356
+ let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];
357
+ if (dir) {
358
+ if (isFunction(dir)) {
359
+ dir = {
360
+ mounted: dir,
361
+ updated: dir
362
+ };
363
+ }
364
+ if (dir.deep) {
365
+ traverse(value);
366
+ }
367
+ bindings.push({
368
+ dir,
369
+ instance,
370
+ value,
371
+ oldValue: void 0,
372
+ arg,
373
+ modifiers
374
+ });
375
+ }
376
+ }
377
+ return vnode;
378
+ }
379
+ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
380
+ const bindings = vnode.dirs;
381
+ const oldBindings = prevVNode && prevVNode.dirs;
382
+ for (let i = 0; i < bindings.length; i++) {
383
+ const binding = bindings[i];
384
+ if (oldBindings) {
385
+ binding.oldValue = oldBindings[i].value;
386
+ }
387
+ let hook = binding.dir[name];
388
+ if (hook) {
389
+ pauseTracking();
390
+ callWithAsyncErrorHandling(hook, instance, 8, [
391
+ vnode.el,
392
+ binding,
393
+ vnode,
394
+ prevVNode
395
+ ]);
396
+ resetTracking();
397
+ }
398
+ }
399
+ }
400
+ const TeleportEndKey = Symbol("_vte");
401
+ const isTeleport = (type) => type.__isTeleport;
402
+ const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
403
+ const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
404
+ const isTargetSVG = (target) => typeof SVGElement !== "undefined" && target instanceof SVGElement;
405
+ const isTargetMathML = (target) => typeof MathMLElement === "function" && target instanceof MathMLElement;
406
+ const resolveTarget = (props, select) => {
407
+ const targetSelector = props && props.to;
408
+ if (isString(targetSelector)) {
409
+ if (!select) {
410
+ return null;
411
+ } else {
412
+ const target = select(targetSelector);
413
+ return target;
414
+ }
415
+ } else {
416
+ return targetSelector;
417
+ }
418
+ };
419
+ const TeleportImpl = {
420
+ name: "Teleport",
421
+ __isTeleport: true,
422
+ process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals) {
423
+ const {
424
+ mc: mountChildren,
425
+ pc: patchChildren,
426
+ pbc: patchBlockChildren,
427
+ o: { insert, querySelector, createText, createComment }
428
+ } = internals;
429
+ const disabled = isTeleportDisabled(n2.props);
430
+ let { shapeFlag, children, dynamicChildren } = n2;
431
+ if (n1 == null) {
432
+ const placeholder = n2.el = createText("");
433
+ const mainAnchor = n2.anchor = createText("");
434
+ insert(placeholder, container, anchor);
435
+ insert(mainAnchor, container, anchor);
436
+ const mount = (container2, anchor2) => {
437
+ if (shapeFlag & 16) {
438
+ if (parentComponent && parentComponent.isCE) {
439
+ parentComponent.ce._teleportTarget = container2;
440
+ }
441
+ mountChildren(
442
+ children,
443
+ container2,
444
+ anchor2,
445
+ parentComponent,
446
+ parentSuspense,
447
+ namespace,
448
+ slotScopeIds,
449
+ optimized
450
+ );
451
+ }
452
+ };
453
+ const mountToTarget = () => {
454
+ const target = n2.target = resolveTarget(n2.props, querySelector);
455
+ const targetAnchor = prepareAnchor(target, n2, createText, insert);
456
+ if (target) {
457
+ if (namespace !== "svg" && isTargetSVG(target)) {
458
+ namespace = "svg";
459
+ } else if (namespace !== "mathml" && isTargetMathML(target)) {
460
+ namespace = "mathml";
461
+ }
462
+ if (!disabled) {
463
+ mount(target, targetAnchor);
464
+ updateCssVars(n2, false);
465
+ }
466
+ }
467
+ };
468
+ if (disabled) {
469
+ mount(container, mainAnchor);
470
+ updateCssVars(n2, true);
471
+ }
472
+ if (isTeleportDeferred(n2.props)) {
473
+ queuePostRenderEffect(() => {
474
+ mountToTarget();
475
+ n2.el.__isMounted = true;
476
+ }, parentSuspense);
477
+ } else {
478
+ mountToTarget();
479
+ }
480
+ } else {
481
+ if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {
482
+ queuePostRenderEffect(() => {
483
+ TeleportImpl.process(
484
+ n1,
485
+ n2,
486
+ container,
487
+ anchor,
488
+ parentComponent,
489
+ parentSuspense,
490
+ namespace,
491
+ slotScopeIds,
492
+ optimized,
493
+ internals
494
+ );
495
+ delete n1.el.__isMounted;
496
+ }, parentSuspense);
497
+ return;
498
+ }
499
+ n2.el = n1.el;
500
+ n2.targetStart = n1.targetStart;
501
+ const mainAnchor = n2.anchor = n1.anchor;
502
+ const target = n2.target = n1.target;
503
+ const targetAnchor = n2.targetAnchor = n1.targetAnchor;
504
+ const wasDisabled = isTeleportDisabled(n1.props);
505
+ const currentContainer = wasDisabled ? container : target;
506
+ const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
507
+ if (namespace === "svg" || isTargetSVG(target)) {
508
+ namespace = "svg";
509
+ } else if (namespace === "mathml" || isTargetMathML(target)) {
510
+ namespace = "mathml";
511
+ }
512
+ if (dynamicChildren) {
513
+ patchBlockChildren(
514
+ n1.dynamicChildren,
515
+ dynamicChildren,
516
+ currentContainer,
517
+ parentComponent,
518
+ parentSuspense,
519
+ namespace,
520
+ slotScopeIds
521
+ );
522
+ traverseStaticChildren(n1, n2, true);
523
+ } else if (!optimized) {
524
+ patchChildren(
525
+ n1,
526
+ n2,
527
+ currentContainer,
528
+ currentAnchor,
529
+ parentComponent,
530
+ parentSuspense,
531
+ namespace,
532
+ slotScopeIds,
533
+ false
534
+ );
535
+ }
536
+ if (disabled) {
537
+ if (!wasDisabled) {
538
+ moveTeleport(
539
+ n2,
540
+ container,
541
+ mainAnchor,
542
+ internals,
543
+ 1
544
+ );
545
+ } else {
546
+ if (n2.props && n1.props && n2.props.to !== n1.props.to) {
547
+ n2.props.to = n1.props.to;
548
+ }
549
+ }
550
+ } else {
551
+ if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
552
+ const nextTarget = n2.target = resolveTarget(
553
+ n2.props,
554
+ querySelector
555
+ );
556
+ if (nextTarget) {
557
+ moveTeleport(
558
+ n2,
559
+ nextTarget,
560
+ null,
561
+ internals,
562
+ 0
563
+ );
564
+ }
565
+ } else if (wasDisabled) {
566
+ moveTeleport(
567
+ n2,
568
+ target,
569
+ targetAnchor,
570
+ internals,
571
+ 1
572
+ );
573
+ }
574
+ }
575
+ updateCssVars(n2, disabled);
576
+ }
577
+ },
578
+ remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) {
579
+ const {
580
+ shapeFlag,
581
+ children,
582
+ anchor,
583
+ targetStart,
584
+ targetAnchor,
585
+ target,
586
+ props
587
+ } = vnode;
588
+ if (target) {
589
+ hostRemove(targetStart);
590
+ hostRemove(targetAnchor);
591
+ }
592
+ doRemove && hostRemove(anchor);
593
+ if (shapeFlag & 16) {
594
+ const shouldRemove = doRemove || !isTeleportDisabled(props);
595
+ for (let i = 0; i < children.length; i++) {
596
+ const child = children[i];
597
+ unmount(
598
+ child,
599
+ parentComponent,
600
+ parentSuspense,
601
+ shouldRemove,
602
+ !!child.dynamicChildren
603
+ );
604
+ }
605
+ }
606
+ },
607
+ move: moveTeleport,
608
+ hydrate: hydrateTeleport
609
+ };
610
+ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2) {
611
+ if (moveType === 0) {
612
+ insert(vnode.targetAnchor, container, parentAnchor);
613
+ }
614
+ const { el, anchor, shapeFlag, children, props } = vnode;
615
+ const isReorder = moveType === 2;
616
+ if (isReorder) {
617
+ insert(el, container, parentAnchor);
618
+ }
619
+ if (!isReorder || isTeleportDisabled(props)) {
620
+ if (shapeFlag & 16) {
621
+ for (let i = 0; i < children.length; i++) {
622
+ move(
623
+ children[i],
624
+ container,
625
+ parentAnchor,
626
+ 2
627
+ );
628
+ }
629
+ }
630
+ }
631
+ if (isReorder) {
632
+ insert(anchor, container, parentAnchor);
633
+ }
634
+ }
635
+ function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {
636
+ o: { nextSibling, parentNode, querySelector, insert, createText }
637
+ }, hydrateChildren) {
638
+ const target = vnode.target = resolveTarget(
639
+ vnode.props,
640
+ querySelector
641
+ );
642
+ if (target) {
643
+ const disabled = isTeleportDisabled(vnode.props);
644
+ const targetNode = target._lpa || target.firstChild;
645
+ if (vnode.shapeFlag & 16) {
646
+ if (disabled) {
647
+ vnode.anchor = hydrateChildren(
648
+ nextSibling(node),
649
+ vnode,
650
+ parentNode(node),
651
+ parentComponent,
652
+ parentSuspense,
653
+ slotScopeIds,
654
+ optimized
655
+ );
656
+ vnode.targetStart = targetNode;
657
+ vnode.targetAnchor = targetNode && nextSibling(targetNode);
658
+ } else {
659
+ vnode.anchor = nextSibling(node);
660
+ let targetAnchor = targetNode;
661
+ while (targetAnchor) {
662
+ if (targetAnchor && targetAnchor.nodeType === 8) {
663
+ if (targetAnchor.data === "teleport start anchor") {
664
+ vnode.targetStart = targetAnchor;
665
+ } else if (targetAnchor.data === "teleport anchor") {
666
+ vnode.targetAnchor = targetAnchor;
667
+ target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);
668
+ break;
669
+ }
670
+ }
671
+ targetAnchor = nextSibling(targetAnchor);
672
+ }
673
+ if (!vnode.targetAnchor) {
674
+ prepareAnchor(target, vnode, createText, insert);
675
+ }
676
+ hydrateChildren(
677
+ targetNode && nextSibling(targetNode),
678
+ vnode,
679
+ target,
680
+ parentComponent,
681
+ parentSuspense,
682
+ slotScopeIds,
683
+ optimized
684
+ );
685
+ }
686
+ }
687
+ updateCssVars(vnode, disabled);
688
+ }
689
+ return vnode.anchor && nextSibling(vnode.anchor);
690
+ }
691
+ const Teleport = TeleportImpl;
692
+ function updateCssVars(vnode, isDisabled) {
693
+ const ctx = vnode.ctx;
694
+ if (ctx && ctx.ut) {
695
+ let node, anchor;
696
+ if (isDisabled) {
697
+ node = vnode.el;
698
+ anchor = vnode.anchor;
699
+ } else {
700
+ node = vnode.targetStart;
701
+ anchor = vnode.targetAnchor;
702
+ }
703
+ while (node && node !== anchor) {
704
+ if (node.nodeType === 1) node.setAttribute("data-v-owner", ctx.uid);
705
+ node = node.nextSibling;
706
+ }
707
+ ctx.ut();
708
+ }
709
+ }
710
+ function prepareAnchor(target, vnode, createText, insert) {
711
+ const targetStart = vnode.targetStart = createText("");
712
+ const targetAnchor = vnode.targetAnchor = createText("");
713
+ targetStart[TeleportEndKey] = targetAnchor;
714
+ if (target) {
715
+ insert(targetStart, target);
716
+ insert(targetAnchor, target);
717
+ }
718
+ return targetAnchor;
719
+ }
720
+ const leaveCbKey = Symbol("_leaveCb");
721
+ const enterCbKey = Symbol("_enterCb");
722
+ function useTransitionState() {
723
+ const state = {
724
+ isMounted: false,
725
+ isLeaving: false,
726
+ isUnmounting: false,
727
+ leavingVNodes: /* @__PURE__ */ new Map()
728
+ };
729
+ onMounted(() => {
730
+ state.isMounted = true;
731
+ });
732
+ onBeforeUnmount(() => {
733
+ state.isUnmounting = true;
734
+ });
735
+ return state;
736
+ }
737
+ const TransitionHookValidator = [Function, Array];
738
+ const BaseTransitionPropsValidators = {
739
+ mode: String,
740
+ appear: Boolean,
741
+ persisted: Boolean,
742
+ // enter
743
+ onBeforeEnter: TransitionHookValidator,
744
+ onEnter: TransitionHookValidator,
745
+ onAfterEnter: TransitionHookValidator,
746
+ onEnterCancelled: TransitionHookValidator,
747
+ // leave
748
+ onBeforeLeave: TransitionHookValidator,
749
+ onLeave: TransitionHookValidator,
750
+ onAfterLeave: TransitionHookValidator,
751
+ onLeaveCancelled: TransitionHookValidator,
752
+ // appear
753
+ onBeforeAppear: TransitionHookValidator,
754
+ onAppear: TransitionHookValidator,
755
+ onAfterAppear: TransitionHookValidator,
756
+ onAppearCancelled: TransitionHookValidator
757
+ };
758
+ const recursiveGetSubtree = (instance) => {
759
+ const subTree = instance.subTree;
760
+ return subTree.component ? recursiveGetSubtree(subTree.component) : subTree;
761
+ };
762
+ const BaseTransitionImpl = {
763
+ name: `BaseTransition`,
764
+ props: BaseTransitionPropsValidators,
765
+ setup(props, { slots }) {
766
+ const instance = getCurrentInstance();
767
+ const state = useTransitionState();
768
+ return () => {
769
+ const children = slots.default && getTransitionRawChildren(slots.default(), true);
770
+ if (!children || !children.length) {
771
+ return;
772
+ }
773
+ const child = findNonCommentChild(children);
774
+ const rawProps = toRaw(props);
775
+ const { mode } = rawProps;
776
+ if (state.isLeaving) {
777
+ return emptyPlaceholder(child);
778
+ }
779
+ const innerChild = getInnerChild$1(child);
780
+ if (!innerChild) {
781
+ return emptyPlaceholder(child);
782
+ }
783
+ let enterHooks = resolveTransitionHooks(
784
+ innerChild,
785
+ rawProps,
786
+ state,
787
+ instance,
788
+ // #11061, ensure enterHooks is fresh after clone
789
+ (hooks) => enterHooks = hooks
790
+ );
791
+ if (innerChild.type !== Comment) {
792
+ setTransitionHooks(innerChild, enterHooks);
793
+ }
794
+ let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
795
+ if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
796
+ let leavingHooks = resolveTransitionHooks(
797
+ oldInnerChild,
798
+ rawProps,
799
+ state,
800
+ instance
801
+ );
802
+ setTransitionHooks(oldInnerChild, leavingHooks);
803
+ if (mode === "out-in" && innerChild.type !== Comment) {
804
+ state.isLeaving = true;
805
+ leavingHooks.afterLeave = () => {
806
+ state.isLeaving = false;
807
+ if (!(instance.job.flags & 8)) {
808
+ instance.update();
809
+ }
810
+ delete leavingHooks.afterLeave;
811
+ oldInnerChild = void 0;
812
+ };
813
+ return emptyPlaceholder(child);
814
+ } else if (mode === "in-out" && innerChild.type !== Comment) {
815
+ leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {
816
+ const leavingVNodesCache = getLeavingNodesForType(
817
+ state,
818
+ oldInnerChild
819
+ );
820
+ leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;
821
+ el[leaveCbKey] = () => {
822
+ earlyRemove();
823
+ el[leaveCbKey] = void 0;
824
+ delete enterHooks.delayedLeave;
825
+ oldInnerChild = void 0;
826
+ };
827
+ enterHooks.delayedLeave = () => {
828
+ delayedLeave();
829
+ delete enterHooks.delayedLeave;
830
+ oldInnerChild = void 0;
831
+ };
832
+ };
833
+ } else {
834
+ oldInnerChild = void 0;
835
+ }
836
+ } else if (oldInnerChild) {
837
+ oldInnerChild = void 0;
838
+ }
839
+ return child;
840
+ };
841
+ }
842
+ };
843
+ function findNonCommentChild(children) {
844
+ let child = children[0];
845
+ if (children.length > 1) {
846
+ for (const c of children) {
847
+ if (c.type !== Comment) {
848
+ child = c;
849
+ break;
850
+ }
851
+ }
852
+ }
853
+ return child;
854
+ }
855
+ const BaseTransition = BaseTransitionImpl;
856
+ function getLeavingNodesForType(state, vnode) {
857
+ const { leavingVNodes } = state;
858
+ let leavingVNodesCache = leavingVNodes.get(vnode.type);
859
+ if (!leavingVNodesCache) {
860
+ leavingVNodesCache = /* @__PURE__ */ Object.create(null);
861
+ leavingVNodes.set(vnode.type, leavingVNodesCache);
862
+ }
863
+ return leavingVNodesCache;
864
+ }
865
+ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
866
+ const {
867
+ appear,
868
+ mode,
869
+ persisted = false,
870
+ onBeforeEnter,
871
+ onEnter,
872
+ onAfterEnter,
873
+ onEnterCancelled,
874
+ onBeforeLeave,
875
+ onLeave,
876
+ onAfterLeave,
877
+ onLeaveCancelled,
878
+ onBeforeAppear,
879
+ onAppear,
880
+ onAfterAppear,
881
+ onAppearCancelled
882
+ } = props;
883
+ const key = String(vnode.key);
884
+ const leavingVNodesCache = getLeavingNodesForType(state, vnode);
885
+ const callHook2 = (hook, args) => {
886
+ hook && callWithAsyncErrorHandling(
887
+ hook,
888
+ instance,
889
+ 9,
890
+ args
891
+ );
892
+ };
893
+ const callAsyncHook = (hook, args) => {
894
+ const done = args[1];
895
+ callHook2(hook, args);
896
+ if (isArray(hook)) {
897
+ if (hook.every((hook2) => hook2.length <= 1)) done();
898
+ } else if (hook.length <= 1) {
899
+ done();
900
+ }
901
+ };
902
+ const hooks = {
903
+ mode,
904
+ persisted,
905
+ beforeEnter(el) {
906
+ let hook = onBeforeEnter;
907
+ if (!state.isMounted) {
908
+ if (appear) {
909
+ hook = onBeforeAppear || onBeforeEnter;
910
+ } else {
911
+ return;
912
+ }
913
+ }
914
+ if (el[leaveCbKey]) {
915
+ el[leaveCbKey](
916
+ true
917
+ /* cancelled */
918
+ );
919
+ }
920
+ const leavingVNode = leavingVNodesCache[key];
921
+ if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {
922
+ leavingVNode.el[leaveCbKey]();
923
+ }
924
+ callHook2(hook, [el]);
925
+ },
926
+ enter(el) {
927
+ let hook = onEnter;
928
+ let afterHook = onAfterEnter;
929
+ let cancelHook = onEnterCancelled;
930
+ if (!state.isMounted) {
931
+ if (appear) {
932
+ hook = onAppear || onEnter;
933
+ afterHook = onAfterAppear || onAfterEnter;
934
+ cancelHook = onAppearCancelled || onEnterCancelled;
935
+ } else {
936
+ return;
937
+ }
938
+ }
939
+ let called = false;
940
+ const done = el[enterCbKey] = (cancelled) => {
941
+ if (called) return;
942
+ called = true;
943
+ if (cancelled) {
944
+ callHook2(cancelHook, [el]);
945
+ } else {
946
+ callHook2(afterHook, [el]);
947
+ }
948
+ if (hooks.delayedLeave) {
949
+ hooks.delayedLeave();
950
+ }
951
+ el[enterCbKey] = void 0;
952
+ };
953
+ if (hook) {
954
+ callAsyncHook(hook, [el, done]);
955
+ } else {
956
+ done();
957
+ }
958
+ },
959
+ leave(el, remove2) {
960
+ const key2 = String(vnode.key);
961
+ if (el[enterCbKey]) {
962
+ el[enterCbKey](
963
+ true
964
+ /* cancelled */
965
+ );
966
+ }
967
+ if (state.isUnmounting) {
968
+ return remove2();
969
+ }
970
+ callHook2(onBeforeLeave, [el]);
971
+ let called = false;
972
+ const done = el[leaveCbKey] = (cancelled) => {
973
+ if (called) return;
974
+ called = true;
975
+ remove2();
976
+ if (cancelled) {
977
+ callHook2(onLeaveCancelled, [el]);
978
+ } else {
979
+ callHook2(onAfterLeave, [el]);
980
+ }
981
+ el[leaveCbKey] = void 0;
982
+ if (leavingVNodesCache[key2] === vnode) {
983
+ delete leavingVNodesCache[key2];
984
+ }
985
+ };
986
+ leavingVNodesCache[key2] = vnode;
987
+ if (onLeave) {
988
+ callAsyncHook(onLeave, [el, done]);
989
+ } else {
990
+ done();
991
+ }
992
+ },
993
+ clone(vnode2) {
994
+ const hooks2 = resolveTransitionHooks(
995
+ vnode2,
996
+ props,
997
+ state,
998
+ instance,
999
+ postClone
1000
+ );
1001
+ if (postClone) postClone(hooks2);
1002
+ return hooks2;
1003
+ }
1004
+ };
1005
+ return hooks;
1006
+ }
1007
+ function emptyPlaceholder(vnode) {
1008
+ if (isKeepAlive(vnode)) {
1009
+ vnode = cloneVNode(vnode);
1010
+ vnode.children = null;
1011
+ return vnode;
1012
+ }
1013
+ }
1014
+ function getInnerChild$1(vnode) {
1015
+ if (!isKeepAlive(vnode)) {
1016
+ if (isTeleport(vnode.type) && vnode.children) {
1017
+ return findNonCommentChild(vnode.children);
1018
+ }
1019
+ return vnode;
1020
+ }
1021
+ const { shapeFlag, children } = vnode;
1022
+ if (children) {
1023
+ if (shapeFlag & 16) {
1024
+ return children[0];
1025
+ }
1026
+ if (shapeFlag & 32 && isFunction(children.default)) {
1027
+ return children.default();
1028
+ }
1029
+ }
1030
+ }
1031
+ function setTransitionHooks(vnode, hooks) {
1032
+ if (vnode.shapeFlag & 6 && vnode.component) {
1033
+ vnode.transition = hooks;
1034
+ setTransitionHooks(vnode.component.subTree, hooks);
1035
+ } else if (vnode.shapeFlag & 128) {
1036
+ vnode.ssContent.transition = hooks.clone(vnode.ssContent);
1037
+ vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
1038
+ } else {
1039
+ vnode.transition = hooks;
1040
+ }
1041
+ }
1042
+ function getTransitionRawChildren(children, keepComment = false, parentKey) {
1043
+ let ret = [];
1044
+ let keyedFragmentCount = 0;
1045
+ for (let i = 0; i < children.length; i++) {
1046
+ let child = children[i];
1047
+ const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);
1048
+ if (child.type === Fragment) {
1049
+ if (child.patchFlag & 128) keyedFragmentCount++;
1050
+ ret = ret.concat(
1051
+ getTransitionRawChildren(child.children, keepComment, key)
1052
+ );
1053
+ } else if (keepComment || child.type !== Comment) {
1054
+ ret.push(key != null ? cloneVNode(child, { key }) : child);
1055
+ }
1056
+ }
1057
+ if (keyedFragmentCount > 1) {
1058
+ for (let i = 0; i < ret.length; i++) {
1059
+ ret[i].patchFlag = -2;
1060
+ }
1061
+ }
1062
+ return ret;
1063
+ }
1064
+ /*! #__NO_SIDE_EFFECTS__ */
1065
+ // @__NO_SIDE_EFFECTS__
1066
+ function defineComponent(options, extraOptions) {
1067
+ return isFunction(options) ? (
1068
+ // #8236: extend call and options.name access are considered side-effects
1069
+ // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1070
+ /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()
1071
+ ) : options;
1072
+ }
1073
+ function markAsyncBoundary(instance) {
1074
+ instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
1075
+ }
1076
+ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
1077
+ if (isArray(rawRef)) {
1078
+ rawRef.forEach(
1079
+ (r, i) => setRef(
1080
+ r,
1081
+ oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef),
1082
+ parentSuspense,
1083
+ vnode,
1084
+ isUnmount
1085
+ )
1086
+ );
1087
+ return;
1088
+ }
1089
+ if (isAsyncWrapper(vnode) && !isUnmount) {
1090
+ if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {
1091
+ setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);
1092
+ }
1093
+ return;
1094
+ }
1095
+ const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
1096
+ const value = isUnmount ? null : refValue;
1097
+ const { i: owner, r: ref3 } = rawRef;
1098
+ const oldRef = oldRawRef && oldRawRef.r;
1099
+ const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
1100
+ const setupState = owner.setupState;
1101
+ const rawSetupState = toRaw(setupState);
1102
+ const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => {
1103
+ return hasOwn(rawSetupState, key);
1104
+ };
1105
+ if (oldRef != null && oldRef !== ref3) {
1106
+ if (isString(oldRef)) {
1107
+ refs[oldRef] = null;
1108
+ if (canSetSetupRef(oldRef)) {
1109
+ setupState[oldRef] = null;
1110
+ }
1111
+ } else if (isRef(oldRef)) {
1112
+ oldRef.value = null;
1113
+ }
1114
+ }
1115
+ if (isFunction(ref3)) {
1116
+ callWithErrorHandling(ref3, owner, 12, [value, refs]);
1117
+ } else {
1118
+ const _isString = isString(ref3);
1119
+ const _isRef = isRef(ref3);
1120
+ if (_isString || _isRef) {
1121
+ const doSet = () => {
1122
+ if (rawRef.f) {
1123
+ const existing = _isString ? canSetSetupRef(ref3) ? setupState[ref3] : refs[ref3] : ref3.value;
1124
+ if (isUnmount) {
1125
+ isArray(existing) && remove(existing, refValue);
1126
+ } else {
1127
+ if (!isArray(existing)) {
1128
+ if (_isString) {
1129
+ refs[ref3] = [refValue];
1130
+ if (canSetSetupRef(ref3)) {
1131
+ setupState[ref3] = refs[ref3];
1132
+ }
1133
+ } else {
1134
+ ref3.value = [refValue];
1135
+ if (rawRef.k) refs[rawRef.k] = ref3.value;
1136
+ }
1137
+ } else if (!existing.includes(refValue)) {
1138
+ existing.push(refValue);
1139
+ }
1140
+ }
1141
+ } else if (_isString) {
1142
+ refs[ref3] = value;
1143
+ if (canSetSetupRef(ref3)) {
1144
+ setupState[ref3] = value;
1145
+ }
1146
+ } else if (_isRef) {
1147
+ ref3.value = value;
1148
+ if (rawRef.k) refs[rawRef.k] = value;
1149
+ } else ;
1150
+ };
1151
+ if (value) {
1152
+ doSet.id = -1;
1153
+ queuePostRenderEffect(doSet, parentSuspense);
1154
+ } else {
1155
+ doSet();
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ const isComment = (node) => node.nodeType === 8;
1161
+ getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
1162
+ getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
1163
+ function forEachElement(node, cb) {
1164
+ if (isComment(node) && node.data === "[") {
1165
+ let depth = 1;
1166
+ let next = node.nextSibling;
1167
+ while (next) {
1168
+ if (next.nodeType === 1) {
1169
+ const result = cb(next);
1170
+ if (result === false) {
1171
+ break;
1172
+ }
1173
+ } else if (isComment(next)) {
1174
+ if (next.data === "]") {
1175
+ if (--depth === 0) break;
1176
+ } else if (next.data === "[") {
1177
+ depth++;
1178
+ }
1179
+ }
1180
+ next = next.nextSibling;
1181
+ }
1182
+ } else {
1183
+ cb(node);
1184
+ }
1185
+ }
1186
+ const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
1187
+ /*! #__NO_SIDE_EFFECTS__ */
1188
+ // @__NO_SIDE_EFFECTS__
1189
+ function defineAsyncComponent(source) {
1190
+ if (isFunction(source)) {
1191
+ source = { loader: source };
1192
+ }
1193
+ const {
1194
+ loader,
1195
+ loadingComponent,
1196
+ errorComponent,
1197
+ delay = 200,
1198
+ hydrate: hydrateStrategy,
1199
+ timeout,
1200
+ // undefined = never times out
1201
+ suspensible = true,
1202
+ onError: userOnError
1203
+ } = source;
1204
+ let pendingRequest = null;
1205
+ let resolvedComp;
1206
+ let retries = 0;
1207
+ const retry = () => {
1208
+ retries++;
1209
+ pendingRequest = null;
1210
+ return load();
1211
+ };
1212
+ const load = () => {
1213
+ let thisRequest;
1214
+ return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {
1215
+ err = err instanceof Error ? err : new Error(String(err));
1216
+ if (userOnError) {
1217
+ return new Promise((resolve2, reject) => {
1218
+ const userRetry = () => resolve2(retry());
1219
+ const userFail = () => reject(err);
1220
+ userOnError(err, userRetry, userFail, retries + 1);
1221
+ });
1222
+ } else {
1223
+ throw err;
1224
+ }
1225
+ }).then((comp) => {
1226
+ if (thisRequest !== pendingRequest && pendingRequest) {
1227
+ return pendingRequest;
1228
+ }
1229
+ if (comp && (comp.__esModule || comp[Symbol.toStringTag] === "Module")) {
1230
+ comp = comp.default;
1231
+ }
1232
+ resolvedComp = comp;
1233
+ return comp;
1234
+ }));
1235
+ };
1236
+ return /* @__PURE__ */ defineComponent({
1237
+ name: "AsyncComponentWrapper",
1238
+ __asyncLoader: load,
1239
+ __asyncHydrate(el, instance, hydrate) {
1240
+ const doHydrate = hydrateStrategy ? () => {
1241
+ const teardown = hydrateStrategy(
1242
+ hydrate,
1243
+ (cb) => forEachElement(el, cb)
1244
+ );
1245
+ if (teardown) {
1246
+ (instance.bum || (instance.bum = [])).push(teardown);
1247
+ }
1248
+ } : hydrate;
1249
+ if (resolvedComp) {
1250
+ doHydrate();
1251
+ } else {
1252
+ load().then(() => !instance.isUnmounted && doHydrate());
1253
+ }
1254
+ },
1255
+ get __asyncResolved() {
1256
+ return resolvedComp;
1257
+ },
1258
+ setup() {
1259
+ const instance = currentInstance;
1260
+ markAsyncBoundary(instance);
1261
+ if (resolvedComp) {
1262
+ return () => createInnerComp(resolvedComp, instance);
1263
+ }
1264
+ const onError = (err) => {
1265
+ pendingRequest = null;
1266
+ handleError(
1267
+ err,
1268
+ instance,
1269
+ 13,
1270
+ !errorComponent
1271
+ );
1272
+ };
1273
+ if (suspensible && instance.suspense || isInSSRComponentSetup) {
1274
+ return load().then((comp) => {
1275
+ return () => createInnerComp(comp, instance);
1276
+ }).catch((err) => {
1277
+ onError(err);
1278
+ return () => errorComponent ? createVNode(errorComponent, {
1279
+ error: err
1280
+ }) : null;
1281
+ });
1282
+ }
1283
+ const loaded = ref(false);
1284
+ const error = ref();
1285
+ const delayed = ref(!!delay);
1286
+ if (delay) {
1287
+ setTimeout(() => {
1288
+ delayed.value = false;
1289
+ }, delay);
1290
+ }
1291
+ if (timeout != null) {
1292
+ setTimeout(() => {
1293
+ if (!loaded.value && !error.value) {
1294
+ const err = new Error(
1295
+ `Async component timed out after ${timeout}ms.`
1296
+ );
1297
+ onError(err);
1298
+ error.value = err;
1299
+ }
1300
+ }, timeout);
1301
+ }
1302
+ load().then(() => {
1303
+ loaded.value = true;
1304
+ if (instance.parent && isKeepAlive(instance.parent.vnode)) {
1305
+ instance.parent.update();
1306
+ }
1307
+ }).catch((err) => {
1308
+ onError(err);
1309
+ error.value = err;
1310
+ });
1311
+ return () => {
1312
+ if (loaded.value && resolvedComp) {
1313
+ return createInnerComp(resolvedComp, instance);
1314
+ } else if (error.value && errorComponent) {
1315
+ return createVNode(errorComponent, {
1316
+ error: error.value
1317
+ });
1318
+ } else if (loadingComponent && !delayed.value) {
1319
+ return createVNode(loadingComponent);
1320
+ }
1321
+ };
1322
+ }
1323
+ });
1324
+ }
1325
+ function createInnerComp(comp, parent) {
1326
+ const { ref: ref22, props, children, ce } = parent.vnode;
1327
+ const vnode = createVNode(comp, props, children);
1328
+ vnode.ref = ref22;
1329
+ vnode.ce = ce;
1330
+ delete parent.vnode.ce;
1331
+ return vnode;
1332
+ }
1333
+ const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
1334
+ function onActivated(hook, target) {
1335
+ registerKeepAliveHook(hook, "a", target);
1336
+ }
1337
+ function onDeactivated(hook, target) {
1338
+ registerKeepAliveHook(hook, "da", target);
1339
+ }
1340
+ function registerKeepAliveHook(hook, type, target = currentInstance) {
1341
+ const wrappedHook = hook.__wdc || (hook.__wdc = () => {
1342
+ let current = target;
1343
+ while (current) {
1344
+ if (current.isDeactivated) {
1345
+ return;
1346
+ }
1347
+ current = current.parent;
1348
+ }
1349
+ return hook();
1350
+ });
1351
+ injectHook(type, wrappedHook, target);
1352
+ if (target) {
1353
+ let current = target.parent;
1354
+ while (current && current.parent) {
1355
+ if (isKeepAlive(current.parent.vnode)) {
1356
+ injectToKeepAliveRoot(wrappedHook, type, target, current);
1357
+ }
1358
+ current = current.parent;
1359
+ }
1360
+ }
1361
+ }
1362
+ function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {
1363
+ const injected = injectHook(
1364
+ type,
1365
+ hook,
1366
+ keepAliveRoot,
1367
+ true
1368
+ /* prepend */
1369
+ );
1370
+ onUnmounted(() => {
1371
+ remove(keepAliveRoot[type], injected);
1372
+ }, target);
1373
+ }
1374
+ function injectHook(type, hook, target = currentInstance, prepend = false) {
1375
+ if (target) {
1376
+ const hooks = target[type] || (target[type] = []);
1377
+ const wrappedHook = hook.__weh || (hook.__weh = (...args) => {
1378
+ pauseTracking();
1379
+ const reset = setCurrentInstance(target);
1380
+ const res = callWithAsyncErrorHandling(hook, target, type, args);
1381
+ reset();
1382
+ resetTracking();
1383
+ return res;
1384
+ });
1385
+ if (prepend) {
1386
+ hooks.unshift(wrappedHook);
1387
+ } else {
1388
+ hooks.push(wrappedHook);
1389
+ }
1390
+ return wrappedHook;
1391
+ }
1392
+ }
1393
+ const createHook = (lifecycle) => (hook, target = currentInstance) => {
1394
+ if (!isInSSRComponentSetup || lifecycle === "sp") {
1395
+ injectHook(lifecycle, (...args) => hook(...args), target);
1396
+ }
1397
+ };
1398
+ const onBeforeMount = createHook("bm");
1399
+ const onMounted = createHook("m");
1400
+ const onBeforeUpdate = createHook(
1401
+ "bu"
1402
+ );
1403
+ const onUpdated = createHook("u");
1404
+ const onBeforeUnmount = createHook(
1405
+ "bum"
1406
+ );
1407
+ const onUnmounted = createHook("um");
1408
+ const onServerPrefetch = createHook(
1409
+ "sp"
1410
+ );
1411
+ const onRenderTriggered = createHook("rtg");
1412
+ const onRenderTracked = createHook("rtc");
1413
+ function onErrorCaptured(hook, target = currentInstance) {
1414
+ injectHook("ec", hook, target);
1415
+ }
1416
+ const COMPONENTS = "components";
1417
+ const DIRECTIVES = "directives";
1418
+ function resolveComponent(name, maybeSelfReference) {
1419
+ return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
1420
+ }
1421
+ const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
1422
+ function resolveDynamicComponent(component) {
1423
+ if (isString(component)) {
1424
+ return resolveAsset(COMPONENTS, component, false) || component;
1425
+ } else {
1426
+ return component || NULL_DYNAMIC_COMPONENT;
1427
+ }
1428
+ }
1429
+ function resolveDirective(name) {
1430
+ return resolveAsset(DIRECTIVES, name);
1431
+ }
1432
+ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {
1433
+ const instance = currentRenderingInstance || currentInstance;
1434
+ if (instance) {
1435
+ const Component = instance.type;
1436
+ if (type === COMPONENTS) {
1437
+ const selfName = getComponentName(
1438
+ Component,
1439
+ false
1440
+ );
1441
+ if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {
1442
+ return Component;
1443
+ }
1444
+ }
1445
+ const res = (
1446
+ // local registration
1447
+ // check instance[type] first which is resolved for options API
1448
+ resolve(instance[type] || Component[type], name) || // global registration
1449
+ resolve(instance.appContext[type], name)
1450
+ );
1451
+ if (!res && maybeSelfReference) {
1452
+ return Component;
1453
+ }
1454
+ return res;
1455
+ }
1456
+ }
1457
+ function resolve(registry, name) {
1458
+ return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);
1459
+ }
1460
+ function renderList(source, renderItem, cache, index) {
1461
+ let ret;
1462
+ const cached = cache;
1463
+ const sourceIsArray = isArray(source);
1464
+ if (sourceIsArray || isString(source)) {
1465
+ const sourceIsReactiveArray = sourceIsArray && isReactive(source);
1466
+ let needsWrap = false;
1467
+ if (sourceIsReactiveArray) {
1468
+ needsWrap = !isShallow(source);
1469
+ source = shallowReadArray(source);
1470
+ }
1471
+ ret = new Array(source.length);
1472
+ for (let i = 0, l = source.length; i < l; i++) {
1473
+ ret[i] = renderItem(
1474
+ needsWrap ? toReactive(source[i]) : source[i],
1475
+ i,
1476
+ void 0,
1477
+ cached
1478
+ );
1479
+ }
1480
+ } else if (typeof source === "number") {
1481
+ ret = new Array(source);
1482
+ for (let i = 0; i < source; i++) {
1483
+ ret[i] = renderItem(i + 1, i, void 0, cached);
1484
+ }
1485
+ } else if (isObject(source)) {
1486
+ if (source[Symbol.iterator]) {
1487
+ ret = Array.from(
1488
+ source,
1489
+ (item, i) => renderItem(item, i, void 0, cached)
1490
+ );
1491
+ } else {
1492
+ const keys = Object.keys(source);
1493
+ ret = new Array(keys.length);
1494
+ for (let i = 0, l = keys.length; i < l; i++) {
1495
+ const key = keys[i];
1496
+ ret[i] = renderItem(source[key], key, i, cached);
1497
+ }
1498
+ }
1499
+ } else {
1500
+ ret = [];
1501
+ }
1502
+ return ret;
1503
+ }
1504
+ function createSlots(slots, dynamicSlots) {
1505
+ for (let i = 0; i < dynamicSlots.length; i++) {
1506
+ const slot = dynamicSlots[i];
1507
+ if (isArray(slot)) {
1508
+ for (let j = 0; j < slot.length; j++) {
1509
+ slots[slot[j].name] = slot[j].fn;
1510
+ }
1511
+ } else if (slot) {
1512
+ slots[slot.name] = slot.key ? (...args) => {
1513
+ const res = slot.fn(...args);
1514
+ if (res) res.key = slot.key;
1515
+ return res;
1516
+ } : slot.fn;
1517
+ }
1518
+ }
1519
+ return slots;
1520
+ }
1521
+ function renderSlot(slots, name, props = {}, fallback, noSlotted) {
1522
+ if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
1523
+ if (name !== "default") props.name = name;
1524
+ return openBlock(), createBlock(
1525
+ Fragment,
1526
+ null,
1527
+ [createVNode("slot", props, fallback)],
1528
+ 64
1529
+ );
1530
+ }
1531
+ let slot = slots[name];
1532
+ if (slot && slot._c) {
1533
+ slot._d = false;
1534
+ }
1535
+ openBlock();
1536
+ const validSlotContent = slot && ensureValidVNode(slot(props));
1537
+ const slotKey = props.key || // slot content array of a dynamic conditional slot may have a branch
1538
+ // key attached in the `createSlots` helper, respect that
1539
+ validSlotContent && validSlotContent.key;
1540
+ const rendered = createBlock(
1541
+ Fragment,
1542
+ {
1543
+ key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
1544
+ ""
1545
+ },
1546
+ validSlotContent || [],
1547
+ validSlotContent && slots._ === 1 ? 64 : -2
1548
+ );
1549
+ if (!noSlotted && rendered.scopeId) {
1550
+ rendered.slotScopeIds = [rendered.scopeId + "-s"];
1551
+ }
1552
+ if (slot && slot._c) {
1553
+ slot._d = true;
1554
+ }
1555
+ return rendered;
1556
+ }
1557
+ function ensureValidVNode(vnodes) {
1558
+ return vnodes.some((child) => {
1559
+ if (!isVNode(child)) return true;
1560
+ if (child.type === Comment) return false;
1561
+ if (child.type === Fragment && !ensureValidVNode(child.children))
1562
+ return false;
1563
+ return true;
1564
+ }) ? vnodes : null;
1565
+ }
1566
+ const getPublicInstance = (i) => {
1567
+ if (!i) return null;
1568
+ if (isStatefulComponent(i)) return getComponentPublicInstance(i);
1569
+ return getPublicInstance(i.parent);
1570
+ };
1571
+ const publicPropertiesMap = (
1572
+ // Move PURE marker to new line to workaround compiler discarding it
1573
+ // due to type annotation
1574
+ /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {
1575
+ $: (i) => i,
1576
+ $el: (i) => i.vnode.el,
1577
+ $data: (i) => i.data,
1578
+ $props: (i) => i.props,
1579
+ $attrs: (i) => i.attrs,
1580
+ $slots: (i) => i.slots,
1581
+ $refs: (i) => i.refs,
1582
+ $parent: (i) => getPublicInstance(i.parent),
1583
+ $root: (i) => getPublicInstance(i.root),
1584
+ $host: (i) => i.ce,
1585
+ $emit: (i) => i.emit,
1586
+ $options: (i) => resolveMergedOptions(i),
1587
+ $forceUpdate: (i) => i.f || (i.f = () => {
1588
+ queueJob(i.update);
1589
+ }),
1590
+ $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),
1591
+ $watch: (i) => instanceWatch.bind(i)
1592
+ })
1593
+ );
1594
+ const hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);
1595
+ const PublicInstanceProxyHandlers = {
1596
+ get({ _: instance }, key) {
1597
+ if (key === "__v_skip") {
1598
+ return true;
1599
+ }
1600
+ const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
1601
+ let normalizedProps;
1602
+ if (key[0] !== "$") {
1603
+ const n = accessCache[key];
1604
+ if (n !== void 0) {
1605
+ switch (n) {
1606
+ case 1:
1607
+ return setupState[key];
1608
+ case 2:
1609
+ return data[key];
1610
+ case 4:
1611
+ return ctx[key];
1612
+ case 3:
1613
+ return props[key];
1614
+ }
1615
+ } else if (hasSetupBinding(setupState, key)) {
1616
+ accessCache[key] = 1;
1617
+ return setupState[key];
1618
+ } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
1619
+ accessCache[key] = 2;
1620
+ return data[key];
1621
+ } else if (
1622
+ // only cache other properties when instance has declared (thus stable)
1623
+ // props
1624
+ (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)
1625
+ ) {
1626
+ accessCache[key] = 3;
1627
+ return props[key];
1628
+ } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {
1629
+ accessCache[key] = 4;
1630
+ return ctx[key];
1631
+ } else if (shouldCacheAccess) {
1632
+ accessCache[key] = 0;
1633
+ }
1634
+ }
1635
+ const publicGetter = publicPropertiesMap[key];
1636
+ let cssModule, globalProperties;
1637
+ if (publicGetter) {
1638
+ if (key === "$attrs") {
1639
+ track(instance.attrs, "get", "");
1640
+ }
1641
+ return publicGetter(instance);
1642
+ } else if (
1643
+ // css module (injected by vue-loader)
1644
+ (cssModule = type.__cssModules) && (cssModule = cssModule[key])
1645
+ ) {
1646
+ return cssModule;
1647
+ } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {
1648
+ accessCache[key] = 4;
1649
+ return ctx[key];
1650
+ } else if (
1651
+ // global properties
1652
+ globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)
1653
+ ) {
1654
+ {
1655
+ return globalProperties[key];
1656
+ }
1657
+ } else ;
1658
+ },
1659
+ set({ _: instance }, key, value) {
1660
+ const { data, setupState, ctx } = instance;
1661
+ if (hasSetupBinding(setupState, key)) {
1662
+ setupState[key] = value;
1663
+ return true;
1664
+ } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
1665
+ data[key] = value;
1666
+ return true;
1667
+ } else if (hasOwn(instance.props, key)) {
1668
+ return false;
1669
+ }
1670
+ if (key[0] === "$" && key.slice(1) in instance) {
1671
+ return false;
1672
+ } else {
1673
+ {
1674
+ ctx[key] = value;
1675
+ }
1676
+ }
1677
+ return true;
1678
+ },
1679
+ has({
1680
+ _: { data, setupState, accessCache, ctx, appContext, propsOptions }
1681
+ }, key) {
1682
+ let normalizedProps;
1683
+ return !!accessCache[key] || data !== EMPTY_OBJ && hasOwn(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key) || hasOwn(ctx, key) || hasOwn(publicPropertiesMap, key) || hasOwn(appContext.config.globalProperties, key);
1684
+ },
1685
+ defineProperty(target, key, descriptor) {
1686
+ if (descriptor.get != null) {
1687
+ target._.accessCache[key] = 0;
1688
+ } else if (hasOwn(descriptor, "value")) {
1689
+ this.set(target, key, descriptor.value, null);
1690
+ }
1691
+ return Reflect.defineProperty(target, key, descriptor);
1692
+ }
1693
+ };
1694
+ function useSlots() {
1695
+ return getContext().slots;
1696
+ }
1697
+ function useAttrs() {
1698
+ return getContext().attrs;
1699
+ }
1700
+ function getContext() {
1701
+ const i = getCurrentInstance();
1702
+ return i.setupContext || (i.setupContext = createSetupContext(i));
1703
+ }
1704
+ function normalizePropsOrEmits(props) {
1705
+ return isArray(props) ? props.reduce(
1706
+ (normalized, p) => (normalized[p] = null, normalized),
1707
+ {}
1708
+ ) : props;
1709
+ }
1710
+ let shouldCacheAccess = true;
1711
+ function applyOptions(instance) {
1712
+ const options = resolveMergedOptions(instance);
1713
+ const publicThis = instance.proxy;
1714
+ const ctx = instance.ctx;
1715
+ shouldCacheAccess = false;
1716
+ if (options.beforeCreate) {
1717
+ callHook(options.beforeCreate, instance, "bc");
1718
+ }
1719
+ const {
1720
+ // state
1721
+ data: dataOptions,
1722
+ computed: computedOptions,
1723
+ methods,
1724
+ watch: watchOptions,
1725
+ provide: provideOptions,
1726
+ inject: injectOptions,
1727
+ // lifecycle
1728
+ created,
1729
+ beforeMount,
1730
+ mounted,
1731
+ beforeUpdate,
1732
+ updated,
1733
+ activated,
1734
+ deactivated,
1735
+ beforeDestroy,
1736
+ beforeUnmount,
1737
+ destroyed,
1738
+ unmounted,
1739
+ render,
1740
+ renderTracked,
1741
+ renderTriggered,
1742
+ errorCaptured,
1743
+ serverPrefetch,
1744
+ // public API
1745
+ expose,
1746
+ inheritAttrs,
1747
+ // assets
1748
+ components,
1749
+ directives,
1750
+ filters
1751
+ } = options;
1752
+ const checkDuplicateProperties = null;
1753
+ if (injectOptions) {
1754
+ resolveInjections(injectOptions, ctx, checkDuplicateProperties);
1755
+ }
1756
+ if (methods) {
1757
+ for (const key in methods) {
1758
+ const methodHandler = methods[key];
1759
+ if (isFunction(methodHandler)) {
1760
+ {
1761
+ ctx[key] = methodHandler.bind(publicThis);
1762
+ }
1763
+ }
1764
+ }
1765
+ }
1766
+ if (dataOptions) {
1767
+ const data = dataOptions.call(publicThis, publicThis);
1768
+ if (!isObject(data)) ;
1769
+ else {
1770
+ instance.data = reactive(data);
1771
+ }
1772
+ }
1773
+ shouldCacheAccess = true;
1774
+ if (computedOptions) {
1775
+ for (const key in computedOptions) {
1776
+ const opt = computedOptions[key];
1777
+ const get = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
1778
+ const set = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : NOOP;
1779
+ const c = computed({
1780
+ get,
1781
+ set
1782
+ });
1783
+ Object.defineProperty(ctx, key, {
1784
+ enumerable: true,
1785
+ configurable: true,
1786
+ get: () => c.value,
1787
+ set: (v) => c.value = v
1788
+ });
1789
+ }
1790
+ }
1791
+ if (watchOptions) {
1792
+ for (const key in watchOptions) {
1793
+ createWatcher(watchOptions[key], ctx, publicThis, key);
1794
+ }
1795
+ }
1796
+ if (provideOptions) {
1797
+ const provides = isFunction(provideOptions) ? provideOptions.call(publicThis) : provideOptions;
1798
+ Reflect.ownKeys(provides).forEach((key) => {
1799
+ provide(key, provides[key]);
1800
+ });
1801
+ }
1802
+ if (created) {
1803
+ callHook(created, instance, "c");
1804
+ }
1805
+ function registerLifecycleHook(register, hook) {
1806
+ if (isArray(hook)) {
1807
+ hook.forEach((_hook) => register(_hook.bind(publicThis)));
1808
+ } else if (hook) {
1809
+ register(hook.bind(publicThis));
1810
+ }
1811
+ }
1812
+ registerLifecycleHook(onBeforeMount, beforeMount);
1813
+ registerLifecycleHook(onMounted, mounted);
1814
+ registerLifecycleHook(onBeforeUpdate, beforeUpdate);
1815
+ registerLifecycleHook(onUpdated, updated);
1816
+ registerLifecycleHook(onActivated, activated);
1817
+ registerLifecycleHook(onDeactivated, deactivated);
1818
+ registerLifecycleHook(onErrorCaptured, errorCaptured);
1819
+ registerLifecycleHook(onRenderTracked, renderTracked);
1820
+ registerLifecycleHook(onRenderTriggered, renderTriggered);
1821
+ registerLifecycleHook(onBeforeUnmount, beforeUnmount);
1822
+ registerLifecycleHook(onUnmounted, unmounted);
1823
+ registerLifecycleHook(onServerPrefetch, serverPrefetch);
1824
+ if (isArray(expose)) {
1825
+ if (expose.length) {
1826
+ const exposed = instance.exposed || (instance.exposed = {});
1827
+ expose.forEach((key) => {
1828
+ Object.defineProperty(exposed, key, {
1829
+ get: () => publicThis[key],
1830
+ set: (val) => publicThis[key] = val
1831
+ });
1832
+ });
1833
+ } else if (!instance.exposed) {
1834
+ instance.exposed = {};
1835
+ }
1836
+ }
1837
+ if (render && instance.render === NOOP) {
1838
+ instance.render = render;
1839
+ }
1840
+ if (inheritAttrs != null) {
1841
+ instance.inheritAttrs = inheritAttrs;
1842
+ }
1843
+ if (components) instance.components = components;
1844
+ if (directives) instance.directives = directives;
1845
+ if (serverPrefetch) {
1846
+ markAsyncBoundary(instance);
1847
+ }
1848
+ }
1849
+ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP) {
1850
+ if (isArray(injectOptions)) {
1851
+ injectOptions = normalizeInject(injectOptions);
1852
+ }
1853
+ for (const key in injectOptions) {
1854
+ const opt = injectOptions[key];
1855
+ let injected;
1856
+ if (isObject(opt)) {
1857
+ if ("default" in opt) {
1858
+ injected = inject(
1859
+ opt.from || key,
1860
+ opt.default,
1861
+ true
1862
+ );
1863
+ } else {
1864
+ injected = inject(opt.from || key);
1865
+ }
1866
+ } else {
1867
+ injected = inject(opt);
1868
+ }
1869
+ if (isRef(injected)) {
1870
+ Object.defineProperty(ctx, key, {
1871
+ enumerable: true,
1872
+ configurable: true,
1873
+ get: () => injected.value,
1874
+ set: (v) => injected.value = v
1875
+ });
1876
+ } else {
1877
+ ctx[key] = injected;
1878
+ }
1879
+ }
1880
+ }
1881
+ function callHook(hook, instance, type) {
1882
+ callWithAsyncErrorHandling(
1883
+ isArray(hook) ? hook.map((h2) => h2.bind(instance.proxy)) : hook.bind(instance.proxy),
1884
+ instance,
1885
+ type
1886
+ );
1887
+ }
1888
+ function createWatcher(raw, ctx, publicThis, key) {
1889
+ let getter = key.includes(".") ? createPathGetter(publicThis, key) : () => publicThis[key];
1890
+ if (isString(raw)) {
1891
+ const handler = ctx[raw];
1892
+ if (isFunction(handler)) {
1893
+ {
1894
+ watch(getter, handler);
1895
+ }
1896
+ }
1897
+ } else if (isFunction(raw)) {
1898
+ {
1899
+ watch(getter, raw.bind(publicThis));
1900
+ }
1901
+ } else if (isObject(raw)) {
1902
+ if (isArray(raw)) {
1903
+ raw.forEach((r) => createWatcher(r, ctx, publicThis, key));
1904
+ } else {
1905
+ const handler = isFunction(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler];
1906
+ if (isFunction(handler)) {
1907
+ watch(getter, handler, raw);
1908
+ }
1909
+ }
1910
+ } else ;
1911
+ }
1912
+ function resolveMergedOptions(instance) {
1913
+ const base = instance.type;
1914
+ const { mixins, extends: extendsOptions } = base;
1915
+ const {
1916
+ mixins: globalMixins,
1917
+ optionsCache: cache,
1918
+ config: { optionMergeStrategies }
1919
+ } = instance.appContext;
1920
+ const cached = cache.get(base);
1921
+ let resolved;
1922
+ if (cached) {
1923
+ resolved = cached;
1924
+ } else if (!globalMixins.length && !mixins && !extendsOptions) {
1925
+ {
1926
+ resolved = base;
1927
+ }
1928
+ } else {
1929
+ resolved = {};
1930
+ if (globalMixins.length) {
1931
+ globalMixins.forEach(
1932
+ (m) => mergeOptions(resolved, m, optionMergeStrategies, true)
1933
+ );
1934
+ }
1935
+ mergeOptions(resolved, base, optionMergeStrategies);
1936
+ }
1937
+ if (isObject(base)) {
1938
+ cache.set(base, resolved);
1939
+ }
1940
+ return resolved;
1941
+ }
1942
+ function mergeOptions(to, from, strats, asMixin = false) {
1943
+ const { mixins, extends: extendsOptions } = from;
1944
+ if (extendsOptions) {
1945
+ mergeOptions(to, extendsOptions, strats, true);
1946
+ }
1947
+ if (mixins) {
1948
+ mixins.forEach(
1949
+ (m) => mergeOptions(to, m, strats, true)
1950
+ );
1951
+ }
1952
+ for (const key in from) {
1953
+ if (asMixin && key === "expose") ;
1954
+ else {
1955
+ const strat = internalOptionMergeStrats[key] || strats && strats[key];
1956
+ to[key] = strat ? strat(to[key], from[key]) : from[key];
1957
+ }
1958
+ }
1959
+ return to;
1960
+ }
1961
+ const internalOptionMergeStrats = {
1962
+ data: mergeDataFn,
1963
+ props: mergeEmitsOrPropsOptions,
1964
+ emits: mergeEmitsOrPropsOptions,
1965
+ // objects
1966
+ methods: mergeObjectOptions,
1967
+ computed: mergeObjectOptions,
1968
+ // lifecycle
1969
+ beforeCreate: mergeAsArray,
1970
+ created: mergeAsArray,
1971
+ beforeMount: mergeAsArray,
1972
+ mounted: mergeAsArray,
1973
+ beforeUpdate: mergeAsArray,
1974
+ updated: mergeAsArray,
1975
+ beforeDestroy: mergeAsArray,
1976
+ beforeUnmount: mergeAsArray,
1977
+ destroyed: mergeAsArray,
1978
+ unmounted: mergeAsArray,
1979
+ activated: mergeAsArray,
1980
+ deactivated: mergeAsArray,
1981
+ errorCaptured: mergeAsArray,
1982
+ serverPrefetch: mergeAsArray,
1983
+ // assets
1984
+ components: mergeObjectOptions,
1985
+ directives: mergeObjectOptions,
1986
+ // watch
1987
+ watch: mergeWatchOptions,
1988
+ // provide / inject
1989
+ provide: mergeDataFn,
1990
+ inject: mergeInject
1991
+ };
1992
+ function mergeDataFn(to, from) {
1993
+ if (!from) {
1994
+ return to;
1995
+ }
1996
+ if (!to) {
1997
+ return from;
1998
+ }
1999
+ return function mergedDataFn() {
2000
+ return extend(
2001
+ isFunction(to) ? to.call(this, this) : to,
2002
+ isFunction(from) ? from.call(this, this) : from
2003
+ );
2004
+ };
2005
+ }
2006
+ function mergeInject(to, from) {
2007
+ return mergeObjectOptions(normalizeInject(to), normalizeInject(from));
2008
+ }
2009
+ function normalizeInject(raw) {
2010
+ if (isArray(raw)) {
2011
+ const res = {};
2012
+ for (let i = 0; i < raw.length; i++) {
2013
+ res[raw[i]] = raw[i];
2014
+ }
2015
+ return res;
2016
+ }
2017
+ return raw;
2018
+ }
2019
+ function mergeAsArray(to, from) {
2020
+ return to ? [...new Set([].concat(to, from))] : from;
2021
+ }
2022
+ function mergeObjectOptions(to, from) {
2023
+ return to ? extend(/* @__PURE__ */ Object.create(null), to, from) : from;
2024
+ }
2025
+ function mergeEmitsOrPropsOptions(to, from) {
2026
+ if (to) {
2027
+ if (isArray(to) && isArray(from)) {
2028
+ return [.../* @__PURE__ */ new Set([...to, ...from])];
2029
+ }
2030
+ return extend(
2031
+ /* @__PURE__ */ Object.create(null),
2032
+ normalizePropsOrEmits(to),
2033
+ normalizePropsOrEmits(from != null ? from : {})
2034
+ );
2035
+ } else {
2036
+ return from;
2037
+ }
2038
+ }
2039
+ function mergeWatchOptions(to, from) {
2040
+ if (!to) return from;
2041
+ if (!from) return to;
2042
+ const merged = extend(/* @__PURE__ */ Object.create(null), to);
2043
+ for (const key in from) {
2044
+ merged[key] = mergeAsArray(to[key], from[key]);
2045
+ }
2046
+ return merged;
2047
+ }
2048
+ function createAppContext() {
2049
+ return {
2050
+ app: null,
2051
+ config: {
2052
+ isNativeTag: NO,
2053
+ performance: false,
2054
+ globalProperties: {},
2055
+ optionMergeStrategies: {},
2056
+ errorHandler: void 0,
2057
+ warnHandler: void 0,
2058
+ compilerOptions: {}
2059
+ },
2060
+ mixins: [],
2061
+ components: {},
2062
+ directives: {},
2063
+ provides: /* @__PURE__ */ Object.create(null),
2064
+ optionsCache: /* @__PURE__ */ new WeakMap(),
2065
+ propsCache: /* @__PURE__ */ new WeakMap(),
2066
+ emitsCache: /* @__PURE__ */ new WeakMap()
2067
+ };
2068
+ }
2069
+ let uid$1 = 0;
2070
+ function createAppAPI(render, hydrate) {
2071
+ return function createApp(rootComponent, rootProps = null) {
2072
+ if (!isFunction(rootComponent)) {
2073
+ rootComponent = extend({}, rootComponent);
2074
+ }
2075
+ if (rootProps != null && !isObject(rootProps)) {
2076
+ rootProps = null;
2077
+ }
2078
+ const context = createAppContext();
2079
+ const installedPlugins = /* @__PURE__ */ new WeakSet();
2080
+ const pluginCleanupFns = [];
2081
+ let isMounted = false;
2082
+ const app = context.app = {
2083
+ _uid: uid$1++,
2084
+ _component: rootComponent,
2085
+ _props: rootProps,
2086
+ _container: null,
2087
+ _context: context,
2088
+ _instance: null,
2089
+ version,
2090
+ get config() {
2091
+ return context.config;
2092
+ },
2093
+ set config(v) {
2094
+ },
2095
+ use(plugin, ...options) {
2096
+ if (installedPlugins.has(plugin)) ;
2097
+ else if (plugin && isFunction(plugin.install)) {
2098
+ installedPlugins.add(plugin);
2099
+ plugin.install(app, ...options);
2100
+ } else if (isFunction(plugin)) {
2101
+ installedPlugins.add(plugin);
2102
+ plugin(app, ...options);
2103
+ } else ;
2104
+ return app;
2105
+ },
2106
+ mixin(mixin) {
2107
+ {
2108
+ if (!context.mixins.includes(mixin)) {
2109
+ context.mixins.push(mixin);
2110
+ }
2111
+ }
2112
+ return app;
2113
+ },
2114
+ component(name, component) {
2115
+ if (!component) {
2116
+ return context.components[name];
2117
+ }
2118
+ context.components[name] = component;
2119
+ return app;
2120
+ },
2121
+ directive(name, directive) {
2122
+ if (!directive) {
2123
+ return context.directives[name];
2124
+ }
2125
+ context.directives[name] = directive;
2126
+ return app;
2127
+ },
2128
+ mount(rootContainer, isHydrate, namespace) {
2129
+ if (!isMounted) {
2130
+ const vnode = app._ceVNode || createVNode(rootComponent, rootProps);
2131
+ vnode.appContext = context;
2132
+ if (namespace === true) {
2133
+ namespace = "svg";
2134
+ } else if (namespace === false) {
2135
+ namespace = void 0;
2136
+ }
2137
+ {
2138
+ render(vnode, rootContainer, namespace);
2139
+ }
2140
+ isMounted = true;
2141
+ app._container = rootContainer;
2142
+ rootContainer.__vue_app__ = app;
2143
+ return getComponentPublicInstance(vnode.component);
2144
+ }
2145
+ },
2146
+ onUnmount(cleanupFn) {
2147
+ pluginCleanupFns.push(cleanupFn);
2148
+ },
2149
+ unmount() {
2150
+ if (isMounted) {
2151
+ callWithAsyncErrorHandling(
2152
+ pluginCleanupFns,
2153
+ app._instance,
2154
+ 16
2155
+ );
2156
+ render(null, app._container);
2157
+ delete app._container.__vue_app__;
2158
+ }
2159
+ },
2160
+ provide(key, value) {
2161
+ context.provides[key] = value;
2162
+ return app;
2163
+ },
2164
+ runWithContext(fn) {
2165
+ const lastApp = currentApp;
2166
+ currentApp = app;
2167
+ try {
2168
+ return fn();
2169
+ } finally {
2170
+ currentApp = lastApp;
2171
+ }
2172
+ }
2173
+ };
2174
+ return app;
2175
+ };
2176
+ }
2177
+ let currentApp = null;
2178
+ function provide(key, value) {
2179
+ if (!currentInstance) ;
2180
+ else {
2181
+ let provides = currentInstance.provides;
2182
+ const parentProvides = currentInstance.parent && currentInstance.parent.provides;
2183
+ if (parentProvides === provides) {
2184
+ provides = currentInstance.provides = Object.create(parentProvides);
2185
+ }
2186
+ provides[key] = value;
2187
+ }
2188
+ }
2189
+ function inject(key, defaultValue, treatDefaultAsFactory = false) {
2190
+ const instance = currentInstance || currentRenderingInstance;
2191
+ if (instance || currentApp) {
2192
+ const provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
2193
+ if (provides && key in provides) {
2194
+ return provides[key];
2195
+ } else if (arguments.length > 1) {
2196
+ return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
2197
+ } else ;
2198
+ }
2199
+ }
2200
+ const internalObjectProto = {};
2201
+ const createInternalObject = () => Object.create(internalObjectProto);
2202
+ const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
2203
+ function initProps(instance, rawProps, isStateful, isSSR = false) {
2204
+ const props = {};
2205
+ const attrs = createInternalObject();
2206
+ instance.propsDefaults = /* @__PURE__ */ Object.create(null);
2207
+ setFullProps(instance, rawProps, props, attrs);
2208
+ for (const key in instance.propsOptions[0]) {
2209
+ if (!(key in props)) {
2210
+ props[key] = void 0;
2211
+ }
2212
+ }
2213
+ if (isStateful) {
2214
+ instance.props = isSSR ? props : shallowReactive(props);
2215
+ } else {
2216
+ if (!instance.type.props) {
2217
+ instance.props = attrs;
2218
+ } else {
2219
+ instance.props = props;
2220
+ }
2221
+ }
2222
+ instance.attrs = attrs;
2223
+ }
2224
+ function updateProps(instance, rawProps, rawPrevProps, optimized) {
2225
+ const {
2226
+ props,
2227
+ attrs,
2228
+ vnode: { patchFlag }
2229
+ } = instance;
2230
+ const rawCurrentProps = toRaw(props);
2231
+ const [options] = instance.propsOptions;
2232
+ let hasAttrsChanged = false;
2233
+ if (
2234
+ // always force full diff in dev
2235
+ // - #1942 if hmr is enabled with sfc component
2236
+ // - vite#872 non-sfc component used by sfc component
2237
+ (optimized || patchFlag > 0) && !(patchFlag & 16)
2238
+ ) {
2239
+ if (patchFlag & 8) {
2240
+ const propsToUpdate = instance.vnode.dynamicProps;
2241
+ for (let i = 0; i < propsToUpdate.length; i++) {
2242
+ let key = propsToUpdate[i];
2243
+ if (isEmitListener(instance.emitsOptions, key)) {
2244
+ continue;
2245
+ }
2246
+ const value = rawProps[key];
2247
+ if (options) {
2248
+ if (hasOwn(attrs, key)) {
2249
+ if (value !== attrs[key]) {
2250
+ attrs[key] = value;
2251
+ hasAttrsChanged = true;
2252
+ }
2253
+ } else {
2254
+ const camelizedKey = camelize(key);
2255
+ props[camelizedKey] = resolvePropValue(
2256
+ options,
2257
+ rawCurrentProps,
2258
+ camelizedKey,
2259
+ value,
2260
+ instance,
2261
+ false
2262
+ );
2263
+ }
2264
+ } else {
2265
+ if (value !== attrs[key]) {
2266
+ attrs[key] = value;
2267
+ hasAttrsChanged = true;
2268
+ }
2269
+ }
2270
+ }
2271
+ }
2272
+ } else {
2273
+ if (setFullProps(instance, rawProps, props, attrs)) {
2274
+ hasAttrsChanged = true;
2275
+ }
2276
+ let kebabKey;
2277
+ for (const key in rawCurrentProps) {
2278
+ if (!rawProps || // for camelCase
2279
+ !hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
2280
+ // and converted to camelCase (#955)
2281
+ ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey))) {
2282
+ if (options) {
2283
+ if (rawPrevProps && // for camelCase
2284
+ (rawPrevProps[key] !== void 0 || // for kebab-case
2285
+ rawPrevProps[kebabKey] !== void 0)) {
2286
+ props[key] = resolvePropValue(
2287
+ options,
2288
+ rawCurrentProps,
2289
+ key,
2290
+ void 0,
2291
+ instance,
2292
+ true
2293
+ );
2294
+ }
2295
+ } else {
2296
+ delete props[key];
2297
+ }
2298
+ }
2299
+ }
2300
+ if (attrs !== rawCurrentProps) {
2301
+ for (const key in attrs) {
2302
+ if (!rawProps || !hasOwn(rawProps, key) && true) {
2303
+ delete attrs[key];
2304
+ hasAttrsChanged = true;
2305
+ }
2306
+ }
2307
+ }
2308
+ }
2309
+ if (hasAttrsChanged) {
2310
+ trigger(instance.attrs, "set", "");
2311
+ }
2312
+ }
2313
+ function setFullProps(instance, rawProps, props, attrs) {
2314
+ const [options, needCastKeys] = instance.propsOptions;
2315
+ let hasAttrsChanged = false;
2316
+ let rawCastValues;
2317
+ if (rawProps) {
2318
+ for (let key in rawProps) {
2319
+ if (isReservedProp(key)) {
2320
+ continue;
2321
+ }
2322
+ const value = rawProps[key];
2323
+ let camelKey;
2324
+ if (options && hasOwn(options, camelKey = camelize(key))) {
2325
+ if (!needCastKeys || !needCastKeys.includes(camelKey)) {
2326
+ props[camelKey] = value;
2327
+ } else {
2328
+ (rawCastValues || (rawCastValues = {}))[camelKey] = value;
2329
+ }
2330
+ } else if (!isEmitListener(instance.emitsOptions, key)) {
2331
+ if (!(key in attrs) || value !== attrs[key]) {
2332
+ attrs[key] = value;
2333
+ hasAttrsChanged = true;
2334
+ }
2335
+ }
2336
+ }
2337
+ }
2338
+ if (needCastKeys) {
2339
+ const rawCurrentProps = toRaw(props);
2340
+ const castValues = rawCastValues || EMPTY_OBJ;
2341
+ for (let i = 0; i < needCastKeys.length; i++) {
2342
+ const key = needCastKeys[i];
2343
+ props[key] = resolvePropValue(
2344
+ options,
2345
+ rawCurrentProps,
2346
+ key,
2347
+ castValues[key],
2348
+ instance,
2349
+ !hasOwn(castValues, key)
2350
+ );
2351
+ }
2352
+ }
2353
+ return hasAttrsChanged;
2354
+ }
2355
+ function resolvePropValue(options, props, key, value, instance, isAbsent) {
2356
+ const opt = options[key];
2357
+ if (opt != null) {
2358
+ const hasDefault = hasOwn(opt, "default");
2359
+ if (hasDefault && value === void 0) {
2360
+ const defaultValue = opt.default;
2361
+ if (opt.type !== Function && !opt.skipFactory && isFunction(defaultValue)) {
2362
+ const { propsDefaults } = instance;
2363
+ if (key in propsDefaults) {
2364
+ value = propsDefaults[key];
2365
+ } else {
2366
+ const reset = setCurrentInstance(instance);
2367
+ value = propsDefaults[key] = defaultValue.call(
2368
+ null,
2369
+ props
2370
+ );
2371
+ reset();
2372
+ }
2373
+ } else {
2374
+ value = defaultValue;
2375
+ }
2376
+ if (instance.ce) {
2377
+ instance.ce._setProp(key, value);
2378
+ }
2379
+ }
2380
+ if (opt[
2381
+ 0
2382
+ /* shouldCast */
2383
+ ]) {
2384
+ if (isAbsent && !hasDefault) {
2385
+ value = false;
2386
+ } else if (opt[
2387
+ 1
2388
+ /* shouldCastTrue */
2389
+ ] && (value === "" || value === hyphenate(key))) {
2390
+ value = true;
2391
+ }
2392
+ }
2393
+ }
2394
+ return value;
2395
+ }
2396
+ const mixinPropsCache = /* @__PURE__ */ new WeakMap();
2397
+ function normalizePropsOptions(comp, appContext, asMixin = false) {
2398
+ const cache = asMixin ? mixinPropsCache : appContext.propsCache;
2399
+ const cached = cache.get(comp);
2400
+ if (cached) {
2401
+ return cached;
2402
+ }
2403
+ const raw = comp.props;
2404
+ const normalized = {};
2405
+ const needCastKeys = [];
2406
+ let hasExtends = false;
2407
+ if (!isFunction(comp)) {
2408
+ const extendProps = (raw2) => {
2409
+ hasExtends = true;
2410
+ const [props, keys] = normalizePropsOptions(raw2, appContext, true);
2411
+ extend(normalized, props);
2412
+ if (keys) needCastKeys.push(...keys);
2413
+ };
2414
+ if (!asMixin && appContext.mixins.length) {
2415
+ appContext.mixins.forEach(extendProps);
2416
+ }
2417
+ if (comp.extends) {
2418
+ extendProps(comp.extends);
2419
+ }
2420
+ if (comp.mixins) {
2421
+ comp.mixins.forEach(extendProps);
2422
+ }
2423
+ }
2424
+ if (!raw && !hasExtends) {
2425
+ if (isObject(comp)) {
2426
+ cache.set(comp, EMPTY_ARR);
2427
+ }
2428
+ return EMPTY_ARR;
2429
+ }
2430
+ if (isArray(raw)) {
2431
+ for (let i = 0; i < raw.length; i++) {
2432
+ const normalizedKey = camelize(raw[i]);
2433
+ if (validatePropName(normalizedKey)) {
2434
+ normalized[normalizedKey] = EMPTY_OBJ;
2435
+ }
2436
+ }
2437
+ } else if (raw) {
2438
+ for (const key in raw) {
2439
+ const normalizedKey = camelize(key);
2440
+ if (validatePropName(normalizedKey)) {
2441
+ const opt = raw[key];
2442
+ const prop = normalized[normalizedKey] = isArray(opt) || isFunction(opt) ? { type: opt } : extend({}, opt);
2443
+ const propType = prop.type;
2444
+ let shouldCast = false;
2445
+ let shouldCastTrue = true;
2446
+ if (isArray(propType)) {
2447
+ for (let index = 0; index < propType.length; ++index) {
2448
+ const type = propType[index];
2449
+ const typeName = isFunction(type) && type.name;
2450
+ if (typeName === "Boolean") {
2451
+ shouldCast = true;
2452
+ break;
2453
+ } else if (typeName === "String") {
2454
+ shouldCastTrue = false;
2455
+ }
2456
+ }
2457
+ } else {
2458
+ shouldCast = isFunction(propType) && propType.name === "Boolean";
2459
+ }
2460
+ prop[
2461
+ 0
2462
+ /* shouldCast */
2463
+ ] = shouldCast;
2464
+ prop[
2465
+ 1
2466
+ /* shouldCastTrue */
2467
+ ] = shouldCastTrue;
2468
+ if (shouldCast || hasOwn(prop, "default")) {
2469
+ needCastKeys.push(normalizedKey);
2470
+ }
2471
+ }
2472
+ }
2473
+ }
2474
+ const res = [normalized, needCastKeys];
2475
+ if (isObject(comp)) {
2476
+ cache.set(comp, res);
2477
+ }
2478
+ return res;
2479
+ }
2480
+ function validatePropName(key) {
2481
+ if (key[0] !== "$" && !isReservedProp(key)) {
2482
+ return true;
2483
+ }
2484
+ return false;
2485
+ }
2486
+ const isInternalKey = (key) => key[0] === "_" || key === "$stable";
2487
+ const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
2488
+ const normalizeSlot = (key, rawSlot, ctx) => {
2489
+ if (rawSlot._n) {
2490
+ return rawSlot;
2491
+ }
2492
+ const normalized = withCtx((...args) => {
2493
+ if (false) ;
2494
+ return normalizeSlotValue(rawSlot(...args));
2495
+ }, ctx);
2496
+ normalized._c = false;
2497
+ return normalized;
2498
+ };
2499
+ const normalizeObjectSlots = (rawSlots, slots, instance) => {
2500
+ const ctx = rawSlots._ctx;
2501
+ for (const key in rawSlots) {
2502
+ if (isInternalKey(key)) continue;
2503
+ const value = rawSlots[key];
2504
+ if (isFunction(value)) {
2505
+ slots[key] = normalizeSlot(key, value, ctx);
2506
+ } else if (value != null) {
2507
+ const normalized = normalizeSlotValue(value);
2508
+ slots[key] = () => normalized;
2509
+ }
2510
+ }
2511
+ };
2512
+ const normalizeVNodeSlots = (instance, children) => {
2513
+ const normalized = normalizeSlotValue(children);
2514
+ instance.slots.default = () => normalized;
2515
+ };
2516
+ const assignSlots = (slots, children, optimized) => {
2517
+ for (const key in children) {
2518
+ if (optimized || key !== "_") {
2519
+ slots[key] = children[key];
2520
+ }
2521
+ }
2522
+ };
2523
+ const initSlots = (instance, children, optimized) => {
2524
+ const slots = instance.slots = createInternalObject();
2525
+ if (instance.vnode.shapeFlag & 32) {
2526
+ const type = children._;
2527
+ if (type) {
2528
+ assignSlots(slots, children, optimized);
2529
+ if (optimized) {
2530
+ def(slots, "_", type, true);
2531
+ }
2532
+ } else {
2533
+ normalizeObjectSlots(children, slots);
2534
+ }
2535
+ } else if (children) {
2536
+ normalizeVNodeSlots(instance, children);
2537
+ }
2538
+ };
2539
+ const updateSlots = (instance, children, optimized) => {
2540
+ const { vnode, slots } = instance;
2541
+ let needDeletionCheck = true;
2542
+ let deletionComparisonTarget = EMPTY_OBJ;
2543
+ if (vnode.shapeFlag & 32) {
2544
+ const type = children._;
2545
+ if (type) {
2546
+ if (optimized && type === 1) {
2547
+ needDeletionCheck = false;
2548
+ } else {
2549
+ assignSlots(slots, children, optimized);
2550
+ }
2551
+ } else {
2552
+ needDeletionCheck = !children.$stable;
2553
+ normalizeObjectSlots(children, slots);
2554
+ }
2555
+ deletionComparisonTarget = children;
2556
+ } else if (children) {
2557
+ normalizeVNodeSlots(instance, children);
2558
+ deletionComparisonTarget = { default: 1 };
2559
+ }
2560
+ if (needDeletionCheck) {
2561
+ for (const key in slots) {
2562
+ if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
2563
+ delete slots[key];
2564
+ }
2565
+ }
2566
+ }
2567
+ };
2568
+ const queuePostRenderEffect = queueEffectWithSuspense;
2569
+ function createRenderer(options) {
2570
+ return baseCreateRenderer(options);
2571
+ }
2572
+ function baseCreateRenderer(options, createHydrationFns) {
2573
+ const target = getGlobalThis();
2574
+ target.__VUE__ = true;
2575
+ const {
2576
+ insert: hostInsert,
2577
+ remove: hostRemove,
2578
+ patchProp: hostPatchProp,
2579
+ createElement: hostCreateElement,
2580
+ createText: hostCreateText,
2581
+ createComment: hostCreateComment,
2582
+ setText: hostSetText,
2583
+ setElementText: hostSetElementText,
2584
+ parentNode: hostParentNode,
2585
+ nextSibling: hostNextSibling,
2586
+ setScopeId: hostSetScopeId = NOOP,
2587
+ insertStaticContent: hostInsertStaticContent
2588
+ } = options;
2589
+ const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
2590
+ if (n1 === n2) {
2591
+ return;
2592
+ }
2593
+ if (n1 && !isSameVNodeType(n1, n2)) {
2594
+ anchor = getNextHostNode(n1);
2595
+ unmount(n1, parentComponent, parentSuspense, true);
2596
+ n1 = null;
2597
+ }
2598
+ if (n2.patchFlag === -2) {
2599
+ optimized = false;
2600
+ n2.dynamicChildren = null;
2601
+ }
2602
+ const { type, ref: ref3, shapeFlag } = n2;
2603
+ switch (type) {
2604
+ case Text:
2605
+ processText(n1, n2, container, anchor);
2606
+ break;
2607
+ case Comment:
2608
+ processCommentNode(n1, n2, container, anchor);
2609
+ break;
2610
+ case Static:
2611
+ if (n1 == null) {
2612
+ mountStaticNode(n2, container, anchor, namespace);
2613
+ }
2614
+ break;
2615
+ case Fragment:
2616
+ processFragment(
2617
+ n1,
2618
+ n2,
2619
+ container,
2620
+ anchor,
2621
+ parentComponent,
2622
+ parentSuspense,
2623
+ namespace,
2624
+ slotScopeIds,
2625
+ optimized
2626
+ );
2627
+ break;
2628
+ default:
2629
+ if (shapeFlag & 1) {
2630
+ processElement(
2631
+ n1,
2632
+ n2,
2633
+ container,
2634
+ anchor,
2635
+ parentComponent,
2636
+ parentSuspense,
2637
+ namespace,
2638
+ slotScopeIds,
2639
+ optimized
2640
+ );
2641
+ } else if (shapeFlag & 6) {
2642
+ processComponent(
2643
+ n1,
2644
+ n2,
2645
+ container,
2646
+ anchor,
2647
+ parentComponent,
2648
+ parentSuspense,
2649
+ namespace,
2650
+ slotScopeIds,
2651
+ optimized
2652
+ );
2653
+ } else if (shapeFlag & 64) {
2654
+ type.process(
2655
+ n1,
2656
+ n2,
2657
+ container,
2658
+ anchor,
2659
+ parentComponent,
2660
+ parentSuspense,
2661
+ namespace,
2662
+ slotScopeIds,
2663
+ optimized,
2664
+ internals
2665
+ );
2666
+ } else if (shapeFlag & 128) {
2667
+ type.process(
2668
+ n1,
2669
+ n2,
2670
+ container,
2671
+ anchor,
2672
+ parentComponent,
2673
+ parentSuspense,
2674
+ namespace,
2675
+ slotScopeIds,
2676
+ optimized,
2677
+ internals
2678
+ );
2679
+ } else ;
2680
+ }
2681
+ if (ref3 != null && parentComponent) {
2682
+ setRef(ref3, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
2683
+ }
2684
+ };
2685
+ const processText = (n1, n2, container, anchor) => {
2686
+ if (n1 == null) {
2687
+ hostInsert(
2688
+ n2.el = hostCreateText(n2.children),
2689
+ container,
2690
+ anchor
2691
+ );
2692
+ } else {
2693
+ const el = n2.el = n1.el;
2694
+ if (n2.children !== n1.children) {
2695
+ hostSetText(el, n2.children);
2696
+ }
2697
+ }
2698
+ };
2699
+ const processCommentNode = (n1, n2, container, anchor) => {
2700
+ if (n1 == null) {
2701
+ hostInsert(
2702
+ n2.el = hostCreateComment(n2.children || ""),
2703
+ container,
2704
+ anchor
2705
+ );
2706
+ } else {
2707
+ n2.el = n1.el;
2708
+ }
2709
+ };
2710
+ const mountStaticNode = (n2, container, anchor, namespace) => {
2711
+ [n2.el, n2.anchor] = hostInsertStaticContent(
2712
+ n2.children,
2713
+ container,
2714
+ anchor,
2715
+ namespace,
2716
+ n2.el,
2717
+ n2.anchor
2718
+ );
2719
+ };
2720
+ const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
2721
+ let next;
2722
+ while (el && el !== anchor) {
2723
+ next = hostNextSibling(el);
2724
+ hostInsert(el, container, nextSibling);
2725
+ el = next;
2726
+ }
2727
+ hostInsert(anchor, container, nextSibling);
2728
+ };
2729
+ const removeStaticNode = ({ el, anchor }) => {
2730
+ let next;
2731
+ while (el && el !== anchor) {
2732
+ next = hostNextSibling(el);
2733
+ hostRemove(el);
2734
+ el = next;
2735
+ }
2736
+ hostRemove(anchor);
2737
+ };
2738
+ const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
2739
+ if (n2.type === "svg") {
2740
+ namespace = "svg";
2741
+ } else if (n2.type === "math") {
2742
+ namespace = "mathml";
2743
+ }
2744
+ if (n1 == null) {
2745
+ mountElement(
2746
+ n2,
2747
+ container,
2748
+ anchor,
2749
+ parentComponent,
2750
+ parentSuspense,
2751
+ namespace,
2752
+ slotScopeIds,
2753
+ optimized
2754
+ );
2755
+ } else {
2756
+ patchElement(
2757
+ n1,
2758
+ n2,
2759
+ parentComponent,
2760
+ parentSuspense,
2761
+ namespace,
2762
+ slotScopeIds,
2763
+ optimized
2764
+ );
2765
+ }
2766
+ };
2767
+ const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
2768
+ let el;
2769
+ let vnodeHook;
2770
+ const { props, shapeFlag, transition, dirs } = vnode;
2771
+ el = vnode.el = hostCreateElement(
2772
+ vnode.type,
2773
+ namespace,
2774
+ props && props.is,
2775
+ props
2776
+ );
2777
+ if (shapeFlag & 8) {
2778
+ hostSetElementText(el, vnode.children);
2779
+ } else if (shapeFlag & 16) {
2780
+ mountChildren(
2781
+ vnode.children,
2782
+ el,
2783
+ null,
2784
+ parentComponent,
2785
+ parentSuspense,
2786
+ resolveChildrenNamespace(vnode, namespace),
2787
+ slotScopeIds,
2788
+ optimized
2789
+ );
2790
+ }
2791
+ if (dirs) {
2792
+ invokeDirectiveHook(vnode, null, parentComponent, "created");
2793
+ }
2794
+ setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
2795
+ if (props) {
2796
+ for (const key in props) {
2797
+ if (key !== "value" && !isReservedProp(key)) {
2798
+ hostPatchProp(el, key, null, props[key], namespace, parentComponent);
2799
+ }
2800
+ }
2801
+ if ("value" in props) {
2802
+ hostPatchProp(el, "value", null, props.value, namespace);
2803
+ }
2804
+ if (vnodeHook = props.onVnodeBeforeMount) {
2805
+ invokeVNodeHook(vnodeHook, parentComponent, vnode);
2806
+ }
2807
+ }
2808
+ if (dirs) {
2809
+ invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
2810
+ }
2811
+ const needCallTransitionHooks = needTransition(parentSuspense, transition);
2812
+ if (needCallTransitionHooks) {
2813
+ transition.beforeEnter(el);
2814
+ }
2815
+ hostInsert(el, container, anchor);
2816
+ if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
2817
+ queuePostRenderEffect(() => {
2818
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
2819
+ needCallTransitionHooks && transition.enter(el);
2820
+ dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
2821
+ }, parentSuspense);
2822
+ }
2823
+ };
2824
+ const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
2825
+ if (scopeId) {
2826
+ hostSetScopeId(el, scopeId);
2827
+ }
2828
+ if (slotScopeIds) {
2829
+ for (let i = 0; i < slotScopeIds.length; i++) {
2830
+ hostSetScopeId(el, slotScopeIds[i]);
2831
+ }
2832
+ }
2833
+ if (parentComponent) {
2834
+ let subTree = parentComponent.subTree;
2835
+ if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
2836
+ const parentVNode = parentComponent.vnode;
2837
+ setScopeId(
2838
+ el,
2839
+ parentVNode,
2840
+ parentVNode.scopeId,
2841
+ parentVNode.slotScopeIds,
2842
+ parentComponent.parent
2843
+ );
2844
+ }
2845
+ }
2846
+ };
2847
+ const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
2848
+ for (let i = start; i < children.length; i++) {
2849
+ const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);
2850
+ patch(
2851
+ null,
2852
+ child,
2853
+ container,
2854
+ anchor,
2855
+ parentComponent,
2856
+ parentSuspense,
2857
+ namespace,
2858
+ slotScopeIds,
2859
+ optimized
2860
+ );
2861
+ }
2862
+ };
2863
+ const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
2864
+ const el = n2.el = n1.el;
2865
+ let { patchFlag, dynamicChildren, dirs } = n2;
2866
+ patchFlag |= n1.patchFlag & 16;
2867
+ const oldProps = n1.props || EMPTY_OBJ;
2868
+ const newProps = n2.props || EMPTY_OBJ;
2869
+ let vnodeHook;
2870
+ parentComponent && toggleRecurse(parentComponent, false);
2871
+ if (vnodeHook = newProps.onVnodeBeforeUpdate) {
2872
+ invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
2873
+ }
2874
+ if (dirs) {
2875
+ invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
2876
+ }
2877
+ parentComponent && toggleRecurse(parentComponent, true);
2878
+ if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
2879
+ hostSetElementText(el, "");
2880
+ }
2881
+ if (dynamicChildren) {
2882
+ patchBlockChildren(
2883
+ n1.dynamicChildren,
2884
+ dynamicChildren,
2885
+ el,
2886
+ parentComponent,
2887
+ parentSuspense,
2888
+ resolveChildrenNamespace(n2, namespace),
2889
+ slotScopeIds
2890
+ );
2891
+ } else if (!optimized) {
2892
+ patchChildren(
2893
+ n1,
2894
+ n2,
2895
+ el,
2896
+ null,
2897
+ parentComponent,
2898
+ parentSuspense,
2899
+ resolveChildrenNamespace(n2, namespace),
2900
+ slotScopeIds,
2901
+ false
2902
+ );
2903
+ }
2904
+ if (patchFlag > 0) {
2905
+ if (patchFlag & 16) {
2906
+ patchProps(el, oldProps, newProps, parentComponent, namespace);
2907
+ } else {
2908
+ if (patchFlag & 2) {
2909
+ if (oldProps.class !== newProps.class) {
2910
+ hostPatchProp(el, "class", null, newProps.class, namespace);
2911
+ }
2912
+ }
2913
+ if (patchFlag & 4) {
2914
+ hostPatchProp(el, "style", oldProps.style, newProps.style, namespace);
2915
+ }
2916
+ if (patchFlag & 8) {
2917
+ const propsToUpdate = n2.dynamicProps;
2918
+ for (let i = 0; i < propsToUpdate.length; i++) {
2919
+ const key = propsToUpdate[i];
2920
+ const prev = oldProps[key];
2921
+ const next = newProps[key];
2922
+ if (next !== prev || key === "value") {
2923
+ hostPatchProp(el, key, prev, next, namespace, parentComponent);
2924
+ }
2925
+ }
2926
+ }
2927
+ }
2928
+ if (patchFlag & 1) {
2929
+ if (n1.children !== n2.children) {
2930
+ hostSetElementText(el, n2.children);
2931
+ }
2932
+ }
2933
+ } else if (!optimized && dynamicChildren == null) {
2934
+ patchProps(el, oldProps, newProps, parentComponent, namespace);
2935
+ }
2936
+ if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
2937
+ queuePostRenderEffect(() => {
2938
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
2939
+ dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
2940
+ }, parentSuspense);
2941
+ }
2942
+ };
2943
+ const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, namespace, slotScopeIds) => {
2944
+ for (let i = 0; i < newChildren.length; i++) {
2945
+ const oldVNode = oldChildren[i];
2946
+ const newVNode = newChildren[i];
2947
+ const container = (
2948
+ // oldVNode may be an errored async setup() component inside Suspense
2949
+ // which will not have a mounted element
2950
+ oldVNode.el && // - In the case of a Fragment, we need to provide the actual parent
2951
+ // of the Fragment itself so it can move its children.
2952
+ (oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
2953
+ // which also requires the correct parent container
2954
+ !isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything.
2955
+ oldVNode.shapeFlag & (6 | 64)) ? hostParentNode(oldVNode.el) : (
2956
+ // In other cases, the parent container is not actually used so we
2957
+ // just pass the block element here to avoid a DOM parentNode call.
2958
+ fallbackContainer
2959
+ )
2960
+ );
2961
+ patch(
2962
+ oldVNode,
2963
+ newVNode,
2964
+ container,
2965
+ null,
2966
+ parentComponent,
2967
+ parentSuspense,
2968
+ namespace,
2969
+ slotScopeIds,
2970
+ true
2971
+ );
2972
+ }
2973
+ };
2974
+ const patchProps = (el, oldProps, newProps, parentComponent, namespace) => {
2975
+ if (oldProps !== newProps) {
2976
+ if (oldProps !== EMPTY_OBJ) {
2977
+ for (const key in oldProps) {
2978
+ if (!isReservedProp(key) && !(key in newProps)) {
2979
+ hostPatchProp(
2980
+ el,
2981
+ key,
2982
+ oldProps[key],
2983
+ null,
2984
+ namespace,
2985
+ parentComponent
2986
+ );
2987
+ }
2988
+ }
2989
+ }
2990
+ for (const key in newProps) {
2991
+ if (isReservedProp(key)) continue;
2992
+ const next = newProps[key];
2993
+ const prev = oldProps[key];
2994
+ if (next !== prev && key !== "value") {
2995
+ hostPatchProp(el, key, prev, next, namespace, parentComponent);
2996
+ }
2997
+ }
2998
+ if ("value" in newProps) {
2999
+ hostPatchProp(el, "value", oldProps.value, newProps.value, namespace);
3000
+ }
3001
+ }
3002
+ };
3003
+ const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3004
+ const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
3005
+ const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
3006
+ let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
3007
+ if (fragmentSlotScopeIds) {
3008
+ slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
3009
+ }
3010
+ if (n1 == null) {
3011
+ hostInsert(fragmentStartAnchor, container, anchor);
3012
+ hostInsert(fragmentEndAnchor, container, anchor);
3013
+ mountChildren(
3014
+ // #10007
3015
+ // such fragment like `<></>` will be compiled into
3016
+ // a fragment which doesn't have a children.
3017
+ // In this case fallback to an empty array
3018
+ n2.children || [],
3019
+ container,
3020
+ fragmentEndAnchor,
3021
+ parentComponent,
3022
+ parentSuspense,
3023
+ namespace,
3024
+ slotScopeIds,
3025
+ optimized
3026
+ );
3027
+ } else {
3028
+ if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
3029
+ // of renderSlot() with no valid children
3030
+ n1.dynamicChildren) {
3031
+ patchBlockChildren(
3032
+ n1.dynamicChildren,
3033
+ dynamicChildren,
3034
+ container,
3035
+ parentComponent,
3036
+ parentSuspense,
3037
+ namespace,
3038
+ slotScopeIds
3039
+ );
3040
+ if (
3041
+ // #2080 if the stable fragment has a key, it's a <template v-for> that may
3042
+ // get moved around. Make sure all root level vnodes inherit el.
3043
+ // #2134 or if it's a component root, it may also get moved around
3044
+ // as the component is being moved.
3045
+ n2.key != null || parentComponent && n2 === parentComponent.subTree
3046
+ ) {
3047
+ traverseStaticChildren(
3048
+ n1,
3049
+ n2,
3050
+ true
3051
+ /* shallow */
3052
+ );
3053
+ }
3054
+ } else {
3055
+ patchChildren(
3056
+ n1,
3057
+ n2,
3058
+ container,
3059
+ fragmentEndAnchor,
3060
+ parentComponent,
3061
+ parentSuspense,
3062
+ namespace,
3063
+ slotScopeIds,
3064
+ optimized
3065
+ );
3066
+ }
3067
+ }
3068
+ };
3069
+ const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3070
+ n2.slotScopeIds = slotScopeIds;
3071
+ if (n1 == null) {
3072
+ if (n2.shapeFlag & 512) {
3073
+ parentComponent.ctx.activate(
3074
+ n2,
3075
+ container,
3076
+ anchor,
3077
+ namespace,
3078
+ optimized
3079
+ );
3080
+ } else {
3081
+ mountComponent(
3082
+ n2,
3083
+ container,
3084
+ anchor,
3085
+ parentComponent,
3086
+ parentSuspense,
3087
+ namespace,
3088
+ optimized
3089
+ );
3090
+ }
3091
+ } else {
3092
+ updateComponent(n1, n2, optimized);
3093
+ }
3094
+ };
3095
+ const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, namespace, optimized) => {
3096
+ const instance = initialVNode.component = createComponentInstance(
3097
+ initialVNode,
3098
+ parentComponent,
3099
+ parentSuspense
3100
+ );
3101
+ if (isKeepAlive(initialVNode)) {
3102
+ instance.ctx.renderer = internals;
3103
+ }
3104
+ {
3105
+ setupComponent(instance, false, optimized);
3106
+ }
3107
+ if (instance.asyncDep) {
3108
+ parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
3109
+ if (!initialVNode.el) {
3110
+ const placeholder = instance.subTree = createVNode(Comment);
3111
+ processCommentNode(null, placeholder, container, anchor);
3112
+ }
3113
+ } else {
3114
+ setupRenderEffect(
3115
+ instance,
3116
+ initialVNode,
3117
+ container,
3118
+ anchor,
3119
+ parentSuspense,
3120
+ namespace,
3121
+ optimized
3122
+ );
3123
+ }
3124
+ };
3125
+ const updateComponent = (n1, n2, optimized) => {
3126
+ const instance = n2.component = n1.component;
3127
+ if (shouldUpdateComponent(n1, n2, optimized)) {
3128
+ if (instance.asyncDep && !instance.asyncResolved) {
3129
+ updateComponentPreRender(instance, n2, optimized);
3130
+ return;
3131
+ } else {
3132
+ instance.next = n2;
3133
+ instance.update();
3134
+ }
3135
+ } else {
3136
+ n2.el = n1.el;
3137
+ instance.vnode = n2;
3138
+ }
3139
+ };
3140
+ const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
3141
+ const componentUpdateFn = () => {
3142
+ if (!instance.isMounted) {
3143
+ let vnodeHook;
3144
+ const { el, props } = initialVNode;
3145
+ const { bm, m, parent, root, type } = instance;
3146
+ const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
3147
+ toggleRecurse(instance, false);
3148
+ if (bm) {
3149
+ invokeArrayFns(bm);
3150
+ }
3151
+ if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeBeforeMount)) {
3152
+ invokeVNodeHook(vnodeHook, parent, initialVNode);
3153
+ }
3154
+ toggleRecurse(instance, true);
3155
+ {
3156
+ if (root.ce) {
3157
+ root.ce._injectChildStyle(type);
3158
+ }
3159
+ const subTree = instance.subTree = renderComponentRoot(instance);
3160
+ patch(
3161
+ null,
3162
+ subTree,
3163
+ container,
3164
+ anchor,
3165
+ instance,
3166
+ parentSuspense,
3167
+ namespace
3168
+ );
3169
+ initialVNode.el = subTree.el;
3170
+ }
3171
+ if (m) {
3172
+ queuePostRenderEffect(m, parentSuspense);
3173
+ }
3174
+ if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
3175
+ const scopedInitialVNode = initialVNode;
3176
+ queuePostRenderEffect(
3177
+ () => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode),
3178
+ parentSuspense
3179
+ );
3180
+ }
3181
+ if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {
3182
+ instance.a && queuePostRenderEffect(instance.a, parentSuspense);
3183
+ }
3184
+ instance.isMounted = true;
3185
+ initialVNode = container = anchor = null;
3186
+ } else {
3187
+ let { next, bu, u, parent, vnode } = instance;
3188
+ {
3189
+ const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
3190
+ if (nonHydratedAsyncRoot) {
3191
+ if (next) {
3192
+ next.el = vnode.el;
3193
+ updateComponentPreRender(instance, next, optimized);
3194
+ }
3195
+ nonHydratedAsyncRoot.asyncDep.then(() => {
3196
+ if (!instance.isUnmounted) {
3197
+ componentUpdateFn();
3198
+ }
3199
+ });
3200
+ return;
3201
+ }
3202
+ }
3203
+ let originNext = next;
3204
+ let vnodeHook;
3205
+ toggleRecurse(instance, false);
3206
+ if (next) {
3207
+ next.el = vnode.el;
3208
+ updateComponentPreRender(instance, next, optimized);
3209
+ } else {
3210
+ next = vnode;
3211
+ }
3212
+ if (bu) {
3213
+ invokeArrayFns(bu);
3214
+ }
3215
+ if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {
3216
+ invokeVNodeHook(vnodeHook, parent, next, vnode);
3217
+ }
3218
+ toggleRecurse(instance, true);
3219
+ const nextTree = renderComponentRoot(instance);
3220
+ const prevTree = instance.subTree;
3221
+ instance.subTree = nextTree;
3222
+ patch(
3223
+ prevTree,
3224
+ nextTree,
3225
+ // parent may have changed if it's in a teleport
3226
+ hostParentNode(prevTree.el),
3227
+ // anchor may have changed if it's in a fragment
3228
+ getNextHostNode(prevTree),
3229
+ instance,
3230
+ parentSuspense,
3231
+ namespace
3232
+ );
3233
+ next.el = nextTree.el;
3234
+ if (originNext === null) {
3235
+ updateHOCHostEl(instance, nextTree.el);
3236
+ }
3237
+ if (u) {
3238
+ queuePostRenderEffect(u, parentSuspense);
3239
+ }
3240
+ if (vnodeHook = next.props && next.props.onVnodeUpdated) {
3241
+ queuePostRenderEffect(
3242
+ () => invokeVNodeHook(vnodeHook, parent, next, vnode),
3243
+ parentSuspense
3244
+ );
3245
+ }
3246
+ }
3247
+ };
3248
+ instance.scope.on();
3249
+ const effect2 = instance.effect = new ReactiveEffect(componentUpdateFn);
3250
+ instance.scope.off();
3251
+ const update = instance.update = effect2.run.bind(effect2);
3252
+ const job = instance.job = effect2.runIfDirty.bind(effect2);
3253
+ job.i = instance;
3254
+ job.id = instance.uid;
3255
+ effect2.scheduler = () => queueJob(job);
3256
+ toggleRecurse(instance, true);
3257
+ update();
3258
+ };
3259
+ const updateComponentPreRender = (instance, nextVNode, optimized) => {
3260
+ nextVNode.component = instance;
3261
+ const prevProps = instance.vnode.props;
3262
+ instance.vnode = nextVNode;
3263
+ instance.next = null;
3264
+ updateProps(instance, nextVNode.props, prevProps, optimized);
3265
+ updateSlots(instance, nextVNode.children, optimized);
3266
+ pauseTracking();
3267
+ flushPreFlushCbs(instance);
3268
+ resetTracking();
3269
+ };
3270
+ const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized = false) => {
3271
+ const c1 = n1 && n1.children;
3272
+ const prevShapeFlag = n1 ? n1.shapeFlag : 0;
3273
+ const c2 = n2.children;
3274
+ const { patchFlag, shapeFlag } = n2;
3275
+ if (patchFlag > 0) {
3276
+ if (patchFlag & 128) {
3277
+ patchKeyedChildren(
3278
+ c1,
3279
+ c2,
3280
+ container,
3281
+ anchor,
3282
+ parentComponent,
3283
+ parentSuspense,
3284
+ namespace,
3285
+ slotScopeIds,
3286
+ optimized
3287
+ );
3288
+ return;
3289
+ } else if (patchFlag & 256) {
3290
+ patchUnkeyedChildren(
3291
+ c1,
3292
+ c2,
3293
+ container,
3294
+ anchor,
3295
+ parentComponent,
3296
+ parentSuspense,
3297
+ namespace,
3298
+ slotScopeIds,
3299
+ optimized
3300
+ );
3301
+ return;
3302
+ }
3303
+ }
3304
+ if (shapeFlag & 8) {
3305
+ if (prevShapeFlag & 16) {
3306
+ unmountChildren(c1, parentComponent, parentSuspense);
3307
+ }
3308
+ if (c2 !== c1) {
3309
+ hostSetElementText(container, c2);
3310
+ }
3311
+ } else {
3312
+ if (prevShapeFlag & 16) {
3313
+ if (shapeFlag & 16) {
3314
+ patchKeyedChildren(
3315
+ c1,
3316
+ c2,
3317
+ container,
3318
+ anchor,
3319
+ parentComponent,
3320
+ parentSuspense,
3321
+ namespace,
3322
+ slotScopeIds,
3323
+ optimized
3324
+ );
3325
+ } else {
3326
+ unmountChildren(c1, parentComponent, parentSuspense, true);
3327
+ }
3328
+ } else {
3329
+ if (prevShapeFlag & 8) {
3330
+ hostSetElementText(container, "");
3331
+ }
3332
+ if (shapeFlag & 16) {
3333
+ mountChildren(
3334
+ c2,
3335
+ container,
3336
+ anchor,
3337
+ parentComponent,
3338
+ parentSuspense,
3339
+ namespace,
3340
+ slotScopeIds,
3341
+ optimized
3342
+ );
3343
+ }
3344
+ }
3345
+ }
3346
+ };
3347
+ const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3348
+ c1 = c1 || EMPTY_ARR;
3349
+ c2 = c2 || EMPTY_ARR;
3350
+ const oldLength = c1.length;
3351
+ const newLength = c2.length;
3352
+ const commonLength = Math.min(oldLength, newLength);
3353
+ let i;
3354
+ for (i = 0; i < commonLength; i++) {
3355
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3356
+ patch(
3357
+ c1[i],
3358
+ nextChild,
3359
+ container,
3360
+ null,
3361
+ parentComponent,
3362
+ parentSuspense,
3363
+ namespace,
3364
+ slotScopeIds,
3365
+ optimized
3366
+ );
3367
+ }
3368
+ if (oldLength > newLength) {
3369
+ unmountChildren(
3370
+ c1,
3371
+ parentComponent,
3372
+ parentSuspense,
3373
+ true,
3374
+ false,
3375
+ commonLength
3376
+ );
3377
+ } else {
3378
+ mountChildren(
3379
+ c2,
3380
+ container,
3381
+ anchor,
3382
+ parentComponent,
3383
+ parentSuspense,
3384
+ namespace,
3385
+ slotScopeIds,
3386
+ optimized,
3387
+ commonLength
3388
+ );
3389
+ }
3390
+ };
3391
+ const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3392
+ let i = 0;
3393
+ const l2 = c2.length;
3394
+ let e1 = c1.length - 1;
3395
+ let e2 = l2 - 1;
3396
+ while (i <= e1 && i <= e2) {
3397
+ const n1 = c1[i];
3398
+ const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3399
+ if (isSameVNodeType(n1, n2)) {
3400
+ patch(
3401
+ n1,
3402
+ n2,
3403
+ container,
3404
+ null,
3405
+ parentComponent,
3406
+ parentSuspense,
3407
+ namespace,
3408
+ slotScopeIds,
3409
+ optimized
3410
+ );
3411
+ } else {
3412
+ break;
3413
+ }
3414
+ i++;
3415
+ }
3416
+ while (i <= e1 && i <= e2) {
3417
+ const n1 = c1[e1];
3418
+ const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
3419
+ if (isSameVNodeType(n1, n2)) {
3420
+ patch(
3421
+ n1,
3422
+ n2,
3423
+ container,
3424
+ null,
3425
+ parentComponent,
3426
+ parentSuspense,
3427
+ namespace,
3428
+ slotScopeIds,
3429
+ optimized
3430
+ );
3431
+ } else {
3432
+ break;
3433
+ }
3434
+ e1--;
3435
+ e2--;
3436
+ }
3437
+ if (i > e1) {
3438
+ if (i <= e2) {
3439
+ const nextPos = e2 + 1;
3440
+ const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
3441
+ while (i <= e2) {
3442
+ patch(
3443
+ null,
3444
+ c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]),
3445
+ container,
3446
+ anchor,
3447
+ parentComponent,
3448
+ parentSuspense,
3449
+ namespace,
3450
+ slotScopeIds,
3451
+ optimized
3452
+ );
3453
+ i++;
3454
+ }
3455
+ }
3456
+ } else if (i > e2) {
3457
+ while (i <= e1) {
3458
+ unmount(c1[i], parentComponent, parentSuspense, true);
3459
+ i++;
3460
+ }
3461
+ } else {
3462
+ const s1 = i;
3463
+ const s2 = i;
3464
+ const keyToNewIndexMap = /* @__PURE__ */ new Map();
3465
+ for (i = s2; i <= e2; i++) {
3466
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3467
+ if (nextChild.key != null) {
3468
+ keyToNewIndexMap.set(nextChild.key, i);
3469
+ }
3470
+ }
3471
+ let j;
3472
+ let patched = 0;
3473
+ const toBePatched = e2 - s2 + 1;
3474
+ let moved = false;
3475
+ let maxNewIndexSoFar = 0;
3476
+ const newIndexToOldIndexMap = new Array(toBePatched);
3477
+ for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;
3478
+ for (i = s1; i <= e1; i++) {
3479
+ const prevChild = c1[i];
3480
+ if (patched >= toBePatched) {
3481
+ unmount(prevChild, parentComponent, parentSuspense, true);
3482
+ continue;
3483
+ }
3484
+ let newIndex;
3485
+ if (prevChild.key != null) {
3486
+ newIndex = keyToNewIndexMap.get(prevChild.key);
3487
+ } else {
3488
+ for (j = s2; j <= e2; j++) {
3489
+ if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {
3490
+ newIndex = j;
3491
+ break;
3492
+ }
3493
+ }
3494
+ }
3495
+ if (newIndex === void 0) {
3496
+ unmount(prevChild, parentComponent, parentSuspense, true);
3497
+ } else {
3498
+ newIndexToOldIndexMap[newIndex - s2] = i + 1;
3499
+ if (newIndex >= maxNewIndexSoFar) {
3500
+ maxNewIndexSoFar = newIndex;
3501
+ } else {
3502
+ moved = true;
3503
+ }
3504
+ patch(
3505
+ prevChild,
3506
+ c2[newIndex],
3507
+ container,
3508
+ null,
3509
+ parentComponent,
3510
+ parentSuspense,
3511
+ namespace,
3512
+ slotScopeIds,
3513
+ optimized
3514
+ );
3515
+ patched++;
3516
+ }
3517
+ }
3518
+ const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : EMPTY_ARR;
3519
+ j = increasingNewIndexSequence.length - 1;
3520
+ for (i = toBePatched - 1; i >= 0; i--) {
3521
+ const nextIndex = s2 + i;
3522
+ const nextChild = c2[nextIndex];
3523
+ const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
3524
+ if (newIndexToOldIndexMap[i] === 0) {
3525
+ patch(
3526
+ null,
3527
+ nextChild,
3528
+ container,
3529
+ anchor,
3530
+ parentComponent,
3531
+ parentSuspense,
3532
+ namespace,
3533
+ slotScopeIds,
3534
+ optimized
3535
+ );
3536
+ } else if (moved) {
3537
+ if (j < 0 || i !== increasingNewIndexSequence[j]) {
3538
+ move(nextChild, container, anchor, 2);
3539
+ } else {
3540
+ j--;
3541
+ }
3542
+ }
3543
+ }
3544
+ }
3545
+ };
3546
+ const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
3547
+ const { el, type, transition, children, shapeFlag } = vnode;
3548
+ if (shapeFlag & 6) {
3549
+ move(vnode.component.subTree, container, anchor, moveType);
3550
+ return;
3551
+ }
3552
+ if (shapeFlag & 128) {
3553
+ vnode.suspense.move(container, anchor, moveType);
3554
+ return;
3555
+ }
3556
+ if (shapeFlag & 64) {
3557
+ type.move(vnode, container, anchor, internals);
3558
+ return;
3559
+ }
3560
+ if (type === Fragment) {
3561
+ hostInsert(el, container, anchor);
3562
+ for (let i = 0; i < children.length; i++) {
3563
+ move(children[i], container, anchor, moveType);
3564
+ }
3565
+ hostInsert(vnode.anchor, container, anchor);
3566
+ return;
3567
+ }
3568
+ if (type === Static) {
3569
+ moveStaticNode(vnode, container, anchor);
3570
+ return;
3571
+ }
3572
+ const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
3573
+ if (needTransition2) {
3574
+ if (moveType === 0) {
3575
+ transition.beforeEnter(el);
3576
+ hostInsert(el, container, anchor);
3577
+ queuePostRenderEffect(() => transition.enter(el), parentSuspense);
3578
+ } else {
3579
+ const { leave, delayLeave, afterLeave } = transition;
3580
+ const remove22 = () => hostInsert(el, container, anchor);
3581
+ const performLeave = () => {
3582
+ leave(el, () => {
3583
+ remove22();
3584
+ afterLeave && afterLeave();
3585
+ });
3586
+ };
3587
+ if (delayLeave) {
3588
+ delayLeave(el, remove22, performLeave);
3589
+ } else {
3590
+ performLeave();
3591
+ }
3592
+ }
3593
+ } else {
3594
+ hostInsert(el, container, anchor);
3595
+ }
3596
+ };
3597
+ const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
3598
+ const {
3599
+ type,
3600
+ props,
3601
+ ref: ref3,
3602
+ children,
3603
+ dynamicChildren,
3604
+ shapeFlag,
3605
+ patchFlag,
3606
+ dirs,
3607
+ cacheIndex
3608
+ } = vnode;
3609
+ if (patchFlag === -2) {
3610
+ optimized = false;
3611
+ }
3612
+ if (ref3 != null) {
3613
+ setRef(ref3, null, parentSuspense, vnode, true);
3614
+ }
3615
+ if (cacheIndex != null) {
3616
+ parentComponent.renderCache[cacheIndex] = void 0;
3617
+ }
3618
+ if (shapeFlag & 256) {
3619
+ parentComponent.ctx.deactivate(vnode);
3620
+ return;
3621
+ }
3622
+ const shouldInvokeDirs = shapeFlag & 1 && dirs;
3623
+ const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
3624
+ let vnodeHook;
3625
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeBeforeUnmount)) {
3626
+ invokeVNodeHook(vnodeHook, parentComponent, vnode);
3627
+ }
3628
+ if (shapeFlag & 6) {
3629
+ unmountComponent(vnode.component, parentSuspense, doRemove);
3630
+ } else {
3631
+ if (shapeFlag & 128) {
3632
+ vnode.suspense.unmount(parentSuspense, doRemove);
3633
+ return;
3634
+ }
3635
+ if (shouldInvokeDirs) {
3636
+ invokeDirectiveHook(vnode, null, parentComponent, "beforeUnmount");
3637
+ }
3638
+ if (shapeFlag & 64) {
3639
+ vnode.type.remove(
3640
+ vnode,
3641
+ parentComponent,
3642
+ parentSuspense,
3643
+ internals,
3644
+ doRemove
3645
+ );
3646
+ } else if (dynamicChildren && // #5154
3647
+ // when v-once is used inside a block, setBlockTracking(-1) marks the
3648
+ // parent block with hasOnce: true
3649
+ // so that it doesn't take the fast path during unmount - otherwise
3650
+ // components nested in v-once are never unmounted.
3651
+ !dynamicChildren.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
3652
+ (type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
3653
+ unmountChildren(
3654
+ dynamicChildren,
3655
+ parentComponent,
3656
+ parentSuspense,
3657
+ false,
3658
+ true
3659
+ );
3660
+ } else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {
3661
+ unmountChildren(children, parentComponent, parentSuspense);
3662
+ }
3663
+ if (doRemove) {
3664
+ remove2(vnode);
3665
+ }
3666
+ }
3667
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {
3668
+ queuePostRenderEffect(() => {
3669
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
3670
+ shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
3671
+ }, parentSuspense);
3672
+ }
3673
+ };
3674
+ const remove2 = (vnode) => {
3675
+ const { type, el, anchor, transition } = vnode;
3676
+ if (type === Fragment) {
3677
+ {
3678
+ removeFragment(el, anchor);
3679
+ }
3680
+ return;
3681
+ }
3682
+ if (type === Static) {
3683
+ removeStaticNode(vnode);
3684
+ return;
3685
+ }
3686
+ const performRemove = () => {
3687
+ hostRemove(el);
3688
+ if (transition && !transition.persisted && transition.afterLeave) {
3689
+ transition.afterLeave();
3690
+ }
3691
+ };
3692
+ if (vnode.shapeFlag & 1 && transition && !transition.persisted) {
3693
+ const { leave, delayLeave } = transition;
3694
+ const performLeave = () => leave(el, performRemove);
3695
+ if (delayLeave) {
3696
+ delayLeave(vnode.el, performRemove, performLeave);
3697
+ } else {
3698
+ performLeave();
3699
+ }
3700
+ } else {
3701
+ performRemove();
3702
+ }
3703
+ };
3704
+ const removeFragment = (cur, end) => {
3705
+ let next;
3706
+ while (cur !== end) {
3707
+ next = hostNextSibling(cur);
3708
+ hostRemove(cur);
3709
+ cur = next;
3710
+ }
3711
+ hostRemove(end);
3712
+ };
3713
+ const unmountComponent = (instance, parentSuspense, doRemove) => {
3714
+ const { bum, scope, job, subTree, um, m, a } = instance;
3715
+ invalidateMount(m);
3716
+ invalidateMount(a);
3717
+ if (bum) {
3718
+ invokeArrayFns(bum);
3719
+ }
3720
+ scope.stop();
3721
+ if (job) {
3722
+ job.flags |= 8;
3723
+ unmount(subTree, instance, parentSuspense, doRemove);
3724
+ }
3725
+ if (um) {
3726
+ queuePostRenderEffect(um, parentSuspense);
3727
+ }
3728
+ queuePostRenderEffect(() => {
3729
+ instance.isUnmounted = true;
3730
+ }, parentSuspense);
3731
+ if (parentSuspense && parentSuspense.pendingBranch && !parentSuspense.isUnmounted && instance.asyncDep && !instance.asyncResolved && instance.suspenseId === parentSuspense.pendingId) {
3732
+ parentSuspense.deps--;
3733
+ if (parentSuspense.deps === 0) {
3734
+ parentSuspense.resolve();
3735
+ }
3736
+ }
3737
+ };
3738
+ const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
3739
+ for (let i = start; i < children.length; i++) {
3740
+ unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
3741
+ }
3742
+ };
3743
+ const getNextHostNode = (vnode) => {
3744
+ if (vnode.shapeFlag & 6) {
3745
+ return getNextHostNode(vnode.component.subTree);
3746
+ }
3747
+ if (vnode.shapeFlag & 128) {
3748
+ return vnode.suspense.next();
3749
+ }
3750
+ const el = hostNextSibling(vnode.anchor || vnode.el);
3751
+ const teleportEnd = el && el[TeleportEndKey];
3752
+ return teleportEnd ? hostNextSibling(teleportEnd) : el;
3753
+ };
3754
+ let isFlushing = false;
3755
+ const render = (vnode, container, namespace) => {
3756
+ if (vnode == null) {
3757
+ if (container._vnode) {
3758
+ unmount(container._vnode, null, null, true);
3759
+ }
3760
+ } else {
3761
+ patch(
3762
+ container._vnode || null,
3763
+ vnode,
3764
+ container,
3765
+ null,
3766
+ null,
3767
+ null,
3768
+ namespace
3769
+ );
3770
+ }
3771
+ container._vnode = vnode;
3772
+ if (!isFlushing) {
3773
+ isFlushing = true;
3774
+ flushPreFlushCbs();
3775
+ flushPostFlushCbs();
3776
+ isFlushing = false;
3777
+ }
3778
+ };
3779
+ const internals = {
3780
+ p: patch,
3781
+ um: unmount,
3782
+ m: move,
3783
+ r: remove2,
3784
+ mt: mountComponent,
3785
+ mc: mountChildren,
3786
+ pc: patchChildren,
3787
+ pbc: patchBlockChildren,
3788
+ n: getNextHostNode,
3789
+ o: options
3790
+ };
3791
+ let hydrate;
3792
+ return {
3793
+ render,
3794
+ hydrate,
3795
+ createApp: createAppAPI(render)
3796
+ };
3797
+ }
3798
+ function resolveChildrenNamespace({ type, props }, currentNamespace) {
3799
+ return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
3800
+ }
3801
+ function toggleRecurse({ effect: effect2, job }, allowed) {
3802
+ if (allowed) {
3803
+ effect2.flags |= 32;
3804
+ job.flags |= 4;
3805
+ } else {
3806
+ effect2.flags &= -33;
3807
+ job.flags &= -5;
3808
+ }
3809
+ }
3810
+ function needTransition(parentSuspense, transition) {
3811
+ return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted;
3812
+ }
3813
+ function traverseStaticChildren(n1, n2, shallow = false) {
3814
+ const ch1 = n1.children;
3815
+ const ch2 = n2.children;
3816
+ if (isArray(ch1) && isArray(ch2)) {
3817
+ for (let i = 0; i < ch1.length; i++) {
3818
+ const c1 = ch1[i];
3819
+ let c2 = ch2[i];
3820
+ if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
3821
+ if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
3822
+ c2 = ch2[i] = cloneIfMounted(ch2[i]);
3823
+ c2.el = c1.el;
3824
+ }
3825
+ if (!shallow && c2.patchFlag !== -2)
3826
+ traverseStaticChildren(c1, c2);
3827
+ }
3828
+ if (c2.type === Text) {
3829
+ c2.el = c1.el;
3830
+ }
3831
+ }
3832
+ }
3833
+ }
3834
+ function getSequence(arr) {
3835
+ const p = arr.slice();
3836
+ const result = [0];
3837
+ let i, j, u, v, c;
3838
+ const len = arr.length;
3839
+ for (i = 0; i < len; i++) {
3840
+ const arrI = arr[i];
3841
+ if (arrI !== 0) {
3842
+ j = result[result.length - 1];
3843
+ if (arr[j] < arrI) {
3844
+ p[i] = j;
3845
+ result.push(i);
3846
+ continue;
3847
+ }
3848
+ u = 0;
3849
+ v = result.length - 1;
3850
+ while (u < v) {
3851
+ c = u + v >> 1;
3852
+ if (arr[result[c]] < arrI) {
3853
+ u = c + 1;
3854
+ } else {
3855
+ v = c;
3856
+ }
3857
+ }
3858
+ if (arrI < arr[result[u]]) {
3859
+ if (u > 0) {
3860
+ p[i] = result[u - 1];
3861
+ }
3862
+ result[u] = i;
3863
+ }
3864
+ }
3865
+ }
3866
+ u = result.length;
3867
+ v = result[u - 1];
3868
+ while (u-- > 0) {
3869
+ result[u] = v;
3870
+ v = p[v];
3871
+ }
3872
+ return result;
3873
+ }
3874
+ function locateNonHydratedAsyncRoot(instance) {
3875
+ const subComponent = instance.subTree.component;
3876
+ if (subComponent) {
3877
+ if (subComponent.asyncDep && !subComponent.asyncResolved) {
3878
+ return subComponent;
3879
+ } else {
3880
+ return locateNonHydratedAsyncRoot(subComponent);
3881
+ }
3882
+ }
3883
+ }
3884
+ function invalidateMount(hooks) {
3885
+ if (hooks) {
3886
+ for (let i = 0; i < hooks.length; i++)
3887
+ hooks[i].flags |= 8;
3888
+ }
3889
+ }
3890
+ const ssrContextKey = Symbol.for("v-scx");
3891
+ const useSSRContext = () => {
3892
+ {
3893
+ const ctx = inject(ssrContextKey);
3894
+ return ctx;
3895
+ }
3896
+ };
3897
+ function watchEffect(effect2, options) {
3898
+ return doWatch(effect2, null, options);
3899
+ }
3900
+ function watch(source, cb, options) {
3901
+ return doWatch(source, cb, options);
3902
+ }
3903
+ function doWatch(source, cb, options = EMPTY_OBJ) {
3904
+ const { immediate, deep, flush, once } = options;
3905
+ const baseWatchOptions = extend({}, options);
3906
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
3907
+ let ssrCleanup;
3908
+ if (isInSSRComponentSetup) {
3909
+ if (flush === "sync") {
3910
+ const ctx = useSSRContext();
3911
+ ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
3912
+ } else if (!runsImmediately) {
3913
+ const watchStopHandle = () => {
3914
+ };
3915
+ watchStopHandle.stop = NOOP;
3916
+ watchStopHandle.resume = NOOP;
3917
+ watchStopHandle.pause = NOOP;
3918
+ return watchStopHandle;
3919
+ }
3920
+ }
3921
+ const instance = currentInstance;
3922
+ baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
3923
+ let isPre = false;
3924
+ if (flush === "post") {
3925
+ baseWatchOptions.scheduler = (job) => {
3926
+ queuePostRenderEffect(job, instance && instance.suspense);
3927
+ };
3928
+ } else if (flush !== "sync") {
3929
+ isPre = true;
3930
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
3931
+ if (isFirstRun) {
3932
+ job();
3933
+ } else {
3934
+ queueJob(job);
3935
+ }
3936
+ };
3937
+ }
3938
+ baseWatchOptions.augmentJob = (job) => {
3939
+ if (cb) {
3940
+ job.flags |= 4;
3941
+ }
3942
+ if (isPre) {
3943
+ job.flags |= 2;
3944
+ if (instance) {
3945
+ job.id = instance.uid;
3946
+ job.i = instance;
3947
+ }
3948
+ }
3949
+ };
3950
+ const watchHandle = watch$1(source, cb, baseWatchOptions);
3951
+ if (isInSSRComponentSetup) {
3952
+ if (ssrCleanup) {
3953
+ ssrCleanup.push(watchHandle);
3954
+ } else if (runsImmediately) {
3955
+ watchHandle();
3956
+ }
3957
+ }
3958
+ return watchHandle;
3959
+ }
3960
+ function instanceWatch(source, value, options) {
3961
+ const publicThis = this.proxy;
3962
+ const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
3963
+ let cb;
3964
+ if (isFunction(value)) {
3965
+ cb = value;
3966
+ } else {
3967
+ cb = value.handler;
3968
+ options = value;
3969
+ }
3970
+ const reset = setCurrentInstance(this);
3971
+ const res = doWatch(getter, cb.bind(publicThis), options);
3972
+ reset();
3973
+ return res;
3974
+ }
3975
+ function createPathGetter(ctx, path) {
3976
+ const segments = path.split(".");
3977
+ return () => {
3978
+ let cur = ctx;
3979
+ for (let i = 0; i < segments.length && cur; i++) {
3980
+ cur = cur[segments[i]];
3981
+ }
3982
+ return cur;
3983
+ };
3984
+ }
3985
+ const getModelModifiers = (props, modelName) => {
3986
+ return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
3987
+ };
3988
+ function emit(instance, event, ...rawArgs) {
3989
+ if (instance.isUnmounted) return;
3990
+ const props = instance.vnode.props || EMPTY_OBJ;
3991
+ let args = rawArgs;
3992
+ const isModelListener2 = event.startsWith("update:");
3993
+ const modifiers = isModelListener2 && getModelModifiers(props, event.slice(7));
3994
+ if (modifiers) {
3995
+ if (modifiers.trim) {
3996
+ args = rawArgs.map((a) => isString(a) ? a.trim() : a);
3997
+ }
3998
+ if (modifiers.number) {
3999
+ args = rawArgs.map(looseToNumber);
4000
+ }
4001
+ }
4002
+ let handlerName;
4003
+ let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)
4004
+ props[handlerName = toHandlerKey(camelize(event))];
4005
+ if (!handler && isModelListener2) {
4006
+ handler = props[handlerName = toHandlerKey(hyphenate(event))];
4007
+ }
4008
+ if (handler) {
4009
+ callWithAsyncErrorHandling(
4010
+ handler,
4011
+ instance,
4012
+ 6,
4013
+ args
4014
+ );
4015
+ }
4016
+ const onceHandler = props[handlerName + `Once`];
4017
+ if (onceHandler) {
4018
+ if (!instance.emitted) {
4019
+ instance.emitted = {};
4020
+ } else if (instance.emitted[handlerName]) {
4021
+ return;
4022
+ }
4023
+ instance.emitted[handlerName] = true;
4024
+ callWithAsyncErrorHandling(
4025
+ onceHandler,
4026
+ instance,
4027
+ 6,
4028
+ args
4029
+ );
4030
+ }
4031
+ }
4032
+ function normalizeEmitsOptions(comp, appContext, asMixin = false) {
4033
+ const cache = appContext.emitsCache;
4034
+ const cached = cache.get(comp);
4035
+ if (cached !== void 0) {
4036
+ return cached;
4037
+ }
4038
+ const raw = comp.emits;
4039
+ let normalized = {};
4040
+ let hasExtends = false;
4041
+ if (!isFunction(comp)) {
4042
+ const extendEmits = (raw2) => {
4043
+ const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
4044
+ if (normalizedFromExtend) {
4045
+ hasExtends = true;
4046
+ extend(normalized, normalizedFromExtend);
4047
+ }
4048
+ };
4049
+ if (!asMixin && appContext.mixins.length) {
4050
+ appContext.mixins.forEach(extendEmits);
4051
+ }
4052
+ if (comp.extends) {
4053
+ extendEmits(comp.extends);
4054
+ }
4055
+ if (comp.mixins) {
4056
+ comp.mixins.forEach(extendEmits);
4057
+ }
4058
+ }
4059
+ if (!raw && !hasExtends) {
4060
+ if (isObject(comp)) {
4061
+ cache.set(comp, null);
4062
+ }
4063
+ return null;
4064
+ }
4065
+ if (isArray(raw)) {
4066
+ raw.forEach((key) => normalized[key] = null);
4067
+ } else {
4068
+ extend(normalized, raw);
4069
+ }
4070
+ if (isObject(comp)) {
4071
+ cache.set(comp, normalized);
4072
+ }
4073
+ return normalized;
4074
+ }
4075
+ function isEmitListener(options, key) {
4076
+ if (!options || !isOn(key)) {
4077
+ return false;
4078
+ }
4079
+ key = key.slice(2).replace(/Once$/, "");
4080
+ return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
4081
+ }
4082
+ function markAttrsAccessed() {
4083
+ }
4084
+ function renderComponentRoot(instance) {
4085
+ const {
4086
+ type: Component,
4087
+ vnode,
4088
+ proxy,
4089
+ withProxy,
4090
+ propsOptions: [propsOptions],
4091
+ slots,
4092
+ attrs,
4093
+ emit: emit2,
4094
+ render,
4095
+ renderCache,
4096
+ props,
4097
+ data,
4098
+ setupState,
4099
+ ctx,
4100
+ inheritAttrs
4101
+ } = instance;
4102
+ const prev = setCurrentRenderingInstance(instance);
4103
+ let result;
4104
+ let fallthroughAttrs;
4105
+ try {
4106
+ if (vnode.shapeFlag & 4) {
4107
+ const proxyToUse = withProxy || proxy;
4108
+ const thisProxy = false ? new Proxy(proxyToUse, {
4109
+ get(target, key, receiver) {
4110
+ warn$1(
4111
+ `Property '${String(
4112
+ key
4113
+ )}' was accessed via 'this'. Avoid using 'this' in templates.`
4114
+ );
4115
+ return Reflect.get(target, key, receiver);
4116
+ }
4117
+ }) : proxyToUse;
4118
+ result = normalizeVNode(
4119
+ render.call(
4120
+ thisProxy,
4121
+ proxyToUse,
4122
+ renderCache,
4123
+ false ? shallowReadonly(props) : props,
4124
+ setupState,
4125
+ data,
4126
+ ctx
4127
+ )
4128
+ );
4129
+ fallthroughAttrs = attrs;
4130
+ } else {
4131
+ const render2 = Component;
4132
+ if (false) ;
4133
+ result = normalizeVNode(
4134
+ render2.length > 1 ? render2(
4135
+ false ? shallowReadonly(props) : props,
4136
+ false ? {
4137
+ get attrs() {
4138
+ markAttrsAccessed();
4139
+ return shallowReadonly(attrs);
4140
+ },
4141
+ slots,
4142
+ emit: emit2
4143
+ } : { attrs, slots, emit: emit2 }
4144
+ ) : render2(
4145
+ false ? shallowReadonly(props) : props,
4146
+ null
4147
+ )
4148
+ );
4149
+ fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
4150
+ }
4151
+ } catch (err) {
4152
+ blockStack.length = 0;
4153
+ handleError(err, instance, 1);
4154
+ result = createVNode(Comment);
4155
+ }
4156
+ let root = result;
4157
+ if (fallthroughAttrs && inheritAttrs !== false) {
4158
+ const keys = Object.keys(fallthroughAttrs);
4159
+ const { shapeFlag } = root;
4160
+ if (keys.length) {
4161
+ if (shapeFlag & (1 | 6)) {
4162
+ if (propsOptions && keys.some(isModelListener)) {
4163
+ fallthroughAttrs = filterModelListeners(
4164
+ fallthroughAttrs,
4165
+ propsOptions
4166
+ );
4167
+ }
4168
+ root = cloneVNode(root, fallthroughAttrs, false, true);
4169
+ }
4170
+ }
4171
+ }
4172
+ if (vnode.dirs) {
4173
+ root = cloneVNode(root, null, false, true);
4174
+ root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
4175
+ }
4176
+ if (vnode.transition) {
4177
+ setTransitionHooks(root, vnode.transition);
4178
+ }
4179
+ {
4180
+ result = root;
4181
+ }
4182
+ setCurrentRenderingInstance(prev);
4183
+ return result;
4184
+ }
4185
+ const getFunctionalFallthrough = (attrs) => {
4186
+ let res;
4187
+ for (const key in attrs) {
4188
+ if (key === "class" || key === "style" || isOn(key)) {
4189
+ (res || (res = {}))[key] = attrs[key];
4190
+ }
4191
+ }
4192
+ return res;
4193
+ };
4194
+ const filterModelListeners = (attrs, props) => {
4195
+ const res = {};
4196
+ for (const key in attrs) {
4197
+ if (!isModelListener(key) || !(key.slice(9) in props)) {
4198
+ res[key] = attrs[key];
4199
+ }
4200
+ }
4201
+ return res;
4202
+ };
4203
+ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
4204
+ const { props: prevProps, children: prevChildren, component } = prevVNode;
4205
+ const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
4206
+ const emits = component.emitsOptions;
4207
+ if (nextVNode.dirs || nextVNode.transition) {
4208
+ return true;
4209
+ }
4210
+ if (optimized && patchFlag >= 0) {
4211
+ if (patchFlag & 1024) {
4212
+ return true;
4213
+ }
4214
+ if (patchFlag & 16) {
4215
+ if (!prevProps) {
4216
+ return !!nextProps;
4217
+ }
4218
+ return hasPropsChanged(prevProps, nextProps, emits);
4219
+ } else if (patchFlag & 8) {
4220
+ const dynamicProps = nextVNode.dynamicProps;
4221
+ for (let i = 0; i < dynamicProps.length; i++) {
4222
+ const key = dynamicProps[i];
4223
+ if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {
4224
+ return true;
4225
+ }
4226
+ }
4227
+ }
4228
+ } else {
4229
+ if (prevChildren || nextChildren) {
4230
+ if (!nextChildren || !nextChildren.$stable) {
4231
+ return true;
4232
+ }
4233
+ }
4234
+ if (prevProps === nextProps) {
4235
+ return false;
4236
+ }
4237
+ if (!prevProps) {
4238
+ return !!nextProps;
4239
+ }
4240
+ if (!nextProps) {
4241
+ return true;
4242
+ }
4243
+ return hasPropsChanged(prevProps, nextProps, emits);
4244
+ }
4245
+ return false;
4246
+ }
4247
+ function hasPropsChanged(prevProps, nextProps, emitsOptions) {
4248
+ const nextKeys = Object.keys(nextProps);
4249
+ if (nextKeys.length !== Object.keys(prevProps).length) {
4250
+ return true;
4251
+ }
4252
+ for (let i = 0; i < nextKeys.length; i++) {
4253
+ const key = nextKeys[i];
4254
+ if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {
4255
+ return true;
4256
+ }
4257
+ }
4258
+ return false;
4259
+ }
4260
+ function updateHOCHostEl({ vnode, parent }, el) {
4261
+ while (parent) {
4262
+ const root = parent.subTree;
4263
+ if (root.suspense && root.suspense.activeBranch === vnode) {
4264
+ root.el = vnode.el;
4265
+ }
4266
+ if (root === vnode) {
4267
+ (vnode = parent.vnode).el = el;
4268
+ parent = parent.parent;
4269
+ } else {
4270
+ break;
4271
+ }
4272
+ }
4273
+ }
4274
+ const isSuspense = (type) => type.__isSuspense;
4275
+ function queueEffectWithSuspense(fn, suspense) {
4276
+ if (suspense && suspense.pendingBranch) {
4277
+ if (isArray(fn)) {
4278
+ suspense.effects.push(...fn);
4279
+ } else {
4280
+ suspense.effects.push(fn);
4281
+ }
4282
+ } else {
4283
+ queuePostFlushCb(fn);
4284
+ }
4285
+ }
4286
+ const Fragment = Symbol.for("v-fgt");
4287
+ const Text = Symbol.for("v-txt");
4288
+ const Comment = Symbol.for("v-cmt");
4289
+ const Static = Symbol.for("v-stc");
4290
+ const blockStack = [];
4291
+ let currentBlock = null;
4292
+ function openBlock(disableTracking = false) {
4293
+ blockStack.push(currentBlock = disableTracking ? null : []);
4294
+ }
4295
+ function closeBlock() {
4296
+ blockStack.pop();
4297
+ currentBlock = blockStack[blockStack.length - 1] || null;
4298
+ }
4299
+ let isBlockTreeEnabled = 1;
4300
+ function setBlockTracking(value, inVOnce = false) {
4301
+ isBlockTreeEnabled += value;
4302
+ if (value < 0 && currentBlock && inVOnce) {
4303
+ currentBlock.hasOnce = true;
4304
+ }
4305
+ }
4306
+ function setupBlock(vnode) {
4307
+ vnode.dynamicChildren = isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null;
4308
+ closeBlock();
4309
+ if (isBlockTreeEnabled > 0 && currentBlock) {
4310
+ currentBlock.push(vnode);
4311
+ }
4312
+ return vnode;
4313
+ }
4314
+ function createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {
4315
+ return setupBlock(
4316
+ createBaseVNode(
4317
+ type,
4318
+ props,
4319
+ children,
4320
+ patchFlag,
4321
+ dynamicProps,
4322
+ shapeFlag,
4323
+ true
4324
+ )
4325
+ );
4326
+ }
4327
+ function createBlock(type, props, children, patchFlag, dynamicProps) {
4328
+ return setupBlock(
4329
+ createVNode(
4330
+ type,
4331
+ props,
4332
+ children,
4333
+ patchFlag,
4334
+ dynamicProps,
4335
+ true
4336
+ )
4337
+ );
4338
+ }
4339
+ function isVNode(value) {
4340
+ return value ? value.__v_isVNode === true : false;
4341
+ }
4342
+ function isSameVNodeType(n1, n2) {
4343
+ return n1.type === n2.type && n1.key === n2.key;
4344
+ }
4345
+ const normalizeKey = ({ key }) => key != null ? key : null;
4346
+ const normalizeRef = ({
4347
+ ref: ref3,
4348
+ ref_key,
4349
+ ref_for
4350
+ }) => {
4351
+ if (typeof ref3 === "number") {
4352
+ ref3 = "" + ref3;
4353
+ }
4354
+ return ref3 != null ? isString(ref3) || isRef(ref3) || isFunction(ref3) ? { i: currentRenderingInstance, r: ref3, k: ref_key, f: !!ref_for } : ref3 : null;
4355
+ };
4356
+ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
4357
+ const vnode = {
4358
+ __v_isVNode: true,
4359
+ __v_skip: true,
4360
+ type,
4361
+ props,
4362
+ key: props && normalizeKey(props),
4363
+ ref: props && normalizeRef(props),
4364
+ scopeId: currentScopeId,
4365
+ slotScopeIds: null,
4366
+ children,
4367
+ component: null,
4368
+ suspense: null,
4369
+ ssContent: null,
4370
+ ssFallback: null,
4371
+ dirs: null,
4372
+ transition: null,
4373
+ el: null,
4374
+ anchor: null,
4375
+ target: null,
4376
+ targetStart: null,
4377
+ targetAnchor: null,
4378
+ staticCount: 0,
4379
+ shapeFlag,
4380
+ patchFlag,
4381
+ dynamicProps,
4382
+ dynamicChildren: null,
4383
+ appContext: null,
4384
+ ctx: currentRenderingInstance
4385
+ };
4386
+ if (needFullChildrenNormalization) {
4387
+ normalizeChildren(vnode, children);
4388
+ if (shapeFlag & 128) {
4389
+ type.normalize(vnode);
4390
+ }
4391
+ } else if (children) {
4392
+ vnode.shapeFlag |= isString(children) ? 8 : 16;
4393
+ }
4394
+ if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
4395
+ !isBlockNode && // has current parent block
4396
+ currentBlock && // presence of a patch flag indicates this node needs patching on updates.
4397
+ // component nodes also should always be patched, because even if the
4398
+ // component doesn't need to update, it needs to persist the instance on to
4399
+ // the next vnode so that it can be properly unmounted later.
4400
+ (vnode.patchFlag > 0 || shapeFlag & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
4401
+ // vnode should not be considered dynamic due to handler caching.
4402
+ vnode.patchFlag !== 32) {
4403
+ currentBlock.push(vnode);
4404
+ }
4405
+ return vnode;
4406
+ }
4407
+ const createVNode = _createVNode;
4408
+ function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
4409
+ if (!type || type === NULL_DYNAMIC_COMPONENT) {
4410
+ type = Comment;
4411
+ }
4412
+ if (isVNode(type)) {
4413
+ const cloned = cloneVNode(
4414
+ type,
4415
+ props,
4416
+ true
4417
+ /* mergeRef: true */
4418
+ );
4419
+ if (children) {
4420
+ normalizeChildren(cloned, children);
4421
+ }
4422
+ if (isBlockTreeEnabled > 0 && !isBlockNode && currentBlock) {
4423
+ if (cloned.shapeFlag & 6) {
4424
+ currentBlock[currentBlock.indexOf(type)] = cloned;
4425
+ } else {
4426
+ currentBlock.push(cloned);
4427
+ }
4428
+ }
4429
+ cloned.patchFlag = -2;
4430
+ return cloned;
4431
+ }
4432
+ if (isClassComponent(type)) {
4433
+ type = type.__vccOpts;
4434
+ }
4435
+ if (props) {
4436
+ props = guardReactiveProps(props);
4437
+ let { class: klass, style } = props;
4438
+ if (klass && !isString(klass)) {
4439
+ props.class = normalizeClass(klass);
4440
+ }
4441
+ if (isObject(style)) {
4442
+ if (isProxy(style) && !isArray(style)) {
4443
+ style = extend({}, style);
4444
+ }
4445
+ props.style = normalizeStyle(style);
4446
+ }
4447
+ }
4448
+ const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
4449
+ return createBaseVNode(
4450
+ type,
4451
+ props,
4452
+ children,
4453
+ patchFlag,
4454
+ dynamicProps,
4455
+ shapeFlag,
4456
+ isBlockNode,
4457
+ true
4458
+ );
4459
+ }
4460
+ function guardReactiveProps(props) {
4461
+ if (!props) return null;
4462
+ return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
4463
+ }
4464
+ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
4465
+ const { props, ref: ref3, patchFlag, children, transition } = vnode;
4466
+ const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
4467
+ const cloned = {
4468
+ __v_isVNode: true,
4469
+ __v_skip: true,
4470
+ type: vnode.type,
4471
+ props: mergedProps,
4472
+ key: mergedProps && normalizeKey(mergedProps),
4473
+ ref: extraProps && extraProps.ref ? (
4474
+ // #2078 in the case of <component :is="vnode" ref="extra"/>
4475
+ // if the vnode itself already has a ref, cloneVNode will need to merge
4476
+ // the refs so the single vnode can be set on multiple refs
4477
+ mergeRef && ref3 ? isArray(ref3) ? ref3.concat(normalizeRef(extraProps)) : [ref3, normalizeRef(extraProps)] : normalizeRef(extraProps)
4478
+ ) : ref3,
4479
+ scopeId: vnode.scopeId,
4480
+ slotScopeIds: vnode.slotScopeIds,
4481
+ children,
4482
+ target: vnode.target,
4483
+ targetStart: vnode.targetStart,
4484
+ targetAnchor: vnode.targetAnchor,
4485
+ staticCount: vnode.staticCount,
4486
+ shapeFlag: vnode.shapeFlag,
4487
+ // if the vnode is cloned with extra props, we can no longer assume its
4488
+ // existing patch flag to be reliable and need to add the FULL_PROPS flag.
4489
+ // note: preserve flag for fragments since they use the flag for children
4490
+ // fast paths only.
4491
+ patchFlag: extraProps && vnode.type !== Fragment ? patchFlag === -1 ? 16 : patchFlag | 16 : patchFlag,
4492
+ dynamicProps: vnode.dynamicProps,
4493
+ dynamicChildren: vnode.dynamicChildren,
4494
+ appContext: vnode.appContext,
4495
+ dirs: vnode.dirs,
4496
+ transition,
4497
+ // These should technically only be non-null on mounted VNodes. However,
4498
+ // they *should* be copied for kept-alive vnodes. So we just always copy
4499
+ // them since them being non-null during a mount doesn't affect the logic as
4500
+ // they will simply be overwritten.
4501
+ component: vnode.component,
4502
+ suspense: vnode.suspense,
4503
+ ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
4504
+ ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
4505
+ el: vnode.el,
4506
+ anchor: vnode.anchor,
4507
+ ctx: vnode.ctx,
4508
+ ce: vnode.ce
4509
+ };
4510
+ if (transition && cloneTransition) {
4511
+ setTransitionHooks(
4512
+ cloned,
4513
+ transition.clone(cloned)
4514
+ );
4515
+ }
4516
+ return cloned;
4517
+ }
4518
+ function createTextVNode(text = " ", flag = 0) {
4519
+ return createVNode(Text, null, text, flag);
4520
+ }
4521
+ function createCommentVNode(text = "", asBlock = false) {
4522
+ return asBlock ? (openBlock(), createBlock(Comment, null, text)) : createVNode(Comment, null, text);
4523
+ }
4524
+ function normalizeVNode(child) {
4525
+ if (child == null || typeof child === "boolean") {
4526
+ return createVNode(Comment);
4527
+ } else if (isArray(child)) {
4528
+ return createVNode(
4529
+ Fragment,
4530
+ null,
4531
+ // #3666, avoid reference pollution when reusing vnode
4532
+ child.slice()
4533
+ );
4534
+ } else if (isVNode(child)) {
4535
+ return cloneIfMounted(child);
4536
+ } else {
4537
+ return createVNode(Text, null, String(child));
4538
+ }
4539
+ }
4540
+ function cloneIfMounted(child) {
4541
+ return child.el === null && child.patchFlag !== -1 || child.memo ? child : cloneVNode(child);
4542
+ }
4543
+ function normalizeChildren(vnode, children) {
4544
+ let type = 0;
4545
+ const { shapeFlag } = vnode;
4546
+ if (children == null) {
4547
+ children = null;
4548
+ } else if (isArray(children)) {
4549
+ type = 16;
4550
+ } else if (typeof children === "object") {
4551
+ if (shapeFlag & (1 | 64)) {
4552
+ const slot = children.default;
4553
+ if (slot) {
4554
+ slot._c && (slot._d = false);
4555
+ normalizeChildren(vnode, slot());
4556
+ slot._c && (slot._d = true);
4557
+ }
4558
+ return;
4559
+ } else {
4560
+ type = 32;
4561
+ const slotFlag = children._;
4562
+ if (!slotFlag && !isInternalObject(children)) {
4563
+ children._ctx = currentRenderingInstance;
4564
+ } else if (slotFlag === 3 && currentRenderingInstance) {
4565
+ if (currentRenderingInstance.slots._ === 1) {
4566
+ children._ = 1;
4567
+ } else {
4568
+ children._ = 2;
4569
+ vnode.patchFlag |= 1024;
4570
+ }
4571
+ }
4572
+ }
4573
+ } else if (isFunction(children)) {
4574
+ children = { default: children, _ctx: currentRenderingInstance };
4575
+ type = 32;
4576
+ } else {
4577
+ children = String(children);
4578
+ if (shapeFlag & 64) {
4579
+ type = 16;
4580
+ children = [createTextVNode(children)];
4581
+ } else {
4582
+ type = 8;
4583
+ }
4584
+ }
4585
+ vnode.children = children;
4586
+ vnode.shapeFlag |= type;
4587
+ }
4588
+ function mergeProps(...args) {
4589
+ const ret = {};
4590
+ for (let i = 0; i < args.length; i++) {
4591
+ const toMerge = args[i];
4592
+ for (const key in toMerge) {
4593
+ if (key === "class") {
4594
+ if (ret.class !== toMerge.class) {
4595
+ ret.class = normalizeClass([ret.class, toMerge.class]);
4596
+ }
4597
+ } else if (key === "style") {
4598
+ ret.style = normalizeStyle([ret.style, toMerge.style]);
4599
+ } else if (isOn(key)) {
4600
+ const existing = ret[key];
4601
+ const incoming = toMerge[key];
4602
+ if (incoming && existing !== incoming && !(isArray(existing) && existing.includes(incoming))) {
4603
+ ret[key] = existing ? [].concat(existing, incoming) : incoming;
4604
+ }
4605
+ } else if (key !== "") {
4606
+ ret[key] = toMerge[key];
4607
+ }
4608
+ }
4609
+ }
4610
+ return ret;
4611
+ }
4612
+ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
4613
+ callWithAsyncErrorHandling(hook, instance, 7, [
4614
+ vnode,
4615
+ prevVNode
4616
+ ]);
4617
+ }
4618
+ const emptyAppContext = createAppContext();
4619
+ let uid = 0;
4620
+ function createComponentInstance(vnode, parent, suspense) {
4621
+ const type = vnode.type;
4622
+ const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
4623
+ const instance = {
4624
+ uid: uid++,
4625
+ vnode,
4626
+ type,
4627
+ parent,
4628
+ appContext,
4629
+ root: null,
4630
+ // to be immediately set
4631
+ next: null,
4632
+ subTree: null,
4633
+ // will be set synchronously right after creation
4634
+ effect: null,
4635
+ update: null,
4636
+ // will be set synchronously right after creation
4637
+ job: null,
4638
+ scope: new EffectScope(
4639
+ true
4640
+ /* detached */
4641
+ ),
4642
+ render: null,
4643
+ proxy: null,
4644
+ exposed: null,
4645
+ exposeProxy: null,
4646
+ withProxy: null,
4647
+ provides: parent ? parent.provides : Object.create(appContext.provides),
4648
+ ids: parent ? parent.ids : ["", 0, 0],
4649
+ accessCache: null,
4650
+ renderCache: [],
4651
+ // local resolved assets
4652
+ components: null,
4653
+ directives: null,
4654
+ // resolved props and emits options
4655
+ propsOptions: normalizePropsOptions(type, appContext),
4656
+ emitsOptions: normalizeEmitsOptions(type, appContext),
4657
+ // emit
4658
+ emit: null,
4659
+ // to be set immediately
4660
+ emitted: null,
4661
+ // props default value
4662
+ propsDefaults: EMPTY_OBJ,
4663
+ // inheritAttrs
4664
+ inheritAttrs: type.inheritAttrs,
4665
+ // state
4666
+ ctx: EMPTY_OBJ,
4667
+ data: EMPTY_OBJ,
4668
+ props: EMPTY_OBJ,
4669
+ attrs: EMPTY_OBJ,
4670
+ slots: EMPTY_OBJ,
4671
+ refs: EMPTY_OBJ,
4672
+ setupState: EMPTY_OBJ,
4673
+ setupContext: null,
4674
+ // suspense related
4675
+ suspense,
4676
+ suspenseId: suspense ? suspense.pendingId : 0,
4677
+ asyncDep: null,
4678
+ asyncResolved: false,
4679
+ // lifecycle hooks
4680
+ // not using enums here because it results in computed properties
4681
+ isMounted: false,
4682
+ isUnmounted: false,
4683
+ isDeactivated: false,
4684
+ bc: null,
4685
+ c: null,
4686
+ bm: null,
4687
+ m: null,
4688
+ bu: null,
4689
+ u: null,
4690
+ um: null,
4691
+ bum: null,
4692
+ da: null,
4693
+ a: null,
4694
+ rtg: null,
4695
+ rtc: null,
4696
+ ec: null,
4697
+ sp: null
4698
+ };
4699
+ {
4700
+ instance.ctx = { _: instance };
4701
+ }
4702
+ instance.root = parent ? parent.root : instance;
4703
+ instance.emit = emit.bind(null, instance);
4704
+ if (vnode.ce) {
4705
+ vnode.ce(instance);
4706
+ }
4707
+ return instance;
4708
+ }
4709
+ let currentInstance = null;
4710
+ const getCurrentInstance = () => currentInstance || currentRenderingInstance;
4711
+ let internalSetCurrentInstance;
4712
+ let setInSSRSetupState;
4713
+ {
4714
+ const g = getGlobalThis();
4715
+ const registerGlobalSetter = (key, setter) => {
4716
+ let setters;
4717
+ if (!(setters = g[key])) setters = g[key] = [];
4718
+ setters.push(setter);
4719
+ return (v) => {
4720
+ if (setters.length > 1) setters.forEach((set) => set(v));
4721
+ else setters[0](v);
4722
+ };
4723
+ };
4724
+ internalSetCurrentInstance = registerGlobalSetter(
4725
+ `__VUE_INSTANCE_SETTERS__`,
4726
+ (v) => currentInstance = v
4727
+ );
4728
+ setInSSRSetupState = registerGlobalSetter(
4729
+ `__VUE_SSR_SETTERS__`,
4730
+ (v) => isInSSRComponentSetup = v
4731
+ );
4732
+ }
4733
+ const setCurrentInstance = (instance) => {
4734
+ const prev = currentInstance;
4735
+ internalSetCurrentInstance(instance);
4736
+ instance.scope.on();
4737
+ return () => {
4738
+ instance.scope.off();
4739
+ internalSetCurrentInstance(prev);
4740
+ };
4741
+ };
4742
+ const unsetCurrentInstance = () => {
4743
+ currentInstance && currentInstance.scope.off();
4744
+ internalSetCurrentInstance(null);
4745
+ };
4746
+ function isStatefulComponent(instance) {
4747
+ return instance.vnode.shapeFlag & 4;
4748
+ }
4749
+ let isInSSRComponentSetup = false;
4750
+ function setupComponent(instance, isSSR = false, optimized = false) {
4751
+ isSSR && setInSSRSetupState(isSSR);
4752
+ const { props, children } = instance.vnode;
4753
+ const isStateful = isStatefulComponent(instance);
4754
+ initProps(instance, props, isStateful, isSSR);
4755
+ initSlots(instance, children, optimized);
4756
+ const setupResult = isStateful ? setupStatefulComponent(instance, isSSR) : void 0;
4757
+ isSSR && setInSSRSetupState(false);
4758
+ return setupResult;
4759
+ }
4760
+ function setupStatefulComponent(instance, isSSR) {
4761
+ const Component = instance.type;
4762
+ instance.accessCache = /* @__PURE__ */ Object.create(null);
4763
+ instance.proxy = new Proxy(instance.ctx, PublicInstanceProxyHandlers);
4764
+ const { setup } = Component;
4765
+ if (setup) {
4766
+ pauseTracking();
4767
+ const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
4768
+ const reset = setCurrentInstance(instance);
4769
+ const setupResult = callWithErrorHandling(
4770
+ setup,
4771
+ instance,
4772
+ 0,
4773
+ [
4774
+ instance.props,
4775
+ setupContext
4776
+ ]
4777
+ );
4778
+ const isAsyncSetup = isPromise(setupResult);
4779
+ resetTracking();
4780
+ reset();
4781
+ if ((isAsyncSetup || instance.sp) && !isAsyncWrapper(instance)) {
4782
+ markAsyncBoundary(instance);
4783
+ }
4784
+ if (isAsyncSetup) {
4785
+ setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
4786
+ if (isSSR) {
4787
+ return setupResult.then((resolvedResult) => {
4788
+ handleSetupResult(instance, resolvedResult);
4789
+ }).catch((e) => {
4790
+ handleError(e, instance, 0);
4791
+ });
4792
+ } else {
4793
+ instance.asyncDep = setupResult;
4794
+ }
4795
+ } else {
4796
+ handleSetupResult(instance, setupResult);
4797
+ }
4798
+ } else {
4799
+ finishComponentSetup(instance);
4800
+ }
4801
+ }
4802
+ function handleSetupResult(instance, setupResult, isSSR) {
4803
+ if (isFunction(setupResult)) {
4804
+ if (instance.type.__ssrInlineRender) {
4805
+ instance.ssrRender = setupResult;
4806
+ } else {
4807
+ instance.render = setupResult;
4808
+ }
4809
+ } else if (isObject(setupResult)) {
4810
+ instance.setupState = proxyRefs(setupResult);
4811
+ } else ;
4812
+ finishComponentSetup(instance);
4813
+ }
4814
+ function finishComponentSetup(instance, isSSR, skipOptions) {
4815
+ const Component = instance.type;
4816
+ if (!instance.render) {
4817
+ instance.render = Component.render || NOOP;
4818
+ }
4819
+ {
4820
+ const reset = setCurrentInstance(instance);
4821
+ pauseTracking();
4822
+ try {
4823
+ applyOptions(instance);
4824
+ } finally {
4825
+ resetTracking();
4826
+ reset();
4827
+ }
4828
+ }
4829
+ }
4830
+ const attrsProxyHandlers = {
4831
+ get(target, key) {
4832
+ track(target, "get", "");
4833
+ return target[key];
4834
+ }
4835
+ };
4836
+ function createSetupContext(instance) {
4837
+ const expose = (exposed) => {
4838
+ instance.exposed = exposed || {};
4839
+ };
4840
+ {
4841
+ return {
4842
+ attrs: new Proxy(instance.attrs, attrsProxyHandlers),
4843
+ slots: instance.slots,
4844
+ emit: instance.emit,
4845
+ expose
4846
+ };
4847
+ }
4848
+ }
4849
+ function getComponentPublicInstance(instance) {
4850
+ if (instance.exposed) {
4851
+ return instance.exposeProxy || (instance.exposeProxy = new Proxy(proxyRefs(markRaw(instance.exposed)), {
4852
+ get(target, key) {
4853
+ if (key in target) {
4854
+ return target[key];
4855
+ } else if (key in publicPropertiesMap) {
4856
+ return publicPropertiesMap[key](instance);
4857
+ }
4858
+ },
4859
+ has(target, key) {
4860
+ return key in target || key in publicPropertiesMap;
4861
+ }
4862
+ }));
4863
+ } else {
4864
+ return instance.proxy;
4865
+ }
4866
+ }
4867
+ const classifyRE = /(?:^|[-_])(\w)/g;
4868
+ const classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, "");
4869
+ function getComponentName(Component, includeInferred = true) {
4870
+ return isFunction(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;
4871
+ }
4872
+ function formatComponentName(instance, Component, isRoot = false) {
4873
+ let name = getComponentName(Component);
4874
+ if (!name && Component.__file) {
4875
+ const match = Component.__file.match(/([^/\\]+)\.\w+$/);
4876
+ if (match) {
4877
+ name = match[1];
4878
+ }
4879
+ }
4880
+ if (!name && instance && instance.parent) {
4881
+ const inferFromRegistry = (registry) => {
4882
+ for (const key in registry) {
4883
+ if (registry[key] === Component) {
4884
+ return key;
4885
+ }
4886
+ }
4887
+ };
4888
+ name = inferFromRegistry(
4889
+ instance.components || instance.parent.type.components
4890
+ ) || inferFromRegistry(instance.appContext.components);
4891
+ }
4892
+ return name ? classify(name) : isRoot ? `App` : `Anonymous`;
4893
+ }
4894
+ function isClassComponent(value) {
4895
+ return isFunction(value) && "__vccOpts" in value;
4896
+ }
4897
+ const computed = (getterOrOptions, debugOptions) => {
4898
+ const c = computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
4899
+ return c;
4900
+ };
4901
+ function h(type, propsOrChildren, children) {
4902
+ const l = arguments.length;
4903
+ if (l === 2) {
4904
+ if (isObject(propsOrChildren) && !isArray(propsOrChildren)) {
4905
+ if (isVNode(propsOrChildren)) {
4906
+ return createVNode(type, null, [propsOrChildren]);
4907
+ }
4908
+ return createVNode(type, propsOrChildren);
4909
+ } else {
4910
+ return createVNode(type, null, propsOrChildren);
4911
+ }
4912
+ } else {
4913
+ if (l > 3) {
4914
+ children = Array.prototype.slice.call(arguments, 2);
4915
+ } else if (l === 3 && isVNode(children)) {
4916
+ children = [children];
4917
+ }
4918
+ return createVNode(type, propsOrChildren, children);
4919
+ }
4920
+ }
4921
+ const version = "3.5.13";
4922
+ export {
4923
+ BaseTransition,
4924
+ BaseTransitionPropsValidators,
4925
+ Comment,
4926
+ EffectScope,
4927
+ Fragment,
4928
+ ReactiveEffect,
4929
+ Static,
4930
+ Teleport,
4931
+ Text,
4932
+ callWithAsyncErrorHandling,
4933
+ callWithErrorHandling,
4934
+ camelize,
4935
+ capitalize,
4936
+ cloneVNode,
4937
+ computed,
4938
+ createBlock,
4939
+ createCommentVNode,
4940
+ createElementBlock,
4941
+ createBaseVNode as createElementVNode,
4942
+ createRenderer,
4943
+ createSlots,
4944
+ createTextVNode,
4945
+ createVNode,
4946
+ defineAsyncComponent,
4947
+ defineComponent,
4948
+ getCurrentInstance,
4949
+ getCurrentScope,
4950
+ getTransitionRawChildren,
4951
+ guardReactiveProps,
4952
+ h,
4953
+ handleError,
4954
+ inject,
4955
+ isProxy,
4956
+ isReactive,
4957
+ isReadonly,
4958
+ isRef,
4959
+ isShallow,
4960
+ isVNode,
4961
+ markRaw,
4962
+ mergeProps,
4963
+ nextTick,
4964
+ normalizeClass,
4965
+ normalizeProps,
4966
+ normalizeStyle,
4967
+ onActivated,
4968
+ onBeforeMount,
4969
+ onBeforeUnmount,
4970
+ onBeforeUpdate,
4971
+ onDeactivated,
4972
+ onErrorCaptured,
4973
+ onMounted,
4974
+ onRenderTracked,
4975
+ onRenderTriggered,
4976
+ onServerPrefetch,
4977
+ onUnmounted,
4978
+ onUpdated,
4979
+ onWatcherCleanup,
4980
+ openBlock,
4981
+ provide,
4982
+ proxyRefs,
4983
+ queuePostFlushCb,
4984
+ reactive,
4985
+ readonly,
4986
+ ref,
4987
+ renderList,
4988
+ renderSlot,
4989
+ resolveComponent,
4990
+ resolveDirective,
4991
+ resolveDynamicComponent,
4992
+ resolveTransitionHooks,
4993
+ setBlockTracking,
4994
+ setTransitionHooks,
4995
+ shallowReactive,
4996
+ shallowReadonly,
4997
+ ssrContextKey,
4998
+ toDisplayString,
4999
+ toHandlerKey,
5000
+ toRaw,
5001
+ unref,
5002
+ useAttrs,
5003
+ useSSRContext,
5004
+ useSlots,
5005
+ useTransitionState,
5006
+ version,
5007
+ watch,
5008
+ watchEffect,
5009
+ withCtx,
5010
+ withDirectives
5011
+ };