jodit 4.6.19 → 4.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +248 -4
  4. package/es2015/jodit.js +35173 -37099
  5. package/es2015/jodit.min.js +248 -4
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +44 -74
  8. package/es2015/plugins/debug/debug.min.js +5 -4
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +616 -714
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -4
  12. package/es2018/jodit.fat.min.js +248 -4
  13. package/es2018/jodit.min.js +248 -4
  14. package/es2018/plugins/debug/debug.min.js +5 -4
  15. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -4
  16. package/es2021/jodit.css +1 -1
  17. package/es2021/jodit.fat.min.js +262 -4
  18. package/es2021/jodit.js +34763 -36981
  19. package/es2021/jodit.min.js +262 -4
  20. package/es2021/plugins/debug/debug.css +1 -1
  21. package/es2021/plugins/debug/debug.js +42 -72
  22. package/es2021/plugins/debug/debug.min.js +5 -4
  23. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  24. package/es2021/plugins/speech-recognize/speech-recognize.js +614 -712
  25. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -4
  26. package/es2021.en/jodit.css +1 -1
  27. package/es2021.en/jodit.fat.min.js +262 -4
  28. package/es2021.en/jodit.js +33514 -35465
  29. package/es2021.en/jodit.min.js +262 -4
  30. package/es2021.en/plugins/debug/debug.css +1 -1
  31. package/es2021.en/plugins/debug/debug.js +42 -72
  32. package/es2021.en/plugins/debug/debug.min.js +5 -4
  33. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021.en/plugins/speech-recognize/speech-recognize.js +318 -347
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -4
  36. package/es5/jodit.css +2 -2
  37. package/es5/jodit.fat.min.js +2 -4
  38. package/es5/jodit.js +42978 -39182
  39. package/es5/jodit.min.css +2 -2
  40. package/es5/jodit.min.js +2 -4
  41. package/es5/plugins/debug/debug.css +1 -1
  42. package/es5/plugins/debug/debug.js +152 -163
  43. package/es5/plugins/debug/debug.min.js +2 -4
  44. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.js +755 -777
  46. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -4
  47. package/es5/polyfills.fat.min.js +8 -0
  48. package/es5/{415.js → polyfills.js} +177 -5
  49. package/es5/polyfills.min.js +8 -0
  50. package/esm/config.js +3 -0
  51. package/esm/core/constants.js +1 -1
  52. package/esm/core/helpers/utils/assert.js +4 -0
  53. package/esm/core/ui/form/inputs/input/input.d.ts +1 -0
  54. package/esm/core/view/view.d.ts +2 -2
  55. package/esm/core/view/view.js +1 -1
  56. package/esm/jodit.js +7 -1
  57. package/esm/modules/dialog/dialog.js +5 -5
  58. package/esm/modules/status-bar/status-bar.d.ts +1 -1
  59. package/esm/plugins/tab/cases/on-tab-inside-li.js +1 -1
  60. package/esm/tsconfig.json +1 -1
  61. package/package.json +3 -5
  62. package/types/core/ui/form/inputs/input/input.d.ts +1 -0
  63. package/types/core/view/view.d.ts +2 -2
  64. package/types/modules/status-bar/status-bar.d.ts +1 -1
  65. package/types/tsconfig.json +1 -1
  66. package/es2018/jodit.css +0 -5386
  67. package/es2018/jodit.js +0 -45274
  68. package/es2018/plugins/debug/debug.css +0 -53
  69. package/es2018/plugins/debug/debug.js +0 -236
  70. package/es2018/plugins/speech-recognize/speech-recognize.css +0 -43
  71. package/es2018/plugins/speech-recognize/speech-recognize.js +0 -1199
  72. package/es5/415.fat.min.js +0 -10
  73. package/es5/415.min.js +0 -10
  74. package/es5/5.fat.min.js +0 -10
  75. package/es5/5.js +0 -76
  76. package/es5/5.min.js +0 -10
  77. package/esm/polyfills.js +0 -54
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.6.19
4
+ * Version: v4.7.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -18,278 +18,187 @@
18
18
  })(self, function() {
19
19
  return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[882],{
20
20
 
21
- /***/ 3424:
21
+ /***/ 8858:
22
22
  /***/ (function(module) {
23
23
 
24
- "use strict";
25
-
26
24
  /*!
27
25
  * Jodit Editor (https://xdsoft.net/jodit/)
28
26
  * Released under MIT see LICENSE.txt in the project root for license information.
29
27
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
30
- */
31
- module.exports = {
32
- newline: 'regel',
33
- delete: 'verwijderen',
34
- space: 'ruimte',
35
- 'Speech Recognize': 'Spraak Herkennen',
36
- Sound: 'Geluid',
37
- 'Interim Results': 'Tussentijdse Resultaten'
28
+ */ module.exports = {
29
+ newline: 'חדשות',
30
+ delete: 'מחק',
31
+ space: 'שטח',
32
+ 'Speech Recognize': 'דיבור מזהה',
33
+ Sound: 'קול',
34
+ 'Interim Results': 'תוצאות ביניים'
38
35
  };
39
36
 
40
37
 
41
38
  /***/ }),
42
39
 
43
- /***/ 13958:
44
- /***/ (function(module) {
40
+ /***/ 8962:
41
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
45
42
 
46
43
  "use strict";
47
-
44
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45
+ /* harmony export */ execSpellCommand: function() { return /* binding */ execSpellCommand; }
46
+ /* harmony export */ });
48
47
  /*!
49
48
  * Jodit Editor (https://xdsoft.net/jodit/)
50
49
  * Released under MIT see LICENSE.txt in the project root for license information.
51
50
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
52
- */
53
- module.exports = {
54
- newline: 'nouvelle ligne',
55
- delete: 'supprimer',
56
- space: 'espace',
57
- 'Speech Recognize': 'Reconnaissance Vocale',
58
- Sound: 'Son',
59
- 'Interim Results': 'Résultats Intermédiaires'
60
- };
51
+ */ /**
52
+ * @module plugins/speech-recognize
53
+ */ function execSpellCommand(jodit, commandSentence) {
54
+ const [command, value] = commandSentence.split('::');
55
+ jodit.execCommand(command, null, value);
56
+ }
61
57
 
62
58
 
63
59
  /***/ }),
64
60
 
65
- /***/ 14765:
61
+ /***/ 10179:
66
62
  /***/ (function(module) {
67
63
 
68
- "use strict";
69
-
70
64
  /*!
71
65
  * Jodit Editor (https://xdsoft.net/jodit/)
72
66
  * Released under MIT see LICENSE.txt in the project root for license information.
73
67
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
74
- */
75
- module.exports = {
76
- newline: 'újsor',
77
- delete: 'törlés',
78
- space: 'tér',
79
- 'Speech Recognize': 'A Beszéd Felismeri',
80
- Sound: 'Hang',
81
- 'Interim Results': 'Időközi Eredmények'
68
+ */ module.exports = {
69
+ newline: 'новая строка|перенос|ентер',
70
+ delete: 'видалити',
71
+ space: 'пробел',
72
+ 'Speech Recognize': 'Распознавание речи',
73
+ Sound: 'Звук',
74
+ 'Interim Results': 'Проміжні результати'
82
75
  };
83
76
 
84
77
 
85
78
  /***/ }),
86
79
 
87
- /***/ 15603:
80
+ /***/ 18712:
88
81
  /***/ (function(module) {
89
82
 
90
- "use strict";
91
-
92
83
  /*!
93
84
  * Jodit Editor (https://xdsoft.net/jodit/)
94
85
  * Released under MIT see LICENSE.txt in the project root for license information.
95
86
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
96
- */
97
- module.exports = {
98
- newline: 'خط جدید',
99
- delete: 'حذف',
100
- space: 'فضا',
101
- 'Speech Recognize': 'گفتار را تشخیص دهید',
102
- Sound: 'صدا',
103
- 'Interim Results': 'نتایج موقت'
87
+ */ module.exports = {
88
+ newline: '改行',
89
+ delete: '削除',
90
+ space: 'スペース',
91
+ 'Speech Recognize': '音声認識',
92
+ Sound: '',
93
+ 'Interim Results': '中間結果'
104
94
  };
105
95
 
106
96
 
107
97
  /***/ }),
108
98
 
109
- /***/ 16491:
99
+ /***/ 19922:
110
100
  /***/ (function(module) {
111
101
 
112
- "use strict";
113
-
114
102
  /*!
115
103
  * Jodit Editor (https://xdsoft.net/jodit/)
116
104
  * Released under MIT see LICENSE.txt in the project root for license information.
117
105
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
118
- */
119
- module.exports = {
120
- newline: 'новая строка|перенос|энтер',
121
- delete: 'удалить',
122
- space: 'пробел',
123
- 'Speech Recognize': 'Распознавание речи',
124
- Sound: 'Звук',
125
- 'Interim Results': 'Промежуточные результаты'
106
+ */ module.exports = {
107
+ newline: 'الخط الجديد',
108
+ delete: 'حذف',
109
+ space: 'الفضاء',
110
+ 'Speech Recognize': 'التعرف على الكلام',
111
+ Sound: 'الصوت',
112
+ 'Interim Results': 'النتائج المؤقتة'
126
113
  };
127
114
 
128
115
 
129
116
  /***/ }),
130
117
 
131
- /***/ 18717:
118
+ /***/ 20759:
132
119
  /***/ (function(module) {
133
120
 
134
- "use strict";
135
-
136
121
  /*!
137
122
  * Jodit Editor (https://xdsoft.net/jodit/)
138
123
  * Released under MIT see LICENSE.txt in the project root for license information.
139
124
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
140
- */
141
- module.exports = {
142
- newline: 'חדשות',
143
- delete: 'מחק',
144
- space: 'שטח',
145
- 'Speech Recognize': 'דיבור מזהה',
146
- Sound: 'קול',
147
- 'Interim Results': 'תוצאות ביניים'
125
+ */ module.exports = {
126
+ newline: 'řádek',
127
+ delete: 'odstranit',
128
+ space: 'prostora',
129
+ 'Speech Recognize': 'Rozpoznání Řeči',
130
+ Sound: 'Zvuk',
131
+ 'Interim Results': 'Průběžné Výsledky'
148
132
  };
149
133
 
150
134
 
151
135
  /***/ }),
152
136
 
153
- /***/ 20825:
137
+ /***/ 22227:
154
138
  /***/ (function(module) {
155
139
 
156
- "use strict";
140
+ module.exports = "<svg viewBox=\"0 0 16 16\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z\"/> <path d=\"M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z\"/> </svg>"
141
+
142
+ /***/ }),
143
+
144
+ /***/ 22350:
145
+ /***/ (function(module) {
157
146
 
158
147
  /*!
159
148
  * Jodit Editor (https://xdsoft.net/jodit/)
160
149
  * Released under MIT see LICENSE.txt in the project root for license information.
161
150
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
162
- */
163
- module.exports = {
164
- newline: 'nylinje',
165
- delete: 'slette',
166
- space: 'rom',
167
- 'Speech Recognize': 'Talegjenkjenning',
168
- Sound: 'Lyd',
169
- 'Interim Results': 'Midlertidige resultater'
151
+ */ module.exports = {
152
+ newline: 'Zeilenumbruch',
153
+ delete: 'löschen',
154
+ space: 'Raum',
155
+ 'Speech Recognize': 'Sprache Erkennen',
156
+ Sound: 'Sound',
157
+ 'Interim Results': 'Zwischenergebnis'
170
158
  };
171
159
 
172
160
 
173
161
  /***/ }),
174
162
 
175
- /***/ 22227:
163
+ /***/ 22922:
176
164
  /***/ (function(module) {
177
165
 
178
- module.exports = "<svg viewBox=\"0 0 16 16\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z\"/> <path d=\"M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z\"/> </svg>"
179
-
180
- /***/ }),
181
-
182
- /***/ 25202:
183
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
184
-
185
- "use strict";
186
- __webpack_require__.r(__webpack_exports__);
187
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
188
- /* harmony export */ ar: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
189
- /* harmony export */ cs_cz: function() { return /* reexport module object */ _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__; },
190
- /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
191
- /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
192
- /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
193
- /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
194
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
195
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
196
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
197
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
198
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
199
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
200
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
201
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
202
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
203
- /* harmony export */ no: function() { return /* reexport module object */ _no_js__WEBPACK_IMPORTED_MODULE_15__; },
204
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_16__; },
205
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_17__; },
206
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_18__; },
207
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_19__; },
208
- /* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_20__; },
209
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__; },
210
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__; }
211
- /* harmony export */ });
212
- /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61593);
213
- /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
214
- /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64458);
215
- /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_cs_cz_js__WEBPACK_IMPORTED_MODULE_1__);
216
- /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89601);
217
- /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_de_js__WEBPACK_IMPORTED_MODULE_2__);
218
- /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87710);
219
- /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
220
- /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15603);
221
- /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
222
- /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84059);
223
- /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
224
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(13958);
225
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
226
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(18717);
227
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
228
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14765);
229
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
230
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77995);
231
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
232
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(92315);
233
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
234
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54711);
235
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
236
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(68632);
237
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
238
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(76769);
239
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
240
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(3424);
241
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
242
- /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20825);
243
- /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_no_js__WEBPACK_IMPORTED_MODULE_15__);
244
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(85454);
245
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_16__);
246
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(64149);
247
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_17__);
248
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(16491);
249
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_18__);
250
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(48948);
251
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_19__);
252
- /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(95700);
253
- /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_20__);
254
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(84370);
255
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_21__);
256
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56646);
257
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_22__);
258
166
  /*!
259
167
  * Jodit Editor (https://xdsoft.net/jodit/)
260
168
  * Released under MIT see LICENSE.txt in the project root for license information.
261
169
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
262
- */
263
- // @ts-nocheck
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
170
+ */ module.exports = {
171
+ newline: 'újsor',
172
+ delete: 'törlés',
173
+ space: 'tér',
174
+ 'Speech Recognize': 'A Beszéd Felismeri',
175
+ Sound: 'Hang',
176
+ 'Interim Results': 'Időközi Eredmények'
177
+ };
284
178
 
