@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231227.0 → 0.0.0-nightly-20231228.0
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/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231228.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231228.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231228.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47ab=['_isEnabledBasedOnSelection','model','get','refresh','track-changes-accept-suggestion-not-found','_suggestions','editor'];(function(_0x4880da,_0x47ab44){const _0x57f820=function(_0x32ba99){while(--_0x32ba99){_0x4880da['push'](_0x4880da['shift']());}};_0x57f820(++_0x47ab44);}(_0x47ab,0x194));const _0x57f8=function(_0x4880da,_0x47ab44){_0x4880da=_0x4880da-0x0;let _0x57f820=_0x47ab[_0x4880da];return _0x57f820;};import{Command as _0x4c6f6e}from'ckeditor5/src/core.js';import{CKEditorError as _0x522e1e}from'ckeditor5/src/utils.js';export default class $ extends _0x4c6f6e{constructor(_0x59caed,_0x581b16){super(_0x59caed),this[_0x57f8('0x0')]=_0x581b16,this[_0x57f8('0x5')](),this[_0x57f8('0x2')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x4f2717){const _0x64fdfa=this[_0x57f8('0x0')][_0x57f8('0x4')](_0x4f2717);if(!_0x64fdfa)throw new _0x522e1e(_0x57f8('0x6'),this);const _0x3941ec=_0x64fdfa['getRanges']();this[_0x57f8('0x1')][_0x57f8('0x3')]['canEditAt'](_0x3941ec)&&this[_0x57f8('0x1')]['plugins'][_0x57f8('0x4')]('TrackChangesEditing')['acceptSuggestion'](_0x64fdfa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25a3=['_isEnabledBasedOnSelection','refresh','TrackChangesEditing','discardSuggestion','track-changes-discard-suggestion-not-found','get','getRanges','isEnabled','editor','_suggestions','plugins','model'];(function(_0x4c74ca,_0x25a301){const _0x1bf101=function(_0xd0b691){while(--_0xd0b691){_0x4c74ca['push'](_0x4c74ca['shift']());}};_0x1bf101(++_0x25a301);}(_0x25a3,0x1a5));const _0x1bf1=function(_0x4c74ca,_0x25a301){_0x4c74ca=_0x4c74ca-0x0;let _0x1bf101=_0x25a3[_0x4c74ca];return _0x1bf101;};import{Command as _0x20a045}from'ckeditor5/src/core.js';import{CKEditorError as _0x41ccc7}from'ckeditor5/src/utils.js';export default class B extends _0x20a045{constructor(_0x45081b,_0x56ed2c){super(_0x45081b),this[_0x1bf1('0x8')]=_0x56ed2c,this[_0x1bf1('0x0')](),this[_0x1bf1('0xb')]=!0x1;}['refresh'](){this[_0x1bf1('0x6')]=!0x0;}['execute'](_0x519157){const _0x36b569=this['_suggestions']['get'](_0x519157);if(!_0x36b569)throw new _0x41ccc7(_0x1bf1('0x3'),this);const _0xf6aaa1=_0x36b569[_0x1bf1('0x5')]();this[_0x1bf1('0x7')][_0x1bf1('0xa')]['canEditAt'](_0xf6aaa1)&&this[_0x1bf1('0x7')][_0x1bf1('0x9')][_0x1bf1('0x4')](_0x1bf1('0x1'))[_0x1bf1('0x2')](_0x36b569);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17c6=['isEnabled','editor','_command','getRanges','canEditAt','_isEnabledBasedOnSelection','values','isInContent','refresh','model','_suggestions','execute'];(function(_0x3f31ba,_0x17c65f){const _0x555482=function(_0x2b63d1){while(--_0x2b63d1){_0x3f31ba['push'](_0x3f31ba['shift']());}};_0x555482(++_0x17c65f);}(_0x17c6,0x16d));const _0x5554=function(_0x3f31ba,_0x17c65f){_0x3f31ba=_0x3f31ba-0x0;let _0x555482=_0x17c6[_0x3f31ba];return _0x555482;};import{Command as _0x40cd8e}from'ckeditor5/src/core.js';import{sortSuggestions as _0x36de0e,executeCommandForSuggestions as _0x5466bc}from'../utils/utils.js';export default class x extends _0x40cd8e{constructor(_0x59a289,_0x1818bd,_0x2d4288){super(_0x59a289),this['_command']=_0x1818bd,this[_0x5554('0x5')]=_0x2d4288,this[_0x5554('0x3')](),this[_0x5554('0x0')]=!0x1;}[_0x5554('0x3')](){const _0x31c5d9=Array['from'](this[_0x5554('0x5')][_0x5554('0x1')]())['some'](_0x7fc1c5=>_0x7fc1c5[_0x5554('0x2')]);this[_0x5554('0x7')]=this[_0x5554('0x9')][_0x5554('0x7')]&&_0x31c5d9;}[_0x5554('0x6')](){const _0x1dfec0=_0x36de0e(Array['from'](this[_0x5554('0x5')][_0x5554('0x1')]()));for(const _0xa0873e of _0x1dfec0){const _0x4a8010=_0xa0873e[_0x5554('0xa')]();if(!this['editor']['model'][_0x5554('0xb')](_0x4a8010))return;}_0x5466bc(this[_0x5554('0x8')][_0x5554('0x4')],this['_command'],_0x1dfec0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27dd=['canEditAt','from','editor','model','_command','_suggestions','refresh','_selectedSuggestions','isEnabled','execute','_isEnabledBasedOnSelection'];(function(_0x5e6dfe,_0x27dda9){const _0x311c89=function(_0x4a6608){while(--_0x4a6608){_0x5e6dfe['push'](_0x5e6dfe['shift']());}};_0x311c89(++_0x27dda9);}(_0x27dd,0x1f1));const _0x311c=function(_0x5e6dfe,_0x27dda9){_0x5e6dfe=_0x5e6dfe-0x0;let _0x311c89=_0x27dd[_0x5e6dfe];return _0x311c89;};import{Command as _0x5777d0}from'ckeditor5/src/core.js';import{sortSuggestions as _0x5ce344,getSelectedSuggestions as _0x742782,executeCommandForSuggestions as _0x532bd0}from'../utils/utils.js';export default class E extends _0x5777d0{constructor(_0x561b40,_0x1ed0d4,_0x10ccee){super(_0x561b40),this[_0x311c('0x2')]=_0x1ed0d4,this[_0x311c('0x3')]=_0x10ccee,this[_0x311c('0x5')]=new Set(),this['refresh'](),this[_0x311c('0x8')]=!0x1;}[_0x311c('0x4')](){const _0x1f14ed=this['editor'][_0x311c('0x1')]['document']['selection'],_0x34f345=Array['from'](this[_0x311c('0x3')]['values']());this[_0x311c('0x5')]=_0x742782(_0x1f14ed,_0x34f345),this[_0x311c('0x6')]=this[_0x311c('0x2')]['isEnabled']&&!!this[_0x311c('0x5')]['size'];}[_0x311c('0x7')](){const _0x41eb99=_0x5ce344(Array[_0x311c('0xa')](this[_0x311c('0x5')]));for(const _0x48fba7 of _0x41eb99){const _0x27193e=_0x48fba7['getRanges']();if(!this['editor'][_0x311c('0x1')][_0x311c('0x9')](_0x27193e))return;}_0x532bd0(this[_0x311c('0x0')][_0x311c('0x1')],this['_command'],_0x41eb99);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1640=['has','affectsData','clearForceDisabled','_enableCommands','_enabledCommands','execute','_isEnabledBasedOnSelection','TrackChangesCommand','refresh','editor','commands','value'];(function(_0x380aba,_0x164044){const _0x35439d=function(_0x1eda86){while(--_0x1eda86){_0x380aba['push'](_0x380aba['shift']());}};_0x35439d(++_0x164044);}(_0x1640,0x14f));const _0x3543=function(_0x380aba,_0x164044){_0x380aba=_0x380aba-0x0;let _0x35439d=_0x1640[_0x380aba];return _0x35439d;};import{Command as _0xab4ee1}from'ckeditor5/src/core.js';export default class M extends _0xab4ee1{constructor(_0x44f366,_0x1d0476){super(_0x44f366),this[_0x3543('0x5')]=_0x1d0476,this[_0x3543('0x0')]=!0x1,this[_0x3543('0x9')](),this[_0x3543('0x7')]=!0x1;}[_0x3543('0x9')](){this['isEnabled']=!0x0;}[_0x3543('0x6')](){this[_0x3543('0x0')]=!this[_0x3543('0x0')],this[_0x3543('0x0')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x3177a5 of this['editor']['commands'][_0x3543('0xb')]())_0x3177a5[_0x3543('0x2')]&&!this[_0x3543('0x5')]['has'](_0x3177a5)&&_0x3177a5['forceDisabled'](_0x3543('0x8'));}[_0x3543('0x4')](){for(const _0x43f170 of this[_0x3543('0xa')][_0x3543('0xb')]['commands']())_0x43f170[_0x3543('0x2')]&&!this['_enabledCommands'][_0x3543('0x1')](_0x43f170)&&_0x43f170[_0x3543('0x3')](_0x3543('0x8'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3065=['commands','enableCommand','TrackChangesEditing','showAIAssistant','afterInit','plugins','get','editor'];(function(_0x17f949,_0x3065f8){const _0xc9a61b=function(_0x3f4cb4){while(--_0x3f4cb4){_0x17f949['push'](_0x17f949['shift']());}};_0xc9a61b(++_0x3065f8);}(_0x3065,0xc8));const _0xc9a6=function(_0x17f949,_0x3065f8){_0x17f949=_0x17f949-0x0;let _0xc9a61b=_0x3065[_0x17f949];return _0xc9a61b;};import{Plugin as _0x8a8646}from'ckeditor5/src/core.js';export default class R extends _0x8a8646{[_0xc9a6('0x4')](){const _0x4e8ac4=this[_0xc9a6('0x7')],_0x402dc3=_0x4e8ac4[_0xc9a6('0x5')][_0xc9a6('0x6')](_0xc9a6('0x2'));_0x4e8ac4[_0xc9a6('0x0')]['get'](_0xc9a6('0x3'))&&_0x402dc3[_0xc9a6('0x1')](_0xc9a6('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x563a=['plugins','right','locale','commandName','_registerLegacyDescription','center','left','type','value','FORMAT_ALIGN_TO_RIGHT','format','commandParams','alignment','AlignmentEditing','_enableDefaultAttributesIntegration','editor','registerAttributeLabel','get','registerDescriptionCallback','FORMAT_ALIGN_TO_CENTER'];(function(_0x5a308f,_0x563aa9){const _0x5f3285=function(_0x55bfc3){while(--_0x55bfc3){_0x5a308f['push'](_0x5a308f['shift']());}};_0x5f3285(++_0x563aa9);}(_0x563a,0x1df));const _0x5f32=function(_0x5a308f,_0x563aa9){_0x5a308f=_0x5a308f-0x0;let _0x5f3285=_0x563a[_0x5a308f];return _0x5f3285;};import{Plugin as _0x236684}from'ckeditor5/src/core.js';import{getTranslation as _0xc56e37}from'../utils/common-translations.js';export default class U extends _0x236684{['afterInit'](){const _0x5ba28f=this[_0x5f32('0x10')],_0x4703c5=_0x5ba28f['locale'];if(!_0x5ba28f[_0x5f32('0x1')]['has'](_0x5f32('0xe')))return;const _0x59c464=_0x5ba28f[_0x5f32('0x1')]['get']('TrackChangesEditing');_0x59c464[_0x5f32('0xf')](_0x5f32('0xd'),[],[_0x5f32('0xd')]),_0x59c464['_descriptionFactory'][_0x5f32('0x11')](_0x5f32('0xd'),_0xc56e37(_0x4703c5,'FORMAT_ALIGNMENT')),this[_0x5f32('0x5')]();}[_0x5f32('0x5')](){const _0x29664e=this[_0x5f32('0x10')],_0x4afced=_0x29664e[_0x5f32('0x3')];_0x29664e['plugins'][_0x5f32('0x12')]('TrackChangesEditing')['_descriptionFactory'][_0x5f32('0x13')](_0x8daf3b=>{if('formatBlock'!=_0x8daf3b[_0x5f32('0x8')])return;const {data:_0x3a6ca4}=_0x8daf3b;if(_0x3a6ca4&&_0x5f32('0xd')==_0x3a6ca4[_0x5f32('0x4')]){const _0x3724c6=_0x3a6ca4[_0x5f32('0xc')][0x0][_0x5f32('0x9')];return{'type':_0x5f32('0xb'),'content':_0xc56e37(_0x4afced,'*Format:*\x20%0',function(_0x44256b){switch(_0x44256b){case _0x5f32('0x7'):return _0xc56e37(_0x4afced,'FORMAT_ALIGN_TO_LEFT');case _0x5f32('0x2'):return _0xc56e37(_0x4afced,_0x5f32('0xa'));case _0x5f32('0x6'):return _0xc56e37(_0x4afced,_0x5f32('0x0'));case'justify':return _0xc56e37(_0x4afced,'FORMAT_JUSTIFY_TEXT');}}(_0x3724c6))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43f4=['plugins','StrikethroughEditing','FORMAT_','toLowerCase','underline','FORMAT_SUPERSCRIPT','italic','format','*Remove\x20format:*\x20%0','forceValue','FORMAT_UNDERLINE','ItalicEditing','UnderlineEditing','locale','get','FORMAT_ITALIC','BoldEditing','_enableDefaultAttributesIntegration','CodeEditing','FORMAT_STRIKETHROUGH','superscript','has','registerDescriptionCallback','registerAttributeLabel','FORMAT_BOLD','*Format:*\x20%0','TrackChangesEditing','_descriptionFactory','commandParams','formatInline','_registerLegacyDescription','bold','FORMAT_CODE','type','editor','slice'];(function(_0x5f20d0,_0x43f4d2){const _0xfd6064=function(_0x1d1470){while(--_0x1d1470){_0x5f20d0['push'](_0x5f20d0['shift']());}};_0xfd6064(++_0x43f4d2);}(_0x43f4,0x1f3));const _0xfd60=function(_0x5f20d0,_0x43f4d2){_0x5f20d0=_0x5f20d0-0x0;let _0xfd6064=_0x43f4[_0x5f20d0];return _0xfd6064;};import{Plugin as _0x4e15e9}from'ckeditor5/src/core.js';import{getTranslation as _0x161208}from'../utils/common-translations.js';const ti=[_0xfd60('0x15'),_0xfd60('0x10'),_0xfd60('0x11'),_0xfd60('0x17'),_0xfd60('0x6'),'SubscriptEditing','SuperscriptEditing'];export default class O extends _0x4e15e9{['afterInit'](){const _0x4b6659=this[_0xfd60('0x3')],_0xacd079=_0x4b6659[_0xfd60('0x5')][_0xfd60('0x13')](_0xfd60('0x1f')),_0xf30e48=_0x4b6659[_0xfd60('0x12')];for(const _0x1bc886 of ti){if(!_0x4b6659[_0xfd60('0x5')][_0xfd60('0x1a')](_0x1bc886))continue;const _0x2a3389=_0x1bc886[_0xfd60('0x4')](0x0,-0x7)[_0xfd60('0x8')](),_0x512ec7=_0xfd60('0x7')+_0x2a3389['toUpperCase']();_0xacd079[_0xfd60('0x16')](_0x2a3389,[_0x2a3389]),_0xacd079[_0xfd60('0x20')][_0xfd60('0x1c')](_0x2a3389,_0x161208(_0xf30e48,_0x512ec7));}this[_0xfd60('0x23')]();}[_0xfd60('0x23')](){const _0x1d0d25=this[_0xfd60('0x3')],_0x4f840e=_0x1d0d25[_0xfd60('0x12')],_0x1da0fb=_0x1d0d25[_0xfd60('0x5')][_0xfd60('0x13')](_0xfd60('0x1f'));function _0x1e56f9(_0x40f321,_0x226e96){_0x1da0fb[_0xfd60('0x20')][_0xfd60('0x1b')](_0x419666=>{if(_0xfd60('0x22')!=_0x419666[_0xfd60('0x2')])return;const {data:_0x401de8}=_0x419666;return _0x401de8&&_0x401de8['commandName']===_0x40f321?_0x401de8[_0xfd60('0x21')][0x0][_0xfd60('0xe')]?{'type':'format','content':_0x161208(_0x4f840e,_0xfd60('0x1e'),_0x226e96)}:{'type':_0xfd60('0xc'),'content':_0x161208(_0x4f840e,_0xfd60('0xd'),_0x226e96)}:void 0x0;});}_0x1e56f9(_0xfd60('0x0'),_0x161208(_0x4f840e,_0xfd60('0x1d'))),_0x1e56f9(_0xfd60('0xb'),_0x161208(_0x4f840e,_0xfd60('0x14'))),_0x1e56f9(_0xfd60('0x9'),_0x161208(_0x4f840e,_0xfd60('0xf'))),_0x1e56f9('code',_0x161208(_0x4f840e,_0xfd60('0x1'))),_0x1e56f9('strikethrough',_0x161208(_0x4f840e,_0xfd60('0x18'))),_0x1e56f9('subscript',_0x161208(_0x4f840e,'FORMAT_SUBSCRIPT')),_0x1e56f9(_0xfd60('0x19'),_0x161208(_0x4f840e,_0xfd60('0xa')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b88=['commandName','TrackChangesEditing','schema','commandParams','filter','parent','locale','editor','forceValue','commands','getSelectedBlocks','document','markBlockFormat','name','$root','checkChild','blockQuote','registerDescriptionCallback','_descriptionFactory','ELEMENT_BLOCK_QUOTE','from','has','get','*Set\x20format:*\x20%0','plugins','model','selection'];(function(_0x26e170,_0x1b883e){const _0x833fce=function(_0x518dd6){while(--_0x518dd6){_0x26e170['push'](_0x26e170['shift']());}};_0x833fce(++_0x1b883e);}(_0x1b88,0x107));const _0x833f=function(_0x26e170,_0x1b883e){_0x26e170=_0x26e170-0x0;let _0x833fce=_0x1b88[_0x26e170];return _0x833fce;};import{Plugin as _0x51c8bc}from'ckeditor5/src/core.js';import{getTranslation as _0x3bbb7c}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x3e95b3}from'../utils/utils.js';export default class V extends _0x51c8bc{['afterInit'](){const _0x3943a4=this[_0x833f('0xe')],_0x192333=_0x3943a4[_0x833f('0xd')];if(!_0x3943a4[_0x833f('0x4')][_0x833f('0x1')]('BlockQuoteEditing'))return;const _0x3f0d5c=_0x3943a4[_0x833f('0x4')]['get'](_0x833f('0x8')),_0x1b5234=this['editor'][_0x833f('0x10')][_0x833f('0x2')](_0x833f('0x17'));_0x3f0d5c['enableCommand'](_0x833f('0x17'),(_0x389bcf,_0x20c624={})=>{const _0x2aa4b5=this[_0x833f('0xe')][_0x833f('0x5')][_0x833f('0x12')][_0x833f('0x6')],_0x46cc65=_0x20c624&&void 0x0!==_0x20c624[_0x833f('0xf')]?_0x20c624[_0x833f('0xf')]:!_0x1b5234['value'];let _0x250433=[];if(_0x46cc65){const _0x65a72=Array['from'](_0x2aa4b5['getSelectedBlocks']())[_0x833f('0xb')](_0x32077f=>oo(_0x32077f)||function(_0x16dad8,_0x8832f){const _0xb131b2=_0x8832f['checkChild'](_0x16dad8[_0x833f('0xc')],'blockQuote'),_0x2d35b9=_0x8832f[_0x833f('0x16')]([_0x833f('0x15'),'blockQuote'],_0x16dad8);return _0xb131b2&&_0x2d35b9;}(_0x32077f,this[_0x833f('0xe')]['model'][_0x833f('0x9')]));_0x250433=_0x3e95b3(_0x65a72,_0x3943a4['model']);}else{const _0x4b9c28=Array[_0x833f('0x0')](_0x2aa4b5[_0x833f('0x11')]())[_0x833f('0xb')](_0x18064e=>oo(_0x18064e));_0x250433=_0x3e95b3(_0x4b9c28,_0x3943a4[_0x833f('0x5')]);}_0x3943a4[_0x833f('0x5')]['change'](()=>{for(const _0x4c2474 of _0x250433)_0x3f0d5c[_0x833f('0x13')](_0x4c2474,{'commandName':_0x833f('0x17'),'commandParams':[{'forceValue':_0x46cc65}]});});}),_0x3f0d5c[_0x833f('0x19')][_0x833f('0x18')](_0x2bae8c=>{const {data:_0x69a8e3}=_0x2bae8c;if(_0x69a8e3&&_0x833f('0x17')==_0x69a8e3[_0x833f('0x7')]){const _0x42d1d4=_0x3bbb7c(_0x192333,_0x833f('0x1a'));return _0x69a8e3[_0x833f('0xa')][0x0][_0x833f('0xf')]?{'type':'format','content':_0x3bbb7c(_0x192333,_0x833f('0x3'),_0x42d1d4)}:{'type':'format','content':_0x3bbb7c(_0x192333,'*Remove\x20format:*\x20%0',_0x42d1d4)};}});}}function oo(_0x2959ff){return _0x833f('0x17')==_0x2959ff[_0x833f('0xc')][_0x833f('0x14')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ee5=['ckbox','enableCommand','commands','afterInit','TrackChangesEditing','editor','plugins'];(function(_0x16f724,_0x1ee5b1){const _0x2d858b=function(_0x46129d){while(--_0x46129d){_0x16f724['push'](_0x16f724['shift']());}};_0x2d858b(++_0x1ee5b1);}(_0x1ee5,0xc4));const _0x2d85=function(_0x16f724,_0x1ee5b1){_0x16f724=_0x16f724-0x0;let _0x2d858b=_0x1ee5[_0x16f724];return _0x2d858b;};import{Plugin as _0x488935}from'ckeditor5/src/core.js';export default class G extends _0x488935{[_0x2d85('0x3')](){const _0x4dbb25=this[_0x2d85('0x5')];_0x4dbb25[_0x2d85('0x2')]['get'](_0x2d85('0x0'))&&_0x4dbb25[_0x2d85('0x6')]['get'](_0x2d85('0x4'))[_0x2d85('0x1')](_0x2d85('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf8fa=['find','enableCommand','has','TrackChangesEditing','selection','plugins','outdentCodeBlock','filter','change','config','commandName','locale','formatBlock','codeBlock','value','ELEMENT_CODE_BLOCK','get','toLowerCase','parent','from','isLimit','forceValue','CodeBlock','*Set\x20format:*\x20%0','commandParams','markBlockFormat','language','blockName','registerDescriptionCallback','afterInit','rootElement','_descriptionFactory','checkChild','type','document','commands','editor','indentCodeBlock','schema','getSelectedBlocks','format'];(function(_0x56715b,_0xf8fa61){const _0x11e323=function(_0x327a41){while(--_0x327a41){_0x56715b['push'](_0x56715b['shift']());}};_0x11e323(++_0xf8fa61);}(_0xf8fa,0x1cf));const _0x11e3=function(_0x56715b,_0xf8fa61){_0x56715b=_0x56715b-0x0;let _0x11e323=_0xf8fa[_0x56715b];return _0x11e323;};import{Plugin as _0x557342}from'ckeditor5/src/core.js';import{getTranslation as _0x4c7fbb}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x4726db}from'../utils/utils.js';export default class F extends _0x557342{[_0x11e3('0x11')](){const _0x1b0e5b=this[_0x11e3('0x18')];if(!_0x1b0e5b[_0x11e3('0x22')][_0x11e3('0x1f')](_0x11e3('0xa')))return;const _0x28e13e=_0x1b0e5b['plugins'][_0x11e3('0x4')](_0x11e3('0x20')),_0x3dc9a6=_0x1b0e5b[_0x11e3('0x28')],_0x5adc38=_0x1b0e5b[_0x11e3('0x26')][_0x11e3('0x4')](_0x11e3('0x1'))['languages'],_0x44b03a=_0x1b0e5b[_0x11e3('0x17')][_0x11e3('0x4')]('codeBlock');_0x28e13e[_0x11e3('0x1e')](_0x11e3('0x19')),_0x28e13e['enableCommand'](_0x11e3('0x23')),_0x28e13e[_0x11e3('0x1e')]('codeBlock',(_0x22f0e0,_0x51474e={})=>{const _0x16fdf5=_0x1b0e5b['model'],_0x22f824=_0x1b0e5b['model'][_0x11e3('0x16')][_0x11e3('0x21')],_0x25df6f=_0x51474e&&void 0x0!==_0x51474e[_0x11e3('0x9')]?_0x51474e['forceValue']:!_0x44b03a[_0x11e3('0x2')];let _0x4d0056;_0x51474e[_0x11e3('0xe')]||(_0x51474e[_0x11e3('0xe')]=_0x5adc38[0x0][_0x11e3('0xe')]),_0x4d0056=_0x25df6f?Array['from'](_0x22f824['getSelectedBlocks']())['filter'](_0x46fd0d=>eo(_0x46fd0d)||function(_0x2f51c8,_0x3a24db){if(_0x2f51c8['is'](_0x11e3('0x12'))||_0x3a24db[_0x11e3('0x8')](_0x2f51c8))return!0x1;return _0x3a24db[_0x11e3('0x14')](_0x2f51c8[_0x11e3('0x6')],_0x11e3('0x1'));}(_0x46fd0d,_0x16fdf5[_0x11e3('0x1a')])):Array[_0x11e3('0x7')](_0x22f824[_0x11e3('0x1b')]())[_0x11e3('0x24')](_0x397983=>eo(_0x397983));const _0x54b681=_0x4726db(_0x4d0056,_0x16fdf5);_0x16fdf5[_0x11e3('0x25')](()=>{for(const _0x503a30 of _0x54b681)_0x28e13e[_0x11e3('0xd')](_0x503a30,{'commandName':'codeBlock','commandParams':[{..._0x51474e,'forceValue':_0x25df6f}],'formatGroupId':_0x11e3('0xf')});});}),(_0x28e13e[_0x11e3('0x13')]['registerElementLabel'](_0x11e3('0x1'),_0x4e487f=>_0x4c7fbb(_0x3dc9a6,_0x11e3('0x3'),_0x4e487f)),_0x28e13e['_descriptionFactory'][_0x11e3('0x10')](_0x52e332=>{if(_0x11e3('0x0')!=_0x52e332[_0x11e3('0x15')])return;const _0x2fdbad=_0x3dc9a6['t'],{data:_0x1b8244}=_0x52e332;if(!_0x1b8244||'codeBlock'!=_0x1b8244[_0x11e3('0x27')])return;const _0x642128=_0x1b8244['commandParams'][0x0][_0x11e3('0xe')],_0x47b4da=_0x2fdbad(_0x5adc38[_0x11e3('0x1d')](_0x5063cc=>_0x5063cc['language']===_0x642128)['label'])[_0x11e3('0x5')]();return _0x1b8244[_0x11e3('0xc')][0x0][_0x11e3('0x9')]?{'type':_0x11e3('0x1c'),'content':_0x4c7fbb(_0x3dc9a6,_0x11e3('0xb'),_0x4c7fbb(_0x3dc9a6,_0x11e3('0x3'),0x1)+'\x20('+_0x47b4da+')')}:{'type':'format','content':_0x4c7fbb(_0x3dc9a6,'*Remove\x20format:*\x20%0',_0x4c7fbb(_0x3dc9a6,_0x11e3('0x3'),0x1))};}));}}function eo(_0x3bfa23){return'codeBlock'==_0x3bfa23['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c56=['has','get','enableCommand','afterInit','editor','TrackChangesEditing'];(function(_0x287497,_0x1c5695){const _0x4ed866=function(_0x519d9b){while(--_0x519d9b){_0x287497['push'](_0x287497['shift']());}};_0x4ed866(++_0x1c5695);}(_0x1c56,0x10e));const _0x4ed8=function(_0x287497,_0x1c5695){_0x287497=_0x287497-0x0;let _0x4ed866=_0x1c56[_0x287497];return _0x4ed866;};import{Plugin as _0x481308}from'ckeditor5/src/core.js';export default class L extends _0x481308{[_0x4ed8('0x3')](){const _0x12f2bf=this[_0x4ed8('0x4')];if(!_0x12f2bf['plugins'][_0x4ed8('0x0')]('CommentsEditing'))return;_0x12f2bf['plugins'][_0x4ed8('0x1')](_0x4ed8('0x5'))[_0x4ed8('0x2')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4065=['createRange','showSuggestionHighlights','markerName','plugins','requires','fromRange','$graveyard','editing','commands','root','merge','data','forward','editor','addMarker:suggestion:deletion','model','batch','createSelection','selection','buffer','getFirstRange','options','downcastDispatcher','deleteForward','modifySelection','remove','enableCommand','detach','unlock','unbindElementFromMarkerName','mapper','isCollapsed','enqueueChange','init','high','markerNameToElements','start','end','removeMarker:suggestion:deletion','setSelection','get'];(function(_0x32af99,_0x406577){const _0x15d53c=function(_0x160a68){while(--_0x160a68){_0x32af99['push'](_0x32af99['shift']());}};_0x15d53c(++_0x406577);}(_0x4065,0x139));const _0x15d5=function(_0x32af99,_0x406577){_0x32af99=_0x32af99-0x0;let _0x15d53c=_0x4065[_0x32af99];return _0x15d53c;};import{Plugin as _0x460598}from'ckeditor5/src/core.js';import{LiveRange as _0x51e60c}from'ckeditor5/src/engine.js';import{Delete as _0x6d1498}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x1fc1cf}from'./utils.js';export default class H extends _0x460598{static get[_0x15d5('0x13')](){return[_0x6d1498];}[_0x15d5('0x7')](){const _0xe364b7=this[_0x15d5('0x1c')],_0x5b6f25=_0xe364b7[_0x15d5('0x12')][_0x15d5('0xe')]('TrackChangesEditing');_0x5b6f25['enableCommand']('delete');const _0x13cd50=_0xe364b7[_0x15d5('0x17')][_0x15d5('0xe')](_0x15d5('0x26'));_0x5b6f25[_0x15d5('0x0')](_0x15d5('0x26'),(_0x74799,_0x33b197={})=>{const _0x2c9417=_0xe364b7[_0x15d5('0x1e')][_0x15d5('0x20')](_0xe364b7[_0x15d5('0x1e')]['document'][_0x15d5('0x21')]);_0x2c9417[_0x15d5('0x5')]&&_0xe364b7[_0x15d5('0x1e')][_0x15d5('0x27')](_0x2c9417,{'direction':_0x15d5('0x1b'),'unit':_0x33b197['unit']});const _0x879e2=_0x2c9417[_0x15d5('0x23')](),_0x1401c3=_0x51e60c[_0x15d5('0x14')](_0x879e2);let _0x4833d7;_0x74799(_0x33b197),_0x4833d7=_0x15d5('0x15')==_0x1401c3[_0x15d5('0x18')]['rootName']?_0xe364b7[_0x15d5('0x1e')][_0x15d5('0xf')](_0x879e2['start']):_0xe364b7[_0x15d5('0x1e')][_0x15d5('0xf')](_0x1401c3[_0x15d5('0xa')],_0x1401c3[_0x15d5('0xb')]),_0x1401c3[_0x15d5('0x1')](),_0xe364b7[_0x15d5('0x1e')][_0x15d5('0x6')](_0x13cd50[_0x15d5('0x22')][_0x15d5('0x1f')],_0x59cb17=>{_0x13cd50['buffer']['lock'](),_0x59cb17[_0x15d5('0xd')](_0x59cb17[_0x15d5('0xf')](_0x4833d7[_0x15d5('0xb')])),_0x13cd50[_0x15d5('0x22')][_0x15d5('0x2')]();});}),_0xe364b7[_0x15d5('0x16')]['downcastDispatcher']['on'](_0x15d5('0x1d'),_0x1fc1cf(_0xe364b7,_0x15d5('0x19')),{'priority':_0x15d5('0x8')}),_0xe364b7[_0x15d5('0x1a')][_0x15d5('0x25')]['on'](_0x15d5('0x1d'),(_0x36ad55,_0x10c85d,_0x2866ba)=>{_0x2866ba[_0x15d5('0x24')][_0x15d5('0x10')]&&_0x1fc1cf(_0xe364b7,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x36ad55,_0x10c85d,_0x2866ba);},{'priority':'high'}),_0xe364b7[_0x15d5('0x16')][_0x15d5('0x25')]['on'](_0x15d5('0xc'),(_0x5abe6c,_0x18e396,_0x6870e4)=>{const _0x9ac4c5=_0x6870e4['mapper'][_0x15d5('0x9')](_0x18e396[_0x15d5('0x11')]);if(_0x9ac4c5)for(const _0x290dc9 of _0x9ac4c5)_0x290dc9['is']('uiElement')&&(_0x6870e4[_0x15d5('0x4')][_0x15d5('0x3')](_0x290dc9,_0x18e396[_0x15d5('0x11')]),_0x6870e4['writer'][_0x15d5('0x28')](_0x290dc9));},{'priority':_0x15d5('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3970=['deletion','isFirstBlockOfListItem','getSelectedBlocks','ELEMENT_NUMBERED_LIST','plugins','nodeAfter','_descriptionFactory','selection','DocumentListEditing','isObject','formatBlock','refresh','ELEMENT_LIST_ITEM','end','before','*Format:*\x20remove\x20from\x20%0','format','schema','forceValue','add','formatInline','commands','markBlockFormat','get','accept','editor','value','parent','execute','*Change\x20to:*\x20%0','hasAttribute','setSelection','commandParams','outdentList','model','detach','_suggestionFactory','length','commandName','listIndent','push','markMultiRangeBlockFormat','registerDescriptionCallback','mergeListItemForward','*Outdent:*\x20%0','bulletedList','list.multiBlock','from','*Indent:*\x20%0','_LIST','next','findIndex','splitListItemAfter','start','multipleBlocks','change','slice','nextSibling','enableCommand','document','createRange','documentList','paragraph','getFirstRange','numberedList','getAttribute','registerCustomCallback','has','createPositionAt','config','listType','fromRange','listItemId','indentList','DocumentListUtils','ELEMENT_BULLETED_LIST','splitListItemBefore','map','mergeListItemBackward','after'];(function(_0x475755,_0x397025){const _0x5280e3=function(_0x262d5d){while(--_0x262d5d){_0x475755['push'](_0x475755['shift']());}};_0x5280e3(++_0x397025);}(_0x3970,0x18f));const _0x5280=function(_0x475755,_0x397025){_0x475755=_0x475755-0x0;let _0x5280e3=_0x3970[_0x475755];return _0x5280e3;};import{Plugin as _0x4065eb}from'ckeditor5/src/core.js';import{getTranslation as _0x58c139}from'../utils/common-translations.js';import{LiveRange as _0x1a981c}from'ckeditor5/src/engine.js';export default class q extends _0x4065eb{['afterInit'](){const _0x3fd503=this[_0x5280('0x1a')];if(!_0x3fd503[_0x5280('0x5')][_0x5280('0x44')](_0x5280('0x9')))return;const _0x330241=_0x3fd503['locale'],_0x44213f=_0x3fd503[_0x5280('0x5')][_0x5280('0x18')]('TrackChangesEditing'),_0x30387f=_0x3fd503[_0x5280('0x5')][_0x5280('0x18')](_0x5280('0x4b'));function _0x531723(_0x271f85){return()=>{const _0x3e5c67=_0x3fd503[_0x5280('0x16')][_0x5280('0x18')](_0x271f85);if(_0x3e5c67[_0x5280('0x1b')]&&!_0x3fd503[_0x5280('0x46')]['get'](_0x5280('0x2f')))return void _0x3fd503['execute'](_0x5280('0x3f'),{});let _0x23f7e3=Array[_0x5280('0x30')](_0x3fd503[_0x5280('0x23')]['document'][_0x5280('0x8')]['getSelectedBlocks']());if(_0x15ed6b(_0x271f85)){_0x23f7e3=_0x30387f['expandListBlocksToCompleteList'](_0x23f7e3);const _0x149cef=[];for(const _0x26b46b of _0x23f7e3)_0x30387f[_0x5280('0x2')](_0x26b46b)&&_0x149cef[_0x5280('0x29')](_0x26b46b);_0x23f7e3=_0x149cef;}_0x3fd503[_0x5280('0x23')][_0x5280('0x38')](()=>{_0x44213f[_0x5280('0x2a')](_0x23f7e3,{'commandName':_0x271f85,'commandParams':[{'forceValue':!_0x3e5c67[_0x5280('0x1b')]}],'formatGroupId':_0x5280('0x47')},[],'documentList');});};}function _0x4fe9ab(_0x1ec988){return()=>{const _0x133eb5=function(_0x527786){let _0x39fe7c=Array[_0x5280('0x30')](_0x527786);const _0x148360=_0x39fe7c[_0x5280('0x34')](_0x12846d=>!_0x12846d[_0x5280('0x1f')]('listItemId'));return _0x148360>-0x1&&(_0x39fe7c=_0x39fe7c[_0x5280('0x39')](0x0,_0x148360)),_0x39fe7c;}(_0x3fd503[_0x5280('0x23')][_0x5280('0x3c')][_0x5280('0x8')][_0x5280('0x3')]()),_0x49323e=_0x133eb5[_0x133eb5[_0x5280('0x26')]-0x1],_0x85c07f=_0x3fd503[_0x5280('0x23')][_0x5280('0x12')][_0x5280('0xa')](_0x49323e)?_0x5280('0x0'):_0x5280('0xe'),_0xb36d61=_0x3fd503['model'][_0x5280('0x3d')](_0x3fd503['model']['createPositionAt'](_0x133eb5[0x0],_0x5280('0xf')),_0x3fd503[_0x5280('0x23')]['createPositionAt'](_0x49323e,_0x85c07f));_0x3fd503[_0x5280('0x23')][_0x5280('0x38')](()=>{_0x44213f[_0x5280('0x17')](_0xb36d61,{'commandName':_0x1ec988,'commandParams':[],'formatGroupId':_0x5280('0x47')},function(_0x4c317f){const _0x31f83d=new Set();for(const _0xc23e47 of _0x4c317f){let _0x2f9b84=_0xc23e47['nextSibling'];for(;_0x2f9b84&&_0x2f9b84[_0x5280('0x42')](_0x5280('0x28'))>_0xc23e47[_0x5280('0x42')](_0x5280('0x28'));)_0x31f83d[_0x5280('0x14')](_0x2f9b84),_0x2f9b84=_0x2f9b84[_0x5280('0x3a')];}return Array[_0x5280('0x30')](_0x31f83d);}(_0x133eb5));});};}function _0x52cab2(_0x10db78){return()=>{const _0x2810c7=_0x3fd503[_0x5280('0x23')][_0x5280('0x3c')][_0x5280('0x8')][_0x5280('0x3')]()[_0x5280('0x33')]()[_0x5280('0x1b')],_0xd32d84=_0x3fd503[_0x5280('0x23')][_0x5280('0x45')](_0x2810c7,_0x5280('0xf')),_0x2b785a=_0x3fd503['model'][_0x5280('0x45')](_0x2810c7,0x0),_0x529359=_0x3fd503[_0x5280('0x23')][_0x5280('0x3d')](_0xd32d84,_0x2b785a);_0x3fd503['model'][_0x5280('0x38')](()=>{_0x44213f['markBlockFormat'](_0x529359,{'commandName':_0x10db78,'commandParams':[],'formatGroupId':_0x5280('0x47')});});};}function _0x15ed6b(_0x471310){const _0x205f69=_0x3fd503[_0x5280('0x16')]['get']('bulletedList')[_0x5280('0x1b')],_0x2ab5e4=_0x3fd503[_0x5280('0x16')]['get'](_0x5280('0x41'))[_0x5280('0x1b')];return _0x5280('0x41')===_0x471310?_0x205f69:_0x2ab5e4;}_0x44213f['enableCommand'](_0x5280('0x41'),_0x531723('numberedList')),_0x44213f[_0x5280('0x3b')](_0x5280('0x2e'),_0x531723('bulletedList')),_0x44213f['enableCommand'](_0x5280('0x4a'),_0x4fe9ab(_0x5280('0x4a'))),_0x44213f[_0x5280('0x3b')]('outdentList',_0x4fe9ab(_0x5280('0x22'))),_0x44213f['enableCommand'](_0x5280('0x35'),_0x52cab2('splitListItemAfter')),_0x44213f[_0x5280('0x3b')](_0x5280('0x4d'),_0x52cab2(_0x5280('0x4d'))),_0x44213f[_0x5280('0x7')]['registerElementLabel'](function(_0xaacf9b){const _0x249ff8=!_0x3fd503[_0x5280('0x23')][_0x5280('0x12')][_0x5280('0xa')](_0xaacf9b),_0x1b0bcf=_0xaacf9b['previousSibling'],_0x15b2a7=_0xaacf9b[_0x5280('0x3a')],_0x5577d3=_0xaacf9b[_0x5280('0x42')](_0x5280('0x49')),_0x45e4a2=!_0x1b0bcf||_0x1b0bcf[_0x5280('0x42')](_0x5280('0x49'))!==_0x5577d3,_0x50579e=!_0x15b2a7||_0x15b2a7[_0x5280('0x42')]('listItemId')!==_0x5577d3;return _0x249ff8&&Boolean(_0x5577d3)&&_0x45e4a2&&_0x50579e;},_0x23811f=>_0x58c139(_0x330241,_0x5280('0xd'),_0x23811f)),_0x44213f['_descriptionFactory'][_0x5280('0x2b')](function(_0x45bff4){if(_0x5280('0xb')!=_0x45bff4['type']&&_0x5280('0x15')!=_0x45bff4['type'])return;const {data:_0x194f27}=_0x45bff4;if(!_0x194f27)return;let _0x5c822f,_0x15212b,_0x5e7a27,_0x3431ef;switch(_0x194f27['commandName']){case _0x5280('0x2e'):_0x5e7a27=_0x194f27['commandParams'][0x0][_0x5280('0x13')],_0x3431ef=_0x15ed6b(_0x194f27[_0x5280('0x27')]),_0x5c822f=_0x5e7a27?'*Format:*\x20insert\x20into\x20%0':_0x5280('0x10'),!_0x3431ef&&_0x3fd503['config']['get'](_0x5280('0x2f'))||(_0x5c822f=_0x5280('0x1e')),_0x15212b={'type':_0x5280('0x11'),'content':_0x58c139(_0x330241,_0x5c822f,_0x58c139(_0x330241,_0x5280('0x4c')))};break;case _0x5280('0x41'):_0x5e7a27=_0x194f27[_0x5280('0x21')][0x0][_0x5280('0x13')],_0x3431ef=_0x15ed6b(_0x194f27['commandName']),_0x5c822f=_0x5e7a27?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x3431ef&&_0x3fd503[_0x5280('0x46')][_0x5280('0x18')]('list.multiBlock')||(_0x5c822f='*Change\x20to:*\x20%0'),_0x15212b={'type':_0x5280('0x11'),'content':_0x58c139(_0x330241,_0x5c822f,_0x58c139(_0x330241,_0x5280('0x4')))};break;case _0x5280('0x4a'):_0x5c822f=_0x5280('0x31'),_0x15212b={'type':_0x5280('0x11'),'content':_0x58c139(_0x330241,_0x5c822f,_0x58c139(_0x330241,_0x5280('0xd')))};break;case _0x5280('0x22'):_0x5c822f=function(_0x5285e6){const _0x15ba71=_0x5285e6['getFirstRange']();let _0x1b3665=_0x15ba71[_0x5280('0x36')]['nodeAfter'];for(;_0x1b3665&&_0x15ba71['containsItem'](_0x1b3665);){if(_0x1b3665[_0x5280('0x42')](_0x5280('0x28'))>0x0)return!0x1;_0x1b3665=_0x1b3665[_0x5280('0x3a')];}return!0x0;}(_0x45bff4)?_0x58c139(_0x330241,'*Format:*\x20remove\x20from\x20%0',_0x58c139(_0x330241,function(_0x39a4c0){const _0x26c44a=_0x39a4c0[_0x5280('0x40')]()[_0x5280('0x36')][_0x5280('0x6')];return'ELEMENT_'+_0x26c44a[_0x5280('0x42')](_0x5280('0x47'))['toUpperCase']()+_0x5280('0x32');}(_0x45bff4))):_0x58c139(_0x330241,_0x5280('0x2d'),_0x58c139(_0x330241,_0x5280('0xd'))),_0x15212b={'type':_0x5280('0x11'),'content':_0x5c822f};break;case _0x5280('0x4f'):case _0x5280('0x2c'):!0x1===_0x194f27[_0x5280('0x37')]&&(_0x5c822f='*Merge:*\x20%0',_0x15212b={'type':_0x5280('0x1'),'content':_0x58c139(_0x330241,_0x5c822f,_0x58c139(_0x330241,'ELEMENT_LIST_ITEM'))});}return _0x15212b;}),_0x44213f[_0x5280('0x25')][_0x5280('0x43')]('formatBlock',_0x5280('0x3e'),_0x5280('0x19'),function(_0x374f73,_0x33a38a){const _0x52df25=[];for(let _0x112bde of _0x374f73)_0x112bde[_0x5280('0x36')][_0x5280('0x6')]===_0x112bde[_0x5280('0xe')][_0x5280('0x1c')]&&(_0x112bde=_0x3fd503[_0x5280('0x23')][_0x5280('0x3d')](_0x3fd503['model'][_0x5280('0x45')](_0x112bde[_0x5280('0x36')][_0x5280('0x6')],0x0))),_0x52df25[_0x5280('0x29')](_0x112bde);_0x3fd503['model'][_0x5280('0x38')](_0x482eb9=>{const _0x43b499=_0x3fd503['model'][_0x5280('0x3c')][_0x5280('0x8')],_0x960a92=Array['from'](_0x43b499['getRanges']())[_0x5280('0x4e')](_0x2fe406=>_0x1a981c[_0x5280('0x48')](_0x2fe406));_0x482eb9[_0x5280('0x20')](_0x52df25),_0x3fd503[_0x5280('0x16')][_0x5280('0x18')](_0x33a38a[_0x5280('0x27')])[_0x5280('0xc')](),_0x33a38a[_0x5280('0x21')][_0x5280('0x29')]({'forceDefaultExecution':!0x0}),_0x3fd503[_0x5280('0x1d')](_0x33a38a['commandName'],..._0x33a38a[_0x5280('0x21')]),_0x482eb9[_0x5280('0x20')](_0x960a92);for(const _0x2c709c of _0x960a92)_0x2c709c[_0x5280('0x24')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5444=['DocumentListPropertiesEditing','replace','*Change\x20to:*\x20%0','toUpperCase','listStart','config','isListItemBlock','isFirstBlockOfListItem','handleListStartCommand','reversed','listType','editor','markMultiRangeBlockFormat','handleListReversedCommand','*Format:*\x20set\x20order\x20to\x20reversed','bind','DocumentListPropertiesUtils','registerDescriptionCallback','TrackChangesEditing','_getTranslationKeyForListStyle','_getSuggestionBlocks','locale','listStyle','enableCommand','plugins','listReversed','expandListBlocksToCompleteList','_LIST_','list.properties','length','_getSuggestionBlocksForListStyle','commandName','handleListStyleCommand','DocumentListUtils','getSelectedBlocks','numbered','selection','push','type','getListTypeFromListStyleType','commandParams','formatInline','document','change','*Format:*\x20set\x20start\x20index\x20to\x20%0','styles','format','get','startIndex','model','getAttribute'];(function(_0x1d57ed,_0x54448b){const _0x141793=function(_0x7f6fee){while(--_0x7f6fee){_0x1d57ed['push'](_0x1d57ed['shift']());}};_0x141793(++_0x54448b);}(_0x5444,0xdf));const _0x1417=function(_0x1d57ed,_0x54448b){_0x1d57ed=_0x1d57ed-0x0;let _0x141793=_0x5444[_0x1d57ed];return _0x141793;};import{Plugin as _0xca3ae7}from'ckeditor5/src/core.js';import{getTranslation as _0x439024}from'../utils/common-translations.js';export default class z extends _0xca3ae7{['afterInit'](){if(!this[_0x1417('0x2b')][_0x1417('0x5')]['has'](_0x1417('0x20')))return;const _0x5213ff=this[_0x1417('0x2b')][_0x1417('0x25')][_0x1417('0x1c')](_0x1417('0x9')),_0x33d931=this[_0x1417('0x2b')][_0x1417('0x5')]['get']('TrackChangesEditing');_0x5213ff[_0x1417('0x1a')]&&_0x33d931['enableCommand'](_0x1417('0x3'),this[_0x1417('0xd')][_0x1417('0x2f')](this)),_0x5213ff[_0x1417('0x29')]&&_0x33d931[_0x1417('0x4')](_0x1417('0x6'),this[_0x1417('0x2d')]['bind'](this)),_0x5213ff['startIndex']&&_0x33d931[_0x1417('0x4')](_0x1417('0x24'),this[_0x1417('0x28')][_0x1417('0x2f')](this)),_0x33d931['_descriptionFactory'][_0x1417('0x31')](this['handleDescriptions'][_0x1417('0x2f')](this));}[_0x1417('0xd')](_0x1c8888,_0x261193={}){const _0x1b3d71=this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0x32')),_0x91bb7b=this[_0x1417('0xb')]();this[_0x1417('0x2b')][_0x1417('0x1e')][_0x1417('0x18')](()=>{_0x1b3d71['markMultiRangeBlockFormat'](_0x91bb7b,{'commandName':'listStyle','commandParams':[{'type':_0x261193[_0x1417('0x13')]}],'formatGroupId':_0x1417('0x3')});});}[_0x1417('0x2d')](_0x23fc3c,_0x39f20d={}){const _0x35f0c0=this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0x32')),_0x1d1b1b=this[_0x1417('0x2b')]['plugins'][_0x1417('0x1c')]('DocumentListUtils'),_0x3b7f7c=this[_0x1417('0x1')](_0x4d36e5=>_0x1d1b1b[_0x1417('0x26')](_0x4d36e5)&&_0x1417('0x10')===_0x4d36e5[_0x1417('0x1f')](_0x1417('0x2a')));null!==_0x3b7f7c&&this['editor']['model'][_0x1417('0x18')](()=>{_0x35f0c0['markMultiRangeBlockFormat'](_0x3b7f7c,{'commandName':'listReversed','commandParams':[{'reversed':_0x39f20d[_0x1417('0x29')]}],'formatGroupId':_0x1417('0x6')});});}[_0x1417('0x28')](_0x16d09f,_0x159692={}){const _0x28e2a6=this[_0x1417('0x2b')]['plugins'][_0x1417('0x1c')](_0x1417('0x32')),_0x8374b8=this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0xe')),_0x3f2bc0=this[_0x1417('0x1')](_0x5a798e=>_0x8374b8[_0x1417('0x26')](_0x5a798e)&&_0x1417('0x10')===_0x5a798e['getAttribute'](_0x1417('0x2a')));null!==_0x3f2bc0&&this[_0x1417('0x2b')]['model'][_0x1417('0x18')](()=>{_0x28e2a6[_0x1417('0x2c')](_0x3f2bc0,{'commandName':_0x1417('0x24'),'commandParams':[{'startIndex':_0x159692[_0x1417('0x1d')]}],'formatGroupId':_0x1417('0x24')});});}['handleDescriptions'](_0x5ad568){if('formatBlock'!=_0x5ad568[_0x1417('0x13')]&&_0x1417('0x16')!=_0x5ad568['type'])return;const _0x192acc=this[_0x1417('0x2b')][_0x1417('0x2')],{data:_0x52a8d0}=_0x5ad568;if(!_0x52a8d0)return;let _0x1501c8,_0x2c1822;switch(_0x52a8d0[_0x1417('0xc')]){case'listStyle':_0x1501c8=_0x1417('0x22'),_0x2c1822={'type':_0x1417('0x1b'),'content':_0x439024(_0x192acc,_0x1501c8,_0x439024(_0x192acc,this[_0x1417('0x0')](_0x52a8d0[_0x1417('0x15')][0x0][_0x1417('0x13')])))};break;case _0x1417('0x6'):_0x1501c8=_0x52a8d0[_0x1417('0x15')][0x0][_0x1417('0x29')]?_0x1417('0x2e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2c1822={'type':'format','content':_0x439024(_0x192acc,_0x1501c8)};break;case _0x1417('0x24'):_0x1501c8=_0x1417('0x19'),_0x2c1822={'type':_0x1417('0x1b'),'content':_0x439024(_0x192acc,_0x1501c8,_0x52a8d0['commandParams'][0x0][_0x1417('0x1d')])};}return _0x2c1822;}['_getSuggestionBlocksForListStyle'](){const _0x53a94f=this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0xe'));let _0x38f1fb=Array['from'](this[_0x1417('0x2b')][_0x1417('0x1e')][_0x1417('0x17')][_0x1417('0x11')][_0x1417('0xf')]());return _0x38f1fb[_0x1417('0x12')](..._0x53a94f[_0x1417('0x7')](_0x38f1fb)),_0x38f1fb=[...new Set(_0x38f1fb)],_0x38f1fb;}[_0x1417('0x1')](_0x1b95ab){const _0x4fdd48=this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0xe'));let _0x1c5fbe=Array['from'](this[_0x1417('0x2b')][_0x1417('0x1e')]['document'][_0x1417('0x11')][_0x1417('0xf')]())['filter'](_0x1b95ab);if(!_0x1c5fbe[_0x1417('0xa')])return null;_0x1c5fbe=_0x4fdd48[_0x1417('0x7')](_0x1c5fbe);const _0x5b0efa=[];for(const _0x444f39 of _0x1c5fbe)_0x4fdd48[_0x1417('0x27')](_0x444f39)&&_0x5b0efa['push'](_0x444f39);return _0x5b0efa;}[_0x1417('0x0')](_0xc2b6c1){return'ELEMENT_'+this[_0x1417('0x2b')][_0x1417('0x5')][_0x1417('0x1c')](_0x1417('0x30'))[_0x1417('0x14')](_0xc2b6c1)[_0x1417('0x23')]()+_0x1417('0x8')+_0xc2b6c1['toUpperCase']()[_0x1417('0x21')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4104=['end','fromRange','markInsertion','parent','document','downcastDispatcher','enableCommand','editing','remove','model','high','enterBlock','enter','createRange','getFirstRange','selection','editor','createPositionAt','options','plugins','TrackChangesEditing','removeMarker:suggestion:insertion','split','addMarker:suggestion:insertion','init','unbindElementFromMarkerName','change','detach','requires','setSelection','markerNameToElements','mapper','get'];(function(_0x3bb55d,_0x4104b2){const _0x459d86=function(_0x46bafb){while(--_0x46bafb){_0x3bb55d['push'](_0x3bb55d['shift']());}};_0x459d86(++_0x4104b2);}(_0x4104,0x15f));const _0x459d=function(_0x3bb55d,_0x4104b2){_0x3bb55d=_0x3bb55d-0x0;let _0x459d86=_0x4104[_0x3bb55d];return _0x459d86;};import{Plugin as _0x10be8d}from'ckeditor5/src/core.js';import{Enter as _0x2ed113}from'ckeditor5/src/enter.js';import{LiveRange as _0x2e6f93}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x9a537c}from'./utils.js';export default class W extends _0x10be8d{static get[_0x459d('0x7')](){return[_0x2ed113];}[_0x459d('0x3')](){const _0x4aed9f=this[_0x459d('0x1c')],_0x1991cf=_0x4aed9f[_0x459d('0x1f')][_0x459d('0xb')](_0x459d('0x20')),_0x32ed20=_0x4aed9f['commands'][_0x459d('0xb')](_0x459d('0x18'));_0x1991cf[_0x459d('0x12')](_0x459d('0x18'),()=>{_0x4aed9f[_0x459d('0x15')][_0x459d('0x5')](_0x50dc81=>{const _0x9c39d7=_0x4aed9f[_0x459d('0x15')][_0x459d('0x10')][_0x459d('0x1b')],_0x54774f=_0x9c39d7['getFirstPosition'](),_0x4bd1b4=_0x2e6f93[_0x459d('0xd')](_0x9c39d7[_0x459d('0x1a')]());if(_0x32ed20[_0x459d('0x17')](_0x50dc81)){const _0x7aab30=_0x4aed9f[_0x459d('0x15')][_0x459d('0x1d')](_0x54774f[_0x459d('0xf')]['nextSibling'],0x0),_0x442d44=_0x50dc81['createRange'](_0x54774f,_0x7aab30);_0x1991cf[_0x459d('0xe')](_0x442d44);}else _0x50dc81[_0x459d('0x8')](_0x50dc81[_0x459d('0x19')](_0x4bd1b4[_0x459d('0xc')]));_0x4bd1b4[_0x459d('0x6')](),_0x32ed20['fire']('afterExecute',{'writer':_0x50dc81});});}),_0x4aed9f[_0x459d('0x13')][_0x459d('0x11')]['on'](_0x459d('0x2'),_0x9a537c(_0x4aed9f,_0x459d('0x1')),{'priority':'high'}),_0x4aed9f[_0x459d('0x13')][_0x459d('0x11')]['on'](_0x459d('0x0'),(_0x10f046,_0x171921,_0x4d28c2)=>{const _0x24c9a9=_0x4d28c2[_0x459d('0xa')][_0x459d('0x9')](_0x171921['markerName']);if(_0x24c9a9)for(const _0x1fd29b of _0x24c9a9)_0x1fd29b['hasClass']('ck-suggestion-marker-split')&&(_0x4d28c2[_0x459d('0xa')][_0x459d('0x4')](_0x1fd29b,_0x171921['markerName']),_0x4d28c2['writer'][_0x459d('0x14')](_0x1fd29b));},{'priority':_0x459d('0x16')}),_0x4aed9f['data'][_0x459d('0x11')]['on']('addMarker:suggestion:insertion',(_0x5d265f,_0x48e641,_0x2e74ed)=>{_0x2e74ed[_0x459d('0x1e')]['showSuggestionHighlights']&&_0x9a537c(_0x4aed9f,_0x459d('0x1'),{'showActiveMarker':!0x1})['bind'](this)(_0x5d265f,_0x48e641,_0x2e74ed);},{'priority':_0x459d('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d33=['bind','item','getIntersection','replace','afterInit','end','getMarkersGroup','find','findPrevious','markers','replaceAll','enableCommand','has','start','findByTextCallback','get','FindAndReplaceEditing','editor','model','findNext','getRange','FindAndReplaceUtils','createRange','filter','handleFindCommand','suggestion:deletion','createPositionAt'];(function(_0x38be87,_0x4d33a9){const _0x1edace=function(_0x51589a){while(--_0x51589a){_0x38be87['push'](_0x38be87['shift']());}};_0x1edace(++_0x4d33a9);}(_0x4d33,0x152));const _0x1eda=function(_0x38be87,_0x4d33a9){_0x38be87=_0x38be87-0x0;let _0x1edace=_0x4d33[_0x38be87];return _0x1edace;};import{Plugin as _0x56bb8d}from'ckeditor5/src/core.js';export default class J extends _0x56bb8d{[_0x1eda('0x11')](){if(!this[_0x1eda('0x3')]['plugins'][_0x1eda('0x19')](_0x1eda('0x2')))return;const _0x52c049=this[_0x1eda('0x3')]['plugins'][_0x1eda('0x1')]('TrackChangesEditing');_0x52c049[_0x1eda('0x18')](_0x1eda('0x14'),this[_0x1eda('0xa')][_0x1eda('0xd')](this)),_0x52c049[_0x1eda('0x18')](_0x1eda('0x5')),_0x52c049[_0x1eda('0x18')](_0x1eda('0x15')),_0x52c049['enableCommand'](_0x1eda('0x10')),_0x52c049[_0x1eda('0x18')](_0x1eda('0x17'));}[_0x1eda('0xa')](_0x37e975,_0x4a10e8,_0x2356ae={}){const _0x3c7d62=this['editor']['plugins'][_0x1eda('0x1')](_0x1eda('0x7'));return _0x37e975(_0x3d59f3=>('string'==typeof _0x4a10e8?_0x3c7d62[_0x1eda('0x0')](_0x4a10e8,_0x2356ae):_0x4a10e8)(_0x3d59f3)[_0x1eda('0x9')](_0x1e198b=>!0x1===this['_isInDeletionRange'](_0x1e198b,_0x3d59f3[_0x1eda('0xe')])),_0x2356ae);}['_isInDeletionRange'](_0x2763a5,_0x597290){const _0x50582c=this[_0x1eda('0x3')][_0x1eda('0x4')][_0x1eda('0x8')](this[_0x1eda('0x3')]['model'][_0x1eda('0xc')](_0x597290,_0x2763a5[_0x1eda('0x1a')]),this[_0x1eda('0x3')][_0x1eda('0x4')][_0x1eda('0xc')](_0x597290,_0x2763a5[_0x1eda('0x12')]));for(const _0x253828 of this[_0x1eda('0x3')][_0x1eda('0x4')][_0x1eda('0x16')][_0x1eda('0x13')](_0x1eda('0xb')))if(null!==_0x50582c[_0x1eda('0xf')](_0x253828[_0x1eda('0x6')]()))return!0x0;return!0x1;}}
|