@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250910.0 → 0.0.0-nightly-20250912.1
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 +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.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 +27 -27
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.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/lineheight.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/mergefields.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/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.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/trackchangespreview.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/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.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
|
|
23
|
+
const _0x26e929=_0x3903;(function(_0x5e478f,_0x3b46f1){const _0x1a3519=_0x3903,_0x22eedf=_0x5e478f();while(!![]){try{const _0x3405db=parseInt(_0x1a3519(0xdb))/0x1+-parseInt(_0x1a3519(0x107))/0x2+parseInt(_0x1a3519(0x119))/0x3*(parseInt(_0x1a3519(0x111))/0x4)+-parseInt(_0x1a3519(0xea))/0x5*(-parseInt(_0x1a3519(0x124))/0x6)+-parseInt(_0x1a3519(0x130))/0x7*(parseInt(_0x1a3519(0xe5))/0x8)+parseInt(_0x1a3519(0x113))/0x9+parseInt(_0x1a3519(0xeb))/0xa*(-parseInt(_0x1a3519(0x120))/0xb);if(_0x3405db===_0x3b46f1)break;else _0x22eedf['push'](_0x22eedf['shift']());}catch(_0x13f333){_0x22eedf['push'](_0x22eedf['shift']());}}}(_0x929d,0x4d85c));function _0x929d(){const _0x5e8a45=['plugins','ck-suggestion-marker-','toViewElement','stop','removeClass','registerAttributeLabel','editing','bindElementToMarker','end','has','item','TrackChangesEditing','682972PRZtRx','type','getSuggestion','parent','format','markerNameToElements','removeMarker:suggestion','markerRange','setTableColumnHeader','registerBlockAttribute','1509244dTMuvi','forceValue','2571939PAuGki','addMarker:suggestion','highest','start','get','formatBlock','3YYbABf','FORMAT_HEADER_COLUMN','_acceptFormatSuggestionCallbackFactory','accept','data','descriptionFactory','consume','43252YdgAXp','headingColumns','FORMAT_HEADER_ROW','enableDefaultAttributesIntegration','12mEqVpF','*Format:*\x20%0','headingRows','registerDescriptionCallback','downcastDispatcher','locale','name','data-suggestion','nodeAfter','setAttribute','options','FORMAT_REGULAR_COLUMN','1162Pliorm','_registerLegacyDescription','238290ujWKZl','getCellLocation','commandParams','_splitMarkerName','markerName','TableEditing','cell','includes','FORMAT_REGULAR_ROW','editor','25896smOSvL','createTableWalker','_suggestionFactory','mapper','ck-suggestion-marker--active','924240ckjmIK','190OXccQs','unbindElementFromMarkerName','setTableRowHeader','requires','commandName','afterInit','activeMarkers','_handleLegacySuggestions','nodeBefore','addClass','showSuggestionHighlights','writer','registerCustomCallback','TableUtils','removeAttribute','consumable'];_0x929d=function(){return _0x5e8a45;};return _0x929d();}import{Plugin as _0x16cb2c}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x535405}from'./table.js';import{getTranslation as _0x25933f}from'../utils/common-translations.js';function _0x3903(_0x260a13,_0x43c2eb){const _0x929da3=_0x929d();return _0x3903=function(_0x390301,_0x2b38b6){_0x390301=_0x390301-0xdb;let _0x5211b3=_0x929da3[_0x390301];return _0x5211b3;},_0x3903(_0x260a13,_0x43c2eb);}export class TrackChangesTableHeadings extends _0x16cb2c{static get[_0x26e929(0xee)](){return[_0x535405];}[_0x26e929(0xf0)](){const _0x128a4b=_0x26e929,_0x51690f=this[_0x128a4b(0xe4)];if(!_0x51690f[_0x128a4b(0xfb)][_0x128a4b(0x104)](_0x128a4b(0xe0)))return;const _0x195652=_0x51690f[_0x128a4b(0x129)],_0x5a420a=_0x51690f[_0x128a4b(0xfb)][_0x128a4b(0x117)](_0x128a4b(0x106));_0x5a420a[_0x128a4b(0x123)](_0x128a4b(0xed)),_0x5a420a[_0x128a4b(0x123)](_0x128a4b(0x10f)),_0x5a420a[_0x128a4b(0x110)](_0x128a4b(0x126)),_0x5a420a[_0x128a4b(0x110)](_0x128a4b(0x121)),_0x5a420a[_0x128a4b(0x11e)][_0x128a4b(0x100)](_0x128a4b(0x126),_0x25933f(_0x195652,_0x128a4b(0x122))),_0x5a420a[_0x128a4b(0x11e)][_0x128a4b(0x100)](_0x128a4b(0x121),_0x25933f(_0x195652,_0x128a4b(0x11a))),this[_0x128a4b(0xf2)]();}[_0x26e929(0xf2)](){const _0x254f54=_0x26e929,_0x527cb0=this[_0x254f54(0xe4)][_0x254f54(0xfb)][_0x254f54(0x117)](_0x254f54(0x106)),_0x3c038e=this[_0x254f54(0xe4)][_0x254f54(0xfb)][_0x254f54(0x117)](_0x254f54(0xf8)),_0x5a2f28=this[_0x254f54(0xe4)][_0x254f54(0xfb)][_0x254f54(0x117)](_0x535405)[_0x254f54(0x11b)]();function _0x4f859f({showActiveMarker:_0x4f35bb=!0x0,setDataAttribute:_0x4af4d5=!0x0}={}){return(_0x409fb6,_0x5c5aff,_0x82e14d)=>{const _0x41bd0d=_0x3903,{type:_0x50a57c,id:_0xeb4e50}=_0x527cb0[_0x41bd0d(0xde)](_0x5c5aff[_0x41bd0d(0xdf)]),_0x1c8800=_0x527cb0[_0x41bd0d(0x109)](_0xeb4e50),_0x2c4f5e=_0x1c8800[_0x41bd0d(0x11d)];if(_0x41bd0d(0x118)!=_0x1c8800[_0x41bd0d(0x108)]||!_0x2c4f5e||_0x41bd0d(0x10f)!=_0x2c4f5e[_0x41bd0d(0xef)])return;if(_0x5c5aff[_0x41bd0d(0x105)])return void _0x409fb6[_0x41bd0d(0xfe)]();if(!_0x82e14d[_0x41bd0d(0xfa)][_0x41bd0d(0x11f)](_0x5c5aff[_0x41bd0d(0x10e)],_0x409fb6[_0x41bd0d(0x12a)]))return;const _0x15f111=_0x5c5aff[_0x41bd0d(0x10e)][_0x41bd0d(0x116)][_0x41bd0d(0x12c)],_0x4f813a=_0x5c5aff[_0x41bd0d(0x10e)][_0x41bd0d(0x103)][_0x41bd0d(0xf3)],_0x2f4411=_0x15f111[_0x41bd0d(0x10a)][_0x41bd0d(0x10a)],{column:_0x24a5b6}=_0x3c038e[_0x41bd0d(0xdc)](_0x15f111),{column:_0xa53d48}=_0x3c038e[_0x41bd0d(0xdc)](_0x4f813a);for(let _0x202b2a=_0x24a5b6;_0x202b2a<=_0xa53d48;_0x202b2a++){const _0x16d92f=_0x3c038e[_0x41bd0d(0xe6)](_0x2f4411,{'column':_0x202b2a,'includeAllSlots':!0x1});for(const _0x114ba2 of _0x16d92f){const _0x5d6fd7=_0x114ba2[_0x41bd0d(0xe1)],_0x19bb4e=_0x82e14d[_0x41bd0d(0xe8)][_0x41bd0d(0xfd)](_0x5d6fd7);_0x82e14d[_0x41bd0d(0xf6)][_0x41bd0d(0xf4)](_0x41bd0d(0xfc)+_0x50a57c,_0x19bb4e),_0x4af4d5&&_0x82e14d[_0x41bd0d(0xf6)][_0x41bd0d(0x12d)](_0x41bd0d(0x12b),_0xeb4e50,_0x19bb4e),_0x82e14d[_0x41bd0d(0xe8)][_0x41bd0d(0x102)](_0x19bb4e,_0x5c5aff[_0x41bd0d(0xdf)]),_0x4f35bb&&(_0x527cb0[_0x41bd0d(0xf1)][_0x41bd0d(0xe2)](_0x5c5aff[_0x41bd0d(0xdf)])?_0x82e14d[_0x41bd0d(0xf6)][_0x41bd0d(0xf4)](_0x41bd0d(0xe9),_0x19bb4e):_0x82e14d[_0x41bd0d(0xf6)][_0x41bd0d(0xff)](_0x41bd0d(0xe9),_0x19bb4e));}}};}_0x527cb0[_0x254f54(0xe7)][_0x254f54(0xf7)](_0x254f54(0x118),_0x254f54(0xed),_0x254f54(0x11c),_0x5a2f28),_0x527cb0[_0x254f54(0xe7)][_0x254f54(0xf7)](_0x254f54(0x118),_0x254f54(0x10f),_0x254f54(0x11c),_0x5a2f28),this[_0x254f54(0xe4)][_0x254f54(0x101)][_0x254f54(0x128)]['on'](_0x254f54(0x114),_0x4f859f(),{'priority':_0x254f54(0x115)}),this[_0x254f54(0xe4)][_0x254f54(0x11d)][_0x254f54(0x128)]['on'](_0x254f54(0x114),(_0x221a72,_0x24854a,_0x4a241e)=>{const _0x4561d7=_0x254f54;_0x4a241e[_0x4561d7(0x12e)][_0x4561d7(0xf5)]&&_0x4f859f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x221a72,_0x24854a,_0x4a241e);},{'priority':_0x254f54(0x115)}),this[_0x254f54(0xe4)][_0x254f54(0x101)][_0x254f54(0x128)]['on'](_0x254f54(0x10d),(_0x4cc732,_0xc888df,_0x5f2966)=>{const _0x3fa162=_0x254f54,{type:_0x3a70fd,id:_0x40bb64}=_0x527cb0[_0x3fa162(0xde)](_0xc888df[_0x3fa162(0xdf)]),_0x4df587=_0x527cb0[_0x3fa162(0x109)](_0x40bb64),_0x4f0e60=_0x4df587[_0x3fa162(0x11d)];if(_0x3fa162(0x118)!=_0x4df587[_0x3fa162(0x108)]||!_0x4f0e60||_0x3fa162(0x10f)!=_0x4f0e60[_0x3fa162(0xef)])return;const _0x21941c=_0x5f2966[_0x3fa162(0xe8)][_0x3fa162(0x10c)](_0xc888df[_0x3fa162(0xdf)]);if(_0x21941c){for(const _0x236e33 of _0x21941c)_0x5f2966[_0x3fa162(0xf6)][_0x3fa162(0xff)](_0x3fa162(0xfc)+_0x3a70fd,_0x236e33),_0x5f2966[_0x3fa162(0xf6)][_0x3fa162(0xff)](_0x3fa162(0xe9),_0x236e33),_0x5f2966[_0x3fa162(0xf6)][_0x3fa162(0xf9)](_0x3fa162(0x12b),_0x236e33),_0x5f2966[_0x3fa162(0xe8)][_0x3fa162(0xec)](_0x236e33,_0xc888df[_0x3fa162(0xdf)]);}},{'priority':_0x254f54(0x115)}),this[_0x254f54(0x131)]();}[_0x26e929(0x131)](){const _0x135d43=_0x26e929,_0x1fe7fa=this[_0x135d43(0xe4)],_0x295bc3=_0x1fe7fa[_0x135d43(0x129)];function _0x321685(_0x464fac){const _0x3a1e0b=_0x135d43;return{'type':_0x3a1e0b(0x10b),'content':_0x25933f(_0x295bc3,_0x3a1e0b(0x125),_0x464fac)};}_0x1fe7fa[_0x135d43(0xfb)][_0x135d43(0x117)](_0x135d43(0x106))[_0x135d43(0x11e)][_0x135d43(0x127)](_0x2a02ab=>{const _0x464631=_0x135d43;if(_0x464631(0x118)!=_0x2a02ab[_0x464631(0x108)])return;const {data:_0x20c69a}=_0x2a02ab;if(_0x20c69a){if(_0x464631(0xed)==_0x20c69a[_0x464631(0xef)]){const _0x13d455=_0x20c69a[_0x464631(0xdd)][0x0][_0x464631(0x112)];return _0x321685(_0x25933f(_0x295bc3,_0x13d455?_0x464631(0x122):_0x464631(0xe3)));}if(_0x464631(0x10f)==_0x20c69a[_0x464631(0xef)]){const _0x32a693=_0x20c69a[_0x464631(0xdd)][0x0][_0x464631(0x112)];return _0x321685(_0x25933f(_0x295bc3,_0x32a693?_0x464631(0x11a):_0x464631(0x12f)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58c895=_0x12b2;function _0x5de4(){const _0x5ce127=['2026549ZSYPrX','descriptionFactory','enableDefaultAttributesIntegration','element','TrackChangesEditing','181572YDozWo','insertTableLayout','tableType','key','registerBlockAttribute','table','plugins','content','getAttribute','5226057DraEHT','newValue','1308472mZDppg','registerElementLabel','get','ELEMENT_LAYOUT_TABLE','afterInit','32vQcvos','981330bgHUrz','TableLayout','locale','10zPOnWc','*Set\x20table\x20type:*\x20%0','editor','enableCommand','3603930ZFpzhb','4tLkRhH','format','registerDescriptionCallback','ELEMENT_CONTENT_TABLE','has','layout','244217mHNRvT'];_0x5de4=function(){return _0x5ce127;};return _0x5de4();}(function(_0xa532b7,_0x5c997a){const _0x53765e=_0x12b2,_0x1501a0=_0xa532b7();while(!![]){try{const _0x1c286f=-parseInt(_0x53765e(0xb5))/0x1*(-parseInt(_0x53765e(0xaf))/0x2)+parseInt(_0x53765e(0xbb))/0x3*(-parseInt(_0x53765e(0xcb))/0x4)+parseInt(_0x53765e(0xcc))/0x5+-parseInt(_0x53765e(0xae))/0x6+parseInt(_0x53765e(0xb6))/0x7+-parseInt(_0x53765e(0xc6))/0x8+-parseInt(_0x53765e(0xc4))/0x9*(-parseInt(_0x53765e(0xaa))/0xa);if(_0x1c286f===_0x5c997a)break;else _0x1501a0['push'](_0x1501a0['shift']());}catch(_0x3925d5){_0x1501a0['push'](_0x1501a0['shift']());}}}(_0x5de4,0x4ad2a));function _0x12b2(_0x1f8734,_0x522dfc){const _0x5de454=_0x5de4();return _0x12b2=function(_0x12b2c0,_0x32e327){_0x12b2c0=_0x12b2c0-0xaa;let _0x4ee1ba=_0x5de454[_0x12b2c0];return _0x4ee1ba;},_0x12b2(_0x1f8734,_0x522dfc);}import{Plugin as _0x41348d}from'ckeditor5/src/core.js';import{getTranslation as _0x4d9ac2}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x41348d{[_0x58c895(0xca)](){const _0xe1cfdf=_0x58c895,_0x2f8f8c=this[_0xe1cfdf(0xac)],_0x40261c=_0x2f8f8c[_0xe1cfdf(0xce)],_0x5ec7d9=_0x2f8f8c[_0xe1cfdf(0xc1)][_0xe1cfdf(0xc8)](_0xe1cfdf(0xba));function _0xe279f2(_0x82ae3b){const _0x480e57=_0xe1cfdf;return{'type':_0x480e57(0xb0),'content':''+_0x4d9ac2(_0x40261c,_0x480e57(0xab),_0x82ae3b)};}_0x2f8f8c[_0xe1cfdf(0xc1)][_0xe1cfdf(0xb3)](_0xe1cfdf(0xcd))&&(_0x5ec7d9[_0xe1cfdf(0xad)](_0xe1cfdf(0xbc)),_0x5ec7d9[_0xe1cfdf(0xb8)](_0xe1cfdf(0xbd)),_0x5ec7d9[_0xe1cfdf(0xbf)](_0xe1cfdf(0xbd)),_0x5ec7d9[_0xe1cfdf(0xb7)][_0xe1cfdf(0xc7)](_0x2152c5=>_0x2152c5['is'](_0xe1cfdf(0xb9),_0xe1cfdf(0xc0))&&_0xe1cfdf(0xb4)===_0x2152c5[_0xe1cfdf(0xc3)](_0xe1cfdf(0xbd)),_0x12b1e0=>_0x4d9ac2(_0x40261c,_0xe1cfdf(0xc9),_0x12b1e0)),_0x5ec7d9[_0xe1cfdf(0xb7)][_0xe1cfdf(0xb1)](_0x839309=>{const _0x2095aa=_0xe1cfdf,{data:_0x26a623}=_0x839309;if(_0x26a623&&_0x2095aa(0xbd)==_0x26a623[_0x2095aa(0xbe)])switch(_0x26a623[_0x2095aa(0xc5)]){case _0x2095aa(0xb4):return _0xe279f2(_0x4d9ac2(_0x40261c,_0x2095aa(0xc9)));case _0x2095aa(0xc2):return _0xe279f2(_0x4d9ac2(_0x40261c,_0x2095aa(0xb2)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d1a7e=_0x1cc7;(function(_0x19c0a9,_0x5cdf26){const _0x2b2fd7=_0x1cc7,_0x15d3e6=_0x19c0a9();while(!![]){try{const _0x10a603=parseInt(_0x2b2fd7(0xe5))/0x1*(-parseInt(_0x2b2fd7(0x12f))/0x2)+-parseInt(_0x2b2fd7(0xfd))/0x3*(-parseInt(_0x2b2fd7(0xf9))/0x4)+parseInt(_0x2b2fd7(0x116))/0x5*(parseInt(_0x2b2fd7(0x127))/0x6)+-parseInt(_0x2b2fd7(0x102))/0x7+parseInt(_0x2b2fd7(0xf6))/0x8*(parseInt(_0x2b2fd7(0x10f))/0x9)+-parseInt(_0x2b2fd7(0xed))/0xa*(parseInt(_0x2b2fd7(0xeb))/0xb)+parseInt(_0x2b2fd7(0x142))/0xc*(parseInt(_0x2b2fd7(0x13b))/0xd);if(_0x10a603===_0x5cdf26)break;else _0x15d3e6['push'](_0x15d3e6['shift']());}catch(_0x123183){_0x15d3e6['push'](_0x15d3e6['shift']());}}}(_0x4511,0xc6c1d));import{Plugin as _0x5568b9}from'ckeditor5/src/core.js';function _0x1cc7(_0x4141c1,_0x101f1e){const _0x45114d=_0x4511();return _0x1cc7=function(_0x1cc743,_0x159194){_0x1cc743=_0x1cc743-0xe1;let _0x1ca126=_0x45114d[_0x1cc743];return _0x1ca126;},_0x1cc7(_0x4141c1,_0x101f1e);}function _0x4511(){const _0x3fe23d=['fromRange','isInContent','getCellLocation','value','171mNBvtq','execute','locale','element','accept','table','forceDefaultExecution','670uElVLf','from','subType','format','length','_acceptFormatSuggestionCallbackFactory','return','rootName','splitTableCellVertically','getRanges','direction','descriptionFactory','registerDescriptionCallback','map','has','_tablePostFixingSubtypes','getFirstPosition','55194JnRFUO','createRangeOn','add','deletion','filter','low','*Split\x20cell:*\x20horizontally','findAncestor','2WOpEzH','mergeTableCellLeft','editor','find','cell','commandName','$graveyard','TrackChangesEditing','change','commands','author','containsRange','611JgLmkr','TableUtils','enableCommand','_isForcedDefaultExecutionBlock','getSuggestions','*Split\x20cell:*\x20vertically','mergeTableCells','253020hdQjmM','getSelectionAffectedTableCells','createTableWalker','selection','mergeTableCellUp','type','splitTableCellHorizontally','model','horizontally','416422EPCLMa','plugins','afterInit','requires','detach','registerCustomCallback','71533LnfOqK','root','1510fpZAMQ','tableCell','stop','formatInline','highest','*Merge\x20cells*','_areMergableCells','markBlockFormat','_areSelectedCellsMergable','59480lXVEMV','mergeTableCellRight','markMultiRangeBlockFormat','12732prdCCl','document','_suggestionFactory','get','393EYRfxn','trackChanges','mergeTableCellDown','getAncestors','TableEditing','3985905eOGQsJ','isEnabled','push','set:isEnabled','insertion','setSelection','formatBlock','refresh','size'];_0x4511=function(){return _0x3fe23d;};return _0x4511();}import{TrackChangesTable as _0x54802b}from'./table.js';import{ModelLiveRange as _0x3b2b8b}from'ckeditor5/src/engine.js';import{getTranslation as _0x34ffbf}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5568b9{static get[_0x5d1a7e(0xe8)](){return[_0x54802b];}[_0x5d1a7e(0xe7)](){const _0x4a303d=_0x5d1a7e,_0x34bdbb=this[_0x4a303d(0x131)],_0x210fa8=_0x34bdbb[_0x4a303d(0xe3)][_0x4a303d(0xfa)][_0x4a303d(0x145)],_0x3f942d=_0x34bdbb[_0x4a303d(0x111)];if(!_0x34bdbb[_0x4a303d(0xe6)][_0x4a303d(0x124)](_0x4a303d(0x101)))return;const _0x587ae2=_0x34bdbb[_0x4a303d(0xe6)][_0x4a303d(0xfc)](_0x4a303d(0x136)),_0x15e972=_0x34bdbb[_0x4a303d(0xe6)][_0x4a303d(0xfc)](_0x4a303d(0x13c)),_0x4934ab=_0x34bdbb[_0x4a303d(0xe6)][_0x4a303d(0xfc)](_0x54802b);_0x4934ab[_0x4a303d(0x125)][_0x4a303d(0x104)](_0x4a303d(0x141)),_0x587ae2[_0x4a303d(0x13d)](_0x4a303d(0x141),()=>{const _0x665145=_0x4a303d,_0x20cc74=_0x15e972[_0x665145(0x143)](_0x34bdbb[_0x665145(0xe3)][_0x665145(0xfa)][_0x665145(0x145)]);_0x34bdbb[_0x665145(0xe3)][_0x665145(0x137)](()=>{const _0x5b6a53=_0x665145;_0x587ae2[_0x5b6a53(0xf8)](_0x20cc74,{'commandName':_0x5b6a53(0x141),'commandParams':[]},[],_0x5b6a53(0x141));});}),_0x34bdbb[_0x4a303d(0x138)][_0x4a303d(0xfc)](_0x4a303d(0x141))['on'](_0x4a303d(0x110),(_0x24df21,_0x15adde)=>{const _0x2ec440=_0x4a303d;_0x34bdbb[_0x2ec440(0x138)][_0x2ec440(0xfc)](_0x2ec440(0xfe))[_0x2ec440(0x10e)]&&(_0x15adde[_0x2ec440(0x11a)]>0x0&&_0x15adde[_0x15adde[_0x2ec440(0x11a)]-0x1]&&_0x15adde[_0x15adde[_0x2ec440(0x11a)]-0x1][_0x2ec440(0x115)]||_0x587ae2[_0x2ec440(0x13e)]||this[_0x2ec440(0xf5)]()||_0x24df21[_0x2ec440(0xef)]());},{'priority':_0x4a303d(0xf1)});for(const _0x3e8cf2 of[_0x4a303d(0x146),_0x4a303d(0xf7),_0x4a303d(0xff),_0x4a303d(0x130)]){const _0x2e6c00=_0x34bdbb[_0x4a303d(0x138)][_0x4a303d(0xfc)](_0x3e8cf2);_0x587ae2[_0x4a303d(0x13d)](_0x3e8cf2,()=>{const _0x3f4310=_0x4a303d,_0x45b8fe=_0x34bdbb[_0x3f4310(0xe3)][_0x3f4310(0xfa)][_0x3f4310(0x145)][_0x3f4310(0x126)]()[_0x3f4310(0x100)]()[_0x3f4310(0x132)](_0xf2805f=>_0xf2805f['is'](_0x3f4310(0x112),_0x3f4310(0xee))),_0xe7181=_0x2e6c00[_0x3f4310(0x10e)];_0x34bdbb[_0x3f4310(0xe3)][_0x3f4310(0x137)](()=>{const _0x143233=_0x3f4310;_0x587ae2[_0x143233(0xf8)]([_0x45b8fe,_0xe7181],{'commandName':_0x143233(0x141),'commandParams':[]},[],_0x143233(0x141));});});}for(const _0xaef5ce of[_0x4a303d(0x11e),_0x4a303d(0xe2)]){const _0x1d9d71=_0x34bdbb[_0x4a303d(0x138)][_0x4a303d(0xfc)](_0xaef5ce);_0x587ae2[_0x4a303d(0x13d)](_0xaef5ce,()=>{const _0x1ac663=_0x4a303d,_0x65e059=_0x15e972[_0x1ac663(0x143)](_0x34bdbb[_0x1ac663(0xe3)][_0x1ac663(0xfa)][_0x1ac663(0x145)])[0x0],_0xa98ef5=_0x65e059[_0x1ac663(0x12e)](_0x1ac663(0x114)),{column:_0x1d4b82,row:_0x456174}=_0x15e972[_0x1ac663(0x10d)](_0x65e059);let _0x485359=[];if(_0x1ac663(0xe4)==_0x1d9d71[_0x1ac663(0x120)]){const _0x258e70=_0x15e972[_0x1ac663(0x144)](_0xa98ef5,{'startRow':_0x456174,'endRow':_0x456174,'includeAllSlots':!0x0});_0x485359=Array[_0x1ac663(0x117)](_0x258e70)[_0x1ac663(0x123)](_0x406d3f=>_0x406d3f[_0x1ac663(0x133)]);}else{const _0x2fee09=_0x15e972[_0x1ac663(0x144)](_0xa98ef5,{'column':_0x1d4b82,'includeAllSlots':!0x0});_0x485359=Array[_0x1ac663(0x117)](_0x2fee09)[_0x1ac663(0x123)](_0x35b740=>_0x35b740[_0x1ac663(0x133)]);}_0x34bdbb[_0x1ac663(0xe3)][_0x1ac663(0x137)](_0x4072a3=>{const _0x270ba9=_0x1ac663;_0x587ae2[_0x270ba9(0xf4)](_0x4072a3[_0x270ba9(0x128)](_0x65e059),{'commandName':_0xaef5ce,'commandParams':[]},_0x485359,_0xaef5ce);});});}_0x587ae2[_0x4a303d(0x121)][_0x4a303d(0x122)](_0x77d524=>{const _0x274dca=_0x4a303d;if(_0x274dca(0x108)!=_0x77d524[_0x274dca(0xe1)]&&_0x274dca(0xf0)!=_0x77d524[_0x274dca(0xe1)])return;const {data:_0x47b82b}=_0x77d524;return _0x47b82b&&_0x274dca(0x141)==_0x47b82b[_0x274dca(0x134)]?{'type':_0x274dca(0x119),'content':_0x34ffbf(_0x3f942d,_0x274dca(0xf2))}:void 0x0;}),_0x587ae2[_0x4a303d(0x121)][_0x4a303d(0x122)](_0x5a36f1=>{const _0x183234=_0x4a303d;if(_0x183234(0x108)!=_0x5a36f1[_0x183234(0xe1)]&&_0x183234(0xf0)!=_0x5a36f1[_0x183234(0xe1)])return;const {data:_0x1f0f9f}=_0x5a36f1;return _0x1f0f9f?_0x183234(0x11e)==_0x1f0f9f[_0x183234(0x134)]?{'type':_0x183234(0x119),'content':_0x34ffbf(_0x3f942d,_0x183234(0x140))}:_0x183234(0xe2)==_0x1f0f9f[_0x183234(0x134)]?{'type':_0x183234(0x119),'content':_0x34ffbf(_0x3f942d,_0x183234(0x12d))}:void 0x0:void 0x0;});const _0x41879a=_0x4934ab[_0x4a303d(0x11b)]();for(const _0x204bf7 of[_0x4a303d(0x146),_0x4a303d(0xf7),_0x4a303d(0xff),_0x4a303d(0x130)])_0x587ae2[_0x4a303d(0xfb)][_0x4a303d(0xea)](_0x4a303d(0x108),_0x204bf7,_0x4a303d(0x113),_0x41879a);for(const _0x16dfa1 of[_0x4a303d(0x11e),_0x4a303d(0xe2)])_0x587ae2[_0x4a303d(0xfb)][_0x4a303d(0xea)](_0x4a303d(0x108),_0x16dfa1,_0x4a303d(0x113),_0x41879a);_0x587ae2[_0x4a303d(0xfb)][_0x4a303d(0xea)](_0x4a303d(0x108),_0x4a303d(0x141),_0x4a303d(0x113),_0x28b62e=>{const _0x1b5c3e=_0x4a303d;_0x34bdbb[_0x1b5c3e(0xe3)][_0x1b5c3e(0x137)](_0x5eed6c=>{const _0x4d6ba5=_0x1b5c3e,_0x1d4575=Array[_0x4d6ba5(0x117)](_0x210fa8[_0x4d6ba5(0x11f)]())[_0x4d6ba5(0x123)](_0x2336af=>_0x3b2b8b[_0x4d6ba5(0x10b)](_0x2336af));_0x5eed6c[_0x4d6ba5(0x107)](_0x28b62e),_0x34bdbb[_0x4d6ba5(0x138)][_0x4d6ba5(0xfc)](_0x4d6ba5(0x141))[_0x4d6ba5(0x109)](),_0x34bdbb[_0x4d6ba5(0x110)](_0x4d6ba5(0x141),{'forceDefaultExecution':!0x0});const _0x424db1=_0x1d4575[_0x4d6ba5(0x12b)](_0x3a753d=>_0x4d6ba5(0x135)!=_0x3a753d[_0x4d6ba5(0xec)][_0x4d6ba5(0x11d)]);_0x424db1[_0x4d6ba5(0x11a)]>0x0&&_0x5eed6c[_0x4d6ba5(0x107)](_0x424db1);for(const _0x284525 of _0x1d4575)_0x284525[_0x4d6ba5(0xe9)]();});});for(const _0x125f03 of[_0x4a303d(0x146),_0x4a303d(0xff),_0x4a303d(0x130),_0x4a303d(0xf7)]){const _0x4b68b1=_0x34bdbb[_0x4a303d(0x138)][_0x4a303d(0xfc)](_0x125f03);_0x4b68b1['on'](_0x4a303d(0x105),(_0x2eddc2,_0x29c6f6,_0x124da3)=>{const _0x364484=_0x4a303d;if(_0x124da3){const _0x2791d1=_0x34bdbb[_0x364484(0xe3)][_0x364484(0xfa)][_0x364484(0x145)][_0x364484(0x126)]()[_0x364484(0x100)]()[_0x364484(0x132)](_0x44d6de=>_0x44d6de['is'](_0x364484(0x112),_0x364484(0xee)));this[_0x364484(0xf3)](_0x4b68b1[_0x364484(0x10e)],_0x2791d1)||(_0x2eddc2[_0x364484(0x11c)]=!0x1,_0x2eddc2[_0x364484(0xef)]());}},{'priority':_0x4a303d(0x12c)});}}[_0x5d1a7e(0xf5)](){const _0x3e15b1=_0x5d1a7e,_0x5a0814=this[_0x3e15b1(0x131)][_0x3e15b1(0x138)][_0x3e15b1(0xfc)](_0x3e15b1(0x141)),_0x1ae55f=this[_0x3e15b1(0x131)][_0x3e15b1(0xe6)][_0x3e15b1(0xfc)](_0x3e15b1(0x13c));if(!_0x5a0814[_0x3e15b1(0x103)])return!0x1;const _0x15672b=_0x1ae55f[_0x3e15b1(0x143)](this[_0x3e15b1(0x131)][_0x3e15b1(0xe3)][_0x3e15b1(0xfa)][_0x3e15b1(0x145)]);for(const _0x8e849b of _0x15672b)for(const _0x4c774a of _0x15672b)if(_0x8e849b!=_0x4c774a&&!this[_0x3e15b1(0xf3)](_0x8e849b,_0x4c774a))return!0x1;return!0x0;}[_0x5d1a7e(0xf3)](_0x5e9435,_0x121e4b){const _0x555ba5=_0x5d1a7e,_0x4b0d3d=this[_0x555ba5(0x131)][_0x555ba5(0xe6)][_0x555ba5(0xfc)](_0x555ba5(0x136)),_0x440c6e=this[_0x555ba5(0x131)][_0x555ba5(0xe3)][_0x555ba5(0x128)](_0x5e9435),_0x5b3f43=this[_0x555ba5(0x131)][_0x555ba5(0xe3)][_0x555ba5(0x128)](_0x121e4b),_0x52afd6=new Set(),_0x5ab126=new Set();for(const _0x3399a9 of _0x4b0d3d[_0x555ba5(0x13f)]())if((_0x555ba5(0x106)==_0x3399a9[_0x555ba5(0xe1)]||_0x555ba5(0x12a)==_0x3399a9[_0x555ba5(0xe1)]||_0x555ba5(0x141)==_0x3399a9[_0x555ba5(0x118)])&&_0x3399a9[_0x555ba5(0x10c)]){for(const _0x24ffa5 of _0x3399a9[_0x555ba5(0x11f)]())_0x24ffa5[_0x555ba5(0x13a)](_0x440c6e,!0x0)&&_0x52afd6[_0x555ba5(0x129)](_0x3399a9[_0x555ba5(0xe1)]+':'+_0x3399a9[_0x555ba5(0x139)]['id']),_0x24ffa5[_0x555ba5(0x13a)](_0x5b3f43,!0x0)&&_0x5ab126[_0x555ba5(0x129)](_0x3399a9[_0x555ba5(0xe1)]+':'+_0x3399a9[_0x555ba5(0x139)]['id']);}if(_0x52afd6[_0x555ba5(0x10a)]!=_0x5ab126[_0x555ba5(0x10a)])return!0x1;for(const _0x1807f2 of _0x52afd6)if(!_0x5ab126[_0x555ba5(0x124)](_0x1807f2))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x5dcea1=_0x2859;function _0x5e5d(){const _0x1e5710=['forceDefaultExecution','2787026OTGkED','findAncestor','tableCell','from','descriptionFactory','*Split\x20cell:*\x20horizontally','deletion','mergeTableCells','locale','size','enableCommand','get','_isForcedDefaultExecutionBlock','88PQysfB','35496cYKTEp','highest','isInContent','format','length','change','formatBlock','execute','getRanges','createTableWalker','markBlockFormat','find','splitTableCellVertically','getSuggestions','fromRange','201942EYckvg','createRangeOn','54905htsCIX','setSelection','detach','return','filter','map','containsRange','2961GJkknw','refresh','type','subType','$graveyard','4747626fPWJUs','document','model','selection','TrackChangesEditing','markMultiRangeBlockFormat','table','low','registerDescriptionCallback','add','push','element','editor','requires','_areSelectedCellsMergable','plugins','commands','set:isEnabled','direction','isEnabled','TableUtils','_tablePostFixingSubtypes','rootName','getAncestors','registerCustomCallback','has','getSelectionAffectedTableCells','TableEditing','1049810oiNJVA','value','root','*Split\x20cell:*\x20vertically','commandName','mergeTableCellDown','_suggestionFactory','horizontally','mergeTableCellRight','stop','mergeTableCellUp','insertion','396RujwSP','trackChanges','afterInit','getCellLocation','mergeTableCellLeft','formatInline','accept','getFirstPosition','author','3HtesWf','splitTableCellHorizontally','*Merge\x20cells*','1265896VYSTCZ','cell','_acceptFormatSuggestionCallbackFactory','_areMergableCells'];_0x5e5d=function(){return _0x1e5710;};return _0x5e5d();}(function(_0x417d80,_0x546fda){const _0x358a5f=_0x2859,_0x406dbe=_0x417d80();while(!![]){try{const _0x1dba36=-parseInt(_0x358a5f(0xfb))/0x1+-parseInt(_0x358a5f(0x100))/0x2*(-parseInt(_0x358a5f(0xf8))/0x3)+-parseInt(_0x358a5f(0xef))/0x4*(parseInt(_0x358a5f(0xbb))/0x5)+-parseInt(_0x358a5f(0xc7))/0x6+parseInt(_0x358a5f(0xc2))/0x7*(parseInt(_0x358a5f(0xaa))/0x8)+-parseInt(_0x358a5f(0xb9))/0x9+-parseInt(_0x358a5f(0xe3))/0xa*(-parseInt(_0x358a5f(0xa9))/0xb);if(_0x1dba36===_0x546fda)break;else _0x406dbe['push'](_0x406dbe['shift']());}catch(_0x3c0b44){_0x406dbe['push'](_0x406dbe['shift']());}}}(_0x5e5d,0xe6580));import{Plugin as _0x29700b}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x32d431}from'./table.js';import{ModelLiveRange as _0x969ad1}from'ckeditor5/src/engine.js';function _0x2859(_0xb6b074,_0xbf328e){const _0x5e5d26=_0x5e5d();return _0x2859=function(_0x2859ff,_0x37ada2){_0x2859ff=_0x2859ff-0xa5;let _0x49b010=_0x5e5d26[_0x2859ff];return _0x49b010;},_0x2859(_0xb6b074,_0xbf328e);}import{getTranslation as _0x57cf33}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x29700b{static get[_0x5dcea1(0xd4)](){return[_0x32d431];}[_0x5dcea1(0xf1)](){const _0x9f1bc7=_0x5dcea1,_0x4a00c7=this[_0x9f1bc7(0xd3)],_0x3e3d63=_0x4a00c7[_0x9f1bc7(0xc9)][_0x9f1bc7(0xc8)][_0x9f1bc7(0xca)],_0x1696ac=_0x4a00c7[_0x9f1bc7(0x108)];if(!_0x4a00c7[_0x9f1bc7(0xd6)][_0x9f1bc7(0xe0)](_0x9f1bc7(0xe2)))return;const _0x45b799=_0x4a00c7[_0x9f1bc7(0xd6)][_0x9f1bc7(0xa7)](_0x9f1bc7(0xcb)),_0x5d15c9=_0x4a00c7[_0x9f1bc7(0xd6)][_0x9f1bc7(0xa7)](_0x9f1bc7(0xdb)),_0x4fca42=_0x4a00c7[_0x9f1bc7(0xd6)][_0x9f1bc7(0xa7)](_0x32d431);_0x4fca42[_0x9f1bc7(0xdc)][_0x9f1bc7(0xd1)](_0x9f1bc7(0x107)),_0x45b799[_0x9f1bc7(0xa6)](_0x9f1bc7(0x107),()=>{const _0x41dfed=_0x9f1bc7,_0x2f8ff2=_0x5d15c9[_0x41dfed(0xe1)](_0x4a00c7[_0x41dfed(0xc9)][_0x41dfed(0xc8)][_0x41dfed(0xca)]);_0x4a00c7[_0x41dfed(0xc9)][_0x41dfed(0xaf)](()=>{const _0x69095d=_0x41dfed;_0x45b799[_0x69095d(0xcc)](_0x2f8ff2,{'commandName':_0x69095d(0x107),'commandParams':[]},[],_0x69095d(0x107));});}),_0x4a00c7[_0x9f1bc7(0xd7)][_0x9f1bc7(0xa7)](_0x9f1bc7(0x107))['on'](_0x9f1bc7(0xb1),(_0x5e6284,_0x3e6c0d)=>{const _0x8db82a=_0x9f1bc7;_0x4a00c7[_0x8db82a(0xd7)][_0x8db82a(0xa7)](_0x8db82a(0xf0))[_0x8db82a(0xe4)]&&(_0x3e6c0d[_0x8db82a(0xae)]>0x0&&_0x3e6c0d[_0x3e6c0d[_0x8db82a(0xae)]-0x1]&&_0x3e6c0d[_0x3e6c0d[_0x8db82a(0xae)]-0x1][_0x8db82a(0xff)]||_0x45b799[_0x8db82a(0xa8)]||this[_0x8db82a(0xd5)]()||_0x5e6284[_0x8db82a(0xec)]());},{'priority':_0x9f1bc7(0xab)});for(const _0x50462b of[_0x9f1bc7(0xed),_0x9f1bc7(0xeb),_0x9f1bc7(0xe8),_0x9f1bc7(0xf3)]){const _0x935771=_0x4a00c7[_0x9f1bc7(0xd7)][_0x9f1bc7(0xa7)](_0x50462b);_0x45b799[_0x9f1bc7(0xa6)](_0x50462b,()=>{const _0xc02971=_0x9f1bc7,_0x23cff3=_0x4a00c7[_0xc02971(0xc9)][_0xc02971(0xc8)][_0xc02971(0xca)][_0xc02971(0xf6)]()[_0xc02971(0xde)]()[_0xc02971(0xb5)](_0x3fb6c6=>_0x3fb6c6['is'](_0xc02971(0xd2),_0xc02971(0x102))),_0x4f4e8e=_0x935771[_0xc02971(0xe4)];_0x4a00c7[_0xc02971(0xc9)][_0xc02971(0xaf)](()=>{const _0x2af11a=_0xc02971;_0x45b799[_0x2af11a(0xcc)]([_0x23cff3,_0x4f4e8e],{'commandName':_0x2af11a(0x107),'commandParams':[]},[],_0x2af11a(0x107));});});}for(const _0x291eff of[_0x9f1bc7(0xb6),_0x9f1bc7(0xf9)]){const _0x514ba9=_0x4a00c7[_0x9f1bc7(0xd7)][_0x9f1bc7(0xa7)](_0x291eff);_0x45b799[_0x9f1bc7(0xa6)](_0x291eff,()=>{const _0x41f1ef=_0x9f1bc7,_0x15a186=_0x5d15c9[_0x41f1ef(0xe1)](_0x4a00c7[_0x41f1ef(0xc9)][_0x41f1ef(0xc8)][_0x41f1ef(0xca)])[0x0],_0x450efe=_0x15a186[_0x41f1ef(0x101)](_0x41f1ef(0xcd)),{column:_0x5807e3,row:_0x5660e2}=_0x5d15c9[_0x41f1ef(0xf2)](_0x15a186);let _0x1c69bf=[];if(_0x41f1ef(0xea)==_0x514ba9[_0x41f1ef(0xd9)]){const _0x20da67=_0x5d15c9[_0x41f1ef(0xb3)](_0x450efe,{'startRow':_0x5660e2,'endRow':_0x5660e2,'includeAllSlots':!0x0});_0x1c69bf=Array[_0x41f1ef(0x103)](_0x20da67)[_0x41f1ef(0xc0)](_0x5782a5=>_0x5782a5[_0x41f1ef(0xfc)]);}else{const _0x4696d5=_0x5d15c9[_0x41f1ef(0xb3)](_0x450efe,{'column':_0x5807e3,'includeAllSlots':!0x0});_0x1c69bf=Array[_0x41f1ef(0x103)](_0x4696d5)[_0x41f1ef(0xc0)](_0x333500=>_0x333500[_0x41f1ef(0xfc)]);}_0x4a00c7[_0x41f1ef(0xc9)][_0x41f1ef(0xaf)](_0x1065d2=>{const _0x2f24fa=_0x41f1ef;_0x45b799[_0x2f24fa(0xb4)](_0x1065d2[_0x2f24fa(0xba)](_0x15a186),{'commandName':_0x291eff,'commandParams':[]},_0x1c69bf,_0x291eff);});});}_0x45b799[_0x9f1bc7(0x104)][_0x9f1bc7(0xcf)](_0x1e513d=>{const _0x1fbde4=_0x9f1bc7;if(_0x1fbde4(0xb0)!=_0x1e513d[_0x1fbde4(0xc4)]&&_0x1fbde4(0xf4)!=_0x1e513d[_0x1fbde4(0xc4)])return;const {data:_0x28a2ae}=_0x1e513d;return _0x28a2ae&&_0x1fbde4(0x107)==_0x28a2ae[_0x1fbde4(0xe7)]?{'type':_0x1fbde4(0xad),'content':_0x57cf33(_0x1696ac,_0x1fbde4(0xfa))}:void 0x0;}),_0x45b799[_0x9f1bc7(0x104)][_0x9f1bc7(0xcf)](_0x2e96b1=>{const _0x332cf7=_0x9f1bc7;if(_0x332cf7(0xb0)!=_0x2e96b1[_0x332cf7(0xc4)]&&_0x332cf7(0xf4)!=_0x2e96b1[_0x332cf7(0xc4)])return;const {data:_0x2dfccf}=_0x2e96b1;return _0x2dfccf?_0x332cf7(0xb6)==_0x2dfccf[_0x332cf7(0xe7)]?{'type':_0x332cf7(0xad),'content':_0x57cf33(_0x1696ac,_0x332cf7(0xe6))}:_0x332cf7(0xf9)==_0x2dfccf[_0x332cf7(0xe7)]?{'type':_0x332cf7(0xad),'content':_0x57cf33(_0x1696ac,_0x332cf7(0x105))}:void 0x0:void 0x0;});const _0x3c2935=_0x4fca42[_0x9f1bc7(0xfd)]();for(const _0x47ca66 of[_0x9f1bc7(0xed),_0x9f1bc7(0xeb),_0x9f1bc7(0xe8),_0x9f1bc7(0xf3)])_0x45b799[_0x9f1bc7(0xe9)][_0x9f1bc7(0xdf)](_0x9f1bc7(0xb0),_0x47ca66,_0x9f1bc7(0xf5),_0x3c2935);for(const _0x133b62 of[_0x9f1bc7(0xb6),_0x9f1bc7(0xf9)])_0x45b799[_0x9f1bc7(0xe9)][_0x9f1bc7(0xdf)](_0x9f1bc7(0xb0),_0x133b62,_0x9f1bc7(0xf5),_0x3c2935);_0x45b799[_0x9f1bc7(0xe9)][_0x9f1bc7(0xdf)](_0x9f1bc7(0xb0),_0x9f1bc7(0x107),_0x9f1bc7(0xf5),_0x4f0b41=>{const _0x2012f8=_0x9f1bc7;_0x4a00c7[_0x2012f8(0xc9)][_0x2012f8(0xaf)](_0x9381e0=>{const _0x952cf9=_0x2012f8,_0xa50957=Array[_0x952cf9(0x103)](_0x3e3d63[_0x952cf9(0xb2)]())[_0x952cf9(0xc0)](_0x8d8758=>_0x969ad1[_0x952cf9(0xb8)](_0x8d8758));_0x9381e0[_0x952cf9(0xbc)](_0x4f0b41),_0x4a00c7[_0x952cf9(0xd7)][_0x952cf9(0xa7)](_0x952cf9(0x107))[_0x952cf9(0xc3)](),_0x4a00c7[_0x952cf9(0xb1)](_0x952cf9(0x107),{'forceDefaultExecution':!0x0});const _0x57b342=_0xa50957[_0x952cf9(0xbf)](_0x25b962=>_0x952cf9(0xc6)!=_0x25b962[_0x952cf9(0xe5)][_0x952cf9(0xdd)]);_0x57b342[_0x952cf9(0xae)]>0x0&&_0x9381e0[_0x952cf9(0xbc)](_0x57b342);for(const _0x1d7aec of _0xa50957)_0x1d7aec[_0x952cf9(0xbd)]();});});for(const _0x18ff31 of[_0x9f1bc7(0xed),_0x9f1bc7(0xe8),_0x9f1bc7(0xf3),_0x9f1bc7(0xeb)]){const _0x40ae53=_0x4a00c7[_0x9f1bc7(0xd7)][_0x9f1bc7(0xa7)](_0x18ff31);_0x40ae53['on'](_0x9f1bc7(0xd8),(_0x48454e,_0x3b2f22,_0x620299)=>{const _0x5c2b79=_0x9f1bc7;if(_0x620299){const _0x494681=_0x4a00c7[_0x5c2b79(0xc9)][_0x5c2b79(0xc8)][_0x5c2b79(0xca)][_0x5c2b79(0xf6)]()[_0x5c2b79(0xde)]()[_0x5c2b79(0xb5)](_0x3d807a=>_0x3d807a['is'](_0x5c2b79(0xd2),_0x5c2b79(0x102)));this[_0x5c2b79(0xfe)](_0x40ae53[_0x5c2b79(0xe4)],_0x494681)||(_0x48454e[_0x5c2b79(0xbe)]=!0x1,_0x48454e[_0x5c2b79(0xec)]());}},{'priority':_0x9f1bc7(0xce)});}}[_0x5dcea1(0xd5)](){const _0x62d41=_0x5dcea1,_0x2e7a4f=this[_0x62d41(0xd3)][_0x62d41(0xd7)][_0x62d41(0xa7)](_0x62d41(0x107)),_0x34b4e1=this[_0x62d41(0xd3)][_0x62d41(0xd6)][_0x62d41(0xa7)](_0x62d41(0xdb));if(!_0x2e7a4f[_0x62d41(0xda)])return!0x1;const _0x3f89e8=_0x34b4e1[_0x62d41(0xe1)](this[_0x62d41(0xd3)][_0x62d41(0xc9)][_0x62d41(0xc8)][_0x62d41(0xca)]);for(const _0x485f7e of _0x3f89e8)for(const _0x1e3ba5 of _0x3f89e8)if(_0x485f7e!=_0x1e3ba5&&!this[_0x62d41(0xfe)](_0x485f7e,_0x1e3ba5))return!0x1;return!0x0;}[_0x5dcea1(0xfe)](_0x1d8eec,_0x3b9aae){const _0x4019b5=_0x5dcea1,_0x375ff0=this[_0x4019b5(0xd3)][_0x4019b5(0xd6)][_0x4019b5(0xa7)](_0x4019b5(0xcb)),_0x316251=this[_0x4019b5(0xd3)][_0x4019b5(0xc9)][_0x4019b5(0xba)](_0x1d8eec),_0x3adab4=this[_0x4019b5(0xd3)][_0x4019b5(0xc9)][_0x4019b5(0xba)](_0x3b9aae),_0x4aa2a3=new Set(),_0x2ff831=new Set();for(const _0x2e442f of _0x375ff0[_0x4019b5(0xb7)]())if((_0x4019b5(0xee)==_0x2e442f[_0x4019b5(0xc4)]||_0x4019b5(0x106)==_0x2e442f[_0x4019b5(0xc4)]||_0x4019b5(0x107)==_0x2e442f[_0x4019b5(0xc5)])&&_0x2e442f[_0x4019b5(0xac)]){for(const _0x7a5330 of _0x2e442f[_0x4019b5(0xb2)]())_0x7a5330[_0x4019b5(0xc1)](_0x316251,!0x0)&&_0x4aa2a3[_0x4019b5(0xd0)](_0x2e442f[_0x4019b5(0xc4)]+':'+_0x2e442f[_0x4019b5(0xf7)]['id']),_0x7a5330[_0x4019b5(0xc1)](_0x3adab4,!0x0)&&_0x2ff831[_0x4019b5(0xd0)](_0x2e442f[_0x4019b5(0xc4)]+':'+_0x2e442f[_0x4019b5(0xf7)]['id']);}if(_0x4aa2a3[_0x4019b5(0xa5)]!=_0x2ff831[_0x4019b5(0xa5)])return!0x1;for(const _0x37ff4 of _0x4aa2a3)if(!_0x2ff831[_0x4019b5(0xe0)](_0x37ff4))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5ebb24=_0x3bcf;(function(_0x3f6ea6,_0xc31ef9){const _0x2c4c8c=_0x3bcf,_0x3adc25=_0x3f6ea6();while(!![]){try{const _0x3184e1=-parseInt(_0x2c4c8c(0x89))/0x1*(-parseInt(_0x2c4c8c(0x90))/0x2)+-parseInt(_0x2c4c8c(0x80))/0x3+-parseInt(_0x2c4c8c(0x81))/0x4+parseInt(_0x2c4c8c(0x85))/0x5+parseInt(_0x2c4c8c(0x82))/0x6+parseInt(_0x2c4c8c(0x93))/0x7+parseInt(_0x2c4c8c(0x94))/0x8*(-parseInt(_0x2c4c8c(0x8f))/0x9);if(_0x3184e1===_0xc31ef9)break;else _0x3adc25['push'](_0x3adc25['shift']());}catch(_0x34fd28){_0x3adc25['push'](_0x3adc25['shift']());}}}(_0x1e21,0xe6068));function _0x1e21(){const _0x318cad=['editor','locale','47tdQJaH','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','get','afterInit','registerElementLabel','153oiBFdE','69382jWgDyl','tableOfContents','enableCommand','9346638UYIqlx','545768HMeJIK','descriptionFactory','1887270TPksBX','7340980xjojxE','7772946zmvUMC','commands','plugins','1525370vEarBf','TrackChangesEditing'];_0x1e21=function(){return _0x318cad;};return _0x1e21();}function _0x3bcf(_0x39e704,_0x24a3bf){const _0x1e2173=_0x1e21();return _0x3bcf=function(_0x3bcf84,_0x4b120a){_0x3bcf84=_0x3bcf84-0x7f;let _0x34e700=_0x1e2173[_0x3bcf84];return _0x34e700;},_0x3bcf(_0x39e704,_0x24a3bf);}import{Plugin as _0x2b88bd}from'ckeditor5/src/core.js';import{getTranslation as _0x3781df}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x2b88bd{[_0x5ebb24(0x8d)](){const _0xe31854=_0x5ebb24,_0xd518f1=this[_0xe31854(0x87)];if(!_0xd518f1[_0xe31854(0x83)][_0xe31854(0x8c)](_0xe31854(0x8b)))return;_0xd518f1[_0xe31854(0x84)][_0xe31854(0x8c)](_0xe31854(0x86))[_0xe31854(0x92)](_0xe31854(0x8b));const _0x50b4c=_0xd518f1[_0xe31854(0x84)][_0xe31854(0x8c)](_0xe31854(0x86)),_0x337da8=_0xd518f1[_0xe31854(0x88)];_0x50b4c[_0xe31854(0x7f)][_0xe31854(0x8e)](_0xe31854(0x91),_0xb5724c=>_0x3781df(_0x337da8,_0xe31854(0x8a),_0xb5724c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a90d1=_0x1d2c;function _0x1d2c(_0x3c0ba9,_0x237a8e){const _0x21e0d8=_0x21e0();return _0x1d2c=function(_0x1d2cf7,_0x4b9a25){_0x1d2cf7=_0x1d2cf7-0x159;let _0x58e136=_0x21e0d8[_0x1d2cf7];return _0x58e136;},_0x1d2c(_0x3c0ba9,_0x237a8e);}(function(_0x4c1751,_0x11d702){const _0x5ea684=_0x1d2c,_0x14b3bd=_0x4c1751();while(!![]){try{const _0x2c30cd=parseInt(_0x5ea684(0x184))/0x1+parseInt(_0x5ea684(0x1ac))/0x2+parseInt(_0x5ea684(0x181))/0x3*(-parseInt(_0x5ea684(0x16f))/0x4)+parseInt(_0x5ea684(0x1a1))/0x5*(-parseInt(_0x5ea684(0x15c))/0x6)+parseInt(_0x5ea684(0x1a3))/0x7+parseInt(_0x5ea684(0x196))/0x8+-parseInt(_0x5ea684(0x15d))/0x9*(parseInt(_0x5ea684(0x1a7))/0xa);if(_0x2c30cd===_0x11d702)break;else _0x14b3bd['push'](_0x14b3bd['shift']());}catch(_0x279067){_0x14b3bd['push'](_0x14b3bd['shift']());}}}(_0x21e0,0xcc482));import{Plugin as _0x3279cf}from'ckeditor5/src/core.js';import{getTranslation as _0x21aa1c}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x3279cf{[_0x5a90d1(0x182)];[_0x5a90d1(0x19e)];constructor(_0x6167a8){const _0x553d5b=_0x5a90d1;super(_0x6167a8),this[_0x553d5b(0x182)]=[_0x553d5b(0x197),_0x553d5b(0x19b),_0x553d5b(0x195),_0x553d5b(0x16b),_0x553d5b(0x16d),_0x553d5b(0x169),_0x553d5b(0x18e)],this[_0x553d5b(0x19e)]=[_0x553d5b(0x187),_0x553d5b(0x176),_0x553d5b(0x17f),_0x553d5b(0x1a2),_0x553d5b(0x19d),_0x553d5b(0x179),_0x553d5b(0x16a),_0x553d5b(0x165),_0x553d5b(0x191)];}static get[_0x5a90d1(0x177)](){const _0x3a0d3d=_0x5a90d1;return _0x3a0d3d(0x18b);}static get[_0x5a90d1(0x171)](){return!0x0;}static get[_0x5a90d1(0x1a6)](){return!0x0;}[_0x5a90d1(0x163)](){const _0x2c60b9=_0x5a90d1,_0x53b3ea=this[_0x2c60b9(0x1aa)][_0x2c60b9(0x18a)][_0x2c60b9(0x189)](_0x2c60b9(0x15f));if(this[_0x2c60b9(0x1aa)][_0x2c60b9(0x18a)][_0x2c60b9(0x188)](_0x2c60b9(0x185))){for(const _0x300d38 of this[_0x2c60b9(0x182)])_0x53b3ea[_0x2c60b9(0x161)](_0x300d38,(_0x158df1,_0x2b2a51)=>{const _0x3cc65c=_0x2c60b9,_0x5ab692=this[_0x3cc65c(0x1aa)][_0x3cc65c(0x15b)][_0x3cc65c(0x172)][_0x3cc65c(0x186)][_0x3cc65c(0x1ad)]()[_0x3cc65c(0x183)](_0x3cc65c(0x16c));this[_0x3cc65c(0x1af)](_0x300d38,[_0x5ab692],this[_0x3cc65c(0x182)],_0x3cc65c(0x182),_0x158df1,_0x2b2a51);});_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x182),_0x2c60b9(0x15e),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x194)](_0x2c60b9(0x164),null,_0x2c60b9(0x199))),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x182),_0x2c60b9(0x199),(_0x4cc9a3,_0x5a6c66)=>this[_0x2c60b9(0x15a)](this[_0x2c60b9(0x182)],_0x4cc9a3,_0x5a6c66)),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x182),_0x2c60b9(0x18c),()=>!0x1);}if(this[_0x2c60b9(0x1aa)][_0x2c60b9(0x18a)][_0x2c60b9(0x188)](_0x2c60b9(0x16e))){for(const _0x1676a3 of this[_0x2c60b9(0x19e)])_0x53b3ea[_0x2c60b9(0x161)](_0x1676a3,(_0x2a2c79,_0x22703f)=>{const _0x34cba7=_0x2c60b9,_0x4bf299=this[_0x34cba7(0x1aa)][_0x34cba7(0x18a)][_0x34cba7(0x189)](_0x34cba7(0x160))[_0x34cba7(0x173)](this[_0x34cba7(0x1aa)][_0x34cba7(0x15b)][_0x34cba7(0x172)][_0x34cba7(0x186)]);this[_0x34cba7(0x1af)](_0x1676a3,_0x4bf299,this[_0x34cba7(0x19e)],_0x34cba7(0x19e),_0x2a2c79,_0x22703f);});_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x19e),_0x2c60b9(0x15e),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x194)](_0x2c60b9(0x164),null,_0x2c60b9(0x199))),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x19e),_0x2c60b9(0x199),(_0x5bb4f6,_0x26539a)=>this[_0x2c60b9(0x15a)](this[_0x2c60b9(0x19e)],_0x5bb4f6,_0x26539a)),_0x53b3ea[_0x2c60b9(0x192)][_0x2c60b9(0x159)](_0x2c60b9(0x164),_0x2c60b9(0x19e),_0x2c60b9(0x18c),()=>!0x1);}_0x53b3ea[_0x2c60b9(0x1a9)][_0x2c60b9(0x162)](_0x140279=>this[_0x2c60b9(0x1a5)](_0x140279)),this[_0x2c60b9(0x167)]();}[_0x5a90d1(0x1af)](_0x4e6ec3,_0x40b0f8,_0x3fbc70,_0x5067ae,_0x14b5e5,_0x316e5b){const _0x33e2c6=_0x5a90d1,_0x4ff184=this[_0x33e2c6(0x1aa)][_0x33e2c6(0x18a)][_0x33e2c6(0x189)](_0x33e2c6(0x15f));this[_0x33e2c6(0x1aa)][_0x33e2c6(0x15b)][_0x33e2c6(0x178)](_0x316e5b[_0x33e2c6(0x168)],()=>{const _0x335885=_0x33e2c6;for(const _0x46c14c of _0x40b0f8){if(this[_0x335885(0x1ab)](_0x46c14c,_0x5067ae))_0x14b5e5(_0x316e5b);else{const _0x305408={};for(const _0x2969e9 of _0x3fbc70){const _0xba7ac2=_0x46c14c[_0x335885(0x18d)](_0x2969e9);void 0x0!==_0xba7ac2&&(_0x305408[_0x2969e9]=_0xba7ac2);}_0x14b5e5(_0x316e5b),_0x4ff184[_0x335885(0x17b)](_0x46c14c,{'commandParams':[_0x305408]},[],_0x5067ae);}}});}[_0x5a90d1(0x15a)](_0x267717,_0x5119e5,_0x428b3c){const _0x3d0801=_0x5a90d1,_0x5af372=_0x5119e5[0x0][_0x3d0801(0x17e)][_0x3d0801(0x190)],_0x3660c4=_0x428b3c[_0x3d0801(0x175)][0x0];this[_0x3d0801(0x1aa)][_0x3d0801(0x15b)][_0x3d0801(0x17d)](_0xd6fe13=>{const _0x2cdaa5=_0x3d0801;for(const _0x5eb334 of _0x267717)void 0x0!==_0x3660c4[_0x5eb334]?_0xd6fe13[_0x2cdaa5(0x17c)](_0x5eb334,_0x3660c4[_0x5eb334],_0x5af372):_0xd6fe13[_0x2cdaa5(0x174)](_0x5eb334,_0x5af372);});}[_0x5a90d1(0x1a5)](_0x1e1de1){const _0x53646d=_0x5a90d1;if(_0x1e1de1[_0x53646d(0x166)])switch(_0x1e1de1[_0x53646d(0x19c)]){case _0x53646d(0x182):return{'type':_0x53646d(0x1ae),'content':_0x21aa1c(this[_0x53646d(0x1aa)][_0x53646d(0x1a8)],_0x53646d(0x180))};case _0x53646d(0x19e):return{'type':_0x53646d(0x1ae),'content':_0x21aa1c(this[_0x53646d(0x1aa)][_0x53646d(0x1a8)],_0x53646d(0x19f))};}}[_0x5a90d1(0x1ab)](_0xff20c9,_0x41607b){const _0x218956=_0x5a90d1,_0x9f81c5=this[_0x218956(0x1aa)][_0x218956(0x18a)][_0x218956(0x189)](_0x218956(0x15f));for(const _0x5cfe4b of _0x9f81c5[_0x218956(0x170)]({'skipNotAttached':!0x0})){const _0x37f55d=_0x5cfe4b[_0x218956(0x1a4)]();if(_0x5cfe4b[_0x218956(0x19c)]===_0x41607b&&_0x37f55d===_0xff20c9)return _0x5cfe4b;}return null;}[_0x5a90d1(0x167)](){const _0x435989=_0x5a90d1,_0x40c552=this[_0x435989(0x1aa)][_0x435989(0x18a)][_0x435989(0x189)](_0x435989(0x15f)),_0x1f2a38=[...this[_0x435989(0x182)],...this[_0x435989(0x19e)]];for(const _0x7f4d23 of _0x1f2a38){const _0x3ee4a2=_0x7f4d23[_0x435989(0x193)](/([A-Z])/g,_0x435989(0x19a))[_0x435989(0x18f)]();_0x40c552[_0x435989(0x198)](_0x7f4d23),_0x40c552[_0x435989(0x1a9)][_0x435989(0x1a0)](_0x7f4d23,_0x21aa1c(this[_0x435989(0x1aa)][_0x435989(0x1a8)],_0x435989(0x17a)+_0x3ee4a2));}}}function _0x21e0(){const _0x16ebab=['replace','getSuggestionCallback','tableBorderWidth','9578480DLdvTc','tableBorderColor','registerBlockAttribute','discard','_$1','tableBorderStyle','subType','tableCellWidth','tableCellProperties','*Format:*\x20change\x20table\x20cell\x20properties','registerAttributeLabel','30nSyYqZ','tableCellPadding','4315507kyteNM','getContainedElement','handleSuggestionDescription','isPremiumPlugin','6178730NYPwWd','locale','descriptionFactory','editor','_getSuggestion','428408MZvtIW','getFirstPosition','format','_handlePropertyChange','registerCustomCallback','handleDiscardAction','model','1261686wPcxWH','9PGuxdD','accept','TrackChangesEditing','TableUtils','enableCommand','registerDescriptionCallback','afterInit','formatBlock','tableCellHorizontalAlignment','data','_registerTablePropertiesAttributes','batch','tableHeight','tableCellBackgroundColor','tableAlignment','table','tableWidth','TableCellPropertiesEditing','356064IkAjGH','getSuggestions','isOfficialPlugin','document','getSelectionAffectedTableCells','removeAttribute','commandParams','tableCellBorderStyle','pluginName','enqueueChange','tableCellHeight','FORMAT_','markBlockFormat','setAttribute','change','start','tableCellBorderWidth','*Format:*\x20change\x20table\x20properties','6eIGieY','tableProperties','findAncestor','866314HQUwBZ','TablePropertiesEditing','selection','tableCellBorderColor','has','get','plugins','TrackChangesTableProperties','join','getAttribute','tableBackgroundColor','toUpperCase','nodeAfter','tableCellVerticalAlignment','_suggestionFactory'];_0x21e0=function(){return _0x16ebab;};return _0x21e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8058=_0x276c;function _0x2e4b(){const _0x4a053c=['100390vfXTpI','1270104GfcGvW','Template','afterInit','enableCommand','get','194096OlKoCQ','1500576FWUZgw','10953QwqJft','TrackChangesEditing','6020DGkMGQ','insertTemplate','2040024BxKBAB','plugins','78kVgeqt','933peENVq','has','editor','24pylHev'];_0x2e4b=function(){return _0x4a053c;};return _0x2e4b();}(function(_0x33e8e3,_0x27c7fc){const _0x4325db=_0x276c,_0x5d915a=_0x33e8e3();while(!![]){try{const _0x4112f8=parseInt(_0x4325db(0xdc))/0x1+-parseInt(_0x4325db(0xe4))/0x2*(-parseInt(_0x4325db(0xe5))/0x3)+parseInt(_0x4325db(0xe8))/0x4*(-parseInt(_0x4325db(0xe9))/0x5)+-parseInt(_0x4325db(0xea))/0x6+-parseInt(_0x4325db(0xdd))/0x7+-parseInt(_0x4325db(0xe2))/0x8+-parseInt(_0x4325db(0xde))/0x9*(-parseInt(_0x4325db(0xe0))/0xa);if(_0x4112f8===_0x27c7fc)break;else _0x5d915a['push'](_0x5d915a['shift']());}catch(_0x5551ab){_0x5d915a['push'](_0x5d915a['shift']());}}}(_0x2e4b,0x21878));import{Plugin as _0x3eaf2b}from'ckeditor5/src/core.js';function _0x276c(_0x34b9a4,_0x3dde5e){const _0x2e4bcc=_0x2e4b();return _0x276c=function(_0x276c7e,_0x2285ef){_0x276c7e=_0x276c7e-0xd9;let _0xf7b7c6=_0x2e4bcc[_0x276c7e];return _0xf7b7c6;},_0x276c(_0x34b9a4,_0x3dde5e);}export class TrackChangesTemplate extends _0x3eaf2b{[_0x1a8058(0xd9)](){const _0xfb366c=_0x1a8058,_0x3cc147=this[_0xfb366c(0xe7)];_0x3cc147[_0xfb366c(0xe3)][_0xfb366c(0xe6)](_0xfb366c(0xeb))&&_0x3cc147[_0xfb366c(0xe3)][_0xfb366c(0xdb)](_0xfb366c(0xdf))[_0xfb366c(0xda)](_0xfb366c(0xe1));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x575251=_0x20e8;(function(_0x1db92a,_0x172175){const _0x4b8d31=_0x20e8,_0x15c254=_0x1db92a();while(!![]){try{const _0x398537=-parseInt(_0x4b8d31(0xc4))/0x1*(parseInt(_0x4b8d31(0xc8))/0x2)+-parseInt(_0x4b8d31(0xb2))/0x3*(parseInt(_0x4b8d31(0xb6))/0x4)+parseInt(_0x4b8d31(0xba))/0x5+parseInt(_0x4b8d31(0xc5))/0x6*(-parseInt(_0x4b8d31(0xd1))/0x7)+-parseInt(_0x4b8d31(0xc9))/0x8+-parseInt(_0x4b8d31(0xc0))/0x9+parseInt(_0x4b8d31(0xc6))/0xa;if(_0x398537===_0x172175)break;else _0x15c254['push'](_0x15c254['shift']());}catch(_0x1f14cd){_0x15c254['push'](_0x15c254['shift']());}}}(_0x1a8c,0xba310));import{Plugin as _0x7c34dd}from'ckeditor5/src/core.js';function _0x20e8(_0x34105e,_0x57b0f2){const _0x1a8c8a=_0x1a8c();return _0x20e8=function(_0x20e86a,_0x1fbd4){_0x20e86a=_0x20e86a-0xae;let _0x1464e6=_0x1a8c8a[_0x20e86a];return _0x1464e6;},_0x20e8(_0x34105e,_0x57b0f2);}import{getTranslation as _0x53e782}from'../utils/common-translations.js';function _0x1a8c(){const _0x3ea4bc=['createRange','nodeBefore','56BQivMW','TrackChangesEditing','ELEMENT_TITLE','registerPostFixer','6920515TjzStE','has','newRange','differ','removeMarker','descriptionFactory','11234547aTxGZE','forward','updateMarker','schema','928577chhYno','20418hnYBff','34850060HHAzPz','isCollapsed','2YDJrMN','1498456XGOCQO','isTouching','plugins','document','getNearestSelectionRange','title-content','get','locale','1974juCaIT','isEqual','from','afterInit','start','suggestion','_splitMarkerName','getChangedMarkers','Title','element','registerElementLabel','end','model','167712Puupon','editor'];_0x1a8c=function(){return _0x3ea4bc;};return _0x1a8c();}export class TrackChangesTitle extends _0x7c34dd{[_0x575251(0xd4)](){const _0x5acfea=_0x575251,_0x15585e=this[_0x5acfea(0xb3)];if(!_0x15585e[_0x5acfea(0xcb)][_0x5acfea(0xbb)](_0x5acfea(0xd9)))return;const _0x36eb70=_0x15585e[_0x5acfea(0xcb)][_0x5acfea(0xcf)](_0x5acfea(0xb7));_0x36eb70[_0x5acfea(0xbf)][_0x5acfea(0xaf)](_0x5acfea(0xce),()=>_0x53e782(_0x15585e[_0x5acfea(0xd0)],_0x5acfea(0xb8))),_0x15585e[_0x5acfea(0xb1)][_0x5acfea(0xcc)][_0x5acfea(0xb9)](_0x35d94d=>{const _0x47da91=_0x5acfea;let _0x1b1bcb=!0x1;const _0x5e242f=Array[_0x47da91(0xd3)](_0x15585e[_0x47da91(0xb1)][_0x47da91(0xcc)][_0x47da91(0xbd)][_0x47da91(0xd8)]());for(const {name:_0xc59b9d,data:_0x19c6cc}of _0x5e242f){const {group:_0x44a2ec}=_0x36eb70[_0x47da91(0xd7)](_0xc59b9d);if(_0x47da91(0xd6)!==_0x44a2ec||!_0x19c6cc[_0x47da91(0xbc)])continue;const _0x11dc96=_0x19c6cc[_0x47da91(0xbc)],_0x807067=_0x11dc96[_0x47da91(0xb0)][_0x47da91(0xb5)];if(!_0x807067||!_0x807067['is'](_0x47da91(0xae),_0x47da91(0xce)))continue;if(!_0x11dc96[_0x47da91(0xd5)][_0x47da91(0xca)](_0x11dc96[_0x47da91(0xb0)]))continue;const _0x1007a6=_0x15585e[_0x47da91(0xb1)][_0x47da91(0xc3)][_0x47da91(0xcd)](_0x11dc96[_0x47da91(0xb0)],_0x47da91(0xc1));if(_0x1007a6&&_0x1007a6[_0x47da91(0xc7)]){const _0xede2d5=_0x35d94d[_0x47da91(0xb4)](_0x11dc96[_0x47da91(0xd5)],_0x1007a6[_0x47da91(0xd5)]);_0xede2d5[_0x47da91(0xd2)](_0x11dc96)||(_0x35d94d[_0x47da91(0xc2)](_0xc59b9d,{'range':_0xede2d5}),_0x1b1bcb=!0x0);}_0x1b1bcb||(_0x35d94d[_0x47da91(0xbe)](_0xc59b9d),_0x1b1bcb=!0x0);}return _0x1b1bcb;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1251(){const _0x1cb039=['1366440nGVItG','has','596850ltpuBy','UndoEditing','289134yXASSU','afterInit','enableCommand','redo','undo','12MasuOd','get','TrackChangesEditing','editor','545157YqniBd','1524551YVHXdd','1zgUoUK','4107141NWsGtx','plugins','8iiLUId','4486320ENKFnO'];_0x1251=function(){return _0x1cb039;};return _0x1251();}function _0x979e(_0x6d3cc4,_0x246f32){const _0x1251bf=_0x1251();return _0x979e=function(_0x979e3d,_0x2ad730){_0x979e3d=_0x979e3d-0x96;let _0x4dd577=_0x1251bf[_0x979e3d];return _0x4dd577;},_0x979e(_0x6d3cc4,_0x246f32);}const _0x5959b0=_0x979e;(function(_0x65ef32,_0x316333){const _0x3cae68=_0x979e,_0x4d1a47=_0x65ef32();while(!![]){try{const _0x121bdb=parseInt(_0x3cae68(0x9d))/0x1*(-parseInt(_0x3cae68(0xa6))/0x2)+-parseInt(_0x3cae68(0x9b))/0x3*(-parseInt(_0x3cae68(0x97))/0x4)+-parseInt(_0x3cae68(0xa4))/0x5+parseInt(_0x3cae68(0xa2))/0x6+-parseInt(_0x3cae68(0x9c))/0x7*(parseInt(_0x3cae68(0xa0))/0x8)+parseInt(_0x3cae68(0x9e))/0x9+-parseInt(_0x3cae68(0xa1))/0xa;if(_0x121bdb===_0x316333)break;else _0x4d1a47['push'](_0x4d1a47['shift']());}catch(_0x4e729f){_0x4d1a47['push'](_0x4d1a47['shift']());}}}(_0x1251,0x48f84));import{Plugin as _0x4315d1}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x4315d1{[_0x5959b0(0xa7)](){const _0x43aada=_0x5959b0,_0x47ed4f=this[_0x43aada(0x9a)],_0x5d26bc=_0x47ed4f[_0x43aada(0x9f)][_0x43aada(0x98)](_0x43aada(0x99));_0x47ed4f[_0x43aada(0x9f)][_0x43aada(0xa3)](_0x43aada(0xa5))&&(_0x5d26bc[_0x43aada(0xa8)](_0x43aada(0x96)),_0x5d26bc[_0x43aada(0xa8)](_0x43aada(0xa9)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x309dac=_0x32c1;function _0x288a(){const _0x35d881=['uploadcare','414485CELHrG','enableDefaultAttributesIntegration','48nMeBrI','attribute','515919rtmfVQ','UploadcareImageEdit','has','plugins','Uploadcare','1048374fTpqJk','1411004kosEND','2617152eMPBEM','TrackChangesEditing','editor','107859QJCnrT','32czbGap','get','key','uploadcareImageEdit','afterInit','format','type','149570sLtnnu','registerDescriptionCallback','descriptionFactory','uploadcareImageId','registerBlockAttribute','enableCommand','uploadcareImageReplace','4rLuiKu'];_0x288a=function(){return _0x35d881;};return _0x288a();}(function(_0x28d681,_0x4784d9){const _0x49e114=_0x32c1,_0x49de1d=_0x28d681();while(!![]){try{const _0x1c93df=parseInt(_0x49e114(0x10b))/0x1+-parseInt(_0x49e114(0x105))/0x2*(-parseInt(_0x49e114(0xf6))/0x3)+-parseInt(_0x49e114(0x112))/0x4+parseInt(_0x49e114(0x107))/0x5*(parseInt(_0x49e114(0x109))/0x6)+parseInt(_0x49e114(0x111))/0x7+-parseInt(_0x49e114(0xf7))/0x8*(parseInt(_0x49e114(0x110))/0x9)+parseInt(_0x49e114(0xfe))/0xa;if(_0x1c93df===_0x4784d9)break;else _0x49de1d['push'](_0x49de1d['shift']());}catch(_0x3cf66c){_0x49de1d['push'](_0x49de1d['shift']());}}}(_0x288a,0x54ca2));function _0x32c1(_0x325e67,_0x416e7e){const _0x288abf=_0x288a();return _0x32c1=function(_0x32c19d,_0xd20dac){_0x32c19d=_0x32c19d-0xf5;let _0x214030=_0x288abf[_0x32c19d];return _0x214030;},_0x32c1(_0x325e67,_0x416e7e);}import{Plugin as _0x124f36}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x124f36{[_0x309dac(0xfb)](){const _0x31a8bc=_0x309dac,_0x27c8ec=this[_0x31a8bc(0xf5)],_0x20b008=_0x27c8ec[_0x31a8bc(0x10e)][_0x31a8bc(0xf8)](_0x31a8bc(0x113));_0x27c8ec[_0x31a8bc(0x10e)][_0x31a8bc(0x10d)](_0x31a8bc(0x10f))&&(_0x20b008[_0x31a8bc(0x103)](_0x31a8bc(0x106)),_0x27c8ec[_0x31a8bc(0x10e)][_0x31a8bc(0x10d)](_0x31a8bc(0x10c))&&(_0x20b008[_0x31a8bc(0x103)](_0x31a8bc(0xfa)),_0x20b008[_0x31a8bc(0x108)](_0x31a8bc(0x104)),_0x20b008[_0x31a8bc(0x102)](_0x31a8bc(0x101)),_0x20b008[_0x31a8bc(0x100)][_0x31a8bc(0xff)](_0x57ceac=>{const _0x19b951=_0x31a8bc;if(_0x19b951(0x10a)!=_0x57ceac[_0x19b951(0xfd)])return;const {data:_0x2a213c}=_0x57ceac;return _0x2a213c&&_0x19b951(0x101)==_0x2a213c[_0x19b951(0xf9)]?{'type':_0x19b951(0xfc),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29a8(_0x53d146,_0x389003){const _0x227197=_0x2271();return _0x29a8=function(_0x29a8fb,_0x382212){_0x29a8fb=_0x29a8fb-0x15e;let _0x58933f=_0x227197[_0x29a8fb];return _0x58933f;},_0x29a8(_0x53d146,_0x389003);}function _0x2271(){const _0x38eade=['2325925KnpFrb','start','ck-suggestion-marker-','writer','markerRange','654866jAQAJR','941838WDhRet','addClass','hasAttribute','_splitMarkerName','test','bindElementToMarker','span','4394220lXnEkN','push','isLimit','8ZlpARu','isAtEnd','name','parent','mapper','getItems','nextSibling','insert','model','previousPosition','getCustomProperty','isContent','2368FkTbbu','16236oADykq','4xBFHID','toViewElement','createUIElement','toViewPosition','29582322aJYiOQ','markerName','schema','TrackChangesEditing','activeMarkers','consumable','includes','get','plugins','type','elementEnd','isBlock','createRangeOn','getWalker','6EDraPD','item','ck-suggestion-marker--active','addHighlight','324709eCHtMs'];_0x2271=function(){return _0x38eade;};return _0x2271();}(function(_0x57c85d,_0x282e58){const _0x36a4a2=_0x29a8,_0x1cc927=_0x57c85d();while(!![]){try{const _0x4169d6=parseInt(_0x36a4a2(0x171))/0x1+parseInt(_0x36a4a2(0x18a))/0x2*(-parseInt(_0x36a4a2(0x172))/0x3)+parseInt(_0x36a4a2(0x17c))/0x4*(-parseInt(_0x36a4a2(0x16c))/0x5)+-parseInt(_0x36a4a2(0x167))/0x6*(parseInt(_0x36a4a2(0x16b))/0x7)+-parseInt(_0x36a4a2(0x188))/0x8*(parseInt(_0x36a4a2(0x189))/0x9)+-parseInt(_0x36a4a2(0x179))/0xa+parseInt(_0x36a4a2(0x18e))/0xb;if(_0x4169d6===_0x282e58)break;else _0x1cc927['push'](_0x1cc927['shift']());}catch(_0x34323e){_0x1cc927['push'](_0x1cc927['shift']());}}}(_0x2271,0xbb0a1));export function getRangesWithAttribute(_0x557f89,_0x31198b,_0x23d0db){const _0x161eda=_0x29a8,_0x27ab1f=[];for(const _0x860376 of _0x31198b[_0x161eda(0x181)]())_0x860376[_0x161eda(0x174)](_0x557f89)&&_0x27ab1f[_0x161eda(0x17a)](_0x23d0db[_0x161eda(0x165)](_0x860376));return _0x27ab1f;}export function downcastSplitMergeMarker(_0x4ac6f9,_0x17dfbc,{showActiveMarker:_0x1c6da3=!0x0}={}){const _0x34cd69=_0x29a8,_0x5392f7=_0x4ac6f9[_0x34cd69(0x161)][_0x34cd69(0x160)](_0x34cd69(0x191));return(_0x4f9d03,_0x53f7f7,_0x62c3da)=>{const _0x3650a4=_0x34cd69;if(!_0x62c3da[_0x3650a4(0x15e)][_0x3650a4(0x176)](_0x53f7f7[_0x3650a4(0x170)],_0x4f9d03[_0x3650a4(0x17e)]))return;const _0x4bed11=_0x53f7f7[_0x3650a4(0x170)][_0x3650a4(0x166)](),_0x453e76=_0x53f7f7[_0x3650a4(0x170)][_0x3650a4(0x16d)],_0x1188fe=_0x4ac6f9[_0x3650a4(0x184)][_0x3650a4(0x190)];let _0x13dafe=null,_0x3e5f59=null,_0x46ce64=!0x1,_0x345623=!0x1;for(const _0x5a4521 of _0x4bed11){const _0x594d71=_0x5a4521[_0x3650a4(0x168)];_0x46ce64=_0x46ce64||_0x1188fe[_0x3650a4(0x187)](_0x594d71);const _0x5ccbfa=_0x62c3da[_0x3650a4(0x180)][_0x3650a4(0x18b)](_0x594d71);if(_0x5ccbfa&&_0x5ccbfa[_0x3650a4(0x186)](_0x3650a4(0x16a)))return;_0x3650a4(0x163)==_0x5a4521[_0x3650a4(0x162)]&&(_0x1188fe[_0x3650a4(0x164)](_0x594d71)&&!_0x1188fe[_0x3650a4(0x17b)](_0x594d71)&&(_0x594d71[_0x3650a4(0x182)]||_0x453e76[_0x3650a4(0x17d)]?_0x13dafe&&_0x13dafe[_0x3650a4(0x17f)]==_0x594d71||(_0x13dafe=_0x594d71,_0x2a88c3(_0x5a4521[_0x3650a4(0x185)]),_0x345623=!0x0):_0x3e5f59=_0x3e5f59||_0x5a4521[_0x3650a4(0x185)]));}function _0x2a88c3(_0x5bc2bc){const _0x53ecbb=_0x3650a4,{id:_0x559079,authorId:_0x294259}=_0x5392f7[_0x53ecbb(0x175)](_0x53f7f7[_0x53ecbb(0x18f)]),_0x11e8ed=_0x62c3da[_0x53ecbb(0x16f)][_0x53ecbb(0x18c)](_0x53ecbb(0x178),{'class':_0x53ecbb(0x16e)+_0x17dfbc,'data-suggestion':_0x559079,'data-author-id':_0x294259}),_0x3974a9=_0x62c3da[_0x53ecbb(0x180)][_0x53ecbb(0x18d)](_0x5bc2bc);_0x1c6da3&&_0x5392f7[_0x53ecbb(0x192)][_0x53ecbb(0x15f)](_0x53f7f7[_0x53ecbb(0x18f)])&&_0x62c3da[_0x53ecbb(0x16f)][_0x53ecbb(0x173)](_0x53ecbb(0x169),_0x11e8ed),_0x62c3da[_0x53ecbb(0x16f)][_0x53ecbb(0x183)](_0x3974a9,_0x11e8ed),_0x62c3da[_0x53ecbb(0x180)][_0x53ecbb(0x177)](_0x11e8ed,_0x53f7f7[_0x53ecbb(0x18f)]);}_0x46ce64||_0x345623||!_0x3e5f59||_0x2a88c3(_0x3e5f59);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2ee73e=_0x4f61;function _0x4f61(_0x2f0915,_0x1430e1){const _0x44f496=_0x44f4();return _0x4f61=function(_0x4f61b7,_0x42a641){_0x4f61b7=_0x4f61b7-0x16f;let _0x2455ed=_0x44f496[_0x4f61b7];return _0x2455ed;},_0x4f61(_0x2f0915,_0x1430e1);}(function(_0x59d800,_0x4fd421){const _0x492365=_0x4f61,_0x126ea8=_0x59d800();while(!![]){try{const _0xd82794=-parseInt(_0x492365(0x191))/0x1*(-parseInt(_0x492365(0x1b1))/0x2)+parseInt(_0x492365(0x1bc))/0x3*(parseInt(_0x492365(0x175))/0x4)+-parseInt(_0x492365(0x190))/0x5+-parseInt(_0x492365(0x1ac))/0x6*(-parseInt(_0x492365(0x1b4))/0x7)+parseInt(_0x492365(0x1a1))/0x8+parseInt(_0x492365(0x193))/0x9*(parseInt(_0x492365(0x172))/0xa)+-parseInt(_0x492365(0x1a8))/0xb;if(_0xd82794===_0x4fd421)break;else _0x126ea8['push'](_0x126ea8['shift']());}catch(_0x49f501){_0x126ea8['push'](_0x126ea8['shift']());}}}(_0x44f4,0x50195));function _0x44f4(){const _0x5c4688=['authoredAt','reduce','creator','@external','getRanges','2150330bortYD','71178PSVyvu','attributes','207NzbOzs','toJSON','removeMarker','end','decorate','start','getRange','getAllAdjacentSuggestions','discard','addMarker','addRange','nodeAfter','hasComments','previous','4521744rEQKLS','_originalSuggestionId','push','head','onAccept','length','isInContent','13667214QyPwlz','from','_onDiscard','_model','2964uEHcWa','isIntersecting','onAttributesChange','nodeBefore','removeMarkers','4DHpgNi','_isDataLoaded','next','8911oxUTMW','substr','setAttribute','_onAttributesChange','delete','suggestion:','change','createdAt','15YImujD','_saved','accept','get','addMarkerName','getFirstMarker','getContainedElement','split','map','getFirstRange','199780PQFfEt','isMultiRange','markers','163756rdiHah','author','removeAttribute','getItems','_markerNames','type','isIntersectingWithRange','subType','isExternal','filter','set','getMarkers','add','data','onDiscard','_onAccept','size','commentThread','clear','getMarkerNames','getMultiRangeId','originalSuggestionId'];_0x44f4=function(){return _0x5c4688;};return _0x44f4();}import{ModelElement as _0x143ead}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5b0f8b,uid as _0x1b0f33}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1525b8,isEqual as _0x3fc204,set as _0x4a0259,unset as _0x2910a6}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b0f8b(){['id'];[_0x2ee73e(0x17a)];[_0x2ee73e(0x17c)];[_0x2ee73e(0x176)];[_0x2ee73e(0x18d)];[_0x2ee73e(0x17d)];[_0x2ee73e(0x182)];[_0x2ee73e(0x1bb)];[_0x2ee73e(0x1a2)];[_0x2ee73e(0x1b2)]=!0x1;[_0x2ee73e(0x1ab)];[_0x2ee73e(0x184)];[_0x2ee73e(0x1aa)];[_0x2ee73e(0x1b7)];[_0x2ee73e(0x179)];constructor(_0x149e4d,_0x5d3281){const _0x20a87e=_0x2ee73e;super(),this['id']=_0x5d3281['id'],this[_0x20a87e(0x17a)]=_0x5d3281[_0x20a87e(0x17a)],this[_0x20a87e(0x17c)]=_0x5d3281[_0x20a87e(0x17c)]||null,this[_0x20a87e(0x176)]=_0x5d3281[_0x20a87e(0x176)],this[_0x20a87e(0x18d)]=_0x5d3281[_0x20a87e(0x18d)]||_0x5d3281[_0x20a87e(0x176)],this[_0x20a87e(0x17d)]=Boolean(_0x5d3281[_0x20a87e(0x192)]&&_0x5d3281[_0x20a87e(0x192)][_0x20a87e(0x18e)]),this[_0x20a87e(0x182)]=null,this[_0x20a87e(0x1a2)]=_0x5d3281[_0x20a87e(0x18a)]||null,this[_0x20a87e(0x1ab)]=_0x149e4d,this[_0x20a87e(0x184)]=_0x5d3281[_0x20a87e(0x1a5)],this[_0x20a87e(0x1aa)]=_0x5d3281[_0x20a87e(0x183)],this[_0x20a87e(0x1b7)]=_0x5d3281[_0x20a87e(0x1ae)],this[_0x20a87e(0x179)]=new Set(),this[_0x20a87e(0x1bb)]=null,this[_0x20a87e(0x17f)](_0x20a87e(0x18b),null),this[_0x20a87e(0x17f)](_0x20a87e(0x192),_0x5d3281[_0x20a87e(0x192)]||{}),this[_0x20a87e(0x17f)](_0x20a87e(0x1a0),null),this[_0x20a87e(0x17f)](_0x20a87e(0x1b3),null),this[_0x20a87e(0x17f)](_0x20a87e(0x186),null),this[_0x20a87e(0x17f)](_0x20a87e(0x1bd),!0x1),this[_0x20a87e(0x197)](_0x20a87e(0x1be)),this[_0x20a87e(0x197)](_0x20a87e(0x19b));}get[_0x2ee73e(0x1a4)](){const _0x2b8821=_0x2ee73e;let _0x2419c4=this;for(;_0x2419c4[_0x2b8821(0x1a0)];)_0x2419c4=_0x2419c4[_0x2b8821(0x1a0)];return _0x2419c4;}get[_0x2ee73e(0x19f)](){const _0x221803=_0x2ee73e;return!!this[_0x221803(0x186)]&&this[_0x221803(0x186)][_0x221803(0x1a6)]>0x0;}get[_0x2ee73e(0x173)](){const _0x528d7=_0x2ee73e;if(0x0==this[_0x528d7(0x179)][_0x528d7(0x185)])return!0x1;return 0x6==Array[_0x528d7(0x1a9)](this[_0x528d7(0x179)])[0x0][_0x528d7(0x16f)](':')[_0x528d7(0x1a6)];}get[_0x2ee73e(0x1a7)](){const _0x294741=_0x2ee73e;return null!==this[_0x294741(0x1c1)]();}[_0x2ee73e(0x1c0)](_0x8cf9c6){const _0x88e2a1=_0x2ee73e;this[_0x88e2a1(0x179)][_0x88e2a1(0x181)](_0x8cf9c6);}[_0x2ee73e(0x188)](){const _0xb5f689=_0x2ee73e;return Array[_0xb5f689(0x1a9)](this[_0xb5f689(0x179)]);}[_0x2ee73e(0x180)](){const _0x1d2e1e=_0x2ee73e;return this[_0x1d2e1e(0x188)]()[_0x1d2e1e(0x170)](_0x7567c3=>this[_0x1d2e1e(0x1ab)][_0x1d2e1e(0x174)][_0x1d2e1e(0x1bf)](_0x7567c3))[_0x1d2e1e(0x17e)](_0x4bbc6a=>_0x4bbc6a);}[_0x2ee73e(0x1c1)](){const _0x28984b=_0x2ee73e;return this[_0x28984b(0x180)]()[0x0]||null;}[_0x2ee73e(0x1b0)](){const _0x106987=_0x2ee73e;this[_0x106987(0x1ab)][_0x106987(0x1ba)](_0x4afe37=>{const _0x255859=_0x106987;for(const _0x1082e5 of this[_0x255859(0x180)]())_0x4afe37[_0x255859(0x195)](_0x1082e5);}),this[_0x106987(0x179)][_0x106987(0x187)]();}[_0x2ee73e(0x195)](_0x4d3844){const _0x6bdac2=_0x2ee73e;this[_0x6bdac2(0x1ab)][_0x6bdac2(0x1ba)](_0x1a3f7b=>{const _0x548969=_0x6bdac2;_0x1a3f7b[_0x548969(0x195)](_0x4d3844);}),this[_0x6bdac2(0x179)][_0x6bdac2(0x1b8)](_0x4d3844);}[_0x2ee73e(0x19d)](_0x39b469){const _0x11148f=_0x2ee73e,_0x37fe26=_0x11148f(0x1b9)+this[_0x11148f(0x17a)]+':'+this[_0x11148f(0x17c)]+':'+this['id']+':'+this[_0x11148f(0x18d)]['id']+':'+Suggestion[_0x11148f(0x189)]();this[_0x11148f(0x1c0)](_0x37fe26),this[_0x11148f(0x1ab)][_0x11148f(0x1ba)](_0x543a11=>{const _0x4fe50b=_0x11148f;_0x543a11[_0x4fe50b(0x19c)](_0x37fe26,{'range':_0x39b469,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2ee73e(0x17b)](_0x272723){const _0x4e8a03=_0x2ee73e;for(const _0x546909 of this[_0x4e8a03(0x18f)]())if(_0x546909[_0x4e8a03(0x1ad)](_0x272723))return!0x0;return!0x1;}[_0x2ee73e(0x18f)](){const _0x341a68=_0x2ee73e;return this[_0x341a68(0x180)]()[_0x341a68(0x170)](_0x33e99e=>_0x33e99e[_0x341a68(0x199)]());}[_0x2ee73e(0x178)](){const _0x2150f1=_0x2ee73e;return this[_0x2150f1(0x18f)]()[_0x2150f1(0x18c)]((_0x3428ef,_0x23f515)=>[..._0x3428ef,..._0x23f515[_0x2150f1(0x178)]()],[]);}[_0x2ee73e(0x171)](){const _0x5b1a34=_0x2ee73e;return this[_0x5b1a34(0x1c1)]()?.[_0x5b1a34(0x199)]()||null;}[_0x2ee73e(0x1c2)](){const _0x4dde20=_0x2ee73e,_0x2ae514=this[_0x4dde20(0x18f)]();if(0x1!=_0x2ae514[_0x4dde20(0x1a6)])return null;const _0xc48e67=_0x2ae514[0x0],_0x1d795d=_0xc48e67[_0x4dde20(0x198)][_0x4dde20(0x19e)],_0x1c7f11=_0xc48e67[_0x4dde20(0x196)][_0x4dde20(0x1af)];return _0x1d795d instanceof _0x143ead?_0x1d795d!=_0x1c7f11?null:_0x1d795d:null;}[_0x2ee73e(0x1be)](){const _0x37fcc3=_0x2ee73e;this[_0x37fcc3(0x184)](this[_0x37fcc3(0x18f)](),this[_0x37fcc3(0x182)],this[_0x37fcc3(0x192)]),this[_0x37fcc3(0x1b0)]();}[_0x2ee73e(0x19b)](){const _0x234f96=_0x2ee73e;this[_0x234f96(0x1aa)](this[_0x234f96(0x18f)](),this[_0x234f96(0x182)],this[_0x234f96(0x192)]),this[_0x234f96(0x1b0)]();}[_0x2ee73e(0x19a)](){const _0x164b75=_0x2ee73e,_0x5231ce=[];let _0x3c4efe=this[_0x164b75(0x1a4)];for(;_0x3c4efe;)_0x5231ce[_0x164b75(0x1a3)](_0x3c4efe),_0x3c4efe=_0x3c4efe[_0x164b75(0x1b3)];return _0x5231ce;}[_0x2ee73e(0x1b6)](_0x2a2b88,_0x581912){const _0x339152=_0x2ee73e,_0x30647b=_0x1525b8(this[_0x339152(0x192)]);_0x4a0259(_0x30647b,_0x2a2b88,_0x581912),_0x3fc204(_0x30647b,this[_0x339152(0x192)])||(this[_0x339152(0x192)]=_0x30647b,this[_0x339152(0x1b7)](_0x30647b));}[_0x2ee73e(0x177)](_0x538ca7){const _0x20a701=_0x2ee73e,_0x56d480=_0x1525b8(this[_0x20a701(0x192)]);_0x2910a6(_0x56d480,_0x538ca7),_0x3fc204(_0x56d480,this[_0x20a701(0x192)])||(this[_0x20a701(0x192)]=_0x56d480,this[_0x20a701(0x1b7)](this[_0x20a701(0x192)]));}[_0x2ee73e(0x194)](){const _0x5cdcf3=_0x2ee73e;return{'id':this['id'],'type':this[_0x5cdcf3(0x17c)]?this[_0x5cdcf3(0x17a)]+':'+this[_0x5cdcf3(0x17c)]:this[_0x5cdcf3(0x17a)],'authorId':this[_0x5cdcf3(0x18d)]['id'],'createdAt':this[_0x5cdcf3(0x1bb)],'hasComments':this[_0x5cdcf3(0x19f)],'data':this[_0x5cdcf3(0x182)],'attributes':this[_0x5cdcf3(0x192)]};}static[_0x2ee73e(0x189)](){const _0x57e5d7=_0x2ee73e;return _0x1b0f33()[_0x57e5d7(0x1b5)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d812d=_0x1843;(function(_0x368114,_0x5a2cda){const _0x2b0de9=_0x1843,_0x416d6d=_0x368114();while(!![]){try{const _0x4235ce=parseInt(_0x2b0de9(0x16c))/0x1+parseInt(_0x2b0de9(0x177))/0x2+parseInt(_0x2b0de9(0x18b))/0x3*(parseInt(_0x2b0de9(0x18f))/0x4)+parseInt(_0x2b0de9(0x164))/0x5+-parseInt(_0x2b0de9(0x172))/0x6+parseInt(_0x2b0de9(0x166))/0x7*(-parseInt(_0x2b0de9(0x185))/0x8)+-parseInt(_0x2b0de9(0x176))/0x9;if(_0x4235ce===_0x5a2cda)break;else _0x416d6d['push'](_0x416d6d['shift']());}catch(_0x1edc1a){_0x416d6d['push'](_0x416d6d['shift']());}}}(_0x341f,0x3a518));function _0x341f(){const _0xcb9d8e=['569340sKxzEH','label','function','isObject','3924675fYkJFZ','280702FJkQwl','removeObject','_customCallbacks','_addDescriptionItems','addObject','$text','attribute','quantity','*Remove\x20format:*\x20%0','*Set\x20format:*\x20%0','*Split:*\x20%0','add','newValue','*Merge:*\x20%0','90696XBZAlg','$1\x20$2','skip','subType','replace','pop','85329hJldNs','removeFormat','matchingCallback','indexOf','8qaGKPg','Container','text','join','getFirstRange','ELEMENT_SPACE','*Change\x20to:*\x20%0','_itemLabels','checkChild','format','nodeAfter','Object','element','item','elementEnd','_handleRenameSuggestionDescription','REPLACE_TEXT','data','deletion','addContainer','isInContent','length','push','previousSibling','registerAttributeLabel','match','_handleInsertRemoveSuggestionDescription','_locale','get','isEqual','getItemLabel','end','normal','_resolveDescriptionItems','_itemLabelsCallbacks','registerDescriptionCallback','removeEmptyContainer','registerElementLabel','*Insert:*\x20%0','_schema','nextSibling','name','addEmptyContainer','type','remove','isEmpty','_attributeLabels','softBreak','_handleAttributeSuggestionDescription','_handleCustomCallbackDescription','getWalker','EmptyContainer','elementStart','1374965rMuTeW','map','56voDevu','getDescriptions','*Remove:*\x20%0','insertion','key','addFormat','388303oXqQHn','$textProxy','set','removeContainer','start','has'];_0x341f=function(){return _0xcb9d8e;};return _0x341f();}function _0x1843(_0x3effb7,_0xca0b59){const _0x341f26=_0x341f();return _0x1843=function(_0x1843e2,_0x4a4f29){_0x1843e2=_0x1843e2-0x152;let _0x2283d4=_0x341f26[_0x1843e2];return _0x2283d4;},_0x1843(_0x3effb7,_0xca0b59);}import{getTranslation as _0x1e0ec4}from'./utils/common-translations.js';import{priorities as _0x315967,insertToPriorityArray as _0x144d59}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x4dd2ce}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x4d812d(0x179)];[_0x4d812d(0x196)];[_0x4d812d(0x1b1)];[_0x4d812d(0x15d)];[_0x4d812d(0x156)];[_0x4d812d(0x1aa)];constructor(_0x16df24,_0x557fca){const _0x76759=_0x4d812d;this[_0x76759(0x179)]=[],this[_0x76759(0x196)]=new Map(),this[_0x76759(0x1b1)]=[],this[_0x76759(0x15d)]=new Map(),this[_0x76759(0x156)]=_0x16df24,this[_0x76759(0x1aa)]=_0x557fca;}[_0x4d812d(0x167)](_0x5b2f7c){const _0x595d82=_0x4d812d,_0x28791f=[],_0x43a482=new Set(),_0x1159c6=new Set();for(let _0x39c231=0x0;_0x39c231<_0x5b2f7c[_0x595d82(0x1a4)];_0x39c231++){const _0x3af668=_0x5b2f7c[_0x39c231];if(!_0x3af668[_0x595d82(0x1a3)])continue;const _0x387797=this[_0x595d82(0x160)](_0x3af668);if(_0x387797){if(null!=_0x3af668[_0x595d82(0x188)]){if(_0x43a482[_0x595d82(0x171)](_0x3af668[_0x595d82(0x188)]))continue;_0x43a482[_0x595d82(0x182)](_0x3af668[_0x595d82(0x188)]);}_0x28791f[_0x595d82(0x1a5)](_0x387797);}else{if(_0x595d82(0x17d)==_0x3af668[_0x595d82(0x15a)]){const _0xc2a3f3=_0x3af668[_0x595d82(0x1a0)][_0x595d82(0x16a)];if(_0x1159c6[_0x595d82(0x171)](_0xc2a3f3))continue;_0x1159c6[_0x595d82(0x182)](_0x3af668[_0x595d82(0x1a0)][_0x595d82(0x16a)]),_0xc2a3f3==_0x4dd2ce?this[_0x595d82(0x19e)](_0x28791f,_0x3af668):this[_0x595d82(0x15f)](_0x28791f,_0x3af668);continue;}_0x595d82(0x169)!=_0x3af668[_0x595d82(0x15a)]&&_0x595d82(0x1a1)!=_0x3af668[_0x595d82(0x15a)]||this[_0x595d82(0x1a9)](_0x28791f,_0x3af668,_0x5b2f7c[_0x39c231+0x1]);}}return this[_0x595d82(0x1b0)](_0x28791f);}[_0x4d812d(0x152)](_0x3d8088){const _0x2e0f9f=_0x4d812d;this[_0x2e0f9f(0x179)][_0x2e0f9f(0x1a5)](_0x3d8088);}[_0x4d812d(0x154)](_0x765aad,_0x454e5e,_0x40691=_0x315967[_0x4d812d(0x1af)]){const _0x4570a0=_0x4d812d;_0x4570a0(0x174)==typeof _0x765aad?_0x144d59(this[_0x4570a0(0x1b1)],{'matchingCallback':_0x765aad,'label':_0x454e5e,'priority':_0x40691}):this[_0x4570a0(0x196)][_0x4570a0(0x16e)](_0x765aad,_0x454e5e);}[_0x4d812d(0x1a7)](_0x4a9091,_0x2323ef){const _0x144bd3=_0x4d812d;this[_0x144bd3(0x15d)][_0x144bd3(0x16e)](_0x4a9091,_0x2323ef);}[_0x4d812d(0x1ad)](_0x2dcc7b,_0x248717=0x1){const _0x2d79db=_0x4d812d;let _0x1abf23;for(const _0x38d084 of this[_0x2d79db(0x1b1)])if(_0x38d084[_0x2d79db(0x18d)](_0x2dcc7b)){_0x1abf23=_0x38d084[_0x2d79db(0x173)];break;}return _0x1abf23||(_0x1abf23=this[_0x2d79db(0x196)][_0x2d79db(0x1ab)](_0x2dcc7b[_0x2d79db(0x158)])),_0x1abf23?_0x1abf23(_0x248717):0x1!==_0x248717?_0x248717+'\x20'+_0x2dcc7b[_0x2d79db(0x158)]+'s':''+_0x2dcc7b[_0x2d79db(0x158)];}[_0x4d812d(0x17a)](_0xe20f38,_0x17c9a3){const _0x2ef01a=_0x4d812d,_0x31f85e=_0x17c9a3[_0x2ef01a(0x193)]()[_0x2ef01a(0x161)](),_0x42983b=_0x2ef01a(0x169)==_0x17c9a3[_0x2ef01a(0x15a)]?_0x2ef01a(0x182):_0x2ef01a(0x15b);for(const _0x2d2124 of _0x31f85e){const _0x5d4b6e=_0x2d2124[_0x2ef01a(0x19c)],_0x451b1c=_0xe20f38[_0xe20f38[_0x2ef01a(0x1a4)]-0x1];if(_0x5d4b6e['is'](_0x2ef01a(0x16d)))_0x451b1c&&_0x451b1c[_0x2ef01a(0x15a)][_0x2ef01a(0x18e)](_0x2ef01a(0x190))>-0x1&&_0xe20f38[_0x2ef01a(0x18a)](),_0x451b1c&&_0x2ef01a(0x191)==_0x451b1c[_0x2ef01a(0x15a)]?_0x451b1c[_0x42983b]+=_0x5d4b6e[_0x2ef01a(0x1a0)]:_0xe20f38[_0x2ef01a(0x1a5)]({'type':_0x2ef01a(0x191),'add':_0x2ef01a(0x182)==_0x42983b?_0x5d4b6e[_0x2ef01a(0x1a0)]:'','remove':_0x2ef01a(0x15b)==_0x42983b?_0x5d4b6e[_0x2ef01a(0x1a0)]:''});else{if(this[_0x2ef01a(0x156)][_0x2ef01a(0x175)](_0x5d4b6e)){const _0x486b32=_0x5d4b6e;if(_0x451b1c&&_0x451b1c[_0x2ef01a(0x15a)][_0x2ef01a(0x18e)](_0x2ef01a(0x190))>-0x1&&_0xe20f38[_0x2ef01a(0x18a)](),_0x2ef01a(0x19d)==_0x2d2124[_0x2ef01a(0x15a)])continue;_0x451b1c&&_0x451b1c[_0x2ef01a(0x15a)]==_0x42983b+_0x2ef01a(0x19a)&&_0x451b1c[_0x2ef01a(0x19b)][_0x2ef01a(0x158)]==_0x486b32[_0x2ef01a(0x158)]?_0x451b1c[_0x2ef01a(0x17e)]++:_0xe20f38[_0x2ef01a(0x1a5)]({'type':_0x42983b+_0x2ef01a(0x19a),'element':_0x486b32,'quantity':0x1}),_0x31f85e[_0x2ef01a(0x187)](_0x46e05f=>!(_0x2ef01a(0x19d)==_0x46e05f[_0x2ef01a(0x15a)]&&_0x46e05f[_0x2ef01a(0x19c)]==_0x5d4b6e));}else{if(this[_0x2ef01a(0x156)][_0x2ef01a(0x197)](_0x5d4b6e,_0x2ef01a(0x17c))||_0x5d4b6e['is'](_0x2ef01a(0x19b),_0x2ef01a(0x15e))){const _0x10d6a4=_0x5d4b6e;if(_0x2ef01a(0x182)==_0x42983b&&_0x2ef01a(0x163)==_0x2d2124[_0x2ef01a(0x15a)]||_0x2ef01a(0x15b)==_0x42983b&&_0x2ef01a(0x19d)==_0x2d2124[_0x2ef01a(0x15a)])continue;if(_0x451b1c&&-0x1==_0x451b1c[_0x2ef01a(0x15a)][_0x2ef01a(0x18e)](_0x2ef01a(0x190))){_0x2ef01a(0x191)==_0x451b1c[_0x2ef01a(0x15a)]&&(_0x451b1c[_0x42983b]+='\x0a');continue;}let _0x2afe32;if(_0x2afe32=_0x2ef01a(0x182)==_0x42983b?_0x10d6a4[_0x2ef01a(0x157)]&&!this[_0x2ef01a(0x156)][_0x2ef01a(0x175)](_0x10d6a4[_0x2ef01a(0x157)])?_0x10d6a4[_0x2ef01a(0x157)]:null:_0x10d6a4[_0x2ef01a(0x1a6)]&&!this[_0x2ef01a(0x156)][_0x2ef01a(0x175)](_0x10d6a4[_0x2ef01a(0x1a6)])?_0x10d6a4[_0x2ef01a(0x1a6)]:null,_0x10d6a4[_0x2ef01a(0x15c)]||_0x2afe32&&_0x2afe32[_0x2ef01a(0x15c)]){const _0x40f11e=_0x2afe32&&_0x2afe32[_0x2ef01a(0x15c)]?_0x2afe32:_0x10d6a4;_0x451b1c&&_0x451b1c[_0x2ef01a(0x15a)]==_0x42983b+_0x2ef01a(0x162)&&_0x451b1c[_0x2ef01a(0x19b)][_0x2ef01a(0x158)]==_0x40f11e[_0x2ef01a(0x158)]?_0x451b1c[_0x2ef01a(0x17e)]++:_0xe20f38[_0x2ef01a(0x1a5)]({'type':_0x42983b+_0x2ef01a(0x162),'element':_0x40f11e,'quantity':0x1});}else _0xe20f38[_0x2ef01a(0x1a5)]({'type':_0x42983b+_0x2ef01a(0x190),'element':_0x10d6a4});}}}}}[_0x4d812d(0x1b0)](_0x3619a7){const _0x1096c6=_0x4d812d,_0xb0971e=this[_0x1096c6(0x1aa)],_0x245c27=[],_0x3f8177=[],_0x33cff3=[];for(const _0x329823 of _0x3619a7)switch(_0x329823[_0x1096c6(0x15a)]){case _0x1096c6(0x191):if(_0x329823[_0x1096c6(0x182)]=_0x329823[_0x1096c6(0x182)][_0x1096c6(0x189)](/(\S)\u000A+(\S)/g,_0x1096c6(0x186))[_0x1096c6(0x189)](/\u000A/g,''),_0x329823[_0x1096c6(0x15b)]=_0x329823[_0x1096c6(0x15b)][_0x1096c6(0x189)](/(\S)\u000A+(\S)/g,_0x1096c6(0x186))[_0x1096c6(0x189)](/\u000A/g,''),''!=_0x329823[_0x1096c6(0x182)]&&''!=_0x329823[_0x1096c6(0x15b)]){_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x189),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x19f),['\x22'+_0x329823[_0x1096c6(0x15b)]+'\x22','\x22'+_0x329823[_0x1096c6(0x182)]+'\x22'])});continue;}if(null!=_0x329823[_0x1096c6(0x182)][_0x1096c6(0x1a8)](/^ +$/)){_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x169),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x155),_0x1e0ec4(_0xb0971e,_0x1096c6(0x194),_0x329823[_0x1096c6(0x182)][_0x1096c6(0x1a4)]))});continue;}if(null!=_0x329823[_0x1096c6(0x15b)][_0x1096c6(0x1a8)](/^ +$/)){_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x1a1),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x168),_0x1e0ec4(_0xb0971e,_0x1096c6(0x194),_0x329823[_0x1096c6(0x15b)][_0x1096c6(0x1a4)]))});continue;}if(''!=_0x329823[_0x1096c6(0x182)]){_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x169),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x155),'\x22'+_0x329823[_0x1096c6(0x182)]+'\x22')});continue;}_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x1a1),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x168),'\x22'+_0x329823[_0x1096c6(0x15b)]+'\x22')});continue;case _0x1096c6(0x159):case _0x1096c6(0x17b):_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x169),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x155),this[_0x1096c6(0x1ad)](_0x329823[_0x1096c6(0x19b)],_0x329823[_0x1096c6(0x17e)]))});continue;case _0x1096c6(0x153):case _0x1096c6(0x178):_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x1a1),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x168),this[_0x1096c6(0x1ad)](_0x329823[_0x1096c6(0x19b)],_0x329823[_0x1096c6(0x17e)]))});continue;case _0x1096c6(0x1a2):_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x169),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x181),this[_0x1096c6(0x1ad)](_0x329823[_0x1096c6(0x19b)],_0x329823[_0x1096c6(0x17e)]))});continue;case _0x1096c6(0x16f):_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x1a1),'content':_0x1e0ec4(_0xb0971e,_0x1096c6(0x184),this[_0x1096c6(0x1ad)](_0x329823[_0x1096c6(0x19b)],_0x329823[_0x1096c6(0x17e)]))});continue;case _0x1096c6(0x16b):_0x3f8177[_0x1096c6(0x1a5)](_0x329823[_0x1096c6(0x16a)]);continue;case _0x1096c6(0x18c):_0x33cff3[_0x1096c6(0x1a5)](_0x329823[_0x1096c6(0x16a)]);continue;default:_0x245c27[_0x1096c6(0x1a5)](_0x329823);}if(_0x3f8177[_0x1096c6(0x1a4)]){const _0x2b0d78=_0x3f8177[_0x1096c6(0x165)](_0x265840=>this[_0x1096c6(0x15d)][_0x1096c6(0x171)](_0x265840)?this[_0x1096c6(0x15d)][_0x1096c6(0x1ab)](_0x265840):_0x265840)[_0x1096c6(0x192)](',\x20');_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x198),'content':_0x1e0ec4(this[_0x1096c6(0x1aa)],_0x1096c6(0x180),_0x2b0d78)});}if(_0x33cff3[_0x1096c6(0x1a4)]){const _0x4b4fe6=_0x33cff3[_0x1096c6(0x165)](_0x3f37e1=>this[_0x1096c6(0x15d)][_0x1096c6(0x171)](_0x3f37e1)?this[_0x1096c6(0x15d)][_0x1096c6(0x1ab)](_0x3f37e1):_0x3f37e1)[_0x1096c6(0x192)](',\x20');_0x245c27[_0x1096c6(0x1a5)]({'type':_0x1096c6(0x198),'content':_0x1e0ec4(this[_0x1096c6(0x1aa)],_0x1096c6(0x17f),_0x4b4fe6)});}return _0x245c27;}[_0x4d812d(0x160)](_0x341060){const _0x151b01=_0x4d812d;for(const _0x5e3c93 of this[_0x151b01(0x179)]){const _0x514de5=_0x5e3c93(_0x341060);if(_0x514de5&&_0x151b01(0x15a)in _0x514de5)return _0x514de5;}}[_0x4d812d(0x15f)](_0x1d78a4,_0x1ef3d3){const _0x48a94d=_0x4d812d,_0x1e0f8d=_0x1ef3d3[_0x48a94d(0x1a0)],_0xef125c=void 0x0===_0x1e0f8d[_0x48a94d(0x183)]?_0x48a94d(0x18c):_0x48a94d(0x16b);_0x1d78a4[_0x48a94d(0x1a5)]({'type':_0xef125c,'key':_0x1e0f8d[_0x48a94d(0x16a)]});}[_0x4d812d(0x19e)](_0x2fc940,_0x140737){const _0x37941b=_0x4d812d;_0x2fc940[_0x37941b(0x1a5)]({'type':_0x37941b(0x198),'content':_0x1e0ec4(this[_0x37941b(0x1aa)],_0x37941b(0x195),this[_0x37941b(0x1ad)](_0x140737[_0x37941b(0x193)]()[_0x37941b(0x170)][_0x37941b(0x199)],0x1))});}[_0x4d812d(0x1a9)](_0x3eaf52,_0x4ccb92,_0x489ff2){const _0x5d90c7=_0x4d812d;if(this[_0x5d90c7(0x17a)](_0x3eaf52,_0x4ccb92),_0x489ff2&&_0x489ff2[_0x5d90c7(0x193)]()&&!_0x4ccb92[_0x5d90c7(0x193)]()[_0x5d90c7(0x1ae)][_0x5d90c7(0x1ac)](_0x489ff2[_0x5d90c7(0x193)]()[_0x5d90c7(0x170)])){const _0x4239d0=_0x3eaf52[_0x3eaf52[_0x5d90c7(0x1a4)]-0x1],_0x45ed05=_0x5d90c7(0x169)==_0x4ccb92[_0x5d90c7(0x15a)]?_0x5d90c7(0x182):_0x5d90c7(0x15b);_0x4239d0&&_0x5d90c7(0x191)==_0x4239d0[_0x5d90c7(0x15a)]&&(_0x4239d0[_0x45ed05]+='\x0a');}}}
|
|
23
|
+
const _0x5e956d=_0x1642;(function(_0x26774b,_0x3bff3a){const _0x2b6fb2=_0x1642,_0x50f210=_0x26774b();while(!![]){try{const _0x182f11=parseInt(_0x2b6fb2(0x130))/0x1*(-parseInt(_0x2b6fb2(0x15f))/0x2)+-parseInt(_0x2b6fb2(0x168))/0x3*(parseInt(_0x2b6fb2(0x135))/0x4)+parseInt(_0x2b6fb2(0x116))/0x5*(-parseInt(_0x2b6fb2(0x158))/0x6)+-parseInt(_0x2b6fb2(0x13c))/0x7*(parseInt(_0x2b6fb2(0x138))/0x8)+parseInt(_0x2b6fb2(0x123))/0x9*(parseInt(_0x2b6fb2(0x137))/0xa)+parseInt(_0x2b6fb2(0x11e))/0xb+parseInt(_0x2b6fb2(0x16a))/0xc;if(_0x182f11===_0x3bff3a)break;else _0x50f210['push'](_0x50f210['shift']());}catch(_0x5cb90d){_0x50f210['push'](_0x50f210['shift']());}}}(_0x9151,0xcfcd6));import{getTranslation as _0x44e214}from'./utils/common-translations.js';import{priorities as _0x2e5953,insertToPriorityArray as _0x40b5f3}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x158b51}from'./trackchangesediting.js';function _0x9151(){const _0x154e2e=['replace','softBreak','matchingCallback','_handleInsertRemoveSuggestionDescription','_itemLabels','nextSibling','subType','map','29262zMsZgw','isObject','_addDescriptionItems','end','_handleAttributeSuggestionDescription','item','removeObject','307202flwoiH','getFirstRange','*Split:*\x20%0','Object','key','addContainer','registerElementLabel','Container','$text','33hoGoAv','isEqual','4524816WYctfM','element','set','registerAttributeLabel','text','pop','addFormat','$textProxy','*Remove\x20format:*\x20%0','function','newValue','_handleCustomCallbackDescription','remove','addEmptyContainer','$1\x20$2','930qJZNuo','attribute','_locale','REPLACE_TEXT','has','removeEmptyContainer','label','name','18656198jocQBB','_handleRenameSuggestionDescription','_customCallbacks','indexOf','ELEMENT_SPACE','45rQELtE','_resolveDescriptionItems','*Change\x20to:*\x20%0','previousSibling','registerDescriptionCallback','*Set\x20format:*\x20%0','_attributeLabels','getWalker','elementEnd','start','*Insert:*\x20%0','getDescriptions','skip','5IsDhbb','get','type','*Merge:*\x20%0','EmptyContainer','182296xyTBoE','_schema','2647220sYQKWY','8yEmOTw','elementStart','data','removeContainer','2583679dFeAys','push','removeFormat','format','*Remove:*\x20%0','length','join','getItemLabel','isInContent','deletion','insertion','_itemLabelsCallbacks','addObject','isEmpty','checkChild','add','quantity','nodeAfter','match','normal'];_0x9151=function(){return _0x154e2e;};return _0x9151();}function _0x1642(_0x5a8e64,_0x46b18e){const _0x9151e0=_0x9151();return _0x1642=function(_0x16423b,_0x5069d3){_0x16423b=_0x16423b-0x10a;let _0x1e3242=_0x9151e0[_0x16423b];return _0x1e3242;},_0x1642(_0x5a8e64,_0x46b18e);}export class SuggestionDescriptionFactory{[_0x5e956d(0x120)];[_0x5e956d(0x154)];[_0x5e956d(0x147)];[_0x5e956d(0x129)];[_0x5e956d(0x136)];[_0x5e956d(0x118)];constructor(_0x537259,_0x4660ad){const _0x4b9101=_0x5e956d;this[_0x4b9101(0x120)]=[],this[_0x4b9101(0x154)]=new Map(),this[_0x4b9101(0x147)]=[],this[_0x4b9101(0x129)]=new Map(),this[_0x4b9101(0x136)]=_0x537259,this[_0x4b9101(0x118)]=_0x4660ad;}[_0x5e956d(0x12e)](_0x3ce02d){const _0x18a468=_0x5e956d,_0x2699fe=[],_0x93d102=new Set(),_0x464892=new Set();for(let _0x689df8=0x0;_0x689df8<_0x3ce02d[_0x18a468(0x141)];_0x689df8++){const _0x25e0a4=_0x3ce02d[_0x689df8];if(!_0x25e0a4[_0x18a468(0x144)])continue;const _0x116eab=this[_0x18a468(0x112)](_0x25e0a4);if(_0x116eab){if(null!=_0x25e0a4[_0x18a468(0x156)]){if(_0x93d102[_0x18a468(0x11a)](_0x25e0a4[_0x18a468(0x156)]))continue;_0x93d102[_0x18a468(0x14b)](_0x25e0a4[_0x18a468(0x156)]);}_0x2699fe[_0x18a468(0x13d)](_0x116eab);}else{if(_0x18a468(0x117)==_0x25e0a4[_0x18a468(0x132)]){const _0x45b11e=_0x25e0a4[_0x18a468(0x13a)][_0x18a468(0x163)];if(_0x464892[_0x18a468(0x11a)](_0x45b11e))continue;_0x464892[_0x18a468(0x14b)](_0x25e0a4[_0x18a468(0x13a)][_0x18a468(0x163)]),_0x45b11e==_0x158b51?this[_0x18a468(0x11f)](_0x2699fe,_0x25e0a4):this[_0x18a468(0x15c)](_0x2699fe,_0x25e0a4);continue;}_0x18a468(0x146)!=_0x25e0a4[_0x18a468(0x132)]&&_0x18a468(0x145)!=_0x25e0a4[_0x18a468(0x132)]||this[_0x18a468(0x153)](_0x2699fe,_0x25e0a4,_0x3ce02d[_0x689df8+0x1]);}}return this[_0x18a468(0x124)](_0x2699fe);}[_0x5e956d(0x127)](_0x55a495){const _0x4b4346=_0x5e956d;this[_0x4b4346(0x120)][_0x4b4346(0x13d)](_0x55a495);}[_0x5e956d(0x165)](_0x4a2305,_0x4c9dcc,_0xbd28fe=_0x2e5953[_0x5e956d(0x14f)]){const _0x406213=_0x5e956d;_0x406213(0x110)==typeof _0x4a2305?_0x40b5f3(this[_0x406213(0x147)],{'matchingCallback':_0x4a2305,'label':_0x4c9dcc,'priority':_0xbd28fe}):this[_0x406213(0x154)][_0x406213(0x16c)](_0x4a2305,_0x4c9dcc);}[_0x5e956d(0x10a)](_0x5513b1,_0x2385af){const _0x449e83=_0x5e956d;this[_0x449e83(0x129)][_0x449e83(0x16c)](_0x5513b1,_0x2385af);}[_0x5e956d(0x143)](_0x4f5304,_0x553315=0x1){const _0x28d75e=_0x5e956d;let _0x526a05;for(const _0x3e3136 of this[_0x28d75e(0x147)])if(_0x3e3136[_0x28d75e(0x152)](_0x4f5304)){_0x526a05=_0x3e3136[_0x28d75e(0x11c)];break;}return _0x526a05||(_0x526a05=this[_0x28d75e(0x154)][_0x28d75e(0x131)](_0x4f5304[_0x28d75e(0x11d)])),_0x526a05?_0x526a05(_0x553315):0x1!==_0x553315?_0x553315+'\x20'+_0x4f5304[_0x28d75e(0x11d)]+'s':''+_0x4f5304[_0x28d75e(0x11d)];}[_0x5e956d(0x15a)](_0x5d13cb,_0x5ac345){const _0x9948c6=_0x5e956d,_0x2f3851=_0x5ac345[_0x9948c6(0x160)]()[_0x9948c6(0x12a)](),_0x2bc55a=_0x9948c6(0x146)==_0x5ac345[_0x9948c6(0x132)]?_0x9948c6(0x14b):_0x9948c6(0x113);for(const _0x4875cc of _0x2f3851){const _0x353296=_0x4875cc[_0x9948c6(0x15d)],_0x4e142b=_0x5d13cb[_0x5d13cb[_0x9948c6(0x141)]-0x1];if(_0x353296['is'](_0x9948c6(0x10e)))_0x4e142b&&_0x4e142b[_0x9948c6(0x132)][_0x9948c6(0x121)](_0x9948c6(0x166))>-0x1&&_0x5d13cb[_0x9948c6(0x10c)](),_0x4e142b&&_0x9948c6(0x10b)==_0x4e142b[_0x9948c6(0x132)]?_0x4e142b[_0x2bc55a]+=_0x353296[_0x9948c6(0x13a)]:_0x5d13cb[_0x9948c6(0x13d)]({'type':_0x9948c6(0x10b),'add':_0x9948c6(0x14b)==_0x2bc55a?_0x353296[_0x9948c6(0x13a)]:'','remove':_0x9948c6(0x113)==_0x2bc55a?_0x353296[_0x9948c6(0x13a)]:''});else{if(this[_0x9948c6(0x136)][_0x9948c6(0x159)](_0x353296)){const _0x43a085=_0x353296;if(_0x4e142b&&_0x4e142b[_0x9948c6(0x132)][_0x9948c6(0x121)](_0x9948c6(0x166))>-0x1&&_0x5d13cb[_0x9948c6(0x10c)](),_0x9948c6(0x12b)==_0x4875cc[_0x9948c6(0x132)])continue;_0x4e142b&&_0x4e142b[_0x9948c6(0x132)]==_0x2bc55a+_0x9948c6(0x162)&&_0x4e142b[_0x9948c6(0x16b)][_0x9948c6(0x11d)]==_0x43a085[_0x9948c6(0x11d)]?_0x4e142b[_0x9948c6(0x14c)]++:_0x5d13cb[_0x9948c6(0x13d)]({'type':_0x2bc55a+_0x9948c6(0x162),'element':_0x43a085,'quantity':0x1}),_0x2f3851[_0x9948c6(0x12f)](_0x170801=>!(_0x9948c6(0x12b)==_0x170801[_0x9948c6(0x132)]&&_0x170801[_0x9948c6(0x15d)]==_0x353296));}else{if(this[_0x9948c6(0x136)][_0x9948c6(0x14a)](_0x353296,_0x9948c6(0x167))||_0x353296['is'](_0x9948c6(0x16b),_0x9948c6(0x151))){const _0x86ac33=_0x353296;if(_0x9948c6(0x14b)==_0x2bc55a&&_0x9948c6(0x139)==_0x4875cc[_0x9948c6(0x132)]||_0x9948c6(0x113)==_0x2bc55a&&_0x9948c6(0x12b)==_0x4875cc[_0x9948c6(0x132)])continue;if(_0x4e142b&&-0x1==_0x4e142b[_0x9948c6(0x132)][_0x9948c6(0x121)](_0x9948c6(0x166))){_0x9948c6(0x10b)==_0x4e142b[_0x9948c6(0x132)]&&(_0x4e142b[_0x2bc55a]+='\x0a');continue;}let _0x191de8;if(_0x191de8=_0x9948c6(0x14b)==_0x2bc55a?_0x86ac33[_0x9948c6(0x155)]&&!this[_0x9948c6(0x136)][_0x9948c6(0x159)](_0x86ac33[_0x9948c6(0x155)])?_0x86ac33[_0x9948c6(0x155)]:null:_0x86ac33[_0x9948c6(0x126)]&&!this[_0x9948c6(0x136)][_0x9948c6(0x159)](_0x86ac33[_0x9948c6(0x126)])?_0x86ac33[_0x9948c6(0x126)]:null,_0x86ac33[_0x9948c6(0x149)]||_0x191de8&&_0x191de8[_0x9948c6(0x149)]){const _0x3bba12=_0x191de8&&_0x191de8[_0x9948c6(0x149)]?_0x191de8:_0x86ac33;_0x4e142b&&_0x4e142b[_0x9948c6(0x132)]==_0x2bc55a+_0x9948c6(0x134)&&_0x4e142b[_0x9948c6(0x16b)][_0x9948c6(0x11d)]==_0x3bba12[_0x9948c6(0x11d)]?_0x4e142b[_0x9948c6(0x14c)]++:_0x5d13cb[_0x9948c6(0x13d)]({'type':_0x2bc55a+_0x9948c6(0x134),'element':_0x3bba12,'quantity':0x1});}else _0x5d13cb[_0x9948c6(0x13d)]({'type':_0x2bc55a+_0x9948c6(0x166),'element':_0x86ac33});}}}}}[_0x5e956d(0x124)](_0x2a08f3){const _0x13d1e9=_0x5e956d,_0x139a96=this[_0x13d1e9(0x118)],_0x5b6be8=[],_0x4b2d05=[],_0x52e52e=[];for(const _0x426f23 of _0x2a08f3)switch(_0x426f23[_0x13d1e9(0x132)]){case _0x13d1e9(0x10b):if(_0x426f23[_0x13d1e9(0x14b)]=_0x426f23[_0x13d1e9(0x14b)][_0x13d1e9(0x150)](/(\S)\u000A+(\S)/g,_0x13d1e9(0x115))[_0x13d1e9(0x150)](/\u000A/g,''),_0x426f23[_0x13d1e9(0x113)]=_0x426f23[_0x13d1e9(0x113)][_0x13d1e9(0x150)](/(\S)\u000A+(\S)/g,_0x13d1e9(0x115))[_0x13d1e9(0x150)](/\u000A/g,''),''!=_0x426f23[_0x13d1e9(0x14b)]&&''!=_0x426f23[_0x13d1e9(0x113)]){_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x150),'content':_0x44e214(_0x139a96,_0x13d1e9(0x119),['\x22'+_0x426f23[_0x13d1e9(0x113)]+'\x22','\x22'+_0x426f23[_0x13d1e9(0x14b)]+'\x22'])});continue;}if(null!=_0x426f23[_0x13d1e9(0x14b)][_0x13d1e9(0x14e)](/^ +$/)){_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x146),'content':_0x44e214(_0x139a96,_0x13d1e9(0x12d),_0x44e214(_0x139a96,_0x13d1e9(0x122),_0x426f23[_0x13d1e9(0x14b)][_0x13d1e9(0x141)]))});continue;}if(null!=_0x426f23[_0x13d1e9(0x113)][_0x13d1e9(0x14e)](/^ +$/)){_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x145),'content':_0x44e214(_0x139a96,_0x13d1e9(0x140),_0x44e214(_0x139a96,_0x13d1e9(0x122),_0x426f23[_0x13d1e9(0x113)][_0x13d1e9(0x141)]))});continue;}if(''!=_0x426f23[_0x13d1e9(0x14b)]){_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x146),'content':_0x44e214(_0x139a96,_0x13d1e9(0x12d),'\x22'+_0x426f23[_0x13d1e9(0x14b)]+'\x22')});continue;}_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x145),'content':_0x44e214(_0x139a96,_0x13d1e9(0x140),'\x22'+_0x426f23[_0x13d1e9(0x113)]+'\x22')});continue;case _0x13d1e9(0x114):case _0x13d1e9(0x148):_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x146),'content':_0x44e214(_0x139a96,_0x13d1e9(0x12d),this[_0x13d1e9(0x143)](_0x426f23[_0x13d1e9(0x16b)],_0x426f23[_0x13d1e9(0x14c)]))});continue;case _0x13d1e9(0x11b):case _0x13d1e9(0x15e):_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x145),'content':_0x44e214(_0x139a96,_0x13d1e9(0x140),this[_0x13d1e9(0x143)](_0x426f23[_0x13d1e9(0x16b)],_0x426f23[_0x13d1e9(0x14c)]))});continue;case _0x13d1e9(0x164):_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x146),'content':_0x44e214(_0x139a96,_0x13d1e9(0x161),this[_0x13d1e9(0x143)](_0x426f23[_0x13d1e9(0x16b)],_0x426f23[_0x13d1e9(0x14c)]))});continue;case _0x13d1e9(0x13b):_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x145),'content':_0x44e214(_0x139a96,_0x13d1e9(0x133),this[_0x13d1e9(0x143)](_0x426f23[_0x13d1e9(0x16b)],_0x426f23[_0x13d1e9(0x14c)]))});continue;case _0x13d1e9(0x10d):_0x4b2d05[_0x13d1e9(0x13d)](_0x426f23[_0x13d1e9(0x163)]);continue;case _0x13d1e9(0x13e):_0x52e52e[_0x13d1e9(0x13d)](_0x426f23[_0x13d1e9(0x163)]);continue;default:_0x5b6be8[_0x13d1e9(0x13d)](_0x426f23);}if(_0x4b2d05[_0x13d1e9(0x141)]){const _0x2cac6c=_0x4b2d05[_0x13d1e9(0x157)](_0x418fb6=>this[_0x13d1e9(0x129)][_0x13d1e9(0x11a)](_0x418fb6)?this[_0x13d1e9(0x129)][_0x13d1e9(0x131)](_0x418fb6):_0x418fb6)[_0x13d1e9(0x142)](',\x20');_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x13f),'content':_0x44e214(this[_0x13d1e9(0x118)],_0x13d1e9(0x128),_0x2cac6c)});}if(_0x52e52e[_0x13d1e9(0x141)]){const _0x5b4ff7=_0x52e52e[_0x13d1e9(0x157)](_0xd800d5=>this[_0x13d1e9(0x129)][_0x13d1e9(0x11a)](_0xd800d5)?this[_0x13d1e9(0x129)][_0x13d1e9(0x131)](_0xd800d5):_0xd800d5)[_0x13d1e9(0x142)](',\x20');_0x5b6be8[_0x13d1e9(0x13d)]({'type':_0x13d1e9(0x13f),'content':_0x44e214(this[_0x13d1e9(0x118)],_0x13d1e9(0x10f),_0x5b4ff7)});}return _0x5b6be8;}[_0x5e956d(0x112)](_0xef5448){const _0x2a05ce=_0x5e956d;for(const _0x3be887 of this[_0x2a05ce(0x120)]){const _0x23299e=_0x3be887(_0xef5448);if(_0x23299e&&_0x2a05ce(0x132)in _0x23299e)return _0x23299e;}}[_0x5e956d(0x15c)](_0x137848,_0x5e1a71){const _0x54614d=_0x5e956d,_0x4b1a4a=_0x5e1a71[_0x54614d(0x13a)],_0x508db4=void 0x0===_0x4b1a4a[_0x54614d(0x111)]?_0x54614d(0x13e):_0x54614d(0x10d);_0x137848[_0x54614d(0x13d)]({'type':_0x508db4,'key':_0x4b1a4a[_0x54614d(0x163)]});}[_0x5e956d(0x11f)](_0x2783c0,_0x2c9bee){const _0x152eb8=_0x5e956d;_0x2783c0[_0x152eb8(0x13d)]({'type':_0x152eb8(0x13f),'content':_0x44e214(this[_0x152eb8(0x118)],_0x152eb8(0x125),this[_0x152eb8(0x143)](_0x2c9bee[_0x152eb8(0x160)]()[_0x152eb8(0x12c)][_0x152eb8(0x14d)],0x1))});}[_0x5e956d(0x153)](_0x53b8cd,_0x4d80e5,_0x198df6){const _0x34dfe2=_0x5e956d;if(this[_0x34dfe2(0x15a)](_0x53b8cd,_0x4d80e5),_0x198df6&&_0x198df6[_0x34dfe2(0x160)]()&&!_0x4d80e5[_0x34dfe2(0x160)]()[_0x34dfe2(0x15b)][_0x34dfe2(0x169)](_0x198df6[_0x34dfe2(0x160)]()[_0x34dfe2(0x12c)])){const _0x807546=_0x53b8cd[_0x53b8cd[_0x34dfe2(0x141)]-0x1],_0x1ca493=_0x34dfe2(0x146)==_0x4d80e5[_0x34dfe2(0x132)]?_0x34dfe2(0x14b):_0x34dfe2(0x113);_0x807546&&_0x34dfe2(0x10b)==_0x807546[_0x34dfe2(0x132)]&&(_0x807546[_0x1ca493]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x559c(){var _0x1c4707=['requires','88848LdhmnP','isOfficialPlugin','editor','2428bplQoi','plugins','getSuggestion','6717608ASWEHQ','addSuggestionData','isPremiumPlugin','addSuggestion','pluginName','10893320iYfDli','get','Comments','adapter','2892447zMBMee','getSuggestions','TrackChanges','1430458TzYVlL','848160zQbdjt','7hkpuYz','1955BsQjxb','3lWeJqk'];_0x559c=function(){return _0x1c4707;};return _0x559c();}var _0x1e055e=_0x5486;function _0x5486(_0xc29778,_0xff541b){var _0x559ce4=_0x559c();return _0x5486=function(_0x548635,_0x2b58d3){_0x548635=_0x548635-0x1d5;var _0x1c082d=_0x559ce4[_0x548635];return _0x1c082d;},_0x5486(_0xc29778,_0xff541b);}(function(_0x5394c8,_0x18d479){var _0x518838=_0x5486,_0x131cba=_0x5394c8();while(!![]){try{var _0x1fc426=-parseInt(_0x518838(0x1d6))/0x1+-parseInt(_0x518838(0x1e8))/0x2*(parseInt(_0x518838(0x1ec))/0x3)+-parseInt(_0x518838(0x1d9))/0x4*(parseInt(_0x518838(0x1eb))/0x5)+-parseInt(_0x518838(0x1e9))/0x6+-parseInt(_0x518838(0x1ea))/0x7*(-parseInt(_0x518838(0x1dc))/0x8)+-parseInt(_0x518838(0x1e5))/0x9+parseInt(_0x518838(0x1e1))/0xa;if(_0x1fc426===_0x18d479)break;else _0x131cba['push'](_0x131cba['shift']());}catch(_0x33a27b){_0x131cba['push'](_0x131cba['shift']());}}}(_0x559c,0x67bac));import{Plugin as _0x38c68a}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x5e7ebd}from'./trackchangesui.js';import{TrackChangesEditing as _0x21f00e}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x38c68a{static get[_0x1e055e(0x1d5)](){var _0x23f063=_0x1e055e;return[_0x21f00e,_0x5e7ebd,_0x23f063(0x1e3)];}static get[_0x1e055e(0x1e0)](){var _0x32a2a3=_0x1e055e;return _0x32a2a3(0x1e7);}static get[_0x1e055e(0x1d7)](){return!0x0;}static get[_0x1e055e(0x1de)](){return!0x0;}set[_0x1e055e(0x1e4)](_0x574d9e){var _0x2a4ddf=_0x1e055e;this[_0x2a4ddf(0x1d8)][_0x2a4ddf(0x1da)][_0x2a4ddf(0x1e2)](_0x21f00e)[_0x2a4ddf(0x1e4)]=_0x574d9e;}get[_0x1e055e(0x1e4)](){var _0x31eb6=_0x1e055e;return this[_0x31eb6(0x1d8)][_0x31eb6(0x1da)][_0x31eb6(0x1e2)](_0x21f00e)[_0x31eb6(0x1e4)];}[_0x1e055e(0x1df)](_0x2dde2c){var _0x4832e1=_0x1e055e;return this[_0x4832e1(0x1d8)][_0x4832e1(0x1da)][_0x4832e1(0x1e2)](_0x21f00e)[_0x4832e1(0x1dd)](_0x2dde2c);}[_0x1e055e(0x1e6)]({skipNotAttached:_0x10e983=!0x1,toJSON:_0x31ea5a=!0x1}={}){var _0xf05c66=_0x1e055e;return this[_0xf05c66(0x1d8)][_0xf05c66(0x1da)][_0xf05c66(0x1e2)](_0x21f00e)[_0xf05c66(0x1e6)]({'skipNotAttached':_0x10e983,'toJSON':_0x31ea5a});}[_0x1e055e(0x1db)](_0x2f75d2){var _0x32f94a=_0x1e055e;return this[_0x32f94a(0x1d8)][_0x32f94a(0x1da)][_0x32f94a(0x1e2)](_0x21f00e)[_0x32f94a(0x1db)](_0x2f75d2);}}
|