285
179
 
180
+ /***/ }),
286
181
 
182
+ /***/ 29475:
183
+ /***/ (function(module) {
287
184
 
185
+ /*!
186
+ * Jodit Editor (https://xdsoft.net/jodit/)
187
+ * Released under MIT see LICENSE.txt in the project root for license information.
188
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
189
+ */ module.exports = {
190
+ newline: '換行',
191
+ delete: '刪除',
192
+ space: '空白',
193
+ 'Speech Recognize': '語音辨識',
194
+ Sound: '聲音',
195
+ 'Interim Results': '階段性辨識結果'
196
+ };
288
197
 
289
198
 
290
199
  /***/ }),
291
200
 
292
- /***/ 37873:
201
+ /***/ 31262:
293
202
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
294
203
 
295
204
  "use strict";
@@ -297,21 +206,26 @@ __webpack_require__.r(__webpack_exports__);
297
206
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298
207
  /* harmony export */ SpeechRecognizeNative: function() { return /* binding */ SpeechRecognizeNative; }
299
208
  /* harmony export */ });
300
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
301
- /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
302
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
303
- /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56298);
304
- /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84976);
305
- /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71005);
306
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71096);
307
- /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46173);
308
- /* harmony import */ var _helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50834);
309
- /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25202);
209
+ /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
210
+ /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
211
+ /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68616);
212
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23211);
213
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(28077);
214
+ /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71125);
215
+ /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91206);
216
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75143);
217
+ /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(73302);
218
+ /* harmony import */ var _helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8962);
219
+ /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(43219);
310
220
  /*!
311
221
  * Jodit Editor (https://xdsoft.net/jodit/)
312
222
  * Released under MIT see LICENSE.txt in the project root for license information.
313
223
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
314
- */
224
+ */ /**
225
+ * [[include:plugins/speech-recognize/README.md]]
226
+ * @packageDocumentation
227
+ * @module plugins/speech-recognize
228
+ */
315
229
 
