@ckeditor/ckeditor5-export-word 46.0.3 → 46.1.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 (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.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 +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. 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": "46.0.3",
3
+ "version": "46.1.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": "46.0.3",
34
- "@ckeditor/ckeditor5-collaboration-core": "46.0.3",
35
- "@ckeditor/ckeditor5-comments": "46.0.3",
36
- "@ckeditor/ckeditor5-core": "46.0.3",
37
- "@ckeditor/ckeditor5-icons": "46.0.3",
38
- "@ckeditor/ckeditor5-merge-fields": "46.0.3",
39
- "@ckeditor/ckeditor5-track-changes": "46.0.3",
40
- "@ckeditor/ckeditor5-utils": "46.0.3",
41
- "@ckeditor/ckeditor5-ui": "46.0.3",
42
- "ckeditor5": "46.0.3"
33
+ "@ckeditor/ckeditor5-cloud-services": "46.1.0-alpha.0",
34
+ "@ckeditor/ckeditor5-collaboration-core": "46.1.0-alpha.0",
35
+ "@ckeditor/ckeditor5-comments": "46.1.0-alpha.0",
36
+ "@ckeditor/ckeditor5-core": "46.1.0-alpha.0",
37
+ "@ckeditor/ckeditor5-icons": "46.1.0-alpha.0",
38
+ "@ckeditor/ckeditor5-merge-fields": "46.1.0-alpha.0",
39
+ "@ckeditor/ckeditor5-track-changes": "46.1.0-alpha.0",
40
+ "@ckeditor/ckeditor5-utils": "46.1.0-alpha.0",
41
+ "@ckeditor/ckeditor5-ui": "46.1.0-alpha.0",
42
+ "ckeditor5": "46.1.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 _0x1cf9fe=_0x1311;function _0xb298(){const _0x295f63=['4112xPhpTu','add','12999822pLxUCs','CloudServices','init','exportWord','tokenUrl','config','ExportWord','pluginName','registerTokenUrl','6lRhlTC','_token','then','4wyuOVC','requires','47106jMfihx','173351bOEBuq','3147732xFxKsI','isOfficialPlugin','2013765RUIJRC','plugins','4046rDgcFP','commands','token','230tuqeMQ','286755MbztkZ','editor','get','isPremiumPlugin'];_0xb298=function(){return _0x295f63;};return _0xb298();}(function(_0x12ba8d,_0xa75301){const _0x584768=_0x1311,_0x2db46b=_0x12ba8d();while(!![]){try{const _0x46db85=parseInt(_0x584768(0x133))/0x1*(parseInt(_0x584768(0x12d))/0x2)+parseInt(_0x584768(0x13c))/0x3*(-parseInt(_0x584768(0x130))/0x4)+parseInt(_0x584768(0x136))/0x5+parseInt(_0x584768(0x134))/0x6+parseInt(_0x584768(0x138))/0x7*(parseInt(_0x584768(0x140))/0x8)+-parseInt(_0x584768(0x132))/0x9*(parseInt(_0x584768(0x13b))/0xa)+-parseInt(_0x584768(0x142))/0xb;if(_0x46db85===_0xa75301)break;else _0x2db46b['push'](_0x2db46b['shift']());}catch(_0x5a0b52){_0x2db46b['push'](_0x2db46b['shift']());}}}(_0xb298,0x54a7f));import{Plugin as _0x55ebf6}from'ckeditor5/src/core.js';import{Notification as _0x315048}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x3bb142}from'./exportwordcommand.js';function _0x1311(_0x19f516,_0x5b148a){const _0xb298da=_0xb298();return _0x1311=function(_0x13111b,_0x294bd0){_0x13111b=_0x13111b-0x12c;let _0x25582b=_0xb298da[_0x13111b];return _0x25582b;},_0x1311(_0x19f516,_0x5b148a);}import{ExportWordUI as _0x123f8a}from'./exportwordui.js';export class ExportWord extends _0x55ebf6{[_0x1cf9fe(0x12e)];static get[_0x1cf9fe(0x149)](){const _0x41fbe8=_0x1cf9fe;return _0x41fbe8(0x148);}static get[_0x1cf9fe(0x135)](){return!0x0;}static get[_0x1cf9fe(0x13f)](){return!0x0;}static get[_0x1cf9fe(0x131)](){const _0x25701e=_0x1cf9fe;return[_0x25701e(0x143),_0x315048,_0x123f8a];}[_0x1cf9fe(0x144)](){const _0xa012bf=_0x1cf9fe,_0x41c1a4=this[_0xa012bf(0x13d)],_0x3ab73c=_0x41c1a4[_0xa012bf(0x147)][_0xa012bf(0x13e)](_0xa012bf(0x145))||{};_0x41c1a4[_0xa012bf(0x139)][_0xa012bf(0x141)](_0xa012bf(0x145),new _0x3bb142(_0x41c1a4));const _0x2106b2=_0x41c1a4[_0xa012bf(0x137)][_0xa012bf(0x13e)](_0xa012bf(0x143));!0x1===_0x3ab73c[_0xa012bf(0x146)]?this[_0xa012bf(0x12e)]=null:_0x3ab73c[_0xa012bf(0x146)]?_0x2106b2[_0xa012bf(0x12c)](_0x3ab73c[_0xa012bf(0x146)])[_0xa012bf(0x12f)](_0x145b78=>{const _0x255eaa=_0xa012bf;this[_0x255eaa(0x12e)]=_0x145b78;}):this[_0xa012bf(0x12e)]=_0x2106b2[_0xa012bf(0x13a)];}}
23
+ function _0x4b2d(_0x25c0af,_0x234c19){const _0xeafae3=_0xeafa();return _0x4b2d=function(_0x4b2dd1,_0xf94655){_0x4b2dd1=_0x4b2dd1-0x87;let _0x547265=_0xeafae3[_0x4b2dd1];return _0x547265;},_0x4b2d(_0x25c0af,_0x234c19);}function _0xeafa(){const _0x1bbcaf=['4paUmoE','init','5URmKrc','pluginName','20ndvOpS','48NCXVim','exportWord','config','commands','editor','token','CloudServices','13VKpmCF','tokenUrl','isOfficialPlugin','59877BrUTnj','6NYAssh','2909004NBREKe','get','requires','152411UVLJVu','_token','884454SgNXHn','622101ILiJuH','then','isPremiumPlugin','registerTokenUrl','8966EPzsUV','2289991AFFdni','plugins','add','ExportWord'];_0xeafa=function(){return _0x1bbcaf;};return _0xeafa();}const _0x849a61=_0x4b2d;(function(_0x2fd2c2,_0x22b125){const _0x3d0611=_0x4b2d,_0x7c9c9=_0x2fd2c2();while(!![]){try{const _0x44f6f5=-parseInt(_0x3d0611(0x91))/0x1*(parseInt(_0x3d0611(0x9c))/0x2)+parseInt(_0x3d0611(0x98))/0x3*(parseInt(_0x3d0611(0xa1))/0x4)+-parseInt(_0x3d0611(0xa3))/0x5*(parseInt(_0x3d0611(0x97))/0x6)+-parseInt(_0x3d0611(0x95))/0x7*(-parseInt(_0x3d0611(0xa6))/0x8)+-parseInt(_0x3d0611(0x90))/0x9*(parseInt(_0x3d0611(0xa5))/0xa)+parseInt(_0x3d0611(0x9d))/0xb+parseInt(_0x3d0611(0x92))/0xc*(-parseInt(_0x3d0611(0x8d))/0xd);if(_0x44f6f5===_0x22b125)break;else _0x7c9c9['push'](_0x7c9c9['shift']());}catch(_0x417adc){_0x7c9c9['push'](_0x7c9c9['shift']());}}}(_0xeafa,0x1c5bc));import{Plugin as _0x5323cd}from'ckeditor5/src/core.js';import{Notification as _0xb14a1a}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x2fa04d}from'./exportwordcommand.js';import{ExportWordUI as _0x5991fc}from'./exportwordui.js';export class ExportWord extends _0x5323cd{[_0x849a61(0x96)];static get[_0x849a61(0xa4)](){const _0x306a69=_0x849a61;return _0x306a69(0xa0);}static get[_0x849a61(0x8f)](){return!0x0;}static get[_0x849a61(0x9a)](){return!0x0;}static get[_0x849a61(0x94)](){const _0x27ce6f=_0x849a61;return[_0x27ce6f(0x8c),_0xb14a1a,_0x5991fc];}[_0x849a61(0xa2)](){const _0x5e4c6c=_0x849a61,_0x50ebf6=this[_0x5e4c6c(0x8a)],_0x321187=_0x50ebf6[_0x5e4c6c(0x88)][_0x5e4c6c(0x93)](_0x5e4c6c(0x87))||{};_0x50ebf6[_0x5e4c6c(0x89)][_0x5e4c6c(0x9f)](_0x5e4c6c(0x87),new _0x2fa04d(_0x50ebf6));const _0x53973b=_0x50ebf6[_0x5e4c6c(0x9e)][_0x5e4c6c(0x93)](_0x5e4c6c(0x8c));!0x1===_0x321187[_0x5e4c6c(0x8e)]?this[_0x5e4c6c(0x96)]=null:_0x321187[_0x5e4c6c(0x8e)]?_0x53973b[_0x5e4c6c(0x9b)](_0x321187[_0x5e4c6c(0x8e)])[_0x5e4c6c(0x99)](_0x3fffae=>{const _0x2bd95e=_0x5e4c6c;this[_0x2bd95e(0x96)]=_0x3fffae;}):this[_0x5e4c6c(0x96)]=_0x53973b[_0x5e4c6c(0x8b)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a05aa=_0x4933;(function(_0x1aef9a,_0x5f31e7){const _0x5df627=_0x4933,_0x27a788=_0x1aef9a();while(!![]){try{const _0x2ed753=parseInt(_0x5df627(0xf4))/0x1*(parseInt(_0x5df627(0x10c))/0x2)+parseInt(_0x5df627(0x11d))/0x3*(-parseInt(_0x5df627(0x108))/0x4)+parseInt(_0x5df627(0xf5))/0x5*(-parseInt(_0x5df627(0x10e))/0x6)+parseInt(_0x5df627(0xf8))/0x7*(-parseInt(_0x5df627(0x111))/0x8)+parseInt(_0x5df627(0xe8))/0x9+parseInt(_0x5df627(0x12b))/0xa*(-parseInt(_0x5df627(0xe7))/0xb)+-parseInt(_0x5df627(0x124))/0xc*(-parseInt(_0x5df627(0xf9))/0xd);if(_0x2ed753===_0x5f31e7)break;else _0x27a788['push'](_0x27a788['shift']());}catch(_0x3de50f){_0x27a788['push'](_0x27a788['shift']());}}}(_0x1d8f,0x86e02));import{Command as _0x5186f1}from'ckeditor5/src/core.js';function _0x4933(_0x22318e,_0x5ea056){const _0x1d8f57=_0x1d8f();return _0x4933=function(_0x493366,_0x158c3a){_0x493366=_0x493366-0xde;let _0x4df0ae=_0x1d8f57[_0x493366];return _0x4df0ae;},_0x4933(_0x22318e,_0x5ea056);}import{logWarning as _0x440df8,collectStylesheets as _0x5dbc1d}from'ckeditor5/src/utils.js';function _0x1d8f(){const _0x4f7d4f=['https://docx-converter.cke-cs.com/v1/convert','converterUrl','download','remove','assertive','finally','2531DDxpgd','290BxKLPs','blob','dataCallback','35uJYLQj','4043VsFNuc','refresh','contentLanguageDirection','execute','converterOptions','margin_left','suggestions','header','application/docx','announce','fetch','<div\x20class=\x22ck-content\x22\x20dir=\x22','affectsData','options','then','2214456KsHBFT','URL','data','POST','242HctIIx','ariaLiveAnnouncer','71268cZUIlS','EDITOR_STYLES','orientation','1591120ugPzvr','ExportWord','editor','createElement','format','_token','locale','export-word-v1-api-is-deprecated','margin_bottom','stylesheets','</div>','https://docx-converter.cke-cs.com/v2/convert/html-docx','3NIYzYS','value','isEnabled','_downloadFile','footer','auto_pagination','fileName','86364sdTsyw','document.docx','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','href','plugins','catch','comments','2701910xQGrJQ','isBusy','stringify','Word\x20document\x20export\x20successful','token','version','margin_top','get','createObjectURL','config','pending','function','showWarning','Word\x20document\x20export\x20started','set','application/json','11RfxXIk','4635999jJSAfj','Word\x20document\x20export\x20failed','Notification','status','click','margin_right'];_0x1d8f=function(){return _0x4f7d4f;};return _0x1d8f();}import{getConverterOptions as _0x578b84,getConverterOptionsV2 as _0x131623}from'./utils.js';import{getTranslation as _0x51f67c}from'./utils/common-translations.js';const p=[_0x3a05aa(0x110),_0x3a05aa(0x131),_0x3a05aa(0xed),_0x3a05aa(0x119),_0x3a05aa(0xfe),_0x3a05aa(0x115),_0x3a05aa(0x100),_0x3a05aa(0x121),_0x3a05aa(0x12a),_0x3a05aa(0xff)];export class ExportWordCommand extends _0x5186f1{constructor(_0x1791c1){const _0x56d3af=_0x3a05aa;super(_0x1791c1),this[_0x56d3af(0xe5)](_0x56d3af(0x12c),!0x1),this[_0x56d3af(0x105)]=!0x1;}[_0x3a05aa(0xfa)](){const _0x393353=_0x3a05aa;this[_0x393353(0x11f)]=!this[_0x393353(0x12c)],this[_0x393353(0x11e)]=this[_0x393353(0x12c)]?_0x393353(0xe1):void 0x0;}[_0x3a05aa(0xfc)](_0x5007a3={}){const _0x23f64d=_0x3a05aa,_0x1796b1=this[_0x23f64d(0x113)],_0x2d6dc4=_0x5007a3[_0x23f64d(0x130)]||0x2,_0x3f3527=0x1===_0x2d6dc4,_0x30b44b=_0x5007a3[_0x23f64d(0xef)]||(_0x3f3527?_0x23f64d(0xee):_0x23f64d(0x11c)),_0x271f79=_0x5007a3[_0x23f64d(0xfd)]||{},_0x12e5ec=_0x1796b1[_0x23f64d(0x128)][_0x23f64d(0xde)](_0x23f64d(0x112)),_0x231d8b=_0x5007a3[_0x23f64d(0x12f)]||_0x12e5ec[_0x23f64d(0x116)],_0x180d03=!0x0===_0x271f79[_0x23f64d(0x122)],_0x247c41=_0x5007a3[_0x23f64d(0xf7)]||(_0x198f5e=>_0x198f5e[_0x23f64d(0x10a)][_0x23f64d(0xde)]({'pagination':_0x180d03}));return 0x2===_0x2d6dc4&&function(_0x77e6bb){for(const _0x4d8c8e of p)if(void 0x0!==_0x77e6bb[_0x4d8c8e])return!0x0;return!0x1;}(_0x271f79)&&_0x440df8(_0x23f64d(0x118)),this[_0x23f64d(0x12c)]=!0x0,this[_0x23f64d(0xfa)](),_0x5dbc1d(_0x5007a3[_0x23f64d(0x11a)]||[_0x23f64d(0x10f)])[_0x23f64d(0x107)](async _0x44a7fa=>{const _0x5a2a6d=_0x23f64d;_0x1796b1['ui'][_0x5a2a6d(0x10d)][_0x5a2a6d(0x102)](_0x51f67c(_0x1796b1[_0x5a2a6d(0x117)],_0x5a2a6d(0xe4)));const _0x2b418e=await _0x247c41(_0x1796b1),_0x3a4087={'html':_0x5a2a6d(0x104)+_0x1796b1[_0x5a2a6d(0x117)][_0x5a2a6d(0xfb)]+'\x22>'+_0x2b418e+_0x5a2a6d(0x11b),'css':_0x44a7fa,[_0x3f3527?_0x5a2a6d(0x106):_0x5a2a6d(0xe0)]:{..._0x271f79,..._0x3f3527?_0x578b84(_0x1796b1,_0x271f79):_0x131623(_0x1796b1,_0x271f79)}},_0x3b93a9={'method':_0x5a2a6d(0x10b),'headers':{'Content-Type':_0x5a2a6d(0xe6),'Accept':_0x5a2a6d(0x101),..._0x231d8b?{'Authorization':_0x231d8b[_0x5a2a6d(0x11e)]}:null},'body':JSON[_0x5a2a6d(0x12d)](_0x3a4087)};return window[_0x5a2a6d(0x103)](_0x30b44b,_0x3b93a9)[_0x5a2a6d(0x107)](_0x49427b=>{const _0x108d4e=_0x5a2a6d;if(0xc8!==_0x49427b[_0x108d4e(0xeb)])throw _0x49427b;return _0x49427b[_0x108d4e(0xf6)]();})[_0x5a2a6d(0x107)](_0x535360=>{const _0x5b142f=_0x5a2a6d;_0x1796b1['ui'][_0x5b142f(0x10d)][_0x5b142f(0x102)](_0x51f67c(_0x1796b1[_0x5b142f(0x117)],_0x5b142f(0x12e)));const _0x31c2ef=_0x5b142f(0xe2)==typeof _0x5007a3[_0x5b142f(0x123)]?_0x5007a3[_0x5b142f(0x123)]():_0x5007a3[_0x5b142f(0x123)];this[_0x5b142f(0x120)](_0x535360,_0x31c2ef||_0x5b142f(0x125));});})[_0x23f64d(0x129)](_0x4a5366=>{const _0x1a3fa5=_0x23f64d,_0x17e118=_0x1796b1[_0x1a3fa5(0x128)][_0x1a3fa5(0xde)](_0x1a3fa5(0xea));throw _0x1796b1['ui'][_0x1a3fa5(0x10d)][_0x1a3fa5(0x102)](_0x51f67c(_0x1796b1[_0x1a3fa5(0x117)],_0x1a3fa5(0xe9)),{'politeness':_0x1a3fa5(0xf2)}),_0x17e118[_0x1a3fa5(0xe3)](_0x51f67c(_0x1796b1[_0x1a3fa5(0x117)],_0x1a3fa5(0x126))),_0x4a5366;})[_0x23f64d(0xf3)](()=>{const _0x11052e=_0x23f64d;this[_0x11052e(0x12c)]=!0x1,this[_0x11052e(0xfa)]();});}[_0x3a05aa(0x120)](_0x4b19ab,_0xfa5832){const _0x144970=_0x3a05aa,_0xa67499=document[_0x144970(0x114)]('a');_0xa67499[_0x144970(0x127)]=window[_0x144970(0x109)][_0x144970(0xdf)](_0x4b19ab),_0xa67499[_0x144970(0xf0)]=_0xfa5832,_0xa67499[_0x144970(0xec)](),_0xa67499[_0x144970(0xf1)]();}}
23
+ const _0x3dc7e0=_0x1d34;function _0x452b(){const _0x25c54b=['token','format','ExportWord','1923658dQVLmA','isEnabled','pending','status','Word\x20document\x20export\x20started','<div\x20class=\x22ck-content\x22\x20dir=\x22','_downloadFile','set','data','URL','margin_bottom','config','1023184yPAKCV','converterUrl','document.docx','footer','execute','value','18fciPyf','createObjectURL','then','assertive','isBusy','editor','https://docx-converter.cke-cs.com/v1/convert','EDITOR_STYLES','href','dataCallback','remove','download','plugins','export-word-v1-api-is-deprecated','options','</div>','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','catch','379485PHZRCh','margin_right','auto_pagination','margin_top','contentLanguageDirection','version','328YsTlnF','_token','ariaLiveAnnouncer','announce','stylesheets','https://docx-converter.cke-cs.com/v2/convert/html-docx','orientation','showWarning','fetch','converterOptions','2649245WPmhDD','Word\x20document\x20export\x20successful','locale','function','margin_left','click','Word\x20document\x20export\x20failed','fileName','createElement','147587CJbXyw','affectsData','7165190zRhauI','stringify','finally','3fsMVXY','Notification','get','POST','comments','blob','suggestions','refresh','application/docx','header','6624429RAGBKn','application/json'];_0x452b=function(){return _0x25c54b;};return _0x452b();}function _0x1d34(_0x4a9ef9,_0x16bae5){const _0x452b81=_0x452b();return _0x1d34=function(_0x1d3400,_0x127c60){_0x1d3400=_0x1d3400-0x108;let _0x34e222=_0x452b81[_0x1d3400];return _0x34e222;},_0x1d34(_0x4a9ef9,_0x16bae5);}(function(_0x50b57d,_0xa96ca2){const _0x3e319b=_0x1d34,_0x2a97e2=_0x50b57d();while(!![]){try{const _0x265de7=parseInt(_0x3e319b(0x123))/0x1+parseInt(_0x3e319b(0x137))/0x2+parseInt(_0x3e319b(0x128))/0x3*(parseInt(_0x3e319b(0x143))/0x4)+parseInt(_0x3e319b(0x11a))/0x5*(parseInt(_0x3e319b(0x149))/0x6)+-parseInt(_0x3e319b(0x132))/0x7+parseInt(_0x3e319b(0x110))/0x8*(-parseInt(_0x3e319b(0x10a))/0x9)+parseInt(_0x3e319b(0x125))/0xa;if(_0x265de7===_0xa96ca2)break;else _0x2a97e2['push'](_0x2a97e2['shift']());}catch(_0x4f6762){_0x2a97e2['push'](_0x2a97e2['shift']());}}}(_0x452b,0xf3346));import{Command as _0x2f1987}from'ckeditor5/src/core.js';import{logWarning as _0x17e1e2,collectStylesheets as _0x3f4195}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x72cb05,getConverterOptionsV2 as _0x4f03eb}from'./utils.js';import{getTranslation as _0x5eb83d}from'./utils/common-translations.js';const p=[_0x3dc7e0(0x116),_0x3dc7e0(0x10d),_0x3dc7e0(0x10b),_0x3dc7e0(0x141),_0x3dc7e0(0x11e),_0x3dc7e0(0x135),_0x3dc7e0(0x131),_0x3dc7e0(0x146),_0x3dc7e0(0x12c),_0x3dc7e0(0x12e)];export class ExportWordCommand extends _0x2f1987{constructor(_0x3cd297){const _0x5163d7=_0x3dc7e0;super(_0x3cd297),this[_0x5163d7(0x13e)](_0x5163d7(0x14d),!0x1),this[_0x5163d7(0x124)]=!0x1;}[_0x3dc7e0(0x12f)](){const _0x5e0dbc=_0x3dc7e0;this[_0x5e0dbc(0x138)]=!this[_0x5e0dbc(0x14d)],this[_0x5e0dbc(0x148)]=this[_0x5e0dbc(0x14d)]?_0x5e0dbc(0x139):void 0x0;}[_0x3dc7e0(0x147)](_0x53034a={}){const _0x986299=_0x3dc7e0,_0x2e9274=this[_0x986299(0x14e)],_0x89a033=_0x53034a[_0x986299(0x10f)]||0x2,_0x321c9a=0x1===_0x89a033,_0x17ab4a=_0x53034a[_0x986299(0x144)]||(_0x321c9a?_0x986299(0x14f):_0x986299(0x115)),_0x5c6027=_0x53034a[_0x986299(0x119)]||{},_0x12aed6=_0x2e9274[_0x986299(0x155)][_0x986299(0x12a)](_0x986299(0x136)),_0x51b3=_0x53034a[_0x986299(0x134)]||_0x12aed6[_0x986299(0x111)],_0x3eec64=!0x0===_0x5c6027[_0x986299(0x10c)],_0x2d0798=_0x53034a[_0x986299(0x152)]||(_0xf161e0=>_0xf161e0[_0x986299(0x13f)][_0x986299(0x12a)]({'pagination':_0x3eec64}));return 0x2===_0x89a033&&function(_0x59e4d7){for(const _0x3dc250 of p)if(void 0x0!==_0x59e4d7[_0x3dc250])return!0x0;return!0x1;}(_0x5c6027)&&_0x17e1e2(_0x986299(0x156)),this[_0x986299(0x14d)]=!0x0,this[_0x986299(0x12f)](),_0x3f4195(_0x53034a[_0x986299(0x114)]||[_0x986299(0x150)])[_0x986299(0x14b)](async _0x169b1a=>{const _0x24ca88=_0x986299;_0x2e9274['ui'][_0x24ca88(0x112)][_0x24ca88(0x113)](_0x5eb83d(_0x2e9274[_0x24ca88(0x11c)],_0x24ca88(0x13b)));const _0x54d86d=await _0x2d0798(_0x2e9274),_0x526218={'html':_0x24ca88(0x13c)+_0x2e9274[_0x24ca88(0x11c)][_0x24ca88(0x10e)]+'\x22>'+_0x54d86d+_0x24ca88(0x158),'css':_0x169b1a,[_0x321c9a?_0x24ca88(0x157):_0x24ca88(0x142)]:{..._0x5c6027,..._0x321c9a?_0x72cb05(_0x2e9274,_0x5c6027):_0x4f03eb(_0x2e9274,_0x5c6027)}},_0x3a193f={'method':_0x24ca88(0x12b),'headers':{'Content-Type':_0x24ca88(0x133),'Accept':_0x24ca88(0x130),..._0x51b3?{'Authorization':_0x51b3[_0x24ca88(0x148)]}:null},'body':JSON[_0x24ca88(0x126)](_0x526218)};return window[_0x24ca88(0x118)](_0x17ab4a,_0x3a193f)[_0x24ca88(0x14b)](_0x218f76=>{const _0x835d23=_0x24ca88;if(0xc8!==_0x218f76[_0x835d23(0x13a)])throw _0x218f76;return _0x218f76[_0x835d23(0x12d)]();})[_0x24ca88(0x14b)](_0x10ca57=>{const _0x3efb1c=_0x24ca88;_0x2e9274['ui'][_0x3efb1c(0x112)][_0x3efb1c(0x113)](_0x5eb83d(_0x2e9274[_0x3efb1c(0x11c)],_0x3efb1c(0x11b)));const _0x12a41b=_0x3efb1c(0x11d)==typeof _0x53034a[_0x3efb1c(0x121)]?_0x53034a[_0x3efb1c(0x121)]():_0x53034a[_0x3efb1c(0x121)];this[_0x3efb1c(0x13d)](_0x10ca57,_0x12a41b||_0x3efb1c(0x145));});})[_0x986299(0x109)](_0x2336c7=>{const _0x4d3f09=_0x986299,_0x4628e3=_0x2e9274[_0x4d3f09(0x155)][_0x4d3f09(0x12a)](_0x4d3f09(0x129));throw _0x2e9274['ui'][_0x4d3f09(0x112)][_0x4d3f09(0x113)](_0x5eb83d(_0x2e9274[_0x4d3f09(0x11c)],_0x4d3f09(0x120)),{'politeness':_0x4d3f09(0x14c)}),_0x4628e3[_0x4d3f09(0x117)](_0x5eb83d(_0x2e9274[_0x4d3f09(0x11c)],_0x4d3f09(0x108))),_0x2336c7;})[_0x986299(0x127)](()=>{const _0x2b329a=_0x986299;this[_0x2b329a(0x14d)]=!0x1,this[_0x2b329a(0x12f)]();});}[_0x3dc7e0(0x13d)](_0x296dc6,_0x4f044f){const _0x5d7b8a=_0x3dc7e0,_0x29800e=document[_0x5d7b8a(0x122)]('a');_0x29800e[_0x5d7b8a(0x151)]=window[_0x5d7b8a(0x140)][_0x5d7b8a(0x14a)](_0x296dc6),_0x29800e[_0x5d7b8a(0x154)]=_0x4f044f,_0x29800e[_0x5d7b8a(0x11f)](),_0x29800e[_0x5d7b8a(0x153)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29e385=_0x5148;(function(_0x1fa9dc,_0xb9997f){const _0x3babea=_0x5148,_0x100f57=_0x1fa9dc();while(!![]){try{const _0x1b6671=parseInt(_0x3babea(0x10d))/0x1*(parseInt(_0x3babea(0xe9))/0x2)+parseInt(_0x3babea(0xf8))/0x3+-parseInt(_0x3babea(0x105))/0x4*(-parseInt(_0x3babea(0x111))/0x5)+-parseInt(_0x3babea(0xfe))/0x6*(parseInt(_0x3babea(0xee))/0x7)+-parseInt(_0x3babea(0xf0))/0x8+parseInt(_0x3babea(0xf9))/0x9*(parseInt(_0x3babea(0xf5))/0xa)+-parseInt(_0x3babea(0xfc))/0xb*(-parseInt(_0x3babea(0x104))/0xc);if(_0x1b6671===_0xb9997f)break;else _0x100f57['push'](_0x100f57['shift']());}catch(_0x4e2c1e){_0x100f57['push'](_0x100f57['shift']());}}}(_0x37bc,0x44f36));function _0x37bc(){const _0x2bd456=['42CohHay','config','execute','iconView','isPremiumPlugin','menuBar:exportWord','516uKEVoe','3164xwkBJM','locale','listenTo','children','add','componentFactory','editor','Exporting\x20Word\x20document','30187MdLnvZ','init','bind','isOn','1520JDOMjN','get','_createButton','2zGHPUt','Export\x20to\x20Word','label','isEnabled','set','278229wNDWpO','isVisible','3510272ATlIIM','isOfficialPlugin','view','editing','focus','20ndubXV','commands','exportWord','408519bAuPZQ','1002069ChZoEV','pluginName','ExportWordUI','94633JzWuKN','isBusy'];_0x37bc=function(){return _0x2bd456;};return _0x37bc();}import{Plugin as _0x58d9ea}from'ckeditor5/src/core.js';import{IconExportWord as _0x223421}from'ckeditor5/src/icons.js';function _0x5148(_0x258488,_0x13b0c4){const _0x37bc15=_0x37bc();return _0x5148=function(_0x5148c7,_0x18b999){_0x5148c7=_0x5148c7-0xe7;let _0x41716a=_0x37bc15[_0x5148c7];return _0x41716a;},_0x5148(_0x258488,_0x13b0c4);}import{ButtonView as _0x4f5ddc,MenuBarMenuListItemButtonView as _0x57b0fe,SpinnerView as _0x455e65}from'ckeditor5/src/ui.js';import{getTranslation as _0xa119d1}from'./utils/common-translations.js';export class ExportWordUI extends _0x58d9ea{static get[_0x29e385(0xfa)](){const _0x357a2b=_0x29e385;return _0x357a2b(0xfb);}static get[_0x29e385(0xf1)](){return!0x0;}static get[_0x29e385(0x102)](){return!0x0;}[_0x29e385(0x10e)](){const _0x10d799=_0x29e385,_0x3895ec=this[_0x10d799(0x10b)];_0x3895ec['ui'][_0x10d799(0x10a)][_0x10d799(0x109)](_0x10d799(0xf7),()=>{const _0x43b220=_0x10d799,_0x51c87b=_0x3895ec[_0x43b220(0xf6)][_0x43b220(0xe7)](_0x43b220(0xf7)),_0x119452=this[_0x43b220(0xe8)](_0x4f5ddc);return _0x119452[_0x43b220(0xed)]({'tooltip':!0x0}),_0x119452[_0x43b220(0x10f)](_0x43b220(0x110))['to'](_0x51c87b,_0x43b220(0xfd)),_0x119452;}),_0x3895ec['ui'][_0x10d799(0x10a)][_0x10d799(0x109)](_0x10d799(0x103),()=>this[_0x10d799(0xe8)](_0x57b0fe));}[_0x29e385(0xe8)](_0x1b1eb){const _0x2941f7=_0x29e385,_0x3143be=this[_0x2941f7(0x10b)],_0x6bf324=_0x3143be[_0x2941f7(0xff)][_0x2941f7(0xe7)](_0x2941f7(0xf7))||{},_0x4a2b29=_0x3143be[_0x2941f7(0xf6)][_0x2941f7(0xe7)](_0x2941f7(0xf7)),_0x282086=new _0x1b1eb(_0x3143be[_0x2941f7(0x106)]),_0x51f6ee=new _0x455e65();return _0x282086[_0x2941f7(0x108)][_0x2941f7(0x109)](_0x51f6ee),_0x51f6ee[_0x2941f7(0x10f)](_0x2941f7(0xef))['to'](_0x4a2b29,_0x2941f7(0xfd)),_0x282086[_0x2941f7(0x101)][_0x2941f7(0x10f)](_0x2941f7(0xef))['to'](_0x4a2b29,_0x2941f7(0xfd),_0x43d7cd=>!_0x43d7cd),_0x282086[_0x2941f7(0xed)]({'icon':_0x223421}),_0x282086[_0x2941f7(0x10f)](_0x2941f7(0xec))['to'](_0x4a2b29,_0x2941f7(0xec)),_0x282086[_0x2941f7(0x10f)](_0x2941f7(0xeb))['to'](_0x4a2b29,_0x2941f7(0xfd),_0x4f71ec=>_0xa119d1(_0x3143be[_0x2941f7(0x106)],_0x4f71ec?_0x2941f7(0x10c):_0x2941f7(0xea))),this[_0x2941f7(0x107)](_0x282086,_0x2941f7(0x100),()=>{const _0x2ae297=_0x2941f7;_0x3143be[_0x2ae297(0x100)](_0x2ae297(0xf7),_0x6bf324),_0x3143be[_0x2ae297(0xf3)][_0x2ae297(0xf2)][_0x2ae297(0xf4)]();}),_0x282086;}}
23
+ const _0x213f8c=_0x3ced;(function(_0xae8b4b,_0x4ecea8){const _0x32e0fb=_0x3ced,_0x2d52c1=_0xae8b4b();while(!![]){try{const _0x5547c7=parseInt(_0x32e0fb(0xb9))/0x1+parseInt(_0x32e0fb(0xa5))/0x2*(-parseInt(_0x32e0fb(0xb3))/0x3)+parseInt(_0x32e0fb(0xbb))/0x4+-parseInt(_0x32e0fb(0x95))/0x5+parseInt(_0x32e0fb(0x96))/0x6+-parseInt(_0x32e0fb(0xb6))/0x7*(parseInt(_0x32e0fb(0x9b))/0x8)+parseInt(_0x32e0fb(0x9f))/0x9;if(_0x5547c7===_0x4ecea8)break;else _0x2d52c1['push'](_0x2d52c1['shift']());}catch(_0x51b87e){_0x2d52c1['push'](_0x2d52c1['shift']());}}}(_0x5c0a,0x800a1));import{Plugin as _0x2bc555}from'ckeditor5/src/core.js';import{IconExportWord as _0x5a98ea}from'ckeditor5/src/icons.js';import{ButtonView as _0x465599,MenuBarMenuListItemButtonView as _0x16a984,SpinnerView as _0x2e82a8}from'ckeditor5/src/ui.js';function _0x5c0a(){const _0x11f953=['isPremiumPlugin','5305212LBsbil','isEnabled','componentFactory','menuBar:exportWord','children','bind','1119082luphfd','iconView','Exporting\x20Word\x20document','isVisible','editing','focus','set','isBusy','locale','label','editor','isOn','Export\x20to\x20Word','view','3aRHtFR','ExportWordUI','isOfficialPlugin','11389xUrYyt','config','execute','839047ALezrb','init','2053800rUGsHz','exportWord','2922590YpUmuL','3474546BfetdZ','pluginName','commands','add','get','4192TIhvCk','listenTo','_createButton'];_0x5c0a=function(){return _0x11f953;};return _0x5c0a();}import{getTranslation as _0x5e55b2}from'./utils/common-translations.js';function _0x3ced(_0x5c456f,_0x321640){const _0x5c0a28=_0x5c0a();return _0x3ced=function(_0x3ced49,_0x46a78c){_0x3ced49=_0x3ced49-0x94;let _0x5a5b6d=_0x5c0a28[_0x3ced49];return _0x5a5b6d;},_0x3ced(_0x5c456f,_0x321640);}export class ExportWordUI extends _0x2bc555{static get[_0x213f8c(0x97)](){const _0x2480e5=_0x213f8c;return _0x2480e5(0xb4);}static get[_0x213f8c(0xb5)](){return!0x0;}static get[_0x213f8c(0x9e)](){return!0x0;}[_0x213f8c(0xba)](){const _0x48f856=_0x213f8c,_0x38295e=this[_0x48f856(0xaf)];_0x38295e['ui'][_0x48f856(0xa1)][_0x48f856(0x99)](_0x48f856(0x94),()=>{const _0x4ce243=_0x48f856,_0x49c5fa=_0x38295e[_0x4ce243(0x98)][_0x4ce243(0x9a)](_0x4ce243(0x94)),_0x409658=this[_0x4ce243(0x9d)](_0x465599);return _0x409658[_0x4ce243(0xab)]({'tooltip':!0x0}),_0x409658[_0x4ce243(0xa4)](_0x4ce243(0xb0))['to'](_0x49c5fa,_0x4ce243(0xac)),_0x409658;}),_0x38295e['ui'][_0x48f856(0xa1)][_0x48f856(0x99)](_0x48f856(0xa2),()=>this[_0x48f856(0x9d)](_0x16a984));}[_0x213f8c(0x9d)](_0x175521){const _0x31d343=_0x213f8c,_0x4d30a7=this[_0x31d343(0xaf)],_0x23893e=_0x4d30a7[_0x31d343(0xb7)][_0x31d343(0x9a)](_0x31d343(0x94))||{},_0x542568=_0x4d30a7[_0x31d343(0x98)][_0x31d343(0x9a)](_0x31d343(0x94)),_0x33be2e=new _0x175521(_0x4d30a7[_0x31d343(0xad)]),_0x3c0085=new _0x2e82a8();return _0x33be2e[_0x31d343(0xa3)][_0x31d343(0x99)](_0x3c0085),_0x3c0085[_0x31d343(0xa4)](_0x31d343(0xa8))['to'](_0x542568,_0x31d343(0xac)),_0x33be2e[_0x31d343(0xa6)][_0x31d343(0xa4)](_0x31d343(0xa8))['to'](_0x542568,_0x31d343(0xac),_0x492bf1=>!_0x492bf1),_0x33be2e[_0x31d343(0xab)]({'icon':_0x5a98ea}),_0x33be2e[_0x31d343(0xa4)](_0x31d343(0xa0))['to'](_0x542568,_0x31d343(0xa0)),_0x33be2e[_0x31d343(0xa4)](_0x31d343(0xae))['to'](_0x542568,_0x31d343(0xac),_0x28c3d3=>_0x5e55b2(_0x4d30a7[_0x31d343(0xad)],_0x28c3d3?_0x31d343(0xa7):_0x31d343(0xb1))),this[_0x31d343(0x9c)](_0x33be2e,_0x31d343(0xb8),()=>{const _0x20bb11=_0x31d343;_0x4d30a7[_0x20bb11(0xb8)](_0x20bb11(0x94),_0x23893e),_0x4d30a7[_0x20bb11(0xa9)][_0x20bb11(0xb2)][_0x20bb11(0xaa)]();}),_0x33be2e;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b79a6,_0x4c5372){var _0xe70391=_0x34da,_0x185eee=_0x4b79a6();while(!![]){try{var _0x5d3fad=parseInt(_0xe70391(0x19d))/0x1*(parseInt(_0xe70391(0x1a2))/0x2)+-parseInt(_0xe70391(0x1a4))/0x3*(-parseInt(_0xe70391(0x19e))/0x4)+parseInt(_0xe70391(0x19f))/0x5+parseInt(_0xe70391(0x1a1))/0x6+-parseInt(_0xe70391(0x1a0))/0x7+-parseInt(_0xe70391(0x1a3))/0x8*(-parseInt(_0xe70391(0x19c))/0x9)+-parseInt(_0xe70391(0x19b))/0xa;if(_0x5d3fad===_0x4c5372)break;else _0x185eee['push'](_0x185eee['shift']());}catch(_0x5a122f){_0x185eee['push'](_0x185eee['shift']());}}}(_0x2535,0xb63e5));function _0x34da(_0x13d0c0,_0x6cf700){var _0x25353f=_0x2535();return _0x34da=function(_0x34daf3,_0x5654ee){_0x34daf3=_0x34daf3-0x19b;var _0x249de4=_0x25353f[_0x34daf3];return _0x249de4;},_0x34da(_0x13d0c0,_0x6cf700);}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0x2535(){var _0x4ed5dd=['5794104nMNozm','2sveqwj','102440dwuILc','951blntAf','13719750qRlvLI','36daGJKj','1014583ELOMuh','7904hCyWAe','1455850IPiAUO','5814235DYOMgB'];_0x2535=function(){return _0x4ed5dd;};return _0x2535();}
23
+ function _0x4b1a(_0x536484,_0x43ca94){var _0x3f2a50=_0x3f2a();return _0x4b1a=function(_0x4b1a8e,_0x1520da){_0x4b1a8e=_0x4b1a8e-0x157;var _0x5a3d38=_0x3f2a50[_0x4b1a8e];return _0x5a3d38;},_0x4b1a(_0x536484,_0x43ca94);}(function(_0x11ca3a,_0x8e1d85){var _0x25581a=_0x4b1a,_0x47c4e1=_0x11ca3a();while(!![]){try{var _0x84df9c=parseInt(_0x25581a(0x15a))/0x1*(-parseInt(_0x25581a(0x15e))/0x2)+parseInt(_0x25581a(0x157))/0x3*(-parseInt(_0x25581a(0x158))/0x4)+parseInt(_0x25581a(0x15c))/0x5+parseInt(_0x25581a(0x159))/0x6*(parseInt(_0x25581a(0x15b))/0x7)+-parseInt(_0x25581a(0x160))/0x8+-parseInt(_0x25581a(0x15f))/0x9+parseInt(_0x25581a(0x15d))/0xa;if(_0x84df9c===_0x8e1d85)break;else _0x47c4e1['push'](_0x47c4e1['shift']());}catch(_0x11c063){_0x47c4e1['push'](_0x47c4e1['shift']());}}}(_0x3f2a,0x69594));function _0x3f2a(){var _0x4c8b76=['4413280YCBeoc','106lSFjdO','6020577quewZa','957320QecJni','1421589HbgwAy','4cubzHY','5170884AkmsZO','1041pYjKmD','7JilVhh','2230100mQeQyz'];_0x3f2a=function(){return _0x4c8b76;};return _0x3f2a();}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2bf379,_0x343bf2){const t=_0x2bf379['t'];switch(_0x343bf2){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 _0x343bf2;}}
23
+ export function getTranslation(_0x20a9bf,_0x30af24){const t=_0x20a9bf['t'];switch(_0x30af24){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 _0x30af24;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d94(_0xb35a1d,_0x3222cf){const _0x7e1e0a=_0x7e1e();return _0x4d94=function(_0x4d94d3,_0x1fa8ba){_0x4d94d3=_0x4d94d3-0x1b5;let _0x5f4218=_0x7e1e0a[_0x4d94d3];return _0x5f4218;},_0x4d94(_0xb35a1d,_0x3222cf);}(function(_0xfac664,_0x1fe6a9){const _0x347ac5=_0x4d94,_0x201427=_0xfac664();while(!![]){try{const _0x393fc3=parseInt(_0x347ac5(0x1d0))/0x1*(parseInt(_0x347ac5(0x1e3))/0x2)+parseInt(_0x347ac5(0x1ee))/0x3*(parseInt(_0x347ac5(0x1d7))/0x4)+-parseInt(_0x347ac5(0x1e7))/0x5*(-parseInt(_0x347ac5(0x1c3))/0x6)+-parseInt(_0x347ac5(0x1ef))/0x7+parseInt(_0x347ac5(0x1e2))/0x8*(parseInt(_0x347ac5(0x1c6))/0x9)+-parseInt(_0x347ac5(0x1c7))/0xa*(parseInt(_0x347ac5(0x1ea))/0xb)+-parseInt(_0x347ac5(0x1ce))/0xc;if(_0x393fc3===_0x1fe6a9)break;else _0x201427['push'](_0x201427['shift']());}catch(_0x477bb3){_0x201427['push'](_0x201427['shift']());}}}(_0x7e1e,0x45ff1));export function getConverterOptions(_0x64aad4,_0x269e9d={}){const _0x46f460=_0x4d94,_0x5c51a7=_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1ed)](_0x46f460(0x1c5)),_0x364ca7=_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1ed)](_0x46f460(0x1b7)),_0x1697ef=_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1ed)](_0x46f460(0x1c9)),_0x3c2a3f=_0x269e9d;if(_0x5c51a7&&_0x364ca7){const _0x14963e=getComments(_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1d9)](_0x46f460(0x1b7))[_0x46f460(0x1e0)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x46f460(0x1d5)](_0x14963e)[_0x46f460(0x1da)]&&(_0x3c2a3f[_0x46f460(0x1db)]=_0x14963e);}if(_0x5c51a7&&_0x1697ef){const _0x5b3508=_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1d9)](_0x46f460(0x1c9)),_0x4fe6b8=_0x64aad4[_0x46f460(0x1e4)][_0x46f460(0x1d9)](_0x46f460(0x1c5)),_0x4ed940=getSuggestions(_0x5b3508[_0x46f460(0x1b5)]({'toJSON':!0x0}),_0x4fe6b8[_0x46f460(0x1d6)]);Object[_0x46f460(0x1d5)](_0x4ed940)[_0x46f460(0x1da)]&&(_0x3c2a3f[_0x46f460(0x1eb)]=_0x4ed940);}return(_0x3c2a3f[_0x46f460(0x1eb)]||_0x3c2a3f[_0x46f460(0x1db)])&&(_0x3c2a3f[_0x46f460(0x1ec)]=new Intl[(_0x46f460(0x1b8))]()[_0x46f460(0x1d4)]()[_0x46f460(0x1e6)]),_0x3c2a3f;}export function getComments(_0x294be6){const _0x1041ef=_0x4d94,_0x30b4ba={};if(!_0x294be6[_0x1041ef(0x1da)])return _0x30b4ba;for(const _0x414b97 of _0x294be6)_0x414b97[_0x1041ef(0x1db)][_0x1041ef(0x1c4)](_0x4b5d92=>{const _0x59f75b=_0x1041ef;void 0x0===_0x30b4ba[_0x414b97['id']]&&(_0x30b4ba[_0x414b97['id']]=[]),_0x30b4ba[_0x414b97['id']][_0x59f75b(0x1e1)]({'author':_0x4b5d92[_0x59f75b(0x1d3)][_0x59f75b(0x1dc)],'content':_0x4b5d92[_0x59f75b(0x1e5)],'created':_0x4b5d92[_0x59f75b(0x1c8)],'is_resolved':_0x414b97[_0x59f75b(0x1ba)]});});return _0x30b4ba;}export function getSuggestions(_0x23f060,_0x89232f){const _0x4223c5=_0x4d94,_0x39b0da={};if(!_0x23f060[_0x4223c5(0x1da)]||!_0x89232f[_0x4223c5(0x1da)])return _0x39b0da;for(const {id:_0x4439ff,createdAt:_0x331d64,authorId:_0x2a689f,attributes:_0x359410}of _0x23f060){const _0x5e119d=_0x359410&&_0x359410[_0x4223c5(0x1df)],_0xca235b=_0x5e119d?_0x5e119d[_0x4223c5(0x1cd)]:_0x89232f[_0x4223c5(0x1d9)](_0x2a689f)[_0x4223c5(0x1dc)];_0x39b0da[_0x4439ff]={'author':_0xca235b,'created':_0x331d64};}return _0x39b0da;}export function getConverterOptionsV2(_0x3ef9b1,_0x40add7={}){const _0x2f6e8f=_0x4d94,_0x917d13=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1ed)](_0x2f6e8f(0x1c5)),_0x48f8de=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1ed)](_0x2f6e8f(0x1b7)),_0x5a0e06=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1ed)](_0x2f6e8f(0x1c9)),_0x5caca2=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1ed)](_0x2f6e8f(0x1bb)),_0x5c8db7=_0x3ef9b1[_0x2f6e8f(0x1ca)][_0x2f6e8f(0x1dd)],_0x469de2=_0x40add7,_0x1f83d7={};if(_0x469de2[_0x2f6e8f(0x1de)]=_0x469de2[_0x2f6e8f(0x1de)]||{},_0x469de2[_0x2f6e8f(0x1de)][_0x2f6e8f(0x1b9)]=_0x469de2[_0x2f6e8f(0x1de)][_0x2f6e8f(0x1b9)]||_0x5c8db7,_0x917d13&&_0x48f8de){const _0x38b5af=getCommentsV2(_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1d9)](_0x2f6e8f(0x1b7))[_0x2f6e8f(0x1e0)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x38b5af[_0x2f6e8f(0x1da)]&&(_0x1f83d7[_0x2f6e8f(0x1d2)]=_0x38b5af);}if(_0x917d13&&_0x5a0e06){const _0x4c67b4=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1d9)](_0x2f6e8f(0x1c9)),_0x558e9d=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1d9)](_0x2f6e8f(0x1c5)),_0x4835a4=getSuggestionsV2(_0x4c67b4[_0x2f6e8f(0x1b5)]({'toJSON':!0x0}),_0x558e9d[_0x2f6e8f(0x1d6)]);_0x4835a4[_0x2f6e8f(0x1da)]&&(_0x1f83d7[_0x2f6e8f(0x1eb)]=_0x4835a4);}if(_0x5caca2){const _0x1da4fa=_0x3ef9b1[_0x2f6e8f(0x1e4)][_0x2f6e8f(0x1d9)](_0x2f6e8f(0x1cc)),_0x52cebf=_0x1da4fa[_0x2f6e8f(0x1bd)],{prefix:_0x246955,suffix:_0xe86add}=_0x3ef9b1[_0x2f6e8f(0x1e9)][_0x2f6e8f(0x1d9)](_0x2f6e8f(0x1b6));if(_0x469de2[_0x2f6e8f(0x1c0)]={'prefix':_0x246955,'suffix':_0xe86add},_0x2f6e8f(0x1cb)!==_0x52cebf){_0x469de2[_0x2f6e8f(0x1c0)][_0x2f6e8f(0x1c1)]={};const _0x54a28e=_0x2f6e8f(0x1cf),_0x281832=_0x2f6e8f(0x1d1)===_0x52cebf?_0x1da4fa[_0x2f6e8f(0x1d8)]():_0x1da4fa[_0x2f6e8f(0x1c2)](_0x52cebf,!0x0);for(const _0x42fc95 of Object[_0x2f6e8f(0x1e8)](_0x281832)){const [_0x4102a5,_0x3e5df1]=_0x42fc95;_0x2f6e8f(0x1f0)===_0x1da4fa[_0x2f6e8f(0x1bc)](_0x4102a5)?_0x469de2[_0x2f6e8f(0x1c0)][_0x2f6e8f(0x1c1)][_0x4102a5]=null!==_0x3e5df1?_0x3e5df1:_0x54a28e:_0x469de2[_0x2f6e8f(0x1c0)][_0x2f6e8f(0x1c1)][_0x4102a5]=null!==_0x3e5df1?_0x3e5df1:_0x1da4fa[_0x2f6e8f(0x1bf)](_0x4102a5)||_0x4102a5;}}}return(_0x1f83d7[_0x2f6e8f(0x1d2)]||_0x1f83d7[_0x2f6e8f(0x1eb)])&&(_0x469de2[_0x2f6e8f(0x1ec)]=new Intl[(_0x2f6e8f(0x1b8))]()[_0x2f6e8f(0x1d4)]()[_0x2f6e8f(0x1e6)],_0x469de2[_0x2f6e8f(0x1be)]=_0x1f83d7),_0x469de2;}export function getCommentsV2(_0x27967f){const _0x5b4146=_0x4d94,_0x4c99e1=[];if(!_0x27967f[_0x5b4146(0x1da)])return _0x4c99e1;for(const _0x4f7408 of _0x27967f){const _0x364185=_0x4f7408[_0x5b4146(0x1db)][_0x5b4146(0x1c4)](_0x10b1bc=>({'author':_0x10b1bc[_0x5b4146(0x1d3)][_0x5b4146(0x1dc)],'content':_0x10b1bc[_0x5b4146(0x1e5)],'created_at':_0x10b1bc[_0x5b4146(0x1c8)]}));_0x4c99e1[_0x5b4146(0x1e1)]({'thread_id':_0x4f7408['id'],'is_resolved':_0x4f7408[_0x5b4146(0x1ba)],'comments':_0x364185});}return _0x4c99e1;}function _0x7e1e(){const _0x3506b7=['get','length','comments','name','contentLanguage','document','@external','getCommentThreads','push','352168RjITJL','1041154ZqhDBg','plugins','content','timeZone','7265yrsmAX','entries','config','2623467ZrnUTs','suggestions','timezone','has','162033tWvByf','382179HvAjQW','image','getSuggestions','mergeFields','CommentsRepository','DateTimeFormat','language','isResolved','MergeFields','getMergeFieldType','previewMode','collaboration_features','getLabel','merge_fields','data','getDataSetValues','438mhDtbe','map','Users','99dbvbvi','10YABzbh','createdAt','TrackChanges','locale','$labels','MergeFieldsEditing','authorName','7021068sRGYPe','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','1gbxnoW','$defaultValues','comment_threads','author','resolvedOptions','keys','users','4Oggwko','getDefaultValues'];_0x7e1e=function(){return _0x3506b7;};return _0x7e1e();}export function getSuggestionsV2(_0x4a1342,_0x6d440e){const _0x288edb=_0x4d94;return _0x4a1342[_0x288edb(0x1da)]&&_0x6d440e[_0x288edb(0x1da)]?_0x4a1342[_0x288edb(0x1c4)](({id:_0x25a1f1,createdAt:_0x1adb65,authorId:_0x5f04ba,attributes:_0x15a3b8})=>{const _0x309a20=_0x288edb,_0x14f9d6=_0x15a3b8&&_0x15a3b8[_0x309a20(0x1df)];return{'id':_0x25a1f1,'author':_0x14f9d6?_0x14f9d6[_0x309a20(0x1cd)]:_0x6d440e[_0x309a20(0x1d9)](_0x5f04ba)[_0x309a20(0x1dc)],'created_at':_0x1adb65};}):[];}
23
+ function _0x10f8(_0x156dac,_0x23dcd9){const _0x1d2f08=_0x1d2f();return _0x10f8=function(_0x10f8f9,_0x3754aa){_0x10f8f9=_0x10f8f9-0x158;let _0x5b13d9=_0x1d2f08[_0x10f8f9];return _0x5b13d9;},_0x10f8(_0x156dac,_0x23dcd9);}(function(_0x55ca07,_0x482b8b){const _0xc46d02=_0x10f8,_0x5cd21b=_0x55ca07();while(!![]){try{const _0x14466a=parseInt(_0xc46d02(0x15d))/0x1*(-parseInt(_0xc46d02(0x177))/0x2)+-parseInt(_0xc46d02(0x183))/0x3+parseInt(_0xc46d02(0x15a))/0x4+parseInt(_0xc46d02(0x167))/0x5+-parseInt(_0xc46d02(0x168))/0x6*(-parseInt(_0xc46d02(0x189))/0x7)+-parseInt(_0xc46d02(0x169))/0x8+parseInt(_0xc46d02(0x16e))/0x9*(parseInt(_0xc46d02(0x178))/0xa);if(_0x14466a===_0x482b8b)break;else _0x5cd21b['push'](_0x5cd21b['shift']());}catch(_0x1057a6){_0x5cd21b['push'](_0x5cd21b['shift']());}}}(_0x1d2f,0x1b187));export function getConverterOptions(_0x1c70e3,_0x4bbc0e={}){const _0xd7d2fa=_0x10f8,_0x46e75e=_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x185)](_0xd7d2fa(0x17f)),_0xa3f16e=_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x185)](_0xd7d2fa(0x16d)),_0xc48fe2=_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x185)](_0xd7d2fa(0x174)),_0x4b3368=_0x4bbc0e;if(_0x46e75e&&_0xa3f16e){const _0x4e501e=getComments(_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x166)](_0xd7d2fa(0x16d))[_0xd7d2fa(0x159)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0xd7d2fa(0x165)](_0x4e501e)[_0xd7d2fa(0x18c)]&&(_0x4b3368[_0xd7d2fa(0x170)]=_0x4e501e);}if(_0x46e75e&&_0xc48fe2){const _0x571dcc=_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x166)](_0xd7d2fa(0x174)),_0x1d5082=_0x1c70e3[_0xd7d2fa(0x173)][_0xd7d2fa(0x166)](_0xd7d2fa(0x17f)),_0x2d48d6=getSuggestions(_0x571dcc[_0xd7d2fa(0x182)]({'toJSON':!0x0}),_0x1d5082[_0xd7d2fa(0x180)]);Object[_0xd7d2fa(0x165)](_0x2d48d6)[_0xd7d2fa(0x18c)]&&(_0x4b3368[_0xd7d2fa(0x16c)]=_0x2d48d6);}return(_0x4b3368[_0xd7d2fa(0x16c)]||_0x4b3368[_0xd7d2fa(0x170)])&&(_0x4b3368[_0xd7d2fa(0x184)]=new Intl[(_0xd7d2fa(0x158))]()[_0xd7d2fa(0x16f)]()[_0xd7d2fa(0x17c)]),_0x4b3368;}function _0x1d2f(){const _0x3c1c9b=['DateTimeFormat','getCommentThreads','343364QJvNRq','contentLanguage','getLabel','10DHboqG','mergeFields','author','createdAt','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','name','merge_fields','comment_threads','keys','get','168380rJQuhl','6hJSEJV','856920AuxgQz','authorName','getMergeFieldType','suggestions','CommentsRepository','41490WfKCwG','resolvedOptions','comments','document','push','plugins','TrackChanges','getDataSetValues','locale','18516gwmYVK','400NtlozT','content','image','MergeFieldsEditing','timeZone','entries','data','Users','users','collaboration_features','getSuggestions','620160zwNtYm','timezone','has','getDefaultValues','language','$defaultValues','1494367YKqhOk','map','config','length','$labels','@external','MergeFields','isResolved','previewMode'];_0x1d2f=function(){return _0x3c1c9b;};return _0x1d2f();}export function getComments(_0x4e3bd0){const _0x218d0b=_0x10f8,_0x32c19d={};if(!_0x4e3bd0[_0x218d0b(0x18c)])return _0x32c19d;for(const _0x3c2ed1 of _0x4e3bd0)_0x3c2ed1[_0x218d0b(0x170)][_0x218d0b(0x18a)](_0x82650e=>{const _0x295b4a=_0x218d0b;void 0x0===_0x32c19d[_0x3c2ed1['id']]&&(_0x32c19d[_0x3c2ed1['id']]=[]),_0x32c19d[_0x3c2ed1['id']][_0x295b4a(0x172)]({'author':_0x82650e[_0x295b4a(0x15f)][_0x295b4a(0x162)],'content':_0x82650e[_0x295b4a(0x179)],'created':_0x82650e[_0x295b4a(0x160)],'is_resolved':_0x3c2ed1[_0x295b4a(0x190)]});});return _0x32c19d;}export function getSuggestions(_0x45da1d,_0x3b3241){const _0xddd010=_0x10f8,_0x26070d={};if(!_0x45da1d[_0xddd010(0x18c)]||!_0x3b3241[_0xddd010(0x18c)])return _0x26070d;for(const {id:_0x2de6b9,createdAt:_0x1cb9c3,authorId:_0x1608a1,attributes:_0x237561}of _0x45da1d){const _0x4f6d6e=_0x237561&&_0x237561[_0xddd010(0x18e)],_0x12b8cf=_0x4f6d6e?_0x4f6d6e[_0xddd010(0x16a)]:_0x3b3241[_0xddd010(0x166)](_0x1608a1)[_0xddd010(0x162)];_0x26070d[_0x2de6b9]={'author':_0x12b8cf,'created':_0x1cb9c3};}return _0x26070d;}export function getConverterOptionsV2(_0x4a0b45,_0x52540d={}){const _0x5c1169=_0x10f8,_0x34138c=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x185)](_0x5c1169(0x17f)),_0x16e95e=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x185)](_0x5c1169(0x16d)),_0x14b389=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x185)](_0x5c1169(0x174)),_0x1ebf34=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x185)](_0x5c1169(0x18f)),_0x27e2c7=_0x4a0b45[_0x5c1169(0x176)][_0x5c1169(0x15b)],_0x9d916e=_0x52540d,_0x5ca771={};if(_0x9d916e[_0x5c1169(0x171)]=_0x9d916e[_0x5c1169(0x171)]||{},_0x9d916e[_0x5c1169(0x171)][_0x5c1169(0x187)]=_0x9d916e[_0x5c1169(0x171)][_0x5c1169(0x187)]||_0x27e2c7,_0x34138c&&_0x16e95e){const _0x3062e4=getCommentsV2(_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x166)](_0x5c1169(0x16d))[_0x5c1169(0x159)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3062e4[_0x5c1169(0x18c)]&&(_0x5ca771[_0x5c1169(0x164)]=_0x3062e4);}if(_0x34138c&&_0x14b389){const _0xa35924=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x166)](_0x5c1169(0x174)),_0x34f206=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x166)](_0x5c1169(0x17f)),_0x2f8d3e=getSuggestionsV2(_0xa35924[_0x5c1169(0x182)]({'toJSON':!0x0}),_0x34f206[_0x5c1169(0x180)]);_0x2f8d3e[_0x5c1169(0x18c)]&&(_0x5ca771[_0x5c1169(0x16c)]=_0x2f8d3e);}if(_0x1ebf34){const _0x26e590=_0x4a0b45[_0x5c1169(0x173)][_0x5c1169(0x166)](_0x5c1169(0x17b)),_0x18cfb7=_0x26e590[_0x5c1169(0x191)],{prefix:_0x33ee65,suffix:_0x3fc95f}=_0x4a0b45[_0x5c1169(0x18b)][_0x5c1169(0x166)](_0x5c1169(0x15e));if(_0x9d916e[_0x5c1169(0x163)]={'prefix':_0x33ee65,'suffix':_0x3fc95f},_0x5c1169(0x18d)!==_0x18cfb7){_0x9d916e[_0x5c1169(0x163)][_0x5c1169(0x17e)]={};const _0x4cd9f7=_0x5c1169(0x161),_0x322f68=_0x5c1169(0x188)===_0x18cfb7?_0x26e590[_0x5c1169(0x186)]():_0x26e590[_0x5c1169(0x175)](_0x18cfb7,!0x0);for(const _0x4d3c0b of Object[_0x5c1169(0x17d)](_0x322f68)){const [_0xde8ebf,_0x26c340]=_0x4d3c0b;_0x5c1169(0x17a)===_0x26e590[_0x5c1169(0x16b)](_0xde8ebf)?_0x9d916e[_0x5c1169(0x163)][_0x5c1169(0x17e)][_0xde8ebf]=null!==_0x26c340?_0x26c340:_0x4cd9f7:_0x9d916e[_0x5c1169(0x163)][_0x5c1169(0x17e)][_0xde8ebf]=null!==_0x26c340?_0x26c340:_0x26e590[_0x5c1169(0x15c)](_0xde8ebf)||_0xde8ebf;}}}return(_0x5ca771[_0x5c1169(0x164)]||_0x5ca771[_0x5c1169(0x16c)])&&(_0x9d916e[_0x5c1169(0x184)]=new Intl[(_0x5c1169(0x158))]()[_0x5c1169(0x16f)]()[_0x5c1169(0x17c)],_0x9d916e[_0x5c1169(0x181)]=_0x5ca771),_0x9d916e;}export function getCommentsV2(_0xfdf513){const _0x45b117=_0x10f8,_0x5a5d11=[];if(!_0xfdf513[_0x45b117(0x18c)])return _0x5a5d11;for(const _0x15099a of _0xfdf513){const _0x67fc2f=_0x15099a[_0x45b117(0x170)][_0x45b117(0x18a)](_0x26819f=>({'author':_0x26819f[_0x45b117(0x15f)][_0x45b117(0x162)],'content':_0x26819f[_0x45b117(0x179)],'created_at':_0x26819f[_0x45b117(0x160)]}));_0x5a5d11[_0x45b117(0x172)]({'thread_id':_0x15099a['id'],'is_resolved':_0x15099a[_0x45b117(0x190)],'comments':_0x67fc2f});}return _0x5a5d11;}export function getSuggestionsV2(_0x507c3c,_0x432a69){const _0x1299c7=_0x10f8;return _0x507c3c[_0x1299c7(0x18c)]&&_0x432a69[_0x1299c7(0x18c)]?_0x507c3c[_0x1299c7(0x18a)](({id:_0x3b95ea,createdAt:_0x5d371f,authorId:_0x541348,attributes:_0x2eb835})=>{const _0x546a5b=_0x1299c7,_0x136c50=_0x2eb835&&_0x2eb835[_0x546a5b(0x18e)];return{'id':_0x3b95ea,'author':_0x136c50?_0x136c50[_0x546a5b(0x16a)]:_0x432a69[_0x546a5b(0x166)](_0x541348)[_0x546a5b(0x162)],'created_at':_0x5d371f};}):[];}