@vtj/pro 0.13.25 → 0.13.26

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 (81) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/icons/style.css +1 -1
  12. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -10
  13. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +4 -39
  14. package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
  15. package/dist/@vtj/materials/deps/element-plus/index.full.min.js +22 -22
  16. package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
  17. package/dist/@vtj/materials/deps/pinia/pinia.iife.js +1940 -2
  18. package/dist/@vtj/materials/deps/pinia/pinia.iife.prod.js +7 -0
  19. package/dist/@vtj/materials/deps/uni-h5-vue/uni-h5-vue.js +11719 -0
  20. package/dist/@vtj/materials/deps/uni-h5-vue/uni-h5-vue.prod.js +8 -0
  21. package/dist/__devtools__/assets/IconTitle.vue_vue_type_script_setup_true_lang-B9Nj8PlY.js +1 -0
  22. package/dist/__devtools__/assets/SectionBlock-BYDDTsu3.css +1 -0
  23. package/dist/__devtools__/assets/SectionBlock-BrHcKx8P.js +1 -0
  24. package/dist/__devtools__/assets/assets-tWZ16yre.js +12 -0
  25. package/dist/__devtools__/assets/components-EaHI7FxW.js +1 -0
  26. package/dist/__devtools__/assets/css-DPfMkruS.js +1 -0
  27. package/dist/__devtools__/assets/custom-inspector-tab-view-CZIfhGNk.js +1 -0
  28. package/dist/__devtools__/assets/custom-tab-view-BGjRlmIC.js +1 -0
  29. package/dist/__devtools__/assets/diff-D97Zzqfu.js +1 -0
  30. package/dist/__devtools__/assets/graph-Dvz7NSzX.js +1068 -0
  31. package/dist/__devtools__/assets/html-B8pBdPMQ.js +1 -0
  32. package/dist/__devtools__/assets/index-CtdYRAx7.js +2382 -0
  33. package/dist/__devtools__/assets/index-DkeGUpKU.css +1 -0
  34. package/dist/__devtools__/assets/index-ENvNlo7R.css +1 -0
  35. package/dist/__devtools__/assets/javascript-BMMyXqK5.js +1 -0
  36. package/dist/__devtools__/assets/json-Cp-IABpG.js +1 -0
  37. package/dist/__devtools__/assets/overview-CXo9qbzV.js +1 -0
  38. package/dist/__devtools__/assets/pages-BLZMWMb9.js +1 -0
  39. package/dist/__devtools__/assets/pinia-CsnX6hr4.js +1 -0
  40. package/dist/__devtools__/assets/router-BZru8YYb.js +1 -0
  41. package/dist/__devtools__/assets/settings-C2YlJymx.js +1 -0
  42. package/dist/__devtools__/assets/shellscript-Yzrsuije.js +1 -0
  43. package/dist/__devtools__/assets/timeline-B5ZeLLK0.js +1 -0
  44. package/dist/__devtools__/assets/timeline-DQ8UE2TV.css +1 -0
  45. package/dist/__devtools__/assets/typescript-DlfHMoPT.js +1 -0
  46. package/dist/__devtools__/assets/vitesse-dark-D0r3Knsf.js +1 -0
  47. package/dist/__devtools__/assets/vitesse-light-CVO1_9PV.js +1 -0
  48. package/dist/__devtools__/assets/vue-CYH3TOzo.js +1 -0
  49. package/dist/__devtools__/assets/vue-apis-DJBctb31.js +1 -0
  50. package/dist/__devtools__/assets/vue-html-zSiQ3dJi.js +1 -0
  51. package/dist/__devtools__/assets/yaml-Buea-lGh.js +1 -0
  52. package/dist/__devtools__/color-scheme.js +6 -0
  53. package/dist/__devtools__/index.html +15 -0
  54. package/dist/__devtools__/logo.svg +208 -0
  55. package/dist/assets/@vueuse-BJJKbYUL.js +1 -0
  56. package/dist/assets/Editor-CDMLuXiC-CorvqbXP.css +1 -0
  57. package/dist/assets/Editor-CDMLuXiC-qMegSvLz.js +316 -0
  58. package/dist/assets/{auth-BDaeLIgH.js → auth-B_8v5-7D.js} +1 -1
  59. package/dist/assets/{element-plus-BAo4E1qD.css → element-plus-BsdZdiCp.css} +1 -1
  60. package/dist/assets/element-plus-DI7qTjX8.js +12 -0
  61. package/dist/assets/{index-DFFN6nqN.js → index-BFgirofd.js} +2 -2
  62. package/dist/assets/index-DMKPq5x8.js +1 -0
  63. package/dist/assets/{lodash-es-KLPqz5pm.js → lodash-es-BOeLjWVX.js} +1 -1
  64. package/dist/assets/{mockjs-DzuwJaHx.js → mockjs-DKzs-0ke.js} +1 -1
  65. package/dist/assets/page-BRVrjPjg.js +2 -0
  66. package/dist/assets/preview-DS2ozlz9.js +2 -0
  67. package/dist/assets/utils-pirouenX.js +1 -0
  68. package/dist/index.html +14 -12
  69. package/dist/uni/assets/{index-DxSQR7tq.js → index-B9AeAmg0.js} +19 -19
  70. package/dist/uni/index.html +1 -1
  71. package/package.json +13 -12
  72. package/dist/.vtj/block.json +0 -304
  73. package/dist/.vtj/vtj.png +0 -0
  74. package/dist/assets/@vueuse-BpC0PsDL.js +0 -1
  75. package/dist/assets/Editor-kx6e0Tx5-BVnhtbiv.css +0 -1
  76. package/dist/assets/Editor-kx6e0Tx5-Drro8HP6.js +0 -309
  77. package/dist/assets/element-plus-Ls1uDfNj.js +0 -12
  78. package/dist/assets/index-DbLwVuBm.js +0 -1
  79. package/dist/assets/page-Bj0iK2Rq.js +0 -2
  80. package/dist/assets/preview-B7Qb431f.js +0 -2
  81. package/dist/assets/utils-CvjgPIO6.js +0 -1