316
230
 
317
231
 
@@ -323,29 +237,19 @@ __webpack_require__.r(__webpack_exports__);
323
237
 
324
238
 
325
239
 
326
- class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plugin */ .k {
327
- constructor() {
328
- super(...arguments);
329
- this.buttons = [
330
- {
331
- group: 'state',
332
- name: 'speechRecognize'
333
- }
334
- ];
335
- this._commandToWord = {};
336
- }
240
+ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
337
241
  afterInit(jodit) {
338
242
  const { commands } = jodit.o.speechRecognize;
339
243
  if (commands) {
340
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_9__);
341
- (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__/* .keys */ .HP)(commands, false).forEach(words => {
244
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.extendLang)(_langs__WEBPACK_IMPORTED_MODULE_10__);
245
+ (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_5__.keys)(commands, false).forEach((words)=>{
342
246
  const keys = words.split('|');
343
- keys.forEach(key => {
247
+ keys.forEach((key)=>{
344
248
  key = key.trim().toLowerCase();
345
249
  this._commandToWord[key] = commands[words];
346
250
  const translatedKeys = jodit.i18n(key);
347
251
  if (translatedKeys !== key) {
348
- translatedKeys.split('|').forEach(translatedKey => {
252
+ translatedKeys.split('|').forEach((translatedKey)=>{
349
253
  this._commandToWord[translatedKey.trim().toLowerCase()] = commands[words].trim();
350
254
  });
351
255
  }
@@ -354,7 +258,7 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
354
258
  }
355
259
  }
356
260
  beforeDestruct(jodit) {
357
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
261
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
358
262
  }
359
263
  onSpeechRecognizeProgressResult(text) {
360
264
  if (!this.messagePopup) {
@@ -362,32 +266,25 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
362
266
  }
363
267
  this.j.workplace.appendChild(this.messagePopup);
364
268
  this.j.async.clearTimeout(this.__hidePopupTimeout);
365
- this.__hidePopupTimeout = this.j.async.setTimeout(() => {
366
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
269
+ this.__hidePopupTimeout = this.j.async.setTimeout(()=>{
270
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
367
271
  }, 1000);
368
272
  this.messagePopup.innerText = text + '|';
369
273
  }
370
274
  onSpeechRecognizeResult(text) {
371
275
  this.j.async.clearTimeout(this.__hidePopupTimeout);
372
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
276
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
373
277
  const { j } = this;
374
278
  const { s } = j;
375
279
  if (!this._checkCommand(text)) {
376
280
  const { range } = s, node = s.current();
377
- if (s.isCollapsed() &&
378
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isText(node) &&
379
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isOrContains(j.editor, node) &&
380
- node.nodeValue) {
281
+ if (s.isCollapsed() && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isText(node) && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isOrContains(j.editor, node) && node.nodeValue) {
381
282
  const sentence = node.nodeValue;
382
- node.nodeValue =
383
- sentence +
384
- (/[\u00A0 ]\uFEFF*$/.test(sentence) ? '' : ' ') +
385
- text;
283
+ node.nodeValue = sentence + (/[\u00A0 ]\uFEFF*$/.test(sentence) ? '' : ' ') + text;
386
284
  range.setStartAfter(node);
387
285
  s.selectRange(range);
388
286
  j.synchronizeValues();
389
- }
390
- else {
287
+ } else {
391
288
  s.insertHTML(text);
392
289
  }
393
290
  }
@@ -395,216 +292,236 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
395
292
  _checkCommand(command) {
396
293
  command = command.toLowerCase().replace(/\./g, '');
397
294
  if (this._commandToWord[command]) {
398
- (0,_helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_8__/* .execSpellCommand */ .F)(this.j, this._commandToWord[command]);
295
+ (0,_helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_9__.execSpellCommand)(this.j, this._commandToWord[command]);
399
296
  return true;
400
297
  }
401
298
  return false;
402
299
  }
300
+ constructor(...args){
301
+ super(...args), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "buttons", [
302
+ {
303
+ group: 'state',
304
+ name: 'speechRecognize'
305
+ }
306
+ ]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "messagePopup", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__hidePopupTimeout", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_commandToWord", {});
307
+ }
403
308
  }
404
- (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
405
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeProgressResult')
309
+ (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
310
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__.watch)(':speechRecognizeProgressResult')
406
311
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeProgressResult", null);
407
- (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
408
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeResult')
312
+ (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
313
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__.watch)(':speechRecognizeResult')
409
314
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
410
- _jodit__WEBPACK_IMPORTED_MODULE_7__/* .Jodit */ .x.plugins.add('speech-recognize', SpeechRecognizeNative);
315
+ _jodit__WEBPACK_IMPORTED_MODULE_8__.Jodit.plugins.add('speech-recognize', SpeechRecognizeNative);
411
316
 
412
317
 
413
318
  /***/ }),
414
319
 
415
- /***/ 48948:
416
- /***/ (function(module) {
320
+ /***/ 32560:
321
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
417
322
 
418
323
  "use strict";
419
-
324
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
325
+ /* harmony export */ sound: function() { return /* binding */ sound; }
326
+ /* harmony export */ });
327
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
328
+ /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94092);
420
329
  /*!
421
330
  * Jodit Editor (https://xdsoft.net/jodit/)
422
331
  * Released under MIT see LICENSE.txt in the project root for license information.
423
332
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
424
- */
425
- module.exports = {
426
- newline: 'yeni satır',
427
- delete: 'silmek',
428
- space: 'uzay',
429
- 'Speech Recognize': 'Konuşma Tanıma',
430
- Sound: 'Ses',
431
- 'Interim Results': 'Ara Sonuçlar'
432
- };
333
+ */ /**
334
+ * @module plugins/speech-recognize
335
+ */
336
+
337
+ /**
338
+ * @internal
339
+ */ function sound({ sec = 0.1, frequency = jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__.PII, gain = 0.1, type = 'sine' } = {}) {
340
+ if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow || typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext === 'undefined' && typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext === 'undefined') {
341
+ return;
342
+ }
343
+ // one context per document
344
+ const context = new (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext || jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext)();
345
+ const vol = context.createGain();
346
+ const osc = context.createOscillator();
347
+ osc.type = type;
348
+ osc.frequency.value = frequency; // Hz
349
+ osc.connect(vol);
350
+ vol.connect(context.destination);
351
+ osc.start(); // start the oscillator
352
+ osc.stop(context.currentTime + sec);
353
+ vol.gain.value = gain;
354
+ }
433
355
 
434
356
 
435
357
  /***/ }),
436
358
 
437
- /***/ 50834:
438
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
439
-
440
- "use strict";
441
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
442
- /* harmony export */ F: function() { return /* binding */ execSpellCommand; }
443
- /* harmony export */ });
444
- /*!
445
- * Jodit Editor (https://xdsoft.net/jodit/)
446
- * Released under MIT see LICENSE.txt in the project root for license information.
447
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
448
- */
449
- function execSpellCommand(jodit, commandSentence) {
450
- const [command, value] = commandSentence.split('::');
451
- jodit.execCommand(command, null, value);
452
- }
453
-
454
-
455
- /***/ }),
456
-
457
- /***/ 54711:
458
- /***/ (function(module) {
459
-
460
- "use strict";
359
+ /***/ 33276:
360
+ /***/ (function(module) {
461
361
 
462
362
  /*!
463
363
  * Jodit Editor (https://xdsoft.net/jodit/)
464
364
  * Released under MIT see LICENSE.txt in the project root for license information.
465
365
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
466
- */
467
- module.exports = {
468
- newline: '改行',
469
- delete: '削除',
470
- space: 'スペース',
471
- 'Speech Recognize': '音声認識',
472
- Sound: '',
473
- 'Interim Results': '中間結果'
366
+ */ module.exports = {
367
+ 'Speech Recognize': 'Puheentunnistus',
368
+ newline: 'uusi rivi',
369
+ delete: 'poistaa',
370
+ space: 'tilaa',
371
+ Sound: 'Ääni',
372
+ 'Interim Results': 'Välitulokset'
474
373
  };
475
374
 
476
375
 
477
376
  /***/ }),
478
377
 
479
- /***/ 56646:
378
+ /***/ 35420:
480
379
  /***/ (function(module) {
481
380
 
482
- "use strict";
483
-
484
381
  /*!
485
382
  * Jodit Editor (https://xdsoft.net/jodit/)
486
383
  * Released under MIT see LICENSE.txt in the project root for license information.
487
384
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
488
- */
489
- module.exports = {
490
- newline: '換行',
491
- delete: '刪除',
492
- space: '空白',
493
- 'Speech Recognize': '語音辨識',
494
- Sound: '聲音',
495
- 'Interim Results': '階段性辨識結果'
385
+ */ module.exports = {
386
+ newline: 'nuova riga',
387
+ delete: 'eliminare',
388
+ space: 'spazio',
389
+ 'Speech Recognize': 'Discorso Riconoscere',
390
+ Sound: 'Suono',
391
+ 'Interim Results': 'Risultati intermedi'
496
392
  };
497
393
 
498
394
 
499
395
  /***/ }),
500
396
 
501
- /***/ 61593:
397
+ /***/ 37161:
502
398
  /***/ (function(module) {
503
399
 
504
- "use strict";
505
-
506
400
  /*!
507
401
  * Jodit Editor (https://xdsoft.net/jodit/)
508
402
  * Released under MIT see LICENSE.txt in the project root for license information.
509
403
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
510
- */
511
- module.exports = {
512
- newline: 'الخط الجديد',
513
- delete: 'حذف',
514
- space: 'الفضاء',
515
- 'Speech Recognize': 'التعرف على الكلام',
516
- Sound: 'الصوت',
517
- 'Interim Results': 'النتائج المؤقتة'
404
+ */ module.exports = {
405
+ newline: 'newline',
406
+ delete: 'usunąć',
407
+ space: 'przestrzeń',
408
+ 'Speech Recognize': 'Rozpoznawanie Mowy',
409
+ Sound: 'Dźwięk',
410
+ 'Interim Results': 'Wyniki Okresowe'
518
411
  };
519
412
 
520
413
 
521
414
  /***/ }),
522
415
 
523
- /***/ 64149:
416
+ /***/ 39996:
524
417
  /***/ (function(module) {
525
418
 
526
- "use strict";
527
-
528
419
  /*!
529
420
  * Jodit Editor (https://xdsoft.net/jodit/)
530
421
  * Released under MIT see LICENSE.txt in the project root for license information.
531
422
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
532
- */
533
- module.exports = {
534
- newline: 'linha',
535
- delete: 'excluir',
536
- space: 'espaco',
537
- 'Speech Recognize': 'Discurso Reconhecer',
538
- Sound: 'Som',
539
- 'Interim Results': 'Resultados Provisórios'
423
+ */ module.exports = {
424
+ newline: 'новая строка|перенос|энтер',
425
+ delete: 'удалить',
426
+ space: 'пробел',
427
+ 'Speech Recognize': 'Распознавание речи',
428
+ Sound: 'Звук',
429
+ 'Interim Results': 'Промежуточные результаты'
540
430
  };
541
431
 
542
432
 
543
433
  /***/ }),
544
434
 
545
- /***/ 64458:
546
- /***/ (function(module) {
435
+ /***/ 43219:
436
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
547
437
 
548
438
  "use strict";
549
-
439
+ __webpack_require__.r(__webpack_exports__);
440
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
441
+ /* harmony export */ ar: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
442
+ /* harmony export */ cs_cz: function() { return /* reexport module object */ _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__; },
443
+ /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
444
+ /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
445
+ /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
446
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
447
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
448
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
449
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
450
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
451
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
452
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
453
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
454
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
455
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
456
+ /* harmony export */ no: function() { return /* reexport module object */ _no_js__WEBPACK_IMPORTED_MODULE_15__; },
457
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_16__; },
458
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_17__; },
459
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_18__; },
460
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_19__; },
461
+ /* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_20__; },
462
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__; },
463
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__; }
464
+ /* harmony export */ });
465
+ /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19922);
466
+ /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
467
+ /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20759);
468
+ /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_cs_cz_js__WEBPACK_IMPORTED_MODULE_1__);
469
+ /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22350);
470
+ /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_de_js__WEBPACK_IMPORTED_MODULE_2__);
471
+ /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97509);
472
+ /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
473
+ /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49668);
474
+ /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
475
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(33276);
476
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
477
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(43517);
478
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
479
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8858);
480
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
481
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22922);
482
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
483
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(81900);
484
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
485
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(35420);
486
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
487
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(18712);
488
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
489
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(73363);
490
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
491
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(74762);
492
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
493
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(73759);
494
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
495
+ /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(72850);
496
+ /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_no_js__WEBPACK_IMPORTED_MODULE_15__);
497
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(37161);
498
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_16__);
499
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(62896);
500
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_17__);
501
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(39996);
502
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_18__);
503
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(93423);
504
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_19__);
505
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(10179);
506
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_20__);
507
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(62547);
508
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_21__);
509
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(29475);
510
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_22__);
550
511
  /*!
551
512
  * Jodit Editor (https://xdsoft.net/jodit/)
552
513
  * Released under MIT see LICENSE.txt in the project root for license information.
553
514
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
554
- */
555
- module.exports = {
556
- newline: 'řádek',
557
- delete: 'odstranit',
558
- space: 'prostora',
559
- 'Speech Recognize': 'Rozpoznání Řeči',
560
- Sound: 'Zvuk',
561
- 'Interim Results': 'Průběžné Výsledky'
562
- };
515
+ */ // @ts-nocheck
563
516
 
