@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231123.0 → 0.0.0-nightly-20231125.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-20231125.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-20231125.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231125.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x362f=['plugins','_suggestions','refresh','TrackChangesEditing','get','canEditAt','acceptSuggestion','isEnabled','model','editor','execute'];(function(_0x203131,_0x362f3e){const _0x5a5cde=function(_0x27d398){while(--_0x27d398){_0x203131['push'](_0x203131['shift']());}};_0x5a5cde(++_0x362f3e);}(_0x362f,0xeb));const _0x5a5c=function(_0x203131,_0x362f3e){_0x203131=_0x203131-0x0;let _0x5a5cde=_0x362f[_0x203131];return _0x5a5cde;};import{Command as _0x5c8ddc}from'ckeditor5/src/core';import{CKEditorError as _0x5db988}from'ckeditor5/src/utils';export default class B extends _0x5c8ddc{constructor(_0x519a0d,_0xee7226){super(_0x519a0d),this[_0x5a5c('0x8')]=_0xee7226,this[_0x5a5c('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5a5c('0x9')](){this[_0x5a5c('0x3')]=!0x0;}[_0x5a5c('0x6')](_0x2c3d4d){const _0x206d87=this[_0x5a5c('0x8')][_0x5a5c('0x0')](_0x2c3d4d);if(!_0x206d87)throw new _0x5db988('track-changes-accept-suggestion-not-found',this);const _0x1e42bf=_0x206d87['getRanges']();this['editor'][_0x5a5c('0x4')][_0x5a5c('0x1')](_0x1e42bf)&&this[_0x5a5c('0x5')][_0x5a5c('0x7')][_0x5a5c('0x0')](_0x5a5c('0xa'))[_0x5a5c('0x2')](_0x206d87);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x306a=['refresh','get','_isEnabledBasedOnSelection','execute','editor','track-changes-discard-suggestion-not-found','TrackChangesEditing','canEditAt','plugins','_suggestions','discardSuggestion'];(function(_0x501df1,_0x306af9){const _0x278652=function(_0x555e9b){while(--_0x555e9b){_0x501df1['push'](_0x501df1['shift']());}};_0x278652(++_0x306af9);}(_0x306a,0x1b4));const _0x2786=function(_0x501df1,_0x306af9){_0x501df1=_0x501df1-0x0;let _0x278652=_0x306a[_0x501df1];return _0x278652;};import{Command as _0x214b19}from'ckeditor5/src/core';import{CKEditorError as _0x4cbf5c}from'ckeditor5/src/utils';export default class x extends _0x214b19{constructor(_0x3b7d53,_0x456cb4){super(_0x3b7d53),this['_suggestions']=_0x456cb4,this[_0x2786('0x4')](),this[_0x2786('0x6')]=!0x1;}[_0x2786('0x4')](){this['isEnabled']=!0x0;}[_0x2786('0x7')](_0x1c7ff8){const _0x2fe6f8=this[_0x2786('0x2')][_0x2786('0x5')](_0x1c7ff8);if(!_0x2fe6f8)throw new _0x4cbf5c(_0x2786('0x9'),this);const _0x1ad54d=_0x2fe6f8['getRanges']();this[_0x2786('0x8')]['model'][_0x2786('0x0')](_0x1ad54d)&&this[_0x2786('0x8')][_0x2786('0x1')][_0x2786('0x5')](_0x2786('0xa'))[_0x2786('0x3')](_0x2fe6f8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11a2=['_command','execute','some','model','from','editor','_isEnabledBasedOnSelection','isEnabled','canEditAt','_suggestions','values','refresh'];(function(_0x9cd0e8,_0x11a269){const _0x1df4ac=function(_0x7597){while(--_0x7597){_0x9cd0e8['push'](_0x9cd0e8['shift']());}};_0x1df4ac(++_0x11a269);}(_0x11a2,0x8d));const _0x1df4=function(_0x9cd0e8,_0x11a269){_0x9cd0e8=_0x9cd0e8-0x0;let _0x1df4ac=_0x11a2[_0x9cd0e8];return _0x1df4ac;};import{Command as _0x3db513}from'ckeditor5/src/core';import{sortSuggestions as _0x2c4819,executeCommandForSuggestions as _0x35a75d}from'../utils/utils';export default class E extends _0x3db513{constructor(_0x2153ff,_0x50785c,_0x520bc0){super(_0x2153ff),this['_command']=_0x50785c,this[_0x1df4('0x0')]=_0x520bc0,this[_0x1df4('0x2')](),this[_0x1df4('0x9')]=!0x1;}['refresh'](){const _0xd4fca3=Array[_0x1df4('0x7')](this['_suggestions'][_0x1df4('0x1')]())[_0x1df4('0x5')](_0x5843c2=>_0x5843c2['isInContent']);this[_0x1df4('0xa')]=this['_command'][_0x1df4('0xa')]&&_0xd4fca3;}[_0x1df4('0x4')](){const _0x48c376=_0x2c4819(Array[_0x1df4('0x7')](this[_0x1df4('0x0')][_0x1df4('0x1')]()));for(const _0x289ad5 of _0x48c376){const _0x4d1e33=_0x289ad5['getRanges']();if(!this[_0x1df4('0x8')][_0x1df4('0x6')][_0x1df4('0xb')](_0x4d1e33))return;}_0x35a75d(this[_0x1df4('0x8')]['model'],this[_0x1df4('0x3')],_0x48c376);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7d80=['from','document','refresh','_selectedSuggestions','editor','_command','size','selection','isEnabled','model','canEditAt','_isEnabledBasedOnSelection','execute','values','_suggestions'];(function(_0x47adc9,_0x7d80e7){const _0x56b613=function(_0xd5f9da){while(--_0xd5f9da){_0x47adc9['push'](_0x47adc9['shift']());}};_0x56b613(++_0x7d80e7);}(_0x7d80,0x191));const _0x56b6=function(_0x47adc9,_0x7d80e7){_0x47adc9=_0x47adc9-0x0;let _0x56b613=_0x7d80[_0x47adc9];return _0x56b613;};import{Command as _0x5c3c7c}from'ckeditor5/src/core';import{sortSuggestions as _0x2d1ca5,getSelectedSuggestions as _0x378d6a,executeCommandForSuggestions as _0x127499}from'../utils/utils';export default class R extends _0x5c3c7c{constructor(_0x45394f,_0x471efd,_0x195592){super(_0x45394f),this['_command']=_0x471efd,this[_0x56b6('0x3')]=_0x195592,this[_0x56b6('0x7')]=new Set(),this[_0x56b6('0x6')](),this[_0x56b6('0x0')]=!0x1;}['refresh'](){const _0x52ea12=this[_0x56b6('0x8')]['model'][_0x56b6('0x5')][_0x56b6('0xb')],_0x4d8974=Array[_0x56b6('0x4')](this['_suggestions'][_0x56b6('0x2')]());this[_0x56b6('0x7')]=_0x378d6a(_0x52ea12,_0x4d8974),this[_0x56b6('0xc')]=this['_command'][_0x56b6('0xc')]&&!!this[_0x56b6('0x7')][_0x56b6('0xa')];}[_0x56b6('0x1')](){const _0x1a26ef=_0x2d1ca5(Array[_0x56b6('0x4')](this[_0x56b6('0x7')]));for(const _0x10f514 of _0x1a26ef){const _0x172bda=_0x10f514['getRanges']();if(!this[_0x56b6('0x8')][_0x56b6('0xd')][_0x56b6('0xe')](_0x172bda))return;}_0x127499(this[_0x56b6('0x8')][_0x56b6('0xd')],this[_0x56b6('0x9')],_0x1a26ef);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dbc=['editor','value','refresh','has','affectsData','execute','TrackChangesCommand','_enabledCommands','clearForceDisabled','_isEnabledBasedOnSelection','forceDisabled','commands','_disableUnsupportedCommands','_enableCommands'];(function(_0x4f4bad,_0x5dbc8a){const _0x4d3ed1=function(_0x5319f7){while(--_0x5319f7){_0x4f4bad['push'](_0x4f4bad['shift']());}};_0x4d3ed1(++_0x5dbc8a);}(_0x5dbc,0x78));const _0x4d3e=function(_0x4f4bad,_0x5dbc8a){_0x4f4bad=_0x4f4bad-0x0;let _0x4d3ed1=_0x5dbc[_0x4f4bad];return _0x4d3ed1;};import{Command as _0x374c55}from'ckeditor5/src/core';export default class $ extends _0x374c55{constructor(_0x59f94a,_0x986076){super(_0x59f94a),this['_enabledCommands']=_0x986076,this[_0x4d3e('0x7')]=!0x1,this[_0x4d3e('0x8')](),this[_0x4d3e('0x1')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x4d3e('0xb')](){this[_0x4d3e('0x7')]=!this[_0x4d3e('0x7')],this[_0x4d3e('0x7')]?this[_0x4d3e('0x4')]():this[_0x4d3e('0x5')]();}[_0x4d3e('0x4')](){for(const _0x3fa897 of this[_0x4d3e('0x6')][_0x4d3e('0x3')][_0x4d3e('0x3')]())_0x3fa897[_0x4d3e('0xa')]&&!this[_0x4d3e('0xd')][_0x4d3e('0x9')](_0x3fa897)&&_0x3fa897[_0x4d3e('0x2')]('TrackChangesCommand');}[_0x4d3e('0x5')](){for(const _0x6c7bba of this[_0x4d3e('0x6')][_0x4d3e('0x3')]['commands']())_0x6c7bba['affectsData']&&!this[_0x4d3e('0xd')][_0x4d3e('0x9')](_0x6c7bba)&&_0x6c7bba[_0x4d3e('0x0')](_0x4d3e('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4edc=['commands','TrackChangesEditing','plugins','get','afterInit','showAIAssistant','enableCommand'];(function(_0xc0ef16,_0x4edc4e){const _0x4c0dee=function(_0x1613d8){while(--_0x1613d8){_0xc0ef16['push'](_0xc0ef16['shift']());}};_0x4c0dee(++_0x4edc4e);}(_0x4edc,0x96));const _0x4c0d=function(_0xc0ef16,_0x4edc4e){_0xc0ef16=_0xc0ef16-0x0;let _0x4c0dee=_0x4edc[_0xc0ef16];return _0x4c0dee;};import{Plugin as _0x1a1179}from'ckeditor5/src/core';export default class j extends _0x1a1179{[_0x4c0d('0x1')](){const _0x4839e1=this['editor'],_0x3c56f2=_0x4839e1[_0x4c0d('0x6')][_0x4c0d('0x0')](_0x4c0d('0x5'));_0x4839e1[_0x4c0d('0x4')]['get'](_0x4c0d('0x2'))&&_0x3c56f2[_0x4c0d('0x3')](_0x4c0d('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2daa=['TrackChangesEditing','get','registerDescriptionCallback','commandName','*Format:*\x20%0','FORMAT_ALIGNMENT','locale','afterInit','FORMAT_ALIGN_TO_LEFT','right','justify','plugins','AlignmentEditing','value','_registerLegacyDescription','_descriptionFactory','_enableDefaultAttributesIntegration','format','has','FORMAT_ALIGN_TO_RIGHT','alignment'];(function(_0x523c78,_0x2daac6){const _0x193db3=function(_0x208794){while(--_0x208794){_0x523c78['push'](_0x523c78['shift']());}};_0x193db3(++_0x2daac6);}(_0x2daa,0x1bd));const _0x193d=function(_0x523c78,_0x2daac6){_0x523c78=_0x523c78-0x0;let _0x193db3=_0x2daa[_0x523c78];return _0x193db3;};import{Plugin as _0x52f9e5}from'ckeditor5/src/core';import{getTranslation as _0x13a9df}from'../utils/common-translations';export default class U extends _0x52f9e5{[_0x193d('0x3')](){const _0x1e492b=this['editor'],_0x57af68=_0x1e492b['locale'];if(!_0x1e492b['plugins'][_0x193d('0xe')](_0x193d('0x8')))return;const _0x390bec=_0x1e492b[_0x193d('0x7')][_0x193d('0x12')](_0x193d('0x11'));_0x390bec[_0x193d('0xc')](_0x193d('0x10'),[],['alignment']),_0x390bec[_0x193d('0xb')]['registerAttributeLabel'](_0x193d('0x10'),_0x13a9df(_0x57af68,_0x193d('0x1'))),this[_0x193d('0xa')]();}[_0x193d('0xa')](){const _0x1ea97f=this['editor'],_0x3fefe8=_0x1ea97f[_0x193d('0x2')];_0x1ea97f[_0x193d('0x7')][_0x193d('0x12')]('TrackChangesEditing')[_0x193d('0xb')][_0x193d('0x13')](_0x6b2609=>{if('formatBlock'!=_0x6b2609['type'])return;const {data:_0x24fb0e}=_0x6b2609;if(_0x24fb0e&&'alignment'==_0x24fb0e[_0x193d('0x14')]){const _0x3b7f5a=_0x24fb0e['commandParams'][0x0][_0x193d('0x9')];return{'type':_0x193d('0xd'),'content':_0x13a9df(_0x3fefe8,_0x193d('0x0'),function(_0x56f82f){switch(_0x56f82f){case'left':return _0x13a9df(_0x3fefe8,_0x193d('0x4'));case _0x193d('0x5'):return _0x13a9df(_0x3fefe8,_0x193d('0xf'));case'center':return _0x13a9df(_0x3fefe8,'FORMAT_ALIGN_TO_CENTER');case _0x193d('0x6'):return _0x13a9df(_0x3fefe8,'FORMAT_JUSTIFY_TEXT');}}(_0x3b7f5a))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d2=['subscript','FORMAT_BOLD','FORMAT_UNDERLINE','italic','BoldEditing','type','_enableDefaultAttributesIntegration','FORMAT_SUPERSCRIPT','code','*Format:*\x20%0','strikethrough','_registerLegacyDescription','SuperscriptEditing','TrackChangesEditing','FORMAT_SUBSCRIPT','toUpperCase','FORMAT_','_descriptionFactory','ItalicEditing','FORMAT_STRIKETHROUGH','toLowerCase','CodeEditing','format','has','underline','StrikethroughEditing','afterInit','locale','bold','registerDescriptionCallback','commandName','SubscriptEditing','*Remove\x20format:*\x20%0','plugins','FORMAT_ITALIC','slice','get','editor','superscript'];(function(_0x1276fe,_0x52d265){const _0x1e1947=function(_0x29cff9){while(--_0x29cff9){_0x1276fe['push'](_0x1276fe['shift']());}};_0x1e1947(++_0x52d265);}(_0x52d2,0xb1));const _0x1e19=function(_0x1276fe,_0x52d265){_0x1276fe=_0x1276fe-0x0;let _0x1e1947=_0x52d2[_0x1276fe];return _0x1e1947;};import{Plugin as _0x2cca35}from'ckeditor5/src/core';import{getTranslation as _0x20a675}from'../utils/common-translations';const ti=[_0x1e19('0x16'),_0x1e19('0x24'),'UnderlineEditing',_0x1e19('0x0'),_0x1e19('0x4'),_0x1e19('0xa'),_0x1e19('0x1e')];export default class O extends _0x2cca35{[_0x1e19('0x5')](){const _0x1081e9=this[_0x1e19('0x10')],_0x28e6d5=_0x1081e9['plugins']['get']('TrackChangesEditing'),_0x3b961f=_0x1081e9[_0x1e19('0x6')];for(const _0x558e29 of ti){if(!_0x1081e9[_0x1e19('0xc')][_0x1e19('0x2')](_0x558e29))continue;const _0x41b0cb=_0x558e29[_0x1e19('0xe')](0x0,-0x7)[_0x1e19('0x26')](),_0xe59743=_0x1e19('0x22')+_0x41b0cb[_0x1e19('0x21')]();_0x28e6d5[_0x1e19('0x18')](_0x41b0cb,[_0x41b0cb]),_0x28e6d5[_0x1e19('0x23')]['registerAttributeLabel'](_0x41b0cb,_0x20a675(_0x3b961f,_0xe59743));}this[_0x1e19('0x1d')]();}['_registerLegacyDescription'](){const _0x24bbbf=this['editor'],_0x27978c=_0x24bbbf[_0x1e19('0x6')],_0x154ede=_0x24bbbf[_0x1e19('0xc')][_0x1e19('0xf')](_0x1e19('0x1f'));function _0x218d6a(_0x18b908,_0xdcfc53){_0x154ede['_descriptionFactory'][_0x1e19('0x8')](_0x31e02e=>{if('formatInline'!=_0x31e02e[_0x1e19('0x17')])return;const {data:_0x306dff}=_0x31e02e;return _0x306dff&&_0x306dff[_0x1e19('0x9')]===_0x18b908?_0x306dff['commandParams'][0x0]['forceValue']?{'type':_0x1e19('0x1'),'content':_0x20a675(_0x27978c,_0x1e19('0x1b'),_0xdcfc53)}:{'type':_0x1e19('0x1'),'content':_0x20a675(_0x27978c,_0x1e19('0xb'),_0xdcfc53)}:void 0x0;});}_0x218d6a(_0x1e19('0x7'),_0x20a675(_0x27978c,_0x1e19('0x13'))),_0x218d6a(_0x1e19('0x15'),_0x20a675(_0x27978c,_0x1e19('0xd'))),_0x218d6a(_0x1e19('0x3'),_0x20a675(_0x27978c,_0x1e19('0x14'))),_0x218d6a(_0x1e19('0x1a'),_0x20a675(_0x27978c,'FORMAT_CODE')),_0x218d6a(_0x1e19('0x1c'),_0x20a675(_0x27978c,_0x1e19('0x25'))),_0x218d6a(_0x1e19('0x12'),_0x20a675(_0x27978c,_0x1e19('0x20'))),_0x218d6a(_0x1e19('0x11'),_0x20a675(_0x27978c,_0x1e19('0x19')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36c9=['name','commands','format','filter','$root','_descriptionFactory','plugins','enableCommand','change','blockQuote','getSelectedBlocks','commandParams','markBlockFormat','checkChild','model','forceValue','parent','document','selection','has','schema','BlockQuoteEditing','locale','get','editor','registerDescriptionCallback','afterInit'];(function(_0x102444,_0x36c95d){const _0x2d26d0=function(_0x2bd52c){while(--_0x2bd52c){_0x102444['push'](_0x102444['shift']());}};_0x2d26d0(++_0x36c95d);}(_0x36c9,0xa7));const _0x2d26=function(_0x102444,_0x36c95d){_0x102444=_0x102444-0x0;let _0x2d26d0=_0x36c9[_0x102444];return _0x2d26d0;};import{Plugin as _0x2b68ed}from'ckeditor5/src/core';import{getTranslation as _0x96a52c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5c872a}from'../utils/utils';export default class V extends _0x2b68ed{[_0x2d26('0x15')](){const _0x14141b=this[_0x2d26('0x13')],_0x46ff14=_0x14141b[_0x2d26('0x11')];if(!_0x14141b[_0x2d26('0x1')][_0x2d26('0xe')](_0x2d26('0x10')))return;const _0x43bda7=_0x14141b[_0x2d26('0x1')][_0x2d26('0x12')]('TrackChangesEditing'),_0xdb8875=this['editor'][_0x2d26('0x17')][_0x2d26('0x12')](_0x2d26('0x4'));_0x43bda7[_0x2d26('0x2')](_0x2d26('0x4'),(_0x2bc587,_0x582533={})=>{const _0x3de22c=this[_0x2d26('0x13')][_0x2d26('0x9')][_0x2d26('0xc')][_0x2d26('0xd')],_0x15d438=_0x582533&&void 0x0!==_0x582533[_0x2d26('0xa')]?_0x582533[_0x2d26('0xa')]:!_0xdb8875['value'];let _0x3c50be=[];if(_0x15d438){const _0x4e1e90=Array['from'](_0x3de22c[_0x2d26('0x5')]())[_0x2d26('0x19')](_0x21ea0c=>oo(_0x21ea0c)||function(_0x5787a0,_0x2b4597){const _0x7b4a82=_0x2b4597[_0x2d26('0x8')](_0x5787a0['parent'],'blockQuote'),_0x13dbac=_0x2b4597[_0x2d26('0x8')]([_0x2d26('0x1a'),'blockQuote'],_0x5787a0);return _0x7b4a82&&_0x13dbac;}(_0x21ea0c,this[_0x2d26('0x13')]['model'][_0x2d26('0xf')]));_0x3c50be=_0x5c872a(_0x4e1e90,_0x14141b[_0x2d26('0x9')]);}else{const _0x5e3af4=Array['from'](_0x3de22c[_0x2d26('0x5')]())[_0x2d26('0x19')](_0x5149ba=>oo(_0x5149ba));_0x3c50be=_0x5c872a(_0x5e3af4,_0x14141b['model']);}_0x14141b[_0x2d26('0x9')][_0x2d26('0x3')](()=>{for(const _0x10a052 of _0x3c50be)_0x43bda7[_0x2d26('0x7')](_0x10a052,{'commandName':_0x2d26('0x4'),'commandParams':[{'forceValue':_0x15d438}]});});}),_0x43bda7[_0x2d26('0x0')][_0x2d26('0x14')](_0x14f942=>{const {data:_0x77eea9}=_0x14f942;if(_0x77eea9&&_0x2d26('0x4')==_0x77eea9['commandName']){const _0x117421=_0x96a52c(_0x46ff14,'ELEMENT_BLOCK_QUOTE');return _0x77eea9[_0x2d26('0x6')][0x0][_0x2d26('0xa')]?{'type':'format','content':_0x96a52c(_0x46ff14,'*Set\x20format:*\x20%0',_0x117421)}:{'type':_0x2d26('0x18'),'content':_0x96a52c(_0x46ff14,'*Remove\x20format:*\x20%0',_0x117421)};}});}}function oo(_0x28b4ea){return _0x2d26('0x4')==_0x28b4ea[_0x2d26('0xb')][_0x2d26('0x16')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dcd=['plugins','TrackChangesEditing','commands','ckbox'];(function(_0x3fff4c,_0x1dcd28){const _0x1499da=function(_0x4c0e63){while(--_0x4c0e63){_0x3fff4c['push'](_0x3fff4c['shift']());}};_0x1499da(++_0x1dcd28);}(_0x1dcd,0x171));const _0x1499=function(_0x3fff4c,_0x1dcd28){_0x3fff4c=_0x3fff4c-0x0;let _0x1499da=_0x1dcd[_0x3fff4c];return _0x1499da;};import{Plugin as _0x5bdb14}from'ckeditor5/src/core';export default class F extends _0x5bdb14{['afterInit'](){const _0x416380=this['editor'];_0x416380[_0x1499('0x1')]['get'](_0x1499('0x2'))&&_0x416380[_0x1499('0x3')]['get'](_0x1499('0x0'))['enableCommand'](_0x1499('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50e1=['CodeBlock','selection','schema','*Set\x20format:*\x20%0','from','locale','registerElementLabel','plugins','format','toLowerCase','parent','_descriptionFactory','get','type','getSelectedBlocks','afterInit','commandParams','ELEMENT_CODE_BLOCK','markBlockFormat','model','TrackChangesEditing','find','registerDescriptionCallback','languages','language','editor','label','isLimit','filter','config','enableCommand','commandName','change','codeBlock','value','name','rootElement','has','indentCodeBlock','forceValue'];(function(_0x5285ab,_0x50e12e){const _0x6efae3=function(_0x19cc36){while(--_0x19cc36){_0x5285ab['push'](_0x5285ab['shift']());}};_0x6efae3(++_0x50e12e);}(_0x50e1,0x1be));const _0x6efa=function(_0x5285ab,_0x50e12e){_0x5285ab=_0x5285ab-0x0;let _0x6efae3=_0x50e1[_0x5285ab];return _0x6efae3;};import{Plugin as _0x38a6da}from'ckeditor5/src/core';import{getTranslation as _0x266d13}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x214738}from'../utils/utils';export default class G extends _0x38a6da{[_0x6efa('0x9')](){const _0xb9a802=this[_0x6efa('0x13')];if(!_0xb9a802[_0x6efa('0x1')][_0x6efa('0x1f')](_0x6efa('0x22')))return;const _0x5a9ba9=_0xb9a802[_0x6efa('0x1')]['get'](_0x6efa('0xe')),_0x20abd1=_0xb9a802[_0x6efa('0x27')],_0x36589c=_0xb9a802[_0x6efa('0x17')][_0x6efa('0x6')](_0x6efa('0x1b'))[_0x6efa('0x11')],_0x5109e2=_0xb9a802['commands'][_0x6efa('0x6')](_0x6efa('0x1b'));_0x5a9ba9['enableCommand'](_0x6efa('0x20')),_0x5a9ba9[_0x6efa('0x18')]('outdentCodeBlock'),_0x5a9ba9['enableCommand'](_0x6efa('0x1b'),(_0x541c74,_0x47d08b={})=>{const _0x503be2=_0xb9a802[_0x6efa('0xd')],_0xdc7357=_0xb9a802[_0x6efa('0xd')]['document'][_0x6efa('0x23')],_0x3cb057=_0x47d08b&&void 0x0!==_0x47d08b['forceValue']?_0x47d08b[_0x6efa('0x21')]:!_0x5109e2[_0x6efa('0x1c')];let _0x4dee4a;_0x47d08b[_0x6efa('0x12')]||(_0x47d08b[_0x6efa('0x12')]=_0x36589c[0x0][_0x6efa('0x12')]),_0x4dee4a=_0x3cb057?Array[_0x6efa('0x26')](_0xdc7357[_0x6efa('0x8')]())[_0x6efa('0x16')](_0x2211c9=>eo(_0x2211c9)||function(_0x4c78f5,_0x4c51fb){if(_0x4c78f5['is'](_0x6efa('0x1e'))||_0x4c51fb[_0x6efa('0x15')](_0x4c78f5))return!0x1;return _0x4c51fb['checkChild'](_0x4c78f5[_0x6efa('0x4')],_0x6efa('0x1b'));}(_0x2211c9,_0x503be2[_0x6efa('0x24')])):Array[_0x6efa('0x26')](_0xdc7357[_0x6efa('0x8')]())[_0x6efa('0x16')](_0x5718fb=>eo(_0x5718fb));const _0x357982=_0x214738(_0x4dee4a,_0x503be2);_0x503be2[_0x6efa('0x1a')](()=>{for(const _0x4be54d of _0x357982)_0x5a9ba9[_0x6efa('0xc')](_0x4be54d,{'commandName':_0x6efa('0x1b'),'commandParams':[{..._0x47d08b,'forceValue':_0x3cb057}],'formatGroupId':'blockName'});});}),(_0x5a9ba9[_0x6efa('0x5')][_0x6efa('0x0')](_0x6efa('0x1b'),_0x572a3c=>_0x266d13(_0x20abd1,_0x6efa('0xb'),_0x572a3c)),_0x5a9ba9['_descriptionFactory'][_0x6efa('0x10')](_0x2476df=>{if('formatBlock'!=_0x2476df[_0x6efa('0x7')])return;const _0x11ec81=_0x20abd1['t'],{data:_0xa1e0e}=_0x2476df;if(!_0xa1e0e||_0x6efa('0x1b')!=_0xa1e0e[_0x6efa('0x19')])return;const _0xb6480f=_0xa1e0e['commandParams'][0x0][_0x6efa('0x12')],_0x15a87c=_0x11ec81(_0x36589c[_0x6efa('0xf')](_0x3eacbe=>_0x3eacbe['language']===_0xb6480f)[_0x6efa('0x14')])[_0x6efa('0x3')]();return _0xa1e0e[_0x6efa('0xa')][0x0][_0x6efa('0x21')]?{'type':_0x6efa('0x2'),'content':_0x266d13(_0x20abd1,_0x6efa('0x25'),_0x266d13(_0x20abd1,_0x6efa('0xb'),0x1)+'\x20('+_0x15a87c+')')}:{'type':_0x6efa('0x2'),'content':_0x266d13(_0x20abd1,'*Remove\x20format:*\x20%0',_0x266d13(_0x20abd1,_0x6efa('0xb'),0x1))};}));}}function eo(_0x5539d8){return _0x6efa('0x1b')==_0x5539d8[_0x6efa('0x1d')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd8f1=['TrackChangesEditing','get','addCommentThread','has','afterInit','CommentsEditing','enableCommand','editor','plugins'];(function(_0x371632,_0x22ef5a){const _0x19992e=function(_0x48bab3){while(--_0x48bab3){_0x371632['push'](_0x371632['shift']());}};_0x19992e(++_0x22ef5a);}(_0xd8f1,0x14b));const _0x22ef=function(_0x371632,_0x22ef5a){_0x371632=_0x371632-0x0;let _0x19992e=_0xd8f1[_0x371632];return _0x19992e;};import{Plugin as _0x363079}from'ckeditor5/src/core';export default class L extends _0x363079{[_0x22ef('0x6')](){const _0x5ad90b=this[_0x22ef('0x0')];if(!_0x5ad90b[_0x22ef('0x1')][_0x22ef('0x5')](_0x22ef('0x7')))return;_0x5ad90b[_0x22ef('0x1')][_0x22ef('0x3')](_0x22ef('0x2'))[_0x22ef('0x8')](_0x22ef('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b4e=['editing','getFirstRange','high','get','document','mapper','isCollapsed','showSuggestionHighlights','downcastDispatcher','model','unbindElementFromMarkerName','requires','forward','createRange','merge','enableCommand','editor','deleteForward','root','buffer','addMarker:suggestion:deletion','options','writer','remove','selection','batch','start','enqueueChange','commands','bind','delete','TrackChangesEditing','init','setSelection','markerName','modifySelection','end'];(function(_0xeda87f,_0x1b4ecc){const _0x3a7503=function(_0x36325d){while(--_0x36325d){_0xeda87f['push'](_0xeda87f['shift']());}};_0x3a7503(++_0x1b4ecc);}(_0x1b4e,0xa2));const _0x3a75=function(_0xeda87f,_0x1b4ecc){_0xeda87f=_0xeda87f-0x0;let _0x3a7503=_0x1b4e[_0xeda87f];return _0x3a7503;};import{Plugin as _0x374a63}from'ckeditor5/src/core';import{LiveRange as _0x5ccc3c}from'ckeditor5/src/engine';import{Delete as _0x1d824c}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2bf4c0}from'./utils';export default class H extends _0x374a63{static get[_0x3a75('0x22')](){return[_0x1d824c];}[_0x3a75('0x12')](){const _0x26ff00=this[_0x3a75('0x2')],_0x37abf6=_0x26ff00['plugins'][_0x3a75('0x1a')](_0x3a75('0x11'));_0x37abf6[_0x3a75('0x1')](_0x3a75('0x10'));const _0x2167d9=_0x26ff00[_0x3a75('0xe')][_0x3a75('0x1a')](_0x3a75('0x3'));_0x37abf6['enableCommand'](_0x3a75('0x3'),(_0x2c818d,_0x294ac5={})=>{const _0x57da98=_0x26ff00[_0x3a75('0x20')]['createSelection'](_0x26ff00['model'][_0x3a75('0x1b')][_0x3a75('0xa')]);_0x57da98[_0x3a75('0x1d')]&&_0x26ff00[_0x3a75('0x20')][_0x3a75('0x15')](_0x57da98,{'direction':_0x3a75('0x23'),'unit':_0x294ac5['unit']});const _0x406bd4=_0x57da98[_0x3a75('0x18')](),_0x47836c=_0x5ccc3c['fromRange'](_0x406bd4);let _0x4d905c;_0x2c818d(_0x294ac5),_0x4d905c='$graveyard'==_0x47836c[_0x3a75('0x4')]['rootName']?_0x26ff00[_0x3a75('0x20')][_0x3a75('0x24')](_0x406bd4[_0x3a75('0xc')]):_0x26ff00[_0x3a75('0x20')][_0x3a75('0x24')](_0x47836c['start'],_0x47836c[_0x3a75('0x16')]),_0x47836c['detach'](),_0x26ff00[_0x3a75('0x20')][_0x3a75('0xd')](_0x2167d9[_0x3a75('0x5')][_0x3a75('0xb')],_0x2f5ac1=>{_0x2167d9['buffer']['lock'](),_0x2f5ac1[_0x3a75('0x13')](_0x2f5ac1[_0x3a75('0x24')](_0x4d905c['end'])),_0x2167d9[_0x3a75('0x5')]['unlock']();});}),_0x26ff00[_0x3a75('0x17')][_0x3a75('0x1f')]['on'](_0x3a75('0x6'),_0x2bf4c0(_0x26ff00,_0x3a75('0x0')),{'priority':_0x3a75('0x19')}),_0x26ff00['data'][_0x3a75('0x1f')]['on']('addMarker:suggestion:deletion',(_0xf2825e,_0x1c21cb,_0x2ce44d)=>{_0x2ce44d[_0x3a75('0x7')][_0x3a75('0x1e')]&&_0x2bf4c0(_0x26ff00,_0x3a75('0x0'),{'showActiveMarker':!0x1})[_0x3a75('0xf')](this)(_0xf2825e,_0x1c21cb,_0x2ce44d);},{'priority':_0x3a75('0x19')}),_0x26ff00['editing'][_0x3a75('0x1f')]['on']('removeMarker:suggestion:deletion',(_0x51ce98,_0x26d4f4,_0x25e00f)=>{const _0x7a024f=_0x25e00f['mapper']['markerNameToElements'](_0x26d4f4['markerName']);if(_0x7a024f)for(const _0x4a6a79 of _0x7a024f)_0x4a6a79['is']('uiElement')&&(_0x25e00f[_0x3a75('0x1c')][_0x3a75('0x21')](_0x4a6a79,_0x26d4f4[_0x3a75('0x14')]),_0x25e00f[_0x3a75('0x8')][_0x3a75('0x9')](_0x4a6a79));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbc95=['deletion','createPositionAt','getAttribute','toUpperCase','has','after','getRanges','end','getSelectedBlocks','listIndent','type','from','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','selection','findIndex','registerDescriptionCallback','list.multiBlock','detach','paragraph','listItemId','isObject','DocumentListEditing','document','commands','getFirstRange','isFirstBlockOfListItem','push','numberedList','splitListItemBefore','createRange','commandParams','ELEMENT_','nodeAfter','*Merge:*\x20%0','editor','formatInline','splitListItemAfter','accept','next','config','commandName','*Format:*\x20remove\x20from\x20%0','get','fromRange','multipleBlocks','add','_LIST','map','setSelection','ELEMENT_BULLETED_LIST','model','*Indent:*\x20%0','change','DocumentListUtils','indentList','_suggestionFactory','registerElementLabel','outdentList','ELEMENT_NUMBERED_LIST','enableCommand','hasAttribute','formatBlock','nextSibling','_descriptionFactory','value','mergeListItemBackward','schema','execute','format','markBlockFormat','locale','start','plugins','*Outdent:*\x20%0','documentList','refresh','TrackChangesEditing','listType','before','bulletedList'];(function(_0x591765,_0xbc9514){const _0x5ec86d=function(_0x3c7605){while(--_0x3c7605){_0x591765['push'](_0x591765['shift']());}};_0x5ec86d(++_0xbc9514);}(_0xbc95,0x1da));const _0x5ec8=function(_0x591765,_0xbc9514){_0x591765=_0x591765-0x0;let _0x5ec86d=_0xbc95[_0x591765];return _0x5ec86d;};import{Plugin as _0xf384a0}from'ckeditor5/src/core';import{getTranslation as _0x2b3fd1}from'../utils/common-translations';import{LiveRange as _0xdafcce}from'ckeditor5/src/engine';export default class q extends _0xf384a0{['afterInit'](){const _0x351295=this[_0x5ec8('0x2f')];if(!_0x351295[_0x5ec8('0x4')][_0x5ec8('0x10')](_0x5ec8('0x22')))return;const _0x420b87=_0x351295[_0x5ec8('0x2')],_0x55f816=_0x351295[_0x5ec8('0x4')][_0x5ec8('0x37')](_0x5ec8('0x8')),_0x441bdd=_0x351295[_0x5ec8('0x4')][_0x5ec8('0x37')](_0x5ec8('0x42'));function _0x58c502(_0x60de47){return()=>{const _0x34b317=_0x351295['commands'][_0x5ec8('0x37')](_0x60de47);if(_0x34b317['value']&&!_0x351295[_0x5ec8('0x34')][_0x5ec8('0x37')](_0x5ec8('0x1d')))return void _0x351295[_0x5ec8('0x50')](_0x5ec8('0x1f'),{});let _0x409d02=Array[_0x5ec8('0x17')](_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x23')][_0x5ec8('0x1a')][_0x5ec8('0x14')]());if(_0x1ab306(_0x60de47)){_0x409d02=_0x441bdd['expandListBlocksToCompleteList'](_0x409d02);const _0xcb6ddb=[];for(const _0x2ab224 of _0x409d02)_0x441bdd[_0x5ec8('0x26')](_0x2ab224)&&_0xcb6ddb['push'](_0x2ab224);_0x409d02=_0xcb6ddb;}_0x351295[_0x5ec8('0x3f')]['change'](()=>{_0x55f816[_0x5ec8('0x18')](_0x409d02,{'commandName':_0x60de47,'commandParams':[{'forceValue':!_0x34b317[_0x5ec8('0x4d')]}],'formatGroupId':_0x5ec8('0x9')},[],'documentList');});};}function _0x353552(_0x1ed9d0){return()=>{const _0x42f42b=function(_0x534962){let _0x377162=Array[_0x5ec8('0x17')](_0x534962);const _0x3aa17b=_0x377162[_0x5ec8('0x1b')](_0x3bb20d=>!_0x3bb20d[_0x5ec8('0x49')](_0x5ec8('0x20')));return _0x3aa17b>-0x1&&(_0x377162=_0x377162['slice'](0x0,_0x3aa17b)),_0x377162;}(_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x23')][_0x5ec8('0x1a')][_0x5ec8('0x14')]()),_0x192702=_0x42f42b[_0x42f42b['length']-0x1],_0x460dc3=_0x351295[_0x5ec8('0x3f')]['schema'][_0x5ec8('0x21')](_0x192702)?_0x5ec8('0x11'):_0x5ec8('0x13'),_0x23f433=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x2a')](_0x351295[_0x5ec8('0x3f')]['createPositionAt'](_0x42f42b[0x0],_0x5ec8('0xa')),_0x351295[_0x5ec8('0x3f')][_0x5ec8('0xd')](_0x192702,_0x460dc3));_0x351295['model'][_0x5ec8('0x41')](()=>{_0x55f816[_0x5ec8('0x1')](_0x23f433,{'commandName':_0x1ed9d0,'commandParams':[],'formatGroupId':_0x5ec8('0x9')},function(_0x18e29a){const _0x49369d=new Set();for(const _0x2afb90 of _0x18e29a){let _0x411539=_0x2afb90[_0x5ec8('0x4b')];for(;_0x411539&&_0x411539['getAttribute'](_0x5ec8('0x15'))>_0x2afb90[_0x5ec8('0xe')](_0x5ec8('0x15'));)_0x49369d[_0x5ec8('0x3a')](_0x411539),_0x411539=_0x411539[_0x5ec8('0x4b')];}return Array[_0x5ec8('0x17')](_0x49369d);}(_0x42f42b));});};}function _0x44b6be(_0xda72ac){return()=>{const _0x271718=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x23')][_0x5ec8('0x1a')][_0x5ec8('0x14')]()[_0x5ec8('0x33')]()[_0x5ec8('0x4d')],_0x1cc66d=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0xd')](_0x271718,_0x5ec8('0xa')),_0x5d078c=_0x351295[_0x5ec8('0x3f')]['createPositionAt'](_0x271718,0x0),_0x3ef67c=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x2a')](_0x1cc66d,_0x5d078c);_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x41')](()=>{_0x55f816['markBlockFormat'](_0x3ef67c,{'commandName':_0xda72ac,'commandParams':[],'formatGroupId':_0x5ec8('0x9')});});};}function _0x1ab306(_0x2f17a7){const _0x103daf=_0x351295[_0x5ec8('0x24')][_0x5ec8('0x37')](_0x5ec8('0xb'))['value'],_0x56e017=_0x351295[_0x5ec8('0x24')][_0x5ec8('0x37')](_0x5ec8('0x28'))[_0x5ec8('0x4d')];return _0x5ec8('0x28')===_0x2f17a7?_0x103daf:_0x56e017;}_0x55f816[_0x5ec8('0x48')](_0x5ec8('0x28'),_0x58c502(_0x5ec8('0x28'))),_0x55f816['enableCommand'](_0x5ec8('0xb'),_0x58c502('bulletedList')),_0x55f816[_0x5ec8('0x48')](_0x5ec8('0x43'),_0x353552(_0x5ec8('0x43'))),_0x55f816[_0x5ec8('0x48')]('outdentList',_0x353552(_0x5ec8('0x46'))),_0x55f816[_0x5ec8('0x48')](_0x5ec8('0x31'),_0x44b6be(_0x5ec8('0x31'))),_0x55f816[_0x5ec8('0x48')](_0x5ec8('0x29'),_0x44b6be(_0x5ec8('0x29'))),_0x55f816[_0x5ec8('0x4c')][_0x5ec8('0x45')](function(_0x2e34f8){const _0x1741f8=!_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x4f')][_0x5ec8('0x21')](_0x2e34f8),_0x10c2ef=_0x2e34f8['previousSibling'],_0x386304=_0x2e34f8[_0x5ec8('0x4b')],_0x10663e=_0x2e34f8['getAttribute'](_0x5ec8('0x20')),_0x2697b3=!_0x10c2ef||_0x10c2ef[_0x5ec8('0xe')]('listItemId')!==_0x10663e,_0x52b020=!_0x386304||_0x386304[_0x5ec8('0xe')](_0x5ec8('0x20'))!==_0x10663e;return _0x1741f8&&Boolean(_0x10663e)&&_0x2697b3&&_0x52b020;},_0x155f0d=>_0x2b3fd1(_0x420b87,'ELEMENT_LIST_ITEM',_0x155f0d)),_0x55f816['_descriptionFactory'][_0x5ec8('0x1c')](function(_0x2145bf){if('formatBlock'!=_0x2145bf[_0x5ec8('0x16')]&&_0x5ec8('0x30')!=_0x2145bf[_0x5ec8('0x16')])return;const {data:_0x3c7539}=_0x2145bf;if(!_0x3c7539)return;let _0x59b6f8,_0x410a1e,_0x1b4a8e,_0x22a7d9;switch(_0x3c7539[_0x5ec8('0x35')]){case _0x5ec8('0xb'):_0x1b4a8e=_0x3c7539['commandParams'][0x0]['forceValue'],_0x22a7d9=_0x1ab306(_0x3c7539[_0x5ec8('0x35')]),_0x59b6f8=_0x1b4a8e?'*Format:*\x20insert\x20into\x20%0':_0x5ec8('0x36'),!_0x22a7d9&&_0x351295[_0x5ec8('0x34')][_0x5ec8('0x37')]('list.multiBlock')||(_0x59b6f8=_0x5ec8('0x19')),_0x410a1e={'type':_0x5ec8('0x0'),'content':_0x2b3fd1(_0x420b87,_0x59b6f8,_0x2b3fd1(_0x420b87,_0x5ec8('0x3e')))};break;case _0x5ec8('0x28'):_0x1b4a8e=_0x3c7539['commandParams'][0x0]['forceValue'],_0x22a7d9=_0x1ab306(_0x3c7539[_0x5ec8('0x35')]),_0x59b6f8=_0x1b4a8e?'*Format:*\x20insert\x20into\x20%0':_0x5ec8('0x36'),!_0x22a7d9&&_0x351295[_0x5ec8('0x34')][_0x5ec8('0x37')](_0x5ec8('0x1d'))||(_0x59b6f8=_0x5ec8('0x19')),_0x410a1e={'type':'format','content':_0x2b3fd1(_0x420b87,_0x59b6f8,_0x2b3fd1(_0x420b87,_0x5ec8('0x47')))};break;case'indentList':_0x59b6f8=_0x5ec8('0x40'),_0x410a1e={'type':_0x5ec8('0x0'),'content':_0x2b3fd1(_0x420b87,_0x59b6f8,_0x2b3fd1(_0x420b87,'ELEMENT_LIST_ITEM'))};break;case _0x5ec8('0x46'):_0x59b6f8=function(_0x4db332){const _0x321936=_0x4db332[_0x5ec8('0x25')]();let _0x4045e0=_0x321936[_0x5ec8('0x3')][_0x5ec8('0x2d')];for(;_0x4045e0&&_0x321936['containsItem'](_0x4045e0);){if(_0x4045e0['getAttribute'](_0x5ec8('0x15'))>0x0)return!0x1;_0x4045e0=_0x4045e0[_0x5ec8('0x4b')];}return!0x0;}(_0x2145bf)?_0x2b3fd1(_0x420b87,_0x5ec8('0x36'),_0x2b3fd1(_0x420b87,function(_0x38e3cf){const _0x3d9961=_0x38e3cf['getFirstRange']()[_0x5ec8('0x3')]['nodeAfter'];return _0x5ec8('0x2c')+_0x3d9961[_0x5ec8('0xe')](_0x5ec8('0x9'))[_0x5ec8('0xf')]()+_0x5ec8('0x3b');}(_0x2145bf))):_0x2b3fd1(_0x420b87,_0x5ec8('0x5'),_0x2b3fd1(_0x420b87,'ELEMENT_LIST_ITEM')),_0x410a1e={'type':_0x5ec8('0x0'),'content':_0x59b6f8};break;case _0x5ec8('0x4e'):case'mergeListItemForward':!0x1===_0x3c7539[_0x5ec8('0x39')]&&(_0x59b6f8=_0x5ec8('0x2e'),_0x410a1e={'type':_0x5ec8('0xc'),'content':_0x2b3fd1(_0x420b87,_0x59b6f8,_0x2b3fd1(_0x420b87,'ELEMENT_LIST_ITEM'))});}return _0x410a1e;}),_0x55f816[_0x5ec8('0x44')]['registerCustomCallback'](_0x5ec8('0x4a'),_0x5ec8('0x6'),_0x5ec8('0x32'),function(_0xbaa6f1,_0x2cbbd6){const _0x16bf13=[];for(let _0x4a62a7 of _0xbaa6f1)_0x4a62a7[_0x5ec8('0x3')][_0x5ec8('0x2d')]===_0x4a62a7[_0x5ec8('0x13')]['parent']&&(_0x4a62a7=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x2a')](_0x351295[_0x5ec8('0x3f')][_0x5ec8('0xd')](_0x4a62a7['start'][_0x5ec8('0x2d')],0x0))),_0x16bf13[_0x5ec8('0x27')](_0x4a62a7);_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x41')](_0x2a0ffd=>{const _0x4d7708=_0x351295[_0x5ec8('0x3f')][_0x5ec8('0x23')][_0x5ec8('0x1a')],_0x18e05a=Array[_0x5ec8('0x17')](_0x4d7708[_0x5ec8('0x12')]())[_0x5ec8('0x3c')](_0x33a91e=>_0xdafcce[_0x5ec8('0x38')](_0x33a91e));_0x2a0ffd[_0x5ec8('0x3d')](_0x16bf13),_0x351295[_0x5ec8('0x24')][_0x5ec8('0x37')](_0x2cbbd6[_0x5ec8('0x35')])[_0x5ec8('0x7')](),_0x2cbbd6[_0x5ec8('0x2b')][_0x5ec8('0x27')]({'forceDefaultExecution':!0x0}),_0x351295[_0x5ec8('0x50')](_0x2cbbd6['commandName'],..._0x2cbbd6[_0x5ec8('0x2b')]),_0x2a0ffd['setSelection'](_0x18e05a);for(const _0x5c702f of _0x18e05a)_0x5c702f[_0x5ec8('0x1e')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f1a=['commandParams','bind','DocumentListUtils','startIndex','get','_descriptionFactory','handleDescriptions','DocumentListPropertiesEditing','listReversed','_getTranslationKeyForListStyle','numbered','document','getListTypeFromListStyleType','handleListStyleCommand','isListItemBlock','replace','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','TrackChangesEditing','afterInit','enableCommand','DocumentListPropertiesUtils','format','*Format:*\x20set\x20order\x20to\x20regular','locale','has','from','toUpperCase','model','_getSuggestionBlocks','handleListReversedCommand','filter','*Format:*\x20set\x20start\x20index\x20to\x20%0','expandListBlocksToCompleteList','_getSuggestionBlocksForListStyle','*Change\x20to:*\x20%0','editor','styles','listStart','_LIST_','change','plugins','getAttribute','length','selection','config','push','handleListStartCommand','registerDescriptionCallback','commandName','reversed','type'];(function(_0x412dba,_0x3f1a0a){const _0x356b90=function(_0x4f00f6){while(--_0x4f00f6){_0x412dba['push'](_0x412dba['shift']());}};_0x356b90(++_0x3f1a0a);}(_0x3f1a,0x176));const _0x356b=function(_0x412dba,_0x3f1a0a){_0x412dba=_0x412dba-0x0;let _0x356b90=_0x3f1a[_0x412dba];return _0x356b90;};import{Plugin as _0x209730}from'ckeditor5/src/core';import{getTranslation as _0x2ae9a1}from'../utils/common-translations';export default class z extends _0x209730{[_0x356b('0x9')](){if(!this['editor'][_0x356b('0x1f')][_0x356b('0xf')](_0x356b('0x31')))return;const _0x5ada8a=this[_0x356b('0x1a')][_0x356b('0x23')]['get']('list.properties'),_0x6bfa32=this[_0x356b('0x1a')]['plugins'][_0x356b('0x2e')](_0x356b('0x8'));_0x5ada8a[_0x356b('0x1b')]&&_0x6bfa32[_0x356b('0xa')]('listStyle',this[_0x356b('0x3')][_0x356b('0x2b')](this)),_0x5ada8a[_0x356b('0x28')]&&_0x6bfa32[_0x356b('0xa')](_0x356b('0x32'),this[_0x356b('0x14')][_0x356b('0x2b')](this)),_0x5ada8a[_0x356b('0x2d')]&&_0x6bfa32[_0x356b('0xa')](_0x356b('0x1c'),this[_0x356b('0x25')][_0x356b('0x2b')](this)),_0x6bfa32[_0x356b('0x2f')][_0x356b('0x26')](this[_0x356b('0x30')][_0x356b('0x2b')](this));}[_0x356b('0x3')](_0x8494a3,_0x396b4d={}){const _0x11f23b=this['editor'][_0x356b('0x1f')][_0x356b('0x2e')](_0x356b('0x8')),_0x2f4204=this[_0x356b('0x18')]();this[_0x356b('0x1a')][_0x356b('0x12')][_0x356b('0x1e')](()=>{_0x11f23b['markMultiRangeBlockFormat'](_0x2f4204,{'commandName':_0x356b('0x6'),'commandParams':[{'type':_0x396b4d[_0x356b('0x29')]}],'formatGroupId':'listStyle'});});}[_0x356b('0x14')](_0x476d3f,_0x218f0d={}){const _0x32eb23=this['editor'][_0x356b('0x1f')]['get'](_0x356b('0x8')),_0x32fbfe=this['editor'][_0x356b('0x1f')][_0x356b('0x2e')](_0x356b('0x2c')),_0x1c6a29=this['_getSuggestionBlocks'](_0x2562a9=>_0x32fbfe[_0x356b('0x4')](_0x2562a9)&&_0x356b('0x0')===_0x2562a9[_0x356b('0x20')]('listType'));null!==_0x1c6a29&&this['editor'][_0x356b('0x12')][_0x356b('0x1e')](()=>{_0x32eb23['markMultiRangeBlockFormat'](_0x1c6a29,{'commandName':'listReversed','commandParams':[{'reversed':_0x218f0d[_0x356b('0x28')]}],'formatGroupId':'listReversed'});});}[_0x356b('0x25')](_0xcb7c8d,_0x5ec859={}){const _0xef4c52=this[_0x356b('0x1a')][_0x356b('0x1f')]['get']('TrackChangesEditing'),_0x5a73c2=this[_0x356b('0x1a')][_0x356b('0x1f')]['get']('DocumentListUtils'),_0x31dc73=this[_0x356b('0x13')](_0x52f3af=>_0x5a73c2[_0x356b('0x4')](_0x52f3af)&&_0x356b('0x0')===_0x52f3af[_0x356b('0x20')]('listType'));null!==_0x31dc73&&this[_0x356b('0x1a')][_0x356b('0x12')]['change'](()=>{_0xef4c52['markMultiRangeBlockFormat'](_0x31dc73,{'commandName':_0x356b('0x1c'),'commandParams':[{'startIndex':_0x5ec859[_0x356b('0x2d')]}],'formatGroupId':_0x356b('0x1c')});});}[_0x356b('0x30')](_0x17cacb){if('formatBlock'!=_0x17cacb['type']&&'formatInline'!=_0x17cacb[_0x356b('0x29')])return;const _0x3669ea=this[_0x356b('0x1a')][_0x356b('0xe')],{data:_0x2371ae}=_0x17cacb;if(!_0x2371ae)return;let _0x41c6b1,_0x4692b1;switch(_0x2371ae[_0x356b('0x27')]){case _0x356b('0x6'):_0x41c6b1=_0x356b('0x19'),_0x4692b1={'type':_0x356b('0xc'),'content':_0x2ae9a1(_0x3669ea,_0x41c6b1,_0x2ae9a1(_0x3669ea,this[_0x356b('0x33')](_0x2371ae[_0x356b('0x2a')][0x0][_0x356b('0x29')])))};break;case _0x356b('0x32'):_0x41c6b1=_0x2371ae['commandParams'][0x0][_0x356b('0x28')]?_0x356b('0x7'):_0x356b('0xd'),_0x4692b1={'type':_0x356b('0xc'),'content':_0x2ae9a1(_0x3669ea,_0x41c6b1)};break;case _0x356b('0x1c'):_0x41c6b1=_0x356b('0x16'),_0x4692b1={'type':_0x356b('0xc'),'content':_0x2ae9a1(_0x3669ea,_0x41c6b1,_0x2371ae[_0x356b('0x2a')][0x0][_0x356b('0x2d')])};}return _0x4692b1;}['_getSuggestionBlocksForListStyle'](){const _0x2f0485=this[_0x356b('0x1a')][_0x356b('0x1f')][_0x356b('0x2e')](_0x356b('0x2c'));let _0x431e31=Array[_0x356b('0x10')](this['editor'][_0x356b('0x12')][_0x356b('0x1')][_0x356b('0x22')]['getSelectedBlocks']());return _0x431e31[_0x356b('0x24')](..._0x2f0485[_0x356b('0x17')](_0x431e31)),_0x431e31=[...new Set(_0x431e31)],_0x431e31;}[_0x356b('0x13')](_0x2eea13){const _0x19aa3d=this['editor'][_0x356b('0x1f')]['get']('DocumentListUtils');let _0xfed69d=Array[_0x356b('0x10')](this[_0x356b('0x1a')][_0x356b('0x12')][_0x356b('0x1')]['selection']['getSelectedBlocks']())[_0x356b('0x15')](_0x2eea13);if(!_0xfed69d[_0x356b('0x21')])return null;_0xfed69d=_0x19aa3d[_0x356b('0x17')](_0xfed69d);const _0x4d2ee9=[];for(const _0xfb47d5 of _0xfed69d)_0x19aa3d['isFirstBlockOfListItem'](_0xfb47d5)&&_0x4d2ee9[_0x356b('0x24')](_0xfb47d5);return _0x4d2ee9;}[_0x356b('0x33')](_0x122ac4){return'ELEMENT_'+this[_0x356b('0x1a')]['plugins']['get'](_0x356b('0xb'))[_0x356b('0x2')](_0x122ac4)[_0x356b('0x11')]()+_0x356b('0x1d')+_0x122ac4[_0x356b('0x11')]()[_0x356b('0x5')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa4d8=['markerName','writer','data','setSelection','editing','fromRange','createRange','remove','parent','document','hasClass','getFirstRange','end','change','high','enterBlock','afterExecute','markerNameToElements','plugins','ck-suggestion-marker-split','createPositionAt','unbindElementFromMarkerName','mapper','addMarker:suggestion:insertion','get','fire','enableCommand','editor','showSuggestionHighlights','getFirstPosition','model','commands','requires','TrackChangesEditing','selection','split','enter','nextSibling','downcastDispatcher'];(function(_0x1597d5,_0xa4d82d){const _0x1715c7=function(_0xa7225f){while(--_0xa7225f){_0x1597d5['push'](_0x1597d5['shift']());}};_0x1715c7(++_0xa4d82d);}(_0xa4d8,0xbe));const _0x1715=function(_0x1597d5,_0xa4d82d){_0x1597d5=_0x1597d5-0x0;let _0x1715c7=_0xa4d8[_0x1597d5];return _0x1715c7;};import{Plugin as _0x3e9b8b}from'ckeditor5/src/core';import{Enter as _0x138c0a}from'ckeditor5/src/enter';import{LiveRange as _0x50d773}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x13c0c5}from'./utils';export default class K extends _0x3e9b8b{static get[_0x1715('0x25')](){return[_0x138c0a];}['init'](){const _0x21b0c8=this[_0x1715('0x20')],_0x558094=_0x21b0c8[_0x1715('0x17')][_0x1715('0x1d')](_0x1715('0x26')),_0x23bd7d=_0x21b0c8[_0x1715('0x24')][_0x1715('0x1d')](_0x1715('0x2'));_0x558094[_0x1715('0x1f')](_0x1715('0x2'),()=>{_0x21b0c8['model'][_0x1715('0x12')](_0x4128cb=>{const _0x23e608=_0x21b0c8[_0x1715('0x23')][_0x1715('0xe')][_0x1715('0x0')],_0x10b306=_0x23e608[_0x1715('0x22')](),_0x226a71=_0x50d773[_0x1715('0xa')](_0x23e608[_0x1715('0x10')]());if(_0x23bd7d[_0x1715('0x14')](_0x4128cb)){const _0x52881f=_0x21b0c8[_0x1715('0x23')][_0x1715('0x19')](_0x10b306[_0x1715('0xd')][_0x1715('0x3')],0x0),_0x32cb92=_0x4128cb[_0x1715('0xb')](_0x10b306,_0x52881f);_0x558094['markInsertion'](_0x32cb92);}else _0x4128cb[_0x1715('0x8')](_0x4128cb['createRange'](_0x226a71[_0x1715('0x11')]));_0x226a71['detach'](),_0x23bd7d[_0x1715('0x1e')](_0x1715('0x15'),{'writer':_0x4128cb});});}),_0x21b0c8[_0x1715('0x9')][_0x1715('0x4')]['on'](_0x1715('0x1c'),_0x13c0c5(_0x21b0c8,_0x1715('0x1')),{'priority':'high'}),_0x21b0c8[_0x1715('0x9')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x229d15,_0x298a01,_0x1959ed)=>{const _0x40c1cc=_0x1959ed[_0x1715('0x1b')][_0x1715('0x16')](_0x298a01[_0x1715('0x5')]);if(_0x40c1cc)for(const _0x2560a2 of _0x40c1cc)_0x2560a2[_0x1715('0xf')](_0x1715('0x18'))&&(_0x1959ed[_0x1715('0x1b')][_0x1715('0x1a')](_0x2560a2,_0x298a01[_0x1715('0x5')]),_0x1959ed[_0x1715('0x6')][_0x1715('0xc')](_0x2560a2));},{'priority':_0x1715('0x13')}),_0x21b0c8[_0x1715('0x7')][_0x1715('0x4')]['on'](_0x1715('0x1c'),(_0x471ff4,_0x4054ed,_0x4ad32a)=>{_0x4ad32a['options'][_0x1715('0x21')]&&_0x13c0c5(_0x21b0c8,_0x1715('0x1'),{'showActiveMarker':!0x1})['bind'](this)(_0x471ff4,_0x4054ed,_0x4ad32a);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3887=['get','TrackChangesEditing','createPositionAt','plugins','findPrevious','findByTextCallback','getMarkersGroup','model','replaceAll','FindAndReplaceEditing','end','item','afterInit','start','editor','string','handleFindCommand','filter','suggestion:deletion','enableCommand','markers','_isInDeletionRange','has','getIntersection','getRange','FindAndReplaceUtils','findNext'];(function(_0x5b2f3f,_0x3887fb){const _0x5bef1e=function(_0x40e177){while(--_0x40e177){_0x5b2f3f['push'](_0x5b2f3f['shift']());}};_0x5bef1e(++_0x3887fb);}(_0x3887,0x1e3));const _0x5bef=function(_0x5b2f3f,_0x3887fb){_0x5b2f3f=_0x5b2f3f-0x0;let _0x5bef1e=_0x3887[_0x5b2f3f];return _0x5bef1e;};import{Plugin as _0x2e6524}from'ckeditor5/src/core';export default class W extends _0x2e6524{[_0x5bef('0xf')](){if(!this[_0x5bef('0x11')][_0x5bef('0x6')][_0x5bef('0x19')](_0x5bef('0xc')))return;const _0x2c0954=this[_0x5bef('0x11')]['plugins'][_0x5bef('0x3')](_0x5bef('0x4'));_0x2c0954[_0x5bef('0x16')]('find',this[_0x5bef('0x13')]['bind'](this)),_0x2c0954[_0x5bef('0x16')](_0x5bef('0x2')),_0x2c0954[_0x5bef('0x16')](_0x5bef('0x7')),_0x2c0954['enableCommand']('replace'),_0x2c0954[_0x5bef('0x16')](_0x5bef('0xb'));}[_0x5bef('0x13')](_0x2070d7,_0x2d6552,_0x2e6edf={}){const _0x4b828d=this[_0x5bef('0x11')][_0x5bef('0x6')][_0x5bef('0x3')](_0x5bef('0x1'));if(void 0x0!==_0x2e6edf)return _0x2070d7(_0x2fe533=>(_0x5bef('0x12')==typeof _0x2d6552?_0x4b828d[_0x5bef('0x8')](_0x2d6552,_0x2e6edf):_0x2d6552)(_0x2fe533)[_0x5bef('0x14')](_0x594cb7=>!0x1===this[_0x5bef('0x18')](_0x594cb7,_0x2fe533[_0x5bef('0xe')])),_0x2e6edf);}[_0x5bef('0x18')](_0x5aba89,_0x9c0344){const _0x180ad6=this[_0x5bef('0x11')]['model']['createRange'](this[_0x5bef('0x11')][_0x5bef('0xa')][_0x5bef('0x5')](_0x9c0344,_0x5aba89[_0x5bef('0x10')]),this[_0x5bef('0x11')]['model'][_0x5bef('0x5')](_0x9c0344,_0x5aba89[_0x5bef('0xd')]));for(const _0x257ba0 of this[_0x5bef('0x11')][_0x5bef('0xa')][_0x5bef('0x17')][_0x5bef('0x9')](_0x5bef('0x15')))if(null!==_0x180ad6[_0x5bef('0x1a')](_0x257ba0[_0x5bef('0x0')]()))return!0x0;return!0x1;}}
|