@ckeditor/ckeditor5-track-changes 42.0.0-alpha.14 → 42.0.0-alpha.16
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 _0x3f1a88=_0x1fbd;(function(_0x4d14d3,_0x196954){const _0x562bb5=_0x1fbd,_0x16ce3f=_0x4d14d3();while(!![]){try{const _0xc54959=-parseInt(_0x562bb5(0x209))/0x1*(-parseInt(_0x562bb5(0x1c5))/0x2)+parseInt(_0x562bb5(0x1d6))/0x3+parseInt(_0x562bb5(0x211))/0x4*(-parseInt(_0x562bb5(0x207))/0x5)+-parseInt(_0x562bb5(0x1e2))/0x6*(parseInt(_0x562bb5(0x1c0))/0x7)+-parseInt(_0x562bb5(0x220))/0x8*(-parseInt(_0x562bb5(0x1ce))/0x9)+-parseInt(_0x562bb5(0x20a))/0xa*(-parseInt(_0x562bb5(0x1d3))/0xb)+parseInt(_0x562bb5(0x1d8))/0xc*(parseInt(_0x562bb5(0x1d1))/0xd);if(_0xc54959===_0x196954)break;else _0x16ce3f['push'](_0x16ce3f['shift']());}catch(_0x3a8466){_0x16ce3f['push'](_0x16ce3f['shift']());}}}(_0x5c88,0x49557));import{Plugin as _0x3cb8a1}from'ckeditor5/src/core.js';function _0x5c88(){const _0x46bc85=['isInContent','36xKQBdM','*Split\x20cell:*\x20vertically','accept','$graveyard','createTableWalker','requires','getSelectionAffectedTableCells','fromRange','root','set:isEnabled','TableUtils','detach','afterInit','author','containsRange','11224kOZgab','getRanges','find','change','commandName','setSelection','3472BTqojA','horizontally','enableCommand','size','table','890dZMfMy','getSuggestions','createRangeOn','getFirstPosition','low','*Merge\x20cells*','mergeTableCells','mergeTableCellUp','rootName','369EPlOGo','isEnabled','return','1066dhTHRn','_acceptFormatSuggestionCallbackFactory','33YLHPDy','push','length','1576236biQMin','type','26148TphJhm','forceDefaultExecution','mergeTableCellLeft','registerCustomCallback','subType','_tablePostFixingSubtypes','*Split\x20cell:*\x20horizontally','trackChanges','map','get','5934nVcdbZ','document','descriptionFactory','has','_isForcedDefaultExecutionBlock','splitTableCellVertically','mergeTableCellDown','splitTableCellHorizontally','locale','add','registerDescriptionCallback','direction','editor','TableEditing','_areSelectedCellsMergable','getCellLocation','findAncestor','getAncestors','formatInline','markMultiRangeBlockFormat','value','formatBlock','deletion','_areMergableCells','stop','mergeTableCellRight','insertion','selection','TrackChangesEditing','plugins','element','_suggestionFactory','execute','markBlockFormat','commands','tableCell','filter','46745CghTgD','refresh','191aNrsbS','94840AipNTc','from','cell','format','model','highest'];_0x5c88=function(){return _0x46bc85;};return _0x5c88();}function _0x1fbd(_0x1e5b8c,_0x226d11){const _0x5c883f=_0x5c88();return _0x1fbd=function(_0x1fbd43,_0x1cc005){_0x1fbd43=_0x1fbd43-0x1bb;let _0x44c239=_0x5c883f[_0x1fbd43];return _0x44c239;},_0x1fbd(_0x1e5b8c,_0x226d11);}import _0x359d89 from'./table.js';import{LiveRange as _0x463136}from'ckeditor5/src/engine.js';import{getTranslation as _0xcfa73}from'../utils/common-translations.js';export default class St extends _0x3cb8a1{static get[_0x3f1a88(0x216)](){return[_0x359d89];}[_0x3f1a88(0x21d)](){const _0x51d85c=_0x3f1a88,_0x4bc847=this[_0x51d85c(0x1ee)],_0x4b1e71=_0x4bc847[_0x51d85c(0x20e)][_0x51d85c(0x1e3)][_0x51d85c(0x1fd)],_0x2d994d=_0x4bc847[_0x51d85c(0x1ea)];if(!_0x4bc847[_0x51d85c(0x1ff)][_0x51d85c(0x1e5)](_0x51d85c(0x1ef)))return;const _0xd9fc99=_0x4bc847[_0x51d85c(0x1ff)][_0x51d85c(0x1e1)](_0x51d85c(0x1fe)),_0x48bade=_0x4bc847[_0x51d85c(0x1ff)][_0x51d85c(0x1e1)](_0x51d85c(0x21b)),_0x11b8f0=_0x4bc847[_0x51d85c(0x1ff)][_0x51d85c(0x1e1)](_0x359d89);_0x11b8f0[_0x51d85c(0x1dd)][_0x51d85c(0x1d4)](_0x51d85c(0x1cb)),_0xd9fc99[_0x51d85c(0x1c2)](_0x51d85c(0x1cb),()=>{const _0x260d88=_0x51d85c,_0x4453f3=_0x48bade[_0x260d88(0x217)](_0x4bc847[_0x260d88(0x20e)][_0x260d88(0x1e3)][_0x260d88(0x1fd)]);_0x4bc847[_0x260d88(0x20e)][_0x260d88(0x1bd)](()=>{const _0x19c7c4=_0x260d88;_0xd9fc99[_0x19c7c4(0x1f5)](_0x4453f3,{'commandName':_0x19c7c4(0x1cb),'commandParams':[]},[],_0x19c7c4(0x1cb));});}),_0x4bc847[_0x51d85c(0x204)][_0x51d85c(0x1e1)](_0x51d85c(0x1cb))['on'](_0x51d85c(0x202),(_0x286f91,_0x3e34e1)=>{const _0x2cceed=_0x51d85c;_0x4bc847[_0x2cceed(0x204)][_0x2cceed(0x1e1)](_0x2cceed(0x1df))[_0x2cceed(0x1f6)]&&(_0x3e34e1[_0x2cceed(0x1d5)]>0x0&&_0x3e34e1[_0x3e34e1[_0x2cceed(0x1d5)]-0x1]&&_0x3e34e1[_0x3e34e1[_0x2cceed(0x1d5)]-0x1][_0x2cceed(0x1d9)]||_0xd9fc99[_0x2cceed(0x1e6)]||this[_0x2cceed(0x1f0)]()||_0x286f91[_0x2cceed(0x1fa)]());},{'priority':_0x51d85c(0x20f)});for(const _0x1cb1c0 of[_0x51d85c(0x1cc),_0x51d85c(0x1fb),_0x51d85c(0x1e8),_0x51d85c(0x1da)]){const _0x4804c4=_0x4bc847[_0x51d85c(0x204)][_0x51d85c(0x1e1)](_0x1cb1c0);_0xd9fc99[_0x51d85c(0x1c2)](_0x1cb1c0,()=>{const _0x36811a=_0x51d85c,_0x2008ab=_0x4bc847[_0x36811a(0x20e)][_0x36811a(0x1e3)][_0x36811a(0x1fd)][_0x36811a(0x1c8)]()[_0x36811a(0x1f3)]()[_0x36811a(0x1bc)](_0x4b9ab5=>_0x4b9ab5['is'](_0x36811a(0x200),_0x36811a(0x205))),_0x3acb4c=_0x4804c4[_0x36811a(0x1f6)];_0x4bc847[_0x36811a(0x20e)][_0x36811a(0x1bd)](()=>{const _0x251757=_0x36811a;_0xd9fc99[_0x251757(0x1f5)]([_0x2008ab,_0x3acb4c],{'commandName':_0x251757(0x1cb),'commandParams':[]},[],_0x251757(0x1cb));});});}for(const _0x13fa95 of[_0x51d85c(0x1e7),_0x51d85c(0x1e9)]){const _0x22cbf2=_0x4bc847[_0x51d85c(0x204)][_0x51d85c(0x1e1)](_0x13fa95);_0xd9fc99[_0x51d85c(0x1c2)](_0x13fa95,()=>{const _0x1fd5eb=_0x51d85c,_0x33bece=_0x48bade[_0x1fd5eb(0x217)](_0x4bc847[_0x1fd5eb(0x20e)][_0x1fd5eb(0x1e3)][_0x1fd5eb(0x1fd)])[0x0],_0x1575a4=_0x33bece[_0x1fd5eb(0x1f2)](_0x1fd5eb(0x1c4)),{column:_0x32e60d,row:_0x222b8c}=_0x48bade[_0x1fd5eb(0x1f1)](_0x33bece);let _0x350d78=[];if(_0x1fd5eb(0x1c1)==_0x22cbf2[_0x1fd5eb(0x1ed)]){const _0x2afa6a=_0x48bade[_0x1fd5eb(0x215)](_0x1575a4,{'startRow':_0x222b8c,'endRow':_0x222b8c,'includeAllSlots':!0x0});_0x350d78=Array[_0x1fd5eb(0x20b)](_0x2afa6a)[_0x1fd5eb(0x1e0)](_0xea1c3d=>_0xea1c3d[_0x1fd5eb(0x20c)]);}else{const _0x19fa55=_0x48bade[_0x1fd5eb(0x215)](_0x1575a4,{'column':_0x32e60d,'includeAllSlots':!0x0});_0x350d78=Array[_0x1fd5eb(0x20b)](_0x19fa55)[_0x1fd5eb(0x1e0)](_0x2d3fe0=>_0x2d3fe0[_0x1fd5eb(0x20c)]);}_0x4bc847[_0x1fd5eb(0x20e)][_0x1fd5eb(0x1bd)](_0x497142=>{const _0x54d5a0=_0x1fd5eb;_0xd9fc99[_0x54d5a0(0x203)](_0x497142[_0x54d5a0(0x1c7)](_0x33bece),{'commandName':_0x13fa95,'commandParams':[]},_0x350d78,_0x13fa95);});});}_0xd9fc99[_0x51d85c(0x1e4)][_0x51d85c(0x1ec)](_0x204e4a=>{const _0x293f86=_0x51d85c;if(_0x293f86(0x1f7)!=_0x204e4a[_0x293f86(0x1d7)]&&_0x293f86(0x1f4)!=_0x204e4a[_0x293f86(0x1d7)])return;const {data:_0x4dcd85}=_0x204e4a;return _0x4dcd85&&_0x293f86(0x1cb)==_0x4dcd85[_0x293f86(0x1be)]?{'type':_0x293f86(0x20d),'content':_0xcfa73(_0x2d994d,_0x293f86(0x1ca))}:void 0x0;}),_0xd9fc99[_0x51d85c(0x1e4)][_0x51d85c(0x1ec)](_0x352225=>{const _0x125fc6=_0x51d85c;if(_0x125fc6(0x1f7)!=_0x352225[_0x125fc6(0x1d7)]&&_0x125fc6(0x1f4)!=_0x352225[_0x125fc6(0x1d7)])return;const {data:_0x469062}=_0x352225;return _0x469062?_0x125fc6(0x1e7)==_0x469062[_0x125fc6(0x1be)]?{'type':_0x125fc6(0x20d),'content':_0xcfa73(_0x2d994d,_0x125fc6(0x212))}:_0x125fc6(0x1e9)==_0x469062[_0x125fc6(0x1be)]?{'type':_0x125fc6(0x20d),'content':_0xcfa73(_0x2d994d,_0x125fc6(0x1de))}:void 0x0:void 0x0;});const _0x147f98=_0x11b8f0[_0x51d85c(0x1d2)]();for(const _0xee8f5a of[_0x51d85c(0x1cc),_0x51d85c(0x1fb),_0x51d85c(0x1e8),_0x51d85c(0x1da)])_0xd9fc99[_0x51d85c(0x201)][_0x51d85c(0x1db)](_0x51d85c(0x1f7),_0xee8f5a,_0x51d85c(0x213),_0x147f98);for(const _0x371746 of[_0x51d85c(0x1e7),_0x51d85c(0x1e9)])_0xd9fc99[_0x51d85c(0x201)][_0x51d85c(0x1db)](_0x51d85c(0x1f7),_0x371746,_0x51d85c(0x213),_0x147f98);_0xd9fc99[_0x51d85c(0x201)][_0x51d85c(0x1db)](_0x51d85c(0x1f7),_0x51d85c(0x1cb),_0x51d85c(0x213),_0x38232c=>{const _0xf89a30=_0x51d85c;_0x4bc847[_0xf89a30(0x20e)][_0xf89a30(0x1bd)](_0x4fb29f=>{const _0x28e291=_0xf89a30,_0xc30cb5=Array[_0x28e291(0x20b)](_0x4b1e71[_0x28e291(0x1bb)]())[_0x28e291(0x1e0)](_0x42e011=>_0x463136[_0x28e291(0x218)](_0x42e011));_0x4fb29f[_0x28e291(0x1bf)](_0x38232c),_0x4bc847[_0x28e291(0x204)][_0x28e291(0x1e1)](_0x28e291(0x1cb))[_0x28e291(0x208)](),_0x4bc847[_0x28e291(0x202)](_0x28e291(0x1cb),{'forceDefaultExecution':!0x0});const _0x4eb893=_0xc30cb5[_0x28e291(0x206)](_0xcde53d=>_0x28e291(0x214)!=_0xcde53d[_0x28e291(0x219)][_0x28e291(0x1cd)]);_0x4eb893[_0x28e291(0x1d5)]>0x0&&_0x4fb29f[_0x28e291(0x1bf)](_0x4eb893);for(const _0x1f5129 of _0xc30cb5)_0x1f5129[_0x28e291(0x21c)]();});});for(const _0x7948f9 of[_0x51d85c(0x1cc),_0x51d85c(0x1e8),_0x51d85c(0x1da),_0x51d85c(0x1fb)]){const _0x54e586=_0x4bc847[_0x51d85c(0x204)][_0x51d85c(0x1e1)](_0x7948f9);_0x54e586['on'](_0x51d85c(0x21a),(_0x110951,_0x668e14,_0x2195d7)=>{const _0x1ba229=_0x51d85c;if(_0x2195d7){const _0x1ac348=_0x4bc847[_0x1ba229(0x20e)][_0x1ba229(0x1e3)][_0x1ba229(0x1fd)][_0x1ba229(0x1c8)]()[_0x1ba229(0x1f3)]()[_0x1ba229(0x1bc)](_0x2db6e9=>_0x2db6e9['is'](_0x1ba229(0x200),_0x1ba229(0x205)));this[_0x1ba229(0x1f9)](_0x54e586[_0x1ba229(0x1f6)],_0x1ac348)||(_0x110951[_0x1ba229(0x1d0)]=!0x1,_0x110951[_0x1ba229(0x1fa)]());}},{'priority':_0x51d85c(0x1c9)});}}[_0x3f1a88(0x1f0)](){const _0x2fb899=_0x3f1a88,_0x1755cc=this[_0x2fb899(0x1ee)][_0x2fb899(0x204)][_0x2fb899(0x1e1)](_0x2fb899(0x1cb)),_0x310ab2=this[_0x2fb899(0x1ee)][_0x2fb899(0x1ff)][_0x2fb899(0x1e1)](_0x2fb899(0x21b));if(!_0x1755cc[_0x2fb899(0x1cf)])return!0x1;const _0x281c71=_0x310ab2[_0x2fb899(0x217)](this[_0x2fb899(0x1ee)][_0x2fb899(0x20e)][_0x2fb899(0x1e3)][_0x2fb899(0x1fd)]);for(const _0x486314 of _0x281c71)for(const _0x149f64 of _0x281c71)if(_0x486314!=_0x149f64&&!this[_0x2fb899(0x1f9)](_0x486314,_0x149f64))return!0x1;return!0x0;}[_0x3f1a88(0x1f9)](_0x24af50,_0x546c71){const _0x2259d5=_0x3f1a88,_0x2f450b=this[_0x2259d5(0x1ee)][_0x2259d5(0x1ff)][_0x2259d5(0x1e1)](_0x2259d5(0x1fe)),_0x390cee=this[_0x2259d5(0x1ee)][_0x2259d5(0x20e)][_0x2259d5(0x1c7)](_0x24af50),_0xba59e0=this[_0x2259d5(0x1ee)][_0x2259d5(0x20e)][_0x2259d5(0x1c7)](_0x546c71),_0x4b9c46=new Set(),_0x5deff5=new Set();for(const _0x5e49b1 of _0x2f450b[_0x2259d5(0x1c6)]())if((_0x2259d5(0x1fc)==_0x5e49b1[_0x2259d5(0x1d7)]||_0x2259d5(0x1f8)==_0x5e49b1[_0x2259d5(0x1d7)]||_0x2259d5(0x1cb)==_0x5e49b1[_0x2259d5(0x1dc)])&&_0x5e49b1[_0x2259d5(0x210)]){for(const _0x545f53 of _0x5e49b1[_0x2259d5(0x1bb)]())_0x545f53[_0x2259d5(0x21f)](_0x390cee,!0x0)&&_0x4b9c46[_0x2259d5(0x1eb)](_0x5e49b1[_0x2259d5(0x1d7)]+':'+_0x5e49b1[_0x2259d5(0x21e)]['id']),_0x545f53[_0x2259d5(0x21f)](_0xba59e0,!0x0)&&_0x5deff5[_0x2259d5(0x1eb)](_0x5e49b1[_0x2259d5(0x1d7)]+':'+_0x5e49b1[_0x2259d5(0x21e)]['id']);}if(_0x4b9c46[_0x2259d5(0x1c3)]!=_0x5deff5[_0x2259d5(0x1c3)])return!0x1;for(const _0x5c1dc9 of _0x4b9c46)if(!_0x5deff5[_0x2259d5(0x1e5)](_0x5c1dc9))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x52a2(_0x15fd15,_0x487b1c){const _0x2bfb14=_0x2bfb();return _0x52a2=function(_0x52a260,_0xdb9c60){_0x52a260=_0x52a260-0x1bc;let _0x1bda7f=_0x2bfb14[_0x52a260];return _0x1bda7f;},_0x52a2(_0x15fd15,_0x487b1c);}const _0x5811e5=_0x52a2;(function(_0xc4f169,_0x23ba4a){const _0x2178c0=_0x52a2,_0x3e57a0=_0xc4f169();while(!![]){try{const _0x1f1dbc=parseInt(_0x2178c0(0x1cf))/0x1+-parseInt(_0x2178c0(0x1be))/0x2+parseInt(_0x2178c0(0x1bd))/0x3*(-parseInt(_0x2178c0(0x1c3))/0x4)+parseInt(_0x2178c0(0x1d6))/0x5+parseInt(_0x2178c0(0x1e1))/0x6+parseInt(_0x2178c0(0x1db))/0x7+-parseInt(_0x2178c0(0x1c8))/0x8*(-parseInt(_0x2178c0(0x1ce))/0x9);if(_0x1f1dbc===_0x23ba4a)break;else _0x3e57a0['push'](_0x3e57a0['shift']());}catch(_0x1923f7){_0x3e57a0['push'](_0x3e57a0['shift']());}}}(_0x2bfb,0x2fae6));import{Plugin as _0x273291}from'ckeditor5/src/core.js';import _0xe13418 from'./table.js';import{LiveRange as _0x365c20}from'ckeditor5/src/engine.js';import{getTranslation as _0x331737}from'../utils/common-translations.js';function _0x2bfb(){const _0x54e123=['accept','change','_acceptFormatSuggestionCallbackFactory','splitTableCellHorizontally','setSelection','root','editor','getAncestors','author','createRangeOn','getRanges','mergeTableCellRight','TableEditing','formatInline','isEnabled','type','rootName','getFirstPosition','mergeTableCellUp','commandName','requires','get','fromRange','markBlockFormat','_areMergableCells','map','horizontally','markMultiRangeBlockFormat','model','commands','detach','_tablePostFixingSubtypes','selection','format','isInContent','_areSelectedCellsMergable','*Split\x20cell:*\x20horizontally','findAncestor','*Merge\x20cells*','afterInit','getSuggestions','size','*Split\x20cell:*\x20vertically','value','$graveyard','document','TrackChangesEditing','from','table','has','subType','createTableWalker','TableUtils','57IZrTzb','551270VBDejm','deletion','plugins','length','mergeTableCellLeft','15272mKThDy','descriptionFactory','stop','highest','cell','8vDWdWA','execute','splitTableCellVertically','low','containsRange','registerDescriptionCallback','975123Urjcdp','100072tDasLI','set:isEnabled','return','getSelectionAffectedTableCells','refresh','find','forceDefaultExecution','557680NwrRUt','element','add','filter','direction','662564QFymqJ','tableCell','enableCommand','mergeTableCellDown','locale','registerCustomCallback','773232wXPTOT','insertion','_isForcedDefaultExecutionBlock','push','mergeTableCells','getCellLocation','formatBlock','_suggestionFactory','trackChanges'];_0x2bfb=function(){return _0x54e123;};return _0x2bfb();}export default class St extends _0x273291{static get[_0x5811e5(0x1fe)](){return[_0xe13418];}[_0x5811e5(0x211)](){const _0x584689=_0x5811e5,_0xb84e23=this[_0x584689(0x1f0)],_0x38f8e7=_0xb84e23[_0x584689(0x206)][_0x584689(0x217)][_0x584689(0x20a)],_0x189cfc=_0xb84e23[_0x584689(0x1df)];if(!_0xb84e23[_0x584689(0x1c0)][_0x584689(0x21b)](_0x584689(0x1f6)))return;const _0x1a365e=_0xb84e23[_0x584689(0x1c0)][_0x584689(0x1ff)](_0x584689(0x218)),_0x1232bc=_0xb84e23[_0x584689(0x1c0)][_0x584689(0x1ff)](_0x584689(0x1bc)),_0x31b4ee=_0xb84e23[_0x584689(0x1c0)][_0x584689(0x1ff)](_0xe13418);_0x31b4ee[_0x584689(0x209)][_0x584689(0x1e4)](_0x584689(0x1e5)),_0x1a365e[_0x584689(0x1dd)](_0x584689(0x1e5),()=>{const _0x20a8ce=_0x584689,_0x570f4d=_0x1232bc[_0x20a8ce(0x1d2)](_0xb84e23[_0x20a8ce(0x206)][_0x20a8ce(0x217)][_0x20a8ce(0x20a)]);_0xb84e23[_0x20a8ce(0x206)][_0x20a8ce(0x1eb)](()=>{const _0x1b0cf6=_0x20a8ce;_0x1a365e[_0x1b0cf6(0x205)](_0x570f4d,{'commandName':_0x1b0cf6(0x1e5),'commandParams':[]},[],_0x1b0cf6(0x1e5));});}),_0xb84e23[_0x584689(0x207)][_0x584689(0x1ff)](_0x584689(0x1e5))['on'](_0x584689(0x1c9),(_0x40d9e2,_0x4f0321)=>{const _0x5c15e9=_0x584689;_0xb84e23[_0x5c15e9(0x207)][_0x5c15e9(0x1ff)](_0x5c15e9(0x1e9))[_0x5c15e9(0x215)]&&(_0x4f0321[_0x5c15e9(0x1c1)]>0x0&&_0x4f0321[_0x4f0321[_0x5c15e9(0x1c1)]-0x1]&&_0x4f0321[_0x4f0321[_0x5c15e9(0x1c1)]-0x1][_0x5c15e9(0x1d5)]||_0x1a365e[_0x5c15e9(0x1e3)]||this[_0x5c15e9(0x20d)]()||_0x40d9e2[_0x5c15e9(0x1c5)]());},{'priority':_0x584689(0x1c6)});for(const _0x35e213 of[_0x584689(0x1fc),_0x584689(0x1f5),_0x584689(0x1de),_0x584689(0x1c2)]){const _0x42f0df=_0xb84e23[_0x584689(0x207)][_0x584689(0x1ff)](_0x35e213);_0x1a365e[_0x584689(0x1dd)](_0x35e213,()=>{const _0x47fdc8=_0x584689,_0x3cfe06=_0xb84e23[_0x47fdc8(0x206)][_0x47fdc8(0x217)][_0x47fdc8(0x20a)][_0x47fdc8(0x1fb)]()[_0x47fdc8(0x1f1)]()[_0x47fdc8(0x1d4)](_0x208b70=>_0x208b70['is'](_0x47fdc8(0x1d7),_0x47fdc8(0x1dc))),_0x4ec878=_0x42f0df[_0x47fdc8(0x215)];_0xb84e23[_0x47fdc8(0x206)][_0x47fdc8(0x1eb)](()=>{const _0x4c8c66=_0x47fdc8;_0x1a365e[_0x4c8c66(0x205)]([_0x3cfe06,_0x4ec878],{'commandName':_0x4c8c66(0x1e5),'commandParams':[]},[],_0x4c8c66(0x1e5));});});}for(const _0x2e2104 of[_0x584689(0x1ca),_0x584689(0x1ed)]){const _0x441002=_0xb84e23[_0x584689(0x207)][_0x584689(0x1ff)](_0x2e2104);_0x1a365e[_0x584689(0x1dd)](_0x2e2104,()=>{const _0x2d79be=_0x584689,_0x11a37c=_0x1232bc[_0x2d79be(0x1d2)](_0xb84e23[_0x2d79be(0x206)][_0x2d79be(0x217)][_0x2d79be(0x20a)])[0x0],_0x5d8958=_0x11a37c[_0x2d79be(0x20f)](_0x2d79be(0x21a)),{column:_0x2e5c19,row:_0x389c5f}=_0x1232bc[_0x2d79be(0x1e6)](_0x11a37c);let _0x13bc1e=[];if(_0x2d79be(0x204)==_0x441002[_0x2d79be(0x1da)]){const _0x5d3fbd=_0x1232bc[_0x2d79be(0x21d)](_0x5d8958,{'startRow':_0x389c5f,'endRow':_0x389c5f,'includeAllSlots':!0x0});_0x13bc1e=Array[_0x2d79be(0x219)](_0x5d3fbd)[_0x2d79be(0x203)](_0x31dfc0=>_0x31dfc0[_0x2d79be(0x1c7)]);}else{const _0x1d9280=_0x1232bc[_0x2d79be(0x21d)](_0x5d8958,{'column':_0x2e5c19,'includeAllSlots':!0x0});_0x13bc1e=Array[_0x2d79be(0x219)](_0x1d9280)[_0x2d79be(0x203)](_0x2095ac=>_0x2095ac[_0x2d79be(0x1c7)]);}_0xb84e23[_0x2d79be(0x206)][_0x2d79be(0x1eb)](_0x4f8f93=>{const _0x2c9421=_0x2d79be;_0x1a365e[_0x2c9421(0x201)](_0x4f8f93[_0x2c9421(0x1f3)](_0x11a37c),{'commandName':_0x2e2104,'commandParams':[]},_0x13bc1e,_0x2e2104);});});}_0x1a365e[_0x584689(0x1c4)][_0x584689(0x1cd)](_0x192ccc=>{const _0x49389b=_0x584689;if(_0x49389b(0x1e7)!=_0x192ccc[_0x49389b(0x1f9)]&&_0x49389b(0x1f7)!=_0x192ccc[_0x49389b(0x1f9)])return;const {data:_0x3ba559}=_0x192ccc;return _0x3ba559&&_0x49389b(0x1e5)==_0x3ba559[_0x49389b(0x1fd)]?{'type':_0x49389b(0x20b),'content':_0x331737(_0x189cfc,_0x49389b(0x210))}:void 0x0;}),_0x1a365e[_0x584689(0x1c4)][_0x584689(0x1cd)](_0x138dc5=>{const _0x1d8b21=_0x584689;if(_0x1d8b21(0x1e7)!=_0x138dc5[_0x1d8b21(0x1f9)]&&_0x1d8b21(0x1f7)!=_0x138dc5[_0x1d8b21(0x1f9)])return;const {data:_0x2bfa1e}=_0x138dc5;return _0x2bfa1e?_0x1d8b21(0x1ca)==_0x2bfa1e[_0x1d8b21(0x1fd)]?{'type':_0x1d8b21(0x20b),'content':_0x331737(_0x189cfc,_0x1d8b21(0x214))}:_0x1d8b21(0x1ed)==_0x2bfa1e[_0x1d8b21(0x1fd)]?{'type':_0x1d8b21(0x20b),'content':_0x331737(_0x189cfc,_0x1d8b21(0x20e))}:void 0x0:void 0x0;});const _0x4b2873=_0x31b4ee[_0x584689(0x1ec)]();for(const _0x3bac40 of[_0x584689(0x1fc),_0x584689(0x1f5),_0x584689(0x1de),_0x584689(0x1c2)])_0x1a365e[_0x584689(0x1e8)][_0x584689(0x1e0)](_0x584689(0x1e7),_0x3bac40,_0x584689(0x1ea),_0x4b2873);for(const _0x2cb367 of[_0x584689(0x1ca),_0x584689(0x1ed)])_0x1a365e[_0x584689(0x1e8)][_0x584689(0x1e0)](_0x584689(0x1e7),_0x2cb367,_0x584689(0x1ea),_0x4b2873);_0x1a365e[_0x584689(0x1e8)][_0x584689(0x1e0)](_0x584689(0x1e7),_0x584689(0x1e5),_0x584689(0x1ea),_0x4a28c2=>{const _0x387de3=_0x584689;_0xb84e23[_0x387de3(0x206)][_0x387de3(0x1eb)](_0x7d87e6=>{const _0x28f025=_0x387de3,_0x1350c9=Array[_0x28f025(0x219)](_0x38f8e7[_0x28f025(0x1f4)]())[_0x28f025(0x203)](_0x3d4dbd=>_0x365c20[_0x28f025(0x200)](_0x3d4dbd));_0x7d87e6[_0x28f025(0x1ee)](_0x4a28c2),_0xb84e23[_0x28f025(0x207)][_0x28f025(0x1ff)](_0x28f025(0x1e5))[_0x28f025(0x1d3)](),_0xb84e23[_0x28f025(0x1c9)](_0x28f025(0x1e5),{'forceDefaultExecution':!0x0});const _0x4b8a25=_0x1350c9[_0x28f025(0x1d9)](_0x513f0f=>_0x28f025(0x216)!=_0x513f0f[_0x28f025(0x1ef)][_0x28f025(0x1fa)]);_0x4b8a25[_0x28f025(0x1c1)]>0x0&&_0x7d87e6[_0x28f025(0x1ee)](_0x4b8a25);for(const _0x10f188 of _0x1350c9)_0x10f188[_0x28f025(0x208)]();});});for(const _0x3d1c37 of[_0x584689(0x1fc),_0x584689(0x1de),_0x584689(0x1c2),_0x584689(0x1f5)]){const _0x46a6cc=_0xb84e23[_0x584689(0x207)][_0x584689(0x1ff)](_0x3d1c37);_0x46a6cc['on'](_0x584689(0x1d0),(_0x4a940c,_0x395433,_0x4067c8)=>{const _0x4187a8=_0x584689;if(_0x4067c8){const _0x48b676=_0xb84e23[_0x4187a8(0x206)][_0x4187a8(0x217)][_0x4187a8(0x20a)][_0x4187a8(0x1fb)]()[_0x4187a8(0x1f1)]()[_0x4187a8(0x1d4)](_0x5c7a5c=>_0x5c7a5c['is'](_0x4187a8(0x1d7),_0x4187a8(0x1dc)));this[_0x4187a8(0x202)](_0x46a6cc[_0x4187a8(0x215)],_0x48b676)||(_0x4a940c[_0x4187a8(0x1d1)]=!0x1,_0x4a940c[_0x4187a8(0x1c5)]());}},{'priority':_0x584689(0x1cb)});}}[_0x5811e5(0x20d)](){const _0x250008=_0x5811e5,_0x586192=this[_0x250008(0x1f0)][_0x250008(0x207)][_0x250008(0x1ff)](_0x250008(0x1e5)),_0x30c664=this[_0x250008(0x1f0)][_0x250008(0x1c0)][_0x250008(0x1ff)](_0x250008(0x1bc));if(!_0x586192[_0x250008(0x1f8)])return!0x1;const _0x342483=_0x30c664[_0x250008(0x1d2)](this[_0x250008(0x1f0)][_0x250008(0x206)][_0x250008(0x217)][_0x250008(0x20a)]);for(const _0x331d82 of _0x342483)for(const _0x33e155 of _0x342483)if(_0x331d82!=_0x33e155&&!this[_0x250008(0x202)](_0x331d82,_0x33e155))return!0x1;return!0x0;}[_0x5811e5(0x202)](_0x57dcec,_0x1ac2bc){const _0x1f9b45=_0x5811e5,_0x508e90=this[_0x1f9b45(0x1f0)][_0x1f9b45(0x1c0)][_0x1f9b45(0x1ff)](_0x1f9b45(0x218)),_0x35a208=this[_0x1f9b45(0x1f0)][_0x1f9b45(0x206)][_0x1f9b45(0x1f3)](_0x57dcec),_0x5b0122=this[_0x1f9b45(0x1f0)][_0x1f9b45(0x206)][_0x1f9b45(0x1f3)](_0x1ac2bc),_0x587079=new Set(),_0x244bef=new Set();for(const _0x303955 of _0x508e90[_0x1f9b45(0x212)]())if((_0x1f9b45(0x1e2)==_0x303955[_0x1f9b45(0x1f9)]||_0x1f9b45(0x1bf)==_0x303955[_0x1f9b45(0x1f9)]||_0x1f9b45(0x1e5)==_0x303955[_0x1f9b45(0x21c)])&&_0x303955[_0x1f9b45(0x20c)]){for(const _0x1a97b8 of _0x303955[_0x1f9b45(0x1f4)]())_0x1a97b8[_0x1f9b45(0x1cc)](_0x35a208,!0x0)&&_0x587079[_0x1f9b45(0x1d8)](_0x303955[_0x1f9b45(0x1f9)]+':'+_0x303955[_0x1f9b45(0x1f2)]['id']),_0x1a97b8[_0x1f9b45(0x1cc)](_0x5b0122,!0x0)&&_0x244bef[_0x1f9b45(0x1d8)](_0x303955[_0x1f9b45(0x1f9)]+':'+_0x303955[_0x1f9b45(0x1f2)]['id']);}if(_0x587079[_0x1f9b45(0x213)]!=_0x244bef[_0x1f9b45(0x213)])return!0x1;for(const _0x35e5b4 of _0x587079)if(!_0x244bef[_0x1f9b45(0x21b)](_0x35e5b4))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55db26=_0x5f19;function _0x5f19(_0x48ec39,_0x227bd3){const _0x27be50=_0x27be();return _0x5f19=function(_0x5f19e0,_0x3c9e23){_0x5f19e0=_0x5f19e0-0x8e;let _0x4736d1=_0x27be50[_0x5f19e0];return _0x4736d1;},_0x5f19(_0x48ec39,_0x227bd3);}(function(_0x20a69a,_0x1afbb0){const _0x35b350=_0x5f19,_0x596c58=_0x20a69a();while(!![]){try{const _0x268e41=-parseInt(_0x35b350(0x96))/0x1+-parseInt(_0x35b350(0x95))/0x2*(-parseInt(_0x35b350(0xa0))/0x3)+-parseInt(_0x35b350(0xa2))/0x4+-parseInt(_0x35b350(0x94))/0x5*(parseInt(_0x35b350(0x90))/0x6)+parseInt(_0x35b350(0x9e))/0x7+-parseInt(_0x35b350(0x99))/0x8*(-parseInt(_0x35b350(0x97))/0x9)+parseInt(_0x35b350(0x8e))/0xa;if(_0x268e41===_0x1afbb0)break;else _0x596c58['push'](_0x596c58['shift']());}catch(_0x900c0c){_0x596c58['push'](_0x596c58['shift']());}}}(_0x27be,0x30a6f));import{Plugin as _0x5b596c}from'ckeditor5/src/core.js';function _0x27be(){const _0xc8e46d=['locale','2016050zlOEpQ','TrackChangesEditing','6XPdpuT','editor','enableCommand','insertTableOfContents','1199595SLYIBd','2gjKphx','229399QsCXJm','54sivZeM','registerElementLabel','382664twqBkD','ELEMENT_TABLE_OF_CONTENTS','commands','plugins','afterInit','830130qQhcen','tableOfContents','246945JvyAUJ','get','83644hmUWxM','descriptionFactory'];_0x27be=function(){return _0xc8e46d;};return _0x27be();}import{getTranslation as _0x3ac238}from'../utils/common-translations.js';export default class _t extends _0x5b596c{[_0x55db26(0x9d)](){const _0x102b5b=_0x55db26,_0x22f2ed=this[_0x102b5b(0x91)];if(!_0x22f2ed[_0x102b5b(0x9b)][_0x102b5b(0xa1)](_0x102b5b(0x93)))return;_0x22f2ed[_0x102b5b(0x9c)][_0x102b5b(0xa1)](_0x102b5b(0x8f))[_0x102b5b(0x92)](_0x102b5b(0x93));const _0x219f68=_0x22f2ed[_0x102b5b(0x9c)][_0x102b5b(0xa1)](_0x102b5b(0x8f)),_0x1d5874=_0x22f2ed[_0x102b5b(0xa4)];_0x219f68[_0x102b5b(0xa3)][_0x102b5b(0x98)](_0x102b5b(0x9f),_0x3f790a=>_0x3ac238(_0x1d5874,_0x102b5b(0x9a),_0x3f790a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259e01=_0x191c;(function(_0x743dec,_0x46f078){const _0x142f78=_0x191c,_0x3a25a2=_0x743dec();while(!![]){try{const _0x4a2c4a=-parseInt(_0x142f78(0x126))/0x1*(-parseInt(_0x142f78(0x10f))/0x2)+-parseInt(_0x142f78(0x124))/0x3+parseInt(_0x142f78(0x139))/0x4+parseInt(_0x142f78(0x11f))/0x5+-parseInt(_0x142f78(0x10d))/0x6+-parseInt(_0x142f78(0xfb))/0x7+parseInt(_0x142f78(0x145))/0x8*(parseInt(_0x142f78(0x11b))/0x9);if(_0x4a2c4a===_0x46f078)break;else _0x3a25a2['push'](_0x3a25a2['shift']());}catch(_0x453c15){_0x3a25a2['push'](_0x3a25a2['shift']());}}}(_0x3460,0xe9ce8));import{Plugin as _0x47b37e}from'ckeditor5/src/core.js';function _0x191c(_0xc136b7,_0x259ed4){const _0x3460d1=_0x3460();return _0x191c=function(_0x191cc8,_0x6b3a9c){_0x191cc8=_0x191cc8-0xfa;let _0x5cf2d4=_0x3460d1[_0x191cc8];return _0x5cf2d4;},_0x191c(_0xc136b7,_0x259ed4);}function _0x3460(){const _0x52ab02=['table','enableCommand','selection','tableBackgroundColor','removeAttribute','join','getAttribute','tableBorderWidth','tableCellPadding','locale','89688CnOlWN','TablePropertiesEditing','afterInit','12668992vqXOGF','tableCellProperties','tableWidth','TableUtils','subType','*Format:*\x20change\x20table\x20properties','tableBorderColor','getSelectionAffectedTableCells','_suggestionFactory','tableCellBorderWidth','pluginName','plugins','tableCellVerticalAlignment','change','formatBlock','get','editor','findAncestor','7125720lZMtzh','setAttribute','150PcdRRq','document','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderStyle','tableCellHorizontalAlignment','batch','tableHeight','tableCellBorderColor','tableCellWidth','nodeAfter','handleSuggestionDescription','handleDiscardAction','2673MmLACd','commandParams','start','TrackChangesTableProperties','6547380vPLCSb','registerCustomCallback','TableCellPropertiesEditing','_handlePropertyChange','markBlockFormat','4297890irPxnY','TrackChangesEditing','1063wyajZA','getSuggestions','format','tableAlignment','discard','getContainedElement','registerDescriptionCallback','tableProperties','tableCellBackgroundColor','descriptionFactory','getFirstPosition','enqueueChange','tableCellBorderStyle','has','getSuggestionCallback','_getSuggestion','accept','tableCellHeight','data','2675640KuYhlq','model'];_0x3460=function(){return _0x52ab02;};return _0x3460();}import{getTranslation as _0x36729c}from'../utils/common-translations.js';export default class $t extends _0x47b37e{constructor(_0x5c0200){const _0x21f9ff=_0x191c;super(_0x5c0200),this[_0x21f9ff(0x12d)]=[_0x21f9ff(0x101),_0x21f9ff(0x112),_0x21f9ff(0x142),_0x21f9ff(0x129),_0x21f9ff(0xfd),_0x21f9ff(0x115),_0x21f9ff(0x13e)],this[_0x21f9ff(0xfc)]=[_0x21f9ff(0x116),_0x21f9ff(0x132),_0x21f9ff(0x104),_0x21f9ff(0x143),_0x21f9ff(0x117),_0x21f9ff(0x137),_0x21f9ff(0x12e),_0x21f9ff(0x113),_0x21f9ff(0x107)];}static get[_0x259e01(0x105)](){const _0xb8377e=_0x259e01;return _0xb8377e(0x11e);}[_0x259e01(0xfa)](){const _0x5a2f95=_0x259e01,_0x132279=this[_0x5a2f95(0x10b)][_0x5a2f95(0x106)][_0x5a2f95(0x10a)](_0x5a2f95(0x125));if(this[_0x5a2f95(0x10b)][_0x5a2f95(0x106)][_0x5a2f95(0x133)](_0x5a2f95(0x146))){for(const _0x4d4ab4 of this[_0x5a2f95(0x12d)])_0x132279[_0x5a2f95(0x13c)](_0x4d4ab4,(_0x5c9af3,_0x21e77a)=>{const _0x39c64c=_0x5a2f95,_0x1f3491=this[_0x39c64c(0x10b)][_0x39c64c(0x13a)][_0x39c64c(0x110)][_0x39c64c(0x13d)][_0x39c64c(0x130)]()[_0x39c64c(0x10c)](_0x39c64c(0x13b));this[_0x39c64c(0x122)](_0x4d4ab4,[_0x1f3491],this[_0x39c64c(0x12d)],_0x39c64c(0x12d),_0x5c9af3,_0x21e77a);});_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0x12d),_0x5a2f95(0x136),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x134)](_0x5a2f95(0x109),null,_0x5a2f95(0x12a))),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0x12d),_0x5a2f95(0x12a),(_0x3f02f4,_0x46aa2f)=>this[_0x5a2f95(0x11a)](this[_0x5a2f95(0x12d)],_0x3f02f4,_0x46aa2f)),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0x12d),_0x5a2f95(0x140),()=>!0x1);}if(this[_0x5a2f95(0x10b)][_0x5a2f95(0x106)][_0x5a2f95(0x133)](_0x5a2f95(0x121))){for(const _0xa98755 of this[_0x5a2f95(0xfc)])_0x132279[_0x5a2f95(0x13c)](_0xa98755,(_0x186714,_0x17f2c4)=>{const _0x16ef7a=_0x5a2f95,_0x4ff84d=this[_0x16ef7a(0x10b)][_0x16ef7a(0x106)][_0x16ef7a(0x10a)](_0x16ef7a(0xfe))[_0x16ef7a(0x102)](this[_0x16ef7a(0x10b)][_0x16ef7a(0x13a)][_0x16ef7a(0x110)][_0x16ef7a(0x13d)]);this[_0x16ef7a(0x122)](_0xa98755,_0x4ff84d,this[_0x16ef7a(0xfc)],_0x16ef7a(0xfc),_0x186714,_0x17f2c4);});_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0xfc),_0x5a2f95(0x136),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x134)](_0x5a2f95(0x109),null,_0x5a2f95(0x12a))),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0xfc),_0x5a2f95(0x12a),(_0x2eab35,_0x5d8ae7)=>this[_0x5a2f95(0x11a)](this[_0x5a2f95(0xfc)],_0x2eab35,_0x5d8ae7)),_0x132279[_0x5a2f95(0x103)][_0x5a2f95(0x120)](_0x5a2f95(0x109),_0x5a2f95(0xfc),_0x5a2f95(0x140),()=>!0x1);}_0x132279[_0x5a2f95(0x12f)][_0x5a2f95(0x12c)](_0x4fcc14=>this[_0x5a2f95(0x119)](_0x4fcc14));}[_0x259e01(0x122)](_0x483c7f,_0x513397,_0x5e5e5f,_0x3549fa,_0x3cd546,_0x63ed4){const _0x21f869=_0x259e01,_0x39cc5c=this[_0x21f869(0x10b)][_0x21f869(0x106)][_0x21f869(0x10a)](_0x21f869(0x125));this[_0x21f869(0x10b)][_0x21f869(0x13a)][_0x21f869(0x131)](_0x63ed4[_0x21f869(0x114)],()=>{const _0x19aaaf=_0x21f869;for(const _0x17cf81 of _0x513397){if(this[_0x19aaaf(0x135)](_0x17cf81,_0x3549fa))_0x3cd546(_0x63ed4);else{const _0x2eba9f={};for(const _0x95eb40 of _0x5e5e5f){const _0x1baf58=_0x17cf81[_0x19aaaf(0x141)](_0x95eb40);void 0x0!==_0x1baf58&&(_0x2eba9f[_0x95eb40]=_0x1baf58);}_0x3cd546(_0x63ed4),_0x39cc5c[_0x19aaaf(0x123)](_0x17cf81,{'commandParams':[_0x2eba9f]},[],_0x3549fa);}}});}[_0x259e01(0x11a)](_0x5572da,_0xa5e231,_0x550380){const _0x265a82=_0x259e01,_0x413f09=_0xa5e231[0x0][_0x265a82(0x11d)][_0x265a82(0x118)],_0x26a2fe=_0x550380[_0x265a82(0x11c)][0x0];this[_0x265a82(0x10b)][_0x265a82(0x13a)][_0x265a82(0x108)](_0x1d8393=>{const _0x2a2ce5=_0x265a82;for(const _0x39e0a0 of _0x5572da)void 0x0!==_0x26a2fe[_0x39e0a0]?_0x1d8393[_0x2a2ce5(0x10e)](_0x39e0a0,_0x26a2fe[_0x39e0a0],_0x413f09):_0x1d8393[_0x2a2ce5(0x13f)](_0x39e0a0,_0x413f09);});}[_0x259e01(0x119)](_0x2e563e){const _0x3eb2ef=_0x259e01;if(_0x2e563e[_0x3eb2ef(0x138)])switch(_0x2e563e[_0x3eb2ef(0xff)]){case _0x3eb2ef(0x12d):return{'type':_0x3eb2ef(0x128),'content':_0x36729c(this[_0x3eb2ef(0x10b)][_0x3eb2ef(0x144)],_0x3eb2ef(0x100))};case _0x3eb2ef(0xfc):return{'type':_0x3eb2ef(0x128),'content':_0x36729c(this[_0x3eb2ef(0x10b)][_0x3eb2ef(0x144)],_0x3eb2ef(0x111))};}}[_0x259e01(0x135)](_0x483e1b,_0x127068){const _0x4e9da1=_0x259e01,_0x2b341f=this[_0x4e9da1(0x10b)][_0x4e9da1(0x106)][_0x4e9da1(0x10a)](_0x4e9da1(0x125));for(const _0x1e7012 of _0x2b341f[_0x4e9da1(0x127)]({'skipNotAttached':!0x0})){const _0x14a83b=_0x1e7012[_0x4e9da1(0x12b)]();if(_0x1e7012[_0x4e9da1(0xff)]===_0x127068&&_0x14a83b===_0x483e1b)return _0x1e7012;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x18484=_0x45bc;function _0x45bc(_0x3838c9,_0x5c7ccf){const _0x207837=_0x2078();return _0x45bc=function(_0x45bc68,_0x1d7a85){_0x45bc68=_0x45bc68-0x188;let _0x4850a6=_0x207837[_0x45bc68];return _0x4850a6;},_0x45bc(_0x3838c9,_0x5c7ccf);}(function(_0x1ece7f,_0x12911c){const _0x2f8ca9=_0x45bc,_0x228411=_0x1ece7f();while(!![]){try{const _0x2cb3ce=parseInt(_0x2f8ca9(0x193))/0x1+-parseInt(_0x2f8ca9(0x199))/0x2*(parseInt(_0x2f8ca9(0x188))/0x3)+parseInt(_0x2f8ca9(0x18d))/0x4*(parseInt(_0x2f8ca9(0x18c))/0x5)+parseInt(_0x2f8ca9(0x194))/0x6+-parseInt(_0x2f8ca9(0x197))/0x7+-parseInt(_0x2f8ca9(0x198))/0x8+parseInt(_0x2f8ca9(0x195))/0x9;if(_0x2cb3ce===_0x12911c)break;else _0x228411['push'](_0x228411['shift']());}catch(_0x43ba86){_0x228411['push'](_0x228411['shift']());}}}(_0x2078,0x56534));import{Plugin as _0x30e77f}from'ckeditor5/src/core.js';export default class Ct extends _0x30e77f{[_0x18484(0x189)](){const _0x4f9654=_0x18484,_0x3fd045=this[_0x4f9654(0x18e)];_0x3fd045[_0x4f9654(0x191)][_0x4f9654(0x18a)](_0x4f9654(0x192))&&_0x3fd045[_0x4f9654(0x191)][_0x4f9654(0x196)](_0x4f9654(0x190))[_0x4f9654(0x18f)](_0x4f9654(0x18b));}}function _0x2078(){const _0x43d9af=['114987YTPDoZ','277674OGQeCQ','14562315NwjdRT','get','4843888qjOxEf','1133096vRqJSS','101906MfoHNp','39fstRgA','afterInit','has','insertTemplate','5cKESJc','281188rFwtNQ','editor','enableCommand','TrackChangesEditing','plugins','Template'];_0x2078=function(){return _0x43d9af;};return _0x2078();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cce50=_0x42c4;(function(_0x132cb1,_0x304431){const _0x17034a=_0x42c4,_0x46b66a=_0x132cb1();while(!![]){try{const _0x43c4f6=parseInt(_0x17034a(0xc1))/0x1*(parseInt(_0x17034a(0xbf))/0x2)+-parseInt(_0x17034a(0xb5))/0x3+parseInt(_0x17034a(0xc6))/0x4+parseInt(_0x17034a(0xc5))/0x5+parseInt(_0x17034a(0xdb))/0x6*(-parseInt(_0x17034a(0xb6))/0x7)+parseInt(_0x17034a(0xd1))/0x8+parseInt(_0x17034a(0xd2))/0x9*(parseInt(_0x17034a(0xd0))/0xa);if(_0x43c4f6===_0x304431)break;else _0x46b66a['push'](_0x46b66a['shift']());}catch(_0x57acbd){_0x46b66a['push'](_0x46b66a['shift']());}}}(_0x3f68,0x2cb9a));function _0x42c4(_0xfbcffe,_0x53e30a){const _0x3f68da=_0x3f68();return _0x42c4=function(_0x42c47c,_0x7e2792){_0x42c47c=_0x42c47c-0xb5;let _0x3fc42f=_0x3f68da[_0x42c47c];return _0x3fc42f;},_0x42c4(_0xfbcffe,_0x53e30a);}import{Plugin as _0x474e54}from'ckeditor5/src/core.js';import{getTranslation as _0x5c63c7}from'../utils/common-translations.js';function _0x3f68(){const _0x152e1f=['plugins','isTouching','getNearestSelectionRange','ELEMENT_TITLE','6NXdShe','element','isCollapsed','removeMarker','TrackChangesEditing','afterInit','728715YbQmot','1455517chFfWD','differ','get','getChangedMarkers','schema','from','updateMarker','descriptionFactory','end','4kTvTMW','title-content','46764ytGquH','registerPostFixer','locale','model','1440830PckeRQ','512412PWWrUd','Title','createRange','suggestion','start','editor','document','newRange','forward','isEqual','100QxjOuQ','889384mGcRId','11754wUcAnS','has','nodeBefore','_splitMarkerName','registerElementLabel'];_0x3f68=function(){return _0x152e1f;};return _0x3f68();}export default class Dt extends _0x474e54{[_0x5cce50(0xe0)](){const _0x4bb6df=_0x5cce50,_0x11141f=this[_0x4bb6df(0xcb)];if(!_0x11141f[_0x4bb6df(0xd7)][_0x4bb6df(0xd3)](_0x4bb6df(0xc7)))return;const _0x2083cb=_0x11141f[_0x4bb6df(0xd7)][_0x4bb6df(0xb8)](_0x4bb6df(0xdf));_0x2083cb[_0x4bb6df(0xbd)][_0x4bb6df(0xd6)](_0x4bb6df(0xc0),()=>_0x5c63c7(_0x11141f[_0x4bb6df(0xc3)],_0x4bb6df(0xda))),_0x11141f[_0x4bb6df(0xc4)][_0x4bb6df(0xcc)][_0x4bb6df(0xc2)](_0x3c4f2f=>{const _0x5e6f34=_0x4bb6df;let _0x46ec6f=!0x1;const _0x1e16f9=Array[_0x5e6f34(0xbb)](_0x11141f[_0x5e6f34(0xc4)][_0x5e6f34(0xcc)][_0x5e6f34(0xb7)][_0x5e6f34(0xb9)]());for(const {name:_0x5d4598,data:_0x170066}of _0x1e16f9){const {group:_0x10de95}=_0x2083cb[_0x5e6f34(0xd5)](_0x5d4598);if(_0x5e6f34(0xc9)!==_0x10de95||!_0x170066[_0x5e6f34(0xcd)])continue;const _0x3ba896=_0x170066[_0x5e6f34(0xcd)],_0x4c5f17=_0x3ba896[_0x5e6f34(0xbe)][_0x5e6f34(0xd4)];if(!_0x4c5f17||!_0x4c5f17['is'](_0x5e6f34(0xdc),_0x5e6f34(0xc0)))continue;if(!_0x3ba896[_0x5e6f34(0xca)][_0x5e6f34(0xd8)](_0x3ba896[_0x5e6f34(0xbe)]))continue;const _0x540865=_0x11141f[_0x5e6f34(0xc4)][_0x5e6f34(0xba)][_0x5e6f34(0xd9)](_0x3ba896[_0x5e6f34(0xbe)],_0x5e6f34(0xce));if(_0x540865&&_0x540865[_0x5e6f34(0xdd)]){const _0x441b59=_0x3c4f2f[_0x5e6f34(0xc8)](_0x3ba896[_0x5e6f34(0xca)],_0x540865[_0x5e6f34(0xca)]);_0x441b59[_0x5e6f34(0xcf)](_0x3ba896)||(_0x3c4f2f[_0x5e6f34(0xbc)](_0x5d4598,{'range':_0x441b59}),_0x46ec6f=!0x0);}_0x46ec6f||(_0x3c4f2f[_0x5e6f34(0xde)](_0x5d4598),_0x46ec6f=!0x0);}return _0x46ec6f;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xa48f(_0x1ac20f,_0x2f7222){const _0x4ff3b8=_0x4ff3();return _0xa48f=function(_0xa48f70,_0x3381cd){_0xa48f70=_0xa48f70-0x13c;let _0x69936a=_0x4ff3b8[_0xa48f70];return _0x69936a;},_0xa48f(_0x1ac20f,_0x2f7222);}const _0x155448=_0xa48f;(function(_0x423ef9,_0x374352){const _0x22950b=_0xa48f,_0x41f2c5=_0x423ef9();while(!![]){try{const _0x510996=-parseInt(_0x22950b(0x14f))/0x1+-parseInt(_0x22950b(0x148))/0x2+parseInt(_0x22950b(0x13d))/0x3*(parseInt(_0x22950b(0x13f))/0x4)+parseInt(_0x22950b(0x14a))/0x5*(parseInt(_0x22950b(0x147))/0x6)+parseInt(_0x22950b(0x143))/0x7*(-parseInt(_0x22950b(0x144))/0x8)+parseInt(_0x22950b(0x14d))/0x9+-parseInt(_0x22950b(0x150))/0xa*(parseInt(_0x22950b(0x13c))/0xb);if(_0x510996===_0x374352)break;else _0x41f2c5['push'](_0x41f2c5['shift']());}catch(_0x106983){_0x41f2c5['push'](_0x41f2c5['shift']());}}}(_0x4ff3,0x23940));import{Plugin as _0x24522b}from'ckeditor5/src/core.js';function _0x4ff3(){const _0x49f03e=['get','15XBWmMR','redo','TrackChangesEditing','1174572Vmknoh','plugins','11089QQOQWY','10JuDgYu','555797PCGuly','33dlmsul','UndoEditing','93764PAmzei','enableCommand','editor','afterInit','25711malbka','568znvjkx','has','undo','402546MzMmkG','243010hCxJmv'];_0x4ff3=function(){return _0x49f03e;};return _0x4ff3();}export default class Nt extends _0x24522b{[_0x155448(0x142)](){const _0x297917=_0x155448,_0x61894e=this[_0x297917(0x141)],_0x871315=_0x61894e[_0x297917(0x14e)][_0x297917(0x149)](_0x297917(0x14c));_0x61894e[_0x297917(0x14e)][_0x297917(0x145)](_0x297917(0x13e))&&(_0x871315[_0x297917(0x140)](_0x297917(0x146)),_0x871315[_0x297917(0x140)](_0x297917(0x14b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x309f(){const _0x2b14a8=['insert','test','previousPosition','756eZczUY','includes','isAtEnd','item','plugins','28111mAlolv','getCustomProperty','155EhnYRr','18TwqcDH','getWalker','toViewPosition','toViewElement','name','createUIElement','writer','hasAttribute','schema','getItems','addHighlight','get','bindElementToMarker','529656icVDfD','parent','ck-suggestion-marker--active','nextSibling','addClass','elementEnd','921660JkiNsC','TrackChangesEditing','ck-suggestion-marker-','5436gRECRq','type','1533864dTfKJQ','createRangeOn','start','activeMarkers','span','isContent','markerName','model','isBlock','push','isLimit','6568IWAUqs','consumable','mapper','markerRange','110rYDsHj','209364RsPuNX','18FznWfO'];_0x309f=function(){return _0x2b14a8;};return _0x309f();}(function(_0x123b16,_0x8fdd1e){const _0x29e384=_0x47fe,_0x36fcb6=_0x123b16();while(!![]){try{const _0x3925e9=parseInt(_0x29e384(0x98))/0x1*(-parseInt(_0x29e384(0x8f))/0x2)+-parseInt(_0x29e384(0xa8))/0x3+-parseInt(_0x29e384(0xb1))/0x4*(-parseInt(_0x29e384(0x9a))/0x5)+parseInt(_0x29e384(0xb3))/0x6+parseInt(_0x29e384(0x93))/0x7*(-parseInt(_0x29e384(0x89))/0x8)+-parseInt(_0x29e384(0x9b))/0x9*(-parseInt(_0x29e384(0xae))/0xa)+parseInt(_0x29e384(0x8d))/0xb*(parseInt(_0x29e384(0x8e))/0xc);if(_0x3925e9===_0x8fdd1e)break;else _0x36fcb6['push'](_0x36fcb6['shift']());}catch(_0x30355b){_0x36fcb6['push'](_0x36fcb6['shift']());}}}(_0x309f,0x21c74));export function getRangesWithAttribute(_0xb71eb4,_0x3d440c,_0x5b39e0){const _0x15c96b=_0x47fe,_0x322940=[];for(const _0x2aa882 of _0x3d440c[_0x15c96b(0xa4)]())_0x2aa882[_0x15c96b(0xa2)](_0xb71eb4)&&_0x322940[_0x15c96b(0x87)](_0x5b39e0[_0x15c96b(0xb4)](_0x2aa882));return _0x322940;}function _0x47fe(_0x1b54f2,_0x4da0f9){const _0x309f61=_0x309f();return _0x47fe=function(_0x47fe77,_0x43a36b){_0x47fe77=_0x47fe77-0x82;let _0xfd191c=_0x309f61[_0x47fe77];return _0xfd191c;},_0x47fe(_0x1b54f2,_0x4da0f9);}export function downcastSplitMergeMarker(_0x4f96a2,_0x436296,{showActiveMarker:_0x483857=!0x0}={}){const _0x514932=_0x47fe,_0x55c0b1=_0x4f96a2[_0x514932(0x97)][_0x514932(0xa6)](_0x514932(0xaf));return(_0x3d1259,_0x5df41d,_0x49b870)=>{const _0x3dcd46=_0x514932;if(!_0x49b870[_0x3dcd46(0x8a)][_0x3dcd46(0x91)](_0x5df41d[_0x3dcd46(0x8c)],_0x3d1259[_0x3dcd46(0x9f)]))return;const _0x36fc9a=_0x5df41d[_0x3dcd46(0x8c)][_0x3dcd46(0x9c)](),_0x437f82=_0x5df41d[_0x3dcd46(0x8c)][_0x3dcd46(0xb5)],_0x28aa75=_0x4f96a2[_0x3dcd46(0x85)][_0x3dcd46(0xa3)];let _0x2d8294=null,_0x1350f5=null,_0xea1863=!0x1,_0x184d39=!0x1;for(const _0x29c89b of _0x36fc9a){const _0x4fa27b=_0x29c89b[_0x3dcd46(0x96)];_0xea1863=_0xea1863||_0x28aa75[_0x3dcd46(0x83)](_0x4fa27b);const _0xdc0a51=_0x49b870[_0x3dcd46(0x8b)][_0x3dcd46(0x9e)](_0x4fa27b);if(_0xdc0a51&&_0xdc0a51[_0x3dcd46(0x99)](_0x3dcd46(0xa5)))return;_0x3dcd46(0xad)==_0x29c89b[_0x3dcd46(0xb2)]&&(_0x28aa75[_0x3dcd46(0x86)](_0x4fa27b)&&!_0x28aa75[_0x3dcd46(0x88)](_0x4fa27b)&&(_0x4fa27b[_0x3dcd46(0xab)]||_0x437f82[_0x3dcd46(0x95)]?_0x2d8294&&_0x2d8294[_0x3dcd46(0xa9)]==_0x4fa27b||(_0x2d8294=_0x4fa27b,_0xd52f08(_0x29c89b[_0x3dcd46(0x92)]),_0x184d39=!0x0):_0x1350f5=_0x1350f5||_0x29c89b[_0x3dcd46(0x92)]));}function _0xd52f08(_0x581a2b){const _0x39b7ce=_0x3dcd46,_0x623080=_0x49b870[_0x39b7ce(0xa1)][_0x39b7ce(0xa0)](_0x39b7ce(0x82),{'class':_0x39b7ce(0xb0)+_0x436296}),_0x4e0aba=_0x49b870[_0x39b7ce(0x8b)][_0x39b7ce(0x9d)](_0x581a2b);_0x483857&&_0x55c0b1[_0x39b7ce(0xb6)][_0x39b7ce(0x94)](_0x5df41d[_0x39b7ce(0x84)])&&_0x49b870[_0x39b7ce(0xa1)][_0x39b7ce(0xac)](_0x39b7ce(0xaa),_0x623080),_0x49b870[_0x39b7ce(0xa1)][_0x39b7ce(0x90)](_0x4e0aba,_0x623080),_0x49b870[_0x39b7ce(0x8b)][_0x39b7ce(0xa7)](_0x623080,_0x5df41d[_0x39b7ce(0x84)]);}_0xea1863||_0x184d39||!_0x1350f5||_0xd52f08(_0x1350f5);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5f46(_0x39b6af,_0x10049c){const _0x1f8ed7=_0x1f8e();return _0x5f46=function(_0x5f46c4,_0x1ae69b){_0x5f46c4=_0x5f46c4-0xf9;let _0x2569fa=_0x1f8ed7[_0x5f46c4];return _0x2569fa;},_0x5f46(_0x39b6af,_0x10049c);}const _0x555540=_0x5f46;(function(_0x707c8e,_0x4c85d4){const _0x281eb7=_0x5f46,_0x43f4a8=_0x707c8e();while(!![]){try{const _0x402a67=parseInt(_0x281eb7(0x12f))/0x1*(-parseInt(_0x281eb7(0x143))/0x2)+parseInt(_0x281eb7(0x124))/0x3+parseInt(_0x281eb7(0x142))/0x4+parseInt(_0x281eb7(0x101))/0x5+-parseInt(_0x281eb7(0x111))/0x6+parseInt(_0x281eb7(0x10c))/0x7*(parseInt(_0x281eb7(0x145))/0x8)+parseInt(_0x281eb7(0x13b))/0x9*(-parseInt(_0x281eb7(0x117))/0xa);if(_0x402a67===_0x4c85d4)break;else _0x43f4a8['push'](_0x43f4a8['shift']());}catch(_0x48241f){_0x43f4a8['push'](_0x43f4a8['shift']());}}}(_0x1f8e,0x72ccb));function _0x1f8e(){const _0x15374f=['authoredAt','add','data','getMultiRangeId','36kGFFmy','clear','onDiscard','creator','onAttributesChange','removeMarker','getRange','3480568wgNPaX','2VwWIzT','_model','13672zfNpPr','substr','addMarker','subType','map','getContainedElement','change','getMarkerNames','isMultiRange','onAccept','getFirstMarker','markers','isInContent','1623985lrlTig','getItems','discard','accept','_saved','author','nodeAfter','removeAttribute','commentThread','length','createdAt','126HmtgBy','_isDataLoaded','setAttribute','from','removeMarkers','2639040IcZkTt','set','addMarkerName','_onAttributesChange','toJSON','start','222060HrrkeM','suggestion:','nodeBefore','addRange','type','_onAccept','reduce','hasComments','isIntersectingWithRange','isIntersecting','@external','attributes','delete','1957668sBoKsH','isExternal','end','split','decorate','_markerNames','next','size','head','push','previous','879374LLMtQo','filter','getAllAdjacentSuggestions','_onDiscard','getMarkers','get','getRanges','getFirstRange'];_0x1f8e=function(){return _0x15374f;};return _0x1f8e();}import{Element as _0x52b972}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x2a7102,uid as _0x5ad85b}from'ckeditor5/src/utils.js';import{cloneDeep as _0xfefa60,isEqual as _0x21d35f,set as _0x3da350,unset as _0x1ddcc6}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a7102(){constructor(_0x106b80,_0x3db4f1){const _0x7008b9=_0x5f46;super(),this[_0x7008b9(0x10d)]=!0x1,this['id']=_0x3db4f1['id'],this[_0x7008b9(0x11b)]=_0x3db4f1[_0x7008b9(0x11b)],this[_0x7008b9(0x148)]=_0x3db4f1[_0x7008b9(0x148)]||null,this[_0x7008b9(0x106)]=_0x3db4f1[_0x7008b9(0x106)],this[_0x7008b9(0x13e)]=_0x3db4f1[_0x7008b9(0x13e)]||_0x3db4f1[_0x7008b9(0x106)],this[_0x7008b9(0x125)]=Boolean(_0x3db4f1[_0x7008b9(0x122)]&&_0x3db4f1[_0x7008b9(0x122)][_0x7008b9(0x121)]),this[_0x7008b9(0x139)]=null,this[_0x7008b9(0x144)]=_0x106b80,this[_0x7008b9(0x11c)]=_0x3db4f1[_0x7008b9(0xfd)],this[_0x7008b9(0x132)]=_0x3db4f1[_0x7008b9(0x13d)],this[_0x7008b9(0x114)]=_0x3db4f1[_0x7008b9(0x13f)],this[_0x7008b9(0x129)]=new Set(),this[_0x7008b9(0x10b)]=null,this[_0x7008b9(0x112)](_0x7008b9(0x137),null),this[_0x7008b9(0x112)](_0x7008b9(0x122),_0x3db4f1[_0x7008b9(0x122)]||{}),this[_0x7008b9(0x112)](_0x7008b9(0x12e),null),this[_0x7008b9(0x112)](_0x7008b9(0x12a),null),this[_0x7008b9(0x112)](_0x7008b9(0x109),null),this[_0x7008b9(0x112)](_0x7008b9(0x105),!0x1),this[_0x7008b9(0x128)](_0x7008b9(0x104)),this[_0x7008b9(0x128)](_0x7008b9(0x103));}get[_0x555540(0x12c)](){const _0x11a1e0=_0x555540;let _0x131324=this;for(;_0x131324[_0x11a1e0(0x12e)];)_0x131324=_0x131324[_0x11a1e0(0x12e)];return _0x131324;}get[_0x555540(0x11e)](){const _0x26b98f=_0x555540;return!!this[_0x26b98f(0x109)]&&this[_0x26b98f(0x109)][_0x26b98f(0x10a)]>0x0;}get[_0x555540(0xfc)](){const _0x311fb4=_0x555540;if(0x0==this[_0x311fb4(0x129)][_0x311fb4(0x12b)])return!0x1;return 0x6==Array[_0x311fb4(0x10f)](this[_0x311fb4(0x129)])[0x0][_0x311fb4(0x127)](':')[_0x311fb4(0x10a)];}get[_0x555540(0x100)](){const _0x5718b2=_0x555540;return null!==this[_0x5718b2(0xfe)]();}[_0x555540(0x113)](_0xf8b57d){const _0x208e7f=_0x555540;this[_0x208e7f(0x129)][_0x208e7f(0x138)](_0xf8b57d);}[_0x555540(0xfb)](){const _0x3fc416=_0x555540;return Array[_0x3fc416(0x10f)](this[_0x3fc416(0x129)]);}[_0x555540(0x133)](){const _0x3bc79e=_0x555540;return this[_0x3bc79e(0xfb)]()[_0x3bc79e(0x149)](_0x8f0243=>this[_0x3bc79e(0x144)][_0x3bc79e(0xff)][_0x3bc79e(0x134)](_0x8f0243))[_0x3bc79e(0x130)](_0x1fc5f1=>_0x1fc5f1);}[_0x555540(0xfe)](){const _0x3ec13e=_0x555540;return this[_0x3ec13e(0x133)]()[0x0]||null;}[_0x555540(0x110)](){const _0x5a2701=_0x555540;this[_0x5a2701(0x144)][_0x5a2701(0xfa)](_0x28f9dd=>{const _0x4b3c6d=_0x5a2701;for(const _0x587c28 of this[_0x4b3c6d(0x133)]())_0x28f9dd[_0x4b3c6d(0x140)](_0x587c28);}),this[_0x5a2701(0x129)][_0x5a2701(0x13c)]();}[_0x555540(0x140)](_0xfba6f6){const _0xe550e7=_0x555540;this[_0xe550e7(0x144)][_0xe550e7(0xfa)](_0x520e14=>{const _0xbf2dd7=_0xe550e7;_0x520e14[_0xbf2dd7(0x140)](_0xfba6f6);}),this[_0xe550e7(0x129)][_0xe550e7(0x123)](_0xfba6f6);}[_0x555540(0x11a)](_0x354a30){const _0x5a85c9=_0x555540,_0x448e2f=_0x5a85c9(0x118)+this[_0x5a85c9(0x11b)]+':'+this[_0x5a85c9(0x148)]+':'+this['id']+':'+this[_0x5a85c9(0x13e)]['id']+':'+u[_0x5a85c9(0x13a)]();this[_0x5a85c9(0x113)](_0x448e2f),this[_0x5a85c9(0x144)][_0x5a85c9(0xfa)](_0x39cf87=>{const _0x17d457=_0x5a85c9;_0x39cf87[_0x17d457(0x147)](_0x448e2f,{'range':_0x354a30,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x555540(0x11f)](_0x584960){const _0x19c2fd=_0x555540;for(const _0x42e7d8 of this[_0x19c2fd(0x135)]())if(_0x42e7d8[_0x19c2fd(0x120)](_0x584960))return!0x0;return!0x1;}[_0x555540(0x135)](){const _0x1b129f=_0x555540;return this[_0x1b129f(0x133)]()[_0x1b129f(0x149)](_0x3cb4e1=>_0x3cb4e1[_0x1b129f(0x141)]());}[_0x555540(0x102)](){const _0x2160f4=_0x555540;return this[_0x2160f4(0x135)]()[_0x2160f4(0x11d)]((_0x1984cc,_0x13ebf4)=>[..._0x1984cc,..._0x13ebf4[_0x2160f4(0x102)]()],[]);}[_0x555540(0x136)](){const _0x810f99=_0x555540;var _0x14ba10;return(null===(_0x14ba10=this[_0x810f99(0xfe)]())||void 0x0===_0x14ba10?void 0x0:_0x14ba10[_0x810f99(0x141)]())||null;}[_0x555540(0xf9)](){const _0x6b6ba3=_0x555540,_0x2ffb8f=this[_0x6b6ba3(0x135)]();if(0x1!=_0x2ffb8f[_0x6b6ba3(0x10a)])return null;const _0x3641ba=_0x2ffb8f[0x0],_0x3fa9af=_0x3641ba[_0x6b6ba3(0x116)][_0x6b6ba3(0x107)],_0x41cbdc=_0x3641ba[_0x6b6ba3(0x126)][_0x6b6ba3(0x119)];return _0x3fa9af instanceof _0x52b972?_0x3fa9af!=_0x41cbdc?null:_0x3fa9af:null;}[_0x555540(0x104)](){const _0x54feea=_0x555540;this[_0x54feea(0x11c)](this[_0x54feea(0x135)](),this[_0x54feea(0x139)],this[_0x54feea(0x122)]),this[_0x54feea(0x110)]();}[_0x555540(0x103)](){const _0x3340ec=_0x555540;this[_0x3340ec(0x132)](this[_0x3340ec(0x135)](),this[_0x3340ec(0x139)],this[_0x3340ec(0x122)]),this[_0x3340ec(0x110)]();}[_0x555540(0x131)](){const _0x418889=_0x555540,_0x552a26=[];let _0x1d19a0=this[_0x418889(0x12c)];for(;_0x1d19a0;)_0x552a26[_0x418889(0x12d)](_0x1d19a0),_0x1d19a0=_0x1d19a0[_0x418889(0x12a)];return _0x552a26;}[_0x555540(0x10e)](_0x1c7f92,_0x583dc4){const _0xd406aa=_0x555540,_0x53a787=_0xfefa60(this[_0xd406aa(0x122)]);_0x3da350(_0x53a787,_0x1c7f92,_0x583dc4),_0x21d35f(_0x53a787,this[_0xd406aa(0x122)])||(this[_0xd406aa(0x122)]=_0x53a787,this[_0xd406aa(0x114)](_0x53a787));}[_0x555540(0x108)](_0x1e7968){const _0x3d3b39=_0x555540,_0x20fe00=_0xfefa60(this[_0x3d3b39(0x122)]);_0x1ddcc6(_0x20fe00,_0x1e7968),_0x21d35f(_0x20fe00,this[_0x3d3b39(0x122)])||(this[_0x3d3b39(0x122)]=_0x20fe00,this[_0x3d3b39(0x114)](this[_0x3d3b39(0x122)]));}[_0x555540(0x115)](){const _0x1d1336=_0x555540;return{'id':this['id'],'type':this[_0x1d1336(0x148)]?this[_0x1d1336(0x11b)]+':'+this[_0x1d1336(0x148)]:this[_0x1d1336(0x11b)],'authorId':this[_0x1d1336(0x13e)]['id'],'createdAt':this[_0x1d1336(0x10b)],'hasComments':this[_0x1d1336(0x11e)],'data':this[_0x1d1336(0x139)],'attributes':this[_0x1d1336(0x122)]};}static[_0x555540(0x13a)](){const _0x3555a2=_0x555540;return _0x5ad85b()[_0x3555a2(0x146)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4ee2(_0x570d3c,_0x92211a){const _0x1b20f9=_0x1b20();return _0x4ee2=function(_0x4ee2d9,_0x3f7be9){_0x4ee2d9=_0x4ee2d9-0x1f3;let _0x19b01e=_0x1b20f9[_0x4ee2d9];return _0x19b01e;},_0x4ee2(_0x570d3c,_0x92211a);}const _0x1f92e5=_0x4ee2;(function(_0x2801a8,_0x430549){const _0x2045ca=_0x4ee2,_0x11815d=_0x2801a8();while(!![]){try{const _0x5367d2=parseInt(_0x2045ca(0x20f))/0x1*(-parseInt(_0x2045ca(0x24b))/0x2)+-parseInt(_0x2045ca(0x1f4))/0x3+parseInt(_0x2045ca(0x23f))/0x4*(-parseInt(_0x2045ca(0x223))/0x5)+-parseInt(_0x2045ca(0x231))/0x6*(parseInt(_0x2045ca(0x1ff))/0x7)+parseInt(_0x2045ca(0x227))/0x8*(-parseInt(_0x2045ca(0x204))/0x9)+parseInt(_0x2045ca(0x1fd))/0xa+parseInt(_0x2045ca(0x234))/0xb*(parseInt(_0x2045ca(0x205))/0xc);if(_0x5367d2===_0x430549)break;else _0x11815d['push'](_0x11815d['shift']());}catch(_0x4e53c8){_0x11815d['push'](_0x11815d['shift']());}}}(_0x1b20,0xe7aa1));import{getTranslation as _0x1ff5ae}from'./utils/common-translations.js';import{priorities as _0x3efd7a,insertToPriorityArray as _0x572bb0}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x1514bb}from'./trackchangesediting.js';export default class f{constructor(_0xab4622,_0x1fbd41){const _0x58a8c4=_0x4ee2;this[_0x58a8c4(0x23e)]=[],this[_0x58a8c4(0x23c)]=new Map(),this[_0x58a8c4(0x211)]=[],this[_0x58a8c4(0x212)]=new Map(),this[_0x58a8c4(0x254)]=_0xab4622,this[_0x58a8c4(0x1fe)]=_0x1fbd41;}[_0x1f92e5(0x1f8)](_0x13b6ed){const _0x42954b=_0x1f92e5,_0x43b6f0=[],_0x58105a=new Set(),_0x3b308a=new Set();for(let _0x413891=0x0;_0x413891<_0x13b6ed[_0x42954b(0x241)];_0x413891++){const _0x24990d=_0x13b6ed[_0x413891];if(!_0x24990d[_0x42954b(0x229)])continue;const _0x14564d=this[_0x42954b(0x22a)](_0x24990d);if(_0x14564d){if(null!=_0x24990d[_0x42954b(0x222)]){if(_0x58105a[_0x42954b(0x1f5)](_0x24990d[_0x42954b(0x222)]))continue;_0x58105a[_0x42954b(0x240)](_0x24990d[_0x42954b(0x222)]);}_0x43b6f0[_0x42954b(0x1f9)](_0x14564d);}else{if(_0x42954b(0x233)!=_0x24990d[_0x42954b(0x244)])_0x42954b(0x236)!=_0x24990d[_0x42954b(0x244)]&&_0x42954b(0x20c)!=_0x24990d[_0x42954b(0x244)]||this[_0x42954b(0x255)](_0x43b6f0,_0x24990d,_0x13b6ed[_0x413891+0x1]);else{const _0x49405a=_0x24990d[_0x42954b(0x21f)][_0x42954b(0x22f)];if(_0x3b308a[_0x42954b(0x1f5)](_0x49405a))continue;_0x3b308a[_0x42954b(0x240)](_0x24990d[_0x42954b(0x21f)][_0x42954b(0x22f)]),_0x49405a==_0x1514bb?this[_0x42954b(0x213)](_0x43b6f0,_0x24990d):this[_0x42954b(0x20d)](_0x43b6f0,_0x24990d);}}}return this[_0x42954b(0x220)](_0x43b6f0);}[_0x1f92e5(0x242)](_0x2ebfef){const _0x4353f6=_0x1f92e5;this[_0x4353f6(0x23e)][_0x4353f6(0x1f9)](_0x2ebfef);}[_0x1f92e5(0x20e)](_0x1440ee,_0x488eeb,_0x2f938b=_0x3efd7a[_0x1f92e5(0x208)]){const _0x4bd5ec=_0x1f92e5;_0x4bd5ec(0x23d)==typeof _0x1440ee?_0x572bb0(this[_0x4bd5ec(0x211)],{'matchingCallback':_0x1440ee,'label':_0x488eeb,'priority':_0x2f938b}):this[_0x4bd5ec(0x23c)][_0x4bd5ec(0x228)](_0x1440ee,_0x488eeb);}[_0x1f92e5(0x24a)](_0x584229,_0x364e35){const _0xa09ac2=_0x1f92e5;this[_0xa09ac2(0x212)][_0xa09ac2(0x228)](_0x584229,_0x364e35);}[_0x1f92e5(0x206)](_0x458aec,_0x16b0cf=0x1){const _0x3689bc=_0x1f92e5;let _0x56b71f;for(const _0x70a26e of this[_0x3689bc(0x211)])if(_0x70a26e[_0x3689bc(0x232)](_0x458aec)){_0x56b71f=_0x70a26e[_0x3689bc(0x22c)];break;}return _0x56b71f||(_0x56b71f=this[_0x3689bc(0x23c)][_0x3689bc(0x24f)](_0x458aec[_0x3689bc(0x215)])),_0x56b71f?_0x56b71f(_0x16b0cf):0x1!==_0x16b0cf?_0x16b0cf+'\x20'+_0x458aec[_0x3689bc(0x215)]+'s':''+_0x458aec[_0x3689bc(0x215)];}[_0x1f92e5(0x23a)](_0x45073d,_0x3ba455){const _0x2aca3b=_0x1f92e5,_0x56e061=_0x3ba455[_0x2aca3b(0x21e)]()[_0x2aca3b(0x218)](),_0x250a38=_0x2aca3b(0x236)==_0x3ba455[_0x2aca3b(0x244)]?_0x2aca3b(0x240):_0x2aca3b(0x21d);for(const _0x1e16a3 of _0x56e061){const _0x1c270c=_0x1e16a3[_0x2aca3b(0x221)],_0x181eaa=_0x45073d[_0x45073d[_0x2aca3b(0x241)]-0x1];if(_0x1c270c['is'](_0x2aca3b(0x245)))_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))>-0x1&&_0x45073d[_0x2aca3b(0x1f3)](),_0x181eaa&&_0x2aca3b(0x224)==_0x181eaa[_0x2aca3b(0x244)]?_0x181eaa[_0x250a38]+=_0x1c270c[_0x2aca3b(0x21f)]:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x2aca3b(0x224),'add':_0x2aca3b(0x240)==_0x250a38?_0x1c270c[_0x2aca3b(0x21f)]:'','remove':_0x2aca3b(0x21d)==_0x250a38?_0x1c270c[_0x2aca3b(0x21f)]:''});else{if(this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x1c270c)){const _0x16a38b=_0x1c270c;if(_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))>-0x1&&_0x45073d[_0x2aca3b(0x1f3)](),_0x2aca3b(0x24d)==_0x1e16a3[_0x2aca3b(0x244)])continue;_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)]==_0x250a38+_0x2aca3b(0x247)&&_0x181eaa[_0x2aca3b(0x1fb)][_0x2aca3b(0x215)]==_0x16a38b[_0x2aca3b(0x215)]?_0x181eaa[_0x2aca3b(0x24c)]++:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x247),'element':_0x16a38b,'quantity':0x1}),_0x56e061[_0x2aca3b(0x1fa)](_0x21a474=>!(_0x2aca3b(0x24d)==_0x21a474[_0x2aca3b(0x244)]&&_0x21a474[_0x2aca3b(0x221)]==_0x1c270c));}else{if(this[_0x2aca3b(0x254)][_0x2aca3b(0x23b)](_0x1c270c,_0x2aca3b(0x20a))||_0x1c270c['is'](_0x2aca3b(0x1fb),_0x2aca3b(0x210))){const _0x3f09ef=_0x1c270c;if(_0x2aca3b(0x240)==_0x250a38&&_0x2aca3b(0x201)==_0x1e16a3[_0x2aca3b(0x244)]||_0x2aca3b(0x21d)==_0x250a38&&_0x2aca3b(0x24d)==_0x1e16a3[_0x2aca3b(0x244)])continue;if(_0x181eaa&&-0x1==_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))){_0x2aca3b(0x224)==_0x181eaa[_0x2aca3b(0x244)]&&(_0x181eaa[_0x250a38]+='\x0a');continue;}let _0x18878e;if(_0x18878e=_0x2aca3b(0x240)==_0x250a38?_0x3f09ef[_0x2aca3b(0x22b)]&&!this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x3f09ef[_0x2aca3b(0x22b)])?_0x3f09ef[_0x2aca3b(0x22b)]:null:_0x3f09ef[_0x2aca3b(0x207)]&&!this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x3f09ef[_0x2aca3b(0x207)])?_0x3f09ef[_0x2aca3b(0x207)]:null,_0x3f09ef[_0x2aca3b(0x246)]||_0x18878e&&_0x18878e[_0x2aca3b(0x246)]){const _0x2d8e0a=_0x18878e&&_0x18878e[_0x2aca3b(0x246)]?_0x18878e:_0x3f09ef;_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)]==_0x250a38+_0x2aca3b(0x202)&&_0x181eaa[_0x2aca3b(0x1fb)][_0x2aca3b(0x215)]==_0x2d8e0a[_0x2aca3b(0x215)]?_0x181eaa[_0x2aca3b(0x24c)]++:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x202),'element':_0x2d8e0a,'quantity':0x1});}else _0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x21c),'element':_0x3f09ef});}}}}}[_0x1f92e5(0x220)](_0x27df39){const _0x24ced5=_0x1f92e5,_0x270ce4=this[_0x24ced5(0x1fe)],_0x301957=[],_0xb70eb=[],_0x2f6ae2=[];for(const _0x1b1084 of _0x27df39)switch(_0x1b1084[_0x24ced5(0x244)]){case _0x24ced5(0x224):if(_0x1b1084[_0x24ced5(0x240)]=_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x200)](/(\S)\u000A+(\S)/g,_0x24ced5(0x239))[_0x24ced5(0x200)](/\u000A/g,''),_0x1b1084[_0x24ced5(0x21d)]=_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x200)](/(\S)\u000A+(\S)/g,_0x24ced5(0x239))[_0x24ced5(0x200)](/\u000A/g,''),''!=_0x1b1084[_0x24ced5(0x240)]&&''!=_0x1b1084[_0x24ced5(0x21d)]){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x200),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x235),['\x22'+_0x1b1084[_0x24ced5(0x21d)]+'\x22','\x22'+_0x1b1084[_0x24ced5(0x240)]+'\x22'])});continue;}if(null!=_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x226)](/^ +$/)){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),_0x1ff5ae(_0x270ce4,_0x24ced5(0x248),_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x241)]))});continue;}if(null!=_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x226)](/^ +$/)){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),_0x1ff5ae(_0x270ce4,_0x24ced5(0x248),_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x241)]))});continue;}if(''!=_0x1b1084[_0x24ced5(0x240)]){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),'\x22'+_0x1b1084[_0x24ced5(0x240)]+'\x22')});continue;}_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),'\x22'+_0x1b1084[_0x24ced5(0x21d)]+'\x22')});continue;case _0x24ced5(0x24e):case _0x24ced5(0x225):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x219):case _0x24ced5(0x237):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x230):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x253),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x21b):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x20b),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x214):_0xb70eb[_0x24ced5(0x1f9)](_0x1b1084[_0x24ced5(0x22f)]);continue;case _0x24ced5(0x21a):_0x2f6ae2[_0x24ced5(0x1f9)](_0x1b1084[_0x24ced5(0x22f)]);continue;default:_0x301957[_0x24ced5(0x1f9)](_0x1b1084);}if(_0xb70eb[_0x24ced5(0x241)]){const _0x22562c=_0xb70eb[_0x24ced5(0x251)](_0x2faa02=>this[_0x24ced5(0x212)][_0x24ced5(0x1f5)](_0x2faa02)?this[_0x24ced5(0x212)][_0x24ced5(0x24f)](_0x2faa02):_0x2faa02)[_0x24ced5(0x209)](',\x20');_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x217),'content':_0x1ff5ae(this[_0x24ced5(0x1fe)],_0x24ced5(0x1f7),_0x22562c)});}if(_0x2f6ae2[_0x24ced5(0x241)]){const _0x419c2b=_0x2f6ae2[_0x24ced5(0x251)](_0x1367e6=>this[_0x24ced5(0x212)][_0x24ced5(0x1f5)](_0x1367e6)?this[_0x24ced5(0x212)][_0x24ced5(0x24f)](_0x1367e6):_0x1367e6)[_0x24ced5(0x209)](',\x20');_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x217),'content':_0x1ff5ae(this[_0x24ced5(0x1fe)],_0x24ced5(0x252),_0x419c2b)});}return _0x301957;}[_0x1f92e5(0x22a)](_0x432f45){const _0x59a782=_0x1f92e5;for(const _0x454a17 of this[_0x59a782(0x23e)]){const _0x511778=_0x454a17(_0x432f45);if(_0x511778&&_0x59a782(0x244)in _0x511778)return _0x511778;}}[_0x1f92e5(0x20d)](_0x4b23f3,_0x3bc5d1){const _0x5f2744=_0x1f92e5,_0x5b9a35=_0x3bc5d1[_0x5f2744(0x21f)],_0x554e28=void 0x0===_0x5b9a35[_0x5f2744(0x216)]?_0x5f2744(0x21a):_0x5f2744(0x214);_0x4b23f3[_0x5f2744(0x1f9)]({'type':_0x554e28,'key':_0x5b9a35[_0x5f2744(0x22f)]});}[_0x1f92e5(0x213)](_0x1f5337,_0x42b754){const _0x647c2a=_0x1f92e5;_0x1f5337[_0x647c2a(0x1f9)]({'type':_0x647c2a(0x217),'content':_0x1ff5ae(this[_0x647c2a(0x1fe)],_0x647c2a(0x22e),this[_0x647c2a(0x206)](_0x42b754[_0x647c2a(0x21e)]()[_0x647c2a(0x249)][_0x647c2a(0x243)],0x1))});}[_0x1f92e5(0x255)](_0x483697,_0x201ea9,_0x43510b){const _0x2c1965=_0x1f92e5;if(this[_0x2c1965(0x23a)](_0x483697,_0x201ea9),_0x43510b&&_0x43510b[_0x2c1965(0x21e)]()&&!_0x201ea9[_0x2c1965(0x21e)]()[_0x2c1965(0x238)][_0x2c1965(0x1f6)](_0x43510b[_0x2c1965(0x21e)]()[_0x2c1965(0x249)])){const _0x1dc1f4=_0x483697[_0x483697[_0x2c1965(0x241)]-0x1],_0x4b7ece=_0x2c1965(0x236)==_0x201ea9[_0x2c1965(0x244)]?_0x2c1965(0x240):_0x2c1965(0x21d);_0x1dc1f4&&_0x2c1965(0x224)==_0x1dc1f4[_0x2c1965(0x244)]&&(_0x1dc1f4[_0x4b7ece]+='\x0a');}}}function _0x1b20(){const _0x12e092=['has','isEqual','*Set\x20format:*\x20%0','getDescriptions','push','skip','element','*Remove:*\x20%0','17071120EVrkev','_locale','252jEbgTW','replace','elementStart','EmptyContainer','*Insert:*\x20%0','3077586CJdEFx','120WMWOHn','getItemLabel','previousSibling','normal','join','$text','*Merge:*\x20%0','deletion','_handleAttributeSuggestionDescription','registerElementLabel','2230wiFSDI','softBreak','_itemLabelsCallbacks','_attributeLabels','_handleRenameSuggestionDescription','addFormat','name','newValue','format','getWalker','removeEmptyContainer','removeFormat','removeContainer','Container','remove','getFirstRange','data','_resolveDescriptionItems','item','subType','10ByqiaQ','text','addObject','match','16uZtRWJ','set','isInContent','_handleCustomCallbackDescription','nextSibling','label','isObject','*Change\x20to:*\x20%0','key','addContainer','81432nQkgkv','matchingCallback','attribute','4088524PUKytw','REPLACE_TEXT','insertion','removeObject','end','$1\x20$2','_addDescriptionItems','checkChild','_itemLabels','function','_customCallbacks','2841016kZBWbj','add','length','registerDescriptionCallback','nodeAfter','type','$textProxy','isEmpty','Object','ELEMENT_SPACE','start','registerAttributeLabel','890CxvTwv','quantity','elementEnd','addEmptyContainer','get','indexOf','map','*Remove\x20format:*\x20%0','*Split:*\x20%0','_schema','_handleInsertRemoveSuggestionDescription','pop','2669091iHrJns'];_0x1b20=function(){return _0x12e092;};return _0x1b20();}
|
|
23
|
+
const _0x4fe3cb=_0x165b;(function(_0x217b51,_0x5d3676){const _0x13329f=_0x165b,_0x14a633=_0x217b51();while(!![]){try{const _0x3b3312=-parseInt(_0x13329f(0xd5))/0x1+parseInt(_0x13329f(0xdf))/0x2*(parseInt(_0x13329f(0x114))/0x3)+-parseInt(_0x13329f(0x10d))/0x4+-parseInt(_0x13329f(0xf7))/0x5*(-parseInt(_0x13329f(0xe0))/0x6)+parseInt(_0x13329f(0x110))/0x7*(-parseInt(_0x13329f(0x10b))/0x8)+-parseInt(_0x13329f(0xd9))/0x9*(-parseInt(_0x13329f(0xe9))/0xa)+parseInt(_0x13329f(0x112))/0xb;if(_0x3b3312===_0x5d3676)break;else _0x14a633['push'](_0x14a633['shift']());}catch(_0x5dd8b3){_0x14a633['push'](_0x14a633['shift']());}}}(_0x5da8,0x521a3));function _0x5da8(){const _0x597e6e=['nodeAfter','_customCallbacks','registerElementLabel','start','set','format','join','previousSibling','ELEMENT_SPACE','_itemLabels','removeObject','elementEnd','function','remove','getWalker','addObject','getDescriptions','*Change\x20to:*\x20%0','516862KrQJpU','type','element','subType','1011735fwbRLq','label','nextSibling','has','data','registerDescriptionCallback','1174566qOKtEg','1534254fePbfx','addFormat','key','_handleAttributeSuggestionDescription','normal','push','*Split:*\x20%0','replace','*Insert:*\x20%0','10tkQXup','*Merge:*\x20%0','_addDescriptionItems','text','_itemLabelsCallbacks','_locale','$1\x20$2','name','getFirstRange','length','map','item','_resolveDescriptionItems','removeEmptyContainer','5tPBLEc','EmptyContainer','isObject','_schema','$text','skip','match','end','_attributeLabels','add','Container','elementStart','pop','get','*Remove:*\x20%0','Object','addContainer','isEqual','registerAttributeLabel','quantity','568RklCdS','matchingCallback','1552824hVNywI','REPLACE_TEXT','indexOf','12509YUJHWX','newValue','4541119ABQigQ','_handleCustomCallbackDescription','3kEYldY','isInContent','attribute','_handleRenameSuggestionDescription','*Set\x20format:*\x20%0','*Remove\x20format:*\x20%0','checkChild','removeContainer','addEmptyContainer','removeFormat','deletion','_handleInsertRemoveSuggestionDescription','getItemLabel','$textProxy','softBreak','isEmpty','insertion'];_0x5da8=function(){return _0x597e6e;};return _0x5da8();}import{getTranslation as _0x3c208c}from'./utils/common-translations.js';import{priorities as _0x2f37ff,insertToPriorityArray as _0x1cdb95}from'ckeditor5/src/utils.js';function _0x165b(_0x590d2d,_0x4390ec){const _0x5da8e4=_0x5da8();return _0x165b=function(_0x165bc9,_0x190056){_0x165bc9=_0x165bc9-0xd4;let _0x2a91ba=_0x5da8e4[_0x165bc9];return _0x2a91ba;},_0x165b(_0x590d2d,_0x4390ec);}import{renameAttributeKey as _0x1a0e7e}from'./trackchangesediting.js';export default class f{constructor(_0x3121f3,_0xa68e85){const _0x4f419e=_0x165b;this[_0x4f419e(0x126)]=[],this[_0x4f419e(0x12e)]=new Map(),this[_0x4f419e(0xed)]=[],this[_0x4f419e(0xff)]=new Map(),this[_0x4f419e(0xfa)]=_0x3121f3,this[_0x4f419e(0xee)]=_0xa68e85;}[_0x4fe3cb(0x135)](_0x22bb80){const _0x31bf99=_0x4fe3cb,_0x33118d=[],_0x3d2fb=new Set(),_0x3e39b7=new Set();for(let _0x1f5f81=0x0;_0x1f5f81<_0x22bb80[_0x31bf99(0xf2)];_0x1f5f81++){const _0x41cf7a=_0x22bb80[_0x1f5f81];if(!_0x41cf7a[_0x31bf99(0x115)])continue;const _0x14feda=this[_0x31bf99(0x113)](_0x41cf7a);if(_0x14feda){if(null!=_0x41cf7a[_0x31bf99(0xd8)]){if(_0x3d2fb[_0x31bf99(0xdc)](_0x41cf7a[_0x31bf99(0xd8)]))continue;_0x3d2fb[_0x31bf99(0x100)](_0x41cf7a[_0x31bf99(0xd8)]);}_0x33118d[_0x31bf99(0xe5)](_0x14feda);}else{if(_0x31bf99(0x116)!=_0x41cf7a[_0x31bf99(0xd6)])_0x31bf99(0x124)!=_0x41cf7a[_0x31bf99(0xd6)]&&_0x31bf99(0x11e)!=_0x41cf7a[_0x31bf99(0xd6)]||this[_0x31bf99(0x11f)](_0x33118d,_0x41cf7a,_0x22bb80[_0x1f5f81+0x1]);else{const _0x42b728=_0x41cf7a[_0x31bf99(0xdd)][_0x31bf99(0xe2)];if(_0x3e39b7[_0x31bf99(0xdc)](_0x42b728))continue;_0x3e39b7[_0x31bf99(0x100)](_0x41cf7a[_0x31bf99(0xdd)][_0x31bf99(0xe2)]),_0x42b728==_0x1a0e7e?this[_0x31bf99(0x117)](_0x33118d,_0x41cf7a):this[_0x31bf99(0xe3)](_0x33118d,_0x41cf7a);}}}return this[_0x31bf99(0xf5)](_0x33118d);}[_0x4fe3cb(0xde)](_0x1cca2f){const _0x4be55f=_0x4fe3cb;this[_0x4be55f(0x126)][_0x4be55f(0xe5)](_0x1cca2f);}[_0x4fe3cb(0x127)](_0x5bfb53,_0xddd544,_0x3c9920=_0x2f37ff[_0x4fe3cb(0xe4)]){const _0x20912f=_0x4fe3cb;_0x20912f(0x131)==typeof _0x5bfb53?_0x1cdb95(this[_0x20912f(0xed)],{'matchingCallback':_0x5bfb53,'label':_0xddd544,'priority':_0x3c9920}):this[_0x20912f(0x12e)][_0x20912f(0x129)](_0x5bfb53,_0xddd544);}[_0x4fe3cb(0x109)](_0x3950c8,_0x58c9f7){const _0x20b3b3=_0x4fe3cb;this[_0x20b3b3(0xff)][_0x20b3b3(0x129)](_0x3950c8,_0x58c9f7);}[_0x4fe3cb(0x120)](_0x35cb45,_0x3a3449=0x1){const _0x169f15=_0x4fe3cb;let _0x36e3cf;for(const _0x3e74af of this[_0x169f15(0xed)])if(_0x3e74af[_0x169f15(0x10c)](_0x35cb45)){_0x36e3cf=_0x3e74af[_0x169f15(0xda)];break;}return _0x36e3cf||(_0x36e3cf=this[_0x169f15(0x12e)][_0x169f15(0x104)](_0x35cb45[_0x169f15(0xf0)])),_0x36e3cf?_0x36e3cf(_0x3a3449):0x1!==_0x3a3449?_0x3a3449+'\x20'+_0x35cb45[_0x169f15(0xf0)]+'s':''+_0x35cb45[_0x169f15(0xf0)];}[_0x4fe3cb(0xeb)](_0x49041b,_0x434e14){const _0x1989ef=_0x4fe3cb,_0x536c27=_0x434e14[_0x1989ef(0xf1)]()[_0x1989ef(0x133)](),_0x194426=_0x1989ef(0x124)==_0x434e14[_0x1989ef(0xd6)]?_0x1989ef(0x100):_0x1989ef(0x132);for(const _0x3e1f1f of _0x536c27){const _0x14512d=_0x3e1f1f[_0x1989ef(0xf4)],_0x1dad32=_0x49041b[_0x49041b[_0x1989ef(0xf2)]-0x1];if(_0x14512d['is'](_0x1989ef(0x121)))_0x1dad32&&_0x1dad32[_0x1989ef(0xd6)][_0x1989ef(0x10f)](_0x1989ef(0x101))>-0x1&&_0x49041b[_0x1989ef(0x103)](),_0x1dad32&&_0x1989ef(0xec)==_0x1dad32[_0x1989ef(0xd6)]?_0x1dad32[_0x194426]+=_0x14512d[_0x1989ef(0xdd)]:_0x49041b[_0x1989ef(0xe5)]({'type':_0x1989ef(0xec),'add':_0x1989ef(0x100)==_0x194426?_0x14512d[_0x1989ef(0xdd)]:'','remove':_0x1989ef(0x132)==_0x194426?_0x14512d[_0x1989ef(0xdd)]:''});else{if(this[_0x1989ef(0xfa)][_0x1989ef(0xf9)](_0x14512d)){const _0x5a23c5=_0x14512d;if(_0x1dad32&&_0x1dad32[_0x1989ef(0xd6)][_0x1989ef(0x10f)](_0x1989ef(0x101))>-0x1&&_0x49041b[_0x1989ef(0x103)](),_0x1989ef(0x130)==_0x3e1f1f[_0x1989ef(0xd6)])continue;_0x1dad32&&_0x1dad32[_0x1989ef(0xd6)]==_0x194426+_0x1989ef(0x106)&&_0x1dad32[_0x1989ef(0xd7)][_0x1989ef(0xf0)]==_0x5a23c5[_0x1989ef(0xf0)]?_0x1dad32[_0x1989ef(0x10a)]++:_0x49041b[_0x1989ef(0xe5)]({'type':_0x194426+_0x1989ef(0x106),'element':_0x5a23c5,'quantity':0x1}),_0x536c27[_0x1989ef(0xfc)](_0x545dec=>!(_0x1989ef(0x130)==_0x545dec[_0x1989ef(0xd6)]&&_0x545dec[_0x1989ef(0xf4)]==_0x14512d));}else{if(this[_0x1989ef(0xfa)][_0x1989ef(0x11a)](_0x14512d,_0x1989ef(0xfb))||_0x14512d['is'](_0x1989ef(0xd7),_0x1989ef(0x122))){const _0x357554=_0x14512d;if(_0x1989ef(0x100)==_0x194426&&_0x1989ef(0x102)==_0x3e1f1f[_0x1989ef(0xd6)]||_0x1989ef(0x132)==_0x194426&&_0x1989ef(0x130)==_0x3e1f1f[_0x1989ef(0xd6)])continue;if(_0x1dad32&&-0x1==_0x1dad32[_0x1989ef(0xd6)][_0x1989ef(0x10f)](_0x1989ef(0x101))){_0x1989ef(0xec)==_0x1dad32[_0x1989ef(0xd6)]&&(_0x1dad32[_0x194426]+='\x0a');continue;}let _0xa775ba;if(_0xa775ba=_0x1989ef(0x100)==_0x194426?_0x357554[_0x1989ef(0xdb)]&&!this[_0x1989ef(0xfa)][_0x1989ef(0xf9)](_0x357554[_0x1989ef(0xdb)])?_0x357554[_0x1989ef(0xdb)]:null:_0x357554[_0x1989ef(0x12c)]&&!this[_0x1989ef(0xfa)][_0x1989ef(0xf9)](_0x357554[_0x1989ef(0x12c)])?_0x357554[_0x1989ef(0x12c)]:null,_0x357554[_0x1989ef(0x123)]||_0xa775ba&&_0xa775ba[_0x1989ef(0x123)]){const _0x553711=_0xa775ba&&_0xa775ba[_0x1989ef(0x123)]?_0xa775ba:_0x357554;_0x1dad32&&_0x1dad32[_0x1989ef(0xd6)]==_0x194426+_0x1989ef(0xf8)&&_0x1dad32[_0x1989ef(0xd7)][_0x1989ef(0xf0)]==_0x553711[_0x1989ef(0xf0)]?_0x1dad32[_0x1989ef(0x10a)]++:_0x49041b[_0x1989ef(0xe5)]({'type':_0x194426+_0x1989ef(0xf8),'element':_0x553711,'quantity':0x1});}else _0x49041b[_0x1989ef(0xe5)]({'type':_0x194426+_0x1989ef(0x101),'element':_0x357554});}}}}}[_0x4fe3cb(0xf5)](_0x7f9237){const _0x4b33e7=_0x4fe3cb,_0x5a0137=this[_0x4b33e7(0xee)],_0x5b2ede=[],_0x191abe=[],_0x5149d3=[];for(const _0xaca8ae of _0x7f9237)switch(_0xaca8ae[_0x4b33e7(0xd6)]){case _0x4b33e7(0xec):if(_0xaca8ae[_0x4b33e7(0x100)]=_0xaca8ae[_0x4b33e7(0x100)][_0x4b33e7(0xe7)](/(\S)\u000A+(\S)/g,_0x4b33e7(0xef))[_0x4b33e7(0xe7)](/\u000A/g,''),_0xaca8ae[_0x4b33e7(0x132)]=_0xaca8ae[_0x4b33e7(0x132)][_0x4b33e7(0xe7)](/(\S)\u000A+(\S)/g,_0x4b33e7(0xef))[_0x4b33e7(0xe7)](/\u000A/g,''),''!=_0xaca8ae[_0x4b33e7(0x100)]&&''!=_0xaca8ae[_0x4b33e7(0x132)]){_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0xe7),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0x10e),['\x22'+_0xaca8ae[_0x4b33e7(0x132)]+'\x22','\x22'+_0xaca8ae[_0x4b33e7(0x100)]+'\x22'])});continue;}if(null!=_0xaca8ae[_0x4b33e7(0x100)][_0x4b33e7(0xfd)](/^ +$/)){_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x124),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0xe8),_0x3c208c(_0x5a0137,_0x4b33e7(0x12d),_0xaca8ae[_0x4b33e7(0x100)][_0x4b33e7(0xf2)]))});continue;}if(null!=_0xaca8ae[_0x4b33e7(0x132)][_0x4b33e7(0xfd)](/^ +$/)){_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x11e),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0x105),_0x3c208c(_0x5a0137,_0x4b33e7(0x12d),_0xaca8ae[_0x4b33e7(0x132)][_0x4b33e7(0xf2)]))});continue;}if(''!=_0xaca8ae[_0x4b33e7(0x100)]){_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x124),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0xe8),'\x22'+_0xaca8ae[_0x4b33e7(0x100)]+'\x22')});continue;}_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x11e),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0x105),'\x22'+_0xaca8ae[_0x4b33e7(0x132)]+'\x22')});continue;case _0x4b33e7(0x11c):case _0x4b33e7(0x134):_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x124),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0xe8),this[_0x4b33e7(0x120)](_0xaca8ae[_0x4b33e7(0xd7)],_0xaca8ae[_0x4b33e7(0x10a)]))});continue;case _0x4b33e7(0xf6):case _0x4b33e7(0x12f):_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x11e),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0x105),this[_0x4b33e7(0x120)](_0xaca8ae[_0x4b33e7(0xd7)],_0xaca8ae[_0x4b33e7(0x10a)]))});continue;case _0x4b33e7(0x107):_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x124),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0xe6),this[_0x4b33e7(0x120)](_0xaca8ae[_0x4b33e7(0xd7)],_0xaca8ae[_0x4b33e7(0x10a)]))});continue;case _0x4b33e7(0x11b):_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x11e),'content':_0x3c208c(_0x5a0137,_0x4b33e7(0xea),this[_0x4b33e7(0x120)](_0xaca8ae[_0x4b33e7(0xd7)],_0xaca8ae[_0x4b33e7(0x10a)]))});continue;case _0x4b33e7(0xe1):_0x191abe[_0x4b33e7(0xe5)](_0xaca8ae[_0x4b33e7(0xe2)]);continue;case _0x4b33e7(0x11d):_0x5149d3[_0x4b33e7(0xe5)](_0xaca8ae[_0x4b33e7(0xe2)]);continue;default:_0x5b2ede[_0x4b33e7(0xe5)](_0xaca8ae);}if(_0x191abe[_0x4b33e7(0xf2)]){const _0x3ae795=_0x191abe[_0x4b33e7(0xf3)](_0x22980c=>this[_0x4b33e7(0xff)][_0x4b33e7(0xdc)](_0x22980c)?this[_0x4b33e7(0xff)][_0x4b33e7(0x104)](_0x22980c):_0x22980c)[_0x4b33e7(0x12b)](',\x20');_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x12a),'content':_0x3c208c(this[_0x4b33e7(0xee)],_0x4b33e7(0x118),_0x3ae795)});}if(_0x5149d3[_0x4b33e7(0xf2)]){const _0x50f2f5=_0x5149d3[_0x4b33e7(0xf3)](_0x2ce167=>this[_0x4b33e7(0xff)][_0x4b33e7(0xdc)](_0x2ce167)?this[_0x4b33e7(0xff)][_0x4b33e7(0x104)](_0x2ce167):_0x2ce167)[_0x4b33e7(0x12b)](',\x20');_0x5b2ede[_0x4b33e7(0xe5)]({'type':_0x4b33e7(0x12a),'content':_0x3c208c(this[_0x4b33e7(0xee)],_0x4b33e7(0x119),_0x50f2f5)});}return _0x5b2ede;}[_0x4fe3cb(0x113)](_0x2ec6cd){const _0x49f3e0=_0x4fe3cb;for(const _0x1f23e7 of this[_0x49f3e0(0x126)]){const _0x20f719=_0x1f23e7(_0x2ec6cd);if(_0x20f719&&_0x49f3e0(0xd6)in _0x20f719)return _0x20f719;}}[_0x4fe3cb(0xe3)](_0x54e497,_0x4813ec){const _0x3518da=_0x4fe3cb,_0x1c601b=_0x4813ec[_0x3518da(0xdd)],_0x608b3c=void 0x0===_0x1c601b[_0x3518da(0x111)]?_0x3518da(0x11d):_0x3518da(0xe1);_0x54e497[_0x3518da(0xe5)]({'type':_0x608b3c,'key':_0x1c601b[_0x3518da(0xe2)]});}[_0x4fe3cb(0x117)](_0x5cc835,_0x3978cf){const _0x385878=_0x4fe3cb;_0x5cc835[_0x385878(0xe5)]({'type':_0x385878(0x12a),'content':_0x3c208c(this[_0x385878(0xee)],_0x385878(0xd4),this[_0x385878(0x120)](_0x3978cf[_0x385878(0xf1)]()[_0x385878(0x128)][_0x385878(0x125)],0x1))});}[_0x4fe3cb(0x11f)](_0x4e7afb,_0x24b137,_0x41595e){const _0x350dc6=_0x4fe3cb;if(this[_0x350dc6(0xeb)](_0x4e7afb,_0x24b137),_0x41595e&&_0x41595e[_0x350dc6(0xf1)]()&&!_0x24b137[_0x350dc6(0xf1)]()[_0x350dc6(0xfe)][_0x350dc6(0x108)](_0x41595e[_0x350dc6(0xf1)]()[_0x350dc6(0x128)])){const _0x2c71ad=_0x4e7afb[_0x4e7afb[_0x350dc6(0xf2)]-0x1],_0x1913ad=_0x350dc6(0x124)==_0x24b137[_0x350dc6(0xd6)]?_0x350dc6(0x100):_0x350dc6(0x132);_0x2c71ad&&_0x350dc6(0xec)==_0x2c71ad[_0x350dc6(0xd6)]&&(_0x2c71ad[_0x1913ad]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x19b741=_0x36ff;(function(_0x4b2d68,_0x3fbf3a){var _0x43ac4e=_0x36ff,_0x5efb07=_0x4b2d68();while(!![]){try{var _0x343083=parseInt(_0x43ac4e(0x1ec))/0x1*(-parseInt(_0x43ac4e(0x1df))/0x2)+-parseInt(_0x43ac4e(0x1ed))/0x3+-parseInt(_0x43ac4e(0x1e3))/0x4*(-parseInt(_0x43ac4e(0x1e0))/0x5)+-parseInt(_0x43ac4e(0x1eb))/0x6+-parseInt(_0x43ac4e(0x1dd))/0x7*(-parseInt(_0x43ac4e(0x1dc))/0x8)+parseInt(_0x43ac4e(0x1ef))/0x9+-parseInt(_0x43ac4e(0x1e5))/0xa*(-parseInt(_0x43ac4e(0x1da))/0xb);if(_0x343083===_0x3fbf3a)break;else _0x5efb07['push'](_0x5efb07['shift']());}catch(_0xfbb9c1){_0x5efb07['push'](_0x5efb07['shift']());}}}(_0x4391,0x3f0f8));import{Plugin as _0x593d22}from'ckeditor5/src/core.js';function _0x36ff(_0x209960,_0x2d5f01){var _0x439156=_0x4391();return _0x36ff=function(_0x36ff75,_0x23f4d6){_0x36ff75=_0x36ff75-0x1d9;var _0x2c5051=_0x439156[_0x36ff75];return _0x2c5051;},_0x36ff(_0x209960,_0x2d5f01);}import _0x7f1602 from'./trackchangesui.js';import _0x190502 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x4391(){var _0x33a46c=['requires','Comments','getSuggestions','getSuggestion','1857702qdQpIu','1vKlWBB','1225659oVpCgA','pluginName','1596960XpgcvM','get','16082BAlXWO','addSuggestion','8hmlajt','211512GCWlwX','plugins','993940CrpIHB','470njXjRe','editor','addSuggestionData','9132cfVdsk','adapter','7190yxaPOc','TrackChanges'];_0x4391=function(){return _0x33a46c;};return _0x4391();}export default class k extends _0x593d22{static get[_0x19b741(0x1e7)](){var _0x35d7d1=_0x19b741;return[_0x190502,_0x7f1602,_0x35d7d1(0x1e8)];}static get[_0x19b741(0x1ee)](){var _0x134992=_0x19b741;return _0x134992(0x1e6);}set[_0x19b741(0x1e4)](_0x10a381){var _0x724d59=_0x19b741;this[_0x724d59(0x1e1)][_0x724d59(0x1de)][_0x724d59(0x1d9)](_0x190502)[_0x724d59(0x1e4)]=_0x10a381;}get[_0x19b741(0x1e4)](){var _0x51dbb9=_0x19b741;return this[_0x51dbb9(0x1e1)][_0x51dbb9(0x1de)][_0x51dbb9(0x1d9)](_0x190502)[_0x51dbb9(0x1e4)];}[_0x19b741(0x1db)](_0x198839){var _0x159320=_0x19b741;return this[_0x159320(0x1e1)][_0x159320(0x1de)][_0x159320(0x1d9)](_0x190502)[_0x159320(0x1e2)](_0x198839);}[_0x19b741(0x1e9)]({skipNotAttached:_0xc294c8=!0x1,toJSON:_0x34314f=!0x1}={}){var _0x9e75dd=_0x19b741;return this[_0x9e75dd(0x1e1)][_0x9e75dd(0x1de)][_0x9e75dd(0x1d9)](_0x190502)[_0x9e75dd(0x1e9)]({'skipNotAttached':_0xc294c8,'toJSON':_0x34314f});}[_0x19b741(0x1ea)](_0x5f5b0e){var _0xf6f900=_0x19b741;return this[_0xf6f900(0x1e1)][_0xf6f900(0x1de)][_0xf6f900(0x1d9)](_0x190502)[_0xf6f900(0x1ea)](_0x5f5b0e);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5e1e(){const _0x4bafa2=['2018051auPQNe','get','TrackChangesEditing','getCommentThreads','trackChangesData','70kFWGsL','acceptAllSuggestions','getDataWithAcceptedSuggestions','getRootsAttributes','999477Jtptsq','result','config','createElement','editorCreator','32IjDrAW','16938rgiFXi','getSuggestions','users','constructor','track-changes-data-invalid-editor-creator','destroy','map','1625774bokbdo','addUser','push','div','useAnonymousUser','CommentsRepository','appendChild','2025JZyiER','getDataWithDiscardedSuggestions','_adapter','4kMshZK','data','getUser','1991724GhJFcY','reduce','TrackChangesDataGetter','model','TrackChangesData','Users','end','editor','4322219FOUfYW','trackChangesData.editorCreator','create','function','plugins','name','execute','pluginName','createDocumentFragment','addCommentThread','set','getFullData','requires','getRootNames','267529HXAFIl','rootsAttributes','init','addSuggestionData','define','document','discardAllSuggestions','Pagination'];_0x5e1e=function(){return _0x4bafa2;};return _0x5e1e();}const _0x3a96d6=_0x16ae;(function(_0x315f2b,_0x2f2964){const _0x29acae=_0x16ae,_0x7f643=_0x315f2b();while(!![]){try{const _0x5804a2=-parseInt(_0x29acae(0x1ec))/0x1+-parseInt(_0x29acae(0x1c9))/0x2+-parseInt(_0x29acae(0x1d6))/0x3*(parseInt(_0x29acae(0x1d3))/0x4)+-parseInt(_0x29acae(0x1d0))/0x5*(parseInt(_0x29acae(0x1c2))/0x6)+parseInt(_0x29acae(0x1b3))/0x7+-parseInt(_0x29acae(0x1c1))/0x8*(-parseInt(_0x29acae(0x1bc))/0x9)+parseInt(_0x29acae(0x1b8))/0xa*(parseInt(_0x29acae(0x1de))/0xb);if(_0x5804a2===_0x2f2964)break;else _0x7f643['push'](_0x7f643['shift']());}catch(_0xd41b02){_0x7f643['push'](_0x7f643['shift']());}}}(_0x5e1e,0x915a9));import{Plugin as _0x734e70}from'ckeditor5/src/core.js';import{CKEditorError as _0x21c0d8}from'ckeditor5/src/utils.js';import _0x5e9f53 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5ad15e}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x3a96d6(0x1b2)];export default class P extends _0x734e70{static get[_0x3a96d6(0x1ea)](){return[_0x5e9f53];}static get[_0x3a96d6(0x1e5)](){const _0x26140f=_0x3a96d6;return _0x26140f(0x1da);}[_0x3a96d6(0x1ee)](){const _0x3d33e4=_0x3a96d6,_0x426c66=this[_0x3d33e4(0x1dd)];if(_0x426c66[_0x3d33e4(0x1be)][_0x3d33e4(0x1f0)](_0x3d33e4(0x1df),_0x136d24=>{const _0x4cc2c8=_0x3d33e4,_0x127ce2=_0x426c66[_0x4cc2c8(0x1d9)][_0x4cc2c8(0x1f1)][_0x4cc2c8(0x1eb)]()[_0x4cc2c8(0x1d7)]((_0x4d3f0,_0x107850)=>(_0x4d3f0[_0x107850]='',_0x4d3f0),{});return _0x426c66[_0x4cc2c8(0x1c5)][_0x4cc2c8(0x1e0)](_0x127ce2,_0x136d24);}),_0x3d33e4(0x1e1)!=typeof _0x426c66[_0x3d33e4(0x1be)][_0x3d33e4(0x1b4)](_0x3d33e4(0x1b7))[_0x3d33e4(0x1c0)])throw new _0x21c0d8(_0x3d33e4(0x1c6));}[_0x3a96d6(0x1ba)](_0x5c769c){const _0x58d7f3=_0x3a96d6;return N(this[_0x58d7f3(0x1dd)],!0x0,_0x5c769c);}[_0x3a96d6(0x1d1)](_0x3596ec){const _0x5d4f2f=_0x3a96d6;return N(this[_0x5d4f2f(0x1dd)],!0x1,_0x3596ec);}}class D extends _0x734e70{static get[_0x3a96d6(0x1e5)](){const _0x4205d9=_0x3a96d6;return _0x4205d9(0x1d8);}constructor(_0x186743){const _0x456b64=_0x3a96d6;super(_0x186743),this[_0x456b64(0x1bd)]=_0x456b64(0x1dc);}[_0x3a96d6(0x1ee)](){const _0x52168e=_0x3a96d6;this[_0x52168e(0x1dd)][_0x52168e(0x1e2)][_0x52168e(0x1b4)](_0x52168e(0x1ce))[_0x52168e(0x1d2)]={'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[_0x52168e(0x1dd)][_0x52168e(0x1e2)][_0x52168e(0x1b4)](_0x52168e(0x1b5))[_0x52168e(0x1d2)]=null;}}function v(_0x1832f4){const _0x378202=_0x3a96d6;return void 0x0!==_0x1832f4[_0x378202(0x1bb)];}function _0x16ae(_0x2220ed,_0x5a0feb){const _0x5e1e99=_0x5e1e();return _0x16ae=function(_0x16ae77,_0x4476fa){_0x16ae77=_0x16ae77-0x1b1;let _0x3fda2b=_0x5e1e99[_0x16ae77];return _0x3fda2b;},_0x16ae(_0x2220ed,_0x5a0feb);}async function N(_0x201d0d,_0x11f16e,_0x448409){const _0x948185=_0x3a96d6,_0xf03d13=_0x5ad15e(_0x201d0d,T);_0xf03d13[_0x948185(0x1e2)][_0x948185(0x1cb)](_0x5e9f53,D),_0xf03d13[_0x948185(0x1ed)]=v(_0x201d0d)?_0x201d0d[_0x948185(0x1bb)]():void 0x0;const _0xa0c45e=document[_0x948185(0x1e6)](),_0x5b313b=_0x201d0d[_0x948185(0x1be)][_0x948185(0x1b4)](_0x948185(0x1b7))[_0x948185(0x1c0)],_0x138234=await _0x5b313b(_0xf03d13,()=>function(_0x371699){const _0x35bd45=_0x948185,_0x28fa35=document[_0x35bd45(0x1bf)](_0x35bd45(0x1cc));return _0x371699[_0x35bd45(0x1cf)](_0x28fa35),_0x28fa35;}(_0xa0c45e));!function(_0xba5e32,_0x3d322e){const _0x40b27c=_0x948185,_0x21dc79=_0xba5e32[_0x40b27c(0x1d9)][_0x40b27c(0x1f1)][_0x40b27c(0x1eb)]()[_0x40b27c(0x1d7)]((_0x145401,_0x45069f)=>(_0x145401[_0x45069f]=_0xba5e32[_0x40b27c(0x1d4)][_0x40b27c(0x1b4)]({'rootName':_0x45069f}),_0x145401),{}),_0x286379=_0xba5e32[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1db))[_0x40b27c(0x1c4)][_0x40b27c(0x1c8)](_0x52db52=>({'id':_0x52db52['id'],'name':_0x52db52[_0x40b27c(0x1e3)]})),_0x50a688=_0xba5e32[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1b5))[_0x40b27c(0x1c3)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x55f0f4=_0xba5e32[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1ce))[_0x40b27c(0x1b6)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4dc294=_0x3d322e[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1db)),_0xdc9b2a=_0x3d322e[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1b5)),_0x573041=_0x3d322e[_0x40b27c(0x1e2)][_0x40b27c(0x1b4)](_0x40b27c(0x1ce));for(const _0x304b45 of _0x286379)_0x4dc294[_0x40b27c(0x1d5)](_0x304b45['id'])||_0x4dc294[_0x40b27c(0x1ca)](_0x304b45);_0x4dc294['me']||_0x4dc294[_0x40b27c(0x1cd)]();for(const _0x79a01c of _0x55f0f4)_0x573041[_0x40b27c(0x1e7)](_0x79a01c);for(const _0x16bdc1 of _0x50a688)_0xdc9b2a[_0x40b27c(0x1ef)](_0x16bdc1);_0x3d322e[_0x40b27c(0x1d4)][_0x40b27c(0x1e8)](_0x21dc79);}(_0x201d0d,_0x138234),_0x138234[_0x948185(0x1e4)](_0x11f16e?_0x948185(0x1b9):_0x948185(0x1b1));const _0x3f77cb=v(_0x138234)?_0x138234[_0x948185(0x1e9)](_0x448409):_0x138234[_0x948185(0x1d4)][_0x948185(0x1b4)](_0x448409);return await _0x138234[_0x948185(0x1c7)](),_0x3f77cb;}
|