564
517
 
565
- /***/ }),
566
518
 
567
- /***/ 68632:
568
- /***/ (function(module) {
569
519
 
570
- "use strict";
571
520
 
572
- /*!
573
- * Jodit Editor (https://xdsoft.net/jodit/)
574
- * Released under MIT see LICENSE.txt in the project root for license information.
575
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
576
- */
577
- module.exports = {
578
- newline: '줄 바꿈',
579
- delete: '삭제',
580
- space: '공간',
581
- 'Speech Recognize': '음성 인식',
582
- Sound: '소리',
583
- 'Interim Results': '중간 결과'
584
- };
585
521
 
586
522
 
587
- /***/ }),
588
523
 
589
- /***/ 71096:
590
- /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
591
524
 
592
- "use strict";
593
- /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9810);
594
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(98253);
595
- /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26150);
596
- /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72197);
597
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
598
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
599
- /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71722);
600
- /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93676);
601
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22227);
602
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__);
603
- /*!
604
- * Jodit Editor (https://xdsoft.net/jodit/)
605
- * Released under MIT see LICENSE.txt in the project root for license information.
606
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
607
- */
608
525
 
609
526
 
610
527
 
@@ -614,222 +531,62 @@ module.exports = {
614
531
 
615
532
 
616
533
 
617
- jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.speechRecognize = {
618
- api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o : null,
619
- sound: true,
620
- continuous: false,
621
- interimResults: true,
622
- commands: {
623
- 'newline|enter': 'enter',
624
- 'delete|remove word|delete word': 'backspaceWordButton',
625
- comma: 'inserthtml::,',
626
- underline: 'inserthtml::_',
627
- hyphen: 'inserthtml::-',
628
- space: 'inserthtml:: ',
629
- question: 'inserthtml::?',
630
- dot: 'inserthtml::.',
631
- 'quote|quotes|open quote': "inserthtml::'",
632
- 'header|header h1': 'formatblock::h1',
633
- 'select all': 'selectall'
634
- }
635
- };
636
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default()));
637
- jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.speechRecognize = {
638
- isVisible(j) {
639
- return Boolean(j.o.speechRecognize.api);
640
- },
641
- isActive(jodit, _) {
642
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
643
- return Boolean(api?.isEnabled);
644
- },
645
- isDisabled(jodit) {
646
- return !jodit.o.speechRecognize.api;
647
- },
648
- exec(jodit, current, { button, control }) {
649
- const { api: ApiConstructor, lang, continuous, interimResults, sound } = jodit.o.speechRecognize;
650
- if (!ApiConstructor) {
651
- jodit.alert('Speech recognize API unsupported in your browser');
652
- return;
653
- }
654
- let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
655
- if (!api) {
656
- const nativeApi = new ApiConstructor();
657
- api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__/* .RecognizeManager */ .g(jodit.async, nativeApi);
658
- api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(lang)
659
- ? lang
660
- : ((0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(jodit.od.documentElement, 'lang') ?? undefined);
661
- api.continuous = continuous;
662
- api.interimResults = interimResults;
663
- api.sound = sound;
664
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', api);
665
- api.on('pulse', (enable) => {
666
- button.setMod('pulse', enable);
667
- });
668
- api.on('result', (text) => jodit.e.fire('speechRecognizeResult', text));
669
- api.on('progress', (text) => jodit.e.fire('speechRecognizeProgressResult', text));
670
- api.on('error', (text) => jodit.message.error(text));
671
- button.hookStatus('beforeDestruct', () => {
672
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', null);
673
- api.destruct();
674
- });
675
- }
676
- if (control.args) {
677
- const key = control.args[0];
678
- if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__/* .isBoolean */ .L)(api[key])) {
679
- api[key] = !api[key];
680
- if (api.isEnabled) {
681
- api.restart();
682
- }
683
- return;
684
- }
685
- }
686
- api.toggle();
687
- if (api.isEnabled) {
688
- button.setMod('pulse', true);
689
- }
690
- button.state.activated = api.isEnabled;
691
- },
692
- name: 'speechRecognize',
693
- command: 'toggleSpeechRecognize',
694
- tooltip: 'Speech Recognize',
695
- list: {
696
- sound: 'Sound',
697
- interimResults: 'Interim Results'
698
- },
699
- childTemplate(jodit, key, value) {
700
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech'), checked = api?.[key] ?? jodit.o.speechRecognize[key];
701
- return `<span class='jodit-speech-recognize__list-item'><input ${checked ? 'checked' : ''} class='jodit-checkbox' type='checkbox'>&nbsp;${value}</span>`;
702
- },
703
- mods: {
704
- stroke: false
705
- }
706
- };
707
534
 