@@ -23,7 +23,7 @@
23
23
  <title></title>
24
24
  <!--preload-links-->
25
25
  <!--app-context-->
26
- <script type="module" crossorigin src="./assets/index-DxSQR7tq.js"></script>
26
+ <script type="module" crossorigin src="./assets/index-B9AeAmg0.js"></script>
27
27
  <link rel="modulepreload" crossorigin href="./assets/vue-BK7aLblh.js">
28
28
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-Cc-Ey1iB.js">
29
29
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-h5-vue-BtM9Eyib.js">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/pro",
3
3
  "private": false,
4
- "version": "0.13.25",
4
+ "version": "0.13.26",
5
5
  "keywords": [
6
6
  "低代码引擎",
7
7
  "LowCode Engine",
@@ -21,21 +21,22 @@
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@vtj/core": "~0.13.25",
25
- "@vtj/designer": "~0.13.25",
26
- "@vtj/local": "~0.13.25",
27
- "@vtj/renderer": "~0.13.25",
28
- "@vtj/materials": "~0.13.25",
29
- "@vtj/uni": "~0.13.25"
24
+ "@vtj/core": "~0.13.26",
25
+ "@vtj/local": "~0.13.26",
26
+ "@vtj/materials": "~0.13.26",
27
+ "@vtj/renderer": "~0.13.26",
28
+ "@vtj/uni": "~0.13.26",
29
+ "@vtj/designer": "~0.13.26"
30
30
  },
31
31
  "devDependencies": {
32
+ "vite-plugin-vue-devtools": "~8.0.2",
32
33
  "vue": "~3.5.5",
33
34
  "vue-router": "~4.5.0",
34
- "@vtj/cli": "~0.12.12",
35
- "@vtj/charts": "~0.13.25",
36
- "@vtj/ui": "~0.13.25",
37
- "@vtj/icons": "~0.13.25",
38
- "@vtj/utils": "~0.13.25"
35
+ "@vtj/icons": "~0.13.26",
36
+ "@vtj/ui": "~0.13.26",
37
+ "@vtj/charts": "~0.13.26",
38
+ "@vtj/cli": "~0.12.13",
39
+ "@vtj/utils": "~0.13.26"
39
40
  },
