@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240704.0 → 0.0.0-nightly-20240705.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/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 _0x2f2e91=_0x44ff;(function(_0x40b634,_0x420f95){const _0xcb7193=_0x44ff,_0x14fb47=_0x40b634();while(!![]){try{const _0x3c8aee=-parseInt(_0xcb7193(0x1bf))/0x1+-parseInt(_0xcb7193(0x1db))/0x2+parseInt(_0xcb7193(0x207))/0x3+-parseInt(_0xcb7193(0x1d5))/0x4*(-parseInt(_0xcb7193(0x1fe))/0x5)+-parseInt(_0xcb7193(0x1ce))/0x6+parseInt(_0xcb7193(0x1e0))/0x7*(parseInt(_0xcb7193(0x1e4))/0x8)+parseInt(_0xcb7193(0x1d2))/0x9;if(_0x3c8aee===_0x420f95)break;else _0x14fb47['push'](_0x14fb47['shift']());}catch(_0x5045ae){_0x14fb47['push'](_0x14fb47['shift']());}}}(_0x4180,0x27fab));import{Plugin as _0xcc5b00}from'ckeditor5/src/core.js';function _0x44ff(_0x904892,_0x3d8eaf){const _0x4180cc=_0x4180();return _0x44ff=function(_0x44ffb0,_0x263059){_0x44ffb0=_0x44ffb0-0x1ae;let _0x41c6b2=_0x4180cc[_0x44ffb0];return _0x41c6b2;},_0x44ff(_0x904892,_0x3d8eaf);}import _0x4df1c6 from'./table.js';function _0x4180(){const _0x1ac98a=['size','$graveyard','*Split\x20cell:*\x20horizontally','275QUCwUv','deletion','formatBlock','_tablePostFixingSubtypes','isInContent','find','get','getFirstPosition','table','588651QVwvac','rootName','format','splitTableCellVertically','editor','mergeTableCellUp','element','add','createRangeOn','set:isEnabled','highest','createTableWalker','has','change','getCellLocation','mergeTableCells','type','_areSelectedCellsMergable','accept','_isForcedDefaultExecutionBlock','commandName','getSelectionAffectedTableCells','splitTableCellHorizontally','registerCustomCallback','descriptionFactory','getAncestors','104865mvLoKF','markBlockFormat','push','requires','getSuggestions','execute','_acceptFormatSuggestionCallbackFactory','direction','locale','formatInline','detach','stop','*Split\x20cell:*\x20vertically','_suggestionFactory','filter','739098XBzsXz','fromRange','tableCell','subType','986301GipweK','model','TableEditing','10204sIsIua','map','refresh','length','mergeTableCellRight','document','142740GYsXvi','_areMergableCells','setSelection','plugins','isEnabled','7pAtEcR','insertion','getRanges','horizontally','136496NSaAQk','cell','registerDescriptionCallback','return','author','selection','*Merge\x20cells*','forceDefaultExecution','low','commands','mergeTableCellDown','afterInit','trackChanges','root','enableCommand','containsRange','markMultiRangeBlockFormat','TableUtils','from','value','mergeTableCellLeft','findAncestor','TrackChangesEditing'];_0x4180=function(){return _0x1ac98a;};return _0x4180();}import{LiveRange as _0x572c80}from'ckeditor5/src/engine.js';import{getTranslation as _0x5605f3}from'../utils/common-translations.js';export default class St extends _0xcc5b00{static get[_0x2f2e91(0x1c2)](){return[_0x4df1c6];}[_0x2f2e91(0x1ef)](){const _0x4b851f=_0x2f2e91,_0x57145e=this[_0x4b851f(0x20b)],_0x2b7278=_0x57145e[_0x4b851f(0x1d3)][_0x4b851f(0x1da)][_0x4b851f(0x1e9)],_0x260486=_0x57145e[_0x4b851f(0x1c7)];if(!_0x57145e[_0x4b851f(0x1de)][_0x4b851f(0x1b1)](_0x4b851f(0x1d4)))return;const _0x3be8b3=_0x57145e[_0x4b851f(0x1de)][_0x4b851f(0x204)](_0x4b851f(0x1fa)),_0x3e25db=_0x57145e[_0x4b851f(0x1de)][_0x4b851f(0x204)](_0x4b851f(0x1f5)),_0x437f5a=_0x57145e[_0x4b851f(0x1de)][_0x4b851f(0x204)](_0x4df1c6);_0x437f5a[_0x4b851f(0x201)][_0x4b851f(0x1c1)](_0x4b851f(0x1b4)),_0x3be8b3[_0x4b851f(0x1f2)](_0x4b851f(0x1b4),()=>{const _0x6ccbcc=_0x4b851f,_0x12bbff=_0x3e25db[_0x6ccbcc(0x1ba)](_0x57145e[_0x6ccbcc(0x1d3)][_0x6ccbcc(0x1da)][_0x6ccbcc(0x1e9)]);_0x57145e[_0x6ccbcc(0x1d3)][_0x6ccbcc(0x1b2)](()=>{const _0x11caa3=_0x6ccbcc;_0x3be8b3[_0x11caa3(0x1f4)](_0x12bbff,{'commandName':_0x11caa3(0x1b4),'commandParams':[]},[],_0x11caa3(0x1b4));});}),_0x57145e[_0x4b851f(0x1ed)][_0x4b851f(0x204)](_0x4b851f(0x1b4))['on'](_0x4b851f(0x1c4),(_0x458c38,_0x39b1e0)=>{const _0x4a3ad6=_0x4b851f;_0x57145e[_0x4a3ad6(0x1ed)][_0x4a3ad6(0x204)](_0x4a3ad6(0x1f0))[_0x4a3ad6(0x1f7)]&&(_0x39b1e0[_0x4a3ad6(0x1d8)]>0x0&&_0x39b1e0[_0x39b1e0[_0x4a3ad6(0x1d8)]-0x1]&&_0x39b1e0[_0x39b1e0[_0x4a3ad6(0x1d8)]-0x1][_0x4a3ad6(0x1eb)]||_0x3be8b3[_0x4a3ad6(0x1b8)]||this[_0x4a3ad6(0x1b6)]()||_0x458c38[_0x4a3ad6(0x1ca)]());},{'priority':_0x4b851f(0x1af)});for(const _0xe26c47 of[_0x4b851f(0x20c),_0x4b851f(0x1d9),_0x4b851f(0x1ee),_0x4b851f(0x1f8)]){const _0x788a6f=_0x57145e[_0x4b851f(0x1ed)][_0x4b851f(0x204)](_0xe26c47);_0x3be8b3[_0x4b851f(0x1f2)](_0xe26c47,()=>{const _0x34b3c5=_0x4b851f,_0x5bfbe9=_0x57145e[_0x34b3c5(0x1d3)][_0x34b3c5(0x1da)][_0x34b3c5(0x1e9)][_0x34b3c5(0x205)]()[_0x34b3c5(0x1be)]()[_0x34b3c5(0x203)](_0xf7ea49=>_0xf7ea49['is'](_0x34b3c5(0x20d),_0x34b3c5(0x1d0))),_0x44bb64=_0x788a6f[_0x34b3c5(0x1f7)];_0x57145e[_0x34b3c5(0x1d3)][_0x34b3c5(0x1b2)](()=>{const _0x19a579=_0x34b3c5;_0x3be8b3[_0x19a579(0x1f4)]([_0x5bfbe9,_0x44bb64],{'commandName':_0x19a579(0x1b4),'commandParams':[]},[],_0x19a579(0x1b4));});});}for(const _0x3989bf of[_0x4b851f(0x20a),_0x4b851f(0x1bb)]){const _0x1e9a15=_0x57145e[_0x4b851f(0x1ed)][_0x4b851f(0x204)](_0x3989bf);_0x3be8b3[_0x4b851f(0x1f2)](_0x3989bf,()=>{const _0xb6cd62=_0x4b851f,_0x41ad47=_0x3e25db[_0xb6cd62(0x1ba)](_0x57145e[_0xb6cd62(0x1d3)][_0xb6cd62(0x1da)][_0xb6cd62(0x1e9)])[0x0],_0x31e929=_0x41ad47[_0xb6cd62(0x1f9)](_0xb6cd62(0x206)),{column:_0x3cd1be,row:_0x24e676}=_0x3e25db[_0xb6cd62(0x1b3)](_0x41ad47);let _0x369426=[];if(_0xb6cd62(0x1e3)==_0x1e9a15[_0xb6cd62(0x1c6)]){const _0x283ae1=_0x3e25db[_0xb6cd62(0x1b0)](_0x31e929,{'startRow':_0x24e676,'endRow':_0x24e676,'includeAllSlots':!0x0});_0x369426=Array[_0xb6cd62(0x1f6)](_0x283ae1)[_0xb6cd62(0x1d6)](_0x5dbfb6=>_0x5dbfb6[_0xb6cd62(0x1e5)]);}else{const _0x4d3519=_0x3e25db[_0xb6cd62(0x1b0)](_0x31e929,{'column':_0x3cd1be,'includeAllSlots':!0x0});_0x369426=Array[_0xb6cd62(0x1f6)](_0x4d3519)[_0xb6cd62(0x1d6)](_0x2f7f5e=>_0x2f7f5e[_0xb6cd62(0x1e5)]);}_0x57145e[_0xb6cd62(0x1d3)][_0xb6cd62(0x1b2)](_0x11092f=>{const _0x3af6a5=_0xb6cd62;_0x3be8b3[_0x3af6a5(0x1c0)](_0x11092f[_0x3af6a5(0x20f)](_0x41ad47),{'commandName':_0x3989bf,'commandParams':[]},_0x369426,_0x3989bf);});});}_0x3be8b3[_0x4b851f(0x1bd)][_0x4b851f(0x1e6)](_0x389aed=>{const _0x3bf22d=_0x4b851f;if(_0x3bf22d(0x200)!=_0x389aed[_0x3bf22d(0x1b5)]&&_0x3bf22d(0x1c8)!=_0x389aed[_0x3bf22d(0x1b5)])return;const {data:_0x51061e}=_0x389aed;return _0x51061e&&_0x3bf22d(0x1b4)==_0x51061e[_0x3bf22d(0x1b9)]?{'type':_0x3bf22d(0x209),'content':_0x5605f3(_0x260486,_0x3bf22d(0x1ea))}:void 0x0;}),_0x3be8b3[_0x4b851f(0x1bd)][_0x4b851f(0x1e6)](_0xab119=>{const _0x25c33b=_0x4b851f;if(_0x25c33b(0x200)!=_0xab119[_0x25c33b(0x1b5)]&&_0x25c33b(0x1c8)!=_0xab119[_0x25c33b(0x1b5)])return;const {data:_0x3d3757}=_0xab119;return _0x3d3757?_0x25c33b(0x20a)==_0x3d3757[_0x25c33b(0x1b9)]?{'type':_0x25c33b(0x209),'content':_0x5605f3(_0x260486,_0x25c33b(0x1cb))}:_0x25c33b(0x1bb)==_0x3d3757[_0x25c33b(0x1b9)]?{'type':_0x25c33b(0x209),'content':_0x5605f3(_0x260486,_0x25c33b(0x1fd))}:void 0x0:void 0x0;});const _0xd19779=_0x437f5a[_0x4b851f(0x1c5)]();for(const _0x4aab62 of[_0x4b851f(0x20c),_0x4b851f(0x1d9),_0x4b851f(0x1ee),_0x4b851f(0x1f8)])_0x3be8b3[_0x4b851f(0x1cc)][_0x4b851f(0x1bc)](_0x4b851f(0x200),_0x4aab62,_0x4b851f(0x1b7),_0xd19779);for(const _0xfa1e46 of[_0x4b851f(0x20a),_0x4b851f(0x1bb)])_0x3be8b3[_0x4b851f(0x1cc)][_0x4b851f(0x1bc)](_0x4b851f(0x200),_0xfa1e46,_0x4b851f(0x1b7),_0xd19779);_0x3be8b3[_0x4b851f(0x1cc)][_0x4b851f(0x1bc)](_0x4b851f(0x200),_0x4b851f(0x1b4),_0x4b851f(0x1b7),_0x4a7e83=>{const _0x17bab5=_0x4b851f;_0x57145e[_0x17bab5(0x1d3)][_0x17bab5(0x1b2)](_0x371b2b=>{const _0x2d0420=_0x17bab5,_0x3ac7bf=Array[_0x2d0420(0x1f6)](_0x2b7278[_0x2d0420(0x1e2)]())[_0x2d0420(0x1d6)](_0x5309ff=>_0x572c80[_0x2d0420(0x1cf)](_0x5309ff));_0x371b2b[_0x2d0420(0x1dd)](_0x4a7e83),_0x57145e[_0x2d0420(0x1ed)][_0x2d0420(0x204)](_0x2d0420(0x1b4))[_0x2d0420(0x1d7)](),_0x57145e[_0x2d0420(0x1c4)](_0x2d0420(0x1b4),{'forceDefaultExecution':!0x0});const _0x3c4fb6=_0x3ac7bf[_0x2d0420(0x1cd)](_0x3f2c4a=>_0x2d0420(0x1fc)!=_0x3f2c4a[_0x2d0420(0x1f1)][_0x2d0420(0x208)]);_0x3c4fb6[_0x2d0420(0x1d8)]>0x0&&_0x371b2b[_0x2d0420(0x1dd)](_0x3c4fb6);for(const _0x1b52ae of _0x3ac7bf)_0x1b52ae[_0x2d0420(0x1c9)]();});});for(const _0xd87e08 of[_0x4b851f(0x20c),_0x4b851f(0x1ee),_0x4b851f(0x1f8),_0x4b851f(0x1d9)]){const _0x428188=_0x57145e[_0x4b851f(0x1ed)][_0x4b851f(0x204)](_0xd87e08);_0x428188['on'](_0x4b851f(0x1ae),(_0x1f314f,_0x44ca96,_0x898b4c)=>{const _0x42bf53=_0x4b851f;if(_0x898b4c){const _0x110ffe=_0x57145e[_0x42bf53(0x1d3)][_0x42bf53(0x1da)][_0x42bf53(0x1e9)][_0x42bf53(0x205)]()[_0x42bf53(0x1be)]()[_0x42bf53(0x203)](_0x1f001e=>_0x1f001e['is'](_0x42bf53(0x20d),_0x42bf53(0x1d0)));this[_0x42bf53(0x1dc)](_0x428188[_0x42bf53(0x1f7)],_0x110ffe)||(_0x1f314f[_0x42bf53(0x1e7)]=!0x1,_0x1f314f[_0x42bf53(0x1ca)]());}},{'priority':_0x4b851f(0x1ec)});}}[_0x2f2e91(0x1b6)](){const _0x4de1ff=_0x2f2e91,_0x1db47f=this[_0x4de1ff(0x20b)][_0x4de1ff(0x1ed)][_0x4de1ff(0x204)](_0x4de1ff(0x1b4)),_0x347da0=this[_0x4de1ff(0x20b)][_0x4de1ff(0x1de)][_0x4de1ff(0x204)](_0x4de1ff(0x1f5));if(!_0x1db47f[_0x4de1ff(0x1df)])return!0x1;const _0x4da7a5=_0x347da0[_0x4de1ff(0x1ba)](this[_0x4de1ff(0x20b)][_0x4de1ff(0x1d3)][_0x4de1ff(0x1da)][_0x4de1ff(0x1e9)]);for(const _0x24216d of _0x4da7a5)for(const _0x2fe74a of _0x4da7a5)if(_0x24216d!=_0x2fe74a&&!this[_0x4de1ff(0x1dc)](_0x24216d,_0x2fe74a))return!0x1;return!0x0;}[_0x2f2e91(0x1dc)](_0x594d5c,_0x48066c){const _0x4201e8=_0x2f2e91,_0xf602b5=this[_0x4201e8(0x20b)][_0x4201e8(0x1de)][_0x4201e8(0x204)](_0x4201e8(0x1fa)),_0x100c9b=this[_0x4201e8(0x20b)][_0x4201e8(0x1d3)][_0x4201e8(0x20f)](_0x594d5c),_0x3a01fa=this[_0x4201e8(0x20b)][_0x4201e8(0x1d3)][_0x4201e8(0x20f)](_0x48066c),_0x18004b=new Set(),_0x4ea6b1=new Set();for(const _0x45e832 of _0xf602b5[_0x4201e8(0x1c3)]())if((_0x4201e8(0x1e1)==_0x45e832[_0x4201e8(0x1b5)]||_0x4201e8(0x1ff)==_0x45e832[_0x4201e8(0x1b5)]||_0x4201e8(0x1b4)==_0x45e832[_0x4201e8(0x1d1)])&&_0x45e832[_0x4201e8(0x202)]){for(const _0x4bfcc5 of _0x45e832[_0x4201e8(0x1e2)]())_0x4bfcc5[_0x4201e8(0x1f3)](_0x100c9b,!0x0)&&_0x18004b[_0x4201e8(0x20e)](_0x45e832[_0x4201e8(0x1b5)]+':'+_0x45e832[_0x4201e8(0x1e8)]['id']),_0x4bfcc5[_0x4201e8(0x1f3)](_0x3a01fa,!0x0)&&_0x4ea6b1[_0x4201e8(0x20e)](_0x45e832[_0x4201e8(0x1b5)]+':'+_0x45e832[_0x4201e8(0x1e8)]['id']);}if(_0x18004b[_0x4201e8(0x1fb)]!=_0x4ea6b1[_0x4201e8(0x1fb)])return!0x1;for(const _0x14cff0 of _0x18004b)if(!_0x4ea6b1[_0x4201e8(0x1b1)](_0x14cff0))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x41caec=_0x23be;(function(_0x9bee67,_0x4ebe35){const _0x14edb9=_0x23be,_0x1e2ae6=_0x9bee67();while(!![]){try{const _0x205447=-parseInt(_0x14edb9(0xe4))/0x1+-parseInt(_0x14edb9(0xd8))/0x2*(-parseInt(_0x14edb9(0x90))/0x3)+-parseInt(_0x14edb9(0xb3))/0x4*(parseInt(_0x14edb9(0xe3))/0x5)+-parseInt(_0x14edb9(0xa7))/0x6+-parseInt(_0x14edb9(0x8d))/0x7+-parseInt(_0x14edb9(0xad))/0x8*(parseInt(_0x14edb9(0xca))/0x9)+-parseInt(_0x14edb9(0xc8))/0xa*(-parseInt(_0x14edb9(0xd4))/0xb);if(_0x205447===_0x4ebe35)break;else _0x1e2ae6['push'](_0x1e2ae6['shift']());}catch(_0x3c21c4){_0x1e2ae6['push'](_0x1e2ae6['shift']());}}}(_0x12a1,0xed218));import{Plugin as _0x5a95ea}from'ckeditor5/src/core.js';import _0x3855df from'./table.js';import{LiveRange as _0x3167c4}from'ckeditor5/src/engine.js';function _0x12a1(){const _0x3895f0=['author','splitTableCellHorizontally','_suggestionFactory','9565619UMmkVs','set:isEnabled','change','2239527yFrbIO','length','selection','rootName','createTableWalker','registerDescriptionCallback','requires','mergeTableCells','markMultiRangeBlockFormat','findAncestor','commands','$graveyard','format','getAncestors','trackChanges','formatBlock','direction','push','has','execute','stop','_areSelectedCellsMergable','mergeTableCellLeft','848958dQntsX','setSelection','detach','highest','horizontally','locale','72gsfQKL','commandName','*Split\x20cell:*\x20vertically','_acceptFormatSuggestionCallbackFactory','find','createRangeOn','937900ZfVIrB','forceDefaultExecution','registerCustomCallback','_isForcedDefaultExecutionBlock','splitTableCellVertically','size','insertion','TrackChangesEditing','_areMergableCells','model','get','fromRange','tableCell','getFirstPosition','isInContent','*Merge\x20cells*','document','root','getRanges','plugins','getSuggestions','729760neMtna','return','126738uQSCVh','filter','containsRange','subType','from','table','mergeTableCellDown','getCellLocation','isEnabled','type','506ZQTOYj','cell','markBlockFormat','add','2KjqBHO','value','TableEditing','accept','mergeTableCellRight','enableCommand','mergeTableCellUp','refresh','element','_tablePostFixingSubtypes','afterInit','5SbsBer','1262894ACjjfh','editor','low','formatInline','deletion','TableUtils','*Split\x20cell:*\x20horizontally','descriptionFactory','getSelectionAffectedTableCells','map'];_0x12a1=function(){return _0x3895f0;};return _0x12a1();}import{getTranslation as _0x462373}from'../utils/common-translations.js';function _0x23be(_0x1e6a51,_0x5be597){const _0x12a107=_0x12a1();return _0x23be=function(_0x23bebd,_0xe506de){_0x23bebd=_0x23bebd-0x8c;let _0x26f7d3=_0x12a107[_0x23bebd];return _0x26f7d3;},_0x23be(_0x1e6a51,_0x5be597);}export default class St extends _0x5a95ea{static get[_0x41caec(0x96)](){return[_0x3855df];}[_0x41caec(0xe2)](){const _0xc30d8d=_0x41caec,_0x147698=this[_0xc30d8d(0xe5)],_0x255f48=_0x147698[_0xc30d8d(0xbc)][_0xc30d8d(0xc3)][_0xc30d8d(0x92)],_0x8b77c=_0x147698[_0xc30d8d(0xac)];if(!_0x147698[_0xc30d8d(0xc6)][_0xc30d8d(0xa2)](_0xc30d8d(0xda)))return;const _0x4c529f=_0x147698[_0xc30d8d(0xc6)][_0xc30d8d(0xbd)](_0xc30d8d(0xba)),_0x37b78f=_0x147698[_0xc30d8d(0xc6)][_0xc30d8d(0xbd)](_0xc30d8d(0xe9)),_0x5883ec=_0x147698[_0xc30d8d(0xc6)][_0xc30d8d(0xbd)](_0x3855df);_0x5883ec[_0xc30d8d(0xe1)][_0xc30d8d(0xa1)](_0xc30d8d(0x97)),_0x4c529f[_0xc30d8d(0xdd)](_0xc30d8d(0x97),()=>{const _0x476353=_0xc30d8d,_0x2e69e7=_0x37b78f[_0x476353(0xec)](_0x147698[_0x476353(0xbc)][_0x476353(0xc3)][_0x476353(0x92)]);_0x147698[_0x476353(0xbc)][_0x476353(0x8f)](()=>{const _0xfc0947=_0x476353;_0x4c529f[_0xfc0947(0x98)](_0x2e69e7,{'commandName':_0xfc0947(0x97),'commandParams':[]},[],_0xfc0947(0x97));});}),_0x147698[_0xc30d8d(0x9a)][_0xc30d8d(0xbd)](_0xc30d8d(0x97))['on'](_0xc30d8d(0xa3),(_0x313928,_0x4c95b2)=>{const _0x5e1edc=_0xc30d8d;_0x147698[_0x5e1edc(0x9a)][_0x5e1edc(0xbd)](_0x5e1edc(0x9e))[_0x5e1edc(0xd9)]&&(_0x4c95b2[_0x5e1edc(0x91)]>0x0&&_0x4c95b2[_0x4c95b2[_0x5e1edc(0x91)]-0x1]&&_0x4c95b2[_0x4c95b2[_0x5e1edc(0x91)]-0x1][_0x5e1edc(0xb4)]||_0x4c529f[_0x5e1edc(0xb6)]||this[_0x5e1edc(0xa5)]()||_0x313928[_0x5e1edc(0xa4)]());},{'priority':_0xc30d8d(0xaa)});for(const _0x22b311 of[_0xc30d8d(0xde),_0xc30d8d(0xdc),_0xc30d8d(0xd0),_0xc30d8d(0xa6)]){const _0x1d8e99=_0x147698[_0xc30d8d(0x9a)][_0xc30d8d(0xbd)](_0x22b311);_0x4c529f[_0xc30d8d(0xdd)](_0x22b311,()=>{const _0xe9af51=_0xc30d8d,_0x35103b=_0x147698[_0xe9af51(0xbc)][_0xe9af51(0xc3)][_0xe9af51(0x92)][_0xe9af51(0xc0)]()[_0xe9af51(0x9d)]()[_0xe9af51(0xb1)](_0x258d3c=>_0x258d3c['is'](_0xe9af51(0xe0),_0xe9af51(0xbf))),_0x1333d1=_0x1d8e99[_0xe9af51(0xd9)];_0x147698[_0xe9af51(0xbc)][_0xe9af51(0x8f)](()=>{const _0x1c7c08=_0xe9af51;_0x4c529f[_0x1c7c08(0x98)]([_0x35103b,_0x1333d1],{'commandName':_0x1c7c08(0x97),'commandParams':[]},[],_0x1c7c08(0x97));});});}for(const _0x58c063 of[_0xc30d8d(0xb7),_0xc30d8d(0xef)]){const _0x834e48=_0x147698[_0xc30d8d(0x9a)][_0xc30d8d(0xbd)](_0x58c063);_0x4c529f[_0xc30d8d(0xdd)](_0x58c063,()=>{const _0x1566bc=_0xc30d8d,_0x5966ff=_0x37b78f[_0x1566bc(0xec)](_0x147698[_0x1566bc(0xbc)][_0x1566bc(0xc3)][_0x1566bc(0x92)])[0x0],_0x390053=_0x5966ff[_0x1566bc(0x99)](_0x1566bc(0xcf)),{column:_0x1a4b1b,row:_0x37a6f7}=_0x37b78f[_0x1566bc(0xd1)](_0x5966ff);let _0x547572=[];if(_0x1566bc(0xab)==_0x834e48[_0x1566bc(0xa0)]){const _0x4ab4b1=_0x37b78f[_0x1566bc(0x94)](_0x390053,{'startRow':_0x37a6f7,'endRow':_0x37a6f7,'includeAllSlots':!0x0});_0x547572=Array[_0x1566bc(0xce)](_0x4ab4b1)[_0x1566bc(0xed)](_0x20f1ed=>_0x20f1ed[_0x1566bc(0xd5)]);}else{const _0x448a6f=_0x37b78f[_0x1566bc(0x94)](_0x390053,{'column':_0x1a4b1b,'includeAllSlots':!0x0});_0x547572=Array[_0x1566bc(0xce)](_0x448a6f)[_0x1566bc(0xed)](_0x3b17ff=>_0x3b17ff[_0x1566bc(0xd5)]);}_0x147698[_0x1566bc(0xbc)][_0x1566bc(0x8f)](_0x343e44=>{const _0x25dc90=_0x1566bc;_0x4c529f[_0x25dc90(0xd6)](_0x343e44[_0x25dc90(0xb2)](_0x5966ff),{'commandName':_0x58c063,'commandParams':[]},_0x547572,_0x58c063);});});}_0x4c529f[_0xc30d8d(0xeb)][_0xc30d8d(0x95)](_0x435344=>{const _0x1f70cf=_0xc30d8d;if(_0x1f70cf(0x9f)!=_0x435344[_0x1f70cf(0xd3)]&&_0x1f70cf(0xe7)!=_0x435344[_0x1f70cf(0xd3)])return;const {data:_0x276b62}=_0x435344;return _0x276b62&&_0x1f70cf(0x97)==_0x276b62[_0x1f70cf(0xae)]?{'type':_0x1f70cf(0x9c),'content':_0x462373(_0x8b77c,_0x1f70cf(0xc2))}:void 0x0;}),_0x4c529f[_0xc30d8d(0xeb)][_0xc30d8d(0x95)](_0x2c5f73=>{const _0x179bf2=_0xc30d8d;if(_0x179bf2(0x9f)!=_0x2c5f73[_0x179bf2(0xd3)]&&_0x179bf2(0xe7)!=_0x2c5f73[_0x179bf2(0xd3)])return;const {data:_0x3e7793}=_0x2c5f73;return _0x3e7793?_0x179bf2(0xb7)==_0x3e7793[_0x179bf2(0xae)]?{'type':_0x179bf2(0x9c),'content':_0x462373(_0x8b77c,_0x179bf2(0xaf))}:_0x179bf2(0xef)==_0x3e7793[_0x179bf2(0xae)]?{'type':_0x179bf2(0x9c),'content':_0x462373(_0x8b77c,_0x179bf2(0xea))}:void 0x0:void 0x0;});const _0x4210eb=_0x5883ec[_0xc30d8d(0xb0)]();for(const _0x557ce2 of[_0xc30d8d(0xde),_0xc30d8d(0xdc),_0xc30d8d(0xd0),_0xc30d8d(0xa6)])_0x4c529f[_0xc30d8d(0x8c)][_0xc30d8d(0xb5)](_0xc30d8d(0x9f),_0x557ce2,_0xc30d8d(0xdb),_0x4210eb);for(const _0x449111 of[_0xc30d8d(0xb7),_0xc30d8d(0xef)])_0x4c529f[_0xc30d8d(0x8c)][_0xc30d8d(0xb5)](_0xc30d8d(0x9f),_0x449111,_0xc30d8d(0xdb),_0x4210eb);_0x4c529f[_0xc30d8d(0x8c)][_0xc30d8d(0xb5)](_0xc30d8d(0x9f),_0xc30d8d(0x97),_0xc30d8d(0xdb),_0x39f5b4=>{const _0x1a4ab4=_0xc30d8d;_0x147698[_0x1a4ab4(0xbc)][_0x1a4ab4(0x8f)](_0x10526e=>{const _0x24eb64=_0x1a4ab4,_0x57c994=Array[_0x24eb64(0xce)](_0x255f48[_0x24eb64(0xc5)]())[_0x24eb64(0xed)](_0x315f0f=>_0x3167c4[_0x24eb64(0xbe)](_0x315f0f));_0x10526e[_0x24eb64(0xa8)](_0x39f5b4),_0x147698[_0x24eb64(0x9a)][_0x24eb64(0xbd)](_0x24eb64(0x97))[_0x24eb64(0xdf)](),_0x147698[_0x24eb64(0xa3)](_0x24eb64(0x97),{'forceDefaultExecution':!0x0});const _0x394f6a=_0x57c994[_0x24eb64(0xcb)](_0x55d4d0=>_0x24eb64(0x9b)!=_0x55d4d0[_0x24eb64(0xc4)][_0x24eb64(0x93)]);_0x394f6a[_0x24eb64(0x91)]>0x0&&_0x10526e[_0x24eb64(0xa8)](_0x394f6a);for(const _0x1ccdcb of _0x57c994)_0x1ccdcb[_0x24eb64(0xa9)]();});});for(const _0x5b277c of[_0xc30d8d(0xde),_0xc30d8d(0xd0),_0xc30d8d(0xa6),_0xc30d8d(0xdc)]){const _0x18e064=_0x147698[_0xc30d8d(0x9a)][_0xc30d8d(0xbd)](_0x5b277c);_0x18e064['on'](_0xc30d8d(0x8e),(_0x4fae31,_0x3e719a,_0x4fafa4)=>{const _0x38259e=_0xc30d8d;if(_0x4fafa4){const _0x592d7a=_0x147698[_0x38259e(0xbc)][_0x38259e(0xc3)][_0x38259e(0x92)][_0x38259e(0xc0)]()[_0x38259e(0x9d)]()[_0x38259e(0xb1)](_0x4e43b2=>_0x4e43b2['is'](_0x38259e(0xe0),_0x38259e(0xbf)));this[_0x38259e(0xbb)](_0x18e064[_0x38259e(0xd9)],_0x592d7a)||(_0x4fae31[_0x38259e(0xc9)]=!0x1,_0x4fae31[_0x38259e(0xa4)]());}},{'priority':_0xc30d8d(0xe6)});}}[_0x41caec(0xa5)](){const _0x2c5263=_0x41caec,_0x6c28b4=this[_0x2c5263(0xe5)][_0x2c5263(0x9a)][_0x2c5263(0xbd)](_0x2c5263(0x97)),_0x4148d3=this[_0x2c5263(0xe5)][_0x2c5263(0xc6)][_0x2c5263(0xbd)](_0x2c5263(0xe9));if(!_0x6c28b4[_0x2c5263(0xd2)])return!0x1;const _0xd3c92a=_0x4148d3[_0x2c5263(0xec)](this[_0x2c5263(0xe5)][_0x2c5263(0xbc)][_0x2c5263(0xc3)][_0x2c5263(0x92)]);for(const _0x13594d of _0xd3c92a)for(const _0x112e3f of _0xd3c92a)if(_0x13594d!=_0x112e3f&&!this[_0x2c5263(0xbb)](_0x13594d,_0x112e3f))return!0x1;return!0x0;}[_0x41caec(0xbb)](_0x430b0f,_0x58dbc9){const _0x21fda5=_0x41caec,_0x362432=this[_0x21fda5(0xe5)][_0x21fda5(0xc6)][_0x21fda5(0xbd)](_0x21fda5(0xba)),_0x42ccaa=this[_0x21fda5(0xe5)][_0x21fda5(0xbc)][_0x21fda5(0xb2)](_0x430b0f),_0x33836e=this[_0x21fda5(0xe5)][_0x21fda5(0xbc)][_0x21fda5(0xb2)](_0x58dbc9),_0x3425f7=new Set(),_0x13c46e=new Set();for(const _0x1a6f26 of _0x362432[_0x21fda5(0xc7)]())if((_0x21fda5(0xb9)==_0x1a6f26[_0x21fda5(0xd3)]||_0x21fda5(0xe8)==_0x1a6f26[_0x21fda5(0xd3)]||_0x21fda5(0x97)==_0x1a6f26[_0x21fda5(0xcd)])&&_0x1a6f26[_0x21fda5(0xc1)]){for(const _0x15b1cc of _0x1a6f26[_0x21fda5(0xc5)]())_0x15b1cc[_0x21fda5(0xcc)](_0x42ccaa,!0x0)&&_0x3425f7[_0x21fda5(0xd7)](_0x1a6f26[_0x21fda5(0xd3)]+':'+_0x1a6f26[_0x21fda5(0xee)]['id']),_0x15b1cc[_0x21fda5(0xcc)](_0x33836e,!0x0)&&_0x13c46e[_0x21fda5(0xd7)](_0x1a6f26[_0x21fda5(0xd3)]+':'+_0x1a6f26[_0x21fda5(0xee)]['id']);}if(_0x3425f7[_0x21fda5(0xb8)]!=_0x13c46e[_0x21fda5(0xb8)])return!0x1;for(const _0x31fd0b of _0x3425f7)if(!_0x13c46e[_0x21fda5(0xa2)](_0x31fd0b))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5bf6f9=_0x5a9f;(function(_0x1240cf,_0x5ddaed){const _0x125a49=_0x5a9f,_0x538b6e=_0x1240cf();while(!![]){try{const _0x585def=parseInt(_0x125a49(0xdf))/0x1+-parseInt(_0x125a49(0xce))/0x2+-parseInt(_0x125a49(0xdb))/0x3*(-parseInt(_0x125a49(0xd8))/0x4)+-parseInt(_0x125a49(0xde))/0x5+-parseInt(_0x125a49(0xd9))/0x6*(parseInt(_0x125a49(0xd3))/0x7)+parseInt(_0x125a49(0xe2))/0x8*(parseInt(_0x125a49(0xd6))/0x9)+parseInt(_0x125a49(0xd7))/0xa*(parseInt(_0x125a49(0xda))/0xb);if(_0x585def===_0x5ddaed)break;else _0x538b6e['push'](_0x538b6e['shift']());}catch(_0x57b70f){_0x538b6e['push'](_0x538b6e['shift']());}}}(_0x139d,0x5e2d8));import{Plugin as _0x558d79}from'ckeditor5/src/core.js';function _0x5a9f(_0x544d9b,_0x44664c){const _0x139d11=_0x139d();return _0x5a9f=function(_0x5a9f09,_0x48413d){_0x5a9f09=_0x5a9f09-0xcb;let _0x5a9460=_0x139d11[_0x5a9f09];return _0x5a9460;},_0x5a9f(_0x544d9b,_0x44664c);}function _0x139d(){const _0x278603=['get','afterInit','1318695bPEgpp','20927jAryfX','registerElementLabel','insertTableOfContents','3848KgeyrG','enableCommand','locale','tableOfContents','1186692QtQKzV','plugins','commands','editor','ELEMENT_TABLE_OF_CONTENTS','4417XADafw','descriptionFactory','TrackChangesEditing','2763SxavIB','130sFrJQq','52932beVHDb','4146wQOSUN','1154747pYbRbq','33tcMCjc'];_0x139d=function(){return _0x278603;};return _0x139d();}import{getTranslation as _0x4f2f32}from'../utils/common-translations.js';export default class _t extends _0x558d79{[_0x5bf6f9(0xdd)](){const _0x4d9d46=_0x5bf6f9,_0x319741=this[_0x4d9d46(0xd1)];if(!_0x319741[_0x4d9d46(0xd0)][_0x4d9d46(0xdc)](_0x4d9d46(0xe1)))return;_0x319741[_0x4d9d46(0xcf)][_0x4d9d46(0xdc)](_0x4d9d46(0xd5))[_0x4d9d46(0xcb)](_0x4d9d46(0xe1));const _0x36763f=_0x319741[_0x4d9d46(0xcf)][_0x4d9d46(0xdc)](_0x4d9d46(0xd5)),_0x4a6f16=_0x319741[_0x4d9d46(0xcc)];_0x36763f[_0x4d9d46(0xd4)][_0x4d9d46(0xe0)](_0x4d9d46(0xcd),_0x4c87e5=>_0x4f2f32(_0x4a6f16,_0x4d9d46(0xd2),_0x4c87e5));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54753f=_0x15bd;function _0x15bd(_0x1b4031,_0x2219ad){const _0x4f56c6=_0x4f56();return _0x15bd=function(_0x15bd67,_0xc62952){_0x15bd67=_0x15bd67-0x16d;let _0x2c8bef=_0x4f56c6[_0x15bd67];return _0x2c8bef;},_0x15bd(_0x1b4031,_0x2219ad);}(function(_0x3443ed,_0x5d9486){const _0x514047=_0x15bd,_0x27262b=_0x3443ed();while(!![]){try{const _0x5f5dfe=parseInt(_0x514047(0x1a7))/0x1+-parseInt(_0x514047(0x197))/0x2*(-parseInt(_0x514047(0x1b0))/0x3)+parseInt(_0x514047(0x191))/0x4*(parseInt(_0x514047(0x1ad))/0x5)+parseInt(_0x514047(0x18c))/0x6*(-parseInt(_0x514047(0x195))/0x7)+parseInt(_0x514047(0x190))/0x8+-parseInt(_0x514047(0x171))/0x9+parseInt(_0x514047(0x1b4))/0xa*(-parseInt(_0x514047(0x18d))/0xb);if(_0x5f5dfe===_0x5d9486)break;else _0x27262b['push'](_0x27262b['shift']());}catch(_0x3425b4){_0x27262b['push'](_0x27262b['shift']());}}}(_0x4f56,0x8eab9));import{Plugin as _0x88bca7}from'ckeditor5/src/core.js';import{getTranslation as _0x4f3cb2}from'../utils/common-translations.js';function _0x4f56(){const _0x4dbe20=['data','locale','discard','pluginName','tableCellPadding','tableCellBackgroundColor','tableCellVerticalAlignment','registerDescriptionCallback','tableBorderStyle','getContainedElement','start','nodeAfter','tableCellBorderWidth','5002176quxObN','11yUCXUr','tableWidth','get','4458848rOiXrL','528YQMQCH','setAttribute','findAncestor','getSuggestions','7wirMQB','tableCellBorderColor','2sVSoKg','tableProperties','descriptionFactory','TrackChangesEditing','afterInit','tableCellProperties','getAttribute','getFirstPosition','table','_getSuggestion','tableAlignment','selection','accept','TableCellPropertiesEditing','editor','format','1146538fqHVlU','handleSuggestionDescription','enableCommand','getSelectionAffectedTableCells','tableCellHeight','tableCellBorderStyle','21230llWWUR','tableBackgroundColor','commandParams','2629089WhIgUp','tableBorderColor','*Format:*\x20change\x20table\x20properties','subType','10607260zgVKIh','registerCustomCallback','change','_suggestionFactory','TablePropertiesEditing','plugins','getSuggestionCallback','TrackChangesTableProperties','removeAttribute','tableCellWidth','TableUtils','handleDiscardAction','5957370yUHlDS','tableBorderWidth','tableHeight','model','batch','formatBlock','_handlePropertyChange','enqueueChange','*Format:*\x20change\x20table\x20cell\x20properties','has','tableCellHorizontalAlignment','markBlockFormat','join','document'];_0x4f56=function(){return _0x4dbe20;};return _0x4f56();}export default class $t extends _0x88bca7{constructor(_0x323f89){const _0x1849b4=_0x15bd;super(_0x323f89),this[_0x1849b4(0x198)]=[_0x1849b4(0x1b1),_0x1849b4(0x187),_0x1849b4(0x172),_0x1849b4(0x1a1),_0x1849b4(0x18e),_0x1849b4(0x173),_0x1849b4(0x1ae)],this[_0x1849b4(0x19c)]=[_0x1849b4(0x196),_0x1849b4(0x1ac),_0x1849b4(0x18b),_0x1849b4(0x183),_0x1849b4(0x16e),_0x1849b4(0x1ab),_0x1849b4(0x184),_0x1849b4(0x17b),_0x1849b4(0x185)];}static get[_0x54753f(0x182)](){const _0x299b62=_0x54753f;return _0x299b62(0x1bb);}[_0x54753f(0x19b)](){const _0x198f96=_0x54753f,_0x1336a4=this[_0x198f96(0x1a5)][_0x198f96(0x1b9)][_0x198f96(0x18f)](_0x198f96(0x19a));if(this[_0x198f96(0x1a5)][_0x198f96(0x1b9)][_0x198f96(0x17a)](_0x198f96(0x1b8))){for(const _0x422776 of this[_0x198f96(0x198)])_0x1336a4[_0x198f96(0x1a9)](_0x422776,(_0x222686,_0x5162e2)=>{const _0x4382b7=_0x198f96,_0x2f7e73=this[_0x4382b7(0x1a5)][_0x4382b7(0x174)][_0x4382b7(0x17e)][_0x4382b7(0x1a2)][_0x4382b7(0x19e)]()[_0x4382b7(0x193)](_0x4382b7(0x19f));this[_0x4382b7(0x177)](_0x422776,[_0x2f7e73],this[_0x4382b7(0x198)],_0x4382b7(0x198),_0x222686,_0x5162e2);});_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x198),_0x198f96(0x1a3),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1ba)](_0x198f96(0x176),null,_0x198f96(0x181))),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x198),_0x198f96(0x181),(_0x55bb08,_0x356af6)=>this[_0x198f96(0x170)](this[_0x198f96(0x198)],_0x55bb08,_0x356af6)),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x198),_0x198f96(0x17d),()=>!0x1);}if(this[_0x198f96(0x1a5)][_0x198f96(0x1b9)][_0x198f96(0x17a)](_0x198f96(0x1a4))){for(const _0x19d2c0 of this[_0x198f96(0x19c)])_0x1336a4[_0x198f96(0x1a9)](_0x19d2c0,(_0x5205a2,_0x26edb6)=>{const _0x334cff=_0x198f96,_0x4b6954=this[_0x334cff(0x1a5)][_0x334cff(0x1b9)][_0x334cff(0x18f)](_0x334cff(0x16f))[_0x334cff(0x1aa)](this[_0x334cff(0x1a5)][_0x334cff(0x174)][_0x334cff(0x17e)][_0x334cff(0x1a2)]);this[_0x334cff(0x177)](_0x19d2c0,_0x4b6954,this[_0x334cff(0x19c)],_0x334cff(0x19c),_0x5205a2,_0x26edb6);});_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x19c),_0x198f96(0x1a3),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1ba)](_0x198f96(0x176),null,_0x198f96(0x181))),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x19c),_0x198f96(0x181),(_0x5a7422,_0x3a08fb)=>this[_0x198f96(0x170)](this[_0x198f96(0x19c)],_0x5a7422,_0x3a08fb)),_0x1336a4[_0x198f96(0x1b7)][_0x198f96(0x1b5)](_0x198f96(0x176),_0x198f96(0x19c),_0x198f96(0x17d),()=>!0x1);}_0x1336a4[_0x198f96(0x199)][_0x198f96(0x186)](_0x21bf22=>this[_0x198f96(0x1a8)](_0x21bf22));}[_0x54753f(0x177)](_0x3867e0,_0x1f47e5,_0x2d1ef2,_0x13061a,_0x4582a7,_0x552876){const _0x44056c=_0x54753f,_0x23c3b9=this[_0x44056c(0x1a5)][_0x44056c(0x1b9)][_0x44056c(0x18f)](_0x44056c(0x19a));this[_0x44056c(0x1a5)][_0x44056c(0x174)][_0x44056c(0x178)](_0x552876[_0x44056c(0x175)],()=>{const _0x2d28a3=_0x44056c;for(const _0x3b9799 of _0x1f47e5){if(this[_0x2d28a3(0x1a0)](_0x3b9799,_0x13061a))_0x4582a7(_0x552876);else{const _0x5285aa={};for(const _0x3ccc8e of _0x2d1ef2){const _0x5952b9=_0x3b9799[_0x2d28a3(0x19d)](_0x3ccc8e);void 0x0!==_0x5952b9&&(_0x5285aa[_0x3ccc8e]=_0x5952b9);}_0x4582a7(_0x552876),_0x23c3b9[_0x2d28a3(0x17c)](_0x3b9799,{'commandParams':[_0x5285aa]},[],_0x13061a);}}});}[_0x54753f(0x170)](_0x4aa142,_0x2f0c64,_0x38879e){const _0x2ddd71=_0x54753f,_0x53cd2f=_0x2f0c64[0x0][_0x2ddd71(0x189)][_0x2ddd71(0x18a)],_0x588f2c=_0x38879e[_0x2ddd71(0x1af)][0x0];this[_0x2ddd71(0x1a5)][_0x2ddd71(0x174)][_0x2ddd71(0x1b6)](_0x3ed632=>{const _0x5cf03d=_0x2ddd71;for(const _0x3d1651 of _0x4aa142)void 0x0!==_0x588f2c[_0x3d1651]?_0x3ed632[_0x5cf03d(0x192)](_0x3d1651,_0x588f2c[_0x3d1651],_0x53cd2f):_0x3ed632[_0x5cf03d(0x16d)](_0x3d1651,_0x53cd2f);});}[_0x54753f(0x1a8)](_0x37083a){const _0x3bd019=_0x54753f;if(_0x37083a[_0x3bd019(0x17f)])switch(_0x37083a[_0x3bd019(0x1b3)]){case _0x3bd019(0x198):return{'type':_0x3bd019(0x1a6),'content':_0x4f3cb2(this[_0x3bd019(0x1a5)][_0x3bd019(0x180)],_0x3bd019(0x1b2))};case _0x3bd019(0x19c):return{'type':_0x3bd019(0x1a6),'content':_0x4f3cb2(this[_0x3bd019(0x1a5)][_0x3bd019(0x180)],_0x3bd019(0x179))};}}[_0x54753f(0x1a0)](_0x5d28a4,_0x45c833){const _0x18c170=_0x54753f,_0x19d0a0=this[_0x18c170(0x1a5)][_0x18c170(0x1b9)][_0x18c170(0x18f)](_0x18c170(0x19a));for(const _0x2a4d46 of _0x19d0a0[_0x18c170(0x194)]({'skipNotAttached':!0x0})){const _0x281c3d=_0x2a4d46[_0x18c170(0x188)]();if(_0x2a4d46[_0x18c170(0x1b3)]===_0x45c833&&_0x281c3d===_0x5d28a4)return _0x2a4d46;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x871387=_0x3519;(function(_0x38c1d1,_0x431aea){const _0x43a383=_0x3519,_0x2519f3=_0x38c1d1();while(!![]){try{const _0xa5de3d=parseInt(_0x43a383(0x156))/0x1*(-parseInt(_0x43a383(0x155))/0x2)+parseInt(_0x43a383(0x15b))/0x3+-parseInt(_0x43a383(0x159))/0x4*(-parseInt(_0x43a383(0x157))/0x5)+-parseInt(_0x43a383(0x15d))/0x6+-parseInt(_0x43a383(0x151))/0x7+parseInt(_0x43a383(0x14f))/0x8+-parseInt(_0x43a383(0x153))/0x9*(-parseInt(_0x43a383(0x15a))/0xa);if(_0xa5de3d===_0x431aea)break;else _0x2519f3['push'](_0x2519f3['shift']());}catch(_0x349244){_0x2519f3['push'](_0x2519f3['shift']());}}}(_0x53cb,0x986da));import{Plugin as _0x893035}from'ckeditor5/src/core.js';export default class Ct extends _0x893035{[_0x871387(0x160)](){const _0x3fffb0=_0x871387,_0x4201c6=this[_0x3fffb0(0x161)];_0x4201c6[_0x3fffb0(0x152)][_0x3fffb0(0x15c)](_0x3fffb0(0x15e))&&_0x4201c6[_0x3fffb0(0x152)][_0x3fffb0(0x154)](_0x3fffb0(0x15f))[_0x3fffb0(0x158)](_0x3fffb0(0x150));}}function _0x3519(_0x5b1c8f,_0x5f20ba){const _0x53cb08=_0x53cb();return _0x3519=function(_0x351983,_0x1af76e){_0x351983=_0x351983-0x14f;let _0x35e7cd=_0x53cb08[_0x351983];return _0x35e7cd;},_0x3519(_0x5b1c8f,_0x5f20ba);}function _0x53cb(){const _0xcce36d=['4eycNhJ','312320pxbEzw','915462tHfsrd','has','4229376KoXQTV','Template','TrackChangesEditing','afterInit','editor','4818088oRORwo','insertTemplate','5504324ZawrGo','plugins','432BkMyxr','get','695940tbvcqI','1ppBxdz','284965iitXHV','enableCommand'];_0x53cb=function(){return _0xcce36d;};return _0x53cb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x329b88=_0x29d6;function _0x29d6(_0x26c7aa,_0x574a29){const _0x10669b=_0x1066();return _0x29d6=function(_0x29d675,_0x10861d){_0x29d675=_0x29d675-0xee;let _0x346d31=_0x10669b[_0x29d675];return _0x346d31;},_0x29d6(_0x26c7aa,_0x574a29);}function _0x1066(){const _0x294b45=['nodeBefore','6501EjwyJN','7768TjthOW','3268130dlDKvZ','registerElementLabel','title-content','suggestion','323256RpyvKI','model','getChangedMarkers','7pZAIUu','Title','_splitMarkerName','477855nRRRYy','getNearestSelectionRange','start','isCollapsed','removeMarker','descriptionFactory','isEqual','document','get','end','afterInit','TrackChangesEditing','182bYJTwo','differ','6710934qmpdNX','forward','locale','createRange','from','editor','updateMarker','104FKscJR','308XgtccN','534132EsUVMs','plugins','1775ukjInD','element','schema','isTouching','ELEMENT_TITLE','has','registerPostFixer','22YvAIKi','newRange'];_0x1066=function(){return _0x294b45;};return _0x1066();}(function(_0x2bd6c4,_0x2b7225){const _0x2b4dd4=_0x29d6,_0x4d96a8=_0x2bd6c4();while(!![]){try{const _0x3298a2=-parseInt(_0x2b4dd4(0xfc))/0x1*(parseInt(_0x2b4dd4(0xef))/0x2)+parseInt(_0x2b4dd4(0xf0))/0x3+-parseInt(_0x2b4dd4(0xfd))/0x4*(parseInt(_0x2b4dd4(0xf2))/0x5)+parseInt(_0x2b4dd4(0x116))/0x6*(parseInt(_0x2b4dd4(0x105))/0x7)+parseInt(_0x2b4dd4(0xee))/0x8*(parseInt(_0x2b4dd4(0x108))/0x9)+-parseInt(_0x2b4dd4(0xfe))/0xa*(-parseInt(_0x2b4dd4(0xf9))/0xb)+parseInt(_0x2b4dd4(0x102))/0xc*(-parseInt(_0x2b4dd4(0x114))/0xd);if(_0x3298a2===_0x2b7225)break;else _0x4d96a8['push'](_0x4d96a8['shift']());}catch(_0x563122){_0x4d96a8['push'](_0x4d96a8['shift']());}}}(_0x1066,0x8bd1a));import{Plugin as _0x4ee2b4}from'ckeditor5/src/core.js';import{getTranslation as _0x1e0a3f}from'../utils/common-translations.js';export default class Dt extends _0x4ee2b4{[_0x329b88(0x112)](){const _0x23842b=_0x329b88,_0x18bdfb=this[_0x23842b(0x11b)];if(!_0x18bdfb[_0x23842b(0xf1)][_0x23842b(0xf7)](_0x23842b(0x106)))return;const _0x7fc15d=_0x18bdfb[_0x23842b(0xf1)][_0x23842b(0x110)](_0x23842b(0x113));_0x7fc15d[_0x23842b(0x10d)][_0x23842b(0xff)](_0x23842b(0x100),()=>_0x1e0a3f(_0x18bdfb[_0x23842b(0x118)],_0x23842b(0xf6))),_0x18bdfb[_0x23842b(0x103)][_0x23842b(0x10f)][_0x23842b(0xf8)](_0x5c88c6=>{const _0x124450=_0x23842b;let _0x360571=!0x1;const _0x485318=Array[_0x124450(0x11a)](_0x18bdfb[_0x124450(0x103)][_0x124450(0x10f)][_0x124450(0x115)][_0x124450(0x104)]());for(const {name:_0x2f65cc,data:_0x18f487}of _0x485318){const {group:_0x3ba1e5}=_0x7fc15d[_0x124450(0x107)](_0x2f65cc);if(_0x124450(0x101)!==_0x3ba1e5||!_0x18f487[_0x124450(0xfa)])continue;const _0x1dbd72=_0x18f487[_0x124450(0xfa)],_0x4ce3dd=_0x1dbd72[_0x124450(0x111)][_0x124450(0xfb)];if(!_0x4ce3dd||!_0x4ce3dd['is'](_0x124450(0xf3),_0x124450(0x100)))continue;if(!_0x1dbd72[_0x124450(0x10a)][_0x124450(0xf5)](_0x1dbd72[_0x124450(0x111)]))continue;const _0x6f1a39=_0x18bdfb[_0x124450(0x103)][_0x124450(0xf4)][_0x124450(0x109)](_0x1dbd72[_0x124450(0x111)],_0x124450(0x117));if(_0x6f1a39&&_0x6f1a39[_0x124450(0x10b)]){const _0x183671=_0x5c88c6[_0x124450(0x119)](_0x1dbd72[_0x124450(0x10a)],_0x6f1a39[_0x124450(0x10a)]);_0x183671[_0x124450(0x10e)](_0x1dbd72)||(_0x5c88c6[_0x124450(0x11c)](_0x2f65cc,{'range':_0x183671}),_0x360571=!0x0);}_0x360571||(_0x5c88c6[_0x124450(0x10c)](_0x2f65cc),_0x360571=!0x0);}return _0x360571;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x349bce=_0x4935;function _0x58a0(){const _0x5f5be9=['14810UQLfNv','1110009wttvvh','has','152DLVBbv','enableCommand','afterInit','9165042RTcHhG','TrackChangesEditing','undo','3715420UNeRpo','1068QzpSAo','8bQxKhy','537442hfEplh','16472110eQHDjB','get','plugins','UndoEditing','redo','73962xoUzKJ','editor'];_0x58a0=function(){return _0x5f5be9;};return _0x58a0();}(function(_0x203bb2,_0x54e636){const _0x59dbe7=_0x4935,_0x5d7b6d=_0x203bb2();while(!![]){try{const _0x164d55=-parseInt(_0x59dbe7(0x132))/0x1+-parseInt(_0x59dbe7(0x131))/0x2*(-parseInt(_0x59dbe7(0x13b))/0x3)+parseInt(_0x59dbe7(0x12f))/0x4+-parseInt(_0x59dbe7(0x13a))/0x5*(parseInt(_0x59dbe7(0x130))/0x6)+-parseInt(_0x59dbe7(0x138))/0x7*(-parseInt(_0x59dbe7(0x13d))/0x8)+parseInt(_0x59dbe7(0x140))/0x9+-parseInt(_0x59dbe7(0x133))/0xa;if(_0x164d55===_0x54e636)break;else _0x5d7b6d['push'](_0x5d7b6d['shift']());}catch(_0x446f50){_0x5d7b6d['push'](_0x5d7b6d['shift']());}}}(_0x58a0,0xdfa66));function _0x4935(_0x112936,_0x4184a5){const _0x58a0d7=_0x58a0();return _0x4935=function(_0x493549,_0x293825){_0x493549=_0x493549-0x12f;let _0x4ba9e7=_0x58a0d7[_0x493549];return _0x4ba9e7;},_0x4935(_0x112936,_0x4184a5);}import{Plugin as _0x43fc2f}from'ckeditor5/src/core.js';export default class Nt extends _0x43fc2f{[_0x349bce(0x13f)](){const _0x448ecb=_0x349bce,_0x11f51e=this[_0x448ecb(0x139)],_0x4184c6=_0x11f51e[_0x448ecb(0x135)][_0x448ecb(0x134)](_0x448ecb(0x141));_0x11f51e[_0x448ecb(0x135)][_0x448ecb(0x13c)](_0x448ecb(0x136))&&(_0x4184c6[_0x448ecb(0x13e)](_0x448ecb(0x142)),_0x4184c6[_0x448ecb(0x13e)](_0x448ecb(0x137)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x20a8(){const _0x2afd71=['consumable','createRangeOn','mapper','schema','ck-suggestion-marker-','activeMarkers','bindElementToMarker','532847odgxQH','1960016RDNTAS','insert','name','elementEnd','960xiYUjc','getItems','previousPosition','addHighlight','TrackChangesEditing','nextSibling','item','12030TGxNTS','isBlock','type','1073685WazvRf','ck-suggestion-marker--active','toViewElement','isAtEnd','4834109BeocjR','getCustomProperty','2345760IovFHQ','parent','markerRange','getWalker','695792KPMaox','model','45RMfrWZ','isContent','get','isLimit','start','includes','span','plugins','createUIElement','toViewPosition','writer','hasAttribute','push','markerName','addClass','test'];_0x20a8=function(){return _0x2afd71;};return _0x20a8();}function _0x3e99(_0x1bc1bc,_0x53e6e0){const _0x20a894=_0x20a8();return _0x3e99=function(_0x3e99f3,_0x269838){_0x3e99f3=_0x3e99f3-0x106;let _0x5684ce=_0x20a894[_0x3e99f3];return _0x5684ce;},_0x3e99(_0x1bc1bc,_0x53e6e0);}(function(_0x27d1cd,_0x3e02f1){const _0x4bff10=_0x3e99,_0x5bc8fc=_0x27d1cd();while(!![]){try{const _0x4efd0b=-parseInt(_0x4bff10(0x118))/0x1+parseInt(_0x4bff10(0x131))/0x2+-parseInt(_0x4bff10(0x127))/0x3+parseInt(_0x4bff10(0x11d))/0x4*(-parseInt(_0x4bff10(0x124))/0x5)+-parseInt(_0x4bff10(0x12d))/0x6+parseInt(_0x4bff10(0x12b))/0x7+parseInt(_0x4bff10(0x119))/0x8*(parseInt(_0x4bff10(0x133))/0x9);if(_0x4efd0b===_0x3e02f1)break;else _0x5bc8fc['push'](_0x5bc8fc['shift']());}catch(_0x3d799a){_0x5bc8fc['push'](_0x5bc8fc['shift']());}}}(_0x20a8,0x62b7f));export function getRangesWithAttribute(_0x3ccfa7,_0x283e2c,_0x4d99bb){const _0x3011a4=_0x3e99,_0x56eb59=[];for(const _0x423b33 of _0x283e2c[_0x3011a4(0x11e)]())_0x423b33[_0x3011a4(0x10c)](_0x3ccfa7)&&_0x56eb59[_0x3011a4(0x10d)](_0x4d99bb[_0x3011a4(0x112)](_0x423b33));return _0x56eb59;}export function downcastSplitMergeMarker(_0xf3a0b3,_0x2bbcc9,{showActiveMarker:_0x356f0b=!0x0}={}){const _0x59a79b=_0x3e99,_0x5b9556=_0xf3a0b3[_0x59a79b(0x108)][_0x59a79b(0x135)](_0x59a79b(0x121));return(_0x395cb5,_0x5127eb,_0x376af9)=>{const _0x65c2b6=_0x59a79b;if(!_0x376af9[_0x65c2b6(0x111)][_0x65c2b6(0x110)](_0x5127eb[_0x65c2b6(0x12f)],_0x395cb5[_0x65c2b6(0x11b)]))return;const _0x17be69=_0x5127eb[_0x65c2b6(0x12f)][_0x65c2b6(0x130)](),_0x2eb257=_0x5127eb[_0x65c2b6(0x12f)][_0x65c2b6(0x137)],_0x2c9c0d=_0xf3a0b3[_0x65c2b6(0x132)][_0x65c2b6(0x114)];let _0x3738a8=null,_0x7525db=null,_0x4db44f=!0x1,_0x5e1649=!0x1;for(const _0x2c3b68 of _0x17be69){const _0x539b8a=_0x2c3b68[_0x65c2b6(0x123)];_0x4db44f=_0x4db44f||_0x2c9c0d[_0x65c2b6(0x134)](_0x539b8a);const _0x2ff2c0=_0x376af9[_0x65c2b6(0x113)][_0x65c2b6(0x129)](_0x539b8a);if(_0x2ff2c0&&_0x2ff2c0[_0x65c2b6(0x12c)](_0x65c2b6(0x120)))return;_0x65c2b6(0x11c)==_0x2c3b68[_0x65c2b6(0x126)]&&(_0x2c9c0d[_0x65c2b6(0x125)](_0x539b8a)&&!_0x2c9c0d[_0x65c2b6(0x136)](_0x539b8a)&&(_0x539b8a[_0x65c2b6(0x122)]||_0x2eb257[_0x65c2b6(0x12a)]?_0x3738a8&&_0x3738a8[_0x65c2b6(0x12e)]==_0x539b8a||(_0x3738a8=_0x539b8a,_0x56bd21(_0x2c3b68[_0x65c2b6(0x11f)]),_0x5e1649=!0x0):_0x7525db=_0x7525db||_0x2c3b68[_0x65c2b6(0x11f)]));}function _0x56bd21(_0x140f0f){const _0xf06b5c=_0x65c2b6,_0x57c049=_0x376af9[_0xf06b5c(0x10b)][_0xf06b5c(0x109)](_0xf06b5c(0x107),{'class':_0xf06b5c(0x115)+_0x2bbcc9}),_0x132c18=_0x376af9[_0xf06b5c(0x113)][_0xf06b5c(0x10a)](_0x140f0f);_0x356f0b&&_0x5b9556[_0xf06b5c(0x116)][_0xf06b5c(0x106)](_0x5127eb[_0xf06b5c(0x10e)])&&_0x376af9[_0xf06b5c(0x10b)][_0xf06b5c(0x10f)](_0xf06b5c(0x128),_0x57c049),_0x376af9[_0xf06b5c(0x10b)][_0xf06b5c(0x11a)](_0x132c18,_0x57c049),_0x376af9[_0xf06b5c(0x113)][_0xf06b5c(0x117)](_0x57c049,_0x5127eb[_0xf06b5c(0x10e)]);}_0x4db44f||_0x5e1649||!_0x7525db||_0x56bd21(_0x7525db);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4d4e3a=_0x5385;(function(_0x326632,_0x4a8b61){const _0x3f6b92=_0x5385,_0x532614=_0x326632();while(!![]){try{const _0x2c6bc0=parseInt(_0x3f6b92(0x1f6))/0x1*(-parseInt(_0x3f6b92(0x1db))/0x2)+parseInt(_0x3f6b92(0x216))/0x3+-parseInt(_0x3f6b92(0x21d))/0x4*(parseInt(_0x3f6b92(0x202))/0x5)+parseInt(_0x3f6b92(0x1fb))/0x6+-parseInt(_0x3f6b92(0x201))/0x7+parseInt(_0x3f6b92(0x222))/0x8+-parseInt(_0x3f6b92(0x1f8))/0x9;if(_0x2c6bc0===_0x4a8b61)break;else _0x532614['push'](_0x532614['shift']());}catch(_0xb86476){_0x532614['push'](_0x532614['shift']());}}}(_0x55d6,0xbe544));function _0x55d6(){const _0x2fa5d6=['start','9511yNCGDZ','from','6179607WyVsIK','attributes','hasComments','5398488lDFLGk','_onAttributesChange','data','map','decorate','push','512477wYsNgK','684295gLrZvB','removeAttribute','@external','getMarkers','previous','filter','head','accept','delete','_onDiscard','markers','commentThread','set','substr','reduce','split','removeMarker','onAccept','setAttribute','_onAccept','1951848ZmlVku','clear','addMarkerName','_markerNames','getItems','subType','authoredAt','20jNBbxT','_model','_saved','getFirstRange','change','5615088yCLeAB','_isDataLoaded','getMarkerNames','isMultiRange','add','nodeBefore','creator','isExternal','isInContent','6UqmWbx','getFirstMarker','createdAt','suggestion:','getAllAdjacentSuggestions','type','end','nodeAfter','next','isIntersectingWithRange','onDiscard','getRange','get','getRanges','size','isIntersecting','addMarker','discard','removeMarkers','getContainedElement','author','onAttributesChange','toJSON','addRange','getMultiRangeId','length'];_0x55d6=function(){return _0x2fa5d6;};return _0x55d6();}function _0x5385(_0x496ae8,_0x24bccd){const _0x55d610=_0x55d6();return _0x5385=function(_0x538528,_0x49cf1c){_0x538528=_0x538528-0x1db;let _0x1cfef9=_0x55d610[_0x538528];return _0x1cfef9;},_0x5385(_0x496ae8,_0x24bccd);}import{Element as _0x2f4795}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x54c420,uid as _0x50be85}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1543f6,isEqual as _0x349031,set as _0x1f6a95,unset as _0x32fab7}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54c420(){constructor(_0xe4918c,_0x4ae6c5){const _0x2d3f8a=_0x5385;super(),this[_0x2d3f8a(0x223)]=!0x1,this['id']=_0x4ae6c5['id'],this[_0x2d3f8a(0x1e0)]=_0x4ae6c5[_0x2d3f8a(0x1e0)],this[_0x2d3f8a(0x21b)]=_0x4ae6c5[_0x2d3f8a(0x21b)]||null,this[_0x2d3f8a(0x1ef)]=_0x4ae6c5[_0x2d3f8a(0x1ef)],this[_0x2d3f8a(0x228)]=_0x4ae6c5[_0x2d3f8a(0x228)]||_0x4ae6c5[_0x2d3f8a(0x1ef)],this[_0x2d3f8a(0x229)]=Boolean(_0x4ae6c5[_0x2d3f8a(0x1f9)]&&_0x4ae6c5[_0x2d3f8a(0x1f9)][_0x2d3f8a(0x204)]),this[_0x2d3f8a(0x1fd)]=null,this[_0x2d3f8a(0x21e)]=_0xe4918c,this[_0x2d3f8a(0x215)]=_0x4ae6c5[_0x2d3f8a(0x213)],this[_0x2d3f8a(0x20b)]=_0x4ae6c5[_0x2d3f8a(0x1e5)],this[_0x2d3f8a(0x1fc)]=_0x4ae6c5[_0x2d3f8a(0x1f0)],this[_0x2d3f8a(0x219)]=new Set(),this[_0x2d3f8a(0x1dd)]=null,this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x21c),null),this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x1f9),_0x4ae6c5[_0x2d3f8a(0x1f9)]||{}),this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x206),null),this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x1e3),null),this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x20d),null),this[_0x2d3f8a(0x20e)](_0x2d3f8a(0x21f),!0x1),this[_0x2d3f8a(0x1ff)](_0x2d3f8a(0x209)),this[_0x2d3f8a(0x1ff)](_0x2d3f8a(0x1ec));}get[_0x4d4e3a(0x208)](){const _0xfe21d2=_0x4d4e3a;let _0x47ca31=this;for(;_0x47ca31[_0xfe21d2(0x206)];)_0x47ca31=_0x47ca31[_0xfe21d2(0x206)];return _0x47ca31;}get[_0x4d4e3a(0x1fa)](){const _0x5b391d=_0x4d4e3a;return!!this[_0x5b391d(0x20d)]&&this[_0x5b391d(0x20d)][_0x5b391d(0x1f4)]>0x0;}get[_0x4d4e3a(0x225)](){const _0x339d65=_0x4d4e3a;if(0x0==this[_0x339d65(0x219)][_0x339d65(0x1e9)])return!0x1;return 0x6==Array[_0x339d65(0x1f7)](this[_0x339d65(0x219)])[0x0][_0x339d65(0x211)](':')[_0x339d65(0x1f4)];}get[_0x4d4e3a(0x22a)](){const _0x50cc54=_0x4d4e3a;return null!==this[_0x50cc54(0x1dc)]();}[_0x4d4e3a(0x218)](_0xf0696a){const _0x59ce7b=_0x4d4e3a;this[_0x59ce7b(0x219)][_0x59ce7b(0x226)](_0xf0696a);}[_0x4d4e3a(0x224)](){const _0x148687=_0x4d4e3a;return Array[_0x148687(0x1f7)](this[_0x148687(0x219)]);}[_0x4d4e3a(0x205)](){const _0x424e23=_0x4d4e3a;return this[_0x424e23(0x224)]()[_0x424e23(0x1fe)](_0x1f3b9e=>this[_0x424e23(0x21e)][_0x424e23(0x20c)][_0x424e23(0x1e7)](_0x1f3b9e))[_0x424e23(0x207)](_0xb5cdbc=>_0xb5cdbc);}[_0x4d4e3a(0x1dc)](){const _0x52b1b1=_0x4d4e3a;return this[_0x52b1b1(0x205)]()[0x0]||null;}[_0x4d4e3a(0x1ed)](){const _0x56f4dd=_0x4d4e3a;this[_0x56f4dd(0x21e)][_0x56f4dd(0x221)](_0xbcf122=>{const _0x1e42fc=_0x56f4dd;for(const _0xf0518d of this[_0x1e42fc(0x205)]())_0xbcf122[_0x1e42fc(0x212)](_0xf0518d);}),this[_0x56f4dd(0x219)][_0x56f4dd(0x217)]();}[_0x4d4e3a(0x212)](_0x160f1d){const _0x255d2b=_0x4d4e3a;this[_0x255d2b(0x21e)][_0x255d2b(0x221)](_0x2c5418=>{const _0x2d8e51=_0x255d2b;_0x2c5418[_0x2d8e51(0x212)](_0x160f1d);}),this[_0x255d2b(0x219)][_0x255d2b(0x20a)](_0x160f1d);}[_0x4d4e3a(0x1f2)](_0x2377ff){const _0x200f86=_0x4d4e3a,_0x49039c=_0x200f86(0x1de)+this[_0x200f86(0x1e0)]+':'+this[_0x200f86(0x21b)]+':'+this['id']+':'+this[_0x200f86(0x228)]['id']+':'+u[_0x200f86(0x1f3)]();this[_0x200f86(0x218)](_0x49039c),this[_0x200f86(0x21e)][_0x200f86(0x221)](_0x5e215e=>{const _0x14f75a=_0x200f86;_0x5e215e[_0x14f75a(0x1eb)](_0x49039c,{'range':_0x2377ff,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4d4e3a(0x1e4)](_0x395c9c){const _0xd5c2fd=_0x4d4e3a;for(const _0x5021bc of this[_0xd5c2fd(0x1e8)]())if(_0x5021bc[_0xd5c2fd(0x1ea)](_0x395c9c))return!0x0;return!0x1;}[_0x4d4e3a(0x1e8)](){const _0x51a7ef=_0x4d4e3a;return this[_0x51a7ef(0x205)]()[_0x51a7ef(0x1fe)](_0x3df510=>_0x3df510[_0x51a7ef(0x1e6)]());}[_0x4d4e3a(0x21a)](){const _0x204deb=_0x4d4e3a;return this[_0x204deb(0x1e8)]()[_0x204deb(0x210)]((_0xbc750e,_0x561ebe)=>[..._0xbc750e,..._0x561ebe[_0x204deb(0x21a)]()],[]);}[_0x4d4e3a(0x220)](){const _0x530d6d=_0x4d4e3a;var _0x573b5d;return(null===(_0x573b5d=this[_0x530d6d(0x1dc)]())||void 0x0===_0x573b5d?void 0x0:_0x573b5d[_0x530d6d(0x1e6)]())||null;}[_0x4d4e3a(0x1ee)](){const _0x2db8b5=_0x4d4e3a,_0x4c229a=this[_0x2db8b5(0x1e8)]();if(0x1!=_0x4c229a[_0x2db8b5(0x1f4)])return null;const _0xeda18d=_0x4c229a[0x0],_0x38eec8=_0xeda18d[_0x2db8b5(0x1f5)][_0x2db8b5(0x1e2)],_0x209697=_0xeda18d[_0x2db8b5(0x1e1)][_0x2db8b5(0x227)];return _0x38eec8 instanceof _0x2f4795?_0x38eec8!=_0x209697?null:_0x38eec8:null;}[_0x4d4e3a(0x209)](){const _0x4aa9d6=_0x4d4e3a;this[_0x4aa9d6(0x215)](this[_0x4aa9d6(0x1e8)](),this[_0x4aa9d6(0x1fd)],this[_0x4aa9d6(0x1f9)]),this[_0x4aa9d6(0x1ed)]();}[_0x4d4e3a(0x1ec)](){const _0xc04c35=_0x4d4e3a;this[_0xc04c35(0x20b)](this[_0xc04c35(0x1e8)](),this[_0xc04c35(0x1fd)],this[_0xc04c35(0x1f9)]),this[_0xc04c35(0x1ed)]();}[_0x4d4e3a(0x1df)](){const _0x1f9155=_0x4d4e3a,_0xce70e3=[];let _0x194864=this[_0x1f9155(0x208)];for(;_0x194864;)_0xce70e3[_0x1f9155(0x200)](_0x194864),_0x194864=_0x194864[_0x1f9155(0x1e3)];return _0xce70e3;}[_0x4d4e3a(0x214)](_0x575ba0,_0x2f2e97){const _0x57b8d8=_0x4d4e3a,_0x508ab4=_0x1543f6(this[_0x57b8d8(0x1f9)]);_0x1f6a95(_0x508ab4,_0x575ba0,_0x2f2e97),_0x349031(_0x508ab4,this[_0x57b8d8(0x1f9)])||(this[_0x57b8d8(0x1f9)]=_0x508ab4,this[_0x57b8d8(0x1fc)](_0x508ab4));}[_0x4d4e3a(0x203)](_0x461643){const _0x4cc20b=_0x4d4e3a,_0x271274=_0x1543f6(this[_0x4cc20b(0x1f9)]);_0x32fab7(_0x271274,_0x461643),_0x349031(_0x271274,this[_0x4cc20b(0x1f9)])||(this[_0x4cc20b(0x1f9)]=_0x271274,this[_0x4cc20b(0x1fc)](this[_0x4cc20b(0x1f9)]));}[_0x4d4e3a(0x1f1)](){const _0x42bb35=_0x4d4e3a;return{'id':this['id'],'type':this[_0x42bb35(0x21b)]?this[_0x42bb35(0x1e0)]+':'+this[_0x42bb35(0x21b)]:this[_0x42bb35(0x1e0)],'authorId':this[_0x42bb35(0x228)]['id'],'createdAt':this[_0x42bb35(0x1dd)],'hasComments':this[_0x42bb35(0x1fa)],'data':this[_0x42bb35(0x1fd)],'attributes':this[_0x42bb35(0x1f9)]};}static[_0x4d4e3a(0x1f3)](){const _0x5135ca=_0x4d4e3a;return _0x50be85()[_0x5135ca(0x20f)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xb04b(_0x2eb494,_0x12b80d){const _0x5b9721=_0x5b97();return _0xb04b=function(_0xb04b2d,_0x371711){_0xb04b2d=_0xb04b2d-0x186;let _0x3e87c5=_0x5b9721[_0xb04b2d];return _0x3e87c5;},_0xb04b(_0x2eb494,_0x12b80d);}const _0x430590=_0xb04b;function _0x5b97(){const _0x3a03e6=['add','_addDescriptionItems','isEqual','Object','name','_handleInsertRemoveSuggestionDescription','4614950hBRkST','_handleAttributeSuggestionDescription','registerDescriptionCallback','start','element','$text','$textProxy','matchingCallback','removeObject','label','quantity','data','3426777MenyHC','_resolveDescriptionItems','Container','format','isInContent','length','43446FMTeNG','nextSibling','removeContainer','indexOf','registerElementLabel','_handleRenameSuggestionDescription','deletion','checkChild','map','*Set\x20format:*\x20%0','REPLACE_TEXT','set','_attributeLabels','_schema','getDescriptions','normal','end','723152MkJHcB','get','getItemLabel','addFormat','removeEmptyContainer','isEmpty','remove','*Remove:*\x20%0','insertion','function','softBreak','addObject','getWalker','ELEMENT_SPACE','EmptyContainer','pop','_handleCustomCallbackDescription','*Split:*\x20%0','_itemLabelsCallbacks','item','1141LBUpBy','skip','_customCallbacks','*Remove\x20format:*\x20%0','has','replace','$1\x20$2','*Merge:*\x20%0','attribute','3243848DdAHmX','addEmptyContainer','newValue','match','getFirstRange','*Insert:*\x20%0','text','join','_locale','previousSibling','addContainer','359659bSjbQD','elementEnd','15791481inTEsF','isObject','elementStart','nodeAfter','registerAttributeLabel','2ryJqBy','key','push','*Change\x20to:*\x20%0','subType','type','removeFormat','_itemLabels'];_0x5b97=function(){return _0x3a03e6;};return _0x5b97();}(function(_0x1fc9d3,_0x4e7f66){const _0x3334f3=_0xb04b,_0x4e5e97=_0x1fc9d3();while(!![]){try{const _0x1933ca=-parseInt(_0x3334f3(0x1a6))/0x1+-parseInt(_0x3334f3(0x1ad))/0x2*(-parseInt(_0x3334f3(0x1c7))/0x3)+-parseInt(_0x3334f3(0x1de))/0x4+-parseInt(_0x3334f3(0x1bb))/0x5+-parseInt(_0x3334f3(0x1cd))/0x6*(parseInt(_0x3334f3(0x192))/0x7)+parseInt(_0x3334f3(0x19b))/0x8+parseInt(_0x3334f3(0x1a8))/0x9;if(_0x1933ca===_0x4e7f66)break;else _0x4e5e97['push'](_0x4e5e97['shift']());}catch(_0x5e7beb){_0x4e5e97['push'](_0x4e5e97['shift']());}}}(_0x5b97,0xa0cc5));import{getTranslation as _0x39cb8d}from'./utils/common-translations.js';import{priorities as _0x1e6477,insertToPriorityArray as _0x2f087c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x5f3533}from'./trackchangesediting.js';export default class f{constructor(_0x51c323,_0x1c813a){const _0x15c41f=_0xb04b;this[_0x15c41f(0x194)]=[],this[_0x15c41f(0x1b4)]=new Map(),this[_0x15c41f(0x190)]=[],this[_0x15c41f(0x1d9)]=new Map(),this[_0x15c41f(0x1da)]=_0x51c323,this[_0x15c41f(0x1a3)]=_0x1c813a;}[_0x430590(0x1db)](_0x58ec01){const _0xce06bf=_0x430590,_0x45c8ee=[],_0x42cb73=new Set(),_0x814f9=new Set();for(let _0x1d937c=0x0;_0x1d937c<_0x58ec01[_0xce06bf(0x1cc)];_0x1d937c++){const _0x5de04b=_0x58ec01[_0x1d937c];if(!_0x5de04b[_0xce06bf(0x1cb)])continue;const _0x90a10f=this[_0xce06bf(0x18e)](_0x5de04b);if(_0x90a10f){if(null!=_0x5de04b[_0xce06bf(0x1b1)]){if(_0x42cb73[_0xce06bf(0x196)](_0x5de04b[_0xce06bf(0x1b1)]))continue;_0x42cb73[_0xce06bf(0x1b5)](_0x5de04b[_0xce06bf(0x1b1)]);}_0x45c8ee[_0xce06bf(0x1af)](_0x90a10f);}else{if(_0xce06bf(0x19a)!=_0x5de04b[_0xce06bf(0x1b2)])_0xce06bf(0x186)!=_0x5de04b[_0xce06bf(0x1b2)]&&_0xce06bf(0x1d3)!=_0x5de04b[_0xce06bf(0x1b2)]||this[_0xce06bf(0x1ba)](_0x45c8ee,_0x5de04b,_0x58ec01[_0x1d937c+0x1]);else{const _0xdea6d1=_0x5de04b[_0xce06bf(0x1c6)][_0xce06bf(0x1ae)];if(_0x814f9[_0xce06bf(0x196)](_0xdea6d1))continue;_0x814f9[_0xce06bf(0x1b5)](_0x5de04b[_0xce06bf(0x1c6)][_0xce06bf(0x1ae)]),_0xdea6d1==_0x5f3533?this[_0xce06bf(0x1d2)](_0x45c8ee,_0x5de04b):this[_0xce06bf(0x1bc)](_0x45c8ee,_0x5de04b);}}}return this[_0xce06bf(0x1c8)](_0x45c8ee);}[_0x430590(0x1bd)](_0x48ad85){const _0x3b9e49=_0x430590;this[_0x3b9e49(0x194)][_0x3b9e49(0x1af)](_0x48ad85);}[_0x430590(0x1d1)](_0x2ab78d,_0x36c6ca,_0x2369ee=_0x1e6477[_0x430590(0x1dc)]){const _0x36895f=_0x430590;_0x36895f(0x187)==typeof _0x2ab78d?_0x2f087c(this[_0x36895f(0x190)],{'matchingCallback':_0x2ab78d,'label':_0x36c6ca,'priority':_0x2369ee}):this[_0x36895f(0x1b4)][_0x36895f(0x1d8)](_0x2ab78d,_0x36c6ca);}[_0x430590(0x1ac)](_0x557c11,_0xf9ff47){const _0x1e4da4=_0x430590;this[_0x1e4da4(0x1d9)][_0x1e4da4(0x1d8)](_0x557c11,_0xf9ff47);}[_0x430590(0x1e0)](_0x1f8842,_0x49cfe6=0x1){const _0x431412=_0x430590;let _0xe7b42f;for(const _0x19a2b4 of this[_0x431412(0x190)])if(_0x19a2b4[_0x431412(0x1c2)](_0x1f8842)){_0xe7b42f=_0x19a2b4[_0x431412(0x1c4)];break;}return _0xe7b42f||(_0xe7b42f=this[_0x431412(0x1b4)][_0x431412(0x1df)](_0x1f8842[_0x431412(0x1b9)])),_0xe7b42f?_0xe7b42f(_0x49cfe6):0x1!==_0x49cfe6?_0x49cfe6+'\x20'+_0x1f8842[_0x431412(0x1b9)]+'s':''+_0x1f8842[_0x431412(0x1b9)];}[_0x430590(0x1b6)](_0x5e42b2,_0x45314b){const _0x346232=_0x430590,_0x38524a=_0x45314b[_0x346232(0x19f)]()[_0x346232(0x18a)](),_0x3f6b37=_0x346232(0x186)==_0x45314b[_0x346232(0x1b2)]?_0x346232(0x1b5):_0x346232(0x1e4);for(const _0x33d1e2 of _0x38524a){const _0x471225=_0x33d1e2[_0x346232(0x191)],_0x2af0d4=_0x5e42b2[_0x5e42b2[_0x346232(0x1cc)]-0x1];if(_0x471225['is'](_0x346232(0x1c1)))_0x2af0d4&&_0x2af0d4[_0x346232(0x1b2)][_0x346232(0x1d0)](_0x346232(0x1c9))>-0x1&&_0x5e42b2[_0x346232(0x18d)](),_0x2af0d4&&_0x346232(0x1a1)==_0x2af0d4[_0x346232(0x1b2)]?_0x2af0d4[_0x3f6b37]+=_0x471225[_0x346232(0x1c6)]:_0x5e42b2[_0x346232(0x1af)]({'type':_0x346232(0x1a1),'add':_0x346232(0x1b5)==_0x3f6b37?_0x471225[_0x346232(0x1c6)]:'','remove':_0x346232(0x1e4)==_0x3f6b37?_0x471225[_0x346232(0x1c6)]:''});else{if(this[_0x346232(0x1da)][_0x346232(0x1a9)](_0x471225)){const _0x5a504c=_0x471225;if(_0x2af0d4&&_0x2af0d4[_0x346232(0x1b2)][_0x346232(0x1d0)](_0x346232(0x1c9))>-0x1&&_0x5e42b2[_0x346232(0x18d)](),_0x346232(0x1a7)==_0x33d1e2[_0x346232(0x1b2)])continue;_0x2af0d4&&_0x2af0d4[_0x346232(0x1b2)]==_0x3f6b37+_0x346232(0x1b8)&&_0x2af0d4[_0x346232(0x1bf)][_0x346232(0x1b9)]==_0x5a504c[_0x346232(0x1b9)]?_0x2af0d4[_0x346232(0x1c5)]++:_0x5e42b2[_0x346232(0x1af)]({'type':_0x3f6b37+_0x346232(0x1b8),'element':_0x5a504c,'quantity':0x1}),_0x38524a[_0x346232(0x193)](_0x4bdf44=>!(_0x346232(0x1a7)==_0x4bdf44[_0x346232(0x1b2)]&&_0x4bdf44[_0x346232(0x191)]==_0x471225));}else{if(this[_0x346232(0x1da)][_0x346232(0x1d4)](_0x471225,_0x346232(0x1c0))||_0x471225['is'](_0x346232(0x1bf),_0x346232(0x188))){const _0x5b156e=_0x471225;if(_0x346232(0x1b5)==_0x3f6b37&&_0x346232(0x1aa)==_0x33d1e2[_0x346232(0x1b2)]||_0x346232(0x1e4)==_0x3f6b37&&_0x346232(0x1a7)==_0x33d1e2[_0x346232(0x1b2)])continue;if(_0x2af0d4&&-0x1==_0x2af0d4[_0x346232(0x1b2)][_0x346232(0x1d0)](_0x346232(0x1c9))){_0x346232(0x1a1)==_0x2af0d4[_0x346232(0x1b2)]&&(_0x2af0d4[_0x3f6b37]+='\x0a');continue;}let _0x569251;if(_0x569251=_0x346232(0x1b5)==_0x3f6b37?_0x5b156e[_0x346232(0x1ce)]&&!this[_0x346232(0x1da)][_0x346232(0x1a9)](_0x5b156e[_0x346232(0x1ce)])?_0x5b156e[_0x346232(0x1ce)]:null:_0x5b156e[_0x346232(0x1a4)]&&!this[_0x346232(0x1da)][_0x346232(0x1a9)](_0x5b156e[_0x346232(0x1a4)])?_0x5b156e[_0x346232(0x1a4)]:null,_0x5b156e[_0x346232(0x1e3)]||_0x569251&&_0x569251[_0x346232(0x1e3)]){const _0xa96431=_0x569251&&_0x569251[_0x346232(0x1e3)]?_0x569251:_0x5b156e;_0x2af0d4&&_0x2af0d4[_0x346232(0x1b2)]==_0x3f6b37+_0x346232(0x18c)&&_0x2af0d4[_0x346232(0x1bf)][_0x346232(0x1b9)]==_0xa96431[_0x346232(0x1b9)]?_0x2af0d4[_0x346232(0x1c5)]++:_0x5e42b2[_0x346232(0x1af)]({'type':_0x3f6b37+_0x346232(0x18c),'element':_0xa96431,'quantity':0x1});}else _0x5e42b2[_0x346232(0x1af)]({'type':_0x3f6b37+_0x346232(0x1c9),'element':_0x5b156e});}}}}}[_0x430590(0x1c8)](_0x552af1){const _0x8bbda=_0x430590,_0x5e6441=this[_0x8bbda(0x1a3)],_0x49df01=[],_0x4c684c=[],_0x41488a=[];for(const _0xb64538 of _0x552af1)switch(_0xb64538[_0x8bbda(0x1b2)]){case _0x8bbda(0x1a1):if(_0xb64538[_0x8bbda(0x1b5)]=_0xb64538[_0x8bbda(0x1b5)][_0x8bbda(0x197)](/(\S)\u000A+(\S)/g,_0x8bbda(0x198))[_0x8bbda(0x197)](/\u000A/g,''),_0xb64538[_0x8bbda(0x1e4)]=_0xb64538[_0x8bbda(0x1e4)][_0x8bbda(0x197)](/(\S)\u000A+(\S)/g,_0x8bbda(0x198))[_0x8bbda(0x197)](/\u000A/g,''),''!=_0xb64538[_0x8bbda(0x1b5)]&&''!=_0xb64538[_0x8bbda(0x1e4)]){_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x197),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1d7),['\x22'+_0xb64538[_0x8bbda(0x1e4)]+'\x22','\x22'+_0xb64538[_0x8bbda(0x1b5)]+'\x22'])});continue;}if(null!=_0xb64538[_0x8bbda(0x1b5)][_0x8bbda(0x19e)](/^ +$/)){_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x186),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1a0),_0x39cb8d(_0x5e6441,_0x8bbda(0x18b),_0xb64538[_0x8bbda(0x1b5)][_0x8bbda(0x1cc)]))});continue;}if(null!=_0xb64538[_0x8bbda(0x1e4)][_0x8bbda(0x19e)](/^ +$/)){_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1d3),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1e5),_0x39cb8d(_0x5e6441,_0x8bbda(0x18b),_0xb64538[_0x8bbda(0x1e4)][_0x8bbda(0x1cc)]))});continue;}if(''!=_0xb64538[_0x8bbda(0x1b5)]){_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x186),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1a0),'\x22'+_0xb64538[_0x8bbda(0x1b5)]+'\x22')});continue;}_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1d3),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1e5),'\x22'+_0xb64538[_0x8bbda(0x1e4)]+'\x22')});continue;case _0x8bbda(0x19c):case _0x8bbda(0x189):_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x186),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1a0),this[_0x8bbda(0x1e0)](_0xb64538[_0x8bbda(0x1bf)],_0xb64538[_0x8bbda(0x1c5)]))});continue;case _0x8bbda(0x1e2):case _0x8bbda(0x1c3):_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1d3),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x1e5),this[_0x8bbda(0x1e0)](_0xb64538[_0x8bbda(0x1bf)],_0xb64538[_0x8bbda(0x1c5)]))});continue;case _0x8bbda(0x1a5):_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x186),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x18f),this[_0x8bbda(0x1e0)](_0xb64538[_0x8bbda(0x1bf)],_0xb64538[_0x8bbda(0x1c5)]))});continue;case _0x8bbda(0x1cf):_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1d3),'content':_0x39cb8d(_0x5e6441,_0x8bbda(0x199),this[_0x8bbda(0x1e0)](_0xb64538[_0x8bbda(0x1bf)],_0xb64538[_0x8bbda(0x1c5)]))});continue;case _0x8bbda(0x1e1):_0x4c684c[_0x8bbda(0x1af)](_0xb64538[_0x8bbda(0x1ae)]);continue;case _0x8bbda(0x1b3):_0x41488a[_0x8bbda(0x1af)](_0xb64538[_0x8bbda(0x1ae)]);continue;default:_0x49df01[_0x8bbda(0x1af)](_0xb64538);}if(_0x4c684c[_0x8bbda(0x1cc)]){const _0x119474=_0x4c684c[_0x8bbda(0x1d5)](_0xcb60c3=>this[_0x8bbda(0x1d9)][_0x8bbda(0x196)](_0xcb60c3)?this[_0x8bbda(0x1d9)][_0x8bbda(0x1df)](_0xcb60c3):_0xcb60c3)[_0x8bbda(0x1a2)](',\x20');_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1ca),'content':_0x39cb8d(this[_0x8bbda(0x1a3)],_0x8bbda(0x1d6),_0x119474)});}if(_0x41488a[_0x8bbda(0x1cc)]){const _0x290793=_0x41488a[_0x8bbda(0x1d5)](_0x31d882=>this[_0x8bbda(0x1d9)][_0x8bbda(0x196)](_0x31d882)?this[_0x8bbda(0x1d9)][_0x8bbda(0x1df)](_0x31d882):_0x31d882)[_0x8bbda(0x1a2)](',\x20');_0x49df01[_0x8bbda(0x1af)]({'type':_0x8bbda(0x1ca),'content':_0x39cb8d(this[_0x8bbda(0x1a3)],_0x8bbda(0x195),_0x290793)});}return _0x49df01;}[_0x430590(0x18e)](_0x39fb04){const _0x120fe9=_0x430590;for(const _0x952c5e of this[_0x120fe9(0x194)]){const _0x4e2e80=_0x952c5e(_0x39fb04);if(_0x4e2e80&&_0x120fe9(0x1b2)in _0x4e2e80)return _0x4e2e80;}}[_0x430590(0x1bc)](_0x43b23b,_0x5c9737){const _0x1923ee=_0x430590,_0x56c708=_0x5c9737[_0x1923ee(0x1c6)],_0x29b239=void 0x0===_0x56c708[_0x1923ee(0x19d)]?_0x1923ee(0x1b3):_0x1923ee(0x1e1);_0x43b23b[_0x1923ee(0x1af)]({'type':_0x29b239,'key':_0x56c708[_0x1923ee(0x1ae)]});}[_0x430590(0x1d2)](_0x26e2ab,_0x3c04e0){const _0x3105cd=_0x430590;_0x26e2ab[_0x3105cd(0x1af)]({'type':_0x3105cd(0x1ca),'content':_0x39cb8d(this[_0x3105cd(0x1a3)],_0x3105cd(0x1b0),this[_0x3105cd(0x1e0)](_0x3c04e0[_0x3105cd(0x19f)]()[_0x3105cd(0x1be)][_0x3105cd(0x1ab)],0x1))});}[_0x430590(0x1ba)](_0x2c45df,_0x4c1d44,_0x180d6b){const _0x186d21=_0x430590;if(this[_0x186d21(0x1b6)](_0x2c45df,_0x4c1d44),_0x180d6b&&_0x180d6b[_0x186d21(0x19f)]()&&!_0x4c1d44[_0x186d21(0x19f)]()[_0x186d21(0x1dd)][_0x186d21(0x1b7)](_0x180d6b[_0x186d21(0x19f)]()[_0x186d21(0x1be)])){const _0x43504d=_0x2c45df[_0x2c45df[_0x186d21(0x1cc)]-0x1],_0x460a50=_0x186d21(0x186)==_0x4c1d44[_0x186d21(0x1b2)]?_0x186d21(0x1b5):_0x186d21(0x1e4);_0x43504d&&_0x186d21(0x1a1)==_0x43504d[_0x186d21(0x1b2)]&&(_0x43504d[_0x460a50]+='\x0a');}}}
|
|
23
|
+
const _0xd988f2=_0xee69;(function(_0x4a52a4,_0x45af64){const _0x57e8b3=_0xee69,_0x1b666f=_0x4a52a4();while(!![]){try{const _0x7d73c8=-parseInt(_0x57e8b3(0x145))/0x1+-parseInt(_0x57e8b3(0x13e))/0x2*(parseInt(_0x57e8b3(0x155))/0x3)+parseInt(_0x57e8b3(0x133))/0x4*(parseInt(_0x57e8b3(0x14f))/0x5)+parseInt(_0x57e8b3(0x112))/0x6*(parseInt(_0x57e8b3(0x168))/0x7)+parseInt(_0x57e8b3(0x144))/0x8+parseInt(_0x57e8b3(0x163))/0x9*(-parseInt(_0x57e8b3(0x11f))/0xa)+parseInt(_0x57e8b3(0x150))/0xb;if(_0x7d73c8===_0x45af64)break;else _0x1b666f['push'](_0x1b666f['shift']());}catch(_0xabce7b){_0x1b666f['push'](_0x1b666f['shift']());}}}(_0x3243,0x809df));import{getTranslation as _0x33cdba}from'./utils/common-translations.js';import{priorities as _0x7d0123,insertToPriorityArray as _0x4bfd53}from'ckeditor5/src/utils.js';function _0x3243(){const _0x46655f=['normal','_addDescriptionItems','remove','Container','addFormat','getWalker','_handleInsertRemoveSuggestionDescription','removeContainer','addEmptyContainer','$textProxy','24OJZruz','nodeAfter','_customCallbacks','text','isInContent','attribute','add','*Set\x20format:*\x20%0','type','key','softBreak','registerAttributeLabel','deletion','2192500YJwUqQ','removeEmptyContainer','map','*Merge:*\x20%0','_handleAttributeSuggestionDescription','get','_itemLabelsCallbacks','removeFormat','$text','_schema','elementStart','start','name','_attributeLabels','elementEnd','join','subType','ELEMENT_SPACE','removeObject','previousSibling','4wCUNCW','_handleRenameSuggestionDescription','*Remove\x20format:*\x20%0','has','Object','*Split:*\x20%0','_itemLabels','addObject','registerDescriptionCallback','length','indexOf','2VQSMEk','item','_handleCustomCallbackDescription','isEmpty','getFirstRange','pop','1994416tDxaPG','793940zSnmSl','skip','isEqual','label','getDescriptions','_resolveDescriptionItems','addContainer','registerElementLabel','*Change\x20to:*\x20%0','matchingCallback','855605wDxAMq','16155106gsezXv','element','data','checkChild','*Remove:*\x20%0','1883274uOOAFk','set','$1\x20$2','isObject','nextSibling','quantity','push','insertion','*Insert:*\x20%0','format','_locale','end','REPLACE_TEXT','replace','18UsCNIJ','match','getItemLabel','newValue','function','871402NkuHAp','EmptyContainer'];_0x3243=function(){return _0x46655f;};return _0x3243();}import{renameAttributeKey as _0x144ed7}from'./trackchangesediting.js';function _0xee69(_0x113a20,_0x25e479){const _0x32431c=_0x3243();return _0xee69=function(_0xee69d9,_0x295f7b){_0xee69d9=_0xee69d9-0x10c;let _0x1f49dc=_0x32431c[_0xee69d9];return _0x1f49dc;},_0xee69(_0x113a20,_0x25e479);}export default class f{constructor(_0x46232c,_0x29bb70){const _0x1b35a=_0xee69;this[_0x1b35a(0x114)]=[],this[_0x1b35a(0x139)]=new Map(),this[_0x1b35a(0x125)]=[],this[_0x1b35a(0x12c)]=new Map(),this[_0x1b35a(0x128)]=_0x46232c,this[_0x1b35a(0x15f)]=_0x29bb70;}[_0xd988f2(0x149)](_0x220e9f){const _0x46d765=_0xd988f2,_0xa9c320=[],_0x303a4b=new Set(),_0x5a2ed2=new Set();for(let _0x40247c=0x0;_0x40247c<_0x220e9f[_0x46d765(0x13c)];_0x40247c++){const _0x48f97d=_0x220e9f[_0x40247c];if(!_0x48f97d[_0x46d765(0x116)])continue;const _0x29f585=this[_0x46d765(0x140)](_0x48f97d);if(_0x29f585){if(null!=_0x48f97d[_0x46d765(0x12f)]){if(_0x303a4b[_0x46d765(0x136)](_0x48f97d[_0x46d765(0x12f)]))continue;_0x303a4b[_0x46d765(0x118)](_0x48f97d[_0x46d765(0x12f)]);}_0xa9c320[_0x46d765(0x15b)](_0x29f585);}else{if(_0x46d765(0x117)!=_0x48f97d[_0x46d765(0x11a)])_0x46d765(0x15c)!=_0x48f97d[_0x46d765(0x11a)]&&_0x46d765(0x11e)!=_0x48f97d[_0x46d765(0x11a)]||this[_0x46d765(0x10e)](_0xa9c320,_0x48f97d,_0x220e9f[_0x40247c+0x1]);else{const _0x48a121=_0x48f97d[_0x46d765(0x152)][_0x46d765(0x11b)];if(_0x5a2ed2[_0x46d765(0x136)](_0x48a121))continue;_0x5a2ed2[_0x46d765(0x118)](_0x48f97d[_0x46d765(0x152)][_0x46d765(0x11b)]),_0x48a121==_0x144ed7?this[_0x46d765(0x134)](_0xa9c320,_0x48f97d):this[_0x46d765(0x123)](_0xa9c320,_0x48f97d);}}}return this[_0x46d765(0x14a)](_0xa9c320);}[_0xd988f2(0x13b)](_0x50131e){const _0x10c6ae=_0xd988f2;this[_0x10c6ae(0x114)][_0x10c6ae(0x15b)](_0x50131e);}[_0xd988f2(0x14c)](_0xec23af,_0x23ac0a,_0x478041=_0x7d0123[_0xd988f2(0x16a)]){const _0x4899bd=_0xd988f2;_0x4899bd(0x167)==typeof _0xec23af?_0x4bfd53(this[_0x4899bd(0x125)],{'matchingCallback':_0xec23af,'label':_0x23ac0a,'priority':_0x478041}):this[_0x4899bd(0x139)][_0x4899bd(0x156)](_0xec23af,_0x23ac0a);}[_0xd988f2(0x11d)](_0x19368b,_0x114977){const _0x4b2f42=_0xd988f2;this[_0x4b2f42(0x12c)][_0x4b2f42(0x156)](_0x19368b,_0x114977);}[_0xd988f2(0x165)](_0x276c66,_0x2182a5=0x1){const _0x282bd4=_0xd988f2;let _0x1e0998;for(const _0x27d86b of this[_0x282bd4(0x125)])if(_0x27d86b[_0x282bd4(0x14e)](_0x276c66)){_0x1e0998=_0x27d86b[_0x282bd4(0x148)];break;}return _0x1e0998||(_0x1e0998=this[_0x282bd4(0x139)][_0x282bd4(0x124)](_0x276c66[_0x282bd4(0x12b)])),_0x1e0998?_0x1e0998(_0x2182a5):0x1!==_0x2182a5?_0x2182a5+'\x20'+_0x276c66[_0x282bd4(0x12b)]+'s':''+_0x276c66[_0x282bd4(0x12b)];}[_0xd988f2(0x16b)](_0x3dee6e,_0x5afc0e){const _0x4032c5=_0xd988f2,_0x6e55f4=_0x5afc0e[_0x4032c5(0x142)]()[_0x4032c5(0x10d)](),_0x4b355c=_0x4032c5(0x15c)==_0x5afc0e[_0x4032c5(0x11a)]?_0x4032c5(0x118):_0x4032c5(0x16c);for(const _0x3d478e of _0x6e55f4){const _0x547643=_0x3d478e[_0x4032c5(0x13f)],_0x4a2cb2=_0x3dee6e[_0x3dee6e[_0x4032c5(0x13c)]-0x1];if(_0x547643['is'](_0x4032c5(0x111)))_0x4a2cb2&&_0x4a2cb2[_0x4032c5(0x11a)][_0x4032c5(0x13d)](_0x4032c5(0x16d))>-0x1&&_0x3dee6e[_0x4032c5(0x143)](),_0x4a2cb2&&_0x4032c5(0x115)==_0x4a2cb2[_0x4032c5(0x11a)]?_0x4a2cb2[_0x4b355c]+=_0x547643[_0x4032c5(0x152)]:_0x3dee6e[_0x4032c5(0x15b)]({'type':_0x4032c5(0x115),'add':_0x4032c5(0x118)==_0x4b355c?_0x547643[_0x4032c5(0x152)]:'','remove':_0x4032c5(0x16c)==_0x4b355c?_0x547643[_0x4032c5(0x152)]:''});else{if(this[_0x4032c5(0x128)][_0x4032c5(0x158)](_0x547643)){const _0x5bafdf=_0x547643;if(_0x4a2cb2&&_0x4a2cb2[_0x4032c5(0x11a)][_0x4032c5(0x13d)](_0x4032c5(0x16d))>-0x1&&_0x3dee6e[_0x4032c5(0x143)](),_0x4032c5(0x12d)==_0x3d478e[_0x4032c5(0x11a)])continue;_0x4a2cb2&&_0x4a2cb2[_0x4032c5(0x11a)]==_0x4b355c+_0x4032c5(0x137)&&_0x4a2cb2[_0x4032c5(0x151)][_0x4032c5(0x12b)]==_0x5bafdf[_0x4032c5(0x12b)]?_0x4a2cb2[_0x4032c5(0x15a)]++:_0x3dee6e[_0x4032c5(0x15b)]({'type':_0x4b355c+_0x4032c5(0x137),'element':_0x5bafdf,'quantity':0x1}),_0x6e55f4[_0x4032c5(0x146)](_0x5d3727=>!(_0x4032c5(0x12d)==_0x5d3727[_0x4032c5(0x11a)]&&_0x5d3727[_0x4032c5(0x13f)]==_0x547643));}else{if(this[_0x4032c5(0x128)][_0x4032c5(0x153)](_0x547643,_0x4032c5(0x127))||_0x547643['is'](_0x4032c5(0x151),_0x4032c5(0x11c))){const _0x43a3ec=_0x547643;if(_0x4032c5(0x118)==_0x4b355c&&_0x4032c5(0x129)==_0x3d478e[_0x4032c5(0x11a)]||_0x4032c5(0x16c)==_0x4b355c&&_0x4032c5(0x12d)==_0x3d478e[_0x4032c5(0x11a)])continue;if(_0x4a2cb2&&-0x1==_0x4a2cb2[_0x4032c5(0x11a)][_0x4032c5(0x13d)](_0x4032c5(0x16d))){_0x4032c5(0x115)==_0x4a2cb2[_0x4032c5(0x11a)]&&(_0x4a2cb2[_0x4b355c]+='\x0a');continue;}let _0x49586d;if(_0x49586d=_0x4032c5(0x118)==_0x4b355c?_0x43a3ec[_0x4032c5(0x159)]&&!this[_0x4032c5(0x128)][_0x4032c5(0x158)](_0x43a3ec[_0x4032c5(0x159)])?_0x43a3ec[_0x4032c5(0x159)]:null:_0x43a3ec[_0x4032c5(0x132)]&&!this[_0x4032c5(0x128)][_0x4032c5(0x158)](_0x43a3ec[_0x4032c5(0x132)])?_0x43a3ec[_0x4032c5(0x132)]:null,_0x43a3ec[_0x4032c5(0x141)]||_0x49586d&&_0x49586d[_0x4032c5(0x141)]){const _0x1aff49=_0x49586d&&_0x49586d[_0x4032c5(0x141)]?_0x49586d:_0x43a3ec;_0x4a2cb2&&_0x4a2cb2[_0x4032c5(0x11a)]==_0x4b355c+_0x4032c5(0x169)&&_0x4a2cb2[_0x4032c5(0x151)][_0x4032c5(0x12b)]==_0x1aff49[_0x4032c5(0x12b)]?_0x4a2cb2[_0x4032c5(0x15a)]++:_0x3dee6e[_0x4032c5(0x15b)]({'type':_0x4b355c+_0x4032c5(0x169),'element':_0x1aff49,'quantity':0x1});}else _0x3dee6e[_0x4032c5(0x15b)]({'type':_0x4b355c+_0x4032c5(0x16d),'element':_0x43a3ec});}}}}}[_0xd988f2(0x14a)](_0x17079e){const _0xe594f3=_0xd988f2,_0x1dac12=this[_0xe594f3(0x15f)],_0x37056c=[],_0x5702bc=[],_0xf308fa=[];for(const _0x1ffc9f of _0x17079e)switch(_0x1ffc9f[_0xe594f3(0x11a)]){case _0xe594f3(0x115):if(_0x1ffc9f[_0xe594f3(0x118)]=_0x1ffc9f[_0xe594f3(0x118)][_0xe594f3(0x162)](/(\S)\u000A+(\S)/g,_0xe594f3(0x157))[_0xe594f3(0x162)](/\u000A/g,''),_0x1ffc9f[_0xe594f3(0x16c)]=_0x1ffc9f[_0xe594f3(0x16c)][_0xe594f3(0x162)](/(\S)\u000A+(\S)/g,_0xe594f3(0x157))[_0xe594f3(0x162)](/\u000A/g,''),''!=_0x1ffc9f[_0xe594f3(0x118)]&&''!=_0x1ffc9f[_0xe594f3(0x16c)]){_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x162),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x161),['\x22'+_0x1ffc9f[_0xe594f3(0x16c)]+'\x22','\x22'+_0x1ffc9f[_0xe594f3(0x118)]+'\x22'])});continue;}if(null!=_0x1ffc9f[_0xe594f3(0x118)][_0xe594f3(0x164)](/^ +$/)){_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15c),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x15d),_0x33cdba(_0x1dac12,_0xe594f3(0x130),_0x1ffc9f[_0xe594f3(0x118)][_0xe594f3(0x13c)]))});continue;}if(null!=_0x1ffc9f[_0xe594f3(0x16c)][_0xe594f3(0x164)](/^ +$/)){_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x11e),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x154),_0x33cdba(_0x1dac12,_0xe594f3(0x130),_0x1ffc9f[_0xe594f3(0x16c)][_0xe594f3(0x13c)]))});continue;}if(''!=_0x1ffc9f[_0xe594f3(0x118)]){_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15c),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x15d),'\x22'+_0x1ffc9f[_0xe594f3(0x118)]+'\x22')});continue;}_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x11e),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x154),'\x22'+_0x1ffc9f[_0xe594f3(0x16c)]+'\x22')});continue;case _0xe594f3(0x110):case _0xe594f3(0x13a):_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15c),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x15d),this[_0xe594f3(0x165)](_0x1ffc9f[_0xe594f3(0x151)],_0x1ffc9f[_0xe594f3(0x15a)]))});continue;case _0xe594f3(0x120):case _0xe594f3(0x131):_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x11e),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x154),this[_0xe594f3(0x165)](_0x1ffc9f[_0xe594f3(0x151)],_0x1ffc9f[_0xe594f3(0x15a)]))});continue;case _0xe594f3(0x14b):_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15c),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x138),this[_0xe594f3(0x165)](_0x1ffc9f[_0xe594f3(0x151)],_0x1ffc9f[_0xe594f3(0x15a)]))});continue;case _0xe594f3(0x10f):_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x11e),'content':_0x33cdba(_0x1dac12,_0xe594f3(0x122),this[_0xe594f3(0x165)](_0x1ffc9f[_0xe594f3(0x151)],_0x1ffc9f[_0xe594f3(0x15a)]))});continue;case _0xe594f3(0x10c):_0x5702bc[_0xe594f3(0x15b)](_0x1ffc9f[_0xe594f3(0x11b)]);continue;case _0xe594f3(0x126):_0xf308fa[_0xe594f3(0x15b)](_0x1ffc9f[_0xe594f3(0x11b)]);continue;default:_0x37056c[_0xe594f3(0x15b)](_0x1ffc9f);}if(_0x5702bc[_0xe594f3(0x13c)]){const _0x1b8aef=_0x5702bc[_0xe594f3(0x121)](_0x56b960=>this[_0xe594f3(0x12c)][_0xe594f3(0x136)](_0x56b960)?this[_0xe594f3(0x12c)][_0xe594f3(0x124)](_0x56b960):_0x56b960)[_0xe594f3(0x12e)](',\x20');_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15e),'content':_0x33cdba(this[_0xe594f3(0x15f)],_0xe594f3(0x119),_0x1b8aef)});}if(_0xf308fa[_0xe594f3(0x13c)]){const _0x5be3d1=_0xf308fa[_0xe594f3(0x121)](_0x514689=>this[_0xe594f3(0x12c)][_0xe594f3(0x136)](_0x514689)?this[_0xe594f3(0x12c)][_0xe594f3(0x124)](_0x514689):_0x514689)[_0xe594f3(0x12e)](',\x20');_0x37056c[_0xe594f3(0x15b)]({'type':_0xe594f3(0x15e),'content':_0x33cdba(this[_0xe594f3(0x15f)],_0xe594f3(0x135),_0x5be3d1)});}return _0x37056c;}[_0xd988f2(0x140)](_0x566b94){const _0x28942c=_0xd988f2;for(const _0x438922 of this[_0x28942c(0x114)]){const _0x12a3af=_0x438922(_0x566b94);if(_0x12a3af&&_0x28942c(0x11a)in _0x12a3af)return _0x12a3af;}}[_0xd988f2(0x123)](_0x29802e,_0x2305b4){const _0x261f59=_0xd988f2,_0x529c93=_0x2305b4[_0x261f59(0x152)],_0x37a51f=void 0x0===_0x529c93[_0x261f59(0x166)]?_0x261f59(0x126):_0x261f59(0x10c);_0x29802e[_0x261f59(0x15b)]({'type':_0x37a51f,'key':_0x529c93[_0x261f59(0x11b)]});}[_0xd988f2(0x134)](_0xba5914,_0x33c0a3){const _0x502791=_0xd988f2;_0xba5914[_0x502791(0x15b)]({'type':_0x502791(0x15e),'content':_0x33cdba(this[_0x502791(0x15f)],_0x502791(0x14d),this[_0x502791(0x165)](_0x33c0a3[_0x502791(0x142)]()[_0x502791(0x12a)][_0x502791(0x113)],0x1))});}[_0xd988f2(0x10e)](_0x192a1a,_0x57320d,_0x7020af){const _0x452f43=_0xd988f2;if(this[_0x452f43(0x16b)](_0x192a1a,_0x57320d),_0x7020af&&_0x7020af[_0x452f43(0x142)]()&&!_0x57320d[_0x452f43(0x142)]()[_0x452f43(0x160)][_0x452f43(0x147)](_0x7020af[_0x452f43(0x142)]()[_0x452f43(0x12a)])){const _0x363a5e=_0x192a1a[_0x192a1a[_0x452f43(0x13c)]-0x1],_0x1cc03b=_0x452f43(0x15c)==_0x57320d[_0x452f43(0x11a)]?_0x452f43(0x118):_0x452f43(0x16c);_0x363a5e&&_0x452f43(0x115)==_0x363a5e[_0x452f43(0x11a)]&&(_0x363a5e[_0x1cc03b]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x21c83c=_0x4ca7;(function(_0x3ebfe4,_0x53d7b6){var _0xcac9e4=_0x4ca7,_0x280f38=_0x3ebfe4();while(!![]){try{var _0x455026=-parseInt(_0xcac9e4(0x103))/0x1+-parseInt(_0xcac9e4(0x10f))/0x2+-parseInt(_0xcac9e4(0x118))/0x3*(-parseInt(_0xcac9e4(0x10e))/0x4)+parseInt(_0xcac9e4(0x110))/0x5+parseInt(_0xcac9e4(0x113))/0x6*(parseInt(_0xcac9e4(0x117))/0x7)+parseInt(_0xcac9e4(0x106))/0x8+parseInt(_0xcac9e4(0x107))/0x9*(-parseInt(_0xcac9e4(0x116))/0xa);if(_0x455026===_0x53d7b6)break;else _0x280f38['push'](_0x280f38['shift']());}catch(_0x42da75){_0x280f38['push'](_0x280f38['shift']());}}}(_0x5ba0,0x4b6ad));import{Plugin as _0xe8039d}from'ckeditor5/src/core.js';import _0x195df3 from'./trackchangesui.js';import _0x42ba2d from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0xe8039d{static get[_0x21c83c(0x10d)](){var _0x4e5fe7=_0x21c83c;return[_0x42ba2d,_0x195df3,_0x4e5fe7(0x115)];}static get[_0x21c83c(0x105)](){var _0x1ddf80=_0x21c83c;return _0x1ddf80(0x10c);}set[_0x21c83c(0x111)](_0x52a22b){var _0x2476bb=_0x21c83c;this[_0x2476bb(0x108)][_0x2476bb(0x10a)][_0x2476bb(0x104)](_0x42ba2d)[_0x2476bb(0x111)]=_0x52a22b;}get[_0x21c83c(0x111)](){var _0x1ff2c6=_0x21c83c;return this[_0x1ff2c6(0x108)][_0x1ff2c6(0x10a)][_0x1ff2c6(0x104)](_0x42ba2d)[_0x1ff2c6(0x111)];}[_0x21c83c(0x10b)](_0x5eda24){var _0x4124d0=_0x21c83c;return this[_0x4124d0(0x108)][_0x4124d0(0x10a)][_0x4124d0(0x104)](_0x42ba2d)[_0x4124d0(0x112)](_0x5eda24);}[_0x21c83c(0x109)]({skipNotAttached:_0x2069c4=!0x1,toJSON:_0x1df364=!0x1}={}){var _0x516c8e=_0x21c83c;return this[_0x516c8e(0x108)][_0x516c8e(0x10a)][_0x516c8e(0x104)](_0x42ba2d)[_0x516c8e(0x109)]({'skipNotAttached':_0x2069c4,'toJSON':_0x1df364});}[_0x21c83c(0x114)](_0x2ca0d5){var _0x389be9=_0x21c83c;return this[_0x389be9(0x108)][_0x389be9(0x10a)][_0x389be9(0x104)](_0x42ba2d)[_0x389be9(0x114)](_0x2ca0d5);}}function _0x4ca7(_0x539de9,_0x16494e){var _0x5ba081=_0x5ba0();return _0x4ca7=function(_0x4ca716,_0x66c4c7){_0x4ca716=_0x4ca716-0x103;var _0x1c6adc=_0x5ba081[_0x4ca716];return _0x1c6adc;},_0x4ca7(_0x539de9,_0x16494e);}function _0x5ba0(){var _0x30b5df=['7dpBRGq','104589hzbbyp','567426ckwPve','get','pluginName','2090080FozXip','717363yQoUop','editor','getSuggestions','plugins','addSuggestion','TrackChanges','requires','64ANRAgJ','308016gHskjz','728520ZkluhK','adapter','addSuggestionData','2784636yXGTkC','getSuggestion','Comments','50ibKzSD'];_0x5ba0=function(){return _0x30b5df;};return _0x5ba0();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x13bacf=_0x3eb3;(function(_0x5f2ee1,_0x50e734){const _0xf058c5=_0x3eb3,_0x49eb53=_0x5f2ee1();while(!![]){try{const _0x1bd036=-parseInt(_0xf058c5(0x162))/0x1*(parseInt(_0xf058c5(0x144))/0x2)+-parseInt(_0xf058c5(0x16b))/0x3+-parseInt(_0xf058c5(0x178))/0x4+parseInt(_0xf058c5(0x170))/0x5*(parseInt(_0xf058c5(0x151))/0x6)+parseInt(_0xf058c5(0x14c))/0x7*(-parseInt(_0xf058c5(0x15b))/0x8)+-parseInt(_0xf058c5(0x140))/0x9+parseInt(_0xf058c5(0x15d))/0xa;if(_0x1bd036===_0x50e734)break;else _0x49eb53['push'](_0x49eb53['shift']());}catch(_0x326c55){_0x49eb53['push'](_0x49eb53['shift']());}}}(_0x31c8,0xcef8e));import{Plugin as _0x229a7c}from'ckeditor5/src/core.js';import{CKEditorError as _0x2672b1}from'ckeditor5/src/utils.js';function _0x3eb3(_0x106109,_0x543f45){const _0x31c87a=_0x31c8();return _0x3eb3=function(_0x3eb375,_0x137a89){_0x3eb375=_0x3eb375-0x13e;let _0x4bf864=_0x31c87a[_0x3eb375];return _0x4bf864;},_0x3eb3(_0x106109,_0x543f45);}import _0x4c1aad from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4f762b}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x13bacf(0x13e)];export default class P extends _0x229a7c{static get[_0x13bacf(0x16a)](){return[_0x4c1aad];}static get[_0x13bacf(0x168)](){const _0x3ffe72=_0x13bacf;return _0x3ffe72(0x166);}[_0x13bacf(0x155)](){const _0xbe68b8=_0x13bacf,_0x4d8490=this[_0xbe68b8(0x147)];if(_0x4d8490[_0xbe68b8(0x146)][_0xbe68b8(0x14a)](_0xbe68b8(0x16d),_0x387d58=>{const _0x18499e=_0xbe68b8,_0x141000=_0x4d8490[_0x18499e(0x13f)][_0x18499e(0x177)][_0x18499e(0x176)]()[_0x18499e(0x15a)]((_0x6e8679,_0x256359)=>(_0x6e8679[_0x256359]='',_0x6e8679),{});return _0x4d8490[_0x18499e(0x141)][_0x18499e(0x16c)](_0x141000,_0x387d58);}),_0xbe68b8(0x148)!=typeof _0x4d8490[_0xbe68b8(0x146)][_0xbe68b8(0x15f)](_0xbe68b8(0x150))[_0xbe68b8(0x158)])throw new _0x2672b1(_0xbe68b8(0x163));}[_0x13bacf(0x157)](_0x49e725){const _0x4fb0ef=_0x13bacf;return N(this[_0x4fb0ef(0x147)],!0x0,_0x49e725);}[_0x13bacf(0x143)](_0x4e4701){const _0x1c36b0=_0x13bacf;return N(this[_0x1c36b0(0x147)],!0x1,_0x4e4701);}}class D extends _0x229a7c{static get[_0x13bacf(0x168)](){const _0x3497be=_0x13bacf;return _0x3497be(0x16f);}constructor(_0x28da15){const _0x110308=_0x13bacf;super(_0x28da15),this[_0x110308(0x14b)]=_0x110308(0x173);}[_0x13bacf(0x155)](){const _0x1a4bb1=_0x13bacf;this[_0x1a4bb1(0x147)][_0x1a4bb1(0x174)][_0x1a4bb1(0x15f)](_0x1a4bb1(0x154))[_0x1a4bb1(0x171)]={'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[_0x1a4bb1(0x147)][_0x1a4bb1(0x174)][_0x1a4bb1(0x15f)](_0x1a4bb1(0x167))[_0x1a4bb1(0x171)]=null;}}function v(_0x337cc6){const _0xddccf6=_0x13bacf;return void 0x0!==_0x337cc6[_0xddccf6(0x159)];}async function N(_0x312982,_0x3a247e,_0x44567e){const _0x5eb08f=_0x13bacf,_0xbbffc5=_0x4f762b(_0x312982,T);_0xbbffc5[_0x5eb08f(0x174)][_0x5eb08f(0x17a)](_0x4c1aad,D),_0xbbffc5[_0x5eb08f(0x164)]=v(_0x312982)?_0x312982[_0x5eb08f(0x159)]():void 0x0;const _0x2a6954=document[_0x5eb08f(0x152)](),_0x54da2e=_0x312982[_0x5eb08f(0x146)][_0x5eb08f(0x15f)](_0x5eb08f(0x150))[_0x5eb08f(0x158)],_0x2fef9d=await _0x54da2e(_0xbbffc5,()=>function(_0x231774){const _0xe62b3a=_0x5eb08f,_0x1b8954=document[_0xe62b3a(0x172)](_0xe62b3a(0x14d));return _0x231774[_0xe62b3a(0x15e)](_0x1b8954),_0x1b8954;}(_0x2a6954));!function(_0xa634b7,_0xe04b8a){const _0x6fc802=_0x5eb08f,_0x2ddec3=_0xa634b7[_0x6fc802(0x13f)][_0x6fc802(0x177)][_0x6fc802(0x176)]()[_0x6fc802(0x15a)]((_0x39c725,_0xb5df03)=>(_0x39c725[_0xb5df03]=_0xa634b7[_0x6fc802(0x145)][_0x6fc802(0x15f)]({'rootName':_0xb5df03}),_0x39c725),{}),_0x406b76=_0xa634b7[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x14e))[_0x6fc802(0x17b)][_0x6fc802(0x17d)](_0x3ade04=>({'id':_0x3ade04['id'],'name':_0x3ade04[_0x6fc802(0x149)]})),_0x55d921=_0xa634b7[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x167))[_0x6fc802(0x156)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x8232e3=_0xa634b7[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x154))[_0x6fc802(0x17c)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x397e76=_0xe04b8a[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x14e)),_0x1e1972=_0xe04b8a[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x167)),_0x18926b=_0xe04b8a[_0x6fc802(0x174)][_0x6fc802(0x15f)](_0x6fc802(0x154));for(const _0x3f6031 of _0x406b76)_0x397e76[_0x6fc802(0x165)](_0x3f6031['id'])||_0x397e76[_0x6fc802(0x142)](_0x3f6031);_0x397e76['me']||_0x397e76[_0x6fc802(0x15c)]();for(const _0x463a44 of _0x8232e3)_0x18926b[_0x6fc802(0x153)](_0x463a44);for(const _0x71316b of _0x55d921)_0x1e1972[_0x6fc802(0x169)](_0x71316b);_0xe04b8a[_0x6fc802(0x145)][_0x6fc802(0x175)](_0x2ddec3);}(_0x312982,_0x2fef9d),_0x2fef9d[_0x5eb08f(0x179)](_0x3a247e?_0x5eb08f(0x16e):_0x5eb08f(0x161));const _0x17d0a1=v(_0x2fef9d)?_0x2fef9d[_0x5eb08f(0x160)](_0x44567e):_0x2fef9d[_0x5eb08f(0x145)][_0x5eb08f(0x15f)](_0x44567e);return await _0x2fef9d[_0x5eb08f(0x14f)](),_0x17d0a1;}function _0x31c8(){const _0x58d9d2=['discardAllSuggestions','1376LqNQKk','track-changes-data-invalid-editor-creator','rootsAttributes','getUser','TrackChangesData','TrackChangesEditing','pluginName','addSuggestionData','requires','2773092IteFzW','create','trackChangesData.editorCreator','acceptAllSuggestions','TrackChangesDataGetter','5965UazpkB','_adapter','createElement','end','plugins','set','getRootNames','document','2213152HQlYOQ','execute','push','users','getCommentThreads','map','Pagination','model','13366620RHQBbu','constructor','addUser','getDataWithDiscardedSuggestions','122OiZPQp','data','config','editor','function','name','define','result','252lTvUAG','div','Users','destroy','trackChangesData','3162EmBcrJ','createDocumentFragment','addCommentThread','CommentsRepository','init','getSuggestions','getDataWithAcceptedSuggestions','editorCreator','getRootsAttributes','reduce','342712ecVJOA','useAnonymousUser','48080190CfBjOy','appendChild','get','getFullData'];_0x31c8=function(){return _0x58d9d2;};return _0x31c8();}
|