708
535
 
709
- /***/ }),
710
536
 
711
- /***/ 71722:
712
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
713
537
 
714
- "use strict";
715
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
716
- /* harmony export */ o: function() { return /* binding */ SpeechRecognition; }
717
- /* harmony export */ });
718
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
719
- /*!
720
- * Jodit Editor (https://xdsoft.net/jodit/)
721
- * Released under MIT see LICENSE.txt in the project root for license information.
722
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
723
- */
724
-
725
- const SpeechRecognition = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow
726
- ? jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.SpeechRecognition ||
727
- jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitSpeechRecognition
728
- : undefined;
729
538
 
730
539
 
731
- /***/ }),
732
-
733
- /***/ 76769:
734
- /***/ (function(module) {
735
-
736
- "use strict";
737
-
738
- /*!
739
- * Jodit Editor (https://xdsoft.net/jodit/)
740
- * Released under MIT see LICENSE.txt in the project root for license information.
741
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
742
- */
743
- module.exports = {
744
- newline: 'Шинэ мөр',
745
- delete: 'Устгах',
746
- space: 'Зай',
747
- 'Speech Recognize': 'Дуу хоолой таних',
748
- Sound: 'Дуу',
749
- 'Interim Results': 'Түр зуурын үр дүн'
750
- };
751
540
 
752
541
 
753
542
  /***/ }),
754
543
 
