@ckeditor/ckeditor5-export-word 47.2.0-alpha.1 → 47.2.0-alpha.2

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": "47.2.0-alpha.1",
3
+ "version": "47.2.0-alpha.2",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.1",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.1",
35
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.1",
36
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.1",
37
- "@ckeditor/ckeditor5-icons": "47.2.0-alpha.1",
38
- "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.1",
39
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.1",
40
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.1",
41
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.1",
42
- "ckeditor5": "47.2.0-alpha.1"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.2",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.2",
35
+ "@ckeditor/ckeditor5-comments": "47.2.0-alpha.2",
36
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.2",
37
+ "@ckeditor/ckeditor5-icons": "47.2.0-alpha.2",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.2",
39
+ "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.2",
40
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.2",
41
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.2",
42
+ "ckeditor5": "47.2.0-alpha.2"
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 _0x14e0d2=_0x485f;(function(_0xf006ae,_0x440357){const _0x3e3ce2=_0x485f,_0x5864d8=_0xf006ae();while(!![]){try{const _0x50547c=-parseInt(_0x3e3ce2(0x1f5))/0x1*(-parseInt(_0x3e3ce2(0x1ef))/0x2)+parseInt(_0x3e3ce2(0x1e7))/0x3+parseInt(_0x3e3ce2(0x1f2))/0x4+-parseInt(_0x3e3ce2(0x1e2))/0x5*(-parseInt(_0x3e3ce2(0x1f8))/0x6)+parseInt(_0x3e3ce2(0x1dd))/0x7*(-parseInt(_0x3e3ce2(0x1e6))/0x8)+parseInt(_0x3e3ce2(0x1de))/0x9*(-parseInt(_0x3e3ce2(0x1ec))/0xa)+-parseInt(_0x3e3ce2(0x1f1))/0xb;if(_0x50547c===_0x440357)break;else _0x5864d8['push'](_0x5864d8['shift']());}catch(_0x54f50d){_0x5864d8['push'](_0x5864d8['shift']());}}}(_0x1c92,0xde031));import{Plugin as _0x4e9652}from'ckeditor5/src/core.js';import{Notification as _0x334916}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x4c6a85}from'./exportwordcommand.js';function _0x485f(_0x23d2dc,_0x54e9f8){const _0x1c9296=_0x1c92();return _0x485f=function(_0x485f0b,_0x3f4d40){_0x485f0b=_0x485f0b-0x1dc;let _0x391bd9=_0x1c9296[_0x485f0b];return _0x391bd9;},_0x485f(_0x23d2dc,_0x54e9f8);}import{ExportWordUI as _0x5d5fdc}from'./exportwordui.js';export class ExportWord extends _0x4e9652{[_0x14e0d2(0x1dc)];static get[_0x14e0d2(0x1f9)](){const _0x290934=_0x14e0d2;return _0x290934(0x1e1);}static get[_0x14e0d2(0x1e5)](){return!0x0;}static get[_0x14e0d2(0x1f4)](){return!0x0;}static get[_0x14e0d2(0x1e4)](){const _0x4641f2=_0x14e0d2;return[_0x4641f2(0x1eb),_0x334916,_0x5d5fdc];}[_0x14e0d2(0x1df)](){const _0x490a42=_0x14e0d2,_0x165fab=this[_0x490a42(0x1f7)],_0x53c547=_0x165fab[_0x490a42(0x1ed)][_0x490a42(0x1e8)](_0x490a42(0x1e0))||{};_0x165fab[_0x490a42(0x1f3)][_0x490a42(0x1f6)](_0x490a42(0x1e0),new _0x4c6a85(_0x165fab));const _0x1bfe8d=_0x165fab[_0x490a42(0x1e3)][_0x490a42(0x1e8)](_0x490a42(0x1eb));!0x1===_0x53c547[_0x490a42(0x1ea)]?this[_0x490a42(0x1dc)]=null:_0x53c547[_0x490a42(0x1ea)]?_0x1bfe8d[_0x490a42(0x1ee)](_0x53c547[_0x490a42(0x1ea)])[_0x490a42(0x1f0)](_0x764076=>{const _0x2af22c=_0x490a42;this[_0x2af22c(0x1dc)]=_0x764076;}):this[_0x490a42(0x1dc)]=_0x1bfe8d[_0x490a42(0x1e9)];}}function _0x1c92(){const _0x14f4f3=['add','editor','9967194ljdrpl','pluginName','_token','4677316OHwoBQ','9CPDxaE','init','exportWord','ExportWord','5DQFzOp','plugins','requires','isOfficialPlugin','16wVaZtg','1859067ArLAbh','get','token','tokenUrl','CloudServices','7507810UiOOSB','config','registerTokenUrl','306wxFXGh','then','13630441UISfEN','6910836PmDSJo','commands','isPremiumPlugin','1484LiNYnS'];_0x1c92=function(){return _0x14f4f3;};return _0x1c92();}
23
+ function _0x4921(_0x38bd0b,_0x226061){const _0x2144f6=_0x2144();return _0x4921=function(_0x492117,_0x51afee){_0x492117=_0x492117-0x9b;let _0x59108b=_0x2144f6[_0x492117];return _0x59108b;},_0x4921(_0x38bd0b,_0x226061);}const _0x3a87f9=_0x4921;(function(_0x341903,_0xae849d){const _0x212312=_0x4921,_0x49b67f=_0x341903();while(!![]){try{const _0x19bba7=parseInt(_0x212312(0xaa))/0x1+parseInt(_0x212312(0x9c))/0x2+parseInt(_0x212312(0xae))/0x3*(-parseInt(_0x212312(0xb0))/0x4)+-parseInt(_0x212312(0xb2))/0x5+-parseInt(_0x212312(0xa8))/0x6+parseInt(_0x212312(0xab))/0x7*(-parseInt(_0x212312(0xa7))/0x8)+parseInt(_0x212312(0xa9))/0x9;if(_0x19bba7===_0xae849d)break;else _0x49b67f['push'](_0x49b67f['shift']());}catch(_0xd3005b){_0x49b67f['push'](_0x49b67f['shift']());}}}(_0x2144,0x1a813));function _0x2144(){const _0xe953e6=['410640mSwLhl','plugins','isPremiumPlugin','add','exportWord','config','tokenUrl','get','init','ExportWord','isOfficialPlugin','8KHTYWr','1143894LTwTiY','1413135qgGxJR','142740jwVZdF','1029315kNRmTY','editor','then','114XrrfGC','requires','3780BQLgYU','registerTokenUrl','114540IbjSmE','CloudServices','token','pluginName','commands','_token'];_0x2144=function(){return _0xe953e6;};return _0x2144();}import{Plugin as _0x4d8528}from'ckeditor5/src/core.js';import{Notification as _0x2b4d5f}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x40c2b9}from'./exportwordcommand.js';import{ExportWordUI as _0x2f230e}from'./exportwordui.js';export class ExportWord extends _0x4d8528{[_0x3a87f9(0x9b)];static get[_0x3a87f9(0xb5)](){const _0x36b3a8=_0x3a87f9;return _0x36b3a8(0xa5);}static get[_0x3a87f9(0xa6)](){return!0x0;}static get[_0x3a87f9(0x9e)](){return!0x0;}static get[_0x3a87f9(0xaf)](){const _0x3babea=_0x3a87f9;return[_0x3babea(0xb3),_0x2b4d5f,_0x2f230e];}[_0x3a87f9(0xa4)](){const _0x7e36e1=_0x3a87f9,_0x162a2c=this[_0x7e36e1(0xac)],_0x58a637=_0x162a2c[_0x7e36e1(0xa1)][_0x7e36e1(0xa3)](_0x7e36e1(0xa0))||{};_0x162a2c[_0x7e36e1(0xb6)][_0x7e36e1(0x9f)](_0x7e36e1(0xa0),new _0x40c2b9(_0x162a2c));const _0x788591=_0x162a2c[_0x7e36e1(0x9d)][_0x7e36e1(0xa3)](_0x7e36e1(0xb3));!0x1===_0x58a637[_0x7e36e1(0xa2)]?this[_0x7e36e1(0x9b)]=null:_0x58a637[_0x7e36e1(0xa2)]?_0x788591[_0x7e36e1(0xb1)](_0x58a637[_0x7e36e1(0xa2)])[_0x7e36e1(0xad)](_0x4a1a43=>{const _0x9a8186=_0x7e36e1;this[_0x9a8186(0x9b)]=_0x4a1a43;}):this[_0x7e36e1(0x9b)]=_0x788591[_0x7e36e1(0xb4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x340b(){const _0x3e7d09=['pending','execute','margin_bottom','header','https://docx-converter.cke-cs.com/v2/convert/html-docx','auto_pagination','POST','dataCallback','plugins','28PAjaLP','showWarning','URL','57112qklDZG','then','announce','status','href','ExportWord','EDITOR_STYLES','refresh','data','token','version','Word\x20document\x20export\x20started','application/json','contentLanguageDirection','options','350sVErAI','set','88966fnDwor','locale','isBusy','isEnabled','1046934hisZRN','suggestions','affectsData','footer','403128wcWPzx','<div\x20class=\x22ck-content\x22\x20dir=\x22','https://docx-converter.cke-cs.com/v1/convert','converterOptions','document.docx','createObjectURL','application/docx','margin_left','get','ariaLiveAnnouncer','blob','config','click','value','assertive','editor','fileName','export-word-v1-api-is-deprecated','margin_top','remove','finally','1424709UDXiRl','Word\x20document\x20export\x20failed','orientation','_downloadFile','Word\x20document\x20export\x20successful','margin_right','converterUrl','Notification','stringify','createElement','</div>','6737892hLUQnq','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','format','function','comments','stylesheets','fetch','18fTcdvD','download','4608320JujVkG','_token','catch'];_0x340b=function(){return _0x3e7d09;};return _0x340b();}const _0x451082=_0x55c7;(function(_0x57b98f,_0x4a0487){const _0x546211=_0x55c7,_0x59e630=_0x57b98f();while(!![]){try{const _0x441b4f=parseInt(_0x546211(0x205))/0x1*(-parseInt(_0x546211(0x1f1))/0x2)+-parseInt(_0x546211(0x222))/0x3+-parseInt(_0x546211(0x1f4))/0x4*(-parseInt(_0x546211(0x203))/0x5)+parseInt(_0x546211(0x1dc))/0x6+parseInt(_0x546211(0x209))/0x7+parseInt(_0x546211(0x20d))/0x8*(-parseInt(_0x546211(0x1e3))/0x9)+parseInt(_0x546211(0x1e5))/0xa;if(_0x441b4f===_0x4a0487)break;else _0x59e630['push'](_0x59e630['shift']());}catch(_0x4f4370){_0x59e630['push'](_0x59e630['shift']());}}}(_0x340b,0xde90b));import{Command as _0x46f5b7}from'ckeditor5/src/core.js';import{logWarning as _0x2aec8d,collectStylesheets as _0x1e5557}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x43852a,getConverterOptionsV2 as _0x2f8890}from'./utils.js';import{getTranslation as _0x1fd588}from'./utils/common-translations.js';const p=[_0x451082(0x224),_0x451082(0x21f),_0x451082(0x227),_0x451082(0x1ea),_0x451082(0x214),_0x451082(0x1de),_0x451082(0x1eb),_0x451082(0x20c),_0x451082(0x1e0),_0x451082(0x20a)];function _0x55c7(_0x313b4c,_0x370cd2){const _0x340bf9=_0x340b();return _0x55c7=function(_0x55c7c2,_0x25d889){_0x55c7c2=_0x55c7c2-0x1d9;let _0x43e72e=_0x340bf9[_0x55c7c2];return _0x43e72e;},_0x55c7(_0x313b4c,_0x370cd2);}export class ExportWordCommand extends _0x46f5b7{constructor(_0x2689f1){const _0x3ae6ff=_0x451082;super(_0x2689f1),this[_0x3ae6ff(0x204)](_0x3ae6ff(0x207),!0x1),this[_0x3ae6ff(0x20b)]=!0x1;}[_0x451082(0x1fb)](){const _0x593450=_0x451082;this[_0x593450(0x208)]=!this[_0x593450(0x207)],this[_0x593450(0x21a)]=this[_0x593450(0x207)]?_0x593450(0x1e8):void 0x0;}[_0x451082(0x1e9)](_0x42a347={}){const _0x103f3b=_0x451082,_0x2a6c5e=this[_0x103f3b(0x21c)],_0x1aded3=_0x42a347[_0x103f3b(0x1fe)]||0x2,_0xcf8a0b=0x1===_0x1aded3,_0x26faba=_0x42a347[_0x103f3b(0x228)]||(_0xcf8a0b?_0x103f3b(0x20f):_0x103f3b(0x1ec)),_0x2d4600=_0x42a347[_0x103f3b(0x210)]||{},_0x37bea0=_0x2a6c5e[_0x103f3b(0x1f0)][_0x103f3b(0x215)](_0x103f3b(0x1f9)),_0x1b50a0=_0x42a347[_0x103f3b(0x1fd)]||_0x37bea0[_0x103f3b(0x1e6)],_0x154bc1=!0x0===_0x2d4600[_0x103f3b(0x1ed)],_0x195b10=_0x42a347[_0x103f3b(0x1ef)]||(_0x174c66=>_0x174c66[_0x103f3b(0x1fc)][_0x103f3b(0x215)]({'pagination':_0x154bc1}));return 0x2===_0x1aded3&&function(_0x4ea73b){for(const _0x7f3dfa of p)if(void 0x0!==_0x4ea73b[_0x7f3dfa])return!0x0;return!0x1;}(_0x2d4600)&&_0x2aec8d(_0x103f3b(0x21e)),this[_0x103f3b(0x207)]=!0x0,this[_0x103f3b(0x1fb)](),_0x1e5557(_0x42a347[_0x103f3b(0x1e1)]||[_0x103f3b(0x1fa)])[_0x103f3b(0x1f5)](async _0x11efa4=>{const _0x41b368=_0x103f3b;_0x2a6c5e['ui'][_0x41b368(0x216)][_0x41b368(0x1f6)](_0x1fd588(_0x2a6c5e[_0x41b368(0x206)],_0x41b368(0x1ff)));const _0x111135=await _0x195b10(_0x2a6c5e),_0x201610={'html':_0x41b368(0x20e)+_0x2a6c5e[_0x41b368(0x206)][_0x41b368(0x201)]+'\x22>'+_0x111135+_0x41b368(0x1db),'css':_0x11efa4,[_0xcf8a0b?_0x41b368(0x202):_0x41b368(0x218)]:{..._0x2d4600,..._0xcf8a0b?_0x43852a(_0x2a6c5e,_0x2d4600):_0x2f8890(_0x2a6c5e,_0x2d4600)}},_0x2a080e={'method':_0x41b368(0x1ee),'headers':{'Content-Type':_0x41b368(0x200),'Accept':_0x41b368(0x213),..._0x1b50a0?{'Authorization':_0x1b50a0[_0x41b368(0x21a)]}:null},'body':JSON[_0x41b368(0x1d9)](_0x201610)};return window[_0x41b368(0x1e2)](_0x26faba,_0x2a080e)[_0x41b368(0x1f5)](_0x548218=>{const _0x535623=_0x41b368;if(0xc8!==_0x548218[_0x535623(0x1f7)])throw _0x548218;return _0x548218[_0x535623(0x217)]();})[_0x41b368(0x1f5)](_0x30f79d=>{const _0x548b19=_0x41b368;_0x2a6c5e['ui'][_0x548b19(0x216)][_0x548b19(0x1f6)](_0x1fd588(_0x2a6c5e[_0x548b19(0x206)],_0x548b19(0x226)));const _0x8a6731=_0x548b19(0x1df)==typeof _0x42a347[_0x548b19(0x21d)]?_0x42a347[_0x548b19(0x21d)]():_0x42a347[_0x548b19(0x21d)];this[_0x548b19(0x225)](_0x30f79d,_0x8a6731||_0x548b19(0x211));});})[_0x103f3b(0x1e7)](_0x1f8f62=>{const _0x129afc=_0x103f3b,_0x34454a=_0x2a6c5e[_0x129afc(0x1f0)][_0x129afc(0x215)](_0x129afc(0x229));throw _0x2a6c5e['ui'][_0x129afc(0x216)][_0x129afc(0x1f6)](_0x1fd588(_0x2a6c5e[_0x129afc(0x206)],_0x129afc(0x223)),{'politeness':_0x129afc(0x21b)}),_0x34454a[_0x129afc(0x1f2)](_0x1fd588(_0x2a6c5e[_0x129afc(0x206)],_0x129afc(0x1dd))),_0x1f8f62;})[_0x103f3b(0x221)](()=>{const _0x1bc07a=_0x103f3b;this[_0x1bc07a(0x207)]=!0x1,this[_0x1bc07a(0x1fb)]();});}[_0x451082(0x225)](_0x2960b2,_0xb90745){const _0x1a1bec=_0x451082,_0x34a439=document[_0x1a1bec(0x1da)]('a');_0x34a439[_0x1a1bec(0x1f8)]=window[_0x1a1bec(0x1f3)][_0x1a1bec(0x212)](_0x2960b2),_0x34a439[_0x1a1bec(0x1e4)]=_0xb90745,_0x34a439[_0x1a1bec(0x219)](),_0x34a439[_0x1a1bec(0x220)]();}}
23
+ const _0x91e5e6=_0x5c4a;(function(_0x15b654,_0x463b12){const _0x53010b=_0x5c4a,_0x429dd6=_0x15b654();while(!![]){try{const _0x38c12b=-parseInt(_0x53010b(0x1c3))/0x1+parseInt(_0x53010b(0x1c0))/0x2*(-parseInt(_0x53010b(0x1bf))/0x3)+-parseInt(_0x53010b(0x1e7))/0x4+-parseInt(_0x53010b(0x1bd))/0x5*(-parseInt(_0x53010b(0x1b6))/0x6)+parseInt(_0x53010b(0x1ae))/0x7+-parseInt(_0x53010b(0x1e1))/0x8+parseInt(_0x53010b(0x1d7))/0x9;if(_0x38c12b===_0x463b12)break;else _0x429dd6['push'](_0x429dd6['shift']());}catch(_0x19f37a){_0x429dd6['push'](_0x429dd6['shift']());}}}(_0x2b18,0x9454d));function _0x2b18(){const _0x29aa36=['then','config','9767574wuDTLi','pending','POST','href','Word\x20document\x20export\x20failed','function','editor','contentLanguageDirection','converterUrl','locale','1887192yjVrpw','margin_top','version','Word\x20document\x20export\x20started','margin_bottom','<div\x20class=\x22ck-content\x22\x20dir=\x22','3133068uUBvvu','execute','ariaLiveAnnouncer','isBusy','application/json','status','suggestions','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','value','document.docx','get','export-word-v1-api-is-deprecated','Notification','ExportWord','converterOptions','auto_pagination','application/docx','createElement','dataCallback','format','</div>','stringify','orientation','6788439GFaqug','assertive','data','_downloadFile','margin_left','fetch','footer','https://docx-converter.cke-cs.com/v2/convert/html-docx','823674pUSYWM','isEnabled','token','https://docx-converter.cke-cs.com/v1/convert','URL','comments','affectsData','25HsMnHR','finally','21dXvUoJ','33104QlDSaS','margin_right','catch','998863bPojPt','EDITOR_STYLES','createObjectURL','options','remove','announce','download','click','blob','_token','set','plugins','showWarning','fileName','stylesheets','refresh','Word\x20document\x20export\x20successful','header'];_0x2b18=function(){return _0x29aa36;};return _0x2b18();}import{Command as _0x4d5e3f}from'ckeditor5/src/core.js';import{logWarning as _0xedf109,collectStylesheets as _0x23cafc}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x2cd61f,getConverterOptionsV2 as _0x330b5a}from'./utils.js';function _0x5c4a(_0x3b266d,_0x5af335){const _0x2b1880=_0x2b18();return _0x5c4a=function(_0x5c4a31,_0x4f4e7e){_0x5c4a31=_0x5c4a31-0x19c;let _0x170693=_0x2b1880[_0x5c4a31];return _0x170693;},_0x5c4a(_0x3b266d,_0x5af335);}import{getTranslation as _0x5288a3}from'./utils/common-translations.js';const p=[_0x91e5e6(0x1ad),_0x91e5e6(0x1e2),_0x91e5e6(0x1c1),_0x91e5e6(0x1e5),_0x91e5e6(0x1b2),_0x91e5e6(0x1aa),_0x91e5e6(0x1d4),_0x91e5e6(0x1b4),_0x91e5e6(0x1bb),_0x91e5e6(0x19d)];export class ExportWordCommand extends _0x4d5e3f{constructor(_0x2c1407){const _0x4b8aed=_0x91e5e6;super(_0x2c1407),this[_0x4b8aed(0x1cd)](_0x4b8aed(0x1ea),!0x1),this[_0x4b8aed(0x1bc)]=!0x1;}[_0x91e5e6(0x1d2)](){const _0x41dc75=_0x91e5e6;this[_0x41dc75(0x1b7)]=!this[_0x41dc75(0x1ea)],this[_0x41dc75(0x19f)]=this[_0x41dc75(0x1ea)]?_0x41dc75(0x1d8):void 0x0;}[_0x91e5e6(0x1e8)](_0x4e63a0={}){const _0x21e40b=_0x91e5e6,_0x2a1f76=this[_0x21e40b(0x1dd)],_0x870f9f=_0x4e63a0[_0x21e40b(0x1e3)]||0x2,_0x2df50a=0x1===_0x870f9f,_0x4c834f=_0x4e63a0[_0x21e40b(0x1df)]||(_0x2df50a?_0x21e40b(0x1b9):_0x21e40b(0x1b5)),_0xf4c1a4=_0x4e63a0[_0x21e40b(0x1a5)]||{},_0x541b96=_0x2a1f76[_0x21e40b(0x1ce)][_0x21e40b(0x1a1)](_0x21e40b(0x1a4)),_0x38bf03=_0x4e63a0[_0x21e40b(0x1b8)]||_0x541b96[_0x21e40b(0x1cc)],_0x2e4dc7=!0x0===_0xf4c1a4[_0x21e40b(0x1a6)],_0x49cf08=_0x4e63a0[_0x21e40b(0x1a9)]||(_0x709718=>_0x709718[_0x21e40b(0x1b0)][_0x21e40b(0x1a1)]({'pagination':_0x2e4dc7}));return 0x2===_0x870f9f&&function(_0x5b3a22){for(const _0x2de990 of p)if(void 0x0!==_0x5b3a22[_0x2de990])return!0x0;return!0x1;}(_0xf4c1a4)&&_0xedf109(_0x21e40b(0x1a2)),this[_0x21e40b(0x1ea)]=!0x0,this[_0x21e40b(0x1d2)](),_0x23cafc(_0x4e63a0[_0x21e40b(0x1d1)]||[_0x21e40b(0x1c4)])[_0x21e40b(0x1d5)](async _0x22ccb3=>{const _0x1fcc87=_0x21e40b;_0x2a1f76['ui'][_0x1fcc87(0x1e9)][_0x1fcc87(0x1c8)](_0x5288a3(_0x2a1f76[_0x1fcc87(0x1e0)],_0x1fcc87(0x1e4)));const _0x1d0fc7=await _0x49cf08(_0x2a1f76),_0x1ee9ea={'html':_0x1fcc87(0x1e6)+_0x2a1f76[_0x1fcc87(0x1e0)][_0x1fcc87(0x1de)]+'\x22>'+_0x1d0fc7+_0x1fcc87(0x1ab),'css':_0x22ccb3,[_0x2df50a?_0x1fcc87(0x1c6):_0x1fcc87(0x1d6)]:{..._0xf4c1a4,..._0x2df50a?_0x2cd61f(_0x2a1f76,_0xf4c1a4):_0x330b5a(_0x2a1f76,_0xf4c1a4)}},_0x145bd9={'method':_0x1fcc87(0x1d9),'headers':{'Content-Type':_0x1fcc87(0x1eb),'Accept':_0x1fcc87(0x1a7),..._0x38bf03?{'Authorization':_0x38bf03[_0x1fcc87(0x19f)]}:null},'body':JSON[_0x1fcc87(0x1ac)](_0x1ee9ea)};return window[_0x1fcc87(0x1b3)](_0x4c834f,_0x145bd9)[_0x1fcc87(0x1d5)](_0x5d64d3=>{const _0x2adf7c=_0x1fcc87;if(0xc8!==_0x5d64d3[_0x2adf7c(0x19c)])throw _0x5d64d3;return _0x5d64d3[_0x2adf7c(0x1cb)]();})[_0x1fcc87(0x1d5)](_0x4bdc35=>{const _0x3c4541=_0x1fcc87;_0x2a1f76['ui'][_0x3c4541(0x1e9)][_0x3c4541(0x1c8)](_0x5288a3(_0x2a1f76[_0x3c4541(0x1e0)],_0x3c4541(0x1d3)));const _0x3641a1=_0x3c4541(0x1dc)==typeof _0x4e63a0[_0x3c4541(0x1d0)]?_0x4e63a0[_0x3c4541(0x1d0)]():_0x4e63a0[_0x3c4541(0x1d0)];this[_0x3c4541(0x1b1)](_0x4bdc35,_0x3641a1||_0x3c4541(0x1a0));});})[_0x21e40b(0x1c2)](_0x5cba8e=>{const _0x3e9f7d=_0x21e40b,_0xbc93c6=_0x2a1f76[_0x3e9f7d(0x1ce)][_0x3e9f7d(0x1a1)](_0x3e9f7d(0x1a3));throw _0x2a1f76['ui'][_0x3e9f7d(0x1e9)][_0x3e9f7d(0x1c8)](_0x5288a3(_0x2a1f76[_0x3e9f7d(0x1e0)],_0x3e9f7d(0x1db)),{'politeness':_0x3e9f7d(0x1af)}),_0xbc93c6[_0x3e9f7d(0x1cf)](_0x5288a3(_0x2a1f76[_0x3e9f7d(0x1e0)],_0x3e9f7d(0x19e))),_0x5cba8e;})[_0x21e40b(0x1be)](()=>{const _0x2b2b62=_0x21e40b;this[_0x2b2b62(0x1ea)]=!0x1,this[_0x2b2b62(0x1d2)]();});}[_0x91e5e6(0x1b1)](_0x4d375b,_0x27a5eb){const _0x2ff4fa=_0x91e5e6,_0x485138=document[_0x2ff4fa(0x1a8)]('a');_0x485138[_0x2ff4fa(0x1da)]=window[_0x2ff4fa(0x1ba)][_0x2ff4fa(0x1c5)](_0x4d375b),_0x485138[_0x2ff4fa(0x1c9)]=_0x27a5eb,_0x485138[_0x2ff4fa(0x1ca)](),_0x485138[_0x2ff4fa(0x1c7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x396610=_0x42b1;(function(_0x5667c3,_0x90e5d1){const _0x2efc5f=_0x42b1,_0x584266=_0x5667c3();while(!![]){try{const _0x458b5f=-parseInt(_0x2efc5f(0x95))/0x1+-parseInt(_0x2efc5f(0xb2))/0x2*(parseInt(_0x2efc5f(0xa8))/0x3)+parseInt(_0x2efc5f(0x9a))/0x4*(-parseInt(_0x2efc5f(0xae))/0x5)+-parseInt(_0x2efc5f(0xa9))/0x6+parseInt(_0x2efc5f(0x9e))/0x7+-parseInt(_0x2efc5f(0xb8))/0x8*(-parseInt(_0x2efc5f(0xa2))/0x9)+-parseInt(_0x2efc5f(0xb0))/0xa*(-parseInt(_0x2efc5f(0x9c))/0xb);if(_0x458b5f===_0x90e5d1)break;else _0x584266['push'](_0x584266['shift']());}catch(_0x29f853){_0x584266['push'](_0x584266['shift']());}}}(_0x295f,0x3a0bd));import{Plugin as _0x3e3e41}from'ckeditor5/src/core.js';import{IconExportWord as _0x31ee17}from'ckeditor5/src/icons.js';function _0x295f(){const _0x2d7aa3=['componentFactory','children','ExportWordUI','set','23428cEcEyP','Exporting\x20Word\x20document','88zwzPco','label','3304707YOboJN','add','isOn','view','4923zGTdlr','pluginName','Export\x20to\x20Word','iconView','_createButton','get','15GPOnTb','1935858TQbJzz','execute','isVisible','isOfficialPlugin','commands','65iZPXYl','bind','552410aRhdLx','locale','60626gWDzlh','menuBar:exportWord','isPremiumPlugin','config','listenTo','editing','440SbBmQk','init','isBusy','focus','isEnabled','editor','exportWord','156008XYZqhH'];_0x295f=function(){return _0x2d7aa3;};return _0x295f();}import{ButtonView as _0x4c7dc4,MenuBarMenuListItemButtonView as _0x12bdfc,SpinnerView as _0x5a4f08}from'ckeditor5/src/ui.js';import{getTranslation as _0x1f8246}from'./utils/common-translations.js';function _0x42b1(_0x248e4d,_0x3b820b){const _0x295f1a=_0x295f();return _0x42b1=function(_0x42b18a,_0x4d9645){_0x42b18a=_0x42b18a-0x95;let _0x1847f3=_0x295f1a[_0x42b18a];return _0x1847f3;},_0x42b1(_0x248e4d,_0x3b820b);}export class ExportWordUI extends _0x3e3e41{static get[_0x396610(0xa3)](){const _0x57d1e2=_0x396610;return _0x57d1e2(0x98);}static get[_0x396610(0xac)](){return!0x0;}static get[_0x396610(0xb4)](){return!0x0;}[_0x396610(0xb9)](){const _0x40768d=_0x396610,_0xd855c1=this[_0x40768d(0xbd)];_0xd855c1['ui'][_0x40768d(0x96)][_0x40768d(0x9f)](_0x40768d(0xbe),()=>{const _0x1e1fba=_0x40768d,_0x4b2419=_0xd855c1[_0x1e1fba(0xad)][_0x1e1fba(0xa7)](_0x1e1fba(0xbe)),_0x33b5bf=this[_0x1e1fba(0xa6)](_0x4c7dc4);return _0x33b5bf[_0x1e1fba(0x99)]({'tooltip':!0x0}),_0x33b5bf[_0x1e1fba(0xaf)](_0x1e1fba(0xa0))['to'](_0x4b2419,_0x1e1fba(0xba)),_0x33b5bf;}),_0xd855c1['ui'][_0x40768d(0x96)][_0x40768d(0x9f)](_0x40768d(0xb3),()=>this[_0x40768d(0xa6)](_0x12bdfc));}[_0x396610(0xa6)](_0x49a29c){const _0x2970ed=_0x396610,_0x1ffaa4=this[_0x2970ed(0xbd)],_0x5cdac0=_0x1ffaa4[_0x2970ed(0xb5)][_0x2970ed(0xa7)](_0x2970ed(0xbe))||{},_0x46828a=_0x1ffaa4[_0x2970ed(0xad)][_0x2970ed(0xa7)](_0x2970ed(0xbe)),_0x24b5c5=new _0x49a29c(_0x1ffaa4[_0x2970ed(0xb1)]),_0x4ee96f=new _0x5a4f08();return _0x24b5c5[_0x2970ed(0x97)][_0x2970ed(0x9f)](_0x4ee96f),_0x4ee96f[_0x2970ed(0xaf)](_0x2970ed(0xab))['to'](_0x46828a,_0x2970ed(0xba)),_0x24b5c5[_0x2970ed(0xa5)][_0x2970ed(0xaf)](_0x2970ed(0xab))['to'](_0x46828a,_0x2970ed(0xba),_0x4f2521=>!_0x4f2521),_0x24b5c5[_0x2970ed(0x99)]({'icon':_0x31ee17}),_0x24b5c5[_0x2970ed(0xaf)](_0x2970ed(0xbc))['to'](_0x46828a,_0x2970ed(0xbc)),_0x24b5c5[_0x2970ed(0xaf)](_0x2970ed(0x9d))['to'](_0x46828a,_0x2970ed(0xba),_0x383efc=>_0x1f8246(_0x1ffaa4[_0x2970ed(0xb1)],_0x383efc?_0x2970ed(0x9b):_0x2970ed(0xa4))),this[_0x2970ed(0xb6)](_0x24b5c5,_0x2970ed(0xaa),()=>{const _0xb9818=_0x2970ed;_0x1ffaa4[_0xb9818(0xaa)](_0xb9818(0xbe),_0x5cdac0),_0x1ffaa4[_0xb9818(0xb7)][_0xb9818(0xa1)][_0xb9818(0xbb)]();}),_0x24b5c5;}}
23
+ const _0x3d16f0=_0x39f5;function _0x5c30(){const _0xc699b9=['view','editing','2580048zXkSEz','add','1461061TqosGk','execute','exportWord','isVisible','label','isEnabled','1320JgFWyj','isBusy','config','isPremiumPlugin','commands','bind','init','isOfficialPlugin','19642YfKjVO','editor','locale','Export\x20to\x20Word','pluginName','Exporting\x20Word\x20document','focus','get','8oeeAQl','listenTo','250iNVJoD','1071367fKRUUP','componentFactory','menuBar:exportWord','_createButton','set','18MOjmWj','ExportWordUI','isOn','children','iconView','2261469wacIxw','6460560BrTXrA','3125515fRptda'];_0x5c30=function(){return _0xc699b9;};return _0x5c30();}(function(_0xc042ff,_0x297db2){const _0x1a7b40=_0x39f5,_0x3017b0=_0xc042ff();while(!![]){try{const _0x479e51=parseInt(_0x1a7b40(0x78))/0x1+-parseInt(_0x1a7b40(0x76))/0x2+-parseInt(_0x1a7b40(0x9b))/0x3+parseInt(_0x1a7b40(0x8e))/0x4*(parseInt(_0x1a7b40(0x9d))/0x5)+-parseInt(_0x1a7b40(0x7e))/0x6*(parseInt(_0x1a7b40(0x86))/0x7)+parseInt(_0x1a7b40(0x9c))/0x8*(-parseInt(_0x1a7b40(0x96))/0x9)+-parseInt(_0x1a7b40(0x90))/0xa*(-parseInt(_0x1a7b40(0x91))/0xb);if(_0x479e51===_0x297db2)break;else _0x3017b0['push'](_0x3017b0['shift']());}catch(_0x41256a){_0x3017b0['push'](_0x3017b0['shift']());}}}(_0x5c30,0xd45fd));import{Plugin as _0x52ad32}from'ckeditor5/src/core.js';import{IconExportWord as _0x1136f7}from'ckeditor5/src/icons.js';function _0x39f5(_0x1441eb,_0x271d8f){const _0x5c30c7=_0x5c30();return _0x39f5=function(_0x39f567,_0x346295){_0x39f567=_0x39f567-0x74;let _0x4eb530=_0x5c30c7[_0x39f567];return _0x4eb530;},_0x39f5(_0x1441eb,_0x271d8f);}import{ButtonView as _0x41ebad,MenuBarMenuListItemButtonView as _0x3f8c4b,SpinnerView as _0x2e4054}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cb551}from'./utils/common-translations.js';export class ExportWordUI extends _0x52ad32{static get[_0x3d16f0(0x8a)](){const _0x3358aa=_0x3d16f0;return _0x3358aa(0x97);}static get[_0x3d16f0(0x85)](){return!0x0;}static get[_0x3d16f0(0x81)](){return!0x0;}[_0x3d16f0(0x84)](){const _0x18cba4=_0x3d16f0,_0x59d003=this[_0x18cba4(0x87)];_0x59d003['ui'][_0x18cba4(0x92)][_0x18cba4(0x77)](_0x18cba4(0x7a),()=>{const _0x411f4f=_0x18cba4,_0x38ee0e=_0x59d003[_0x411f4f(0x82)][_0x411f4f(0x8d)](_0x411f4f(0x7a)),_0x50d0d0=this[_0x411f4f(0x94)](_0x41ebad);return _0x50d0d0[_0x411f4f(0x95)]({'tooltip':!0x0}),_0x50d0d0[_0x411f4f(0x83)](_0x411f4f(0x98))['to'](_0x38ee0e,_0x411f4f(0x7f)),_0x50d0d0;}),_0x59d003['ui'][_0x18cba4(0x92)][_0x18cba4(0x77)](_0x18cba4(0x93),()=>this[_0x18cba4(0x94)](_0x3f8c4b));}[_0x3d16f0(0x94)](_0x58cf11){const _0x31d162=_0x3d16f0,_0x12203d=this[_0x31d162(0x87)],_0x4b82ff=_0x12203d[_0x31d162(0x80)][_0x31d162(0x8d)](_0x31d162(0x7a))||{},_0x269cd6=_0x12203d[_0x31d162(0x82)][_0x31d162(0x8d)](_0x31d162(0x7a)),_0x1af75a=new _0x58cf11(_0x12203d[_0x31d162(0x88)]),_0x23e924=new _0x2e4054();return _0x1af75a[_0x31d162(0x99)][_0x31d162(0x77)](_0x23e924),_0x23e924[_0x31d162(0x83)](_0x31d162(0x7b))['to'](_0x269cd6,_0x31d162(0x7f)),_0x1af75a[_0x31d162(0x9a)][_0x31d162(0x83)](_0x31d162(0x7b))['to'](_0x269cd6,_0x31d162(0x7f),_0x31b6be=>!_0x31b6be),_0x1af75a[_0x31d162(0x95)]({'icon':_0x1136f7}),_0x1af75a[_0x31d162(0x83)](_0x31d162(0x7d))['to'](_0x269cd6,_0x31d162(0x7d)),_0x1af75a[_0x31d162(0x83)](_0x31d162(0x7c))['to'](_0x269cd6,_0x31d162(0x7f),_0x8af47e=>_0x2cb551(_0x12203d[_0x31d162(0x88)],_0x8af47e?_0x31d162(0x8b):_0x31d162(0x89))),this[_0x31d162(0x8f)](_0x1af75a,_0x31d162(0x79),()=>{const _0x2f9c1f=_0x31d162;_0x12203d[_0x2f9c1f(0x79)](_0x2f9c1f(0x7a),_0x4b82ff),_0x12203d[_0x2f9c1f(0x75)][_0x2f9c1f(0x74)][_0x2f9c1f(0x8c)]();}),_0x1af75a;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ff7(_0x1630ed,_0x39d480){var _0xb06231=_0xb062();return _0x4ff7=function(_0x4ff74d,_0x2ed48d){_0x4ff74d=_0x4ff74d-0xdf;var _0xf9009f=_0xb06231[_0x4ff74d];return _0xf9009f;},_0x4ff7(_0x1630ed,_0x39d480);}(function(_0x1d6c41,_0x87e320){var _0x3494b1=_0x4ff7,_0x5320cf=_0x1d6c41();while(!![]){try{var _0xa4caad=-parseInt(_0x3494b1(0xe1))/0x1+parseInt(_0x3494b1(0xe5))/0x2+-parseInt(_0x3494b1(0xdf))/0x3*(-parseInt(_0x3494b1(0xe3))/0x4)+-parseInt(_0x3494b1(0xe4))/0x5*(-parseInt(_0x3494b1(0xe2))/0x6)+parseInt(_0x3494b1(0xe8))/0x7+-parseInt(_0x3494b1(0xe7))/0x8+parseInt(_0x3494b1(0xe0))/0x9*(-parseInt(_0x3494b1(0xe6))/0xa);if(_0xa4caad===_0x87e320)break;else _0x5320cf['push'](_0x5320cf['shift']());}catch(_0x538874){_0x5320cf['push'](_0x5320cf['shift']());}}}(_0xb062,0x6b75e));export{ExportWord}from'./exportword.js';function _0xb062(){var _0x3c07b6=['3247712mVenwr','2395057sQZFpb','136551rcNqCC','8777682LuJnfe','683863wWqcGc','153246VXtYlR','52aJVNNb','155QCNukO','1559280yDfYGE','10rtvlGU'];_0xb062=function(){return _0x3c07b6;};return _0xb062();}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
23
+ function _0x1319(_0x5e21ea,_0x3c423c){var _0xa473c1=_0xa473();return _0x1319=function(_0x131934,_0x1ee3da){_0x131934=_0x131934-0x120;var _0x446e3d=_0xa473c1[_0x131934];return _0x446e3d;},_0x1319(_0x5e21ea,_0x3c423c);}(function(_0x54794b,_0x2b5304){var _0x2c9234=_0x1319,_0x5cca8a=_0x54794b();while(!![]){try{var _0x113140=-parseInt(_0x2c9234(0x123))/0x1+-parseInt(_0x2c9234(0x128))/0x2+-parseInt(_0x2c9234(0x124))/0x3*(parseInt(_0x2c9234(0x126))/0x4)+-parseInt(_0x2c9234(0x122))/0x5*(-parseInt(_0x2c9234(0x12b))/0x6)+-parseInt(_0x2c9234(0x121))/0x7*(-parseInt(_0x2c9234(0x120))/0x8)+parseInt(_0x2c9234(0x129))/0x9*(-parseInt(_0x2c9234(0x125))/0xa)+parseInt(_0x2c9234(0x12a))/0xb*(parseInt(_0x2c9234(0x127))/0xc);if(_0x113140===_0x2b5304)break;else _0x5cca8a['push'](_0x5cca8a['shift']());}catch(_0x4f8721){_0x5cca8a['push'](_0x5cca8a['shift']());}}}(_0xa473,0x4ac08));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0xa473(){var _0x724211=['33451bOLWLH','3216252oGwCEl','1363504uFzzAG','7foztOT','5RjbWsw','30985gMypJt','1917WqKWUO','657530sMgJGe','1756HUUOag','1608drlCNt','72026cudiek','63noJOrY'];_0xa473=function(){return _0x724211;};return _0xa473();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x20e993,_0x4707fc){const t=_0x20e993['t'];switch(_0x4707fc){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 _0x4707fc;}}
23
+ export function getTranslation(_0x556a07,_0x5f55b4){const t=_0x556a07['t'];switch(_0x5f55b4){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 _0x5f55b4;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4063f8,_0x34e94d){const _0x451c87=_0x5e33,_0x49bcff=_0x4063f8();while(!![]){try{const _0x3ab539=parseInt(_0x451c87(0x13c))/0x1*(parseInt(_0x451c87(0x134))/0x2)+parseInt(_0x451c87(0x112))/0x3*(parseInt(_0x451c87(0x10e))/0x4)+parseInt(_0x451c87(0x10b))/0x5+parseInt(_0x451c87(0x121))/0x6*(parseInt(_0x451c87(0x108))/0x7)+parseInt(_0x451c87(0x12c))/0x8+parseInt(_0x451c87(0x10d))/0x9+-parseInt(_0x451c87(0x12e))/0xa;if(_0x3ab539===_0x34e94d)break;else _0x49bcff['push'](_0x49bcff['shift']());}catch(_0x33878f){_0x49bcff['push'](_0x49bcff['shift']());}}}(_0x5df2,0x74e83));function _0x5df2(){const _0x382d16=['comments','authorName','getCommentThreads','@external','users','TrackChanges','document','author','MergeFields','collaboration_features','plugins','934338BHjwmb','MergeFieldsEditing','language','contentLanguage','timeZone','push','DateTimeFormat','timezone','suggestions','length','$defaultValues','5502232DOTSAi','$labels','31061440iaSnbr','resolvedOptions','image','getMergeFieldType','getLabel','data','469004yuPfMk','createdAt','Users','getDefaultValues','isResolved','previewMode','CommentsRepository','keys','1gRszxl','getDataSetValues','merge_fields','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','comment_threads','get','42ZdYOAA','config','map','1784295KTQZGS','getSuggestions','7689834uysvew','2068364bHCIWX','name','mergeFields','entries','3bHPkqg','has','content','locale'];_0x5df2=function(){return _0x382d16;};return _0x5df2();}export function getConverterOptions(_0x1bf04c,_0xb4565a={}){const _0x1f47d5=_0x5e33,_0x4f2f49=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x136)),_0x593c83=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x13a)),_0x5e4d32=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x11b)),_0x1e027a=_0xb4565a;if(_0x4f2f49&&_0x593c83){const _0x5cfd3a=getComments(_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x13a))[_0x1f47d5(0x118)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1f47d5(0x13b)](_0x5cfd3a)[_0x1f47d5(0x12a)]&&(_0x1e027a[_0x1f47d5(0x116)]=_0x5cfd3a);}if(_0x4f2f49&&_0x5e4d32){const _0x42e8c1=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x11b)),_0x5ea9ed=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x136)),_0x2ade3f=getSuggestions(_0x42e8c1[_0x1f47d5(0x10c)]({'toJSON':!0x0}),_0x5ea9ed[_0x1f47d5(0x11a)]);Object[_0x1f47d5(0x13b)](_0x2ade3f)[_0x1f47d5(0x12a)]&&(_0x1e027a[_0x1f47d5(0x129)]=_0x2ade3f);}return(_0x1e027a[_0x1f47d5(0x129)]||_0x1e027a[_0x1f47d5(0x116)])&&(_0x1e027a[_0x1f47d5(0x128)]=new Intl[(_0x1f47d5(0x127))]()[_0x1f47d5(0x12f)]()[_0x1f47d5(0x125)]),_0x1e027a;}export function getComments(_0x4e314f){const _0x3c9f3e=_0x5e33,_0x517a34={};if(!_0x4e314f[_0x3c9f3e(0x12a)])return _0x517a34;for(const _0x3d9a0a of _0x4e314f)_0x3d9a0a[_0x3c9f3e(0x116)][_0x3c9f3e(0x10a)](_0x23bf86=>{const _0x30d80d=_0x3c9f3e;void 0x0===_0x517a34[_0x3d9a0a['id']]&&(_0x517a34[_0x3d9a0a['id']]=[]),_0x517a34[_0x3d9a0a['id']][_0x30d80d(0x126)]({'author':_0x23bf86[_0x30d80d(0x11d)][_0x30d80d(0x10f)],'content':_0x23bf86[_0x30d80d(0x114)],'created':_0x23bf86[_0x30d80d(0x135)],'is_resolved':_0x3d9a0a[_0x30d80d(0x138)]});});return _0x517a34;}export function getSuggestions(_0xb7b1d3,_0x576cca){const _0x15cfea=_0x5e33,_0x3bf1ae={};if(!_0xb7b1d3[_0x15cfea(0x12a)]||!_0x576cca[_0x15cfea(0x12a)])return _0x3bf1ae;for(const {id:_0x40ec59,createdAt:_0x45b753,authorId:_0x4a4915,attributes:_0xb05600}of _0xb7b1d3){const _0xa0032a=_0xb05600&&_0xb05600[_0x15cfea(0x119)],_0x384a82=_0xa0032a?_0xa0032a[_0x15cfea(0x117)]:_0x576cca[_0x15cfea(0x107)](_0x4a4915)[_0x15cfea(0x10f)];_0x3bf1ae[_0x40ec59]={'author':_0x384a82,'created':_0x45b753};}return _0x3bf1ae;}export function getConverterOptionsV2(_0x55ec0a,_0x2da1ba={}){const _0x2b7b4b=_0x5e33,_0x32e24f=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x136)),_0x4dc01b=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x13a)),_0x4e84d9=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x11b)),_0x15497b=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x11e)),_0x152963=_0x55ec0a[_0x2b7b4b(0x115)][_0x2b7b4b(0x124)],_0x3bbb6a=_0x2da1ba,_0x3269b4={};if(_0x3bbb6a[_0x2b7b4b(0x11c)]=_0x3bbb6a[_0x2b7b4b(0x11c)]||{},_0x3bbb6a[_0x2b7b4b(0x11c)][_0x2b7b4b(0x123)]=_0x3bbb6a[_0x2b7b4b(0x11c)][_0x2b7b4b(0x123)]||_0x152963,_0x32e24f&&_0x4dc01b){const _0x4f70f8=getCommentsV2(_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x13a))[_0x2b7b4b(0x118)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4f70f8[_0x2b7b4b(0x12a)]&&(_0x3269b4[_0x2b7b4b(0x106)]=_0x4f70f8);}if(_0x32e24f&&_0x4e84d9){const _0x752b45=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x11b)),_0x3f73ea=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x136)),_0xe831ac=getSuggestionsV2(_0x752b45[_0x2b7b4b(0x10c)]({'toJSON':!0x0}),_0x3f73ea[_0x2b7b4b(0x11a)]);_0xe831ac[_0x2b7b4b(0x12a)]&&(_0x3269b4[_0x2b7b4b(0x129)]=_0xe831ac);}if(_0x15497b){const _0x18c3a7=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x122)),_0x397884=_0x18c3a7[_0x2b7b4b(0x139)],{prefix:_0x6b88cb,suffix:_0x2f2768}=_0x55ec0a[_0x2b7b4b(0x109)][_0x2b7b4b(0x107)](_0x2b7b4b(0x110));if(_0x3bbb6a[_0x2b7b4b(0x13e)]={'prefix':_0x6b88cb,'suffix':_0x2f2768},_0x2b7b4b(0x12d)!==_0x397884){_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)]={};const _0x4cb4fa=_0x2b7b4b(0x105),_0x458a92=_0x2b7b4b(0x12b)===_0x397884?_0x18c3a7[_0x2b7b4b(0x137)]():_0x18c3a7[_0x2b7b4b(0x13d)](_0x397884,!0x0);for(const _0x316706 of Object[_0x2b7b4b(0x111)](_0x458a92)){const [_0x2c1ba6,_0x276c91]=_0x316706;_0x2b7b4b(0x130)===_0x18c3a7[_0x2b7b4b(0x131)](_0x2c1ba6)?_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)][_0x2c1ba6]=null!==_0x276c91?_0x276c91:_0x4cb4fa:_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)][_0x2c1ba6]=null!==_0x276c91?_0x276c91:_0x18c3a7[_0x2b7b4b(0x132)](_0x2c1ba6)||_0x2c1ba6;}}}return(_0x3269b4[_0x2b7b4b(0x106)]||_0x3269b4[_0x2b7b4b(0x129)])&&(_0x3bbb6a[_0x2b7b4b(0x128)]=new Intl[(_0x2b7b4b(0x127))]()[_0x2b7b4b(0x12f)]()[_0x2b7b4b(0x125)],_0x3bbb6a[_0x2b7b4b(0x11f)]=_0x3269b4),_0x3bbb6a;}export function getCommentsV2(_0x54ccf0){const _0x451d25=_0x5e33,_0x36d530=[];if(!_0x54ccf0[_0x451d25(0x12a)])return _0x36d530;for(const _0x309ad9 of _0x54ccf0){const _0x2aec4c=_0x309ad9[_0x451d25(0x116)][_0x451d25(0x10a)](_0x545953=>({'author':_0x545953[_0x451d25(0x11d)][_0x451d25(0x10f)],'content':_0x545953[_0x451d25(0x114)],'created_at':_0x545953[_0x451d25(0x135)]}));_0x36d530[_0x451d25(0x126)]({'thread_id':_0x309ad9['id'],'is_resolved':_0x309ad9[_0x451d25(0x138)],'comments':_0x2aec4c});}return _0x36d530;}function _0x5e33(_0x5a0a3a,_0x10aab3){const _0x5df269=_0x5df2();return _0x5e33=function(_0x5e3370,_0x50dfd3){_0x5e3370=_0x5e3370-0x105;let _0x422e3d=_0x5df269[_0x5e3370];return _0x422e3d;},_0x5e33(_0x5a0a3a,_0x10aab3);}export function getSuggestionsV2(_0x2fd6a4,_0x3b078a){const _0x28e8b0=_0x5e33;return _0x2fd6a4[_0x28e8b0(0x12a)]&&_0x3b078a[_0x28e8b0(0x12a)]?_0x2fd6a4[_0x28e8b0(0x10a)](({id:_0xda592a,createdAt:_0x1fc925,authorId:_0x234450,attributes:_0x4214d5})=>{const _0x2232b8=_0x28e8b0,_0x7fc37=_0x4214d5&&_0x4214d5[_0x2232b8(0x119)];return{'id':_0xda592a,'author':_0x7fc37?_0x7fc37[_0x2232b8(0x117)]:_0x3b078a[_0x2232b8(0x107)](_0x234450)[_0x2232b8(0x10f)],'created_at':_0x1fc925};}):[];}
23
+ function _0x48bd(_0x18b2a2,_0x2319e6){const _0x587127=_0x5871();return _0x48bd=function(_0x48bdfe,_0x4d8529){_0x48bdfe=_0x48bdfe-0x1d1;let _0x352374=_0x587127[_0x48bdfe];return _0x352374;},_0x48bd(_0x18b2a2,_0x2319e6);}(function(_0x166a5f,_0xc75728){const _0x412b25=_0x48bd,_0x529031=_0x166a5f();while(!![]){try{const _0x2d88ab=parseInt(_0x412b25(0x1eb))/0x1+parseInt(_0x412b25(0x1d9))/0x2*(parseInt(_0x412b25(0x1dd))/0x3)+parseInt(_0x412b25(0x1ee))/0x4*(-parseInt(_0x412b25(0x1f2))/0x5)+-parseInt(_0x412b25(0x200))/0x6+-parseInt(_0x412b25(0x204))/0x7+parseInt(_0x412b25(0x1fb))/0x8*(-parseInt(_0x412b25(0x1e9))/0x9)+parseInt(_0x412b25(0x1e0))/0xa;if(_0x2d88ab===_0xc75728)break;else _0x529031['push'](_0x529031['shift']());}catch(_0x4f3cf5){_0x529031['push'](_0x529031['shift']());}}}(_0x5871,0xb4c1f));export function getConverterOptions(_0x30d0ae,_0x554b95={}){const _0x5bfaf3=_0x48bd,_0x9c728c=_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1f0)](_0x5bfaf3(0x1e3)),_0x23828d=_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1f0)](_0x5bfaf3(0x1fd)),_0x38fa32=_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1f0)](_0x5bfaf3(0x1df)),_0x3f5cfb=_0x554b95;if(_0x9c728c&&_0x23828d){const _0x578efa=getComments(_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1d1)](_0x5bfaf3(0x1fd))[_0x5bfaf3(0x1e8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5bfaf3(0x1f1)](_0x578efa)[_0x5bfaf3(0x1e6)]&&(_0x3f5cfb[_0x5bfaf3(0x1ff)]=_0x578efa);}if(_0x9c728c&&_0x38fa32){const _0x5ebe76=_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1d1)](_0x5bfaf3(0x1df)),_0x538d33=_0x30d0ae[_0x5bfaf3(0x206)][_0x5bfaf3(0x1d1)](_0x5bfaf3(0x1e3)),_0x25676a=getSuggestions(_0x5ebe76[_0x5bfaf3(0x1fc)]({'toJSON':!0x0}),_0x538d33[_0x5bfaf3(0x1d7)]);Object[_0x5bfaf3(0x1f1)](_0x25676a)[_0x5bfaf3(0x1e6)]&&(_0x3f5cfb[_0x5bfaf3(0x201)]=_0x25676a);}return(_0x3f5cfb[_0x5bfaf3(0x201)]||_0x3f5cfb[_0x5bfaf3(0x1ff)])&&(_0x3f5cfb[_0x5bfaf3(0x1d3)]=new Intl[(_0x5bfaf3(0x1d8))]()[_0x5bfaf3(0x1fe)]()[_0x5bfaf3(0x1db)]),_0x3f5cfb;}export function getComments(_0x10ed96){const _0x1153c9=_0x48bd,_0x34b655={};if(!_0x10ed96[_0x1153c9(0x1e6)])return _0x34b655;for(const _0x1a3a97 of _0x10ed96)_0x1a3a97[_0x1153c9(0x1ff)][_0x1153c9(0x1d6)](_0x18daeb=>{const _0x5582f0=_0x1153c9;void 0x0===_0x34b655[_0x1a3a97['id']]&&(_0x34b655[_0x1a3a97['id']]=[]),_0x34b655[_0x1a3a97['id']][_0x5582f0(0x209)]({'author':_0x18daeb[_0x5582f0(0x1f3)][_0x5582f0(0x1fa)],'content':_0x18daeb[_0x5582f0(0x1d2)],'created':_0x18daeb[_0x5582f0(0x207)],'is_resolved':_0x1a3a97[_0x5582f0(0x1f6)]});});return _0x34b655;}function _0x5871(){const _0x594a27=['data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','data','contentLanguage','name','30048DdZUxw','getSuggestions','CommentsRepository','resolvedOptions','comments','27198FPPEXU','suggestions','entries','collaboration_features','4757914vDrMkl','getMergeFieldType','plugins','createdAt','$labels','push','comment_threads','get','content','timezone','@external','$defaultValues','map','users','DateTimeFormat','1414090dYAbWd','merge_fields','timeZone','getDataSetValues','3FKZlUe','MergeFieldsEditing','TrackChanges','9696060HpYVwR','mergeFields','authorName','Users','config','locale','length','previewMode','getCommentThreads','1026IruSbp','language','559406BKwaLW','document','getLabel','20PDnsLu','getDefaultValues','has','keys','383255GwVfRt','author','MergeFields','image','isResolved'];_0x5871=function(){return _0x594a27;};return _0x5871();}export function getSuggestions(_0x2a9018,_0x55aaf9){const _0x1494a5=_0x48bd,_0x3e4bb9={};if(!_0x2a9018[_0x1494a5(0x1e6)]||!_0x55aaf9[_0x1494a5(0x1e6)])return _0x3e4bb9;for(const {id:_0x32bc03,createdAt:_0x328733,authorId:_0xa42359,attributes:_0x502b26}of _0x2a9018){const _0x3de634=_0x502b26&&_0x502b26[_0x1494a5(0x1d4)],_0xd9aa9a=_0x3de634?_0x3de634[_0x1494a5(0x1e2)]:_0x55aaf9[_0x1494a5(0x1d1)](_0xa42359)[_0x1494a5(0x1fa)];_0x3e4bb9[_0x32bc03]={'author':_0xd9aa9a,'created':_0x328733};}return _0x3e4bb9;}export function getConverterOptionsV2(_0x49f6b0,_0x51a92c={}){const _0x1fa98a=_0x48bd,_0x487526=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1f0)](_0x1fa98a(0x1e3)),_0x24703f=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1f0)](_0x1fa98a(0x1fd)),_0x3d2f8e=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1f0)](_0x1fa98a(0x1df)),_0x4e16f4=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1f0)](_0x1fa98a(0x1f4)),_0x5f36ca=_0x49f6b0[_0x1fa98a(0x1e5)][_0x1fa98a(0x1f9)],_0xed9140=_0x51a92c,_0x58d7eb={};if(_0xed9140[_0x1fa98a(0x1ec)]=_0xed9140[_0x1fa98a(0x1ec)]||{},_0xed9140[_0x1fa98a(0x1ec)][_0x1fa98a(0x1ea)]=_0xed9140[_0x1fa98a(0x1ec)][_0x1fa98a(0x1ea)]||_0x5f36ca,_0x487526&&_0x24703f){const _0x27ec1b=getCommentsV2(_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1d1)](_0x1fa98a(0x1fd))[_0x1fa98a(0x1e8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x27ec1b[_0x1fa98a(0x1e6)]&&(_0x58d7eb[_0x1fa98a(0x20a)]=_0x27ec1b);}if(_0x487526&&_0x3d2f8e){const _0x560bf7=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1d1)](_0x1fa98a(0x1df)),_0x4bfbcd=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1d1)](_0x1fa98a(0x1e3)),_0x28a77f=getSuggestionsV2(_0x560bf7[_0x1fa98a(0x1fc)]({'toJSON':!0x0}),_0x4bfbcd[_0x1fa98a(0x1d7)]);_0x28a77f[_0x1fa98a(0x1e6)]&&(_0x58d7eb[_0x1fa98a(0x201)]=_0x28a77f);}if(_0x4e16f4){const _0x2eecf5=_0x49f6b0[_0x1fa98a(0x206)][_0x1fa98a(0x1d1)](_0x1fa98a(0x1de)),_0x1beecb=_0x2eecf5[_0x1fa98a(0x1e7)],{prefix:_0x1269fe,suffix:_0x4571a8}=_0x49f6b0[_0x1fa98a(0x1e4)][_0x1fa98a(0x1d1)](_0x1fa98a(0x1e1));if(_0xed9140[_0x1fa98a(0x1da)]={'prefix':_0x1269fe,'suffix':_0x4571a8},_0x1fa98a(0x208)!==_0x1beecb){_0xed9140[_0x1fa98a(0x1da)][_0x1fa98a(0x1f8)]={};const _0x2925c4=_0x1fa98a(0x1f7),_0x110b17=_0x1fa98a(0x1d5)===_0x1beecb?_0x2eecf5[_0x1fa98a(0x1ef)]():_0x2eecf5[_0x1fa98a(0x1dc)](_0x1beecb,!0x0);for(const _0x76f01b of Object[_0x1fa98a(0x202)](_0x110b17)){const [_0x522eb8,_0x44619c]=_0x76f01b;_0x1fa98a(0x1f5)===_0x2eecf5[_0x1fa98a(0x205)](_0x522eb8)?_0xed9140[_0x1fa98a(0x1da)][_0x1fa98a(0x1f8)][_0x522eb8]=null!==_0x44619c?_0x44619c:_0x2925c4:_0xed9140[_0x1fa98a(0x1da)][_0x1fa98a(0x1f8)][_0x522eb8]=null!==_0x44619c?_0x44619c:_0x2eecf5[_0x1fa98a(0x1ed)](_0x522eb8)||_0x522eb8;}}}return(_0x58d7eb[_0x1fa98a(0x20a)]||_0x58d7eb[_0x1fa98a(0x201)])&&(_0xed9140[_0x1fa98a(0x1d3)]=new Intl[(_0x1fa98a(0x1d8))]()[_0x1fa98a(0x1fe)]()[_0x1fa98a(0x1db)],_0xed9140[_0x1fa98a(0x203)]=_0x58d7eb),_0xed9140;}export function getCommentsV2(_0x5bcf09){const _0x3d326d=_0x48bd,_0x1fc486=[];if(!_0x5bcf09[_0x3d326d(0x1e6)])return _0x1fc486;for(const _0x16a73e of _0x5bcf09){const _0x412f40=_0x16a73e[_0x3d326d(0x1ff)][_0x3d326d(0x1d6)](_0x21bd7b=>({'author':_0x21bd7b[_0x3d326d(0x1f3)][_0x3d326d(0x1fa)],'content':_0x21bd7b[_0x3d326d(0x1d2)],'created_at':_0x21bd7b[_0x3d326d(0x207)]}));_0x1fc486[_0x3d326d(0x209)]({'thread_id':_0x16a73e['id'],'is_resolved':_0x16a73e[_0x3d326d(0x1f6)],'comments':_0x412f40});}return _0x1fc486;}export function getSuggestionsV2(_0x3fbb3a,_0xecb557){const _0x170134=_0x48bd;return _0x3fbb3a[_0x170134(0x1e6)]&&_0xecb557[_0x170134(0x1e6)]?_0x3fbb3a[_0x170134(0x1d6)](({id:_0x2adc0d,createdAt:_0x1f0ae9,authorId:_0x37b232,attributes:_0x3a2829})=>{const _0x3aef83=_0x170134,_0xf1f5a3=_0x3a2829&&_0x3a2829[_0x3aef83(0x1d4)];return{'id':_0x2adc0d,'author':_0xf1f5a3?_0xf1f5a3[_0x3aef83(0x1e2)]:_0xecb557[_0x3aef83(0x1d1)](_0x37b232)[_0x3aef83(0x1fa)],'created_at':_0x1f0ae9};}):[];}