@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231030.0 → 0.0.0-nightly-20231101.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/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-20231101.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-20231101.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231101.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 _0x844b=['TrackChangesEditing','isEnabled','track-changes-accept-suggestion-not-found','get','refresh','_suggestions','getRanges','model','acceptSuggestion','_isEnabledBasedOnSelection','editor'];(function(_0x22caa9,_0x844bd2){const _0x4fe1e2=function(_0x5298d9){while(--_0x5298d9){_0x22caa9['push'](_0x22caa9['shift']());}};_0x4fe1e2(++_0x844bd2);}(_0x844b,0xf6));const _0x4fe1=function(_0x22caa9,_0x844bd2){_0x22caa9=_0x22caa9-0x0;let _0x4fe1e2=_0x844b[_0x22caa9];return _0x4fe1e2;};import{Command as _0x51450f}from'ckeditor5/src/core';import{CKEditorError as _0xb73637}from'ckeditor5/src/utils';export default class M extends _0x51450f{constructor(_0x29a963,_0x22a55b){super(_0x29a963),this[_0x4fe1('0x1')]=_0x22a55b,this[_0x4fe1('0x0')](),this[_0x4fe1('0x5')]=!0x1;}[_0x4fe1('0x0')](){this[_0x4fe1('0x8')]=!0x0;}['execute'](_0x4c8254){const _0x1e910d=this[_0x4fe1('0x1')][_0x4fe1('0xa')](_0x4c8254);if(!_0x1e910d)throw new _0xb73637(_0x4fe1('0x9'),this);const _0x2a5077=_0x1e910d[_0x4fe1('0x2')]();this[_0x4fe1('0x6')][_0x4fe1('0x3')]['canEditAt'](_0x2a5077)&&this['editor']['plugins'][_0x4fe1('0xa')](_0x4fe1('0x7'))[_0x4fe1('0x4')](_0x1e910d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf400=['_isEnabledBasedOnSelection','track-changes-discard-suggestion-not-found','discardSuggestion','execute','_suggestions','get','editor','plugins','refresh','canEditAt','isEnabled','getRanges'];(function(_0x1a4ab1,_0xf40084){const _0x13abec=function(_0x2ba760){while(--_0x2ba760){_0x1a4ab1['push'](_0x1a4ab1['shift']());}};_0x13abec(++_0xf40084);}(_0xf400,0xd2));const _0x13ab=function(_0x1a4ab1,_0xf40084){_0x1a4ab1=_0x1a4ab1-0x0;let _0x13abec=_0xf400[_0x1a4ab1];return _0x13abec;};import{Command as _0x1e1875}from'ckeditor5/src/core';import{CKEditorError as _0x7f76d5}from'ckeditor5/src/utils';export default class $ extends _0x1e1875{constructor(_0x24005b,_0x33c795){super(_0x24005b),this[_0x13ab('0xa')]=_0x33c795,this['refresh'](),this[_0x13ab('0x6')]=!0x1;}[_0x13ab('0x2')](){this[_0x13ab('0x4')]=!0x0;}[_0x13ab('0x9')](_0x13add0){const _0x150049=this[_0x13ab('0xa')]['get'](_0x13add0);if(!_0x150049)throw new _0x7f76d5(_0x13ab('0x7'),this);const _0x5a671b=_0x150049[_0x13ab('0x5')]();this[_0x13ab('0x0')]['model'][_0x13ab('0x3')](_0x5a671b)&&this['editor'][_0x13ab('0x1')][_0x13ab('0xb')]('TrackChangesEditing')[_0x13ab('0x8')](_0x150049);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f87=['isEnabled','execute','editor','model','values','_suggestions','some','refresh','getRanges','canEditAt','_command','from'];(function(_0x4f5c4f,_0x2f87d2){const _0x47a3c7=function(_0x3bbaf9){while(--_0x3bbaf9){_0x4f5c4f['push'](_0x4f5c4f['shift']());}};_0x47a3c7(++_0x2f87d2);}(_0x2f87,0x1b1));const _0x47a3=function(_0x4f5c4f,_0x2f87d2){_0x4f5c4f=_0x4f5c4f-0x0;let _0x47a3c7=_0x2f87[_0x4f5c4f];return _0x47a3c7;};import{Command as _0x2e6143}from'ckeditor5/src/core';import{sortSuggestions as _0x2468d0,executeCommandForSuggestions as _0x312dd7}from'../utils/utils';export default class N extends _0x2e6143{constructor(_0x172e14,_0x2760fd,_0x4746dd){super(_0x172e14),this['_command']=_0x2760fd,this[_0x47a3('0x4')]=_0x4746dd,this[_0x47a3('0x6')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x47a3('0x6')](){const _0x576500=Array[_0x47a3('0xa')](this['_suggestions'][_0x47a3('0x3')]())[_0x47a3('0x5')](_0x316dae=>_0x316dae['isInContent']);this[_0x47a3('0xb')]=this['_command']['isEnabled']&&_0x576500;}[_0x47a3('0x0')](){const _0x21ab21=_0x2468d0(Array[_0x47a3('0xa')](this[_0x47a3('0x4')]['values']()));for(const _0x568aaf of _0x21ab21){const _0xa20a34=_0x568aaf[_0x47a3('0x7')]();if(!this['editor'][_0x47a3('0x2')][_0x47a3('0x8')](_0xa20a34))return;}_0x312dd7(this[_0x47a3('0x1')][_0x47a3('0x2')],this[_0x47a3('0x9')],_0x21ab21);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1174=['_selectedSuggestions','model','_command','_suggestions','selection','canEditAt','document','size','values','from','editor','refresh'];(function(_0x3a800d,_0x1174b9){const _0x3577d9=function(_0x54b6cb){while(--_0x54b6cb){_0x3a800d['push'](_0x3a800d['shift']());}};_0x3577d9(++_0x1174b9);}(_0x1174,0x159));const _0x3577=function(_0x3a800d,_0x1174b9){_0x3a800d=_0x3a800d-0x0;let _0x3577d9=_0x1174[_0x3a800d];return _0x3577d9;};import{Command as _0x46dc68}from'ckeditor5/src/core';import{sortSuggestions as _0x3756f2,getSelectedSuggestions as _0xe1cb6e,executeCommandForSuggestions as _0x54ec25}from'../utils/utils';export default class R extends _0x46dc68{constructor(_0xa3d218,_0x2b408f,_0x597aba){super(_0xa3d218),this[_0x3577('0x5')]=_0x2b408f,this[_0x3577('0x6')]=_0x597aba,this[_0x3577('0x3')]=new Set(),this[_0x3577('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3577('0x2')](){const _0x444dbc=this[_0x3577('0x1')][_0x3577('0x4')][_0x3577('0x9')][_0x3577('0x7')],_0x3272aa=Array[_0x3577('0x0')](this['_suggestions'][_0x3577('0xb')]());this['_selectedSuggestions']=_0xe1cb6e(_0x444dbc,_0x3272aa),this['isEnabled']=this[_0x3577('0x5')]['isEnabled']&&!!this[_0x3577('0x3')][_0x3577('0xa')];}['execute'](){const _0x35a02b=_0x3756f2(Array[_0x3577('0x0')](this[_0x3577('0x3')]));for(const _0x498429 of _0x35a02b){const _0x33761c=_0x498429['getRanges']();if(!this['editor'][_0x3577('0x4')][_0x3577('0x8')](_0x33761c))return;}_0x54ec25(this[_0x3577('0x1')][_0x3577('0x4')],this['_command'],_0x35a02b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48ff=['_enabledCommands','_isEnabledBasedOnSelection','forceDisabled','isEnabled','refresh','clearForceDisabled','editor','execute','commands','_enableCommands','_disableUnsupportedCommands','has','value','affectsData'];(function(_0x3d528d,_0x48ff67){const _0x27d949=function(_0x2b939c){while(--_0x2b939c){_0x3d528d['push'](_0x3d528d['shift']());}};_0x27d949(++_0x48ff67);}(_0x48ff,0x165));const _0x27d9=function(_0x3d528d,_0x48ff67){_0x3d528d=_0x3d528d-0x0;let _0x27d949=_0x48ff[_0x3d528d];return _0x27d949;};import{Command as _0x8a0c8e}from'ckeditor5/src/core';export default class _ extends _0x8a0c8e{constructor(_0x42376b,_0x19fe78){super(_0x42376b),this[_0x27d9('0x7')]=_0x19fe78,this[_0x27d9('0x5')]=!0x1,this[_0x27d9('0xb')](),this[_0x27d9('0x8')]=!0x1;}[_0x27d9('0xb')](){this[_0x27d9('0xa')]=!0x0;}[_0x27d9('0x0')](){this[_0x27d9('0x5')]=!this[_0x27d9('0x5')],this[_0x27d9('0x5')]?this[_0x27d9('0x3')]():this[_0x27d9('0x2')]();}[_0x27d9('0x3')](){for(const _0x4311a6 of this[_0x27d9('0xd')]['commands'][_0x27d9('0x1')]())_0x4311a6[_0x27d9('0x6')]&&!this[_0x27d9('0x7')]['has'](_0x4311a6)&&_0x4311a6[_0x27d9('0x9')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x22f258 of this[_0x27d9('0xd')][_0x27d9('0x1')][_0x27d9('0x1')]())_0x22f258[_0x27d9('0x6')]&&!this[_0x27d9('0x7')][_0x27d9('0x4')](_0x22f258)&&_0x22f258[_0x27d9('0xc')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52e7=['enableCommand','plugins','get','TrackChangesEditing','editor','showAIAssistant'];(function(_0xb628fc,_0x52e7c5){const _0x126969=function(_0xc4aa49){while(--_0xc4aa49){_0xb628fc['push'](_0xb628fc['shift']());}};_0x126969(++_0x52e7c5);}(_0x52e7,0x93));const _0x1269=function(_0xb628fc,_0x52e7c5){_0xb628fc=_0xb628fc-0x0;let _0x126969=_0x52e7[_0xb628fc];return _0x126969;};import{Plugin as _0x3629e7}from'ckeditor5/src/core';export default class j extends _0x3629e7{['afterInit'](){const _0x3a1517=this[_0x1269('0x1')],_0x38c084=_0x3a1517[_0x1269('0x4')][_0x1269('0x5')](_0x1269('0x0'));_0x3a1517['commands'][_0x1269('0x5')](_0x1269('0x2'))&&_0x38c084[_0x1269('0x3')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x144d=['commandParams','filter','justify','AlignmentEditing','model','getSelectedBlocks','right','markBlockFormat','from','document','value','get','contentLanguageDirection','schema','editor','locale','checkAttribute','alignment','selection','FORMAT_ALIGN_TO_LEFT','enableCommand','getAttribute','FORMAT_ALIGN_TO_RIGHT','center','ltr','left','commandName','plugins'];(function(_0xed6b59,_0x144da7){const _0x1c0dc6=function(_0x46aa24){while(--_0x46aa24){_0xed6b59['push'](_0xed6b59['shift']());}};_0x1c0dc6(++_0x144da7);}(_0x144d,0xa2));const _0x1c0d=function(_0xed6b59,_0x144da7){_0xed6b59=_0xed6b59-0x0;let _0x1c0dc6=_0x144d[_0xed6b59];return _0x1c0dc6;};import{Plugin as _0x4a93e9}from'ckeditor5/src/core';import{getTranslation as _0x16f7ad}from'../utils/common-translations';export default class x extends _0x4a93e9{['afterInit'](){const _0x16de45=this[_0x1c0d('0x14')],_0x47f4ff=_0x16de45['locale'];if(!_0x16de45[_0x1c0d('0x5')]['has'](_0x1c0d('0x9')))return;const _0xe4cbdc=_0x16de45[_0x1c0d('0x5')][_0x1c0d('0x11')]('TrackChangesEditing');_0xe4cbdc[_0x1c0d('0x1a')](_0x1c0d('0x17'),(_0xc2fba7,_0x2e49e0={})=>{let _0x1f3bd9=_0x2e49e0[_0x1c0d('0x10')];_0x2e49e0[_0x1c0d('0x10')]||(_0x1f3bd9=_0x1c0d('0x2')===_0x16de45[_0x1c0d('0x15')][_0x1c0d('0x12')]?_0x1c0d('0x3'):_0x1c0d('0xc'));const _0xff14ce=Array[_0x1c0d('0xe')](this[_0x1c0d('0x14')][_0x1c0d('0xa')][_0x1c0d('0xf')][_0x1c0d('0x18')][_0x1c0d('0xb')]())[_0x1c0d('0x7')](_0x264f37=>function(_0x1705e2,_0x463d61,_0x3b91e4){const _0x348019=_0x1705e2[_0x1c0d('0x1b')](_0x1c0d('0x17'))||null;return _0x463d61[_0x1c0d('0x16')](_0x1705e2,_0x1c0d('0x17'))&&_0x3b91e4!=_0x348019;}(_0x264f37,this[_0x1c0d('0x14')][_0x1c0d('0xa')][_0x1c0d('0x13')],_0x1f3bd9));_0x16de45[_0x1c0d('0xa')]['change'](()=>{for(const _0x393735 of _0xff14ce)_0xe4cbdc[_0x1c0d('0xd')](_0x393735,{'commandName':_0x1c0d('0x17'),'commandParams':[{'value':_0x1f3bd9}]});});}),_0xe4cbdc['_descriptionFactory']['registerDescriptionCallback'](_0x21d663=>{const {data:_0x536c88}=_0x21d663;if(_0x536c88&&_0x1c0d('0x17')==_0x536c88[_0x1c0d('0x4')]){const _0x391ebf=_0x536c88[_0x1c0d('0x6')][0x0][_0x1c0d('0x10')];return{'type':'format','content':_0x16f7ad(_0x47f4ff,'*Format:*\x20%0',function(_0x17ecd2){switch(_0x17ecd2){case'left':return _0x16f7ad(_0x47f4ff,_0x1c0d('0x19'));case _0x1c0d('0xc'):return _0x16f7ad(_0x47f4ff,_0x1c0d('0x0'));case _0x1c0d('0x1'):return _0x16f7ad(_0x47f4ff,'FORMAT_ALIGN_TO_CENTER');case _0x1c0d('0x8'):return _0x16f7ad(_0x47f4ff,'FORMAT_JUSTIFY_TEXT');}}(_0x391ebf))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe646=['value','commandName','toLowerCase','BoldEditing','underline','model','FORMAT_SUPERSCRIPT','isCollapsed','_descriptionFactory','ItalicEditing','bold','getRanges','StrikethroughEditing','selection','FORMAT_BOLD','registerDescriptionCallback','change','forceValue','get','FORMAT_CODE','plugins','slice','FORMAT_UNDERLINE','commandParams','FORMAT_STRIKETHROUGH','subscript','italic','editor','FORMAT_ITALIC','SubscriptEditing','strikethrough','SuperscriptEditing','format','afterInit','superscript','TrackChangesEditing','commands'];(function(_0x559229,_0xe64667){const _0xe15329=function(_0x47424c){while(--_0x47424c){_0x559229['push'](_0x559229['shift']());}};_0xe15329(++_0xe64667);}(_0xe646,0x1cb));const _0xe153=function(_0x559229,_0xe64667){_0x559229=_0x559229-0x0;let _0xe15329=_0xe646[_0x559229];return _0xe15329;};import{Plugin as _0x17db41}from'ckeditor5/src/core';import{getTranslation as _0x1f368f}from'../utils/common-translations';import{getRangesWithAttribute as _0x50789e}from'./utils';const Zt=[_0xe153('0x19'),_0xe153('0x1f'),'UnderlineEditing','CodeEditing',_0xe153('0x22'),_0xe153('0xe'),_0xe153('0x10')];export default class U extends _0x17db41{[_0xe153('0x12')](){const _0x2cf626=this[_0xe153('0xc')],_0x55a01b=_0x2cf626[_0xe153('0x1b')],_0x1e1aed=_0x2cf626[_0xe153('0x5')][_0xe153('0x3')](_0xe153('0x14')),_0x419f3f=_0x2cf626['locale'];for(const _0x14c663 of Zt){if(!_0x2cf626[_0xe153('0x5')]['has'](_0x14c663))continue;const _0x45e480=_0x14c663[_0xe153('0x6')](0x0,-0x7)[_0xe153('0x18')](),_0x259ff9=_0x2cf626[_0xe153('0x15')][_0xe153('0x3')](_0x45e480);_0x1e1aed['enableCommand'](_0x45e480,(_0x29476c,_0x5e7739={})=>{const _0x54c892=_0x55a01b['document'][_0xe153('0x23')];if(_0x54c892[_0xe153('0x1d')])return void _0x29476c(_0x5e7739);const _0x41b14e=void 0x0!==_0x5e7739[_0xe153('0x2')]?_0x5e7739[_0xe153('0x2')]:!_0x259ff9[_0xe153('0x16')];_0x55a01b[_0xe153('0x1')](()=>{const _0x20ccd3=Array['from'](_0x54c892[_0xe153('0x21')]());for(const _0xbad3ee of _0x20ccd3){const _0x47f1e4=_0x41b14e?[_0xbad3ee]:_0x50789e(_0x45e480,_0xbad3ee,_0x55a01b);for(const _0x376947 of _0x47f1e4)_0x1e1aed['markInlineFormat'](_0x376947,{'commandName':_0x45e480,'commandParams':[{'forceValue':_0x41b14e}]});}});});}function _0x1f4cd2(_0x3dd28a,_0x51b9e4){_0x1e1aed[_0xe153('0x1e')][_0xe153('0x0')](_0x29fb37=>{const {data:_0x2fbc79}=_0x29fb37;if(_0x2fbc79&&_0x2fbc79[_0xe153('0x17')]===_0x3dd28a)return _0x2fbc79[_0xe153('0x8')][0x0][_0xe153('0x2')]?{'type':_0xe153('0x11'),'content':_0x1f368f(_0x419f3f,'*Format:*\x20%0',_0x51b9e4)}:{'type':_0xe153('0x11'),'content':_0x1f368f(_0x419f3f,'*Remove\x20format:*\x20%0',_0x51b9e4)};});}_0x1f4cd2(_0xe153('0x20'),_0x1f368f(_0x419f3f,_0xe153('0x24'))),_0x1f4cd2(_0xe153('0xb'),_0x1f368f(_0x419f3f,_0xe153('0xd'))),_0x1f4cd2(_0xe153('0x1a'),_0x1f368f(_0x419f3f,_0xe153('0x7'))),_0x1f4cd2('code',_0x1f368f(_0x419f3f,_0xe153('0x4'))),_0x1f4cd2(_0xe153('0xf'),_0x1f368f(_0x419f3f,_0xe153('0x9'))),_0x1f4cd2(_0xe153('0xa'),_0x1f368f(_0x419f3f,'FORMAT_SUBSCRIPT')),_0x1f4cd2(_0xe153('0x13'),_0x1f368f(_0x419f3f,_0xe153('0x1c')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e69=['filter','from','markBlockFormat','checkChild','get','format','schema','locale','$root','change','BlockQuoteEditing','getSelectedBlocks','model','*Remove\x20format:*\x20%0','blockQuote','ELEMENT_BLOCK_QUOTE','editor','has','selection','registerDescriptionCallback','commands','TrackChangesEditing','enableCommand','parent','forceValue','plugins','*Format:*\x20%0','afterInit','document'];(function(_0x4a20d2,_0x1e69e6){const _0x55b98d=function(_0x4ce3f8){while(--_0x4ce3f8){_0x4a20d2['push'](_0x4a20d2['shift']());}};_0x55b98d(++_0x1e69e6);}(_0x1e69,0x19b));const _0x55b9=function(_0x4a20d2,_0x1e69e6){_0x4a20d2=_0x4a20d2-0x0;let _0x55b98d=_0x1e69[_0x4a20d2];return _0x55b98d;};import{Plugin as _0x1625b8}from'ckeditor5/src/core';import{getTranslation as _0x515cde}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5ef8fd}from'../utils/utils';export default class O extends _0x1625b8{[_0x55b9('0x16')](){const _0x58509a=this[_0x55b9('0xb')],_0x262698=_0x58509a[_0x55b9('0x2')];if(!_0x58509a[_0x55b9('0x14')][_0x55b9('0xc')](_0x55b9('0x5')))return;const _0xfc5f33=_0x58509a[_0x55b9('0x14')]['get'](_0x55b9('0x10')),_0x3faff3=this[_0x55b9('0xb')][_0x55b9('0xf')][_0x55b9('0x1c')](_0x55b9('0x9'));_0xfc5f33[_0x55b9('0x11')]('blockQuote',(_0x5ba965,_0x4eef15={})=>{const _0xc5d9d3=this['editor'][_0x55b9('0x7')][_0x55b9('0x17')][_0x55b9('0xd')],_0x54c783=_0x4eef15&&void 0x0!==_0x4eef15[_0x55b9('0x13')]?_0x4eef15[_0x55b9('0x13')]:!_0x3faff3['value'];let _0x57e9e3=[];if(_0x54c783){const _0x522956=Array[_0x55b9('0x19')](_0xc5d9d3[_0x55b9('0x6')]())[_0x55b9('0x18')](_0x1af0b5=>oo(_0x1af0b5)||function(_0xc6cfbb,_0x215505){const _0x1cef30=_0x215505[_0x55b9('0x1b')](_0xc6cfbb[_0x55b9('0x12')],_0x55b9('0x9')),_0x455439=_0x215505['checkChild']([_0x55b9('0x3'),'blockQuote'],_0xc6cfbb);return _0x1cef30&&_0x455439;}(_0x1af0b5,this[_0x55b9('0xb')][_0x55b9('0x7')][_0x55b9('0x1')]));_0x57e9e3=_0x5ef8fd(_0x522956,_0x58509a[_0x55b9('0x7')]);}else{const _0x29d427=Array[_0x55b9('0x19')](_0xc5d9d3['getSelectedBlocks']())[_0x55b9('0x18')](_0x143286=>oo(_0x143286));_0x57e9e3=_0x5ef8fd(_0x29d427,_0x58509a[_0x55b9('0x7')]);}_0x58509a[_0x55b9('0x7')][_0x55b9('0x4')](()=>{for(const _0xd3883c of _0x57e9e3)_0xfc5f33[_0x55b9('0x1a')](_0xd3883c,{'commandName':_0x55b9('0x9'),'commandParams':[{'forceValue':_0x54c783}]});});}),_0xfc5f33['_descriptionFactory'][_0x55b9('0xe')](_0x3fe1eb=>{const {data:_0x2cab78}=_0x3fe1eb;if(_0x2cab78&&_0x55b9('0x9')==_0x2cab78['commandName']){const _0x445363=_0x515cde(_0x262698,_0x55b9('0xa'));return _0x2cab78['commandParams'][0x0][_0x55b9('0x13')]?{'type':'format','content':_0x515cde(_0x262698,_0x55b9('0x15'),_0x445363)}:{'type':_0x55b9('0x0'),'content':_0x515cde(_0x262698,_0x55b9('0x8'),_0x445363)};}});}}function oo(_0x5d3cfd){return'blockQuote'==_0x5d3cfd[_0x55b9('0x12')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x235b=['afterInit','plugins','TrackChangesEditing','enableCommand','editor','ckbox','get'];(function(_0x363e1e,_0x235b5a){const _0x15ad38=function(_0x530952){while(--_0x530952){_0x363e1e['push'](_0x363e1e['shift']());}};_0x15ad38(++_0x235b5a);}(_0x235b,0x148));const _0x15ad=function(_0x363e1e,_0x235b5a){_0x363e1e=_0x363e1e-0x0;let _0x15ad38=_0x235b[_0x363e1e];return _0x15ad38;};import{Plugin as _0x815a10}from'ckeditor5/src/core';export default class E extends _0x815a10{[_0x15ad('0x1')](){const _0x32945d=this[_0x15ad('0x5')];_0x32945d['commands'][_0x15ad('0x0')](_0x15ad('0x6'))&&_0x32945d[_0x15ad('0x2')]['get'](_0x15ad('0x3'))[_0x15ad('0x4')](_0x15ad('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1464=['selection','indentCodeBlock','_descriptionFactory','forceValue','language','format','model','find','change','TrackChangesEditing','*Remove\x20format:*\x20%0','codeBlock','rootElement','config','commandParams','from','registerElementLabel','schema','checkChild','getSelectedBlocks','has','filter','formatBlock','value','isLimit','ELEMENT_CODE_BLOCK','document','get','afterInit','enableCommand','registerDescriptionCallback','plugins','commands'];(function(_0x37ae29,_0x1464f5){const _0x319d45=function(_0x2b61b5){while(--_0x2b61b5){_0x37ae29['push'](_0x37ae29['shift']());}};_0x319d45(++_0x1464f5);}(_0x1464,0x14e));const _0x319d=function(_0x37ae29,_0x1464f5){_0x37ae29=_0x37ae29-0x0;let _0x319d45=_0x1464[_0x37ae29];return _0x319d45;};import{Plugin as _0x1145dc}from'ckeditor5/src/core';import{getTranslation as _0x19c1ca}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x587621}from'../utils/utils';export default class F extends _0x1145dc{[_0x319d('0x18')](){const _0x5583be=this['editor'];if(!_0x5583be[_0x319d('0x1b')][_0x319d('0x10')]('CodeBlock'))return;const _0x427f42=_0x5583be[_0x319d('0x1b')][_0x319d('0x17')](_0x319d('0x5')),_0x30d5c6=_0x5583be['locale'],_0x4616c3=_0x5583be[_0x319d('0x9')][_0x319d('0x17')](_0x319d('0x7'))['languages'],_0x3556c9=_0x5583be[_0x319d('0x1c')]['get']('codeBlock');_0x427f42[_0x319d('0x19')](_0x319d('0x1e')),_0x427f42[_0x319d('0x19')]('outdentCodeBlock'),_0x427f42[_0x319d('0x19')](_0x319d('0x7'),(_0x414f30,_0x1181b2={})=>{const _0x29eb89=_0x5583be[_0x319d('0x2')],_0x1ace24=_0x5583be[_0x319d('0x2')][_0x319d('0x16')][_0x319d('0x1d')],_0x486c01=_0x1181b2&&void 0x0!==_0x1181b2[_0x319d('0x20')]?_0x1181b2['forceValue']:!_0x3556c9[_0x319d('0x13')];let _0x25793c;_0x1181b2[_0x319d('0x0')]||(_0x1181b2[_0x319d('0x0')]=_0x4616c3[0x0][_0x319d('0x0')]),_0x25793c=_0x486c01?Array['from'](_0x1ace24[_0x319d('0xf')]())[_0x319d('0x11')](_0x3ce04e=>co(_0x3ce04e)||function(_0x1483d7,_0xf0b91c){if(_0x1483d7['is'](_0x319d('0x8'))||_0xf0b91c[_0x319d('0x14')](_0x1483d7))return!0x1;return _0xf0b91c[_0x319d('0xe')](_0x1483d7['parent'],_0x319d('0x7'));}(_0x3ce04e,_0x29eb89[_0x319d('0xd')])):Array[_0x319d('0xb')](_0x1ace24[_0x319d('0xf')]())[_0x319d('0x11')](_0xee3bc8=>co(_0xee3bc8));const _0x3edb06=_0x587621(_0x25793c,_0x29eb89);_0x29eb89[_0x319d('0x4')](()=>{for(const _0x556f59 of _0x3edb06)_0x427f42['markBlockFormat'](_0x556f59,{'commandName':'codeBlock','commandParams':[{..._0x1181b2,'forceValue':_0x486c01}],'formatGroupId':'blockName'});});}),(_0x427f42[_0x319d('0x1f')][_0x319d('0xc')](_0x319d('0x7'),_0x372ffd=>_0x19c1ca(_0x30d5c6,'ELEMENT_CODE_BLOCK',_0x372ffd)),_0x427f42[_0x319d('0x1f')][_0x319d('0x1a')](_0x611c36=>{const _0x1ef871=_0x30d5c6['t'],{type:_0x25907b,data:_0x41f2dd}=_0x611c36;if(_0x319d('0x12')==_0x25907b&&_0x41f2dd&&_0x319d('0x7')==_0x41f2dd['commandName']){const _0x333129=_0x41f2dd[_0x319d('0xa')][0x0][_0x319d('0x0')],_0x2e62cf=_0x1ef871(_0x4616c3[_0x319d('0x3')](_0x472c79=>_0x472c79[_0x319d('0x0')]===_0x333129)['label']);return _0x41f2dd['commandParams'][0x0][_0x319d('0x20')]?{'type':_0x319d('0x1'),'content':_0x19c1ca(_0x30d5c6,'*Format:*\x20%0',_0x19c1ca(_0x30d5c6,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2e62cf+')')}:{'type':_0x319d('0x1'),'content':_0x19c1ca(_0x30d5c6,_0x319d('0x6'),_0x19c1ca(_0x30d5c6,_0x319d('0x15'),0x1))};}}));}}function co(_0x125325){return _0x319d('0x7')==_0x125325['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ddc=['editor','get','has','afterInit','enableCommand','addCommentThread','TrackChangesEditing','plugins'];(function(_0x31756f,_0x2ddced){const _0x63294e=function(_0x3c54e5){while(--_0x3c54e5){_0x31756f['push'](_0x31756f['shift']());}};_0x63294e(++_0x2ddced);}(_0x2ddc,0x133));const _0x6329=function(_0x31756f,_0x2ddced){_0x31756f=_0x31756f-0x0;let _0x63294e=_0x2ddc[_0x31756f];return _0x63294e;};import{Plugin as _0x475a80}from'ckeditor5/src/core';export default class G extends _0x475a80{[_0x6329('0x0')](){const _0x54d0a0=this[_0x6329('0x5')];if(!_0x54d0a0['plugins'][_0x6329('0x7')]('CommentsEditing'))return;_0x54d0a0[_0x6329('0x4')][_0x6329('0x6')](_0x6329('0x3'))[_0x6329('0x1')](_0x6329('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dec=['createRange','$graveyard','model','buffer','mapper','rootName','fromRange','deleteForward','high','unlock','plugins','modifySelection','unit','init','remove','end','editor','downcastDispatcher','TrackChangesEditing','createSelection','forward','showSuggestionHighlights','requires','editing','addMarker:suggestion:deletion','batch','start','isCollapsed','lock','bind','uiElement','root','writer','setSelection','enableCommand','merge','delete','data','selection'];(function(_0xfc5193,_0x5decbf){const _0x34d7de=function(_0x2bfd62){while(--_0x2bfd62){_0xfc5193['push'](_0xfc5193['shift']());}};_0x34d7de(++_0x5decbf);}(_0x5dec,0xa6));const _0x34d7=function(_0xfc5193,_0x5decbf){_0xfc5193=_0xfc5193-0x0;let _0x34d7de=_0x5dec[_0xfc5193];return _0x34d7de;};import{Plugin as _0x18cf39}from'ckeditor5/src/core';import{LiveRange as _0x5def72}from'ckeditor5/src/engine';import{Delete as _0x481f42}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x160012}from'./utils';export default class L extends _0x18cf39{static get[_0x34d7('0xc')](){return[_0x481f42];}[_0x34d7('0x3')](){const _0x2b0c9a=this[_0x34d7('0x6')],_0x565da0=_0x2b0c9a[_0x34d7('0x0')]['get'](_0x34d7('0x8'));_0x565da0[_0x34d7('0x18')](_0x34d7('0x1a'));const _0x2644b4=_0x2b0c9a['commands']['get'](_0x34d7('0x24'));_0x565da0[_0x34d7('0x18')](_0x34d7('0x24'),(_0x376778,_0x5d5e89={})=>{const _0x21ef58=_0x2b0c9a[_0x34d7('0x1f')][_0x34d7('0x9')](_0x2b0c9a[_0x34d7('0x1f')]['document'][_0x34d7('0x1c')]);_0x21ef58[_0x34d7('0x11')]&&_0x2b0c9a[_0x34d7('0x1f')][_0x34d7('0x1')](_0x21ef58,{'direction':_0x34d7('0xa'),'unit':_0x5d5e89[_0x34d7('0x2')]});const _0x4457e7=_0x21ef58['getFirstRange'](),_0x878f15=_0x5def72[_0x34d7('0x23')](_0x4457e7);let _0x5454fb;_0x376778(_0x5d5e89),_0x5454fb=_0x34d7('0x1e')==_0x878f15[_0x34d7('0x15')][_0x34d7('0x22')]?_0x2b0c9a[_0x34d7('0x1f')][_0x34d7('0x1d')](_0x4457e7[_0x34d7('0x10')]):_0x2b0c9a[_0x34d7('0x1f')][_0x34d7('0x1d')](_0x878f15[_0x34d7('0x10')],_0x878f15[_0x34d7('0x5')]),_0x878f15['detach'](),_0x2b0c9a['model']['enqueueChange'](_0x2644b4[_0x34d7('0x20')][_0x34d7('0xf')],_0x4dab4f=>{_0x2644b4[_0x34d7('0x20')][_0x34d7('0x12')](),_0x4dab4f[_0x34d7('0x17')](_0x4dab4f[_0x34d7('0x1d')](_0x5454fb[_0x34d7('0x5')])),_0x2644b4['buffer'][_0x34d7('0x26')]();});}),_0x2b0c9a[_0x34d7('0xd')]['downcastDispatcher']['on'](_0x34d7('0xe'),_0x160012(_0x2b0c9a,_0x34d7('0x19')),{'priority':_0x34d7('0x25')}),_0x2b0c9a[_0x34d7('0x1b')]['downcastDispatcher']['on'](_0x34d7('0xe'),(_0x1bf1b5,_0x43a9aa,_0x23a948)=>{_0x23a948['options'][_0x34d7('0xb')]&&_0x160012(_0x2b0c9a,_0x34d7('0x19'),{'showActiveMarker':!0x1})[_0x34d7('0x13')](this)(_0x1bf1b5,_0x43a9aa,_0x23a948);},{'priority':'high'}),_0x2b0c9a['editing'][_0x34d7('0x7')]['on']('removeMarker:suggestion:deletion',(_0x371810,_0x160a3a,_0x3f82ab)=>{const _0x26d0fa=_0x3f82ab[_0x34d7('0x21')]['markerNameToElements'](_0x160a3a['markerName']);if(_0x26d0fa)for(const _0x54fc7d of _0x26d0fa)_0x54fc7d['is'](_0x34d7('0x14'))&&(_0x3f82ab[_0x34d7('0x21')]['unbindElementFromMarkerName'](_0x54fc7d,_0x160a3a['markerName']),_0x3f82ab[_0x34d7('0x16')][_0x34d7('0x4')](_0x54fc7d));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1613=['markBlockFormat','plugins','before','setSelection','listIndent','commands','indentList','list.multiBlock','bulletedList','push','TrackChangesEditing','splitListItemAfter','ELEMENT_NUMBERED_LIST','nodeAfter','getFirstRange','previousSibling','document','getSelectedBlocks','createRange','hasAttribute','config','selection','*Change\x20to:*\x20%0','mergeListItemBackward','refresh','ELEMENT_LIST_ITEM','locale','listType','listItemId','markMultiRangeBlockFormat','_descriptionFactory','ELEMENT_BULLETED_LIST','DocumentListUtils','commandName','isObject','execute','from','documentList','start','splitListItemBefore','format','registerDescriptionCallback','after','nextSibling','deletion','length','value','end','_suggestionFactory','paragraph','change','getRanges','enableCommand','forceValue','*Format:*\x20remove\x20from\x20%0','get','_LIST','commandParams','slice','map','model','containsItem','registerElementLabel','getAttribute','detach','outdentList','*Indent:*\x20%0','createPositionAt','findIndex','schema','afterInit','numberedList','*Format:*\x20insert\x20into\x20%0','has','registerCustomCallback','*Outdent:*\x20%0'];(function(_0x368eee,_0x161377){const _0x2d096a=function(_0xeca3b3){while(--_0xeca3b3){_0x368eee['push'](_0x368eee['shift']());}};_0x2d096a(++_0x161377);}(_0x1613,0x149));const _0x2d09=function(_0x368eee,_0x161377){_0x368eee=_0x368eee-0x0;let _0x2d096a=_0x1613[_0x368eee];return _0x2d096a;};import{Plugin as _0x201435}from'ckeditor5/src/core';import{getTranslation as _0x395d08}from'../utils/common-translations';import{LiveRange as _0x483610}from'ckeditor5/src/engine';export default class q extends _0x201435{[_0x2d09('0x2d')](){const _0x1bfeb3=this['editor'];if(!_0x1bfeb3[_0x2d09('0x34')][_0x2d09('0x30')]('DocumentListEditing'))return;const _0x80d5fa=_0x1bfeb3[_0x2d09('0x1')],_0x259891=_0x1bfeb3[_0x2d09('0x34')][_0x2d09('0x1e')](_0x2d09('0x3d')),_0xc62a59=_0x1bfeb3[_0x2d09('0x34')]['get'](_0x2d09('0x7'));function _0x3c0a34(_0x183440){return()=>{const _0x5a5dd8=_0x1bfeb3['commands'][_0x2d09('0x1e')](_0x183440);if(_0x5a5dd8['value']&&!_0x1bfeb3[_0x2d09('0x47')][_0x2d09('0x1e')](_0x2d09('0x3a')))return void _0x1bfeb3['execute'](_0x2d09('0x18'),{});let _0x590ced=Array[_0x2d09('0xb')](_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x43')]['selection'][_0x2d09('0x44')]());if(_0x45f060(_0x183440)){_0x590ced=_0xc62a59['expandListBlocksToCompleteList'](_0x590ced);const _0x1f0e06=[];for(const _0x1ba0cc of _0x590ced)_0xc62a59['isFirstBlockOfListItem'](_0x1ba0cc)&&_0x1f0e06[_0x2d09('0x3c')](_0x1ba0cc);_0x590ced=_0x1f0e06;}_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x19')](()=>{_0x259891[_0x2d09('0x4')](_0x590ced,{'commandName':_0x183440,'commandParams':[{'forceValue':!_0x5a5dd8[_0x2d09('0x15')]}],'formatGroupId':_0x2d09('0x2')},[],_0x2d09('0xc'));});};}function _0x5b9cb5(_0x416f1e){return()=>{const _0x1b0bdf=function(_0x3fbc36){let _0x179e30=Array[_0x2d09('0xb')](_0x3fbc36);const _0x3cc5aa=_0x179e30[_0x2d09('0x2b')](_0x3bed48=>!_0x3bed48[_0x2d09('0x46')](_0x2d09('0x3')));return _0x3cc5aa>-0x1&&(_0x179e30=_0x179e30[_0x2d09('0x21')](0x0,_0x3cc5aa)),_0x179e30;}(_0x1bfeb3[_0x2d09('0x23')]['document'][_0x2d09('0x48')][_0x2d09('0x44')]()),_0x5085ce=_0x1b0bdf[_0x1b0bdf[_0x2d09('0x14')]-0x1],_0x5f3f02=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x2c')][_0x2d09('0x9')](_0x5085ce)?_0x2d09('0x11'):_0x2d09('0x16'),_0x519884=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x45')](_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x2a')](_0x1b0bdf[0x0],_0x2d09('0x35')),_0x1bfeb3['model']['createPositionAt'](_0x5085ce,_0x5f3f02));_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x19')](()=>{_0x259891['markBlockFormat'](_0x519884,{'commandName':_0x416f1e,'commandParams':[],'formatGroupId':_0x2d09('0x2')},function(_0x1905ae){const _0x5ad128=new Set();for(const _0x408717 of _0x1905ae){let _0x39b91f=_0x408717[_0x2d09('0x12')];for(;_0x39b91f&&_0x39b91f[_0x2d09('0x26')](_0x2d09('0x37'))>_0x408717[_0x2d09('0x26')](_0x2d09('0x37'));)_0x5ad128['add'](_0x39b91f),_0x39b91f=_0x39b91f[_0x2d09('0x12')];}return Array['from'](_0x5ad128);}(_0x1b0bdf));});};}function _0x75f9fe(_0x4cc981){return()=>{const _0x177983=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x43')][_0x2d09('0x48')][_0x2d09('0x44')]()['next']()[_0x2d09('0x15')],_0x12d6d7=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x2a')](_0x177983,'before'),_0x1f9ff7=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x2a')](_0x177983,0x0),_0x3dc262=_0x1bfeb3['model']['createRange'](_0x12d6d7,_0x1f9ff7);_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x19')](()=>{_0x259891[_0x2d09('0x33')](_0x3dc262,{'commandName':_0x4cc981,'commandParams':[],'formatGroupId':_0x2d09('0x2')});});};}function _0x45f060(_0x51021e){const _0x2040a1=_0x1bfeb3[_0x2d09('0x38')]['get'](_0x2d09('0x3b'))['value'],_0x4d5f36=_0x1bfeb3[_0x2d09('0x38')][_0x2d09('0x1e')](_0x2d09('0x2e'))[_0x2d09('0x15')];return _0x2d09('0x2e')===_0x51021e?_0x2040a1:_0x4d5f36;}_0x259891[_0x2d09('0x1b')]('numberedList',_0x3c0a34(_0x2d09('0x2e'))),_0x259891[_0x2d09('0x1b')](_0x2d09('0x3b'),_0x3c0a34(_0x2d09('0x3b'))),_0x259891[_0x2d09('0x1b')](_0x2d09('0x39'),_0x5b9cb5(_0x2d09('0x39'))),_0x259891['enableCommand'](_0x2d09('0x28'),_0x5b9cb5(_0x2d09('0x28'))),_0x259891[_0x2d09('0x1b')](_0x2d09('0x3e'),_0x75f9fe(_0x2d09('0x3e'))),_0x259891[_0x2d09('0x1b')]('splitListItemBefore',_0x75f9fe(_0x2d09('0xe'))),_0x259891[_0x2d09('0x5')][_0x2d09('0x25')](function(_0x9cad0d){const _0xa06dba=!_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x2c')][_0x2d09('0x9')](_0x9cad0d),_0x2836c0=_0x9cad0d[_0x2d09('0x42')],_0x18d9e9=_0x9cad0d[_0x2d09('0x12')],_0x1067c=_0x9cad0d[_0x2d09('0x26')]('listItemId'),_0x4c505d=!_0x2836c0||_0x2836c0[_0x2d09('0x26')](_0x2d09('0x3'))!==_0x1067c,_0x2943f9=!_0x18d9e9||_0x18d9e9[_0x2d09('0x26')](_0x2d09('0x3'))!==_0x1067c;return _0xa06dba&&Boolean(_0x1067c)&&_0x4c505d&&_0x2943f9;},_0x5e9690=>_0x395d08(_0x80d5fa,'ELEMENT_LIST_ITEM',_0x5e9690)),_0x259891[_0x2d09('0x5')][_0x2d09('0x10')](function(_0x2a38f9){const {data:_0x3c2445}=_0x2a38f9;if(!_0x3c2445)return;let _0x122e98,_0x230379,_0xc4e33a,_0x11fcda;switch(_0x3c2445[_0x2d09('0x8')]){case _0x2d09('0x3b'):_0xc4e33a=_0x3c2445[_0x2d09('0x20')][0x0][_0x2d09('0x1c')],_0x11fcda=_0x45f060(_0x3c2445[_0x2d09('0x8')]),_0x122e98=_0xc4e33a?_0x2d09('0x2f'):_0x2d09('0x1d'),!_0x11fcda&&_0x1bfeb3[_0x2d09('0x47')][_0x2d09('0x1e')](_0x2d09('0x3a'))||(_0x122e98=_0x2d09('0x49')),_0x230379={'type':_0x2d09('0xf'),'content':_0x395d08(_0x80d5fa,_0x122e98,_0x395d08(_0x80d5fa,_0x2d09('0x6')))};break;case _0x2d09('0x2e'):_0xc4e33a=_0x3c2445['commandParams'][0x0][_0x2d09('0x1c')],_0x11fcda=_0x45f060(_0x3c2445[_0x2d09('0x8')]),_0x122e98=_0xc4e33a?_0x2d09('0x2f'):_0x2d09('0x1d'),!_0x11fcda&&_0x1bfeb3[_0x2d09('0x47')]['get'](_0x2d09('0x3a'))||(_0x122e98='*Change\x20to:*\x20%0'),_0x230379={'type':_0x2d09('0xf'),'content':_0x395d08(_0x80d5fa,_0x122e98,_0x395d08(_0x80d5fa,_0x2d09('0x3f')))};break;case _0x2d09('0x39'):_0x122e98=_0x2d09('0x29'),_0x230379={'type':_0x2d09('0xf'),'content':_0x395d08(_0x80d5fa,_0x122e98,_0x395d08(_0x80d5fa,_0x2d09('0x0')))};break;case _0x2d09('0x28'):_0x122e98=function(_0x35737c){const _0x216a52=_0x35737c[_0x2d09('0x41')]();let _0x26cbde=_0x216a52['start'][_0x2d09('0x40')];for(;_0x26cbde&&_0x216a52[_0x2d09('0x24')](_0x26cbde);){if(_0x26cbde['getAttribute'](_0x2d09('0x37'))>0x0)return!0x1;_0x26cbde=_0x26cbde[_0x2d09('0x12')];}return!0x0;}(_0x2a38f9)?_0x395d08(_0x80d5fa,_0x2d09('0x1d'),_0x395d08(_0x80d5fa,function(_0x5e10ea){const _0x9b9f8c=_0x5e10ea[_0x2d09('0x41')]()[_0x2d09('0xd')]['nodeAfter'];return'ELEMENT_'+_0x9b9f8c[_0x2d09('0x26')](_0x2d09('0x2'))['toUpperCase']()+_0x2d09('0x1f');}(_0x2a38f9))):_0x395d08(_0x80d5fa,_0x2d09('0x32'),_0x395d08(_0x80d5fa,_0x2d09('0x0'))),_0x230379={'type':_0x2d09('0xf'),'content':_0x122e98};break;case _0x2d09('0x4a'):case'mergeListItemForward':!0x1===_0x3c2445['multipleBlocks']&&(_0x122e98='*Merge:*\x20%0',_0x230379={'type':_0x2d09('0x13'),'content':_0x395d08(_0x80d5fa,_0x122e98,_0x395d08(_0x80d5fa,'ELEMENT_LIST_ITEM'))});}return _0x230379;}),_0x259891[_0x2d09('0x17')][_0x2d09('0x31')]('formatBlock',_0x2d09('0xc'),'accept',function(_0x2f04d6,_0x4274ef){const _0x36219f=[];for(let _0x237982 of _0x2f04d6)_0x237982[_0x2d09('0xd')][_0x2d09('0x40')]===_0x237982[_0x2d09('0x16')]['parent']&&(_0x237982=_0x1bfeb3[_0x2d09('0x23')][_0x2d09('0x45')](_0x1bfeb3[_0x2d09('0x23')]['createPositionAt'](_0x237982['start'][_0x2d09('0x40')],0x0))),_0x36219f[_0x2d09('0x3c')](_0x237982);_0x1bfeb3[_0x2d09('0x23')]['change'](_0xd5e912=>{const _0x1f3eef=_0x1bfeb3[_0x2d09('0x23')]['document'][_0x2d09('0x48')],_0x121400=Array['from'](_0x1f3eef[_0x2d09('0x1a')]())[_0x2d09('0x22')](_0x18ffca=>_0x483610['fromRange'](_0x18ffca));_0xd5e912[_0x2d09('0x36')](_0x36219f),_0x1bfeb3[_0x2d09('0x38')][_0x2d09('0x1e')](_0x4274ef['commandName'])[_0x2d09('0x4b')](),_0x4274ef[_0x2d09('0x20')]['push']({'forceDefaultExecution':!0x0}),_0x1bfeb3[_0x2d09('0xa')](_0x4274ef[_0x2d09('0x8')],..._0x4274ef[_0x2d09('0x20')]),_0xd5e912['setSelection'](_0x121400);for(const _0x1801d9 of _0x121400)_0x1801d9[_0x2d09('0x27')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cdf=['startIndex','registerDescriptionCallback','listType','type','ELEMENT_','handleListStyleCommand','markMultiRangeBlockFormat','_LIST_','bind','push','from','DocumentListPropertiesEditing','listStyle','getSelectedBlocks','getAttribute','config','*Format:*\x20set\x20order\x20to\x20regular','length','isFirstBlockOfListItem','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','selection','handleDescriptions','toUpperCase','DocumentListUtils','listReversed','has','filter','reversed','editor','enableCommand','document','change','replace','handleListReversedCommand','locale','handleListStartCommand','_getTranslationKeyForListStyle','commandParams','listStart','numbered','format','_getSuggestionBlocksForListStyle','isListItemBlock','_getSuggestionBlocks','expandListBlocksToCompleteList','TrackChangesEditing','plugins','model'];(function(_0x598e1e,_0x1cdf8f){const _0x101012=function(_0x39b263){while(--_0x39b263){_0x598e1e['push'](_0x598e1e['shift']());}};_0x101012(++_0x1cdf8f);}(_0x1cdf,0x1dc));const _0x1010=function(_0x598e1e,_0x1cdf8f){_0x598e1e=_0x598e1e-0x0;let _0x101012=_0x1cdf[_0x598e1e];return _0x101012;};import{Plugin as _0x17ed02}from'ckeditor5/src/core';import{getTranslation as _0x5672ab}from'../utils/common-translations';export default class Ct extends _0x17ed02{['afterInit'](){if(!this[_0x1010('0x2b')]['plugins'][_0x1010('0x28')](_0x1010('0x19')))return;const _0x1c14fa=this[_0x1010('0x2b')][_0x1010('0x1d')]['get']('list.properties'),_0x582264=this['editor'][_0x1010('0xc')]['get'](_0x1010('0xb'));_0x1c14fa['styles']&&_0x582264[_0x1010('0x2c')](_0x1010('0x1a'),this['handleListStyleCommand'][_0x1010('0x16')](this)),_0x1c14fa['reversed']&&_0x582264[_0x1010('0x2c')]('listReversed',this['handleListReversedCommand']['bind'](this)),_0x1c14fa[_0x1010('0xe')]&&_0x582264['enableCommand'](_0x1010('0x4'),this['handleListStartCommand'][_0x1010('0x16')](this)),_0x582264['_descriptionFactory'][_0x1010('0xf')](this['handleDescriptions'][_0x1010('0x16')](this));}[_0x1010('0x13')](_0x944157,_0x5851c8={}){const _0x1afa50=this['editor'][_0x1010('0xc')][_0x1010('0x21')](_0x1010('0xb')),_0x37a43a=this[_0x1010('0x7')]();this[_0x1010('0x2b')]['model'][_0x1010('0x2e')](()=>{_0x1afa50['markMultiRangeBlockFormat'](_0x37a43a,{'commandName':_0x1010('0x1a'),'commandParams':[{'type':_0x5851c8[_0x1010('0x11')]}],'formatGroupId':_0x1010('0x1a')});});}[_0x1010('0x30')](_0x3c2a94,_0x2157c5={}){const _0x5959ca=this[_0x1010('0x2b')][_0x1010('0xc')][_0x1010('0x21')]('TrackChangesEditing'),_0xe32fda=this[_0x1010('0x2b')]['plugins'][_0x1010('0x21')](_0x1010('0x26')),_0x82e42c=this[_0x1010('0x9')](_0x1c1e2f=>_0xe32fda[_0x1010('0x8')](_0x1c1e2f)&&_0x1010('0x5')===_0x1c1e2f[_0x1010('0x1c')](_0x1010('0x10')));null!==_0x82e42c&&this['editor'][_0x1010('0xd')][_0x1010('0x2e')](()=>{_0x5959ca[_0x1010('0x14')](_0x82e42c,{'commandName':_0x1010('0x27'),'commandParams':[{'reversed':_0x2157c5[_0x1010('0x2a')]}],'formatGroupId':_0x1010('0x27')});});}[_0x1010('0x1')](_0x46f19c,_0x4b468d={}){const _0x5618da=this[_0x1010('0x2b')][_0x1010('0xc')]['get'](_0x1010('0xb')),_0x497be8=this[_0x1010('0x2b')]['plugins'][_0x1010('0x21')](_0x1010('0x26')),_0x176b4d=this[_0x1010('0x9')](_0x78db5d=>_0x497be8['isListItemBlock'](_0x78db5d)&&'numbered'===_0x78db5d[_0x1010('0x1c')](_0x1010('0x10')));null!==_0x176b4d&&this[_0x1010('0x2b')][_0x1010('0xd')]['change'](()=>{_0x5618da[_0x1010('0x14')](_0x176b4d,{'commandName':_0x1010('0x4'),'commandParams':[{'startIndex':_0x4b468d[_0x1010('0xe')]}],'formatGroupId':'listStart'});});}[_0x1010('0x24')](_0x43ea6b){const _0x1a9d8c=this[_0x1010('0x2b')][_0x1010('0x0')],{data:_0x12ff3b}=_0x43ea6b;if(!_0x12ff3b)return;let _0x558c4,_0x4e300d;switch(_0x12ff3b['commandName']){case _0x1010('0x1a'):_0x558c4='*Change\x20to:*\x20%0',_0x4e300d={'type':_0x1010('0x6'),'content':_0x5672ab(_0x1a9d8c,_0x558c4,_0x5672ab(_0x1a9d8c,this[_0x1010('0x2')](_0x12ff3b['commandParams'][0x0][_0x1010('0x11')])))};break;case _0x1010('0x27'):_0x558c4=_0x12ff3b[_0x1010('0x3')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x1010('0x1e'),_0x4e300d={'type':_0x1010('0x6'),'content':_0x5672ab(_0x1a9d8c,_0x558c4)};break;case _0x1010('0x4'):_0x558c4=_0x1010('0x22'),_0x4e300d={'type':_0x1010('0x6'),'content':_0x5672ab(_0x1a9d8c,_0x558c4,_0x12ff3b[_0x1010('0x3')][0x0][_0x1010('0xe')])};}return _0x4e300d;}[_0x1010('0x7')](){const _0x38cd5b=this['editor'][_0x1010('0xc')][_0x1010('0x21')]('DocumentListUtils');let _0x4af4f1=Array[_0x1010('0x18')](this[_0x1010('0x2b')][_0x1010('0xd')][_0x1010('0x2d')][_0x1010('0x23')][_0x1010('0x1b')]());return _0x4af4f1[_0x1010('0x17')](..._0x38cd5b['expandListBlocksToCompleteList'](_0x4af4f1)),_0x4af4f1=[...new Set(_0x4af4f1)],_0x4af4f1;}[_0x1010('0x9')](_0xb3ffd6){const _0x455364=this[_0x1010('0x2b')][_0x1010('0xc')][_0x1010('0x21')](_0x1010('0x26'));let _0x38ff59=Array['from'](this[_0x1010('0x2b')][_0x1010('0xd')]['document'][_0x1010('0x23')][_0x1010('0x1b')]())[_0x1010('0x29')](_0xb3ffd6);if(!_0x38ff59[_0x1010('0x1f')])return null;_0x38ff59=_0x455364[_0x1010('0xa')](_0x38ff59);const _0x4f9e14=[];for(const _0xf78255 of _0x38ff59)_0x455364[_0x1010('0x20')](_0xf78255)&&_0x4f9e14[_0x1010('0x17')](_0xf78255);return _0x4f9e14;}[_0x1010('0x2')](_0x42541a){return _0x1010('0x12')+this[_0x1010('0x2b')][_0x1010('0xc')][_0x1010('0x21')]('DocumentListPropertiesUtils')['getListTypeFromListStyleType'](_0x42541a)[_0x1010('0x25')]()+_0x1010('0x15')+_0x42541a[_0x1010('0x25')]()[_0x1010('0x2f')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12cb=['mapper','requires','fromRange','model','ck-suggestion-marker-split','end','selection','getFirstPosition','bind','options','editor','TrackChangesEditing','high','detach','get','fire','createPositionAt','parent','document','afterExecute','writer','markerNameToElements','createRange','split','data','markerName','init','markInsertion','nextSibling','change','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','enter','downcastDispatcher','commands'];(function(_0x5b6934,_0x12cbc1){const _0x4601ba=function(_0x25d9d5){while(--_0x25d9d5){_0x5b6934['push'](_0x5b6934['shift']());}};_0x4601ba(++_0x12cbc1);}(_0x12cb,0x1e4));const _0x4601=function(_0x5b6934,_0x12cbc1){_0x5b6934=_0x5b6934-0x0;let _0x4601ba=_0x12cb[_0x5b6934];return _0x4601ba;};import{Plugin as _0x4b7ce9}from'ckeditor5/src/core';import{Enter as _0x3be2c3}from'ckeditor5/src/enter';import{LiveRange as _0x39229f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x20e152}from'./utils';export default class z extends _0x4b7ce9{static get[_0x4601('0x7')](){return[_0x3be2c3];}[_0x4601('0x20')](){const _0x2ee2f8=this[_0x4601('0x10')],_0x1c424d=_0x2ee2f8['plugins'][_0x4601('0x14')](_0x4601('0x11')),_0x58004d=_0x2ee2f8[_0x4601('0x5')]['get'](_0x4601('0x3'));_0x1c424d['enableCommand'](_0x4601('0x3'),()=>{_0x2ee2f8['model'][_0x4601('0x0')](_0x4d98ec=>{const _0x534d23=_0x2ee2f8['model'][_0x4601('0x18')][_0x4601('0xc')],_0x383ed1=_0x534d23[_0x4601('0xd')](),_0x7d570e=_0x39229f[_0x4601('0x8')](_0x534d23['getFirstRange']());if(_0x58004d['enterBlock'](_0x4d98ec)){const _0x521f49=_0x2ee2f8[_0x4601('0x9')][_0x4601('0x16')](_0x383ed1[_0x4601('0x17')][_0x4601('0x22')],0x0),_0x16117c=_0x4d98ec[_0x4601('0x1c')](_0x383ed1,_0x521f49);_0x1c424d[_0x4601('0x21')](_0x16117c);}else _0x4d98ec['setSelection'](_0x4d98ec[_0x4601('0x1c')](_0x7d570e[_0x4601('0xb')]));_0x7d570e[_0x4601('0x13')](),_0x58004d[_0x4601('0x15')](_0x4601('0x19'),{'writer':_0x4d98ec});});}),_0x2ee2f8['editing'][_0x4601('0x4')]['on'](_0x4601('0x1'),_0x20e152(_0x2ee2f8,'split'),{'priority':_0x4601('0x12')}),_0x2ee2f8['editing']['downcastDispatcher']['on'](_0x4601('0x2'),(_0x34c5ec,_0x5a0bd7,_0x156ac5)=>{const _0x3e9ae2=_0x156ac5[_0x4601('0x6')][_0x4601('0x1b')](_0x5a0bd7[_0x4601('0x1f')]);if(_0x3e9ae2)for(const _0x54f026 of _0x3e9ae2)_0x54f026['hasClass'](_0x4601('0xa'))&&(_0x156ac5[_0x4601('0x6')]['unbindElementFromMarkerName'](_0x54f026,_0x5a0bd7['markerName']),_0x156ac5[_0x4601('0x1a')]['remove'](_0x54f026));},{'priority':'high'}),_0x2ee2f8[_0x4601('0x1e')]['downcastDispatcher']['on'](_0x4601('0x1'),(_0x4cd5d9,_0xd68a91,_0x5e67aa)=>{_0x5e67aa[_0x4601('0xf')]['showSuggestionHighlights']&&_0x20e152(_0x2ee2f8,_0x4601('0x1d'),{'showActiveMarker':!0x1})[_0x4601('0xe')](this)(_0x4cd5d9,_0xd68a91,_0x5e67aa);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48f8=['FindAndReplaceUtils','createPositionAt','TrackChangesEditing','findByTextCallback','model','suggestion:deletion','afterInit','get','plugins','enableCommand','getIntersection','end','item','findNext','bind','_isInDeletionRange','replace','editor','findPrevious','filter','getRange','FindAndReplaceEditing'];(function(_0x55b369,_0x48f890){const _0x56edf0=function(_0x523510){while(--_0x523510){_0x55b369['push'](_0x55b369['shift']());}};_0x56edf0(++_0x48f890);}(_0x48f8,0x1cc));const _0x56ed=function(_0x55b369,_0x48f890){_0x55b369=_0x55b369-0x0;let _0x56edf0=_0x48f8[_0x55b369];return _0x56edf0;};import{Plugin as _0x1f3459}from'ckeditor5/src/core';export default class H extends _0x1f3459{[_0x56ed('0x8')](){if(!this[_0x56ed('0x13')][_0x56ed('0xa')]['has'](_0x56ed('0x1')))return;const _0x1c9f7b=this['editor'][_0x56ed('0xa')][_0x56ed('0x9')](_0x56ed('0x4'));_0x1c9f7b[_0x56ed('0xb')]('find',this['handleFindCommand'][_0x56ed('0x10')](this)),_0x1c9f7b[_0x56ed('0xb')](_0x56ed('0xf')),_0x1c9f7b[_0x56ed('0xb')](_0x56ed('0x14')),_0x1c9f7b[_0x56ed('0xb')](_0x56ed('0x12')),_0x1c9f7b[_0x56ed('0xb')]('replaceAll');}['handleFindCommand'](_0x457c9c,_0x5022d9,_0x3e70c7={}){const _0x3b5773=this[_0x56ed('0x13')]['plugins'][_0x56ed('0x9')](_0x56ed('0x2'));if(void 0x0!==_0x3e70c7)return _0x457c9c(_0x568666=>('string'==typeof _0x5022d9?_0x3b5773[_0x56ed('0x5')](_0x5022d9,_0x3e70c7):_0x5022d9)(_0x568666)[_0x56ed('0x15')](_0x408e20=>!0x1===this[_0x56ed('0x11')](_0x408e20,_0x568666[_0x56ed('0xe')])),_0x3e70c7);}['_isInDeletionRange'](_0x32b1f2,_0x39e75f){const _0x5c2c2f=this['editor']['model']['createRange'](this[_0x56ed('0x13')]['model'][_0x56ed('0x3')](_0x39e75f,_0x32b1f2['start']),this[_0x56ed('0x13')][_0x56ed('0x6')][_0x56ed('0x3')](_0x39e75f,_0x32b1f2[_0x56ed('0xd')]));for(const _0x3cc70c of this[_0x56ed('0x13')][_0x56ed('0x6')]['markers']['getMarkersGroup'](_0x56ed('0x7')))if(null!==_0x5c2c2f[_0x56ed('0xc')](_0x3cc70c[_0x56ed('0x0')]()))return!0x0;return!0x1;}}
|