@ckeditor/ckeditor5-export-word 42.0.0-alpha.23 → 42.0.0-alpha.24

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 (99) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/ar.js +1 -1
  4. package/dist/translations/ar.umd.js +1 -1
  5. package/dist/translations/bg.js +1 -1
  6. package/dist/translations/bg.umd.js +1 -1
  7. package/dist/translations/bn.js +1 -1
  8. package/dist/translations/bn.umd.js +1 -1
  9. package/dist/translations/ca.js +1 -1
  10. package/dist/translations/ca.umd.js +1 -1
  11. package/dist/translations/cs.js +1 -1
  12. package/dist/translations/cs.umd.js +1 -1
  13. package/dist/translations/da.js +1 -1
  14. package/dist/translations/da.umd.js +1 -1
  15. package/dist/translations/de.js +1 -1
  16. package/dist/translations/de.umd.js +1 -1
  17. package/dist/translations/el.js +1 -1
  18. package/dist/translations/el.umd.js +1 -1
  19. package/dist/translations/en-au.js +1 -1
  20. package/dist/translations/en-au.umd.js +1 -1
  21. package/dist/translations/en.umd.js +1 -1
  22. package/dist/translations/es.js +1 -1
  23. package/dist/translations/es.umd.js +1 -1
  24. package/dist/translations/et.js +1 -1
  25. package/dist/translations/et.umd.js +1 -1
  26. package/dist/translations/fi.js +1 -1
  27. package/dist/translations/fi.umd.js +1 -1
  28. package/dist/translations/fr.js +1 -1
  29. package/dist/translations/fr.umd.js +1 -1
  30. package/dist/translations/gl.js +1 -1
  31. package/dist/translations/gl.umd.js +1 -1
  32. package/dist/translations/he.js +1 -1
  33. package/dist/translations/he.umd.js +1 -1
  34. package/dist/translations/hi.js +1 -1
  35. package/dist/translations/hi.umd.js +1 -1
  36. package/dist/translations/hr.js +1 -1
  37. package/dist/translations/hr.umd.js +1 -1
  38. package/dist/translations/hu.js +1 -1
  39. package/dist/translations/hu.umd.js +1 -1
  40. package/dist/translations/id.js +1 -1
  41. package/dist/translations/id.umd.js +1 -1
  42. package/dist/translations/it.js +1 -1
  43. package/dist/translations/it.umd.js +1 -1
  44. package/dist/translations/ja.js +1 -1
  45. package/dist/translations/ja.umd.js +1 -1
  46. package/dist/translations/jv.js +1 -1
  47. package/dist/translations/jv.umd.js +1 -1
  48. package/dist/translations/ko.js +1 -1
  49. package/dist/translations/ko.umd.js +1 -1
  50. package/dist/translations/lt.js +1 -1
  51. package/dist/translations/lt.umd.js +1 -1
  52. package/dist/translations/lv.js +1 -1
  53. package/dist/translations/lv.umd.js +1 -1
  54. package/dist/translations/ms.js +1 -1
  55. package/dist/translations/ms.umd.js +1 -1
  56. package/dist/translations/nl.js +1 -1
  57. package/dist/translations/nl.umd.js +1 -1
  58. package/dist/translations/no.js +1 -1
  59. package/dist/translations/no.umd.js +1 -1
  60. package/dist/translations/pl.js +1 -1
  61. package/dist/translations/pl.umd.js +1 -1
  62. package/dist/translations/pt-br.js +1 -1
  63. package/dist/translations/pt-br.umd.js +1 -1
  64. package/dist/translations/pt.js +1 -1
  65. package/dist/translations/pt.umd.js +1 -1
  66. package/dist/translations/ro.js +1 -1
  67. package/dist/translations/ro.umd.js +1 -1
  68. package/dist/translations/ru.js +1 -1
  69. package/dist/translations/ru.umd.js +1 -1
  70. package/dist/translations/sk.js +1 -1
  71. package/dist/translations/sk.umd.js +1 -1
  72. package/dist/translations/sr-latn.js +1 -1
  73. package/dist/translations/sr-latn.umd.js +1 -1
  74. package/dist/translations/sr.js +1 -1
  75. package/dist/translations/sr.umd.js +1 -1
  76. package/dist/translations/sv.js +1 -1
  77. package/dist/translations/sv.umd.js +1 -1
  78. package/dist/translations/th.js +1 -1
  79. package/dist/translations/th.umd.js +1 -1
  80. package/dist/translations/tr.js +1 -1
  81. package/dist/translations/tr.umd.js +1 -1
  82. package/dist/translations/ug.js +1 -1
  83. package/dist/translations/ug.umd.js +1 -1
  84. package/dist/translations/uk.js +1 -1
  85. package/dist/translations/uk.umd.js +1 -1
  86. package/dist/translations/ur.js +1 -1
  87. package/dist/translations/ur.umd.js +1 -1
  88. package/dist/translations/vi.js +1 -1
  89. package/dist/translations/vi.umd.js +1 -1
  90. package/dist/translations/zh-cn.js +1 -1
  91. package/dist/translations/zh-cn.umd.js +1 -1
  92. package/dist/translations/zh.js +1 -1
  93. package/dist/translations/zh.umd.js +1 -1
  94. package/package.json +2 -2
  95. package/src/exportword.js +1 -1
  96. package/src/exportwordcommand.js +1 -1
  97. package/src/exportwordui.js +1 -1
  98. package/src/index.js +1 -1
  99. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12504d=>{const {'zh-cn':{dictionary:_0xc2aa7,getPluralForm:_0x417947}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x268f3e=>0x0}};_0x12504d['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x12504d['zh-cn']['dictionary']=Object['assign'](_0x12504d['zh-cn']['dictionary'],_0xc2aa7),_0x12504d['zh-cn']['getPluralForm']=_0x417947;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x335091=>{const {'zh-cn':{dictionary:_0x2f7f69,getPluralForm:_0x5570ae}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0xaa2b84=>0x0}};_0x335091['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x335091['zh-cn']['dictionary']=Object['assign'](_0x335091['zh-cn']['dictionary'],_0x2f7f69),_0x335091['zh-cn']['getPluralForm']=_0x5570ae;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0xe542c8=>0x0}};
