@ckeditor/ckeditor5-export-word 47.0.0-alpha.1 → 47.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.0.0-alpha.1",
3
+ "version": "47.0.0-alpha.3",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.1",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.1",
35
- "@ckeditor/ckeditor5-comments": "47.0.0-alpha.1",
36
- "@ckeditor/ckeditor5-core": "47.0.0-alpha.1",
37
- "@ckeditor/ckeditor5-icons": "47.0.0-alpha.1",
38
- "@ckeditor/ckeditor5-merge-fields": "47.0.0-alpha.1",
39
- "@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.1",
40
- "@ckeditor/ckeditor5-utils": "47.0.0-alpha.1",
41
- "@ckeditor/ckeditor5-ui": "47.0.0-alpha.1",
42
- "ckeditor5": "47.0.0-alpha.1"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-comments": "47.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-core": "47.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-icons": "47.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.3",
40
+ "@ckeditor/ckeditor5-utils": "47.0.0-alpha.3",
41
+ "@ckeditor/ckeditor5-ui": "47.0.0-alpha.3",
42
+ "ckeditor5": "47.0.0-alpha.3"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e070d=_0x2e4c;(function(_0x51ee61,_0x21db83){const _0x31392b=_0x2e4c,_0x45af4a=_0x51ee61();while(!![]){try{const _0x1d360b=-parseInt(_0x31392b(0x9d))/0x1+-parseInt(_0x31392b(0xab))/0x2+parseInt(_0x31392b(0x9e))/0x3+-parseInt(_0x31392b(0xb6))/0x4+parseInt(_0x31392b(0xa5))/0x5*(-parseInt(_0x31392b(0xb7))/0x6)+parseInt(_0x31392b(0xa2))/0x7*(parseInt(_0x31392b(0xa0))/0x8)+-parseInt(_0x31392b(0xac))/0x9*(parseInt(_0x31392b(0xae))/0xa);if(_0x1d360b===_0x21db83)break;else _0x45af4a['push'](_0x45af4a['shift']());}catch(_0x5bca02){_0x45af4a['push'](_0x45af4a['shift']());}}}(_0x29ea,0x9f22b));import{Plugin as _0x2946ef}from'ckeditor5/src/core.js';import{Notification as _0x71e4c4}from'ckeditor5/src/ui.js';function _0x29ea(){const _0x5923d8=['672990WfqUBJ','tokenUrl','editor','commands','CloudServices','requires','exportWord','config','778948RCsjEa','738FqhAwq','then','isPremiumPlugin','670171yQFmBe','3734376ENXRda','isOfficialPlugin','8TVrDLZ','add','6596555jwhECB','registerTokenUrl','init','265eNUDMI','plugins','ExportWord','get','_token','pluginName','1193224eLhsjl','9JizJoH','token'];_0x29ea=function(){return _0x5923d8;};return _0x29ea();}function _0x2e4c(_0xa55350,_0x4ba949){const _0x29ea90=_0x29ea();return _0x2e4c=function(_0x2e4c04,_0x152015){_0x2e4c04=_0x2e4c04-0x9b;let _0x54764e=_0x29ea90[_0x2e4c04];return _0x54764e;},_0x2e4c(_0xa55350,_0x4ba949);}import{ExportWordCommand as _0x523f1a}from'./exportwordcommand.js';import{ExportWordUI as _0x3bade0}from'./exportwordui.js';export class ExportWord extends _0x2946ef{[_0x4e070d(0xa9)];static get[_0x4e070d(0xaa)](){const _0x543489=_0x4e070d;return _0x543489(0xa7);}static get[_0x4e070d(0x9f)](){return!0x0;}static get[_0x4e070d(0x9c)](){return!0x0;}static get[_0x4e070d(0xb3)](){const _0x11c6e2=_0x4e070d;return[_0x11c6e2(0xb2),_0x71e4c4,_0x3bade0];}[_0x4e070d(0xa4)](){const _0x4eb353=_0x4e070d,_0x24f00b=this[_0x4eb353(0xb0)],_0x9fef91=_0x24f00b[_0x4eb353(0xb5)][_0x4eb353(0xa8)](_0x4eb353(0xb4))||{};_0x24f00b[_0x4eb353(0xb1)][_0x4eb353(0xa1)](_0x4eb353(0xb4),new _0x523f1a(_0x24f00b));const _0xcb107=_0x24f00b[_0x4eb353(0xa6)][_0x4eb353(0xa8)](_0x4eb353(0xb2));!0x1===_0x9fef91[_0x4eb353(0xaf)]?this[_0x4eb353(0xa9)]=null:_0x9fef91[_0x4eb353(0xaf)]?_0xcb107[_0x4eb353(0xa3)](_0x9fef91[_0x4eb353(0xaf)])[_0x4eb353(0x9b)](_0x1e6e30=>{const _0x3e98a5=_0x4eb353;this[_0x3e98a5(0xa9)]=_0x1e6e30;}):this[_0x4eb353(0xa9)]=_0xcb107[_0x4eb353(0xad)];}}
23
+ function _0x5257(_0x233a51,_0x13d52e){const _0xfe9ea0=_0xfe9e();return _0x5257=function(_0x5257d3,_0x3cbc43){_0x5257d3=_0x5257d3-0xe4;let _0x13e1f5=_0xfe9ea0[_0x5257d3];return _0x13e1f5;},_0x5257(_0x233a51,_0x13d52e);}const _0x19d43a=_0x5257;(function(_0x1235af,_0x277672){const _0x3005f6=_0x5257,_0x44494b=_0x1235af();while(!![]){try{const _0x49a770=-parseInt(_0x3005f6(0xe6))/0x1+parseInt(_0x3005f6(0xfb))/0x2+parseInt(_0x3005f6(0xef))/0x3+-parseInt(_0x3005f6(0xf4))/0x4*(-parseInt(_0x3005f6(0xf0))/0x5)+parseInt(_0x3005f6(0xe5))/0x6+parseInt(_0x3005f6(0xf6))/0x7+-parseInt(_0x3005f6(0xf7))/0x8;if(_0x49a770===_0x277672)break;else _0x44494b['push'](_0x44494b['shift']());}catch(_0x13c51e){_0x44494b['push'](_0x44494b['shift']());}}}(_0xfe9e,0x50dd5));import{Plugin as _0x5cd2a1}from'ckeditor5/src/core.js';import{Notification as _0x5456fd}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x24ec1f}from'./exportwordcommand.js';import{ExportWordUI as _0x397e20}from'./exportwordui.js';export class ExportWord extends _0x5cd2a1{[_0x19d43a(0xe9)];static get[_0x19d43a(0xf1)](){const _0x1da3cf=_0x19d43a;return _0x1da3cf(0xed);}static get[_0x19d43a(0xf8)](){return!0x0;}static get[_0x19d43a(0xee)](){return!0x0;}static get[_0x19d43a(0xf5)](){const _0x13ef46=_0x19d43a;return[_0x13ef46(0xeb),_0x5456fd,_0x397e20];}[_0x19d43a(0xf2)](){const _0x4ef5a2=_0x19d43a,_0x39f585=this[_0x4ef5a2(0xe7)],_0x47c932=_0x39f585[_0x4ef5a2(0xfa)][_0x4ef5a2(0xec)](_0x4ef5a2(0xf3))||{};_0x39f585[_0x4ef5a2(0xea)][_0x4ef5a2(0xfe)](_0x4ef5a2(0xf3),new _0x24ec1f(_0x39f585));const _0x2ba29a=_0x39f585[_0x4ef5a2(0xf9)][_0x4ef5a2(0xec)](_0x4ef5a2(0xeb));!0x1===_0x47c932[_0x4ef5a2(0xfd)]?this[_0x4ef5a2(0xe9)]=null:_0x47c932[_0x4ef5a2(0xfd)]?_0x2ba29a[_0x4ef5a2(0xe4)](_0x47c932[_0x4ef5a2(0xfd)])[_0x4ef5a2(0xe8)](_0x4497ac=>{const _0x58be1c=_0x4ef5a2;this[_0x58be1c(0xe9)]=_0x4497ac;}):this[_0x4ef5a2(0xe9)]=_0x2ba29a[_0x4ef5a2(0xfc)];}}function _0xfe9e(){const _0x3896e3=['then','_token','commands','CloudServices','get','ExportWord','isPremiumPlugin','1275105WLnINF','95cWVrmh','pluginName','init','exportWord','61948hBWPMi','requires','2743615JrOnJJ','12057776BbSubG','isOfficialPlugin','plugins','config','1141698UuQtjE','token','tokenUrl','add','registerTokenUrl','2020572jczCUF','180401bnemvu','editor'];_0xfe9e=function(){return _0x3896e3;};return _0xfe9e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1431(_0x49b20a,_0x3337c9){const _0x583031=_0x5830();return _0x1431=function(_0x143103,_0xcdb102){_0x143103=_0x143103-0x1db;let _0x146f7c=_0x583031[_0x143103];return _0x146f7c;},_0x1431(_0x49b20a,_0x3337c9);}const _0x106f48=_0x1431;function _0x5830(){const _0x280f5e=['https://docx-converter.cke-cs.com/v1/convert','</div>','suggestions','href','POST','fetch','87kGdWIQ','margin_left','52889628wajKKk','status','<div\x20class=\x22ck-content\x22\x20dir=\x22','contentLanguageDirection','then','finally','remove','createObjectURL','footer','693869zAULHi','set','ariaLiveAnnouncer','refresh','editor','7830666FsSnXn','version','value','_token','showWarning','Notification','token','affectsData','2668BEMhtn','application/json','100LRXmWr','header','orientation','URL','Word\x20document\x20export\x20successful','18OfcYto','isEnabled','margin_bottom','https://docx-converter.cke-cs.com/v2/convert/html-docx','locale','data','dataCallback','assertive','stringify','EDITOR_STYLES','blob','ExportWord','Word\x20document\x20export\x20failed','converterOptions','execute','config','get','plugins','auto_pagination','stylesheets','isBusy','comments','converterUrl','createElement','17408601gdTKmw','options','pending','format','64tsYraI','document.docx','1084321mDTuAX','margin_right','download','export-word-v1-api-is-deprecated','announce','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','_downloadFile','function','click','5TreoEi','1204408MhkglG','fileName','Word\x20document\x20export\x20started','application/docx','catch','margin_top'];_0x5830=function(){return _0x280f5e;};return _0x5830();}(function(_0x4c0bba,_0x4f80fb){const _0x493013=_0x1431,_0xcd31b5=_0x4c0bba();while(!![]){try{const _0x5529f0=parseInt(_0x493013(0x1fa))/0x1*(-parseInt(_0x493013(0x212))/0x2)+parseInt(_0x493013(0x219))/0x3*(parseInt(_0x493013(0x1ee))/0x4)+parseInt(_0x493013(0x1ed))/0x5*(-parseInt(_0x493013(0x20a))/0x6)+parseInt(_0x493013(0x1e4))/0x7*(-parseInt(_0x493013(0x1e2))/0x8)+-parseInt(_0x493013(0x1de))/0x9+-parseInt(_0x493013(0x214))/0xa*(parseInt(_0x493013(0x205))/0xb)+parseInt(_0x493013(0x1fc))/0xc;if(_0x5529f0===_0x4f80fb)break;else _0xcd31b5['push'](_0xcd31b5['shift']());}catch(_0x3f61bb){_0xcd31b5['push'](_0xcd31b5['shift']());}}}(_0x5830,0xf15c1));import{Command as _0x355197}from'ckeditor5/src/core.js';import{logWarning as _0x346526,collectStylesheets as _0x34667a}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1b21b1,getConverterOptionsV2 as _0xb5a9bb}from'./utils.js';import{getTranslation as _0x48010d}from'./utils/common-translations.js';const p=[_0x106f48(0x216),_0x106f48(0x1f3),_0x106f48(0x1e5),_0x106f48(0x21b),_0x106f48(0x1fb),_0x106f48(0x1e1),_0x106f48(0x215),_0x106f48(0x204),_0x106f48(0x1db),_0x106f48(0x1f6)];export class ExportWordCommand extends _0x355197{constructor(_0x38ed05){const _0x3d8559=_0x106f48;super(_0x38ed05),this[_0x3d8559(0x206)](_0x3d8559(0x22d),!0x1),this[_0x3d8559(0x211)]=!0x1;}[_0x106f48(0x208)](){const _0x5e13c2=_0x106f48;this[_0x5e13c2(0x21a)]=!this[_0x5e13c2(0x22d)],this[_0x5e13c2(0x20c)]=this[_0x5e13c2(0x22d)]?_0x5e13c2(0x1e0):void 0x0;}[_0x106f48(0x227)](_0x458514={}){const _0x35cae8=_0x106f48,_0x346f29=this[_0x35cae8(0x209)],_0x5456e2=_0x458514[_0x35cae8(0x20b)]||0x2,_0x3db6a8=0x1===_0x5456e2,_0xba248b=_0x458514[_0x35cae8(0x1dc)]||(_0x3db6a8?_0x35cae8(0x1f4):_0x35cae8(0x21c)),_0x4bbb2f=_0x458514[_0x35cae8(0x226)]||{},_0x2e0cdb=_0x346f29[_0x35cae8(0x22a)][_0x35cae8(0x229)](_0x35cae8(0x224)),_0x3d4023=_0x458514[_0x35cae8(0x210)]||_0x2e0cdb[_0x35cae8(0x20d)],_0x47935e=!0x0===_0x4bbb2f[_0x35cae8(0x22b)],_0x4b052c=_0x458514[_0x35cae8(0x21f)]||(_0x218699=>_0x218699[_0x35cae8(0x21e)][_0x35cae8(0x229)]({'pagination':_0x47935e}));return 0x2===_0x5456e2&&function(_0x1e83b8){for(const _0x202dae of p)if(void 0x0!==_0x1e83b8[_0x202dae])return!0x0;return!0x1;}(_0x4bbb2f)&&_0x346526(_0x35cae8(0x1e7)),this[_0x35cae8(0x22d)]=!0x0,this[_0x35cae8(0x208)](),_0x34667a(_0x458514[_0x35cae8(0x22c)]||[_0x35cae8(0x222)])[_0x35cae8(0x200)](async _0x3c88f0=>{const _0x11f1b0=_0x35cae8;_0x346f29['ui'][_0x11f1b0(0x207)][_0x11f1b0(0x1e8)](_0x48010d(_0x346f29[_0x11f1b0(0x21d)],_0x11f1b0(0x1f0)));const _0x2b6ab7=await _0x4b052c(_0x346f29),_0x32f353={'html':_0x11f1b0(0x1fe)+_0x346f29[_0x11f1b0(0x21d)][_0x11f1b0(0x1ff)]+'\x22>'+_0x2b6ab7+_0x11f1b0(0x1f5),'css':_0x3c88f0,[_0x3db6a8?_0x11f1b0(0x1df):_0x11f1b0(0x228)]:{..._0x4bbb2f,..._0x3db6a8?_0x1b21b1(_0x346f29,_0x4bbb2f):_0xb5a9bb(_0x346f29,_0x4bbb2f)}},_0x1f1ac5={'method':_0x11f1b0(0x1f8),'headers':{'Content-Type':_0x11f1b0(0x213),'Accept':_0x11f1b0(0x1f1),..._0x3d4023?{'Authorization':_0x3d4023[_0x11f1b0(0x20c)]}:null},'body':JSON[_0x11f1b0(0x221)](_0x32f353)};return window[_0x11f1b0(0x1f9)](_0xba248b,_0x1f1ac5)[_0x11f1b0(0x200)](_0x124538=>{const _0x421f38=_0x11f1b0;if(0xc8!==_0x124538[_0x421f38(0x1fd)])throw _0x124538;return _0x124538[_0x421f38(0x223)]();})[_0x11f1b0(0x200)](_0x2c688a=>{const _0x3e28bf=_0x11f1b0;_0x346f29['ui'][_0x3e28bf(0x207)][_0x3e28bf(0x1e8)](_0x48010d(_0x346f29[_0x3e28bf(0x21d)],_0x3e28bf(0x218)));const _0x174977=_0x3e28bf(0x1eb)==typeof _0x458514[_0x3e28bf(0x1ef)]?_0x458514[_0x3e28bf(0x1ef)]():_0x458514[_0x3e28bf(0x1ef)];this[_0x3e28bf(0x1ea)](_0x2c688a,_0x174977||_0x3e28bf(0x1e3));});})[_0x35cae8(0x1f2)](_0x1ac6ea=>{const _0x50ef57=_0x35cae8,_0x4236c3=_0x346f29[_0x50ef57(0x22a)][_0x50ef57(0x229)](_0x50ef57(0x20f));throw _0x346f29['ui'][_0x50ef57(0x207)][_0x50ef57(0x1e8)](_0x48010d(_0x346f29[_0x50ef57(0x21d)],_0x50ef57(0x225)),{'politeness':_0x50ef57(0x220)}),_0x4236c3[_0x50ef57(0x20e)](_0x48010d(_0x346f29[_0x50ef57(0x21d)],_0x50ef57(0x1e9))),_0x1ac6ea;})[_0x35cae8(0x201)](()=>{const _0x5affa8=_0x35cae8;this[_0x5affa8(0x22d)]=!0x1,this[_0x5affa8(0x208)]();});}[_0x106f48(0x1ea)](_0x1753cf,_0x589bb1){const _0x3f8a52=_0x106f48,_0x2c2823=document[_0x3f8a52(0x1dd)]('a');_0x2c2823[_0x3f8a52(0x1f7)]=window[_0x3f8a52(0x217)][_0x3f8a52(0x203)](_0x1753cf),_0x2c2823[_0x3f8a52(0x1e6)]=_0x589bb1,_0x2c2823[_0x3f8a52(0x1ec)](),_0x2c2823[_0x3f8a52(0x202)]();}}
23
+ const _0x2d9c6=_0x1dc0;function _0x1dc0(_0x4f21a7,_0x98e55e){const _0x35d044=_0x35d0();return _0x1dc0=function(_0x1dc0d5,_0x11f64f){_0x1dc0d5=_0x1dc0d5-0x69;let _0xe661e2=_0x35d044[_0x1dc0d5];return _0xe661e2;},_0x1dc0(_0x4f21a7,_0x98e55e);}(function(_0x2516ce,_0x1078d7){const _0x399a34=_0x1dc0,_0xb9a3d8=_0x2516ce();while(!![]){try{const _0x3719fe=parseInt(_0x399a34(0x6e))/0x1*(parseInt(_0x399a34(0x9b))/0x2)+-parseInt(_0x399a34(0x6c))/0x3+parseInt(_0x399a34(0xb6))/0x4*(-parseInt(_0x399a34(0x6a))/0x5)+parseInt(_0x399a34(0x9f))/0x6+parseInt(_0x399a34(0x89))/0x7+parseInt(_0x399a34(0x90))/0x8*(parseInt(_0x399a34(0x6d))/0x9)+-parseInt(_0x399a34(0xa7))/0xa;if(_0x3719fe===_0x1078d7)break;else _0xb9a3d8['push'](_0xb9a3d8['shift']());}catch(_0x3126cb){_0xb9a3d8['push'](_0xb9a3d8['shift']());}}}(_0x35d0,0xe7e31));import{Command as _0xff7bc8}from'ckeditor5/src/core.js';import{logWarning as _0x535ad3,collectStylesheets as _0x53c5f1}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x559554,getConverterOptionsV2 as _0x37ec4b}from'./utils.js';function _0x35d0(){const _0x28c478=['format','10538178tJFgki','POST','https://docx-converter.cke-cs.com/v1/convert','value','blob','version','_downloadFile','13172872jGkXnl','margin_top','margin_right','stringify','fileName','get','announce','margin_left','status','EDITOR_STYLES','ariaLiveAnnouncer','216IxJFXb','auto_pagination','locale','application/docx','7899342FzgyeC','finally','ExportWord','remove','URL','isBusy','converterOptions','contentLanguageDirection','25780260strAwK','download','Word\x20document\x20export\x20started','pending','dataCallback','function','config','execute','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','Word\x20document\x20export\x20failed','fetch','catch','stylesheets','editor','suggestions','187924XffRnH','converterUrl','_token','isEnabled','data','125jCDtZl','margin_bottom','4932816yadhxP','9JzThYq','17389nXcKqa','https://docx-converter.cke-cs.com/v2/convert/html-docx','options','Notification','set','footer','showWarning','plugins','then','header','assertive','export-word-v1-api-is-deprecated','click','createObjectURL','affectsData','refresh','token','comments','href','<div\x20class=\x22ck-content\x22\x20dir=\x22','createElement','orientation','application/json','document.docx','</div>','Word\x20document\x20export\x20successful'];_0x35d0=function(){return _0x28c478;};return _0x35d0();}import{getTranslation as _0x188f95}from'./utils/common-translations.js';const p=[_0x2d9c6(0x83),_0x2d9c6(0x91),_0x2d9c6(0x92),_0x2d9c6(0x6b),_0x2d9c6(0x97),_0x2d9c6(0x88),_0x2d9c6(0x77),_0x2d9c6(0x73),_0x2d9c6(0x7f),_0x2d9c6(0xb5)];export class ExportWordCommand extends _0xff7bc8{constructor(_0x5688b7){const _0x519827=_0x2d9c6;super(_0x5688b7),this[_0x519827(0x72)](_0x519827(0xa4),!0x1),this[_0x519827(0x7c)]=!0x1;}[_0x2d9c6(0x7d)](){const _0x50ab81=_0x2d9c6;this[_0x50ab81(0xb9)]=!this[_0x50ab81(0xa4)],this[_0x50ab81(0x8c)]=this[_0x50ab81(0xa4)]?_0x50ab81(0xaa):void 0x0;}[_0x2d9c6(0xae)](_0x3bc5df={}){const _0xb5482e=_0x2d9c6,_0x48d790=this[_0xb5482e(0xb4)],_0x1deda8=_0x3bc5df[_0xb5482e(0x8e)]||0x2,_0x2bd949=0x1===_0x1deda8,_0x4b32ee=_0x3bc5df[_0xb5482e(0xb7)]||(_0x2bd949?_0xb5482e(0x8b):_0xb5482e(0x6f)),_0x15def=_0x3bc5df[_0xb5482e(0xa5)]||{},_0x273fa7=_0x48d790[_0xb5482e(0x75)][_0xb5482e(0x95)](_0xb5482e(0xa1)),_0x333fbd=_0x3bc5df[_0xb5482e(0x7e)]||_0x273fa7[_0xb5482e(0xb8)],_0x46df98=!0x0===_0x15def[_0xb5482e(0x9c)],_0x37832c=_0x3bc5df[_0xb5482e(0xab)]||(_0x561020=>_0x561020[_0xb5482e(0x69)][_0xb5482e(0x95)]({'pagination':_0x46df98}));return 0x2===_0x1deda8&&function(_0x26cb7e){for(const _0x3eb3de of p)if(void 0x0!==_0x26cb7e[_0x3eb3de])return!0x0;return!0x1;}(_0x15def)&&_0x535ad3(_0xb5482e(0x79)),this[_0xb5482e(0xa4)]=!0x0,this[_0xb5482e(0x7d)](),_0x53c5f1(_0x3bc5df[_0xb5482e(0xb3)]||[_0xb5482e(0x99)])[_0xb5482e(0x76)](async _0x4e1246=>{const _0x377c=_0xb5482e;_0x48d790['ui'][_0x377c(0x9a)][_0x377c(0x96)](_0x188f95(_0x48d790[_0x377c(0x9d)],_0x377c(0xa9)));const _0x432024=await _0x37832c(_0x48d790),_0x44b4cb={'html':_0x377c(0x81)+_0x48d790[_0x377c(0x9d)][_0x377c(0xa6)]+'\x22>'+_0x432024+_0x377c(0x86),'css':_0x4e1246,[_0x2bd949?_0x377c(0x70):_0x377c(0xad)]:{..._0x15def,..._0x2bd949?_0x559554(_0x48d790,_0x15def):_0x37ec4b(_0x48d790,_0x15def)}},_0x478d0d={'method':_0x377c(0x8a),'headers':{'Content-Type':_0x377c(0x84),'Accept':_0x377c(0x9e),..._0x333fbd?{'Authorization':_0x333fbd[_0x377c(0x8c)]}:null},'body':JSON[_0x377c(0x93)](_0x44b4cb)};return window[_0x377c(0xb1)](_0x4b32ee,_0x478d0d)[_0x377c(0x76)](_0x1b6664=>{const _0x18a6a9=_0x377c;if(0xc8!==_0x1b6664[_0x18a6a9(0x98)])throw _0x1b6664;return _0x1b6664[_0x18a6a9(0x8d)]();})[_0x377c(0x76)](_0x1a55fd=>{const _0x38e463=_0x377c;_0x48d790['ui'][_0x38e463(0x9a)][_0x38e463(0x96)](_0x188f95(_0x48d790[_0x38e463(0x9d)],_0x38e463(0x87)));const _0x3c9587=_0x38e463(0xac)==typeof _0x3bc5df[_0x38e463(0x94)]?_0x3bc5df[_0x38e463(0x94)]():_0x3bc5df[_0x38e463(0x94)];this[_0x38e463(0x8f)](_0x1a55fd,_0x3c9587||_0x38e463(0x85));});})[_0xb5482e(0xb2)](_0x4b8ac4=>{const _0x491a94=_0xb5482e,_0x423109=_0x48d790[_0x491a94(0x75)][_0x491a94(0x95)](_0x491a94(0x71));throw _0x48d790['ui'][_0x491a94(0x9a)][_0x491a94(0x96)](_0x188f95(_0x48d790[_0x491a94(0x9d)],_0x491a94(0xb0)),{'politeness':_0x491a94(0x78)}),_0x423109[_0x491a94(0x74)](_0x188f95(_0x48d790[_0x491a94(0x9d)],_0x491a94(0xaf))),_0x4b8ac4;})[_0xb5482e(0xa0)](()=>{const _0x2e5e9a=_0xb5482e;this[_0x2e5e9a(0xa4)]=!0x1,this[_0x2e5e9a(0x7d)]();});}[_0x2d9c6(0x8f)](_0x1b15ea,_0x20b847){const _0x2d5dae=_0x2d9c6,_0x3fc817=document[_0x2d5dae(0x82)]('a');_0x3fc817[_0x2d5dae(0x80)]=window[_0x2d5dae(0xa3)][_0x2d5dae(0x7b)](_0x1b15ea),_0x3fc817[_0x2d5dae(0xa8)]=_0x20b847,_0x3fc817[_0x2d5dae(0x7a)](),_0x3fc817[_0x2d5dae(0xa2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf858=_0x45fc;(function(_0x13d898,_0x89dfa1){const _0x1db1b7=_0x45fc,_0x50eb41=_0x13d898();while(!![]){try{const _0x36c1bf=parseInt(_0x1db1b7(0x1eb))/0x1*(-parseInt(_0x1db1b7(0x1f0))/0x2)+parseInt(_0x1db1b7(0x1ec))/0x3+parseInt(_0x1db1b7(0x20e))/0x4+parseInt(_0x1db1b7(0x1fe))/0x5+parseInt(_0x1db1b7(0x1f3))/0x6+parseInt(_0x1db1b7(0x1f6))/0x7*(parseInt(_0x1db1b7(0x209))/0x8)+-parseInt(_0x1db1b7(0x1f7))/0x9*(parseInt(_0x1db1b7(0x1ee))/0xa);if(_0x36c1bf===_0x89dfa1)break;else _0x50eb41['push'](_0x50eb41['shift']());}catch(_0x394630){_0x50eb41['push'](_0x50eb41['shift']());}}}(_0x538c,0xa1b20));import{Plugin as _0x1bf2e8}from'ckeditor5/src/core.js';import{IconExportWord as _0xf222a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x16e3df,MenuBarMenuListItemButtonView as _0x218c18,SpinnerView as _0x21177a}from'ckeditor5/src/ui.js';import{getTranslation as _0x51016f}from'./utils/common-translations.js';export class ExportWordUI extends _0x1bf2e8{static get[_0x3bf858(0x204)](){const _0x3dca96=_0x3bf858;return _0x3dca96(0x1f9);}static get[_0x3bf858(0x20b)](){return!0x0;}static get[_0x3bf858(0x1fd)](){return!0x0;}[_0x3bf858(0x1f5)](){const _0x360973=_0x3bf858,_0x104eb8=this[_0x360973(0x211)];_0x104eb8['ui'][_0x360973(0x20f)][_0x360973(0x202)](_0x360973(0x1f8),()=>{const _0x23a872=_0x360973,_0x418a43=_0x104eb8[_0x23a872(0x1ef)][_0x23a872(0x206)](_0x23a872(0x1f8)),_0x52c417=this[_0x23a872(0x20d)](_0x16e3df);return _0x52c417[_0x23a872(0x1f4)]({'tooltip':!0x0}),_0x52c417[_0x23a872(0x1e9)](_0x23a872(0x210))['to'](_0x418a43,_0x23a872(0x201)),_0x52c417;}),_0x104eb8['ui'][_0x360973(0x20f)][_0x360973(0x202)](_0x360973(0x1f2),()=>this[_0x360973(0x20d)](_0x218c18));}[_0x3bf858(0x20d)](_0x1b1d38){const _0x517502=_0x3bf858,_0x250b98=this[_0x517502(0x211)],_0xd60264=_0x250b98[_0x517502(0x1fc)][_0x517502(0x206)](_0x517502(0x1f8))||{},_0x531e24=_0x250b98[_0x517502(0x1ef)][_0x517502(0x206)](_0x517502(0x1f8)),_0x4438d3=new _0x1b1d38(_0x250b98[_0x517502(0x207)]),_0x4a150d=new _0x21177a();return _0x4438d3[_0x517502(0x1fb)][_0x517502(0x202)](_0x4a150d),_0x4a150d[_0x517502(0x1e9)](_0x517502(0x1f1))['to'](_0x531e24,_0x517502(0x201)),_0x4438d3[_0x517502(0x1ea)][_0x517502(0x1e9)](_0x517502(0x1f1))['to'](_0x531e24,_0x517502(0x201),_0x3ee9b3=>!_0x3ee9b3),_0x4438d3[_0x517502(0x1f4)]({'icon':_0xf222a2}),_0x4438d3[_0x517502(0x1e9)](_0x517502(0x1ff))['to'](_0x531e24,_0x517502(0x1ff)),_0x4438d3[_0x517502(0x1e9)](_0x517502(0x200))['to'](_0x531e24,_0x517502(0x201),_0x4c2270=>_0x51016f(_0x250b98[_0x517502(0x207)],_0x4c2270?_0x517502(0x20a):_0x517502(0x208))),this[_0x517502(0x1ed)](_0x4438d3,_0x517502(0x20c),()=>{const _0x5c68db=_0x517502;_0x250b98[_0x5c68db(0x20c)](_0x5c68db(0x1f8),_0xd60264),_0x250b98[_0x5c68db(0x203)][_0x5c68db(0x205)][_0x5c68db(0x1fa)]();}),_0x4438d3;}}function _0x45fc(_0x1bc3c8,_0x477a01){const _0x538cb2=_0x538c();return _0x45fc=function(_0x45fc9d,_0x4bcf27){_0x45fc9d=_0x45fc9d-0x1e9;let _0x4604fc=_0x538cb2[_0x45fc9d];return _0x4604fc;},_0x45fc(_0x1bc3c8,_0x477a01);}function _0x538c(){const _0x1c0580=['2898356oJOlVK','componentFactory','isOn','editor','bind','iconView','309IrgCXn','3035904VsyBzh','listenTo','5899650MXrddk','commands','3554kxOpKu','isVisible','menuBar:exportWord','2741868OWCMUf','set','init','21QfmPJz','27LxMBJA','exportWord','ExportWordUI','focus','children','config','isPremiumPlugin','2674855ksMxLZ','isEnabled','label','isBusy','add','editing','pluginName','view','get','locale','Export\x20to\x20Word','674096ziFMCY','Exporting\x20Word\x20document','isOfficialPlugin','execute','_createButton'];_0x538c=function(){return _0x1c0580;};return _0x538c();}
23
+ function _0x376c(){const _0x13ea3d=['label','focus','_createButton','916eeRCnU','2410248InjMAt','919080ljgfFG','config','isBusy','229yWXGYO','isEnabled','282XopbGp','isVisible','view','exportWord','iconView','editor','componentFactory','init','children','11816MNqCRQ','execute','2135154OKWzve','ExportWordUI','add','Export\x20to\x20Word','Exporting\x20Word\x20document','isOn','commands','listenTo','menuBar:exportWord','bind','61980ixErCJ','set','pluginName','2423600pWWXmv','editing','locale','get','279VkGTJz','isOfficialPlugin','isPremiumPlugin'];_0x376c=function(){return _0x13ea3d;};return _0x376c();}const _0x21c5a6=_0x391b;function _0x391b(_0xbcb937,_0x599d2a){const _0x376c14=_0x376c();return _0x391b=function(_0x391b2d,_0x12c7a4){_0x391b2d=_0x391b2d-0xac;let _0x4f8e58=_0x376c14[_0x391b2d];return _0x4f8e58;},_0x391b(_0xbcb937,_0x599d2a);}(function(_0x51b75d,_0x3f307c){const _0x174416=_0x391b,_0x4b3ffd=_0x51b75d();while(!![]){try{const _0x244a37=parseInt(_0x174416(0xcf))/0x1*(-parseInt(_0x174416(0xca))/0x2)+-parseInt(_0x174416(0xd1))/0x3*(-parseInt(_0x174416(0xb1))/0x4)+parseInt(_0x174416(0xc0))/0x5+-parseInt(_0x174416(0xcb))/0x6+-parseInt(_0x174416(0xb3))/0x7+parseInt(_0x174416(0xcc))/0x8+parseInt(_0x174416(0xc4))/0x9*(parseInt(_0x174416(0xbd))/0xa);if(_0x244a37===_0x3f307c)break;else _0x4b3ffd['push'](_0x4b3ffd['shift']());}catch(_0x5c8817){_0x4b3ffd['push'](_0x4b3ffd['shift']());}}}(_0x376c,0x3ef0f));import{Plugin as _0x277681}from'ckeditor5/src/core.js';import{IconExportWord as _0x519114}from'ckeditor5/src/icons.js';import{ButtonView as _0x3956e0,MenuBarMenuListItemButtonView as _0x4c60f6,SpinnerView as _0xc90ac7}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b190c}from'./utils/common-translations.js';export class ExportWordUI extends _0x277681{static get[_0x21c5a6(0xbf)](){const _0x1fbc0e=_0x21c5a6;return _0x1fbc0e(0xb4);}static get[_0x21c5a6(0xc5)](){return!0x0;}static get[_0x21c5a6(0xc6)](){return!0x0;}[_0x21c5a6(0xaf)](){const _0x22f686=_0x21c5a6,_0x57167a=this[_0x22f686(0xad)];_0x57167a['ui'][_0x22f686(0xae)][_0x22f686(0xb5)](_0x22f686(0xd4),()=>{const _0x4f54a0=_0x22f686,_0x227e32=_0x57167a[_0x4f54a0(0xb9)][_0x4f54a0(0xc3)](_0x4f54a0(0xd4)),_0x4146fd=this[_0x4f54a0(0xc9)](_0x3956e0);return _0x4146fd[_0x4f54a0(0xbe)]({'tooltip':!0x0}),_0x4146fd[_0x4f54a0(0xbc)](_0x4f54a0(0xb8))['to'](_0x227e32,_0x4f54a0(0xce)),_0x4146fd;}),_0x57167a['ui'][_0x22f686(0xae)][_0x22f686(0xb5)](_0x22f686(0xbb),()=>this[_0x22f686(0xc9)](_0x4c60f6));}[_0x21c5a6(0xc9)](_0xcdd564){const _0x3cb744=_0x21c5a6,_0x15a8b8=this[_0x3cb744(0xad)],_0xa4f84a=_0x15a8b8[_0x3cb744(0xcd)][_0x3cb744(0xc3)](_0x3cb744(0xd4))||{},_0x4408af=_0x15a8b8[_0x3cb744(0xb9)][_0x3cb744(0xc3)](_0x3cb744(0xd4)),_0x373ca6=new _0xcdd564(_0x15a8b8[_0x3cb744(0xc2)]),_0x526245=new _0xc90ac7();return _0x373ca6[_0x3cb744(0xb0)][_0x3cb744(0xb5)](_0x526245),_0x526245[_0x3cb744(0xbc)](_0x3cb744(0xd2))['to'](_0x4408af,_0x3cb744(0xce)),_0x373ca6[_0x3cb744(0xac)][_0x3cb744(0xbc)](_0x3cb744(0xd2))['to'](_0x4408af,_0x3cb744(0xce),_0x5aa0f6=>!_0x5aa0f6),_0x373ca6[_0x3cb744(0xbe)]({'icon':_0x519114}),_0x373ca6[_0x3cb744(0xbc)](_0x3cb744(0xd0))['to'](_0x4408af,_0x3cb744(0xd0)),_0x373ca6[_0x3cb744(0xbc)](_0x3cb744(0xc7))['to'](_0x4408af,_0x3cb744(0xce),_0x436e6b=>_0x4b190c(_0x15a8b8[_0x3cb744(0xc2)],_0x436e6b?_0x3cb744(0xb7):_0x3cb744(0xb6))),this[_0x3cb744(0xba)](_0x373ca6,_0x3cb744(0xb2),()=>{const _0x5959c4=_0x3cb744;_0x15a8b8[_0x5959c4(0xb2)](_0x5959c4(0xd4),_0xa4f84a),_0x15a8b8[_0x5959c4(0xc1)][_0x5959c4(0xd3)][_0x5959c4(0xc8)]();}),_0x373ca6;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa5d86,_0x172c00){var _0x2e7752=_0x592d,_0x478e26=_0xa5d86();while(!![]){try{var _0x10bb44=-parseInt(_0x2e7752(0x17b))/0x1+-parseInt(_0x2e7752(0x179))/0x2*(-parseInt(_0x2e7752(0x176))/0x3)+-parseInt(_0x2e7752(0x17c))/0x4+-parseInt(_0x2e7752(0x178))/0x5+-parseInt(_0x2e7752(0x175))/0x6*(parseInt(_0x2e7752(0x17a))/0x7)+-parseInt(_0x2e7752(0x17d))/0x8+parseInt(_0x2e7752(0x177))/0x9;if(_0x10bb44===_0x172c00)break;else _0x478e26['push'](_0x478e26['shift']());}catch(_0x3a058e){_0x478e26['push'](_0x478e26['shift']());}}}(_0x4d71,0x62ecc));function _0x592d(_0x1b6e39,_0x54ef06){var _0x4d714a=_0x4d71();return _0x592d=function(_0x592d48,_0x5a431a){_0x592d48=_0x592d48-0x175;var _0x36f4ab=_0x4d714a[_0x592d48];return _0x36f4ab;},_0x592d(_0x1b6e39,_0x54ef06);}function _0x4d71(){var _0x4b3a23=['77480OtoMqI','2vDoMVm','6944axbttP','729074XAmaQv','2182404DtBprj','4949672nNpZwI','420LGLbvb','538572lKcjNT','19835928iVEuPx'];_0x4d71=function(){return _0x4b3a23;};return _0x4d71();}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
23
+ (function(_0x1c71e0,_0x1ea84a){var _0x4410c5=_0xc926,_0x3c23fc=_0x1c71e0();while(!![]){try{var _0x4fbecf=parseInt(_0x4410c5(0x1d1))/0x1+parseInt(_0x4410c5(0x1cd))/0x2+-parseInt(_0x4410c5(0x1d5))/0x3*(parseInt(_0x4410c5(0x1cf))/0x4)+-parseInt(_0x4410c5(0x1d0))/0x5*(-parseInt(_0x4410c5(0x1d4))/0x6)+-parseInt(_0x4410c5(0x1d2))/0x7+-parseInt(_0x4410c5(0x1cc))/0x8*(-parseInt(_0x4410c5(0x1cb))/0x9)+parseInt(_0x4410c5(0x1d3))/0xa*(-parseInt(_0x4410c5(0x1ce))/0xb);if(_0x4fbecf===_0x1ea84a)break;else _0x3c23fc['push'](_0x3c23fc['shift']());}catch(_0x38d18d){_0x3c23fc['push'](_0x3c23fc['shift']());}}}(_0x4e7e,0x643b5));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';function _0x4e7e(){var _0x3f4366=['31380Orzzqk','12iuKZTf','3972mioQio','1392372kkBVdu','24YAevlk','1572614QCIKcv','3509boYypR','2000WbLBlE','1848665bHgCBU','355204sHEaUP','1900710vjnMbI'];_0x4e7e=function(){return _0x3f4366;};return _0x4e7e();}function _0xc926(_0x243364,_0x121d98){var _0x4e7e12=_0x4e7e();return _0xc926=function(_0xc9268e,_0x7fad96){_0xc9268e=_0xc9268e-0x1cb;var _0x32d49e=_0x4e7e12[_0xc9268e];return _0x32d49e;},_0xc926(_0x243364,_0x121d98);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x28e299,_0x32ff21){const t=_0x28e299['t'];switch(_0x32ff21){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 _0x32ff21;}}
23
+ export function getTranslation(_0x9bdf2a,_0x1acb56){const t=_0x9bdf2a['t'];switch(_0x1acb56){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 _0x1acb56;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ddb(_0xe3a6bf,_0xffada0){const _0x4d0681=_0x4d06();return _0x2ddb=function(_0x2ddbc3,_0x340d74){_0x2ddbc3=_0x2ddbc3-0x16b;let _0x559fbb=_0x4d0681[_0x2ddbc3];return _0x559fbb;},_0x2ddb(_0xe3a6bf,_0xffada0);}(function(_0x2089a4,_0x11eb96){const _0x39b5e1=_0x2ddb,_0x594a5a=_0x2089a4();while(!![]){try{const _0x424edf=parseInt(_0x39b5e1(0x17e))/0x1+-parseInt(_0x39b5e1(0x195))/0x2*(-parseInt(_0x39b5e1(0x16f))/0x3)+parseInt(_0x39b5e1(0x182))/0x4*(-parseInt(_0x39b5e1(0x1a2))/0x5)+-parseInt(_0x39b5e1(0x196))/0x6*(-parseInt(_0x39b5e1(0x1a6))/0x7)+parseInt(_0x39b5e1(0x191))/0x8*(-parseInt(_0x39b5e1(0x185))/0x9)+parseInt(_0x39b5e1(0x184))/0xa+parseInt(_0x39b5e1(0x171))/0xb*(-parseInt(_0x39b5e1(0x1a3))/0xc);if(_0x424edf===_0x11eb96)break;else _0x594a5a['push'](_0x594a5a['shift']());}catch(_0x61b19c){_0x594a5a['push'](_0x594a5a['shift']());}}}(_0x4d06,0x8b152));function _0x4d06(){const _0x36f232=['$defaultValues','content','data','language','length','10sKrhxH','10302444KqTBPN','entries','getMergeFieldType','5975494gGkpfb','config','has','CommentsRepository','get','3tMIanC','locale','11mQxiHJ','keys','comments','timeZone','map','MergeFields','authorName','getDefaultValues','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','name','resolvedOptions','isResolved','DateTimeFormat','910968inUYWn','document','image','suggestions','449208KWjfaW','comment_threads','1329260CNCjOp','1314IsKAQr','timezone','createdAt','getSuggestions','getDataSetValues','@external','mergeFields','plugins','merge_fields','TrackChanges','push','Users','43496akMBIA','author','getLabel','collaboration_features','1098178mzZaib','6oGvRJG','$labels','getCommentThreads','MergeFieldsEditing','users','contentLanguage','previewMode'];_0x4d06=function(){return _0x36f232;};return _0x4d06();}export function getConverterOptions(_0x3d920b,_0x500ac7={}){const _0x44a7d4=_0x2ddb,_0x24a427=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x190)),_0x1192d1=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x16d)),_0x121985=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x18e)),_0x6df214=_0x500ac7;if(_0x24a427&&_0x1192d1){const _0x34d618=getComments(_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x16d))[_0x44a7d4(0x198)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x44a7d4(0x172)](_0x34d618)[_0x44a7d4(0x1a1)]&&(_0x6df214[_0x44a7d4(0x173)]=_0x34d618);}if(_0x24a427&&_0x121985){const _0x5fc4ff=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x18e)),_0x46eb99=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x190)),_0x4a4d87=getSuggestions(_0x5fc4ff[_0x44a7d4(0x188)]({'toJSON':!0x0}),_0x46eb99[_0x44a7d4(0x19a)]);Object[_0x44a7d4(0x172)](_0x4a4d87)[_0x44a7d4(0x1a1)]&&(_0x6df214[_0x44a7d4(0x181)]=_0x4a4d87);}return(_0x6df214[_0x44a7d4(0x181)]||_0x6df214[_0x44a7d4(0x173)])&&(_0x6df214[_0x44a7d4(0x186)]=new Intl[(_0x44a7d4(0x17d))]()[_0x44a7d4(0x17b)]()[_0x44a7d4(0x174)]),_0x6df214;}export function getComments(_0xe80e74){const _0x36b2de=_0x2ddb,_0x1672c8={};if(!_0xe80e74[_0x36b2de(0x1a1)])return _0x1672c8;for(const _0xad2993 of _0xe80e74)_0xad2993[_0x36b2de(0x173)][_0x36b2de(0x175)](_0x51b43b=>{const _0x39f991=_0x36b2de;void 0x0===_0x1672c8[_0xad2993['id']]&&(_0x1672c8[_0xad2993['id']]=[]),_0x1672c8[_0xad2993['id']][_0x39f991(0x18f)]({'author':_0x51b43b[_0x39f991(0x192)][_0x39f991(0x17a)],'content':_0x51b43b[_0x39f991(0x19e)],'created':_0x51b43b[_0x39f991(0x187)],'is_resolved':_0xad2993[_0x39f991(0x17c)]});});return _0x1672c8;}export function getSuggestions(_0x545e70,_0x179ca7){const _0x4dff78=_0x2ddb,_0x54d912={};if(!_0x545e70[_0x4dff78(0x1a1)]||!_0x179ca7[_0x4dff78(0x1a1)])return _0x54d912;for(const {id:_0xe46e40,createdAt:_0x40b082,authorId:_0x5a3bcc,attributes:_0x461ba8}of _0x545e70){const _0x294014=_0x461ba8&&_0x461ba8[_0x4dff78(0x18a)],_0x5f213c=_0x294014?_0x294014[_0x4dff78(0x177)]:_0x179ca7[_0x4dff78(0x16e)](_0x5a3bcc)[_0x4dff78(0x17a)];_0x54d912[_0xe46e40]={'author':_0x5f213c,'created':_0x40b082};}return _0x54d912;}export function getConverterOptionsV2(_0x26958e,_0x3cd93d={}){const _0x3db372=_0x2ddb,_0x560f75=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x190)),_0x280f24=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x16d)),_0x49df50=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x18e)),_0x111e8f=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x176)),_0x569add=_0x26958e[_0x3db372(0x170)][_0x3db372(0x19b)],_0xfc043a=_0x3cd93d,_0x2ad08e={};if(_0xfc043a[_0x3db372(0x17f)]=_0xfc043a[_0x3db372(0x17f)]||{},_0xfc043a[_0x3db372(0x17f)][_0x3db372(0x1a0)]=_0xfc043a[_0x3db372(0x17f)][_0x3db372(0x1a0)]||_0x569add,_0x560f75&&_0x280f24){const _0x50887c=getCommentsV2(_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x16d))[_0x3db372(0x198)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x50887c[_0x3db372(0x1a1)]&&(_0x2ad08e[_0x3db372(0x183)]=_0x50887c);}if(_0x560f75&&_0x49df50){const _0x48ba86=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x18e)),_0x43b97e=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x190)),_0x31351f=getSuggestionsV2(_0x48ba86[_0x3db372(0x188)]({'toJSON':!0x0}),_0x43b97e[_0x3db372(0x19a)]);_0x31351f[_0x3db372(0x1a1)]&&(_0x2ad08e[_0x3db372(0x181)]=_0x31351f);}if(_0x111e8f){const _0x5bdcd2=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x199)),_0x4020c4=_0x5bdcd2[_0x3db372(0x19c)],{prefix:_0x50b83a,suffix:_0x44e9b0}=_0x26958e[_0x3db372(0x16b)][_0x3db372(0x16e)](_0x3db372(0x18b));if(_0xfc043a[_0x3db372(0x18d)]={'prefix':_0x50b83a,'suffix':_0x44e9b0},_0x3db372(0x197)!==_0x4020c4){_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)]={};const _0x518c61=_0x3db372(0x179),_0x1ad8d3=_0x3db372(0x19d)===_0x4020c4?_0x5bdcd2[_0x3db372(0x178)]():_0x5bdcd2[_0x3db372(0x189)](_0x4020c4,!0x0);for(const _0x3cb132 of Object[_0x3db372(0x1a4)](_0x1ad8d3)){const [_0x1beadc,_0x2b5a43]=_0x3cb132;_0x3db372(0x180)===_0x5bdcd2[_0x3db372(0x1a5)](_0x1beadc)?_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)][_0x1beadc]=null!==_0x2b5a43?_0x2b5a43:_0x518c61:_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)][_0x1beadc]=null!==_0x2b5a43?_0x2b5a43:_0x5bdcd2[_0x3db372(0x193)](_0x1beadc)||_0x1beadc;}}}return(_0x2ad08e[_0x3db372(0x183)]||_0x2ad08e[_0x3db372(0x181)])&&(_0xfc043a[_0x3db372(0x186)]=new Intl[(_0x3db372(0x17d))]()[_0x3db372(0x17b)]()[_0x3db372(0x174)],_0xfc043a[_0x3db372(0x194)]=_0x2ad08e),_0xfc043a;}export function getCommentsV2(_0x6a5ebe){const _0x7c2697=_0x2ddb,_0xf8ce66=[];if(!_0x6a5ebe[_0x7c2697(0x1a1)])return _0xf8ce66;for(const _0xb6be8e of _0x6a5ebe){const _0x59b9e1=_0xb6be8e[_0x7c2697(0x173)][_0x7c2697(0x175)](_0xb96605=>({'author':_0xb96605[_0x7c2697(0x192)][_0x7c2697(0x17a)],'content':_0xb96605[_0x7c2697(0x19e)],'created_at':_0xb96605[_0x7c2697(0x187)]}));_0xf8ce66[_0x7c2697(0x18f)]({'thread_id':_0xb6be8e['id'],'is_resolved':_0xb6be8e[_0x7c2697(0x17c)],'comments':_0x59b9e1});}return _0xf8ce66;}export function getSuggestionsV2(_0x4cf624,_0x200a45){const _0x55c8b3=_0x2ddb;return _0x4cf624[_0x55c8b3(0x1a1)]&&_0x200a45[_0x55c8b3(0x1a1)]?_0x4cf624[_0x55c8b3(0x175)](({id:_0x1741f4,createdAt:_0x16b817,authorId:_0x3b2b69,attributes:_0x32cf77})=>{const _0x2c955d=_0x55c8b3,_0x3a6158=_0x32cf77&&_0x32cf77[_0x2c955d(0x18a)];return{'id':_0x1741f4,'author':_0x3a6158?_0x3a6158[_0x2c955d(0x177)]:_0x200a45[_0x2c955d(0x16e)](_0x3b2b69)[_0x2c955d(0x17a)],'created_at':_0x16b817};}):[];}
23
+ (function(_0x325d8c,_0x4507ca){const _0x2605fb=_0x31d3,_0x15f3b7=_0x325d8c();while(!![]){try{const _0x550cab=parseInt(_0x2605fb(0x1f1))/0x1+-parseInt(_0x2605fb(0x1f3))/0x2*(parseInt(_0x2605fb(0x205))/0x3)+parseInt(_0x2605fb(0x1ee))/0x4+-parseInt(_0x2605fb(0x206))/0x5*(parseInt(_0x2605fb(0x1fe))/0x6)+-parseInt(_0x2605fb(0x21a))/0x7+parseInt(_0x2605fb(0x203))/0x8*(-parseInt(_0x2605fb(0x20e))/0x9)+parseInt(_0x2605fb(0x208))/0xa;if(_0x550cab===_0x4507ca)break;else _0x15f3b7['push'](_0x15f3b7['shift']());}catch(_0x5496c6){_0x15f3b7['push'](_0x15f3b7['shift']());}}}(_0x59ff,0x692bd));export function getConverterOptions(_0x27d181,_0x585134={}){const _0x1d32c8=_0x31d3,_0x25a3f0=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x1fa)),_0x59bbd9=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x1fc)),_0x3cc6da=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x213)),_0x51a02c=_0x585134;if(_0x25a3f0&&_0x59bbd9){const _0x61f5a7=getComments(_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x1fc))[_0x1d32c8(0x221)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1d32c8(0x1f4)](_0x61f5a7)[_0x1d32c8(0x21d)]&&(_0x51a02c[_0x1d32c8(0x204)]=_0x61f5a7);}if(_0x25a3f0&&_0x3cc6da){const _0x887e87=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x213)),_0x58eea1=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x1fa)),_0x3ced23=getSuggestions(_0x887e87[_0x1d32c8(0x212)]({'toJSON':!0x0}),_0x58eea1[_0x1d32c8(0x1f2)]);Object[_0x1d32c8(0x1f4)](_0x3ced23)[_0x1d32c8(0x21d)]&&(_0x51a02c[_0x1d32c8(0x20d)]=_0x3ced23);}return(_0x51a02c[_0x1d32c8(0x20d)]||_0x51a02c[_0x1d32c8(0x204)])&&(_0x51a02c[_0x1d32c8(0x222)]=new Intl[(_0x1d32c8(0x1f5))]()[_0x1d32c8(0x21c)]()[_0x1d32c8(0x201)]),_0x51a02c;}export function getComments(_0x37e9e4){const _0x2d8350=_0x31d3,_0x41d97a={};if(!_0x37e9e4[_0x2d8350(0x21d)])return _0x41d97a;for(const _0x502ace of _0x37e9e4)_0x502ace[_0x2d8350(0x204)][_0x2d8350(0x218)](_0x4ca34d=>{const _0x1493ae=_0x2d8350;void 0x0===_0x41d97a[_0x502ace['id']]&&(_0x41d97a[_0x502ace['id']]=[]),_0x41d97a[_0x502ace['id']][_0x1493ae(0x214)]({'author':_0x4ca34d[_0x1493ae(0x20a)][_0x1493ae(0x20b)],'content':_0x4ca34d[_0x1493ae(0x217)],'created':_0x4ca34d[_0x1493ae(0x211)],'is_resolved':_0x502ace[_0x1493ae(0x1f6)]});});return _0x41d97a;}export function getSuggestions(_0x7cc506,_0x54c0a2){const _0x13d337=_0x31d3,_0x3aa805={};if(!_0x7cc506[_0x13d337(0x21d)]||!_0x54c0a2[_0x13d337(0x21d)])return _0x3aa805;for(const {id:_0x3f34e5,createdAt:_0x196cd,authorId:_0x8e5e8b,attributes:_0x42c626}of _0x7cc506){const _0x191e2c=_0x42c626&&_0x42c626[_0x13d337(0x1ec)],_0x277c79=_0x191e2c?_0x191e2c[_0x13d337(0x20c)]:_0x54c0a2[_0x13d337(0x21f)](_0x8e5e8b)[_0x13d337(0x20b)];_0x3aa805[_0x3f34e5]={'author':_0x277c79,'created':_0x196cd};}return _0x3aa805;}export function getConverterOptionsV2(_0x47cbe0,_0x47c57d={}){const _0x5667eb=_0x31d3,_0xf256c3=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x1fa)),_0x262f0f=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x1fc)),_0x4ec765=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x213)),_0x10c35f=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x210)),_0x38745c=_0x47cbe0[_0x5667eb(0x1ed)][_0x5667eb(0x220)],_0x3a3c8c=_0x47c57d,_0x3977b2={};if(_0x3a3c8c[_0x5667eb(0x219)]=_0x3a3c8c[_0x5667eb(0x219)]||{},_0x3a3c8c[_0x5667eb(0x219)][_0x5667eb(0x224)]=_0x3a3c8c[_0x5667eb(0x219)][_0x5667eb(0x224)]||_0x38745c,_0xf256c3&&_0x262f0f){const _0x3aac75=getCommentsV2(_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x1fc))[_0x5667eb(0x221)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3aac75[_0x5667eb(0x21d)]&&(_0x3977b2[_0x5667eb(0x200)]=_0x3aac75);}if(_0xf256c3&&_0x4ec765){const _0x265a8a=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x213)),_0x2572d2=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x1fa)),_0x21f6d8=getSuggestionsV2(_0x265a8a[_0x5667eb(0x212)]({'toJSON':!0x0}),_0x2572d2[_0x5667eb(0x1f2)]);_0x21f6d8[_0x5667eb(0x21d)]&&(_0x3977b2[_0x5667eb(0x20d)]=_0x21f6d8);}if(_0x10c35f){const _0x20871b=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x225)),_0x47f0d6=_0x20871b[_0x5667eb(0x21e)],{prefix:_0x5e029e,suffix:_0xc6df92}=_0x47cbe0[_0x5667eb(0x215)][_0x5667eb(0x21f)](_0x5667eb(0x216));if(_0x3a3c8c[_0x5667eb(0x1fd)]={'prefix':_0x5e029e,'suffix':_0xc6df92},_0x5667eb(0x1fb)!==_0x47f0d6){_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)]={};const _0x22997d=_0x5667eb(0x1f8),_0x3d8c73=_0x5667eb(0x207)===_0x47f0d6?_0x20871b[_0x5667eb(0x1f0)]():_0x20871b[_0x5667eb(0x1f9)](_0x47f0d6,!0x0);for(const _0x514a36 of Object[_0x5667eb(0x21b)](_0x3d8c73)){const [_0x1201e9,_0x358f28]=_0x514a36;_0x5667eb(0x1ff)===_0x20871b[_0x5667eb(0x1ef)](_0x1201e9)?_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)][_0x1201e9]=null!==_0x358f28?_0x358f28:_0x22997d:_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)][_0x1201e9]=null!==_0x358f28?_0x358f28:_0x20871b[_0x5667eb(0x223)](_0x1201e9)||_0x1201e9;}}}return(_0x3977b2[_0x5667eb(0x200)]||_0x3977b2[_0x5667eb(0x20d)])&&(_0x3a3c8c[_0x5667eb(0x222)]=new Intl[(_0x5667eb(0x1f5))]()[_0x5667eb(0x21c)]()[_0x5667eb(0x201)],_0x3a3c8c[_0x5667eb(0x209)]=_0x3977b2),_0x3a3c8c;}function _0x31d3(_0x5e6176,_0x497ed0){const _0x59ff46=_0x59ff();return _0x31d3=function(_0x31d3af,_0x58bfb7){_0x31d3af=_0x31d3af-0x1ec;let _0x55f23a=_0x59ff46[_0x31d3af];return _0x55f23a;},_0x31d3(_0x5e6176,_0x497ed0);}export function getCommentsV2(_0x38b332){const _0x3b236f=_0x31d3,_0x21d882=[];if(!_0x38b332[_0x3b236f(0x21d)])return _0x21d882;for(const _0x4ab45a of _0x38b332){const _0x3108a4=_0x4ab45a[_0x3b236f(0x204)][_0x3b236f(0x218)](_0x3a2d81=>({'author':_0x3a2d81[_0x3b236f(0x20a)][_0x3b236f(0x20b)],'content':_0x3a2d81[_0x3b236f(0x217)],'created_at':_0x3a2d81[_0x3b236f(0x211)]}));_0x21d882[_0x3b236f(0x214)]({'thread_id':_0x4ab45a['id'],'is_resolved':_0x4ab45a[_0x3b236f(0x1f6)],'comments':_0x3108a4});}return _0x21d882;}export function getSuggestionsV2(_0x160fdd,_0x19171a){const _0x1554ad=_0x31d3;return _0x160fdd[_0x1554ad(0x21d)]&&_0x19171a[_0x1554ad(0x21d)]?_0x160fdd[_0x1554ad(0x218)](({id:_0x4fcdc3,createdAt:_0x4d0a99,authorId:_0x22c3cd,attributes:_0x2c52ef})=>{const _0x17ba07=_0x1554ad,_0xb99c99=_0x2c52ef&&_0x2c52ef[_0x17ba07(0x1ec)];return{'id':_0x4fcdc3,'author':_0xb99c99?_0xb99c99[_0x17ba07(0x20c)]:_0x19171a[_0x17ba07(0x21f)](_0x22c3cd)[_0x17ba07(0x20b)],'created_at':_0x4d0a99};}):[];}function _0x59ff(){const _0x566570=['getMergeFieldType','getDefaultValues','843567LAubIw','users','2Uwemvn','keys','DateTimeFormat','isResolved','has','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','getDataSetValues','Users','$labels','CommentsRepository','merge_fields','30WrcgMw','image','comment_threads','timeZone','data','10376ZaSJAh','comments','406176YMmMed','513655TikHyT','$defaultValues','1602860fOnjez','collaboration_features','author','name','authorName','suggestions','423MLIWZt','plugins','MergeFields','createdAt','getSuggestions','TrackChanges','push','config','mergeFields','content','map','document','1716365TIrkup','entries','resolvedOptions','length','previewMode','get','contentLanguage','getCommentThreads','timezone','getLabel','language','MergeFieldsEditing','@external','locale','1528516qaLwdN'];_0x59ff=function(){return _0x566570;};return _0x59ff();}