@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240520.0 → 0.0.0-nightly-20240521.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 _0x2be3da=_0x247c;function _0x247c(_0x4ab0e0,_0x56c50e){const _0x63f93=_0x63f9();return _0x247c=function(_0x247c92,_0x367d9c){_0x247c92=_0x247c92-0x1af;let _0x3e57c9=_0x63f93[_0x247c92];return _0x3e57c9;},_0x247c(_0x4ab0e0,_0x56c50e);}(function(_0x537a76,_0x45eaa8){const _0x5e65b9=_0x247c,_0x36f8b1=_0x537a76();while(!![]){try{const _0x24ed7d=-parseInt(_0x5e65b9(0x203))/0x1+parseInt(_0x5e65b9(0x1b3))/0x2+-parseInt(_0x5e65b9(0x1d4))/0x3+-parseInt(_0x5e65b9(0x206))/0x4+parseInt(_0x5e65b9(0x1f0))/0x5+-parseInt(_0x5e65b9(0x1c9))/0x6*(-parseInt(_0x5e65b9(0x1cd))/0x7)+parseInt(_0x5e65b9(0x1be))/0x8;if(_0x24ed7d===_0x45eaa8)break;else _0x36f8b1['push'](_0x36f8b1['shift']());}catch(_0x3df1f9){_0x36f8b1['push'](_0x36f8b1['shift']());}}}(_0x63f9,0x6c91c));import{Plugin as _0x515443}from'ckeditor5/src/core.js';import _0x1b57df from'./table.js';import{LiveRange as _0x14224f}from'ckeditor5/src/engine.js';import{getTranslation as _0x151ebe}from'../utils/common-translations.js';function _0x63f9(){const _0x519796=['getSelectionAffectedTableCells','highest','getRanges','mergeTableCellDown','from','*Split\x20cell:*\x20horizontally','774930ObKUCH','containsRange','filter','descriptionFactory','14IIMstg','registerDescriptionCallback','_areMergableCells','change','size','has','mergeTableCellLeft','427554bZLqTL','isInContent','getAncestors','root','element','enableCommand','deletion','_areSelectedCellsMergable','author','model','direction','rootName','afterInit','horizontally','stop','length','markBlockFormat','tableCell','get','getFirstPosition','accept','detach','TrackChangesEditing','*Merge\x20cells*','table','getSuggestions','insertion','*Split\x20cell:*\x20vertically','2255960mytHpW','refresh','_isForcedDefaultExecutionBlock','_suggestionFactory','TableEditing','selection','value','_acceptFormatSuggestionCallbackFactory','formatInline','_tablePostFixingSubtypes','findAncestor','$graveyard','createRangeOn','commands','TableUtils','document','commandName','markMultiRangeBlockFormat','trackChanges','17222PMRJSv','type','plugins','3451684uHyfnS','setSelection','subType','return','splitTableCellHorizontally','locale','getCellLocation','splitTableCellVertically','set:isEnabled','low','requires','mergeTableCells','editor','registerCustomCallback','64472QvMhHE','mergeTableCellRight','map','execute','format','mergeTableCellUp','find','fromRange','cell','isEnabled','push','5804984fGxlSC','add','forceDefaultExecution','formatBlock','createTableWalker'];_0x63f9=function(){return _0x519796;};return _0x63f9();}export default class St extends _0x515443{static get[_0x2be3da(0x1af)](){return[_0x1b57df];}[_0x2be3da(0x1e0)](){const _0x2afce6=_0x2be3da,_0x5198f8=this[_0x2afce6(0x1b1)],_0x34a126=_0x5198f8[_0x2afce6(0x1dd)][_0x2afce6(0x1ff)][_0x2afce6(0x1f5)],_0x5da50d=_0x5198f8[_0x2afce6(0x20b)];if(!_0x5198f8[_0x2afce6(0x205)][_0x2afce6(0x1d2)](_0x2afce6(0x1f4)))return;const _0x25a977=_0x5198f8[_0x2afce6(0x205)][_0x2afce6(0x1e6)](_0x2afce6(0x1ea)),_0xbfdf15=_0x5198f8[_0x2afce6(0x205)][_0x2afce6(0x1e6)](_0x2afce6(0x1fe)),_0x413de5=_0x5198f8[_0x2afce6(0x205)][_0x2afce6(0x1e6)](_0x1b57df);_0x413de5[_0x2afce6(0x1f9)][_0x2afce6(0x1bd)](_0x2afce6(0x1b0)),_0x25a977[_0x2afce6(0x1d9)](_0x2afce6(0x1b0),()=>{const _0x56870b=_0x2afce6,_0xd2e275=_0xbfdf15[_0x56870b(0x1c3)](_0x5198f8[_0x56870b(0x1dd)][_0x56870b(0x1ff)][_0x56870b(0x1f5)]);_0x5198f8[_0x56870b(0x1dd)][_0x56870b(0x1d0)](()=>{const _0xd48db0=_0x56870b;_0x25a977[_0xd48db0(0x201)](_0xd2e275,{'commandName':_0xd48db0(0x1b0),'commandParams':[]},[],_0xd48db0(0x1b0));});}),_0x5198f8[_0x2afce6(0x1fd)][_0x2afce6(0x1e6)](_0x2afce6(0x1b0))['on'](_0x2afce6(0x1b6),(_0x360841,_0x2c1360)=>{const _0x2c2718=_0x2afce6;_0x5198f8[_0x2c2718(0x1fd)][_0x2c2718(0x1e6)](_0x2c2718(0x202))[_0x2c2718(0x1f6)]&&(_0x2c1360[_0x2c2718(0x1e3)]>0x0&&_0x2c1360[_0x2c1360[_0x2c2718(0x1e3)]-0x1]&&_0x2c1360[_0x2c1360[_0x2c2718(0x1e3)]-0x1][_0x2c2718(0x1c0)]||_0x25a977[_0x2c2718(0x1f2)]||this[_0x2c2718(0x1db)]()||_0x360841[_0x2c2718(0x1e2)]());},{'priority':_0x2afce6(0x1c4)});for(const _0x1a750d of[_0x2afce6(0x1b8),_0x2afce6(0x1b4),_0x2afce6(0x1c6),_0x2afce6(0x1d3)]){const _0x2a8d96=_0x5198f8[_0x2afce6(0x1fd)][_0x2afce6(0x1e6)](_0x1a750d);_0x25a977[_0x2afce6(0x1d9)](_0x1a750d,()=>{const _0x29ab11=_0x2afce6,_0x1343db=_0x5198f8[_0x29ab11(0x1dd)][_0x29ab11(0x1ff)][_0x29ab11(0x1f5)][_0x29ab11(0x1e7)]()[_0x29ab11(0x1d6)]()[_0x29ab11(0x1b9)](_0x166e7f=>_0x166e7f['is'](_0x29ab11(0x1d8),_0x29ab11(0x1e5))),_0x102675=_0x2a8d96[_0x29ab11(0x1f6)];_0x5198f8[_0x29ab11(0x1dd)][_0x29ab11(0x1d0)](()=>{const _0xb601b9=_0x29ab11;_0x25a977[_0xb601b9(0x201)]([_0x1343db,_0x102675],{'commandName':_0xb601b9(0x1b0),'commandParams':[]},[],_0xb601b9(0x1b0));});});}for(const _0x1f675a of[_0x2afce6(0x20d),_0x2afce6(0x20a)]){const _0x5648b2=_0x5198f8[_0x2afce6(0x1fd)][_0x2afce6(0x1e6)](_0x1f675a);_0x25a977[_0x2afce6(0x1d9)](_0x1f675a,()=>{const _0x2a1507=_0x2afce6,_0x5450d9=_0xbfdf15[_0x2a1507(0x1c3)](_0x5198f8[_0x2a1507(0x1dd)][_0x2a1507(0x1ff)][_0x2a1507(0x1f5)])[0x0],_0x4646b6=_0x5450d9[_0x2a1507(0x1fa)](_0x2a1507(0x1ec)),{column:_0x5696b9,row:_0x3a7a33}=_0xbfdf15[_0x2a1507(0x20c)](_0x5450d9);let _0x23fe3f=[];if(_0x2a1507(0x1e1)==_0x5648b2[_0x2a1507(0x1de)]){const _0x3ce2c4=_0xbfdf15[_0x2a1507(0x1c2)](_0x4646b6,{'startRow':_0x3a7a33,'endRow':_0x3a7a33,'includeAllSlots':!0x0});_0x23fe3f=Array[_0x2a1507(0x1c7)](_0x3ce2c4)[_0x2a1507(0x1b5)](_0x1be06e=>_0x1be06e[_0x2a1507(0x1bb)]);}else{const _0x3ebf0e=_0xbfdf15[_0x2a1507(0x1c2)](_0x4646b6,{'column':_0x5696b9,'includeAllSlots':!0x0});_0x23fe3f=Array[_0x2a1507(0x1c7)](_0x3ebf0e)[_0x2a1507(0x1b5)](_0x1131ac=>_0x1131ac[_0x2a1507(0x1bb)]);}_0x5198f8[_0x2a1507(0x1dd)][_0x2a1507(0x1d0)](_0x717f11=>{const _0x514f87=_0x2a1507;_0x25a977[_0x514f87(0x1e4)](_0x717f11[_0x514f87(0x1fc)](_0x5450d9),{'commandName':_0x1f675a,'commandParams':[]},_0x23fe3f,_0x1f675a);});});}_0x25a977[_0x2afce6(0x1cc)][_0x2afce6(0x1ce)](_0x46acd8=>{const _0x45289a=_0x2afce6;if(_0x45289a(0x1c1)!=_0x46acd8[_0x45289a(0x204)]&&_0x45289a(0x1f8)!=_0x46acd8[_0x45289a(0x204)])return;const {data:_0x3c9dee}=_0x46acd8;return _0x3c9dee&&_0x45289a(0x1b0)==_0x3c9dee[_0x45289a(0x200)]?{'type':_0x45289a(0x1b7),'content':_0x151ebe(_0x5da50d,_0x45289a(0x1eb))}:void 0x0;}),_0x25a977[_0x2afce6(0x1cc)][_0x2afce6(0x1ce)](_0x3991b8=>{const _0x5a83ac=_0x2afce6;if(_0x5a83ac(0x1c1)!=_0x3991b8[_0x5a83ac(0x204)]&&_0x5a83ac(0x1f8)!=_0x3991b8[_0x5a83ac(0x204)])return;const {data:_0x41dbf1}=_0x3991b8;return _0x41dbf1?_0x5a83ac(0x20d)==_0x41dbf1[_0x5a83ac(0x200)]?{'type':_0x5a83ac(0x1b7),'content':_0x151ebe(_0x5da50d,_0x5a83ac(0x1ef))}:_0x5a83ac(0x20a)==_0x41dbf1[_0x5a83ac(0x200)]?{'type':_0x5a83ac(0x1b7),'content':_0x151ebe(_0x5da50d,_0x5a83ac(0x1c8))}:void 0x0:void 0x0;});const _0xb2f66=_0x413de5[_0x2afce6(0x1f7)]();for(const _0x1e570e of[_0x2afce6(0x1b8),_0x2afce6(0x1b4),_0x2afce6(0x1c6),_0x2afce6(0x1d3)])_0x25a977[_0x2afce6(0x1f3)][_0x2afce6(0x1b2)](_0x2afce6(0x1c1),_0x1e570e,_0x2afce6(0x1e8),_0xb2f66);for(const _0xeaff04 of[_0x2afce6(0x20d),_0x2afce6(0x20a)])_0x25a977[_0x2afce6(0x1f3)][_0x2afce6(0x1b2)](_0x2afce6(0x1c1),_0xeaff04,_0x2afce6(0x1e8),_0xb2f66);_0x25a977[_0x2afce6(0x1f3)][_0x2afce6(0x1b2)](_0x2afce6(0x1c1),_0x2afce6(0x1b0),_0x2afce6(0x1e8),_0x15f4a9=>{const _0x25ff87=_0x2afce6;_0x5198f8[_0x25ff87(0x1dd)][_0x25ff87(0x1d0)](_0x2313fc=>{const _0x56aa8f=_0x25ff87,_0x40ca95=Array[_0x56aa8f(0x1c7)](_0x34a126[_0x56aa8f(0x1c5)]())[_0x56aa8f(0x1b5)](_0x165403=>_0x14224f[_0x56aa8f(0x1ba)](_0x165403));_0x2313fc[_0x56aa8f(0x207)](_0x15f4a9),_0x5198f8[_0x56aa8f(0x1fd)][_0x56aa8f(0x1e6)](_0x56aa8f(0x1b0))[_0x56aa8f(0x1f1)](),_0x5198f8[_0x56aa8f(0x1b6)](_0x56aa8f(0x1b0),{'forceDefaultExecution':!0x0});const _0x1228ef=_0x40ca95[_0x56aa8f(0x1cb)](_0x28d20b=>_0x56aa8f(0x1fb)!=_0x28d20b[_0x56aa8f(0x1d7)][_0x56aa8f(0x1df)]);_0x1228ef[_0x56aa8f(0x1e3)]>0x0&&_0x2313fc[_0x56aa8f(0x207)](_0x1228ef);for(const _0x271a2b of _0x40ca95)_0x271a2b[_0x56aa8f(0x1e9)]();});});for(const _0x57a1cc of[_0x2afce6(0x1b8),_0x2afce6(0x1c6),_0x2afce6(0x1d3),_0x2afce6(0x1b4)]){const _0x1fe5de=_0x5198f8[_0x2afce6(0x1fd)][_0x2afce6(0x1e6)](_0x57a1cc);_0x1fe5de['on'](_0x2afce6(0x20e),(_0xaae987,_0x277452,_0x330ec3)=>{const _0x1d5563=_0x2afce6;if(_0x330ec3){const _0x174775=_0x5198f8[_0x1d5563(0x1dd)][_0x1d5563(0x1ff)][_0x1d5563(0x1f5)][_0x1d5563(0x1e7)]()[_0x1d5563(0x1d6)]()[_0x1d5563(0x1b9)](_0xa56f=>_0xa56f['is'](_0x1d5563(0x1d8),_0x1d5563(0x1e5)));this[_0x1d5563(0x1cf)](_0x1fe5de[_0x1d5563(0x1f6)],_0x174775)||(_0xaae987[_0x1d5563(0x209)]=!0x1,_0xaae987[_0x1d5563(0x1e2)]());}},{'priority':_0x2afce6(0x20f)});}}[_0x2be3da(0x1db)](){const _0x22ccaf=_0x2be3da,_0xb48b66=this[_0x22ccaf(0x1b1)][_0x22ccaf(0x1fd)][_0x22ccaf(0x1e6)](_0x22ccaf(0x1b0)),_0x41db3a=this[_0x22ccaf(0x1b1)][_0x22ccaf(0x205)][_0x22ccaf(0x1e6)](_0x22ccaf(0x1fe));if(!_0xb48b66[_0x22ccaf(0x1bc)])return!0x1;const _0x818fbf=_0x41db3a[_0x22ccaf(0x1c3)](this[_0x22ccaf(0x1b1)][_0x22ccaf(0x1dd)][_0x22ccaf(0x1ff)][_0x22ccaf(0x1f5)]);for(const _0x45efa4 of _0x818fbf)for(const _0x333bdb of _0x818fbf)if(_0x45efa4!=_0x333bdb&&!this[_0x22ccaf(0x1cf)](_0x45efa4,_0x333bdb))return!0x1;return!0x0;}[_0x2be3da(0x1cf)](_0x4ea376,_0x31e301){const _0x54afde=_0x2be3da,_0x57908a=this[_0x54afde(0x1b1)][_0x54afde(0x205)][_0x54afde(0x1e6)](_0x54afde(0x1ea)),_0x24e55f=this[_0x54afde(0x1b1)][_0x54afde(0x1dd)][_0x54afde(0x1fc)](_0x4ea376),_0x1f3519=this[_0x54afde(0x1b1)][_0x54afde(0x1dd)][_0x54afde(0x1fc)](_0x31e301),_0x29eb27=new Set(),_0x844597=new Set();for(const _0x24da32 of _0x57908a[_0x54afde(0x1ed)]())if((_0x54afde(0x1ee)==_0x24da32[_0x54afde(0x204)]||_0x54afde(0x1da)==_0x24da32[_0x54afde(0x204)]||_0x54afde(0x1b0)==_0x24da32[_0x54afde(0x208)])&&_0x24da32[_0x54afde(0x1d5)]){for(const _0x45ff84 of _0x24da32[_0x54afde(0x1c5)]())_0x45ff84[_0x54afde(0x1ca)](_0x24e55f,!0x0)&&_0x29eb27[_0x54afde(0x1bf)](_0x24da32[_0x54afde(0x204)]+':'+_0x24da32[_0x54afde(0x1dc)]['id']),_0x45ff84[_0x54afde(0x1ca)](_0x1f3519,!0x0)&&_0x844597[_0x54afde(0x1bf)](_0x24da32[_0x54afde(0x204)]+':'+_0x24da32[_0x54afde(0x1dc)]['id']);}if(_0x29eb27[_0x54afde(0x1d1)]!=_0x844597[_0x54afde(0x1d1)])return!0x1;for(const _0x323233 of _0x29eb27)if(!_0x844597[_0x54afde(0x1d2)](_0x323233))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2a28fd=_0x3604;(function(_0x4d4d65,_0x2ae5b8){const _0x19f2d3=_0x3604,_0x25b1c3=_0x4d4d65();while(!![]){try{const _0x3d8ced=parseInt(_0x19f2d3(0x1bf))/0x1+parseInt(_0x19f2d3(0x1bc))/0x2*(parseInt(_0x19f2d3(0x1cc))/0x3)+parseInt(_0x19f2d3(0x1e6))/0x4+-parseInt(_0x19f2d3(0x1da))/0x5+-parseInt(_0x19f2d3(0x1c8))/0x6*(-parseInt(_0x19f2d3(0x1f1))/0x7)+parseInt(_0x19f2d3(0x1b9))/0x8*(-parseInt(_0x19f2d3(0x1d7))/0x9)+-parseInt(_0x19f2d3(0x1fd))/0xa;if(_0x3d8ced===_0x2ae5b8)break;else _0x25b1c3['push'](_0x25b1c3['shift']());}catch(_0x40d97c){_0x25b1c3['push'](_0x25b1c3['shift']());}}}(_0x47c9,0xc9f05));import{Plugin as _0x566153}from'ckeditor5/src/core.js';import _0x1b6de9 from'./table.js';import{LiveRange as _0x1add35}from'ckeditor5/src/engine.js';function _0x47c9(){const _0x111b5e=['registerCustomCallback','direction','length','TableEditing','execute','2052GhXbYo','editor','value','formatBlock','6pNmxVH','registerDescriptionCallback','descriptionFactory','mergeTableCells','stop','splitTableCellVertically','markMultiRangeBlockFormat','isEnabled','get','setSelection','model','36981CBaDDl','getRanges','map','7683285wANbEk','plugins','_tablePostFixingSubtypes','return','findAncestor','getSelectionAffectedTableCells','_areMergableCells','mergeTableCellRight','selection','containsRange','push','format','6090060ubYdSN','mergeTableCellUp','getFirstPosition','commands','enableCommand','from','insertion','getCellLocation','createRangeOn','refresh','horizontally','11361ZKnuuA','add','getSuggestions','createTableWalker','requires','TrackChangesEditing','filter','root','change','mergeTableCellLeft','low','find','8625410AWcpks','commandName','isInContent','markBlockFormat','accept','rootName','_suggestionFactory','*Split\x20cell:*\x20horizontally','getAncestors','element','_acceptFormatSuggestionCallbackFactory','has','locale','trackChanges','cell','forceDefaultExecution','author','detach','fromRange','document','splitTableCellHorizontally','subType','$graveyard','table','deletion','type','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20vertically','formatInline','mergeTableCellDown','tableCell','2008GGtvji','size','highest','1330382KygFwF','TableUtils','afterInit','849735pEpwEc','set:isEnabled','_areSelectedCellsMergable','*Merge\x20cells*'];_0x47c9=function(){return _0x111b5e;};return _0x47c9();}function _0x3604(_0x297da6,_0x8fbc6a){const _0x47c9f3=_0x47c9();return _0x3604=function(_0x3604a1,_0x3b5030){_0x3604a1=_0x3604a1-0x1ac;let _0x151e64=_0x47c9f3[_0x3604a1];return _0x151e64;},_0x3604(_0x297da6,_0x8fbc6a);}import{getTranslation as _0x11c8e8}from'../utils/common-translations.js';export default class St extends _0x566153{static get[_0x2a28fd(0x1f5)](){return[_0x1b6de9];}[_0x2a28fd(0x1be)](){const _0x1429d9=_0x2a28fd,_0x4a1b14=this[_0x1429d9(0x1c9)],_0x11efb4=_0x4a1b14[_0x1429d9(0x1d6)][_0x1429d9(0x1ad)][_0x1429d9(0x1e2)],_0x5aae0f=_0x4a1b14[_0x1429d9(0x209)];if(!_0x4a1b14[_0x1429d9(0x1db)][_0x1429d9(0x208)](_0x1429d9(0x1c6)))return;const _0x325b65=_0x4a1b14[_0x1429d9(0x1db)][_0x1429d9(0x1d4)](_0x1429d9(0x1f6)),_0x1b6713=_0x4a1b14[_0x1429d9(0x1db)][_0x1429d9(0x1d4)](_0x1429d9(0x1bd)),_0x3d89cd=_0x4a1b14[_0x1429d9(0x1db)][_0x1429d9(0x1d4)](_0x1b6de9);_0x3d89cd[_0x1429d9(0x1dc)][_0x1429d9(0x1e4)](_0x1429d9(0x1cf)),_0x325b65[_0x1429d9(0x1ea)](_0x1429d9(0x1cf),()=>{const _0x22ed2a=_0x1429d9,_0x54a612=_0x1b6713[_0x22ed2a(0x1df)](_0x4a1b14[_0x22ed2a(0x1d6)][_0x22ed2a(0x1ad)][_0x22ed2a(0x1e2)]);_0x4a1b14[_0x22ed2a(0x1d6)][_0x22ed2a(0x1f9)](()=>{const _0x2bd4c1=_0x22ed2a;_0x325b65[_0x2bd4c1(0x1d2)](_0x54a612,{'commandName':_0x2bd4c1(0x1cf),'commandParams':[]},[],_0x2bd4c1(0x1cf));});}),_0x4a1b14[_0x1429d9(0x1e9)][_0x1429d9(0x1d4)](_0x1429d9(0x1cf))['on'](_0x1429d9(0x1c7),(_0x4268d9,_0x7e7194)=>{const _0x5459b4=_0x1429d9;_0x4a1b14[_0x5459b4(0x1e9)][_0x5459b4(0x1d4)](_0x5459b4(0x20a))[_0x5459b4(0x1ca)]&&(_0x7e7194[_0x5459b4(0x1c5)]>0x0&&_0x7e7194[_0x7e7194[_0x5459b4(0x1c5)]-0x1]&&_0x7e7194[_0x7e7194[_0x5459b4(0x1c5)]-0x1][_0x5459b4(0x20c)]||_0x325b65[_0x5459b4(0x1b4)]||this[_0x5459b4(0x1c1)]()||_0x4268d9[_0x5459b4(0x1d0)]());},{'priority':_0x1429d9(0x1bb)});for(const _0x1e95dd of[_0x1429d9(0x1e7),_0x1429d9(0x1e1),_0x1429d9(0x1b7),_0x1429d9(0x1fa)]){const _0x223e8e=_0x4a1b14[_0x1429d9(0x1e9)][_0x1429d9(0x1d4)](_0x1e95dd);_0x325b65[_0x1429d9(0x1ea)](_0x1e95dd,()=>{const _0x29e619=_0x1429d9,_0x4a47bf=_0x4a1b14[_0x29e619(0x1d6)][_0x29e619(0x1ad)][_0x29e619(0x1e2)][_0x29e619(0x1e8)]()[_0x29e619(0x205)]()[_0x29e619(0x1fc)](_0x3996b8=>_0x3996b8['is'](_0x29e619(0x206),_0x29e619(0x1b8))),_0x5e8448=_0x223e8e[_0x29e619(0x1ca)];_0x4a1b14[_0x29e619(0x1d6)][_0x29e619(0x1f9)](()=>{const _0x36fa23=_0x29e619;_0x325b65[_0x36fa23(0x1d2)]([_0x4a47bf,_0x5e8448],{'commandName':_0x36fa23(0x1cf),'commandParams':[]},[],_0x36fa23(0x1cf));});});}for(const _0x57ecfa of[_0x1429d9(0x1d1),_0x1429d9(0x1ae)]){const _0x21cc9b=_0x4a1b14[_0x1429d9(0x1e9)][_0x1429d9(0x1d4)](_0x57ecfa);_0x325b65[_0x1429d9(0x1ea)](_0x57ecfa,()=>{const _0x653137=_0x1429d9,_0x2acedb=_0x1b6713[_0x653137(0x1df)](_0x4a1b14[_0x653137(0x1d6)][_0x653137(0x1ad)][_0x653137(0x1e2)])[0x0],_0xdb8c3a=_0x2acedb[_0x653137(0x1de)](_0x653137(0x1b1)),{column:_0x2aa9f1,row:_0x496308}=_0x1b6713[_0x653137(0x1ed)](_0x2acedb);let _0x4b76dd=[];if(_0x653137(0x1f0)==_0x21cc9b[_0x653137(0x1c4)]){const _0x3b12d2=_0x1b6713[_0x653137(0x1f4)](_0xdb8c3a,{'startRow':_0x496308,'endRow':_0x496308,'includeAllSlots':!0x0});_0x4b76dd=Array[_0x653137(0x1eb)](_0x3b12d2)[_0x653137(0x1d9)](_0x10135=>_0x10135[_0x653137(0x20b)]);}else{const _0x8c392d=_0x1b6713[_0x653137(0x1f4)](_0xdb8c3a,{'column':_0x2aa9f1,'includeAllSlots':!0x0});_0x4b76dd=Array[_0x653137(0x1eb)](_0x8c392d)[_0x653137(0x1d9)](_0x205a4a=>_0x205a4a[_0x653137(0x20b)]);}_0x4a1b14[_0x653137(0x1d6)][_0x653137(0x1f9)](_0x3c8078=>{const _0x541985=_0x653137;_0x325b65[_0x541985(0x200)](_0x3c8078[_0x541985(0x1ee)](_0x2acedb),{'commandName':_0x57ecfa,'commandParams':[]},_0x4b76dd,_0x57ecfa);});});}_0x325b65[_0x1429d9(0x1ce)][_0x1429d9(0x1cd)](_0x3e211e=>{const _0x1a9cd4=_0x1429d9;if(_0x1a9cd4(0x1cb)!=_0x3e211e[_0x1a9cd4(0x1b3)]&&_0x1a9cd4(0x1b6)!=_0x3e211e[_0x1a9cd4(0x1b3)])return;const {data:_0xd6ee87}=_0x3e211e;return _0xd6ee87&&_0x1a9cd4(0x1cf)==_0xd6ee87[_0x1a9cd4(0x1fe)]?{'type':_0x1a9cd4(0x1e5),'content':_0x11c8e8(_0x5aae0f,_0x1a9cd4(0x1c2))}:void 0x0;}),_0x325b65[_0x1429d9(0x1ce)][_0x1429d9(0x1cd)](_0x11e378=>{const _0x44fad2=_0x1429d9;if(_0x44fad2(0x1cb)!=_0x11e378[_0x44fad2(0x1b3)]&&_0x44fad2(0x1b6)!=_0x11e378[_0x44fad2(0x1b3)])return;const {data:_0x522d16}=_0x11e378;return _0x522d16?_0x44fad2(0x1d1)==_0x522d16[_0x44fad2(0x1fe)]?{'type':_0x44fad2(0x1e5),'content':_0x11c8e8(_0x5aae0f,_0x44fad2(0x1b5))}:_0x44fad2(0x1ae)==_0x522d16[_0x44fad2(0x1fe)]?{'type':_0x44fad2(0x1e5),'content':_0x11c8e8(_0x5aae0f,_0x44fad2(0x204))}:void 0x0:void 0x0;});const _0x3b4fad=_0x3d89cd[_0x1429d9(0x207)]();for(const _0x12cb63 of[_0x1429d9(0x1e7),_0x1429d9(0x1e1),_0x1429d9(0x1b7),_0x1429d9(0x1fa)])_0x325b65[_0x1429d9(0x203)][_0x1429d9(0x1c3)](_0x1429d9(0x1cb),_0x12cb63,_0x1429d9(0x201),_0x3b4fad);for(const _0x16a9ae of[_0x1429d9(0x1d1),_0x1429d9(0x1ae)])_0x325b65[_0x1429d9(0x203)][_0x1429d9(0x1c3)](_0x1429d9(0x1cb),_0x16a9ae,_0x1429d9(0x201),_0x3b4fad);_0x325b65[_0x1429d9(0x203)][_0x1429d9(0x1c3)](_0x1429d9(0x1cb),_0x1429d9(0x1cf),_0x1429d9(0x201),_0x548744=>{const _0x5809d6=_0x1429d9;_0x4a1b14[_0x5809d6(0x1d6)][_0x5809d6(0x1f9)](_0x3b5764=>{const _0x361138=_0x5809d6,_0x15f8ab=Array[_0x361138(0x1eb)](_0x11efb4[_0x361138(0x1d8)]())[_0x361138(0x1d9)](_0x2c30fc=>_0x1add35[_0x361138(0x1ac)](_0x2c30fc));_0x3b5764[_0x361138(0x1d5)](_0x548744),_0x4a1b14[_0x361138(0x1e9)][_0x361138(0x1d4)](_0x361138(0x1cf))[_0x361138(0x1ef)](),_0x4a1b14[_0x361138(0x1c7)](_0x361138(0x1cf),{'forceDefaultExecution':!0x0});const _0x584ffe=_0x15f8ab[_0x361138(0x1f7)](_0x1881a5=>_0x361138(0x1b0)!=_0x1881a5[_0x361138(0x1f8)][_0x361138(0x202)]);_0x584ffe[_0x361138(0x1c5)]>0x0&&_0x3b5764[_0x361138(0x1d5)](_0x584ffe);for(const _0x209d39 of _0x15f8ab)_0x209d39[_0x361138(0x20e)]();});});for(const _0x177710 of[_0x1429d9(0x1e7),_0x1429d9(0x1b7),_0x1429d9(0x1fa),_0x1429d9(0x1e1)]){const _0x846a04=_0x4a1b14[_0x1429d9(0x1e9)][_0x1429d9(0x1d4)](_0x177710);_0x846a04['on'](_0x1429d9(0x1c0),(_0x21d8e4,_0x184f9d,_0x1e5a58)=>{const _0x38e4ff=_0x1429d9;if(_0x1e5a58){const _0x4c4d30=_0x4a1b14[_0x38e4ff(0x1d6)][_0x38e4ff(0x1ad)][_0x38e4ff(0x1e2)][_0x38e4ff(0x1e8)]()[_0x38e4ff(0x205)]()[_0x38e4ff(0x1fc)](_0x438220=>_0x438220['is'](_0x38e4ff(0x206),_0x38e4ff(0x1b8)));this[_0x38e4ff(0x1e0)](_0x846a04[_0x38e4ff(0x1ca)],_0x4c4d30)||(_0x21d8e4[_0x38e4ff(0x1dd)]=!0x1,_0x21d8e4[_0x38e4ff(0x1d0)]());}},{'priority':_0x1429d9(0x1fb)});}}[_0x2a28fd(0x1c1)](){const _0x4dcb93=_0x2a28fd,_0x78c3be=this[_0x4dcb93(0x1c9)][_0x4dcb93(0x1e9)][_0x4dcb93(0x1d4)](_0x4dcb93(0x1cf)),_0x30803e=this[_0x4dcb93(0x1c9)][_0x4dcb93(0x1db)][_0x4dcb93(0x1d4)](_0x4dcb93(0x1bd));if(!_0x78c3be[_0x4dcb93(0x1d3)])return!0x1;const _0x582300=_0x30803e[_0x4dcb93(0x1df)](this[_0x4dcb93(0x1c9)][_0x4dcb93(0x1d6)][_0x4dcb93(0x1ad)][_0x4dcb93(0x1e2)]);for(const _0x2517ad of _0x582300)for(const _0x26adcd of _0x582300)if(_0x2517ad!=_0x26adcd&&!this[_0x4dcb93(0x1e0)](_0x2517ad,_0x26adcd))return!0x1;return!0x0;}[_0x2a28fd(0x1e0)](_0x464bdf,_0x167064){const _0x4ecf65=_0x2a28fd,_0x13d933=this[_0x4ecf65(0x1c9)][_0x4ecf65(0x1db)][_0x4ecf65(0x1d4)](_0x4ecf65(0x1f6)),_0x433342=this[_0x4ecf65(0x1c9)][_0x4ecf65(0x1d6)][_0x4ecf65(0x1ee)](_0x464bdf),_0x4334e4=this[_0x4ecf65(0x1c9)][_0x4ecf65(0x1d6)][_0x4ecf65(0x1ee)](_0x167064),_0x4b2ced=new Set(),_0x1d36f8=new Set();for(const _0x3606d3 of _0x13d933[_0x4ecf65(0x1f3)]())if((_0x4ecf65(0x1ec)==_0x3606d3[_0x4ecf65(0x1b3)]||_0x4ecf65(0x1b2)==_0x3606d3[_0x4ecf65(0x1b3)]||_0x4ecf65(0x1cf)==_0x3606d3[_0x4ecf65(0x1af)])&&_0x3606d3[_0x4ecf65(0x1ff)]){for(const _0x3163c5 of _0x3606d3[_0x4ecf65(0x1d8)]())_0x3163c5[_0x4ecf65(0x1e3)](_0x433342,!0x0)&&_0x4b2ced[_0x4ecf65(0x1f2)](_0x3606d3[_0x4ecf65(0x1b3)]+':'+_0x3606d3[_0x4ecf65(0x20d)]['id']),_0x3163c5[_0x4ecf65(0x1e3)](_0x4334e4,!0x0)&&_0x1d36f8[_0x4ecf65(0x1f2)](_0x3606d3[_0x4ecf65(0x1b3)]+':'+_0x3606d3[_0x4ecf65(0x20d)]['id']);}if(_0x4b2ced[_0x4ecf65(0x1ba)]!=_0x1d36f8[_0x4ecf65(0x1ba)])return!0x1;for(const _0x258202 of _0x4b2ced)if(!_0x1d36f8[_0x4ecf65(0x208)](_0x258202))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x156667=_0x2540;function _0x2540(_0x21a9a5,_0x5705a0){const _0x3193bc=_0x3193();return _0x2540=function(_0x2540eb,_0x3a0191){_0x2540eb=_0x2540eb-0x1e9;let _0xc0c502=_0x3193bc[_0x2540eb];return _0xc0c502;},_0x2540(_0x21a9a5,_0x5705a0);}(function(_0x2e42a2,_0xd422fc){const _0x23343b=_0x2540,_0x5d558d=_0x2e42a2();while(!![]){try{const _0x5f1dc5=-parseInt(_0x23343b(0x1ff))/0x1+-parseInt(_0x23343b(0x1f0))/0x2*(-parseInt(_0x23343b(0x1f4))/0x3)+parseInt(_0x23343b(0x1e9))/0x4+parseInt(_0x23343b(0x1f9))/0x5*(parseInt(_0x23343b(0x1eb))/0x6)+parseInt(_0x23343b(0x1ec))/0x7+-parseInt(_0x23343b(0x1ed))/0x8*(parseInt(_0x23343b(0x1f7))/0x9)+-parseInt(_0x23343b(0x1f5))/0xa;if(_0x5f1dc5===_0xd422fc)break;else _0x5d558d['push'](_0x5d558d['shift']());}catch(_0x1064e3){_0x5d558d['push'](_0x5d558d['shift']());}}}(_0x3193,0x2d93f));import{Plugin as _0x4f9c2e}from'ckeditor5/src/core.js';function _0x3193(){const _0xf9ced1=['TrackChangesEditing','descriptionFactory','573386vDFxyo','plugins','locale','get','3IwlRsd','2079210rCcTuk','registerElementLabel','1134117RVDZmn','tableOfContents','35irlkcl','editor','enableCommand','afterInit','commands','insertTableOfContents','100479wcOJYz','292160TnOLna','ELEMENT_TABLE_OF_CONTENTS','115578eMImwz','1767773NCKmwl','16WUTyTr'];_0x3193=function(){return _0xf9ced1;};return _0x3193();}import{getTranslation as _0x1910af}from'../utils/common-translations.js';export default class Ct extends _0x4f9c2e{[_0x156667(0x1fc)](){const _0x18fb9b=_0x156667,_0x13acde=this[_0x18fb9b(0x1fa)];if(!_0x13acde[_0x18fb9b(0x1fd)][_0x18fb9b(0x1f3)](_0x18fb9b(0x1fe)))return;_0x13acde[_0x18fb9b(0x1f1)][_0x18fb9b(0x1f3)](_0x18fb9b(0x1ee))[_0x18fb9b(0x1fb)](_0x18fb9b(0x1fe));const _0x13b86d=_0x13acde[_0x18fb9b(0x1f1)][_0x18fb9b(0x1f3)](_0x18fb9b(0x1ee)),_0x432b27=_0x13acde[_0x18fb9b(0x1f2)];_0x13b86d[_0x18fb9b(0x1ef)][_0x18fb9b(0x1f6)](_0x18fb9b(0x1f8),_0x26f420=>_0x1910af(_0x432b27,_0x18fb9b(0x1ea),_0x26f420));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20b1d5=_0x4abc;(function(_0x7e65f,_0x1e1c25){const _0x348694=_0x4abc,_0x3901c8=_0x7e65f();while(!![]){try{const _0x1406e5=-parseInt(_0x348694(0x1df))/0x1+parseInt(_0x348694(0x21c))/0x2+-parseInt(_0x348694(0x1e1))/0x3*(parseInt(_0x348694(0x1f8))/0x4)+parseInt(_0x348694(0x1fb))/0x5*(parseInt(_0x348694(0x1ec))/0x6)+parseInt(_0x348694(0x1ea))/0x7*(-parseInt(_0x348694(0x1f9))/0x8)+parseInt(_0x348694(0x21b))/0x9+parseInt(_0x348694(0x1e2))/0xa*(-parseInt(_0x348694(0x1ee))/0xb);if(_0x1406e5===_0x1e1c25)break;else _0x3901c8['push'](_0x3901c8['shift']());}catch(_0xb04da4){_0x3901c8['push'](_0x3901c8['shift']());}}}(_0x1f36,0x944e2));function _0x4abc(_0x32399d,_0x1820a7){const _0x1f36da=_0x1f36();return _0x4abc=function(_0x4abc09,_0x484701){_0x4abc09=_0x4abc09-0x1d9;let _0x559882=_0x1f36da[_0x4abc09];return _0x559882;},_0x4abc(_0x32399d,_0x1820a7);}import{Plugin as _0xa46460}from'ckeditor5/src/core.js';function _0x1f36(){const _0x486bdd=['registerCustomCallback','tableCellHeight','tableBorderWidth','selection','*Format:*\x20change\x20table\x20cell\x20properties','822449HteswY','format','1171230YngiOw','52130jCucRe','tableBackgroundColor','findAncestor','model','tableAlignment','has','getSelectionAffectedTableCells','tableCellBorderStyle','84VmSbIo','join','5529468heMOqc','tableCellBorderWidth','517ULgNpo','enableCommand','_suggestionFactory','_getSuggestion','_handlePropertyChange','locale','commandParams','discard','enqueueChange','handleDiscardAction','8CJJhsv','247968elqjVd','document','5RECRJv','get','change','TablePropertiesEditing','removeAttribute','getSuggestionCallback','tableCellPadding','*Format:*\x20change\x20table\x20properties','table','getContainedElement','accept','descriptionFactory','tableCellVerticalAlignment','tableBorderStyle','TrackChangesTableProperties','formatBlock','getFirstPosition','tableCellBorderColor','plugins','tableCellWidth','TableCellPropertiesEditing','subType','tableProperties','getSuggestions','TrackChangesEditing','tableCellBackgroundColor','tableHeight','TableUtils','handleSuggestionDescription','afterInit','editor','tableWidth','8367336zgEPDT','1952816IKxWbD','getAttribute','tableCellProperties','tableBorderColor','start','setAttribute','nodeAfter','pluginName','data','registerDescriptionCallback','markBlockFormat','tableCellHorizontalAlignment','batch'];_0x1f36=function(){return _0x486bdd;};return _0x1f36();}import{getTranslation as _0x41ac4c}from'../utils/common-translations.js';export default class $t extends _0xa46460{constructor(_0x4d1f9f){const _0x1f8e2c=_0x4abc;super(_0x4d1f9f),this[_0x1f8e2c(0x211)]=[_0x1f8e2c(0x21f),_0x1f8e2c(0x208),_0x1f8e2c(0x1dc),_0x1f8e2c(0x1e6),_0x1f8e2c(0x21a),_0x1f8e2c(0x215),_0x1f8e2c(0x1e3)],this[_0x1f8e2c(0x21e)]=[_0x1f8e2c(0x20c),_0x1f8e2c(0x1e9),_0x1f8e2c(0x1ed),_0x1f8e2c(0x201),_0x1f8e2c(0x20e),_0x1f8e2c(0x1db),_0x1f8e2c(0x214),_0x1f8e2c(0x227),_0x1f8e2c(0x207)];}static get[_0x20b1d5(0x223)](){const _0x204e76=_0x20b1d5;return _0x204e76(0x209);}[_0x20b1d5(0x218)](){const _0x35b090=_0x20b1d5,_0x365d93=this[_0x35b090(0x219)][_0x35b090(0x20d)][_0x35b090(0x1fc)](_0x35b090(0x213));if(this[_0x35b090(0x219)][_0x35b090(0x20d)][_0x35b090(0x1e7)](_0x35b090(0x1fe))){for(const _0x96094a of this[_0x35b090(0x211)])_0x365d93[_0x35b090(0x1ef)](_0x96094a,(_0x3044d6,_0x335044)=>{const _0x57a27c=_0x35b090,_0x3b2181=this[_0x57a27c(0x219)][_0x57a27c(0x1e5)][_0x57a27c(0x1fa)][_0x57a27c(0x1dd)][_0x57a27c(0x20b)]()[_0x57a27c(0x1e4)](_0x57a27c(0x203));this[_0x57a27c(0x1f2)](_0x96094a,[_0x3b2181],this[_0x57a27c(0x211)],_0x57a27c(0x211),_0x3044d6,_0x335044);});_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x211),_0x35b090(0x205),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x200)](_0x35b090(0x20a),null,_0x35b090(0x1f5))),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x211),_0x35b090(0x1f5),(_0x398781,_0x3f148a)=>this[_0x35b090(0x1f7)](this[_0x35b090(0x211)],_0x398781,_0x3f148a)),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x211),_0x35b090(0x1eb),()=>!0x1);}if(this[_0x35b090(0x219)][_0x35b090(0x20d)][_0x35b090(0x1e7)](_0x35b090(0x20f))){for(const _0x148401 of this[_0x35b090(0x21e)])_0x365d93[_0x35b090(0x1ef)](_0x148401,(_0x2e7129,_0x3b5871)=>{const _0x44680f=_0x35b090,_0x413267=this[_0x44680f(0x219)][_0x44680f(0x20d)][_0x44680f(0x1fc)](_0x44680f(0x216))[_0x44680f(0x1e8)](this[_0x44680f(0x219)][_0x44680f(0x1e5)][_0x44680f(0x1fa)][_0x44680f(0x1dd)]);this[_0x44680f(0x1f2)](_0x148401,_0x413267,this[_0x44680f(0x21e)],_0x44680f(0x21e),_0x2e7129,_0x3b5871);});_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x21e),_0x35b090(0x205),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x200)](_0x35b090(0x20a),null,_0x35b090(0x1f5))),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x21e),_0x35b090(0x1f5),(_0x36c369,_0x77eff5)=>this[_0x35b090(0x1f7)](this[_0x35b090(0x21e)],_0x36c369,_0x77eff5)),_0x365d93[_0x35b090(0x1f0)][_0x35b090(0x1da)](_0x35b090(0x20a),_0x35b090(0x21e),_0x35b090(0x1eb),()=>!0x1);}_0x365d93[_0x35b090(0x206)][_0x35b090(0x225)](_0x503f83=>this[_0x35b090(0x217)](_0x503f83));}[_0x20b1d5(0x1f2)](_0x41c94c,_0x3c8ef4,_0x50f01a,_0x722908,_0x2122d6,_0x1616b1){const _0x1b18ce=_0x20b1d5,_0x3bbe79=this[_0x1b18ce(0x219)][_0x1b18ce(0x20d)][_0x1b18ce(0x1fc)](_0x1b18ce(0x213));this[_0x1b18ce(0x219)][_0x1b18ce(0x1e5)][_0x1b18ce(0x1f6)](_0x1616b1[_0x1b18ce(0x1d9)],()=>{const _0x4d2031=_0x1b18ce;for(const _0x5ee9c3 of _0x3c8ef4){if(this[_0x4d2031(0x1f1)](_0x5ee9c3,_0x722908))_0x2122d6(_0x1616b1);else{const _0x11f51d={};for(const _0x52b017 of _0x50f01a){const _0xf39097=_0x5ee9c3[_0x4d2031(0x21d)](_0x52b017);void 0x0!==_0xf39097&&(_0x11f51d[_0x52b017]=_0xf39097);}_0x2122d6(_0x1616b1),_0x3bbe79[_0x4d2031(0x226)](_0x5ee9c3,{'commandParams':[_0x11f51d]},[],_0x722908);}}});}[_0x20b1d5(0x1f7)](_0x5a5d66,_0x365b53,_0x45b4dc){const _0x48abb2=_0x20b1d5,_0x3c059f=_0x365b53[0x0][_0x48abb2(0x220)][_0x48abb2(0x222)],_0x443245=_0x45b4dc[_0x48abb2(0x1f4)][0x0];this[_0x48abb2(0x219)][_0x48abb2(0x1e5)][_0x48abb2(0x1fd)](_0x3010aa=>{const _0x5b4ad6=_0x48abb2;for(const _0x1c6b42 of _0x5a5d66)void 0x0!==_0x443245[_0x1c6b42]?_0x3010aa[_0x5b4ad6(0x221)](_0x1c6b42,_0x443245[_0x1c6b42],_0x3c059f):_0x3010aa[_0x5b4ad6(0x1ff)](_0x1c6b42,_0x3c059f);});}[_0x20b1d5(0x217)](_0x1886ba){const _0x30b765=_0x20b1d5;if(_0x1886ba[_0x30b765(0x224)])switch(_0x1886ba[_0x30b765(0x210)]){case _0x30b765(0x211):return{'type':_0x30b765(0x1e0),'content':_0x41ac4c(this[_0x30b765(0x219)][_0x30b765(0x1f3)],_0x30b765(0x202))};case _0x30b765(0x21e):return{'type':_0x30b765(0x1e0),'content':_0x41ac4c(this[_0x30b765(0x219)][_0x30b765(0x1f3)],_0x30b765(0x1de))};}}[_0x20b1d5(0x1f1)](_0x10e33,_0x51147e){const _0x790f1a=_0x20b1d5,_0x1c7f83=this[_0x790f1a(0x219)][_0x790f1a(0x20d)][_0x790f1a(0x1fc)](_0x790f1a(0x213));for(const _0x38049e of _0x1c7f83[_0x790f1a(0x212)]({'skipNotAttached':!0x0})){const _0x1452c8=_0x38049e[_0x790f1a(0x204)]();if(_0x38049e[_0x790f1a(0x210)]===_0x51147e&&_0x1452c8===_0x10e33)return _0x38049e;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f336=_0x575d;(function(_0x486105,_0x1a6fdb){const _0x3ba614=_0x575d,_0x426e53=_0x486105();while(!![]){try{const _0x3aa4b6=-parseInt(_0x3ba614(0x7d))/0x1+-parseInt(_0x3ba614(0x88))/0x2+parseInt(_0x3ba614(0x84))/0x3+parseInt(_0x3ba614(0x8b))/0x4+-parseInt(_0x3ba614(0x8a))/0x5+-parseInt(_0x3ba614(0x7c))/0x6*(parseInt(_0x3ba614(0x89))/0x7)+parseInt(_0x3ba614(0x86))/0x8;if(_0x3aa4b6===_0x1a6fdb)break;else _0x426e53['push'](_0x426e53['shift']());}catch(_0x453edd){_0x426e53['push'](_0x426e53['shift']());}}}(_0x10a1,0xec630));import{Plugin as _0x38edf9}from'ckeditor5/src/core.js';export default class _t extends _0x38edf9{[_0x10f336(0x80)](){const _0x36c2ae=_0x10f336,_0x5db4be=this[_0x36c2ae(0x83)];_0x5db4be[_0x36c2ae(0x8c)][_0x36c2ae(0x87)](_0x36c2ae(0x82))&&_0x5db4be[_0x36c2ae(0x8c)][_0x36c2ae(0x7f)](_0x36c2ae(0x85))[_0x36c2ae(0x7e)](_0x36c2ae(0x81));}}function _0x575d(_0x53c740,_0x2f460f){const _0x10a14f=_0x10a1();return _0x575d=function(_0x575db4,_0x196396){_0x575db4=_0x575db4-0x7c;let _0x2a5d5a=_0x10a14f[_0x575db4];return _0x2a5d5a;},_0x575d(_0x53c740,_0x2f460f);}function _0x10a1(){const _0x98cada=['get','afterInit','insertTemplate','Template','editor','536910nyHvBX','TrackChangesEditing','39018384uRQESE','has','2731734jQFNmQ','42csIiRB','3810480FpfLfa','1553620fzURwe','plugins','933882JUudHv','1414588wKHHIi','enableCommand'];_0x10a1=function(){return _0x98cada;};return _0x10a1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a7e7d=_0x3c49;(function(_0x492098,_0x2dc5b7){const _0x9bc605=_0x3c49,_0x4d1d12=_0x492098();while(!![]){try{const _0x2cef77=-parseInt(_0x9bc605(0xe1))/0x1+-parseInt(_0x9bc605(0x107))/0x2*(-parseInt(_0x9bc605(0x100))/0x3)+parseInt(_0x9bc605(0xfb))/0x4*(-parseInt(_0x9bc605(0xe8))/0x5)+-parseInt(_0x9bc605(0xed))/0x6+-parseInt(_0x9bc605(0xe5))/0x7*(-parseInt(_0x9bc605(0xeb))/0x8)+-parseInt(_0x9bc605(0xef))/0x9+-parseInt(_0x9bc605(0xf6))/0xa*(-parseInt(_0x9bc605(0xe7))/0xb);if(_0x2cef77===_0x2dc5b7)break;else _0x4d1d12['push'](_0x4d1d12['shift']());}catch(_0x3b1080){_0x4d1d12['push'](_0x4d1d12['shift']());}}}(_0x2f29,0x8feae));function _0x3c49(_0x5d7b12,_0x4ba102){const _0x2f29c8=_0x2f29();return _0x3c49=function(_0x3c496d,_0x264024){_0x3c496d=_0x3c496d-0xe0;let _0x595514=_0x2f29c8[_0x3c496d];return _0x595514;},_0x3c49(_0x5d7b12,_0x4ba102);}import{Plugin as _0x5478d6}from'ckeditor5/src/core.js';import{getTranslation as _0xe505c1}from'../utils/common-translations.js';function _0x2f29(){const _0x2b3b56=['document','schema','45974QGaEaj','from','Title','getChangedMarkers','has','title-content','nodeBefore','276352XlcsLC','removeMarker','isTouching','registerPostFixer','56BgUDtu','ELEMENT_TITLE','10409223JHbXBP','60RsoFQb','descriptionFactory','TrackChangesEditing','1006952WVcWJZ','registerElementLabel','5537790MTqMdO','isEqual','8720280eNxQQJ','element','createRange','get','suggestion','isCollapsed','plugins','20jRoeQX','afterInit','end','start','newRange','376752uNVJwu','editor','_splitMarkerName','forward','getNearestSelectionRange','129iZsbNi','model','locale','differ','updateMarker'];_0x2f29=function(){return _0x2b3b56;};return _0x2f29();}export default class Dt extends _0x5478d6{[_0x1a7e7d(0xf7)](){const _0x347f3b=_0x1a7e7d,_0x1d36f7=this[_0x347f3b(0xfc)];if(!_0x1d36f7[_0x347f3b(0xf5)][_0x347f3b(0x10b)](_0x347f3b(0x109)))return;const _0x514a69=_0x1d36f7[_0x347f3b(0xf5)][_0x347f3b(0xf2)](_0x347f3b(0xea));_0x514a69[_0x347f3b(0xe9)][_0x347f3b(0xec)](_0x347f3b(0x10c),()=>_0xe505c1(_0x1d36f7[_0x347f3b(0x102)],_0x347f3b(0xe6))),_0x1d36f7[_0x347f3b(0x101)][_0x347f3b(0x105)][_0x347f3b(0xe4)](_0x2ca980=>{const _0x16c411=_0x347f3b;let _0x57ad1d=!0x1;const _0x5b07c2=Array[_0x16c411(0x108)](_0x1d36f7[_0x16c411(0x101)][_0x16c411(0x105)][_0x16c411(0x103)][_0x16c411(0x10a)]());for(const {name:_0x4ae1b8,data:_0x1dfb02}of _0x5b07c2){const {group:_0x389249}=_0x514a69[_0x16c411(0xfd)](_0x4ae1b8);if(_0x16c411(0xf3)!==_0x389249||!_0x1dfb02[_0x16c411(0xfa)])continue;const _0x25279c=_0x1dfb02[_0x16c411(0xfa)],_0x8b3c1f=_0x25279c[_0x16c411(0xf8)][_0x16c411(0xe0)];if(!_0x8b3c1f||!_0x8b3c1f['is'](_0x16c411(0xf0),_0x16c411(0x10c)))continue;if(!_0x25279c[_0x16c411(0xf9)][_0x16c411(0xe3)](_0x25279c[_0x16c411(0xf8)]))continue;const _0x2f6878=_0x1d36f7[_0x16c411(0x101)][_0x16c411(0x106)][_0x16c411(0xff)](_0x25279c[_0x16c411(0xf8)],_0x16c411(0xfe));if(_0x2f6878&&_0x2f6878[_0x16c411(0xf4)]){const _0x3288a3=_0x2ca980[_0x16c411(0xf1)](_0x25279c[_0x16c411(0xf9)],_0x2f6878[_0x16c411(0xf9)]);_0x3288a3[_0x16c411(0xee)](_0x25279c)||(_0x2ca980[_0x16c411(0x104)](_0x4ae1b8,{'range':_0x3288a3}),_0x57ad1d=!0x0);}_0x57ad1d||(_0x2ca980[_0x16c411(0xe2)](_0x4ae1b8),_0x57ad1d=!0x0);}return _0x57ad1d;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17aa63=_0x4338;(function(_0x2daa11,_0x13e2c1){const _0x4999dc=_0x4338,_0x241b6b=_0x2daa11();while(!![]){try{const _0x564775=parseInt(_0x4999dc(0x1a0))/0x1+parseInt(_0x4999dc(0x193))/0x2+parseInt(_0x4999dc(0x19d))/0x3+-parseInt(_0x4999dc(0x19a))/0x4+parseInt(_0x4999dc(0x196))/0x5*(parseInt(_0x4999dc(0x190))/0x6)+parseInt(_0x4999dc(0x191))/0x7+-parseInt(_0x4999dc(0x19f))/0x8;if(_0x564775===_0x13e2c1)break;else _0x241b6b['push'](_0x241b6b['shift']());}catch(_0x51fa38){_0x241b6b['push'](_0x241b6b['shift']());}}}(_0x73d8,0x70817));function _0x4338(_0x5f00e6,_0x362186){const _0x73d8e=_0x73d8();return _0x4338=function(_0x433854,_0x11b535){_0x433854=_0x433854-0x18f;let _0x16b3d0=_0x73d8e[_0x433854];return _0x16b3d0;},_0x4338(_0x5f00e6,_0x362186);}import{Plugin as _0x4c1c7d}from'ckeditor5/src/core.js';function _0x73d8(){const _0xb84635=['undo','1157585FOaEST','TrackChangesEditing','get','editor','2496712HRUMFC','enableCommand','UndoEditing','1107231CgpMSX','afterInit','197904LVaalz','298591mFixKG','redo','6OuATyi','398839MOTuMN','plugins','307154usfFQJ','has'];_0x73d8=function(){return _0xb84635;};return _0x73d8();}export default class Nt extends _0x4c1c7d{[_0x17aa63(0x19e)](){const _0x410a01=_0x17aa63,_0x41dc7f=this[_0x410a01(0x199)],_0x3791b7=_0x41dc7f[_0x410a01(0x192)][_0x410a01(0x198)](_0x410a01(0x197));_0x41dc7f[_0x410a01(0x192)][_0x410a01(0x194)](_0x410a01(0x19c))&&(_0x3791b7[_0x410a01(0x19b)](_0x410a01(0x195)),_0x3791b7[_0x410a01(0x19b)](_0x410a01(0x18f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2495(_0x3d91cd,_0x3de556){const _0x3def76=_0x3def();return _0x2495=function(_0x24951e,_0x415b9c){_0x24951e=_0x24951e-0x136;let _0x3ea8fb=_0x3def76[_0x24951e];return _0x3ea8fb;},_0x2495(_0x3d91cd,_0x3de556);}(function(_0x4d4ca7,_0x28970c){const _0x2dff0f=_0x2495,_0x52f5a3=_0x4d4ca7();while(!![]){try{const _0x34954=parseInt(_0x2dff0f(0x14e))/0x1+parseInt(_0x2dff0f(0x162))/0x2+parseInt(_0x2dff0f(0x148))/0x3*(parseInt(_0x2dff0f(0x159))/0x4)+-parseInt(_0x2dff0f(0x147))/0x5+-parseInt(_0x2dff0f(0x155))/0x6*(parseInt(_0x2dff0f(0x149))/0x7)+parseInt(_0x2dff0f(0x156))/0x8*(-parseInt(_0x2dff0f(0x14a))/0x9)+-parseInt(_0x2dff0f(0x15a))/0xa*(-parseInt(_0x2dff0f(0x143))/0xb);if(_0x34954===_0x28970c)break;else _0x52f5a3['push'](_0x52f5a3['shift']());}catch(_0xc6003f){_0x52f5a3['push'](_0x52f5a3['shift']());}}}(_0x3def,0x8b7e5));export function getRangesWithAttribute(_0x1625fa,_0x200c2c,_0x1ea175){const _0x34c0ff=_0x2495,_0x38d2bc=[];for(const _0x1292c0 of _0x200c2c[_0x34c0ff(0x14b)]())_0x1292c0[_0x34c0ff(0x13b)](_0x1625fa)&&_0x38d2bc[_0x34c0ff(0x151)](_0x1ea175[_0x34c0ff(0x15c)](_0x1292c0));return _0x38d2bc;}function _0x3def(){const _0x104b82=['getWalker','456363BcjZdo','markerRange','mapper','push','plugins','isBlock','consumable','1409112XgQwLQ','4112368BatAEd','bindElementToMarker','addHighlight','1544iscFQX','1840HimUKf','span','createRangeOn','schema','includes','createUIElement','activeMarkers','ck-suggestion-marker--active','1904192RqRjXe','model','nextSibling','previousPosition','start','parent','insert','addClass','isAtEnd','toViewPosition','name','writer','ck-suggestion-marker-','hasAttribute','get','toViewElement','markerName','TrackChangesEditing','item','type','isContent','37411nKivoP','getCustomProperty','elementEnd','isLimit','2700580MaCQIU','474qJgWeE','14cvxPuE','9PYLiUO','getItems','test'];_0x3def=function(){return _0x104b82;};return _0x3def();}export function downcastSplitMergeMarker(_0x285be1,_0x3b5675,{showActiveMarker:_0x29357a=!0x0}={}){const _0x525040=_0x2495,_0x1ee465=_0x285be1[_0x525040(0x152)][_0x525040(0x13c)](_0x525040(0x13f));return(_0x33f22f,_0xa3907b,_0x4d1f0d)=>{const _0x5aae8a=_0x525040;if(!_0x4d1f0d[_0x5aae8a(0x154)][_0x5aae8a(0x14c)](_0xa3907b[_0x5aae8a(0x14f)],_0x33f22f[_0x5aae8a(0x138)]))return;const _0xc224b6=_0xa3907b[_0x5aae8a(0x14f)][_0x5aae8a(0x14d)](),_0x59deba=_0xa3907b[_0x5aae8a(0x14f)][_0x5aae8a(0x166)],_0x57c537=_0x285be1[_0x5aae8a(0x163)][_0x5aae8a(0x15d)];let _0x270391=null,_0x3063c2=null,_0x941e75=!0x1,_0xe91481=!0x1;for(const _0x4121e1 of _0xc224b6){const _0x122312=_0x4121e1[_0x5aae8a(0x140)];_0x941e75=_0x941e75||_0x57c537[_0x5aae8a(0x142)](_0x122312);const _0x1e3a60=_0x4d1f0d[_0x5aae8a(0x150)][_0x5aae8a(0x13d)](_0x122312);if(_0x1e3a60&&_0x1e3a60[_0x5aae8a(0x144)](_0x5aae8a(0x158)))return;_0x5aae8a(0x145)==_0x4121e1[_0x5aae8a(0x141)]&&(_0x57c537[_0x5aae8a(0x153)](_0x122312)&&!_0x57c537[_0x5aae8a(0x146)](_0x122312)&&(_0x122312[_0x5aae8a(0x164)]||_0x59deba[_0x5aae8a(0x136)]?_0x270391&&_0x270391[_0x5aae8a(0x167)]==_0x122312||(_0x270391=_0x122312,_0x62a78(_0x4121e1[_0x5aae8a(0x165)]),_0xe91481=!0x0):_0x3063c2=_0x3063c2||_0x4121e1[_0x5aae8a(0x165)]));}function _0x62a78(_0x27b8f9){const _0x4e37a5=_0x5aae8a,_0xfe01d1=_0x4d1f0d[_0x4e37a5(0x139)][_0x4e37a5(0x15f)](_0x4e37a5(0x15b),{'class':_0x4e37a5(0x13a)+_0x3b5675}),_0x42d253=_0x4d1f0d[_0x4e37a5(0x150)][_0x4e37a5(0x137)](_0x27b8f9);_0x29357a&&_0x1ee465[_0x4e37a5(0x160)][_0x4e37a5(0x15e)](_0xa3907b[_0x4e37a5(0x13e)])&&_0x4d1f0d[_0x4e37a5(0x139)][_0x4e37a5(0x169)](_0x4e37a5(0x161),_0xfe01d1),_0x4d1f0d[_0x4e37a5(0x139)][_0x4e37a5(0x168)](_0x42d253,_0xfe01d1),_0x4d1f0d[_0x4e37a5(0x150)][_0x4e37a5(0x157)](_0xfe01d1,_0xa3907b[_0x4e37a5(0x13e)]);}_0x941e75||_0xe91481||!_0x3063c2||_0x62a78(_0x3063c2);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x7d3e50=_0xce3b;(function(_0x38365a,_0x508603){const _0x568925=_0xce3b,_0x24c004=_0x38365a();while(!![]){try{const _0x487be0=-parseInt(_0x568925(0xdd))/0x1+-parseInt(_0x568925(0xe6))/0x2+-parseInt(_0x568925(0xfb))/0x3*(-parseInt(_0x568925(0xc4))/0x4)+-parseInt(_0x568925(0xe1))/0x5+-parseInt(_0x568925(0xf1))/0x6+-parseInt(_0x568925(0xb4))/0x7+parseInt(_0x568925(0xf7))/0x8;if(_0x487be0===_0x508603)break;else _0x24c004['push'](_0x24c004['shift']());}catch(_0x1ed72f){_0x24c004['push'](_0x24c004['shift']());}}}(_0x2afe,0xb8444));function _0x2afe(){const _0x5be92a=['_onAttributesChange','commentThread','isExternal','hasComments','isMultiRange','removeMarkers','onAttributesChange','map','4535904CmXwXy','nodeBefore','isIntersectingWithRange','from','get','substr','30594776YEQszU','creator','getAllAdjacentSuggestions','split','396EPtvGe','subType','_saved','getRanges','addMarkerName','data','createdAt','filter','7464730qXwYQT','push','getMarkerNames','attributes','suggestion:','markers','getMultiRangeId','accept','addMarker','authoredAt','onAccept','removeAttribute','discard','@external','head','getRange','29672SluZLU','getFirstRange','size','set','add','_onDiscard','onDiscard','reduce','author','_isDataLoaded','previous','end','removeMarker','getItems','delete','length','isIntersecting','_model','toJSON','getContainedElement','_markerNames','getMarkers','isInContent','_onAccept','start','1027709sufboC','clear','decorate','next','2926755lXdxsK','getFirstMarker','type','change','nodeAfter','1226666sccyFs','addRange','setAttribute'];_0x2afe=function(){return _0x5be92a;};return _0x2afe();}function _0xce3b(_0x107011,_0x4506b1){const _0x2afe94=_0x2afe();return _0xce3b=function(_0xce3b7,_0x712605){_0xce3b7=_0xce3b7-0xaf;let _0x17ee84=_0x2afe94[_0xce3b7];return _0x17ee84;},_0xce3b(_0x107011,_0x4506b1);}import{Element as _0x1e1574}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x87688b,uid as _0x3e02e8}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1fdda4,isEqual as _0x4e166e,set as _0x262b50,unset as _0x47df24}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x87688b(){constructor(_0x57241e,_0x58ba0d){const _0x411e8f=_0xce3b;super(),this[_0x411e8f(0xcd)]=!0x1,this['id']=_0x58ba0d['id'],this[_0x411e8f(0xe3)]=_0x58ba0d[_0x411e8f(0xe3)],this[_0x411e8f(0xfc)]=_0x58ba0d[_0x411e8f(0xfc)]||null,this[_0x411e8f(0xcc)]=_0x58ba0d[_0x411e8f(0xcc)],this[_0x411e8f(0xf8)]=_0x58ba0d[_0x411e8f(0xf8)]||_0x58ba0d[_0x411e8f(0xcc)],this[_0x411e8f(0xeb)]=Boolean(_0x58ba0d[_0x411e8f(0xb7)]&&_0x58ba0d[_0x411e8f(0xb7)][_0x411e8f(0xc1)]),this[_0x411e8f(0xb1)]=null,this[_0x411e8f(0xd5)]=_0x57241e,this[_0x411e8f(0xdb)]=_0x58ba0d[_0x411e8f(0xbe)],this[_0x411e8f(0xc9)]=_0x58ba0d[_0x411e8f(0xca)],this[_0x411e8f(0xe9)]=_0x58ba0d[_0x411e8f(0xef)],this[_0x411e8f(0xd8)]=new Set(),this[_0x411e8f(0xb2)]=null,this[_0x411e8f(0xc7)](_0x411e8f(0xbd),null),this[_0x411e8f(0xc7)](_0x411e8f(0xb7),_0x58ba0d[_0x411e8f(0xb7)]||{}),this[_0x411e8f(0xc7)](_0x411e8f(0xce),null),this[_0x411e8f(0xc7)](_0x411e8f(0xe0),null),this[_0x411e8f(0xc7)](_0x411e8f(0xea),null),this[_0x411e8f(0xc7)](_0x411e8f(0xfd),!0x1),this[_0x411e8f(0xdf)](_0x411e8f(0xbb)),this[_0x411e8f(0xdf)](_0x411e8f(0xc0));}get[_0x7d3e50(0xc2)](){const _0x96b6cd=_0x7d3e50;let _0x9401c4=this;for(;_0x9401c4[_0x96b6cd(0xce)];)_0x9401c4=_0x9401c4[_0x96b6cd(0xce)];return _0x9401c4;}get[_0x7d3e50(0xec)](){const _0x169060=_0x7d3e50;return!!this[_0x169060(0xea)]&&this[_0x169060(0xea)][_0x169060(0xd3)]>0x0;}get[_0x7d3e50(0xed)](){const _0x1a33b9=_0x7d3e50;if(0x0==this[_0x1a33b9(0xd8)][_0x1a33b9(0xc6)])return!0x1;return 0x6==Array[_0x1a33b9(0xf4)](this[_0x1a33b9(0xd8)])[0x0][_0x1a33b9(0xfa)](':')[_0x1a33b9(0xd3)];}get[_0x7d3e50(0xda)](){const _0x205e64=_0x7d3e50;return null!==this[_0x205e64(0xe2)]();}[_0x7d3e50(0xb0)](_0x3044b6){const _0xcc8c0a=_0x7d3e50;this[_0xcc8c0a(0xd8)][_0xcc8c0a(0xc8)](_0x3044b6);}[_0x7d3e50(0xb6)](){const _0x16c54c=_0x7d3e50;return Array[_0x16c54c(0xf4)](this[_0x16c54c(0xd8)]);}[_0x7d3e50(0xd9)](){const _0x5d45df=_0x7d3e50;return this[_0x5d45df(0xb6)]()[_0x5d45df(0xf0)](_0x135871=>this[_0x5d45df(0xd5)][_0x5d45df(0xb9)][_0x5d45df(0xf5)](_0x135871))[_0x5d45df(0xb3)](_0x34c945=>_0x34c945);}[_0x7d3e50(0xe2)](){const _0x4559fb=_0x7d3e50;return this[_0x4559fb(0xd9)]()[0x0]||null;}[_0x7d3e50(0xee)](){const _0x3bea23=_0x7d3e50;this[_0x3bea23(0xd5)][_0x3bea23(0xe4)](_0x53b8fd=>{const _0x38ac93=_0x3bea23;for(const _0x253247 of this[_0x38ac93(0xd9)]())_0x53b8fd[_0x38ac93(0xd0)](_0x253247);}),this[_0x3bea23(0xd8)][_0x3bea23(0xde)]();}[_0x7d3e50(0xd0)](_0x46a85c){const _0x565af0=_0x7d3e50;this[_0x565af0(0xd5)][_0x565af0(0xe4)](_0x3f4348=>{const _0x594b9f=_0x565af0;_0x3f4348[_0x594b9f(0xd0)](_0x46a85c);}),this[_0x565af0(0xd8)][_0x565af0(0xd2)](_0x46a85c);}[_0x7d3e50(0xe7)](_0x1f9698){const _0x14561a=_0x7d3e50,_0x3e5441=_0x14561a(0xb8)+this[_0x14561a(0xe3)]+':'+this[_0x14561a(0xfc)]+':'+this['id']+':'+this[_0x14561a(0xf8)]['id']+':'+u[_0x14561a(0xba)]();this[_0x14561a(0xb0)](_0x3e5441),this[_0x14561a(0xd5)][_0x14561a(0xe4)](_0x48c4d8=>{const _0x58b52f=_0x14561a;_0x48c4d8[_0x58b52f(0xbc)](_0x3e5441,{'range':_0x1f9698,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x7d3e50(0xf3)](_0x50e81c){const _0x3b1265=_0x7d3e50;for(const _0x1996e4 of this[_0x3b1265(0xaf)]())if(_0x1996e4[_0x3b1265(0xd4)](_0x50e81c))return!0x0;return!0x1;}[_0x7d3e50(0xaf)](){const _0x32f07b=_0x7d3e50;return this[_0x32f07b(0xd9)]()[_0x32f07b(0xf0)](_0x189e66=>_0x189e66[_0x32f07b(0xc3)]());}[_0x7d3e50(0xd1)](){const _0x137c88=_0x7d3e50;return this[_0x137c88(0xaf)]()[_0x137c88(0xcb)]((_0x57769e,_0xa32ef0)=>[..._0x57769e,..._0xa32ef0[_0x137c88(0xd1)]()],[]);}[_0x7d3e50(0xc5)](){const _0x210a60=_0x7d3e50;var _0x150409;return(null===(_0x150409=this[_0x210a60(0xe2)]())||void 0x0===_0x150409?void 0x0:_0x150409[_0x210a60(0xc3)]())||null;}[_0x7d3e50(0xd7)](){const _0x3299b8=_0x7d3e50,_0x5c406d=this[_0x3299b8(0xaf)]();if(0x1!=_0x5c406d[_0x3299b8(0xd3)])return null;const _0x3a3f67=_0x5c406d[0x0],_0x2a1266=_0x3a3f67[_0x3299b8(0xdc)][_0x3299b8(0xe5)],_0x5f4d78=_0x3a3f67[_0x3299b8(0xcf)][_0x3299b8(0xf2)];return _0x2a1266 instanceof _0x1e1574?_0x2a1266!=_0x5f4d78?null:_0x2a1266:null;}[_0x7d3e50(0xbb)](){const _0x2363c6=_0x7d3e50;this[_0x2363c6(0xdb)](this[_0x2363c6(0xaf)](),this[_0x2363c6(0xb1)],this[_0x2363c6(0xb7)]),this[_0x2363c6(0xee)]();}[_0x7d3e50(0xc0)](){const _0xc04000=_0x7d3e50;this[_0xc04000(0xc9)](this[_0xc04000(0xaf)](),this[_0xc04000(0xb1)],this[_0xc04000(0xb7)]),this[_0xc04000(0xee)]();}[_0x7d3e50(0xf9)](){const _0x33d335=_0x7d3e50,_0x54abb9=[];let _0x4692a4=this[_0x33d335(0xc2)];for(;_0x4692a4;)_0x54abb9[_0x33d335(0xb5)](_0x4692a4),_0x4692a4=_0x4692a4[_0x33d335(0xe0)];return _0x54abb9;}[_0x7d3e50(0xe8)](_0x5ba126,_0x497be0){const _0x48624e=_0x7d3e50,_0x453e72=_0x1fdda4(this[_0x48624e(0xb7)]);_0x262b50(_0x453e72,_0x5ba126,_0x497be0),_0x4e166e(_0x453e72,this[_0x48624e(0xb7)])||(this[_0x48624e(0xb7)]=_0x453e72,this[_0x48624e(0xe9)](_0x453e72));}[_0x7d3e50(0xbf)](_0x579e21){const _0x5543d7=_0x7d3e50,_0x10ef09=_0x1fdda4(this[_0x5543d7(0xb7)]);_0x47df24(_0x10ef09,_0x579e21),_0x4e166e(_0x10ef09,this[_0x5543d7(0xb7)])||(this[_0x5543d7(0xb7)]=_0x10ef09,this[_0x5543d7(0xe9)](this[_0x5543d7(0xb7)]));}[_0x7d3e50(0xd6)](){const _0x39e788=_0x7d3e50;return{'id':this['id'],'type':this[_0x39e788(0xfc)]?this[_0x39e788(0xe3)]+':'+this[_0x39e788(0xfc)]:this[_0x39e788(0xe3)],'authorId':this[_0x39e788(0xf8)]['id'],'createdAt':this[_0x39e788(0xb2)],'hasComments':this[_0x39e788(0xec)],'data':this[_0x39e788(0xb1)],'attributes':this[_0x39e788(0xb7)]};}static[_0x7d3e50(0xba)](){const _0x17fcd5=_0x7d3e50;return _0x3e02e8()[_0x17fcd5(0xf6)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x490190=_0x2110;(function(_0x39f57c,_0x49ec7f){const _0x2046a2=_0x2110,_0x4b355c=_0x39f57c();while(!![]){try{const _0x49f915=-parseInt(_0x2046a2(0xe6))/0x1+parseInt(_0x2046a2(0xc4))/0x2*(parseInt(_0x2046a2(0xc5))/0x3)+-parseInt(_0x2046a2(0xad))/0x4*(-parseInt(_0x2046a2(0xc8))/0x5)+parseInt(_0x2046a2(0xce))/0x6+parseInt(_0x2046a2(0x96))/0x7+-parseInt(_0x2046a2(0xe4))/0x8+parseInt(_0x2046a2(0x99))/0x9;if(_0x49f915===_0x49ec7f)break;else _0x4b355c['push'](_0x4b355c['shift']());}catch(_0x522297){_0x4b355c['push'](_0x4b355c['shift']());}}}(_0x4ab4,0x3b7be));import{getTranslation as _0x32d800}from'./utils/common-translations.js';function _0x4ab4(){const _0x48b49c=['key','nodeAfter','normal','name','addObject','join','removeEmptyContainer','getWalker','_itemLabels','deletion','indexOf','checkChild','text','_addDescriptionItems','addFormat','insertion','_handleInsertRemoveSuggestionDescription','isInContent','8726TOjmFK','159IPcRed','*Remove\x20format:*\x20%0','addEmptyContainer','5mKwoqE','softBreak','set','add','registerAttributeLabel','newValue','55218bIZJBi','$textProxy','type','Container','pop','_attributeLabels','format','map','removeObject','remove','_handleAttributeSuggestionDescription','Object','has','attribute','removeFormat','getDescriptions','end','function','subType','_customCallbacks','length','*Change\x20to:*\x20%0','3297648uLvAaP','get','179031WczCxJ','push','*Insert:*\x20%0','$1\x20$2','previousSibling','registerDescriptionCallback','match','_locale','*Set\x20format:*\x20%0','$text','isEqual','_handleCustomCallbackDescription','_resolveDescriptionItems','REPLACE_TEXT','skip','*Remove:*\x20%0','420875YjJYnN','elementEnd','_itemLabelsCallbacks','4269591FrveQI','EmptyContainer','nextSibling','_handleRenameSuggestionDescription','start','item','*Split:*\x20%0','element','registerElementLabel','isEmpty','isObject','data','removeContainer','ELEMENT_SPACE','getFirstRange','label','elementStart','matchingCallback','*Merge:*\x20%0','addContainer','239668ojKdxI','_schema','replace','getItemLabel','quantity'];_0x4ab4=function(){return _0x48b49c;};return _0x4ab4();}import{priorities as _0x2a7d38,insertToPriorityArray as _0x3092b6}from'ckeditor5/src/utils.js';function _0x2110(_0x42dc3a,_0x1033ea){const _0x4ab454=_0x4ab4();return _0x2110=function(_0x21104c,_0x2b3f7e){_0x21104c=_0x21104c-0x8a;let _0x10f1b3=_0x4ab454[_0x21104c];return _0x10f1b3;},_0x2110(_0x42dc3a,_0x1033ea);}import{renameAttributeKey as _0xf781b9}from'./trackchangesediting.js';export default class f{constructor(_0x39d403,_0x471769){const _0x530f40=_0x2110;this[_0x530f40(0xe1)]=[],this[_0x530f40(0xba)]=new Map(),this[_0x530f40(0x98)]=[],this[_0x530f40(0xd3)]=new Map(),this[_0x530f40(0xae)]=_0x39d403,this[_0x530f40(0x8d)]=_0x471769;}[_0x490190(0xdd)](_0xfd4432){const _0x3a9c47=_0x490190,_0xc7030b=[],_0x599d10=new Set(),_0x215d4f=new Set();for(let _0x4ff40e=0x0;_0x4ff40e<_0xfd4432[_0x3a9c47(0xe2)];_0x4ff40e++){const _0x5b1979=_0xfd4432[_0x4ff40e];if(!_0x5b1979[_0x3a9c47(0xc3)])continue;const _0x5b9b2b=this[_0x3a9c47(0x91)](_0x5b1979);if(_0x5b9b2b){if(null!=_0x5b1979[_0x3a9c47(0xe0)]){if(_0x599d10[_0x3a9c47(0xda)](_0x5b1979[_0x3a9c47(0xe0)]))continue;_0x599d10[_0x3a9c47(0xcb)](_0x5b1979[_0x3a9c47(0xe0)]);}_0xc7030b[_0x3a9c47(0xe7)](_0x5b9b2b);}else{if(_0x3a9c47(0xdb)!=_0x5b1979[_0x3a9c47(0xd0)])_0x3a9c47(0xc1)!=_0x5b1979[_0x3a9c47(0xd0)]&&_0x3a9c47(0xbb)!=_0x5b1979[_0x3a9c47(0xd0)]||this[_0x3a9c47(0xc2)](_0xc7030b,_0x5b1979,_0xfd4432[_0x4ff40e+0x1]);else{const _0x527226=_0x5b1979[_0x3a9c47(0xa4)][_0x3a9c47(0xb2)];if(_0x215d4f[_0x3a9c47(0xda)](_0x527226))continue;_0x215d4f[_0x3a9c47(0xcb)](_0x5b1979[_0x3a9c47(0xa4)][_0x3a9c47(0xb2)]),_0x527226==_0xf781b9?this[_0x3a9c47(0x9c)](_0xc7030b,_0x5b1979):this[_0x3a9c47(0xd8)](_0xc7030b,_0x5b1979);}}}return this[_0x3a9c47(0x92)](_0xc7030b);}[_0x490190(0x8b)](_0x5b4a5a){const _0x200242=_0x490190;this[_0x200242(0xe1)][_0x200242(0xe7)](_0x5b4a5a);}[_0x490190(0xa1)](_0x8a12b2,_0x5720f8,_0x579dd1=_0x2a7d38[_0x490190(0xb4)]){const _0xee055e=_0x490190;_0xee055e(0xdf)==typeof _0x8a12b2?_0x3092b6(this[_0xee055e(0x98)],{'matchingCallback':_0x8a12b2,'label':_0x5720f8,'priority':_0x579dd1}):this[_0xee055e(0xba)][_0xee055e(0xca)](_0x8a12b2,_0x5720f8);}[_0x490190(0xcc)](_0x26f5a1,_0x4b574c){const _0x422444=_0x490190;this[_0x422444(0xd3)][_0x422444(0xca)](_0x26f5a1,_0x4b574c);}[_0x490190(0xb0)](_0x2b87f3,_0x122622=0x1){const _0x4fa807=_0x490190;let _0x7ad323;for(const _0x1ef2fc of this[_0x4fa807(0x98)])if(_0x1ef2fc[_0x4fa807(0xaa)](_0x2b87f3)){_0x7ad323=_0x1ef2fc[_0x4fa807(0xa8)];break;}return _0x7ad323||(_0x7ad323=this[_0x4fa807(0xba)][_0x4fa807(0xe5)](_0x2b87f3[_0x4fa807(0xb5)])),_0x7ad323?_0x7ad323(_0x122622):0x1!==_0x122622?_0x122622+'\x20'+_0x2b87f3[_0x4fa807(0xb5)]+'s':''+_0x2b87f3[_0x4fa807(0xb5)];}[_0x490190(0xbf)](_0x40f210,_0x54eb9f){const _0x3bd23e=_0x490190,_0x275676=_0x54eb9f[_0x3bd23e(0xa7)]()[_0x3bd23e(0xb9)](),_0x5eeb85=_0x3bd23e(0xc1)==_0x54eb9f[_0x3bd23e(0xd0)]?_0x3bd23e(0xcb):_0x3bd23e(0xd7);for(const _0x97ae4d of _0x275676){const _0x2e8871=_0x97ae4d[_0x3bd23e(0x9e)],_0x44d12a=_0x40f210[_0x40f210[_0x3bd23e(0xe2)]-0x1];if(_0x2e8871['is'](_0x3bd23e(0xcf)))_0x44d12a&&_0x44d12a[_0x3bd23e(0xd0)][_0x3bd23e(0xbc)](_0x3bd23e(0xd1))>-0x1&&_0x40f210[_0x3bd23e(0xd2)](),_0x44d12a&&_0x3bd23e(0xbe)==_0x44d12a[_0x3bd23e(0xd0)]?_0x44d12a[_0x5eeb85]+=_0x2e8871[_0x3bd23e(0xa4)]:_0x40f210[_0x3bd23e(0xe7)]({'type':_0x3bd23e(0xbe),'add':_0x3bd23e(0xcb)==_0x5eeb85?_0x2e8871[_0x3bd23e(0xa4)]:'','remove':_0x3bd23e(0xd7)==_0x5eeb85?_0x2e8871[_0x3bd23e(0xa4)]:''});else{if(this[_0x3bd23e(0xae)][_0x3bd23e(0xa3)](_0x2e8871)){const _0x30f771=_0x2e8871;if(_0x44d12a&&_0x44d12a[_0x3bd23e(0xd0)][_0x3bd23e(0xbc)](_0x3bd23e(0xd1))>-0x1&&_0x40f210[_0x3bd23e(0xd2)](),_0x3bd23e(0x97)==_0x97ae4d[_0x3bd23e(0xd0)])continue;_0x44d12a&&_0x44d12a[_0x3bd23e(0xd0)]==_0x5eeb85+_0x3bd23e(0xd9)&&_0x44d12a[_0x3bd23e(0xa0)][_0x3bd23e(0xb5)]==_0x30f771[_0x3bd23e(0xb5)]?_0x44d12a[_0x3bd23e(0xb1)]++:_0x40f210[_0x3bd23e(0xe7)]({'type':_0x5eeb85+_0x3bd23e(0xd9),'element':_0x30f771,'quantity':0x1}),_0x275676[_0x3bd23e(0x94)](_0x13ce71=>!(_0x3bd23e(0x97)==_0x13ce71[_0x3bd23e(0xd0)]&&_0x13ce71[_0x3bd23e(0x9e)]==_0x2e8871));}else{if(this[_0x3bd23e(0xae)][_0x3bd23e(0xbd)](_0x2e8871,_0x3bd23e(0x8f))||_0x2e8871['is'](_0x3bd23e(0xa0),_0x3bd23e(0xc9))){const _0x4017bb=_0x2e8871;if(_0x3bd23e(0xcb)==_0x5eeb85&&_0x3bd23e(0xa9)==_0x97ae4d[_0x3bd23e(0xd0)]||_0x3bd23e(0xd7)==_0x5eeb85&&_0x3bd23e(0x97)==_0x97ae4d[_0x3bd23e(0xd0)])continue;if(_0x44d12a&&-0x1==_0x44d12a[_0x3bd23e(0xd0)][_0x3bd23e(0xbc)](_0x3bd23e(0xd1))){_0x3bd23e(0xbe)==_0x44d12a[_0x3bd23e(0xd0)]&&(_0x44d12a[_0x5eeb85]+='\x0a');continue;}let _0x35ad39;if(_0x35ad39=_0x3bd23e(0xcb)==_0x5eeb85?_0x4017bb[_0x3bd23e(0x9b)]&&!this[_0x3bd23e(0xae)][_0x3bd23e(0xa3)](_0x4017bb[_0x3bd23e(0x9b)])?_0x4017bb[_0x3bd23e(0x9b)]:null:_0x4017bb[_0x3bd23e(0x8a)]&&!this[_0x3bd23e(0xae)][_0x3bd23e(0xa3)](_0x4017bb[_0x3bd23e(0x8a)])?_0x4017bb[_0x3bd23e(0x8a)]:null,_0x4017bb[_0x3bd23e(0xa2)]||_0x35ad39&&_0x35ad39[_0x3bd23e(0xa2)]){const _0x5b4669=_0x35ad39&&_0x35ad39[_0x3bd23e(0xa2)]?_0x35ad39:_0x4017bb;_0x44d12a&&_0x44d12a[_0x3bd23e(0xd0)]==_0x5eeb85+_0x3bd23e(0x9a)&&_0x44d12a[_0x3bd23e(0xa0)][_0x3bd23e(0xb5)]==_0x5b4669[_0x3bd23e(0xb5)]?_0x44d12a[_0x3bd23e(0xb1)]++:_0x40f210[_0x3bd23e(0xe7)]({'type':_0x5eeb85+_0x3bd23e(0x9a),'element':_0x5b4669,'quantity':0x1});}else _0x40f210[_0x3bd23e(0xe7)]({'type':_0x5eeb85+_0x3bd23e(0xd1),'element':_0x4017bb});}}}}}[_0x490190(0x92)](_0xbbc78e){const _0x4770c6=_0x490190,_0x5b51ca=this[_0x4770c6(0x8d)],_0x3b8af1=[],_0x20805d=[],_0x2cebac=[];for(const _0x9d0419 of _0xbbc78e)switch(_0x9d0419[_0x4770c6(0xd0)]){case _0x4770c6(0xbe):if(_0x9d0419[_0x4770c6(0xcb)]=_0x9d0419[_0x4770c6(0xcb)][_0x4770c6(0xaf)](/(\S)\u000A+(\S)/g,_0x4770c6(0xe9))[_0x4770c6(0xaf)](/\u000A/g,''),_0x9d0419[_0x4770c6(0xd7)]=_0x9d0419[_0x4770c6(0xd7)][_0x4770c6(0xaf)](/(\S)\u000A+(\S)/g,_0x4770c6(0xe9))[_0x4770c6(0xaf)](/\u000A/g,''),''!=_0x9d0419[_0x4770c6(0xcb)]&&''!=_0x9d0419[_0x4770c6(0xd7)]){_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xaf),'content':_0x32d800(_0x5b51ca,_0x4770c6(0x93),['\x22'+_0x9d0419[_0x4770c6(0xd7)]+'\x22','\x22'+_0x9d0419[_0x4770c6(0xcb)]+'\x22'])});continue;}if(null!=_0x9d0419[_0x4770c6(0xcb)][_0x4770c6(0x8c)](/^ +$/)){_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xc1),'content':_0x32d800(_0x5b51ca,_0x4770c6(0xe8),_0x32d800(_0x5b51ca,_0x4770c6(0xa6),_0x9d0419[_0x4770c6(0xcb)][_0x4770c6(0xe2)]))});continue;}if(null!=_0x9d0419[_0x4770c6(0xd7)][_0x4770c6(0x8c)](/^ +$/)){_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xbb),'content':_0x32d800(_0x5b51ca,_0x4770c6(0x95),_0x32d800(_0x5b51ca,_0x4770c6(0xa6),_0x9d0419[_0x4770c6(0xd7)][_0x4770c6(0xe2)]))});continue;}if(''!=_0x9d0419[_0x4770c6(0xcb)]){_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xc1),'content':_0x32d800(_0x5b51ca,_0x4770c6(0xe8),'\x22'+_0x9d0419[_0x4770c6(0xcb)]+'\x22')});continue;}_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xbb),'content':_0x32d800(_0x5b51ca,_0x4770c6(0x95),'\x22'+_0x9d0419[_0x4770c6(0xd7)]+'\x22')});continue;case _0x4770c6(0xc7):case _0x4770c6(0xb6):_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xc1),'content':_0x32d800(_0x5b51ca,_0x4770c6(0xe8),this[_0x4770c6(0xb0)](_0x9d0419[_0x4770c6(0xa0)],_0x9d0419[_0x4770c6(0xb1)]))});continue;case _0x4770c6(0xb8):case _0x4770c6(0xd6):_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xbb),'content':_0x32d800(_0x5b51ca,_0x4770c6(0x95),this[_0x4770c6(0xb0)](_0x9d0419[_0x4770c6(0xa0)],_0x9d0419[_0x4770c6(0xb1)]))});continue;case _0x4770c6(0xac):_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xc1),'content':_0x32d800(_0x5b51ca,_0x4770c6(0x9f),this[_0x4770c6(0xb0)](_0x9d0419[_0x4770c6(0xa0)],_0x9d0419[_0x4770c6(0xb1)]))});continue;case _0x4770c6(0xa5):_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xbb),'content':_0x32d800(_0x5b51ca,_0x4770c6(0xab),this[_0x4770c6(0xb0)](_0x9d0419[_0x4770c6(0xa0)],_0x9d0419[_0x4770c6(0xb1)]))});continue;case _0x4770c6(0xc0):_0x20805d[_0x4770c6(0xe7)](_0x9d0419[_0x4770c6(0xb2)]);continue;case _0x4770c6(0xdc):_0x2cebac[_0x4770c6(0xe7)](_0x9d0419[_0x4770c6(0xb2)]);continue;default:_0x3b8af1[_0x4770c6(0xe7)](_0x9d0419);}if(_0x20805d[_0x4770c6(0xe2)]){const _0x4d85a2=_0x20805d[_0x4770c6(0xd5)](_0x1d10db=>this[_0x4770c6(0xd3)][_0x4770c6(0xda)](_0x1d10db)?this[_0x4770c6(0xd3)][_0x4770c6(0xe5)](_0x1d10db):_0x1d10db)[_0x4770c6(0xb7)](',\x20');_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xd4),'content':_0x32d800(this[_0x4770c6(0x8d)],_0x4770c6(0x8e),_0x4d85a2)});}if(_0x2cebac[_0x4770c6(0xe2)]){const _0x16e558=_0x2cebac[_0x4770c6(0xd5)](_0x282581=>this[_0x4770c6(0xd3)][_0x4770c6(0xda)](_0x282581)?this[_0x4770c6(0xd3)][_0x4770c6(0xe5)](_0x282581):_0x282581)[_0x4770c6(0xb7)](',\x20');_0x3b8af1[_0x4770c6(0xe7)]({'type':_0x4770c6(0xd4),'content':_0x32d800(this[_0x4770c6(0x8d)],_0x4770c6(0xc6),_0x16e558)});}return _0x3b8af1;}[_0x490190(0x91)](_0xde6a15){const _0x16d92a=_0x490190;for(const _0x145bed of this[_0x16d92a(0xe1)]){const _0x2827fe=_0x145bed(_0xde6a15);if(_0x2827fe&&_0x16d92a(0xd0)in _0x2827fe)return _0x2827fe;}}[_0x490190(0xd8)](_0x260d98,_0x384edc){const _0x596721=_0x490190,_0x825cbd=_0x384edc[_0x596721(0xa4)],_0x4b0c2f=void 0x0===_0x825cbd[_0x596721(0xcd)]?_0x596721(0xdc):_0x596721(0xc0);_0x260d98[_0x596721(0xe7)]({'type':_0x4b0c2f,'key':_0x825cbd[_0x596721(0xb2)]});}[_0x490190(0x9c)](_0x53ec0e,_0x405135){const _0x4f7cbe=_0x490190;_0x53ec0e[_0x4f7cbe(0xe7)]({'type':_0x4f7cbe(0xd4),'content':_0x32d800(this[_0x4f7cbe(0x8d)],_0x4f7cbe(0xe3),this[_0x4f7cbe(0xb0)](_0x405135[_0x4f7cbe(0xa7)]()[_0x4f7cbe(0x9d)][_0x4f7cbe(0xb3)],0x1))});}[_0x490190(0xc2)](_0x92f009,_0x8c3518,_0x2ed723){const _0x57753c=_0x490190;if(this[_0x57753c(0xbf)](_0x92f009,_0x8c3518),_0x2ed723&&_0x2ed723[_0x57753c(0xa7)]()&&!_0x8c3518[_0x57753c(0xa7)]()[_0x57753c(0xde)][_0x57753c(0x90)](_0x2ed723[_0x57753c(0xa7)]()[_0x57753c(0x9d)])){const _0x5b03ab=_0x92f009[_0x92f009[_0x57753c(0xe2)]-0x1],_0x50b2d0=_0x57753c(0xc1)==_0x8c3518[_0x57753c(0xd0)]?_0x57753c(0xcb):_0x57753c(0xd7);_0x5b03ab&&_0x57753c(0xbe)==_0x5b03ab[_0x57753c(0xd0)]&&(_0x5b03ab[_0x50b2d0]+='\x0a');}}}
|
|
23
|
+
function _0x2513(_0x160974,_0xad013){const _0x21f358=_0x21f3();return _0x2513=function(_0x251309,_0x43943c){_0x251309=_0x251309-0x95;let _0x502238=_0x21f358[_0x251309];return _0x502238;},_0x2513(_0x160974,_0xad013);}const _0x3ec36e=_0x2513;(function(_0x4bb894,_0x167344){const _0x3e04fb=_0x2513,_0x159994=_0x4bb894();while(!![]){try{const _0x25b4a5=parseInt(_0x3e04fb(0xa5))/0x1+parseInt(_0x3e04fb(0xc6))/0x2+parseInt(_0x3e04fb(0xd2))/0x3+-parseInt(_0x3e04fb(0xdf))/0x4+-parseInt(_0x3e04fb(0x98))/0x5+-parseInt(_0x3e04fb(0xe9))/0x6+parseInt(_0x3e04fb(0x9e))/0x7;if(_0x25b4a5===_0x167344)break;else _0x159994['push'](_0x159994['shift']());}catch(_0x1a64aa){_0x159994['push'](_0x159994['shift']());}}}(_0x21f3,0xdaefa));import{getTranslation as _0x2d5337}from'./utils/common-translations.js';function _0x21f3(){const _0x5ae706=['add','addFormat','nodeAfter','*Set\x20format:*\x20%0','2248266nnQKUn','function','_locale','push','registerDescriptionCallback','addEmptyContainer','$1\x20$2','quantity','format','text','data','element','key','4721400IOGiOz','removeEmptyContainer','getItemLabel','_addDescriptionItems','_resolveDescriptionItems','_itemLabels','attribute','*Remove\x20format:*\x20%0','type','replace','8041638KMRMMR','isEqual','subType','*Change\x20to:*\x20%0','removeObject','name','has','Container','insertion','isEmpty','skip','ELEMENT_SPACE','removeContainer','104650CRegjH','*Insert:*\x20%0','item','indexOf','newValue','_customCallbacks','9797942RmNClV','*Split:*\x20%0','normal','_schema','softBreak','_attributeLabels','nextSibling','99883xCUhUM','Object','end','REPLACE_TEXT','previousSibling','_handleAttributeSuggestionDescription','set','isObject','elementEnd','elementStart','registerElementLabel','_handleRenameSuggestionDescription','_itemLabelsCallbacks','remove','_handleInsertRemoveSuggestionDescription','match','_handleCustomCallbackDescription','$text','label','join','checkChild','pop','getDescriptions','deletion','$textProxy','removeFormat','isInContent','map','addObject','EmptyContainer','matchingCallback','getWalker','registerAttributeLabel','2378608qnAhDm','get','*Remove:*\x20%0','getFirstRange','start','length','*Merge:*\x20%0','addContainer'];_0x21f3=function(){return _0x5ae706;};return _0x21f3();}import{priorities as _0x3c2ed9,insertToPriorityArray as _0x135e1b}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x9de7bc}from'./trackchangesediting.js';export default class f{constructor(_0x3532f5,_0x452beb){const _0xd5a776=_0x2513;this[_0xd5a776(0x9d)]=[],this[_0xd5a776(0xe4)]=new Map(),this[_0xd5a776(0xb1)]=[],this[_0xd5a776(0xa3)]=new Map(),this[_0xd5a776(0xa1)]=_0x3532f5,this[_0xd5a776(0xd4)]=_0x452beb;}[_0x3ec36e(0xbb)](_0xb8d787){const _0x10e993=_0x3ec36e,_0x3a5b48=[],_0x5dc90a=new Set(),_0x5d7573=new Set();for(let _0x359b4a=0x0;_0x359b4a<_0xb8d787[_0x10e993(0xcb)];_0x359b4a++){const _0x161d65=_0xb8d787[_0x359b4a];if(!_0x161d65[_0x10e993(0xbf)])continue;const _0x5e7427=this[_0x10e993(0xb5)](_0x161d65);if(_0x5e7427){if(null!=_0x161d65[_0x10e993(0xeb)]){if(_0x5dc90a[_0x10e993(0xef)](_0x161d65[_0x10e993(0xeb)]))continue;_0x5dc90a[_0x10e993(0xce)](_0x161d65[_0x10e993(0xeb)]);}_0x3a5b48[_0x10e993(0xd5)](_0x5e7427);}else{if(_0x10e993(0xe5)!=_0x161d65[_0x10e993(0xe7)])_0x10e993(0xf1)!=_0x161d65[_0x10e993(0xe7)]&&_0x10e993(0xbc)!=_0x161d65[_0x10e993(0xe7)]||this[_0x10e993(0xb3)](_0x3a5b48,_0x161d65,_0xb8d787[_0x359b4a+0x1]);else{const _0x44494b=_0x161d65[_0x10e993(0xdc)][_0x10e993(0xde)];if(_0x5d7573[_0x10e993(0xef)](_0x44494b))continue;_0x5d7573[_0x10e993(0xce)](_0x161d65[_0x10e993(0xdc)][_0x10e993(0xde)]),_0x44494b==_0x9de7bc?this[_0x10e993(0xb0)](_0x3a5b48,_0x161d65):this[_0x10e993(0xaa)](_0x3a5b48,_0x161d65);}}}return this[_0x10e993(0xe3)](_0x3a5b48);}[_0x3ec36e(0xd6)](_0x2505c6){const _0x1970bc=_0x3ec36e;this[_0x1970bc(0x9d)][_0x1970bc(0xd5)](_0x2505c6);}[_0x3ec36e(0xaf)](_0xc31258,_0x2c697c,_0x1ff711=_0x3c2ed9[_0x3ec36e(0xa0)]){const _0x3a7f15=_0x3ec36e;_0x3a7f15(0xd3)==typeof _0xc31258?_0x135e1b(this[_0x3a7f15(0xb1)],{'matchingCallback':_0xc31258,'label':_0x2c697c,'priority':_0x1ff711}):this[_0x3a7f15(0xe4)][_0x3a7f15(0xab)](_0xc31258,_0x2c697c);}[_0x3ec36e(0xc5)](_0x125308,_0x2b95b9){const _0x1d459c=_0x3ec36e;this[_0x1d459c(0xa3)][_0x1d459c(0xab)](_0x125308,_0x2b95b9);}[_0x3ec36e(0xe1)](_0x239857,_0xe483e7=0x1){const _0x3f955a=_0x3ec36e;let _0x3e7617;for(const _0x29479d of this[_0x3f955a(0xb1)])if(_0x29479d[_0x3f955a(0xc3)](_0x239857)){_0x3e7617=_0x29479d[_0x3f955a(0xb7)];break;}return _0x3e7617||(_0x3e7617=this[_0x3f955a(0xe4)][_0x3f955a(0xc7)](_0x239857[_0x3f955a(0xee)])),_0x3e7617?_0x3e7617(_0xe483e7):0x1!==_0xe483e7?_0xe483e7+'\x20'+_0x239857[_0x3f955a(0xee)]+'s':''+_0x239857[_0x3f955a(0xee)];}[_0x3ec36e(0xe2)](_0x2c256e,_0x5734a8){const _0x3dddb2=_0x3ec36e,_0x16fac9=_0x5734a8[_0x3dddb2(0xc9)]()[_0x3dddb2(0xc4)](),_0x1ebdf6=_0x3dddb2(0xf1)==_0x5734a8[_0x3dddb2(0xe7)]?_0x3dddb2(0xce):_0x3dddb2(0xb2);for(const _0x416721 of _0x16fac9){const _0x49a1ae=_0x416721[_0x3dddb2(0x9a)],_0x393729=_0x2c256e[_0x2c256e[_0x3dddb2(0xcb)]-0x1];if(_0x49a1ae['is'](_0x3dddb2(0xbd)))_0x393729&&_0x393729[_0x3dddb2(0xe7)][_0x3dddb2(0x9b)](_0x3dddb2(0xf0))>-0x1&&_0x2c256e[_0x3dddb2(0xba)](),_0x393729&&_0x3dddb2(0xdb)==_0x393729[_0x3dddb2(0xe7)]?_0x393729[_0x1ebdf6]+=_0x49a1ae[_0x3dddb2(0xdc)]:_0x2c256e[_0x3dddb2(0xd5)]({'type':_0x3dddb2(0xdb),'add':_0x3dddb2(0xce)==_0x1ebdf6?_0x49a1ae[_0x3dddb2(0xdc)]:'','remove':_0x3dddb2(0xb2)==_0x1ebdf6?_0x49a1ae[_0x3dddb2(0xdc)]:''});else{if(this[_0x3dddb2(0xa1)][_0x3dddb2(0xac)](_0x49a1ae)){const _0x29cb1e=_0x49a1ae;if(_0x393729&&_0x393729[_0x3dddb2(0xe7)][_0x3dddb2(0x9b)](_0x3dddb2(0xf0))>-0x1&&_0x2c256e[_0x3dddb2(0xba)](),_0x3dddb2(0xad)==_0x416721[_0x3dddb2(0xe7)])continue;_0x393729&&_0x393729[_0x3dddb2(0xe7)]==_0x1ebdf6+_0x3dddb2(0xa6)&&_0x393729[_0x3dddb2(0xdd)][_0x3dddb2(0xee)]==_0x29cb1e[_0x3dddb2(0xee)]?_0x393729[_0x3dddb2(0xd9)]++:_0x2c256e[_0x3dddb2(0xd5)]({'type':_0x1ebdf6+_0x3dddb2(0xa6),'element':_0x29cb1e,'quantity':0x1}),_0x16fac9[_0x3dddb2(0x95)](_0x36af27=>!(_0x3dddb2(0xad)==_0x36af27[_0x3dddb2(0xe7)]&&_0x36af27[_0x3dddb2(0x9a)]==_0x49a1ae));}else{if(this[_0x3dddb2(0xa1)][_0x3dddb2(0xb9)](_0x49a1ae,_0x3dddb2(0xb6))||_0x49a1ae['is'](_0x3dddb2(0xdd),_0x3dddb2(0xa2))){const _0x2b5e9d=_0x49a1ae;if(_0x3dddb2(0xce)==_0x1ebdf6&&_0x3dddb2(0xae)==_0x416721[_0x3dddb2(0xe7)]||_0x3dddb2(0xb2)==_0x1ebdf6&&_0x3dddb2(0xad)==_0x416721[_0x3dddb2(0xe7)])continue;if(_0x393729&&-0x1==_0x393729[_0x3dddb2(0xe7)][_0x3dddb2(0x9b)](_0x3dddb2(0xf0))){_0x3dddb2(0xdb)==_0x393729[_0x3dddb2(0xe7)]&&(_0x393729[_0x1ebdf6]+='\x0a');continue;}let _0x23ed15;if(_0x23ed15=_0x3dddb2(0xce)==_0x1ebdf6?_0x2b5e9d[_0x3dddb2(0xa4)]&&!this[_0x3dddb2(0xa1)][_0x3dddb2(0xac)](_0x2b5e9d[_0x3dddb2(0xa4)])?_0x2b5e9d[_0x3dddb2(0xa4)]:null:_0x2b5e9d[_0x3dddb2(0xa9)]&&!this[_0x3dddb2(0xa1)][_0x3dddb2(0xac)](_0x2b5e9d[_0x3dddb2(0xa9)])?_0x2b5e9d[_0x3dddb2(0xa9)]:null,_0x2b5e9d[_0x3dddb2(0xf2)]||_0x23ed15&&_0x23ed15[_0x3dddb2(0xf2)]){const _0x3b947e=_0x23ed15&&_0x23ed15[_0x3dddb2(0xf2)]?_0x23ed15:_0x2b5e9d;_0x393729&&_0x393729[_0x3dddb2(0xe7)]==_0x1ebdf6+_0x3dddb2(0xc2)&&_0x393729[_0x3dddb2(0xdd)][_0x3dddb2(0xee)]==_0x3b947e[_0x3dddb2(0xee)]?_0x393729[_0x3dddb2(0xd9)]++:_0x2c256e[_0x3dddb2(0xd5)]({'type':_0x1ebdf6+_0x3dddb2(0xc2),'element':_0x3b947e,'quantity':0x1});}else _0x2c256e[_0x3dddb2(0xd5)]({'type':_0x1ebdf6+_0x3dddb2(0xf0),'element':_0x2b5e9d});}}}}}[_0x3ec36e(0xe3)](_0x27f362){const _0xde0afc=_0x3ec36e,_0x1e555c=this[_0xde0afc(0xd4)],_0x211bb9=[],_0x1b5180=[],_0x2458ea=[];for(const _0x1b8f4c of _0x27f362)switch(_0x1b8f4c[_0xde0afc(0xe7)]){case _0xde0afc(0xdb):if(_0x1b8f4c[_0xde0afc(0xce)]=_0x1b8f4c[_0xde0afc(0xce)][_0xde0afc(0xe8)](/(\S)\u000A+(\S)/g,_0xde0afc(0xd8))[_0xde0afc(0xe8)](/\u000A/g,''),_0x1b8f4c[_0xde0afc(0xb2)]=_0x1b8f4c[_0xde0afc(0xb2)][_0xde0afc(0xe8)](/(\S)\u000A+(\S)/g,_0xde0afc(0xd8))[_0xde0afc(0xe8)](/\u000A/g,''),''!=_0x1b8f4c[_0xde0afc(0xce)]&&''!=_0x1b8f4c[_0xde0afc(0xb2)]){_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xe8),'content':_0x2d5337(_0x1e555c,_0xde0afc(0xa8),['\x22'+_0x1b8f4c[_0xde0afc(0xb2)]+'\x22','\x22'+_0x1b8f4c[_0xde0afc(0xce)]+'\x22'])});continue;}if(null!=_0x1b8f4c[_0xde0afc(0xce)][_0xde0afc(0xb4)](/^ +$/)){_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xf1),'content':_0x2d5337(_0x1e555c,_0xde0afc(0x99),_0x2d5337(_0x1e555c,_0xde0afc(0x96),_0x1b8f4c[_0xde0afc(0xce)][_0xde0afc(0xcb)]))});continue;}if(null!=_0x1b8f4c[_0xde0afc(0xb2)][_0xde0afc(0xb4)](/^ +$/)){_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xbc),'content':_0x2d5337(_0x1e555c,_0xde0afc(0xc8),_0x2d5337(_0x1e555c,_0xde0afc(0x96),_0x1b8f4c[_0xde0afc(0xb2)][_0xde0afc(0xcb)]))});continue;}if(''!=_0x1b8f4c[_0xde0afc(0xce)]){_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xf1),'content':_0x2d5337(_0x1e555c,_0xde0afc(0x99),'\x22'+_0x1b8f4c[_0xde0afc(0xce)]+'\x22')});continue;}_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xbc),'content':_0x2d5337(_0x1e555c,_0xde0afc(0xc8),'\x22'+_0x1b8f4c[_0xde0afc(0xb2)]+'\x22')});continue;case _0xde0afc(0xd7):case _0xde0afc(0xc1):_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xf1),'content':_0x2d5337(_0x1e555c,_0xde0afc(0x99),this[_0xde0afc(0xe1)](_0x1b8f4c[_0xde0afc(0xdd)],_0x1b8f4c[_0xde0afc(0xd9)]))});continue;case _0xde0afc(0xe0):case _0xde0afc(0xed):_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xbc),'content':_0x2d5337(_0x1e555c,_0xde0afc(0xc8),this[_0xde0afc(0xe1)](_0x1b8f4c[_0xde0afc(0xdd)],_0x1b8f4c[_0xde0afc(0xd9)]))});continue;case _0xde0afc(0xcd):_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xf1),'content':_0x2d5337(_0x1e555c,_0xde0afc(0x9f),this[_0xde0afc(0xe1)](_0x1b8f4c[_0xde0afc(0xdd)],_0x1b8f4c[_0xde0afc(0xd9)]))});continue;case _0xde0afc(0x97):_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xbc),'content':_0x2d5337(_0x1e555c,_0xde0afc(0xcc),this[_0xde0afc(0xe1)](_0x1b8f4c[_0xde0afc(0xdd)],_0x1b8f4c[_0xde0afc(0xd9)]))});continue;case _0xde0afc(0xcf):_0x1b5180[_0xde0afc(0xd5)](_0x1b8f4c[_0xde0afc(0xde)]);continue;case _0xde0afc(0xbe):_0x2458ea[_0xde0afc(0xd5)](_0x1b8f4c[_0xde0afc(0xde)]);continue;default:_0x211bb9[_0xde0afc(0xd5)](_0x1b8f4c);}if(_0x1b5180[_0xde0afc(0xcb)]){const _0x37e68b=_0x1b5180[_0xde0afc(0xc0)](_0x5aa02f=>this[_0xde0afc(0xa3)][_0xde0afc(0xef)](_0x5aa02f)?this[_0xde0afc(0xa3)][_0xde0afc(0xc7)](_0x5aa02f):_0x5aa02f)[_0xde0afc(0xb8)](',\x20');_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xda),'content':_0x2d5337(this[_0xde0afc(0xd4)],_0xde0afc(0xd1),_0x37e68b)});}if(_0x2458ea[_0xde0afc(0xcb)]){const _0x490fcf=_0x2458ea[_0xde0afc(0xc0)](_0x185319=>this[_0xde0afc(0xa3)][_0xde0afc(0xef)](_0x185319)?this[_0xde0afc(0xa3)][_0xde0afc(0xc7)](_0x185319):_0x185319)[_0xde0afc(0xb8)](',\x20');_0x211bb9[_0xde0afc(0xd5)]({'type':_0xde0afc(0xda),'content':_0x2d5337(this[_0xde0afc(0xd4)],_0xde0afc(0xe6),_0x490fcf)});}return _0x211bb9;}[_0x3ec36e(0xb5)](_0x5d5b44){const _0x3c0ed2=_0x3ec36e;for(const _0x1a7359 of this[_0x3c0ed2(0x9d)]){const _0x91355f=_0x1a7359(_0x5d5b44);if(_0x91355f&&_0x3c0ed2(0xe7)in _0x91355f)return _0x91355f;}}[_0x3ec36e(0xaa)](_0x3b4c7f,_0x5ce38d){const _0x5c2921=_0x3ec36e,_0x1bdf29=_0x5ce38d[_0x5c2921(0xdc)],_0x55bcda=void 0x0===_0x1bdf29[_0x5c2921(0x9c)]?_0x5c2921(0xbe):_0x5c2921(0xcf);_0x3b4c7f[_0x5c2921(0xd5)]({'type':_0x55bcda,'key':_0x1bdf29[_0x5c2921(0xde)]});}[_0x3ec36e(0xb0)](_0x29470f,_0x2859b7){const _0xa62977=_0x3ec36e;_0x29470f[_0xa62977(0xd5)]({'type':_0xa62977(0xda),'content':_0x2d5337(this[_0xa62977(0xd4)],_0xa62977(0xec),this[_0xa62977(0xe1)](_0x2859b7[_0xa62977(0xc9)]()[_0xa62977(0xca)][_0xa62977(0xd0)],0x1))});}[_0x3ec36e(0xb3)](_0x5c62a9,_0x23ae12,_0x526e63){const _0x44a496=_0x3ec36e;if(this[_0x44a496(0xe2)](_0x5c62a9,_0x23ae12),_0x526e63&&_0x526e63[_0x44a496(0xc9)]()&&!_0x23ae12[_0x44a496(0xc9)]()[_0x44a496(0xa7)][_0x44a496(0xea)](_0x526e63[_0x44a496(0xc9)]()[_0x44a496(0xca)])){const _0x50278f=_0x5c62a9[_0x5c62a9[_0x44a496(0xcb)]-0x1],_0x22134c=_0x44a496(0xf1)==_0x23ae12[_0x44a496(0xe7)]?_0x44a496(0xce):_0x44a496(0xb2);_0x50278f&&_0x44a496(0xdb)==_0x50278f[_0x44a496(0xe7)]&&(_0x50278f[_0x22134c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4150(){var _0x15d58e=['1782336pRTqar','1526DqDNSi','getSuggestions','1352hUDjfw','requires','2937999QixetW','pluginName','55976oYERnG','951129wlOOAF','TrackChanges','2XFTMyI','215MNnEtE','get','28190qMNkne','981fjFoif','12312179gKQDVU','getSuggestion','plugins','editor','addSuggestion','adapter','addSuggestionData','Comments'];_0x4150=function(){return _0x15d58e;};return _0x4150();}var _0x51f34e=_0x1670;(function(_0x10594c,_0x1bed18){var _0x5c52c=_0x1670,_0x45c386=_0x10594c();while(!![]){try{var _0x4e1991=parseInt(_0x5c52c(0x131))/0x1+-parseInt(_0x5c52c(0x133))/0x2*(-parseInt(_0x5c52c(0x12e))/0x3)+-parseInt(_0x5c52c(0x130))/0x4*(-parseInt(_0x5c52c(0x134))/0x5)+-parseInt(_0x5c52c(0x140))/0x6+parseInt(_0x5c52c(0x12a))/0x7*(-parseInt(_0x5c52c(0x12c))/0x8)+-parseInt(_0x5c52c(0x137))/0x9*(parseInt(_0x5c52c(0x136))/0xa)+-parseInt(_0x5c52c(0x138))/0xb;if(_0x4e1991===_0x1bed18)break;else _0x45c386['push'](_0x45c386['shift']());}catch(_0x1da8f5){_0x45c386['push'](_0x45c386['shift']());}}}(_0x4150,0xbc6a2));import{Plugin as _0x1420df}from'ckeditor5/src/core.js';import _0x392668 from'./trackchangesui.js';function _0x1670(_0x34c4b3,_0x218cc0){var _0x415052=_0x4150();return _0x1670=function(_0x167052,_0x37a321){_0x167052=_0x167052-0x12a;var _0x48ccc3=_0x415052[_0x167052];return _0x48ccc3;},_0x1670(_0x34c4b3,_0x218cc0);}import _0x359bf6 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1420df{static get[_0x51f34e(0x12d)](){var _0x1eab02=_0x51f34e;return[_0x359bf6,_0x392668,_0x1eab02(0x13f)];}static get[_0x51f34e(0x12f)](){var _0x2905f6=_0x51f34e;return _0x2905f6(0x132);}set[_0x51f34e(0x13d)](_0x4f410b){var _0x112dfc=_0x51f34e;this[_0x112dfc(0x13b)][_0x112dfc(0x13a)][_0x112dfc(0x135)](_0x359bf6)[_0x112dfc(0x13d)]=_0x4f410b;}get[_0x51f34e(0x13d)](){var _0x3a33a0=_0x51f34e;return this[_0x3a33a0(0x13b)][_0x3a33a0(0x13a)][_0x3a33a0(0x135)](_0x359bf6)[_0x3a33a0(0x13d)];}[_0x51f34e(0x13c)](_0x59f4f6){var _0x315a12=_0x51f34e;return this[_0x315a12(0x13b)][_0x315a12(0x13a)][_0x315a12(0x135)](_0x359bf6)[_0x315a12(0x13e)](_0x59f4f6);}[_0x51f34e(0x12b)]({skipNotAttached:_0x247732=!0x1,toJSON:_0x2f5f60=!0x1}={}){var _0x511c52=_0x51f34e;return this[_0x511c52(0x13b)][_0x511c52(0x13a)][_0x511c52(0x135)](_0x359bf6)[_0x511c52(0x12b)]({'skipNotAttached':_0x247732,'toJSON':_0x2f5f60});}[_0x51f34e(0x139)](_0x759fc){var _0x1a8862=_0x51f34e;return this[_0x1a8862(0x13b)][_0x1a8862(0x13a)][_0x1a8862(0x135)](_0x359bf6)[_0x1a8862(0x139)](_0x759fc);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x410c76=_0x523c;(function(_0x4dd447,_0x593b0e){const _0x149116=_0x523c,_0x21ac20=_0x4dd447();while(!![]){try{const _0x2a364a=parseInt(_0x149116(0x1cb))/0x1+-parseInt(_0x149116(0x196))/0x2+-parseInt(_0x149116(0x1b5))/0x3*(-parseInt(_0x149116(0x198))/0x4)+parseInt(_0x149116(0x1c4))/0x5+-parseInt(_0x149116(0x1cf))/0x6*(parseInt(_0x149116(0x1c6))/0x7)+-parseInt(_0x149116(0x1b4))/0x8+parseInt(_0x149116(0x1a2))/0x9;if(_0x2a364a===_0x593b0e)break;else _0x21ac20['push'](_0x21ac20['shift']());}catch(_0x131ae6){_0x21ac20['push'](_0x21ac20['shift']());}}}(_0x3287,0x8eae5));import{Plugin as _0xe07fb3}from'ckeditor5/src/core.js';import{CKEditorError as _0x314573}from'ckeditor5/src/utils.js';import _0x3f731f from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x27ac9e}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x410c76(0x1b3)];export default class P extends _0xe07fb3{static get[_0x410c76(0x19c)](){return[_0x3f731f];}static get[_0x410c76(0x1b0)](){const _0x2d6969=_0x410c76;return _0x2d6969(0x1ac);}[_0x410c76(0x1a7)](){const _0x39df3e=_0x410c76,_0x39d117=this[_0x39df3e(0x19f)];if(_0x39d117[_0x39df3e(0x1ae)][_0x39df3e(0x1bf)](_0x39df3e(0x1af),_0x89de95=>{const _0x1d8d72=_0x39df3e,_0x280991=_0x39d117[_0x1d8d72(0x1bd)][_0x1d8d72(0x1c1)][_0x1d8d72(0x1ce)]()[_0x1d8d72(0x1b6)]((_0x5ab1c4,_0x15a38b)=>(_0x5ab1c4[_0x15a38b]='',_0x5ab1c4),{});return _0x39d117[_0x1d8d72(0x1c5)][_0x1d8d72(0x195)](_0x280991,_0x89de95);}),_0x39df3e(0x19d)!=typeof _0x39d117[_0x39df3e(0x1ae)][_0x39df3e(0x1b9)](_0x39df3e(0x1a4))[_0x39df3e(0x197)])throw new _0x314573(_0x39df3e(0x199));}[_0x410c76(0x1c2)](_0x3bc568){const _0x4448be=_0x410c76;return N(this[_0x4448be(0x19f)],!0x0,_0x3bc568);}[_0x410c76(0x1a0)](_0x2e1db8){const _0x1507f9=_0x410c76;return N(this[_0x1507f9(0x19f)],!0x1,_0x2e1db8);}}function _0x523c(_0x4df7cd,_0x2a1b9e){const _0x328742=_0x3287();return _0x523c=function(_0x523c2e,_0x340d43){_0x523c2e=_0x523c2e-0x191;let _0x4a5afd=_0x328742[_0x523c2e];return _0x4a5afd;},_0x523c(_0x4df7cd,_0x2a1b9e);}class D extends _0xe07fb3{static get[_0x410c76(0x1b0)](){const _0x5907e7=_0x410c76;return _0x5907e7(0x1cd);}constructor(_0x1f605a){const _0x1f14cf=_0x410c76;super(_0x1f605a),this[_0x1f14cf(0x1aa)]=_0x1f14cf(0x191);}[_0x410c76(0x1a7)](){const _0x583411=_0x410c76;this[_0x583411(0x19f)][_0x583411(0x1ca)][_0x583411(0x1b9)](_0x583411(0x193))[_0x583411(0x1be)]={'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[_0x583411(0x19f)][_0x583411(0x1ca)][_0x583411(0x1b9)](_0x583411(0x1c9))[_0x583411(0x1be)]=null;}}function _0x3287(){const _0x51d1b0=['getDataWithAcceptedSuggestions','acceptAllSuggestions','2652635YwcLfp','constructor','77kVSGje','destroy','name','TrackChangesEditing','plugins','940533inUdej','map','TrackChangesDataGetter','getRootNames','249294uioEre','end','set','CommentsRepository','getSuggestions','create','1696144CplFRf','editorCreator','16sOGPQz','track-changes-data-invalid-editor-creator','rootsAttributes','getCommentThreads','requires','function','createDocumentFragment','editor','getDataWithDiscardedSuggestions','addUser','8108136ReFzno','createElement','trackChangesData','div','users','init','useAnonymousUser','discardAllSuggestions','result','execute','TrackChangesData','data','config','trackChangesData.editorCreator','pluginName','Users','getRootsAttributes','Pagination','8295584SwpVVu','415887OULQrm','reduce','appendChild','getUser','get','getFullData','addSuggestionData','push','model','_adapter','define','addCommentThread','document'];_0x3287=function(){return _0x51d1b0;};return _0x3287();}function v(_0x2ce229){const _0xac0551=_0x410c76;return void 0x0!==_0x2ce229[_0xac0551(0x1b2)];}async function N(_0x213b82,_0x31befe,_0x60c5a7){const _0x3b2561=_0x410c76,_0x20650c=_0x27ac9e(_0x213b82,T);_0x20650c[_0x3b2561(0x1ca)][_0x3b2561(0x1bc)](_0x3f731f,D),_0x20650c[_0x3b2561(0x19a)]=v(_0x213b82)?_0x213b82[_0x3b2561(0x1b2)]():void 0x0;const _0x33946d=document[_0x3b2561(0x19e)](),_0x1d72a1=_0x213b82[_0x3b2561(0x1ae)][_0x3b2561(0x1b9)](_0x3b2561(0x1a4))[_0x3b2561(0x197)],_0x179d3f=await _0x1d72a1(_0x20650c,()=>function(_0xe42df3){const _0x50fc0f=_0x3b2561,_0x5031e3=document[_0x50fc0f(0x1a3)](_0x50fc0f(0x1a5));return _0xe42df3[_0x50fc0f(0x1b7)](_0x5031e3),_0x5031e3;}(_0x33946d));!function(_0xeb6f91,_0x228f90){const _0x536341=_0x3b2561,_0x1cabd9=_0xeb6f91[_0x536341(0x1bd)][_0x536341(0x1c1)][_0x536341(0x1ce)]()[_0x536341(0x1b6)]((_0x13b490,_0x5c0ad4)=>(_0x13b490[_0x5c0ad4]=_0xeb6f91[_0x536341(0x1ad)][_0x536341(0x1b9)]({'rootName':_0x5c0ad4}),_0x13b490),{}),_0x3e604c=_0xeb6f91[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x1b1))[_0x536341(0x1a6)][_0x536341(0x1cc)](_0x1b93ba=>({'id':_0x1b93ba['id'],'name':_0x1b93ba[_0x536341(0x1c8)]})),_0x4a7118=_0xeb6f91[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x1c9))[_0x536341(0x194)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3724ec=_0xeb6f91[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x193))[_0x536341(0x19b)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x54562b=_0x228f90[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x1b1)),_0x3c122b=_0x228f90[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x1c9)),_0x4fb612=_0x228f90[_0x536341(0x1ca)][_0x536341(0x1b9)](_0x536341(0x193));for(const _0x498d18 of _0x3e604c)_0x54562b[_0x536341(0x1b8)](_0x498d18['id'])||_0x54562b[_0x536341(0x1a1)](_0x498d18);_0x54562b['me']||_0x54562b[_0x536341(0x1a8)]();for(const _0xdc8ac0 of _0x4a7118)_0x3c122b[_0x536341(0x1bb)](_0xdc8ac0);for(const _0x2f8086 of _0x3724ec)_0x4fb612[_0x536341(0x1c0)](_0x2f8086);_0x228f90[_0x536341(0x1ad)][_0x536341(0x192)](_0x1cabd9);}(_0x213b82,_0x179d3f),_0x179d3f[_0x3b2561(0x1ab)](_0x31befe?_0x3b2561(0x1c3):_0x3b2561(0x1a9));const _0x147a5f=v(_0x179d3f)?_0x179d3f[_0x3b2561(0x1ba)](_0x60c5a7):_0x179d3f[_0x3b2561(0x1ad)][_0x3b2561(0x1b9)](_0x60c5a7);return await _0x179d3f[_0x3b2561(0x1c7)](),_0x147a5f;}
|