755
- /***/ 77995:
544
+ /***/ 43517:
756
545
  /***/ (function(module) {
757
546
 
758
- "use strict";
759
-
760
547
  /*!
761
548
  * Jodit Editor (https://xdsoft.net/jodit/)
762
549
  * Released under MIT see LICENSE.txt in the project root for license information.
763
550
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
764
- */
765
- module.exports = {
766
- newline: 'newline',
767
- delete: 'Hapus',
768
- space: 'ruang',
769
- 'Speech Recognize': 'Pidato Mengenali',
770
- Sound: 'Suara',
771
- 'Interim Results': 'Hasil Sementara'
551
+ */ module.exports = {
552
+ newline: 'nouvelle ligne',
553
+ delete: 'supprimer',
554
+ space: 'espace',
555
+ 'Speech Recognize': 'Reconnaissance Vocale',
556
+ Sound: 'Son',
557
+ 'Interim Results': 'Résultats Intermédiaires'
772
558
  };
773
559
 
774
560
 
775
561
  /***/ }),
776
562
 
777
- /***/ 81629:
778
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
779
-
780
- "use strict";
781
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
782
- /* harmony export */ N: function() { return /* binding */ PII; },
783
- /* harmony export */ Z: function() { return /* binding */ WARN; }
784
- /* harmony export */ });
785
- /*!
786
- * Jodit Editor (https://xdsoft.net/jodit/)
787
- * Released under MIT see LICENSE.txt in the project root for license information.
788
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
789
- */
790
- /**
791
- * @module plugins/speech-recognize
792
- * @internal
793
- */
794
- const PII = 440;
795
- const WARN = 940;
796
-
797
-
798
- /***/ }),
799
-
800
- /***/ 84059:
563
+ /***/ 49668:
801
564
  /***/ (function(module) {
802
565
 
803
- "use strict";
804
-
805
566
  /*!
806
567
  * Jodit Editor (https://xdsoft.net/jodit/)
807
568
  * Released under MIT see LICENSE.txt in the project root for license information.
808
569
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
809
- */
810
- module.exports = {
811
- 'Speech Recognize': 'Puheentunnistus',
812
- newline: 'uusi rivi',
813
- delete: 'poistaa',
814
- space: 'tilaa',
815
- Sound: 'Ääni',
816
- 'Interim Results': 'Välitulokset'
570
+ */ module.exports = {
571
+ newline: 'خط جدید',
572
+ delete: 'حذف',
573
+ space: 'فضا',
574
+ 'Speech Recognize': 'گفتار را تشخیص دهید',
575
+ Sound: 'صدا',
576
+ 'Interim Results': 'نتایج موقت'
817
577
  };
818
578
 
819
579
 
820
580
  /***/ }),
821
581
 
822
- /***/ 84370:
582
+ /***/ 62547:
823
583
  /***/ (function(module) {
824
584
 
825
- "use strict";
826
-
827
585
  /*!
828
586
  * Jodit Editor (https://xdsoft.net/jodit/)
829
587
  * Released under MIT see LICENSE.txt in the project root for license information.
830
588
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
831
- */
832
- module.exports = {
589
+ */ module.exports = {
833
590
  newline: '新行',
834
591
  delete: '删除',
835
592
  space: '空间',
@@ -841,118 +598,51 @@ module.exports = {
841
598
 
842
599
  /***/ }),
843
600
 
844
- /***/ 85454:
845
- /***/ (function(module) {
846
-
847
- "use strict";
848
-
849
- /*!
850
- * Jodit Editor (https://xdsoft.net/jodit/)
851
- * Released under MIT see LICENSE.txt in the project root for license information.
852
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
853
- */
854
- module.exports = {
855
- newline: 'newline',
856
- delete: 'usunąć',
857
- space: 'przestrzeń',
858
- 'Speech Recognize': 'Rozpoznawanie Mowy',
859
- Sound: 'Dźwięk',
860
- 'Interim Results': 'Wyniki Okresowe'
861
- };
862
-
863
-
864
- /***/ }),
865
-
866
- /***/ 87710:
867
- /***/ (function(module) {
868
-
869
- "use strict";
870
-
871
- /*!
872
- * Jodit Editor (https://xdsoft.net/jodit/)
873
- * Released under MIT see LICENSE.txt in the project root for license information.
874
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
875
- */
876
- module.exports = {
877
- newline: 'nueva línea',
878
- delete: 'eliminar',
879
- space: 'espacio',
880
- 'Speech Recognize': 'Reconocimiento de Voz',
881
- Sound: 'Sonido',
882
- 'Interim Results': 'Resultados Provisionales'
883
- };
884
-
885
-
886
- /***/ }),
887
-
888
- /***/ 89601:
889
- /***/ (function(module) {
890
-
891
- "use strict";
892
-
893
- /*!
894
- * Jodit Editor (https://xdsoft.net/jodit/)
895
- * Released under MIT see LICENSE.txt in the project root for license information.
896
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
897
- */
898
- module.exports = {
899
- newline: 'Zeilenumbruch',
900
- delete: 'löschen',
901
- space: 'Raum',
902
- 'Speech Recognize': 'Sprache Erkennen',
903
- Sound: 'Sound',
904
- 'Interim Results': 'Zwischenergebnis'
905
- };
906
-
907
-
908
- /***/ }),
909
-
910
- /***/ 92315:
601
+ /***/ 62896:
911
602
  /***/ (function(module) {
912
603
 
913
- "use strict";
914
-
915
604
  /*!
916
605
  * Jodit Editor (https://xdsoft.net/jodit/)
917
606
  * Released under MIT see LICENSE.txt in the project root for license information.
918
607
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
919
- */
920
- module.exports = {
921
- newline: 'nuova riga',
922
- delete: 'eliminare',
923
- space: 'spazio',
924
- 'Speech Recognize': 'Discorso Riconoscere',
925
- Sound: 'Suono',
926
- 'Interim Results': 'Risultati intermedi'
608
+ */ module.exports = {
609
+ newline: 'linha',
610
+ delete: 'excluir',
611
+ space: 'espaco',
612
+ 'Speech Recognize': 'Discurso Reconhecer',
613
+ Sound: 'Som',
614
+ 'Interim Results': 'Resultados Provisórios'
927
615
  };
928
616
 
929
617
 
930
618
  /***/ }),
931
619
 
932
- /***/ 93676:
620
+ /***/ 68097:
933
621
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
934
622
 
935
623
  "use strict";
936
624
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
937
- /* harmony export */ g: function() { return /* binding */ RecognizeManager; }
625
+ /* harmony export */ RecognizeManager: function() { return /* binding */ RecognizeManager; }
938
626
  /* harmony export */ });
939
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
940
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
941
- /* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43431);
942
- /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95473);
943
- /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81629);
627
+ /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
628
+ /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
629
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84839);
630
+ /* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60216);
631
+ /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32560);
632
+ /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94092);
944
633
  /*!
945
634
  * Jodit Editor (https://xdsoft.net/jodit/)
946
635
  * Released under MIT see LICENSE.txt in the project root for license information.
947
636
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
948
- */
949
- var RecognizeManager_1;
637
+ */ /**
638
+ * @module plugins/speech-recognize
639
+ */
950
640
 
951
641
 
952
642
 
953
643
 
954
644
 
955
- let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_2__/* .Eventify */ .h {
645
+ class RecognizeManager extends jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_3__.Eventify {
956
646
  set lang(v) {
957
647
  this._lang = v;
958
648
  this._api.lang = v;
@@ -969,38 +659,14 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
969
659
  }
970
660
  set interimResults(v) {
971
661
  this._interimResults = v;
972
- this._api.interimResults = v;
973
- }
974
- get interimResults() {
975
- return this._interimResults;
976
- }
977
- constructor(async, api) {
978
- super();
979
- this.async = async;
980
- this._continuous = false;
981
- this._interimResults = false;
982
- this.sound = true;
983
- this._isEnabled = false;
984
- this._restartTimeout = 0;
985
- this._onSpeechStart = (e) => {
986
- if (!this._isEnabled) {
987
- return;
988
- }
989
- this.async.clearTimeout(this._restartTimeout);
990
- this._restartTimeout = this.async.setTimeout(() => {
991
- this.restart();
992
- this.emit('pulse', false);
993
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
994
- }, 5000);
995
- this.emit('pulse', true);
996
- };
997
- this.__interimResults = '';
998
- this._api = api;
999
- RecognizeManager_1._instances.add(this);
662
+ this._api.interimResults = v;
663
+ }
664
+ get interimResults() {
665
+ return this._interimResults;
1000
666
  }
1001
667
  destruct() {
1002
668
  this.stop();
1003
- RecognizeManager_1._instances.delete(this);
669
+ RecognizeManager._instances.delete(this);
1004
670
  super.destruct();
1005
671
  }
1006
672
  get isEnabled() {
@@ -1011,23 +677,19 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1011
677
  return;
1012
678
  }
1013
679
  this._isEnabled = true;
1014
- RecognizeManager_1._instances.forEach(instance => {
680
+ RecognizeManager._instances.forEach((instance)=>{
1015
681
  if (instance !== this) {
1016
682
  instance.stop();
1017
683
  }
1018
684
  });
1019
685
  try {
1020
686
  this._api.start();
1021
- }
1022
- catch (e) {
687
+ } catch (e) {
1023
688
  this._onError(e);
1024
689
  this.stop();
1025
690
  return;
1026
691
  }
1027
- this.__on('speechstart', this._onSpeechStart)
1028
- .__on('error', this._onError)
1029
- .__on('result', this._onProgress)
1030
- .__on('end', this._onResults);
692
+ this.__on('speechstart', this._onSpeechStart).__on('error', this._onError).__on('result', this._onProgress).__on('end', this._onResults);
1031
693
  }
1032
694
  stop() {
1033
695
  if (!this._isEnabled) {
@@ -1035,10 +697,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1035
697
  }
1036
698
  this._api.abort();
1037
699
  this._api.stop();
1038
- this.__off('speechstart', this._onSpeechStart)
1039
- .__off('error', this._onError)
1040
- .__off('result', this._onProgress)
1041
- .__off('end', this._onResults);
700
+ this.__off('speechstart', this._onSpeechStart).__off('error', this._onError).__off('result', this._onProgress).__off('end', this._onResults);
1042
701
  this.async.clearTimeout(this._restartTimeout);
1043
702
  this._isEnabled = false;
1044
703
  this.emit('pulse', false);
@@ -1046,8 +705,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1046
705
  toggle() {
1047
706
  if (!this._isEnabled) {
1048
707
  this.start();
1049
- }
1050
- else {
708
+ } else {
1051
709
  this.stop();
1052
710
  }
1053
711
  }
@@ -1067,7 +725,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1067
725
  this.emit('pulse', false);
1068
726
  this.emit('result', this.__interimResults);
1069
727
  this.__interimResults = '';
1070
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .PII */ .N);
728
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.PII);
1071
729
  this.restart();
1072
730
  }
1073
731
  _onProgress(e) {
@@ -1078,7 +736,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1078
736
  if (!e.results) {
1079
737
  return;
1080
738
  }
1081
- for (let i = 0; i < e.results.length; i++) {
739
+ for(let i = 0; i < e.results.length; i++){
1082
740
  const resultItem = e.results.item(i);
1083
741
  if (resultItem.length) {
1084
742
  const { transcript } = resultItem.item(0);
@@ -1096,101 +754,345 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1096
754
  if (e.error === 'not-allowed') {
1097
755
  this.emit('error', 'Not allowed');
1098
756
  }
1099
- if (e.error === 'language-unavailable' ||
1100
- // @ts-ignore
1101
- e.error === 'language-not-supported') {
757
+ if (e.error === 'language-unavailable' || // @ts-ignore
758
+ e.error === 'language-not-supported') {
1102
759
  this.emit('error', 'Language unavailable');
1103
760
  }
1104
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
761
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.WARN);
1105
762
  this.emit('pulse', false);
1106
763
  this.stop();
1107
764
  }
1108
765
  _makeSound(frequency) {
1109
766
  if (this.sound) {
1110
- (0,_sound__WEBPACK_IMPORTED_MODULE_3__/* .sound */ .s)({ frequency });
767
+ (0,_sound__WEBPACK_IMPORTED_MODULE_4__.sound)({
768
+ frequency
769
+ });
1111
770
  }
1112
771
  }
1113
- };
1114
- RecognizeManager._instances = new Set();
1115
- RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
1116
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
772
+ constructor(async, api){
773
+ super(), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "async", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_lang", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_continuous", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_interimResults", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "sound", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_isEnabled", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_restartTimeout", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_onSpeechStart", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_api", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__interimResults", void 0), this.async = async, this._continuous = false, this._interimResults = false, this.sound = true, this._isEnabled = false, this._restartTimeout = 0, this._onSpeechStart = (e)=>{
774
+ if (!this._isEnabled) {
775
+ return;
776
+ }
777
+ this.async.clearTimeout(this._restartTimeout);
778
+ this._restartTimeout = this.async.setTimeout(()=>{
779
+ this.restart();
780
+ this.emit('pulse', false);
781
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.WARN);
782
+ }, 5000);
783
+ this.emit('pulse', true);
784
+ }, this.__interimResults = '';
785
+ this._api = api;
786
+ RecognizeManager._instances.add(this);
787
+ }
788
+ }
789
+ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(RecognizeManager, "_instances", new Set());
790
+ RecognizeManager = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
791
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
1117
792
  ], RecognizeManager);
1118
793
 
1119
794
 
795
+ /***/ }),
796
+
797
+ /***/ 72850:
798
+ /***/ (function(module) {
799
+
800
+ /*!
801
+ * Jodit Editor (https://xdsoft.net/jodit/)
802
+ * Released under MIT see LICENSE.txt in the project root for license information.
803
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
804
+ */ module.exports = {
805
+ newline: 'nylinje',
806
+ delete: 'slette',
807
+ space: 'rom',
808
+ 'Speech Recognize': 'Talegjenkjenning',
809
+ Sound: 'Lyd',
810
+ 'Interim Results': 'Midlertidige resultater'
811
+ };
812
+
813
+
814
+ /***/ }),
815
+
816
+ /***/ 73363:
817
+ /***/ (function(module) {
818
+
819
+ /*!
820
+ * Jodit Editor (https://xdsoft.net/jodit/)
821
+ * Released under MIT see LICENSE.txt in the project root for license information.
822
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
823
+ */ module.exports = {
824
+ newline: '줄 바꿈',
825
+ delete: '삭제',
826
+ space: '공간',
827
+ 'Speech Recognize': '음성 인식',
828
+ Sound: '소리',
829
+ 'Interim Results': '중간 결과'
830
+ };
831
+
1120
832
 
1121
833
  /***/ }),
