@ckeditor/ckeditor5-export-word 43.3.1 → 44.0.0-alpha.0

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 (156) hide show
  1. package/README.md +12 -6
  2. package/build/export-word.js +1 -1
  3. package/dist/exportword.d.ts +24 -0
  4. package/dist/index.js +1 -1
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +5 -5
  150. package/src/exportword.d.ts +24 -0
  151. package/src/exportword.js +1 -1
  152. package/src/exportwordcommand.js +1 -1
  153. package/src/exportwordui.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/utils/common-translations.js +1 -1
  156. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x582eae=>0x0}};
23
+ export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x4c65f9=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x344d8f=>{const {'zh-cn':{dictionary:_0x11ff6a,getPluralForm:_0x2af272}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x527247=>0x0}};_0x344d8f['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x344d8f['zh-cn']['dictionary']=Object['assign'](_0x344d8f['zh-cn']['dictionary'],_0x11ff6a),_0x344d8f['zh-cn']['getPluralForm']=_0x2af272;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8c16cb=>{const {'zh-cn':{dictionary:_0x3ad057,getPluralForm:_0x2bca3d}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x1a9190=>0x0}};_0x8c16cb['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x8c16cb['zh-cn']['dictionary']=Object['assign'](_0x8c16cb['zh-cn']['dictionary'],_0x3ad057),_0x8c16cb['zh-cn']['getPluralForm']=_0x2bca3d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x4d1974=>0x0}};
23
+ export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x4e5c33=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc4d8b9=>{const {zh:{dictionary:_0x40f5ba,getPluralForm:_0x12246c}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x8b49f3=>0x0}};_0xc4d8b9['zh']||={'dictionary':{},'getPluralForm':null},_0xc4d8b9['zh']['dictionary']=Object['assign'](_0xc4d8b9['zh']['dictionary'],_0x40f5ba),_0xc4d8b9['zh']['getPluralForm']=_0x12246c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b2418=>{const {zh:{dictionary:_0x2953db,getPluralForm:_0x20cc51}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x4ac431=>0x0}};_0x4b2418['zh']||={'dictionary':{},'getPluralForm':null},_0x4b2418['zh']['dictionary']=Object['assign'](_0x4b2418['zh']['dictionary'],_0x2953db),_0x4b2418['zh']['getPluralForm']=_0x20cc51;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "43.3.1",
3
+ "version": "44.0.0-alpha.0",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,10 +30,10 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-core": "43.3.1",
34
- "@ckeditor/ckeditor5-utils": "43.3.1",
35
- "@ckeditor/ckeditor5-ui": "43.3.1",
36
- "ckeditor5": "43.3.1"
33
+ "@ckeditor/ckeditor5-core": "44.0.0-alpha.0",
34
+ "@ckeditor/ckeditor5-utils": "44.0.0-alpha.0",
35
+ "@ckeditor/ckeditor5-ui": "44.0.0-alpha.0",
36
+ "ckeditor5": "44.0.0-alpha.0"
37
37
  },
38
38
  "license": "SEE LICENSE IN LICENSE.md",
39
39
  "author": "CKSource (https://cksource.com/)",
@@ -210,6 +210,29 @@ export interface ExportWordConfig {
210
210
  * @default '2'
211
211
  */
212
212
  version?: 1 | 2;
213
+ /**
214
+ * The watermark configuration.
215
+ *
216
+ * ```ts
217
+ * converterOptions: {
218
+ * watermark: {
219
+ * source: 'https://via.placeholder.com/200',
220
+ * width: '500px',
221
+ * height: '600px',
222
+ * washout: 'false'
223
+ * }
224
+ * }
225
+ * ```
226
+ *
227
+ * The watermark configuration is represented as an object containing 4 properties:
228
+ *
229
+ * - `source`: A source of the image used for the watermark.
230
+ * - `width`: A string value representing the width of the watermark.
231
+ * - `height`: A string value representing the height of the watermark.
232
+ * - `washout`: Determines whether the washout effect should be applied. Optional - the default value is `false`.
233
+ *
234
+ */
235
+ watermark?: ExportWordConverterWatermarkV2;
213
236
  }
