@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240619.1 → 0.0.0-nightly-20240619.2
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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 _0x4cb6fd=_0x1678;(function(_0x2ca12d,_0x266096){const _0x7286fa=_0x1678,_0x42b657=_0x2ca12d();while(!![]){try{const _0x4f72da=-parseInt(_0x7286fa(0x215))/0x1+parseInt(_0x7286fa(0x226))/0x2*(-parseInt(_0x7286fa(0x240))/0x3)+-parseInt(_0x7286fa(0x217))/0x4*(parseInt(_0x7286fa(0x229))/0x5)+-parseInt(_0x7286fa(0x233))/0x6*(parseInt(_0x7286fa(0x20d))/0x7)+parseInt(_0x7286fa(0x1f0))/0x8+parseInt(_0x7286fa(0x22f))/0x9*(-parseInt(_0x7286fa(0x232))/0xa)+parseInt(_0x7286fa(0x1e3))/0xb;if(_0x4f72da===_0x266096)break;else _0x42b657['push'](_0x42b657['shift']());}catch(_0x5deb5f){_0x42b657['push'](_0x42b657['shift']());}}}(_0x5ca5,0x8f3cf));import{Plugin as _0x366a9a}from'ckeditor5/src/core.js';import _0x584971 from'./table.js';import{LiveRange as _0x51ea8f}from'ckeditor5/src/engine.js';function _0x1678(_0x9d4ff,_0x12c712){const _0x5ca53c=_0x5ca5();return _0x1678=function(_0x16784d,_0xf0fbca){_0x16784d=_0x16784d-0x1e0;let _0x12b21d=_0x5ca53c[_0x16784d];return _0x12b21d;},_0x1678(_0x9d4ff,_0x12c712);}function _0x5ca5(){const _0x72f7ef=['root','table','isEnabled','mergeTableCellRight','trackChanges','registerDescriptionCallback','detach','createTableWalker','highest','rootName','low','value','_areMergableCells','forceDefaultExecution','markMultiRangeBlockFormat','34118iEbFln','formatBlock','locale','type','getSuggestions','getFirstPosition','element','_tablePostFixingSubtypes','1062938aUdBOO','containsRange','2778460FuvzSa','mergeTableCells','_acceptFormatSuggestionCallbackFactory','mergeTableCellDown','deletion','direction','format','TrackChangesEditing','getRanges','mergeTableCellLeft','add','fromRange','length','document','getAncestors','2118574fsEVxM','stop','author','5AFxlBS','insertion','mergeTableCellUp','commandName','TableUtils','_areSelectedCellsMergable','702mgiqad','subType','filter','20820rIOpHA','156FwUGUY','splitTableCellHorizontally','registerCustomCallback','has','requires','from','findAncestor','$graveyard','setSelection','set:isEnabled','execute','*Merge\x20cells*','createRangeOn','3ZzgzWv','_suggestionFactory','getCellLocation','_isForcedDefaultExecutionBlock','accept','change','size','28817305ZgUANV','formatInline','*Split\x20cell:*\x20horizontally','push','horizontally','model','get','plugins','enableCommand','cell','TableEditing','isInContent','tableCell','8583264zVPMlx','commands','*Split\x20cell:*\x20vertically','afterInit','refresh','return','selection','map','find','markBlockFormat','descriptionFactory','splitTableCellVertically','editor','getSelectionAffectedTableCells'];_0x5ca5=function(){return _0x72f7ef;};return _0x5ca5();}import{getTranslation as _0x5a0515}from'../utils/common-translations.js';export default class St extends _0x366a9a{static get[_0x4cb6fd(0x237)](){return[_0x584971];}[_0x4cb6fd(0x1f3)](){const _0x50bcd8=_0x4cb6fd,_0x52c6c2=this[_0x50bcd8(0x1fc)],_0x461e37=_0x52c6c2[_0x50bcd8(0x1e8)][_0x50bcd8(0x224)][_0x50bcd8(0x1f6)],_0x37025c=_0x52c6c2[_0x50bcd8(0x20f)];if(!_0x52c6c2[_0x50bcd8(0x1ea)][_0x50bcd8(0x236)](_0x50bcd8(0x1ed)))return;const _0x359c41=_0x52c6c2[_0x50bcd8(0x1ea)][_0x50bcd8(0x1e9)](_0x50bcd8(0x21e)),_0x448613=_0x52c6c2[_0x50bcd8(0x1ea)][_0x50bcd8(0x1e9)](_0x50bcd8(0x22d)),_0x4fd226=_0x52c6c2[_0x50bcd8(0x1ea)][_0x50bcd8(0x1e9)](_0x584971);_0x4fd226[_0x50bcd8(0x214)][_0x50bcd8(0x1e6)](_0x50bcd8(0x218)),_0x359c41[_0x50bcd8(0x1eb)](_0x50bcd8(0x218),()=>{const _0x41b1e3=_0x50bcd8,_0x3c323e=_0x448613[_0x41b1e3(0x1fd)](_0x52c6c2[_0x41b1e3(0x1e8)][_0x41b1e3(0x224)][_0x41b1e3(0x1f6)]);_0x52c6c2[_0x41b1e3(0x1e8)][_0x41b1e3(0x1e1)](()=>{const _0x58d93c=_0x41b1e3;_0x359c41[_0x58d93c(0x20c)](_0x3c323e,{'commandName':_0x58d93c(0x218),'commandParams':[]},[],_0x58d93c(0x218));});}),_0x52c6c2[_0x50bcd8(0x1f1)][_0x50bcd8(0x1e9)](_0x50bcd8(0x218))['on'](_0x50bcd8(0x23d),(_0x310917,_0x5c2f0f)=>{const _0x2459fb=_0x50bcd8;_0x52c6c2[_0x2459fb(0x1f1)][_0x2459fb(0x1e9)](_0x2459fb(0x202))[_0x2459fb(0x209)]&&(_0x5c2f0f[_0x2459fb(0x223)]>0x0&&_0x5c2f0f[_0x5c2f0f[_0x2459fb(0x223)]-0x1]&&_0x5c2f0f[_0x5c2f0f[_0x2459fb(0x223)]-0x1][_0x2459fb(0x20b)]||_0x359c41[_0x2459fb(0x243)]||this[_0x2459fb(0x22e)]()||_0x310917[_0x2459fb(0x227)]());},{'priority':_0x50bcd8(0x206)});for(const _0x1af6df of[_0x50bcd8(0x22b),_0x50bcd8(0x201),_0x50bcd8(0x21a),_0x50bcd8(0x220)]){const _0x1cf1ad=_0x52c6c2[_0x50bcd8(0x1f1)][_0x50bcd8(0x1e9)](_0x1af6df);_0x359c41[_0x50bcd8(0x1eb)](_0x1af6df,()=>{const _0x4bbeab=_0x50bcd8,_0x10f965=_0x52c6c2[_0x4bbeab(0x1e8)][_0x4bbeab(0x224)][_0x4bbeab(0x1f6)][_0x4bbeab(0x212)]()[_0x4bbeab(0x225)]()[_0x4bbeab(0x1f8)](_0x457308=>_0x457308['is'](_0x4bbeab(0x213),_0x4bbeab(0x1ef))),_0x1a595f=_0x1cf1ad[_0x4bbeab(0x209)];_0x52c6c2[_0x4bbeab(0x1e8)][_0x4bbeab(0x1e1)](()=>{const _0x3f7635=_0x4bbeab;_0x359c41[_0x3f7635(0x20c)]([_0x10f965,_0x1a595f],{'commandName':_0x3f7635(0x218),'commandParams':[]},[],_0x3f7635(0x218));});});}for(const _0x14e271 of[_0x50bcd8(0x1fb),_0x50bcd8(0x234)]){const _0x4e7dd4=_0x52c6c2[_0x50bcd8(0x1f1)][_0x50bcd8(0x1e9)](_0x14e271);_0x359c41[_0x50bcd8(0x1eb)](_0x14e271,()=>{const _0x17f88d=_0x50bcd8,_0x4d8e09=_0x448613[_0x17f88d(0x1fd)](_0x52c6c2[_0x17f88d(0x1e8)][_0x17f88d(0x224)][_0x17f88d(0x1f6)])[0x0],_0x168340=_0x4d8e09[_0x17f88d(0x239)](_0x17f88d(0x1ff)),{column:_0x147a79,row:_0x262623}=_0x448613[_0x17f88d(0x242)](_0x4d8e09);let _0x546c96=[];if(_0x17f88d(0x1e7)==_0x4e7dd4[_0x17f88d(0x21c)]){const _0x197de2=_0x448613[_0x17f88d(0x205)](_0x168340,{'startRow':_0x262623,'endRow':_0x262623,'includeAllSlots':!0x0});_0x546c96=Array[_0x17f88d(0x238)](_0x197de2)[_0x17f88d(0x1f7)](_0x16c183=>_0x16c183[_0x17f88d(0x1ec)]);}else{const _0x3a1153=_0x448613[_0x17f88d(0x205)](_0x168340,{'column':_0x147a79,'includeAllSlots':!0x0});_0x546c96=Array[_0x17f88d(0x238)](_0x3a1153)[_0x17f88d(0x1f7)](_0x52050a=>_0x52050a[_0x17f88d(0x1ec)]);}_0x52c6c2[_0x17f88d(0x1e8)][_0x17f88d(0x1e1)](_0x5cbae5=>{const _0x1cd2e3=_0x17f88d;_0x359c41[_0x1cd2e3(0x1f9)](_0x5cbae5[_0x1cd2e3(0x23f)](_0x4d8e09),{'commandName':_0x14e271,'commandParams':[]},_0x546c96,_0x14e271);});});}_0x359c41[_0x50bcd8(0x1fa)][_0x50bcd8(0x203)](_0x158a6d=>{const _0x38e917=_0x50bcd8;if(_0x38e917(0x20e)!=_0x158a6d[_0x38e917(0x210)]&&_0x38e917(0x1e4)!=_0x158a6d[_0x38e917(0x210)])return;const {data:_0x144f46}=_0x158a6d;return _0x144f46&&_0x38e917(0x218)==_0x144f46[_0x38e917(0x22c)]?{'type':_0x38e917(0x21d),'content':_0x5a0515(_0x37025c,_0x38e917(0x23e))}:void 0x0;}),_0x359c41[_0x50bcd8(0x1fa)][_0x50bcd8(0x203)](_0xcf7d3d=>{const _0x2b86cc=_0x50bcd8;if(_0x2b86cc(0x20e)!=_0xcf7d3d[_0x2b86cc(0x210)]&&_0x2b86cc(0x1e4)!=_0xcf7d3d[_0x2b86cc(0x210)])return;const {data:_0x1eb8be}=_0xcf7d3d;return _0x1eb8be?_0x2b86cc(0x1fb)==_0x1eb8be[_0x2b86cc(0x22c)]?{'type':_0x2b86cc(0x21d),'content':_0x5a0515(_0x37025c,_0x2b86cc(0x1f2))}:_0x2b86cc(0x234)==_0x1eb8be[_0x2b86cc(0x22c)]?{'type':_0x2b86cc(0x21d),'content':_0x5a0515(_0x37025c,_0x2b86cc(0x1e5))}:void 0x0:void 0x0;});const _0x38ad78=_0x4fd226[_0x50bcd8(0x219)]();for(const _0x412fff of[_0x50bcd8(0x22b),_0x50bcd8(0x201),_0x50bcd8(0x21a),_0x50bcd8(0x220)])_0x359c41[_0x50bcd8(0x241)][_0x50bcd8(0x235)](_0x50bcd8(0x20e),_0x412fff,_0x50bcd8(0x1e0),_0x38ad78);for(const _0x3370db of[_0x50bcd8(0x1fb),_0x50bcd8(0x234)])_0x359c41[_0x50bcd8(0x241)][_0x50bcd8(0x235)](_0x50bcd8(0x20e),_0x3370db,_0x50bcd8(0x1e0),_0x38ad78);_0x359c41[_0x50bcd8(0x241)][_0x50bcd8(0x235)](_0x50bcd8(0x20e),_0x50bcd8(0x218),_0x50bcd8(0x1e0),_0x5cadbc=>{const _0x2f0834=_0x50bcd8;_0x52c6c2[_0x2f0834(0x1e8)][_0x2f0834(0x1e1)](_0x16151e=>{const _0x56d36b=_0x2f0834,_0x597db3=Array[_0x56d36b(0x238)](_0x461e37[_0x56d36b(0x21f)]())[_0x56d36b(0x1f7)](_0x4250d5=>_0x51ea8f[_0x56d36b(0x222)](_0x4250d5));_0x16151e[_0x56d36b(0x23b)](_0x5cadbc),_0x52c6c2[_0x56d36b(0x1f1)][_0x56d36b(0x1e9)](_0x56d36b(0x218))[_0x56d36b(0x1f4)](),_0x52c6c2[_0x56d36b(0x23d)](_0x56d36b(0x218),{'forceDefaultExecution':!0x0});const _0x2a7843=_0x597db3[_0x56d36b(0x231)](_0x47c44f=>_0x56d36b(0x23a)!=_0x47c44f[_0x56d36b(0x1fe)][_0x56d36b(0x207)]);_0x2a7843[_0x56d36b(0x223)]>0x0&&_0x16151e[_0x56d36b(0x23b)](_0x2a7843);for(const _0x4aa242 of _0x597db3)_0x4aa242[_0x56d36b(0x204)]();});});for(const _0x158742 of[_0x50bcd8(0x22b),_0x50bcd8(0x21a),_0x50bcd8(0x220),_0x50bcd8(0x201)]){const _0x202b14=_0x52c6c2[_0x50bcd8(0x1f1)][_0x50bcd8(0x1e9)](_0x158742);_0x202b14['on'](_0x50bcd8(0x23c),(_0x4357ab,_0x1c3a6f,_0xd1308a)=>{const _0x22be7b=_0x50bcd8;if(_0xd1308a){const _0x280763=_0x52c6c2[_0x22be7b(0x1e8)][_0x22be7b(0x224)][_0x22be7b(0x1f6)][_0x22be7b(0x212)]()[_0x22be7b(0x225)]()[_0x22be7b(0x1f8)](_0x1517d3=>_0x1517d3['is'](_0x22be7b(0x213),_0x22be7b(0x1ef)));this[_0x22be7b(0x20a)](_0x202b14[_0x22be7b(0x209)],_0x280763)||(_0x4357ab[_0x22be7b(0x1f5)]=!0x1,_0x4357ab[_0x22be7b(0x227)]());}},{'priority':_0x50bcd8(0x208)});}}[_0x4cb6fd(0x22e)](){const _0x98f668=_0x4cb6fd,_0x35aac5=this[_0x98f668(0x1fc)][_0x98f668(0x1f1)][_0x98f668(0x1e9)](_0x98f668(0x218)),_0x2cad1d=this[_0x98f668(0x1fc)][_0x98f668(0x1ea)][_0x98f668(0x1e9)](_0x98f668(0x22d));if(!_0x35aac5[_0x98f668(0x200)])return!0x1;const _0x6722a9=_0x2cad1d[_0x98f668(0x1fd)](this[_0x98f668(0x1fc)][_0x98f668(0x1e8)][_0x98f668(0x224)][_0x98f668(0x1f6)]);for(const _0x40c2d6 of _0x6722a9)for(const _0x29463d of _0x6722a9)if(_0x40c2d6!=_0x29463d&&!this[_0x98f668(0x20a)](_0x40c2d6,_0x29463d))return!0x1;return!0x0;}[_0x4cb6fd(0x20a)](_0x472c50,_0x56e886){const _0x2193fd=_0x4cb6fd,_0x108601=this[_0x2193fd(0x1fc)][_0x2193fd(0x1ea)][_0x2193fd(0x1e9)](_0x2193fd(0x21e)),_0x542959=this[_0x2193fd(0x1fc)][_0x2193fd(0x1e8)][_0x2193fd(0x23f)](_0x472c50),_0x5c5e15=this[_0x2193fd(0x1fc)][_0x2193fd(0x1e8)][_0x2193fd(0x23f)](_0x56e886),_0x1c2821=new Set(),_0x2afdaf=new Set();for(const _0x3ee745 of _0x108601[_0x2193fd(0x211)]())if((_0x2193fd(0x22a)==_0x3ee745[_0x2193fd(0x210)]||_0x2193fd(0x21b)==_0x3ee745[_0x2193fd(0x210)]||_0x2193fd(0x218)==_0x3ee745[_0x2193fd(0x230)])&&_0x3ee745[_0x2193fd(0x1ee)]){for(const _0x12631e of _0x3ee745[_0x2193fd(0x21f)]())_0x12631e[_0x2193fd(0x216)](_0x542959,!0x0)&&_0x1c2821[_0x2193fd(0x221)](_0x3ee745[_0x2193fd(0x210)]+':'+_0x3ee745[_0x2193fd(0x228)]['id']),_0x12631e[_0x2193fd(0x216)](_0x5c5e15,!0x0)&&_0x2afdaf[_0x2193fd(0x221)](_0x3ee745[_0x2193fd(0x210)]+':'+_0x3ee745[_0x2193fd(0x228)]['id']);}if(_0x1c2821[_0x2193fd(0x1e2)]!=_0x2afdaf[_0x2193fd(0x1e2)])return!0x1;for(const _0x186647 of _0x1c2821)if(!_0x2afdaf[_0x2193fd(0x236)](_0x186647))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4a98(_0x422621,_0x2cbd73){const _0x1c8ab8=_0x1c8a();return _0x4a98=function(_0x4a982a,_0x51b89d){_0x4a982a=_0x4a982a-0x1c1;let _0x477e33=_0x1c8ab8[_0x4a982a];return _0x477e33;},_0x4a98(_0x422621,_0x2cbd73);}const _0x16e267=_0x4a98;function _0x1c8a(){const _0x5c8ca8=['detach','enableCommand','isEnabled','highest','cell','direction','subType','1265565TjtroQ','author','findAncestor','find','createRangeOn','markBlockFormat','return','registerCustomCallback','splitTableCellHorizontally','value','4608BcpaKJ','getRanges','markMultiRangeBlockFormat','selection','model','TableEditing','filter','low','1vKKfsS','table','mergeTableCells','insertion','$graveyard','5059340rMYMMx','splitTableCellVertically','map','7170kOLwLN','_areMergableCells','*Split\x20cell:*\x20vertically','size','getSelectionAffectedTableCells','*Split\x20cell:*\x20horizontally','refresh','commandName','locale','get','6CueIPR','fromRange','deletion','forceDefaultExecution','commands','*Merge\x20cells*','trackChanges','horizontally','push','getAncestors','_isForcedDefaultExecutionBlock','409314AsSuBy','editor','document','createTableWalker','_suggestionFactory','accept','1382752TmGxTI','setSelection','tableCell','getCellLocation','178655sDUNdb','getSuggestions','stop','mergeTableCellLeft','mergeTableCellUp','_acceptFormatSuggestionCallbackFactory','afterInit','TableUtils','isInContent','mergeTableCellDown','type','length','execute','format','54VUOTLT','has','change','containsRange','set:isEnabled','303jWeclT','root','formatInline','from','mergeTableCellRight','formatBlock','getFirstPosition','requires','descriptionFactory','plugins','_tablePostFixingSubtypes','registerDescriptionCallback','TrackChangesEditing','rootName','add','_areSelectedCellsMergable','element'];_0x1c8a=function(){return _0x5c8ca8;};return _0x1c8a();}(function(_0x4788c5,_0xe720fa){const _0x24a428=_0x4a98,_0x536d94=_0x4788c5();while(!![]){try{const _0x2e9687=-parseInt(_0x24a428(0x1cd))/0x1*(parseInt(_0x24a428(0x1ea))/0x2)+-parseInt(_0x24a428(0x207))/0x3*(parseInt(_0x24a428(0x1c5))/0x4)+parseInt(_0x24a428(0x1f4))/0x5*(-parseInt(_0x24a428(0x1df))/0x6)+parseInt(_0x24a428(0x21f))/0x7+-parseInt(_0x24a428(0x1f0))/0x8+-parseInt(_0x24a428(0x202))/0x9*(-parseInt(_0x24a428(0x1d5))/0xa)+parseInt(_0x24a428(0x1d2))/0xb;if(_0x2e9687===_0xe720fa)break;else _0x536d94['push'](_0x536d94['shift']());}catch(_0x18fbb8){_0x536d94['push'](_0x536d94['shift']());}}}(_0x1c8a,0x1c2fd));import{Plugin as _0x2f755f}from'ckeditor5/src/core.js';import _0x3f6acb from'./table.js';import{LiveRange as _0x5be981}from'ckeditor5/src/engine.js';import{getTranslation as _0x31d068}from'../utils/common-translations.js';export default class St extends _0x2f755f{static get[_0x16e267(0x20e)](){return[_0x3f6acb];}[_0x16e267(0x1fa)](){const _0x440f2c=_0x16e267,_0x346f81=this[_0x440f2c(0x1eb)],_0x1004e9=_0x346f81[_0x440f2c(0x1c9)][_0x440f2c(0x1ec)][_0x440f2c(0x1c8)],_0xee3ab2=_0x346f81[_0x440f2c(0x1dd)];if(!_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x203)](_0x440f2c(0x1ca)))return;const _0x3cd97f=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x440f2c(0x213)),_0x4375a9=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x440f2c(0x1fb)),_0x2e7a94=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x3f6acb);_0x2e7a94[_0x440f2c(0x211)][_0x440f2c(0x1e7)](_0x440f2c(0x1cf)),_0x3cd97f[_0x440f2c(0x219)](_0x440f2c(0x1cf),()=>{const _0x2b988f=_0x440f2c,_0x76076=_0x4375a9[_0x2b988f(0x1d9)](_0x346f81[_0x2b988f(0x1c9)][_0x2b988f(0x1ec)][_0x2b988f(0x1c8)]);_0x346f81[_0x2b988f(0x1c9)][_0x2b988f(0x204)](()=>{const _0x31a6a1=_0x2b988f;_0x3cd97f[_0x31a6a1(0x1c7)](_0x76076,{'commandName':_0x31a6a1(0x1cf),'commandParams':[]},[],_0x31a6a1(0x1cf));});}),_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x440f2c(0x1cf))['on'](_0x440f2c(0x200),(_0x5211f6,_0x1fcf3d)=>{const _0x44f6d5=_0x440f2c;_0x346f81[_0x44f6d5(0x1e3)][_0x44f6d5(0x1de)](_0x44f6d5(0x1e5))[_0x44f6d5(0x1c4)]&&(_0x1fcf3d[_0x44f6d5(0x1ff)]>0x0&&_0x1fcf3d[_0x1fcf3d[_0x44f6d5(0x1ff)]-0x1]&&_0x1fcf3d[_0x1fcf3d[_0x44f6d5(0x1ff)]-0x1][_0x44f6d5(0x1e2)]||_0x3cd97f[_0x44f6d5(0x1e9)]||this[_0x44f6d5(0x216)]()||_0x5211f6[_0x44f6d5(0x1f6)]());},{'priority':_0x440f2c(0x21b)});for(const _0x33cba6 of[_0x440f2c(0x1f8),_0x440f2c(0x20b),_0x440f2c(0x1fd),_0x440f2c(0x1f7)]){const _0x419520=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x33cba6);_0x3cd97f[_0x440f2c(0x219)](_0x33cba6,()=>{const _0x1544ac=_0x440f2c,_0x3557d9=_0x346f81[_0x1544ac(0x1c9)][_0x1544ac(0x1ec)][_0x1544ac(0x1c8)][_0x1544ac(0x20d)]()[_0x1544ac(0x1e8)]()[_0x1544ac(0x222)](_0x58c4da=>_0x58c4da['is'](_0x1544ac(0x217),_0x1544ac(0x1f2))),_0x370dc4=_0x419520[_0x1544ac(0x1c4)];_0x346f81[_0x1544ac(0x1c9)][_0x1544ac(0x204)](()=>{const _0x28b1d0=_0x1544ac;_0x3cd97f[_0x28b1d0(0x1c7)]([_0x3557d9,_0x370dc4],{'commandName':_0x28b1d0(0x1cf),'commandParams':[]},[],_0x28b1d0(0x1cf));});});}for(const _0x5e6453 of[_0x440f2c(0x1d3),_0x440f2c(0x1c3)]){const _0xc97fb6=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x5e6453);_0x3cd97f[_0x440f2c(0x219)](_0x5e6453,()=>{const _0x56f7c9=_0x440f2c,_0x42d6e9=_0x4375a9[_0x56f7c9(0x1d9)](_0x346f81[_0x56f7c9(0x1c9)][_0x56f7c9(0x1ec)][_0x56f7c9(0x1c8)])[0x0],_0x54c6eb=_0x42d6e9[_0x56f7c9(0x221)](_0x56f7c9(0x1ce)),{column:_0x4e4979,row:_0x5c06da}=_0x4375a9[_0x56f7c9(0x1f3)](_0x42d6e9);let _0x54ab89=[];if(_0x56f7c9(0x1e6)==_0xc97fb6[_0x56f7c9(0x21d)]){const _0x47f5aa=_0x4375a9[_0x56f7c9(0x1ed)](_0x54c6eb,{'startRow':_0x5c06da,'endRow':_0x5c06da,'includeAllSlots':!0x0});_0x54ab89=Array[_0x56f7c9(0x20a)](_0x47f5aa)[_0x56f7c9(0x1d4)](_0x517feb=>_0x517feb[_0x56f7c9(0x21c)]);}else{const _0x1ed691=_0x4375a9[_0x56f7c9(0x1ed)](_0x54c6eb,{'column':_0x4e4979,'includeAllSlots':!0x0});_0x54ab89=Array[_0x56f7c9(0x20a)](_0x1ed691)[_0x56f7c9(0x1d4)](_0xbde333=>_0xbde333[_0x56f7c9(0x21c)]);}_0x346f81[_0x56f7c9(0x1c9)][_0x56f7c9(0x204)](_0x1f7d45=>{const _0x1819e7=_0x56f7c9;_0x3cd97f[_0x1819e7(0x224)](_0x1f7d45[_0x1819e7(0x223)](_0x42d6e9),{'commandName':_0x5e6453,'commandParams':[]},_0x54ab89,_0x5e6453);});});}_0x3cd97f[_0x440f2c(0x20f)][_0x440f2c(0x212)](_0x5c26ba=>{const _0x5ce192=_0x440f2c;if(_0x5ce192(0x20c)!=_0x5c26ba[_0x5ce192(0x1fe)]&&_0x5ce192(0x209)!=_0x5c26ba[_0x5ce192(0x1fe)])return;const {data:_0x205586}=_0x5c26ba;return _0x205586&&_0x5ce192(0x1cf)==_0x205586[_0x5ce192(0x1dc)]?{'type':_0x5ce192(0x201),'content':_0x31d068(_0xee3ab2,_0x5ce192(0x1e4))}:void 0x0;}),_0x3cd97f[_0x440f2c(0x20f)][_0x440f2c(0x212)](_0xa7cb0a=>{const _0x4be801=_0x440f2c;if(_0x4be801(0x20c)!=_0xa7cb0a[_0x4be801(0x1fe)]&&_0x4be801(0x209)!=_0xa7cb0a[_0x4be801(0x1fe)])return;const {data:_0x4bc207}=_0xa7cb0a;return _0x4bc207?_0x4be801(0x1d3)==_0x4bc207[_0x4be801(0x1dc)]?{'type':_0x4be801(0x201),'content':_0x31d068(_0xee3ab2,_0x4be801(0x1d7))}:_0x4be801(0x1c3)==_0x4bc207[_0x4be801(0x1dc)]?{'type':_0x4be801(0x201),'content':_0x31d068(_0xee3ab2,_0x4be801(0x1da))}:void 0x0:void 0x0;});const _0x5b46a6=_0x2e7a94[_0x440f2c(0x1f9)]();for(const _0x4cc857 of[_0x440f2c(0x1f8),_0x440f2c(0x20b),_0x440f2c(0x1fd),_0x440f2c(0x1f7)])_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x4cc857,_0x440f2c(0x1ef),_0x5b46a6);for(const _0x32560c of[_0x440f2c(0x1d3),_0x440f2c(0x1c3)])_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x32560c,_0x440f2c(0x1ef),_0x5b46a6);_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x440f2c(0x1cf),_0x440f2c(0x1ef),_0x4d96fb=>{const _0x1b6962=_0x440f2c;_0x346f81[_0x1b6962(0x1c9)][_0x1b6962(0x204)](_0x6dfd87=>{const _0x34eb72=_0x1b6962,_0x139897=Array[_0x34eb72(0x20a)](_0x1004e9[_0x34eb72(0x1c6)]())[_0x34eb72(0x1d4)](_0x389d1d=>_0x5be981[_0x34eb72(0x1e0)](_0x389d1d));_0x6dfd87[_0x34eb72(0x1f1)](_0x4d96fb),_0x346f81[_0x34eb72(0x1e3)][_0x34eb72(0x1de)](_0x34eb72(0x1cf))[_0x34eb72(0x1db)](),_0x346f81[_0x34eb72(0x200)](_0x34eb72(0x1cf),{'forceDefaultExecution':!0x0});const _0x56e4df=_0x139897[_0x34eb72(0x1cb)](_0x22e064=>_0x34eb72(0x1d1)!=_0x22e064[_0x34eb72(0x208)][_0x34eb72(0x214)]);_0x56e4df[_0x34eb72(0x1ff)]>0x0&&_0x6dfd87[_0x34eb72(0x1f1)](_0x56e4df);for(const _0x3b3f79 of _0x139897)_0x3b3f79[_0x34eb72(0x218)]();});});for(const _0x5d424a of[_0x440f2c(0x1f8),_0x440f2c(0x1fd),_0x440f2c(0x1f7),_0x440f2c(0x20b)]){const _0xfa0039=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x5d424a);_0xfa0039['on'](_0x440f2c(0x206),(_0x15bdd3,_0x5c0173,_0x37d5df)=>{const _0x1b0d87=_0x440f2c;if(_0x37d5df){const _0x1673c4=_0x346f81[_0x1b0d87(0x1c9)][_0x1b0d87(0x1ec)][_0x1b0d87(0x1c8)][_0x1b0d87(0x20d)]()[_0x1b0d87(0x1e8)]()[_0x1b0d87(0x222)](_0x3dd904=>_0x3dd904['is'](_0x1b0d87(0x217),_0x1b0d87(0x1f2)));this[_0x1b0d87(0x1d6)](_0xfa0039[_0x1b0d87(0x1c4)],_0x1673c4)||(_0x15bdd3[_0x1b0d87(0x1c1)]=!0x1,_0x15bdd3[_0x1b0d87(0x1f6)]());}},{'priority':_0x440f2c(0x1cc)});}}[_0x16e267(0x216)](){const _0x4c9ba9=_0x16e267,_0x4d0dea=this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x1e3)][_0x4c9ba9(0x1de)](_0x4c9ba9(0x1cf)),_0x3dc89e=this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x210)][_0x4c9ba9(0x1de)](_0x4c9ba9(0x1fb));if(!_0x4d0dea[_0x4c9ba9(0x21a)])return!0x1;const _0x30a457=_0x3dc89e[_0x4c9ba9(0x1d9)](this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x1c9)][_0x4c9ba9(0x1ec)][_0x4c9ba9(0x1c8)]);for(const _0x2ecfeb of _0x30a457)for(const _0x4d3dfc of _0x30a457)if(_0x2ecfeb!=_0x4d3dfc&&!this[_0x4c9ba9(0x1d6)](_0x2ecfeb,_0x4d3dfc))return!0x1;return!0x0;}[_0x16e267(0x1d6)](_0x7a0961,_0x40c122){const _0x11fa43=_0x16e267,_0x399eb0=this[_0x11fa43(0x1eb)][_0x11fa43(0x210)][_0x11fa43(0x1de)](_0x11fa43(0x213)),_0x5c0944=this[_0x11fa43(0x1eb)][_0x11fa43(0x1c9)][_0x11fa43(0x223)](_0x7a0961),_0x20c958=this[_0x11fa43(0x1eb)][_0x11fa43(0x1c9)][_0x11fa43(0x223)](_0x40c122),_0x146748=new Set(),_0x38d04b=new Set();for(const _0x51f133 of _0x399eb0[_0x11fa43(0x1f5)]())if((_0x11fa43(0x1d0)==_0x51f133[_0x11fa43(0x1fe)]||_0x11fa43(0x1e1)==_0x51f133[_0x11fa43(0x1fe)]||_0x11fa43(0x1cf)==_0x51f133[_0x11fa43(0x21e)])&&_0x51f133[_0x11fa43(0x1fc)]){for(const _0x66e87f of _0x51f133[_0x11fa43(0x1c6)]())_0x66e87f[_0x11fa43(0x205)](_0x5c0944,!0x0)&&_0x146748[_0x11fa43(0x215)](_0x51f133[_0x11fa43(0x1fe)]+':'+_0x51f133[_0x11fa43(0x220)]['id']),_0x66e87f[_0x11fa43(0x205)](_0x20c958,!0x0)&&_0x38d04b[_0x11fa43(0x215)](_0x51f133[_0x11fa43(0x1fe)]+':'+_0x51f133[_0x11fa43(0x220)]['id']);}if(_0x146748[_0x11fa43(0x1d8)]!=_0x38d04b[_0x11fa43(0x1d8)])return!0x1;for(const _0x434428 of _0x146748)if(!_0x38d04b[_0x11fa43(0x203)](_0x434428))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d0a06=_0x5c3f;(function(_0x4e08b3,_0x480f94){const _0x31963b=_0x5c3f,_0x558e6a=_0x4e08b3();while(!![]){try{const _0x3f7c14=parseInt(_0x31963b(0x1fc))/0x1*(-parseInt(_0x31963b(0x1fb))/0x2)+-parseInt(_0x31963b(0x1f7))/0x3*(-parseInt(_0x31963b(0x1ef))/0x4)+parseInt(_0x31963b(0x1f0))/0x5+-parseInt(_0x31963b(0x1f3))/0x6*(-parseInt(_0x31963b(0x1ed))/0x7)+-parseInt(_0x31963b(0x1f8))/0x8+parseInt(_0x31963b(0x1f2))/0x9*(parseInt(_0x31963b(0x1ec))/0xa)+parseInt(_0x31963b(0x1fe))/0xb*(-parseInt(_0x31963b(0x1f1))/0xc);if(_0x3f7c14===_0x480f94)break;else _0x558e6a['push'](_0x558e6a['shift']());}catch(_0xeab827){_0x558e6a['push'](_0x558e6a['shift']());}}}(_0x5083,0x80f73));function _0x5083(){const _0xd0be6f=['2283192sBkhTl','registerElementLabel','plugins','72614BSnzHo','29bYfVwV','enableCommand','44EOpnWi','get','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','locale','tableOfContents','TrackChangesEditing','401930kMWZbF','609aScDnL','commands','4srcdYO','1956930HKpNvK','1797348dBekdc','171AntYqh','38970HDqsiB','editor','insertTableOfContents','afterInit','2236629fkyuOa'];_0x5083=function(){return _0xd0be6f;};return _0x5083();}import{Plugin as _0x51e5e7}from'ckeditor5/src/core.js';import{getTranslation as _0x26456a}from'../utils/common-translations.js';function _0x5c3f(_0x41ff40,_0x7c20ff){const _0x508323=_0x5083();return _0x5c3f=function(_0x5c3f9c,_0x27da90){_0x5c3f9c=_0x5c3f9c-0x1e6;let _0x470550=_0x508323[_0x5c3f9c];return _0x470550;},_0x5c3f(_0x41ff40,_0x7c20ff);}export default class _t extends _0x51e5e7{[_0x5d0a06(0x1f6)](){const _0x4a43fc=_0x5d0a06,_0x14f89c=this[_0x4a43fc(0x1f4)];if(!_0x14f89c[_0x4a43fc(0x1ee)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1f5)))return;_0x14f89c[_0x4a43fc(0x1fa)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1eb))[_0x4a43fc(0x1fd)](_0x4a43fc(0x1f5));const _0x4904b1=_0x14f89c[_0x4a43fc(0x1fa)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1eb)),_0x142ac2=_0x14f89c[_0x4a43fc(0x1e9)];_0x4904b1[_0x4a43fc(0x1e7)][_0x4a43fc(0x1f9)](_0x4a43fc(0x1ea),_0x15ba53=>_0x26456a(_0x142ac2,_0x4a43fc(0x1e8),_0x15ba53));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x32cc(_0x540bed,_0x42e83a){const _0x5595b9=_0x5595();return _0x32cc=function(_0x32ccdb,_0x531034){_0x32ccdb=_0x32ccdb-0xc2;let _0x4feb1f=_0x5595b9[_0x32ccdb];return _0x4feb1f;},_0x32cc(_0x540bed,_0x42e83a);}const _0x47c017=_0x32cc;(function(_0x380ec5,_0xc8a570){const _0x4f410f=_0x32cc,_0x1b8ca2=_0x380ec5();while(!![]){try{const _0x14b6d8=parseInt(_0x4f410f(0xe7))/0x1*(-parseInt(_0x4f410f(0xf0))/0x2)+parseInt(_0x4f410f(0xde))/0x3+parseInt(_0x4f410f(0xe9))/0x4+-parseInt(_0x4f410f(0xfd))/0x5+-parseInt(_0x4f410f(0xd6))/0x6*(parseInt(_0x4f410f(0xd8))/0x7)+-parseInt(_0x4f410f(0xf9))/0x8+parseInt(_0x4f410f(0xf2))/0x9;if(_0x14b6d8===_0xc8a570)break;else _0x1b8ca2['push'](_0x1b8ca2['shift']());}catch(_0x83d0a4){_0x1b8ca2['push'](_0x1b8ca2['shift']());}}}(_0x5595,0x2e888));import{Plugin as _0x4c4d29}from'ckeditor5/src/core.js';import{getTranslation as _0x3f3330}from'../utils/common-translations.js';export default class $t extends _0x4c4d29{constructor(_0xa8a481){const _0x25e11c=_0x32cc;super(_0xa8a481),this[_0x25e11c(0xef)]=[_0x25e11c(0xcb),_0x25e11c(0xd3),_0x25e11c(0x10e),_0x25e11c(0xc9),_0x25e11c(0xc4),_0x25e11c(0xd9),_0x25e11c(0xfb)],this[_0x25e11c(0xcd)]=[_0x25e11c(0xe5),_0x25e11c(0xec),_0x25e11c(0xd7),_0x25e11c(0xd1),_0x25e11c(0xc2),_0x25e11c(0x103),_0x25e11c(0xfa),_0x25e11c(0x108),_0x25e11c(0xea)];}static get[_0x47c017(0x109)](){const _0x1c3e59=_0x47c017;return _0x1c3e59(0xe8);}[_0x47c017(0xf4)](){const _0x2bbc18=_0x47c017,_0x393748=this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0xe6)](_0x2bbc18(0xc3));if(this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0x106)](_0x2bbc18(0x105))){for(const _0x52408c of this[_0x2bbc18(0xef)])_0x393748[_0x2bbc18(0xc7)](_0x52408c,(_0x4f66bc,_0x4644ce)=>{const _0x42d02d=_0x2bbc18,_0x18ba97=this[_0x42d02d(0xc8)][_0x42d02d(0xca)][_0x42d02d(0xe0)][_0x42d02d(0xe2)][_0x42d02d(0xfe)]()[_0x42d02d(0xc5)](_0x42d02d(0xdf));this[_0x42d02d(0x104)](_0x52408c,[_0x18ba97],this[_0x42d02d(0xef)],_0x42d02d(0xef),_0x4f66bc,_0x4644ce);});_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0x10a),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x102)](_0x2bbc18(0xf5),null,_0x2bbc18(0xd0))),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0xd0),(_0x10e2c3,_0x5b2fc5)=>this[_0x2bbc18(0x100)](this[_0x2bbc18(0xef)],_0x10e2c3,_0x5b2fc5)),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0xed),()=>!0x1);}if(this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0x106)](_0x2bbc18(0xdd))){for(const _0x3083b3 of this[_0x2bbc18(0xcd)])_0x393748[_0x2bbc18(0xc7)](_0x3083b3,(_0x271d22,_0x1d6129)=>{const _0x1eabb3=_0x2bbc18,_0x9e941d=this[_0x1eabb3(0xc8)][_0x1eabb3(0xdc)][_0x1eabb3(0xe6)](_0x1eabb3(0xda))[_0x1eabb3(0xd5)](this[_0x1eabb3(0xc8)][_0x1eabb3(0xca)][_0x1eabb3(0xe0)][_0x1eabb3(0xe2)]);this[_0x1eabb3(0x104)](_0x3083b3,_0x9e941d,this[_0x1eabb3(0xcd)],_0x1eabb3(0xcd),_0x271d22,_0x1d6129);});_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0x10a),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x102)](_0x2bbc18(0xf5),null,_0x2bbc18(0xd0))),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0xd0),(_0x2dee12,_0x30d61f)=>this[_0x2bbc18(0x100)](this[_0x2bbc18(0xcd)],_0x2dee12,_0x30d61f)),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0xed),()=>!0x1);}_0x393748[_0x2bbc18(0xc6)][_0x2bbc18(0xce)](_0x3a7bcc=>this[_0x2bbc18(0xf7)](_0x3a7bcc));}[_0x47c017(0x104)](_0x36fda5,_0x29bbd1,_0x4d73df,_0x34a065,_0x474ac8,_0x137f72){const _0x3bbfab=_0x47c017,_0x3746ee=this[_0x3bbfab(0xc8)][_0x3bbfab(0xdc)][_0x3bbfab(0xe6)](_0x3bbfab(0xc3));this[_0x3bbfab(0xc8)][_0x3bbfab(0xca)][_0x3bbfab(0xee)](_0x137f72[_0x3bbfab(0x10c)],()=>{const _0x1d26de=_0x3bbfab;for(const _0x1a0b55 of _0x29bbd1){if(this[_0x1d26de(0xf8)](_0x1a0b55,_0x34a065))_0x474ac8(_0x137f72);else{const _0x82ef59={};for(const _0x50c37a of _0x4d73df){const _0x14da01=_0x1a0b55[_0x1d26de(0xd4)](_0x50c37a);void 0x0!==_0x14da01&&(_0x82ef59[_0x50c37a]=_0x14da01);}_0x474ac8(_0x137f72),_0x3746ee[_0x1d26de(0xcc)](_0x1a0b55,{'commandParams':[_0x82ef59]},[],_0x34a065);}}});}[_0x47c017(0x100)](_0x39165a,_0x2c53ce,_0x4db67d){const _0x2efd64=_0x47c017,_0x23ed03=_0x2c53ce[0x0][_0x2efd64(0xdb)][_0x2efd64(0xf3)],_0x36497b=_0x4db67d[_0x2efd64(0xd2)][0x0];this[_0x2efd64(0xc8)][_0x2efd64(0xca)][_0x2efd64(0xe4)](_0x16dddf=>{const _0x37078c=_0x2efd64;for(const _0x5d9cf3 of _0x39165a)void 0x0!==_0x36497b[_0x5d9cf3]?_0x16dddf[_0x37078c(0xe3)](_0x5d9cf3,_0x36497b[_0x5d9cf3],_0x23ed03):_0x16dddf[_0x37078c(0x10b)](_0x5d9cf3,_0x23ed03);});}[_0x47c017(0xf7)](_0x2f4188){const _0x2cd2ca=_0x47c017;if(_0x2f4188[_0x2cd2ca(0xcf)])switch(_0x2f4188[_0x2cd2ca(0x107)]){case _0x2cd2ca(0xef):return{'type':_0x2cd2ca(0xf1),'content':_0x3f3330(this[_0x2cd2ca(0xc8)][_0x2cd2ca(0xe1)],_0x2cd2ca(0xfc))};case _0x2cd2ca(0xcd):return{'type':_0x2cd2ca(0xf1),'content':_0x3f3330(this[_0x2cd2ca(0xc8)][_0x2cd2ca(0xe1)],_0x2cd2ca(0xeb))};}}[_0x47c017(0xf8)](_0x255c52,_0x32cc36){const _0x2411a6=_0x47c017,_0x336e7d=this[_0x2411a6(0xc8)][_0x2411a6(0xdc)][_0x2411a6(0xe6)](_0x2411a6(0xc3));for(const _0x5d4d8f of _0x336e7d[_0x2411a6(0xf6)]({'skipNotAttached':!0x0})){const _0x2e9253=_0x5d4d8f[_0x2411a6(0x10d)]();if(_0x5d4d8f[_0x2411a6(0x107)]===_0x32cc36&&_0x2e9253===_0x255c52)return _0x5d4d8f;}return null;}}function _0x5595(){const _0x1b08a1=['655980WZEVwS','tableCellVerticalAlignment','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderStyle','join','enqueueChange','tableProperties','16MuRcwu','format','6917697oydZlw','nodeAfter','afterInit','formatBlock','getSuggestions','handleSuggestionDescription','_getSuggestion','2208272vvghzj','tableCellBackgroundColor','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','989365ClXvSj','getFirstPosition','_suggestionFactory','handleDiscardAction','registerCustomCallback','getSuggestionCallback','tableCellHeight','_handlePropertyChange','TablePropertiesEditing','has','subType','tableCellHorizontalAlignment','pluginName','accept','removeAttribute','batch','getContainedElement','tableBorderWidth','tableCellWidth','TrackChangesEditing','tableWidth','findAncestor','descriptionFactory','enableCommand','editor','tableAlignment','model','tableBorderColor','markBlockFormat','tableCellProperties','registerDescriptionCallback','data','discard','tableCellPadding','commandParams','tableBorderStyle','getAttribute','getSelectionAffectedTableCells','565854NitHis','tableCellBorderWidth','21tYuQnr','tableHeight','TableUtils','start','plugins','TableCellPropertiesEditing','978354fFsDYF','table','document','locale','selection','setAttribute','change','tableCellBorderColor','get','38914iTZcjk','TrackChangesTableProperties'];_0x5595=function(){return _0x1b08a1;};return _0x5595();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7a28(){const _0x9d2d4=['36ItMNhr','268634HXcHsh','get','9nrqDbF','insertTemplate','3339836qjQtLs','plugins','1750557CKDqHT','209915LSuCio','3318580qjGbjN','afterInit','has','2lWAlKQ','editor','TrackChangesEditing','3347505iexBkN','enableCommand','Template','1485416GKZgoL'];_0x7a28=function(){return _0x9d2d4;};return _0x7a28();}const _0x3af1df=_0x2310;function _0x2310(_0x171d3b,_0x2402a8){const _0x7a285e=_0x7a28();return _0x2310=function(_0x2310fc,_0x5b0b35){_0x2310fc=_0x2310fc-0x135;let _0x179d3b=_0x7a285e[_0x2310fc];return _0x179d3b;},_0x2310(_0x171d3b,_0x2402a8);}(function(_0x19ca2d,_0x43dc80){const _0xf2b9a2=_0x2310,_0x3efcef=_0x19ca2d();while(!![]){try{const _0x4dd2d9=parseInt(_0xf2b9a2(0x143))/0x1+-parseInt(_0xf2b9a2(0x13b))/0x2*(-parseInt(_0xf2b9a2(0x136))/0x3)+parseInt(_0xf2b9a2(0x147))/0x4+-parseInt(_0xf2b9a2(0x137))/0x5*(parseInt(_0xf2b9a2(0x142))/0x6)+-parseInt(_0xf2b9a2(0x13e))/0x7+-parseInt(_0xf2b9a2(0x141))/0x8*(parseInt(_0xf2b9a2(0x145))/0x9)+-parseInt(_0xf2b9a2(0x138))/0xa;if(_0x4dd2d9===_0x43dc80)break;else _0x3efcef['push'](_0x3efcef['shift']());}catch(_0x4e5c71){_0x3efcef['push'](_0x3efcef['shift']());}}}(_0x7a28,0x6b4a8));import{Plugin as _0x28bd57}from'ckeditor5/src/core.js';export default class Ct extends _0x28bd57{[_0x3af1df(0x139)](){const _0x225c29=_0x3af1df,_0x218813=this[_0x225c29(0x13c)];_0x218813[_0x225c29(0x135)][_0x225c29(0x13a)](_0x225c29(0x140))&&_0x218813[_0x225c29(0x135)][_0x225c29(0x144)](_0x225c29(0x13d))[_0x225c29(0x13f)](_0x225c29(0x146));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f1f6=_0x3d90;function _0x3d90(_0x2e36bd,_0xcc058e){const _0x26174a=_0x2617();return _0x3d90=function(_0x3d90ba,_0x26c717){_0x3d90ba=_0x3d90ba-0x16f;let _0x459e92=_0x26174a[_0x3d90ba];return _0x459e92;},_0x3d90(_0x2e36bd,_0xcc058e);}function _0x2617(){const _0xd0fa7b=['element','875YyDwMl','432896qGhMOY','updateMarker','locale','331674ufjxgK','232275kchfbf','createRange','suggestion','Title','removeMarker','2094nTTfsl','document','isCollapsed','end','newRange','12436BUKRvH','isEqual','plugins','getNearestSelectionRange','isTouching','20ofNpAK','has','differ','editor','schema','registerPostFixer','ELEMENT_TITLE','getChangedMarkers','TrackChangesEditing','start','model','forward','title-content','from','nodeBefore','registerElementLabel','819945HVzbBt','get','afterInit','63884TgGapI','_splitMarkerName','descriptionFactory'];_0x2617=function(){return _0xd0fa7b;};return _0x2617();}(function(_0x127f1f,_0x150f39){const _0x59d4a9=_0x3d90,_0x172f62=_0x127f1f();while(!![]){try{const _0x1a2581=parseInt(_0x59d4a9(0x182))/0x1+parseInt(_0x59d4a9(0x18a))/0x2+parseInt(_0x59d4a9(0x18b))/0x3+parseInt(_0x59d4a9(0x195))/0x4*(-parseInt(_0x59d4a9(0x16f))/0x5)+-parseInt(_0x59d4a9(0x190))/0x6*(parseInt(_0x59d4a9(0x186))/0x7)+-parseInt(_0x59d4a9(0x187))/0x8+-parseInt(_0x59d4a9(0x17f))/0x9;if(_0x1a2581===_0x150f39)break;else _0x172f62['push'](_0x172f62['shift']());}catch(_0x298209){_0x172f62['push'](_0x172f62['shift']());}}}(_0x2617,0x19d8c));import{Plugin as _0x71a7c}from'ckeditor5/src/core.js';import{getTranslation as _0x2a0e02}from'../utils/common-translations.js';export default class Dt extends _0x71a7c{[_0x41f1f6(0x181)](){const _0x4d7fb7=_0x41f1f6,_0x438d7f=this[_0x4d7fb7(0x172)];if(!_0x438d7f[_0x4d7fb7(0x197)][_0x4d7fb7(0x170)](_0x4d7fb7(0x18e)))return;const _0x548813=_0x438d7f[_0x4d7fb7(0x197)][_0x4d7fb7(0x180)](_0x4d7fb7(0x177));_0x548813[_0x4d7fb7(0x184)][_0x4d7fb7(0x17e)](_0x4d7fb7(0x17b),()=>_0x2a0e02(_0x438d7f[_0x4d7fb7(0x189)],_0x4d7fb7(0x175))),_0x438d7f[_0x4d7fb7(0x179)][_0x4d7fb7(0x191)][_0x4d7fb7(0x174)](_0x5b04bd=>{const _0x1ba05f=_0x4d7fb7;let _0x4cd61a=!0x1;const _0x71e622=Array[_0x1ba05f(0x17c)](_0x438d7f[_0x1ba05f(0x179)][_0x1ba05f(0x191)][_0x1ba05f(0x171)][_0x1ba05f(0x176)]());for(const {name:_0x5c0032,data:_0xda5c81}of _0x71e622){const {group:_0x2222ba}=_0x548813[_0x1ba05f(0x183)](_0x5c0032);if(_0x1ba05f(0x18d)!==_0x2222ba||!_0xda5c81[_0x1ba05f(0x194)])continue;const _0x52e734=_0xda5c81[_0x1ba05f(0x194)],_0x2cbec9=_0x52e734[_0x1ba05f(0x193)][_0x1ba05f(0x17d)];if(!_0x2cbec9||!_0x2cbec9['is'](_0x1ba05f(0x185),_0x1ba05f(0x17b)))continue;if(!_0x52e734[_0x1ba05f(0x178)][_0x1ba05f(0x199)](_0x52e734[_0x1ba05f(0x193)]))continue;const _0x89e594=_0x438d7f[_0x1ba05f(0x179)][_0x1ba05f(0x173)][_0x1ba05f(0x198)](_0x52e734[_0x1ba05f(0x193)],_0x1ba05f(0x17a));if(_0x89e594&&_0x89e594[_0x1ba05f(0x192)]){const _0x2d8e86=_0x5b04bd[_0x1ba05f(0x18c)](_0x52e734[_0x1ba05f(0x178)],_0x89e594[_0x1ba05f(0x178)]);_0x2d8e86[_0x1ba05f(0x196)](_0x52e734)||(_0x5b04bd[_0x1ba05f(0x188)](_0x5c0032,{'range':_0x2d8e86}),_0x4cd61a=!0x0);}_0x4cd61a||(_0x5b04bd[_0x1ba05f(0x18f)](_0x5c0032),_0x4cd61a=!0x0);}return _0x4cd61a;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x53e261=_0x3fa3;(function(_0xe5e9c3,_0x5697a3){const _0x45081=_0x3fa3,_0x3c0577=_0xe5e9c3();while(!![]){try{const _0x38197b=-parseInt(_0x45081(0xa1))/0x1*(parseInt(_0x45081(0x93))/0x2)+-parseInt(_0x45081(0x91))/0x3+-parseInt(_0x45081(0x94))/0x4+-parseInt(_0x45081(0x9b))/0x5*(parseInt(_0x45081(0x99))/0x6)+-parseInt(_0x45081(0x97))/0x7*(-parseInt(_0x45081(0x9a))/0x8)+parseInt(_0x45081(0x90))/0x9*(-parseInt(_0x45081(0x9f))/0xa)+parseInt(_0x45081(0x8e))/0xb;if(_0x38197b===_0x5697a3)break;else _0x3c0577['push'](_0x3c0577['shift']());}catch(_0x21cd9b){_0x3c0577['push'](_0x3c0577['shift']());}}}(_0x3d4c,0x7fa45));import{Plugin as _0x59c1e8}from'ckeditor5/src/core.js';export default class Nt extends _0x59c1e8{[_0x53e261(0x8f)](){const _0x1ba53d=_0x53e261,_0x17cc58=this[_0x1ba53d(0x96)],_0x5badf4=_0x17cc58[_0x1ba53d(0x9c)][_0x1ba53d(0xa2)](_0x1ba53d(0x98));_0x17cc58[_0x1ba53d(0x9c)][_0x1ba53d(0x95)](_0x1ba53d(0x9e))&&(_0x5badf4[_0x1ba53d(0x9d)](_0x1ba53d(0xa0)),_0x5badf4[_0x1ba53d(0x9d)](_0x1ba53d(0x92)));}}function _0x3fa3(_0x43a90c,_0x480020){const _0x3d4c43=_0x3d4c();return _0x3fa3=function(_0x3fa34c,_0x30d563){_0x3fa34c=_0x3fa34c-0x8e;let _0x2201c6=_0x3d4c43[_0x3fa34c];return _0x2201c6;},_0x3fa3(_0x43a90c,_0x480020);}function _0x3d4c(){const _0x46b756=['plugins','enableCommand','UndoEditing','565540MCbrsL','undo','1SwHITc','get','22966196XTxIBX','afterInit','18qigqHV','497445ftPAAe','redo','2072194OTLtYp','1176276GADUoX','has','editor','3290ChTtnt','TrackChangesEditing','156xAqAvJ','8128JMrOdP','83355cdxVSk'];_0x3d4c=function(){return _0x46b756;};return _0x3d4c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5735(){const _0x4c94e2=['TrackChangesEditing','getItems','getCustomProperty','nextSibling','plugins','786570CQPZEw','ck-suggestion-marker--active','schema','isContent','createUIElement','toViewElement','start','2NIRUWO','mapper','isLimit','3JivklJ','bindElementToMarker','addClass','item','elementEnd','isBlock','includes','addHighlight','model','createRangeOn','267896RVouGK','push','hasAttribute','activeMarkers','parent','149281ZRuUOs','get','name','consumable','10cNZmsz','1220640PMuwoo','span','ck-suggestion-marker-','markerName','getWalker','markerRange','3112335lgJMTI','writer','previousPosition','toViewPosition','test','type','isAtEnd','91225CTfzzK','1463630kOWHDQ','insert'];_0x5735=function(){return _0x4c94e2;};return _0x5735();}(function(_0x1158e4,_0x5c9930){const _0x22b2f6=_0x3f4e,_0x5336db=_0x1158e4();while(!![]){try{const _0x5c59c5=-parseInt(_0x22b2f6(0xdf))/0x1*(parseInt(_0x22b2f6(0x100))/0x2)+parseInt(_0x22b2f6(0xd0))/0x3*(parseInt(_0x22b2f6(0xda))/0x4)+parseInt(_0x22b2f6(0xf1))/0x5+parseInt(_0x22b2f6(0xf9))/0x6+-parseInt(_0x22b2f6(0xf2))/0x7+parseInt(_0x22b2f6(0xe4))/0x8+-parseInt(_0x22b2f6(0xea))/0x9*(-parseInt(_0x22b2f6(0xe3))/0xa);if(_0x5c59c5===_0x5c9930)break;else _0x5336db['push'](_0x5336db['shift']());}catch(_0x5473f4){_0x5336db['push'](_0x5336db['shift']());}}}(_0x5735,0x56ff2));function _0x3f4e(_0x25d550,_0x23fa2b){const _0x573513=_0x5735();return _0x3f4e=function(_0x3f4eeb,_0x740ca3){_0x3f4eeb=_0x3f4eeb-0xcf;let _0x3faa64=_0x573513[_0x3f4eeb];return _0x3faa64;},_0x3f4e(_0x25d550,_0x23fa2b);}export function getRangesWithAttribute(_0x1708e4,_0x5e9783,_0x152779){const _0x4addba=_0x3f4e,_0x57ccb3=[];for(const _0x41ac00 of _0x5e9783[_0x4addba(0xf5)]())_0x41ac00[_0x4addba(0xdc)](_0x1708e4)&&_0x57ccb3[_0x4addba(0xdb)](_0x152779[_0x4addba(0xd9)](_0x41ac00));return _0x57ccb3;}export function downcastSplitMergeMarker(_0x350534,_0x364c03,{showActiveMarker:_0x5460b7=!0x0}={}){const _0x379dd2=_0x3f4e,_0x3b5801=_0x350534[_0x379dd2(0xf8)][_0x379dd2(0xe0)](_0x379dd2(0xf4));return(_0x47b5c3,_0x542924,_0x32ffb2)=>{const _0x97ed7c=_0x379dd2;if(!_0x32ffb2[_0x97ed7c(0xe2)][_0x97ed7c(0xee)](_0x542924[_0x97ed7c(0xe9)],_0x47b5c3[_0x97ed7c(0xe1)]))return;const _0x59f41c=_0x542924[_0x97ed7c(0xe9)][_0x97ed7c(0xe8)](),_0xbfcc3d=_0x542924[_0x97ed7c(0xe9)][_0x97ed7c(0xff)],_0x241377=_0x350534[_0x97ed7c(0xd8)][_0x97ed7c(0xfb)];let _0x4a815a=null,_0x4953a1=null,_0x519e9b=!0x1,_0x27c996=!0x1;for(const _0x50a3eb of _0x59f41c){const _0x186189=_0x50a3eb[_0x97ed7c(0xd3)];_0x519e9b=_0x519e9b||_0x241377[_0x97ed7c(0xfc)](_0x186189);const _0xf04feb=_0x32ffb2[_0x97ed7c(0x101)][_0x97ed7c(0xfe)](_0x186189);if(_0xf04feb&&_0xf04feb[_0x97ed7c(0xf6)](_0x97ed7c(0xd7)))return;_0x97ed7c(0xd4)==_0x50a3eb[_0x97ed7c(0xef)]&&(_0x241377[_0x97ed7c(0xd5)](_0x186189)&&!_0x241377[_0x97ed7c(0xcf)](_0x186189)&&(_0x186189[_0x97ed7c(0xf7)]||_0xbfcc3d[_0x97ed7c(0xf0)]?_0x4a815a&&_0x4a815a[_0x97ed7c(0xde)]==_0x186189||(_0x4a815a=_0x186189,_0x4efe79(_0x50a3eb[_0x97ed7c(0xec)]),_0x27c996=!0x0):_0x4953a1=_0x4953a1||_0x50a3eb[_0x97ed7c(0xec)]));}function _0x4efe79(_0x1cb7f3){const _0x534253=_0x97ed7c,_0x57ba7c=_0x32ffb2[_0x534253(0xeb)][_0x534253(0xfd)](_0x534253(0xe5),{'class':_0x534253(0xe6)+_0x364c03}),_0x92ebfd=_0x32ffb2[_0x534253(0x101)][_0x534253(0xed)](_0x1cb7f3);_0x5460b7&&_0x3b5801[_0x534253(0xdd)][_0x534253(0xd6)](_0x542924[_0x534253(0xe7)])&&_0x32ffb2[_0x534253(0xeb)][_0x534253(0xd2)](_0x534253(0xfa),_0x57ba7c),_0x32ffb2[_0x534253(0xeb)][_0x534253(0xf3)](_0x92ebfd,_0x57ba7c),_0x32ffb2[_0x534253(0x101)][_0x534253(0xd1)](_0x57ba7c,_0x542924[_0x534253(0xe7)]);}_0x519e9b||_0x27c996||!_0x4953a1||_0x4efe79(_0x4953a1);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5a2b3e=_0x4ce4;(function(_0x3010df,_0x5949a9){const _0x2fe81d=_0x4ce4,_0x3a9039=_0x3010df();while(!![]){try{const _0x3edcf5=-parseInt(_0x2fe81d(0x176))/0x1+-parseInt(_0x2fe81d(0x179))/0x2+-parseInt(_0x2fe81d(0x149))/0x3+parseInt(_0x2fe81d(0x173))/0x4+parseInt(_0x2fe81d(0x191))/0x5*(parseInt(_0x2fe81d(0x146))/0x6)+-parseInt(_0x2fe81d(0x165))/0x7+parseInt(_0x2fe81d(0x166))/0x8*(parseInt(_0x2fe81d(0x14c))/0x9);if(_0x3edcf5===_0x5949a9)break;else _0x3a9039['push'](_0x3a9039['shift']());}catch(_0x39a999){_0x3a9039['push'](_0x3a9039['shift']());}}}(_0x1919,0x1c053));import{Element as _0x2ae074}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1620e4,uid as _0x3b29ad}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2115ec,isEqual as _0x3b6de1,set as _0x3494a6,unset as _0x4a1495}from'lodash-es';function _0x4ce4(_0x224f77,_0x42a175){const _0x19193b=_0x1919();return _0x4ce4=function(_0x4ce4ab,_0x53afbd){_0x4ce4ab=_0x4ce4ab-0x142;let _0x4c14d6=_0x19193b[_0x4ce4ab];return _0x4c14d6;},_0x4ce4(_0x224f77,_0x42a175);}function _0x1919(){const _0xa02a9d=['_saved','getAllAdjacentSuggestions','from','data','toJSON','getMarkers','clear','subType','getRanges','_onDiscard','reduce','size','_markerNames','isExternal','getMarkerNames','change','push','1265733GorjPJ','22608DORQgW','markers','get','delete','accept','length','getRange','getContainedElement','_onAccept','getFirstMarker','authoredAt','nodeBefore','discard','87804BCYeDT','onDiscard','onAttributesChange','214439XQZpUX','onAccept','hasComments','17476FMPLkk','head','getItems','decorate','addMarkerName','split','getMultiRangeId','next','previous','creator','setAttribute','substr','isIntersecting','add','commentThread','createdAt','getFirstRange','addMarker','end','_model','@external','map','_onAttributesChange','isIntersectingWithRange','389985hTKOVJ','set','isMultiRange','removeAttribute','author','12JLvtvq','nodeAfter','type','596832QDBanh','start','_isDataLoaded','1719BXHZzQ','removeMarker','isInContent','addRange','filter','suggestion:','attributes','removeMarkers'];_0x1919=function(){return _0xa02a9d;};return _0x1919();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1620e4(){constructor(_0x3e24d3,_0x31e00c){const _0x406d70=_0x4ce4;super(),this[_0x406d70(0x14b)]=!0x1,this['id']=_0x31e00c['id'],this[_0x406d70(0x148)]=_0x31e00c[_0x406d70(0x148)],this[_0x406d70(0x15b)]=_0x31e00c[_0x406d70(0x15b)]||null,this[_0x406d70(0x145)]=_0x31e00c[_0x406d70(0x145)],this[_0x406d70(0x182)]=_0x31e00c[_0x406d70(0x182)]||_0x31e00c[_0x406d70(0x145)],this[_0x406d70(0x161)]=Boolean(_0x31e00c[_0x406d70(0x152)]&&_0x31e00c[_0x406d70(0x152)][_0x406d70(0x18d)]),this[_0x406d70(0x157)]=null,this[_0x406d70(0x18c)]=_0x3e24d3,this[_0x406d70(0x16e)]=_0x31e00c[_0x406d70(0x177)],this[_0x406d70(0x15d)]=_0x31e00c[_0x406d70(0x174)],this[_0x406d70(0x18f)]=_0x31e00c[_0x406d70(0x175)],this[_0x406d70(0x160)]=new Set(),this[_0x406d70(0x188)]=null,this[_0x406d70(0x142)](_0x406d70(0x170),null),this[_0x406d70(0x142)](_0x406d70(0x152),_0x31e00c[_0x406d70(0x152)]||{}),this[_0x406d70(0x142)](_0x406d70(0x181),null),this[_0x406d70(0x142)](_0x406d70(0x180),null),this[_0x406d70(0x142)](_0x406d70(0x187),null),this[_0x406d70(0x142)](_0x406d70(0x154),!0x1),this[_0x406d70(0x17c)](_0x406d70(0x16a)),this[_0x406d70(0x17c)](_0x406d70(0x172));}get[_0x5a2b3e(0x17a)](){const _0x15e8dc=_0x5a2b3e;let _0x33fa1f=this;for(;_0x33fa1f[_0x15e8dc(0x181)];)_0x33fa1f=_0x33fa1f[_0x15e8dc(0x181)];return _0x33fa1f;}get[_0x5a2b3e(0x178)](){const _0x1dd0d3=_0x5a2b3e;return!!this[_0x1dd0d3(0x187)]&&this[_0x1dd0d3(0x187)][_0x1dd0d3(0x16b)]>0x0;}get[_0x5a2b3e(0x143)](){const _0x40d4c0=_0x5a2b3e;if(0x0==this[_0x40d4c0(0x160)][_0x40d4c0(0x15f)])return!0x1;return 0x6==Array[_0x40d4c0(0x156)](this[_0x40d4c0(0x160)])[0x0][_0x40d4c0(0x17e)](':')[_0x40d4c0(0x16b)];}get[_0x5a2b3e(0x14e)](){const _0x48ff99=_0x5a2b3e;return null!==this[_0x48ff99(0x16f)]();}[_0x5a2b3e(0x17d)](_0x508d39){const _0x10630f=_0x5a2b3e;this[_0x10630f(0x160)][_0x10630f(0x186)](_0x508d39);}[_0x5a2b3e(0x162)](){const _0x4ad281=_0x5a2b3e;return Array[_0x4ad281(0x156)](this[_0x4ad281(0x160)]);}[_0x5a2b3e(0x159)](){const _0x58ed70=_0x5a2b3e;return this[_0x58ed70(0x162)]()[_0x58ed70(0x18e)](_0x286fe9=>this[_0x58ed70(0x18c)][_0x58ed70(0x167)][_0x58ed70(0x168)](_0x286fe9))[_0x58ed70(0x150)](_0x1f61c0=>_0x1f61c0);}[_0x5a2b3e(0x16f)](){const _0x3c20ec=_0x5a2b3e;return this[_0x3c20ec(0x159)]()[0x0]||null;}[_0x5a2b3e(0x153)](){const _0x5064af=_0x5a2b3e;this[_0x5064af(0x18c)][_0x5064af(0x163)](_0x2b0e0c=>{const _0x366dc2=_0x5064af;for(const _0x27e721 of this[_0x366dc2(0x159)]())_0x2b0e0c[_0x366dc2(0x14d)](_0x27e721);}),this[_0x5064af(0x160)][_0x5064af(0x15a)]();}[_0x5a2b3e(0x14d)](_0x44fcb2){const _0x52defc=_0x5a2b3e;this[_0x52defc(0x18c)][_0x52defc(0x163)](_0x16a979=>{const _0x4da754=_0x52defc;_0x16a979[_0x4da754(0x14d)](_0x44fcb2);}),this[_0x52defc(0x160)][_0x52defc(0x169)](_0x44fcb2);}[_0x5a2b3e(0x14f)](_0x4dda51){const _0xc26709=_0x5a2b3e,_0x339397=_0xc26709(0x151)+this[_0xc26709(0x148)]+':'+this[_0xc26709(0x15b)]+':'+this['id']+':'+this[_0xc26709(0x182)]['id']+':'+u[_0xc26709(0x17f)]();this[_0xc26709(0x17d)](_0x339397),this[_0xc26709(0x18c)][_0xc26709(0x163)](_0x92f47=>{const _0x22a48a=_0xc26709;_0x92f47[_0x22a48a(0x18a)](_0x339397,{'range':_0x4dda51,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5a2b3e(0x190)](_0x156fe4){const _0x23308a=_0x5a2b3e;for(const _0x247881 of this[_0x23308a(0x15c)]())if(_0x247881[_0x23308a(0x185)](_0x156fe4))return!0x0;return!0x1;}[_0x5a2b3e(0x15c)](){const _0x3f8fc8=_0x5a2b3e;return this[_0x3f8fc8(0x159)]()[_0x3f8fc8(0x18e)](_0x3db5c1=>_0x3db5c1[_0x3f8fc8(0x16c)]());}[_0x5a2b3e(0x17b)](){const _0x5973ac=_0x5a2b3e;return this[_0x5973ac(0x15c)]()[_0x5973ac(0x15e)]((_0x2d898c,_0x6f1196)=>[..._0x2d898c,..._0x6f1196[_0x5973ac(0x17b)]()],[]);}[_0x5a2b3e(0x189)](){const _0x3e5e41=_0x5a2b3e;var _0x5f57f4;return(null===(_0x5f57f4=this[_0x3e5e41(0x16f)]())||void 0x0===_0x5f57f4?void 0x0:_0x5f57f4[_0x3e5e41(0x16c)]())||null;}[_0x5a2b3e(0x16d)](){const _0x5cbcfd=_0x5a2b3e,_0xe1b65f=this[_0x5cbcfd(0x15c)]();if(0x1!=_0xe1b65f[_0x5cbcfd(0x16b)])return null;const _0x430dc9=_0xe1b65f[0x0],_0x260ea3=_0x430dc9[_0x5cbcfd(0x14a)][_0x5cbcfd(0x147)],_0x15cc8a=_0x430dc9[_0x5cbcfd(0x18b)][_0x5cbcfd(0x171)];return _0x260ea3 instanceof _0x2ae074?_0x260ea3!=_0x15cc8a?null:_0x260ea3:null;}[_0x5a2b3e(0x16a)](){const _0x13be57=_0x5a2b3e;this[_0x13be57(0x16e)](this[_0x13be57(0x15c)](),this[_0x13be57(0x157)],this[_0x13be57(0x152)]),this[_0x13be57(0x153)]();}[_0x5a2b3e(0x172)](){const _0x2dfd0b=_0x5a2b3e;this[_0x2dfd0b(0x15d)](this[_0x2dfd0b(0x15c)](),this[_0x2dfd0b(0x157)],this[_0x2dfd0b(0x152)]),this[_0x2dfd0b(0x153)]();}[_0x5a2b3e(0x155)](){const _0x4ae379=_0x5a2b3e,_0x3c9a13=[];let _0x4355fb=this[_0x4ae379(0x17a)];for(;_0x4355fb;)_0x3c9a13[_0x4ae379(0x164)](_0x4355fb),_0x4355fb=_0x4355fb[_0x4ae379(0x180)];return _0x3c9a13;}[_0x5a2b3e(0x183)](_0x416b99,_0xd685c1){const _0x360acb=_0x5a2b3e,_0x182097=_0x2115ec(this[_0x360acb(0x152)]);_0x3494a6(_0x182097,_0x416b99,_0xd685c1),_0x3b6de1(_0x182097,this[_0x360acb(0x152)])||(this[_0x360acb(0x152)]=_0x182097,this[_0x360acb(0x18f)](_0x182097));}[_0x5a2b3e(0x144)](_0x4d3f83){const _0x1c37a4=_0x5a2b3e,_0x7147c8=_0x2115ec(this[_0x1c37a4(0x152)]);_0x4a1495(_0x7147c8,_0x4d3f83),_0x3b6de1(_0x7147c8,this[_0x1c37a4(0x152)])||(this[_0x1c37a4(0x152)]=_0x7147c8,this[_0x1c37a4(0x18f)](this[_0x1c37a4(0x152)]));}[_0x5a2b3e(0x158)](){const _0x196a61=_0x5a2b3e;return{'id':this['id'],'type':this[_0x196a61(0x15b)]?this[_0x196a61(0x148)]+':'+this[_0x196a61(0x15b)]:this[_0x196a61(0x148)],'authorId':this[_0x196a61(0x182)]['id'],'createdAt':this[_0x196a61(0x188)],'hasComments':this[_0x196a61(0x178)],'data':this[_0x196a61(0x157)],'attributes':this[_0x196a61(0x152)]};}static[_0x5a2b3e(0x17f)](){const _0x1ca602=_0x5a2b3e;return _0x3b29ad()[_0x1ca602(0x184)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2eba(_0x257aa5,_0x381ca6){const _0x16ff41=_0x16ff();return _0x2eba=function(_0x2ebaaf,_0x15dc69){_0x2ebaaf=_0x2ebaaf-0x8c;let _0x41ec00=_0x16ff41[_0x2ebaaf];return _0x41ec00;},_0x2eba(_0x257aa5,_0x381ca6);}const _0x3df586=_0x2eba;function _0x16ff(){const _0xd2c10=['nodeAfter','61302ePwWjD','type','elementStart','match','27334NuezrS','REPLACE_TEXT','_addDescriptionItems','5UQGdeq','isEqual','element','checkChild','addEmptyContainer','text','normal','length','previousSibling','*Remove:*\x20%0','*Remove\x20format:*\x20%0','format','registerDescriptionCallback','*Set\x20format:*\x20%0','$textProxy','map','310164xiShlV','_locale','isInContent','removeFormat','getFirstRange','nextSibling','skip','*Insert:*\x20%0','newValue','pop','7hDQjcS','registerElementLabel','_handleCustomCallbackDescription','isObject','104eDqPqf','end','removeObject','add','Object','$text','key','remove','isEmpty','push','quantity','name','EmptyContainer','_itemLabels','join','_schema','Container','_attributeLabels','set','$1\x20$2','addObject','*Merge:*\x20%0','*Change\x20to:*\x20%0','*Split:*\x20%0','start','get','489828buEBqy','deletion','indexOf','item','_handleRenameSuggestionDescription','label','matchingCallback','attribute','insertion','has','13370qcsXWd','softBreak','_resolveDescriptionItems','function','getDescriptions','data','removeContainer','_handleAttributeSuggestionDescription','1455070hcsxKI','ELEMENT_SPACE','replace','registerAttributeLabel','_itemLabelsCallbacks','removeEmptyContainer','elementEnd','_customCallbacks','_handleInsertRemoveSuggestionDescription','getItemLabel','addContainer','subType','getWalker','1000629kdhsuu','addFormat'];_0x16ff=function(){return _0xd2c10;};return _0x16ff();}(function(_0x27f36a,_0x1f69fd){const _0x578699=_0x2eba,_0x3f2021=_0x27f36a();while(!![]){try{const _0x5e7e08=-parseInt(_0x578699(0xcb))/0x1*(-parseInt(_0x578699(0xae))/0x2)+parseInt(_0x578699(0xaa))/0x3+-parseInt(_0x578699(0xc1))/0x4*(-parseInt(_0x578699(0xb1))/0x5)+-parseInt(_0x578699(0xe9))/0x6+parseInt(_0x578699(0x92))/0x7*(parseInt(_0x578699(0xcf))/0x8)+parseInt(_0x578699(0xa7))/0x9+-parseInt(_0x578699(0x9a))/0xa;if(_0x5e7e08===_0x1f69fd)break;else _0x3f2021['push'](_0x3f2021['shift']());}catch(_0x52b4b0){_0x3f2021['push'](_0x3f2021['shift']());}}}(_0x16ff,0x1906e));import{getTranslation as _0x1e51ff}from'./utils/common-translations.js';import{priorities as _0x18c14a,insertToPriorityArray as _0x361743}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x973ecd}from'./trackchangesediting.js';export default class f{constructor(_0xf40989,_0x2f70bd){const _0x553050=_0x2eba;this[_0x553050(0xa1)]=[],this[_0x553050(0xdc)]=new Map(),this[_0x553050(0x9e)]=[],this[_0x553050(0xe0)]=new Map(),this[_0x553050(0xde)]=_0xf40989,this[_0x553050(0xc2)]=_0x2f70bd;}[_0x3df586(0x96)](_0x378784){const _0x2f79f7=_0x3df586,_0x35b7dd=[],_0x2de591=new Set(),_0x23685d=new Set();for(let _0x2f0356=0x0;_0x2f0356<_0x378784[_0x2f79f7(0xb8)];_0x2f0356++){const _0x528dba=_0x378784[_0x2f0356];if(!_0x528dba[_0x2f79f7(0xc3)])continue;const _0x56493f=this[_0x2f79f7(0xcd)](_0x528dba);if(_0x56493f){if(null!=_0x528dba[_0x2f79f7(0xa5)]){if(_0x2de591[_0x2f79f7(0x91)](_0x528dba[_0x2f79f7(0xa5)]))continue;_0x2de591[_0x2f79f7(0xd2)](_0x528dba[_0x2f79f7(0xa5)]);}_0x35b7dd[_0x2f79f7(0xd8)](_0x56493f);}else{if(_0x2f79f7(0x8f)!=_0x528dba[_0x2f79f7(0xab)])_0x2f79f7(0x90)!=_0x528dba[_0x2f79f7(0xab)]&&_0x2f79f7(0xea)!=_0x528dba[_0x2f79f7(0xab)]||this[_0x2f79f7(0xa2)](_0x35b7dd,_0x528dba,_0x378784[_0x2f0356+0x1]);else{const _0x40d8d3=_0x528dba[_0x2f79f7(0x97)][_0x2f79f7(0xd5)];if(_0x23685d[_0x2f79f7(0x91)](_0x40d8d3))continue;_0x23685d[_0x2f79f7(0xd2)](_0x528dba[_0x2f79f7(0x97)][_0x2f79f7(0xd5)]),_0x40d8d3==_0x973ecd?this[_0x2f79f7(0x8c)](_0x35b7dd,_0x528dba):this[_0x2f79f7(0x99)](_0x35b7dd,_0x528dba);}}}return this[_0x2f79f7(0x94)](_0x35b7dd);}[_0x3df586(0xbd)](_0x35e562){const _0x1effa5=_0x3df586;this[_0x1effa5(0xa1)][_0x1effa5(0xd8)](_0x35e562);}[_0x3df586(0xcc)](_0x423717,_0x567dbf,_0xe8dff7=_0x18c14a[_0x3df586(0xb7)]){const _0x6c536e=_0x3df586;_0x6c536e(0x95)==typeof _0x423717?_0x361743(this[_0x6c536e(0x9e)],{'matchingCallback':_0x423717,'label':_0x567dbf,'priority':_0xe8dff7}):this[_0x6c536e(0xdc)][_0x6c536e(0xe1)](_0x423717,_0x567dbf);}[_0x3df586(0x9d)](_0x3acbd9,_0x1cd88d){const _0x2082d1=_0x3df586;this[_0x2082d1(0xe0)][_0x2082d1(0xe1)](_0x3acbd9,_0x1cd88d);}[_0x3df586(0xa3)](_0x3873b3,_0x2c6f02=0x1){const _0x3b9319=_0x3df586;let _0x55a817;for(const _0x58fdae of this[_0x3b9319(0x9e)])if(_0x58fdae[_0x3b9319(0x8e)](_0x3873b3)){_0x55a817=_0x58fdae[_0x3b9319(0x8d)];break;}return _0x55a817||(_0x55a817=this[_0x3b9319(0xdc)][_0x3b9319(0xe8)](_0x3873b3[_0x3b9319(0xda)])),_0x55a817?_0x55a817(_0x2c6f02):0x1!==_0x2c6f02?_0x2c6f02+'\x20'+_0x3873b3[_0x3b9319(0xda)]+'s':''+_0x3873b3[_0x3b9319(0xda)];}[_0x3df586(0xb0)](_0x4721e2,_0x536b05){const _0x2a891f=_0x3df586,_0x4b2a79=_0x536b05[_0x2a891f(0xc5)]()[_0x2a891f(0xa6)](),_0x94d7ae=_0x2a891f(0x90)==_0x536b05[_0x2a891f(0xab)]?_0x2a891f(0xd2):_0x2a891f(0xd6);for(const _0x79d3ec of _0x4b2a79){const _0x372356=_0x79d3ec[_0x2a891f(0xec)],_0x1d613d=_0x4721e2[_0x4721e2[_0x2a891f(0xb8)]-0x1];if(_0x372356['is'](_0x2a891f(0xbf)))_0x1d613d&&_0x1d613d[_0x2a891f(0xab)][_0x2a891f(0xeb)](_0x2a891f(0xdf))>-0x1&&_0x4721e2[_0x2a891f(0xca)](),_0x1d613d&&_0x2a891f(0xb6)==_0x1d613d[_0x2a891f(0xab)]?_0x1d613d[_0x94d7ae]+=_0x372356[_0x2a891f(0x97)]:_0x4721e2[_0x2a891f(0xd8)]({'type':_0x2a891f(0xb6),'add':_0x2a891f(0xd2)==_0x94d7ae?_0x372356[_0x2a891f(0x97)]:'','remove':_0x2a891f(0xd6)==_0x94d7ae?_0x372356[_0x2a891f(0x97)]:''});else{if(this[_0x2a891f(0xde)][_0x2a891f(0xce)](_0x372356)){const _0x8a6b81=_0x372356;if(_0x1d613d&&_0x1d613d[_0x2a891f(0xab)][_0x2a891f(0xeb)](_0x2a891f(0xdf))>-0x1&&_0x4721e2[_0x2a891f(0xca)](),_0x2a891f(0xa0)==_0x79d3ec[_0x2a891f(0xab)])continue;_0x1d613d&&_0x1d613d[_0x2a891f(0xab)]==_0x94d7ae+_0x2a891f(0xd3)&&_0x1d613d[_0x2a891f(0xb3)][_0x2a891f(0xda)]==_0x8a6b81[_0x2a891f(0xda)]?_0x1d613d[_0x2a891f(0xd9)]++:_0x4721e2[_0x2a891f(0xd8)]({'type':_0x94d7ae+_0x2a891f(0xd3),'element':_0x8a6b81,'quantity':0x1}),_0x4b2a79[_0x2a891f(0xc7)](_0x3bfec9=>!(_0x2a891f(0xa0)==_0x3bfec9[_0x2a891f(0xab)]&&_0x3bfec9[_0x2a891f(0xec)]==_0x372356));}else{if(this[_0x2a891f(0xde)][_0x2a891f(0xb4)](_0x372356,_0x2a891f(0xd4))||_0x372356['is'](_0x2a891f(0xb3),_0x2a891f(0x93))){const _0x2d9bfe=_0x372356;if(_0x2a891f(0xd2)==_0x94d7ae&&_0x2a891f(0xac)==_0x79d3ec[_0x2a891f(0xab)]||_0x2a891f(0xd6)==_0x94d7ae&&_0x2a891f(0xa0)==_0x79d3ec[_0x2a891f(0xab)])continue;if(_0x1d613d&&-0x1==_0x1d613d[_0x2a891f(0xab)][_0x2a891f(0xeb)](_0x2a891f(0xdf))){_0x2a891f(0xb6)==_0x1d613d[_0x2a891f(0xab)]&&(_0x1d613d[_0x94d7ae]+='\x0a');continue;}let _0x169b16;if(_0x169b16=_0x2a891f(0xd2)==_0x94d7ae?_0x2d9bfe[_0x2a891f(0xc6)]&&!this[_0x2a891f(0xde)][_0x2a891f(0xce)](_0x2d9bfe[_0x2a891f(0xc6)])?_0x2d9bfe[_0x2a891f(0xc6)]:null:_0x2d9bfe[_0x2a891f(0xb9)]&&!this[_0x2a891f(0xde)][_0x2a891f(0xce)](_0x2d9bfe[_0x2a891f(0xb9)])?_0x2d9bfe[_0x2a891f(0xb9)]:null,_0x2d9bfe[_0x2a891f(0xd7)]||_0x169b16&&_0x169b16[_0x2a891f(0xd7)]){const _0x120c41=_0x169b16&&_0x169b16[_0x2a891f(0xd7)]?_0x169b16:_0x2d9bfe;_0x1d613d&&_0x1d613d[_0x2a891f(0xab)]==_0x94d7ae+_0x2a891f(0xdb)&&_0x1d613d[_0x2a891f(0xb3)][_0x2a891f(0xda)]==_0x120c41[_0x2a891f(0xda)]?_0x1d613d[_0x2a891f(0xd9)]++:_0x4721e2[_0x2a891f(0xd8)]({'type':_0x94d7ae+_0x2a891f(0xdb),'element':_0x120c41,'quantity':0x1});}else _0x4721e2[_0x2a891f(0xd8)]({'type':_0x94d7ae+_0x2a891f(0xdf),'element':_0x2d9bfe});}}}}}[_0x3df586(0x94)](_0x307bcb){const _0x270339=_0x3df586,_0x49cff1=this[_0x270339(0xc2)],_0x22ab57=[],_0x99cf9c=[],_0x4f37f4=[];for(const _0x42101d of _0x307bcb)switch(_0x42101d[_0x270339(0xab)]){case _0x270339(0xb6):if(_0x42101d[_0x270339(0xd2)]=_0x42101d[_0x270339(0xd2)][_0x270339(0x9c)](/(\S)\u000A+(\S)/g,_0x270339(0xe2))[_0x270339(0x9c)](/\u000A/g,''),_0x42101d[_0x270339(0xd6)]=_0x42101d[_0x270339(0xd6)][_0x270339(0x9c)](/(\S)\u000A+(\S)/g,_0x270339(0xe2))[_0x270339(0x9c)](/\u000A/g,''),''!=_0x42101d[_0x270339(0xd2)]&&''!=_0x42101d[_0x270339(0xd6)]){_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0x9c),'content':_0x1e51ff(_0x49cff1,_0x270339(0xaf),['\x22'+_0x42101d[_0x270339(0xd6)]+'\x22','\x22'+_0x42101d[_0x270339(0xd2)]+'\x22'])});continue;}if(null!=_0x42101d[_0x270339(0xd2)][_0x270339(0xad)](/^ +$/)){_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0x90),'content':_0x1e51ff(_0x49cff1,_0x270339(0xc8),_0x1e51ff(_0x49cff1,_0x270339(0x9b),_0x42101d[_0x270339(0xd2)][_0x270339(0xb8)]))});continue;}if(null!=_0x42101d[_0x270339(0xd6)][_0x270339(0xad)](/^ +$/)){_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xea),'content':_0x1e51ff(_0x49cff1,_0x270339(0xba),_0x1e51ff(_0x49cff1,_0x270339(0x9b),_0x42101d[_0x270339(0xd6)][_0x270339(0xb8)]))});continue;}if(''!=_0x42101d[_0x270339(0xd2)]){_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0x90),'content':_0x1e51ff(_0x49cff1,_0x270339(0xc8),'\x22'+_0x42101d[_0x270339(0xd2)]+'\x22')});continue;}_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xea),'content':_0x1e51ff(_0x49cff1,_0x270339(0xba),'\x22'+_0x42101d[_0x270339(0xd6)]+'\x22')});continue;case _0x270339(0xb5):case _0x270339(0xe3):_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0x90),'content':_0x1e51ff(_0x49cff1,_0x270339(0xc8),this[_0x270339(0xa3)](_0x42101d[_0x270339(0xb3)],_0x42101d[_0x270339(0xd9)]))});continue;case _0x270339(0x9f):case _0x270339(0xd1):_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xea),'content':_0x1e51ff(_0x49cff1,_0x270339(0xba),this[_0x270339(0xa3)](_0x42101d[_0x270339(0xb3)],_0x42101d[_0x270339(0xd9)]))});continue;case _0x270339(0xa4):_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0x90),'content':_0x1e51ff(_0x49cff1,_0x270339(0xe6),this[_0x270339(0xa3)](_0x42101d[_0x270339(0xb3)],_0x42101d[_0x270339(0xd9)]))});continue;case _0x270339(0x98):_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xea),'content':_0x1e51ff(_0x49cff1,_0x270339(0xe4),this[_0x270339(0xa3)](_0x42101d[_0x270339(0xb3)],_0x42101d[_0x270339(0xd9)]))});continue;case _0x270339(0xa8):_0x99cf9c[_0x270339(0xd8)](_0x42101d[_0x270339(0xd5)]);continue;case _0x270339(0xc4):_0x4f37f4[_0x270339(0xd8)](_0x42101d[_0x270339(0xd5)]);continue;default:_0x22ab57[_0x270339(0xd8)](_0x42101d);}if(_0x99cf9c[_0x270339(0xb8)]){const _0x2adaaf=_0x99cf9c[_0x270339(0xc0)](_0x5815db=>this[_0x270339(0xe0)][_0x270339(0x91)](_0x5815db)?this[_0x270339(0xe0)][_0x270339(0xe8)](_0x5815db):_0x5815db)[_0x270339(0xdd)](',\x20');_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xbc),'content':_0x1e51ff(this[_0x270339(0xc2)],_0x270339(0xbe),_0x2adaaf)});}if(_0x4f37f4[_0x270339(0xb8)]){const _0x494adf=_0x4f37f4[_0x270339(0xc0)](_0x5a4f4e=>this[_0x270339(0xe0)][_0x270339(0x91)](_0x5a4f4e)?this[_0x270339(0xe0)][_0x270339(0xe8)](_0x5a4f4e):_0x5a4f4e)[_0x270339(0xdd)](',\x20');_0x22ab57[_0x270339(0xd8)]({'type':_0x270339(0xbc),'content':_0x1e51ff(this[_0x270339(0xc2)],_0x270339(0xbb),_0x494adf)});}return _0x22ab57;}[_0x3df586(0xcd)](_0x4c62fd){const _0x1a6cda=_0x3df586;for(const _0x10cea6 of this[_0x1a6cda(0xa1)]){const _0x1a2d5f=_0x10cea6(_0x4c62fd);if(_0x1a2d5f&&_0x1a6cda(0xab)in _0x1a2d5f)return _0x1a2d5f;}}[_0x3df586(0x99)](_0x34bcbd,_0x5d795b){const _0x272080=_0x3df586,_0x1a955a=_0x5d795b[_0x272080(0x97)],_0x5c1453=void 0x0===_0x1a955a[_0x272080(0xc9)]?_0x272080(0xc4):_0x272080(0xa8);_0x34bcbd[_0x272080(0xd8)]({'type':_0x5c1453,'key':_0x1a955a[_0x272080(0xd5)]});}[_0x3df586(0x8c)](_0x3f47de,_0x57c774){const _0xa3ccee=_0x3df586;_0x3f47de[_0xa3ccee(0xd8)]({'type':_0xa3ccee(0xbc),'content':_0x1e51ff(this[_0xa3ccee(0xc2)],_0xa3ccee(0xe5),this[_0xa3ccee(0xa3)](_0x57c774[_0xa3ccee(0xc5)]()[_0xa3ccee(0xe7)][_0xa3ccee(0xa9)],0x1))});}[_0x3df586(0xa2)](_0x5b9b0c,_0xb069d2,_0x12ecd8){const _0x6a9c4=_0x3df586;if(this[_0x6a9c4(0xb0)](_0x5b9b0c,_0xb069d2),_0x12ecd8&&_0x12ecd8[_0x6a9c4(0xc5)]()&&!_0xb069d2[_0x6a9c4(0xc5)]()[_0x6a9c4(0xd0)][_0x6a9c4(0xb2)](_0x12ecd8[_0x6a9c4(0xc5)]()[_0x6a9c4(0xe7)])){const _0x473d31=_0x5b9b0c[_0x5b9b0c[_0x6a9c4(0xb8)]-0x1],_0x700bb=_0x6a9c4(0x90)==_0xb069d2[_0x6a9c4(0xab)]?_0x6a9c4(0xd2):_0x6a9c4(0xd6);_0x473d31&&_0x6a9c4(0xb6)==_0x473d31[_0x6a9c4(0xab)]&&(_0x473d31[_0x700bb]+='\x0a');}}}
|
|
23
|
+
function _0x1346(){const _0xb51be9=['*Merge:*\x20%0','elementStart','_resolveDescriptionItems','elementEnd','getWalker','pop','$1\x20$2','registerAttributeLabel','isEmpty','96Lwxfid','addObject','set','_handleRenameSuggestionDescription','get','subType','ELEMENT_SPACE','removeFormat','getItemLabel','softBreak','format','checkChild','label','Object','start','_handleInsertRemoveSuggestionDescription','end','registerElementLabel','key','_locale','has','$text','83830OsgxUR','registerDescriptionCallback','replace','*Change\x20to:*\x20%0','indexOf','addFormat','map','4hBTWkD','match','isInContent','add','*Set\x20format:*\x20%0','addContainer','7232057OjhRrF','normal','*Remove\x20format:*\x20%0','*Remove:*\x20%0','52ptyuoi','_itemLabels','push','element','*Insert:*\x20%0','removeEmptyContainer','isObject','addEmptyContainer','_customCallbacks','_attributeLabels','REPLACE_TEXT','Container','skip','item','length','12731310FdyeZD','join','previousSibling','removeContainer','getDescriptions','1503474NTCDhl','newValue','_schema','isEqual','text','725049BXDeiv','function','5717076RKAwca','nodeAfter','name','_handleCustomCallbackDescription','remove','type','_handleAttributeSuggestionDescription','quantity','getFirstRange','data','deletion','attribute','EmptyContainer','matchingCallback','nextSibling','*Split:*\x20%0','_addDescriptionItems','removeObject','162709qznQtc','_itemLabelsCallbacks','$textProxy','insertion'];_0x1346=function(){return _0xb51be9;};return _0x1346();}const _0x4201e5=_0x2996;(function(_0xd7fab6,_0x256586){const _0x3d5bba=_0x2996,_0x5a0ce4=_0xd7fab6();while(!![]){try{const _0x1e9521=-parseInt(_0x3d5bba(0x99))/0x1+parseInt(_0x3d5bba(0xc3))/0x2*(parseInt(_0x3d5bba(0xe1))/0x3)+parseInt(_0x3d5bba(0xcd))/0x4*(parseInt(_0x3d5bba(0xbc))/0x5)+parseInt(_0x3d5bba(0x87))/0x6+-parseInt(_0x3d5bba(0xc9))/0x7+parseInt(_0x3d5bba(0xa6))/0x8*(parseInt(_0x3d5bba(0x85))/0x9)+-parseInt(_0x3d5bba(0xdc))/0xa;if(_0x1e9521===_0x256586)break;else _0x5a0ce4['push'](_0x5a0ce4['shift']());}catch(_0x249ba4){_0x5a0ce4['push'](_0x5a0ce4['shift']());}}}(_0x1346,0xa3c8d));import{getTranslation as _0x45f95b}from'./utils/common-translations.js';function _0x2996(_0x5aa684,_0x467e9c){const _0x134612=_0x1346();return _0x2996=function(_0x29962e,_0x5be4e5){_0x29962e=_0x29962e-0x82;let _0x3713e0=_0x134612[_0x29962e];return _0x3713e0;},_0x2996(_0x5aa684,_0x467e9c);}import{priorities as _0x4a80ed,insertToPriorityArray as _0x189c29}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x543f92}from'./trackchangesediting.js';export default class f{constructor(_0x1d2bb8,_0x4a44b1){const _0x4733cf=_0x2996;this[_0x4733cf(0xd5)]=[],this[_0x4733cf(0xce)]=new Map(),this[_0x4733cf(0x9a)]=[],this[_0x4733cf(0xd6)]=new Map(),this[_0x4733cf(0x82)]=_0x1d2bb8,this[_0x4733cf(0xb9)]=_0x4a44b1;}[_0x4201e5(0xe0)](_0x4c8c42){const _0x1ef769=_0x4201e5,_0x4459a5=[],_0x5c4566=new Set(),_0x14d8d4=new Set();for(let _0x1f6ea4=0x0;_0x1f6ea4<_0x4c8c42[_0x1ef769(0xdb)];_0x1f6ea4++){const _0x108fbd=_0x4c8c42[_0x1f6ea4];if(!_0x108fbd[_0x1ef769(0xc5)])continue;const _0x4408d0=this[_0x1ef769(0x8a)](_0x108fbd);if(_0x4408d0){if(null!=_0x108fbd[_0x1ef769(0xab)]){if(_0x5c4566[_0x1ef769(0xba)](_0x108fbd[_0x1ef769(0xab)]))continue;_0x5c4566[_0x1ef769(0xc6)](_0x108fbd[_0x1ef769(0xab)]);}_0x4459a5[_0x1ef769(0xcf)](_0x4408d0);}else{if(_0x1ef769(0x92)!=_0x108fbd[_0x1ef769(0x8c)])_0x1ef769(0x9c)!=_0x108fbd[_0x1ef769(0x8c)]&&_0x1ef769(0x91)!=_0x108fbd[_0x1ef769(0x8c)]||this[_0x1ef769(0xb5)](_0x4459a5,_0x108fbd,_0x4c8c42[_0x1f6ea4+0x1]);else{const _0x685947=_0x108fbd[_0x1ef769(0x90)][_0x1ef769(0xb8)];if(_0x14d8d4[_0x1ef769(0xba)](_0x685947))continue;_0x14d8d4[_0x1ef769(0xc6)](_0x108fbd[_0x1ef769(0x90)][_0x1ef769(0xb8)]),_0x685947==_0x543f92?this[_0x1ef769(0xa9)](_0x4459a5,_0x108fbd):this[_0x1ef769(0x8d)](_0x4459a5,_0x108fbd);}}}return this[_0x1ef769(0x9f)](_0x4459a5);}[_0x4201e5(0xbd)](_0x4beb28){const _0x537441=_0x4201e5;this[_0x537441(0xd5)][_0x537441(0xcf)](_0x4beb28);}[_0x4201e5(0xb7)](_0x55eb2e,_0x11eded,_0x427d12=_0x4a80ed[_0x4201e5(0xca)]){const _0x5443c3=_0x4201e5;_0x5443c3(0x86)==typeof _0x55eb2e?_0x189c29(this[_0x5443c3(0x9a)],{'matchingCallback':_0x55eb2e,'label':_0x11eded,'priority':_0x427d12}):this[_0x5443c3(0xce)][_0x5443c3(0xa8)](_0x55eb2e,_0x11eded);}[_0x4201e5(0xa4)](_0x5db9aa,_0x3a16ff){const _0x50dfbc=_0x4201e5;this[_0x50dfbc(0xd6)][_0x50dfbc(0xa8)](_0x5db9aa,_0x3a16ff);}[_0x4201e5(0xae)](_0x54c07c,_0x58dd27=0x1){const _0x1a546b=_0x4201e5;let _0x2dc6c6;for(const _0x175027 of this[_0x1a546b(0x9a)])if(_0x175027[_0x1a546b(0x94)](_0x54c07c)){_0x2dc6c6=_0x175027[_0x1a546b(0xb2)];break;}return _0x2dc6c6||(_0x2dc6c6=this[_0x1a546b(0xce)][_0x1a546b(0xaa)](_0x54c07c[_0x1a546b(0x89)])),_0x2dc6c6?_0x2dc6c6(_0x58dd27):0x1!==_0x58dd27?_0x58dd27+'\x20'+_0x54c07c[_0x1a546b(0x89)]+'s':''+_0x54c07c[_0x1a546b(0x89)];}[_0x4201e5(0x97)](_0x3ef4cb,_0xf51ec8){const _0x3c746a=_0x4201e5,_0x357416=_0xf51ec8[_0x3c746a(0x8f)]()[_0x3c746a(0xa1)](),_0x371406=_0x3c746a(0x9c)==_0xf51ec8[_0x3c746a(0x8c)]?_0x3c746a(0xc6):_0x3c746a(0x8b);for(const _0x5b16b0 of _0x357416){const _0x4e0927=_0x5b16b0[_0x3c746a(0xda)],_0x5453b9=_0x3ef4cb[_0x3ef4cb[_0x3c746a(0xdb)]-0x1];if(_0x4e0927['is'](_0x3c746a(0x9b)))_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))>-0x1&&_0x3ef4cb[_0x3c746a(0xa2)](),_0x5453b9&&_0x3c746a(0x84)==_0x5453b9[_0x3c746a(0x8c)]?_0x5453b9[_0x371406]+=_0x4e0927[_0x3c746a(0x90)]:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x3c746a(0x84),'add':_0x3c746a(0xc6)==_0x371406?_0x4e0927[_0x3c746a(0x90)]:'','remove':_0x3c746a(0x8b)==_0x371406?_0x4e0927[_0x3c746a(0x90)]:''});else{if(this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x4e0927)){const _0x12f763=_0x4e0927;if(_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))>-0x1&&_0x3ef4cb[_0x3c746a(0xa2)](),_0x3c746a(0xa0)==_0x5b16b0[_0x3c746a(0x8c)])continue;_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)]==_0x371406+_0x3c746a(0xb3)&&_0x5453b9[_0x3c746a(0xd0)][_0x3c746a(0x89)]==_0x12f763[_0x3c746a(0x89)]?_0x5453b9[_0x3c746a(0x8e)]++:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0xb3),'element':_0x12f763,'quantity':0x1}),_0x357416[_0x3c746a(0xd9)](_0x360862=>!(_0x3c746a(0xa0)==_0x360862[_0x3c746a(0x8c)]&&_0x360862[_0x3c746a(0xda)]==_0x4e0927));}else{if(this[_0x3c746a(0x82)][_0x3c746a(0xb1)](_0x4e0927,_0x3c746a(0xbb))||_0x4e0927['is'](_0x3c746a(0xd0),_0x3c746a(0xaf))){const _0x46d189=_0x4e0927;if(_0x3c746a(0xc6)==_0x371406&&_0x3c746a(0x9e)==_0x5b16b0[_0x3c746a(0x8c)]||_0x3c746a(0x8b)==_0x371406&&_0x3c746a(0xa0)==_0x5b16b0[_0x3c746a(0x8c)])continue;if(_0x5453b9&&-0x1==_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))){_0x3c746a(0x84)==_0x5453b9[_0x3c746a(0x8c)]&&(_0x5453b9[_0x371406]+='\x0a');continue;}let _0x4a1fd5;if(_0x4a1fd5=_0x3c746a(0xc6)==_0x371406?_0x46d189[_0x3c746a(0x95)]&&!this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x46d189[_0x3c746a(0x95)])?_0x46d189[_0x3c746a(0x95)]:null:_0x46d189[_0x3c746a(0xde)]&&!this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x46d189[_0x3c746a(0xde)])?_0x46d189[_0x3c746a(0xde)]:null,_0x46d189[_0x3c746a(0xa5)]||_0x4a1fd5&&_0x4a1fd5[_0x3c746a(0xa5)]){const _0x6c4648=_0x4a1fd5&&_0x4a1fd5[_0x3c746a(0xa5)]?_0x4a1fd5:_0x46d189;_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)]==_0x371406+_0x3c746a(0x93)&&_0x5453b9[_0x3c746a(0xd0)][_0x3c746a(0x89)]==_0x6c4648[_0x3c746a(0x89)]?_0x5453b9[_0x3c746a(0x8e)]++:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0x93),'element':_0x6c4648,'quantity':0x1});}else _0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0xd8),'element':_0x46d189});}}}}}[_0x4201e5(0x9f)](_0x551957){const _0x407d6e=_0x4201e5,_0x16b0ba=this[_0x407d6e(0xb9)],_0x4c3041=[],_0x1c6d06=[],_0x57c782=[];for(const _0x47ab4a of _0x551957)switch(_0x47ab4a[_0x407d6e(0x8c)]){case _0x407d6e(0x84):if(_0x47ab4a[_0x407d6e(0xc6)]=_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xbe)](/(\S)\u000A+(\S)/g,_0x407d6e(0xa3))[_0x407d6e(0xbe)](/\u000A/g,''),_0x47ab4a[_0x407d6e(0x8b)]=_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xbe)](/(\S)\u000A+(\S)/g,_0x407d6e(0xa3))[_0x407d6e(0xbe)](/\u000A/g,''),''!=_0x47ab4a[_0x407d6e(0xc6)]&&''!=_0x47ab4a[_0x407d6e(0x8b)]){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xbe),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd7),['\x22'+_0x47ab4a[_0x407d6e(0x8b)]+'\x22','\x22'+_0x47ab4a[_0x407d6e(0xc6)]+'\x22'])});continue;}if(null!=_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xc4)](/^ +$/)){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),_0x45f95b(_0x16b0ba,_0x407d6e(0xac),_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xdb)]))});continue;}if(null!=_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xc4)](/^ +$/)){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),_0x45f95b(_0x16b0ba,_0x407d6e(0xac),_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xdb)]))});continue;}if(''!=_0x47ab4a[_0x407d6e(0xc6)]){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),'\x22'+_0x47ab4a[_0x407d6e(0xc6)]+'\x22')});continue;}_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),'\x22'+_0x47ab4a[_0x407d6e(0x8b)]+'\x22')});continue;case _0x407d6e(0xd4):case _0x407d6e(0xa7):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xd2):case _0x407d6e(0x98):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xc8):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0x96),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xdf):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0x9d),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xc1):_0x1c6d06[_0x407d6e(0xcf)](_0x47ab4a[_0x407d6e(0xb8)]);continue;case _0x407d6e(0xad):_0x57c782[_0x407d6e(0xcf)](_0x47ab4a[_0x407d6e(0xb8)]);continue;default:_0x4c3041[_0x407d6e(0xcf)](_0x47ab4a);}if(_0x1c6d06[_0x407d6e(0xdb)]){const _0x186f00=_0x1c6d06[_0x407d6e(0xc2)](_0x1a2f6e=>this[_0x407d6e(0xd6)][_0x407d6e(0xba)](_0x1a2f6e)?this[_0x407d6e(0xd6)][_0x407d6e(0xaa)](_0x1a2f6e):_0x1a2f6e)[_0x407d6e(0xdd)](',\x20');_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xb0),'content':_0x45f95b(this[_0x407d6e(0xb9)],_0x407d6e(0xc7),_0x186f00)});}if(_0x57c782[_0x407d6e(0xdb)]){const _0x28d12b=_0x57c782[_0x407d6e(0xc2)](_0x56d81d=>this[_0x407d6e(0xd6)][_0x407d6e(0xba)](_0x56d81d)?this[_0x407d6e(0xd6)][_0x407d6e(0xaa)](_0x56d81d):_0x56d81d)[_0x407d6e(0xdd)](',\x20');_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xb0),'content':_0x45f95b(this[_0x407d6e(0xb9)],_0x407d6e(0xcb),_0x28d12b)});}return _0x4c3041;}[_0x4201e5(0x8a)](_0x58cc1f){const _0x455bff=_0x4201e5;for(const _0xd6b134 of this[_0x455bff(0xd5)]){const _0x4c545a=_0xd6b134(_0x58cc1f);if(_0x4c545a&&_0x455bff(0x8c)in _0x4c545a)return _0x4c545a;}}[_0x4201e5(0x8d)](_0x212f71,_0x380323){const _0x1c2122=_0x4201e5,_0x1e4272=_0x380323[_0x1c2122(0x90)],_0x31c202=void 0x0===_0x1e4272[_0x1c2122(0xe2)]?_0x1c2122(0xad):_0x1c2122(0xc1);_0x212f71[_0x1c2122(0xcf)]({'type':_0x31c202,'key':_0x1e4272[_0x1c2122(0xb8)]});}[_0x4201e5(0xa9)](_0x358b84,_0x523ad0){const _0x3fd688=_0x4201e5;_0x358b84[_0x3fd688(0xcf)]({'type':_0x3fd688(0xb0),'content':_0x45f95b(this[_0x3fd688(0xb9)],_0x3fd688(0xbf),this[_0x3fd688(0xae)](_0x523ad0[_0x3fd688(0x8f)]()[_0x3fd688(0xb4)][_0x3fd688(0x88)],0x1))});}[_0x4201e5(0xb5)](_0xf140ef,_0x5b43ca,_0x5caefe){const _0x5e3f2=_0x4201e5;if(this[_0x5e3f2(0x97)](_0xf140ef,_0x5b43ca),_0x5caefe&&_0x5caefe[_0x5e3f2(0x8f)]()&&!_0x5b43ca[_0x5e3f2(0x8f)]()[_0x5e3f2(0xb6)][_0x5e3f2(0x83)](_0x5caefe[_0x5e3f2(0x8f)]()[_0x5e3f2(0xb4)])){const _0x20bc58=_0xf140ef[_0xf140ef[_0x5e3f2(0xdb)]-0x1],_0x50199c=_0x5e3f2(0x9c)==_0x5b43ca[_0x5e3f2(0x8c)]?_0x5e3f2(0xc6):_0x5e3f2(0x8b);_0x20bc58&&_0x5e3f2(0x84)==_0x20bc58[_0x5e3f2(0x8c)]&&(_0x20bc58[_0x50199c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x59b0e3=_0x2011;(function(_0x3acbe1,_0x33b4e3){var _0x55f9b5=_0x2011,_0x36e6f6=_0x3acbe1();while(!![]){try{var _0x27fb45=-parseInt(_0x55f9b5(0xde))/0x1+-parseInt(_0x55f9b5(0xcb))/0x2*(parseInt(_0x55f9b5(0xcd))/0x3)+-parseInt(_0x55f9b5(0xd4))/0x4*(parseInt(_0x55f9b5(0xd5))/0x5)+parseInt(_0x55f9b5(0xd2))/0x6+-parseInt(_0x55f9b5(0xd0))/0x7+-parseInt(_0x55f9b5(0xdc))/0x8+parseInt(_0x55f9b5(0xdb))/0x9;if(_0x27fb45===_0x33b4e3)break;else _0x36e6f6['push'](_0x36e6f6['shift']());}catch(_0xd456b7){_0x36e6f6['push'](_0x36e6f6['shift']());}}}(_0x1107,0xe52e8));import{Plugin as _0x32243b}from'ckeditor5/src/core.js';function _0x1107(){var _0x43d455=['addSuggestionData','requires','TrackChanges','26629047oNlQGV','6993752AdqaBh','getSuggestions','198790OwLfXa','get','11576KpyRCa','addSuggestion','39BPebpX','plugins','getSuggestion','10572590oVvemR','pluginName','4179306SvVFCR','Comments','4BPYGxV','289915SeLyPI','editor','adapter'];_0x1107=function(){return _0x43d455;};return _0x1107();}function _0x2011(_0x5caff7,_0xc5914d){var _0x1107df=_0x1107();return _0x2011=function(_0x201125,_0x2a1373){_0x201125=_0x201125-0xca;var _0x9fa779=_0x1107df[_0x201125];return _0x9fa779;},_0x2011(_0x5caff7,_0xc5914d);}import _0x395b7c from'./trackchangesui.js';import _0x5a5c86 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x32243b{static get[_0x59b0e3(0xd9)](){var _0x24b83=_0x59b0e3;return[_0x5a5c86,_0x395b7c,_0x24b83(0xd3)];}static get[_0x59b0e3(0xd1)](){var _0x511c5c=_0x59b0e3;return _0x511c5c(0xda);}set[_0x59b0e3(0xd7)](_0x5e5af7){var _0x167287=_0x59b0e3;this[_0x167287(0xd6)][_0x167287(0xce)][_0x167287(0xca)](_0x5a5c86)[_0x167287(0xd7)]=_0x5e5af7;}get[_0x59b0e3(0xd7)](){var _0x32d51b=_0x59b0e3;return this[_0x32d51b(0xd6)][_0x32d51b(0xce)][_0x32d51b(0xca)](_0x5a5c86)[_0x32d51b(0xd7)];}[_0x59b0e3(0xcc)](_0x15ba56){var _0x2d012b=_0x59b0e3;return this[_0x2d012b(0xd6)][_0x2d012b(0xce)][_0x2d012b(0xca)](_0x5a5c86)[_0x2d012b(0xd8)](_0x15ba56);}[_0x59b0e3(0xdd)]({skipNotAttached:_0x15d86d=!0x1,toJSON:_0x45d7fc=!0x1}={}){var _0x169db5=_0x59b0e3;return this[_0x169db5(0xd6)][_0x169db5(0xce)][_0x169db5(0xca)](_0x5a5c86)[_0x169db5(0xdd)]({'skipNotAttached':_0x15d86d,'toJSON':_0x45d7fc});}[_0x59b0e3(0xcf)](_0x468246){var _0x1258b0=_0x59b0e3;return this[_0x1258b0(0xd6)][_0x1258b0(0xce)][_0x1258b0(0xca)](_0x5a5c86)[_0x1258b0(0xcf)](_0x468246);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1fb42f=_0x5dd1;(function(_0x184df9,_0x505444){const _0x395f63=_0x5dd1,_0x191734=_0x184df9();while(!![]){try{const _0x112eac=parseInt(_0x395f63(0xc0))/0x1+-parseInt(_0x395f63(0xc7))/0x2*(parseInt(_0x395f63(0xb5))/0x3)+-parseInt(_0x395f63(0xce))/0x4+-parseInt(_0x395f63(0xb1))/0x5+parseInt(_0x395f63(0xd8))/0x6+parseInt(_0x395f63(0xa5))/0x7*(-parseInt(_0x395f63(0xba))/0x8)+parseInt(_0x395f63(0xa7))/0x9;if(_0x112eac===_0x505444)break;else _0x191734['push'](_0x191734['shift']());}catch(_0x38d2e5){_0x191734['push'](_0x191734['shift']());}}}(_0x12ec,0xf1330));function _0x5dd1(_0x1862b2,_0x4da302){const _0x12ecfe=_0x12ec();return _0x5dd1=function(_0x5dd1ef,_0x34f2b1){_0x5dd1ef=_0x5dd1ef-0xa0;let _0x17fe8c=_0x12ecfe[_0x5dd1ef];return _0x17fe8c;},_0x5dd1(_0x1862b2,_0x4da302);}import{Plugin as _0x55dcd3}from'ckeditor5/src/core.js';import{CKEditorError as _0x498082}from'ckeditor5/src/utils.js';import _0x2fdd66 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5c384d}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1fb42f(0xc9)];export default class P extends _0x55dcd3{static get[_0x1fb42f(0xd2)](){return[_0x2fdd66];}static get[_0x1fb42f(0xc3)](){const _0x4028bc=_0x1fb42f;return _0x4028bc(0xcd);}[_0x1fb42f(0xa3)](){const _0x5df46f=_0x1fb42f,_0x834ac5=this[_0x5df46f(0xd1)];if(_0x834ac5[_0x5df46f(0xa6)][_0x5df46f(0xca)](_0x5df46f(0xd9),_0x3c3d77=>{const _0x3486bf=_0x5df46f,_0x16b262=_0x834ac5[_0x3486bf(0xbe)][_0x3486bf(0xda)][_0x3486bf(0xcc)]()[_0x3486bf(0xdc)]((_0x5e2165,_0x1f016b)=>(_0x5e2165[_0x1f016b]='',_0x5e2165),{});return _0x834ac5[_0x3486bf(0xc1)][_0x3486bf(0xaf)](_0x16b262,_0x3c3d77);}),_0x5df46f(0xd4)!=typeof _0x834ac5[_0x5df46f(0xa6)][_0x5df46f(0xb6)](_0x5df46f(0xbd))[_0x5df46f(0xb2)])throw new _0x498082(_0x5df46f(0xd6));}[_0x1fb42f(0xc2)](_0x38aebd){const _0x5529ca=_0x1fb42f;return N(this[_0x5529ca(0xd1)],!0x0,_0x38aebd);}[_0x1fb42f(0xbf)](_0x1d2243){const _0x179645=_0x1fb42f;return N(this[_0x179645(0xd1)],!0x1,_0x1d2243);}}class D extends _0x55dcd3{static get[_0x1fb42f(0xc3)](){const _0x18a22f=_0x1fb42f;return _0x18a22f(0xde);}constructor(_0x33928c){const _0x4ae0a8=_0x1fb42f;super(_0x33928c),this[_0x4ae0a8(0xd7)]=_0x4ae0a8(0xb8);}[_0x1fb42f(0xa3)](){const _0x3692a5=_0x1fb42f;this[_0x3692a5(0xd1)][_0x3692a5(0xc6)][_0x3692a5(0xb6)](_0x3692a5(0xb7))[_0x3692a5(0xb4)]={'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[_0x3692a5(0xd1)][_0x3692a5(0xc6)][_0x3692a5(0xb6)](_0x3692a5(0xbb))[_0x3692a5(0xb4)]=null;}}function v(_0x1edf77){const _0x35c93=_0x1fb42f;return void 0x0!==_0x1edf77[_0x35c93(0xd0)];}function _0x12ec(){const _0x5bbcdb=['TrackChangesEditing','addUser','trackChangesData','model','getDataWithDiscardedSuggestions','1637835YBrXrS','constructor','getDataWithAcceptedSuggestions','pluginName','div','getSuggestions','plugins','99436qQIoOS','addCommentThread','Pagination','define','name','getRootNames','TrackChangesData','1144232IbTVsN','addSuggestionData','getRootsAttributes','editor','requires','destroy','function','getFullData','track-changes-data-invalid-editor-creator','result','4532598zMKfKZ','trackChangesData.editorCreator','document','createElement','reduce','discardAllSuggestions','TrackChangesDataGetter','getCommentThreads','acceptAllSuggestions','appendChild','init','execute','29491tQPfZO','config','10391598IrlFzB','push','getUser','users','useAnonymousUser','map','set','createDocumentFragment','create','Users','579355phXopn','editorCreator','data','_adapter','72CBIjiE','get','CommentsRepository','end','rootsAttributes','1832rwDTBR'];_0x12ec=function(){return _0x5bbcdb;};return _0x12ec();}async function N(_0x440761,_0x3ff06f,_0x214033){const _0x3d8487=_0x1fb42f,_0x10c707=_0x5c384d(_0x440761,T);_0x10c707[_0x3d8487(0xc6)][_0x3d8487(0xa8)](_0x2fdd66,D),_0x10c707[_0x3d8487(0xb9)]=v(_0x440761)?_0x440761[_0x3d8487(0xd0)]():void 0x0;const _0x219cab=document[_0x3d8487(0xae)](),_0xb0775f=_0x440761[_0x3d8487(0xa6)][_0x3d8487(0xb6)](_0x3d8487(0xbd))[_0x3d8487(0xb2)],_0x46785c=await _0xb0775f(_0x10c707,()=>function(_0x29f3e5){const _0x254e3c=_0x3d8487,_0xd38749=document[_0x254e3c(0xdb)](_0x254e3c(0xc4));return _0x29f3e5[_0x254e3c(0xa2)](_0xd38749),_0xd38749;}(_0x219cab));!function(_0x2eb223,_0x53a905){const _0x39e43d=_0x3d8487,_0x2d13a1=_0x2eb223[_0x39e43d(0xbe)][_0x39e43d(0xda)][_0x39e43d(0xcc)]()[_0x39e43d(0xdc)]((_0xf61f29,_0x47faa8)=>(_0xf61f29[_0x47faa8]=_0x2eb223[_0x39e43d(0xb3)][_0x39e43d(0xb6)]({'rootName':_0x47faa8}),_0xf61f29),{}),_0x4cd1b8=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb0))[_0x39e43d(0xaa)][_0x39e43d(0xac)](_0x12b257=>({'id':_0x12b257['id'],'name':_0x12b257[_0x39e43d(0xcb)]})),_0xb36f53=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xbb))[_0x39e43d(0xc5)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5182ee=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb7))[_0x39e43d(0xa0)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x401ed9=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb0)),_0x444d19=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xbb)),_0x19fa7d=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb7));for(const _0x21524f of _0x4cd1b8)_0x401ed9[_0x39e43d(0xa9)](_0x21524f['id'])||_0x401ed9[_0x39e43d(0xbc)](_0x21524f);_0x401ed9['me']||_0x401ed9[_0x39e43d(0xab)]();for(const _0x6c9def of _0x5182ee)_0x19fa7d[_0x39e43d(0xc8)](_0x6c9def);for(const _0xb990a of _0xb36f53)_0x444d19[_0x39e43d(0xcf)](_0xb990a);_0x53a905[_0x39e43d(0xb3)][_0x39e43d(0xad)](_0x2d13a1);}(_0x440761,_0x46785c),_0x46785c[_0x3d8487(0xa4)](_0x3ff06f?_0x3d8487(0xa1):_0x3d8487(0xdd));const _0x576291=v(_0x46785c)?_0x46785c[_0x3d8487(0xd5)](_0x214033):_0x46785c[_0x3d8487(0xb3)][_0x3d8487(0xb6)](_0x214033);return await _0x46785c[_0x3d8487(0xd3)](),_0x576291;}
|