@ckeditor/ckeditor5-track-changes 41.4.0 → 41.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/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/multilevellist.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 _0x48796c=_0x3a8a;function _0x219a(){const _0x1f768b=['registerCustomCallback','setSelection','_acceptFormatSuggestionCallbackFactory','forceDefaultExecution','editor','$graveyard','getRanges','_areMergableCells','3957164JuAYln','getCellLocation','getFirstPosition','table','mergeTableCellUp','getSuggestions','set:isEnabled','*Split\x20cell:*\x20horizontally','5073810fQyCZE','format','author','cell','splitTableCellHorizontally','subType','createRangeOn','TrackChangesEditing','fromRange','filter','direction','commands','TableUtils','tableCell','locale','size','plugins','splitTableCellVertically','1500519qHSYGV','deletion','detach','selection','find','requires','6DUTrPJ','descriptionFactory','*Merge\x20cells*','highest','formatBlock','low','return','root','value','push','model','TableEditing','2392970eaVyGh','type','isInContent','enableCommand','markMultiRangeBlockFormat','trackChanges','afterInit','rootName','refresh','add','*Split\x20cell:*\x20vertically','getSelectionAffectedTableCells','_areSelectedCellsMergable','formatInline','_suggestionFactory','_tablePostFixingSubtypes','isEnabled','accept','change','from','mergeTableCellLeft','length','findAncestor','mergeTableCellDown','containsRange','execute','2172460mExKfQ','element','map','registerDescriptionCallback','mergeTableCellRight','mergeTableCells','commandName','has','insertion','stop','markBlockFormat','get','createTableWalker','horizontally','583297xHrcng','getAncestors','24219736jfNoCw','document','_isForcedDefaultExecutionBlock'];_0x219a=function(){return _0x1f768b;};return _0x219a();}(function(_0x2beb4d,_0x2575d9){const _0x43d6ef=_0x3a8a,_0x225080=_0x2beb4d();while(!![]){try{const _0x553d0e=-parseInt(_0x43d6ef(0xc3))/0x1+-parseInt(_0x43d6ef(0xb5))/0x2+-parseInt(_0x43d6ef(0x89))/0x3+parseInt(_0x43d6ef(0x6f))/0x4+-parseInt(_0x43d6ef(0x9b))/0x5+-parseInt(_0x43d6ef(0x8f))/0x6*(parseInt(_0x43d6ef(0x77))/0x7)+parseInt(_0x43d6ef(0xc5))/0x8;if(_0x553d0e===_0x2575d9)break;else _0x225080['push'](_0x225080['shift']());}catch(_0x394ba4){_0x225080['push'](_0x225080['shift']());}}}(_0x219a,0x9d232));import{Plugin as _0x3cab10}from'ckeditor5/src/core.js';function _0x3a8a(_0x4d7b0d,_0x4e22a5){const _0x219a7d=_0x219a();return _0x3a8a=function(_0x3a8afa,_0x54bae4){_0x3a8afa=_0x3a8afa-0x6f;let _0x21ff4b=_0x219a7d[_0x3a8afa];return _0x21ff4b;},_0x3a8a(_0x4d7b0d,_0x4e22a5);}import _0x136c9f from'./table.js';import{LiveRange as _0x4f3d3a}from'ckeditor5/src/engine.js';import{getTranslation as _0xb3fdda}from'../utils/common-translations.js';export default class St extends _0x3cab10{static get[_0x48796c(0x8e)](){return[_0x136c9f];}[_0x48796c(0xa1)](){const _0x4ec85e=_0x48796c,_0x23490f=this[_0x4ec85e(0xcc)],_0x4aa1c7=_0x23490f[_0x4ec85e(0x99)][_0x4ec85e(0xc6)][_0x4ec85e(0x8c)],_0x4ff685=_0x23490f[_0x4ec85e(0x85)];if(!_0x23490f[_0x4ec85e(0x87)][_0x4ec85e(0xbc)](_0x4ec85e(0x9a)))return;const _0x556fee=_0x23490f[_0x4ec85e(0x87)][_0x4ec85e(0xc0)](_0x4ec85e(0x7e)),_0x21d657=_0x23490f[_0x4ec85e(0x87)][_0x4ec85e(0xc0)](_0x4ec85e(0x83)),_0x55ed03=_0x23490f[_0x4ec85e(0x87)][_0x4ec85e(0xc0)](_0x136c9f);_0x55ed03[_0x4ec85e(0xaa)][_0x4ec85e(0x98)](_0x4ec85e(0xba)),_0x556fee[_0x4ec85e(0x9e)](_0x4ec85e(0xba),()=>{const _0x59bb82=_0x4ec85e,_0x128231=_0x21d657[_0x59bb82(0xa6)](_0x23490f[_0x59bb82(0x99)][_0x59bb82(0xc6)][_0x59bb82(0x8c)]);_0x23490f[_0x59bb82(0x99)][_0x59bb82(0xad)](()=>{const _0x5b7ab1=_0x59bb82;_0x556fee[_0x5b7ab1(0x9f)](_0x128231,{'commandName':_0x5b7ab1(0xba),'commandParams':[]},[],_0x5b7ab1(0xba));});}),_0x23490f[_0x4ec85e(0x82)][_0x4ec85e(0xc0)](_0x4ec85e(0xba))['on'](_0x4ec85e(0xb4),(_0x2ee244,_0x4361ea)=>{const _0x7c0b44=_0x4ec85e;_0x23490f[_0x7c0b44(0x82)][_0x7c0b44(0xc0)](_0x7c0b44(0xa0))[_0x7c0b44(0x97)]&&(_0x4361ea[_0x7c0b44(0xb0)]>0x0&&_0x4361ea[_0x4361ea[_0x7c0b44(0xb0)]-0x1]&&_0x4361ea[_0x4361ea[_0x7c0b44(0xb0)]-0x1][_0x7c0b44(0xcb)]||_0x556fee[_0x7c0b44(0xc7)]||this[_0x7c0b44(0xa7)]()||_0x2ee244[_0x7c0b44(0xbe)]());},{'priority':_0x4ec85e(0x92)});for(const _0x5723f6 of[_0x4ec85e(0x73),_0x4ec85e(0xb9),_0x4ec85e(0xb2),_0x4ec85e(0xaf)]){const _0x465a1b=_0x23490f[_0x4ec85e(0x82)][_0x4ec85e(0xc0)](_0x5723f6);_0x556fee[_0x4ec85e(0x9e)](_0x5723f6,()=>{const _0x1c9a3e=_0x4ec85e,_0x394463=_0x23490f[_0x1c9a3e(0x99)][_0x1c9a3e(0xc6)][_0x1c9a3e(0x8c)][_0x1c9a3e(0x71)]()[_0x1c9a3e(0xc4)]()[_0x1c9a3e(0x8d)](_0x5cbff5=>_0x5cbff5['is'](_0x1c9a3e(0xb6),_0x1c9a3e(0x84))),_0x54a843=_0x465a1b[_0x1c9a3e(0x97)];_0x23490f[_0x1c9a3e(0x99)][_0x1c9a3e(0xad)](()=>{const _0x2bc514=_0x1c9a3e;_0x556fee[_0x2bc514(0x9f)]([_0x394463,_0x54a843],{'commandName':_0x2bc514(0xba),'commandParams':[]},[],_0x2bc514(0xba));});});}for(const _0x35386e of[_0x4ec85e(0x88),_0x4ec85e(0x7b)]){const _0x1687dc=_0x23490f[_0x4ec85e(0x82)][_0x4ec85e(0xc0)](_0x35386e);_0x556fee[_0x4ec85e(0x9e)](_0x35386e,()=>{const _0x34f9be=_0x4ec85e,_0x166df0=_0x21d657[_0x34f9be(0xa6)](_0x23490f[_0x34f9be(0x99)][_0x34f9be(0xc6)][_0x34f9be(0x8c)])[0x0],_0xa140cc=_0x166df0[_0x34f9be(0xb1)](_0x34f9be(0x72)),{column:_0x4a915a,row:_0x13287b}=_0x21d657[_0x34f9be(0x70)](_0x166df0);let _0x56d4b7=[];if(_0x34f9be(0xc2)==_0x1687dc[_0x34f9be(0x81)]){const _0x386d1e=_0x21d657[_0x34f9be(0xc1)](_0xa140cc,{'startRow':_0x13287b,'endRow':_0x13287b,'includeAllSlots':!0x0});_0x56d4b7=Array[_0x34f9be(0xae)](_0x386d1e)[_0x34f9be(0xb7)](_0x20396a=>_0x20396a[_0x34f9be(0x7a)]);}else{const _0xf38435=_0x21d657[_0x34f9be(0xc1)](_0xa140cc,{'column':_0x4a915a,'includeAllSlots':!0x0});_0x56d4b7=Array[_0x34f9be(0xae)](_0xf38435)[_0x34f9be(0xb7)](_0x1db00f=>_0x1db00f[_0x34f9be(0x7a)]);}_0x23490f[_0x34f9be(0x99)][_0x34f9be(0xad)](_0x5a6708=>{const _0x503338=_0x34f9be;_0x556fee[_0x503338(0xbf)](_0x5a6708[_0x503338(0x7d)](_0x166df0),{'commandName':_0x35386e,'commandParams':[]},_0x56d4b7,_0x35386e);});});}_0x556fee[_0x4ec85e(0x90)][_0x4ec85e(0xb8)](_0x88a79f=>{const _0x364428=_0x4ec85e;if(_0x364428(0x93)!=_0x88a79f[_0x364428(0x9c)]&&_0x364428(0xa8)!=_0x88a79f[_0x364428(0x9c)])return;const {data:_0x20e83a}=_0x88a79f;return _0x20e83a&&_0x364428(0xba)==_0x20e83a[_0x364428(0xbb)]?{'type':_0x364428(0x78),'content':_0xb3fdda(_0x4ff685,_0x364428(0x91))}:void 0x0;}),_0x556fee[_0x4ec85e(0x90)][_0x4ec85e(0xb8)](_0x6e685e=>{const _0x2bae9b=_0x4ec85e;if(_0x2bae9b(0x93)!=_0x6e685e[_0x2bae9b(0x9c)]&&_0x2bae9b(0xa8)!=_0x6e685e[_0x2bae9b(0x9c)])return;const {data:_0x45d382}=_0x6e685e;return _0x45d382?_0x2bae9b(0x88)==_0x45d382[_0x2bae9b(0xbb)]?{'type':_0x2bae9b(0x78),'content':_0xb3fdda(_0x4ff685,_0x2bae9b(0xa5))}:_0x2bae9b(0x7b)==_0x45d382[_0x2bae9b(0xbb)]?{'type':_0x2bae9b(0x78),'content':_0xb3fdda(_0x4ff685,_0x2bae9b(0x76))}:void 0x0:void 0x0;});const _0x46ee36=_0x55ed03[_0x4ec85e(0xca)]();for(const _0x4afa8c of[_0x4ec85e(0x73),_0x4ec85e(0xb9),_0x4ec85e(0xb2),_0x4ec85e(0xaf)])_0x556fee[_0x4ec85e(0xa9)][_0x4ec85e(0xc8)](_0x4ec85e(0x93),_0x4afa8c,_0x4ec85e(0xac),_0x46ee36);for(const _0x413746 of[_0x4ec85e(0x88),_0x4ec85e(0x7b)])_0x556fee[_0x4ec85e(0xa9)][_0x4ec85e(0xc8)](_0x4ec85e(0x93),_0x413746,_0x4ec85e(0xac),_0x46ee36);_0x556fee[_0x4ec85e(0xa9)][_0x4ec85e(0xc8)](_0x4ec85e(0x93),_0x4ec85e(0xba),_0x4ec85e(0xac),_0xad3529=>{const _0x1b02b3=_0x4ec85e;_0x23490f[_0x1b02b3(0x99)][_0x1b02b3(0xad)](_0x3b2258=>{const _0xc27540=_0x1b02b3,_0x52af61=Array[_0xc27540(0xae)](_0x4aa1c7[_0xc27540(0xce)]())[_0xc27540(0xb7)](_0x30bf51=>_0x4f3d3a[_0xc27540(0x7f)](_0x30bf51));_0x3b2258[_0xc27540(0xc9)](_0xad3529),_0x23490f[_0xc27540(0x82)][_0xc27540(0xc0)](_0xc27540(0xba))[_0xc27540(0xa3)](),_0x23490f[_0xc27540(0xb4)](_0xc27540(0xba),{'forceDefaultExecution':!0x0});const _0x19853c=_0x52af61[_0xc27540(0x80)](_0x475bda=>_0xc27540(0xcd)!=_0x475bda[_0xc27540(0x96)][_0xc27540(0xa2)]);_0x19853c[_0xc27540(0xb0)]>0x0&&_0x3b2258[_0xc27540(0xc9)](_0x19853c);for(const _0x327766 of _0x52af61)_0x327766[_0xc27540(0x8b)]();});});for(const _0x1b0f49 of[_0x4ec85e(0x73),_0x4ec85e(0xb2),_0x4ec85e(0xaf),_0x4ec85e(0xb9)]){const _0x54cbb6=_0x23490f[_0x4ec85e(0x82)][_0x4ec85e(0xc0)](_0x1b0f49);_0x54cbb6['on'](_0x4ec85e(0x75),(_0x11a1e5,_0x4fd946,_0x264449)=>{const _0x4d8984=_0x4ec85e;if(_0x264449){const _0x1d9759=_0x23490f[_0x4d8984(0x99)][_0x4d8984(0xc6)][_0x4d8984(0x8c)][_0x4d8984(0x71)]()[_0x4d8984(0xc4)]()[_0x4d8984(0x8d)](_0x2e9c6b=>_0x2e9c6b['is'](_0x4d8984(0xb6),_0x4d8984(0x84)));this[_0x4d8984(0xcf)](_0x54cbb6[_0x4d8984(0x97)],_0x1d9759)||(_0x11a1e5[_0x4d8984(0x95)]=!0x1,_0x11a1e5[_0x4d8984(0xbe)]());}},{'priority':_0x4ec85e(0x94)});}}[_0x48796c(0xa7)](){const _0xbe1e1a=_0x48796c,_0x164c41=this[_0xbe1e1a(0xcc)][_0xbe1e1a(0x82)][_0xbe1e1a(0xc0)](_0xbe1e1a(0xba)),_0x4326bd=this[_0xbe1e1a(0xcc)][_0xbe1e1a(0x87)][_0xbe1e1a(0xc0)](_0xbe1e1a(0x83));if(!_0x164c41[_0xbe1e1a(0xab)])return!0x1;const _0x1dcd29=_0x4326bd[_0xbe1e1a(0xa6)](this[_0xbe1e1a(0xcc)][_0xbe1e1a(0x99)][_0xbe1e1a(0xc6)][_0xbe1e1a(0x8c)]);for(const _0x54c618 of _0x1dcd29)for(const _0x5b3b29 of _0x1dcd29)if(_0x54c618!=_0x5b3b29&&!this[_0xbe1e1a(0xcf)](_0x54c618,_0x5b3b29))return!0x1;return!0x0;}[_0x48796c(0xcf)](_0x566bf7,_0x3c4d62){const _0x2a89b7=_0x48796c,_0x231917=this[_0x2a89b7(0xcc)][_0x2a89b7(0x87)][_0x2a89b7(0xc0)](_0x2a89b7(0x7e)),_0x45954d=this[_0x2a89b7(0xcc)][_0x2a89b7(0x99)][_0x2a89b7(0x7d)](_0x566bf7),_0x4323bd=this[_0x2a89b7(0xcc)][_0x2a89b7(0x99)][_0x2a89b7(0x7d)](_0x3c4d62),_0x4860d6=new Set(),_0x5c1766=new Set();for(const _0x5a3910 of _0x231917[_0x2a89b7(0x74)]())if((_0x2a89b7(0xbd)==_0x5a3910[_0x2a89b7(0x9c)]||_0x2a89b7(0x8a)==_0x5a3910[_0x2a89b7(0x9c)]||_0x2a89b7(0xba)==_0x5a3910[_0x2a89b7(0x7c)])&&_0x5a3910[_0x2a89b7(0x9d)]){for(const _0x2e1f8a of _0x5a3910[_0x2a89b7(0xce)]())_0x2e1f8a[_0x2a89b7(0xb3)](_0x45954d,!0x0)&&_0x4860d6[_0x2a89b7(0xa4)](_0x5a3910[_0x2a89b7(0x9c)]+':'+_0x5a3910[_0x2a89b7(0x79)]['id']),_0x2e1f8a[_0x2a89b7(0xb3)](_0x4323bd,!0x0)&&_0x5c1766[_0x2a89b7(0xa4)](_0x5a3910[_0x2a89b7(0x9c)]+':'+_0x5a3910[_0x2a89b7(0x79)]['id']);}if(_0x4860d6[_0x2a89b7(0x86)]!=_0x5c1766[_0x2a89b7(0x86)])return!0x1;for(const _0x44fcf9 of _0x4860d6)if(!_0x5c1766[_0x2a89b7(0xbc)](_0x44fcf9))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x344546=_0x4cbe;function _0x4cbe(_0x1d1b7c,_0x51aa47){const _0x5ef44a=_0x5ef4();return _0x4cbe=function(_0x4cbefe,_0x1d3396){_0x4cbefe=_0x4cbefe-0x14a;let _0x488f2a=_0x5ef44a[_0x4cbefe];return _0x488f2a;},_0x4cbe(_0x1d1b7c,_0x51aa47);}(function(_0x52b204,_0x1e9e77){const _0x2d148e=_0x4cbe,_0x15345c=_0x52b204();while(!![]){try{const _0x4c7e07=parseInt(_0x2d148e(0x19b))/0x1*(parseInt(_0x2d148e(0x17a))/0x2)+parseInt(_0x2d148e(0x18a))/0x3*(-parseInt(_0x2d148e(0x15f))/0x4)+-parseInt(_0x2d148e(0x1ac))/0x5+parseInt(_0x2d148e(0x1a0))/0x6+parseInt(_0x2d148e(0x172))/0x7*(parseInt(_0x2d148e(0x189))/0x8)+parseInt(_0x2d148e(0x14c))/0x9+parseInt(_0x2d148e(0x162))/0xa*(-parseInt(_0x2d148e(0x199))/0xb);if(_0x4c7e07===_0x1e9e77)break;else _0x15345c['push'](_0x15345c['shift']());}catch(_0x3f5f8e){_0x15345c['push'](_0x15345c['shift']());}}}(_0x5ef4,0x8afe4));function _0x5ef4(){const _0x364897=['_areSelectedCellsMergable','getSuggestions','from','*Split\x20cell:*\x20horizontally','filter','afterInit','TableEditing','setSelection','createRangeOn','find','add','572nzaNDv','_acceptFormatSuggestionCallbackFactory','45883NSZEBz','mergeTableCells','commandName','low','set:isEnabled','966198NsNWTF','enableCommand','trackChanges','_suggestionFactory','author','highest','execute','get','registerCustomCallback','plugins','length','table','4479050NQvIJn','value','descriptionFactory','root','8656767VgvQRB','*Split\x20cell:*\x20vertically','cell','*Merge\x20cells*','TrackChangesEditing','$graveyard','_tablePostFixingSubtypes','splitTableCellHorizontally','insertion','push','isEnabled','editor','mergeTableCellDown','format','change','map','return','_isForcedDefaultExecutionBlock','formatInline','310888XxNYlC','forceDefaultExecution','type','248950nTxEkN','element','requires','getAncestors','accept','registerDescriptionCallback','getRanges','getFirstPosition','detach','locale','findAncestor','tableCell','splitTableCellVertically','isInContent','subType','mergeTableCellRight','7btADQD','rootName','selection','has','horizontally','formatBlock','createTableWalker','mergeTableCellLeft','44DDYEnM','mergeTableCellUp','model','size','deletion','commands','stop','direction','markBlockFormat','containsRange','_areMergableCells','getSelectionAffectedTableCells','refresh','getCellLocation','document','5640528ynLnRP','3YAIbGq','fromRange','markMultiRangeBlockFormat','TableUtils'];_0x5ef4=function(){return _0x364897;};return _0x5ef4();}import{Plugin as _0x25645c}from'ckeditor5/src/core.js';import _0x1ad010 from'./table.js';import{LiveRange as _0x34e13e}from'ckeditor5/src/engine.js';import{getTranslation as _0x50aecb}from'../utils/common-translations.js';export default class St extends _0x25645c{static get[_0x344546(0x164)](){return[_0x1ad010];}[_0x344546(0x193)](){const _0x3d6dc4=_0x344546,_0x4b7f5c=this[_0x3d6dc4(0x157)],_0x2f0b6f=_0x4b7f5c[_0x3d6dc4(0x17c)][_0x3d6dc4(0x188)][_0x3d6dc4(0x174)],_0x33d87d=_0x4b7f5c[_0x3d6dc4(0x16b)];if(!_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x175)](_0x3d6dc4(0x194)))return;const _0x4eed1c=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x150)),_0x283032=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x18d)),_0x3628ac=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x1ad010);_0x3628ac[_0x3d6dc4(0x152)][_0x3d6dc4(0x155)](_0x3d6dc4(0x19c)),_0x4eed1c[_0x3d6dc4(0x1a1)](_0x3d6dc4(0x19c),()=>{const _0x54bacb=_0x3d6dc4,_0x2169f0=_0x283032[_0x54bacb(0x185)](_0x4b7f5c[_0x54bacb(0x17c)][_0x54bacb(0x188)][_0x54bacb(0x174)]);_0x4b7f5c[_0x54bacb(0x17c)][_0x54bacb(0x15a)](()=>{const _0x47a109=_0x54bacb;_0x4eed1c[_0x47a109(0x18c)](_0x2169f0,{'commandName':_0x47a109(0x19c),'commandParams':[]},[],_0x47a109(0x19c));});}),_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x19c))['on'](_0x3d6dc4(0x1a6),(_0x3faafb,_0x469ef8)=>{const _0x59a27d=_0x3d6dc4;_0x4b7f5c[_0x59a27d(0x17f)][_0x59a27d(0x1a7)](_0x59a27d(0x1a2))[_0x59a27d(0x1ad)]&&(_0x469ef8[_0x59a27d(0x1aa)]>0x0&&_0x469ef8[_0x469ef8[_0x59a27d(0x1aa)]-0x1]&&_0x469ef8[_0x469ef8[_0x59a27d(0x1aa)]-0x1][_0x59a27d(0x160)]||_0x4eed1c[_0x59a27d(0x15d)]||this[_0x59a27d(0x18e)]()||_0x3faafb[_0x59a27d(0x180)]());},{'priority':_0x3d6dc4(0x1a5)});for(const _0x45a722 of[_0x3d6dc4(0x17b),_0x3d6dc4(0x171),_0x3d6dc4(0x158),_0x3d6dc4(0x179)]){const _0x2c2438=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x45a722);_0x4eed1c[_0x3d6dc4(0x1a1)](_0x45a722,()=>{const _0x52262b=_0x3d6dc4,_0x4ca3a8=_0x4b7f5c[_0x52262b(0x17c)][_0x52262b(0x188)][_0x52262b(0x174)][_0x52262b(0x169)]()[_0x52262b(0x165)]()[_0x52262b(0x197)](_0x1735e8=>_0x1735e8['is'](_0x52262b(0x163),_0x52262b(0x16d))),_0x2059e4=_0x2c2438[_0x52262b(0x1ad)];_0x4b7f5c[_0x52262b(0x17c)][_0x52262b(0x15a)](()=>{const _0x3d3883=_0x52262b;_0x4eed1c[_0x3d3883(0x18c)]([_0x4ca3a8,_0x2059e4],{'commandName':_0x3d3883(0x19c),'commandParams':[]},[],_0x3d3883(0x19c));});});}for(const _0x99fe12 of[_0x3d6dc4(0x16e),_0x3d6dc4(0x153)]){const _0x4a0e4f=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x99fe12);_0x4eed1c[_0x3d6dc4(0x1a1)](_0x99fe12,()=>{const _0x441ca8=_0x3d6dc4,_0x227f98=_0x283032[_0x441ca8(0x185)](_0x4b7f5c[_0x441ca8(0x17c)][_0x441ca8(0x188)][_0x441ca8(0x174)])[0x0],_0x542304=_0x227f98[_0x441ca8(0x16c)](_0x441ca8(0x1ab)),{column:_0x41dd16,row:_0x2409ab}=_0x283032[_0x441ca8(0x187)](_0x227f98);let _0x4978d8=[];if(_0x441ca8(0x176)==_0x4a0e4f[_0x441ca8(0x181)]){const _0x36a64e=_0x283032[_0x441ca8(0x178)](_0x542304,{'startRow':_0x2409ab,'endRow':_0x2409ab,'includeAllSlots':!0x0});_0x4978d8=Array[_0x441ca8(0x190)](_0x36a64e)[_0x441ca8(0x15b)](_0x46a39d=>_0x46a39d[_0x441ca8(0x14e)]);}else{const _0x456a0c=_0x283032[_0x441ca8(0x178)](_0x542304,{'column':_0x41dd16,'includeAllSlots':!0x0});_0x4978d8=Array[_0x441ca8(0x190)](_0x456a0c)[_0x441ca8(0x15b)](_0x5c1d6c=>_0x5c1d6c[_0x441ca8(0x14e)]);}_0x4b7f5c[_0x441ca8(0x17c)][_0x441ca8(0x15a)](_0x1e09a5=>{const _0x17984b=_0x441ca8;_0x4eed1c[_0x17984b(0x182)](_0x1e09a5[_0x17984b(0x196)](_0x227f98),{'commandName':_0x99fe12,'commandParams':[]},_0x4978d8,_0x99fe12);});});}_0x4eed1c[_0x3d6dc4(0x14a)][_0x3d6dc4(0x167)](_0x40d95a=>{const _0x7c4d6a=_0x3d6dc4;if(_0x7c4d6a(0x177)!=_0x40d95a[_0x7c4d6a(0x161)]&&_0x7c4d6a(0x15e)!=_0x40d95a[_0x7c4d6a(0x161)])return;const {data:_0x2300bb}=_0x40d95a;return _0x2300bb&&_0x7c4d6a(0x19c)==_0x2300bb[_0x7c4d6a(0x19d)]?{'type':_0x7c4d6a(0x159),'content':_0x50aecb(_0x33d87d,_0x7c4d6a(0x14f))}:void 0x0;}),_0x4eed1c[_0x3d6dc4(0x14a)][_0x3d6dc4(0x167)](_0x1c057b=>{const _0x30c46e=_0x3d6dc4;if(_0x30c46e(0x177)!=_0x1c057b[_0x30c46e(0x161)]&&_0x30c46e(0x15e)!=_0x1c057b[_0x30c46e(0x161)])return;const {data:_0x2f87d4}=_0x1c057b;return _0x2f87d4?_0x30c46e(0x16e)==_0x2f87d4[_0x30c46e(0x19d)]?{'type':_0x30c46e(0x159),'content':_0x50aecb(_0x33d87d,_0x30c46e(0x14d))}:_0x30c46e(0x153)==_0x2f87d4[_0x30c46e(0x19d)]?{'type':_0x30c46e(0x159),'content':_0x50aecb(_0x33d87d,_0x30c46e(0x191))}:void 0x0:void 0x0;});const _0x499719=_0x3628ac[_0x3d6dc4(0x19a)]();for(const _0x49110b of[_0x3d6dc4(0x17b),_0x3d6dc4(0x171),_0x3d6dc4(0x158),_0x3d6dc4(0x179)])_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0x49110b,_0x3d6dc4(0x166),_0x499719);for(const _0xd7ebbd of[_0x3d6dc4(0x16e),_0x3d6dc4(0x153)])_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0xd7ebbd,_0x3d6dc4(0x166),_0x499719);_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0x3d6dc4(0x19c),_0x3d6dc4(0x166),_0x229c45=>{const _0x57f3d1=_0x3d6dc4;_0x4b7f5c[_0x57f3d1(0x17c)][_0x57f3d1(0x15a)](_0x46adb0=>{const _0x1d08df=_0x57f3d1,_0x3cc7a4=Array[_0x1d08df(0x190)](_0x2f0b6f[_0x1d08df(0x168)]())[_0x1d08df(0x15b)](_0x2f6821=>_0x34e13e[_0x1d08df(0x18b)](_0x2f6821));_0x46adb0[_0x1d08df(0x195)](_0x229c45),_0x4b7f5c[_0x1d08df(0x17f)][_0x1d08df(0x1a7)](_0x1d08df(0x19c))[_0x1d08df(0x186)](),_0x4b7f5c[_0x1d08df(0x1a6)](_0x1d08df(0x19c),{'forceDefaultExecution':!0x0});const _0x5aa391=_0x3cc7a4[_0x1d08df(0x192)](_0x3ca6e6=>_0x1d08df(0x151)!=_0x3ca6e6[_0x1d08df(0x14b)][_0x1d08df(0x173)]);_0x5aa391[_0x1d08df(0x1aa)]>0x0&&_0x46adb0[_0x1d08df(0x195)](_0x5aa391);for(const _0x4337c9 of _0x3cc7a4)_0x4337c9[_0x1d08df(0x16a)]();});});for(const _0x44f1dc of[_0x3d6dc4(0x17b),_0x3d6dc4(0x158),_0x3d6dc4(0x179),_0x3d6dc4(0x171)]){const _0x46ba26=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x44f1dc);_0x46ba26['on'](_0x3d6dc4(0x19f),(_0x16349c,_0x50c46c,_0x174454)=>{const _0x317939=_0x3d6dc4;if(_0x174454){const _0x61f561=_0x4b7f5c[_0x317939(0x17c)][_0x317939(0x188)][_0x317939(0x174)][_0x317939(0x169)]()[_0x317939(0x165)]()[_0x317939(0x197)](_0x36604f=>_0x36604f['is'](_0x317939(0x163),_0x317939(0x16d)));this[_0x317939(0x184)](_0x46ba26[_0x317939(0x1ad)],_0x61f561)||(_0x16349c[_0x317939(0x15c)]=!0x1,_0x16349c[_0x317939(0x180)]());}},{'priority':_0x3d6dc4(0x19e)});}}[_0x344546(0x18e)](){const _0x4c4797=_0x344546,_0x1324b0=this[_0x4c4797(0x157)][_0x4c4797(0x17f)][_0x4c4797(0x1a7)](_0x4c4797(0x19c)),_0x3a3f0e=this[_0x4c4797(0x157)][_0x4c4797(0x1a9)][_0x4c4797(0x1a7)](_0x4c4797(0x18d));if(!_0x1324b0[_0x4c4797(0x156)])return!0x1;const _0x478165=_0x3a3f0e[_0x4c4797(0x185)](this[_0x4c4797(0x157)][_0x4c4797(0x17c)][_0x4c4797(0x188)][_0x4c4797(0x174)]);for(const _0x48586c of _0x478165)for(const _0x5d97e7 of _0x478165)if(_0x48586c!=_0x5d97e7&&!this[_0x4c4797(0x184)](_0x48586c,_0x5d97e7))return!0x1;return!0x0;}[_0x344546(0x184)](_0x15e32b,_0x53b8da){const _0x57106b=_0x344546,_0x51f9b3=this[_0x57106b(0x157)][_0x57106b(0x1a9)][_0x57106b(0x1a7)](_0x57106b(0x150)),_0x444c2f=this[_0x57106b(0x157)][_0x57106b(0x17c)][_0x57106b(0x196)](_0x15e32b),_0x3dd1f7=this[_0x57106b(0x157)][_0x57106b(0x17c)][_0x57106b(0x196)](_0x53b8da),_0x157dfa=new Set(),_0x50735b=new Set();for(const _0x54226e of _0x51f9b3[_0x57106b(0x18f)]())if((_0x57106b(0x154)==_0x54226e[_0x57106b(0x161)]||_0x57106b(0x17e)==_0x54226e[_0x57106b(0x161)]||_0x57106b(0x19c)==_0x54226e[_0x57106b(0x170)])&&_0x54226e[_0x57106b(0x16f)]){for(const _0x66d4a6 of _0x54226e[_0x57106b(0x168)]())_0x66d4a6[_0x57106b(0x183)](_0x444c2f,!0x0)&&_0x157dfa[_0x57106b(0x198)](_0x54226e[_0x57106b(0x161)]+':'+_0x54226e[_0x57106b(0x1a4)]['id']),_0x66d4a6[_0x57106b(0x183)](_0x3dd1f7,!0x0)&&_0x50735b[_0x57106b(0x198)](_0x54226e[_0x57106b(0x161)]+':'+_0x54226e[_0x57106b(0x1a4)]['id']);}if(_0x157dfa[_0x57106b(0x17d)]!=_0x50735b[_0x57106b(0x17d)])return!0x1;for(const _0x280c96 of _0x157dfa)if(!_0x50735b[_0x57106b(0x175)](_0x280c96))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x450062=_0xa3a1;function _0xa3a1(_0xcb558a,_0x570892){const _0x3588c0=_0x3588();return _0xa3a1=function(_0xa3a1fd,_0x16735e){_0xa3a1fd=_0xa3a1fd-0xa5;let _0x585c6d=_0x3588c0[_0xa3a1fd];return _0x585c6d;},_0xa3a1(_0xcb558a,_0x570892);}(function(_0xc604d1,_0x50e6d2){const _0xb2070f=_0xa3a1,_0x305036=_0xc604d1();while(!![]){try{const _0x32a8f1=-parseInt(_0xb2070f(0xb4))/0x1+-parseInt(_0xb2070f(0xa5))/0x2*(parseInt(_0xb2070f(0xa9))/0x3)+parseInt(_0xb2070f(0xb7))/0x4+parseInt(_0xb2070f(0xa6))/0x5+-parseInt(_0xb2070f(0xbb))/0x6+-parseInt(_0xb2070f(0xb3))/0x7*(parseInt(_0xb2070f(0xb2))/0x8)+-parseInt(_0xb2070f(0xac))/0x9*(-parseInt(_0xb2070f(0xae))/0xa);if(_0x32a8f1===_0x50e6d2)break;else _0x305036['push'](_0x305036['shift']());}catch(_0x404023){_0x305036['push'](_0x305036['shift']());}}}(_0x3588,0x70fd6));function _0x3588(){const _0x5935ef=['903833bevZAo','399183SfVBWi','tableOfContents','TrackChangesEditing','36312mWxMhx','enableCommand','ELEMENT_TABLE_OF_CONTENTS','locale','1821456KMKaEk','214244nJHZsz','2242705VRfDCe','get','insertTableOfContents','12CUPbtO','registerElementLabel','editor','81sPDGqL','descriptionFactory','1406170oLVyiz','commands','afterInit','plugins','8TARiSM'];_0x3588=function(){return _0x5935ef;};return _0x3588();}import{Plugin as _0x459848}from'ckeditor5/src/core.js';import{getTranslation as _0x3e6116}from'../utils/common-translations.js';export default class Ct extends _0x459848{[_0x450062(0xb0)](){const _0x4b053a=_0x450062,_0x97f1ec=this[_0x4b053a(0xab)];if(!_0x97f1ec[_0x4b053a(0xaf)][_0x4b053a(0xa7)](_0x4b053a(0xa8)))return;_0x97f1ec[_0x4b053a(0xb1)][_0x4b053a(0xa7)](_0x4b053a(0xb6))[_0x4b053a(0xb8)](_0x4b053a(0xa8));const _0x47e222=_0x97f1ec[_0x4b053a(0xb1)][_0x4b053a(0xa7)](_0x4b053a(0xb6)),_0x475a6e=_0x97f1ec[_0x4b053a(0xba)];_0x47e222[_0x4b053a(0xad)][_0x4b053a(0xaa)](_0x4b053a(0xb5),_0x4512b1=>_0x3e6116(_0x475a6e,_0x4b053a(0xb9),_0x4512b1));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x495b66=_0xb337;(function(_0x582d9e,_0x624fe1){const _0x1e6fdd=_0xb337,_0x448732=_0x582d9e();while(!![]){try{const _0x1f43c8=parseInt(_0x1e6fdd(0x19c))/0x1+parseInt(_0x1e6fdd(0x159))/0x2*(parseInt(_0x1e6fdd(0x19f))/0x3)+-parseInt(_0x1e6fdd(0x17c))/0x4*(-parseInt(_0x1e6fdd(0x166))/0x5)+parseInt(_0x1e6fdd(0x194))/0x6+-parseInt(_0x1e6fdd(0x17d))/0x7+-parseInt(_0x1e6fdd(0x161))/0x8+parseInt(_0x1e6fdd(0x189))/0x9;if(_0x1f43c8===_0x624fe1)break;else _0x448732['push'](_0x448732['shift']());}catch(_0x39aae3){_0x448732['push'](_0x448732['shift']());}}}(_0x37da,0xf3eaa));function _0x37da(){const _0x3bde0e=['TableCellPropertiesEditing','descriptionFactory','discard','afterInit','accept','_handlePropertyChange','has','tableCellHeight','subType','10717857dKCTpe','plugins','tableCellBorderStyle','data','formatBlock','tableCellPadding','get','start','selection','change','getSelectionAffectedTableCells','811440KycAwK','document','tableHeight','registerDescriptionCallback','tableWidth','*Format:*\x20change\x20table\x20properties','tableCellBorderWidth','getFirstPosition','399475LFzhFu','TablePropertiesEditing','tableCellWidth','5653194kymRkz','tableBorderWidth','tableBorderColor','nodeAfter','tableCellBorderColor','tableProperties','TrackChangesEditing','2DcsVyc','join','tableCellBackgroundColor','model','tableCellProperties','enqueueChange','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','13531008TCOHth','getContainedElement','pluginName','editor','batch','2285wBIXeC','tableCellHorizontalAlignment','findAncestor','handleSuggestionDescription','getSuggestions','tableBackgroundColor','removeAttribute','tableCellVerticalAlignment','table','TableUtils','TrackChangesTableProperties','markBlockFormat','commandParams','_getSuggestion','getAttribute','setAttribute','handleDiscardAction','registerCustomCallback','format','_suggestionFactory','tableBorderStyle','enableCommand','3512hwiLNf','9245418rbbUxh','tableAlignment','locale'];_0x37da=function(){return _0x3bde0e;};return _0x37da();}import{Plugin as _0x15eeaf}from'ckeditor5/src/core.js';import{getTranslation as _0x301b13}from'../utils/common-translations.js';function _0xb337(_0x2d27bd,_0x2e19ad){const _0x37da24=_0x37da();return _0xb337=function(_0xb337fb,_0x484be8){_0xb337fb=_0xb337fb-0x155;let _0x387c5c=_0x37da24[_0xb337fb];return _0x387c5c;},_0xb337(_0x2d27bd,_0x2e19ad);}export default class $t extends _0x15eeaf{constructor(_0x52730b){const _0x3ceae6=_0xb337;super(_0x52730b),this[_0x3ceae6(0x157)]=[_0x3ceae6(0x1a1),_0x3ceae6(0x17a),_0x3ceae6(0x1a0),_0x3ceae6(0x17e),_0x3ceae6(0x198),_0x3ceae6(0x196),_0x3ceae6(0x16b)],this[_0x3ceae6(0x15d)]=[_0x3ceae6(0x156),_0x3ceae6(0x18b),_0x3ceae6(0x19a),_0x3ceae6(0x18e),_0x3ceae6(0x19e),_0x3ceae6(0x187),_0x3ceae6(0x15b),_0x3ceae6(0x167),_0x3ceae6(0x16d)];}static get[_0x495b66(0x163)](){const _0x1b9b3a=_0x495b66;return _0x1b9b3a(0x170);}[_0x495b66(0x183)](){const _0x1148a8=_0x495b66,_0x149f9a=this[_0x1148a8(0x164)][_0x1148a8(0x18a)][_0x1148a8(0x18f)](_0x1148a8(0x158));if(this[_0x1148a8(0x164)][_0x1148a8(0x18a)][_0x1148a8(0x186)](_0x1148a8(0x19d))){for(const _0x45f2e5 of this[_0x1148a8(0x157)])_0x149f9a[_0x1148a8(0x17b)](_0x45f2e5,(_0x1bbd97,_0x30488a)=>{const _0x3cdd26=_0x1148a8,_0x320a41=this[_0x3cdd26(0x164)][_0x3cdd26(0x15c)][_0x3cdd26(0x195)][_0x3cdd26(0x191)][_0x3cdd26(0x19b)]()[_0x3cdd26(0x168)](_0x3cdd26(0x16e));this[_0x3cdd26(0x185)](_0x45f2e5,[_0x320a41],this[_0x3cdd26(0x157)],_0x3cdd26(0x157),_0x1bbd97,_0x30488a);});_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x157),_0x1148a8(0x184),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x15f)](_0x1148a8(0x18d),null,_0x1148a8(0x182))),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x157),_0x1148a8(0x182),(_0x359b1c,_0x34bbaa)=>this[_0x1148a8(0x176)](this[_0x1148a8(0x157)],_0x359b1c,_0x34bbaa)),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x157),_0x1148a8(0x15a),()=>!0x1);}if(this[_0x1148a8(0x164)][_0x1148a8(0x18a)][_0x1148a8(0x186)](_0x1148a8(0x180))){for(const _0x407eab of this[_0x1148a8(0x15d)])_0x149f9a[_0x1148a8(0x17b)](_0x407eab,(_0xb412dc,_0x3a109e)=>{const _0x37367e=_0x1148a8,_0x12c4f9=this[_0x37367e(0x164)][_0x37367e(0x18a)][_0x37367e(0x18f)](_0x37367e(0x16f))[_0x37367e(0x193)](this[_0x37367e(0x164)][_0x37367e(0x15c)][_0x37367e(0x195)][_0x37367e(0x191)]);this[_0x37367e(0x185)](_0x407eab,_0x12c4f9,this[_0x37367e(0x15d)],_0x37367e(0x15d),_0xb412dc,_0x3a109e);});_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x15d),_0x1148a8(0x184),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x15f)](_0x1148a8(0x18d),null,_0x1148a8(0x182))),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x15d),_0x1148a8(0x182),(_0x12da84,_0x48123d)=>this[_0x1148a8(0x176)](this[_0x1148a8(0x15d)],_0x12da84,_0x48123d)),_0x149f9a[_0x1148a8(0x179)][_0x1148a8(0x177)](_0x1148a8(0x18d),_0x1148a8(0x15d),_0x1148a8(0x15a),()=>!0x1);}_0x149f9a[_0x1148a8(0x181)][_0x1148a8(0x197)](_0x448a93=>this[_0x1148a8(0x169)](_0x448a93));}[_0x495b66(0x185)](_0x4edbbf,_0x299dbc,_0x5f0861,_0x59f027,_0x1a2b0c,_0x1b89ac){const _0x454419=_0x495b66,_0x535146=this[_0x454419(0x164)][_0x454419(0x18a)][_0x454419(0x18f)](_0x454419(0x158));this[_0x454419(0x164)][_0x454419(0x15c)][_0x454419(0x15e)](_0x1b89ac[_0x454419(0x165)],()=>{const _0x338c0e=_0x454419;for(const _0x3b776a of _0x299dbc){if(this[_0x338c0e(0x173)](_0x3b776a,_0x59f027))_0x1a2b0c(_0x1b89ac);else{const _0x2b818d={};for(const _0x2b7bd0 of _0x5f0861){const _0x419805=_0x3b776a[_0x338c0e(0x174)](_0x2b7bd0);void 0x0!==_0x419805&&(_0x2b818d[_0x2b7bd0]=_0x419805);}_0x1a2b0c(_0x1b89ac),_0x535146[_0x338c0e(0x171)](_0x3b776a,{'commandParams':[_0x2b818d]},[],_0x59f027);}}});}[_0x495b66(0x176)](_0x1b3450,_0x4f384d,_0x354efc){const _0x314e93=_0x495b66,_0xe5e638=_0x4f384d[0x0][_0x314e93(0x190)][_0x314e93(0x155)],_0x18e150=_0x354efc[_0x314e93(0x172)][0x0];this[_0x314e93(0x164)][_0x314e93(0x15c)][_0x314e93(0x192)](_0x309d26=>{const _0xb12151=_0x314e93;for(const _0x452101 of _0x1b3450)void 0x0!==_0x18e150[_0x452101]?_0x309d26[_0xb12151(0x175)](_0x452101,_0x18e150[_0x452101],_0xe5e638):_0x309d26[_0xb12151(0x16c)](_0x452101,_0xe5e638);});}[_0x495b66(0x169)](_0x43e18b){const _0x403c12=_0x495b66;if(_0x43e18b[_0x403c12(0x18c)])switch(_0x43e18b[_0x403c12(0x188)]){case _0x403c12(0x157):return{'type':_0x403c12(0x178),'content':_0x301b13(this[_0x403c12(0x164)][_0x403c12(0x17f)],_0x403c12(0x199))};case _0x403c12(0x15d):return{'type':_0x403c12(0x178),'content':_0x301b13(this[_0x403c12(0x164)][_0x403c12(0x17f)],_0x403c12(0x160))};}}[_0x495b66(0x173)](_0x2500d1,_0x399925){const _0x1f5075=_0x495b66,_0x36fe5a=this[_0x1f5075(0x164)][_0x1f5075(0x18a)][_0x1f5075(0x18f)](_0x1f5075(0x158));for(const _0x5a16a6 of _0x36fe5a[_0x1f5075(0x16a)]({'skipNotAttached':!0x0})){const _0x244cb9=_0x5a16a6[_0x1f5075(0x162)]();if(_0x5a16a6[_0x1f5075(0x188)]===_0x399925&&_0x244cb9===_0x2500d1)return _0x5a16a6;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x430a1a=_0x41ff;function _0x41ff(_0x5094cc,_0x5c1a28){const _0x2abbef=_0x2abb();return _0x41ff=function(_0x41ff59,_0x26abec){_0x41ff59=_0x41ff59-0x88;let _0x23df9b=_0x2abbef[_0x41ff59];return _0x23df9b;},_0x41ff(_0x5094cc,_0x5c1a28);}(function(_0x43fc9b,_0x75804b){const _0x4593e2=_0x41ff,_0x27dee9=_0x43fc9b();while(!![]){try{const _0x5d8a62=-parseInt(_0x4593e2(0x90))/0x1*(parseInt(_0x4593e2(0x8d))/0x2)+parseInt(_0x4593e2(0x8b))/0x3+parseInt(_0x4593e2(0x8c))/0x4*(-parseInt(_0x4593e2(0x95))/0x5)+-parseInt(_0x4593e2(0x91))/0x6*(-parseInt(_0x4593e2(0x89))/0x7)+-parseInt(_0x4593e2(0x8e))/0x8+parseInt(_0x4593e2(0x93))/0x9*(-parseInt(_0x4593e2(0x8a))/0xa)+parseInt(_0x4593e2(0x98))/0xb;if(_0x5d8a62===_0x75804b)break;else _0x27dee9['push'](_0x27dee9['shift']());}catch(_0x4eeb2d){_0x27dee9['push'](_0x27dee9['shift']());}}}(_0x2abb,0xb6cdb));function _0x2abb(){const _0x5ed04d=['enableCommand','356229qmsAuB','plugins','170445xYLtNF','editor','get','10078431UpamUF','Template','has','TrackChangesEditing','insertTemplate','7ZuoQZp','120xvDtWP','4383918SBqeYX','116MWoWsj','2105176nSVRmf','4073192TlqPAl','afterInit','1hmRtnY','8379156vhXIZw'];_0x2abb=function(){return _0x5ed04d;};return _0x2abb();}import{Plugin as _0x21aab7}from'ckeditor5/src/core.js';export default class _t extends _0x21aab7{[_0x430a1a(0x8f)](){const _0x4d4ad6=_0x430a1a,_0x4fe222=this[_0x4d4ad6(0x96)];_0x4fe222[_0x4d4ad6(0x94)][_0x4d4ad6(0x9a)](_0x4d4ad6(0x99))&&_0x4fe222[_0x4d4ad6(0x94)][_0x4d4ad6(0x97)](_0x4d4ad6(0x9b))[_0x4d4ad6(0x92)](_0x4d4ad6(0x88));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59890e=_0x22e3;(function(_0xff7d45,_0x56faa5){const _0x42105a=_0x22e3,_0x3627b3=_0xff7d45();while(!![]){try{const _0x1666cf=parseInt(_0x42105a(0x167))/0x1+parseInt(_0x42105a(0x175))/0x2*(parseInt(_0x42105a(0x18f))/0x3)+-parseInt(_0x42105a(0x16e))/0x4*(-parseInt(_0x42105a(0x17f))/0x5)+parseInt(_0x42105a(0x16c))/0x6+parseInt(_0x42105a(0x16b))/0x7+-parseInt(_0x42105a(0x18d))/0x8+-parseInt(_0x42105a(0x189))/0x9*(parseInt(_0x42105a(0x17e))/0xa);if(_0x1666cf===_0x56faa5)break;else _0x3627b3['push'](_0x3627b3['shift']());}catch(_0x3a022a){_0x3627b3['push'](_0x3627b3['shift']());}}}(_0x5b66,0xb623f));import{Plugin as _0x3f7776}from'ckeditor5/src/core.js';import{getTranslation as _0x524aaf}from'../utils/common-translations.js';function _0x5b66(){const _0x2a77f6=['2460TEYGfI','10AiCNoU','getChangedMarkers','newRange','get','locale','nodeBefore','isCollapsed','element','registerPostFixer','title-content','95193nYQdMi','TrackChangesEditing','schema','differ','55432mVFwec','registerElementLabel','108KBkjVa','afterInit','updateMarker','isTouching','1280527PRgNdf','isEqual','has','plugins','4704861PAGSGu','3795348EzEHOl','model','1085388CaLfeT','suggestion','getNearestSelectionRange','end','start','forward','document','12612BeGbhJ','from','ELEMENT_TITLE','editor','createRange','Title','removeMarker','descriptionFactory','_splitMarkerName'];_0x5b66=function(){return _0x2a77f6;};return _0x5b66();}function _0x22e3(_0x5a5b93,_0x38da6c){const _0x5b6656=_0x5b66();return _0x22e3=function(_0x22e36e,_0x108dc4){_0x22e36e=_0x22e36e-0x165;let _0x33565c=_0x5b6656[_0x22e36e];return _0x33565c;},_0x22e3(_0x5a5b93,_0x38da6c);}export default class Dt extends _0x3f7776{[_0x59890e(0x190)](){const _0x4255d2=_0x59890e,_0x595b0f=this[_0x4255d2(0x178)];if(!_0x595b0f[_0x4255d2(0x16a)][_0x4255d2(0x169)](_0x4255d2(0x17a)))return;const _0x3121e2=_0x595b0f[_0x4255d2(0x16a)][_0x4255d2(0x182)](_0x4255d2(0x18a));_0x3121e2[_0x4255d2(0x17c)][_0x4255d2(0x18e)](_0x4255d2(0x188),()=>_0x524aaf(_0x595b0f[_0x4255d2(0x183)],_0x4255d2(0x177))),_0x595b0f[_0x4255d2(0x16d)][_0x4255d2(0x174)][_0x4255d2(0x187)](_0x2cef3d=>{const _0x313f2f=_0x4255d2;let _0x12d223=!0x1;const _0x57876d=Array[_0x313f2f(0x176)](_0x595b0f[_0x313f2f(0x16d)][_0x313f2f(0x174)][_0x313f2f(0x18c)][_0x313f2f(0x180)]());for(const {name:_0x220218,data:_0x414119}of _0x57876d){const {group:_0x50d9f4}=_0x3121e2[_0x313f2f(0x17d)](_0x220218);if(_0x313f2f(0x16f)!==_0x50d9f4||!_0x414119[_0x313f2f(0x181)])continue;const _0x1f16e9=_0x414119[_0x313f2f(0x181)],_0xcd88e7=_0x1f16e9[_0x313f2f(0x171)][_0x313f2f(0x184)];if(!_0xcd88e7||!_0xcd88e7['is'](_0x313f2f(0x186),_0x313f2f(0x188)))continue;if(!_0x1f16e9[_0x313f2f(0x172)][_0x313f2f(0x166)](_0x1f16e9[_0x313f2f(0x171)]))continue;const _0x560729=_0x595b0f[_0x313f2f(0x16d)][_0x313f2f(0x18b)][_0x313f2f(0x170)](_0x1f16e9[_0x313f2f(0x171)],_0x313f2f(0x173));if(_0x560729&&_0x560729[_0x313f2f(0x185)]){const _0x46ace0=_0x2cef3d[_0x313f2f(0x179)](_0x1f16e9[_0x313f2f(0x172)],_0x560729[_0x313f2f(0x172)]);_0x46ace0[_0x313f2f(0x168)](_0x1f16e9)||(_0x2cef3d[_0x313f2f(0x165)](_0x220218,{'range':_0x46ace0}),_0x12d223=!0x0);}_0x12d223||(_0x2cef3d[_0x313f2f(0x17b)](_0x220218),_0x12d223=!0x0);}return _0x12d223;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1920de=_0x1d8b;(function(_0x308694,_0x14d73e){const _0x2c02c9=_0x1d8b,_0x2e41d0=_0x308694();while(!![]){try{const _0x15c9da=parseInt(_0x2c02c9(0x1ee))/0x1+-parseInt(_0x2c02c9(0x1ea))/0x2*(parseInt(_0x2c02c9(0x1e7))/0x3)+parseInt(_0x2c02c9(0x1f0))/0x4+-parseInt(_0x2c02c9(0x1ed))/0x5+parseInt(_0x2c02c9(0x1f1))/0x6+parseInt(_0x2c02c9(0x1f2))/0x7+parseInt(_0x2c02c9(0x1e1))/0x8*(parseInt(_0x2c02c9(0x1eb))/0x9);if(_0x15c9da===_0x14d73e)break;else _0x2e41d0['push'](_0x2e41d0['shift']());}catch(_0x53782c){_0x2e41d0['push'](_0x2e41d0['shift']());}}}(_0x364e,0x79c1a));function _0x1d8b(_0x41cf88,_0x4f6268){const _0x364e70=_0x364e();return _0x1d8b=function(_0x1d8b10,_0x349950){_0x1d8b10=_0x1d8b10-0x1e0;let _0x33ff64=_0x364e70[_0x1d8b10];return _0x33ff64;},_0x1d8b(_0x41cf88,_0x4f6268);}import{Plugin as _0x3d08d1}from'ckeditor5/src/core.js';export default class Nt extends _0x3d08d1{[_0x1920de(0x1ec)](){const _0x3d4ffa=_0x1920de,_0x21f414=this[_0x3d4ffa(0x1e8)],_0x3d51c6=_0x21f414[_0x3d4ffa(0x1ef)][_0x3d4ffa(0x1e6)](_0x3d4ffa(0x1e2));_0x21f414[_0x3d4ffa(0x1ef)][_0x3d4ffa(0x1e3)](_0x3d4ffa(0x1e0))&&(_0x3d51c6[_0x3d4ffa(0x1e9)](_0x3d4ffa(0x1e5)),_0x3d51c6[_0x3d4ffa(0x1e9)](_0x3d4ffa(0x1e4)));}}function _0x364e(){const _0x5c5a03=['get','41664ZuPskv','editor','enableCommand','88umktTM','549oMfDni','afterInit','4735140TIPPLH','719041hEDXSe','plugins','189424XozYda','3246612AbPOdI','1610154yZmKKp','UndoEditing','68104jwwyAk','TrackChangesEditing','has','redo','undo'];_0x364e=function(){return _0x5c5a03;};return _0x364e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x52ef54,_0x3be70d){const _0xaed201=_0x3b63,_0x4d4340=_0x52ef54();while(!![]){try{const _0x260ed3=-parseInt(_0xaed201(0x1ea))/0x1*(-parseInt(_0xaed201(0x1e4))/0x2)+-parseInt(_0xaed201(0x1d7))/0x3*(-parseInt(_0xaed201(0x1ec))/0x4)+parseInt(_0xaed201(0x1d6))/0x5*(parseInt(_0xaed201(0x1e0))/0x6)+-parseInt(_0xaed201(0x1dc))/0x7+parseInt(_0xaed201(0x1e9))/0x8+parseInt(_0xaed201(0x1fc))/0x9+-parseInt(_0xaed201(0x1e8))/0xa;if(_0x260ed3===_0x3be70d)break;else _0x4d4340['push'](_0x4d4340['shift']());}catch(_0x48cac0){_0x4d4340['push'](_0x4d4340['shift']());}}}(_0xcb36,0x80b4d));export function getRangesWithAttribute(_0xefc064,_0x1f0e2a,_0xeae59a){const _0x165bd9=_0x3b63,_0x424216=[];for(const _0x30eb8f of _0x1f0e2a[_0x165bd9(0x1f7)]())_0x30eb8f[_0x165bd9(0x1df)](_0xefc064)&&_0x424216[_0x165bd9(0x1fb)](_0xeae59a[_0x165bd9(0x1e5)](_0x30eb8f));return _0x424216;}function _0x3b63(_0x125440,_0x18f1a4){const _0xcb3621=_0xcb36();return _0x3b63=function(_0x3b638e,_0x306ce6){_0x3b638e=_0x3b638e-0x1cb;let _0xe1756f=_0xcb3621[_0x3b638e];return _0xe1756f;},_0x3b63(_0x125440,_0x18f1a4);}function _0xcb36(){const _0xfb3e53=['createRangeOn','mapper','includes','3590140ETRpEL','3696968MisyZh','16639ffrQNY','previousPosition','435224yneJHE','toViewElement','writer','getCustomProperty','isLimit','insert','model','get','isContent','activeMarkers','markerRange','getItems','elementEnd','addHighlight','isBlock','push','36036rpRyCW','test','markerName','item','name','toViewPosition','addClass','start','nextSibling','ck-suggestion-marker--active','plugins','createUIElement','consumable','2935QVVSzb','12evuSqn','isAtEnd','bindElementToMarker','span','schema','2238152KRZgPL','ck-suggestion-marker-','getWalker','hasAttribute','222jDxrqP','parent','TrackChangesEditing','type','34cNFYKS'];_0xcb36=function(){return _0xfb3e53;};return _0xcb36();}export function downcastSplitMergeMarker(_0x2bb156,_0x6ae85c,{showActiveMarker:_0x22a70a=!0x0}={}){const _0x8c488a=_0x3b63,_0x1ea92a=_0x2bb156[_0x8c488a(0x1d3)][_0x8c488a(0x1f3)](_0x8c488a(0x1e2));return(_0x227dc7,_0x168a8e,_0x22a5f9)=>{const _0x2942c2=_0x8c488a;if(!_0x22a5f9[_0x2942c2(0x1d5)][_0x2942c2(0x1fd)](_0x168a8e[_0x2942c2(0x1f6)],_0x227dc7[_0x2942c2(0x1cd)]))return;const _0xcfbe44=_0x168a8e[_0x2942c2(0x1f6)][_0x2942c2(0x1de)](),_0x2c816b=_0x168a8e[_0x2942c2(0x1f6)][_0x2942c2(0x1d0)],_0x325a27=_0x2bb156[_0x2942c2(0x1f2)][_0x2942c2(0x1db)];let _0x2f1d72=null,_0x43c6cb=null,_0x2800fc=!0x1,_0xb8dfe0=!0x1;for(const _0x700fad of _0xcfbe44){const _0x60b9e4=_0x700fad[_0x2942c2(0x1cc)];_0x2800fc=_0x2800fc||_0x325a27[_0x2942c2(0x1f4)](_0x60b9e4);const _0x6b1ada=_0x22a5f9[_0x2942c2(0x1e6)][_0x2942c2(0x1ed)](_0x60b9e4);if(_0x6b1ada&&_0x6b1ada[_0x2942c2(0x1ef)](_0x2942c2(0x1f9)))return;_0x2942c2(0x1f8)==_0x700fad[_0x2942c2(0x1e3)]&&(_0x325a27[_0x2942c2(0x1fa)](_0x60b9e4)&&!_0x325a27[_0x2942c2(0x1f0)](_0x60b9e4)&&(_0x60b9e4[_0x2942c2(0x1d1)]||_0x2c816b[_0x2942c2(0x1d8)]?_0x2f1d72&&_0x2f1d72[_0x2942c2(0x1e1)]==_0x60b9e4||(_0x2f1d72=_0x60b9e4,_0x2ab4d7(_0x700fad[_0x2942c2(0x1eb)]),_0xb8dfe0=!0x0):_0x43c6cb=_0x43c6cb||_0x700fad[_0x2942c2(0x1eb)]));}function _0x2ab4d7(_0x69fbe6){const _0x19b1ef=_0x2942c2,_0x18425b=_0x22a5f9[_0x19b1ef(0x1ee)][_0x19b1ef(0x1d4)](_0x19b1ef(0x1da),{'class':_0x19b1ef(0x1dd)+_0x6ae85c}),_0x207c92=_0x22a5f9[_0x19b1ef(0x1e6)][_0x19b1ef(0x1ce)](_0x69fbe6);_0x22a70a&&_0x1ea92a[_0x19b1ef(0x1f5)][_0x19b1ef(0x1e7)](_0x168a8e[_0x19b1ef(0x1cb)])&&_0x22a5f9[_0x19b1ef(0x1ee)][_0x19b1ef(0x1cf)](_0x19b1ef(0x1d2),_0x18425b),_0x22a5f9[_0x19b1ef(0x1ee)][_0x19b1ef(0x1f1)](_0x207c92,_0x18425b),_0x22a5f9[_0x19b1ef(0x1e6)][_0x19b1ef(0x1d9)](_0x18425b,_0x168a8e[_0x19b1ef(0x1cb)]);}_0x2800fc||_0xb8dfe0||!_0x43c6cb||_0x2ab4d7(_0x43c6cb);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2259(){const _0x2599df=['filter','commentThread','getFirstMarker','702249eqXrvw','markers','clear','subType','end','authoredAt','getFirstRange','head','isExternal','4mXzVtx','onAttributesChange','removeMarker','author','nodeBefore','1904928iEVpKw','toJSON','decorate','reduce','getAllAdjacentSuggestions','getMarkers','type','32989HUvtvo','_isDataLoaded','_onDiscard','9UXAyEB','210876KxWzzy','_model','size','start','_onAttributesChange','1361000sdPpfT','setAttribute','set','163690zeGNxV','get','removeMarkers','accept','12yXmVpP','onAccept','addRange','getMarkerNames','getItems','getContainedElement','push','creator','@external','removeAttribute','delete','hasComments','data','addMarkerName','discard','getMultiRangeId','next','getRange','change','split','isInContent','map','substr','onDiscard','length','getRanges','addMarker','previous','createdAt','_markerNames','5018376KIszOd','attributes','14BEbhLB','_saved','from','_onAccept','isIntersecting','isMultiRange','add','suggestion:','isIntersectingWithRange','nodeAfter'];_0x2259=function(){return _0x2599df;};return _0x2259();}function _0x1193(_0x1627ff,_0xb97090){const _0x225970=_0x2259();return _0x1193=function(_0x119321,_0x3ec64f){_0x119321=_0x119321-0x6f;let _0x722409=_0x225970[_0x119321];return _0x722409;},_0x1193(_0x1627ff,_0xb97090);}const _0x13eb10=_0x1193;(function(_0x184fbb,_0xb40d30){const _0x34178f=_0x1193,_0x1a29e2=_0x184fbb();while(!![]){try{const _0x1c60c2=parseInt(_0x34178f(0xb8))/0x1*(-parseInt(_0x34178f(0x76))/0x2)+-parseInt(_0x34178f(0xa3))/0x3*(-parseInt(_0x34178f(0xac))/0x4)+parseInt(_0x34178f(0x6f))/0x5+-parseInt(_0x34178f(0xbc))/0x6*(-parseInt(_0x34178f(0x96))/0x7)+parseInt(_0x34178f(0xb1))/0x8+-parseInt(_0x34178f(0xbb))/0x9*(-parseInt(_0x34178f(0x72))/0xa)+-parseInt(_0x34178f(0x94))/0xb;if(_0x1c60c2===_0xb40d30)break;else _0x1a29e2['push'](_0x1a29e2['shift']());}catch(_0x83850){_0x1a29e2['push'](_0x1a29e2['shift']());}}}(_0x2259,0x2b30e));import{Element as _0x2c0cbc}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x171bfb,uid as _0xe84eb7}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2e2302,isEqual as _0x2f1380,set as _0x858fd2,unset as _0x4a3dae}from'lodash-es';export default class u extends _0x171bfb(){constructor(_0x5a6385,_0x515c52){const _0x3db98d=_0x1193;super(),this[_0x3db98d(0xb9)]=!0x1,this['id']=_0x515c52['id'],this[_0x3db98d(0xb7)]=_0x515c52[_0x3db98d(0xb7)],this[_0x3db98d(0xa6)]=_0x515c52[_0x3db98d(0xa6)]||null,this[_0x3db98d(0xaf)]=_0x515c52[_0x3db98d(0xaf)],this[_0x3db98d(0x7d)]=_0x515c52[_0x3db98d(0x7d)]||_0x515c52[_0x3db98d(0xaf)],this[_0x3db98d(0xab)]=Boolean(_0x515c52[_0x3db98d(0x95)]&&_0x515c52[_0x3db98d(0x95)][_0x3db98d(0x7e)]),this[_0x3db98d(0x82)]=null,this[_0x3db98d(0xbd)]=_0x5a6385,this[_0x3db98d(0x99)]=_0x515c52[_0x3db98d(0x77)],this[_0x3db98d(0xba)]=_0x515c52[_0x3db98d(0x8d)],this[_0x3db98d(0xc0)]=_0x515c52[_0x3db98d(0xad)],this[_0x3db98d(0x93)]=new Set(),this[_0x3db98d(0x92)]=null,this[_0x3db98d(0x71)](_0x3db98d(0xa8),null),this[_0x3db98d(0x71)](_0x3db98d(0x95),_0x515c52[_0x3db98d(0x95)]||{}),this[_0x3db98d(0x71)](_0x3db98d(0x91),null),this[_0x3db98d(0x71)](_0x3db98d(0x86),null),this[_0x3db98d(0x71)](_0x3db98d(0xa1),null),this[_0x3db98d(0x71)](_0x3db98d(0x97),!0x1),this[_0x3db98d(0xb3)](_0x3db98d(0x75)),this[_0x3db98d(0xb3)](_0x3db98d(0x84));}get[_0x13eb10(0xaa)](){const _0xca935e=_0x13eb10;let _0x2cebce=this;for(;_0x2cebce[_0xca935e(0x91)];)_0x2cebce=_0x2cebce[_0xca935e(0x91)];return _0x2cebce;}get[_0x13eb10(0x81)](){const _0xa7a1a=_0x13eb10;return!!this[_0xa7a1a(0xa1)]&&this[_0xa7a1a(0xa1)][_0xa7a1a(0x8e)]>0x0;}get[_0x13eb10(0x9b)](){const _0x2e7488=_0x13eb10;if(0x0==this[_0x2e7488(0x93)][_0x2e7488(0xbe)])return!0x1;return 0x6==Array[_0x2e7488(0x98)](this[_0x2e7488(0x93)])[0x0][_0x2e7488(0x89)](':')[_0x2e7488(0x8e)];}get[_0x13eb10(0x8a)](){const _0x625573=_0x13eb10;return null!==this[_0x625573(0xa2)]();}[_0x13eb10(0x83)](_0x150da5){const _0x2a1db0=_0x13eb10;this[_0x2a1db0(0x93)][_0x2a1db0(0x9c)](_0x150da5);}[_0x13eb10(0x79)](){const _0x307d75=_0x13eb10;return Array[_0x307d75(0x98)](this[_0x307d75(0x93)]);}[_0x13eb10(0xb6)](){const _0x42cc7a=_0x13eb10;return this[_0x42cc7a(0x79)]()[_0x42cc7a(0x8b)](_0x314912=>this[_0x42cc7a(0xbd)][_0x42cc7a(0xa4)][_0x42cc7a(0x73)](_0x314912))[_0x42cc7a(0xa0)](_0x404a44=>_0x404a44);}[_0x13eb10(0xa2)](){const _0x544be4=_0x13eb10;return this[_0x544be4(0xb6)]()[0x0]||null;}[_0x13eb10(0x74)](){const _0x28c348=_0x13eb10;this[_0x28c348(0xbd)][_0x28c348(0x88)](_0xe20cf5=>{const _0x3ba28e=_0x28c348;for(const _0x2ba01e of this[_0x3ba28e(0xb6)]())_0xe20cf5[_0x3ba28e(0xae)](_0x2ba01e);}),this[_0x28c348(0x93)][_0x28c348(0xa5)]();}[_0x13eb10(0xae)](_0x11be0e){const _0x27dec7=_0x13eb10;this[_0x27dec7(0xbd)][_0x27dec7(0x88)](_0x2ea707=>{const _0x424059=_0x27dec7;_0x2ea707[_0x424059(0xae)](_0x11be0e);}),this[_0x27dec7(0x93)][_0x27dec7(0x80)](_0x11be0e);}[_0x13eb10(0x78)](_0x152984){const _0x202a36=_0x13eb10,_0x3e59c9=_0x202a36(0x9d)+this[_0x202a36(0xb7)]+':'+this[_0x202a36(0xa6)]+':'+this['id']+':'+this[_0x202a36(0x7d)]['id']+':'+u[_0x202a36(0x85)]();this[_0x202a36(0x83)](_0x3e59c9),this[_0x202a36(0xbd)][_0x202a36(0x88)](_0x5b1274=>{const _0xb5f5cf=_0x202a36;_0x5b1274[_0xb5f5cf(0x90)](_0x3e59c9,{'range':_0x152984,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x13eb10(0x9e)](_0x505d7a){const _0x1aa7b0=_0x13eb10;for(const _0x4a5c3e of this[_0x1aa7b0(0x8f)]())if(_0x4a5c3e[_0x1aa7b0(0x9a)](_0x505d7a))return!0x0;return!0x1;}[_0x13eb10(0x8f)](){const _0x40b528=_0x13eb10;return this[_0x40b528(0xb6)]()[_0x40b528(0x8b)](_0x14cd28=>_0x14cd28[_0x40b528(0x87)]());}[_0x13eb10(0x7a)](){const _0x39d9bd=_0x13eb10;return this[_0x39d9bd(0x8f)]()[_0x39d9bd(0xb4)]((_0x235d1e,_0x1ed4c3)=>[..._0x235d1e,..._0x1ed4c3[_0x39d9bd(0x7a)]()],[]);}[_0x13eb10(0xa9)](){const _0x38ee8a=_0x13eb10;var _0x4e9d0f;return(null===(_0x4e9d0f=this[_0x38ee8a(0xa2)]())||void 0x0===_0x4e9d0f?void 0x0:_0x4e9d0f[_0x38ee8a(0x87)]())||null;}[_0x13eb10(0x7b)](){const _0xafba35=_0x13eb10,_0x3f5748=this[_0xafba35(0x8f)]();if(0x1!=_0x3f5748[_0xafba35(0x8e)])return null;const _0x35b449=_0x3f5748[0x0],_0x2c5660=_0x35b449[_0xafba35(0xbf)][_0xafba35(0x9f)],_0x472233=_0x35b449[_0xafba35(0xa7)][_0xafba35(0xb0)];return _0x2c5660 instanceof _0x2c0cbc?_0x2c5660!=_0x472233?null:_0x2c5660:null;}[_0x13eb10(0x75)](){const _0x20f41c=_0x13eb10;this[_0x20f41c(0x99)](this[_0x20f41c(0x8f)](),this[_0x20f41c(0x82)],this[_0x20f41c(0x95)]),this[_0x20f41c(0x74)]();}[_0x13eb10(0x84)](){const _0x2ed9f2=_0x13eb10;this[_0x2ed9f2(0xba)](this[_0x2ed9f2(0x8f)](),this[_0x2ed9f2(0x82)],this[_0x2ed9f2(0x95)]),this[_0x2ed9f2(0x74)]();}[_0x13eb10(0xb5)](){const _0x3d6f60=_0x13eb10,_0x2a8fb8=[];let _0x5e67c5=this[_0x3d6f60(0xaa)];for(;_0x5e67c5;)_0x2a8fb8[_0x3d6f60(0x7c)](_0x5e67c5),_0x5e67c5=_0x5e67c5[_0x3d6f60(0x86)];return _0x2a8fb8;}[_0x13eb10(0x70)](_0x190491,_0x32de5b){const _0x27568c=_0x13eb10,_0x268940=_0x2e2302(this[_0x27568c(0x95)]);_0x858fd2(_0x268940,_0x190491,_0x32de5b),_0x2f1380(_0x268940,this[_0x27568c(0x95)])||(this[_0x27568c(0x95)]=_0x268940,this[_0x27568c(0xc0)](_0x268940));}[_0x13eb10(0x7f)](_0x41aa41){const _0x1c88e7=_0x13eb10,_0x11c492=_0x2e2302(this[_0x1c88e7(0x95)]);_0x4a3dae(_0x11c492,_0x41aa41),_0x2f1380(_0x11c492,this[_0x1c88e7(0x95)])||(this[_0x1c88e7(0x95)]=_0x11c492,this[_0x1c88e7(0xc0)](this[_0x1c88e7(0x95)]));}[_0x13eb10(0xb2)](){const _0x404b66=_0x13eb10;return{'id':this['id'],'type':this[_0x404b66(0xa6)]?this[_0x404b66(0xb7)]+':'+this[_0x404b66(0xa6)]:this[_0x404b66(0xb7)],'authorId':this[_0x404b66(0x7d)]['id'],'createdAt':this[_0x404b66(0x92)],'hasComments':this[_0x404b66(0x81)],'data':this[_0x404b66(0x82)],'attributes':this[_0x404b66(0x95)]};}static[_0x13eb10(0x85)](){const _0x5508a4=_0x13eb10;return _0xe84eb7()[_0x5508a4(0x8c)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1eae81=_0x5568;(function(_0x3faed4,_0x3184a7){const _0x2e39ec=_0x5568,_0x101893=_0x3faed4();while(!![]){try{const _0xbfd3fe=parseInt(_0x2e39ec(0x1f4))/0x1*(-parseInt(_0x2e39ec(0x21d))/0x2)+-parseInt(_0x2e39ec(0x217))/0x3*(parseInt(_0x2e39ec(0x211))/0x4)+parseInt(_0x2e39ec(0x1f3))/0x5+-parseInt(_0x2e39ec(0x215))/0x6+parseInt(_0x2e39ec(0x1f6))/0x7+-parseInt(_0x2e39ec(0x219))/0x8*(parseInt(_0x2e39ec(0x20c))/0x9)+parseInt(_0x2e39ec(0x229))/0xa;if(_0xbfd3fe===_0x3184a7)break;else _0x101893['push'](_0x101893['shift']());}catch(_0x2c8e0c){_0x101893['push'](_0x101893['shift']());}}}(_0x5824,0x62679));import{getTranslation as _0x313c8d}from'./utils/common-translations.js';import{priorities as _0x2c1506,insertToPriorityArray as _0x268c9d}from'ckeditor5/src/utils.js';function _0x5568(_0xb618fa,_0x51016b){const _0x58246b=_0x5824();return _0x5568=function(_0x556828,_0x27699f){_0x556828=_0x556828-0x1e9;let _0x2ccad6=_0x58246b[_0x556828];return _0x2ccad6;},_0x5568(_0xb618fa,_0x51016b);}function _0x5824(){const _0xd937c5=['isEqual','isObject','join','getItemLabel','elementEnd','name','nextSibling','registerDescriptionCallback','getFirstRange','removeFormat','*Insert:*\x20%0','_locale','nodeAfter','Object','elementStart','getDescriptions','registerAttributeLabel','338955dTMZvp','1013eUrlYo','insertion','3023790XHlaBh','addEmptyContainer','match','matchingCallback','checkChild','get','_resolveDescriptionItems','$textProxy','start','addContainer','_itemLabelsCallbacks','map','_customCallbacks','type','deletion','pop','end','quantity','EmptyContainer','format','subType','indexOf','2110347FdzzNg','previousSibling','removeContainer','set','removeEmptyContainer','500476VjzOXt','softBreak','*Change\x20to:*\x20%0','registerElementLabel','792528SlaJTc','*Remove:*\x20%0','15NPvKvn','removeObject','16lKzyof','skip','element','_handleAttributeSuggestionDescription','838YKCeYW','normal','newValue','Container','$text','addFormat','function','*Split:*\x20%0','isEmpty','has','getWalker','$1\x20$2','15544000ZvvYFt','item','add','_handleInsertRemoveSuggestionDescription','push','ELEMENT_SPACE','_handleRenameSuggestionDescription','remove','*Set\x20format:*\x20%0','label','REPLACE_TEXT','attribute','key','data','_itemLabels','length','_handleCustomCallbackDescription','_addDescriptionItems','addObject','_schema','replace','isInContent','text','*Merge:*\x20%0','*Remove\x20format:*\x20%0','_attributeLabels'];_0x5824=function(){return _0xd937c5;};return _0x5824();}import{renameAttributeKey as _0x32f2bf}from'./trackchangesediting.js';export default class f{constructor(_0x3bef66,_0x5af171){const _0x3a9320=_0x5568;this[_0x3a9320(0x202)]=[],this[_0x3a9320(0x237)]=new Map(),this[_0x3a9320(0x200)]=[],this[_0x3a9320(0x242)]=new Map(),this[_0x3a9320(0x23c)]=_0x3bef66,this[_0x3a9320(0x1ed)]=_0x5af171;}[_0x1eae81(0x1f1)](_0x5a44e0){const _0x2bc055=_0x1eae81,_0x399f98=[],_0x14de0d=new Set(),_0x47bbcb=new Set();for(let _0x4a2b45=0x0;_0x4a2b45<_0x5a44e0[_0x2bc055(0x238)];_0x4a2b45++){const _0x5439b3=_0x5a44e0[_0x4a2b45];if(!_0x5439b3[_0x2bc055(0x23e)])continue;const _0x97575f=this[_0x2bc055(0x239)](_0x5439b3);if(_0x97575f){if(null!=_0x5439b3[_0x2bc055(0x20a)]){if(_0x14de0d[_0x2bc055(0x226)](_0x5439b3[_0x2bc055(0x20a)]))continue;_0x14de0d[_0x2bc055(0x22b)](_0x5439b3[_0x2bc055(0x20a)]);}_0x399f98[_0x2bc055(0x22d)](_0x97575f);}else{if(_0x2bc055(0x234)!=_0x5439b3[_0x2bc055(0x203)])_0x2bc055(0x1f5)!=_0x5439b3[_0x2bc055(0x203)]&&_0x2bc055(0x204)!=_0x5439b3[_0x2bc055(0x203)]||this[_0x2bc055(0x22c)](_0x399f98,_0x5439b3,_0x5a44e0[_0x4a2b45+0x1]);else{const _0x46f0c6=_0x5439b3[_0x2bc055(0x236)][_0x2bc055(0x235)];if(_0x47bbcb[_0x2bc055(0x226)](_0x46f0c6))continue;_0x47bbcb[_0x2bc055(0x22b)](_0x5439b3[_0x2bc055(0x236)][_0x2bc055(0x235)]),_0x46f0c6==_0x32f2bf?this[_0x2bc055(0x22f)](_0x399f98,_0x5439b3):this[_0x2bc055(0x21c)](_0x399f98,_0x5439b3);}}}return this[_0x2bc055(0x1fc)](_0x399f98);}[_0x1eae81(0x1e9)](_0x33d8f2){const _0x3b1317=_0x1eae81;this[_0x3b1317(0x202)][_0x3b1317(0x22d)](_0x33d8f2);}[_0x1eae81(0x214)](_0x30543d,_0x24fe3c,_0x1a4464=_0x2c1506[_0x1eae81(0x21e)]){const _0x476fdd=_0x1eae81;_0x476fdd(0x223)==typeof _0x30543d?_0x268c9d(this[_0x476fdd(0x200)],{'matchingCallback':_0x30543d,'label':_0x24fe3c,'priority':_0x1a4464}):this[_0x476fdd(0x237)][_0x476fdd(0x20f)](_0x30543d,_0x24fe3c);}[_0x1eae81(0x1f2)](_0x47943f,_0x379531){const _0x20dc83=_0x1eae81;this[_0x20dc83(0x242)][_0x20dc83(0x20f)](_0x47943f,_0x379531);}[_0x1eae81(0x246)](_0x541748,_0x338589=0x1){const _0x348843=_0x1eae81;let _0x276e83;for(const _0x4b14b7 of this[_0x348843(0x200)])if(_0x4b14b7[_0x348843(0x1f9)](_0x541748)){_0x276e83=_0x4b14b7[_0x348843(0x232)];break;}return _0x276e83||(_0x276e83=this[_0x348843(0x237)][_0x348843(0x1fb)](_0x541748[_0x348843(0x248)])),_0x276e83?_0x276e83(_0x338589):0x1!==_0x338589?_0x338589+'\x20'+_0x541748[_0x348843(0x248)]+'s':''+_0x541748[_0x348843(0x248)];}[_0x1eae81(0x23a)](_0x707103,_0x17d80f){const _0x22852f=_0x1eae81,_0x2fe4f8=_0x17d80f[_0x22852f(0x1ea)]()[_0x22852f(0x227)](),_0x3d360b=_0x22852f(0x1f5)==_0x17d80f[_0x22852f(0x203)]?_0x22852f(0x22b):_0x22852f(0x230);for(const _0x547d20 of _0x2fe4f8){const _0x3d8bbb=_0x547d20[_0x22852f(0x22a)],_0x4678bc=_0x707103[_0x707103[_0x22852f(0x238)]-0x1];if(_0x3d8bbb['is'](_0x22852f(0x1fd)))_0x4678bc&&_0x4678bc[_0x22852f(0x203)][_0x22852f(0x20b)](_0x22852f(0x220))>-0x1&&_0x707103[_0x22852f(0x205)](),_0x4678bc&&_0x22852f(0x23f)==_0x4678bc[_0x22852f(0x203)]?_0x4678bc[_0x3d360b]+=_0x3d8bbb[_0x22852f(0x236)]:_0x707103[_0x22852f(0x22d)]({'type':_0x22852f(0x23f),'add':_0x22852f(0x22b)==_0x3d360b?_0x3d8bbb[_0x22852f(0x236)]:'','remove':_0x22852f(0x230)==_0x3d360b?_0x3d8bbb[_0x22852f(0x236)]:''});else{if(this[_0x22852f(0x23c)][_0x22852f(0x244)](_0x3d8bbb)){const _0x53d253=_0x3d8bbb;if(_0x4678bc&&_0x4678bc[_0x22852f(0x203)][_0x22852f(0x20b)](_0x22852f(0x220))>-0x1&&_0x707103[_0x22852f(0x205)](),_0x22852f(0x247)==_0x547d20[_0x22852f(0x203)])continue;_0x4678bc&&_0x4678bc[_0x22852f(0x203)]==_0x3d360b+_0x22852f(0x1ef)&&_0x4678bc[_0x22852f(0x21b)][_0x22852f(0x248)]==_0x53d253[_0x22852f(0x248)]?_0x4678bc[_0x22852f(0x207)]++:_0x707103[_0x22852f(0x22d)]({'type':_0x3d360b+_0x22852f(0x1ef),'element':_0x53d253,'quantity':0x1}),_0x2fe4f8[_0x22852f(0x21a)](_0x12cee0=>!(_0x22852f(0x247)==_0x12cee0[_0x22852f(0x203)]&&_0x12cee0[_0x22852f(0x22a)]==_0x3d8bbb));}else{if(this[_0x22852f(0x23c)][_0x22852f(0x1fa)](_0x3d8bbb,_0x22852f(0x221))||_0x3d8bbb['is'](_0x22852f(0x21b),_0x22852f(0x212))){const _0x52c64c=_0x3d8bbb;if(_0x22852f(0x22b)==_0x3d360b&&_0x22852f(0x1f0)==_0x547d20[_0x22852f(0x203)]||_0x22852f(0x230)==_0x3d360b&&_0x22852f(0x247)==_0x547d20[_0x22852f(0x203)])continue;if(_0x4678bc&&-0x1==_0x4678bc[_0x22852f(0x203)][_0x22852f(0x20b)](_0x22852f(0x220))){_0x22852f(0x23f)==_0x4678bc[_0x22852f(0x203)]&&(_0x4678bc[_0x3d360b]+='\x0a');continue;}let _0x1bf6cf;if(_0x1bf6cf=_0x22852f(0x22b)==_0x3d360b?_0x52c64c[_0x22852f(0x249)]&&!this[_0x22852f(0x23c)][_0x22852f(0x244)](_0x52c64c[_0x22852f(0x249)])?_0x52c64c[_0x22852f(0x249)]:null:_0x52c64c[_0x22852f(0x20d)]&&!this[_0x22852f(0x23c)][_0x22852f(0x244)](_0x52c64c[_0x22852f(0x20d)])?_0x52c64c[_0x22852f(0x20d)]:null,_0x52c64c[_0x22852f(0x225)]||_0x1bf6cf&&_0x1bf6cf[_0x22852f(0x225)]){const _0x3ee3ec=_0x1bf6cf&&_0x1bf6cf[_0x22852f(0x225)]?_0x1bf6cf:_0x52c64c;_0x4678bc&&_0x4678bc[_0x22852f(0x203)]==_0x3d360b+_0x22852f(0x208)&&_0x4678bc[_0x22852f(0x21b)][_0x22852f(0x248)]==_0x3ee3ec[_0x22852f(0x248)]?_0x4678bc[_0x22852f(0x207)]++:_0x707103[_0x22852f(0x22d)]({'type':_0x3d360b+_0x22852f(0x208),'element':_0x3ee3ec,'quantity':0x1});}else _0x707103[_0x22852f(0x22d)]({'type':_0x3d360b+_0x22852f(0x220),'element':_0x52c64c});}}}}}[_0x1eae81(0x1fc)](_0x173971){const _0x555004=_0x1eae81,_0x53d28c=this[_0x555004(0x1ed)],_0x4c2bda=[],_0xc5043f=[],_0x26f55d=[];for(const _0x18b6c8 of _0x173971)switch(_0x18b6c8[_0x555004(0x203)]){case _0x555004(0x23f):if(_0x18b6c8[_0x555004(0x22b)]=_0x18b6c8[_0x555004(0x22b)][_0x555004(0x23d)](/(\S)\u000A+(\S)/g,_0x555004(0x228))[_0x555004(0x23d)](/\u000A/g,''),_0x18b6c8[_0x555004(0x230)]=_0x18b6c8[_0x555004(0x230)][_0x555004(0x23d)](/(\S)\u000A+(\S)/g,_0x555004(0x228))[_0x555004(0x23d)](/\u000A/g,''),''!=_0x18b6c8[_0x555004(0x22b)]&&''!=_0x18b6c8[_0x555004(0x230)]){_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x23d),'content':_0x313c8d(_0x53d28c,_0x555004(0x233),['\x22'+_0x18b6c8[_0x555004(0x230)]+'\x22','\x22'+_0x18b6c8[_0x555004(0x22b)]+'\x22'])});continue;}if(null!=_0x18b6c8[_0x555004(0x22b)][_0x555004(0x1f8)](/^ +$/)){_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x1f5),'content':_0x313c8d(_0x53d28c,_0x555004(0x1ec),_0x313c8d(_0x53d28c,_0x555004(0x22e),_0x18b6c8[_0x555004(0x22b)][_0x555004(0x238)]))});continue;}if(null!=_0x18b6c8[_0x555004(0x230)][_0x555004(0x1f8)](/^ +$/)){_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x204),'content':_0x313c8d(_0x53d28c,_0x555004(0x216),_0x313c8d(_0x53d28c,_0x555004(0x22e),_0x18b6c8[_0x555004(0x230)][_0x555004(0x238)]))});continue;}if(''!=_0x18b6c8[_0x555004(0x22b)]){_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x1f5),'content':_0x313c8d(_0x53d28c,_0x555004(0x1ec),'\x22'+_0x18b6c8[_0x555004(0x22b)]+'\x22')});continue;}_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x204),'content':_0x313c8d(_0x53d28c,_0x555004(0x216),'\x22'+_0x18b6c8[_0x555004(0x230)]+'\x22')});continue;case _0x555004(0x1f7):case _0x555004(0x23b):_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x1f5),'content':_0x313c8d(_0x53d28c,_0x555004(0x1ec),this[_0x555004(0x246)](_0x18b6c8[_0x555004(0x21b)],_0x18b6c8[_0x555004(0x207)]))});continue;case _0x555004(0x210):case _0x555004(0x218):_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x204),'content':_0x313c8d(_0x53d28c,_0x555004(0x216),this[_0x555004(0x246)](_0x18b6c8[_0x555004(0x21b)],_0x18b6c8[_0x555004(0x207)]))});continue;case _0x555004(0x1ff):_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x1f5),'content':_0x313c8d(_0x53d28c,_0x555004(0x224),this[_0x555004(0x246)](_0x18b6c8[_0x555004(0x21b)],_0x18b6c8[_0x555004(0x207)]))});continue;case _0x555004(0x20e):_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x204),'content':_0x313c8d(_0x53d28c,_0x555004(0x240),this[_0x555004(0x246)](_0x18b6c8[_0x555004(0x21b)],_0x18b6c8[_0x555004(0x207)]))});continue;case _0x555004(0x222):_0xc5043f[_0x555004(0x22d)](_0x18b6c8[_0x555004(0x235)]);continue;case _0x555004(0x1eb):_0x26f55d[_0x555004(0x22d)](_0x18b6c8[_0x555004(0x235)]);continue;default:_0x4c2bda[_0x555004(0x22d)](_0x18b6c8);}if(_0xc5043f[_0x555004(0x238)]){const _0x486bee=_0xc5043f[_0x555004(0x201)](_0x487587=>this[_0x555004(0x242)][_0x555004(0x226)](_0x487587)?this[_0x555004(0x242)][_0x555004(0x1fb)](_0x487587):_0x487587)[_0x555004(0x245)](',\x20');_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x209),'content':_0x313c8d(this[_0x555004(0x1ed)],_0x555004(0x231),_0x486bee)});}if(_0x26f55d[_0x555004(0x238)]){const _0xd24cc2=_0x26f55d[_0x555004(0x201)](_0x45ab1a=>this[_0x555004(0x242)][_0x555004(0x226)](_0x45ab1a)?this[_0x555004(0x242)][_0x555004(0x1fb)](_0x45ab1a):_0x45ab1a)[_0x555004(0x245)](',\x20');_0x4c2bda[_0x555004(0x22d)]({'type':_0x555004(0x209),'content':_0x313c8d(this[_0x555004(0x1ed)],_0x555004(0x241),_0xd24cc2)});}return _0x4c2bda;}[_0x1eae81(0x239)](_0x2d105e){const _0x5276b4=_0x1eae81;for(const _0xdef151 of this[_0x5276b4(0x202)]){const _0x55833d=_0xdef151(_0x2d105e);if(_0x55833d&&_0x5276b4(0x203)in _0x55833d)return _0x55833d;}}[_0x1eae81(0x21c)](_0x48414d,_0x599854){const _0x3b0bc3=_0x1eae81,_0xf6c301=_0x599854[_0x3b0bc3(0x236)],_0x27868a=void 0x0===_0xf6c301[_0x3b0bc3(0x21f)]?_0x3b0bc3(0x1eb):_0x3b0bc3(0x222);_0x48414d[_0x3b0bc3(0x22d)]({'type':_0x27868a,'key':_0xf6c301[_0x3b0bc3(0x235)]});}[_0x1eae81(0x22f)](_0x5e3f37,_0x65fd55){const _0x591af1=_0x1eae81;_0x5e3f37[_0x591af1(0x22d)]({'type':_0x591af1(0x209),'content':_0x313c8d(this[_0x591af1(0x1ed)],_0x591af1(0x213),this[_0x591af1(0x246)](_0x65fd55[_0x591af1(0x1ea)]()[_0x591af1(0x1fe)][_0x591af1(0x1ee)],0x1))});}[_0x1eae81(0x22c)](_0x3baad0,_0x16dd59,_0x9e9784){const _0x1a1910=_0x1eae81;if(this[_0x1a1910(0x23a)](_0x3baad0,_0x16dd59),_0x9e9784&&_0x9e9784[_0x1a1910(0x1ea)]()&&!_0x16dd59[_0x1a1910(0x1ea)]()[_0x1a1910(0x206)][_0x1a1910(0x243)](_0x9e9784[_0x1a1910(0x1ea)]()[_0x1a1910(0x1fe)])){const _0x5b6bd2=_0x3baad0[_0x3baad0[_0x1a1910(0x238)]-0x1],_0x1024bc=_0x1a1910(0x1f5)==_0x16dd59[_0x1a1910(0x203)]?_0x1a1910(0x22b):_0x1a1910(0x230);_0x5b6bd2&&_0x1a1910(0x23f)==_0x5b6bd2[_0x1a1910(0x203)]&&(_0x5b6bd2[_0x1024bc]+='\x0a');}}}
|
|
23
|
+
function _0x196c(_0x525252,_0x2f4f02){const _0xaae343=_0xaae3();return _0x196c=function(_0x196c6f,_0x41aa80){_0x196c6f=_0x196c6f-0xc4;let _0xbe76f0=_0xaae343[_0x196c6f];return _0xbe76f0;},_0x196c(_0x525252,_0x2f4f02);}const _0x1a0592=_0x196c;(function(_0x497564,_0x2619fe){const _0x1046de=_0x196c,_0x2527db=_0x497564();while(!![]){try{const _0x306bf5=parseInt(_0x1046de(0xca))/0x1*(parseInt(_0x1046de(0x107))/0x2)+-parseInt(_0x1046de(0xe5))/0x3+-parseInt(_0x1046de(0xd2))/0x4*(-parseInt(_0x1046de(0xcf))/0x5)+parseInt(_0x1046de(0xec))/0x6*(parseInt(_0x1046de(0xd0))/0x7)+-parseInt(_0x1046de(0xf6))/0x8+-parseInt(_0x1046de(0x123))/0x9*(-parseInt(_0x1046de(0x10e))/0xa)+-parseInt(_0x1046de(0xe0))/0xb;if(_0x306bf5===_0x2619fe)break;else _0x2527db['push'](_0x2527db['shift']());}catch(_0x7c4eda){_0x2527db['push'](_0x2527db['shift']());}}}(_0xaae3,0x71fa0));import{getTranslation as _0x510954}from'./utils/common-translations.js';import{priorities as _0x476066,insertToPriorityArray as _0x1a14a8}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x327e24}from'./trackchangesediting.js';export default class f{constructor(_0x571dab,_0x489be5){const _0xe6cf51=_0x196c;this[_0xe6cf51(0x105)]=[],this[_0xe6cf51(0xce)]=new Map(),this[_0xe6cf51(0xd1)]=[],this[_0xe6cf51(0xe8)]=new Map(),this[_0xe6cf51(0xd9)]=_0x571dab,this[_0xe6cf51(0x11d)]=_0x489be5;}[_0x1a0592(0x11f)](_0x4d6a2b){const _0x5c0536=_0x1a0592,_0x544961=[],_0x45dd32=new Set(),_0x32afa3=new Set();for(let _0x473c2f=0x0;_0x473c2f<_0x4d6a2b[_0x5c0536(0xf8)];_0x473c2f++){const _0x3ce6fb=_0x4d6a2b[_0x473c2f];if(!_0x3ce6fb[_0x5c0536(0xcc)])continue;const _0x4decbd=this[_0x5c0536(0x11c)](_0x3ce6fb);if(_0x4decbd){if(null!=_0x3ce6fb[_0x5c0536(0x10f)]){if(_0x45dd32[_0x5c0536(0xfd)](_0x3ce6fb[_0x5c0536(0x10f)]))continue;_0x45dd32[_0x5c0536(0xc4)](_0x3ce6fb[_0x5c0536(0x10f)]);}_0x544961[_0x5c0536(0xf9)](_0x4decbd);}else{if(_0x5c0536(0xd3)!=_0x3ce6fb[_0x5c0536(0x116)])_0x5c0536(0xe2)!=_0x3ce6fb[_0x5c0536(0x116)]&&_0x5c0536(0x101)!=_0x3ce6fb[_0x5c0536(0x116)]||this[_0x5c0536(0xfb)](_0x544961,_0x3ce6fb,_0x4d6a2b[_0x473c2f+0x1]);else{const _0x231a82=_0x3ce6fb[_0x5c0536(0xf5)][_0x5c0536(0x11e)];if(_0x32afa3[_0x5c0536(0xfd)](_0x231a82))continue;_0x32afa3[_0x5c0536(0xc4)](_0x3ce6fb[_0x5c0536(0xf5)][_0x5c0536(0x11e)]),_0x231a82==_0x327e24?this[_0x5c0536(0x106)](_0x544961,_0x3ce6fb):this[_0x5c0536(0xd7)](_0x544961,_0x3ce6fb);}}}return this[_0x5c0536(0xeb)](_0x544961);}[_0x1a0592(0xf2)](_0x1a2903){const _0x37004e=_0x1a0592;this[_0x37004e(0x105)][_0x37004e(0xf9)](_0x1a2903);}[_0x1a0592(0x118)](_0x532021,_0x47993a,_0x57a3d1=_0x476066[_0x1a0592(0x120)]){const _0x1065a0=_0x1a0592;_0x1065a0(0xc8)==typeof _0x532021?_0x1a14a8(this[_0x1065a0(0xd1)],{'matchingCallback':_0x532021,'label':_0x47993a,'priority':_0x57a3d1}):this[_0x1065a0(0xce)][_0x1065a0(0xf7)](_0x532021,_0x47993a);}[_0x1a0592(0xcb)](_0x1b8af6,_0x18b729){const _0x1861b7=_0x1a0592;this[_0x1861b7(0xe8)][_0x1861b7(0xf7)](_0x1b8af6,_0x18b729);}[_0x1a0592(0xdc)](_0xf2fc8c,_0x2ebb39=0x1){const _0x1e74ed=_0x1a0592;let _0x84c066;for(const _0x5a55f8 of this[_0x1e74ed(0xd1)])if(_0x5a55f8[_0x1e74ed(0x104)](_0xf2fc8c)){_0x84c066=_0x5a55f8[_0x1e74ed(0xc9)];break;}return _0x84c066||(_0x84c066=this[_0x1e74ed(0xce)][_0x1e74ed(0x109)](_0xf2fc8c[_0x1e74ed(0xef)])),_0x84c066?_0x84c066(_0x2ebb39):0x1!==_0x2ebb39?_0x2ebb39+'\x20'+_0xf2fc8c[_0x1e74ed(0xef)]+'s':''+_0xf2fc8c[_0x1e74ed(0xef)];}[_0x1a0592(0xfe)](_0x284c1f,_0x6d440c){const _0x2942ea=_0x1a0592,_0x2826fb=_0x6d440c[_0x2942ea(0x103)]()[_0x2942ea(0x10b)](),_0xce66e1=_0x2942ea(0xe2)==_0x6d440c[_0x2942ea(0x116)]?_0x2942ea(0xc4):_0x2942ea(0xd5);for(const _0x9d87f4 of _0x2826fb){const _0x36568f=_0x9d87f4[_0x2942ea(0xff)],_0x5e557c=_0x284c1f[_0x284c1f[_0x2942ea(0xf8)]-0x1];if(_0x36568f['is'](_0x2942ea(0xe7)))_0x5e557c&&_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))>-0x1&&_0x284c1f[_0x2942ea(0xed)](),_0x5e557c&&_0x2942ea(0x111)==_0x5e557c[_0x2942ea(0x116)]?_0x5e557c[_0xce66e1]+=_0x36568f[_0x2942ea(0xf5)]:_0x284c1f[_0x2942ea(0xf9)]({'type':_0x2942ea(0x111),'add':_0x2942ea(0xc4)==_0xce66e1?_0x36568f[_0x2942ea(0xf5)]:'','remove':_0x2942ea(0xd5)==_0xce66e1?_0x36568f[_0x2942ea(0xf5)]:''});else{if(this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x36568f)){const _0xe153c9=_0x36568f;if(_0x5e557c&&_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))>-0x1&&_0x284c1f[_0x2942ea(0xed)](),_0x2942ea(0xdf)==_0x9d87f4[_0x2942ea(0x116)])continue;_0x5e557c&&_0x5e557c[_0x2942ea(0x116)]==_0xce66e1+_0x2942ea(0xdb)&&_0x5e557c[_0x2942ea(0xc7)][_0x2942ea(0xef)]==_0xe153c9[_0x2942ea(0xef)]?_0x5e557c[_0x2942ea(0x10a)]++:_0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xdb),'element':_0xe153c9,'quantity':0x1}),_0x2826fb[_0x2942ea(0xe1)](_0x40212d=>!(_0x2942ea(0xdf)==_0x40212d[_0x2942ea(0x116)]&&_0x40212d[_0x2942ea(0xff)]==_0x36568f));}else{if(this[_0x2942ea(0xd9)][_0x2942ea(0xee)](_0x36568f,_0x2942ea(0xfa))||_0x36568f['is'](_0x2942ea(0xc7),_0x2942ea(0x110))){const _0x4ffbc1=_0x36568f;if(_0x2942ea(0xc4)==_0xce66e1&&_0x2942ea(0x113)==_0x9d87f4[_0x2942ea(0x116)]||_0x2942ea(0xd5)==_0xce66e1&&_0x2942ea(0xdf)==_0x9d87f4[_0x2942ea(0x116)])continue;if(_0x5e557c&&-0x1==_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))){_0x2942ea(0x111)==_0x5e557c[_0x2942ea(0x116)]&&(_0x5e557c[_0xce66e1]+='\x0a');continue;}let _0xe6553e;if(_0xe6553e=_0x2942ea(0xc4)==_0xce66e1?_0x4ffbc1[_0x2942ea(0x122)]&&!this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x4ffbc1[_0x2942ea(0x122)])?_0x4ffbc1[_0x2942ea(0x122)]:null:_0x4ffbc1[_0x2942ea(0xc6)]&&!this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x4ffbc1[_0x2942ea(0xc6)])?_0x4ffbc1[_0x2942ea(0xc6)]:null,_0x4ffbc1[_0x2942ea(0xd8)]||_0xe6553e&&_0xe6553e[_0x2942ea(0xd8)]){const _0x46eec1=_0xe6553e&&_0xe6553e[_0x2942ea(0xd8)]?_0xe6553e:_0x4ffbc1;_0x5e557c&&_0x5e557c[_0x2942ea(0x116)]==_0xce66e1+_0x2942ea(0xdd)&&_0x5e557c[_0x2942ea(0xc7)][_0x2942ea(0xef)]==_0x46eec1[_0x2942ea(0xef)]?_0x5e557c[_0x2942ea(0x10a)]++:_0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xdd),'element':_0x46eec1,'quantity':0x1});}else _0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xe4),'element':_0x4ffbc1});}}}}}[_0x1a0592(0xeb)](_0x172ff8){const _0x41f258=_0x1a0592,_0x5259f1=this[_0x41f258(0x11d)],_0x2e8809=[],_0x34a822=[],_0x41cfd1=[];for(const _0x183ead of _0x172ff8)switch(_0x183ead[_0x41f258(0x116)]){case _0x41f258(0x111):if(_0x183ead[_0x41f258(0xc4)]=_0x183ead[_0x41f258(0xc4)][_0x41f258(0xe9)](/(\S)\u000A+(\S)/g,_0x41f258(0xfc))[_0x41f258(0xe9)](/\u000A/g,''),_0x183ead[_0x41f258(0xd5)]=_0x183ead[_0x41f258(0xd5)][_0x41f258(0xe9)](/(\S)\u000A+(\S)/g,_0x41f258(0xfc))[_0x41f258(0xe9)](/\u000A/g,''),''!=_0x183ead[_0x41f258(0xc4)]&&''!=_0x183ead[_0x41f258(0xd5)]){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe9),'content':_0x510954(_0x5259f1,_0x41f258(0xc5),['\x22'+_0x183ead[_0x41f258(0xd5)]+'\x22','\x22'+_0x183ead[_0x41f258(0xc4)]+'\x22'])});continue;}if(null!=_0x183ead[_0x41f258(0xc4)][_0x41f258(0x119)](/^ +$/)){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),_0x510954(_0x5259f1,_0x41f258(0xde),_0x183ead[_0x41f258(0xc4)][_0x41f258(0xf8)]))});continue;}if(null!=_0x183ead[_0x41f258(0xd5)][_0x41f258(0x119)](/^ +$/)){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),_0x510954(_0x5259f1,_0x41f258(0xde),_0x183ead[_0x41f258(0xd5)][_0x41f258(0xf8)]))});continue;}if(''!=_0x183ead[_0x41f258(0xc4)]){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),'\x22'+_0x183ead[_0x41f258(0xc4)]+'\x22')});continue;}_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),'\x22'+_0x183ead[_0x41f258(0xd5)]+'\x22')});continue;case _0x41f258(0x125):case _0x41f258(0x10c):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0xd4):case _0x41f258(0xcd):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0xf3):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0x102),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0x114):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x100),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0x112):_0x34a822[_0x41f258(0xf9)](_0x183ead[_0x41f258(0x11e)]);continue;case _0x41f258(0xe3):_0x41cfd1[_0x41f258(0xf9)](_0x183ead[_0x41f258(0x11e)]);continue;default:_0x2e8809[_0x41f258(0xf9)](_0x183ead);}if(_0x34a822[_0x41f258(0xf8)]){const _0x55be7b=_0x34a822[_0x41f258(0x115)](_0x27bf4a=>this[_0x41f258(0xe8)][_0x41f258(0xfd)](_0x27bf4a)?this[_0x41f258(0xe8)][_0x41f258(0x109)](_0x27bf4a):_0x27bf4a)[_0x41f258(0x121)](',\x20');_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xda),'content':_0x510954(this[_0x41f258(0x11d)],_0x41f258(0xea),_0x55be7b)});}if(_0x41cfd1[_0x41f258(0xf8)]){const _0x10c427=_0x41cfd1[_0x41f258(0x115)](_0x19dd28=>this[_0x41f258(0xe8)][_0x41f258(0xfd)](_0x19dd28)?this[_0x41f258(0xe8)][_0x41f258(0x109)](_0x19dd28):_0x19dd28)[_0x41f258(0x121)](',\x20');_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xda),'content':_0x510954(this[_0x41f258(0x11d)],_0x41f258(0xe6),_0x10c427)});}return _0x2e8809;}[_0x1a0592(0x11c)](_0x4491bf){const _0x418dd5=_0x1a0592;for(const _0x3bfacd of this[_0x418dd5(0x105)]){const _0x101eca=_0x3bfacd(_0x4491bf);if(_0x101eca&&_0x418dd5(0x116)in _0x101eca)return _0x101eca;}}[_0x1a0592(0xd7)](_0x1f6b23,_0x5e6a43){const _0x1b642e=_0x1a0592,_0x3f6043=_0x5e6a43[_0x1b642e(0xf5)],_0x48e66f=void 0x0===_0x3f6043[_0x1b642e(0xf4)]?_0x1b642e(0xe3):_0x1b642e(0x112);_0x1f6b23[_0x1b642e(0xf9)]({'type':_0x48e66f,'key':_0x3f6043[_0x1b642e(0x11e)]});}[_0x1a0592(0x106)](_0x460527,_0x305f21){const _0x531a6a=_0x1a0592;_0x460527[_0x531a6a(0xf9)]({'type':_0x531a6a(0xda),'content':_0x510954(this[_0x531a6a(0x11d)],_0x531a6a(0xf0),this[_0x531a6a(0xdc)](_0x305f21[_0x531a6a(0x103)]()[_0x531a6a(0x10d)][_0x531a6a(0xf1)],0x1))});}[_0x1a0592(0xfb)](_0xd9d8b6,_0x16e442,_0x1403c9){const _0x5286ad=_0x1a0592;if(this[_0x5286ad(0xfe)](_0xd9d8b6,_0x16e442),_0x1403c9&&_0x1403c9[_0x5286ad(0x103)]()&&!_0x16e442[_0x5286ad(0x103)]()[_0x5286ad(0x11a)][_0x5286ad(0x124)](_0x1403c9[_0x5286ad(0x103)]()[_0x5286ad(0x10d)])){const _0x364c3a=_0xd9d8b6[_0xd9d8b6[_0x5286ad(0xf8)]-0x1],_0x3f1905=_0x5286ad(0xe2)==_0x16e442[_0x5286ad(0x116)]?_0x5286ad(0xc4):_0x5286ad(0xd5);_0x364c3a&&_0x5286ad(0x111)==_0x364c3a[_0x5286ad(0x116)]&&(_0x364c3a[_0x3f1905]+='\x0a');}}}function _0xaae3(){const _0x28728d=['remove','*Insert:*\x20%0','_handleAttributeSuggestionDescription','isEmpty','_schema','format','Object','getItemLabel','EmptyContainer','ELEMENT_SPACE','elementEnd','3219810MmGIRp','skip','insertion','removeFormat','Container','355905wUNach','*Remove\x20format:*\x20%0','$textProxy','_attributeLabels','replace','*Set\x20format:*\x20%0','_resolveDescriptionItems','2221416SMUunm','pop','checkChild','name','*Change\x20to:*\x20%0','nodeAfter','registerDescriptionCallback','addContainer','newValue','data','954184lXnqws','set','length','push','$text','_handleInsertRemoveSuggestionDescription','$1\x20$2','has','_addDescriptionItems','item','*Merge:*\x20%0','deletion','*Split:*\x20%0','getFirstRange','matchingCallback','_customCallbacks','_handleRenameSuggestionDescription','6892TYKRGS','isObject','get','quantity','getWalker','addObject','start','10pFMnMr','subType','softBreak','text','addFormat','elementStart','removeContainer','map','type','*Remove:*\x20%0','registerElementLabel','match','end','indexOf','_handleCustomCallbackDescription','_locale','key','getDescriptions','normal','join','nextSibling','467289wsczTe','isEqual','addEmptyContainer','add','REPLACE_TEXT','previousSibling','element','function','label','49IsSseW','registerAttributeLabel','isInContent','removeObject','_itemLabels','35GXefJw','7VPhZJh','_itemLabelsCallbacks','232260FdXsXM','attribute','removeEmptyContainer'];_0xaae3=function(){return _0x28728d;};return _0xaae3();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x547cee=_0x2a93;function _0x2a93(_0x1e5b15,_0x4e7bbf){var _0x1a80c9=_0x1a80();return _0x2a93=function(_0x2a939d,_0x2ca3de){_0x2a939d=_0x2a939d-0x1cd;var _0x4ff37f=_0x1a80c9[_0x2a939d];return _0x4ff37f;},_0x2a93(_0x1e5b15,_0x4e7bbf);}(function(_0x4dac27,_0x53df94){var _0x4d78d1=_0x2a93,_0x3baf8f=_0x4dac27();while(!![]){try{var _0x28dde2=parseInt(_0x4d78d1(0x1d0))/0x1+-parseInt(_0x4d78d1(0x1cf))/0x2*(parseInt(_0x4d78d1(0x1de))/0x3)+parseInt(_0x4d78d1(0x1e1))/0x4*(-parseInt(_0x4d78d1(0x1cd))/0x5)+-parseInt(_0x4d78d1(0x1d3))/0x6+-parseInt(_0x4d78d1(0x1d7))/0x7+-parseInt(_0x4d78d1(0x1df))/0x8*(-parseInt(_0x4d78d1(0x1da))/0x9)+parseInt(_0x4d78d1(0x1d2))/0xa;if(_0x28dde2===_0x53df94)break;else _0x3baf8f['push'](_0x3baf8f['shift']());}catch(_0x5d2827){_0x3baf8f['push'](_0x3baf8f['shift']());}}}(_0x1a80,0x73e93));import{Plugin as _0xdc758d}from'ckeditor5/src/core.js';import _0x57943f from'./trackchangesui.js';import _0x20fac6 from'./trackchangesediting.js';function _0x1a80(){var _0x54093e=['90518WCdQxI','addSuggestion','20651090oYnUsP','4146444fpvxvk','addSuggestionData','pluginName','TrackChanges','3267663kDMdIA','getSuggestions','editor','360zLMNhS','adapter','get','Comments','9ozFDra','109376BROqyQ','getSuggestion','148gpobpW','plugins','78655eoBaLj','requires','325204lcNuvj'];_0x1a80=function(){return _0x54093e;};return _0x1a80();}import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0xdc758d{static get[_0x547cee(0x1ce)](){var _0x1a489f=_0x547cee;return[_0x20fac6,_0x57943f,_0x1a489f(0x1dd)];}static get[_0x547cee(0x1d5)](){var _0x3b85b5=_0x547cee;return _0x3b85b5(0x1d6);}set[_0x547cee(0x1db)](_0x45db49){var _0xeefce9=_0x547cee;this[_0xeefce9(0x1d9)][_0xeefce9(0x1e2)][_0xeefce9(0x1dc)](_0x20fac6)[_0xeefce9(0x1db)]=_0x45db49;}get[_0x547cee(0x1db)](){var _0x1708b3=_0x547cee;return this[_0x1708b3(0x1d9)][_0x1708b3(0x1e2)][_0x1708b3(0x1dc)](_0x20fac6)[_0x1708b3(0x1db)];}[_0x547cee(0x1d1)](_0x8c6b26){var _0x5dffee=_0x547cee;return this[_0x5dffee(0x1d9)][_0x5dffee(0x1e2)][_0x5dffee(0x1dc)](_0x20fac6)[_0x5dffee(0x1d4)](_0x8c6b26);}[_0x547cee(0x1d8)]({skipNotAttached:_0x27e0a7=!0x1,toJSON:_0x49c6b1=!0x1}={}){var _0x44ef82=_0x547cee;return this[_0x44ef82(0x1d9)][_0x44ef82(0x1e2)][_0x44ef82(0x1dc)](_0x20fac6)[_0x44ef82(0x1d8)]({'skipNotAttached':_0x27e0a7,'toJSON':_0x49c6b1});}[_0x547cee(0x1e0)](_0x1a395b){var _0x19fad=_0x547cee;return this[_0x19fad(0x1d9)][_0x19fad(0x1e2)][_0x19fad(0x1dc)](_0x20fac6)[_0x19fad(0x1e0)](_0x1a395b);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31d644=_0x1ddd;(function(_0x3abfbe,_0x1cd307){const _0x43fd3e=_0x1ddd,_0x4fe406=_0x3abfbe();while(!![]){try{const _0x3f790b=parseInt(_0x43fd3e(0xea))/0x1*(parseInt(_0x43fd3e(0xe5))/0x2)+parseInt(_0x43fd3e(0x104))/0x3+-parseInt(_0x43fd3e(0x10c))/0x4+-parseInt(_0x43fd3e(0xda))/0x5*(parseInt(_0x43fd3e(0xdb))/0x6)+parseInt(_0x43fd3e(0xef))/0x7*(-parseInt(_0x43fd3e(0xf2))/0x8)+parseInt(_0x43fd3e(0xf4))/0x9*(-parseInt(_0x43fd3e(0x112))/0xa)+-parseInt(_0x43fd3e(0xf3))/0xb*(-parseInt(_0x43fd3e(0x111))/0xc);if(_0x3f790b===_0x1cd307)break;else _0x4fe406['push'](_0x4fe406['shift']());}catch(_0x3a796b){_0x4fe406['push'](_0x4fe406['shift']());}}}(_0x3eb5,0x1fa6c));import{Plugin as _0x95b290}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b9f4b}from'ckeditor5/src/utils.js';import _0x4d4038 from'./trackchangesediting.js';function _0x3eb5(){const _0x17240a=['name','destroy','_adapter','549477rWYRgf','editorCreator','requires','editor','getDataWithAcceptedSuggestions','rootsAttributes','set','appendChild','247704nRBOnj','Users','TrackChangesDataGetter','createElement','trackChangesData','380676NIAKuN','140QydUVj','getSuggestions','CommentsRepository','useAnonymousUser','document','pluginName','Pagination','addUser','data','plugins','15360CgQQYP','150spmFvh','div','map','function','getRootNames','track-changes-data-invalid-editor-creator','TrackChangesEditing','reduce','discardAllSuggestions','addSuggestionData','2MWtwJR','push','getCommentThreads','execute','createDocumentFragment','194613FZYRSh','getDataWithDiscardedSuggestions','model','users','acceptAllSuggestions','437185jvwIzF','getUser','result','8sMdxTy','55GzowlW','132147XjwDkM','config','create','define','end','constructor','get','getRootsAttributes','trackChangesData.editorCreator','TrackChangesData','init','getFullData','addCommentThread'];_0x3eb5=function(){return _0x17240a;};return _0x3eb5();}import{sanitizeEditorConfig as _0x12a1f3}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x31d644(0x118)];export default class P extends _0x95b290{static get[_0x31d644(0x106)](){return[_0x4d4038];}static get[_0x31d644(0x117)](){const _0x3d1a3=_0x31d644;return _0x3d1a3(0xfd);}[_0x31d644(0xfe)](){const _0x1dc467=_0x31d644,_0xfca63=this[_0x1dc467(0x107)];if(_0xfca63[_0x1dc467(0xf5)][_0x1dc467(0xf7)](_0x1dc467(0xfc),_0x2ef516=>{const _0x5120b8=_0x1dc467,_0x13ddc2=_0xfca63[_0x5120b8(0xec)][_0x5120b8(0x116)][_0x5120b8(0xdf)]()[_0x5120b8(0xe2)]((_0x5ac409,_0x114a52)=>(_0x5ac409[_0x114a52]='',_0x5ac409),{});return _0xfca63[_0x5120b8(0xf9)][_0x5120b8(0xf6)](_0x13ddc2,_0x2ef516);}),_0x1dc467(0xde)!=typeof _0xfca63[_0x1dc467(0xf5)][_0x1dc467(0xfa)](_0x1dc467(0x110))[_0x1dc467(0x105)])throw new _0x2b9f4b(_0x1dc467(0xe0));}[_0x31d644(0x108)](_0x1aff56){const _0x45e77b=_0x31d644;return N(this[_0x45e77b(0x107)],!0x0,_0x1aff56);}[_0x31d644(0xeb)](_0x4b4d67){const _0x131dbc=_0x31d644;return N(this[_0x131dbc(0x107)],!0x1,_0x4b4d67);}}class D extends _0x95b290{static get[_0x31d644(0x117)](){const _0x4bc71d=_0x31d644;return _0x4bc71d(0x10e);}constructor(_0x5aab8e){const _0x53a397=_0x31d644;super(_0x5aab8e),this[_0x53a397(0xf1)]=_0x53a397(0xf8);}[_0x31d644(0xfe)](){const _0xef5138=_0x31d644;this[_0xef5138(0x107)][_0xef5138(0xd9)][_0xef5138(0xfa)](_0xef5138(0x114))[_0xef5138(0x103)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0xef5138(0x107)][_0xef5138(0xd9)][_0xef5138(0xfa)](_0xef5138(0xe1))[_0xef5138(0x103)]=null;}}function v(_0x19186f){const _0x1ab1f4=_0x31d644;return void 0x0!==_0x19186f[_0x1ab1f4(0xfb)];}function _0x1ddd(_0x3614bd,_0x5ef1b1){const _0x3eb52b=_0x3eb5();return _0x1ddd=function(_0x1ddd4d,_0x3e1600){_0x1ddd4d=_0x1ddd4d-0xd8;let _0x3d32cc=_0x3eb52b[_0x1ddd4d];return _0x3d32cc;},_0x1ddd(_0x3614bd,_0x5ef1b1);}async function N(_0x59a143,_0x866285,_0x24c4be){const _0x2f90a5=_0x31d644,_0xa69319=_0x12a1f3(_0x59a143,T);_0xa69319[_0x2f90a5(0xd9)][_0x2f90a5(0xe6)](_0x4d4038,D),_0xa69319[_0x2f90a5(0x109)]=v(_0x59a143)?_0x59a143[_0x2f90a5(0xfb)]():void 0x0;const _0x4eae10=document[_0x2f90a5(0xe9)](),_0x276090=_0x59a143[_0x2f90a5(0xf5)][_0x2f90a5(0xfa)](_0x2f90a5(0x110))[_0x2f90a5(0x105)],_0x1fb29c=await _0x276090(_0xa69319,()=>function(_0x522d31){const _0x5512ce=_0x2f90a5,_0x4fab6a=document[_0x5512ce(0x10f)](_0x5512ce(0xdc));return _0x522d31[_0x5512ce(0x10b)](_0x4fab6a),_0x4fab6a;}(_0x4eae10));!function(_0x335083,_0x18c36d){const _0x571453=_0x2f90a5,_0x198da3=_0x335083[_0x571453(0xec)][_0x571453(0x116)][_0x571453(0xdf)]()[_0x571453(0xe2)]((_0x17642f,_0x102cb6)=>(_0x17642f[_0x102cb6]=_0x335083[_0x571453(0xd8)][_0x571453(0xfa)]({'rootName':_0x102cb6}),_0x17642f),{}),_0x4e653f=_0x335083[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0x10d))[_0x571453(0xed)][_0x571453(0xdd)](_0x2e4e63=>({'id':_0x2e4e63['id'],'name':_0x2e4e63[_0x571453(0x101)]})),_0x181480=_0x335083[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0xe1))[_0x571453(0x113)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2fcd8d=_0x335083[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0x114))[_0x571453(0xe7)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x509939=_0x18c36d[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0x10d)),_0x1fa266=_0x18c36d[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0xe1)),_0x1dfc9c=_0x18c36d[_0x571453(0xd9)][_0x571453(0xfa)](_0x571453(0x114));for(const _0x167378 of _0x4e653f)_0x509939[_0x571453(0xf0)](_0x167378['id'])||_0x509939[_0x571453(0x119)](_0x167378);_0x509939['me']||_0x509939[_0x571453(0x115)]();for(const _0x5afaf4 of _0x181480)_0x1fa266[_0x571453(0xe4)](_0x5afaf4);for(const _0xd20cc5 of _0x2fcd8d)_0x1dfc9c[_0x571453(0x100)](_0xd20cc5);_0x18c36d[_0x571453(0xd8)][_0x571453(0x10a)](_0x198da3);}(_0x59a143,_0x1fb29c),_0x1fb29c[_0x2f90a5(0xe8)](_0x866285?_0x2f90a5(0xee):_0x2f90a5(0xe3));const _0x269612=v(_0x1fb29c)?_0x1fb29c[_0x2f90a5(0xff)](_0x24c4be):_0x1fb29c[_0x2f90a5(0xd8)][_0x2f90a5(0xfa)](_0x24c4be);return await _0x1fb29c[_0x2f90a5(0x102)](),_0x269612;}
|