@next-bricks/visual-builder 1.36.14 → 1.36.15

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 (152) hide show
  1. package/dist/bricks.json +6 -4
  2. package/dist/chunks/1122.8d825637.js +2 -0
  3. package/dist/chunks/1122.8d825637.js.map +1 -0
  4. package/dist/chunks/114.cf000627.js +2 -0
  5. package/dist/chunks/{114.8467ea5c.js.map → 114.cf000627.js.map} +1 -1
  6. package/dist/chunks/1940.956f7191.js +2 -0
  7. package/dist/chunks/1940.956f7191.js.map +1 -0
  8. package/dist/chunks/{2277.ff3d70d1.js → 2277.d3148cce.js} +2 -2
  9. package/dist/chunks/{2277.ff3d70d1.js.map → 2277.d3148cce.js.map} +1 -1
  10. package/dist/chunks/{2980.4ec4e488.js → 2980.47e98446.js} +2 -2
  11. package/dist/chunks/{2980.4ec4e488.js.map → 2980.47e98446.js.map} +1 -1
  12. package/dist/chunks/{3171.f66d7cb8.js → 3171.ef7f3653.js} +2 -2
  13. package/dist/chunks/{3171.f66d7cb8.js.map → 3171.ef7f3653.js.map} +1 -1
  14. package/dist/chunks/3933.ff6ffa69.js +2 -0
  15. package/dist/chunks/{6314.1364814f.js.map → 3933.ff6ffa69.js.map} +1 -1
  16. package/dist/chunks/4291.da2890c6.js +2 -0
  17. package/dist/chunks/4291.da2890c6.js.map +1 -0
  18. package/dist/chunks/{4658.bab96d6a.js → 4658.fee7130c.js} +2 -2
  19. package/dist/chunks/{4658.bab96d6a.js.map → 4658.fee7130c.js.map} +1 -1
  20. package/dist/chunks/{4837.c2472ae5.js → 4837.4ccac7cb.js} +2 -2
  21. package/dist/chunks/{4837.c2472ae5.js.map → 4837.4ccac7cb.js.map} +1 -1
  22. package/dist/chunks/5399.aeb5c01e.js +2 -0
  23. package/dist/chunks/5399.aeb5c01e.js.map +1 -0
  24. package/dist/chunks/{5552.61a7adc0.js → 5552.76a22ed9.js} +2 -2
  25. package/dist/chunks/{5552.61a7adc0.js.map → 5552.76a22ed9.js.map} +1 -1
  26. package/dist/chunks/{5814.b148acfc.js → 5814.71e5fb63.js} +3 -3
  27. package/dist/chunks/{5814.b148acfc.js.map → 5814.71e5fb63.js.map} +1 -1
  28. package/dist/chunks/5832.e8dd59e8.js +3 -0
  29. package/dist/chunks/{5832.375e36b5.js.map → 5832.e8dd59e8.js.map} +1 -1
  30. package/dist/chunks/6314.94a4d844.js +2 -0
  31. package/dist/chunks/{3933.227b6f32.js.map → 6314.94a4d844.js.map} +1 -1
  32. package/dist/chunks/6519.94d78769.js +2 -0
  33. package/dist/chunks/{6519.ddef7177.js.map → 6519.94d78769.js.map} +1 -1
  34. package/dist/chunks/718.e6c3ab34.js +3 -0
  35. package/dist/chunks/718.e6c3ab34.js.map +1 -0
  36. package/dist/chunks/{7218.84a3b93e.js → 7218.5217d68a.js} +2 -2
  37. package/dist/chunks/{7218.84a3b93e.js.map → 7218.5217d68a.js.map} +1 -1
  38. package/dist/chunks/7733.4f17e0d0.js +2 -0
  39. package/dist/chunks/{7733.25a56515.js.map → 7733.4f17e0d0.js.map} +1 -1
  40. package/dist/chunks/{790.eb4333db.js → 790.ff8d7aa6.js} +2 -2
  41. package/dist/chunks/{790.eb4333db.js.map → 790.ff8d7aa6.js.map} +1 -1
  42. package/dist/chunks/{9080.32c73c01.js → 9080.ea7347c9.js} +2 -2
  43. package/dist/chunks/{9080.32c73c01.js.map → 9080.ea7347c9.js.map} +1 -1
  44. package/dist/chunks/9559.95f5357b.js +2 -0
  45. package/dist/chunks/9559.95f5357b.js.map +1 -0
  46. package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js → batch-update-raw-data-generated-view.88b14330.js} +3 -3
  47. package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js.map → batch-update-raw-data-generated-view.88b14330.js.map} +1 -1
  48. package/dist/chunks/chat-conversation.f9dbc32c.js +3 -0
  49. package/dist/chunks/{chat-conversation.4850d7a0.js.map → chat-conversation.f9dbc32c.js.map} +1 -1
  50. package/dist/chunks/chat-preview.8f3da2b9.js +3 -0
  51. package/dist/chunks/{chat-preview.ef20464a.js.map → chat-preview.8f3da2b9.js.map} +1 -1
  52. package/dist/chunks/{check-editor-by-name.1bd05f99.js → check-editor-by-name.da64b777.js} +2 -2
  53. package/dist/chunks/{check-editor-by-name.1bd05f99.js.map → check-editor-by-name.da64b777.js.map} +1 -1
  54. package/dist/chunks/{contract-select.2a22d13c.js → contract-select.d1e33da7.js} +3 -3
  55. package/dist/chunks/{contract-select.2a22d13c.js.map → contract-select.d1e33da7.js.map} +1 -1
  56. package/dist/chunks/generate-snippets-context-menu.063daa61.js +2 -0
  57. package/dist/chunks/{generate-snippets-context-menu.311c1d21.js.map → generate-snippets-context-menu.063daa61.js.map} +1 -1
  58. package/dist/chunks/{get-data-deps.0f2657ad.js → get-data-deps.ac92d5ff.js} +2 -2
  59. package/dist/chunks/{get-data-deps.0f2657ad.js.map → get-data-deps.ac92d5ff.js.map} +1 -1
  60. package/dist/chunks/{get-dependency-tree.e224c55a.js → get-dependency-tree.ec1555ff.js} +2 -2
  61. package/dist/chunks/{get-dependency-tree.e224c55a.js.map → get-dependency-tree.ec1555ff.js.map} +1 -1
  62. package/dist/chunks/{get-raw-data-system-prompts.1ea9b35b.js → get-raw-data-system-prompts.2e436c6b.js} +2 -2
  63. package/dist/chunks/{get-raw-data-system-prompts.1ea9b35b.js.map → get-raw-data-system-prompts.2e436c6b.js.map} +1 -1
  64. package/dist/chunks/{inject-chat-preview-agent.a3f83b10.js → inject-chat-preview-agent.461db2ab.js} +2 -2
  65. package/dist/chunks/{inject-chat-preview-agent.a3f83b10.js.map → inject-chat-preview-agent.461db2ab.js.map} +1 -1
  66. package/dist/chunks/main.139ddf9c.js +2 -0
  67. package/dist/chunks/main.139ddf9c.js.map +1 -0
  68. package/dist/chunks/page-arch-node.eadf238c.js +3 -0
  69. package/dist/chunks/{page-arch-node.631dcdb9.js.map → page-arch-node.eadf238c.js.map} +1 -1
  70. package/dist/chunks/parse-path.a96c1dbd.js +2 -0
  71. package/dist/chunks/parse-path.a96c1dbd.js.map +1 -0
  72. package/dist/chunks/{pre-generated-container.b611638b.js → pre-generated-container.72c5e67c.js} +2 -2
  73. package/dist/chunks/{pre-generated-container.b611638b.js.map → pre-generated-container.72c5e67c.js.map} +1 -1
  74. package/dist/chunks/pre-generated-preview.890a7f44.js +3 -0
  75. package/dist/chunks/{pre-generated-preview.03dd751b.js.map → pre-generated-preview.890a7f44.js.map} +1 -1
  76. package/dist/chunks/pre-generated-table-view.c777ecd8.js +2 -0
  77. package/dist/chunks/{pre-generated-table-view.c9bb5b19.js.map → pre-generated-table-view.c777ecd8.js.map} +1 -1
  78. package/dist/chunks/{property-editor.aab83b02.js → property-editor.29944380.js} +2 -2
  79. package/dist/chunks/{property-editor.aab83b02.js.map → property-editor.29944380.js.map} +1 -1
  80. package/dist/chunks/raw-data-preview.84d2529d.js +3 -0
  81. package/dist/chunks/{raw-data-preview.29c2c561.js.map → raw-data-preview.84d2529d.js.map} +1 -1
  82. package/dist/chunks/workbench-action-list.a97943c2.js +2 -0
  83. package/dist/chunks/workbench-action-list.a97943c2.js.map +1 -0
  84. package/dist/chunks/{workbench-action.01553a81.js → workbench-action.6d901765.js} +3 -3
  85. package/dist/chunks/workbench-action.6d901765.js.map +1 -0
  86. package/dist/chunks/workbench-history-action.2f9693f3.js +3 -0
  87. package/dist/chunks/{workbench-history-action.84e24cf6.js.map → workbench-history-action.2f9693f3.js.map} +1 -1
  88. package/dist/chunks/workbench-pane.7680aac3.js +3 -0
  89. package/dist/chunks/{workbench-pane.b320bd8b.js.map → workbench-pane.7680aac3.js.map} +1 -1
  90. package/dist/chunks/workbench-sidebar.54dbf128.js +2 -0
  91. package/dist/chunks/{workbench-sidebar.f89da3df.js.map → workbench-sidebar.54dbf128.js.map} +1 -1
  92. package/dist/chunks/workbench-tree.bbcc6f86.js +3 -0
  93. package/dist/chunks/{workbench-tree.0dd36701.js.map → workbench-tree.bbcc6f86.js.map} +1 -1
  94. package/dist/index.b0f825c6.js +2 -0
  95. package/dist/index.b0f825c6.js.map +1 -0
  96. package/dist/manifest.json +4 -0
  97. package/dist/types.json +233 -226
  98. package/dist-types/property-editor/index.d.ts +45 -45
  99. package/dist-types/workbench-action/index.d.ts +2 -0
  100. package/package.json +4 -4
  101. package/dist/chunks/1122.7c509964.js +0 -2
  102. package/dist/chunks/1122.7c509964.js.map +0 -1
  103. package/dist/chunks/114.8467ea5c.js +0 -2
  104. package/dist/chunks/1940.0a5131bc.js +0 -2
  105. package/dist/chunks/1940.0a5131bc.js.map +0 -1
  106. package/dist/chunks/3680.a3dc1198.js +0 -2
  107. package/dist/chunks/3680.a3dc1198.js.map +0 -1
  108. package/dist/chunks/3933.227b6f32.js +0 -2
  109. package/dist/chunks/5399.be09f124.js +0 -2
  110. package/dist/chunks/5399.be09f124.js.map +0 -1
  111. package/dist/chunks/5832.375e36b5.js +0 -3
  112. package/dist/chunks/6314.1364814f.js +0 -2
  113. package/dist/chunks/6519.ddef7177.js +0 -2
  114. package/dist/chunks/718.3f0afc76.js +0 -3
  115. package/dist/chunks/718.3f0afc76.js.map +0 -1
  116. package/dist/chunks/7733.25a56515.js +0 -2
  117. package/dist/chunks/9559.ffb58a44.js +0 -2
  118. package/dist/chunks/9559.ffb58a44.js.map +0 -1
  119. package/dist/chunks/chat-conversation.4850d7a0.js +0 -3
  120. package/dist/chunks/chat-preview.ef20464a.js +0 -3
  121. package/dist/chunks/generate-snippets-context-menu.311c1d21.js +0 -2
  122. package/dist/chunks/main.3e56e51a.js +0 -2
  123. package/dist/chunks/main.3e56e51a.js.map +0 -1
  124. package/dist/chunks/page-arch-node.631dcdb9.js +0 -3
  125. package/dist/chunks/parse-path.d6310065.js +0 -2
  126. package/dist/chunks/parse-path.d6310065.js.map +0 -1
  127. package/dist/chunks/pre-generated-preview.03dd751b.js +0 -3
  128. package/dist/chunks/pre-generated-table-view.c9bb5b19.js +0 -2
  129. package/dist/chunks/raw-data-preview.29c2c561.js +0 -3
  130. package/dist/chunks/workbench-action-list.25ddaea6.js +0 -2
  131. package/dist/chunks/workbench-action-list.25ddaea6.js.map +0 -1
  132. package/dist/chunks/workbench-action.01553a81.js.map +0 -1
  133. package/dist/chunks/workbench-history-action.84e24cf6.js +0 -3
  134. package/dist/chunks/workbench-pane.b320bd8b.js +0 -3
  135. package/dist/chunks/workbench-sidebar.f89da3df.js +0 -2
  136. package/dist/chunks/workbench-tree.0dd36701.js +0 -3
  137. package/dist/index.92474b53.js +0 -2
  138. package/dist/index.92474b53.js.map +0 -1
  139. /package/dist/chunks/{5814.b148acfc.js.LICENSE.txt → 5814.71e5fb63.js.LICENSE.txt} +0 -0
  140. /package/dist/chunks/{5832.375e36b5.js.LICENSE.txt → 5832.e8dd59e8.js.LICENSE.txt} +0 -0
  141. /package/dist/chunks/{718.3f0afc76.js.LICENSE.txt → 718.e6c3ab34.js.LICENSE.txt} +0 -0
  142. /package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js.LICENSE.txt → batch-update-raw-data-generated-view.88b14330.js.LICENSE.txt} +0 -0
  143. /package/dist/chunks/{chat-conversation.4850d7a0.js.LICENSE.txt → chat-conversation.f9dbc32c.js.LICENSE.txt} +0 -0
  144. /package/dist/chunks/{chat-preview.ef20464a.js.LICENSE.txt → chat-preview.8f3da2b9.js.LICENSE.txt} +0 -0
  145. /package/dist/chunks/{contract-select.2a22d13c.js.LICENSE.txt → contract-select.d1e33da7.js.LICENSE.txt} +0 -0
  146. /package/dist/chunks/{page-arch-node.631dcdb9.js.LICENSE.txt → page-arch-node.eadf238c.js.LICENSE.txt} +0 -0
  147. /package/dist/chunks/{pre-generated-preview.03dd751b.js.LICENSE.txt → pre-generated-preview.890a7f44.js.LICENSE.txt} +0 -0
  148. /package/dist/chunks/{raw-data-preview.29c2c561.js.LICENSE.txt → raw-data-preview.84d2529d.js.LICENSE.txt} +0 -0
  149. /package/dist/chunks/{workbench-action.01553a81.js.LICENSE.txt → workbench-action.6d901765.js.LICENSE.txt} +0 -0
  150. /package/dist/chunks/{workbench-history-action.84e24cf6.js.LICENSE.txt → workbench-history-action.2f9693f3.js.LICENSE.txt} +0 -0
  151. /package/dist/chunks/{workbench-pane.b320bd8b.js.LICENSE.txt → workbench-pane.7680aac3.js.LICENSE.txt} +0 -0
  152. /package/dist/chunks/{workbench-tree.0dd36701.js.LICENSE.txt → workbench-tree.bbcc6f86.js.LICENSE.txt} +0 -0
