@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230721.0 → 0.0.0-nightly-20230723.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/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/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-20230723.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-20230723.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230723.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14f5=['canEditAt','getRanges','editor','model','acceptSuggestion','_suggestions','get','_isEnabledBasedOnSelection','execute','refresh'];(function(_0xd0c148,_0x14f582){const _0x5f1b68=function(_0xae376a){while(--_0xae376a){_0xd0c148['push'](_0xd0c148['shift']());}};_0x5f1b68(++_0x14f582);}(_0x14f5,0x9a));const _0x5f1b=function(_0xd0c148,_0x14f582){_0xd0c148=_0xd0c148-0x0;let _0x5f1b68=_0x14f5[_0xd0c148];return _0x5f1b68;};import{Command as _0x7acc50}from'ckeditor5/src/core';import{CKEditorError as _0x51eddf}from'ckeditor5/src/utils';export default class M extends _0x7acc50{constructor(_0x1dc327,_0x1a5452){super(_0x1dc327),this[_0x5f1b('0x1')]=_0x1a5452,this['refresh'](),this[_0x5f1b('0x3')]=!0x1;}[_0x5f1b('0x5')](){this['isEnabled']=!0x0;}[_0x5f1b('0x4')](_0x20149e){const _0xb5b5ad=this[_0x5f1b('0x1')][_0x5f1b('0x2')](_0x20149e);if(!_0xb5b5ad)throw new _0x51eddf('track-changes-accept-suggestion-not-found',this);const _0x4f4521=_0xb5b5ad[_0x5f1b('0x7')]();this['editor'][_0x5f1b('0x9')][_0x5f1b('0x6')](_0x4f4521)&&this[_0x5f1b('0x8')]['plugins'][_0x5f1b('0x2')]('TrackChangesEditing')[_0x5f1b('0x0')](_0xb5b5ad);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7b89=['editor','getRanges','refresh','get','model','_suggestions','isEnabled','canEditAt','TrackChangesEditing','execute','discardSuggestion'];(function(_0x4457c4,_0x7b89e5){const _0x1d77a9=function(_0x5bfabb){while(--_0x5bfabb){_0x4457c4['push'](_0x4457c4['shift']());}};_0x1d77a9(++_0x7b89e5);}(_0x7b89,0x183));const _0x1d77=function(_0x4457c4,_0x7b89e5){_0x4457c4=_0x4457c4-0x0;let _0x1d77a9=_0x7b89[_0x4457c4];return _0x1d77a9;};import{Command as _0x14f94e}from'ckeditor5/src/core';import{CKEditorError as _0x487132}from'ckeditor5/src/utils';export default class $ extends _0x14f94e{constructor(_0x2223f1,_0x117d46){super(_0x2223f1),this[_0x1d77('0x3')]=_0x117d46,this[_0x1d77('0x0')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1d77('0x0')](){this[_0x1d77('0x4')]=!0x0;}[_0x1d77('0x7')](_0x376d6f){const _0x2a0cf3=this[_0x1d77('0x3')][_0x1d77('0x1')](_0x376d6f);if(!_0x2a0cf3)throw new _0x487132('track-changes-discard-suggestion-not-found',this);const _0x322ab3=_0x2a0cf3[_0x1d77('0xa')]();this[_0x1d77('0x9')][_0x1d77('0x2')][_0x1d77('0x5')](_0x322ab3)&&this[_0x1d77('0x9')]['plugins'][_0x1d77('0x1')](_0x1d77('0x6'))[_0x1d77('0x8')](_0x2a0cf3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24a5=['isInContent','values','getRanges','canEditAt','refresh','_suggestions','isEnabled','_isEnabledBasedOnSelection','_command','model','from','editor','execute','some'];(function(_0x4bffe9,_0x24a5ab){const _0x5d7a55=function(_0x393852){while(--_0x393852){_0x4bffe9['push'](_0x4bffe9['shift']());}};_0x5d7a55(++_0x24a5ab);}(_0x24a5,0x1a3));const _0x5d7a=function(_0x4bffe9,_0x24a5ab){_0x4bffe9=_0x4bffe9-0x0;let _0x5d7a55=_0x24a5[_0x4bffe9];return _0x5d7a55;};import{Command as _0x1970fd}from'ckeditor5/src/core';import{sortSuggestions as _0x5f0bb0,executeCommandForSuggestions as _0x29d2b9}from'../utils/utils';export default class N extends _0x1970fd{constructor(_0x3a49ab,_0x51c193,_0x324413){super(_0x3a49ab),this[_0x5d7a('0x9')]=_0x51c193,this[_0x5d7a('0x6')]=_0x324413,this[_0x5d7a('0x5')](),this[_0x5d7a('0x8')]=!0x1;}['refresh'](){const _0x109488=Array[_0x5d7a('0xb')](this[_0x5d7a('0x6')][_0x5d7a('0x2')]())[_0x5d7a('0x0')](_0xc445c4=>_0xc445c4[_0x5d7a('0x1')]);this[_0x5d7a('0x7')]=this[_0x5d7a('0x9')][_0x5d7a('0x7')]&&_0x109488;}[_0x5d7a('0xd')](){const _0x89b7c0=_0x5f0bb0(Array[_0x5d7a('0xb')](this['_suggestions'][_0x5d7a('0x2')]()));for(const _0x4bb539 of _0x89b7c0){const _0x4a4a0d=_0x4bb539[_0x5d7a('0x3')]();if(!this[_0x5d7a('0xc')][_0x5d7a('0xa')][_0x5d7a('0x4')](_0x4a4a0d))return;}_0x29d2b9(this[_0x5d7a('0xc')][_0x5d7a('0xa')],this[_0x5d7a('0x9')],_0x89b7c0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd2cc=['size','execute','values','refresh','from','editor','_command','_suggestions','_selectedSuggestions','_isEnabledBasedOnSelection','isEnabled','canEditAt','model','selection'];(function(_0x5b03ed,_0xd2ccd3){const _0x431a8e=function(_0x1233e9){while(--_0x1233e9){_0x5b03ed['push'](_0x5b03ed['shift']());}};_0x431a8e(++_0xd2ccd3);}(_0xd2cc,0x1e2));const _0x431a=function(_0x5b03ed,_0xd2ccd3){_0x5b03ed=_0x5b03ed-0x0;let _0x431a8e=_0xd2cc[_0x5b03ed];return _0x431a8e;};import{Command as _0x2cfcc6}from'ckeditor5/src/core';import{sortSuggestions as _0x5dbf08,getSelectedSuggestions as _0x3e85ad,executeCommandForSuggestions as _0x8f5cb6}from'../utils/utils';export default class R extends _0x2cfcc6{constructor(_0xc49198,_0x1573f9,_0x1904b7){super(_0xc49198),this[_0x431a('0x0')]=_0x1573f9,this[_0x431a('0x1')]=_0x1904b7,this['_selectedSuggestions']=new Set(),this[_0x431a('0xb')](),this[_0x431a('0x3')]=!0x1;}['refresh'](){const _0x6fccf8=this[_0x431a('0xd')][_0x431a('0x6')]['document'][_0x431a('0x7')],_0x37c28c=Array[_0x431a('0xc')](this[_0x431a('0x1')][_0x431a('0xa')]());this[_0x431a('0x2')]=_0x3e85ad(_0x6fccf8,_0x37c28c),this[_0x431a('0x4')]=this['_command'][_0x431a('0x4')]&&!!this['_selectedSuggestions'][_0x431a('0x8')];}[_0x431a('0x9')](){const _0x1e27c2=_0x5dbf08(Array[_0x431a('0xc')](this[_0x431a('0x2')]));for(const _0x123581 of _0x1e27c2){const _0xc1ff45=_0x123581['getRanges']();if(!this[_0x431a('0xd')]['model'][_0x431a('0x5')](_0xc1ff45))return;}_0x8f5cb6(this['editor'][_0x431a('0x6')],this['_command'],_0x1e27c2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e3c=['editor','TrackChangesCommand','commands','_enableCommands','affectsData','_enabledCommands','refresh','_disableUnsupportedCommands','has','value','isEnabled','forceDisabled'];(function(_0x5411a2,_0x1e3c8b){const _0x1701c4=function(_0x588453){while(--_0x588453){_0x5411a2['push'](_0x5411a2['shift']());}};_0x1701c4(++_0x1e3c8b);}(_0x1e3c,0x1c5));const _0x1701=function(_0x5411a2,_0x1e3c8b){_0x5411a2=_0x5411a2-0x0;let _0x1701c4=_0x1e3c[_0x5411a2];return _0x1701c4;};import{Command as _0x1478c6}from'ckeditor5/src/core';export default class _ extends _0x1478c6{constructor(_0x36005a,_0x4d9072){super(_0x36005a),this[_0x1701('0x8')]=_0x4d9072,this['value']=!0x1,this[_0x1701('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1701('0x9')](){this[_0x1701('0x1')]=!0x0;}['execute'](){this[_0x1701('0x0')]=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x1701('0xa')](){for(const _0x3a5915 of this[_0x1701('0x3')]['commands'][_0x1701('0x5')]())_0x3a5915[_0x1701('0x7')]&&!this[_0x1701('0x8')][_0x1701('0xb')](_0x3a5915)&&_0x3a5915[_0x1701('0x2')](_0x1701('0x4'));}[_0x1701('0x6')](){for(const _0x26074f of this[_0x1701('0x3')][_0x1701('0x5')][_0x1701('0x5')]())_0x26074f['affectsData']&&!this['_enabledCommands'][_0x1701('0xb')](_0x26074f)&&_0x26074f['clearForceDisabled'](_0x1701('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10fe=['AlignmentEditing','FORMAT_JUSTIFY_TEXT','afterInit','value','editor','model','TrackChangesEditing','right','checkAttribute','locale','schema','getSelectedBlocks','center','plugins','_descriptionFactory','contentLanguageDirection','commandParams','change','justify','FORMAT_ALIGN_TO_CENTER','format','commandName','enableCommand','FORMAT_ALIGN_TO_RIGHT','alignment','markBlockFormat','FORMAT_ALIGN_TO_LEFT','left','document','registerDescriptionCallback','has','ltr','from','selection'];(function(_0x411830,_0x10fe84){const _0x33c7e=function(_0x589b0d){while(--_0x589b0d){_0x411830['push'](_0x411830['shift']());}};_0x33c7e(++_0x10fe84);}(_0x10fe,0x175));const _0x33c7=function(_0x411830,_0x10fe84){_0x411830=_0x411830-0x0;let _0x33c7e=_0x10fe[_0x411830];return _0x33c7e;};import{Plugin as _0x634608}from'ckeditor5/src/core';import{getTranslation as _0x2bfc75}from'../utils/common-translations';export default class x extends _0x634608{[_0x33c7('0x3')](){const _0x3c8def=this[_0x33c7('0x5')],_0x3792a9=_0x3c8def[_0x33c7('0xa')];if(!_0x3c8def[_0x33c7('0xe')][_0x33c7('0x1f')](_0x33c7('0x1')))return;const _0x368f29=_0x3c8def[_0x33c7('0xe')]['get'](_0x33c7('0x7'));_0x368f29[_0x33c7('0x17')](_0x33c7('0x19'),(_0x3dcff4,_0x1a6f15={})=>{let _0x7242d6=_0x1a6f15['value'];_0x1a6f15[_0x33c7('0x4')]||(_0x7242d6=_0x33c7('0x20')===_0x3c8def[_0x33c7('0xa')][_0x33c7('0x10')]?_0x33c7('0x1c'):_0x33c7('0x8'));const _0x32a4c8=Array[_0x33c7('0x21')](this[_0x33c7('0x5')][_0x33c7('0x6')][_0x33c7('0x1d')][_0x33c7('0x0')][_0x33c7('0xc')]())['filter'](_0xacc31b=>function(_0x5f395d,_0x58e25f,_0x3174b2){const _0x22e123=_0x5f395d['getAttribute'](_0x33c7('0x19'))||null;return _0x58e25f[_0x33c7('0x9')](_0x5f395d,_0x33c7('0x19'))&&_0x3174b2!=_0x22e123;}(_0xacc31b,this['editor'][_0x33c7('0x6')][_0x33c7('0xb')],_0x7242d6));_0x3c8def[_0x33c7('0x6')][_0x33c7('0x12')](()=>{for(const _0x5cc32c of _0x32a4c8)_0x368f29[_0x33c7('0x1a')](_0x5cc32c,{'commandName':_0x33c7('0x19'),'commandParams':[{'value':_0x7242d6}]});});}),_0x368f29[_0x33c7('0xf')][_0x33c7('0x1e')](_0x566edd=>{const {data:_0x4f01db}=_0x566edd;if(_0x4f01db&&_0x33c7('0x19')==_0x4f01db[_0x33c7('0x16')]){const _0x4e0bbf=_0x4f01db[_0x33c7('0x11')][0x0]['value'];return{'type':_0x33c7('0x15'),'content':_0x2bfc75(_0x3792a9,'*Format:*\x20%0',function(_0x2ef8b9){switch(_0x2ef8b9){case _0x33c7('0x1c'):return _0x2bfc75(_0x3792a9,_0x33c7('0x1b'));case _0x33c7('0x8'):return _0x2bfc75(_0x3792a9,_0x33c7('0x18'));case _0x33c7('0xd'):return _0x2bfc75(_0x3792a9,_0x33c7('0x14'));case _0x33c7('0x13'):return _0x2bfc75(_0x3792a9,_0x33c7('0x2'));}}(_0x4e0bbf))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25c7=['afterInit','model','FORMAT_UNDERLINE','StrikethroughEditing','FORMAT_BOLD','get','code','FORMAT_SUPERSCRIPT','UnderlineEditing','FORMAT_CODE','SuperscriptEditing','format','markInlineFormat','subscript','editor','TrackChangesEditing','bold','slice','forceValue','isCollapsed','*Remove\x20format:*\x20%0','plugins','getRanges','value','FORMAT_ITALIC','FORMAT_SUBSCRIPT','strikethrough','from','change','toLowerCase','locale','underline','SubscriptEditing','commands','FORMAT_STRIKETHROUGH','superscript','_descriptionFactory','ItalicEditing','has','registerDescriptionCallback','document'];(function(_0x1a1765,_0x25c79){const _0x4409d0=function(_0x26022a){while(--_0x26022a){_0x1a1765['push'](_0x1a1765['shift']());}};_0x4409d0(++_0x25c79);}(_0x25c7,0xd1));const _0x4409=function(_0x1a1765,_0x25c79){_0x1a1765=_0x1a1765-0x0;let _0x4409d0=_0x25c7[_0x1a1765];return _0x4409d0;};import{Plugin as _0x5c040e}from'ckeditor5/src/core';import{getTranslation as _0x275aa9}from'../utils/common-translations';import{getRangesWithAttribute as _0x27f087}from'./utils';const Kt=['BoldEditing',_0x4409('0x21'),_0x4409('0x4'),'CodeEditing',_0x4409('0x28'),_0x4409('0x1c'),_0x4409('0x6')];export default class U extends _0x5c040e{[_0x4409('0x25')](){const _0x23c145=this[_0x4409('0xa')],_0x5be736=_0x23c145[_0x4409('0x26')],_0x436737=_0x23c145[_0x4409('0x11')][_0x4409('0x1')](_0x4409('0xb')),_0xc37361=_0x23c145[_0x4409('0x1a')];for(const _0x73d03d of Kt){if(!_0x23c145[_0x4409('0x11')][_0x4409('0x22')](_0x73d03d))continue;const _0x53fd20=_0x73d03d[_0x4409('0xd')](0x0,-0x7)[_0x4409('0x19')](),_0xc6b318=_0x23c145[_0x4409('0x1d')][_0x4409('0x1')](_0x53fd20);_0x436737['enableCommand'](_0x53fd20,(_0x4b27b3,_0x2a1c6f={})=>{const _0x39729b=_0x5be736[_0x4409('0x24')]['selection'];if(_0x39729b[_0x4409('0xf')])return void _0x4b27b3(_0x2a1c6f);const _0x4a56aa=void 0x0!==_0x2a1c6f['forceValue']?_0x2a1c6f[_0x4409('0xe')]:!_0xc6b318[_0x4409('0x13')];_0x5be736[_0x4409('0x18')](()=>{const _0x56a7c4=Array[_0x4409('0x17')](_0x39729b[_0x4409('0x12')]());for(const _0x577df7 of _0x56a7c4){const _0x35afb8=_0x4a56aa?[_0x577df7]:_0x27f087(_0x53fd20,_0x577df7,_0x5be736);for(const _0x14acee of _0x35afb8)_0x436737[_0x4409('0x8')](_0x14acee,{'commandName':_0x53fd20,'commandParams':[{'forceValue':_0x4a56aa}]});}});});}function _0x4bae00(_0x2c0b44,_0x388340){_0x436737[_0x4409('0x20')][_0x4409('0x23')](_0x3dd4c7=>{const {data:_0x34b09f}=_0x3dd4c7;if(_0x34b09f&&_0x34b09f['commandName']===_0x2c0b44)return _0x34b09f['commandParams'][0x0][_0x4409('0xe')]?{'type':_0x4409('0x7'),'content':_0x275aa9(_0xc37361,'*Format:*\x20%0',_0x388340)}:{'type':_0x4409('0x7'),'content':_0x275aa9(_0xc37361,_0x4409('0x10'),_0x388340)};});}_0x4bae00(_0x4409('0xc'),_0x275aa9(_0xc37361,_0x4409('0x0'))),_0x4bae00('italic',_0x275aa9(_0xc37361,_0x4409('0x14'))),_0x4bae00(_0x4409('0x1b'),_0x275aa9(_0xc37361,_0x4409('0x27'))),_0x4bae00(_0x4409('0x2'),_0x275aa9(_0xc37361,_0x4409('0x5'))),_0x4bae00(_0x4409('0x16'),_0x275aa9(_0xc37361,_0x4409('0x1e'))),_0x4bae00(_0x4409('0x9'),_0x275aa9(_0xc37361,_0x4409('0x15'))),_0x4bae00(_0x4409('0x1f'),_0x275aa9(_0xc37361,_0x4409('0x3')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3928=['afterInit','*Format:*\x20%0','blockQuote','plugins','_descriptionFactory','forceValue','from','name','has','parent','checkChild','enableCommand','document','schema','TrackChangesEditing','*Remove\x20format:*\x20%0','ELEMENT_BLOCK_QUOTE','locale','value','selection','getSelectedBlocks','model','commands','get','editor','markBlockFormat','filter','commandParams','format'];(function(_0x265d8c,_0x3928d3){const _0x2a111d=function(_0x325a1d){while(--_0x325a1d){_0x265d8c['push'](_0x265d8c['shift']());}};_0x2a111d(++_0x3928d3);}(_0x3928,0x6e));const _0x2a11=function(_0x265d8c,_0x3928d3){_0x265d8c=_0x265d8c-0x0;let _0x2a111d=_0x3928[_0x265d8c];return _0x2a111d;};import{Plugin as _0x2a0ad6}from'ckeditor5/src/core';import{getTranslation as _0x32ac66}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4a693c}from'../utils/utils';export default class j extends _0x2a0ad6{[_0x2a11('0x6')](){const _0x46a4ec=this[_0x2a11('0x1')],_0x5b64b4=_0x46a4ec[_0x2a11('0x17')];if(!_0x46a4ec[_0x2a11('0x9')][_0x2a11('0xe')]('BlockQuoteEditing'))return;const _0x440f58=_0x46a4ec['plugins'][_0x2a11('0x0')](_0x2a11('0x14')),_0x2238e8=this['editor'][_0x2a11('0x1c')]['get'](_0x2a11('0x8'));_0x440f58[_0x2a11('0x11')](_0x2a11('0x8'),(_0x189d86,_0x75960b={})=>{const _0x38398d=this[_0x2a11('0x1')][_0x2a11('0x1b')][_0x2a11('0x12')][_0x2a11('0x19')],_0x2ec35=_0x75960b&&void 0x0!==_0x75960b[_0x2a11('0xb')]?_0x75960b[_0x2a11('0xb')]:!_0x2238e8[_0x2a11('0x18')];let _0x1f5125=[];if(_0x2ec35){const _0x38e3b9=Array[_0x2a11('0xc')](_0x38398d[_0x2a11('0x1a')]())[_0x2a11('0x3')](_0x580ba5=>Xt(_0x580ba5)||function(_0x40b6b3,_0x18d54b){const _0x369d68=_0x18d54b[_0x2a11('0x10')](_0x40b6b3[_0x2a11('0xf')],_0x2a11('0x8')),_0x1b53b2=_0x18d54b['checkChild'](['$root',_0x2a11('0x8')],_0x40b6b3);return _0x369d68&&_0x1b53b2;}(_0x580ba5,this[_0x2a11('0x1')][_0x2a11('0x1b')][_0x2a11('0x13')]));_0x1f5125=_0x4a693c(_0x38e3b9,_0x46a4ec[_0x2a11('0x1b')]);}else{const _0x4eb8a2=Array[_0x2a11('0xc')](_0x38398d[_0x2a11('0x1a')]())[_0x2a11('0x3')](_0x488260=>Xt(_0x488260));_0x1f5125=_0x4a693c(_0x4eb8a2,_0x46a4ec[_0x2a11('0x1b')]);}_0x46a4ec[_0x2a11('0x1b')]['change'](()=>{for(const _0x17c869 of _0x1f5125)_0x440f58[_0x2a11('0x2')](_0x17c869,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2ec35}]});});}),_0x440f58[_0x2a11('0xa')]['registerDescriptionCallback'](_0x4cd28d=>{const {data:_0x28ffef}=_0x4cd28d;if(_0x28ffef&&_0x2a11('0x8')==_0x28ffef['commandName']){const _0x453c1f=_0x32ac66(_0x5b64b4,_0x2a11('0x16'));return _0x28ffef[_0x2a11('0x4')][0x0][_0x2a11('0xb')]?{'type':_0x2a11('0x5'),'content':_0x32ac66(_0x5b64b4,_0x2a11('0x7'),_0x453c1f)}:{'type':_0x2a11('0x5'),'content':_0x32ac66(_0x5b64b4,_0x2a11('0x15'),_0x453c1f)};}});}}function Xt(_0x4d24ef){return'blockQuote'==_0x4d24ef[_0x2a11('0xf')][_0x2a11('0xd')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x344b=['get','afterInit','editor','ckbox','TrackChangesEditing','plugins','commands'];(function(_0x3b831b,_0x344b94){const _0x6920ae=function(_0x27fc68){while(--_0x27fc68){_0x3b831b['push'](_0x3b831b['shift']());}};_0x6920ae(++_0x344b94);}(_0x344b,0x15e));const _0x6920=function(_0x3b831b,_0x344b94){_0x3b831b=_0x3b831b-0x0;let _0x6920ae=_0x344b[_0x3b831b];return _0x6920ae;};import{Plugin as _0x1761eb}from'ckeditor5/src/core';export default class E extends _0x1761eb{[_0x6920('0x1')](){const _0x57a862=this[_0x6920('0x2')];_0x57a862[_0x6920('0x6')][_0x6920('0x0')](_0x6920('0x3'))&&_0x57a862[_0x6920('0x5')][_0x6920('0x0')](_0x6920('0x4'))['enableCommand'](_0x6920('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x580d=['get','language','selection','blockName','config','editor','parent','CodeBlock','registerDescriptionCallback','filter','registerElementLabel','enableCommand','TrackChangesEditing','name','model','getSelectedBlocks','ELEMENT_CODE_BLOCK','checkChild','afterInit','from','change','outdentCodeBlock','indentCodeBlock','*Remove\x20format:*\x20%0','markBlockFormat','languages','commandParams','codeBlock','_descriptionFactory','forceValue','find','format','plugins'];(function(_0x7913df,_0x580d13){const _0x3c9935=function(_0x3042be){while(--_0x3042be){_0x7913df['push'](_0x7913df['shift']());}};_0x3c9935(++_0x580d13);}(_0x580d,0x83));const _0x3c99=function(_0x7913df,_0x580d13){_0x7913df=_0x7913df-0x0;let _0x3c9935=_0x580d[_0x7913df];return _0x3c9935;};import{Plugin as _0x2de54d}from'ckeditor5/src/core';import{getTranslation as _0x26ac6e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x45a3fc}from'../utils/utils';export default class O extends _0x2de54d{[_0x3c99('0x13')](){const _0x1caa75=this[_0x3c99('0x6')];if(!_0x1caa75[_0x3c99('0x0')]['has'](_0x3c99('0x8')))return;const _0x26cd11=_0x1caa75[_0x3c99('0x0')]['get'](_0x3c99('0xd')),_0x39ae54=_0x1caa75['locale'],_0x4f1216=_0x1caa75[_0x3c99('0x5')][_0x3c99('0x1')]('codeBlock')[_0x3c99('0x1a')],_0x92a17=_0x1caa75['commands']['get'](_0x3c99('0x1c'));_0x26cd11[_0x3c99('0xc')](_0x3c99('0x17')),_0x26cd11[_0x3c99('0xc')](_0x3c99('0x16')),_0x26cd11[_0x3c99('0xc')]('codeBlock',(_0x528a58,_0x3af008={})=>{const _0x243485=_0x1caa75['model'],_0x2d58cd=_0x1caa75[_0x3c99('0xf')]['document'][_0x3c99('0x3')],_0x18027c=_0x3af008&&void 0x0!==_0x3af008[_0x3c99('0x1e')]?_0x3af008['forceValue']:!_0x92a17['value'];let _0x551d9a;_0x3af008[_0x3c99('0x2')]||(_0x3af008['language']=_0x4f1216[0x0][_0x3c99('0x2')]),_0x551d9a=_0x18027c?Array[_0x3c99('0x14')](_0x2d58cd[_0x3c99('0x10')]())['filter'](_0x361516=>oo(_0x361516)||function(_0x3590a0,_0x4c027d){if(_0x3590a0['is']('rootElement')||_0x4c027d['isLimit'](_0x3590a0))return!0x1;return _0x4c027d[_0x3c99('0x12')](_0x3590a0[_0x3c99('0x7')],'codeBlock');}(_0x361516,_0x243485['schema'])):Array[_0x3c99('0x14')](_0x2d58cd[_0x3c99('0x10')]())[_0x3c99('0xa')](_0x3fd536=>oo(_0x3fd536));const _0x2975d4=_0x45a3fc(_0x551d9a,_0x243485);_0x243485[_0x3c99('0x15')](()=>{for(const _0x5fbd6b of _0x2975d4)_0x26cd11[_0x3c99('0x19')](_0x5fbd6b,{'commandName':_0x3c99('0x1c'),'commandParams':[{..._0x3af008,'forceValue':_0x18027c}],'formatGroupId':_0x3c99('0x4')});});}),(_0x26cd11[_0x3c99('0x1d')][_0x3c99('0xb')]('codeBlock',_0x3b7726=>_0x26ac6e(_0x39ae54,_0x3c99('0x11'),_0x3b7726)),_0x26cd11[_0x3c99('0x1d')][_0x3c99('0x9')](_0x19b1db=>{const _0x50df3=_0x39ae54['t'],{type:_0x2ce5dc,data:_0x43dbfe}=_0x19b1db;if('formatBlock'==_0x2ce5dc&&_0x43dbfe&&'codeBlock'==_0x43dbfe['commandName']){const _0x4f30d4=_0x43dbfe[_0x3c99('0x1b')][0x0][_0x3c99('0x2')],_0x47596b=_0x50df3(_0x4f1216[_0x3c99('0x1f')](_0x627251=>_0x627251[_0x3c99('0x2')]===_0x4f30d4)['label']);return _0x43dbfe[_0x3c99('0x1b')][0x0][_0x3c99('0x1e')]?{'type':_0x3c99('0x20'),'content':_0x26ac6e(_0x39ae54,'*Format:*\x20%0',_0x26ac6e(_0x39ae54,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x47596b+')')}:{'type':_0x3c99('0x20'),'content':_0x26ac6e(_0x39ae54,_0x3c99('0x18'),_0x26ac6e(_0x39ae54,_0x3c99('0x11'),0x1))};}}));}}function oo(_0x4db3a5){return _0x3c99('0x1c')==_0x4db3a5[_0x3c99('0xe')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bb9=['afterInit','TrackChangesEditing','addCommentThread','has','CommentsEditing','enableCommand','plugins'];(function(_0x531527,_0x3bb94a){const _0x2a0eee=function(_0x41a484){while(--_0x41a484){_0x531527['push'](_0x531527['shift']());}};_0x2a0eee(++_0x3bb94a);}(_0x3bb9,0x1c1));const _0x2a0e=function(_0x531527,_0x3bb94a){_0x531527=_0x531527-0x0;let _0x2a0eee=_0x3bb9[_0x531527];return _0x2a0eee;};import{Plugin as _0x54233e}from'ckeditor5/src/core';export default class F extends _0x54233e{[_0x2a0e('0x6')](){const _0x58ed32=this['editor'];if(!_0x58ed32[_0x2a0e('0x5')][_0x2a0e('0x2')](_0x2a0e('0x3')))return;_0x58ed32['plugins']['get'](_0x2a0e('0x0'))[_0x2a0e('0x4')](_0x2a0e('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cb8=['options','createSelection','writer','batch','setSelection','downcastDispatcher','bind','deleteForward','createRange','markerName','selection','model','addMarker:suggestion:deletion','remove','markerNameToElements','TrackChangesEditing','isCollapsed','merge','mapper','uiElement','unbindElementFromMarkerName','fromRange','showSuggestionHighlights','enableCommand','init','rootName','editing','buffer','modifySelection','lock','get','start','removeMarker:suggestion:deletion','unit','high','end','unlock','detach','plugins','getFirstRange','commands','$graveyard','forward'];(function(_0x3da178,_0x3cb821){const _0x41f9be=function(_0x2d1df2){while(--_0x2d1df2){_0x3da178['push'](_0x3da178['shift']());}};_0x41f9be(++_0x3cb821);}(_0x3cb8,0x167));const _0x41f9=function(_0x3da178,_0x3cb821){_0x3da178=_0x3da178-0x0;let _0x41f9be=_0x3cb8[_0x3da178];return _0x41f9be;};import{Plugin as _0x1b326f}from'ckeditor5/src/core';import{LiveRange as _0x4add95}from'ckeditor5/src/engine';import{Delete as _0x4392ee}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x455b75}from'./utils';export default class G extends _0x1b326f{static get['requires'](){return[_0x4392ee];}[_0x41f9('0x9')](){const _0x59dcd6=this['editor'],_0x3834b3=_0x59dcd6[_0x41f9('0x17')][_0x41f9('0xf')](_0x41f9('0x0'));_0x3834b3[_0x41f9('0x8')]('delete');const _0x4f1664=_0x59dcd6[_0x41f9('0x19')]['get']('deleteForward');_0x3834b3['enableCommand'](_0x41f9('0x23'),(_0x173fb3,_0x4eb393={})=>{const _0x4e403e=_0x59dcd6[_0x41f9('0x27')][_0x41f9('0x1d')](_0x59dcd6[_0x41f9('0x27')]['document'][_0x41f9('0x26')]);_0x4e403e[_0x41f9('0x1')]&&_0x59dcd6[_0x41f9('0x27')][_0x41f9('0xd')](_0x4e403e,{'direction':_0x41f9('0x1b'),'unit':_0x4eb393[_0x41f9('0x12')]});const _0x4d791f=_0x4e403e[_0x41f9('0x18')](),_0x27a19d=_0x4add95[_0x41f9('0x6')](_0x4d791f);let _0x4537c6;_0x173fb3(_0x4eb393),_0x4537c6=_0x41f9('0x1a')==_0x27a19d['root'][_0x41f9('0xa')]?_0x59dcd6[_0x41f9('0x27')][_0x41f9('0x24')](_0x4d791f[_0x41f9('0x10')]):_0x59dcd6[_0x41f9('0x27')][_0x41f9('0x24')](_0x27a19d[_0x41f9('0x10')],_0x27a19d[_0x41f9('0x14')]),_0x27a19d[_0x41f9('0x16')](),_0x59dcd6[_0x41f9('0x27')]['enqueueChange'](_0x4f1664[_0x41f9('0xc')][_0x41f9('0x1f')],_0x1a60f1=>{_0x4f1664[_0x41f9('0xc')][_0x41f9('0xe')](),_0x1a60f1[_0x41f9('0x20')](_0x1a60f1[_0x41f9('0x24')](_0x4537c6[_0x41f9('0x14')])),_0x4f1664[_0x41f9('0xc')][_0x41f9('0x15')]();});}),_0x59dcd6[_0x41f9('0xb')][_0x41f9('0x21')]['on'](_0x41f9('0x28'),_0x455b75(_0x59dcd6,_0x41f9('0x2')),{'priority':_0x41f9('0x13')}),_0x59dcd6['data']['downcastDispatcher']['on'](_0x41f9('0x28'),(_0x5c4782,_0x2af4ed,_0x179809)=>{_0x179809[_0x41f9('0x1c')][_0x41f9('0x7')]&&_0x455b75(_0x59dcd6,_0x41f9('0x2'),{'showActiveMarker':!0x1})[_0x41f9('0x22')](this)(_0x5c4782,_0x2af4ed,_0x179809);},{'priority':_0x41f9('0x13')}),_0x59dcd6[_0x41f9('0xb')][_0x41f9('0x21')]['on'](_0x41f9('0x11'),(_0x38d17d,_0x313038,_0x1227e7)=>{const _0xd90229=_0x1227e7[_0x41f9('0x3')][_0x41f9('0x2a')](_0x313038[_0x41f9('0x25')]);if(_0xd90229)for(const _0x4a51a9 of _0xd90229)_0x4a51a9['is'](_0x41f9('0x4'))&&(_0x1227e7[_0x41f9('0x3')][_0x41f9('0x5')](_0x4a51a9,_0x313038['markerName']),_0x1227e7[_0x41f9('0x1e')][_0x41f9('0x29')](_0x4a51a9));},{'priority':_0x41f9('0x13')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eae=['map','hasAttribute','containsItem','commandName','markMultiRangeBlockFormat','execute','schema','*Outdent:*\x20%0','plugins','previousSibling','registerCustomCallback','*Merge:*\x20%0','indentList','splitListItemBefore','end','isFirstBlockOfListItem','add','isObject','DocumentListUtils','registerElementLabel','getSelectedBlocks','createRange','enableCommand','ELEMENT_NUMBERED_LIST','document','numberedList','before','documentList','createPositionAt','nextSibling','*Format:*\x20remove\x20from\x20%0','multipleBlocks','refresh','*Indent:*\x20%0','value','registerDescriptionCallback','has','model','format','parent','expandListBlocksToCompleteList','slice','change','_suggestionFactory','listItemId','fromRange','toUpperCase','listType','from','nodeAfter','length','bulletedList','TrackChangesEditing','formatBlock','commands','_descriptionFactory','afterInit','setSelection','start','forceValue','_LIST','mergeListItemForward','push','commandParams','getAttribute','editor','get','ELEMENT_BULLETED_LIST','getFirstRange','ELEMENT_','markBlockFormat','listIndent','selection','outdentList','*Format:*\x20insert\x20into\x20%0','ELEMENT_LIST_ITEM','splitListItemAfter','*Change\x20to:*\x20%0'];(function(_0x46bcc5,_0x4eaec9){const _0x3402ff=function(_0x97563){while(--_0x97563){_0x46bcc5['push'](_0x46bcc5['shift']());}};_0x3402ff(++_0x4eaec9);}(_0x4eae,0x18d));const _0x3402=function(_0x46bcc5,_0x4eaec9){_0x46bcc5=_0x46bcc5-0x0;let _0x3402ff=_0x4eae[_0x46bcc5];return _0x3402ff;};import{Plugin as _0x466a01}from'ckeditor5/src/core';import{getTranslation as _0x5dbca0}from'../utils/common-translations';import{LiveRange as _0x1c5614}from'ckeditor5/src/engine';export default class L extends _0x466a01{[_0x3402('0x31')](){const _0x401eea=this[_0x3402('0x3a')];if(!_0x401eea['plugins'][_0x3402('0x1d')]('DocumentListEditing'))return;const _0x3ab00d=_0x401eea['locale'],_0x2f7505=_0x401eea['plugins'][_0x3402('0x3b')](_0x3402('0x2d')),_0x145656=_0x401eea[_0x3402('0x1')][_0x3402('0x3b')](_0x3402('0xb'));function _0x5a4f7a(_0x4ae29f){return()=>{const _0x1e0417=_0x401eea[_0x3402('0x2f')][_0x3402('0x3b')](_0x4ae29f);let _0x54848f=Array[_0x3402('0x29')](_0x401eea[_0x3402('0x1e')][_0x3402('0x11')][_0x3402('0x41')]['getSelectedBlocks']());if(_0x2ea3df(_0x4ae29f)){_0x54848f=_0x145656[_0x3402('0x21')](_0x54848f);const _0x195e9f=[];for(const _0x133e69 of _0x54848f)_0x145656[_0x3402('0x8')](_0x133e69)&&_0x195e9f[_0x3402('0x37')](_0x133e69);_0x54848f=_0x195e9f;}_0x401eea['model'][_0x3402('0x23')](()=>{_0x2f7505[_0x3402('0x4b')](_0x54848f,{'commandName':_0x4ae29f,'commandParams':[{'forceValue':!_0x1e0417[_0x3402('0x1b')]}],'formatGroupId':_0x3402('0x28')},[],_0x3402('0x14'));});};}function _0xc71240(_0x1c334c){return()=>{const _0x2d2505=function(_0x2349a0){let _0x58e0b3=Array[_0x3402('0x29')](_0x2349a0);const _0x24f7ee=_0x58e0b3['findIndex'](_0x2851ec=>!_0x2851ec[_0x3402('0x48')](_0x3402('0x25')));return _0x24f7ee>-0x1&&(_0x58e0b3=_0x58e0b3[_0x3402('0x22')](0x0,_0x24f7ee)),_0x58e0b3;}(_0x401eea[_0x3402('0x1e')]['document'][_0x3402('0x41')][_0x3402('0xd')]()),_0x1956e3=_0x2d2505[_0x2d2505[_0x3402('0x2b')]-0x1],_0x4ede26=_0x401eea[_0x3402('0x1e')][_0x3402('0x4d')][_0x3402('0xa')](_0x1956e3)?'after':_0x3402('0x7'),_0x489256=_0x401eea[_0x3402('0x1e')][_0x3402('0xe')](_0x401eea['model'][_0x3402('0x15')](_0x2d2505[0x0],_0x3402('0x13')),_0x401eea[_0x3402('0x1e')][_0x3402('0x15')](_0x1956e3,_0x4ede26));_0x401eea['model'][_0x3402('0x23')](()=>{_0x2f7505[_0x3402('0x3f')](_0x489256,{'commandName':_0x1c334c,'commandParams':[],'formatGroupId':_0x3402('0x28')},function(_0x520123){const _0x2715d2=new Set();for(const _0x2734cd of _0x520123){let _0x3d1ee9=_0x2734cd['nextSibling'];for(;_0x3d1ee9&&_0x3d1ee9[_0x3402('0x39')](_0x3402('0x40'))>_0x2734cd['getAttribute'](_0x3402('0x40'));)_0x2715d2[_0x3402('0x9')](_0x3d1ee9),_0x3d1ee9=_0x3d1ee9['nextSibling'];}return Array[_0x3402('0x29')](_0x2715d2);}(_0x2d2505));});};}function _0x40137a(_0x517d7b){return()=>{const _0x510904=_0x401eea[_0x3402('0x1e')][_0x3402('0x11')]['selection'][_0x3402('0xd')]()['next']()[_0x3402('0x1b')],_0x4ff67d=_0x401eea[_0x3402('0x1e')][_0x3402('0x15')](_0x510904,_0x3402('0x13')),_0x51610d=_0x401eea[_0x3402('0x1e')]['createPositionAt'](_0x510904,0x0),_0x17948b=_0x401eea[_0x3402('0x1e')][_0x3402('0xe')](_0x4ff67d,_0x51610d);_0x401eea[_0x3402('0x1e')][_0x3402('0x23')](()=>{_0x2f7505[_0x3402('0x3f')](_0x17948b,{'commandName':_0x517d7b,'commandParams':[],'formatGroupId':'listType'});});};}function _0x2ea3df(_0x833c93){const _0x15f927=_0x401eea[_0x3402('0x2f')][_0x3402('0x3b')](_0x3402('0x2c'))[_0x3402('0x1b')],_0x4221ce=_0x401eea[_0x3402('0x2f')]['get'](_0x3402('0x12'))[_0x3402('0x1b')];return'numberedList'===_0x833c93?_0x15f927:_0x4221ce;}_0x2f7505[_0x3402('0xf')](_0x3402('0x12'),_0x5a4f7a(_0x3402('0x12'))),_0x2f7505[_0x3402('0xf')](_0x3402('0x2c'),_0x5a4f7a(_0x3402('0x2c'))),_0x2f7505[_0x3402('0xf')]('indentList',_0xc71240(_0x3402('0x5'))),_0x2f7505[_0x3402('0xf')](_0x3402('0x42'),_0xc71240(_0x3402('0x42'))),_0x2f7505['enableCommand'](_0x3402('0x45'),_0x40137a(_0x3402('0x45'))),_0x2f7505[_0x3402('0xf')](_0x3402('0x6'),_0x40137a(_0x3402('0x6'))),_0x2f7505['_descriptionFactory'][_0x3402('0xc')](function(_0xda5d70){const _0x24dded=!_0x401eea['model'][_0x3402('0x4d')][_0x3402('0xa')](_0xda5d70),_0x4a4128=_0xda5d70[_0x3402('0x2')],_0x3378e4=_0xda5d70[_0x3402('0x16')],_0x4ba90b=_0xda5d70['getAttribute']('listItemId'),_0x8f59d=!_0x4a4128||_0x4a4128[_0x3402('0x39')](_0x3402('0x25'))!==_0x4ba90b,_0x4e4b4a=!_0x3378e4||_0x3378e4['getAttribute'](_0x3402('0x25'))!==_0x4ba90b;return _0x24dded&&Boolean(_0x4ba90b)&&_0x8f59d&&_0x4e4b4a;},_0x1fe25c=>_0x5dbca0(_0x3ab00d,_0x3402('0x44'),_0x1fe25c)),_0x2f7505[_0x3402('0x30')][_0x3402('0x1c')](function(_0x5b4f37){const {data:_0x54a475}=_0x5b4f37;if(!_0x54a475)return;let _0x4afde8,_0x5b36d2,_0x2fec30,_0x2c40ec;switch(_0x54a475['commandName']){case'bulletedList':_0x2fec30=_0x54a475['commandParams'][0x0]['forceValue'],_0x2c40ec=_0x2ea3df(_0x54a475[_0x3402('0x4a')]),_0x4afde8=_0x2fec30?_0x3402('0x43'):_0x3402('0x17'),_0x2c40ec&&(_0x4afde8=_0x3402('0x46')),_0x5b36d2={'type':_0x3402('0x1f'),'content':_0x5dbca0(_0x3ab00d,_0x4afde8,_0x5dbca0(_0x3ab00d,_0x3402('0x3c')))};break;case _0x3402('0x12'):_0x2fec30=_0x54a475[_0x3402('0x38')][0x0][_0x3402('0x34')],_0x2c40ec=_0x2ea3df(_0x54a475[_0x3402('0x4a')]),_0x4afde8=_0x2fec30?_0x3402('0x43'):_0x3402('0x17'),_0x2c40ec&&(_0x4afde8=_0x3402('0x46')),_0x5b36d2={'type':_0x3402('0x1f'),'content':_0x5dbca0(_0x3ab00d,_0x4afde8,_0x5dbca0(_0x3ab00d,_0x3402('0x10')))};break;case _0x3402('0x5'):_0x4afde8=_0x3402('0x1a'),_0x5b36d2={'type':_0x3402('0x1f'),'content':_0x5dbca0(_0x3ab00d,_0x4afde8,_0x5dbca0(_0x3ab00d,_0x3402('0x44')))};break;case _0x3402('0x42'):_0x4afde8=function(_0x1dd472){const _0x1a4072=_0x1dd472['getFirstRange']();let _0x4562b3=_0x1a4072['start']['nodeAfter'];for(;_0x4562b3&&_0x1a4072[_0x3402('0x49')](_0x4562b3);){if(_0x4562b3['getAttribute']('listIndent')>0x0)return!0x1;_0x4562b3=_0x4562b3['nextSibling'];}return!0x0;}(_0x5b4f37)?_0x5dbca0(_0x3ab00d,'*Format:*\x20remove\x20from\x20%0',_0x5dbca0(_0x3ab00d,function(_0x49c48e){const _0x4139f6=_0x49c48e[_0x3402('0x3d')]()[_0x3402('0x33')][_0x3402('0x2a')];return _0x3402('0x3e')+_0x4139f6[_0x3402('0x39')](_0x3402('0x28'))[_0x3402('0x27')]()+_0x3402('0x35');}(_0x5b4f37))):_0x5dbca0(_0x3ab00d,_0x3402('0x0'),_0x5dbca0(_0x3ab00d,_0x3402('0x44'))),_0x5b36d2={'type':_0x3402('0x1f'),'content':_0x4afde8};break;case'mergeListItemBackward':case _0x3402('0x36'):!0x1===_0x54a475[_0x3402('0x18')]&&(_0x4afde8=_0x3402('0x4'),_0x5b36d2={'type':'deletion','content':_0x5dbca0(_0x3ab00d,_0x4afde8,_0x5dbca0(_0x3ab00d,_0x3402('0x44')))});}return _0x5b36d2;}),_0x2f7505[_0x3402('0x24')][_0x3402('0x3')](_0x3402('0x2e'),_0x3402('0x14'),'accept',function(_0xa5bcce,_0x39cd08){const _0x396e24=[];for(let _0x12240b of _0xa5bcce)_0x12240b['start']['nodeAfter']===_0x12240b['end'][_0x3402('0x20')]&&(_0x12240b=_0x401eea[_0x3402('0x1e')][_0x3402('0xe')](_0x401eea[_0x3402('0x1e')][_0x3402('0x15')](_0x12240b[_0x3402('0x33')]['nodeAfter'],0x0))),_0x396e24[_0x3402('0x37')](_0x12240b);_0x401eea[_0x3402('0x1e')][_0x3402('0x23')](_0x2ce330=>{const _0x35d963=_0x401eea['model'][_0x3402('0x11')][_0x3402('0x41')],_0x3a428=Array[_0x3402('0x29')](_0x35d963['getRanges']())[_0x3402('0x47')](_0xcc841e=>_0x1c5614[_0x3402('0x26')](_0xcc841e));_0x2ce330[_0x3402('0x32')](_0x396e24),_0x401eea['commands'][_0x3402('0x3b')](_0x39cd08[_0x3402('0x4a')])[_0x3402('0x19')](),_0x39cd08[_0x3402('0x38')][_0x3402('0x37')]({'forceDefaultExecution':!0x0}),_0x401eea[_0x3402('0x4c')](_0x39cd08[_0x3402('0x4a')],..._0x39cd08[_0x3402('0x38')]),_0x2ce330['setSelection'](_0x3a428);for(const _0xc5801 of _0x3a428)_0xc5801['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22b0=['isFirstBlockOfListItem','config','handleDescriptions','toUpperCase','*Change\x20to:*\x20%0','editor','styles','listStart','DocumentListUtils','DocumentListPropertiesEditing','model','list.properties','get','format','_LIST_','ELEMENT_','markMultiRangeBlockFormat','length','has','_getSuggestionBlocks','startIndex','DocumentListPropertiesUtils','bind','_getTranslationKeyForListStyle','push','plugins','_descriptionFactory','filter','TrackChangesEditing','getSelectedBlocks','replace','_getSuggestionBlocksForListStyle','listType','numbered','handleListReversedCommand','enableCommand','locale','from','afterInit','getAttribute','reversed','handleListStartCommand','registerDescriptionCallback','selection','isListItemBlock','getListTypeFromListStyleType','expandListBlocksToCompleteList','change','listReversed','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','listStyle','handleListStyleCommand','commandParams','type'];(function(_0x38ffbe,_0x22b043){const _0x5dc00b=function(_0x1c8cba){while(--_0x1c8cba){_0x38ffbe['push'](_0x38ffbe['shift']());}};_0x5dc00b(++_0x22b043);}(_0x22b0,0x153));const _0x5dc0=function(_0x38ffbe,_0x22b043){_0x38ffbe=_0x38ffbe-0x0;let _0x5dc00b=_0x22b0[_0x38ffbe];return _0x5dc00b;};import{Plugin as _0x499313}from'ckeditor5/src/core';import{getTranslation as _0x47e73e}from'../utils/common-translations';export default class At extends _0x499313{[_0x5dc0('0x1d')](){if(!this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x9')](_0x5dc0('0x0')))return;const _0x3941b1=this['editor'][_0x5dc0('0x2f')][_0x5dc0('0x3')](_0x5dc0('0x2')),_0x28e4c9=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')](_0x5dc0('0x13'));_0x3941b1[_0x5dc0('0x34')]&&_0x28e4c9['enableCommand'](_0x5dc0('0x2a'),this[_0x5dc0('0x2b')]['bind'](this)),_0x3941b1[_0x5dc0('0x1f')]&&_0x28e4c9[_0x5dc0('0x1a')](_0x5dc0('0x27'),this[_0x5dc0('0x19')]['bind'](this)),_0x3941b1[_0x5dc0('0xb')]&&_0x28e4c9['enableCommand'](_0x5dc0('0x35'),this[_0x5dc0('0x20')][_0x5dc0('0xd')](this)),_0x28e4c9[_0x5dc0('0x11')][_0x5dc0('0x21')](this[_0x5dc0('0x30')][_0x5dc0('0xd')](this));}[_0x5dc0('0x2b')](_0x474857,_0x2159bb={}){const _0x340935=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')](_0x5dc0('0x13')),_0xc19daa=this[_0x5dc0('0x16')]();this['editor'][_0x5dc0('0x1')][_0x5dc0('0x26')](()=>{_0x340935['markMultiRangeBlockFormat'](_0xc19daa,{'commandName':_0x5dc0('0x2a'),'commandParams':[{'type':_0x2159bb[_0x5dc0('0x2d')]}],'formatGroupId':_0x5dc0('0x2a')});});}[_0x5dc0('0x19')](_0x23e0cf,_0x3e306d={}){const _0x1b89ea=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')](_0x5dc0('0x13')),_0x3f35ac=this['editor'][_0x5dc0('0x10')][_0x5dc0('0x3')]('DocumentListUtils'),_0x4bd99e=this['_getSuggestionBlocks'](_0xe91e44=>_0x3f35ac[_0x5dc0('0x23')](_0xe91e44)&&_0x5dc0('0x18')===_0xe91e44[_0x5dc0('0x1e')](_0x5dc0('0x17')));null!==_0x4bd99e&&this['editor'][_0x5dc0('0x1')][_0x5dc0('0x26')](()=>{_0x1b89ea['markMultiRangeBlockFormat'](_0x4bd99e,{'commandName':_0x5dc0('0x27'),'commandParams':[{'reversed':_0x3e306d[_0x5dc0('0x1f')]}],'formatGroupId':_0x5dc0('0x27')});});}[_0x5dc0('0x20')](_0x33ab33,_0x109595={}){const _0x5f0c8a=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')](_0x5dc0('0x13')),_0x1479ed=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')]('DocumentListUtils'),_0x17e2da=this[_0x5dc0('0xa')](_0x43875a=>_0x1479ed[_0x5dc0('0x23')](_0x43875a)&&_0x5dc0('0x18')===_0x43875a['getAttribute'](_0x5dc0('0x17')));null!==_0x17e2da&&this[_0x5dc0('0x33')][_0x5dc0('0x1')][_0x5dc0('0x26')](()=>{_0x5f0c8a[_0x5dc0('0x7')](_0x17e2da,{'commandName':'listStart','commandParams':[{'startIndex':_0x109595[_0x5dc0('0xb')]}],'formatGroupId':_0x5dc0('0x35')});});}[_0x5dc0('0x30')](_0x37e902){const _0x40726e=this[_0x5dc0('0x33')][_0x5dc0('0x1b')],{data:_0x49a9f8}=_0x37e902;if(!_0x49a9f8)return;let _0x2baef9,_0x5c0fbd;switch(_0x49a9f8['commandName']){case _0x5dc0('0x2a'):_0x2baef9=_0x5dc0('0x32'),_0x5c0fbd={'type':_0x5dc0('0x4'),'content':_0x47e73e(_0x40726e,_0x2baef9,_0x47e73e(_0x40726e,this[_0x5dc0('0xe')](_0x49a9f8[_0x5dc0('0x2c')][0x0][_0x5dc0('0x2d')])))};break;case'listReversed':_0x2baef9=_0x49a9f8[_0x5dc0('0x2c')][0x0][_0x5dc0('0x1f')]?_0x5dc0('0x28'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5c0fbd={'type':_0x5dc0('0x4'),'content':_0x47e73e(_0x40726e,_0x2baef9)};break;case _0x5dc0('0x35'):_0x2baef9=_0x5dc0('0x29'),_0x5c0fbd={'type':_0x5dc0('0x4'),'content':_0x47e73e(_0x40726e,_0x2baef9,_0x49a9f8[_0x5dc0('0x2c')][0x0][_0x5dc0('0xb')])};}return _0x5c0fbd;}[_0x5dc0('0x16')](){const _0x1d546d=this[_0x5dc0('0x33')]['plugins'][_0x5dc0('0x3')](_0x5dc0('0x36'));let _0x506cf9=Array[_0x5dc0('0x1c')](this[_0x5dc0('0x33')][_0x5dc0('0x1')]['document'][_0x5dc0('0x22')][_0x5dc0('0x14')]());return _0x506cf9[_0x5dc0('0xf')](..._0x1d546d[_0x5dc0('0x25')](_0x506cf9)),_0x506cf9=[...new Set(_0x506cf9)],_0x506cf9;}[_0x5dc0('0xa')](_0x4b47ef){const _0xf0878=this[_0x5dc0('0x33')][_0x5dc0('0x10')][_0x5dc0('0x3')](_0x5dc0('0x36'));let _0x3dc02c=Array[_0x5dc0('0x1c')](this[_0x5dc0('0x33')]['model']['document']['selection'][_0x5dc0('0x14')]())[_0x5dc0('0x12')](_0x4b47ef);if(!_0x3dc02c[_0x5dc0('0x8')])return null;_0x3dc02c=_0xf0878[_0x5dc0('0x25')](_0x3dc02c);const _0x3a79ce=[];for(const _0x5041c1 of _0x3dc02c)_0xf0878[_0x5dc0('0x2e')](_0x5041c1)&&_0x3a79ce[_0x5dc0('0xf')](_0x5041c1);return _0x3a79ce;}[_0x5dc0('0xe')](_0x45de62){return _0x5dc0('0x6')+this[_0x5dc0('0x33')]['plugins'][_0x5dc0('0x3')](_0x5dc0('0xc'))[_0x5dc0('0x24')](_0x45de62)[_0x5dc0('0x31')]()+_0x5dc0('0x5')+_0x45de62[_0x5dc0('0x31')]()[_0x5dc0('0x15')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f24=['detach','createRange','selection','data','editing','change','nextSibling','enter','afterExecute','removeMarker:suggestion:insertion','options','hasClass','showSuggestionHighlights','model','mapper','setSelection','bind','markerNameToElements','addMarker:suggestion:insertion','downcastDispatcher','parent','TrackChangesEditing','fire','fromRange','editor','init','getFirstPosition','high','get','plugins','end','enterBlock','createPositionAt','markerName','commands','ck-suggestion-marker-split'];(function(_0x54dbb9,_0x3f2469){const _0x1264aa=function(_0x3ab1c6){while(--_0x3ab1c6){_0x54dbb9['push'](_0x54dbb9['shift']());}};_0x1264aa(++_0x3f2469);}(_0x3f24,0x1c8));const _0x1264=function(_0x54dbb9,_0x3f2469){_0x54dbb9=_0x54dbb9-0x0;let _0x1264aa=_0x3f24[_0x54dbb9];return _0x1264aa;};import{Plugin as _0x1d0544}from'ckeditor5/src/core';import{Enter as _0xa70e75}from'ckeditor5/src/enter';import{LiveRange as _0x3fa443}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x58a4da}from'./utils';export default class q extends _0x1d0544{static get['requires'](){return[_0xa70e75];}[_0x1264('0x1')](){const _0x4975cb=this[_0x1264('0x0')],_0x253768=_0x4975cb[_0x1264('0x5')][_0x1264('0x4')](_0x1264('0x21')),_0x2b48f6=_0x4975cb[_0x1264('0xa')][_0x1264('0x4')]('enter');_0x253768['enableCommand'](_0x1264('0x13'),()=>{_0x4975cb[_0x1264('0x19')][_0x1264('0x11')](_0x6c9348=>{const _0x236c7=_0x4975cb['model']['document'][_0x1264('0xe')],_0x493261=_0x236c7[_0x1264('0x2')](),_0x2ffc7e=_0x3fa443[_0x1264('0x23')](_0x236c7['getFirstRange']());if(_0x2b48f6[_0x1264('0x7')](_0x6c9348)){const _0x28bcb4=_0x4975cb['model'][_0x1264('0x8')](_0x493261[_0x1264('0x20')][_0x1264('0x12')],0x0),_0x31b15b=_0x6c9348['createRange'](_0x493261,_0x28bcb4);_0x253768['markInsertion'](_0x31b15b);}else _0x6c9348[_0x1264('0x1b')](_0x6c9348[_0x1264('0xd')](_0x2ffc7e[_0x1264('0x6')]));_0x2ffc7e[_0x1264('0xc')](),_0x2b48f6[_0x1264('0x22')](_0x1264('0x14'),{'writer':_0x6c9348});});}),_0x4975cb[_0x1264('0x10')][_0x1264('0x1f')]['on'](_0x1264('0x1e'),_0x58a4da(_0x4975cb,'split'),{'priority':'high'}),_0x4975cb[_0x1264('0x10')][_0x1264('0x1f')]['on'](_0x1264('0x15'),(_0x11e186,_0x590c4e,_0x57482c)=>{const _0x4fd924=_0x57482c[_0x1264('0x1a')][_0x1264('0x1d')](_0x590c4e[_0x1264('0x9')]);if(_0x4fd924)for(const _0x1927f8 of _0x4fd924)_0x1927f8[_0x1264('0x17')](_0x1264('0xb'))&&(_0x57482c[_0x1264('0x1a')]['unbindElementFromMarkerName'](_0x1927f8,_0x590c4e[_0x1264('0x9')]),_0x57482c['writer']['remove'](_0x1927f8));},{'priority':_0x1264('0x3')}),_0x4975cb[_0x1264('0xf')][_0x1264('0x1f')]['on'](_0x1264('0x1e'),(_0x3dca76,_0x555243,_0x3b8313)=>{_0x3b8313[_0x1264('0x16')][_0x1264('0x18')]&&_0x58a4da(_0x4975cb,'split',{'showActiveMarker':!0x1})[_0x1264('0x1c')](this)(_0x3dca76,_0x555243,_0x3b8313);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xafb7=['find','editor','_isInDeletionRange','handleFindCommand','suggestion:deletion','findNext','TrackChangesEditing','string','end','afterInit','createPositionAt','enableCommand','getIntersection','plugins','replaceAll','findByTextCallback','has','get','getRange','getMarkersGroup','filter','model','start','replace','findPrevious','FindAndReplaceUtils'];(function(_0x320e33,_0xafb7ca){const _0x34ed26=function(_0x2b7e11){while(--_0x2b7e11){_0x320e33['push'](_0x320e33['shift']());}};_0x34ed26(++_0xafb7ca);}(_0xafb7,0x136));const _0x34ed=function(_0x320e33,_0xafb7ca){_0x320e33=_0x320e33-0x0;let _0x34ed26=_0xafb7[_0x320e33];return _0x34ed26;};import{Plugin as _0x10ffee}from'ckeditor5/src/core';export default class z extends _0x10ffee{[_0x34ed('0xb')](){if(!this[_0x34ed('0x3')][_0x34ed('0xf')][_0x34ed('0x12')]('FindAndReplaceEditing'))return;const _0xe94bc4=this[_0x34ed('0x3')][_0x34ed('0xf')][_0x34ed('0x13')](_0x34ed('0x8'));_0xe94bc4['enableCommand'](_0x34ed('0x2'),this['handleFindCommand']['bind'](this)),_0xe94bc4['enableCommand'](_0x34ed('0x7')),_0xe94bc4[_0x34ed('0xd')](_0x34ed('0x0')),_0xe94bc4['enableCommand'](_0x34ed('0x19')),_0xe94bc4[_0x34ed('0xd')](_0x34ed('0x10'));}[_0x34ed('0x5')](_0x3272e1,_0x2bf836,_0x1d6079={}){const _0x540b4e=this[_0x34ed('0x3')][_0x34ed('0xf')][_0x34ed('0x13')](_0x34ed('0x1'));void 0x0!==_0x1d6079&&_0x3272e1(_0x1006d9=>(_0x34ed('0x9')==typeof _0x2bf836?_0x540b4e[_0x34ed('0x11')](_0x2bf836,_0x1d6079):_0x2bf836)(_0x1006d9)[_0x34ed('0x16')](_0x4be49e=>!0x1===this['_isInDeletionRange'](_0x4be49e,_0x1006d9['item'])),_0x1d6079);}[_0x34ed('0x4')](_0x3264d1,_0x35cb15){const _0xf8c3af=this['editor'][_0x34ed('0x17')]['createRange'](this[_0x34ed('0x3')][_0x34ed('0x17')][_0x34ed('0xc')](_0x35cb15,_0x3264d1[_0x34ed('0x18')]),this[_0x34ed('0x3')][_0x34ed('0x17')]['createPositionAt'](_0x35cb15,_0x3264d1[_0x34ed('0xa')]));for(const _0x2b703f of this['editor']['model']['markers'][_0x34ed('0x15')](_0x34ed('0x6')))if(null!==_0xf8c3af[_0x34ed('0xe')](_0x2b703f[_0x34ed('0x14')]()))return!0x0;return!0x1;}}
|