1122
834
 
1123
- /***/ 95473:
1124
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
835
+ /***/ 73759:
836
+ /***/ (function(module) {
837
+
838
+ /*!
839
+ * Jodit Editor (https://xdsoft.net/jodit/)
840
+ * Released under MIT see LICENSE.txt in the project root for license information.
841
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
842
+ */ module.exports = {
843
+ newline: 'regel',
844
+ delete: 'verwijderen',
845
+ space: 'ruimte',
846
+ 'Speech Recognize': 'Spraak Herkennen',
847
+ Sound: 'Geluid',
848
+ 'Interim Results': 'Tussentijdse Resultaten'
849
+ };
850
+
851
+
852
+ /***/ }),
853
+
854
+ /***/ 74762:
855
+ /***/ (function(module) {
856
+
857
+ /*!
858
+ * Jodit Editor (https://xdsoft.net/jodit/)
859
+ * Released under MIT see LICENSE.txt in the project root for license information.
860
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
861
+ */ module.exports = {
862
+ newline: 'Шинэ мөр',
863
+ delete: 'Устгах',
864
+ space: 'Зай',
865
+ 'Speech Recognize': 'Дуу хоолой таних',
866
+ Sound: 'Дуу',
867
+ 'Interim Results': 'Түр зуурын үр дүн'
868
+ };
869
+
870
+
871
+ /***/ }),
872
+
873
+ /***/ 75143:
874
+ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
1125
875
 
1126
876
  "use strict";
1127
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1128
- /* harmony export */ s: function() { return /* binding */ sound; }
1129
- /* harmony export */ });
1130
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
1131
- /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81629);
877
+ /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22289);
878
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85932);
879
+ /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7909);
880
+ /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36400);
881
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29434);
882
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5266);
883
+ /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97743);
884
+ /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68097);
885
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22227);
886
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__);
1132
887
  /*!
1133
888
  * Jodit Editor (https://xdsoft.net/jodit/)
1134
889
  * Released under MIT see LICENSE.txt in the project root for license information.
1135
890
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1136
- */
1137
- /**
891
+ */ /**
1138
892
  * @module plugins/speech-recognize
1139
- */
893
+ */
1140
894
 
1141
895
 
