@ckeditor/ckeditor5-track-changes 41.1.0 → 41.2.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/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- 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/index.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/casechange.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/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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x98351d=_0x4ac9;(function(_0x2cd4e8,_0x588cef){const _0x3e7b89=_0x4ac9,_0x23e46d=_0x2cd4e8();while(!![]){try{const _0x14b816=parseInt(_0x3e7b89(0x114))/0x1+parseInt(_0x3e7b89(0x107))/0x2+parseInt(_0x3e7b89(0xfc))/0x3*(parseInt(_0x3e7b89(0x115))/0x4)+parseInt(_0x3e7b89(0x118))/0x5*(-parseInt(_0x3e7b89(0x124))/0x6)+-parseInt(_0x3e7b89(0xfd))/0x7+-parseInt(_0x3e7b89(0xf3))/0x8*(-parseInt(_0x3e7b89(0x113))/0x9)+parseInt(_0x3e7b89(0x10d))/0xa*(-parseInt(_0x3e7b89(0x111))/0xb);if(_0x14b816===_0x588cef)break;else _0x23e46d['push'](_0x23e46d['shift']());}catch(_0x43f4fd){_0x23e46d['push'](_0x23e46d['shift']());}}}(_0x4632,0x1d807));import{Plugin as _0xd59aff}from'ckeditor5/src/core.js';function _0x4ac9(_0x2a528b,_0x140a24){const _0x463251=_0x4632();return _0x4ac9=function(_0x4ac9d3,_0xea8e3f){_0x4ac9d3=_0x4ac9d3-0xf2;let _0x1e9b3e=_0x463251[_0x4ac9d3];return _0x1e9b3e;},_0x4ac9(_0x2a528b,_0x140a24);}import{ShiftEnter as _0x1604e9}from'ckeditor5/src/enter.js';import{getTranslation as _0x2a4ee9}from'../utils/common-translations.js';function _0x4632(){const _0x3dcf72=['span','data','name','171508yjUdlu','deletion','markerRange','shiftEnter','toViewPosition','ck-suggestion-marker-','270260ubvqrd','requires','locale','get','77vlDrJS','addClass','1102077cQbORU','98421OEtNMF','627596TCxcgi','enableCommand','model','10BrPEXG','options','test','includes','softBreak','ck-suggestion-marker--active','getItems','bindElementToMarker','consumable','insert','addMarker:suggestion','createPositionBefore','315912iRPLTu','element','high','ELEMENT_LINE_BREAK','writer','activeMarkers','showSuggestionHighlights','addMarker:suggestion:insertion','8qGyOLa','createUIElement','downcastDispatcher','editor','editing','TrackChangesEditing','init','mapper','plugins','3hcqDOD','337414LbRdfs','registerElementLabel','_descriptionFactory','split','addMarker:suggestion:deletion','merge','markerName'];_0x4632=function(){return _0x3dcf72;};return _0x4632();}export default class kt extends _0xd59aff{static get[_0x98351d(0x10e)](){return[_0x1604e9];}[_0x98351d(0xf9)](){const _0x277f09=_0x98351d,_0x5f0099=this[_0x277f09(0xf6)],_0x197856=_0x5f0099[_0x277f09(0xfb)][_0x277f09(0x110)](_0x277f09(0xf8));_0x197856[_0x277f09(0x116)](_0x277f09(0x10a)),_0x5f0099[_0x277f09(0xf7)][_0x277f09(0xf5)]['on'](_0x277f09(0xf2),re(_0x5f0099),{'priority':_0x277f09(0x126)}),_0x5f0099[_0x277f09(0xf7)][_0x277f09(0xf5)]['on'](_0x277f09(0x101),re(_0x5f0099),{'priority':_0x277f09(0x126)}),_0x5f0099[_0x277f09(0x105)][_0x277f09(0xf5)]['on'](_0x277f09(0x122),(_0x2c44b2,_0x1c4854,_0x25c529)=>{const _0x1826c8=_0x277f09;_0x25c529[_0x1826c8(0x119)][_0x1826c8(0x12a)]&&re(_0x5f0099,{'showActiveMarker':!0x1})(_0x2c44b2,_0x1c4854,_0x25c529);}),_0x197856[_0x277f09(0xff)][_0x277f09(0xfe)](_0x277f09(0x11c),_0x51955f=>_0x2a4ee9(_0x5f0099[_0x277f09(0x10f)],_0x277f09(0x127),_0x51955f));}}function re(_0x285da3,{showActiveMarker:_0x16942d=!0x0}={}){return(_0x4523e5,_0xeaa85,_0x5613ec)=>{const _0x355f63=_0x4ac9,_0x2b2a31=_0x285da3[_0x355f63(0xfb)][_0x355f63(0x110)](_0x355f63(0xf8));if(!_0x5613ec[_0x355f63(0x120)][_0x355f63(0x11a)](_0xeaa85[_0x355f63(0x109)],_0x4523e5[_0x355f63(0x106)]))return;const _0x139e53=_0x285da3[_0x355f63(0x117)];for(const _0x4a0bb9 of _0xeaa85[_0x355f63(0x109)][_0x355f63(0x11e)]()){if(!_0x4a0bb9['is'](_0x355f63(0x125),_0x355f63(0x11c)))continue;const _0x15c7f1=_0x355f63(0x108)==_0xeaa85[_0x355f63(0x103)][_0x355f63(0x100)](':')[0x1]?_0x355f63(0x102):_0x355f63(0x100),_0x49f377=_0x5613ec[_0x355f63(0x128)][_0x355f63(0xf4)](_0x355f63(0x104),{'class':_0x355f63(0x10c)+_0x15c7f1}),_0x2f725c=_0x5613ec[_0x355f63(0xfa)][_0x355f63(0x10b)](_0x139e53[_0x355f63(0x123)](_0x4a0bb9));_0x16942d&&_0x2b2a31[_0x355f63(0x129)][_0x355f63(0x11b)](_0xeaa85[_0x355f63(0x103)])&&_0x5613ec[_0x355f63(0x128)][_0x355f63(0x112)](_0x355f63(0x11d),_0x49f377),_0x5613ec[_0x355f63(0x128)][_0x355f63(0x121)](_0x2f725c,_0x49f377),_0x5613ec[_0x355f63(0xfa)][_0x355f63(0x11f)](_0x49f377,_0xeaa85[_0x355f63(0x103)]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x53ca(_0x221ad9,_0xb096f4){const _0x3c4882=_0x3c48();return _0x53ca=function(_0x53caff,_0x5cc3f9){_0x53caff=_0x53caff-0x14d;let _0x6d79dd=_0x3c4882[_0x53caff];return _0x6d79dd;},_0x53ca(_0x221ad9,_0xb096f4);}const _0x138219=_0x53ca;(function(_0x1139a9,_0x5dec05){const _0x28f2ef=_0x53ca,_0x20e09f=_0x1139a9();while(!![]){try{const _0xb940bb=parseInt(_0x28f2ef(0x16a))/0x1*(-parseInt(_0x28f2ef(0x162))/0x2)+parseInt(_0x28f2ef(0x15c))/0x3*(parseInt(_0x28f2ef(0x15d))/0x4)+-parseInt(_0x28f2ef(0x14f))/0x5*(parseInt(_0x28f2ef(0x169))/0x6)+-parseInt(_0x28f2ef(0x16f))/0x7*(parseInt(_0x28f2ef(0x163))/0x8)+-parseInt(_0x28f2ef(0x152))/0x9*(parseInt(_0x28f2ef(0x164))/0xa)+-parseInt(_0x28f2ef(0x151))/0xb+-parseInt(_0x28f2ef(0x15a))/0xc*(-parseInt(_0x28f2ef(0x157))/0xd);if(_0xb940bb===_0x5dec05)break;else _0x20e09f['push'](_0x20e09f['shift']());}catch(_0x44e275){_0x20e09f['push'](_0x20e09f['shift']());}}}(_0x3c48,0x83732));import{Plugin as _0x1b68b1}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x19d73d}from'./utils.js';function _0x3c48(){const _0x4f66cb=['_descriptionFactory','formatInline','TrackChangesEditing','commandParams','StandardEditingModeEditing','enableCommand','getRanges','get','330085ibEhkI','formatBlock','7857058QxnLfO','194958zFIwlz','plugins','editor','selection','locale','13FJdsbp','type','registerDescriptionCallback','27587220jdWMgo','value','29514wyelPE','40LBjkmv','afterInit','has','commandName','restrictedEditingException','18GECPFC','8WFgyrt','210gFLAiw','forceValue','from','FORMAT_RESTRICTED_ENABLED','change','18prpEZK','37905sdoMCG','format','FORMAT_RESTRICTED_DISABLED','model','document','1053647zBiTyh','isCollapsed','markInlineFormat','commands'];_0x3c48=function(){return _0x4f66cb;};return _0x3c48();}import{getTranslation as _0xe29661}from'../utils/common-translations.js';export default class bt extends _0x1b68b1{[_0x138219(0x15e)](){const _0x24b676=_0x138219,_0x143e4e=this[_0x24b676(0x154)],_0x199503=_0x143e4e[_0x24b676(0x16d)],_0x460f22=_0x143e4e[_0x24b676(0x156)];if(!_0x143e4e[_0x24b676(0x153)][_0x24b676(0x15f)](_0x24b676(0x177)))return;const _0x1c53a3=_0x143e4e[_0x24b676(0x153)][_0x24b676(0x14e)](_0x24b676(0x175)),_0x220529=_0x24b676(0x161),_0x1635c3=_0x143e4e[_0x24b676(0x172)][_0x24b676(0x14e)](_0x220529);_0x1c53a3[_0x24b676(0x178)](_0x220529,(_0x1aabe3,_0x291f37={})=>{const _0x3fda2a=_0x24b676,_0xe7584e=_0x199503[_0x3fda2a(0x16e)][_0x3fda2a(0x155)];if(_0xe7584e[_0x3fda2a(0x170)])return void _0x1aabe3(_0x291f37);const _0x1fd0aa=void 0x0!==_0x291f37[_0x3fda2a(0x165)]?_0x291f37[_0x3fda2a(0x165)]:!_0x1635c3[_0x3fda2a(0x15b)];_0x199503[_0x3fda2a(0x168)](()=>{const _0x2ad600=_0x3fda2a,_0x420439=Array[_0x2ad600(0x166)](_0xe7584e[_0x2ad600(0x14d)]());for(const _0x2b65c9 of _0x420439){const _0x8f9d5f=_0x1fd0aa?[_0x2b65c9]:_0x19d73d(_0x220529,_0x2b65c9,_0x199503);for(const _0x36be2b of _0x8f9d5f)_0x1c53a3[_0x2ad600(0x171)](_0x36be2b,{'commandName':_0x220529,'commandParams':[{'forceValue':_0x1fd0aa}]});}});}),_0x1c53a3[_0x24b676(0x173)][_0x24b676(0x159)](_0x23a360=>{const _0x5b8068=_0x24b676;if(_0x5b8068(0x150)!=_0x23a360[_0x5b8068(0x158)]&&_0x5b8068(0x174)!=_0x23a360[_0x5b8068(0x158)])return;const {data:_0x17ff81}=_0x23a360;return _0x17ff81&&_0x17ff81[_0x5b8068(0x160)]==_0x220529?_0x17ff81[_0x5b8068(0x176)][0x0][_0x5b8068(0x165)]?{'type':_0x5b8068(0x16b),'content':_0xe29661(_0x460f22,_0x5b8068(0x167))}:{'type':_0x5b8068(0x16b),'content':_0xe29661(_0x460f22,_0x5b8068(0x16c))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36ff56=_0x4dae;(function(_0x2a0ba6,_0x24dfd7){const _0x277341=_0x4dae,_0x1c2a35=_0x2a0ba6();while(!![]){try{const _0x1bb444=-parseInt(_0x277341(0x145))/0x1*(-parseInt(_0x277341(0x14e))/0x2)+-parseInt(_0x277341(0x154))/0x3+-parseInt(_0x277341(0x14f))/0x4+parseInt(_0x277341(0x12a))/0x5*(parseInt(_0x277341(0x14a))/0x6)+-parseInt(_0x277341(0x137))/0x7*(-parseInt(_0x277341(0x144))/0x8)+parseInt(_0x277341(0x12b))/0x9+parseInt(_0x277341(0x139))/0xa*(parseInt(_0x277341(0x13a))/0xb);if(_0x1bb444===_0x24dfd7)break;else _0x1c2a35['push'](_0x1c2a35['shift']());}catch(_0x54fe85){_0x1c2a35['push'](_0x1c2a35['shift']());}}}(_0x3a75,0x79343));function _0x3a75(){const _0x2342d1=['definitions','2203914kCMoFf','element','formatBlock','_enableDefaultAttributesIntegration','TrackChangesEditing','format','type','has','FORMAT_STYLE','13055sYRgAz','1002438EOUEOK','plugins','editor','_registerInlineAttribute','getGhsAttributeNameForElement','GeneralHtmlSupport','formatInline','afterInit','_registerBlockAttribute','commandParams','_descriptionFactory','_registerLegacyDescription','1166039TzXKsd','get','4790230KRiOhz','11TVpbrM','StyleUtils','*Remove\x20format:*\x20%0','styleName','add','inline','registerDescriptionCallback','Style','normalizeConfig','registerAttributeLabel','8dDNDNc','1zrDyah','ghsAttributes','config','forceValue','commandName','1254XItsXC','*Set\x20format:*\x20%0','block','DataSchema','1062158TCYsBD','2410684wFqOPv','locale','style','toLowerCase'];_0x3a75=function(){return _0x2342d1;};return _0x3a75();}function _0x4dae(_0x57dc96,_0xe18837){const _0x3a7546=_0x3a75();return _0x4dae=function(_0x4daef9,_0x398acd){_0x4daef9=_0x4daef9-0x12a;let _0x48b733=_0x3a7546[_0x4daef9];return _0x48b733;},_0x4dae(_0x57dc96,_0xe18837);}import{Plugin as _0x1c2b37}from'ckeditor5/src/core.js';import{getTranslation as _0x58fe7f}from'../utils/common-translations.js';export default class wt extends _0x1c2b37{[_0x36ff56(0x132)](){const _0x3a179e=_0x36ff56,_0x99a834=this[_0x3a179e(0x12d)];if(!_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x15b)](_0x3a179e(0x141))||!_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x15b)](_0x3a179e(0x14d)))return;const _0x218939=_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x138)](_0x3a179e(0x158)),_0x433e8e=_0x99a834[_0x3a179e(0x150)],_0x2b2607=_0x99a834[_0x3a179e(0x147)][_0x3a179e(0x138)](_0x3a179e(0x151))||{},_0x4e4044=_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x138)](_0x3a179e(0x130)),_0x4c52af=_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x138)](_0x3a179e(0x13b))[_0x3a179e(0x142)](_0x99a834[_0x3a179e(0x12c)][_0x3a179e(0x138)](_0x3a179e(0x14d)),_0x2b2607[_0x3a179e(0x153)]);_0x218939[_0x3a179e(0x157)](_0x3a179e(0x151));const _0x2c0063=new Set();for(const _0xd67178 of _0x4c52af[_0x3a179e(0x14c)]){const _0x5cc0cc=_0x4e4044[_0x3a179e(0x12f)](_0xd67178[_0x3a179e(0x155)]);_0x2c0063[_0x3a179e(0x13e)](_0x5cc0cc);}const _0x4ca892=new Set();for(const _0xac6305 of _0x4c52af[_0x3a179e(0x13f)]){const _0x50a63d=_0x4e4044[_0x3a179e(0x12f)](_0xac6305[_0x3a179e(0x155)]);_0x4ca892[_0x3a179e(0x13e)](_0x50a63d);for(const _0x3b9dcb of _0xac6305[_0x3a179e(0x146)])_0x4ca892[_0x3a179e(0x13e)](_0x3b9dcb);}for(const _0x2a43f8 of _0x2c0063)_0x218939[_0x3a179e(0x133)](_0x2a43f8),_0x218939[_0x3a179e(0x135)][_0x3a179e(0x143)](_0x2a43f8,_0x58fe7f(_0x433e8e,_0x3a179e(0x15c)));for(const _0x4d5464 of _0x4ca892)_0x218939[_0x3a179e(0x12e)](_0x4d5464),_0x218939[_0x3a179e(0x135)][_0x3a179e(0x143)](_0x4d5464,_0x58fe7f(_0x433e8e,_0x3a179e(0x15c)));this[_0x3a179e(0x136)]();}[_0x36ff56(0x136)](){const _0x1ee835=_0x36ff56,_0x3f8215=this[_0x1ee835(0x12d)],_0x25dbb6=_0x3f8215[_0x1ee835(0x150)];_0x3f8215[_0x1ee835(0x12c)][_0x1ee835(0x138)](_0x1ee835(0x158))[_0x1ee835(0x135)][_0x1ee835(0x140)](_0x529c78=>{const _0x563c6b=_0x1ee835;if(_0x563c6b(0x156)!=_0x529c78[_0x563c6b(0x15a)]&&_0x563c6b(0x131)!=_0x529c78[_0x563c6b(0x15a)])return;const {data:_0x5b3942}=_0x529c78;return _0x5b3942&&_0x563c6b(0x151)===_0x5b3942[_0x563c6b(0x149)]?_0x5b3942[_0x563c6b(0x134)][0x0][_0x563c6b(0x148)]?{'type':_0x563c6b(0x159),'content':_0x58fe7f(_0x25dbb6,_0x563c6b(0x14b),_0x5b3942[_0x563c6b(0x134)][0x0][_0x563c6b(0x13d)][_0x563c6b(0x152)]())}:{'type':_0x563c6b(0x159),'content':_0x58fe7f(_0x25dbb6,_0x563c6b(0x13c),_0x5b3942[_0x563c6b(0x134)][0x0][_0x563c6b(0x13d)][_0x563c6b(0x152)]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ab4=['insertTable','tablePaste','getColumnIndexes','ELEMENT_TABLE_ROW_WITH_TEXT','getCellLocation','getContainedElement','insertTableRowBelow','ELEMENT_TABLE_WITH_TEXT','first','detach','getRanges','createRangeOn','highest','registerPostFixer','getRowIndexes','start','getSelectionAffectedTableCells','getChangedMarkers','minColumn','insertion','commands','subType','end','substr','batch','from','isInContent','ELEMENT_TABLE_ROW','markMultiRangeDeletion','_getCoordsForCells','model','startsWith','differ','change','setSelection','document','nodeAfter','getChildren','change:data','isArray','min','has','MAX_SAFE_INTEGER','some','mapper','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','isTouching','maxColumn','getAttribute','_descriptionFactory','toViewElement','discard','length','root','max','plugins','isIntersectingWithRange','*Insert:*\x20%0','map','markMultiRangeInsertion','nodeBefore','downcastDispatcher','showSuggestionHighlights','registerElementLabel','$graveyard','registerDescriptionCallback','registerCustomCallback','tableColumn','position','toLowerCase','rootName','createRangeIn','data','afterInit','findAncestor','tableRow','removeClass','cell','last','TableUtils','push','type','removeTableColumn','fromRange','createTableWalker','tableCell','getFirstRange','*Remove:*\x20%0','every','hasAttribute','add','enqueueChange','TrackChangesEditing','MIN_SAFE_INTEGER','maxRow','_tablePostFixingSubtypes','TableEditing','insert','$textProxy','_getSuggestionCoords','selection','getItems','_tableSuggestions','ELEMENT_TABLE_COLUMN','order','get','values','_setupColumnsRowsFixing','editor','selectTableRow','_suggestionFactory','table','_acceptFormatSuggestionCallbackFactory','isEqual','filter','span','refresh','locale','colspan','deletion','getChanges','join','enableCommand','addRange','name','removeTableRow','item'];(function(_0x37a29d,_0x3ab4b4){const _0x25b32e=function(_0x5d08d1){while(--_0x5d08d1){_0x37a29d['push'](_0x37a29d['shift']());}};_0x25b32e(++_0x3ab4b4);}(_0x3ab4,0x14d));const _0x25b3=function(_0x37a29d,_0x3ab4b4){_0x37a29d=_0x37a29d-0x0;let _0x25b32e=_0x3ab4[_0x37a29d];return _0x25b32e;};import{Plugin as _0x335058}from'ckeditor5/src/core.js';import{LiveRange as _0x49881a}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x216adc}from'ckeditor5/src/widget.js';import{getTranslation as _0x5dbb23}from'../utils/common-translations.js';export default class yt extends _0x335058{constructor(_0x4a2f75){super(_0x4a2f75),this[_0x25b3('0x13')]=[_0x25b3('0x7f'),_0x25b3('0x77')],this[_0x25b3('0x1a')]=new Set();}[_0x25b3('0x7d')](){const _0xa02a8d=this['editor'],_0xbf0716=_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x18')];if(!_0xa02a8d[_0x25b3('0x6b')][_0x25b3('0x5c')](_0x25b3('0x14')))return;const _0x4e9677=_0xa02a8d[_0x25b3('0x29')],_0x4b7ba6=_0xa02a8d['plugins'][_0x25b3('0x1d')](_0x25b3('0x10')),_0x5d3300=_0xa02a8d[_0x25b3('0x6b')][_0x25b3('0x1d')](_0x25b3('0x3'));_0x4b7ba6[_0x25b3('0x65')][_0x25b3('0x73')](_0x25b3('0x23'),_0x27bd32=>_0x5dbb23(_0x4e9677,'ELEMENT_TABLE',_0x27bd32)),this[_0x25b3('0x1f')](),_0x4b7ba6[_0x25b3('0x2e')](_0x25b3('0x33')),_0x4b7ba6[_0x25b3('0x2e')](_0x25b3('0x21')),_0x4b7ba6[_0x25b3('0x2e')]('selectTableColumn');for(const _0x373f0e of['insertTableRowAbove',_0x25b3('0x39')]){const _0x57e147=_0xa02a8d['commands'][_0x25b3('0x1d')](_0x373f0e);_0x4b7ba6['enableCommand'](_0x373f0e,_0x424e97=>{_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x54')](_0x28b8e8=>{_0x424e97();const _0x5238c9='above'===_0x57e147['order'],_0x77c1b5=_0x5d3300['getSelectionAffectedTableCells'](_0xbf0716),_0xfc7334=_0x5d3300['getRowIndexes'](_0x77c1b5),_0x116c33=_0x5238c9?_0xfc7334['first']-0x1:_0xfc7334[_0x25b3('0x2')]+0x1,_0x1f3e6d=_0x77c1b5[0x0][_0x25b3('0x7e')](_0x25b3('0x23')),_0x5cb2cc=_0x5d3300[_0x25b3('0x8')](_0x1f3e6d,{'startRow':_0x116c33,'endRow':_0x116c33}),_0x3116f4=Array[_0x25b3('0x4c')](_0x5cb2cc)[_0x25b3('0x6e')](_0x9e419f=>_0x28b8e8['createRangeOn'](_0x9e419f[_0x25b3('0x1')]));_0x4b7ba6['markMultiRangeInsertion'](_0x3116f4,'tableRow');});});}for(const _0x44a0c4 of['insertTableColumnLeft','insertTableColumnRight']){const _0x47b57e=_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')](_0x44a0c4);_0x4b7ba6[_0x25b3('0x2e')](_0x44a0c4,_0x26eaef=>{_0xa02a8d['model'][_0x25b3('0x54')](_0x8e8d89=>{_0x26eaef();const _0x926e50='left'===_0x47b57e[_0x25b3('0x1c')],_0xc7cd66=_0x5d3300['getSelectionAffectedTableCells'](_0xbf0716),_0x32173e=_0x5d3300[_0x25b3('0x35')](_0xc7cd66),_0x47605f=_0x926e50?_0x32173e[_0x25b3('0x3b')]-0x1:_0x32173e[_0x25b3('0x2')]+0x1,_0x6fffe2=_0xc7cd66[0x0]['findAncestor'](_0x25b3('0x23')),_0x4f9df0=_0x5d3300[_0x25b3('0x8')](_0x6fffe2,{'startRow':0x0,'column':_0x47605f,'includeAllSlots':!0x1}),_0x40abd1=Array[_0x25b3('0x4c')](_0x4f9df0)['map'](_0x17ab4c=>_0x8e8d89[_0x25b3('0x3e')](_0x17ab4c[_0x25b3('0x1')]));_0x4b7ba6[_0x25b3('0x6f')](_0x40abd1,_0x25b3('0x77'));});});}for(const _0x52c6e4 of[_0x25b3('0x31'),_0x25b3('0x6')]){const _0x5b0288=_0x52c6e4[_0x25b3('0x4a')](0xb),_0x3bac38=_0x5b0288[_0x25b3('0x79')](),_0x53050f=_0x3bac38[_0x25b3('0x4a')](0x0,0x3)+_0x25b3('0x27'),_0x43bfdf=_0x25b3('0x23')+_0x5b0288,_0x220fd8=_0x25b3('0x5b')+_0x5b0288,_0x57771b=_0x25b3('0x6a')+_0x5b0288;_0x4b7ba6['enableCommand'](_0x52c6e4,()=>{_0xa02a8d['model'][_0x25b3('0x54')](_0x13619d=>{const _0xaae7bf=_0x5d3300[_0x25b3('0x43')](_0xbf0716),_0x2d0440=_0xaae7bf[0x0][_0x25b3('0x7e')](_0x25b3('0x23'));let _0x306404;if('removeTableRow'==_0x52c6e4){const _0x5c58c9=_0x5d3300[_0x25b3('0x41')](_0xaae7bf);_0x306404={'startRow':_0x5c58c9[_0x25b3('0x3b')],'endRow':_0x5c58c9[_0x25b3('0x2')],'includeAllSlots':!0x0};}else{const _0x5a9965=_0x5d3300[_0x25b3('0x35')](_0xaae7bf);_0x306404={'startColumn':_0x5a9965[_0x25b3('0x3b')],'endColumn':_0x5a9965[_0x25b3('0x2')],'includeAllSlots':!0x0};}const _0x3db5f2=_0x5d3300[_0x25b3('0x8')](_0x2d0440,_0x306404),_0x145c03=Array[_0x25b3('0x4c')](_0x3db5f2)['map'](({cell:_0x2cf4bb})=>_0x2cf4bb),_0x5e29cc=ue(_0x145c03[_0x25b3('0x26')](_0x55258d=>_0x55258d[_0x25b3('0xd')](_0x53050f))),_0xa2b1d4=ue(_0x145c03[_0x25b3('0x26')](_0x287f82=>!_0x287f82[_0x25b3('0xd')](_0x53050f)))[_0x25b3('0x6e')](_0x12d4f5=>_0x13619d[_0x25b3('0x3e')](_0x12d4f5)),_0x4cab01=_0x4b7ba6[_0x25b3('0x4f')](_0xa2b1d4,_0x43bfdf);if(_0x4cab01&&('tableRow'==_0x4cab01[_0x25b3('0x48')]||'tableColumn'==_0x4cab01[_0x25b3('0x48')])){const _0x48689d=this[_0x25b3('0x17')](_0x4cab01);for(const _0x5b63f1 of _0x5e29cc){const _0x1cd500=_0x13619d[_0x25b3('0x3e')](_0x5b63f1),_0x2bd11a=_0x5d3300[_0x25b3('0x37')](_0x5b63f1),_0x35f1a8=_0x5b63f1[_0x25b3('0x64')](_0x53050f)-0x1,_0x40a74b=_0x48689d[_0x220fd8],_0x5cc137=_0x48689d[_0x57771b];_0x40a74b<=_0x2bd11a[_0x3bac38]&&_0x2bd11a[_0x3bac38]+_0x35f1a8<=_0x5cc137&&_0x4cab01['addRange'](_0x1cd500);}}});});}function _0x393140(_0x19f673){const _0x6c9f72=Array[_0x25b3('0x4c')](_0xbf0716['getRanges']())['map'](_0xb91c54=>_0x49881a[_0x25b3('0x7')](_0xb91c54));_0xa02a8d['model']['change'](_0xfec373=>{const _0x30be37=_0xfec373[_0x25b3('0x4b')];_0x19f673=_0x19f673[_0x25b3('0x26')](_0x4d2f2b=>_0x25b3('0x74')!=_0x4d2f2b[_0x25b3('0x69')][_0x25b3('0x7a')]),_0xfec373['setSelection'](_0x19f673),_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')](_0x25b3('0x31'))[_0x25b3('0x28')](),_0xa02a8d[_0x25b3('0x61')](_0x25b3('0x31'),{'forceDefaultExecution':!0x0}),_0xa02a8d[_0x25b3('0x51')][_0x25b3('0xf')](()=>{_0xa02a8d['model']['enqueueChange'](_0x30be37,_0x216c7b=>{const _0xa5f5aa=_0x6c9f72[_0x25b3('0x26')](_0x4c370c=>_0x25b3('0x74')!=_0x4c370c[_0x25b3('0x69')][_0x25b3('0x7a')]);_0xa5f5aa['length']>0x0&&_0x216c7b[_0x25b3('0x55')](_0xa5f5aa);for(const _0xb79348 of _0x6c9f72)_0xb79348['detach']();});});});}function _0x41e3b9(_0x18fedb){_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x54')](_0x5bf7b1=>{const _0x57c61d=Array[_0x25b3('0x4c')](_0xbf0716[_0x25b3('0x3d')]())[_0x25b3('0x6e')](_0x4743f9=>_0x49881a[_0x25b3('0x7')](_0x4743f9)),_0x4bc67d=[];for(const _0x2607a9 of _0x18fedb)for(const _0x2ceab2 of _0x2607a9[_0x25b3('0x19')]({'shallow':!0x0}))_0x4bc67d['push'](_0x2ceab2);for(const _0x4072ca of _0x4bc67d)_0x25b3('0x74')!=_0x4072ca[_0x25b3('0x69')][_0x25b3('0x7a')]&&(_0x5bf7b1['setSelection'](_0x5bf7b1['createPositionAt'](_0x4072ca,0x0)),_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')]('removeTableColumn')['refresh'](),_0xa02a8d[_0x25b3('0x61')](_0x25b3('0x6'),{'forceDefaultExecution':!0x0}));const _0x3a18f6=_0x57c61d['filter'](_0x490c7e=>_0x25b3('0x74')!=_0x490c7e[_0x25b3('0x69')]['rootName']);_0x3a18f6[_0x25b3('0x68')]>0x0&&_0x5bf7b1[_0x25b3('0x55')](_0x3a18f6);for(const _0x4082f5 of _0x57c61d)_0x4082f5[_0x25b3('0x3c')]();});}function _0x35269a(_0x3d3346,_0x245777){return _0x245777[_0x25b3('0xc')](_0x26b574=>_0x3d3346[_0x25b3('0x5e')](_0x5ed421=>_0x5ed421[_0x25b3('0x49')][_0x25b3('0x25')](_0x26b574[_0x25b3('0x42')])||_0x26b574[_0x25b3('0x49')]['isEqual'](_0x5ed421[_0x25b3('0x42')])));}function _0x4ba559(_0x8a76b0,_0x1cefc3){return _0x8a76b0[_0x25b3('0x5e')](_0x58dea4=>_0x1cefc3[_0x25b3('0x5e')](_0x5c11ae=>_0x58dea4[_0x25b3('0x49')][_0x25b3('0x62')](_0x5c11ae['start'])));}_0xa02a8d[_0x25b3('0x7c')][_0x25b3('0x71')]['on']('addMarker:suggestion',(_0x3e1de7,_0x308182,_0x253614)=>{if(!_0x253614['options'][_0x25b3('0x72')])return;const _0x4069eb=_0x308182[_0x25b3('0x32')];if(!_0x4069eb)return;const _0x459afc=_0x253614[_0x25b3('0x5f')][_0x25b3('0x66')](_0x4069eb);function _0x3d27dd(_0x51c73e){return Array[_0x25b3('0x5a')](_0x51c73e)?_0x51c73e:[_0x51c73e];}_0x459afc&&_0x25b3('0x9')===_0x4069eb[_0x25b3('0x30')]&&_0x216adc(_0x459afc,_0x253614['writer'],(_0x162351,_0x253ef0,_0x1bf4f5)=>_0x1bf4f5['addClass'](_0x3d27dd(_0x253ef0['classes']),_0x162351),(_0x20147f,_0x2bd2de,_0x87a14c)=>_0x87a14c[_0x25b3('0x0')](_0x3d27dd(_0x2bd2de['classes']),_0x20147f));},{'priority':_0x25b3('0x3f')}),_0x4b7ba6['_descriptionFactory'][_0x25b3('0x75')](_0x2883f7=>{if('insertion'!=_0x2883f7[_0x25b3('0x5')]&&_0x25b3('0x2b')!=_0x2883f7[_0x25b3('0x5')])return;const _0x2f12e5=_0x2883f7[_0x25b3('0x38')]();if(null!=_0x2f12e5&&_0x2f12e5['is']('element',_0x25b3('0x23'))){if(_0x25b3('0x46')==_0x2883f7[_0x25b3('0x5')]){const _0x405826=_0x2883f7[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x108732=>_0x108732['is'](_0x25b3('0x16')))[_0x25b3('0x6e')](_0xd62d69=>_0xd62d69[_0x25b3('0x7c')]);if(_0x405826[_0x25b3('0x68')])return{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,'*Insert:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x3a'),'\x22'+_0x405826['join']('\x20')+'\x22'))};}if(_0x25b3('0x2b')==_0x2883f7[_0x25b3('0x5')]){const _0x59f923=_0x2883f7[_0x25b3('0x19')]()['filter'](_0x1dc71c=>_0x1dc71c['is'](_0x25b3('0x16')))['map'](_0x38f7ee=>_0x38f7ee['data']);if(_0x59f923[_0x25b3('0x68')])return{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,'*Remove:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x3a'),'\x22'+_0x59f923[_0x25b3('0x2d')]('\x20')+'\x22'))};}}}),_0x4b7ba6[_0x25b3('0x65')][_0x25b3('0x75')](_0x91b46e=>{if(_0x25b3('0x7f')==_0x91b46e[_0x25b3('0x48')]){const _0x292021=_0x91b46e[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x501822=>_0x501822['is'](_0x25b3('0x16')))['map'](_0x42083a=>_0x42083a[_0x25b3('0x7c')]),_0x1a7e97=this[_0x25b3('0x17')](_0x91b46e),_0xbea5c=_0x1a7e97[_0x25b3('0x12')]-_0x1a7e97['minRow']+0x1;if(_0x25b3('0x46')==_0x91b46e[_0x25b3('0x5')])return _0x292021[_0x25b3('0x68')]?{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x36'),[_0xbea5c,'\x22'+_0x292021['join']('\x20')+'\x22']))}:{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x4e'),_0xbea5c))};if(_0x25b3('0x2b')==_0x91b46e[_0x25b3('0x5')])return _0x292021[_0x25b3('0x68')]?{'type':'deletion','content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,_0x25b3('0x36'),[_0xbea5c,'\x22'+_0x292021[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,'ELEMENT_TABLE_ROW',_0xbea5c))};}if(_0x25b3('0x77')==_0x91b46e[_0x25b3('0x48')]){const _0x262df5=_0x91b46e[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x45ddc0=>_0x45ddc0['is'](_0x25b3('0x16')))[_0x25b3('0x6e')](_0xc1ef59=>_0xc1ef59[_0x25b3('0x7c')]),_0x598d3c=this[_0x25b3('0x17')](_0x91b46e),_0x264c31=_0x598d3c[_0x25b3('0x63')]-_0x598d3c[_0x25b3('0x45')]+0x1;if(_0x25b3('0x46')==_0x91b46e[_0x25b3('0x5')])return _0x262df5['length']?{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x60'),[_0x264c31,'\x22'+_0x262df5[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,'*Insert:*\x20%0',_0x5dbb23(_0x4e9677,'ELEMENT_TABLE_COLUMN',_0x264c31))};if('deletion'==_0x91b46e[_0x25b3('0x5')])return _0x262df5[_0x25b3('0x68')]?{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,_0x25b3('0x60'),[_0x264c31,'\x22'+_0x262df5[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x5dbb23(_0x4e9677,'*Remove:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x1b'),_0x264c31))};}}),_0x4b7ba6['_suggestionFactory'][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x7f'),_0x25b3('0x67'),_0x393140),_0x4b7ba6[_0x25b3('0x22')]['registerCustomCallback'](_0x25b3('0x2b'),_0x25b3('0x7f'),'accept',_0x393140),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x77'),_0x25b3('0x67'),_0x41e3b9),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),_0x25b3('0x77'),'accept',_0x41e3b9),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x77'),_0x25b3('0x2d'),_0x35269a),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),_0x25b3('0x77'),'join',_0x35269a),_0x4b7ba6['_suggestionFactory']['registerCustomCallback']('insertion',_0x25b3('0x7f'),_0x25b3('0x2d'),_0x4ba559),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),'tableRow','join',_0x4ba559);}[_0x25b3('0x24')](){const _0x547b6a=this[_0x25b3('0x20')],_0x1f03c5=_0x547b6a[_0x25b3('0x51')]['document'][_0x25b3('0x18')];return(_0x1276ac,_0x3bcf7b)=>{_0x547b6a['model'][_0x25b3('0x54')](_0x48924b=>{const {commandName:_0x41dd95,commandParams:_0x47695b}=_0x3bcf7b;let _0x12c1bc=_0x1276ac[0x0][_0x25b3('0x49')][_0x25b3('0x70')];_0x47695b&&_0x47695b[0x0]&&!0x1===_0x47695b[0x0]['forceValue']&&(_0x12c1bc=_0x1276ac[0x0][_0x25b3('0x42')][_0x25b3('0x57')]);const _0x11cc18=_0x48924b[_0x25b3('0x7b')](_0x12c1bc);if(_0x25b3('0x74')==_0x11cc18['root'][_0x25b3('0x7a')])return;const _0x47e715=Array[_0x25b3('0x4c')](_0x1f03c5[_0x25b3('0x3d')]())[_0x25b3('0x6e')](_0x3d738e=>_0x49881a[_0x25b3('0x7')](_0x3d738e));_0x48924b[_0x25b3('0x55')](_0x11cc18),_0x547b6a['commands'][_0x25b3('0x1d')](_0x41dd95)['refresh'](),_0x47695b[_0x25b3('0x4')]({'forceDefaultExecution':!0x0}),_0x547b6a[_0x25b3('0x61')](_0x41dd95,..._0x47695b);const _0x3fea6b=_0x47e715[_0x25b3('0x26')](_0x29bce9=>_0x25b3('0x74')!=_0x29bce9['root']['rootName']);_0x3fea6b['length']>0x0&&_0x48924b[_0x25b3('0x55')](_0x3fea6b);for(const _0x226887 of _0x47e715)_0x226887[_0x25b3('0x3c')]();});};}[_0x25b3('0x50')](_0x42b79e){const _0x28582b=this[_0x25b3('0x20')][_0x25b3('0x6b')]['get']('TableUtils');let _0x5d8a85=Number[_0x25b3('0x5d')],_0x32aa5a=Number[_0x25b3('0x11')],_0x4a770e=Number[_0x25b3('0x5d')],_0x39c0f5=Number[_0x25b3('0x11')];for(const _0x433051 of _0x42b79e){if(_0x25b3('0x74')==_0x433051[_0x25b3('0x69')][_0x25b3('0x7a')])continue;const {row:_0xfbb80d,column:_0x50a581}=_0x28582b[_0x25b3('0x37')](_0x433051),_0x1a6e65=_0x433051[_0x25b3('0xd')]('rowspan')?_0x433051[_0x25b3('0x64')]('rowspan')-0x1:0x0,_0x5ab63b=_0x433051[_0x25b3('0xd')](_0x25b3('0x2a'))?_0x433051['getAttribute']('colspan')-0x1:0x0;_0x5d8a85=_0xfbb80d<_0x5d8a85?_0xfbb80d:_0x5d8a85,_0x32aa5a=_0xfbb80d+_0x1a6e65>_0x32aa5a?_0xfbb80d+_0x1a6e65:_0x32aa5a,_0x4a770e=_0x50a581<_0x4a770e?_0x50a581:_0x4a770e,_0x39c0f5=_0x50a581+_0x5ab63b>_0x39c0f5?_0x50a581+_0x5ab63b:_0x39c0f5;}return{'minRow':_0x5d8a85,'maxRow':_0x32aa5a,'minColumn':_0x4a770e,'maxColumn':_0x39c0f5};}['_setupColumnsRowsFixing'](){const _0x3e5af4=this[_0x25b3('0x20')],_0x26387f=_0x3e5af4['plugins'][_0x25b3('0x1d')](_0x25b3('0x10')),_0x43592f=_0x3e5af4[_0x25b3('0x6b')]['get']('TableUtils');_0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')]['on'](_0x25b3('0x59'),()=>{const _0x362d42=Array[_0x25b3('0x4c')](_0x3e5af4['model'][_0x25b3('0x56')][_0x25b3('0x53')][_0x25b3('0x44')]());for(const {name:_0x41999a,data:_0x1ca091}of _0x362d42){const {group:_0x3495bf,id:_0x14bdc1,subType:_0x2f2882}=_0x26387f['_splitMarkerName'](_0x41999a);if('suggestion'!=_0x3495bf)continue;if(null!=_0x1ca091['oldRange'])continue;const _0x37909e=_0x26387f['getSuggestion'](_0x14bdc1);this['_tablePostFixingSubtypes']['includes'](_0x2f2882)&&this['_tableSuggestions'][_0x25b3('0xe')](_0x37909e);}},{'priority':'low'});const _0x146449=(_0x1b69a6,_0x28f17f)=>{let _0x27cf3c=!0x1;const _0x50059f=_0x28f17f[_0x25b3('0x3e')](_0x1b69a6),_0x635dc1=_0x1b69a6['findAncestor']('table'),_0x18c3f1=_0x43592f[_0x25b3('0x37')](_0x1b69a6);for(const _0x44f098 of this[_0x25b3('0x1a')]){const _0x232636=_0x44f098[_0x25b3('0x48')],_0x2e0ef0=_0x232636[_0x25b3('0x52')](_0x25b3('0x34')),_0x1c1e13=_0x232636[_0x25b3('0x4a')](_0x2e0ef0?0xa:0x5),_0x10e6b3=_0x1c1e13[_0x25b3('0x79')](),_0x444bc0=_0x10e6b3[_0x25b3('0x4a')](0x0,0x3)+_0x25b3('0x27'),_0x2a323a=_0x25b3('0x5b')+_0x1c1e13,_0x77510c=_0x25b3('0x6a')+_0x1c1e13;if(!_0x44f098[_0x25b3('0x4d')])continue;if(_0x635dc1!=_0x44f098[_0x25b3('0xa')]()[_0x25b3('0x42')][_0x25b3('0x7e')](_0x25b3('0x23')))continue;if(_0x44f098[_0x25b3('0x6c')](_0x50059f))continue;const _0x2af51d=_0x1b69a6[_0x25b3('0xd')](_0x444bc0)?_0x1b69a6[_0x25b3('0x64')](_0x444bc0)-0x1:0x0,_0xcebb3d=this[_0x25b3('0x17')](_0x44f098),_0x4c22c0=_0xcebb3d[_0x2a323a],_0x19e17b=_0xcebb3d[_0x77510c];_0x4c22c0<=_0x18c3f1[_0x10e6b3]&&_0x18c3f1[_0x10e6b3]+_0x2af51d<=_0x19e17b&&(_0x44f098[_0x25b3('0x2f')](_0x50059f),_0x27cf3c=!0x0);}return _0x27cf3c;};_0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x40')](_0x17ecc2=>{let _0x1c1a9c=!0x1;for(const _0x592218 of _0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x53')][_0x25b3('0x2c')]())if(_0x25b3('0x15')==_0x592218[_0x25b3('0x5')]){if(_0x25b3('0x7f')==_0x592218[_0x25b3('0x30')])for(const _0x43be68 of _0x592218['position'][_0x25b3('0x57')][_0x25b3('0x58')]())_0x1c1a9c=_0x1c1a9c||_0x146449(_0x43be68,_0x17ecc2);else _0x25b3('0x9')==_0x592218[_0x25b3('0x30')]&&(_0x1c1a9c=_0x1c1a9c||_0x146449(_0x592218[_0x25b3('0x78')][_0x25b3('0x57')],_0x17ecc2));}return _0x1c1a9c;});}[_0x25b3('0x17')](_0x3e75f1){return this['_getCoordsForCells'](_0x3e75f1[_0x25b3('0x3d')]()[_0x25b3('0x6e')](_0x5bafe5=>_0x5bafe5['start'][_0x25b3('0x57')]));}}function ue(_0x5ae967){return Array[_0x25b3('0x4c')](new Set(_0x5ae967)[_0x25b3('0x1e')]());}
|
|
23
|
+
function _0x3f6e(){const _0x3b9538=['from','toViewElement','nodeAfter','MIN_SAFE_INTEGER','isArray','_descriptionFactory','change','12261389LlZCmz','tableCell','highest','refresh','ELEMENT_TABLE_COLUMN','nodeBefore','execute','isEqual','type','above','getItems','insertTableColumnRight','downcastDispatcher','writer','getContainedElement','detach','tableRow','oldRange','every','getSelectionAffectedTableCells','fromRange','insertTableColumnLeft','commands','showSuggestionHighlights','_setupColumnsRowsFixing','registerPostFixer','tablePaste','hasAttribute','batch','minColumn','_acceptFormatSuggestionCallbackFactory','discard','createRangeIn','insertTable','insertion','filter','enableCommand','has','change:data','markMultiRangeDeletion','map','order','createTableWalker','classes','getSuggestion','item','left','afterInit','*Remove:*\x20%0','getRowIndexes','8DvYDSs','mapper','push','isIntersectingWithRange','locale','last','createPositionAt','ELEMENT_TABLE','tableColumn','_getSuggestionCoords','selectTableRow','24358444YoNkXA','addRange','table','$textProxy','model','registerElementLabel','getChildren','span','start','max','name','element','some','deletion','isInContent','minRow','registerCustomCallback','_tablePostFixingSubtypes','addMarker:suggestion','isTouching','toLowerCase','editor','selectTableColumn','ELEMENT_TABLE_ROW_WITH_TEXT','removeClass','position','suggestion','rootName','setSelection','min','_splitMarkerName','MAX_SAFE_INTEGER','colspan','removeTableRow','accept','first','data','11915704zEFQMg','11292NPZDqr','8254sMZgCj','ELEMENT_TABLE_ROW','TableUtils','*Insert:*\x20%0','low','plugins','includes','_getCoordsForCells','registerDescriptionCallback','subType','$graveyard','enqueueChange','_tableSuggestions','substr','getChangedMarkers','getColumnIndexes','6936580lruAHY','insert','10pbDaXd','ELEMENT_TABLE_COLUMN_WITH_TEXT','getChanges','createRangeOn','get','TrackChangesEditing','selection','getFirstRange','options','maxColumn','removeTableColumn','add','end','length','6uPotHD','TableEditing','join','root','_suggestionFactory','forceValue','16224588kaloCJ','insertTableRowBelow','startsWith','getAttribute','cell','document','getRanges','rowspan','values','getCellLocation','addClass','findAncestor','differ','maxRow','markMultiRangeInsertion','ELEMENT_TABLE_WITH_TEXT','insertTableRowAbove','609GQDAGT'];_0x3f6e=function(){return _0x3b9538;};return _0x3f6e();}const _0x40c624=_0x43ac;(function(_0x436bdf,_0x4165da){const _0x2a2b41=_0x43ac,_0x446662=_0x436bdf();while(!![]){try{const _0x2d5373=parseInt(_0x2a2b41(0xad))/0x1*(parseInt(_0x2a2b41(0x11e))/0x2)+-parseInt(_0x2a2b41(0xe4))/0x3*(parseInt(_0x2a2b41(0xac))/0x4)+-parseInt(_0x2a2b41(0xbd))/0x5+-parseInt(_0x2a2b41(0xcd))/0x6*(-parseInt(_0x2a2b41(0xec))/0x7)+parseInt(_0x2a2b41(0xab))/0x8+parseInt(_0x2a2b41(0xd3))/0x9+-parseInt(_0x2a2b41(0xbf))/0xa*(parseInt(_0x2a2b41(0x129))/0xb);if(_0x2d5373===_0x4165da)break;else _0x446662['push'](_0x446662['shift']());}catch(_0x363967){_0x446662['push'](_0x446662['shift']());}}}(_0x3f6e,0xdc3a1));import{Plugin as _0x3dd4cb}from'ckeditor5/src/core.js';import{LiveRange as _0x166ea3}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x263637}from'ckeditor5/src/widget.js';function _0x43ac(_0x3510ef,_0x333603){const _0x3f6ea0=_0x3f6e();return _0x43ac=function(_0x43ac23,_0x4d5a79){_0x43ac23=_0x43ac23-0x91;let _0x470a29=_0x3f6ea0[_0x43ac23];return _0x470a29;},_0x43ac(_0x3510ef,_0x333603);}import{getTranslation as _0x258cd3}from'../utils/common-translations.js';export default class yt extends _0x3dd4cb{constructor(_0x56090a){const _0x1d1448=_0x43ac;super(_0x56090a),this[_0x1d1448(0x97)]=[_0x1d1448(0xfc),_0x1d1448(0x126)],this[_0x1d1448(0xb9)]=new Set();}[_0x40c624(0x11b)](){const _0xd12f2a=_0x40c624,_0x4f2cb1=this[_0xd12f2a(0x9b)],_0x4b97fc=_0x4f2cb1[_0xd12f2a(0x12d)][_0xd12f2a(0xd8)][_0xd12f2a(0xc5)];if(!_0x4f2cb1[_0xd12f2a(0xb2)][_0xd12f2a(0x111)](_0xd12f2a(0xce)))return;const _0x8a3999=_0x4f2cb1[_0xd12f2a(0x122)],_0x2130bc=_0x4f2cb1[_0xd12f2a(0xb2)][_0xd12f2a(0xc3)](_0xd12f2a(0xc4)),_0x21587b=_0x4f2cb1[_0xd12f2a(0xb2)][_0xd12f2a(0xc3)](_0xd12f2a(0xaf));_0x2130bc[_0xd12f2a(0xea)][_0xd12f2a(0x12e)](_0xd12f2a(0x12b),_0x1cda7f=>_0x258cd3(_0x8a3999,_0xd12f2a(0x125),_0x1cda7f)),this[_0xd12f2a(0x104)](),_0x2130bc[_0xd12f2a(0x110)](_0xd12f2a(0x10d)),_0x2130bc[_0xd12f2a(0x110)](_0xd12f2a(0x128)),_0x2130bc[_0xd12f2a(0x110)](_0xd12f2a(0x9c));for(const _0x5d594b of[_0xd12f2a(0xe3),_0xd12f2a(0xd4)]){const _0x16616c=_0x4f2cb1[_0xd12f2a(0x102)][_0xd12f2a(0xc3)](_0x5d594b);_0x2130bc[_0xd12f2a(0x110)](_0x5d594b,_0x242374=>{const _0x278b22=_0xd12f2a;_0x4f2cb1[_0x278b22(0x12d)][_0x278b22(0xeb)](_0x459724=>{const _0x440d34=_0x278b22;_0x242374();const _0x590401=_0x440d34(0xf5)===_0x16616c[_0x440d34(0x115)],_0x36fc03=_0x21587b[_0x440d34(0xff)](_0x4b97fc),_0xa1bbdf=_0x21587b[_0x440d34(0x11d)](_0x36fc03),_0xfb6d19=_0x590401?_0xa1bbdf[_0x440d34(0xa9)]-0x1:_0xa1bbdf[_0x440d34(0x123)]+0x1,_0x44b6c1=_0x36fc03[0x0][_0x440d34(0xde)](_0x440d34(0x12b)),_0x2e9be4=_0x21587b[_0x440d34(0x116)](_0x44b6c1,{'startRow':_0xfb6d19,'endRow':_0xfb6d19}),_0x3f2b80=Array[_0x440d34(0xe5)](_0x2e9be4)[_0x440d34(0x114)](_0x2e883b=>_0x459724[_0x440d34(0xc2)](_0x2e883b[_0x440d34(0xd7)]));_0x2130bc[_0x440d34(0xe1)](_0x3f2b80,_0x440d34(0xfc));});});}for(const _0x40453d of[_0xd12f2a(0x101),_0xd12f2a(0xf7)]){const _0x3993cc=_0x4f2cb1[_0xd12f2a(0x102)][_0xd12f2a(0xc3)](_0x40453d);_0x2130bc[_0xd12f2a(0x110)](_0x40453d,_0xf7432b=>{const _0x4bee24=_0xd12f2a;_0x4f2cb1[_0x4bee24(0x12d)][_0x4bee24(0xeb)](_0x4ff1e8=>{const _0x445b82=_0x4bee24;_0xf7432b();const _0x5c79f4=_0x445b82(0x11a)===_0x3993cc[_0x445b82(0x115)],_0x47f90e=_0x21587b[_0x445b82(0xff)](_0x4b97fc),_0x5112de=_0x21587b[_0x445b82(0xbc)](_0x47f90e),_0x29e421=_0x5c79f4?_0x5112de[_0x445b82(0xa9)]-0x1:_0x5112de[_0x445b82(0x123)]+0x1,_0x3c5684=_0x47f90e[0x0][_0x445b82(0xde)](_0x445b82(0x12b)),_0x375f6e=_0x21587b[_0x445b82(0x116)](_0x3c5684,{'startRow':0x0,'column':_0x29e421,'includeAllSlots':!0x1}),_0x4a32a6=Array[_0x445b82(0xe5)](_0x375f6e)[_0x445b82(0x114)](_0x5696b1=>_0x4ff1e8[_0x445b82(0xc2)](_0x5696b1[_0x445b82(0xd7)]));_0x2130bc[_0x445b82(0xe1)](_0x4a32a6,_0x445b82(0x126));});});}for(const _0x35270e of[_0xd12f2a(0xa7),_0xd12f2a(0xc9)]){const _0x465f98=_0x35270e[_0xd12f2a(0xba)](0xb),_0x275c01=_0x465f98[_0xd12f2a(0x9a)](),_0x49641a=_0x275c01[_0xd12f2a(0xba)](0x0,0x3)+_0xd12f2a(0x130),_0x10480b=_0xd12f2a(0x12b)+_0x465f98,_0x92a05b=_0xd12f2a(0xa3)+_0x465f98,_0x342fba=_0xd12f2a(0x132)+_0x465f98;_0x2130bc[_0xd12f2a(0x110)](_0x35270e,()=>{const _0xa22887=_0xd12f2a;_0x4f2cb1[_0xa22887(0x12d)][_0xa22887(0xeb)](_0x128a76=>{const _0x43e4b8=_0xa22887,_0xcd5421=_0x21587b[_0x43e4b8(0xff)](_0x4b97fc),_0x41a90e=_0xcd5421[0x0][_0x43e4b8(0xde)](_0x43e4b8(0x12b));let _0x174949;if(_0x43e4b8(0xa7)==_0x35270e){const _0x7eebd=_0x21587b[_0x43e4b8(0x11d)](_0xcd5421);_0x174949={'startRow':_0x7eebd[_0x43e4b8(0xa9)],'endRow':_0x7eebd[_0x43e4b8(0x123)],'includeAllSlots':!0x0};}else{const _0x3d40bf=_0x21587b[_0x43e4b8(0xbc)](_0xcd5421);_0x174949={'startColumn':_0x3d40bf[_0x43e4b8(0xa9)],'endColumn':_0x3d40bf[_0x43e4b8(0x123)],'includeAllSlots':!0x0};}const _0x55e587=_0x21587b[_0x43e4b8(0x116)](_0x41a90e,_0x174949),_0x246502=Array[_0x43e4b8(0xe5)](_0x55e587)[_0x43e4b8(0x114)](({cell:_0x493f27})=>_0x493f27),_0x27216e=ue(_0x246502[_0x43e4b8(0x10f)](_0x2d791d=>_0x2d791d[_0x43e4b8(0x107)](_0x49641a))),_0x42c763=ue(_0x246502[_0x43e4b8(0x10f)](_0x1852e4=>!_0x1852e4[_0x43e4b8(0x107)](_0x49641a)))[_0x43e4b8(0x114)](_0x4ac0ad=>_0x128a76[_0x43e4b8(0xc2)](_0x4ac0ad)),_0x2caf69=_0x2130bc[_0x43e4b8(0x113)](_0x42c763,_0x10480b);if(_0x2caf69&&(_0x43e4b8(0xfc)==_0x2caf69[_0x43e4b8(0xb6)]||_0x43e4b8(0x126)==_0x2caf69[_0x43e4b8(0xb6)])){const _0x3dc01e=this[_0x43e4b8(0x127)](_0x2caf69);for(const _0x36c1f1 of _0x27216e){const _0x57f6d1=_0x128a76[_0x43e4b8(0xc2)](_0x36c1f1),_0x533fdc=_0x21587b[_0x43e4b8(0xdc)](_0x36c1f1),_0x19cfba=_0x36c1f1[_0x43e4b8(0xd6)](_0x49641a)-0x1,_0x40ecba=_0x3dc01e[_0x92a05b],_0x36dad7=_0x3dc01e[_0x342fba];_0x40ecba<=_0x533fdc[_0x275c01]&&_0x533fdc[_0x275c01]+_0x19cfba<=_0x36dad7&&_0x2caf69[_0x43e4b8(0x12a)](_0x57f6d1);}}});});}function _0x5e5dbb(_0x13476f){const _0x14c005=_0xd12f2a,_0x1f56b4=Array[_0x14c005(0xe5)](_0x4b97fc[_0x14c005(0xd9)]())[_0x14c005(0x114)](_0x317107=>_0x166ea3[_0x14c005(0x100)](_0x317107));_0x4f2cb1[_0x14c005(0x12d)][_0x14c005(0xeb)](_0x4dc081=>{const _0x8bb5ef=_0x14c005,_0x24d00f=_0x4dc081[_0x8bb5ef(0x108)];_0x13476f=_0x13476f[_0x8bb5ef(0x10f)](_0x529bc6=>_0x8bb5ef(0xb7)!=_0x529bc6[_0x8bb5ef(0xd0)][_0x8bb5ef(0xa1)]),_0x4dc081[_0x8bb5ef(0xa2)](_0x13476f),_0x4f2cb1[_0x8bb5ef(0x102)][_0x8bb5ef(0xc3)](_0x8bb5ef(0xa7))[_0x8bb5ef(0xef)](),_0x4f2cb1[_0x8bb5ef(0xf2)](_0x8bb5ef(0xa7),{'forceDefaultExecution':!0x0}),_0x4f2cb1[_0x8bb5ef(0x12d)][_0x8bb5ef(0xb8)](()=>{const _0xf6a1a9=_0x8bb5ef;_0x4f2cb1[_0xf6a1a9(0x12d)][_0xf6a1a9(0xb8)](_0x24d00f,_0x158ef6=>{const _0xb6dcd8=_0xf6a1a9,_0x42a5e1=_0x1f56b4[_0xb6dcd8(0x10f)](_0x364b58=>_0xb6dcd8(0xb7)!=_0x364b58[_0xb6dcd8(0xd0)][_0xb6dcd8(0xa1)]);_0x42a5e1[_0xb6dcd8(0xcc)]>0x0&&_0x158ef6[_0xb6dcd8(0xa2)](_0x42a5e1);for(const _0x4b1b93 of _0x1f56b4)_0x4b1b93[_0xb6dcd8(0xfb)]();});});});}function _0x26f7ce(_0x530d32){const _0x399059=_0xd12f2a;_0x4f2cb1[_0x399059(0x12d)][_0x399059(0xeb)](_0x2d61cc=>{const _0x3a03fc=_0x399059,_0x1a6d31=Array[_0x3a03fc(0xe5)](_0x4b97fc[_0x3a03fc(0xd9)]())[_0x3a03fc(0x114)](_0x5399f9=>_0x166ea3[_0x3a03fc(0x100)](_0x5399f9)),_0x4f9747=[];for(const _0x1fec82 of _0x530d32)for(const _0x5d86f8 of _0x1fec82[_0x3a03fc(0xf6)]({'shallow':!0x0}))_0x4f9747[_0x3a03fc(0x120)](_0x5d86f8);for(const _0x49bb19 of _0x4f9747)_0x3a03fc(0xb7)!=_0x49bb19[_0x3a03fc(0xd0)][_0x3a03fc(0xa1)]&&(_0x2d61cc[_0x3a03fc(0xa2)](_0x2d61cc[_0x3a03fc(0x124)](_0x49bb19,0x0)),_0x4f2cb1[_0x3a03fc(0x102)][_0x3a03fc(0xc3)](_0x3a03fc(0xc9))[_0x3a03fc(0xef)](),_0x4f2cb1[_0x3a03fc(0xf2)](_0x3a03fc(0xc9),{'forceDefaultExecution':!0x0}));const _0x585009=_0x1a6d31[_0x3a03fc(0x10f)](_0xdfb8af=>_0x3a03fc(0xb7)!=_0xdfb8af[_0x3a03fc(0xd0)][_0x3a03fc(0xa1)]);_0x585009[_0x3a03fc(0xcc)]>0x0&&_0x2d61cc[_0x3a03fc(0xa2)](_0x585009);for(const _0x4f9f88 of _0x1a6d31)_0x4f9f88[_0x3a03fc(0xfb)]();});}function _0x420daa(_0x4a5744,_0x4e36f8){const _0x13ea6e=_0xd12f2a;return _0x4e36f8[_0x13ea6e(0xfe)](_0x51a569=>_0x4a5744[_0x13ea6e(0x92)](_0x6438fe=>_0x6438fe[_0x13ea6e(0xcb)][_0x13ea6e(0xf3)](_0x51a569[_0x13ea6e(0x131)])||_0x51a569[_0x13ea6e(0xcb)][_0x13ea6e(0xf3)](_0x6438fe[_0x13ea6e(0x131)])));}function _0x13ca4c(_0x1b3978,_0x24b965){const _0x2d72bd=_0xd12f2a;return _0x1b3978[_0x2d72bd(0x92)](_0x1db529=>_0x24b965[_0x2d72bd(0x92)](_0x2c68f4=>_0x1db529[_0x2d72bd(0xcb)][_0x2d72bd(0x99)](_0x2c68f4[_0x2d72bd(0x131)])));}_0x4f2cb1[_0xd12f2a(0xaa)][_0xd12f2a(0xf8)]['on'](_0xd12f2a(0x98),(_0x49a743,_0xa78d55,_0x3419d8)=>{const _0x32ba17=_0xd12f2a;if(!_0x3419d8[_0x32ba17(0xc7)][_0x32ba17(0x103)])return;const _0x2dd112=_0xa78d55[_0x32ba17(0x119)];if(!_0x2dd112)return;const _0x257ab5=_0x3419d8[_0x32ba17(0x11f)][_0x32ba17(0xe6)](_0x2dd112);function _0x4ea44d(_0x6c1284){const _0x1d33f9=_0x32ba17;return Array[_0x1d33f9(0xe9)](_0x6c1284)?_0x6c1284:[_0x6c1284];}_0x257ab5&&_0x32ba17(0xed)===_0x2dd112[_0x32ba17(0x133)]&&_0x263637(_0x257ab5,_0x3419d8[_0x32ba17(0xf9)],(_0x4c50f9,_0x3afa37,_0x41c4cc)=>_0x41c4cc[_0x32ba17(0xdd)](_0x4ea44d(_0x3afa37[_0x32ba17(0x117)]),_0x4c50f9),(_0x262539,_0x105d15,_0x5a6c59)=>_0x5a6c59[_0x32ba17(0x9e)](_0x4ea44d(_0x105d15[_0x32ba17(0x117)]),_0x262539));},{'priority':_0xd12f2a(0xee)}),_0x2130bc[_0xd12f2a(0xea)][_0xd12f2a(0xb5)](_0x206803=>{const _0x5cb0e2=_0xd12f2a;if(_0x5cb0e2(0x10e)!=_0x206803[_0x5cb0e2(0xf4)]&&_0x5cb0e2(0x93)!=_0x206803[_0x5cb0e2(0xf4)])return;const _0x1affc4=_0x206803[_0x5cb0e2(0xfa)]();if(null!=_0x1affc4&&_0x1affc4['is'](_0x5cb0e2(0x91),_0x5cb0e2(0x12b))){if(_0x5cb0e2(0x10e)==_0x206803[_0x5cb0e2(0xf4)]){const _0x1f21d5=_0x206803[_0x5cb0e2(0xf6)]()[_0x5cb0e2(0x10f)](_0x48bb79=>_0x48bb79['is'](_0x5cb0e2(0x12c)))[_0x5cb0e2(0x114)](_0x1ecc7b=>_0x1ecc7b[_0x5cb0e2(0xaa)]);if(_0x1f21d5[_0x5cb0e2(0xcc)])return{'type':_0x5cb0e2(0x10e),'content':_0x258cd3(_0x8a3999,_0x5cb0e2(0xb0),_0x258cd3(_0x8a3999,_0x5cb0e2(0xe2),'\x22'+_0x1f21d5[_0x5cb0e2(0xcf)]('\x20')+'\x22'))};}if(_0x5cb0e2(0x93)==_0x206803[_0x5cb0e2(0xf4)]){const _0x184eb2=_0x206803[_0x5cb0e2(0xf6)]()[_0x5cb0e2(0x10f)](_0xbb9bba=>_0xbb9bba['is'](_0x5cb0e2(0x12c)))[_0x5cb0e2(0x114)](_0x1428f2=>_0x1428f2[_0x5cb0e2(0xaa)]);if(_0x184eb2[_0x5cb0e2(0xcc)])return{'type':_0x5cb0e2(0x93),'content':_0x258cd3(_0x8a3999,_0x5cb0e2(0x11c),_0x258cd3(_0x8a3999,_0x5cb0e2(0xe2),'\x22'+_0x184eb2[_0x5cb0e2(0xcf)]('\x20')+'\x22'))};}}}),_0x2130bc[_0xd12f2a(0xea)][_0xd12f2a(0xb5)](_0xfc6226=>{const _0x3590ef=_0xd12f2a;if(_0x3590ef(0xfc)==_0xfc6226[_0x3590ef(0xb6)]){const _0x2fe059=_0xfc6226[_0x3590ef(0xf6)]()[_0x3590ef(0x10f)](_0xe2f68b=>_0xe2f68b['is'](_0x3590ef(0x12c)))[_0x3590ef(0x114)](_0x471653=>_0x471653[_0x3590ef(0xaa)]),_0x421e96=this[_0x3590ef(0x127)](_0xfc6226),_0x119fd6=_0x421e96[_0x3590ef(0xe0)]-_0x421e96[_0x3590ef(0x95)]+0x1;if(_0x3590ef(0x10e)==_0xfc6226[_0x3590ef(0xf4)])return _0x2fe059[_0x3590ef(0xcc)]?{'type':_0x3590ef(0x10e),'content':_0x258cd3(_0x8a3999,_0x3590ef(0xb0),_0x258cd3(_0x8a3999,_0x3590ef(0x9d),[_0x119fd6,'\x22'+_0x2fe059[_0x3590ef(0xcf)]('\x20')+'\x22']))}:{'type':_0x3590ef(0x10e),'content':_0x258cd3(_0x8a3999,_0x3590ef(0xb0),_0x258cd3(_0x8a3999,_0x3590ef(0xae),_0x119fd6))};if(_0x3590ef(0x93)==_0xfc6226[_0x3590ef(0xf4)])return _0x2fe059[_0x3590ef(0xcc)]?{'type':_0x3590ef(0x93),'content':_0x258cd3(_0x8a3999,_0x3590ef(0x11c),_0x258cd3(_0x8a3999,_0x3590ef(0x9d),[_0x119fd6,'\x22'+_0x2fe059[_0x3590ef(0xcf)]('\x20')+'\x22']))}:{'type':_0x3590ef(0x93),'content':_0x258cd3(_0x8a3999,_0x3590ef(0x11c),_0x258cd3(_0x8a3999,_0x3590ef(0xae),_0x119fd6))};}if(_0x3590ef(0x126)==_0xfc6226[_0x3590ef(0xb6)]){const _0x37a8e7=_0xfc6226[_0x3590ef(0xf6)]()[_0x3590ef(0x10f)](_0x627018=>_0x627018['is'](_0x3590ef(0x12c)))[_0x3590ef(0x114)](_0x4aec10=>_0x4aec10[_0x3590ef(0xaa)]),_0x1ef788=this[_0x3590ef(0x127)](_0xfc6226),_0x118241=_0x1ef788[_0x3590ef(0xc8)]-_0x1ef788[_0x3590ef(0x109)]+0x1;if(_0x3590ef(0x10e)==_0xfc6226[_0x3590ef(0xf4)])return _0x37a8e7[_0x3590ef(0xcc)]?{'type':_0x3590ef(0x10e),'content':_0x258cd3(_0x8a3999,_0x3590ef(0xb0),_0x258cd3(_0x8a3999,_0x3590ef(0xc0),[_0x118241,'\x22'+_0x37a8e7[_0x3590ef(0xcf)]('\x20')+'\x22']))}:{'type':_0x3590ef(0x10e),'content':_0x258cd3(_0x8a3999,_0x3590ef(0xb0),_0x258cd3(_0x8a3999,_0x3590ef(0xf0),_0x118241))};if(_0x3590ef(0x93)==_0xfc6226[_0x3590ef(0xf4)])return _0x37a8e7[_0x3590ef(0xcc)]?{'type':_0x3590ef(0x93),'content':_0x258cd3(_0x8a3999,_0x3590ef(0x11c),_0x258cd3(_0x8a3999,_0x3590ef(0xc0),[_0x118241,'\x22'+_0x37a8e7[_0x3590ef(0xcf)]('\x20')+'\x22']))}:{'type':_0x3590ef(0x93),'content':_0x258cd3(_0x8a3999,_0x3590ef(0x11c),_0x258cd3(_0x8a3999,_0x3590ef(0xf0),_0x118241))};}}),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x10e),_0xd12f2a(0xfc),_0xd12f2a(0x10b),_0x5e5dbb),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x93),_0xd12f2a(0xfc),_0xd12f2a(0xa8),_0x5e5dbb),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x10e),_0xd12f2a(0x126),_0xd12f2a(0x10b),_0x26f7ce),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x93),_0xd12f2a(0x126),_0xd12f2a(0xa8),_0x26f7ce),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x10e),_0xd12f2a(0x126),_0xd12f2a(0xcf),_0x420daa),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x93),_0xd12f2a(0x126),_0xd12f2a(0xcf),_0x420daa),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x10e),_0xd12f2a(0xfc),_0xd12f2a(0xcf),_0x13ca4c),_0x2130bc[_0xd12f2a(0xd1)][_0xd12f2a(0x96)](_0xd12f2a(0x93),_0xd12f2a(0xfc),_0xd12f2a(0xcf),_0x13ca4c);}[_0x40c624(0x10a)](){const _0xb40b74=_0x40c624,_0x1d91ef=this[_0xb40b74(0x9b)],_0x23f9ce=_0x1d91ef[_0xb40b74(0x12d)][_0xb40b74(0xd8)][_0xb40b74(0xc5)];return(_0x319bf3,_0x43ce7f)=>{const _0x411c08=_0xb40b74;_0x1d91ef[_0x411c08(0x12d)][_0x411c08(0xeb)](_0x404229=>{const _0x47b29d=_0x411c08,{commandName:_0x56be24,commandParams:_0x53b26d}=_0x43ce7f;let _0x615169=_0x319bf3[0x0][_0x47b29d(0xcb)][_0x47b29d(0xf1)];_0x53b26d&&_0x53b26d[0x0]&&!0x1===_0x53b26d[0x0][_0x47b29d(0xd2)]&&(_0x615169=_0x319bf3[0x0][_0x47b29d(0x131)][_0x47b29d(0xe7)]);const _0x52bdd1=_0x404229[_0x47b29d(0x10c)](_0x615169);if(_0x47b29d(0xb7)==_0x52bdd1[_0x47b29d(0xd0)][_0x47b29d(0xa1)])return;const _0x31664d=Array[_0x47b29d(0xe5)](_0x23f9ce[_0x47b29d(0xd9)]())[_0x47b29d(0x114)](_0x539e83=>_0x166ea3[_0x47b29d(0x100)](_0x539e83));_0x404229[_0x47b29d(0xa2)](_0x52bdd1),_0x1d91ef[_0x47b29d(0x102)][_0x47b29d(0xc3)](_0x56be24)[_0x47b29d(0xef)](),_0x53b26d[_0x47b29d(0x120)]({'forceDefaultExecution':!0x0}),_0x1d91ef[_0x47b29d(0xf2)](_0x56be24,..._0x53b26d);const _0x4aa89b=_0x31664d[_0x47b29d(0x10f)](_0x2950cd=>_0x47b29d(0xb7)!=_0x2950cd[_0x47b29d(0xd0)][_0x47b29d(0xa1)]);_0x4aa89b[_0x47b29d(0xcc)]>0x0&&_0x404229[_0x47b29d(0xa2)](_0x4aa89b);for(const _0x3893fd of _0x31664d)_0x3893fd[_0x47b29d(0xfb)]();});};}[_0x40c624(0xb4)](_0x5f1649){const _0x36c91c=_0x40c624,_0x540252=this[_0x36c91c(0x9b)][_0x36c91c(0xb2)][_0x36c91c(0xc3)](_0x36c91c(0xaf));let _0x50c88f=Number[_0x36c91c(0xa5)],_0x14884e=Number[_0x36c91c(0xe8)],_0xe7cd16=Number[_0x36c91c(0xa5)],_0xdc52e4=Number[_0x36c91c(0xe8)];for(const _0x515b54 of _0x5f1649){if(_0x36c91c(0xb7)==_0x515b54[_0x36c91c(0xd0)][_0x36c91c(0xa1)])continue;const {row:_0x4b7184,column:_0x38f8de}=_0x540252[_0x36c91c(0xdc)](_0x515b54),_0x2874d4=_0x515b54[_0x36c91c(0x107)](_0x36c91c(0xda))?_0x515b54[_0x36c91c(0xd6)](_0x36c91c(0xda))-0x1:0x0,_0x3ef42e=_0x515b54[_0x36c91c(0x107)](_0x36c91c(0xa6))?_0x515b54[_0x36c91c(0xd6)](_0x36c91c(0xa6))-0x1:0x0;_0x50c88f=_0x4b7184<_0x50c88f?_0x4b7184:_0x50c88f,_0x14884e=_0x4b7184+_0x2874d4>_0x14884e?_0x4b7184+_0x2874d4:_0x14884e,_0xe7cd16=_0x38f8de<_0xe7cd16?_0x38f8de:_0xe7cd16,_0xdc52e4=_0x38f8de+_0x3ef42e>_0xdc52e4?_0x38f8de+_0x3ef42e:_0xdc52e4;}return{'minRow':_0x50c88f,'maxRow':_0x14884e,'minColumn':_0xe7cd16,'maxColumn':_0xdc52e4};}[_0x40c624(0x104)](){const _0x1facf5=_0x40c624,_0x2ae011=this[_0x1facf5(0x9b)],_0x4f1f5e=_0x2ae011[_0x1facf5(0xb2)][_0x1facf5(0xc3)](_0x1facf5(0xc4)),_0x1a6907=_0x2ae011[_0x1facf5(0xb2)][_0x1facf5(0xc3)](_0x1facf5(0xaf));_0x2ae011[_0x1facf5(0x12d)][_0x1facf5(0xd8)]['on'](_0x1facf5(0x112),()=>{const _0x36daf6=_0x1facf5,_0x5812eb=Array[_0x36daf6(0xe5)](_0x2ae011[_0x36daf6(0x12d)][_0x36daf6(0xd8)][_0x36daf6(0xdf)][_0x36daf6(0xbb)]());for(const {name:_0x46535e,data:_0x4477d0}of _0x5812eb){const {group:_0x23b1e5,id:_0x2a891c,subType:_0x5409a9}=_0x4f1f5e[_0x36daf6(0xa4)](_0x46535e);if(_0x36daf6(0xa0)!=_0x23b1e5)continue;if(null!=_0x4477d0[_0x36daf6(0xfd)])continue;const _0x659f1c=_0x4f1f5e[_0x36daf6(0x118)](_0x2a891c);this[_0x36daf6(0x97)][_0x36daf6(0xb3)](_0x5409a9)&&this[_0x36daf6(0xb9)][_0x36daf6(0xca)](_0x659f1c);}},{'priority':_0x1facf5(0xb1)});const _0x53817a=(_0x11edfa,_0x1aa993)=>{const _0x421f7d=_0x1facf5;let _0x3859e3=!0x1;const _0x363307=_0x1aa993[_0x421f7d(0xc2)](_0x11edfa),_0xd21d5a=_0x11edfa[_0x421f7d(0xde)](_0x421f7d(0x12b)),_0x4ed9f2=_0x1a6907[_0x421f7d(0xdc)](_0x11edfa);for(const _0x4f02bb of this[_0x421f7d(0xb9)]){const _0xad2b0b=_0x4f02bb[_0x421f7d(0xb6)],_0x5151a5=_0xad2b0b[_0x421f7d(0xd5)](_0x421f7d(0x106)),_0x52233e=_0xad2b0b[_0x421f7d(0xba)](_0x5151a5?0xa:0x5),_0x245f0b=_0x52233e[_0x421f7d(0x9a)](),_0x3ec583=_0x245f0b[_0x421f7d(0xba)](0x0,0x3)+_0x421f7d(0x130),_0x5dbaec=_0x421f7d(0xa3)+_0x52233e,_0x388165=_0x421f7d(0x132)+_0x52233e;if(!_0x4f02bb[_0x421f7d(0x94)])continue;if(_0xd21d5a!=_0x4f02bb[_0x421f7d(0xc6)]()[_0x421f7d(0x131)][_0x421f7d(0xde)](_0x421f7d(0x12b)))continue;if(_0x4f02bb[_0x421f7d(0x121)](_0x363307))continue;const _0x4a072d=_0x11edfa[_0x421f7d(0x107)](_0x3ec583)?_0x11edfa[_0x421f7d(0xd6)](_0x3ec583)-0x1:0x0,_0x1bf55d=this[_0x421f7d(0x127)](_0x4f02bb),_0x492e74=_0x1bf55d[_0x5dbaec],_0x50eaee=_0x1bf55d[_0x388165];_0x492e74<=_0x4ed9f2[_0x245f0b]&&_0x4ed9f2[_0x245f0b]+_0x4a072d<=_0x50eaee&&(_0x4f02bb[_0x421f7d(0x12a)](_0x363307),_0x3859e3=!0x0);}return _0x3859e3;};_0x2ae011[_0x1facf5(0x12d)][_0x1facf5(0xd8)][_0x1facf5(0x105)](_0x218a89=>{const _0x3a7c1d=_0x1facf5;let _0x4ee50d=!0x1;for(const _0x729d5e of _0x2ae011[_0x3a7c1d(0x12d)][_0x3a7c1d(0xd8)][_0x3a7c1d(0xdf)][_0x3a7c1d(0xc1)]())if(_0x3a7c1d(0xbe)==_0x729d5e[_0x3a7c1d(0xf4)]){if(_0x3a7c1d(0xfc)==_0x729d5e[_0x3a7c1d(0x133)]){for(const _0x58d71a of _0x729d5e[_0x3a7c1d(0x9f)][_0x3a7c1d(0xe7)][_0x3a7c1d(0x12f)]())_0x4ee50d=_0x4ee50d||_0x53817a(_0x58d71a,_0x218a89);}else _0x3a7c1d(0xed)==_0x729d5e[_0x3a7c1d(0x133)]&&(_0x4ee50d=_0x4ee50d||_0x53817a(_0x729d5e[_0x3a7c1d(0x9f)][_0x3a7c1d(0xe7)],_0x218a89));}return _0x4ee50d;});}[_0x40c624(0x127)](_0x3e8e1d){const _0x4c6dbf=_0x40c624;return this[_0x4c6dbf(0xb4)](_0x3e8e1d[_0x4c6dbf(0xd9)]()[_0x4c6dbf(0x114)](_0x3c8db8=>_0x3c8db8[_0x4c6dbf(0x131)][_0x4c6dbf(0xe7)]));}}function ue(_0x317a49){const _0x19cd8c=_0x40c624;return Array[_0x19cd8c(0xe5)](new Set(_0x317a49)[_0x19cd8c(0xdb)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x320fe4=_0x51a7;function _0x51a7(_0x5846ee,_0x2452ca){const _0x12d1f6=_0x12d1();return _0x51a7=function(_0x51a7cd,_0x2a7d3d){_0x51a7cd=_0x51a7cd-0x67;let _0x5a2fc3=_0x12d1f6[_0x51a7cd];return _0x5a2fc3;},_0x51a7(_0x5846ee,_0x2452ca);}(function(_0x5b18f8,_0x428f7f){const _0x3b4f29=_0x51a7,_0x411350=_0x5b18f8();while(!![]){try{const _0x10b222=parseInt(_0x3b4f29(0x6d))/0x1*(-parseInt(_0x3b4f29(0x6a))/0x2)+-parseInt(_0x3b4f29(0x77))/0x3+parseInt(_0x3b4f29(0x67))/0x4+parseInt(_0x3b4f29(0x6e))/0x5+-parseInt(_0x3b4f29(0x74))/0x6*(-parseInt(_0x3b4f29(0x75))/0x7)+-parseInt(_0x3b4f29(0x76))/0x8+parseInt(_0x3b4f29(0x72))/0x9*(parseInt(_0x3b4f29(0x6b))/0xa);if(_0x10b222===_0x428f7f)break;else _0x411350['push'](_0x411350['shift']());}catch(_0x3f4b33){_0x411350['push'](_0x411350['shift']());}}}(_0x12d1,0xa4411));import{Plugin as _0x5c4d11}from'ckeditor5/src/core.js';import _0x13c84d from'./table.js';function _0x12d1(){const _0x481405=['27150JkIEvp','plugins','364495roiQQD','2474205lWnLCt','TrackChangesEditing','requires','toggleTableCaption','4869DzfYZz','enableCommand','200064aDZjzE','210wETYtL','5597832AzgurU','2113764MMNmMn','has','TableCaptionEditing','get','826444FzcEZp','afterInit','editor','6gCwPbl'];_0x12d1=function(){return _0x481405;};return _0x12d1();}export default class Nt extends _0x5c4d11{static get[_0x320fe4(0x70)](){return[_0x13c84d];}[_0x320fe4(0x68)](){const _0x3d9116=_0x320fe4,_0x278f7e=this[_0x3d9116(0x69)];if(!_0x278f7e[_0x3d9116(0x6c)][_0x3d9116(0x78)](_0x3d9116(0x79)))return;_0x278f7e[_0x3d9116(0x6c)][_0x3d9116(0x7a)](_0x3d9116(0x6f))[_0x3d9116(0x73)](_0x3d9116(0x71));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d26=['trackChanges','unwrap','tableCellBorderStyle','markMultiRangeDeletion','getContainedElement','find','markerAttributes','editing','insertionRanges','some','tableCell','TrackChangesEditing','nextSibling','getRanges','suggestion-td','add','set','type','_suggestionFactory','options','removeMarkers','Users','reduce','getColumns','removeMarker','end','paragraph','endColumn','for','document','ck-suggestion-marker--active','_getCoordsForCells','filter','formatBlock','tablePaste','selection','getSuggestionCallback','createPositionBefore','includes','removeColumns','rowInsertionRanges','name','$graveyard','markers','columnInsertionIndexes','accept','showSuggestionHighlights','getChanges','discard','oldRange','change','registerCustomCallback','every','registerPostFixer','markerName','updateMarker','getRange','tableCellBackgroundColor','isEmpty','tablePasteColumn','stop','dataDowncast','push','subType','insertion','createRangeIn','move','table','createRange','get','getRows','getChangedMarkers','*Replace\x20table\x20cells*','hasSuggestion','requires','suggestion:formatBlock:tablePasteCell','tableCellHorizontalAlignment','fromEntries','tablePasteChainId','differ','getSelectionAffectedTableCells','isInContent','attributes','tableCellBorderColor','cells','join','remove','isEqual','getMarkers','getTableIfOnlyTableInContent','clipboardOutput','getAllAdjacentSuggestions','tableCellVerticalAlignment','deletion','_splitMarkerName','documentSelection','editor','TableUtils','suggestionUnloaded','findAncestor','rowInsertionIndexes','getItems','suggestion','createElement','cell','fill','wrap','getChildren','createTableWalker','elementToElement','tableCellSuggestion','root','previous','high','conversion','register','startsWith','start','endRow','insert','plugins','getChild','tableCellBorderWidth','setAttributes','tablePasteCell','low','author','getAttributes','map','element','rows','last','insertContent','deletionRanges','containsRange','rootName','markMultiRangeBlockFormat','position','insertRows','markMultiRangeInsertion','redo','locale','removeRows','has','TableClipboard','_descriptionFactory','markerToHighlight','getSuggestions','tableCellPadding','from','createRangeOn','previousSibling','length','model'];(function(_0x1020ff,_0x5d26de){const _0x60fb02=function(_0x326e8e){while(--_0x326e8e){_0x1020ff['push'](_0x1020ff['shift']());}};_0x60fb02(++_0x5d26de);}(_0x5d26,0xa7));const _0x60fb=function(_0x1020ff,_0x5d26de){_0x1020ff=_0x1020ff-0x0;let _0x60fb02=_0x5d26[_0x1020ff];return _0x60fb02;};import{getTranslation as _0x33f842}from'../utils/common-translations.js';import{Plugin as _0x355baa}from'ckeditor5/src/core.js';import{uid as _0xc97c03,priorities as _0x2c8dbe}from'ckeditor5/src/utils.js';import _0x26999e from'./table.js';const fe=[_0x60fb('0x6d'),_0x60fb('0x46'),_0x60fb('0x8f'),_0x60fb('0x3f'),_0x60fb('0x4f'),_0x60fb('0x2c'),_0x60fb('0x87')],be=Object[_0x60fb('0x40')](fe['map'](_0x238a92=>[_0x238a92,null]));export default class At extends _0x355baa{static get[_0x60fb('0x3d')](){return[_0x26999e];}['afterInit'](){const _0x49fc42=this['editor'];if(!_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x82')](_0x60fb('0x83')))return;const _0x4224c5=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x98')),_0x3dca98=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x54')),_0x161f18=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x26999e),_0x56a690=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')]('TableClipboard');_0x161f18['_tablePostFixingSubtypes'][_0x60fb('0x31')]('tablePasteRow',_0x60fb('0x2e')),_0x49fc42['model']['schema'][_0x60fb('0x66')](_0x60fb('0x61'),{'allowIn':_0x60fb('0x97'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x49fc42[_0x60fb('0x65')][_0x60fb('0x60')]({'model':_0x60fb('0x61'),'view':_0x60fb('0x1')});let _0x1e16b8=null;_0x49fc42[_0x60fb('0x8c')]['on']('insertContent',(_0x6825b7,_0x41593a)=>{const [_0x8121f3,_0x4fe1a6]=_0x41593a,_0x17e015=_0x41593a[_0x41593a[_0x60fb('0x8b')]-0x1];_0x17e015&&_0x17e015['forceDefaultExecution']||_0x4224c5['_isForcedDefaultExecutionBlock']||this[_0x60fb('0x53')]['commands']['get'](_0x60fb('0x8d'))['value']&&function(_0x28c16d,_0x4d1b0f,_0x3eb06b,_0x17b831,_0xe4d0e){if(_0x4d1b0f&&!_0x4d1b0f['is'](_0x60fb('0x52')))return!0x1;const _0x3a8612=_0xe4d0e[_0x60fb('0x4c')](_0x28c16d,_0x3eb06b);if(!_0x3a8612||!de(_0x3a8612,void 0x0,_0x17b831))return!0x1;const _0x4363e0=_0x17b831[_0x60fb('0x43')](_0x3eb06b[_0x60fb('0x10')][_0x60fb('0x16')]);if(!_0x4363e0[_0x60fb('0x8b')])return!0x1;const _0x5f4a81=_0x4363e0[0x0][_0x60fb('0x56')](_0x60fb('0x36')),_0x4b102e=_0x17b831['getRowIndexes'](_0x4363e0),_0x401df6=_0x17b831['getColumnIndexes'](_0x4363e0),_0x2e69fe={'startRow':_0x4b102e['first'],'endRow':_0x4b102e['last'],'startColumn':_0x401df6['first'],'endColumn':_0x401df6[_0x60fb('0x76')]};return 0x1==_0x4363e0['length']&&(_0x2e69fe[_0x60fb('0x69')]+=_0x17b831[_0x60fb('0x39')](_0x3a8612)-0x1,_0x2e69fe[_0x60fb('0xe')]+=_0x17b831[_0x60fb('0xa')](_0x3a8612)-0x1),de(_0x5f4a81,_0x2e69fe,_0x17b831);}(_0x8121f3,_0x4fe1a6,_0x49fc42['model'],_0x3dca98,_0x56a690)&&(_0x6825b7[_0x60fb('0x2f')](),_0x1e16b8={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x25')](()=>{_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x77')](_0x41593a[0x0],_0x41593a[0x1],_0x41593a[0x2],{'forceDefaultExecution':!0x0});const _0x18a0fe=_0xc97c03(),{rowInsertionRanges:_0x5a67f5,columnInsertionRanges:_0x4c0a30,insertionRanges:_0x25dcfe,deletionRanges:_0x3954ad,cells:_0x470fa0}=_0x1e16b8;_0x5a67f5[_0x60fb('0x8b')]&&_0x4224c5[_0x60fb('0x7e')](_0x5a67f5,'tablePasteRow',{'tablePasteChainId':_0x18a0fe}),_0x4c0a30[_0x60fb('0x8b')]&&_0x4224c5['markMultiRangeInsertion'](_0x4c0a30,_0x60fb('0x2e'),{'tablePasteChainId':_0x18a0fe}),_0x25dcfe[_0x60fb('0x8b')]&&_0x4224c5['markMultiRangeInsertion'](_0x25dcfe,'tablePaste',{'tablePasteChainId':_0x18a0fe,'skipNestingCheck':!0x0}),_0x3954ad[_0x60fb('0x8b')]&&_0x4224c5[_0x60fb('0x90')](_0x3954ad,'tablePaste',{'tablePasteChainId':_0x18a0fe,'skipNestingCheck':!0x0});const _0x56a918=_0x4224c5[_0x60fb('0x7b')](_0x470fa0[_0x60fb('0x73')](({element:_0x5d71c3})=>_0x5d71c3),{'formatGroupId':_0xc97c03()},[],_0x60fb('0x6f'),{'tablePasteChainId':_0x18a0fe});if(_0x56a918){const _0x31baea=_0x56a918[_0x60fb('0x4b')](),_0x25988d=[];for(const {element:_0x4294ad,attributes:_0x3f5a9e}of _0x470fa0){if(!_0x3f5a9e)continue;const _0x53a22a=_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x89')](_0x4294ad),_0x3e3806=_0x31baea[_0x60fb('0x92')](_0x720f55=>_0x720f55[_0x60fb('0x2b')]()[_0x60fb('0x4a')](_0x53a22a));_0x3e3806&&_0x25988d[_0x60fb('0x31')]([_0x3e3806[_0x60fb('0x1c')],_0x3f5a9e]);}_0x25988d['length']&&_0x56a918['setAttribute'](_0x60fb('0x93'),Object[_0x60fb('0x40')](_0x25988d));}_0x1e16b8=null;}));},{'priority':_0x2c8dbe[_0x60fb('0x64')]+0xa}),_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x83'))['on']('_replaceTableSlotCell',(_0x14e9a5,_0x256827)=>{const [_0x289804,_0x1e5fce,,_0x41f862]=_0x256827;if(!_0x1e16b8)return;_0x14e9a5[_0x60fb('0x2f')]();const _0x200e1c=_0x289804[_0x60fb('0x5b')],_0x1edf99=_0x1e5fce,_0x2ca720=ge(_0x200e1c),_0x363cee=ge(_0x1edf99);_0x14e9a5['return']=_0x200e1c;let _0x50e64f=null,_0x57658e=null;if(_0x363cee||_0x2ca720){if(_0x2ca720&&!_0x363cee){_0x41f862['remove'](_0x200e1c['getChild'](0x0));for(const _0x430ae5 of Array[_0x60fb('0x88')](_0x1edf99[_0x60fb('0x5e')]()))_0x41f862[_0x60fb('0x6a')](_0x430ae5,_0x200e1c,_0x60fb('0xc'));const _0x3595e2=_0x1e16b8[_0x60fb('0x57')][_0x60fb('0x19')](_0x289804['row']),_0x57ac46=_0x1e16b8[_0x60fb('0x1f')][_0x60fb('0x19')](_0x289804['column']);_0x3595e2||_0x57ac46||(_0x50e64f=_0x41f862[_0x60fb('0x34')](_0x200e1c));}else _0x363cee&&!_0x2ca720&&(_0x57658e=_0x41f862[_0x60fb('0x34')](_0x200e1c));}else{const _0x5d48f2=_0x41f862[_0x60fb('0x5a')]('tableCellSuggestion'),_0x1081cb=_0x41f862[_0x60fb('0x5a')](_0x60fb('0x61'));_0x41f862[_0x60fb('0x5d')](_0x41f862['createRangeIn'](_0x200e1c),_0x1081cb),_0x41f862['insert'](_0x5d48f2,_0x200e1c,0x0);for(const _0x500bcf of Array['from'](_0x1edf99['getChildren']()))_0x41f862[_0x60fb('0x6a')](_0x500bcf,_0x5d48f2,'end');_0x50e64f=_0x41f862[_0x60fb('0x89')](_0x5d48f2),_0x57658e=_0x41f862[_0x60fb('0x89')](_0x1081cb);}const _0x55f131=Array['from'](_0x1edf99[_0x60fb('0x72')]())['filter'](([_0x17e2cb])=>fe[_0x60fb('0x19')](_0x17e2cb));_0x1e16b8['cells'][_0x60fb('0x31')]({'element':_0x200e1c,'attributes':_0x55f131[_0x60fb('0x8b')]?Object[_0x60fb('0x40')](_0x55f131):null}),_0x50e64f&&_0x1e16b8[_0x60fb('0x95')][_0x60fb('0x31')](_0x50e64f),_0x57658e&&_0x1e16b8[_0x60fb('0x78')][_0x60fb('0x31')](_0x57658e);},{'priority':'high'}),_0x3dca98['on']('insertColumns',(_0x43f181,_0x2cdbd3)=>{const [_0x4aebc0,_0x3928e8={}]=_0x2cdbd3;if(!_0x1e16b8)return;const _0x21d39b=_0x3928e8['at']||0x0,_0x5d6492=_0x3928e8['columns']||0x1;_0x1e16b8['columnInsertionIndexes']=new Array(_0x5d6492)[_0x60fb('0x5c')](_0x21d39b)[_0x60fb('0x73')]((_0x566754,_0x33477a)=>_0x566754+_0x33477a);for(const {cell:_0x230d38}of _0x3dca98[_0x60fb('0x5f')](_0x4aebc0,{'startColumn':_0x21d39b,'endColumn':_0x21d39b+_0x5d6492-0x1}))_0x1e16b8['columnInsertionRanges'][_0x60fb('0x31')](_0x49fc42[_0x60fb('0x8c')]['createRangeOn'](_0x230d38));},{'priority':_0x60fb('0x70')}),_0x3dca98['on'](_0x60fb('0x7d'),(_0x12d304,_0x3980ac)=>{const [_0x2e3186,_0x1c9752={}]=_0x3980ac;if(!_0x1e16b8)return;const _0x5a7c7e=_0x1c9752['at']||0x0,_0x5ae613=_0x1c9752[_0x60fb('0x75')]||0x1;_0x1e16b8[_0x60fb('0x57')]=new Array(_0x5ae613)[_0x60fb('0x5c')](_0x5a7c7e)[_0x60fb('0x73')]((_0x49017a,_0x560894)=>_0x49017a+_0x560894);for(const {cell:_0x78d2be}of _0x3dca98['createTableWalker'](_0x2e3186,{'startRow':_0x5a7c7e,'endRow':_0x5a7c7e+_0x5ae613-0x1}))_0x1e16b8[_0x60fb('0x1b')][_0x60fb('0x31')](_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x89')](_0x78d2be));},{'priority':_0x60fb('0x70')}),_0x4224c5[_0x60fb('0x84')]['registerDescriptionCallback'](_0x2f7c78=>{if(_0x2f7c78[_0x60fb('0x32')]&&_0x2f7c78[_0x60fb('0x32')][_0x60fb('0x67')]('tablePaste'))return _0x2f7c78['previous']?{}:{'type':_0x60fb('0x33'),'content':_0x33f842(_0x49fc42[_0x60fb('0x80')],_0x60fb('0x3b'))};});const _0x4b431c=()=>!0x1;for(const _0xeea776 of['tablePaste',_0x60fb('0x2e'),'tablePasteRow','tablePasteCell'])_0x4224c5['_suggestionFactory']['registerCustomCallback']('insertion',_0xeea776,_0x60fb('0x48'),_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x50'),_0xeea776,_0x60fb('0x48'),_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0xeea776,_0x60fb('0x48'),_0x4b431c);_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0x60fb('0x6f'),'discard',_0x4b431c),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x14'),_0x60fb('0x6f'),_0x60fb('0x20'),(_0x5271e1,_0x4d60d7,_0xfcf208)=>{const _0x36264e=_0x5271e1[_0x60fb('0x73')](_0xf0617b=>_0xf0617b[_0x60fb('0x91')]())[_0x60fb('0x13')](_0x4c184e=>_0x4c184e),_0x1c91f8=new Map(_0x36264e[_0x60fb('0x73')](_0x62f8d4=>[_0x62f8d4,null]));if(_0x1e16b8)for(const {element:_0x29e92b,attributes:_0x58aa84}of _0x1e16b8[_0x60fb('0x47')])_0x58aa84&&_0x1c91f8[_0x60fb('0x3')](_0x29e92b,_0x58aa84);else{if(_0xfcf208&&_0xfcf208[_0x60fb('0x93')])for(const [_0xd3dcac,_0x1aef0e]of Object['entries'](_0xfcf208[_0x60fb('0x93')])){const _0x49f562=_0x49fc42['model'][_0x60fb('0x1e')]['get'](_0xd3dcac),_0x19035b=_0x49f562?_0x49f562['getRange']()[_0x60fb('0x91')]():null;_0x19035b&&_0x1c91f8[_0x60fb('0x3')](_0x19035b,_0x1aef0e);}}_0x49fc42['model']['change'](_0x124057=>{for(const [_0x129bed,_0x41493d]of _0x1c91f8)_0x124057[_0x60fb('0x6e')]({...be,..._0x41493d},_0x129bed);});});const _0x4936ab=(_0xfb0b39,_0x19f0f2)=>{_0x4224c5[_0x60fb('0x5')]['registerCustomCallback'](_0xfb0b39,_0x60fb('0x15'),_0x19f0f2,(_0x539d1c,_0x56b126,_0x17a322)=>{_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x25')](_0x149854=>{const _0x180c63=[];for(const _0x46d0f5 of _0x539d1c){const _0x1cc030=_0x46d0f5[_0x60fb('0x68')]['nodeAfter'];_0x1cc030['is'](_0x60fb('0x74'),'tableCellSuggestion')&&_0x180c63[_0x60fb('0x31')](_0x1cc030);}_0x4224c5[_0x60fb('0x5')][_0x60fb('0x17')](_0xfb0b39,null,_0x19f0f2)(_0x539d1c,_0x56b126,_0x17a322);for(const _0x3aff12 of _0x180c63)_0x60fb('0x1d')!=_0x3aff12[_0x60fb('0x62')][_0x60fb('0x7a')]&&_0x149854['unwrap'](_0x3aff12);});});};_0x4936ab('insertion',_0x60fb('0x20')),_0x4936ab(_0x60fb('0x33'),'discard'),_0x4936ab('deletion',_0x60fb('0x20')),_0x4936ab(_0x60fb('0x50'),_0x60fb('0x23')),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x33'),'tablePasteRow',_0x60fb('0x23'),_0x38aafa=>{const _0x519a26=_0x38aafa['map'](_0x545d30=>_0x545d30[_0x60fb('0x91')]()),_0x40c28f=_0x519a26[0x0][_0x60fb('0x56')](_0x60fb('0x36')),{minRow:_0xe2cc3d,maxRow:_0x36b19b}=_0x161f18[_0x60fb('0x12')](_0x519a26);_0x3dca98[_0x60fb('0x81')](_0x40c28f,{'at':_0xe2cc3d,'rows':_0x36b19b-_0xe2cc3d+0x1});}),_0x4224c5[_0x60fb('0x5')][_0x60fb('0x26')](_0x60fb('0x33'),_0x60fb('0x2e'),'discard',_0x2f779e=>{const _0x32dad4=_0x2f779e[_0x60fb('0x73')](_0x2017ea=>_0x2017ea[_0x60fb('0x91')]()),_0x1c798d=_0x32dad4[0x0][_0x60fb('0x56')](_0x60fb('0x36')),{minColumn:_0x3c6536,maxColumn:_0x550d46}=_0x161f18[_0x60fb('0x12')](_0x32dad4);_0x3dca98[_0x60fb('0x1a')](_0x1c798d,{'at':_0x3c6536,'columns':_0x550d46-_0x3c6536+0x1});});const _0x55f800=(_0x53eebf,_0x4f1adc)=>{if(!_0x4f1adc[_0x60fb('0x32')]||!_0x4f1adc['subType'][_0x60fb('0x67')](_0x60fb('0x15')))return;const _0x6cd791=_0x4f1adc[_0x60fb('0x45')][_0x60fb('0x41')],_0x1401a7=_0x4224c5[_0x60fb('0x86')]()['filter'](_0x206c3e=>_0x206c3e[_0x60fb('0x44')]&&_0x206c3e[_0x60fb('0x45')]&&_0x206c3e['attributes'][_0x60fb('0x41')]==_0x6cd791);_0x1401a7[_0x60fb('0x8b')]&&_0x4f1adc[_0x60fb('0x4e')]()[_0x60fb('0x8b')]!=_0x1401a7[_0x60fb('0x8b')]&&_0x1401a7[_0x60fb('0x9')]((_0x226ea4,_0x34d76a)=>(_0x226ea4['next']=_0x34d76a,_0x34d76a[_0x60fb('0x63')]=_0x226ea4,_0x34d76a));};function _0x464cf9(_0x31d985,_0x5df55a=!0x0){const {id:_0x358f17}=_0x4224c5['_splitMarkerName'](_0x31d985[_0x60fb('0x29')]),_0x48c1f0=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1a94db=_0x4224c5['activeMarkers'][_0x60fb('0x19')](_0x31d985[_0x60fb('0x29')]);return _0x1a94db&&_0x48c1f0['push'](_0x60fb('0x11')),{'classes':_0x48c1f0,'attributes':{'data-suggestion':_0x358f17},'priority':_0x1a94db&&_0x5df55a?0xbc2:0xbb8};}_0x4224c5['on']('suggestionLoaded',_0x55f800,{'priority':_0x60fb('0x64')}),_0x4224c5['on'](_0x60fb('0x55'),_0x55f800,{'priority':'high'}),_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x10')][_0x60fb('0x28')](()=>{let _0x681256=!0x1;const _0x265a61=Array[_0x60fb('0x88')](_0x49fc42['model']['document'][_0x60fb('0x42')][_0x60fb('0x3a')]());for(const {name:_0x475d9c,data:_0x3a08ea}of _0x265a61){const {group:_0x304135,type:_0x38586b,id:_0x5a6bf6}=_0x4224c5[_0x60fb('0x51')](_0x475d9c);if(_0x60fb('0x59')!=_0x304135||_0x60fb('0x50')!=_0x38586b||_0x3a08ea[_0x60fb('0x24')])continue;if(!_0x4224c5[_0x60fb('0x3c')](_0x5a6bf6))continue;const _0x3052de=_0x4224c5['getSuggestion'](_0x5a6bf6)['getRanges'](),_0x158085=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'];for(const _0x518a42 of _0x4224c5[_0x60fb('0x86')]()){if(!_0x518a42[_0x60fb('0x44')]||_0x518a42[_0x60fb('0x71')]!=_0x158085)continue;if(_0x60fb('0x14')!=_0x518a42['type']||_0x60fb('0x6f')!=_0x518a42[_0x60fb('0x32')])continue;if(_0x518a42[_0x60fb('0x0')]()[_0x60fb('0x27')](_0x5b82b5=>_0x3052de[_0x60fb('0x96')](_0x1886a8=>_0x1886a8[_0x60fb('0x79')](_0x5b82b5,!0x0))))for(const _0x3e4979 of _0x518a42[_0x60fb('0x4e')]())_0x3e4979[_0x60fb('0x44')]&&(_0x3e4979[_0x60fb('0x23')](),_0x681256=!0x0);}}return _0x681256;}),_0x49fc42[_0x60fb('0x8c')]['document'][_0x60fb('0x28')](_0x1d213f=>{const _0x5dd844=_0x49fc42['commands'][_0x60fb('0x38')](_0x60fb('0x7f'));if(!_0x5dd844||!_0x5dd844['_createdBatches']['has'](_0x1d213f['batch']))return!0x1;let _0x543b27=!0x1;const _0x2ee8c5=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'],_0x11c28f=_0x49fc42[_0x60fb('0x8c')][_0x60fb('0x10')][_0x60fb('0x42')][_0x60fb('0x22')](),_0x7317ee=Array[_0x60fb('0x88')](_0x49fc42['model'][_0x60fb('0x10')][_0x60fb('0x42')]['getChangedMarkers']())['filter'](({name:_0x2e6de2,data:_0x19b04e})=>{const {group:_0x432fb1,subType:_0x26e75e,authorId:_0x5d7c5a}=_0x4224c5[_0x60fb('0x51')](_0x2e6de2);return _0x60fb('0x59')==_0x432fb1&&_0x60fb('0x15')==_0x26e75e&&_0x5d7c5a==_0x2ee8c5['id']&&!_0x19b04e[_0x60fb('0x24')];});for(const _0x4f66aa of _0x11c28f){if(_0x60fb('0x6a')!=_0x4f66aa[_0x60fb('0x4')]||_0x60fb('0x61')!=_0x4f66aa[_0x60fb('0x1c')]||0x1!=_0x4f66aa[_0x60fb('0x8b')])continue;const _0x24d918=_0x1d213f[_0x60fb('0x37')](_0x4f66aa[_0x60fb('0x7c')],_0x4f66aa['position']['getShiftedBy'](0x1));if(!_0x7317ee[_0x60fb('0x92')](({data:_0x131ac6})=>_0x131ac6['newRange']['isEqual'](_0x24d918)))for(const {name:_0x632d0d,data:_0x1537a6}of _0x7317ee)if(_0x24d918['containsRange'](_0x1537a6['newRange'])){_0x1d213f[_0x60fb('0x2a')](_0x632d0d,{'range':_0x24d918}),_0x543b27=!0x0;break;}}return _0x543b27;}),_0x49fc42['model'][_0x60fb('0x10')][_0x60fb('0x28')](_0x18859f=>{let _0x20d484=!0x1;const _0x24b846=_0x49fc42[_0x60fb('0x6b')][_0x60fb('0x38')](_0x60fb('0x8'))['me'],_0x44ecfe=_0x4224c5[_0x60fb('0x86')]()['filter'](_0x17db3a=>_0x17db3a[_0x60fb('0x44')]&&_0x17db3a[_0x60fb('0x71')]==_0x24b846),_0x457913=new Set(),_0x106da6=new Set();for(const _0xf5f9d6 of _0x44ecfe)if(_0x60fb('0x15')==_0xf5f9d6['subType'])for(const _0x5ac76e of _0xf5f9d6['getMarkers']()){const _0x58a51d=_0x5ac76e[_0x60fb('0x2b')]()['getContainedElement']();if(_0x58a51d){if(_0x58a51d['is'](_0x60fb('0x74'),_0x60fb('0x61'))&&ge(_0x58a51d)){_0xf5f9d6[_0x60fb('0xb')](_0x5ac76e[_0x60fb('0x1c')]),_0x457913['add'](_0x58a51d),_0x20d484=!0x0;const _0x371d0a=_0x58a51d[_0x60fb('0x99')],_0x37fb8b=_0x58a51d[_0x60fb('0x8a')],_0x54ebae=_0x371d0a&&_0x371d0a['is'](_0x60fb('0x74'),_0x60fb('0x61')),_0x5d35da=_0x37fb8b&&_0x37fb8b['is'](_0x60fb('0x74'),_0x60fb('0x61'));_0x54ebae&&!_0x457913[_0x60fb('0x82')](_0x371d0a)&&_0x106da6[_0x60fb('0x2')](_0x371d0a),_0x5d35da&&!_0x457913[_0x60fb('0x82')](_0x37fb8b)&&_0x106da6[_0x60fb('0x2')](_0x37fb8b);}else _0x58a51d['is'](_0x60fb('0x74'),_0x60fb('0xd'))&&_0x58a51d[_0x60fb('0x2d')]&&(_0xf5f9d6[_0x60fb('0xb')](_0x5ac76e['name']),_0x20d484=!0x0);}}else{if(_0x60fb('0x6f')==_0xf5f9d6[_0x60fb('0x32')]){if(!_0xf5f9d6[_0x60fb('0x45')]||!_0xf5f9d6[_0x60fb('0x45')][_0x60fb('0x41')])continue;const _0x1890c8=_0xf5f9d6[_0x60fb('0x45')]['markerAttributes'];if(_0x1890c8&&Object['keys'](_0x1890c8)['length'])continue;const _0x56439e=_0xf5f9d6[_0x60fb('0x45')][_0x60fb('0x41')];let _0x4b0bd1=!0x0,_0x452c48=!0x0;for(const _0x4f56b4 of _0x44ecfe)if(_0x4f56b4[_0x60fb('0x32')]&&_0x4f56b4[_0x60fb('0x32')][_0x60fb('0x67')](_0x60fb('0x15'))){if(!_0x4f56b4['attributes'][_0x60fb('0x41')]){_0x452c48=!0x1;break;}if(_0x4f56b4['id']!=_0xf5f9d6['id']&&_0x4f56b4['attributes'][_0x60fb('0x41')]==_0x56439e){_0x4b0bd1=!0x1;break;}}_0x452c48&&_0x4b0bd1&&(_0xf5f9d6[_0x60fb('0x7')](),_0x20d484=!0x0);}}for(const _0x29690b of _0x457913)_0x18859f[_0x60fb('0x49')](_0x29690b);for(const _0x5a1aef of _0x106da6)_0x18859f[_0x60fb('0x8e')](_0x5a1aef);return _0x20d484;}),_0x49fc42['conversion']['for']('editingDowncast')[_0x60fb('0x85')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4dd092,_0x148c12)=>_0x464cf9(_0x4dd092),'converterPriority':_0x60fb('0x64')}),_0x49fc42[_0x60fb('0x65')][_0x60fb('0xf')](_0x60fb('0x30'))[_0x60fb('0x85')]({'model':_0x60fb('0x3e'),'view':(_0x53f18a,_0x32db4d)=>_0x32db4d[_0x60fb('0x6')][_0x60fb('0x21')]?_0x464cf9(_0x53f18a,!0x1):null,'converterPriority':_0x60fb('0x64')});const _0x19be36=_0x49fc42[_0x60fb('0x94')]['view'];this['listenTo'](_0x19be36['document'],_0x60fb('0x4d'),(_0x51759f,_0x3906a6)=>{const _0x1bbf2e=[];for(const _0x5630e9 of _0x19be36[_0x60fb('0x34')](_0x3906a6['content'])[_0x60fb('0x58')]())_0x5630e9['is'](_0x60fb('0x74'),_0x60fb('0x1'))&&_0x1bbf2e[_0x60fb('0x31')](_0x5630e9);_0x19be36[_0x60fb('0x25')](_0x1256ca=>{for(const _0x9f20f2 of _0x1bbf2e)_0x1256ca[_0x60fb('0x35')](_0x1256ca[_0x60fb('0x34')](_0x9f20f2),_0x1256ca[_0x60fb('0x18')](_0x9f20f2)),_0x1256ca['remove'](_0x9f20f2);});});}}function ge(_0x1c0443){if(_0x1c0443[_0x60fb('0x2d')])return!0x0;const _0x52aebc=_0x1c0443[_0x60fb('0x6c')](0x0);return _0x52aebc['is'](_0x60fb('0x74'),_0x60fb('0xd'))&&_0x52aebc[_0x60fb('0x2d')];}function de(_0x40f6cb,_0x4ef5cc={},_0x21a534){for(const {isAnchor:_0x2bbc31,cellHeight:_0x53a932,cellWidth:_0x5dd3fb}of _0x21a534['createTableWalker'](_0x40f6cb,{'includeAllSlots':!0x0,..._0x4ef5cc}))if(!_0x2bbc31||0x1!=_0x53a932||0x1!=_0x5dd3fb)return!0x1;return!0x0;}
|
|
23
|
+
function _0x576f(){const _0x459aa5=['_suggestionFactory','rows','removeMarkers','end','14bQjunQ','TableClipboard','model','getChild','batch','createPositionBefore','tableCellHorizontalAlignment','has','markMultiRangeBlockFormat','some','insertionRanges','getChildren','902310OIzxnJ','ck-suggestion-marker--active','getSuggestionCallback','for','set','wrap','getRange','388860WocyYc','subType','getColumns','insertRows','tableCellBorderColor','forEach','deletionRanges','$graveyard','getTableIfOnlyTableInContent','suggestion-td','table','previousSibling','from','TableUtils','setAttributes','1524YuJiLA','change','getItems','ck-suggestion-marker','_splitMarkerName','2900028KrMbMT','columnInsertionRanges','includes','tablePasteChainId','element','move','suggestionUnloaded','dataDowncast','hasSuggestion','requires','suggestion','isEqual','markMultiRangeInsertion','_replaceTableSlotCell','tablePasteColumn','markerAttributes','showSuggestionHighlights','tablePasteRow','call','options','name','markerToHighlight','column','redo','ck-suggestion-marker-insertion','Users','root','getContainedElement','get','getSuggestion','endRow','map','clipboardOutput','tableCellBackgroundColor','insertion','deletion','*Replace\x20table\x20cells*','document','registerPostFixer','markers','_isForcedDefaultExecutionBlock','keys','_tablePostFixingSubtypes','editingDowncast','commands','createRange','updateMarker','suggestion:formatBlock:tablePasteCell','selection','tablePaste','author','insertContent','378CvWSza','accept','cells','removeRows','listenTo','insertColumns','find','_createdBatches','view','nodeAfter','createRangeIn','tableCell','_descriptionFactory','paragraph','getColumnIndexes','formatBlock','documentSelection','locale','editor','detach','endColumn','unwrap','fromEntries','register','activeMarkers','TrackChangesEditing','push','registerCustomCallback','columnInsertionIndexes','stop','setAttribute','getAttributes','oldRange','6203695YiKGxn','getMarkers','1568778FRYUWL','afterInit','tableCellPadding','type','tableCellVerticalAlignment','remove','isEmpty','getRows','return','rowInsertionIndexes','containsRange','previous','registerDescriptionCallback','removeColumns','nextSibling','join','tableCellBorderStyle','plugins','createTableWalker','7452fFvYJi','row','high','discard','last','getSelectionAffectedTableCells','getShiftedBy','differ','first','fromRange','markerName','value','createRangeOn','length','content','attributes','6272QABGbe','trackChanges','getSuggestions','getAllAdjacentSuggestions','findAncestor','insert','forceDefaultExecution','getRanges','next','schema','getRowIndexes','low','suggestionLoaded','rootName','position','editing','every','rowInsertionRanges','columns','tableCellSuggestion','newRange','getChanges','cell','conversion','isInContent','_getCoordsForCells','add','reduce','markMultiRangeDeletion','createElement','getChangedMarkers','entries','tableCellBorderWidth','fill','tablePasteCell','start','filter','elementToElement','startsWith','removeMarker'];_0x576f=function(){return _0x459aa5;};return _0x576f();}const _0x557f17=_0x273a;(function(_0x26e07b,_0x18ad6c){const _0x3643ef=_0x273a,_0x30780f=_0x26e07b();while(!![]){try{const _0x22fe71=parseInt(_0x3643ef(0x182))/0x1+parseInt(_0x3643ef(0x1f8))/0x2+parseInt(_0x3643ef(0x195))/0x3*(parseInt(_0x3643ef(0x1f3))/0x4)+-parseInt(_0x3643ef(0x180))/0x5+-parseInt(_0x3643ef(0x1dd))/0x6+-parseInt(_0x3643ef(0x1d1))/0x7*(-parseInt(_0x3643ef(0x1a5))/0x8)+-parseInt(_0x3643ef(0x15f))/0x9*(parseInt(_0x3643ef(0x1e4))/0xa);if(_0x22fe71===_0x18ad6c)break;else _0x30780f['push'](_0x30780f['shift']());}catch(_0x126147){_0x30780f['push'](_0x30780f['shift']());}}}(_0x576f,0xe615c));import{getTranslation as _0x44b018}from'../utils/common-translations.js';import{Plugin as _0x12cb36}from'ckeditor5/src/core.js';import{LiveRange as _0x3fb28b}from'ckeditor5/src/engine.js';function _0x273a(_0x58728a,_0x2fa2c5){const _0x576f73=_0x576f();return _0x273a=function(_0x273acf,_0x49d48f){_0x273acf=_0x273acf-0x137;let _0x4c26a7=_0x576f73[_0x273acf];return _0x4c26a7;},_0x273a(_0x58728a,_0x2fa2c5);}import{uid as _0x48ab04,priorities as _0x191c41}from'ckeditor5/src/utils.js';import _0x4c7682 from'./table.js';const be=[_0x557f17(0x1c5),_0x557f17(0x1e8),_0x557f17(0x192),_0x557f17(0x1d7),_0x557f17(0x186),_0x557f17(0x14c),_0x557f17(0x184)],de=Object[_0x557f17(0x175)](be[_0x557f17(0x14a)](_0x3e439f=>[_0x3e439f,null]));export default class At extends _0x12cb36{static get[_0x557f17(0x201)](){return[_0x4c7682];}[_0x557f17(0x183)](){const _0x13bc39=_0x557f17,_0x544dfa=this[_0x13bc39(0x171)];if(!_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x1d8)](_0x13bc39(0x1d2)))return;const _0x33fa7c=_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x147)](_0x13bc39(0x178)),_0x41dd7b=_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x147)](_0x13bc39(0x1f1)),_0x38fe46=_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x147)](_0x4c7682),_0x4a541e=_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x147)](_0x13bc39(0x1d2));_0x38fe46[_0x13bc39(0x155)][_0x13bc39(0x179)](_0x13bc39(0x13c),_0x13bc39(0x139)),_0x544dfa[_0x13bc39(0x1d3)][_0x13bc39(0x1ae)][_0x13bc39(0x176)](_0x13bc39(0x1b8),{'allowIn':_0x13bc39(0x16a),'allowContentOf':_0x13bc39(0x16a),'isLimit':!0x0}),_0x544dfa[_0x13bc39(0x1bc)][_0x13bc39(0x1ca)]({'model':_0x13bc39(0x1b8),'view':_0x13bc39(0x1ed)});let _0x1f80fd=null;_0x544dfa[_0x13bc39(0x1d3)]['on'](_0x13bc39(0x15e),(_0x325163,_0x1a086d)=>{const _0x56ee10=_0x13bc39,[_0x3acbe3,_0x3e6934]=_0x1a086d,_0xe806e1=_0x1a086d[_0x1a086d[_0x56ee10(0x1a2)]-0x1];_0xe806e1&&_0xe806e1[_0x56ee10(0x1ab)]||_0x33fa7c[_0x56ee10(0x153)]||this[_0x56ee10(0x171)][_0x56ee10(0x157)][_0x56ee10(0x147)](_0x56ee10(0x1a6))[_0x56ee10(0x1a0)]&&function(_0x3b9f67,_0x2b57f7,_0x5d00e0,_0x262ace,_0x9c966e){const _0x3425dd=_0x56ee10;if(_0x2b57f7&&!_0x2b57f7['is'](_0x3425dd(0x16f)))return!0x1;const _0x3f3546=_0x9c966e[_0x3425dd(0x1ec)](_0x3b9f67,_0x5d00e0);if(!_0x3f3546||!me(_0x3f3546,void 0x0,_0x262ace))return!0x1;const _0x32c351=_0x262ace[_0x3425dd(0x19a)](_0x5d00e0[_0x3425dd(0x150)][_0x3425dd(0x15b)]);if(!_0x32c351[_0x3425dd(0x1a2)])return!0x1;const _0x5c6808=_0x32c351[0x0][_0x3425dd(0x1a9)](_0x3425dd(0x1ee)),_0x361984=_0x262ace[_0x3425dd(0x1af)](_0x32c351),_0x386ad6=_0x262ace[_0x3425dd(0x16d)](_0x32c351),_0x29b0d7={'startRow':_0x361984[_0x3425dd(0x19d)],'endRow':_0x361984[_0x3425dd(0x199)],'startColumn':_0x386ad6[_0x3425dd(0x19d)],'endColumn':_0x386ad6[_0x3425dd(0x199)]};return 0x1==_0x32c351[_0x3425dd(0x1a2)]&&(_0x29b0d7[_0x3425dd(0x149)]+=_0x262ace[_0x3425dd(0x189)](_0x3f3546)-0x1,_0x29b0d7[_0x3425dd(0x173)]+=_0x262ace[_0x3425dd(0x1e6)](_0x3f3546)-0x1),me(_0x5c6808,_0x29b0d7,_0x262ace);}(_0x3acbe3,_0x3e6934,_0x544dfa[_0x56ee10(0x1d3)],_0x41dd7b,_0x4a541e)&&(_0x325163[_0x56ee10(0x17c)](),_0x1f80fd={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x544dfa[_0x56ee10(0x1d3)][_0x56ee10(0x1f4)](()=>{const _0x27eebf=_0x56ee10;_0x544dfa[_0x27eebf(0x1d3)][_0x27eebf(0x15e)](_0x1a086d[0x0],_0x1a086d[0x1],_0x1a086d[0x2],{'forceDefaultExecution':!0x0});const _0x1ecc8d=_0x48ab04(),{rowInsertionRanges:_0x10d6d5,columnInsertionRanges:_0x2b43a9,insertionRanges:_0x119a13,deletionRanges:_0x419599,cells:_0x346752}=_0x1f80fd;_0x10d6d5[_0x27eebf(0x1a2)]&&_0x33fa7c[_0x27eebf(0x137)](_0x10d6d5,_0x27eebf(0x13c),{'tablePasteChainId':_0x1ecc8d}),_0x2b43a9[_0x27eebf(0x1a2)]&&_0x33fa7c[_0x27eebf(0x137)](_0x2b43a9,_0x27eebf(0x139),{'tablePasteChainId':_0x1ecc8d}),_0x119a13[_0x27eebf(0x1a2)]&&(_0x33fa7c[_0x27eebf(0x137)](_0x119a13,_0x27eebf(0x15c),{'tablePasteChainId':_0x1ecc8d,'skipNestingCheck':!0x0}),_0x119a13[_0x27eebf(0x1e9)](_0x294fd6=>{const _0x7a811d=_0x27eebf;var _0x501250;return null===(_0x501250=_0x294fd6[_0x7a811d(0x172)])||void 0x0===_0x501250?void 0x0:_0x501250[_0x7a811d(0x13d)](_0x294fd6);})),_0x419599[_0x27eebf(0x1a2)]&&(_0x33fa7c[_0x27eebf(0x1c1)](_0x419599,_0x27eebf(0x15c),{'tablePasteChainId':_0x1ecc8d,'skipNestingCheck':!0x0}),_0x419599[_0x27eebf(0x1e9)](_0x32ec46=>{const _0x5edfea=_0x27eebf;var _0x7a6fd6;return null===(_0x7a6fd6=_0x32ec46[_0x5edfea(0x172)])||void 0x0===_0x7a6fd6?void 0x0:_0x7a6fd6[_0x5edfea(0x13d)](_0x32ec46);}));const _0x140f05=_0x33fa7c[_0x27eebf(0x1d9)](_0x346752[_0x27eebf(0x14a)](({element:_0xa06fe5})=>_0xa06fe5),{'formatGroupId':_0x48ab04()},[],_0x27eebf(0x1c7),{'tablePasteChainId':_0x1ecc8d});if(_0x140f05){const _0x564da5=_0x140f05[_0x27eebf(0x181)](),_0xac82c2=[];for(const {element:_0x11c09d,attributes:_0x323b71}of _0x346752){if(!_0x323b71)continue;const _0x5a969c=_0x544dfa[_0x27eebf(0x1d3)][_0x27eebf(0x1a1)](_0x11c09d),_0x370784=_0x564da5[_0x27eebf(0x165)](_0x39359d=>_0x39359d[_0x27eebf(0x1e3)]()[_0x27eebf(0x203)](_0x5a969c));_0x370784&&_0xac82c2[_0x27eebf(0x179)]([_0x370784[_0x27eebf(0x13f)],_0x323b71]);}_0xac82c2[_0x27eebf(0x1a2)]&&_0x140f05[_0x27eebf(0x17d)](_0x27eebf(0x13a),Object[_0x27eebf(0x175)](_0xac82c2));}_0x1f80fd=null;}));},{'priority':_0x191c41[_0x13bc39(0x197)]+0xa}),_0x544dfa[_0x13bc39(0x193)][_0x13bc39(0x147)](_0x13bc39(0x1d2))['on'](_0x13bc39(0x138),(_0x462fe9,_0x5285d9)=>{const _0xf4cae5=_0x13bc39,[_0x4da902,_0x31f1ae,,_0x128559]=_0x5285d9;if(!_0x1f80fd)return;_0x462fe9[_0xf4cae5(0x17c)]();const _0x1f2d03=_0x4da902[_0xf4cae5(0x1bb)],_0x9bc256=_0x31f1ae,_0x19c274=ge(_0x1f2d03),_0x515928=ge(_0x9bc256);_0x462fe9[_0xf4cae5(0x18a)]=_0x1f2d03;let _0x3f5fe2=null,_0x4d7aa9=null;if(_0x515928||_0x19c274){if(_0x19c274&&!_0x515928){_0x128559[_0xf4cae5(0x187)](_0x1f2d03[_0xf4cae5(0x1d4)](0x0));for(const _0x56c4d4 of Array[_0xf4cae5(0x1f0)](_0x9bc256[_0xf4cae5(0x1dc)]()))_0x128559[_0xf4cae5(0x1aa)](_0x56c4d4,_0x1f2d03,_0xf4cae5(0x1d0));const _0x3cb2fa=_0x1f80fd[_0xf4cae5(0x18b)][_0xf4cae5(0x1fa)](_0x4da902[_0xf4cae5(0x196)]),_0x2ed55b=_0x1f80fd[_0xf4cae5(0x17b)][_0xf4cae5(0x1fa)](_0x4da902[_0xf4cae5(0x141)]);_0x3cb2fa||_0x2ed55b||(_0x3f5fe2=_0x3fb28b[_0xf4cae5(0x19e)](_0x128559[_0xf4cae5(0x169)](_0x1f2d03)));}else _0x515928&&!_0x19c274&&(_0x4d7aa9=_0x128559[_0xf4cae5(0x169)](_0x1f2d03));}else{const _0x2b3390=_0x128559[_0xf4cae5(0x1c2)](_0xf4cae5(0x1b8)),_0x1f1f7b=_0x128559[_0xf4cae5(0x1c2)](_0xf4cae5(0x1b8));_0x128559[_0xf4cae5(0x1e2)](_0x128559[_0xf4cae5(0x169)](_0x1f2d03),_0x1f1f7b),_0x128559[_0xf4cae5(0x1aa)](_0x2b3390,_0x1f2d03,0x0);for(const _0x287412 of Array[_0xf4cae5(0x1f0)](_0x9bc256[_0xf4cae5(0x1dc)]()))_0x128559[_0xf4cae5(0x1aa)](_0x287412,_0x2b3390,_0xf4cae5(0x1d0));_0x3f5fe2=_0x3fb28b[_0xf4cae5(0x19e)](_0x128559[_0xf4cae5(0x1a1)](_0x2b3390)),_0x4d7aa9=_0x3fb28b[_0xf4cae5(0x19e)](_0x128559[_0xf4cae5(0x1a1)](_0x1f1f7b));}const _0x7d4623=Array[_0xf4cae5(0x1f0)](_0x9bc256[_0xf4cae5(0x17e)]())[_0xf4cae5(0x1c9)](([_0x18441c])=>be[_0xf4cae5(0x1fa)](_0x18441c));_0x1f80fd[_0xf4cae5(0x161)][_0xf4cae5(0x179)]({'element':_0x1f2d03,'attributes':_0x7d4623[_0xf4cae5(0x1a2)]?Object[_0xf4cae5(0x175)](_0x7d4623):null}),_0x3f5fe2&&_0x1f80fd[_0xf4cae5(0x1db)][_0xf4cae5(0x179)](_0x3f5fe2),_0x4d7aa9&&_0x1f80fd[_0xf4cae5(0x1ea)][_0xf4cae5(0x179)](_0x4d7aa9);},{'priority':_0x13bc39(0x197)}),_0x41dd7b['on'](_0x13bc39(0x164),(_0x497047,_0xd50bb8)=>{const _0x4a6706=_0x13bc39,[_0x56e5ee,_0x345b0a={}]=_0xd50bb8;if(!_0x1f80fd)return;const _0x5ec41a=_0x345b0a['at']||0x0,_0x2d4009=_0x345b0a[_0x4a6706(0x1b7)]||0x1;_0x1f80fd[_0x4a6706(0x17b)]=new Array(_0x2d4009)[_0x4a6706(0x1c6)](_0x5ec41a)[_0x4a6706(0x14a)]((_0x4548ad,_0x53e9e4)=>_0x4548ad+_0x53e9e4);for(const {cell:_0x3d9086}of _0x41dd7b[_0x4a6706(0x194)](_0x56e5ee,{'startColumn':_0x5ec41a,'endColumn':_0x5ec41a+_0x2d4009-0x1}))_0x1f80fd[_0x4a6706(0x1f9)][_0x4a6706(0x179)](_0x544dfa[_0x4a6706(0x1d3)][_0x4a6706(0x1a1)](_0x3d9086));},{'priority':_0x13bc39(0x1b0)}),_0x41dd7b['on'](_0x13bc39(0x1e7),(_0x3eee0c,_0x3b7207)=>{const _0x5a206b=_0x13bc39,[_0x547a60,_0x38f753={}]=_0x3b7207;if(!_0x1f80fd)return;const _0x163407=_0x38f753['at']||0x0,_0x3c30f2=_0x38f753[_0x5a206b(0x1ce)]||0x1;_0x1f80fd[_0x5a206b(0x18b)]=new Array(_0x3c30f2)[_0x5a206b(0x1c6)](_0x163407)[_0x5a206b(0x14a)]((_0x3ffa75,_0x234714)=>_0x3ffa75+_0x234714);for(const {cell:_0x4a0079}of _0x41dd7b[_0x5a206b(0x194)](_0x547a60,{'startRow':_0x163407,'endRow':_0x163407+_0x3c30f2-0x1}))_0x1f80fd[_0x5a206b(0x1b6)][_0x5a206b(0x179)](_0x544dfa[_0x5a206b(0x1d3)][_0x5a206b(0x1a1)](_0x4a0079));},{'priority':_0x13bc39(0x1b0)}),_0x33fa7c[_0x13bc39(0x16b)][_0x13bc39(0x18e)](_0x304d83=>{const _0x4df611=_0x13bc39;if(_0x304d83[_0x4df611(0x1e5)]&&_0x304d83[_0x4df611(0x1e5)][_0x4df611(0x1cb)](_0x4df611(0x15c)))return _0x304d83[_0x4df611(0x18d)]?{}:{'type':_0x4df611(0x14d),'content':_0x44b018(_0x544dfa[_0x4df611(0x170)],_0x4df611(0x14f))};});const _0x6fec43=()=>!0x1;for(const _0x553f2c of[_0x13bc39(0x15c),_0x13bc39(0x139),_0x13bc39(0x13c),_0x13bc39(0x1c7)])_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x14d),_0x553f2c,_0x13bc39(0x191),_0x6fec43),_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x14e),_0x553f2c,_0x13bc39(0x191),_0x6fec43),_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x16e),_0x553f2c,_0x13bc39(0x191),_0x6fec43);_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x16e),_0x13bc39(0x1c7),_0x13bc39(0x198),_0x6fec43),_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x16e),_0x13bc39(0x1c7),_0x13bc39(0x160),(_0x2a1b0d,_0x1bc9d1,_0x12d70b)=>{const _0x51d3d5=_0x13bc39,_0x992280=_0x2a1b0d[_0x51d3d5(0x14a)](_0x3d9d17=>_0x3d9d17[_0x51d3d5(0x146)]())[_0x51d3d5(0x1c9)](_0x25b639=>_0x25b639),_0x41e09f=new Map(_0x992280[_0x51d3d5(0x14a)](_0x524050=>[_0x524050,null]));if(_0x1f80fd){for(const {element:_0x18aa67,attributes:_0x1b266b}of _0x1f80fd[_0x51d3d5(0x161)])_0x1b266b&&_0x41e09f[_0x51d3d5(0x1e1)](_0x18aa67,_0x1b266b);}else{if(_0x12d70b&&_0x12d70b[_0x51d3d5(0x13a)])for(const [_0xed213d,_0x3c0585]of Object[_0x51d3d5(0x1c4)](_0x12d70b[_0x51d3d5(0x13a)])){const _0x93b119=_0x544dfa[_0x51d3d5(0x1d3)][_0x51d3d5(0x152)][_0x51d3d5(0x147)](_0xed213d),_0x4c9629=_0x93b119?_0x93b119[_0x51d3d5(0x1e3)]()[_0x51d3d5(0x146)]():null;_0x4c9629&&_0x41e09f[_0x51d3d5(0x1e1)](_0x4c9629,_0x3c0585);}}_0x544dfa[_0x51d3d5(0x1d3)][_0x51d3d5(0x1f4)](_0x58a2d7=>{const _0x4a9a05=_0x51d3d5;for(const [_0x7fca17,_0x43202a]of _0x41e09f)_0x58a2d7[_0x4a9a05(0x1f2)]({...de,..._0x43202a},_0x7fca17);});});const _0x3b71a1=(_0x3f4740,_0x31f3d2)=>{const _0x1208a9=_0x13bc39;_0x33fa7c[_0x1208a9(0x1cd)][_0x1208a9(0x17a)](_0x3f4740,_0x1208a9(0x15c),_0x31f3d2,(_0xf103d0,_0x146e70,_0x51a1b3)=>{const _0x3f7f3d=_0x1208a9;_0x544dfa[_0x3f7f3d(0x1d3)][_0x3f7f3d(0x1f4)](_0x1d0577=>{const _0x39449c=_0x3f7f3d,_0x315808=[];for(const _0x5324a9 of _0xf103d0){const _0x553cf4=_0x5324a9[_0x39449c(0x1c8)][_0x39449c(0x168)];_0x553cf4['is'](_0x39449c(0x1fc),_0x39449c(0x1b8))&&_0x315808[_0x39449c(0x179)](_0x553cf4);}_0x33fa7c[_0x39449c(0x1cd)][_0x39449c(0x1df)](_0x3f4740,null,_0x31f3d2)(_0xf103d0,_0x146e70,_0x51a1b3);for(const _0x995b35 of _0x315808)_0x39449c(0x1eb)!=_0x995b35[_0x39449c(0x145)][_0x39449c(0x1b2)]&&_0x1d0577[_0x39449c(0x174)](_0x995b35);});});};_0x3b71a1(_0x13bc39(0x14d),_0x13bc39(0x160)),_0x3b71a1(_0x13bc39(0x14d),_0x13bc39(0x198)),_0x3b71a1(_0x13bc39(0x14e),_0x13bc39(0x160)),_0x3b71a1(_0x13bc39(0x14e),_0x13bc39(0x198)),_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x14d),_0x13bc39(0x13c),_0x13bc39(0x198),_0x532456=>{const _0x8dc050=_0x13bc39,_0x409808=_0x532456[_0x8dc050(0x14a)](_0x4b2703=>_0x4b2703[_0x8dc050(0x146)]()),_0x3c8e44=_0x409808[0x0][_0x8dc050(0x1a9)](_0x8dc050(0x1ee)),{minRow:_0x5ae84f,maxRow:_0x1900d4}=_0x38fe46[_0x8dc050(0x1be)](_0x409808);_0x41dd7b[_0x8dc050(0x162)](_0x3c8e44,{'at':_0x5ae84f,'rows':_0x1900d4-_0x5ae84f+0x1});}),_0x33fa7c[_0x13bc39(0x1cd)][_0x13bc39(0x17a)](_0x13bc39(0x14d),_0x13bc39(0x139),_0x13bc39(0x198),_0x50a64a=>{const _0x4b123b=_0x13bc39,_0x4bdd34=_0x50a64a[_0x4b123b(0x14a)](_0x4e41aa=>_0x4e41aa[_0x4b123b(0x146)]()),_0x2e0ef2=_0x4bdd34[0x0][_0x4b123b(0x1a9)](_0x4b123b(0x1ee)),{minColumn:_0xe686d7,maxColumn:_0x3ed742}=_0x38fe46[_0x4b123b(0x1be)](_0x4bdd34);_0x41dd7b[_0x4b123b(0x18f)](_0x2e0ef2,{'at':_0xe686d7,'columns':_0x3ed742-_0xe686d7+0x1});});const _0x31d68a=(_0x46fc13,_0x255bd1)=>{const _0x3a4473=_0x13bc39;if(!_0x255bd1[_0x3a4473(0x1e5)]||!_0x255bd1[_0x3a4473(0x1e5)][_0x3a4473(0x1cb)](_0x3a4473(0x15c)))return;const _0x361d52=_0x255bd1[_0x3a4473(0x1a4)][_0x3a4473(0x1fb)],_0x44b4c1=_0x33fa7c[_0x3a4473(0x1a7)]()[_0x3a4473(0x1c9)](_0x2d1da3=>_0x2d1da3[_0x3a4473(0x1bd)]&&_0x2d1da3[_0x3a4473(0x1a4)]&&_0x2d1da3[_0x3a4473(0x1a4)][_0x3a4473(0x1fb)]==_0x361d52);_0x44b4c1[_0x3a4473(0x1a2)]&&_0x255bd1[_0x3a4473(0x1a8)]()[_0x3a4473(0x1a2)]!=_0x44b4c1[_0x3a4473(0x1a2)]&&_0x44b4c1[_0x3a4473(0x1c0)]((_0x814def,_0x4a4c62)=>(_0x814def[_0x3a4473(0x1ad)]=_0x4a4c62,_0x4a4c62[_0x3a4473(0x18d)]=_0x814def,_0x4a4c62));};function _0x35b07c(_0x2cf949,_0x27fba6=!0x0){const _0x11cd1c=_0x13bc39,{id:_0x473228}=_0x33fa7c[_0x11cd1c(0x1f7)](_0x2cf949[_0x11cd1c(0x19f)]),_0x49cc44=[_0x11cd1c(0x1f6),_0x11cd1c(0x143)],_0x2dad7c=_0x33fa7c[_0x11cd1c(0x177)][_0x11cd1c(0x1fa)](_0x2cf949[_0x11cd1c(0x19f)]);return _0x2dad7c&&_0x49cc44[_0x11cd1c(0x179)](_0x11cd1c(0x1de)),{'classes':_0x49cc44,'attributes':{'data-suggestion':_0x473228},'priority':_0x2dad7c&&_0x27fba6?0xbc2:0xbb8};}_0x33fa7c['on'](_0x13bc39(0x1b1),_0x31d68a,{'priority':_0x13bc39(0x197)}),_0x33fa7c['on'](_0x13bc39(0x1fe),_0x31d68a,{'priority':_0x13bc39(0x197)}),_0x544dfa[_0x13bc39(0x1d3)][_0x13bc39(0x150)][_0x13bc39(0x151)](()=>{const _0x1ecb30=_0x13bc39;let _0x491b34=!0x1;const _0x3e9f7f=Array[_0x1ecb30(0x1f0)](_0x544dfa[_0x1ecb30(0x1d3)][_0x1ecb30(0x150)][_0x1ecb30(0x19c)][_0x1ecb30(0x1c3)]());for(const {name:_0x1f4570,data:_0x109b92}of _0x3e9f7f){const {group:_0xc140a7,type:_0x2f6bdf,id:_0x8d2792}=_0x33fa7c[_0x1ecb30(0x1f7)](_0x1f4570);if(_0x1ecb30(0x202)!=_0xc140a7||_0x1ecb30(0x14e)!=_0x2f6bdf||_0x109b92[_0x1ecb30(0x17f)])continue;if(!_0x33fa7c[_0x1ecb30(0x200)](_0x8d2792))continue;const _0xf5510c=_0x33fa7c[_0x1ecb30(0x148)](_0x8d2792)[_0x1ecb30(0x1ac)](),_0x5a25ba=_0x544dfa[_0x1ecb30(0x193)][_0x1ecb30(0x147)](_0x1ecb30(0x144))['me'];for(const _0x129003 of _0x33fa7c[_0x1ecb30(0x1a7)]()){if(!_0x129003[_0x1ecb30(0x1bd)]||_0x129003[_0x1ecb30(0x15d)]!=_0x5a25ba)continue;if(_0x1ecb30(0x16e)!=_0x129003[_0x1ecb30(0x185)]||_0x1ecb30(0x1c7)!=_0x129003[_0x1ecb30(0x1e5)])continue;if(_0x129003[_0x1ecb30(0x1ac)]()[_0x1ecb30(0x1b5)](_0x3cc3b3=>_0xf5510c[_0x1ecb30(0x1da)](_0x58cdc5=>_0x58cdc5[_0x1ecb30(0x18c)](_0x3cc3b3,!0x0)))){for(const _0x5bb26c of _0x129003[_0x1ecb30(0x1a8)]())_0x5bb26c[_0x1ecb30(0x1bd)]&&(_0x5bb26c[_0x1ecb30(0x198)](),_0x491b34=!0x0);}}}return _0x491b34;}),_0x544dfa[_0x13bc39(0x1d3)][_0x13bc39(0x150)][_0x13bc39(0x151)](_0x2f2d70=>{const _0x5daf66=_0x13bc39,_0x35ae6b=_0x544dfa[_0x5daf66(0x157)][_0x5daf66(0x147)](_0x5daf66(0x142));if(!_0x35ae6b||!_0x35ae6b[_0x5daf66(0x166)][_0x5daf66(0x1d8)](_0x2f2d70[_0x5daf66(0x1d5)]))return!0x1;let _0x4aa365=!0x1;const _0x43dcec=_0x544dfa[_0x5daf66(0x193)][_0x5daf66(0x147)](_0x5daf66(0x144))['me'],_0x3eb54a=_0x544dfa[_0x5daf66(0x1d3)][_0x5daf66(0x150)][_0x5daf66(0x19c)][_0x5daf66(0x1ba)](),_0x2649bc=Array[_0x5daf66(0x1f0)](_0x544dfa[_0x5daf66(0x1d3)][_0x5daf66(0x150)][_0x5daf66(0x19c)][_0x5daf66(0x1c3)]())[_0x5daf66(0x1c9)](({name:_0x34ddec,data:_0x5e6829})=>{const _0x35bf8c=_0x5daf66,{group:_0x325f20,subType:_0x489a6c,authorId:_0x59b12e}=_0x33fa7c[_0x35bf8c(0x1f7)](_0x34ddec);return _0x35bf8c(0x202)==_0x325f20&&_0x35bf8c(0x15c)==_0x489a6c&&_0x59b12e==_0x43dcec['id']&&!_0x5e6829[_0x35bf8c(0x17f)];});for(const _0x51f85a of _0x3eb54a){if(_0x5daf66(0x1aa)!=_0x51f85a[_0x5daf66(0x185)]||_0x5daf66(0x1b8)!=_0x51f85a[_0x5daf66(0x13f)]||0x1!=_0x51f85a[_0x5daf66(0x1a2)])continue;const _0x1cbb5e=_0x2f2d70[_0x5daf66(0x158)](_0x51f85a[_0x5daf66(0x1b3)],_0x51f85a[_0x5daf66(0x1b3)][_0x5daf66(0x19b)](0x1));if(!_0x2649bc[_0x5daf66(0x165)](({data:_0x415424})=>_0x415424[_0x5daf66(0x1b9)][_0x5daf66(0x203)](_0x1cbb5e))){for(const {name:_0x108361,data:_0x347e57}of _0x2649bc)if(_0x1cbb5e[_0x5daf66(0x18c)](_0x347e57[_0x5daf66(0x1b9)])){_0x2f2d70[_0x5daf66(0x159)](_0x108361,{'range':_0x1cbb5e}),_0x4aa365=!0x0;break;}}}return _0x4aa365;}),_0x544dfa[_0x13bc39(0x1d3)][_0x13bc39(0x150)][_0x13bc39(0x151)](_0x9e627c=>{const _0x4d1306=_0x13bc39;let _0x526167=!0x1;const _0x34b279=_0x544dfa[_0x4d1306(0x193)][_0x4d1306(0x147)](_0x4d1306(0x144))['me'],_0x1b743d=_0x33fa7c[_0x4d1306(0x1a7)]()[_0x4d1306(0x1c9)](_0x10195e=>_0x10195e[_0x4d1306(0x1bd)]&&_0x10195e[_0x4d1306(0x15d)]==_0x34b279),_0x4b04f2=new Set(),_0x50d3d6=new Set();for(const _0x5bc37e of _0x1b743d)if(_0x4d1306(0x15c)==_0x5bc37e[_0x4d1306(0x1e5)])for(const _0x59b5dd of _0x5bc37e[_0x4d1306(0x181)]()){const _0x12f76c=_0x59b5dd[_0x4d1306(0x1e3)]()[_0x4d1306(0x146)]();if(_0x12f76c){if(_0x12f76c['is'](_0x4d1306(0x1fc),_0x4d1306(0x1b8))&&ge(_0x12f76c)){_0x5bc37e[_0x4d1306(0x1cc)](_0x59b5dd[_0x4d1306(0x13f)]),_0x4b04f2[_0x4d1306(0x1bf)](_0x12f76c),_0x526167=!0x0;const _0x5cceb3=_0x12f76c[_0x4d1306(0x190)],_0x26a3c5=_0x12f76c[_0x4d1306(0x1ef)],_0x562016=_0x5cceb3&&_0x5cceb3['is'](_0x4d1306(0x1fc),_0x4d1306(0x1b8)),_0xd57dc=_0x26a3c5&&_0x26a3c5['is'](_0x4d1306(0x1fc),_0x4d1306(0x1b8));_0x562016&&!_0x4b04f2[_0x4d1306(0x1d8)](_0x5cceb3)&&_0x50d3d6[_0x4d1306(0x1bf)](_0x5cceb3),_0xd57dc&&!_0x4b04f2[_0x4d1306(0x1d8)](_0x26a3c5)&&_0x50d3d6[_0x4d1306(0x1bf)](_0x26a3c5);}else _0x12f76c['is'](_0x4d1306(0x1fc),_0x4d1306(0x16c))&&_0x12f76c[_0x4d1306(0x188)]&&(_0x5bc37e[_0x4d1306(0x1cc)](_0x59b5dd[_0x4d1306(0x13f)]),_0x526167=!0x0);}}else{if(_0x4d1306(0x1c7)==_0x5bc37e[_0x4d1306(0x1e5)]){if(!_0x5bc37e[_0x4d1306(0x1a4)]||!_0x5bc37e[_0x4d1306(0x1a4)][_0x4d1306(0x1fb)])continue;const _0x53e25d=_0x5bc37e[_0x4d1306(0x1a4)][_0x4d1306(0x13a)];if(_0x53e25d&&Object[_0x4d1306(0x154)](_0x53e25d)[_0x4d1306(0x1a2)])continue;const _0x12bbcb=_0x5bc37e[_0x4d1306(0x1a4)][_0x4d1306(0x1fb)];let _0x4a8244=!0x0,_0x25f307=!0x0;for(const _0x20020d of _0x1b743d)if(_0x20020d[_0x4d1306(0x1e5)]&&_0x20020d[_0x4d1306(0x1e5)][_0x4d1306(0x1cb)](_0x4d1306(0x15c))){if(!_0x20020d[_0x4d1306(0x1a4)][_0x4d1306(0x1fb)]){_0x25f307=!0x1;break;}if(_0x20020d['id']!=_0x5bc37e['id']&&_0x20020d[_0x4d1306(0x1a4)][_0x4d1306(0x1fb)]==_0x12bbcb){_0x4a8244=!0x1;break;}}_0x25f307&&_0x4a8244&&(_0x5bc37e[_0x4d1306(0x1cf)](),_0x526167=!0x0);}}for(const _0x3fab21 of _0x4b04f2)_0x9e627c[_0x4d1306(0x187)](_0x3fab21);for(const _0x528695 of _0x50d3d6)_0x9e627c[_0x4d1306(0x174)](_0x528695);return _0x526167;}),_0x544dfa[_0x13bc39(0x1bc)][_0x13bc39(0x1e0)](_0x13bc39(0x156))[_0x13bc39(0x140)]({'model':_0x13bc39(0x15a),'view':(_0x2d9f33,_0x2ab736)=>_0x35b07c(_0x2d9f33),'converterPriority':_0x13bc39(0x197)}),_0x544dfa[_0x13bc39(0x1bc)][_0x13bc39(0x1e0)](_0x13bc39(0x1ff))[_0x13bc39(0x140)]({'model':_0x13bc39(0x15a),'view':(_0x47ba4c,_0x1fe152)=>_0x1fe152[_0x13bc39(0x13e)][_0x13bc39(0x13b)]?_0x35b07c(_0x47ba4c,!0x1):null,'converterPriority':_0x13bc39(0x197)});const _0x4b4b0=_0x544dfa[_0x13bc39(0x1b4)][_0x13bc39(0x167)];this[_0x13bc39(0x163)](_0x4b4b0[_0x13bc39(0x150)],_0x13bc39(0x14b),(_0x119e5f,_0x4f8059)=>{const _0x573461=_0x13bc39,_0xa2f27c=[];for(const _0x48b9b9 of _0x4b4b0[_0x573461(0x169)](_0x4f8059[_0x573461(0x1a3)])[_0x573461(0x1f5)]())_0x48b9b9['is'](_0x573461(0x1fc),_0x573461(0x1ed))&&_0xa2f27c[_0x573461(0x179)](_0x48b9b9);_0x4b4b0[_0x573461(0x1f4)](_0x539851=>{const _0x5271cd=_0x573461;for(const _0x2deedf of _0xa2f27c)_0x539851[_0x5271cd(0x1fd)](_0x539851[_0x5271cd(0x169)](_0x2deedf),_0x539851[_0x5271cd(0x1d6)](_0x2deedf)),_0x539851[_0x5271cd(0x187)](_0x2deedf);});});}}function ge(_0x195ccc){const _0x1b6ced=_0x557f17;if(_0x195ccc[_0x1b6ced(0x188)])return!0x0;const _0x46ff0d=_0x195ccc[_0x1b6ced(0x1d4)](0x0);return _0x46ff0d['is'](_0x1b6ced(0x1fc),_0x1b6ced(0x16c))&&_0x46ff0d[_0x1b6ced(0x188)];}function me(_0x15f2de,_0x2321a7={},_0x41f38b){const _0x3fc552=_0x557f17;for(const {isAnchor:_0x580a0d,cellHeight:_0x5798f7,cellWidth:_0x251a27}of _0x41f38b[_0x3fc552(0x194)](_0x15f2de,{'includeAllSlots':!0x0,..._0x2321a7}))if(!_0x580a0d||0x1!=_0x5798f7||0x1!=_0x251a27)return!0x1;return!0x0;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25cc64=_0x1def;function _0x1def(_0x29a6a3,_0x6ba2db){const _0xd2f094=_0xd2f0();return _0x1def=function(_0x1def50,_0x2eb9e0){_0x1def50=_0x1def50-0x121;let _0x28d89d=_0xd2f094[_0x1def50];return _0x28d89d;},_0x1def(_0x29a6a3,_0x6ba2db);}function _0xd2f0(){const _0x854a27=['411576oSlnZx','accept','handleSuggestionDescription','handleResizeTableWidthCommand','resizeTable','columnWidths','339azkLZB','selection','format','14735qfxwYk','4961506rmQSPC','resizeTableWidth','bind','afterInit','has','116430GrrOjI','change','data','getSuggestionCallback','type','525000CXcbmQ','36KZdTWY','216CMhtfS','_descriptionFactory','model','getSuggestions','TableColumnResizeEditing','getColumnGroupElement','enableCommand','document','Users','tableWidth','getContainedElement','subType','formatBlock','table','editor','2bbyOAq','discard','_suggestionFactory','formatInline','getSelectedElement','markBlockFormat','get','getAttribute','123520cbopjX','registerDescriptionCallback','commandParams','*Format:*\x20resize\x20table','registerCustomCallback','locale','TrackChangesEditing','formatGroupId','5956BPwaqz','getTableColumnsWidths','plugins','author'];_0xd2f0=function(){return _0x854a27;};return _0xd2f0();}(function(_0x189f1f,_0x2fbfa6){const _0x1f970c=_0x1def,_0x1077fd=_0x189f1f();while(!![]){try{const _0x263670=parseInt(_0x1f970c(0x12f))/0x1*(-parseInt(_0x1f970c(0x152))/0x2)+parseInt(_0x1f970c(0x149))/0x3*(-parseInt(_0x1f970c(0x13f))/0x4)+-parseInt(_0x1f970c(0x157))/0x5+parseInt(_0x1f970c(0x143))/0x6+parseInt(_0x1f970c(0x14c))/0x7*(parseInt(_0x1f970c(0x159))/0x8)+parseInt(_0x1f970c(0x158))/0x9*(-parseInt(_0x1f970c(0x137))/0xa)+parseInt(_0x1f970c(0x14d))/0xb;if(_0x263670===_0x2fbfa6)break;else _0x1077fd['push'](_0x1077fd['shift']());}catch(_0xa7e740){_0x1077fd['push'](_0x1077fd['shift']());}}}(_0xd2f0,0x218a6));import{Plugin as _0xa75f27}from'ckeditor5/src/core.js';import{getTranslation as _0x18a1d2}from'../utils/common-translations.js';export default class It extends _0xa75f27{[_0x25cc64(0x150)](){const _0x500ffc=_0x25cc64;if(!this[_0x500ffc(0x12e)][_0x500ffc(0x141)][_0x500ffc(0x151)](_0x500ffc(0x124)))return;const _0x554ef1=this[_0x500ffc(0x12e)][_0x500ffc(0x141)][_0x500ffc(0x135)](_0x500ffc(0x13d));_0x554ef1[_0x500ffc(0x126)](_0x500ffc(0x14e),this[_0x500ffc(0x146)][_0x500ffc(0x14f)](this)),_0x554ef1[_0x500ffc(0x131)][_0x500ffc(0x13b)](_0x500ffc(0x12c),_0x500ffc(0x147),_0x500ffc(0x144),_0x554ef1[_0x500ffc(0x131)][_0x500ffc(0x155)](_0x500ffc(0x12c),null,_0x500ffc(0x130))),_0x554ef1[_0x500ffc(0x131)][_0x500ffc(0x13b)](_0x500ffc(0x12c),_0x500ffc(0x147),_0x500ffc(0x130),_0x554ef1[_0x500ffc(0x131)][_0x500ffc(0x155)](_0x500ffc(0x12c),null,_0x500ffc(0x144))),_0x554ef1[_0x500ffc(0x121)][_0x500ffc(0x138)](this[_0x500ffc(0x145)][_0x500ffc(0x14f)](this));}[_0x25cc64(0x146)](_0x56ba93,_0x144c4a){const _0x16f3cd=_0x25cc64,_0x19dcad=this[_0x16f3cd(0x12e)][_0x16f3cd(0x141)][_0x16f3cd(0x135)](_0x16f3cd(0x13d)),_0x5029ec=this[_0x16f3cd(0x12e)][_0x16f3cd(0x141)][_0x16f3cd(0x135)](_0x16f3cd(0x124)),_0x11533f=_0x144c4a[_0x16f3cd(0x12d)]||this[_0x16f3cd(0x12e)][_0x16f3cd(0x122)][_0x16f3cd(0x127)][_0x16f3cd(0x14a)][_0x16f3cd(0x133)]();this[_0x16f3cd(0x12e)][_0x16f3cd(0x122)][_0x16f3cd(0x153)](()=>{const _0x2af159=_0x16f3cd,_0x41146f=_0x5029ec[_0x2af159(0x125)](_0x11533f);let _0x196701=_0x41146f?_0x5029ec[_0x2af159(0x140)](_0x41146f):null,_0x595552=_0x11533f[_0x2af159(0x136)](_0x2af159(0x129))||null;const _0x5d32fd=_0x144c4a[_0x2af159(0x129)]||_0x595552,_0x5448af=_0x144c4a[_0x2af159(0x148)]||_0x196701,_0x4d8e47=this[_0x2af159(0x12e)][_0x2af159(0x141)][_0x2af159(0x135)](_0x2af159(0x128))['me'];for(const _0x578dae of _0x19dcad[_0x2af159(0x123)]()){const _0x12edbf=_0x578dae[_0x2af159(0x12a)]();if(_0x2af159(0x147)===_0x578dae[_0x2af159(0x12b)]&&_0x12edbf===_0x11533f){_0x578dae[_0x2af159(0x142)]!==_0x4d8e47&&_0x578dae[_0x2af159(0x130)]();const _0x42085d=_0x578dae[_0x2af159(0x154)][_0x2af159(0x139)];_0x595552=_0x42085d[0x0][_0x2af159(0x129)],_0x196701=_0x42085d[0x0][_0x2af159(0x148)];break;}}_0x56ba93({'table':_0x11533f,'tableWidth':_0x5d32fd,'columnWidths':_0x5448af}),_0x19dcad[_0x2af159(0x134)](_0x11533f,{'commandName':_0x2af159(0x14e),'commandParams':[{'tableWidth':_0x595552,'columnWidths':_0x196701}],'formatGroupId':_0x2af159(0x147)},[],_0x2af159(0x147));});}[_0x25cc64(0x145)](_0x170c08){const _0x518054=_0x25cc64;if(_0x518054(0x12c)!=_0x170c08[_0x518054(0x156)]&&_0x518054(0x132)!=_0x170c08[_0x518054(0x156)])return;const {data:_0x1fd7e0}=_0x170c08;if(_0x1fd7e0&&_0x518054(0x147)===_0x1fd7e0[_0x518054(0x13e)]){const _0x3f186b=_0x518054(0x13a);return{'type':_0x518054(0x14b),'content':_0x18a1d2(this[_0x518054(0x12e)][_0x518054(0x13c)],_0x3f186b)};}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27f44f=_0x3473;function _0x3473(_0x44c8dd,_0x576192){const _0x4b7d47=_0x4b7d();return _0x3473=function(_0x347390,_0x1aae0f){_0x347390=_0x347390-0x8e;let _0x343c0e=_0x4b7d47[_0x347390];return _0x343c0e;},_0x3473(_0x44c8dd,_0x576192);}(function(_0x3c3dc4,_0x21cf7c){const _0x33afbd=_0x3473,_0x2e1cd6=_0x3c3dc4();while(!![]){try{const _0x5605e5=-parseInt(_0x33afbd(0xab))/0x1+parseInt(_0x33afbd(0xc1))/0x2*(-parseInt(_0x33afbd(0x9f))/0x3)+-parseInt(_0x33afbd(0x9b))/0x4*(parseInt(_0x33afbd(0xd5))/0x5)+-parseInt(_0x33afbd(0xb7))/0x6*(parseInt(_0x33afbd(0xe2))/0x7)+parseInt(_0x33afbd(0xbd))/0x8*(-parseInt(_0x33afbd(0xb6))/0x9)+-parseInt(_0x33afbd(0x9e))/0xa+-parseInt(_0x33afbd(0xd3))/0xb*(-parseInt(_0x33afbd(0xce))/0xc);if(_0x5605e5===_0x21cf7c)break;else _0x2e1cd6['push'](_0x2e1cd6['shift']());}catch(_0x2481dc){_0x2e1cd6['push'](_0x2e1cd6['shift']());}}}(_0x4b7d,0xe20a9));import{Plugin as _0x65369c}from'ckeditor5/src/core.js';function _0x4b7d(){const _0xb8ee44=['consumable','commandParams','setAttribute','FORMAT_REGULAR_COLUMN','_suggestionFactory','_enableDefaultAttributesIntegration','data','7VWKanK','headingRows','_registerLegacyDescription','_descriptionFactory','showSuggestionHighlights','_splitMarkerName','afterInit','locale','start','plugins','registerCustomCallback','stop','downcastDispatcher','end','createTableWalker','ck-suggestion-marker-','12BmVhEN','requires','data-suggestion','16489340NRQRHz','1227hFosjv','registerAttributeLabel','highest','format','forceValue','has','getCellLocation','removeClass','editor','activeMarkers','_acceptFormatSuggestionCallbackFactory','cell','1150040jiOIjS','get','ck-suggestion-marker--active','setTableRowHeader','addClass','getSuggestion','mapper','FORMAT_REGULAR_ROW','consume','options','setTableColumnHeader','580527yADPpm','272034EpKFZV','registerDescriptionCallback','name','bindElementToMarker','includes','commandName','80nlZjMa','addMarker:suggestion','nodeBefore','accept','7498hxNeKQ','FORMAT_HEADER_COLUMN','writer','FORMAT_HEADER_ROW','markerName','unbindElementFromMarkerName','removeMarker:suggestion','type','toViewElement','parent','nodeAfter','TableEditing','markerNameToElements','12VfnfqP','formatBlock','_handleLegacySuggestions','TableUtils','removeAttribute','68559238cxxUTa','item','473515ChSfxF','markerRange','*Format:*\x20%0','headingColumns','editing','TrackChangesEditing'];_0x4b7d=function(){return _0xb8ee44;};return _0x4b7d();}import _0x3c4bff from'./table.js';import{getTranslation as _0x483180}from'../utils/common-translations.js';export default class St extends _0x65369c{static get[_0x27f44f(0x9c)](){return[_0x3c4bff];}[_0x27f44f(0x91)](){const _0x192f1f=_0x27f44f,_0x499694=this[_0x192f1f(0xa7)];if(!_0x499694[_0x192f1f(0x94)][_0x192f1f(0xa4)](_0x192f1f(0xcc)))return;const _0x4fcc0b=_0x499694[_0x192f1f(0x92)],_0x2ec739=_0x499694[_0x192f1f(0x94)][_0x192f1f(0xac)](_0x192f1f(0xda));_0x2ec739[_0x192f1f(0xe0)](_0x192f1f(0xae),[],[_0x192f1f(0xe3)]),_0x2ec739[_0x192f1f(0xe0)](_0x192f1f(0xb5),[],[_0x192f1f(0xd8)]),_0x2ec739[_0x192f1f(0x8e)][_0x192f1f(0xa0)](_0x192f1f(0xe3),_0x483180(_0x4fcc0b,_0x192f1f(0xc4))),_0x2ec739[_0x192f1f(0x8e)][_0x192f1f(0xa0)](_0x192f1f(0xd8),_0x483180(_0x4fcc0b,_0x192f1f(0xc2))),this[_0x192f1f(0xd0)]();}[_0x27f44f(0xd0)](){const _0x30919d=_0x27f44f,_0x3fb150=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x30919d(0xda)),_0x129044=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x30919d(0xd1)),_0x1b4892=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x3c4bff)[_0x30919d(0xa9)]();function _0x38c415({showActiveMarker:_0x309dfc=!0x0,setDataAttribute:_0x10ae0d=!0x0}={}){return(_0x7f5659,_0x475ef4,_0xd3da6a)=>{const _0x4d039e=_0x3473,{type:_0x11de40,id:_0x220741}=_0x3fb150[_0x4d039e(0x90)](_0x475ef4[_0x4d039e(0xc5)]),_0x148c38=_0x3fb150[_0x4d039e(0xb0)](_0x220741),_0x2be2a8=_0x148c38[_0x4d039e(0xe1)];if(_0x4d039e(0xcf)!=_0x148c38[_0x4d039e(0xc8)]||!_0x2be2a8||_0x4d039e(0xb5)!=_0x2be2a8[_0x4d039e(0xbc)])return;if(_0x475ef4[_0x4d039e(0xd4)])return void _0x7f5659[_0x4d039e(0x96)]();if(!_0xd3da6a[_0x4d039e(0xdb)][_0x4d039e(0xb3)](_0x475ef4[_0x4d039e(0xd6)],_0x7f5659[_0x4d039e(0xb9)]))return;const _0x32c655=_0x475ef4[_0x4d039e(0xd6)][_0x4d039e(0x93)][_0x4d039e(0xcb)],_0x5ce1d8=_0x475ef4[_0x4d039e(0xd6)][_0x4d039e(0x98)][_0x4d039e(0xbf)],_0x298ad0=_0x32c655[_0x4d039e(0xca)][_0x4d039e(0xca)],{column:_0x2dfcfe}=_0x129044[_0x4d039e(0xa5)](_0x32c655),{column:_0x28e89b}=_0x129044[_0x4d039e(0xa5)](_0x5ce1d8);for(let _0x3a3487=_0x2dfcfe;_0x3a3487<=_0x28e89b;_0x3a3487++){const _0x470bef=_0x129044[_0x4d039e(0x99)](_0x298ad0,{'column':_0x3a3487,'includeAllSlots':!0x1});for(const _0x36a480 of _0x470bef){const _0x26b94c=_0x36a480[_0x4d039e(0xaa)],_0x586a60=_0xd3da6a[_0x4d039e(0xb1)][_0x4d039e(0xc9)](_0x26b94c);_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xaf)](_0x4d039e(0x9a)+_0x11de40,_0x586a60),_0x10ae0d&&_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xdd)](_0x4d039e(0x9d),_0x220741,_0x586a60),_0xd3da6a[_0x4d039e(0xb1)][_0x4d039e(0xba)](_0x586a60,_0x475ef4[_0x4d039e(0xc5)]),_0x309dfc&&(_0x3fb150[_0x4d039e(0xa8)][_0x4d039e(0xbb)](_0x475ef4[_0x4d039e(0xc5)])?_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xaf)](_0x4d039e(0xad),_0x586a60):_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xa6)](_0x4d039e(0xad),_0x586a60));}}};}_0x3fb150[_0x30919d(0xdf)][_0x30919d(0x95)](_0x30919d(0xcf),_0x30919d(0xae),_0x30919d(0xc0),_0x1b4892),_0x3fb150[_0x30919d(0xdf)][_0x30919d(0x95)](_0x30919d(0xcf),_0x30919d(0xb5),_0x30919d(0xc0),_0x1b4892),this[_0x30919d(0xa7)][_0x30919d(0xd9)][_0x30919d(0x97)]['on'](_0x30919d(0xbe),_0x38c415(),{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xa7)][_0x30919d(0xe1)][_0x30919d(0x97)]['on'](_0x30919d(0xbe),(_0x3dcce9,_0x998f4d,_0x5e7a9f)=>{const _0x3af7f3=_0x30919d;_0x5e7a9f[_0x3af7f3(0xb4)][_0x3af7f3(0x8f)]&&_0x38c415({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3dcce9,_0x998f4d,_0x5e7a9f);},{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xa7)][_0x30919d(0xd9)][_0x30919d(0x97)]['on'](_0x30919d(0xc7),(_0x5f242c,_0x4902fa,_0x507ada)=>{const _0x55dbcd=_0x30919d,{type:_0x36ad6e,id:_0x53a31e}=_0x3fb150[_0x55dbcd(0x90)](_0x4902fa[_0x55dbcd(0xc5)]),_0x258ca7=_0x3fb150[_0x55dbcd(0xb0)](_0x53a31e),_0x362fbd=_0x258ca7[_0x55dbcd(0xe1)];if(_0x55dbcd(0xcf)!=_0x258ca7[_0x55dbcd(0xc8)]||!_0x362fbd||_0x55dbcd(0xb5)!=_0x362fbd[_0x55dbcd(0xbc)])return;const _0x38bccf=_0x507ada[_0x55dbcd(0xb1)][_0x55dbcd(0xcd)](_0x4902fa[_0x55dbcd(0xc5)]);if(_0x38bccf){for(const _0x173dc0 of _0x38bccf)_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xa6)](_0x55dbcd(0x9a)+_0x36ad6e,_0x173dc0),_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xa6)](_0x55dbcd(0xad),_0x173dc0),_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xd2)](_0x55dbcd(0x9d),_0x173dc0),_0x507ada[_0x55dbcd(0xb1)][_0x55dbcd(0xc6)](_0x173dc0,_0x4902fa[_0x55dbcd(0xc5)]);}},{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xe4)]();}[_0x27f44f(0xe4)](){const _0x1f418c=_0x27f44f,_0x3ec151=this[_0x1f418c(0xa7)],_0x56b1fc=_0x3ec151[_0x1f418c(0x92)];function _0x101513(_0x1e8fac){const _0x10d952=_0x1f418c;return{'type':_0x10d952(0xa2),'content':_0x483180(_0x56b1fc,_0x10d952(0xd7),_0x1e8fac)};}_0x3ec151[_0x1f418c(0x94)][_0x1f418c(0xac)](_0x1f418c(0xda))[_0x1f418c(0x8e)][_0x1f418c(0xb8)](_0xa0aefb=>{const _0x46e896=_0x1f418c;if(_0x46e896(0xcf)!=_0xa0aefb[_0x46e896(0xc8)])return;const {data:_0x432d35}=_0xa0aefb;if(_0x432d35){if(_0x46e896(0xae)==_0x432d35[_0x46e896(0xbc)]){const _0x51a0d1=_0x432d35[_0x46e896(0xdc)][0x0][_0x46e896(0xa3)];return _0x101513(_0x483180(_0x56b1fc,_0x51a0d1?_0x46e896(0xc4):_0x46e896(0xb2)));}if(_0x46e896(0xb5)==_0x432d35[_0x46e896(0xbc)]){const _0x10d28a=_0x432d35[_0x46e896(0xdc)][0x0][_0x46e896(0xa3)];return _0x101513(_0x483180(_0x56b1fc,_0x10d28a?_0x46e896(0xc2):_0x46e896(0xde)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x31ad=['low','_tablePostFixingSubtypes','add','findAncestor','table','afterInit','execute','formatBlock','getSuggestions','value','mergeTableCellRight','mergeTableCellLeft','_acceptFormatSuggestionCallbackFactory','has','forceDefaultExecution','formatInline','registerDescriptionCallback','root','getSelectionAffectedTableCells','get','stop','_descriptionFactory','mergeTableCellDown','type','trackChanges','accept','getFirstPosition','from','editor','plugins','direction','horizontally','*Split\x20cell:*\x20vertically','map','mergeTableCellUp','rootName','format','subType','_areMergableCells','model','length','TableEditing','highest','commandName','refresh','_suggestionFactory','set:isEnabled','createTableWalker','registerCustomCallback','commands','containsRange','return','getRanges','splitTableCellVertically','cell','$graveyard','detach','fromRange','requires','author','getCellLocation','locale','isInContent','getAncestors','_areSelectedCellsMergable','tableCell','markMultiRangeBlockFormat','splitTableCellHorizontally','mergeTableCells','TableUtils','size','change','push','find','selection','document','*Merge\x20cells*','createRangeOn','insertion','enableCommand','isEnabled','filter'];(function(_0x2bd3b1,_0x31adfc){const _0x37a00e=function(_0x4dfea6){while(--_0x4dfea6){_0x2bd3b1['push'](_0x2bd3b1['shift']());}};_0x37a00e(++_0x31adfc);}(_0x31ad,0x11c));const _0x37a0=function(_0x2bd3b1,_0x31adfc){_0x2bd3b1=_0x2bd3b1-0x0;let _0x37a00e=_0x31ad[_0x2bd3b1];return _0x37a00e;};import{Plugin as _0x19c5be}from'ckeditor5/src/core.js';import _0x1a066c from'./table.js';import{LiveRange as _0x4326da}from'ckeditor5/src/engine.js';import{getTranslation as _0x3f68f3}from'../utils/common-translations.js';export default class jt extends _0x19c5be{static get[_0x37a0('0x14')](){return[_0x1a066c];}[_0x37a0('0x31')](){const _0x534b6f=this['editor'],_0x3c3e6e=_0x534b6f['model'][_0x37a0('0x25')][_0x37a0('0x24')],_0xc612ec=_0x534b6f[_0x37a0('0x17')];if(!_0x534b6f[_0x37a0('0x49')][_0x37a0('0x39')](_0x37a0('0x3')))return;const _0x48fb40=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')]('TrackChangesEditing'),_0x3a31f0=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')](_0x37a0('0x1f')),_0x1c8e64=_0x534b6f[_0x37a0('0x49')][_0x37a0('0x3f')](_0x1a066c);_0x1c8e64[_0x37a0('0x2d')][_0x37a0('0x22')](_0x37a0('0x1e')),_0x48fb40[_0x37a0('0x29')](_0x37a0('0x1e'),()=>{const _0x3a7f0d=_0x3a31f0[_0x37a0('0x3e')](_0x534b6f['model'][_0x37a0('0x25')][_0x37a0('0x24')]);_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](()=>{_0x48fb40[_0x37a0('0x1c')](_0x3a7f0d,{'commandName':_0x37a0('0x1e'),'commandParams':[]},[],_0x37a0('0x1e'));});}),_0x534b6f['commands'][_0x37a0('0x3f')]('mergeTableCells')['on'](_0x37a0('0x32'),(_0xe1c7b2,_0x42dab9)=>{_0x534b6f[_0x37a0('0xb')]['get'](_0x37a0('0x44'))[_0x37a0('0x35')]&&(_0x42dab9[_0x37a0('0x2')]>0x0&&_0x42dab9[_0x42dab9[_0x37a0('0x2')]-0x1]&&_0x42dab9[_0x42dab9[_0x37a0('0x2')]-0x1][_0x37a0('0x3a')]||_0x48fb40['_isForcedDefaultExecutionBlock']||this[_0x37a0('0x1a')]()||_0xe1c7b2[_0x37a0('0x40')]());},{'priority':_0x37a0('0x4')});for(const _0x982877 of[_0x37a0('0x4e'),_0x37a0('0x36'),_0x37a0('0x42'),_0x37a0('0x37')]){const _0x35f55b=_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x982877);_0x48fb40[_0x37a0('0x29')](_0x982877,()=>{const _0x1cdcdb=_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')]['selection'][_0x37a0('0x46')]()[_0x37a0('0x19')]()['find'](_0x310b86=>_0x310b86['is']('element',_0x37a0('0x1b'))),_0x3f4b19=_0x35f55b['value'];_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](()=>{_0x48fb40[_0x37a0('0x1c')]([_0x1cdcdb,_0x3f4b19],{'commandName':_0x37a0('0x1e'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x1bc07a of['splitTableCellVertically',_0x37a0('0x1d')]){const _0x1c24b8=_0x534b6f[_0x37a0('0xb')]['get'](_0x1bc07a);_0x48fb40[_0x37a0('0x29')](_0x1bc07a,()=>{const _0x237c7e=_0x3a31f0[_0x37a0('0x3e')](_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')][_0x37a0('0x24')])[0x0],_0x355b75=_0x237c7e[_0x37a0('0x2f')](_0x37a0('0x30')),{column:_0x2dcf66,row:_0x5c5566}=_0x3a31f0[_0x37a0('0x16')](_0x237c7e);let _0x40adf8=[];if(_0x37a0('0x4b')==_0x1c24b8[_0x37a0('0x4a')]){const _0x4196be=_0x3a31f0['createTableWalker'](_0x355b75,{'startRow':_0x5c5566,'endRow':_0x5c5566,'includeAllSlots':!0x0});_0x40adf8=Array[_0x37a0('0x47')](_0x4196be)[_0x37a0('0x4d')](_0x57ff57=>_0x57ff57[_0x37a0('0x10')]);}else{const _0x46a4b3=_0x3a31f0[_0x37a0('0x9')](_0x355b75,{'column':_0x2dcf66,'includeAllSlots':!0x0});_0x40adf8=Array['from'](_0x46a4b3)['map'](_0x3e1b92=>_0x3e1b92['cell']);}_0x534b6f['model']['change'](_0x3495ed=>{_0x48fb40['markBlockFormat'](_0x3495ed[_0x37a0('0x27')](_0x237c7e),{'commandName':_0x1bc07a,'commandParams':[]},_0x40adf8,_0x1bc07a);});});}_0x48fb40[_0x37a0('0x41')][_0x37a0('0x3c')](_0x240845=>{if(_0x37a0('0x33')!=_0x240845[_0x37a0('0x43')]&&_0x37a0('0x3b')!=_0x240845[_0x37a0('0x43')])return;const {data:_0x55bb1f}=_0x240845;return _0x55bb1f&&'mergeTableCells'==_0x55bb1f['commandName']?{'type':_0x37a0('0x50'),'content':_0x3f68f3(_0xc612ec,_0x37a0('0x26'))}:void 0x0;}),_0x48fb40['_descriptionFactory'][_0x37a0('0x3c')](_0x4446cb=>{if('formatBlock'!=_0x4446cb[_0x37a0('0x43')]&&'formatInline'!=_0x4446cb[_0x37a0('0x43')])return;const {data:_0x4a9c78}=_0x4446cb;return _0x4a9c78?_0x37a0('0xf')==_0x4a9c78[_0x37a0('0x5')]?{'type':_0x37a0('0x50'),'content':_0x3f68f3(_0xc612ec,_0x37a0('0x4c'))}:_0x37a0('0x1d')==_0x4a9c78['commandName']?{'type':'format','content':_0x3f68f3(_0xc612ec,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x59fc0e=_0x1c8e64[_0x37a0('0x38')]();for(const _0x4431c4 of['mergeTableCellUp',_0x37a0('0x36'),_0x37a0('0x42'),_0x37a0('0x37')])_0x48fb40[_0x37a0('0x7')][_0x37a0('0xa')](_0x37a0('0x33'),_0x4431c4,'accept',_0x59fc0e);for(const _0xd00c0 of[_0x37a0('0xf'),_0x37a0('0x1d')])_0x48fb40['_suggestionFactory'][_0x37a0('0xa')](_0x37a0('0x33'),_0xd00c0,_0x37a0('0x45'),_0x59fc0e);_0x48fb40[_0x37a0('0x7')][_0x37a0('0xa')](_0x37a0('0x33'),_0x37a0('0x1e'),_0x37a0('0x45'),_0x2c1dc3=>{_0x534b6f[_0x37a0('0x1')][_0x37a0('0x21')](_0x136f0a=>{const _0x26c758=Array['from'](_0x3c3e6e[_0x37a0('0xe')]())[_0x37a0('0x4d')](_0x4a8c71=>_0x4326da[_0x37a0('0x13')](_0x4a8c71));_0x136f0a['setSelection'](_0x2c1dc3),_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x37a0('0x1e'))[_0x37a0('0x6')](),_0x534b6f[_0x37a0('0x32')](_0x37a0('0x1e'),{'forceDefaultExecution':!0x0});const _0x2d0592=_0x26c758[_0x37a0('0x2b')](_0x562296=>_0x37a0('0x11')!=_0x562296[_0x37a0('0x3d')][_0x37a0('0x4f')]);_0x2d0592[_0x37a0('0x2')]>0x0&&_0x136f0a['setSelection'](_0x2d0592);for(const _0x1b3bc7 of _0x26c758)_0x1b3bc7[_0x37a0('0x12')]();});});for(const _0x532aac of[_0x37a0('0x4e'),_0x37a0('0x42'),'mergeTableCellLeft',_0x37a0('0x36')]){const _0x4da633=_0x534b6f[_0x37a0('0xb')][_0x37a0('0x3f')](_0x532aac);_0x4da633['on'](_0x37a0('0x8'),(_0x126e5d,_0x2fe4de,_0x255d1b)=>{if(_0x255d1b){const _0x50c130=_0x534b6f[_0x37a0('0x1')][_0x37a0('0x25')]['selection']['getFirstPosition']()[_0x37a0('0x19')]()[_0x37a0('0x23')](_0x2715a3=>_0x2715a3['is']('element',_0x37a0('0x1b')));this['_areMergableCells'](_0x4da633[_0x37a0('0x35')],_0x50c130)||(_0x126e5d[_0x37a0('0xd')]=!0x1,_0x126e5d[_0x37a0('0x40')]());}},{'priority':_0x37a0('0x2c')});}}[_0x37a0('0x1a')](){const _0x4a2819=this[_0x37a0('0x48')][_0x37a0('0xb')]['get'](_0x37a0('0x1e')),_0x28a41b=this['editor'][_0x37a0('0x49')][_0x37a0('0x3f')](_0x37a0('0x1f'));if(!_0x4a2819[_0x37a0('0x2a')])return!0x1;const _0x24d482=_0x28a41b[_0x37a0('0x3e')](this[_0x37a0('0x48')][_0x37a0('0x1')]['document']['selection']);for(const _0x4c8792 of _0x24d482)for(const _0x59ec82 of _0x24d482)if(_0x4c8792!=_0x59ec82&&!this[_0x37a0('0x0')](_0x4c8792,_0x59ec82))return!0x1;return!0x0;}[_0x37a0('0x0')](_0x185cf2,_0x1b719e){const _0x4fe492=this[_0x37a0('0x48')]['plugins']['get']('TrackChangesEditing'),_0x147fe7=this[_0x37a0('0x48')]['model'][_0x37a0('0x27')](_0x185cf2),_0x24d886=this[_0x37a0('0x48')][_0x37a0('0x1')]['createRangeOn'](_0x1b719e),_0x160b66=new Set(),_0x3efcf7=new Set();for(const _0x415b49 of _0x4fe492[_0x37a0('0x34')]())if((_0x37a0('0x28')==_0x415b49[_0x37a0('0x43')]||'deletion'==_0x415b49['type']||_0x37a0('0x1e')==_0x415b49[_0x37a0('0x51')])&&_0x415b49[_0x37a0('0x18')])for(const _0x22eb12 of _0x415b49[_0x37a0('0xe')]())_0x22eb12[_0x37a0('0xc')](_0x147fe7,!0x0)&&_0x160b66[_0x37a0('0x2e')](_0x415b49['type']+':'+_0x415b49[_0x37a0('0x15')]['id']),_0x22eb12[_0x37a0('0xc')](_0x24d886,!0x0)&&_0x3efcf7[_0x37a0('0x2e')](_0x415b49[_0x37a0('0x43')]+':'+_0x415b49[_0x37a0('0x15')]['id']);if(_0x160b66[_0x37a0('0x20')]!=_0x3efcf7[_0x37a0('0x20')])return!0x1;for(const _0x1b83cb of _0x160b66)if(!_0x3efcf7[_0x37a0('0x39')](_0x1b83cb))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2b972a=_0x1cd9;(function(_0x39ee3d,_0x2abe4a){const _0x122561=_0x1cd9,_0xd3fb4b=_0x39ee3d();while(!![]){try{const _0x5d8fe3=parseInt(_0x122561(0x1c7))/0x1+-parseInt(_0x122561(0x1f1))/0x2*(parseInt(_0x122561(0x1ff))/0x3)+parseInt(_0x122561(0x1db))/0x4*(parseInt(_0x122561(0x1fb))/0x5)+-parseInt(_0x122561(0x1c0))/0x6*(-parseInt(_0x122561(0x206))/0x7)+-parseInt(_0x122561(0x1d0))/0x8+-parseInt(_0x122561(0x213))/0x9+parseInt(_0x122561(0x1c8))/0xa;if(_0x5d8fe3===_0x2abe4a)break;else _0xd3fb4b['push'](_0xd3fb4b['shift']());}catch(_0x550f6c){_0xd3fb4b['push'](_0xd3fb4b['shift']());}}}(_0x4f26,0x98aa8));function _0x1cd9(_0x17838c,_0x1ab6d6){const _0x4f26e0=_0x4f26();return _0x1cd9=function(_0x1cd9aa,_0x28d72d){_0x1cd9aa=_0x1cd9aa-0x1b8;let _0x444776=_0x4f26e0[_0x1cd9aa];return _0x444776;},_0x1cd9(_0x17838c,_0x1ab6d6);}function _0x4f26(){const _0x107dce=['findAncestor','from','element','refresh','afterInit','*Merge\x20cells*','highest','set:isEnabled','getAncestors','_acceptFormatSuggestionCallbackFactory','execute','13974FRpdwD','mergeTableCellUp','plugins','direction','model','deletion','tableCell','394121GIgAgP','7570440zvNfYz','subType','createTableWalker','TrackChangesEditing','has','registerCustomCallback','length','insertion','7562376MURjKI','get','commandName','mergeTableCellDown','accept','author','map','filter','getSuggestions','value','_suggestionFactory','124JiCQgT','stop','size','isInContent','mergeTableCellRight','isEnabled','containsRange','getCellLocation','markMultiRangeBlockFormat','createRangeOn','TableEditing','horizontally','editor','cell','*Split\x20cell:*\x20horizontally','enableCommand','requires','getRanges','forceDefaultExecution','_areMergableCells','commands','getSelectionAffectedTableCells','14CSXxWX','_areSelectedCellsMergable','splitTableCellHorizontally','rootName','low','_descriptionFactory','push','trackChanges','document','formatBlock','177405WqPeTS','change','detach','table','530406qVjuEN','getFirstPosition','type','selection','_isForcedDefaultExecutionBlock','splitTableCellVertically','$graveyard','1953PBHDBo','TableUtils','format','find','add','mergeTableCells','return','registerDescriptionCallback','_tablePostFixingSubtypes','markBlockFormat','*Split\x20cell:*\x20vertically','locale','mergeTableCellLeft','833724khHjwQ','root','formatInline','fromRange','setSelection'];_0x4f26=function(){return _0x107dce;};return _0x4f26();}import{Plugin as _0x33700e}from'ckeditor5/src/core.js';import _0x4721d1 from'./table.js';import{LiveRange as _0x4d9425}from'ckeditor5/src/engine.js';import{getTranslation as _0x3a2c92}from'../utils/common-translations.js';export default class jt extends _0x33700e{static get[_0x2b972a(0x1eb)](){return[_0x4721d1];}[_0x2b972a(0x1b9)](){const _0x17e380=_0x2b972a,_0x5ecff9=this[_0x17e380(0x1e7)],_0x3cb64c=_0x5ecff9[_0x17e380(0x1c4)][_0x17e380(0x1f9)][_0x17e380(0x202)],_0x41f458=_0x5ecff9[_0x17e380(0x211)];if(!_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1cc)](_0x17e380(0x1e5)))return;const _0x5ce415=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x17e380(0x1cb)),_0x2a3a04=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x17e380(0x207)),_0x4a72f4=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x4721d1);_0x4a72f4[_0x17e380(0x20e)][_0x17e380(0x1f7)](_0x17e380(0x20b)),_0x5ce415[_0x17e380(0x1ea)](_0x17e380(0x20b),()=>{const _0x486cf4=_0x17e380,_0x39f4ff=_0x2a3a04[_0x486cf4(0x1f0)](_0x5ecff9[_0x486cf4(0x1c4)][_0x486cf4(0x1f9)][_0x486cf4(0x202)]);_0x5ecff9[_0x486cf4(0x1c4)][_0x486cf4(0x1fc)](()=>{const _0x17e3ca=_0x486cf4;_0x5ce415[_0x17e3ca(0x1e3)](_0x39f4ff,{'commandName':_0x17e3ca(0x20b),'commandParams':[]},[],_0x17e3ca(0x20b));});}),_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x17e380(0x20b))['on'](_0x17e380(0x1bf),(_0xc8d9f8,_0x4c369e)=>{const _0x19424c=_0x17e380;_0x5ecff9[_0x19424c(0x1ef)][_0x19424c(0x1d1)](_0x19424c(0x1f8))[_0x19424c(0x1d9)]&&(_0x4c369e[_0x19424c(0x1ce)]>0x0&&_0x4c369e[_0x4c369e[_0x19424c(0x1ce)]-0x1]&&_0x4c369e[_0x4c369e[_0x19424c(0x1ce)]-0x1][_0x19424c(0x1ed)]||_0x5ce415[_0x19424c(0x203)]||this[_0x19424c(0x1f2)]()||_0xc8d9f8[_0x19424c(0x1dc)]());},{'priority':_0x17e380(0x1bb)});for(const _0x35b713 of[_0x17e380(0x1c1),_0x17e380(0x1df),_0x17e380(0x1d3),_0x17e380(0x212)]){const _0x424ab1=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x35b713);_0x5ce415[_0x17e380(0x1ea)](_0x35b713,()=>{const _0x38a120=_0x17e380,_0x4f1a56=_0x5ecff9[_0x38a120(0x1c4)][_0x38a120(0x1f9)][_0x38a120(0x202)][_0x38a120(0x200)]()[_0x38a120(0x1bd)]()[_0x38a120(0x209)](_0xde18d4=>_0xde18d4['is'](_0x38a120(0x21a),_0x38a120(0x1c6))),_0x28fff1=_0x424ab1[_0x38a120(0x1d9)];_0x5ecff9[_0x38a120(0x1c4)][_0x38a120(0x1fc)](()=>{const _0x1da22e=_0x38a120;_0x5ce415[_0x1da22e(0x1e3)]([_0x4f1a56,_0x28fff1],{'commandName':_0x1da22e(0x20b),'commandParams':[]},[],_0x1da22e(0x20b));});});}for(const _0x3ccdd4 of[_0x17e380(0x204),_0x17e380(0x1f3)]){const _0x19d547=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x3ccdd4);_0x5ce415[_0x17e380(0x1ea)](_0x3ccdd4,()=>{const _0x5a399f=_0x17e380,_0x4b7bb8=_0x2a3a04[_0x5a399f(0x1f0)](_0x5ecff9[_0x5a399f(0x1c4)][_0x5a399f(0x1f9)][_0x5a399f(0x202)])[0x0],_0x427ee=_0x4b7bb8[_0x5a399f(0x218)](_0x5a399f(0x1fe)),{column:_0x1d159c,row:_0x55606d}=_0x2a3a04[_0x5a399f(0x1e2)](_0x4b7bb8);let _0x47bc7f=[];if(_0x5a399f(0x1e6)==_0x19d547[_0x5a399f(0x1c3)]){const _0x127cfb=_0x2a3a04[_0x5a399f(0x1ca)](_0x427ee,{'startRow':_0x55606d,'endRow':_0x55606d,'includeAllSlots':!0x0});_0x47bc7f=Array[_0x5a399f(0x219)](_0x127cfb)[_0x5a399f(0x1d6)](_0x1429f7=>_0x1429f7[_0x5a399f(0x1e8)]);}else{const _0x27e752=_0x2a3a04[_0x5a399f(0x1ca)](_0x427ee,{'column':_0x1d159c,'includeAllSlots':!0x0});_0x47bc7f=Array[_0x5a399f(0x219)](_0x27e752)[_0x5a399f(0x1d6)](_0x5b48a5=>_0x5b48a5[_0x5a399f(0x1e8)]);}_0x5ecff9[_0x5a399f(0x1c4)][_0x5a399f(0x1fc)](_0x44b4cc=>{const _0xc41821=_0x5a399f;_0x5ce415[_0xc41821(0x20f)](_0x44b4cc[_0xc41821(0x1e4)](_0x4b7bb8),{'commandName':_0x3ccdd4,'commandParams':[]},_0x47bc7f,_0x3ccdd4);});});}_0x5ce415[_0x17e380(0x1f6)][_0x17e380(0x20d)](_0x50dd30=>{const _0x203593=_0x17e380;if(_0x203593(0x1fa)!=_0x50dd30[_0x203593(0x201)]&&_0x203593(0x215)!=_0x50dd30[_0x203593(0x201)])return;const {data:_0x4cc64d}=_0x50dd30;return _0x4cc64d&&_0x203593(0x20b)==_0x4cc64d[_0x203593(0x1d2)]?{'type':_0x203593(0x208),'content':_0x3a2c92(_0x41f458,_0x203593(0x1ba))}:void 0x0;}),_0x5ce415[_0x17e380(0x1f6)][_0x17e380(0x20d)](_0x190a02=>{const _0x211c8e=_0x17e380;if(_0x211c8e(0x1fa)!=_0x190a02[_0x211c8e(0x201)]&&_0x211c8e(0x215)!=_0x190a02[_0x211c8e(0x201)])return;const {data:_0x497c3b}=_0x190a02;return _0x497c3b?_0x211c8e(0x204)==_0x497c3b[_0x211c8e(0x1d2)]?{'type':_0x211c8e(0x208),'content':_0x3a2c92(_0x41f458,_0x211c8e(0x210))}:_0x211c8e(0x1f3)==_0x497c3b[_0x211c8e(0x1d2)]?{'type':_0x211c8e(0x208),'content':_0x3a2c92(_0x41f458,_0x211c8e(0x1e9))}:void 0x0:void 0x0;});const _0x32fa0b=_0x4a72f4[_0x17e380(0x1be)]();for(const _0x2cfec6 of[_0x17e380(0x1c1),_0x17e380(0x1df),_0x17e380(0x1d3),_0x17e380(0x212)])_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x2cfec6,_0x17e380(0x1d4),_0x32fa0b);for(const _0x11dd30 of[_0x17e380(0x204),_0x17e380(0x1f3)])_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x11dd30,_0x17e380(0x1d4),_0x32fa0b);_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x17e380(0x20b),_0x17e380(0x1d4),_0x2714a1=>{const _0x43b4d5=_0x17e380;_0x5ecff9[_0x43b4d5(0x1c4)][_0x43b4d5(0x1fc)](_0x3d3a2d=>{const _0xc54210=_0x43b4d5,_0x3bacf4=Array[_0xc54210(0x219)](_0x3cb64c[_0xc54210(0x1ec)]())[_0xc54210(0x1d6)](_0x22097f=>_0x4d9425[_0xc54210(0x216)](_0x22097f));_0x3d3a2d[_0xc54210(0x217)](_0x2714a1),_0x5ecff9[_0xc54210(0x1ef)][_0xc54210(0x1d1)](_0xc54210(0x20b))[_0xc54210(0x1b8)](),_0x5ecff9[_0xc54210(0x1bf)](_0xc54210(0x20b),{'forceDefaultExecution':!0x0});const _0x28314d=_0x3bacf4[_0xc54210(0x1d7)](_0x1ff5d4=>_0xc54210(0x205)!=_0x1ff5d4[_0xc54210(0x214)][_0xc54210(0x1f4)]);_0x28314d[_0xc54210(0x1ce)]>0x0&&_0x3d3a2d[_0xc54210(0x217)](_0x28314d);for(const _0x4c0f70 of _0x3bacf4)_0x4c0f70[_0xc54210(0x1fd)]();});});for(const _0x57edda of[_0x17e380(0x1c1),_0x17e380(0x1d3),_0x17e380(0x212),_0x17e380(0x1df)]){const _0x1ce7cd=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x57edda);_0x1ce7cd['on'](_0x17e380(0x1bc),(_0x3b9069,_0x334e3c,_0x37be29)=>{const _0x21d5dd=_0x17e380;if(_0x37be29){const _0x1825df=_0x5ecff9[_0x21d5dd(0x1c4)][_0x21d5dd(0x1f9)][_0x21d5dd(0x202)][_0x21d5dd(0x200)]()[_0x21d5dd(0x1bd)]()[_0x21d5dd(0x209)](_0x2c6a6b=>_0x2c6a6b['is'](_0x21d5dd(0x21a),_0x21d5dd(0x1c6)));this[_0x21d5dd(0x1ee)](_0x1ce7cd[_0x21d5dd(0x1d9)],_0x1825df)||(_0x3b9069[_0x21d5dd(0x20c)]=!0x1,_0x3b9069[_0x21d5dd(0x1dc)]());}},{'priority':_0x17e380(0x1f5)});}}[_0x2b972a(0x1f2)](){const _0x13afac=_0x2b972a,_0x253f9c=this[_0x13afac(0x1e7)][_0x13afac(0x1ef)][_0x13afac(0x1d1)](_0x13afac(0x20b)),_0x525a52=this[_0x13afac(0x1e7)][_0x13afac(0x1c2)][_0x13afac(0x1d1)](_0x13afac(0x207));if(!_0x253f9c[_0x13afac(0x1e0)])return!0x1;const _0x900b66=_0x525a52[_0x13afac(0x1f0)](this[_0x13afac(0x1e7)][_0x13afac(0x1c4)][_0x13afac(0x1f9)][_0x13afac(0x202)]);for(const _0x2ff30f of _0x900b66)for(const _0x26fdfc of _0x900b66)if(_0x2ff30f!=_0x26fdfc&&!this[_0x13afac(0x1ee)](_0x2ff30f,_0x26fdfc))return!0x1;return!0x0;}[_0x2b972a(0x1ee)](_0x5db949,_0x5b9118){const _0x40273a=_0x2b972a,_0x48d44e=this[_0x40273a(0x1e7)][_0x40273a(0x1c2)][_0x40273a(0x1d1)](_0x40273a(0x1cb)),_0x1966d8=this[_0x40273a(0x1e7)][_0x40273a(0x1c4)][_0x40273a(0x1e4)](_0x5db949),_0x2fc3d4=this[_0x40273a(0x1e7)][_0x40273a(0x1c4)][_0x40273a(0x1e4)](_0x5b9118),_0x518bd2=new Set(),_0x510256=new Set();for(const _0x46da9c of _0x48d44e[_0x40273a(0x1d8)]())if((_0x40273a(0x1cf)==_0x46da9c[_0x40273a(0x201)]||_0x40273a(0x1c5)==_0x46da9c[_0x40273a(0x201)]||_0x40273a(0x20b)==_0x46da9c[_0x40273a(0x1c9)])&&_0x46da9c[_0x40273a(0x1de)]){for(const _0x3be139 of _0x46da9c[_0x40273a(0x1ec)]())_0x3be139[_0x40273a(0x1e1)](_0x1966d8,!0x0)&&_0x518bd2[_0x40273a(0x20a)](_0x46da9c[_0x40273a(0x201)]+':'+_0x46da9c[_0x40273a(0x1d5)]['id']),_0x3be139[_0x40273a(0x1e1)](_0x2fc3d4,!0x0)&&_0x510256[_0x40273a(0x20a)](_0x46da9c[_0x40273a(0x201)]+':'+_0x46da9c[_0x40273a(0x1d5)]['id']);}if(_0x518bd2[_0x40273a(0x1dd)]!=_0x510256[_0x40273a(0x1dd)])return!0x1;for(const _0x51a678 of _0x518bd2)if(!_0x510256[_0x40273a(0x1cc)](_0x51a678))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2780(){const _0x4e4936=['30GiFfXV','locale','921756jtXlwT','afterInit','tableOfContents','editor','597415KfOpHJ','2220756sQCDpW','plugins','ELEMENT_TABLE_OF_CONTENTS','2598580kVwsPA','27gdsPQX','registerElementLabel','get','enableCommand','22fmmFkz','TrackChangesEditing','7nWWsdT','2425688OiqMfm','insertTableOfContents','_descriptionFactory','12110aydRUc','163470JWRfSB','commands','453aeDeLG'];_0x2780=function(){return _0x4e4936;};return _0x2780();}const _0x2c502d=_0x2ebd;(function(_0x524bd1,_0x273e28){const _0x195673=_0x2ebd,_0x5661b9=_0x524bd1();while(!![]){try{const _0x858dac=parseInt(_0x195673(0x138))/0x1+-parseInt(_0x195673(0x12e))/0x2*(parseInt(_0x195673(0x131))/0x3)+parseInt(_0x195673(0x134))/0x4+-parseInt(_0x195673(0x12f))/0x5*(parseInt(_0x195673(0x132))/0x6)+parseInt(_0x195673(0x12a))/0x7*(parseInt(_0x195673(0x12b))/0x8)+parseInt(_0x195673(0x13d))/0x9*(parseInt(_0x195673(0x13c))/0xa)+parseInt(_0x195673(0x141))/0xb*(-parseInt(_0x195673(0x139))/0xc);if(_0x858dac===_0x273e28)break;else _0x5661b9['push'](_0x5661b9['shift']());}catch(_0x33bc4a){_0x5661b9['push'](_0x5661b9['shift']());}}}(_0x2780,0x70f92));import{Plugin as _0x44d253}from'ckeditor5/src/core.js';import{getTranslation as _0x584f0d}from'../utils/common-translations.js';function _0x2ebd(_0x3f4ae3,_0x16a3af){const _0x2780be=_0x2780();return _0x2ebd=function(_0x2ebdcf,_0x48c7fd){_0x2ebdcf=_0x2ebdcf-0x129;let _0x412836=_0x2780be[_0x2ebdcf];return _0x412836;},_0x2ebd(_0x3f4ae3,_0x16a3af);}export default class _t extends _0x44d253{[_0x2c502d(0x135)](){const _0x4bc035=_0x2c502d,_0x17a65b=this[_0x4bc035(0x137)];if(!_0x17a65b[_0x4bc035(0x130)][_0x4bc035(0x13f)](_0x4bc035(0x12c)))return;_0x17a65b[_0x4bc035(0x13a)][_0x4bc035(0x13f)](_0x4bc035(0x129))[_0x4bc035(0x140)](_0x4bc035(0x12c));const _0x3beb57=_0x17a65b[_0x4bc035(0x13a)][_0x4bc035(0x13f)](_0x4bc035(0x129)),_0x3461a8=_0x17a65b[_0x4bc035(0x133)];_0x3beb57[_0x4bc035(0x12d)][_0x4bc035(0x13e)](_0x4bc035(0x136),_0x270a24=>_0x584f0d(_0x3461a8,_0x4bc035(0x13b),_0x270a24));}}
|