@ckeditor/ckeditor5-export-word 47.2.0-alpha.5 → 47.2.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.2.0-alpha.5",
3
+ "version": "47.2.0-alpha.7",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.5",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.5",
35
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.5",
36
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.5",
37
- "@ckeditor/ckeditor5-icons": "47.2.0-alpha.5",
38
- "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.5",
39
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.5",
40
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.5",
41
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.5",
42
- "ckeditor5": "47.2.0-alpha.5"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.7",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.7",
35
+ "@ckeditor/ckeditor5-comments": "47.2.0-alpha.7",
36
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.7",
37
+ "@ckeditor/ckeditor5-icons": "47.2.0-alpha.7",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.7",
39
+ "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.7",
40
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.7",
41
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.7",
42
+ "ckeditor5": "47.2.0-alpha.7"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16fbd6=_0x52fb;function _0x313d(){const _0x147719=['124918rXMDKO','add','plugins','editor','185ZqDBPM','get','exportWord','2033505bEtMGp','11991301RNzHmd','config','isPremiumPlugin','2IMDwDv','10067280TVPnVY','CloudServices','registerTokenUrl','init','_token','ExportWord','then','tokenUrl','11985460QqHvWO','token','8111673FbmlDB','143972qaFBts','commands','requires','pluginName','isOfficialPlugin','8yGCZLQ'];_0x313d=function(){return _0x147719;};return _0x313d();}(function(_0x1fd5ac,_0xee995b){const _0x545f6e=_0x52fb,_0x214d10=_0x1fd5ac();while(!![]){try{const _0x4a62ca=parseInt(_0x545f6e(0x180))/0x1*(-parseInt(_0x545f6e(0x16e))/0x2)+-parseInt(_0x545f6e(0x16a))/0x3+parseInt(_0x545f6e(0x17a))/0x4*(-parseInt(_0x545f6e(0x184))/0x5)+parseInt(_0x545f6e(0x16f))/0x6+-parseInt(_0x545f6e(0x16b))/0x7*(-parseInt(_0x545f6e(0x17f))/0x8)+parseInt(_0x545f6e(0x179))/0x9+-parseInt(_0x545f6e(0x177))/0xa;if(_0x4a62ca===_0xee995b)break;else _0x214d10['push'](_0x214d10['shift']());}catch(_0x469505){_0x214d10['push'](_0x214d10['shift']());}}}(_0x313d,0xea2cc));import{Plugin as _0x3f11af}from'ckeditor5/src/core.js';import{Notification as _0x1733b4}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x12e8f9}from'./exportwordcommand.js';function _0x52fb(_0x9fd441,_0x559c6b){const _0x313d19=_0x313d();return _0x52fb=function(_0x52fbcf,_0xdbed1a){_0x52fbcf=_0x52fbcf-0x16a;let _0x234e38=_0x313d19[_0x52fbcf];return _0x234e38;},_0x52fb(_0x9fd441,_0x559c6b);}import{ExportWordUI as _0x42becb}from'./exportwordui.js';export class ExportWord extends _0x3f11af{[_0x16fbd6(0x173)];static get[_0x16fbd6(0x17d)](){const _0x573b84=_0x16fbd6;return _0x573b84(0x174);}static get[_0x16fbd6(0x17e)](){return!0x0;}static get[_0x16fbd6(0x16d)](){return!0x0;}static get[_0x16fbd6(0x17c)](){const _0x10f565=_0x16fbd6;return[_0x10f565(0x170),_0x1733b4,_0x42becb];}[_0x16fbd6(0x172)](){const _0xffbe40=_0x16fbd6,_0x5b8063=this[_0xffbe40(0x183)],_0x572e81=_0x5b8063[_0xffbe40(0x16c)][_0xffbe40(0x185)](_0xffbe40(0x186))||{};_0x5b8063[_0xffbe40(0x17b)][_0xffbe40(0x181)](_0xffbe40(0x186),new _0x12e8f9(_0x5b8063));const _0x2d98d1=_0x5b8063[_0xffbe40(0x182)][_0xffbe40(0x185)](_0xffbe40(0x170));!0x1===_0x572e81[_0xffbe40(0x176)]?this[_0xffbe40(0x173)]=null:_0x572e81[_0xffbe40(0x176)]?_0x2d98d1[_0xffbe40(0x171)](_0x572e81[_0xffbe40(0x176)])[_0xffbe40(0x175)](_0x27bf21=>{const _0x5b7eca=_0xffbe40;this[_0x5b7eca(0x173)]=_0x27bf21;}):this[_0xffbe40(0x173)]=_0x2d98d1[_0xffbe40(0x178)];}}
23
+ const _0x17d6d1=_0x39c4;function _0x25be(){const _0x5f279b=['commands','then','isOfficialPlugin','2530515wSduim','720000pPHRzA','token','registerTokenUrl','_token','add','exportWord','ExportWord','CloudServices','pluginName','editor','tokenUrl','isPremiumPlugin','get','plugins','370529qaxmYS','2184144SdqdLs','requires','995568zaiORX','12965946zMKecB','config','2293130MsLLcK','init'];_0x25be=function(){return _0x5f279b;};return _0x25be();}(function(_0x5b0524,_0xab4e35){const _0x57dde9=_0x39c4,_0x31f9a6=_0x5b0524();while(!![]){try{const _0x39aab5=-parseInt(_0x57dde9(0xe3))/0x1+-parseInt(_0x57dde9(0xd5))/0x2+-parseInt(_0x57dde9(0xd4))/0x3+parseInt(_0x57dde9(0xe6))/0x4+-parseInt(_0x57dde9(0xcf))/0x5+parseInt(_0x57dde9(0xe4))/0x6+parseInt(_0x57dde9(0xe7))/0x7;if(_0x39aab5===_0xab4e35)break;else _0x31f9a6['push'](_0x31f9a6['shift']());}catch(_0x57e0f8){_0x31f9a6['push'](_0x31f9a6['shift']());}}}(_0x25be,0x69996));import{Plugin as _0x6f0c5d}from'ckeditor5/src/core.js';import{Notification as _0x7c9bad}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x979584}from'./exportwordcommand.js';function _0x39c4(_0x4609c7,_0x1ec393){const _0x25beee=_0x25be();return _0x39c4=function(_0x39c486,_0x568793){_0x39c486=_0x39c486-0xcf;let _0x28cc70=_0x25beee[_0x39c486];return _0x28cc70;},_0x39c4(_0x4609c7,_0x1ec393);}import{ExportWordUI as _0x58fd37}from'./exportwordui.js';export class ExportWord extends _0x6f0c5d{[_0x17d6d1(0xd8)];static get[_0x17d6d1(0xdd)](){const _0x52ac1a=_0x17d6d1;return _0x52ac1a(0xdb);}static get[_0x17d6d1(0xd3)](){return!0x0;}static get[_0x17d6d1(0xe0)](){return!0x0;}static get[_0x17d6d1(0xe5)](){const _0x2b1181=_0x17d6d1;return[_0x2b1181(0xdc),_0x7c9bad,_0x58fd37];}[_0x17d6d1(0xd0)](){const _0x101349=_0x17d6d1,_0x4eff71=this[_0x101349(0xde)],_0x551940=_0x4eff71[_0x101349(0xe8)][_0x101349(0xe1)](_0x101349(0xda))||{};_0x4eff71[_0x101349(0xd1)][_0x101349(0xd9)](_0x101349(0xda),new _0x979584(_0x4eff71));const _0x2b053b=_0x4eff71[_0x101349(0xe2)][_0x101349(0xe1)](_0x101349(0xdc));!0x1===_0x551940[_0x101349(0xdf)]?this[_0x101349(0xd8)]=null:_0x551940[_0x101349(0xdf)]?_0x2b053b[_0x101349(0xd7)](_0x551940[_0x101349(0xdf)])[_0x101349(0xd2)](_0x50cc26=>{const _0x55f589=_0x101349;this[_0x55f589(0xd8)]=_0x50cc26;}):this[_0x101349(0xd8)]=_0x2b053b[_0x101349(0xd6)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1579(_0x4fed31,_0x4f1c4f){const _0x131beb=_0x131b();return _0x1579=function(_0x157995,_0x5a3339){_0x157995=_0x157995-0x183;let _0x4c0e98=_0x131beb[_0x157995];return _0x4c0e98;},_0x1579(_0x4fed31,_0x4f1c4f);}const _0x50a81d=_0x1579;(function(_0x4d6b6e,_0x4c2afe){const _0x26f4b0=_0x1579,_0x4af50a=_0x4d6b6e();while(!![]){try{const _0x4b0b09=-parseInt(_0x26f4b0(0x18b))/0x1+-parseInt(_0x26f4b0(0x1ca))/0x2+parseInt(_0x26f4b0(0x19c))/0x3+-parseInt(_0x26f4b0(0x1c0))/0x4*(parseInt(_0x26f4b0(0x1c1))/0x5)+-parseInt(_0x26f4b0(0x1ab))/0x6+parseInt(_0x26f4b0(0x1c3))/0x7+parseInt(_0x26f4b0(0x1a2))/0x8;if(_0x4b0b09===_0x4c2afe)break;else _0x4af50a['push'](_0x4af50a['shift']());}catch(_0x513b0e){_0x4af50a['push'](_0x4af50a['shift']());}}}(_0x131b,0x5ffca));import{Command as _0x2333dc}from'ckeditor5/src/core.js';import{logWarning as _0x507863,collectStylesheets as _0x18640c}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x18e8c8,getConverterOptionsV2 as _0x7386eb}from'./utils.js';import{getTranslation as _0x21a988}from'./utils/common-translations.js';const p=[_0x50a81d(0x1bc),_0x50a81d(0x197),_0x50a81d(0x1cc),_0x50a81d(0x1b6),_0x50a81d(0x19d),_0x50a81d(0x18a),_0x50a81d(0x1a7),_0x50a81d(0x1a1),_0x50a81d(0x1be),_0x50a81d(0x1a8)];export class ExportWordCommand extends _0x2333dc{constructor(_0x2bfeae){const _0x33bbd6=_0x50a81d;super(_0x2bfeae),this[_0x33bbd6(0x183)](_0x33bbd6(0x1cf),!0x1),this[_0x33bbd6(0x1bb)]=!0x1;}[_0x50a81d(0x193)](){const _0x55e3cb=_0x50a81d;this[_0x55e3cb(0x1c2)]=!this[_0x55e3cb(0x1cf)],this[_0x55e3cb(0x188)]=this[_0x55e3cb(0x1cf)]?_0x55e3cb(0x187):void 0x0;}[_0x50a81d(0x194)](_0x427ebc={}){const _0x289049=_0x50a81d,_0x504584=this[_0x289049(0x1c4)],_0x91e526=_0x427ebc[_0x289049(0x1af)]||0x2,_0x14a754=0x1===_0x91e526,_0xce1f21=_0x427ebc[_0x289049(0x198)]||(_0x14a754?_0x289049(0x195):_0x289049(0x1a3)),_0x592a6f=_0x427ebc[_0x289049(0x1a9)]||{},_0x436317=_0x504584[_0x289049(0x19f)][_0x289049(0x1c6)](_0x289049(0x1c5)),_0x163f8f=_0x427ebc[_0x289049(0x199)]||_0x436317[_0x289049(0x196)],_0x15adfe=!0x0===_0x592a6f[_0x289049(0x191)],_0x59fa2e=_0x427ebc[_0x289049(0x18f)]||(_0x212782=>_0x212782[_0x289049(0x1b2)][_0x289049(0x1c6)]({'pagination':_0x15adfe}));return 0x2===_0x91e526&&function(_0x161e42){for(const _0xe594b3 of p)if(void 0x0!==_0x161e42[_0xe594b3])return!0x0;return!0x1;}(_0x592a6f)&&_0x507863(_0x289049(0x1ba)),this[_0x289049(0x1cf)]=!0x0,this[_0x289049(0x193)](),_0x18640c(_0x427ebc[_0x289049(0x1b4)]||[_0x289049(0x1aa)])[_0x289049(0x1c8)](async _0x2177ad=>{const _0x122af9=_0x289049;_0x504584['ui'][_0x122af9(0x1ae)][_0x122af9(0x1c9)](_0x21a988(_0x504584[_0x122af9(0x1cd)],_0x122af9(0x1ad)));const _0x4f1b56=await _0x59fa2e(_0x504584),_0xa6026f={'html':_0x122af9(0x189)+_0x504584[_0x122af9(0x1cd)][_0x122af9(0x19b)]+'\x22>'+_0x4f1b56+_0x122af9(0x1cb),'css':_0x2177ad,[_0x14a754?_0x122af9(0x1ac):_0x122af9(0x186)]:{..._0x592a6f,..._0x14a754?_0x18e8c8(_0x504584,_0x592a6f):_0x7386eb(_0x504584,_0x592a6f)}},_0x23ade4={'method':_0x122af9(0x1bd),'headers':{'Content-Type':_0x122af9(0x1b8),'Accept':_0x122af9(0x1b1),..._0x163f8f?{'Authorization':_0x163f8f[_0x122af9(0x188)]}:null},'body':JSON[_0x122af9(0x18d)](_0xa6026f)};return window[_0x122af9(0x1ce)](_0xce1f21,_0x23ade4)[_0x122af9(0x1c8)](_0x40d967=>{const _0x5fefd9=_0x122af9;if(0xc8!==_0x40d967[_0x5fefd9(0x1a0)])throw _0x40d967;return _0x40d967[_0x5fefd9(0x18e)]();})[_0x122af9(0x1c8)](_0x42053b=>{const _0x341e91=_0x122af9;_0x504584['ui'][_0x341e91(0x1ae)][_0x341e91(0x1c9)](_0x21a988(_0x504584[_0x341e91(0x1cd)],_0x341e91(0x190)));const _0x50da99=_0x341e91(0x1d0)==typeof _0x427ebc[_0x341e91(0x185)]?_0x427ebc[_0x341e91(0x185)]():_0x427ebc[_0x341e91(0x185)];this[_0x341e91(0x192)](_0x42053b,_0x50da99||_0x341e91(0x19e));});})[_0x289049(0x1a4)](_0x406d7d=>{const _0x2bbac0=_0x289049,_0x3c467e=_0x504584[_0x2bbac0(0x19f)][_0x2bbac0(0x1c6)](_0x2bbac0(0x1b5));throw _0x504584['ui'][_0x2bbac0(0x1ae)][_0x2bbac0(0x1c9)](_0x21a988(_0x504584[_0x2bbac0(0x1cd)],_0x2bbac0(0x1d1)),{'politeness':_0x2bbac0(0x18c)}),_0x3c467e[_0x2bbac0(0x1c7)](_0x21a988(_0x504584[_0x2bbac0(0x1cd)],_0x2bbac0(0x1a6))),_0x406d7d;})[_0x289049(0x1b9)](()=>{const _0x5041d5=_0x289049;this[_0x5041d5(0x1cf)]=!0x1,this[_0x5041d5(0x193)]();});}[_0x50a81d(0x192)](_0x5455ec,_0x5c5f2b){const _0x5d5431=_0x50a81d,_0x1967f5=document[_0x5d5431(0x184)]('a');_0x1967f5[_0x5d5431(0x1b3)]=window[_0x5d5431(0x19a)][_0x5d5431(0x1b7)](_0x5455ec),_0x1967f5[_0x5d5431(0x1a5)]=_0x5c5f2b,_0x1967f5[_0x5d5431(0x1b0)](),_0x1967f5[_0x5d5431(0x1bf)]();}}function _0x131b(){const _0x50f2ee=['href','stylesheets','Notification','margin_bottom','createObjectURL','application/json','finally','export-word-v1-api-is-deprecated','affectsData','orientation','POST','comments','remove','12eeHeua','739335LtLMpg','isEnabled','1998241bAuFeM','editor','ExportWord','get','showWarning','then','announce','239684kUcwus','</div>','margin_right','locale','fetch','isBusy','function','Word\x20document\x20export\x20failed','set','createElement','fileName','config','pending','value','<div\x20class=\x22ck-content\x22\x20dir=\x22','format','539610WAGfFO','assertive','stringify','blob','dataCallback','Word\x20document\x20export\x20successful','auto_pagination','_downloadFile','refresh','execute','https://docx-converter.cke-cs.com/v1/convert','_token','margin_top','converterUrl','token','URL','contentLanguageDirection','1566783GCaCIq','margin_left','document.docx','plugins','status','footer','7458800DIgClq','https://docx-converter.cke-cs.com/v2/convert/html-docx','catch','download','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','header','suggestions','converterOptions','EDITOR_STYLES','1463154GcBAFG','options','Word\x20document\x20export\x20started','ariaLiveAnnouncer','version','click','application/docx','data'];_0x131b=function(){return _0x50f2ee;};return _0x131b();}
23
+ const _0x334f68=_0x1a48;(function(_0x333ed2,_0x54732c){const _0x5f3963=_0x1a48,_0x483327=_0x333ed2();while(!![]){try{const _0xd4051b=-parseInt(_0x5f3963(0x1f6))/0x1+-parseInt(_0x5f3963(0x1eb))/0x2*(parseInt(_0x5f3963(0x1cc))/0x3)+parseInt(_0x5f3963(0x1f7))/0x4+-parseInt(_0x5f3963(0x1d2))/0x5*(parseInt(_0x5f3963(0x20c))/0x6)+parseInt(_0x5f3963(0x212))/0x7*(parseInt(_0x5f3963(0x211))/0x8)+-parseInt(_0x5f3963(0x201))/0x9*(parseInt(_0x5f3963(0x1db))/0xa)+parseInt(_0x5f3963(0x1fa))/0xb;if(_0xd4051b===_0x54732c)break;else _0x483327['push'](_0x483327['shift']());}catch(_0x51d98a){_0x483327['push'](_0x483327['shift']());}}}(_0x5011,0x8639a));import{Command as _0x2624af}from'ckeditor5/src/core.js';import{logWarning as _0x2e860f,collectStylesheets as _0x5c685f}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x3e7462,getConverterOptionsV2 as _0x2e7d08}from'./utils.js';import{getTranslation as _0x1c90e7}from'./utils/common-translations.js';const p=[_0x334f68(0x1d4),_0x334f68(0x1d1),_0x334f68(0x1c6),_0x334f68(0x1ef),_0x334f68(0x200),_0x334f68(0x1c8),_0x334f68(0x206),_0x334f68(0x209),_0x334f68(0x210),_0x334f68(0x1e4)];export class ExportWordCommand extends _0x2624af{constructor(_0x1e91da){const _0xb196cb=_0x334f68;super(_0x1e91da),this[_0xb196cb(0x1ea)](_0xb196cb(0x1fd),!0x1),this[_0xb196cb(0x1e6)]=!0x1;}[_0x334f68(0x1fc)](){const _0x469e88=_0x334f68;this[_0x469e88(0x1c3)]=!this[_0x469e88(0x1fd)],this[_0x469e88(0x1dd)]=this[_0x469e88(0x1fd)]?_0x469e88(0x1fe):void 0x0;}[_0x334f68(0x1e3)](_0x4f7495={}){const _0x448272=_0x334f68,_0x1b40c4=this[_0x448272(0x1f1)],_0x29df08=_0x4f7495[_0x448272(0x1c5)]||0x2,_0x44d5b5=0x1===_0x29df08,_0xabedc0=_0x4f7495[_0x448272(0x20d)]||(_0x44d5b5?_0x448272(0x20b):_0x448272(0x1d5)),_0x232b8d=_0x4f7495[_0x448272(0x1ec)]||{},_0x27488a=_0x1b40c4[_0x448272(0x213)][_0x448272(0x1ca)](_0x448272(0x1d6)),_0x35b22c=_0x4f7495[_0x448272(0x1cf)]||_0x27488a[_0x448272(0x202)],_0x3bcdef=!0x0===_0x232b8d[_0x448272(0x1c7)],_0x38cc2a=_0x4f7495[_0x448272(0x204)]||(_0x3323ef=>_0x3323ef[_0x448272(0x1d3)][_0x448272(0x1ca)]({'pagination':_0x3bcdef}));return 0x2===_0x29df08&&function(_0x14cfc9){for(const _0xec03e of p)if(void 0x0!==_0x14cfc9[_0xec03e])return!0x0;return!0x1;}(_0x232b8d)&&_0x2e860f(_0x448272(0x1c4)),this[_0x448272(0x1fd)]=!0x0,this[_0x448272(0x1fc)](),_0x5c685f(_0x4f7495[_0x448272(0x1ff)]||[_0x448272(0x1ce)])[_0x448272(0x1f4)](async _0x5991af=>{const _0x1ac8ed=_0x448272;_0x1b40c4['ui'][_0x1ac8ed(0x1ed)][_0x1ac8ed(0x1cb)](_0x1c90e7(_0x1b40c4[_0x1ac8ed(0x214)],_0x1ac8ed(0x1df)));const _0x203a7=await _0x38cc2a(_0x1b40c4),_0x4da0b7={'html':_0x1ac8ed(0x20a)+_0x1b40c4[_0x1ac8ed(0x214)][_0x1ac8ed(0x1fb)]+'\x22>'+_0x203a7+_0x1ac8ed(0x1e1),'css':_0x5991af,[_0x44d5b5?_0x1ac8ed(0x1f9):_0x1ac8ed(0x1e2)]:{..._0x232b8d,..._0x44d5b5?_0x3e7462(_0x1b40c4,_0x232b8d):_0x2e7d08(_0x1b40c4,_0x232b8d)}},_0x47bcb0={'method':_0x1ac8ed(0x1f5),'headers':{'Content-Type':_0x1ac8ed(0x20e),'Accept':_0x1ac8ed(0x20f),..._0x35b22c?{'Authorization':_0x35b22c[_0x1ac8ed(0x1dd)]}:null},'body':JSON[_0x1ac8ed(0x1e0)](_0x4da0b7)};return window[_0x1ac8ed(0x1d9)](_0xabedc0,_0x47bcb0)[_0x1ac8ed(0x1f4)](_0xfcba6f=>{const _0x36c509=_0x1ac8ed;if(0xc8!==_0xfcba6f[_0x36c509(0x1de)])throw _0xfcba6f;return _0xfcba6f[_0x36c509(0x1e7)]();})[_0x1ac8ed(0x1f4)](_0x53838c=>{const _0xdca2ae=_0x1ac8ed;_0x1b40c4['ui'][_0xdca2ae(0x1ed)][_0xdca2ae(0x1cb)](_0x1c90e7(_0x1b40c4[_0xdca2ae(0x214)],_0xdca2ae(0x1f8)));const _0x268728=_0xdca2ae(0x1e9)==typeof _0x4f7495[_0xdca2ae(0x1d8)]?_0x4f7495[_0xdca2ae(0x1d8)]():_0x4f7495[_0xdca2ae(0x1d8)];this[_0xdca2ae(0x1ee)](_0x53838c,_0x268728||_0xdca2ae(0x203));});})[_0x448272(0x208)](_0x5721b5=>{const _0x5656e5=_0x448272,_0x7451e7=_0x1b40c4[_0x5656e5(0x213)][_0x5656e5(0x1ca)](_0x5656e5(0x207));throw _0x1b40c4['ui'][_0x5656e5(0x1ed)][_0x5656e5(0x1cb)](_0x1c90e7(_0x1b40c4[_0x5656e5(0x214)],_0x5656e5(0x1d7)),{'politeness':_0x5656e5(0x1c9)}),_0x7451e7[_0x5656e5(0x1f0)](_0x1c90e7(_0x1b40c4[_0x5656e5(0x214)],_0x5656e5(0x1da))),_0x5721b5;})[_0x448272(0x1d0)](()=>{const _0x52657a=_0x448272;this[_0x52657a(0x1fd)]=!0x1,this[_0x52657a(0x1fc)]();});}[_0x334f68(0x1ee)](_0x425605,_0x525625){const _0x55cba2=_0x334f68,_0x11d54f=document[_0x55cba2(0x1f2)]('a');_0x11d54f[_0x55cba2(0x1cd)]=window[_0x55cba2(0x1dc)][_0x55cba2(0x1e8)](_0x425605),_0x11d54f[_0x55cba2(0x205)]=_0x525625,_0x11d54f[_0x55cba2(0x1e5)](),_0x11d54f[_0x55cba2(0x1f3)]();}}function _0x1a48(_0x30b599,_0x28b66c){const _0x5011d5=_0x5011();return _0x1a48=function(_0x1a4867,_0x4d209a){_0x1a4867=_0x1a4867-0x1c3;let _0x2d583a=_0x5011d5[_0x1a4867];return _0x2d583a;},_0x1a48(_0x30b599,_0x28b66c);}function _0x5011(){const _0x5f4653=['showWarning','editor','createElement','remove','then','POST','746494GJRQTF','602464lxUbZG','Word\x20document\x20export\x20successful','options','16484897VITjns','contentLanguageDirection','refresh','isBusy','pending','stylesheets','margin_left','9AvILAb','_token','document.docx','dataCallback','download','header','Notification','catch','footer','<div\x20class=\x22ck-content\x22\x20dir=\x22','https://docx-converter.cke-cs.com/v1/convert','588QwEgVc','converterUrl','application/json','application/docx','comments','2728kZpdnl','21777uaCcLu','plugins','locale','isEnabled','export-word-v1-api-is-deprecated','version','margin_right','auto_pagination','format','assertive','get','announce','124251GPvDjz','href','EDITOR_STYLES','token','finally','margin_top','1595LnVbLo','data','orientation','https://docx-converter.cke-cs.com/v2/convert/html-docx','ExportWord','Word\x20document\x20export\x20failed','fileName','fetch','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','8855480COaieU','URL','value','status','Word\x20document\x20export\x20started','stringify','</div>','config','execute','suggestions','click','affectsData','blob','createObjectURL','function','set','24XEfXqf','converterOptions','ariaLiveAnnouncer','_downloadFile','margin_bottom'];_0x5011=function(){return _0x5f4653;};return _0x5011();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43cf84=_0x473b;(function(_0x4de7d0,_0x1cb347){const _0x5a6e8a=_0x473b,_0x26c202=_0x4de7d0();while(!![]){try{const _0x5a76da=-parseInt(_0x5a6e8a(0x112))/0x1*(-parseInt(_0x5a6e8a(0xef))/0x2)+-parseInt(_0x5a6e8a(0x100))/0x3+-parseInt(_0x5a6e8a(0x107))/0x4+-parseInt(_0x5a6e8a(0x10f))/0x5+-parseInt(_0x5a6e8a(0xfe))/0x6*(parseInt(_0x5a6e8a(0x117))/0x7)+parseInt(_0x5a6e8a(0x10e))/0x8*(-parseInt(_0x5a6e8a(0x10c))/0x9)+-parseInt(_0x5a6e8a(0x115))/0xa*(-parseInt(_0x5a6e8a(0xfc))/0xb);if(_0x5a76da===_0x1cb347)break;else _0x26c202['push'](_0x26c202['shift']());}catch(_0x1f4f69){_0x26c202['push'](_0x26c202['shift']());}}}(_0x2d40,0xc9613));function _0x473b(_0x4c8949,_0xfac66e){const _0x2d400b=_0x2d40();return _0x473b=function(_0x473bab,_0x4e7076){_0x473bab=_0x473bab-0xee;let _0x4f6099=_0x2d400b[_0x473bab];return _0x4f6099;},_0x473b(_0x4c8949,_0xfac66e);}import{Plugin as _0x2512cd}from'ckeditor5/src/core.js';function _0x2d40(){const _0x2a7ffc=['_createButton','editor','110MLiQHh','view','2028SlrVZI','Export\x20to\x20Word','2981247CAERZm','bind','isOfficialPlugin','pluginName','Exporting\x20Word\x20document','init','label','852824ukPsOk','isEnabled','ExportWordUI','commands','add','126coNrXj','isBusy','301264QFBAUu','5361360QIGuUY','isVisible','componentFactory','43958DtrJWQ','exportWord','config','4033650qJsbgY','set','18347YtnOzE','isOn','22SYPWLz','focus','get','locale','children','menuBar:exportWord','execute','isPremiumPlugin','listenTo','iconView','editing'];_0x2d40=function(){return _0x2a7ffc;};return _0x2d40();}import{IconExportWord as _0x2e40a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x52caad,MenuBarMenuListItemButtonView as _0x138771,SpinnerView as _0x5e0558}from'ckeditor5/src/ui.js';import{getTranslation as _0x534c5b}from'./utils/common-translations.js';export class ExportWordUI extends _0x2512cd{static get[_0x43cf84(0x103)](){const _0x4dd87f=_0x43cf84;return _0x4dd87f(0x109);}static get[_0x43cf84(0x102)](){return!0x0;}static get[_0x43cf84(0xf6)](){return!0x0;}[_0x43cf84(0x105)](){const _0x296fac=_0x43cf84,_0x5c90c6=this[_0x296fac(0xfb)];_0x5c90c6['ui'][_0x296fac(0x111)][_0x296fac(0x10b)](_0x296fac(0x113),()=>{const _0x4ea997=_0x296fac,_0x49d307=_0x5c90c6[_0x4ea997(0x10a)][_0x4ea997(0xf1)](_0x4ea997(0x113)),_0x46ba5c=this[_0x4ea997(0xfa)](_0x52caad);return _0x46ba5c[_0x4ea997(0x116)]({'tooltip':!0x0}),_0x46ba5c[_0x4ea997(0x101)](_0x4ea997(0xee))['to'](_0x49d307,_0x4ea997(0x10d)),_0x46ba5c;}),_0x5c90c6['ui'][_0x296fac(0x111)][_0x296fac(0x10b)](_0x296fac(0xf4),()=>this[_0x296fac(0xfa)](_0x138771));}[_0x43cf84(0xfa)](_0x43e756){const _0x317762=_0x43cf84,_0xe10777=this[_0x317762(0xfb)],_0x20cc08=_0xe10777[_0x317762(0x114)][_0x317762(0xf1)](_0x317762(0x113))||{},_0x1e80dd=_0xe10777[_0x317762(0x10a)][_0x317762(0xf1)](_0x317762(0x113)),_0x4ae4aa=new _0x43e756(_0xe10777[_0x317762(0xf2)]),_0x478278=new _0x5e0558();return _0x4ae4aa[_0x317762(0xf3)][_0x317762(0x10b)](_0x478278),_0x478278[_0x317762(0x101)](_0x317762(0x110))['to'](_0x1e80dd,_0x317762(0x10d)),_0x4ae4aa[_0x317762(0xf8)][_0x317762(0x101)](_0x317762(0x110))['to'](_0x1e80dd,_0x317762(0x10d),_0x1df35b=>!_0x1df35b),_0x4ae4aa[_0x317762(0x116)]({'icon':_0x2e40a2}),_0x4ae4aa[_0x317762(0x101)](_0x317762(0x108))['to'](_0x1e80dd,_0x317762(0x108)),_0x4ae4aa[_0x317762(0x101)](_0x317762(0x106))['to'](_0x1e80dd,_0x317762(0x10d),_0x553b0a=>_0x534c5b(_0xe10777[_0x317762(0xf2)],_0x553b0a?_0x317762(0x104):_0x317762(0xff))),this[_0x317762(0xf7)](_0x4ae4aa,_0x317762(0xf5),()=>{const _0x2c6cd6=_0x317762;_0xe10777[_0x2c6cd6(0xf5)](_0x2c6cd6(0x113),_0x20cc08),_0xe10777[_0x2c6cd6(0xf9)][_0x2c6cd6(0xfd)][_0x2c6cd6(0xf0)]();}),_0x4ae4aa;}}
23
+ const _0x44de13=_0x3e3e;function _0x21e8(){const _0x4d5dce=['children','40QTUwrX','set','53874630jiafTG','pluginName','_createButton','view','execute','exportWord','isEnabled','isPremiumPlugin','bind','editing','13741893FBYioD','get','isOn','commands','3622048LsgCQu','6229590TwEJPK','Export\x20to\x20Word','label','focus','init','config','ExportWordUI','add','isVisible','isOfficialPlugin','componentFactory','3YFGpmm','iconView','menuBar:exportWord','2429924UvDRlx','editor','Exporting\x20Word\x20document','isBusy','47383LbfXwl','593785fCStsy','7dYvKtl','listenTo','locale'];_0x21e8=function(){return _0x4d5dce;};return _0x21e8();}(function(_0x4567bc,_0x19a637){const _0x31ef=_0x3e3e,_0x33ee22=_0x4567bc();while(!![]){try{const _0x479b47=-parseInt(_0x31ef(0x7f))/0x1+-parseInt(_0x31ef(0x7b))/0x2*(parseInt(_0x31ef(0x78))/0x3)+parseInt(_0x31ef(0x85))/0x4*(-parseInt(_0x31ef(0x80))/0x5)+-parseInt(_0x31ef(0x96))/0x6+-parseInt(_0x31ef(0x81))/0x7*(-parseInt(_0x31ef(0x95))/0x8)+-parseInt(_0x31ef(0x91))/0x9+parseInt(_0x31ef(0x87))/0xa;if(_0x479b47===_0x19a637)break;else _0x33ee22['push'](_0x33ee22['shift']());}catch(_0x485f1e){_0x33ee22['push'](_0x33ee22['shift']());}}}(_0x21e8,0xc974a));import{Plugin as _0x38fe16}from'ckeditor5/src/core.js';import{IconExportWord as _0x42623f}from'ckeditor5/src/icons.js';function _0x3e3e(_0x1b5b05,_0x1d6fad){const _0x21e820=_0x21e8();return _0x3e3e=function(_0x3e3e1f,_0x22bf7b){_0x3e3e1f=_0x3e3e1f-0x76;let _0x44e197=_0x21e820[_0x3e3e1f];return _0x44e197;},_0x3e3e(_0x1b5b05,_0x1d6fad);}import{ButtonView as _0x2d9b20,MenuBarMenuListItemButtonView as _0x208ba5,SpinnerView as _0x1f0513}from'ckeditor5/src/ui.js';import{getTranslation as _0x8ef5cf}from'./utils/common-translations.js';export class ExportWordUI extends _0x38fe16{static get[_0x44de13(0x88)](){const _0x51cc86=_0x44de13;return _0x51cc86(0x9c);}static get[_0x44de13(0x76)](){return!0x0;}static get[_0x44de13(0x8e)](){return!0x0;}[_0x44de13(0x9a)](){const _0x44f41b=_0x44de13,_0x14bfef=this[_0x44f41b(0x7c)];_0x14bfef['ui'][_0x44f41b(0x77)][_0x44f41b(0x9d)](_0x44f41b(0x8c),()=>{const _0x3c21fe=_0x44f41b,_0x7a644a=_0x14bfef[_0x3c21fe(0x94)][_0x3c21fe(0x92)](_0x3c21fe(0x8c)),_0x56c7d2=this[_0x3c21fe(0x89)](_0x2d9b20);return _0x56c7d2[_0x3c21fe(0x86)]({'tooltip':!0x0}),_0x56c7d2[_0x3c21fe(0x8f)](_0x3c21fe(0x93))['to'](_0x7a644a,_0x3c21fe(0x7e)),_0x56c7d2;}),_0x14bfef['ui'][_0x44f41b(0x77)][_0x44f41b(0x9d)](_0x44f41b(0x7a),()=>this[_0x44f41b(0x89)](_0x208ba5));}[_0x44de13(0x89)](_0xd7047d){const _0x46a3ea=_0x44de13,_0x460f9c=this[_0x46a3ea(0x7c)],_0xef9e51=_0x460f9c[_0x46a3ea(0x9b)][_0x46a3ea(0x92)](_0x46a3ea(0x8c))||{},_0xf77dc2=_0x460f9c[_0x46a3ea(0x94)][_0x46a3ea(0x92)](_0x46a3ea(0x8c)),_0x3636ea=new _0xd7047d(_0x460f9c[_0x46a3ea(0x83)]),_0x49ada4=new _0x1f0513();return _0x3636ea[_0x46a3ea(0x84)][_0x46a3ea(0x9d)](_0x49ada4),_0x49ada4[_0x46a3ea(0x8f)](_0x46a3ea(0x9e))['to'](_0xf77dc2,_0x46a3ea(0x7e)),_0x3636ea[_0x46a3ea(0x79)][_0x46a3ea(0x8f)](_0x46a3ea(0x9e))['to'](_0xf77dc2,_0x46a3ea(0x7e),_0x511b83=>!_0x511b83),_0x3636ea[_0x46a3ea(0x86)]({'icon':_0x42623f}),_0x3636ea[_0x46a3ea(0x8f)](_0x46a3ea(0x8d))['to'](_0xf77dc2,_0x46a3ea(0x8d)),_0x3636ea[_0x46a3ea(0x8f)](_0x46a3ea(0x98))['to'](_0xf77dc2,_0x46a3ea(0x7e),_0x33ffe3=>_0x8ef5cf(_0x460f9c[_0x46a3ea(0x83)],_0x33ffe3?_0x46a3ea(0x7d):_0x46a3ea(0x97))),this[_0x46a3ea(0x82)](_0x3636ea,_0x46a3ea(0x8b),()=>{const _0x41f82a=_0x46a3ea;_0x460f9c[_0x41f82a(0x8b)](_0x41f82a(0x8c),_0xef9e51),_0x460f9c[_0x41f82a(0x90)][_0x41f82a(0x8a)][_0x41f82a(0x99)]();}),_0x3636ea;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47ad(_0x5dc6fc,_0x2c09cf){var _0x18dd33=_0x18dd();return _0x47ad=function(_0x47add6,_0x5183ac){_0x47add6=_0x47add6-0x1b2;var _0x5db281=_0x18dd33[_0x47add6];return _0x5db281;},_0x47ad(_0x5dc6fc,_0x2c09cf);}(function(_0x141774,_0x2dadf6){var _0x2b0668=_0x47ad,_0x15e495=_0x141774();while(!![]){try{var _0x30b356=parseInt(_0x2b0668(0x1b5))/0x1*(-parseInt(_0x2b0668(0x1b3))/0x2)+parseInt(_0x2b0668(0x1b7))/0x3*(-parseInt(_0x2b0668(0x1b6))/0x4)+-parseInt(_0x2b0668(0x1ba))/0x5+parseInt(_0x2b0668(0x1b2))/0x6+parseInt(_0x2b0668(0x1b4))/0x7+-parseInt(_0x2b0668(0x1b8))/0x8+parseInt(_0x2b0668(0x1b9))/0x9;if(_0x30b356===_0x2dadf6)break;else _0x15e495['push'](_0x15e495['shift']());}catch(_0x2fa397){_0x15e495['push'](_0x15e495['shift']());}}}(_0x18dd,0xeb952));export{ExportWord}from'./exportword.js';function _0x18dd(){var _0x48896a=['11075912NQWVuJ','46292310AeLRkd','8186240qemvAj','1348278cPXGQU','2764384KaLgQB','12076022uQgDwI','1mNEfEO','2299432EbRLFx','9TcPAbK'];_0x18dd=function(){return _0x48896a;};return _0x18dd();}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
23
+ function _0x152d(_0x977825,_0x39916a){var _0x40a181=_0x40a1();return _0x152d=function(_0x152d64,_0x323dc1){_0x152d64=_0x152d64-0x1a3;var _0x5a0608=_0x40a181[_0x152d64];return _0x5a0608;},_0x152d(_0x977825,_0x39916a);}(function(_0x37bf8a,_0x2b8c1a){var _0x3411df=_0x152d,_0x3a94ac=_0x37bf8a();while(!![]){try{var _0x4479b1=parseInt(_0x3411df(0x1ac))/0x1+parseInt(_0x3411df(0x1ae))/0x2*(-parseInt(_0x3411df(0x1a3))/0x3)+-parseInt(_0x3411df(0x1a8))/0x4*(parseInt(_0x3411df(0x1a9))/0x5)+parseInt(_0x3411df(0x1a5))/0x6+parseInt(_0x3411df(0x1ab))/0x7*(parseInt(_0x3411df(0x1ad))/0x8)+-parseInt(_0x3411df(0x1a7))/0x9*(-parseInt(_0x3411df(0x1a6))/0xa)+-parseInt(_0x3411df(0x1a4))/0xb*(parseInt(_0x3411df(0x1aa))/0xc);if(_0x4479b1===_0x2b8c1a)break;else _0x3a94ac['push'](_0x3a94ac['shift']());}catch(_0x2bdea2){_0x3a94ac['push'](_0x3a94ac['shift']());}}}(_0x40a1,0xefd2e));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0x40a1(){var _0x3b44a6=['56bTWWne','531460tihpxv','3SCgeyA','35068IkodUe','2582022uZSvDp','9090HaMIZq','7947TCSJrN','114524PAiWMh','10LmjwJt','11472dNZxJw','1414623LuLLNC','1705431uTuiRh'];_0x40a1=function(){return _0x3b44a6;};return _0x40a1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x15ec71,_0x2068a1){const t=_0x15ec71['t'];switch(_0x2068a1){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 _0x2068a1;}}
23
+ export function getTranslation(_0x184c13,_0x4feed1){const t=_0x184c13['t'];switch(_0x4feed1){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 _0x4feed1;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a87b4,_0x51daa1){const _0xa4ce25=_0x3697,_0xe0ef95=_0x4a87b4();while(!![]){try{const _0x31f27e=parseInt(_0xa4ce25(0x20b))/0x1+-parseInt(_0xa4ce25(0x201))/0x2*(-parseInt(_0xa4ce25(0x207))/0x3)+parseInt(_0xa4ce25(0x210))/0x4+-parseInt(_0xa4ce25(0x1f1))/0x5*(parseInt(_0xa4ce25(0x1fd))/0x6)+-parseInt(_0xa4ce25(0x1ea))/0x7+-parseInt(_0xa4ce25(0x204))/0x8*(parseInt(_0xa4ce25(0x1e7))/0x9)+parseInt(_0xa4ce25(0x1fc))/0xa;if(_0x31f27e===_0x51daa1)break;else _0xe0ef95['push'](_0xe0ef95['shift']());}catch(_0x3c6e66){_0xe0ef95['push'](_0xe0ef95['shift']());}}}(_0x2561,0x7f878));export function getConverterOptions(_0x584a1c,_0x12c97d={}){const _0x47311a=_0x3697,_0x259e73=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x1f6)),_0x306415=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x216)),_0x2ed97e=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x1fa)),_0x4388ca=_0x12c97d;if(_0x259e73&&_0x306415){const _0x3b95c8=getComments(_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x216))[_0x47311a(0x203)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x47311a(0x217)](_0x3b95c8)[_0x47311a(0x200)]&&(_0x4388ca[_0x47311a(0x20a)]=_0x3b95c8);}if(_0x259e73&&_0x2ed97e){const _0x3303bb=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x1fa)),_0x5db5be=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x1f6)),_0x4b019e=getSuggestions(_0x3303bb[_0x47311a(0x219)]({'toJSON':!0x0}),_0x5db5be[_0x47311a(0x1f2)]);Object[_0x47311a(0x217)](_0x4b019e)[_0x47311a(0x200)]&&(_0x4388ca[_0x47311a(0x1f7)]=_0x4b019e);}return(_0x4388ca[_0x47311a(0x1f7)]||_0x4388ca[_0x47311a(0x20a)])&&(_0x4388ca[_0x47311a(0x1fe)]=new Intl[(_0x47311a(0x1f9))]()[_0x47311a(0x21e)]()[_0x47311a(0x1eb)]),_0x4388ca;}function _0x2561(){const _0x505c73=['createdAt','collaboration_features','content','$labels','@external','CommentsRepository','keys','isResolved','getSuggestions','plugins','merge_fields','getDefaultValues','MergeFields','resolvedOptions','name','language','72vwASWW','image','document','4859281WpjDpw','timeZone','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','get','getMergeFieldType','entries','authorName','170XGZHWM','users','mergeFields','getDataSetValues','data','Users','suggestions','previewMode','DateTimeFormat','TrackChanges','getLabel','12433930EcyyGs','122190UvPxwC','timezone','config','length','40qqkwMp','contentLanguage','getCommentThreads','941000OTIGIJ','map','author','57561DsCgFD','has','comment_threads','comments','341098oWlPbK','push','$defaultValues','locale','MergeFieldsEditing','3526888jFYSbr'];_0x2561=function(){return _0x505c73;};return _0x2561();}export function getComments(_0x285297){const _0x2218f8=_0x3697,_0x142804={};if(!_0x285297[_0x2218f8(0x200)])return _0x142804;for(const _0x2ef6af of _0x285297)_0x2ef6af[_0x2218f8(0x20a)][_0x2218f8(0x205)](_0x33d5f7=>{const _0xec706f=_0x2218f8;void 0x0===_0x142804[_0x2ef6af['id']]&&(_0x142804[_0x2ef6af['id']]=[]),_0x142804[_0x2ef6af['id']][_0xec706f(0x20c)]({'author':_0x33d5f7[_0xec706f(0x206)][_0xec706f(0x21f)],'content':_0x33d5f7[_0xec706f(0x213)],'created':_0x33d5f7[_0xec706f(0x211)],'is_resolved':_0x2ef6af[_0xec706f(0x218)]});});return _0x142804;}export function getSuggestions(_0x3608ec,_0x4c06cd){const _0xe87d90=_0x3697,_0x425cb7={};if(!_0x3608ec[_0xe87d90(0x200)]||!_0x4c06cd[_0xe87d90(0x200)])return _0x425cb7;for(const {id:_0x1d20a1,createdAt:_0x15f2d2,authorId:_0x42521a,attributes:_0x53e286}of _0x3608ec){const _0xff2987=_0x53e286&&_0x53e286[_0xe87d90(0x215)],_0x34e9a8=_0xff2987?_0xff2987[_0xe87d90(0x1f0)]:_0x4c06cd[_0xe87d90(0x1ed)](_0x42521a)[_0xe87d90(0x21f)];_0x425cb7[_0x1d20a1]={'author':_0x34e9a8,'created':_0x15f2d2};}return _0x425cb7;}function _0x3697(_0x2d48de,_0xe6cbf7){const _0x256132=_0x2561();return _0x3697=function(_0x36974f,_0x5c41da){_0x36974f=_0x36974f-0x1e6;let _0x99c0b=_0x256132[_0x36974f];return _0x99c0b;},_0x3697(_0x2d48de,_0xe6cbf7);}export function getConverterOptionsV2(_0x27845a,_0x1b86ab={}){const _0x5e92f6=_0x3697,_0x52f702=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x1f6)),_0x461bfe=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x216)),_0x13aac0=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x1fa)),_0x190306=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x21d)),_0x1cb236=_0x27845a[_0x5e92f6(0x20e)][_0x5e92f6(0x202)],_0x29be04=_0x1b86ab,_0xa3ce43={};if(_0x29be04[_0x5e92f6(0x1e9)]=_0x29be04[_0x5e92f6(0x1e9)]||{},_0x29be04[_0x5e92f6(0x1e9)][_0x5e92f6(0x1e6)]=_0x29be04[_0x5e92f6(0x1e9)][_0x5e92f6(0x1e6)]||_0x1cb236,_0x52f702&&_0x461bfe){const _0x4867c9=getCommentsV2(_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x216))[_0x5e92f6(0x203)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4867c9[_0x5e92f6(0x200)]&&(_0xa3ce43[_0x5e92f6(0x209)]=_0x4867c9);}if(_0x52f702&&_0x13aac0){const _0x3df0b9=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1fa)),_0x39db97=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1f6)),_0x4e4fb1=getSuggestionsV2(_0x3df0b9[_0x5e92f6(0x219)]({'toJSON':!0x0}),_0x39db97[_0x5e92f6(0x1f2)]);_0x4e4fb1[_0x5e92f6(0x200)]&&(_0xa3ce43[_0x5e92f6(0x1f7)]=_0x4e4fb1);}if(_0x190306){const _0x2d9bf4=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x20f)),_0x12fd14=_0x2d9bf4[_0x5e92f6(0x1f8)],{prefix:_0x2728ce,suffix:_0x49124b}=_0x27845a[_0x5e92f6(0x1ff)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1f3));if(_0x29be04[_0x5e92f6(0x21b)]={'prefix':_0x2728ce,'suffix':_0x49124b},_0x5e92f6(0x214)!==_0x12fd14){_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)]={};const _0x34d19c=_0x5e92f6(0x1ec),_0x1a3621=_0x5e92f6(0x20d)===_0x12fd14?_0x2d9bf4[_0x5e92f6(0x21c)]():_0x2d9bf4[_0x5e92f6(0x1f4)](_0x12fd14,!0x0);for(const _0x2a94e9 of Object[_0x5e92f6(0x1ef)](_0x1a3621)){const [_0x42f2db,_0x44a452]=_0x2a94e9;_0x5e92f6(0x1e8)===_0x2d9bf4[_0x5e92f6(0x1ee)](_0x42f2db)?_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)][_0x42f2db]=null!==_0x44a452?_0x44a452:_0x34d19c:_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)][_0x42f2db]=null!==_0x44a452?_0x44a452:_0x2d9bf4[_0x5e92f6(0x1fb)](_0x42f2db)||_0x42f2db;}}}return(_0xa3ce43[_0x5e92f6(0x209)]||_0xa3ce43[_0x5e92f6(0x1f7)])&&(_0x29be04[_0x5e92f6(0x1fe)]=new Intl[(_0x5e92f6(0x1f9))]()[_0x5e92f6(0x21e)]()[_0x5e92f6(0x1eb)],_0x29be04[_0x5e92f6(0x212)]=_0xa3ce43),_0x29be04;}export function getCommentsV2(_0x2543f0){const _0x380ec1=_0x3697,_0x4f5e32=[];if(!_0x2543f0[_0x380ec1(0x200)])return _0x4f5e32;for(const _0x197db0 of _0x2543f0){const _0xe09f16=_0x197db0[_0x380ec1(0x20a)][_0x380ec1(0x205)](_0x433f96=>({'author':_0x433f96[_0x380ec1(0x206)][_0x380ec1(0x21f)],'content':_0x433f96[_0x380ec1(0x213)],'created_at':_0x433f96[_0x380ec1(0x211)]}));_0x4f5e32[_0x380ec1(0x20c)]({'thread_id':_0x197db0['id'],'is_resolved':_0x197db0[_0x380ec1(0x218)],'comments':_0xe09f16});}return _0x4f5e32;}export function getSuggestionsV2(_0x50ba84,_0x4dbb0f){const _0x347034=_0x3697;return _0x50ba84[_0x347034(0x200)]&&_0x4dbb0f[_0x347034(0x200)]?_0x50ba84[_0x347034(0x205)](({id:_0x420a78,createdAt:_0x3db0bd,authorId:_0x10d55e,attributes:_0x8af932})=>{const _0x198e9d=_0x347034,_0x1c335c=_0x8af932&&_0x8af932[_0x198e9d(0x215)];return{'id':_0x420a78,'author':_0x1c335c?_0x1c335c[_0x198e9d(0x1f0)]:_0x4dbb0f[_0x198e9d(0x1ed)](_0x10d55e)[_0x198e9d(0x21f)],'created_at':_0x3db0bd};}):[];}
23
+ (function(_0xc491e2,_0x2888a3){const _0x27234c=_0x2216,_0x3a7cca=_0xc491e2();while(!![]){try{const _0x49bcd2=-parseInt(_0x27234c(0x15f))/0x1+parseInt(_0x27234c(0x141))/0x2*(-parseInt(_0x27234c(0x13c))/0x3)+-parseInt(_0x27234c(0x148))/0x4*(-parseInt(_0x27234c(0x133))/0x5)+parseInt(_0x27234c(0x164))/0x6*(parseInt(_0x27234c(0x158))/0x7)+-parseInt(_0x27234c(0x137))/0x8*(parseInt(_0x27234c(0x161))/0x9)+-parseInt(_0x27234c(0x15d))/0xa+parseInt(_0x27234c(0x13b))/0xb;if(_0x49bcd2===_0x2888a3)break;else _0x3a7cca['push'](_0x3a7cca['shift']());}catch(_0x904aca){_0x3a7cca['push'](_0x3a7cca['shift']());}}}(_0x5d75,0x63967));export function getConverterOptions(_0x30c75d,_0x51a6ea={}){const _0x41a188=_0x2216,_0x3d3722=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x157)),_0x2ca836=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x142)),_0xda9f28=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x140)](_0x41a188(0x147)),_0x12a5bd=_0x51a6ea;if(_0x3d3722&&_0x2ca836){const _0x2a6da9=getComments(_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x142))[_0x41a188(0x167)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x41a188(0x168)](_0x2a6da9)[_0x41a188(0x155)]&&(_0x12a5bd[_0x41a188(0x16c)]=_0x2a6da9);}if(_0x3d3722&&_0xda9f28){const _0x461528=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x147)),_0x37c78b=_0x30c75d[_0x41a188(0x13e)][_0x41a188(0x13d)](_0x41a188(0x157)),_0x3d8c9d=getSuggestions(_0x461528[_0x41a188(0x14e)]({'toJSON':!0x0}),_0x37c78b[_0x41a188(0x153)]);Object[_0x41a188(0x168)](_0x3d8c9d)[_0x41a188(0x155)]&&(_0x12a5bd[_0x41a188(0x150)]=_0x3d8c9d);}return(_0x12a5bd[_0x41a188(0x150)]||_0x12a5bd[_0x41a188(0x16c)])&&(_0x12a5bd[_0x41a188(0x143)]=new Intl[(_0x41a188(0x159))]()[_0x41a188(0x16a)]()[_0x41a188(0x13f)]),_0x12a5bd;}export function getComments(_0x338297){const _0x1e8c3f=_0x2216,_0x2a8b62={};if(!_0x338297[_0x1e8c3f(0x155)])return _0x2a8b62;for(const _0x2e377c of _0x338297)_0x2e377c[_0x1e8c3f(0x16c)][_0x1e8c3f(0x139)](_0x138416=>{const _0x55d962=_0x1e8c3f;void 0x0===_0x2a8b62[_0x2e377c['id']]&&(_0x2a8b62[_0x2e377c['id']]=[]),_0x2a8b62[_0x2e377c['id']][_0x55d962(0x14d)]({'author':_0x138416[_0x55d962(0x15b)][_0x55d962(0x154)],'content':_0x138416[_0x55d962(0x156)],'created':_0x138416[_0x55d962(0x169)],'is_resolved':_0x2e377c[_0x55d962(0x14c)]});});return _0x2a8b62;}export function getSuggestions(_0x52f70f,_0x3b2d4b){const _0x14226c=_0x2216,_0x267fe9={};if(!_0x52f70f[_0x14226c(0x155)]||!_0x3b2d4b[_0x14226c(0x155)])return _0x267fe9;for(const {id:_0x3ecc08,createdAt:_0x7debce,authorId:_0x67aa18,attributes:_0x5d27de}of _0x52f70f){const _0x3af591=_0x5d27de&&_0x5d27de[_0x14226c(0x160)],_0x39d4ab=_0x3af591?_0x3af591[_0x14226c(0x14b)]:_0x3b2d4b[_0x14226c(0x13d)](_0x67aa18)[_0x14226c(0x154)];_0x267fe9[_0x3ecc08]={'author':_0x39d4ab,'created':_0x7debce};}return _0x267fe9;}export function getConverterOptionsV2(_0x5a4df5,_0x5bc738={}){const _0x3eaee6=_0x2216,_0x31facd=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x157)),_0x1ff1a7=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x142)),_0x3aebaf=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x147)),_0x1e69c2=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x140)](_0x3eaee6(0x14f)),_0xe926b8=_0x5a4df5[_0x3eaee6(0x15e)][_0x3eaee6(0x15c)],_0x42f4f7=_0x5bc738,_0x777218={};if(_0x42f4f7[_0x3eaee6(0x13a)]=_0x42f4f7[_0x3eaee6(0x13a)]||{},_0x42f4f7[_0x3eaee6(0x13a)][_0x3eaee6(0x16b)]=_0x42f4f7[_0x3eaee6(0x13a)][_0x3eaee6(0x16b)]||_0xe926b8,_0x31facd&&_0x1ff1a7){const _0x24f9d1=getCommentsV2(_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x142))[_0x3eaee6(0x167)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x24f9d1[_0x3eaee6(0x155)]&&(_0x777218[_0x3eaee6(0x134)]=_0x24f9d1);}if(_0x31facd&&_0x3aebaf){const _0x208c96=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x147)),_0x27c621=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x157)),_0x3508e3=getSuggestionsV2(_0x208c96[_0x3eaee6(0x14e)]({'toJSON':!0x0}),_0x27c621[_0x3eaee6(0x153)]);_0x3508e3[_0x3eaee6(0x155)]&&(_0x777218[_0x3eaee6(0x150)]=_0x3508e3);}if(_0x1e69c2){const _0x4388c2=_0x5a4df5[_0x3eaee6(0x13e)][_0x3eaee6(0x13d)](_0x3eaee6(0x166)),_0x4dd37c=_0x4388c2[_0x3eaee6(0x135)],{prefix:_0x159840,suffix:_0x592645}=_0x5a4df5[_0x3eaee6(0x136)][_0x3eaee6(0x13d)](_0x3eaee6(0x15a));if(_0x42f4f7[_0x3eaee6(0x149)]={'prefix':_0x159840,'suffix':_0x592645},_0x3eaee6(0x144)!==_0x4dd37c){_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)]={};const _0x3cd554=_0x3eaee6(0x16d),_0x353174=_0x3eaee6(0x152)===_0x4dd37c?_0x4388c2[_0x3eaee6(0x162)]():_0x4388c2[_0x3eaee6(0x165)](_0x4dd37c,!0x0);for(const _0x31ae40 of Object[_0x3eaee6(0x163)](_0x353174)){const [_0x4fe99f,_0x19eb36]=_0x31ae40;_0x3eaee6(0x138)===_0x4388c2[_0x3eaee6(0x151)](_0x4fe99f)?_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)][_0x4fe99f]=null!==_0x19eb36?_0x19eb36:_0x3cd554:_0x42f4f7[_0x3eaee6(0x149)][_0x3eaee6(0x14a)][_0x4fe99f]=null!==_0x19eb36?_0x19eb36:_0x4388c2[_0x3eaee6(0x145)](_0x4fe99f)||_0x4fe99f;}}}return(_0x777218[_0x3eaee6(0x134)]||_0x777218[_0x3eaee6(0x150)])&&(_0x42f4f7[_0x3eaee6(0x143)]=new Intl[(_0x3eaee6(0x159))]()[_0x3eaee6(0x16a)]()[_0x3eaee6(0x13f)],_0x42f4f7[_0x3eaee6(0x146)]=_0x777218),_0x42f4f7;}export function getCommentsV2(_0x213a4d){const _0x47c242=_0x2216,_0x5ca1c6=[];if(!_0x213a4d[_0x47c242(0x155)])return _0x5ca1c6;for(const _0x5a382d of _0x213a4d){const _0x1677e0=_0x5a382d[_0x47c242(0x16c)][_0x47c242(0x139)](_0x5005bf=>({'author':_0x5005bf[_0x47c242(0x15b)][_0x47c242(0x154)],'content':_0x5005bf[_0x47c242(0x156)],'created_at':_0x5005bf[_0x47c242(0x169)]}));_0x5ca1c6[_0x47c242(0x14d)]({'thread_id':_0x5a382d['id'],'is_resolved':_0x5a382d[_0x47c242(0x14c)],'comments':_0x1677e0});}return _0x5ca1c6;}function _0x2216(_0x33e4b3,_0x380b17){const _0x5d7551=_0x5d75();return _0x2216=function(_0x2216dc,_0x3a8d29){_0x2216dc=_0x2216dc-0x133;let _0x4eb744=_0x5d7551[_0x2216dc];return _0x4eb744;},_0x2216(_0x33e4b3,_0x380b17);}function _0x5d75(){const _0x1757d0=['CommentsRepository','timezone','$labels','getLabel','collaboration_features','TrackChanges','12oySIVx','merge_fields','data','authorName','isResolved','push','getSuggestions','MergeFields','suggestions','getMergeFieldType','$defaultValues','users','name','length','content','Users','7zymIuf','DateTimeFormat','mergeFields','author','contentLanguage','5015780DFtZmA','locale','730451AdCWiu','@external','4984038YGgrTG','getDefaultValues','entries','1190922mUXcyg','getDataSetValues','MergeFieldsEditing','getCommentThreads','keys','createdAt','resolvedOptions','language','comments','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','35170RrgTlS','comment_threads','previewMode','config','8UIqULm','image','map','document','28776286PxfSUw','2247DSBMBq','get','plugins','timeZone','has','1714xRsBuM'];_0x5d75=function(){return _0x1757d0;};return _0x5d75();}export function getSuggestionsV2(_0x5a04ff,_0x418547){const _0x44e5a5=_0x2216;return _0x5a04ff[_0x44e5a5(0x155)]&&_0x418547[_0x44e5a5(0x155)]?_0x5a04ff[_0x44e5a5(0x139)](({id:_0x8cd341,createdAt:_0x3f9674,authorId:_0x86c122,attributes:_0x472cb5})=>{const _0x2315a9=_0x44e5a5,_0x4be1c7=_0x472cb5&&_0x472cb5[_0x2315a9(0x160)];return{'id':_0x8cd341,'author':_0x4be1c7?_0x4be1c7[_0x2315a9(0x14b)]:_0x418547[_0x2315a9(0x13d)](_0x86c122)[_0x2315a9(0x154)],'created_at':_0x3f9674};}):[];}