@ckeditor/ckeditor5-export-word 47.2.0-alpha.7 → 47.3.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/LICENSE.md +3 -3
  2. package/build/export-word.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +11 -11
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.2.0-alpha.7",
3
+ "version": "47.3.0-alpha.0",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.7",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.7",
35
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.7",
36
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.7",
37
- "@ckeditor/ckeditor5-icons": "47.2.0-alpha.7",
38
- "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.7",
39
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.7",
40
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.7",
41
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.7",
42
- "ckeditor5": "47.2.0-alpha.7"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.0",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.0",
35
+ "@ckeditor/ckeditor5-comments": "47.3.0-alpha.0",
36
+ "@ckeditor/ckeditor5-core": "47.3.0-alpha.0",
37
+ "@ckeditor/ckeditor5-icons": "47.3.0-alpha.0",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.3.0-alpha.0",
39
+ "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.0",
40
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.0",
41
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.0",
42
+ "ckeditor5": "47.3.0-alpha.0"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17d6d1=_0x39c4;function _0x25be(){const _0x5f279b=['commands','then','isOfficialPlugin','2530515wSduim','720000pPHRzA','token','registerTokenUrl','_token','add','exportWord','ExportWord','CloudServices','pluginName','editor','tokenUrl','isPremiumPlugin','get','plugins','370529qaxmYS','2184144SdqdLs','requires','995568zaiORX','12965946zMKecB','config','2293130MsLLcK','init'];_0x25be=function(){return _0x5f279b;};return _0x25be();}(function(_0x5b0524,_0xab4e35){const _0x57dde9=_0x39c4,_0x31f9a6=_0x5b0524();while(!![]){try{const _0x39aab5=-parseInt(_0x57dde9(0xe3))/0x1+-parseInt(_0x57dde9(0xd5))/0x2+-parseInt(_0x57dde9(0xd4))/0x3+parseInt(_0x57dde9(0xe6))/0x4+-parseInt(_0x57dde9(0xcf))/0x5+parseInt(_0x57dde9(0xe4))/0x6+parseInt(_0x57dde9(0xe7))/0x7;if(_0x39aab5===_0xab4e35)break;else _0x31f9a6['push'](_0x31f9a6['shift']());}catch(_0x57e0f8){_0x31f9a6['push'](_0x31f9a6['shift']());}}}(_0x25be,0x69996));import{Plugin as _0x6f0c5d}from'ckeditor5/src/core.js';import{Notification as _0x7c9bad}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x979584}from'./exportwordcommand.js';function _0x39c4(_0x4609c7,_0x1ec393){const _0x25beee=_0x25be();return _0x39c4=function(_0x39c486,_0x568793){_0x39c486=_0x39c486-0xcf;let _0x28cc70=_0x25beee[_0x39c486];return _0x28cc70;},_0x39c4(_0x4609c7,_0x1ec393);}import{ExportWordUI as _0x58fd37}from'./exportwordui.js';export class ExportWord extends _0x6f0c5d{[_0x17d6d1(0xd8)];static get[_0x17d6d1(0xdd)](){const _0x52ac1a=_0x17d6d1;return _0x52ac1a(0xdb);}static get[_0x17d6d1(0xd3)](){return!0x0;}static get[_0x17d6d1(0xe0)](){return!0x0;}static get[_0x17d6d1(0xe5)](){const _0x2b1181=_0x17d6d1;return[_0x2b1181(0xdc),_0x7c9bad,_0x58fd37];}[_0x17d6d1(0xd0)](){const _0x101349=_0x17d6d1,_0x4eff71=this[_0x101349(0xde)],_0x551940=_0x4eff71[_0x101349(0xe8)][_0x101349(0xe1)](_0x101349(0xda))||{};_0x4eff71[_0x101349(0xd1)][_0x101349(0xd9)](_0x101349(0xda),new _0x979584(_0x4eff71));const _0x2b053b=_0x4eff71[_0x101349(0xe2)][_0x101349(0xe1)](_0x101349(0xdc));!0x1===_0x551940[_0x101349(0xdf)]?this[_0x101349(0xd8)]=null:_0x551940[_0x101349(0xdf)]?_0x2b053b[_0x101349(0xd7)](_0x551940[_0x101349(0xdf)])[_0x101349(0xd2)](_0x50cc26=>{const _0x55f589=_0x101349;this[_0x55f589(0xd8)]=_0x50cc26;}):this[_0x101349(0xd8)]=_0x2b053b[_0x101349(0xd6)];}}
23
+ const _0x3e85ca=_0x46e7;(function(_0x3a49e7,_0x1b92e5){const _0x4e88b4=_0x46e7,_0x21b47f=_0x3a49e7();while(!![]){try{const _0x36a699=parseInt(_0x4e88b4(0x1ec))/0x1*(parseInt(_0x4e88b4(0x1e7))/0x2)+parseInt(_0x4e88b4(0x1e2))/0x3+-parseInt(_0x4e88b4(0x1f0))/0x4*(parseInt(_0x4e88b4(0x1f4))/0x5)+parseInt(_0x4e88b4(0x1e4))/0x6*(parseInt(_0x4e88b4(0x1e8))/0x7)+-parseInt(_0x4e88b4(0x1f8))/0x8+parseInt(_0x4e88b4(0x1e5))/0x9+-parseInt(_0x4e88b4(0x1ed))/0xa;if(_0x36a699===_0x1b92e5)break;else _0x21b47f['push'](_0x21b47f['shift']());}catch(_0x13b79d){_0x21b47f['push'](_0x21b47f['shift']());}}}(_0x53d1,0x6b0ce));import{Plugin as _0x4fa392}from'ckeditor5/src/core.js';function _0x53d1(){const _0x2f214e=['79746wngTZr','4226180BnNuoR','then','isPremiumPlugin','get','9ciMgNY','1278970QoZXGd','requires','add','1324LjRqEs','init','isOfficialPlugin','token','3930VGtIkA','editor','_token','exportWord','5933288hvYsaY','registerTokenUrl','commands','plugins','tokenUrl','pluginName','config','429849FzbUav','CloudServices','6zANGJq','4160898zCuFLT','ExportWord'];_0x53d1=function(){return _0x2f214e;};return _0x53d1();}import{Notification as _0x1c8a43}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x213ed3}from'./exportwordcommand.js';import{ExportWordUI as _0x225778}from'./exportwordui.js';function _0x46e7(_0x1305fa,_0x470986){const _0x53d17e=_0x53d1();return _0x46e7=function(_0xbb6353,_0x3979b0){_0xbb6353=_0xbb6353-0x1de;let _0xa0c873=_0x53d17e[_0xbb6353];return _0xa0c873;},_0x46e7(_0x1305fa,_0x470986);}export class ExportWord extends _0x4fa392{[_0x3e85ca(0x1f6)];static get[_0x3e85ca(0x1e0)](){const _0x225ffa=_0x3e85ca;return _0x225ffa(0x1e6);}static get[_0x3e85ca(0x1f2)](){return!0x0;}static get[_0x3e85ca(0x1ea)](){return!0x0;}static get[_0x3e85ca(0x1ee)](){const _0x46c334=_0x3e85ca;return[_0x46c334(0x1e3),_0x1c8a43,_0x225778];}[_0x3e85ca(0x1f1)](){const _0x26bcaf=_0x3e85ca,_0x362449=this[_0x26bcaf(0x1f5)],_0x8c21de=_0x362449[_0x26bcaf(0x1e1)][_0x26bcaf(0x1eb)](_0x26bcaf(0x1f7))||{};_0x362449[_0x26bcaf(0x1fa)][_0x26bcaf(0x1ef)](_0x26bcaf(0x1f7),new _0x213ed3(_0x362449));const _0x3c039e=_0x362449[_0x26bcaf(0x1de)][_0x26bcaf(0x1eb)](_0x26bcaf(0x1e3));!0x1===_0x8c21de[_0x26bcaf(0x1df)]?this[_0x26bcaf(0x1f6)]=null:_0x8c21de[_0x26bcaf(0x1df)]?_0x3c039e[_0x26bcaf(0x1f9)](_0x8c21de[_0x26bcaf(0x1df)])[_0x26bcaf(0x1e9)](_0x5b15b8=>{const _0x5ac640=_0x26bcaf;this[_0x5ac640(0x1f6)]=_0x5b15b8;}):this[_0x26bcaf(0x1f6)]=_0x3c039e[_0x26bcaf(0x1f3)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x334f68=_0x1a48;(function(_0x333ed2,_0x54732c){const _0x5f3963=_0x1a48,_0x483327=_0x333ed2();while(!![]){try{const _0xd4051b=-parseInt(_0x5f3963(0x1f6))/0x1+-parseInt(_0x5f3963(0x1eb))/0x2*(parseInt(_0x5f3963(0x1cc))/0x3)+parseInt(_0x5f3963(0x1f7))/0x4+-parseInt(_0x5f3963(0x1d2))/0x5*(parseInt(_0x5f3963(0x20c))/0x6)+parseInt(_0x5f3963(0x212))/0x7*(parseInt(_0x5f3963(0x211))/0x8)+-parseInt(_0x5f3963(0x201))/0x9*(parseInt(_0x5f3963(0x1db))/0xa)+parseInt(_0x5f3963(0x1fa))/0xb;if(_0xd4051b===_0x54732c)break;else _0x483327['push'](_0x483327['shift']());}catch(_0x51d98a){_0x483327['push'](_0x483327['shift']());}}}(_0x5011,0x8639a));import{Command as _0x2624af}from'ckeditor5/src/core.js';import{logWarning as _0x2e860f,collectStylesheets as _0x5c685f}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x3e7462,getConverterOptionsV2 as _0x2e7d08}from'./utils.js';import{getTranslation as _0x1c90e7}from'./utils/common-translations.js';const p=[_0x334f68(0x1d4),_0x334f68(0x1d1),_0x334f68(0x1c6),_0x334f68(0x1ef),_0x334f68(0x200),_0x334f68(0x1c8),_0x334f68(0x206),_0x334f68(0x209),_0x334f68(0x210),_0x334f68(0x1e4)];export class ExportWordCommand extends _0x2624af{constructor(_0x1e91da){const _0xb196cb=_0x334f68;super(_0x1e91da),this[_0xb196cb(0x1ea)](_0xb196cb(0x1fd),!0x1),this[_0xb196cb(0x1e6)]=!0x1;}[_0x334f68(0x1fc)](){const _0x469e88=_0x334f68;this[_0x469e88(0x1c3)]=!this[_0x469e88(0x1fd)],this[_0x469e88(0x1dd)]=this[_0x469e88(0x1fd)]?_0x469e88(0x1fe):void 0x0;}[_0x334f68(0x1e3)](_0x4f7495={}){const _0x448272=_0x334f68,_0x1b40c4=this[_0x448272(0x1f1)],_0x29df08=_0x4f7495[_0x448272(0x1c5)]||0x2,_0x44d5b5=0x1===_0x29df08,_0xabedc0=_0x4f7495[_0x448272(0x20d)]||(_0x44d5b5?_0x448272(0x20b):_0x448272(0x1d5)),_0x232b8d=_0x4f7495[_0x448272(0x1ec)]||{},_0x27488a=_0x1b40c4[_0x448272(0x213)][_0x448272(0x1ca)](_0x448272(0x1d6)),_0x35b22c=_0x4f7495[_0x448272(0x1cf)]||_0x27488a[_0x448272(0x202)],_0x3bcdef=!0x0===_0x232b8d[_0x448272(0x1c7)],_0x38cc2a=_0x4f7495[_0x448272(0x204)]||(_0x3323ef=>_0x3323ef[_0x448272(0x1d3)][_0x448272(0x1ca)]({'pagination':_0x3bcdef}));return 0x2===_0x29df08&&function(_0x14cfc9){for(const _0xec03e of p)if(void 0x0!==_0x14cfc9[_0xec03e])return!0x0;return!0x1;}(_0x232b8d)&&_0x2e860f(_0x448272(0x1c4)),this[_0x448272(0x1fd)]=!0x0,this[_0x448272(0x1fc)](),_0x5c685f(_0x4f7495[_0x448272(0x1ff)]||[_0x448272(0x1ce)])[_0x448272(0x1f4)](async _0x5991af=>{const _0x1ac8ed=_0x448272;_0x1b40c4['ui'][_0x1ac8ed(0x1ed)][_0x1ac8ed(0x1cb)](_0x1c90e7(_0x1b40c4[_0x1ac8ed(0x214)],_0x1ac8ed(0x1df)));const _0x203a7=await _0x38cc2a(_0x1b40c4),_0x4da0b7={'html':_0x1ac8ed(0x20a)+_0x1b40c4[_0x1ac8ed(0x214)][_0x1ac8ed(0x1fb)]+'\x22>'+_0x203a7+_0x1ac8ed(0x1e1),'css':_0x5991af,[_0x44d5b5?_0x1ac8ed(0x1f9):_0x1ac8ed(0x1e2)]:{..._0x232b8d,..._0x44d5b5?_0x3e7462(_0x1b40c4,_0x232b8d):_0x2e7d08(_0x1b40c4,_0x232b8d)}},_0x47bcb0={'method':_0x1ac8ed(0x1f5),'headers':{'Content-Type':_0x1ac8ed(0x20e),'Accept':_0x1ac8ed(0x20f),..._0x35b22c?{'Authorization':_0x35b22c[_0x1ac8ed(0x1dd)]}:null},'body':JSON[_0x1ac8ed(0x1e0)](_0x4da0b7)};return window[_0x1ac8ed(0x1d9)](_0xabedc0,_0x47bcb0)[_0x1ac8ed(0x1f4)](_0xfcba6f=>{const _0x36c509=_0x1ac8ed;if(0xc8!==_0xfcba6f[_0x36c509(0x1de)])throw _0xfcba6f;return _0xfcba6f[_0x36c509(0x1e7)]();})[_0x1ac8ed(0x1f4)](_0x53838c=>{const _0xdca2ae=_0x1ac8ed;_0x1b40c4['ui'][_0xdca2ae(0x1ed)][_0xdca2ae(0x1cb)](_0x1c90e7(_0x1b40c4[_0xdca2ae(0x214)],_0xdca2ae(0x1f8)));const _0x268728=_0xdca2ae(0x1e9)==typeof _0x4f7495[_0xdca2ae(0x1d8)]?_0x4f7495[_0xdca2ae(0x1d8)]():_0x4f7495[_0xdca2ae(0x1d8)];this[_0xdca2ae(0x1ee)](_0x53838c,_0x268728||_0xdca2ae(0x203));});})[_0x448272(0x208)](_0x5721b5=>{const _0x5656e5=_0x448272,_0x7451e7=_0x1b40c4[_0x5656e5(0x213)][_0x5656e5(0x1ca)](_0x5656e5(0x207));throw _0x1b40c4['ui'][_0x5656e5(0x1ed)][_0x5656e5(0x1cb)](_0x1c90e7(_0x1b40c4[_0x5656e5(0x214)],_0x5656e5(0x1d7)),{'politeness':_0x5656e5(0x1c9)}),_0x7451e7[_0x5656e5(0x1f0)](_0x1c90e7(_0x1b40c4[_0x5656e5(0x214)],_0x5656e5(0x1da))),_0x5721b5;})[_0x448272(0x1d0)](()=>{const _0x52657a=_0x448272;this[_0x52657a(0x1fd)]=!0x1,this[_0x52657a(0x1fc)]();});}[_0x334f68(0x1ee)](_0x425605,_0x525625){const _0x55cba2=_0x334f68,_0x11d54f=document[_0x55cba2(0x1f2)]('a');_0x11d54f[_0x55cba2(0x1cd)]=window[_0x55cba2(0x1dc)][_0x55cba2(0x1e8)](_0x425605),_0x11d54f[_0x55cba2(0x205)]=_0x525625,_0x11d54f[_0x55cba2(0x1e5)](),_0x11d54f[_0x55cba2(0x1f3)]();}}function _0x1a48(_0x30b599,_0x28b66c){const _0x5011d5=_0x5011();return _0x1a48=function(_0x1a4867,_0x4d209a){_0x1a4867=_0x1a4867-0x1c3;let _0x2d583a=_0x5011d5[_0x1a4867];return _0x2d583a;},_0x1a48(_0x30b599,_0x28b66c);}function _0x5011(){const _0x5f4653=['showWarning','editor','createElement','remove','then','POST','746494GJRQTF','602464lxUbZG','Word\x20document\x20export\x20successful','options','16484897VITjns','contentLanguageDirection','refresh','isBusy','pending','stylesheets','margin_left','9AvILAb','_token','document.docx','dataCallback','download','header','Notification','catch','footer','<div\x20class=\x22ck-content\x22\x20dir=\x22','https://docx-converter.cke-cs.com/v1/convert','588QwEgVc','converterUrl','application/json','application/docx','comments','2728kZpdnl','21777uaCcLu','plugins','locale','isEnabled','export-word-v1-api-is-deprecated','version','margin_right','auto_pagination','format','assertive','get','announce','124251GPvDjz','href','EDITOR_STYLES','token','finally','margin_top','1595LnVbLo','data','orientation','https://docx-converter.cke-cs.com/v2/convert/html-docx','ExportWord','Word\x20document\x20export\x20failed','fileName','fetch','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','8855480COaieU','URL','value','status','Word\x20document\x20export\x20started','stringify','</div>','config','execute','suggestions','click','affectsData','blob','createObjectURL','function','set','24XEfXqf','converterOptions','ariaLiveAnnouncer','_downloadFile','margin_bottom'];_0x5011=function(){return _0x5f4653;};return _0x5011();}
23
+ function _0x4528(_0x3b7e07,_0x916f40){const _0x19beb0=_0x19be();return _0x4528=function(_0x452831,_0x4b17fe){_0x452831=_0x452831-0x100;let _0x673f84=_0x19beb0[_0x452831];return _0x673f84;},_0x4528(_0x3b7e07,_0x916f40);}const _0x11370c=_0x4528;(function(_0x13c1e4,_0x2d8ef0){const _0x589fd0=_0x4528,_0x3ee907=_0x13c1e4();while(!![]){try{const _0x3b04b6=-parseInt(_0x589fd0(0x126))/0x1+parseInt(_0x589fd0(0x124))/0x2+parseInt(_0x589fd0(0x12a))/0x3+-parseInt(_0x589fd0(0x10b))/0x4+parseInt(_0x589fd0(0x13e))/0x5*(-parseInt(_0x589fd0(0x104))/0x6)+-parseInt(_0x589fd0(0x10a))/0x7*(parseInt(_0x589fd0(0x11f))/0x8)+-parseInt(_0x589fd0(0x140))/0x9*(-parseInt(_0x589fd0(0x111))/0xa);if(_0x3b04b6===_0x2d8ef0)break;else _0x3ee907['push'](_0x3ee907['shift']());}catch(_0x51ce5c){_0x3ee907['push'](_0x3ee907['shift']());}}}(_0x19be,0x43f91));import{Command as _0x4b885e}from'ckeditor5/src/core.js';function _0x19be(){const _0xd8de81=['102tGaQCl','fetch','affectsData','contentLanguageDirection','margin_right','then','21rIljxT','1661504LOqNeQ','plugins','POST','<div\x20class=\x22ck-content\x22\x20dir=\x22','value','refresh','2504620HLBirR','dataCallback','editor','application/json','isEnabled','Word\x20document\x20export\x20failed','finally','converterOptions','isBusy','comments','locale','createElement','orientation','remove','1119672RqdEbl','footer','token','version','ariaLiveAnnouncer','726132zOGnCG','</div>','402152FXXEtV','href','export-word-v1-api-is-deprecated','status','1245366kaXzFz','URL','Word\x20document\x20export\x20successful','createObjectURL','EDITOR_STYLES','Word\x20document\x20export\x20started','execute','showWarning','_downloadFile','margin_bottom','margin_left','catch','function','document.docx','converterUrl','stringify','data','assertive','config','options','77710WPhOHe','format','36GaCBBc','auto_pagination','header','margin_top','suggestions','download','_token','https://docx-converter.cke-cs.com/v1/convert','fileName','announce','https://docx-converter.cke-cs.com/v2/convert/html-docx','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','application/docx','blob','pending','get','stylesheets','ExportWord','set','Notification','click'];_0x19be=function(){return _0xd8de81;};return _0x19be();}import{logWarning as _0x3b535b,collectStylesheets as _0x17411d}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x3f238b,getConverterOptionsV2 as _0x187b20}from'./utils.js';import{getTranslation as _0x192470}from'./utils/common-translations.js';const p=[_0x11370c(0x11d),_0x11370c(0x143),_0x11370c(0x108),_0x11370c(0x133),_0x11370c(0x134),_0x11370c(0x13f),_0x11370c(0x142),_0x11370c(0x120),_0x11370c(0x11a),_0x11370c(0x144)];export class ExportWordCommand extends _0x4b885e{constructor(_0x54f7d9){const _0x4e3555=_0x11370c;super(_0x54f7d9),this[_0x4e3555(0x101)](_0x4e3555(0x119),!0x1),this[_0x4e3555(0x106)]=!0x1;}[_0x11370c(0x110)](){const _0x54451e=_0x11370c;this[_0x54451e(0x115)]=!this[_0x54451e(0x119)],this[_0x54451e(0x10f)]=this[_0x54451e(0x119)]?_0x54451e(0x14e):void 0x0;}[_0x11370c(0x130)](_0x595b68={}){const _0x215d55=_0x11370c,_0xe7ae31=this[_0x215d55(0x113)],_0x2aa734=_0x595b68[_0x215d55(0x122)]||0x2,_0xe82c78=0x1===_0x2aa734,_0x12bc4c=_0x595b68[_0x215d55(0x138)]||(_0xe82c78?_0x215d55(0x147):_0x215d55(0x14a)),_0x9fb288=_0x595b68[_0x215d55(0x118)]||{},_0x2ef7dc=_0xe7ae31[_0x215d55(0x10c)][_0x215d55(0x14f)](_0x215d55(0x100)),_0x1b3c49=_0x595b68[_0x215d55(0x121)]||_0x2ef7dc[_0x215d55(0x146)],_0x4d644f=!0x0===_0x9fb288[_0x215d55(0x141)],_0x2bda47=_0x595b68[_0x215d55(0x112)]||(_0x546e7e=>_0x546e7e[_0x215d55(0x13a)][_0x215d55(0x14f)]({'pagination':_0x4d644f}));return 0x2===_0x2aa734&&function(_0x34580e){for(const _0x33117c of p)if(void 0x0!==_0x34580e[_0x33117c])return!0x0;return!0x1;}(_0x9fb288)&&_0x3b535b(_0x215d55(0x128)),this[_0x215d55(0x119)]=!0x0,this[_0x215d55(0x110)](),_0x17411d(_0x595b68[_0x215d55(0x150)]||[_0x215d55(0x12e)])[_0x215d55(0x109)](async _0x2c7507=>{const _0x4893f8=_0x215d55;_0xe7ae31['ui'][_0x4893f8(0x123)][_0x4893f8(0x149)](_0x192470(_0xe7ae31[_0x4893f8(0x11b)],_0x4893f8(0x12f)));const _0x1507c4=await _0x2bda47(_0xe7ae31),_0x4f2c67={'html':_0x4893f8(0x10e)+_0xe7ae31[_0x4893f8(0x11b)][_0x4893f8(0x107)]+'\x22>'+_0x1507c4+_0x4893f8(0x125),'css':_0x2c7507,[_0xe82c78?_0x4893f8(0x13d):_0x4893f8(0x13c)]:{..._0x9fb288,..._0xe82c78?_0x3f238b(_0xe7ae31,_0x9fb288):_0x187b20(_0xe7ae31,_0x9fb288)}},_0xcf0d24={'method':_0x4893f8(0x10d),'headers':{'Content-Type':_0x4893f8(0x114),'Accept':_0x4893f8(0x14c),..._0x1b3c49?{'Authorization':_0x1b3c49[_0x4893f8(0x10f)]}:null},'body':JSON[_0x4893f8(0x139)](_0x4f2c67)};return window[_0x4893f8(0x105)](_0x12bc4c,_0xcf0d24)[_0x4893f8(0x109)](_0x43e81a=>{const _0x15d612=_0x4893f8;if(0xc8!==_0x43e81a[_0x15d612(0x129)])throw _0x43e81a;return _0x43e81a[_0x15d612(0x14d)]();})[_0x4893f8(0x109)](_0xa0ceb1=>{const _0xa97508=_0x4893f8;_0xe7ae31['ui'][_0xa97508(0x123)][_0xa97508(0x149)](_0x192470(_0xe7ae31[_0xa97508(0x11b)],_0xa97508(0x12c)));const _0x3a1e4c=_0xa97508(0x136)==typeof _0x595b68[_0xa97508(0x148)]?_0x595b68[_0xa97508(0x148)]():_0x595b68[_0xa97508(0x148)];this[_0xa97508(0x132)](_0xa0ceb1,_0x3a1e4c||_0xa97508(0x137));});})[_0x215d55(0x135)](_0x1d83c5=>{const _0x446c13=_0x215d55,_0x12f8fd=_0xe7ae31[_0x446c13(0x10c)][_0x446c13(0x14f)](_0x446c13(0x102));throw _0xe7ae31['ui'][_0x446c13(0x123)][_0x446c13(0x149)](_0x192470(_0xe7ae31[_0x446c13(0x11b)],_0x446c13(0x116)),{'politeness':_0x446c13(0x13b)}),_0x12f8fd[_0x446c13(0x131)](_0x192470(_0xe7ae31[_0x446c13(0x11b)],_0x446c13(0x14b))),_0x1d83c5;})[_0x215d55(0x117)](()=>{const _0x2a5e61=_0x215d55;this[_0x2a5e61(0x119)]=!0x1,this[_0x2a5e61(0x110)]();});}[_0x11370c(0x132)](_0x4fd9ea,_0xb4eae7){const _0x57b3c4=_0x11370c,_0xa9bca5=document[_0x57b3c4(0x11c)]('a');_0xa9bca5[_0x57b3c4(0x127)]=window[_0x57b3c4(0x12b)][_0x57b3c4(0x12d)](_0x4fd9ea),_0xa9bca5[_0x57b3c4(0x145)]=_0xb4eae7,_0xa9bca5[_0x57b3c4(0x103)](),_0xa9bca5[_0x57b3c4(0x11e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44de13=_0x3e3e;function _0x21e8(){const _0x4d5dce=['children','40QTUwrX','set','53874630jiafTG','pluginName','_createButton','view','execute','exportWord','isEnabled','isPremiumPlugin','bind','editing','13741893FBYioD','get','isOn','commands','3622048LsgCQu','6229590TwEJPK','Export\x20to\x20Word','label','focus','init','config','ExportWordUI','add','isVisible','isOfficialPlugin','componentFactory','3YFGpmm','iconView','menuBar:exportWord','2429924UvDRlx','editor','Exporting\x20Word\x20document','isBusy','47383LbfXwl','593785fCStsy','7dYvKtl','listenTo','locale'];_0x21e8=function(){return _0x4d5dce;};return _0x21e8();}(function(_0x4567bc,_0x19a637){const _0x31ef=_0x3e3e,_0x33ee22=_0x4567bc();while(!![]){try{const _0x479b47=-parseInt(_0x31ef(0x7f))/0x1+-parseInt(_0x31ef(0x7b))/0x2*(parseInt(_0x31ef(0x78))/0x3)+parseInt(_0x31ef(0x85))/0x4*(-parseInt(_0x31ef(0x80))/0x5)+-parseInt(_0x31ef(0x96))/0x6+-parseInt(_0x31ef(0x81))/0x7*(-parseInt(_0x31ef(0x95))/0x8)+-parseInt(_0x31ef(0x91))/0x9+parseInt(_0x31ef(0x87))/0xa;if(_0x479b47===_0x19a637)break;else _0x33ee22['push'](_0x33ee22['shift']());}catch(_0x485f1e){_0x33ee22['push'](_0x33ee22['shift']());}}}(_0x21e8,0xc974a));import{Plugin as _0x38fe16}from'ckeditor5/src/core.js';import{IconExportWord as _0x42623f}from'ckeditor5/src/icons.js';function _0x3e3e(_0x1b5b05,_0x1d6fad){const _0x21e820=_0x21e8();return _0x3e3e=function(_0x3e3e1f,_0x22bf7b){_0x3e3e1f=_0x3e3e1f-0x76;let _0x44e197=_0x21e820[_0x3e3e1f];return _0x44e197;},_0x3e3e(_0x1b5b05,_0x1d6fad);}import{ButtonView as _0x2d9b20,MenuBarMenuListItemButtonView as _0x208ba5,SpinnerView as _0x1f0513}from'ckeditor5/src/ui.js';import{getTranslation as _0x8ef5cf}from'./utils/common-translations.js';export class ExportWordUI extends _0x38fe16{static get[_0x44de13(0x88)](){const _0x51cc86=_0x44de13;return _0x51cc86(0x9c);}static get[_0x44de13(0x76)](){return!0x0;}static get[_0x44de13(0x8e)](){return!0x0;}[_0x44de13(0x9a)](){const _0x44f41b=_0x44de13,_0x14bfef=this[_0x44f41b(0x7c)];_0x14bfef['ui'][_0x44f41b(0x77)][_0x44f41b(0x9d)](_0x44f41b(0x8c),()=>{const _0x3c21fe=_0x44f41b,_0x7a644a=_0x14bfef[_0x3c21fe(0x94)][_0x3c21fe(0x92)](_0x3c21fe(0x8c)),_0x56c7d2=this[_0x3c21fe(0x89)](_0x2d9b20);return _0x56c7d2[_0x3c21fe(0x86)]({'tooltip':!0x0}),_0x56c7d2[_0x3c21fe(0x8f)](_0x3c21fe(0x93))['to'](_0x7a644a,_0x3c21fe(0x7e)),_0x56c7d2;}),_0x14bfef['ui'][_0x44f41b(0x77)][_0x44f41b(0x9d)](_0x44f41b(0x7a),()=>this[_0x44f41b(0x89)](_0x208ba5));}[_0x44de13(0x89)](_0xd7047d){const _0x46a3ea=_0x44de13,_0x460f9c=this[_0x46a3ea(0x7c)],_0xef9e51=_0x460f9c[_0x46a3ea(0x9b)][_0x46a3ea(0x92)](_0x46a3ea(0x8c))||{},_0xf77dc2=_0x460f9c[_0x46a3ea(0x94)][_0x46a3ea(0x92)](_0x46a3ea(0x8c)),_0x3636ea=new _0xd7047d(_0x460f9c[_0x46a3ea(0x83)]),_0x49ada4=new _0x1f0513();return _0x3636ea[_0x46a3ea(0x84)][_0x46a3ea(0x9d)](_0x49ada4),_0x49ada4[_0x46a3ea(0x8f)](_0x46a3ea(0x9e))['to'](_0xf77dc2,_0x46a3ea(0x7e)),_0x3636ea[_0x46a3ea(0x79)][_0x46a3ea(0x8f)](_0x46a3ea(0x9e))['to'](_0xf77dc2,_0x46a3ea(0x7e),_0x511b83=>!_0x511b83),_0x3636ea[_0x46a3ea(0x86)]({'icon':_0x42623f}),_0x3636ea[_0x46a3ea(0x8f)](_0x46a3ea(0x8d))['to'](_0xf77dc2,_0x46a3ea(0x8d)),_0x3636ea[_0x46a3ea(0x8f)](_0x46a3ea(0x98))['to'](_0xf77dc2,_0x46a3ea(0x7e),_0x33ffe3=>_0x8ef5cf(_0x460f9c[_0x46a3ea(0x83)],_0x33ffe3?_0x46a3ea(0x7d):_0x46a3ea(0x97))),this[_0x46a3ea(0x82)](_0x3636ea,_0x46a3ea(0x8b),()=>{const _0x41f82a=_0x46a3ea;_0x460f9c[_0x41f82a(0x8b)](_0x41f82a(0x8c),_0xef9e51),_0x460f9c[_0x41f82a(0x90)][_0x41f82a(0x8a)][_0x41f82a(0x99)]();}),_0x3636ea;}}
23
+ function _0x44d8(){const _0x22dbdb=['isOfficialPlugin','label','29277149oLemfT','isVisible','execute','Exporting\x20Word\x20document','5TseYCF','7743328hXKzzk','409182LaeNje','componentFactory','add','1050tQjkiX','isEnabled','_createButton','5659094iTzmhL','config','ExportWordUI','exportWord','isBusy','focus','3246772BgXwYj','5469430mIiMTz','menuBar:exportWord','init','commands','isOn','pluginName','4342NiHNYf','iconView','9UIMUiE','editor','listenTo','get','bind','isPremiumPlugin','locale','Export\x20to\x20Word','set','view','children','editing','6leHaPr'];_0x44d8=function(){return _0x22dbdb;};return _0x44d8();}const _0x3ad674=_0x193d;(function(_0x109e0b,_0x36b221){const _0x26cbd5=_0x193d,_0x28d78c=_0x109e0b();while(!![]){try{const _0x24005c=parseInt(_0x26cbd5(0xf9))/0x1+parseInt(_0x26cbd5(0x10c))/0x2*(parseInt(_0x26cbd5(0xfc))/0x3)+parseInt(_0x26cbd5(0x105))/0x4*(-parseInt(_0x26cbd5(0xf7))/0x5)+-parseInt(_0x26cbd5(0x11a))/0x6*(parseInt(_0x26cbd5(0xff))/0x7)+-parseInt(_0x26cbd5(0xf8))/0x8+parseInt(_0x26cbd5(0x10e))/0x9*(-parseInt(_0x26cbd5(0x106))/0xa)+parseInt(_0x26cbd5(0x11d))/0xb;if(_0x24005c===_0x36b221)break;else _0x28d78c['push'](_0x28d78c['shift']());}catch(_0x4bc8ba){_0x28d78c['push'](_0x28d78c['shift']());}}}(_0x44d8,0xa9d2d));import{Plugin as _0x9deea9}from'ckeditor5/src/core.js';import{IconExportWord as _0x5b9f49}from'ckeditor5/src/icons.js';import{ButtonView as _0xaad51c,MenuBarMenuListItemButtonView as _0x482e37,SpinnerView as _0x2fa432}from'ckeditor5/src/ui.js';import{getTranslation as _0x48536f}from'./utils/common-translations.js';function _0x193d(_0x4beb61,_0x25c8cf){const _0x44d88c=_0x44d8();return _0x193d=function(_0x193d9f,_0x26651f){_0x193d9f=_0x193d9f-0xf7;let _0x5d80d9=_0x44d88c[_0x193d9f];return _0x5d80d9;},_0x193d(_0x4beb61,_0x25c8cf);}export class ExportWordUI extends _0x9deea9{static get[_0x3ad674(0x10b)](){const _0x5b9f0b=_0x3ad674;return _0x5b9f0b(0x101);}static get[_0x3ad674(0x11b)](){return!0x0;}static get[_0x3ad674(0x113)](){return!0x0;}[_0x3ad674(0x108)](){const _0x3d5cab=_0x3ad674,_0x5704d5=this[_0x3d5cab(0x10f)];_0x5704d5['ui'][_0x3d5cab(0xfa)][_0x3d5cab(0xfb)](_0x3d5cab(0x102),()=>{const _0x10e9f4=_0x3d5cab,_0x34434e=_0x5704d5[_0x10e9f4(0x109)][_0x10e9f4(0x111)](_0x10e9f4(0x102)),_0xfd238=this[_0x10e9f4(0xfe)](_0xaad51c);return _0xfd238[_0x10e9f4(0x116)]({'tooltip':!0x0}),_0xfd238[_0x10e9f4(0x112)](_0x10e9f4(0x10a))['to'](_0x34434e,_0x10e9f4(0x103)),_0xfd238;}),_0x5704d5['ui'][_0x3d5cab(0xfa)][_0x3d5cab(0xfb)](_0x3d5cab(0x107),()=>this[_0x3d5cab(0xfe)](_0x482e37));}[_0x3ad674(0xfe)](_0xc246f5){const _0x4398ff=_0x3ad674,_0x2db75d=this[_0x4398ff(0x10f)],_0x69ed1=_0x2db75d[_0x4398ff(0x100)][_0x4398ff(0x111)](_0x4398ff(0x102))||{},_0x2a3ad5=_0x2db75d[_0x4398ff(0x109)][_0x4398ff(0x111)](_0x4398ff(0x102)),_0x387ee5=new _0xc246f5(_0x2db75d[_0x4398ff(0x114)]),_0x1731c0=new _0x2fa432();return _0x387ee5[_0x4398ff(0x118)][_0x4398ff(0xfb)](_0x1731c0),_0x1731c0[_0x4398ff(0x112)](_0x4398ff(0x11e))['to'](_0x2a3ad5,_0x4398ff(0x103)),_0x387ee5[_0x4398ff(0x10d)][_0x4398ff(0x112)](_0x4398ff(0x11e))['to'](_0x2a3ad5,_0x4398ff(0x103),_0x39461c=>!_0x39461c),_0x387ee5[_0x4398ff(0x116)]({'icon':_0x5b9f49}),_0x387ee5[_0x4398ff(0x112)](_0x4398ff(0xfd))['to'](_0x2a3ad5,_0x4398ff(0xfd)),_0x387ee5[_0x4398ff(0x112)](_0x4398ff(0x11c))['to'](_0x2a3ad5,_0x4398ff(0x103),_0xf294e3=>_0x48536f(_0x2db75d[_0x4398ff(0x114)],_0xf294e3?_0x4398ff(0x120):_0x4398ff(0x115))),this[_0x4398ff(0x110)](_0x387ee5,_0x4398ff(0x11f),()=>{const _0xde9c03=_0x4398ff;_0x2db75d[_0xde9c03(0x11f)](_0xde9c03(0x102),_0x69ed1),_0x2db75d[_0xde9c03(0x119)][_0xde9c03(0x117)][_0xde9c03(0x104)]();}),_0x387ee5;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x152d(_0x977825,_0x39916a){var _0x40a181=_0x40a1();return _0x152d=function(_0x152d64,_0x323dc1){_0x152d64=_0x152d64-0x1a3;var _0x5a0608=_0x40a181[_0x152d64];return _0x5a0608;},_0x152d(_0x977825,_0x39916a);}(function(_0x37bf8a,_0x2b8c1a){var _0x3411df=_0x152d,_0x3a94ac=_0x37bf8a();while(!![]){try{var _0x4479b1=parseInt(_0x3411df(0x1ac))/0x1+parseInt(_0x3411df(0x1ae))/0x2*(-parseInt(_0x3411df(0x1a3))/0x3)+-parseInt(_0x3411df(0x1a8))/0x4*(parseInt(_0x3411df(0x1a9))/0x5)+parseInt(_0x3411df(0x1a5))/0x6+parseInt(_0x3411df(0x1ab))/0x7*(parseInt(_0x3411df(0x1ad))/0x8)+-parseInt(_0x3411df(0x1a7))/0x9*(-parseInt(_0x3411df(0x1a6))/0xa)+-parseInt(_0x3411df(0x1a4))/0xb*(parseInt(_0x3411df(0x1aa))/0xc);if(_0x4479b1===_0x2b8c1a)break;else _0x3a94ac['push'](_0x3a94ac['shift']());}catch(_0x2bdea2){_0x3a94ac['push'](_0x3a94ac['shift']());}}}(_0x40a1,0xefd2e));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0x40a1(){var _0x3b44a6=['56bTWWne','531460tihpxv','3SCgeyA','35068IkodUe','2582022uZSvDp','9090HaMIZq','7947TCSJrN','114524PAiWMh','10LmjwJt','11472dNZxJw','1414623LuLLNC','1705431uTuiRh'];_0x40a1=function(){return _0x3b44a6;};return _0x40a1();}
23
+ (function(_0x4b4acc,_0x3ebed9){var _0x193b1b=_0x1bbb,_0x390452=_0x4b4acc();while(!![]){try{var _0x2c3e45=-parseInt(_0x193b1b(0xc6))/0x1+-parseInt(_0x193b1b(0xc7))/0x2*(parseInt(_0x193b1b(0xc5))/0x3)+parseInt(_0x193b1b(0xc9))/0x4+parseInt(_0x193b1b(0xca))/0x5*(-parseInt(_0x193b1b(0xc8))/0x6)+-parseInt(_0x193b1b(0xc3))/0x7+parseInt(_0x193b1b(0xc2))/0x8+parseInt(_0x193b1b(0xc4))/0x9;if(_0x2c3e45===_0x3ebed9)break;else _0x390452['push'](_0x390452['shift']());}catch(_0x13290b){_0x390452['push'](_0x390452['shift']());}}}(_0x281f,0x98454));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';function _0x281f(){var _0x117548=['1082247tqEOIW','654517fxjerH','6kvSHFt','3269688ZJCeYn','1200276kCjgOT','10mgvJFL','6067856dzCAbq','3278408ebLdwS','25741377eZhpca'];_0x281f=function(){return _0x117548;};return _0x281f();}function _0x1bbb(_0x3af08a,_0x666698){var _0x281fe5=_0x281f();return _0x1bbb=function(_0x1bbb69,_0x554665){_0x1bbb69=_0x1bbb69-0xc2;var _0x2860d4=_0x281fe5[_0x1bbb69];return _0x2860d4;},_0x1bbb(_0x3af08a,_0x666698);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x184c13,_0x4feed1){const t=_0x184c13['t'];switch(_0x4feed1){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 _0x4feed1;}}
23
+ export function getTranslation(_0x1eb4c4,_0xc9f89){const t=_0x1eb4c4['t'];switch(_0xc9f89){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 _0xc9f89;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xc491e2,_0x2888a3){const _0x27234c=_0x2216,_0x3a7cca=_0xc491e2();while(!![]){try{const _0x49bcd2=-parseInt(_0x27234c(0x15f))/0x1+parseInt(_0x27234c(0x141))/0x2*(-parseInt(_0x27234c(0x13c))/0x3)+-parseInt(_0x27234c(0x148))/0x4*(-parseInt(_0x27234c(0x133))/0x5)+parseInt(_0x27234c(0x164))/0x6*(parseInt(_0x27234c(0x158))/0x7)+-parseInt(_0x27234c(0x137))/0x8*(parseInt(_0x27234c(0x161))/0x9)+-parseInt(_0x27234c(0x15d))/0xa+parseInt(_0x27234c(0x13b))/0xb;if(_0x49bcd2===_0x2888a3)break;else _0x3a7cca['push'](_0x3a7cca['shift']());}catch(_0x904aca){_0x3a7cca['push'](_0x3a7cca['shift']());}}}(_0x5d75,0x63967));export function getConverterOptions(_0x30c75d,_0x51a6ea={}){const _0x41a188=_0x2216,_0x3d3722=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x157)),_0x2ca836=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x142)),_0xda9f28=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x147)),_0x12a5bd=_0x51a6ea;if(_0x3d3722&&_0x2ca836){const _0x2a6da9=getComments(_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x142))[_0x41a188(0x167)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x41a188(0x168)](_0x2a6da9)[_0x41a188(0x155)]&&(_0x12a5bd[_0x41a188(0x16c)]=_0x2a6da9);}if(_0x3d3722&&_0xda9f28){const _0x461528=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x147)),_0x37c78b=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x157)),_0x3d8c9d=getSuggestions(_0x461528[_0x41a188(0x14e)]({'toJSON':!0x0}),_0x37c78b[_0x41a188(0x153)]);Object[_0x41a188(0x168)](_0x3d8c9d)[_0x41a188(0x155)]&&(_0x12a5bd[_0x41a188(0x150)]=_0x3d8c9d);}return(_0x12a5bd[_0x41a188(0x150)]||_0x12a5bd[_0x41a188(0x16c)])&&(_0x12a5bd[_0x41a188(0x143)]=new Intl[(_0x41a188(0x159))]()[_0x41a188(0x16a)]()[_0x41a188(0x13f)]),_0x12a5bd;}export function getComments(_0x338297){const _0x1e8c3f=_0x2216,_0x2a8b62={};if(!_0x338297[_0x1e8c3f(0x155)])return _0x2a8b62;for(const _0x2e377c of _0x338297)_0x2e377c[_0x1e8c3f(0x16c)][_0x1e8c3f(0x139)](_0x138416=>{const _0x55d962=_0x1e8c3f;void 0x0===_0x2a8b62[_0x2e377c['id']]&&(_0x2a8b62[_0x2e377c['id']]=[]),_0x2a8b62[_0x2e377c['id']][_0x55d962(0x14d)]({'author':_0x138416[_0x55d962(0x15b)][_0x55d962(0x154)],'content':_0x138416[_0x55d962(0x156)],'created':_0x138416[_0x55d962(0x169)],'is_resolved':_0x2e377c[_0x55d962(0x14c)]});});return _0x2a8b62;}export function getSuggestions(_0x52f70f,_0x3b2d4b){const _0x14226c=_0x2216,_0x267fe9={};if(!_0x52f70f[_0x14226c(0x155)]||!_0x3b2d4b[_0x14226c(0x155)])return _0x267fe9;for(const {id:_0x3ecc08,createdAt:_0x7debce,authorId:_0x67aa18,attributes:_0x5d27de}of _0x52f70f){const _0x3af591=_0x5d27de&&_0x5d27de[_0x14226c(0x160)],_0x39d4ab=_0x3af591?_0x3af591[_0x14226c(0x14b)]:_0x3b2d4b[_0x14226c(0x13d)](_0x67aa18)[_0x14226c(0x154)];_0x267fe9[_0x3ecc08]={'author':_0x39d4ab,'created':_0x7debce};}return _0x267fe9;}export function getConverterOptionsV2(_0x5a4df5,_0x5bc738={}){const _0x3eaee6=_0x2216,_0x31facd=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x157)),_0x1ff1a7=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x142)),_0x3aebaf=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x147)),_0x1e69c2=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x14f)),_0xe926b8=_0x5a4df5[_0x3eaee6(0x15e)][_0x3eaee6(0x15c)],_0x42f4f7=_0x5bc738,_0x777218={};if(_0x42f4f7[_0x3eaee6(0x13a)]=_0x42f4f7[_0x3eaee6(0x13a)]||{},_0x42f4f7[_0x3eaee6(0x13a)][_0x3eaee6(0x16b)]=_0x42f4f7[_0x3eaee6(0x13a)][_0x3eaee6(0x16b)]||_0xe926b8,_0x31facd&&_0x1ff1a7){const _0x24f9d1=getCommentsV2(_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x142))[_0x3eaee6(0x167)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x24f9d1[_0x3eaee6(0x155)]&&(_0x777218[_0x3eaee6(0x134)]=_0x24f9d1);}if(_0x31facd&&_0x3aebaf){const _0x208c96=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x147)),_0x27c621=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x157)),_0x3508e3=getSuggestionsV2(_0x208c96[_0x3eaee6(0x14e)]({'toJSON':!0x0}),_0x27c621[_0x3eaee6(0x153)]);_0x3508e3[_0x3eaee6(0x155)]&&(_0x777218[_0x3eaee6(0x150)]=_0x3508e3);}if(_0x1e69c2){const _0x4388c2=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x166)),_0x4dd37c=_0x4388c2[_0x3eaee6(0x135)],{prefix:_0x159840,suffix:_0x592645}=_0x5a4df5[_0x3eaee6(0x136)][_0x3eaee6(0x13d)](_0x3eaee6(0x15a));if(_0x42f4f7[_0x3eaee6(0x149)]={'prefix':_0x159840,'suffix':_0x592645},_0x3eaee6(0x144)!==_0x4dd37c){_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)]={};const _0x3cd554=_0x3eaee6(0x16d),_0x353174=_0x3eaee6(0x152)===_0x4dd37c?_0x4388c2[_0x3eaee6(0x162)]():_0x4388c2[_0x3eaee6(0x165)](_0x4dd37c,!0x0);for(const _0x31ae40 of Object[_0x3eaee6(0x163)](_0x353174)){const [_0x4fe99f,_0x19eb36]=_0x31ae40;_0x3eaee6(0x138)===_0x4388c2[_0x3eaee6(0x151)](_0x4fe99f)?_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)][_0x4fe99f]=null!==_0x19eb36?_0x19eb36:_0x3cd554:_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)][_0x4fe99f]=null!==_0x19eb36?_0x19eb36:_0x4388c2[_0x3eaee6(0x145)](_0x4fe99f)||_0x4fe99f;}}}return(_0x777218[_0x3eaee6(0x134)]||_0x777218[_0x3eaee6(0x150)])&&(_0x42f4f7[_0x3eaee6(0x143)]=new Intl[(_0x3eaee6(0x159))]()[_0x3eaee6(0x16a)]()[_0x3eaee6(0x13f)],_0x42f4f7[_0x3eaee6(0x146)]=_0x777218),_0x42f4f7;}export function getCommentsV2(_0x213a4d){const _0x47c242=_0x2216,_0x5ca1c6=[];if(!_0x213a4d[_0x47c242(0x155)])return _0x5ca1c6;for(const _0x5a382d of _0x213a4d){const _0x1677e0=_0x5a382d[_0x47c242(0x16c)][_0x47c242(0x139)](_0x5005bf=>({'author':_0x5005bf[_0x47c242(0x15b)][_0x47c242(0x154)],'content':_0x5005bf[_0x47c242(0x156)],'created_at':_0x5005bf[_0x47c242(0x169)]}));_0x5ca1c6[_0x47c242(0x14d)]({'thread_id':_0x5a382d['id'],'is_resolved':_0x5a382d[_0x47c242(0x14c)],'comments':_0x1677e0});}return _0x5ca1c6;}function _0x2216(_0x33e4b3,_0x380b17){const _0x5d7551=_0x5d75();return _0x2216=function(_0x2216dc,_0x3a8d29){_0x2216dc=_0x2216dc-0x133;let _0x4eb744=_0x5d7551[_0x2216dc];return _0x4eb744;},_0x2216(_0x33e4b3,_0x380b17);}function _0x5d75(){const _0x1757d0=['CommentsRepository','timezone','$labels','getLabel','collaboration_features','TrackChanges','12oySIVx','merge_fields','data','authorName','isResolved','push','getSuggestions','MergeFields','suggestions','getMergeFieldType','$defaultValues','users','name','length','content','Users','7zymIuf','DateTimeFormat','mergeFields','author','contentLanguage','5015780DFtZmA','locale','730451AdCWiu','@external','4984038YGgrTG','getDefaultValues','entries','1190922mUXcyg','getDataSetValues','MergeFieldsEditing','getCommentThreads','keys','createdAt','resolvedOptions','language','comments','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','35170RrgTlS','comment_threads','previewMode','config','8UIqULm','image','map','document','28776286PxfSUw','2247DSBMBq','get','plugins','timeZone','has','1714xRsBuM'];_0x5d75=function(){return _0x1757d0;};return _0x5d75();}export function getSuggestionsV2(_0x5a04ff,_0x418547){const _0x44e5a5=_0x2216;return _0x5a04ff[_0x44e5a5(0x155)]&&_0x418547[_0x44e5a5(0x155)]?_0x5a04ff[_0x44e5a5(0x139)](({id:_0x8cd341,createdAt:_0x3f9674,authorId:_0x86c122,attributes:_0x472cb5})=>{const _0x2315a9=_0x44e5a5,_0x4be1c7=_0x472cb5&&_0x472cb5[_0x2315a9(0x160)];return{'id':_0x8cd341,'author':_0x4be1c7?_0x4be1c7[_0x2315a9(0x14b)]:_0x418547[_0x2315a9(0x13d)](_0x86c122)[_0x2315a9(0x154)],'created_at':_0x3f9674};}):[];}
23
+ (function(_0x22d60e,_0x4a6d6d){const _0x38daae=_0x4dfc,_0x3c728e=_0x22d60e();while(!![]){try{const _0x391d88=parseInt(_0x38daae(0xe8))/0x1*(parseInt(_0x38daae(0xf7))/0x2)+parseInt(_0x38daae(0xd2))/0x3+parseInt(_0x38daae(0xfb))/0x4+parseInt(_0x38daae(0xf6))/0x5*(-parseInt(_0x38daae(0xef))/0x6)+-parseInt(_0x38daae(0xd7))/0x7+-parseInt(_0x38daae(0xce))/0x8+-parseInt(_0x38daae(0xd5))/0x9*(-parseInt(_0x38daae(0xf2))/0xa);if(_0x391d88===_0x4a6d6d)break;else _0x3c728e['push'](_0x3c728e['shift']());}catch(_0x19a645){_0x3c728e['push'](_0x3c728e['shift']());}}}(_0x9bbc,0xc606d));export function getConverterOptions(_0x52cee1,_0x165049={}){const _0x18c193=_0x4dfc,_0x5ecf11=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xfc)),_0x23e628=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xcb)),_0x36d5b3=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xeb)),_0x4c3dcc=_0x165049;if(_0x5ecf11&&_0x23e628){const _0x402219=getComments(_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xcb))[_0x18c193(0xfe)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x18c193(0xdb)](_0x402219)[_0x18c193(0xd8)]&&(_0x4c3dcc[_0x18c193(0xdd)]=_0x402219);}if(_0x5ecf11&&_0x36d5b3){const _0x1644f5=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xeb)),_0x2df34d=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xfc)),_0x5eec05=getSuggestions(_0x1644f5[_0x18c193(0xd3)]({'toJSON':!0x0}),_0x2df34d[_0x18c193(0xd6)]);Object[_0x18c193(0xdb)](_0x5eec05)[_0x18c193(0xd8)]&&(_0x4c3dcc[_0x18c193(0xf3)]=_0x5eec05);}return(_0x4c3dcc[_0x18c193(0xf3)]||_0x4c3dcc[_0x18c193(0xdd)])&&(_0x4c3dcc[_0x18c193(0xf4)]=new Intl[(_0x18c193(0xed))]()[_0x18c193(0x103)]()[_0x18c193(0xe3)]),_0x4c3dcc;}export function getComments(_0x3f3c31){const _0x569df8=_0x4dfc,_0x106084={};if(!_0x3f3c31[_0x569df8(0xd8)])return _0x106084;for(const _0x32686e of _0x3f3c31)_0x32686e[_0x569df8(0xdd)][_0x569df8(0xf8)](_0x482f77=>{const _0x32f121=_0x569df8;void 0x0===_0x106084[_0x32686e['id']]&&(_0x106084[_0x32686e['id']]=[]),_0x106084[_0x32686e['id']][_0x32f121(0xf1)]({'author':_0x482f77[_0x32f121(0xde)][_0x32f121(0xe4)],'content':_0x482f77[_0x32f121(0xd1)],'created':_0x482f77[_0x32f121(0xcd)],'is_resolved':_0x32686e[_0x32f121(0x102)]});});return _0x106084;}function _0x9bbc(){const _0x4a48a1=['MergeFieldsEditing','entries','1SCtTnT','plugins','locale','TrackChanges','getMergeFieldType','DateTimeFormat','has','1849836Ehezmq','data','push','10RckJQf','suggestions','timezone','previewMode','10mekzoj','102680ieYhmC','map','getLabel','getDefaultValues','2847236ctcMqf','Users','config','getCommentThreads','@external','getDataSetValues','authorName','isResolved','resolvedOptions','language','CommentsRepository','contentLanguage','createdAt','12488688GPiZlM','comment_threads','$labels','content','2727006HxqzbN','getSuggestions','image','23473260iNJiRV','users','9040332NLEQsZ','length','$defaultValues','MergeFields','keys','document','comments','author','collaboration_features','get','mergeFields','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','timeZone','name','merge_fields'];_0x9bbc=function(){return _0x4a48a1;};return _0x9bbc();}function _0x4dfc(_0x174cb8,_0x53924c){const _0x9bbc73=_0x9bbc();return _0x4dfc=function(_0x4dfc5b,_0x2f84bb){_0x4dfc5b=_0x4dfc5b-0xcb;let _0x46343a=_0x9bbc73[_0x4dfc5b];return _0x46343a;},_0x4dfc(_0x174cb8,_0x53924c);}export function getSuggestions(_0x9ba735,_0x5f3649){const _0x3380a5=_0x4dfc,_0x5a5e6b={};if(!_0x9ba735[_0x3380a5(0xd8)]||!_0x5f3649[_0x3380a5(0xd8)])return _0x5a5e6b;for(const {id:_0x55a2db,createdAt:_0x47ad9d,authorId:_0x500794,attributes:_0x1aad6a}of _0x9ba735){const _0x1a6bc7=_0x1aad6a&&_0x1aad6a[_0x3380a5(0xff)],_0x5107fa=_0x1a6bc7?_0x1a6bc7[_0x3380a5(0x101)]:_0x5f3649[_0x3380a5(0xe0)](_0x500794)[_0x3380a5(0xe4)];_0x5a5e6b[_0x55a2db]={'author':_0x5107fa,'created':_0x47ad9d};}return _0x5a5e6b;}export function getConverterOptionsV2(_0x503f57,_0x3639b4={}){const _0x18ece7=_0x4dfc,_0x1db293=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xfc)),_0x6681a7=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xcb)),_0x23dd92=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xeb)),_0x122d42=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xda)),_0x4112d5=_0x503f57[_0x18ece7(0xea)][_0x18ece7(0xcc)],_0x1e9a62=_0x3639b4,_0x109f95={};if(_0x1e9a62[_0x18ece7(0xdc)]=_0x1e9a62[_0x18ece7(0xdc)]||{},_0x1e9a62[_0x18ece7(0xdc)][_0x18ece7(0x104)]=_0x1e9a62[_0x18ece7(0xdc)][_0x18ece7(0x104)]||_0x4112d5,_0x1db293&&_0x6681a7){const _0x2e8a84=getCommentsV2(_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xcb))[_0x18ece7(0xfe)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x2e8a84[_0x18ece7(0xd8)]&&(_0x109f95[_0x18ece7(0xcf)]=_0x2e8a84);}if(_0x1db293&&_0x23dd92){const _0x3c06a3=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xeb)),_0x435334=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xfc)),_0x5d5b5d=getSuggestionsV2(_0x3c06a3[_0x18ece7(0xd3)]({'toJSON':!0x0}),_0x435334[_0x18ece7(0xd6)]);_0x5d5b5d[_0x18ece7(0xd8)]&&(_0x109f95[_0x18ece7(0xf3)]=_0x5d5b5d);}if(_0x122d42){const _0xccca0=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xe6)),_0x2431bb=_0xccca0[_0x18ece7(0xf5)],{prefix:_0x1dbb69,suffix:_0x764415}=_0x503f57[_0x18ece7(0xfd)][_0x18ece7(0xe0)](_0x18ece7(0xe1));if(_0x1e9a62[_0x18ece7(0xe5)]={'prefix':_0x1dbb69,'suffix':_0x764415},_0x18ece7(0xd0)!==_0x2431bb){_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)]={};const _0x4ec12b=_0x18ece7(0xe2),_0x1fd4de=_0x18ece7(0xd9)===_0x2431bb?_0xccca0[_0x18ece7(0xfa)]():_0xccca0[_0x18ece7(0x100)](_0x2431bb,!0x0);for(const _0x1cd9c1 of Object[_0x18ece7(0xe7)](_0x1fd4de)){const [_0x2ebeac,_0x2246ad]=_0x1cd9c1;_0x18ece7(0xd4)===_0xccca0[_0x18ece7(0xec)](_0x2ebeac)?_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)][_0x2ebeac]=null!==_0x2246ad?_0x2246ad:_0x4ec12b:_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)][_0x2ebeac]=null!==_0x2246ad?_0x2246ad:_0xccca0[_0x18ece7(0xf9)](_0x2ebeac)||_0x2ebeac;}}}return(_0x109f95[_0x18ece7(0xcf)]||_0x109f95[_0x18ece7(0xf3)])&&(_0x1e9a62[_0x18ece7(0xf4)]=new Intl[(_0x18ece7(0xed))]()[_0x18ece7(0x103)]()[_0x18ece7(0xe3)],_0x1e9a62[_0x18ece7(0xdf)]=_0x109f95),_0x1e9a62;}export function getCommentsV2(_0x2a24b6){const _0x584718=_0x4dfc,_0x118368=[];if(!_0x2a24b6[_0x584718(0xd8)])return _0x118368;for(const _0xb26b00 of _0x2a24b6){const _0x49cef8=_0xb26b00[_0x584718(0xdd)][_0x584718(0xf8)](_0x35000a=>({'author':_0x35000a[_0x584718(0xde)][_0x584718(0xe4)],'content':_0x35000a[_0x584718(0xd1)],'created_at':_0x35000a[_0x584718(0xcd)]}));_0x118368[_0x584718(0xf1)]({'thread_id':_0xb26b00['id'],'is_resolved':_0xb26b00[_0x584718(0x102)],'comments':_0x49cef8});}return _0x118368;}export function getSuggestionsV2(_0x2fa2d4,_0x341511){const _0x172be8=_0x4dfc;return _0x2fa2d4[_0x172be8(0xd8)]&&_0x341511[_0x172be8(0xd8)]?_0x2fa2d4[_0x172be8(0xf8)](({id:_0x2653a8,createdAt:_0x4f8db3,authorId:_0x3ce315,attributes:_0x3e1800})=>{const _0x593e6e=_0x172be8,_0x378373=_0x3e1800&&_0x3e1800[_0x593e6e(0xff)];return{'id':_0x2653a8,'author':_0x378373?_0x378373[_0x593e6e(0x101)]:_0x341511[_0x593e6e(0xe0)](_0x3ce315)[_0x593e6e(0xe4)],'created_at':_0x4f8db3};}):[];}