@ckeditor/ckeditor5-track-changes 42.0.0-alpha.8 → 42.0.0-alpha.9
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 _0x3bec6a=_0x232c;function _0x232c(_0x596388,_0x40c4b1){const _0x43a195=_0x43a1();return _0x232c=function(_0x232c3c,_0x5c37d6){_0x232c3c=_0x232c3c-0x17f;let _0x398076=_0x43a195[_0x232c3c];return _0x398076;},_0x232c(_0x596388,_0x40c4b1);}(function(_0x361ba2,_0x29db21){const _0x382e0b=_0x232c,_0x5422c1=_0x361ba2();while(!![]){try{const _0x36d783=parseInt(_0x382e0b(0x19e))/0x1*(parseInt(_0x382e0b(0x18f))/0x2)+-parseInt(_0x382e0b(0x1b0))/0x3+-parseInt(_0x382e0b(0x1db))/0x4*(-parseInt(_0x382e0b(0x1d5))/0x5)+-parseInt(_0x382e0b(0x1ac))/0x6+-parseInt(_0x382e0b(0x1b9))/0x7+parseInt(_0x382e0b(0x1a7))/0x8*(parseInt(_0x382e0b(0x1c8))/0x9)+parseInt(_0x382e0b(0x1c0))/0xa*(parseInt(_0x382e0b(0x1ae))/0xb);if(_0x36d783===_0x29db21)break;else _0x5422c1['push'](_0x5422c1['shift']());}catch(_0x3c3d21){_0x5422c1['push'](_0x5422c1['shift']());}}}(_0x43a1,0xa4dba));import{Plugin as _0x8fab9a}from'ckeditor5/src/core.js';import _0x3bf281 from'./table.js';function _0x43a1(){const _0x4900b7=['document','filter','formatInline','TableUtils','forceDefaultExecution','2781nQdgIL','markBlockFormat','set:isEnabled','locale','model','createTableWalker','author','splitTableCellVertically','_tablePostFixingSubtypes','8EQfQwi','commandName','return','afterInit','table','6443748SAVTHq','execute','11187qyNGpp','add','2697366liWtyh','push','createRangeOn','direction','splitTableCellHorizontally','getSuggestions','TrackChangesEditing','mergeTableCellLeft','_areSelectedCellsMergable','6071989cVFxPC','stop','_isForcedDefaultExecutionBlock','registerDescriptionCallback','$graveyard','enableCommand','fromRange','15970zcTYAn','_areMergableCells','getAncestors','selection','value','cell','*Merge\x20cells*','findAncestor','5256963IIkWlI','commands','mergeTableCells','formatBlock','change','highest','low','markMultiRangeBlockFormat','map','detach','has','length','mergeTableCellUp','814540DnyMdh','getRanges','isEnabled','requires','containsRange','*Split\x20cell:*\x20vertically','8cWLuMg','accept','tableCell','type','_acceptFormatSuggestionCallbackFactory','horizontally','subType','format','isInContent','*Split\x20cell:*\x20horizontally','trackChanges','root','rootName','getSelectionAffectedTableCells','plugins','editor','insertion','element','mergeTableCellDown','refresh','registerCustomCallback','TableEditing','descriptionFactory','setSelection','706LnjLvA','mergeTableCellRight','getCellLocation','find','_suggestionFactory','getFirstPosition','size','get','deletion','from'];_0x43a1=function(){return _0x4900b7;};return _0x43a1();}import{LiveRange as _0x1772fb}from'ckeditor5/src/engine.js';import{getTranslation as _0x358454}from'../utils/common-translations.js';export default class St extends _0x8fab9a{static get[_0x3bec6a(0x1d8)](){return[_0x3bf281];}[_0x3bec6a(0x1aa)](){const _0x361010=_0x3bec6a,_0x2d7bc7=this[_0x361010(0x186)],_0x5492a8=_0x2d7bc7[_0x361010(0x1a2)][_0x361010(0x199)][_0x361010(0x1c3)],_0x4b52da=_0x2d7bc7[_0x361010(0x1a1)];if(!_0x2d7bc7[_0x361010(0x185)][_0x361010(0x1d2)](_0x361010(0x18c)))return;const _0x526e47=_0x2d7bc7[_0x361010(0x185)][_0x361010(0x196)](_0x361010(0x1b6)),_0x214c39=_0x2d7bc7[_0x361010(0x185)][_0x361010(0x196)](_0x361010(0x19c)),_0x1e9de2=_0x2d7bc7[_0x361010(0x185)][_0x361010(0x196)](_0x3bf281);_0x1e9de2[_0x361010(0x1a6)][_0x361010(0x1b1)](_0x361010(0x1ca)),_0x526e47[_0x361010(0x1be)](_0x361010(0x1ca),()=>{const _0xfabdc7=_0x361010,_0x597af7=_0x214c39[_0xfabdc7(0x184)](_0x2d7bc7[_0xfabdc7(0x1a2)][_0xfabdc7(0x199)][_0xfabdc7(0x1c3)]);_0x2d7bc7[_0xfabdc7(0x1a2)][_0xfabdc7(0x1cc)](()=>{const _0x335c4c=_0xfabdc7;_0x526e47[_0x335c4c(0x1cf)](_0x597af7,{'commandName':_0x335c4c(0x1ca),'commandParams':[]},[],_0x335c4c(0x1ca));});}),_0x2d7bc7[_0x361010(0x1c9)][_0x361010(0x196)](_0x361010(0x1ca))['on'](_0x361010(0x1ad),(_0x5bdb1d,_0xe3f36c)=>{const _0x41625f=_0x361010;_0x2d7bc7[_0x41625f(0x1c9)][_0x41625f(0x196)](_0x41625f(0x181))[_0x41625f(0x1c4)]&&(_0xe3f36c[_0x41625f(0x1d3)]>0x0&&_0xe3f36c[_0xe3f36c[_0x41625f(0x1d3)]-0x1]&&_0xe3f36c[_0xe3f36c[_0x41625f(0x1d3)]-0x1][_0x41625f(0x19d)]||_0x526e47[_0x41625f(0x1bb)]||this[_0x41625f(0x1b8)]()||_0x5bdb1d[_0x41625f(0x1ba)]());},{'priority':_0x361010(0x1cd)});for(const _0xc1f16e of[_0x361010(0x1d4),_0x361010(0x190),_0x361010(0x189),_0x361010(0x1b7)]){const _0x443e95=_0x2d7bc7[_0x361010(0x1c9)][_0x361010(0x196)](_0xc1f16e);_0x526e47[_0x361010(0x1be)](_0xc1f16e,()=>{const _0x1eff55=_0x361010,_0x1094dc=_0x2d7bc7[_0x1eff55(0x1a2)][_0x1eff55(0x199)][_0x1eff55(0x1c3)][_0x1eff55(0x194)]()[_0x1eff55(0x1c2)]()[_0x1eff55(0x192)](_0x2631e5=>_0x2631e5['is'](_0x1eff55(0x188),_0x1eff55(0x1dd))),_0x28fe96=_0x443e95[_0x1eff55(0x1c4)];_0x2d7bc7[_0x1eff55(0x1a2)][_0x1eff55(0x1cc)](()=>{const _0x190006=_0x1eff55;_0x526e47[_0x190006(0x1cf)]([_0x1094dc,_0x28fe96],{'commandName':_0x190006(0x1ca),'commandParams':[]},[],_0x190006(0x1ca));});});}for(const _0xcb3ea of[_0x361010(0x1a5),_0x361010(0x1b4)]){const _0x56aedc=_0x2d7bc7[_0x361010(0x1c9)][_0x361010(0x196)](_0xcb3ea);_0x526e47[_0x361010(0x1be)](_0xcb3ea,()=>{const _0x450d4f=_0x361010,_0x337649=_0x214c39[_0x450d4f(0x184)](_0x2d7bc7[_0x450d4f(0x1a2)][_0x450d4f(0x199)][_0x450d4f(0x1c3)])[0x0],_0x16f920=_0x337649[_0x450d4f(0x1c7)](_0x450d4f(0x1ab)),{column:_0x2ab768,row:_0x39f3d7}=_0x214c39[_0x450d4f(0x191)](_0x337649);let _0xde1d9b=[];if(_0x450d4f(0x1e0)==_0x56aedc[_0x450d4f(0x1b3)]){const _0x4dc3f7=_0x214c39[_0x450d4f(0x1a3)](_0x16f920,{'startRow':_0x39f3d7,'endRow':_0x39f3d7,'includeAllSlots':!0x0});_0xde1d9b=Array[_0x450d4f(0x198)](_0x4dc3f7)[_0x450d4f(0x1d0)](_0x4ae3f5=>_0x4ae3f5[_0x450d4f(0x1c5)]);}else{const _0x52ddd8=_0x214c39[_0x450d4f(0x1a3)](_0x16f920,{'column':_0x2ab768,'includeAllSlots':!0x0});_0xde1d9b=Array[_0x450d4f(0x198)](_0x52ddd8)[_0x450d4f(0x1d0)](_0x25a5a0=>_0x25a5a0[_0x450d4f(0x1c5)]);}_0x2d7bc7[_0x450d4f(0x1a2)][_0x450d4f(0x1cc)](_0x1cb316=>{const _0x100eef=_0x450d4f;_0x526e47[_0x100eef(0x19f)](_0x1cb316[_0x100eef(0x1b2)](_0x337649),{'commandName':_0xcb3ea,'commandParams':[]},_0xde1d9b,_0xcb3ea);});});}_0x526e47[_0x361010(0x18d)][_0x361010(0x1bc)](_0x2666f1=>{const _0x193739=_0x361010;if(_0x193739(0x1cb)!=_0x2666f1[_0x193739(0x1de)]&&_0x193739(0x19b)!=_0x2666f1[_0x193739(0x1de)])return;const {data:_0x29b4fa}=_0x2666f1;return _0x29b4fa&&_0x193739(0x1ca)==_0x29b4fa[_0x193739(0x1a8)]?{'type':_0x193739(0x1e2),'content':_0x358454(_0x4b52da,_0x193739(0x1c6))}:void 0x0;}),_0x526e47[_0x361010(0x18d)][_0x361010(0x1bc)](_0x8187ef=>{const _0x3362d8=_0x361010;if(_0x3362d8(0x1cb)!=_0x8187ef[_0x3362d8(0x1de)]&&_0x3362d8(0x19b)!=_0x8187ef[_0x3362d8(0x1de)])return;const {data:_0x61bc56}=_0x8187ef;return _0x61bc56?_0x3362d8(0x1a5)==_0x61bc56[_0x3362d8(0x1a8)]?{'type':_0x3362d8(0x1e2),'content':_0x358454(_0x4b52da,_0x3362d8(0x1da))}:_0x3362d8(0x1b4)==_0x61bc56[_0x3362d8(0x1a8)]?{'type':_0x3362d8(0x1e2),'content':_0x358454(_0x4b52da,_0x3362d8(0x180))}:void 0x0:void 0x0;});const _0x3153c0=_0x1e9de2[_0x361010(0x1df)]();for(const _0xffe3fa of[_0x361010(0x1d4),_0x361010(0x190),_0x361010(0x189),_0x361010(0x1b7)])_0x526e47[_0x361010(0x193)][_0x361010(0x18b)](_0x361010(0x1cb),_0xffe3fa,_0x361010(0x1dc),_0x3153c0);for(const _0x118da0 of[_0x361010(0x1a5),_0x361010(0x1b4)])_0x526e47[_0x361010(0x193)][_0x361010(0x18b)](_0x361010(0x1cb),_0x118da0,_0x361010(0x1dc),_0x3153c0);_0x526e47[_0x361010(0x193)][_0x361010(0x18b)](_0x361010(0x1cb),_0x361010(0x1ca),_0x361010(0x1dc),_0x19a92a=>{const _0x239387=_0x361010;_0x2d7bc7[_0x239387(0x1a2)][_0x239387(0x1cc)](_0x5d916c=>{const _0x278fbc=_0x239387,_0x1ff3ab=Array[_0x278fbc(0x198)](_0x5492a8[_0x278fbc(0x1d6)]())[_0x278fbc(0x1d0)](_0x1e9e7f=>_0x1772fb[_0x278fbc(0x1bf)](_0x1e9e7f));_0x5d916c[_0x278fbc(0x18e)](_0x19a92a),_0x2d7bc7[_0x278fbc(0x1c9)][_0x278fbc(0x196)](_0x278fbc(0x1ca))[_0x278fbc(0x18a)](),_0x2d7bc7[_0x278fbc(0x1ad)](_0x278fbc(0x1ca),{'forceDefaultExecution':!0x0});const _0x3938e9=_0x1ff3ab[_0x278fbc(0x19a)](_0x4ea23a=>_0x278fbc(0x1bd)!=_0x4ea23a[_0x278fbc(0x182)][_0x278fbc(0x183)]);_0x3938e9[_0x278fbc(0x1d3)]>0x0&&_0x5d916c[_0x278fbc(0x18e)](_0x3938e9);for(const _0x5a8925 of _0x1ff3ab)_0x5a8925[_0x278fbc(0x1d1)]();});});for(const _0x44523e of[_0x361010(0x1d4),_0x361010(0x189),_0x361010(0x1b7),_0x361010(0x190)]){const _0x21c498=_0x2d7bc7[_0x361010(0x1c9)][_0x361010(0x196)](_0x44523e);_0x21c498['on'](_0x361010(0x1a0),(_0x4588c0,_0x1cdfdd,_0x24ec9a)=>{const _0x3161b2=_0x361010;if(_0x24ec9a){const _0x2d3a84=_0x2d7bc7[_0x3161b2(0x1a2)][_0x3161b2(0x199)][_0x3161b2(0x1c3)][_0x3161b2(0x194)]()[_0x3161b2(0x1c2)]()[_0x3161b2(0x192)](_0x284962=>_0x284962['is'](_0x3161b2(0x188),_0x3161b2(0x1dd)));this[_0x3161b2(0x1c1)](_0x21c498[_0x3161b2(0x1c4)],_0x2d3a84)||(_0x4588c0[_0x3161b2(0x1a9)]=!0x1,_0x4588c0[_0x3161b2(0x1ba)]());}},{'priority':_0x361010(0x1ce)});}}[_0x3bec6a(0x1b8)](){const _0x562700=_0x3bec6a,_0xb0c182=this[_0x562700(0x186)][_0x562700(0x1c9)][_0x562700(0x196)](_0x562700(0x1ca)),_0x23e082=this[_0x562700(0x186)][_0x562700(0x185)][_0x562700(0x196)](_0x562700(0x19c));if(!_0xb0c182[_0x562700(0x1d7)])return!0x1;const _0x31d0c1=_0x23e082[_0x562700(0x184)](this[_0x562700(0x186)][_0x562700(0x1a2)][_0x562700(0x199)][_0x562700(0x1c3)]);for(const _0x1b2c66 of _0x31d0c1)for(const _0x3a2b34 of _0x31d0c1)if(_0x1b2c66!=_0x3a2b34&&!this[_0x562700(0x1c1)](_0x1b2c66,_0x3a2b34))return!0x1;return!0x0;}[_0x3bec6a(0x1c1)](_0x27157d,_0x549eae){const _0x4de90c=_0x3bec6a,_0x43e304=this[_0x4de90c(0x186)][_0x4de90c(0x185)][_0x4de90c(0x196)](_0x4de90c(0x1b6)),_0x3dac6c=this[_0x4de90c(0x186)][_0x4de90c(0x1a2)][_0x4de90c(0x1b2)](_0x27157d),_0x40a83c=this[_0x4de90c(0x186)][_0x4de90c(0x1a2)][_0x4de90c(0x1b2)](_0x549eae),_0x1242a8=new Set(),_0x4ab44d=new Set();for(const _0x5696ba of _0x43e304[_0x4de90c(0x1b5)]())if((_0x4de90c(0x187)==_0x5696ba[_0x4de90c(0x1de)]||_0x4de90c(0x197)==_0x5696ba[_0x4de90c(0x1de)]||_0x4de90c(0x1ca)==_0x5696ba[_0x4de90c(0x1e1)])&&_0x5696ba[_0x4de90c(0x17f)]){for(const _0x4904a7 of _0x5696ba[_0x4de90c(0x1d6)]())_0x4904a7[_0x4de90c(0x1d9)](_0x3dac6c,!0x0)&&_0x1242a8[_0x4de90c(0x1af)](_0x5696ba[_0x4de90c(0x1de)]+':'+_0x5696ba[_0x4de90c(0x1a4)]['id']),_0x4904a7[_0x4de90c(0x1d9)](_0x40a83c,!0x0)&&_0x4ab44d[_0x4de90c(0x1af)](_0x5696ba[_0x4de90c(0x1de)]+':'+_0x5696ba[_0x4de90c(0x1a4)]['id']);}if(_0x1242a8[_0x4de90c(0x195)]!=_0x4ab44d[_0x4de90c(0x195)])return!0x1;for(const _0x31f88b of _0x1242a8)if(!_0x4ab44d[_0x4de90c(0x1d2)](_0x31f88b))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x4a97b5=_0x3581;(function(_0x419236,_0x5c5632){const _0x1f8816=_0x3581,_0x21c3ca=_0x419236();while(!![]){try{const _0x287231=-parseInt(_0x1f8816(0x132))/0x1+-parseInt(_0x1f8816(0x124))/0x2+parseInt(_0x1f8816(0x14d))/0x3+parseInt(_0x1f8816(0x117))/0x4*(-parseInt(_0x1f8816(0x158))/0x5)+parseInt(_0x1f8816(0x141))/0x6*(parseInt(_0x1f8816(0x110))/0x7)+parseInt(_0x1f8816(0x157))/0x8*(-parseInt(_0x1f8816(0x13e))/0x9)+parseInt(_0x1f8816(0x145))/0xa;if(_0x287231===_0x5c5632)break;else _0x21c3ca['push'](_0x21c3ca['shift']());}catch(_0x489511){_0x21c3ca['push'](_0x21c3ca['shift']());}}}(_0x2993,0xb8ba1));import{Plugin as _0x4c530d}from'ckeditor5/src/core.js';import _0x355096 from'./table.js';import{LiveRange as _0x579d5c}from'ckeditor5/src/engine.js';function _0x3581(_0x46da06,_0x4c18b5){const _0x2993f6=_0x2993();return _0x3581=function(_0x3581c4,_0x328f76){_0x3581c4=_0x3581c4-0x108;let _0x1d35e7=_0x2993f6[_0x3581c4];return _0x1d35e7;},_0x3581(_0x46da06,_0x4c18b5);}import{getTranslation as _0x3164b8}from'../utils/common-translations.js';export default class St extends _0x4c530d{static get[_0x4a97b5(0x12a)](){return[_0x355096];}[_0x4a97b5(0x149)](){const _0x2b2b08=_0x4a97b5,_0x144895=this[_0x2b2b08(0x10b)],_0x436512=_0x144895[_0x2b2b08(0x13d)][_0x2b2b08(0x161)][_0x2b2b08(0x126)],_0x409c09=_0x144895[_0x2b2b08(0x143)];if(!_0x144895[_0x2b2b08(0x133)][_0x2b2b08(0x150)](_0x2b2b08(0x11c)))return;const _0x68289a=_0x144895[_0x2b2b08(0x133)][_0x2b2b08(0x11b)](_0x2b2b08(0x136)),_0x1a2dea=_0x144895[_0x2b2b08(0x133)][_0x2b2b08(0x11b)](_0x2b2b08(0x13a)),_0x2fc350=_0x144895[_0x2b2b08(0x133)][_0x2b2b08(0x11b)](_0x355096);_0x2fc350[_0x2b2b08(0x118)][_0x2b2b08(0x12e)](_0x2b2b08(0x10c)),_0x68289a[_0x2b2b08(0x166)](_0x2b2b08(0x10c),()=>{const _0x20716e=_0x2b2b08,_0x6b698f=_0x1a2dea[_0x20716e(0x135)](_0x144895[_0x20716e(0x13d)][_0x20716e(0x161)][_0x20716e(0x126)]);_0x144895[_0x20716e(0x13d)][_0x20716e(0x120)](()=>{const _0x4161bc=_0x20716e;_0x68289a[_0x4161bc(0x134)](_0x6b698f,{'commandName':_0x4161bc(0x10c),'commandParams':[]},[],_0x4161bc(0x10c));});}),_0x144895[_0x2b2b08(0x169)][_0x2b2b08(0x11b)](_0x2b2b08(0x10c))['on'](_0x2b2b08(0x119),(_0xd40974,_0x1501d6)=>{const _0x8f325b=_0x2b2b08;_0x144895[_0x8f325b(0x169)][_0x8f325b(0x11b)](_0x8f325b(0x15f))[_0x8f325b(0x14c)]&&(_0x1501d6[_0x8f325b(0x15a)]>0x0&&_0x1501d6[_0x1501d6[_0x8f325b(0x15a)]-0x1]&&_0x1501d6[_0x1501d6[_0x8f325b(0x15a)]-0x1][_0x8f325b(0x15b)]||_0x68289a[_0x8f325b(0x125)]||this[_0x8f325b(0x154)]()||_0xd40974[_0x8f325b(0x12d)]());},{'priority':_0x2b2b08(0x164)});for(const _0x33810b of[_0x2b2b08(0x111),_0x2b2b08(0x148),_0x2b2b08(0x163),_0x2b2b08(0x116)]){const _0x2d4e6d=_0x144895[_0x2b2b08(0x169)][_0x2b2b08(0x11b)](_0x33810b);_0x68289a[_0x2b2b08(0x166)](_0x33810b,()=>{const _0x2166a6=_0x2b2b08,_0x2ffc41=_0x144895[_0x2166a6(0x13d)][_0x2166a6(0x161)][_0x2166a6(0x126)][_0x2166a6(0x155)]()[_0x2166a6(0x123)]()[_0x2166a6(0x15e)](_0x4b05ce=>_0x4b05ce['is'](_0x2166a6(0x153),_0x2166a6(0x147))),_0x118eb6=_0x2d4e6d[_0x2166a6(0x14c)];_0x144895[_0x2166a6(0x13d)][_0x2166a6(0x120)](()=>{const _0x1922d1=_0x2166a6;_0x68289a[_0x1922d1(0x134)]([_0x2ffc41,_0x118eb6],{'commandName':_0x1922d1(0x10c),'commandParams':[]},[],_0x1922d1(0x10c));});});}for(const _0x3de675 of[_0x2b2b08(0x10a),_0x2b2b08(0x156)]){const _0x23d6f1=_0x144895[_0x2b2b08(0x169)][_0x2b2b08(0x11b)](_0x3de675);_0x68289a[_0x2b2b08(0x166)](_0x3de675,()=>{const _0x4c374f=_0x2b2b08,_0x4a1988=_0x1a2dea[_0x4c374f(0x135)](_0x144895[_0x4c374f(0x13d)][_0x4c374f(0x161)][_0x4c374f(0x126)])[0x0],_0x39d10f=_0x4a1988[_0x4c374f(0x162)](_0x4c374f(0x113)),{column:_0x369c8f,row:_0x3abcc1}=_0x1a2dea[_0x4c374f(0x160)](_0x4a1988);let _0x397605=[];if(_0x4c374f(0x12b)==_0x23d6f1[_0x4c374f(0x151)]){const _0xee8d26=_0x1a2dea[_0x4c374f(0x146)](_0x39d10f,{'startRow':_0x3abcc1,'endRow':_0x3abcc1,'includeAllSlots':!0x0});_0x397605=Array[_0x4c374f(0x142)](_0xee8d26)[_0x4c374f(0x108)](_0x52985a=>_0x52985a[_0x4c374f(0x13b)]);}else{const _0x3b3030=_0x1a2dea[_0x4c374f(0x146)](_0x39d10f,{'column':_0x369c8f,'includeAllSlots':!0x0});_0x397605=Array[_0x4c374f(0x142)](_0x3b3030)[_0x4c374f(0x108)](_0x3df0d6=>_0x3df0d6[_0x4c374f(0x13b)]);}_0x144895[_0x4c374f(0x13d)][_0x4c374f(0x120)](_0x4ab4ed=>{const _0xc02b68=_0x4c374f;_0x68289a[_0xc02b68(0x14f)](_0x4ab4ed[_0xc02b68(0x167)](_0x4a1988),{'commandName':_0x3de675,'commandParams':[]},_0x397605,_0x3de675);});});}_0x68289a[_0x2b2b08(0x140)][_0x2b2b08(0x144)](_0x5c32be=>{const _0x586496=_0x2b2b08;if(_0x586496(0x13f)!=_0x5c32be[_0x586496(0x121)]&&_0x586496(0x159)!=_0x5c32be[_0x586496(0x121)])return;const {data:_0x5ee9b6}=_0x5c32be;return _0x5ee9b6&&_0x586496(0x10c)==_0x5ee9b6[_0x586496(0x13c)]?{'type':_0x586496(0x127),'content':_0x3164b8(_0x409c09,_0x586496(0x10f))}:void 0x0;}),_0x68289a[_0x2b2b08(0x140)][_0x2b2b08(0x144)](_0x3aefb5=>{const _0x32a661=_0x2b2b08;if(_0x32a661(0x13f)!=_0x3aefb5[_0x32a661(0x121)]&&_0x32a661(0x159)!=_0x3aefb5[_0x32a661(0x121)])return;const {data:_0x68c2ae}=_0x3aefb5;return _0x68c2ae?_0x32a661(0x10a)==_0x68c2ae[_0x32a661(0x13c)]?{'type':_0x32a661(0x127),'content':_0x3164b8(_0x409c09,_0x32a661(0x14e))}:_0x32a661(0x156)==_0x68c2ae[_0x32a661(0x13c)]?{'type':_0x32a661(0x127),'content':_0x3164b8(_0x409c09,_0x32a661(0x11f))}:void 0x0:void 0x0;});const _0x584337=_0x2fc350[_0x2b2b08(0x122)]();for(const _0x1dddfd of[_0x2b2b08(0x111),_0x2b2b08(0x148),_0x2b2b08(0x163),_0x2b2b08(0x116)])_0x68289a[_0x2b2b08(0x131)][_0x2b2b08(0x165)](_0x2b2b08(0x13f),_0x1dddfd,_0x2b2b08(0x10e),_0x584337);for(const _0x30c9b3 of[_0x2b2b08(0x10a),_0x2b2b08(0x156)])_0x68289a[_0x2b2b08(0x131)][_0x2b2b08(0x165)](_0x2b2b08(0x13f),_0x30c9b3,_0x2b2b08(0x10e),_0x584337);_0x68289a[_0x2b2b08(0x131)][_0x2b2b08(0x165)](_0x2b2b08(0x13f),_0x2b2b08(0x10c),_0x2b2b08(0x10e),_0x4d94dc=>{const _0x278f2a=_0x2b2b08;_0x144895[_0x278f2a(0x13d)][_0x278f2a(0x120)](_0x12cd7e=>{const _0x2e756f=_0x278f2a,_0x223f30=Array[_0x2e756f(0x142)](_0x436512[_0x2e756f(0x112)]())[_0x2e756f(0x108)](_0x437d60=>_0x579d5c[_0x2e756f(0x130)](_0x437d60));_0x12cd7e[_0x2e756f(0x114)](_0x4d94dc),_0x144895[_0x2e756f(0x169)][_0x2e756f(0x11b)](_0x2e756f(0x10c))[_0x2e756f(0x12c)](),_0x144895[_0x2e756f(0x119)](_0x2e756f(0x10c),{'forceDefaultExecution':!0x0});const _0x4df5f7=_0x223f30[_0x2e756f(0x168)](_0x3c61dd=>_0x2e756f(0x15c)!=_0x3c61dd[_0x2e756f(0x12f)][_0x2e756f(0x139)]);_0x4df5f7[_0x2e756f(0x15a)]>0x0&&_0x12cd7e[_0x2e756f(0x114)](_0x4df5f7);for(const _0x952dc7 of _0x223f30)_0x952dc7[_0x2e756f(0x14b)]();});});for(const _0x5c5e4f of[_0x2b2b08(0x111),_0x2b2b08(0x163),_0x2b2b08(0x116),_0x2b2b08(0x148)]){const _0x135679=_0x144895[_0x2b2b08(0x169)][_0x2b2b08(0x11b)](_0x5c5e4f);_0x135679['on'](_0x2b2b08(0x137),(_0x5dff00,_0xb08068,_0x45516d)=>{const _0x10bfef=_0x2b2b08;if(_0x45516d){const _0x135331=_0x144895[_0x10bfef(0x13d)][_0x10bfef(0x161)][_0x10bfef(0x126)][_0x10bfef(0x155)]()[_0x10bfef(0x123)]()[_0x10bfef(0x15e)](_0x5bd122=>_0x5bd122['is'](_0x10bfef(0x153),_0x10bfef(0x147)));this[_0x10bfef(0x128)](_0x135679[_0x10bfef(0x14c)],_0x135331)||(_0x5dff00[_0x10bfef(0x14a)]=!0x1,_0x5dff00[_0x10bfef(0x12d)]());}},{'priority':_0x2b2b08(0x115)});}}[_0x4a97b5(0x154)](){const _0x426852=_0x4a97b5,_0xb0c864=this[_0x426852(0x10b)][_0x426852(0x169)][_0x426852(0x11b)](_0x426852(0x10c)),_0x265a79=this[_0x426852(0x10b)][_0x426852(0x133)][_0x426852(0x11b)](_0x426852(0x13a));if(!_0xb0c864[_0x426852(0x152)])return!0x1;const _0x2c24c1=_0x265a79[_0x426852(0x135)](this[_0x426852(0x10b)][_0x426852(0x13d)][_0x426852(0x161)][_0x426852(0x126)]);for(const _0x51130d of _0x2c24c1)for(const _0x4900fe of _0x2c24c1)if(_0x51130d!=_0x4900fe&&!this[_0x426852(0x128)](_0x51130d,_0x4900fe))return!0x1;return!0x0;}[_0x4a97b5(0x128)](_0x1c0405,_0x14312f){const _0x233e2a=_0x4a97b5,_0x1349e0=this[_0x233e2a(0x10b)][_0x233e2a(0x133)][_0x233e2a(0x11b)](_0x233e2a(0x136)),_0x3f75e3=this[_0x233e2a(0x10b)][_0x233e2a(0x13d)][_0x233e2a(0x167)](_0x1c0405),_0x563c8e=this[_0x233e2a(0x10b)][_0x233e2a(0x13d)][_0x233e2a(0x167)](_0x14312f),_0x30eede=new Set(),_0x244ec2=new Set();for(const _0x4a3798 of _0x1349e0[_0x233e2a(0x15d)]())if((_0x233e2a(0x129)==_0x4a3798[_0x233e2a(0x121)]||_0x233e2a(0x11d)==_0x4a3798[_0x233e2a(0x121)]||_0x233e2a(0x10c)==_0x4a3798[_0x233e2a(0x109)])&&_0x4a3798[_0x233e2a(0x11a)]){for(const _0x58ba30 of _0x4a3798[_0x233e2a(0x112)]())_0x58ba30[_0x233e2a(0x16a)](_0x3f75e3,!0x0)&&_0x30eede[_0x233e2a(0x10d)](_0x4a3798[_0x233e2a(0x121)]+':'+_0x4a3798[_0x233e2a(0x138)]['id']),_0x58ba30[_0x233e2a(0x16a)](_0x563c8e,!0x0)&&_0x244ec2[_0x233e2a(0x10d)](_0x4a3798[_0x233e2a(0x121)]+':'+_0x4a3798[_0x233e2a(0x138)]['id']);}if(_0x30eede[_0x233e2a(0x11e)]!=_0x244ec2[_0x233e2a(0x11e)])return!0x1;for(const _0x436738 of _0x30eede)if(!_0x244ec2[_0x233e2a(0x150)](_0x436738))return!0x1;return!0x0;}}function _0x2993(){const _0x1315b4=['enableCommand','createRangeOn','filter','commands','containsRange','map','subType','splitTableCellVertically','editor','mergeTableCells','add','accept','*Merge\x20cells*','7tvYVWR','mergeTableCellUp','getRanges','table','setSelection','low','mergeTableCellLeft','820QqYIRz','_tablePostFixingSubtypes','execute','isInContent','get','TableEditing','deletion','size','*Split\x20cell:*\x20horizontally','change','type','_acceptFormatSuggestionCallbackFactory','getAncestors','639130oZSDbO','_isForcedDefaultExecutionBlock','selection','format','_areMergableCells','insertion','requires','horizontally','refresh','stop','push','root','fromRange','_suggestionFactory','890482WhtfPK','plugins','markMultiRangeBlockFormat','getSelectionAffectedTableCells','TrackChangesEditing','set:isEnabled','author','rootName','TableUtils','cell','commandName','model','36ynFxmj','formatBlock','descriptionFactory','5330478QSsFua','from','locale','registerDescriptionCallback','9624050wUWHje','createTableWalker','tableCell','mergeTableCellRight','afterInit','return','detach','value','2244789YQVQwS','*Split\x20cell:*\x20vertically','markBlockFormat','has','direction','isEnabled','element','_areSelectedCellsMergable','getFirstPosition','splitTableCellHorizontally','150816AbHKJQ','13585FoZsHA','formatInline','length','forceDefaultExecution','$graveyard','getSuggestions','find','trackChanges','getCellLocation','document','findAncestor','mergeTableCellDown','highest','registerCustomCallback'];_0x2993=function(){return _0x1315b4;};return _0x2993();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6da9ba=_0x1f77;(function(_0x221170,_0x59e7b1){const _0x24ec74=_0x1f77,_0x26b9e8=_0x221170();while(!![]){try{const _0x4aab5b=parseInt(_0x24ec74(0x81))/0x1*(-parseInt(_0x24ec74(0x93))/0x2)+parseInt(_0x24ec74(0x92))/0x3*(parseInt(_0x24ec74(0x87))/0x4)+parseInt(_0x24ec74(0x91))/0x5+-parseInt(_0x24ec74(0x96))/0x6*(-parseInt(_0x24ec74(0x80))/0x7)+-parseInt(_0x24ec74(0x90))/0x8+-parseInt(_0x24ec74(0x86))/0x9*(-parseInt(_0x24ec74(0x95))/0xa)+parseInt(_0x24ec74(0x8a))/0xb*(-parseInt(_0x24ec74(0x85))/0xc);if(_0x4aab5b===_0x59e7b1)break;else _0x26b9e8['push'](_0x26b9e8['shift']());}catch(_0x310a6e){_0x26b9e8['push'](_0x26b9e8['shift']());}}}(_0x42ae,0x2511a));function _0x1f77(_0x339177,_0xf8337e){const _0x42aec0=_0x42ae();return _0x1f77=function(_0x1f7714,_0x5c6298){_0x1f7714=_0x1f7714-0x7f;let _0x55e375=_0x42aec0[_0x1f7714];return _0x55e375;},_0x1f77(_0x339177,_0xf8337e);}import{Plugin as _0x346662}from'ckeditor5/src/core.js';import{getTranslation as _0x1de503}from'../utils/common-translations.js';function _0x42ae(){const _0x182a87=['63hmnprK','98981pIshSZ','afterInit','editor','ELEMENT_TABLE_OF_CONTENTS','12eGzbNo','6606pPTeTt','28OQePFp','registerElementLabel','TrackChangesEditing','87065rpEOkY','commands','tableOfContents','locale','enableCommand','insertTableOfContents','1646280oCZaGP','1105460oJsyjS','37956cRmkqB','6ArvQlR','descriptionFactory','780jeLIfo','197046RWMPpu','get','plugins'];_0x42ae=function(){return _0x182a87;};return _0x42ae();}export default class _t extends _0x346662{[_0x6da9ba(0x82)](){const _0x2273d6=_0x6da9ba,_0x11fa65=this[_0x2273d6(0x83)];if(!_0x11fa65[_0x2273d6(0x8b)][_0x2273d6(0x97)](_0x2273d6(0x8f)))return;_0x11fa65[_0x2273d6(0x7f)][_0x2273d6(0x97)](_0x2273d6(0x89))[_0x2273d6(0x8e)](_0x2273d6(0x8f));const _0x348b47=_0x11fa65[_0x2273d6(0x7f)][_0x2273d6(0x97)](_0x2273d6(0x89)),_0x25b21f=_0x11fa65[_0x2273d6(0x8d)];_0x348b47[_0x2273d6(0x94)][_0x2273d6(0x88)](_0x2273d6(0x8c),_0x4594c1=>_0x1de503(_0x25b21f,_0x2273d6(0x84),_0x4594c1));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xe6ac(){const _0x851c42=['has','_suggestionFactory','enableCommand','702597HqedWR','tableCellBorderStyle','tableCellHeight','358xzUMjS','join','TableUtils','editor','tableCellBorderColor','removeAttribute','data','getFirstPosition','39780knKdhq','tableCellPadding','15wQTUFW','locale','afterInit','descriptionFactory','discard','tableAlignment','getSelectionAffectedTableCells','enqueueChange','tableCellBorderWidth','TableCellPropertiesEditing','pluginName','115242HMTBii','handleDiscardAction','tableWidth','TrackChangesTableProperties','getSuggestions','*Format:*\x20change\x20table\x20properties','getSuggestionCallback','batch','*Format:*\x20change\x20table\x20cell\x20properties','commandParams','registerCustomCallback','TablePropertiesEditing','get','model','2529NOdJmG','1831186pwsWhD','nodeAfter','4875416VAKZZu','setAttribute','formatBlock','getAttribute','TrackChangesEditing','tableCellBackgroundColor','selection','document','subType','423uBUbJe','tableHeight','tableCellHorizontalAlignment','tableBorderColor','accept','start','12PwASgI','plugins','_getSuggestion','tableCellProperties','tableBackgroundColor','findAncestor','_handlePropertyChange','getContainedElement','tableCellVerticalAlignment','change','tableProperties','table','tableCellWidth','6435462MmdXTB','handleSuggestionDescription','tableBorderStyle','registerDescriptionCallback','format','markBlockFormat','tableBorderWidth'];_0xe6ac=function(){return _0x851c42;};return _0xe6ac();}const _0x4849c3=_0x1c02;(function(_0x5219e9,_0x4e2bf6){const _0xc26254=_0x1c02,_0x3927a2=_0x5219e9();while(!![]){try{const _0x2b768e=-parseInt(_0xc26254(0x11b))/0x1*(-parseInt(_0xc26254(0x147))/0x2)+parseInt(_0xc26254(0x144))/0x3*(parseInt(_0xc26254(0x12d))/0x4)+-parseInt(_0xc26254(0x151))/0x5*(parseInt(_0xc26254(0x15c))/0x6)+parseInt(_0xc26254(0x11c))/0x7+-parseInt(_0xc26254(0x11e))/0x8+parseInt(_0xc26254(0x127))/0x9*(parseInt(_0xc26254(0x14f))/0xa)+-parseInt(_0xc26254(0x13a))/0xb;if(_0x2b768e===_0x4e2bf6)break;else _0x3927a2['push'](_0x3927a2['shift']());}catch(_0xc80834){_0x3927a2['push'](_0x3927a2['shift']());}}}(_0xe6ac,0x55e12));function _0x1c02(_0x53a341,_0x412bd1){const _0xe6ac68=_0xe6ac();return _0x1c02=function(_0x1c02ff,_0x41af9d){_0x1c02ff=_0x1c02ff-0x110;let _0x26bbc3=_0xe6ac68[_0x1c02ff];return _0x26bbc3;},_0x1c02(_0x53a341,_0x412bd1);}import{Plugin as _0x3f9a16}from'ckeditor5/src/core.js';import{getTranslation as _0xb28851}from'../utils/common-translations.js';export default class $t extends _0x3f9a16{constructor(_0x10faf3){const _0x3b9e9a=_0x1c02;super(_0x10faf3),this[_0x3b9e9a(0x137)]=[_0x3b9e9a(0x12a),_0x3b9e9a(0x13c),_0x3b9e9a(0x140),_0x3b9e9a(0x156),_0x3b9e9a(0x15e),_0x3b9e9a(0x128),_0x3b9e9a(0x131)],this[_0x3b9e9a(0x130)]=[_0x3b9e9a(0x14b),_0x3b9e9a(0x145),_0x3b9e9a(0x159),_0x3b9e9a(0x150),_0x3b9e9a(0x139),_0x3b9e9a(0x146),_0x3b9e9a(0x123),_0x3b9e9a(0x129),_0x3b9e9a(0x135)];}static get[_0x4849c3(0x15b)](){const _0xde5759=_0x4849c3;return _0xde5759(0x110);}[_0x4849c3(0x153)](){const _0x51c9ab=_0x4849c3,_0x485e88=this[_0x51c9ab(0x14a)][_0x51c9ab(0x12e)][_0x51c9ab(0x119)](_0x51c9ab(0x122));if(this[_0x51c9ab(0x14a)][_0x51c9ab(0x12e)][_0x51c9ab(0x141)](_0x51c9ab(0x118))){for(const _0x5d0e35 of this[_0x51c9ab(0x137)])_0x485e88[_0x51c9ab(0x143)](_0x5d0e35,(_0x4291ee,_0x4f596d)=>{const _0x1031ed=_0x51c9ab,_0x5046ba=this[_0x1031ed(0x14a)][_0x1031ed(0x11a)][_0x1031ed(0x125)][_0x1031ed(0x124)][_0x1031ed(0x14e)]()[_0x1031ed(0x132)](_0x1031ed(0x138));this[_0x1031ed(0x133)](_0x5d0e35,[_0x5046ba],this[_0x1031ed(0x137)],_0x1031ed(0x137),_0x4291ee,_0x4f596d);});_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x137),_0x51c9ab(0x12b),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x113)](_0x51c9ab(0x120),null,_0x51c9ab(0x155))),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x137),_0x51c9ab(0x155),(_0x272343,_0xb229d)=>this[_0x51c9ab(0x15d)](this[_0x51c9ab(0x137)],_0x272343,_0xb229d)),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x137),_0x51c9ab(0x148),()=>!0x1);}if(this[_0x51c9ab(0x14a)][_0x51c9ab(0x12e)][_0x51c9ab(0x141)](_0x51c9ab(0x15a))){for(const _0xd36053 of this[_0x51c9ab(0x130)])_0x485e88[_0x51c9ab(0x143)](_0xd36053,(_0x4604c3,_0x963b37)=>{const _0x4a44f3=_0x51c9ab,_0x204fe7=this[_0x4a44f3(0x14a)][_0x4a44f3(0x12e)][_0x4a44f3(0x119)](_0x4a44f3(0x149))[_0x4a44f3(0x157)](this[_0x4a44f3(0x14a)][_0x4a44f3(0x11a)][_0x4a44f3(0x125)][_0x4a44f3(0x124)]);this[_0x4a44f3(0x133)](_0xd36053,_0x204fe7,this[_0x4a44f3(0x130)],_0x4a44f3(0x130),_0x4604c3,_0x963b37);});_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x130),_0x51c9ab(0x12b),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x113)](_0x51c9ab(0x120),null,_0x51c9ab(0x155))),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x130),_0x51c9ab(0x155),(_0x21ac9b,_0x2ba5a6)=>this[_0x51c9ab(0x15d)](this[_0x51c9ab(0x130)],_0x21ac9b,_0x2ba5a6)),_0x485e88[_0x51c9ab(0x142)][_0x51c9ab(0x117)](_0x51c9ab(0x120),_0x51c9ab(0x130),_0x51c9ab(0x148),()=>!0x1);}_0x485e88[_0x51c9ab(0x154)][_0x51c9ab(0x13d)](_0x3715de=>this[_0x51c9ab(0x13b)](_0x3715de));}[_0x4849c3(0x133)](_0x48da61,_0x500c98,_0x54c5ba,_0x431d4e,_0x34606b,_0x1a596a){const _0x4d3825=_0x4849c3,_0x3bef7d=this[_0x4d3825(0x14a)][_0x4d3825(0x12e)][_0x4d3825(0x119)](_0x4d3825(0x122));this[_0x4d3825(0x14a)][_0x4d3825(0x11a)][_0x4d3825(0x158)](_0x1a596a[_0x4d3825(0x114)],()=>{const _0x9cf697=_0x4d3825;for(const _0x28e629 of _0x500c98){if(this[_0x9cf697(0x12f)](_0x28e629,_0x431d4e))_0x34606b(_0x1a596a);else{const _0x383f19={};for(const _0x4390fa of _0x54c5ba){const _0x18866b=_0x28e629[_0x9cf697(0x121)](_0x4390fa);void 0x0!==_0x18866b&&(_0x383f19[_0x4390fa]=_0x18866b);}_0x34606b(_0x1a596a),_0x3bef7d[_0x9cf697(0x13f)](_0x28e629,{'commandParams':[_0x383f19]},[],_0x431d4e);}}});}[_0x4849c3(0x15d)](_0x1c5303,_0x59b6d7,_0x844da6){const _0x276bdf=_0x4849c3,_0x2d82c8=_0x59b6d7[0x0][_0x276bdf(0x12c)][_0x276bdf(0x11d)],_0x56cfe3=_0x844da6[_0x276bdf(0x116)][0x0];this[_0x276bdf(0x14a)][_0x276bdf(0x11a)][_0x276bdf(0x136)](_0xc12931=>{const _0x470836=_0x276bdf;for(const _0x3089fc of _0x1c5303)void 0x0!==_0x56cfe3[_0x3089fc]?_0xc12931[_0x470836(0x11f)](_0x3089fc,_0x56cfe3[_0x3089fc],_0x2d82c8):_0xc12931[_0x470836(0x14c)](_0x3089fc,_0x2d82c8);});}[_0x4849c3(0x13b)](_0x2439f5){const _0x3542d4=_0x4849c3;if(_0x2439f5[_0x3542d4(0x14d)])switch(_0x2439f5[_0x3542d4(0x126)]){case _0x3542d4(0x137):return{'type':_0x3542d4(0x13e),'content':_0xb28851(this[_0x3542d4(0x14a)][_0x3542d4(0x152)],_0x3542d4(0x112))};case _0x3542d4(0x130):return{'type':_0x3542d4(0x13e),'content':_0xb28851(this[_0x3542d4(0x14a)][_0x3542d4(0x152)],_0x3542d4(0x115))};}}[_0x4849c3(0x12f)](_0x766abd,_0x4dff93){const _0x16159=_0x4849c3,_0x1f4c71=this[_0x16159(0x14a)][_0x16159(0x12e)][_0x16159(0x119)](_0x16159(0x122));for(const _0x22d929 of _0x1f4c71[_0x16159(0x111)]({'skipNotAttached':!0x0})){const _0x4a55fd=_0x22d929[_0x16159(0x134)]();if(_0x22d929[_0x16159(0x126)]===_0x4dff93&&_0x4a55fd===_0x766abd)return _0x22d929;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd1079b=_0x514d;function _0x514d(_0x44c079,_0x5763d9){const _0x1bbf8f=_0x1bbf();return _0x514d=function(_0x514d18,_0x4bdfa1){_0x514d18=_0x514d18-0xa2;let _0x597c4d=_0x1bbf8f[_0x514d18];return _0x597c4d;},_0x514d(_0x44c079,_0x5763d9);}(function(_0x1ac30e,_0x215f63){const _0x10469b=_0x514d,_0x73d933=_0x1ac30e();while(!![]){try{const _0x5f24d0=parseInt(_0x10469b(0xa6))/0x1+parseInt(_0x10469b(0xa5))/0x2+-parseInt(_0x10469b(0xaf))/0x3+parseInt(_0x10469b(0xa3))/0x4*(-parseInt(_0x10469b(0xb0))/0x5)+parseInt(_0x10469b(0xac))/0x6+parseInt(_0x10469b(0xa8))/0x7+-parseInt(_0x10469b(0xae))/0x8;if(_0x5f24d0===_0x215f63)break;else _0x73d933['push'](_0x73d933['shift']());}catch(_0x4fa629){_0x73d933['push'](_0x73d933['shift']());}}}(_0x1bbf,0x397fa));function _0x1bbf(){const _0x78af63=['TrackChangesEditing','799978xtAiKX','160098OGcOyP','Template','2213519yJOcDY','plugins','enableCommand','afterInit','2392962bnNkYP','editor','3934152iPGbGp','487014YSqFSD','5JMUsZW','get','has','insertTemplate','1542040eITFIS'];_0x1bbf=function(){return _0x78af63;};return _0x1bbf();}import{Plugin as _0x329d8f}from'ckeditor5/src/core.js';export default class Ct extends _0x329d8f{[_0xd1079b(0xab)](){const _0x320865=_0xd1079b,_0xe60048=this[_0x320865(0xad)];_0xe60048[_0x320865(0xa9)][_0x320865(0xb2)](_0x320865(0xa7))&&_0xe60048[_0x320865(0xa9)][_0x320865(0xb1)](_0x320865(0xa4))[_0x320865(0xaa)](_0x320865(0xa2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1e9d(_0x18077d,_0x4236dc){const _0x4bac70=_0x4bac();return _0x1e9d=function(_0x1e9d40,_0x46df74){_0x1e9d40=_0x1e9d40-0x129;let _0x48399e=_0x4bac70[_0x1e9d40];return _0x48399e;},_0x1e9d(_0x18077d,_0x4236dc);}const _0x4441f2=_0x1e9d;(function(_0x48ad40,_0x5b8474){const _0x578396=_0x1e9d,_0x275bbe=_0x48ad40();while(!![]){try{const _0x134e60=parseInt(_0x578396(0x130))/0x1*(parseInt(_0x578396(0x147))/0x2)+parseInt(_0x578396(0x134))/0x3*(parseInt(_0x578396(0x154))/0x4)+-parseInt(_0x578396(0x143))/0x5*(-parseInt(_0x578396(0x136))/0x6)+parseInt(_0x578396(0x144))/0x7*(-parseInt(_0x578396(0x13b))/0x8)+-parseInt(_0x578396(0x132))/0x9+-parseInt(_0x578396(0x12e))/0xa+parseInt(_0x578396(0x137))/0xb;if(_0x134e60===_0x5b8474)break;else _0x275bbe['push'](_0x275bbe['shift']());}catch(_0x2dcc16){_0x275bbe['push'](_0x275bbe['shift']());}}}(_0x4bac,0x764e2));import{Plugin as _0x5c9b4b}from'ckeditor5/src/core.js';import{getTranslation as _0x3e8bb4}from'../utils/common-translations.js';function _0x4bac(){const _0x57a2a6=['registerPostFixer','433816UOAiJl','isTouching','from','createRange','afterInit','element','end','isEqual','getNearestSelectionRange','removeMarker','ELEMENT_TITLE','_splitMarkerName','plugins','76NQdkCy','isCollapsed','editor','model','document','schema','suggestion','598630brAwPH','descriptionFactory','1PYnniC','Title','6264711goXwhu','start','26106zeNXmU','newRange','11718vYlUHG','5438664lNaahU','title-content','getChangedMarkers','forward','4385608kCfxbX','locale','nodeBefore','differ','has','get','registerElementLabel','updateMarker','2335qSQPVu','7VGnABh','TrackChangesEditing'];_0x4bac=function(){return _0x57a2a6;};return _0x4bac();}export default class Dt extends _0x5c9b4b{[_0x4441f2(0x14b)](){const _0x5e5107=_0x4441f2,_0x36b015=this[_0x5e5107(0x129)];if(!_0x36b015[_0x5e5107(0x153)][_0x5e5107(0x13f)](_0x5e5107(0x131)))return;const _0x13e13b=_0x36b015[_0x5e5107(0x153)][_0x5e5107(0x140)](_0x5e5107(0x145));_0x13e13b[_0x5e5107(0x12f)][_0x5e5107(0x141)](_0x5e5107(0x138),()=>_0x3e8bb4(_0x36b015[_0x5e5107(0x13c)],_0x5e5107(0x151))),_0x36b015[_0x5e5107(0x12a)][_0x5e5107(0x12b)][_0x5e5107(0x146)](_0xb44fcc=>{const _0x36fa2c=_0x5e5107;let _0x3b9eab=!0x1;const _0x47bb03=Array[_0x36fa2c(0x149)](_0x36b015[_0x36fa2c(0x12a)][_0x36fa2c(0x12b)][_0x36fa2c(0x13e)][_0x36fa2c(0x139)]());for(const {name:_0x50b61e,data:_0x1e67cc}of _0x47bb03){const {group:_0x446788}=_0x13e13b[_0x36fa2c(0x152)](_0x50b61e);if(_0x36fa2c(0x12d)!==_0x446788||!_0x1e67cc[_0x36fa2c(0x135)])continue;const _0x1abfad=_0x1e67cc[_0x36fa2c(0x135)],_0x16a697=_0x1abfad[_0x36fa2c(0x14d)][_0x36fa2c(0x13d)];if(!_0x16a697||!_0x16a697['is'](_0x36fa2c(0x14c),_0x36fa2c(0x138)))continue;if(!_0x1abfad[_0x36fa2c(0x133)][_0x36fa2c(0x148)](_0x1abfad[_0x36fa2c(0x14d)]))continue;const _0x4c68f2=_0x36b015[_0x36fa2c(0x12a)][_0x36fa2c(0x12c)][_0x36fa2c(0x14f)](_0x1abfad[_0x36fa2c(0x14d)],_0x36fa2c(0x13a));if(_0x4c68f2&&_0x4c68f2[_0x36fa2c(0x155)]){const _0x32d0a3=_0xb44fcc[_0x36fa2c(0x14a)](_0x1abfad[_0x36fa2c(0x133)],_0x4c68f2[_0x36fa2c(0x133)]);_0x32d0a3[_0x36fa2c(0x14e)](_0x1abfad)||(_0xb44fcc[_0x36fa2c(0x142)](_0x50b61e,{'range':_0x32d0a3}),_0x3b9eab=!0x0);}_0x3b9eab||(_0xb44fcc[_0x36fa2c(0x150)](_0x50b61e),_0x3b9eab=!0x0);}return _0x3b9eab;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x402793=_0x46ce;function _0x5b09(){const _0x2c7ab1=['6pcihEM','926496galRnv','24CItZFT','24NmQQnv','undo','3607898kcAkDY','441nZFFKl','274479PcuMMa','afterInit','editor','34AZjawC','495340wfNvZk','771551KReBlK','enableCommand','211830zHUtQr','UndoEditing','get','redo','plugins','TrackChangesEditing','has'];_0x5b09=function(){return _0x2c7ab1;};return _0x5b09();}function _0x46ce(_0x589131,_0x4449e1){const _0x5b0915=_0x5b09();return _0x46ce=function(_0x46ce2a,_0xb2eeba){_0x46ce2a=_0x46ce2a-0xfb;let _0x16a951=_0x5b0915[_0x46ce2a];return _0x16a951;},_0x46ce(_0x589131,_0x4449e1);}(function(_0x2a431f,_0x1d24b1){const _0x58cd89=_0x46ce,_0x12a5b9=_0x2a431f();while(!![]){try{const _0x2d7719=parseInt(_0x58cd89(0x100))/0x1*(parseInt(_0x58cd89(0x104))/0x2)+-parseInt(_0x58cd89(0x101))/0x3*(parseInt(_0x58cd89(0xfc))/0x4)+-parseInt(_0x58cd89(0x105))/0x5*(parseInt(_0x58cd89(0x10f))/0x6)+parseInt(_0x58cd89(0xff))/0x7+-parseInt(_0x58cd89(0xfd))/0x8*(-parseInt(_0x58cd89(0xfb))/0x9)+parseInt(_0x58cd89(0x108))/0xa+parseInt(_0x58cd89(0x106))/0xb;if(_0x2d7719===_0x1d24b1)break;else _0x12a5b9['push'](_0x12a5b9['shift']());}catch(_0x545417){_0x12a5b9['push'](_0x12a5b9['shift']());}}}(_0x5b09,0x43261));import{Plugin as _0x25c2b3}from'ckeditor5/src/core.js';export default class Nt extends _0x25c2b3{[_0x402793(0x102)](){const _0x1358f5=_0x402793,_0x288a5a=this[_0x1358f5(0x103)],_0x3f091c=_0x288a5a[_0x1358f5(0x10c)][_0x1358f5(0x10a)](_0x1358f5(0x10d));_0x288a5a[_0x1358f5(0x10c)][_0x1358f5(0x10e)](_0x1358f5(0x109))&&(_0x3f091c[_0x1358f5(0x107)](_0x1358f5(0xfe)),_0x3f091c[_0x1358f5(0x107)](_0x1358f5(0x10b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1583(_0x597f6f,_0x3cb262){const _0x538745=_0x5387();return _0x1583=function(_0x15836d,_0x161fd5){_0x15836d=_0x15836d-0xcc;let _0x367826=_0x538745[_0x15836d];return _0x367826;},_0x1583(_0x597f6f,_0x3cb262);}(function(_0x33ffd6,_0x1180cd){const _0x39844c=_0x1583,_0x1e82bf=_0x33ffd6();while(!![]){try{const _0x40c9d4=-parseInt(_0x39844c(0xdb))/0x1*(parseInt(_0x39844c(0xeb))/0x2)+-parseInt(_0x39844c(0x100))/0x3*(-parseInt(_0x39844c(0xf0))/0x4)+parseInt(_0x39844c(0xe0))/0x5*(parseInt(_0x39844c(0xfd))/0x6)+parseInt(_0x39844c(0xde))/0x7*(parseInt(_0x39844c(0xf8))/0x8)+-parseInt(_0x39844c(0xe8))/0x9+-parseInt(_0x39844c(0xf9))/0xa*(-parseInt(_0x39844c(0xd6))/0xb)+parseInt(_0x39844c(0xed))/0xc*(-parseInt(_0x39844c(0xf7))/0xd);if(_0x40c9d4===_0x1180cd)break;else _0x1e82bf['push'](_0x1e82bf['shift']());}catch(_0x21b536){_0x1e82bf['push'](_0x1e82bf['shift']());}}}(_0x5387,0x7a417));export function getRangesWithAttribute(_0x56f728,_0x27ada5,_0x7e695){const _0x1d4e5b=_0x1583,_0x55cebf=[];for(const _0x331b15 of _0x27ada5[_0x1d4e5b(0xd8)]())_0x331b15[_0x1d4e5b(0xd9)](_0x56f728)&&_0x55cebf[_0x1d4e5b(0xd2)](_0x7e695[_0x1d4e5b(0xcc)](_0x331b15));return _0x55cebf;}function _0x5387(){const _0x2b2326=['hasAttribute','includes','605DdaDpY','bindElementToMarker','isAtEnd','133AizWug','toViewElement','328355NajKKY','isBlock','previousPosition','isContent','markerName','activeMarkers','test','insert','62559SDknjv','consumable','schema','1444JFsAgT','getCustomProperty','6564276ununOn','toViewPosition','name','212LDABNu','ck-suggestion-marker-','markerRange','elementEnd','createUIElement','writer','get','13pSAsUD','421128JmHRii','70AksWqn','ck-suggestion-marker--active','getWalker','span','12hBUlSh','TrackChangesEditing','start','11181YVpTkx','type','createRangeOn','addHighlight','item','addClass','model','parent','push','plugins','isLimit','nextSibling','255343ZogzIS','mapper','getItems'];_0x5387=function(){return _0x2b2326;};return _0x5387();}export function downcastSplitMergeMarker(_0x205ec2,_0xa31a6e,{showActiveMarker:_0x2c66c=!0x0}={}){const _0x4b61f2=_0x1583,_0x100e4c=_0x205ec2[_0x4b61f2(0xd3)][_0x4b61f2(0xf6)](_0x4b61f2(0xfe));return(_0x38e3b8,_0x5d8c1c,_0x67e067)=>{const _0x7e0f7a=_0x4b61f2;if(!_0x67e067[_0x7e0f7a(0xe9)][_0x7e0f7a(0xe6)](_0x5d8c1c[_0x7e0f7a(0xf2)],_0x38e3b8[_0x7e0f7a(0xef)]))return;const _0xb1c56=_0x5d8c1c[_0x7e0f7a(0xf2)][_0x7e0f7a(0xfb)](),_0x42008c=_0x5d8c1c[_0x7e0f7a(0xf2)][_0x7e0f7a(0xff)],_0x58b55e=_0x205ec2[_0x7e0f7a(0xd0)][_0x7e0f7a(0xea)];let _0x4c8484=null,_0x28a335=null,_0x249196=!0x1,_0x17f735=!0x1;for(const _0x2ddffe of _0xb1c56){const _0x40194e=_0x2ddffe[_0x7e0f7a(0xce)];_0x249196=_0x249196||_0x58b55e[_0x7e0f7a(0xe3)](_0x40194e);const _0x557bf4=_0x67e067[_0x7e0f7a(0xd7)][_0x7e0f7a(0xdf)](_0x40194e);if(_0x557bf4&&_0x557bf4[_0x7e0f7a(0xec)](_0x7e0f7a(0xcd)))return;_0x7e0f7a(0xf3)==_0x2ddffe[_0x7e0f7a(0x101)]&&(_0x58b55e[_0x7e0f7a(0xe1)](_0x40194e)&&!_0x58b55e[_0x7e0f7a(0xd4)](_0x40194e)&&(_0x40194e[_0x7e0f7a(0xd5)]||_0x42008c[_0x7e0f7a(0xdd)]?_0x4c8484&&_0x4c8484[_0x7e0f7a(0xd1)]==_0x40194e||(_0x4c8484=_0x40194e,_0x387967(_0x2ddffe[_0x7e0f7a(0xe2)]),_0x17f735=!0x0):_0x28a335=_0x28a335||_0x2ddffe[_0x7e0f7a(0xe2)]));}function _0x387967(_0x16d2ac){const _0x4234cd=_0x7e0f7a,_0x39e368=_0x67e067[_0x4234cd(0xf5)][_0x4234cd(0xf4)](_0x4234cd(0xfc),{'class':_0x4234cd(0xf1)+_0xa31a6e}),_0xd55099=_0x67e067[_0x4234cd(0xd7)][_0x4234cd(0xee)](_0x16d2ac);_0x2c66c&&_0x100e4c[_0x4234cd(0xe5)][_0x4234cd(0xda)](_0x5d8c1c[_0x4234cd(0xe4)])&&_0x67e067[_0x4234cd(0xf5)][_0x4234cd(0xcf)](_0x4234cd(0xfa),_0x39e368),_0x67e067[_0x4234cd(0xf5)][_0x4234cd(0xe7)](_0xd55099,_0x39e368),_0x67e067[_0x4234cd(0xd7)][_0x4234cd(0xdc)](_0x39e368,_0x5d8c1c[_0x4234cd(0xe4)]);}_0x249196||_0x17f735||!_0x28a335||_0x387967(_0x28a335);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1b2d(_0x3058b1,_0x242c39){const _0x3844c5=_0x3844();return _0x1b2d=function(_0x1b2dcc,_0x4e2951){_0x1b2dcc=_0x1b2dcc-0x76;let _0x4871ef=_0x3844c5[_0x1b2dcc];return _0x4871ef;},_0x1b2d(_0x3058b1,_0x242c39);}const _0x489f16=_0x1b2d;function _0x3844(){const _0x490f7d=['markers','isMultiRange','push','author','1560402lPuova','createdAt','590513fhLWpl','_onAccept','nodeAfter','getMultiRangeId','isIntersecting','getFirstRange','30RbjboI','70HmFwQd','_model','onDiscard','from','filter','removeMarker','commentThread','8wYLutM','substr','getContainedElement','getAllAdjacentSuggestions','isInContent','end','getRanges','1149faLrOH','reduce','isExternal','addRange','head','map','setAttribute','suggestion:','attributes','data','get','_markerNames','_onDiscard','6596kKjuBs','onAccept','change','_onAttributesChange','discard','authoredAt','getMarkers','size','605358CMJIIS','split','246808ybslch','delete','removeMarkers','getRange','subType','addMarker','getMarkerNames','set','type','length','next','nodeBefore','_isDataLoaded','onAttributesChange','removeAttribute','decorate','add','toJSON','start','getFirstMarker','hasComments','@external','isIntersectingWithRange','75360KasFeR','accept','52008MtoVGN','getItems','clear','creator','_saved','previous','addMarkerName'];_0x3844=function(){return _0x490f7d;};return _0x3844();}(function(_0x27bb20,_0x290126){const _0x3c0edb=_0x1b2d,_0x5c89e3=_0x27bb20();while(!![]){try{const _0x3d3ec4=parseInt(_0x3c0edb(0xbe))/0x1+parseInt(_0x3c0edb(0xc0))/0x2+parseInt(_0x3c0edb(0xa9))/0x3*(-parseInt(_0x3c0edb(0xb6))/0x4)+parseInt(_0x3c0edb(0x9b))/0x5*(parseInt(_0x3c0edb(0x85))/0x6)+-parseInt(_0x3c0edb(0x94))/0x7*(parseInt(_0x3c0edb(0xa2))/0x8)+parseInt(_0x3c0edb(0x92))/0x9+-parseInt(_0x3c0edb(0x9a))/0xa*(parseInt(_0x3c0edb(0x87))/0xb);if(_0x3d3ec4===_0x290126)break;else _0x5c89e3['push'](_0x5c89e3['shift']());}catch(_0x13c9dc){_0x5c89e3['push'](_0x5c89e3['shift']());}}}(_0x3844,0x54ede));import{Element as _0x2da97d}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x52b2e0,uid as _0x13bfda}from'ckeditor5/src/utils.js';import{cloneDeep as _0x383526,isEqual as _0x574941,set as _0x305b14,unset as _0x357cfd}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52b2e0(){constructor(_0x3c31cc,_0x36761e){const _0x2c460e=_0x1b2d;super(),this[_0x2c460e(0x7a)]=!0x1,this['id']=_0x36761e['id'],this[_0x2c460e(0x76)]=_0x36761e[_0x2c460e(0x76)],this[_0x2c460e(0xc4)]=_0x36761e[_0x2c460e(0xc4)]||null,this[_0x2c460e(0x91)]=_0x36761e[_0x2c460e(0x91)],this[_0x2c460e(0x8a)]=_0x36761e[_0x2c460e(0x8a)]||_0x36761e[_0x2c460e(0x91)],this[_0x2c460e(0xab)]=Boolean(_0x36761e[_0x2c460e(0xb1)]&&_0x36761e[_0x2c460e(0xb1)][_0x2c460e(0x83)]),this[_0x2c460e(0xb2)]=null,this[_0x2c460e(0x9c)]=_0x3c31cc,this[_0x2c460e(0x95)]=_0x36761e[_0x2c460e(0xb7)],this[_0x2c460e(0xb5)]=_0x36761e[_0x2c460e(0x9d)],this[_0x2c460e(0xb9)]=_0x36761e[_0x2c460e(0x7b)],this[_0x2c460e(0xb4)]=new Set(),this[_0x2c460e(0x93)]=null,this[_0x2c460e(0xc7)](_0x2c460e(0xbb),null),this[_0x2c460e(0xc7)](_0x2c460e(0xb1),_0x36761e[_0x2c460e(0xb1)]||{}),this[_0x2c460e(0xc7)](_0x2c460e(0x8c),null),this[_0x2c460e(0xc7)](_0x2c460e(0x78),null),this[_0x2c460e(0xc7)](_0x2c460e(0xa1),null),this[_0x2c460e(0xc7)](_0x2c460e(0x8b),!0x1),this[_0x2c460e(0x7d)](_0x2c460e(0x86)),this[_0x2c460e(0x7d)](_0x2c460e(0xba));}get[_0x489f16(0xad)](){const _0x5343df=_0x489f16;let _0x1eadd9=this;for(;_0x1eadd9[_0x5343df(0x8c)];)_0x1eadd9=_0x1eadd9[_0x5343df(0x8c)];return _0x1eadd9;}get[_0x489f16(0x82)](){const _0x505dc6=_0x489f16;return!!this[_0x505dc6(0xa1)]&&this[_0x505dc6(0xa1)][_0x505dc6(0x77)]>0x0;}get[_0x489f16(0x8f)](){const _0xe3c8db=_0x489f16;if(0x0==this[_0xe3c8db(0xb4)][_0xe3c8db(0xbd)])return!0x1;return 0x6==Array[_0xe3c8db(0x9e)](this[_0xe3c8db(0xb4)])[0x0][_0xe3c8db(0xbf)](':')[_0xe3c8db(0x77)];}get[_0x489f16(0xa6)](){const _0x3c196b=_0x489f16;return null!==this[_0x3c196b(0x81)]();}[_0x489f16(0x8d)](_0x120b9b){const _0x4de1ea=_0x489f16;this[_0x4de1ea(0xb4)][_0x4de1ea(0x7e)](_0x120b9b);}[_0x489f16(0xc6)](){const _0x30689a=_0x489f16;return Array[_0x30689a(0x9e)](this[_0x30689a(0xb4)]);}[_0x489f16(0xbc)](){const _0x19c1bf=_0x489f16;return this[_0x19c1bf(0xc6)]()[_0x19c1bf(0xae)](_0x21282a=>this[_0x19c1bf(0x9c)][_0x19c1bf(0x8e)][_0x19c1bf(0xb3)](_0x21282a))[_0x19c1bf(0x9f)](_0x47b0eb=>_0x47b0eb);}[_0x489f16(0x81)](){const _0x3e4dc0=_0x489f16;return this[_0x3e4dc0(0xbc)]()[0x0]||null;}[_0x489f16(0xc2)](){const _0x5b167c=_0x489f16;this[_0x5b167c(0x9c)][_0x5b167c(0xb8)](_0x4a8a7a=>{const _0x2d20fb=_0x5b167c;for(const _0x1e7dfd of this[_0x2d20fb(0xbc)]())_0x4a8a7a[_0x2d20fb(0xa0)](_0x1e7dfd);}),this[_0x5b167c(0xb4)][_0x5b167c(0x89)]();}[_0x489f16(0xa0)](_0xd8aa82){const _0x2f61a3=_0x489f16;this[_0x2f61a3(0x9c)][_0x2f61a3(0xb8)](_0x56404e=>{const _0x3cc7c3=_0x2f61a3;_0x56404e[_0x3cc7c3(0xa0)](_0xd8aa82);}),this[_0x2f61a3(0xb4)][_0x2f61a3(0xc1)](_0xd8aa82);}[_0x489f16(0xac)](_0x2e37c8){const _0x33b528=_0x489f16,_0x148cb8=_0x33b528(0xb0)+this[_0x33b528(0x76)]+':'+this[_0x33b528(0xc4)]+':'+this['id']+':'+this[_0x33b528(0x8a)]['id']+':'+u[_0x33b528(0x97)]();this[_0x33b528(0x8d)](_0x148cb8),this[_0x33b528(0x9c)][_0x33b528(0xb8)](_0x16491d=>{const _0xdb64f9=_0x33b528;_0x16491d[_0xdb64f9(0xc5)](_0x148cb8,{'range':_0x2e37c8,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x489f16(0x84)](_0x3f2552){const _0x48d6a3=_0x489f16;for(const _0x52a8e0 of this[_0x48d6a3(0xa8)]())if(_0x52a8e0[_0x48d6a3(0x98)](_0x3f2552))return!0x0;return!0x1;}[_0x489f16(0xa8)](){const _0x34d723=_0x489f16;return this[_0x34d723(0xbc)]()[_0x34d723(0xae)](_0x1e4ecc=>_0x1e4ecc[_0x34d723(0xc3)]());}[_0x489f16(0x88)](){const _0x4d56d7=_0x489f16;return this[_0x4d56d7(0xa8)]()[_0x4d56d7(0xaa)]((_0x34b041,_0x55e3e1)=>[..._0x34b041,..._0x55e3e1[_0x4d56d7(0x88)]()],[]);}[_0x489f16(0x99)](){const _0x36a23a=_0x489f16;var _0x872228;return(null===(_0x872228=this[_0x36a23a(0x81)]())||void 0x0===_0x872228?void 0x0:_0x872228[_0x36a23a(0xc3)]())||null;}[_0x489f16(0xa4)](){const _0x4e4112=_0x489f16,_0x1a888d=this[_0x4e4112(0xa8)]();if(0x1!=_0x1a888d[_0x4e4112(0x77)])return null;const _0x1755f1=_0x1a888d[0x0],_0x530ad5=_0x1755f1[_0x4e4112(0x80)][_0x4e4112(0x96)],_0x1843ed=_0x1755f1[_0x4e4112(0xa7)][_0x4e4112(0x79)];return _0x530ad5 instanceof _0x2da97d?_0x530ad5!=_0x1843ed?null:_0x530ad5:null;}[_0x489f16(0x86)](){const _0x49400d=_0x489f16;this[_0x49400d(0x95)](this[_0x49400d(0xa8)](),this[_0x49400d(0xb2)],this[_0x49400d(0xb1)]),this[_0x49400d(0xc2)]();}[_0x489f16(0xba)](){const _0x438df6=_0x489f16;this[_0x438df6(0xb5)](this[_0x438df6(0xa8)](),this[_0x438df6(0xb2)],this[_0x438df6(0xb1)]),this[_0x438df6(0xc2)]();}[_0x489f16(0xa5)](){const _0x549471=_0x489f16,_0x1f2412=[];let _0x38dafe=this[_0x549471(0xad)];for(;_0x38dafe;)_0x1f2412[_0x549471(0x90)](_0x38dafe),_0x38dafe=_0x38dafe[_0x549471(0x78)];return _0x1f2412;}[_0x489f16(0xaf)](_0x59fd83,_0x463811){const _0x3ff700=_0x489f16,_0x29144e=_0x383526(this[_0x3ff700(0xb1)]);_0x305b14(_0x29144e,_0x59fd83,_0x463811),_0x574941(_0x29144e,this[_0x3ff700(0xb1)])||(this[_0x3ff700(0xb1)]=_0x29144e,this[_0x3ff700(0xb9)](_0x29144e));}[_0x489f16(0x7c)](_0x444259){const _0x17a71e=_0x489f16,_0x168a49=_0x383526(this[_0x17a71e(0xb1)]);_0x357cfd(_0x168a49,_0x444259),_0x574941(_0x168a49,this[_0x17a71e(0xb1)])||(this[_0x17a71e(0xb1)]=_0x168a49,this[_0x17a71e(0xb9)](this[_0x17a71e(0xb1)]));}[_0x489f16(0x7f)](){const _0x4554b4=_0x489f16;return{'id':this['id'],'type':this[_0x4554b4(0xc4)]?this[_0x4554b4(0x76)]+':'+this[_0x4554b4(0xc4)]:this[_0x4554b4(0x76)],'authorId':this[_0x4554b4(0x8a)]['id'],'createdAt':this[_0x4554b4(0x93)],'hasComments':this[_0x4554b4(0x82)],'data':this[_0x4554b4(0xb2)],'attributes':this[_0x4554b4(0xb1)]};}static[_0x489f16(0x97)](){const _0x5433a4=_0x489f16;return _0x13bfda()[_0x5433a4(0xa3)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x229bbd=_0xd100;(function(_0xf85525,_0x392317){const _0x392534=_0xd100,_0x42ca45=_0xf85525();while(!![]){try{const _0x1e0f80=parseInt(_0x392534(0x1ca))/0x1+parseInt(_0x392534(0x1b3))/0x2*(parseInt(_0x392534(0x1ce))/0x3)+-parseInt(_0x392534(0x186))/0x4+-parseInt(_0x392534(0x1d2))/0x5+-parseInt(_0x392534(0x17a))/0x6*(-parseInt(_0x392534(0x17f))/0x7)+-parseInt(_0x392534(0x1be))/0x8+parseInt(_0x392534(0x1b4))/0x9*(-parseInt(_0x392534(0x1d6))/0xa);if(_0x1e0f80===_0x392317)break;else _0x42ca45['push'](_0x42ca45['shift']());}catch(_0x495ba7){_0x42ca45['push'](_0x42ca45['shift']());}}}(_0x52bd,0x820d6));import{getTranslation as _0x1dc763}from'./utils/common-translations.js';import{priorities as _0x3940e5,insertToPriorityArray as _0x20d757}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x53f676}from'./trackchangesediting.js';function _0xd100(_0xbed643,_0x27751c){const _0x52bd6f=_0x52bd();return _0xd100=function(_0x4ed0d2,_0x1369f9){_0x4ed0d2=_0x4ed0d2-0x178;let _0x3a6fa5=_0x52bd6f[_0x4ed0d2];return _0x3a6fa5;},_0xd100(_0xbed643,_0x27751c);}function _0x52bd(){const _0x59e3e2=['type','getItemLabel','Container','isInContent','addFormat','registerElementLabel','*Merge:*\x20%0','attribute','isEqual','map','removeContainer','REPLACE_TEXT','Object','_handleRenameSuggestionDescription','previousSibling','nodeAfter','insertion','text','label','element','item','*Insert:*\x20%0','_handleInsertRemoveSuggestionDescription','match','_handleCustomCallbackDescription','_schema','_handleAttributeSuggestionDescription','*Set\x20format:*\x20%0','format','_addDescriptionItems','end','1408894kNBhhX','9JEEGuw','indexOf','push','removeEmptyContainer','quantity','set','_locale','$textProxy','ELEMENT_SPACE','addContainer','4308208cHGrGg','$text','subType','get','*Remove:*\x20%0','join','getFirstRange','EmptyContainer','add','addEmptyContainer','removeFormat','isObject','828830rDLKjB','pop','addObject','registerAttributeLabel','3xvSlIM','$1\x20$2','isEmpty','elementStart','2244565DIuCBI','skip','*Change\x20to:*\x20%0','remove','7507630lhhooJ','softBreak','key','nextSibling','removeObject','8292wYnZUS','_attributeLabels','function','_customCallbacks','normal','3759BHWwwG','_resolveDescriptionItems','matchingCallback','elementEnd','newValue','_itemLabelsCallbacks','length','18060RpfURQ','*Remove\x20format:*\x20%0','getWalker','name','getDescriptions','has','replace','_itemLabels','deletion','data','checkChild','start','*Split:*\x20%0','registerDescriptionCallback'];_0x52bd=function(){return _0x59e3e2;};return _0x52bd();}export default class f{constructor(_0x5aacc7,_0x471b08){const _0x480c5f=_0xd100;this[_0x480c5f(0x17d)]=[],this[_0x480c5f(0x18d)]=new Map(),this[_0x480c5f(0x184)]=[],this[_0x480c5f(0x17b)]=new Map(),this[_0x480c5f(0x1ad)]=_0x5aacc7,this[_0x480c5f(0x1ba)]=_0x471b08;}[_0x229bbd(0x18a)](_0x2055e9){const _0x453bcb=_0x229bbd,_0x18d2da=[],_0x5b70e0=new Set(),_0x582495=new Set();for(let _0x2c80f2=0x0;_0x2c80f2<_0x2055e9[_0x453bcb(0x185)];_0x2c80f2++){const _0x17f170=_0x2055e9[_0x2c80f2];if(!_0x17f170[_0x453bcb(0x197)])continue;const _0x45b6fe=this[_0x453bcb(0x1ac)](_0x17f170);if(_0x45b6fe){if(null!=_0x17f170[_0x453bcb(0x1c0)]){if(_0x5b70e0[_0x453bcb(0x18b)](_0x17f170[_0x453bcb(0x1c0)]))continue;_0x5b70e0[_0x453bcb(0x1c6)](_0x17f170[_0x453bcb(0x1c0)]);}_0x18d2da[_0x453bcb(0x1b6)](_0x45b6fe);}else{if(_0x453bcb(0x19b)!=_0x17f170[_0x453bcb(0x194)])_0x453bcb(0x1a4)!=_0x17f170[_0x453bcb(0x194)]&&_0x453bcb(0x18e)!=_0x17f170[_0x453bcb(0x194)]||this[_0x453bcb(0x1aa)](_0x18d2da,_0x17f170,_0x2055e9[_0x2c80f2+0x1]);else{const _0x3410fa=_0x17f170[_0x453bcb(0x18f)][_0x453bcb(0x1d8)];if(_0x582495[_0x453bcb(0x18b)](_0x3410fa))continue;_0x582495[_0x453bcb(0x1c6)](_0x17f170[_0x453bcb(0x18f)][_0x453bcb(0x1d8)]),_0x3410fa==_0x53f676?this[_0x453bcb(0x1a1)](_0x18d2da,_0x17f170):this[_0x453bcb(0x1ae)](_0x18d2da,_0x17f170);}}}return this[_0x453bcb(0x180)](_0x18d2da);}[_0x229bbd(0x193)](_0x5ef9f8){const _0x14b9fd=_0x229bbd;this[_0x14b9fd(0x17d)][_0x14b9fd(0x1b6)](_0x5ef9f8);}[_0x229bbd(0x199)](_0xe23906,_0x29a7a6,_0xac85dc=_0x3940e5[_0x229bbd(0x17e)]){const _0xeff752=_0x229bbd;_0xeff752(0x17c)==typeof _0xe23906?_0x20d757(this[_0xeff752(0x184)],{'matchingCallback':_0xe23906,'label':_0x29a7a6,'priority':_0xac85dc}):this[_0xeff752(0x18d)][_0xeff752(0x1b9)](_0xe23906,_0x29a7a6);}[_0x229bbd(0x1cd)](_0x1fd2e5,_0x22b02c){const _0x4b5eb7=_0x229bbd;this[_0x4b5eb7(0x17b)][_0x4b5eb7(0x1b9)](_0x1fd2e5,_0x22b02c);}[_0x229bbd(0x195)](_0x81c18,_0x392b7c=0x1){const _0x66e5ec=_0x229bbd;let _0x35e460;for(const _0x2af0fa of this[_0x66e5ec(0x184)])if(_0x2af0fa[_0x66e5ec(0x181)](_0x81c18)){_0x35e460=_0x2af0fa[_0x66e5ec(0x1a6)];break;}return _0x35e460||(_0x35e460=this[_0x66e5ec(0x18d)][_0x66e5ec(0x1c1)](_0x81c18[_0x66e5ec(0x189)])),_0x35e460?_0x35e460(_0x392b7c):0x1!==_0x392b7c?_0x392b7c+'\x20'+_0x81c18[_0x66e5ec(0x189)]+'s':''+_0x81c18[_0x66e5ec(0x189)];}[_0x229bbd(0x1b1)](_0x388e74,_0x20768f){const _0x58a7c7=_0x229bbd,_0x56bc07=_0x20768f[_0x58a7c7(0x1c4)]()[_0x58a7c7(0x188)](),_0x30ae33=_0x58a7c7(0x1a4)==_0x20768f[_0x58a7c7(0x194)]?_0x58a7c7(0x1c6):_0x58a7c7(0x1d5);for(const _0x9cea59 of _0x56bc07){const _0x18377a=_0x9cea59[_0x58a7c7(0x1a8)],_0x57522d=_0x388e74[_0x388e74[_0x58a7c7(0x185)]-0x1];if(_0x18377a['is'](_0x58a7c7(0x1bb)))_0x57522d&&_0x57522d[_0x58a7c7(0x194)][_0x58a7c7(0x1b5)](_0x58a7c7(0x196))>-0x1&&_0x388e74[_0x58a7c7(0x1cb)](),_0x57522d&&_0x58a7c7(0x1a5)==_0x57522d[_0x58a7c7(0x194)]?_0x57522d[_0x30ae33]+=_0x18377a[_0x58a7c7(0x18f)]:_0x388e74[_0x58a7c7(0x1b6)]({'type':_0x58a7c7(0x1a5),'add':_0x58a7c7(0x1c6)==_0x30ae33?_0x18377a[_0x58a7c7(0x18f)]:'','remove':_0x58a7c7(0x1d5)==_0x30ae33?_0x18377a[_0x58a7c7(0x18f)]:''});else{if(this[_0x58a7c7(0x1ad)][_0x58a7c7(0x1c9)](_0x18377a)){const _0x5cd40a=_0x18377a;if(_0x57522d&&_0x57522d[_0x58a7c7(0x194)][_0x58a7c7(0x1b5)](_0x58a7c7(0x196))>-0x1&&_0x388e74[_0x58a7c7(0x1cb)](),_0x58a7c7(0x182)==_0x9cea59[_0x58a7c7(0x194)])continue;_0x57522d&&_0x57522d[_0x58a7c7(0x194)]==_0x30ae33+_0x58a7c7(0x1a0)&&_0x57522d[_0x58a7c7(0x1a7)][_0x58a7c7(0x189)]==_0x5cd40a[_0x58a7c7(0x189)]?_0x57522d[_0x58a7c7(0x1b8)]++:_0x388e74[_0x58a7c7(0x1b6)]({'type':_0x30ae33+_0x58a7c7(0x1a0),'element':_0x5cd40a,'quantity':0x1}),_0x56bc07[_0x58a7c7(0x1d3)](_0x329944=>!(_0x58a7c7(0x182)==_0x329944[_0x58a7c7(0x194)]&&_0x329944[_0x58a7c7(0x1a8)]==_0x18377a));}else{if(this[_0x58a7c7(0x1ad)][_0x58a7c7(0x190)](_0x18377a,_0x58a7c7(0x1bf))||_0x18377a['is'](_0x58a7c7(0x1a7),_0x58a7c7(0x1d7))){const _0x515783=_0x18377a;if(_0x58a7c7(0x1c6)==_0x30ae33&&_0x58a7c7(0x1d1)==_0x9cea59[_0x58a7c7(0x194)]||_0x58a7c7(0x1d5)==_0x30ae33&&_0x58a7c7(0x182)==_0x9cea59[_0x58a7c7(0x194)])continue;if(_0x57522d&&-0x1==_0x57522d[_0x58a7c7(0x194)][_0x58a7c7(0x1b5)](_0x58a7c7(0x196))){_0x58a7c7(0x1a5)==_0x57522d[_0x58a7c7(0x194)]&&(_0x57522d[_0x30ae33]+='\x0a');continue;}let _0x562196;if(_0x562196=_0x58a7c7(0x1c6)==_0x30ae33?_0x515783[_0x58a7c7(0x178)]&&!this[_0x58a7c7(0x1ad)][_0x58a7c7(0x1c9)](_0x515783[_0x58a7c7(0x178)])?_0x515783[_0x58a7c7(0x178)]:null:_0x515783[_0x58a7c7(0x1a2)]&&!this[_0x58a7c7(0x1ad)][_0x58a7c7(0x1c9)](_0x515783[_0x58a7c7(0x1a2)])?_0x515783[_0x58a7c7(0x1a2)]:null,_0x515783[_0x58a7c7(0x1d0)]||_0x562196&&_0x562196[_0x58a7c7(0x1d0)]){const _0x513c71=_0x562196&&_0x562196[_0x58a7c7(0x1d0)]?_0x562196:_0x515783;_0x57522d&&_0x57522d[_0x58a7c7(0x194)]==_0x30ae33+_0x58a7c7(0x1c5)&&_0x57522d[_0x58a7c7(0x1a7)][_0x58a7c7(0x189)]==_0x513c71[_0x58a7c7(0x189)]?_0x57522d[_0x58a7c7(0x1b8)]++:_0x388e74[_0x58a7c7(0x1b6)]({'type':_0x30ae33+_0x58a7c7(0x1c5),'element':_0x513c71,'quantity':0x1});}else _0x388e74[_0x58a7c7(0x1b6)]({'type':_0x30ae33+_0x58a7c7(0x196),'element':_0x515783});}}}}}[_0x229bbd(0x180)](_0x275fe1){const _0x53d7e8=_0x229bbd,_0x3ae56c=this[_0x53d7e8(0x1ba)],_0x59a5e3=[],_0x4bacd8=[],_0x21281c=[];for(const _0x4de55e of _0x275fe1)switch(_0x4de55e[_0x53d7e8(0x194)]){case _0x53d7e8(0x1a5):if(_0x4de55e[_0x53d7e8(0x1c6)]=_0x4de55e[_0x53d7e8(0x1c6)][_0x53d7e8(0x18c)](/(\S)\u000A+(\S)/g,_0x53d7e8(0x1cf))[_0x53d7e8(0x18c)](/\u000A/g,''),_0x4de55e[_0x53d7e8(0x1d5)]=_0x4de55e[_0x53d7e8(0x1d5)][_0x53d7e8(0x18c)](/(\S)\u000A+(\S)/g,_0x53d7e8(0x1cf))[_0x53d7e8(0x18c)](/\u000A/g,''),''!=_0x4de55e[_0x53d7e8(0x1c6)]&&''!=_0x4de55e[_0x53d7e8(0x1d5)]){_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x18c),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x19f),['\x22'+_0x4de55e[_0x53d7e8(0x1d5)]+'\x22','\x22'+_0x4de55e[_0x53d7e8(0x1c6)]+'\x22'])});continue;}if(null!=_0x4de55e[_0x53d7e8(0x1c6)][_0x53d7e8(0x1ab)](/^ +$/)){_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1a4),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1a9),_0x1dc763(_0x3ae56c,_0x53d7e8(0x1bc),_0x4de55e[_0x53d7e8(0x1c6)][_0x53d7e8(0x185)]))});continue;}if(null!=_0x4de55e[_0x53d7e8(0x1d5)][_0x53d7e8(0x1ab)](/^ +$/)){_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x18e),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1c2),_0x1dc763(_0x3ae56c,_0x53d7e8(0x1bc),_0x4de55e[_0x53d7e8(0x1d5)][_0x53d7e8(0x185)]))});continue;}if(''!=_0x4de55e[_0x53d7e8(0x1c6)]){_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1a4),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1a9),'\x22'+_0x4de55e[_0x53d7e8(0x1c6)]+'\x22')});continue;}_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x18e),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1c2),'\x22'+_0x4de55e[_0x53d7e8(0x1d5)]+'\x22')});continue;case _0x53d7e8(0x1c7):case _0x53d7e8(0x1cc):_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1a4),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1a9),this[_0x53d7e8(0x195)](_0x4de55e[_0x53d7e8(0x1a7)],_0x4de55e[_0x53d7e8(0x1b8)]))});continue;case _0x53d7e8(0x1b7):case _0x53d7e8(0x179):_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x18e),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x1c2),this[_0x53d7e8(0x195)](_0x4de55e[_0x53d7e8(0x1a7)],_0x4de55e[_0x53d7e8(0x1b8)]))});continue;case _0x53d7e8(0x1bd):_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1a4),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x192),this[_0x53d7e8(0x195)](_0x4de55e[_0x53d7e8(0x1a7)],_0x4de55e[_0x53d7e8(0x1b8)]))});continue;case _0x53d7e8(0x19e):_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x18e),'content':_0x1dc763(_0x3ae56c,_0x53d7e8(0x19a),this[_0x53d7e8(0x195)](_0x4de55e[_0x53d7e8(0x1a7)],_0x4de55e[_0x53d7e8(0x1b8)]))});continue;case _0x53d7e8(0x198):_0x4bacd8[_0x53d7e8(0x1b6)](_0x4de55e[_0x53d7e8(0x1d8)]);continue;case _0x53d7e8(0x1c8):_0x21281c[_0x53d7e8(0x1b6)](_0x4de55e[_0x53d7e8(0x1d8)]);continue;default:_0x59a5e3[_0x53d7e8(0x1b6)](_0x4de55e);}if(_0x4bacd8[_0x53d7e8(0x185)]){const _0x59bd93=_0x4bacd8[_0x53d7e8(0x19d)](_0x16c6f8=>this[_0x53d7e8(0x17b)][_0x53d7e8(0x18b)](_0x16c6f8)?this[_0x53d7e8(0x17b)][_0x53d7e8(0x1c1)](_0x16c6f8):_0x16c6f8)[_0x53d7e8(0x1c3)](',\x20');_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1b0),'content':_0x1dc763(this[_0x53d7e8(0x1ba)],_0x53d7e8(0x1af),_0x59bd93)});}if(_0x21281c[_0x53d7e8(0x185)]){const _0x19fc37=_0x21281c[_0x53d7e8(0x19d)](_0x15ce3e=>this[_0x53d7e8(0x17b)][_0x53d7e8(0x18b)](_0x15ce3e)?this[_0x53d7e8(0x17b)][_0x53d7e8(0x1c1)](_0x15ce3e):_0x15ce3e)[_0x53d7e8(0x1c3)](',\x20');_0x59a5e3[_0x53d7e8(0x1b6)]({'type':_0x53d7e8(0x1b0),'content':_0x1dc763(this[_0x53d7e8(0x1ba)],_0x53d7e8(0x187),_0x19fc37)});}return _0x59a5e3;}[_0x229bbd(0x1ac)](_0x1a2388){const _0x57cd59=_0x229bbd;for(const _0x407497 of this[_0x57cd59(0x17d)]){const _0x318249=_0x407497(_0x1a2388);if(_0x318249&&_0x57cd59(0x194)in _0x318249)return _0x318249;}}[_0x229bbd(0x1ae)](_0x45c875,_0xce3385){const _0x1d4465=_0x229bbd,_0x5efdb8=_0xce3385[_0x1d4465(0x18f)],_0x439b0d=void 0x0===_0x5efdb8[_0x1d4465(0x183)]?_0x1d4465(0x1c8):_0x1d4465(0x198);_0x45c875[_0x1d4465(0x1b6)]({'type':_0x439b0d,'key':_0x5efdb8[_0x1d4465(0x1d8)]});}[_0x229bbd(0x1a1)](_0x5e6464,_0x24d301){const _0x4029cc=_0x229bbd;_0x5e6464[_0x4029cc(0x1b6)]({'type':_0x4029cc(0x1b0),'content':_0x1dc763(this[_0x4029cc(0x1ba)],_0x4029cc(0x1d4),this[_0x4029cc(0x195)](_0x24d301[_0x4029cc(0x1c4)]()[_0x4029cc(0x191)][_0x4029cc(0x1a3)],0x1))});}[_0x229bbd(0x1aa)](_0x4e8e2c,_0x13f5dc,_0x1fca8f){const _0x321b2b=_0x229bbd;if(this[_0x321b2b(0x1b1)](_0x4e8e2c,_0x13f5dc),_0x1fca8f&&_0x1fca8f[_0x321b2b(0x1c4)]()&&!_0x13f5dc[_0x321b2b(0x1c4)]()[_0x321b2b(0x1b2)][_0x321b2b(0x19c)](_0x1fca8f[_0x321b2b(0x1c4)]()[_0x321b2b(0x191)])){const _0x4ac29c=_0x4e8e2c[_0x4e8e2c[_0x321b2b(0x185)]-0x1],_0x2def94=_0x321b2b(0x1a4)==_0x13f5dc[_0x321b2b(0x194)]?_0x321b2b(0x1c6):_0x321b2b(0x1d5);_0x4ac29c&&_0x321b2b(0x1a5)==_0x4ac29c[_0x321b2b(0x194)]&&(_0x4ac29c[_0x2def94]+='\x0a');}}}
|
|
23
|
+
const _0x4bfe2a=_0x3d32;(function(_0x178a39,_0x453862){const _0x38d246=_0x3d32,_0x44e30b=_0x178a39();while(!![]){try{const _0x2b4822=-parseInt(_0x38d246(0x15b))/0x1+parseInt(_0x38d246(0x13c))/0x2*(parseInt(_0x38d246(0x176))/0x3)+-parseInt(_0x38d246(0x15a))/0x4+-parseInt(_0x38d246(0x123))/0x5*(parseInt(_0x38d246(0x145))/0x6)+-parseInt(_0x38d246(0x16f))/0x7+-parseInt(_0x38d246(0x162))/0x8*(parseInt(_0x38d246(0x174))/0x9)+parseInt(_0x38d246(0x130))/0xa;if(_0x2b4822===_0x453862)break;else _0x44e30b['push'](_0x44e30b['shift']());}catch(_0x518251){_0x44e30b['push'](_0x44e30b['shift']());}}}(_0x52cc,0x2b612));import{getTranslation as _0x46904f}from'./utils/common-translations.js';function _0x3d32(_0xce797c,_0x368f6a){const _0x52cc4c=_0x52cc();return _0x3d32=function(_0x3d3257,_0x578730){_0x3d3257=_0x3d3257-0x11f;let _0x13639d=_0x52cc4c[_0x3d3257];return _0x13639d;},_0x3d32(_0xce797c,_0x368f6a);}import{priorities as _0x31ad3a,insertToPriorityArray as _0x38853f}from'ckeditor5/src/utils.js';function _0x52cc(){const _0x49d482=['previousSibling','$text','attribute','Object','ELEMENT_SPACE','_customCallbacks','map','*Remove:*\x20%0','key','length','push','2hateQH','_attributeLabels','*Split:*\x20%0','name','_itemLabelsCallbacks','*Insert:*\x20%0','$textProxy','Container','softBreak','18unfaqd','nextSibling','removeFormat','text','EmptyContainer','*Merge:*\x20%0','addContainer','function','addFormat','has','getWalker','set','end','elementEnd','registerDescriptionCallback','matchingCallback','getItemLabel','removeObject','remove','getDescriptions','_schema','239312oSYtmk','155396WguRcT','addObject','removeEmptyContainer','normal','registerAttributeLabel','_handleCustomCallbackDescription','elementStart','10848SleKdf','format','$1\x20$2','_handleRenameSuggestionDescription','match','quantity','registerElementLabel','*Remove\x20format:*\x20%0','add','get','deletion','addEmptyContainer','isEqual','2188914XPlhpG','start','subType','_handleAttributeSuggestionDescription','checkChild','126uZYEsN','type','1056993loLJiX','_addDescriptionItems','replace','pop','data','label','skip','nodeAfter','REPLACE_TEXT','_handleInsertRemoveSuggestionDescription','insertion','indexOf','isEmpty','getFirstRange','82255gjOTgA','element','*Set\x20format:*\x20%0','join','_resolveDescriptionItems','*Change\x20to:*\x20%0','isInContent','item','_locale','newValue','removeContainer','isObject','_itemLabels','4216140KjxvBL'];_0x52cc=function(){return _0x49d482;};return _0x52cc();}import{renameAttributeKey as _0x132ea8}from'./trackchangesediting.js';export default class f{constructor(_0x5c0ca6,_0x115707){const _0xd9522d=_0x3d32;this[_0xd9522d(0x136)]=[],this[_0xd9522d(0x12f)]=new Map(),this[_0xd9522d(0x140)]=[],this[_0xd9522d(0x13d)]=new Map(),this[_0xd9522d(0x159)]=_0x5c0ca6,this[_0xd9522d(0x12b)]=_0x115707;}[_0x4bfe2a(0x158)](_0x581e89){const _0x5cfd4f=_0x4bfe2a,_0x165220=[],_0x51808c=new Set(),_0x52b360=new Set();for(let _0x249794=0x0;_0x249794<_0x581e89[_0x5cfd4f(0x13a)];_0x249794++){const _0x4b8fcd=_0x581e89[_0x249794];if(!_0x4b8fcd[_0x5cfd4f(0x129)])continue;const _0x481535=this[_0x5cfd4f(0x160)](_0x4b8fcd);if(_0x481535){if(null!=_0x4b8fcd[_0x5cfd4f(0x171)]){if(_0x51808c[_0x5cfd4f(0x14e)](_0x4b8fcd[_0x5cfd4f(0x171)]))continue;_0x51808c[_0x5cfd4f(0x16a)](_0x4b8fcd[_0x5cfd4f(0x171)]);}_0x165220[_0x5cfd4f(0x13b)](_0x481535);}else{if(_0x5cfd4f(0x133)!=_0x4b8fcd[_0x5cfd4f(0x175)])_0x5cfd4f(0x11f)!=_0x4b8fcd[_0x5cfd4f(0x175)]&&_0x5cfd4f(0x16c)!=_0x4b8fcd[_0x5cfd4f(0x175)]||this[_0x5cfd4f(0x17f)](_0x165220,_0x4b8fcd,_0x581e89[_0x249794+0x1]);else{const _0x1b557d=_0x4b8fcd[_0x5cfd4f(0x17a)][_0x5cfd4f(0x139)];if(_0x52b360[_0x5cfd4f(0x14e)](_0x1b557d))continue;_0x52b360[_0x5cfd4f(0x16a)](_0x4b8fcd[_0x5cfd4f(0x17a)][_0x5cfd4f(0x139)]),_0x1b557d==_0x132ea8?this[_0x5cfd4f(0x165)](_0x165220,_0x4b8fcd):this[_0x5cfd4f(0x172)](_0x165220,_0x4b8fcd);}}}return this[_0x5cfd4f(0x127)](_0x165220);}[_0x4bfe2a(0x153)](_0x1c66c8){const _0x50a6ad=_0x4bfe2a;this[_0x50a6ad(0x136)][_0x50a6ad(0x13b)](_0x1c66c8);}[_0x4bfe2a(0x168)](_0x95105b,_0x1d0f48,_0x148b9e=_0x31ad3a[_0x4bfe2a(0x15e)]){const _0x21167b=_0x4bfe2a;_0x21167b(0x14c)==typeof _0x95105b?_0x38853f(this[_0x21167b(0x140)],{'matchingCallback':_0x95105b,'label':_0x1d0f48,'priority':_0x148b9e}):this[_0x21167b(0x12f)][_0x21167b(0x150)](_0x95105b,_0x1d0f48);}[_0x4bfe2a(0x15f)](_0x4233cb,_0x4f05f9){const _0x1a73b5=_0x4bfe2a;this[_0x1a73b5(0x13d)][_0x1a73b5(0x150)](_0x4233cb,_0x4f05f9);}[_0x4bfe2a(0x155)](_0x49fda9,_0x2e15b9=0x1){const _0x529545=_0x4bfe2a;let _0x48caca;for(const _0x2b6dec of this[_0x529545(0x140)])if(_0x2b6dec[_0x529545(0x154)](_0x49fda9)){_0x48caca=_0x2b6dec[_0x529545(0x17b)];break;}return _0x48caca||(_0x48caca=this[_0x529545(0x12f)][_0x529545(0x16b)](_0x49fda9[_0x529545(0x13f)])),_0x48caca?_0x48caca(_0x2e15b9):0x1!==_0x2e15b9?_0x2e15b9+'\x20'+_0x49fda9[_0x529545(0x13f)]+'s':''+_0x49fda9[_0x529545(0x13f)];}[_0x4bfe2a(0x177)](_0xd357a8,_0x33ef4d){const _0x8e94f1=_0x4bfe2a,_0x176799=_0x33ef4d[_0x8e94f1(0x122)]()[_0x8e94f1(0x14f)](),_0x2fb4c9=_0x8e94f1(0x11f)==_0x33ef4d[_0x8e94f1(0x175)]?_0x8e94f1(0x16a):_0x8e94f1(0x157);for(const _0x3636a1 of _0x176799){const _0x37d112=_0x3636a1[_0x8e94f1(0x12a)],_0x1eb980=_0xd357a8[_0xd357a8[_0x8e94f1(0x13a)]-0x1];if(_0x37d112['is'](_0x8e94f1(0x142)))_0x1eb980&&_0x1eb980[_0x8e94f1(0x175)][_0x8e94f1(0x120)](_0x8e94f1(0x143))>-0x1&&_0xd357a8[_0x8e94f1(0x179)](),_0x1eb980&&_0x8e94f1(0x148)==_0x1eb980[_0x8e94f1(0x175)]?_0x1eb980[_0x2fb4c9]+=_0x37d112[_0x8e94f1(0x17a)]:_0xd357a8[_0x8e94f1(0x13b)]({'type':_0x8e94f1(0x148),'add':_0x8e94f1(0x16a)==_0x2fb4c9?_0x37d112[_0x8e94f1(0x17a)]:'','remove':_0x8e94f1(0x157)==_0x2fb4c9?_0x37d112[_0x8e94f1(0x17a)]:''});else{if(this[_0x8e94f1(0x159)][_0x8e94f1(0x12e)](_0x37d112)){const _0x1e9e51=_0x37d112;if(_0x1eb980&&_0x1eb980[_0x8e94f1(0x175)][_0x8e94f1(0x120)](_0x8e94f1(0x143))>-0x1&&_0xd357a8[_0x8e94f1(0x179)](),_0x8e94f1(0x152)==_0x3636a1[_0x8e94f1(0x175)])continue;_0x1eb980&&_0x1eb980[_0x8e94f1(0x175)]==_0x2fb4c9+_0x8e94f1(0x134)&&_0x1eb980[_0x8e94f1(0x124)][_0x8e94f1(0x13f)]==_0x1e9e51[_0x8e94f1(0x13f)]?_0x1eb980[_0x8e94f1(0x167)]++:_0xd357a8[_0x8e94f1(0x13b)]({'type':_0x2fb4c9+_0x8e94f1(0x134),'element':_0x1e9e51,'quantity':0x1}),_0x176799[_0x8e94f1(0x17c)](_0x2f7974=>!(_0x8e94f1(0x152)==_0x2f7974[_0x8e94f1(0x175)]&&_0x2f7974[_0x8e94f1(0x12a)]==_0x37d112));}else{if(this[_0x8e94f1(0x159)][_0x8e94f1(0x173)](_0x37d112,_0x8e94f1(0x132))||_0x37d112['is'](_0x8e94f1(0x124),_0x8e94f1(0x144))){const _0x4bcb1a=_0x37d112;if(_0x8e94f1(0x16a)==_0x2fb4c9&&_0x8e94f1(0x161)==_0x3636a1[_0x8e94f1(0x175)]||_0x8e94f1(0x157)==_0x2fb4c9&&_0x8e94f1(0x152)==_0x3636a1[_0x8e94f1(0x175)])continue;if(_0x1eb980&&-0x1==_0x1eb980[_0x8e94f1(0x175)][_0x8e94f1(0x120)](_0x8e94f1(0x143))){_0x8e94f1(0x148)==_0x1eb980[_0x8e94f1(0x175)]&&(_0x1eb980[_0x2fb4c9]+='\x0a');continue;}let _0x453578;if(_0x453578=_0x8e94f1(0x16a)==_0x2fb4c9?_0x4bcb1a[_0x8e94f1(0x146)]&&!this[_0x8e94f1(0x159)][_0x8e94f1(0x12e)](_0x4bcb1a[_0x8e94f1(0x146)])?_0x4bcb1a[_0x8e94f1(0x146)]:null:_0x4bcb1a[_0x8e94f1(0x131)]&&!this[_0x8e94f1(0x159)][_0x8e94f1(0x12e)](_0x4bcb1a[_0x8e94f1(0x131)])?_0x4bcb1a[_0x8e94f1(0x131)]:null,_0x4bcb1a[_0x8e94f1(0x121)]||_0x453578&&_0x453578[_0x8e94f1(0x121)]){const _0x103e32=_0x453578&&_0x453578[_0x8e94f1(0x121)]?_0x453578:_0x4bcb1a;_0x1eb980&&_0x1eb980[_0x8e94f1(0x175)]==_0x2fb4c9+_0x8e94f1(0x149)&&_0x1eb980[_0x8e94f1(0x124)][_0x8e94f1(0x13f)]==_0x103e32[_0x8e94f1(0x13f)]?_0x1eb980[_0x8e94f1(0x167)]++:_0xd357a8[_0x8e94f1(0x13b)]({'type':_0x2fb4c9+_0x8e94f1(0x149),'element':_0x103e32,'quantity':0x1});}else _0xd357a8[_0x8e94f1(0x13b)]({'type':_0x2fb4c9+_0x8e94f1(0x143),'element':_0x4bcb1a});}}}}}[_0x4bfe2a(0x127)](_0x537da3){const _0x493f3b=_0x4bfe2a,_0x41feac=this[_0x493f3b(0x12b)],_0x4078ca=[],_0x395d8a=[],_0x43afdc=[];for(const _0x28a6b8 of _0x537da3)switch(_0x28a6b8[_0x493f3b(0x175)]){case _0x493f3b(0x148):if(_0x28a6b8[_0x493f3b(0x16a)]=_0x28a6b8[_0x493f3b(0x16a)][_0x493f3b(0x178)](/(\S)\u000A+(\S)/g,_0x493f3b(0x164))[_0x493f3b(0x178)](/\u000A/g,''),_0x28a6b8[_0x493f3b(0x157)]=_0x28a6b8[_0x493f3b(0x157)][_0x493f3b(0x178)](/(\S)\u000A+(\S)/g,_0x493f3b(0x164))[_0x493f3b(0x178)](/\u000A/g,''),''!=_0x28a6b8[_0x493f3b(0x16a)]&&''!=_0x28a6b8[_0x493f3b(0x157)]){_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x178),'content':_0x46904f(_0x41feac,_0x493f3b(0x17e),['\x22'+_0x28a6b8[_0x493f3b(0x157)]+'\x22','\x22'+_0x28a6b8[_0x493f3b(0x16a)]+'\x22'])});continue;}if(null!=_0x28a6b8[_0x493f3b(0x16a)][_0x493f3b(0x166)](/^ +$/)){_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x11f),'content':_0x46904f(_0x41feac,_0x493f3b(0x141),_0x46904f(_0x41feac,_0x493f3b(0x135),_0x28a6b8[_0x493f3b(0x16a)][_0x493f3b(0x13a)]))});continue;}if(null!=_0x28a6b8[_0x493f3b(0x157)][_0x493f3b(0x166)](/^ +$/)){_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x16c),'content':_0x46904f(_0x41feac,_0x493f3b(0x138),_0x46904f(_0x41feac,_0x493f3b(0x135),_0x28a6b8[_0x493f3b(0x157)][_0x493f3b(0x13a)]))});continue;}if(''!=_0x28a6b8[_0x493f3b(0x16a)]){_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x11f),'content':_0x46904f(_0x41feac,_0x493f3b(0x141),'\x22'+_0x28a6b8[_0x493f3b(0x16a)]+'\x22')});continue;}_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x16c),'content':_0x46904f(_0x41feac,_0x493f3b(0x138),'\x22'+_0x28a6b8[_0x493f3b(0x157)]+'\x22')});continue;case _0x493f3b(0x16d):case _0x493f3b(0x15c):_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x11f),'content':_0x46904f(_0x41feac,_0x493f3b(0x141),this[_0x493f3b(0x155)](_0x28a6b8[_0x493f3b(0x124)],_0x28a6b8[_0x493f3b(0x167)]))});continue;case _0x493f3b(0x15d):case _0x493f3b(0x156):_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x16c),'content':_0x46904f(_0x41feac,_0x493f3b(0x138),this[_0x493f3b(0x155)](_0x28a6b8[_0x493f3b(0x124)],_0x28a6b8[_0x493f3b(0x167)]))});continue;case _0x493f3b(0x14b):_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x11f),'content':_0x46904f(_0x41feac,_0x493f3b(0x13e),this[_0x493f3b(0x155)](_0x28a6b8[_0x493f3b(0x124)],_0x28a6b8[_0x493f3b(0x167)]))});continue;case _0x493f3b(0x12d):_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x16c),'content':_0x46904f(_0x41feac,_0x493f3b(0x14a),this[_0x493f3b(0x155)](_0x28a6b8[_0x493f3b(0x124)],_0x28a6b8[_0x493f3b(0x167)]))});continue;case _0x493f3b(0x14d):_0x395d8a[_0x493f3b(0x13b)](_0x28a6b8[_0x493f3b(0x139)]);continue;case _0x493f3b(0x147):_0x43afdc[_0x493f3b(0x13b)](_0x28a6b8[_0x493f3b(0x139)]);continue;default:_0x4078ca[_0x493f3b(0x13b)](_0x28a6b8);}if(_0x395d8a[_0x493f3b(0x13a)]){const _0x468f10=_0x395d8a[_0x493f3b(0x137)](_0x429701=>this[_0x493f3b(0x13d)][_0x493f3b(0x14e)](_0x429701)?this[_0x493f3b(0x13d)][_0x493f3b(0x16b)](_0x429701):_0x429701)[_0x493f3b(0x126)](',\x20');_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x163),'content':_0x46904f(this[_0x493f3b(0x12b)],_0x493f3b(0x125),_0x468f10)});}if(_0x43afdc[_0x493f3b(0x13a)]){const _0x35c463=_0x43afdc[_0x493f3b(0x137)](_0x264e3f=>this[_0x493f3b(0x13d)][_0x493f3b(0x14e)](_0x264e3f)?this[_0x493f3b(0x13d)][_0x493f3b(0x16b)](_0x264e3f):_0x264e3f)[_0x493f3b(0x126)](',\x20');_0x4078ca[_0x493f3b(0x13b)]({'type':_0x493f3b(0x163),'content':_0x46904f(this[_0x493f3b(0x12b)],_0x493f3b(0x169),_0x35c463)});}return _0x4078ca;}[_0x4bfe2a(0x160)](_0x1819bf){const _0x5aad61=_0x4bfe2a;for(const _0x55060d of this[_0x5aad61(0x136)]){const _0x452e6f=_0x55060d(_0x1819bf);if(_0x452e6f&&_0x5aad61(0x175)in _0x452e6f)return _0x452e6f;}}[_0x4bfe2a(0x172)](_0x34611d,_0x44a863){const _0x46315c=_0x4bfe2a,_0x2c7a02=_0x44a863[_0x46315c(0x17a)],_0x44faeb=void 0x0===_0x2c7a02[_0x46315c(0x12c)]?_0x46315c(0x147):_0x46315c(0x14d);_0x34611d[_0x46315c(0x13b)]({'type':_0x44faeb,'key':_0x2c7a02[_0x46315c(0x139)]});}[_0x4bfe2a(0x165)](_0x3aafc3,_0x3a13b9){const _0x2b82a9=_0x4bfe2a;_0x3aafc3[_0x2b82a9(0x13b)]({'type':_0x2b82a9(0x163),'content':_0x46904f(this[_0x2b82a9(0x12b)],_0x2b82a9(0x128),this[_0x2b82a9(0x155)](_0x3a13b9[_0x2b82a9(0x122)]()[_0x2b82a9(0x170)][_0x2b82a9(0x17d)],0x1))});}[_0x4bfe2a(0x17f)](_0x27f20a,_0x46f20b,_0x5b25b2){const _0x35d40f=_0x4bfe2a;if(this[_0x35d40f(0x177)](_0x27f20a,_0x46f20b),_0x5b25b2&&_0x5b25b2[_0x35d40f(0x122)]()&&!_0x46f20b[_0x35d40f(0x122)]()[_0x35d40f(0x151)][_0x35d40f(0x16e)](_0x5b25b2[_0x35d40f(0x122)]()[_0x35d40f(0x170)])){const _0x517368=_0x27f20a[_0x27f20a[_0x35d40f(0x13a)]-0x1],_0x524b7e=_0x35d40f(0x11f)==_0x46f20b[_0x35d40f(0x175)]?_0x35d40f(0x16a):_0x35d40f(0x157);_0x517368&&_0x35d40f(0x148)==_0x517368[_0x35d40f(0x175)]&&(_0x517368[_0x524b7e]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x6f89e9=_0x25ec;(function(_0x236d72,_0x48156b){var _0x4689ce=_0x25ec,_0x22289e=_0x236d72();while(!![]){try{var _0x3d7f3d=-parseInt(_0x4689ce(0x14b))/0x1*(-parseInt(_0x4689ce(0x150))/0x2)+-parseInt(_0x4689ce(0x148))/0x3*(parseInt(_0x4689ce(0x155))/0x4)+parseInt(_0x4689ce(0x15c))/0x5*(-parseInt(_0x4689ce(0x15b))/0x6)+parseInt(_0x4689ce(0x156))/0x7+-parseInt(_0x4689ce(0x14d))/0x8+parseInt(_0x4689ce(0x153))/0x9*(parseInt(_0x4689ce(0x158))/0xa)+parseInt(_0x4689ce(0x147))/0xb;if(_0x3d7f3d===_0x48156b)break;else _0x22289e['push'](_0x22289e['shift']());}catch(_0x1e8a09){_0x22289e['push'](_0x22289e['shift']());}}}(_0x61ce,0xe18b8));function _0x25ec(_0x279a15,_0x17349c){var _0x61ce29=_0x61ce();return _0x25ec=function(_0x25ec88,_0x30505c){_0x25ec88=_0x25ec88-0x146;var _0x422a9c=_0x61ce29[_0x25ec88];return _0x422a9c;},_0x25ec(_0x279a15,_0x17349c);}import{Plugin as _0x2c1eb5}from'ckeditor5/src/core.js';import _0x2a1c61 from'./trackchangesui.js';import _0x80dc83 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x2c1eb5{static get[_0x6f89e9(0x152)](){var _0x2777ca=_0x6f89e9;return[_0x80dc83,_0x2a1c61,_0x2777ca(0x14c)];}static get[_0x6f89e9(0x15a)](){var _0xffd7c1=_0x6f89e9;return _0xffd7c1(0x149);}set[_0x6f89e9(0x159)](_0xe9dc9f){var _0x213202=_0x6f89e9;this[_0x213202(0x151)][_0x213202(0x14a)][_0x213202(0x154)](_0x80dc83)[_0x213202(0x159)]=_0xe9dc9f;}get[_0x6f89e9(0x159)](){var _0x58d69c=_0x6f89e9;return this[_0x58d69c(0x151)][_0x58d69c(0x14a)][_0x58d69c(0x154)](_0x80dc83)[_0x58d69c(0x159)];}[_0x6f89e9(0x14f)](_0xf3c5b4){var _0x5d65a7=_0x6f89e9;return this[_0x5d65a7(0x151)][_0x5d65a7(0x14a)][_0x5d65a7(0x154)](_0x80dc83)[_0x5d65a7(0x157)](_0xf3c5b4);}[_0x6f89e9(0x146)]({skipNotAttached:_0x2c78a9=!0x1,toJSON:_0x22814a=!0x1}={}){var _0x304ea8=_0x6f89e9;return this[_0x304ea8(0x151)][_0x304ea8(0x14a)][_0x304ea8(0x154)](_0x80dc83)[_0x304ea8(0x146)]({'skipNotAttached':_0x2c78a9,'toJSON':_0x22814a});}[_0x6f89e9(0x14e)](_0x2f6a10){var _0x2e544d=_0x6f89e9;return this[_0x2e544d(0x151)][_0x2e544d(0x14a)][_0x2e544d(0x154)](_0x80dc83)[_0x2e544d(0x14e)](_0x2f6a10);}}function _0x61ce(){var _0xd419bc=['editor','requires','45fXJJAb','get','12lvpAaS','5720953OnfbEz','addSuggestionData','2935850JFLWYk','adapter','pluginName','2532gYmEKt','10330cJNxrq','getSuggestions','18348363XkXLfx','1491531FBUnPl','TrackChanges','plugins','14KhRNND','Comments','13868960DwSYkt','getSuggestion','addSuggestion','152514JMSllw'];_0x61ce=function(){return _0xd419bc;};return _0x61ce();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b022c=_0x48e9;(function(_0x1e0ca6,_0x95e493){const _0x2fc643=_0x48e9,_0xb9dd2c=_0x1e0ca6();while(!![]){try{const _0x5a15ce=parseInt(_0x2fc643(0x6e))/0x1*(parseInt(_0x2fc643(0x98))/0x2)+-parseInt(_0x2fc643(0x89))/0x3+parseInt(_0x2fc643(0x83))/0x4+-parseInt(_0x2fc643(0xa5))/0x5*(parseInt(_0x2fc643(0x93))/0x6)+-parseInt(_0x2fc643(0xa4))/0x7*(-parseInt(_0x2fc643(0x6a))/0x8)+parseInt(_0x2fc643(0x80))/0x9+-parseInt(_0x2fc643(0x9a))/0xa;if(_0x5a15ce===_0x95e493)break;else _0xb9dd2c['push'](_0xb9dd2c['shift']());}catch(_0x14992d){_0xb9dd2c['push'](_0xb9dd2c['shift']());}}}(_0x5d2d,0xa5647));import{Plugin as _0x798413}from'ckeditor5/src/core.js';import{CKEditorError as _0x15c9ec}from'ckeditor5/src/utils.js';import _0x154388 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xf681d0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d2d(){const _0x2db849=['define','getDataWithAcceptedSuggestions','model','31242oyvrtQ','appendChild','4658370fcfkCd','track-changes-data-invalid-editor-creator','acceptAllSuggestions','editorCreator','plugins','getRootsAttributes','_adapter','TrackChangesDataGetter','CommentsRepository','TrackChangesData','6480131lubmUQ','10WKdDwy','addSuggestionData','users','config','execute','8TTtjLV','getRootNames','getUser','name','50raeeTe','getFullData','TrackChangesEditing','set','createDocumentFragment','data','reduce','rootsAttributes','Users','init','getSuggestions','getDataWithDiscardedSuggestions','pluginName','push','getCommentThreads','div','createElement','document','608220sKzxwo','result','requires','4810036fiEqHp','end','useAnonymousUser','get','addCommentThread','editor','3201222TucwkY','trackChangesData.editorCreator','discardAllSuggestions','trackChangesData','addUser','destroy','constructor','map','Pagination','function','2299542BaBJFw','create'];_0x5d2d=function(){return _0x2db849;};return _0x5d2d();}function _0x48e9(_0x531a61,_0x1c103b){const _0x5d2d8d=_0x5d2d();return _0x48e9=function(_0x48e967,_0x417091){_0x48e967=_0x48e967-0x69;let _0x239611=_0x5d2d8d[_0x48e967];return _0x239611;},_0x48e9(_0x531a61,_0x1c103b);}const T=[_0x1b022c(0x91)];export default class P extends _0x798413{static get[_0x1b022c(0x82)](){return[_0x154388];}static get[_0x1b022c(0x7a)](){const _0x1c133=_0x1b022c;return _0x1c133(0xa3);}[_0x1b022c(0x77)](){const _0x542aa3=_0x1b022c,_0x306b67=this[_0x542aa3(0x88)];if(_0x306b67[_0x542aa3(0xa8)][_0x542aa3(0x95)](_0x542aa3(0x8a),_0x566f81=>{const _0x336e6b=_0x542aa3,_0x2fbbba=_0x306b67[_0x336e6b(0x97)][_0x336e6b(0x7f)][_0x336e6b(0x6b)]()[_0x336e6b(0x74)]((_0x4136a5,_0x227d79)=>(_0x4136a5[_0x227d79]='',_0x4136a5),{});return _0x306b67[_0x336e6b(0x8f)][_0x336e6b(0x94)](_0x2fbbba,_0x566f81);}),_0x542aa3(0x92)!=typeof _0x306b67[_0x542aa3(0xa8)][_0x542aa3(0x86)](_0x542aa3(0x8c))[_0x542aa3(0x9d)])throw new _0x15c9ec(_0x542aa3(0x9b));}[_0x1b022c(0x96)](_0xaf7df1){const _0x394815=_0x1b022c;return N(this[_0x394815(0x88)],!0x0,_0xaf7df1);}[_0x1b022c(0x79)](_0x3797e9){const _0x13eb6d=_0x1b022c;return N(this[_0x13eb6d(0x88)],!0x1,_0x3797e9);}}class D extends _0x798413{static get[_0x1b022c(0x7a)](){const _0x58353f=_0x1b022c;return _0x58353f(0xa1);}constructor(_0x2aa924){const _0x1a7376=_0x1b022c;super(_0x2aa924),this[_0x1a7376(0x81)]=_0x1a7376(0x84);}[_0x1b022c(0x77)](){const _0x33a38d=_0x1b022c;this[_0x33a38d(0x88)][_0x33a38d(0x9e)][_0x33a38d(0x86)](_0x33a38d(0xa2))[_0x33a38d(0xa0)]={'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[_0x33a38d(0x88)][_0x33a38d(0x9e)][_0x33a38d(0x86)](_0x33a38d(0x70))[_0x33a38d(0xa0)]=null;}}function v(_0x4cf768){const _0x36c6a9=_0x1b022c;return void 0x0!==_0x4cf768[_0x36c6a9(0x9f)];}async function N(_0x267ca0,_0x36791b,_0x2bd8bc){const _0x367d56=_0x1b022c,_0xfb755c=_0xf681d0(_0x267ca0,T);_0xfb755c[_0x367d56(0x9e)][_0x367d56(0x7b)](_0x154388,D),_0xfb755c[_0x367d56(0x75)]=v(_0x267ca0)?_0x267ca0[_0x367d56(0x9f)]():void 0x0;const _0x2843bc=document[_0x367d56(0x72)](),_0x28a170=_0x267ca0[_0x367d56(0xa8)][_0x367d56(0x86)](_0x367d56(0x8c))[_0x367d56(0x9d)],_0x50f3db=await _0x28a170(_0xfb755c,()=>function(_0x1d3755){const _0x12ae00=_0x367d56,_0x1f7504=document[_0x12ae00(0x7e)](_0x12ae00(0x7d));return _0x1d3755[_0x12ae00(0x99)](_0x1f7504),_0x1f7504;}(_0x2843bc));!function(_0x2eb906,_0x3f7183){const _0x3c8941=_0x367d56,_0x4280e2=_0x2eb906[_0x3c8941(0x97)][_0x3c8941(0x7f)][_0x3c8941(0x6b)]()[_0x3c8941(0x74)]((_0x47e28f,_0x2744b2)=>(_0x47e28f[_0x2744b2]=_0x2eb906[_0x3c8941(0x73)][_0x3c8941(0x86)]({'rootName':_0x2744b2}),_0x47e28f),{}),_0x195a5a=_0x2eb906[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0x76))[_0x3c8941(0xa7)][_0x3c8941(0x90)](_0x4ec4df=>({'id':_0x4ec4df['id'],'name':_0x4ec4df[_0x3c8941(0x6d)]})),_0x307587=_0x2eb906[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0x70))[_0x3c8941(0x78)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x255f9c=_0x2eb906[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0xa2))[_0x3c8941(0x7c)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4e23df=_0x3f7183[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0x76)),_0xa907fa=_0x3f7183[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0x70)),_0x34212c=_0x3f7183[_0x3c8941(0x9e)][_0x3c8941(0x86)](_0x3c8941(0xa2));for(const _0x34151f of _0x195a5a)_0x4e23df[_0x3c8941(0x6c)](_0x34151f['id'])||_0x4e23df[_0x3c8941(0x8d)](_0x34151f);_0x4e23df['me']||_0x4e23df[_0x3c8941(0x85)]();for(const _0x5f4926 of _0x255f9c)_0x34212c[_0x3c8941(0x87)](_0x5f4926);for(const _0x3f6c13 of _0x307587)_0xa907fa[_0x3c8941(0xa6)](_0x3f6c13);_0x3f7183[_0x3c8941(0x73)][_0x3c8941(0x71)](_0x4280e2);}(_0x267ca0,_0x50f3db),_0x50f3db[_0x367d56(0x69)](_0x36791b?_0x367d56(0x9c):_0x367d56(0x8b));const _0x2ab348=v(_0x50f3db)?_0x50f3db[_0x367d56(0x6f)](_0x2bd8bc):_0x50f3db[_0x367d56(0x73)][_0x367d56(0x86)](_0x2bd8bc);return await _0x50f3db[_0x367d56(0x8e)](),_0x2ab348;}
|