@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230723.0 → 0.0.0-nightly-20230725.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/README.md +0 -1
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/augmentation.d.ts +4 -0
- package/src/commands/acceptsuggestioncommand.d.ts +4 -0
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +4 -0
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +4 -0
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +4 -0
- package/src/integrations/alignment.d.ts +4 -0
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +4 -0
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +4 -0
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +4 -0
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +4 -0
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +4 -0
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +4 -0
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +4 -0
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +4 -0
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +4 -0
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +4 -0
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +4 -0
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +4 -0
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +4 -0
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +4 -0
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +4 -0
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +4 -0
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +4 -0
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +4 -0
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.d.ts +4 -0
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +4 -0
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +4 -0
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +4 -0
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +4 -0
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +4 -0
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +4 -0
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +4 -0
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +4 -0
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +4 -0
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +4 -0
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +4 -0
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +4 -0
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +4 -0
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +4 -0
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +4 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +4 -0
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +2 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +4 -0
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +4 -0
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +4 -0
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +4 -0
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +4 -0
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +4 -0
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +4 -0
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +4 -0
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +4 -0
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +11 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +4 -0
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +4 -0
- package/src/trackchangesdata.d.ts +4 -0
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +4 -0
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +4 -0
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +2 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +2 -2
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +4 -0
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +4 -0
- 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-20230725.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230725.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230725.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
1
5
|
import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
|
|
2
6
|
import type { Editor } from 'ckeditor5/src/core';
|
|
3
7
|
declare module '@ckeditor/ckeditor5-core' {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2f=['get','_suggestions','execute','track-changes-accept-suggestion-not-found','refresh','acceptSuggestion','TrackChangesEditing','canEditAt','getRanges','plugins','editor'];(function(_0xd1fe45,_0x2e2f8e){const _0x3043d8=function(_0x1a35d5){while(--_0x1a35d5){_0xd1fe45['push'](_0xd1fe45['shift']());}};_0x3043d8(++_0x2e2f8e);}(_0x2e2f,0x9b));const _0x3043=function(_0xd1fe45,_0x2e2f8e){_0xd1fe45=_0xd1fe45-0x0;let _0x3043d8=_0x2e2f[_0xd1fe45];return _0x3043d8;};import{Command as _0x5dc89d}from'ckeditor5/src/core';import{CKEditorError as _0x4528ae}from'ckeditor5/src/utils';export default class M extends _0x5dc89d{constructor(_0xa9d926,_0x1419f7){super(_0xa9d926),this[_0x3043('0x0')]=_0x1419f7,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3043('0x3')](){this['isEnabled']=!0x0;}[_0x3043('0x1')](_0x160ba8){const _0x2a6ce9=this[_0x3043('0x0')]['get'](_0x160ba8);if(!_0x2a6ce9)throw new _0x4528ae(_0x3043('0x2'),this);const _0xf4a58f=_0x2a6ce9[_0x3043('0x7')]();this['editor']['model'][_0x3043('0x6')](_0xf4a58f)&&this[_0x3043('0x9')][_0x3043('0x8')][_0x3043('0xa')](_0x3043('0x5'))[_0x3043('0x4')](_0x2a6ce9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x128c=['isEnabled','execute','TrackChangesEditing','discardSuggestion','editor','_suggestions','get','model','canEditAt','_isEnabledBasedOnSelection','getRanges','refresh'];(function(_0x14d68e,_0x128c14){const _0x5fe0d5=function(_0x3f5fa2){while(--_0x3f5fa2){_0x14d68e['push'](_0x14d68e['shift']());}};_0x5fe0d5(++_0x128c14);}(_0x128c,0xbb));const _0x5fe0=function(_0x14d68e,_0x128c14){_0x14d68e=_0x14d68e-0x0;let _0x5fe0d5=_0x128c[_0x14d68e];return _0x5fe0d5;};import{Command as _0x646a18}from'ckeditor5/src/core';import{CKEditorError as _0x37e1bd}from'ckeditor5/src/utils';export default class $ extends _0x646a18{constructor(_0x536a04,_0x19f464){super(_0x536a04),this[_0x5fe0('0xa')]=_0x19f464,this[_0x5fe0('0x4')](),this[_0x5fe0('0x2')]=!0x1;}['refresh'](){this[_0x5fe0('0x5')]=!0x0;}[_0x5fe0('0x6')](_0xacfad4){const _0x50cb28=this[_0x5fe0('0xa')][_0x5fe0('0xb')](_0xacfad4);if(!_0x50cb28)throw new _0x37e1bd('track-changes-discard-suggestion-not-found',this);const _0x24e79d=_0x50cb28[_0x5fe0('0x3')]();this[_0x5fe0('0x9')][_0x5fe0('0x0')][_0x5fe0('0x1')](_0x24e79d)&&this[_0x5fe0('0x9')]['plugins'][_0x5fe0('0xb')](_0x5fe0('0x7'))[_0x5fe0('0x8')](_0x50cb28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12aa=['refresh','some','getRanges','values','_isEnabledBasedOnSelection','_command','_suggestions','isEnabled','from','editor','execute','canEditAt','model'];(function(_0x76590a,_0x12aaf8){const _0x9b7411=function(_0x6b37c7){while(--_0x6b37c7){_0x76590a['push'](_0x76590a['shift']());}};_0x9b7411(++_0x12aaf8);}(_0x12aa,0x83));const _0x9b74=function(_0x76590a,_0x12aaf8){_0x76590a=_0x76590a-0x0;let _0x9b7411=_0x12aa[_0x76590a];return _0x9b7411;};import{Command as _0xce6592}from'ckeditor5/src/core';import{sortSuggestions as _0x1d19af,executeCommandForSuggestions as _0x73da0}from'../utils/utils';export default class N extends _0xce6592{constructor(_0x4e66e7,_0x4410a4,_0x40f2ce){super(_0x4e66e7),this['_command']=_0x4410a4,this[_0x9b74('0x5')]=_0x40f2ce,this[_0x9b74('0xc')](),this[_0x9b74('0x3')]=!0x1;}[_0x9b74('0xc')](){const _0x17ce8f=Array[_0x9b74('0x7')](this['_suggestions'][_0x9b74('0x2')]())[_0x9b74('0x0')](_0x1dcaf6=>_0x1dcaf6['isInContent']);this[_0x9b74('0x6')]=this[_0x9b74('0x4')]['isEnabled']&&_0x17ce8f;}[_0x9b74('0x9')](){const _0x1d448e=_0x1d19af(Array[_0x9b74('0x7')](this[_0x9b74('0x5')][_0x9b74('0x2')]()));for(const _0x53c183 of _0x1d448e){const _0x15be98=_0x53c183[_0x9b74('0x1')]();if(!this['editor'][_0x9b74('0xb')][_0x9b74('0xa')](_0x15be98))return;}_0x73da0(this[_0x9b74('0x8')][_0x9b74('0xb')],this[_0x9b74('0x4')],_0x1d448e);}}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
1
5
|
/**
|
|
2
6
|
* @module track-changes/commands/executeonselectedsuggestionscommand
|
|
3
7
|
* @publicApi
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa998=['execute','_selectedSuggestions','refresh','_suggestions','from','isEnabled','values','selection','model','editor','_isEnabledBasedOnSelection','size','getRanges','_command'];(function(_0x371ac5,_0xa998e7){const _0x4289a2=function(_0x5bfb0b){while(--_0x5bfb0b){_0x371ac5['push'](_0x371ac5['shift']());}};_0x4289a2(++_0xa998e7);}(_0xa998,0x14b));const _0x4289=function(_0x371ac5,_0xa998e7){_0x371ac5=_0x371ac5-0x0;let _0x4289a2=_0xa998[_0x371ac5];return _0x4289a2;};import{Command as _0x1e84dc}from'ckeditor5/src/core';import{sortSuggestions as _0x277609,getSelectedSuggestions as _0x2e3c7e,executeCommandForSuggestions as _0xb07095}from'../utils/utils';export default class R extends _0x1e84dc{constructor(_0x3d8aaf,_0x33fbf9,_0x9231d1){super(_0x3d8aaf),this['_command']=_0x33fbf9,this[_0x4289('0x8')]=_0x9231d1,this[_0x4289('0x6')]=new Set(),this[_0x4289('0x7')](),this[_0x4289('0x1')]=!0x1;}[_0x4289('0x7')](){const _0x50e9f1=this[_0x4289('0x0')][_0x4289('0xd')]['document'][_0x4289('0xc')],_0x56a265=Array[_0x4289('0x9')](this['_suggestions'][_0x4289('0xb')]());this[_0x4289('0x6')]=_0x2e3c7e(_0x50e9f1,_0x56a265),this[_0x4289('0xa')]=this[_0x4289('0x4')]['isEnabled']&&!!this[_0x4289('0x6')][_0x4289('0x2')];}[_0x4289('0x5')](){const _0x14ab85=_0x277609(Array['from'](this['_selectedSuggestions']));for(const _0x315a49 of _0x14ab85){const _0x1eb351=_0x315a49[_0x4289('0x3')]();if(!this[_0x4289('0x0')][_0x4289('0xd')]['canEditAt'](_0x1eb351))return;}_0xb07095(this[_0x4289('0x0')][_0x4289('0xd')],this[_0x4289('0x4')],_0x14ab85);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x193f=['execute','_disableUnsupportedCommands','editor','refresh','has','isEnabled','_enabledCommands','value','forceDisabled','_isEnabledBasedOnSelection','affectsData','commands'];(function(_0x318fb5,_0x193f03){const _0x92b413=function(_0x261463){while(--_0x261463){_0x318fb5['push'](_0x318fb5['shift']());}};_0x92b413(++_0x193f03);}(_0x193f,0x134));const _0x92b4=function(_0x318fb5,_0x193f03){_0x318fb5=_0x318fb5-0x0;let _0x92b413=_0x193f[_0x318fb5];return _0x92b413;};import{Command as _0x23f314}from'ckeditor5/src/core';export default class _ extends _0x23f314{constructor(_0x5a85ba,_0x14e63d){super(_0x5a85ba),this[_0x92b4('0xa')]=_0x14e63d,this[_0x92b4('0xb')]=!0x1,this[_0x92b4('0x7')](),this[_0x92b4('0x1')]=!0x1;}['refresh'](){this[_0x92b4('0x9')]=!0x0;}[_0x92b4('0x4')](){this[_0x92b4('0xb')]=!this[_0x92b4('0xb')],this['value']?this[_0x92b4('0x5')]():this['_enableCommands']();}[_0x92b4('0x5')](){for(const _0x41e458 of this['editor'][_0x92b4('0x3')][_0x92b4('0x3')]())_0x41e458[_0x92b4('0x2')]&&!this[_0x92b4('0xa')][_0x92b4('0x8')](_0x41e458)&&_0x41e458[_0x92b4('0x0')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x5cedf9 of this[_0x92b4('0x6')][_0x92b4('0x3')]['commands']())_0x5cedf9[_0x92b4('0x2')]&&!this['_enabledCommands'][_0x92b4('0x8')](_0x5cedf9)&&_0x5cedf9['clearForceDisabled']('TrackChangesCommand');}}
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
1
5
|
export { default as TrackChanges, type SuggestionData } from './trackchanges';
|
|
2
6
|
export { default as TrackChangesData } from './trackchangesdata';
|
|
3
7
|
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a35=['registerDescriptionCallback','from','value','format','FORMAT_ALIGN_TO_CENTER','change','schema','FORMAT_JUSTIFY_TEXT','model','getAttribute','_descriptionFactory','enableCommand','editor','selection','get','commandName','AlignmentEditing','commandParams','checkAttribute','contentLanguageDirection','TrackChangesEditing','*Format:*\x20%0','ltr','plugins','document','has','left','alignment','afterInit','FORMAT_ALIGN_TO_LEFT','center','locale','right'];(function(_0x4bd6c6,_0x3a359b){const _0x3e5f0e=function(_0xcb70a5){while(--_0xcb70a5){_0x4bd6c6['push'](_0x4bd6c6['shift']());}};_0x3e5f0e(++_0x3a359b);}(_0x3a35,0x1a2));const _0x3e5f=function(_0x4bd6c6,_0x3a359b){_0x4bd6c6=_0x4bd6c6-0x0;let _0x3e5f0e=_0x3a35[_0x4bd6c6];return _0x3e5f0e;};import{Plugin as _0x58d50a}from'ckeditor5/src/core';import{getTranslation as _0x5b1c46}from'../utils/common-translations';export default class x extends _0x58d50a{[_0x3e5f('0x6')](){const _0x1037ad=this[_0x3e5f('0x17')],_0x14b9d6=_0x1037ad[_0x3e5f('0x9')];if(!_0x1037ad[_0x3e5f('0x1')][_0x3e5f('0x3')](_0x3e5f('0x1b')))return;const _0x475300=_0x1037ad[_0x3e5f('0x1')][_0x3e5f('0x19')](_0x3e5f('0x1f'));_0x475300[_0x3e5f('0x16')]('alignment',(_0x221f18,_0x3c2f34={})=>{let _0x513151=_0x3c2f34[_0x3e5f('0xd')];_0x3c2f34[_0x3e5f('0xd')]||(_0x513151=_0x3e5f('0x0')===_0x1037ad[_0x3e5f('0x9')][_0x3e5f('0x1e')]?_0x3e5f('0x4'):_0x3e5f('0xa'));const _0x5d389f=Array[_0x3e5f('0xc')](this[_0x3e5f('0x17')]['model'][_0x3e5f('0x2')][_0x3e5f('0x18')]['getSelectedBlocks']())['filter'](_0x59a538=>function(_0x156834,_0x1d23b4,_0xc76ce2){const _0x5c8e34=_0x156834[_0x3e5f('0x14')](_0x3e5f('0x5'))||null;return _0x1d23b4[_0x3e5f('0x1d')](_0x156834,_0x3e5f('0x5'))&&_0xc76ce2!=_0x5c8e34;}(_0x59a538,this[_0x3e5f('0x17')][_0x3e5f('0x13')][_0x3e5f('0x11')],_0x513151));_0x1037ad['model'][_0x3e5f('0x10')](()=>{for(const _0x7b9dca of _0x5d389f)_0x475300['markBlockFormat'](_0x7b9dca,{'commandName':_0x3e5f('0x5'),'commandParams':[{'value':_0x513151}]});});}),_0x475300[_0x3e5f('0x15')][_0x3e5f('0xb')](_0x2aa2ea=>{const {data:_0x289b3b}=_0x2aa2ea;if(_0x289b3b&&_0x3e5f('0x5')==_0x289b3b[_0x3e5f('0x1a')]){const _0x3502f7=_0x289b3b[_0x3e5f('0x1c')][0x0][_0x3e5f('0xd')];return{'type':_0x3e5f('0xe'),'content':_0x5b1c46(_0x14b9d6,_0x3e5f('0x20'),function(_0xaa2ed){switch(_0xaa2ed){case _0x3e5f('0x4'):return _0x5b1c46(_0x14b9d6,_0x3e5f('0x7'));case _0x3e5f('0xa'):return _0x5b1c46(_0x14b9d6,'FORMAT_ALIGN_TO_RIGHT');case _0x3e5f('0x8'):return _0x5b1c46(_0x14b9d6,_0x3e5f('0xf'));case'justify':return _0x5b1c46(_0x14b9d6,_0x3e5f('0x12'));}}(_0x3502f7))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b0b=['FORMAT_STRIKETHROUGH','afterInit','getRanges','SubscriptEditing','bold','markInlineFormat','strikethrough','_descriptionFactory','has','selection','italic','underline','SuperscriptEditing','registerDescriptionCallback','TrackChangesEditing','isCollapsed','commandParams','from','commands','FORMAT_UNDERLINE','change','get','CodeEditing','ItalicEditing','FORMAT_SUBSCRIPT','format','StrikethroughEditing','plugins','locale','FORMAT_SUPERSCRIPT','document','*Remove\x20format:*\x20%0','code','FORMAT_ITALIC','slice','forceValue','enableCommand'];(function(_0x50effc,_0x5b0b9d){const _0x385d0d=function(_0x4bd591){while(--_0x4bd591){_0x50effc['push'](_0x50effc['shift']());}};_0x385d0d(++_0x5b0b9d);}(_0x5b0b,0x1b8));const _0x385d=function(_0x50effc,_0x5b0b9d){_0x50effc=_0x50effc-0x0;let _0x385d0d=_0x5b0b[_0x50effc];return _0x385d0d;};import{Plugin as _0x3d1d51}from'ckeditor5/src/core';import{getTranslation as _0x52b355}from'../utils/common-translations';import{getRangesWithAttribute as _0x17b6d3}from'./utils';const Kt=['BoldEditing',_0x385d('0x1b'),'UnderlineEditing',_0x385d('0x1a'),_0x385d('0x1e'),_0x385d('0x7'),_0x385d('0x10')];export default class U extends _0x3d1d51{[_0x385d('0x5')](){const _0x2d1eea=this['editor'],_0x22b897=_0x2d1eea['model'],_0x3a5921=_0x2d1eea[_0x385d('0x1f')][_0x385d('0x19')](_0x385d('0x12')),_0x4572e3=_0x2d1eea[_0x385d('0x20')];for(const _0x5c3375 of Kt){if(!_0x2d1eea['plugins'][_0x385d('0xc')](_0x5c3375))continue;const _0x272a8b=_0x5c3375[_0x385d('0x1')](0x0,-0x7)['toLowerCase'](),_0x504cbd=_0x2d1eea[_0x385d('0x16')]['get'](_0x272a8b);_0x3a5921[_0x385d('0x3')](_0x272a8b,(_0x4af731,_0x9e4f0a={})=>{const _0xa3b10b=_0x22b897[_0x385d('0x22')][_0x385d('0xd')];if(_0xa3b10b[_0x385d('0x13')])return void _0x4af731(_0x9e4f0a);const _0x5110af=void 0x0!==_0x9e4f0a['forceValue']?_0x9e4f0a[_0x385d('0x2')]:!_0x504cbd['value'];_0x22b897[_0x385d('0x18')](()=>{const _0x2629fb=Array[_0x385d('0x15')](_0xa3b10b[_0x385d('0x6')]());for(const _0x5220a8 of _0x2629fb){const _0x4f01dd=_0x5110af?[_0x5220a8]:_0x17b6d3(_0x272a8b,_0x5220a8,_0x22b897);for(const _0x145afe of _0x4f01dd)_0x3a5921[_0x385d('0x9')](_0x145afe,{'commandName':_0x272a8b,'commandParams':[{'forceValue':_0x5110af}]});}});});}function _0x588c2a(_0x2c4284,_0x8de8f8){_0x3a5921[_0x385d('0xb')][_0x385d('0x11')](_0x35ee01=>{const {data:_0x52ede1}=_0x35ee01;if(_0x52ede1&&_0x52ede1['commandName']===_0x2c4284)return _0x52ede1[_0x385d('0x14')][0x0][_0x385d('0x2')]?{'type':_0x385d('0x1d'),'content':_0x52b355(_0x4572e3,'*Format:*\x20%0',_0x8de8f8)}:{'type':_0x385d('0x1d'),'content':_0x52b355(_0x4572e3,_0x385d('0x23'),_0x8de8f8)};});}_0x588c2a(_0x385d('0x8'),_0x52b355(_0x4572e3,'FORMAT_BOLD')),_0x588c2a(_0x385d('0xe'),_0x52b355(_0x4572e3,_0x385d('0x0'))),_0x588c2a(_0x385d('0xf'),_0x52b355(_0x4572e3,_0x385d('0x17'))),_0x588c2a(_0x385d('0x24'),_0x52b355(_0x4572e3,'FORMAT_CODE')),_0x588c2a(_0x385d('0xa'),_0x52b355(_0x4572e3,_0x385d('0x4'))),_0x588c2a('subscript',_0x52b355(_0x4572e3,_0x385d('0x1c'))),_0x588c2a('superscript',_0x52b355(_0x4572e3,_0x385d('0x21')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fc4=['BlockQuoteEditing','filter','document','plugins','format','parent','ELEMENT_BLOCK_QUOTE','registerDescriptionCallback','blockQuote','*Remove\x20format:*\x20%0','checkChild','_descriptionFactory','afterInit','schema','value','*Format:*\x20%0','has','forceValue','$root','model','get','markBlockFormat','commandName','name','commands','change','from','locale','editor'];(function(_0x1331ad,_0x1fc427){const _0x52eb23=function(_0x520850){while(--_0x520850){_0x1331ad['push'](_0x1331ad['shift']());}};_0x52eb23(++_0x1fc427);}(_0x1fc4,0xb4));const _0x52eb=function(_0x1331ad,_0x1fc427){_0x1331ad=_0x1331ad-0x0;let _0x52eb23=_0x1fc4[_0x1331ad];return _0x52eb23;};import{Plugin as _0x46d96c}from'ckeditor5/src/core';import{getTranslation as _0x390c9d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5a51aa}from'../utils/utils';export default class j extends _0x46d96c{[_0x52eb('0x6')](){const _0x521eef=this[_0x52eb('0x16')],_0x250d82=_0x521eef[_0x52eb('0x15')];if(!_0x521eef[_0x52eb('0x1a')][_0x52eb('0xa')](_0x52eb('0x17')))return;const _0x2fc537=_0x521eef['plugins'][_0x52eb('0xe')]('TrackChangesEditing'),_0x2a03bd=this['editor'][_0x52eb('0x12')][_0x52eb('0xe')]('blockQuote');_0x2fc537['enableCommand']('blockQuote',(_0x387023,_0x3ea38b={})=>{const _0x57a702=this[_0x52eb('0x16')][_0x52eb('0xd')][_0x52eb('0x19')]['selection'],_0x4a7bad=_0x3ea38b&&void 0x0!==_0x3ea38b[_0x52eb('0xb')]?_0x3ea38b[_0x52eb('0xb')]:!_0x2a03bd[_0x52eb('0x8')];let _0x2fe7f8=[];if(_0x4a7bad){const _0x5112fe=Array[_0x52eb('0x14')](_0x57a702['getSelectedBlocks']())[_0x52eb('0x18')](_0x30fece=>Xt(_0x30fece)||function(_0x405717,_0x2ffcc9){const _0x1667ce=_0x2ffcc9[_0x52eb('0x4')](_0x405717[_0x52eb('0x1c')],_0x52eb('0x2')),_0x3974fb=_0x2ffcc9[_0x52eb('0x4')]([_0x52eb('0xc'),_0x52eb('0x2')],_0x405717);return _0x1667ce&&_0x3974fb;}(_0x30fece,this[_0x52eb('0x16')][_0x52eb('0xd')][_0x52eb('0x7')]));_0x2fe7f8=_0x5a51aa(_0x5112fe,_0x521eef['model']);}else{const _0x2619cf=Array[_0x52eb('0x14')](_0x57a702['getSelectedBlocks']())[_0x52eb('0x18')](_0x119876=>Xt(_0x119876));_0x2fe7f8=_0x5a51aa(_0x2619cf,_0x521eef[_0x52eb('0xd')]);}_0x521eef['model'][_0x52eb('0x13')](()=>{for(const _0x4d43f1 of _0x2fe7f8)_0x2fc537[_0x52eb('0xf')](_0x4d43f1,{'commandName':_0x52eb('0x2'),'commandParams':[{'forceValue':_0x4a7bad}]});});}),_0x2fc537[_0x52eb('0x5')][_0x52eb('0x1')](_0x3f8548=>{const {data:_0x4ec886}=_0x3f8548;if(_0x4ec886&&_0x52eb('0x2')==_0x4ec886[_0x52eb('0x10')]){const _0x499dd5=_0x390c9d(_0x250d82,_0x52eb('0x0'));return _0x4ec886['commandParams'][0x0][_0x52eb('0xb')]?{'type':_0x52eb('0x1b'),'content':_0x390c9d(_0x250d82,_0x52eb('0x9'),_0x499dd5)}:{'type':_0x52eb('0x1b'),'content':_0x390c9d(_0x250d82,_0x52eb('0x3'),_0x499dd5)};}});}}function Xt(_0x5d7e49){return _0x52eb('0x2')==_0x5d7e49[_0x52eb('0x1c')][_0x52eb('0x11')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bae=['afterInit','plugins','commands','TrackChangesEditing','get','editor','enableCommand'];(function(_0xde61bf,_0x4baec7){const _0x14e76e=function(_0x520010){while(--_0x520010){_0xde61bf['push'](_0xde61bf['shift']());}};_0x14e76e(++_0x4baec7);}(_0x4bae,0x9e));const _0x14e7=function(_0xde61bf,_0x4baec7){_0xde61bf=_0xde61bf-0x0;let _0x14e76e=_0x4bae[_0xde61bf];return _0x14e76e;};import{Plugin as _0x1d9580}from'ckeditor5/src/core';export default class E extends _0x1d9580{[_0x14e7('0x3')](){const _0x42e09b=this[_0x14e7('0x1')];_0x42e09b[_0x14e7('0x5')][_0x14e7('0x0')]('ckbox')&&_0x42e09b[_0x14e7('0x4')][_0x14e7('0x0')](_0x14e7('0x6'))[_0x14e7('0x2')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c3f=['schema','isLimit','from','registerDescriptionCallback','forceValue','CodeBlock','commandName','indentCodeBlock','get','filter','model','codeBlock','locale','checkChild','document','ELEMENT_CODE_BLOCK','formatBlock','config','commands','registerElementLabel','blockName','name','languages','has','language','outdentCodeBlock','afterInit','markBlockFormat','TrackChangesEditing','*Format:*\x20%0','commandParams','enableCommand','*Remove\x20format:*\x20%0','change','find','plugins'];(function(_0x116b8e,_0x2c3fa4){const _0x41ce1c=function(_0x594c4f){while(--_0x594c4f){_0x116b8e['push'](_0x116b8e['shift']());}};_0x41ce1c(++_0x2c3fa4);}(_0x2c3f,0xad));const _0x41ce=function(_0x116b8e,_0x2c3fa4){_0x116b8e=_0x116b8e-0x0;let _0x41ce1c=_0x2c3f[_0x116b8e];return _0x41ce1c;};import{Plugin as _0xe1e88a}from'ckeditor5/src/core';import{getTranslation as _0x562916}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1c5e6b}from'../utils/utils';export default class O extends _0xe1e88a{[_0x41ce('0x21')](){const _0xa40a5c=this['editor'];if(!_0xa40a5c[_0x41ce('0x6')][_0x41ce('0x1e')](_0x41ce('0xc')))return;const _0x5deeaf=_0xa40a5c['plugins'][_0x41ce('0xf')](_0x41ce('0x23')),_0x38764d=_0xa40a5c[_0x41ce('0x13')],_0x4878d2=_0xa40a5c[_0x41ce('0x18')][_0x41ce('0xf')]('codeBlock')[_0x41ce('0x1d')],_0x64a90b=_0xa40a5c[_0x41ce('0x19')][_0x41ce('0xf')]('codeBlock');_0x5deeaf[_0x41ce('0x2')](_0x41ce('0xe')),_0x5deeaf[_0x41ce('0x2')](_0x41ce('0x20')),_0x5deeaf[_0x41ce('0x2')](_0x41ce('0x12'),(_0x24b9ac,_0x17374e={})=>{const _0x3d45b7=_0xa40a5c[_0x41ce('0x11')],_0x5ef247=_0xa40a5c[_0x41ce('0x11')][_0x41ce('0x15')]['selection'],_0x15e386=_0x17374e&&void 0x0!==_0x17374e[_0x41ce('0xb')]?_0x17374e[_0x41ce('0xb')]:!_0x64a90b['value'];let _0x15e63e;_0x17374e[_0x41ce('0x1f')]||(_0x17374e['language']=_0x4878d2[0x0][_0x41ce('0x1f')]),_0x15e63e=_0x15e386?Array[_0x41ce('0x9')](_0x5ef247['getSelectedBlocks']())[_0x41ce('0x10')](_0x3c33b9=>to(_0x3c33b9)||function(_0x2f648c,_0xaa00cf){if(_0x2f648c['is']('rootElement')||_0xaa00cf[_0x41ce('0x8')](_0x2f648c))return!0x1;return _0xaa00cf[_0x41ce('0x14')](_0x2f648c['parent'],'codeBlock');}(_0x3c33b9,_0x3d45b7[_0x41ce('0x7')])):Array[_0x41ce('0x9')](_0x5ef247['getSelectedBlocks']())[_0x41ce('0x10')](_0x2cbce7=>to(_0x2cbce7));const _0x99c4a7=_0x1c5e6b(_0x15e63e,_0x3d45b7);_0x3d45b7[_0x41ce('0x4')](()=>{for(const _0x599a5a of _0x99c4a7)_0x5deeaf[_0x41ce('0x22')](_0x599a5a,{'commandName':_0x41ce('0x12'),'commandParams':[{..._0x17374e,'forceValue':_0x15e386}],'formatGroupId':_0x41ce('0x1b')});});}),(_0x5deeaf['_descriptionFactory'][_0x41ce('0x1a')]('codeBlock',_0x6bc485=>_0x562916(_0x38764d,_0x41ce('0x16'),_0x6bc485)),_0x5deeaf['_descriptionFactory'][_0x41ce('0xa')](_0x171207=>{const _0x15ec86=_0x38764d['t'],{type:_0x8c0561,data:_0x126400}=_0x171207;if(_0x41ce('0x17')==_0x8c0561&&_0x126400&&'codeBlock'==_0x126400[_0x41ce('0xd')]){const _0x4e5183=_0x126400[_0x41ce('0x1')][0x0][_0x41ce('0x1f')],_0x47c7b9=_0x15ec86(_0x4878d2[_0x41ce('0x5')](_0x15b30a=>_0x15b30a['language']===_0x4e5183)['label']);return _0x126400[_0x41ce('0x1')][0x0]['forceValue']?{'type':'format','content':_0x562916(_0x38764d,_0x41ce('0x0'),_0x562916(_0x38764d,_0x41ce('0x16'),0x1)+'\x20('+_0x47c7b9+')')}:{'type':'format','content':_0x562916(_0x38764d,_0x41ce('0x3'),_0x562916(_0x38764d,_0x41ce('0x16'),0x1))};}}));}}function to(_0x46321d){return'codeBlock'==_0x46321d[_0x41ce('0x1c')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2644=['has','addCommentThread','TrackChangesEditing','plugins','enableCommand','afterInit','get'];(function(_0x565dbb,_0x264417){const _0x1e2f40=function(_0xc2b3f4){while(--_0xc2b3f4){_0x565dbb['push'](_0x565dbb['shift']());}};_0x1e2f40(++_0x264417);}(_0x2644,0x1cf));const _0x1e2f=function(_0x565dbb,_0x264417){_0x565dbb=_0x565dbb-0x0;let _0x1e2f40=_0x2644[_0x565dbb];return _0x1e2f40;};import{Plugin as _0x3b0872}from'ckeditor5/src/core';export default class F extends _0x3b0872{[_0x1e2f('0x4')](){const _0x33efc0=this['editor'];if(!_0x33efc0['plugins'][_0x1e2f('0x6')]('CommentsEditing'))return;_0x33efc0[_0x1e2f('0x2')][_0x1e2f('0x5')](_0x1e2f('0x1'))[_0x1e2f('0x3')](_0x1e2f('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5490=['forward','end','remove','root','downcastDispatcher','commands','model','merge','markerName','showSuggestionHighlights','editing','get','delete','uiElement','selection','options','addMarker:suggestion:deletion','$graveyard','unbindElementFromMarkerName','bind','mapper','deleteForward','buffer','plugins','start','enableCommand','requires','enqueueChange','createSelection','writer','createRange','batch','setSelection','lock','isCollapsed','high','TrackChangesEditing','fromRange','data','unlock'];(function(_0x15fcb0,_0x549098){const _0x33201f=function(_0x9bf994){while(--_0x9bf994){_0x15fcb0['push'](_0x15fcb0['shift']());}};_0x33201f(++_0x549098);}(_0x5490,0xc0));const _0x3320=function(_0x15fcb0,_0x549098){_0x15fcb0=_0x15fcb0-0x0;let _0x33201f=_0x5490[_0x15fcb0];return _0x33201f;};import{Plugin as _0x25b778}from'ckeditor5/src/core';import{LiveRange as _0x22e61d}from'ckeditor5/src/engine';import{Delete as _0x4183ae}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1fbd79}from'./utils';export default class G extends _0x25b778{static get[_0x3320('0x22')](){return[_0x4183ae];}['init'](){const _0x333864=this['editor'],_0x1e473a=_0x333864[_0x3320('0x1f')][_0x3320('0x13')](_0x3320('0x4'));_0x1e473a['enableCommand'](_0x3320('0x14'));const _0xa56a31=_0x333864[_0x3320('0xd')][_0x3320('0x13')](_0x3320('0x1d'));_0x1e473a[_0x3320('0x21')](_0x3320('0x1d'),(_0x2174ea,_0x1d7f6b={})=>{const _0x1a1572=_0x333864[_0x3320('0xe')][_0x3320('0x24')](_0x333864[_0x3320('0xe')]['document'][_0x3320('0x16')]);_0x1a1572[_0x3320('0x2')]&&_0x333864[_0x3320('0xe')]['modifySelection'](_0x1a1572,{'direction':_0x3320('0x8'),'unit':_0x1d7f6b['unit']});const _0x4a8ec4=_0x1a1572['getFirstRange'](),_0x139006=_0x22e61d[_0x3320('0x5')](_0x4a8ec4);let _0x373498;_0x2174ea(_0x1d7f6b),_0x373498=_0x3320('0x19')==_0x139006[_0x3320('0xb')]['rootName']?_0x333864[_0x3320('0xe')][_0x3320('0x26')](_0x4a8ec4['start']):_0x333864['model'][_0x3320('0x26')](_0x139006[_0x3320('0x20')],_0x139006[_0x3320('0x9')]),_0x139006['detach'](),_0x333864[_0x3320('0xe')][_0x3320('0x23')](_0xa56a31[_0x3320('0x1e')][_0x3320('0x27')],_0x718fb3=>{_0xa56a31['buffer'][_0x3320('0x1')](),_0x718fb3[_0x3320('0x0')](_0x718fb3[_0x3320('0x26')](_0x373498[_0x3320('0x9')])),_0xa56a31[_0x3320('0x1e')][_0x3320('0x7')]();});}),_0x333864[_0x3320('0x12')]['downcastDispatcher']['on'](_0x3320('0x18'),_0x1fbd79(_0x333864,_0x3320('0xf')),{'priority':_0x3320('0x3')}),_0x333864[_0x3320('0x6')][_0x3320('0xc')]['on'](_0x3320('0x18'),(_0x423d68,_0x4b46bf,_0x4250b9)=>{_0x4250b9[_0x3320('0x17')][_0x3320('0x11')]&&_0x1fbd79(_0x333864,_0x3320('0xf'),{'showActiveMarker':!0x1})[_0x3320('0x1b')](this)(_0x423d68,_0x4b46bf,_0x4250b9);},{'priority':'high'}),_0x333864[_0x3320('0x12')][_0x3320('0xc')]['on']('removeMarker:suggestion:deletion',(_0x398957,_0x1df15c,_0xb9cda9)=>{const _0x5c560d=_0xb9cda9[_0x3320('0x1c')]['markerNameToElements'](_0x1df15c[_0x3320('0x10')]);if(_0x5c560d)for(const _0x6a82db of _0x5c560d)_0x6a82db['is'](_0x3320('0x15'))&&(_0xb9cda9[_0x3320('0x1c')][_0x3320('0x1a')](_0x6a82db,_0x1df15c[_0x3320('0x10')]),_0xb9cda9[_0x3320('0x25')][_0x3320('0xa')](_0x6a82db));},{'priority':_0x3320('0x3')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1285=['documentList','afterInit','locale','commandParams','isFirstBlockOfListItem','editor','listType','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','slice','bulletedList','getAttribute','forceValue','_suggestionFactory','ELEMENT_','createPositionAt','_descriptionFactory','next','containsItem','*Indent:*\x20%0','fromRange','commandName','schema','setSelection','listItemId','splitListItemBefore','mergeListItemBackward','*Format:*\x20remove\x20from\x20%0','multipleBlocks','length','deletion','findIndex','formatBlock','selection','*Outdent:*\x20%0','start','outdentList','after','before','_LIST','accept','detach','createRange','TrackChangesEditing','from','getRanges','registerCustomCallback','model','getFirstRange','value','end','commands','numberedList','ELEMENT_BULLETED_LIST','enableCommand','document','change','refresh','splitListItemAfter','nextSibling','has','parent','isObject','listIndent','push','*Merge:*\x20%0','markMultiRangeBlockFormat','*Format:*\x20insert\x20into\x20%0','plugins','previousSibling','ELEMENT_NUMBERED_LIST','nodeAfter','indentList','format','expandListBlocksToCompleteList','markBlockFormat','get','getSelectedBlocks','hasAttribute'];(function(_0x583ff0,_0x1285f7){const _0x5f201a=function(_0x1b38be){while(--_0x1b38be){_0x583ff0['push'](_0x583ff0['shift']());}};_0x5f201a(++_0x1285f7);}(_0x1285,0x1d7));const _0x5f20=function(_0x583ff0,_0x1285f7){_0x583ff0=_0x583ff0-0x0;let _0x5f201a=_0x1285[_0x583ff0];return _0x5f201a;};import{Plugin as _0x5f17d0}from'ckeditor5/src/core';import{getTranslation as _0x73478}from'../utils/common-translations';import{LiveRange as _0x5d7360}from'ckeditor5/src/engine';export default class L extends _0x5f17d0{[_0x5f20('0x4')](){const _0x443afb=this[_0x5f20('0x8')];if(!_0x443afb[_0x5f20('0x47')][_0x5f20('0x3f')]('DocumentListEditing'))return;const _0x3dae67=_0x443afb[_0x5f20('0x5')],_0x36d49b=_0x443afb['plugins']['get'](_0x5f20('0x2e')),_0x427687=_0x443afb['plugins'][_0x5f20('0x0')]('DocumentListUtils');function _0x39cb35(_0x11311e){return()=>{const _0x10e23a=_0x443afb[_0x5f20('0x36')][_0x5f20('0x0')](_0x11311e);let _0xdad1bb=Array[_0x5f20('0x2f')](_0x443afb[_0x5f20('0x32')][_0x5f20('0x3a')][_0x5f20('0x24')]['getSelectedBlocks']());if(_0x2dfc2b(_0x11311e)){_0xdad1bb=_0x427687[_0x5f20('0x4d')](_0xdad1bb);const _0xe30b5=[];for(const _0x163fd1 of _0xdad1bb)_0x427687[_0x5f20('0x7')](_0x163fd1)&&_0xe30b5[_0x5f20('0x43')](_0x163fd1);_0xdad1bb=_0xe30b5;}_0x443afb[_0x5f20('0x32')][_0x5f20('0x3b')](()=>{_0x36d49b[_0x5f20('0x45')](_0xdad1bb,{'commandName':_0x11311e,'commandParams':[{'forceValue':!_0x10e23a[_0x5f20('0x34')]}],'formatGroupId':_0x5f20('0x9')},[],_0x5f20('0x3'));});};}function _0x443118(_0x505148){return()=>{const _0x5685b5=function(_0xe4950){let _0xd7a4e2=Array[_0x5f20('0x2f')](_0xe4950);const _0x298892=_0xd7a4e2[_0x5f20('0x22')](_0x4a0ee3=>!_0x4a0ee3[_0x5f20('0x2')](_0x5f20('0x1b')));return _0x298892>-0x1&&(_0xd7a4e2=_0xd7a4e2[_0x5f20('0xc')](0x0,_0x298892)),_0xd7a4e2;}(_0x443afb['model'][_0x5f20('0x3a')][_0x5f20('0x24')][_0x5f20('0x1')]()),_0x4bafa3=_0x5685b5[_0x5685b5[_0x5f20('0x20')]-0x1],_0x183e18=_0x443afb['model'][_0x5f20('0x19')]['isObject'](_0x4bafa3)?_0x5f20('0x28'):_0x5f20('0x35'),_0x4cbab5=_0x443afb['model'][_0x5f20('0x2d')](_0x443afb[_0x5f20('0x32')][_0x5f20('0x12')](_0x5685b5[0x0],_0x5f20('0x29')),_0x443afb[_0x5f20('0x32')][_0x5f20('0x12')](_0x4bafa3,_0x183e18));_0x443afb[_0x5f20('0x32')][_0x5f20('0x3b')](()=>{_0x36d49b[_0x5f20('0x4e')](_0x4cbab5,{'commandName':_0x505148,'commandParams':[],'formatGroupId':'listType'},function(_0x396996){const _0x7ef21=new Set();for(const _0x3c2a20 of _0x396996){let _0x2d997f=_0x3c2a20[_0x5f20('0x3e')];for(;_0x2d997f&&_0x2d997f['getAttribute'](_0x5f20('0x42'))>_0x3c2a20[_0x5f20('0xe')]('listIndent');)_0x7ef21['add'](_0x2d997f),_0x2d997f=_0x2d997f[_0x5f20('0x3e')];}return Array[_0x5f20('0x2f')](_0x7ef21);}(_0x5685b5));});};}function _0x3608ea(_0xd3c6f3){return()=>{const _0x2c2fff=_0x443afb[_0x5f20('0x32')][_0x5f20('0x3a')][_0x5f20('0x24')][_0x5f20('0x1')]()[_0x5f20('0x14')]()['value'],_0x37d4ae=_0x443afb[_0x5f20('0x32')][_0x5f20('0x12')](_0x2c2fff,_0x5f20('0x29')),_0x788fc1=_0x443afb[_0x5f20('0x32')][_0x5f20('0x12')](_0x2c2fff,0x0),_0x2fc593=_0x443afb['model'][_0x5f20('0x2d')](_0x37d4ae,_0x788fc1);_0x443afb['model'][_0x5f20('0x3b')](()=>{_0x36d49b[_0x5f20('0x4e')](_0x2fc593,{'commandName':_0xd3c6f3,'commandParams':[],'formatGroupId':_0x5f20('0x9')});});};}function _0x2dfc2b(_0x1e5139){const _0x156e0b=_0x443afb['commands'][_0x5f20('0x0')](_0x5f20('0xd'))['value'],_0x4f5bb2=_0x443afb[_0x5f20('0x36')][_0x5f20('0x0')]('numberedList')[_0x5f20('0x34')];return'numberedList'===_0x1e5139?_0x156e0b:_0x4f5bb2;}_0x36d49b['enableCommand']('numberedList',_0x39cb35('numberedList')),_0x36d49b['enableCommand'](_0x5f20('0xd'),_0x39cb35(_0x5f20('0xd'))),_0x36d49b[_0x5f20('0x39')](_0x5f20('0x4b'),_0x443118(_0x5f20('0x4b'))),_0x36d49b[_0x5f20('0x39')](_0x5f20('0x27'),_0x443118(_0x5f20('0x27'))),_0x36d49b[_0x5f20('0x39')](_0x5f20('0x3d'),_0x3608ea('splitListItemAfter')),_0x36d49b[_0x5f20('0x39')](_0x5f20('0x1c'),_0x3608ea(_0x5f20('0x1c'))),_0x36d49b[_0x5f20('0x13')]['registerElementLabel'](function(_0x364464){const _0x16ee8b=!_0x443afb['model'][_0x5f20('0x19')][_0x5f20('0x41')](_0x364464),_0x24571d=_0x364464[_0x5f20('0x48')],_0x507d88=_0x364464[_0x5f20('0x3e')],_0x121c5b=_0x364464[_0x5f20('0xe')]('listItemId'),_0x4083d1=!_0x24571d||_0x24571d[_0x5f20('0xe')](_0x5f20('0x1b'))!==_0x121c5b,_0x498c0e=!_0x507d88||_0x507d88['getAttribute'](_0x5f20('0x1b'))!==_0x121c5b;return _0x16ee8b&&Boolean(_0x121c5b)&&_0x4083d1&&_0x498c0e;},_0x1eb23e=>_0x73478(_0x3dae67,'ELEMENT_LIST_ITEM',_0x1eb23e)),_0x36d49b[_0x5f20('0x13')]['registerDescriptionCallback'](function(_0x338cc3){const {data:_0x24d111}=_0x338cc3;if(!_0x24d111)return;let _0x40e6a5,_0x339956,_0x45fe3c,_0x2f2370;switch(_0x24d111[_0x5f20('0x18')]){case _0x5f20('0xd'):_0x45fe3c=_0x24d111['commandParams'][0x0][_0x5f20('0xf')],_0x2f2370=_0x2dfc2b(_0x24d111['commandName']),_0x40e6a5=_0x45fe3c?_0x5f20('0x46'):'*Format:*\x20remove\x20from\x20%0',_0x2f2370&&(_0x40e6a5=_0x5f20('0xa')),_0x339956={'type':_0x5f20('0x4c'),'content':_0x73478(_0x3dae67,_0x40e6a5,_0x73478(_0x3dae67,_0x5f20('0x38')))};break;case _0x5f20('0x37'):_0x45fe3c=_0x24d111['commandParams'][0x0][_0x5f20('0xf')],_0x2f2370=_0x2dfc2b(_0x24d111[_0x5f20('0x18')]),_0x40e6a5=_0x45fe3c?'*Format:*\x20insert\x20into\x20%0':_0x5f20('0x1e'),_0x2f2370&&(_0x40e6a5='*Change\x20to:*\x20%0'),_0x339956={'type':_0x5f20('0x4c'),'content':_0x73478(_0x3dae67,_0x40e6a5,_0x73478(_0x3dae67,_0x5f20('0x49')))};break;case'indentList':_0x40e6a5=_0x5f20('0x16'),_0x339956={'type':_0x5f20('0x4c'),'content':_0x73478(_0x3dae67,_0x40e6a5,_0x73478(_0x3dae67,_0x5f20('0xb')))};break;case _0x5f20('0x27'):_0x40e6a5=function(_0x37c5bf){const _0x1a0944=_0x37c5bf[_0x5f20('0x33')]();let _0x373631=_0x1a0944[_0x5f20('0x26')][_0x5f20('0x4a')];for(;_0x373631&&_0x1a0944[_0x5f20('0x15')](_0x373631);){if(_0x373631[_0x5f20('0xe')](_0x5f20('0x42'))>0x0)return!0x1;_0x373631=_0x373631['nextSibling'];}return!0x0;}(_0x338cc3)?_0x73478(_0x3dae67,'*Format:*\x20remove\x20from\x20%0',_0x73478(_0x3dae67,function(_0x282d67){const _0x152f35=_0x282d67[_0x5f20('0x33')]()[_0x5f20('0x26')][_0x5f20('0x4a')];return _0x5f20('0x11')+_0x152f35[_0x5f20('0xe')](_0x5f20('0x9'))['toUpperCase']()+_0x5f20('0x2a');}(_0x338cc3))):_0x73478(_0x3dae67,_0x5f20('0x25'),_0x73478(_0x3dae67,'ELEMENT_LIST_ITEM')),_0x339956={'type':_0x5f20('0x4c'),'content':_0x40e6a5};break;case _0x5f20('0x1d'):case'mergeListItemForward':!0x1===_0x24d111[_0x5f20('0x1f')]&&(_0x40e6a5=_0x5f20('0x44'),_0x339956={'type':_0x5f20('0x21'),'content':_0x73478(_0x3dae67,_0x40e6a5,_0x73478(_0x3dae67,_0x5f20('0xb')))});}return _0x339956;}),_0x36d49b[_0x5f20('0x10')][_0x5f20('0x31')](_0x5f20('0x23'),'documentList',_0x5f20('0x2b'),function(_0x123810,_0x38b636){const _0x557a29=[];for(let _0x50dead of _0x123810)_0x50dead[_0x5f20('0x26')][_0x5f20('0x4a')]===_0x50dead[_0x5f20('0x35')][_0x5f20('0x40')]&&(_0x50dead=_0x443afb[_0x5f20('0x32')]['createRange'](_0x443afb[_0x5f20('0x32')]['createPositionAt'](_0x50dead['start'][_0x5f20('0x4a')],0x0))),_0x557a29[_0x5f20('0x43')](_0x50dead);_0x443afb[_0x5f20('0x32')][_0x5f20('0x3b')](_0x41d6de=>{const _0x23f855=_0x443afb[_0x5f20('0x32')]['document'][_0x5f20('0x24')],_0x325aff=Array[_0x5f20('0x2f')](_0x23f855[_0x5f20('0x30')]())['map'](_0x5ee340=>_0x5d7360[_0x5f20('0x17')](_0x5ee340));_0x41d6de[_0x5f20('0x1a')](_0x557a29),_0x443afb['commands'][_0x5f20('0x0')](_0x38b636[_0x5f20('0x18')])[_0x5f20('0x3c')](),_0x38b636[_0x5f20('0x6')][_0x5f20('0x43')]({'forceDefaultExecution':!0x0}),_0x443afb['execute'](_0x38b636['commandName'],..._0x38b636['commandParams']),_0x41d6de['setSelection'](_0x325aff);for(const _0x734166 of _0x325aff)_0x734166[_0x5f20('0x2c')]();});});}}
|