@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240530.0 → 0.0.0-nightly-20240531.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x456ab6=_0x3649;(function(_0x326532,_0x5c08b4){const _0x92bcc6=_0x3649,_0x38f067=_0x326532();while(!![]){try{const _0x3097fe=parseInt(_0x92bcc6(0xcd))/0x1*(-parseInt(_0x92bcc6(0x102))/0x2)+-parseInt(_0x92bcc6(0x123))/0x3*(parseInt(_0x92bcc6(0xe4))/0x4)+-parseInt(_0x92bcc6(0xfd))/0x5+-parseInt(_0x92bcc6(0xe1))/0x6*(-parseInt(_0x92bcc6(0x12e))/0x7)+-parseInt(_0x92bcc6(0xef))/0x8+parseInt(_0x92bcc6(0x10a))/0x9+-parseInt(_0x92bcc6(0x111))/0xa*(-parseInt(_0x92bcc6(0xdd))/0xb);if(_0x3097fe===_0x5c08b4)break;else _0x38f067['push'](_0x38f067['shift']());}catch(_0x2e7cab){_0x38f067['push'](_0x38f067['shift']());}}}(_0x1f9f,0xda7d4));import{Plugin as _0x413330}from'ckeditor5/src/core.js';import _0x1beeaa from'./table.js';import{LiveRange as _0x241e26}from'ckeditor5/src/engine.js';import{getTranslation as _0x2a0121}from'../utils/common-translations.js';function _0x1f9f(){const _0x25d328=['type','containsRange','*Split\x20cell:*\x20vertically','splitTableCellHorizontally','getCellLocation','stop','12763116qRixtN','mergeTableCells','afterInit','mergeTableCellDown','locale','formatInline','commandName','20DTGfIP','refresh','getSelectionAffectedTableCells','findAncestor','descriptionFactory','highest','insertion','markBlockFormat','formatBlock','createRangeOn','horizontally','markMultiRangeBlockFormat','_suggestionFactory','enableCommand','find','has','setSelection','*Merge\x20cells*','12579MdzgFx','mergeTableCellLeft','execute','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20horizontally','editor','fromRange','createTableWalker','registerCustomCallback','size','low','7ZajSOx','requires','rootName','1ykfYgY','set:isEnabled','root','mergeTableCellRight','model','table','TableUtils','getFirstPosition','from','format','TrackChangesEditing','element','selection','getRanges','getAncestors','document','18132323oAXgqz','accept','splitTableCellVertically','change','5740212oiXZcA','_tablePostFixingSubtypes','commands','908bmtswN','value','$graveyard','deletion','push','author','filter','isInContent','map','add','get','12000048xYhvFb','mergeTableCellUp','_acceptFormatSuggestionCallbackFactory','return','forceDefaultExecution','getSuggestions','_areMergableCells','detach','direction','_areSelectedCellsMergable','isEnabled','registerDescriptionCallback','length','cell','2896745AYKdBJ','subType','TableEditing','tableCell','plugins','3491028SeIQZw','trackChanges'];_0x1f9f=function(){return _0x25d328;};return _0x1f9f();}function _0x3649(_0x2daca2,_0x35e2ba){const _0x1f9fef=_0x1f9f();return _0x3649=function(_0x36494b,_0x242ca6){_0x36494b=_0x36494b-0xcb;let _0x34c1b8=_0x1f9fef[_0x36494b];return _0x34c1b8;},_0x3649(_0x2daca2,_0x35e2ba);}export default class St extends _0x413330{static get[_0x456ab6(0xcb)](){return[_0x1beeaa];}[_0x456ab6(0x10c)](){const _0x54d837=_0x456ab6,_0x3e9244=this[_0x54d837(0x128)],_0x51bb51=_0x3e9244[_0x54d837(0xd1)][_0x54d837(0xdc)][_0x54d837(0xd9)],_0x352f5f=_0x3e9244[_0x54d837(0x10e)];if(!_0x3e9244[_0x54d837(0x101)][_0x54d837(0x120)](_0x54d837(0xff)))return;const _0x1b3ca8=_0x3e9244[_0x54d837(0x101)][_0x54d837(0xee)](_0x54d837(0xd7)),_0x54ce72=_0x3e9244[_0x54d837(0x101)][_0x54d837(0xee)](_0x54d837(0xd3)),_0x143f1d=_0x3e9244[_0x54d837(0x101)][_0x54d837(0xee)](_0x1beeaa);_0x143f1d[_0x54d837(0xe2)][_0x54d837(0xe8)](_0x54d837(0x10b)),_0x1b3ca8[_0x54d837(0x11e)](_0x54d837(0x10b),()=>{const _0x535aa1=_0x54d837,_0x523279=_0x54ce72[_0x535aa1(0x113)](_0x3e9244[_0x535aa1(0xd1)][_0x535aa1(0xdc)][_0x535aa1(0xd9)]);_0x3e9244[_0x535aa1(0xd1)][_0x535aa1(0xe0)](()=>{const _0x31ac5c=_0x535aa1;_0x1b3ca8[_0x31ac5c(0x11c)](_0x523279,{'commandName':_0x31ac5c(0x10b),'commandParams':[]},[],_0x31ac5c(0x10b));});}),_0x3e9244[_0x54d837(0xe3)][_0x54d837(0xee)](_0x54d837(0x10b))['on'](_0x54d837(0x125),(_0x318442,_0x4f3936)=>{const _0xf8ac9e=_0x54d837;_0x3e9244[_0xf8ac9e(0xe3)][_0xf8ac9e(0xee)](_0xf8ac9e(0x103))[_0xf8ac9e(0xe5)]&&(_0x4f3936[_0xf8ac9e(0xfb)]>0x0&&_0x4f3936[_0x4f3936[_0xf8ac9e(0xfb)]-0x1]&&_0x4f3936[_0x4f3936[_0xf8ac9e(0xfb)]-0x1][_0xf8ac9e(0xf3)]||_0x1b3ca8[_0xf8ac9e(0x126)]||this[_0xf8ac9e(0xf8)]()||_0x318442[_0xf8ac9e(0x109)]());},{'priority':_0x54d837(0x116)});for(const _0x4b8b36 of[_0x54d837(0xf0),_0x54d837(0xd0),_0x54d837(0x10d),_0x54d837(0x124)]){const _0x488997=_0x3e9244[_0x54d837(0xe3)][_0x54d837(0xee)](_0x4b8b36);_0x1b3ca8[_0x54d837(0x11e)](_0x4b8b36,()=>{const _0x129bfc=_0x54d837,_0x579378=_0x3e9244[_0x129bfc(0xd1)][_0x129bfc(0xdc)][_0x129bfc(0xd9)][_0x129bfc(0xd4)]()[_0x129bfc(0xdb)]()[_0x129bfc(0x11f)](_0x4ddebe=>_0x4ddebe['is'](_0x129bfc(0xd8),_0x129bfc(0x100))),_0x1c477f=_0x488997[_0x129bfc(0xe5)];_0x3e9244[_0x129bfc(0xd1)][_0x129bfc(0xe0)](()=>{const _0x244f6b=_0x129bfc;_0x1b3ca8[_0x244f6b(0x11c)]([_0x579378,_0x1c477f],{'commandName':_0x244f6b(0x10b),'commandParams':[]},[],_0x244f6b(0x10b));});});}for(const _0x394818 of[_0x54d837(0xdf),_0x54d837(0x107)]){const _0x9437f5=_0x3e9244[_0x54d837(0xe3)][_0x54d837(0xee)](_0x394818);_0x1b3ca8[_0x54d837(0x11e)](_0x394818,()=>{const _0x56a6be=_0x54d837,_0x1c2871=_0x54ce72[_0x56a6be(0x113)](_0x3e9244[_0x56a6be(0xd1)][_0x56a6be(0xdc)][_0x56a6be(0xd9)])[0x0],_0x2863cf=_0x1c2871[_0x56a6be(0x114)](_0x56a6be(0xd2)),{column:_0x2cb4df,row:_0x363e3e}=_0x54ce72[_0x56a6be(0x108)](_0x1c2871);let _0x36c282=[];if(_0x56a6be(0x11b)==_0x9437f5[_0x56a6be(0xf7)]){const _0x42e076=_0x54ce72[_0x56a6be(0x12a)](_0x2863cf,{'startRow':_0x363e3e,'endRow':_0x363e3e,'includeAllSlots':!0x0});_0x36c282=Array[_0x56a6be(0xd5)](_0x42e076)[_0x56a6be(0xec)](_0x199d68=>_0x199d68[_0x56a6be(0xfc)]);}else{const _0x3474cc=_0x54ce72[_0x56a6be(0x12a)](_0x2863cf,{'column':_0x2cb4df,'includeAllSlots':!0x0});_0x36c282=Array[_0x56a6be(0xd5)](_0x3474cc)[_0x56a6be(0xec)](_0x142c59=>_0x142c59[_0x56a6be(0xfc)]);}_0x3e9244[_0x56a6be(0xd1)][_0x56a6be(0xe0)](_0x5a1459=>{const _0x2a3e9a=_0x56a6be;_0x1b3ca8[_0x2a3e9a(0x118)](_0x5a1459[_0x2a3e9a(0x11a)](_0x1c2871),{'commandName':_0x394818,'commandParams':[]},_0x36c282,_0x394818);});});}_0x1b3ca8[_0x54d837(0x115)][_0x54d837(0xfa)](_0xc6cfd6=>{const _0x1d26e4=_0x54d837;if(_0x1d26e4(0x119)!=_0xc6cfd6[_0x1d26e4(0x104)]&&_0x1d26e4(0x10f)!=_0xc6cfd6[_0x1d26e4(0x104)])return;const {data:_0x383d7f}=_0xc6cfd6;return _0x383d7f&&_0x1d26e4(0x10b)==_0x383d7f[_0x1d26e4(0x110)]?{'type':_0x1d26e4(0xd6),'content':_0x2a0121(_0x352f5f,_0x1d26e4(0x122))}:void 0x0;}),_0x1b3ca8[_0x54d837(0x115)][_0x54d837(0xfa)](_0x35743a=>{const _0x183e5b=_0x54d837;if(_0x183e5b(0x119)!=_0x35743a[_0x183e5b(0x104)]&&_0x183e5b(0x10f)!=_0x35743a[_0x183e5b(0x104)])return;const {data:_0x3c6490}=_0x35743a;return _0x3c6490?_0x183e5b(0xdf)==_0x3c6490[_0x183e5b(0x110)]?{'type':_0x183e5b(0xd6),'content':_0x2a0121(_0x352f5f,_0x183e5b(0x106))}:_0x183e5b(0x107)==_0x3c6490[_0x183e5b(0x110)]?{'type':_0x183e5b(0xd6),'content':_0x2a0121(_0x352f5f,_0x183e5b(0x127))}:void 0x0:void 0x0;});const _0x250062=_0x143f1d[_0x54d837(0xf1)]();for(const _0x48de63 of[_0x54d837(0xf0),_0x54d837(0xd0),_0x54d837(0x10d),_0x54d837(0x124)])_0x1b3ca8[_0x54d837(0x11d)][_0x54d837(0x12b)](_0x54d837(0x119),_0x48de63,_0x54d837(0xde),_0x250062);for(const _0x29643a of[_0x54d837(0xdf),_0x54d837(0x107)])_0x1b3ca8[_0x54d837(0x11d)][_0x54d837(0x12b)](_0x54d837(0x119),_0x29643a,_0x54d837(0xde),_0x250062);_0x1b3ca8[_0x54d837(0x11d)][_0x54d837(0x12b)](_0x54d837(0x119),_0x54d837(0x10b),_0x54d837(0xde),_0x5a1788=>{const _0x2c9436=_0x54d837;_0x3e9244[_0x2c9436(0xd1)][_0x2c9436(0xe0)](_0x693508=>{const _0x2b45a4=_0x2c9436,_0x126bc9=Array[_0x2b45a4(0xd5)](_0x51bb51[_0x2b45a4(0xda)]())[_0x2b45a4(0xec)](_0x150b1c=>_0x241e26[_0x2b45a4(0x129)](_0x150b1c));_0x693508[_0x2b45a4(0x121)](_0x5a1788),_0x3e9244[_0x2b45a4(0xe3)][_0x2b45a4(0xee)](_0x2b45a4(0x10b))[_0x2b45a4(0x112)](),_0x3e9244[_0x2b45a4(0x125)](_0x2b45a4(0x10b),{'forceDefaultExecution':!0x0});const _0x3ed3b7=_0x126bc9[_0x2b45a4(0xea)](_0x5b1f9d=>_0x2b45a4(0xe6)!=_0x5b1f9d[_0x2b45a4(0xcf)][_0x2b45a4(0xcc)]);_0x3ed3b7[_0x2b45a4(0xfb)]>0x0&&_0x693508[_0x2b45a4(0x121)](_0x3ed3b7);for(const _0x4fc914 of _0x126bc9)_0x4fc914[_0x2b45a4(0xf6)]();});});for(const _0x233f32 of[_0x54d837(0xf0),_0x54d837(0x10d),_0x54d837(0x124),_0x54d837(0xd0)]){const _0x4e72e7=_0x3e9244[_0x54d837(0xe3)][_0x54d837(0xee)](_0x233f32);_0x4e72e7['on'](_0x54d837(0xce),(_0x411aba,_0x2bdd15,_0x277b0e)=>{const _0x42b371=_0x54d837;if(_0x277b0e){const _0x47f875=_0x3e9244[_0x42b371(0xd1)][_0x42b371(0xdc)][_0x42b371(0xd9)][_0x42b371(0xd4)]()[_0x42b371(0xdb)]()[_0x42b371(0x11f)](_0x54cfba=>_0x54cfba['is'](_0x42b371(0xd8),_0x42b371(0x100)));this[_0x42b371(0xf5)](_0x4e72e7[_0x42b371(0xe5)],_0x47f875)||(_0x411aba[_0x42b371(0xf2)]=!0x1,_0x411aba[_0x42b371(0x109)]());}},{'priority':_0x54d837(0x12d)});}}[_0x456ab6(0xf8)](){const _0x2bc11a=_0x456ab6,_0x4bae83=this[_0x2bc11a(0x128)][_0x2bc11a(0xe3)][_0x2bc11a(0xee)](_0x2bc11a(0x10b)),_0x4f4d40=this[_0x2bc11a(0x128)][_0x2bc11a(0x101)][_0x2bc11a(0xee)](_0x2bc11a(0xd3));if(!_0x4bae83[_0x2bc11a(0xf9)])return!0x1;const _0x235be4=_0x4f4d40[_0x2bc11a(0x113)](this[_0x2bc11a(0x128)][_0x2bc11a(0xd1)][_0x2bc11a(0xdc)][_0x2bc11a(0xd9)]);for(const _0xef2e40 of _0x235be4)for(const _0x3ea49b of _0x235be4)if(_0xef2e40!=_0x3ea49b&&!this[_0x2bc11a(0xf5)](_0xef2e40,_0x3ea49b))return!0x1;return!0x0;}[_0x456ab6(0xf5)](_0x564dd1,_0x3556e6){const _0x2c9e4c=_0x456ab6,_0x17ce53=this[_0x2c9e4c(0x128)][_0x2c9e4c(0x101)][_0x2c9e4c(0xee)](_0x2c9e4c(0xd7)),_0x2c6667=this[_0x2c9e4c(0x128)][_0x2c9e4c(0xd1)][_0x2c9e4c(0x11a)](_0x564dd1),_0xc01bc9=this[_0x2c9e4c(0x128)][_0x2c9e4c(0xd1)][_0x2c9e4c(0x11a)](_0x3556e6),_0x97ead9=new Set(),_0x432ecb=new Set();for(const _0x23e1eb of _0x17ce53[_0x2c9e4c(0xf4)]())if((_0x2c9e4c(0x117)==_0x23e1eb[_0x2c9e4c(0x104)]||_0x2c9e4c(0xe7)==_0x23e1eb[_0x2c9e4c(0x104)]||_0x2c9e4c(0x10b)==_0x23e1eb[_0x2c9e4c(0xfe)])&&_0x23e1eb[_0x2c9e4c(0xeb)]){for(const _0x2acc45 of _0x23e1eb[_0x2c9e4c(0xda)]())_0x2acc45[_0x2c9e4c(0x105)](_0x2c6667,!0x0)&&_0x97ead9[_0x2c9e4c(0xed)](_0x23e1eb[_0x2c9e4c(0x104)]+':'+_0x23e1eb[_0x2c9e4c(0xe9)]['id']),_0x2acc45[_0x2c9e4c(0x105)](_0xc01bc9,!0x0)&&_0x432ecb[_0x2c9e4c(0xed)](_0x23e1eb[_0x2c9e4c(0x104)]+':'+_0x23e1eb[_0x2c9e4c(0xe9)]['id']);}if(_0x97ead9[_0x2c9e4c(0x12c)]!=_0x432ecb[_0x2c9e4c(0x12c)])return!0x1;for(const _0x5b835f of _0x97ead9)if(!_0x432ecb[_0x2c9e4c(0x120)](_0x5b835f))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4d5c(){const _0xe24728=['accept','markMultiRangeBlockFormat','root','10HWsEgX','findAncestor','getSuggestions','value','createTableWalker','size','mergeTableCellLeft','getSelectionAffectedTableCells','subType','getFirstPosition','has','stop','26769BkJVBl','TableEditing','TableUtils','document','markBlockFormat','refresh','selection','highest','10wnOSBF','table','formatBlock','enableCommand','push','plugins','format','_acceptFormatSuggestionCallbackFactory','*Split\x20cell:*\x20horizontally','tableCell','getAncestors','162rnjjOd','rootName','requires','get','insertion','mergeTableCells','TrackChangesEditing','registerDescriptionCallback','splitTableCellVertically','element','add','3546935KSETXI','splitTableCellHorizontally','mergeTableCellUp','forceDefaultExecution','4550004GATzke','execute','find','_areMergableCells','locale','*Split\x20cell:*\x20vertically','low','descriptionFactory','detach','length','from','getRanges','isEnabled','filter','change','setSelection','cell','horizontally','containsRange','commandName','fromRange','_areSelectedCellsMergable','createRangeOn','deletion','19504746lqvIzs','getCellLocation','return','commands','_suggestionFactory','mergeTableCellDown','author','trackChanges','isInContent','*Merge\x20cells*','688106HAsJLm','_isForcedDefaultExecutionBlock','editor','3706356kGZXXe','formatInline','type','registerCustomCallback','map','afterInit','model','mergeTableCellRight','$graveyard','direction','7628064NvZdla','set:isEnabled','_tablePostFixingSubtypes'];_0x4d5c=function(){return _0xe24728;};return _0x4d5c();}const _0x31758d=_0x28fe;(function(_0x2f6cb5,_0x5e6f73){const _0x36e962=_0x28fe,_0x22d01f=_0x2f6cb5();while(!![]){try{const _0x277d26=-parseInt(_0x36e962(0x168))/0x1+parseInt(_0x36e962(0x19a))/0x2*(parseInt(_0x36e962(0x187))/0x3)+parseInt(_0x36e962(0x1a9))/0x4+parseInt(_0x36e962(0x17b))/0x5*(-parseInt(_0x36e962(0x16b))/0x6)+-parseInt(_0x36e962(0x1a5))/0x7+-parseInt(_0x36e962(0x175))/0x8+-parseInt(_0x36e962(0x15e))/0x9*(-parseInt(_0x36e962(0x18f))/0xa);if(_0x277d26===_0x5e6f73)break;else _0x22d01f['push'](_0x22d01f['shift']());}catch(_0x2c514b){_0x22d01f['push'](_0x22d01f['shift']());}}}(_0x4d5c,0x9d267));function _0x28fe(_0x31dc17,_0x5eda63){const _0x4d5c93=_0x4d5c();return _0x28fe=function(_0x28fe56,_0x502487){_0x28fe56=_0x28fe56-0x147;let _0xe9b7a6=_0x4d5c93[_0x28fe56];return _0xe9b7a6;},_0x28fe(_0x31dc17,_0x5eda63);}import{Plugin as _0x25076c}from'ckeditor5/src/core.js';import _0x418838 from'./table.js';import{LiveRange as _0x197f28}from'ckeditor5/src/engine.js';import{getTranslation as _0x2431f7}from'../utils/common-translations.js';export default class St extends _0x25076c{static get[_0x31758d(0x19c)](){return[_0x418838];}[_0x31758d(0x170)](){const _0xb87936=_0x31758d,_0x2dc3a3=this[_0xb87936(0x16a)],_0x2c0469=_0x2dc3a3[_0xb87936(0x171)][_0xb87936(0x18a)][_0xb87936(0x18d)],_0x1cdb10=_0x2dc3a3[_0xb87936(0x14a)];if(!_0x2dc3a3[_0xb87936(0x194)][_0xb87936(0x185)](_0xb87936(0x188)))return;const _0x22a4c4=_0x2dc3a3[_0xb87936(0x194)][_0xb87936(0x19d)](_0xb87936(0x1a0)),_0x2dcfb6=_0x2dc3a3[_0xb87936(0x194)][_0xb87936(0x19d)](_0xb87936(0x189)),_0x436ff4=_0x2dc3a3[_0xb87936(0x194)][_0xb87936(0x19d)](_0x418838);_0x436ff4[_0xb87936(0x177)][_0xb87936(0x193)](_0xb87936(0x19f)),_0x22a4c4[_0xb87936(0x192)](_0xb87936(0x19f),()=>{const _0x1c2b17=_0xb87936,_0x47f60d=_0x2dcfb6[_0x1c2b17(0x182)](_0x2dc3a3[_0x1c2b17(0x171)][_0x1c2b17(0x18a)][_0x1c2b17(0x18d)]);_0x2dc3a3[_0x1c2b17(0x171)][_0x1c2b17(0x154)](()=>{const _0x5d4baf=_0x1c2b17;_0x22a4c4[_0x5d4baf(0x179)](_0x47f60d,{'commandName':_0x5d4baf(0x19f),'commandParams':[]},[],_0x5d4baf(0x19f));});}),_0x2dc3a3[_0xb87936(0x161)][_0xb87936(0x19d)](_0xb87936(0x19f))['on'](_0xb87936(0x147),(_0xdb0598,_0x22bb8f)=>{const _0xa10325=_0xb87936;_0x2dc3a3[_0xa10325(0x161)][_0xa10325(0x19d)](_0xa10325(0x165))[_0xa10325(0x17e)]&&(_0x22bb8f[_0xa10325(0x14f)]>0x0&&_0x22bb8f[_0x22bb8f[_0xa10325(0x14f)]-0x1]&&_0x22bb8f[_0x22bb8f[_0xa10325(0x14f)]-0x1][_0xa10325(0x1a8)]||_0x22a4c4[_0xa10325(0x169)]||this[_0xa10325(0x15b)]()||_0xdb0598[_0xa10325(0x186)]());},{'priority':_0xb87936(0x18e)});for(const _0x4c89b4 of[_0xb87936(0x1a7),_0xb87936(0x172),_0xb87936(0x163),_0xb87936(0x181)]){const _0x532716=_0x2dc3a3[_0xb87936(0x161)][_0xb87936(0x19d)](_0x4c89b4);_0x22a4c4[_0xb87936(0x192)](_0x4c89b4,()=>{const _0x17923f=_0xb87936,_0xc6ccdf=_0x2dc3a3[_0x17923f(0x171)][_0x17923f(0x18a)][_0x17923f(0x18d)][_0x17923f(0x184)]()[_0x17923f(0x199)]()[_0x17923f(0x148)](_0x2380cd=>_0x2380cd['is'](_0x17923f(0x1a3),_0x17923f(0x198))),_0x30cf30=_0x532716[_0x17923f(0x17e)];_0x2dc3a3[_0x17923f(0x171)][_0x17923f(0x154)](()=>{const _0x59fd52=_0x17923f;_0x22a4c4[_0x59fd52(0x179)]([_0xc6ccdf,_0x30cf30],{'commandName':_0x59fd52(0x19f),'commandParams':[]},[],_0x59fd52(0x19f));});});}for(const _0x2ae98a of[_0xb87936(0x1a2),_0xb87936(0x1a6)]){const _0x1b10b=_0x2dc3a3[_0xb87936(0x161)][_0xb87936(0x19d)](_0x2ae98a);_0x22a4c4[_0xb87936(0x192)](_0x2ae98a,()=>{const _0x11a0f4=_0xb87936,_0x3d739e=_0x2dcfb6[_0x11a0f4(0x182)](_0x2dc3a3[_0x11a0f4(0x171)][_0x11a0f4(0x18a)][_0x11a0f4(0x18d)])[0x0],_0x1ab1ce=_0x3d739e[_0x11a0f4(0x17c)](_0x11a0f4(0x190)),{column:_0xd8733a,row:_0xfece5e}=_0x2dcfb6[_0x11a0f4(0x15f)](_0x3d739e);let _0x49864e=[];if(_0x11a0f4(0x157)==_0x1b10b[_0x11a0f4(0x174)]){const _0x4aed39=_0x2dcfb6[_0x11a0f4(0x17f)](_0x1ab1ce,{'startRow':_0xfece5e,'endRow':_0xfece5e,'includeAllSlots':!0x0});_0x49864e=Array[_0x11a0f4(0x150)](_0x4aed39)[_0x11a0f4(0x16f)](_0x1e9c72=>_0x1e9c72[_0x11a0f4(0x156)]);}else{const _0x47bebe=_0x2dcfb6[_0x11a0f4(0x17f)](_0x1ab1ce,{'column':_0xd8733a,'includeAllSlots':!0x0});_0x49864e=Array[_0x11a0f4(0x150)](_0x47bebe)[_0x11a0f4(0x16f)](_0x2871c8=>_0x2871c8[_0x11a0f4(0x156)]);}_0x2dc3a3[_0x11a0f4(0x171)][_0x11a0f4(0x154)](_0x386e84=>{const _0x430a1f=_0x11a0f4;_0x22a4c4[_0x430a1f(0x18b)](_0x386e84[_0x430a1f(0x15c)](_0x3d739e),{'commandName':_0x2ae98a,'commandParams':[]},_0x49864e,_0x2ae98a);});});}_0x22a4c4[_0xb87936(0x14d)][_0xb87936(0x1a1)](_0x17b712=>{const _0x1e8636=_0xb87936;if(_0x1e8636(0x191)!=_0x17b712[_0x1e8636(0x16d)]&&_0x1e8636(0x16c)!=_0x17b712[_0x1e8636(0x16d)])return;const {data:_0x2d3121}=_0x17b712;return _0x2d3121&&_0x1e8636(0x19f)==_0x2d3121[_0x1e8636(0x159)]?{'type':_0x1e8636(0x195),'content':_0x2431f7(_0x1cdb10,_0x1e8636(0x167))}:void 0x0;}),_0x22a4c4[_0xb87936(0x14d)][_0xb87936(0x1a1)](_0x9f4616=>{const _0x690571=_0xb87936;if(_0x690571(0x191)!=_0x9f4616[_0x690571(0x16d)]&&_0x690571(0x16c)!=_0x9f4616[_0x690571(0x16d)])return;const {data:_0x3d2aa3}=_0x9f4616;return _0x3d2aa3?_0x690571(0x1a2)==_0x3d2aa3[_0x690571(0x159)]?{'type':_0x690571(0x195),'content':_0x2431f7(_0x1cdb10,_0x690571(0x14b))}:_0x690571(0x1a6)==_0x3d2aa3[_0x690571(0x159)]?{'type':_0x690571(0x195),'content':_0x2431f7(_0x1cdb10,_0x690571(0x197))}:void 0x0:void 0x0;});const _0x12605c=_0x436ff4[_0xb87936(0x196)]();for(const _0x3f3723 of[_0xb87936(0x1a7),_0xb87936(0x172),_0xb87936(0x163),_0xb87936(0x181)])_0x22a4c4[_0xb87936(0x162)][_0xb87936(0x16e)](_0xb87936(0x191),_0x3f3723,_0xb87936(0x178),_0x12605c);for(const _0x2c05c7 of[_0xb87936(0x1a2),_0xb87936(0x1a6)])_0x22a4c4[_0xb87936(0x162)][_0xb87936(0x16e)](_0xb87936(0x191),_0x2c05c7,_0xb87936(0x178),_0x12605c);_0x22a4c4[_0xb87936(0x162)][_0xb87936(0x16e)](_0xb87936(0x191),_0xb87936(0x19f),_0xb87936(0x178),_0xc428bb=>{const _0x23c653=_0xb87936;_0x2dc3a3[_0x23c653(0x171)][_0x23c653(0x154)](_0x2de95c=>{const _0x57f364=_0x23c653,_0x46dba6=Array[_0x57f364(0x150)](_0x2c0469[_0x57f364(0x151)]())[_0x57f364(0x16f)](_0x46593d=>_0x197f28[_0x57f364(0x15a)](_0x46593d));_0x2de95c[_0x57f364(0x155)](_0xc428bb),_0x2dc3a3[_0x57f364(0x161)][_0x57f364(0x19d)](_0x57f364(0x19f))[_0x57f364(0x18c)](),_0x2dc3a3[_0x57f364(0x147)](_0x57f364(0x19f),{'forceDefaultExecution':!0x0});const _0x1d5959=_0x46dba6[_0x57f364(0x153)](_0x10ac61=>_0x57f364(0x173)!=_0x10ac61[_0x57f364(0x17a)][_0x57f364(0x19b)]);_0x1d5959[_0x57f364(0x14f)]>0x0&&_0x2de95c[_0x57f364(0x155)](_0x1d5959);for(const _0x2da307 of _0x46dba6)_0x2da307[_0x57f364(0x14e)]();});});for(const _0x1c69a5 of[_0xb87936(0x1a7),_0xb87936(0x163),_0xb87936(0x181),_0xb87936(0x172)]){const _0x1ffd7b=_0x2dc3a3[_0xb87936(0x161)][_0xb87936(0x19d)](_0x1c69a5);_0x1ffd7b['on'](_0xb87936(0x176),(_0x194f9e,_0x1645f4,_0x317ce5)=>{const _0x342b5e=_0xb87936;if(_0x317ce5){const _0x31fb9e=_0x2dc3a3[_0x342b5e(0x171)][_0x342b5e(0x18a)][_0x342b5e(0x18d)][_0x342b5e(0x184)]()[_0x342b5e(0x199)]()[_0x342b5e(0x148)](_0x433e1b=>_0x433e1b['is'](_0x342b5e(0x1a3),_0x342b5e(0x198)));this[_0x342b5e(0x149)](_0x1ffd7b[_0x342b5e(0x17e)],_0x31fb9e)||(_0x194f9e[_0x342b5e(0x160)]=!0x1,_0x194f9e[_0x342b5e(0x186)]());}},{'priority':_0xb87936(0x14c)});}}[_0x31758d(0x15b)](){const _0x5052ed=_0x31758d,_0x411e55=this[_0x5052ed(0x16a)][_0x5052ed(0x161)][_0x5052ed(0x19d)](_0x5052ed(0x19f)),_0x11994e=this[_0x5052ed(0x16a)][_0x5052ed(0x194)][_0x5052ed(0x19d)](_0x5052ed(0x189));if(!_0x411e55[_0x5052ed(0x152)])return!0x1;const _0x5a9f34=_0x11994e[_0x5052ed(0x182)](this[_0x5052ed(0x16a)][_0x5052ed(0x171)][_0x5052ed(0x18a)][_0x5052ed(0x18d)]);for(const _0x5c7485 of _0x5a9f34)for(const _0x3847e3 of _0x5a9f34)if(_0x5c7485!=_0x3847e3&&!this[_0x5052ed(0x149)](_0x5c7485,_0x3847e3))return!0x1;return!0x0;}[_0x31758d(0x149)](_0x3c5f45,_0x1dfc9d){const _0x590724=_0x31758d,_0xae8628=this[_0x590724(0x16a)][_0x590724(0x194)][_0x590724(0x19d)](_0x590724(0x1a0)),_0x24512f=this[_0x590724(0x16a)][_0x590724(0x171)][_0x590724(0x15c)](_0x3c5f45),_0x40861e=this[_0x590724(0x16a)][_0x590724(0x171)][_0x590724(0x15c)](_0x1dfc9d),_0x52ddd7=new Set(),_0x1b0508=new Set();for(const _0x553dba of _0xae8628[_0x590724(0x17d)]())if((_0x590724(0x19e)==_0x553dba[_0x590724(0x16d)]||_0x590724(0x15d)==_0x553dba[_0x590724(0x16d)]||_0x590724(0x19f)==_0x553dba[_0x590724(0x183)])&&_0x553dba[_0x590724(0x166)]){for(const _0x5512c0 of _0x553dba[_0x590724(0x151)]())_0x5512c0[_0x590724(0x158)](_0x24512f,!0x0)&&_0x52ddd7[_0x590724(0x1a4)](_0x553dba[_0x590724(0x16d)]+':'+_0x553dba[_0x590724(0x164)]['id']),_0x5512c0[_0x590724(0x158)](_0x40861e,!0x0)&&_0x1b0508[_0x590724(0x1a4)](_0x553dba[_0x590724(0x16d)]+':'+_0x553dba[_0x590724(0x164)]['id']);}if(_0x52ddd7[_0x590724(0x180)]!=_0x1b0508[_0x590724(0x180)])return!0x1;for(const _0x5cb131 of _0x52ddd7)if(!_0x1b0508[_0x590724(0x185)](_0x5cb131))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aa3de=_0x2d80;(function(_0x12e9be,_0xbc9c35){const _0x159445=_0x2d80,_0x18a354=_0x12e9be();while(!![]){try{const _0x32a39f=parseInt(_0x159445(0x1ae))/0x1*(-parseInt(_0x159445(0x1a7))/0x2)+parseInt(_0x159445(0x1b8))/0x3*(parseInt(_0x159445(0x1b3))/0x4)+-parseInt(_0x159445(0x1ad))/0x5*(-parseInt(_0x159445(0x1b0))/0x6)+parseInt(_0x159445(0x1b2))/0x7+-parseInt(_0x159445(0x1b5))/0x8+-parseInt(_0x159445(0x1a5))/0x9+parseInt(_0x159445(0x1b4))/0xa;if(_0x32a39f===_0xbc9c35)break;else _0x18a354['push'](_0x18a354['shift']());}catch(_0xd53e98){_0x18a354['push'](_0x18a354['shift']());}}}(_0x38a1,0x643f5));import{Plugin as _0x13efa3}from'ckeditor5/src/core.js';import{getTranslation as _0x47f266}from'../utils/common-translations.js';export default class _t extends _0x13efa3{[_0x4aa3de(0x1b1)](){const _0x5a290a=_0x4aa3de,_0x14266b=this[_0x5a290a(0x1b9)];if(!_0x14266b[_0x5a290a(0x1af)][_0x5a290a(0x1b7)](_0x5a290a(0x1ba)))return;_0x14266b[_0x5a290a(0x1b6)][_0x5a290a(0x1b7)](_0x5a290a(0x1a8))[_0x5a290a(0x1a6)](_0x5a290a(0x1ba));const _0x5de2ac=_0x14266b[_0x5a290a(0x1b6)][_0x5a290a(0x1b7)](_0x5a290a(0x1a8)),_0x494b50=_0x14266b[_0x5a290a(0x1bb)];_0x5de2ac[_0x5a290a(0x1ab)][_0x5a290a(0x1a9)](_0x5a290a(0x1ac),_0x326d88=>_0x47f266(_0x494b50,_0x5a290a(0x1aa),_0x326d88));}}function _0x2d80(_0x119eee,_0x130263){const _0x38a13d=_0x38a1();return _0x2d80=function(_0x2d808c,_0x3b7517){_0x2d808c=_0x2d808c-0x1a5;let _0x4c3110=_0x38a13d[_0x2d808c];return _0x4c3110;},_0x2d80(_0x119eee,_0x130263);}function _0x38a1(){const _0x1f5674=['enableCommand','360862SgCtbl','TrackChangesEditing','registerElementLabel','ELEMENT_TABLE_OF_CONTENTS','descriptionFactory','tableOfContents','5IglkZt','3sgEEMr','commands','581556NmJNXm','afterInit','2778706neKTLC','34912DtEZJk','17360390LDemBq','5389096CkIBNN','plugins','get','3qBVYEV','editor','insertTableOfContents','locale','5517972stoNQR'];_0x38a1=function(){return _0x1f5674;};return _0x38a1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x553c40=_0x8f04;function _0x41ac(){const _0x1fd5df=['change','selection','removeAttribute','TableCellPropertiesEditing','_getSuggestion','subType','descriptionFactory','locale','getSelectionAffectedTableCells','join','tableAlignment','4ftuipn','editor','230745hayljF','11tOZHAd','tableBorderColor','afterInit','formatBlock','tableCellProperties','handleSuggestionDescription','commandParams','tableCellWidth','start','1541156FHjGpx','tableCellHorizontalAlignment','data','discard','tableWidth','_handlePropertyChange','TablePropertiesEditing','*Format:*\x20change\x20table\x20properties','has','55237IrNSbH','1784ggFcqE','tableCellBackgroundColor','handleDiscardAction','tableProperties','tableCellBorderColor','tableCellPadding','model','accept','document','pluginName','enqueueChange','batch','TrackChangesTableProperties','registerCustomCallback','tableBackgroundColor','getFirstPosition','tableCellVerticalAlignment','getSuggestions','tableCellBorderWidth','2vzFbQi','5303748KtMCHH','4158333TqPrZK','plugins','_suggestionFactory','nodeAfter','2817aOdBQO','31572588tMorqi','getSuggestionCallback','TableUtils','tableCellHeight','getContainedElement','get','registerDescriptionCallback','format','tableBorderStyle','43480JdgZwX','markBlockFormat','TrackChangesEditing','findAncestor','tableHeight','setAttribute','tableCellBorderStyle','enableCommand','getAttribute','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderWidth','table'];_0x41ac=function(){return _0x1fd5df;};return _0x41ac();}function _0x8f04(_0xeeb96b,_0x4e6104){const _0x41aca5=_0x41ac();return _0x8f04=function(_0x8f04a2,_0x441c2a){_0x8f04a2=_0x8f04a2-0xf4;let _0x434da6=_0x41aca5[_0x8f04a2];return _0x434da6;},_0x8f04(_0xeeb96b,_0x4e6104);}(function(_0x5ec3e5,_0x28d58a){const _0x504083=_0x8f04,_0x4f3576=_0x5ec3e5();while(!![]){try{const _0x2f3c19=parseInt(_0x504083(0x133))/0x1*(-parseInt(_0x504083(0x100))/0x2)+-parseInt(_0x504083(0x102))/0x3+parseInt(_0x504083(0x127))/0x4*(-parseInt(_0x504083(0x129))/0x5)+parseInt(_0x504083(0x101))/0x6+parseInt(_0x504083(0x13c))/0x7*(parseInt(_0x504083(0x13d))/0x8)+parseInt(_0x504083(0x106))/0x9*(-parseInt(_0x504083(0x110))/0xa)+parseInt(_0x504083(0x12a))/0xb*(parseInt(_0x504083(0x107))/0xc);if(_0x2f3c19===_0x28d58a)break;else _0x4f3576['push'](_0x4f3576['shift']());}catch(_0x3ce325){_0x4f3576['push'](_0x4f3576['shift']());}}}(_0x41ac,0xe5948));import{Plugin as _0x4d2ec0}from'ckeditor5/src/core.js';import{getTranslation as _0x1ea520}from'../utils/common-translations.js';export default class $t extends _0x4d2ec0{constructor(_0x162fa8){const _0xe9ba39=_0x8f04;super(_0x162fa8),this[_0xe9ba39(0x140)]=[_0xe9ba39(0x12b),_0xe9ba39(0x10f),_0xe9ba39(0x11a),_0xe9ba39(0x126),_0xe9ba39(0x137),_0xe9ba39(0x114),_0xe9ba39(0xfb)],this[_0xe9ba39(0x12e)]=[_0xe9ba39(0x141),_0xe9ba39(0x116),_0xe9ba39(0xff),_0xe9ba39(0x142),_0xe9ba39(0x131),_0xe9ba39(0x10a),_0xe9ba39(0x13e),_0xe9ba39(0x134),_0xe9ba39(0xfd)];}static get[_0x553c40(0xf6)](){const _0x15fc84=_0x553c40;return _0x15fc84(0xf9);}[_0x553c40(0x12c)](){const _0x42dda6=_0x553c40,_0x3f5b5b=this[_0x42dda6(0x128)][_0x42dda6(0x103)][_0x42dda6(0x10c)](_0x42dda6(0x112));if(this[_0x42dda6(0x128)][_0x42dda6(0x103)][_0x42dda6(0x13b)](_0x42dda6(0x139))){for(const _0x334387 of this[_0x42dda6(0x140)])_0x3f5b5b[_0x42dda6(0x117)](_0x334387,(_0x1bb5a1,_0x424db2)=>{const _0xf5dd1=_0x42dda6,_0x1f395c=this[_0xf5dd1(0x128)][_0xf5dd1(0x143)][_0xf5dd1(0xf5)][_0xf5dd1(0x11d)][_0xf5dd1(0xfc)]()[_0xf5dd1(0x113)](_0xf5dd1(0x11b));this[_0xf5dd1(0x138)](_0x334387,[_0x1f395c],this[_0xf5dd1(0x140)],_0xf5dd1(0x140),_0x1bb5a1,_0x424db2);});_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x140),_0x42dda6(0xf4),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0x108)](_0x42dda6(0x12d),null,_0x42dda6(0x136))),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x140),_0x42dda6(0x136),(_0x8b99b3,_0x10a50b)=>this[_0x42dda6(0x13f)](this[_0x42dda6(0x140)],_0x8b99b3,_0x10a50b)),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x140),_0x42dda6(0x125),()=>!0x1);}if(this[_0x42dda6(0x128)][_0x42dda6(0x103)][_0x42dda6(0x13b)](_0x42dda6(0x11f))){for(const _0x10c02c of this[_0x42dda6(0x12e)])_0x3f5b5b[_0x42dda6(0x117)](_0x10c02c,(_0x75c493,_0x58a466)=>{const _0x57f09b=_0x42dda6,_0x1afa99=this[_0x57f09b(0x128)][_0x57f09b(0x103)][_0x57f09b(0x10c)](_0x57f09b(0x109))[_0x57f09b(0x124)](this[_0x57f09b(0x128)][_0x57f09b(0x143)][_0x57f09b(0xf5)][_0x57f09b(0x11d)]);this[_0x57f09b(0x138)](_0x10c02c,_0x1afa99,this[_0x57f09b(0x12e)],_0x57f09b(0x12e),_0x75c493,_0x58a466);});_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x12e),_0x42dda6(0xf4),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0x108)](_0x42dda6(0x12d),null,_0x42dda6(0x136))),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x12e),_0x42dda6(0x136),(_0x1be8e6,_0x1cab49)=>this[_0x42dda6(0x13f)](this[_0x42dda6(0x12e)],_0x1be8e6,_0x1cab49)),_0x3f5b5b[_0x42dda6(0x104)][_0x42dda6(0xfa)](_0x42dda6(0x12d),_0x42dda6(0x12e),_0x42dda6(0x125),()=>!0x1);}_0x3f5b5b[_0x42dda6(0x122)][_0x42dda6(0x10d)](_0x52f564=>this[_0x42dda6(0x12f)](_0x52f564));}[_0x553c40(0x138)](_0x5b536c,_0x11e055,_0xf8b206,_0x519231,_0x9c55a2,_0x36bf1d){const _0x30ff80=_0x553c40,_0x1f4b17=this[_0x30ff80(0x128)][_0x30ff80(0x103)][_0x30ff80(0x10c)](_0x30ff80(0x112));this[_0x30ff80(0x128)][_0x30ff80(0x143)][_0x30ff80(0xf7)](_0x36bf1d[_0x30ff80(0xf8)],()=>{const _0x2e10c8=_0x30ff80;for(const _0x1e8645 of _0x11e055){if(this[_0x2e10c8(0x120)](_0x1e8645,_0x519231))_0x9c55a2(_0x36bf1d);else{const _0x178490={};for(const _0x5da678 of _0xf8b206){const _0x572935=_0x1e8645[_0x2e10c8(0x118)](_0x5da678);void 0x0!==_0x572935&&(_0x178490[_0x5da678]=_0x572935);}_0x9c55a2(_0x36bf1d),_0x1f4b17[_0x2e10c8(0x111)](_0x1e8645,{'commandParams':[_0x178490]},[],_0x519231);}}});}[_0x553c40(0x13f)](_0xd59841,_0x22e65e,_0x2af77b){const _0x142b4c=_0x553c40,_0x24cc61=_0x22e65e[0x0][_0x142b4c(0x132)][_0x142b4c(0x105)],_0x2f6bb8=_0x2af77b[_0x142b4c(0x130)][0x0];this[_0x142b4c(0x128)][_0x142b4c(0x143)][_0x142b4c(0x11c)](_0x5f0bca=>{const _0x4e2fe2=_0x142b4c;for(const _0x1704bb of _0xd59841)void 0x0!==_0x2f6bb8[_0x1704bb]?_0x5f0bca[_0x4e2fe2(0x115)](_0x1704bb,_0x2f6bb8[_0x1704bb],_0x24cc61):_0x5f0bca[_0x4e2fe2(0x11e)](_0x1704bb,_0x24cc61);});}[_0x553c40(0x12f)](_0x6c5e09){const _0x3d0664=_0x553c40;if(_0x6c5e09[_0x3d0664(0x135)])switch(_0x6c5e09[_0x3d0664(0x121)]){case _0x3d0664(0x140):return{'type':_0x3d0664(0x10e),'content':_0x1ea520(this[_0x3d0664(0x128)][_0x3d0664(0x123)],_0x3d0664(0x13a))};case _0x3d0664(0x12e):return{'type':_0x3d0664(0x10e),'content':_0x1ea520(this[_0x3d0664(0x128)][_0x3d0664(0x123)],_0x3d0664(0x119))};}}[_0x553c40(0x120)](_0x3c3c17,_0x613b45){const _0x4fca3c=_0x553c40,_0x5b03e7=this[_0x4fca3c(0x128)][_0x4fca3c(0x103)][_0x4fca3c(0x10c)](_0x4fca3c(0x112));for(const _0x281d9b of _0x5b03e7[_0x4fca3c(0xfe)]({'skipNotAttached':!0x0})){const _0x5f58a4=_0x281d9b[_0x4fca3c(0x10b)]();if(_0x281d9b[_0x4fca3c(0x121)]===_0x613b45&&_0x5f58a4===_0x3c3c17)return _0x281d9b;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1427(){const _0x44da4e=['98358JqpRNk','enableCommand','2229022cLpvtb','261245RSuZgN','3418257MzWAUg','has','insertTemplate','get','TrackChangesEditing','Template','12318928FtzqQL','86620CEIRyA','afterInit','1863FUtzNH','editor','1091342ViRmac','91dVyhpV','plugins','56emzmqe'];_0x1427=function(){return _0x44da4e;};return _0x1427();}function _0x4f60(_0x2d5adb,_0x3fbe64){const _0x142783=_0x1427();return _0x4f60=function(_0x4f60b2,_0x529ddd){_0x4f60b2=_0x4f60b2-0x1d5;let _0x45725d=_0x142783[_0x4f60b2];return _0x45725d;},_0x4f60(_0x2d5adb,_0x3fbe64);}const _0x344ce7=_0x4f60;(function(_0x2154e4,_0x52f796){const _0x227269=_0x4f60,_0x3afacf=_0x2154e4();while(!![]){try{const _0xb8c59e=parseInt(_0x227269(0x1e3))/0x1+parseInt(_0x227269(0x1d6))/0x2+-parseInt(_0x227269(0x1d8))/0x3+parseInt(_0x227269(0x1e6))/0x4*(-parseInt(_0x227269(0x1d7))/0x5)+parseInt(_0x227269(0x1e7))/0x6*(parseInt(_0x227269(0x1e4))/0x7)+-parseInt(_0x227269(0x1de))/0x8+-parseInt(_0x227269(0x1e1))/0x9*(-parseInt(_0x227269(0x1df))/0xa);if(_0xb8c59e===_0x52f796)break;else _0x3afacf['push'](_0x3afacf['shift']());}catch(_0x3e7f52){_0x3afacf['push'](_0x3afacf['shift']());}}}(_0x1427,0xc39c9));import{Plugin as _0x35bd45}from'ckeditor5/src/core.js';export default class Ct extends _0x35bd45{[_0x344ce7(0x1e0)](){const _0x2e3635=_0x344ce7,_0xdd0f38=this[_0x2e3635(0x1e2)];_0xdd0f38[_0x2e3635(0x1e5)][_0x2e3635(0x1d9)](_0x2e3635(0x1dd))&&_0xdd0f38[_0x2e3635(0x1e5)][_0x2e3635(0x1db)](_0x2e3635(0x1dc))[_0x2e3635(0x1d5)](_0x2e3635(0x1da));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x575f(_0x449bee,_0x346db1){const _0x3387aa=_0x3387();return _0x575f=function(_0x575f82,_0x2c231a){_0x575f82=_0x575f82-0x1dc;let _0x2257e6=_0x3387aa[_0x575f82];return _0x2257e6;},_0x575f(_0x449bee,_0x346db1);}const _0x46ecb7=_0x575f;(function(_0x3e3980,_0x239e43){const _0x13d102=_0x575f,_0x340934=_0x3e3980();while(!![]){try{const _0x3f1b3c=parseInt(_0x13d102(0x1ed))/0x1+parseInt(_0x13d102(0x1dd))/0x2*(-parseInt(_0x13d102(0x1de))/0x3)+parseInt(_0x13d102(0x1df))/0x4+-parseInt(_0x13d102(0x204))/0x5+parseInt(_0x13d102(0x1e7))/0x6+parseInt(_0x13d102(0x1f9))/0x7*(-parseInt(_0x13d102(0x202))/0x8)+parseInt(_0x13d102(0x1e6))/0x9*(-parseInt(_0x13d102(0x1e5))/0xa);if(_0x3f1b3c===_0x239e43)break;else _0x340934['push'](_0x340934['shift']());}catch(_0x3f1556){_0x340934['push'](_0x340934['shift']());}}}(_0x3387,0x2e44f));import{Plugin as _0x427b82}from'ckeditor5/src/core.js';import{getTranslation as _0x9f280}from'../utils/common-translations.js';function _0x3387(){const _0x5a7f32=['locale','registerElementLabel','Title','document','ELEMENT_TITLE','605240jPKhKZ','removeMarker','590975HdACAN','differ','getNearestSelectionRange','plugins','from','84vMfhRD','2247TmaudA','1488816qkFnLb','title-content','suggestion','forward','element','registerPostFixer','3180agkLaL','13887zDZjuS','2256294JYasEq','TrackChangesEditing','end','_splitMarkerName','nodeBefore','schema','157248NKEklj','has','createRange','getChangedMarkers','afterInit','isEqual','editor','isCollapsed','newRange','model','get','descriptionFactory','7zOKwTC','updateMarker','start','isTouching'];_0x3387=function(){return _0x5a7f32;};return _0x3387();}export default class Dt extends _0x427b82{[_0x46ecb7(0x1f1)](){const _0x5b67bb=_0x46ecb7,_0x368712=this[_0x5b67bb(0x1f3)];if(!_0x368712[_0x5b67bb(0x207)][_0x5b67bb(0x1ee)](_0x5b67bb(0x1ff)))return;const _0x3d5756=_0x368712[_0x5b67bb(0x207)][_0x5b67bb(0x1f7)](_0x5b67bb(0x1e8));_0x3d5756[_0x5b67bb(0x1f8)][_0x5b67bb(0x1fe)](_0x5b67bb(0x1e0),()=>_0x9f280(_0x368712[_0x5b67bb(0x1fd)],_0x5b67bb(0x201))),_0x368712[_0x5b67bb(0x1f6)][_0x5b67bb(0x200)][_0x5b67bb(0x1e4)](_0x2ed8cc=>{const _0x3589e0=_0x5b67bb;let _0x31ed0c=!0x1;const _0xb76729=Array[_0x3589e0(0x1dc)](_0x368712[_0x3589e0(0x1f6)][_0x3589e0(0x200)][_0x3589e0(0x205)][_0x3589e0(0x1f0)]());for(const {name:_0x127971,data:_0x46aa71}of _0xb76729){const {group:_0x334286}=_0x3d5756[_0x3589e0(0x1ea)](_0x127971);if(_0x3589e0(0x1e1)!==_0x334286||!_0x46aa71[_0x3589e0(0x1f5)])continue;const _0x39499f=_0x46aa71[_0x3589e0(0x1f5)],_0x57b5fe=_0x39499f[_0x3589e0(0x1e9)][_0x3589e0(0x1eb)];if(!_0x57b5fe||!_0x57b5fe['is'](_0x3589e0(0x1e3),_0x3589e0(0x1e0)))continue;if(!_0x39499f[_0x3589e0(0x1fb)][_0x3589e0(0x1fc)](_0x39499f[_0x3589e0(0x1e9)]))continue;const _0x4ba919=_0x368712[_0x3589e0(0x1f6)][_0x3589e0(0x1ec)][_0x3589e0(0x206)](_0x39499f[_0x3589e0(0x1e9)],_0x3589e0(0x1e2));if(_0x4ba919&&_0x4ba919[_0x3589e0(0x1f4)]){const _0x15e4b8=_0x2ed8cc[_0x3589e0(0x1ef)](_0x39499f[_0x3589e0(0x1fb)],_0x4ba919[_0x3589e0(0x1fb)]);_0x15e4b8[_0x3589e0(0x1f2)](_0x39499f)||(_0x2ed8cc[_0x3589e0(0x1fa)](_0x127971,{'range':_0x15e4b8}),_0x31ed0c=!0x0);}_0x31ed0c||(_0x2ed8cc[_0x3589e0(0x203)](_0x127971),_0x31ed0c=!0x0);}return _0x31ed0c;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13233e=_0x30ff;function _0x4295(){const _0x57be33=['editor','19660AUayeW','16fksMhJ','1039125VutGSQ','2354985HTDgYf','undo','TrackChangesEditing','plugins','enableCommand','22DZUFsc','has','UndoEditing','285gQljFk','get','1544809cqBwJM','2953444grsZGx','2917506KdyQPO','afterInit','redo','5XhvdAv','1211130QdysTw'];_0x4295=function(){return _0x57be33;};return _0x4295();}function _0x30ff(_0x574093,_0x5f093c){const _0x4295f8=_0x4295();return _0x30ff=function(_0x30ff08,_0x5c05e8){_0x30ff08=_0x30ff08-0x75;let _0x98edb4=_0x4295f8[_0x30ff08];return _0x98edb4;},_0x30ff(_0x574093,_0x5f093c);}(function(_0xd8e7ba,_0x514b12){const _0x376323=_0x30ff,_0x21807a=_0xd8e7ba();while(!![]){try{const _0x1b8507=parseInt(_0x376323(0x87))/0x1+parseInt(_0x376323(0x85))/0x2*(-parseInt(_0x376323(0x7b))/0x3)+parseInt(_0x376323(0x7e))/0x4+-parseInt(_0x376323(0x82))/0x5*(parseInt(_0x376323(0x7f))/0x6)+parseInt(_0x376323(0x7d))/0x7*(parseInt(_0x376323(0x86))/0x8)+parseInt(_0x376323(0x88))/0x9+parseInt(_0x376323(0x83))/0xa*(-parseInt(_0x376323(0x78))/0xb);if(_0x1b8507===_0x514b12)break;else _0x21807a['push'](_0x21807a['shift']());}catch(_0x4dd7a1){_0x21807a['push'](_0x21807a['shift']());}}}(_0x4295,0xc7c16));import{Plugin as _0x1f1c80}from'ckeditor5/src/core.js';export default class Nt extends _0x1f1c80{[_0x13233e(0x80)](){const _0x182fc7=_0x13233e,_0x33e6cd=this[_0x182fc7(0x84)],_0x703576=_0x33e6cd[_0x182fc7(0x76)][_0x182fc7(0x7c)](_0x182fc7(0x75));_0x33e6cd[_0x182fc7(0x76)][_0x182fc7(0x79)](_0x182fc7(0x7a))&&(_0x703576[_0x182fc7(0x77)](_0x182fc7(0x89)),_0x703576[_0x182fc7(0x77)](_0x182fc7(0x81)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x29b7(_0xd3ef0b,_0x13e404){const _0x139ee2=_0x139e();return _0x29b7=function(_0x29b716,_0x2eaca){_0x29b716=_0x29b716-0xea;let _0x47d1c6=_0x139ee2[_0x29b716];return _0x47d1c6;},_0x29b7(_0xd3ef0b,_0x13e404);}(function(_0x38a57a,_0x3a61c7){const _0x24a875=_0x29b7,_0x58cd20=_0x38a57a();while(!![]){try{const _0x1ab9bf=-parseInt(_0x24a875(0x10d))/0x1+parseInt(_0x24a875(0x104))/0x2*(-parseInt(_0x24a875(0xf9))/0x3)+-parseInt(_0x24a875(0x119))/0x4*(-parseInt(_0x24a875(0x108))/0x5)+-parseInt(_0x24a875(0x11e))/0x6*(parseInt(_0x24a875(0x10b))/0x7)+parseInt(_0x24a875(0x103))/0x8*(parseInt(_0x24a875(0x10e))/0x9)+-parseInt(_0x24a875(0x118))/0xa+parseInt(_0x24a875(0x116))/0xb*(parseInt(_0x24a875(0xfc))/0xc);if(_0x1ab9bf===_0x3a61c7)break;else _0x58cd20['push'](_0x58cd20['shift']());}catch(_0x359cc1){_0x58cd20['push'](_0x58cd20['shift']());}}}(_0x139e,0x5145d));export function getRangesWithAttribute(_0x10bc52,_0x485cd7,_0x22a8e5){const _0x7f577f=_0x29b7,_0x1694be=[];for(const _0x45c271 of _0x485cd7[_0x7f577f(0x113)]())_0x45c271[_0x7f577f(0xee)](_0x10bc52)&&_0x1694be[_0x7f577f(0x115)](_0x22a8e5[_0x7f577f(0xeb)](_0x45c271));return _0x1694be;}export function downcastSplitMergeMarker(_0x2fa79e,_0x4b2d57,{showActiveMarker:_0x4c9704=!0x0}={}){const _0x8396f=_0x29b7,_0x4c9945=_0x2fa79e[_0x8396f(0xff)][_0x8396f(0xef)](_0x8396f(0x10c));return(_0x26c33e,_0x45c9a2,_0x6cc463)=>{const _0x130fb9=_0x8396f;if(!_0x6cc463[_0x130fb9(0xf4)][_0x130fb9(0x10a)](_0x45c9a2[_0x130fb9(0x107)],_0x26c33e[_0x130fb9(0x112)]))return;const _0x3a260c=_0x45c9a2[_0x130fb9(0x107)][_0x130fb9(0xf1)](),_0xed1ad1=_0x45c9a2[_0x130fb9(0x107)][_0x130fb9(0xfb)],_0x5ec236=_0x2fa79e[_0x130fb9(0xea)][_0x130fb9(0x100)];let _0x45154f=null,_0x1c887d=null,_0x2337f9=!0x1,_0x2394ba=!0x1;for(const _0x5eae20 of _0x3a260c){const _0x2d6b8a=_0x5eae20[_0x130fb9(0xfd)];_0x2337f9=_0x2337f9||_0x5ec236[_0x130fb9(0xed)](_0x2d6b8a);const _0x4f1618=_0x6cc463[_0x130fb9(0x11d)][_0x130fb9(0x110)](_0x2d6b8a);if(_0x4f1618&&_0x4f1618[_0x130fb9(0xf7)](_0x130fb9(0xfa)))return;_0x130fb9(0xf3)==_0x5eae20[_0x130fb9(0x106)]&&(_0x5ec236[_0x130fb9(0xf2)](_0x2d6b8a)&&!_0x5ec236[_0x130fb9(0xf8)](_0x2d6b8a)&&(_0x2d6b8a[_0x130fb9(0xf5)]||_0xed1ad1[_0x130fb9(0xf6)]?_0x45154f&&_0x45154f[_0x130fb9(0xec)]==_0x2d6b8a||(_0x45154f=_0x2d6b8a,_0x338d02(_0x5eae20[_0x130fb9(0x102)]),_0x2394ba=!0x0):_0x1c887d=_0x1c887d||_0x5eae20[_0x130fb9(0x102)]));}function _0x338d02(_0x238687){const _0x310db0=_0x130fb9,_0x325428=_0x6cc463[_0x310db0(0xfe)][_0x310db0(0x10f)](_0x310db0(0x114),{'class':_0x310db0(0x11a)+_0x4b2d57}),_0x40e9de=_0x6cc463[_0x310db0(0x11d)][_0x310db0(0xf0)](_0x238687);_0x4c9704&&_0x4c9945[_0x310db0(0x111)][_0x310db0(0x11c)](_0x45c9a2[_0x310db0(0x105)])&&_0x6cc463[_0x310db0(0xfe)][_0x310db0(0x109)](_0x310db0(0x101),_0x325428),_0x6cc463[_0x310db0(0xfe)][_0x310db0(0x117)](_0x40e9de,_0x325428),_0x6cc463[_0x310db0(0x11d)][_0x310db0(0x11b)](_0x325428,_0x45c9a2[_0x310db0(0x105)]);}_0x2337f9||_0x2394ba||!_0x1c887d||_0x338d02(_0x1c887d);};}function _0x139e(){const _0x104df0=['2405335wnjCiW','addClass','test','150437eDkjqU','TrackChangesEditing','315536wfvuwZ','303012hbgQKs','createUIElement','toViewElement','activeMarkers','name','getItems','span','push','77OYoMqg','insert','3169460tHgvlc','4fCOZaJ','ck-suggestion-marker-','bindElementToMarker','includes','mapper','66yNjyfM','model','createRangeOn','parent','isContent','hasAttribute','get','toViewPosition','getWalker','isBlock','elementEnd','consumable','nextSibling','isAtEnd','getCustomProperty','isLimit','591OEAtgk','addHighlight','start','1578684EvYzML','item','writer','plugins','schema','ck-suggestion-marker--active','previousPosition','16JXjfFx','2716qAiFoH','markerName','type','markerRange'];_0x139e=function(){return _0x104df0;};return _0x139e();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d0e5d=_0x25d6;(function(_0x2abcc4,_0x362293){const _0x4620b5=_0x25d6,_0x267d45=_0x2abcc4();while(!![]){try{const _0x3829e9=-parseInt(_0x4620b5(0xe4))/0x1+parseInt(_0x4620b5(0xfb))/0x2+-parseInt(_0x4620b5(0xe7))/0x3*(parseInt(_0x4620b5(0x101))/0x4)+-parseInt(_0x4620b5(0xce))/0x5+parseInt(_0x4620b5(0xea))/0x6*(-parseInt(_0x4620b5(0xf3))/0x7)+-parseInt(_0x4620b5(0xd0))/0x8*(-parseInt(_0x4620b5(0xd4))/0x9)+parseInt(_0x4620b5(0xdf))/0xa*(parseInt(_0x4620b5(0xfc))/0xb);if(_0x3829e9===_0x362293)break;else _0x267d45['push'](_0x267d45['shift']());}catch(_0x1f795c){_0x267d45['push'](_0x267d45['shift']());}}}(_0x3863,0xee868));import{Element as _0x17ed73}from'ckeditor5/src/engine.js';function _0x25d6(_0x137a28,_0x3c756e){const _0x386338=_0x3863();return _0x25d6=function(_0x25d651,_0x153ff9){_0x25d651=_0x25d651-0xc5;let _0x2a0935=_0x386338[_0x25d651];return _0x2a0935;},_0x25d6(_0x137a28,_0x3c756e);}function _0x3863(){const _0x4232d9=['_model','8784760ntMEAY','discard','16aZoxsb','onAttributesChange','getRanges','removeMarkers','4359051fZjMtv','_isDataLoaded','getMarkers','toJSON','substr','head','addMarkerName','clear','getMultiRangeId','removeAttribute','_onDiscard','32355210KrXxhZ','onAccept','reduce','decorate','next','665997aIwHNe','authoredAt','data','809145qrOboE','onDiscard','getFirstMarker','150OJJJrk','creator','size','from','addRange','set','delete','filter','subType','373471MSQUUY','nodeAfter','_saved','getMarkerNames','_onAttributesChange','isMultiRange','attributes','isExternal','2677440CGZYuQ','11ofubSl','createdAt','end','previous','add','12hRHAkC','start','suggestion:','getContainedElement','@external','map','length','removeMarker','getItems','accept','push','_markerNames','isIntersecting','get','getAllAdjacentSuggestions','_onAccept','nodeBefore','getFirstRange','isInContent','addMarker','commentThread','setAttribute','hasComments','markers','author','isIntersectingWithRange','getRange','split','type','change'];_0x3863=function(){return _0x4232d9;};return _0x3863();}import{ObservableMixin as _0x7028e,uid as _0x26a76a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x19b97a,isEqual as _0x31df2b,set as _0x2921b5,unset as _0x4bfb16}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x7028e(){constructor(_0x44d3d0,_0x5df0f2){const _0x362704=_0x25d6;super(),this[_0x362704(0xd5)]=!0x1,this['id']=_0x5df0f2['id'],this[_0x362704(0xcb)]=_0x5df0f2[_0x362704(0xcb)],this[_0x362704(0xf2)]=_0x5df0f2[_0x362704(0xf2)]||null,this[_0x362704(0xc7)]=_0x5df0f2[_0x362704(0xc7)],this[_0x362704(0xeb)]=_0x5df0f2[_0x362704(0xeb)]||_0x5df0f2[_0x362704(0xc7)],this[_0x362704(0xfa)]=Boolean(_0x5df0f2[_0x362704(0xf9)]&&_0x5df0f2[_0x362704(0xf9)][_0x362704(0x105)]),this[_0x362704(0xe6)]=null,this[_0x362704(0xcd)]=_0x44d3d0,this[_0x362704(0x110)]=_0x5df0f2[_0x362704(0xe0)],this[_0x362704(0xde)]=_0x5df0f2[_0x362704(0xe8)],this[_0x362704(0xf7)]=_0x5df0f2[_0x362704(0xd1)],this[_0x362704(0x10c)]=new Set(),this[_0x362704(0xfd)]=null,this[_0x362704(0xef)](_0x362704(0xe5),null),this[_0x362704(0xef)](_0x362704(0xf9),_0x5df0f2[_0x362704(0xf9)]||{}),this[_0x362704(0xef)](_0x362704(0xff),null),this[_0x362704(0xef)](_0x362704(0xe3),null),this[_0x362704(0xef)](_0x362704(0x115),null),this[_0x362704(0xef)](_0x362704(0xf5),!0x1),this[_0x362704(0xe2)](_0x362704(0x10a)),this[_0x362704(0xe2)](_0x362704(0xcf));}get[_0x2d0e5d(0xd9)](){const _0xc732b3=_0x2d0e5d;let _0x5e9cf3=this;for(;_0x5e9cf3[_0xc732b3(0xff)];)_0x5e9cf3=_0x5e9cf3[_0xc732b3(0xff)];return _0x5e9cf3;}get[_0x2d0e5d(0xc5)](){const _0x409f6f=_0x2d0e5d;return!!this[_0x409f6f(0x115)]&&this[_0x409f6f(0x115)][_0x409f6f(0x107)]>0x0;}get[_0x2d0e5d(0xf8)](){const _0x2922ea=_0x2d0e5d;if(0x0==this[_0x2922ea(0x10c)][_0x2922ea(0xec)])return!0x1;return 0x6==Array[_0x2922ea(0xed)](this[_0x2922ea(0x10c)])[0x0][_0x2922ea(0xca)](':')[_0x2922ea(0x107)];}get[_0x2d0e5d(0x113)](){const _0x4cb555=_0x2d0e5d;return null!==this[_0x4cb555(0xe9)]();}[_0x2d0e5d(0xda)](_0x103703){const _0x388bd2=_0x2d0e5d;this[_0x388bd2(0x10c)][_0x388bd2(0x100)](_0x103703);}[_0x2d0e5d(0xf6)](){const _0x32ff10=_0x2d0e5d;return Array[_0x32ff10(0xed)](this[_0x32ff10(0x10c)]);}[_0x2d0e5d(0xd6)](){const _0x3d1aba=_0x2d0e5d;return this[_0x3d1aba(0xf6)]()[_0x3d1aba(0x106)](_0x1a3ec5=>this[_0x3d1aba(0xcd)][_0x3d1aba(0xc6)][_0x3d1aba(0x10e)](_0x1a3ec5))[_0x3d1aba(0xf1)](_0x3c1d9c=>_0x3c1d9c);}[_0x2d0e5d(0xe9)](){const _0x21591b=_0x2d0e5d;return this[_0x21591b(0xd6)]()[0x0]||null;}[_0x2d0e5d(0xd3)](){const _0x320162=_0x2d0e5d;this[_0x320162(0xcd)][_0x320162(0xcc)](_0x551da5=>{const _0x5cb50d=_0x320162;for(const _0x3ee464 of this[_0x5cb50d(0xd6)]())_0x551da5[_0x5cb50d(0x108)](_0x3ee464);}),this[_0x320162(0x10c)][_0x320162(0xdb)]();}[_0x2d0e5d(0x108)](_0x290f05){const _0x514bc3=_0x2d0e5d;this[_0x514bc3(0xcd)][_0x514bc3(0xcc)](_0x8ef799=>{const _0x3966f4=_0x514bc3;_0x8ef799[_0x3966f4(0x108)](_0x290f05);}),this[_0x514bc3(0x10c)][_0x514bc3(0xf0)](_0x290f05);}[_0x2d0e5d(0xee)](_0x13c150){const _0x9d676b=_0x2d0e5d,_0xa7aab0=_0x9d676b(0x103)+this[_0x9d676b(0xcb)]+':'+this[_0x9d676b(0xf2)]+':'+this['id']+':'+this[_0x9d676b(0xeb)]['id']+':'+u[_0x9d676b(0xdc)]();this[_0x9d676b(0xda)](_0xa7aab0),this[_0x9d676b(0xcd)][_0x9d676b(0xcc)](_0x5304c6=>{const _0x3997cf=_0x9d676b;_0x5304c6[_0x3997cf(0x114)](_0xa7aab0,{'range':_0x13c150,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2d0e5d(0xc8)](_0x13da06){const _0x4f9430=_0x2d0e5d;for(const _0x1db959 of this[_0x4f9430(0xd2)]())if(_0x1db959[_0x4f9430(0x10d)](_0x13da06))return!0x0;return!0x1;}[_0x2d0e5d(0xd2)](){const _0x4b3d5f=_0x2d0e5d;return this[_0x4b3d5f(0xd6)]()[_0x4b3d5f(0x106)](_0x58a98f=>_0x58a98f[_0x4b3d5f(0xc9)]());}[_0x2d0e5d(0x109)](){const _0x1b3cbc=_0x2d0e5d;return this[_0x1b3cbc(0xd2)]()[_0x1b3cbc(0xe1)]((_0x6e8049,_0x50f346)=>[..._0x6e8049,..._0x50f346[_0x1b3cbc(0x109)]()],[]);}[_0x2d0e5d(0x112)](){const _0x54cf2f=_0x2d0e5d;var _0x244b09;return(null===(_0x244b09=this[_0x54cf2f(0xe9)]())||void 0x0===_0x244b09?void 0x0:_0x244b09[_0x54cf2f(0xc9)]())||null;}[_0x2d0e5d(0x104)](){const _0x1838ed=_0x2d0e5d,_0x338ff2=this[_0x1838ed(0xd2)]();if(0x1!=_0x338ff2[_0x1838ed(0x107)])return null;const _0xa12791=_0x338ff2[0x0],_0x132aea=_0xa12791[_0x1838ed(0x102)][_0x1838ed(0xf4)],_0x45bb0e=_0xa12791[_0x1838ed(0xfe)][_0x1838ed(0x111)];return _0x132aea instanceof _0x17ed73?_0x132aea!=_0x45bb0e?null:_0x132aea:null;}[_0x2d0e5d(0x10a)](){const _0x31d7e8=_0x2d0e5d;this[_0x31d7e8(0x110)](this[_0x31d7e8(0xd2)](),this[_0x31d7e8(0xe6)],this[_0x31d7e8(0xf9)]),this[_0x31d7e8(0xd3)]();}[_0x2d0e5d(0xcf)](){const _0x511f1c=_0x2d0e5d;this[_0x511f1c(0xde)](this[_0x511f1c(0xd2)](),this[_0x511f1c(0xe6)],this[_0x511f1c(0xf9)]),this[_0x511f1c(0xd3)]();}[_0x2d0e5d(0x10f)](){const _0x50617b=_0x2d0e5d,_0x51cd8c=[];let _0x47df94=this[_0x50617b(0xd9)];for(;_0x47df94;)_0x51cd8c[_0x50617b(0x10b)](_0x47df94),_0x47df94=_0x47df94[_0x50617b(0xe3)];return _0x51cd8c;}[_0x2d0e5d(0x116)](_0x96217e,_0x5f2f47){const _0x43281b=_0x2d0e5d,_0x3b0996=_0x19b97a(this[_0x43281b(0xf9)]);_0x2921b5(_0x3b0996,_0x96217e,_0x5f2f47),_0x31df2b(_0x3b0996,this[_0x43281b(0xf9)])||(this[_0x43281b(0xf9)]=_0x3b0996,this[_0x43281b(0xf7)](_0x3b0996));}[_0x2d0e5d(0xdd)](_0x5e9bb4){const _0x43f9a4=_0x2d0e5d,_0x3772cf=_0x19b97a(this[_0x43f9a4(0xf9)]);_0x4bfb16(_0x3772cf,_0x5e9bb4),_0x31df2b(_0x3772cf,this[_0x43f9a4(0xf9)])||(this[_0x43f9a4(0xf9)]=_0x3772cf,this[_0x43f9a4(0xf7)](this[_0x43f9a4(0xf9)]));}[_0x2d0e5d(0xd7)](){const _0x496ad0=_0x2d0e5d;return{'id':this['id'],'type':this[_0x496ad0(0xf2)]?this[_0x496ad0(0xcb)]+':'+this[_0x496ad0(0xf2)]:this[_0x496ad0(0xcb)],'authorId':this[_0x496ad0(0xeb)]['id'],'createdAt':this[_0x496ad0(0xfd)],'hasComments':this[_0x496ad0(0xc5)],'data':this[_0x496ad0(0xe6)],'attributes':this[_0x496ad0(0xf9)]};}static[_0x2d0e5d(0xdc)](){const _0x3d4586=_0x2d0e5d;return _0x26a76a()[_0x3d4586(0xd8)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3b6170=_0x24da;(function(_0x35429f,_0x4b001f){const _0x355cc7=_0x24da,_0x263277=_0x35429f();while(!![]){try{const _0x245a81=-parseInt(_0x355cc7(0x137))/0x1*(parseInt(_0x355cc7(0x11a))/0x2)+-parseInt(_0x355cc7(0x170))/0x3+-parseInt(_0x355cc7(0x13a))/0x4*(-parseInt(_0x355cc7(0x15e))/0x5)+parseInt(_0x355cc7(0x150))/0x6*(parseInt(_0x355cc7(0x14a))/0x7)+parseInt(_0x355cc7(0x11d))/0x8*(parseInt(_0x355cc7(0x16f))/0x9)+parseInt(_0x355cc7(0x152))/0xa+-parseInt(_0x355cc7(0x164))/0xb*(parseInt(_0x355cc7(0x122))/0xc);if(_0x245a81===_0x4b001f)break;else _0x263277['push'](_0x263277['shift']());}catch(_0x29ebf9){_0x263277['push'](_0x263277['shift']());}}}(_0x5652,0xa5452));import{getTranslation as _0x3603d7}from'./utils/common-translations.js';function _0x24da(_0x492938,_0x32fd96){const _0x5652bb=_0x5652();return _0x24da=function(_0x24da28,_0x1617bb){_0x24da28=_0x24da28-0x111;let _0x27b5ae=_0x5652bb[_0x24da28];return _0x27b5ae;},_0x24da(_0x492938,_0x32fd96);}import{priorities as _0x344b5b,insertToPriorityArray as _0x3caf0e}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x46a70d}from'./trackchangesediting.js';export default class f{constructor(_0x5c5ec8,_0x577391){const _0x4afb95=_0x24da;this[_0x4afb95(0x160)]=[],this[_0x4afb95(0x129)]=new Map(),this[_0x4afb95(0x172)]=[],this[_0x4afb95(0x124)]=new Map(),this[_0x4afb95(0x14c)]=_0x5c5ec8,this[_0x4afb95(0x111)]=_0x577391;}[_0x3b6170(0x11f)](_0x40cfc7){const _0x3f0ae5=_0x3b6170,_0x376e81=[],_0x3e34d9=new Set(),_0x371faf=new Set();for(let _0x292ed=0x0;_0x292ed<_0x40cfc7[_0x3f0ae5(0x11e)];_0x292ed++){const _0x17b23c=_0x40cfc7[_0x292ed];if(!_0x17b23c[_0x3f0ae5(0x165)])continue;const _0x525b9e=this[_0x3f0ae5(0x136)](_0x17b23c);if(_0x525b9e){if(null!=_0x17b23c[_0x3f0ae5(0x14d)]){if(_0x3e34d9[_0x3f0ae5(0x12c)](_0x17b23c[_0x3f0ae5(0x14d)]))continue;_0x3e34d9[_0x3f0ae5(0x14e)](_0x17b23c[_0x3f0ae5(0x14d)]);}_0x376e81[_0x3f0ae5(0x118)](_0x525b9e);}else{if(_0x3f0ae5(0x15b)!=_0x17b23c[_0x3f0ae5(0x116)])_0x3f0ae5(0x11c)!=_0x17b23c[_0x3f0ae5(0x116)]&&_0x3f0ae5(0x155)!=_0x17b23c[_0x3f0ae5(0x116)]||this[_0x3f0ae5(0x133)](_0x376e81,_0x17b23c,_0x40cfc7[_0x292ed+0x1]);else{const _0x1f1393=_0x17b23c[_0x3f0ae5(0x131)][_0x3f0ae5(0x148)];if(_0x371faf[_0x3f0ae5(0x12c)](_0x1f1393))continue;_0x371faf[_0x3f0ae5(0x14e)](_0x17b23c[_0x3f0ae5(0x131)][_0x3f0ae5(0x148)]),_0x1f1393==_0x46a70d?this[_0x3f0ae5(0x138)](_0x376e81,_0x17b23c):this[_0x3f0ae5(0x16b)](_0x376e81,_0x17b23c);}}}return this[_0x3f0ae5(0x140)](_0x376e81);}[_0x3b6170(0x130)](_0x2680b1){const _0x8ce8bd=_0x3b6170;this[_0x8ce8bd(0x160)][_0x8ce8bd(0x118)](_0x2680b1);}[_0x3b6170(0x13f)](_0x369140,_0x4c8efc,_0x2e68f2=_0x344b5b[_0x3b6170(0x128)]){const _0x85db37=_0x3b6170;_0x85db37(0x157)==typeof _0x369140?_0x3caf0e(this[_0x85db37(0x172)],{'matchingCallback':_0x369140,'label':_0x4c8efc,'priority':_0x2e68f2}):this[_0x85db37(0x129)][_0x85db37(0x135)](_0x369140,_0x4c8efc);}[_0x3b6170(0x12d)](_0x2147c8,_0x4b571c){const _0x90bde3=_0x3b6170;this[_0x90bde3(0x124)][_0x90bde3(0x135)](_0x2147c8,_0x4b571c);}[_0x3b6170(0x13c)](_0x522b59,_0x1df9dd=0x1){const _0x4b16dc=_0x3b6170;let _0x299054;for(const _0x1881b1 of this[_0x4b16dc(0x172)])if(_0x1881b1[_0x4b16dc(0x132)](_0x522b59)){_0x299054=_0x1881b1[_0x4b16dc(0x149)];break;}return _0x299054||(_0x299054=this[_0x4b16dc(0x129)][_0x4b16dc(0x126)](_0x522b59[_0x4b16dc(0x13e)])),_0x299054?_0x299054(_0x1df9dd):0x1!==_0x1df9dd?_0x1df9dd+'\x20'+_0x522b59[_0x4b16dc(0x13e)]+'s':''+_0x522b59[_0x4b16dc(0x13e)];}[_0x3b6170(0x139)](_0x30fa29,_0x542853){const _0x2dba1c=_0x3b6170,_0x305940=_0x542853[_0x2dba1c(0x16e)]()[_0x2dba1c(0x166)](),_0xbbaab7=_0x2dba1c(0x11c)==_0x542853[_0x2dba1c(0x116)]?_0x2dba1c(0x14e):_0x2dba1c(0x146);for(const _0x30ecac of _0x305940){const _0x5b440e=_0x30ecac[_0x2dba1c(0x15d)],_0x2ff351=_0x30fa29[_0x30fa29[_0x2dba1c(0x11e)]-0x1];if(_0x5b440e['is'](_0x2dba1c(0x16d)))_0x2ff351&&_0x2ff351[_0x2dba1c(0x116)][_0x2dba1c(0x16a)](_0x2dba1c(0x115))>-0x1&&_0x30fa29[_0x2dba1c(0x125)](),_0x2ff351&&_0x2dba1c(0x13d)==_0x2ff351[_0x2dba1c(0x116)]?_0x2ff351[_0xbbaab7]+=_0x5b440e[_0x2dba1c(0x131)]:_0x30fa29[_0x2dba1c(0x118)]({'type':_0x2dba1c(0x13d),'add':_0x2dba1c(0x14e)==_0xbbaab7?_0x5b440e[_0x2dba1c(0x131)]:'','remove':_0x2dba1c(0x146)==_0xbbaab7?_0x5b440e[_0x2dba1c(0x131)]:''});else{if(this[_0x2dba1c(0x14c)][_0x2dba1c(0x127)](_0x5b440e)){const _0x1a4f51=_0x5b440e;if(_0x2ff351&&_0x2ff351[_0x2dba1c(0x116)][_0x2dba1c(0x16a)](_0x2dba1c(0x115))>-0x1&&_0x30fa29[_0x2dba1c(0x125)](),_0x2dba1c(0x12e)==_0x30ecac[_0x2dba1c(0x116)])continue;_0x2ff351&&_0x2ff351[_0x2dba1c(0x116)]==_0xbbaab7+_0x2dba1c(0x145)&&_0x2ff351[_0x2dba1c(0x15a)][_0x2dba1c(0x13e)]==_0x1a4f51[_0x2dba1c(0x13e)]?_0x2ff351[_0x2dba1c(0x142)]++:_0x30fa29[_0x2dba1c(0x118)]({'type':_0xbbaab7+_0x2dba1c(0x145),'element':_0x1a4f51,'quantity':0x1}),_0x305940[_0x2dba1c(0x13b)](_0x137f11=>!(_0x2dba1c(0x12e)==_0x137f11[_0x2dba1c(0x116)]&&_0x137f11[_0x2dba1c(0x15d)]==_0x5b440e));}else{if(this[_0x2dba1c(0x14c)][_0x2dba1c(0x11b)](_0x5b440e,_0x2dba1c(0x159))||_0x5b440e['is'](_0x2dba1c(0x15a),_0x2dba1c(0x147))){const _0x16954b=_0x5b440e;if(_0x2dba1c(0x14e)==_0xbbaab7&&_0x2dba1c(0x167)==_0x30ecac[_0x2dba1c(0x116)]||_0x2dba1c(0x146)==_0xbbaab7&&_0x2dba1c(0x12e)==_0x30ecac[_0x2dba1c(0x116)])continue;if(_0x2ff351&&-0x1==_0x2ff351[_0x2dba1c(0x116)][_0x2dba1c(0x16a)](_0x2dba1c(0x115))){_0x2dba1c(0x13d)==_0x2ff351[_0x2dba1c(0x116)]&&(_0x2ff351[_0xbbaab7]+='\x0a');continue;}let _0xb3abc3;if(_0xb3abc3=_0x2dba1c(0x14e)==_0xbbaab7?_0x16954b[_0x2dba1c(0x112)]&&!this[_0x2dba1c(0x14c)][_0x2dba1c(0x127)](_0x16954b[_0x2dba1c(0x112)])?_0x16954b[_0x2dba1c(0x112)]:null:_0x16954b[_0x2dba1c(0x123)]&&!this[_0x2dba1c(0x14c)][_0x2dba1c(0x127)](_0x16954b[_0x2dba1c(0x123)])?_0x16954b[_0x2dba1c(0x123)]:null,_0x16954b[_0x2dba1c(0x171)]||_0xb3abc3&&_0xb3abc3[_0x2dba1c(0x171)]){const _0x3eca54=_0xb3abc3&&_0xb3abc3[_0x2dba1c(0x171)]?_0xb3abc3:_0x16954b;_0x2ff351&&_0x2ff351[_0x2dba1c(0x116)]==_0xbbaab7+_0x2dba1c(0x119)&&_0x2ff351[_0x2dba1c(0x15a)][_0x2dba1c(0x13e)]==_0x3eca54[_0x2dba1c(0x13e)]?_0x2ff351[_0x2dba1c(0x142)]++:_0x30fa29[_0x2dba1c(0x118)]({'type':_0xbbaab7+_0x2dba1c(0x119),'element':_0x3eca54,'quantity':0x1});}else _0x30fa29[_0x2dba1c(0x118)]({'type':_0xbbaab7+_0x2dba1c(0x115),'element':_0x16954b});}}}}}[_0x3b6170(0x140)](_0x1badfa){const _0x2b4b35=_0x3b6170,_0x2b91ab=this[_0x2b4b35(0x111)],_0x50dee9=[],_0x4a98c4=[],_0xbfa255=[];for(const _0x476d0d of _0x1badfa)switch(_0x476d0d[_0x2b4b35(0x116)]){case _0x2b4b35(0x13d):if(_0x476d0d[_0x2b4b35(0x14e)]=_0x476d0d[_0x2b4b35(0x14e)][_0x2b4b35(0x151)](/(\S)\u000A+(\S)/g,_0x2b4b35(0x143))[_0x2b4b35(0x151)](/\u000A/g,''),_0x476d0d[_0x2b4b35(0x146)]=_0x476d0d[_0x2b4b35(0x146)][_0x2b4b35(0x151)](/(\S)\u000A+(\S)/g,_0x2b4b35(0x143))[_0x2b4b35(0x151)](/\u000A/g,''),''!=_0x476d0d[_0x2b4b35(0x14e)]&&''!=_0x476d0d[_0x2b4b35(0x146)]){_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x151),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x169),['\x22'+_0x476d0d[_0x2b4b35(0x146)]+'\x22','\x22'+_0x476d0d[_0x2b4b35(0x14e)]+'\x22'])});continue;}if(null!=_0x476d0d[_0x2b4b35(0x14e)][_0x2b4b35(0x117)](/^ +$/)){_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x11c),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x141),_0x3603d7(_0x2b91ab,_0x2b4b35(0x15c),_0x476d0d[_0x2b4b35(0x14e)][_0x2b4b35(0x11e)]))});continue;}if(null!=_0x476d0d[_0x2b4b35(0x146)][_0x2b4b35(0x117)](/^ +$/)){_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x155),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x162),_0x3603d7(_0x2b91ab,_0x2b4b35(0x15c),_0x476d0d[_0x2b4b35(0x146)][_0x2b4b35(0x11e)]))});continue;}if(''!=_0x476d0d[_0x2b4b35(0x14e)]){_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x11c),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x141),'\x22'+_0x476d0d[_0x2b4b35(0x14e)]+'\x22')});continue;}_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x155),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x162),'\x22'+_0x476d0d[_0x2b4b35(0x146)]+'\x22')});continue;case _0x2b4b35(0x144):case _0x2b4b35(0x16c):_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x11c),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x141),this[_0x2b4b35(0x13c)](_0x476d0d[_0x2b4b35(0x15a)],_0x476d0d[_0x2b4b35(0x142)]))});continue;case _0x2b4b35(0x161):case _0x2b4b35(0x154):_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x155),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x162),this[_0x2b4b35(0x13c)](_0x476d0d[_0x2b4b35(0x15a)],_0x476d0d[_0x2b4b35(0x142)]))});continue;case _0x2b4b35(0x114):_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x11c),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x14b),this[_0x2b4b35(0x13c)](_0x476d0d[_0x2b4b35(0x15a)],_0x476d0d[_0x2b4b35(0x142)]))});continue;case _0x2b4b35(0x158):_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x155),'content':_0x3603d7(_0x2b91ab,_0x2b4b35(0x15f),this[_0x2b4b35(0x13c)](_0x476d0d[_0x2b4b35(0x15a)],_0x476d0d[_0x2b4b35(0x142)]))});continue;case _0x2b4b35(0x173):_0x4a98c4[_0x2b4b35(0x118)](_0x476d0d[_0x2b4b35(0x148)]);continue;case _0x2b4b35(0x14f):_0xbfa255[_0x2b4b35(0x118)](_0x476d0d[_0x2b4b35(0x148)]);continue;default:_0x50dee9[_0x2b4b35(0x118)](_0x476d0d);}if(_0x4a98c4[_0x2b4b35(0x11e)]){const _0x5372c2=_0x4a98c4[_0x2b4b35(0x153)](_0x5ea150=>this[_0x2b4b35(0x124)][_0x2b4b35(0x12c)](_0x5ea150)?this[_0x2b4b35(0x124)][_0x2b4b35(0x126)](_0x5ea150):_0x5ea150)[_0x2b4b35(0x121)](',\x20');_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x156),'content':_0x3603d7(this[_0x2b4b35(0x111)],_0x2b4b35(0x163),_0x5372c2)});}if(_0xbfa255[_0x2b4b35(0x11e)]){const _0x1b1388=_0xbfa255[_0x2b4b35(0x153)](_0x26598b=>this[_0x2b4b35(0x124)][_0x2b4b35(0x12c)](_0x26598b)?this[_0x2b4b35(0x124)][_0x2b4b35(0x126)](_0x26598b):_0x26598b)[_0x2b4b35(0x121)](',\x20');_0x50dee9[_0x2b4b35(0x118)]({'type':_0x2b4b35(0x156),'content':_0x3603d7(this[_0x2b4b35(0x111)],_0x2b4b35(0x12f),_0x1b1388)});}return _0x50dee9;}[_0x3b6170(0x136)](_0x50427d){const _0x4f060d=_0x3b6170;for(const _0x13a42e of this[_0x4f060d(0x160)]){const _0x470609=_0x13a42e(_0x50427d);if(_0x470609&&_0x4f060d(0x116)in _0x470609)return _0x470609;}}[_0x3b6170(0x16b)](_0x2a0e1e,_0x5c6d9e){const _0x175e7e=_0x3b6170,_0x50af62=_0x5c6d9e[_0x175e7e(0x131)],_0x59bebe=void 0x0===_0x50af62[_0x175e7e(0x113)]?_0x175e7e(0x14f):_0x175e7e(0x173);_0x2a0e1e[_0x175e7e(0x118)]({'type':_0x59bebe,'key':_0x50af62[_0x175e7e(0x148)]});}[_0x3b6170(0x138)](_0x469918,_0x235d63){const _0x41ea0f=_0x3b6170;_0x469918[_0x41ea0f(0x118)]({'type':_0x41ea0f(0x156),'content':_0x3603d7(this[_0x41ea0f(0x111)],_0x41ea0f(0x134),this[_0x41ea0f(0x13c)](_0x235d63[_0x41ea0f(0x16e)]()[_0x41ea0f(0x168)][_0x41ea0f(0x12a)],0x1))});}[_0x3b6170(0x133)](_0x46e5ea,_0x195380,_0x127cfe){const _0x224630=_0x3b6170;if(this[_0x224630(0x139)](_0x46e5ea,_0x195380),_0x127cfe&&_0x127cfe[_0x224630(0x16e)]()&&!_0x195380[_0x224630(0x16e)]()[_0x224630(0x12b)][_0x224630(0x120)](_0x127cfe[_0x224630(0x16e)]()[_0x224630(0x168)])){const _0x3f0b36=_0x46e5ea[_0x46e5ea[_0x224630(0x11e)]-0x1],_0x4bbd31=_0x224630(0x11c)==_0x195380[_0x224630(0x116)]?_0x224630(0x14e):_0x224630(0x146);_0x3f0b36&&_0x224630(0x13d)==_0x3f0b36[_0x224630(0x116)]&&(_0x3f0b36[_0x4bbd31]+='\x0a');}}}function _0x5652(){const _0x3538f9=['getItemLabel','text','name','registerElementLabel','_resolveDescriptionItems','*Insert:*\x20%0','quantity','$1\x20$2','addEmptyContainer','Object','remove','softBreak','key','label','517349uhEtac','*Split:*\x20%0','_schema','subType','add','removeFormat','30krlnxU','replace','8081590GRqEkm','map','removeObject','deletion','format','function','removeContainer','$text','element','attribute','ELEMENT_SPACE','item','353735ZYMMbs','*Merge:*\x20%0','_customCallbacks','removeEmptyContainer','*Remove:*\x20%0','*Set\x20format:*\x20%0','3695329YCHQhF','isInContent','getWalker','elementStart','start','REPLACE_TEXT','indexOf','_handleAttributeSuggestionDescription','addObject','$textProxy','getFirstRange','279Dkdlxe','3959886NfgbIS','isEmpty','_itemLabelsCallbacks','addFormat','_locale','nextSibling','newValue','addContainer','Container','type','match','push','EmptyContainer','1334sTwMCR','checkChild','insertion','260280YHuMpQ','length','getDescriptions','isEqual','join','12AuTEtT','previousSibling','_attributeLabels','pop','get','isObject','normal','_itemLabels','nodeAfter','end','has','registerAttributeLabel','elementEnd','*Remove\x20format:*\x20%0','registerDescriptionCallback','data','matchingCallback','_handleInsertRemoveSuggestionDescription','*Change\x20to:*\x20%0','set','_handleCustomCallbackDescription','947enfYvW','_handleRenameSuggestionDescription','_addDescriptionItems','44kSZuLW','skip'];_0x5652=function(){return _0x3538f9;};return _0x5652();}
|
|
23
|
+
const _0x2ffdb0=_0x24a6;(function(_0x21991a,_0x25f180){const _0x5b8c9e=_0x24a6,_0x57be60=_0x21991a();while(!![]){try{const _0x288701=parseInt(_0x5b8c9e(0x1da))/0x1+-parseInt(_0x5b8c9e(0x206))/0x2+-parseInt(_0x5b8c9e(0x1fb))/0x3*(-parseInt(_0x5b8c9e(0x213))/0x4)+-parseInt(_0x5b8c9e(0x1f5))/0x5+-parseInt(_0x5b8c9e(0x22b))/0x6*(parseInt(_0x5b8c9e(0x1f9))/0x7)+-parseInt(_0x5b8c9e(0x1ee))/0x8+-parseInt(_0x5b8c9e(0x20b))/0x9*(-parseInt(_0x5b8c9e(0x223))/0xa);if(_0x288701===_0x25f180)break;else _0x57be60['push'](_0x57be60['shift']());}catch(_0x4160b7){_0x57be60['push'](_0x57be60['shift']());}}}(_0x114a,0x23285));import{getTranslation as _0x3baa43}from'./utils/common-translations.js';import{priorities as _0x5488f2,insertToPriorityArray as _0x5c9937}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3e561f}from'./trackchangesediting.js';function _0x114a(){const _0x2c21b8=['_addDescriptionItems','softBreak','attribute','isObject','subType','registerAttributeLabel','_handleInsertRemoveSuggestionDescription','350404Dyjilr','_resolveDescriptionItems','map','removeFormat','getFirstRange','checkChild','length','*Merge:*\x20%0','registerElementLabel','getItemLabel','pop','indexOf','_attributeLabels','matchingCallback','getDescriptions','quantity','430rESxkK','Container','get','_customCallbacks','elementEnd','ELEMENT_SPACE','getWalker','removeEmptyContainer','25818RgIJOk','element','set','normal','*Remove:*\x20%0','EmptyContainer','_handleRenameSuggestionDescription','_itemLabelsCallbacks','$textProxy','REPLACE_TEXT','remove','join','addContainer','deletion','push','isInContent','227099AgWdgO','match','previousSibling','insertion','elementStart','_schema','removeContainer','replace','*Insert:*\x20%0','$text','nodeAfter','add','isEqual','label','*Split:*\x20%0','nextSibling','_locale','_itemLabels','item','removeObject','1470560NBGbQu','*Change\x20to:*\x20%0','key','registerDescriptionCallback','type','addFormat','format','395250VLPasA','addEmptyContainer','text','addObject','42gZwkHy','end','9NwDnNP','skip','*Set\x20format:*\x20%0','has','function','newValue','$1\x20$2','*Remove\x20format:*\x20%0','isEmpty','Object','_handleCustomCallbackDescription','239892tBAcsX','start','data','name','_handleAttributeSuggestionDescription','13131QSQVFT'];_0x114a=function(){return _0x2c21b8;};return _0x114a();}function _0x24a6(_0x556c3b,_0x251f8f){const _0x114a61=_0x114a();return _0x24a6=function(_0x24a6b0,_0x338638){_0x24a6b0=_0x24a6b0-0x1d8;let _0x40484c=_0x114a61[_0x24a6b0];return _0x40484c;},_0x24a6(_0x556c3b,_0x251f8f);}export default class f{constructor(_0x55c1ee,_0xd460e4){const _0x2f02bd=_0x24a6;this[_0x2f02bd(0x226)]=[],this[_0x2f02bd(0x1eb)]=new Map(),this[_0x2f02bd(0x232)]=[],this[_0x2f02bd(0x21f)]=new Map(),this[_0x2f02bd(0x1df)]=_0x55c1ee,this[_0x2f02bd(0x1ea)]=_0xd460e4;}[_0x2ffdb0(0x221)](_0x15e95c){const _0x2ca434=_0x2ffdb0,_0x2e6972=[],_0x4027bd=new Set(),_0x172134=new Set();for(let _0x46c1a6=0x0;_0x46c1a6<_0x15e95c[_0x2ca434(0x219)];_0x46c1a6++){const _0x32e6f5=_0x15e95c[_0x46c1a6];if(!_0x32e6f5[_0x2ca434(0x1d9)])continue;const _0x359b49=this[_0x2ca434(0x205)](_0x32e6f5);if(_0x359b49){if(null!=_0x32e6f5[_0x2ca434(0x210)]){if(_0x4027bd[_0x2ca434(0x1fe)](_0x32e6f5[_0x2ca434(0x210)]))continue;_0x4027bd[_0x2ca434(0x1e5)](_0x32e6f5[_0x2ca434(0x210)]);}_0x2e6972[_0x2ca434(0x1d8)](_0x359b49);}else{if(_0x2ca434(0x20e)!=_0x32e6f5[_0x2ca434(0x1f2)])_0x2ca434(0x1dd)!=_0x32e6f5[_0x2ca434(0x1f2)]&&_0x2ca434(0x238)!=_0x32e6f5[_0x2ca434(0x1f2)]||this[_0x2ca434(0x212)](_0x2e6972,_0x32e6f5,_0x15e95c[_0x46c1a6+0x1]);else{const _0x4e6eae=_0x32e6f5[_0x2ca434(0x208)][_0x2ca434(0x1f0)];if(_0x172134[_0x2ca434(0x1fe)](_0x4e6eae))continue;_0x172134[_0x2ca434(0x1e5)](_0x32e6f5[_0x2ca434(0x208)][_0x2ca434(0x1f0)]),_0x4e6eae==_0x3e561f?this[_0x2ca434(0x231)](_0x2e6972,_0x32e6f5):this[_0x2ca434(0x20a)](_0x2e6972,_0x32e6f5);}}}return this[_0x2ca434(0x214)](_0x2e6972);}[_0x2ffdb0(0x1f1)](_0x2e0ba7){const _0x3b9a2a=_0x2ffdb0;this[_0x3b9a2a(0x226)][_0x3b9a2a(0x1d8)](_0x2e0ba7);}[_0x2ffdb0(0x21b)](_0x176052,_0x508157,_0x47c2ce=_0x5488f2[_0x2ffdb0(0x22e)]){const _0xe6e5a4=_0x2ffdb0;_0xe6e5a4(0x1ff)==typeof _0x176052?_0x5c9937(this[_0xe6e5a4(0x232)],{'matchingCallback':_0x176052,'label':_0x508157,'priority':_0x47c2ce}):this[_0xe6e5a4(0x1eb)][_0xe6e5a4(0x22d)](_0x176052,_0x508157);}[_0x2ffdb0(0x211)](_0x33cd49,_0xd15927){const _0x54f11b=_0x2ffdb0;this[_0x54f11b(0x21f)][_0x54f11b(0x22d)](_0x33cd49,_0xd15927);}[_0x2ffdb0(0x21c)](_0x14da1d,_0x4be8c=0x1){const _0x5ab2e3=_0x2ffdb0;let _0x22298b;for(const _0x6812a3 of this[_0x5ab2e3(0x232)])if(_0x6812a3[_0x5ab2e3(0x220)](_0x14da1d)){_0x22298b=_0x6812a3[_0x5ab2e3(0x1e7)];break;}return _0x22298b||(_0x22298b=this[_0x5ab2e3(0x1eb)][_0x5ab2e3(0x225)](_0x14da1d[_0x5ab2e3(0x209)])),_0x22298b?_0x22298b(_0x4be8c):0x1!==_0x4be8c?_0x4be8c+'\x20'+_0x14da1d[_0x5ab2e3(0x209)]+'s':''+_0x14da1d[_0x5ab2e3(0x209)];}[_0x2ffdb0(0x20c)](_0x13e15f,_0x1131af){const _0x106442=_0x2ffdb0,_0x28325c=_0x1131af[_0x106442(0x217)]()[_0x106442(0x229)](),_0x4947e=_0x106442(0x1dd)==_0x1131af[_0x106442(0x1f2)]?_0x106442(0x1e5):_0x106442(0x235);for(const _0xb2dff5 of _0x28325c){const _0x387419=_0xb2dff5[_0x106442(0x1ec)],_0x4561d8=_0x13e15f[_0x13e15f[_0x106442(0x219)]-0x1];if(_0x387419['is'](_0x106442(0x233)))_0x4561d8&&_0x4561d8[_0x106442(0x1f2)][_0x106442(0x21e)](_0x106442(0x224))>-0x1&&_0x13e15f[_0x106442(0x21d)](),_0x4561d8&&_0x106442(0x1f7)==_0x4561d8[_0x106442(0x1f2)]?_0x4561d8[_0x4947e]+=_0x387419[_0x106442(0x208)]:_0x13e15f[_0x106442(0x1d8)]({'type':_0x106442(0x1f7),'add':_0x106442(0x1e5)==_0x4947e?_0x387419[_0x106442(0x208)]:'','remove':_0x106442(0x235)==_0x4947e?_0x387419[_0x106442(0x208)]:''});else{if(this[_0x106442(0x1df)][_0x106442(0x20f)](_0x387419)){const _0xb6c14=_0x387419;if(_0x4561d8&&_0x4561d8[_0x106442(0x1f2)][_0x106442(0x21e)](_0x106442(0x224))>-0x1&&_0x13e15f[_0x106442(0x21d)](),_0x106442(0x227)==_0xb2dff5[_0x106442(0x1f2)])continue;_0x4561d8&&_0x4561d8[_0x106442(0x1f2)]==_0x4947e+_0x106442(0x204)&&_0x4561d8[_0x106442(0x22c)][_0x106442(0x209)]==_0xb6c14[_0x106442(0x209)]?_0x4561d8[_0x106442(0x222)]++:_0x13e15f[_0x106442(0x1d8)]({'type':_0x4947e+_0x106442(0x204),'element':_0xb6c14,'quantity':0x1}),_0x28325c[_0x106442(0x1fc)](_0x35d84b=>!(_0x106442(0x227)==_0x35d84b[_0x106442(0x1f2)]&&_0x35d84b[_0x106442(0x1ec)]==_0x387419));}else{if(this[_0x106442(0x1df)][_0x106442(0x218)](_0x387419,_0x106442(0x1e3))||_0x387419['is'](_0x106442(0x22c),_0x106442(0x20d))){const _0xc55565=_0x387419;if(_0x106442(0x1e5)==_0x4947e&&_0x106442(0x1de)==_0xb2dff5[_0x106442(0x1f2)]||_0x106442(0x235)==_0x4947e&&_0x106442(0x227)==_0xb2dff5[_0x106442(0x1f2)])continue;if(_0x4561d8&&-0x1==_0x4561d8[_0x106442(0x1f2)][_0x106442(0x21e)](_0x106442(0x224))){_0x106442(0x1f7)==_0x4561d8[_0x106442(0x1f2)]&&(_0x4561d8[_0x4947e]+='\x0a');continue;}let _0x132aeb;if(_0x132aeb=_0x106442(0x1e5)==_0x4947e?_0xc55565[_0x106442(0x1e9)]&&!this[_0x106442(0x1df)][_0x106442(0x20f)](_0xc55565[_0x106442(0x1e9)])?_0xc55565[_0x106442(0x1e9)]:null:_0xc55565[_0x106442(0x1dc)]&&!this[_0x106442(0x1df)][_0x106442(0x20f)](_0xc55565[_0x106442(0x1dc)])?_0xc55565[_0x106442(0x1dc)]:null,_0xc55565[_0x106442(0x203)]||_0x132aeb&&_0x132aeb[_0x106442(0x203)]){const _0xd7fc65=_0x132aeb&&_0x132aeb[_0x106442(0x203)]?_0x132aeb:_0xc55565;_0x4561d8&&_0x4561d8[_0x106442(0x1f2)]==_0x4947e+_0x106442(0x230)&&_0x4561d8[_0x106442(0x22c)][_0x106442(0x209)]==_0xd7fc65[_0x106442(0x209)]?_0x4561d8[_0x106442(0x222)]++:_0x13e15f[_0x106442(0x1d8)]({'type':_0x4947e+_0x106442(0x230),'element':_0xd7fc65,'quantity':0x1});}else _0x13e15f[_0x106442(0x1d8)]({'type':_0x4947e+_0x106442(0x224),'element':_0xc55565});}}}}}[_0x2ffdb0(0x214)](_0xb3a152){const _0x5422a4=_0x2ffdb0,_0x594bdd=this[_0x5422a4(0x1ea)],_0x420330=[],_0x3de33b=[],_0x18f7d4=[];for(const _0x5f0b5b of _0xb3a152)switch(_0x5f0b5b[_0x5422a4(0x1f2)]){case _0x5422a4(0x1f7):if(_0x5f0b5b[_0x5422a4(0x1e5)]=_0x5f0b5b[_0x5422a4(0x1e5)][_0x5422a4(0x1e1)](/(\S)\u000A+(\S)/g,_0x5422a4(0x201))[_0x5422a4(0x1e1)](/\u000A/g,''),_0x5f0b5b[_0x5422a4(0x235)]=_0x5f0b5b[_0x5422a4(0x235)][_0x5422a4(0x1e1)](/(\S)\u000A+(\S)/g,_0x5422a4(0x201))[_0x5422a4(0x1e1)](/\u000A/g,''),''!=_0x5f0b5b[_0x5422a4(0x1e5)]&&''!=_0x5f0b5b[_0x5422a4(0x235)]){_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1e1),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x234),['\x22'+_0x5f0b5b[_0x5422a4(0x235)]+'\x22','\x22'+_0x5f0b5b[_0x5422a4(0x1e5)]+'\x22'])});continue;}if(null!=_0x5f0b5b[_0x5422a4(0x1e5)][_0x5422a4(0x1db)](/^ +$/)){_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1dd),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x1e2),_0x3baa43(_0x594bdd,_0x5422a4(0x228),_0x5f0b5b[_0x5422a4(0x1e5)][_0x5422a4(0x219)]))});continue;}if(null!=_0x5f0b5b[_0x5422a4(0x235)][_0x5422a4(0x1db)](/^ +$/)){_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x238),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x22f),_0x3baa43(_0x594bdd,_0x5422a4(0x228),_0x5f0b5b[_0x5422a4(0x235)][_0x5422a4(0x219)]))});continue;}if(''!=_0x5f0b5b[_0x5422a4(0x1e5)]){_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1dd),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x1e2),'\x22'+_0x5f0b5b[_0x5422a4(0x1e5)]+'\x22')});continue;}_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x238),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x22f),'\x22'+_0x5f0b5b[_0x5422a4(0x235)]+'\x22')});continue;case _0x5422a4(0x1f6):case _0x5422a4(0x1f8):_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1dd),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x1e2),this[_0x5422a4(0x21c)](_0x5f0b5b[_0x5422a4(0x22c)],_0x5f0b5b[_0x5422a4(0x222)]))});continue;case _0x5422a4(0x22a):case _0x5422a4(0x1ed):_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x238),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x22f),this[_0x5422a4(0x21c)](_0x5f0b5b[_0x5422a4(0x22c)],_0x5f0b5b[_0x5422a4(0x222)]))});continue;case _0x5422a4(0x237):_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1dd),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x1e8),this[_0x5422a4(0x21c)](_0x5f0b5b[_0x5422a4(0x22c)],_0x5f0b5b[_0x5422a4(0x222)]))});continue;case _0x5422a4(0x1e0):_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x238),'content':_0x3baa43(_0x594bdd,_0x5422a4(0x21a),this[_0x5422a4(0x21c)](_0x5f0b5b[_0x5422a4(0x22c)],_0x5f0b5b[_0x5422a4(0x222)]))});continue;case _0x5422a4(0x1f3):_0x3de33b[_0x5422a4(0x1d8)](_0x5f0b5b[_0x5422a4(0x1f0)]);continue;case _0x5422a4(0x216):_0x18f7d4[_0x5422a4(0x1d8)](_0x5f0b5b[_0x5422a4(0x1f0)]);continue;default:_0x420330[_0x5422a4(0x1d8)](_0x5f0b5b);}if(_0x3de33b[_0x5422a4(0x219)]){const _0x4e605c=_0x3de33b[_0x5422a4(0x215)](_0x2fcead=>this[_0x5422a4(0x21f)][_0x5422a4(0x1fe)](_0x2fcead)?this[_0x5422a4(0x21f)][_0x5422a4(0x225)](_0x2fcead):_0x2fcead)[_0x5422a4(0x236)](',\x20');_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1f4),'content':_0x3baa43(this[_0x5422a4(0x1ea)],_0x5422a4(0x1fd),_0x4e605c)});}if(_0x18f7d4[_0x5422a4(0x219)]){const _0x4983f6=_0x18f7d4[_0x5422a4(0x215)](_0x28d350=>this[_0x5422a4(0x21f)][_0x5422a4(0x1fe)](_0x28d350)?this[_0x5422a4(0x21f)][_0x5422a4(0x225)](_0x28d350):_0x28d350)[_0x5422a4(0x236)](',\x20');_0x420330[_0x5422a4(0x1d8)]({'type':_0x5422a4(0x1f4),'content':_0x3baa43(this[_0x5422a4(0x1ea)],_0x5422a4(0x202),_0x4983f6)});}return _0x420330;}[_0x2ffdb0(0x205)](_0x194f70){const _0x568eaf=_0x2ffdb0;for(const _0x5de0ee of this[_0x568eaf(0x226)]){const _0x379bbd=_0x5de0ee(_0x194f70);if(_0x379bbd&&_0x568eaf(0x1f2)in _0x379bbd)return _0x379bbd;}}[_0x2ffdb0(0x20a)](_0x4b70c2,_0x5c831b){const _0x1b5e12=_0x2ffdb0,_0x143ed1=_0x5c831b[_0x1b5e12(0x208)],_0x50759d=void 0x0===_0x143ed1[_0x1b5e12(0x200)]?_0x1b5e12(0x216):_0x1b5e12(0x1f3);_0x4b70c2[_0x1b5e12(0x1d8)]({'type':_0x50759d,'key':_0x143ed1[_0x1b5e12(0x1f0)]});}[_0x2ffdb0(0x231)](_0x2eb81e,_0x345d1e){const _0x218998=_0x2ffdb0;_0x2eb81e[_0x218998(0x1d8)]({'type':_0x218998(0x1f4),'content':_0x3baa43(this[_0x218998(0x1ea)],_0x218998(0x1ef),this[_0x218998(0x21c)](_0x345d1e[_0x218998(0x217)]()[_0x218998(0x207)][_0x218998(0x1e4)],0x1))});}[_0x2ffdb0(0x212)](_0x17c00a,_0x4128f7,_0x54d83a){const _0x4f9da5=_0x2ffdb0;if(this[_0x4f9da5(0x20c)](_0x17c00a,_0x4128f7),_0x54d83a&&_0x54d83a[_0x4f9da5(0x217)]()&&!_0x4128f7[_0x4f9da5(0x217)]()[_0x4f9da5(0x1fa)][_0x4f9da5(0x1e6)](_0x54d83a[_0x4f9da5(0x217)]()[_0x4f9da5(0x207)])){const _0xcf29c8=_0x17c00a[_0x17c00a[_0x4f9da5(0x219)]-0x1],_0x5ec072=_0x4f9da5(0x1dd)==_0x4128f7[_0x4f9da5(0x1f2)]?_0x4f9da5(0x1e5):_0x4f9da5(0x235);_0xcf29c8&&_0x4f9da5(0x1f7)==_0xcf29c8[_0x4f9da5(0x1f2)]&&(_0xcf29c8[_0x5ec072]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xb45e(_0x5e6d98,_0x5597c1){var _0x5927d0=_0x5927();return _0xb45e=function(_0xb45eef,_0x47686f){_0xb45eef=_0xb45eef-0xbc;var _0x23306f=_0x5927d0[_0xb45eef];return _0x23306f;},_0xb45e(_0x5e6d98,_0x5597c1);}var _0x5b7e7c=_0xb45e;(function(_0x3fd318,_0x2a3edb){var _0x28c503=_0xb45e,_0x2a8cf3=_0x3fd318();while(!![]){try{var _0x3e4787=parseInt(_0x28c503(0xca))/0x1*(parseInt(_0x28c503(0xbe))/0x2)+parseInt(_0x28c503(0xc5))/0x3*(-parseInt(_0x28c503(0xcd))/0x4)+parseInt(_0x28c503(0xc4))/0x5+parseInt(_0x28c503(0xce))/0x6+parseInt(_0x28c503(0xbf))/0x7+parseInt(_0x28c503(0xbc))/0x8+parseInt(_0x28c503(0xc7))/0x9*(-parseInt(_0x28c503(0xd1))/0xa);if(_0x3e4787===_0x2a3edb)break;else _0x2a8cf3['push'](_0x2a8cf3['shift']());}catch(_0x6479f9){_0x2a8cf3['push'](_0x2a8cf3['shift']());}}}(_0x5927,0x99864));import{Plugin as _0x366f9d}from'ckeditor5/src/core.js';import _0x39f695 from'./trackchangesui.js';import _0x40f4b5 from'./trackchangesediting.js';function _0x5927(){var _0x3c176f=['382UKsNZm','2170931QUrfRk','get','Comments','editor','getSuggestions','12800lpfxcs','282LNzOdJ','getSuggestion','3357JJIQVQ','TrackChanges','adapter','5722cvvGXP','requires','addSuggestionData','18676ImoqMn','2255898SEAhmz','addSuggestion','pluginName','20830XyvkTk','504824kgtQgx','plugins'];_0x5927=function(){return _0x3c176f;};return _0x5927();}import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x366f9d{static get[_0x5b7e7c(0xcb)](){var _0x31e888=_0x5b7e7c;return[_0x40f4b5,_0x39f695,_0x31e888(0xc1)];}static get[_0x5b7e7c(0xd0)](){var _0x118423=_0x5b7e7c;return _0x118423(0xc8);}set[_0x5b7e7c(0xc9)](_0x400eb7){var _0x4161b0=_0x5b7e7c;this[_0x4161b0(0xc2)][_0x4161b0(0xbd)][_0x4161b0(0xc0)](_0x40f4b5)[_0x4161b0(0xc9)]=_0x400eb7;}get[_0x5b7e7c(0xc9)](){var _0x3f3ca2=_0x5b7e7c;return this[_0x3f3ca2(0xc2)][_0x3f3ca2(0xbd)][_0x3f3ca2(0xc0)](_0x40f4b5)[_0x3f3ca2(0xc9)];}[_0x5b7e7c(0xcf)](_0x68325a){var _0x50207b=_0x5b7e7c;return this[_0x50207b(0xc2)][_0x50207b(0xbd)][_0x50207b(0xc0)](_0x40f4b5)[_0x50207b(0xcc)](_0x68325a);}[_0x5b7e7c(0xc3)]({skipNotAttached:_0x194584=!0x1,toJSON:_0x4f299c=!0x1}={}){var _0x34a69b=_0x5b7e7c;return this[_0x34a69b(0xc2)][_0x34a69b(0xbd)][_0x34a69b(0xc0)](_0x40f4b5)[_0x34a69b(0xc3)]({'skipNotAttached':_0x194584,'toJSON':_0x4f299c});}[_0x5b7e7c(0xc6)](_0x3e29a0){var _0xca6936=_0x5b7e7c;return this[_0xca6936(0xc2)][_0xca6936(0xbd)][_0xca6936(0xc0)](_0x40f4b5)[_0xca6936(0xc6)](_0x3e29a0);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x277abd=_0xfeba;function _0x4985(){const _0x4dabdb=['push','addCommentThread','map','147202oHTEEN','div','get','addUser','requires','acceptAllSuggestions','data','track-changes-data-invalid-editor-creator','function','5HcKwtw','TrackChangesData','create','218184cOdYeX','12nyjPVO','document','config','init','CommentsRepository','trackChangesData.editorCreator','users','createElement','editor','getDataWithDiscardedSuggestions','getUser','addSuggestionData','_adapter','getSuggestions','getFullData','490lAGScZ','useAnonymousUser','getRootNames','6712320WAiNzo','plugins','20787dVGuuc','constructor','discardAllSuggestions','376KsopVW','reduce','63738IKUsYb','1470DmWJBp','createDocumentFragment','trackChangesData','getCommentThreads','appendChild','execute','model','TrackChangesEditing','end','2696872ZxlqRR','destroy','result','Pagination','pluginName','set','TrackChangesDataGetter','Users','getDataWithAcceptedSuggestions','rootsAttributes','editorCreator','define','name','getRootsAttributes','13993rKzgie'];_0x4985=function(){return _0x4dabdb;};return _0x4985();}(function(_0xe4aff9,_0x42d8da){const _0x3c0a46=_0xfeba,_0x1a59f7=_0xe4aff9();while(!![]){try{const _0x7e36ba=parseInt(_0x3c0a46(0x180))/0x1*(parseInt(_0x3c0a46(0x1ae))/0x2)+-parseInt(_0x3c0a46(0x1ad))/0x3+-parseInt(_0x3c0a46(0x18f))/0x4*(parseInt(_0x3c0a46(0x1aa))/0x5)+parseInt(_0x3c0a46(0x186))/0x6*(-parseInt(_0x3c0a46(0x19d))/0x7)+-parseInt(_0x3c0a46(0x183))/0x8*(-parseInt(_0x3c0a46(0x185))/0x9)+-parseInt(_0x3c0a46(0x1bd))/0xa*(-parseInt(_0x3c0a46(0x1a1))/0xb)+parseInt(_0x3c0a46(0x1c0))/0xc;if(_0x7e36ba===_0x42d8da)break;else _0x1a59f7['push'](_0x1a59f7['shift']());}catch(_0x1f5953){_0x1a59f7['push'](_0x1a59f7['shift']());}}}(_0x4985,0x6a6f1));import{Plugin as _0x5c2fe3}from'ckeditor5/src/core.js';import{CKEditorError as _0x62a142}from'ckeditor5/src/utils.js';function _0xfeba(_0x80001f,_0x4428ad){const _0x49854=_0x4985();return _0xfeba=function(_0xfebacd,_0x5c520c){_0xfebacd=_0xfebacd-0x180;let _0x4b1a0e=_0x49854[_0xfebacd];return _0x4b1a0e;},_0xfeba(_0x80001f,_0x4428ad);}import _0x4dbaae from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x45438b}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x277abd(0x192)];export default class P extends _0x5c2fe3{static get[_0x277abd(0x1a5)](){return[_0x4dbaae];}static get[_0x277abd(0x193)](){const _0x265e90=_0x277abd;return _0x265e90(0x1ab);}[_0x277abd(0x1b1)](){const _0x2ddfbf=_0x277abd,_0x552b93=this[_0x2ddfbf(0x1b6)];if(_0x552b93[_0x2ddfbf(0x1b0)][_0x2ddfbf(0x19a)](_0x2ddfbf(0x1b3),_0x295d39=>{const _0x4f71a8=_0x2ddfbf,_0x30b93e=_0x552b93[_0x4f71a8(0x18c)][_0x4f71a8(0x1af)][_0x4f71a8(0x1bf)]()[_0x4f71a8(0x184)]((_0x28eccf,_0x386963)=>(_0x28eccf[_0x386963]='',_0x28eccf),{});return _0x552b93[_0x4f71a8(0x181)][_0x4f71a8(0x1ac)](_0x30b93e,_0x295d39);}),_0x2ddfbf(0x1a9)!=typeof _0x552b93[_0x2ddfbf(0x1b0)][_0x2ddfbf(0x1a3)](_0x2ddfbf(0x188))[_0x2ddfbf(0x199)])throw new _0x62a142(_0x2ddfbf(0x1a8));}[_0x277abd(0x197)](_0xca8704){const _0x2eb284=_0x277abd;return N(this[_0x2eb284(0x1b6)],!0x0,_0xca8704);}[_0x277abd(0x1b7)](_0x2bfd02){const _0x5ffb3f=_0x277abd;return N(this[_0x5ffb3f(0x1b6)],!0x1,_0x2bfd02);}}class D extends _0x5c2fe3{static get[_0x277abd(0x193)](){const _0x21da3a=_0x277abd;return _0x21da3a(0x195);}constructor(_0x26aa15){const _0x22502d=_0x277abd;super(_0x26aa15),this[_0x22502d(0x191)]=_0x22502d(0x18e);}[_0x277abd(0x1b1)](){const _0x51a590=_0x277abd;this[_0x51a590(0x1b6)][_0x51a590(0x1c1)][_0x51a590(0x1a3)](_0x51a590(0x1b2))[_0x51a590(0x1ba)]={'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[_0x51a590(0x1b6)][_0x51a590(0x1c1)][_0x51a590(0x1a3)](_0x51a590(0x18d))[_0x51a590(0x1ba)]=null;}}function v(_0x3bf14f){const _0x5e71ef=_0x277abd;return void 0x0!==_0x3bf14f[_0x5e71ef(0x19c)];}async function N(_0x246b13,_0x48b1e1,_0x284bf7){const _0x49fce8=_0x277abd,_0x59c936=_0x45438b(_0x246b13,T);_0x59c936[_0x49fce8(0x1c1)][_0x49fce8(0x19e)](_0x4dbaae,D),_0x59c936[_0x49fce8(0x198)]=v(_0x246b13)?_0x246b13[_0x49fce8(0x19c)]():void 0x0;const _0x43c825=document[_0x49fce8(0x187)](),_0x2e9bb5=_0x246b13[_0x49fce8(0x1b0)][_0x49fce8(0x1a3)](_0x49fce8(0x188))[_0x49fce8(0x199)],_0x4b3264=await _0x2e9bb5(_0x59c936,()=>function(_0x268b68){const _0x17abfc=_0x49fce8,_0x21a2cd=document[_0x17abfc(0x1b5)](_0x17abfc(0x1a2));return _0x268b68[_0x17abfc(0x18a)](_0x21a2cd),_0x21a2cd;}(_0x43c825));!function(_0x291b59,_0x1efb4d){const _0x3bea08=_0x49fce8,_0x117683=_0x291b59[_0x3bea08(0x18c)][_0x3bea08(0x1af)][_0x3bea08(0x1bf)]()[_0x3bea08(0x184)]((_0x9a93c9,_0x208f53)=>(_0x9a93c9[_0x208f53]=_0x291b59[_0x3bea08(0x1a7)][_0x3bea08(0x1a3)]({'rootName':_0x208f53}),_0x9a93c9),{}),_0x4eb941=_0x291b59[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x196))[_0x3bea08(0x1b4)][_0x3bea08(0x1a0)](_0xe07c2b=>({'id':_0xe07c2b['id'],'name':_0xe07c2b[_0x3bea08(0x19b)]})),_0x4ab92f=_0x291b59[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x18d))[_0x3bea08(0x1bb)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xcdbe38=_0x291b59[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x1b2))[_0x3bea08(0x189)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2fe0aa=_0x1efb4d[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x196)),_0x460f20=_0x1efb4d[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x18d)),_0x434e91=_0x1efb4d[_0x3bea08(0x1c1)][_0x3bea08(0x1a3)](_0x3bea08(0x1b2));for(const _0x23a77d of _0x4eb941)_0x2fe0aa[_0x3bea08(0x1b8)](_0x23a77d['id'])||_0x2fe0aa[_0x3bea08(0x1a4)](_0x23a77d);_0x2fe0aa['me']||_0x2fe0aa[_0x3bea08(0x1be)]();for(const _0x56febf of _0x4ab92f)_0x460f20[_0x3bea08(0x1b9)](_0x56febf);for(const _0x3ad93e of _0xcdbe38)_0x434e91[_0x3bea08(0x19f)](_0x3ad93e);_0x1efb4d[_0x3bea08(0x1a7)][_0x3bea08(0x194)](_0x117683);}(_0x246b13,_0x4b3264),_0x4b3264[_0x49fce8(0x18b)](_0x48b1e1?_0x49fce8(0x1a6):_0x49fce8(0x182));const _0x4e27ce=v(_0x4b3264)?_0x4b3264[_0x49fce8(0x1bc)](_0x284bf7):_0x4b3264[_0x49fce8(0x1a7)][_0x49fce8(0x1a3)](_0x284bf7);return await _0x4b3264[_0x49fce8(0x190)](),_0x4e27ce;}
|