@@ -30,14 +30,14 @@ export declare const SchemaField: {
30
30
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
31
31
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
32
32
  };
33
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
33
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
34
34
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
35
35
  };
36
36
  FormItem: typeof AdvancedFormItem;
37
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
38
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
37
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
38
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
39
39
  };
40
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
40
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
41
41
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
42
42
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
43
43
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -55,7 +55,7 @@ export declare const SchemaField: {
55
55
  __ANT_RADIO: boolean;
56
56
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
57
57
  };
58
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
58
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
59
59
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
60
60
  CategoryTitle: typeof CategoryTitle;
61
61
  CodeEditor: typeof CodeEditorComponent;
@@ -78,14 +78,14 @@ export declare const SchemaField: {
78
78
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
79
79
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
80
80
  };
81
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
81
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
82
82
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
83
83
  };
84
84
  FormItem: typeof AdvancedFormItem;
85
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
86
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
85
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
86
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
87
87
  };
88
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
88
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
89
89
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
90
90
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
91
91
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -103,7 +103,7 @@ export declare const SchemaField: {
103
103
  __ANT_RADIO: boolean;
104
104
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
105
105
  };
106
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
106
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
107
107
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
108
108
  CategoryTitle: typeof CategoryTitle;
109
109
  CodeEditor: typeof CodeEditorComponent;
