@ckeditor/ckeditor5-track-changes 46.1.0 → 46.1.1-alpha.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 _0x3bd91b=_0x3614;function _0x105b(){const _0x3a9451=['removeClass','3088390BJNnXh','forceValue','editing','3964912iTuYlk','data-suggestion','markerNameToElements','type','stop','plugins','bindElementToMarker','getCellLocation','TrackChangesEditing','get','TableUtils','3315878wLHIoc','writer','699256jOISKB','enableDefaultAttributesIntegration','item','format','removeAttribute','name','FORMAT_HEADER_ROW','markerName','1103472DEhMKa','formatBlock','data','FORMAT_REGULAR_COLUMN','12JCYZjg','_handleLegacySuggestions','headingColumns','setAttribute','editor','parent','end','_splitMarkerName','highest','unbindElementFromMarkerName','getSuggestion','markerRange','FORMAT_HEADER_COLUMN','addClass','TableEditing','activeMarkers','10817814lJIbDx','downcastDispatcher','_suggestionFactory','34218351ctOWNa','requires','nodeAfter','commandParams','mapper','ck-suggestion-marker--active','options','*Format:*\x20%0','nodeBefore','descriptionFactory','removeMarker:suggestion','FORMAT_REGULAR_ROW','registerAttributeLabel','createTableWalker','showSuggestionHighlights','addMarker:suggestion','toViewElement','headingRows','afterInit','registerDescriptionCallback','cell','consumable','setTableRowHeader','consume','has','accept','commandName','registerCustomCallback','registerBlockAttribute','start','_acceptFormatSuggestionCallbackFactory','ck-suggestion-marker-','_registerLegacyDescription','setTableColumnHeader','1MdXDim','includes','locale'];_0x105b=function(){return _0x3a9451;};return _0x105b();}(function(_0x3478f8,_0x5b0f68){const _0x460bf5=_0x3614,_0x5d3b13=_0x3478f8();while(!![]){try{const _0x4a6c0c=-parseInt(_0x460bf5(0x1dc))/0x1*(-parseInt(_0x460bf5(0x1ee))/0x2)+-parseInt(_0x460bf5(0x1f8))/0x3+parseInt(_0x460bf5(0x1f0))/0x4+parseInt(_0x460bf5(0x1e0))/0x5*(parseInt(_0x460bf5(0x1fc))/0x6)+parseInt(_0x460bf5(0x20c))/0x7+parseInt(_0x460bf5(0x1e3))/0x8+-parseInt(_0x460bf5(0x20f))/0x9;if(_0x4a6c0c===_0x5b0f68)break;else _0x5d3b13['push'](_0x5d3b13['shift']());}catch(_0xf1d4ce){_0x5d3b13['push'](_0x5d3b13['shift']());}}}(_0x105b,0xe54fe));import{Plugin as _0x5b4c77}from'ckeditor5/src/core.js';function _0x3614(_0x540cec,_0x1d6cb5){const _0x105b08=_0x105b();return _0x3614=function(_0x36141c,_0x5c7d68){_0x36141c=_0x36141c-0x1bc;let _0xcaa10a=_0x105b08[_0x36141c];return _0xcaa10a;},_0x3614(_0x540cec,_0x1d6cb5);}import{TrackChangesTable as _0x112a38}from'./table.js';import{getTranslation as _0x23e542}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x5b4c77{static get[_0x3bd91b(0x210)](){return[_0x112a38];}[_0x3bd91b(0x1cc)](){const _0x5555a1=_0x3bd91b,_0x10bf49=this[_0x5555a1(0x200)];if(!_0x10bf49[_0x5555a1(0x1e8)][_0x5555a1(0x1d2)](_0x5555a1(0x20a)))return;const _0x567768=_0x10bf49[_0x5555a1(0x1de)],_0x33c59b=_0x10bf49[_0x5555a1(0x1e8)][_0x5555a1(0x1ec)](_0x5555a1(0x1eb));_0x33c59b[_0x5555a1(0x1f1)](_0x5555a1(0x1d0)),_0x33c59b[_0x5555a1(0x1f1)](_0x5555a1(0x1db)),_0x33c59b[_0x5555a1(0x1d6)](_0x5555a1(0x1cb)),_0x33c59b[_0x5555a1(0x1d6)](_0x5555a1(0x1fe)),_0x33c59b[_0x5555a1(0x1c3)][_0x5555a1(0x1c6)](_0x5555a1(0x1cb),_0x23e542(_0x567768,_0x5555a1(0x1f6))),_0x33c59b[_0x5555a1(0x1c3)][_0x5555a1(0x1c6)](_0x5555a1(0x1fe),_0x23e542(_0x567768,_0x5555a1(0x208))),this[_0x5555a1(0x1fd)]();}[_0x3bd91b(0x1fd)](){const _0x4b84f2=_0x3bd91b,_0x4912b3=this[_0x4b84f2(0x200)][_0x4b84f2(0x1e8)][_0x4b84f2(0x1ec)](_0x4b84f2(0x1eb)),_0x4bdf1f=this[_0x4b84f2(0x200)][_0x4b84f2(0x1e8)][_0x4b84f2(0x1ec)](_0x4b84f2(0x1ed)),_0x486835=this[_0x4b84f2(0x200)][_0x4b84f2(0x1e8)][_0x4b84f2(0x1ec)](_0x112a38)[_0x4b84f2(0x1d8)]();function _0x3530d8({showActiveMarker:_0x231109=!0x0,setDataAttribute:_0x35f678=!0x0}={}){return(_0xb0cba4,_0x4b6a16,_0x2a8cc5)=>{const _0x35cf43=_0x3614,{type:_0x323524,id:_0x150f59}=_0x4912b3[_0x35cf43(0x203)](_0x4b6a16[_0x35cf43(0x1f7)]),_0x4565a0=_0x4912b3[_0x35cf43(0x206)](_0x150f59),_0x4432cb=_0x4565a0[_0x35cf43(0x1fa)];if(_0x35cf43(0x1f9)!=_0x4565a0[_0x35cf43(0x1e6)]||!_0x4432cb||_0x35cf43(0x1db)!=_0x4432cb[_0x35cf43(0x1d4)])return;if(_0x4b6a16[_0x35cf43(0x1f2)])return void _0xb0cba4[_0x35cf43(0x1e7)]();if(!_0x2a8cc5[_0x35cf43(0x1cf)][_0x35cf43(0x1d1)](_0x4b6a16[_0x35cf43(0x207)],_0xb0cba4[_0x35cf43(0x1f5)]))return;const _0x48a00c=_0x4b6a16[_0x35cf43(0x207)][_0x35cf43(0x1d7)][_0x35cf43(0x1bc)],_0x58d6c6=_0x4b6a16[_0x35cf43(0x207)][_0x35cf43(0x202)][_0x35cf43(0x1c2)],_0x425a39=_0x48a00c[_0x35cf43(0x201)][_0x35cf43(0x201)],{column:_0x26b002}=_0x4bdf1f[_0x35cf43(0x1ea)](_0x48a00c),{column:_0x2fcedf}=_0x4bdf1f[_0x35cf43(0x1ea)](_0x58d6c6);for(let _0x19b5fb=_0x26b002;_0x19b5fb<=_0x2fcedf;_0x19b5fb++){const _0x1a3a88=_0x4bdf1f[_0x35cf43(0x1c7)](_0x425a39,{'column':_0x19b5fb,'includeAllSlots':!0x1});for(const _0x31b1ad of _0x1a3a88){const _0x11d583=_0x31b1ad[_0x35cf43(0x1ce)],_0x17851e=_0x2a8cc5[_0x35cf43(0x1be)][_0x35cf43(0x1ca)](_0x11d583);_0x2a8cc5[_0x35cf43(0x1ef)][_0x35cf43(0x209)](_0x35cf43(0x1d9)+_0x323524,_0x17851e),_0x35f678&&_0x2a8cc5[_0x35cf43(0x1ef)][_0x35cf43(0x1ff)](_0x35cf43(0x1e4),_0x150f59,_0x17851e),_0x2a8cc5[_0x35cf43(0x1be)][_0x35cf43(0x1e9)](_0x17851e,_0x4b6a16[_0x35cf43(0x1f7)]),_0x231109&&(_0x4912b3[_0x35cf43(0x20b)][_0x35cf43(0x1dd)](_0x4b6a16[_0x35cf43(0x1f7)])?_0x2a8cc5[_0x35cf43(0x1ef)][_0x35cf43(0x209)](_0x35cf43(0x1bf),_0x17851e):_0x2a8cc5[_0x35cf43(0x1ef)][_0x35cf43(0x1df)](_0x35cf43(0x1bf),_0x17851e));}}};}_0x4912b3[_0x4b84f2(0x20e)][_0x4b84f2(0x1d5)](_0x4b84f2(0x1f9),_0x4b84f2(0x1d0),_0x4b84f2(0x1d3),_0x486835),_0x4912b3[_0x4b84f2(0x20e)][_0x4b84f2(0x1d5)](_0x4b84f2(0x1f9),_0x4b84f2(0x1db),_0x4b84f2(0x1d3),_0x486835),this[_0x4b84f2(0x200)][_0x4b84f2(0x1e2)][_0x4b84f2(0x20d)]['on'](_0x4b84f2(0x1c9),_0x3530d8(),{'priority':_0x4b84f2(0x204)}),this[_0x4b84f2(0x200)][_0x4b84f2(0x1fa)][_0x4b84f2(0x20d)]['on'](_0x4b84f2(0x1c9),(_0x241095,_0x561164,_0x20b4cb)=>{const _0x5ac791=_0x4b84f2;_0x20b4cb[_0x5ac791(0x1c0)][_0x5ac791(0x1c8)]&&_0x3530d8({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x241095,_0x561164,_0x20b4cb);},{'priority':_0x4b84f2(0x204)}),this[_0x4b84f2(0x200)][_0x4b84f2(0x1e2)][_0x4b84f2(0x20d)]['on'](_0x4b84f2(0x1c4),(_0x29279d,_0x2d4a8f,_0x37fb71)=>{const _0x2d2544=_0x4b84f2,{type:_0x361b57,id:_0x3c8c48}=_0x4912b3[_0x2d2544(0x203)](_0x2d4a8f[_0x2d2544(0x1f7)]),_0x2f65e4=_0x4912b3[_0x2d2544(0x206)](_0x3c8c48),_0x117a53=_0x2f65e4[_0x2d2544(0x1fa)];if(_0x2d2544(0x1f9)!=_0x2f65e4[_0x2d2544(0x1e6)]||!_0x117a53||_0x2d2544(0x1db)!=_0x117a53[_0x2d2544(0x1d4)])return;const _0x42be4b=_0x37fb71[_0x2d2544(0x1be)][_0x2d2544(0x1e5)](_0x2d4a8f[_0x2d2544(0x1f7)]);if(_0x42be4b){for(const _0x4fc0fd of _0x42be4b)_0x37fb71[_0x2d2544(0x1ef)][_0x2d2544(0x1df)](_0x2d2544(0x1d9)+_0x361b57,_0x4fc0fd),_0x37fb71[_0x2d2544(0x1ef)][_0x2d2544(0x1df)](_0x2d2544(0x1bf),_0x4fc0fd),_0x37fb71[_0x2d2544(0x1ef)][_0x2d2544(0x1f4)](_0x2d2544(0x1e4),_0x4fc0fd),_0x37fb71[_0x2d2544(0x1be)][_0x2d2544(0x205)](_0x4fc0fd,_0x2d4a8f[_0x2d2544(0x1f7)]);}},{'priority':_0x4b84f2(0x204)}),this[_0x4b84f2(0x1da)]();}[_0x3bd91b(0x1da)](){const _0x233596=_0x3bd91b,_0x97190d=this[_0x233596(0x200)],_0x34ed31=_0x97190d[_0x233596(0x1de)];function _0x52273d(_0x16dbe1){const _0x577d52=_0x233596;return{'type':_0x577d52(0x1f3),'content':_0x23e542(_0x34ed31,_0x577d52(0x1c1),_0x16dbe1)};}_0x97190d[_0x233596(0x1e8)][_0x233596(0x1ec)](_0x233596(0x1eb))[_0x233596(0x1c3)][_0x233596(0x1cd)](_0x3e6e1f=>{const _0x29d218=_0x233596;if(_0x29d218(0x1f9)!=_0x3e6e1f[_0x29d218(0x1e6)])return;const {data:_0x1c7650}=_0x3e6e1f;if(_0x1c7650){if(_0x29d218(0x1d0)==_0x1c7650[_0x29d218(0x1d4)]){const _0xc2ab6e=_0x1c7650[_0x29d218(0x1bd)][0x0][_0x29d218(0x1e1)];return _0x52273d(_0x23e542(_0x34ed31,_0xc2ab6e?_0x29d218(0x1f6):_0x29d218(0x1c5)));}if(_0x29d218(0x1db)==_0x1c7650[_0x29d218(0x1d4)]){const _0x445844=_0x1c7650[_0x29d218(0x1bd)][0x0][_0x29d218(0x1e1)];return _0x52273d(_0x23e542(_0x34ed31,_0x445844?_0x29d218(0x208):_0x29d218(0x1fb)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x37125e=_0x111b;(function(_0x40041d,_0x36f2f9){const _0x23f170=_0x111b,_0x595f00=_0x40041d();while(!![]){try{const _0x416f4d=parseInt(_0x23f170(0xf7))/0x1+-parseInt(_0x23f170(0xfb))/0x2+parseInt(_0x23f170(0xf1))/0x3+-parseInt(_0x23f170(0x107))/0x4+-parseInt(_0x23f170(0xfd))/0x5*(-parseInt(_0x23f170(0xee))/0x6)+parseInt(_0x23f170(0x10e))/0x7*(-parseInt(_0x23f170(0xf2))/0x8)+-parseInt(_0x23f170(0x10d))/0x9*(-parseInt(_0x23f170(0xfc))/0xa);if(_0x416f4d===_0x36f2f9)break;else _0x595f00['push'](_0x595f00['shift']());}catch(_0x3df41b){_0x595f00['push'](_0x595f00['shift']());}}}(_0x3f10,0x3f0ed));import{Plugin as _0x4bfeda}from'ckeditor5/src/core.js';import{getTranslation as _0x5e92a7}from'../utils/common-translations.js';function _0x111b(_0x272cfb,_0x12b2ec){const _0x3f1030=_0x3f10();return _0x111b=function(_0x111b04,_0xa6559e){_0x111b04=_0x111b04-0xec;let _0x1b928b=_0x3f1030[_0x111b04];return _0x1b928b;},_0x111b(_0x272cfb,_0x12b2ec);}function _0x3f10(){const _0x3441d2=['10sFrCBq','290590aBDrgX','TrackChangesEditing','ELEMENT_CONTENT_TABLE','editor','table','plugins','*Set\x20table\x20type:*\x20%0','element','get','registerElementLabel','957780jiisHl','enableCommand','newValue','TableLayout','locale','getAttribute','3740661pLMlKX','4347nMTSOT','registerBlockAttribute','key','ELEMENT_LAYOUT_TABLE','layout','6OjyzXj','descriptionFactory','has','1307124MxQdCL','1192uiPAcc','insertTableLayout','afterInit','enableDefaultAttributesIntegration','format','141887pARDuc','content','registerDescriptionCallback','tableType','922166SEXdoE'];_0x3f10=function(){return _0x3441d2;};return _0x3f10();}export class TrackChangesTableLayout extends _0x4bfeda{[_0x37125e(0xf4)](){const _0x29c24b=_0x37125e,_0x2c0f8c=this[_0x29c24b(0x100)],_0x5d5546=_0x2c0f8c[_0x29c24b(0x10b)],_0x5161a0=_0x2c0f8c[_0x29c24b(0x102)][_0x29c24b(0x105)](_0x29c24b(0xfe));function _0x553b0b(_0x251c0a){const _0x3e7bae=_0x29c24b;return{'type':_0x3e7bae(0xf6),'content':''+_0x5e92a7(_0x5d5546,_0x3e7bae(0x103),_0x251c0a)};}_0x2c0f8c[_0x29c24b(0x102)][_0x29c24b(0xf0)](_0x29c24b(0x10a))&&(_0x5161a0[_0x29c24b(0x108)](_0x29c24b(0xf3)),_0x5161a0[_0x29c24b(0xf5)](_0x29c24b(0xfa)),_0x5161a0[_0x29c24b(0x10f)](_0x29c24b(0xfa)),_0x5161a0[_0x29c24b(0xef)][_0x29c24b(0x106)](_0x471ac1=>_0x471ac1['is'](_0x29c24b(0x104),_0x29c24b(0x101))&&_0x29c24b(0xed)===_0x471ac1[_0x29c24b(0x10c)](_0x29c24b(0xfa)),_0x52835a=>_0x5e92a7(_0x5d5546,_0x29c24b(0xec),_0x52835a)),_0x5161a0[_0x29c24b(0xef)][_0x29c24b(0xf9)](_0x1829e8=>{const _0x3e5df4=_0x29c24b,{data:_0x1bdb2e}=_0x1829e8;if(_0x1bdb2e&&_0x3e5df4(0xfa)==_0x1bdb2e[_0x3e5df4(0x110)])switch(_0x1bdb2e[_0x3e5df4(0x109)]){case _0x3e5df4(0xed):return _0x553b0b(_0x5e92a7(_0x5d5546,_0x3e5df4(0xec)));case _0x3e5df4(0xf8):return _0x553b0b(_0x5e92a7(_0x5d5546,_0x3e5df4(0xff)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x25bae8=_0x74d8;(function(_0x8d7b0e,_0x33ae90){const _0x2c31aa=_0x74d8,_0x100c93=_0x8d7b0e();while(!![]){try{const _0x4f788a=-parseInt(_0x2c31aa(0x11a))/0x1*(-parseInt(_0x2c31aa(0x131))/0x2)+parseInt(_0x2c31aa(0x123))/0x3+parseInt(_0x2c31aa(0x142))/0x4*(parseInt(_0x2c31aa(0x10d))/0x5)+-parseInt(_0x2c31aa(0x121))/0x6*(parseInt(_0x2c31aa(0x13f))/0x7)+parseInt(_0x2c31aa(0xe4))/0x8+-parseInt(_0x2c31aa(0x137))/0x9+parseInt(_0x2c31aa(0x133))/0xa*(-parseInt(_0x2c31aa(0xf8))/0xb);if(_0x4f788a===_0x33ae90)break;else _0x100c93['push'](_0x100c93['shift']());}catch(_0x21132b){_0x100c93['push'](_0x100c93['shift']());}}}(_0x56a0,0xacc72));function _0x74d8(_0x70665c,_0xb48ab1){const _0x56a075=_0x56a0();return _0x74d8=function(_0x74d8f9,_0x1da93f){_0x74d8f9=_0x74d8f9-0xe3;let _0x2982c6=_0x56a075[_0x74d8f9];return _0x2982c6;},_0x74d8(_0x70665c,_0xb48ab1);}function _0x56a0(){const _0x1cef00=['TableEditing','22qhklkP','find','refresh','*Split\x20cell:*\x20horizontally','mergeTableCells','createRangeOn','getSuggestions','tableCell','type','$graveyard','document','author','change','trackChanges','getAncestors','low','markBlockFormat','isInContent','containsRange','push','editor','440WypaDz','createTableWalker','splitTableCellHorizontally','selection','findAncestor','direction','deletion','length','root','value','registerCustomCallback','formatBlock','getSelectionAffectedTableCells','1bqYPXE','registerDescriptionCallback','horizontally','insertion','requires','get','commands','18LziSEz','*Merge\x20cells*','1181829bUvQhf','rootName','plugins','map','getRanges','_areSelectedCellsMergable','_suggestionFactory','mergeTableCellDown','isEnabled','formatInline','locale','stop','detach','size','2108702blbWyG','_tablePostFixingSubtypes','6745280kOIlQn','_areMergableCells','element','mergeTableCellLeft','1038501oqaTxi','forceDefaultExecution','subType','splitTableCellVertically','_acceptFormatSuggestionCallbackFactory','return','TableUtils','afterInit','1306879EunPcc','enableCommand','cell','43864VBYBjq','_isForcedDefaultExecutionBlock','table','format','getCellLocation','execute','2551456SOpqOA','getFirstPosition','*Split\x20cell:*\x20vertically','setSelection','markMultiRangeBlockFormat','has','highest','add','from','descriptionFactory','TrackChangesEditing','fromRange','set:isEnabled','commandName','mergeTableCellUp','mergeTableCellRight','accept','filter','model'];_0x56a0=function(){return _0x1cef00;};return _0x56a0();}import{Plugin as _0x5a9db5}from'ckeditor5/src/core.js';import{TrackChangesTable as _0xeedab4}from'./table.js';import{ModelLiveRange as _0x25ac27}from'ckeditor5/src/engine.js';import{getTranslation as _0x199885}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5a9db5{static get[_0x25bae8(0x11e)](){return[_0xeedab4];}[_0x25bae8(0x13e)](){const _0x305ce6=_0x25bae8,_0x5f1db2=this[_0x305ce6(0x10c)],_0x4852fc=_0x5f1db2[_0x305ce6(0xf6)][_0x305ce6(0x102)][_0x305ce6(0x110)],_0x2a9935=_0x5f1db2[_0x305ce6(0x12d)];if(!_0x5f1db2[_0x305ce6(0x125)][_0x305ce6(0xe9)](_0x305ce6(0xf7)))return;const _0x624233=_0x5f1db2[_0x305ce6(0x125)][_0x305ce6(0x11f)](_0x305ce6(0xee)),_0x4a4e57=_0x5f1db2[_0x305ce6(0x125)][_0x305ce6(0x11f)](_0x305ce6(0x13d)),_0x318eaa=_0x5f1db2[_0x305ce6(0x125)][_0x305ce6(0x11f)](_0xeedab4);_0x318eaa[_0x305ce6(0x132)][_0x305ce6(0x10b)](_0x305ce6(0xfc)),_0x624233[_0x305ce6(0x140)](_0x305ce6(0xfc),()=>{const _0x2949b6=_0x305ce6,_0x1cd385=_0x4a4e57[_0x2949b6(0x119)](_0x5f1db2[_0x2949b6(0xf6)][_0x2949b6(0x102)][_0x2949b6(0x110)]);_0x5f1db2[_0x2949b6(0xf6)][_0x2949b6(0x104)](()=>{const _0x5020ca=_0x2949b6;_0x624233[_0x5020ca(0xe8)](_0x1cd385,{'commandName':_0x5020ca(0xfc),'commandParams':[]},[],_0x5020ca(0xfc));});}),_0x5f1db2[_0x305ce6(0x120)][_0x305ce6(0x11f)](_0x305ce6(0xfc))['on'](_0x305ce6(0xe3),(_0x3e78a8,_0x5d347e)=>{const _0x15eb0b=_0x305ce6;_0x5f1db2[_0x15eb0b(0x120)][_0x15eb0b(0x11f)](_0x15eb0b(0x105))[_0x15eb0b(0x116)]&&(_0x5d347e[_0x15eb0b(0x114)]>0x0&&_0x5d347e[_0x5d347e[_0x15eb0b(0x114)]-0x1]&&_0x5d347e[_0x5d347e[_0x15eb0b(0x114)]-0x1][_0x15eb0b(0x138)]||_0x624233[_0x15eb0b(0x143)]||this[_0x15eb0b(0x128)]()||_0x3e78a8[_0x15eb0b(0x12e)]());},{'priority':_0x305ce6(0xea)});for(const _0x29036b of[_0x305ce6(0xf2),_0x305ce6(0xf3),_0x305ce6(0x12a),_0x305ce6(0x136)]){const _0x132e30=_0x5f1db2[_0x305ce6(0x120)][_0x305ce6(0x11f)](_0x29036b);_0x624233[_0x305ce6(0x140)](_0x29036b,()=>{const _0x41af81=_0x305ce6,_0x2d1408=_0x5f1db2[_0x41af81(0xf6)][_0x41af81(0x102)][_0x41af81(0x110)][_0x41af81(0xe5)]()[_0x41af81(0x106)]()[_0x41af81(0xf9)](_0x327bf6=>_0x327bf6['is'](_0x41af81(0x135),_0x41af81(0xff))),_0xd6a108=_0x132e30[_0x41af81(0x116)];_0x5f1db2[_0x41af81(0xf6)][_0x41af81(0x104)](()=>{const _0x4ec6ed=_0x41af81;_0x624233[_0x4ec6ed(0xe8)]([_0x2d1408,_0xd6a108],{'commandName':_0x4ec6ed(0xfc),'commandParams':[]},[],_0x4ec6ed(0xfc));});});}for(const _0xa880b2 of[_0x305ce6(0x13a),_0x305ce6(0x10f)]){const _0x55e176=_0x5f1db2[_0x305ce6(0x120)][_0x305ce6(0x11f)](_0xa880b2);_0x624233[_0x305ce6(0x140)](_0xa880b2,()=>{const _0x3fb643=_0x305ce6,_0x5d3dd0=_0x4a4e57[_0x3fb643(0x119)](_0x5f1db2[_0x3fb643(0xf6)][_0x3fb643(0x102)][_0x3fb643(0x110)])[0x0],_0x424f52=_0x5d3dd0[_0x3fb643(0x111)](_0x3fb643(0x144)),{column:_0x1a9c8e,row:_0x1217bc}=_0x4a4e57[_0x3fb643(0x146)](_0x5d3dd0);let _0x1540ba=[];if(_0x3fb643(0x11c)==_0x55e176[_0x3fb643(0x112)]){const _0x247d74=_0x4a4e57[_0x3fb643(0x10e)](_0x424f52,{'startRow':_0x1217bc,'endRow':_0x1217bc,'includeAllSlots':!0x0});_0x1540ba=Array[_0x3fb643(0xec)](_0x247d74)[_0x3fb643(0x126)](_0x70aada=>_0x70aada[_0x3fb643(0x141)]);}else{const _0x5f4c27=_0x4a4e57[_0x3fb643(0x10e)](_0x424f52,{'column':_0x1a9c8e,'includeAllSlots':!0x0});_0x1540ba=Array[_0x3fb643(0xec)](_0x5f4c27)[_0x3fb643(0x126)](_0x39744f=>_0x39744f[_0x3fb643(0x141)]);}_0x5f1db2[_0x3fb643(0xf6)][_0x3fb643(0x104)](_0x423694=>{const _0x2687ac=_0x3fb643;_0x624233[_0x2687ac(0x108)](_0x423694[_0x2687ac(0xfd)](_0x5d3dd0),{'commandName':_0xa880b2,'commandParams':[]},_0x1540ba,_0xa880b2);});});}_0x624233[_0x305ce6(0xed)][_0x305ce6(0x11b)](_0x3d8134=>{const _0x1c4776=_0x305ce6;if(_0x1c4776(0x118)!=_0x3d8134[_0x1c4776(0x100)]&&_0x1c4776(0x12c)!=_0x3d8134[_0x1c4776(0x100)])return;const {data:_0x201c02}=_0x3d8134;return _0x201c02&&_0x1c4776(0xfc)==_0x201c02[_0x1c4776(0xf1)]?{'type':_0x1c4776(0x145),'content':_0x199885(_0x2a9935,_0x1c4776(0x122))}:void 0x0;}),_0x624233[_0x305ce6(0xed)][_0x305ce6(0x11b)](_0x51c702=>{const _0xf63705=_0x305ce6;if(_0xf63705(0x118)!=_0x51c702[_0xf63705(0x100)]&&_0xf63705(0x12c)!=_0x51c702[_0xf63705(0x100)])return;const {data:_0x3df33f}=_0x51c702;return _0x3df33f?_0xf63705(0x13a)==_0x3df33f[_0xf63705(0xf1)]?{'type':_0xf63705(0x145),'content':_0x199885(_0x2a9935,_0xf63705(0xe6))}:_0xf63705(0x10f)==_0x3df33f[_0xf63705(0xf1)]?{'type':_0xf63705(0x145),'content':_0x199885(_0x2a9935,_0xf63705(0xfb))}:void 0x0:void 0x0;});const _0xbac8dc=_0x318eaa[_0x305ce6(0x13b)]();for(const _0x581992 of[_0x305ce6(0xf2),_0x305ce6(0xf3),_0x305ce6(0x12a),_0x305ce6(0x136)])_0x624233[_0x305ce6(0x129)][_0x305ce6(0x117)](_0x305ce6(0x118),_0x581992,_0x305ce6(0xf4),_0xbac8dc);for(const _0x290ca6 of[_0x305ce6(0x13a),_0x305ce6(0x10f)])_0x624233[_0x305ce6(0x129)][_0x305ce6(0x117)](_0x305ce6(0x118),_0x290ca6,_0x305ce6(0xf4),_0xbac8dc);_0x624233[_0x305ce6(0x129)][_0x305ce6(0x117)](_0x305ce6(0x118),_0x305ce6(0xfc),_0x305ce6(0xf4),_0x19092e=>{const _0xb86496=_0x305ce6;_0x5f1db2[_0xb86496(0xf6)][_0xb86496(0x104)](_0x30fa28=>{const _0x10bf28=_0xb86496,_0x13001c=Array[_0x10bf28(0xec)](_0x4852fc[_0x10bf28(0x127)]())[_0x10bf28(0x126)](_0x3bf5b1=>_0x25ac27[_0x10bf28(0xef)](_0x3bf5b1));_0x30fa28[_0x10bf28(0xe7)](_0x19092e),_0x5f1db2[_0x10bf28(0x120)][_0x10bf28(0x11f)](_0x10bf28(0xfc))[_0x10bf28(0xfa)](),_0x5f1db2[_0x10bf28(0xe3)](_0x10bf28(0xfc),{'forceDefaultExecution':!0x0});const _0x1e839c=_0x13001c[_0x10bf28(0xf5)](_0x349ab1=>_0x10bf28(0x101)!=_0x349ab1[_0x10bf28(0x115)][_0x10bf28(0x124)]);_0x1e839c[_0x10bf28(0x114)]>0x0&&_0x30fa28[_0x10bf28(0xe7)](_0x1e839c);for(const _0x2ca2f4 of _0x13001c)_0x2ca2f4[_0x10bf28(0x12f)]();});});for(const _0x1c0e10 of[_0x305ce6(0xf2),_0x305ce6(0x12a),_0x305ce6(0x136),_0x305ce6(0xf3)]){const _0x1e5abe=_0x5f1db2[_0x305ce6(0x120)][_0x305ce6(0x11f)](_0x1c0e10);_0x1e5abe['on'](_0x305ce6(0xf0),(_0x1aba8d,_0xae839e,_0x34bd51)=>{const _0x55bcbe=_0x305ce6;if(_0x34bd51){const _0x858c4b=_0x5f1db2[_0x55bcbe(0xf6)][_0x55bcbe(0x102)][_0x55bcbe(0x110)][_0x55bcbe(0xe5)]()[_0x55bcbe(0x106)]()[_0x55bcbe(0xf9)](_0x20cbeb=>_0x20cbeb['is'](_0x55bcbe(0x135),_0x55bcbe(0xff)));this[_0x55bcbe(0x134)](_0x1e5abe[_0x55bcbe(0x116)],_0x858c4b)||(_0x1aba8d[_0x55bcbe(0x13c)]=!0x1,_0x1aba8d[_0x55bcbe(0x12e)]());}},{'priority':_0x305ce6(0x107)});}}[_0x25bae8(0x128)](){const _0x2b7a8d=_0x25bae8,_0x1516f5=this[_0x2b7a8d(0x10c)][_0x2b7a8d(0x120)][_0x2b7a8d(0x11f)](_0x2b7a8d(0xfc)),_0x2e9518=this[_0x2b7a8d(0x10c)][_0x2b7a8d(0x125)][_0x2b7a8d(0x11f)](_0x2b7a8d(0x13d));if(!_0x1516f5[_0x2b7a8d(0x12b)])return!0x1;const _0xfde836=_0x2e9518[_0x2b7a8d(0x119)](this[_0x2b7a8d(0x10c)][_0x2b7a8d(0xf6)][_0x2b7a8d(0x102)][_0x2b7a8d(0x110)]);for(const _0x4dfc17 of _0xfde836)for(const _0x40e325 of _0xfde836)if(_0x4dfc17!=_0x40e325&&!this[_0x2b7a8d(0x134)](_0x4dfc17,_0x40e325))return!0x1;return!0x0;}[_0x25bae8(0x134)](_0x5b4ff3,_0x8bb995){const _0xfc1617=_0x25bae8,_0x432afa=this[_0xfc1617(0x10c)][_0xfc1617(0x125)][_0xfc1617(0x11f)](_0xfc1617(0xee)),_0x1d4cb5=this[_0xfc1617(0x10c)][_0xfc1617(0xf6)][_0xfc1617(0xfd)](_0x5b4ff3),_0x21c054=this[_0xfc1617(0x10c)][_0xfc1617(0xf6)][_0xfc1617(0xfd)](_0x8bb995),_0x38627c=new Set(),_0xea9265=new Set();for(const _0x310668 of _0x432afa[_0xfc1617(0xfe)]())if((_0xfc1617(0x11d)==_0x310668[_0xfc1617(0x100)]||_0xfc1617(0x113)==_0x310668[_0xfc1617(0x100)]||_0xfc1617(0xfc)==_0x310668[_0xfc1617(0x139)])&&_0x310668[_0xfc1617(0x109)]){for(const _0x5a151e of _0x310668[_0xfc1617(0x127)]())_0x5a151e[_0xfc1617(0x10a)](_0x1d4cb5,!0x0)&&_0x38627c[_0xfc1617(0xeb)](_0x310668[_0xfc1617(0x100)]+':'+_0x310668[_0xfc1617(0x103)]['id']),_0x5a151e[_0xfc1617(0x10a)](_0x21c054,!0x0)&&_0xea9265[_0xfc1617(0xeb)](_0x310668[_0xfc1617(0x100)]+':'+_0x310668[_0xfc1617(0x103)]['id']);}if(_0x38627c[_0xfc1617(0x130)]!=_0xea9265[_0xfc1617(0x130)])return!0x1;for(const _0x2b89c5 of _0x38627c)if(!_0xea9265[_0xfc1617(0xe9)](_0x2b89c5))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2d6d99=_0xeb07;(function(_0x163db2,_0x157262){const _0x216ab6=_0xeb07,_0x6b2a6c=_0x163db2();while(!![]){try{const _0x159150=parseInt(_0x216ab6(0xe6))/0x1+-parseInt(_0x216ab6(0xd9))/0x2+-parseInt(_0x216ab6(0xea))/0x3+parseInt(_0x216ab6(0xbf))/0x4+parseInt(_0x216ab6(0xdb))/0x5+-parseInt(_0x216ab6(0xd1))/0x6*(parseInt(_0x216ab6(0xb0))/0x7)+parseInt(_0x216ab6(0xf1))/0x8;if(_0x159150===_0x157262)break;else _0x6b2a6c['push'](_0x6b2a6c['shift']());}catch(_0x2d3fb9){_0x6b2a6c['push'](_0x6b2a6c['shift']());}}}(_0x383b,0xed241));import{Plugin as _0x2644cc}from'ckeditor5/src/core.js';function _0x383b(){const _0x52bef6=['mergeTableCells','highest','change','isEnabled','3103030qzAxdy','map','4786030BDDpwH','execute','get','_areSelectedCellsMergable','selection','registerDescriptionCallback','isInContent','*Merge\x20cells*','add','size','mergeTableCellLeft','1136035bLywYf','root','setSelection','push','3139965yiglko','type','set:isEnabled','_acceptFormatSuggestionCallbackFactory','getRanges','*Split\x20cell:*\x20vertically','createRangeOn','2615880uevhzu','commandName','findAncestor','commands','format','enableCommand','element','_tablePostFixingSubtypes','document','author','subType','_isForcedDefaultExecutionBlock','TableEditing','return','TableUtils','find','_areMergableCells','fromRange','accept','registerCustomCallback','splitTableCellVertically','filter','length','containsRange','markMultiRangeBlockFormat','afterInit','*Split\x20cell:*\x20horizontally','requires','horizontally','markBlockFormat','stop','createTableWalker','21fRbduw','getSuggestions','tableCell','formatInline','getSelectionAffectedTableCells','formatBlock','getAncestors','insertion','has','rootName','_suggestionFactory','deletion','table','model','low','7489932aQCRsB','from','value','plugins','detach','TrackChangesEditing','mergeTableCellRight','direction','splitTableCellHorizontally','cell','trackChanges','getFirstPosition','forceDefaultExecution','$graveyard','mergeTableCellUp','mergeTableCellDown','locale','refresh','1446420MVYQBE','descriptionFactory','getCellLocation','editor'];_0x383b=function(){return _0x52bef6;};return _0x383b();}import{TrackChangesTable as _0x5c8ec9}from'./table.js';import{ModelLiveRange as _0x228a03}from'ckeditor5/src/engine.js';import{getTranslation as _0x117fee}from'../utils/common-translations.js';function _0xeb07(_0x413a13,_0x5279d4){const _0x383b24=_0x383b();return _0xeb07=function(_0xeb074d,_0x5896da){_0xeb074d=_0xeb074d-0x9d;let _0x144f2c=_0x383b24[_0xeb074d];return _0x144f2c;},_0xeb07(_0x413a13,_0x5279d4);}export class TrackChangesTableMergeSplit extends _0x2644cc{static get[_0x2d6d99(0xab)](){return[_0x5c8ec9];}[_0x2d6d99(0xa9)](){const _0x377599=_0x2d6d99,_0x123a88=this[_0x377599(0xd4)],_0x1ebaa3=_0x123a88[_0x377599(0xbd)][_0x377599(0xf9)][_0x377599(0xdf)],_0xbef652=_0x123a88[_0x377599(0xcf)];if(!_0x123a88[_0x377599(0xc2)][_0x377599(0xb8)](_0x377599(0xfd)))return;const _0x3b99a1=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x377599(0xc4)),_0x152036=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x377599(0x9e)),_0x5482ac=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x5c8ec9);_0x5482ac[_0x377599(0xf8)][_0x377599(0xe9)](_0x377599(0xd5)),_0x3b99a1[_0x377599(0xf6)](_0x377599(0xd5),()=>{const _0x37215c=_0x377599,_0x2cb6c6=_0x152036[_0x37215c(0xb4)](_0x123a88[_0x37215c(0xbd)][_0x37215c(0xf9)][_0x37215c(0xdf)]);_0x123a88[_0x37215c(0xbd)][_0x37215c(0xd7)](()=>{const _0x1f0dac=_0x37215c;_0x3b99a1[_0x1f0dac(0xa8)](_0x2cb6c6,{'commandName':_0x1f0dac(0xd5),'commandParams':[]},[],_0x1f0dac(0xd5));});}),_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x377599(0xd5))['on'](_0x377599(0xdc),(_0x28202a,_0x874a68)=>{const _0x20cecd=_0x377599;_0x123a88[_0x20cecd(0xf4)][_0x20cecd(0xdd)](_0x20cecd(0xc9))[_0x20cecd(0xc1)]&&(_0x874a68[_0x20cecd(0xa6)]>0x0&&_0x874a68[_0x874a68[_0x20cecd(0xa6)]-0x1]&&_0x874a68[_0x874a68[_0x20cecd(0xa6)]-0x1][_0x20cecd(0xcb)]||_0x3b99a1[_0x20cecd(0xfc)]||this[_0x20cecd(0xde)]()||_0x28202a[_0x20cecd(0xae)]());},{'priority':_0x377599(0xd6)});for(const _0x52602c of[_0x377599(0xcd),_0x377599(0xc5),_0x377599(0xce),_0x377599(0xe5)]){const _0x1566e2=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x52602c);_0x3b99a1[_0x377599(0xf6)](_0x52602c,()=>{const _0x201fb5=_0x377599,_0x5f0ac1=_0x123a88[_0x201fb5(0xbd)][_0x201fb5(0xf9)][_0x201fb5(0xdf)][_0x201fb5(0xca)]()[_0x201fb5(0xb6)]()[_0x201fb5(0x9f)](_0x35885a=>_0x35885a['is'](_0x201fb5(0xf7),_0x201fb5(0xb2))),_0x41c7e6=_0x1566e2[_0x201fb5(0xc1)];_0x123a88[_0x201fb5(0xbd)][_0x201fb5(0xd7)](()=>{const _0x4f0488=_0x201fb5;_0x3b99a1[_0x4f0488(0xa8)]([_0x5f0ac1,_0x41c7e6],{'commandName':_0x4f0488(0xd5),'commandParams':[]},[],_0x4f0488(0xd5));});});}for(const _0x3914e8 of[_0x377599(0xa4),_0x377599(0xc7)]){const _0x6d0de0=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x3914e8);_0x3b99a1[_0x377599(0xf6)](_0x3914e8,()=>{const _0x56b4cc=_0x377599,_0x3bd148=_0x152036[_0x56b4cc(0xb4)](_0x123a88[_0x56b4cc(0xbd)][_0x56b4cc(0xf9)][_0x56b4cc(0xdf)])[0x0],_0x4d2e99=_0x3bd148[_0x56b4cc(0xf3)](_0x56b4cc(0xbc)),{column:_0x3a263a,row:_0x4dfa1e}=_0x152036[_0x56b4cc(0xd3)](_0x3bd148);let _0xefba86=[];if(_0x56b4cc(0xac)==_0x6d0de0[_0x56b4cc(0xc6)]){const _0x4a3aa9=_0x152036[_0x56b4cc(0xaf)](_0x4d2e99,{'startRow':_0x4dfa1e,'endRow':_0x4dfa1e,'includeAllSlots':!0x0});_0xefba86=Array[_0x56b4cc(0xc0)](_0x4a3aa9)[_0x56b4cc(0xda)](_0x583a6e=>_0x583a6e[_0x56b4cc(0xc8)]);}else{const _0x3e2dc0=_0x152036[_0x56b4cc(0xaf)](_0x4d2e99,{'column':_0x3a263a,'includeAllSlots':!0x0});_0xefba86=Array[_0x56b4cc(0xc0)](_0x3e2dc0)[_0x56b4cc(0xda)](_0x4cf092=>_0x4cf092[_0x56b4cc(0xc8)]);}_0x123a88[_0x56b4cc(0xbd)][_0x56b4cc(0xd7)](_0x335f16=>{const _0x3e3900=_0x56b4cc;_0x3b99a1[_0x3e3900(0xad)](_0x335f16[_0x3e3900(0xf0)](_0x3bd148),{'commandName':_0x3914e8,'commandParams':[]},_0xefba86,_0x3914e8);});});}_0x3b99a1[_0x377599(0xd2)][_0x377599(0xe0)](_0x23a76d=>{const _0x5cf152=_0x377599;if(_0x5cf152(0xb5)!=_0x23a76d[_0x5cf152(0xeb)]&&_0x5cf152(0xb3)!=_0x23a76d[_0x5cf152(0xeb)])return;const {data:_0x3f8a63}=_0x23a76d;return _0x3f8a63&&_0x5cf152(0xd5)==_0x3f8a63[_0x5cf152(0xf2)]?{'type':_0x5cf152(0xf5),'content':_0x117fee(_0xbef652,_0x5cf152(0xe2))}:void 0x0;}),_0x3b99a1[_0x377599(0xd2)][_0x377599(0xe0)](_0x21d8e3=>{const _0x160158=_0x377599;if(_0x160158(0xb5)!=_0x21d8e3[_0x160158(0xeb)]&&_0x160158(0xb3)!=_0x21d8e3[_0x160158(0xeb)])return;const {data:_0x4a1605}=_0x21d8e3;return _0x4a1605?_0x160158(0xa4)==_0x4a1605[_0x160158(0xf2)]?{'type':_0x160158(0xf5),'content':_0x117fee(_0xbef652,_0x160158(0xef))}:_0x160158(0xc7)==_0x4a1605[_0x160158(0xf2)]?{'type':_0x160158(0xf5),'content':_0x117fee(_0xbef652,_0x160158(0xaa))}:void 0x0:void 0x0;});const _0x1f382f=_0x5482ac[_0x377599(0xed)]();for(const _0x1bf31f of[_0x377599(0xcd),_0x377599(0xc5),_0x377599(0xce),_0x377599(0xe5)])_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x1bf31f,_0x377599(0xa2),_0x1f382f);for(const _0x14940f of[_0x377599(0xa4),_0x377599(0xc7)])_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x14940f,_0x377599(0xa2),_0x1f382f);_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x377599(0xd5),_0x377599(0xa2),_0x1b3ff5=>{const _0x18e39c=_0x377599;_0x123a88[_0x18e39c(0xbd)][_0x18e39c(0xd7)](_0x687cd6=>{const _0x4955c6=_0x18e39c,_0x551424=Array[_0x4955c6(0xc0)](_0x1ebaa3[_0x4955c6(0xee)]())[_0x4955c6(0xda)](_0x51e20c=>_0x228a03[_0x4955c6(0xa1)](_0x51e20c));_0x687cd6[_0x4955c6(0xe8)](_0x1b3ff5),_0x123a88[_0x4955c6(0xf4)][_0x4955c6(0xdd)](_0x4955c6(0xd5))[_0x4955c6(0xd0)](),_0x123a88[_0x4955c6(0xdc)](_0x4955c6(0xd5),{'forceDefaultExecution':!0x0});const _0x3345e5=_0x551424[_0x4955c6(0xa5)](_0x2845aa=>_0x4955c6(0xcc)!=_0x2845aa[_0x4955c6(0xe7)][_0x4955c6(0xb9)]);_0x3345e5[_0x4955c6(0xa6)]>0x0&&_0x687cd6[_0x4955c6(0xe8)](_0x3345e5);for(const _0x4c0eb5 of _0x551424)_0x4c0eb5[_0x4955c6(0xc3)]();});});for(const _0x302aba of[_0x377599(0xcd),_0x377599(0xce),_0x377599(0xe5),_0x377599(0xc5)]){const _0x5939bc=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x302aba);_0x5939bc['on'](_0x377599(0xec),(_0x1133cf,_0x1e79b7,_0x7b5c4b)=>{const _0x4fca1c=_0x377599;if(_0x7b5c4b){const _0x28125a=_0x123a88[_0x4fca1c(0xbd)][_0x4fca1c(0xf9)][_0x4fca1c(0xdf)][_0x4fca1c(0xca)]()[_0x4fca1c(0xb6)]()[_0x4fca1c(0x9f)](_0x1e2af0=>_0x1e2af0['is'](_0x4fca1c(0xf7),_0x4fca1c(0xb2)));this[_0x4fca1c(0xa0)](_0x5939bc[_0x4fca1c(0xc1)],_0x28125a)||(_0x1133cf[_0x4fca1c(0x9d)]=!0x1,_0x1133cf[_0x4fca1c(0xae)]());}},{'priority':_0x377599(0xbe)});}}[_0x2d6d99(0xde)](){const _0x46a049=_0x2d6d99,_0x515b2f=this[_0x46a049(0xd4)][_0x46a049(0xf4)][_0x46a049(0xdd)](_0x46a049(0xd5)),_0x2ecc15=this[_0x46a049(0xd4)][_0x46a049(0xc2)][_0x46a049(0xdd)](_0x46a049(0x9e));if(!_0x515b2f[_0x46a049(0xd8)])return!0x1;const _0x269ca9=_0x2ecc15[_0x46a049(0xb4)](this[_0x46a049(0xd4)][_0x46a049(0xbd)][_0x46a049(0xf9)][_0x46a049(0xdf)]);for(const _0x1f6e84 of _0x269ca9)for(const _0x4c40cc of _0x269ca9)if(_0x1f6e84!=_0x4c40cc&&!this[_0x46a049(0xa0)](_0x1f6e84,_0x4c40cc))return!0x1;return!0x0;}[_0x2d6d99(0xa0)](_0x545a81,_0x14bb0b){const _0x252bc8=_0x2d6d99,_0x51b6f0=this[_0x252bc8(0xd4)][_0x252bc8(0xc2)][_0x252bc8(0xdd)](_0x252bc8(0xc4)),_0x26b93c=this[_0x252bc8(0xd4)][_0x252bc8(0xbd)][_0x252bc8(0xf0)](_0x545a81),_0x3567c8=this[_0x252bc8(0xd4)][_0x252bc8(0xbd)][_0x252bc8(0xf0)](_0x14bb0b),_0x1a84d4=new Set(),_0x3843e4=new Set();for(const _0x58aff7 of _0x51b6f0[_0x252bc8(0xb1)]())if((_0x252bc8(0xb7)==_0x58aff7[_0x252bc8(0xeb)]||_0x252bc8(0xbb)==_0x58aff7[_0x252bc8(0xeb)]||_0x252bc8(0xd5)==_0x58aff7[_0x252bc8(0xfb)])&&_0x58aff7[_0x252bc8(0xe1)]){for(const _0x1ebb3d of _0x58aff7[_0x252bc8(0xee)]())_0x1ebb3d[_0x252bc8(0xa7)](_0x26b93c,!0x0)&&_0x1a84d4[_0x252bc8(0xe3)](_0x58aff7[_0x252bc8(0xeb)]+':'+_0x58aff7[_0x252bc8(0xfa)]['id']),_0x1ebb3d[_0x252bc8(0xa7)](_0x3567c8,!0x0)&&_0x3843e4[_0x252bc8(0xe3)](_0x58aff7[_0x252bc8(0xeb)]+':'+_0x58aff7[_0x252bc8(0xfa)]['id']);}if(_0x1a84d4[_0x252bc8(0xe4)]!=_0x3843e4[_0x252bc8(0xe4)])return!0x1;for(const _0x4fb1a4 of _0x1a84d4)if(!_0x3843e4[_0x252bc8(0xb8)](_0x4fb1a4))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e51(){const _0x47a3d8=['enableCommand','registerElementLabel','1092904cBxPQY','tableOfContents','317302zICgQo','get','commands','6805764sgJpJv','TrackChangesEditing','editor','descriptionFactory','2366050RGuSJl','insertTableOfContents','107504xjvzjW','afterInit','1270587mPDOYe','plugins','locale','1476096tDfWGx','ELEMENT_TABLE_OF_CONTENTS'];_0x3e51=function(){return _0x47a3d8;};return _0x3e51();}const _0x2d1eab=_0xa335;(function(_0x32240e,_0x54a356){const _0x513438=_0xa335,_0x546803=_0x32240e();while(!![]){try{const _0x2d2146=parseInt(_0x513438(0x134))/0x1+parseInt(_0x513438(0x129))/0x2+parseInt(_0x513438(0x12b))/0x3+-parseInt(_0x513438(0x132))/0x4+parseInt(_0x513438(0x127))/0x5+parseInt(_0x513438(0x12e))/0x6+-parseInt(_0x513438(0x137))/0x7;if(_0x2d2146===_0x54a356)break;else _0x546803['push'](_0x546803['shift']());}catch(_0x22cbe1){_0x546803['push'](_0x546803['shift']());}}}(_0x3e51,0x4182b));import{Plugin as _0x263940}from'ckeditor5/src/core.js';function _0xa335(_0x196632,_0x5a41e3){const _0x3e51ed=_0x3e51();return _0xa335=function(_0xa33541,_0x1ace06){_0xa33541=_0xa33541-0x125;let _0x113d20=_0x3e51ed[_0xa33541];return _0x113d20;},_0xa335(_0x196632,_0x5a41e3);}import{getTranslation as _0x469775}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x263940{[_0x2d1eab(0x12a)](){const _0x5a78a6=_0x2d1eab,_0x7db713=this[_0x5a78a6(0x125)];if(!_0x7db713[_0x5a78a6(0x136)][_0x5a78a6(0x135)](_0x5a78a6(0x128)))return;_0x7db713[_0x5a78a6(0x12c)][_0x5a78a6(0x135)](_0x5a78a6(0x138))[_0x5a78a6(0x130)](_0x5a78a6(0x128));const _0x2a88a5=_0x7db713[_0x5a78a6(0x12c)][_0x5a78a6(0x135)](_0x5a78a6(0x138)),_0x37e89d=_0x7db713[_0x5a78a6(0x12d)];_0x2a88a5[_0x5a78a6(0x126)][_0x5a78a6(0x131)](_0x5a78a6(0x133),_0x2ece1a=>_0x469775(_0x37e89d,_0x5a78a6(0x12f),_0x2ece1a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5ec2(){const _0x519ea5=['TableCellPropertiesEditing','formatBlock','tableBackgroundColor','78414hcRvSX','markBlockFormat','tableCellHorizontalAlignment','tableCellVerticalAlignment','subType','_getSuggestion','batch','14McZXAm','getFirstPosition','commandParams','format','start','*Format:*\x20change\x20table\x20properties','registerBlockAttribute','TablePropertiesEditing','findAncestor','TrackChangesTableProperties','replace','tableCellBackgroundColor','discard','getContainedElement','isOfficialPlugin','1089186zxKtja','nodeAfter','accept','tableCellPadding','5mNGrgu','tableBorderStyle','data','join','change','tableBorderColor','getSuggestionCallback','editor','descriptionFactory','307156aKJctL','has','tableBorderWidth','40bJtqTj','_$1','handleSuggestionDescription','removeAttribute','registerCustomCallback','TrackChangesEditing','tableWidth','tableCellBorderStyle','tableAlignment','registerDescriptionCallback','_handlePropertyChange','tableCellBorderWidth','5317200ksYhGR','getAttribute','toUpperCase','_registerTablePropertiesAttributes','getSelectionAffectedTableCells','tableProperties','enableCommand','tableCellProperties','afterInit','3590RztCKN','document','*Format:*\x20change\x20table\x20cell\x20properties','tableCellHeight','model','locale','tableHeight','_suggestionFactory','181jUcUzU','TableUtils','813807TjhPNR','setAttribute','isPremiumPlugin','table','plugins','2932270wxvcRI','selection','tableCellBorderColor','getSuggestions','handleDiscardAction','registerAttributeLabel','enqueueChange','FORMAT_','pluginName','tableCellWidth','get'];_0x5ec2=function(){return _0x519ea5;};return _0x5ec2();}const _0x183d1d=_0x22d4;(function(_0x537b12,_0x157892){const _0x2240c0=_0x22d4,_0x4e1103=_0x537b12();while(!![]){try{const _0x333981=parseInt(_0x2240c0(0x106))/0x1*(parseInt(_0x2240c0(0xfe))/0x2)+-parseInt(_0x2240c0(0x11b))/0x3+parseInt(_0x2240c0(0xe6))/0x4*(parseInt(_0x2240c0(0xdd))/0x5)+-parseInt(_0x2240c0(0xd9))/0x6*(parseInt(_0x2240c0(0x122))/0x7)+parseInt(_0x2240c0(0xe9))/0x8*(-parseInt(_0x2240c0(0x108))/0x9)+parseInt(_0x2240c0(0xf5))/0xa+parseInt(_0x2240c0(0x10d))/0xb;if(_0x333981===_0x157892)break;else _0x4e1103['push'](_0x4e1103['shift']());}catch(_0x293e07){_0x4e1103['push'](_0x4e1103['shift']());}}}(_0x5ec2,0x57903));import{Plugin as _0x12bd35}from'ckeditor5/src/core.js';function _0x22d4(_0x237676,_0x3d9d30){const _0x5ec20a=_0x5ec2();return _0x22d4=function(_0x22d489,_0x2c55de){_0x22d489=_0x22d489-0xcf;let _0x55c22f=_0x5ec20a[_0x22d489];return _0x55c22f;},_0x22d4(_0x237676,_0x3d9d30);}import{getTranslation as _0x336702}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x12bd35{[_0x183d1d(0xfa)];[_0x183d1d(0xfc)];constructor(_0x4b50f7){const _0x21ab0a=_0x183d1d;super(_0x4b50f7),this[_0x21ab0a(0xfa)]=[_0x21ab0a(0xe2),_0x21ab0a(0xde),_0x21ab0a(0xe8),_0x21ab0a(0xf1),_0x21ab0a(0xef),_0x21ab0a(0x104),_0x21ab0a(0x11a)],this[_0x21ab0a(0xfc)]=[_0x21ab0a(0x10f),_0x21ab0a(0xf0),_0x21ab0a(0xf4),_0x21ab0a(0xdc),_0x21ab0a(0x116),_0x21ab0a(0x101),_0x21ab0a(0xd5),_0x21ab0a(0x11d),_0x21ab0a(0x11e)];}static get[_0x183d1d(0x115)](){const _0x94a66e=_0x183d1d;return _0x94a66e(0xd3);}static get[_0x183d1d(0xd8)](){return!0x0;}static get[_0x183d1d(0x10a)](){return!0x0;}[_0x183d1d(0xfd)](){const _0x218282=_0x183d1d,_0x3e7257=this[_0x218282(0xe4)][_0x218282(0x10c)][_0x218282(0x117)](_0x218282(0xee));if(this[_0x218282(0xe4)][_0x218282(0x10c)][_0x218282(0xe7)](_0x218282(0xd1))){for(const _0xcde359 of this[_0x218282(0xfa)])_0x3e7257[_0x218282(0xfb)](_0xcde359,(_0x50610a,_0x44dab8)=>{const _0x5250db=_0x218282,_0x2cd8d9=this[_0x5250db(0xe4)][_0x5250db(0x102)][_0x5250db(0xff)][_0x5250db(0x10e)][_0x5250db(0x123)]()[_0x5250db(0xd2)](_0x5250db(0x10b));this[_0x5250db(0xf3)](_0xcde359,[_0x2cd8d9],this[_0x5250db(0xfa)],_0x5250db(0xfa),_0x50610a,_0x44dab8);});_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfa),_0x218282(0xdb),_0x3e7257[_0x218282(0x105)][_0x218282(0xe3)](_0x218282(0x119),null,_0x218282(0xd6))),_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfa),_0x218282(0xd6),(_0x4a3a77,_0x203f26)=>this[_0x218282(0x111)](this[_0x218282(0xfa)],_0x4a3a77,_0x203f26)),_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfa),_0x218282(0xe0),()=>!0x1);}if(this[_0x218282(0xe4)][_0x218282(0x10c)][_0x218282(0xe7)](_0x218282(0x118))){for(const _0x379cf5 of this[_0x218282(0xfc)])_0x3e7257[_0x218282(0xfb)](_0x379cf5,(_0x162205,_0x469ae7)=>{const _0x4a63fa=_0x218282,_0x3059cf=this[_0x4a63fa(0xe4)][_0x4a63fa(0x10c)][_0x4a63fa(0x117)](_0x4a63fa(0x107))[_0x4a63fa(0xf9)](this[_0x4a63fa(0xe4)][_0x4a63fa(0x102)][_0x4a63fa(0xff)][_0x4a63fa(0x10e)]);this[_0x4a63fa(0xf3)](_0x379cf5,_0x3059cf,this[_0x4a63fa(0xfc)],_0x4a63fa(0xfc),_0x162205,_0x469ae7);});_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfc),_0x218282(0xdb),_0x3e7257[_0x218282(0x105)][_0x218282(0xe3)](_0x218282(0x119),null,_0x218282(0xd6))),_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfc),_0x218282(0xd6),(_0x573ead,_0x39db4f)=>this[_0x218282(0x111)](this[_0x218282(0xfc)],_0x573ead,_0x39db4f)),_0x3e7257[_0x218282(0x105)][_0x218282(0xed)](_0x218282(0x119),_0x218282(0xfc),_0x218282(0xe0),()=>!0x1);}_0x3e7257[_0x218282(0xe5)][_0x218282(0xf2)](_0x214814=>this[_0x218282(0xeb)](_0x214814)),this[_0x218282(0xf8)]();}[_0x183d1d(0xf3)](_0x551f5c,_0x3e8d2a,_0x70b440,_0xe2a6cb,_0x1daec6,_0x532350){const _0x4169a5=_0x183d1d,_0x275a9d=this[_0x4169a5(0xe4)][_0x4169a5(0x10c)][_0x4169a5(0x117)](_0x4169a5(0xee));this[_0x4169a5(0xe4)][_0x4169a5(0x102)][_0x4169a5(0x113)](_0x532350[_0x4169a5(0x121)],()=>{const _0x33d79e=_0x4169a5;for(const _0x2fb044 of _0x3e8d2a){if(this[_0x33d79e(0x120)](_0x2fb044,_0xe2a6cb))_0x1daec6(_0x532350);else{const _0x20f4a4={};for(const _0x3fbf26 of _0x70b440){const _0xe3be2b=_0x2fb044[_0x33d79e(0xf6)](_0x3fbf26);void 0x0!==_0xe3be2b&&(_0x20f4a4[_0x3fbf26]=_0xe3be2b);}_0x1daec6(_0x532350),_0x275a9d[_0x33d79e(0x11c)](_0x2fb044,{'commandParams':[_0x20f4a4]},[],_0xe2a6cb);}}});}[_0x183d1d(0x111)](_0x3e473a,_0x287c83,_0x38fd0e){const _0x273b4d=_0x183d1d,_0x4e42c2=_0x287c83[0x0][_0x273b4d(0x126)][_0x273b4d(0xda)],_0x58f275=_0x38fd0e[_0x273b4d(0x124)][0x0];this[_0x273b4d(0xe4)][_0x273b4d(0x102)][_0x273b4d(0xe1)](_0x44be5d=>{const _0x17b7f9=_0x273b4d;for(const _0x55f2eb of _0x3e473a)void 0x0!==_0x58f275[_0x55f2eb]?_0x44be5d[_0x17b7f9(0x109)](_0x55f2eb,_0x58f275[_0x55f2eb],_0x4e42c2):_0x44be5d[_0x17b7f9(0xec)](_0x55f2eb,_0x4e42c2);});}[_0x183d1d(0xeb)](_0xb31ed9){const _0x4b8a59=_0x183d1d;if(_0xb31ed9[_0x4b8a59(0xdf)])switch(_0xb31ed9[_0x4b8a59(0x11f)]){case _0x4b8a59(0xfa):return{'type':_0x4b8a59(0x125),'content':_0x336702(this[_0x4b8a59(0xe4)][_0x4b8a59(0x103)],_0x4b8a59(0xcf))};case _0x4b8a59(0xfc):return{'type':_0x4b8a59(0x125),'content':_0x336702(this[_0x4b8a59(0xe4)][_0x4b8a59(0x103)],_0x4b8a59(0x100))};}}[_0x183d1d(0x120)](_0x224cc9,_0x4134da){const _0x19c49e=_0x183d1d,_0x4f2a32=this[_0x19c49e(0xe4)][_0x19c49e(0x10c)][_0x19c49e(0x117)](_0x19c49e(0xee));for(const _0x165945 of _0x4f2a32[_0x19c49e(0x110)]({'skipNotAttached':!0x0})){const _0x2596ed=_0x165945[_0x19c49e(0xd7)]();if(_0x165945[_0x19c49e(0x11f)]===_0x4134da&&_0x2596ed===_0x224cc9)return _0x165945;}return null;}[_0x183d1d(0xf8)](){const _0x3487ee=_0x183d1d,_0x540479=this[_0x3487ee(0xe4)][_0x3487ee(0x10c)][_0x3487ee(0x117)](_0x3487ee(0xee)),_0x477dad=[...this[_0x3487ee(0xfa)],...this[_0x3487ee(0xfc)]];for(const _0x1fbac4 of _0x477dad){const _0x38684a=_0x1fbac4[_0x3487ee(0xd4)](/([A-Z])/g,_0x3487ee(0xea))[_0x3487ee(0xf7)]();_0x540479[_0x3487ee(0xd0)](_0x1fbac4),_0x540479[_0x3487ee(0xe5)][_0x3487ee(0x112)](_0x1fbac4,_0x336702(this[_0x3487ee(0xe4)][_0x3487ee(0x103)],_0x3487ee(0x114)+_0x38684a));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x18ce(){const _0x1b0b7a=['enableCommand','TrackChangesEditing','insertTemplate','afterInit','get','plugins','editor','11673972IpgmFU','2499300tRSKjA','4225UsLjFc','22673100iNfkhx','has','5140bTZeYy','1HdkNPE','4561902pCMcPu','13328IPxVEq','120642iHJXKW','4432XSZBSh','Template'];_0x18ce=function(){return _0x1b0b7a;};return _0x18ce();}const _0x28825c=_0x4fc5;function _0x4fc5(_0x1a0741,_0x5744fc){const _0x18ce37=_0x18ce();return _0x4fc5=function(_0x4fc58b,_0x180cb5){_0x4fc58b=_0x4fc58b-0x16f;let _0x22d8f7=_0x18ce37[_0x4fc58b];return _0x22d8f7;},_0x4fc5(_0x1a0741,_0x5744fc);}(function(_0x5a3353,_0x5bdc9c){const _0xee0aea=_0x4fc5,_0x159378=_0x5a3353();while(!![]){try{const _0x350d9d=-parseInt(_0xee0aea(0x17a))/0x1*(parseInt(_0xee0aea(0x175))/0x2)+-parseInt(_0xee0aea(0x17b))/0x3+-parseInt(_0xee0aea(0x179))/0x4*(-parseInt(_0xee0aea(0x176))/0x5)+-parseInt(_0xee0aea(0x17d))/0x6+-parseInt(_0xee0aea(0x17c))/0x7*(parseInt(_0xee0aea(0x17e))/0x8)+parseInt(_0xee0aea(0x174))/0x9+parseInt(_0xee0aea(0x177))/0xa;if(_0x350d9d===_0x5bdc9c)break;else _0x159378['push'](_0x159378['shift']());}catch(_0x306d59){_0x159378['push'](_0x159378['shift']());}}}(_0x18ce,0xc48ac));import{Plugin as _0x203a40}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x203a40{[_0x28825c(0x170)](){const _0x5a6c5c=_0x28825c,_0x688714=this[_0x5a6c5c(0x173)];_0x688714[_0x5a6c5c(0x172)][_0x5a6c5c(0x178)](_0x5a6c5c(0x17f))&&_0x688714[_0x5a6c5c(0x172)][_0x5a6c5c(0x171)](_0x5a6c5c(0x181))[_0x5a6c5c(0x180)](_0x5a6c5c(0x16f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1de880=_0x2eeb;(function(_0x4980b8,_0x24747a){const _0x3e5a85=_0x2eeb,_0x34799f=_0x4980b8();while(!![]){try{const _0x4bd815=-parseInt(_0x3e5a85(0x136))/0x1+parseInt(_0x3e5a85(0x13a))/0x2+-parseInt(_0x3e5a85(0x133))/0x3+-parseInt(_0x3e5a85(0x141))/0x4*(-parseInt(_0x3e5a85(0x14a))/0x5)+parseInt(_0x3e5a85(0x129))/0x6+parseInt(_0x3e5a85(0x138))/0x7+-parseInt(_0x3e5a85(0x137))/0x8*(parseInt(_0x3e5a85(0x13e))/0x9);if(_0x4bd815===_0x24747a)break;else _0x34799f['push'](_0x34799f['shift']());}catch(_0x5350bd){_0x34799f['push'](_0x34799f['shift']());}}}(_0x51e1,0x35229));import{Plugin as _0xd3218d}from'ckeditor5/src/core.js';import{getTranslation as _0x2002d4}from'../utils/common-translations.js';export class TrackChangesTitle extends _0xd3218d{[_0x1de880(0x131)](){const _0x422cbe=_0x1de880,_0x1faf9a=this[_0x422cbe(0x126)];if(!_0x1faf9a[_0x422cbe(0x145)][_0x422cbe(0x135)](_0x422cbe(0x14b)))return;const _0x6b6eba=_0x1faf9a[_0x422cbe(0x145)][_0x422cbe(0x13f)](_0x422cbe(0x12b));_0x6b6eba[_0x422cbe(0x143)][_0x422cbe(0x139)](_0x422cbe(0x142),()=>_0x2002d4(_0x1faf9a[_0x422cbe(0x13b)],_0x422cbe(0x14d))),_0x1faf9a[_0x422cbe(0x128)][_0x422cbe(0x144)][_0x422cbe(0x14e)](_0xc25b20=>{const _0x37b3bd=_0x422cbe;let _0x297b54=!0x1;const _0x47e92d=Array[_0x37b3bd(0x132)](_0x1faf9a[_0x37b3bd(0x128)][_0x37b3bd(0x144)][_0x37b3bd(0x149)][_0x37b3bd(0x125)]());for(const {name:_0x107e16,data:_0x5d38ae}of _0x47e92d){const {group:_0xe3706d}=_0x6b6eba[_0x37b3bd(0x127)](_0x107e16);if(_0x37b3bd(0x12d)!==_0xe3706d||!_0x5d38ae[_0x37b3bd(0x147)])continue;const _0x5505d8=_0x5d38ae[_0x37b3bd(0x147)],_0x1bc1e6=_0x5505d8[_0x37b3bd(0x146)][_0x37b3bd(0x13c)];if(!_0x1bc1e6||!_0x1bc1e6['is'](_0x37b3bd(0x13d),_0x37b3bd(0x142)))continue;if(!_0x5505d8[_0x37b3bd(0x140)][_0x37b3bd(0x134)](_0x5505d8[_0x37b3bd(0x146)]))continue;const _0x427ccc=_0x1faf9a[_0x37b3bd(0x128)][_0x37b3bd(0x148)][_0x37b3bd(0x12e)](_0x5505d8[_0x37b3bd(0x146)],_0x37b3bd(0x130));if(_0x427ccc&&_0x427ccc[_0x37b3bd(0x14c)]){const _0x3fdb61=_0xc25b20[_0x37b3bd(0x12a)](_0x5505d8[_0x37b3bd(0x140)],_0x427ccc[_0x37b3bd(0x140)]);_0x3fdb61[_0x37b3bd(0x12f)](_0x5505d8)||(_0xc25b20[_0x37b3bd(0x124)](_0x107e16,{'range':_0x3fdb61}),_0x297b54=!0x0);}_0x297b54||(_0xc25b20[_0x37b3bd(0x12c)](_0x107e16),_0x297b54=!0x0);}return _0x297b54;});}}function _0x2eeb(_0x1d8e0d,_0x1ccfa7){const _0x51e1c1=_0x51e1();return _0x2eeb=function(_0x2eebf5,_0x4b1ef5){_0x2eebf5=_0x2eebf5-0x124;let _0x110b72=_0x51e1c1[_0x2eebf5];return _0x110b72;},_0x2eeb(_0x1d8e0d,_0x1ccfa7);}function _0x51e1(){const _0x4c2015=['registerElementLabel','442544yQvzqd','locale','nodeBefore','element','189QpJiPh','get','start','2268ufJnMh','title-content','descriptionFactory','document','plugins','end','newRange','schema','differ','2310lGgmvf','Title','isCollapsed','ELEMENT_TITLE','registerPostFixer','updateMarker','getChangedMarkers','editor','_splitMarkerName','model','1345284QQjuTn','createRange','TrackChangesEditing','removeMarker','suggestion','getNearestSelectionRange','isEqual','forward','afterInit','from','173892gnpbwa','isTouching','has','107948WksvSD','224312EwVugJ','1854524LWHQhC'];_0x51e1=function(){return _0x4c2015;};return _0x51e1();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3b863f=_0xb3ff;function _0x4ff5(){const _0x3a7695=['TrackChangesEditing','43638tQsqgm','enableCommand','747rCdhar','51194TVfkpc','editor','get','undo','1168604alDUTM','643145UMZDUp','62312mzOITK','UndoEditing','redo','has','4154862PPtrYJ','14WYLGIy','1727445txucHr','plugins','afterInit','44EksJkR','3090atZiyy'];_0x4ff5=function(){return _0x3a7695;};return _0x4ff5();}(function(_0x4061f5,_0x13a7c1){const _0x4d65d6=_0xb3ff,_0x2b68f8=_0x4061f5();while(!![]){try{const _0x2a0b71=parseInt(_0x4d65d6(0x150))/0x1+-parseInt(_0x4d65d6(0x142))/0x2+parseInt(_0x4d65d6(0x14a))/0x3+-parseInt(_0x4d65d6(0x14d))/0x4*(-parseInt(_0x4d65d6(0x143))/0x5)+parseInt(_0x4d65d6(0x148))/0x6*(-parseInt(_0x4d65d6(0x149))/0x7)+-parseInt(_0x4d65d6(0x144))/0x8*(parseInt(_0x4d65d6(0x152))/0x9)+parseInt(_0x4d65d6(0x14e))/0xa*(parseInt(_0x4d65d6(0x153))/0xb);if(_0x2a0b71===_0x13a7c1)break;else _0x2b68f8['push'](_0x2b68f8['shift']());}catch(_0x5311f9){_0x2b68f8['push'](_0x2b68f8['shift']());}}}(_0x4ff5,0xd128b));import{Plugin as _0x5d3bd1}from'ckeditor5/src/core.js';function _0xb3ff(_0x31a3d0,_0x21c59f){const _0x4ff56a=_0x4ff5();return _0xb3ff=function(_0xb3ff17,_0x573026){_0xb3ff17=_0xb3ff17-0x141;let _0x55dda6=_0x4ff56a[_0xb3ff17];return _0x55dda6;},_0xb3ff(_0x31a3d0,_0x21c59f);}export class TrackChangesUndo extends _0x5d3bd1{[_0x3b863f(0x14c)](){const _0x597c76=_0x3b863f,_0x2174a2=this[_0x597c76(0x154)],_0x464618=_0x2174a2[_0x597c76(0x14b)][_0x597c76(0x155)](_0x597c76(0x14f));_0x2174a2[_0x597c76(0x14b)][_0x597c76(0x147)](_0x597c76(0x145))&&(_0x464618[_0x597c76(0x151)](_0x597c76(0x141)),_0x464618[_0x597c76(0x151)](_0x597c76(0x146)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x50cd(_0x26509a,_0x788828){const _0x175d97=_0x175d();return _0x50cd=function(_0x50cd50,_0x1f8d84){_0x50cd50=_0x50cd50-0xfb;let _0x53ba79=_0x175d97[_0x50cd50];return _0x53ba79;},_0x50cd(_0x26509a,_0x788828);}const _0x5a2494=_0x50cd;(function(_0x510b62,_0x53dc60){const _0x1f0044=_0x50cd,_0x50963d=_0x510b62();while(!![]){try{const _0x5b7e53=-parseInt(_0x1f0044(0x10c))/0x1*(-parseInt(_0x1f0044(0x11c))/0x2)+parseInt(_0x1f0044(0x110))/0x3*(parseInt(_0x1f0044(0x102))/0x4)+parseInt(_0x1f0044(0x109))/0x5+parseInt(_0x1f0044(0x10f))/0x6*(-parseInt(_0x1f0044(0x111))/0x7)+parseInt(_0x1f0044(0x101))/0x8*(-parseInt(_0x1f0044(0x112))/0x9)+-parseInt(_0x1f0044(0xfc))/0xa*(parseInt(_0x1f0044(0x107))/0xb)+parseInt(_0x1f0044(0x100))/0xc*(parseInt(_0x1f0044(0x117))/0xd);if(_0x5b7e53===_0x53dc60)break;else _0x50963d['push'](_0x50963d['shift']());}catch(_0x1b68cf){_0x50963d['push'](_0x50963d['shift']());}}}(_0x175d,0x70fa5));import{Plugin as _0x2e31a0}from'ckeditor5/src/core.js';function _0x175d(){const _0x1238e2=['get','key','attribute','format','6394DMwRuf','enableDefaultAttributesIntegration','20980ccWuql','has','TrackChangesEditing','editor','96dgNaBC','16cMhDQa','2263436ZKZpRq','type','UploadcareImageEdit','uploadcareImageReplace','afterInit','3839sIKWod','Uploadcare','3395370lKGJfJ','uploadcareImageId','plugins','37KFCwux','uploadcareImageEdit','uploadcare','606axjxcK','3HLiheA','9219TJUvCJ','3426363ykNZzt','enableCommand','registerDescriptionCallback','descriptionFactory','registerBlockAttribute','1180023WQJIlo'];_0x175d=function(){return _0x1238e2;};return _0x175d();}export class TrackChangesUploadcare extends _0x2e31a0{[_0x5a2494(0x106)](){const _0x55726f=_0x5a2494,_0x5eec57=this[_0x55726f(0xff)],_0x11cbaf=_0x5eec57[_0x55726f(0x10b)][_0x55726f(0x118)](_0x55726f(0xfe));_0x5eec57[_0x55726f(0x10b)][_0x55726f(0xfd)](_0x55726f(0x108))&&(_0x11cbaf[_0x55726f(0x113)](_0x55726f(0x10e)),_0x5eec57[_0x55726f(0x10b)][_0x55726f(0xfd)](_0x55726f(0x104))&&(_0x11cbaf[_0x55726f(0x113)](_0x55726f(0x10d)),_0x11cbaf[_0x55726f(0xfb)](_0x55726f(0x105)),_0x11cbaf[_0x55726f(0x116)](_0x55726f(0x10a)),_0x11cbaf[_0x55726f(0x115)][_0x55726f(0x114)](_0x2251dd=>{const _0x2f94d8=_0x55726f;if(_0x2f94d8(0x11a)!=_0x2251dd[_0x2f94d8(0x103)])return;const {data:_0x498cce}=_0x2251dd;return _0x498cce&&_0x2f94d8(0x10a)==_0x498cce[_0x2f94d8(0x119)]?{'type':_0x2f94d8(0x11b),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2bac(){const _0x43b910=['plugins','isAtEnd','165762QEbJLk','includes','toViewElement','hasAttribute','insert','name','1912CoeThm','elementEnd','push','test','schema','bindElementToMarker','model','markerName','toViewPosition','markerRange','item','parent','span','addClass','ck-suggestion-marker-','get','addHighlight','_splitMarkerName','type','nextSibling','writer','4732760zKGhXM','createRangeOn','isBlock','12KzZlDu','4377375wYgGjF','getCustomProperty','previousPosition','consumable','ck-suggestion-marker--active','mapper','8559166txJYWp','isContent','821289KkRprG','getWalker','createUIElement','getItems','isLimit','start','activeMarkers','2248830KvfwBP','TrackChangesEditing','3303mTafeL'];_0x2bac=function(){return _0x43b910;};return _0x2bac();}(function(_0x49f498,_0x1888a1){const _0x563425=_0x1cbe,_0x487b48=_0x49f498();while(!![]){try{const _0x2ae434=-parseInt(_0x563425(0xe7))/0x1*(parseInt(_0x563425(0xd2))/0x2)+parseInt(_0x563425(0xdb))/0x3+-parseInt(_0x563425(0xcf))/0x4+parseInt(_0x563425(0xd3))/0x5+parseInt(_0x563425(0xe2))/0x6+parseInt(_0x563425(0xd9))/0x7+-parseInt(_0x563425(0xed))/0x8*(-parseInt(_0x563425(0xe4))/0x9);if(_0x2ae434===_0x1888a1)break;else _0x487b48['push'](_0x487b48['shift']());}catch(_0xda260a){_0x487b48['push'](_0x487b48['shift']());}}}(_0x2bac,0xa055c));function _0x1cbe(_0x332c65,_0x4cd02b){const _0x2bac02=_0x2bac();return _0x1cbe=function(_0x1cbeb8,_0x2f2f60){_0x1cbeb8=_0x1cbeb8-0xbc;let _0x283a45=_0x2bac02[_0x1cbeb8];return _0x283a45;},_0x1cbe(_0x332c65,_0x4cd02b);}export function getRangesWithAttribute(_0x4ac6d2,_0x381b7c,_0x21404b){const _0x5a4152=_0x1cbe,_0x54efe6=[];for(const _0x3525ec of _0x381b7c[_0x5a4152(0xde)]())_0x3525ec[_0x5a4152(0xea)](_0x4ac6d2)&&_0x54efe6[_0x5a4152(0xbc)](_0x21404b[_0x5a4152(0xd0)](_0x3525ec));return _0x54efe6;}export function downcastSplitMergeMarker(_0x1fa48b,_0x53fd12,{showActiveMarker:_0x1359d0=!0x0}={}){const _0x12336a=_0x1cbe,_0x2c961c=_0x1fa48b[_0x12336a(0xe5)][_0x12336a(0xc9)](_0x12336a(0xe3));return(_0x3e73fb,_0x12d83a,_0x857985)=>{const _0x2c2b6e=_0x12336a;if(!_0x857985[_0x2c2b6e(0xd6)][_0x2c2b6e(0xbd)](_0x12d83a[_0x2c2b6e(0xc3)],_0x3e73fb[_0x2c2b6e(0xec)]))return;const _0x2c97ce=_0x12d83a[_0x2c2b6e(0xc3)][_0x2c2b6e(0xdc)](),_0x4cd318=_0x12d83a[_0x2c2b6e(0xc3)][_0x2c2b6e(0xe0)],_0x11b6a9=_0x1fa48b[_0x2c2b6e(0xc0)][_0x2c2b6e(0xbe)];let _0x3be042=null,_0x3fbd50=null,_0x1b0363=!0x1,_0x11f702=!0x1;for(const _0x3a3302 of _0x2c97ce){const _0x4b0fe5=_0x3a3302[_0x2c2b6e(0xc4)];_0x1b0363=_0x1b0363||_0x11b6a9[_0x2c2b6e(0xda)](_0x4b0fe5);const _0x5137b6=_0x857985[_0x2c2b6e(0xd8)][_0x2c2b6e(0xe9)](_0x4b0fe5);if(_0x5137b6&&_0x5137b6[_0x2c2b6e(0xd4)](_0x2c2b6e(0xca)))return;_0x2c2b6e(0xee)==_0x3a3302[_0x2c2b6e(0xcc)]&&(_0x11b6a9[_0x2c2b6e(0xd1)](_0x4b0fe5)&&!_0x11b6a9[_0x2c2b6e(0xdf)](_0x4b0fe5)&&(_0x4b0fe5[_0x2c2b6e(0xcd)]||_0x4cd318[_0x2c2b6e(0xe6)]?_0x3be042&&_0x3be042[_0x2c2b6e(0xc5)]==_0x4b0fe5||(_0x3be042=_0x4b0fe5,_0x48ac53(_0x3a3302[_0x2c2b6e(0xd5)]),_0x11f702=!0x0):_0x3fbd50=_0x3fbd50||_0x3a3302[_0x2c2b6e(0xd5)]));}function _0x48ac53(_0x4818b6){const _0x4cd2f0=_0x2c2b6e,{id:_0x2a25d9,authorId:_0x3429c6}=_0x2c961c[_0x4cd2f0(0xcb)](_0x12d83a[_0x4cd2f0(0xc1)]),_0x2ce208=_0x857985[_0x4cd2f0(0xce)][_0x4cd2f0(0xdd)](_0x4cd2f0(0xc6),{'class':_0x4cd2f0(0xc8)+_0x53fd12,'data-suggestion':_0x2a25d9,'data-author-id':_0x3429c6}),_0x3c4c9a=_0x857985[_0x4cd2f0(0xd8)][_0x4cd2f0(0xc2)](_0x4818b6);_0x1359d0&&_0x2c961c[_0x4cd2f0(0xe1)][_0x4cd2f0(0xe8)](_0x12d83a[_0x4cd2f0(0xc1)])&&_0x857985[_0x4cd2f0(0xce)][_0x4cd2f0(0xc7)](_0x4cd2f0(0xd7),_0x2ce208),_0x857985[_0x4cd2f0(0xce)][_0x4cd2f0(0xeb)](_0x3c4c9a,_0x2ce208),_0x857985[_0x4cd2f0(0xd8)][_0x4cd2f0(0xbf)](_0x2ce208,_0x12d83a[_0x4cd2f0(0xc1)]);}_0x1b0363||_0x11f702||!_0x3fbd50||_0x48ac53(_0x3fbd50);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5c2f(_0x12f7ed,_0x5d5ffd){const _0x48eec4=_0x48ee();return _0x5c2f=function(_0x5c2f0e,_0x5e9652){_0x5c2f0e=_0x5c2f0e-0x6c;let _0x21a3a0=_0x48eec4[_0x5c2f0e];return _0x21a3a0;},_0x5c2f(_0x12f7ed,_0x5d5ffd);}const _0x2eb5f3=_0x5c2f;(function(_0x3f8755,_0x28b3f0){const _0x3710a6=_0x5c2f,_0x551145=_0x3f8755();while(!![]){try{const _0x4e5fab=parseInt(_0x3710a6(0x97))/0x1+parseInt(_0x3710a6(0xa9))/0x2+-parseInt(_0x3710a6(0x78))/0x3*(parseInt(_0x3710a6(0x76))/0x4)+parseInt(_0x3710a6(0xad))/0x5*(parseInt(_0x3710a6(0x9a))/0x6)+-parseInt(_0x3710a6(0x98))/0x7+-parseInt(_0x3710a6(0xa8))/0x8+parseInt(_0x3710a6(0x80))/0x9*(-parseInt(_0x3710a6(0x7b))/0xa);if(_0x4e5fab===_0x28b3f0)break;else _0x551145['push'](_0x551145['shift']());}catch(_0x5c765f){_0x551145['push'](_0x551145['shift']());}}}(_0x48ee,0x9e698));function _0x48ee(){const _0x5cffde=['author','from','removeMarkers','88qZYcsA','commentThread','31794XvXAtm','get','length','10969700zVBLQy','reduce','getItems','start','previous','9AxsOlo','addRange','next','head','map','suggestion:','attributes','removeAttribute','_isDataLoaded','getMarkers','isIntersectingWithRange','_model','authoredAt','type','addMarkerName','decorate','_originalSuggestionId','getFirstRange','substr','isInContent','onDiscard','isMultiRange','accept','1291057QndfoN','3904712LdToZe','removeMarker','7252494HKBeCM','onAccept','onAttributesChange','getContainedElement','_onAccept','isIntersecting','addMarker','_onAttributesChange','subType','setAttribute','push','getAllAdjacentSuggestions','_onDiscard','size','4156400TotRHX','1113084AMMPzO','originalSuggestionId','creator','@external','5UXhmYM','change','delete','add','data','getRanges','getMultiRangeId','discard','end','_saved','nodeBefore','getRange','clear','createdAt','filter','markers','nodeAfter','set','getMarkerNames','split','isExternal','hasComments','getFirstMarker','toJSON','_markerNames'];_0x48ee=function(){return _0x5cffde;};return _0x48ee();}import{ModelElement as _0x40739a}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x221447,uid as _0xed17fb}from'ckeditor5/src/utils.js';import{cloneDeep as _0x63319c,isEqual as _0x376d25,set as _0x567968,unset as _0x4cb08f}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x221447(){['id'];[_0x2eb5f3(0x8d)];[_0x2eb5f3(0xa2)];[_0x2eb5f3(0x73)];[_0x2eb5f3(0xab)];[_0x2eb5f3(0x6e)];[_0x2eb5f3(0xb1)];[_0x2eb5f3(0xba)];[_0x2eb5f3(0x90)];[_0x2eb5f3(0x88)]=!0x1;[_0x2eb5f3(0x8b)];[_0x2eb5f3(0x9e)];[_0x2eb5f3(0xa6)];[_0x2eb5f3(0xa1)];[_0x2eb5f3(0x72)];constructor(_0x554388,_0xfc8b5){const _0x106b6a=_0x2eb5f3;super(),this['id']=_0xfc8b5['id'],this[_0x106b6a(0x8d)]=_0xfc8b5[_0x106b6a(0x8d)],this[_0x106b6a(0xa2)]=_0xfc8b5[_0x106b6a(0xa2)]||null,this[_0x106b6a(0x73)]=_0xfc8b5[_0x106b6a(0x73)],this[_0x106b6a(0xab)]=_0xfc8b5[_0x106b6a(0xab)]||_0xfc8b5[_0x106b6a(0x73)],this[_0x106b6a(0x6e)]=Boolean(_0xfc8b5[_0x106b6a(0x86)]&&_0xfc8b5[_0x106b6a(0x86)][_0x106b6a(0xac)]),this[_0x106b6a(0xb1)]=null,this[_0x106b6a(0x90)]=_0xfc8b5[_0x106b6a(0xaa)]||null,this[_0x106b6a(0x8b)]=_0x554388,this[_0x106b6a(0x9e)]=_0xfc8b5[_0x106b6a(0x9b)],this[_0x106b6a(0xa6)]=_0xfc8b5[_0x106b6a(0x94)],this[_0x106b6a(0xa1)]=_0xfc8b5[_0x106b6a(0x9c)],this[_0x106b6a(0x72)]=new Set(),this[_0x106b6a(0xba)]=null,this[_0x106b6a(0xbe)](_0x106b6a(0x8c),null),this[_0x106b6a(0xbe)](_0x106b6a(0x86),_0xfc8b5[_0x106b6a(0x86)]||{}),this[_0x106b6a(0xbe)](_0x106b6a(0x7f),null),this[_0x106b6a(0xbe)](_0x106b6a(0x82),null),this[_0x106b6a(0xbe)](_0x106b6a(0x77),null),this[_0x106b6a(0xbe)](_0x106b6a(0xb6),!0x1),this[_0x106b6a(0x8f)](_0x106b6a(0x96)),this[_0x106b6a(0x8f)](_0x106b6a(0xb4));}get[_0x2eb5f3(0x83)](){const _0x118635=_0x2eb5f3;let _0x3b1afd=this;for(;_0x3b1afd[_0x118635(0x7f)];)_0x3b1afd=_0x3b1afd[_0x118635(0x7f)];return _0x3b1afd;}get[_0x2eb5f3(0x6f)](){const _0x838b4d=_0x2eb5f3;return!!this[_0x838b4d(0x77)]&&this[_0x838b4d(0x77)][_0x838b4d(0x7a)]>0x0;}get[_0x2eb5f3(0x95)](){const _0x1f49fd=_0x2eb5f3;if(0x0==this[_0x1f49fd(0x72)][_0x1f49fd(0xa7)])return!0x1;return 0x6==Array[_0x1f49fd(0x74)](this[_0x1f49fd(0x72)])[0x0][_0x1f49fd(0x6d)](':')[_0x1f49fd(0x7a)];}get[_0x2eb5f3(0x93)](){const _0x59d4c1=_0x2eb5f3;return null!==this[_0x59d4c1(0x70)]();}[_0x2eb5f3(0x8e)](_0x32f0e6){const _0x5b15a0=_0x2eb5f3;this[_0x5b15a0(0x72)][_0x5b15a0(0xb0)](_0x32f0e6);}[_0x2eb5f3(0x6c)](){const _0x52f23a=_0x2eb5f3;return Array[_0x52f23a(0x74)](this[_0x52f23a(0x72)]);}[_0x2eb5f3(0x89)](){const _0x5e3eeb=_0x2eb5f3;return this[_0x5e3eeb(0x6c)]()[_0x5e3eeb(0x84)](_0x33c752=>this[_0x5e3eeb(0x8b)][_0x5e3eeb(0xbc)][_0x5e3eeb(0x79)](_0x33c752))[_0x5e3eeb(0xbb)](_0x3612e6=>_0x3612e6);}[_0x2eb5f3(0x70)](){const _0x264f2f=_0x2eb5f3;return this[_0x264f2f(0x89)]()[0x0]||null;}[_0x2eb5f3(0x75)](){const _0x4733a1=_0x2eb5f3;this[_0x4733a1(0x8b)][_0x4733a1(0xae)](_0x2ed071=>{const _0x451389=_0x4733a1;for(const _0x4b8e20 of this[_0x451389(0x89)]())_0x2ed071[_0x451389(0x99)](_0x4b8e20);}),this[_0x4733a1(0x72)][_0x4733a1(0xb9)]();}[_0x2eb5f3(0x99)](_0x5e0f2b){const _0x5a463f=_0x2eb5f3;this[_0x5a463f(0x8b)][_0x5a463f(0xae)](_0x242de9=>{const _0x1661b7=_0x5a463f;_0x242de9[_0x1661b7(0x99)](_0x5e0f2b);}),this[_0x5a463f(0x72)][_0x5a463f(0xaf)](_0x5e0f2b);}[_0x2eb5f3(0x81)](_0x50fc85){const _0x449a33=_0x2eb5f3,_0x11cf8c=_0x449a33(0x85)+this[_0x449a33(0x8d)]+':'+this[_0x449a33(0xa2)]+':'+this['id']+':'+this[_0x449a33(0xab)]['id']+':'+Suggestion[_0x449a33(0xb3)]();this[_0x449a33(0x8e)](_0x11cf8c),this[_0x449a33(0x8b)][_0x449a33(0xae)](_0x5ba191=>{const _0x5b01ca=_0x449a33;_0x5ba191[_0x5b01ca(0xa0)](_0x11cf8c,{'range':_0x50fc85,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2eb5f3(0x8a)](_0x50b99b){const _0x16b41b=_0x2eb5f3;for(const _0x1910fe of this[_0x16b41b(0xb2)]())if(_0x1910fe[_0x16b41b(0x9f)](_0x50b99b))return!0x0;return!0x1;}[_0x2eb5f3(0xb2)](){const _0x90bf64=_0x2eb5f3;return this[_0x90bf64(0x89)]()[_0x90bf64(0x84)](_0x2e3377=>_0x2e3377[_0x90bf64(0xb8)]());}[_0x2eb5f3(0x7d)](){const _0x3df854=_0x2eb5f3;return this[_0x3df854(0xb2)]()[_0x3df854(0x7c)]((_0x36f86a,_0x21125d)=>[..._0x36f86a,..._0x21125d[_0x3df854(0x7d)]()],[]);}[_0x2eb5f3(0x91)](){const _0x4bd30b=_0x2eb5f3;return this[_0x4bd30b(0x70)]()?.[_0x4bd30b(0xb8)]()||null;}[_0x2eb5f3(0x9d)](){const _0x4be096=_0x2eb5f3,_0x4fc3ce=this[_0x4be096(0xb2)]();if(0x1!=_0x4fc3ce[_0x4be096(0x7a)])return null;const _0x288235=_0x4fc3ce[0x0],_0x5bcc38=_0x288235[_0x4be096(0x7e)][_0x4be096(0xbd)],_0x26e3c3=_0x288235[_0x4be096(0xb5)][_0x4be096(0xb7)];return _0x5bcc38 instanceof _0x40739a?_0x5bcc38!=_0x26e3c3?null:_0x5bcc38:null;}[_0x2eb5f3(0x96)](){const _0x185f75=_0x2eb5f3;this[_0x185f75(0x9e)](this[_0x185f75(0xb2)](),this[_0x185f75(0xb1)],this[_0x185f75(0x86)]),this[_0x185f75(0x75)]();}[_0x2eb5f3(0xb4)](){const _0x4d48da=_0x2eb5f3;this[_0x4d48da(0xa6)](this[_0x4d48da(0xb2)](),this[_0x4d48da(0xb1)],this[_0x4d48da(0x86)]),this[_0x4d48da(0x75)]();}[_0x2eb5f3(0xa5)](){const _0x2dfc97=_0x2eb5f3,_0x1c242a=[];let _0x33d985=this[_0x2dfc97(0x83)];for(;_0x33d985;)_0x1c242a[_0x2dfc97(0xa4)](_0x33d985),_0x33d985=_0x33d985[_0x2dfc97(0x82)];return _0x1c242a;}[_0x2eb5f3(0xa3)](_0x2e58de,_0x3e8189){const _0x4a132e=_0x2eb5f3,_0xafea4=_0x63319c(this[_0x4a132e(0x86)]);_0x567968(_0xafea4,_0x2e58de,_0x3e8189),_0x376d25(_0xafea4,this[_0x4a132e(0x86)])||(this[_0x4a132e(0x86)]=_0xafea4,this[_0x4a132e(0xa1)](_0xafea4));}[_0x2eb5f3(0x87)](_0x4c6f5d){const _0x5960c2=_0x2eb5f3,_0x1a1727=_0x63319c(this[_0x5960c2(0x86)]);_0x4cb08f(_0x1a1727,_0x4c6f5d),_0x376d25(_0x1a1727,this[_0x5960c2(0x86)])||(this[_0x5960c2(0x86)]=_0x1a1727,this[_0x5960c2(0xa1)](this[_0x5960c2(0x86)]));}[_0x2eb5f3(0x71)](){const _0x5dd5eb=_0x2eb5f3;return{'id':this['id'],'type':this[_0x5dd5eb(0xa2)]?this[_0x5dd5eb(0x8d)]+':'+this[_0x5dd5eb(0xa2)]:this[_0x5dd5eb(0x8d)],'authorId':this[_0x5dd5eb(0xab)]['id'],'createdAt':this[_0x5dd5eb(0xba)],'hasComments':this[_0x5dd5eb(0x6f)],'data':this[_0x5dd5eb(0xb1)],'attributes':this[_0x5dd5eb(0x86)]};}static[_0x2eb5f3(0xb3)](){const _0x7d957c=_0x2eb5f3;return _0xed17fb()[_0x7d957c(0x92)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e80c4=_0x2310;(function(_0x2220d5,_0x3c58c5){const _0x232a55=_0x2310,_0x43a65c=_0x2220d5();while(!![]){try{const _0x5badce=parseInt(_0x232a55(0x1c3))/0x1*(-parseInt(_0x232a55(0x1fd))/0x2)+parseInt(_0x232a55(0x1b8))/0x3*(parseInt(_0x232a55(0x1e4))/0x4)+parseInt(_0x232a55(0x1fc))/0x5*(-parseInt(_0x232a55(0x1d1))/0x6)+-parseInt(_0x232a55(0x1bd))/0x7+-parseInt(_0x232a55(0x1fa))/0x8+parseInt(_0x232a55(0x1f1))/0x9*(parseInt(_0x232a55(0x1f6))/0xa)+parseInt(_0x232a55(0x1dc))/0xb*(parseInt(_0x232a55(0x1db))/0xc);if(_0x5badce===_0x3c58c5)break;else _0x43a65c['push'](_0x43a65c['shift']());}catch(_0x1a0c1a){_0x43a65c['push'](_0x43a65c['shift']());}}}(_0x2ba0,0x4c930));import{getTranslation as _0x1791b5}from'./utils/common-translations.js';function _0x2310(_0xfa44f2,_0x412fc6){const _0x2ba021=_0x2ba0();return _0x2310=function(_0x231051,_0x215c08){_0x231051=_0x231051-0x19d;let _0x1f46ec=_0x2ba021[_0x231051];return _0x1f46ec;},_0x2310(_0xfa44f2,_0x412fc6);}import{priorities as _0x53a78a,insertToPriorityArray as _0x12da08}from'ckeditor5/src/utils.js';function _0x2ba0(){const _0x40bf63=['element','skip','*Set\x20format:*\x20%0','matchingCallback','3HKesGw','_handleRenameSuggestionDescription','addEmptyContainer','_handleAttributeSuggestionDescription','*Remove:*\x20%0','1039010bPFgFc','pop','previousSibling','$text','_resolveDescriptionItems','data','16681VCmotF','isEmpty','key','nodeAfter','Container','registerDescriptionCallback','isEqual','$1\x20$2','checkChild','get','_handleInsertRemoveSuggestionDescription','format','_itemLabels','removeEmptyContainer','206310ShcBQQ','*Merge:*\x20%0','add','getWalker','item','addObject','function','attribute','_schema','nextSibling','12ABHcUs','1697377JIBUVj','_locale','isInContent','replace','softBreak','*Remove\x20format:*\x20%0','text','_addDescriptionItems','634776JwZrUQ','deletion','start','map','_handleCustomCallbackDescription','has','_itemLabelsCallbacks','insertion','label','push','$textProxy','elementStart','subType','99ZMksyq','newValue','_customCallbacks','getDescriptions','match','509230yhwzGp','addContainer','length','registerAttributeLabel','2079392HBzZJp','*Insert:*\x20%0','5sZkBRf','14UQVyxx','removeFormat','_attributeLabels','ELEMENT_SPACE','Object','indexOf','name','elementEnd','removeObject','remove','quantity','EmptyContainer','join','getFirstRange','addFormat','REPLACE_TEXT','registerElementLabel','end','isObject','*Change\x20to:*\x20%0','removeContainer','set','*Split:*\x20%0','normal','getItemLabel','type'];_0x2ba0=function(){return _0x40bf63;};return _0x2ba0();}import{renameAttributeKey as _0x259e35}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x2e80c4(0x1f3)];[_0x2e80c4(0x1cf)];[_0x2e80c4(0x1ea)];[_0x2e80c4(0x1ff)];[_0x2e80c4(0x1d9)];[_0x2e80c4(0x1dd)];constructor(_0xfe947a,_0x6a4f5d){const _0x562559=_0x2e80c4;this[_0x562559(0x1f3)]=[],this[_0x562559(0x1cf)]=new Map(),this[_0x562559(0x1ea)]=[],this[_0x562559(0x1ff)]=new Map(),this[_0x562559(0x1d9)]=_0xfe947a,this[_0x562559(0x1dd)]=_0x6a4f5d;}[_0x2e80c4(0x1f4)](_0x312e9c){const _0x209ade=_0x2e80c4,_0x5870de=[],_0x787f02=new Set(),_0x414df5=new Set();for(let _0x39fabf=0x0;_0x39fabf<_0x312e9c[_0x209ade(0x1f8)];_0x39fabf++){const _0xfa0086=_0x312e9c[_0x39fabf];if(!_0xfa0086[_0x209ade(0x1de)])continue;const _0x4cf8b5=this[_0x209ade(0x1e8)](_0xfa0086);if(_0x4cf8b5){if(null!=_0xfa0086[_0x209ade(0x1f0)]){if(_0x787f02[_0x209ade(0x1e9)](_0xfa0086[_0x209ade(0x1f0)]))continue;_0x787f02[_0x209ade(0x1d3)](_0xfa0086[_0x209ade(0x1f0)]);}_0x5870de[_0x209ade(0x1ed)](_0x4cf8b5);}else{if(_0x209ade(0x1d8)==_0xfa0086[_0x209ade(0x1b3)]){const _0x585ebc=_0xfa0086[_0x209ade(0x1c2)][_0x209ade(0x1c5)];if(_0x414df5[_0x209ade(0x1e9)](_0x585ebc))continue;_0x414df5[_0x209ade(0x1d3)](_0xfa0086[_0x209ade(0x1c2)][_0x209ade(0x1c5)]),_0x585ebc==_0x259e35?this[_0x209ade(0x1b9)](_0x5870de,_0xfa0086):this[_0x209ade(0x1bb)](_0x5870de,_0xfa0086);continue;}_0x209ade(0x1eb)!=_0xfa0086[_0x209ade(0x1b3)]&&_0x209ade(0x1e5)!=_0xfa0086[_0x209ade(0x1b3)]||this[_0x209ade(0x1cd)](_0x5870de,_0xfa0086,_0x312e9c[_0x39fabf+0x1]);}}return this[_0x209ade(0x1c1)](_0x5870de);}[_0x2e80c4(0x1c8)](_0x2e343e){const _0xe88779=_0x2e80c4;this[_0xe88779(0x1f3)][_0xe88779(0x1ed)](_0x2e343e);}[_0x2e80c4(0x1aa)](_0x491fcc,_0x2f9e7d,_0x178193=_0x53a78a[_0x2e80c4(0x1b1)]){const _0x1fecb4=_0x2e80c4;_0x1fecb4(0x1d7)==typeof _0x491fcc?_0x12da08(this[_0x1fecb4(0x1ea)],{'matchingCallback':_0x491fcc,'label':_0x2f9e7d,'priority':_0x178193}):this[_0x1fecb4(0x1cf)][_0x1fecb4(0x1af)](_0x491fcc,_0x2f9e7d);}[_0x2e80c4(0x1f9)](_0x54e57,_0x5e2817){const _0x184358=_0x2e80c4;this[_0x184358(0x1ff)][_0x184358(0x1af)](_0x54e57,_0x5e2817);}[_0x2e80c4(0x1b2)](_0x2bb860,_0xe083f0=0x1){const _0x275360=_0x2e80c4;let _0x44546c;for(const _0x35753c of this[_0x275360(0x1ea)])if(_0x35753c[_0x275360(0x1b7)](_0x2bb860)){_0x44546c=_0x35753c[_0x275360(0x1ec)];break;}return _0x44546c||(_0x44546c=this[_0x275360(0x1cf)][_0x275360(0x1cc)](_0x2bb860[_0x275360(0x1a0)])),_0x44546c?_0x44546c(_0xe083f0):0x1!==_0xe083f0?_0xe083f0+'\x20'+_0x2bb860[_0x275360(0x1a0)]+'s':''+_0x2bb860[_0x275360(0x1a0)];}[_0x2e80c4(0x1e3)](_0x2c81b1,_0x47bfac){const _0x11d6a3=_0x2e80c4,_0xe437c5=_0x47bfac[_0x11d6a3(0x1a7)]()[_0x11d6a3(0x1d4)](),_0xd4962d=_0x11d6a3(0x1eb)==_0x47bfac[_0x11d6a3(0x1b3)]?_0x11d6a3(0x1d3):_0x11d6a3(0x1a3);for(const _0x14d4a3 of _0xe437c5){const _0x5d5e4f=_0x14d4a3[_0x11d6a3(0x1d5)],_0xbe24fc=_0x2c81b1[_0x2c81b1[_0x11d6a3(0x1f8)]-0x1];if(_0x5d5e4f['is'](_0x11d6a3(0x1ee)))_0xbe24fc&&_0xbe24fc[_0x11d6a3(0x1b3)][_0x11d6a3(0x19f)](_0x11d6a3(0x1c7))>-0x1&&_0x2c81b1[_0x11d6a3(0x1be)](),_0xbe24fc&&_0x11d6a3(0x1e2)==_0xbe24fc[_0x11d6a3(0x1b3)]?_0xbe24fc[_0xd4962d]+=_0x5d5e4f[_0x11d6a3(0x1c2)]:_0x2c81b1[_0x11d6a3(0x1ed)]({'type':_0x11d6a3(0x1e2),'add':_0x11d6a3(0x1d3)==_0xd4962d?_0x5d5e4f[_0x11d6a3(0x1c2)]:'','remove':_0x11d6a3(0x1a3)==_0xd4962d?_0x5d5e4f[_0x11d6a3(0x1c2)]:''});else{if(this[_0x11d6a3(0x1d9)][_0x11d6a3(0x1ac)](_0x5d5e4f)){const _0x1efbf8=_0x5d5e4f;if(_0xbe24fc&&_0xbe24fc[_0x11d6a3(0x1b3)][_0x11d6a3(0x19f)](_0x11d6a3(0x1c7))>-0x1&&_0x2c81b1[_0x11d6a3(0x1be)](),_0x11d6a3(0x1a1)==_0x14d4a3[_0x11d6a3(0x1b3)])continue;_0xbe24fc&&_0xbe24fc[_0x11d6a3(0x1b3)]==_0xd4962d+_0x11d6a3(0x19e)&&_0xbe24fc[_0x11d6a3(0x1b4)][_0x11d6a3(0x1a0)]==_0x1efbf8[_0x11d6a3(0x1a0)]?_0xbe24fc[_0x11d6a3(0x1a4)]++:_0x2c81b1[_0x11d6a3(0x1ed)]({'type':_0xd4962d+_0x11d6a3(0x19e),'element':_0x1efbf8,'quantity':0x1}),_0xe437c5[_0x11d6a3(0x1b5)](_0x4ca5f6=>!(_0x11d6a3(0x1a1)==_0x4ca5f6[_0x11d6a3(0x1b3)]&&_0x4ca5f6[_0x11d6a3(0x1d5)]==_0x5d5e4f));}else{if(this[_0x11d6a3(0x1d9)][_0x11d6a3(0x1cb)](_0x5d5e4f,_0x11d6a3(0x1c0))||_0x5d5e4f['is'](_0x11d6a3(0x1b4),_0x11d6a3(0x1e0))){const _0x260e0d=_0x5d5e4f;if(_0x11d6a3(0x1d3)==_0xd4962d&&_0x11d6a3(0x1ef)==_0x14d4a3[_0x11d6a3(0x1b3)]||_0x11d6a3(0x1a3)==_0xd4962d&&_0x11d6a3(0x1a1)==_0x14d4a3[_0x11d6a3(0x1b3)])continue;if(_0xbe24fc&&-0x1==_0xbe24fc[_0x11d6a3(0x1b3)][_0x11d6a3(0x19f)](_0x11d6a3(0x1c7))){_0x11d6a3(0x1e2)==_0xbe24fc[_0x11d6a3(0x1b3)]&&(_0xbe24fc[_0xd4962d]+='\x0a');continue;}let _0x1a5913;if(_0x1a5913=_0x11d6a3(0x1d3)==_0xd4962d?_0x260e0d[_0x11d6a3(0x1da)]&&!this[_0x11d6a3(0x1d9)][_0x11d6a3(0x1ac)](_0x260e0d[_0x11d6a3(0x1da)])?_0x260e0d[_0x11d6a3(0x1da)]:null:_0x260e0d[_0x11d6a3(0x1bf)]&&!this[_0x11d6a3(0x1d9)][_0x11d6a3(0x1ac)](_0x260e0d[_0x11d6a3(0x1bf)])?_0x260e0d[_0x11d6a3(0x1bf)]:null,_0x260e0d[_0x11d6a3(0x1c4)]||_0x1a5913&&_0x1a5913[_0x11d6a3(0x1c4)]){const _0x22173e=_0x1a5913&&_0x1a5913[_0x11d6a3(0x1c4)]?_0x1a5913:_0x260e0d;_0xbe24fc&&_0xbe24fc[_0x11d6a3(0x1b3)]==_0xd4962d+_0x11d6a3(0x1a5)&&_0xbe24fc[_0x11d6a3(0x1b4)][_0x11d6a3(0x1a0)]==_0x22173e[_0x11d6a3(0x1a0)]?_0xbe24fc[_0x11d6a3(0x1a4)]++:_0x2c81b1[_0x11d6a3(0x1ed)]({'type':_0xd4962d+_0x11d6a3(0x1a5),'element':_0x22173e,'quantity':0x1});}else _0x2c81b1[_0x11d6a3(0x1ed)]({'type':_0xd4962d+_0x11d6a3(0x1c7),'element':_0x260e0d});}}}}}[_0x2e80c4(0x1c1)](_0x224587){const _0x5c0e66=_0x2e80c4,_0x5d76a8=this[_0x5c0e66(0x1dd)],_0x48dd4b=[],_0x49d6f9=[],_0x2ad734=[];for(const _0x430b07 of _0x224587)switch(_0x430b07[_0x5c0e66(0x1b3)]){case _0x5c0e66(0x1e2):if(_0x430b07[_0x5c0e66(0x1d3)]=_0x430b07[_0x5c0e66(0x1d3)][_0x5c0e66(0x1df)](/(\S)\u000A+(\S)/g,_0x5c0e66(0x1ca))[_0x5c0e66(0x1df)](/\u000A/g,''),_0x430b07[_0x5c0e66(0x1a3)]=_0x430b07[_0x5c0e66(0x1a3)][_0x5c0e66(0x1df)](/(\S)\u000A+(\S)/g,_0x5c0e66(0x1ca))[_0x5c0e66(0x1df)](/\u000A/g,''),''!=_0x430b07[_0x5c0e66(0x1d3)]&&''!=_0x430b07[_0x5c0e66(0x1a3)]){_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1df),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1a9),['\x22'+_0x430b07[_0x5c0e66(0x1a3)]+'\x22','\x22'+_0x430b07[_0x5c0e66(0x1d3)]+'\x22'])});continue;}if(null!=_0x430b07[_0x5c0e66(0x1d3)][_0x5c0e66(0x1f5)](/^ +$/)){_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1eb),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1fb),_0x1791b5(_0x5d76a8,_0x5c0e66(0x19d),_0x430b07[_0x5c0e66(0x1d3)][_0x5c0e66(0x1f8)]))});continue;}if(null!=_0x430b07[_0x5c0e66(0x1a3)][_0x5c0e66(0x1f5)](/^ +$/)){_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1e5),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1bc),_0x1791b5(_0x5d76a8,_0x5c0e66(0x19d),_0x430b07[_0x5c0e66(0x1a3)][_0x5c0e66(0x1f8)]))});continue;}if(''!=_0x430b07[_0x5c0e66(0x1d3)]){_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1eb),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1fb),'\x22'+_0x430b07[_0x5c0e66(0x1d3)]+'\x22')});continue;}_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1e5),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1bc),'\x22'+_0x430b07[_0x5c0e66(0x1a3)]+'\x22')});continue;case _0x5c0e66(0x1ba):case _0x5c0e66(0x1d6):_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1eb),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1fb),this[_0x5c0e66(0x1b2)](_0x430b07[_0x5c0e66(0x1b4)],_0x430b07[_0x5c0e66(0x1a4)]))});continue;case _0x5c0e66(0x1d0):case _0x5c0e66(0x1a2):_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1e5),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1bc),this[_0x5c0e66(0x1b2)](_0x430b07[_0x5c0e66(0x1b4)],_0x430b07[_0x5c0e66(0x1a4)]))});continue;case _0x5c0e66(0x1f7):_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1eb),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1b0),this[_0x5c0e66(0x1b2)](_0x430b07[_0x5c0e66(0x1b4)],_0x430b07[_0x5c0e66(0x1a4)]))});continue;case _0x5c0e66(0x1ae):_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1e5),'content':_0x1791b5(_0x5d76a8,_0x5c0e66(0x1d2),this[_0x5c0e66(0x1b2)](_0x430b07[_0x5c0e66(0x1b4)],_0x430b07[_0x5c0e66(0x1a4)]))});continue;case _0x5c0e66(0x1a8):_0x49d6f9[_0x5c0e66(0x1ed)](_0x430b07[_0x5c0e66(0x1c5)]);continue;case _0x5c0e66(0x1fe):_0x2ad734[_0x5c0e66(0x1ed)](_0x430b07[_0x5c0e66(0x1c5)]);continue;default:_0x48dd4b[_0x5c0e66(0x1ed)](_0x430b07);}if(_0x49d6f9[_0x5c0e66(0x1f8)]){const _0x4b113b=_0x49d6f9[_0x5c0e66(0x1e7)](_0x18dd86=>this[_0x5c0e66(0x1ff)][_0x5c0e66(0x1e9)](_0x18dd86)?this[_0x5c0e66(0x1ff)][_0x5c0e66(0x1cc)](_0x18dd86):_0x18dd86)[_0x5c0e66(0x1a6)](',\x20');_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1ce),'content':_0x1791b5(this[_0x5c0e66(0x1dd)],_0x5c0e66(0x1b6),_0x4b113b)});}if(_0x2ad734[_0x5c0e66(0x1f8)]){const _0x24fe46=_0x2ad734[_0x5c0e66(0x1e7)](_0x244b31=>this[_0x5c0e66(0x1ff)][_0x5c0e66(0x1e9)](_0x244b31)?this[_0x5c0e66(0x1ff)][_0x5c0e66(0x1cc)](_0x244b31):_0x244b31)[_0x5c0e66(0x1a6)](',\x20');_0x48dd4b[_0x5c0e66(0x1ed)]({'type':_0x5c0e66(0x1ce),'content':_0x1791b5(this[_0x5c0e66(0x1dd)],_0x5c0e66(0x1e1),_0x24fe46)});}return _0x48dd4b;}[_0x2e80c4(0x1e8)](_0x115739){const _0x11b9a6=_0x2e80c4;for(const _0x48f5e9 of this[_0x11b9a6(0x1f3)]){const _0x327e2c=_0x48f5e9(_0x115739);if(_0x327e2c&&_0x11b9a6(0x1b3)in _0x327e2c)return _0x327e2c;}}[_0x2e80c4(0x1bb)](_0x4d2998,_0x5ca357){const _0xf776b=_0x2e80c4,_0x2786cb=_0x5ca357[_0xf776b(0x1c2)],_0x7d183a=void 0x0===_0x2786cb[_0xf776b(0x1f2)]?_0xf776b(0x1fe):_0xf776b(0x1a8);_0x4d2998[_0xf776b(0x1ed)]({'type':_0x7d183a,'key':_0x2786cb[_0xf776b(0x1c5)]});}[_0x2e80c4(0x1b9)](_0x55a838,_0x384c4c){const _0x5b6034=_0x2e80c4;_0x55a838[_0x5b6034(0x1ed)]({'type':_0x5b6034(0x1ce),'content':_0x1791b5(this[_0x5b6034(0x1dd)],_0x5b6034(0x1ad),this[_0x5b6034(0x1b2)](_0x384c4c[_0x5b6034(0x1a7)]()[_0x5b6034(0x1e6)][_0x5b6034(0x1c6)],0x1))});}[_0x2e80c4(0x1cd)](_0x448103,_0x38b0d9,_0x1fcef5){const _0x531218=_0x2e80c4;if(this[_0x531218(0x1e3)](_0x448103,_0x38b0d9),_0x1fcef5&&_0x1fcef5[_0x531218(0x1a7)]()&&!_0x38b0d9[_0x531218(0x1a7)]()[_0x531218(0x1ab)][_0x531218(0x1c9)](_0x1fcef5[_0x531218(0x1a7)]()[_0x531218(0x1e6)])){const _0x1dd790=_0x448103[_0x448103[_0x531218(0x1f8)]-0x1],_0x3c1f5c=_0x531218(0x1eb)==_0x38b0d9[_0x531218(0x1b3)]?_0x531218(0x1d3):_0x531218(0x1a3);_0x1dd790&&_0x531218(0x1e2)==_0x1dd790[_0x531218(0x1b3)]&&(_0x1dd790[_0x3c1f5c]+='\x0a');}}}
|
|
23
|
+
const _0x1dc30a=_0x1503;(function(_0x5e903e,_0x1c4d4b){const _0x136a0f=_0x1503,_0x17d703=_0x5e903e();while(!![]){try{const _0x4a1cf5=-parseInt(_0x136a0f(0xbb))/0x1+-parseInt(_0x136a0f(0xbd))/0x2+parseInt(_0x136a0f(0xdf))/0x3*(parseInt(_0x136a0f(0xc5))/0x4)+-parseInt(_0x136a0f(0xcb))/0x5*(parseInt(_0x136a0f(0xa7))/0x6)+-parseInt(_0x136a0f(0xde))/0x7+-parseInt(_0x136a0f(0xf1))/0x8*(-parseInt(_0x136a0f(0xf9))/0x9)+parseInt(_0x136a0f(0xd4))/0xa*(parseInt(_0x136a0f(0xef))/0xb);if(_0x4a1cf5===_0x1c4d4b)break;else _0x17d703['push'](_0x17d703['shift']());}catch(_0x6a6d2c){_0x17d703['push'](_0x17d703['shift']());}}}(_0x4eba,0x9a81d));import{getTranslation as _0x536985}from'./utils/common-translations.js';import{priorities as _0x4e89c9,insertToPriorityArray as _0x3d8093}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x54d7f9}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x1dc30a(0xeb)];[_0x1dc30a(0xd1)];[_0x1dc30a(0xa2)];[_0x1dc30a(0xa3)];[_0x1dc30a(0x100)];[_0x1dc30a(0xf0)];constructor(_0x5517df,_0xa10f1){const _0x52fd5e=_0x1dc30a;this[_0x52fd5e(0xeb)]=[],this[_0x52fd5e(0xd1)]=new Map(),this[_0x52fd5e(0xa2)]=[],this[_0x52fd5e(0xa3)]=new Map(),this[_0x52fd5e(0x100)]=_0x5517df,this[_0x52fd5e(0xf0)]=_0xa10f1;}[_0x1dc30a(0xff)](_0x5b74ba){const _0x1279e1=_0x1dc30a,_0x3aac5a=[],_0x39f054=new Set(),_0xfb58a0=new Set();for(let _0x2f7d9f=0x0;_0x2f7d9f<_0x5b74ba[_0x1279e1(0xd5)];_0x2f7d9f++){const _0x5c6bed=_0x5b74ba[_0x2f7d9f];if(!_0x5c6bed[_0x1279e1(0xae)])continue;const _0x301d3a=this[_0x1279e1(0xd3)](_0x5c6bed);if(_0x301d3a){if(null!=_0x5c6bed[_0x1279e1(0xaf)]){if(_0x39f054[_0x1279e1(0xfd)](_0x5c6bed[_0x1279e1(0xaf)]))continue;_0x39f054[_0x1279e1(0xf5)](_0x5c6bed[_0x1279e1(0xaf)]);}_0x3aac5a[_0x1279e1(0xf2)](_0x301d3a);}else{if(_0x1279e1(0xb2)==_0x5c6bed[_0x1279e1(0xda)]){const _0x5c5b58=_0x5c6bed[_0x1279e1(0xe2)][_0x1279e1(0xcc)];if(_0xfb58a0[_0x1279e1(0xfd)](_0x5c5b58))continue;_0xfb58a0[_0x1279e1(0xf5)](_0x5c6bed[_0x1279e1(0xe2)][_0x1279e1(0xcc)]),_0x5c5b58==_0x54d7f9?this[_0x1279e1(0xb8)](_0x3aac5a,_0x5c6bed):this[_0x1279e1(0xca)](_0x3aac5a,_0x5c6bed);continue;}_0x1279e1(0x102)!=_0x5c6bed[_0x1279e1(0xda)]&&_0x1279e1(0xb5)!=_0x5c6bed[_0x1279e1(0xda)]||this[_0x1279e1(0xa4)](_0x3aac5a,_0x5c6bed,_0x5b74ba[_0x2f7d9f+0x1]);}}return this[_0x1279e1(0xe4)](_0x3aac5a);}[_0x1dc30a(0xa8)](_0x9fa6bb){const _0x5bf41a=_0x1dc30a;this[_0x5bf41a(0xeb)][_0x5bf41a(0xf2)](_0x9fa6bb);}[_0x1dc30a(0xc9)](_0x3ca34f,_0xe227cd,_0x260d28=_0x4e89c9[_0x1dc30a(0xbc)]){const _0x3bca90=_0x1dc30a;_0x3bca90(0xd0)==typeof _0x3ca34f?_0x3d8093(this[_0x3bca90(0xa2)],{'matchingCallback':_0x3ca34f,'label':_0xe227cd,'priority':_0x260d28}):this[_0x3bca90(0xd1)][_0x3bca90(0xc0)](_0x3ca34f,_0xe227cd);}[_0x1dc30a(0xc4)](_0x1695b8,_0x152572){const _0x25993a=_0x1dc30a;this[_0x25993a(0xa3)][_0x25993a(0xc0)](_0x1695b8,_0x152572);}[_0x1dc30a(0xab)](_0x54125c,_0x8511f=0x1){const _0x239ca4=_0x1dc30a;let _0x5f5356;for(const _0xcd539d of this[_0x239ca4(0xa2)])if(_0xcd539d[_0x239ca4(0xad)](_0x54125c)){_0x5f5356=_0xcd539d[_0x239ca4(0xc1)];break;}return _0x5f5356||(_0x5f5356=this[_0x239ca4(0xd1)][_0x239ca4(0xe6)](_0x54125c[_0x239ca4(0xb4)])),_0x5f5356?_0x5f5356(_0x8511f):0x1!==_0x8511f?_0x8511f+'\x20'+_0x54125c[_0x239ca4(0xb4)]+'s':''+_0x54125c[_0x239ca4(0xb4)];}[_0x1dc30a(0xb9)](_0x47a01c,_0x4abd96){const _0x403e0c=_0x1dc30a,_0x1330bb=_0x4abd96[_0x403e0c(0xfb)]()[_0x403e0c(0xaa)](),_0x1738c4=_0x403e0c(0x102)==_0x4abd96[_0x403e0c(0xda)]?_0x403e0c(0xf5):_0x403e0c(0xf3);for(const _0x5e2b67 of _0x1330bb){const _0x1e630f=_0x5e2b67[_0x403e0c(0xdb)],_0x3eb353=_0x47a01c[_0x47a01c[_0x403e0c(0xd5)]-0x1];if(_0x1e630f['is'](_0x403e0c(0xf4)))_0x3eb353&&_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))>-0x1&&_0x47a01c[_0x403e0c(0xf7)](),_0x3eb353&&_0x403e0c(0x103)==_0x3eb353[_0x403e0c(0xda)]?_0x3eb353[_0x1738c4]+=_0x1e630f[_0x403e0c(0xe2)]:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x403e0c(0x103),'add':_0x403e0c(0xf5)==_0x1738c4?_0x1e630f[_0x403e0c(0xe2)]:'','remove':_0x403e0c(0xf3)==_0x1738c4?_0x1e630f[_0x403e0c(0xe2)]:''});else{if(this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1e630f)){const _0x2acc41=_0x1e630f;if(_0x3eb353&&_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))>-0x1&&_0x47a01c[_0x403e0c(0xf7)](),_0x403e0c(0xb6)==_0x5e2b67[_0x403e0c(0xda)])continue;_0x3eb353&&_0x3eb353[_0x403e0c(0xda)]==_0x1738c4+_0x403e0c(0xfc)&&_0x3eb353[_0x403e0c(0x101)][_0x403e0c(0xb4)]==_0x2acc41[_0x403e0c(0xb4)]?_0x3eb353[_0x403e0c(0xb3)]++:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xfc),'element':_0x2acc41,'quantity':0x1}),_0x1330bb[_0x403e0c(0xe9)](_0x3a0740=>!(_0x403e0c(0xb6)==_0x3a0740[_0x403e0c(0xda)]&&_0x3a0740[_0x403e0c(0xdb)]==_0x1e630f));}else{if(this[_0x403e0c(0x100)][_0x403e0c(0xcd)](_0x1e630f,_0x403e0c(0xe0))||_0x1e630f['is'](_0x403e0c(0x101),_0x403e0c(0xfa))){const _0x1afe43=_0x1e630f;if(_0x403e0c(0xf5)==_0x1738c4&&_0x403e0c(0xb7)==_0x5e2b67[_0x403e0c(0xda)]||_0x403e0c(0xf3)==_0x1738c4&&_0x403e0c(0xb6)==_0x5e2b67[_0x403e0c(0xda)])continue;if(_0x3eb353&&-0x1==_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))){_0x403e0c(0x103)==_0x3eb353[_0x403e0c(0xda)]&&(_0x3eb353[_0x1738c4]+='\x0a');continue;}let _0x409ac9;if(_0x409ac9=_0x403e0c(0xf5)==_0x1738c4?_0x1afe43[_0x403e0c(0xea)]&&!this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1afe43[_0x403e0c(0xea)])?_0x1afe43[_0x403e0c(0xea)]:null:_0x1afe43[_0x403e0c(0xf6)]&&!this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1afe43[_0x403e0c(0xf6)])?_0x1afe43[_0x403e0c(0xf6)]:null,_0x1afe43[_0x403e0c(0xba)]||_0x409ac9&&_0x409ac9[_0x403e0c(0xba)]){const _0x424d90=_0x409ac9&&_0x409ac9[_0x403e0c(0xba)]?_0x409ac9:_0x1afe43;_0x3eb353&&_0x3eb353[_0x403e0c(0xda)]==_0x1738c4+_0x403e0c(0xac)&&_0x3eb353[_0x403e0c(0x101)][_0x403e0c(0xb4)]==_0x424d90[_0x403e0c(0xb4)]?_0x3eb353[_0x403e0c(0xb3)]++:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xac),'element':_0x424d90,'quantity':0x1});}else _0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xd6),'element':_0x1afe43});}}}}}[_0x1dc30a(0xe4)](_0x3789fd){const _0x5c32aa=_0x1dc30a,_0x278142=this[_0x5c32aa(0xf0)],_0x2f0991=[],_0x1270c2=[],_0x437dd9=[];for(const _0xb003c of _0x3789fd)switch(_0xb003c[_0x5c32aa(0xda)]){case _0x5c32aa(0x103):if(_0xb003c[_0x5c32aa(0xf5)]=_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xf8)](/(\S)\u000A+(\S)/g,_0x5c32aa(0xcf))[_0x5c32aa(0xf8)](/\u000A/g,''),_0xb003c[_0x5c32aa(0xf3)]=_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xf8)](/(\S)\u000A+(\S)/g,_0x5c32aa(0xcf))[_0x5c32aa(0xf8)](/\u000A/g,''),''!=_0xb003c[_0x5c32aa(0xf5)]&&''!=_0xb003c[_0x5c32aa(0xf3)]){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xf8),'content':_0x536985(_0x278142,_0x5c32aa(0xec),['\x22'+_0xb003c[_0x5c32aa(0xf3)]+'\x22','\x22'+_0xb003c[_0x5c32aa(0xf5)]+'\x22'])});continue;}if(null!=_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xe8)](/^ +$/)){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),_0x536985(_0x278142,_0x5c32aa(0xe1),_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xd5)]))});continue;}if(null!=_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xe8)](/^ +$/)){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),_0x536985(_0x278142,_0x5c32aa(0xe1),_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xd5)]))});continue;}if(''!=_0xb003c[_0x5c32aa(0xf5)]){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),'\x22'+_0xb003c[_0x5c32aa(0xf5)]+'\x22')});continue;}_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),'\x22'+_0xb003c[_0x5c32aa(0xf3)]+'\x22')});continue;case _0x5c32aa(0xe3):case _0x5c32aa(0xce):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xa6):case _0x5c32aa(0xa9):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xdd):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xd7),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xd8):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xee),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xe5):_0x1270c2[_0x5c32aa(0xf2)](_0xb003c[_0x5c32aa(0xcc)]);continue;case _0x5c32aa(0xc6):_0x437dd9[_0x5c32aa(0xf2)](_0xb003c[_0x5c32aa(0xcc)]);continue;default:_0x2f0991[_0x5c32aa(0xf2)](_0xb003c);}if(_0x1270c2[_0x5c32aa(0xd5)]){const _0x28a784=_0x1270c2[_0x5c32aa(0xe7)](_0x55a10d=>this[_0x5c32aa(0xa3)][_0x5c32aa(0xfd)](_0x55a10d)?this[_0x5c32aa(0xa3)][_0x5c32aa(0xe6)](_0x55a10d):_0x55a10d)[_0x5c32aa(0xfe)](',\x20');_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xa5),'content':_0x536985(this[_0x5c32aa(0xf0)],_0x5c32aa(0xbf),_0x28a784)});}if(_0x437dd9[_0x5c32aa(0xd5)]){const _0x341e2f=_0x437dd9[_0x5c32aa(0xe7)](_0x1125f2=>this[_0x5c32aa(0xa3)][_0x5c32aa(0xfd)](_0x1125f2)?this[_0x5c32aa(0xa3)][_0x5c32aa(0xe6)](_0x1125f2):_0x1125f2)[_0x5c32aa(0xfe)](',\x20');_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xa5),'content':_0x536985(this[_0x5c32aa(0xf0)],_0x5c32aa(0xc2),_0x341e2f)});}return _0x2f0991;}[_0x1dc30a(0xd3)](_0x1e0f0b){const _0x5b9df7=_0x1dc30a;for(const _0x10331c of this[_0x5b9df7(0xeb)]){const _0x482bfb=_0x10331c(_0x1e0f0b);if(_0x482bfb&&_0x5b9df7(0xda)in _0x482bfb)return _0x482bfb;}}[_0x1dc30a(0xca)](_0x27fa5b,_0x2d0fc5){const _0x1791df=_0x1dc30a,_0x4244a3=_0x2d0fc5[_0x1791df(0xe2)],_0x75d81b=void 0x0===_0x4244a3[_0x1791df(0xc3)]?_0x1791df(0xc6):_0x1791df(0xe5);_0x27fa5b[_0x1791df(0xf2)]({'type':_0x75d81b,'key':_0x4244a3[_0x1791df(0xcc)]});}[_0x1dc30a(0xb8)](_0x296dcb,_0x3288f9){const _0x2af5a6=_0x1dc30a;_0x296dcb[_0x2af5a6(0xf2)]({'type':_0x2af5a6(0xa5),'content':_0x536985(this[_0x2af5a6(0xf0)],_0x2af5a6(0xc7),this[_0x2af5a6(0xab)](_0x3288f9[_0x2af5a6(0xfb)]()[_0x2af5a6(0xd9)][_0x2af5a6(0xed)],0x1))});}[_0x1dc30a(0xa4)](_0x3c8e9c,_0xd20873,_0x1f4793){const _0x26d121=_0x1dc30a;if(this[_0x26d121(0xb9)](_0x3c8e9c,_0xd20873),_0x1f4793&&_0x1f4793[_0x26d121(0xfb)]()&&!_0xd20873[_0x26d121(0xfb)]()[_0x26d121(0xb0)][_0x26d121(0xb1)](_0x1f4793[_0x26d121(0xfb)]()[_0x26d121(0xd9)])){const _0x3c16d2=_0x3c8e9c[_0x3c8e9c[_0x26d121(0xd5)]-0x1],_0x4508fb=_0x26d121(0x102)==_0xd20873[_0x26d121(0xda)]?_0x26d121(0xf5):_0x26d121(0xf3);_0x3c16d2&&_0x26d121(0x103)==_0x3c16d2[_0x26d121(0xda)]&&(_0x3c16d2[_0x4508fb]+='\x0a');}}}function _0x1503(_0x17211d,_0xd34ee8){const _0x4ebade=_0x4eba();return _0x1503=function(_0x1503e4,_0x4b81ad){_0x1503e4=_0x1503e4-0xa2;let _0x137363=_0x4ebade[_0x1503e4];return _0x137363;},_0x1503(_0x17211d,_0xd34ee8);}function _0x4eba(){const _0x1e5ef7=['removeFormat','*Change\x20to:*\x20%0','*Remove:*\x20%0','registerElementLabel','_handleAttributeSuggestionDescription','385655JnvQkq','key','checkChild','addObject','$1\x20$2','function','_itemLabels','indexOf','_handleCustomCallbackDescription','2094710npMHDv','length','Container','*Split:*\x20%0','removeContainer','start','type','item','isObject','addContainer','248570AnCTsC','12hpMdqV','$text','ELEMENT_SPACE','data','addEmptyContainer','_resolveDescriptionItems','addFormat','get','map','match','skip','nextSibling','_customCallbacks','REPLACE_TEXT','nodeAfter','*Merge:*\x20%0','22tdIKgg','_locale','48MuOxap','push','remove','$textProxy','add','previousSibling','pop','replace','690876xOuXmT','softBreak','getFirstRange','Object','has','join','getDescriptions','_schema','element','insertion','text','_itemLabelsCallbacks','_attributeLabels','_handleInsertRemoveSuggestionDescription','format','removeEmptyContainer','6hDkddT','registerDescriptionCallback','removeObject','getWalker','getItemLabel','EmptyContainer','matchingCallback','isInContent','subType','end','isEqual','attribute','quantity','name','deletion','elementEnd','elementStart','_handleRenameSuggestionDescription','_addDescriptionItems','isEmpty','3116cIMcuN','normal','1241336UEaoXz','*Insert:*\x20%0','*Set\x20format:*\x20%0','set','label','*Remove\x20format:*\x20%0','newValue','registerAttributeLabel','489760PwMhdi'];_0x4eba=function(){return _0x1e5ef7;};return _0x4eba();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x189d81=_0x25d3;(function(_0x128ecc,_0xefc0c6){var _0x364461=_0x25d3,_0x5690d4=_0x128ecc();while(!![]){try{var _0x9d23=-parseInt(_0x364461(0xd6))/0x1+parseInt(_0x364461(0xda))/0x2*(-parseInt(_0x364461(0xc6))/0x3)+-parseInt(_0x364461(0xcb))/0x4*(parseInt(_0x364461(0xce))/0x5)+-parseInt(_0x364461(0xc5))/0x6+-parseInt(_0x364461(0xd7))/0x7+-parseInt(_0x364461(0xd9))/0x8*(parseInt(_0x364461(0xc9))/0x9)+-parseInt(_0x364461(0xd3))/0xa*(-parseInt(_0x364461(0xca))/0xb);if(_0x9d23===_0xefc0c6)break;else _0x5690d4['push'](_0x5690d4['shift']());}catch(_0x4da316){_0x5690d4['push'](_0x5690d4['shift']());}}}(_0x34d8,0x2a62a));import{Plugin as _0x3da812}from'ckeditor5/src/core.js';function _0x25d3(_0x5ee6f9,_0x722405){var _0x34d8fa=_0x34d8();return _0x25d3=function(_0x25d30e,_0x5230a1){_0x25d30e=_0x25d30e-0xc4;var _0x127d2e=_0x34d8fa[_0x25d30e];return _0x127d2e;},_0x25d3(_0x5ee6f9,_0x722405);}import{TrackChangesUI as _0x3d8b67}from'./trackchangesui.js';import{TrackChangesEditing as _0x39c262}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x34d8(){var _0x1dacb7=['487068wvQWAV','587256ZUbPOG','isOfficialPlugin','isPremiumPlugin','129555kmJoUG','15961XHkFCE','76iRrZYm','TrackChanges','plugins','25495TwmDjf','Comments','editor','getSuggestions','adapter','5830zmCkaT','pluginName','addSuggestionData','110359CKoziR','208656SkgmRR','requires','88bmOyMm','2cGXIyd','addSuggestion','getSuggestion','get'];_0x34d8=function(){return _0x1dacb7;};return _0x34d8();}export class TrackChanges extends _0x3da812{static get[_0x189d81(0xd8)](){var _0x1dc129=_0x189d81;return[_0x39c262,_0x3d8b67,_0x1dc129(0xcf)];}static get[_0x189d81(0xd4)](){var _0x110dd9=_0x189d81;return _0x110dd9(0xcc);}static get[_0x189d81(0xc7)](){return!0x0;}static get[_0x189d81(0xc8)](){return!0x0;}set[_0x189d81(0xd2)](_0x49571c){var _0x680f44=_0x189d81;this[_0x680f44(0xd0)][_0x680f44(0xcd)][_0x680f44(0xc4)](_0x39c262)[_0x680f44(0xd2)]=_0x49571c;}get[_0x189d81(0xd2)](){var _0x28c1a1=_0x189d81;return this[_0x28c1a1(0xd0)][_0x28c1a1(0xcd)][_0x28c1a1(0xc4)](_0x39c262)[_0x28c1a1(0xd2)];}[_0x189d81(0xdb)](_0x3c8cbb){var _0x1002c8=_0x189d81;return this[_0x1002c8(0xd0)][_0x1002c8(0xcd)][_0x1002c8(0xc4)](_0x39c262)[_0x1002c8(0xd5)](_0x3c8cbb);}[_0x189d81(0xd1)]({skipNotAttached:_0x15c271=!0x1,toJSON:_0x27c38a=!0x1}={}){var _0x45c2c1=_0x189d81;return this[_0x45c2c1(0xd0)][_0x45c2c1(0xcd)][_0x45c2c1(0xc4)](_0x39c262)[_0x45c2c1(0xd1)]({'skipNotAttached':_0x15c271,'toJSON':_0x27c38a});}[_0x189d81(0xdc)](_0x1b13e1){var _0x74def1=_0x189d81;return this[_0x74def1(0xd0)][_0x74def1(0xcd)][_0x74def1(0xc4)](_0x39c262)[_0x74def1(0xdc)](_0x1b13e1);}}
|