@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240711.0 → 0.0.0-nightly-20240712.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/LICENSE.md +1 -1
- 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 _0x2075f7=_0x1ea1;(function(_0x5450c0,_0x4a32bc){const _0x2016aa=_0x1ea1,_0x21ad4e=_0x5450c0();while(!![]){try{const _0x5ec086=parseInt(_0x2016aa(0xe1))/0x1*(-parseInt(_0x2016aa(0xf5))/0x2)+-parseInt(_0x2016aa(0xda))/0x3+-parseInt(_0x2016aa(0xe9))/0x4*(-parseInt(_0x2016aa(0xe7))/0x5)+-parseInt(_0x2016aa(0xcd))/0x6+parseInt(_0x2016aa(0xea))/0x7+-parseInt(_0x2016aa(0x11c))/0x8+parseInt(_0x2016aa(0x110))/0x9;if(_0x5ec086===_0x4a32bc)break;else _0x21ad4e['push'](_0x21ad4e['shift']());}catch(_0x352dba){_0x21ad4e['push'](_0x21ad4e['shift']());}}}(_0x31b3,0x26032));import{Plugin as _0x24b551}from'ckeditor5/src/core.js';import _0xc683e from'./table.js';function _0x1ea1(_0xb2f428,_0x2b9eeb){const _0x31b3a7=_0x31b3();return _0x1ea1=function(_0x1ea1e6,_0x1af888){_0x1ea1e6=_0x1ea1e6-0xc2;let _0x520c35=_0x31b3a7[_0x1ea1e6];return _0x520c35;},_0x1ea1(_0xb2f428,_0x2b9eeb);}import{LiveRange as _0x57a3d7}from'ckeditor5/src/engine.js';import{getTranslation as _0x16c16c}from'../utils/common-translations.js';export default class St extends _0x24b551{static get[_0x2075f7(0x122)](){return[_0xc683e];}[_0x2075f7(0xf4)](){const _0x391c81=_0x2075f7,_0x3f381c=this[_0x391c81(0xec)],_0x486114=_0x3f381c[_0x391c81(0x123)][_0x391c81(0x11b)][_0x391c81(0xfa)],_0x492fce=_0x3f381c[_0x391c81(0x113)];if(!_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xfd)](_0x391c81(0xef)))return;const _0x1480f4=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0x391c81(0x120)),_0x9a95e1=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0x391c81(0xe2)),_0x589015=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0xc683e);_0x589015[_0x391c81(0x116)][_0x391c81(0xc5)](_0x391c81(0xeb)),_0x1480f4[_0x391c81(0xe0)](_0x391c81(0xeb),()=>{const _0x3ec9e0=_0x391c81,_0x5dd011=_0x9a95e1[_0x3ec9e0(0xcb)](_0x3f381c[_0x3ec9e0(0x123)][_0x3ec9e0(0x11b)][_0x3ec9e0(0xfa)]);_0x3f381c[_0x3ec9e0(0x123)][_0x3ec9e0(0xfb)](()=>{const _0x58df1f=_0x3ec9e0;_0x1480f4[_0x58df1f(0x100)](_0x5dd011,{'commandName':_0x58df1f(0xeb),'commandParams':[]},[],_0x58df1f(0xeb));});}),_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x391c81(0xeb))['on'](_0x391c81(0xde),(_0x5ec516,_0x320b27)=>{const _0x36b0df=_0x391c81;_0x3f381c[_0x36b0df(0x119)][_0x36b0df(0xff)](_0x36b0df(0x111))[_0x36b0df(0xf7)]&&(_0x320b27[_0x36b0df(0xd6)]>0x0&&_0x320b27[_0x320b27[_0x36b0df(0xd6)]-0x1]&&_0x320b27[_0x320b27[_0x36b0df(0xd6)]-0x1][_0x36b0df(0xc6)]||_0x1480f4[_0x36b0df(0x10b)]||this[_0x36b0df(0xd7)]()||_0x5ec516[_0x36b0df(0xfe)]());},{'priority':_0x391c81(0xcf)});for(const _0x198e57 of[_0x391c81(0xe8),_0x391c81(0x10f),_0x391c81(0x109),_0x391c81(0xd0)]){const _0x2d2ef8=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x198e57);_0x1480f4[_0x391c81(0xe0)](_0x198e57,()=>{const _0x349171=_0x391c81,_0x469d8e=_0x3f381c[_0x349171(0x123)][_0x349171(0x11b)][_0x349171(0xfa)][_0x349171(0xd5)]()[_0x349171(0xd4)]()[_0x349171(0xf9)](_0x1b762f=>_0x1b762f['is'](_0x349171(0xe6),_0x349171(0xf3))),_0x1b39d7=_0x2d2ef8[_0x349171(0xf7)];_0x3f381c[_0x349171(0x123)][_0x349171(0xfb)](()=>{const _0x5ca4ab=_0x349171;_0x1480f4[_0x5ca4ab(0x100)]([_0x469d8e,_0x1b39d7],{'commandName':_0x5ca4ab(0xeb),'commandParams':[]},[],_0x5ca4ab(0xeb));});});}for(const _0x340639 of[_0x391c81(0xc2),_0x391c81(0xcc)]){const _0x9366ab=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x340639);_0x1480f4[_0x391c81(0xe0)](_0x340639,()=>{const _0xcb8d68=_0x391c81,_0x54b37e=_0x9a95e1[_0xcb8d68(0xcb)](_0x3f381c[_0xcb8d68(0x123)][_0xcb8d68(0x11b)][_0xcb8d68(0xfa)])[0x0],_0x59ef8f=_0x54b37e[_0xcb8d68(0x11d)](_0xcb8d68(0xdb)),{column:_0x3fb2f8,row:_0x245d1c}=_0x9a95e1[_0xcb8d68(0x112)](_0x54b37e);let _0x28e0ff=[];if(_0xcb8d68(0xc7)==_0x9366ab[_0xcb8d68(0x11e)]){const _0x3297d4=_0x9a95e1[_0xcb8d68(0xf0)](_0x59ef8f,{'startRow':_0x245d1c,'endRow':_0x245d1c,'includeAllSlots':!0x0});_0x28e0ff=Array[_0xcb8d68(0x102)](_0x3297d4)[_0xcb8d68(0x10e)](_0x2cef92=>_0x2cef92[_0xcb8d68(0xc9)]);}else{const _0x219e83=_0x9a95e1[_0xcb8d68(0xf0)](_0x59ef8f,{'column':_0x3fb2f8,'includeAllSlots':!0x0});_0x28e0ff=Array[_0xcb8d68(0x102)](_0x219e83)[_0xcb8d68(0x10e)](_0x29a0d9=>_0x29a0d9[_0xcb8d68(0xc9)]);}_0x3f381c[_0xcb8d68(0x123)][_0xcb8d68(0xfb)](_0x5a40fc=>{const _0x132ab1=_0xcb8d68;_0x1480f4[_0x132ab1(0xd3)](_0x5a40fc[_0x132ab1(0xc8)](_0x54b37e),{'commandName':_0x340639,'commandParams':[]},_0x28e0ff,_0x340639);});});}_0x1480f4[_0x391c81(0xfc)][_0x391c81(0xc3)](_0x8ac7ac=>{const _0x37d17c=_0x391c81;if(_0x37d17c(0xd2)!=_0x8ac7ac[_0x37d17c(0x107)]&&_0x37d17c(0x106)!=_0x8ac7ac[_0x37d17c(0x107)])return;const {data:_0xb7e82e}=_0x8ac7ac;return _0xb7e82e&&_0x37d17c(0xeb)==_0xb7e82e[_0x37d17c(0x11f)]?{'type':_0x37d17c(0xed),'content':_0x16c16c(_0x492fce,_0x37d17c(0xf6))}:void 0x0;}),_0x1480f4[_0x391c81(0xfc)][_0x391c81(0xc3)](_0xdec99c=>{const _0x1d9866=_0x391c81;if(_0x1d9866(0xd2)!=_0xdec99c[_0x1d9866(0x107)]&&_0x1d9866(0x106)!=_0xdec99c[_0x1d9866(0x107)])return;const {data:_0x2e0f93}=_0xdec99c;return _0x2e0f93?_0x1d9866(0xc2)==_0x2e0f93[_0x1d9866(0x11f)]?{'type':_0x1d9866(0xed),'content':_0x16c16c(_0x492fce,_0x1d9866(0x104))}:_0x1d9866(0xcc)==_0x2e0f93[_0x1d9866(0x11f)]?{'type':_0x1d9866(0xed),'content':_0x16c16c(_0x492fce,_0x1d9866(0xf2))}:void 0x0:void 0x0;});const _0x3396b9=_0x589015[_0x391c81(0x117)]();for(const _0x46c8d6 of[_0x391c81(0xe8),_0x391c81(0x10f),_0x391c81(0x109),_0x391c81(0xd0)])_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x46c8d6,_0x391c81(0x115),_0x3396b9);for(const _0x5bed17 of[_0x391c81(0xc2),_0x391c81(0xcc)])_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x5bed17,_0x391c81(0x115),_0x3396b9);_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x391c81(0xeb),_0x391c81(0x115),_0x522efc=>{const _0x4fbdf1=_0x391c81;_0x3f381c[_0x4fbdf1(0x123)][_0x4fbdf1(0xfb)](_0x40a28e=>{const _0x4c0396=_0x4fbdf1,_0x2ee305=Array[_0x4c0396(0x102)](_0x486114[_0x4c0396(0x114)]())[_0x4c0396(0x10e)](_0x4e5e61=>_0x57a3d7[_0x4c0396(0xdd)](_0x4e5e61));_0x40a28e[_0x4c0396(0xce)](_0x522efc),_0x3f381c[_0x4c0396(0x119)][_0x4c0396(0xff)](_0x4c0396(0xeb))[_0x4c0396(0x10d)](),_0x3f381c[_0x4c0396(0xde)](_0x4c0396(0xeb),{'forceDefaultExecution':!0x0});const _0x13ece6=_0x2ee305[_0x4c0396(0xdf)](_0xc2dd9a=>_0x4c0396(0xee)!=_0xc2dd9a[_0x4c0396(0x101)][_0x4c0396(0x108)]);_0x13ece6[_0x4c0396(0xd6)]>0x0&&_0x40a28e[_0x4c0396(0xce)](_0x13ece6);for(const _0x4740fd of _0x2ee305)_0x4740fd[_0x4c0396(0xdc)]();});});for(const _0x24cb02 of[_0x391c81(0xe8),_0x391c81(0x109),_0x391c81(0xd0),_0x391c81(0x10f)]){const _0x40c3f6=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x24cb02);_0x40c3f6['on'](_0x391c81(0xf1),(_0x253e95,_0x10c4c0,_0x54af6c)=>{const _0x5ba290=_0x391c81;if(_0x54af6c){const _0x11685e=_0x3f381c[_0x5ba290(0x123)][_0x5ba290(0x11b)][_0x5ba290(0xfa)][_0x5ba290(0xd5)]()[_0x5ba290(0xd4)]()[_0x5ba290(0xf9)](_0x408688=>_0x408688['is'](_0x5ba290(0xe6),_0x5ba290(0xf3)));this[_0x5ba290(0x103)](_0x40c3f6[_0x5ba290(0xf7)],_0x11685e)||(_0x253e95[_0x5ba290(0xd9)]=!0x1,_0x253e95[_0x5ba290(0xfe)]());}},{'priority':_0x391c81(0x121)});}}[_0x2075f7(0xd7)](){const _0x21425d=_0x2075f7,_0x19e369=this[_0x21425d(0xec)][_0x21425d(0x119)][_0x21425d(0xff)](_0x21425d(0xeb)),_0xb8876d=this[_0x21425d(0xec)][_0x21425d(0xd1)][_0x21425d(0xff)](_0x21425d(0xe2));if(!_0x19e369[_0x21425d(0xc4)])return!0x1;const _0x21fe28=_0xb8876d[_0x21425d(0xcb)](this[_0x21425d(0xec)][_0x21425d(0x123)][_0x21425d(0x11b)][_0x21425d(0xfa)]);for(const _0x5e9c27 of _0x21fe28)for(const _0x360f2b of _0x21fe28)if(_0x5e9c27!=_0x360f2b&&!this[_0x21425d(0x103)](_0x5e9c27,_0x360f2b))return!0x1;return!0x0;}[_0x2075f7(0x103)](_0x1749d2,_0x45efbb){const _0x132f3d=_0x2075f7,_0xbc33d4=this[_0x132f3d(0xec)][_0x132f3d(0xd1)][_0x132f3d(0xff)](_0x132f3d(0x120)),_0x4fbd87=this[_0x132f3d(0xec)][_0x132f3d(0x123)][_0x132f3d(0xc8)](_0x1749d2),_0x6f0ea9=this[_0x132f3d(0xec)][_0x132f3d(0x123)][_0x132f3d(0xc8)](_0x45efbb),_0x5f0562=new Set(),_0x52f633=new Set();for(const _0x5a6a51 of _0xbc33d4[_0x132f3d(0xe4)]())if((_0x132f3d(0x10c)==_0x5a6a51[_0x132f3d(0x107)]||_0x132f3d(0xca)==_0x5a6a51[_0x132f3d(0x107)]||_0x132f3d(0xeb)==_0x5a6a51[_0x132f3d(0xf8)])&&_0x5a6a51[_0x132f3d(0x10a)]){for(const _0x2e3c6a of _0x5a6a51[_0x132f3d(0x114)]())_0x2e3c6a[_0x132f3d(0x118)](_0x4fbd87,!0x0)&&_0x5f0562[_0x132f3d(0xe5)](_0x5a6a51[_0x132f3d(0x107)]+':'+_0x5a6a51[_0x132f3d(0xd8)]['id']),_0x2e3c6a[_0x132f3d(0x118)](_0x6f0ea9,!0x0)&&_0x52f633[_0x132f3d(0xe5)](_0x5a6a51[_0x132f3d(0x107)]+':'+_0x5a6a51[_0x132f3d(0xd8)]['id']);}if(_0x5f0562[_0x132f3d(0xe3)]!=_0x52f633[_0x132f3d(0xe3)])return!0x1;for(const _0x24b0a4 of _0x5f0562)if(!_0x52f633[_0x132f3d(0xfd)](_0x24b0a4))return!0x1;return!0x0;}}function _0x31b3(){const _0x567645=['4175vUYXDT','mergeTableCellUp','532LwMPzX','873348eoeVAu','mergeTableCells','editor','format','$graveyard','TableEditing','createTableWalker','set:isEnabled','*Split\x20cell:*\x20horizontally','tableCell','afterInit','8XIXEDF','*Merge\x20cells*','value','subType','find','selection','change','descriptionFactory','has','stop','get','markMultiRangeBlockFormat','root','from','_areMergableCells','*Split\x20cell:*\x20vertically','registerCustomCallback','formatInline','type','rootName','mergeTableCellDown','isInContent','_isForcedDefaultExecutionBlock','insertion','refresh','map','mergeTableCellRight','3550644VGSbIR','trackChanges','getCellLocation','locale','getRanges','accept','_tablePostFixingSubtypes','_acceptFormatSuggestionCallbackFactory','containsRange','commands','_suggestionFactory','document','1964472RhEDcn','findAncestor','direction','commandName','TrackChangesEditing','low','requires','model','splitTableCellVertically','registerDescriptionCallback','isEnabled','push','forceDefaultExecution','horizontally','createRangeOn','cell','deletion','getSelectionAffectedTableCells','splitTableCellHorizontally','411000eDGXYj','setSelection','highest','mergeTableCellLeft','plugins','formatBlock','markBlockFormat','getAncestors','getFirstPosition','length','_areSelectedCellsMergable','author','return','447402uDzOGb','table','detach','fromRange','execute','filter','enableCommand','2861BrOEXY','TableUtils','size','getSuggestions','add','element'];_0x31b3=function(){return _0x567645;};return _0x31b3();}
|
|
23
|
+
function _0x2774(_0x3e3e09,_0x420b7a){const _0x40a9c0=_0x40a9();return _0x2774=function(_0x277490,_0x8cb598){_0x277490=_0x277490-0x151;let _0x428d75=_0x40a9c0[_0x277490];return _0x428d75;},_0x2774(_0x3e3e09,_0x420b7a);}function _0x40a9(){const _0x1d8be0=['afterInit','size','root','editor','table','335tFveGE','detach','map','registerDescriptionCallback','format','4332HlWKeQ','refresh','element','cell','formatInline','_acceptFormatSuggestionCallbackFactory','horizontally','author','121381dPgUyX','requires','fromRange','tableCell','5830puBYHc','mergeTableCells','subType','commands','descriptionFactory','isInContent','value','model','1390pPlXba','*Split\x20cell:*\x20horizontally','add','7KNKzOB','TableUtils','direction','setSelection','document','selection','5972gkjWVu','find','get','_tablePostFixingSubtypes','forceDefaultExecution','deletion','1267006InpuPQ','filter','12258198WOBjiv','low','getAncestors','commandName','mergeTableCellRight','markBlockFormat','plugins','length','registerCustomCallback','splitTableCellVertically','enableCommand','change','accept','push','stop','has','splitTableCellHorizontally','getFirstPosition','rootName','4718658oUWjdU','isEnabled','containsRange','2055801llRlWt','$graveyard','_isForcedDefaultExecutionBlock','highest','markMultiRangeBlockFormat','from','trackChanges','TrackChangesEditing','getRanges','*Merge\x20cells*','execute','getCellLocation','getSuggestions','TableEditing','mergeTableCellLeft','getSelectionAffectedTableCells','return','formatBlock','*Split\x20cell:*\x20vertically','8DGTNuA','mergeTableCellDown','createRangeOn','locale','findAncestor','type','createTableWalker','2gJCLiQ','set:isEnabled','_suggestionFactory','_areSelectedCellsMergable','mergeTableCellUp','insertion','_areMergableCells'];_0x40a9=function(){return _0x1d8be0;};return _0x40a9();}const _0x19b35f=_0x2774;(function(_0x14b90a,_0x2156d4){const _0x2a6a04=_0x2774,_0x28b45d=_0x14b90a();while(!![]){try{const _0x3ccaa2=-parseInt(_0x2a6a04(0x18f))/0x1*(-parseInt(_0x2a6a04(0x15d))/0x2)+parseInt(_0x2a6a04(0x175))/0x3+parseInt(_0x2a6a04(0x157))/0x4*(-parseInt(_0x2a6a04(0x19b))/0x5)+-parseInt(_0x2a6a04(0x172))/0x6*(-parseInt(_0x2a6a04(0x151))/0x7)+-parseInt(_0x2a6a04(0x188))/0x8*(-parseInt(_0x2a6a04(0x15f))/0x9)+parseInt(_0x2a6a04(0x1b4))/0xa*(parseInt(_0x2a6a04(0x1ac))/0xb)+parseInt(_0x2a6a04(0x1a0))/0xc*(-parseInt(_0x2a6a04(0x1a8))/0xd);if(_0x3ccaa2===_0x2156d4)break;else _0x28b45d['push'](_0x28b45d['shift']());}catch(_0x26a695){_0x28b45d['push'](_0x28b45d['shift']());}}}(_0x40a9,0xabce8));import{Plugin as _0x25e8ea}from'ckeditor5/src/core.js';import _0x1cce6e from'./table.js';import{LiveRange as _0x1ed3dc}from'ckeditor5/src/engine.js';import{getTranslation as _0x4a9484}from'../utils/common-translations.js';export default class St extends _0x25e8ea{static get[_0x19b35f(0x1a9)](){return[_0x1cce6e];}[_0x19b35f(0x196)](){const _0x5efdea=_0x19b35f,_0x17f2ed=this[_0x5efdea(0x199)],_0x3b84d3=_0x17f2ed[_0x5efdea(0x1b3)][_0x5efdea(0x155)][_0x5efdea(0x156)],_0xd89a65=_0x17f2ed[_0x5efdea(0x18b)];if(!_0x17f2ed[_0x5efdea(0x165)][_0x5efdea(0x16e)](_0x5efdea(0x182)))return;const _0x4d94f1=_0x17f2ed[_0x5efdea(0x165)][_0x5efdea(0x159)](_0x5efdea(0x17c)),_0x1e13b9=_0x17f2ed[_0x5efdea(0x165)][_0x5efdea(0x159)](_0x5efdea(0x152)),_0x175da9=_0x17f2ed[_0x5efdea(0x165)][_0x5efdea(0x159)](_0x1cce6e);_0x175da9[_0x5efdea(0x15a)][_0x5efdea(0x16c)](_0x5efdea(0x1ad)),_0x4d94f1[_0x5efdea(0x169)](_0x5efdea(0x1ad),()=>{const _0x561562=_0x5efdea,_0x56fb35=_0x1e13b9[_0x561562(0x184)](_0x17f2ed[_0x561562(0x1b3)][_0x561562(0x155)][_0x561562(0x156)]);_0x17f2ed[_0x561562(0x1b3)][_0x561562(0x16a)](()=>{const _0x2a1395=_0x561562;_0x4d94f1[_0x2a1395(0x179)](_0x56fb35,{'commandName':_0x2a1395(0x1ad),'commandParams':[]},[],_0x2a1395(0x1ad));});}),_0x17f2ed[_0x5efdea(0x1af)][_0x5efdea(0x159)](_0x5efdea(0x1ad))['on'](_0x5efdea(0x17f),(_0xf6f220,_0x139b82)=>{const _0x45e58d=_0x5efdea;_0x17f2ed[_0x45e58d(0x1af)][_0x45e58d(0x159)](_0x45e58d(0x17b))[_0x45e58d(0x1b2)]&&(_0x139b82[_0x45e58d(0x166)]>0x0&&_0x139b82[_0x139b82[_0x45e58d(0x166)]-0x1]&&_0x139b82[_0x139b82[_0x45e58d(0x166)]-0x1][_0x45e58d(0x15b)]||_0x4d94f1[_0x45e58d(0x177)]||this[_0x45e58d(0x192)]()||_0xf6f220[_0x45e58d(0x16d)]());},{'priority':_0x5efdea(0x178)});for(const _0x3cee54 of[_0x5efdea(0x193),_0x5efdea(0x163),_0x5efdea(0x189),_0x5efdea(0x183)]){const _0x2ab3c6=_0x17f2ed[_0x5efdea(0x1af)][_0x5efdea(0x159)](_0x3cee54);_0x4d94f1[_0x5efdea(0x169)](_0x3cee54,()=>{const _0x138799=_0x5efdea,_0x56b010=_0x17f2ed[_0x138799(0x1b3)][_0x138799(0x155)][_0x138799(0x156)][_0x138799(0x170)]()[_0x138799(0x161)]()[_0x138799(0x158)](_0x59e884=>_0x59e884['is'](_0x138799(0x1a2),_0x138799(0x1ab))),_0x4c6046=_0x2ab3c6[_0x138799(0x1b2)];_0x17f2ed[_0x138799(0x1b3)][_0x138799(0x16a)](()=>{const _0x1051ea=_0x138799;_0x4d94f1[_0x1051ea(0x179)]([_0x56b010,_0x4c6046],{'commandName':_0x1051ea(0x1ad),'commandParams':[]},[],_0x1051ea(0x1ad));});});}for(const _0x142940 of[_0x5efdea(0x168),_0x5efdea(0x16f)]){const _0x2aa2cf=_0x17f2ed[_0x5efdea(0x1af)][_0x5efdea(0x159)](_0x142940);_0x4d94f1[_0x5efdea(0x169)](_0x142940,()=>{const _0x9855ea=_0x5efdea,_0x292868=_0x1e13b9[_0x9855ea(0x184)](_0x17f2ed[_0x9855ea(0x1b3)][_0x9855ea(0x155)][_0x9855ea(0x156)])[0x0],_0x303a87=_0x292868[_0x9855ea(0x18c)](_0x9855ea(0x19a)),{column:_0x4e964a,row:_0xfc4964}=_0x1e13b9[_0x9855ea(0x180)](_0x292868);let _0x1fbf17=[];if(_0x9855ea(0x1a6)==_0x2aa2cf[_0x9855ea(0x153)]){const _0x151c02=_0x1e13b9[_0x9855ea(0x18e)](_0x303a87,{'startRow':_0xfc4964,'endRow':_0xfc4964,'includeAllSlots':!0x0});_0x1fbf17=Array[_0x9855ea(0x17a)](_0x151c02)[_0x9855ea(0x19d)](_0x1da362=>_0x1da362[_0x9855ea(0x1a3)]);}else{const _0x2eac9a=_0x1e13b9[_0x9855ea(0x18e)](_0x303a87,{'column':_0x4e964a,'includeAllSlots':!0x0});_0x1fbf17=Array[_0x9855ea(0x17a)](_0x2eac9a)[_0x9855ea(0x19d)](_0x30cf24=>_0x30cf24[_0x9855ea(0x1a3)]);}_0x17f2ed[_0x9855ea(0x1b3)][_0x9855ea(0x16a)](_0x535f51=>{const _0x2eab2d=_0x9855ea;_0x4d94f1[_0x2eab2d(0x164)](_0x535f51[_0x2eab2d(0x18a)](_0x292868),{'commandName':_0x142940,'commandParams':[]},_0x1fbf17,_0x142940);});});}_0x4d94f1[_0x5efdea(0x1b0)][_0x5efdea(0x19e)](_0x24753c=>{const _0x5d94d4=_0x5efdea;if(_0x5d94d4(0x186)!=_0x24753c[_0x5d94d4(0x18d)]&&_0x5d94d4(0x1a4)!=_0x24753c[_0x5d94d4(0x18d)])return;const {data:_0x824532}=_0x24753c;return _0x824532&&_0x5d94d4(0x1ad)==_0x824532[_0x5d94d4(0x162)]?{'type':_0x5d94d4(0x19f),'content':_0x4a9484(_0xd89a65,_0x5d94d4(0x17e))}:void 0x0;}),_0x4d94f1[_0x5efdea(0x1b0)][_0x5efdea(0x19e)](_0x243617=>{const _0x3be1da=_0x5efdea;if(_0x3be1da(0x186)!=_0x243617[_0x3be1da(0x18d)]&&_0x3be1da(0x1a4)!=_0x243617[_0x3be1da(0x18d)])return;const {data:_0x29feea}=_0x243617;return _0x29feea?_0x3be1da(0x168)==_0x29feea[_0x3be1da(0x162)]?{'type':_0x3be1da(0x19f),'content':_0x4a9484(_0xd89a65,_0x3be1da(0x187))}:_0x3be1da(0x16f)==_0x29feea[_0x3be1da(0x162)]?{'type':_0x3be1da(0x19f),'content':_0x4a9484(_0xd89a65,_0x3be1da(0x1b5))}:void 0x0:void 0x0;});const _0x10ac79=_0x175da9[_0x5efdea(0x1a5)]();for(const _0x58c3b4 of[_0x5efdea(0x193),_0x5efdea(0x163),_0x5efdea(0x189),_0x5efdea(0x183)])_0x4d94f1[_0x5efdea(0x191)][_0x5efdea(0x167)](_0x5efdea(0x186),_0x58c3b4,_0x5efdea(0x16b),_0x10ac79);for(const _0x2029a2 of[_0x5efdea(0x168),_0x5efdea(0x16f)])_0x4d94f1[_0x5efdea(0x191)][_0x5efdea(0x167)](_0x5efdea(0x186),_0x2029a2,_0x5efdea(0x16b),_0x10ac79);_0x4d94f1[_0x5efdea(0x191)][_0x5efdea(0x167)](_0x5efdea(0x186),_0x5efdea(0x1ad),_0x5efdea(0x16b),_0x43eb2d=>{const _0x19078b=_0x5efdea;_0x17f2ed[_0x19078b(0x1b3)][_0x19078b(0x16a)](_0x42c3dc=>{const _0x1c9a54=_0x19078b,_0xcddf6b=Array[_0x1c9a54(0x17a)](_0x3b84d3[_0x1c9a54(0x17d)]())[_0x1c9a54(0x19d)](_0x53065d=>_0x1ed3dc[_0x1c9a54(0x1aa)](_0x53065d));_0x42c3dc[_0x1c9a54(0x154)](_0x43eb2d),_0x17f2ed[_0x1c9a54(0x1af)][_0x1c9a54(0x159)](_0x1c9a54(0x1ad))[_0x1c9a54(0x1a1)](),_0x17f2ed[_0x1c9a54(0x17f)](_0x1c9a54(0x1ad),{'forceDefaultExecution':!0x0});const _0x17f1cc=_0xcddf6b[_0x1c9a54(0x15e)](_0x4f84a0=>_0x1c9a54(0x176)!=_0x4f84a0[_0x1c9a54(0x198)][_0x1c9a54(0x171)]);_0x17f1cc[_0x1c9a54(0x166)]>0x0&&_0x42c3dc[_0x1c9a54(0x154)](_0x17f1cc);for(const _0x45ae13 of _0xcddf6b)_0x45ae13[_0x1c9a54(0x19c)]();});});for(const _0x285e67 of[_0x5efdea(0x193),_0x5efdea(0x189),_0x5efdea(0x183),_0x5efdea(0x163)]){const _0x4e8fd8=_0x17f2ed[_0x5efdea(0x1af)][_0x5efdea(0x159)](_0x285e67);_0x4e8fd8['on'](_0x5efdea(0x190),(_0x595c87,_0x23e5a2,_0x1d339b)=>{const _0x1b66ce=_0x5efdea;if(_0x1d339b){const _0x23d3d1=_0x17f2ed[_0x1b66ce(0x1b3)][_0x1b66ce(0x155)][_0x1b66ce(0x156)][_0x1b66ce(0x170)]()[_0x1b66ce(0x161)]()[_0x1b66ce(0x158)](_0x3981e4=>_0x3981e4['is'](_0x1b66ce(0x1a2),_0x1b66ce(0x1ab)));this[_0x1b66ce(0x195)](_0x4e8fd8[_0x1b66ce(0x1b2)],_0x23d3d1)||(_0x595c87[_0x1b66ce(0x185)]=!0x1,_0x595c87[_0x1b66ce(0x16d)]());}},{'priority':_0x5efdea(0x160)});}}[_0x19b35f(0x192)](){const _0xb729f7=_0x19b35f,_0x202969=this[_0xb729f7(0x199)][_0xb729f7(0x1af)][_0xb729f7(0x159)](_0xb729f7(0x1ad)),_0x5590b0=this[_0xb729f7(0x199)][_0xb729f7(0x165)][_0xb729f7(0x159)](_0xb729f7(0x152));if(!_0x202969[_0xb729f7(0x173)])return!0x1;const _0xeefe21=_0x5590b0[_0xb729f7(0x184)](this[_0xb729f7(0x199)][_0xb729f7(0x1b3)][_0xb729f7(0x155)][_0xb729f7(0x156)]);for(const _0x2c663f of _0xeefe21)for(const _0x593be8 of _0xeefe21)if(_0x2c663f!=_0x593be8&&!this[_0xb729f7(0x195)](_0x2c663f,_0x593be8))return!0x1;return!0x0;}[_0x19b35f(0x195)](_0x1d8c9d,_0x3037ec){const _0x3a6de1=_0x19b35f,_0x55ab2c=this[_0x3a6de1(0x199)][_0x3a6de1(0x165)][_0x3a6de1(0x159)](_0x3a6de1(0x17c)),_0x5ca2d0=this[_0x3a6de1(0x199)][_0x3a6de1(0x1b3)][_0x3a6de1(0x18a)](_0x1d8c9d),_0x46036e=this[_0x3a6de1(0x199)][_0x3a6de1(0x1b3)][_0x3a6de1(0x18a)](_0x3037ec),_0x48877f=new Set(),_0x3dcbeb=new Set();for(const _0x509abb of _0x55ab2c[_0x3a6de1(0x181)]())if((_0x3a6de1(0x194)==_0x509abb[_0x3a6de1(0x18d)]||_0x3a6de1(0x15c)==_0x509abb[_0x3a6de1(0x18d)]||_0x3a6de1(0x1ad)==_0x509abb[_0x3a6de1(0x1ae)])&&_0x509abb[_0x3a6de1(0x1b1)]){for(const _0x37a1c1 of _0x509abb[_0x3a6de1(0x17d)]())_0x37a1c1[_0x3a6de1(0x174)](_0x5ca2d0,!0x0)&&_0x48877f[_0x3a6de1(0x1b6)](_0x509abb[_0x3a6de1(0x18d)]+':'+_0x509abb[_0x3a6de1(0x1a7)]['id']),_0x37a1c1[_0x3a6de1(0x174)](_0x46036e,!0x0)&&_0x3dcbeb[_0x3a6de1(0x1b6)](_0x509abb[_0x3a6de1(0x18d)]+':'+_0x509abb[_0x3a6de1(0x1a7)]['id']);}if(_0x48877f[_0x3a6de1(0x197)]!=_0x3dcbeb[_0x3a6de1(0x197)])return!0x1;for(const _0x4bc6da of _0x48877f)if(!_0x3dcbeb[_0x3a6de1(0x16e)](_0x4bc6da))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x565e75=_0x3014;function _0x55dd(){const _0x3e6b4d=['1395280tlMcGS','tableOfContents','plugins','38CCKxgB','locale','enableCommand','descriptionFactory','insertTableOfContents','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','44pmeFzf','220284ScrIqe','18609SCkMKA','8473240FJqOFp','commands','afterInit','121953RHWlIb','119xGDwft','editor','get','126ECvZur','registerElementLabel','40103657vLoFHE','218700EiHeKf'];_0x55dd=function(){return _0x3e6b4d;};return _0x55dd();}(function(_0x3c031a,_0x508fc2){const _0xab7a47=_0x3014,_0x506329=_0x3c031a();while(!![]){try{const _0x5f4429=parseInt(_0xab7a47(0xdc))/0x1*(-parseInt(_0xab7a47(0xeb))/0x2)+-parseInt(_0xab7a47(0xe0))/0x3*(parseInt(_0xab7a47(0xda))/0x4)+-parseInt(_0xab7a47(0xe8))/0x5+-parseInt(_0xab7a47(0xdb))/0x6*(parseInt(_0xab7a47(0xe1))/0x7)+-parseInt(_0xab7a47(0xdd))/0x8+-parseInt(_0xab7a47(0xe4))/0x9*(parseInt(_0xab7a47(0xe7))/0xa)+parseInt(_0xab7a47(0xe6))/0xb;if(_0x5f4429===_0x508fc2)break;else _0x506329['push'](_0x506329['shift']());}catch(_0x41ca38){_0x506329['push'](_0x506329['shift']());}}}(_0x55dd,0x8cc0e));import{Plugin as _0x3e2af8}from'ckeditor5/src/core.js';import{getTranslation as _0x13fa51}from'../utils/common-translations.js';function _0x3014(_0x455088,_0x47b610){const _0x55ddf2=_0x55dd();return _0x3014=function(_0x301420,_0x30b439){_0x301420=_0x301420-0xda;let _0x54de8b=_0x55ddf2[_0x301420];return _0x54de8b;},_0x3014(_0x455088,_0x47b610);}export default class _t extends _0x3e2af8{[_0x565e75(0xdf)](){const _0x3eb32b=_0x565e75,_0x55e98d=this[_0x3eb32b(0xe2)];if(!_0x55e98d[_0x3eb32b(0xde)][_0x3eb32b(0xe3)](_0x3eb32b(0xef)))return;_0x55e98d[_0x3eb32b(0xea)][_0x3eb32b(0xe3)](_0x3eb32b(0xf1))[_0x3eb32b(0xed)](_0x3eb32b(0xef));const _0x120cc3=_0x55e98d[_0x3eb32b(0xea)][_0x3eb32b(0xe3)](_0x3eb32b(0xf1)),_0x26d4d3=_0x55e98d[_0x3eb32b(0xec)];_0x120cc3[_0x3eb32b(0xee)][_0x3eb32b(0xe5)](_0x3eb32b(0xe9),_0x494551=>_0x13fa51(_0x26d4d3,_0x3eb32b(0xf0),_0x494551));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x28b56d=_0x404c;function _0x237c(){const _0x1651ba=['13760fhaOaj','tableCellPadding','tableCellVerticalAlignment','tableAlignment','change','18lWzWuM','tableCellBorderStyle','join','_handlePropertyChange','TableUtils','discard','getSelectionAffectedTableCells','getAttribute','tableCellHorizontalAlignment','tableBackgroundColor','tableHeight','data','registerDescriptionCallback','pluginName','registerCustomCallback','TrackChangesEditing','has','formatBlock','14543720EEnEvu','getFirstPosition','findAncestor','nodeAfter','612iEjYHg','enqueueChange','8sVYjzf','format','3707606BxxcQg','5885055CdaMAP','accept','getSuggestions','batch','TablePropertiesEditing','tableProperties','tableCellBorderColor','tableBorderColor','tableCellBorderWidth','commandParams','TableCellPropertiesEditing','selection','handleDiscardAction','tableBorderWidth','tableCellBackgroundColor','_suggestionFactory','document','plugins','tableBorderStyle','tableWidth','getContainedElement','handleSuggestionDescription','tableCellHeight','removeAttribute','1029544eUCzCA','*Format:*\x20change\x20table\x20properties','getSuggestionCallback','_getSuggestion','3287028OUgvUj','77978qmkOis','editor','start','enableCommand','afterInit','model','locale','TrackChangesTableProperties','*Format:*\x20change\x20table\x20cell\x20properties','descriptionFactory','setAttribute','table','tableCellWidth','get','markBlockFormat','tableCellProperties','subType'];_0x237c=function(){return _0x1651ba;};return _0x237c();}(function(_0x181fdb,_0x53e559){const _0x56583f=_0x404c,_0x100e93=_0x181fdb();while(!![]){try{const _0x566e71=parseInt(_0x56583f(0x11d))/0x1+-parseInt(_0x56583f(0x122))/0x2*(parseInt(_0x56583f(0x138))/0x3)+parseInt(_0x56583f(0x121))/0x4+-parseInt(_0x56583f(0x133))/0x5*(-parseInt(_0x56583f(0x14e))/0x6)+-parseInt(_0x56583f(0x152))/0x7*(parseInt(_0x56583f(0x150))/0x8)+parseInt(_0x56583f(0x153))/0x9+-parseInt(_0x56583f(0x14a))/0xa;if(_0x566e71===_0x53e559)break;else _0x100e93['push'](_0x100e93['shift']());}catch(_0x3490dd){_0x100e93['push'](_0x100e93['shift']());}}}(_0x237c,0x8aa80));function _0x404c(_0x59ec8a,_0x386da3){const _0x237caf=_0x237c();return _0x404c=function(_0x404ce6,_0xc19407){_0x404ce6=_0x404ce6-0x118;let _0x3a13aa=_0x237caf[_0x404ce6];return _0x3a13aa;},_0x404c(_0x59ec8a,_0x386da3);}import{Plugin as _0x1ae219}from'ckeditor5/src/core.js';import{getTranslation as _0x56dc53}from'../utils/common-translations.js';export default class $t extends _0x1ae219{constructor(_0xbb5b84){const _0x541532=_0x404c;super(_0xbb5b84),this[_0x541532(0x158)]=[_0x541532(0x15a),_0x541532(0x165),_0x541532(0x160),_0x541532(0x136),_0x541532(0x118),_0x541532(0x142),_0x541532(0x141)],this[_0x541532(0x131)]=[_0x541532(0x159),_0x541532(0x139),_0x541532(0x15b),_0x541532(0x134),_0x541532(0x12e),_0x541532(0x11b),_0x541532(0x161),_0x541532(0x140),_0x541532(0x135)];}static get[_0x28b56d(0x145)](){const _0x576c92=_0x28b56d;return _0x576c92(0x129);}[_0x28b56d(0x126)](){const _0x316e3f=_0x28b56d,_0x3afa8f=this[_0x316e3f(0x123)][_0x316e3f(0x164)][_0x316e3f(0x12f)](_0x316e3f(0x147));if(this[_0x316e3f(0x123)][_0x316e3f(0x164)][_0x316e3f(0x148)](_0x316e3f(0x157))){for(const _0x3f3965 of this[_0x316e3f(0x158)])_0x3afa8f[_0x316e3f(0x125)](_0x3f3965,(_0x5045b6,_0x46e022)=>{const _0x89f5e9=_0x316e3f,_0x2f4643=this[_0x89f5e9(0x123)][_0x89f5e9(0x127)][_0x89f5e9(0x163)][_0x89f5e9(0x15e)][_0x89f5e9(0x14b)]()[_0x89f5e9(0x14c)](_0x89f5e9(0x12d));this[_0x89f5e9(0x13b)](_0x3f3965,[_0x2f4643],this[_0x89f5e9(0x158)],_0x89f5e9(0x158),_0x5045b6,_0x46e022);});_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x158),_0x316e3f(0x154),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x11f)](_0x316e3f(0x149),null,_0x316e3f(0x13d))),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x158),_0x316e3f(0x13d),(_0x5db93b,_0x1b4efb)=>this[_0x316e3f(0x15f)](this[_0x316e3f(0x158)],_0x5db93b,_0x1b4efb)),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x158),_0x316e3f(0x13a),()=>!0x1);}if(this[_0x316e3f(0x123)][_0x316e3f(0x164)][_0x316e3f(0x148)](_0x316e3f(0x15d))){for(const _0x5eaaf9 of this[_0x316e3f(0x131)])_0x3afa8f[_0x316e3f(0x125)](_0x5eaaf9,(_0x3548d9,_0x381c2a)=>{const _0x1860b0=_0x316e3f,_0x447b6e=this[_0x1860b0(0x123)][_0x1860b0(0x164)][_0x1860b0(0x12f)](_0x1860b0(0x13c))[_0x1860b0(0x13e)](this[_0x1860b0(0x123)][_0x1860b0(0x127)][_0x1860b0(0x163)][_0x1860b0(0x15e)]);this[_0x1860b0(0x13b)](_0x5eaaf9,_0x447b6e,this[_0x1860b0(0x131)],_0x1860b0(0x131),_0x3548d9,_0x381c2a);});_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x131),_0x316e3f(0x154),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x11f)](_0x316e3f(0x149),null,_0x316e3f(0x13d))),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x131),_0x316e3f(0x13d),(_0x147de4,_0x237f1e)=>this[_0x316e3f(0x15f)](this[_0x316e3f(0x131)],_0x147de4,_0x237f1e)),_0x3afa8f[_0x316e3f(0x162)][_0x316e3f(0x146)](_0x316e3f(0x149),_0x316e3f(0x131),_0x316e3f(0x13a),()=>!0x1);}_0x3afa8f[_0x316e3f(0x12b)][_0x316e3f(0x144)](_0x5b40e1=>this[_0x316e3f(0x11a)](_0x5b40e1));}[_0x28b56d(0x13b)](_0x13a851,_0xa68b1a,_0x2e3a78,_0x3f2dd1,_0x220a7e,_0x2f6aa1){const _0x2fc94e=_0x28b56d,_0x198c74=this[_0x2fc94e(0x123)][_0x2fc94e(0x164)][_0x2fc94e(0x12f)](_0x2fc94e(0x147));this[_0x2fc94e(0x123)][_0x2fc94e(0x127)][_0x2fc94e(0x14f)](_0x2f6aa1[_0x2fc94e(0x156)],()=>{const _0x27796c=_0x2fc94e;for(const _0x34094d of _0xa68b1a){if(this[_0x27796c(0x120)](_0x34094d,_0x3f2dd1))_0x220a7e(_0x2f6aa1);else{const _0x53d49e={};for(const _0x372611 of _0x2e3a78){const _0x2d5c42=_0x34094d[_0x27796c(0x13f)](_0x372611);void 0x0!==_0x2d5c42&&(_0x53d49e[_0x372611]=_0x2d5c42);}_0x220a7e(_0x2f6aa1),_0x198c74[_0x27796c(0x130)](_0x34094d,{'commandParams':[_0x53d49e]},[],_0x3f2dd1);}}});}[_0x28b56d(0x15f)](_0x51ff8c,_0x4eff8f,_0x383bb1){const _0x1ac859=_0x28b56d,_0x918cb7=_0x4eff8f[0x0][_0x1ac859(0x124)][_0x1ac859(0x14d)],_0x4c3571=_0x383bb1[_0x1ac859(0x15c)][0x0];this[_0x1ac859(0x123)][_0x1ac859(0x127)][_0x1ac859(0x137)](_0x49adf6=>{const _0x115bbb=_0x1ac859;for(const _0x1a61d2 of _0x51ff8c)void 0x0!==_0x4c3571[_0x1a61d2]?_0x49adf6[_0x115bbb(0x12c)](_0x1a61d2,_0x4c3571[_0x1a61d2],_0x918cb7):_0x49adf6[_0x115bbb(0x11c)](_0x1a61d2,_0x918cb7);});}[_0x28b56d(0x11a)](_0x428601){const _0x4e12df=_0x28b56d;if(_0x428601[_0x4e12df(0x143)])switch(_0x428601[_0x4e12df(0x132)]){case _0x4e12df(0x158):return{'type':_0x4e12df(0x151),'content':_0x56dc53(this[_0x4e12df(0x123)][_0x4e12df(0x128)],_0x4e12df(0x11e))};case _0x4e12df(0x131):return{'type':_0x4e12df(0x151),'content':_0x56dc53(this[_0x4e12df(0x123)][_0x4e12df(0x128)],_0x4e12df(0x12a))};}}[_0x28b56d(0x120)](_0x3c5678,_0x4d50c3){const _0x2db048=_0x28b56d,_0x2cebab=this[_0x2db048(0x123)][_0x2db048(0x164)][_0x2db048(0x12f)](_0x2db048(0x147));for(const _0x3bc5a7 of _0x2cebab[_0x2db048(0x155)]({'skipNotAttached':!0x0})){const _0x543784=_0x3bc5a7[_0x2db048(0x119)]();if(_0x3bc5a7[_0x2db048(0x132)]===_0x4d50c3&&_0x543784===_0x3c5678)return _0x3bc5a7;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x106dfd=_0x4b5e;(function(_0x3b684e,_0x2b6de8){const _0x1e5dc0=_0x4b5e,_0x1dbd82=_0x3b684e();while(!![]){try{const _0x24a5f5=parseInt(_0x1e5dc0(0x1bb))/0x1+-parseInt(_0x1e5dc0(0x1c4))/0x2*(-parseInt(_0x1e5dc0(0x1cc))/0x3)+-parseInt(_0x1e5dc0(0x1c8))/0x4*(-parseInt(_0x1e5dc0(0x1c7))/0x5)+parseInt(_0x1e5dc0(0x1be))/0x6*(-parseInt(_0x1e5dc0(0x1c1))/0x7)+parseInt(_0x1e5dc0(0x1c6))/0x8*(-parseInt(_0x1e5dc0(0x1c9))/0x9)+parseInt(_0x1e5dc0(0x1bc))/0xa*(-parseInt(_0x1e5dc0(0x1c5))/0xb)+-parseInt(_0x1e5dc0(0x1c0))/0xc;if(_0x24a5f5===_0x2b6de8)break;else _0x1dbd82['push'](_0x1dbd82['shift']());}catch(_0x10a53a){_0x1dbd82['push'](_0x1dbd82['shift']());}}}(_0x78e4,0x33454));function _0x78e4(){const _0x524425=['enableCommand','102267JDgzrr','plugins','get','insertTemplate','390454aVaphB','10vheJDF','has','67128iWzNZf','Template','3386892bmXhqn','63YCeJhx','afterInit','editor','18ypRrXE','2385845PWyASp','904Pouggh','63245hVnpKw','48gmaxgo','3123OyriHB','TrackChangesEditing'];_0x78e4=function(){return _0x524425;};return _0x78e4();}function _0x4b5e(_0x5e6203,_0x37dccf){const _0x78e4c5=_0x78e4();return _0x4b5e=function(_0x4b5e3c,_0x590ea0){_0x4b5e3c=_0x4b5e3c-0x1b8;let _0x594bad=_0x78e4c5[_0x4b5e3c];return _0x594bad;},_0x4b5e(_0x5e6203,_0x37dccf);}import{Plugin as _0x519516}from'ckeditor5/src/core.js';export default class Ct extends _0x519516{[_0x106dfd(0x1c2)](){const _0x58cd4a=_0x106dfd,_0x36b220=this[_0x58cd4a(0x1c3)];_0x36b220[_0x58cd4a(0x1b8)][_0x58cd4a(0x1bd)](_0x58cd4a(0x1bf))&&_0x36b220[_0x58cd4a(0x1b8)][_0x58cd4a(0x1b9)](_0x58cd4a(0x1ca))[_0x58cd4a(0x1cb)](_0x58cd4a(0x1ba));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2782da=_0x47a9;function _0x47a9(_0x3bea08,_0x59addb){const _0x4f66da=_0x4f66();return _0x47a9=function(_0x47a9fa,_0x21dc2e){_0x47a9fa=_0x47a9fa-0x153;let _0x454df1=_0x4f66da[_0x47a9fa];return _0x454df1;},_0x47a9(_0x3bea08,_0x59addb);}(function(_0x4937d9,_0x1a46f2){const _0x587024=_0x47a9,_0x4d2a27=_0x4937d9();while(!![]){try{const _0x33bf37=-parseInt(_0x587024(0x173))/0x1+parseInt(_0x587024(0x178))/0x2*(parseInt(_0x587024(0x160))/0x3)+-parseInt(_0x587024(0x15c))/0x4*(parseInt(_0x587024(0x16f))/0x5)+parseInt(_0x587024(0x16c))/0x6*(parseInt(_0x587024(0x16d))/0x7)+-parseInt(_0x587024(0x179))/0x8+-parseInt(_0x587024(0x15e))/0x9+parseInt(_0x587024(0x155))/0xa;if(_0x33bf37===_0x1a46f2)break;else _0x4d2a27['push'](_0x4d2a27['shift']());}catch(_0x494f77){_0x4d2a27['push'](_0x4d2a27['shift']());}}}(_0x4f66,0xaf010));function _0x4f66(){const _0x2330cf=['nodeBefore','document','registerPostFixer','has','getChangedMarkers','TrackChangesEditing','getNearestSelectionRange','6ruKTcV','7531811RIohWl','isTouching','30CfgXhR','afterInit','isEqual','start','1288792UIJTVK','element','forward','schema','Title','1156HvNEFf','2095696aNuXlY','suggestion','createRange','model','end','editor','newRange','locale','25590570ghzftE','descriptionFactory','_splitMarkerName','title-content','updateMarker','isCollapsed','get','343636SGBggg','differ','8958150NqGNcy','removeMarker','744mntzJX','plugins','from','registerElementLabel','ELEMENT_TITLE'];_0x4f66=function(){return _0x2330cf;};return _0x4f66();}import{Plugin as _0x42bf3a}from'ckeditor5/src/core.js';import{getTranslation as _0x4700f5}from'../utils/common-translations.js';export default class Dt extends _0x42bf3a{[_0x2782da(0x170)](){const _0x3289ef=_0x2782da,_0x21824c=this[_0x3289ef(0x17e)];if(!_0x21824c[_0x3289ef(0x161)][_0x3289ef(0x168)](_0x3289ef(0x177)))return;const _0x4f8b43=_0x21824c[_0x3289ef(0x161)][_0x3289ef(0x15b)](_0x3289ef(0x16a));_0x4f8b43[_0x3289ef(0x156)][_0x3289ef(0x163)](_0x3289ef(0x158),()=>_0x4700f5(_0x21824c[_0x3289ef(0x154)],_0x3289ef(0x164))),_0x21824c[_0x3289ef(0x17c)][_0x3289ef(0x166)][_0x3289ef(0x167)](_0x1d9326=>{const _0x42fb40=_0x3289ef;let _0x4ae045=!0x1;const _0x3d66fd=Array[_0x42fb40(0x162)](_0x21824c[_0x42fb40(0x17c)][_0x42fb40(0x166)][_0x42fb40(0x15d)][_0x42fb40(0x169)]());for(const {name:_0x199a00,data:_0x2d7770}of _0x3d66fd){const {group:_0x40f31d}=_0x4f8b43[_0x42fb40(0x157)](_0x199a00);if(_0x42fb40(0x17a)!==_0x40f31d||!_0x2d7770[_0x42fb40(0x153)])continue;const _0x507f65=_0x2d7770[_0x42fb40(0x153)],_0x3016e9=_0x507f65[_0x42fb40(0x17d)][_0x42fb40(0x165)];if(!_0x3016e9||!_0x3016e9['is'](_0x42fb40(0x174),_0x42fb40(0x158)))continue;if(!_0x507f65[_0x42fb40(0x172)][_0x42fb40(0x16e)](_0x507f65[_0x42fb40(0x17d)]))continue;const _0xfe168=_0x21824c[_0x42fb40(0x17c)][_0x42fb40(0x176)][_0x42fb40(0x16b)](_0x507f65[_0x42fb40(0x17d)],_0x42fb40(0x175));if(_0xfe168&&_0xfe168[_0x42fb40(0x15a)]){const _0x3391e0=_0x1d9326[_0x42fb40(0x17b)](_0x507f65[_0x42fb40(0x172)],_0xfe168[_0x42fb40(0x172)]);_0x3391e0[_0x42fb40(0x171)](_0x507f65)||(_0x1d9326[_0x42fb40(0x159)](_0x199a00,{'range':_0x3391e0}),_0x4ae045=!0x0);}_0x4ae045||(_0x1d9326[_0x42fb40(0x15f)](_0x199a00),_0x4ae045=!0x0);}return _0x4ae045;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5b948a=_0x7390;function _0x7390(_0x3efaf0,_0x254967){const _0x3fde4b=_0x3fde();return _0x7390=function(_0x73901e,_0xef750c){_0x73901e=_0x73901e-0x7b;let _0x2e1ab5=_0x3fde4b[_0x73901e];return _0x2e1ab5;},_0x7390(_0x3efaf0,_0x254967);}function _0x3fde(){const _0x26525b=['781266zraXBW','4NPrzzs','69262iIStLh','undo','afterInit','UndoEditing','812365aCafby','get','TrackChangesEditing','1425582veaMEk','has','786646ZnWRAL','149382ZjXlXA','plugins','enableCommand','206232JnPdqE','redo','7eWDAzo','editor'];_0x3fde=function(){return _0x26525b;};return _0x3fde();}(function(_0x436754,_0x1e7b43){const _0x299795=_0x7390,_0x5c1e14=_0x436754();while(!![]){try{const _0x393666=parseInt(_0x299795(0x80))/0x1*(-parseInt(_0x299795(0x84))/0x2)+parseInt(_0x299795(0x82))/0x3+parseInt(_0x299795(0x83))/0x4*(parseInt(_0x299795(0x88))/0x5)+-parseInt(_0x299795(0x7b))/0x6+parseInt(_0x299795(0x8d))/0x7+parseInt(_0x299795(0x7e))/0x8+-parseInt(_0x299795(0x8b))/0x9;if(_0x393666===_0x1e7b43)break;else _0x5c1e14['push'](_0x5c1e14['shift']());}catch(_0x3bb067){_0x5c1e14['push'](_0x5c1e14['shift']());}}}(_0x3fde,0x210ac));import{Plugin as _0x5c8d73}from'ckeditor5/src/core.js';export default class Nt extends _0x5c8d73{[_0x5b948a(0x86)](){const _0x42e13b=_0x5b948a,_0x5ca07f=this[_0x42e13b(0x81)],_0x51355f=_0x5ca07f[_0x42e13b(0x7c)][_0x42e13b(0x89)](_0x42e13b(0x8a));_0x5ca07f[_0x42e13b(0x7c)][_0x42e13b(0x8c)](_0x42e13b(0x87))&&(_0x51355f[_0x42e13b(0x7d)](_0x42e13b(0x85)),_0x51355f[_0x42e13b(0x7d)](_0x42e13b(0x7f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49e0(_0x18a86a,_0x55a900){const _0x552b01=_0x552b();return _0x49e0=function(_0x49e0b8,_0x2fd347){_0x49e0b8=_0x49e0b8-0x138;let _0x8bf049=_0x552b01[_0x49e0b8];return _0x8bf049;},_0x49e0(_0x18a86a,_0x55a900);}(function(_0x998134,_0x23f0f5){const _0x20b2b6=_0x49e0,_0x369c12=_0x998134();while(!![]){try{const _0x5435fa=parseInt(_0x20b2b6(0x15d))/0x1*(-parseInt(_0x20b2b6(0x160))/0x2)+-parseInt(_0x20b2b6(0x15f))/0x3+-parseInt(_0x20b2b6(0x159))/0x4*(-parseInt(_0x20b2b6(0x14a))/0x5)+-parseInt(_0x20b2b6(0x158))/0x6+-parseInt(_0x20b2b6(0x13d))/0x7+-parseInt(_0x20b2b6(0x149))/0x8*(-parseInt(_0x20b2b6(0x157))/0x9)+parseInt(_0x20b2b6(0x167))/0xa*(parseInt(_0x20b2b6(0x150))/0xb);if(_0x5435fa===_0x23f0f5)break;else _0x369c12['push'](_0x369c12['shift']());}catch(_0x1baad6){_0x369c12['push'](_0x369c12['shift']());}}}(_0x552b,0x779bf));function _0x552b(){const _0x1c0dd6=['createUIElement','addHighlight','test','model','markerRange','ck-suggestion-marker-','schema','hasAttribute','includes','119624xMQcLb','108725hMfKbk','createRangeOn','isAtEnd','isLimit','previousPosition','item','215963rrhdrA','bindElementToMarker','parent','markerName','ck-suggestion-marker--active','writer','get','63gmPeuM','2606814WjfbhO','176XeJmIj','toViewPosition','span','nextSibling','109389vNtenu','toViewElement','1085040EjPfgB','16Cunvbs','getItems','elementEnd','insert','activeMarkers','consumable','addClass','1030AbiZGG','getCustomProperty','isBlock','getWalker','push','plugins','TrackChangesEditing','type','name','isContent','6457290MSpppD','mapper','start'];_0x552b=function(){return _0x1c0dd6;};return _0x552b();}export function getRangesWithAttribute(_0x3f1be2,_0x3ad84e,_0x78ec4b){const _0x26442f=_0x49e0,_0x25d7c2=[];for(const _0x4b2f6f of _0x3ad84e[_0x26442f(0x161)]())_0x4b2f6f[_0x26442f(0x147)](_0x3f1be2)&&_0x25d7c2[_0x26442f(0x16b)](_0x78ec4b[_0x26442f(0x14b)](_0x4b2f6f));return _0x25d7c2;}export function downcastSplitMergeMarker(_0x4c05d9,_0x1248c4,{showActiveMarker:_0x5c27ea=!0x0}={}){const _0x243f77=_0x49e0,_0x3c3cc5=_0x4c05d9[_0x243f77(0x138)][_0x243f77(0x156)](_0x243f77(0x139));return(_0x64e9a5,_0x5930fd,_0x1dd72a)=>{const _0x39b616=_0x243f77;if(!_0x1dd72a[_0x39b616(0x165)][_0x39b616(0x142)](_0x5930fd[_0x39b616(0x144)],_0x64e9a5[_0x39b616(0x13b)]))return;const _0x40e128=_0x5930fd[_0x39b616(0x144)][_0x39b616(0x16a)](),_0x4e0340=_0x5930fd[_0x39b616(0x144)][_0x39b616(0x13f)],_0x4721aa=_0x4c05d9[_0x39b616(0x143)][_0x39b616(0x146)];let _0x3b2edc=null,_0x14246f=null,_0x1207e3=!0x1,_0x14440f=!0x1;for(const _0x368b82 of _0x40e128){const _0x22785f=_0x368b82[_0x39b616(0x14f)];_0x1207e3=_0x1207e3||_0x4721aa[_0x39b616(0x13c)](_0x22785f);const _0x5b1a14=_0x1dd72a[_0x39b616(0x13e)][_0x39b616(0x15e)](_0x22785f);if(_0x5b1a14&&_0x5b1a14[_0x39b616(0x168)](_0x39b616(0x141)))return;_0x39b616(0x162)==_0x368b82[_0x39b616(0x13a)]&&(_0x4721aa[_0x39b616(0x169)](_0x22785f)&&!_0x4721aa[_0x39b616(0x14d)](_0x22785f)&&(_0x22785f[_0x39b616(0x15c)]||_0x4e0340[_0x39b616(0x14c)]?_0x3b2edc&&_0x3b2edc[_0x39b616(0x152)]==_0x22785f||(_0x3b2edc=_0x22785f,_0x51d9fc(_0x368b82[_0x39b616(0x14e)]),_0x14440f=!0x0):_0x14246f=_0x14246f||_0x368b82[_0x39b616(0x14e)]));}function _0x51d9fc(_0x166f4a){const _0xc9bc66=_0x39b616,_0x277757=_0x1dd72a[_0xc9bc66(0x155)][_0xc9bc66(0x140)](_0xc9bc66(0x15b),{'class':_0xc9bc66(0x145)+_0x1248c4}),_0x1370a1=_0x1dd72a[_0xc9bc66(0x13e)][_0xc9bc66(0x15a)](_0x166f4a);_0x5c27ea&&_0x3c3cc5[_0xc9bc66(0x164)][_0xc9bc66(0x148)](_0x5930fd[_0xc9bc66(0x153)])&&_0x1dd72a[_0xc9bc66(0x155)][_0xc9bc66(0x166)](_0xc9bc66(0x154),_0x277757),_0x1dd72a[_0xc9bc66(0x155)][_0xc9bc66(0x163)](_0x1370a1,_0x277757),_0x1dd72a[_0xc9bc66(0x13e)][_0xc9bc66(0x151)](_0x277757,_0x5930fd[_0xc9bc66(0x153)]);}_0x1207e3||_0x14440f||!_0x14246f||_0x51d9fc(_0x14246f);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x9308f4=_0x4839;(function(_0x1a05cf,_0x349edb){const _0x3308e2=_0x4839,_0x5693c5=_0x1a05cf();while(!![]){try{const _0xc7db01=-parseInt(_0x3308e2(0x174))/0x1*(-parseInt(_0x3308e2(0x18e))/0x2)+parseInt(_0x3308e2(0x181))/0x3+parseInt(_0x3308e2(0x160))/0x4*(-parseInt(_0x3308e2(0x157))/0x5)+parseInt(_0x3308e2(0x17b))/0x6*(parseInt(_0x3308e2(0x154))/0x7)+-parseInt(_0x3308e2(0x16d))/0x8+-parseInt(_0x3308e2(0x172))/0x9+parseInt(_0x3308e2(0x156))/0xa;if(_0xc7db01===_0x349edb)break;else _0x5693c5['push'](_0x5693c5['shift']());}catch(_0x475444){_0x5693c5['push'](_0x5693c5['shift']());}}}(_0x29c1,0x28d6e));function _0x4839(_0x3e8b4d,_0x46e234){const _0x29c11b=_0x29c1();return _0x4839=function(_0x4839c8,_0x5c82d1){_0x4839c8=_0x4839c8-0x14a;let _0x30d2bc=_0x29c11b[_0x4839c8];return _0x30d2bc;},_0x4839(_0x3e8b4d,_0x46e234);}function _0x29c1(){const _0x209a4a=['4UOIvNI','getMarkers','removeAttribute','getFirstMarker','length','getItems','onAttributesChange','removeMarkers','getRanges','push','isMultiRange','_onDiscard','map','50008gKUole','size','commentThread','addMarker','end','2388438OljoCP','getMultiRangeId','45507fDiDQS','subType','split','delete','data','_onAttributesChange','change','32118DGRCIQ','type','getContainedElement','addMarkerName','addRange','isIntersecting','652044hVdJAj','getMarkerNames','discard','authoredAt','nodeAfter','from','creator','_markerNames','setAttribute','nodeBefore','get','set','isIntersectingWithRange','2cvnTLz','add','onDiscard','clear','next','createdAt','getFirstRange','filter','_onAccept','decorate','author','markers','getRange','previous','toJSON','getAllAdjacentSuggestions','suggestion:','reduce','_model','isInContent','attributes','isExternal','_isDataLoaded','140wDCAbX','removeMarker','2800690gYVKWS','1055365HvfYyc','accept','substr','hasComments','head','_saved','onAccept','start','@external'];_0x29c1=function(){return _0x209a4a;};return _0x29c1();}import{Element as _0x3f3eaf}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x36e5fe,uid as _0x4aab33}from'ckeditor5/src/utils.js';import{cloneDeep as _0xaf6a82,isEqual as _0xc5482c,set as _0x4f62e8,unset as _0x3be5da}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36e5fe(){constructor(_0x46d4a,_0x17663c){const _0x496003=_0x4839;super(),this[_0x496003(0x153)]=!0x1,this['id']=_0x17663c['id'],this[_0x496003(0x17c)]=_0x17663c[_0x496003(0x17c)],this[_0x496003(0x175)]=_0x17663c[_0x496003(0x175)]||null,this[_0x496003(0x198)]=_0x17663c[_0x496003(0x198)],this[_0x496003(0x187)]=_0x17663c[_0x496003(0x187)]||_0x17663c[_0x496003(0x198)],this[_0x496003(0x152)]=Boolean(_0x17663c[_0x496003(0x151)]&&_0x17663c[_0x496003(0x151)][_0x496003(0x15f)]),this[_0x496003(0x178)]=null,this[_0x496003(0x14f)]=_0x46d4a,this[_0x496003(0x196)]=_0x17663c[_0x496003(0x15d)],this[_0x496003(0x16b)]=_0x17663c[_0x496003(0x190)],this[_0x496003(0x179)]=_0x17663c[_0x496003(0x166)],this[_0x496003(0x188)]=new Set(),this[_0x496003(0x193)]=null,this[_0x496003(0x18c)](_0x496003(0x184),null),this[_0x496003(0x18c)](_0x496003(0x151),_0x17663c[_0x496003(0x151)]||{}),this[_0x496003(0x18c)](_0x496003(0x14a),null),this[_0x496003(0x18c)](_0x496003(0x192),null),this[_0x496003(0x18c)](_0x496003(0x16f),null),this[_0x496003(0x18c)](_0x496003(0x15c),!0x1),this[_0x496003(0x197)](_0x496003(0x158)),this[_0x496003(0x197)](_0x496003(0x183));}get[_0x9308f4(0x15b)](){const _0x4d7d25=_0x9308f4;let _0x4d998b=this;for(;_0x4d998b[_0x4d7d25(0x14a)];)_0x4d998b=_0x4d998b[_0x4d7d25(0x14a)];return _0x4d998b;}get[_0x9308f4(0x15a)](){const _0x2faedd=_0x9308f4;return!!this[_0x2faedd(0x16f)]&&this[_0x2faedd(0x16f)][_0x2faedd(0x164)]>0x0;}get[_0x9308f4(0x16a)](){const _0x5cd0ff=_0x9308f4;if(0x0==this[_0x5cd0ff(0x188)][_0x5cd0ff(0x16e)])return!0x1;return 0x6==Array[_0x5cd0ff(0x186)](this[_0x5cd0ff(0x188)])[0x0][_0x5cd0ff(0x176)](':')[_0x5cd0ff(0x164)];}get[_0x9308f4(0x150)](){const _0x5407c3=_0x9308f4;return null!==this[_0x5407c3(0x163)]();}[_0x9308f4(0x17e)](_0x231588){const _0x5b339e=_0x9308f4;this[_0x5b339e(0x188)][_0x5b339e(0x18f)](_0x231588);}[_0x9308f4(0x182)](){const _0x3e6d40=_0x9308f4;return Array[_0x3e6d40(0x186)](this[_0x3e6d40(0x188)]);}[_0x9308f4(0x161)](){const _0x1bf282=_0x9308f4;return this[_0x1bf282(0x182)]()[_0x1bf282(0x16c)](_0x4c0e6e=>this[_0x1bf282(0x14f)][_0x1bf282(0x199)][_0x1bf282(0x18b)](_0x4c0e6e))[_0x1bf282(0x195)](_0x10b656=>_0x10b656);}[_0x9308f4(0x163)](){const _0x1e84ff=_0x9308f4;return this[_0x1e84ff(0x161)]()[0x0]||null;}[_0x9308f4(0x167)](){const _0x28f844=_0x9308f4;this[_0x28f844(0x14f)][_0x28f844(0x17a)](_0x5b25a2=>{const _0x300114=_0x28f844;for(const _0x3ce577 of this[_0x300114(0x161)]())_0x5b25a2[_0x300114(0x155)](_0x3ce577);}),this[_0x28f844(0x188)][_0x28f844(0x191)]();}[_0x9308f4(0x155)](_0x5f38f0){const _0x5ef2c0=_0x9308f4;this[_0x5ef2c0(0x14f)][_0x5ef2c0(0x17a)](_0x3f6673=>{const _0x4a6966=_0x5ef2c0;_0x3f6673[_0x4a6966(0x155)](_0x5f38f0);}),this[_0x5ef2c0(0x188)][_0x5ef2c0(0x177)](_0x5f38f0);}[_0x9308f4(0x17f)](_0x2464fc){const _0x3203c9=_0x9308f4,_0x59e06f=_0x3203c9(0x14d)+this[_0x3203c9(0x17c)]+':'+this[_0x3203c9(0x175)]+':'+this['id']+':'+this[_0x3203c9(0x187)]['id']+':'+u[_0x3203c9(0x173)]();this[_0x3203c9(0x17e)](_0x59e06f),this[_0x3203c9(0x14f)][_0x3203c9(0x17a)](_0x2ef8aa=>{const _0x160f77=_0x3203c9;_0x2ef8aa[_0x160f77(0x170)](_0x59e06f,{'range':_0x2464fc,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x9308f4(0x18d)](_0x2ceed0){const _0x35f931=_0x9308f4;for(const _0x311bdf of this[_0x35f931(0x168)]())if(_0x311bdf[_0x35f931(0x180)](_0x2ceed0))return!0x0;return!0x1;}[_0x9308f4(0x168)](){const _0x800580=_0x9308f4;return this[_0x800580(0x161)]()[_0x800580(0x16c)](_0x16c859=>_0x16c859[_0x800580(0x19a)]());}[_0x9308f4(0x165)](){const _0x3ba0d1=_0x9308f4;return this[_0x3ba0d1(0x168)]()[_0x3ba0d1(0x14e)]((_0x3f0418,_0x47ab62)=>[..._0x3f0418,..._0x47ab62[_0x3ba0d1(0x165)]()],[]);}[_0x9308f4(0x194)](){const _0x4c905e=_0x9308f4;var _0x4e13d2;return(null===(_0x4e13d2=this[_0x4c905e(0x163)]())||void 0x0===_0x4e13d2?void 0x0:_0x4e13d2[_0x4c905e(0x19a)]())||null;}[_0x9308f4(0x17d)](){const _0xc43a14=_0x9308f4,_0x55bef7=this[_0xc43a14(0x168)]();if(0x1!=_0x55bef7[_0xc43a14(0x164)])return null;const _0x44959d=_0x55bef7[0x0],_0x22891d=_0x44959d[_0xc43a14(0x15e)][_0xc43a14(0x185)],_0x2aae32=_0x44959d[_0xc43a14(0x171)][_0xc43a14(0x18a)];return _0x22891d instanceof _0x3f3eaf?_0x22891d!=_0x2aae32?null:_0x22891d:null;}[_0x9308f4(0x158)](){const _0x30ecf5=_0x9308f4;this[_0x30ecf5(0x196)](this[_0x30ecf5(0x168)](),this[_0x30ecf5(0x178)],this[_0x30ecf5(0x151)]),this[_0x30ecf5(0x167)]();}[_0x9308f4(0x183)](){const _0x3afd8b=_0x9308f4;this[_0x3afd8b(0x16b)](this[_0x3afd8b(0x168)](),this[_0x3afd8b(0x178)],this[_0x3afd8b(0x151)]),this[_0x3afd8b(0x167)]();}[_0x9308f4(0x14c)](){const _0x58f98e=_0x9308f4,_0x2489d9=[];let _0x56bc9e=this[_0x58f98e(0x15b)];for(;_0x56bc9e;)_0x2489d9[_0x58f98e(0x169)](_0x56bc9e),_0x56bc9e=_0x56bc9e[_0x58f98e(0x192)];return _0x2489d9;}[_0x9308f4(0x189)](_0x4f9eb5,_0x186480){const _0x3cf4bc=_0x9308f4,_0x38676b=_0xaf6a82(this[_0x3cf4bc(0x151)]);_0x4f62e8(_0x38676b,_0x4f9eb5,_0x186480),_0xc5482c(_0x38676b,this[_0x3cf4bc(0x151)])||(this[_0x3cf4bc(0x151)]=_0x38676b,this[_0x3cf4bc(0x179)](_0x38676b));}[_0x9308f4(0x162)](_0x3a4727){const _0x202961=_0x9308f4,_0x4a12e7=_0xaf6a82(this[_0x202961(0x151)]);_0x3be5da(_0x4a12e7,_0x3a4727),_0xc5482c(_0x4a12e7,this[_0x202961(0x151)])||(this[_0x202961(0x151)]=_0x4a12e7,this[_0x202961(0x179)](this[_0x202961(0x151)]));}[_0x9308f4(0x14b)](){const _0x30a2eb=_0x9308f4;return{'id':this['id'],'type':this[_0x30a2eb(0x175)]?this[_0x30a2eb(0x17c)]+':'+this[_0x30a2eb(0x175)]:this[_0x30a2eb(0x17c)],'authorId':this[_0x30a2eb(0x187)]['id'],'createdAt':this[_0x30a2eb(0x193)],'hasComments':this[_0x30a2eb(0x15a)],'data':this[_0x30a2eb(0x178)],'attributes':this[_0x30a2eb(0x151)]};}static[_0x9308f4(0x173)](){const _0xab1232=_0x9308f4;return _0x4aab33()[_0xab1232(0x159)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x141f(_0xb12148,_0x2dfacd){const _0x4d386a=_0x4d38();return _0x141f=function(_0x141f60,_0x3b28ab){_0x141f60=_0x141f60-0x1db;let _0x2b6fec=_0x4d386a[_0x141f60];return _0x2b6fec;},_0x141f(_0xb12148,_0x2dfacd);}const _0x3117f2=_0x141f;(function(_0x367cdd,_0x1603d1){const _0x357f47=_0x141f,_0x4becd7=_0x367cdd();while(!![]){try{const _0x3c8a67=-parseInt(_0x357f47(0x1e6))/0x1+parseInt(_0x357f47(0x222))/0x2+-parseInt(_0x357f47(0x1fd))/0x3*(-parseInt(_0x357f47(0x221))/0x4)+parseInt(_0x357f47(0x1e1))/0x5+-parseInt(_0x357f47(0x20e))/0x6*(-parseInt(_0x357f47(0x22f))/0x7)+-parseInt(_0x357f47(0x1f6))/0x8+parseInt(_0x357f47(0x225))/0x9;if(_0x3c8a67===_0x1603d1)break;else _0x4becd7['push'](_0x4becd7['shift']());}catch(_0x25d5bb){_0x4becd7['push'](_0x4becd7['shift']());}}}(_0x4d38,0xec8fc));import{getTranslation as _0x4246fc}from'./utils/common-translations.js';import{priorities as _0x11177a,insertToPriorityArray as _0x2dc80d}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x526bb6}from'./trackchangesediting.js';export default class f{constructor(_0x311ad6,_0x3db796){const _0xcb1229=_0x141f;this[_0xcb1229(0x205)]=[],this[_0xcb1229(0x20a)]=new Map(),this[_0xcb1229(0x213)]=[],this[_0xcb1229(0x1f9)]=new Map(),this[_0xcb1229(0x238)]=_0x311ad6,this[_0xcb1229(0x1dd)]=_0x3db796;}[_0x3117f2(0x1e8)](_0x266944){const _0x28b894=_0x3117f2,_0x14b27a=[],_0xc70387=new Set(),_0x1d9fb3=new Set();for(let _0x176819=0x0;_0x176819<_0x266944[_0x28b894(0x22e)];_0x176819++){const _0x572467=_0x266944[_0x176819];if(!_0x572467[_0x28b894(0x1ef)])continue;const _0x531953=this[_0x28b894(0x1ea)](_0x572467);if(_0x531953){if(null!=_0x572467[_0x28b894(0x21d)]){if(_0xc70387[_0x28b894(0x237)](_0x572467[_0x28b894(0x21d)]))continue;_0xc70387[_0x28b894(0x22b)](_0x572467[_0x28b894(0x21d)]);}_0x14b27a[_0x28b894(0x236)](_0x531953);}else{if(_0x28b894(0x1ec)!=_0x572467[_0x28b894(0x223)])_0x28b894(0x224)!=_0x572467[_0x28b894(0x223)]&&_0x28b894(0x1e9)!=_0x572467[_0x28b894(0x223)]||this[_0x28b894(0x201)](_0x14b27a,_0x572467,_0x266944[_0x176819+0x1]);else{const _0x48559f=_0x572467[_0x28b894(0x229)][_0x28b894(0x200)];if(_0x1d9fb3[_0x28b894(0x237)](_0x48559f))continue;_0x1d9fb3[_0x28b894(0x22b)](_0x572467[_0x28b894(0x229)][_0x28b894(0x200)]),_0x48559f==_0x526bb6?this[_0x28b894(0x1e2)](_0x14b27a,_0x572467):this[_0x28b894(0x220)](_0x14b27a,_0x572467);}}}return this[_0x28b894(0x1e4)](_0x14b27a);}[_0x3117f2(0x1f5)](_0x2a9e43){const _0x5ad4ce=_0x3117f2;this[_0x5ad4ce(0x205)][_0x5ad4ce(0x236)](_0x2a9e43);}[_0x3117f2(0x20d)](_0x18320b,_0x1ba582,_0x25bd49=_0x11177a[_0x3117f2(0x206)]){const _0x37eb9f=_0x3117f2;_0x37eb9f(0x20c)==typeof _0x18320b?_0x2dc80d(this[_0x37eb9f(0x213)],{'matchingCallback':_0x18320b,'label':_0x1ba582,'priority':_0x25bd49}):this[_0x37eb9f(0x20a)][_0x37eb9f(0x1ff)](_0x18320b,_0x1ba582);}[_0x3117f2(0x233)](_0x4decde,_0xc4a93c){const _0xe4ce55=_0x3117f2;this[_0xe4ce55(0x1f9)][_0xe4ce55(0x1ff)](_0x4decde,_0xc4a93c);}[_0x3117f2(0x227)](_0x335b44,_0x3ff128=0x1){const _0xb0eec2=_0x3117f2;let _0x882639;for(const _0x5aba50 of this[_0xb0eec2(0x213)])if(_0x5aba50[_0xb0eec2(0x218)](_0x335b44)){_0x882639=_0x5aba50[_0xb0eec2(0x1e5)];break;}return _0x882639||(_0x882639=this[_0xb0eec2(0x20a)][_0xb0eec2(0x239)](_0x335b44[_0xb0eec2(0x1df)])),_0x882639?_0x882639(_0x3ff128):0x1!==_0x3ff128?_0x3ff128+'\x20'+_0x335b44[_0xb0eec2(0x1df)]+'s':''+_0x335b44[_0xb0eec2(0x1df)];}[_0x3117f2(0x216)](_0x48d85d,_0x561498){const _0x4702c8=_0x3117f2,_0x349b3e=_0x561498[_0x4702c8(0x1f4)]()[_0x4702c8(0x20b)](),_0x6e2578=_0x4702c8(0x224)==_0x561498[_0x4702c8(0x223)]?_0x4702c8(0x22b):_0x4702c8(0x208);for(const _0x5e13c2 of _0x349b3e){const _0x360b8c=_0x5e13c2[_0x4702c8(0x234)],_0x512829=_0x48d85d[_0x48d85d[_0x4702c8(0x22e)]-0x1];if(_0x360b8c['is'](_0x4702c8(0x219)))_0x512829&&_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))>-0x1&&_0x48d85d[_0x4702c8(0x1f1)](),_0x512829&&_0x4702c8(0x231)==_0x512829[_0x4702c8(0x223)]?_0x512829[_0x6e2578]+=_0x360b8c[_0x4702c8(0x229)]:_0x48d85d[_0x4702c8(0x236)]({'type':_0x4702c8(0x231),'add':_0x4702c8(0x22b)==_0x6e2578?_0x360b8c[_0x4702c8(0x229)]:'','remove':_0x4702c8(0x208)==_0x6e2578?_0x360b8c[_0x4702c8(0x229)]:''});else{if(this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x360b8c)){const _0xa7091d=_0x360b8c;if(_0x512829&&_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))>-0x1&&_0x48d85d[_0x4702c8(0x1f1)](),_0x4702c8(0x1f3)==_0x5e13c2[_0x4702c8(0x223)])continue;_0x512829&&_0x512829[_0x4702c8(0x223)]==_0x6e2578+_0x4702c8(0x211)&&_0x512829[_0x4702c8(0x1fe)][_0x4702c8(0x1df)]==_0xa7091d[_0x4702c8(0x1df)]?_0x512829[_0x4702c8(0x1e3)]++:_0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x211),'element':_0xa7091d,'quantity':0x1}),_0x349b3e[_0x4702c8(0x217)](_0x23d630=>!(_0x4702c8(0x1f3)==_0x23d630[_0x4702c8(0x223)]&&_0x23d630[_0x4702c8(0x234)]==_0x360b8c));}else{if(this[_0x4702c8(0x238)][_0x4702c8(0x22a)](_0x360b8c,_0x4702c8(0x22c))||_0x360b8c['is'](_0x4702c8(0x1fe),_0x4702c8(0x21e))){const _0x4cb2a1=_0x360b8c;if(_0x4702c8(0x22b)==_0x6e2578&&_0x4702c8(0x203)==_0x5e13c2[_0x4702c8(0x223)]||_0x4702c8(0x208)==_0x6e2578&&_0x4702c8(0x1f3)==_0x5e13c2[_0x4702c8(0x223)])continue;if(_0x512829&&-0x1==_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))){_0x4702c8(0x231)==_0x512829[_0x4702c8(0x223)]&&(_0x512829[_0x6e2578]+='\x0a');continue;}let _0xc42fe2;if(_0xc42fe2=_0x4702c8(0x22b)==_0x6e2578?_0x4cb2a1[_0x4702c8(0x1ed)]&&!this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x4cb2a1[_0x4702c8(0x1ed)])?_0x4cb2a1[_0x4702c8(0x1ed)]:null:_0x4cb2a1[_0x4702c8(0x1e7)]&&!this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x4cb2a1[_0x4702c8(0x1e7)])?_0x4cb2a1[_0x4702c8(0x1e7)]:null,_0x4cb2a1[_0x4702c8(0x230)]||_0xc42fe2&&_0xc42fe2[_0x4702c8(0x230)]){const _0x3760c9=_0xc42fe2&&_0xc42fe2[_0x4702c8(0x230)]?_0xc42fe2:_0x4cb2a1;_0x512829&&_0x512829[_0x4702c8(0x223)]==_0x6e2578+_0x4702c8(0x22d)&&_0x512829[_0x4702c8(0x1fe)][_0x4702c8(0x1df)]==_0x3760c9[_0x4702c8(0x1df)]?_0x512829[_0x4702c8(0x1e3)]++:_0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x22d),'element':_0x3760c9,'quantity':0x1});}else _0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x1eb),'element':_0x4cb2a1});}}}}}[_0x3117f2(0x1e4)](_0x87f5a){const _0x179e02=_0x3117f2,_0x330857=this[_0x179e02(0x1dd)],_0x30a086=[],_0x2d13dd=[],_0x193769=[];for(const _0x1b115a of _0x87f5a)switch(_0x1b115a[_0x179e02(0x223)]){case _0x179e02(0x231):if(_0x1b115a[_0x179e02(0x22b)]=_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x1fc)](/(\S)\u000A+(\S)/g,_0x179e02(0x204))[_0x179e02(0x1fc)](/\u000A/g,''),_0x1b115a[_0x179e02(0x208)]=_0x1b115a[_0x179e02(0x208)][_0x179e02(0x1fc)](/(\S)\u000A+(\S)/g,_0x179e02(0x204))[_0x179e02(0x1fc)](/\u000A/g,''),''!=_0x1b115a[_0x179e02(0x22b)]&&''!=_0x1b115a[_0x179e02(0x208)]){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fc),'content':_0x4246fc(_0x330857,_0x179e02(0x1de),['\x22'+_0x1b115a[_0x179e02(0x208)]+'\x22','\x22'+_0x1b115a[_0x179e02(0x22b)]+'\x22'])});continue;}if(null!=_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x214)](/^ +$/)){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),_0x4246fc(_0x330857,_0x179e02(0x1db),_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x22e)]))});continue;}if(null!=_0x1b115a[_0x179e02(0x208)][_0x179e02(0x214)](/^ +$/)){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),_0x4246fc(_0x330857,_0x179e02(0x1db),_0x1b115a[_0x179e02(0x208)][_0x179e02(0x22e)]))});continue;}if(''!=_0x1b115a[_0x179e02(0x22b)]){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),'\x22'+_0x1b115a[_0x179e02(0x22b)]+'\x22')});continue;}_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),'\x22'+_0x1b115a[_0x179e02(0x208)]+'\x22')});continue;case _0x179e02(0x21b):case _0x179e02(0x1e0):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x202):case _0x179e02(0x210):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x20f):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x1f0),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x1fb):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x207),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x215):_0x2d13dd[_0x179e02(0x236)](_0x1b115a[_0x179e02(0x200)]);continue;case _0x179e02(0x226):_0x193769[_0x179e02(0x236)](_0x1b115a[_0x179e02(0x200)]);continue;default:_0x30a086[_0x179e02(0x236)](_0x1b115a);}if(_0x2d13dd[_0x179e02(0x22e)]){const _0x53fb09=_0x2d13dd[_0x179e02(0x212)](_0x3f48fb=>this[_0x179e02(0x1f9)][_0x179e02(0x237)](_0x3f48fb)?this[_0x179e02(0x1f9)][_0x179e02(0x239)](_0x3f48fb):_0x3f48fb)[_0x179e02(0x21c)](',\x20');_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fa),'content':_0x4246fc(this[_0x179e02(0x1dd)],_0x179e02(0x1dc),_0x53fb09)});}if(_0x193769[_0x179e02(0x22e)]){const _0x5df723=_0x193769[_0x179e02(0x212)](_0x534c83=>this[_0x179e02(0x1f9)][_0x179e02(0x237)](_0x534c83)?this[_0x179e02(0x1f9)][_0x179e02(0x239)](_0x534c83):_0x534c83)[_0x179e02(0x21c)](',\x20');_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fa),'content':_0x4246fc(this[_0x179e02(0x1dd)],_0x179e02(0x1f8),_0x5df723)});}return _0x30a086;}[_0x3117f2(0x1ea)](_0x1437fb){const _0x1ef762=_0x3117f2;for(const _0x204a23 of this[_0x1ef762(0x205)]){const _0x2d0a89=_0x204a23(_0x1437fb);if(_0x2d0a89&&_0x1ef762(0x223)in _0x2d0a89)return _0x2d0a89;}}[_0x3117f2(0x220)](_0x2c410e,_0x2f8813){const _0x1e4242=_0x3117f2,_0x3bdc46=_0x2f8813[_0x1e4242(0x229)],_0x2d04ff=void 0x0===_0x3bdc46[_0x1e4242(0x228)]?_0x1e4242(0x226):_0x1e4242(0x215);_0x2c410e[_0x1e4242(0x236)]({'type':_0x2d04ff,'key':_0x3bdc46[_0x1e4242(0x200)]});}[_0x3117f2(0x1e2)](_0x30ef9f,_0x256126){const _0x424183=_0x3117f2;_0x30ef9f[_0x424183(0x236)]({'type':_0x424183(0x1fa),'content':_0x4246fc(this[_0x424183(0x1dd)],_0x424183(0x209),this[_0x424183(0x227)](_0x256126[_0x424183(0x1f4)]()[_0x424183(0x1f7)][_0x424183(0x1ee)],0x1))});}[_0x3117f2(0x201)](_0x3a20dc,_0x3885f2,_0x2d18d9){const _0x498cd6=_0x3117f2;if(this[_0x498cd6(0x216)](_0x3a20dc,_0x3885f2),_0x2d18d9&&_0x2d18d9[_0x498cd6(0x1f4)]()&&!_0x3885f2[_0x498cd6(0x1f4)]()[_0x498cd6(0x235)][_0x498cd6(0x23a)](_0x2d18d9[_0x498cd6(0x1f4)]()[_0x498cd6(0x1f7)])){const _0x1c7d24=_0x3a20dc[_0x3a20dc[_0x498cd6(0x22e)]-0x1],_0x426721=_0x498cd6(0x224)==_0x3885f2[_0x498cd6(0x223)]?_0x498cd6(0x22b):_0x498cd6(0x208);_0x1c7d24&&_0x498cd6(0x231)==_0x1c7d24[_0x498cd6(0x223)]&&(_0x1c7d24[_0x426721]+='\x0a');}}}function _0x4d38(){const _0x2c2ba3=['8766330sWnySb','addContainer','removeObject','Object','map','_itemLabelsCallbacks','match','addFormat','_addDescriptionItems','skip','matchingCallback','$textProxy','indexOf','addEmptyContainer','join','subType','softBreak','*Insert:*\x20%0','_handleAttributeSuggestionDescription','19984SyVywN','2108316hYQtvC','type','insertion','83682QEbxBh','removeFormat','getItemLabel','newValue','data','checkChild','add','$text','EmptyContainer','length','7HSqoGm','isEmpty','text','*Remove:*\x20%0','registerAttributeLabel','item','end','push','has','_schema','get','isEqual','ELEMENT_SPACE','*Set\x20format:*\x20%0','_locale','REPLACE_TEXT','name','addObject','731475slhCXc','_handleRenameSuggestionDescription','quantity','_resolveDescriptionItems','label','985973pIHQqk','previousSibling','getDescriptions','deletion','_handleCustomCallbackDescription','Container','attribute','nextSibling','nodeAfter','isInContent','*Split:*\x20%0','pop','isObject','elementEnd','getFirstRange','registerDescriptionCallback','15279368BLKAxD','start','*Remove\x20format:*\x20%0','_attributeLabels','format','removeContainer','replace','717vauVHR','element','set','key','_handleInsertRemoveSuggestionDescription','removeEmptyContainer','elementStart','$1\x20$2','_customCallbacks','normal','*Merge:*\x20%0','remove','*Change\x20to:*\x20%0','_itemLabels','getWalker','function','registerElementLabel'];_0x4d38=function(){return _0x2c2ba3;};return _0x4d38();}
|
|
23
|
+
const _0x445ed5=_0x1d7a;(function(_0x33628f,_0x135cd0){const _0x5b6b08=_0x1d7a,_0x58c123=_0x33628f();while(!![]){try{const _0x3a9dee=-parseInt(_0x5b6b08(0x118))/0x1*(-parseInt(_0x5b6b08(0x14b))/0x2)+-parseInt(_0x5b6b08(0x148))/0x3+-parseInt(_0x5b6b08(0x140))/0x4+parseInt(_0x5b6b08(0x13d))/0x5*(-parseInt(_0x5b6b08(0x129))/0x6)+-parseInt(_0x5b6b08(0x130))/0x7+parseInt(_0x5b6b08(0x14f))/0x8+parseInt(_0x5b6b08(0x10c))/0x9;if(_0x3a9dee===_0x135cd0)break;else _0x58c123['push'](_0x58c123['shift']());}catch(_0x376c31){_0x58c123['push'](_0x58c123['shift']());}}}(_0x2a7c,0xed906));function _0x2a7c(){const _0x11bb3a=['getItemLabel','_handleInsertRemoveSuggestionDescription','ELEMENT_SPACE','set','elementEnd','9RajzQD','element','insertion','nodeAfter','_attributeLabels','nextSibling','previousSibling','name','addObject','add','*Remove\x20format:*\x20%0','checkChild','data','isEmpty','isEqual','key','match','30YfhOfF','Object','getDescriptions','normal','isObject','removeFormat','*Change\x20to:*\x20%0','8203440cwyEQa','format','_handleCustomCallbackDescription','REPLACE_TEXT','getFirstRange','_schema','_itemLabelsCallbacks','get','*Insert:*\x20%0','pop','type','replace','start','1549445FhsYOC','_locale','skip','4739128zNYcFA','text','removeEmptyContainer','*Set\x20format:*\x20%0','*Merge:*\x20%0','matchingCallback','join','_customCallbacks','834126sXNklJ','has','label','22218mShGHH','push','Container','_itemLabels','885984AgdqNG','_handleAttributeSuggestionDescription','addFormat','softBreak','removeObject','subType','_handleRenameSuggestionDescription','*Remove:*\x20%0','EmptyContainer','length','registerElementLabel','_resolveDescriptionItems','end','elementStart','item','remove','$textProxy','$1\x20$2','addContainer','getWalker','$text','newValue','removeContainer','_addDescriptionItems','function','isInContent','map','*Split:*\x20%0','registerDescriptionCallback','44518698SGfXnh','attribute','addEmptyContainer','indexOf','deletion','registerAttributeLabel','quantity'];_0x2a7c=function(){return _0x11bb3a;};return _0x2a7c();}function _0x1d7a(_0x137131,_0x9b1bf0){const _0x2a7cdf=_0x2a7c();return _0x1d7a=function(_0x1d7a58,_0x389e4a){_0x1d7a58=_0x1d7a58-0xfb;let _0x309c85=_0x2a7cdf[_0x1d7a58];return _0x309c85;},_0x1d7a(_0x137131,_0x9b1bf0);}import{getTranslation as _0x27ca31}from'./utils/common-translations.js';import{priorities as _0x2b53cb,insertToPriorityArray as _0x1507fe}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xeac397}from'./trackchangesediting.js';export default class f{constructor(_0x5ca36e,_0x2d2814){const _0x3a4b2b=_0x1d7a;this[_0x3a4b2b(0x147)]=[],this[_0x3a4b2b(0x14e)]=new Map(),this[_0x3a4b2b(0x136)]=[],this[_0x3a4b2b(0x11c)]=new Map(),this[_0x3a4b2b(0x135)]=_0x5ca36e,this[_0x3a4b2b(0x13e)]=_0x2d2814;}[_0x445ed5(0x12b)](_0x1821f2){const _0x84b3ad=_0x445ed5,_0x431cf5=[],_0x1ef247=new Set(),_0x146e06=new Set();for(let _0x5aaaaf=0x0;_0x5aaaaf<_0x1821f2[_0x84b3ad(0x158)];_0x5aaaaf++){const _0x46155c=_0x1821f2[_0x5aaaaf];if(!_0x46155c[_0x84b3ad(0x108)])continue;const _0x22a99b=this[_0x84b3ad(0x132)](_0x46155c);if(_0x22a99b){if(null!=_0x46155c[_0x84b3ad(0x154)]){if(_0x1ef247[_0x84b3ad(0x149)](_0x46155c[_0x84b3ad(0x154)]))continue;_0x1ef247[_0x84b3ad(0x121)](_0x46155c[_0x84b3ad(0x154)]);}_0x431cf5[_0x84b3ad(0x14c)](_0x22a99b);}else{if(_0x84b3ad(0x10d)!=_0x46155c[_0x84b3ad(0x13a)])_0x84b3ad(0x11a)!=_0x46155c[_0x84b3ad(0x13a)]&&_0x84b3ad(0x110)!=_0x46155c[_0x84b3ad(0x13a)]||this[_0x84b3ad(0x114)](_0x431cf5,_0x46155c,_0x1821f2[_0x5aaaaf+0x1]);else{const _0x1e3cc2=_0x46155c[_0x84b3ad(0x124)][_0x84b3ad(0x127)];if(_0x146e06[_0x84b3ad(0x149)](_0x1e3cc2))continue;_0x146e06[_0x84b3ad(0x121)](_0x46155c[_0x84b3ad(0x124)][_0x84b3ad(0x127)]),_0x1e3cc2==_0xeac397?this[_0x84b3ad(0x155)](_0x431cf5,_0x46155c):this[_0x84b3ad(0x150)](_0x431cf5,_0x46155c);}}}return this[_0x84b3ad(0x15a)](_0x431cf5);}[_0x445ed5(0x10b)](_0x1d5e62){const _0x17e380=_0x445ed5;this[_0x17e380(0x147)][_0x17e380(0x14c)](_0x1d5e62);}[_0x445ed5(0x159)](_0x541edb,_0x519ca2,_0x9cdaf4=_0x2b53cb[_0x445ed5(0x12c)]){const _0x557d8b=_0x445ed5;_0x557d8b(0x107)==typeof _0x541edb?_0x1507fe(this[_0x557d8b(0x136)],{'matchingCallback':_0x541edb,'label':_0x519ca2,'priority':_0x9cdaf4}):this[_0x557d8b(0x14e)][_0x557d8b(0x116)](_0x541edb,_0x519ca2);}[_0x445ed5(0x111)](_0x13f538,_0x56c096){const _0x4dcc95=_0x445ed5;this[_0x4dcc95(0x11c)][_0x4dcc95(0x116)](_0x13f538,_0x56c096);}[_0x445ed5(0x113)](_0x11c3a4,_0x409844=0x1){const _0x146cb3=_0x445ed5;let _0x3c4c0f;for(const _0x35ebe2 of this[_0x146cb3(0x136)])if(_0x35ebe2[_0x146cb3(0x145)](_0x11c3a4)){_0x3c4c0f=_0x35ebe2[_0x146cb3(0x14a)];break;}return _0x3c4c0f||(_0x3c4c0f=this[_0x146cb3(0x14e)][_0x146cb3(0x137)](_0x11c3a4[_0x146cb3(0x11f)])),_0x3c4c0f?_0x3c4c0f(_0x409844):0x1!==_0x409844?_0x409844+'\x20'+_0x11c3a4[_0x146cb3(0x11f)]+'s':''+_0x11c3a4[_0x146cb3(0x11f)];}[_0x445ed5(0x106)](_0x457972,_0x3dcca6){const _0xb3e9f1=_0x445ed5,_0x47a223=_0x3dcca6[_0xb3e9f1(0x134)]()[_0xb3e9f1(0x102)](),_0x14a16d=_0xb3e9f1(0x11a)==_0x3dcca6[_0xb3e9f1(0x13a)]?_0xb3e9f1(0x121):_0xb3e9f1(0xfe);for(const _0x52b74f of _0x47a223){const _0x257e23=_0x52b74f[_0xb3e9f1(0xfd)],_0x22af0e=_0x457972[_0x457972[_0xb3e9f1(0x158)]-0x1];if(_0x257e23['is'](_0xb3e9f1(0xff)))_0x22af0e&&_0x22af0e[_0xb3e9f1(0x13a)][_0xb3e9f1(0x10f)](_0xb3e9f1(0x14d))>-0x1&&_0x457972[_0xb3e9f1(0x139)](),_0x22af0e&&_0xb3e9f1(0x141)==_0x22af0e[_0xb3e9f1(0x13a)]?_0x22af0e[_0x14a16d]+=_0x257e23[_0xb3e9f1(0x124)]:_0x457972[_0xb3e9f1(0x14c)]({'type':_0xb3e9f1(0x141),'add':_0xb3e9f1(0x121)==_0x14a16d?_0x257e23[_0xb3e9f1(0x124)]:'','remove':_0xb3e9f1(0xfe)==_0x14a16d?_0x257e23[_0xb3e9f1(0x124)]:''});else{if(this[_0xb3e9f1(0x135)][_0xb3e9f1(0x12d)](_0x257e23)){const _0x2a6e16=_0x257e23;if(_0x22af0e&&_0x22af0e[_0xb3e9f1(0x13a)][_0xb3e9f1(0x10f)](_0xb3e9f1(0x14d))>-0x1&&_0x457972[_0xb3e9f1(0x139)](),_0xb3e9f1(0x117)==_0x52b74f[_0xb3e9f1(0x13a)])continue;_0x22af0e&&_0x22af0e[_0xb3e9f1(0x13a)]==_0x14a16d+_0xb3e9f1(0x12a)&&_0x22af0e[_0xb3e9f1(0x119)][_0xb3e9f1(0x11f)]==_0x2a6e16[_0xb3e9f1(0x11f)]?_0x22af0e[_0xb3e9f1(0x112)]++:_0x457972[_0xb3e9f1(0x14c)]({'type':_0x14a16d+_0xb3e9f1(0x12a),'element':_0x2a6e16,'quantity':0x1}),_0x47a223[_0xb3e9f1(0x13f)](_0x4e33ea=>!(_0xb3e9f1(0x117)==_0x4e33ea[_0xb3e9f1(0x13a)]&&_0x4e33ea[_0xb3e9f1(0xfd)]==_0x257e23));}else{if(this[_0xb3e9f1(0x135)][_0xb3e9f1(0x123)](_0x257e23,_0xb3e9f1(0x103))||_0x257e23['is'](_0xb3e9f1(0x119),_0xb3e9f1(0x152))){const _0x3f71bf=_0x257e23;if(_0xb3e9f1(0x121)==_0x14a16d&&_0xb3e9f1(0xfc)==_0x52b74f[_0xb3e9f1(0x13a)]||_0xb3e9f1(0xfe)==_0x14a16d&&_0xb3e9f1(0x117)==_0x52b74f[_0xb3e9f1(0x13a)])continue;if(_0x22af0e&&-0x1==_0x22af0e[_0xb3e9f1(0x13a)][_0xb3e9f1(0x10f)](_0xb3e9f1(0x14d))){_0xb3e9f1(0x141)==_0x22af0e[_0xb3e9f1(0x13a)]&&(_0x22af0e[_0x14a16d]+='\x0a');continue;}let _0x1feeac;if(_0x1feeac=_0xb3e9f1(0x121)==_0x14a16d?_0x3f71bf[_0xb3e9f1(0x11d)]&&!this[_0xb3e9f1(0x135)][_0xb3e9f1(0x12d)](_0x3f71bf[_0xb3e9f1(0x11d)])?_0x3f71bf[_0xb3e9f1(0x11d)]:null:_0x3f71bf[_0xb3e9f1(0x11e)]&&!this[_0xb3e9f1(0x135)][_0xb3e9f1(0x12d)](_0x3f71bf[_0xb3e9f1(0x11e)])?_0x3f71bf[_0xb3e9f1(0x11e)]:null,_0x3f71bf[_0xb3e9f1(0x125)]||_0x1feeac&&_0x1feeac[_0xb3e9f1(0x125)]){const _0x33fb70=_0x1feeac&&_0x1feeac[_0xb3e9f1(0x125)]?_0x1feeac:_0x3f71bf;_0x22af0e&&_0x22af0e[_0xb3e9f1(0x13a)]==_0x14a16d+_0xb3e9f1(0x157)&&_0x22af0e[_0xb3e9f1(0x119)][_0xb3e9f1(0x11f)]==_0x33fb70[_0xb3e9f1(0x11f)]?_0x22af0e[_0xb3e9f1(0x112)]++:_0x457972[_0xb3e9f1(0x14c)]({'type':_0x14a16d+_0xb3e9f1(0x157),'element':_0x33fb70,'quantity':0x1});}else _0x457972[_0xb3e9f1(0x14c)]({'type':_0x14a16d+_0xb3e9f1(0x14d),'element':_0x3f71bf});}}}}}[_0x445ed5(0x15a)](_0x5de21e){const _0x74d1a4=_0x445ed5,_0x44ffad=this[_0x74d1a4(0x13e)],_0x12e64a=[],_0x1bf69c=[],_0xe84056=[];for(const _0x2d788a of _0x5de21e)switch(_0x2d788a[_0x74d1a4(0x13a)]){case _0x74d1a4(0x141):if(_0x2d788a[_0x74d1a4(0x121)]=_0x2d788a[_0x74d1a4(0x121)][_0x74d1a4(0x13b)](/(\S)\u000A+(\S)/g,_0x74d1a4(0x100))[_0x74d1a4(0x13b)](/\u000A/g,''),_0x2d788a[_0x74d1a4(0xfe)]=_0x2d788a[_0x74d1a4(0xfe)][_0x74d1a4(0x13b)](/(\S)\u000A+(\S)/g,_0x74d1a4(0x100))[_0x74d1a4(0x13b)](/\u000A/g,''),''!=_0x2d788a[_0x74d1a4(0x121)]&&''!=_0x2d788a[_0x74d1a4(0xfe)]){_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x13b),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x133),['\x22'+_0x2d788a[_0x74d1a4(0xfe)]+'\x22','\x22'+_0x2d788a[_0x74d1a4(0x121)]+'\x22'])});continue;}if(null!=_0x2d788a[_0x74d1a4(0x121)][_0x74d1a4(0x128)](/^ +$/)){_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x11a),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x138),_0x27ca31(_0x44ffad,_0x74d1a4(0x115),_0x2d788a[_0x74d1a4(0x121)][_0x74d1a4(0x158)]))});continue;}if(null!=_0x2d788a[_0x74d1a4(0xfe)][_0x74d1a4(0x128)](/^ +$/)){_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x110),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x156),_0x27ca31(_0x44ffad,_0x74d1a4(0x115),_0x2d788a[_0x74d1a4(0xfe)][_0x74d1a4(0x158)]))});continue;}if(''!=_0x2d788a[_0x74d1a4(0x121)]){_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x11a),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x138),'\x22'+_0x2d788a[_0x74d1a4(0x121)]+'\x22')});continue;}_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x110),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x156),'\x22'+_0x2d788a[_0x74d1a4(0xfe)]+'\x22')});continue;case _0x74d1a4(0x10e):case _0x74d1a4(0x120):_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x11a),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x138),this[_0x74d1a4(0x113)](_0x2d788a[_0x74d1a4(0x119)],_0x2d788a[_0x74d1a4(0x112)]))});continue;case _0x74d1a4(0x142):case _0x74d1a4(0x153):_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x110),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x156),this[_0x74d1a4(0x113)](_0x2d788a[_0x74d1a4(0x119)],_0x2d788a[_0x74d1a4(0x112)]))});continue;case _0x74d1a4(0x101):_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x11a),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x10a),this[_0x74d1a4(0x113)](_0x2d788a[_0x74d1a4(0x119)],_0x2d788a[_0x74d1a4(0x112)]))});continue;case _0x74d1a4(0x105):_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x110),'content':_0x27ca31(_0x44ffad,_0x74d1a4(0x144),this[_0x74d1a4(0x113)](_0x2d788a[_0x74d1a4(0x119)],_0x2d788a[_0x74d1a4(0x112)]))});continue;case _0x74d1a4(0x151):_0x1bf69c[_0x74d1a4(0x14c)](_0x2d788a[_0x74d1a4(0x127)]);continue;case _0x74d1a4(0x12e):_0xe84056[_0x74d1a4(0x14c)](_0x2d788a[_0x74d1a4(0x127)]);continue;default:_0x12e64a[_0x74d1a4(0x14c)](_0x2d788a);}if(_0x1bf69c[_0x74d1a4(0x158)]){const _0xc3969e=_0x1bf69c[_0x74d1a4(0x109)](_0x39c6fb=>this[_0x74d1a4(0x11c)][_0x74d1a4(0x149)](_0x39c6fb)?this[_0x74d1a4(0x11c)][_0x74d1a4(0x137)](_0x39c6fb):_0x39c6fb)[_0x74d1a4(0x146)](',\x20');_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x131),'content':_0x27ca31(this[_0x74d1a4(0x13e)],_0x74d1a4(0x143),_0xc3969e)});}if(_0xe84056[_0x74d1a4(0x158)]){const _0x32400e=_0xe84056[_0x74d1a4(0x109)](_0x575086=>this[_0x74d1a4(0x11c)][_0x74d1a4(0x149)](_0x575086)?this[_0x74d1a4(0x11c)][_0x74d1a4(0x137)](_0x575086):_0x575086)[_0x74d1a4(0x146)](',\x20');_0x12e64a[_0x74d1a4(0x14c)]({'type':_0x74d1a4(0x131),'content':_0x27ca31(this[_0x74d1a4(0x13e)],_0x74d1a4(0x122),_0x32400e)});}return _0x12e64a;}[_0x445ed5(0x132)](_0xca1b9a){const _0x188efd=_0x445ed5;for(const _0x3e20e8 of this[_0x188efd(0x147)]){const _0x26f61c=_0x3e20e8(_0xca1b9a);if(_0x26f61c&&_0x188efd(0x13a)in _0x26f61c)return _0x26f61c;}}[_0x445ed5(0x150)](_0x68e350,_0x5abcb8){const _0x27c061=_0x445ed5,_0x5d8016=_0x5abcb8[_0x27c061(0x124)],_0xc99841=void 0x0===_0x5d8016[_0x27c061(0x104)]?_0x27c061(0x12e):_0x27c061(0x151);_0x68e350[_0x27c061(0x14c)]({'type':_0xc99841,'key':_0x5d8016[_0x27c061(0x127)]});}[_0x445ed5(0x155)](_0xc055ae,_0x442dee){const _0x1335e8=_0x445ed5;_0xc055ae[_0x1335e8(0x14c)]({'type':_0x1335e8(0x131),'content':_0x27ca31(this[_0x1335e8(0x13e)],_0x1335e8(0x12f),this[_0x1335e8(0x113)](_0x442dee[_0x1335e8(0x134)]()[_0x1335e8(0x13c)][_0x1335e8(0x11b)],0x1))});}[_0x445ed5(0x114)](_0xad8f5b,_0x383fb5,_0x9c5e60){const _0x4c8924=_0x445ed5;if(this[_0x4c8924(0x106)](_0xad8f5b,_0x383fb5),_0x9c5e60&&_0x9c5e60[_0x4c8924(0x134)]()&&!_0x383fb5[_0x4c8924(0x134)]()[_0x4c8924(0xfb)][_0x4c8924(0x126)](_0x9c5e60[_0x4c8924(0x134)]()[_0x4c8924(0x13c)])){const _0x4a4bb2=_0xad8f5b[_0xad8f5b[_0x4c8924(0x158)]-0x1],_0x1134e2=_0x4c8924(0x11a)==_0x383fb5[_0x4c8924(0x13a)]?_0x4c8924(0x121):_0x4c8924(0xfe);_0x4a4bb2&&_0x4c8924(0x141)==_0x4a4bb2[_0x4c8924(0x13a)]&&(_0x4a4bb2[_0x1134e2]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x4494a7=_0x1cdd;function _0x1cdd(_0x28fdba,_0x55f907){var _0x470efb=_0x470e();return _0x1cdd=function(_0x1cdd82,_0xe6bab){_0x1cdd82=_0x1cdd82-0x11f;var _0x95229=_0x470efb[_0x1cdd82];return _0x95229;},_0x1cdd(_0x28fdba,_0x55f907);}(function(_0x1e1698,_0x490c3c){var _0x1a1d6a=_0x1cdd,_0x56f8a7=_0x1e1698();while(!![]){try{var _0x4723cd=parseInt(_0x1a1d6a(0x12f))/0x1*(parseInt(_0x1a1d6a(0x133))/0x2)+-parseInt(_0x1a1d6a(0x129))/0x3*(-parseInt(_0x1a1d6a(0x121))/0x4)+-parseInt(_0x1a1d6a(0x12e))/0x5*(-parseInt(_0x1a1d6a(0x124))/0x6)+parseInt(_0x1a1d6a(0x12c))/0x7+parseInt(_0x1a1d6a(0x131))/0x8+parseInt(_0x1a1d6a(0x122))/0x9+-parseInt(_0x1a1d6a(0x134))/0xa;if(_0x4723cd===_0x490c3c)break;else _0x56f8a7['push'](_0x56f8a7['shift']());}catch(_0x4f6d41){_0x56f8a7['push'](_0x56f8a7['shift']());}}}(_0x470e,0xc3de8));import{Plugin as _0xfde93}from'ckeditor5/src/core.js';import _0x2458db from'./trackchangesui.js';import _0x3f04d5 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0xfde93{static get[_0x4494a7(0x11f)](){var _0x3a72b7=_0x4494a7;return[_0x3f04d5,_0x2458db,_0x3a72b7(0x12a)];}static get[_0x4494a7(0x12d)](){var _0x558492=_0x4494a7;return _0x558492(0x125);}set[_0x4494a7(0x130)](_0x335ba){var _0x4e6128=_0x4494a7;this[_0x4e6128(0x123)][_0x4e6128(0x127)][_0x4e6128(0x126)](_0x3f04d5)[_0x4e6128(0x130)]=_0x335ba;}get[_0x4494a7(0x130)](){var _0x257082=_0x4494a7;return this[_0x257082(0x123)][_0x257082(0x127)][_0x257082(0x126)](_0x3f04d5)[_0x257082(0x130)];}[_0x4494a7(0x120)](_0x31d6e5){var _0x1fd37a=_0x4494a7;return this[_0x1fd37a(0x123)][_0x1fd37a(0x127)][_0x1fd37a(0x126)](_0x3f04d5)[_0x1fd37a(0x128)](_0x31d6e5);}[_0x4494a7(0x132)]({skipNotAttached:_0x18610b=!0x1,toJSON:_0x27e723=!0x1}={}){var _0xd234c8=_0x4494a7;return this[_0xd234c8(0x123)][_0xd234c8(0x127)][_0xd234c8(0x126)](_0x3f04d5)[_0xd234c8(0x132)]({'skipNotAttached':_0x18610b,'toJSON':_0x27e723});}[_0x4494a7(0x12b)](_0x40c8a3){var _0xffd2c0=_0x4494a7;return this[_0xffd2c0(0x123)][_0xffd2c0(0x127)][_0xffd2c0(0x126)](_0x3f04d5)[_0xffd2c0(0x12b)](_0x40c8a3);}}function _0x470e(){var _0x131d1a=['TrackChanges','get','plugins','addSuggestionData','2763JVdBHr','Comments','getSuggestion','6428646hXQPdZ','pluginName','2067185aSKkJp','14790WKKggZ','adapter','38296OptklL','getSuggestions','62SvYrIT','22438640ikyKXX','requires','addSuggestion','1028nipaFE','9129195DFletu','editor','6nYxbkU'];_0x470e=function(){return _0x131d1a;};return _0x470e();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x577def=_0x1eb1;(function(_0x2c2aab,_0xf9a971){const _0x16c9fc=_0x1eb1,_0x338312=_0x2c2aab();while(!![]){try{const _0x55cc16=-parseInt(_0x16c9fc(0x101))/0x1+parseInt(_0x16c9fc(0xfd))/0x2*(parseInt(_0x16c9fc(0xce))/0x3)+parseInt(_0x16c9fc(0xdb))/0x4*(parseInt(_0x16c9fc(0xe0))/0x5)+parseInt(_0x16c9fc(0x102))/0x6+-parseInt(_0x16c9fc(0xdd))/0x7*(-parseInt(_0x16c9fc(0x104))/0x8)+parseInt(_0x16c9fc(0xf9))/0x9*(parseInt(_0x16c9fc(0xf4))/0xa)+-parseInt(_0x16c9fc(0xc7))/0xb*(parseInt(_0x16c9fc(0xe3))/0xc);if(_0x55cc16===_0xf9a971)break;else _0x338312['push'](_0x338312['shift']());}catch(_0x45728e){_0x338312['push'](_0x338312['shift']());}}}(_0x1f39,0x28ac2));function _0x1f39(){const _0x53d6d6=['end','trackChangesData.editorCreator','TrackChangesData','requires','data','set','addCommentThread','execute','function','reduce','pluginName','128rBHoCn','model','131383rruLcA','getCommentThreads','getUser','2620AgZssa','addUser','get','488268hqpfXZ','getRootNames','trackChangesData','define','createElement','create','document','getDataWithDiscardedSuggestions','init','plugins','TrackChangesDataGetter','appendChild','editorCreator','constructor','getFullData','discardAllSuggestions','CommentsRepository','140HACeTj','editor','getSuggestions','getRootsAttributes','name','131634oIihRC','createDocumentFragment','useAnonymousUser','map','202nEZUig','push','rootsAttributes','TrackChangesEditing','100611oPIGkH','512022hXwguh','destroy','80MhSAqu','getDataWithAcceptedSuggestions','_adapter','users','track-changes-data-invalid-editor-creator','77BYOifr','Pagination','result','addSuggestionData','acceptAllSuggestions','div','Users','1707ixljqX','config'];_0x1f39=function(){return _0x53d6d6;};return _0x1f39();}import{Plugin as _0xe55a42}from'ckeditor5/src/core.js';import{CKEditorError as _0x2909d7}from'ckeditor5/src/utils.js';import _0x5551e9 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5c9027}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x577def(0xc8)];export default class P extends _0xe55a42{static get[_0x577def(0xd3)](){return[_0x5551e9];}static get[_0x577def(0xda)](){const _0x435205=_0x577def;return _0x435205(0xd2);}[_0x577def(0xeb)](){const _0x462345=_0x577def,_0x1d529a=this[_0x462345(0xf5)];if(_0x1d529a[_0x462345(0xcf)][_0x462345(0xe6)](_0x462345(0xd1),_0x153e6b=>{const _0x212ca2=_0x462345,_0x89a017=_0x1d529a[_0x212ca2(0xdc)][_0x212ca2(0xe9)][_0x212ca2(0xe4)]()[_0x212ca2(0xd9)]((_0x1db6d9,_0x454315)=>(_0x1db6d9[_0x454315]='',_0x1db6d9),{});return _0x1d529a[_0x212ca2(0xf0)][_0x212ca2(0xe8)](_0x89a017,_0x153e6b);}),_0x462345(0xd8)!=typeof _0x1d529a[_0x462345(0xcf)][_0x462345(0xe2)](_0x462345(0xe5))[_0x462345(0xef)])throw new _0x2909d7(_0x462345(0xc6));}[_0x577def(0x105)](_0x13cff5){const _0x172764=_0x577def;return N(this[_0x172764(0xf5)],!0x0,_0x13cff5);}[_0x577def(0xea)](_0x44f793){const _0x3baff5=_0x577def;return N(this[_0x3baff5(0xf5)],!0x1,_0x44f793);}}function _0x1eb1(_0x415da2,_0x17ba58){const _0x1f39e9=_0x1f39();return _0x1eb1=function(_0x1eb17d,_0x3182b2){_0x1eb17d=_0x1eb17d-0xc5;let _0x3b90d9=_0x1f39e9[_0x1eb17d];return _0x3b90d9;},_0x1eb1(_0x415da2,_0x17ba58);}class D extends _0xe55a42{static get[_0x577def(0xda)](){const _0x499c99=_0x577def;return _0x499c99(0xed);}constructor(_0x17c9d1){const _0x48fafc=_0x577def;super(_0x17c9d1),this[_0x48fafc(0xc9)]=_0x48fafc(0xd0);}[_0x577def(0xeb)](){const _0x34d8d2=_0x577def;this[_0x34d8d2(0xf5)][_0x34d8d2(0xec)][_0x34d8d2(0xe2)](_0x34d8d2(0xf3))[_0x34d8d2(0x106)]={'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[_0x34d8d2(0xf5)][_0x34d8d2(0xec)][_0x34d8d2(0xe2)](_0x34d8d2(0x100))[_0x34d8d2(0x106)]=null;}}function v(_0x4b9a06){const _0xd3a99e=_0x577def;return void 0x0!==_0x4b9a06[_0xd3a99e(0xf7)];}async function N(_0x517e28,_0x5d26bd,_0x3b2445){const _0x10df4a=_0x577def,_0x3f26d0=_0x5c9027(_0x517e28,T);_0x3f26d0[_0x10df4a(0xec)][_0x10df4a(0xfe)](_0x5551e9,D),_0x3f26d0[_0x10df4a(0xff)]=v(_0x517e28)?_0x517e28[_0x10df4a(0xf7)]():void 0x0;const _0x35ca79=document[_0x10df4a(0xfa)](),_0xcb800c=_0x517e28[_0x10df4a(0xcf)][_0x10df4a(0xe2)](_0x10df4a(0xe5))[_0x10df4a(0xef)],_0x2eb56a=await _0xcb800c(_0x3f26d0,()=>function(_0x31b2dc){const _0x23c684=_0x10df4a,_0x264c8d=document[_0x23c684(0xe7)](_0x23c684(0xcc));return _0x31b2dc[_0x23c684(0xee)](_0x264c8d),_0x264c8d;}(_0x35ca79));!function(_0x25c0dd,_0xd49e64){const _0x20168e=_0x10df4a,_0x37b261=_0x25c0dd[_0x20168e(0xdc)][_0x20168e(0xe9)][_0x20168e(0xe4)]()[_0x20168e(0xd9)]((_0x8d8361,_0x439f5f)=>(_0x8d8361[_0x439f5f]=_0x25c0dd[_0x20168e(0xd4)][_0x20168e(0xe2)]({'rootName':_0x439f5f}),_0x8d8361),{}),_0x175493=_0x25c0dd[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0xcd))[_0x20168e(0xc5)][_0x20168e(0xfc)](_0x1b8673=>({'id':_0x1b8673['id'],'name':_0x1b8673[_0x20168e(0xf8)]})),_0x5b804c=_0x25c0dd[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0x100))[_0x20168e(0xf6)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x235bdf=_0x25c0dd[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0xf3))[_0x20168e(0xde)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5dbe7d=_0xd49e64[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0xcd)),_0x58f6b9=_0xd49e64[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0x100)),_0x489800=_0xd49e64[_0x20168e(0xec)][_0x20168e(0xe2)](_0x20168e(0xf3));for(const _0x4f9c22 of _0x175493)_0x5dbe7d[_0x20168e(0xdf)](_0x4f9c22['id'])||_0x5dbe7d[_0x20168e(0xe1)](_0x4f9c22);_0x5dbe7d['me']||_0x5dbe7d[_0x20168e(0xfb)]();for(const _0x2f9bd3 of _0x235bdf)_0x489800[_0x20168e(0xd6)](_0x2f9bd3);for(const _0x3da953 of _0x5b804c)_0x58f6b9[_0x20168e(0xca)](_0x3da953);_0xd49e64[_0x20168e(0xd4)][_0x20168e(0xd5)](_0x37b261);}(_0x517e28,_0x2eb56a),_0x2eb56a[_0x10df4a(0xd7)](_0x5d26bd?_0x10df4a(0xcb):_0x10df4a(0xf2));const _0x55abf4=v(_0x2eb56a)?_0x2eb56a[_0x10df4a(0xf1)](_0x3b2445):_0x2eb56a[_0x10df4a(0xd4)][_0x10df4a(0xe2)](_0x3b2445);return await _0x2eb56a[_0x10df4a(0x103)](),_0x55abf4;}
|