iobroker.assistant 0.1.2 → 0.1.5
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.
- package/README.md +6 -0
- package/admin/custom/.vite/manifest.json +38 -61
- package/admin/custom/assets/Components-QGHhAT7x.js +1 -0
- package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-CZCeM1Xg.js +1 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js +1 -0
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BEFjTs9S.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js} +1 -1
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-C4r3udVz.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js} +81 -81
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-DlOBHPL0.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js} +75 -75
- package/admin/custom/assets/hostInit-Coy-qoj-.js +1 -0
- package/admin/custom/assets/{index-B8wW0kQx.js → index-CEeJVAq7.js} +1 -1
- package/admin/custom/assets/{lib-DpE8sc4h.js → lib-B9PRMnX8.js} +1 -1
- package/admin/custom/assets/{mf-entry-bootstrap-0-e7fa582d.js → mf-entry-bootstrap-0-bd8f3c1d.js} +6 -2
- package/admin/custom/assets/virtualExposes-B8cMEMBf.js +1 -0
- package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-ddco90BP.js +1 -0
- package/admin/custom/assets/virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BF_I36ZK.js +2 -0
- package/admin/custom/customComponents.js +1 -1
- package/admin/custom/index.html +2 -2
- package/admin/custom/mf-manifest.json +1 -1
- package/admin/custom/mf-stats.json +1 -1
- package/build/lib/credentials.js +38 -8
- package/build/lib/credentials.js.map +1 -1
- package/io-package.json +28 -3
- package/package.json +6 -6
- package/admin/custom/assets/Components-DcnuVFM6.js +0 -1
- package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-DogEjv3U.js +0 -1
- package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-Dw5TkU1t.js +0 -1
- package/admin/custom/assets/hostInit-DKMI-sLp.js +0 -1
- package/admin/custom/assets/virtualExposes-DOTO22UK.js +0 -1
- package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-CQa59yVi.js +0 -1
- package/admin/custom/assets/virtual_mf-exposes-ssr___mfe_internal__ConfigCustomAssistant__customComponents_js-9g2Fj8tk.js +0 -2
- package/admin/custom/assets/virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BTUQTbYo.js +0 -2
- package/admin/custom/customComponents.ssr.js +0 -1
package/README.md
CHANGED
|
@@ -148,6 +148,12 @@ STT → answer → TTS streamed back as `audio-*` (plus a `transcript` event); `
|
|
|
148
148
|
Placeholder for the next version (at the beginning of the line):
|
|
149
149
|
### **WORK IN PROGRESS**
|
|
150
150
|
-->
|
|
151
|
+
### 0.1.5 (2026-08-19)
|
|
152
|
+
* (@GermanBluefox) Corrected credentials
|
|
153
|
+
|
|
154
|
+
### 0.1.3 (2026-08-15)
|
|
155
|
+
* (@GermanBluefox) Updated packages
|
|
156
|
+
|
|
151
157
|
### 0.1.2 (2026-08-03)
|
|
152
158
|
* (@GermanBluefox) Initial commit
|
|
153
159
|
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
3
|
-
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
2
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js": {
|
|
3
|
+
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
4
4
|
"name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js",
|
|
5
5
|
"imports": [
|
|
6
6
|
"_rolldown-runtime-C0FnF6B9.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-
|
|
10
|
-
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-
|
|
9
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js": {
|
|
10
|
+
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js",
|
|
11
11
|
"name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js",
|
|
12
12
|
"imports": [
|
|
13
13
|
"_rolldown-runtime-C0FnF6B9.js",
|
|
14
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
14
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js"
|
|
15
15
|
]
|
|
16
16
|
},
|
|
17
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
18
|
-
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
17
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js": {
|
|
18
|
+
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js",
|
|
19
19
|
"name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js",
|
|
20
20
|
"imports": [
|
|
21
21
|
"_rolldown-runtime-C0FnF6B9.js",
|
|
22
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
23
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-
|
|
22
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
23
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js"
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
27
|
-
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
26
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js": {
|
|
27
|
+
"file": "assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js",
|
|
28
28
|
"name": "_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js",
|
|
29
29
|
"imports": [
|
|
30
30
|
"_rolldown-runtime-C0FnF6B9.js",
|
|
31
31
|
"_vite-preload-helper-B7qeedMF.js",
|
|
32
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
33
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
32
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
33
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js"
|
|
34
34
|
],
|
|
35
35
|
"dynamicImports": [
|
|
36
36
|
"node_modules/react-qr-code/lib/index.mjs"
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"file": "assets/rolldown-runtime-C0FnF6B9.js",
|
|
41
41
|
"name": "rolldown-runtime"
|
|
42
42
|
},
|
|
43
|
-
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
44
|
-
"file": "assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
43
|
+
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-ddco90BP.js": {
|
|
44
|
+
"file": "assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-ddco90BP.js",
|
|
45
45
|
"name": "virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
46
46
|
"imports": [
|
|
47
47
|
"_vite-preload-helper-B7qeedMF.js",
|
|
48
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
48
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js"
|
|
49
49
|
],
|
|
50
50
|
"dynamicImports": [
|
|
51
51
|
"virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1",
|
|
52
52
|
"virtual:mf-exposes:__mfe_internal__ConfigCustomAssistant__customComponents_js"
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
|
-
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
56
|
-
"file": "assets/virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
55
|
+
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BF_I36ZK.js": {
|
|
56
|
+
"file": "assets/virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BF_I36ZK.js",
|
|
57
57
|
"name": "virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
58
58
|
"imports": [
|
|
59
59
|
"_vite-preload-helper-B7qeedMF.js"
|
|
@@ -67,36 +67,36 @@
|
|
|
67
67
|
"name": "vite-preload-helper"
|
|
68
68
|
},
|
|
69
69
|
"index.html": {
|
|
70
|
-
"file": "assets/index-
|
|
70
|
+
"file": "assets/index-CEeJVAq7.js",
|
|
71
71
|
"name": "index",
|
|
72
72
|
"src": "index.html",
|
|
73
73
|
"isEntry": true,
|
|
74
74
|
"imports": [
|
|
75
|
-
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
76
|
-
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
75
|
+
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BF_I36ZK.js",
|
|
76
|
+
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-ddco90BP.js"
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
79
|
"node_modules/react-qr-code/lib/index.mjs": {
|
|
80
|
-
"file": "assets/lib-
|
|
80
|
+
"file": "assets/lib-B9PRMnX8.js",
|
|
81
81
|
"name": "lib",
|
|
82
82
|
"src": "node_modules/react-qr-code/lib/index.mjs",
|
|
83
83
|
"isDynamicEntry": true,
|
|
84
84
|
"imports": [
|
|
85
85
|
"_rolldown-runtime-C0FnF6B9.js",
|
|
86
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
87
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
86
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
87
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js"
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
90
|
"src/Components.tsx": {
|
|
91
|
-
"file": "assets/Components-
|
|
91
|
+
"file": "assets/Components-QGHhAT7x.js",
|
|
92
92
|
"name": "Components",
|
|
93
93
|
"src": "src/Components.tsx",
|
|
94
94
|
"isEntry": true,
|
|
95
95
|
"imports": [
|
|
96
96
|
"_rolldown-runtime-C0FnF6B9.js",
|
|
97
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
98
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
99
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
97
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js",
|
|
98
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
99
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"virtual:mf-REMOTE_ENTRY_ID:__mfe_internal__ConfigCustomAssistant__customComponents_js": {
|
|
@@ -104,58 +104,35 @@
|
|
|
104
104
|
"name": "remoteEntry",
|
|
105
105
|
"src": "virtual:mf-REMOTE_ENTRY_ID:__mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
106
106
|
"imports": [
|
|
107
|
-
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
"virtual:mf-REMOTE_ENTRY_SSR_ID:__mfe_internal__ConfigCustomAssistant__customComponents_js": {
|
|
111
|
-
"file": "customComponents.ssr.js",
|
|
112
|
-
"name": "ssrRemoteEntry",
|
|
113
|
-
"src": "virtual:mf-REMOTE_ENTRY_SSR_ID:__mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
114
|
-
"imports": [
|
|
115
|
-
"_vite-preload-helper-B7qeedMF.js"
|
|
116
|
-
],
|
|
117
|
-
"dynamicImports": [
|
|
118
|
-
"virtual:mf-exposes-ssr:__mfe_internal__ConfigCustomAssistant__customComponents_js"
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
"virtual:mf-exposes-ssr:__mfe_internal__ConfigCustomAssistant__customComponents_js": {
|
|
122
|
-
"file": "assets/virtual_mf-exposes-ssr___mfe_internal__ConfigCustomAssistant__customComponents_js-9g2Fj8tk.js",
|
|
123
|
-
"name": "virtual_mf-exposes-ssr___mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
124
|
-
"src": "virtual:mf-exposes-ssr:__mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
125
|
-
"isDynamicEntry": true,
|
|
126
|
-
"imports": [
|
|
127
|
-
"_vite-preload-helper-B7qeedMF.js"
|
|
128
|
-
],
|
|
129
|
-
"dynamicImports": [
|
|
130
|
-
"src/Components.tsx"
|
|
107
|
+
"_virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomAssistant__customComponents_js-ddco90BP.js"
|
|
131
108
|
]
|
|
132
109
|
},
|
|
133
110
|
"virtual:mf-exposes:__mfe_internal__ConfigCustomAssistant__customComponents_js": {
|
|
134
|
-
"file": "assets/virtualExposes-
|
|
111
|
+
"file": "assets/virtualExposes-B8cMEMBf.js",
|
|
135
112
|
"name": "virtualExposes",
|
|
136
113
|
"src": "virtual:mf-exposes:__mfe_internal__ConfigCustomAssistant__customComponents_js",
|
|
137
114
|
"imports": [
|
|
138
|
-
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-
|
|
115
|
+
"_virtual_mf-exposes___mfe_internal__ConfigCustomAssistant__customComponents_js-BF_I36ZK.js"
|
|
139
116
|
]
|
|
140
117
|
},
|
|
141
118
|
"virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1": {
|
|
142
|
-
"file": "assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-
|
|
119
|
+
"file": "assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-CZCeM1Xg.js",
|
|
143
120
|
"name": "_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1",
|
|
144
121
|
"src": "virtual:mf-localSharedImportMap:__mfe_internal__ConfigCustomAssistant__mf_owner__1",
|
|
145
122
|
"isDynamicEntry": true,
|
|
146
123
|
"imports": [
|
|
147
124
|
"_vite-preload-helper-B7qeedMF.js",
|
|
148
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
125
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js"
|
|
149
126
|
],
|
|
150
127
|
"dynamicImports": [
|
|
151
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
152
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-
|
|
153
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-
|
|
154
|
-
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-
|
|
128
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js",
|
|
129
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js",
|
|
130
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js",
|
|
131
|
+
"__virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js"
|
|
155
132
|
]
|
|
156
133
|
},
|
|
157
134
|
"virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__H_A_I__hostAutoInit__H_A_I__.js": {
|
|
158
|
-
"file": "assets/hostInit-
|
|
135
|
+
"file": "assets/hostInit-Coy-qoj-.js",
|
|
159
136
|
"name": "hostInit",
|
|
160
137
|
"src": "virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__1__H_A_I__hostAutoInit__H_A_I__.js",
|
|
161
138
|
"imports": [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js";import{B as n,_ as r}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js";import{Cr as i,D as a,Dn as o,F as s,Gt as c,Hr as l,Ht as u,Jt as ee,Kt as d,L as te,Nt as ne,O as re,Qt as f,Sn as ie,U as ae,Vr as p,Wt as m,Yt as h,cn as oe,d as g,gt as se,in as _,jn as ce,kt as le,l as ue,ln as v,nn as y,on as de,qt as fe,tn as b,u as pe,un as x,wt as me,zn as S,zt as C}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js";var w=e({custom_assistant_Announcement:()=>k,custom_assistant_Host:()=>O,custom_assistant_Satellite:()=>E,custom_assistant_Satellites:()=>T,custom_assistant_Speak:()=>ge,custom_assistant_Status:()=>D,custom_assistant_auto:()=>_e,custom_assistant_device:()=>ve,custom_assistant_filter:()=>ye,custom_assistant_hint:()=>be,custom_assistant_llm_downloading:()=>z,custom_assistant_llm_error:()=>he,custom_assistant_llm_idle:()=>L,custom_assistant_llm_installing:()=>R,custom_assistant_llm_loading:()=>B,custom_assistant_llm_ready:()=>V,custom_assistant_offline:()=>j,custom_assistant_online:()=>A,custom_assistant_read:()=>xe,custom_assistant_room:()=>Se,custom_assistant_sat_idle:()=>M,custom_assistant_sat_listening:()=>N,custom_assistant_sat_offline:()=>I,custom_assistant_sat_processing:()=>P,custom_assistant_sat_speaking:()=>F,custom_assistant_type:()=>`Typ`,custom_assistant_write:()=>Ce,default:()=>we}),T=`Satelliten`,E=`Satellit`,D=`Status`,O=`Host`,k=`Ansage`,A=`online`,j=`offline`,M=`inaktiv`,N=`hört zu`,P=`verarbeitet`,F=`spricht`,I=`offline`,L=`inaktiv`,R=`Engine wird installiert …`,z=`Modell wird geladen …`,B=`lädt …`,V=`bereit`,he=`Fehler`,ge=`Sprechen`,_e=`automatisch`,ve=`Gerät`,ye=`Filter`,be=`Deaktivieren Sie die Leseberechtigung, um ein Gerät vor dem Assistenten auszublenden, oder die Schreibberechtigung, um es schreibgeschützt zu halten (z. B. bei Sperren). Geräte sind standardmäßig vollständig zugelassen.`,xe=`Lesen`,Se=`Zimmer`,Ce=`Schreiben`,we={"custom_assistant_Clear chat":`Chat leeren`,"custom_assistant_Device cache cleared.":`Gerätecache geleert.`,"custom_assistant_Hide disabled":`Deaktivierte ausblenden`,"custom_assistant_Listening…":`Höre zu …`,"custom_assistant_Local model":`Lokales Modell`,custom_assistant_Satellites:T,custom_assistant_Satellite:E,custom_assistant_Status:D,custom_assistant_Host:O,"custom_assistant_Last seen":`Zuletzt gesehen`,custom_assistant_Announcement:k,"custom_assistant_Send announcement":`Ansage senden`,"custom_assistant_Speak on all satellites":`Auf allen Satelliten ansagen`,"custom_assistant_No satellites registered yet.":`Noch keine Satelliten registriert.`,custom_assistant_online:A,custom_assistant_offline:j,custom_assistant_sat_idle:M,custom_assistant_sat_listening:N,custom_assistant_sat_processing:P,custom_assistant_sat_speaking:F,custom_assistant_sat_offline:I,custom_assistant_llm_idle:L,"custom_assistant_llm_not installed":`nicht installiert`,custom_assistant_llm_installing:R,custom_assistant_llm_downloading:z,custom_assistant_llm_loading:B,custom_assistant_llm_ready:V,custom_assistant_llm_error:he,"custom_assistant_Name language: %s":`Namens-Sprache: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Es wurden keine Geräte erkannt. Weisen Sie Räumen und Funktionen in ioBroker Zustände zu.`,"custom_assistant_No messages yet. Type a question below.":`Noch keine Nachrichten. Geben Sie unten eine Frage ein.`,"custom_assistant_Per-device permissions":`Gerätespezifische Berechtigungen`,"custom_assistant_Play answer (backend TTS)":`Antwort abspielen (Backend-TTS)`,"custom_assistant_Read answers aloud":`Antworten vorlesen`,"custom_assistant_Refresh device cache":`Gerätecache aktualisieren`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Speichern Sie die Konfiguration (die Instanz startet neu), bevor Sie chatten.`,custom_assistant_Speak:ge,"custom_assistant_Start the assistant instance to chat.":`Starten Sie die Assistenteninstanz, um zu chatten.`,"custom_assistant_Start the assistant instance to load the device list.":`Starten Sie die Assistenteninstanz, um die Geräteliste zu laden.`,"custom_assistant_Stop listening":`Zuhören beenden`,"custom_assistant_Stop reading answers aloud":`Vorlesen beenden`,"custom_assistant_Test chat":`Test-Chat`,"custom_assistant_Thinking…":`Denkt nach …`,"custom_assistant_Translate all missing (%s)":`Alle fehlenden übersetzen (%s)`,"custom_assistant_Translate name into %s":`Namen nach %s übersetzen`,"custom_assistant_Type a message…":`Nachricht eingeben …`,custom_assistant_auto:_e,"custom_assistant_change it on the Voice tab":`im Voice-Tab umschalten`,custom_assistant_device:ve,custom_assistant_filter:ye,custom_assistant_hint:be,"custom_assistant_no name in %s (showing %s)":`Kein Name in "%s" — angezeigt: "%s"`,custom_assistant_read:xe,custom_assistant_room:Se,custom_assistant_type:`Typ`,custom_assistant_write:Ce},H=e({custom_assistant_Announcement:()=>ke,custom_assistant_Host:()=>Oe,custom_assistant_Satellite:()=>Ee,custom_assistant_Satellites:()=>Te,custom_assistant_Speak:()=>Ue,custom_assistant_Status:()=>De,custom_assistant_auto:()=>We,custom_assistant_device:()=>Ge,custom_assistant_filter:()=>Ke,custom_assistant_hint:()=>qe,custom_assistant_llm_downloading:()=>ze,custom_assistant_llm_error:()=>He,custom_assistant_llm_idle:()=>Le,custom_assistant_llm_installing:()=>Re,custom_assistant_llm_loading:()=>Be,custom_assistant_llm_ready:()=>Ve,custom_assistant_offline:()=>je,custom_assistant_online:()=>Ae,custom_assistant_read:()=>Je,custom_assistant_room:()=>Ye,custom_assistant_sat_idle:()=>Me,custom_assistant_sat_listening:()=>Ne,custom_assistant_sat_offline:()=>Ie,custom_assistant_sat_processing:()=>Pe,custom_assistant_sat_speaking:()=>Fe,custom_assistant_type:()=>Xe,custom_assistant_write:()=>Ze,default:()=>Qe}),Te=`Satellites`,Ee=`Satellite`,De=`Status`,Oe=`Host`,ke=`Announcement`,Ae=`online`,je=`offline`,Me=`idle`,Ne=`listening`,Pe=`processing`,Fe=`speaking`,Ie=`offline`,Le=`idle`,Re=`installing engine…`,ze=`downloading model…`,Be=`loading…`,Ve=`ready`,He=`error`,Ue=`Speak`,We=`auto`,Ge=`Device`,Ke=`Filter`,qe=`Uncheck read to hide a device from the assistant, or uncheck write to keep it read-only (e.g. locks). Devices default to fully allowed.`,Je=`Read`,Ye=`Room`,Xe=`Type`,Ze=`Write`,Qe={"custom_assistant_Clear chat":`Clear chat`,"custom_assistant_Device cache cleared.":`Device cache cleared.`,"custom_assistant_Hide disabled":`Hide disabled`,"custom_assistant_Listening…":`Listening…`,"custom_assistant_Local model":`Local model`,custom_assistant_Satellites:Te,custom_assistant_Satellite:Ee,custom_assistant_Status:De,custom_assistant_Host:Oe,"custom_assistant_Last seen":`Last seen`,custom_assistant_Announcement:ke,"custom_assistant_Send announcement":`Send announcement`,"custom_assistant_Speak on all satellites":`Speak on all satellites`,"custom_assistant_No satellites registered yet.":`No satellites registered yet.`,custom_assistant_online:Ae,custom_assistant_offline:je,custom_assistant_sat_idle:Me,custom_assistant_sat_listening:Ne,custom_assistant_sat_processing:Pe,custom_assistant_sat_speaking:Fe,custom_assistant_sat_offline:Ie,custom_assistant_llm_idle:Le,"custom_assistant_llm_not installed":`not installed`,custom_assistant_llm_installing:Re,custom_assistant_llm_downloading:ze,custom_assistant_llm_loading:Be,custom_assistant_llm_ready:Ve,custom_assistant_llm_error:He,"custom_assistant_Name language: %s":`Name language: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`No devices detected. Assign states to rooms and functions in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`No messages yet. Type a question below.`,"custom_assistant_Per-device permissions":`Per-device permissions`,"custom_assistant_Play answer (backend TTS)":`Play answer (backend TTS)`,"custom_assistant_Read answers aloud":`Read answers aloud`,"custom_assistant_Refresh device cache":`Refresh device cache`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Save the configuration (the instance will restart) before chatting.`,custom_assistant_Speak:Ue,"custom_assistant_Start the assistant instance to chat.":`Start the assistant instance to chat.`,"custom_assistant_Start the assistant instance to load the device list.":`Start the assistant instance to load the device list.`,"custom_assistant_Stop listening":`Stop listening`,"custom_assistant_Stop reading answers aloud":`Stop reading answers aloud`,"custom_assistant_Test chat":`Test chat`,"custom_assistant_Thinking…":`Thinking…`,"custom_assistant_Translate all missing (%s)":`Translate all missing (%s)`,"custom_assistant_Translate name into %s":`Translate name into %s`,"custom_assistant_Type a message…":`Type a message…`,custom_assistant_auto:We,"custom_assistant_change it on the Voice tab":`change it on the Voice tab`,custom_assistant_device:Ge,custom_assistant_filter:Ke,custom_assistant_hint:qe,"custom_assistant_no name in %s (showing %s)":`No name in "%s" — showing "%s"`,custom_assistant_read:Je,custom_assistant_room:Ye,custom_assistant_type:Xe,custom_assistant_write:Ze},U=e({custom_assistant_Speak:()=>$e,custom_assistant_auto:()=>et,custom_assistant_device:()=>tt,custom_assistant_filter:()=>nt,custom_assistant_hint:()=>rt,custom_assistant_read:()=>it,custom_assistant_room:()=>at,custom_assistant_type:()=>ot,custom_assistant_write:()=>st,default:()=>ct}),$e=`Hablar`,et=`auto`,tt=`Dispositivo`,nt=`Filtrar`,rt=`Desactive la opción de lectura para ocultar un dispositivo al asistente, o desactive la opción de escritura para mantenerlo en modo de solo lectura (por ejemplo, candados). Los dispositivos vienen configurados por defecto con acceso completo.`,it=`Leer`,at=`Habitación`,ot=`Tipo`,st=`Escribir`,ct={"custom_assistant_Clear chat":`Chat claro`,"custom_assistant_Device cache cleared.":`Se ha borrado la caché del dispositivo.`,"custom_assistant_Hide disabled":`Ocultar deshabilitado`,"custom_assistant_Listening…":`Escuchando…`,"custom_assistant_Name language: %s":`Idioma del nombre: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`No se detectaron dispositivos. Asigne estados a las salas y funciones en ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Aún no hay mensajes. Escribe tu pregunta a continuación.`,"custom_assistant_Per-device permissions":`Permisos por dispositivo`,"custom_assistant_Play answer (backend TTS)":`Reproducir respuesta (TTS de backend)`,"custom_assistant_Read answers aloud":`Lee las respuestas en voz alta.`,"custom_assistant_Refresh device cache":`Actualizar la caché del dispositivo`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Guarda la configuración (la instancia se reiniciará) antes de chatear.`,custom_assistant_Speak:$e,"custom_assistant_Start the assistant instance to chat.":`Inicia la instancia del asistente para chatear.`,"custom_assistant_Start the assistant instance to load the device list.":`Inicie la instancia del asistente para cargar la lista de dispositivos.`,"custom_assistant_Stop listening":`Deja de escuchar`,"custom_assistant_Stop reading answers aloud":`Deja de leer las respuestas en voz alta.`,"custom_assistant_Test chat":`Chat de prueba`,"custom_assistant_Thinking…":`Pensamiento…`,"custom_assistant_Translate all missing (%s)":`Traducir todos los (%s) faltantes`,"custom_assistant_Translate name into %s":`Traducir nombre a %s`,"custom_assistant_Type a message…":`Escribe un mensaje…`,custom_assistant_auto:et,"custom_assistant_change it on the Voice tab":`Cámbialo en la pestaña Voz.`,custom_assistant_device:tt,custom_assistant_filter:nt,custom_assistant_hint:rt,"custom_assistant_no name in %s (showing %s)":`No se encontró ningún nombre en "%s" — se muestra "%s"`,custom_assistant_read:it,custom_assistant_room:at,custom_assistant_type:ot,custom_assistant_write:st},W=e({custom_assistant_Speak:()=>lt,custom_assistant_auto:()=>ut,custom_assistant_device:()=>dt,custom_assistant_filter:()=>ft,custom_assistant_hint:()=>pt,custom_assistant_read:()=>mt,custom_assistant_room:()=>ht,custom_assistant_type:()=>gt,custom_assistant_write:()=>G,default:()=>_t}),lt=`Parler`,ut=`auto`,dt=`Appareil`,ft=`Filtre`,pt=`Décochez l'option «\xA0Lecture\xA0» pour masquer un périphérique à l'assistant, ou décochez l'option «\xA0Écriture\xA0» pour le rendre accessible en lecture seule (par exemple, les verrous). Par défaut, tous les périphériques sont autorisés.`,mt=`Lire`,ht=`Chambre`,gt=`Taper`,G=`Écrire`,_t={"custom_assistant_Clear chat":`Discussion claire`,"custom_assistant_Device cache cleared.":`Cache du périphérique effacé.`,"custom_assistant_Hide disabled":`Masquer les fonctions désactivées`,"custom_assistant_Listening…":`Écoute…`,"custom_assistant_Name language: %s":`Langue du nom\xA0: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Aucun appareil détecté. Attribuez des états aux salles et aux fonctions dans ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Aucun message pour l'instant. Posez votre question ci-dessous.`,"custom_assistant_Per-device permissions":`Autorisations par appareil`,"custom_assistant_Play answer (backend TTS)":`Réponse de lecture (TTS backend)`,"custom_assistant_Read answers aloud":`Lisez les réponses à voix haute`,"custom_assistant_Refresh device cache":`Actualiser le cache de l'appareil`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Enregistrez la configuration (l'instance redémarrera) avant de discuter.`,custom_assistant_Speak:lt,"custom_assistant_Start the assistant instance to chat.":`Démarrez l'instance de l'assistant pour discuter.`,"custom_assistant_Start the assistant instance to load the device list.":`Démarrez l'instance de l'assistant pour charger la liste des périphériques.`,"custom_assistant_Stop listening":`Arrêtez d'écouter`,"custom_assistant_Stop reading answers aloud":`Arrêtez de lire les réponses à voix haute`,"custom_assistant_Test chat":`Chat de test`,"custom_assistant_Thinking…":`Pensée…`,"custom_assistant_Translate all missing (%s)":`Traduire tout ce qui est manquant (%s)`,"custom_assistant_Translate name into %s":`Traduire le nom en %s`,"custom_assistant_Type a message…":`Saisissez un message…`,custom_assistant_auto:ut,"custom_assistant_change it on the Voice tab":`modifiez-le dans l'onglet Voix`,custom_assistant_device:dt,custom_assistant_filter:ft,custom_assistant_hint:pt,"custom_assistant_no name in %s (showing %s)":`Aucun nom dans « %s » — affichage de « %s »`,custom_assistant_read:mt,custom_assistant_room:ht,custom_assistant_type:gt,custom_assistant_write:G},K=e({custom_assistant_Speak:()=>vt,custom_assistant_auto:()=>yt,custom_assistant_device:()=>bt,custom_assistant_filter:()=>xt,custom_assistant_hint:()=>St,custom_assistant_read:()=>Ct,custom_assistant_room:()=>wt,custom_assistant_type:()=>Tt,custom_assistant_write:()=>Et,default:()=>Dt}),vt=`Parlare`,yt=`auto`,bt=`Dispositivo`,xt=`Filtro`,St=`Deseleziona "Lettura" per nascondere un dispositivo all'assistente, oppure deseleziona "Scrittura" per mantenerlo in sola lettura (ad esempio, per bloccare le serrature). Per impostazione predefinita, i dispositivi sono completamente accessibili.`,Ct=`Leggere`,wt=`Camera`,Tt=`Tipo`,Et=`Scrivere`,Dt={"custom_assistant_Clear chat":`Chat chiara`,"custom_assistant_Device cache cleared.":`Cache del dispositivo svuotata.`,"custom_assistant_Hide disabled":`Nascondi disabilitato`,"custom_assistant_Listening…":`Ascolto…`,"custom_assistant_Name language: %s":`Lingua del nome: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nessun dispositivo rilevato. Assegna stati a stanze e funzioni in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Nessun messaggio ancora. Scrivi una domanda qui sotto.`,"custom_assistant_Per-device permissions":`Autorizzazioni per dispositivo`,"custom_assistant_Play answer (backend TTS)":`Riproduci la risposta (TST di backend)`,"custom_assistant_Read answers aloud":`Leggi le risposte ad alta voce`,"custom_assistant_Refresh device cache":`Aggiorna la cache del dispositivo`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Salva la configurazione (l'istanza si riavvierà) prima di iniziare la chat.`,custom_assistant_Speak:vt,"custom_assistant_Start the assistant instance to chat.":`Avvia l'assistente per chattare.`,"custom_assistant_Start the assistant instance to load the device list.":`Avvia l'istanza dell'assistente per caricare l'elenco dei dispositivi.`,"custom_assistant_Stop listening":`Smetti di ascoltare`,"custom_assistant_Stop reading answers aloud":`Smetti di leggere le risposte ad alta voce`,"custom_assistant_Test chat":`Chat di prova`,"custom_assistant_Thinking…":`Pensiero…`,"custom_assistant_Translate all missing (%s)":`Traduci tutto ciò che manca (%s)`,"custom_assistant_Translate name into %s":`Traduci il nome in %s`,"custom_assistant_Type a message…":`Digita un messaggio…`,custom_assistant_auto:yt,"custom_assistant_change it on the Voice tab":`modificalo nella scheda Voce`,custom_assistant_device:bt,custom_assistant_filter:xt,custom_assistant_hint:St,"custom_assistant_no name in %s (showing %s)":`Nessun nome in "%s" — visualizzazione di "%s"`,custom_assistant_read:Ct,custom_assistant_room:wt,custom_assistant_type:Tt,custom_assistant_write:Et},q=e({custom_assistant_Speak:()=>Ot,custom_assistant_auto:()=>kt,custom_assistant_device:()=>At,custom_assistant_filter:()=>jt,custom_assistant_hint:()=>Mt,custom_assistant_read:()=>Nt,custom_assistant_room:()=>Pt,custom_assistant_type:()=>Ft,custom_assistant_write:()=>It,default:()=>Lt}),Ot=`Spreken`,kt=`auto`,At=`Apparaat`,jt=`Filter`,Mt=`Schakel de optie 'Lezen' uit om een apparaat voor de assistent te verbergen, of schakel de optie 'Schrijven' uit om het apparaat alleen-lezen te houden (bijv. sloten). Apparaten zijn standaard volledig toegestaan.`,Nt=`Lezen`,Pt=`Kamer`,Ft=`Type`,It=`Schrijven`,Lt={"custom_assistant_Clear chat":`Duidelijke chat`,"custom_assistant_Device cache cleared.":`Apparaatcache gewist.`,"custom_assistant_Hide disabled":`Verberg uitgeschakeld`,"custom_assistant_Listening…":`Luisteren…`,"custom_assistant_Name language: %s":`Naamtaal: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Geen apparaten gedetecteerd. Wijs statussen toe aan kamers en functies in ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Nog geen berichten. Typ hieronder een vraag.`,"custom_assistant_Per-device permissions":`Machtigingen per apparaat`,"custom_assistant_Play answer (backend TTS)":`Speel antwoord (backend TTS)`,"custom_assistant_Read answers aloud":`Lees de antwoorden hardop voor.`,"custom_assistant_Refresh device cache":`Vernieuw de apparaatcache.`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Sla de configuratie op (het apparaat zal opnieuw opstarten) voordat je gaat chatten.`,custom_assistant_Speak:Ot,"custom_assistant_Start the assistant instance to chat.":`Start de assistent-instantie om te chatten.`,"custom_assistant_Start the assistant instance to load the device list.":`Start de assistent-instantie om de lijst met apparaten te laden.`,"custom_assistant_Stop listening":`Stop met luisteren`,"custom_assistant_Stop reading answers aloud":`Stop met het hardop voorlezen van antwoorden.`,"custom_assistant_Test chat":`Testchat`,"custom_assistant_Thinking…":`Aan het nadenken…`,"custom_assistant_Translate all missing (%s)":`Vertaal alle ontbrekende (%) tekens`,"custom_assistant_Translate name into %s":`Vertaal de naam naar %s`,"custom_assistant_Type a message…":`Typ een bericht…`,custom_assistant_auto:kt,"custom_assistant_change it on the Voice tab":`Wijzig dit op het tabblad 'Stem'.`,custom_assistant_device:At,custom_assistant_filter:jt,custom_assistant_hint:Mt,"custom_assistant_no name in %s (showing %s)":`Geen naam in "%s" — "%s" wordt weergegeven`,custom_assistant_read:Nt,custom_assistant_room:Pt,custom_assistant_type:Ft,custom_assistant_write:It},J=e({custom_assistant_Speak:()=>Rt,custom_assistant_auto:()=>zt,custom_assistant_device:()=>Bt,custom_assistant_filter:()=>Vt,custom_assistant_hint:()=>Ht,custom_assistant_read:()=>Ut,custom_assistant_room:()=>Wt,custom_assistant_type:()=>`Typ`,custom_assistant_write:()=>Gt,default:()=>Kt}),Rt=`Mówić`,zt=`automatyczny`,Bt=`Urządzenie`,Vt=`Filtr`,Ht=`Odznacz opcję „Odczyt”, aby ukryć urządzenie przed asystentem, lub odznacz opcję „Zapis”, aby zachować je tylko do odczytu (np. blokady). Domyślnie urządzenia mają pełne uprawnienia.`,Ut=`Czytać`,Wt=`Pokój`,Gt=`Pisać`,Kt={"custom_assistant_Clear chat":`Wyczyść czat`,"custom_assistant_Device cache cleared.":`Pamięć podręczna urządzenia została wyczyszczona.`,"custom_assistant_Hide disabled":`Ukryj wyłączone`,"custom_assistant_Listening…":`Słuchający…`,"custom_assistant_Name language: %s":`Język nazwy: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nie wykryto urządzeń. Przypisz stany do pomieszczeń i funkcji w ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Brak wiadomości. Wpisz pytanie poniżej.`,"custom_assistant_Per-device permissions":`Uprawnienia na urządzenie`,"custom_assistant_Play answer (backend TTS)":`Odtwórz odpowiedź (TTS w tle)`,"custom_assistant_Read answers aloud":`Przeczytaj odpowiedzi na głos`,"custom_assistant_Refresh device cache":`Odśwież pamięć podręczną urządzenia`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Przed rozpoczęciem czatu zapisz konfigurację (instancja zostanie uruchomiona ponownie).`,custom_assistant_Speak:Rt,"custom_assistant_Start the assistant instance to chat.":`Uruchom asystenta, aby rozpocząć rozmowę.`,"custom_assistant_Start the assistant instance to load the device list.":`Uruchom instancję asystenta, aby załadować listę urządzeń.`,"custom_assistant_Stop listening":`Przestań słuchać`,"custom_assistant_Stop reading answers aloud":`Przestań czytać odpowiedzi na głos`,"custom_assistant_Test chat":`Czat testowy`,"custom_assistant_Thinking…":`Myślący…`,"custom_assistant_Translate all missing (%s)":`Przetłumacz wszystkie brakujące (%s)`,"custom_assistant_Translate name into %s":`Przetłumacz nazwę na %s`,"custom_assistant_Type a message…":`Wpisz wiadomość…`,custom_assistant_auto:zt,"custom_assistant_change it on the Voice tab":`zmień to na karcie Głos`,custom_assistant_device:Bt,custom_assistant_filter:Vt,custom_assistant_hint:Ht,"custom_assistant_no name in %s (showing %s)":`Brak nazwy w "%s" — wyświetlanie "%s"`,custom_assistant_read:Ut,custom_assistant_room:Wt,custom_assistant_type:`Typ`,custom_assistant_write:Gt},Y=e({custom_assistant_Speak:()=>qt,custom_assistant_auto:()=>Jt,custom_assistant_device:()=>Yt,custom_assistant_filter:()=>Xt,custom_assistant_hint:()=>Zt,custom_assistant_read:()=>`Ler`,custom_assistant_room:()=>Qt,custom_assistant_type:()=>$t,custom_assistant_write:()=>en,default:()=>tn}),qt=`Falar`,Jt=`auto`,Yt=`Dispositivo`,Xt=`Filtro`,Zt=`Desmarque a opção "Ler" para ocultar um dispositivo do assistente ou desmarque a opção "Gravar" para mantê-lo somente leitura (por exemplo, fechaduras). Os dispositivos são configurados por padrão para permitir totalmente o acesso.`,Qt=`Sala`,$t=`Tipo`,en=`Escrever`,tn={"custom_assistant_Clear chat":`Chat limpo`,"custom_assistant_Device cache cleared.":`Cache do dispositivo limpo.`,"custom_assistant_Hide disabled":`Ocultar desativado`,"custom_assistant_Listening…":`Audição…`,"custom_assistant_Name language: %s":`Idioma do nome: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Nenhum dispositivo detectado. Atribua estados a salas e funções no ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Ainda não há mensagens. Digite sua pergunta abaixo.`,"custom_assistant_Per-device permissions":`Permissões por dispositivo`,"custom_assistant_Play answer (backend TTS)":`Reproduzir resposta (TTS em segundo plano)`,"custom_assistant_Read answers aloud":`Leia as respostas em voz alta.`,"custom_assistant_Refresh device cache":`Atualizar cache do dispositivo`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Salve a configuração (a instância será reiniciada) antes de iniciar o chat.`,custom_assistant_Speak:qt,"custom_assistant_Start the assistant instance to chat.":`Inicie a instância do assistente para conversar.`,"custom_assistant_Start the assistant instance to load the device list.":`Inicie a instância do assistente para carregar a lista de dispositivos.`,"custom_assistant_Stop listening":`Pare de ouvir`,"custom_assistant_Stop reading answers aloud":`Pare de ler as respostas em voz alta.`,"custom_assistant_Test chat":`Chat de teste`,"custom_assistant_Thinking…":`Pensamento…`,"custom_assistant_Translate all missing (%s)":`Traduzir todos os (%s) ausentes`,"custom_assistant_Translate name into %s":`Traduzir nome para %s`,"custom_assistant_Type a message…":`Digite uma mensagem…`,custom_assistant_auto:Jt,"custom_assistant_change it on the Voice tab":`Altere isso na guia Voz.`,custom_assistant_device:Yt,custom_assistant_filter:Xt,custom_assistant_hint:Zt,"custom_assistant_no name in %s (showing %s)":`Nenhum nome em "%s" — exibindo "%s"`,custom_assistant_read:`Ler`,custom_assistant_room:Qt,custom_assistant_type:$t,custom_assistant_write:en},X=e({custom_assistant_Speak:()=>nn,custom_assistant_auto:()=>rn,custom_assistant_device:()=>an,custom_assistant_filter:()=>on,custom_assistant_hint:()=>sn,custom_assistant_read:()=>cn,custom_assistant_room:()=>ln,custom_assistant_type:()=>un,custom_assistant_write:()=>dn,default:()=>fn}),nn=`Говорить`,rn=`авто`,an=`Устройство`,on=`Фильтр`,sn=`Снимите флажок «Чтение», чтобы скрыть устройство от голосового помощника, или снимите флажок «Запись», чтобы оставить его только для чтения (например, блокировка). По умолчанию устройствам разрешен полный доступ.`,cn=`Читать`,ln=`Комната`,un=`Тип`,dn=`Писать`,fn={"custom_assistant_Clear chat":`Четкий чат`,"custom_assistant_Device cache cleared.":`Кэш устройства очищен.`,"custom_assistant_Hide disabled":`Скрыть отключено`,"custom_assistant_Listening…":`Слушаю…`,"custom_assistant_Name language: %s":`Название языка: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Устройства не обнаружены. Назначьте состояния комнатам и функциям в ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Сообщений пока нет. Задайте вопрос ниже.`,"custom_assistant_Per-device permissions":`Разрешения для каждого устройства`,"custom_assistant_Play answer (backend TTS)":`Воспроизвести ответ (синтезатор речи на стороне сервера)`,"custom_assistant_Read answers aloud":`Прочитайте ответы вслух.`,"custom_assistant_Refresh device cache":`Обновить кэш устройства`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Сохраните конфигурацию (при этом экземпляр перезапустится) перед началом чата.`,custom_assistant_Speak:nn,"custom_assistant_Start the assistant instance to chat.":`Запустите экземпляр ассистента для начала чата.`,"custom_assistant_Start the assistant instance to load the device list.":`Запустите экземпляр помощника, чтобы загрузить список устройств.`,"custom_assistant_Stop listening":`Прекратите слушать`,"custom_assistant_Stop reading answers aloud":`Прекратите зачитывать ответы вслух.`,"custom_assistant_Test chat":`Тестовый чат`,"custom_assistant_Thinking…":`Размышления…`,"custom_assistant_Translate all missing (%s)":`Переведите все отсутствующие (%s)`,"custom_assistant_Translate name into %s":`Переведите имя в %s`,"custom_assistant_Type a message…":`Введите сообщение…`,custom_assistant_auto:rn,"custom_assistant_change it on the Voice tab":`Измените это на вкладке «Голос».`,custom_assistant_device:an,custom_assistant_filter:on,custom_assistant_hint:sn,"custom_assistant_no name in %s (showing %s)":`Имя отсутствует в "%s" — отображается "%s"`,custom_assistant_read:cn,custom_assistant_room:ln,custom_assistant_type:un,custom_assistant_write:dn},Z=e({custom_assistant_Speak:()=>pn,custom_assistant_auto:()=>mn,custom_assistant_device:()=>hn,custom_assistant_filter:()=>gn,custom_assistant_hint:()=>_n,custom_assistant_read:()=>vn,custom_assistant_room:()=>yn,custom_assistant_type:()=>bn,custom_assistant_write:()=>xn,default:()=>Sn}),pn=`Говоріть`,mn=`авто`,hn=`Пристрій`,gn=`Фільтр`,_n=`Зніміть позначку «Читання», щоб приховати пристрій від помічника, або «Запис», щоб залишити його в режимі лише для читання (наприклад, блокування). За замовчуванням пристрої повністю дозволені.`,vn=`Читати`,yn=`Кімната`,bn=`Тип`,xn=`Написати`,Sn={"custom_assistant_Clear chat":`Очистити чат`,"custom_assistant_Device cache cleared.":`Кеш пристрою очищено.`,"custom_assistant_Hide disabled":`Приховати вимкнено`,"custom_assistant_Listening…":`Слухання…`,"custom_assistant_Name language: %s":`Мова назви: %s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`Пристроїв не виявлено. Призначте стани кімнатам та функціям в ioBroker.`,"custom_assistant_No messages yet. Type a question below.":`Поки що немає повідомлень. Введіть запитання нижче.`,"custom_assistant_Per-device permissions":`Дозволи для кожного пристрою`,"custom_assistant_Play answer (backend TTS)":`Відтворити відповідь (бекенд TTS)`,"custom_assistant_Read answers aloud":`Прочитайте відповіді вголос`,"custom_assistant_Refresh device cache":`Оновити кеш пристрою`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`Збережіть конфігурацію (екземпляр перезавантажиться) перед спілкуванням у чаті.`,custom_assistant_Speak:pn,"custom_assistant_Start the assistant instance to chat.":`Запустіть екземпляр помічника для спілкування в чаті.`,"custom_assistant_Start the assistant instance to load the device list.":`Запустіть екземпляр помічника, щоб завантажити список пристроїв.`,"custom_assistant_Stop listening":`Перестань слухати`,"custom_assistant_Stop reading answers aloud":`Перестаньте читати відповіді вголос`,"custom_assistant_Test chat":`Тестовий чат`,"custom_assistant_Thinking…":`Мислення…`,"custom_assistant_Translate all missing (%s)":`Перекласти все, що відсутні (%s)`,"custom_assistant_Translate name into %s":`Перекладіть назву мовою %s`,"custom_assistant_Type a message…":`Введіть повідомлення…`,custom_assistant_auto:mn,"custom_assistant_change it on the Voice tab":`змінити це на вкладці «Голос»`,custom_assistant_device:hn,custom_assistant_filter:gn,custom_assistant_hint:_n,"custom_assistant_no name in %s (showing %s)":`Немає імені в "%s" — відображається "%s"`,custom_assistant_read:vn,custom_assistant_room:yn,custom_assistant_type:bn,custom_assistant_write:xn},Q=e({custom_assistant_Speak:()=>Cn,custom_assistant_auto:()=>wn,custom_assistant_device:()=>Tn,custom_assistant_filter:()=>En,custom_assistant_hint:()=>Dn,custom_assistant_read:()=>`读`,custom_assistant_room:()=>On,custom_assistant_type:()=>kn,custom_assistant_write:()=>`写`,default:()=>An}),Cn=`说话`,wn=`汽车`,Tn=`设备`,En=`筛选`,Dn=`取消勾选“读取”选项可将设备对语音助手隐藏,取消勾选“写入”选项可将其设置为只读(例如,锁定设备)。设备默认设置为完全允许访问。`,On=`房间`,kn=`类型`,An={"custom_assistant_Clear chat":`清晰聊天`,"custom_assistant_Device cache cleared.":`设备缓存已清除。`,"custom_assistant_Hide disabled":`隐藏已禁用`,"custom_assistant_Listening…":`正在听……`,"custom_assistant_Name language: %s":`名称语言:%s`,"custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.":`未检测到设备。请在ioBroker中为房间和功能分配状态。`,"custom_assistant_No messages yet. Type a question below.":`暂无消息。请在下方输入问题。`,"custom_assistant_Per-device permissions":`每个设备的权限`,"custom_assistant_Play answer (backend TTS)":`播放答案(后端 TTS)`,"custom_assistant_Read answers aloud":`大声朗读答案`,"custom_assistant_Refresh device cache":`刷新设备缓存`,"custom_assistant_Save the configuration (the instance will restart) before chatting.":`聊天前请保存配置(实例将重启)。`,custom_assistant_Speak:Cn,"custom_assistant_Start the assistant instance to chat.":`启动助手实例进行聊天。`,"custom_assistant_Start the assistant instance to load the device list.":`启动助手实例以加载设备列表。`,"custom_assistant_Stop listening":`别听了`,"custom_assistant_Stop reading answers aloud":`停止大声朗读答案`,"custom_assistant_Test chat":`测试聊天`,"custom_assistant_Thinking…":`思维…`,"custom_assistant_Translate all missing (%s)":`翻译所有缺失值(%s)`,"custom_assistant_Translate name into %s":`将名称翻译成 %s`,"custom_assistant_Type a message…":`输入消息…`,custom_assistant_auto:wn,"custom_assistant_change it on the Voice tab":`在“语音”选项卡上更改。`,custom_assistant_device:Tn,custom_assistant_filter:En,custom_assistant_hint:Dn,"custom_assistant_no name in %s (showing %s)":`“%s”中没有名称——显示“%s”`,custom_assistant_read:`读`,custom_assistant_room:On,custom_assistant_type:kn,custom_assistant_write:`写`};n(),pe();var jn={},Mn=Object.assign({"./i18n/de.json":w,"./i18n/en.json":H,"./i18n/es.json":U,"./i18n/fr.json":W,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(Mn)){var Nn;let n=((Nn=e.split(`/`).pop())==null?void 0:Nn.replace(`.json`,``))||`en`;jn[n]=t.default}g.extendTranslations(jn);var Pn=new Set([`temperature`,`humidity`,`illuminance`,`motion`,`door`,`window`,`windowTilt`,`fireAlarm`,`floodAlarm`,`camera`,`weatherCurrent`,`weatherForecast`,`warning`,`location`,`info`,`chart`,`image`,`instance`]);function Fn(e){return e===`lock`?{read:!0,write:!1}:{read:!0,write:!0}}var In=[{value:`en`,label:`English`},{value:`de`,label:`Deutsch`},{value:`ru`,label:`Русский`},{value:`pt`,label:`Português`},{value:`nl`,label:`Nederlands`},{value:`fr`,label:`Français`},{value:`it`,label:`Italiano`},{value:`es`,label:`Español`},{value:`pl`,label:`Polski`},{value:`uk`,label:`Українська`},{value:`zh-cn`,label:`简体中文`}],Ln=class extends t{constructor(e){super(e),i(this,`aliveSubId`,``),i(this,`onAliveChange`,(e,t)=>{let n=!!(t!=null&&t.val);n!==this.state.alive&&this.setState({alive:n,loading:n},()=>{n&&this.loadDevices()})}),this.state={...this.state,devices:[],loading:!0,alive:!1,filter:``,edits:{},savingKey:``,translatingKeys:{},rowStatus:{},hideDisabled:!1}}rowColor(e){switch(this.state.rowStatus[e]){case`dirty`:return`rgba(128,128,128,0.20)`;case`saving`:return`rgba(244,67,54,0.20)`;case`saved`:return`rgba(76,175,80,0.28)`;default:return}}setRowStatus(e,t){this.setState(n=>{let r={...n.rowStatus};return t?r[e]=t:delete r[e],{rowStatus:r}})}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}get editLang(){return String(this.props.data.voiceLanguage||``)||g.getLanguage()}componentDidUpdate(e){String(e.data.voiceLanguage||``)!==String(this.props.data.voiceLanguage||``)&&Object.keys(this.state.edits).length&&this.setState({edits:{}})}async componentDidMount(){super.componentDidMount(),this.aliveSubId=`system.adapter.${this.instanceId}.alive`;let e=!1;try{let t=await this.props.oContext.socket.getState(this.aliveSubId);e=!!(t!=null&&t.val)}catch{e=!1}this.setState({alive:e},()=>void this.loadDevices()),this.props.oContext.socket.subscribeState(this.aliveSubId,this.onAliveChange)}componentWillUnmount(){var e;this.aliveSubId&&this.props.oContext.socket.unsubscribeState(this.aliveSubId,this.onAliveChange),(e=super.componentWillUnmount)==null||e.call(this)}async loadDevices(e=4){if(!this.state.alive){this.setState({loading:!1});return}let t=[];try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`getDevices`,{language:g.getLanguage()});t=(Array.isArray(e)?e:[]).filter(e=>e.type!==`button`)}catch{t=[]}if(!t.length&&e>0){setTimeout(()=>{this.state.alive&&this.loadDevices(e-1)},1200);return}this.setState({devices:t,edits:{},loading:!1})}nameFor(e){let t=this.editLang,n=e.smartName;if(typeof n==`string`&&n)return{value:n,exact:!0,from:``};if(n&&typeof n==`object`){if(n[t])return{value:n[t],exact:!0,from:t};let e=n.en?`en`:Object.keys(n)[0];if(e&&n[e])return{value:n[e],exact:!1,from:e}}return{value:e.autoName||e.name||``,exact:!1,from:`auto`}}fieldValue(e){return this.state.edits[e.key]??this.nameFor(e).value}onNameChange(e,t){let n=this.state.devices.find(t=>t.key===e),r=n?this.nameFor(n).value:``;this.setState(n=>{let i={...n.rowStatus};return t===r?i[e]===`dirty`&&delete i[e]:i[e]=`dirty`,{edits:{...n.edits,[e]:t},rowStatus:i}})}flashSaved(e){this.setRowStatus(e,`saved`),setTimeout(()=>{this.state.rowStatus[e]===`saved`&&this.setRowStatus(e,null)},2e3)}applyLocalName(e,t,n){this.setState(r=>({devices:r.devices.map(r=>{if(r.key!==e)return r;let i=r.smartName&&typeof r.smartName==`object`?{...r.smartName}:typeof r.smartName==`string`&&r.smartName?{en:r.smartName}:{};return n?i[t]=n:delete i[t],{...r,smartName:i}}),edits:(()=>{let t={...r.edits};return delete t[e],t})()}))}async saveName(e){let t=this.state.edits[e.key];if(t===void 0||t===this.nameFor(e).value)return;let n=this.editLang;this.setState({savingKey:e.key}),this.setRowStatus(e.key,`saving`);try{await this.props.oContext.socket.sendTo(this.instanceId,`setDeviceName`,{stateId:e.key,name:t,language:n}),this.applyLocalName(e.key,n,t.trim()),this.flashSaved(e.key)}catch{this.setRowStatus(e.key,`dirty`)}this.setState({savingKey:``})}async translateName(e){let t=this.nameFor(e).value,n=e.key;if(!t||this.state.translatingKeys[n])return;let r=this.editLang;this.setState(e=>({translatingKeys:{...e.translatingKeys,[n]:!0}})),this.setRowStatus(n,`saving`);try{var i;let e=await this.props.oContext.socket.sendTo(this.instanceId,`translateName`,{text:t,targetLang:r}),a=e==null||(i=e.translation)==null?void 0:i.trim();a?(await this.props.oContext.socket.sendTo(this.instanceId,`setDeviceName`,{stateId:n,name:a,language:r}),this.applyLocalName(n,r,a),this.flashSaved(n)):this.setRowStatus(n,null)}catch{this.setRowStatus(n,null)}this.setState(e=>{let t={...e.translatingKeys};return delete t[n],{translatingKeys:t}})}async translateAllMissing(){let e=this.state.devices.filter(e=>!this.nameFor(e).exact&&!this.state.translatingKeys[e.key]);await Promise.all(e.map(e=>this.translateName(e)))}getAcl(e){var t;return((t=this.props.data.deviceAcl)==null?void 0:t[e.key])||Fn(e.type)}setAcl(e,t){let n=JSON.parse(JSON.stringify(this.props.data));n.deviceAcl=n.deviceAcl||{};let r=Fn(e.type),i={...n.deviceAcl[e.key]||r,...t};i.read===r.read&&i.write===r.write?delete n.deviceAcl[e.key]:n.deviceAcl[e.key]=i,this.props.onChange(n)}renderItem(){var e;if(this.state.loading)return p(ce,{});if(!this.state.alive)return p(y,{sx:{p:2},color:`warning.main`,children:g.t(`custom_assistant_Start the assistant instance to load the device list.`)});if(!this.state.devices.length)return p(y,{sx:{p:2},children:g.t(`custom_assistant_No devices detected. Assign states to rooms and functions in ioBroker.`)});let t=this.state.filter.trim().toLowerCase(),n=t?this.state.devices.filter(e=>`${e.name} ${e.type} ${e.room}`.toLowerCase().includes(t)):this.state.devices;this.state.hideDisabled&&(n=n.filter(e=>this.getAcl(e).read));let r=this.props.oContext.themeType===`dark`;return l(_,{sx:{width:`100%`},children:[p(y,{variant:`h6`,sx:{mt:1},children:g.t(`custom_assistant_Per-device permissions`)}),p(y,{variant:`body2`,sx:{mb:1},color:`text.secondary`,children:g.t(`custom_assistant_hint`)}),l(_,{sx:{display:`flex`,alignItems:`center`,gap:1,mb:1,flexWrap:`wrap`},children:[p(v,{size:`small`,color:`primary`,variant:`outlined`,label:g.t(`custom_assistant_Name language: %s`,((e=In.find(e=>e.value===this.editLang))==null?void 0:e.label)||this.editLang)}),p(y,{variant:`caption`,color:`text.secondary`,children:g.t(`custom_assistant_change it on the Voice tab`)}),(()=>{let e=this.state.devices.filter(e=>!this.nameFor(e).exact).length,t=Object.keys(this.state.translatingKeys).length>0;return p(de,{size:`small`,variant:`outlined`,startIcon:t?p(x,{size:14}):p(C,{}),disabled:!e||t,onClick:()=>void this.translateAllMissing(),children:g.t(`custom_assistant_Translate all missing (%s)`,e)})})(),p(_,{sx:{flex:1}}),p(ie,{control:p(u,{size:`small`,checked:this.state.hideDisabled,onChange:e=>this.setState({hideDisabled:e.target.checked})}),label:g.t(`custom_assistant_Hide disabled`)}),p(f,{variant:`standard`,size:`small`,label:`Filter`,value:this.state.filter,onChange:e=>this.setState({filter:e.target.value}),sx:{width:320}})]}),p(fe,{component:S,sx:{width:`100%`},children:l(m,{size:`small`,children:[p(ee,{children:l(h,{sx:{background:r?`#333`:`#DDD`},children:[p(d,{children:g.t(`custom_assistant_device`)}),p(d,{children:g.t(`custom_assistant_type`)}),p(d,{children:g.t(`custom_assistant_room`)}),p(d,{align:`center`,children:g.t(`custom_assistant_read`)}),p(d,{align:`center`,children:g.t(`custom_assistant_write`)})]})}),p(c,{children:n.map(e=>{let t=this.getAcl(e),n=e.writableStateIds.length>0&&!Pn.has(e.type),r=!t.read;return l(h,{sx:{background:this.rowColor(e.key),opacity:r?.5:1,transition:`background-color 0.4s`},children:[l(d,{children:[(()=>{let t=this.nameFor(e),n=!!this.state.translatingKeys[e.key],r=this.state.savingKey===e.key||n;return l(_,{sx:{display:`flex`,alignItems:`flex-start`,gap:.5},children:[p(f,{variant:`standard`,size:`small`,fullWidth:!0,value:this.fieldValue(e),disabled:r,error:!t.exact&&!this.state.edits[e.key],helperText:!t.exact&&!this.state.edits[e.key]?g.t(`custom_assistant_no name in %s (showing %s)`,this.editLang,t.from===`auto`?g.t(`custom_assistant_auto`):t.from):` `,onChange:t=>this.onNameChange(e.key,t.target.value),onBlur:()=>void this.saveName(e),onKeyDown:e=>{e.key===`Enter`&&e.target.blur()},slotProps:{input:{endAdornment:this.state.savingKey===e.key?p(x,{size:14}):null}}}),p(b,{title:g.t(`custom_assistant_Translate name into %s`,this.editLang),children:p(`span`,{children:p(o,{size:`small`,disabled:r,onClick:()=>void this.translateName(e),children:n?p(x,{size:16}):p(C,{fontSize:`small`})})})})]})})(),e.stateIds.length?p(y,{variant:`caption`,component:`div`,sx:{wordBreak:`break-all`,fontStyle:`italic`,opacity:.7,fontSize:`smaller`},children:e.stateIds.join(`, `)}):null]}),p(d,{children:l(_,{sx:{display:`flex`,alignItems:`center`,gap:.75},children:[p(ue,{type:e.type,style:{width:20,height:20}}),p(`span`,{children:g.t(`type-${e.type}`)})]})}),p(d,{children:e.room&&e.room!==`No room`?e.room:`-`}),p(d,{align:`center`,children:p(oe,{checked:t.read,onChange:()=>this.setAcl(e,{read:!t.read})})}),p(d,{align:`center`,children:p(oe,{checked:t.write&&n,disabled:!n,onChange:()=>this.setAcl(e,{write:!t.write})})})]},e.key)})})]})})]})}};n();var Rn={},zn=Object.assign({"./i18n/de.json":w,"./i18n/en.json":H,"./i18n/es.json":U,"./i18n/fr.json":W,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(zn)){var Bn;let n=((Bn=e.split(`/`).pop())==null?void 0:Bn.replace(`.json`,``))||`en`;Rn[n]=t.default}g.extendTranslations(Rn);var Vn=class extends t{constructor(e){super(e),i(this,`scrollRef`,r.createRef()),i(this,`aliveSubId`,``),i(this,`recognition`,null),i(this,`onAliveChange`,(e,t)=>{let n=!!(t!=null&&t.val);this.setState({alive:n}),n&&this.checkTtsAvailable()}),i(this,`onKeyDown`,e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),this.send())}),this.state={...this.state,messages:[],input:``,sending:!1,alive:!1,listening:!1,speak:!1,ttsPlayingTs:0,ttsAvailable:!1}}async checkTtsAvailable(){try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`ttsAvailable`,{});this.setState({ttsAvailable:!!(e!=null&&e.available)})}catch{this.setState({ttsAvailable:!1})}}get speechSupported(){let e=window;return(!!e.SpeechRecognition||!!e.webkitSpeechRecognition)&&window.isSecureContext}get ttsSupported(){return typeof window<`u`&&`speechSynthesis`in window}speechLang(){return{de:`de-DE`,en:`en-US`,ru:`ru-RU`,pt:`pt-PT`,nl:`nl-NL`,fr:`fr-FR`,it:`it-IT`,es:`es-ES`,pl:`pl-PL`,uk:`uk-UA`,"zh-cn":`zh-CN`}[g.getLanguage()]||`en-US`}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.aliveSubId=`system.adapter.${this.instanceId}.alive`;let e=!1;try{let t=await this.props.oContext.socket.getState(this.aliveSubId);e=!!(t!=null&&t.val)}catch{e=!1}this.setState({alive:e}),e&&this.checkTtsAvailable(),this.props.oContext.socket.subscribeState(this.aliveSubId,this.onAliveChange)}componentWillUnmount(){var e;this.aliveSubId&&this.props.oContext.socket.unsubscribeState(this.aliveSubId,this.onAliveChange);try{var t;(t=this.recognition)==null||t.stop()}catch{}this.ttsSupported&&window.speechSynthesis.cancel(),(e=super.componentWillUnmount)==null||e.call(this)}toggleListening(){if(this.state.listening){var e;(e=this.recognition)==null||e.stop();return}let t=window,n=t.SpeechRecognition||t.webkitSpeechRecognition;if(!n)return;let r=new n;r.lang=this.speechLang(),r.interimResults=!1,r.continuous=!1,r.onresult=e=>{var t;let n=((t=e.results)==null||(t=t[0])==null||(t=t[0])==null?void 0:t.transcript)||``;n&&this.setState({input:n},()=>void this.send())},r.onerror=()=>this.setState({listening:!1}),r.onend=()=>this.setState({listening:!1}),this.recognition=r,this.setState({listening:!0});try{r.start()}catch{this.setState({listening:!1})}}speak(e){if(!this.ttsSupported||!e)return;window.speechSynthesis.cancel();let t=new SpeechSynthesisUtterance(e);t.lang=this.speechLang(),window.speechSynthesis.speak(t)}async playViaBackend(e,t){if(!(!this.ready||!t)){this.setState({ttsPlayingTs:e});try{let e=await this.props.oContext.socket.sendTo(this.instanceId,`tts`,{text:t});if(e!=null&&e.audio){let t=new Audio(`data:${e.mime||`audio/wav`};base64,${e.audio}`);t.onended=()=>this.setState({ttsPlayingTs:0}),t.onerror=()=>this.setState({ttsPlayingTs:0}),await t.play()}else this.setState({ttsPlayingTs:0})}catch{this.setState({ttsPlayingTs:0})}}}scrollToBottom(){setTimeout(()=>{let e=this.scrollRef.current;e&&(e.scrollTop=e.scrollHeight)},0)}get ready(){return this.state.alive&&!this.props.changed}async send(){let e=this.state.input.trim();if(!e||this.state.sending||!this.ready)return;let t={role:`user`,text:e,ts:Date.now()};this.setState(e=>({messages:[...e.messages,t],input:``,sending:!0})),this.scrollToBottom();let n;try{let t=await this.props.oContext.socket.sendTo(this.instanceId,`ask`,{text:e});n=(t==null?void 0:t.error)===void 0?{role:`assistant`,text:(t==null?void 0:t.answer)??``,ts:Date.now()}:{role:`error`,text:t.error,ts:Date.now()}}catch(e){n={role:`error`,text:e.message,ts:Date.now()}}this.setState(e=>({messages:[...e.messages,n],sending:!1})),this.scrollToBottom(),this.state.speak&&n.role===`assistant`&&this.speak(n.text)}async refreshCache(){if(this.ready)try{await this.props.oContext.socket.sendTo(this.instanceId,`clearCache`,{}),this.setState(e=>({messages:[...e.messages,{role:`info`,text:g.t(`custom_assistant_Device cache cleared.`),ts:Date.now()}]})),this.scrollToBottom()}catch{}}renderMessage(e,t){let n=this.props.oContext.themeType===`dark`;if(e.role===`info`)return p(y,{variant:`caption`,component:`div`,sx:{textAlign:`center`,opacity:.6,my:1,fontStyle:`italic`},children:e.text},t);let r=e.role===`user`,i=e.role===`error`,a;a=r?n?`#1e88e5`:`#2196f3`:i?n?`#5d1f1f`:`#f8d7da`:n?`#3a3a3a`:`#eceff1`;let s=r?`#fff`:i?n?`#ffb4b4`:`#842029`:n?`#eee`:`#111`,c=new Date(e.ts).toLocaleTimeString();return p(_,{sx:{display:`flex`,justifyContent:r?`flex-end`:`flex-start`,mb:1},children:l(S,{elevation:1,sx:{px:1.5,py:1,maxWidth:`75%`,background:a,color:s,borderRadius:2,whiteSpace:`pre-wrap`,wordBreak:`break-word`},children:[p(y,{variant:`body2`,component:`div`,children:e.text}),l(_,{sx:{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,gap:.5},children:[e.role===`assistant`&&this.state.ttsAvailable?p(b,{title:g.t(`custom_assistant_Play answer (backend TTS)`),children:p(`span`,{children:p(o,{size:`small`,disabled:!this.ready||this.state.ttsPlayingTs===e.ts,onClick:()=>void this.playViaBackend(e.ts,e.text),sx:{p:.25,color:`inherit`,opacity:.7},children:this.state.ttsPlayingTs===e.ts?p(x,{size:12}):p(me,{sx:{fontSize:`0.9rem`}})})})}):null,p(y,{variant:`caption`,component:`div`,sx:{opacity:.6,fontSize:`0.65rem`},children:c})]})]})},t)}renderItem(){let e=this.props.oContext.themeType===`dark`,{alive:t,messages:n,sending:r,input:i,listening:s,speak:c}=this.state,u=this.ready;return l(_,{sx:{width:`100%`,display:`flex`,flexDirection:`column`,height:`calc(100vh - 300px)`},children:[l(_,{sx:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,mb:1},children:[p(y,{variant:`h6`,children:g.t(`custom_assistant_Test chat`)}),l(_,{children:[this.ttsSupported?p(b,{title:g.t(c?`custom_assistant_Stop reading answers aloud`:`custom_assistant_Read answers aloud`),children:p(o,{size:`small`,color:c?`primary`:`default`,onClick:()=>{c&&window.speechSynthesis.cancel(),this.setState({speak:!c})},children:p(c?re:a,{})})}):null,p(b,{title:g.t(`custom_assistant_Refresh device cache`),children:p(`span`,{children:p(o,{size:`small`,disabled:!u,onClick:()=>void this.refreshCache(),children:p(le,{})})})}),p(b,{title:g.t(`custom_assistant_Clear chat`),children:p(`span`,{children:p(o,{size:`small`,disabled:!n.length,onClick:()=>this.setState({messages:[]}),children:p(ae,{})})})})]})]}),u?null:p(y,{sx:{p:2},color:`warning.main`,children:t?g.t(`custom_assistant_Save the configuration (the instance will restart) before chatting.`):g.t(`custom_assistant_Start the assistant instance to chat.`)}),l(_,{ref:this.scrollRef,sx:{flex:1,overflowY:`auto`,p:1,border:`1px solid ${e?`#444`:`#ccc`}`,borderRadius:1,background:e?`#1e1e1e`:`#fafafa`,mb:1},children:[n.length?n.map((e,t)=>this.renderMessage(e,t)):p(y,{sx:{p:2,textAlign:`center`,opacity:.6},variant:`body2`,children:g.t(`custom_assistant_No messages yet. Type a question below.`)}),r?l(_,{sx:{display:`flex`,alignItems:`center`,gap:1,p:1,opacity:.7},children:[p(x,{size:16}),p(y,{variant:`body2`,children:g.t(`custom_assistant_Thinking…`)})]}):null]}),l(_,{sx:{display:`flex`,alignItems:`flex-end`,gap:1},children:[this.speechSupported?p(b,{title:g.t(s?`custom_assistant_Stop listening`:`custom_assistant_Speak`),children:p(`span`,{children:p(o,{color:s?`error`:`primary`,disabled:!u||r,onClick:()=>this.toggleListening(),children:p(se,{})})})}):null,p(f,{fullWidth:!0,multiline:!0,maxRows:4,size:`small`,variant:`outlined`,placeholder:g.t(s?`custom_assistant_Listening…`:`custom_assistant_Type a message…`),value:i,disabled:!u||r,onChange:e=>this.setState({input:e.target.value}),onKeyDown:this.onKeyDown}),p(o,{color:`primary`,disabled:!u||r||!i.trim(),onClick:()=>void this.send(),children:p(ne,{})})]})]})}};n();var Hn={},Un=Object.assign({"./i18n/de.json":w,"./i18n/en.json":H,"./i18n/es.json":U,"./i18n/fr.json":W,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(Un)){var Wn;let n=((Wn=e.split(`/`).pop())==null?void 0:Wn.replace(`.json`,``))||`en`;Hn[n]=t.default}g.extendTranslations(Hn);var Gn={ready:`success`,error:`error`,installing:`info`,downloading:`info`,loading:`info`},Kn=class extends t{constructor(e){super(e),i(this,`statusId`,``),i(this,`progressId`,``),i(this,`onStatus`,(e,t)=>{this.setState({status:(t==null?void 0:t.val)||`idle`})}),i(this,`onProgress`,(e,t)=>{this.setState({progress:Number(t==null?void 0:t.val)||0})}),this.state={...this.state,status:`idle`,progress:0}}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.statusId=`${this.instanceId}.localLlm.status`,this.progressId=`${this.instanceId}.localLlm.progress`;let e=this.props.oContext.socket;try{let t=await e.getState(this.statusId),n=await e.getState(this.progressId);this.setState({status:(t==null?void 0:t.val)||`idle`,progress:Number(n==null?void 0:n.val)||0})}catch{}e.subscribeState(this.statusId,this.onStatus),e.subscribeState(this.progressId,this.onProgress)}componentWillUnmount(){var e;let t=this.props.oContext.socket;this.statusId&&(t.unsubscribeState(this.statusId,this.onStatus),t.unsubscribeState(this.progressId,this.onProgress)),(e=super.componentWillUnmount)==null||e.call(this)}renderItem(){let{status:e,progress:t}=this.state,n=e===`installing`||e===`downloading`||e===`loading`,r=e===`downloading`;return l(_,{sx:{width:`100%`,mt:.5,mb:1},children:[l(_,{sx:{display:`flex`,alignItems:`center`,gap:1,mb:.5},children:[l(y,{variant:`body2`,children:[g.t(`custom_assistant_Local model`),`:`]}),p(v,{size:`small`,color:Gn[e]||`default`,variant:`outlined`,label:g.t(`custom_assistant_llm_${e}`)}),r?l(y,{variant:`body2`,children:[Math.round(t),`%`]}):null]}),n?p(ce,{variant:r?`determinate`:`indeterminate`,value:r?t:void 0}):null]})}};n();var qn={},Jn=Object.assign({"./i18n/de.json":w,"./i18n/en.json":H,"./i18n/es.json":U,"./i18n/fr.json":W,"./i18n/it.json":K,"./i18n/nl.json":q,"./i18n/pl.json":J,"./i18n/pt.json":Y,"./i18n/ru.json":X,"./i18n/uk.json":Z,"./i18n/zh-cn.json":Q});for(let[e,t]of Object.entries(Jn)){var Yn;let n=((Yn=e.split(`/`).pop())==null?void 0:Yn.replace(`.json`,``))||`en`;qn[n]=t.default}g.extendTranslations(qn);var Xn={idle:`default`,listening:`info`,processing:`warning`,speaking:`success`,offline:`error`},$=`__all__`,Zn={DeviceAclComponent:Ln,ChatComponent:Vn,LocalLlmProgress:Kn,SatellitesComponent:class extends t{constructor(e){super(e),i(this,`pattern`,``),i(this,`onState`,(e,t)=>{this.setState(n=>{let r={...n.sats},i=this.parse(e);return i&&r[i.satId]&&(r[i.satId]={...r[i.satId]}),this.applyToMap(r,e,t),{sats:r}})}),this.state={...this.state,sats:{},speak:{}}}get instanceId(){let e=this.props.oContext;return`${e.adapterName}.${e.instance}`}async componentDidMount(){super.componentDidMount(),this.pattern=`${this.instanceId}.satellites.*`;try{let e=await this.props.oContext.socket.getForeignStates(this.pattern),t={};for(let[n,r]of Object.entries(e||{}))this.applyToMap(t,n,r);this.setState({sats:t})}catch{}this.props.oContext.socket.subscribeState(this.pattern,this.onState)}componentWillUnmount(){var e;this.pattern&&this.props.oContext.socket.unsubscribeState(this.pattern,this.onState),(e=super.componentWillUnmount)==null||e.call(this)}parse(e){let t=`${this.instanceId}.satellites.`;if(!e.startsWith(t))return null;let n=e.slice(t.length),r=n.indexOf(`.`);return r<0?null:{satId:n.slice(0,r),prop:n.slice(r+1)}}applyToMap(e,t,n){let r=this.parse(t);if(!r)return;let i=e[r.satId]||{status:`idle`,room:``,host:``,alive:!1,lastSeen:0};r.prop===`status`?i.status=String((n==null?void 0:n.val)??`idle`):r.prop===`room`?i.room=String((n==null?void 0:n.val)??``):r.prop===`host`?i.host=String((n==null?void 0:n.val)??``):r.prop===`alive`?i.alive=!!(n!=null&&n.val):r.prop===`lastSeen`&&(i.lastSeen=Number(n==null?void 0:n.val)||0),e[r.satId]=i}announce(e){let t=(this.state.speak[e]||``).trim();if(!t)return;let n=e===$?`${this.instanceId}.tts.text`:`${this.instanceId}.satellites.${e}.tts`;this.props.oContext.socket.setState(n,{val:t,ack:!1}).catch(()=>{}),this.setState(t=>({speak:{...t.speak,[e]:``}}))}ago(e){if(!e)return`—`;let t=Math.max(0,Math.round((Date.now()-e)/1e3));return t<60?`${t} s`:t<3600?`${Math.round(t/60)} min`:t<86400?`${Math.round(t/3600)} h`:`${Math.round(t/86400)} d`}renderComposer(e,t){let n=this.state.speak[e]||``;return l(_,{sx:{display:`flex`,alignItems:`center`,gap:.5},children:[p(f,{size:`small`,variant:`outlined`,placeholder:t,value:n,onChange:t=>this.setState(n=>({speak:{...n.speak,[e]:t.target.value}})),onKeyDown:t=>{t.key===`Enter`&&(t.preventDefault(),this.announce(e))},sx:{minWidth:180}}),p(b,{title:g.t(`custom_assistant_Send announcement`),children:p(`span`,{children:p(o,{size:`small`,color:`primary`,disabled:!n.trim(),onClick:()=>this.announce(e),children:p(s,{})})})})]})}renderItem(){let e=Object.keys(this.state.sats).sort();return l(_,{sx:{width:`100%`},children:[l(_,{sx:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,mb:1},children:[p(y,{variant:`h6`,children:g.t(`custom_assistant_Satellites`)}),e.length?this.renderComposer($,g.t(`custom_assistant_Speak on all satellites`)):null]}),e.length?l(m,{size:`small`,sx:{"& td, & th":{px:1}},children:[p(ee,{children:l(h,{children:[p(d,{}),p(d,{children:g.t(`custom_assistant_Satellite`)}),p(d,{children:g.t(`custom_assistant_room`)}),p(d,{children:g.t(`custom_assistant_Host`)}),p(d,{children:g.t(`custom_assistant_Status`)}),p(d,{children:g.t(`custom_assistant_Last seen`)}),p(d,{children:g.t(`custom_assistant_Announcement`)})]})}),p(c,{children:e.map(e=>{let t=this.state.sats[e];return l(h,{children:[p(d,{sx:{width:24},children:p(b,{title:t.alive?g.t(`custom_assistant_online`):g.t(`custom_assistant_offline`),children:p(te,{sx:{fontSize:`0.8rem`,color:t.alive?`success.main`:`error.main`}})})}),p(d,{children:e}),p(d,{children:t.room||`—`}),p(d,{children:t.host||`—`}),p(d,{children:p(v,{size:`small`,variant:`outlined`,color:Xn[t.status]||`default`,label:g.t(`custom_assistant_sat_${t.status}`)})}),p(d,{children:p(b,{title:t.lastSeen?new Date(t.lastSeen).toLocaleString():``,children:p(`span`,{children:this.ago(t.lastSeen)})})}),p(d,{children:this.renderComposer(e,g.t(`custom_assistant_Type a message…`))})]},e)})})]}):p(y,{sx:{p:2,opacity:.7},variant:`body2`,children:g.t(`custom_assistant_No satellites registered yet.`)})]})}}};export{Zn as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./vite-preload-helper-B7qeedMF.js";var t={react:async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js`).then(e=>(e.H(),e.V)),[],import.meta.url),"react/jsx-runtime":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js`).then(e=>e.Ur),[],import.meta.url),"react-dom":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js`).then(e=>e.fr),[],import.meta.url),"@emotion/react":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js`).then(e=>e.s),[],import.meta.url),"@emotion/styled":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BWDzEUcy.js`).then(e=>e.n),[],import.meta.url),"@mui/material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js`).then(e=>e.Wn),[],import.meta.url),"@mui/icons-material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js`).then(e=>e.Bt),[],import.meta.url),"@iobroker/gui-components":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Bgnv9kMQ.js`).then(e=>e.b),[],import.meta.url),"@iobroker/json-config":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-CQh8x9Mu.js`).then(e=>e.n),[],import.meta.url)},n={react:{name:`react`,version:`19.2.8`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n.react.loaded=!0;let{react:e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react/jsx-runtime":{name:`react/jsx-runtime`,version:`19.2.8`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`react/jsx-runtime`].loaded=!0;let{"react/jsx-runtime":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom":{name:`react-dom`,version:`19.2.8`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`react-dom`].loaded=!0;let{"react-dom":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@emotion/react":{name:`@emotion/react`,version:`11.14.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@emotion/react`].loaded=!0;let{"@emotion/react":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@emotion/styled":{name:`@emotion/styled`,version:`11.14.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@emotion/styled`].loaded=!0;let{"@emotion/styled":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/material":{name:`@mui/material`,version:`9.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@mui/material`].loaded=!0;let{"@mui/material":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/icons-material":{name:`@mui/icons-material`,version:`9.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@mui/icons-material`].loaded=!0;let{"@mui/icons-material":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/gui-components":{name:`@iobroker/gui-components`,version:`10.1.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@iobroker/gui-components`].loaded=!0;let{"@iobroker/gui-components":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/json-config":{name:`@iobroker/json-config`,version:`9.0.20`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`ConfigCustomAssistant`,canLiveRebind:!0,async get(){n[`@iobroker/json-config`].loaded=!0;let{"@iobroker/json-config":e}=t,r={...await e()};return r.__esModule!==!0&&Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),function(){return r}},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}}},r=[];export{r as usedRemotes,n as usedShared};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,o as t,r as n,t as r}from"./rolldown-runtime-C0FnF6B9.js";var i=r((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function T(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function te(e,t){return T(e.type,t,e.props)}function E(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var re=/\/+/g;function D(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function ie(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function O(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,O(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+D(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(re,`$&/`)+`/`),O(o,r,i,``,function(e){return e})):o!=null&&(E(o)&&(o=te(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(re,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+D(a,u),c+=O(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+D(a,u++),c+=O(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return O(ie(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function k(e,t,n){if(e==null)return e;var r=[],i=0;return O(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ae(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var oe=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},se={map:k,forEach:function(e,t,n){k(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=se,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ee.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return T(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ee.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return T(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=E,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ae}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,oe)}catch(e){oe(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.8`})),a=r(((e,t)=>{t.exports=i()})),o=n({Activity:()=>l,Children:()=>u,Component:()=>d,Fragment:()=>f,Profiler:()=>p,PureComponent:()=>m,StrictMode:()=>h,Suspense:()=>g,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>_,__COMPILER_RUNTIME:()=>v,cache:()=>y,cacheSignal:()=>b,cloneElement:()=>x,createContext:()=>S,createElement:()=>C,createRef:()=>w,default:()=>xe,forwardRef:()=>ee,isValidElement:()=>T,lazy:()=>te,memo:()=>E,startTransition:()=>ne,unstable_useCacheRefresh:()=>re,use:()=>D,useActionState:()=>ie,useCallback:()=>O,useContext:()=>k,useDebugValue:()=>ae,useDeferredValue:()=>oe,useEffect:()=>se,useEffectEvent:()=>ce,useId:()=>le,useImperativeHandle:()=>ue,useInsertionEffect:()=>de,useLayoutEffect:()=>fe,useMemo:()=>pe,useOptimistic:()=>me,useReducer:()=>he,useRef:()=>ge,useState:()=>_e,useSyncExternalStore:()=>ve,useTransition:()=>ye,version:()=>be}),s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,ee,T,te,E,ne,re,D,ie,O,k,ae,oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se=e((()=>{s=t(a()),c=s,l=c.Activity,u=c.Children,d=c.Component,f=c.Fragment,p=c.Profiler,m=c.PureComponent,h=c.StrictMode,g=c.Suspense,_=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v=c.__COMPILER_RUNTIME,y=c.cache,b=c.cacheSignal,x=c.cloneElement,S=c.createContext,C=c.createElement,w=c.createRef,ee=c.forwardRef,T=c.isValidElement,te=c.lazy,E=c.memo,ne=c.startTransition,re=c.unstable_useCacheRefresh,D=c.use,ie=c.useActionState,O=c.useCallback,k=c.useContext,ae=c.useDebugValue,oe=c.useDeferredValue,se=c.useEffect,ce=c.useEffectEvent,le=c.useId,ue=c.useImperativeHandle,de=c.useInsertionEffect,fe=c.useLayoutEffect,pe=c.useMemo,me=c.useOptimistic,he=c.useReducer,ge=c.useRef,_e=c.useState,ve=c.useSyncExternalStore,ye=c.useTransition,be=c.version,xe=Reflect.get(s,`default`)??s})),Ce=n({Activity:()=>Pe,Children:()=>Fe,Component:()=>Ie,Fragment:()=>M,Profiler:()=>Le,PureComponent:()=>Re,StrictMode:()=>ze,Suspense:()=>Be,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Ve,__COMPILER_RUNTIME:()=>He,__moduleExports:()=>yt,cache:()=>Ue,cacheSignal:()=>We,cloneElement:()=>Ge,createContext:()=>N,createElement:()=>P,createRef:()=>Ke,default:()=>Ne,forwardRef:()=>qe,isValidElement:()=>Je,lazy:()=>Ye,memo:()=>Xe,startTransition:()=>Ze,unstable_useCacheRefresh:()=>Qe,use:()=>$e,useActionState:()=>et,useCallback:()=>tt,useContext:()=>F,useDebugValue:()=>nt,useDeferredValue:()=>rt,useEffect:()=>it,useEffectEvent:()=>at,useId:()=>ot,useImperativeHandle:()=>st,useInsertionEffect:()=>ct,useLayoutEffect:()=>lt,useMemo:()=>ut,useOptimistic:()=>dt,useReducer:()=>ft,useRef:()=>pt,useState:()=>mt,useSyncExternalStore:()=>ht,useTransition:()=>gt,version:()=>_t}),we,A,Te,Ee,De,Oe,ke,Ae,je,Me,j,Ne,Pe,Fe,Ie,M,Le,Re,ze,Be,Ve,He,Ue,We,Ge,N,P,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,F,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt=e((()=>{Se(),we=`__mf_module_cache__`,globalThis[we]||={share:{},remote:{}},globalThis[we].share||={},globalThis[we].remote||={},A=globalThis[we];for(let e of Object.keys(A.share))if(e.startsWith(`default:`)){let t=e.slice(8);A.share[t]===void 0&&(A.share[t]=A.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;A.share[t]===void 0&&(A.share[t]=A.share[e])}Te=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},Ee=Symbol.for(`module-federation.shared-cache-listeners`),De=e=>{let t=e[Ee];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,Ee,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Oe=(e,t,n)=>{let r=De(e);(r[t.canonical]||=new Set).add(n)},ke=Symbol.for(`module-federation.shared-cache-owners`),Ae=e=>{let t=e[ke];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,ke,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},je=(e,t,n,r)=>{var i;e[t.canonical]=n;let a=t.aliases||[];for(let t of a)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let o=e[ke];r===void 0?o&&delete o[t.canonical]:Ae(e)[t.canonical]=r;let s=(i=e[Ee])==null?void 0:i[t.canonical];if(s)for(let e of s)e(n);return n},Me=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},j=Te(A.share,{canonical:`default:react`,aliases:[`react`]}),j===void 0&&(j=Me(o),je(A.share,{canonical:`default:react`,aliases:[`react`]},j,`ConfigCustomAssistant`)),vt=e=>{let t=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(t&&`A`in t){let e=t.A;Object.defineProperty(t,"A",{configurable:!0,enumerable:!0,get:()=>e,set:t=>{t&&typeof t.getOwner!=`function`&&(t.getOwner=()=>null),e=t}}),t.A=e}Pe=e.Activity,Fe=e.Children,Ie=e.Component,M=e.Fragment,Le=e.Profiler,Re=e.PureComponent,ze=e.StrictMode,Be=e.Suspense,Ve=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,He=e.__COMPILER_RUNTIME,Ue=e.cache,We=e.cacheSignal,Ge=e.cloneElement,N=e.createContext,P=e.createElement,Ke=e.createRef,qe=e.forwardRef,Je=e.isValidElement,Ye=e.lazy,Xe=e.memo,Ze=e.startTransition,Qe=e.unstable_useCacheRefresh,$e=e.use,et=e.useActionState,tt=e.useCallback,F=e.useContext,nt=e.useDebugValue,rt=e.useDeferredValue,it=e.useEffect,at=e.useEffectEvent,ot=e.useId,st=e.useImperativeHandle,ct=e.useInsertionEffect,lt=e.useLayoutEffect,ut=e.useMemo,dt=e.useOptimistic,ft=e.useReducer,pt=e.useRef,mt=e.useState,ht=e.useSyncExternalStore,gt=e.useTransition,_t=e.version,Ne=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)return e??t;t=e}return t})()},Oe(A.share,{canonical:`default:react`,aliases:[`react`]},vt),vt(j),yt=j}));bt();function xt(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function St(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Ct=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(St(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=xt(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)==null?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),I=`-ms-`,wt=`-moz-`,L=`-webkit-`,Tt=`comm`,Et=`rule`,Dt=`decl`,Ot=`@import`,kt=`@keyframes`,At=`@layer`,jt=Math.abs,Mt=String.fromCharCode,Nt=Object.assign;function Pt(e,t){return z(e,0)^45?(((t<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3):0}function Ft(e){return e.trim()}function It(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,n){return e.replace(t,n)}function Lt(e,t){return e.indexOf(t)}function z(e,t){return e.charCodeAt(t)|0}function B(e,t,n){return e.slice(t,n)}function V(e){return e.length}function Rt(e){return e.length}function zt(e,t){return t.push(e),e}function Bt(e,t){return e.map(t).join(``)}var Vt=1,H=1,Ht=0,U=0,W=0,G=``;function Ut(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Vt,column:H,length:o,return:``}}function K(e,t){return Nt(Ut(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Wt(){return W}function Gt(){return W=U>0?z(G,--U):0,H--,W===10&&(H=1,Vt--),W}function q(){return W=U<Ht?z(G,U++):0,H++,W===10&&(H=1,Vt++),W}function J(){return z(G,U)}function Kt(){return U}function qt(e,t){return B(G,e,t)}function Jt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Yt(e){return Vt=H=1,Ht=V(G=e),U=0,[]}function Xt(e){return G=``,e}function Zt(e){return Ft(qt(U-1,en(e===91?e+2:e===40?e+1:e)))}function Qt(e){for(;(W=J())&&W<33;)q();return Jt(e)>2||Jt(W)>3?``:` `}function $t(e,t){for(;--t&&q()&&!(W<48||W>102||W>57&&W<65||W>70&&W<97););return qt(e,Kt()+(t<6&&J()==32&&q()==32))}function en(e){for(;q();)switch(W){case e:return U;case 34:case 39:e!==34&&e!==39&&en(W);break;case 40:e===41&&en(e);break;case 92:q();break}return U}function tn(e,t){for(;q()&&e+W!==57&&(e+W!==84||J()!==47););return`/*`+qt(t,U-1)+`*`+Mt(e===47?e:q())}function nn(e){for(;!Jt(J());)q();return qt(e,U)}function rn(e){return Xt(an(``,null,null,null,[``],e=Yt(e),0,[0],e))}function an(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=q()){case 40:if(m!=108&&z(C,d-1)==58){Lt(C+=R(Zt(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Zt(v);break;case 9:case 10:case 13:case 32:C+=Qt(m);break;case 92:C+=$t(Kt()-1,7);continue;case 47:switch(J()){case 42:case 47:zt(sn(tn(q(),Kt()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=V(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=R(C,/\f/g,``)),p>0&&V(C)-d&&zt(p>32?cn(C+`;`,r,n,d-1):cn(R(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(zt(S=on(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)an(C,t,S,S,b,a,d,s,x);else switch(f===99&&z(C,3)===110?100:f){case 100:case 108:case 109:case 115:an(e,S,S,r&&zt(on(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:an(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+V(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Gt()==125)continue}switch(C+=Mt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(V(C)-1)*_,_=1;break;case 64:J()===45&&(C+=Zt(q())),f=J(),u=d=V(y=C+=nn(Kt())),v++;break;case 45:m===45&&V(C)==2&&(h=0)}}return a}function on(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Rt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=B(e,d+1,d=jt(h=o[m])),y=e;_<p;++_)(y=Ft(h>0?f[_]+` `+v:R(v,/&\f/g,f[_])))&&(c[g++]=y);return Ut(e,t,n,i===0?Et:s,c,l,u)}function sn(e,t,n){return Ut(e,t,n,Tt,Mt(Wt()),B(e,2,-2),0)}function cn(e,t,n,r){return Ut(e,t,n,Dt,B(e,0,r),B(e,r+1,-1),r)}function Y(e,t){for(var n=``,r=Rt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function ln(e,t,n,r){switch(e.type){case At:if(e.children.length)break;case Ot:case Dt:return e.return=e.return||e.value;case Tt:return``;case kt:return e.return=e.value+`{`+Y(e.children,r)+`}`;case Et:e.value=e.props.join(`,`)}return V(n=Y(e.children,r))?e.return=e.value+`{`+n+`}`:``}function un(e){var t=Rt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function dn(e){return function(t){t.root||(t=t.return)&&e(t)}}var fn=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function pn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var mn=function(e,t,n){for(var r=0,i=0;r=i,i=J(),r===38&&i===12&&(t[n]=1),!Jt(i);)q();return qt(e,U)},hn=function(e,t){var n=-1,r=44;do switch(Jt(r)){case 0:r===38&&J()===12&&(t[n]=1),e[n]+=mn(U-1,t,n);break;case 2:e[n]+=Zt(r);break;case 4:if(r===44){e[++n]=J()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Mt(r)}while(r=q());return e},gn=function(e,t){return Xt(hn(Yt(e),t))},_n=new WeakMap,vn=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!_n.get(n))&&!r){_n.set(e,!0);for(var i=[],a=gn(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},yn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function bn(e,t){switch(Pt(e,t)){case 5103:return L+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+wt+e+I+e+e;case 6828:case 4268:return L+e+I+e+e;case 6165:return L+e+I+`flex-`+e+e;case 5187:return L+e+R(e,/(\w+).+(:[^]+)/,L+`box-$1$2`+I+`flex-$1$2`)+e;case 5443:return L+e+I+`flex-item-`+R(e,/flex-|-self/,``)+e;case 4675:return L+e+I+`flex-line-pack`+R(e,/align-content|flex-|-self/,``)+e;case 5548:return L+e+I+R(e,`shrink`,`negative`)+e;case 5292:return L+e+I+R(e,`basis`,`preferred-size`)+e;case 6060:return L+`box-`+R(e,`-grow`,``)+L+e+I+R(e,`grow`,`positive`)+e;case 4554:return L+R(e,/([^-])(transform)/g,`$1`+L+`$2`)+e;case 6187:return R(R(R(e,/(zoom-|grab)/,L+`$1`),/(image-set)/,L+`$1`),e,``)+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,L+`box-pack:$3`+I+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+L+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,L+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(V(e)-1-t>6)switch(z(e,t+1)){case 109:if(z(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,`$1`+L+`$2-$3$1`+wt+(z(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Lt(e,`stretch`)?bn(R(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(z(e,t+1)!==115)break;case 6444:switch(z(e,V(e)-3-(~Lt(e,`!important`)&&10))){case 107:return R(e,`:`,`:`+L)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+L+(z(e,14)===45?`inline-`:``)+`box$3$1`+L+`$2$3$1`+I+`$2box$3`)+e}break;case 5936:switch(z(e,t+11)){case 114:return L+e+I+R(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return L+e+I+R(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return L+e+I+R(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return L+e+I+e+e}return e}var xn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Dt:e.return=bn(e.value,e.length);break;case kt:return Y([K(e,{value:R(e.value,`@`,`@`+L)})],r);case Et:if(e.length)return Bt(e.props,function(t){switch(It(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Y([K(e,{props:[R(t,/:(read-\w+)/,`:`+wt+`$1`)]})],r);case`::placeholder`:return Y([K(e,{props:[R(t,/:(plac\w+)/,`:`+L+`input-$1`)]}),K(e,{props:[R(t,/:(plac\w+)/,`:`+wt+`$1`)]}),K(e,{props:[R(t,/:(plac\w+)/,I+`input-$1`)]})],r)}return``})}}],Sn=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||xn,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[vn,yn],l,u=[ln,dn(function(e){l.insert(e)})],d=un(c.concat(r,u)),f=function(e){return Y(rn(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Ct({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p};function Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cn.apply(null,arguments)}var wn=r((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Tn=r(((e,t)=>{t.exports=wn()})),En=t(r(((e,t)=>{var n=Tn(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}))()),Dn=(function(e,t){return(0,En.default)(e,t)});function On(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var kn=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},An=function(e,t,n){kn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function jn(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Mn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nn=/[A-Z]|^ms/g,Pn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fn=function(e){return e.charCodeAt(1)===45},In=function(e){return e!=null&&typeof e!=`boolean`},Ln=pn(function(e){return Fn(e)?e:e.replace(Nn,`-$&`).toLowerCase()}),Rn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Pn,function(e,t,n){return X={name:t,styles:n,next:X},t})}return Mn[e]!==1&&!Fn(e)&&typeof t==`number`&&t!==0?t+`px`:t};function zn(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return X={name:i.name,styles:i.styles,next:X},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)X={name:o.name,styles:o.styles,next:X},o=o.next;return a.styles+`;`}return Bn(e,t,n);case`function`:if(e!==void 0){var s=X,c=n(e);return X=s,zn(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Bn(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=zn(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:In(s)&&(r+=Ln(a)+`:`+Rn(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)In(o[c])&&(r+=Ln(a)+`:`+Rn(a,o[c])+`;`);else{var l=zn(e,t,o);switch(a){case`animation`:case`animationName`:r+=Ln(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Vn=/label:\s*([^\s;{]+)\s*(;|$)/g,X;function Hn(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;X=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=zn(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=zn(n,t,e[o]),r&&(i+=a[o]);Vn.lastIndex=0;for(var s=``,c;(c=Vn.exec(i))!==null;)s+=`-`+c[1];return{name:jn(i)+s,styles:i,next:X}}var Un=function(e){return e()},Wn=ct||!1,Gn=Wn||Un,Kn=Wn||lt;bt();var qn=N(typeof HTMLElement<`u`?Sn({key:`css`}):null),Jn=qn.Provider,Yn=function(){return F(qn)},Xn=function(e){return qe(function(t,n){return e(t,F(qn),n)})},Z=N({}),Zn=function(){return F(Z)},Qn=function(e,t){return typeof t==`function`?t(e):Cn({},e,t)},$n=fn(function(e){return fn(function(t){return Qn(e,t)})}),er=function(e){var t=F(Z);return e.theme!==t&&(t=$n(t)(e.theme)),P(Z.Provider,{value:t},e.children)};function tr(e){var t=e.displayName||e.name||`Component`,n=qe(function(t,n){var r=F(Z);return P(e,Cn({theme:r,ref:n},t))});return n.displayName=`WithTheme(`+t+`)`,Dn(n,e)}var nr={}.hasOwnProperty,rr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,ir=function(e,t){var n={};for(var r in t)nr.call(t,r)&&(n[r]=t[r]);return n[rr]=e,n},ar=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return kn(t,n,r),Gn(function(){return An(t,n,r)}),null},or=Xn(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[rr],a=[r],o=``;typeof e.className==`string`?o=On(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Hn(a,void 0,F(Z));o+=t.key+`-`+s.name;var c={};for(var l in e)nr.call(e,l)&&l!==`css`&&l!==rr&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),P(M,null,P(ar,{cache:t,serialized:s,isStringTag:typeof i==`string`}),P(i,c))}),sr=n({CacheProvider:()=>Jn,ClassNames:()=>hr,Global:()=>lr,ThemeContext:()=>Z,ThemeProvider:()=>er,__unsafe_useEmotionCache:()=>Yn,createElement:()=>cr,css:()=>ur,jsx:()=>cr,keyframes:()=>dr,useTheme:()=>Zn,withEmotionCache:()=>Xn,withTheme:()=>tr});bt();var cr=function(e,t){var n=arguments;if(t==null||!nr.call(t,`css`))return P.apply(void 0,n);var r=n.length,i=Array(r);i[0]=or,i[1]=ir(e,t);for(var a=2;a<r;a++)i[a]=n[a];return P.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(cr||={});var lr=Xn(function(e,t){var n=e.styles,r=Hn([n],void 0,F(Z)),i=pt();return Kn(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Kn(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&An(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function ur(){return Hn([...arguments])}function dr(){var e=ur.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var fr=function e(t){for(var n=t.length,r=0,i=``;r<n;r++){var a=t[r];if(a!=null){var o=void 0;switch(typeof a){case`boolean`:break;case`object`:if(Array.isArray(a))o=e(a);else for(var s in o=``,a)a[s]&&s&&(o&&(o+=` `),o+=s);break;default:o=a}o&&(i&&(i+=` `),i+=o)}}return i};function pr(e,t,n){var r=[],i=On(e,r,n);return r.length<2?n:i+t(r)}var mr=function(e){var t=e.cache,n=e.serializedArr;return Gn(function(){for(var e=0;e<n.length;e++)An(t,n[e],!1)}),null},hr=Xn(function(e,t){var n=[],r=function(){var e=Hn([...arguments],t.registered);return n.push(e),kn(t,e,!1),t.key+`-`+e.name},i={css:r,cx:function(){var e=[...arguments];return pr(t.registered,r,fr(e))},theme:F(Z)},a=e.children(i);return P(M,null,P(mr,{cache:t,serializedArr:n}),a)}),gr=n({CacheProvider:()=>_r,ClassNames:()=>wr,Global:()=>Tr,ThemeContext:()=>vr,ThemeProvider:()=>yr,__unsafe_useEmotionCache:()=>br,createElement:()=>Er,css:()=>Dr,default:()=>Ar,jsx:()=>Or,keyframes:()=>kr,useTheme:()=>xr,withEmotionCache:()=>Sr,withTheme:()=>Cr}),Q=sr,_r=Q.CacheProvider,vr=Q.ThemeContext,yr=Q.ThemeProvider,br=Q.__unsafe_useEmotionCache,xr=Q.useTheme,Sr=Q.withEmotionCache,Cr=Q.withTheme,wr=Q.ClassNames,Tr=Q.Global,Er=Q.createElement,Dr=Q.css,Or=Q.jsx,kr=Q.keyframes,Ar=Reflect.get(sr,`default`)??sr,jr=`__mf_module_cache__`;globalThis[jr]||={share:{},remote:{}},globalThis[jr].share||={},globalThis[jr].remote||={};var $=globalThis[jr];for(let e of Object.keys($.share))if(e.startsWith(`default:`)){let t=e.slice(8);$.share[t]===void 0&&($.share[t]=$.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;$.share[t]===void 0&&($.share[t]=$.share[e])}var Mr=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},Nr=Symbol.for(`module-federation.shared-cache-listeners`),Pr=e=>{let t=e[Nr];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,Nr,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Fr=(e,t,n)=>{let r=Pr(e);(r[t.canonical]||=new Set).add(n)},Ir=Symbol.for(`module-federation.shared-cache-owners`),Lr=e=>{let t=e[Ir];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,Ir,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},Rr=(e,t,n,r)=>{var i;e[t.canonical]=n;let a=t.aliases||[];for(let t of a)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let o=e[Ir];r===void 0?o&&delete o[t.canonical]:Lr(e)[t.canonical]=r;let s=(i=e[Nr])==null?void 0:i[t.canonical];if(s)for(let e of s)e(n);return n},zr=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},Br=Mr($.share,{canonical:`default:@emotion/react`,aliases:[`@emotion/react`]});Br===void 0&&(Br=zr(gr),Rr($.share,{canonical:`default:@emotion/react`,aliases:[`@emotion/react`]},Br,`ConfigCustomAssistant`));var Vr,Hr,Ur,Wr,Gr,Kr,qr=e=>{Vr=e.CacheProvider,Hr=e.ThemeContext,e.ThemeProvider,e.__unsafe_useEmotionCache,e.useTheme,Ur=e.withEmotionCache,e.withTheme,e.ClassNames,Wr=e.Global,e.createElement,Gr=e.css,e.jsx,Kr=e.keyframes,(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)return e??t;t=e}return t})()};Fr($.share,{canonical:`default:@emotion/react`,aliases:[`@emotion/react`]},qr),qr(Br);export{M as A,bt as B,qe as C,tt as D,Ie as E,pt as F,Se as H,mt as I,_t as L,lt as M,ut as N,F as O,ft as P,Re as R,Ke as S,Xe as T,o as V,Ne as _,Ur as a,N as b,Gn as c,An as d,kn as f,Ct as g,pn as h,Kr as i,st as j,it as k,Hn as l,Sn as m,Hr as n,Wr as o,Cn as p,Gr as r,gr as s,Vr as t,On as u,Fe as v,Je as w,P as x,Ge as y,Ce as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-C0FnF6B9.js";import{A as t,B as n,O as r,a as i,c as a,d as o,f as s,h as c,l,n as u,p as d,u as f,x as p}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-C0FnF6B9.js";import{A as t,B as n,O as r,a as i,c as a,d as o,f as s,h as c,l,n as u,p as d,u as f,x as p}from"./_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-CFrQg1YS.js";n();var m=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,h=c(function(e){return m.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),g=function(e){return e!==`theme`},_=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?h:g},v=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},y=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return s(t,n,r),a(function(){return o(t,n,r)}),null},b=function e(n,a){var o=n.__emotion_real===n,s=o&&n.__emotion_base||n,c,m;a!==void 0&&(c=a.label,m=a.target);var h=v(n,a,o),g=h||_(s),b=!g(`as`);return function(){var x=arguments,S=o&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(c!==void 0&&S.push(`label:`+c+`;`),x[0]==null||x[0].raw===void 0)S.push.apply(S,x);else{var C=x[0];S.push(C[0]);for(var w=x.length,T=1;T<w;T++)S.push(x[T],C[T])}var E=i(function(e,n,i){var a=b&&e.as||s,o=``,c=[],d=e;if(e.theme==null){for(var v in d={},e)d[v]=e[v];d.theme=r(u)}typeof e.className==`string`?o=f(n.registered,c,e.className):e.className!=null&&(o=e.className+` `);var x=l(S.concat(c),n.registered,d);o+=n.key+`-`+x.name,m!==void 0&&(o+=` `+m);var C=b&&h===void 0?_(a):g,w={};for(var T in e)b&&T===`as`||C(T)&&(w[T]=e[T]);return w.className=o,i&&(w.ref=i),p(t,null,p(y,{cache:n,serialized:x,isStringTag:typeof a==`string`}),p(a,w))});return E.displayName=c===void 0?`Styled(`+(typeof s==`string`?s:s.displayName||s.name||`Component`)+`)`:c,E.defaultProps=n.defaultProps,E.__emotion_real=E,E.__emotion_base=s,E.__emotion_styles=S,E.__emotion_forwardProp=h,Object.defineProperty(E,"toString",{value:function(){return`.`+m}}),E.withComponent=function(t,n){return e(t,d({},a,n,{shouldForwardProp:v(E,n,!0)})).apply(void 0,S)},E}},x=e({default:()=>C});n();var S=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),C=b.bind(null);S.forEach(function(e){C[e]=C(e)});var w=e({default:()=>T}),T=Reflect.get(x,`default`)??x,E=`__mf_module_cache__`;globalThis[E]||={share:{},remote:{}},globalThis[E].share||={},globalThis[E].remote||={};var D=globalThis[E];for(let e of Object.keys(D.share))if(e.startsWith(`default:`)){let t=e.slice(8);D.share[t]===void 0&&(D.share[t]=D.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;D.share[t]===void 0&&(D.share[t]=D.share[e])}var O=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},k=Symbol.for(`module-federation.shared-cache-listeners`),A=e=>{let t=e[k];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,k,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},j=(e,t,n)=>{let r=A(e);(r[t.canonical]||=new Set).add(n)},M=Symbol.for(`module-federation.shared-cache-owners`),N=e=>{let t=e[M];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,M,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},P=(e,t,n,r)=>{var i;e[t.canonical]=n;let a=t.aliases||[];for(let t of a)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let o=e[M];r===void 0?o&&delete o[t.canonical]:N(e)[t.canonical]=r;let s=(i=e[k])==null?void 0:i[t.canonical];if(s)for(let e of s)e(n);return n},F=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},I=O(D.share,{canonical:`default:@emotion/styled`,aliases:[`@emotion/styled`]});I===void 0&&(I=F(w),P(D.share,{canonical:`default:@emotion/styled`,aliases:[`@emotion/styled`]},I,`ConfigCustomAssistant`));var L,R=e=>{L=e.default??e};j(D.share,{canonical:`default:@emotion/styled`,aliases:[`@emotion/styled`]},R),R(I);export{w as n,L as t};
|