@ckeditor/ckeditor5-export-word 44.2.0-alpha.7 → 44.2.0-alpha.8

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 (153) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/exportword.js +1 -1
  149. package/src/exportwordcommand.js +1 -1
  150. package/src/exportwordui.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/utils/common-translations.js +1 -1
  153. 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": "44.2.0-alpha.7",
3
+ "version": "44.2.0-alpha.8",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,15 +30,15 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "44.2.0-alpha.7",
34
- "@ckeditor/ckeditor5-collaboration-core": "44.2.0-alpha.7",
35
- "@ckeditor/ckeditor5-comments": "44.2.0-alpha.7",
36
- "@ckeditor/ckeditor5-core": "44.2.0-alpha.7",
37
- "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.7",
38
- "@ckeditor/ckeditor5-track-changes": "44.2.0-alpha.7",
39
- "@ckeditor/ckeditor5-utils": "44.2.0-alpha.7",
40
- "@ckeditor/ckeditor5-ui": "44.2.0-alpha.7",
41
- "ckeditor5": "44.2.0-alpha.7"
33
+ "@ckeditor/ckeditor5-cloud-services": "44.2.0-alpha.8",
34
+ "@ckeditor/ckeditor5-collaboration-core": "44.2.0-alpha.8",
35
+ "@ckeditor/ckeditor5-comments": "44.2.0-alpha.8",
36
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.8",
37
+ "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.8",
38
+ "@ckeditor/ckeditor5-track-changes": "44.2.0-alpha.8",
39
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.8",
40
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.8",
41
+ "ckeditor5": "44.2.0-alpha.8"
42
42
  },
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x588c(){const _0x13dde7=['plugins','60583842jazWft','3599324TjdzMr','ExportWord','isOfficialPlugin','then','CloudServices','get','tokenUrl','isPremiumPlugin','init','pluginName','exportWord','commands','1608RMkeNw','add','9402225jsnXEW','registerTokenUrl','15855BIUtPk','_token','token','1229279bzUshP','8795392rUAKJh','requires','996JJLvSa','editor','3730LxvyVe','config'];_0x588c=function(){return _0x13dde7;};return _0x588c();}const _0xa3314=_0x4d9e;function _0x4d9e(_0x238774,_0x338b02){const _0x588c7d=_0x588c();return _0x4d9e=function(_0x4d9e79,_0x3fffd0){_0x4d9e79=_0x4d9e79-0xdf;let _0x304823=_0x588c7d[_0x4d9e79];return _0x304823;},_0x4d9e(_0x238774,_0x338b02);}(function(_0x5d2d68,_0x4cdb92){const _0x290438=_0x4d9e,_0x475218=_0x5d2d68();while(!![]){try{const _0x222972=-parseInt(_0x290438(0xee))/0x1+parseInt(_0x290438(0xf3))/0x2*(-parseInt(_0x290438(0xf1))/0x3)+-parseInt(_0x290438(0xf7))/0x4+-parseInt(_0x290438(0xeb))/0x5*(parseInt(_0x290438(0xe7))/0x6)+-parseInt(_0x290438(0xe9))/0x7+-parseInt(_0x290438(0xef))/0x8+parseInt(_0x290438(0xf6))/0x9;if(_0x222972===_0x4cdb92)break;else _0x475218['push'](_0x475218['shift']());}catch(_0x5bbe9c){_0x475218['push'](_0x475218['shift']());}}}(_0x588c,0xa8a85));import{Plugin as _0x22232d}from'ckeditor5/src/core.js';import{Notification as _0x2a90ac}from'ckeditor5/src/ui.js';import _0x48b06c from'./exportwordcommand.js';import _0x211ed1 from'./exportwordui.js';export default class s extends _0x22232d{static get[_0xa3314(0xe4)](){const _0x1c8a15=_0xa3314;return _0x1c8a15(0xf8);}static get[_0xa3314(0xf9)](){return!0x0;}static get[_0xa3314(0xe2)](){return!0x0;}static get[_0xa3314(0xf0)](){const _0x314b31=_0xa3314;return[_0x314b31(0xdf),_0x2a90ac,_0x211ed1];}[_0xa3314(0xe3)](){const _0x57340b=_0xa3314,_0x4163a2=this[_0x57340b(0xf2)],_0x528002=_0x4163a2[_0x57340b(0xf4)][_0x57340b(0xe0)](_0x57340b(0xe5))||{};_0x4163a2[_0x57340b(0xe6)][_0x57340b(0xe8)](_0x57340b(0xe5),new _0x48b06c(_0x4163a2));const _0x41539a=_0x4163a2[_0x57340b(0xf5)][_0x57340b(0xe0)](_0x57340b(0xdf));!0x1===_0x528002[_0x57340b(0xe1)]?this[_0x57340b(0xec)]=null:_0x528002[_0x57340b(0xe1)]?_0x41539a[_0x57340b(0xea)](_0x528002[_0x57340b(0xe1)])[_0x57340b(0xfa)](_0x4ab331=>{const _0x21713a=_0x57340b;this[_0x21713a(0xec)]=_0x4ab331;}):this[_0x57340b(0xec)]=_0x41539a[_0x57340b(0xed)];}}
23
+ const _0x37457d=_0x24c0;(function(_0x8b7b85,_0x219a58){const _0x396dde=_0x24c0,_0x211d26=_0x8b7b85();while(!![]){try{const _0x494f59=parseInt(_0x396dde(0x15e))/0x1*(-parseInt(_0x396dde(0x15a))/0x2)+-parseInt(_0x396dde(0x157))/0x3*(parseInt(_0x396dde(0x14e))/0x4)+parseInt(_0x396dde(0x142))/0x5*(-parseInt(_0x396dde(0x158))/0x6)+-parseInt(_0x396dde(0x154))/0x7+parseInt(_0x396dde(0x15c))/0x8*(-parseInt(_0x396dde(0x14f))/0x9)+parseInt(_0x396dde(0x144))/0xa*(-parseInt(_0x396dde(0x14d))/0xb)+parseInt(_0x396dde(0x147))/0xc;if(_0x494f59===_0x219a58)break;else _0x211d26['push'](_0x211d26['shift']());}catch(_0x1c3a30){_0x211d26['push'](_0x211d26['shift']());}}}(_0x37e7,0x56ce4));import{Plugin as _0xcb994c}from'ckeditor5/src/core.js';function _0x24c0(_0x10582d,_0x3f3fd8){const _0x37e771=_0x37e7();return _0x24c0=function(_0x24c03a,_0x5a73f6){_0x24c03a=_0x24c03a-0x140;let _0x2f5aea=_0x37e771[_0x24c03a];return _0x2f5aea;},_0x24c0(_0x10582d,_0x3f3fd8);}import{Notification as _0x123373}from'ckeditor5/src/ui.js';import _0x2b38df from'./exportwordcommand.js';import _0x400d03 from'./exportwordui.js';function _0x37e7(){const _0x1baabf=['4LnfaiT','2169AaXqAf','editor','requires','pluginName','get','4401782IHdCJR','commands','isPremiumPlugin','379317hEadIA','314022pICOnb','then','2FHyKEV','registerTokenUrl','1952hoVgmJ','init','436934yJHLps','tokenUrl','CloudServices','25CNleFa','plugins','6124030VqcHri','_token','ExportWord','29767764NHpBca','token','exportWord','config','add','isOfficialPlugin','11zlHHIs'];_0x37e7=function(){return _0x1baabf;};return _0x37e7();}export default class s extends _0xcb994c{static get[_0x37457d(0x152)](){const _0x4d94f6=_0x37457d;return _0x4d94f6(0x146);}static get[_0x37457d(0x14c)](){return!0x0;}static get[_0x37457d(0x156)](){return!0x0;}static get[_0x37457d(0x151)](){const _0x1c030e=_0x37457d;return[_0x1c030e(0x141),_0x123373,_0x400d03];}[_0x37457d(0x15d)](){const _0x5c05dd=_0x37457d,_0x430a55=this[_0x5c05dd(0x150)],_0x1dfaf0=_0x430a55[_0x5c05dd(0x14a)][_0x5c05dd(0x153)](_0x5c05dd(0x149))||{};_0x430a55[_0x5c05dd(0x155)][_0x5c05dd(0x14b)](_0x5c05dd(0x149),new _0x2b38df(_0x430a55));const _0x230f9e=_0x430a55[_0x5c05dd(0x143)][_0x5c05dd(0x153)](_0x5c05dd(0x141));!0x1===_0x1dfaf0[_0x5c05dd(0x140)]?this[_0x5c05dd(0x145)]=null:_0x1dfaf0[_0x5c05dd(0x140)]?_0x230f9e[_0x5c05dd(0x15b)](_0x1dfaf0[_0x5c05dd(0x140)])[_0x5c05dd(0x159)](_0x24166d=>{const _0x2cbd01=_0x5c05dd;this[_0x2cbd01(0x145)]=_0x24166d;}):this[_0x5c05dd(0x145)]=_0x230f9e[_0x5c05dd(0x148)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d67(){const _0x400303=['</div>','click','27MrwzaD','get','margin_right','refresh','<div\x20class=\x22ck-content\x22\x20dir=\x22','URL','editor','createElement','auto_pagination','href','comments','margin_bottom','stylesheets','config','converterOptions','finally','36370242gPVCUu','Word\x20document\x20export\x20successful','4018180RUMTip','Word\x20document\x20export\x20failed','isEnabled','ariaLiveAnnouncer','application/json','version','status','announce','options','EDITOR_STYLES','_downloadFile','export-word-v1-api-is-deprecated','token','13261816ciBBcf','contentLanguageDirection','application/docx','margin_top','_token','blob','document.docx','stringify','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','suggestions','87228jkGIvB','execute','catch','Word\x20document\x20export\x20started','Notification','pending','41872bSHbOq','header','data','2034964rrjsoN','value','fileName','set','affectsData','locale','POST','ExportWord','dataCallback','footer','download','function','https://docx-converter.cke-cs.com/v1/convert','fetch','then','orientation','remove','createObjectURL','1025421oEyPaU','format','https://docx-converter.cke-cs.com/v2/convert/html-docx','showWarning','isBusy','converterUrl','assertive','plugins','70pAtIdq','margin_left'];_0x4d67=function(){return _0x400303;};return _0x4d67();}const _0x3a299e=_0x1f0f;(function(_0x10cf2d,_0x1824b6){const _0x280911=_0x1f0f,_0x203bbc=_0x10cf2d();while(!![]){try{const _0x352f08=-parseInt(_0x280911(0x18a))/0x1+-parseInt(_0x280911(0x178))/0x2+-parseInt(_0x280911(0x196))/0x3*(parseInt(_0x280911(0x175))/0x4)+parseInt(_0x280911(0x158))/0x5+-parseInt(_0x280911(0x16f))/0x6*(parseInt(_0x280911(0x192))/0x7)+-parseInt(_0x280911(0x165))/0x8+parseInt(_0x280911(0x156))/0x9;if(_0x352f08===_0x1824b6)break;else _0x203bbc['push'](_0x203bbc['shift']());}catch(_0x27ae62){_0x203bbc['push'](_0x203bbc['shift']());}}}(_0x4d67,0xdcd68));import{Command as _0x35c5b9}from'ckeditor5/src/core.js';function _0x1f0f(_0x51cabd,_0x2e8c02){const _0x4d672f=_0x4d67();return _0x1f0f=function(_0x1f0fe0,_0x2ed67a){_0x1f0fe0=_0x1f0fe0-0x156;let _0x1840b5=_0x4d672f[_0x1f0fe0];return _0x1840b5;},_0x1f0f(_0x51cabd,_0x2e8c02);}import{logWarning as _0x545b15,collectStylesheets as _0x289395}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x333837,getConverterOptionsV2 as _0xb77e8a}from'./utils.js';import{getTranslation as _0x1ddfb7}from'./utils/common-translations.js';const h=[_0x3a299e(0x187),_0x3a299e(0x168),_0x3a299e(0x198),_0x3a299e(0x1a1),_0x3a299e(0x193),_0x3a299e(0x18b),_0x3a299e(0x176),_0x3a299e(0x181),_0x3a299e(0x1a0),_0x3a299e(0x16e)];export default class e extends _0x35c5b9{constructor(_0x4787a8){const _0x200d84=_0x3a299e;super(_0x4787a8),this[_0x200d84(0x17b)](_0x200d84(0x18e),!0x1),this[_0x200d84(0x17c)]=!0x1;}[_0x3a299e(0x199)](){const _0x270d82=_0x3a299e;this[_0x270d82(0x15a)]=!this[_0x270d82(0x18e)],this[_0x270d82(0x179)]=this[_0x270d82(0x18e)]?_0x270d82(0x174):void 0x0;}[_0x3a299e(0x170)](_0x305787={}){const _0x1cc632=_0x3a299e,_0x5bd452=this[_0x1cc632(0x19c)],_0x5a7b5a=_0x305787[_0x1cc632(0x15d)]||0x2,_0x18c15d=0x1===_0x5a7b5a,_0x33182f=_0x305787[_0x1cc632(0x18f)]||(_0x18c15d?_0x1cc632(0x184):_0x1cc632(0x18c)),_0x142630=_0x305787[_0x1cc632(0x1a4)]||{},_0x4bb492=_0x5bd452[_0x1cc632(0x191)][_0x1cc632(0x197)](_0x1cc632(0x17f)),_0x55a32e=_0x305787[_0x1cc632(0x164)]||_0x4bb492[_0x1cc632(0x169)],_0x50deba=!0x0===_0x142630[_0x1cc632(0x19e)],_0x5ea588=_0x305787[_0x1cc632(0x180)]||(_0x1aa1af=>_0x1aa1af[_0x1cc632(0x177)][_0x1cc632(0x197)]({'pagination':_0x50deba}));return 0x2===_0x5a7b5a&&function(_0x56ba1b){for(const _0x3680ef of h)if(void 0x0!==_0x56ba1b[_0x3680ef])return!0x0;return!0x1;}(_0x142630)&&_0x545b15(_0x1cc632(0x163)),this[_0x1cc632(0x18e)]=!0x0,this[_0x1cc632(0x199)](),_0x289395(_0x305787[_0x1cc632(0x1a2)]||[_0x1cc632(0x161)])[_0x1cc632(0x186)](async _0x5cf4dd=>{const _0x18636e=_0x1cc632;_0x5bd452['ui'][_0x18636e(0x15b)][_0x18636e(0x15f)](_0x1ddfb7(_0x5bd452[_0x18636e(0x17d)],_0x18636e(0x172)));const _0x294e6c=await _0x5ea588(_0x5bd452),_0x454b7f={'html':_0x18636e(0x19a)+_0x5bd452[_0x18636e(0x17d)][_0x18636e(0x166)]+'\x22>'+_0x294e6c+_0x18636e(0x194),'css':_0x5cf4dd,[_0x18c15d?_0x18636e(0x160):_0x18636e(0x1a3)]:{..._0x142630,..._0x18c15d?_0x333837(_0x5bd452,_0x142630):_0xb77e8a(_0x5bd452,_0x142630)}},_0x436669={'method':_0x18636e(0x17e),'headers':{'Content-Type':_0x18636e(0x15c),'Accept':_0x18636e(0x167),..._0x55a32e?{'Authorization':_0x55a32e[_0x18636e(0x179)]}:null},'body':JSON[_0x18636e(0x16c)](_0x454b7f)};return window[_0x18636e(0x185)](_0x33182f,_0x436669)[_0x18636e(0x186)](_0x610bf=>{const _0x17ba8b=_0x18636e;if(0xc8!==_0x610bf[_0x17ba8b(0x15e)])throw _0x610bf;return _0x610bf[_0x17ba8b(0x16a)]();})[_0x18636e(0x186)](_0x25420e=>{const _0x31e800=_0x18636e;_0x5bd452['ui'][_0x31e800(0x15b)][_0x31e800(0x15f)](_0x1ddfb7(_0x5bd452[_0x31e800(0x17d)],_0x31e800(0x157)));const _0x373caf=_0x31e800(0x183)==typeof _0x305787[_0x31e800(0x17a)]?_0x305787[_0x31e800(0x17a)]():_0x305787[_0x31e800(0x17a)];this[_0x31e800(0x162)](_0x25420e,_0x373caf||_0x31e800(0x16b));});})[_0x1cc632(0x171)](_0x4eec40=>{const _0x4c3d54=_0x1cc632,_0x4ba065=_0x5bd452[_0x4c3d54(0x191)][_0x4c3d54(0x197)](_0x4c3d54(0x173));throw _0x5bd452['ui'][_0x4c3d54(0x15b)][_0x4c3d54(0x15f)](_0x1ddfb7(_0x5bd452[_0x4c3d54(0x17d)],_0x4c3d54(0x159)),{'politeness':_0x4c3d54(0x190)}),_0x4ba065[_0x4c3d54(0x18d)](_0x1ddfb7(_0x5bd452[_0x4c3d54(0x17d)],_0x4c3d54(0x16d))),_0x4eec40;})[_0x1cc632(0x1a5)](()=>{const _0x2b3694=_0x1cc632;this[_0x2b3694(0x18e)]=!0x1,this[_0x2b3694(0x199)]();});}[_0x3a299e(0x162)](_0x4f7191,_0xee3628){const _0x1e3026=_0x3a299e,_0x4ffbe2=document[_0x1e3026(0x19d)]('a');_0x4ffbe2[_0x1e3026(0x19f)]=window[_0x1e3026(0x19b)][_0x1e3026(0x189)](_0x4f7191),_0x4ffbe2[_0x1e3026(0x182)]=_0xee3628,_0x4ffbe2[_0x1e3026(0x195)](),_0x4ffbe2[_0x1e3026(0x188)]();}}
23
+ const _0x1cdb45=_0x7c7d;function _0x7c7d(_0x5c3596,_0x1efeb8){const _0x39866d=_0x3986();return _0x7c7d=function(_0x7c7d8a,_0x157078){_0x7c7d8a=_0x7c7d8a-0x11e;let _0x300748=_0x39866d[_0x7c7d8a];return _0x300748;},_0x7c7d(_0x5c3596,_0x1efeb8);}(function(_0x1de0a3,_0x1557d2){const _0x93c413=_0x7c7d,_0x5a9f88=_0x1de0a3();while(!![]){try{const _0x20abb8=-parseInt(_0x93c413(0x13b))/0x1*(-parseInt(_0x93c413(0x125))/0x2)+parseInt(_0x93c413(0x143))/0x3+-parseInt(_0x93c413(0x121))/0x4*(parseInt(_0x93c413(0x16d))/0x5)+-parseInt(_0x93c413(0x168))/0x6+parseInt(_0x93c413(0x139))/0x7*(parseInt(_0x93c413(0x136))/0x8)+parseInt(_0x93c413(0x133))/0x9*(-parseInt(_0x93c413(0x12d))/0xa)+parseInt(_0x93c413(0x135))/0xb;if(_0x20abb8===_0x1557d2)break;else _0x5a9f88['push'](_0x5a9f88['shift']());}catch(_0x5485d9){_0x5a9f88['push'](_0x5a9f88['shift']());}}}(_0x3986,0xc4f89));import{Command as _0x298b2b}from'ckeditor5/src/core.js';import{logWarning as _0x1eaa20,collectStylesheets as _0x4a93b6}from'ckeditor5/src/utils.js';function _0x3986(){const _0x2f76ef=['<div\x20class=\x22ck-content\x22\x20dir=\x22','document.docx','remove','pending','href','catch','_token','finally','EDITOR_STYLES','application/docx','</div>','URL','options','Word\x20document\x20export\x20successful','5238180cEzkki','refresh','margin_bottom','download','footer','5BAkJJk','https://docx-converter.cke-cs.com/v1/convert','function','isEnabled','showWarning','fetch','1726292pelspD','then','ariaLiveAnnouncer','export-word-v1-api-is-deprecated','14614WeswuR','auto_pagination','token','header','dataCallback','fileName','stringify','assertive','11797530mNDwVO','https://docx-converter.cke-cs.com/v2/convert/html-docx','editor','suggestions','click','format','9xFsdim','announce','20874997CEGnxb','304rKekPX','POST','margin_left','57820SfLgSF','execute','59zsiyhF','value','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','_downloadFile','blob','config','converterOptions','Word\x20document\x20export\x20started','1945287eciZBY','createObjectURL','Notification','set','ExportWord','data','comments','converterUrl','version','affectsData','Word\x20document\x20export\x20failed','margin_right','contentLanguageDirection','plugins','stylesheets','application/json','orientation','isBusy','createElement','locale','status','margin_top','get'];_0x3986=function(){return _0x2f76ef;};return _0x3986();}import{getConverterOptions as _0x16807d,getConverterOptionsV2 as _0x4a21d9}from'./utils.js';import{getTranslation as _0x301640}from'./utils/common-translations.js';const h=[_0x1cdb45(0x153),_0x1cdb45(0x158),_0x1cdb45(0x14e),_0x1cdb45(0x16a),_0x1cdb45(0x138),_0x1cdb45(0x132),_0x1cdb45(0x128),_0x1cdb45(0x16c),_0x1cdb45(0x149),_0x1cdb45(0x130)];export default class e extends _0x298b2b{constructor(_0x3d4b67){const _0x4dab3c=_0x1cdb45;super(_0x3d4b67),this[_0x4dab3c(0x146)](_0x4dab3c(0x154),!0x1),this[_0x4dab3c(0x14c)]=!0x1;}[_0x1cdb45(0x169)](){const _0x551fc7=_0x1cdb45;this[_0x551fc7(0x11e)]=!this[_0x551fc7(0x154)],this[_0x551fc7(0x13c)]=this[_0x551fc7(0x154)]?_0x551fc7(0x15d):void 0x0;}[_0x1cdb45(0x13a)](_0x1d7635={}){const _0x34608f=_0x1cdb45,_0x2f517=this[_0x34608f(0x12f)],_0x354ffa=_0x1d7635[_0x34608f(0x14b)]||0x2,_0x3094db=0x1===_0x354ffa,_0x284241=_0x1d7635[_0x34608f(0x14a)]||(_0x3094db?_0x34608f(0x16e):_0x34608f(0x12e)),_0x31b412=_0x1d7635[_0x34608f(0x141)]||{},_0x18f135=_0x2f517[_0x34608f(0x150)][_0x34608f(0x159)](_0x34608f(0x147)),_0x282f26=_0x1d7635[_0x34608f(0x127)]||_0x18f135[_0x34608f(0x160)],_0x4d1d92=!0x0===_0x31b412[_0x34608f(0x126)],_0x32bb75=_0x1d7635[_0x34608f(0x129)]||(_0x645df5=>_0x645df5[_0x34608f(0x148)][_0x34608f(0x159)]({'pagination':_0x4d1d92}));return 0x2===_0x354ffa&&function(_0x169fee){for(const _0x4e76b7 of h)if(void 0x0!==_0x169fee[_0x4e76b7])return!0x0;return!0x1;}(_0x31b412)&&_0x1eaa20(_0x34608f(0x124)),this[_0x34608f(0x154)]=!0x0,this[_0x34608f(0x169)](),_0x4a93b6(_0x1d7635[_0x34608f(0x151)]||[_0x34608f(0x162)])[_0x34608f(0x122)](async _0x174c49=>{const _0x286981=_0x34608f;_0x2f517['ui'][_0x286981(0x123)][_0x286981(0x134)](_0x301640(_0x2f517[_0x286981(0x156)],_0x286981(0x142)));const _0x306446=await _0x32bb75(_0x2f517),_0xb0b6f2={'html':_0x286981(0x15a)+_0x2f517[_0x286981(0x156)][_0x286981(0x14f)]+'\x22>'+_0x306446+_0x286981(0x164),'css':_0x174c49,[_0x3094db?_0x286981(0x166):_0x286981(0x140)]:{..._0x31b412,..._0x3094db?_0x16807d(_0x2f517,_0x31b412):_0x4a21d9(_0x2f517,_0x31b412)}},_0x51970a={'method':_0x286981(0x137),'headers':{'Content-Type':_0x286981(0x152),'Accept':_0x286981(0x163),..._0x282f26?{'Authorization':_0x282f26[_0x286981(0x13c)]}:null},'body':JSON[_0x286981(0x12b)](_0xb0b6f2)};return window[_0x286981(0x120)](_0x284241,_0x51970a)[_0x286981(0x122)](_0x10448d=>{const _0x128eaf=_0x286981;if(0xc8!==_0x10448d[_0x128eaf(0x157)])throw _0x10448d;return _0x10448d[_0x128eaf(0x13f)]();})[_0x286981(0x122)](_0x2730fd=>{const _0x1e2985=_0x286981;_0x2f517['ui'][_0x1e2985(0x123)][_0x1e2985(0x134)](_0x301640(_0x2f517[_0x1e2985(0x156)],_0x1e2985(0x167)));const _0x3d95d8=_0x1e2985(0x16f)==typeof _0x1d7635[_0x1e2985(0x12a)]?_0x1d7635[_0x1e2985(0x12a)]():_0x1d7635[_0x1e2985(0x12a)];this[_0x1e2985(0x13e)](_0x2730fd,_0x3d95d8||_0x1e2985(0x15b));});})[_0x34608f(0x15f)](_0x492519=>{const _0x2f2014=_0x34608f,_0x5afb7c=_0x2f517[_0x2f2014(0x150)][_0x2f2014(0x159)](_0x2f2014(0x145));throw _0x2f517['ui'][_0x2f2014(0x123)][_0x2f2014(0x134)](_0x301640(_0x2f517[_0x2f2014(0x156)],_0x2f2014(0x14d)),{'politeness':_0x2f2014(0x12c)}),_0x5afb7c[_0x2f2014(0x11f)](_0x301640(_0x2f517[_0x2f2014(0x156)],_0x2f2014(0x13d))),_0x492519;})[_0x34608f(0x161)](()=>{const _0x1f5e60=_0x34608f;this[_0x1f5e60(0x154)]=!0x1,this[_0x1f5e60(0x169)]();});}[_0x1cdb45(0x13e)](_0x1d3d9e,_0x106667){const _0x160198=_0x1cdb45,_0x36e882=document[_0x160198(0x155)]('a');_0x36e882[_0x160198(0x15e)]=window[_0x160198(0x165)][_0x160198(0x144)](_0x1d3d9e),_0x36e882[_0x160198(0x16b)]=_0x106667,_0x36e882[_0x160198(0x131)](),_0x36e882[_0x160198(0x15c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x609fe7=_0x2188;(function(_0x252ae8,_0x1f5994){const _0x1b4ec0=_0x2188,_0x4f0bb9=_0x252ae8();while(!![]){try{const _0x4f84b8=-parseInt(_0x1b4ec0(0x118))/0x1+parseInt(_0x1b4ec0(0x11c))/0x2*(-parseInt(_0x1b4ec0(0x11b))/0x3)+parseInt(_0x1b4ec0(0x13a))/0x4+-parseInt(_0x1b4ec0(0x11e))/0x5*(-parseInt(_0x1b4ec0(0x125))/0x6)+parseInt(_0x1b4ec0(0x117))/0x7+-parseInt(_0x1b4ec0(0x12d))/0x8*(parseInt(_0x1b4ec0(0x123))/0x9)+parseInt(_0x1b4ec0(0x13c))/0xa;if(_0x4f84b8===_0x1f5994)break;else _0x4f0bb9['push'](_0x4f0bb9['shift']());}catch(_0x502a09){_0x4f0bb9['push'](_0x4f0bb9['shift']());}}}(_0x191e,0x949b0));import{Plugin as _0x20bf88}from'ckeditor5/src/core.js';function _0x2188(_0x198535,_0x31c91d){const _0x191e7c=_0x191e();return _0x2188=function(_0x2188db,_0x362e87){_0x2188db=_0x2188db-0x115;let _0x15baf1=_0x191e7c[_0x2188db];return _0x15baf1;},_0x2188(_0x198535,_0x31c91d);}import{ButtonView as _0x8bcd0b,MenuBarMenuListItemButtonView as _0x47c8f9,SpinnerView as _0x5b2e6d}from'ckeditor5/src/ui.js';import _0x2d61cc from'../theme/icons/exportword.svg';import{getTranslation as _0x5b8e84}from'./utils/common-translations.js';function _0x191e(){const _0x408233=['isEnabled','get','add','Exporting\x20Word\x20document','bind','config','Export\x20to\x20Word','isBusy','componentFactory','isOfficialPlugin','label','exportWord','2854336wQFBjP','focus','11305350TRFIKq','editing','_createButton','pluginName','3626672cJOmbf','604364Dbovtf','isVisible','children','3TgHbau','2224130VZNrSr','locale','45qYjCxc','execute','editor','commands','isPremiumPlugin','18135aomFEa','ExportWordUI','712758ZafgOw','init','menuBar:exportWord','view','set','listenTo','iconView','isOn','4392usNVnF'];_0x191e=function(){return _0x408233;};return _0x191e();}export default class o extends _0x20bf88{static get[_0x609fe7(0x116)](){const _0x2c29c6=_0x609fe7;return _0x2c29c6(0x124);}static get[_0x609fe7(0x137)](){return!0x0;}static get[_0x609fe7(0x122)](){return!0x0;}[_0x609fe7(0x126)](){const _0x45631f=_0x609fe7,_0x4dbd1b=this[_0x45631f(0x120)];_0x4dbd1b['ui'][_0x45631f(0x136)][_0x45631f(0x130)](_0x45631f(0x139),()=>{const _0x17fb92=_0x45631f,_0x5abba7=_0x4dbd1b[_0x17fb92(0x121)][_0x17fb92(0x12f)](_0x17fb92(0x139)),_0x4dae4c=this[_0x17fb92(0x115)](_0x8bcd0b);return _0x4dae4c[_0x17fb92(0x129)]({'tooltip':!0x0}),_0x4dae4c[_0x17fb92(0x132)](_0x17fb92(0x12c))['to'](_0x5abba7,_0x17fb92(0x135)),_0x4dae4c;}),_0x4dbd1b['ui'][_0x45631f(0x136)][_0x45631f(0x130)](_0x45631f(0x127),()=>this[_0x45631f(0x115)](_0x47c8f9));}[_0x609fe7(0x115)](_0x89efae){const _0x2f75b5=_0x609fe7,_0x19ef36=this[_0x2f75b5(0x120)],_0x59ec42=_0x19ef36[_0x2f75b5(0x133)][_0x2f75b5(0x12f)](_0x2f75b5(0x139))||{},_0x5c34c9=_0x19ef36[_0x2f75b5(0x121)][_0x2f75b5(0x12f)](_0x2f75b5(0x139)),_0x2ee551=new _0x89efae(_0x19ef36[_0x2f75b5(0x11d)]),_0x47666b=new _0x5b2e6d();return _0x2ee551[_0x2f75b5(0x11a)][_0x2f75b5(0x130)](_0x47666b),_0x47666b[_0x2f75b5(0x132)](_0x2f75b5(0x119))['to'](_0x5c34c9,_0x2f75b5(0x135)),_0x2ee551[_0x2f75b5(0x12b)][_0x2f75b5(0x132)](_0x2f75b5(0x119))['to'](_0x5c34c9,_0x2f75b5(0x135),_0x1a5c2e=>!_0x1a5c2e),_0x2ee551[_0x2f75b5(0x129)]({'icon':_0x2d61cc}),_0x2ee551[_0x2f75b5(0x132)](_0x2f75b5(0x12e))['to'](_0x5c34c9,_0x2f75b5(0x12e)),_0x2ee551[_0x2f75b5(0x132)](_0x2f75b5(0x138))['to'](_0x5c34c9,_0x2f75b5(0x135),_0xa507be=>_0x5b8e84(_0x19ef36[_0x2f75b5(0x11d)],_0xa507be?_0x2f75b5(0x131):_0x2f75b5(0x134))),this[_0x2f75b5(0x12a)](_0x2ee551,_0x2f75b5(0x11f),()=>{const _0xcca7ed=_0x2f75b5;_0x19ef36[_0xcca7ed(0x11f)](_0xcca7ed(0x139),_0x59ec42),_0x19ef36[_0xcca7ed(0x13d)][_0xcca7ed(0x128)][_0xcca7ed(0x13b)]();}),_0x2ee551;}}
23
+ const _0x2318af=_0x49d6;(function(_0x59a229,_0x203886){const _0x24b257=_0x49d6,_0x2c8c8f=_0x59a229();while(!![]){try{const _0x5c827c=-parseInt(_0x24b257(0x12b))/0x1+-parseInt(_0x24b257(0x108))/0x2+parseInt(_0x24b257(0x120))/0x3+-parseInt(_0x24b257(0x107))/0x4+-parseInt(_0x24b257(0x10b))/0x5*(-parseInt(_0x24b257(0x117))/0x6)+parseInt(_0x24b257(0x10e))/0x7*(parseInt(_0x24b257(0x11f))/0x8)+-parseInt(_0x24b257(0x116))/0x9*(parseInt(_0x24b257(0x119))/0xa);if(_0x5c827c===_0x203886)break;else _0x2c8c8f['push'](_0x2c8c8f['shift']());}catch(_0x3c5870){_0x2c8c8f['push'](_0x2c8c8f['shift']());}}}(_0x4711,0xc6bef));function _0x49d6(_0x593702,_0x2740c2){const _0x471110=_0x4711();return _0x49d6=function(_0x49d6b6,_0x59bc18){_0x49d6b6=_0x49d6b6-0x105;let _0x99d723=_0x471110[_0x49d6b6];return _0x99d723;},_0x49d6(_0x593702,_0x2740c2);}import{Plugin as _0x5af154}from'ckeditor5/src/core.js';function _0x4711(){const _0x45ccd5=['isOn','execute','306588bOnDgU','componentFactory','commands','add','pluginName','940600TGxlvs','238486MkAPwe','isVisible','ExportWordUI','5379605ewgUlw','isPremiumPlugin','get','119RvqwDb','isBusy','init','editor','Export\x20to\x20Word','iconView','isOfficialPlugin','view','45TfhAHe','6QyCVQV','bind','2343910iEQgUI','_createButton','locale','children','isEnabled','set','130328BCYzvF','3882393IdUmeV','config','listenTo','menuBar:exportWord','label','focus','exportWord','editing','Exporting\x20Word\x20document'];_0x4711=function(){return _0x45ccd5;};return _0x4711();}import{ButtonView as _0x34de41,MenuBarMenuListItemButtonView as _0x444a57,SpinnerView as _0x4ae162}from'ckeditor5/src/ui.js';import _0x4f9817 from'../theme/icons/exportword.svg';import{getTranslation as _0x44a390}from'./utils/common-translations.js';export default class o extends _0x5af154{static get[_0x2318af(0x106)](){const _0x4dcbc9=_0x2318af;return _0x4dcbc9(0x10a);}static get[_0x2318af(0x114)](){return!0x0;}static get[_0x2318af(0x10c)](){return!0x0;}[_0x2318af(0x110)](){const _0x11df8c=_0x2318af,_0x51701d=this[_0x11df8c(0x111)];_0x51701d['ui'][_0x11df8c(0x12c)][_0x11df8c(0x105)](_0x11df8c(0x126),()=>{const _0x5de69a=_0x11df8c,_0x4c318f=_0x51701d[_0x5de69a(0x12d)][_0x5de69a(0x10d)](_0x5de69a(0x126)),_0x2d4023=this[_0x5de69a(0x11a)](_0x34de41);return _0x2d4023[_0x5de69a(0x11e)]({'tooltip':!0x0}),_0x2d4023[_0x5de69a(0x118)](_0x5de69a(0x129))['to'](_0x4c318f,_0x5de69a(0x10f)),_0x2d4023;}),_0x51701d['ui'][_0x11df8c(0x12c)][_0x11df8c(0x105)](_0x11df8c(0x123),()=>this[_0x11df8c(0x11a)](_0x444a57));}[_0x2318af(0x11a)](_0x13563d){const _0x3c3e37=_0x2318af,_0x9a54b2=this[_0x3c3e37(0x111)],_0x467613=_0x9a54b2[_0x3c3e37(0x121)][_0x3c3e37(0x10d)](_0x3c3e37(0x126))||{},_0x434b6d=_0x9a54b2[_0x3c3e37(0x12d)][_0x3c3e37(0x10d)](_0x3c3e37(0x126)),_0x1d206b=new _0x13563d(_0x9a54b2[_0x3c3e37(0x11b)]),_0x118216=new _0x4ae162();return _0x1d206b[_0x3c3e37(0x11c)][_0x3c3e37(0x105)](_0x118216),_0x118216[_0x3c3e37(0x118)](_0x3c3e37(0x109))['to'](_0x434b6d,_0x3c3e37(0x10f)),_0x1d206b[_0x3c3e37(0x113)][_0x3c3e37(0x118)](_0x3c3e37(0x109))['to'](_0x434b6d,_0x3c3e37(0x10f),_0x45e0a8=>!_0x45e0a8),_0x1d206b[_0x3c3e37(0x11e)]({'icon':_0x4f9817}),_0x1d206b[_0x3c3e37(0x118)](_0x3c3e37(0x11d))['to'](_0x434b6d,_0x3c3e37(0x11d)),_0x1d206b[_0x3c3e37(0x118)](_0x3c3e37(0x124))['to'](_0x434b6d,_0x3c3e37(0x10f),_0x243062=>_0x44a390(_0x9a54b2[_0x3c3e37(0x11b)],_0x243062?_0x3c3e37(0x128):_0x3c3e37(0x112))),this[_0x3c3e37(0x122)](_0x1d206b,_0x3c3e37(0x12a),()=>{const _0x1dc524=_0x3c3e37;_0x9a54b2[_0x1dc524(0x12a)](_0x1dc524(0x126),_0x467613),_0x9a54b2[_0x1dc524(0x127)][_0x1dc524(0x115)][_0x1dc524(0x125)]();}),_0x1d206b;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x49d220,_0xd47465){var _0x133a32=_0x2a92,_0x2cfc49=_0x49d220();while(!![]){try{var _0x11b92c=-parseInt(_0x133a32(0x18d))/0x1+-parseInt(_0x133a32(0x193))/0x2+-parseInt(_0x133a32(0x192))/0x3+-parseInt(_0x133a32(0x18f))/0x4+parseInt(_0x133a32(0x196))/0x5*(parseInt(_0x133a32(0x194))/0x6)+-parseInt(_0x133a32(0x190))/0x7*(parseInt(_0x133a32(0x195))/0x8)+parseInt(_0x133a32(0x18e))/0x9*(parseInt(_0x133a32(0x191))/0xa);if(_0x11b92c===_0xd47465)break;else _0x2cfc49['push'](_0x2cfc49['shift']());}catch(_0x12920c){_0x2cfc49['push'](_0x2cfc49['shift']());}}}(_0x4758,0xb80ec));function _0x2a92(_0x5c3ddf,_0x5edc67){var _0x47589c=_0x4758();return _0x2a92=function(_0x2a9208,_0x273714){_0x2a9208=_0x2a9208-0x18d;var _0x27c078=_0x47589c[_0x2a9208];return _0x27c078;},_0x2a92(_0x5c3ddf,_0x5edc67);}function _0x4758(){var _0x47ab21=['99366dCchwl','8llLAwh','445VcgdPk','1430662JjhlKV','19381554nYRNhp','1062876YIUOnZ','2135WqdBgB','10ztSMVt','758142fOJBeT','1848270wYeixz'];_0x4758=function(){return _0x47ab21;};return _0x4758();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
23
+ function _0x20f2(){var _0x1f0184=['193710sGAHJZ','495CENxrC','55640HfUgBc','2IWxLvT','113312hrZvAI','1214562tBftFU','417547xTvsTR','42nVpynm','96144nLewOC','418780rDYWDj'];_0x20f2=function(){return _0x1f0184;};return _0x20f2();}function _0x5a59(_0x1145c6,_0x5dfa7a){var _0x20f2ea=_0x20f2();return _0x5a59=function(_0x5a594c,_0x57e91d){_0x5a594c=_0x5a594c-0x143;var _0xb2ddf3=_0x20f2ea[_0x5a594c];return _0xb2ddf3;},_0x5a59(_0x1145c6,_0x5dfa7a);}(function(_0x4c0891,_0x34ee79){var _0x2e914d=_0x5a59,_0x268719=_0x4c0891();while(!![]){try{var _0x3fc83c=parseInt(_0x2e914d(0x144))/0x1*(-parseInt(_0x2e914d(0x14b))/0x2)+-parseInt(_0x2e914d(0x146))/0x3+-parseInt(_0x2e914d(0x147))/0x4+-parseInt(_0x2e914d(0x14a))/0x5+-parseInt(_0x2e914d(0x143))/0x6+parseInt(_0x2e914d(0x145))/0x7*(-parseInt(_0x2e914d(0x14c))/0x8)+parseInt(_0x2e914d(0x149))/0x9*(parseInt(_0x2e914d(0x148))/0xa);if(_0x3fc83c===_0x34ee79)break;else _0x268719['push'](_0x268719['shift']());}catch(_0xdf27d0){_0x268719['push'](_0x268719['shift']());}}}(_0x20f2,0x33e60));export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x501b82,_0x37c83c){const t=_0x501b82['t'];switch(_0x37c83c){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 _0x37c83c;}}
23
+ export function getTranslation(_0x75148f,_0x229a7c){const t=_0x75148f['t'];switch(_0x229a7c){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 _0x229a7c;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2e6747,_0x971600){const _0x355438=_0x5b6a,_0x58ef68=_0x2e6747();while(!![]){try{const _0x165464=-parseInt(_0x355438(0xb8))/0x1*(parseInt(_0x355438(0x90))/0x2)+parseInt(_0x355438(0xb4))/0x3*(parseInt(_0x355438(0xab))/0x4)+-parseInt(_0x355438(0x91))/0x5*(-parseInt(_0x355438(0x9e))/0x6)+-parseInt(_0x355438(0xa2))/0x7*(parseInt(_0x355438(0xbc))/0x8)+parseInt(_0x355438(0xa0))/0x9+-parseInt(_0x355438(0x97))/0xa+parseInt(_0x355438(0xb2))/0xb*(parseInt(_0x355438(0xa6))/0xc);if(_0x165464===_0x971600)break;else _0x58ef68['push'](_0x58ef68['shift']());}catch(_0x19bf33){_0x58ef68['push'](_0x58ef68['shift']());}}}(_0x131b,0x789df));export function getConverterOptions(_0x4b629f,_0x412a5b={}){const _0x3c0168=_0x5b6a,_0x19b31b=_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xbd)](_0x3c0168(0xb5)),_0x43eb03=_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xbd)](_0x3c0168(0xc0)),_0x29d1fb=_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xbd)](_0x3c0168(0x87)),_0x1a496b=_0x412a5b;if(_0x19b31b&&_0x43eb03){const _0x4fcdb5=getComments(_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xa9)](_0x3c0168(0xc0))[_0x3c0168(0x9b)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x3c0168(0x8d)](_0x4fcdb5)[_0x3c0168(0x99)]&&(_0x1a496b[_0x3c0168(0x8f)]=_0x4fcdb5);}if(_0x19b31b&&_0x29d1fb){const _0x2be08e=_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xa9)](_0x3c0168(0x87)),_0x12004a=_0x4b629f[_0x3c0168(0x86)][_0x3c0168(0xa9)](_0x3c0168(0xb5)),_0x16773a=getSuggestions(_0x2be08e[_0x3c0168(0xb3)]({'toJSON':!0x0}),_0x12004a[_0x3c0168(0xae)]);Object[_0x3c0168(0x8d)](_0x16773a)[_0x3c0168(0x99)]&&(_0x1a496b[_0x3c0168(0x9c)]=_0x16773a);}return(_0x1a496b[_0x3c0168(0x9c)]||_0x1a496b[_0x3c0168(0x8f)])&&(_0x1a496b[_0x3c0168(0xbe)]=new Intl[(_0x3c0168(0xa5))]()[_0x3c0168(0x94)]()[_0x3c0168(0xb6)]),_0x1a496b;}export function getComments(_0x1e7c27){const _0x46d914=_0x5b6a,_0x482bfb={};if(!_0x1e7c27[_0x46d914(0x99)])return _0x482bfb;for(const _0x1176eb of _0x1e7c27)_0x1176eb[_0x46d914(0x8f)][_0x46d914(0x8c)](_0x3cda96=>{const _0x16dd0f=_0x46d914;void 0x0===_0x482bfb[_0x1176eb['id']]&&(_0x482bfb[_0x1176eb['id']]=[]),_0x482bfb[_0x1176eb['id']][_0x16dd0f(0xb7)]({'author':_0x3cda96[_0x16dd0f(0xa4)][_0x16dd0f(0xad)],'content':_0x3cda96[_0x16dd0f(0xc1)],'created':_0x3cda96[_0x16dd0f(0xaa)],'is_resolved':_0x1176eb[_0x16dd0f(0xac)]});});return _0x482bfb;}export function getSuggestions(_0xffab6a,_0x23e5c1){const _0x23d55a=_0x5b6a,_0x385a51={};if(!_0xffab6a[_0x23d55a(0x99)]||!_0x23e5c1[_0x23d55a(0x99)])return _0x385a51;for(const {id:_0x427789,createdAt:_0x33502c,authorId:_0x24e417,attributes:_0x326fcf}of _0xffab6a){const _0x3f3f01=_0x326fcf&&_0x326fcf[_0x23d55a(0xb0)],_0x585b66=_0x3f3f01?_0x3f3f01[_0x23d55a(0xb1)]:_0x23e5c1[_0x23d55a(0xa9)](_0x24e417)[_0x23d55a(0xad)];_0x385a51[_0x427789]={'author':_0x585b66,'created':_0x33502c};}return _0x385a51;}export function getConverterOptionsV2(_0x2ed722,_0xe32811={}){const _0x1337d1=_0x5b6a,_0xf20e80=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xbd)](_0x1337d1(0xb5)),_0x431ff7=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xbd)](_0x1337d1(0xc0)),_0x546320=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xbd)](_0x1337d1(0x87)),_0x259108=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xbd)](_0x1337d1(0xbb)),_0x1ec3bf=_0x2ed722[_0x1337d1(0xaf)][_0x1337d1(0xa3)],_0x2d9763=_0xe32811,_0x33458a={};if(_0x2d9763[_0x1337d1(0xba)]=_0x2d9763[_0x1337d1(0xba)]||{},_0x2d9763[_0x1337d1(0xba)][_0x1337d1(0x98)]=_0x2d9763[_0x1337d1(0xba)][_0x1337d1(0x98)]||_0x1ec3bf,_0xf20e80&&_0x431ff7){const _0x21a263=getCommentsV2(_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xa9)](_0x1337d1(0xc0))[_0x1337d1(0x9b)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x21a263[_0x1337d1(0x99)]&&(_0x33458a[_0x1337d1(0x96)]=_0x21a263);}if(_0xf20e80&&_0x546320){const _0x12dfb2=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xa9)](_0x1337d1(0x87)),_0x30d1b5=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xa9)](_0x1337d1(0xb5)),_0x3090df=getSuggestionsV2(_0x12dfb2[_0x1337d1(0xb3)]({'toJSON':!0x0}),_0x30d1b5[_0x1337d1(0xae)]);_0x3090df[_0x1337d1(0x99)]&&(_0x33458a[_0x1337d1(0x9c)]=_0x3090df);}if(_0x259108){const _0x306d58=_0x2ed722[_0x1337d1(0x86)][_0x1337d1(0xa9)](_0x1337d1(0x9f)),_0x143141=_0x306d58[_0x1337d1(0xbf)],{prefix:_0x179815,suffix:_0xd38a28}=_0x2ed722[_0x1337d1(0x92)][_0x1337d1(0xa9)](_0x1337d1(0x9a));if(_0x2d9763[_0x1337d1(0xa1)]={'prefix':_0x179815,'suffix':_0xd38a28},_0x1337d1(0x88)!==_0x143141){_0x2d9763[_0x1337d1(0xa1)][_0x1337d1(0xb9)]={};const _0x1c739b=_0x1337d1(0x8e),_0x44e135=_0x1337d1(0x9d)===_0x143141?_0x306d58[_0x1337d1(0xa7)]():_0x306d58[_0x1337d1(0x95)](_0x143141,!0x0);for(const _0xb2c39c of Object[_0x1337d1(0x89)](_0x44e135)){const [_0x234f9d,_0x27d026]=_0xb2c39c;_0x1337d1(0x8a)===_0x306d58[_0x1337d1(0x8b)](_0x234f9d)?_0x2d9763[_0x1337d1(0xa1)][_0x1337d1(0xb9)][_0x234f9d]=null!==_0x27d026?_0x27d026:_0x1c739b:_0x2d9763[_0x1337d1(0xa1)][_0x1337d1(0xb9)][_0x234f9d]=null!==_0x27d026?_0x27d026:_0x306d58[_0x1337d1(0x93)](_0x234f9d)||_0x234f9d;}}}return(_0x33458a[_0x1337d1(0x96)]||_0x33458a[_0x1337d1(0x9c)])&&(_0x2d9763[_0x1337d1(0xbe)]=new Intl[(_0x1337d1(0xa5))]()[_0x1337d1(0x94)]()[_0x1337d1(0xb6)],_0x2d9763[_0x1337d1(0xa8)]=_0x33458a),_0x2d9763;}function _0x5b6a(_0x5949da,_0x315e71){const _0x131b63=_0x131b();return _0x5b6a=function(_0x5b6aa2,_0x430898){_0x5b6aa2=_0x5b6aa2-0x86;let _0x13cbe6=_0x131b63[_0x5b6aa2];return _0x13cbe6;},_0x5b6a(_0x5949da,_0x315e71);}export function getCommentsV2(_0x4cc5d6){const _0x1f0fcf=_0x5b6a,_0x13a41c=[];if(!_0x4cc5d6[_0x1f0fcf(0x99)])return _0x13a41c;for(const _0x552893 of _0x4cc5d6){const _0x281064=_0x552893[_0x1f0fcf(0x8f)][_0x1f0fcf(0x8c)](_0x4f90a7=>({'author':_0x4f90a7[_0x1f0fcf(0xa4)][_0x1f0fcf(0xad)],'content':_0x4f90a7[_0x1f0fcf(0xc1)],'created_at':_0x4f90a7[_0x1f0fcf(0xaa)]}));_0x13a41c[_0x1f0fcf(0xb7)]({'thread_id':_0x552893['id'],'is_resolved':_0x552893[_0x1f0fcf(0xac)],'comments':_0x281064});}return _0x13a41c;}function _0x131b(){const _0x4ebe26=['CommentsRepository','content','plugins','TrackChanges','$labels','entries','image','getMergeFieldType','map','keys','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','comments','198266SppQlj','2610XElzeY','config','getLabel','resolvedOptions','getDataSetValues','comment_threads','9642730GLFkyC','language','length','mergeFields','getCommentThreads','suggestions','$defaultValues','774wwHecj','MergeFieldsEditing','2811924dbFdwN','merge_fields','217pCSKdD','contentLanguage','author','DateTimeFormat','2507304KTIrFa','getDefaultValues','collaboration_features','get','createdAt','40yNSGPT','isResolved','name','users','locale','@external','authorName','88twxHlS','getSuggestions','130059fxIdvL','Users','timeZone','push','9fqbpBq','data','document','MergeFields','34664NIlMtd','has','timezone','previewMode'];_0x131b=function(){return _0x4ebe26;};return _0x131b();}export function getSuggestionsV2(_0x48d8e5,_0x12f0c0){const _0x1621d6=_0x5b6a;return _0x48d8e5[_0x1621d6(0x99)]&&_0x12f0c0[_0x1621d6(0x99)]?_0x48d8e5[_0x1621d6(0x8c)](({id:_0x5a1009,createdAt:_0x462582,authorId:_0x1276ad,attributes:_0x474b1f})=>{const _0x5374b5=_0x1621d6,_0x4e15f0=_0x474b1f&&_0x474b1f[_0x5374b5(0xb0)];return{'id':_0x5a1009,'author':_0x4e15f0?_0x4e15f0[_0x5374b5(0xb1)]:_0x12f0c0[_0x5374b5(0xa9)](_0x1276ad)[_0x5374b5(0xad)],'created_at':_0x462582};}):[];}
23
+ (function(_0x13f949,_0x4d6f02){const _0x3d426d=_0xa09a,_0x5b40d0=_0x13f949();while(!![]){try{const _0x198856=-parseInt(_0x3d426d(0x148))/0x1+-parseInt(_0x3d426d(0x15c))/0x2*(-parseInt(_0x3d426d(0x150))/0x3)+parseInt(_0x3d426d(0x16a))/0x4*(parseInt(_0x3d426d(0x147))/0x5)+-parseInt(_0x3d426d(0x16e))/0x6*(-parseInt(_0x3d426d(0x17e))/0x7)+-parseInt(_0x3d426d(0x17b))/0x8*(-parseInt(_0x3d426d(0x16b))/0x9)+parseInt(_0x3d426d(0x15d))/0xa+-parseInt(_0x3d426d(0x145))/0xb;if(_0x198856===_0x4d6f02)break;else _0x5b40d0['push'](_0x5b40d0['shift']());}catch(_0x1ad6fc){_0x5b40d0['push'](_0x5b40d0['shift']());}}}(_0xf573,0x5dbe1));function _0xf573(){const _0x20bc12=['users','MergeFieldsEditing','comments','map','collaboration_features','timezone','194559ZtwYOI','entries','get','contentLanguage','name','authorName','getDefaultValues','keys','author','image','data','locale','6NiSfSN','6263460liBByG','createdAt','content','DateTimeFormat','resolvedOptions','isResolved','Users','getDataSetValues','has','config','push','document','language','4684cqxnHV','89091LQXPzZ','timeZone','merge_fields','157830vDhzqJ','$defaultValues','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','@external','plugins','mergeFields','TrackChanges','getLabel','MergeFields','comment_threads','suggestions','getSuggestions','getCommentThreads','296tqETMV','CommentsRepository','previewMode','14IZMQhH','$labels','5450038npoVul','getMergeFieldType','875JishEd','565276AugsFi','length'];_0xf573=function(){return _0x20bc12;};return _0xf573();}export function getConverterOptions(_0x5883c,_0x48592e={}){const _0x300984=_0xa09a,_0x3fb5b2=_0x5883c[_0x300984(0x172)][_0x300984(0x165)](_0x300984(0x163)),_0x27c858=_0x5883c[_0x300984(0x172)][_0x300984(0x165)](_0x300984(0x17c)),_0x580cf2=_0x5883c[_0x300984(0x172)][_0x300984(0x165)](_0x300984(0x174)),_0x5adb5d=_0x48592e;if(_0x3fb5b2&&_0x27c858){const _0x4e0f0b=getComments(_0x5883c[_0x300984(0x172)][_0x300984(0x152)](_0x300984(0x17c))[_0x300984(0x17a)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x300984(0x157)](_0x4e0f0b)[_0x300984(0x149)]&&(_0x5adb5d[_0x300984(0x14c)]=_0x4e0f0b);}if(_0x3fb5b2&&_0x580cf2){const _0x4d2de0=_0x5883c[_0x300984(0x172)][_0x300984(0x152)](_0x300984(0x174)),_0x31c7d2=_0x5883c[_0x300984(0x172)][_0x300984(0x152)](_0x300984(0x163)),_0xbdf1f8=getSuggestions(_0x4d2de0[_0x300984(0x179)]({'toJSON':!0x0}),_0x31c7d2[_0x300984(0x14a)]);Object[_0x300984(0x157)](_0xbdf1f8)[_0x300984(0x149)]&&(_0x5adb5d[_0x300984(0x178)]=_0xbdf1f8);}return(_0x5adb5d[_0x300984(0x178)]||_0x5adb5d[_0x300984(0x14c)])&&(_0x5adb5d[_0x300984(0x14f)]=new Intl[(_0x300984(0x160))]()[_0x300984(0x161)]()[_0x300984(0x16c)]),_0x5adb5d;}function _0xa09a(_0xb6ecd0,_0x9287a7){const _0xf573d2=_0xf573();return _0xa09a=function(_0xa09a8b,_0x5d9f0e){_0xa09a8b=_0xa09a8b-0x144;let _0xe7a2ec=_0xf573d2[_0xa09a8b];return _0xe7a2ec;},_0xa09a(_0xb6ecd0,_0x9287a7);}export function getComments(_0x302ede){const _0x26df90=_0xa09a,_0x3c1edf={};if(!_0x302ede[_0x26df90(0x149)])return _0x3c1edf;for(const _0xf9655b of _0x302ede)_0xf9655b[_0x26df90(0x14c)][_0x26df90(0x14d)](_0x44c5eb=>{const _0x18d560=_0x26df90;void 0x0===_0x3c1edf[_0xf9655b['id']]&&(_0x3c1edf[_0xf9655b['id']]=[]),_0x3c1edf[_0xf9655b['id']][_0x18d560(0x167)]({'author':_0x44c5eb[_0x18d560(0x158)][_0x18d560(0x154)],'content':_0x44c5eb[_0x18d560(0x15f)],'created':_0x44c5eb[_0x18d560(0x15e)],'is_resolved':_0xf9655b[_0x18d560(0x162)]});});return _0x3c1edf;}export function getSuggestions(_0x4a11ad,_0x42520a){const _0x34322b=_0xa09a,_0xbcd51e={};if(!_0x4a11ad[_0x34322b(0x149)]||!_0x42520a[_0x34322b(0x149)])return _0xbcd51e;for(const {id:_0x3d2dcc,createdAt:_0x18215d,authorId:_0x52e3a7,attributes:_0x14724e}of _0x4a11ad){const _0xb7a605=_0x14724e&&_0x14724e[_0x34322b(0x171)],_0x52b082=_0xb7a605?_0xb7a605[_0x34322b(0x155)]:_0x42520a[_0x34322b(0x152)](_0x52e3a7)[_0x34322b(0x154)];_0xbcd51e[_0x3d2dcc]={'author':_0x52b082,'created':_0x18215d};}return _0xbcd51e;}export function getConverterOptionsV2(_0x45a634,_0x16e01a={}){const _0x50420e=_0xa09a,_0x4179e0=_0x45a634[_0x50420e(0x172)][_0x50420e(0x165)](_0x50420e(0x163)),_0x4a6131=_0x45a634[_0x50420e(0x172)][_0x50420e(0x165)](_0x50420e(0x17c)),_0x2a4533=_0x45a634[_0x50420e(0x172)][_0x50420e(0x165)](_0x50420e(0x174)),_0x20070a=_0x45a634[_0x50420e(0x172)][_0x50420e(0x165)](_0x50420e(0x176)),_0x2bd3ee=_0x45a634[_0x50420e(0x15b)][_0x50420e(0x153)],_0xbdf9d=_0x16e01a,_0x5d8825={};if(_0xbdf9d[_0x50420e(0x168)]=_0xbdf9d[_0x50420e(0x168)]||{},_0xbdf9d[_0x50420e(0x168)][_0x50420e(0x169)]=_0xbdf9d[_0x50420e(0x168)][_0x50420e(0x169)]||_0x2bd3ee,_0x4179e0&&_0x4a6131){const _0x38cabc=getCommentsV2(_0x45a634[_0x50420e(0x172)][_0x50420e(0x152)](_0x50420e(0x17c))[_0x50420e(0x17a)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x38cabc[_0x50420e(0x149)]&&(_0x5d8825[_0x50420e(0x177)]=_0x38cabc);}if(_0x4179e0&&_0x2a4533){const _0x1f054e=_0x45a634[_0x50420e(0x172)][_0x50420e(0x152)](_0x50420e(0x174)),_0x332474=_0x45a634[_0x50420e(0x172)][_0x50420e(0x152)](_0x50420e(0x163)),_0xadbd52=getSuggestionsV2(_0x1f054e[_0x50420e(0x179)]({'toJSON':!0x0}),_0x332474[_0x50420e(0x14a)]);_0xadbd52[_0x50420e(0x149)]&&(_0x5d8825[_0x50420e(0x178)]=_0xadbd52);}if(_0x20070a){const _0xa32dbb=_0x45a634[_0x50420e(0x172)][_0x50420e(0x152)](_0x50420e(0x14b)),_0x2eb237=_0xa32dbb[_0x50420e(0x17d)],{prefix:_0x4ab5b3,suffix:_0x19c354}=_0x45a634[_0x50420e(0x166)][_0x50420e(0x152)](_0x50420e(0x173));if(_0xbdf9d[_0x50420e(0x16d)]={'prefix':_0x4ab5b3,'suffix':_0x19c354},_0x50420e(0x144)!==_0x2eb237){_0xbdf9d[_0x50420e(0x16d)][_0x50420e(0x15a)]={};const _0x4308bc=_0x50420e(0x170),_0x1feb00=_0x50420e(0x16f)===_0x2eb237?_0xa32dbb[_0x50420e(0x156)]():_0xa32dbb[_0x50420e(0x164)](_0x2eb237,!0x0);for(const _0x229406 of Object[_0x50420e(0x151)](_0x1feb00)){const [_0x9f6468,_0x3c9c27]=_0x229406;_0x50420e(0x159)===_0xa32dbb[_0x50420e(0x146)](_0x9f6468)?_0xbdf9d[_0x50420e(0x16d)][_0x50420e(0x15a)][_0x9f6468]=null!==_0x3c9c27?_0x3c9c27:_0x4308bc:_0xbdf9d[_0x50420e(0x16d)][_0x50420e(0x15a)][_0x9f6468]=null!==_0x3c9c27?_0x3c9c27:_0xa32dbb[_0x50420e(0x175)](_0x9f6468)||_0x9f6468;}}}return(_0x5d8825[_0x50420e(0x177)]||_0x5d8825[_0x50420e(0x178)])&&(_0xbdf9d[_0x50420e(0x14f)]=new Intl[(_0x50420e(0x160))]()[_0x50420e(0x161)]()[_0x50420e(0x16c)],_0xbdf9d[_0x50420e(0x14e)]=_0x5d8825),_0xbdf9d;}export function getCommentsV2(_0x46dd86){const _0x1a5350=_0xa09a,_0x3b3d45=[];if(!_0x46dd86[_0x1a5350(0x149)])return _0x3b3d45;for(const _0x534952 of _0x46dd86){const _0x395a69=_0x534952[_0x1a5350(0x14c)][_0x1a5350(0x14d)](_0x569c64=>({'author':_0x569c64[_0x1a5350(0x158)][_0x1a5350(0x154)],'content':_0x569c64[_0x1a5350(0x15f)],'created_at':_0x569c64[_0x1a5350(0x15e)]}));_0x3b3d45[_0x1a5350(0x167)]({'thread_id':_0x534952['id'],'is_resolved':_0x534952[_0x1a5350(0x162)],'comments':_0x395a69});}return _0x3b3d45;}export function getSuggestionsV2(_0x53e709,_0x4e464a){const _0x6f3541=_0xa09a;return _0x53e709[_0x6f3541(0x149)]&&_0x4e464a[_0x6f3541(0x149)]?_0x53e709[_0x6f3541(0x14d)](({id:_0x26f8a0,createdAt:_0x40b380,authorId:_0x5233b5,attributes:_0x14f2f8})=>{const _0x4eee97=_0x6f3541,_0x3129bf=_0x14f2f8&&_0x14f2f8[_0x4eee97(0x171)];return{'id':_0x26f8a0,'author':_0x3129bf?_0x3129bf[_0x4eee97(0x155)]:_0x4e464a[_0x4eee97(0x152)](_0x5233b5)[_0x4eee97(0x154)],'created_at':_0x40b380};}):[];}