@@ -126,14 +126,14 @@ export declare const SchemaField: {
126
126
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
127
127
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
128
128
  };
129
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
129
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
130
130
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
131
131
  };
132
132
  FormItem: typeof AdvancedFormItem;
133
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
134
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
133
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
134
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
135
135
  };
136
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
136
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
137
137
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
138
138
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
139
139
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -151,7 +151,7 @@ export declare const SchemaField: {
151
151
  __ANT_RADIO: boolean;
152
152
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
153
153
  };
154
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
154
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
155
155
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
156
156
  CategoryTitle: typeof CategoryTitle;
157
157
  CodeEditor: typeof CodeEditorComponent;
@@ -174,14 +174,14 @@ export declare const SchemaField: {
174
174
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
175
175
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
176
176
  };
177
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
177
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
178
178
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
179
179
  };
180
180
  FormItem: typeof AdvancedFormItem;
181
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
182
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
181
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
182
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
183
183
  };
184
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
184
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
185
185
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
186
186
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
187
187
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -199,7 +199,7 @@ export declare const SchemaField: {
199
199
  __ANT_RADIO: boolean;
200
200
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
201
201
  };
202
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
202
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
203
203
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
204
204
  CategoryTitle: typeof CategoryTitle;
205
205
  CodeEditor: typeof CodeEditorComponent;
@@ -222,14 +222,14 @@ export declare const SchemaField: {
222
222
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
223
223
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
224
224
  };
225
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
225
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
226
226
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
227
227
  };
228
228
  FormItem: typeof AdvancedFormItem;
229
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
230
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
229
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
230
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
231
231
  };
232
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
232
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
233
233
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
234
234
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
235
235
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -247,7 +247,7 @@ export declare const SchemaField: {
247
247
  __ANT_RADIO: boolean;
248
248
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
249
249
  };
250
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
250
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
251
251
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
252
252
  CategoryTitle: typeof CategoryTitle;
253
253
  CodeEditor: typeof CodeEditorComponent;
@@ -270,14 +270,14 @@ export declare const SchemaField: {
270
270
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
271
271
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
272
272
  };
273
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
273
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
274
274
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
275
275
  };
276
276
  FormItem: typeof AdvancedFormItem;
277
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
278
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
277
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
278
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
279
279
  };
280
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
280
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
281
281
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
282
282
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
283
283
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -295,7 +295,7 @@ export declare const SchemaField: {
295
295
  __ANT_RADIO: boolean;
296
296
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
297
297
  };
298
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
298
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
299
299
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
300
300
  CategoryTitle: typeof CategoryTitle;
301
301
  CodeEditor: typeof CodeEditorComponent;
@@ -318,14 +318,14 @@ export declare const SchemaField: {
318
318
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
319
319
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
320
320
  };
321
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
321
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
322
322
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
323
323
  };
324
324
  FormItem: typeof AdvancedFormItem;
325
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
326
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
325
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
326
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
327
327
  };
328
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
328
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
329
329
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
330
330
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
331
331
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -343,7 +343,7 @@ export declare const SchemaField: {
343
343
  __ANT_RADIO: boolean;
344
344
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
345
345
  };
346
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
346
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
347
347
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
348
348
  CategoryTitle: typeof CategoryTitle;
349
349
  CodeEditor: typeof CodeEditorComponent;
@@ -366,14 +366,14 @@ export declare const SchemaField: {
366
366
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
367
367
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
368
368
  };
369
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
369
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
370
370
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
371
371
  };
372
372
  FormItem: typeof AdvancedFormItem;
373
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
374
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
373
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
374
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
375
375
  };
376
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
376
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
377
377
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
378
378
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
379
379
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -391,7 +391,7 @@ export declare const SchemaField: {
391
391
  __ANT_RADIO: boolean;
392
392
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
393
393
  };
394
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
394
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
395
395
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
396
396
  CategoryTitle: typeof CategoryTitle;
397
397
  CodeEditor: typeof CodeEditorComponent;
@@ -414,14 +414,14 @@ export declare const SchemaField: {
414
414
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
415
415
  useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
416
416
  };
417
- Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
417
+ Input: import("@formily/reactive-react").ReactFC<import("antd").InputProps> & {
418
418
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
419
419
  };
420
420
  FormItem: typeof AdvancedFormItem;
421
- FormItemWithoutAdvanced: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
422
- BaseItem: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
421
+ FormItemWithoutAdvanced: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps> & {
422
+ BaseItem: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormItemProps>;
423
423
  };