40
41
  "exports": {
41
42
  "./vite": {
@@ -1,304 +0,0 @@
1
- {
2
- "name": "Welcom",
3
- "locked": false,
4
- "inject": [],
5
- "state": {},
6
- "lifeCycles": {},
7
- "methods": {
8
- "goToPlatform": {
9
- "type": "JSFunction",
10
- "value": "() => {\n this.$router.push({ path: '/home' });\n}"
11
- }
12
- },
13
- "computed": {},
14
- "watch": [],
15
- "css": ".welcome-page {\n min-height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(to right, #0072ff, #00c6ff);\n padding: 20px;\n box-sizing: border-box;\n}\n\n.welcome-card {\n background: rgba(255, 255, 255, 0.96);\n border-radius: 20px;\n padding: 50px 40px;\n max-width: 900px;\n width: 100%;\n box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.welcome-logo {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n margin-bottom: 25px;\n box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);\n}\n\n.welcome-title {\n font-size: 34px;\n font-weight: 800;\n margin-bottom: 12px;\n background: linear-gradient(90deg, #409EFF, #36D1DC);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.welcome-subtitle {\n font-size: 18px;\n color: #666;\n margin-bottom: 40px;\n}\n\n.welcome-features {\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n gap: 40px;\n margin-bottom: 40px;\n}\n\n.feature-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f7f9fc;\n padding: 20px 25px;\n border-radius: 14px;\n transition: all 0.3s ease;\n width: 180px;\n}\n\n.feature-item:hover {\n transform: translateY(-6px);\n box-shadow: 0 8px 20px rgba(64, 158, 255, 0.2);\n}\n\n.feature-text {\n margin-top: 10px;\n font-size: 15px;\n font-weight: 500;\n color: #333;\n}\n\n.enter-btn {\n background: linear-gradient(90deg, #36D1DC, #5B86E5);\n border: none;\n font-size: 18px;\n font-weight: bold;\n padding: 12px 30px;\n border-radius: 30px;\n box-shadow: 0 6px 20px rgba(91, 134, 229, 0.3);\n transition: all 0.3s ease;\n}\n\n.enter-btn:hover {\n transform: translateY(-3px);\n box-shadow: 0 8px 25px rgba(91, 134, 229, 0.5);\n}",
16
- "props": [],
17
- "emits": [],
18
- "slots": [],
19
- "dataSources": {},
20
- "__VTJ_BLOCK__": true,
21
- "__VERSION__": "1755327689575",
22
- "id": "18rox79g",
23
- "nodes": [
24
- {
25
- "id": "d48rp0dz2",
26
- "name": "div",
27
- "from": "",
28
- "invisible": false,
29
- "locked": false,
30
- "children": [
31
- {
32
- "id": "d58rp0dz2",
33
- "name": "div",
34
- "from": "",
35
- "invisible": false,
36
- "locked": false,
37
- "children": [
38
- {
39
- "id": "d68rp0dz2",
40
- "name": "div",
41
- "from": "",
42
- "invisible": false,
43
- "locked": false,
44
- "children": [
45
- {
46
- "id": "d78rp0dz2",
47
- "name": "img",
48
- "from": "",
49
- "invisible": false,
50
- "locked": false,
51
- "children": [],
52
- "props": {
53
- "alt": "VTJ.PRO Logo",
54
- "src": "/api/oss/file/apps/samchen08.pc1/2025-08-16/5c9166hyc.svg",
55
- "class": "welcome-logo"
56
- },
57
- "directives": [],
58
- "events": {}
59
- },
60
- {
61
- "id": "d88rp0dz2",
62
- "name": "h1",
63
- "from": "",
64
- "invisible": false,
65
- "locked": false,
66
- "children": "欢迎使用 VTJ.PRO 低代码平台",
67
- "props": {
68
- "class": "welcome-title"
69
- },
70
- "directives": [],
71
- "events": {}
72
- },
73
- {
74
- "id": "d98rp0dz2",
75
- "name": "p",
76
- "from": "",
77
- "invisible": false,
78
- "locked": false,
79
- "children": "快速构建高效、可扩展的 Web 应用",
80
- "props": {
81
- "class": "welcome-subtitle"
82
- },
83
- "directives": [],
84
- "events": {}
85
- }
86
- ],
87
- "props": {
88
- "class": "welcome-header"
89
- },
90
- "directives": [],
91
- "events": {}
92
- },
93
- {
94
- "id": "da8rp0dz2",
95
- "name": "div",
96
- "from": "",
97
- "invisible": false,
98
- "locked": false,
99
- "children": [
100
- {
101
- "id": "db8rp0dz2",
102
- "name": "div",
103
- "from": "",
104
- "invisible": false,
105
- "locked": false,
106
- "children": [
107
- {
108
- "id": "dc8rp0dz2",
109
- "name": "XIcon",
110
- "from": "@vtj/ui",
111
- "invisible": false,
112
- "locked": false,
113
- "children": [],
114
- "props": {
115
- "icon": {
116
- "type": "JSExpression",
117
- "value": "this.$libs.VtjIcons.User"
118
- },
119
- "size": {
120
- "type": "JSExpression",
121
- "value": "40"
122
- },
123
- "color": "#409EFF"
124
- },
125
- "directives": [],
126
- "events": {}
127
- },
128
- {
129
- "id": "dd8rp0dz2",
130
- "name": "span",
131
- "from": "",
132
- "invisible": false,
133
- "locked": false,
134
- "children": "可视化页面搭建",
135
- "props": {
136
- "class": "feature-text"
137
- },
138
- "directives": [],
139
- "events": {}
140
- }
141
- ],
142
- "props": {
143
- "class": "feature-item"
144
- },
145
- "directives": [],
146
- "events": {}
147
- },
148
- {
149
- "id": "de8rp0dz2",
150
- "name": "div",
151
- "from": "",
152
- "invisible": false,
153
- "locked": false,
154
- "children": [
155
- {
156
- "id": "df8rp0dz2",
157
- "name": "XIcon",
158
- "from": "@vtj/ui",
159
- "invisible": false,
160
- "locked": false,
161
- "children": [],
162
- "props": {
163
- "icon": {
164
- "type": "JSExpression",
165
- "value": "this.$libs.VtjIcons.Setting"
166
- },
167
- "size": {
168
- "type": "JSExpression",
169
- "value": "40"
170
- },
171
- "color": "#67C23A"
172
- },
173
- "directives": [],
174
- "events": {}
175
- },
176
- {
177
- "id": "dg8rp0dz2",
178
- "name": "span",
179
- "from": "",
180
- "invisible": false,
181
- "locked": false,
182
- "children": "模块化组件管理",
183
- "props": {
184
- "class": "feature-text"
185
- },
186
- "directives": [],
187
- "events": {}
188
- }
189
- ],
190
- "props": {
191
- "class": "feature-item"
192
- },
193
- "directives": [],
194
- "events": {}
195
- },
196
- {
197
- "id": "dh8rp0dz2",
198
- "name": "div",
199
- "from": "",
200
- "invisible": false,
201
- "locked": false,
202
- "children": [
203
- {
204
- "id": "di8rp0dz2",
205
- "name": "XIcon",
206
- "from": "@vtj/ui",
207
- "invisible": false,
208
- "locked": false,
209
- "children": [],
210
- "props": {
211
- "icon": {
212
- "type": "JSExpression",
213
- "value": "this.$libs.VtjIcons.DataAnalysis"
214
- },
215
- "size": {
216
- "type": "JSExpression",
217
- "value": "40"
218
- },
219
- "color": "#E6A23C"
220
- },
221
- "directives": [],
222
- "events": {}
223
- },
224
- {
225
- "id": "dj8rp0dz3",
226
- "name": "span",
227
- "from": "",
228
- "invisible": false,
229
- "locked": false,
230
- "children": "数据驱动与智能化",
231
- "props": {
232
- "class": "feature-text"
233
- },
234
- "directives": [],
235
- "events": {}
236
- }
237
- ],
238
- "props": {
239
- "class": "feature-item"
240
- },
241
- "directives": [],
242
- "events": {}
243
- }
244
- ],
245
- "props": {
246
- "class": "welcome-features"
247
- },
248
- "directives": [],
249
- "events": {}
250
- },
251
- {
252
- "id": "dk8rp0dz3",
253
- "name": "div",
254
- "from": "",
255
- "invisible": false,
256
- "locked": false,
257
- "children": [
258
- {
259
- "id": "dl8rp0dz3",
260
- "name": "ElButton",
261
- "from": "",
262
- "invisible": false,
263
- "locked": false,
264
- "children": "🚀 进入平台",
265
- "props": {
266
- "size": "large",
267
- "type": "primary",
268
- "class": "enter-btn"
269
- },
270
- "directives": [],
271
- "events": {
272
- "click": {
273
- "name": "click",
274
- "handler": {
275
- "type": "JSFunction",
276
- "value": "this.goToPlatform"
277
- },
278
- "modifiers": {}
279
- }
280
- }
281
- }
282
- ],
283
- "props": {
284
- "class": "welcome-action"
285
- },
286
- "directives": [],
287
- "events": {}
288
- }
289
- ],
290
- "props": {
291
- "class": "welcome-card"
292
- },
293
- "directives": [],
294
- "events": {}
295
- }
296
- ],
297
- "props": {
298
- "class": "welcome-page"
299
- },
300
- "directives": [],
301
- "events": {}
302
- }
303
- ]
304
- }
package/dist/.vtj/vtj.png DELETED
Binary file
@@ -1 +0,0 @@
1
- var Ve=Object.defineProperty,je=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var he=(e,t,n)=>t in e?Ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))ge.call(t,n)&&he(e,n,t[n]);if(q)for(var n of q(t))ye.call(t,n)&&he(e,n,t[n]);return e},Q=(e,t)=>je(e,Xe(t));var J=(e,t)=>{var n={};for(var r in e)ge.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&q)for(var r of q(e))t.indexOf(r)<0&&ye.call(e,r)&&(n[r]=e[r]);return n};import{s as T,w as $e,r as ne,b as $,e as W,f as I,g as De,h as ke,i as te,j as we,u as ae,k as G,l as le,n as ce,m as fe,t as Ye,p as Qe,q as O,v as Fe,x as Je}from"./vue-DgQ6LK_p.js";var Ue=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Oe=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))qe.call(t,n)&&Oe(e,n,t[n]);if(be)for(var n of be(t))Ze.call(t,n)&&Oe(e,n,t[n]);return e},tt=(e,t)=>Ge(e,Ke(t));function Zt(e,t){var n;const r=T();return $e(()=>{r.value=e()},tt(et({},t),{flush:(n=void 0)!=null?n:"sync"})),ne(r)}var _e;const re=typeof window!="undefined",nt=e=>typeof e!="undefined",ue=e=>typeof e=="function",rt=e=>typeof e=="string",en=(e,t,n)=>Math.min(n,Math.max(t,e)),V=()=>{},ot=re&&((_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function X(e){return typeof e=="function"?e():ae(e)}function Re(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function st(e,t={}){let n,r,s=V;const o=i=>{clearTimeout(i),s(),s=V};return i=>{const a=X(e),f=X(t.maxWait);return n&&o(n),a<=0||f!==void 0&&f<=0?(r&&(o(r),r=null),Promise.resolve(i())):new Promise((v,l)=>{s=t.rejectOnCancel?l:v,f&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,v(i())},f)),n=setTimeout(()=>{r&&o(r),r=null,v(i())},a)})}}function it(e,t=!0,n=!0,r=!1){let s=0,o,u=!0,i=V,a;const f=()=>{o&&(clearTimeout(o),o=void 0,i(),i=V)};return l=>{const c=X(e),d=Date.now()-s,m=()=>a=l();return f(),c<=0?(s=Date.now(),m()):(d>c&&(n||!u)?(s=Date.now(),m()):t&&(a=new Promise((y,w)=>{i=r?w:y,o=setTimeout(()=>{s=Date.now(),u=!0,y(m()),f()},Math.max(0,c-d))})),!n&&!o&&(o=setTimeout(()=>u=!0,c)),u=!1,a)}}function ut(e){return e}function at(e,t){let n,r,s;const o=$(!0),u=()=>{o.value=!0,s()};W(e,u,{flush:"sync"});const i=ue(t)?t:t.get,a=ue(t)?void 0:t.set,f=fe((v,l)=>(r=v,s=l,{get(){return o.value&&(n=i(),o.value=!1),r(),n},set(c){a==null||a(c)}}));return Object.isExtensible(f)&&(f.trigger=u),f}function K(e){return De()?(ke(e),!0):!1}function lt(e){if(!te(e))return we(e);const t=new Proxy({},{get(n,r,s){return ae(Reflect.get(e.value,r,s))},set(n,r,s){return te(e.value[r])&&!te(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return we(t)}function tn(e){return lt(I(e))}function ct(e,t=200,n={}){return Re(st(t,n),e)}function nn(e,t=200,n={}){const r=$(e.value),s=ct(()=>{r.value=e.value},t,n);return W(e,()=>s()),r}function rn(e,t=200,n=!1,r=!0,s=!1){return Re(it(t,n,r,s),e)}function Ne(e,t=!0){G()?le(e):t?e():ce(e)}function on(e,t,n={}){const{immediate:r=!0}=n,s=$(!1);let o=null;function u(){o&&(clearTimeout(o),o=null)}function i(){s.value=!1,u()}function a(...f){u(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...f)},X(t))}return r&&(s.value=!0,re&&a()),K(i),{isPending:ne(s),start:a,stop:i}}function L(e){var t;const n=X(e);return(t=n==null?void 0:n.$el)!=null?t:n}const j=re?window:void 0,ft=re?window.document:void 0;function H(...e){let t,n,r,s;if(rt(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=j):[t,n,r,s]=e,!t)return V;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],u=()=>{o.forEach(v=>v()),o.length=0},i=(v,l,c,d)=>(v.addEventListener(l,c,d),()=>v.removeEventListener(l,c,d)),a=W(()=>[L(t),X(s)],([v,l])=>{u(),v&&o.push(...n.flatMap(c=>r.map(d=>i(v,c,d,l))))},{immediate:!0,flush:"post"}),f=()=>{a(),u()};return K(f),f}let Se=!1;function sn(e,t,n={}){const{window:r=j,ignore:s=[],capture:o=!0,detectIframe:u=!1}=n;if(!r)return;ot&&!Se&&(Se=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",V)));let i=!0;const a=c=>s.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(m=>m===c.target||c.composedPath().includes(m));{const m=L(d);return m&&(c.target===m||c.composedPath().includes(m))}}),v=[H(r,"click",c=>{const d=L(e);if(!(!d||d===c.target||c.composedPath().includes(d))){if(c.detail===0&&(i=!a(c)),!i){i=!0;return}t(c)}},{passive:!0,capture:o}),H(r,"pointerdown",c=>{const d=L(e);d&&(i=!c.composedPath().includes(d)&&!a(c))},{passive:!0}),u&&H(r,"blur",c=>{var d;const m=L(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(c)})].filter(Boolean);return()=>v.forEach(c=>c())}function un(e={}){var t;const{window:n=j}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,s=at(()=>null,()=>r==null?void 0:r.activeElement);return n&&(H(n,"blur",o=>{o.relatedTarget===null&&s.trigger()},!0),H(n,"focus",s.trigger,!0)),s}function de(e,t=!1){const n=$(),r=()=>n.value=!!e();return r(),Ne(r,t),n}function dt(e){return JSON.parse(JSON.stringify(e))}const Ee=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Pe="__vueuse_ssr_handlers__";Ee[Pe]=Ee[Pe]||{};function an(e,t,{window:n=j,initialValue:r=""}={}){const s=$(r),o=I(()=>{var u;return L(t)||((u=n==null?void 0:n.document)==null?void 0:u.documentElement)});return W([o,()=>X(e)],([u,i])=>{var a;if(u&&n){const f=(a=n.getComputedStyle(u).getPropertyValue(i))==null?void 0:a.trim();s.value=f||r}},{immediate:!0}),W(s,u=>{var i;(i=o.value)!=null&&i.style&&o.value.style.setProperty(X(e),u)}),s}function ln({document:e=ft}={}){if(!e)return $("visible");const t=$(e.visibilityState);return H(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var xe=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,mt=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&xe)for(var r of xe(e))t.indexOf(r)<0&&pt.call(e,r)&&(n[r]=e[r]);return n};function cn(e,t,n={}){const r=n,{window:s=j}=r,o=mt(r,["window"]);let u;const i=de(()=>s&&"ResizeObserver"in s),a=()=>{u&&(u.disconnect(),u=void 0)},f=W(()=>L(e),l=>{a(),i.value&&s&&l&&(u=new ResizeObserver(t),u.observe(l,o))},{immediate:!0,flush:"post"}),v=()=>{a(),f()};return K(v),{isSupported:i,stop:v}}function fn(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:o=.1,window:u=j}=n,i=de(()=>u&&"IntersectionObserver"in u);let a=V;const f=i.value?W(()=>({el:L(e),root:L(r)}),({el:l,root:c})=>{if(a(),!l)return;const d=new IntersectionObserver(t,{root:c,rootMargin:s,threshold:o});d.observe(l),a=()=>{d.disconnect(),a=V}},{immediate:!0,flush:"post"}):V,v=()=>{a(),f()};return K(v),{isSupported:i,stop:v}}var Me=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,yt=(e,t)=>{var n={};for(var r in e)ht.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Me)for(var r of Me(e))t.indexOf(r)<0&&gt.call(e,r)&&(n[r]=e[r]);return n};function dn(e,t,n={}){const r=n,{window:s=j}=r,o=yt(r,["window"]);let u;const i=de(()=>s&&"MutationObserver"in s),a=()=>{u&&(u.disconnect(),u=void 0)},f=W(()=>L(e),l=>{a(),i.value&&s&&l&&(u=new MutationObserver(t),u.observe(l,o))},{immediate:!0}),v=()=>{a(),f()};return K(v),{isSupported:i,stop:v}}var Ce;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Ce||(Ce={}));var wt=Object.defineProperty,Te=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,We=(e,t,n)=>t in e?wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_t=(e,t)=>{for(var n in t||(t={}))bt.call(t,n)&&We(e,n,t[n]);if(Te)for(var n of Te(t))Ot.call(t,n)&&We(e,n,t[n]);return e};const St={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};_t({linear:ut},St);function vn(e,t,n,r={}){var s,o,u;const{clone:i=!1,passive:a=!1,eventName:f,deep:v=!1,defaultValue:l}=r,c=G(),d=n||(c==null?void 0:c.emit)||((s=c==null?void 0:c.$emit)==null?void 0:s.bind(c))||((u=(o=c==null?void 0:c.proxy)==null?void 0:o.$emit)==null?void 0:u.bind(c==null?void 0:c.proxy));let m=f;t||(t="modelValue"),m=f||m||`update:${t.toString()}`;const y=g=>i?ue(i)?i(g):dt(g):g,w=()=>nt(e[t])?y(e[t]):l;if(a){const g=w(),S=$(g);return W(()=>e[t],_=>S.value=y(_)),W(S,_=>{(_!==e[t]||v)&&d(m,_)},{deep:v}),S}else return I({get(){return w()},set(g){d(m,g)}})}function pn({window:e=j}={}){if(!e)return $(!1);const t=$(e.document.hasFocus());return H(e,"blur",()=>{t.value=!1}),H(e,"focus",()=>{t.value=!0}),t}function mn(e={}){const{window:t=j,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,u=$(n),i=$(r),a=()=>{t&&(o?(u.value=t.innerWidth,i.value=t.innerHeight):(u.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};return a(),Ne(a),H("resize",a,{passive:!0}),s&&H("orientationchange",a,{passive:!0}),{width:u,height:i}}function oe(e){return De()?(ke(e),!0):!1}const ie=new WeakMap,Et=(...e)=>{var t;const n=e[0],r=(t=G())==null?void 0:t.proxy;if(r==null&&!Fe())throw new Error("injectLocal must be called in setup");return r&&ie.has(r)&&n in ie.get(r)?ie.get(r)[n]:Je(...e)},ve=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Pt=e=>e!=null,xt=Object.prototype.toString,Mt=e=>xt.call(e)==="[object Object]",Ct=()=>{};function pe(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?ne(fe(()=>({get:t,set:Ct}))):$(t)}function Tt(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const ze=e=>e();function Wt(e=ze,t={}){const{initialState:n="active"}=t,r=pe(n==="active");function s(){r.value=!1}function o(){r.value=!0}const u=(...i)=>{r.value&&e(...i)};return{isActive:ne(r),pause:s,resume:o,eventFilter:u}}function Ae(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function U(e){return Array.isArray(e)?e:[e]}function At(e){return G()}function It(e,t,n={}){const o=n,{eventFilter:r=ze}=o,s=J(o,["eventFilter"]);return W(e,Tt(r,t),s)}function $t(e,t,n={}){const l=n,{eventFilter:r,initialState:s="active"}=l,o=J(l,["eventFilter","initialState"]),{eventFilter:u,pause:i,resume:a,isActive:f}=Wt(r,{initialState:s});return{stop:It(e,t,Q(z({},o),{eventFilter:u})),pause:i,resume:a,isActive:f}}function Dt(e,t={}){if(!te(e))return Qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=fe(()=>({get(){return e.value[r]},set(s){var o;if((o=O(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const i=[...e.value];i[r]=s,e.value=i}else{const i=Q(z({},e.value),{[r]:s});Object.setPrototypeOf(i,Object.getPrototypeOf(e.value)),e.value=i}else e.value[r]=s}}));return n}function se(e,t=!0,n){At()?le(e,n):t?e():ce(e)}function kt(e,t,n){return W(e,t,Q(z({},n),{immediate:!0}))}const N=ve?window:void 0,Ft=ve?window.document:void 0;function B(e){var t;const n=O(e);return(t=n==null?void 0:n.$el)!=null?t:n}function F(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,a,f,v)=>(i.addEventListener(a,f,v),()=>i.removeEventListener(a,f,v)),s=I(()=>{const i=U(O(e[0])).filter(a=>a!=null);return i.every(a=>typeof a!="string")?i:void 0}),o=kt(()=>{var i,a;return[(a=(i=s.value)==null?void 0:i.map(f=>B(f)))!=null?a:[N].filter(f=>f!=null),U(O(s.value?e[1]:e[0])),U(ae(s.value?e[2]:e[1])),O(s.value?e[3]:e[2])]},([i,a,f,v])=>{if(n(),!(i!=null&&i.length)||!(a!=null&&a.length)||!(f!=null&&f.length))return;const l=Mt(v)?z({},v):v;t.push(...i.flatMap(c=>a.flatMap(d=>f.map(m=>r(c,d,m,l)))))},{flush:"post"}),u=()=>{o(),n()};return oe(n),u}function Rt(){const e=T(!1),t=G();return t&&le(()=>{e.value=!0},t),e}function me(e){const t=Rt();return I(()=>(t.value,!!e()))}function Le(e,t,n={}){const c=n,{window:r=N}=c,s=J(c,["window"]);let o;const u=me(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},a=I(()=>{const d=O(e),m=U(d).map(B).filter(Pt);return new Set(m)}),f=W(a,d=>{i(),u.value&&d.size&&(o=new MutationObserver(t),d.forEach(m=>o.observe(m,s)))},{immediate:!0,flush:"post"}),v=()=>o==null?void 0:o.takeRecords(),l=()=>{f(),i()};return oe(l),{isSupported:u,stop:l,takeRecords:v}}const Nt=Symbol("vueuse-ssr-width");function zt(){const e=Fe()?Et(Nt,null):null;return typeof e=="number"?e:void 0}function Lt(e,t={}){const{window:n=N,ssrWidth:r=zt()}=t,s=me(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=T(typeof r=="number"),u=T(),i=T(!1),a=f=>{i.value=f.matches};return $e(()=>{if(o.value){o.value=!s.value;const f=O(e).split(",");i.value=f.some(v=>{const l=v.includes("not all"),c=v.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=v.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(c||d);return c&&m&&(m=r>=Ae(c[1])),d&&m&&(m=r<=Ae(d[1])),l?!m:m});return}s.value&&(u.value=n.matchMedia(O(e)),i.value=u.value.matches)}),F(u,"change",a,{passive:!0}),I(()=>i.value)}const Z=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ee="__vueuse_ssr_handlers__",Bt=Ht();function Ht(){return ee in Z||(Z[ee]=Z[ee]||{}),Z[ee]}function Be(e,t){return Bt[e]||t}function Vt(e){return Lt("(prefers-color-scheme: dark)",e)}function jt(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Xt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ie="vueuse-storage";function Yt(e,t,n,r={}){var s;const{flush:o="pre",deep:u=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:f=!1,shallow:v,window:l=N,eventFilter:c,onError:d=h=>{console.error(h)},initOnMounted:m}=r,y=(v?T:$)(typeof t=="function"?t():t),w=I(()=>O(e));if(!n)try{n=Be("getDefaultStorage",()=>{var h;return(h=N)==null?void 0:h.localStorage})()}catch(h){d(h)}if(!n)return y;const g=O(t),S=jt(g),_=(s=r.serializer)!=null?s:Xt[S],{pause:M,resume:x}=$t(y,h=>C(h),{flush:o,deep:u,eventFilter:c});W(w,()=>k(),{flush:o});let D=!1;const p=h=>{m&&!D||k(h)},b=h=>{m&&!D||Y(h)};l&&i&&(n instanceof Storage?F(l,"storage",p,{passive:!0}):F(l,Ie,b)),m?se(()=>{D=!0,k()}):k();function E(h,A){if(l){const R={key:w.value,oldValue:h,newValue:A,storageArea:n};l.dispatchEvent(n instanceof Storage?new StorageEvent("storage",R):new CustomEvent(Ie,{detail:R}))}}function C(h){try{const A=n.getItem(w.value);if(h==null)E(A,null),n.removeItem(w.value);else{const R=_.write(h);A!==R&&(n.setItem(w.value,R),E(A,R))}}catch(A){d(A)}}function P(h){const A=h?h.newValue:n.getItem(w.value);if(A==null)return a&&g!=null&&n.setItem(w.value,_.write(g)),g;if(!h&&f){const R=_.read(A);return typeof f=="function"?f(R,g):S==="object"&&!Array.isArray(R)?z(z({},g),R):R}else return typeof A!="string"?A:_.read(A)}function k(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){y.value=g;return}if(!(h&&h.key!==w.value)){M();try{const A=_.write(y.value);(h===void 0||(h==null?void 0:h.newValue)!==A)&&(y.value=P(h))}catch(A){d(A)}finally{h?ce(x):x()}}}}function Y(h){k(h.detail)}return y}const Qt="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Jt(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=N,storage:o,storageKey:u="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:a,emitAuto:f,disableTransition:v=!0}=e,l=z({auto:"",light:"light",dark:"dark"},e.modes||{}),c=Vt({window:s}),d=I(()=>c.value?"dark":"light"),m=a||(u==null?pe(r):Yt(u,r,o,{window:s,listenToStorageChanges:i})),y=I(()=>m.value==="auto"?d.value:m.value),w=Be("updateHTMLAttrs",(M,x,D)=>{const p=typeof M=="string"?s==null?void 0:s.document.querySelector(M):B(M);if(!p)return;const b=new Set,E=new Set;let C=null;if(x==="class"){const k=D.split(/\s/g);Object.values(l).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{k.includes(Y)?b.add(Y):E.add(Y)})}else C={key:x,value:D};if(b.size===0&&E.size===0&&C===null)return;let P;v&&(P=s.document.createElement("style"),P.appendChild(document.createTextNode(Qt)),s.document.head.appendChild(P));for(const k of b)p.classList.add(k);for(const k of E)p.classList.remove(k);C&&p.setAttribute(C.key,C.value),v&&(s.getComputedStyle(P).opacity,document.head.removeChild(P))});function g(M){var x;w(t,n,(x=l[M])!=null?x:M)}function S(M){e.onChanged?e.onChanged(M,g):g(M)}W(y,S,{flush:"post",immediate:!0}),se(()=>S(y.value));const _=I({get(){return f?m.value:y.value},set(M){m.value=M}});return Object.assign(_,{store:m,system:d,state:y})}function hn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Jt(Q(z({},e),{onChanged:(u,i)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,u==="dark",i,u):i(u)},modes:{dark:t,light:n}})),s=I(()=>r.system.value);return I({get(){return r.value==="dark"},set(u){const i=u?"dark":"light";s.value===i?r.value="auto":r.value=i}})}function gn(e,t={}){var n;const{pointerTypes:r,preventDefault:s,stopPropagation:o,exact:u,onMove:i,onEnd:a,onStart:f,initialValue:v,axis:l="both",draggingElement:c=N,containerElement:d,handle:m=e,buttons:y=[0]}=t,w=$((n=O(v))!=null?n:{x:0,y:0}),g=$(),S=p=>r?r.includes(p.pointerType):!0,_=p=>{O(s)&&p.preventDefault(),O(o)&&p.stopPropagation()},M=p=>{var b;if(!O(y).includes(p.button)||O(t.disabled)||!S(p)||O(u)&&p.target!==O(e))return;const E=O(d),C=(b=E==null?void 0:E.getBoundingClientRect)==null?void 0:b.call(E),P=O(e).getBoundingClientRect(),k={x:p.clientX-(E?P.left-C.left+E.scrollLeft:P.left),y:p.clientY-(E?P.top-C.top+E.scrollTop:P.top)};(f==null?void 0:f(k,p))!==!1&&(g.value=k,_(p))},x=p=>{if(O(t.disabled)||!S(p)||!g.value)return;const b=O(d),E=O(e).getBoundingClientRect();let{x:C,y:P}=w.value;(l==="x"||l==="both")&&(C=p.clientX-g.value.x,b&&(C=Math.min(Math.max(0,C),b.scrollWidth-E.width))),(l==="y"||l==="both")&&(P=p.clientY-g.value.y,b&&(P=Math.min(Math.max(0,P),b.scrollHeight-E.height))),w.value={x:C,y:P},i==null||i(w.value,p),_(p)},D=p=>{O(t.disabled)||!S(p)||g.value&&(g.value=void 0,a==null||a(w.value,p),_(p))};if(ve){const p=()=>{var b;return{capture:(b=t.capture)!=null?b:!0,passive:!O(s)}};F(m,"pointerdown",M,p),F(c,"pointermove",x,p),F(c,"pointerup",D,p)}return Q(z({},Dt(w)),{position:w,isDragging:I(()=>!!g.value),style:I(()=>`left:${w.value.x}px;top:${w.value.y}px;`)})}function He(e,t,n={}){const l=n,{window:r=N}=l,s=J(l,["window"]);let o;const u=me(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},a=I(()=>{const c=O(e);return Array.isArray(c)?c.map(d=>B(d)):[B(c)]}),f=W(a,c=>{if(i(),u.value&&r){o=new ResizeObserver(t);for(const d of c)d&&o.observe(d,s)}},{immediate:!0,flush:"post"}),v=()=>{i(),f()};return oe(v),{isSupported:u,stop:v}}function yn(e,t={width:0,height:0},n={}){const{window:r=N,box:s="content-box"}=n,o=I(()=>{var l,c;return(c=(l=B(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),u=T(t.width),i=T(t.height),{stop:a}=He(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const d=B(e);if(d){const m=d.getBoundingClientRect();u.value=m.width,i.value=m.height}}else if(c){const d=U(c);u.value=d.reduce((m,{inlineSize:y})=>m+y,0),i.value=d.reduce((m,{blockSize:y})=>m+y,0)}else u.value=l.contentRect.width,i.value=l.contentRect.height},n);se(()=>{const l=B(e);l&&(u.value="offsetWidth"in l?l.offsetWidth:t.width,i.value="offsetHeight"in l?l.offsetHeight:t.height)});const f=W(()=>B(e),l=>{u.value=l?t.width:0,i.value=l?t.height:0});function v(){a(),f()}return{width:u,height:i,stop:v}}const Ut={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Gt(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:s={x:0,y:0},window:o=N,target:u=o,scroll:i=!0,eventFilter:a}=e;let f=null,v=0,l=0;const c=T(s.x),d=T(s.y),m=T(null),y=typeof t=="function"?t:Ut[t],w=p=>{const b=y(p);f=p,b&&([c.value,d.value]=b,m.value="mouse"),o&&(v=o.scrollX,l=o.scrollY)},g=p=>{if(p.touches.length>0){const b=y(p.touches[0]);b&&([c.value,d.value]=b,m.value="touch")}},S=()=>{if(!f||!o)return;const p=y(f);f instanceof MouseEvent&&p&&(c.value=p[0]+o.scrollX-v,d.value=p[1]+o.scrollY-l)},_=()=>{c.value=s.x,d.value=s.y},M=a?p=>a(()=>w(p),{}):p=>w(p),x=a?p=>a(()=>g(p),{}):p=>g(p),D=a?()=>a(()=>S(),{}):()=>S();if(u){const p={passive:!0};F(u,["mousemove","dragover"],M,p),n&&t!=="movement"&&(F(u,["touchstart","touchmove"],x,p),r&&F(u,"touchend",_,p)),i&&t==="page"&&F(o,"scroll",D,p)}return{x:c,y:d,sourceType:m}}function wn(e,t={}){const{windowResize:n=!0,windowScroll:r=!0,handleOutside:s=!0,window:o=N}=t,u=t.type||"page",{x:i,y:a,sourceType:f}=Gt(t),v=T(e!=null?e:o==null?void 0:o.document.body),l=T(0),c=T(0),d=T(0),m=T(0),y=T(0),w=T(0),g=T(!0);function S(){if(!o)return;const x=B(v);if(!x||!(x instanceof Element))return;const{left:D,top:p,width:b,height:E}=x.getBoundingClientRect();d.value=D+(u==="page"?o.pageXOffset:0),m.value=p+(u==="page"?o.pageYOffset:0),y.value=E,w.value=b;const C=i.value-d.value,P=a.value-m.value;g.value=b===0||E===0||C<0||P<0||C>b||P>E,(s||!g.value)&&(l.value=C,c.value=P)}const _=[];function M(){_.forEach(x=>x()),_.length=0}if(se(()=>{S()}),o){const{stop:x}=He(v,S),{stop:D}=Le(v,S,{attributeFilter:["style","class"]}),p=W([v,i,a],S);_.push(x,D,p),F(document,"mouseleave",()=>g.value=!0,{passive:!0}),r&&_.push(F("scroll",S,{capture:!0,passive:!0})),n&&_.push(F("resize",S,{passive:!0}))}return{x:i,y:a,sourceType:f,elementX:l,elementY:c,elementPositionX:d,elementPositionY:m,elementHeight:y,elementWidth:w,isOutside:g,stop:M}}function bn(e=null,t={}){var n,r,s;const{document:o=Ft,restoreOnUnmount:u=l=>l}=t,i=(n=o==null?void 0:o.title)!=null?n:"",a=pe((r=e!=null?e:o==null?void 0:o.title)!=null?r:null),f=!!(e&&typeof e=="function");function v(l){if(!("titleTemplate"in t))return l;const c=t.titleTemplate||"%s";return typeof c=="function"?c(l):O(c).replace(/%s/g,l)}return W(a,(l,c)=>{l!==c&&o&&(o.title=v(l!=null?l:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!f&&Le((s=o.head)==null?void 0:s.querySelector("title"),()=>{o&&o.title!==a.value&&(a.value=v(o.title))},{childList:!0}),oe(()=>{if(u){const l=u(i,a.value||"");l!=null&&o&&(o.title=l)}}),a}export{gn as A,cn as a,L as b,Zt as c,an as d,on as e,mn as f,en as g,nn as h,re as i,fn as j,rn as k,ot as l,dn as m,ln as n,sn as o,pn as p,vn as q,tn as r,un as s,K as t,H as u,bn as v,wn as w,F as x,yn as y,hn as z};