@ckeditor/ckeditor5-export-word 47.3.0-alpha.0 → 47.3.0-alpha.1

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.3.0-alpha.0",
3
+ "version": "47.3.0-alpha.1",
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.3.0-alpha.0",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.0",
35
- "@ckeditor/ckeditor5-comments": "47.3.0-alpha.0",
36
- "@ckeditor/ckeditor5-core": "47.3.0-alpha.0",
37
- "@ckeditor/ckeditor5-icons": "47.3.0-alpha.0",
38
- "@ckeditor/ckeditor5-merge-fields": "47.3.0-alpha.0",
39
- "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.0",
40
- "@ckeditor/ckeditor5-utils": "47.3.0-alpha.0",
41
- "@ckeditor/ckeditor5-ui": "47.3.0-alpha.0",
42
- "ckeditor5": "47.3.0-alpha.0"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.1",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.1",
35
+ "@ckeditor/ckeditor5-comments": "47.3.0-alpha.1",
36
+ "@ckeditor/ckeditor5-core": "47.3.0-alpha.1",
37
+ "@ckeditor/ckeditor5-icons": "47.3.0-alpha.1",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.3.0-alpha.1",
39
+ "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.1",
40
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.1",
41
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.1",
42
+ "ckeditor5": "47.3.0-alpha.1"
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 _0x3e85ca=_0x46e7;(function(_0x3a49e7,_0x1b92e5){const _0x4e88b4=_0x46e7,_0x21b47f=_0x3a49e7();while(!![]){try{const _0x36a699=parseInt(_0x4e88b4(0x1ec))/0x1*(parseInt(_0x4e88b4(0x1e7))/0x2)+parseInt(_0x4e88b4(0x1e2))/0x3+-parseInt(_0x4e88b4(0x1f0))/0x4*(parseInt(_0x4e88b4(0x1f4))/0x5)+parseInt(_0x4e88b4(0x1e4))/0x6*(parseInt(_0x4e88b4(0x1e8))/0x7)+-parseInt(_0x4e88b4(0x1f8))/0x8+parseInt(_0x4e88b4(0x1e5))/0x9+-parseInt(_0x4e88b4(0x1ed))/0xa;if(_0x36a699===_0x1b92e5)break;else _0x21b47f['push'](_0x21b47f['shift']());}catch(_0x13b79d){_0x21b47f['push'](_0x21b47f['shift']());}}}(_0x53d1,0x6b0ce));import{Plugin as _0x4fa392}from'ckeditor5/src/core.js';function _0x53d1(){const _0x2f214e=['79746wngTZr','4226180BnNuoR','then','isPremiumPlugin','get','9ciMgNY','1278970QoZXGd','requires','add','1324LjRqEs','init','isOfficialPlugin','token','3930VGtIkA','editor','_token','exportWord','5933288hvYsaY','registerTokenUrl','commands','plugins','tokenUrl','pluginName','config','429849FzbUav','CloudServices','6zANGJq','4160898zCuFLT','ExportWord'];_0x53d1=function(){return _0x2f214e;};return _0x53d1();}import{Notification as _0x1c8a43}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x213ed3}from'./exportwordcommand.js';import{ExportWordUI as _0x225778}from'./exportwordui.js';function _0x46e7(_0x1305fa,_0x470986){const _0x53d17e=_0x53d1();return _0x46e7=function(_0xbb6353,_0x3979b0){_0xbb6353=_0xbb6353-0x1de;let _0xa0c873=_0x53d17e[_0xbb6353];return _0xa0c873;},_0x46e7(_0x1305fa,_0x470986);}export class ExportWord extends _0x4fa392{[_0x3e85ca(0x1f6)];static get[_0x3e85ca(0x1e0)](){const _0x225ffa=_0x3e85ca;return _0x225ffa(0x1e6);}static get[_0x3e85ca(0x1f2)](){return!0x0;}static get[_0x3e85ca(0x1ea)](){return!0x0;}static get[_0x3e85ca(0x1ee)](){const _0x46c334=_0x3e85ca;return[_0x46c334(0x1e3),_0x1c8a43,_0x225778];}[_0x3e85ca(0x1f1)](){const _0x26bcaf=_0x3e85ca,_0x362449=this[_0x26bcaf(0x1f5)],_0x8c21de=_0x362449[_0x26bcaf(0x1e1)][_0x26bcaf(0x1eb)](_0x26bcaf(0x1f7))||{};_0x362449[_0x26bcaf(0x1fa)][_0x26bcaf(0x1ef)](_0x26bcaf(0x1f7),new _0x213ed3(_0x362449));const _0x3c039e=_0x362449[_0x26bcaf(0x1de)][_0x26bcaf(0x1eb)](_0x26bcaf(0x1e3));!0x1===_0x8c21de[_0x26bcaf(0x1df)]?this[_0x26bcaf(0x1f6)]=null:_0x8c21de[_0x26bcaf(0x1df)]?_0x3c039e[_0x26bcaf(0x1f9)](_0x8c21de[_0x26bcaf(0x1df)])[_0x26bcaf(0x1e9)](_0x5b15b8=>{const _0x5ac640=_0x26bcaf;this[_0x5ac640(0x1f6)]=_0x5b15b8;}):this[_0x26bcaf(0x1f6)]=_0x3c039e[_0x26bcaf(0x1f3)];}}
23
+ const _0x4c0625=_0x29b6;(function(_0x4e2d75,_0x291578){const _0x171ddb=_0x29b6,_0x25d3b7=_0x4e2d75();while(!![]){try{const _0x33d041=-parseInt(_0x171ddb(0xe4))/0x1*(parseInt(_0x171ddb(0xc9))/0x2)+parseInt(_0x171ddb(0xd8))/0x3+parseInt(_0x171ddb(0xe0))/0x4+-parseInt(_0x171ddb(0xc8))/0x5*(-parseInt(_0x171ddb(0xdb))/0x6)+parseInt(_0x171ddb(0xcb))/0x7*(parseInt(_0x171ddb(0xd6))/0x8)+-parseInt(_0x171ddb(0xdc))/0x9*(-parseInt(_0x171ddb(0xcd))/0xa)+-parseInt(_0x171ddb(0xdf))/0xb;if(_0x33d041===_0x291578)break;else _0x25d3b7['push'](_0x25d3b7['shift']());}catch(_0x52ab9b){_0x25d3b7['push'](_0x25d3b7['shift']());}}}(_0xf264,0x62bb9));function _0x29b6(_0x331817,_0x36dc10){const _0xf2646f=_0xf264();return _0x29b6=function(_0x29b6ac,_0x33be7f){_0x29b6ac=_0x29b6ac-0xc8;let _0x38bdde=_0xf2646f[_0x29b6ac];return _0x38bdde;},_0x29b6(_0x331817,_0x36dc10);}function _0xf264(){const _0xddf334=['isOfficialPlugin','105155WrzzPk','444572nUSZyV','tokenUrl','161URpATi','add','10OIIkTN','_token','exportWord','requires','CloudServices','isPremiumPlugin','editor','registerTokenUrl','get','1464kYpINX','plugins','1670955GULycL','pluginName','then','78XnnCtq','6350472UDJybb','token','config','14887510VCiNKC','1759600wvBTtW','ExportWord','init','commands','1jsMLGZ'];_0xf264=function(){return _0xddf334;};return _0xf264();}import{Plugin as _0x309379}from'ckeditor5/src/core.js';import{Notification as _0x27390b}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x3ee248}from'./exportwordcommand.js';import{ExportWordUI as _0xc6a341}from'./exportwordui.js';export class ExportWord extends _0x309379{[_0x4c0625(0xce)];static get[_0x4c0625(0xd9)](){const _0x3564cb=_0x4c0625;return _0x3564cb(0xe1);}static get[_0x4c0625(0xe5)](){return!0x0;}static get[_0x4c0625(0xd2)](){return!0x0;}static get[_0x4c0625(0xd0)](){const _0x528a1b=_0x4c0625;return[_0x528a1b(0xd1),_0x27390b,_0xc6a341];}[_0x4c0625(0xe2)](){const _0x4dac46=_0x4c0625,_0x53185e=this[_0x4dac46(0xd3)],_0x5c82b7=_0x53185e[_0x4dac46(0xde)][_0x4dac46(0xd5)](_0x4dac46(0xcf))||{};_0x53185e[_0x4dac46(0xe3)][_0x4dac46(0xcc)](_0x4dac46(0xcf),new _0x3ee248(_0x53185e));const _0x3ffb0b=_0x53185e[_0x4dac46(0xd7)][_0x4dac46(0xd5)](_0x4dac46(0xd1));!0x1===_0x5c82b7[_0x4dac46(0xca)]?this[_0x4dac46(0xce)]=null:_0x5c82b7[_0x4dac46(0xca)]?_0x3ffb0b[_0x4dac46(0xd4)](_0x5c82b7[_0x4dac46(0xca)])[_0x4dac46(0xda)](_0x4ce576=>{const _0x1a7b47=_0x4dac46;this[_0x1a7b47(0xce)]=_0x4ce576;}):this[_0x4dac46(0xce)]=_0x3ffb0b[_0x4dac46(0xdd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4528(_0x3b7e07,_0x916f40){const _0x19beb0=_0x19be();return _0x4528=function(_0x452831,_0x4b17fe){_0x452831=_0x452831-0x100;let _0x673f84=_0x19beb0[_0x452831];return _0x673f84;},_0x4528(_0x3b7e07,_0x916f40);}const _0x11370c=_0x4528;(function(_0x13c1e4,_0x2d8ef0){const _0x589fd0=_0x4528,_0x3ee907=_0x13c1e4();while(!![]){try{const _0x3b04b6=-parseInt(_0x589fd0(0x126))/0x1+parseInt(_0x589fd0(0x124))/0x2+parseInt(_0x589fd0(0x12a))/0x3+-parseInt(_0x589fd0(0x10b))/0x4+parseInt(_0x589fd0(0x13e))/0x5*(-parseInt(_0x589fd0(0x104))/0x6)+-parseInt(_0x589fd0(0x10a))/0x7*(parseInt(_0x589fd0(0x11f))/0x8)+-parseInt(_0x589fd0(0x140))/0x9*(-parseInt(_0x589fd0(0x111))/0xa);if(_0x3b04b6===_0x2d8ef0)break;else _0x3ee907['push'](_0x3ee907['shift']());}catch(_0x51ce5c){_0x3ee907['push'](_0x3ee907['shift']());}}}(_0x19be,0x43f91));import{Command as _0x4b885e}from'ckeditor5/src/core.js';function _0x19be(){const _0xd8de81=['102tGaQCl','fetch','affectsData','contentLanguageDirection','margin_right','then','21rIljxT','1661504LOqNeQ','plugins','POST','<div\x20class=\x22ck-content\x22\x20dir=\x22','value','refresh','2504620HLBirR','dataCallback','editor','application/json','isEnabled','Word\x20document\x20export\x20failed','finally','converterOptions','isBusy','comments','locale','createElement','orientation','remove','1119672RqdEbl','footer','token','version','ariaLiveAnnouncer','726132zOGnCG','</div>','402152FXXEtV','href','export-word-v1-api-is-deprecated','status','1245366kaXzFz','URL','Word\x20document\x20export\x20successful','createObjectURL','EDITOR_STYLES','Word\x20document\x20export\x20started','execute','showWarning','_downloadFile','margin_bottom','margin_left','catch','function','document.docx','converterUrl','stringify','data','assertive','config','options','77710WPhOHe','format','36GaCBBc','auto_pagination','header','margin_top','suggestions','download','_token','https://docx-converter.cke-cs.com/v1/convert','fileName','announce','https://docx-converter.cke-cs.com/v2/convert/html-docx','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','application/docx','blob','pending','get','stylesheets','ExportWord','set','Notification','click'];_0x19be=function(){return _0xd8de81;};return _0x19be();}import{logWarning as _0x3b535b,collectStylesheets as _0x17411d}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x3f238b,getConverterOptionsV2 as _0x187b20}from'./utils.js';import{getTranslation as _0x192470}from'./utils/common-translations.js';const p=[_0x11370c(0x11d),_0x11370c(0x143),_0x11370c(0x108),_0x11370c(0x133),_0x11370c(0x134),_0x11370c(0x13f),_0x11370c(0x142),_0x11370c(0x120),_0x11370c(0x11a),_0x11370c(0x144)];export class ExportWordCommand extends _0x4b885e{constructor(_0x54f7d9){const _0x4e3555=_0x11370c;super(_0x54f7d9),this[_0x4e3555(0x101)](_0x4e3555(0x119),!0x1),this[_0x4e3555(0x106)]=!0x1;}[_0x11370c(0x110)](){const _0x54451e=_0x11370c;this[_0x54451e(0x115)]=!this[_0x54451e(0x119)],this[_0x54451e(0x10f)]=this[_0x54451e(0x119)]?_0x54451e(0x14e):void 0x0;}[_0x11370c(0x130)](_0x595b68={}){const _0x215d55=_0x11370c,_0xe7ae31=this[_0x215d55(0x113)],_0x2aa734=_0x595b68[_0x215d55(0x122)]||0x2,_0xe82c78=0x1===_0x2aa734,_0x12bc4c=_0x595b68[_0x215d55(0x138)]||(_0xe82c78?_0x215d55(0x147):_0x215d55(0x14a)),_0x9fb288=_0x595b68[_0x215d55(0x118)]||{},_0x2ef7dc=_0xe7ae31[_0x215d55(0x10c)][_0x215d55(0x14f)](_0x215d55(0x100)),_0x1b3c49=_0x595b68[_0x215d55(0x121)]||_0x2ef7dc[_0x215d55(0x146)],_0x4d644f=!0x0===_0x9fb288[_0x215d55(0x141)],_0x2bda47=_0x595b68[_0x215d55(0x112)]||(_0x546e7e=>_0x546e7e[_0x215d55(0x13a)][_0x215d55(0x14f)]({'pagination':_0x4d644f}));return 0x2===_0x2aa734&&function(_0x34580e){for(const _0x33117c of p)if(void 0x0!==_0x34580e[_0x33117c])return!0x0;return!0x1;}(_0x9fb288)&&_0x3b535b(_0x215d55(0x128)),this[_0x215d55(0x119)]=!0x0,this[_0x215d55(0x110)](),_0x17411d(_0x595b68[_0x215d55(0x150)]||[_0x215d55(0x12e)])[_0x215d55(0x109)](async _0x2c7507=>{const _0x4893f8=_0x215d55;_0xe7ae31['ui'][_0x4893f8(0x123)][_0x4893f8(0x149)](_0x192470(_0xe7ae31[_0x4893f8(0x11b)],_0x4893f8(0x12f)));const _0x1507c4=await _0x2bda47(_0xe7ae31),_0x4f2c67={'html':_0x4893f8(0x10e)+_0xe7ae31[_0x4893f8(0x11b)][_0x4893f8(0x107)]+'\x22>'+_0x1507c4+_0x4893f8(0x125),'css':_0x2c7507,[_0xe82c78?_0x4893f8(0x13d):_0x4893f8(0x13c)]:{..._0x9fb288,..._0xe82c78?_0x3f238b(_0xe7ae31,_0x9fb288):_0x187b20(_0xe7ae31,_0x9fb288)}},_0xcf0d24={'method':_0x4893f8(0x10d),'headers':{'Content-Type':_0x4893f8(0x114),'Accept':_0x4893f8(0x14c),..._0x1b3c49?{'Authorization':_0x1b3c49[_0x4893f8(0x10f)]}:null},'body':JSON[_0x4893f8(0x139)](_0x4f2c67)};return window[_0x4893f8(0x105)](_0x12bc4c,_0xcf0d24)[_0x4893f8(0x109)](_0x43e81a=>{const _0x15d612=_0x4893f8;if(0xc8!==_0x43e81a[_0x15d612(0x129)])throw _0x43e81a;return _0x43e81a[_0x15d612(0x14d)]();})[_0x4893f8(0x109)](_0xa0ceb1=>{const _0xa97508=_0x4893f8;_0xe7ae31['ui'][_0xa97508(0x123)][_0xa97508(0x149)](_0x192470(_0xe7ae31[_0xa97508(0x11b)],_0xa97508(0x12c)));const _0x3a1e4c=_0xa97508(0x136)==typeof _0x595b68[_0xa97508(0x148)]?_0x595b68[_0xa97508(0x148)]():_0x595b68[_0xa97508(0x148)];this[_0xa97508(0x132)](_0xa0ceb1,_0x3a1e4c||_0xa97508(0x137));});})[_0x215d55(0x135)](_0x1d83c5=>{const _0x446c13=_0x215d55,_0x12f8fd=_0xe7ae31[_0x446c13(0x10c)][_0x446c13(0x14f)](_0x446c13(0x102));throw _0xe7ae31['ui'][_0x446c13(0x123)][_0x446c13(0x149)](_0x192470(_0xe7ae31[_0x446c13(0x11b)],_0x446c13(0x116)),{'politeness':_0x446c13(0x13b)}),_0x12f8fd[_0x446c13(0x131)](_0x192470(_0xe7ae31[_0x446c13(0x11b)],_0x446c13(0x14b))),_0x1d83c5;})[_0x215d55(0x117)](()=>{const _0x2a5e61=_0x215d55;this[_0x2a5e61(0x119)]=!0x1,this[_0x2a5e61(0x110)]();});}[_0x11370c(0x132)](_0x4fd9ea,_0xb4eae7){const _0x57b3c4=_0x11370c,_0xa9bca5=document[_0x57b3c4(0x11c)]('a');_0xa9bca5[_0x57b3c4(0x127)]=window[_0x57b3c4(0x12b)][_0x57b3c4(0x12d)](_0x4fd9ea),_0xa9bca5[_0x57b3c4(0x145)]=_0xb4eae7,_0xa9bca5[_0x57b3c4(0x103)](),_0xa9bca5[_0x57b3c4(0x11e)]();}}
23
+ const _0x43f150=_0x2fd0;(function(_0x3dc0ce,_0xfee1df){const _0x4e5f7c=_0x2fd0,_0xf26576=_0x3dc0ce();while(!![]){try{const _0x4485e6=-parseInt(_0x4e5f7c(0x17a))/0x1+-parseInt(_0x4e5f7c(0x1a7))/0x2+parseInt(_0x4e5f7c(0x16b))/0x3*(-parseInt(_0x4e5f7c(0x18a))/0x4)+-parseInt(_0x4e5f7c(0x16c))/0x5*(parseInt(_0x4e5f7c(0x16f))/0x6)+-parseInt(_0x4e5f7c(0x17d))/0x7+parseInt(_0x4e5f7c(0x177))/0x8*(-parseInt(_0x4e5f7c(0x188))/0x9)+parseInt(_0x4e5f7c(0x19e))/0xa*(parseInt(_0x4e5f7c(0x178))/0xb);if(_0x4485e6===_0xfee1df)break;else _0xf26576['push'](_0xf26576['shift']());}catch(_0x17981a){_0xf26576['push'](_0xf26576['shift']());}}}(_0x2861,0xd04d9));function _0x2861(){const _0x1fc549=['createObjectURL','config','version','fetch','value','378tBaLnX','margin_left','52AVtouA','Word\x20document\x20export\x20failed','dataCallback','assertive','Word\x20document\x20export\x20started','application/docx','affectsData','click','margin_right','application/json','suggestions','options','stringify','token','margin_bottom','orientation','editor','execute','https://docx-converter.cke-cs.com/v1/convert','Word\x20document\x20export\x20successful','1330bInwnn','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','POST','ariaLiveAnnouncer','<div\x20class=\x22ck-content\x22\x20dir=\x22','plugins','EDITOR_STYLES','converterOptions','remove','1390556pXKcFo','fileName','createElement','then','stylesheets','set','showWarning','download','export-word-v1-api-is-deprecated','ExportWord','locale','comments','function','refresh','footer','header','auto_pagination','</div>','_token','status','format','Notification','34644oMhfhB','155QGvvDu','_downloadFile','blob','185034wbVRzf','margin_top','catch','isEnabled','document.docx','data','announce','href','267016okMrOn','462649UcJPRn','pending','364470mzkONR','converterUrl','finally','8210461foVAEC','isBusy','contentLanguageDirection','get','https://docx-converter.cke-cs.com/v2/convert/html-docx','URL'];_0x2861=function(){return _0x1fc549;};return _0x2861();}import{Command as _0x1a5651}from'ckeditor5/src/core.js';function _0x2fd0(_0x37b172,_0x5c600b){const _0x286190=_0x2861();return _0x2fd0=function(_0x2fd071,_0x7cf7ed){_0x2fd071=_0x2fd071-0x166;let _0x3fa6e9=_0x286190[_0x2fd071];return _0x3fa6e9;},_0x2fd0(_0x37b172,_0x5c600b);}import{logWarning as _0x5e4e26,collectStylesheets as _0x4834f4}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x5d8fc6,getConverterOptionsV2 as _0x558145}from'./utils.js';import{getTranslation as _0x42db52}from'./utils/common-translations.js';const p=[_0x43f150(0x199),_0x43f150(0x170),_0x43f150(0x192),_0x43f150(0x198),_0x43f150(0x189),_0x43f150(0x169),_0x43f150(0x1b6),_0x43f150(0x1b5),_0x43f150(0x1b2),_0x43f150(0x194)];export class ExportWordCommand extends _0x1a5651{constructor(_0x2d8e7d){const _0x69764f=_0x43f150;super(_0x2d8e7d),this[_0x69764f(0x1ac)](_0x69764f(0x17e),!0x1),this[_0x69764f(0x190)]=!0x1;}[_0x43f150(0x1b4)](){const _0x650eaf=_0x43f150;this[_0x650eaf(0x172)]=!this[_0x650eaf(0x17e)],this[_0x650eaf(0x187)]=this[_0x650eaf(0x17e)]?_0x650eaf(0x179):void 0x0;}[_0x43f150(0x19b)](_0x3a6619={}){const _0xe78de4=_0x43f150,_0x5ea264=this[_0xe78de4(0x19a)],_0x4e36aa=_0x3a6619[_0xe78de4(0x185)]||0x2,_0x350af0=0x1===_0x4e36aa,_0x19fe71=_0x3a6619[_0xe78de4(0x17b)]||(_0x350af0?_0xe78de4(0x19c):_0xe78de4(0x181)),_0xe2e809=_0x3a6619[_0xe78de4(0x1a5)]||{},_0x47796b=_0x5ea264[_0xe78de4(0x1a3)][_0xe78de4(0x180)](_0xe78de4(0x1b0)),_0x572fe0=_0x3a6619[_0xe78de4(0x197)]||_0x47796b[_0xe78de4(0x167)],_0x572261=!0x0===_0xe2e809[_0xe78de4(0x1b7)],_0x435f33=_0x3a6619[_0xe78de4(0x18c)]||(_0x1eb977=>_0x1eb977[_0xe78de4(0x174)][_0xe78de4(0x180)]({'pagination':_0x572261}));return 0x2===_0x4e36aa&&function(_0x450637){for(const _0x4f3055 of p)if(void 0x0!==_0x450637[_0x4f3055])return!0x0;return!0x1;}(_0xe2e809)&&_0x5e4e26(_0xe78de4(0x1af)),this[_0xe78de4(0x17e)]=!0x0,this[_0xe78de4(0x1b4)](),_0x4834f4(_0x3a6619[_0xe78de4(0x1ab)]||[_0xe78de4(0x1a4)])[_0xe78de4(0x1aa)](async _0x276554=>{const _0x37e7b5=_0xe78de4;_0x5ea264['ui'][_0x37e7b5(0x1a1)][_0x37e7b5(0x175)](_0x42db52(_0x5ea264[_0x37e7b5(0x1b1)],_0x37e7b5(0x18e)));const _0x5617c2=await _0x435f33(_0x5ea264),_0x50b1cd={'html':_0x37e7b5(0x1a2)+_0x5ea264[_0x37e7b5(0x1b1)][_0x37e7b5(0x17f)]+'\x22>'+_0x5617c2+_0x37e7b5(0x166),'css':_0x276554,[_0x350af0?_0x37e7b5(0x195):_0x37e7b5(0x184)]:{..._0xe2e809,..._0x350af0?_0x5d8fc6(_0x5ea264,_0xe2e809):_0x558145(_0x5ea264,_0xe2e809)}},_0x3739ef={'method':_0x37e7b5(0x1a0),'headers':{'Content-Type':_0x37e7b5(0x193),'Accept':_0x37e7b5(0x18f),..._0x572fe0?{'Authorization':_0x572fe0[_0x37e7b5(0x187)]}:null},'body':JSON[_0x37e7b5(0x196)](_0x50b1cd)};return window[_0x37e7b5(0x186)](_0x19fe71,_0x3739ef)[_0x37e7b5(0x1aa)](_0x292e0b=>{const _0x3bbb5d=_0x37e7b5;if(0xc8!==_0x292e0b[_0x3bbb5d(0x168)])throw _0x292e0b;return _0x292e0b[_0x3bbb5d(0x16e)]();})[_0x37e7b5(0x1aa)](_0x3a7e83=>{const _0x5d7d78=_0x37e7b5;_0x5ea264['ui'][_0x5d7d78(0x1a1)][_0x5d7d78(0x175)](_0x42db52(_0x5ea264[_0x5d7d78(0x1b1)],_0x5d7d78(0x19d)));const _0x4b942d=_0x5d7d78(0x1b3)==typeof _0x3a6619[_0x5d7d78(0x1a8)]?_0x3a6619[_0x5d7d78(0x1a8)]():_0x3a6619[_0x5d7d78(0x1a8)];this[_0x5d7d78(0x16d)](_0x3a7e83,_0x4b942d||_0x5d7d78(0x173));});})[_0xe78de4(0x171)](_0xdbaa0e=>{const _0x54679a=_0xe78de4,_0x3571b2=_0x5ea264[_0x54679a(0x1a3)][_0x54679a(0x180)](_0x54679a(0x16a));throw _0x5ea264['ui'][_0x54679a(0x1a1)][_0x54679a(0x175)](_0x42db52(_0x5ea264[_0x54679a(0x1b1)],_0x54679a(0x18b)),{'politeness':_0x54679a(0x18d)}),_0x3571b2[_0x54679a(0x1ad)](_0x42db52(_0x5ea264[_0x54679a(0x1b1)],_0x54679a(0x19f))),_0xdbaa0e;})[_0xe78de4(0x17c)](()=>{const _0x18e9a8=_0xe78de4;this[_0x18e9a8(0x17e)]=!0x1,this[_0x18e9a8(0x1b4)]();});}[_0x43f150(0x16d)](_0x48bc5f,_0x5417f8){const _0x5cbb59=_0x43f150,_0x48f9b9=document[_0x5cbb59(0x1a9)]('a');_0x48f9b9[_0x5cbb59(0x176)]=window[_0x5cbb59(0x182)][_0x5cbb59(0x183)](_0x48bc5f),_0x48f9b9[_0x5cbb59(0x1ae)]=_0x5417f8,_0x48f9b9[_0x5cbb59(0x191)](),_0x48f9b9[_0x5cbb59(0x1a6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44d8(){const _0x22dbdb=['isOfficialPlugin','label','29277149oLemfT','isVisible','execute','Exporting\x20Word\x20document','5TseYCF','7743328hXKzzk','409182LaeNje','componentFactory','add','1050tQjkiX','isEnabled','_createButton','5659094iTzmhL','config','ExportWordUI','exportWord','isBusy','focus','3246772BgXwYj','5469430mIiMTz','menuBar:exportWord','init','commands','isOn','pluginName','4342NiHNYf','iconView','9UIMUiE','editor','listenTo','get','bind','isPremiumPlugin','locale','Export\x20to\x20Word','set','view','children','editing','6leHaPr'];_0x44d8=function(){return _0x22dbdb;};return _0x44d8();}const _0x3ad674=_0x193d;(function(_0x109e0b,_0x36b221){const _0x26cbd5=_0x193d,_0x28d78c=_0x109e0b();while(!![]){try{const _0x24005c=parseInt(_0x26cbd5(0xf9))/0x1+parseInt(_0x26cbd5(0x10c))/0x2*(parseInt(_0x26cbd5(0xfc))/0x3)+parseInt(_0x26cbd5(0x105))/0x4*(-parseInt(_0x26cbd5(0xf7))/0x5)+-parseInt(_0x26cbd5(0x11a))/0x6*(parseInt(_0x26cbd5(0xff))/0x7)+-parseInt(_0x26cbd5(0xf8))/0x8+parseInt(_0x26cbd5(0x10e))/0x9*(-parseInt(_0x26cbd5(0x106))/0xa)+parseInt(_0x26cbd5(0x11d))/0xb;if(_0x24005c===_0x36b221)break;else _0x28d78c['push'](_0x28d78c['shift']());}catch(_0x4bc8ba){_0x28d78c['push'](_0x28d78c['shift']());}}}(_0x44d8,0xa9d2d));import{Plugin as _0x9deea9}from'ckeditor5/src/core.js';import{IconExportWord as _0x5b9f49}from'ckeditor5/src/icons.js';import{ButtonView as _0xaad51c,MenuBarMenuListItemButtonView as _0x482e37,SpinnerView as _0x2fa432}from'ckeditor5/src/ui.js';import{getTranslation as _0x48536f}from'./utils/common-translations.js';function _0x193d(_0x4beb61,_0x25c8cf){const _0x44d88c=_0x44d8();return _0x193d=function(_0x193d9f,_0x26651f){_0x193d9f=_0x193d9f-0xf7;let _0x5d80d9=_0x44d88c[_0x193d9f];return _0x5d80d9;},_0x193d(_0x4beb61,_0x25c8cf);}export class ExportWordUI extends _0x9deea9{static get[_0x3ad674(0x10b)](){const _0x5b9f0b=_0x3ad674;return _0x5b9f0b(0x101);}static get[_0x3ad674(0x11b)](){return!0x0;}static get[_0x3ad674(0x113)](){return!0x0;}[_0x3ad674(0x108)](){const _0x3d5cab=_0x3ad674,_0x5704d5=this[_0x3d5cab(0x10f)];_0x5704d5['ui'][_0x3d5cab(0xfa)][_0x3d5cab(0xfb)](_0x3d5cab(0x102),()=>{const _0x10e9f4=_0x3d5cab,_0x34434e=_0x5704d5[_0x10e9f4(0x109)][_0x10e9f4(0x111)](_0x10e9f4(0x102)),_0xfd238=this[_0x10e9f4(0xfe)](_0xaad51c);return _0xfd238[_0x10e9f4(0x116)]({'tooltip':!0x0}),_0xfd238[_0x10e9f4(0x112)](_0x10e9f4(0x10a))['to'](_0x34434e,_0x10e9f4(0x103)),_0xfd238;}),_0x5704d5['ui'][_0x3d5cab(0xfa)][_0x3d5cab(0xfb)](_0x3d5cab(0x107),()=>this[_0x3d5cab(0xfe)](_0x482e37));}[_0x3ad674(0xfe)](_0xc246f5){const _0x4398ff=_0x3ad674,_0x2db75d=this[_0x4398ff(0x10f)],_0x69ed1=_0x2db75d[_0x4398ff(0x100)][_0x4398ff(0x111)](_0x4398ff(0x102))||{},_0x2a3ad5=_0x2db75d[_0x4398ff(0x109)][_0x4398ff(0x111)](_0x4398ff(0x102)),_0x387ee5=new _0xc246f5(_0x2db75d[_0x4398ff(0x114)]),_0x1731c0=new _0x2fa432();return _0x387ee5[_0x4398ff(0x118)][_0x4398ff(0xfb)](_0x1731c0),_0x1731c0[_0x4398ff(0x112)](_0x4398ff(0x11e))['to'](_0x2a3ad5,_0x4398ff(0x103)),_0x387ee5[_0x4398ff(0x10d)][_0x4398ff(0x112)](_0x4398ff(0x11e))['to'](_0x2a3ad5,_0x4398ff(0x103),_0x39461c=>!_0x39461c),_0x387ee5[_0x4398ff(0x116)]({'icon':_0x5b9f49}),_0x387ee5[_0x4398ff(0x112)](_0x4398ff(0xfd))['to'](_0x2a3ad5,_0x4398ff(0xfd)),_0x387ee5[_0x4398ff(0x112)](_0x4398ff(0x11c))['to'](_0x2a3ad5,_0x4398ff(0x103),_0xf294e3=>_0x48536f(_0x2db75d[_0x4398ff(0x114)],_0xf294e3?_0x4398ff(0x120):_0x4398ff(0x115))),this[_0x4398ff(0x110)](_0x387ee5,_0x4398ff(0x11f),()=>{const _0xde9c03=_0x4398ff;_0x2db75d[_0xde9c03(0x11f)](_0xde9c03(0x102),_0x69ed1),_0x2db75d[_0xde9c03(0x119)][_0xde9c03(0x117)][_0xde9c03(0x104)]();}),_0x387ee5;}}
23
+ const _0x35d710=_0xe600;function _0xe600(_0x34adb4,_0x21ae34){const _0x5e2ef0=_0x5e2e();return _0xe600=function(_0xe600ef,_0x4145b5){_0xe600ef=_0xe600ef-0x158;let _0x2353a7=_0x5e2ef0[_0xe600ef];return _0x2353a7;},_0xe600(_0x34adb4,_0x21ae34);}(function(_0x3fac7f,_0x255e91){const _0x117dc9=_0xe600,_0x2c3d24=_0x3fac7f();while(!![]){try{const _0x3d0452=-parseInt(_0x117dc9(0x15b))/0x1+-parseInt(_0x117dc9(0x168))/0x2*(-parseInt(_0x117dc9(0x178))/0x3)+parseInt(_0x117dc9(0x172))/0x4+-parseInt(_0x117dc9(0x15a))/0x5*(parseInt(_0x117dc9(0x174))/0x6)+parseInt(_0x117dc9(0x163))/0x7+-parseInt(_0x117dc9(0x176))/0x8*(parseInt(_0x117dc9(0x166))/0x9)+parseInt(_0x117dc9(0x16c))/0xa*(parseInt(_0x117dc9(0x16a))/0xb);if(_0x3d0452===_0x255e91)break;else _0x2c3d24['push'](_0x2c3d24['shift']());}catch(_0x1d47ef){_0x2c3d24['push'](_0x2c3d24['shift']());}}}(_0x5e2e,0x2f120));import{Plugin as _0x128e67}from'ckeditor5/src/core.js';import{IconExportWord as _0x34fba3}from'ckeditor5/src/icons.js';import{ButtonView as _0x389420,MenuBarMenuListItemButtonView as _0x1d9b9e,SpinnerView as _0x1aac60}from'ckeditor5/src/ui.js';import{getTranslation as _0x4392c8}from'./utils/common-translations.js';function _0x5e2e(){const _0x4127cf=['locale','3390xVJlZq','editing','listenTo','label','editor','focus','1220964uBvdeQ','get','870PjgIKL','exportWord','8KcyYAh','isOn','42tpFwra','isOfficialPlugin','ExportWordUI','execute','iconView','commands','isEnabled','view','isVisible','isPremiumPlugin','add','config','8825nfsWYU','191009kvUwxX','Exporting\x20Word\x20document','pluginName','Export\x20to\x20Word','children','menuBar:exportWord','set','_createButton','683179wKayuW','bind','init','2815713jzxDoM','isBusy','19308MawicO','componentFactory','13453eHOCWg'];_0x5e2e=function(){return _0x4127cf;};return _0x5e2e();}export class ExportWordUI extends _0x128e67{static get[_0x35d710(0x15d)](){const _0x254784=_0x35d710;return _0x254784(0x17a);}static get[_0x35d710(0x179)](){return!0x0;}static get[_0x35d710(0x181)](){return!0x0;}[_0x35d710(0x165)](){const _0x589074=_0x35d710,_0x27e3e0=this[_0x589074(0x170)];_0x27e3e0['ui'][_0x589074(0x169)][_0x589074(0x158)](_0x589074(0x175),()=>{const _0x1af2ba=_0x589074,_0x1cc166=_0x27e3e0[_0x1af2ba(0x17d)][_0x1af2ba(0x173)](_0x1af2ba(0x175)),_0xb06b0a=this[_0x1af2ba(0x162)](_0x389420);return _0xb06b0a[_0x1af2ba(0x161)]({'tooltip':!0x0}),_0xb06b0a[_0x1af2ba(0x164)](_0x1af2ba(0x177))['to'](_0x1cc166,_0x1af2ba(0x167)),_0xb06b0a;}),_0x27e3e0['ui'][_0x589074(0x169)][_0x589074(0x158)](_0x589074(0x160),()=>this[_0x589074(0x162)](_0x1d9b9e));}[_0x35d710(0x162)](_0x5508a0){const _0x51b0d6=_0x35d710,_0x4885a3=this[_0x51b0d6(0x170)],_0x4bc720=_0x4885a3[_0x51b0d6(0x159)][_0x51b0d6(0x173)](_0x51b0d6(0x175))||{},_0x5302b9=_0x4885a3[_0x51b0d6(0x17d)][_0x51b0d6(0x173)](_0x51b0d6(0x175)),_0x22f69b=new _0x5508a0(_0x4885a3[_0x51b0d6(0x16b)]),_0x25a1cf=new _0x1aac60();return _0x22f69b[_0x51b0d6(0x15f)][_0x51b0d6(0x158)](_0x25a1cf),_0x25a1cf[_0x51b0d6(0x164)](_0x51b0d6(0x180))['to'](_0x5302b9,_0x51b0d6(0x167)),_0x22f69b[_0x51b0d6(0x17c)][_0x51b0d6(0x164)](_0x51b0d6(0x180))['to'](_0x5302b9,_0x51b0d6(0x167),_0x5dded4=>!_0x5dded4),_0x22f69b[_0x51b0d6(0x161)]({'icon':_0x34fba3}),_0x22f69b[_0x51b0d6(0x164)](_0x51b0d6(0x17e))['to'](_0x5302b9,_0x51b0d6(0x17e)),_0x22f69b[_0x51b0d6(0x164)](_0x51b0d6(0x16f))['to'](_0x5302b9,_0x51b0d6(0x167),_0xb2852e=>_0x4392c8(_0x4885a3[_0x51b0d6(0x16b)],_0xb2852e?_0x51b0d6(0x15c):_0x51b0d6(0x15e))),this[_0x51b0d6(0x16e)](_0x22f69b,_0x51b0d6(0x17b),()=>{const _0x517fbe=_0x51b0d6;_0x4885a3[_0x517fbe(0x17b)](_0x517fbe(0x175),_0x4bc720),_0x4885a3[_0x517fbe(0x16d)][_0x517fbe(0x17f)][_0x517fbe(0x171)]();}),_0x22f69b;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b4acc,_0x3ebed9){var _0x193b1b=_0x1bbb,_0x390452=_0x4b4acc();while(!![]){try{var _0x2c3e45=-parseInt(_0x193b1b(0xc6))/0x1+-parseInt(_0x193b1b(0xc7))/0x2*(parseInt(_0x193b1b(0xc5))/0x3)+parseInt(_0x193b1b(0xc9))/0x4+parseInt(_0x193b1b(0xca))/0x5*(-parseInt(_0x193b1b(0xc8))/0x6)+-parseInt(_0x193b1b(0xc3))/0x7+parseInt(_0x193b1b(0xc2))/0x8+parseInt(_0x193b1b(0xc4))/0x9;if(_0x2c3e45===_0x3ebed9)break;else _0x390452['push'](_0x390452['shift']());}catch(_0x13290b){_0x390452['push'](_0x390452['shift']());}}}(_0x281f,0x98454));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';function _0x281f(){var _0x117548=['1082247tqEOIW','654517fxjerH','6kvSHFt','3269688ZJCeYn','1200276kCjgOT','10mgvJFL','6067856dzCAbq','3278408ebLdwS','25741377eZhpca'];_0x281f=function(){return _0x117548;};return _0x281f();}function _0x1bbb(_0x3af08a,_0x666698){var _0x281fe5=_0x281f();return _0x1bbb=function(_0x1bbb69,_0x554665){_0x1bbb69=_0x1bbb69-0xc2;var _0x2860d4=_0x281fe5[_0x1bbb69];return _0x2860d4;},_0x1bbb(_0x3af08a,_0x666698);}import'./augmentation.js';
23
+ (function(_0x1eb081,_0x83e6ad){var _0x2fd052=_0x21ff,_0x45d862=_0x1eb081();while(!![]){try{var _0x19860d=parseInt(_0x2fd052(0xa1))/0x1*(-parseInt(_0x2fd052(0x9c))/0x2)+-parseInt(_0x2fd052(0x99))/0x3*(-parseInt(_0x2fd052(0x9f))/0x4)+-parseInt(_0x2fd052(0x97))/0x5+-parseInt(_0x2fd052(0x9a))/0x6*(-parseInt(_0x2fd052(0x9b))/0x7)+parseInt(_0x2fd052(0xa0))/0x8*(-parseInt(_0x2fd052(0x98))/0x9)+parseInt(_0x2fd052(0xa2))/0xa+parseInt(_0x2fd052(0x9e))/0xb*(parseInt(_0x2fd052(0x9d))/0xc);if(_0x19860d===_0x83e6ad)break;else _0x45d862['push'](_0x45d862['shift']());}catch(_0x3c05f7){_0x45d862['push'](_0x45d862['shift']());}}}(_0x38c9,0xd5066));export{ExportWord}from'./exportword.js';function _0x21ff(_0x59c022,_0x17eb7d){var _0x38c9de=_0x38c9();return _0x21ff=function(_0x21ff27,_0x2635ab){_0x21ff27=_0x21ff27-0x97;var _0x462181=_0x38c9de[_0x21ff27];return _0x462181;},_0x21ff(_0x59c022,_0x17eb7d);}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0x38c9(){var _0x5a8f14=['22fxpeoB','1432WihSZN','40CUqqMR','347eoZyFV','15028010SWQtFx','5110870atArdU','2241630bAVVff','9927HqedTW','6MWrapM','1623034zRsROC','2186hXeAop','3600360YoVBUf'];_0x38c9=function(){return _0x5a8f14;};return _0x38c9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1eb4c4,_0xc9f89){const t=_0x1eb4c4['t'];switch(_0xc9f89){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0xc9f89;}}
23
+ export function getTranslation(_0x297eeb,_0x5a9fc5){const t=_0x297eeb['t'];switch(_0x5a9fc5){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 _0x5a9fc5;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x22d60e,_0x4a6d6d){const _0x38daae=_0x4dfc,_0x3c728e=_0x22d60e();while(!![]){try{const _0x391d88=parseInt(_0x38daae(0xe8))/0x1*(parseInt(_0x38daae(0xf7))/0x2)+parseInt(_0x38daae(0xd2))/0x3+parseInt(_0x38daae(0xfb))/0x4+parseInt(_0x38daae(0xf6))/0x5*(-parseInt(_0x38daae(0xef))/0x6)+-parseInt(_0x38daae(0xd7))/0x7+-parseInt(_0x38daae(0xce))/0x8+-parseInt(_0x38daae(0xd5))/0x9*(-parseInt(_0x38daae(0xf2))/0xa);if(_0x391d88===_0x4a6d6d)break;else _0x3c728e['push'](_0x3c728e['shift']());}catch(_0x19a645){_0x3c728e['push'](_0x3c728e['shift']());}}}(_0x9bbc,0xc606d));export function getConverterOptions(_0x52cee1,_0x165049={}){const _0x18c193=_0x4dfc,_0x5ecf11=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xfc)),_0x23e628=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xcb)),_0x36d5b3=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xee)](_0x18c193(0xeb)),_0x4c3dcc=_0x165049;if(_0x5ecf11&&_0x23e628){const _0x402219=getComments(_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xcb))[_0x18c193(0xfe)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x18c193(0xdb)](_0x402219)[_0x18c193(0xd8)]&&(_0x4c3dcc[_0x18c193(0xdd)]=_0x402219);}if(_0x5ecf11&&_0x36d5b3){const _0x1644f5=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xeb)),_0x2df34d=_0x52cee1[_0x18c193(0xe9)][_0x18c193(0xe0)](_0x18c193(0xfc)),_0x5eec05=getSuggestions(_0x1644f5[_0x18c193(0xd3)]({'toJSON':!0x0}),_0x2df34d[_0x18c193(0xd6)]);Object[_0x18c193(0xdb)](_0x5eec05)[_0x18c193(0xd8)]&&(_0x4c3dcc[_0x18c193(0xf3)]=_0x5eec05);}return(_0x4c3dcc[_0x18c193(0xf3)]||_0x4c3dcc[_0x18c193(0xdd)])&&(_0x4c3dcc[_0x18c193(0xf4)]=new Intl[(_0x18c193(0xed))]()[_0x18c193(0x103)]()[_0x18c193(0xe3)]),_0x4c3dcc;}export function getComments(_0x3f3c31){const _0x569df8=_0x4dfc,_0x106084={};if(!_0x3f3c31[_0x569df8(0xd8)])return _0x106084;for(const _0x32686e of _0x3f3c31)_0x32686e[_0x569df8(0xdd)][_0x569df8(0xf8)](_0x482f77=>{const _0x32f121=_0x569df8;void 0x0===_0x106084[_0x32686e['id']]&&(_0x106084[_0x32686e['id']]=[]),_0x106084[_0x32686e['id']][_0x32f121(0xf1)]({'author':_0x482f77[_0x32f121(0xde)][_0x32f121(0xe4)],'content':_0x482f77[_0x32f121(0xd1)],'created':_0x482f77[_0x32f121(0xcd)],'is_resolved':_0x32686e[_0x32f121(0x102)]});});return _0x106084;}function _0x9bbc(){const _0x4a48a1=['MergeFieldsEditing','entries','1SCtTnT','plugins','locale','TrackChanges','getMergeFieldType','DateTimeFormat','has','1849836Ehezmq','data','push','10RckJQf','suggestions','timezone','previewMode','10mekzoj','102680ieYhmC','map','getLabel','getDefaultValues','2847236ctcMqf','Users','config','getCommentThreads','@external','getDataSetValues','authorName','isResolved','resolvedOptions','language','CommentsRepository','contentLanguage','createdAt','12488688GPiZlM','comment_threads','$labels','content','2727006HxqzbN','getSuggestions','image','23473260iNJiRV','users','9040332NLEQsZ','length','$defaultValues','MergeFields','keys','document','comments','author','collaboration_features','get','mergeFields','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','timeZone','name','merge_fields'];_0x9bbc=function(){return _0x4a48a1;};return _0x9bbc();}function _0x4dfc(_0x174cb8,_0x53924c){const _0x9bbc73=_0x9bbc();return _0x4dfc=function(_0x4dfc5b,_0x2f84bb){_0x4dfc5b=_0x4dfc5b-0xcb;let _0x46343a=_0x9bbc73[_0x4dfc5b];return _0x46343a;},_0x4dfc(_0x174cb8,_0x53924c);}export function getSuggestions(_0x9ba735,_0x5f3649){const _0x3380a5=_0x4dfc,_0x5a5e6b={};if(!_0x9ba735[_0x3380a5(0xd8)]||!_0x5f3649[_0x3380a5(0xd8)])return _0x5a5e6b;for(const {id:_0x55a2db,createdAt:_0x47ad9d,authorId:_0x500794,attributes:_0x1aad6a}of _0x9ba735){const _0x1a6bc7=_0x1aad6a&&_0x1aad6a[_0x3380a5(0xff)],_0x5107fa=_0x1a6bc7?_0x1a6bc7[_0x3380a5(0x101)]:_0x5f3649[_0x3380a5(0xe0)](_0x500794)[_0x3380a5(0xe4)];_0x5a5e6b[_0x55a2db]={'author':_0x5107fa,'created':_0x47ad9d};}return _0x5a5e6b;}export function getConverterOptionsV2(_0x503f57,_0x3639b4={}){const _0x18ece7=_0x4dfc,_0x1db293=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xfc)),_0x6681a7=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xcb)),_0x23dd92=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xeb)),_0x122d42=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xee)](_0x18ece7(0xda)),_0x4112d5=_0x503f57[_0x18ece7(0xea)][_0x18ece7(0xcc)],_0x1e9a62=_0x3639b4,_0x109f95={};if(_0x1e9a62[_0x18ece7(0xdc)]=_0x1e9a62[_0x18ece7(0xdc)]||{},_0x1e9a62[_0x18ece7(0xdc)][_0x18ece7(0x104)]=_0x1e9a62[_0x18ece7(0xdc)][_0x18ece7(0x104)]||_0x4112d5,_0x1db293&&_0x6681a7){const _0x2e8a84=getCommentsV2(_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xcb))[_0x18ece7(0xfe)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x2e8a84[_0x18ece7(0xd8)]&&(_0x109f95[_0x18ece7(0xcf)]=_0x2e8a84);}if(_0x1db293&&_0x23dd92){const _0x3c06a3=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xeb)),_0x435334=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xfc)),_0x5d5b5d=getSuggestionsV2(_0x3c06a3[_0x18ece7(0xd3)]({'toJSON':!0x0}),_0x435334[_0x18ece7(0xd6)]);_0x5d5b5d[_0x18ece7(0xd8)]&&(_0x109f95[_0x18ece7(0xf3)]=_0x5d5b5d);}if(_0x122d42){const _0xccca0=_0x503f57[_0x18ece7(0xe9)][_0x18ece7(0xe0)](_0x18ece7(0xe6)),_0x2431bb=_0xccca0[_0x18ece7(0xf5)],{prefix:_0x1dbb69,suffix:_0x764415}=_0x503f57[_0x18ece7(0xfd)][_0x18ece7(0xe0)](_0x18ece7(0xe1));if(_0x1e9a62[_0x18ece7(0xe5)]={'prefix':_0x1dbb69,'suffix':_0x764415},_0x18ece7(0xd0)!==_0x2431bb){_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)]={};const _0x4ec12b=_0x18ece7(0xe2),_0x1fd4de=_0x18ece7(0xd9)===_0x2431bb?_0xccca0[_0x18ece7(0xfa)]():_0xccca0[_0x18ece7(0x100)](_0x2431bb,!0x0);for(const _0x1cd9c1 of Object[_0x18ece7(0xe7)](_0x1fd4de)){const [_0x2ebeac,_0x2246ad]=_0x1cd9c1;_0x18ece7(0xd4)===_0xccca0[_0x18ece7(0xec)](_0x2ebeac)?_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)][_0x2ebeac]=null!==_0x2246ad?_0x2246ad:_0x4ec12b:_0x1e9a62[_0x18ece7(0xe5)][_0x18ece7(0xf0)][_0x2ebeac]=null!==_0x2246ad?_0x2246ad:_0xccca0[_0x18ece7(0xf9)](_0x2ebeac)||_0x2ebeac;}}}return(_0x109f95[_0x18ece7(0xcf)]||_0x109f95[_0x18ece7(0xf3)])&&(_0x1e9a62[_0x18ece7(0xf4)]=new Intl[(_0x18ece7(0xed))]()[_0x18ece7(0x103)]()[_0x18ece7(0xe3)],_0x1e9a62[_0x18ece7(0xdf)]=_0x109f95),_0x1e9a62;}export function getCommentsV2(_0x2a24b6){const _0x584718=_0x4dfc,_0x118368=[];if(!_0x2a24b6[_0x584718(0xd8)])return _0x118368;for(const _0xb26b00 of _0x2a24b6){const _0x49cef8=_0xb26b00[_0x584718(0xdd)][_0x584718(0xf8)](_0x35000a=>({'author':_0x35000a[_0x584718(0xde)][_0x584718(0xe4)],'content':_0x35000a[_0x584718(0xd1)],'created_at':_0x35000a[_0x584718(0xcd)]}));_0x118368[_0x584718(0xf1)]({'thread_id':_0xb26b00['id'],'is_resolved':_0xb26b00[_0x584718(0x102)],'comments':_0x49cef8});}return _0x118368;}export function getSuggestionsV2(_0x2fa2d4,_0x341511){const _0x172be8=_0x4dfc;return _0x2fa2d4[_0x172be8(0xd8)]&&_0x341511[_0x172be8(0xd8)]?_0x2fa2d4[_0x172be8(0xf8)](({id:_0x2653a8,createdAt:_0x4f8db3,authorId:_0x3ce315,attributes:_0x3e1800})=>{const _0x593e6e=_0x172be8,_0x378373=_0x3e1800&&_0x3e1800[_0x593e6e(0xff)];return{'id':_0x2653a8,'author':_0x378373?_0x378373[_0x593e6e(0x101)]:_0x341511[_0x593e6e(0xe0)](_0x3ce315)[_0x593e6e(0xe4)],'created_at':_0x4f8db3};}):[];}
23
+ (function(_0x1c0055,_0x16f1d2){const _0x44a7f3=_0x33bb,_0x47a928=_0x1c0055();while(!![]){try{const _0x2b64e7=parseInt(_0x44a7f3(0x199))/0x1+parseInt(_0x44a7f3(0x19f))/0x2*(parseInt(_0x44a7f3(0x18e))/0x3)+-parseInt(_0x44a7f3(0x183))/0x4*(-parseInt(_0x44a7f3(0x190))/0x5)+-parseInt(_0x44a7f3(0x196))/0x6+-parseInt(_0x44a7f3(0x175))/0x7*(parseInt(_0x44a7f3(0x17e))/0x8)+-parseInt(_0x44a7f3(0x19b))/0x9*(-parseInt(_0x44a7f3(0x184))/0xa)+parseInt(_0x44a7f3(0x185))/0xb*(-parseInt(_0x44a7f3(0x19c))/0xc);if(_0x2b64e7===_0x16f1d2)break;else _0x47a928['push'](_0x47a928['shift']());}catch(_0x6eb796){_0x47a928['push'](_0x47a928['shift']());}}}(_0xbd40,0x545db));function _0x33bb(_0x41b5f2,_0x27a115){const _0xbd4001=_0xbd40();return _0x33bb=function(_0x33bbda,_0x364cb0){_0x33bbda=_0x33bbda-0x174;let _0x16b835=_0xbd4001[_0x33bbda];return _0x16b835;},_0x33bb(_0x41b5f2,_0x27a115);}export function getConverterOptions(_0xe41391,_0x193eb5={}){const _0x1c6db9=_0x33bb,_0x4e859a=_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1ab)](_0x1c6db9(0x188)),_0x1a5af6=_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1ab)](_0x1c6db9(0x197)),_0x3f9af2=_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1ab)](_0x1c6db9(0x1ad)),_0x2cc117=_0x193eb5;if(_0x4e859a&&_0x1a5af6){const _0x41b3b3=getComments(_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1aa)](_0x1c6db9(0x197))[_0x1c6db9(0x1a7)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1c6db9(0x1a6)](_0x41b3b3)[_0x1c6db9(0x19e)]&&(_0x2cc117[_0x1c6db9(0x18d)]=_0x41b3b3);}if(_0x4e859a&&_0x3f9af2){const _0x9d16bc=_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1aa)](_0x1c6db9(0x1ad)),_0xd3f865=_0xe41391[_0x1c6db9(0x1a8)][_0x1c6db9(0x1aa)](_0x1c6db9(0x188)),_0x4a51e8=getSuggestions(_0x9d16bc[_0x1c6db9(0x176)]({'toJSON':!0x0}),_0xd3f865[_0x1c6db9(0x194)]);Object[_0x1c6db9(0x1a6)](_0x4a51e8)[_0x1c6db9(0x19e)]&&(_0x2cc117[_0x1c6db9(0x182)]=_0x4a51e8);}return(_0x2cc117[_0x1c6db9(0x182)]||_0x2cc117[_0x1c6db9(0x18d)])&&(_0x2cc117[_0x1c6db9(0x1af)]=new Intl[(_0x1c6db9(0x198))]()[_0x1c6db9(0x18a)]()[_0x1c6db9(0x1a3)]),_0x2cc117;}export function getComments(_0x40b303){const _0x524e11=_0x33bb,_0x5d53b5={};if(!_0x40b303[_0x524e11(0x19e)])return _0x5d53b5;for(const _0xfdabbc of _0x40b303)_0xfdabbc[_0x524e11(0x18d)][_0x524e11(0x1ae)](_0x4095ad=>{const _0xc1a27f=_0x524e11;void 0x0===_0x5d53b5[_0xfdabbc['id']]&&(_0x5d53b5[_0xfdabbc['id']]=[]),_0x5d53b5[_0xfdabbc['id']][_0xc1a27f(0x17a)]({'author':_0x4095ad[_0xc1a27f(0x195)][_0xc1a27f(0x19a)],'content':_0x4095ad[_0xc1a27f(0x1a0)],'created':_0x4095ad[_0xc1a27f(0x18c)],'is_resolved':_0xfdabbc[_0xc1a27f(0x178)]});});return _0x5d53b5;}function _0xbd40(){const _0x388c97=['isResolved','authorName','push','image','previewMode','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','146952yBUKmz','getMergeFieldType','MergeFieldsEditing','contentLanguage','suggestions','4ESZFPq','290orWOPB','41525GKlAau','getLabel','$defaultValues','Users','@external','resolvedOptions','config','createdAt','comments','138MRdNcS','$labels','3091310WfyFQO','MergeFields','document','language','users','author','198132fJBaRD','CommentsRepository','DateTimeFormat','320302XJUzIY','name','6354kDLZmv','3720mNEEkv','comment_threads','length','26442aLkzaV','content','entries','mergeFields','timeZone','getDataSetValues','getDefaultValues','keys','getCommentThreads','plugins','data','get','has','locale','TrackChanges','map','timezone','merge_fields','7rIStGr','getSuggestions','collaboration_features'];_0xbd40=function(){return _0x388c97;};return _0xbd40();}export function getSuggestions(_0x35384f,_0x2fbc26){const _0x34cb1a=_0x33bb,_0x48efc1={};if(!_0x35384f[_0x34cb1a(0x19e)]||!_0x2fbc26[_0x34cb1a(0x19e)])return _0x48efc1;for(const {id:_0x14eee5,createdAt:_0xb8e2ca,authorId:_0x3803f5,attributes:_0x10a4c7}of _0x35384f){const _0x33920b=_0x10a4c7&&_0x10a4c7[_0x34cb1a(0x189)],_0x17df4a=_0x33920b?_0x33920b[_0x34cb1a(0x179)]:_0x2fbc26[_0x34cb1a(0x1aa)](_0x3803f5)[_0x34cb1a(0x19a)];_0x48efc1[_0x14eee5]={'author':_0x17df4a,'created':_0xb8e2ca};}return _0x48efc1;}export function getConverterOptionsV2(_0x101ac1,_0x20d53b={}){const _0xde250c=_0x33bb,_0x24fa58=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1ab)](_0xde250c(0x188)),_0x584762=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1ab)](_0xde250c(0x197)),_0x47f6db=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1ab)](_0xde250c(0x1ad)),_0x5dac44=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1ab)](_0xde250c(0x191)),_0x1eb000=_0x101ac1[_0xde250c(0x1ac)][_0xde250c(0x181)],_0x54f971=_0x20d53b,_0x43baa9={};if(_0x54f971[_0xde250c(0x192)]=_0x54f971[_0xde250c(0x192)]||{},_0x54f971[_0xde250c(0x192)][_0xde250c(0x193)]=_0x54f971[_0xde250c(0x192)][_0xde250c(0x193)]||_0x1eb000,_0x24fa58&&_0x584762){const _0x681c25=getCommentsV2(_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1aa)](_0xde250c(0x197))[_0xde250c(0x1a7)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x681c25[_0xde250c(0x19e)]&&(_0x43baa9[_0xde250c(0x19d)]=_0x681c25);}if(_0x24fa58&&_0x47f6db){const _0x5ad969=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1aa)](_0xde250c(0x1ad)),_0x513b91=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1aa)](_0xde250c(0x188)),_0x401586=getSuggestionsV2(_0x5ad969[_0xde250c(0x176)]({'toJSON':!0x0}),_0x513b91[_0xde250c(0x194)]);_0x401586[_0xde250c(0x19e)]&&(_0x43baa9[_0xde250c(0x182)]=_0x401586);}if(_0x5dac44){const _0x2f8bbb=_0x101ac1[_0xde250c(0x1a8)][_0xde250c(0x1aa)](_0xde250c(0x180)),_0x32a686=_0x2f8bbb[_0xde250c(0x17c)],{prefix:_0x226e65,suffix:_0x11ba14}=_0x101ac1[_0xde250c(0x18b)][_0xde250c(0x1aa)](_0xde250c(0x1a2));if(_0x54f971[_0xde250c(0x174)]={'prefix':_0x226e65,'suffix':_0x11ba14},_0xde250c(0x18f)!==_0x32a686){_0x54f971[_0xde250c(0x174)][_0xde250c(0x1a9)]={};const _0xbcc23f=_0xde250c(0x17d),_0x412bc5=_0xde250c(0x187)===_0x32a686?_0x2f8bbb[_0xde250c(0x1a5)]():_0x2f8bbb[_0xde250c(0x1a4)](_0x32a686,!0x0);for(const _0x46c31f of Object[_0xde250c(0x1a1)](_0x412bc5)){const [_0x587459,_0x17d9b5]=_0x46c31f;_0xde250c(0x17b)===_0x2f8bbb[_0xde250c(0x17f)](_0x587459)?_0x54f971[_0xde250c(0x174)][_0xde250c(0x1a9)][_0x587459]=null!==_0x17d9b5?_0x17d9b5:_0xbcc23f:_0x54f971[_0xde250c(0x174)][_0xde250c(0x1a9)][_0x587459]=null!==_0x17d9b5?_0x17d9b5:_0x2f8bbb[_0xde250c(0x186)](_0x587459)||_0x587459;}}}return(_0x43baa9[_0xde250c(0x19d)]||_0x43baa9[_0xde250c(0x182)])&&(_0x54f971[_0xde250c(0x1af)]=new Intl[(_0xde250c(0x198))]()[_0xde250c(0x18a)]()[_0xde250c(0x1a3)],_0x54f971[_0xde250c(0x177)]=_0x43baa9),_0x54f971;}export function getCommentsV2(_0x559e72){const _0x4aba40=_0x33bb,_0xeee931=[];if(!_0x559e72[_0x4aba40(0x19e)])return _0xeee931;for(const _0x115933 of _0x559e72){const _0x414b3c=_0x115933[_0x4aba40(0x18d)][_0x4aba40(0x1ae)](_0x19d0f0=>({'author':_0x19d0f0[_0x4aba40(0x195)][_0x4aba40(0x19a)],'content':_0x19d0f0[_0x4aba40(0x1a0)],'created_at':_0x19d0f0[_0x4aba40(0x18c)]}));_0xeee931[_0x4aba40(0x17a)]({'thread_id':_0x115933['id'],'is_resolved':_0x115933[_0x4aba40(0x178)],'comments':_0x414b3c});}return _0xeee931;}export function getSuggestionsV2(_0xcf9a94,_0x540f7c){const _0x11f530=_0x33bb;return _0xcf9a94[_0x11f530(0x19e)]&&_0x540f7c[_0x11f530(0x19e)]?_0xcf9a94[_0x11f530(0x1ae)](({id:_0x293d4b,createdAt:_0x2ee38b,authorId:_0x246da7,attributes:_0x4de440})=>{const _0x4f3d72=_0x11f530,_0x49bab9=_0x4de440&&_0x4de440[_0x4f3d72(0x189)];return{'id':_0x293d4b,'author':_0x49bab9?_0x49bab9[_0x4f3d72(0x179)]:_0x540f7c[_0x4f3d72(0x1aa)](_0x246da7)[_0x4f3d72(0x19a)],'created_at':_0x2ee38b};}):[];}