@ckeditor/ckeditor5-export-word 42.0.0-alpha.11 → 42.0.0-alpha.12
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.
- package/build/export-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +2 -2
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b5b3b=>{const {'zh-cn':{dictionary:_0x1ee281,getPluralForm:_0x4f0bdf}}={'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':_0x2452cd=>0x0}};_0x1b5b3b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x1b5b3b['zh-cn']['dictionary']=Object['assign'](_0x1b5b3b['zh-cn']['dictionary'],_0x1ee281),_0x1b5b3b['zh-cn']['getPluralForm']=_0x4f0bdf;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -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':
|
|
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':_0x407568=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe39409=>{const {zh:{dictionary:_0x26fb87,getPluralForm:_0x24aa5}}={'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':_0x7b4eee=>0x0}};_0xe39409['zh']||={'dictionary':{},'getPluralForm':null},_0xe39409['zh']['dictionary']=Object['assign'](_0xe39409['zh']['dictionary'],_0x26fb87),_0xe39409['zh']['getPluralForm']=_0x24aa5;})(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.
|
|
3
|
+
"version": "42.0.0-alpha.12",
|
|
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.
|
|
33
|
+
"ckeditor5": "42.0.0-alpha.12"
|
|
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
|
|
23
|
+
const _0xe25bde=_0x13c7;(function(_0x20d4b8,_0x48a8b2){const _0x3175ec=_0x13c7,_0x102bfa=_0x20d4b8();while(!![]){try{const _0x4e3387=-parseInt(_0x3175ec(0x1a8))/0x1*(-parseInt(_0x3175ec(0x19a))/0x2)+parseInt(_0x3175ec(0x1a5))/0x3+parseInt(_0x3175ec(0x1a2))/0x4+-parseInt(_0x3175ec(0x1af))/0x5+-parseInt(_0x3175ec(0x1a1))/0x6*(parseInt(_0x3175ec(0x199))/0x7)+-parseInt(_0x3175ec(0x1a4))/0x8+parseInt(_0x3175ec(0x1b0))/0x9;if(_0x4e3387===_0x48a8b2)break;else _0x102bfa['push'](_0x102bfa['shift']());}catch(_0x48f6e8){_0x102bfa['push'](_0x102bfa['shift']());}}}(_0x29dd,0x439b7));import{Plugin as _0x3cb5b8}from'ckeditor5/src/core.js';function _0x13c7(_0x29678c,_0x3b8104){const _0x29ddfe=_0x29dd();return _0x13c7=function(_0x13c7f6,_0x47b605){_0x13c7f6=_0x13c7f6-0x197;let _0x38eaf9=_0x29ddfe[_0x13c7f6];return _0x38eaf9;},_0x13c7(_0x29678c,_0x3b8104);}function _0x29dd(){const _0x37742d=['registerTokenUrl','ExportWord','_token','add','commands','CloudServices','2165800zyHkdI','7675398nrDZdZ','token','get','7glhvDF','35228TWFSgL','plugins','pluginName','then','init','tokenUrl','requires','2567922qVtCRr','1723252cudkCn','exportWord','4150832twsFJQ','908487BAOhNQ','config','editor','4wTSClT'];_0x29dd=function(){return _0x37742d;};return _0x29dd();}import{Notification as _0xa7e07d}from'ckeditor5/src/ui.js';import _0x4eab0d from'./exportwordcommand.js';import _0x36299f from'./exportwordui.js';export default class s extends _0x3cb5b8{static get[_0xe25bde(0x19c)](){const _0x1dc0f5=_0xe25bde;return _0x1dc0f5(0x1aa);}static get[_0xe25bde(0x1a0)](){const _0xadc1b4=_0xe25bde;return[_0xadc1b4(0x1ae),_0xa7e07d,_0x36299f];}[_0xe25bde(0x19e)](){const _0x11d384=_0xe25bde,_0x24a160=this[_0x11d384(0x1a7)],_0x246302=_0x24a160[_0x11d384(0x1a6)][_0x11d384(0x198)](_0x11d384(0x1a3))||{};_0x24a160[_0x11d384(0x1ad)][_0x11d384(0x1ac)](_0x11d384(0x1a3),new _0x4eab0d(_0x24a160));const _0x179a33=_0x24a160[_0x11d384(0x19b)][_0x11d384(0x198)](_0x11d384(0x1ae));!0x1===_0x246302[_0x11d384(0x19f)]?this[_0x11d384(0x1ab)]=null:_0x246302[_0x11d384(0x19f)]?_0x179a33[_0x11d384(0x1a9)](_0x246302[_0x11d384(0x19f)])[_0x11d384(0x19d)](_0x4eff84=>{const _0x295fa1=_0x11d384;this[_0x295fa1(0x1ab)]=_0x4eff84;}):this[_0x11d384(0x1ab)]=_0x179a33[_0x11d384(0x197)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x24a888}from'ckeditor5/src/core.js';import{getStyles as _0xe00029,getConverterOptions as _0x125242,getConverterOptionsV2 as _0x5c7341}from'./utils.js';export default class e extends _0x24a888{constructor(_0x1188d4){super(_0x1188d4),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x57866a={}){const _0x499618=this['editor'],t=_0x499618['t'],_0x59776d=0x2===(_0x57866a['version']||0x1),_0x51ee87=_0x57866a['converterUrl']||(_0x59776d?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x3f2fd1=_0x57866a['converterOptions']||{},_0x128e64=_0x499618['plugins']['get']('ExportWord'),_0x2ab439=_0x57866a['token']||_0x128e64['_token'],_0x2e86d5=!0x1!==_0x3f2fd1['auto_pagination'],_0x1ed1c5=_0x57866a['dataCallback']||(_0x1b6c89=>_0x1b6c89['data']['get']({'pagination':_0x2e86d5}));return this['isBusy']=!0x0,this['refresh'](),_0xe00029(_0x57866a['stylesheets']||['EDITOR_STYLES'])['then'](async _0xf50884=>{_0x499618['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x1dbbda=await _0x1ed1c5(_0x499618),_0x660fef={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x499618['locale']['contentLanguageDirection']+'\x22>'+_0x1dbbda+'</div>','css':_0xf50884,[_0x59776d?'config':'options']:{..._0x3f2fd1,..._0x59776d?_0x5c7341(_0x499618):_0x125242(_0x499618)}},_0x419705={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x2ab439?{'Authorization':_0x2ab439['value']}:null},'body':JSON['stringify'](_0x660fef)};return window['fetch'](_0x51ee87,_0x419705)['then'](_0x80b5c9=>{if(0xc8!==_0x80b5c9['status'])throw _0x80b5c9;return _0x80b5c9['blob']();})['then'](_0x334b42=>{_0x499618['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x229690='function'==typeof _0x57866a['fileName']?_0x57866a['fileName']():_0x57866a['fileName'];this['_downloadFile'](_0x334b42,_0x229690||'document.docx');});})['catch'](_0xd1aa2a=>{const _0x2a630c=_0x499618['plugins']['get']('Notification');throw _0x499618['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x2a630c['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0xd1aa2a;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x1d4392,_0x376303){const _0x1d2876=document['createElement']('a');_0x1d2876['href']=window['URL']['createObjectURL'](_0x1d4392),_0x1d2876['download']=_0x376303,_0x1d2876['click'](),_0x1d2876['remove']();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x15133b}from'ckeditor5/src/core.js';import{ButtonView as _0x39db7c,MenuBarMenuListItemButtonView as _0x4ab85d,SpinnerView as _0x33605e}from'ckeditor5/src/ui.js';import _0x473297 from'../theme/icons/exportword.svg';export default class i extends _0x15133b{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x389165=this['editor'];_0x389165['ui']['componentFactory']['add']('exportWord',()=>{const _0x2855c9=_0x389165['commands']['get']('exportWord'),_0x3678cb=this['_createButton'](_0x39db7c);return _0x3678cb['set']({'tooltip':!0x0}),_0x3678cb['bind']('isOn')['to'](_0x2855c9,'isBusy'),_0x3678cb;}),_0x389165['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x4ab85d));}['_createButton'](_0x220e64){const _0x14f0f7=this['editor'],_0x3e84dd=_0x14f0f7['config']['get']('exportWord')||{},t=_0x14f0f7['locale']['t'],_0x13751d=_0x14f0f7['commands']['get']('exportWord'),_0x4f037e=new _0x220e64(_0x14f0f7['locale']),_0x3391b7=new _0x33605e();return _0x4f037e['children']['add'](_0x3391b7),_0x3391b7['bind']('isVisible')['to'](_0x13751d,'isBusy'),_0x4f037e['iconView']['bind']('isVisible')['to'](_0x13751d,'isBusy',_0x1d849b=>!_0x1d849b),_0x4f037e['set']({'icon':_0x473297}),_0x4f037e['bind']('isEnabled')['to'](_0x13751d,'isEnabled'),_0x4f037e['bind']('label')['to'](_0x13751d,'isBusy',_0x1237c2=>t(_0x1237c2?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x4f037e,'execute',()=>{_0x14f0f7['execute']('exportWord',_0x3e84dd),_0x14f0f7['editing']['view']['focus']();}),_0x4f037e;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4509d0,_0x53e13b){var _0xec2916=_0x22a5,_0x8c3819=_0x4509d0();while(!![]){try{var _0x15941f=parseInt(_0xec2916(0x70))/0x1*(parseInt(_0xec2916(0x71))/0x2)+-parseInt(_0xec2916(0x73))/0x3*(parseInt(_0xec2916(0x7b))/0x4)+parseInt(_0xec2916(0x74))/0x5+-parseInt(_0xec2916(0x72))/0x6*(parseInt(_0xec2916(0x7a))/0x7)+parseInt(_0xec2916(0x77))/0x8*(parseInt(_0xec2916(0x75))/0x9)+parseInt(_0xec2916(0x78))/0xa+parseInt(_0xec2916(0x76))/0xb*(-parseInt(_0xec2916(0x79))/0xc);if(_0x15941f===_0x53e13b)break;else _0x8c3819['push'](_0x8c3819['shift']());}catch(_0x57987a){_0x8c3819['push'](_0x8c3819['shift']());}}}(_0x4ade,0xa2700));function _0x22a5(_0x55a31f,_0x1f66ce){var _0x4ade25=_0x4ade();return _0x22a5=function(_0x22a589,_0x507c72){_0x22a589=_0x22a589-0x70;var _0x3012dd=_0x4ade25[_0x22a589];return _0x3012dd;},_0x22a5(_0x55a31f,_0x1f66ce);}function _0x4ade(){var _0x61691a=['3119870XxwbBJ','671724vgbhYG','14vHSqXm','3368752MysWOj','1GzdUxs','1962530lqXZgj','868746evLmIb','3vttrce','2932635sBgDtt','333531KUIrEX','242BTjskl','248MsAgrd'];_0x4ade=function(){return _0x61691a;};return _0x4ade();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50a30f,_0xf14011){const _0xb49cc8=_0xcd32,_0x4dc601=_0x50a30f();while(!![]){try{const _0x3f06fa=-parseInt(_0xb49cc8(0x187))/0x1+parseInt(_0xb49cc8(0x1a0))/0x2+parseInt(_0xb49cc8(0x1a4))/0x3*(-parseInt(_0xb49cc8(0x184))/0x4)+parseInt(_0xb49cc8(0x198))/0x5*(-parseInt(_0xb49cc8(0x19f))/0x6)+parseInt(_0xb49cc8(0x191))/0x7*(-parseInt(_0xb49cc8(0x19b))/0x8)+parseInt(_0xb49cc8(0x17d))/0x9+-parseInt(_0xb49cc8(0x199))/0xa*(-parseInt(_0xb49cc8(0x197))/0xb);if(_0x3f06fa===_0xf14011)break;else _0x4dc601['push'](_0x4dc601['shift']());}catch(_0x44c7a2){_0x4dc601['push'](_0x4dc601['shift']());}}}(_0xf5d8,0x3e807));export function getStyles(_0x826e8d){const _0x2fc66c=_0xcd32;if(!_0x826e8d)return new Promise(_0x5e161e=>_0x5e161e(''));const _0x396f2b=[];for(const _0x573a9d of _0x826e8d)_0x2fc66c(0x1a9)!==_0x573a9d?_0x396f2b[_0x2fc66c(0x180)](window[_0x2fc66c(0x173)](_0x573a9d)[_0x2fc66c(0x174)](_0x6b5c88=>_0x6b5c88[_0x2fc66c(0x186)]())):_0x396f2b[_0x2fc66c(0x180)](f());return Promise[_0x2fc66c(0x1a1)](_0x396f2b)[_0x2fc66c(0x174)](_0x56b327=>_0x56b327[_0x2fc66c(0x182)]('\x20')[_0x2fc66c(0x1a5)]());}function f(){const _0x474f22=_0xcd32,_0x4c68a1=[],_0x2d8c57=[];for(const _0x5ed1cd of Array[_0x474f22(0x17f)](document[_0x474f22(0x190)])){if(_0x5ed1cd[_0x474f22(0x1a7)][_0x474f22(0x1a3)](_0x474f22(0x18a))){for(const _0x4b18cb of Array[_0x474f22(0x17f)](_0x5ed1cd[_0x474f22(0x18f)]))-0x1!==_0x4b18cb[_0x474f22(0x196)][_0x474f22(0x1aa)](_0x474f22(0x19c))?_0x4c68a1[_0x474f22(0x180)](_0x4b18cb[_0x474f22(0x196)]):-0x1!==_0x4b18cb[_0x474f22(0x196)][_0x474f22(0x1aa)](_0x474f22(0x181))&&_0x2d8c57[_0x474f22(0x180)](_0x4b18cb[_0x474f22(0x196)]);}}return _0x4c68a1[_0x474f22(0x183)]||console[_0x474f22(0x19a)](_0x474f22(0x18e)),[..._0x2d8c57,..._0x4c68a1][_0x474f22(0x182)]('\x20')[_0x474f22(0x1a5)]();}export function getConverterOptions(_0x39c890){const _0x5b9c16=_0xcd32,_0x1e3701=_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x18b)](_0x5b9c16(0x189)),_0xf9511d=_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x18b)](_0x5b9c16(0x178)),_0x1d91df=_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x18b)](_0x5b9c16(0x176)),_0x3b7ea5={};if(_0x1e3701&&_0xf9511d){const _0x1b4d9f=getComments(_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x1a6)](_0x5b9c16(0x178))[_0x5b9c16(0x175)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5b9c16(0x1a2)](_0x1b4d9f)[_0x5b9c16(0x183)]&&(_0x3b7ea5[_0x5b9c16(0x172)]=_0x1b4d9f);}if(_0x1e3701&&_0x1d91df){const _0x525b45=_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x1a6)](_0x5b9c16(0x176)),_0x192354=_0x39c890[_0x5b9c16(0x185)][_0x5b9c16(0x1a6)](_0x5b9c16(0x189)),_0xc09b87=getSuggestions(_0x525b45[_0x5b9c16(0x179)]({'toJSON':!0x0}),_0x192354[_0x5b9c16(0x17a)]);Object[_0x5b9c16(0x1a2)](_0xc09b87)[_0x5b9c16(0x183)]&&(_0x3b7ea5[_0x5b9c16(0x18d)]=_0xc09b87);}return(_0x3b7ea5[_0x5b9c16(0x18d)]||_0x3b7ea5[_0x5b9c16(0x172)])&&(_0x3b7ea5[_0x5b9c16(0x19e)]=new Intl[(_0x5b9c16(0x177))]()[_0x5b9c16(0x188)]()[_0x5b9c16(0x195)]),_0x3b7ea5;}function _0xf5d8(){const _0x4c2948=['name','timeZone','cssText','22mYyGsQ','200rHAcyS','6478880fewEQA','warn','8LzLPZK','.ck-content','content','timezone','39570RjPayT','856970OgPArD','all','keys','hasAttribute','33360dntpfs','trim','get','ownerNode','createdAt','EDITOR_STYLES','indexOf','comments','fetch','then','getCommentThreads','TrackChanges','DateTimeFormat','CommentsRepository','getSuggestions','users','authorId','isResolved','460890jvRiIH','collaboration_features','from','push',':root','join','length','184ESevvT','plugins','text','410977KQqCpk','resolvedOptions','Users','data-cke','has','author','suggestions','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.','cssRules','styleSheets','2332169zfyDfD','comment_threads','map'];_0xf5d8=function(){return _0x4c2948;};return _0xf5d8();}export function getComments(_0x24f8b1){const _0x26c853=_0xcd32,_0x352aee={};if(!_0x24f8b1[_0x26c853(0x183)])return _0x352aee;for(const _0x546875 of _0x24f8b1)_0x546875[_0x26c853(0x172)][_0x26c853(0x193)](_0x4d91b2=>{const _0x4f5178=_0x26c853;void 0x0===_0x352aee[_0x546875['id']]&&(_0x352aee[_0x546875['id']]=[]),_0x352aee[_0x546875['id']][_0x4f5178(0x180)]({'author':_0x4d91b2[_0x4f5178(0x18c)][_0x4f5178(0x194)],'content':_0x4d91b2[_0x4f5178(0x19d)],'created':_0x4d91b2[_0x4f5178(0x1a8)],'is_resolved':_0x546875[_0x4f5178(0x17c)]});});return _0x352aee;}function _0xcd32(_0x515584,_0x43c72a){const _0xf5d8d7=_0xf5d8();return _0xcd32=function(_0xcd32fb,_0xe9d231){_0xcd32fb=_0xcd32fb-0x172;let _0x35ead9=_0xf5d8d7[_0xcd32fb];return _0x35ead9;},_0xcd32(_0x515584,_0x43c72a);}export function getSuggestions(_0x4485ca,_0xf73901){const _0x319f1d=_0xcd32,_0x542002={};if(!_0x4485ca[_0x319f1d(0x183)]||!_0xf73901[_0x319f1d(0x183)])return _0x542002;for(const _0x23d1f2 of _0x4485ca)_0x542002[_0x23d1f2['id']]={'author':_0xf73901[_0x319f1d(0x1a6)](_0x23d1f2[_0x319f1d(0x17b)])[_0x319f1d(0x194)],'created':_0x23d1f2[_0x319f1d(0x1a8)]};return _0x542002;}export function getConverterOptionsV2(_0x2b91a3){const _0x52e40d=_0xcd32,_0x53094b=_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x18b)](_0x52e40d(0x189)),_0x3efa44=_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x18b)](_0x52e40d(0x178)),_0x2cb64e=_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x18b)](_0x52e40d(0x176)),_0x3fd01e={},_0x585008={};if(_0x53094b&&_0x3efa44){const _0x1cb4ff=getCommentsV2(_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x1a6)](_0x52e40d(0x178))[_0x52e40d(0x175)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x1cb4ff[_0x52e40d(0x183)]&&(_0x585008[_0x52e40d(0x192)]=_0x1cb4ff);}if(_0x53094b&&_0x2cb64e){const _0x5194d9=_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x1a6)](_0x52e40d(0x176)),_0x4b223a=_0x2b91a3[_0x52e40d(0x185)][_0x52e40d(0x1a6)](_0x52e40d(0x189)),_0x58d88f=getSuggestionsV2(_0x5194d9[_0x52e40d(0x179)]({'toJSON':!0x0}),_0x4b223a[_0x52e40d(0x17a)]);_0x58d88f[_0x52e40d(0x183)]&&(_0x585008[_0x52e40d(0x18d)]=_0x58d88f);}return(_0x585008[_0x52e40d(0x192)]||_0x585008[_0x52e40d(0x18d)])&&(_0x3fd01e[_0x52e40d(0x19e)]=new Intl[(_0x52e40d(0x177))]()[_0x52e40d(0x188)]()[_0x52e40d(0x195)],_0x3fd01e[_0x52e40d(0x17e)]=_0x585008),_0x3fd01e;}export function getCommentsV2(_0x5106c1){const _0x1a1b46=_0xcd32,_0x2d8627=[];if(!_0x5106c1[_0x1a1b46(0x183)])return _0x2d8627;for(const _0x1a74e1 of _0x5106c1){const _0x407d0f=_0x1a74e1[_0x1a1b46(0x172)][_0x1a1b46(0x193)](_0x5d035e=>({'author':_0x5d035e[_0x1a1b46(0x18c)][_0x1a1b46(0x194)],'content':_0x5d035e[_0x1a1b46(0x19d)],'created_at':_0x5d035e[_0x1a1b46(0x1a8)]}));_0x2d8627[_0x1a1b46(0x180)]({'thread_id':_0x1a74e1['id'],'is_resolved':_0x1a74e1[_0x1a1b46(0x17c)],'comments':_0x407d0f});}return _0x2d8627;}export function getSuggestionsV2(_0x511a44,_0x42b1cf){const _0x5635c5=_0xcd32;return _0x511a44[_0x5635c5(0x183)]&&_0x42b1cf[_0x5635c5(0x183)]?_0x511a44[_0x5635c5(0x193)](_0x48b417=>({'id':_0x48b417['id'],'author':_0x42b1cf[_0x5635c5(0x1a6)](_0x48b417[_0x5635c5(0x17b)])[_0x5635c5(0x194)],'created_at':_0x48b417[_0x5635c5(0x1a8)]})):[];}
|