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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "45.0.0-alpha.0",
3
+ "version": "45.0.0-alpha.1",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.0",
34
- "@ckeditor/ckeditor5-collaboration-core": "45.0.0-alpha.0",
35
- "@ckeditor/ckeditor5-comments": "45.0.0-alpha.0",
36
- "@ckeditor/ckeditor5-core": "45.0.0-alpha.0",
37
- "@ckeditor/ckeditor5-icons": "45.0.0-alpha.0",
38
- "@ckeditor/ckeditor5-merge-fields": "45.0.0-alpha.0",
39
- "@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.0",
40
- "@ckeditor/ckeditor5-utils": "45.0.0-alpha.0",
41
- "@ckeditor/ckeditor5-ui": "45.0.0-alpha.0",
42
- "ckeditor5": "45.0.0-alpha.0"
33
+ "@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.1",
34
+ "@ckeditor/ckeditor5-collaboration-core": "45.0.0-alpha.1",
35
+ "@ckeditor/ckeditor5-comments": "45.0.0-alpha.1",
36
+ "@ckeditor/ckeditor5-core": "45.0.0-alpha.1",
37
+ "@ckeditor/ckeditor5-icons": "45.0.0-alpha.1",
38
+ "@ckeditor/ckeditor5-merge-fields": "45.0.0-alpha.1",
39
+ "@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.1",
40
+ "@ckeditor/ckeditor5-utils": "45.0.0-alpha.1",
41
+ "@ckeditor/ckeditor5-ui": "45.0.0-alpha.1",
42
+ "ckeditor5": "45.0.0-alpha.1"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2511(_0x4daa5f,_0x5c5670){const _0x3b3de9=_0x3b3d();return _0x2511=function(_0x251158,_0x4a1f3e){_0x251158=_0x251158-0x1c6;let _0xce07dc=_0x3b3de9[_0x251158];return _0xce07dc;},_0x2511(_0x4daa5f,_0x5c5670);}function _0x3b3d(){const _0x47d162=['config','add','isOfficialPlugin','38044jwwJnU','isPremiumPlugin','CloudServices','1279368hbydrF','then','editor','registerTokenUrl','_token','159546RksYVx','exportWord','pluginName','commands','20715408vchAGv','tokenUrl','plugins','init','91PPCpne','42234mbWLys','843153EXRBam','token','855249gtKHgv','ExportWord','255euixMh','requires','get'];_0x3b3d=function(){return _0x47d162;};return _0x3b3d();}const _0x4ff768=_0x2511;(function(_0x1b37d3,_0x4ddcc5){const _0x109df5=_0x2511,_0x152f53=_0x1b37d3();while(!![]){try{const _0x365db7=-parseInt(_0x109df5(0x1d1))/0x1+-parseInt(_0x109df5(0x1c7))/0x2+-parseInt(_0x109df5(0x1d3))/0x3+-parseInt(_0x109df5(0x1db))/0x4*(parseInt(_0x109df5(0x1d5))/0x5)+-parseInt(_0x109df5(0x1d0))/0x6*(-parseInt(_0x109df5(0x1cf))/0x7)+-parseInt(_0x109df5(0x1de))/0x8+parseInt(_0x109df5(0x1cb))/0x9;if(_0x365db7===_0x4ddcc5)break;else _0x152f53['push'](_0x152f53['shift']());}catch(_0x21a534){_0x152f53['push'](_0x152f53['shift']());}}}(_0x3b3d,0x83e44));import{Plugin as _0x148621}from'ckeditor5/src/core.js';import{Notification as _0xeb1523}from'ckeditor5/src/ui.js';import _0x215320 from'./exportwordcommand.js';import _0x1802cb from'./exportwordui.js';export default class s extends _0x148621{[_0x4ff768(0x1c6)];static get[_0x4ff768(0x1c9)](){const _0x142699=_0x4ff768;return _0x142699(0x1d4);}static get[_0x4ff768(0x1da)](){return!0x0;}static get[_0x4ff768(0x1dc)](){return!0x0;}static get[_0x4ff768(0x1d6)](){const _0x28d68a=_0x4ff768;return[_0x28d68a(0x1dd),_0xeb1523,_0x1802cb];}[_0x4ff768(0x1ce)](){const _0x1b8eef=_0x4ff768,_0x333cc0=this[_0x1b8eef(0x1e0)],_0x807d14=_0x333cc0[_0x1b8eef(0x1d8)][_0x1b8eef(0x1d7)](_0x1b8eef(0x1c8))||{};_0x333cc0[_0x1b8eef(0x1ca)][_0x1b8eef(0x1d9)](_0x1b8eef(0x1c8),new _0x215320(_0x333cc0));const _0x2fc277=_0x333cc0[_0x1b8eef(0x1cd)][_0x1b8eef(0x1d7)](_0x1b8eef(0x1dd));!0x1===_0x807d14[_0x1b8eef(0x1cc)]?this[_0x1b8eef(0x1c6)]=null:_0x807d14[_0x1b8eef(0x1cc)]?_0x2fc277[_0x1b8eef(0x1e1)](_0x807d14[_0x1b8eef(0x1cc)])[_0x1b8eef(0x1df)](_0x3dc11e=>{const _0x1f2b24=_0x1b8eef;this[_0x1f2b24(0x1c6)]=_0x3dc11e;}):this[_0x1b8eef(0x1c6)]=_0x2fc277[_0x1b8eef(0x1d2)];}}
23
+ const _0x5e2e81=_0x4f09;function _0x4f09(_0x1000cb,_0x294697){const _0x77beea=_0x77be();return _0x4f09=function(_0x4f09e2,_0x36df88){_0x4f09e2=_0x4f09e2-0xf2;let _0x14e44a=_0x77beea[_0x4f09e2];return _0x14e44a;},_0x4f09(_0x1000cb,_0x294697);}(function(_0x7ced1f,_0x216bc9){const _0x2595af=_0x4f09,_0x5a087d=_0x7ced1f();while(!![]){try{const _0x1292bd=parseInt(_0x2595af(0xfc))/0x1*(-parseInt(_0x2595af(0xfa))/0x2)+-parseInt(_0x2595af(0xfd))/0x3+-parseInt(_0x2595af(0xfb))/0x4*(parseInt(_0x2595af(0x10c))/0x5)+parseInt(_0x2595af(0xf8))/0x6+parseInt(_0x2595af(0x108))/0x7+-parseInt(_0x2595af(0xf9))/0x8+parseInt(_0x2595af(0xf6))/0x9;if(_0x1292bd===_0x216bc9)break;else _0x5a087d['push'](_0x5a087d['shift']());}catch(_0x1177d5){_0x5a087d['push'](_0x5a087d['shift']());}}}(_0x77be,0x85cd7));import{Plugin as _0x1c56fe}from'ckeditor5/src/core.js';function _0x77be(){const _0x1b667a=['add','exportWord','get','CloudServices','isPremiumPlugin','ExportWord','config','registerTokenUrl','_token','plugins','6969326LNCHYP','init','pluginName','editor','20DnWwjE','requires','token','isOfficialPlugin','then','commands','11768211iFCfgI','tokenUrl','591480wFkWUz','1497096EiMVOK','985234HesjRV','91292MVjsiZ','1CzcjRQ','3248028mUvnuT'];_0x77be=function(){return _0x1b667a;};return _0x77be();}import{Notification as _0x5ca50a}from'ckeditor5/src/ui.js';import _0x328e41 from'./exportwordcommand.js';import _0x867bf9 from'./exportwordui.js';export default class s extends _0x1c56fe{[_0x5e2e81(0x106)];static get[_0x5e2e81(0x10a)](){const _0x3b2889=_0x5e2e81;return _0x3b2889(0x103);}static get[_0x5e2e81(0xf3)](){return!0x0;}static get[_0x5e2e81(0x102)](){return!0x0;}static get[_0x5e2e81(0x10d)](){const _0x477536=_0x5e2e81;return[_0x477536(0x101),_0x5ca50a,_0x867bf9];}[_0x5e2e81(0x109)](){const _0x3b5272=_0x5e2e81,_0x1e3015=this[_0x3b5272(0x10b)],_0x3c34fe=_0x1e3015[_0x3b5272(0x104)][_0x3b5272(0x100)](_0x3b5272(0xff))||{};_0x1e3015[_0x3b5272(0xf5)][_0x3b5272(0xfe)](_0x3b5272(0xff),new _0x328e41(_0x1e3015));const _0x134739=_0x1e3015[_0x3b5272(0x107)][_0x3b5272(0x100)](_0x3b5272(0x101));!0x1===_0x3c34fe[_0x3b5272(0xf7)]?this[_0x3b5272(0x106)]=null:_0x3c34fe[_0x3b5272(0xf7)]?_0x134739[_0x3b5272(0x105)](_0x3c34fe[_0x3b5272(0xf7)])[_0x3b5272(0xf4)](_0x43f737=>{const _0x46237e=_0x3b5272;this[_0x46237e(0x106)]=_0x43f737;}):this[_0x3b5272(0x106)]=_0x134739[_0x3b5272(0xf2)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b65b=_0x46d5;function _0x46d5(_0x51391f,_0x5c632d){const _0x3729fa=_0x3729();return _0x46d5=function(_0x46d534,_0x3d1cc3){_0x46d534=_0x46d534-0x16f;let _0x3d976f=_0x3729fa[_0x46d534];return _0x3d976f;},_0x46d5(_0x51391f,_0x5c632d);}function _0x3729(){const _0x11f001=['affectsData','function','assertive','header','footer','isEnabled','then','editor','margin_bottom','document.docx','POST','auto_pagination','ExportWord','fileName','stylesheets','stringify','comments','refresh','click','_downloadFile','439970hsxPNA','status','155nuCuQs','get','11513810NvAqNi','102213IJzSeP','Word\x20document\x20export\x20successful','6037288vQLHIH','ariaLiveAnnouncer','contentLanguageDirection','blob','150VtFvjX','announce','format','token','download','53706EYCPIf','data','Notification','config','margin_top','</div>','1012hPMokb','application/docx','margin_left','22846lcZPOb','EDITOR_STYLES','pending','set','<div\x20class=\x22ck-content\x22\x20dir=\x22','catch','https://docx-converter.cke-cs.com/v1/convert','createElement','suggestions','application/json','margin_right','export-word-v1-api-is-deprecated','converterOptions','157820ixKBdU','dataCallback','URL','converterUrl','locale','orientation','https://docx-converter.cke-cs.com/v2/convert/html-docx','remove','_token','fetch','value','Word\x20document\x20export\x20failed','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','execute','8tyNwce','showWarning','isBusy','createObjectURL','options','Word\x20document\x20export\x20started','plugins','version','href','finally'];_0x3729=function(){return _0x11f001;};return _0x3729();}(function(_0x36666f,_0x23ff1b){const _0x8af4cb=_0x46d5,_0x4b4878=_0x36666f();while(!![]){try{const _0x39aae4=-parseInt(_0x8af4cb(0x19c))/0x1+-parseInt(_0x8af4cb(0x1b5))/0x2*(parseInt(_0x8af4cb(0x1a7))/0x3)+parseInt(_0x8af4cb(0x1a3))/0x4+-parseInt(_0x8af4cb(0x19e))/0x5*(-parseInt(_0x8af4cb(0x1ac))/0x6)+-parseInt(_0x8af4cb(0x1a0))/0x7*(-parseInt(_0x8af4cb(0x17e))/0x8)+-parseInt(_0x8af4cb(0x1a1))/0x9+parseInt(_0x8af4cb(0x170))/0xa*(-parseInt(_0x8af4cb(0x1b2))/0xb);if(_0x39aae4===_0x23ff1b)break;else _0x4b4878['push'](_0x4b4878['shift']());}catch(_0x57d8c1){_0x4b4878['push'](_0x4b4878['shift']());}}}(_0x3729,0xe9b1c));import{Command as _0x177a7e}from'ckeditor5/src/core.js';import{logWarning as _0x5ae4a6,collectStylesheets as _0x4a71fd}from'ckeditor5/src/utils.js';import{getConverterOptions as _0xa2138f,getConverterOptionsV2 as _0x2aaee4}from'./utils.js';import{getTranslation as _0xec8f69}from'./utils/common-translations.js';const h=[_0x49b65b(0x175),_0x49b65b(0x1b0),_0x49b65b(0x1bf),_0x49b65b(0x190),_0x49b65b(0x1b4),_0x49b65b(0x1a9),_0x49b65b(0x18b),_0x49b65b(0x18c),_0x49b65b(0x198),_0x49b65b(0x1bd)];export default class i extends _0x177a7e{constructor(_0x4ad801){const _0x2d0648=_0x49b65b;super(_0x4ad801),this[_0x2d0648(0x1b8)](_0x2d0648(0x180),!0x1),this[_0x2d0648(0x188)]=!0x1;}[_0x49b65b(0x199)](){const _0x5ca3ff=_0x49b65b;this[_0x5ca3ff(0x18d)]=!this[_0x5ca3ff(0x180)],this[_0x5ca3ff(0x17a)]=this[_0x5ca3ff(0x180)]?_0x5ca3ff(0x1b7):void 0x0;}[_0x49b65b(0x17d)](_0x16809d={}){const _0x5e45cf=_0x49b65b,_0x1a87d6=this[_0x5e45cf(0x18f)],_0x5224ca=_0x16809d[_0x5e45cf(0x185)]||0x2,_0x1030c2=0x1===_0x5224ca,_0x4c0fe5=_0x16809d[_0x5e45cf(0x173)]||(_0x1030c2?_0x5e45cf(0x1bb):_0x5e45cf(0x176)),_0x58319d=_0x16809d[_0x5e45cf(0x16f)]||{},_0x2d6883=_0x1a87d6[_0x5e45cf(0x184)][_0x5e45cf(0x19f)](_0x5e45cf(0x194)),_0x504903=_0x16809d[_0x5e45cf(0x1aa)]||_0x2d6883[_0x5e45cf(0x178)],_0x520786=!0x0===_0x58319d[_0x5e45cf(0x193)],_0x315edf=_0x16809d[_0x5e45cf(0x171)]||(_0x23d1cb=>_0x23d1cb[_0x5e45cf(0x1ad)][_0x5e45cf(0x19f)]({'pagination':_0x520786}));return 0x2===_0x5224ca&&function(_0x46d31){for(const _0x90e59 of h)if(void 0x0!==_0x46d31[_0x90e59])return!0x0;return!0x1;}(_0x58319d)&&_0x5ae4a6(_0x5e45cf(0x1c0)),this[_0x5e45cf(0x180)]=!0x0,this[_0x5e45cf(0x199)](),_0x4a71fd(_0x16809d[_0x5e45cf(0x196)]||[_0x5e45cf(0x1b6)])[_0x5e45cf(0x18e)](async _0x1c6c57=>{const _0x152006=_0x5e45cf;_0x1a87d6['ui'][_0x152006(0x1a4)][_0x152006(0x1a8)](_0xec8f69(_0x1a87d6[_0x152006(0x174)],_0x152006(0x183)));const _0x5628b4=await _0x315edf(_0x1a87d6),_0x42083={'html':_0x152006(0x1b9)+_0x1a87d6[_0x152006(0x174)][_0x152006(0x1a5)]+'\x22>'+_0x5628b4+_0x152006(0x1b1),'css':_0x1c6c57,[_0x1030c2?_0x152006(0x182):_0x152006(0x1af)]:{..._0x58319d,..._0x1030c2?_0xa2138f(_0x1a87d6,_0x58319d):_0x2aaee4(_0x1a87d6,_0x58319d)}},_0x5167fe={'method':_0x152006(0x192),'headers':{'Content-Type':_0x152006(0x1be),'Accept':_0x152006(0x1b3),..._0x504903?{'Authorization':_0x504903[_0x152006(0x17a)]}:null},'body':JSON[_0x152006(0x197)](_0x42083)};return window[_0x152006(0x179)](_0x4c0fe5,_0x5167fe)[_0x152006(0x18e)](_0x9fcb37=>{const _0x2a26a7=_0x152006;if(0xc8!==_0x9fcb37[_0x2a26a7(0x19d)])throw _0x9fcb37;return _0x9fcb37[_0x2a26a7(0x1a6)]();})[_0x152006(0x18e)](_0x4104ba=>{const _0x17a3cc=_0x152006;_0x1a87d6['ui'][_0x17a3cc(0x1a4)][_0x17a3cc(0x1a8)](_0xec8f69(_0x1a87d6[_0x17a3cc(0x174)],_0x17a3cc(0x1a2)));const _0x2a8377=_0x17a3cc(0x189)==typeof _0x16809d[_0x17a3cc(0x195)]?_0x16809d[_0x17a3cc(0x195)]():_0x16809d[_0x17a3cc(0x195)];this[_0x17a3cc(0x19b)](_0x4104ba,_0x2a8377||_0x17a3cc(0x191));});})[_0x5e45cf(0x1ba)](_0x1d5cde=>{const _0x2e37b8=_0x5e45cf,_0xdbb743=_0x1a87d6[_0x2e37b8(0x184)][_0x2e37b8(0x19f)](_0x2e37b8(0x1ae));throw _0x1a87d6['ui'][_0x2e37b8(0x1a4)][_0x2e37b8(0x1a8)](_0xec8f69(_0x1a87d6[_0x2e37b8(0x174)],_0x2e37b8(0x17b)),{'politeness':_0x2e37b8(0x18a)}),_0xdbb743[_0x2e37b8(0x17f)](_0xec8f69(_0x1a87d6[_0x2e37b8(0x174)],_0x2e37b8(0x17c))),_0x1d5cde;})[_0x5e45cf(0x187)](()=>{const _0x45ffad=_0x5e45cf;this[_0x45ffad(0x180)]=!0x1,this[_0x45ffad(0x199)]();});}[_0x49b65b(0x19b)](_0x45b294,_0x288d58){const _0x414b15=_0x49b65b,_0x5e8880=document[_0x414b15(0x1bc)]('a');_0x5e8880[_0x414b15(0x186)]=window[_0x414b15(0x172)][_0x414b15(0x181)](_0x45b294),_0x5e8880[_0x414b15(0x1ab)]=_0x288d58,_0x5e8880[_0x414b15(0x19a)](),_0x5e8880[_0x414b15(0x177)]();}}
23
+ const _0x2a058b=_0x2dd1;(function(_0x44a4fe,_0x245632){const _0x523689=_0x2dd1,_0x1b4857=_0x44a4fe();while(!![]){try{const _0x31c9f9=-parseInt(_0x523689(0x167))/0x1+-parseInt(_0x523689(0x17e))/0x2+-parseInt(_0x523689(0x15c))/0x3*(-parseInt(_0x523689(0x14a))/0x4)+parseInt(_0x523689(0x142))/0x5+-parseInt(_0x523689(0x17b))/0x6*(-parseInt(_0x523689(0x171))/0x7)+-parseInt(_0x523689(0x151))/0x8+parseInt(_0x523689(0x16d))/0x9;if(_0x31c9f9===_0x245632)break;else _0x1b4857['push'](_0x1b4857['shift']());}catch(_0x44dac4){_0x1b4857['push'](_0x1b4857['shift']());}}}(_0xd7c5,0x9538b));function _0x2dd1(_0x4ebff3,_0x50a6c2){const _0xd7c5b1=_0xd7c5();return _0x2dd1=function(_0x2dd1b8,_0x224a98){_0x2dd1b8=_0x2dd1b8-0x13f;let _0x1a45c0=_0xd7c5b1[_0x2dd1b8];return _0x1a45c0;},_0x2dd1(_0x4ebff3,_0x50a6c2);}import{Command as _0x4ee3ab}from'ckeditor5/src/core.js';import{logWarning as _0x191fb0,collectStylesheets as _0x31012f}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1c0729,getConverterOptionsV2 as _0x2f1d59}from'./utils.js';import{getTranslation as _0x1fdb53}from'./utils/common-translations.js';const h=[_0x2a058b(0x150),_0x2a058b(0x18d),_0x2a058b(0x160),_0x2a058b(0x141),_0x2a058b(0x18b),_0x2a058b(0x177),_0x2a058b(0x15e),_0x2a058b(0x176),_0x2a058b(0x162),_0x2a058b(0x14c)];export default class i extends _0x4ee3ab{constructor(_0xf29f49){const _0x38d7f4=_0x2a058b;super(_0xf29f49),this[_0x38d7f4(0x17a)](_0x38d7f4(0x170),!0x1),this[_0x38d7f4(0x180)]=!0x1;}[_0x2a058b(0x145)](){const _0x21dff7=_0x2a058b;this[_0x21dff7(0x143)]=!this[_0x21dff7(0x170)],this[_0x21dff7(0x164)]=this[_0x21dff7(0x170)]?_0x21dff7(0x18e):void 0x0;}[_0x2a058b(0x16e)](_0x19a925={}){const _0x4d161a=_0x2a058b,_0x1643cf=this[_0x4d161a(0x187)],_0x451cf2=_0x19a925[_0x4d161a(0x188)]||0x2,_0x40af12=0x1===_0x451cf2,_0x23c680=_0x19a925[_0x4d161a(0x178)]||(_0x40af12?_0x4d161a(0x185):_0x4d161a(0x169)),_0x521bb5=_0x19a925[_0x4d161a(0x14f)]||{},_0xb5540e=_0x1643cf[_0x4d161a(0x15b)][_0x4d161a(0x140)](_0x4d161a(0x18c)),_0x38e29b=_0x19a925[_0x4d161a(0x144)]||_0xb5540e[_0x4d161a(0x153)],_0x346345=!0x0===_0x521bb5[_0x4d161a(0x182)],_0x267e55=_0x19a925[_0x4d161a(0x152)]||(_0x43cd00=>_0x43cd00[_0x4d161a(0x146)][_0x4d161a(0x140)]({'pagination':_0x346345}));return 0x2===_0x451cf2&&function(_0x563c23){for(const _0x1ff066 of h)if(void 0x0!==_0x563c23[_0x1ff066])return!0x0;return!0x1;}(_0x521bb5)&&_0x191fb0(_0x4d161a(0x173)),this[_0x4d161a(0x170)]=!0x0,this[_0x4d161a(0x145)](),_0x31012f(_0x19a925[_0x4d161a(0x161)]||[_0x4d161a(0x14e)])[_0x4d161a(0x163)](async _0x49735f=>{const _0x25cb5d=_0x4d161a;_0x1643cf['ui'][_0x25cb5d(0x15f)][_0x25cb5d(0x16b)](_0x1fdb53(_0x1643cf[_0x25cb5d(0x158)],_0x25cb5d(0x165)));const _0x4751aa=await _0x267e55(_0x1643cf),_0x3ac414={'html':_0x25cb5d(0x175)+_0x1643cf[_0x25cb5d(0x158)][_0x25cb5d(0x147)]+'\x22>'+_0x4751aa+_0x25cb5d(0x149),'css':_0x49735f,[_0x40af12?_0x25cb5d(0x183):_0x25cb5d(0x13f)]:{..._0x521bb5,..._0x40af12?_0x1c0729(_0x1643cf,_0x521bb5):_0x2f1d59(_0x1643cf,_0x521bb5)}},_0x23be4e={'method':_0x25cb5d(0x16a),'headers':{'Content-Type':_0x25cb5d(0x14b),'Accept':_0x25cb5d(0x174),..._0x38e29b?{'Authorization':_0x38e29b[_0x25cb5d(0x164)]}:null},'body':JSON[_0x25cb5d(0x159)](_0x3ac414)};return window[_0x25cb5d(0x168)](_0x23c680,_0x23be4e)[_0x25cb5d(0x163)](_0x3ef12b=>{const _0x512538=_0x25cb5d;if(0xc8!==_0x3ef12b[_0x512538(0x186)])throw _0x3ef12b;return _0x3ef12b[_0x512538(0x157)]();})[_0x25cb5d(0x163)](_0x2aaccd=>{const _0xb291aa=_0x25cb5d;_0x1643cf['ui'][_0xb291aa(0x15f)][_0xb291aa(0x16b)](_0x1fdb53(_0x1643cf[_0xb291aa(0x158)],_0xb291aa(0x16f)));const _0x44378f=_0xb291aa(0x148)==typeof _0x19a925[_0xb291aa(0x181)]?_0x19a925[_0xb291aa(0x181)]():_0x19a925[_0xb291aa(0x181)];this[_0xb291aa(0x172)](_0x2aaccd,_0x44378f||_0xb291aa(0x17c));});})[_0x4d161a(0x155)](_0x1339d3=>{const _0x437205=_0x4d161a,_0x55102e=_0x1643cf[_0x437205(0x15b)][_0x437205(0x140)](_0x437205(0x17d));throw _0x1643cf['ui'][_0x437205(0x15f)][_0x437205(0x16b)](_0x1fdb53(_0x1643cf[_0x437205(0x158)],_0x437205(0x184)),{'politeness':_0x437205(0x14d)}),_0x55102e[_0x437205(0x154)](_0x1fdb53(_0x1643cf[_0x437205(0x158)],_0x437205(0x156))),_0x1339d3;})[_0x4d161a(0x18a)](()=>{const _0x3ead1a=_0x4d161a;this[_0x3ead1a(0x170)]=!0x1,this[_0x3ead1a(0x145)]();});}[_0x2a058b(0x172)](_0x2e22aa,_0x28ed11){const _0x509914=_0x2a058b,_0x65d379=document[_0x509914(0x17f)]('a');_0x65d379[_0x509914(0x15a)]=window[_0x509914(0x189)][_0x509914(0x15d)](_0x2e22aa),_0x65d379[_0x509914(0x179)]=_0x28ed11,_0x65d379[_0x509914(0x166)](),_0x65d379[_0x509914(0x16c)]();}}function _0xd7c5(){const _0x2fa602=['_token','showWarning','catch','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','blob','locale','stringify','href','plugins','3URgMqE','createObjectURL','header','ariaLiveAnnouncer','margin_right','stylesheets','comments','then','value','Word\x20document\x20export\x20started','click','460048ZeIpty','fetch','https://docx-converter.cke-cs.com/v2/convert/html-docx','POST','announce','remove','4061277CuNNcp','execute','Word\x20document\x20export\x20successful','isBusy','7ZEYwaz','_downloadFile','export-word-v1-api-is-deprecated','application/docx','<div\x20class=\x22ck-content\x22\x20dir=\x22','footer','format','converterUrl','download','set','5879622hyIlDY','document.docx','Notification','1172322aijcky','createElement','affectsData','fileName','auto_pagination','options','Word\x20document\x20export\x20failed','https://docx-converter.cke-cs.com/v1/convert','status','editor','version','URL','finally','margin_left','ExportWord','margin_top','pending','config','get','margin_bottom','5593460qDnHGT','isEnabled','token','refresh','data','contentLanguageDirection','function','</div>','375308PkGkJh','application/json','suggestions','assertive','EDITOR_STYLES','converterOptions','orientation','7890312cYWjVM','dataCallback'];_0xd7c5=function(){return _0x2fa602;};return _0xd7c5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d7add=_0x34b4;function _0x34b4(_0x59a5c4,_0x518021){const _0x298e48=_0x298e();return _0x34b4=function(_0x34b474,_0x5a522e){_0x34b474=_0x34b474-0x145;let _0x2b08a3=_0x298e48[_0x34b474];return _0x2b08a3;},_0x34b4(_0x59a5c4,_0x518021);}(function(_0xef5220,_0x2d242d){const _0x4ba35a=_0x34b4,_0x30fa8e=_0xef5220();while(!![]){try{const _0x187a5a=-parseInt(_0x4ba35a(0x166))/0x1*(parseInt(_0x4ba35a(0x149))/0x2)+parseInt(_0x4ba35a(0x169))/0x3*(-parseInt(_0x4ba35a(0x161))/0x4)+parseInt(_0x4ba35a(0x153))/0x5*(-parseInt(_0x4ba35a(0x164))/0x6)+parseInt(_0x4ba35a(0x14f))/0x7+-parseInt(_0x4ba35a(0x14e))/0x8+-parseInt(_0x4ba35a(0x148))/0x9+-parseInt(_0x4ba35a(0x154))/0xa*(-parseInt(_0x4ba35a(0x158))/0xb);if(_0x187a5a===_0x2d242d)break;else _0x30fa8e['push'](_0x30fa8e['shift']());}catch(_0x2d99ae){_0x30fa8e['push'](_0x30fa8e['shift']());}}}(_0x298e,0x88abc));import{Plugin as _0x71e440}from'ckeditor5/src/core.js';import{IconExportWord as _0xfe3bce}from'ckeditor5/src/icons.js';import{ButtonView as _0x5d3769,MenuBarMenuListItemButtonView as _0x2aa020,SpinnerView as _0x3dfe78}from'ckeditor5/src/ui.js';import{getTranslation as _0x47304e}from'./utils/common-translations.js';export default class o extends _0x71e440{static get[_0x3d7add(0x160)](){const _0x3978ad=_0x3d7add;return _0x3978ad(0x165);}static get[_0x3d7add(0x168)](){return!0x0;}static get[_0x3d7add(0x14b)](){return!0x0;}[_0x3d7add(0x159)](){const _0x7841cd=_0x3d7add,_0x33509f=this[_0x7841cd(0x15d)];_0x33509f['ui'][_0x7841cd(0x15b)][_0x7841cd(0x15a)](_0x7841cd(0x16e),()=>{const _0x25eceb=_0x7841cd,_0x532c50=_0x33509f[_0x25eceb(0x16a)][_0x25eceb(0x16b)](_0x25eceb(0x16e)),_0x2502f5=this[_0x25eceb(0x15e)](_0x5d3769);return _0x2502f5[_0x25eceb(0x150)]({'tooltip':!0x0}),_0x2502f5[_0x25eceb(0x16d)](_0x25eceb(0x15f))['to'](_0x532c50,_0x25eceb(0x145)),_0x2502f5;}),_0x33509f['ui'][_0x7841cd(0x15b)][_0x7841cd(0x15a)](_0x7841cd(0x157),()=>this[_0x7841cd(0x15e)](_0x2aa020));}[_0x3d7add(0x15e)](_0x14a762){const _0x34828d=_0x3d7add,_0x588175=this[_0x34828d(0x15d)],_0x332557=_0x588175[_0x34828d(0x151)][_0x34828d(0x16b)](_0x34828d(0x16e))||{},_0x41249d=_0x588175[_0x34828d(0x16a)][_0x34828d(0x16b)](_0x34828d(0x16e)),_0xa21df3=new _0x14a762(_0x588175[_0x34828d(0x147)]),_0x50bf32=new _0x3dfe78();return _0xa21df3[_0x34828d(0x14c)][_0x34828d(0x15a)](_0x50bf32),_0x50bf32[_0x34828d(0x16d)](_0x34828d(0x146))['to'](_0x41249d,_0x34828d(0x145)),_0xa21df3[_0x34828d(0x14a)][_0x34828d(0x16d)](_0x34828d(0x146))['to'](_0x41249d,_0x34828d(0x145),_0x5bc78d=>!_0x5bc78d),_0xa21df3[_0x34828d(0x150)]({'icon':_0xfe3bce}),_0xa21df3[_0x34828d(0x16d)](_0x34828d(0x16c))['to'](_0x41249d,_0x34828d(0x16c)),_0xa21df3[_0x34828d(0x16d)](_0x34828d(0x14d))['to'](_0x41249d,_0x34828d(0x145),_0x42c370=>_0x47304e(_0x588175[_0x34828d(0x147)],_0x42c370?_0x34828d(0x163):_0x34828d(0x15c))),this[_0x34828d(0x156)](_0xa21df3,_0x34828d(0x155),()=>{const _0x41772d=_0x34828d;_0x588175[_0x41772d(0x155)](_0x41772d(0x16e),_0x332557),_0x588175[_0x41772d(0x167)][_0x41772d(0x152)][_0x41772d(0x162)]();}),_0xa21df3;}}function _0x298e(){const _0x2e0bbb=['config','view','95zwgpBg','13894720CMqXGu','execute','listenTo','menuBar:exportWord','22NfrDlL','init','add','componentFactory','Export\x20to\x20Word','editor','_createButton','isOn','pluginName','2058312WpRBzJ','focus','Exporting\x20Word\x20document','52362qXpyCS','ExportWordUI','823cPSbQZ','editing','isOfficialPlugin','6YhXlqq','commands','get','isEnabled','bind','exportWord','isBusy','isVisible','locale','8697915uUpKsb','1544lkKozR','iconView','isPremiumPlugin','children','label','2582800YWadqU','6303290OEgYAo','set'];_0x298e=function(){return _0x2e0bbb;};return _0x298e();}
23
+ const _0x1a87e4=_0x409b;function _0x2ba7(){const _0x355edd=['init','bind','50bQvSue','71652ImepOk','label','view','iconView','isVisible','isOfficialPlugin','get','ExportWordUI','3107252zDQFxg','79iwtPwM','execute','_createButton','3DcVjvt','2194936fDaSJP','config','5392439GuyKCA','isOn','23806eHlTLe','editing','add','287771fVVpxO','480GPzBkh','focus','exportWord','editor','listenTo','isEnabled','24579wWmkPC','set','Exporting\x20Word\x20document','commands','7PaLxuK','pluginName','componentFactory','3390BHLEZb','locale','isPremiumPlugin','children','isBusy','menuBar:exportWord','Export\x20to\x20Word'];_0x2ba7=function(){return _0x355edd;};return _0x2ba7();}(function(_0x374961,_0x3e26e2){const _0x4007d1=_0x409b,_0x9a3dd8=_0x374961();while(!![]){try{const _0x22158d=-parseInt(_0x4007d1(0x107))/0x1*(-parseInt(_0x4007d1(0x10f))/0x2)+parseInt(_0x4007d1(0x10a))/0x3*(-parseInt(_0x4007d1(0x106))/0x4)+-parseInt(_0x4007d1(0xfd))/0x5*(-parseInt(_0x4007d1(0xfe))/0x6)+parseInt(_0x4007d1(0xf1))/0x7*(-parseInt(_0x4007d1(0x10b))/0x8)+-parseInt(_0x4007d1(0xed))/0x9*(parseInt(_0x4007d1(0xf4))/0xa)+-parseInt(_0x4007d1(0x112))/0xb*(-parseInt(_0x4007d1(0x113))/0xc)+parseInt(_0x4007d1(0x10d))/0xd;if(_0x22158d===_0x3e26e2)break;else _0x9a3dd8['push'](_0x9a3dd8['shift']());}catch(_0x168f6e){_0x9a3dd8['push'](_0x9a3dd8['shift']());}}}(_0x2ba7,0x84d0b));function _0x409b(_0x623247,_0x19db96){const _0x2ba77b=_0x2ba7();return _0x409b=function(_0x409b1b,_0x5f3110){_0x409b1b=_0x409b1b-0xe9;let _0x5e3236=_0x2ba77b[_0x409b1b];return _0x5e3236;},_0x409b(_0x623247,_0x19db96);}import{Plugin as _0x31727d}from'ckeditor5/src/core.js';import{IconExportWord as _0x222cbd}from'ckeditor5/src/icons.js';import{ButtonView as _0x10e564,MenuBarMenuListItemButtonView as _0x273d99,SpinnerView as _0x2155b6}from'ckeditor5/src/ui.js';import{getTranslation as _0x2357ef}from'./utils/common-translations.js';export default class o extends _0x31727d{static get[_0x1a87e4(0xf2)](){const _0x29884a=_0x1a87e4;return _0x29884a(0x105);}static get[_0x1a87e4(0x103)](){return!0x0;}static get[_0x1a87e4(0xf6)](){return!0x0;}[_0x1a87e4(0xfb)](){const _0x456460=_0x1a87e4,_0x597f6f=this[_0x456460(0xea)];_0x597f6f['ui'][_0x456460(0xf3)][_0x456460(0x111)](_0x456460(0xe9),()=>{const _0x4dc31f=_0x456460,_0x4f0a62=_0x597f6f[_0x4dc31f(0xf0)][_0x4dc31f(0x104)](_0x4dc31f(0xe9)),_0x3a2921=this[_0x4dc31f(0x109)](_0x10e564);return _0x3a2921[_0x4dc31f(0xee)]({'tooltip':!0x0}),_0x3a2921[_0x4dc31f(0xfc)](_0x4dc31f(0x10e))['to'](_0x4f0a62,_0x4dc31f(0xf8)),_0x3a2921;}),_0x597f6f['ui'][_0x456460(0xf3)][_0x456460(0x111)](_0x456460(0xf9),()=>this[_0x456460(0x109)](_0x273d99));}[_0x1a87e4(0x109)](_0x376268){const _0x5e1c61=_0x1a87e4,_0x559d74=this[_0x5e1c61(0xea)],_0x33f0a9=_0x559d74[_0x5e1c61(0x10c)][_0x5e1c61(0x104)](_0x5e1c61(0xe9))||{},_0x383043=_0x559d74[_0x5e1c61(0xf0)][_0x5e1c61(0x104)](_0x5e1c61(0xe9)),_0x437c91=new _0x376268(_0x559d74[_0x5e1c61(0xf5)]),_0x839ae1=new _0x2155b6();return _0x437c91[_0x5e1c61(0xf7)][_0x5e1c61(0x111)](_0x839ae1),_0x839ae1[_0x5e1c61(0xfc)](_0x5e1c61(0x102))['to'](_0x383043,_0x5e1c61(0xf8)),_0x437c91[_0x5e1c61(0x101)][_0x5e1c61(0xfc)](_0x5e1c61(0x102))['to'](_0x383043,_0x5e1c61(0xf8),_0x2201c1=>!_0x2201c1),_0x437c91[_0x5e1c61(0xee)]({'icon':_0x222cbd}),_0x437c91[_0x5e1c61(0xfc)](_0x5e1c61(0xec))['to'](_0x383043,_0x5e1c61(0xec)),_0x437c91[_0x5e1c61(0xfc)](_0x5e1c61(0xff))['to'](_0x383043,_0x5e1c61(0xf8),_0x3a3e96=>_0x2357ef(_0x559d74[_0x5e1c61(0xf5)],_0x3a3e96?_0x5e1c61(0xef):_0x5e1c61(0xfa))),this[_0x5e1c61(0xeb)](_0x437c91,_0x5e1c61(0x108),()=>{const _0x4b0104=_0x5e1c61;_0x559d74[_0x4b0104(0x108)](_0x4b0104(0xe9),_0x33f0a9),_0x559d74[_0x4b0104(0x110)][_0x4b0104(0x100)][_0x4b0104(0x114)]();}),_0x437c91;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4019d2,_0x1902fa){var _0x21ce46=_0x2a13,_0x3bc345=_0x4019d2();while(!![]){try{var _0x203597=-parseInt(_0x21ce46(0x15e))/0x1+-parseInt(_0x21ce46(0x160))/0x2+parseInt(_0x21ce46(0x15b))/0x3*(-parseInt(_0x21ce46(0x15d))/0x4)+-parseInt(_0x21ce46(0x159))/0x5+parseInt(_0x21ce46(0x15a))/0x6+-parseInt(_0x21ce46(0x15c))/0x7+parseInt(_0x21ce46(0x15f))/0x8;if(_0x203597===_0x1902fa)break;else _0x3bc345['push'](_0x3bc345['shift']());}catch(_0x4d4fe5){_0x3bc345['push'](_0x3bc345['shift']());}}}(_0x2d09,0x2ef20));function _0x2a13(_0x58e5e5,_0x34ad52){var _0x2d09d6=_0x2d09();return _0x2a13=function(_0x2a13c1,_0x24201e){_0x2a13c1=_0x2a13c1-0x159;var _0x46f81c=_0x2d09d6[_0x2a13c1];return _0x46f81c;},_0x2a13(_0x58e5e5,_0x34ad52);}function _0x2d09(){var _0x2b5249=['2114763kKAnyr','138068MkXKTy','295002hidtDX','10573832FgNFtf','560780VXmYme','875285ZqyIzK','988416dCqAyl','21WOhAwL'];_0x2d09=function(){return _0x2b5249;};return _0x2d09();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
23
+ function _0x5dbe(_0x10591a,_0x5c9b3c){var _0x36d45e=_0x36d4();return _0x5dbe=function(_0x5dbeed,_0x2f9b59){_0x5dbeed=_0x5dbeed-0xf0;var _0x4778f1=_0x36d45e[_0x5dbeed];return _0x4778f1;},_0x5dbe(_0x10591a,_0x5c9b3c);}function _0x36d4(){var _0x30153d=['4102TjCMTA','408099UYfRdg','82kjGHRq','1026clnAjK','7652876jZPPqp','2213QowerV','5378670aLngRG','324dXsyfK','35TqAAFV','37912kOOyej','25820zkHiLg'];_0x36d4=function(){return _0x30153d;};return _0x36d4();}(function(_0x12c360,_0x178e8b){var _0x3d4061=_0x5dbe,_0x5b8105=_0x12c360();while(!![]){try{var _0x55159=parseInt(_0x3d4061(0xf9))/0x1*(parseInt(_0x3d4061(0xf6))/0x2)+parseInt(_0x3d4061(0xf5))/0x3+parseInt(_0x3d4061(0xf3))/0x4*(-parseInt(_0x3d4061(0xf1))/0x5)+-parseInt(_0x3d4061(0xf7))/0x6*(-parseInt(_0x3d4061(0xf4))/0x7)+-parseInt(_0x3d4061(0xf2))/0x8*(-parseInt(_0x3d4061(0xf0))/0x9)+parseInt(_0x3d4061(0xfa))/0xa+-parseInt(_0x3d4061(0xf8))/0xb;if(_0x55159===_0x178e8b)break;else _0x5b8105['push'](_0x5b8105['shift']());}catch(_0xeb15ce){_0x5b8105['push'](_0x5b8105['shift']());}}}(_0x36d4,0x47e8e));export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2e1c9f,_0x4e75f4){const t=_0x2e1c9f['t'];switch(_0x4e75f4){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 _0x4e75f4;}}
23
+ export function getTranslation(_0x12fbcc,_0x3a117b){const t=_0x12fbcc['t'];switch(_0x3a117b){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 _0x3a117b;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1c9341,_0x2b7c4c){const _0x47e2b2=_0xedd0,_0x4967a4=_0x1c9341();while(!![]){try{const _0x595065=-parseInt(_0x47e2b2(0x1ca))/0x1+-parseInt(_0x47e2b2(0x1c2))/0x2+-parseInt(_0x47e2b2(0x1e8))/0x3*(-parseInt(_0x47e2b2(0x1de))/0x4)+parseInt(_0x47e2b2(0x1bd))/0x5*(parseInt(_0x47e2b2(0x1d7))/0x6)+parseInt(_0x47e2b2(0x1d1))/0x7*(-parseInt(_0x47e2b2(0x1d6))/0x8)+-parseInt(_0x47e2b2(0x1f0))/0x9*(-parseInt(_0x47e2b2(0x1cc))/0xa)+parseInt(_0x47e2b2(0x1f1))/0xb*(parseInt(_0x47e2b2(0x1bc))/0xc);if(_0x595065===_0x2b7c4c)break;else _0x4967a4['push'](_0x4967a4['shift']());}catch(_0x367a2f){_0x4967a4['push'](_0x4967a4['shift']());}}}(_0x490e,0x7f44d));export function getConverterOptions(_0x2c6b7a,_0x36c4d8={}){const _0x5d75c1=_0xedd0,_0x59f990=_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1ed)](_0x5d75c1(0x1e5)),_0x372226=_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1ed)](_0x5d75c1(0x1c7)),_0x4d37b8=_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1ed)](_0x5d75c1(0x1da)),_0x3459ec=_0x36c4d8;if(_0x59f990&&_0x372226){const _0x398141=getComments(_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1eb)](_0x5d75c1(0x1c7))[_0x5d75c1(0x1c9)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5d75c1(0x1df)](_0x398141)[_0x5d75c1(0x1e1)]&&(_0x3459ec[_0x5d75c1(0x1be)]=_0x398141);}if(_0x59f990&&_0x4d37b8){const _0x424416=_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1eb)](_0x5d75c1(0x1da)),_0x5a17e7=_0x2c6b7a[_0x5d75c1(0x1f6)][_0x5d75c1(0x1eb)](_0x5d75c1(0x1e5)),_0x568a80=getSuggestions(_0x424416[_0x5d75c1(0x1dd)]({'toJSON':!0x0}),_0x5a17e7[_0x5d75c1(0x1d4)]);Object[_0x5d75c1(0x1df)](_0x568a80)[_0x5d75c1(0x1e1)]&&(_0x3459ec[_0x5d75c1(0x1ef)]=_0x568a80);}return(_0x3459ec[_0x5d75c1(0x1ef)]||_0x3459ec[_0x5d75c1(0x1be)])&&(_0x3459ec[_0x5d75c1(0x1e4)]=new Intl[(_0x5d75c1(0x1cf))]()[_0x5d75c1(0x1bf)]()[_0x5d75c1(0x1c0)]),_0x3459ec;}export function getComments(_0x1e97b6){const _0x3c43c3=_0xedd0,_0x2639ba={};if(!_0x1e97b6[_0x3c43c3(0x1e1)])return _0x2639ba;for(const _0x4f5b0d of _0x1e97b6)_0x4f5b0d[_0x3c43c3(0x1be)][_0x3c43c3(0x1db)](_0x53a59c=>{const _0xfdbc8c=_0x3c43c3;void 0x0===_0x2639ba[_0x4f5b0d['id']]&&(_0x2639ba[_0x4f5b0d['id']]=[]),_0x2639ba[_0x4f5b0d['id']][_0xfdbc8c(0x1c5)]({'author':_0x53a59c[_0xfdbc8c(0x1ea)][_0xfdbc8c(0x1c3)],'content':_0x53a59c[_0xfdbc8c(0x1c6)],'created':_0x53a59c[_0xfdbc8c(0x1ec)],'is_resolved':_0x4f5b0d[_0xfdbc8c(0x1cd)]});});return _0x2639ba;}export function getSuggestions(_0x3fd900,_0x5524f1){const _0x4dfe50=_0xedd0,_0x342447={};if(!_0x3fd900[_0x4dfe50(0x1e1)]||!_0x5524f1[_0x4dfe50(0x1e1)])return _0x342447;for(const {id:_0x2d46d1,createdAt:_0x4ba2d5,authorId:_0x434ded,attributes:_0x402eb1}of _0x3fd900){const _0x503bd5=_0x402eb1&&_0x402eb1[_0x4dfe50(0x1f5)],_0x141604=_0x503bd5?_0x503bd5[_0x4dfe50(0x1dc)]:_0x5524f1[_0x4dfe50(0x1eb)](_0x434ded)[_0x4dfe50(0x1c3)];_0x342447[_0x2d46d1]={'author':_0x141604,'created':_0x4ba2d5};}return _0x342447;}export function getConverterOptionsV2(_0x5856b8,_0x3d8c4c={}){const _0x3ebc6e=_0xedd0,_0x4e88b0=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1ed)](_0x3ebc6e(0x1e5)),_0x2cce13=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1ed)](_0x3ebc6e(0x1c7)),_0x2a5c75=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1ed)](_0x3ebc6e(0x1da)),_0x5d364d=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1ed)](_0x3ebc6e(0x1d3)),_0x1e77ac=_0x5856b8[_0x3ebc6e(0x1d8)][_0x3ebc6e(0x1e9)],_0x587b5c=_0x3d8c4c,_0x34bd2f={};if(_0x587b5c[_0x3ebc6e(0x1e7)]=_0x587b5c[_0x3ebc6e(0x1e7)]||{},_0x587b5c[_0x3ebc6e(0x1e7)][_0x3ebc6e(0x1c4)]=_0x587b5c[_0x3ebc6e(0x1e7)][_0x3ebc6e(0x1c4)]||_0x1e77ac,_0x4e88b0&&_0x2cce13){const _0x427553=getCommentsV2(_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1eb)](_0x3ebc6e(0x1c7))[_0x3ebc6e(0x1c9)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x427553[_0x3ebc6e(0x1e1)]&&(_0x34bd2f[_0x3ebc6e(0x1d5)]=_0x427553);}if(_0x4e88b0&&_0x2a5c75){const _0x421cab=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1eb)](_0x3ebc6e(0x1da)),_0x58fa36=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1eb)](_0x3ebc6e(0x1e5)),_0x4ef6cc=getSuggestionsV2(_0x421cab[_0x3ebc6e(0x1dd)]({'toJSON':!0x0}),_0x58fa36[_0x3ebc6e(0x1d4)]);_0x4ef6cc[_0x3ebc6e(0x1e1)]&&(_0x34bd2f[_0x3ebc6e(0x1ef)]=_0x4ef6cc);}if(_0x5d364d){const _0x159dcf=_0x5856b8[_0x3ebc6e(0x1f6)][_0x3ebc6e(0x1eb)](_0x3ebc6e(0x1e2)),_0x199159=_0x159dcf[_0x3ebc6e(0x1e3)],{prefix:_0x6dd23e,suffix:_0x38ec69}=_0x5856b8[_0x3ebc6e(0x1f4)][_0x3ebc6e(0x1eb)](_0x3ebc6e(0x1ce));if(_0x587b5c[_0x3ebc6e(0x1d2)]={'prefix':_0x6dd23e,'suffix':_0x38ec69},_0x3ebc6e(0x1c1)!==_0x199159){_0x587b5c[_0x3ebc6e(0x1d2)][_0x3ebc6e(0x1d0)]={};const _0x9c7985=_0x3ebc6e(0x1d9),_0xcd83d9=_0x3ebc6e(0x1e0)===_0x199159?_0x159dcf[_0x3ebc6e(0x1cb)]():_0x159dcf[_0x3ebc6e(0x1f2)](_0x199159,!0x0);for(const _0x1d0975 of Object[_0x3ebc6e(0x1c8)](_0xcd83d9)){const [_0x372220,_0x222937]=_0x1d0975;_0x3ebc6e(0x1f7)===_0x159dcf[_0x3ebc6e(0x1e6)](_0x372220)?_0x587b5c[_0x3ebc6e(0x1d2)][_0x3ebc6e(0x1d0)][_0x372220]=null!==_0x222937?_0x222937:_0x9c7985:_0x587b5c[_0x3ebc6e(0x1d2)][_0x3ebc6e(0x1d0)][_0x372220]=null!==_0x222937?_0x222937:_0x159dcf[_0x3ebc6e(0x1ee)](_0x372220)||_0x372220;}}}return(_0x34bd2f[_0x3ebc6e(0x1d5)]||_0x34bd2f[_0x3ebc6e(0x1ef)])&&(_0x587b5c[_0x3ebc6e(0x1e4)]=new Intl[(_0x3ebc6e(0x1cf))]()[_0x3ebc6e(0x1bf)]()[_0x3ebc6e(0x1c0)],_0x587b5c[_0x3ebc6e(0x1f3)]=_0x34bd2f),_0x587b5c;}export function getCommentsV2(_0xfc440a){const _0x1d211b=_0xedd0,_0x24ccc4=[];if(!_0xfc440a[_0x1d211b(0x1e1)])return _0x24ccc4;for(const _0x4febd7 of _0xfc440a){const _0x2f50bb=_0x4febd7[_0x1d211b(0x1be)][_0x1d211b(0x1db)](_0x491992=>({'author':_0x491992[_0x1d211b(0x1ea)][_0x1d211b(0x1c3)],'content':_0x491992[_0x1d211b(0x1c6)],'created_at':_0x491992[_0x1d211b(0x1ec)]}));_0x24ccc4[_0x1d211b(0x1c5)]({'thread_id':_0x4febd7['id'],'is_resolved':_0x4febd7[_0x1d211b(0x1cd)],'comments':_0x2f50bb});}return _0x24ccc4;}function _0xedd0(_0x32adf8,_0x352bfe){const _0x490ed1=_0x490e();return _0xedd0=function(_0xedd08e,_0x1b643e){_0xedd08e=_0xedd08e-0x1bc;let _0x4452ef=_0x490ed1[_0xedd08e];return _0x4452ef;},_0xedd0(_0x32adf8,_0x352bfe);}export function getSuggestionsV2(_0x27449c,_0x2b2f9d){const _0x499100=_0xedd0;return _0x27449c[_0x499100(0x1e1)]&&_0x2b2f9d[_0x499100(0x1e1)]?_0x27449c[_0x499100(0x1db)](({id:_0x81f61a,createdAt:_0x13e7f7,authorId:_0x19183c,attributes:_0x17a52e})=>{const _0x1f0db8=_0x499100,_0x24d952=_0x17a52e&&_0x17a52e[_0x1f0db8(0x1f5)];return{'id':_0x81f61a,'author':_0x24d952?_0x24d952[_0x1f0db8(0x1dc)]:_0x2b2f9d[_0x1f0db8(0x1eb)](_0x19183c)[_0x1f0db8(0x1c3)],'created_at':_0x13e7f7};}):[];}function _0x490e(){const _0x2777fc=['length','MergeFieldsEditing','previewMode','timezone','Users','getMergeFieldType','document','344913YjXVDo','contentLanguage','author','get','createdAt','has','getLabel','suggestions','4541598BhgXVS','1507KcdWRi','getDataSetValues','collaboration_features','config','@external','plugins','image','84468jDNQup','2145805ARqjFC','comments','resolvedOptions','timeZone','$labels','1378786giTVWY','name','language','push','content','CommentsRepository','entries','getCommentThreads','768807JLZhhv','getDefaultValues','10QfwPTr','isResolved','mergeFields','DateTimeFormat','data','235228YqQVCK','merge_fields','MergeFields','users','comment_threads','8zkqKsJ','6ynBumd','locale','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','TrackChanges','map','authorName','getSuggestions','4RsmssW','keys','$defaultValues'];_0x490e=function(){return _0x2777fc;};return _0x490e();}
23
+ (function(_0x1d4bb5,_0x590745){const _0x42f78c=_0x46ae,_0x2ccbcd=_0x1d4bb5();while(!![]){try{const _0x52e7f9=-parseInt(_0x42f78c(0x1d4))/0x1*(-parseInt(_0x42f78c(0x1b8))/0x2)+-parseInt(_0x42f78c(0x1b3))/0x3+-parseInt(_0x42f78c(0x1cc))/0x4*(parseInt(_0x42f78c(0x1aa))/0x5)+parseInt(_0x42f78c(0x1ca))/0x6*(-parseInt(_0x42f78c(0x1b0))/0x7)+-parseInt(_0x42f78c(0x1c3))/0x8+parseInt(_0x42f78c(0x1d6))/0x9*(-parseInt(_0x42f78c(0x1b9))/0xa)+parseInt(_0x42f78c(0x19d))/0xb*(parseInt(_0x42f78c(0x1c6))/0xc);if(_0x52e7f9===_0x590745)break;else _0x2ccbcd['push'](_0x2ccbcd['shift']());}catch(_0xc2b9f2){_0x2ccbcd['push'](_0x2ccbcd['shift']());}}}(_0x680c,0xd38cb));export function getConverterOptions(_0x3fa8b1,_0x59b431={}){const _0x5546b8=_0x46ae,_0x5a907a=_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1d3)](_0x5546b8(0x1bd)),_0x174b55=_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1d3)](_0x5546b8(0x1b1)),_0x4de147=_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1d3)](_0x5546b8(0x1a1)),_0x57308b=_0x59b431;if(_0x5a907a&&_0x174b55){const _0x4795f4=getComments(_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1a8)](_0x5546b8(0x1b1))[_0x5546b8(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5546b8(0x1b4)](_0x4795f4)[_0x5546b8(0x1a3)]&&(_0x57308b[_0x5546b8(0x1cf)]=_0x4795f4);}if(_0x5a907a&&_0x4de147){const _0x57febb=_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1a8)](_0x5546b8(0x1a1)),_0x236aa0=_0x3fa8b1[_0x5546b8(0x1c8)][_0x5546b8(0x1a8)](_0x5546b8(0x1bd)),_0x213b97=getSuggestions(_0x57febb[_0x5546b8(0x1d2)]({'toJSON':!0x0}),_0x236aa0[_0x5546b8(0x1d5)]);Object[_0x5546b8(0x1b4)](_0x213b97)[_0x5546b8(0x1a3)]&&(_0x57308b[_0x5546b8(0x1bf)]=_0x213b97);}return(_0x57308b[_0x5546b8(0x1bf)]||_0x57308b[_0x5546b8(0x1cf)])&&(_0x57308b[_0x5546b8(0x1b2)]=new Intl[(_0x5546b8(0x1d0))]()[_0x5546b8(0x1ae)]()[_0x5546b8(0x1ad)]),_0x57308b;}export function getComments(_0x17dc7d){const _0x2b7bfb=_0x46ae,_0x3dcc30={};if(!_0x17dc7d[_0x2b7bfb(0x1a3)])return _0x3dcc30;for(const _0x109d50 of _0x17dc7d)_0x109d50[_0x2b7bfb(0x1cf)][_0x2b7bfb(0x1ac)](_0x4c2a2c=>{const _0x4b1ee7=_0x2b7bfb;void 0x0===_0x3dcc30[_0x109d50['id']]&&(_0x3dcc30[_0x109d50['id']]=[]),_0x3dcc30[_0x109d50['id']][_0x4b1ee7(0x1ba)]({'author':_0x4c2a2c[_0x4b1ee7(0x1b6)][_0x4b1ee7(0x19f)],'content':_0x4c2a2c[_0x4b1ee7(0x1c4)],'created':_0x4c2a2c[_0x4b1ee7(0x1a6)],'is_resolved':_0x109d50[_0x4b1ee7(0x19e)]});});return _0x3dcc30;}export function getSuggestions(_0x2f9d7d,_0x549065){const _0x3bc3cd=_0x46ae,_0x515e70={};if(!_0x2f9d7d[_0x3bc3cd(0x1a3)]||!_0x549065[_0x3bc3cd(0x1a3)])return _0x515e70;for(const {id:_0x5da49c,createdAt:_0x5e9fd1,authorId:_0x45aca9,attributes:_0x160a7d}of _0x2f9d7d){const _0x6524ce=_0x160a7d&&_0x160a7d[_0x3bc3cd(0x1bc)],_0x17be07=_0x6524ce?_0x6524ce[_0x3bc3cd(0x1ce)]:_0x549065[_0x3bc3cd(0x1a8)](_0x45aca9)[_0x3bc3cd(0x19f)];_0x515e70[_0x5da49c]={'author':_0x17be07,'created':_0x5e9fd1};}return _0x515e70;}export function getConverterOptionsV2(_0x2359b4,_0x262bc3={}){const _0x2f78ed=_0x46ae,_0x5d8d06=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1d3)](_0x2f78ed(0x1bd)),_0x3343e1=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1d3)](_0x2f78ed(0x1b1)),_0x2e2fd4=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1d3)](_0x2f78ed(0x1a1)),_0x81aa7b=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1d3)](_0x2f78ed(0x1c1)),_0x2f8166=_0x2359b4[_0x2f78ed(0x1bb)][_0x2f78ed(0x1c5)],_0x2adbc4=_0x262bc3,_0x341269={};if(_0x2adbc4[_0x2f78ed(0x1a2)]=_0x2adbc4[_0x2f78ed(0x1a2)]||{},_0x2adbc4[_0x2f78ed(0x1a2)][_0x2f78ed(0x1a0)]=_0x2adbc4[_0x2f78ed(0x1a2)][_0x2f78ed(0x1a0)]||_0x2f8166,_0x5d8d06&&_0x3343e1){const _0x9f6b2a=getCommentsV2(_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1a8)](_0x2f78ed(0x1b1))[_0x2f78ed(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x9f6b2a[_0x2f78ed(0x1a3)]&&(_0x341269[_0x2f78ed(0x1cd)]=_0x9f6b2a);}if(_0x5d8d06&&_0x2e2fd4){const _0x15f353=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1a8)](_0x2f78ed(0x1a1)),_0x4f8b17=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1a8)](_0x2f78ed(0x1bd)),_0x3c3691=getSuggestionsV2(_0x15f353[_0x2f78ed(0x1d2)]({'toJSON':!0x0}),_0x4f8b17[_0x2f78ed(0x1d5)]);_0x3c3691[_0x2f78ed(0x1a3)]&&(_0x341269[_0x2f78ed(0x1bf)]=_0x3c3691);}if(_0x81aa7b){const _0x1b6595=_0x2359b4[_0x2f78ed(0x1c8)][_0x2f78ed(0x1a8)](_0x2f78ed(0x1c7)),_0x4b7825=_0x1b6595[_0x2f78ed(0x1a5)],{prefix:_0x464ef2,suffix:_0x5a23d4}=_0x2359b4[_0x2f78ed(0x1c9)][_0x2f78ed(0x1a8)](_0x2f78ed(0x1a7));if(_0x2adbc4[_0x2f78ed(0x19b)]={'prefix':_0x464ef2,'suffix':_0x5a23d4},_0x2f78ed(0x1c0)!==_0x4b7825){_0x2adbc4[_0x2f78ed(0x19b)][_0x2f78ed(0x1ab)]={};const _0x56317d=_0x2f78ed(0x1c2),_0xa2b004=_0x2f78ed(0x1af)===_0x4b7825?_0x1b6595[_0x2f78ed(0x19c)]():_0x1b6595[_0x2f78ed(0x1b5)](_0x4b7825,!0x0);for(const _0x81d5ab of Object[_0x2f78ed(0x1a4)](_0xa2b004)){const [_0x29b853,_0x24f4d7]=_0x81d5ab;_0x2f78ed(0x1a9)===_0x1b6595[_0x2f78ed(0x1be)](_0x29b853)?_0x2adbc4[_0x2f78ed(0x19b)][_0x2f78ed(0x1ab)][_0x29b853]=null!==_0x24f4d7?_0x24f4d7:_0x56317d:_0x2adbc4[_0x2f78ed(0x19b)][_0x2f78ed(0x1ab)][_0x29b853]=null!==_0x24f4d7?_0x24f4d7:_0x1b6595[_0x2f78ed(0x1b7)](_0x29b853)||_0x29b853;}}}return(_0x341269[_0x2f78ed(0x1cd)]||_0x341269[_0x2f78ed(0x1bf)])&&(_0x2adbc4[_0x2f78ed(0x1b2)]=new Intl[(_0x2f78ed(0x1d0))]()[_0x2f78ed(0x1ae)]()[_0x2f78ed(0x1ad)],_0x2adbc4[_0x2f78ed(0x1cb)]=_0x341269),_0x2adbc4;}function _0x680c(){const _0x43a548=['$defaultValues','21LKZRbU','CommentsRepository','timezone','3059361NlQvaa','keys','getDataSetValues','author','getLabel','26umGPCx','70SLFMbP','push','locale','@external','Users','getMergeFieldType','suggestions','$labels','MergeFields','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','8544496ogfDxF','content','contentLanguage','29177904JzXAdg','MergeFieldsEditing','plugins','config','3301884lqCxxR','collaboration_features','38468AqXsGk','comment_threads','authorName','comments','DateTimeFormat','getCommentThreads','getSuggestions','has','93105vuzDmN','users','1417635cqivrW','merge_fields','getDefaultValues','22ZogtYs','isResolved','name','language','TrackChanges','document','length','entries','previewMode','createdAt','mergeFields','get','image','190egMtXC','data','map','timeZone','resolvedOptions'];_0x680c=function(){return _0x43a548;};return _0x680c();}function _0x46ae(_0x3c2adc,_0x3d70b0){const _0x680c4d=_0x680c();return _0x46ae=function(_0x46ae5c,_0x2dd924){_0x46ae5c=_0x46ae5c-0x19b;let _0x44c803=_0x680c4d[_0x46ae5c];return _0x44c803;},_0x46ae(_0x3c2adc,_0x3d70b0);}export function getCommentsV2(_0x5997e2){const _0x24c68e=_0x46ae,_0x5a185a=[];if(!_0x5997e2[_0x24c68e(0x1a3)])return _0x5a185a;for(const _0x11fb04 of _0x5997e2){const _0x48a60e=_0x11fb04[_0x24c68e(0x1cf)][_0x24c68e(0x1ac)](_0x53f014=>({'author':_0x53f014[_0x24c68e(0x1b6)][_0x24c68e(0x19f)],'content':_0x53f014[_0x24c68e(0x1c4)],'created_at':_0x53f014[_0x24c68e(0x1a6)]}));_0x5a185a[_0x24c68e(0x1ba)]({'thread_id':_0x11fb04['id'],'is_resolved':_0x11fb04[_0x24c68e(0x19e)],'comments':_0x48a60e});}return _0x5a185a;}export function getSuggestionsV2(_0x3e36b5,_0x5473ba){const _0x59f6e7=_0x46ae;return _0x3e36b5[_0x59f6e7(0x1a3)]&&_0x5473ba[_0x59f6e7(0x1a3)]?_0x3e36b5[_0x59f6e7(0x1ac)](({id:_0x56d550,createdAt:_0x4a8cff,authorId:_0x17029c,attributes:_0xf18355})=>{const _0x5776ec=_0x59f6e7,_0x5b3fd0=_0xf18355&&_0xf18355[_0x5776ec(0x1bc)];return{'id':_0x56d550,'author':_0x5b3fd0?_0x5b3fd0[_0x5776ec(0x1ce)]:_0x5473ba[_0x5776ec(0x1a8)](_0x17029c)[_0x5776ec(0x19f)],'created_at':_0x4a8cff};}):[];}