424
- FormCollapse: import("@formily/react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
424
+ FormCollapse: import("@formily/reactive-react").ReactFC<import("@formily/antd-v5").IFormCollapseProps> & {
425
425
  CollapsePanel: React.FC<React.PropsWithChildren<import("antd").CollapsePanelProps>>;
426
426
  createFormCollapse: (defaultActiveKeys?: string | number | (string | number)[]) => {
427
427
  activeKeys: (string | number | (string | number)[]) | undefined;
@@ -439,7 +439,7 @@ export declare const SchemaField: {
439
439
  __ANT_RADIO: boolean;
440
440
  Group: import("react").ForwardRefExoticComponent<Pick<Partial<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, "key" | keyof import("antd").RadioGroupProps> & import("react").RefAttributes<unknown>>;
441
441
  };
442
- Select: import("@formily/react").ReactFC<import("antd/lib").SelectProps<any, any>>;
442
+ Select: import("@formily/reactive-react").ReactFC<import("antd/lib").SelectProps<any, any>>;
443
443
  Switch: React.ForwardRefExoticComponent<Pick<Partial<import("antd").SwitchProps & React.RefAttributes<HTMLElement>>, "key" | keyof import("antd").SwitchProps> & React.RefAttributes<unknown>>;
444
444
  CategoryTitle: typeof CategoryTitle;
445
445
  CodeEditor: typeof CodeEditorComponent;
@@ -8,6 +8,7 @@ export interface WorkbenchActionProps {
8
8
  target?: string;
9
9
  active?: boolean;
10
10
  href?: string;
11
+ tooltip?: string;
11
12
  }
12
13
  /**
13
14
  * @insider
@@ -18,5 +19,6 @@ export declare class WorkbenchAction extends ReactNextElement {
18
19
  accessor active: boolean | undefined;
19
20
  accessor href: string | undefined;
20
21
  accessor target: string | undefined;
22
+ accessor tooltip: string | undefined;
21
23
  render(): React.ReactNode;
22
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.36.14",
3
+ "version": "1.36.15",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,8 @@
35
35
  "postpublish": "mv package.json.bak package.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.23.2",
39
- "@next-core/test-next": "^1.1.6"
38
+ "@next-core/build-next-bricks": "^1.23.3",
39
+ "@next-core/test-next": "^1.1.7"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@next-bricks/basic": "*",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/vs": "*"
46
46
  },
47
- "gitHead": "f2f344a2f8d90b99070147e29422fbd08deafe8d"
47
+ "gitHead": "cc5cca693cd52a0b1888d14b560b66b4e42dcd58"
48
48
  }
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[1122],{1122:(e,n,t)=>{t.r(n),t.d(n,{__dev_only_clearGlobalExecutionContextStack:()=>W,__dev_only_getGlobalExecutionContextStack:()=>q,clearExpressionASTCache:()=>ae,clearFunctionASTCache:()=>ee,cook:()=>G,isEvaluable:()=>re,isTrackAll:()=>oe,precook:()=>K,precookFunction:()=>Y,preevaluate:()=>te,shouldAllowRecursiveEvaluations:()=>ie});var r=t(4586);let i=function(e){return e[e.LEXICAL=0]="LEXICAL",e[e.STRICT=1]="STRICT",e}({});const o=Symbol.for("SourceNode"),a=Symbol.for("FormalParameters"),s=Symbol.for("ECMAScriptCode"),c=Symbol.for("Environment"),l=Symbol.for("IsConstructor"),u=Symbol.for("ThisMode"),d=Symbol.for("$DebuggerCall$"),f=Symbol.for("$DebuggerScope$"),y=Symbol.for("$DebuggerNode$"),p=Symbol.for("$DebuggerReturn$");class m{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0),(0,r.A)(this,"Function",void 0)}}let v=function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LEXICAL=1]="LEXICAL",e[e.INITIALIZED=2]="INITIALIZED",e}({});class g{constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingMap",new Map),(0,r.A)(this,"ThisValue",void 0),(0,r.A)(this,"ThisBindingStatus",void 0),this.OuterEnv=e}HasBinding(e){return this.bindingMap.has(e)}CreateMutableBinding(e,n){return this.bindingMap.set(e,{mutable:!0,deletable:n}),x(void 0)}CreateImmutableBinding(e,n){return this.bindingMap.set(e,{strict:n}),x(void 0)}InitializeBinding(e,n){const t=this.bindingMap.get(e);return Object.assign(t,{initialized:!0,value:n}),x(void 0)}SetMutableBinding(e,n,t){const r=this.bindingMap.get(e);if(!r.initialized)throw new ReferenceError(`${e} is not initialized`);if(!r.mutable)throw new TypeError("Assignment to constant variable");return r.value=n,x(void 0)}GetBindingValue(e,n){const t=this.bindingMap.get(e);if(!t.initialized)throw new ReferenceError(`${e} is not initialized`);return t.value}HasThisBinding(){return!1}}class h extends g{}class b extends g{constructor(e){super(e[c]),e[u]===i.LEXICAL?this.ThisBindingStatus=v.LEXICAL:this.ThisBindingStatus=v.UNINITIALIZED}HasThisBinding(){return this.ThisBindingStatus!==v.LEXICAL}BindThisValue(e){if(this.ThisBindingStatus===v.INITIALIZED)throw new Error("This binding has been initialized");this.ThisValue=e,this.ThisBindingStatus=v.INITIALIZED}GetThisBinding(){if(this.ThisBindingStatus===v.UNINITIALIZED)throw new Error("This binding is not initialized");return this.ThisValue}}class E{constructor(e,n,t){(0,r.A)(this,"Base",void 0),(0,r.A)(this,"ReferenceName",void 0),(0,r.A)(this,"Strict",void 0),this.Base=e,this.ReferenceName=n,this.Strict=t}}class w{constructor(e,n){(0,r.A)(this,"Type",void 0),(0,r.A)(this,"Value",void 0),this.Type=e,this.Value=n}}function x(e){return new w("normal",e)}const S=Symbol("empty completion");function A(e){const n=new Set,t=e=>{if(Array.isArray(e))for(const n of e)t(n);else if(e)switch(e.type){case"Identifier":return void n.add(e.name);case"VariableDeclaration":return t(e.declarations);case"VariableDeclarator":case"FunctionDeclaration":return t(e.id);case"ArrayPattern":return t(e.elements);case"AssignmentPattern":return t(e.left);case"ObjectPattern":return t(e.properties);case"Property":return t(e.value);case"RestElement":return t(e.argument)}};return t(e),Array.from(n)}function L(e){const n=e=>{if(Array.isArray(e))return e.some(n);if(e)switch(e.type){case"ArrayPattern":return n(e.elements);case"AssignmentPattern":return!0;case"ObjectPattern":return n(e.properties);case"Property":return e.computed||n(e.value);case"RestElement":return n(e.argument)}};return n(e)}function B(e,n){const t=[],r={var:n.var},i=(e,n)=>{if(Array.isArray(e))for(const t of e)i(t,n);else if(e){switch(e.type){case"FunctionDeclaration":return void(Number(!n.var)^Number(n.topLevel)&&t.push(e));case"VariableDeclaration":return void(Number(!n.var)^Number("var"===e.kind)&&t.push(e));case"SwitchCase":return void i(e.consequent,r);case"CatchClause":return void i(e.body,r)}if(n.var)switch(e.type){case"BlockStatement":case"DoWhileStatement":case"WhileStatement":return void i(e.body,r);case"IfStatement":return i(e.consequent,r),void i(e.alternate,r);case"ForStatement":return i(e.init,r),void i(e.body,r);case"ForInStatement":case"ForOfStatement":return i(e.left,r),void i(e.body,r);case"SwitchStatement":return void i(e.cases,r);case"TryStatement":return i(e.block,r),i(e.handler,r),void i(e.finalizer,r)}}};return i(e,n),t}function I(e){return"unresolvable"!==e.Base&&!(e.Base instanceof g)}function T(e,n){return e.Base.InitializeBinding(e.ReferenceName,n)}function C(e,n,t){if(null==n)return e;const r=Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n));for(const i of r)if(!t.has(i)){const t=Object.getOwnPropertyDescriptor(n,i);null!=t&&t.enumerable&&(e[i]=n[i])}return e}function k(e,n){const t="const"===e.kind;for(const r of A(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1)}function V(e){return"normal"===e.Type||"continue"==e.Type}function P(e,n){return e.Value!==S?e:new w(e.Type,n)}function O(e){if(e instanceof w&&(e=e.Value),!(e instanceof E))return e;if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof g?e.Base.GetBindingValue(e.ReferenceName,e.Strict):e.Base[e.ReferenceName]}function F(e){return"symbol"==typeof e?e:String(e)}function j(e,n){return e[n]}function D(e,n){if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof g?e.Base.SetMutableBinding(e.ReferenceName,n,e.Strict):(e.Base[e.ReferenceName]=n,x(void 0))}function M(e){if(n=e,!(Array.isArray(n)||null!=n&&"function"==typeof n[Symbol.iterator]))throw new TypeError(typeof e+" is not iterable");var n;return e[Symbol.iterator]()}function N(e){if(null==e)throw new TypeError("Cannot destructure properties of undefined or null")}function R(e,n,t){return e?e.HasBinding(n)?new E(e,n,t):R(e.OuterEnv,n,t):new E("unresolvable",n,t)}function $(e,n,t){switch(n){case"+":return e+t;case"-":return e-t;case"/":return e/t;case"%":return e%t;case"*":return e*t;case"**":return e**t;case"==":return e==t;case"===":return e===t;case"!=":return e!=t;case"!==":return e!==t;case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t;case"in":return e in t}throw new SyntaxError(`Unsupported binary operator \`${n}\``)}const z=new WeakSet([Function,Object,Function.prototype,Object.prototype,function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}()]),_=new WeakSet([Array,Map,Set,URLSearchParams,WeakMap,WeakSet,RegExp]),U=[];function W(){U.length=0}function q(){return U}function G(e,n){var t;let{rules:r,debug:v,externalSourceForDebug:g,globalVariables:W={},ArrayConstructor:q=Array,hooks:G={}}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const Z="FunctionDeclaration"!==e.type;function H(e){g||function(e){if(z.has(e))throw new TypeError("Cannot access reserved objects such as `Function`.")}(e)}const K=new h(null),J=new m;J.VariableEnvironment=K,J.LexicalEnvironment=K;const Q=[J];for(const[e,n]of Object.entries(W))K.CreateImmutableBinding(e,!0),K.InitializeBinding(e,n);const Y=new WeakMap;let ee;function*ne(e,t,r){var i,o;switch(null===(i=G.beforeEvaluate)||void 0===i||i.call(G,e),ee=e,v&&(r||e.type.endsWith("Statement")&&("ExpressionStatement"!==e.type||"CallExpression"!==e.expression.type&&"TaggedTemplateExpression"!==e.expression.type)&&"TryStatement"!==e.type&&"BlockStatement"!==e.type&&"DoWhileStatement"!==e.type&&"WhileStatement"!==e.type&&"ForStatement"!==e.type&&"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(yield),e.type){case"ArrayExpression":{const n=new q;for(const t of e.elements)if(t)if("SpreadElement"===t.type){const e=O(yield*ne(t.argument));n.push(...e)}else n.push(O(yield*ne(t)));else n.length+=1;return x(n)}case"ArrowFunctionExpression":return Te(e),x(Ee(e));case"BinaryExpression":{const t=O(yield*ne(e.left)),r=yield*ne(e.right),i=O(r);if(Z&&"|>"===e.operator){if("function"!=typeof i){const t=n.substring(e.right.start,e.right.end);throw new TypeError(`${t} is not a function`)}let o;return r instanceof E&&I(r)&&(o=r.Base),x(i.call(o,t))}return x($(t,e.operator,i))}case"CallExpression":{const n=(yield*ne(e.callee,t)).Value,r=O(n);return null==r&&(e.optional||null!=t&&t.skipped)?(t.skipped=!0,x(void 0)):(H(r),v&&(yield),yield*fe(r,n,e.arguments,e.callee))}case"ChainExpression":return yield*ne(e.expression,{});case"ConditionalExpression":return x(O(yield*ne(O(yield*ne(e.test))?e.consequent:e.alternate)));case"Identifier":return x(re(e.name));case"Literal":if(e.regex){if(null===e.value)throw new SyntaxError(`Invalid regular expression: ${e.raw}`);if(e.regex.flags.includes("u"))throw new SyntaxError(`Unsupported unicode flag in regular expression: ${e.raw}`);return x(new RegExp(e.regex.pattern,e.regex.flags))}return x(e.value);case"LogicalExpression":{const n=O(yield*ne(e.left));switch(e.operator){case"&&":return x(n&&O(yield*ne(e.right)));case"||":return x(n||O(yield*ne(e.right)));case"??":return x(n??O(yield*ne(e.right)));default:throw new SyntaxError(`Unsupported logical operator '${e.operator}'`)}}case"MemberExpression":{const n=O((yield*ne(e.object,t)).Value);if(null==n&&(e.optional||null!=t&&t.skipped))return t.skipped=!0,x(void 0);H(n);const r=e.computed?yield*function*(e,n,t){const r=F(O(yield*ne(n)));return new E(e,r,!0)}(n,e.property):function(e,n,t){ee=n;const r=n.name;return new E(e,r,!0)}(n,e.property);return H(r),x(r)}case"NewExpression":return yield*function*(e,t){const r=O(yield*ne(e)),i=yield*ye(t);if("function"!=typeof r||!1===r[l]){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not a constructor`)}if(!g&&!function(e){return _.has(e)||e===Date}(r)&&r!==q){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not an allowed constructor`)}return x(new r(...i))}(e.callee,e.arguments);case"ObjectExpression":{const n={};for(const t of e.properties)if("SpreadElement"===t.type)C(n,O(yield*ne(t.argument)),new Set);else{if("init"!==t.kind)throw new SyntaxError("Unsupported object getter/setter");const e=t.computed||"Identifier"!==t.key.type?yield*Ae(t.key):t.key.name;if("__proto__"===e)throw new TypeError("Setting '__proto__' property is not allowed");const r=O(yield*ne(t.value));t.method&&"function"==typeof r&&we(r,e),n[e]=r}return x(n)}case"SequenceExpression":{let n;for(const t of e.expressions)n=x(O(yield*ne(t)));return n}case"TemplateLiteral":{const n=[e.quasis[0].value.cooked];let t=0;for(const r of e.expressions){const i=O(yield*ne(r));n.push(String(i)),n.push(e.quasis[t+=1].value.cooked)}return x(n.join(""))}case"TaggedTemplateExpression":{const n=(yield*ne(e.tag)).Value,t=O(n);return H(t),v&&(yield),yield*fe(t,n,e.quasi,e.tag)}case"UnaryExpression":{const n=(yield*ne(e.argument)).Value;if(!Z&&"delete"===e.operator){if(!(n instanceof E))return x(!0);if(I(n))return x(delete n.Base[n.ReferenceName])}return"typeof"===e.operator?n instanceof E&&"unresolvable"===n.Base?x("undefined"):x(typeof O(n)):x(function(e,n){switch(n){case"!":return!e;case"+":return+e;case"-":return-e;case"void":return}throw new SyntaxError(`Unsupported unary operator \`${n}\``)}(O(n),e.operator))}}if(!Z)switch(e.type){case"AssignmentExpression":{if("="===e.operator){if("ArrayPattern"!==e.left.type&&"ObjectPattern"!==e.left.type){const n=(yield*ne(e.left)).Value;let t;return t=ve(e.right)&&"Identifier"===e.left.type?ge(e.right,e.left.name):O(yield*ne(e.right)),D(n,t),x(t)}const n=O(yield*ne(e.right));return yield*ce(e.left,n),x(n)}const n=(yield*ne(e.left)).Value,t=O(n),r=O(yield*ne(e.right)),i=function(e,n,t){switch(n){case"+=":case"-=":case"*=":case"/=":case"%=":case"**=":return $(e,n.substr(0,n.length-1),t)}throw new SyntaxError(`Unsupported assignment operator \`${n}\``)}(t,e.operator,r);return D(n,i),x(i)}case"BlockStatement":{if(!e.body.length)return x(S);const n=te().LexicalEnvironment,t=new h(n);de(e.body,t),te().LexicalEnvironment=t;const r=yield*me(e.body);return te().LexicalEnvironment=n,r}case"BreakStatement":return new w("break",S);case"ContinueStatement":return new w("continue",S);case"EmptyStatement":case"FunctionDeclaration":return x(S);case"DoWhileStatement":return ie(yield*function*(e){let n;for(;;){const t=yield*ne(e.body);if(!V(t))return P(t,n);if(t.Value!==S&&(n=t.Value),!O(yield*ne(e.test,void 0,!0)))return x(n)}}(e));case"ExpressionStatement":case"TSAsExpression":return yield*ne(e.expression);case"ForInStatement":case"ForOfStatement":return ie(yield*function*(e){const n=e.left,t="VariableDeclaration"===n.type?"var"===n.kind?"varBinding":"lexicalBinding":"assignment",r="lexicalBinding"===t?A(n):[],i="ForInStatement"===e.type?"enumerate":"iterate",o=yield*function*(e,n,t){const r=te(),i=r.LexicalEnvironment;if(e.length>0){const n=new h(i);for(const t of e)n.CreateMutableBinding(t,!1);r.LexicalEnvironment=n}const o=yield*ne(n,void 0,!0);r.LexicalEnvironment=i;const a=O(o);return"enumerate"===t?null==a?new w("break",S):x(function*(e){for(const n in e)yield n}(a)):x(M(a))}(r,e.right,i);return"normal"!==o.Type?o:yield*function*(e,n,t,r,i){const o="assignment"===i?e:e.declarations[0].id,a=te().LexicalEnvironment;let s;const c="ObjectPattern"===o.type||"ArrayPattern"===o.type;for(;;){ee=o;const{done:l,value:u}=t.next();if(l)return v&&(yield),x(s);let d,f;if("lexicalBinding"===i){if(f=new h(a),k(e,f),te().LexicalEnvironment=f,v&&(yield),!c){const[e]=A(o);d=re(e)}}else v&&(yield),c||(d=(yield*ne(o)).Value);c?"assignment"===i?yield*ce(o,u):"varBinding"===i?yield*Se(o,u,void 0):yield*Se(o,u,f):"lexicalBinding"===i?T(d,u):D(d,u);const y=yield*ne(n);if(te().LexicalEnvironment=a,!V(y)){const e=P(y,s);if("enumerate"!==r&&void 0!==t.return){const e=t.return();if(!e||!["object","function"].includes(typeof e))throw new TypeError("Iterator result is not an object")}return e}y.Value!==S&&(s=y.Value)}}(n,e.body,o.Value,i,t)}(e));case"ForStatement":return ie(yield*function*(e){var n;if("VariableDeclaration"===(null===(n=e.init)||void 0===n?void 0:n.type)){if("var"===e.init.kind)return yield*ne(e.init),yield*ae(e.test,e.update,e.body,[]);const n=te().LexicalEnvironment,t=new h(n),r="const"===e.init.kind,i=A(e.init);for(const e of i)r?t.CreateImmutableBinding(e,!0):t.CreateMutableBinding(e,!1);te().LexicalEnvironment=t,yield*ne(e.init);const o=r?[]:Array.from(i),a=yield*ae(e.test,e.update,e.body,o);return te().LexicalEnvironment=n,a}return e.init&&O(yield*ne(e.init)),yield*ae(e.test,e.update,e.body,[])}(e));case"FunctionExpression":return Te(e),x(be(e));case"IfStatement":var a;return O(yield*ne(e.test))?(null===(a=G.beforeBranch)||void 0===a||a.call(G,e,"if"),P(yield*ne(e.consequent),void 0)):(null===(o=G.beforeBranch)||void 0===o||o.call(G,e,"else"),e.alternate?P(yield*ne(e.alternate),void 0):x(void 0));case"ReturnStatement":{let n;return e.argument&&(n=O(yield*ne(e.argument))),new w("return",n)}case"ThisExpression":if(!g)break;return x(function(){let e=te().LexicalEnvironment;for(;e;){if(e.HasThisBinding())return e;e=e.OuterEnv}throw new Error("Accessing global this is forbidden")}().GetThisBinding());case"ThrowStatement":throw O(yield*ne(e.argument));case"UpdateExpression":{const n=(yield*ne(e.argument)).Value,t=Number(O(n)),r="++"===e.operator?t+1:t-1;return D(n,r),x(e.prefix?r:t)}case"SwitchCase":return yield*me(e.consequent);case"SwitchStatement":{const n=O(yield*ne(e.discriminant)),t=te().LexicalEnvironment,r=new h(t);de(e.cases,r),te().LexicalEnvironment=r;const i=yield*function*(e,n){let t;const r=e.findIndex((e=>!e.test)),i=r>=0,o=i?e.slice(0,r):e;let a=!1;for(const e of o)if(a||(a=yield*oe(e,n)),a){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}if(!i)return x(t);let s=!1;const c=e.slice(r+1);if(!a)for(const e of c)if(s||(s=yield*oe(e,n)),s){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}if(s)return x(t);const l=yield*ne(e[r]);if(l.Value!==S&&(t=l.Value),"normal"!==l.Type)return P(l,t);for(const e of c){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}return x(t)}(e.cases,n);return te().LexicalEnvironment=t,ie(i)}case"TryStatement":{let n;try{n=yield*ne(e.block)}catch(t){if(!e.handler)throw t;var s;ee=e.handler,null===(s=G.beforeEvaluate)||void 0===s||s.call(G,e.handler),n=yield*function*(e,n){if(!e.param)return yield*ne(e.body);const t=te().LexicalEnvironment,r=new h(t);for(const n of A(e.param))r.CreateMutableBinding(n,!1);te().LexicalEnvironment=r,yield*Se(e.param,n,r);const i=yield*ne(e.body);return te().LexicalEnvironment=t,i}(e.handler,t)}finally{if(e.finalizer){const t=yield*ne(e.finalizer);"normal"!==t.Type&&(n=t)}}return n}case"VariableDeclaration":{let n;for(const t of e.declarations)if(ee=t,t.init)if("Identifier"===t.id.type){ee=t.init,v&&"CallExpression"!==ee.type&&"TaggedTemplateExpression"!==ee.type&&(yield);const r=t.id.name,i=re(r);let o;o=ve(t.init)?ge(t.init,r):O(yield*ne(t.init)),n="var"===e.kind?D(i,o):T(i,o)}else{ee=t.init,v&&"CallExpression"!==ee.type&&"TaggedTemplateExpression"!==ee.type&&(yield);const r=O(yield*ne(t.init));n=yield*Se(t.id,r,"var"===e.kind?void 0:te().LexicalEnvironment)}else n="var"===e.kind?x(S):T(re(t.id.name),void 0);return n}case"WhileStatement":return ie(yield*function*(e){let n;for(;;){if(!O(yield*ne(e.test,void 0,!0)))return x(n);const t=yield*ne(e.body);if(!V(t))return P(t,n);t.Value!==S&&(n=t.Value)}}(e))}throw new SyntaxError(`Unsupported node type \`${e.type}\``)}function te(){return Q[Q.length-1]}function re(e,n){return n||(n=te().LexicalEnvironment),R(n,e,!0)}function ie(e){return"break"===e.Type?e.Value===S?x(void 0):x(e.Value):e}function*oe(e,n){return n===O(yield*ne(e.test))}function*ae(e,n,t,r){let i;for(se(r);;){if(e&&!O(yield*ne(e,void 0,!0)))return x(i);const o=yield*ne(t);if(!V(o))return P(o,i);o.Value&&(i=o.Value),se(r),n&&O(yield*ne(n,void 0,!0))}}function se(e){if(0===e.length)return;const n=te().LexicalEnvironment,t=n.OuterEnv,r=new h(t);for(const t of e){r.CreateMutableBinding(t,!1);const e=n.GetBindingValue(t,!1);r.InitializeBinding(t,e)}te().LexicalEnvironment=r}function*ce(e,n){if("ObjectPattern"===e.type)return N(n),e.properties.length>0&&(yield*function*(e,n){const t=new Set;for(const r of e)if("Property"===r.type){const e=r.computed||"Identifier"!==r.key.type?yield*Ae(r.key):r.key.name,i="AssignmentPattern"===r.value.type?r.value.left:r.value;if("Identifier"===i.type){const o=re(i.name);let a=j(n,e);"AssignmentPattern"===r.value.type&&void 0===a&&(a=ve(r.value.right)?ge(r.value.right,i.name):O(yield*ne(r.value.right))),D(o,a),t.add(e)}else yield*le(r.value,n,e),t.add(e)}else yield*ue(r,n,t)}(e.properties,n)),x(S);const t=M(n);return yield*function*(e,n){let t=x(S);for(const r of e){if(!r){n.next(),t=x(S);continue}const e="RestElement"===r.type?r.argument:"AssignmentPattern"===r.type?r.left:r,i="ArrayPattern"===e.type||"ObjectPattern"===e.type;let o,a;if(i||(o=(yield*ne(e)).Value),"RestElement"!==r.type){const{done:t,value:i}=n.next(),o=t?void 0:i;a="AssignmentPattern"===r.type&&void 0===o?ve(r.right)&&"Identifier"===e.type?ge(r.right,e.name):O(yield*ne(r.right)):o}else{a=new q;let e=0;for(;;){const{done:t,value:r}=n.next();if(t)break;a[e]=r,e++}}t=i?yield*ce(e,a):D(o,a)}return t}(e.elements,t)}function*le(e,n,t){const r="AssignmentPattern"===e.type?e.left:e,i="ArrayPattern"===r.type||"ObjectPattern"===r.type;let o;i||(o=(yield*ne(r)).Value);const a=j(n,t);let s;return s="AssignmentPattern"===e.type&&void 0===a?O(yield*ne(e.right)):a,i?yield*ce(r,s):D(o,s)}function*ue(e,n,t){return D((yield*ne(e.argument)).Value,C({},n,t))}function de(e,n){const t=B(e,{var:!1,topLevel:!1});for(const e of t){const t="VariableDeclaration"===e.type&&"const"===e.kind;for(const r of A(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1);if("FunctionDeclaration"===e.type){const[t]=A(e),r=he(e,n);n.InitializeBinding(t,r)}}}function*fe(e,t,r,i){let o;t instanceof E&&I(t)&&(o=t.Base);const a=yield*ye(r);if("function"!=typeof e){const e=n.substring(i.start,i.end);throw new TypeError(`${e} is not a function`)}if(v||g){const n=e[d];if(n){const e=yield*n.apply(o,a);return H(e),x(e)}}const s=e.apply(o,a);return H(s),x(s)}function*ye(e){const n=[];if(Array.isArray(e))for(const t of e)if("SpreadElement"===t.type){const e=O(yield*ne(t.argument));n.push(...e)}else n.push(O(yield*ne(t)));else{n.push(function(e){const n=Y.get(e);if(n)return n;const t=e.quasis.map((e=>e.value.raw)),r=e.quasis.map((e=>e.value.cooked));return Object.freeze(t),Object.defineProperty(r,"raw",{value:t,writable:!1,enumerable:!1,configurable:!1}),Object.freeze(r),Y.set(e,r),r}(e));for(const t of e.expressions)n.push(O(yield*ne(t)))}return n}function*pe(e,n,t){var c;null===(c=G.beforeCall)||void 0===c||c.call(G,e[o]),function(e,n,t){if(e[u]===i.LEXICAL)return;const r=n.LexicalEnvironment;null==r||r.BindThisValue(t)}(e,function(e){const n=new m;n.Function=e;const t=new b(e);return n.VariableEnvironment=t,n.LexicalEnvironment=t,Q.push(n),U.push(n),n}(e),n);const l=yield*function*(e,n){return yield*function*(e,n,t){return yield*function*(e,n){const t=te(),o=e[s],c=e[a],l=A(c),d=L(c),f=B(o,{var:!0,topLevel:!0}),y=A(f),p=[],m=[];for(let e=f.length-1;e>=0;e--){const n=f[e];if("FunctionDeclaration"===n.type){Te(n);const[e]=A(n);p.includes(e)||(p.unshift(e),m.unshift(n))}else if(null!=r&&r.noVar)throw new SyntaxError("Var declaration is not recommended, use `let` or `const` instead")}const v=!!g&&e[u]!==i.LEXICAL,b=t.LexicalEnvironment;for(const e of l)b.CreateMutableBinding(e,!1);let E=l;if(v){const e=function(e){const n=[...e],t={};Object.defineProperty(t,"length",{value:n.length,writable:!0,configurable:!0});for(let e=0;e<n.length;e++)t[String(e)]=n[e];Object.defineProperty(t,Symbol.iterator,{value:Array.prototype.values,writable:!0,configurable:!0});const r=()=>{throw new TypeError("'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them")};return Object.defineProperty(t,"callee",{get:r,set:r}),t}(n);b.CreateImmutableBinding("arguments",!1),b.InitializeBinding("arguments",e),E=l.concat("arguments")}const w=M(n);let x;if(yield*Be(c,w,b),d){x=new h(b),t.VariableEnvironment=x;const e=[];for(const n of y)if(!e.includes(n)){let t;e.push(n),x.CreateMutableBinding(n,!1),E.includes(n)&&!p.includes(n)&&(t=b.GetBindingValue(n,!1)),x.InitializeBinding(n,t)}}else{const e=[...E];for(const n of y)e.includes(n)||(e.push(n),b.CreateMutableBinding(n,!1),b.InitializeBinding(n,void 0));x=b}const S=x;t.LexicalEnvironment=S;const I=B(o,{var:!1,topLevel:!0});for(const e of I)for(const n of A(e))"const"===e.kind?S.CreateImmutableBinding(n,!0):S.CreateMutableBinding(n,!1);for(const e of m){const[n]=A(e),t=he(e,S);x.SetMutableBinding(n,t,!1)}}(n,t),Array.isArray(e)?yield*me(e):new w("return",O(yield*ne(e)))}(e[s],e,n)}(e,t);if(v&&(ee={...e[o],[p]:!0},yield{type:"return",value:"return"===l.Type?l.Value:void 0}),Q.pop(),U.pop(),"return"===l.Type)return l.Value}function*me(e){let n=x(S);for(const t of e){const e=yield*ne(t);if("normal"!==e.Type)return e;n=P(n,e.Value)}return n}function ve(e){return"FunctionExpression"===e.type&&!e.id||"ArrowFunctionExpression"===e.type}function ge(e,n){var t;switch(null===(t=G.beforeEvaluate)||void 0===t||t.call(G,e),e.type){case"FunctionExpression":return be(e,n);case"ArrowFunctionExpression":return Ee(e,n);default:throw new Error(`Unexpected node type for NamedEvaluation: ${e.type}`)}}function he(e,n){const t=xe(e,n,!0,!1);return e.id&&we(t,e.id.name),t}function be(e,n){const t=te().LexicalEnvironment;if(e.id){const n=e.id.name,r=new h(t);r.CreateImmutableBinding(n,!1);const i=xe(e,r,!0,!1);return we(i,n),r.InitializeBinding(n,i),i}{const r=xe(e,t,!0,!1);return we(r,n??""),r}}function Ee(e,n){const t=xe(e,te().LexicalEnvironment,!1,!0);return we(t,n??""),t}function we(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}function xe(e,n,t,r){const f=function(){return X(pe(f,this,arguments))};Object.defineProperties(f,{[o]:{value:e},[a]:{value:e.params},[s]:{value:"BlockStatement"===e.body.type?e.body.body:e.body},[c]:{value:n},[l]:{value:t},[u]:{value:r?i.LEXICAL:i.STRICT}});const y=function(e){let n=0;for(const t of e)switch(t.type){case"AssignmentPattern":case"RestElement":return n;default:n++}return n}(e.params);return Object.defineProperty(f,"length",{configurable:!0,value:y}),(v||g)&&Object.defineProperty(f,d,{value:function(){return pe(f,this,arguments)}}),f}function*Se(e,n,t){switch(e.type){case"Identifier":return function(e,n,t){return t.InitializeBinding(e,n),x(S)}(e.name,n,t);case"ObjectPattern":return N(n),yield*function*(e,n,t){const r=new Set;for(const i of e){if("RestElement"===i.type)return Le(i,n,t,r);if(i.computed||"Identifier"!==i.key.type){const e=yield*Ae(i.key);yield*Ie(i.value,n,t,e),r.add(e)}else yield*Ie(i.value,n,t,i.key.name),r.add(i.key.name)}return x(S)}(e.properties,n,t);case"ArrayPattern":{const r=M(n);return yield*Be(e.elements,r,t)}}}function*Ae(e){return F(O(yield*ne(e)))}function Le(e,n,t,r){const i=re(e.argument.name,t),o=C({},n,r);return t?T(i,o):D(i,o)}function*Be(e,n,t){if(0===e.length)return x(S);let r;for(const i of e)if(i)if("RestElement"===i.type)if("Identifier"===i.argument.type){const e=re(i.argument.name,t),o=new q;let a=0;for(;;){const{done:i,value:s}=n.next();if(i){r=t?T(e,o):D(e,o);break}o[a]=s,a++}}else{const e=new q;let o=0;for(;;){const{done:a,value:s}=n.next();if(a){r=yield*Se(i.argument,e,t);break}e[o]=s,o++}}else{const e="AssignmentPattern"===i.type?i.left:i;switch(e.type){case"ObjectPattern":case"ArrayPattern":{let o;const{done:a,value:s}=n.next();a||(o=s),"AssignmentPattern"===i.type&&void 0===o&&(o=O(yield*ne(i.right))),r=yield*Se(e,o,t);break}case"Identifier":{const o=e.name,a=re(o,t);let s;const{done:c,value:l}=n.next();c||(s=l),"AssignmentPattern"===i.type&&void 0===s&&(s=ve(i.right)?ge(i.right,o):O(yield*ne(i.right))),r=t?T(a,s):D(a,s);break}}}else n.next(),r=x(S);return r}function*Ie(e,n,t,r){if("Identifier"===e.type||"AssignmentPattern"===e.type&&"Identifier"===e.left.type){const i="Identifier"===e.type?e.name:e.left.name,o=re(i,t);let a=j(n,r);return"AssignmentPattern"===e.type&&void 0===a&&(a=ve(e.right)?ge(e.right,i):O(yield*ne(e.right))),t?T(o,a):D(o,a)}let i=j(n,r);return"AssignmentPattern"===e.type&&void 0===i&&(i=O(yield*ne(e.right))),yield*Se("AssignmentPattern"===e.type?e.left:e,i,t)}function Te(e){if(e.async||e.generator)throw new SyntaxError((e.async?"Async":"Generator")+" function is not allowed");if(Z&&!e.expression)throw new SyntaxError("Only an `Expression` is allowed in `ArrowFunctionExpression`'s body")}if(Z)return O(X(ne(e)));null===(t=G.beforeEvaluate)||void 0===t||t.call(G,e),Te(e);const[Ce]=A(e);K.CreateImmutableBinding(Ce,!0);const ke=he(e,K);return K.InitializeBinding(Ce,ke),v&&Object.defineProperties(ke,{[f]:{value:function(){return te().LexicalEnvironment}},[y]:{value:function(){return ee}}}),ke}function X(e){for(;;){const{done:n,value:t}=e.next();if(n)return t}}class Z{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0)}}class H{constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingSet",new Set),this.OuterEnv=e}HasBinding(e){return this.bindingSet.has(e)}CreateBinding(e){this.bindingSet.add(e)}}function K(e){let{expressionOnly:n,visitors:t,withParent:r,externalSourceForDebug:i,hooks:o={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=new Set,s=[],c=new H(null),l=new Z;function u(){return s[s.length-1]}function d(e,n,t){for(const r of n)f(e[r],null==t?void 0:t.concat({node:e,key:r}))}function f(e,r){if(Array.isArray(e))e.forEach(((e,n)=>{f(e,r?r.slice(0,-1).concat({...r[r.length-1],index:n}):r)}));else if(e){var s,c;switch(null===(s=o.beforeVisit)||void 0===s||s.call(o,e,r),function(e){var n,r;t&&(n=t,r=e.type,Object.prototype.hasOwnProperty.call(n,r))&&t[e.type](e)}(e),e.type){case"Identifier":var l;return b=e.name,void(p(u().LexicalEnvironment,b)||(null===(l=o.beforeVisitGlobal)||void 0===l||l.call(o,e,r),a.add(e.name)));case"ArrayExpression":case"ArrayPattern":return void d(e,["elements"],r);case"ArrowFunctionExpression":return void v(g(e,u().LexicalEnvironment,!0),r);case"AssignmentPattern":case"BinaryExpression":case"LogicalExpression":return void d(e,["left","right"],r);case"CallExpression":case"NewExpression":return void d(e,["callee","arguments"],r);case"ChainExpression":return void d(e,["expression"],r);case"ConditionalExpression":return void d(e,["test","consequent","alternate"],r);case"MemberExpression":return d(e,["object"],r),void(e.computed&&d(e,["property"],r));case"ObjectExpression":case"ObjectPattern":return void d(e,["properties"],r);case"Property":return e.computed&&d(e,["key"],r),void d(e,["value"],r);case"RestElement":case"SpreadElement":case"UnaryExpression":return void d(e,["argument"],r);case"SequenceExpression":case"TemplateLiteral":return void d(e,["expressions"],r);case"TaggedTemplateExpression":return void d(e,["tag","quasi"],r);case"Literal":return}if(!n)switch(e.type){case"AssignmentExpression":return void d(e,["right","left"],r);case"BlockStatement":{if(!e.body.length)return;const n=u(),t=n.LexicalEnvironment,i=new H(t);return m(e.body,i),n.LexicalEnvironment=i,d(e,["body"],r),void(n.LexicalEnvironment=t)}case"BreakStatement":case"ContinueStatement":case"EmptyStatement":return;case"CatchClause":{const n=u(),t=n.LexicalEnvironment,i=new H(t);return y(e.param,i),n.LexicalEnvironment=i,d(e,["param","body"],r),void(n.LexicalEnvironment=t)}case"DoWhileStatement":return void d(e,["body","test"],r);case"ExpressionStatement":case"TSAsExpression":return void d(e,["expression"],r);case"ForInStatement":case"ForOfStatement":{const n="VariableDeclaration"===e.left.type&&"var"!==e.left.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new H(i);y(e.left,n),t.LexicalEnvironment=n}if(d(e,["right"],r),t.LexicalEnvironment=i,n){const n=new H(i);y(e.left,n),t.LexicalEnvironment=n}return d(e,["left","body"],r),void(t.LexicalEnvironment=i)}case"ForStatement":{var h;const n="VariableDeclaration"===(null===(h=e.init)||void 0===h?void 0:h.type)&&"var"!==e.init.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new H(i);y(e.init,n),t.LexicalEnvironment=n}return d(e,["init","test","body","update"],r),void(t.LexicalEnvironment=i)}case"FunctionDeclaration":{const[n]=A(e),t=u().LexicalEnvironment,i=g(e,t);return t.CreateBinding(n),void v(i,r)}case"FunctionExpression":{const n=function(e){const n=u().LexicalEnvironment;if(!e.id)return g(e,n);const t=e.id.name,r=new H(n);return r.CreateBinding(t),g(e,r)}(e);return void v(n,r)}case"IfStatement":return void d(e,["test","consequent","alternate"],r);case"ReturnStatement":case"ThrowStatement":case"UpdateExpression":return void d(e,["argument"],r);case"SwitchCase":return void d(e,["test","consequent"],r);case"SwitchStatement":{d(e,["discriminant"],r);const n=u(),t=n.LexicalEnvironment,i=new H(t);return m(e.cases,i),n.LexicalEnvironment=i,d(e,["cases"],r),void(n.LexicalEnvironment=t)}case"ThisExpression":if(!i)break;return;case"TryStatement":return void d(e,["block","handler","finalizer"],r);case"VariableDeclaration":return void d(e,["declarations"],r);case"VariableDeclarator":return void d(e,["id","init"],r);case"WhileStatement":return void d(e,["test","body"],r)}(null===(c=o.beforeVisitUnknown)||void 0===c?void 0:c.call(o,e,r))||console.warn(`Unsupported node type \`${e.type}\``)}var b}function y(e,n){for(const t of A(e))n.CreateBinding(t)}function p(e,n){return!!e&&(e.HasBinding(n)||p(e.OuterEnv,n))}function m(e,n){y(B(e,{var:!1,topLevel:!1}),n)}function v(e,n){!function(e){const n=new Z,t=new H(e.Environment);n.VariableEnvironment=t,n.LexicalEnvironment=t,s.push(n)}(e),function(e,n){const t=u(),r=e.ECMAScriptCode,o=e.FormalParameters,a=L(o),s=A(B(r,{var:!0,topLevel:!0})),c=!!i&&"LEXICAL"!==e.ThisMode,l=t.LexicalEnvironment;let d;if(y(o,l),c&&l.CreateBinding("arguments"),f(o,null==n?void 0:n.concat({node:e.Function,key:"params"})),a){d=new H(l),t.VariableEnvironment=d;for(const e of s)d.CreateBinding(e)}else{for(const e of s)l.CreateBinding(e);d=l}const p=d;t.LexicalEnvironment=p,y(B(r,{var:!1,topLevel:!0}),p)}(e,n),f(e.ECMAScriptCode,null==n?void 0:n.concat({node:e.Function,key:"body"}).concat("BlockStatement"===e.Function.body.type?{node:e.Function.body,key:"body"}:[])),s.pop()}function g(e,n,t){return{Function:e,FormalParameters:e.params,ECMAScriptCode:"BlockStatement"===e.body.type?e.body.body:e.body,Environment:n,ThisMode:t?"LEXICAL":"STRICT"}}return l.VariableEnvironment=c,l.LexicalEnvironment=c,s.push(l),f(e,r?[]:void 0),a}var J=t(9654);let Q=new WeakMap;function Y(e){let{typescript:n,cacheKey:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t?Q.get(t):void 0;return i||(i=function(e){let{typescript:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=(0,J.parse)(e,{plugins:["estree",n&&"typescript"].filter(Boolean),strictMode:!0,attachComment:!1}).program.body,r=n?[]:t;if(n)for(const e of t)if(e.type.startsWith("TS")){if(/Enum|Import|Export/.test(e.type))throw new SyntaxError(`Unsupported TypeScript syntax: ${e.type}`)}else r.push(e);if(0===r.length)throw new SyntaxError("Function declaration not found");if(r.length>1||"FunctionDeclaration"!==r[0].type)throw new SyntaxError(`Expect a single function declaration at top level, but received: ${r.map((e=>`"${e.type}"`)).join(", ")}`);return r[0]}(e,{typescript:n}),t&&Q.set(t,i)),{function:i,attemptToVisitGlobals:K(i,r)}}function ee(){Q=new WeakMap}const ne=new Map;function te(e){let{cache:n,...t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[],i=e.replace(/^\s*<%[~=]?\s|\s%>\s*$/g,(e=>(r.push(e),"")));let o=n?ne.get(i):void 0;return o||(o=function(e){return(0,J.parseExpression)(e,{plugins:["estree",["pipelineOperator",{proposal:"minimal"}]],attachComment:!1})}(i),n&&ne.set(i,o)),{expression:o,attemptToVisitGlobals:K(o,{...t,expressionOnly:!0}),source:i,prefix:r[0],suffix:r[1]}}function re(e){return/^\s*<%[~=]?\s/.test(e)&&/\s%>\s*$/.test(e)}function ie(e){return/^\s*<%~\s/.test(e)}function oe(e){return/^\s*<%=\s/.test(e)&&/\s%>\s*$/.test(e)}function ae(){ne.clear()}}}]);
2
- //# sourceMappingURL=1122.7c509964.js.map