1142
- /**
1143
- * @internal
1144
- */
1145
- function sound({ sec = 0.1, frequency = jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__/* .PII */ .N, gain = 0.1, type = 'sine' } = {}) {
1146
- if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow ||
1147
- (typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext === 'undefined' &&
1148
- typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext === 'undefined')) {
1149
- return;
896
+
897
+
898
+
899
+
900
+
901
+
902
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.speechRecognize = {
903
+ api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_6__.SpeechRecognition !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_6__.SpeechRecognition : null,
904
+ sound: true,
905
+ continuous: false,
906
+ interimResults: true,
907
+ commands: {
908
+ 'newline|enter': 'enter',
909
+ 'delete|remove word|delete word': 'backspaceWordButton',
910
+ comma: 'inserthtml::,',
911
+ underline: 'inserthtml::_',
912
+ hyphen: 'inserthtml::-',
913
+ space: 'inserthtml:: ',
914
+ question: 'inserthtml::?',
915
+ dot: 'inserthtml::.',
916
+ 'quote|quotes|open quote': "inserthtml::'",
917
+ 'header|header h1': 'formatblock::h1',
918
+ 'select all': 'selectall'
1150
919
  }
1151
- // one context per document
1152
- const context = new (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext ||
1153
- jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext)();
1154
- const vol = context.createGain();
1155
- const osc = context.createOscillator();
1156
- osc.type = type;
1157
- osc.frequency.value = frequency; // Hz
1158
- osc.connect(vol);
1159
- vol.connect(context.destination);
1160
- osc.start(); // start the oscillator
1161
- osc.stop(context.currentTime + sec);
1162
- vol.gain.value = gain;
1163
- }
920
+ };
921
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__.Icon.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default()));
922
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.speechRecognize = {
923
+ isVisible (j) {
924
+ return Boolean(j.o.speechRecognize.api);
925
+ },
926
+ isActive (jodit, _) {
927
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech');
928
+ return Boolean(api?.isEnabled);
929
+ },
930
+ isDisabled (jodit) {
931
+ return !jodit.o.speechRecognize.api;
932
+ },
933
+ exec (jodit, current, { button, control }) {
934
+ const { api: ApiConstructor, lang, continuous, interimResults, sound } = jodit.o.speechRecognize;
935
+ if (!ApiConstructor) {
936
+ jodit.alert('Speech recognize API unsupported in your browser');
937
+ return;
938
+ }
939
+ let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech');
940
+ if (!api) {
941
+ const nativeApi = new ApiConstructor();
942
+ api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__.RecognizeManager(jodit.async, nativeApi);
943
+ api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__.isString)(lang) ? lang : (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(jodit.od.documentElement, 'lang') ?? undefined;
944
+ api.continuous = continuous;
945
+ api.interimResults = interimResults;
946
+ api.sound = sound;
947
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech', api);
948
+ api.on('pulse', (enable)=>{
949
+ button.setMod('pulse', enable);
950
+ });
951
+ api.on('result', (text)=>jodit.e.fire('speechRecognizeResult', text));
952
+ api.on('progress', (text)=>jodit.e.fire('speechRecognizeProgressResult', text));
953
+ api.on('error', (text)=>jodit.message.error(text));
954
+ button.hookStatus('beforeDestruct', ()=>{
955
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech', null);
956
+ api.destruct();
957
+ });
958
+ }
959
+ if (control.args) {
960
+ const key = control.args[0];
961
+ if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__.isBoolean)(api[key])) {
962
+ api[key] = !api[key];
963
+ if (api.isEnabled) {
964
+ api.restart();
965
+ }
966
+ return;
967
+ }
968
+ }
969
+ api.toggle();
970
+ if (api.isEnabled) {
971
+ button.setMod('pulse', true);
972
+ }
973
+ button.state.activated = api.isEnabled;
974
+ },
975
+ name: 'speechRecognize',
976
+ command: 'toggleSpeechRecognize',
977
+ tooltip: 'Speech Recognize',
978
+ list: {
979
+ sound: 'Sound',
980
+ interimResults: 'Interim Results'
981
+ },
982
+ childTemplate (jodit, key, value) {
983
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech'), checked = api?.[key] ?? jodit.o.speechRecognize[key];
984
+ return `<span class='jodit-speech-recognize__list-item'><input ${checked ? 'checked' : ''} class='jodit-checkbox' type='checkbox'>&nbsp;${value}</span>`;
985
+ },
986
+ mods: {
987
+ stroke: false
988
+ }
989
+ };
990
+
991
+
992
+ /***/ }),
993
+
994
+ /***/ 81900:
995
+ /***/ (function(module) {
996
+
997
+ /*!
998
+ * Jodit Editor (https://xdsoft.net/jodit/)
999
+ * Released under MIT see LICENSE.txt in the project root for license information.
1000
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1001
+ */ module.exports = {
1002
+ newline: 'newline',
1003
+ delete: 'Hapus',
1004
+ space: 'ruang',
1005
+ 'Speech Recognize': 'Pidato Mengenali',
1006
+ Sound: 'Suara',
1007
+ 'Interim Results': 'Hasil Sementara'
1008
+ };
1164
1009
 
1165
1010
 
1166
1011
  /***/ }),
1167
1012
 
1168
- /***/ 95700:
1013
+ /***/ 93423:
1169
1014
  /***/ (function(module) {
1170
1015
 
1016
+ /*!
1017
+ * Jodit Editor (https://xdsoft.net/jodit/)
1018
+ * Released under MIT see LICENSE.txt in the project root for license information.
1019
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1020
+ */ module.exports = {
1021
+ newline: 'yeni satır',
1022
+ delete: 'silmek',
1023
+ space: 'uzay',
1024
+ 'Speech Recognize': 'Konuşma Tanıma',
1025
+ Sound: 'Ses',
1026
+ 'Interim Results': 'Ara Sonuçlar'
1027
+ };
1028
+
1029
+
1030
+ /***/ }),
1031
+
1032
+ /***/ 94092:
1033
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1034
+
1171
1035
  "use strict";
1036
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1037
+ /* harmony export */ PII: function() { return /* binding */ PII; },
1038
+ /* harmony export */ WARN: function() { return /* binding */ WARN; }
1039
+ /* harmony export */ });
1040
+ /*!
1041
+ * Jodit Editor (https://xdsoft.net/jodit/)
1042
+ * Released under MIT see LICENSE.txt in the project root for license information.
1043
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1044
+ */ /**
1045
+ * @module plugins/speech-recognize
1046
+ * @internal
1047
+ */ const PII = 440;
1048
+ const WARN = 940;
1049
+
1050
+
1051
+ /***/ }),
1052
+
1053
+ /***/ 97509:
1054
+ /***/ (function(module) {
1172
1055
 
1173
1056
  /*!
1174
1057
  * Jodit Editor (https://xdsoft.net/jodit/)
1175
1058
  * Released under MIT see LICENSE.txt in the project root for license information.
1176
1059
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1177
- */
1178
- module.exports = {
1179
- newline: 'новая строка|перенос|ентер',
1180
- delete: 'видалити',
1181
- space: 'пробел',
1182
- 'Speech Recognize': 'Распознавание речи',
1183
- Sound: 'Звук',
1184
- 'Interim Results': 'Проміжні результати'
1060
+ */ module.exports = {
1061
+ newline: 'nueva línea',
1062
+ delete: 'eliminar',
1063
+ space: 'espacio',
1064
+ 'Speech Recognize': 'Reconocimiento de Voz',
1065
+ Sound: 'Sonido',
1066
+ 'Interim Results': 'Resultados Provisionales'
1185
1067
  };
1186
1068
 
1187
1069
 
1070
+ /***/ }),
1071
+
1072
+ /***/ 97743:
1073
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1074
+
1075
+ "use strict";
1076
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1077
+ /* harmony export */ SpeechRecognition: function() { return /* binding */ SpeechRecognition; }
1078
+ /* harmony export */ });
1079
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
1080
+ /*!
1081
+ * Jodit Editor (https://xdsoft.net/jodit/)
1082
+ * Released under MIT see LICENSE.txt in the project root for license information.
1083
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1084
+ */ /**
1085
+ * @module plugins/speech-recognize
1086
+ */
1087
+ const SpeechRecognition = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow ? jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.SpeechRecognition || jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitSpeechRecognition : undefined;
1088
+
1089
+
1188
1090
  /***/ })
1189
1091
 
1190
1092
  },
1191
1093
  /******/ function(__webpack_require__) { // webpackRuntimeModules
1192
1094
  /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
1193
- /******/ var __webpack_exports__ = (__webpack_exec__(37873));
1095
+ /******/ var __webpack_exports__ = (__webpack_exec__(31262));
1194
1096
  /******/ return __webpack_exports__;
1195
1097
  /******/ }
1196
1098
  ]);