@ckeditor/ckeditor5-export-word 46.0.0-alpha.2 → 46.0.0-alpha.3

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.0-alpha.2",
3
+ "version": "46.0.0-alpha.3",
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.0-alpha.2",
34
- "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-comments": "46.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-core": "46.0.0-alpha.2",
37
- "@ckeditor/ckeditor5-icons": "46.0.0-alpha.2",
38
- "@ckeditor/ckeditor5-merge-fields": "46.0.0-alpha.2",
39
- "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.2",
40
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.2",
41
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.2",
42
- "ckeditor5": "46.0.0-alpha.2"
33
+ "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-merge-fields": "46.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.3",
40
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.3",
41
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.3",
42
+ "ckeditor5": "46.0.0-alpha.3"
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 _0x2fc0e6=_0x5d72;(function(_0x252600,_0x4a38aa){const _0x59304c=_0x5d72,_0x2004a0=_0x252600();while(!![]){try{const _0x314c1a=-parseInt(_0x59304c(0x181))/0x1*(-parseInt(_0x59304c(0x17f))/0x2)+-parseInt(_0x59304c(0x194))/0x3*(-parseInt(_0x59304c(0x193))/0x4)+-parseInt(_0x59304c(0x186))/0x5+parseInt(_0x59304c(0x189))/0x6+-parseInt(_0x59304c(0x195))/0x7+-parseInt(_0x59304c(0x17e))/0x8*(parseInt(_0x59304c(0x197))/0x9)+parseInt(_0x59304c(0x187))/0xa;if(_0x314c1a===_0x4a38aa)break;else _0x2004a0['push'](_0x2004a0['shift']());}catch(_0x535220){_0x2004a0['push'](_0x2004a0['shift']());}}}(_0x3641,0x6eaaf));import{Plugin as _0x418e12}from'ckeditor5/src/core.js';import{Notification as _0x3a1d87}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x4feb7d}from'./exportwordcommand.js';import{ExportWordUI as _0x545d0f}from'./exportwordui.js';export class ExportWord extends _0x418e12{[_0x2fc0e6(0x180)];static get[_0x2fc0e6(0x18e)](){const _0x58ce9a=_0x2fc0e6;return _0x58ce9a(0x17b);}static get[_0x2fc0e6(0x192)](){return!0x0;}static get[_0x2fc0e6(0x18b)](){return!0x0;}static get[_0x2fc0e6(0x191)](){const _0x22e9dd=_0x2fc0e6;return[_0x22e9dd(0x18a),_0x3a1d87,_0x545d0f];}[_0x2fc0e6(0x196)](){const _0x3a06e2=_0x2fc0e6,_0x299819=this[_0x3a06e2(0x17d)],_0x4c3572=_0x299819[_0x3a06e2(0x18f)][_0x3a06e2(0x183)](_0x3a06e2(0x18c))||{};_0x299819[_0x3a06e2(0x190)][_0x3a06e2(0x18d)](_0x3a06e2(0x18c),new _0x4feb7d(_0x299819));const _0x3f5d71=_0x299819[_0x3a06e2(0x182)][_0x3a06e2(0x183)](_0x3a06e2(0x18a));!0x1===_0x4c3572[_0x3a06e2(0x188)]?this[_0x3a06e2(0x180)]=null:_0x4c3572[_0x3a06e2(0x188)]?_0x3f5d71[_0x3a06e2(0x185)](_0x4c3572[_0x3a06e2(0x188)])[_0x3a06e2(0x184)](_0x3a7610=>{const _0x3c3c13=_0x3a06e2;this[_0x3c3c13(0x180)]=_0x3a7610;}):this[_0x3a06e2(0x180)]=_0x3f5d71[_0x3a06e2(0x17c)];}}function _0x5d72(_0x1824b3,_0xb0a191){const _0x364176=_0x3641();return _0x5d72=function(_0x5d72a8,_0x21a8c9){_0x5d72a8=_0x5d72a8-0x17b;let _0x2edf5d=_0x364176[_0x5d72a8];return _0x2edf5d;},_0x5d72(_0x1824b3,_0xb0a191);}function _0x3641(){const _0x594b68=['4OGfgkw','450948YoNSPo','5417055TMzfMP','init','6705eUqrpl','ExportWord','token','editor','6328iXkFJc','8NVZLhu','_token','119513EMEFYA','plugins','get','then','registerTokenUrl','1159150pSbWHZ','9491030XCaDpw','tokenUrl','2824884JvJwiT','CloudServices','isPremiumPlugin','exportWord','add','pluginName','config','commands','requires','isOfficialPlugin'];_0x3641=function(){return _0x594b68;};return _0x3641();}
23
+ const _0x57dba5=_0x5563;(function(_0x9a6bc8,_0x1d4b83){const _0x276046=_0x5563,_0x6a4657=_0x9a6bc8();while(!![]){try{const _0x41ae19=-parseInt(_0x276046(0x84))/0x1*(-parseInt(_0x276046(0x90))/0x2)+-parseInt(_0x276046(0x8c))/0x3+-parseInt(_0x276046(0x92))/0x4*(-parseInt(_0x276046(0x7b))/0x5)+parseInt(_0x276046(0x93))/0x6*(-parseInt(_0x276046(0x8d))/0x7)+-parseInt(_0x276046(0x81))/0x8+-parseInt(_0x276046(0x83))/0x9*(parseInt(_0x276046(0x87))/0xa)+-parseInt(_0x276046(0x8b))/0xb*(-parseInt(_0x276046(0x80))/0xc);if(_0x41ae19===_0x1d4b83)break;else _0x6a4657['push'](_0x6a4657['shift']());}catch(_0x24532e){_0x6a4657['push'](_0x6a4657['shift']());}}}(_0x4d0c,0x682dd));import{Plugin as _0xa37ead}from'ckeditor5/src/core.js';import{Notification as _0x3c228e}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x1e7a7a}from'./exportwordcommand.js';function _0x5563(_0x1fba82,_0x34d3d3){const _0x4d0c7b=_0x4d0c();return _0x5563=function(_0x556327,_0x3e3c89){_0x556327=_0x556327-0x7b;let _0xb2e19b=_0x4d0c7b[_0x556327];return _0xb2e19b;},_0x5563(_0x1fba82,_0x34d3d3);}function _0x4d0c(){const _0x425d23=['then','token','exportWord','503964duJaTG','4499744DhOUPV','editor','1755fuHShw','407081WGslWd','ExportWord','CloudServices','42610BcaBSc','isOfficialPlugin','isPremiumPlugin','registerTokenUrl','539OzEzFm','173907McfTJT','34181LwJUVo','tokenUrl','add','2PAbyka','get','187576wzsXxI','894zZiiVJ','requires','pluginName','init','config','_token','plugins','15bIrUlP','commands'];_0x4d0c=function(){return _0x425d23;};return _0x4d0c();}import{ExportWordUI as _0x1c3307}from'./exportwordui.js';export class ExportWord extends _0xa37ead{[_0x57dba5(0x98)];static get[_0x57dba5(0x95)](){const _0x6c404=_0x57dba5;return _0x6c404(0x85);}static get[_0x57dba5(0x88)](){return!0x0;}static get[_0x57dba5(0x89)](){return!0x0;}static get[_0x57dba5(0x94)](){const _0x2606de=_0x57dba5;return[_0x2606de(0x86),_0x3c228e,_0x1c3307];}[_0x57dba5(0x96)](){const _0x2d0481=_0x57dba5,_0x268758=this[_0x2d0481(0x82)],_0x4cf563=_0x268758[_0x2d0481(0x97)][_0x2d0481(0x91)](_0x2d0481(0x7f))||{};_0x268758[_0x2d0481(0x7c)][_0x2d0481(0x8f)](_0x2d0481(0x7f),new _0x1e7a7a(_0x268758));const _0x3ff90b=_0x268758[_0x2d0481(0x99)][_0x2d0481(0x91)](_0x2d0481(0x86));!0x1===_0x4cf563[_0x2d0481(0x8e)]?this[_0x2d0481(0x98)]=null:_0x4cf563[_0x2d0481(0x8e)]?_0x3ff90b[_0x2d0481(0x8a)](_0x4cf563[_0x2d0481(0x8e)])[_0x2d0481(0x7d)](_0x5a0b60=>{const _0x1738cd=_0x2d0481;this[_0x1738cd(0x98)]=_0x5a0b60;}):this[_0x2d0481(0x98)]=_0x3ff90b[_0x2d0481(0x7e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aedec=_0x5442;(function(_0x324fa0,_0x49587f){const _0x1e9704=_0x5442,_0x3f7064=_0x324fa0();while(!![]){try{const _0x55f336=-parseInt(_0x1e9704(0x1b1))/0x1*(parseInt(_0x1e9704(0x1c8))/0x2)+parseInt(_0x1e9704(0x17f))/0x3*(-parseInt(_0x1e9704(0x1b4))/0x4)+parseInt(_0x1e9704(0x1cf))/0x5+parseInt(_0x1e9704(0x1c3))/0x6*(parseInt(_0x1e9704(0x1a6))/0x7)+-parseInt(_0x1e9704(0x1c5))/0x8+parseInt(_0x1e9704(0x1a7))/0x9+parseInt(_0x1e9704(0x19a))/0xa*(parseInt(_0x1e9704(0x1a2))/0xb);if(_0x55f336===_0x49587f)break;else _0x3f7064['push'](_0x3f7064['shift']());}catch(_0x4bf9d9){_0x3f7064['push'](_0x3f7064['shift']());}}}(_0x1967,0x9ce23));import{Command as _0x4954d1}from'ckeditor5/src/core.js';import{logWarning as _0x512171,collectStylesheets as _0x84aad}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1e7a19,getConverterOptionsV2 as _0x2b23f4}from'./utils.js';import{getTranslation as _0x359e6b}from'./utils/common-translations.js';function _0x5442(_0x345569,_0x302865){const _0x196754=_0x1967();return _0x5442=function(_0x544292,_0x28378c){_0x544292=_0x544292-0x17f;let _0x14ee83=_0x196754[_0x544292];return _0x14ee83;},_0x5442(_0x345569,_0x302865);}const p=[_0x3aedec(0x186),_0x3aedec(0x1b8),_0x3aedec(0x18e),_0x3aedec(0x1a5),_0x3aedec(0x1c2),_0x3aedec(0x197),_0x3aedec(0x1be),_0x3aedec(0x1cd),_0x3aedec(0x1b2),_0x3aedec(0x198)];function _0x1967(){const _0x3e6852=['set','value','function','footer','token','1354165KbrYwU','showWarning','12GSXWDS','contentLanguageDirection','pending','plugins','Word\x20document\x20export\x20started','Word\x20document\x20export\x20failed','isBusy','orientation','announce','</div>','stringify','isEnabled','data','fetch','then','margin_right','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','affectsData','https://docx-converter.cke-cs.com/v2/convert/html-docx','locale','remove','options','editor','href','format','suggestions','EDITOR_STYLES','3605920hFQNCP','createObjectURL','_token','application/json','ariaLiveAnnouncer','get','dataCallback','execute','11AdDmrm','version','blob','margin_bottom','770QoFCjV','10240461bTLpKE','https://docx-converter.cke-cs.com/v1/convert','<div\x20class=\x22ck-content\x22\x20dir=\x22','converterUrl','POST','refresh','assertive','fileName','click','download','1GKWvvB','comments','Word\x20document\x20export\x20successful','71636HQlQPZ','converterOptions','status','document.docx','margin_top','auto_pagination','catch','stylesheets','_downloadFile','createElement','header','Notification','finally','config','margin_left','28686RStVfQ','export-word-v1-api-is-deprecated','3049616mVsnWB','application/docx','URL','2399462BNTFRR','ExportWord'];_0x1967=function(){return _0x3e6852;};return _0x1967();}export class ExportWordCommand extends _0x4954d1{constructor(_0x26b962){const _0x59438c=_0x3aedec;super(_0x26b962),this[_0x59438c(0x1ca)](_0x59438c(0x185),!0x1),this[_0x59438c(0x190)]=!0x1;}[_0x3aedec(0x1ac)](){const _0x19de12=_0x3aedec;this[_0x19de12(0x18a)]=!this[_0x19de12(0x185)],this[_0x19de12(0x1cb)]=this[_0x19de12(0x185)]?_0x19de12(0x181):void 0x0;}[_0x3aedec(0x1a1)](_0x543128={}){const _0x1e7e56=_0x3aedec,_0x4dfb=this[_0x1e7e56(0x195)],_0x1a4bef=_0x543128[_0x1e7e56(0x1a3)]||0x2,_0x1867b6=0x1===_0x1a4bef,_0x50cd96=_0x543128[_0x1e7e56(0x1aa)]||(_0x1867b6?_0x1e7e56(0x1a8):_0x1e7e56(0x191)),_0x3d1711=_0x543128[_0x1e7e56(0x1b5)]||{},_0x4de6ef=_0x4dfb[_0x1e7e56(0x182)][_0x1e7e56(0x19f)](_0x1e7e56(0x1c9)),_0x209c0b=_0x543128[_0x1e7e56(0x1ce)]||_0x4de6ef[_0x1e7e56(0x19c)],_0x5a74e3=!0x0===_0x3d1711[_0x1e7e56(0x1b9)],_0x2fb9ed=_0x543128[_0x1e7e56(0x1a0)]||(_0x42abc8=>_0x42abc8[_0x1e7e56(0x18b)][_0x1e7e56(0x19f)]({'pagination':_0x5a74e3}));return 0x2===_0x1a4bef&&function(_0x4610b0){for(const _0x5325cb of p)if(void 0x0!==_0x4610b0[_0x5325cb])return!0x0;return!0x1;}(_0x3d1711)&&_0x512171(_0x1e7e56(0x1c4)),this[_0x1e7e56(0x185)]=!0x0,this[_0x1e7e56(0x1ac)](),_0x84aad(_0x543128[_0x1e7e56(0x1bb)]||[_0x1e7e56(0x199)])[_0x1e7e56(0x18d)](async _0x1f4518=>{const _0x5d3d90=_0x1e7e56;_0x4dfb['ui'][_0x5d3d90(0x19e)][_0x5d3d90(0x187)](_0x359e6b(_0x4dfb[_0x5d3d90(0x192)],_0x5d3d90(0x183)));const _0x635488=await _0x2fb9ed(_0x4dfb),_0xe0853a={'html':_0x5d3d90(0x1a9)+_0x4dfb[_0x5d3d90(0x192)][_0x5d3d90(0x180)]+'\x22>'+_0x635488+_0x5d3d90(0x188),'css':_0x1f4518,[_0x1867b6?_0x5d3d90(0x194):_0x5d3d90(0x1c1)]:{..._0x3d1711,..._0x1867b6?_0x1e7a19(_0x4dfb,_0x3d1711):_0x2b23f4(_0x4dfb,_0x3d1711)}},_0x4e34c4={'method':_0x5d3d90(0x1ab),'headers':{'Content-Type':_0x5d3d90(0x19d),'Accept':_0x5d3d90(0x1c6),..._0x209c0b?{'Authorization':_0x209c0b[_0x5d3d90(0x1cb)]}:null},'body':JSON[_0x5d3d90(0x189)](_0xe0853a)};return window[_0x5d3d90(0x18c)](_0x50cd96,_0x4e34c4)[_0x5d3d90(0x18d)](_0x5a0d38=>{const _0x2f4356=_0x5d3d90;if(0xc8!==_0x5a0d38[_0x2f4356(0x1b6)])throw _0x5a0d38;return _0x5a0d38[_0x2f4356(0x1a4)]();})[_0x5d3d90(0x18d)](_0x4b4c9a=>{const _0x385727=_0x5d3d90;_0x4dfb['ui'][_0x385727(0x19e)][_0x385727(0x187)](_0x359e6b(_0x4dfb[_0x385727(0x192)],_0x385727(0x1b3)));const _0x18a2b6=_0x385727(0x1cc)==typeof _0x543128[_0x385727(0x1ae)]?_0x543128[_0x385727(0x1ae)]():_0x543128[_0x385727(0x1ae)];this[_0x385727(0x1bc)](_0x4b4c9a,_0x18a2b6||_0x385727(0x1b7));});})[_0x1e7e56(0x1ba)](_0x37050c=>{const _0x55cd7a=_0x1e7e56,_0x4b5c74=_0x4dfb[_0x55cd7a(0x182)][_0x55cd7a(0x19f)](_0x55cd7a(0x1bf));throw _0x4dfb['ui'][_0x55cd7a(0x19e)][_0x55cd7a(0x187)](_0x359e6b(_0x4dfb[_0x55cd7a(0x192)],_0x55cd7a(0x184)),{'politeness':_0x55cd7a(0x1ad)}),_0x4b5c74[_0x55cd7a(0x1d0)](_0x359e6b(_0x4dfb[_0x55cd7a(0x192)],_0x55cd7a(0x18f))),_0x37050c;})[_0x1e7e56(0x1c0)](()=>{const _0x2b3bf3=_0x1e7e56;this[_0x2b3bf3(0x185)]=!0x1,this[_0x2b3bf3(0x1ac)]();});}[_0x3aedec(0x1bc)](_0x5ee62b,_0x5b5037){const _0x4f347e=_0x3aedec,_0x404dda=document[_0x4f347e(0x1bd)]('a');_0x404dda[_0x4f347e(0x196)]=window[_0x4f347e(0x1c7)][_0x4f347e(0x19b)](_0x5ee62b),_0x404dda[_0x4f347e(0x1b0)]=_0x5b5037,_0x404dda[_0x4f347e(0x1af)](),_0x404dda[_0x4f347e(0x193)]();}}
23
+ const _0x1de724=_0x431f;(function(_0x44ae93,_0x4f0cb2){const _0xd505e7=_0x431f,_0x5adf6b=_0x44ae93();while(!![]){try{const _0x3651ae=-parseInt(_0xd505e7(0x15a))/0x1*(-parseInt(_0xd505e7(0x171))/0x2)+parseInt(_0xd505e7(0x157))/0x3*(-parseInt(_0xd505e7(0x187))/0x4)+parseInt(_0xd505e7(0x17e))/0x5+-parseInt(_0xd505e7(0x15d))/0x6+parseInt(_0xd505e7(0x173))/0x7*(-parseInt(_0xd505e7(0x19b))/0x8)+-parseInt(_0xd505e7(0x166))/0x9+parseInt(_0xd505e7(0x161))/0xa;if(_0x3651ae===_0x4f0cb2)break;else _0x5adf6b['push'](_0x5adf6b['shift']());}catch(_0x52b8fe){_0x5adf6b['push'](_0x5adf6b['shift']());}}}(_0x33f1,0x92077));import{Command as _0x1f7ec6}from'ckeditor5/src/core.js';import{logWarning as _0xf751b6,collectStylesheets as _0x5ec535}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x18be5c,getConverterOptionsV2 as _0x54adab}from'./utils.js';import{getTranslation as _0xd7ffd2}from'./utils/common-translations.js';const p=[_0x1de724(0x17b),_0x1de724(0x198),_0x1de724(0x176),_0x1de724(0x189),_0x1de724(0x16d),_0x1de724(0x175),_0x1de724(0x181),_0x1de724(0x1a2),_0x1de724(0x183),_0x1de724(0x15f)];function _0x431f(_0x4913c2,_0x3b1c78){const _0x33f12f=_0x33f1();return _0x431f=function(_0x431f82,_0x7f8e73){_0x431f82=_0x431f82-0x156;let _0x460fdf=_0x33f12f[_0x431f82];return _0x460fdf;},_0x431f(_0x4913c2,_0x3b1c78);}function _0x33f1(){const _0x28b4ac=['EDITOR_STYLES','isEnabled','828ETFsGU','function','options','3943098tJtQqA','announce','suggestions','_downloadFile','11571770uyiMFq','execute','document.docx','Word\x20document\x20export\x20failed','click','1281141LLEkyo','stringify','version','application/json','affectsData','assertive','locale','margin_left','fetch','https://docx-converter.cke-cs.com/v1/convert','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','1158VgoMuN','Notification','7OjgPxw','plugins','format','margin_right','download','status','converterOptions','fileName','orientation','https://docx-converter.cke-cs.com/v2/convert/html-docx','<div\x20class=\x22ck-content\x22\x20dir=\x22','4350410ErWkZM','contentLanguageDirection','ariaLiveAnnouncer','header','then','comments','pending','createElement','stylesheets','1588siknDA','Word\x20document\x20export\x20successful','margin_bottom','remove','token','data','finally','value','blob','config','ExportWord','editor','converterUrl','POST','</div>','dataCallback','get','margin_top','URL','showWarning','5152936HuQQWr','href','createObjectURL','application/docx','export-word-v1-api-is-deprecated','set','Word\x20document\x20export\x20started','footer','catch','auto_pagination','refresh','_token','isBusy','3513FELoJS'];_0x33f1=function(){return _0x28b4ac;};return _0x33f1();}export class ExportWordCommand extends _0x1f7ec6{constructor(_0x7787ec){const _0x28912e=_0x1de724;super(_0x7787ec),this[_0x28912e(0x1a0)](_0x28912e(0x156),!0x1),this[_0x28912e(0x16a)]=!0x1;}[_0x1de724(0x1a5)](){const _0x1a3a15=_0x1de724;this[_0x1a3a15(0x159)]=!this[_0x1a3a15(0x156)],this[_0x1a3a15(0x18e)]=this[_0x1a3a15(0x156)]?_0x1a3a15(0x184):void 0x0;}[_0x1de724(0x162)](_0x5024c3={}){const _0x284afe=_0x1de724,_0x535a46=this[_0x284afe(0x192)],_0x595038=_0x5024c3[_0x284afe(0x168)]||0x2,_0x3d891e=0x1===_0x595038,_0x186afd=_0x5024c3[_0x284afe(0x193)]||(_0x3d891e?_0x284afe(0x16f):_0x284afe(0x17c)),_0x1bf426=_0x5024c3[_0x284afe(0x179)]||{},_0xdefd88=_0x535a46[_0x284afe(0x174)][_0x284afe(0x197)](_0x284afe(0x191)),_0x115665=_0x5024c3[_0x284afe(0x18b)]||_0xdefd88[_0x284afe(0x1a6)],_0x453749=!0x0===_0x1bf426[_0x284afe(0x1a4)],_0x5688d1=_0x5024c3[_0x284afe(0x196)]||(_0x3e5bb3=>_0x3e5bb3[_0x284afe(0x18c)][_0x284afe(0x197)]({'pagination':_0x453749}));return 0x2===_0x595038&&function(_0x4fb3d7){for(const _0x2162ab of p)if(void 0x0!==_0x4fb3d7[_0x2162ab])return!0x0;return!0x1;}(_0x1bf426)&&_0xf751b6(_0x284afe(0x19f)),this[_0x284afe(0x156)]=!0x0,this[_0x284afe(0x1a5)](),_0x5ec535(_0x5024c3[_0x284afe(0x186)]||[_0x284afe(0x158)])[_0x284afe(0x182)](async _0x40dfbf=>{const _0x1d9d0f=_0x284afe;_0x535a46['ui'][_0x1d9d0f(0x180)][_0x1d9d0f(0x15e)](_0xd7ffd2(_0x535a46[_0x1d9d0f(0x16c)],_0x1d9d0f(0x1a1)));const _0x5229cd=await _0x5688d1(_0x535a46),_0x5edf23={'html':_0x1d9d0f(0x17d)+_0x535a46[_0x1d9d0f(0x16c)][_0x1d9d0f(0x17f)]+'\x22>'+_0x5229cd+_0x1d9d0f(0x195),'css':_0x40dfbf,[_0x3d891e?_0x1d9d0f(0x15c):_0x1d9d0f(0x190)]:{..._0x1bf426,..._0x3d891e?_0x18be5c(_0x535a46,_0x1bf426):_0x54adab(_0x535a46,_0x1bf426)}},_0x260c06={'method':_0x1d9d0f(0x194),'headers':{'Content-Type':_0x1d9d0f(0x169),'Accept':_0x1d9d0f(0x19e),..._0x115665?{'Authorization':_0x115665[_0x1d9d0f(0x18e)]}:null},'body':JSON[_0x1d9d0f(0x167)](_0x5edf23)};return window[_0x1d9d0f(0x16e)](_0x186afd,_0x260c06)[_0x1d9d0f(0x182)](_0x15c538=>{const _0x734ce3=_0x1d9d0f;if(0xc8!==_0x15c538[_0x734ce3(0x178)])throw _0x15c538;return _0x15c538[_0x734ce3(0x18f)]();})[_0x1d9d0f(0x182)](_0x501e93=>{const _0x2df2ac=_0x1d9d0f;_0x535a46['ui'][_0x2df2ac(0x180)][_0x2df2ac(0x15e)](_0xd7ffd2(_0x535a46[_0x2df2ac(0x16c)],_0x2df2ac(0x188)));const _0x1921af=_0x2df2ac(0x15b)==typeof _0x5024c3[_0x2df2ac(0x17a)]?_0x5024c3[_0x2df2ac(0x17a)]():_0x5024c3[_0x2df2ac(0x17a)];this[_0x2df2ac(0x160)](_0x501e93,_0x1921af||_0x2df2ac(0x163));});})[_0x284afe(0x1a3)](_0x29a792=>{const _0xf6c444=_0x284afe,_0x13a452=_0x535a46[_0xf6c444(0x174)][_0xf6c444(0x197)](_0xf6c444(0x172));throw _0x535a46['ui'][_0xf6c444(0x180)][_0xf6c444(0x15e)](_0xd7ffd2(_0x535a46[_0xf6c444(0x16c)],_0xf6c444(0x164)),{'politeness':_0xf6c444(0x16b)}),_0x13a452[_0xf6c444(0x19a)](_0xd7ffd2(_0x535a46[_0xf6c444(0x16c)],_0xf6c444(0x170))),_0x29a792;})[_0x284afe(0x18d)](()=>{const _0x1714a8=_0x284afe;this[_0x1714a8(0x156)]=!0x1,this[_0x1714a8(0x1a5)]();});}[_0x1de724(0x160)](_0x143f86,_0x127498){const _0x493c39=_0x1de724,_0x1d6501=document[_0x493c39(0x185)]('a');_0x1d6501[_0x493c39(0x19c)]=window[_0x493c39(0x199)][_0x493c39(0x19d)](_0x143f86),_0x1d6501[_0x493c39(0x177)]=_0x127498,_0x1d6501[_0x493c39(0x165)](),_0x1d6501[_0x493c39(0x18a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x157bf4=_0x3a0e;(function(_0x2752e2,_0x791542){const _0x4249b2=_0x3a0e,_0x41b983=_0x2752e2();while(!![]){try{const _0x427294=parseInt(_0x4249b2(0x8e))/0x1*(-parseInt(_0x4249b2(0x79))/0x2)+-parseInt(_0x4249b2(0x74))/0x3+-parseInt(_0x4249b2(0x8d))/0x4*(parseInt(_0x4249b2(0x83))/0x5)+parseInt(_0x4249b2(0x77))/0x6+-parseInt(_0x4249b2(0x85))/0x7+-parseInt(_0x4249b2(0x88))/0x8*(-parseInt(_0x4249b2(0x7c))/0x9)+parseInt(_0x4249b2(0x7a))/0xa;if(_0x427294===_0x791542)break;else _0x41b983['push'](_0x41b983['shift']());}catch(_0x11cd01){_0x41b983['push'](_0x41b983['shift']());}}}(_0x440f,0x86239));import{Plugin as _0x3e291f}from'ckeditor5/src/core.js';function _0x3a0e(_0x24c9ec,_0x977f00){const _0x440f45=_0x440f();return _0x3a0e=function(_0x3a0e13,_0x2d9854){_0x3a0e13=_0x3a0e13-0x66;let _0x19fa59=_0x440f45[_0x3a0e13];return _0x19fa59;},_0x3a0e(_0x24c9ec,_0x977f00);}function _0x440f(){const _0x4cf0dc=['1135854KQfqaa','bind','ExportWordUI','focus','listenTo','exportWord','label','30KdeaaU','componentFactory','5897549Hbybiv','editing','iconView','64tMyIXR','set','_createButton','Exporting\x20Word\x20document','view','40852pZtCmj','57116imKQWp','isOfficialPlugin','commands','Export\x20to\x20Word','children','isBusy','menuBar:exportWord','editor','isPremiumPlugin','execute','locale','get','isVisible','add','config','2072541zFVBgI','isOn','pluginName','1311792yzzapl','init','38AoyLUT','20009890rXHLak','isEnabled'];_0x440f=function(){return _0x4cf0dc;};return _0x440f();}import{IconExportWord as _0x9d09dd}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b1710,MenuBarMenuListItemButtonView as _0x4c8d5b,SpinnerView as _0x3cbd07}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e6b8a}from'./utils/common-translations.js';export class ExportWordUI extends _0x3e291f{static get[_0x157bf4(0x76)](){const _0x3174b4=_0x157bf4;return _0x3174b4(0x7e);}static get[_0x157bf4(0x66)](){return!0x0;}static get[_0x157bf4(0x6d)](){return!0x0;}[_0x157bf4(0x78)](){const _0x287014=_0x157bf4,_0xa5531a=this[_0x287014(0x6c)];_0xa5531a['ui'][_0x287014(0x84)][_0x287014(0x72)](_0x287014(0x81),()=>{const _0x3e668d=_0x287014,_0x1ca302=_0xa5531a[_0x3e668d(0x67)][_0x3e668d(0x70)](_0x3e668d(0x81)),_0x4a96eb=this[_0x3e668d(0x8a)](_0x3b1710);return _0x4a96eb[_0x3e668d(0x89)]({'tooltip':!0x0}),_0x4a96eb[_0x3e668d(0x7d)](_0x3e668d(0x75))['to'](_0x1ca302,_0x3e668d(0x6a)),_0x4a96eb;}),_0xa5531a['ui'][_0x287014(0x84)][_0x287014(0x72)](_0x287014(0x6b),()=>this[_0x287014(0x8a)](_0x4c8d5b));}[_0x157bf4(0x8a)](_0x33628e){const _0x54630b=_0x157bf4,_0x4fb8b1=this[_0x54630b(0x6c)],_0x45230b=_0x4fb8b1[_0x54630b(0x73)][_0x54630b(0x70)](_0x54630b(0x81))||{},_0x261f77=_0x4fb8b1[_0x54630b(0x67)][_0x54630b(0x70)](_0x54630b(0x81)),_0x4c3346=new _0x33628e(_0x4fb8b1[_0x54630b(0x6f)]),_0x1306e9=new _0x3cbd07();return _0x4c3346[_0x54630b(0x69)][_0x54630b(0x72)](_0x1306e9),_0x1306e9[_0x54630b(0x7d)](_0x54630b(0x71))['to'](_0x261f77,_0x54630b(0x6a)),_0x4c3346[_0x54630b(0x87)][_0x54630b(0x7d)](_0x54630b(0x71))['to'](_0x261f77,_0x54630b(0x6a),_0x507231=>!_0x507231),_0x4c3346[_0x54630b(0x89)]({'icon':_0x9d09dd}),_0x4c3346[_0x54630b(0x7d)](_0x54630b(0x7b))['to'](_0x261f77,_0x54630b(0x7b)),_0x4c3346[_0x54630b(0x7d)](_0x54630b(0x82))['to'](_0x261f77,_0x54630b(0x6a),_0x3f8b40=>_0x5e6b8a(_0x4fb8b1[_0x54630b(0x6f)],_0x3f8b40?_0x54630b(0x8b):_0x54630b(0x68))),this[_0x54630b(0x80)](_0x4c3346,_0x54630b(0x6e),()=>{const _0x1b9215=_0x54630b;_0x4fb8b1[_0x1b9215(0x6e)](_0x1b9215(0x81),_0x45230b),_0x4fb8b1[_0x1b9215(0x86)][_0x1b9215(0x8c)][_0x1b9215(0x7f)]();}),_0x4c3346;}}
23
+ const _0x471e4e=_0x4a15;function _0x59a7(){const _0x361774=['2230590yOoAQO','menuBar:exportWord','9jXwqNc','1193624rcaDdn','433212QZGIAT','children','707665DXIQme','isOn','isEnabled','ExportWordUI','get','Export\x20to\x20Word','Exporting\x20Word\x20document','componentFactory','set','3KSDKbG','commands','add','label','isOfficialPlugin','isBusy','editing','config','bind','isVisible','1166296JOxnCF','execute','35xkMNXr','exportWord','iconView','editor','listenTo','focus','isPremiumPlugin','locale','init','view','721586eFQGZq','175991CYXQfu','_createButton','pluginName'];_0x59a7=function(){return _0x361774;};return _0x59a7();}(function(_0x1c780a,_0x1af7ac){const _0x5e3082=_0x4a15,_0x5347ae=_0x1c780a();while(!![]){try{const _0x3f86aa=-parseInt(_0x5e3082(0xc2))/0x1+parseInt(_0x5e3082(0xea))/0x2+-parseInt(_0x5e3082(0xd4))/0x3*(-parseInt(_0x5e3082(0xc8))/0x4)+parseInt(_0x5e3082(0xcb))/0x5+parseInt(_0x5e3082(0xc9))/0x6*(-parseInt(_0x5e3082(0xe0))/0x7)+parseInt(_0x5e3082(0xde))/0x8+parseInt(_0x5e3082(0xc7))/0x9*(-parseInt(_0x5e3082(0xc5))/0xa);if(_0x3f86aa===_0x1af7ac)break;else _0x5347ae['push'](_0x5347ae['shift']());}catch(_0x442bf6){_0x5347ae['push'](_0x5347ae['shift']());}}}(_0x59a7,0x2d85b));import{Plugin as _0x53104c}from'ckeditor5/src/core.js';import{IconExportWord as _0x680fce}from'ckeditor5/src/icons.js';function _0x4a15(_0x23a33b,_0x9fe09a){const _0x59a7ae=_0x59a7();return _0x4a15=function(_0x4a15fa,_0x22f2ca){_0x4a15fa=_0x4a15fa-0xc2;let _0x4b4a65=_0x59a7ae[_0x4a15fa];return _0x4b4a65;},_0x4a15(_0x23a33b,_0x9fe09a);}import{ButtonView as _0x50fa4f,MenuBarMenuListItemButtonView as _0x5d9b72,SpinnerView as _0x2c926f}from'ckeditor5/src/ui.js';import{getTranslation as _0x56e820}from'./utils/common-translations.js';export class ExportWordUI extends _0x53104c{static get[_0x471e4e(0xc4)](){const _0x4a6fc0=_0x471e4e;return _0x4a6fc0(0xce);}static get[_0x471e4e(0xd8)](){return!0x0;}static get[_0x471e4e(0xe6)](){return!0x0;}[_0x471e4e(0xe8)](){const _0x23dac7=_0x471e4e,_0xb5242a=this[_0x23dac7(0xe3)];_0xb5242a['ui'][_0x23dac7(0xd2)][_0x23dac7(0xd6)](_0x23dac7(0xe1),()=>{const _0x351274=_0x23dac7,_0x55890d=_0xb5242a[_0x351274(0xd5)][_0x351274(0xcf)](_0x351274(0xe1)),_0x37a303=this[_0x351274(0xc3)](_0x50fa4f);return _0x37a303[_0x351274(0xd3)]({'tooltip':!0x0}),_0x37a303[_0x351274(0xdc)](_0x351274(0xcc))['to'](_0x55890d,_0x351274(0xd9)),_0x37a303;}),_0xb5242a['ui'][_0x23dac7(0xd2)][_0x23dac7(0xd6)](_0x23dac7(0xc6),()=>this[_0x23dac7(0xc3)](_0x5d9b72));}[_0x471e4e(0xc3)](_0x1439ee){const _0x278bfa=_0x471e4e,_0x3edc0d=this[_0x278bfa(0xe3)],_0x1e8ffe=_0x3edc0d[_0x278bfa(0xdb)][_0x278bfa(0xcf)](_0x278bfa(0xe1))||{},_0x3041fb=_0x3edc0d[_0x278bfa(0xd5)][_0x278bfa(0xcf)](_0x278bfa(0xe1)),_0x1d0867=new _0x1439ee(_0x3edc0d[_0x278bfa(0xe7)]),_0x18cf46=new _0x2c926f();return _0x1d0867[_0x278bfa(0xca)][_0x278bfa(0xd6)](_0x18cf46),_0x18cf46[_0x278bfa(0xdc)](_0x278bfa(0xdd))['to'](_0x3041fb,_0x278bfa(0xd9)),_0x1d0867[_0x278bfa(0xe2)][_0x278bfa(0xdc)](_0x278bfa(0xdd))['to'](_0x3041fb,_0x278bfa(0xd9),_0x497a5a=>!_0x497a5a),_0x1d0867[_0x278bfa(0xd3)]({'icon':_0x680fce}),_0x1d0867[_0x278bfa(0xdc)](_0x278bfa(0xcd))['to'](_0x3041fb,_0x278bfa(0xcd)),_0x1d0867[_0x278bfa(0xdc)](_0x278bfa(0xd7))['to'](_0x3041fb,_0x278bfa(0xd9),_0x2868db=>_0x56e820(_0x3edc0d[_0x278bfa(0xe7)],_0x2868db?_0x278bfa(0xd1):_0x278bfa(0xd0))),this[_0x278bfa(0xe4)](_0x1d0867,_0x278bfa(0xdf),()=>{const _0x1bd23c=_0x278bfa;_0x3edc0d[_0x1bd23c(0xdf)](_0x1bd23c(0xe1),_0x1e8ffe),_0x3edc0d[_0x1bd23c(0xda)][_0x1bd23c(0xe9)][_0x1bd23c(0xe5)]();}),_0x1d0867;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c0f(){var _0x57a13e=['12zcKSYb','5087484XcAfkT','656885IJNNjV','6McLrvd','672580vYCgoP','896344ZDcDEA','29802620RZGcrc','56LhZoUW','12752181PVPIYI','1408504XjQIbD'];_0x5c0f=function(){return _0x57a13e;};return _0x5c0f();}function _0x20ae(_0x161fb1,_0x121add){var _0x5c0f9a=_0x5c0f();return _0x20ae=function(_0x20ae47,_0x296f3d){_0x20ae47=_0x20ae47-0x117;var _0x11c785=_0x5c0f9a[_0x20ae47];return _0x11c785;},_0x20ae(_0x161fb1,_0x121add);}(function(_0x3a87e3,_0x1e5c02){var _0x50e404=_0x20ae,_0xcc7ca4=_0x3a87e3();while(!![]){try{var _0x2ac861=parseInt(_0x50e404(0x11e))/0x1+parseInt(_0x50e404(0x11f))/0x2*(parseInt(_0x50e404(0x11d))/0x3)+-parseInt(_0x50e404(0x11b))/0x4+-parseInt(_0x50e404(0x11c))/0x5*(-parseInt(_0x50e404(0x11a))/0x6)+parseInt(_0x50e404(0x117))/0x7*(-parseInt(_0x50e404(0x119))/0x8)+-parseInt(_0x50e404(0x118))/0x9+parseInt(_0x50e404(0x120))/0xa;if(_0x2ac861===_0x1e5c02)break;else _0xcc7ca4['push'](_0xcc7ca4['shift']());}catch(_0x3e0480){_0xcc7ca4['push'](_0xcc7ca4['shift']());}}}(_0x5c0f,0xae7a0));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';export{getConverterOptions as _getExportWordConverterOptionsV1,getConverterOptionsV2 as _getExportWordConverterOptionsV2,getComments as _getExportWordComments,getCommentsV2 as _getExportWordCommentsV2,getSuggestions as _getExportWordSuggestions,getSuggestionsV2 as _getExportWordSuggestionsV2}from'./utils.js';import'./augmentation.js';
23
+ (function(_0x3eae8e,_0x1f7192){var _0x54066c=_0x35c1,_0x287298=_0x3eae8e();while(!![]){try{var _0x4f55fe=-parseInt(_0x54066c(0x106))/0x1*(-parseInt(_0x54066c(0xfc))/0x2)+-parseInt(_0x54066c(0xfd))/0x3+parseInt(_0x54066c(0x102))/0x4*(-parseInt(_0x54066c(0x104))/0x5)+-parseInt(_0x54066c(0x107))/0x6*(-parseInt(_0x54066c(0x108))/0x7)+parseInt(_0x54066c(0x100))/0x8*(parseInt(_0x54066c(0x105))/0x9)+parseInt(_0x54066c(0xff))/0xa*(-parseInt(_0x54066c(0xfe))/0xb)+-parseInt(_0x54066c(0x101))/0xc*(-parseInt(_0x54066c(0x103))/0xd);if(_0x4f55fe===_0x1f7192)break;else _0x287298['push'](_0x287298['shift']());}catch(_0x4cada6){_0x287298['push'](_0x287298['shift']());}}}(_0x18b0,0x9a377));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';function _0x35c1(_0x273981,_0x2db563){var _0x18b063=_0x18b0();return _0x35c1=function(_0x35c1d9,_0x2fb691){_0x35c1d9=_0x35c1d9-0xfc;var _0x50ea22=_0x18b063[_0x35c1d9];return _0x50ea22;},_0x35c1(_0x273981,_0x2db563);}export{getConverterOptions as _getExportWordConverterOptionsV1,getConverterOptionsV2 as _getExportWordConverterOptionsV2,getComments as _getExportWordComments,getCommentsV2 as _getExportWordCommentsV2,getSuggestions as _getExportWordSuggestions,getSuggestionsV2 as _getExportWordSuggestionsV2}from'./utils.js';import'./augmentation.js';function _0x18b0(){var _0x328e74=['1SalOaz','281994zFeBba','119SoorpA','1501196zpwASG','2403645EpFGeR','3883DHeqxi','12260MGlppt','1016ogSadg','192UcYaka','284zWKhVA','153348mmnovt','66740RQzRuU','76185AUODIA'];_0x18b0=function(){return _0x328e74;};return _0x18b0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x51bf1f,_0x253e86){const t=_0x51bf1f['t'];switch(_0x253e86){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 _0x253e86;}}
23
+ export function getTranslation(_0x9c9ab4,_0xe666ea){const t=_0x9c9ab4['t'];switch(_0xe666ea){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 _0xe666ea;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x24a2b5,_0x2a304a){const _0x25766c=_0x55ad,_0x2ec021=_0x24a2b5();while(!![]){try{const _0x29f93c=-parseInt(_0x25766c(0x1ef))/0x1+-parseInt(_0x25766c(0x1f3))/0x2*(parseInt(_0x25766c(0x1e9))/0x3)+parseInt(_0x25766c(0x1f7))/0x4*(-parseInt(_0x25766c(0x1d5))/0x5)+parseInt(_0x25766c(0x1e0))/0x6+parseInt(_0x25766c(0x20a))/0x7+parseInt(_0x25766c(0x1dd))/0x8+parseInt(_0x25766c(0x1fe))/0x9*(parseInt(_0x25766c(0x1f9))/0xa);if(_0x29f93c===_0x2a304a)break;else _0x2ec021['push'](_0x2ec021['shift']());}catch(_0x7dae7c){_0x2ec021['push'](_0x2ec021['shift']());}}}(_0x24f9,0x6e6eb));export function getConverterOptions(_0x216e0f,_0x1805ef={}){const _0x5e0e1b=_0x55ad,_0x41282c=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1e5)),_0x53f2eb=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1da)),_0x346b14=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1fa)),_0x586c84=_0x1805ef;if(_0x41282c&&_0x53f2eb){const _0x5f52d2=getComments(_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1da))[_0x5e0e1b(0x1e6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5e0e1b(0x1fb)](_0x5f52d2)[_0x5e0e1b(0x1d8)]&&(_0x586c84[_0x5e0e1b(0x1fd)]=_0x5f52d2);}if(_0x41282c&&_0x346b14){const _0x439281=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1fa)),_0xbd2aa5=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1e5)),_0x3b0140=getSuggestions(_0x439281[_0x5e0e1b(0x1f0)]({'toJSON':!0x0}),_0xbd2aa5[_0x5e0e1b(0x1f1)]);Object[_0x5e0e1b(0x1fb)](_0x3b0140)[_0x5e0e1b(0x1d8)]&&(_0x586c84[_0x5e0e1b(0x20d)]=_0x3b0140);}return(_0x586c84[_0x5e0e1b(0x20d)]||_0x586c84[_0x5e0e1b(0x1fd)])&&(_0x586c84[_0x5e0e1b(0x200)]=new Intl[(_0x5e0e1b(0x1ea))]()[_0x5e0e1b(0x1e8)]()[_0x5e0e1b(0x20c)]),_0x586c84;}export function getComments(_0x35d0db){const _0x3be255=_0x55ad,_0x276a2={};if(!_0x35d0db[_0x3be255(0x1d8)])return _0x276a2;for(const _0x6aae39 of _0x35d0db)_0x6aae39[_0x3be255(0x1fd)][_0x3be255(0x1f4)](_0x486cb6=>{const _0x17544d=_0x3be255;void 0x0===_0x276a2[_0x6aae39['id']]&&(_0x276a2[_0x6aae39['id']]=[]),_0x276a2[_0x6aae39['id']][_0x17544d(0x1d7)]({'author':_0x486cb6[_0x17544d(0x1ee)][_0x17544d(0x1ed)],'content':_0x486cb6[_0x17544d(0x20b)],'created':_0x486cb6[_0x17544d(0x1f2)],'is_resolved':_0x6aae39[_0x17544d(0x202)]});});return _0x276a2;}export function getSuggestions(_0x41dedf,_0x46d4ff){const _0x35a9bc=_0x55ad,_0x6e63f9={};if(!_0x41dedf[_0x35a9bc(0x1d8)]||!_0x46d4ff[_0x35a9bc(0x1d8)])return _0x6e63f9;for(const {id:_0x5801d6,createdAt:_0x542fea,authorId:_0xd0ad3c,attributes:_0x487063}of _0x41dedf){const _0x5cf288=_0x487063&&_0x487063[_0x35a9bc(0x1e1)],_0x1be89b=_0x5cf288?_0x5cf288[_0x35a9bc(0x1e2)]:_0x46d4ff[_0x35a9bc(0x1f5)](_0xd0ad3c)[_0x35a9bc(0x1ed)];_0x6e63f9[_0x5801d6]={'author':_0x1be89b,'created':_0x542fea};}return _0x6e63f9;}export function getConverterOptionsV2(_0x43ae20,_0x40f586={}){const _0x4856d5=_0x55ad,_0x2197f9=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1e5)),_0xc6be0a=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1da)),_0x33eddc=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1fa)),_0xe18af6=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x20e)),_0x2fab35=_0x43ae20[_0x4856d5(0x1d6)][_0x4856d5(0x1db)],_0x1d2c4b=_0x40f586,_0x317d7d={};if(_0x1d2c4b[_0x4856d5(0x206)]=_0x1d2c4b[_0x4856d5(0x206)]||{},_0x1d2c4b[_0x4856d5(0x206)][_0x4856d5(0x1d9)]=_0x1d2c4b[_0x4856d5(0x206)][_0x4856d5(0x1d9)]||_0x2fab35,_0x2197f9&&_0xc6be0a){const _0x43925e=getCommentsV2(_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1da))[_0x4856d5(0x1e6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x43925e[_0x4856d5(0x1d8)]&&(_0x317d7d[_0x4856d5(0x1fc)]=_0x43925e);}if(_0x2197f9&&_0x33eddc){const _0x2ae789=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1fa)),_0x5e650a=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1e5)),_0x29f223=getSuggestionsV2(_0x2ae789[_0x4856d5(0x1f0)]({'toJSON':!0x0}),_0x5e650a[_0x4856d5(0x1f1)]);_0x29f223[_0x4856d5(0x1d8)]&&(_0x317d7d[_0x4856d5(0x20d)]=_0x29f223);}if(_0xe18af6){const _0x25bb97=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1e4)),_0x387ea2=_0x25bb97[_0x4856d5(0x201)],{prefix:_0x48f850,suffix:_0x528da3}=_0x43ae20[_0x4856d5(0x1e3)][_0x4856d5(0x1f5)](_0x4856d5(0x1ec));if(_0x1d2c4b[_0x4856d5(0x1f8)]={'prefix':_0x48f850,'suffix':_0x528da3},_0x4856d5(0x1f6)!==_0x387ea2){_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)]={};const _0x4e93d1=_0x4856d5(0x1de),_0x38bd43=_0x4856d5(0x208)===_0x387ea2?_0x25bb97[_0x4856d5(0x209)]():_0x25bb97[_0x4856d5(0x203)](_0x387ea2,!0x0);for(const _0x1315da of Object[_0x4856d5(0x1ff)](_0x38bd43)){const [_0x5bc43a,_0x191ff7]=_0x1315da;_0x4856d5(0x205)===_0x25bb97[_0x4856d5(0x204)](_0x5bc43a)?_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)][_0x5bc43a]=null!==_0x191ff7?_0x191ff7:_0x4e93d1:_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)][_0x5bc43a]=null!==_0x191ff7?_0x191ff7:_0x25bb97[_0x4856d5(0x1e7)](_0x5bc43a)||_0x5bc43a;}}}return(_0x317d7d[_0x4856d5(0x1fc)]||_0x317d7d[_0x4856d5(0x20d)])&&(_0x1d2c4b[_0x4856d5(0x200)]=new Intl[(_0x4856d5(0x1ea))]()[_0x4856d5(0x1e8)]()[_0x4856d5(0x20c)],_0x1d2c4b[_0x4856d5(0x1df)]=_0x317d7d),_0x1d2c4b;}export function getCommentsV2(_0x531d14){const _0x389182=_0x55ad,_0x35afb2=[];if(!_0x531d14[_0x389182(0x1d8)])return _0x35afb2;for(const _0x1ae3ab of _0x531d14){const _0x33ef56=_0x1ae3ab[_0x389182(0x1fd)][_0x389182(0x1f4)](_0x33f9c4=>({'author':_0x33f9c4[_0x389182(0x1ee)][_0x389182(0x1ed)],'content':_0x33f9c4[_0x389182(0x20b)],'created_at':_0x33f9c4[_0x389182(0x1f2)]}));_0x35afb2[_0x389182(0x1d7)]({'thread_id':_0x1ae3ab['id'],'is_resolved':_0x1ae3ab[_0x389182(0x202)],'comments':_0x33ef56});}return _0x35afb2;}export function getSuggestionsV2(_0x5e6897,_0x65c3de){const _0x37e266=_0x55ad;return _0x5e6897[_0x37e266(0x1d8)]&&_0x65c3de[_0x37e266(0x1d8)]?_0x5e6897[_0x37e266(0x1f4)](({id:_0x31406f,createdAt:_0x116972,authorId:_0x2c0938,attributes:_0x10e231})=>{const _0x6ad5c9=_0x37e266,_0x13aefd=_0x10e231&&_0x10e231[_0x6ad5c9(0x1e1)];return{'id':_0x31406f,'author':_0x13aefd?_0x13aefd[_0x6ad5c9(0x1e2)]:_0x65c3de[_0x6ad5c9(0x1f5)](_0x2c0938)[_0x6ad5c9(0x1ed)],'created_at':_0x116972};}):[];}function _0x55ad(_0x3c34c3,_0xacdd66){const _0x24f931=_0x24f9();return _0x55ad=function(_0x55ade7,_0x37f617){_0x55ade7=_0x55ade7-0x1d5;let _0x10338a=_0x24f931[_0x55ade7];return _0x10338a;},_0x55ad(_0x3c34c3,_0xacdd66);}function _0x24f9(){const _0x3ec5de=['MergeFieldsEditing','Users','getCommentThreads','getLabel','resolvedOptions','6LmPXPZ','DateTimeFormat','data','mergeFields','name','author','377060SITAfO','getSuggestions','users','createdAt','848938EkpPmd','map','get','$labels','677156BcyrJZ','merge_fields','8050hZqRXv','TrackChanges','keys','comment_threads','comments','7794rUsYpt','entries','timezone','previewMode','isResolved','getDataSetValues','getMergeFieldType','image','document','plugins','$defaultValues','getDefaultValues','3810674oKKAqg','content','timeZone','suggestions','MergeFields','5ORVvnh','locale','push','length','language','CommentsRepository','contentLanguage','has','2257784SfpiXP','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','collaboration_features','1943298qblJbi','@external','authorName','config'];_0x24f9=function(){return _0x3ec5de;};return _0x24f9();}
23
+ (function(_0x2280c7,_0x1c2855){const _0x1a1d47=_0x1b8f,_0x4df9bf=_0x2280c7();while(!![]){try{const _0x5360e7=-parseInt(_0x1a1d47(0xa6))/0x1*(parseInt(_0x1a1d47(0x8e))/0x2)+parseInt(_0x1a1d47(0xb0))/0x3*(-parseInt(_0x1a1d47(0xb4))/0x4)+parseInt(_0x1a1d47(0x97))/0x5+parseInt(_0x1a1d47(0x91))/0x6+-parseInt(_0x1a1d47(0x90))/0x7+parseInt(_0x1a1d47(0xaa))/0x8+parseInt(_0x1a1d47(0x8d))/0x9*(parseInt(_0x1a1d47(0xb5))/0xa);if(_0x5360e7===_0x1c2855)break;else _0x4df9bf['push'](_0x4df9bf['shift']());}catch(_0x14bf73){_0x4df9bf['push'](_0x4df9bf['shift']());}}}(_0x84d1,0x495ab));function _0x1b8f(_0x76637b,_0xc5d2af){const _0x84d1c6=_0x84d1();return _0x1b8f=function(_0x1b8ff3,_0xd6173f){_0x1b8ff3=_0x1b8ff3-0x80;let _0x3d9445=_0x84d1c6[_0x1b8ff3];return _0x3d9445;},_0x1b8f(_0x76637b,_0xc5d2af);}export function getConverterOptions(_0x5412f2,_0x5cacc8={}){const _0x1d6b2b=_0x1b8f,_0xbf94e2=_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0xa5)](_0x1d6b2b(0x94)),_0x317572=_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0xa5)](_0x1d6b2b(0x85)),_0x37ecce=_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0xa5)](_0x1d6b2b(0x9c)),_0x164bb2=_0x5cacc8;if(_0xbf94e2&&_0x317572){const _0x58da5a=getComments(_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0x96)](_0x1d6b2b(0x85))[_0x1d6b2b(0x8c)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1d6b2b(0x84)](_0x58da5a)[_0x1d6b2b(0xa1)]&&(_0x164bb2[_0x1d6b2b(0xaf)]=_0x58da5a);}if(_0xbf94e2&&_0x37ecce){const _0x5e67bf=_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0x96)](_0x1d6b2b(0x9c)),_0x27f4d9=_0x5412f2[_0x1d6b2b(0xae)][_0x1d6b2b(0x96)](_0x1d6b2b(0x94)),_0x3852ed=getSuggestions(_0x5e67bf[_0x1d6b2b(0x82)]({'toJSON':!0x0}),_0x27f4d9[_0x1d6b2b(0x9e)]);Object[_0x1d6b2b(0x84)](_0x3852ed)[_0x1d6b2b(0xa1)]&&(_0x164bb2[_0x1d6b2b(0xa9)]=_0x3852ed);}return(_0x164bb2[_0x1d6b2b(0xa9)]||_0x164bb2[_0x1d6b2b(0xaf)])&&(_0x164bb2[_0x1d6b2b(0x99)]=new Intl[(_0x1d6b2b(0x88))]()[_0x1d6b2b(0x8a)]()[_0x1d6b2b(0xb8)]),_0x164bb2;}function _0x84d1(){const _0x43ba49=['contentLanguage','MergeFields','timeZone','map','name','push','getSuggestions','createdAt','keys','CommentsRepository','collaboration_features','isResolved','DateTimeFormat','authorName','resolvedOptions','config','getCommentThreads','1233YDtYDO','100916BlCcEp','data','953568DQnaEx','489708LKvRJO','merge_fields','image','Users','MergeFieldsEditing','get','2715805gSrdZP','getLabel','timezone','locale','getDataSetValues','TrackChanges','$defaultValues','users','getDefaultValues','language','length','@external','document','$labels','has','9fzdoxM','author','getMergeFieldType','suggestions','328808dPIDiJ','previewMode','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','comment_threads','plugins','comments','615LYbKAp','content','entries','mergeFields','316gzlBPd','17600kwLfMn'];_0x84d1=function(){return _0x43ba49;};return _0x84d1();}export function getComments(_0xe6099e){const _0x16ae36=_0x1b8f,_0x4270f3={};if(!_0xe6099e[_0x16ae36(0xa1)])return _0x4270f3;for(const _0x2c2bb0 of _0xe6099e)_0x2c2bb0[_0x16ae36(0xaf)][_0x16ae36(0xb9)](_0x3762a5=>{const _0x19260d=_0x16ae36;void 0x0===_0x4270f3[_0x2c2bb0['id']]&&(_0x4270f3[_0x2c2bb0['id']]=[]),_0x4270f3[_0x2c2bb0['id']][_0x19260d(0x81)]({'author':_0x3762a5[_0x19260d(0xa7)][_0x19260d(0x80)],'content':_0x3762a5[_0x19260d(0xb1)],'created':_0x3762a5[_0x19260d(0x83)],'is_resolved':_0x2c2bb0[_0x19260d(0x87)]});});return _0x4270f3;}export function getSuggestions(_0x32d14b,_0x3334f1){const _0xbed250=_0x1b8f,_0x339cc0={};if(!_0x32d14b[_0xbed250(0xa1)]||!_0x3334f1[_0xbed250(0xa1)])return _0x339cc0;for(const {id:_0x5540f3,createdAt:_0x1b0330,authorId:_0x463257,attributes:_0x10a73d}of _0x32d14b){const _0x11e2fc=_0x10a73d&&_0x10a73d[_0xbed250(0xa2)],_0x426ec3=_0x11e2fc?_0x11e2fc[_0xbed250(0x89)]:_0x3334f1[_0xbed250(0x96)](_0x463257)[_0xbed250(0x80)];_0x339cc0[_0x5540f3]={'author':_0x426ec3,'created':_0x1b0330};}return _0x339cc0;}export function getConverterOptionsV2(_0x59b766,_0x55fec5={}){const _0x2a3a73=_0x1b8f,_0x12d566=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0xa5)](_0x2a3a73(0x94)),_0x3e5956=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0xa5)](_0x2a3a73(0x85)),_0x5c838e=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0xa5)](_0x2a3a73(0x9c)),_0x2872eb=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0xa5)](_0x2a3a73(0xb7)),_0x35023a=_0x59b766[_0x2a3a73(0x9a)][_0x2a3a73(0xb6)],_0x3f5f38=_0x55fec5,_0x2290f5={};if(_0x3f5f38[_0x2a3a73(0xa3)]=_0x3f5f38[_0x2a3a73(0xa3)]||{},_0x3f5f38[_0x2a3a73(0xa3)][_0x2a3a73(0xa0)]=_0x3f5f38[_0x2a3a73(0xa3)][_0x2a3a73(0xa0)]||_0x35023a,_0x12d566&&_0x3e5956){const _0xab4164=getCommentsV2(_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0x96)](_0x2a3a73(0x85))[_0x2a3a73(0x8c)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0xab4164[_0x2a3a73(0xa1)]&&(_0x2290f5[_0x2a3a73(0xad)]=_0xab4164);}if(_0x12d566&&_0x5c838e){const _0x5ceed6=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0x96)](_0x2a3a73(0x9c)),_0x5e3290=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0x96)](_0x2a3a73(0x94)),_0x257214=getSuggestionsV2(_0x5ceed6[_0x2a3a73(0x82)]({'toJSON':!0x0}),_0x5e3290[_0x2a3a73(0x9e)]);_0x257214[_0x2a3a73(0xa1)]&&(_0x2290f5[_0x2a3a73(0xa9)]=_0x257214);}if(_0x2872eb){const _0x1fc716=_0x59b766[_0x2a3a73(0xae)][_0x2a3a73(0x96)](_0x2a3a73(0x95)),_0xf9c074=_0x1fc716[_0x2a3a73(0xab)],{prefix:_0x21c802,suffix:_0x48309a}=_0x59b766[_0x2a3a73(0x8b)][_0x2a3a73(0x96)](_0x2a3a73(0xb3));if(_0x3f5f38[_0x2a3a73(0x92)]={'prefix':_0x21c802,'suffix':_0x48309a},_0x2a3a73(0xa4)!==_0xf9c074){_0x3f5f38[_0x2a3a73(0x92)][_0x2a3a73(0x8f)]={};const _0x4aafc4=_0x2a3a73(0xac),_0x1823bd=_0x2a3a73(0x9d)===_0xf9c074?_0x1fc716[_0x2a3a73(0x9f)]():_0x1fc716[_0x2a3a73(0x9b)](_0xf9c074,!0x0);for(const _0x7e40ca of Object[_0x2a3a73(0xb2)](_0x1823bd)){const [_0x45e79e,_0x280496]=_0x7e40ca;_0x2a3a73(0x93)===_0x1fc716[_0x2a3a73(0xa8)](_0x45e79e)?_0x3f5f38[_0x2a3a73(0x92)][_0x2a3a73(0x8f)][_0x45e79e]=null!==_0x280496?_0x280496:_0x4aafc4:_0x3f5f38[_0x2a3a73(0x92)][_0x2a3a73(0x8f)][_0x45e79e]=null!==_0x280496?_0x280496:_0x1fc716[_0x2a3a73(0x98)](_0x45e79e)||_0x45e79e;}}}return(_0x2290f5[_0x2a3a73(0xad)]||_0x2290f5[_0x2a3a73(0xa9)])&&(_0x3f5f38[_0x2a3a73(0x99)]=new Intl[(_0x2a3a73(0x88))]()[_0x2a3a73(0x8a)]()[_0x2a3a73(0xb8)],_0x3f5f38[_0x2a3a73(0x86)]=_0x2290f5),_0x3f5f38;}export function getCommentsV2(_0x5ee1a6){const _0x15980a=_0x1b8f,_0x51d99d=[];if(!_0x5ee1a6[_0x15980a(0xa1)])return _0x51d99d;for(const _0x59fd18 of _0x5ee1a6){const _0x1380bb=_0x59fd18[_0x15980a(0xaf)][_0x15980a(0xb9)](_0x197a90=>({'author':_0x197a90[_0x15980a(0xa7)][_0x15980a(0x80)],'content':_0x197a90[_0x15980a(0xb1)],'created_at':_0x197a90[_0x15980a(0x83)]}));_0x51d99d[_0x15980a(0x81)]({'thread_id':_0x59fd18['id'],'is_resolved':_0x59fd18[_0x15980a(0x87)],'comments':_0x1380bb});}return _0x51d99d;}export function getSuggestionsV2(_0x1cbd32,_0x439f6d){const _0x5d745d=_0x1b8f;return _0x1cbd32[_0x5d745d(0xa1)]&&_0x439f6d[_0x5d745d(0xa1)]?_0x1cbd32[_0x5d745d(0xb9)](({id:_0x42640c,createdAt:_0x155774,authorId:_0xae7be7,attributes:_0x49a0dd})=>{const _0x4696e4=_0x5d745d,_0x4bdfd4=_0x49a0dd&&_0x49a0dd[_0x4696e4(0xa2)];return{'id':_0x42640c,'author':_0x4bdfd4?_0x4bdfd4[_0x4696e4(0x89)]:_0x439f6d[_0x4696e4(0x96)](_0xae7be7)[_0x4696e4(0x80)],'created_at':_0x155774};}):[];}