@ckeditor/ckeditor5-track-changes 36.0.0 → 36.0.1
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 +4 -4
- 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/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/tableproperties.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": "36.0.
|
|
3
|
+
"version": "36.0.1",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^36.0.
|
|
31
|
-
"ckeditor5-collaboration": "^36.0.
|
|
30
|
+
"ckeditor5": "^36.0.1",
|
|
31
|
+
"ckeditor5-collaboration": "^36.0.1",
|
|
32
32
|
"lodash-es": "^4.17.11",
|
|
33
|
-
"@ckeditor/ckeditor5-style": "^36.0.
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^36.0.1"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4970=['TrackChangesEditing','plugins','refresh','isEnabled','track-changes-accept-suggestion-not-found','_suggestions','get','acceptSuggestion'];(function(_0x301d8f,_0x497092){const _0x2bbedc=function(_0x395118){while(--_0x395118){_0x301d8f['push'](_0x301d8f['shift']());}};_0x2bbedc(++_0x497092);}(_0x4970,0x12e));const _0x2bbe=function(_0x301d8f,_0x497092){_0x301d8f=_0x301d8f-0x0;let _0x2bbedc=_0x4970[_0x301d8f];return _0x2bbedc;};import{Command as _0x519a90}from'ckeditor5/src/core';import{CKEditorError as _0x24c263}from'ckeditor5/src/utils';export default class R extends _0x519a90{constructor(_0x5ca0c7,_0x2500c5){super(_0x5ca0c7),this[_0x2bbe('0x7')]=_0x2500c5,this[_0x2bbe('0x4')]();}[_0x2bbe('0x4')](){this[_0x2bbe('0x5')]=!0x0;}['execute'](_0x5c864d){const _0x58f84d=this[_0x2bbe('0x7')]['get'](_0x5c864d);if(!_0x58f84d)throw new _0x24c263(_0x2bbe('0x6'),this);this['editor'][_0x2bbe('0x3')][_0x2bbe('0x0')](_0x2bbe('0x2'))[_0x2bbe('0x1')](_0x58f84d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3896=['plugins','TrackChangesEditing','_suggestions','editor','discardSuggestion','execute','isEnabled'];(function(_0x15d713,_0x38960b){const _0x3fdcd5=function(_0x3db46f){while(--_0x3db46f){_0x15d713['push'](_0x15d713['shift']());}};_0x3fdcd5(++_0x38960b);}(_0x3896,0xbf));const _0x3fdc=function(_0x15d713,_0x38960b){_0x15d713=_0x15d713-0x0;let _0x3fdcd5=_0x3896[_0x15d713];return _0x3fdcd5;};import{Command as _0x4f131f}from'ckeditor5/src/core';import{CKEditorError as _0x547b73}from'ckeditor5/src/utils';export default class x extends _0x4f131f{constructor(_0x6b306c,_0x436bc0){super(_0x6b306c),this[_0x3fdc('0x0')]=_0x436bc0,this['refresh']();}['refresh'](){this[_0x3fdc('0x4')]=!0x0;}[_0x3fdc('0x3')](_0x3ba1f6){const _0x5bcffd=this[_0x3fdc('0x0')]['get'](_0x3ba1f6);if(!_0x5bcffd)throw new _0x547b73('track-changes-discard-suggestion-not-found',this);this[_0x3fdc('0x1')][_0x3fdc('0x5')]['get'](_0x3fdc('0x6'))[_0x3fdc('0x2')](_0x5bcffd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49a0=['isEnabled','some','from','refresh','editor','_command','_suggestions','values'];(function(_0x3d4019,_0x49a01d){const _0xcaacbf=function(_0x5de4f0){while(--_0x5de4f0){_0x3d4019['push'](_0x3d4019['shift']());}};_0xcaacbf(++_0x49a01d);}(_0x49a0,0x165));const _0xcaac=function(_0x3d4019,_0x49a01d){_0x3d4019=_0x3d4019-0x0;let _0xcaacbf=_0x49a0[_0x3d4019];return _0xcaacbf;};import{Command as _0x5bec75}from'ckeditor5/src/core';import{sortSuggestions as _0x35ac49,executeCommandForSuggestions as _0x2b2724}from'../utils/utils';export default class U extends _0x5bec75{constructor(_0x5c099a,_0x518a36,_0x378acc){super(_0x5c099a),this[_0xcaac('0x0')]=_0x518a36,this[_0xcaac('0x1')]=_0x378acc,this[_0xcaac('0x6')]();}[_0xcaac('0x6')](){const _0x5897dd=Array[_0xcaac('0x5')](this[_0xcaac('0x1')]['values']())[_0xcaac('0x4')](_0x1589c0=>_0x1589c0['isInContent']);this[_0xcaac('0x3')]=this[_0xcaac('0x0')][_0xcaac('0x3')]&&_0x5897dd;}['execute'](){const _0x107e4f=_0x35ac49(Array[_0xcaac('0x5')](this[_0xcaac('0x1')][_0xcaac('0x2')]()));_0x2b2724(this[_0xcaac('0x7')]['model'],this[_0xcaac('0x0')],_0x107e4f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e54=['document','_suggestions','selection','_command','isEnabled','refresh','_selectedSuggestions','editor','values','model','from','execute'];(function(_0x1589ed,_0x1e54bc){const _0x57b53a=function(_0x248856){while(--_0x248856){_0x1589ed['push'](_0x1589ed['shift']());}};_0x57b53a(++_0x1e54bc);}(_0x1e54,0xbe));const _0x57b5=function(_0x1589ed,_0x1e54bc){_0x1589ed=_0x1589ed-0x0;let _0x57b53a=_0x1e54[_0x1589ed];return _0x57b53a;};import{Command as _0x2c6b3f}from'ckeditor5/src/core';import{sortSuggestions as _0x50493c,getSelectedSuggestions as _0x163a98,executeCommandForSuggestions as _0x91975e}from'../utils/utils';export default class j extends _0x2c6b3f{constructor(_0x2e893f,_0x464b8e,_0x2a5f09){super(_0x2e893f),this[_0x57b5('0x5')]=_0x464b8e,this[_0x57b5('0x3')]=_0x2a5f09,this[_0x57b5('0x8')]=new Set(),this['refresh']();}[_0x57b5('0x7')](){const _0x35986a=this['editor']['model'][_0x57b5('0x2')][_0x57b5('0x4')],_0x9c3817=Array[_0x57b5('0x0')](this[_0x57b5('0x3')][_0x57b5('0xa')]());this[_0x57b5('0x8')]=_0x163a98(_0x35986a,_0x9c3817),this[_0x57b5('0x6')]=this[_0x57b5('0x5')][_0x57b5('0x6')]&&!!this['_selectedSuggestions']['size'];}[_0x57b5('0x1')](){const _0x187c00=_0x50493c(Array[_0x57b5('0x0')](this[_0x57b5('0x8')]));_0x91975e(this[_0x57b5('0x9')][_0x57b5('0xb')],this['_command'],_0x187c00);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x211b=['_disableUnsupportedCommands','editor','TrackChangesCommand','execute','_enabledCommands','affectsData','has','clearForceDisabled','_enableCommands','value','commands','refresh','isEnabled'];(function(_0x2cf87b,_0x211bff){const _0x214fbf=function(_0x52eba4){while(--_0x52eba4){_0x2cf87b['push'](_0x2cf87b['shift']());}};_0x214fbf(++_0x211bff);}(_0x211b,0x121));const _0x214f=function(_0x2cf87b,_0x211bff){_0x2cf87b=_0x2cf87b-0x0;let _0x214fbf=_0x211b[_0x2cf87b];return _0x214fbf;};import{Command as _0x4d0658}from'ckeditor5/src/core';export default class N extends _0x4d0658{constructor(_0x568464,_0x548063){super(_0x568464),this[_0x214f('0x1')]=_0x548063,this[_0x214f('0x6')]=!0x1,this[_0x214f('0x8')]();}[_0x214f('0x8')](){this[_0x214f('0x9')]=!0x0;}[_0x214f('0x0')](){this[_0x214f('0x6')]=!this[_0x214f('0x6')],this['value']?this[_0x214f('0xa')]():this['_enableCommands']();}[_0x214f('0xa')](){for(const _0x12b3b0 of this[_0x214f('0xb')]['commands'][_0x214f('0x7')]())_0x12b3b0[_0x214f('0x2')]&&!this[_0x214f('0x1')][_0x214f('0x3')](_0x12b3b0)&&_0x12b3b0['forceDisabled'](_0x214f('0xc'));}[_0x214f('0x5')](){for(const _0x22f201 of this[_0x214f('0xb')]['commands'][_0x214f('0x7')]())_0x22f201[_0x214f('0x2')]&&!this[_0x214f('0x1')]['has'](_0x22f201)&&_0x22f201[_0x214f('0x4')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a54=['_descriptionFactory','schema','alignment','getSelectedBlocks','*Format:*\x20%0','AlignmentEditing','center','plugins','filter','FORMAT_JUSTIFY_TEXT','afterInit','contentLanguageDirection','model','value','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGN_TO_LEFT','change','getAttribute','markBlockFormat','selection','document','enableCommand','commandParams','format','checkAttribute','justify','left','has','locale'];(function(_0x2d4251,_0x3a54c0){const _0x1dd586=function(_0x27d009){while(--_0x27d009){_0x2d4251['push'](_0x2d4251['shift']());}};_0x1dd586(++_0x3a54c0);}(_0x3a54,0x122));const _0x1dd5=function(_0x2d4251,_0x3a54c0){_0x2d4251=_0x2d4251-0x0;let _0x1dd586=_0x3a54[_0x2d4251];return _0x1dd586;};import{Plugin as _0x45e33f}from'ckeditor5/src/core';import{getTranslation as _0x5aa246}from'../utils/common-translations';export default class E extends _0x45e33f{[_0x1dd5('0xa')](){const _0x20de61=this['editor'],_0x5758cf=_0x20de61[_0x1dd5('0x1c')];if(!_0x20de61[_0x1dd5('0x7')][_0x1dd5('0x1b')](_0x1dd5('0x5')))return;const _0xf35ff0=_0x20de61[_0x1dd5('0x7')]['get']('TrackChangesEditing');_0xf35ff0[_0x1dd5('0x15')]('alignment',(_0x1ae56a,_0x4d1844={})=>{let _0x274477=_0x4d1844[_0x1dd5('0xd')];_0x4d1844[_0x1dd5('0xd')]||(_0x274477='ltr'===_0x20de61[_0x1dd5('0x1c')][_0x1dd5('0xb')]?_0x1dd5('0x1a'):'right');const _0x3af692=Array['from'](this['editor']['model'][_0x1dd5('0x14')][_0x1dd5('0x13')][_0x1dd5('0x3')]())[_0x1dd5('0x8')](_0x3b73a1=>function(_0x8df57d,_0x3c03f6,_0x2991f2){const _0x6f1115=_0x8df57d[_0x1dd5('0x11')](_0x1dd5('0x2'))||null;return _0x3c03f6[_0x1dd5('0x18')](_0x8df57d,'alignment')&&_0x2991f2!=_0x6f1115;}(_0x3b73a1,this['editor'][_0x1dd5('0xc')][_0x1dd5('0x1')],_0x274477));_0x20de61['model'][_0x1dd5('0x10')](()=>{for(const _0xec75e of _0x3af692)_0xf35ff0[_0x1dd5('0x12')](_0xec75e,{'commandName':'alignment','commandParams':[{'value':_0x274477}]});});}),_0xf35ff0[_0x1dd5('0x0')]['registerDescriptionCallback'](_0x55070d=>{const {data:_0x30866d}=_0x55070d;if(_0x30866d&&_0x1dd5('0x2')==_0x30866d['commandName']){const _0x3ffbcd=_0x30866d[_0x1dd5('0x16')][0x0][_0x1dd5('0xd')];return{'type':_0x1dd5('0x17'),'content':_0x5aa246(_0x5758cf,_0x1dd5('0x4'),function(_0x1a8317){switch(_0x1a8317){case _0x1dd5('0x1a'):return _0x5aa246(_0x5758cf,_0x1dd5('0xf'));case'right':return _0x5aa246(_0x5758cf,'FORMAT_ALIGN_TO_RIGHT');case _0x1dd5('0x6'):return _0x5aa246(_0x5758cf,_0x1dd5('0xe'));case _0x1dd5('0x19'):return _0x5aa246(_0x5758cf,_0x1dd5('0x9'));}}(_0x3ffbcd))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2917=['FORMAT_CODE','isCollapsed','FORMAT_BOLD','FORMAT_SUPERSCRIPT','code','enableCommand','get','StrikethroughEditing','registerDescriptionCallback','UnderlineEditing','*Format:*\x20%0','forceValue','underline','format','toLowerCase','commandName','_descriptionFactory','model','commandParams','getRanges','value','ItalicEditing','selection','italic','FORMAT_UNDERLINE','TrackChangesEditing','has','FORMAT_ITALIC','plugins','subscript','markInlineFormat','from','*Remove\x20format:*\x20%0'];(function(_0x2bed9e,_0x291761){const _0x368f9c=function(_0x18b676){while(--_0x18b676){_0x2bed9e['push'](_0x2bed9e['shift']());}};_0x368f9c(++_0x291761);}(_0x2917,0x11c));const _0x368f=function(_0x2bed9e,_0x291761){_0x2bed9e=_0x2bed9e-0x0;let _0x368f9c=_0x2917[_0x2bed9e];return _0x368f9c;};import{Plugin as _0x102e63}from'ckeditor5/src/core';import{getTranslation as _0x518a05}from'../utils/common-translations';import{getRangesWithAttribute as _0x43c64e}from'./utils';const Kt=['BoldEditing',_0x368f('0x1'),_0x368f('0x16'),'CodeEditing',_0x368f('0x14'),'SubscriptEditing','SuperscriptEditing'];export default class O extends _0x102e63{['afterInit'](){const _0x5a1032=this['editor'],_0x4f9a8e=_0x5a1032[_0x368f('0x1e')],_0x5a511a=_0x5a1032[_0x368f('0x8')][_0x368f('0x13')](_0x368f('0x5')),_0x3ad0f4=_0x5a1032['locale'];for(const _0x5ade5d of Kt){if(!_0x5a1032[_0x368f('0x8')][_0x368f('0x6')](_0x5ade5d))continue;const _0x2fa4cb=_0x5ade5d['slice'](0x0,-0x7)[_0x368f('0x1b')](),_0x489633=_0x5a1032['commands']['get'](_0x2fa4cb);_0x5a511a[_0x368f('0x12')](_0x2fa4cb,(_0x164ddd,_0xbb09c6={})=>{const _0x7c918d=_0x4f9a8e['document'][_0x368f('0x2')];if(_0x7c918d[_0x368f('0xe')])return void _0x164ddd(_0xbb09c6);const _0x5c208d=void 0x0!==_0xbb09c6[_0x368f('0x18')]?_0xbb09c6[_0x368f('0x18')]:!_0x489633[_0x368f('0x0')];_0x4f9a8e['change'](()=>{const _0x5ea150=Array[_0x368f('0xb')](_0x7c918d[_0x368f('0x20')]());for(const _0x18aaab of _0x5ea150){const _0x1a6a1e=_0x5c208d?[_0x18aaab]:_0x43c64e(_0x2fa4cb,_0x18aaab,_0x4f9a8e);for(const _0x4bc6fb of _0x1a6a1e)_0x5a511a[_0x368f('0xa')](_0x4bc6fb,{'commandName':_0x2fa4cb,'commandParams':[{'forceValue':_0x5c208d}]});}});});}function _0x116502(_0x511ac2,_0x3208bc){_0x5a511a[_0x368f('0x1d')][_0x368f('0x15')](_0x334c0f=>{const {data:_0x34c96c}=_0x334c0f;if(_0x34c96c&&_0x34c96c[_0x368f('0x1c')]===_0x511ac2)return _0x34c96c[_0x368f('0x1f')][0x0][_0x368f('0x18')]?{'type':'format','content':_0x518a05(_0x3ad0f4,_0x368f('0x17'),_0x3208bc)}:{'type':_0x368f('0x1a'),'content':_0x518a05(_0x3ad0f4,_0x368f('0xc'),_0x3208bc)};});}_0x116502('bold',_0x518a05(_0x3ad0f4,_0x368f('0xf'))),_0x116502(_0x368f('0x3'),_0x518a05(_0x3ad0f4,_0x368f('0x7'))),_0x116502(_0x368f('0x19'),_0x518a05(_0x3ad0f4,_0x368f('0x4'))),_0x116502(_0x368f('0x11'),_0x518a05(_0x3ad0f4,_0x368f('0xd'))),_0x116502('strikethrough',_0x518a05(_0x3ad0f4,'FORMAT_STRIKETHROUGH')),_0x116502(_0x368f('0x9'),_0x518a05(_0x3ad0f4,'FORMAT_SUBSCRIPT')),_0x116502('superscript',_0x518a05(_0x3ad0f4,_0x368f('0x10')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b4c=['checkChild','*Format:*\x20%0','parent','has','*Remove\x20format:*\x20%0','schema','selection','commandName','blockQuote','editor','enableCommand','_descriptionFactory','forceValue','get','commandParams','TrackChangesEditing','format','from','ELEMENT_BLOCK_QUOTE','document','BlockQuoteEditing','filter','plugins','commands','getSelectedBlocks','model','locale'];(function(_0x3605fd,_0x1b4c0c){const _0x2eef24=function(_0x167bbb){while(--_0x167bbb){_0x3605fd['push'](_0x3605fd['shift']());}};_0x2eef24(++_0x1b4c0c);}(_0x1b4c,0x147));const _0x2eef=function(_0x3605fd,_0x1b4c0c){_0x3605fd=_0x3605fd-0x0;let _0x2eef24=_0x1b4c[_0x3605fd];return _0x2eef24;};import{Plugin as _0x1e977b}from'ckeditor5/src/core';import{getTranslation as _0x671534}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x17ad2e}from'../utils/utils';export default class F extends _0x1e977b{['afterInit'](){const _0x160446=this['editor'],_0x11e408=_0x160446[_0x2eef('0x17')];if(!_0x160446[_0x2eef('0x13')][_0x2eef('0x0')](_0x2eef('0x11')))return;const _0x449bf5=_0x160446[_0x2eef('0x13')][_0x2eef('0xa')](_0x2eef('0xc')),_0x51103b=this[_0x2eef('0x6')][_0x2eef('0x14')]['get'](_0x2eef('0x5'));_0x449bf5[_0x2eef('0x7')]('blockQuote',(_0x546122,_0x14f327={})=>{const _0x3b8ac1=this[_0x2eef('0x6')][_0x2eef('0x16')][_0x2eef('0x10')][_0x2eef('0x3')],_0x219f28=_0x14f327&&void 0x0!==_0x14f327['forceValue']?_0x14f327[_0x2eef('0x9')]:!_0x51103b['value'];let _0x1fe443=[];if(_0x219f28){const _0x5a992d=Array[_0x2eef('0xe')](_0x3b8ac1[_0x2eef('0x15')]())['filter'](_0x181630=>Jt(_0x181630)||function(_0xeca325,_0x20a7f4){const _0x1c20fc=_0x20a7f4[_0x2eef('0x18')](_0xeca325[_0x2eef('0x1a')],_0x2eef('0x5')),_0x20c7e4=_0x20a7f4[_0x2eef('0x18')](['$root',_0x2eef('0x5')],_0xeca325);return _0x1c20fc&&_0x20c7e4;}(_0x181630,this[_0x2eef('0x6')][_0x2eef('0x16')][_0x2eef('0x2')]));_0x1fe443=_0x17ad2e(_0x5a992d,_0x160446[_0x2eef('0x16')]);}else{const _0x4fcb89=Array[_0x2eef('0xe')](_0x3b8ac1[_0x2eef('0x15')]())[_0x2eef('0x12')](_0x35236b=>Jt(_0x35236b));_0x1fe443=_0x17ad2e(_0x4fcb89,_0x160446[_0x2eef('0x16')]);}_0x160446['model']['change'](()=>{for(const _0x495396 of _0x1fe443)_0x449bf5['markBlockFormat'](_0x495396,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x219f28}]});});}),_0x449bf5[_0x2eef('0x8')]['registerDescriptionCallback'](_0x3fb95e=>{const {data:_0x5a2b10}=_0x3fb95e;if(_0x5a2b10&&_0x2eef('0x5')==_0x5a2b10[_0x2eef('0x4')]){const _0x3ed595=_0x671534(_0x11e408,_0x2eef('0xf'));return _0x5a2b10[_0x2eef('0xb')][0x0][_0x2eef('0x9')]?{'type':'format','content':_0x671534(_0x11e408,_0x2eef('0x19'),_0x3ed595)}:{'type':_0x2eef('0xd'),'content':_0x671534(_0x11e408,_0x2eef('0x1'),_0x3ed595)};}});}}function Jt(_0x28df61){return _0x2eef('0x5')==_0x28df61[_0x2eef('0x1a')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0a=['editor','enableCommand','commands','get','plugins','ckbox','afterInit'];(function(_0xd9e9e5,_0x4f0acd){const _0x542ca6=function(_0x4a33d6){while(--_0x4a33d6){_0xd9e9e5['push'](_0xd9e9e5['shift']());}};_0x542ca6(++_0x4f0acd);}(_0x4f0a,0x9d));const _0x542c=function(_0xd9e9e5,_0x4f0acd){_0xd9e9e5=_0xd9e9e5-0x0;let _0x542ca6=_0x4f0a[_0xd9e9e5];return _0x542ca6;};import{Plugin as _0x447dc1}from'ckeditor5/src/core';export default class P extends _0x447dc1{[_0x542c('0x3')](){const _0x26d7c9=this[_0x542c('0x4')];_0x26d7c9[_0x542c('0x6')][_0x542c('0x0')](_0x542c('0x2'))&&_0x26d7c9[_0x542c('0x1')]['get']('TrackChangesEditing')[_0x542c('0x5')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50de=['config','ELEMENT_CODE_BLOCK','registerElementLabel','value','from','*Format:*\x20%0','formatBlock','codeBlock','filter','CodeBlock','registerDescriptionCallback','forceValue','model','outdentCodeBlock','languages','commandParams','rootElement','schema','format','find','blockName','get','_descriptionFactory','has','plugins','getSelectedBlocks','document','label','enableCommand','*Remove\x20format:*\x20%0','TrackChangesEditing','selection','language','indentCodeBlock'];(function(_0x368a55,_0x50de59){const _0x20aea7=function(_0x31ec41){while(--_0x31ec41){_0x368a55['push'](_0x368a55['shift']());}};_0x20aea7(++_0x50de59);}(_0x50de,0x149));const _0x20ae=function(_0x368a55,_0x50de59){_0x368a55=_0x368a55-0x0;let _0x20aea7=_0x50de[_0x368a55];return _0x20aea7;};import{Plugin as _0x31ed5f}from'ckeditor5/src/core';import{getTranslation as _0x38d278}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x208656}from'../utils/utils';export default class G extends _0x31ed5f{['afterInit'](){const _0x34d95b=this['editor'];if(!_0x34d95b['plugins'][_0x20ae('0x0')](_0x20ae('0x14')))return;const _0x1d349e=_0x34d95b[_0x20ae('0x1')]['get'](_0x20ae('0x7')),_0x3f5034=_0x34d95b['locale'],_0x26b393=_0x34d95b[_0x20ae('0xb')][_0x20ae('0x20')](_0x20ae('0x12'))[_0x20ae('0x19')],_0xd81c82=_0x34d95b['commands'][_0x20ae('0x20')](_0x20ae('0x12'));_0x1d349e[_0x20ae('0x5')](_0x20ae('0xa')),_0x1d349e[_0x20ae('0x5')](_0x20ae('0x18')),_0x1d349e[_0x20ae('0x5')](_0x20ae('0x12'),(_0x2fa085,_0x431ec4={})=>{const _0x4e6386=_0x34d95b['model'],_0x2ed964=_0x34d95b[_0x20ae('0x17')][_0x20ae('0x3')][_0x20ae('0x8')],_0x199a45=_0x431ec4&&void 0x0!==_0x431ec4[_0x20ae('0x16')]?_0x431ec4['forceValue']:!_0xd81c82[_0x20ae('0xe')];let _0xd083b9;_0x431ec4[_0x20ae('0x9')]||(_0x431ec4[_0x20ae('0x9')]=_0x26b393[0x0][_0x20ae('0x9')]),_0xd083b9=_0x199a45?Array['from'](_0x2ed964[_0x20ae('0x2')]())[_0x20ae('0x13')](_0x48d4ec=>oo(_0x48d4ec)||function(_0xeac1db,_0x362eec){if(_0xeac1db['is'](_0x20ae('0x1b'))||_0x362eec['isLimit'](_0xeac1db))return!0x1;return _0x362eec['checkChild'](_0xeac1db['parent'],_0x20ae('0x12'));}(_0x48d4ec,_0x4e6386[_0x20ae('0x1c')])):Array[_0x20ae('0xf')](_0x2ed964['getSelectedBlocks']())[_0x20ae('0x13')](_0x5dcef8=>oo(_0x5dcef8));const _0x271d6a=_0x208656(_0xd083b9,_0x4e6386);_0x4e6386['change'](()=>{for(const _0x26366f of _0x271d6a)_0x1d349e['markBlockFormat'](_0x26366f,{'commandName':'codeBlock','commandParams':[{..._0x431ec4,'forceValue':_0x199a45}],'formatGroupId':_0x20ae('0x1f')});});}),(_0x1d349e[_0x20ae('0x21')][_0x20ae('0xd')](_0x20ae('0x12'),_0x466cdb=>_0x38d278(_0x3f5034,_0x20ae('0xc'),_0x466cdb)),_0x1d349e[_0x20ae('0x21')][_0x20ae('0x15')](_0x56ab75=>{const {type:_0xf1319f,data:_0xcd4a7a}=_0x56ab75;if(_0x20ae('0x11')==_0xf1319f&&_0xcd4a7a&&'codeBlock'==_0xcd4a7a['commandName']){const _0x1796e0=_0xcd4a7a[_0x20ae('0x1a')][0x0]['language'],_0x4a914d=_0x26b393[_0x20ae('0x1e')](_0x103ee1=>_0x103ee1[_0x20ae('0x9')]===_0x1796e0)[_0x20ae('0x4')],_0x25fffc=_0x3f5034['_t'](_0x4a914d);return _0xcd4a7a[_0x20ae('0x1a')][0x0]['forceValue']?{'type':_0x20ae('0x1d'),'content':_0x38d278(_0x3f5034,_0x20ae('0x10'),_0x38d278(_0x3f5034,_0x20ae('0xc'),0x1)+'\x20('+_0x25fffc+')')}:{'type':_0x20ae('0x1d'),'content':_0x38d278(_0x3f5034,_0x20ae('0x6'),_0x38d278(_0x3f5034,_0x20ae('0xc'),0x1))};}}));}}function oo(_0x2ddec6){return _0x20ae('0x12')==_0x2ddec6['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9eb6=['afterInit','has','enableCommand','CommentsEditing','addCommentThread'];(function(_0x19b2d6,_0x9eb6c2){const _0x1fe110=function(_0x3b3829){while(--_0x3b3829){_0x19b2d6['push'](_0x19b2d6['shift']());}};_0x1fe110(++_0x9eb6c2);}(_0x9eb6,0xd0));const _0x1fe1=function(_0x19b2d6,_0x9eb6c2){_0x19b2d6=_0x19b2d6-0x0;let _0x1fe110=_0x9eb6[_0x19b2d6];return _0x1fe110;};import{Plugin as _0x5f03bb}from'ckeditor5/src/core';export default class L extends _0x5f03bb{[_0x1fe1('0x2')](){const _0x56c4fe=this['editor'];if(!_0x56c4fe['plugins'][_0x1fe1('0x3')](_0x1fe1('0x0')))return;_0x56c4fe['plugins']['get']('TrackChangesEditing')[_0x1fe1('0x4')](_0x1fe1('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42a9=['merge','deleteForward','delete','uiElement','downcastDispatcher','end','start','plugins','editing','markerName','modifySelection','isCollapsed','buffer','lock','fromRange','high','enqueueChange','TrackChangesEditing','root','commands','enableCommand','$graveyard','selection','addMarker:suggestion:deletion','unit','removeMarker:suggestion:deletion','createRange','mapper','createSelection','init','setSelection','data','get','remove','model'];(function(_0x1bdc09,_0x42a908){const _0x500d00=function(_0x474736){while(--_0x474736){_0x1bdc09['push'](_0x1bdc09['shift']());}};_0x500d00(++_0x42a908);}(_0x42a9,0xd9));const _0x500d=function(_0x1bdc09,_0x42a908){_0x1bdc09=_0x1bdc09-0x0;let _0x500d00=_0x42a9[_0x1bdc09];return _0x500d00;};import{Plugin as _0x588c1c}from'ckeditor5/src/core';import{Delete as _0x51e099}from'ckeditor5/src/typing';import{LiveRange as _0xdd1160}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1b2a2d}from'./utils';export default class q extends _0x588c1c{static get['requires'](){return[_0x51e099];}[_0x500d('0x16')](){const _0x5d6e1b=this['editor'],_0x889166=_0x5d6e1b[_0x500d('0x0')][_0x500d('0x19')](_0x500d('0xa'));_0x889166['enableCommand'](_0x500d('0x1e'));const _0x549610=_0x5d6e1b[_0x500d('0xc')][_0x500d('0x19')](_0x500d('0x1d'));_0x889166[_0x500d('0xd')](_0x500d('0x1d'),(_0x415d4f,_0x8cd354={})=>{const _0x32d6a0=_0x5d6e1b['model'][_0x500d('0x15')](_0x5d6e1b[_0x500d('0x1b')]['document'][_0x500d('0xf')]);_0x32d6a0[_0x500d('0x4')]&&_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x3')](_0x32d6a0,{'direction':'forward','unit':_0x8cd354[_0x500d('0x11')]});const _0x17afed=_0x32d6a0['getFirstRange'](),_0x22c778=_0xdd1160[_0x500d('0x7')](_0x17afed);let _0x23a05e;_0x415d4f(_0x8cd354),_0x23a05e=_0x500d('0xe')==_0x22c778[_0x500d('0xb')]['rootName']?_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x17afed[_0x500d('0x22')]):_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x22c778[_0x500d('0x22')],_0x22c778[_0x500d('0x21')]),_0x22c778['detach'](),_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x9')](_0x549610['buffer']['batch'],_0x400e9c=>{_0x549610[_0x500d('0x5')][_0x500d('0x6')](),_0x400e9c[_0x500d('0x17')](_0x400e9c['createRange'](_0x23a05e[_0x500d('0x21')])),_0x549610[_0x500d('0x5')]['unlock']();});}),_0x5d6e1b[_0x500d('0x1')][_0x500d('0x20')]['on'](_0x500d('0x10'),_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c')),{'priority':_0x500d('0x8')}),_0x5d6e1b[_0x500d('0x18')][_0x500d('0x20')]['on']('addMarker:suggestion:deletion',(_0x3b83d6,_0x36a591,_0x22c231)=>{_0x22c231['options']['showSuggestionHighlights']&&_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c'),{'showActiveMarker':!0x1})(_0x3b83d6,_0x36a591,_0x22c231);},{'priority':_0x500d('0x8')}),_0x5d6e1b['editing'][_0x500d('0x20')]['on'](_0x500d('0x12'),(_0x4d5c55,_0x31f9e8,_0x10b9b0)=>{const _0x41a506=_0x10b9b0['mapper']['markerNameToElements'](_0x31f9e8[_0x500d('0x2')]);if(_0x41a506)for(const _0xc032ae of _0x41a506)_0xc032ae['is'](_0x500d('0x1f'))&&(_0x10b9b0[_0x500d('0x14')]['unbindElementFromMarkerName'](_0xc032ae,_0x31f9e8[_0x500d('0x2')]),_0x10b9b0['writer'][_0x500d('0x1a')](_0xc032ae));},{'priority':_0x500d('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a09=['nextSibling','value','editor','toUpperCase','listType','start','registerDescriptionCallback','execute','getRanges','createRange','markMultiRangeBlockFormat','selection','createPositionAt','mergeListItemForward','*Outdent:*\x20%0','format','commandParams','TrackChangesEditing','nodeAfter','map','commandName','_LIST','*Format:*\x20remove\x20from\x20%0','registerCustomCallback','isObject','next','splitListItemBefore','getSelectedBlocks','document','parent','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','from','accept','get','previousSibling','getFirstRange','documentList','numberedList','model','change','refresh','markBlockFormat','outdentList','indentList','length','setSelection','ELEMENT_','detach','registerElementLabel','plugins','end','findIndex','has','commands','deletion','forceValue','push','fromRange','before','locale','multipleBlocks','isFirstBlockOfListItem','*Format:*\x20insert\x20into\x20%0','afterInit','_descriptionFactory','ELEMENT_BULLETED_LIST','enableCommand','slice','expandListBlocksToCompleteList','after','listItemId','getAttribute','splitListItemAfter','bulletedList','listIndent','*Indent:*\x20%0'];(function(_0x19c52a,_0x5a09df){const _0x599237=function(_0x500f17){while(--_0x500f17){_0x19c52a['push'](_0x19c52a['shift']());}};_0x599237(++_0x5a09df);}(_0x5a09,0xd0));const _0x5992=function(_0x19c52a,_0x5a09df){_0x19c52a=_0x19c52a-0x0;let _0x599237=_0x5a09[_0x19c52a];return _0x599237;};import{Plugin as _0x107013}from'ckeditor5/src/core';import{getTranslation as _0x1157b1}from'../utils/common-translations';import{LiveRange as _0x2366fe}from'ckeditor5/src/engine';export default class z extends _0x107013{[_0x5992('0xa')](){const _0x226273=this[_0x5992('0x19')];if(!_0x226273[_0x5992('0x49')][_0x5992('0x4c')]('DocumentListEditing'))return;const _0x273ca2=_0x226273[_0x5992('0x6')],_0x166e61=_0x226273[_0x5992('0x49')][_0x5992('0x39')](_0x5992('0x28')),_0x1b60cd=_0x226273[_0x5992('0x49')][_0x5992('0x39')]('DocumentListUtils');function _0x5b4170(_0x42a91f){return()=>{const _0x312171=_0x226273[_0x5992('0x0')]['get'](_0x42a91f);let _0x748f3a=Array[_0x5992('0x37')](_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')]['getSelectedBlocks']());if(_0x56cc1e(_0x42a91f)){_0x748f3a=_0x1b60cd[_0x5992('0xf')](_0x748f3a);const _0x5d08de=[];for(const _0x5c0184 of _0x748f3a)_0x1b60cd[_0x5992('0x8')](_0x5c0184)&&_0x5d08de[_0x5992('0x3')](_0x5c0184);_0x748f3a=_0x5d08de;}_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x21')](_0x748f3a,{'commandName':_0x42a91f,'commandParams':[{'forceValue':!_0x312171[_0x5992('0x18')]}],'formatGroupId':_0x5992('0x1b')},[],'documentList');});};}function _0x34aecf(_0x154ab8){return()=>{const _0xac663=function(_0x1cea2a){const _0x26ee31=(_0x1cea2a=Array[_0x5992('0x37')](_0x1cea2a))[_0x5992('0x4b')](_0x40a3db=>!_0x40a3db['hasAttribute']('listItemId'));return _0x26ee31>-0x1&&(_0x1cea2a=_0x1cea2a[_0x5992('0xe')](0x0,_0x26ee31)),_0x1cea2a;}(_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection'][_0x5992('0x32')]()),_0x516fcb=_0xac663[_0xac663[_0x5992('0x44')]-0x1],_0x704eb1=_0x226273['model']['schema']['isObject'](_0x516fcb)?_0x5992('0x10'):_0x5992('0x4a'),_0x289602=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0xac663[0x0],_0x5992('0x5')),_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x516fcb,_0x704eb1));_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x41')](_0x289602,{'commandName':_0x154ab8,'commandParams':[],'formatGroupId':_0x5992('0x1b')},function(_0xc61566){const _0x1dd55c=new Set();for(const _0xea7caa of _0xc61566){let _0x33481b=_0xea7caa[_0x5992('0x17')];for(;_0x33481b&&_0x33481b[_0x5992('0x12')](_0x5992('0x15'))>_0xea7caa[_0x5992('0x12')](_0x5992('0x15'));)_0x1dd55c['add'](_0x33481b),_0x33481b=_0x33481b['nextSibling'];}return Array[_0x5992('0x37')](_0x1dd55c);}(_0xac663));});};}function _0x750ad7(_0xcb8489){return()=>{const _0x25e589=_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection']['getSelectedBlocks']()[_0x5992('0x30')]()[_0x5992('0x18')],_0x46eb0d=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,_0x5992('0x5')),_0x5dcebb=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,0x0),_0x36bc11=_0x226273[_0x5992('0x3e')]['createRange'](_0x46eb0d,_0x5dcebb);_0x226273[_0x5992('0x3e')]['change'](()=>{_0x166e61['markBlockFormat'](_0x36bc11,{'commandName':_0xcb8489,'commandParams':[],'formatGroupId':_0x5992('0x1b')});});};}function _0x56cc1e(_0x2a86d6){const _0x14bd3c=_0x226273['commands'][_0x5992('0x39')](_0x5992('0x14'))['value'],_0x188e1b=_0x226273[_0x5992('0x0')][_0x5992('0x39')]('numberedList')[_0x5992('0x18')];return _0x5992('0x3d')===_0x2a86d6?_0x14bd3c:_0x188e1b;}_0x166e61[_0x5992('0xd')](_0x5992('0x3d'),_0x5b4170(_0x5992('0x3d'))),_0x166e61[_0x5992('0xd')]('bulletedList',_0x5b4170(_0x5992('0x14'))),_0x166e61[_0x5992('0xd')]('indentList',_0x34aecf(_0x5992('0x43'))),_0x166e61[_0x5992('0xd')](_0x5992('0x42'),_0x34aecf(_0x5992('0x42'))),_0x166e61[_0x5992('0xd')](_0x5992('0x13'),_0x750ad7(_0x5992('0x13'))),_0x166e61['enableCommand'](_0x5992('0x31'),_0x750ad7(_0x5992('0x31'))),_0x166e61[_0x5992('0xb')][_0x5992('0x48')](function(_0xf0fce2){const _0x157fdc=!_0x226273[_0x5992('0x3e')]['schema'][_0x5992('0x2f')](_0xf0fce2),_0xc79434=_0xf0fce2[_0x5992('0x3a')],_0x5424b7=_0xf0fce2[_0x5992('0x17')],_0x2efde7=_0xf0fce2[_0x5992('0x12')](_0x5992('0x11')),_0x12adbf=!_0xc79434||_0xc79434[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7,_0xdbb97c=!_0x5424b7||_0x5424b7[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7;return _0x157fdc&&_0x2efde7&&_0x12adbf&&_0xdbb97c;},_0x2aaf5a=>_0x1157b1(_0x273ca2,_0x5992('0x35'),_0x2aaf5a)),_0x166e61['_descriptionFactory'][_0x5992('0x1d')](function(_0x2f18a7){const {data:_0x12d989}=_0x2f18a7;if(!_0x12d989)return;let _0x3f2c62,_0x378ed7,_0xb7d7c9,_0x41486d;switch(_0x12d989[_0x5992('0x2b')]){case _0x5992('0x14'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0]['forceValue'],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':'format','content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0xc')))};break;case _0x5992('0x3d'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0][_0x5992('0x2')],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x3f2c62=_0x5992('0x16'),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))};break;case _0x5992('0x42'):_0x3f2c62=function(_0x32b8d8){const _0x161c81=_0x32b8d8[_0x5992('0x3b')]();let _0x27d58b=_0x161c81['start'][_0x5992('0x29')];for(;_0x27d58b&&_0x161c81['containsItem'](_0x27d58b);){if(_0x27d58b[_0x5992('0x12')](_0x5992('0x15'))>0x0)return!0x1;_0x27d58b=_0x27d58b[_0x5992('0x17')];}return!0x0;}(_0x2f18a7)?_0x1157b1(_0x273ca2,_0x5992('0x2d'),_0x1157b1(_0x273ca2,function(_0x5b78ec){const _0x304d6c=_0x5b78ec[_0x5992('0x3b')]()[_0x5992('0x1c')][_0x5992('0x29')];return _0x5992('0x46')+_0x304d6c['getAttribute'](_0x5992('0x1b'))[_0x5992('0x1a')]()+_0x5992('0x2c');}(_0x2f18a7))):_0x1157b1(_0x273ca2,_0x5992('0x25'),_0x1157b1(_0x273ca2,'ELEMENT_LIST_ITEM')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x3f2c62};break;case'mergeListItemBackward':case _0x5992('0x24'):!0x1===_0x12d989[_0x5992('0x7')]&&(_0x3f2c62='*Merge:*\x20%0',_0x378ed7={'type':_0x5992('0x1'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))});}return _0x378ed7;}),_0x166e61['_suggestionFactory'][_0x5992('0x2e')]('formatBlock',_0x5992('0x3c'),_0x5992('0x38'),function(_0x8384d6,_0x4351a3){const _0x1dd3e9=[];for(let _0x9b2c25 of _0x8384d6)_0x9b2c25[_0x5992('0x1c')]['nodeAfter']===_0x9b2c25[_0x5992('0x4a')][_0x5992('0x34')]&&(_0x9b2c25=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0x9b2c25['start']['nodeAfter'],0x0))),_0x1dd3e9[_0x5992('0x3')](_0x9b2c25);_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](_0x55346e=>{const _0x6e49=_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')],_0x4e42b3=Array[_0x5992('0x37')](_0x6e49[_0x5992('0x1f')]())[_0x5992('0x2a')](_0x1f3c5e=>_0x2366fe[_0x5992('0x4')](_0x1f3c5e));_0x55346e['setSelection'](_0x1dd3e9),_0x226273[_0x5992('0x0')][_0x5992('0x39')](_0x4351a3[_0x5992('0x2b')])[_0x5992('0x40')](),_0x4351a3[_0x5992('0x27')][_0x5992('0x3')]({'forceDefaultExecution':!0x0}),_0x226273[_0x5992('0x1e')](_0x4351a3[_0x5992('0x2b')],..._0x4351a3[_0x5992('0x27')]),_0x55346e[_0x5992('0x45')](_0x4e42b3);for(const _0x3a3aae of _0x4e42b3)_0x3a3aae[_0x5992('0x47')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc050=['config','toUpperCase','handleListReversedCommand','push','editor','isListItemBlock','replaceAll','listReversed','startIndex','DocumentListUtils','_descriptionFactory','isFirstBlockOfListItem','plugins','numbered','model','TrackChangesEditing','getAttribute','filter','DocumentListPropertiesUtils','styles','listStart','_getSuggestionBlocks','get','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','handleDescriptions','handleListStyleCommand','enableCommand','*Format:*\x20set\x20order\x20to\x20regular','getSelectedBlocks','afterInit','list.properties','reversed','locale','change','ELEMENT_','length','_LIST_','listStyle','listType','registerDescriptionCallback','bind','commandName','from','hasAttribute','format','_getTranslationKeyForListStyle','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','expandListBlocksToCompleteList','handleListStartCommand','commandParams','selection'];(function(_0x4b1275,_0xc050d7){const _0x3e9c5d=function(_0x52f5d3){while(--_0x52f5d3){_0x4b1275['push'](_0x4b1275['shift']());}};_0x3e9c5d(++_0xc050d7);}(_0xc050,0x19f));const _0x3e9c=function(_0x4b1275,_0xc050d7){_0x4b1275=_0x4b1275-0x0;let _0x3e9c5d=_0xc050[_0x4b1275];return _0x3e9c5d;};import{Plugin as _0x2049a0}from'ckeditor5/src/core';import{getTranslation as _0x943396}from'../utils/common-translations';export default class vt extends _0x2049a0{[_0x3e9c('0x27')](){if(!this[_0x3e9c('0xd')]['plugins']['has'](_0x3e9c('0x3')))return;const _0x226000=this[_0x3e9c('0xd')][_0x3e9c('0x9')][_0x3e9c('0x1f')](_0x3e9c('0x28')),_0x29d362=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18'));_0x226000[_0x3e9c('0x1c')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x2f'),this['handleListStyleCommand']['bind'](this)),_0x226000[_0x3e9c('0x29')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x10'),this[_0x3e9c('0xb')][_0x3e9c('0x32')](this)),_0x226000[_0x3e9c('0x11')]&&_0x29d362['enableCommand'](_0x3e9c('0x1d'),this[_0x3e9c('0x6')]['bind'](this)),_0x29d362[_0x3e9c('0x13')][_0x3e9c('0x31')](this[_0x3e9c('0x22')][_0x3e9c('0x32')](this));}[_0x3e9c('0x23')](_0x42a742,_0x34654c){const _0x5b8742=this['editor'][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18')),_0x2f55cc=this[_0x3e9c('0x1e')](_0x55140d=>_0x55140d[_0x3e9c('0x0')]('listType'));null!==_0x2f55cc&&this['editor'][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x5b8742[_0x3e9c('0x20')](_0x2f55cc,{'commandName':_0x3e9c('0x2f'),'commandParams':[{'type':_0x34654c['type']}],'formatGroupId':_0x3e9c('0x2f')});});}[_0x3e9c('0xb')](_0x57ce91,_0x5e963b){const _0x1155a8=this[_0x3e9c('0xd')]['plugins']['get'](_0x3e9c('0x18')),_0x4be714=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x12')),_0x2933e7=this[_0x3e9c('0x1e')](_0x2b25a3=>_0x4be714[_0x3e9c('0xe')](_0x2b25a3)&&_0x3e9c('0x16')===_0x2b25a3[_0x3e9c('0x19')](_0x3e9c('0x30')));null!==_0x2933e7&&this[_0x3e9c('0xd')]['model'][_0x3e9c('0x2b')](()=>{_0x1155a8[_0x3e9c('0x20')](_0x2933e7,{'commandName':'listReversed','commandParams':[{'reversed':_0x5e963b[_0x3e9c('0x29')]}],'formatGroupId':'listReversed'});});}[_0x3e9c('0x6')](_0x9a3029,_0x55256c){const _0x3b89a8=this[_0x3e9c('0xd')][_0x3e9c('0x15')]['get'](_0x3e9c('0x18')),_0x5a26cb=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')]('DocumentListUtils'),_0x2d410b=this[_0x3e9c('0x1e')](_0xf963b1=>_0x5a26cb[_0x3e9c('0xe')](_0xf963b1)&&_0x3e9c('0x16')===_0xf963b1['getAttribute']('listType'));null!==_0x2d410b&&this[_0x3e9c('0xd')][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x3b89a8[_0x3e9c('0x20')](_0x2d410b,{'commandName':_0x3e9c('0x1d'),'commandParams':[{'startIndex':_0x55256c[_0x3e9c('0x11')]}],'formatGroupId':_0x3e9c('0x1d')});});}[_0x3e9c('0x22')](_0x57d0c4){const _0x5a3470=this[_0x3e9c('0xd')][_0x3e9c('0x2a')],{data:_0x46bf8d}=_0x57d0c4;if(!_0x46bf8d)return;let _0x333056,_0x347b77;switch(_0x46bf8d[_0x3e9c('0x33')]){case _0x3e9c('0x2f'):_0x333056=_0x3e9c('0x21'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x943396(_0x5a3470,this[_0x3e9c('0x2')](_0x46bf8d[_0x3e9c('0x7')][0x0]['type'])))};break;case _0x3e9c('0x10'):_0x333056=_0x46bf8d[_0x3e9c('0x7')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3e9c('0x25'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056)};break;case'listStart':_0x333056=_0x3e9c('0x4'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x46bf8d[_0x3e9c('0x7')][0x0][_0x3e9c('0x11')])};}return _0x347b77;}[_0x3e9c('0x1e')](_0x49f8e5){const _0x177941=this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x12'));let _0x46cc3c=Array[_0x3e9c('0x34')](this[_0x3e9c('0xd')][_0x3e9c('0x17')]['document'][_0x3e9c('0x8')][_0x3e9c('0x26')]())[_0x3e9c('0x1a')](_0x49f8e5);if(!_0x46cc3c[_0x3e9c('0x2d')])return null;_0x46cc3c=_0x177941[_0x3e9c('0x5')](_0x46cc3c);const _0x101bc4=[];for(const _0x1694a1 of _0x46cc3c)_0x177941[_0x3e9c('0x14')](_0x1694a1)&&_0x101bc4[_0x3e9c('0xc')](_0x1694a1);return _0x101bc4;}[_0x3e9c('0x2')](_0x324902){return _0x3e9c('0x2c')+this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x1b'))['getListTypeFromListStyleType'](_0x324902)[_0x3e9c('0xa')]()+_0x3e9c('0x2e')+_0x324902[_0x3e9c('0xa')]()[_0x3e9c('0xf')]('-','_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cb8=['parent','init','end','editor','showSuggestionHighlights','split','editing','enter','downcastDispatcher','requires','markerNameToElements','get','plugins','markerName','addMarker:suggestion:insertion','detach','hasClass','model','document','data','afterExecute','remove','fromRange','mapper','getFirstPosition','enableCommand','getFirstRange','setSelection','high','createPositionAt','selection','createRange','ck-suggestion-marker-split','TrackChangesEditing','removeMarker:suggestion:insertion','change','commands'];(function(_0x4745ad,_0x1cb830){const _0x1b7ba2=function(_0x72a749){while(--_0x72a749){_0x4745ad['push'](_0x4745ad['shift']());}};_0x1b7ba2(++_0x1cb830);}(_0x1cb8,0x18f));const _0x1b7b=function(_0x4745ad,_0x1cb830){_0x4745ad=_0x4745ad-0x0;let _0x1b7ba2=_0x1cb8[_0x4745ad];return _0x1b7ba2;};import{Plugin as _0x43beb1}from'ckeditor5/src/core';import{Enter as _0x19d2b9}from'ckeditor5/src/enter';import{LiveRange as _0x2cf92e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x27a8fb}from'./utils';export default class H extends _0x43beb1{static get[_0x1b7b('0x11')](){return[_0x19d2b9];}[_0x1b7b('0x9')](){const _0x5909a2=this[_0x1b7b('0xb')],_0x3a81a1=_0x5909a2[_0x1b7b('0x14')][_0x1b7b('0x13')](_0x1b7b('0x4')),_0x453d07=_0x5909a2[_0x1b7b('0x7')]['get'](_0x1b7b('0xf'));_0x3a81a1[_0x1b7b('0x21')](_0x1b7b('0xf'),()=>{_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x6')](_0x466d28=>{const _0xf092fc=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x1a')][_0x1b7b('0x1')],_0x27a9a4=_0xf092fc[_0x1b7b('0x20')](),_0x2d94c4=_0x2cf92e[_0x1b7b('0x1e')](_0xf092fc[_0x1b7b('0x22')]());if(_0x453d07['enterBlock'](_0x466d28)){const _0x5dbd8a=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x0')](_0x27a9a4[_0x1b7b('0x8')]['nextSibling'],0x0),_0x31a034=_0x466d28['createRange'](_0x27a9a4,_0x5dbd8a);_0x3a81a1['markInsertion'](_0x31a034);}else _0x466d28[_0x1b7b('0x23')](_0x466d28[_0x1b7b('0x2')](_0x2d94c4[_0x1b7b('0xa')]));_0x2d94c4[_0x1b7b('0x17')](),_0x453d07['fire'](_0x1b7b('0x1c'),{'writer':_0x466d28});});}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x16'),_0x27a8fb(_0x5909a2,_0x1b7b('0xd')),{'priority':'high'}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x5'),(_0x494317,_0x4098ee,_0xac2ee9)=>{const _0x160297=_0xac2ee9[_0x1b7b('0x1f')][_0x1b7b('0x12')](_0x4098ee['markerName']);if(_0x160297)for(const _0x1b8d1d of _0x160297)_0x1b8d1d[_0x1b7b('0x18')](_0x1b7b('0x3'))&&(_0xac2ee9[_0x1b7b('0x1f')]['unbindElementFromMarkerName'](_0x1b8d1d,_0x4098ee[_0x1b7b('0x15')]),_0xac2ee9['writer'][_0x1b7b('0x1d')](_0x1b8d1d));},{'priority':_0x1b7b('0x24')}),_0x5909a2[_0x1b7b('0x1b')][_0x1b7b('0x10')]['on'](_0x1b7b('0x16'),(_0x1ef8c0,_0x2de72e,_0xe2b88b)=>{_0xe2b88b['options'][_0x1b7b('0xc')]&&_0x27a8fb(_0x5909a2,_0x1b7b('0xd'),{'showActiveMarker':!0x1})(_0x1ef8c0,_0x2de72e,_0xe2b88b);},{'priority':_0x1b7b('0x24')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x813f=['editor','replace','createPositionAt','find','start','FindAndReplaceEditing','enableCommand','end','get','getRange','suggestion:deletion','has','plugins','item','handleFindCommand','getIntersection','string','model','findByTextCallback','_isInDeletionRange','findPrevious','replaceAll','filter','findNext','TrackChangesEditing'];(function(_0x496a19,_0x813fa0){const _0x3a5277=function(_0x52305c){while(--_0x52305c){_0x496a19['push'](_0x496a19['shift']());}};_0x3a5277(++_0x813fa0);}(_0x813f,0x198));const _0x3a52=function(_0x496a19,_0x813fa0){_0x496a19=_0x496a19-0x0;let _0x3a5277=_0x813f[_0x496a19];return _0x3a5277;};import{Plugin as _0x585ac8}from'ckeditor5/src/core';export default class W extends _0x585ac8{['afterInit'](){if(!this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x3')](_0x3a52('0x16')))return;const _0x3109c1=this[_0x3a52('0x11')]['plugins'][_0x3a52('0x0')](_0x3a52('0x10'));_0x3109c1[_0x3a52('0x17')](_0x3a52('0x14'),this[_0x3a52('0x6')]['bind'](this)),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xf')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xc')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0x12')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xd'));}['handleFindCommand'](_0x17269d,_0x67dc46,_0x218ced){const _0x3c3428=this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x0')]('FindAndReplaceUtils');void 0x0!==_0x218ced&&_0x17269d(_0x169038=>(_0x3a52('0x8')==typeof _0x67dc46?_0x3c3428[_0x3a52('0xa')](_0x67dc46,_0x218ced):_0x67dc46)(_0x169038)[_0x3a52('0xe')](_0x197ebd=>!0x1===this[_0x3a52('0xb')](_0x197ebd,_0x169038[_0x3a52('0x5')])),_0x218ced);}[_0x3a52('0xb')](_0x38a03e,_0x4dcec7){const _0x2cb340=this[_0x3a52('0x11')][_0x3a52('0x9')]['createRange'](this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x15')]),this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x18')]));for(const _0x5d7c68 of this['editor'][_0x3a52('0x9')]['markers']['getMarkersGroup'](_0x3a52('0x2')))if(null!==_0x2cb340[_0x3a52('0x7')](_0x5d7c68[_0x3a52('0x1')]()))return!0x0;return!0x1;}}
|