@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231205.0 → 0.0.0-nightly-20231206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4555=['listType','registerElementLabel','selection','*Indent:*\x20%0','nextSibling','todoList','formatInline','ELEMENT_TODO_LIST','_descriptionFactory','ListEditing','before','paragraph','value','List','todo','commands','commandParams','plugins','numbered','registerDescriptionCallback','afterInit','TrackChangesEditing','from','createPositionAt','get','name','blockName','markBlockFormat','type','filter','length','enableCommand','numberedList','checkChild','getAttribute','indentList','has','*Check\x20item*','bulletedList','ELEMENT_BULLETED_LIST','ELEMENT_LIST_ITEM','format','commandName','*Outdent:*\x20%0','locale','previousSibling','forceValue','add','element','listIndent','outdentList','*Change\x20to:*\x20%0','ELEMENT_NUMBERED_LIST','slice','model','change','checkTodoList','listItem','_selectedElements','document','createRange'];(function(_0x1bfe9a,_0x455548){const _0xba1312=function(_0xc029fe){while(--_0xc029fe){_0x1bfe9a['push'](_0x1bfe9a['shift']());}};_0xba1312(++_0x455548);}(_0x4555,0xd9));const _0xba13=function(_0x1bfe9a,_0x455548){_0x1bfe9a=_0x1bfe9a-0x0;let _0xba1312=_0x4555[_0x1bfe9a];return _0xba1312;};import{Plugin as _0x71828c}from'ckeditor5/src/core';import{getTranslation as _0x3c2511}from'../utils/common-translations';export default class ct extends _0x71828c{[_0xba13('0x2f')](){const _0x3e6553=this['editor'],_0x40979b=_0x3e6553[_0xba13('0xa')];if(!_0x3e6553[_0xba13('0x2c')][_0xba13('0x2')](_0xba13('0x24')))return;const _0x4b61bc=_0x3e6553[_0xba13('0x2c')][_0xba13('0x33')](_0xba13('0x30')),_0x57db94=_0x3e6553[_0xba13('0x2c')][_0xba13('0x2')]('TodoListEditing');function _0xb90456(_0x5eec9c){return()=>{const _0x531e0a=_0x3e6553[_0xba13('0x14')][_0xba13('0x19')][_0xba13('0x1d')],_0x365c82=_0x3e6553['commands'][_0xba13('0x33')](_0x5eec9c);if(_0x365c82['value'])return void _0x3e6553['execute'](_0xba13('0x26'),{});const _0x178d0=_0x5eec9c[_0xba13('0x13')](0x0,-0x4),_0x1767be=function(_0x273085,_0x3a0f50,_0x1bf540){let _0x50d7b4=Array[_0xba13('0x31')](_0x273085)[_0xba13('0x38')](_0x554004=>function(_0x4ddfd4,_0x4e374c){return _0x4e374c[_0xba13('0x3c')](_0x4ddfd4['parent'],'listItem')&&!_0x4e374c['isObject'](_0x4ddfd4);}(_0x554004,_0x1bf540));_0x50d7b4=_0x50d7b4[_0xba13('0x38')](_0xaf6b7c=>!_0xaf6b7c['is']('element',_0xba13('0x17'))||_0xaf6b7c['getAttribute'](_0xba13('0x1b'))!=_0x3a0f50);const _0x29cda3=new Set();for(const _0x5c9657 of _0x50d7b4)_0x5c9657['is'](_0xba13('0xe'),_0xba13('0x17'))?_0x29cda3[_0xba13('0xd')](ne(_0x5c9657)):_0x29cda3['add'](_0x5c9657);return Array[_0xba13('0x31')](_0x29cda3);}(_0x531e0a['getSelectedBlocks'](),_0x178d0,_0x3e6553[_0xba13('0x14')]['schema']);_0x3e6553['model'][_0xba13('0x15')](()=>{for(const _0x5ecd05 of _0x1767be)_0x4b61bc[_0xba13('0x36')](_0x5ecd05,{'commandName':_0x5eec9c,'commandParams':[{'forceValue':!_0x365c82[_0xba13('0x27')]}],'formatGroupId':_0xba13('0x35')},oe(_0x5ecd05));});};}function _0x1eb366(_0x48782f){return()=>{const _0x1497a5=function(_0x229876){let _0x515868=Array['from'](_0x229876);const _0x123be2=_0x515868['findIndex'](_0xd4c246=>'listItem'!=_0xd4c246[_0xba13('0x34')]);return _0x123be2>-0x1&&(_0x515868=_0x515868[_0xba13('0x13')](0x0,_0x123be2)),_0x515868;}(_0x3e6553[_0xba13('0x14')]['document'][_0xba13('0x1d')]['getSelectedBlocks']()),_0x20d34e=_0x3e6553[_0xba13('0x14')][_0xba13('0x1a')](_0x3e6553[_0xba13('0x14')]['createPositionAt'](_0x1497a5[0x0],_0xba13('0x25')),_0x3e6553[_0xba13('0x14')][_0xba13('0x32')](_0x1497a5[_0x1497a5[_0xba13('0x39')]-0x1],'end'));_0x3e6553['model'][_0xba13('0x15')](()=>{_0x4b61bc[_0xba13('0x36')](_0x20d34e,{'commandName':_0x48782f,'commandParams':[],'formatGroupId':_0xba13('0xf')},function(_0x22e183){const _0x34a1c6=new Set();for(const _0x34cd90 of _0x22e183){let _0x2b5bf7=_0x34cd90[_0xba13('0x1f')];for(;_0x2b5bf7&&_0x2b5bf7['getAttribute'](_0xba13('0xf'))>_0x34cd90['getAttribute'](_0xba13('0xf'));)_0x34a1c6[_0xba13('0xd')](_0x2b5bf7),_0x2b5bf7=_0x2b5bf7[_0xba13('0x1f')];}return Array[_0xba13('0x31')](_0x34a1c6);}(_0x1497a5));});};}_0x4b61bc[_0xba13('0x3a')](_0xba13('0x3b'),_0xb90456(_0xba13('0x3b'))),_0x4b61bc['enableCommand'](_0xba13('0x4'),_0xb90456('bulletedList')),_0x57db94&&_0x4b61bc[_0xba13('0x3a')](_0xba13('0x20'),_0xb90456('todoList')),_0x4b61bc[_0xba13('0x3a')]('indentList',_0x1eb366('indentList')),_0x4b61bc[_0xba13('0x3a')](_0xba13('0x10'),_0x1eb366(_0xba13('0x10'))),_0x57db94&&_0x4b61bc['enableCommand'](_0xba13('0x16'),()=>{const _0x4e195f=_0x3e6553[_0xba13('0x2a')]['get'](_0xba13('0x16')),_0x56718a=Array[_0xba13('0x31')](_0x4e195f[_0xba13('0x18')]);_0x56718a['filter'](_0xe871e4=>_0xe871e4[_0xba13('0x0')]('todoListChecked')!=_0x4e195f['value']),_0x3e6553[_0xba13('0x14')][_0xba13('0x15')](()=>{for(const _0x3b74cc of _0x56718a)_0x4b61bc['markBlockFormat'](_0x3b74cc,{'commandName':_0xba13('0x16'),'commandParams':[{'forceValue':!_0x4e195f['value']}]});});}),_0x4b61bc['_descriptionFactory'][_0xba13('0x1c')](_0xba13('0x17'),_0x246048=>_0x3c2511(_0x40979b,'ELEMENT_LIST_ITEM',_0x246048)),_0x4b61bc[_0xba13('0x23')][_0xba13('0x2e')](_0x5ef2d0=>{if('formatBlock'!=_0x5ef2d0['type']&&_0xba13('0x21')!=_0x5ef2d0[_0xba13('0x37')])return;const {data:_0x49c7b2}=_0x5ef2d0;if(_0x49c7b2){if(_0xba13('0x3b')==_0x49c7b2[_0xba13('0x8')]||'bulletedList'==_0x49c7b2[_0xba13('0x8')]||_0xba13('0x20')==_0x49c7b2[_0xba13('0x8')])switch(_0x49c7b2[_0xba13('0x8')]['replace'](_0xba13('0x28'),'')){case'bulleted':return _0x1a51fb(_0x3c2511(_0x40979b,_0xba13('0x5')));case _0xba13('0x2d'):return _0x1a51fb(_0x3c2511(_0x40979b,_0xba13('0x12')));case _0xba13('0x29'):return _0x1a51fb(_0x3c2511(_0x40979b,_0xba13('0x22')));}if(_0xba13('0x1')==_0x49c7b2[_0xba13('0x8')])return{'type':_0xba13('0x7'),'content':_0x3c2511(_0x40979b,_0xba13('0x1e'),_0x3c2511(_0x40979b,_0xba13('0x6')))};if(_0xba13('0x10')==_0x49c7b2[_0xba13('0x8')])return{'type':'format','content':_0x3c2511(_0x40979b,_0xba13('0x9'),_0x3c2511(_0x40979b,_0xba13('0x6')))};if(_0xba13('0x16')==_0x49c7b2[_0xba13('0x8')])return _0x49c7b2[_0xba13('0x2b')][0x0][_0xba13('0xc')]?{'type':_0xba13('0x7'),'content':_0x3c2511(_0x40979b,_0xba13('0x3'))}:{'type':_0xba13('0x7'),'content':_0x3c2511(_0x40979b,'*Uncheck\x20item*')};}function _0x1a51fb(_0x4cbaca){return{'type':'format','content':_0x3c2511(_0x40979b,_0xba13('0x11'),_0x4cbaca)};}});}}function ne(_0x298938){const _0x209696=_0x298938[_0xba13('0x0')](_0xba13('0xf'));if(0x0==_0x209696)return _0x298938;let _0x344fd7=_0x298938;for(;_0x298938[_0xba13('0xb')]&&_0x298938[_0xba13('0xb')]['is']('element','listItem');){const _0x4e41c1=_0x298938[_0xba13('0xb')][_0xba13('0x0')](_0xba13('0xf'));if(_0x4e41c1==_0x209696)_0x344fd7=_0x298938['previousSibling'];else{if(_0x4e41c1<_0x209696)break;}_0x298938=_0x298938[_0xba13('0xb')];}return _0x344fd7;}function oe(_0x2e55ca){const _0x18657a=[];if(_0x2e55ca['is']('element',_0xba13('0x17'))&&_0x2e55ca[_0xba13('0x0')](_0xba13('0xf'))>0x0){let _0xc090d0=_0x2e55ca[_0xba13('0x1f')];for(;_0xc090d0&&'listItem'==_0xc090d0[_0xba13('0x34')]&&_0xc090d0['getAttribute'](_0xba13('0xf'))==_0x2e55ca[_0xba13('0x0')](_0xba13('0xf'));)_0x18657a['push'](_0xc090d0),_0xc090d0=_0xc090d0[_0xba13('0x1f')];}return _0x18657a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c31=['commandParams','toUpperCase','getFirstPosition','list.properties','flat','type','listType','filter','getSiblingNodes','from','startIndex','map','has','markMultiRangeBlockFormat','formatInline','*Format:*\x20set\x20order\x20to\x20reversed','createRange','document','ListUtils','config','parent','formatBlock','editor','*Format:*\x20set\x20order\x20to\x20regular','_LIST_','ListPropertiesEditing','locale','numbered','reversed','listItem','_descriptionFactory','getListTypeFromListStyleType','length','listStyle','plugins','handleDescriptions','forward','registerDescriptionCallback','selection','_getSuggestionBlocks','getAttribute','change','_getTranslationKeyForListStyle','styles','*Format:*\x20set\x20start\x20index\x20to\x20%0','getLastPosition','listReversed','backward','handleListStartCommand','element','before','TrackChangesEditing','get','handleListReversedCommand','getSelectedBlocks','model','enableCommand','_getSuggestionBlocksForListStyle','handleListStyleCommand','bind','createPositionAt','format'];(function(_0x2d5243,_0x4c319f){const _0x3bf1ff=function(_0x24f737){while(--_0x24f737){_0x2d5243['push'](_0x2d5243['shift']());}};_0x3bf1ff(++_0x4c319f);}(_0x4c31,0x122));const _0x3bf1=function(_0x2d5243,_0x4c319f){_0x2d5243=_0x2d5243-0x0;let _0x3bf1ff=_0x4c31[_0x2d5243];return _0x3bf1ff;};import{Plugin as _0x109ceb}from'ckeditor5/src/core';import{getTranslation as _0x1d97c0}from'../utils/common-translations';export default class ut extends _0x109ceb{['afterInit'](){if(!this['editor'][_0x3bf1('0x36')][_0x3bf1('0x20')](_0x3bf1('0x2d')))return;const _0x10404a=this[_0x3bf1('0x2a')][_0x3bf1('0x27')]['get'](_0x3bf1('0x17')),_0x59c155=this[_0x3bf1('0x2a')][_0x3bf1('0x36')]['get']('TrackChangesEditing');_0x10404a[_0x3bf1('0x1')]&&_0x59c155[_0x3bf1('0xe')](_0x3bf1('0x35'),this[_0x3bf1('0x10')]['bind'](this)),_0x10404a[_0x3bf1('0x30')]&&_0x59c155[_0x3bf1('0xe')](_0x3bf1('0x4'),this['handleListReversedCommand'][_0x3bf1('0x11')](this)),_0x10404a[_0x3bf1('0x1e')]&&_0x59c155[_0x3bf1('0xe')]('listStart',this[_0x3bf1('0x6')][_0x3bf1('0x11')](this)),_0x59c155[_0x3bf1('0x32')][_0x3bf1('0x39')](this[_0x3bf1('0x37')]['bind'](this));}['handleListStyleCommand'](_0x3a3f3f,_0x24574b={}){const _0x5d5a2a=this[_0x3bf1('0x2a')][_0x3bf1('0x36')][_0x3bf1('0xa')](_0x3bf1('0x9')),_0x44cc5c=this[_0x3bf1('0xf')]();this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x3d')](()=>{_0x5d5a2a[_0x3bf1('0x21')](_0x44cc5c,{'commandName':'listStyle','commandParams':[{'type':_0x24574b[_0x3bf1('0x19')]}],'formatGroupId':_0x3bf1('0x35')});});}[_0x3bf1('0xb')](_0x4dca28,_0xe93efe={}){const _0x265387=this[_0x3bf1('0x2a')][_0x3bf1('0x36')]['get'](_0x3bf1('0x9')),_0x27ee8d=this[_0x3bf1('0x3b')](_0x33c88d=>_0x33c88d['is'](_0x3bf1('0x7'),_0x3bf1('0x31'))&&_0x3bf1('0x2f')===_0x33c88d[_0x3bf1('0x3c')]('listType'));if(_0x27ee8d['length']<0x1)return;const _0x2a8074=_0x27ee8d[_0x3bf1('0x1f')](_0x3296a0=>this['editor'][_0x3bf1('0xd')]['createRange'](this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x12')](_0x3296a0,_0x3bf1('0x8')),this[_0x3bf1('0x2a')]['model'][_0x3bf1('0x12')](_0x3296a0,0x0)));this[_0x3bf1('0x2a')][_0x3bf1('0xd')]['change'](()=>{_0x265387[_0x3bf1('0x21')](_0x2a8074,{'commandName':_0x3bf1('0x4'),'commandParams':[{'reversed':_0xe93efe[_0x3bf1('0x30')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x356e6c,_0x2f8902={}){const _0x46d14c=this[_0x3bf1('0x2a')]['plugins'][_0x3bf1('0xa')](_0x3bf1('0x9')),_0xb99d74=this['_getSuggestionBlocks'](_0x353a48=>_0x353a48['is'](_0x3bf1('0x7'),'listItem')&&_0x3bf1('0x2f')===_0x353a48['getAttribute'](_0x3bf1('0x1a')));if(_0xb99d74[_0x3bf1('0x34')]<0x1)return;const _0x8da2de=_0xb99d74[_0x3bf1('0x1f')](_0x397960=>this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x24')](this['editor'][_0x3bf1('0xd')][_0x3bf1('0x12')](_0x397960,_0x3bf1('0x8')),this[_0x3bf1('0x2a')]['model'][_0x3bf1('0x12')](_0x397960,0x0)));this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x3d')](()=>{_0x46d14c['markMultiRangeBlockFormat'](_0x8da2de,{'commandName':'listStart','commandParams':[{'startIndex':_0x2f8902[_0x3bf1('0x1e')]}],'formatGroupId':'listStart'});});}[_0x3bf1('0x37')](_0x11a870){if(_0x3bf1('0x29')!=_0x11a870['type']&&_0x3bf1('0x22')!=_0x11a870['type'])return;const _0x1af3eb=this[_0x3bf1('0x2a')][_0x3bf1('0x2e')],{data:_0x42460c}=_0x11a870;if(!_0x42460c)return;let _0x59aac2,_0x1ea4e1;switch(_0x42460c['commandName']){case _0x3bf1('0x35'):_0x59aac2='*Change\x20to:*\x20%0',_0x1ea4e1={'type':_0x3bf1('0x13'),'content':_0x1d97c0(_0x1af3eb,_0x59aac2,_0x1d97c0(_0x1af3eb,this[_0x3bf1('0x0')](_0x42460c[_0x3bf1('0x14')][0x0][_0x3bf1('0x19')])))};break;case _0x3bf1('0x4'):_0x59aac2=_0x42460c[_0x3bf1('0x14')][0x0][_0x3bf1('0x30')]?_0x3bf1('0x23'):_0x3bf1('0x2b'),_0x1ea4e1={'type':_0x3bf1('0x13'),'content':_0x1d97c0(_0x1af3eb,_0x59aac2)};break;case'listStart':_0x59aac2=_0x3bf1('0x2'),_0x1ea4e1={'type':'format','content':_0x1d97c0(_0x1af3eb,_0x59aac2,_0x42460c[_0x3bf1('0x14')][0x0][_0x3bf1('0x1e')])};}return _0x1ea4e1;}[_0x3bf1('0xf')](){var _0xd95b30,_0x2e2354,_0x22fed8,_0x4a1057;const _0x1ce1cc=this[_0x3bf1('0x2a')][_0x3bf1('0x36')][_0x3bf1('0xa')](_0x3bf1('0x26'));let _0x3b5c03=Array[_0x3bf1('0x1d')](this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x25')][_0x3bf1('0x3a')][_0x3bf1('0xc')]());return(null===(_0xd95b30=_0x3b5c03[0x0])||void 0x0===_0xd95b30?void 0x0:_0xd95b30['is'](_0x3bf1('0x7'),'listItem'))&&_0x3b5c03['unshift'](..._0x1ce1cc[_0x3bf1('0x1c')](this[_0x3bf1('0x2a')]['model'][_0x3bf1('0x25')][_0x3bf1('0x3a')]['getFirstPosition'](),_0x3bf1('0x5'))),(null===(_0x2e2354=_0x3b5c03[_0x3b5c03['length']-0x1])||void 0x0===_0x2e2354?void 0x0:_0x2e2354['is'](_0x3bf1('0x7'),_0x3bf1('0x31')))&&_0x3b5c03['push'](..._0x1ce1cc[_0x3bf1('0x1c')](this[_0x3bf1('0x2a')][_0x3bf1('0xd')]['document']['selection'][_0x3bf1('0x3')](),_0x3bf1('0x38'))),_0x3b5c03=[...new Set(_0x3b5c03)],(null===(_0x4a1057=null===(_0x22fed8=this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x25')][_0x3bf1('0x3a')][_0x3bf1('0x16')]())||void 0x0===_0x22fed8?void 0x0:_0x22fed8[_0x3bf1('0x28')])||void 0x0===_0x4a1057?void 0x0:_0x4a1057['is'](_0x3bf1('0x7'),_0x3bf1('0x31')))&&(_0x3b5c03=_0x3b5c03[_0x3bf1('0x1b')](_0x138be9=>_0x138be9['is'](_0x3bf1('0x7'),'listItem'))),_0x3b5c03;}[_0x3bf1('0x3b')](_0x40b8a6){const _0x3c036f=this[_0x3bf1('0x2a')][_0x3bf1('0x36')][_0x3bf1('0xa')]('ListUtils');let _0x14d573=Array[_0x3bf1('0x1d')](this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x25')][_0x3bf1('0x3a')][_0x3bf1('0xc')]())[_0x3bf1('0x1b')](_0x40b8a6)[_0x3bf1('0x1f')](_0x33719c=>{const _0x5cbe51=this[_0x3bf1('0x2a')][_0x3bf1('0xd')][_0x3bf1('0x12')](_0x33719c,0x0);return[..._0x3c036f[_0x3bf1('0x1c')](_0x5cbe51,_0x3bf1('0x5')),..._0x3c036f[_0x3bf1('0x1c')](_0x5cbe51,_0x3bf1('0x38'))];})[_0x3bf1('0x18')]();return _0x14d573=[...new Set(_0x14d573)],_0x14d573;}[_0x3bf1('0x0')](_0x30bdc6){return'ELEMENT_'+this[_0x3bf1('0x2a')]['plugins'][_0x3bf1('0xa')](_0x3bf1('0x26'))[_0x3bf1('0x33')](_0x30bdc6)['toUpperCase']()+_0x3bf1('0x2c')+_0x30bdc6[_0x3bf1('0x15')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29d6=['stop','TrackChangesEditing','editor','showSuggestionHighlights','high','registerElementLabel','enableCommand','locale','get','afterInit','elementToElement','options','data','mediaEmbed','plugins','attribute:url:media','media','dataDowncast','_descriptionFactory'];(function(_0x140659,_0x29d6c6){const _0x12788e=function(_0x4d1004){while(--_0x4d1004){_0x140659['push'](_0x140659['shift']());}};_0x12788e(++_0x29d6c6);}(_0x29d6,0xb8));const _0x1278=function(_0x140659,_0x29d6c6){_0x140659=_0x140659-0x0;let _0x12788e=_0x29d6[_0x140659];return _0x12788e;};import{Plugin as _0x1e7a30}from'ckeditor5/src/core';import{getTranslation as _0x27497d}from'../utils/common-translations';export default class ht extends _0x1e7a30{[_0x1278('0xf')](){const _0x5bf435=this[_0x1278('0x8')];if(!_0x5bf435[_0x1278('0x1')]['has']('MediaEmbedEditing'))return;const _0x5dc481=_0x5bf435[_0x1278('0x1')][_0x1278('0xe')](_0x1278('0x7')),_0x19572f=_0x5bf435[_0x1278('0xd')];_0x5dc481[_0x1278('0xc')](_0x1278('0x0')),_0x5dc481[_0x1278('0x5')][_0x1278('0xb')](_0x1278('0x3'),_0x5082bb=>_0x27497d(_0x19572f,'ELEMENT_MEDIA',_0x5082bb)),_0x5bf435['conversion']['for'](_0x1278('0x4'))[_0x1278('0x10')]({'model':_0x1278('0x3'),'view':(_0x3a7c11,{writer:_0x18f253,options:_0x4d4800})=>{if(_0x4d4800['showSuggestionHighlights'])return _0x18f253['createEmptyElement']('div');},'converterPriority':_0x1278('0xa')}),_0x5bf435[_0x1278('0x12')]['downcastDispatcher']['on'](_0x1278('0x2'),(_0x74239f,_0x21d60c,_0x465dc0)=>{_0x465dc0[_0x1278('0x11')][_0x1278('0x9')]&&_0x74239f[_0x1278('0x6')]();},{'priority':_0x1278('0xa')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20c2=['MentionEditing','has','plugins','TrackChangesEditing','get','enableCommand','editor'];(function(_0x36b73d,_0x20c274){const _0x2ef5a0=function(_0x477ab1){while(--_0x477ab1){_0x36b73d['push'](_0x36b73d['shift']());}};_0x2ef5a0(++_0x20c274);}(_0x20c2,0x14a));const _0x2ef5=function(_0x36b73d,_0x20c274){_0x36b73d=_0x36b73d-0x0;let _0x2ef5a0=_0x20c2[_0x36b73d];return _0x2ef5a0;};import{Plugin as _0x4212cd}from'ckeditor5/src/core';export default class ft extends _0x4212cd{['afterInit'](){const _0x410485=this[_0x2ef5('0x5')];_0x410485[_0x2ef5('0x1')][_0x2ef5('0x0')](_0x2ef5('0x6'))&&_0x410485[_0x2ef5('0x1')][_0x2ef5('0x3')](_0x2ef5('0x2'))[_0x2ef5('0x4')]('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c1a=['_descriptionFactory','plugins','registerElementLabel','get','ELEMENT_PAGE_BREAK','afterInit','PageBreakEditing','locale','has','pageBreak','editor','TrackChangesEditing'];(function(_0x177426,_0x1c1af3){const _0x324273=function(_0x203c3d){while(--_0x203c3d){_0x177426['push'](_0x177426['shift']());}};_0x324273(++_0x1c1af3);}(_0x1c1a,0xc6));const _0x3242=function(_0x177426,_0x1c1af3){_0x177426=_0x177426-0x0;let _0x324273=_0x1c1a[_0x177426];return _0x324273;};import{Plugin as _0x4a4d28}from'ckeditor5/src/core';import{getTranslation as _0x57b679}from'../utils/common-translations';export default class gt extends _0x4a4d28{[_0x3242('0xb')](){const _0x413b12=this[_0x3242('0x4')];if(!_0x413b12[_0x3242('0x7')][_0x3242('0x2')](_0x3242('0x0')))return;_0x413b12['plugins'][_0x3242('0x9')](_0x3242('0x5'))['enableCommand'](_0x3242('0x3'));const _0x412e74=_0x413b12[_0x3242('0x7')][_0x3242('0x9')](_0x3242('0x5')),_0x589004=_0x413b12[_0x3242('0x1')];_0x412e74[_0x3242('0x6')][_0x3242('0x8')](_0x3242('0x3'),_0xcbf43d=>_0x57b679(_0x589004,_0x3242('0xa'),_0xcbf43d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42f9=['format','model','getFirstRange','afterInit','ELEMENT_PARAGRAPH','schema','downcastDispatcher','start','markerName','TrackChangesEditing','writer','showSuggestionHighlights','activeMarkers','registerDescriptionCallback','locale','span','type','mapper','data','end','markerRange','isTouching','name','isBlock','get','isLimit','bindElementToMarker','highest','checkChild','paragraph','addMarker:suggestion:insertion','ck-suggestion-marker--active','commandName','consumable','registerElementLabel','insertion','has','nodeAfter','editor','formatBlock','_descriptionFactory','Paragraph','insert','getItemLabel','*Change\x20to:*\x20%0','*Insert:*\x20%0','plugins','options','toViewPosition','enableCommand'];(function(_0x242fc8,_0x42f9de){const _0x42535f=function(_0x1c271d){while(--_0x1c271d){_0x242fc8['push'](_0x242fc8['shift']());}};_0x42535f(++_0x42f9de);}(_0x42f9,0xfc));const _0x4253=function(_0x242fc8,_0x42f9de){_0x242fc8=_0x242fc8-0x0;let _0x42535f=_0x42f9[_0x242fc8];return _0x42535f;};import{Plugin as _0xa7e801}from'ckeditor5/src/core';import{getTranslation as _0x3f91a5}from'../utils/common-translations';export default class lt extends _0xa7e801{[_0x4253('0x1')](){const _0x401844=this[_0x4253('0x24')];if(!_0x401844['plugins'][_0x4253('0x22')](_0x4253('0x27')))return;const _0x17ab48=_0x401844[_0x4253('0xc')],_0x10c706=_0x401844['plugins']['get'](_0x4253('0x7'));_0x10c706[_0x4253('0x26')][_0x4253('0x20')]('paragraph',_0x511f2a=>_0x3f91a5(_0x17ab48,_0x4253('0x2'),_0x511f2a)),_0x10c706['_enableDefaultAttributesIntegration']('paragraph'),_0x10c706[_0x4253('0x2f')]('insertParagraph'),_0x401844['editing'][_0x4253('0x4')]['on'](_0x4253('0x1c'),nr(_0x401844),{'priority':'highest'}),_0x401844[_0x4253('0x10')][_0x4253('0x4')]['on']('addMarker:suggestion:insertion',(_0x58d6f9,_0x3afe11,_0x39d06c)=>{_0x39d06c[_0x4253('0x2d')][_0x4253('0x9')]&&nr(_0x401844,{'showActiveMarker':!0x1})(_0x58d6f9,_0x3afe11,_0x39d06c);},{'priority':_0x4253('0x19')});const _0x3a883b=_0x10c706[_0x4253('0x26')];_0x3a883b[_0x4253('0xb')](_0x368f4b=>{if(_0x4253('0x21')!==_0x368f4b[_0x4253('0xe')])return;const {start:_0x3bf375,end:_0x5e5ab7}=_0x368f4b[_0x4253('0x0')]();if(!_0x3bf375[_0x4253('0x13')](_0x5e5ab7)||!_0x3bf375[_0x4253('0x23')])return;const _0x35079b=_0x401844['model']['schema'],_0x24f074=_0x3bf375[_0x4253('0x23')];return _0x35079b[_0x4253('0x15')](_0x24f074)&&!_0x35079b['isLimit'](_0x24f074)&&_0x35079b[_0x4253('0x1a')](_0x24f074,'$text')?{'type':_0x4253('0x21'),'content':_0x3f91a5(_0x17ab48,_0x4253('0x2b'),_0x3a883b[_0x4253('0x29')](_0x24f074,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x595325=this[_0x4253('0x24')],_0x22ac13=_0x595325['locale'];_0x595325[_0x4253('0x2c')][_0x4253('0x16')](_0x4253('0x7'))[_0x4253('0x26')]['registerDescriptionCallback'](_0x223b8f=>{if(_0x4253('0x25')!=_0x223b8f[_0x4253('0xe')])return;const {data:_0x3dc8f1}=_0x223b8f;return _0x3dc8f1&&_0x4253('0x1b')==_0x3dc8f1[_0x4253('0x1e')]?{'type':_0x4253('0x30'),'content':_0x3f91a5(_0x22ac13,_0x4253('0x2a'),_0x3f91a5(_0x22ac13,_0x4253('0x2')))}:void 0x0;});}}function nr(_0x13c908,{showActiveMarker:_0x5c9498=!0x0}={}){return(_0x3ac4ac,_0x357950,_0x21b282)=>{const _0x2740b4=_0x13c908[_0x4253('0x2c')][_0x4253('0x16')]('TrackChangesEditing'),_0x4c860b=_0x357950['markerRange'][_0x4253('0x5')],_0x64444b=_0x357950[_0x4253('0x12')][_0x4253('0x11')],_0xb0ca6c=_0x13c908[_0x4253('0x31')][_0x4253('0x3')];if(!_0x4c860b[_0x4253('0x13')](_0x64444b)||!_0x4c860b[_0x4253('0x23')])return;const _0xd6cbe3=_0x4c860b[_0x4253('0x23')];if(_0xb0ca6c[_0x4253('0x15')](_0xd6cbe3)&&!_0xb0ca6c[_0x4253('0x17')](_0xd6cbe3)&&_0xb0ca6c[_0x4253('0x1a')](_0xd6cbe3,'$text')){if(!_0x21b282[_0x4253('0x1f')]['consume'](_0x357950[_0x4253('0x12')],_0x3ac4ac[_0x4253('0x14')]))return;const _0x5a88d0=_0x21b282[_0x4253('0x8')]['createUIElement'](_0x4253('0xd'),{'class':'ck-suggestion-marker-split'}),_0x55e998=_0x21b282[_0x4253('0xf')][_0x4253('0x2e')](_0x64444b);_0x5c9498&&_0x2740b4[_0x4253('0xa')]['includes'](_0x357950[_0x4253('0x6')])&&_0x21b282[_0x4253('0x8')]['addClass'](_0x4253('0x1d'),_0x5a88d0),_0x21b282[_0x4253('0x8')][_0x4253('0x28')](_0x55e998,_0x5a88d0),_0x21b282[_0x4253('0xf')][_0x4253('0x18')](_0x5a88d0,_0x357950[_0x4253('0x6')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2126=['has','afterInit','removeFormat','locale','get','_descriptionFactory','format','editor','formatBlock','_enableDefaultAttributesIntegration','RemoveFormatEditing','*Remove\x20all\x20formatting*','commandName','formatInline','TrackChangesEditing','registerDescriptionCallback','type','plugins','_registerLegacyDescription'];(function(_0x2221cc,_0x2126b5){const _0x223eae=function(_0x41989c){while(--_0x41989c){_0x2221cc['push'](_0x2221cc['shift']());}};_0x223eae(++_0x2126b5);}(_0x2126,0xf3));const _0x223e=function(_0x2221cc,_0x2126b5){_0x2221cc=_0x2221cc-0x0;let _0x223eae=_0x2126[_0x2221cc];return _0x223eae;};import{Plugin as _0x5f0488}from'ckeditor5/src/core';import{getTranslation as _0x390742}from'../utils/common-translations';export default class mt extends _0x5f0488{[_0x223e('0x5')](){const _0x5e92ae=this[_0x223e('0xb')];if(!_0x5e92ae['plugins'][_0x223e('0x4')](_0x223e('0xe')))return;_0x5e92ae[_0x223e('0x2')][_0x223e('0x8')](_0x223e('0x12'))[_0x223e('0xd')](_0x223e('0x6')),this[_0x223e('0x3')]();}['_registerLegacyDescription'](){const _0xe658fd=this[_0x223e('0xb')];_0xe658fd[_0x223e('0x2')]['get']('TrackChangesEditing')[_0x223e('0x9')][_0x223e('0x0')](_0x41fa33=>{if(_0x223e('0xc')!=_0x41fa33[_0x223e('0x1')]&&_0x223e('0x11')!=_0x41fa33[_0x223e('0x1')])return;const {data:_0x5a6b1d}=_0x41fa33;return _0x5a6b1d&&_0x223e('0x6')==_0x5a6b1d[_0x223e('0x10')]?{'type':_0x223e('0xa'),'content':_0x390742(_0xe658fd[_0x223e('0x7')],_0x223e('0xf'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ca4=['plugins','goToNextRestrictedEditingException','editor','get','RestrictedEditingModeEditing','acceptSuggestion','enableCommand','acceptAllSuggestions','has','afterInit','discardSuggestion','TrackChangesEditing','discardSelectedSuggestions','discardAllSuggestions'];(function(_0x13f3e5,_0x1ca46b){const _0x3b9626=function(_0x42cd4f){while(--_0x42cd4f){_0x13f3e5['push'](_0x13f3e5['shift']());}};_0x3b9626(++_0x1ca46b);}(_0x1ca4,0xb7));const _0x3b96=function(_0x13f3e5,_0x1ca46b){_0x13f3e5=_0x13f3e5-0x0;let _0x3b9626=_0x1ca4[_0x13f3e5];return _0x3b9626;};import{Plugin as _0x11b35c}from'ckeditor5/src/core';export default class dt extends _0x11b35c{[_0x3b96('0x8')](){const _0x2590c2=this[_0x3b96('0x1')];if(!_0x2590c2[_0x3b96('0xd')][_0x3b96('0x7')](_0x3b96('0x3')))return;const _0xc56f1e=_0x2590c2[_0x3b96('0xd')]['get'](_0x3b96('0xa'));_0xc56f1e[_0x3b96('0x5')]('goToPreviousRestrictedEditingException'),_0xc56f1e[_0x3b96('0x5')](_0x3b96('0x0'));const _0x5d1740=_0x2590c2['plugins'][_0x3b96('0x2')]('RestrictedEditingModeEditing');_0x5d1740[_0x3b96('0x5')]('trackChanges'),_0x5d1740[_0x3b96('0x5')](_0x3b96('0x4')),_0x5d1740[_0x3b96('0x5')](_0x3b96('0x9')),_0x5d1740[_0x3b96('0x5')](_0x3b96('0x6')),_0x5d1740[_0x3b96('0x5')](_0x3b96('0xc')),_0x5d1740[_0x3b96('0x5')]('acceptSelectedSuggestions'),_0x5d1740[_0x3b96('0x5')](_0x3b96('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5618=['addMarker:suggestion:deletion','bindElementToMarker','downcastDispatcher','_descriptionFactory','addClass','registerElementLabel','split','ck-suggestion-marker-','writer','element','consumable','name','markerName','insert','enableCommand','editing','data','locale','addMarker:suggestion:insertion','ck-suggestion-marker--active','high','showSuggestionHighlights','includes','plugins','toViewPosition','createPositionBefore','TrackChangesEditing','getItems','deletion','mapper','createUIElement','editor','shiftEnter','markerRange','requires','merge','span','get'];(function(_0x4b5d39,_0x561826){const _0x2dc82d=function(_0xbd2c07){while(--_0xbd2c07){_0x4b5d39['push'](_0x4b5d39['shift']());}};_0x2dc82d(++_0x561826);}(_0x5618,0x77));const _0x2dc8=function(_0x4b5d39,_0x561826){_0x4b5d39=_0x4b5d39-0x0;let _0x2dc82d=_0x5618[_0x4b5d39];return _0x2dc82d;};import{Plugin as _0x2e924a}from'ckeditor5/src/core';import{ShiftEnter as _0x4e8f51}from'ckeditor5/src/enter';import{getTranslation as _0x3169fd}from'../utils/common-translations';export default class pt extends _0x2e924a{static get[_0x2dc8('0x1d')](){return[_0x4e8f51];}['init'](){const _0x3dd82b=this[_0x2dc8('0x1a')],_0x454ab4=_0x3dd82b['plugins'][_0x2dc8('0x20')](_0x2dc8('0x15'));_0x454ab4[_0x2dc8('0x9')](_0x2dc8('0x1b')),_0x3dd82b[_0x2dc8('0xa')][_0x2dc8('0x23')]['on'](_0x2dc8('0xd'),re(_0x3dd82b),{'priority':_0x2dc8('0xf')}),_0x3dd82b[_0x2dc8('0xa')][_0x2dc8('0x23')]['on'](_0x2dc8('0x21'),re(_0x3dd82b),{'priority':_0x2dc8('0xf')}),_0x3dd82b[_0x2dc8('0xb')][_0x2dc8('0x23')]['on']('addMarker:suggestion',(_0x31e2e0,_0x546d3c,_0x4f8db8)=>{_0x4f8db8['options'][_0x2dc8('0x10')]&&re(_0x3dd82b,{'showActiveMarker':!0x1})(_0x31e2e0,_0x546d3c,_0x4f8db8);}),_0x454ab4[_0x2dc8('0x24')][_0x2dc8('0x0')]('softBreak',_0x5351cf=>_0x3169fd(_0x3dd82b[_0x2dc8('0xc')],'ELEMENT_LINE_BREAK',_0x5351cf));}}function re(_0x173774,{showActiveMarker:_0x3cd3dc=!0x0}={}){return(_0x3a9d6e,_0x1f721a,_0xc7585d)=>{const _0x24dc4f=_0x173774[_0x2dc8('0x12')][_0x2dc8('0x20')](_0x2dc8('0x15'));if(!_0xc7585d[_0x2dc8('0x5')]['test'](_0x1f721a[_0x2dc8('0x1c')],_0x3a9d6e[_0x2dc8('0x6')]))return;const _0x31b15d=_0x173774['model'];for(const _0x23ce73 of _0x1f721a[_0x2dc8('0x1c')][_0x2dc8('0x16')]()){if(!_0x23ce73['is'](_0x2dc8('0x4'),'softBreak'))continue;const _0x271570=_0x2dc8('0x17')==_0x1f721a['markerName'][_0x2dc8('0x1')](':')[0x1]?_0x2dc8('0x1e'):'split',_0x507d91=_0xc7585d['writer'][_0x2dc8('0x19')](_0x2dc8('0x1f'),{'class':_0x2dc8('0x2')+_0x271570}),_0x523c8c=_0xc7585d[_0x2dc8('0x18')][_0x2dc8('0x13')](_0x31b15d[_0x2dc8('0x14')](_0x23ce73));_0x3cd3dc&&_0x24dc4f['activeMarkers'][_0x2dc8('0x11')](_0x1f721a[_0x2dc8('0x7')])&&_0xc7585d[_0x2dc8('0x3')][_0x2dc8('0x25')](_0x2dc8('0xe'),_0x507d91),_0xc7585d[_0x2dc8('0x3')][_0x2dc8('0x8')](_0x523c8c,_0x507d91),_0xc7585d[_0x2dc8('0x18')][_0x2dc8('0x22')](_0x507d91,_0x1f721a[_0x2dc8('0x7')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3563=['FORMAT_RESTRICTED_ENABLED','restrictedEditingException','document','formatBlock','registerDescriptionCallback','StandardEditingModeEditing','locale','model','format','forceValue','get','type','_descriptionFactory','editor','TrackChangesEditing','selection','afterInit','from','FORMAT_RESTRICTED_DISABLED','plugins','markInlineFormat','isCollapsed'];(function(_0x2c1031,_0x35634e){const _0xd5f541=function(_0x1cea10){while(--_0x1cea10){_0x2c1031['push'](_0x2c1031['shift']());}};_0xd5f541(++_0x35634e);}(_0x3563,0x11d));const _0xd5f5=function(_0x2c1031,_0x35634e){_0x2c1031=_0x2c1031-0x0;let _0xd5f541=_0x3563[_0x2c1031];return _0xd5f541;};import{Plugin as _0xd4ef8b}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5a4a61}from'./utils';import{getTranslation as _0x30aef3}from'../utils/common-translations';export default class kt extends _0xd4ef8b{[_0xd5f5('0x11')](){const _0x56a816=this[_0xd5f5('0xe')],_0x5861b4=_0x56a816[_0xd5f5('0x8')],_0x3d7031=_0x56a816[_0xd5f5('0x7')];if(!_0x56a816['plugins']['has'](_0xd5f5('0x6')))return;const _0x1eb164=_0x56a816[_0xd5f5('0x14')][_0xd5f5('0xb')](_0xd5f5('0xf')),_0x1cd96e=_0xd5f5('0x2'),_0xca8310=_0x56a816['commands'][_0xd5f5('0xb')](_0x1cd96e);_0x1eb164['enableCommand'](_0x1cd96e,(_0x20ff59,_0x308f57={})=>{const _0x30e782=_0x5861b4[_0xd5f5('0x3')][_0xd5f5('0x10')];if(_0x30e782[_0xd5f5('0x0')])return void _0x20ff59(_0x308f57);const _0x5c2db0=void 0x0!==_0x308f57[_0xd5f5('0xa')]?_0x308f57[_0xd5f5('0xa')]:!_0xca8310['value'];_0x5861b4['change'](()=>{const _0x4c295b=Array[_0xd5f5('0x12')](_0x30e782['getRanges']());for(const _0x145318 of _0x4c295b){const _0x2c0347=_0x5c2db0?[_0x145318]:_0x5a4a61(_0x1cd96e,_0x145318,_0x5861b4);for(const _0x5cf242 of _0x2c0347)_0x1eb164[_0xd5f5('0x15')](_0x5cf242,{'commandName':_0x1cd96e,'commandParams':[{'forceValue':_0x5c2db0}]});}});}),_0x1eb164[_0xd5f5('0xd')][_0xd5f5('0x5')](_0x86fe5e=>{if(_0xd5f5('0x4')!=_0x86fe5e['type']&&'formatInline'!=_0x86fe5e[_0xd5f5('0xc')])return;const {data:_0x1fca70}=_0x86fe5e;return _0x1fca70&&_0x1fca70['commandName']==_0x1cd96e?_0x1fca70['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x30aef3(_0x3d7031,_0xd5f5('0x1'))}:{'type':_0xd5f5('0x9'),'content':_0x30aef3(_0x3d7031,_0xd5f5('0x13'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x449d=['_registerBlockAttribute','type','_descriptionFactory','formatInline','normalizeConfig','getGhsAttributeNameForElement','TrackChangesEditing','_enableDefaultAttributesIntegration','_registerLegacyDescription','DataSchema','FORMAT_STYLE','forceValue','block','add','formatBlock','styleName','registerDescriptionCallback','GeneralHtmlSupport','toLowerCase','ghsAttributes','registerAttributeLabel','plugins','locale','*Set\x20format:*\x20%0','style','get','has','element','format','definitions','commandName','StyleUtils','commandParams','inline'];(function(_0x48e051,_0x449d9b){const _0x5a930c=function(_0x300a82){while(--_0x300a82){_0x48e051['push'](_0x48e051['shift']());}};_0x5a930c(++_0x449d9b);}(_0x449d,0x196));const _0x5a93=function(_0x48e051,_0x449d9b){_0x48e051=_0x48e051-0x0;let _0x5a930c=_0x449d[_0x48e051];return _0x5a930c;};import{Plugin as _0x3b531a}from'ckeditor5/src/core';import{getTranslation as _0xc74177}from'../utils/common-translations';export default class bt extends _0x3b531a{['afterInit'](){const _0x125140=this['editor'];if(!_0x125140[_0x5a93('0x17')][_0x5a93('0x1c')]('Style')||!_0x125140[_0x5a93('0x17')][_0x5a93('0x1c')](_0x5a93('0xb')))return;const _0x9ef433=_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')](_0x5a93('0x8')),_0x563736=_0x125140[_0x5a93('0x18')],_0x49ae63=_0x125140['config'][_0x5a93('0x1b')](_0x5a93('0x1a')),_0x32ac3c=_0x125140[_0x5a93('0x17')]['get'](_0x5a93('0x13')),_0x5025ec=_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')](_0x5a93('0x21'))[_0x5a93('0x6')](_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')]('DataSchema'),_0x49ae63[_0x5a93('0x1f')]);_0x9ef433[_0x5a93('0x9')](_0x5a93('0x1a'));const _0x5ae308=new Set();for(const _0x20d59b of _0x5025ec[_0x5a93('0xe')]){const _0x2c8ab5=_0x32ac3c[_0x5a93('0x7')](_0x20d59b[_0x5a93('0x1d')]);_0x5ae308[_0x5a93('0xf')](_0x2c8ab5);}const _0x16443f=new Set();for(const _0x25d3fc of _0x5025ec[_0x5a93('0x1')]){const _0x216de2=_0x32ac3c[_0x5a93('0x7')](_0x25d3fc['element']);_0x16443f[_0x5a93('0xf')](_0x216de2);for(const _0x24b2e7 of _0x25d3fc[_0x5a93('0x15')])_0x16443f[_0x5a93('0xf')](_0x24b2e7);}for(const _0x44d9b5 of _0x5ae308)_0x9ef433[_0x5a93('0x2')](_0x44d9b5),_0x9ef433[_0x5a93('0x4')][_0x5a93('0x16')](_0x44d9b5,_0xc74177(_0x563736,_0x5a93('0xc')));for(const _0x5b8d7c of _0x16443f)_0x9ef433['_registerInlineAttribute'](_0x5b8d7c),_0x9ef433[_0x5a93('0x4')]['registerAttributeLabel'](_0x5b8d7c,_0xc74177(_0x563736,_0x5a93('0xc')));this[_0x5a93('0xa')]();}[_0x5a93('0xa')](){const _0x276816=this['editor'],_0x3fcef2=_0x276816[_0x5a93('0x18')];_0x276816[_0x5a93('0x17')][_0x5a93('0x1b')]('TrackChangesEditing')['_descriptionFactory'][_0x5a93('0x12')](_0x27b53f=>{if(_0x5a93('0x10')!=_0x27b53f[_0x5a93('0x3')]&&_0x5a93('0x5')!=_0x27b53f['type'])return;const {data:_0x4a80d4}=_0x27b53f;return _0x4a80d4&&_0x5a93('0x1a')===_0x4a80d4[_0x5a93('0x20')]?_0x4a80d4[_0x5a93('0x0')][0x0][_0x5a93('0xd')]?{'type':_0x5a93('0x1e'),'content':_0xc74177(_0x3fcef2,_0x5a93('0x19'),_0x4a80d4[_0x5a93('0x0')][0x0][_0x5a93('0x11')][_0x5a93('0x14')]())}:{'type':_0x5a93('0x1e'),'content':_0xc74177(_0x3fcef2,'*Remove\x20format:*\x20%0',_0x4a80d4['commandParams'][0x0]['styleName'][_0x5a93('0x14')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d43=['model','$graveyard','forceValue','suggestion','registerPostFixer','tableColumn','min','showSuggestionHighlights','insertTableRowBelow','ELEMENT_TABLE_COLUMN_WITH_TEXT','getColumnIndexes','detach','change:data','join','isTouching','get','data','editor','low','toViewElement','last','first','nodeAfter','item','maxRow','includes','removeTableRow','rootName','findAncestor','rowspan','isArray','addClass','push','substr','registerElementLabel','order','getChangedMarkers','isInContent','insertTableColumnLeft','insertTable','TableEditing','insertion','_suggestionFactory','start','commands','table','minRow','end','minColumn','batch','fromRange','tableRow','element','*Insert:*\x20%0','writer','isIntersectingWithRange','tableCell','options','differ','createRangeIn','registerCustomCallback','add','deletion','_splitMarkerName','hasAttribute','some','type','execute','insertTableRowAbove','_tableSuggestions','cell','enableCommand','getSelectionAffectedTableCells','filter','ELEMENT_TABLE_COLUMN','map','selection','selectTableRow','from','max','selectTableColumn','insert','_setupColumnsRowsFixing','span','getContainedElement','oldRange','accept','length','mapper','document','TableUtils','downcastDispatcher','_acceptFormatSuggestionCallbackFactory','colspan','ELEMENT_TABLE_ROW','addRange','plugins','startsWith','getSuggestion','locale','getAttribute','_getCoordsForCells','toLowerCase','getRanges','subType','removeTableColumn','refresh','getFirstRange','registerDescriptionCallback','$textProxy','highest','change','has','setSelection','afterInit','markMultiRangeInsertion','_descriptionFactory','enqueueChange','isEqual','createRangeOn','classes','values','*Remove:*\x20%0','left','MAX_SAFE_INTEGER','createTableWalker','name','TrackChangesEditing','getRowIndexes','getCellLocation','getItems','_getSuggestionCoords','maxColumn','above','markMultiRangeDeletion','position','root','MIN_SAFE_INTEGER'];(function(_0x4ed2a0,_0x4d435c){const _0x201122=function(_0x47b186){while(--_0x47b186){_0x4ed2a0['push'](_0x4ed2a0['shift']());}};_0x201122(++_0x4d435c);}(_0x4d43,0x1af));const _0x2011=function(_0x4ed2a0,_0x4d435c){_0x4ed2a0=_0x4ed2a0-0x0;let _0x201122=_0x4d43[_0x4ed2a0];return _0x201122;};import{Plugin as _0x41fd3e}from'ckeditor5/src/core';import{LiveRange as _0x34e9b0}from'ckeditor5/src/engine';import{setHighlightHandling as _0x42f190}from'ckeditor5/src/widget';import{getTranslation as _0x39ce34}from'../utils/common-translations';export default class wt extends _0x41fd3e{constructor(_0x120959){super(_0x120959),this['_tablePostFixingSubtypes']=[_0x2011('0x22'),_0x2011('0x7e')],this['_tableSuggestions']=new Set();}[_0x2011('0x61')](){const _0x33216e=this[_0x2011('0x0')],_0x3e05d5=_0x33216e[_0x2011('0x79')][_0x2011('0x48')][_0x2011('0x3b')];if(!_0x33216e[_0x2011('0x4f')][_0x2011('0x5f')](_0x2011('0x17')))return;const _0x25c7c1=_0x33216e[_0x2011('0x52')],_0x399402=_0x33216e[_0x2011('0x4f')]['get'](_0x2011('0x6e')),_0x2e7304=_0x33216e[_0x2011('0x4f')][_0x2011('0x88')]('TableUtils');_0x399402['_descriptionFactory'][_0x2011('0x11')](_0x2011('0x1c'),_0x5bb11a=>_0x39ce34(_0x25c7c1,'ELEMENT_TABLE',_0x5bb11a)),this[_0x2011('0x41')](),_0x399402[_0x2011('0x36')](_0x2011('0x16')),_0x399402['enableCommand'](_0x2011('0x3c')),_0x399402[_0x2011('0x36')](_0x2011('0x3f'));for(const _0x55d3f8 of[_0x2011('0x33'),_0x2011('0x81')]){const _0xee8471=_0x33216e[_0x2011('0x1b')]['get'](_0x55d3f8);_0x399402['enableCommand'](_0x55d3f8,_0x30d5ae=>{_0x33216e[_0x2011('0x79')][_0x2011('0x5e')](_0x118283=>{_0x30d5ae();const _0x9cbc9=_0x2011('0x74')===_0xee8471[_0x2011('0x12')],_0x2daa32=_0x2e7304[_0x2011('0x37')](_0x3e05d5),_0x25fe4f=_0x2e7304['getRowIndexes'](_0x2daa32),_0x3923ee=_0x9cbc9?_0x25fe4f[_0x2011('0x4')]-0x1:_0x25fe4f[_0x2011('0x3')]+0x1,_0x12d733=_0x2daa32[0x0]['findAncestor'](_0x2011('0x1c')),_0x415750=_0x2e7304['createTableWalker'](_0x12d733,{'startRow':_0x3923ee,'endRow':_0x3923ee}),_0x5cf504=Array[_0x2011('0x3d')](_0x415750)[_0x2011('0x3a')](_0x102f36=>_0x118283[_0x2011('0x66')](_0x102f36['cell']));_0x399402[_0x2011('0x62')](_0x5cf504,_0x2011('0x22'));});});}for(const _0x229080 of[_0x2011('0x15'),'insertTableColumnRight']){const _0x369fde=_0x33216e[_0x2011('0x1b')][_0x2011('0x88')](_0x229080);_0x399402['enableCommand'](_0x229080,_0x7896d8=>{_0x33216e['model'][_0x2011('0x5e')](_0x24ded7=>{_0x7896d8();const _0x320cd3=_0x2011('0x6a')===_0x369fde[_0x2011('0x12')],_0x4c12e8=_0x2e7304[_0x2011('0x37')](_0x3e05d5),_0xdcacea=_0x2e7304[_0x2011('0x83')](_0x4c12e8),_0x218840=_0x320cd3?_0xdcacea[_0x2011('0x4')]-0x1:_0xdcacea[_0x2011('0x3')]+0x1,_0x56be7b=_0x4c12e8[0x0][_0x2011('0xb')]('table'),_0x25da80=_0x2e7304[_0x2011('0x6c')](_0x56be7b,{'startRow':0x0,'column':_0x218840,'includeAllSlots':!0x1}),_0x554108=Array[_0x2011('0x3d')](_0x25da80)[_0x2011('0x3a')](_0x262e54=>_0x24ded7[_0x2011('0x66')](_0x262e54[_0x2011('0x35')]));_0x399402['markMultiRangeInsertion'](_0x554108,'tableColumn');});});}for(const _0x41243d of[_0x2011('0x9'),_0x2011('0x58')]){const _0x4a668f=_0x41243d[_0x2011('0x10')](0xb),_0x5d1155=_0x4a668f['toLowerCase'](),_0x53f60d=_0x5d1155[_0x2011('0x10')](0x0,0x3)+_0x2011('0x42'),_0xc30569=_0x2011('0x1c')+_0x4a668f,_0x397b80=_0x2011('0x7f')+_0x4a668f,_0x3d564d=_0x2011('0x3e')+_0x4a668f;_0x399402[_0x2011('0x36')](_0x41243d,()=>{_0x33216e[_0x2011('0x79')][_0x2011('0x5e')](_0x77a3a5=>{const _0x1060bb=_0x2e7304[_0x2011('0x37')](_0x3e05d5),_0x40c0c3=_0x1060bb[0x0][_0x2011('0xb')](_0x2011('0x1c'));let _0x14bf95;if(_0x2011('0x9')==_0x41243d){const _0x5c39b1=_0x2e7304[_0x2011('0x6f')](_0x1060bb);_0x14bf95={'startRow':_0x5c39b1[_0x2011('0x4')],'endRow':_0x5c39b1[_0x2011('0x3')],'includeAllSlots':!0x0};}else{const _0xa51e33=_0x2e7304['getColumnIndexes'](_0x1060bb);_0x14bf95={'startColumn':_0xa51e33[_0x2011('0x4')],'endColumn':_0xa51e33[_0x2011('0x3')],'includeAllSlots':!0x0};}const _0x49b28f=_0x2e7304['createTableWalker'](_0x40c0c3,_0x14bf95),_0x39ea1a=Array[_0x2011('0x3d')](_0x49b28f)[_0x2011('0x3a')](({cell:_0x57d83d})=>_0x57d83d),_0x1a2aa5=se(_0x39ea1a[_0x2011('0x38')](_0x3c37e4=>_0x3c37e4[_0x2011('0x2f')](_0x53f60d))),_0x302a35=se(_0x39ea1a[_0x2011('0x38')](_0x1baccd=>!_0x1baccd[_0x2011('0x2f')](_0x53f60d)))[_0x2011('0x3a')](_0x3b70d6=>_0x77a3a5[_0x2011('0x66')](_0x3b70d6)),_0x54291a=_0x399402[_0x2011('0x75')](_0x302a35,_0xc30569);if(_0x54291a&&('tableRow'==_0x54291a[_0x2011('0x57')]||_0x2011('0x7e')==_0x54291a[_0x2011('0x57')])){const _0x77804b=this[_0x2011('0x72')](_0x54291a);for(const _0x5f2933 of _0x1a2aa5){const _0x3f335e=_0x77a3a5[_0x2011('0x66')](_0x5f2933),_0x49d458=_0x2e7304[_0x2011('0x70')](_0x5f2933),_0x3ea983=_0x5f2933['getAttribute'](_0x53f60d)-0x1,_0x4135a9=_0x77804b[_0x397b80],_0x3f9dad=_0x77804b[_0x3d564d];_0x4135a9<=_0x49d458[_0x5d1155]&&_0x49d458[_0x5d1155]+_0x3ea983<=_0x3f9dad&&_0x54291a[_0x2011('0x4e')](_0x3f335e);}}});});}function _0x475845(_0x3caf59){const _0x28d0cf=Array['from'](_0x3e05d5['getRanges']())[_0x2011('0x3a')](_0xa1e1e=>_0x34e9b0[_0x2011('0x21')](_0xa1e1e));_0x33216e[_0x2011('0x79')][_0x2011('0x5e')](_0x5a8943=>{const _0x62a7cd=_0x5a8943[_0x2011('0x20')];_0x3caf59=_0x3caf59[_0x2011('0x38')](_0x59b5ea=>_0x2011('0x7a')!=_0x59b5ea[_0x2011('0x77')][_0x2011('0xa')]),_0x5a8943[_0x2011('0x60')](_0x3caf59),_0x33216e[_0x2011('0x1b')][_0x2011('0x88')](_0x2011('0x9'))[_0x2011('0x59')](),_0x33216e[_0x2011('0x32')](_0x2011('0x9'),{'forceDefaultExecution':!0x0}),_0x33216e[_0x2011('0x79')][_0x2011('0x64')](()=>{_0x33216e[_0x2011('0x79')]['enqueueChange'](_0x62a7cd,_0x431b06=>{const _0x2428eb=_0x28d0cf['filter'](_0x3483c0=>_0x2011('0x7a')!=_0x3483c0[_0x2011('0x77')][_0x2011('0xa')]);_0x2428eb[_0x2011('0x46')]>0x0&&_0x431b06[_0x2011('0x60')](_0x2428eb);for(const _0x4e0b00 of _0x28d0cf)_0x4e0b00[_0x2011('0x84')]();});});});}function _0x53084e(_0x395a0b){_0x33216e[_0x2011('0x79')][_0x2011('0x5e')](_0x5fddb8=>{const _0x40433a=Array[_0x2011('0x3d')](_0x3e05d5['getRanges']())[_0x2011('0x3a')](_0x1db16c=>_0x34e9b0['fromRange'](_0x1db16c)),_0x1e6b61=[];for(const _0x43f071 of _0x395a0b)for(const _0x303ecd of _0x43f071[_0x2011('0x71')]({'shallow':!0x0}))_0x1e6b61[_0x2011('0xf')](_0x303ecd);for(const _0x229d93 of _0x1e6b61)_0x2011('0x7a')!=_0x229d93[_0x2011('0x77')][_0x2011('0xa')]&&(_0x5fddb8[_0x2011('0x60')](_0x5fddb8['createPositionAt'](_0x229d93,0x0)),_0x33216e[_0x2011('0x1b')][_0x2011('0x88')](_0x2011('0x58'))[_0x2011('0x59')](),_0x33216e[_0x2011('0x32')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x40437d=_0x40433a[_0x2011('0x38')](_0x4d93e9=>_0x2011('0x7a')!=_0x4d93e9['root'][_0x2011('0xa')]);_0x40437d[_0x2011('0x46')]>0x0&&_0x5fddb8[_0x2011('0x60')](_0x40437d);for(const _0x27c386 of _0x40433a)_0x27c386['detach']();});}function _0x395373(_0x349778,_0x5abc38){return _0x5abc38['every'](_0x4e2600=>_0x349778[_0x2011('0x30')](_0x13d8c8=>_0x13d8c8[_0x2011('0x1e')]['isEqual'](_0x4e2600[_0x2011('0x1a')])||_0x4e2600[_0x2011('0x1e')][_0x2011('0x65')](_0x13d8c8[_0x2011('0x1a')])));}function _0x12187f(_0x33fd39,_0x151a8b){return _0x33fd39[_0x2011('0x30')](_0x12f6ef=>_0x151a8b[_0x2011('0x30')](_0x5b0c9a=>_0x12f6ef[_0x2011('0x1e')][_0x2011('0x87')](_0x5b0c9a[_0x2011('0x1a')])));}_0x33216e[_0x2011('0x89')][_0x2011('0x4a')]['on']('addMarker:suggestion',(_0x3b403c,_0x5552b2,_0x1c052e)=>{if(!_0x1c052e[_0x2011('0x28')][_0x2011('0x80')])return;const _0x3253b2=_0x5552b2[_0x2011('0x6')];if(!_0x3253b2)return;const _0x3fccde=_0x1c052e[_0x2011('0x47')][_0x2011('0x2')](_0x3253b2);function _0xc8ce7f(_0x4dba77){return Array[_0x2011('0xd')](_0x4dba77)?_0x4dba77:[_0x4dba77];}_0x3fccde&&_0x2011('0x27')===_0x3253b2[_0x2011('0x6d')]&&_0x42f190(_0x3fccde,_0x1c052e[_0x2011('0x25')],(_0x58d6f5,_0x35fa29,_0x4c574c)=>_0x4c574c[_0x2011('0xe')](_0xc8ce7f(_0x35fa29[_0x2011('0x67')]),_0x58d6f5),(_0x40c89e,_0x3b0076,_0x226e51)=>_0x226e51['removeClass'](_0xc8ce7f(_0x3b0076[_0x2011('0x67')]),_0x40c89e));},{'priority':_0x2011('0x5d')}),_0x399402[_0x2011('0x63')]['registerDescriptionCallback'](_0x232350=>{if(_0x2011('0x18')!=_0x232350[_0x2011('0x31')]&&'deletion'!=_0x232350['type'])return;const _0x49a448=_0x232350[_0x2011('0x43')]();if(null!=_0x49a448&&_0x49a448['is'](_0x2011('0x23'),_0x2011('0x1c'))){if(_0x2011('0x18')==_0x232350['type']){const _0x4e8829=_0x232350[_0x2011('0x71')]()['filter'](_0x3534e6=>_0x3534e6['is'](_0x2011('0x5c')))[_0x2011('0x3a')](_0xbe5ede=>_0xbe5ede[_0x2011('0x89')]);if(_0x4e8829[_0x2011('0x46')])return{'type':'insertion','content':_0x39ce34(_0x25c7c1,_0x2011('0x24'),_0x39ce34(_0x25c7c1,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4e8829[_0x2011('0x86')]('\x20')+'\x22'))};}if(_0x2011('0x2d')==_0x232350['type']){const _0x4c992e=_0x232350['getItems']()['filter'](_0x24a07a=>_0x24a07a['is'](_0x2011('0x5c')))['map'](_0x24b085=>_0x24b085['data']);if(_0x4c992e[_0x2011('0x46')])return{'type':_0x2011('0x2d'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x69'),_0x39ce34(_0x25c7c1,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4c992e[_0x2011('0x86')]('\x20')+'\x22'))};}}}),_0x399402[_0x2011('0x63')][_0x2011('0x5b')](_0x3c9b27=>{if(_0x2011('0x22')==_0x3c9b27[_0x2011('0x57')]){const _0x582de7=_0x3c9b27[_0x2011('0x71')]()['filter'](_0x14c569=>_0x14c569['is'](_0x2011('0x5c')))['map'](_0x2c667a=>_0x2c667a[_0x2011('0x89')]),_0x44f315=this[_0x2011('0x72')](_0x3c9b27),_0x15ec69=_0x44f315[_0x2011('0x7')]-_0x44f315[_0x2011('0x1d')]+0x1;if(_0x2011('0x18')==_0x3c9b27['type'])return _0x582de7['length']?{'type':_0x2011('0x18'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x24'),_0x39ce34(_0x25c7c1,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x15ec69,'\x22'+_0x582de7[_0x2011('0x86')]('\x20')+'\x22']))}:{'type':_0x2011('0x18'),'content':_0x39ce34(_0x25c7c1,'*Insert:*\x20%0',_0x39ce34(_0x25c7c1,_0x2011('0x4d'),_0x15ec69))};if('deletion'==_0x3c9b27[_0x2011('0x31')])return _0x582de7[_0x2011('0x46')]?{'type':_0x2011('0x2d'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x69'),_0x39ce34(_0x25c7c1,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x15ec69,'\x22'+_0x582de7[_0x2011('0x86')]('\x20')+'\x22']))}:{'type':_0x2011('0x2d'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x69'),_0x39ce34(_0x25c7c1,_0x2011('0x4d'),_0x15ec69))};}if(_0x2011('0x7e')==_0x3c9b27['subType']){const _0x5c9225=_0x3c9b27[_0x2011('0x71')]()[_0x2011('0x38')](_0x3abc5c=>_0x3abc5c['is'](_0x2011('0x5c')))[_0x2011('0x3a')](_0x2c0afa=>_0x2c0afa[_0x2011('0x89')]),_0x156f6f=this[_0x2011('0x72')](_0x3c9b27),_0x4dded0=_0x156f6f[_0x2011('0x73')]-_0x156f6f[_0x2011('0x1f')]+0x1;if(_0x2011('0x18')==_0x3c9b27['type'])return _0x5c9225[_0x2011('0x46')]?{'type':_0x2011('0x18'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x24'),_0x39ce34(_0x25c7c1,_0x2011('0x82'),[_0x4dded0,'\x22'+_0x5c9225['join']('\x20')+'\x22']))}:{'type':_0x2011('0x18'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x24'),_0x39ce34(_0x25c7c1,_0x2011('0x39'),_0x4dded0))};if(_0x2011('0x2d')==_0x3c9b27['type'])return _0x5c9225[_0x2011('0x46')]?{'type':_0x2011('0x2d'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x69'),_0x39ce34(_0x25c7c1,_0x2011('0x82'),[_0x4dded0,'\x22'+_0x5c9225[_0x2011('0x86')]('\x20')+'\x22']))}:{'type':_0x2011('0x2d'),'content':_0x39ce34(_0x25c7c1,_0x2011('0x69'),_0x39ce34(_0x25c7c1,_0x2011('0x39'),_0x4dded0))};}}),_0x399402[_0x2011('0x19')][_0x2011('0x2b')]('insertion',_0x2011('0x22'),'discard',_0x475845),_0x399402[_0x2011('0x19')][_0x2011('0x2b')](_0x2011('0x2d'),_0x2011('0x22'),_0x2011('0x45'),_0x475845),_0x399402[_0x2011('0x19')][_0x2011('0x2b')](_0x2011('0x18'),_0x2011('0x7e'),'discard',_0x53084e),_0x399402['_suggestionFactory'][_0x2011('0x2b')](_0x2011('0x2d'),_0x2011('0x7e'),_0x2011('0x45'),_0x53084e),_0x399402[_0x2011('0x19')][_0x2011('0x2b')](_0x2011('0x18'),_0x2011('0x7e'),_0x2011('0x86'),_0x395373),_0x399402[_0x2011('0x19')][_0x2011('0x2b')](_0x2011('0x2d'),_0x2011('0x7e'),_0x2011('0x86'),_0x395373),_0x399402[_0x2011('0x19')][_0x2011('0x2b')](_0x2011('0x18'),'tableRow',_0x2011('0x86'),_0x12187f),_0x399402[_0x2011('0x19')][_0x2011('0x2b')]('deletion',_0x2011('0x22'),_0x2011('0x86'),_0x12187f);}[_0x2011('0x4b')](){const _0x125565=this['editor'],_0x18346a=_0x125565['model']['document']['selection'];return(_0x198749,_0x3df47f)=>{_0x125565[_0x2011('0x79')][_0x2011('0x5e')](_0x2a5f94=>{const {commandName:_0x4959b4,commandParams:_0x38bd70}=_0x3df47f;let _0x405f2c=_0x198749[0x0][_0x2011('0x1e')]['nodeBefore'];_0x38bd70&&_0x38bd70[0x0]&&!0x1===_0x38bd70[0x0][_0x2011('0x7b')]&&(_0x405f2c=_0x198749[0x0]['start'][_0x2011('0x5')]);const _0x560177=_0x2a5f94[_0x2011('0x2a')](_0x405f2c);if(_0x2011('0x7a')==_0x560177[_0x2011('0x77')][_0x2011('0xa')])return;const _0x1a9439=Array[_0x2011('0x3d')](_0x18346a[_0x2011('0x56')]())[_0x2011('0x3a')](_0x521165=>_0x34e9b0[_0x2011('0x21')](_0x521165));_0x2a5f94[_0x2011('0x60')](_0x560177),_0x125565[_0x2011('0x1b')][_0x2011('0x88')](_0x4959b4)[_0x2011('0x59')](),_0x38bd70['push']({'forceDefaultExecution':!0x0}),_0x125565[_0x2011('0x32')](_0x4959b4,..._0x38bd70);const _0x131eff=_0x1a9439[_0x2011('0x38')](_0x1ae663=>_0x2011('0x7a')!=_0x1ae663[_0x2011('0x77')][_0x2011('0xa')]);_0x131eff[_0x2011('0x46')]>0x0&&_0x2a5f94['setSelection'](_0x131eff);for(const _0x51fdc1 of _0x1a9439)_0x51fdc1[_0x2011('0x84')]();});};}[_0x2011('0x54')](_0x4db794){const _0x3004b6=this[_0x2011('0x0')]['plugins'][_0x2011('0x88')](_0x2011('0x49'));let _0x58ece2=Number[_0x2011('0x6b')],_0xb891a=Number[_0x2011('0x78')],_0xa84266=Number['MAX_SAFE_INTEGER'],_0x3e7230=Number['MIN_SAFE_INTEGER'];for(const _0x4eb90f of _0x4db794){if(_0x2011('0x7a')==_0x4eb90f['root'][_0x2011('0xa')])continue;const {row:_0x4db5cf,column:_0x38acc8}=_0x3004b6[_0x2011('0x70')](_0x4eb90f),_0x189a23=_0x4eb90f[_0x2011('0x2f')](_0x2011('0xc'))?_0x4eb90f[_0x2011('0x53')](_0x2011('0xc'))-0x1:0x0,_0xc33b89=_0x4eb90f['hasAttribute'](_0x2011('0x4c'))?_0x4eb90f[_0x2011('0x53')]('colspan')-0x1:0x0;_0x58ece2=_0x4db5cf<_0x58ece2?_0x4db5cf:_0x58ece2,_0xb891a=_0x4db5cf+_0x189a23>_0xb891a?_0x4db5cf+_0x189a23:_0xb891a,_0xa84266=_0x38acc8<_0xa84266?_0x38acc8:_0xa84266,_0x3e7230=_0x38acc8+_0xc33b89>_0x3e7230?_0x38acc8+_0xc33b89:_0x3e7230;}return{'minRow':_0x58ece2,'maxRow':_0xb891a,'minColumn':_0xa84266,'maxColumn':_0x3e7230};}['_setupColumnsRowsFixing'](){const _0x51bc67=this[_0x2011('0x0')],_0x30384a=_0x51bc67['plugins'][_0x2011('0x88')](_0x2011('0x6e')),_0x1d768c=_0x51bc67[_0x2011('0x4f')][_0x2011('0x88')](_0x2011('0x49'));_0x51bc67[_0x2011('0x79')][_0x2011('0x48')]['on'](_0x2011('0x85'),()=>{const _0x40c4f3=Array[_0x2011('0x3d')](_0x51bc67[_0x2011('0x79')][_0x2011('0x48')]['differ'][_0x2011('0x13')]());for(const {name:_0x1254f7,data:_0x3cc402}of _0x40c4f3){const {group:_0x378490,id:_0x574024,subType:_0x5a0864}=_0x30384a[_0x2011('0x2e')](_0x1254f7);if(_0x2011('0x7c')!=_0x378490)continue;if(null!=_0x3cc402[_0x2011('0x44')])continue;const _0x2fd2af=_0x30384a[_0x2011('0x51')](_0x574024);this['_tablePostFixingSubtypes'][_0x2011('0x8')](_0x5a0864)&&this[_0x2011('0x34')][_0x2011('0x2c')](_0x2fd2af);}},{'priority':_0x2011('0x1')});const _0x32d9a3=(_0xdc7489,_0x15ccb0)=>{let _0x5e908d=!0x1;const _0x2dd019=_0x15ccb0[_0x2011('0x66')](_0xdc7489),_0xa68dd3=_0xdc7489[_0x2011('0xb')](_0x2011('0x1c')),_0x5d90fe=_0x1d768c[_0x2011('0x70')](_0xdc7489);for(const _0x392dd5 of this[_0x2011('0x34')]){const _0x3f23ed=_0x392dd5[_0x2011('0x57')],_0x348f2e=_0x3f23ed[_0x2011('0x50')]('tablePaste'),_0x4825c8=_0x3f23ed['substr'](_0x348f2e?0xa:0x5),_0x1a2aaf=_0x4825c8[_0x2011('0x55')](),_0x6fec06=_0x1a2aaf[_0x2011('0x10')](0x0,0x3)+_0x2011('0x42'),_0x1b0acd=_0x2011('0x7f')+_0x4825c8,_0x4cfa42='max'+_0x4825c8;if(!_0x392dd5[_0x2011('0x14')])continue;if(_0xa68dd3!=_0x392dd5[_0x2011('0x5a')]()[_0x2011('0x1a')][_0x2011('0xb')](_0x2011('0x1c')))continue;if(_0x392dd5[_0x2011('0x26')](_0x2dd019))continue;const _0x33f433=_0xdc7489[_0x2011('0x2f')](_0x6fec06)?_0xdc7489[_0x2011('0x53')](_0x6fec06)-0x1:0x0,_0x4e1af8=this[_0x2011('0x72')](_0x392dd5),_0x38312b=_0x4e1af8[_0x1b0acd],_0xaea2fc=_0x4e1af8[_0x4cfa42];_0x38312b<=_0x5d90fe[_0x1a2aaf]&&_0x5d90fe[_0x1a2aaf]+_0x33f433<=_0xaea2fc&&(_0x392dd5[_0x2011('0x4e')](_0x2dd019),_0x5e908d=!0x0);}return _0x5e908d;};_0x51bc67[_0x2011('0x79')]['document'][_0x2011('0x7d')](_0x8c3158=>{let _0x16d985=!0x1;for(const _0x211bca of _0x51bc67[_0x2011('0x79')]['document'][_0x2011('0x29')]['getChanges']())if(_0x2011('0x40')==_0x211bca['type']){if(_0x2011('0x22')==_0x211bca[_0x2011('0x6d')])for(const _0xcff5c5 of _0x211bca[_0x2011('0x76')]['nodeAfter']['getChildren']())_0x16d985=_0x16d985||_0x32d9a3(_0xcff5c5,_0x8c3158);else _0x2011('0x27')==_0x211bca['name']&&(_0x16d985=_0x16d985||_0x32d9a3(_0x211bca['position'][_0x2011('0x5')],_0x8c3158));}return _0x16d985;});}[_0x2011('0x72')](_0x20446b){return this[_0x2011('0x54')](_0x20446b[_0x2011('0x56')]()[_0x2011('0x3a')](_0x5687f5=>_0x5687f5[_0x2011('0x1a')][_0x2011('0x5')]));}}function se(_0x49d61a){return Array['from'](new Set(_0x49d61a)[_0x2011('0x68')]());}
|
|
23
|
+
const _0xfead=['_suggestionFactory','join','showSuggestionHighlights','rootName','$graveyard','maxRow','createPositionAt','accept','createTableWalker','ELEMENT_TABLE_ROW','$textProxy','push','item','_acceptFormatSuggestionCallbackFactory','MAX_SAFE_INTEGER','isIntersectingWithRange','differ','model','locale','TableEditing','getColumnIndexes','batch','tableRow','_descriptionFactory','substr','removeClass','max','forceValue','span','plugins','registerDescriptionCallback','_tablePostFixingSubtypes','createRangeOn','suggestion','above','registerPostFixer','minColumn','_getSuggestionCoords','getChangedMarkers','type','ELEMENT_TABLE_ROW_WITH_TEXT','end','ELEMENT_TABLE_COLUMN_WITH_TEXT','rowspan','MIN_SAFE_INTEGER','tableColumn','downcastDispatcher','change:data','execute','_getCoordsForCells','getItems','insertTableColumnRight','classes','getSuggestion','TableUtils','ELEMENT_TABLE_WITH_TEXT','change','registerCustomCallback','document','toViewElement','length','selectTableColumn','getSelectionAffectedTableCells','insert','start','*Remove:*\x20%0','oldRange','last','data','filter','order','from','enableCommand','removeTableColumn','name','mapper','isTouching','min','writer','getChanges','has','_tableSuggestions','setSelection','tableCell','TrackChangesEditing','some','isArray','detach','getAttribute','includes','editor','root','commands','selectTableRow','*Insert:*\x20%0','findAncestor','afterInit','table','map','values','removeTableRow','isEqual','discard','first','options','_setupColumnsRowsFixing','colspan','createRangeIn','subType','getRanges','nodeAfter','selection','addRange','position','deletion','get','addMarker:suggestion','cell','insertion','ELEMENT_TABLE_COLUMN','nodeBefore','getCellLocation','isInContent','markMultiRangeInsertion','insertTableRowAbove','refresh','add','toLowerCase','enqueueChange','getChildren','getFirstRange','hasAttribute','registerElementLabel','fromRange','maxColumn','minRow'];(function(_0x4e39d9,_0xfeadf0){const _0x59c7d0=function(_0x375a82){while(--_0x375a82){_0x4e39d9['push'](_0x4e39d9['shift']());}};_0x59c7d0(++_0xfeadf0);}(_0xfead,0x1ac));const _0x59c7=function(_0x4e39d9,_0xfeadf0){_0x4e39d9=_0x4e39d9-0x0;let _0x59c7d0=_0xfead[_0x4e39d9];return _0x59c7d0;};import{Plugin as _0x4654fb}from'ckeditor5/src/core';import{LiveRange as _0x1534f3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x191d1b}from'ckeditor5/src/widget';import{getTranslation as _0x526b70}from'../utils/common-translations';export default class wt extends _0x4654fb{constructor(_0x3b9c19){super(_0x3b9c19),this[_0x59c7('0xb')]=[_0x59c7('0x2'),_0x59c7('0x19')],this['_tableSuggestions']=new Set();}[_0x59c7('0x4c')](){const _0x446fb7=this[_0x59c7('0x46')],_0x100ad9=_0x446fb7[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x5b')];if(!_0x446fb7[_0x59c7('0x9')][_0x59c7('0x3c')](_0x59c7('0x87')))return;const _0x174b54=_0x446fb7[_0x59c7('0x86')],_0x1e7cc6=_0x446fb7[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x40')),_0x564a7a=_0x446fb7['plugins']['get']('TableUtils');_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0x70')](_0x59c7('0x4d'),_0x6f873e=>_0x526b70(_0x174b54,'ELEMENT_TABLE',_0x6f873e)),this[_0x59c7('0x55')](),_0x1e7cc6['enableCommand']('insertTable'),_0x1e7cc6[_0x59c7('0x34')](_0x59c7('0x49')),_0x1e7cc6[_0x59c7('0x34')](_0x59c7('0x29'));for(const _0x178e92 of[_0x59c7('0x68'),'insertTableRowBelow']){const _0x312bc9=_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x178e92);_0x1e7cc6[_0x59c7('0x34')](_0x178e92,_0x1403f2=>{_0x446fb7['model'][_0x59c7('0x24')](_0x4e28c0=>{_0x1403f2();const _0x4e90cb=_0x59c7('0xe')===_0x312bc9['order'],_0x391140=_0x564a7a[_0x59c7('0x2a')](_0x100ad9),_0x10407e=_0x564a7a['getRowIndexes'](_0x391140),_0x4fe817=_0x4e90cb?_0x10407e['first']-0x1:_0x10407e[_0x59c7('0x2f')]+0x1,_0x539023=_0x391140[0x0][_0x59c7('0x4b')](_0x59c7('0x4d')),_0x17cf28=_0x564a7a[_0x59c7('0x7c')](_0x539023,{'startRow':_0x4fe817,'endRow':_0x4fe817}),_0x303ae0=Array['from'](_0x17cf28)['map'](_0x48f019=>_0x4e28c0[_0x59c7('0xc')](_0x48f019[_0x59c7('0x61')]));_0x1e7cc6[_0x59c7('0x67')](_0x303ae0,_0x59c7('0x2'));});});}for(const _0x4a3f14 of['insertTableColumnLeft',_0x59c7('0x1f')]){const _0x37675f=_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x4a3f14);_0x1e7cc6['enableCommand'](_0x4a3f14,_0x33a576=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x24')](_0x35b4c4=>{_0x33a576();const _0xad6402='left'===_0x37675f[_0x59c7('0x32')],_0xc46c44=_0x564a7a['getSelectionAffectedTableCells'](_0x100ad9),_0x30fcd3=_0x564a7a[_0x59c7('0x0')](_0xc46c44),_0x2b44d9=_0xad6402?_0x30fcd3['first']-0x1:_0x30fcd3[_0x59c7('0x2f')]+0x1,_0x1d3af2=_0xc46c44[0x0][_0x59c7('0x4b')](_0x59c7('0x4d')),_0x51e2af=_0x564a7a[_0x59c7('0x7c')](_0x1d3af2,{'startRow':0x0,'column':_0x2b44d9,'includeAllSlots':!0x1}),_0x3c4398=Array[_0x59c7('0x33')](_0x51e2af)[_0x59c7('0x4e')](_0x289d4c=>_0x35b4c4['createRangeOn'](_0x289d4c[_0x59c7('0x61')]));_0x1e7cc6[_0x59c7('0x67')](_0x3c4398,_0x59c7('0x19'));});});}for(const _0x32f886 of[_0x59c7('0x50'),'removeTableColumn']){const _0x99e87f=_0x32f886['substr'](0xb),_0x1b2f0d=_0x99e87f[_0x59c7('0x6b')](),_0xfd7c5b=_0x1b2f0d[_0x59c7('0x4')](0x0,0x3)+_0x59c7('0x8'),_0x46f82d=_0x59c7('0x4d')+_0x99e87f,_0x9afee8=_0x59c7('0x39')+_0x99e87f,_0x15aa23=_0x59c7('0x6')+_0x99e87f;_0x1e7cc6[_0x59c7('0x34')](_0x32f886,()=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x24')](_0x5438c0=>{const _0x4151d7=_0x564a7a[_0x59c7('0x2a')](_0x100ad9),_0x554b3b=_0x4151d7[0x0][_0x59c7('0x4b')](_0x59c7('0x4d'));let _0x5cb2e6;if(_0x59c7('0x50')==_0x32f886){const _0x2c150b=_0x564a7a['getRowIndexes'](_0x4151d7);_0x5cb2e6={'startRow':_0x2c150b['first'],'endRow':_0x2c150b['last'],'includeAllSlots':!0x0};}else{const _0x35b426=_0x564a7a['getColumnIndexes'](_0x4151d7);_0x5cb2e6={'startColumn':_0x35b426[_0x59c7('0x53')],'endColumn':_0x35b426[_0x59c7('0x2f')],'includeAllSlots':!0x0};}const _0x1c51cd=_0x564a7a[_0x59c7('0x7c')](_0x554b3b,_0x5cb2e6),_0x1f2e2a=Array['from'](_0x1c51cd)[_0x59c7('0x4e')](({cell:_0x314853})=>_0x314853),_0x2f58e0=se(_0x1f2e2a[_0x59c7('0x31')](_0x34c0a8=>_0x34c0a8[_0x59c7('0x6f')](_0xfd7c5b))),_0x22e0bc=se(_0x1f2e2a[_0x59c7('0x31')](_0x31dee1=>!_0x31dee1[_0x59c7('0x6f')](_0xfd7c5b)))[_0x59c7('0x4e')](_0x347a5e=>_0x5438c0[_0x59c7('0xc')](_0x347a5e)),_0x1a070f=_0x1e7cc6['markMultiRangeDeletion'](_0x22e0bc,_0x46f82d);if(_0x1a070f&&(_0x59c7('0x2')==_0x1a070f[_0x59c7('0x58')]||'tableColumn'==_0x1a070f[_0x59c7('0x58')])){const _0x1f43a3=this[_0x59c7('0x11')](_0x1a070f);for(const _0x463852 of _0x2f58e0){const _0xe1178b=_0x5438c0[_0x59c7('0xc')](_0x463852),_0x2b9d1c=_0x564a7a[_0x59c7('0x65')](_0x463852),_0x2fd818=_0x463852['getAttribute'](_0xfd7c5b)-0x1,_0x1351cf=_0x1f43a3[_0x9afee8],_0x52ff1e=_0x1f43a3[_0x15aa23];_0x1351cf<=_0x2b9d1c[_0x1b2f0d]&&_0x2b9d1c[_0x1b2f0d]+_0x2fd818<=_0x52ff1e&&_0x1a070f[_0x59c7('0x5c')](_0xe1178b);}}});});}function _0x2661f0(_0x4f2cc6){const _0xdce391=Array[_0x59c7('0x33')](_0x100ad9[_0x59c7('0x59')]())[_0x59c7('0x4e')](_0x4418c2=>_0x1534f3[_0x59c7('0x71')](_0x4418c2));_0x446fb7[_0x59c7('0x85')]['change'](_0x3eb95b=>{const _0x1a6843=_0x3eb95b[_0x59c7('0x1')];_0x4f2cc6=_0x4f2cc6[_0x59c7('0x31')](_0x2dd5a2=>_0x59c7('0x78')!=_0x2dd5a2[_0x59c7('0x47')][_0x59c7('0x77')]),_0x3eb95b[_0x59c7('0x3e')](_0x4f2cc6),_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')]('removeTableRow')[_0x59c7('0x69')](),_0x446fb7[_0x59c7('0x1c')](_0x59c7('0x50'),{'forceDefaultExecution':!0x0}),_0x446fb7['model']['enqueueChange'](()=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x6c')](_0x1a6843,_0x363b03=>{const _0x5c04f0=_0xdce391['filter'](_0x2cdbdc=>_0x59c7('0x78')!=_0x2cdbdc['root'][_0x59c7('0x77')]);_0x5c04f0['length']>0x0&&_0x363b03['setSelection'](_0x5c04f0);for(const _0x4a1553 of _0xdce391)_0x4a1553[_0x59c7('0x43')]();});});});}function _0x43b253(_0x58ac6b){_0x446fb7['model'][_0x59c7('0x24')](_0x4f7499=>{const _0x1c76c4=Array[_0x59c7('0x33')](_0x100ad9[_0x59c7('0x59')]())[_0x59c7('0x4e')](_0x4c4f0a=>_0x1534f3['fromRange'](_0x4c4f0a)),_0x59c298=[];for(const _0x392caa of _0x58ac6b)for(const _0x7e4b7c of _0x392caa[_0x59c7('0x1e')]({'shallow':!0x0}))_0x59c298[_0x59c7('0x7f')](_0x7e4b7c);for(const _0x448957 of _0x59c298)_0x59c7('0x78')!=_0x448957[_0x59c7('0x47')][_0x59c7('0x77')]&&(_0x4f7499[_0x59c7('0x3e')](_0x4f7499[_0x59c7('0x7a')](_0x448957,0x0)),_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x59c7('0x35'))[_0x59c7('0x69')](),_0x446fb7[_0x59c7('0x1c')](_0x59c7('0x35'),{'forceDefaultExecution':!0x0}));const _0x3dfb83=_0x1c76c4[_0x59c7('0x31')](_0x285756=>_0x59c7('0x78')!=_0x285756[_0x59c7('0x47')]['rootName']);_0x3dfb83['length']>0x0&&_0x4f7499[_0x59c7('0x3e')](_0x3dfb83);for(const _0x3641ca of _0x1c76c4)_0x3641ca[_0x59c7('0x43')]();});}function _0x31e758(_0x1db092,_0x5866a9){return _0x5866a9['every'](_0x35d508=>_0x1db092[_0x59c7('0x41')](_0x13aa6d=>_0x13aa6d['end'][_0x59c7('0x51')](_0x35d508['start'])||_0x35d508[_0x59c7('0x15')][_0x59c7('0x51')](_0x13aa6d[_0x59c7('0x2c')])));}function _0x203660(_0x13ab3d,_0x284e67){return _0x13ab3d[_0x59c7('0x41')](_0x99fa85=>_0x284e67[_0x59c7('0x41')](_0x5e9752=>_0x99fa85[_0x59c7('0x15')][_0x59c7('0x38')](_0x5e9752['start'])));}_0x446fb7[_0x59c7('0x30')][_0x59c7('0x1a')]['on'](_0x59c7('0x60'),(_0x44fbdc,_0x38fa95,_0xe70d1f)=>{if(!_0xe70d1f[_0x59c7('0x54')][_0x59c7('0x76')])return;const _0x13cca7=_0x38fa95[_0x59c7('0x80')];if(!_0x13cca7)return;const _0x270363=_0xe70d1f[_0x59c7('0x37')][_0x59c7('0x27')](_0x13cca7);function _0x499473(_0x54cfee){return Array[_0x59c7('0x42')](_0x54cfee)?_0x54cfee:[_0x54cfee];}_0x270363&&_0x59c7('0x3f')===_0x13cca7[_0x59c7('0x36')]&&_0x191d1b(_0x270363,_0xe70d1f[_0x59c7('0x3a')],(_0x3aae77,_0x16b672,_0x2ffbab)=>_0x2ffbab['addClass'](_0x499473(_0x16b672[_0x59c7('0x20')]),_0x3aae77),(_0x157cdd,_0x52fac6,_0x7fcb39)=>_0x7fcb39[_0x59c7('0x5')](_0x499473(_0x52fac6[_0x59c7('0x20')]),_0x157cdd));},{'priority':'highest'}),_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0xa')](_0x55e123=>{if(_0x59c7('0x62')!=_0x55e123[_0x59c7('0x13')]&&_0x59c7('0x5e')!=_0x55e123[_0x59c7('0x13')])return;const _0x12c751=_0x55e123['getContainedElement']();if(null!=_0x12c751&&_0x12c751['is']('element',_0x59c7('0x4d'))){if(_0x59c7('0x62')==_0x55e123[_0x59c7('0x13')]){const _0x3d0725=_0x55e123['getItems']()[_0x59c7('0x31')](_0x402f68=>_0x402f68['is'](_0x59c7('0x7e')))[_0x59c7('0x4e')](_0x4cbc10=>_0x4cbc10[_0x59c7('0x30')]);if(_0x3d0725['length'])return{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x23'),'\x22'+_0x3d0725['join']('\x20')+'\x22'))};}if(_0x59c7('0x5e')==_0x55e123[_0x59c7('0x13')]){const _0x158a42=_0x55e123[_0x59c7('0x1e')]()['filter'](_0x1add12=>_0x1add12['is'](_0x59c7('0x7e')))['map'](_0x1d8292=>_0x1d8292[_0x59c7('0x30')]);if(_0x158a42['length'])return{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,_0x59c7('0x23'),'\x22'+_0x158a42[_0x59c7('0x75')]('\x20')+'\x22'))};}}}),_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0xa')](_0x2e074f=>{if('tableRow'==_0x2e074f['subType']){const _0x114e9f=_0x2e074f[_0x59c7('0x1e')]()[_0x59c7('0x31')](_0x5bd0f8=>_0x5bd0f8['is']('$textProxy'))[_0x59c7('0x4e')](_0x23507c=>_0x23507c[_0x59c7('0x30')]),_0x58b3dd=this[_0x59c7('0x11')](_0x2e074f),_0x528c26=_0x58b3dd[_0x59c7('0x79')]-_0x58b3dd[_0x59c7('0x73')]+0x1;if(_0x59c7('0x62')==_0x2e074f[_0x59c7('0x13')])return _0x114e9f[_0x59c7('0x28')]?{'type':'insertion','content':_0x526b70(_0x174b54,'*Insert:*\x20%0',_0x526b70(_0x174b54,_0x59c7('0x14'),[_0x528c26,'\x22'+_0x114e9f['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x7d'),_0x528c26))};if('deletion'==_0x2e074f[_0x59c7('0x13')])return _0x114e9f[_0x59c7('0x28')]?{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x528c26,'\x22'+_0x114e9f[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,_0x59c7('0x7d'),_0x528c26))};}if('tableColumn'==_0x2e074f[_0x59c7('0x58')]){const _0x1b5457=_0x2e074f['getItems']()[_0x59c7('0x31')](_0x335902=>_0x335902['is'](_0x59c7('0x7e')))[_0x59c7('0x4e')](_0x4ff835=>_0x4ff835['data']),_0x23da03=this[_0x59c7('0x11')](_0x2e074f),_0x140122=_0x23da03[_0x59c7('0x72')]-_0x23da03[_0x59c7('0x10')]+0x1;if(_0x59c7('0x62')==_0x2e074f[_0x59c7('0x13')])return _0x1b5457[_0x59c7('0x28')]?{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x16'),[_0x140122,'\x22'+_0x1b5457[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x63'),_0x140122))};if(_0x59c7('0x5e')==_0x2e074f[_0x59c7('0x13')])return _0x1b5457[_0x59c7('0x28')]?{'type':_0x59c7('0x5e'),'content':_0x526b70(_0x174b54,'*Remove:*\x20%0',_0x526b70(_0x174b54,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x140122,'\x22'+_0x1b5457[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':_0x59c7('0x5e'),'content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,'ELEMENT_TABLE_COLUMN',_0x140122))};}}),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x2'),_0x59c7('0x52'),_0x2661f0),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableRow','accept',_0x2661f0),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x19'),_0x59c7('0x52'),_0x43b253),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')]('deletion',_0x59c7('0x19'),_0x59c7('0x7b'),_0x43b253),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x19'),_0x59c7('0x75'),_0x31e758),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableColumn',_0x59c7('0x75'),_0x31e758),_0x1e7cc6['_suggestionFactory'][_0x59c7('0x25')](_0x59c7('0x62'),'tableRow',_0x59c7('0x75'),_0x203660),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableRow',_0x59c7('0x75'),_0x203660);}[_0x59c7('0x81')](){const _0x3ecc96=this[_0x59c7('0x46')],_0xf22af3=_0x3ecc96[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x5b')];return(_0x145ceb,_0x3ed7c6)=>{_0x3ecc96[_0x59c7('0x85')][_0x59c7('0x24')](_0x53dc39=>{const {commandName:_0x4217b4,commandParams:_0x159331}=_0x3ed7c6;let _0x1ab32f=_0x145ceb[0x0][_0x59c7('0x15')][_0x59c7('0x64')];_0x159331&&_0x159331[0x0]&&!0x1===_0x159331[0x0][_0x59c7('0x7')]&&(_0x1ab32f=_0x145ceb[0x0][_0x59c7('0x2c')][_0x59c7('0x5a')]);const _0x12a9ff=_0x53dc39[_0x59c7('0x57')](_0x1ab32f);if(_0x59c7('0x78')==_0x12a9ff[_0x59c7('0x47')][_0x59c7('0x77')])return;const _0x386bcb=Array[_0x59c7('0x33')](_0xf22af3['getRanges']())[_0x59c7('0x4e')](_0x5a11fe=>_0x1534f3['fromRange'](_0x5a11fe));_0x53dc39[_0x59c7('0x3e')](_0x12a9ff),_0x3ecc96[_0x59c7('0x48')][_0x59c7('0x5f')](_0x4217b4)[_0x59c7('0x69')](),_0x159331[_0x59c7('0x7f')]({'forceDefaultExecution':!0x0}),_0x3ecc96[_0x59c7('0x1c')](_0x4217b4,..._0x159331);const _0x4b9968=_0x386bcb[_0x59c7('0x31')](_0x4af98f=>'$graveyard'!=_0x4af98f[_0x59c7('0x47')][_0x59c7('0x77')]);_0x4b9968[_0x59c7('0x28')]>0x0&&_0x53dc39[_0x59c7('0x3e')](_0x4b9968);for(const _0x30a5eb of _0x386bcb)_0x30a5eb[_0x59c7('0x43')]();});};}[_0x59c7('0x1d')](_0x294990){const _0x173c30=this['editor'][_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x22'));let _0x5330c9=Number[_0x59c7('0x82')],_0x100fe7=Number[_0x59c7('0x18')],_0x435617=Number[_0x59c7('0x82')],_0x13c767=Number['MIN_SAFE_INTEGER'];for(const _0x3a5094 of _0x294990){if(_0x59c7('0x78')==_0x3a5094[_0x59c7('0x47')][_0x59c7('0x77')])continue;const {row:_0x75cad9,column:_0x4d09a0}=_0x173c30[_0x59c7('0x65')](_0x3a5094),_0x5df52c=_0x3a5094[_0x59c7('0x6f')](_0x59c7('0x17'))?_0x3a5094[_0x59c7('0x44')]('rowspan')-0x1:0x0,_0x50087e=_0x3a5094[_0x59c7('0x6f')](_0x59c7('0x56'))?_0x3a5094['getAttribute']('colspan')-0x1:0x0;_0x5330c9=_0x75cad9<_0x5330c9?_0x75cad9:_0x5330c9,_0x100fe7=_0x75cad9+_0x5df52c>_0x100fe7?_0x75cad9+_0x5df52c:_0x100fe7,_0x435617=_0x4d09a0<_0x435617?_0x4d09a0:_0x435617,_0x13c767=_0x4d09a0+_0x50087e>_0x13c767?_0x4d09a0+_0x50087e:_0x13c767;}return{'minRow':_0x5330c9,'maxRow':_0x100fe7,'minColumn':_0x435617,'maxColumn':_0x13c767};}[_0x59c7('0x55')](){const _0x24d459=this[_0x59c7('0x46')],_0x513f0e=_0x24d459[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x40')),_0xdfc28a=_0x24d459[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x22'));_0x24d459[_0x59c7('0x85')][_0x59c7('0x26')]['on'](_0x59c7('0x1b'),()=>{const _0x51350a=Array['from'](_0x24d459[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x84')][_0x59c7('0x12')]());for(const {name:_0x52acbc,data:_0x515f0d}of _0x51350a){const {group:_0x9f9940,id:_0x1c6a73,subType:_0x7525e2}=_0x513f0e['_splitMarkerName'](_0x52acbc);if(_0x59c7('0xd')!=_0x9f9940)continue;if(null!=_0x515f0d[_0x59c7('0x2e')])continue;const _0x1191c5=_0x513f0e[_0x59c7('0x21')](_0x1c6a73);this['_tablePostFixingSubtypes'][_0x59c7('0x45')](_0x7525e2)&&this[_0x59c7('0x3d')][_0x59c7('0x6a')](_0x1191c5);}},{'priority':'low'});const _0xef9653=(_0x457190,_0x3df0bc)=>{let _0x455c73=!0x1;const _0x10f876=_0x3df0bc[_0x59c7('0xc')](_0x457190),_0x2df15a=_0x457190[_0x59c7('0x4b')](_0x59c7('0x4d')),_0x5a90df=_0xdfc28a['getCellLocation'](_0x457190);for(const _0x1c69a9 of this[_0x59c7('0x3d')]){const _0x47f128=_0x1c69a9['subType'],_0x3977f4=_0x47f128['startsWith']('tablePaste'),_0x59f977=_0x47f128['substr'](_0x3977f4?0xa:0x5),_0x3b3f8b=_0x59f977[_0x59c7('0x6b')](),_0x3b9cd8=_0x3b3f8b['substr'](0x0,0x3)+_0x59c7('0x8'),_0x52b1b0=_0x59c7('0x39')+_0x59f977,_0x2433bb=_0x59c7('0x6')+_0x59f977;if(!_0x1c69a9[_0x59c7('0x66')])continue;if(_0x2df15a!=_0x1c69a9[_0x59c7('0x6e')]()['start']['findAncestor']('table'))continue;if(_0x1c69a9[_0x59c7('0x83')](_0x10f876))continue;const _0x2131a6=_0x457190[_0x59c7('0x6f')](_0x3b9cd8)?_0x457190[_0x59c7('0x44')](_0x3b9cd8)-0x1:0x0,_0x1ebe61=this[_0x59c7('0x11')](_0x1c69a9),_0x890d12=_0x1ebe61[_0x52b1b0],_0x5b7eb8=_0x1ebe61[_0x2433bb];_0x890d12<=_0x5a90df[_0x3b3f8b]&&_0x5a90df[_0x3b3f8b]+_0x2131a6<=_0x5b7eb8&&(_0x1c69a9[_0x59c7('0x5c')](_0x10f876),_0x455c73=!0x0);}return _0x455c73;};_0x24d459['model'][_0x59c7('0x26')][_0x59c7('0xf')](_0x56c1bc=>{let _0x24296e=!0x1;for(const _0x177504 of _0x24d459[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x84')][_0x59c7('0x3b')]())if(_0x59c7('0x2b')==_0x177504[_0x59c7('0x13')]){if(_0x59c7('0x2')==_0x177504[_0x59c7('0x36')])for(const _0xe1eee9 of _0x177504['position'][_0x59c7('0x5a')][_0x59c7('0x6d')]())_0x24296e=_0x24296e||_0xef9653(_0xe1eee9,_0x56c1bc);else _0x59c7('0x3f')==_0x177504[_0x59c7('0x36')]&&(_0x24296e=_0x24296e||_0xef9653(_0x177504[_0x59c7('0x5d')][_0x59c7('0x5a')],_0x56c1bc));}return _0x24296e;});}['_getSuggestionCoords'](_0x8128d8){return this['_getCoordsForCells'](_0x8128d8[_0x59c7('0x59')]()['map'](_0x3b3577=>_0x3b3577[_0x59c7('0x2c')][_0x59c7('0x5a')]));}}function se(_0xccec15){return Array[_0x59c7('0x33')](new Set(_0xccec15)[_0x59c7('0x4f')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b95=['plugins','TrackChangesEditing','toggleTableCaption','get','requires','enableCommand'];(function(_0x319a70,_0x4b95d0){const _0x39b402=function(_0x561266){while(--_0x561266){_0x319a70['push'](_0x319a70['shift']());}};_0x39b402(++_0x4b95d0);}(_0x4b95,0x134));const _0x39b4=function(_0x319a70,_0x4b95d0){_0x319a70=_0x319a70-0x0;let _0x39b402=_0x4b95[_0x319a70];return _0x39b402;};import{Plugin as _0x38ffcf}from'ckeditor5/src/core';import _0x278b21 from'./table';export default class Nt extends _0x38ffcf{static get[_0x39b4('0x2')](){return[_0x278b21];}['afterInit'](){const _0x3c97c0=this['editor'];if(!_0x3c97c0[_0x39b4('0x4')]['has']('TableCaptionEditing'))return;_0x3c97c0['plugins'][_0x39b4('0x1')](_0x39b4('0x5'))[_0x39b4('0x3')](_0x39b4('0x0'));}}
|