23
+ export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x231341=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14015c=>{const {zh:{dictionary:_0x2ffe34,getPluralForm:_0xd283ea}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x417bd5=>0x0}};_0x14015c['zh']||={'dictionary':{},'getPluralForm':null},_0x14015c['zh']['dictionary']=Object['assign'](_0x14015c['zh']['dictionary'],_0x2ffe34),_0x14015c['zh']['getPluralForm']=_0xd283ea;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x353e93=>{const {zh:{dictionary:_0x327306,getPluralForm:_0x11c009}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x50fd96=>0x0}};_0x353e93['zh']||={'dictionary':{},'getPluralForm':null},_0x353e93['zh']['dictionary']=Object['assign'](_0x353e93['zh']['dictionary'],_0x327306),_0x353e93['zh']['getPluralForm']=_0x11c009;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "42.0.0-alpha.23",
3
+ "version": "42.0.0-alpha.24",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,7 +30,7 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "ckeditor5": "42.0.0-alpha.23"
33
+ "ckeditor5": "42.0.0-alpha.24"
34
34
  },
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x149c73=_0x255e;function _0x255e(_0xc293f0,_0x178502){const _0x3d8dd5=_0x3d8d();return _0x255e=function(_0x255e4b,_0x3e27e2){_0x255e4b=_0x255e4b-0x18a;let _0x20c432=_0x3d8dd5[_0x255e4b];return _0x20c432;},_0x255e(_0xc293f0,_0x178502);}function _0x3d8d(){const _0x24e58a=['add','204485JSJlsk','94jYoKLu','4715757LLWZfj','12EAazGq','tokenUrl','requires','42YVZuJP','88VLryTm','3909680birFLp','CloudServices','351022IrPIfN','token','pluginName','1740171TEQQgg','then','10967MbIrwQ','960810nukYZH','ExportWord','config','init','plugins','registerTokenUrl','exportWord','_token','get','editor','commands'];_0x3d8d=function(){return _0x24e58a;};return _0x3d8d();}(function(_0x21e1cd,_0xc9b659){const _0x3aed16=_0x255e,_0x442148=_0x21e1cd();while(!![]){try{const _0x44dff8=parseInt(_0x3aed16(0x198))/0x1*(-parseInt(_0x3aed16(0x18a))/0x2)+parseInt(_0x3aed16(0x196))/0x3+-parseInt(_0x3aed16(0x18c))/0x4*(-parseInt(_0x3aed16(0x1a5))/0x5)+parseInt(_0x3aed16(0x18f))/0x6*(parseInt(_0x3aed16(0x193))/0x7)+-parseInt(_0x3aed16(0x191))/0x8+-parseInt(_0x3aed16(0x18b))/0x9+-parseInt(_0x3aed16(0x199))/0xa*(-parseInt(_0x3aed16(0x190))/0xb);if(_0x44dff8===_0xc9b659)break;else _0x442148['push'](_0x442148['shift']());}catch(_0x360e6e){_0x442148['push'](_0x442148['shift']());}}}(_0x3d8d,0x47d8e));import{Plugin as _0x5cf5d2}from'ckeditor5/src/core.js';import{Notification as _0x2eaf59}from'ckeditor5/src/ui.js';import _0x2a30c0 from'./exportwordcommand.js';import _0xc1a262 from'./exportwordui.js';export default class s extends _0x5cf5d2{static get[_0x149c73(0x195)](){const _0x1e0504=_0x149c73;return _0x1e0504(0x19a);}static get[_0x149c73(0x18e)](){const _0x51962a=_0x149c73;return[_0x51962a(0x192),_0x2eaf59,_0xc1a262];}[_0x149c73(0x19c)](){const _0x154b79=_0x149c73,_0x28c337=this[_0x154b79(0x1a2)],_0x5a0a53=_0x28c337[_0x154b79(0x19b)][_0x154b79(0x1a1)](_0x154b79(0x19f))||{};_0x28c337[_0x154b79(0x1a3)][_0x154b79(0x1a4)](_0x154b79(0x19f),new _0x2a30c0(_0x28c337));const _0x363ba0=_0x28c337[_0x154b79(0x19d)][_0x154b79(0x1a1)](_0x154b79(0x192));!0x1===_0x5a0a53[_0x154b79(0x18d)]?this[_0x154b79(0x1a0)]=null:_0x5a0a53[_0x154b79(0x18d)]?_0x363ba0[_0x154b79(0x19e)](_0x5a0a53[_0x154b79(0x18d)])[_0x154b79(0x197)](_0x8eee0f=>{const _0x462660=_0x154b79;this[_0x462660(0x1a0)]=_0x8eee0f;}):this[_0x154b79(0x1a0)]=_0x363ba0[_0x154b79(0x194)];}}
23
+ const _0x46edff=_0x18e3;(function(_0x1f1f19,_0x59ed66){const _0x1a34fc=_0x18e3,_0x32f0e3=_0x1f1f19();while(!![]){try{const _0x533093=parseInt(_0x1a34fc(0x81))/0x1+-parseInt(_0x1a34fc(0x8b))/0x2+-parseInt(_0x1a34fc(0x86))/0x3*(parseInt(_0x1a34fc(0x8e))/0x4)+parseInt(_0x1a34fc(0x7e))/0x5*(-parseInt(_0x1a34fc(0x87))/0x6)+parseInt(_0x1a34fc(0x94))/0x7*(parseInt(_0x1a34fc(0x95))/0x8)+-parseInt(_0x1a34fc(0x83))/0x9*(-parseInt(_0x1a34fc(0x7f))/0xa)+parseInt(_0x1a34fc(0x97))/0xb;if(_0x533093===_0x59ed66)break;else _0x32f0e3['push'](_0x32f0e3['shift']());}catch(_0x119850){_0x32f0e3['push'](_0x32f0e3['shift']());}}}(_0x122c,0x24900));import{Plugin as _0x3bcac3}from'ckeditor5/src/core.js';import{Notification as _0x27a160}from'ckeditor5/src/ui.js';function _0x18e3(_0x30aacc,_0xdb7335){const _0x122c7c=_0x122c();return _0x18e3=function(_0x18e3fb,_0x4dcb4f){_0x18e3fb=_0x18e3fb-0x7c;let _0x1d5f4d=_0x122c7c[_0x18e3fb];return _0x1d5f4d;},_0x18e3(_0x30aacc,_0xdb7335);}import _0x56935a from'./exportwordcommand.js';function _0x122c(){const _0x392ae7=['requires','443799yDEIBL','CloudServices','then','459nKpSIs','27726smKLSW','tokenUrl','commands','registerTokenUrl','284276ajksdi','pluginName','_token','3320pHsRlZ','token','init','ExportWord','plugins','editor','25928Vifpgm','32eijvOl','add','3087942CWWsNv','exportWord','config','70mlOyUi','10jaJmbF','get','138733qXxSUY'];_0x122c=function(){return _0x392ae7;};return _0x122c();}import _0x26dc89 from'./exportwordui.js';export default class s extends _0x3bcac3{static get[_0x46edff(0x8c)](){const _0x23538b=_0x46edff;return _0x23538b(0x91);}static get[_0x46edff(0x82)](){const _0x179622=_0x46edff;return[_0x179622(0x84),_0x27a160,_0x26dc89];}[_0x46edff(0x90)](){const _0x5322d7=_0x46edff,_0x314700=this[_0x5322d7(0x93)],_0x57c03d=_0x314700[_0x5322d7(0x7d)][_0x5322d7(0x80)](_0x5322d7(0x7c))||{};_0x314700[_0x5322d7(0x89)][_0x5322d7(0x96)](_0x5322d7(0x7c),new _0x56935a(_0x314700));const _0x161313=_0x314700[_0x5322d7(0x92)][_0x5322d7(0x80)](_0x5322d7(0x84));!0x1===_0x57c03d[_0x5322d7(0x88)]?this[_0x5322d7(0x8d)]=null:_0x57c03d[_0x5322d7(0x88)]?_0x161313[_0x5322d7(0x8a)](_0x57c03d[_0x5322d7(0x88)])[_0x5322d7(0x85)](_0x4ef0a5=>{const _0x5d79ec=_0x5322d7;this[_0x5d79ec(0x8d)]=_0x4ef0a5;}):this[_0x5322d7(0x8d)]=_0x161313[_0x5322d7(0x8f)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x253078}from'ckeditor5/src/core.js';import{getStyles as _0x3ae096,getConverterOptions as _0x16d2cb,getConverterOptionsV2 as _0x2e0b2f}from'./utils.js';export default class e extends _0x253078{constructor(_0x2623c9){super(_0x2623c9),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x2aaba3={}){const _0x191064=this['editor'],t=_0x191064['t'],_0x21002b=0x2===(_0x2aaba3['version']||0x1),_0x5f589a=_0x2aaba3['converterUrl']||(_0x21002b?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x9eff74=_0x2aaba3['converterOptions']||{},_0x92cff2=_0x191064['plugins']['get']('ExportWord'),_0x290f9d=_0x2aaba3['token']||_0x92cff2['_token'],_0x386e76=!0x1!==_0x9eff74['auto_pagination'],_0x52ade1=_0x2aaba3['dataCallback']||(_0x3b64eb=>_0x3b64eb['data']['get']({'pagination':_0x386e76}));return this['isBusy']=!0x0,this['refresh'](),_0x3ae096(_0x2aaba3['stylesheets']||['EDITOR_STYLES'])['then'](async _0x46b21a=>{_0x191064['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x2187b2=await _0x52ade1(_0x191064),_0x164134={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x191064['locale']['contentLanguageDirection']+'\x22>'+_0x2187b2+'</div>','css':_0x46b21a,[_0x21002b?'config':'options']:{..._0x9eff74,..._0x21002b?_0x2e0b2f(_0x191064):_0x16d2cb(_0x191064)}},_0x7acb17={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x290f9d?{'Authorization':_0x290f9d['value']}:null},'body':JSON['stringify'](_0x164134)};return window['fetch'](_0x5f589a,_0x7acb17)['then'](_0x471e5a=>{if(0xc8!==_0x471e5a['status'])throw _0x471e5a;return _0x471e5a['blob']();})['then'](_0x3c076f=>{_0x191064['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x286cab='function'==typeof _0x2aaba3['fileName']?_0x2aaba3['fileName']():_0x2aaba3['fileName'];this['_downloadFile'](_0x3c076f,_0x286cab||'document.docx');});})['catch'](_0x1b91b8=>{const _0x1a205a=_0x191064['plugins']['get']('Notification');throw _0x191064['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x1a205a['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x1b91b8;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x4e614f,_0x4efdc8){const _0x538922=document['createElement']('a');_0x538922['href']=window['URL']['createObjectURL'](_0x4e614f),_0x538922['download']=_0x4efdc8,_0x538922['click'](),_0x538922['remove']();}}
23
+ import{Command as _0x43a2ec}from'ckeditor5/src/core.js';import{getStyles as _0x4ba224,getConverterOptions as _0xe55581,getConverterOptionsV2 as _0x5ae28e}from'./utils.js';export default class e extends _0x43a2ec{constructor(_0x2a4db6){super(_0x2a4db6),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x164e47={}){const _0x45a8c8=this['editor'],t=_0x45a8c8['t'],_0x2039a6=0x2===(_0x164e47['version']||0x1),_0xd620c8=_0x164e47['converterUrl']||(_0x2039a6?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x284a1a=_0x164e47['converterOptions']||{},_0x6cc77e=_0x45a8c8['plugins']['get']('ExportWord'),_0x1be1c0=_0x164e47['token']||_0x6cc77e['_token'],_0x18088a=!0x1!==_0x284a1a['auto_pagination'],_0xee45ce=_0x164e47['dataCallback']||(_0x435e70=>_0x435e70['data']['get']({'pagination':_0x18088a}));return this['isBusy']=!0x0,this['refresh'](),_0x4ba224(_0x164e47['stylesheets']||['EDITOR_STYLES'])['then'](async _0x1c7098=>{_0x45a8c8['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x108304=await _0xee45ce(_0x45a8c8),_0x3d0615={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x45a8c8['locale']['contentLanguageDirection']+'\x22>'+_0x108304+'</div>','css':_0x1c7098,[_0x2039a6?'config':'options']:{..._0x284a1a,..._0x2039a6?_0x5ae28e(_0x45a8c8):_0xe55581(_0x45a8c8)}},_0x52b2a8={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x1be1c0?{'Authorization':_0x1be1c0['value']}:null},'body':JSON['stringify'](_0x3d0615)};return window['fetch'](_0xd620c8,_0x52b2a8)['then'](_0x5dfafe=>{if(0xc8!==_0x5dfafe['status'])throw _0x5dfafe;return _0x5dfafe['blob']();})['then'](_0x26e8bc=>{_0x45a8c8['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0xa6486a='function'==typeof _0x164e47['fileName']?_0x164e47['fileName']():_0x164e47['fileName'];this['_downloadFile'](_0x26e8bc,_0xa6486a||'document.docx');});})['catch'](_0x3371a7=>{const _0x30fbc2=_0x45a8c8['plugins']['get']('Notification');throw _0x45a8c8['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x30fbc2['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x3371a7;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x7681ed,_0x191f02){const _0x7989c6=document['createElement']('a');_0x7989c6['href']=window['URL']['createObjectURL'](_0x7681ed),_0x7989c6['download']=_0x191f02,_0x7989c6['click'](),_0x7989c6['remove']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xe78ca9}from'ckeditor5/src/core.js';import{ButtonView as _0x247f75,MenuBarMenuListItemButtonView as _0x40af7d,SpinnerView as _0x4d5607}from'ckeditor5/src/ui.js';import _0x15575 from'../theme/icons/exportword.svg';export default class i extends _0xe78ca9{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x19a921=this['editor'];_0x19a921['ui']['componentFactory']['add']('exportWord',()=>{const _0x395dd3=_0x19a921['commands']['get']('exportWord'),_0x56f58f=this['_createButton'](_0x247f75);return _0x56f58f['set']({'tooltip':!0x0}),_0x56f58f['bind']('isOn')['to'](_0x395dd3,'isBusy'),_0x56f58f;}),_0x19a921['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x40af7d));}['_createButton'](_0x1020d3){const _0x189c13=this['editor'],_0x26262c=_0x189c13['config']['get']('exportWord')||{},t=_0x189c13['locale']['t'],_0x2ea5d7=_0x189c13['commands']['get']('exportWord'),_0x4aba24=new _0x1020d3(_0x189c13['locale']),_0x2eb12f=new _0x4d5607();return _0x4aba24['children']['add'](_0x2eb12f),_0x2eb12f['bind']('isVisible')['to'](_0x2ea5d7,'isBusy'),_0x4aba24['iconView']['bind']('isVisible')['to'](_0x2ea5d7,'isBusy',_0x5b0aab=>!_0x5b0aab),_0x4aba24['set']({'icon':_0x15575}),_0x4aba24['bind']('isEnabled')['to'](_0x2ea5d7,'isEnabled'),_0x4aba24['bind']('label')['to'](_0x2ea5d7,'isBusy',_0x52de92=>t(_0x52de92?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x4aba24,'execute',()=>{_0x189c13['execute']('exportWord',_0x26262c),_0x189c13['editing']['view']['focus']();}),_0x4aba24;}}
23
+ import{Plugin as _0x5b8b74}from'ckeditor5/src/core.js';import{ButtonView as _0x5b0e4c,MenuBarMenuListItemButtonView as _0x55a8c1,SpinnerView as _0x470ce1}from'ckeditor5/src/ui.js';import _0x8bdf5f from'../theme/icons/exportword.svg';export default class i extends _0x5b8b74{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x5cb849=this['editor'];_0x5cb849['ui']['componentFactory']['add']('exportWord',()=>{const _0x8569b2=_0x5cb849['commands']['get']('exportWord'),_0x2d36c2=this['_createButton'](_0x5b0e4c);return _0x2d36c2['set']({'tooltip':!0x0}),_0x2d36c2['bind']('isOn')['to'](_0x8569b2,'isBusy'),_0x2d36c2;}),_0x5cb849['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x55a8c1));}['_createButton'](_0x4c8d51){const _0x1f1efd=this['editor'],_0x2e3aab=_0x1f1efd['config']['get']('exportWord')||{},t=_0x1f1efd['locale']['t'],_0x3ac1d9=_0x1f1efd['commands']['get']('exportWord'),_0x23c6b7=new _0x4c8d51(_0x1f1efd['locale']),_0x569ed7=new _0x470ce1();return _0x23c6b7['children']['add'](_0x569ed7),_0x569ed7['bind']('isVisible')['to'](_0x3ac1d9,'isBusy'),_0x23c6b7['iconView']['bind']('isVisible')['to'](_0x3ac1d9,'isBusy',_0x342406=>!_0x342406),_0x23c6b7['set']({'icon':_0x8bdf5f}),_0x23c6b7['bind']('isEnabled')['to'](_0x3ac1d9,'isEnabled'),_0x23c6b7['bind']('label')['to'](_0x3ac1d9,'isBusy',_0x2574ae=>t(_0x2574ae?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x23c6b7,'execute',()=>{_0x1f1efd['execute']('exportWord',_0x2e3aab),_0x1f1efd['editing']['view']['focus']();}),_0x23c6b7;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4da2e9,_0x3506af){var _0x479370=_0x3492,_0x2c5f61=_0x4da2e9();while(!![]){try{var _0x2cb34d=-parseInt(_0x479370(0x9b))/0x1*(-parseInt(_0x479370(0xa0))/0x2)+-parseInt(_0x479370(0x9c))/0x3*(parseInt(_0x479370(0xa3))/0x4)+-parseInt(_0x479370(0xa2))/0x5*(parseInt(_0x479370(0x9e))/0x6)+-parseInt(_0x479370(0x9a))/0x7*(parseInt(_0x479370(0xa1))/0x8)+-parseInt(_0x479370(0x9d))/0x9+parseInt(_0x479370(0x99))/0xa+parseInt(_0x479370(0x9f))/0xb;if(_0x2cb34d===_0x3506af)break;else _0x2c5f61['push'](_0x2c5f61['shift']());}catch(_0x3ad2a7){_0x2c5f61['push'](_0x2c5f61['shift']());}}}(_0x1e61,0x1ef08));function _0x3492(_0x3ad8ed,_0x5a77a4){var _0x1e6159=_0x1e61();return _0x3492=function(_0x3492b0,_0x33bca6){_0x3492b0=_0x3492b0-0x99;var _0x2ef7b1=_0x1e6159[_0x3492b0];return _0x2ef7b1;},_0x3492(_0x3ad8ed,_0x5a77a4);}function _0x1e61(){var _0xd28af5=['14nLfLNq','144987unIQiQ','1490436NhDRcH','3390VZqQTn','3871648xYWlrg','20506UHgQoJ','424ysXrSm','1130vaghoH','4Sarghx','356990MMwzGw','8302EqxfQx'];_0x1e61=function(){return _0xd28af5;};return _0x1e61();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
23
+ (function(_0x1f1c00,_0x27b436){var _0x27d8e6=_0x5936,_0x1ccc8e=_0x1f1c00();while(!![]){try{var _0x1e0fb3=-parseInt(_0x27d8e6(0x1e7))/0x1*(-parseInt(_0x27d8e6(0x1e9))/0x2)+parseInt(_0x27d8e6(0x1e6))/0x3+parseInt(_0x27d8e6(0x1e3))/0x4*(-parseInt(_0x27d8e6(0x1eb))/0x5)+parseInt(_0x27d8e6(0x1e8))/0x6+-parseInt(_0x27d8e6(0x1e4))/0x7+parseInt(_0x27d8e6(0x1ea))/0x8*(parseInt(_0x27d8e6(0x1ec))/0x9)+parseInt(_0x27d8e6(0x1e5))/0xa;if(_0x1e0fb3===_0x27b436)break;else _0x1ccc8e['push'](_0x1ccc8e['shift']());}catch(_0x81037e){_0x1ccc8e['push'](_0x1ccc8e['shift']());}}}(_0x23cb,0xbe623));function _0x23cb(){var _0xf21199=['5906dPhHap','3125888AoiudM','34440ftDbGZ','18DgjNbf','784WJRRNF','5651247Lsjwjw','643190oaqGgb','3305049WtnsSa','101lOFwcX','4148718dWXQfk'];_0x23cb=function(){return _0xf21199;};return _0x23cb();}export{default as ExportWord}from'./exportword.js';function _0x5936(_0x566747,_0x51bf5e){var _0x23cb1c=_0x23cb();return _0x5936=function(_0x593690,_0x121cb6){_0x593690=_0x593690-0x1e3;var _0x2c5bed=_0x23cb1c[_0x593690];return _0x2c5bed;},_0x5936(_0x566747,_0x51bf5e);}import'./augmentation.js';
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a38ad,_0xb5d270){const _0x6e2bf7=_0x50eb,_0x4f7499=_0x4a38ad();while(!![]){try{const _0x1c2f82=parseInt(_0x6e2bf7(0xfc))/0x1*(-parseInt(_0x6e2bf7(0x112))/0x2)+-parseInt(_0x6e2bf7(0x101))/0x3*(-parseInt(_0x6e2bf7(0x10a))/0x4)+-parseInt(_0x6e2bf7(0x104))/0x5+-parseInt(_0x6e2bf7(0xe9))/0x6*(-parseInt(_0x6e2bf7(0x109))/0x7)+parseInt(_0x6e2bf7(0xdd))/0x8*(parseInt(_0x6e2bf7(0xe2))/0x9)+parseInt(_0x6e2bf7(0xf7))/0xa+-parseInt(_0x6e2bf7(0x100))/0xb;if(_0x1c2f82===_0xb5d270)break;else _0x4f7499['push'](_0x4f7499['shift']());}catch(_0x3d7bf3){_0x4f7499['push'](_0x4f7499['shift']());}}}(_0x37bf,0x7ad74));export function getStyles(_0x46cd1e){const _0x3e3903=_0x50eb;if(!_0x46cd1e)return new Promise(_0xc3760a=>_0xc3760a(''));const _0x435217=[];for(const _0x4b5201 of _0x46cd1e)_0x3e3903(0x113)!==_0x4b5201?_0x435217[_0x3e3903(0x111)](window[_0x3e3903(0xef)](_0x4b5201)[_0x3e3903(0xeb)](_0x45dd84=>_0x45dd84[_0x3e3903(0xf2)]())):_0x435217[_0x3e3903(0x111)](f());return Promise[_0x3e3903(0xfb)](_0x435217)[_0x3e3903(0xeb)](_0x82faf2=>_0x82faf2[_0x3e3903(0xe5)]('\x20')[_0x3e3903(0xe4)]());}function f(){const _0x3d15e6=_0x50eb,_0xb77840=[],_0x28f47d=[];for(const _0x11d543 of Array[_0x3d15e6(0x102)](document[_0x3d15e6(0xdf)])){if(_0x11d543[_0x3d15e6(0xf4)][_0x3d15e6(0xf9)](_0x3d15e6(0xf0))){for(const _0x246a9c of Array[_0x3d15e6(0x102)](_0x11d543[_0x3d15e6(0x108)]))-0x1!==_0x246a9c[_0x3d15e6(0xe7)][_0x3d15e6(0x114)](_0x3d15e6(0x110))?_0xb77840[_0x3d15e6(0x111)](_0x246a9c[_0x3d15e6(0xe7)]):-0x1!==_0x246a9c[_0x3d15e6(0xe7)][_0x3d15e6(0x114)](_0x3d15e6(0xf3))&&_0x28f47d[_0x3d15e6(0x111)](_0x246a9c[_0x3d15e6(0xe7)]);}}return _0xb77840[_0x3d15e6(0xe6)]||console[_0x3d15e6(0x10d)](_0x3d15e6(0xf8)),[..._0x28f47d,..._0xb77840][_0x3d15e6(0xe5)]('\x20')[_0x3d15e6(0xe4)]();}export function getConverterOptions(_0x1f4b64){const _0x4966dd=_0x50eb,_0x1bcbcf=_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0xfe)](_0x4966dd(0xee)),_0x4e5ad6=_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0xfe)](_0x4966dd(0xea)),_0x265d3c=_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0xfe)](_0x4966dd(0xf5)),_0x20209c={};if(_0x1bcbcf&&_0x4e5ad6){const _0xcc19a8=getComments(_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0x107)](_0x4966dd(0xea))[_0x4966dd(0xfd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x4966dd(0xf6)](_0xcc19a8)[_0x4966dd(0xe6)]&&(_0x20209c[_0x4966dd(0xde)]=_0xcc19a8);}if(_0x1bcbcf&&_0x265d3c){const _0x1abab0=_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0x107)](_0x4966dd(0xf5)),_0x5630a8=_0x1f4b64[_0x4966dd(0x103)][_0x4966dd(0x107)](_0x4966dd(0xee)),_0x1e01b8=getSuggestions(_0x1abab0[_0x4966dd(0xf1)]({'toJSON':!0x0}),_0x5630a8[_0x4966dd(0xed)]);Object[_0x4966dd(0xf6)](_0x1e01b8)[_0x4966dd(0xe6)]&&(_0x20209c[_0x4966dd(0x10b)]=_0x1e01b8);}return(_0x20209c[_0x4966dd(0x10b)]||_0x20209c[_0x4966dd(0xde)])&&(_0x20209c[_0x4966dd(0xe1)]=new Intl[(_0x4966dd(0x10f))]()[_0x4966dd(0xe3)]()[_0x4966dd(0xff)]),_0x20209c;}export function getComments(_0x1bd655){const _0x169e10=_0x50eb,_0x11cfa5={};if(!_0x1bd655[_0x169e10(0xe6)])return _0x11cfa5;for(const _0x2f19fc of _0x1bd655)_0x2f19fc[_0x169e10(0xde)][_0x169e10(0xec)](_0x17d331=>{const _0x4e1e81=_0x169e10;void 0x0===_0x11cfa5[_0x2f19fc['id']]&&(_0x11cfa5[_0x2f19fc['id']]=[]),_0x11cfa5[_0x2f19fc['id']][_0x4e1e81(0x111)]({'author':_0x17d331[_0x4e1e81(0x106)][_0x4e1e81(0xfa)],'content':_0x17d331[_0x4e1e81(0x105)],'created':_0x17d331[_0x4e1e81(0xe0)],'is_resolved':_0x2f19fc[_0x4e1e81(0xe8)]});});return _0x11cfa5;}export function getSuggestions(_0x29bc2d,_0x2eaf8a){const _0x4cf1d7=_0x50eb,_0x5cc8c0={};if(!_0x29bc2d[_0x4cf1d7(0xe6)]||!_0x2eaf8a[_0x4cf1d7(0xe6)])return _0x5cc8c0;for(const _0x36a9d8 of _0x29bc2d)_0x5cc8c0[_0x36a9d8['id']]={'author':_0x2eaf8a[_0x4cf1d7(0x107)](_0x36a9d8[_0x4cf1d7(0x10c)])[_0x4cf1d7(0xfa)],'created':_0x36a9d8[_0x4cf1d7(0xe0)]};return _0x5cc8c0;}export function getConverterOptionsV2(_0x189a96){const _0x384c8c=_0x50eb,_0x73a6b1=_0x189a96[_0x384c8c(0x103)][_0x384c8c(0xfe)](_0x384c8c(0xee)),_0x1f92b4=_0x189a96[_0x384c8c(0x103)][_0x384c8c(0xfe)](_0x384c8c(0xea)),_0x239542=_0x189a96[_0x384c8c(0x103)][_0x384c8c(0xfe)](_0x384c8c(0xf5)),_0x27a58e={},_0x3fc40f={};if(_0x73a6b1&&_0x1f92b4){const _0x393ad6=getCommentsV2(_0x189a96[_0x384c8c(0x103)][_0x384c8c(0x107)](_0x384c8c(0xea))[_0x384c8c(0xfd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x393ad6[_0x384c8c(0xe6)]&&(_0x3fc40f[_0x384c8c(0x10e)]=_0x393ad6);}if(_0x73a6b1&&_0x239542){const _0x4b367e=_0x189a96[_0x384c8c(0x103)][_0x384c8c(0x107)](_0x384c8c(0xf5)),_0x25a343=_0x189a96[_0x384c8c(0x103)][_0x384c8c(0x107)](_0x384c8c(0xee)),_0x4bbbad=getSuggestionsV2(_0x4b367e[_0x384c8c(0xf1)]({'toJSON':!0x0}),_0x25a343[_0x384c8c(0xed)]);_0x4bbbad[_0x384c8c(0xe6)]&&(_0x3fc40f[_0x384c8c(0x10b)]=_0x4bbbad);}return(_0x3fc40f[_0x384c8c(0x10e)]||_0x3fc40f[_0x384c8c(0x10b)])&&(_0x27a58e[_0x384c8c(0xe1)]=new Intl[(_0x384c8c(0x10f))]()[_0x384c8c(0xe3)]()[_0x384c8c(0xff)],_0x27a58e[_0x384c8c(0xdc)]=_0x3fc40f),_0x27a58e;}function _0x50eb(_0x5b8cfe,_0x23368b){const _0x37bf6f=_0x37bf();return _0x50eb=function(_0x50eb61,_0x5a1d7a){_0x50eb61=_0x50eb61-0xdc;let _0x42844b=_0x37bf6f[_0x50eb61];return _0x42844b;},_0x50eb(_0x5b8cfe,_0x23368b);}export function getCommentsV2(_0x48bbd0){const _0x20aaa8=_0x50eb,_0x2d8ffb=[];if(!_0x48bbd0[_0x20aaa8(0xe6)])return _0x2d8ffb;for(const _0x262730 of _0x48bbd0){const _0x5286c4=_0x262730[_0x20aaa8(0xde)][_0x20aaa8(0xec)](_0x45e381=>({'author':_0x45e381[_0x20aaa8(0x106)][_0x20aaa8(0xfa)],'content':_0x45e381[_0x20aaa8(0x105)],'created_at':_0x45e381[_0x20aaa8(0xe0)]}));_0x2d8ffb[_0x20aaa8(0x111)]({'thread_id':_0x262730['id'],'is_resolved':_0x262730[_0x20aaa8(0xe8)],'comments':_0x5286c4});}return _0x2d8ffb;}export function getSuggestionsV2(_0x951da,_0x2e1979){const _0x37a030=_0x50eb;return _0x951da[_0x37a030(0xe6)]&&_0x2e1979[_0x37a030(0xe6)]?_0x951da[_0x37a030(0xec)](_0x7e918a=>({'id':_0x7e918a['id'],'author':_0x2e1979[_0x37a030(0x107)](_0x7e918a[_0x37a030(0x10c)])[_0x37a030(0xfa)],'created_at':_0x7e918a[_0x37a030(0xe0)]})):[];}function _0x37bf(){const _0x54b2b4=['fetch','data-cke','getSuggestions','text',':root','ownerNode','TrackChanges','keys','8192210LZhYtV','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','hasAttribute','name','all','13IJszXA','getCommentThreads','has','timeZone','8046775PWkyfD','195nLqZGZ','from','plugins','2542630zDOYAx','content','author','get','cssRules','39606oTUeWW','18296injyFp','suggestions','authorId','warn','comment_threads','DateTimeFormat','.ck-content','push','148406jVrEBQ','EDITOR_STYLES','indexOf','collaboration_features','95672EmGiyu','comments','styleSheets','createdAt','timezone','495VmnUHE','resolvedOptions','trim','join','length','cssText','isResolved','990WYuJYI','CommentsRepository','then','map','users','Users'];_0x37bf=function(){return _0x54b2b4;};return _0x37bf();}
23
+ function _0x182c(){const _0x4fded1=['get','name','.ck-content','trim','resolvedOptions','getCommentThreads','content','5592918jeQEoz','timeZone','length','24116190NFvKPP','warn',':root','21MjDhwq','1796814KTgFTj','isResolved','map','plugins','timezone','author','join','getSuggestions','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','2vLMeZm','collaboration_features','keys','ownerNode','all','TrackChanges','CommentsRepository','authorId','fetch','530QxznDx','DateTimeFormat','data-cke','comment_threads','createdAt','EDITOR_STYLES','push','text','styleSheets','hasAttribute','comments','cssText','from','Users','then','suggestions','cssRules','has','714478uaRtIx','939568IYDYxS','users','84279tAGyEZ','25368BDQvxh','indexOf'];_0x182c=function(){return _0x4fded1;};return _0x182c();}(function(_0x133c15,_0x220784){const _0x4ca9fe=_0x5e01,_0x1149a1=_0x133c15();while(!![]){try{const _0x70908a=parseInt(_0x4ca9fe(0x1cf))/0x1*(parseInt(_0x4ca9fe(0x1ea))/0x2)+parseInt(_0x4ca9fe(0x1ed))/0x3+-parseInt(_0x4ca9fe(0x1b6))/0x4*(-parseInt(_0x4ca9fe(0x1d8))/0x5)+parseInt(_0x4ca9fe(0x1bf))/0x6+-parseInt(_0x4ca9fe(0x1c5))/0x7*(-parseInt(_0x4ca9fe(0x1eb))/0x8)+parseInt(_0x4ca9fe(0x1c6))/0x9+-parseInt(_0x4ca9fe(0x1c2))/0xa;if(_0x70908a===_0x220784)break;else _0x1149a1['push'](_0x1149a1['shift']());}catch(_0x1403ce){_0x1149a1['push'](_0x1149a1['shift']());}}}(_0x182c,0x76fad));export function getStyles(_0x5e6c48){const _0x26e55d=_0x5e01;if(!_0x5e6c48)return new Promise(_0x34938d=>_0x34938d(''));const _0x1e6041=[];for(const _0x49ec68 of _0x5e6c48)_0x26e55d(0x1dd)!==_0x49ec68?_0x1e6041[_0x26e55d(0x1de)](window[_0x26e55d(0x1d7)](_0x49ec68)[_0x26e55d(0x1e6)](_0x589350=>_0x589350[_0x26e55d(0x1df)]())):_0x1e6041[_0x26e55d(0x1de)](f());return Promise[_0x26e55d(0x1d3)](_0x1e6041)[_0x26e55d(0x1e6)](_0x8acd30=>_0x8acd30[_0x26e55d(0x1cc)]('\x20')[_0x26e55d(0x1bb)]());}function f(){const _0x1e1a25=_0x5e01,_0x1eda35=[],_0x592f77=[];for(const _0x315abf of Array[_0x1e1a25(0x1e4)](document[_0x1e1a25(0x1e0)])){if(_0x315abf[_0x1e1a25(0x1d2)][_0x1e1a25(0x1e1)](_0x1e1a25(0x1da))){for(const _0x953c42 of Array[_0x1e1a25(0x1e4)](_0x315abf[_0x1e1a25(0x1e8)]))-0x1!==_0x953c42[_0x1e1a25(0x1e3)][_0x1e1a25(0x1b7)](_0x1e1a25(0x1ba))?_0x1eda35[_0x1e1a25(0x1de)](_0x953c42[_0x1e1a25(0x1e3)]):-0x1!==_0x953c42[_0x1e1a25(0x1e3)][_0x1e1a25(0x1b7)](_0x1e1a25(0x1c4))&&_0x592f77[_0x1e1a25(0x1de)](_0x953c42[_0x1e1a25(0x1e3)]);}}return _0x1eda35[_0x1e1a25(0x1c1)]||console[_0x1e1a25(0x1c3)](_0x1e1a25(0x1ce)),[..._0x592f77,..._0x1eda35][_0x1e1a25(0x1cc)]('\x20')[_0x1e1a25(0x1bb)]();}export function getConverterOptions(_0x1145ef){const _0x2e7ce1=_0x5e01,_0x1ac84f=_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1e9)](_0x2e7ce1(0x1e5)),_0x311f19=_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1e9)](_0x2e7ce1(0x1d5)),_0x203f08=_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1e9)](_0x2e7ce1(0x1d4)),_0x303e2a={};if(_0x1ac84f&&_0x311f19){const _0x29349d=getComments(_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1b8)](_0x2e7ce1(0x1d5))[_0x2e7ce1(0x1bd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x2e7ce1(0x1d1)](_0x29349d)[_0x2e7ce1(0x1c1)]&&(_0x303e2a[_0x2e7ce1(0x1e2)]=_0x29349d);}if(_0x1ac84f&&_0x203f08){const _0x18b714=_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1b8)](_0x2e7ce1(0x1d4)),_0xdd7995=_0x1145ef[_0x2e7ce1(0x1c9)][_0x2e7ce1(0x1b8)](_0x2e7ce1(0x1e5)),_0x13490a=getSuggestions(_0x18b714[_0x2e7ce1(0x1cd)]({'toJSON':!0x0}),_0xdd7995[_0x2e7ce1(0x1ec)]);Object[_0x2e7ce1(0x1d1)](_0x13490a)[_0x2e7ce1(0x1c1)]&&(_0x303e2a[_0x2e7ce1(0x1e7)]=_0x13490a);}return(_0x303e2a[_0x2e7ce1(0x1e7)]||_0x303e2a[_0x2e7ce1(0x1e2)])&&(_0x303e2a[_0x2e7ce1(0x1ca)]=new Intl[(_0x2e7ce1(0x1d9))]()[_0x2e7ce1(0x1bc)]()[_0x2e7ce1(0x1c0)]),_0x303e2a;}export function getComments(_0x75f6ff){const _0x198f42=_0x5e01,_0x4f40f2={};if(!_0x75f6ff[_0x198f42(0x1c1)])return _0x4f40f2;for(const _0x4e3457 of _0x75f6ff)_0x4e3457[_0x198f42(0x1e2)][_0x198f42(0x1c8)](_0x29334c=>{const _0x418a32=_0x198f42;void 0x0===_0x4f40f2[_0x4e3457['id']]&&(_0x4f40f2[_0x4e3457['id']]=[]),_0x4f40f2[_0x4e3457['id']][_0x418a32(0x1de)]({'author':_0x29334c[_0x418a32(0x1cb)][_0x418a32(0x1b9)],'content':_0x29334c[_0x418a32(0x1be)],'created':_0x29334c[_0x418a32(0x1dc)],'is_resolved':_0x4e3457[_0x418a32(0x1c7)]});});return _0x4f40f2;}export function getSuggestions(_0x21e2cd,_0xe6b4dc){const _0x50f588=_0x5e01,_0x253564={};if(!_0x21e2cd[_0x50f588(0x1c1)]||!_0xe6b4dc[_0x50f588(0x1c1)])return _0x253564;for(const _0x458307 of _0x21e2cd)_0x253564[_0x458307['id']]={'author':_0xe6b4dc[_0x50f588(0x1b8)](_0x458307[_0x50f588(0x1d6)])[_0x50f588(0x1b9)],'created':_0x458307[_0x50f588(0x1dc)]};return _0x253564;}export function getConverterOptionsV2(_0x639bda){const _0x1840e2=_0x5e01,_0x1216a8=_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1e9)](_0x1840e2(0x1e5)),_0x57bd4b=_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1e9)](_0x1840e2(0x1d5)),_0xa8d11c=_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1e9)](_0x1840e2(0x1d4)),_0x23ce8b={},_0x2bb50b={};if(_0x1216a8&&_0x57bd4b){const _0x12c377=getCommentsV2(_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1b8)](_0x1840e2(0x1d5))[_0x1840e2(0x1bd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x12c377[_0x1840e2(0x1c1)]&&(_0x2bb50b[_0x1840e2(0x1db)]=_0x12c377);}if(_0x1216a8&&_0xa8d11c){const _0x1aacdb=_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1b8)](_0x1840e2(0x1d4)),_0x11d2a5=_0x639bda[_0x1840e2(0x1c9)][_0x1840e2(0x1b8)](_0x1840e2(0x1e5)),_0x115312=getSuggestionsV2(_0x1aacdb[_0x1840e2(0x1cd)]({'toJSON':!0x0}),_0x11d2a5[_0x1840e2(0x1ec)]);_0x115312[_0x1840e2(0x1c1)]&&(_0x2bb50b[_0x1840e2(0x1e7)]=_0x115312);}return(_0x2bb50b[_0x1840e2(0x1db)]||_0x2bb50b[_0x1840e2(0x1e7)])&&(_0x23ce8b[_0x1840e2(0x1ca)]=new Intl[(_0x1840e2(0x1d9))]()[_0x1840e2(0x1bc)]()[_0x1840e2(0x1c0)],_0x23ce8b[_0x1840e2(0x1d0)]=_0x2bb50b),_0x23ce8b;}export function getCommentsV2(_0x4b280a){const _0xe1200b=_0x5e01,_0x3749bc=[];if(!_0x4b280a[_0xe1200b(0x1c1)])return _0x3749bc;for(const _0x3e575e of _0x4b280a){const _0xaf1dc7=_0x3e575e[_0xe1200b(0x1e2)][_0xe1200b(0x1c8)](_0x36b6c6=>({'author':_0x36b6c6[_0xe1200b(0x1cb)][_0xe1200b(0x1b9)],'content':_0x36b6c6[_0xe1200b(0x1be)],'created_at':_0x36b6c6[_0xe1200b(0x1dc)]}));_0x3749bc[_0xe1200b(0x1de)]({'thread_id':_0x3e575e['id'],'is_resolved':_0x3e575e[_0xe1200b(0x1c7)],'comments':_0xaf1dc7});}return _0x3749bc;}function _0x5e01(_0xa61e35,_0x478886){const _0x182c01=_0x182c();return _0x5e01=function(_0x5e01d3,_0x3609fe){_0x5e01d3=_0x5e01d3-0x1b6;let _0x31e6e0=_0x182c01[_0x5e01d3];return _0x31e6e0;},_0x5e01(_0xa61e35,_0x478886);}export function getSuggestionsV2(_0x1bc540,_0x1d5fbd){const _0x490eb8=_0x5e01;return _0x1bc540[_0x490eb8(0x1c1)]&&_0x1d5fbd[_0x490eb8(0x1c1)]?_0x1bc540[_0x490eb8(0x1c8)](_0x369dc8=>({'id':_0x369dc8['id'],'author':_0x1d5fbd[_0x490eb8(0x1b8)](_0x369dc8[_0x490eb8(0x1d6)])[_0x490eb8(0x1b9)],'created_at':_0x369dc8[_0x490eb8(0x1dc)]})):[];}