214
237
  export type ExportWordConverterOptions = {
215
238
  format?: ExportWordConverterFormatOption;
@@ -277,6 +300,7 @@ export type ExportWordConverterWatermarkV2 = {
277
300
  source?: string;
278
301
  width?: string;
279
302
  height?: string;
303
+ washout?: boolean;
280
304
  };
281
305
  /**
282
306
  * If fetching some resources (e.g. images) used in a generated Word requires passing an additional
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7bb8(){const _0x5b0d96=['380424vlgnuf','requires','4815220ULbYjW','6hirXmx','init','plugins','then','22gGFFtN','editor','config','token','2529615HgvVjS','ExportWord','isOfficialPlugin','CloudServices','1309452pISPIn','add','4TmGVML','249648zTbReu','isPremiumPlugin','commands','117QebKnV','get','pluginName','481096FyLMWb','tokenUrl','registerTokenUrl','_token','272530djeirO','exportWord'];_0x7bb8=function(){return _0x5b0d96;};return _0x7bb8();}const _0x24861a=_0x8943;(function(_0x1c1515,_0x30dbb6){const _0x5acd5a=_0x8943,_0x7736c6=_0x1c1515();while(!![]){try{const _0x5cd908=parseInt(_0x5acd5a(0x1ee))/0x1+-parseInt(_0x5acd5a(0x202))/0x2+parseInt(_0x5acd5a(0x1ff))/0x3*(parseInt(_0x5acd5a(0x201))/0x4)+parseInt(_0x5acd5a(0x1fb))/0x5*(-parseInt(_0x5acd5a(0x1f3))/0x6)+parseInt(_0x5acd5a(0x1ea))/0x7+parseInt(_0x5acd5a(0x1f0))/0x8*(-parseInt(_0x5acd5a(0x1e7))/0x9)+-parseInt(_0x5acd5a(0x1f2))/0xa*(-parseInt(_0x5acd5a(0x1f7))/0xb);if(_0x5cd908===_0x30dbb6)break;else _0x7736c6['push'](_0x7736c6['shift']());}catch(_0x339f22){_0x7736c6['push'](_0x7736c6['shift']());}}}(_0x7bb8,0x7814a));import{Plugin as _0x343983}from'ckeditor5/src/core.js';import{Notification as _0x4e219f}from'ckeditor5/src/ui.js';function _0x8943(_0x62345a,_0xf61c4){const _0x7bb83a=_0x7bb8();return _0x8943=function(_0x8943f3,_0x3e37f0){_0x8943f3=_0x8943f3-0x1e6;let _0x355010=_0x7bb83a[_0x8943f3];return _0x355010;},_0x8943(_0x62345a,_0xf61c4);}import _0x187a83 from'./exportwordcommand.js';import _0x2c10b8 from'./exportwordui.js';export default class s extends _0x343983{static get[_0x24861a(0x1e9)](){const _0x4f9104=_0x24861a;return _0x4f9104(0x1fc);}static get[_0x24861a(0x1fd)](){return!0x0;}static get[_0x24861a(0x203)](){return!0x0;}static get[_0x24861a(0x1f1)](){const _0x3fe21b=_0x24861a;return[_0x3fe21b(0x1fe),_0x4e219f,_0x2c10b8];}[_0x24861a(0x1f4)](){const _0x2c9398=_0x24861a,_0x2bdded=this[_0x2c9398(0x1f8)],_0x44a0e8=_0x2bdded[_0x2c9398(0x1f9)][_0x2c9398(0x1e8)](_0x2c9398(0x1ef))||{};_0x2bdded[_0x2c9398(0x1e6)][_0x2c9398(0x200)](_0x2c9398(0x1ef),new _0x187a83(_0x2bdded));const _0x324e9a=_0x2bdded[_0x2c9398(0x1f5)][_0x2c9398(0x1e8)](_0x2c9398(0x1fe));!0x1===_0x44a0e8[_0x2c9398(0x1eb)]?this[_0x2c9398(0x1ed)]=null:_0x44a0e8[_0x2c9398(0x1eb)]?_0x324e9a[_0x2c9398(0x1ec)](_0x44a0e8[_0x2c9398(0x1eb)])[_0x2c9398(0x1f6)](_0x33203d=>{const _0x32ed59=_0x2c9398;this[_0x32ed59(0x1ed)]=_0x33203d;}):this[_0x2c9398(0x1ed)]=_0x324e9a[_0x2c9398(0x1fa)];}}
23
+ const _0xd86bc1=_0x4c53;function _0x4c53(_0x378b7f,_0x1e510d){const _0x50cf30=_0x50cf();return _0x4c53=function(_0x4c5383,_0x36dc97){_0x4c5383=_0x4c5383-0x181;let _0x189f26=_0x50cf30[_0x4c5383];return _0x189f26;},_0x4c53(_0x378b7f,_0x1e510d);}function _0x50cf(){const _0x58bd0c=['isOfficialPlugin','11380TwBRpi','_token','get','plugins','commands','token','5825369lmageM','3027UkKzVt','init','add','6cLsMwr','then','config','requires','549415IdUcwP','1426800QgHoTb','pluginName','684dztagE','24uOXLPi','exportWord','4rCyszV','registerTokenUrl','240737IgTKtX','11182RsbrHZ','isPremiumPlugin','CloudServices','tokenUrl','ExportWord','editor'];_0x50cf=function(){return _0x58bd0c;};return _0x50cf();}(function(_0xd4be20,_0x425543){const _0x2f5a5e=_0x4c53,_0x2a5ad6=_0xd4be20();while(!![]){try{const _0x620044=parseInt(_0x2f5a5e(0x194))/0x1*(-parseInt(_0x2f5a5e(0x199))/0x2)+-parseInt(_0x2f5a5e(0x189))/0x3*(parseInt(_0x2f5a5e(0x196))/0x4)+-parseInt(_0x2f5a5e(0x190))/0x5+parseInt(_0x2f5a5e(0x18c))/0x6*(parseInt(_0x2f5a5e(0x198))/0x7)+-parseInt(_0x2f5a5e(0x191))/0x8+parseInt(_0x2f5a5e(0x193))/0x9*(parseInt(_0x2f5a5e(0x182))/0xa)+parseInt(_0x2f5a5e(0x188))/0xb;if(_0x620044===_0x425543)break;else _0x2a5ad6['push'](_0x2a5ad6['shift']());}catch(_0x57ddb9){_0x2a5ad6['push'](_0x2a5ad6['shift']());}}}(_0x50cf,0x376d8));import{Plugin as _0x2e9d1d}from'ckeditor5/src/core.js';import{Notification as _0x1fe829}from'ckeditor5/src/ui.js';import _0x31c393 from'./exportwordcommand.js';import _0x4a61d9 from'./exportwordui.js';export default class s extends _0x2e9d1d{static get[_0xd86bc1(0x192)](){const _0x170f2f=_0xd86bc1;return _0x170f2f(0x19d);}static get[_0xd86bc1(0x181)](){return!0x0;}static get[_0xd86bc1(0x19a)](){return!0x0;}static get[_0xd86bc1(0x18f)](){const _0x51bf1a=_0xd86bc1;return[_0x51bf1a(0x19b),_0x1fe829,_0x4a61d9];}[_0xd86bc1(0x18a)](){const _0xf414e4=_0xd86bc1,_0x460165=this[_0xf414e4(0x19e)],_0x43688f=_0x460165[_0xf414e4(0x18e)][_0xf414e4(0x184)](_0xf414e4(0x195))||{};_0x460165[_0xf414e4(0x186)][_0xf414e4(0x18b)](_0xf414e4(0x195),new _0x31c393(_0x460165));const _0x10453c=_0x460165[_0xf414e4(0x185)][_0xf414e4(0x184)](_0xf414e4(0x19b));!0x1===_0x43688f[_0xf414e4(0x19c)]?this[_0xf414e4(0x183)]=null:_0x43688f[_0xf414e4(0x19c)]?_0x10453c[_0xf414e4(0x197)](_0x43688f[_0xf414e4(0x19c)])[_0xf414e4(0x18d)](_0x24b24a=>{const _0xb44c06=_0xf414e4;this[_0xb44c06(0x183)]=_0x24b24a;}):this[_0xf414e4(0x183)]=_0x10453c[_0xf414e4(0x187)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x404b3d=_0x3c02;(function(_0x4032ec,_0x450546){const _0x400def=_0x3c02,_0x387eb7=_0x4032ec();while(!![]){try{const _0x252855=parseInt(_0x400def(0x110))/0x1*(-parseInt(_0x400def(0xef))/0x2)+-parseInt(_0x400def(0xe5))/0x3+-parseInt(_0x400def(0x107))/0x4+-parseInt(_0x400def(0x112))/0x5+-parseInt(_0x400def(0x108))/0x6*(-parseInt(_0x400def(0x12c))/0x7)+parseInt(_0x400def(0xee))/0x8*(parseInt(_0x400def(0xff))/0x9)+parseInt(_0x400def(0xf9))/0xa;if(_0x252855===_0x450546)break;else _0x387eb7['push'](_0x387eb7['shift']());}catch(_0x2d9b4e){_0x387eb7['push'](_0x387eb7['shift']());}}}(_0x1c8a,0x48528));import{Command as _0x18c434}from'ckeditor5/src/core.js';function _0x3c02(_0x1df999,_0x438a94){const _0x1c8acd=_0x1c8a();return _0x3c02=function(_0x3c0206,_0x44d07c){_0x3c0206=_0x3c0206-0xdd;let _0x4a470f=_0x1c8acd[_0x3c0206];return _0x4a470f;},_0x3c02(_0x1df999,_0x438a94);}function _0x1c8a(){const _0x3a194f=['value','560565tMZWil','createObjectURL','createElement','Word\x20document\x20export\x20started','token','config','isEnabled','isBusy','948792yJKoVb','354QSLwom','affectsData','EDITOR_STYLES','export-word-v1-api-is-deprecated','header','catch','showWarning','Notification','87374VoUSPM','announce','1641270vUTfCY','data','click','URL','fileName','application/json','ariaLiveAnnouncer','plugins','get','_token','footer','ExportWord','</div>','margin_top','document.docx','finally','version','remove','application/docx','blob','Word\x20document\x20export\x20failed','POST','assertive','https://docx-converter.cke-cs.com/v1/convert','status','download','2905hfafTu','stylesheets','_downloadFile','then','format','options','auto_pagination','margin_bottom','refresh','dataCallback','80226wXGOWV','margin_right','locale','suggestions','set','stringify','editor','Word\x20document\x20export\x20successful','href','40lyyyAl','10NFZBBo','converterUrl','contentLanguageDirection','function','converterOptions','margin_left','orientation','<div\x20class=\x22ck-content\x22\x20dir=\x22','fetch','https://docx-converter.cke-cs.com/v2/convert/html-docx','9893860ytCAVs','pending','execute','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','comments'];_0x1c8a=function(){return _0x3a194f;};return _0x1c8a();}import{logWarning as _0x4b12ae}from'ckeditor5/src/utils.js';import{getStyles as _0x209f43,getConverterOptions as _0x2eea54,getConverterOptionsV2 as _0x273a2d}from'./utils.js';import{getTranslation as _0x5e9f17}from'./utils/common-translations.js';const h=[_0x404b3d(0xf5),_0x404b3d(0x11f),_0x404b3d(0xe6),_0x404b3d(0xe2),_0x404b3d(0xf4),_0x404b3d(0xdf),_0x404b3d(0x10c),_0x404b3d(0x11c),_0x404b3d(0xfd),_0x404b3d(0xe8)];export default class e extends _0x18c434{constructor(_0x1d1836){const _0x5299f2=_0x404b3d;super(_0x1d1836),this[_0x5299f2(0xe9)](_0x5299f2(0x106),!0x1),this[_0x5299f2(0x109)]=!0x1;}[_0x404b3d(0xe3)](){const _0x3d85b0=_0x404b3d;this[_0x3d85b0(0x105)]=!this[_0x3d85b0(0x106)],this[_0x3d85b0(0xfe)]=this[_0x3d85b0(0x106)]?_0x3d85b0(0xfa):void 0x0;}[_0x404b3d(0xfb)](_0x3b4d53={}){const _0x59f232=_0x404b3d,_0x3289e5=this[_0x59f232(0xeb)],_0x22f6d1=_0x3b4d53[_0x59f232(0x122)]||0x2,_0x385a7c=0x1===_0x22f6d1,_0x3caffa=_0x3b4d53[_0x59f232(0xf0)]||(_0x385a7c?_0x59f232(0x129):_0x59f232(0xf8)),_0xd9203c=_0x3b4d53[_0x59f232(0xf3)]||{},_0x23a29a=_0x3289e5[_0x59f232(0x119)][_0x59f232(0x11a)](_0x59f232(0x11d)),_0x7cfcd6=_0x3b4d53[_0x59f232(0x103)]||_0x23a29a[_0x59f232(0x11b)],_0x350936=!0x0===_0xd9203c[_0x59f232(0xe1)],_0x1ebd7b=_0x3b4d53[_0x59f232(0xe4)]||(_0x42261b=>_0x42261b[_0x59f232(0x113)][_0x59f232(0x11a)]({'pagination':_0x350936}));return 0x2===_0x22f6d1&&function(_0x24c9d3){for(const _0x3a3932 of h)if(void 0x0!==_0x24c9d3[_0x3a3932])return!0x0;return!0x1;}(_0xd9203c)&&_0x4b12ae(_0x59f232(0x10b)),this[_0x59f232(0x106)]=!0x0,this[_0x59f232(0xe3)](),_0x209f43(_0x3b4d53[_0x59f232(0x12d)]||[_0x59f232(0x10a)])[_0x59f232(0xde)](async _0x2ecc38=>{const _0x46c4cb=_0x59f232;_0x3289e5['ui'][_0x46c4cb(0x118)][_0x46c4cb(0x111)](_0x5e9f17(_0x3289e5[_0x46c4cb(0xe7)],_0x46c4cb(0x102)));const _0x8e4dc5=await _0x1ebd7b(_0x3289e5),_0x368025={'html':_0x46c4cb(0xf6)+_0x3289e5[_0x46c4cb(0xe7)][_0x46c4cb(0xf1)]+'\x22>'+_0x8e4dc5+_0x46c4cb(0x11e),'css':_0x2ecc38,[_0x385a7c?_0x46c4cb(0xe0):_0x46c4cb(0x104)]:{..._0xd9203c,..._0x385a7c?_0x2eea54(_0x3289e5,_0xd9203c):_0x273a2d(_0x3289e5,_0xd9203c)}},_0x38b79d={'method':_0x46c4cb(0x127),'headers':{'Content-Type':_0x46c4cb(0x117),'Accept':_0x46c4cb(0x124),..._0x7cfcd6?{'Authorization':_0x7cfcd6[_0x46c4cb(0xfe)]}:null},'body':JSON[_0x46c4cb(0xea)](_0x368025)};return window[_0x46c4cb(0xf7)](_0x3caffa,_0x38b79d)[_0x46c4cb(0xde)](_0x212c28=>{const _0x40b047=_0x46c4cb;if(0xc8!==_0x212c28[_0x40b047(0x12a)])throw _0x212c28;return _0x212c28[_0x40b047(0x125)]();})[_0x46c4cb(0xde)](_0xc4cd41=>{const _0x3677da=_0x46c4cb;_0x3289e5['ui'][_0x3677da(0x118)][_0x3677da(0x111)](_0x5e9f17(_0x3289e5[_0x3677da(0xe7)],_0x3677da(0xec)));const _0x506549=_0x3677da(0xf2)==typeof _0x3b4d53[_0x3677da(0x116)]?_0x3b4d53[_0x3677da(0x116)]():_0x3b4d53[_0x3677da(0x116)];this[_0x3677da(0xdd)](_0xc4cd41,_0x506549||_0x3677da(0x120));});})[_0x59f232(0x10d)](_0x47185d=>{const _0x1fcd18=_0x59f232,_0x300f16=_0x3289e5[_0x1fcd18(0x119)][_0x1fcd18(0x11a)](_0x1fcd18(0x10f));throw _0x3289e5['ui'][_0x1fcd18(0x118)][_0x1fcd18(0x111)](_0x5e9f17(_0x3289e5[_0x1fcd18(0xe7)],_0x1fcd18(0x126)),{'politeness':_0x1fcd18(0x128)}),_0x300f16[_0x1fcd18(0x10e)](_0x5e9f17(_0x3289e5[_0x1fcd18(0xe7)],_0x1fcd18(0xfc))),_0x47185d;})[_0x59f232(0x121)](()=>{const _0x296250=_0x59f232;this[_0x296250(0x106)]=!0x1,this[_0x296250(0xe3)]();});}[_0x404b3d(0xdd)](_0x4c2f62,_0x176c3c){const _0x333b79=_0x404b3d,_0x454866=document[_0x333b79(0x101)]('a');_0x454866[_0x333b79(0xed)]=window[_0x333b79(0x115)][_0x333b79(0x100)](_0x4c2f62),_0x454866[_0x333b79(0x12b)]=_0x176c3c,_0x454866[_0x333b79(0x114)](),_0x454866[_0x333b79(0x123)]();}}
23
+ const _0x27acb7=_0x1ad1;(function(_0x1b1b06,_0x14abd2){const _0x4785ad=_0x1ad1,_0x4b9364=_0x1b1b06();while(!![]){try{const _0x46645d=parseInt(_0x4785ad(0x212))/0x1+parseInt(_0x4785ad(0x1f0))/0x2*(parseInt(_0x4785ad(0x1f5))/0x3)+-parseInt(_0x4785ad(0x1ef))/0x4+-parseInt(_0x4785ad(0x209))/0x5+-parseInt(_0x4785ad(0x217))/0x6*(parseInt(_0x4785ad(0x214))/0x7)+-parseInt(_0x4785ad(0x20b))/0x8*(-parseInt(_0x4785ad(0x1fb))/0x9)+parseInt(_0x4785ad(0x1d4))/0xa;if(_0x46645d===_0x14abd2)break;else _0x4b9364['push'](_0x4b9364['shift']());}catch(_0x2bff94){_0x4b9364['push'](_0x4b9364['shift']());}}}(_0x22fc,0xb2996));function _0x1ad1(_0x649759,_0x2181d3){const _0x22fced=_0x22fc();return _0x1ad1=function(_0x1ad140,_0x22b6bf){_0x1ad140=_0x1ad140-0x1cc;let _0x1bbd80=_0x22fced[_0x1ad140];return _0x1bbd80;},_0x1ad1(_0x649759,_0x2181d3);}import{Command as _0x2af3f0}from'ckeditor5/src/core.js';function _0x22fc(){const _0x44ff0a=['remove','margin_top','application/json','ariaLiveAnnouncer','9qmvHpE','href','fileName','comments','isEnabled','Word\x20document\x20export\x20started','export-word-v1-api-is-deprecated','affectsData','get','plugins','URL','header','download','finally','6239635ACRlKO','refresh','6640544mBKgKF','auto_pagination','then','POST','status','catch','format','852412gbhqOB','click','150556ATEJcW','dataCallback','pending','114cYrxGp','application/docx','locale','isBusy','EDITOR_STYLES','</div>','margin_right','_token','suggestions','token','document.docx','https://docx-converter.cke-cs.com/v1/convert','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','converterUrl','883800HzswcI','converterOptions','announce','value','function','<div\x20class=\x22ck-content\x22\x20dir=\x22','data','fetch','orientation','https://docx-converter.cke-cs.com/v2/convert/html-docx','stylesheets','execute','stringify','ExportWord','options','footer','set','margin_left','margin_bottom','createElement','version','Notification','config','editor','Word\x20document\x20export\x20successful','_downloadFile','Word\x20document\x20export\x20failed','1231144IQKGHu','616698akAIFm','blob','showWarning','assertive','contentLanguageDirection','9OPscXq','createObjectURL'];_0x22fc=function(){return _0x44ff0a;};return _0x22fc();}import{logWarning as _0x2fc011}from'ckeditor5/src/utils.js';import{getStyles as _0x4e8f3d,getConverterOptions as _0x2e3dd4,getConverterOptionsV2 as _0x3283b3}from'./utils.js';import{getTranslation as _0x514e12}from'./utils/common-translations.js';const h=[_0x27acb7(0x1dc),_0x27acb7(0x1f8),_0x27acb7(0x1cc),_0x27acb7(0x1e6),_0x27acb7(0x1e5),_0x27acb7(0x211),_0x27acb7(0x206),_0x27acb7(0x1e3),_0x27acb7(0x1fe),_0x27acb7(0x1ce)];export default class e extends _0x2af3f0{constructor(_0x8b6a0b){const _0x5d05c4=_0x27acb7;super(_0x8b6a0b),this[_0x5d05c4(0x1e4)](_0x5d05c4(0x21a),!0x1),this[_0x5d05c4(0x202)]=!0x1;}[_0x27acb7(0x20a)](){const _0x514c12=_0x27acb7;this[_0x514c12(0x1ff)]=!this[_0x514c12(0x21a)],this[_0x514c12(0x1d7)]=this[_0x514c12(0x21a)]?_0x514c12(0x216):void 0x0;}[_0x27acb7(0x1df)](_0x11f338={}){const _0x5f442f=_0x27acb7,_0x5cac9e=this[_0x5f442f(0x1eb)],_0x27d50e=_0x11f338[_0x5f442f(0x1e8)]||0x2,_0x202e94=0x1===_0x27d50e,_0x112584=_0x11f338[_0x5f442f(0x1d3)]||(_0x202e94?_0x5f442f(0x1d1):_0x5f442f(0x1dd)),_0x361471=_0x11f338[_0x5f442f(0x1d5)]||{},_0x37a82d=_0x5cac9e[_0x5f442f(0x204)][_0x5f442f(0x203)](_0x5f442f(0x1e1)),_0x257681=_0x11f338[_0x5f442f(0x1cf)]||_0x37a82d[_0x5f442f(0x1cd)],_0x262836=!0x0===_0x361471[_0x5f442f(0x20c)],_0x1ee285=_0x11f338[_0x5f442f(0x215)]||(_0xe469ab=>_0xe469ab[_0x5f442f(0x1da)][_0x5f442f(0x203)]({'pagination':_0x262836}));return 0x2===_0x27d50e&&function(_0x507429){for(const _0x3deaf4 of h)if(void 0x0!==_0x507429[_0x3deaf4])return!0x0;return!0x1;}(_0x361471)&&_0x2fc011(_0x5f442f(0x201)),this[_0x5f442f(0x21a)]=!0x0,this[_0x5f442f(0x20a)](),_0x4e8f3d(_0x11f338[_0x5f442f(0x1de)]||[_0x5f442f(0x21b)])[_0x5f442f(0x20d)](async _0x4a2a86=>{const _0x478bf9=_0x5f442f;_0x5cac9e['ui'][_0x478bf9(0x1fa)][_0x478bf9(0x1d6)](_0x514e12(_0x5cac9e[_0x478bf9(0x219)],_0x478bf9(0x200)));const _0x298edc=await _0x1ee285(_0x5cac9e),_0x1d535d={'html':_0x478bf9(0x1d9)+_0x5cac9e[_0x478bf9(0x219)][_0x478bf9(0x1f4)]+'\x22>'+_0x298edc+_0x478bf9(0x21c),'css':_0x4a2a86,[_0x202e94?_0x478bf9(0x1e2):_0x478bf9(0x1ea)]:{..._0x361471,..._0x202e94?_0x2e3dd4(_0x5cac9e,_0x361471):_0x3283b3(_0x5cac9e,_0x361471)}},_0x3b3608={'method':_0x478bf9(0x20e),'headers':{'Content-Type':_0x478bf9(0x1f9),'Accept':_0x478bf9(0x218),..._0x257681?{'Authorization':_0x257681[_0x478bf9(0x1d7)]}:null},'body':JSON[_0x478bf9(0x1e0)](_0x1d535d)};return window[_0x478bf9(0x1db)](_0x112584,_0x3b3608)[_0x478bf9(0x20d)](_0x3971bb=>{const _0x24e60c=_0x478bf9;if(0xc8!==_0x3971bb[_0x24e60c(0x20f)])throw _0x3971bb;return _0x3971bb[_0x24e60c(0x1f1)]();})[_0x478bf9(0x20d)](_0x255e9e=>{const _0x3cf075=_0x478bf9;_0x5cac9e['ui'][_0x3cf075(0x1fa)][_0x3cf075(0x1d6)](_0x514e12(_0x5cac9e[_0x3cf075(0x219)],_0x3cf075(0x1ec)));const _0x53836e=_0x3cf075(0x1d8)==typeof _0x11f338[_0x3cf075(0x1fd)]?_0x11f338[_0x3cf075(0x1fd)]():_0x11f338[_0x3cf075(0x1fd)];this[_0x3cf075(0x1ed)](_0x255e9e,_0x53836e||_0x3cf075(0x1d0));});})[_0x5f442f(0x210)](_0x67db9c=>{const _0x2831b7=_0x5f442f,_0x7b1f8b=_0x5cac9e[_0x2831b7(0x204)][_0x2831b7(0x203)](_0x2831b7(0x1e9));throw _0x5cac9e['ui'][_0x2831b7(0x1fa)][_0x2831b7(0x1d6)](_0x514e12(_0x5cac9e[_0x2831b7(0x219)],_0x2831b7(0x1ee)),{'politeness':_0x2831b7(0x1f3)}),_0x7b1f8b[_0x2831b7(0x1f2)](_0x514e12(_0x5cac9e[_0x2831b7(0x219)],_0x2831b7(0x1d2))),_0x67db9c;})[_0x5f442f(0x208)](()=>{const _0x17d927=_0x5f442f;this[_0x17d927(0x21a)]=!0x1,this[_0x17d927(0x20a)]();});}[_0x27acb7(0x1ed)](_0x56f167,_0x294e2a){const _0x3f8bf7=_0x27acb7,_0x4bb606=document[_0x3f8bf7(0x1e7)]('a');_0x4bb606[_0x3f8bf7(0x1fc)]=window[_0x3f8bf7(0x205)][_0x3f8bf7(0x1f6)](_0x56f167),_0x4bb606[_0x3f8bf7(0x207)]=_0x294e2a,_0x4bb606[_0x3f8bf7(0x213)](),_0x4bb606[_0x3f8bf7(0x1f7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x143560=_0x4395;function _0x4395(_0x45b0a1,_0x10443a){const _0x4aff28=_0x4aff();return _0x4395=function(_0x4395c8,_0x22bd53){_0x4395c8=_0x4395c8-0x119;let _0x402bd8=_0x4aff28[_0x4395c8];return _0x402bd8;},_0x4395(_0x45b0a1,_0x10443a);}function _0x4aff(){const _0x4b37fd=['21dsoDje','commands','editing','locale','isVisible','view','2728604twNdcR','add','isOn','pluginName','32nAFLjn','isBusy','bind','Exporting\x20Word\x20document','label','1292564ObXwpV','children','listenTo','get','focus','iconView','isPremiumPlugin','329268KSjeXG','Export\x20to\x20Word','3327615KHMPUg','656035SmRFQi','ExportWordUI','_createButton','set','editor','348096cBnSuu','config','isEnabled','menuBar:exportWord','componentFactory','isOfficialPlugin','execute','4459384SfXnyu','init','exportWord'];_0x4aff=function(){return _0x4b37fd;};return _0x4aff();}(function(_0x1f609a,_0x459c94){const _0x34ed10=_0x4395,_0x212890=_0x1f609a();while(!![]){try{const _0x141843=parseInt(_0x34ed10(0x13e))/0x1+-parseInt(_0x34ed10(0x135))/0x2+-parseInt(_0x34ed10(0x11d))/0x3+-parseInt(_0x34ed10(0x139))/0x4*(parseInt(_0x34ed10(0x120))/0x5)+parseInt(_0x34ed10(0x125))/0x6+parseInt(_0x34ed10(0x12f))/0x7*(parseInt(_0x34ed10(0x12c))/0x8)+parseInt(_0x34ed10(0x11f))/0x9;if(_0x141843===_0x459c94)break;else _0x212890['push'](_0x212890['shift']());}catch(_0x42971a){_0x212890['push'](_0x212890['shift']());}}}(_0x4aff,0xd4206));import{Plugin as _0x4056bf}from'ckeditor5/src/core.js';import{ButtonView as _0x200c9f,MenuBarMenuListItemButtonView as _0x2b2f68,SpinnerView as _0x580f78}from'ckeditor5/src/ui.js';import _0x2d4238 from'../theme/icons/exportword.svg';import{getTranslation as _0x45ebb5}from'./utils/common-translations.js';export default class o extends _0x4056bf{static get[_0x143560(0x138)](){const _0x4fb1f7=_0x143560;return _0x4fb1f7(0x121);}static get[_0x143560(0x12a)](){return!0x0;}static get[_0x143560(0x11c)](){return!0x0;}[_0x143560(0x12d)](){const _0x2651cc=_0x143560,_0x4916ee=this[_0x2651cc(0x124)];_0x4916ee['ui'][_0x2651cc(0x129)][_0x2651cc(0x136)](_0x2651cc(0x12e),()=>{const _0x3a088d=_0x2651cc,_0x7ebefb=_0x4916ee[_0x3a088d(0x130)][_0x3a088d(0x119)](_0x3a088d(0x12e)),_0x524b7f=this[_0x3a088d(0x122)](_0x200c9f);return _0x524b7f[_0x3a088d(0x123)]({'tooltip':!0x0}),_0x524b7f[_0x3a088d(0x13b)](_0x3a088d(0x137))['to'](_0x7ebefb,_0x3a088d(0x13a)),_0x524b7f;}),_0x4916ee['ui'][_0x2651cc(0x129)][_0x2651cc(0x136)](_0x2651cc(0x128),()=>this[_0x2651cc(0x122)](_0x2b2f68));}[_0x143560(0x122)](_0x329bfb){const _0xb0ea8e=_0x143560,_0x3ac247=this[_0xb0ea8e(0x124)],_0x2690cf=_0x3ac247[_0xb0ea8e(0x126)][_0xb0ea8e(0x119)](_0xb0ea8e(0x12e))||{},_0x200db5=_0x3ac247[_0xb0ea8e(0x130)][_0xb0ea8e(0x119)](_0xb0ea8e(0x12e)),_0x3c4088=new _0x329bfb(_0x3ac247[_0xb0ea8e(0x132)]),_0x3feecd=new _0x580f78();return _0x3c4088[_0xb0ea8e(0x13f)][_0xb0ea8e(0x136)](_0x3feecd),_0x3feecd[_0xb0ea8e(0x13b)](_0xb0ea8e(0x133))['to'](_0x200db5,_0xb0ea8e(0x13a)),_0x3c4088[_0xb0ea8e(0x11b)][_0xb0ea8e(0x13b)](_0xb0ea8e(0x133))['to'](_0x200db5,_0xb0ea8e(0x13a),_0x54d19e=>!_0x54d19e),_0x3c4088[_0xb0ea8e(0x123)]({'icon':_0x2d4238}),_0x3c4088[_0xb0ea8e(0x13b)](_0xb0ea8e(0x127))['to'](_0x200db5,_0xb0ea8e(0x127)),_0x3c4088[_0xb0ea8e(0x13b)](_0xb0ea8e(0x13d))['to'](_0x200db5,_0xb0ea8e(0x13a),_0x4be038=>_0x45ebb5(_0x3ac247[_0xb0ea8e(0x132)],_0x4be038?_0xb0ea8e(0x13c):_0xb0ea8e(0x11e))),this[_0xb0ea8e(0x140)](_0x3c4088,_0xb0ea8e(0x12b),()=>{const _0x13f88f=_0xb0ea8e;_0x3ac247[_0x13f88f(0x12b)](_0x13f88f(0x12e),_0x2690cf),_0x3ac247[_0x13f88f(0x131)][_0x13f88f(0x134)][_0x13f88f(0x11a)]();}),_0x3c4088;}}
23
+ function _0x39fc(){const _0x4abc23=['view','6WXYdgk','571432MBOLhB','isOfficialPlugin','1797126rVsRhh','isEnabled','menuBar:exportWord','focus','isPremiumPlugin','execute','init','Export\x20to\x20Word','set','3unZhBn','iconView','isVisible','bind','locale','Exporting\x20Word\x20document','isOn','config','add','2072308CTDgrF','2177704IjFlOO','label','214730hSJYLL','editor','_createButton','children','1071JXYDLT','5431880pspjhv','get','ExportWordUI','editing','componentFactory','exportWord','pluginName','isBusy','listenTo','4078745GmHkcr','commands'];_0x39fc=function(){return _0x4abc23;};return _0x39fc();}const _0x495abd=_0x3078;(function(_0x746d05,_0x2115b7){const _0x5d872d=_0x3078,_0x31143c=_0x746d05();while(!![]){try{const _0x4420e2=-parseInt(_0x5d872d(0xa9))/0x1*(parseInt(_0x5d872d(0xc7))/0x2)+-parseInt(_0x5d872d(0xc9))/0x3+parseInt(_0x5d872d(0xb3))/0x4+-parseInt(_0x5d872d(0xc3))/0x5*(parseInt(_0x5d872d(0xc6))/0x6)+parseInt(_0x5d872d(0xb2))/0x7+-parseInt(_0x5d872d(0xba))/0x8+parseInt(_0x5d872d(0xb9))/0x9*(parseInt(_0x5d872d(0xb5))/0xa);if(_0x4420e2===_0x2115b7)break;else _0x31143c['push'](_0x31143c['shift']());}catch(_0x16fd9a){_0x31143c['push'](_0x31143c['shift']());}}}(_0x39fc,0x6c9a1));import{Plugin as _0x1a9bd8}from'ckeditor5/src/core.js';import{ButtonView as _0x50d464,MenuBarMenuListItemButtonView as _0x170252,SpinnerView as _0x4fccae}from'ckeditor5/src/ui.js';import _0x55b88e from'../theme/icons/exportword.svg';function _0x3078(_0x4ed5d5,_0x30f529){const _0x39fcf7=_0x39fc();return _0x3078=function(_0x307821,_0x39741d){_0x307821=_0x307821-0xa9;let _0x5d3017=_0x39fcf7[_0x307821];return _0x5d3017;},_0x3078(_0x4ed5d5,_0x30f529);}import{getTranslation as _0xad98da}from'./utils/common-translations.js';export default class o extends _0x1a9bd8{static get[_0x495abd(0xc0)](){const _0x388eab=_0x495abd;return _0x388eab(0xbc);}static get[_0x495abd(0xc8)](){return!0x0;}static get[_0x495abd(0xcd)](){return!0x0;}[_0x495abd(0xcf)](){const _0x58c78a=_0x495abd,_0x4f9153=this[_0x58c78a(0xb6)];_0x4f9153['ui'][_0x58c78a(0xbe)][_0x58c78a(0xb1)](_0x58c78a(0xbf),()=>{const _0x4f1eb8=_0x58c78a,_0x30e547=_0x4f9153[_0x4f1eb8(0xc4)][_0x4f1eb8(0xbb)](_0x4f1eb8(0xbf)),_0x20f2fb=this[_0x4f1eb8(0xb7)](_0x50d464);return _0x20f2fb[_0x4f1eb8(0xd1)]({'tooltip':!0x0}),_0x20f2fb[_0x4f1eb8(0xac)](_0x4f1eb8(0xaf))['to'](_0x30e547,_0x4f1eb8(0xc1)),_0x20f2fb;}),_0x4f9153['ui'][_0x58c78a(0xbe)][_0x58c78a(0xb1)](_0x58c78a(0xcb),()=>this[_0x58c78a(0xb7)](_0x170252));}[_0x495abd(0xb7)](_0x5b95ce){const _0x2131ed=_0x495abd,_0x571704=this[_0x2131ed(0xb6)],_0x353fe6=_0x571704[_0x2131ed(0xb0)][_0x2131ed(0xbb)](_0x2131ed(0xbf))||{},_0x1c483a=_0x571704[_0x2131ed(0xc4)][_0x2131ed(0xbb)](_0x2131ed(0xbf)),_0x21c707=new _0x5b95ce(_0x571704[_0x2131ed(0xad)]),_0x171721=new _0x4fccae();return _0x21c707[_0x2131ed(0xb8)][_0x2131ed(0xb1)](_0x171721),_0x171721[_0x2131ed(0xac)](_0x2131ed(0xab))['to'](_0x1c483a,_0x2131ed(0xc1)),_0x21c707[_0x2131ed(0xaa)][_0x2131ed(0xac)](_0x2131ed(0xab))['to'](_0x1c483a,_0x2131ed(0xc1),_0x3894db=>!_0x3894db),_0x21c707[_0x2131ed(0xd1)]({'icon':_0x55b88e}),_0x21c707[_0x2131ed(0xac)](_0x2131ed(0xca))['to'](_0x1c483a,_0x2131ed(0xca)),_0x21c707[_0x2131ed(0xac)](_0x2131ed(0xb4))['to'](_0x1c483a,_0x2131ed(0xc1),_0x208a9b=>_0xad98da(_0x571704[_0x2131ed(0xad)],_0x208a9b?_0x2131ed(0xae):_0x2131ed(0xd0))),this[_0x2131ed(0xc2)](_0x21c707,_0x2131ed(0xce),()=>{const _0x1c5db9=_0x2131ed;_0x571704[_0x1c5db9(0xce)](_0x1c5db9(0xbf),_0x353fe6),_0x571704[_0x1c5db9(0xbd)][_0x1c5db9(0xc5)][_0x1c5db9(0xcc)]();}),_0x21c707;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x243791,_0x267384){var _0x3e3e90=_0x5860,_0x1fd2ef=_0x243791();while(!![]){try{var _0x4075c5=parseInt(_0x3e3e90(0xe2))/0x1+parseInt(_0x3e3e90(0xe0))/0x2+-parseInt(_0x3e3e90(0xe6))/0x3+-parseInt(_0x3e3e90(0xe1))/0x4*(-parseInt(_0x3e3e90(0xdf))/0x5)+parseInt(_0x3e3e90(0xe3))/0x6+parseInt(_0x3e3e90(0xe5))/0x7*(-parseInt(_0x3e3e90(0xe7))/0x8)+-parseInt(_0x3e3e90(0xe4))/0x9*(parseInt(_0x3e3e90(0xde))/0xa);if(_0x4075c5===_0x267384)break;else _0x1fd2ef['push'](_0x1fd2ef['shift']());}catch(_0x2f6b28){_0x1fd2ef['push'](_0x1fd2ef['shift']());}}}(_0x3f84,0x84458));export{default as ExportWord}from'./exportword.js';function _0x3f84(){var _0x1ba7f7=['7332loURiZ','712042ieNVCu','1922988UkibmK','27lrNlVp','7WYjMWr','578313yDKBFV','65120lWtege','2880360AMiQbC','1415kjhOji','111048yzXImL'];_0x3f84=function(){return _0x1ba7f7;};return _0x3f84();}function _0x5860(_0x53a1b5,_0x470aba){var _0x3f84ef=_0x3f84();return _0x5860=function(_0x586079,_0xb829bd){_0x586079=_0x586079-0xde;var _0x3331eb=_0x3f84ef[_0x586079];return _0x3331eb;},_0x5860(_0x53a1b5,_0x470aba);}import'./augmentation.js';
23
+ function _0x5880(){var _0x54b392=['225UkgvxW','256dZbbKD','6227106ZqrzuS','181904qhjvVH','30402340SPxYbz','6998KnXUGX','3093jExqLi','4844FvSXfl','11iaFIhs','1855315BXfARY','6703710KiEono'];_0x5880=function(){return _0x54b392;};return _0x5880();}(function(_0x768a73,_0x3b3777){var _0x15d4cd=_0x4267,_0x870c13=_0x768a73();while(!![]){try{var _0x39d9ad=parseInt(_0x15d4cd(0x127))/0x1*(-parseInt(_0x15d4cd(0x120))/0x2)+parseInt(_0x15d4cd(0x121))/0x3*(parseInt(_0x15d4cd(0x122))/0x4)+-parseInt(_0x15d4cd(0x125))/0x5+-parseInt(_0x15d4cd(0x11d))/0x6+parseInt(_0x15d4cd(0x124))/0x7+-parseInt(_0x15d4cd(0x11e))/0x8*(parseInt(_0x15d4cd(0x126))/0x9)+parseInt(_0x15d4cd(0x11f))/0xa*(parseInt(_0x15d4cd(0x123))/0xb);if(_0x39d9ad===_0x3b3777)break;else _0x870c13['push'](_0x870c13['shift']());}catch(_0x47d807){_0x870c13['push'](_0x870c13['shift']());}}}(_0x5880,0xad979));export{default as ExportWord}from'./exportword.js';function _0x4267(_0x46d2fd,_0x23ebee){var _0x58803b=_0x5880();return _0x4267=function(_0x4267e8,_0x3d3565){_0x4267e8=_0x4267e8-0x11d;var _0x4dc4b8=_0x58803b[_0x4267e8];return _0x4dc4b8;},_0x4267(_0x46d2fd,_0x23ebee);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3c471e,_0x85f528){const t=_0x3c471e['t'];switch(_0x85f528){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x85f528;}}
23
+ export function getTranslation(_0x1e69b0,_0x27262c){const t=_0x1e69b0['t'];switch(_0x27262c){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x27262c;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x160dc0,_0x193bac){const _0x11cab9=_0x51b0,_0x52c3ff=_0x160dc0();while(!![]){try{const _0x34fc0a=-parseInt(_0x11cab9(0x17b))/0x1*(-parseInt(_0x11cab9(0x16c))/0x2)+-parseInt(_0x11cab9(0x17a))/0x3+parseInt(_0x11cab9(0x15a))/0x4+-parseInt(_0x11cab9(0x146))/0x5*(-parseInt(_0x11cab9(0x16f))/0x6)+parseInt(_0x11cab9(0x176))/0x7+parseInt(_0x11cab9(0x13b))/0x8+-parseInt(_0x11cab9(0x148))/0x9*(parseInt(_0x11cab9(0x153))/0xa);if(_0x34fc0a===_0x193bac)break;else _0x52c3ff['push'](_0x52c3ff['shift']());}catch(_0x516171){_0x52c3ff['push'](_0x52c3ff['shift']());}}}(_0x341b,0x46c70));function _0x341b(){const _0x38f8d3=['isResolved','has','timeZone','createdAt','indexOf','TrackChanges','merge_fields','text','name','MergeFields','plugins','192718MhLLwh','getDefaultValues','get','16386qUcAcd','push','users','ownerNode','locale','fetch','from','316155WCCqDt','cssRules','comments','suggestions','832263TdLWSA','3SqYMkB','data-cke','mergeFields','getLabel','EDITOR_STYLES','Users','previewMode','CommentsRepository','collaboration_features','entries','1725320EyxJpv','MergeFieldsEditing','warn','trim','resolvedOptions','styleSheets','author','authorName',':root','DateTimeFormat','then','485sfIRcr','.ck-content','1233IVJUoO','$labels','map','getDataSetValues','keys','$defaultValues','document','getSuggestions','all','length','comment_threads','37870dfZlFC','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','cssText','getCommentThreads','content','hasAttribute','@external','1085320SYHARm','contentLanguage','timezone','data','join','language','config'];_0x341b=function(){return _0x38f8d3;};return _0x341b();}export function getStyles(_0x5ab8f1){const _0x4c3f6c=_0x51b0;if(!_0x5ab8f1)return new Promise(_0x293f64=>_0x293f64(''));const _0x23f7b9=[];for(const _0x3b31b2 of _0x5ab8f1)_0x4c3f6c(0x17f)!==_0x3b31b2?_0x23f7b9[_0x4c3f6c(0x170)](window[_0x4c3f6c(0x174)](_0x3b31b2)[_0x4c3f6c(0x145)](_0x33f388=>_0x33f388[_0x4c3f6c(0x168)]())):_0x23f7b9[_0x4c3f6c(0x170)](f());return Promise[_0x4c3f6c(0x150)](_0x23f7b9)[_0x4c3f6c(0x145)](_0x112661=>_0x112661[_0x4c3f6c(0x15e)]('\x20')[_0x4c3f6c(0x13e)]());}function f(){const _0x17c832=_0x51b0,_0x4c7b1c=[],_0x9390d9=[];for(const _0x364215 of Array[_0x17c832(0x175)](document[_0x17c832(0x140)])){if(_0x364215[_0x17c832(0x172)][_0x17c832(0x158)](_0x17c832(0x17c))){for(const _0x3ece4f of Array[_0x17c832(0x175)](_0x364215[_0x17c832(0x177)]))-0x1!==_0x3ece4f[_0x17c832(0x155)][_0x17c832(0x165)](_0x17c832(0x147))?_0x4c7b1c[_0x17c832(0x170)](_0x3ece4f[_0x17c832(0x155)]):-0x1!==_0x3ece4f[_0x17c832(0x155)][_0x17c832(0x165)](_0x17c832(0x143))&&_0x9390d9[_0x17c832(0x170)](_0x3ece4f[_0x17c832(0x155)]);}}return _0x4c7b1c[_0x17c832(0x151)]||console[_0x17c832(0x13d)](_0x17c832(0x154)),[..._0x9390d9,..._0x4c7b1c][_0x17c832(0x15e)]('\x20')[_0x17c832(0x13e)]();}export function getConverterOptions(_0x5d166c,_0xc81ef2={}){const _0x5589b6=_0x51b0,_0x43669a=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x180)),_0x343464=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x138)),_0x59479d=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x166)),_0x4e6cb2=_0xc81ef2;if(_0x43669a&&_0x343464){const _0x410ca9=getComments(_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x138))[_0x5589b6(0x156)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5589b6(0x14c)](_0x410ca9)[_0x5589b6(0x151)]&&(_0x4e6cb2[_0x5589b6(0x178)]=_0x410ca9);}if(_0x43669a&&_0x59479d){const _0x11ee60=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x166)),_0x11772d=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x180)),_0xc96a76=getSuggestions(_0x11ee60[_0x5589b6(0x14f)]({'toJSON':!0x0}),_0x11772d[_0x5589b6(0x171)]);Object[_0x5589b6(0x14c)](_0xc96a76)[_0x5589b6(0x151)]&&(_0x4e6cb2[_0x5589b6(0x179)]=_0xc96a76);}return(_0x4e6cb2[_0x5589b6(0x179)]||_0x4e6cb2[_0x5589b6(0x178)])&&(_0x4e6cb2[_0x5589b6(0x15c)]=new Intl[(_0x5589b6(0x144))]()[_0x5589b6(0x13f)]()[_0x5589b6(0x163)]),_0x4e6cb2;}export function getComments(_0x13f701){const _0x2c1e04=_0x51b0,_0x75f699={};if(!_0x13f701[_0x2c1e04(0x151)])return _0x75f699;for(const _0x57c783 of _0x13f701)_0x57c783[_0x2c1e04(0x178)][_0x2c1e04(0x14a)](_0x54ae5c=>{const _0x5d411f=_0x2c1e04;void 0x0===_0x75f699[_0x57c783['id']]&&(_0x75f699[_0x57c783['id']]=[]),_0x75f699[_0x57c783['id']][_0x5d411f(0x170)]({'author':_0x54ae5c[_0x5d411f(0x141)][_0x5d411f(0x169)],'content':_0x54ae5c[_0x5d411f(0x157)],'created':_0x54ae5c[_0x5d411f(0x164)],'is_resolved':_0x57c783[_0x5d411f(0x161)]});});return _0x75f699;}export function getSuggestions(_0x104f63,_0x5f4aaa){const _0x1c2ebb=_0x51b0,_0x267153={};if(!_0x104f63[_0x1c2ebb(0x151)]||!_0x5f4aaa[_0x1c2ebb(0x151)])return _0x267153;for(const {id:_0x3651b2,createdAt:_0x3ef2d7,authorId:_0x18eac8,attributes:_0x2b6ddf}of _0x104f63){const _0x53eb9e=_0x2b6ddf&&_0x2b6ddf[_0x1c2ebb(0x159)],_0x678dd2=_0x53eb9e?_0x53eb9e[_0x1c2ebb(0x142)]:_0x5f4aaa[_0x1c2ebb(0x16e)](_0x18eac8)[_0x1c2ebb(0x169)];_0x267153[_0x3651b2]={'author':_0x678dd2,'created':_0x3ef2d7};}return _0x267153;}function _0x51b0(_0x46cb70,_0x23721f){const _0x341bd8=_0x341b();return _0x51b0=function(_0x51b011,_0x3ebf22){_0x51b011=_0x51b011-0x138;let _0xf8e79d=_0x341bd8[_0x51b011];return _0xf8e79d;},_0x51b0(_0x46cb70,_0x23721f);}export function getConverterOptionsV2(_0x578b5a,_0x5efd4d={}){const _0x4ebc5d=_0x51b0,_0x299f97=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x180)),_0x2b7ef3=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x138)),_0x3dbd47=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x166)),_0x5a362f=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x16a)),_0x5b551b=_0x578b5a[_0x4ebc5d(0x173)][_0x4ebc5d(0x15b)],_0x58b0db=_0x5efd4d,_0x3c47e2={};if(_0x58b0db[_0x4ebc5d(0x14e)]=_0x58b0db[_0x4ebc5d(0x14e)]||{},_0x58b0db[_0x4ebc5d(0x14e)][_0x4ebc5d(0x15f)]=_0x58b0db[_0x4ebc5d(0x14e)][_0x4ebc5d(0x15f)]||_0x5b551b,_0x299f97&&_0x2b7ef3){const _0x13fe22=getCommentsV2(_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x138))[_0x4ebc5d(0x156)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x13fe22[_0x4ebc5d(0x151)]&&(_0x3c47e2[_0x4ebc5d(0x152)]=_0x13fe22);}if(_0x299f97&&_0x3dbd47){const _0x5280d2=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x166)),_0x45080f=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x180)),_0x58e02d=getSuggestionsV2(_0x5280d2[_0x4ebc5d(0x14f)]({'toJSON':!0x0}),_0x45080f[_0x4ebc5d(0x171)]);_0x58e02d[_0x4ebc5d(0x151)]&&(_0x3c47e2[_0x4ebc5d(0x179)]=_0x58e02d);}if(_0x5a362f){const _0x2d2a3d=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x13c)),_0x75be3=_0x2d2a3d[_0x4ebc5d(0x181)],{prefix:_0x6a6ce3,suffix:_0x5a7d49}=_0x578b5a[_0x4ebc5d(0x160)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x17d));if(_0x58b0db[_0x4ebc5d(0x167)]={'prefix':_0x6a6ce3,'suffix':_0x5a7d49},_0x4ebc5d(0x149)!==_0x75be3){_0x58b0db[_0x4ebc5d(0x167)][_0x4ebc5d(0x15d)]={};const _0x3e771f=_0x4ebc5d(0x14d)===_0x75be3?_0x2d2a3d[_0x4ebc5d(0x16d)]():_0x2d2a3d[_0x4ebc5d(0x14b)](_0x75be3,!0x0);for(const _0x562a2f of Object[_0x4ebc5d(0x13a)](_0x3e771f)){const [_0xa5c641,_0x153059]=_0x562a2f;_0x58b0db[_0x4ebc5d(0x167)][_0x4ebc5d(0x15d)][_0xa5c641]=null!==_0x153059?_0x153059:_0x2d2a3d[_0x4ebc5d(0x17e)](_0xa5c641);}}}return(_0x3c47e2[_0x4ebc5d(0x152)]||_0x3c47e2[_0x4ebc5d(0x179)])&&(_0x58b0db[_0x4ebc5d(0x15c)]=new Intl[(_0x4ebc5d(0x144))]()[_0x4ebc5d(0x13f)]()[_0x4ebc5d(0x163)],_0x58b0db[_0x4ebc5d(0x139)]=_0x3c47e2),_0x58b0db;}export function getCommentsV2(_0x47d133){const _0x3da550=_0x51b0,_0x6e4ea3=[];if(!_0x47d133[_0x3da550(0x151)])return _0x6e4ea3;for(const _0x558b68 of _0x47d133){const _0x441ec9=_0x558b68[_0x3da550(0x178)][_0x3da550(0x14a)](_0x406aea=>({'author':_0x406aea[_0x3da550(0x141)][_0x3da550(0x169)],'content':_0x406aea[_0x3da550(0x157)],'created_at':_0x406aea[_0x3da550(0x164)]}));_0x6e4ea3[_0x3da550(0x170)]({'thread_id':_0x558b68['id'],'is_resolved':_0x558b68[_0x3da550(0x161)],'comments':_0x441ec9});}return _0x6e4ea3;}export function getSuggestionsV2(_0x1271c5,_0x30f3a4){const _0x25af4f=_0x51b0;return _0x1271c5[_0x25af4f(0x151)]&&_0x30f3a4[_0x25af4f(0x151)]?_0x1271c5[_0x25af4f(0x14a)](({id:_0x4e4f35,createdAt:_0xbf741,authorId:_0x46d729,attributes:_0x56ea2d})=>{const _0x5dbea9=_0x25af4f,_0x2b1edb=_0x56ea2d&&_0x56ea2d[_0x5dbea9(0x159)];return{'id':_0x4e4f35,'author':_0x2b1edb?_0x2b1edb[_0x5dbea9(0x142)]:_0x30f3a4[_0x5dbea9(0x16e)](_0x46d729)[_0x5dbea9(0x169)],'created_at':_0xbf741};}):[];}
23
+ (function(_0x371437,_0xb137bf){const _0x5433de=_0x5cb3,_0x125c73=_0x371437();while(!![]){try{const _0x1f994e=parseInt(_0x5433de(0x1f6))/0x1*(parseInt(_0x5433de(0x210))/0x2)+-parseInt(_0x5433de(0x1ff))/0x3+parseInt(_0x5433de(0x1d9))/0x4*(parseInt(_0x5433de(0x1e3))/0x5)+-parseInt(_0x5433de(0x1f5))/0x6+-parseInt(_0x5433de(0x201))/0x7*(-parseInt(_0x5433de(0x1e0))/0x8)+parseInt(_0x5433de(0x1f4))/0x9+-parseInt(_0x5433de(0x1d0))/0xa;if(_0x1f994e===_0xb137bf)break;else _0x125c73['push'](_0x125c73['shift']());}catch(_0x3f3a8b){_0x125c73['push'](_0x125c73['shift']());}}}(_0x2ec5,0x592b4));function _0x5cb3(_0x259640,_0x5e0ece){const _0x2ec5f5=_0x2ec5();return _0x5cb3=function(_0x5cb38a,_0x518dbf){_0x5cb38a=_0x5cb38a-0x1ce;let _0x4c40f9=_0x2ec5f5[_0x5cb38a];return _0x4c40f9;},_0x5cb3(_0x259640,_0x5e0ece);}function _0x2ec5(){const _0x1e983=['cssRules','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','4180390wsExAv','text','getCommentThreads','trim','@external','createdAt','indexOf','styleSheets','author','114180zhZPXA','suggestions','comments','collaboration_features','from','hasAttribute','map','5397776oiAAJv','$labels','EDITOR_STYLES','25orJNYm','authorName','CommentsRepository','join','getSuggestions','name','data','Users','keys','$defaultValues','data-cke','comment_threads','merge_fields','getLabel','entries','all','push','4763331bXHZFp','4306374pLCwHu','72823vStKFh','contentLanguage','timeZone',':root','language','users','plugins','document','TrackChanges','1721796xGcCIz','has','7KSetGA','config','warn','previewMode','getDataSetValues','content','get','resolvedOptions','locale','then','cssText','.ck-content','fetch','MergeFieldsEditing','ownerNode','20DbpTGQ','DateTimeFormat','MergeFields','isResolved','getDefaultValues','length','mergeFields','timezone'];_0x2ec5=function(){return _0x1e983;};return _0x2ec5();}export function getStyles(_0x563654){const _0x243dec=_0x5cb3;if(!_0x563654)return new Promise(_0x173423=>_0x173423(''));const _0x469ec4=[];for(const _0x475fca of _0x563654)_0x243dec(0x1e2)!==_0x475fca?_0x469ec4[_0x243dec(0x1f3)](window[_0x243dec(0x20d)](_0x475fca)[_0x243dec(0x20a)](_0x3ef7e8=>_0x3ef7e8[_0x243dec(0x1d1)]())):_0x469ec4[_0x243dec(0x1f3)](f());return Promise[_0x243dec(0x1f2)](_0x469ec4)[_0x243dec(0x20a)](_0x4de9b9=>_0x4de9b9[_0x243dec(0x1e6)]('\x20')[_0x243dec(0x1d3)]());}function f(){const _0x205463=_0x5cb3,_0x251b82=[],_0x2c98e8=[];for(const _0xceef99 of Array[_0x205463(0x1dd)](document[_0x205463(0x1d7)])){if(_0xceef99[_0x205463(0x20f)][_0x205463(0x1de)](_0x205463(0x1ed))){for(const _0x246fe1 of Array[_0x205463(0x1dd)](_0xceef99[_0x205463(0x1ce)]))-0x1!==_0x246fe1[_0x205463(0x20b)][_0x205463(0x1d6)](_0x205463(0x20c))?_0x251b82[_0x205463(0x1f3)](_0x246fe1[_0x205463(0x20b)]):-0x1!==_0x246fe1[_0x205463(0x20b)][_0x205463(0x1d6)](_0x205463(0x1f9))&&_0x2c98e8[_0x205463(0x1f3)](_0x246fe1[_0x205463(0x20b)]);}}return _0x251b82[_0x205463(0x215)]||console[_0x205463(0x203)](_0x205463(0x1cf)),[..._0x2c98e8,..._0x251b82][_0x205463(0x1e6)]('\x20')[_0x205463(0x1d3)]();}export function getConverterOptions(_0x4294c9,_0x55f5ed={}){const _0x4b4379=_0x5cb3,_0x37de28=_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x200)](_0x4b4379(0x1ea)),_0x704d93=_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x200)](_0x4b4379(0x1e5)),_0x25b3e4=_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x200)](_0x4b4379(0x1fe)),_0x12fd97=_0x55f5ed;if(_0x37de28&&_0x704d93){const _0x4866e3=getComments(_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x207)](_0x4b4379(0x1e5))[_0x4b4379(0x1d2)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x4b4379(0x1eb)](_0x4866e3)[_0x4b4379(0x215)]&&(_0x12fd97[_0x4b4379(0x1db)]=_0x4866e3);}if(_0x37de28&&_0x25b3e4){const _0x28c92b=_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x207)](_0x4b4379(0x1fe)),_0x1dbe2d=_0x4294c9[_0x4b4379(0x1fc)][_0x4b4379(0x207)](_0x4b4379(0x1ea)),_0x18fc48=getSuggestions(_0x28c92b[_0x4b4379(0x1e7)]({'toJSON':!0x0}),_0x1dbe2d[_0x4b4379(0x1fb)]);Object[_0x4b4379(0x1eb)](_0x18fc48)[_0x4b4379(0x215)]&&(_0x12fd97[_0x4b4379(0x1da)]=_0x18fc48);}return(_0x12fd97[_0x4b4379(0x1da)]||_0x12fd97[_0x4b4379(0x1db)])&&(_0x12fd97[_0x4b4379(0x217)]=new Intl[(_0x4b4379(0x211))]()[_0x4b4379(0x208)]()[_0x4b4379(0x1f8)]),_0x12fd97;}export function getComments(_0x142117){const _0x852770=_0x5cb3,_0x21d2e4={};if(!_0x142117[_0x852770(0x215)])return _0x21d2e4;for(const _0x15353a of _0x142117)_0x15353a[_0x852770(0x1db)][_0x852770(0x1df)](_0x2e8402=>{const _0x4ea587=_0x852770;void 0x0===_0x21d2e4[_0x15353a['id']]&&(_0x21d2e4[_0x15353a['id']]=[]),_0x21d2e4[_0x15353a['id']][_0x4ea587(0x1f3)]({'author':_0x2e8402[_0x4ea587(0x1d8)][_0x4ea587(0x1e8)],'content':_0x2e8402[_0x4ea587(0x206)],'created':_0x2e8402[_0x4ea587(0x1d5)],'is_resolved':_0x15353a[_0x4ea587(0x213)]});});return _0x21d2e4;}export function getSuggestions(_0x136fe5,_0x442b80){const _0x4ab700=_0x5cb3,_0x1d90dd={};if(!_0x136fe5[_0x4ab700(0x215)]||!_0x442b80[_0x4ab700(0x215)])return _0x1d90dd;for(const {id:_0x2e5bbc,createdAt:_0x5195d1,authorId:_0x135ef0,attributes:_0x38563d}of _0x136fe5){const _0x44ce95=_0x38563d&&_0x38563d[_0x4ab700(0x1d4)],_0x355ef6=_0x44ce95?_0x44ce95[_0x4ab700(0x1e4)]:_0x442b80[_0x4ab700(0x207)](_0x135ef0)[_0x4ab700(0x1e8)];_0x1d90dd[_0x2e5bbc]={'author':_0x355ef6,'created':_0x5195d1};}return _0x1d90dd;}export function getConverterOptionsV2(_0x4303f3,_0x48f4cb={}){const _0x54ba07=_0x5cb3,_0x518d31=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x200)](_0x54ba07(0x1ea)),_0x5b1b3a=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x200)](_0x54ba07(0x1e5)),_0x45d463=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x200)](_0x54ba07(0x1fe)),_0x469bd8=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x200)](_0x54ba07(0x212)),_0x53d592=_0x4303f3[_0x54ba07(0x209)][_0x54ba07(0x1f7)],_0x5f2e37=_0x48f4cb,_0x27aeeb={};if(_0x5f2e37[_0x54ba07(0x1fd)]=_0x5f2e37[_0x54ba07(0x1fd)]||{},_0x5f2e37[_0x54ba07(0x1fd)][_0x54ba07(0x1fa)]=_0x5f2e37[_0x54ba07(0x1fd)][_0x54ba07(0x1fa)]||_0x53d592,_0x518d31&&_0x5b1b3a){const _0xc31fc3=getCommentsV2(_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x207)](_0x54ba07(0x1e5))[_0x54ba07(0x1d2)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0xc31fc3[_0x54ba07(0x215)]&&(_0x27aeeb[_0x54ba07(0x1ee)]=_0xc31fc3);}if(_0x518d31&&_0x45d463){const _0x144c02=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x207)](_0x54ba07(0x1fe)),_0x572576=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x207)](_0x54ba07(0x1ea)),_0x29f547=getSuggestionsV2(_0x144c02[_0x54ba07(0x1e7)]({'toJSON':!0x0}),_0x572576[_0x54ba07(0x1fb)]);_0x29f547[_0x54ba07(0x215)]&&(_0x27aeeb[_0x54ba07(0x1da)]=_0x29f547);}if(_0x469bd8){const _0x9dff5f=_0x4303f3[_0x54ba07(0x1fc)][_0x54ba07(0x207)](_0x54ba07(0x20e)),_0x2f2a23=_0x9dff5f[_0x54ba07(0x204)],{prefix:_0xc08a3e,suffix:_0x4603d3}=_0x4303f3[_0x54ba07(0x202)][_0x54ba07(0x207)](_0x54ba07(0x216));if(_0x5f2e37[_0x54ba07(0x1ef)]={'prefix':_0xc08a3e,'suffix':_0x4603d3},_0x54ba07(0x1e1)!==_0x2f2a23){_0x5f2e37[_0x54ba07(0x1ef)][_0x54ba07(0x1e9)]={};const _0x54e7dc=_0x54ba07(0x1ec)===_0x2f2a23?_0x9dff5f[_0x54ba07(0x214)]():_0x9dff5f[_0x54ba07(0x205)](_0x2f2a23,!0x0);for(const _0x500253 of Object[_0x54ba07(0x1f1)](_0x54e7dc)){const [_0x583639,_0x5a0089]=_0x500253;_0x5f2e37[_0x54ba07(0x1ef)][_0x54ba07(0x1e9)][_0x583639]=null!==_0x5a0089?_0x5a0089:_0x9dff5f[_0x54ba07(0x1f0)](_0x583639);}}}return(_0x27aeeb[_0x54ba07(0x1ee)]||_0x27aeeb[_0x54ba07(0x1da)])&&(_0x5f2e37[_0x54ba07(0x217)]=new Intl[(_0x54ba07(0x211))]()[_0x54ba07(0x208)]()[_0x54ba07(0x1f8)],_0x5f2e37[_0x54ba07(0x1dc)]=_0x27aeeb),_0x5f2e37;}export function getCommentsV2(_0x2dfe30){const _0x196799=_0x5cb3,_0x3e6330=[];if(!_0x2dfe30[_0x196799(0x215)])return _0x3e6330;for(const _0x3bdb34 of _0x2dfe30){const _0x11bae0=_0x3bdb34[_0x196799(0x1db)][_0x196799(0x1df)](_0x1136da=>({'author':_0x1136da[_0x196799(0x1d8)][_0x196799(0x1e8)],'content':_0x1136da[_0x196799(0x206)],'created_at':_0x1136da[_0x196799(0x1d5)]}));_0x3e6330[_0x196799(0x1f3)]({'thread_id':_0x3bdb34['id'],'is_resolved':_0x3bdb34[_0x196799(0x213)],'comments':_0x11bae0});}return _0x3e6330;}export function getSuggestionsV2(_0x200e83,_0x120536){const _0x31eb6d=_0x5cb3;return _0x200e83[_0x31eb6d(0x215)]&&_0x120536[_0x31eb6d(0x215)]?_0x200e83[_0x31eb6d(0x1df)](({id:_0x4ebc04,createdAt:_0x5b8bdb,authorId:_0x575226,attributes:_0x4a4b8a})=>{const _0x150535=_0x31eb6d,_0x48b527=_0x4a4b8a&&_0x4a4b8a[_0x150535(0x1d4)];return{'id':_0x4ebc04,'author':_0x48b527?_0x48b527[_0x150535(0x1e4)]:_0x120536[_0x150535(0x207)](_0x575226)[_0x150535(0x1e8)],'created_at':_0x5b8bdb};}):[];}