@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250824.0 → 0.0.0-nightly-20250826.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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
|
-
|
|
23
|
+
function _0x4e94(){const _0x3b7b10=['addClass','_suggestionFactory','bindElementToMarker','595YHjAeS','downcastDispatcher','removeMarker:suggestion','createTableWalker','unbindElementFromMarkerName','parent','consumable','1125639olbpyn','editing','writer','markerNameToElements','includes','formatBlock','nodeAfter','4HUmKKB','commandParams','markerRange','30724dFhRDO','cell','has','toViewElement','consume','_handleLegacySuggestions','103784jTmfUl','_splitMarkerName','headingColumns','_registerLegacyDescription','editor','accept','2361180RlxRAK','format','highest','headingRows','ck-suggestion-marker-','removeAttribute','data','TableUtils','FORMAT_REGULAR_COLUMN','item','FORMAT_REGULAR_ROW','addMarker:suggestion','removeClass','278275CDbMGK','locale','markerName','setTableColumnHeader','ck-suggestion-marker--active','setTableRowHeader','registerAttributeLabel','registerBlockAttribute','FORMAT_HEADER_COLUMN','forceValue','_acceptFormatSuggestionCallbackFactory','requires','afterInit','enableDefaultAttributesIntegration','activeMarkers','setAttribute','name','*Format:*\x20%0','3944460SpbOWs','descriptionFactory','723123THRohD','options','type','FORMAT_HEADER_ROW','getCellLocation','43usGKxu','stop','start','TableEditing','registerDescriptionCallback','commandName','showSuggestionHighlights','end','plugins','data-suggestion','getSuggestion','mapper','get','TrackChangesEditing','nodeBefore','registerCustomCallback'];_0x4e94=function(){return _0x3b7b10;};return _0x4e94();}const _0x18fe3e=_0x2de8;(function(_0x60ad36,_0x2c35f6){const _0x2863c3=_0x2de8,_0x2f285d=_0x60ad36();while(!![]){try{const _0x5f1daf=-parseInt(_0x2863c3(0xbc))/0x1*(parseInt(_0x2863c3(0xe0))/0x2)+-parseInt(_0x2863c3(0xd6))/0x3*(parseInt(_0x2863c3(0xdd))/0x4)+parseInt(_0x2863c3(0xa3))/0x5+parseInt(_0x2863c3(0xb5))/0x6+parseInt(_0x2863c3(0xcf))/0x7*(parseInt(_0x2863c3(0x90))/0x8)+parseInt(_0x2863c3(0xb7))/0x9+-parseInt(_0x2863c3(0x96))/0xa;if(_0x5f1daf===_0x2c35f6)break;else _0x2f285d['push'](_0x2f285d['shift']());}catch(_0x5ce4fa){_0x2f285d['push'](_0x2f285d['shift']());}}}(_0x4e94,0x9865c));import{Plugin as _0x4bb209}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x1e082b}from'./table.js';import{getTranslation as _0x139fc4}from'../utils/common-translations.js';function _0x2de8(_0x3a74d4,_0x3389d2){const _0x4e9409=_0x4e94();return _0x2de8=function(_0x2de8ea,_0x35089a){_0x2de8ea=_0x2de8ea-0x90;let _0x37d058=_0x4e9409[_0x2de8ea];return _0x37d058;},_0x2de8(_0x3a74d4,_0x3389d2);}export class TrackChangesTableHeadings extends _0x4bb209{static get[_0x18fe3e(0xae)](){return[_0x1e082b];}[_0x18fe3e(0xaf)](){const _0x33b046=_0x18fe3e,_0x257020=this[_0x33b046(0x94)];if(!_0x257020[_0x33b046(0xc4)][_0x33b046(0xe2)](_0x33b046(0xbf)))return;const _0x3ae8bb=_0x257020[_0x33b046(0xa4)],_0x51da47=_0x257020[_0x33b046(0xc4)][_0x33b046(0xc8)](_0x33b046(0xc9));_0x51da47[_0x33b046(0xb0)](_0x33b046(0xa8)),_0x51da47[_0x33b046(0xb0)](_0x33b046(0xa6)),_0x51da47[_0x33b046(0xaa)](_0x33b046(0x99)),_0x51da47[_0x33b046(0xaa)](_0x33b046(0x92)),_0x51da47[_0x33b046(0xb6)][_0x33b046(0xa9)](_0x33b046(0x99),_0x139fc4(_0x3ae8bb,_0x33b046(0xba))),_0x51da47[_0x33b046(0xb6)][_0x33b046(0xa9)](_0x33b046(0x92),_0x139fc4(_0x3ae8bb,_0x33b046(0xab))),this[_0x33b046(0xe5)]();}[_0x18fe3e(0xe5)](){const _0x2a25a7=_0x18fe3e,_0x2e3c9e=this[_0x2a25a7(0x94)][_0x2a25a7(0xc4)][_0x2a25a7(0xc8)](_0x2a25a7(0xc9)),_0x36731b=this[_0x2a25a7(0x94)][_0x2a25a7(0xc4)][_0x2a25a7(0xc8)](_0x2a25a7(0x9d)),_0x28ae1b=this[_0x2a25a7(0x94)][_0x2a25a7(0xc4)][_0x2a25a7(0xc8)](_0x1e082b)[_0x2a25a7(0xad)]();function _0xaaee47({showActiveMarker:_0x49d5fd=!0x0,setDataAttribute:_0x30e9a5=!0x0}={}){return(_0x4702bd,_0x25102a,_0x5bd8d8)=>{const _0x176fc8=_0x2de8,{type:_0x19fdbe,id:_0x54208c}=_0x2e3c9e[_0x176fc8(0x91)](_0x25102a[_0x176fc8(0xa5)]),_0x23d351=_0x2e3c9e[_0x176fc8(0xc6)](_0x54208c),_0x40afa0=_0x23d351[_0x176fc8(0x9c)];if(_0x176fc8(0xdb)!=_0x23d351[_0x176fc8(0xb9)]||!_0x40afa0||_0x176fc8(0xa6)!=_0x40afa0[_0x176fc8(0xc1)])return;if(_0x25102a[_0x176fc8(0x9f)])return void _0x4702bd[_0x176fc8(0xbd)]();if(!_0x5bd8d8[_0x176fc8(0xd5)][_0x176fc8(0xe4)](_0x25102a[_0x176fc8(0xdf)],_0x4702bd[_0x176fc8(0xb3)]))return;const _0x54b3b6=_0x25102a[_0x176fc8(0xdf)][_0x176fc8(0xbe)][_0x176fc8(0xdc)],_0x3910c3=_0x25102a[_0x176fc8(0xdf)][_0x176fc8(0xc3)][_0x176fc8(0xca)],_0x25d6f7=_0x54b3b6[_0x176fc8(0xd4)][_0x176fc8(0xd4)],{column:_0x1d7c70}=_0x36731b[_0x176fc8(0xbb)](_0x54b3b6),{column:_0x31778f}=_0x36731b[_0x176fc8(0xbb)](_0x3910c3);for(let _0x5d0ffe=_0x1d7c70;_0x5d0ffe<=_0x31778f;_0x5d0ffe++){const _0x4d822b=_0x36731b[_0x176fc8(0xd2)](_0x25d6f7,{'column':_0x5d0ffe,'includeAllSlots':!0x1});for(const _0x25307c of _0x4d822b){const _0xbd2a57=_0x25307c[_0x176fc8(0xe1)],_0x155f3c=_0x5bd8d8[_0x176fc8(0xc7)][_0x176fc8(0xe3)](_0xbd2a57);_0x5bd8d8[_0x176fc8(0xd8)][_0x176fc8(0xcc)](_0x176fc8(0x9a)+_0x19fdbe,_0x155f3c),_0x30e9a5&&_0x5bd8d8[_0x176fc8(0xd8)][_0x176fc8(0xb2)](_0x176fc8(0xc5),_0x54208c,_0x155f3c),_0x5bd8d8[_0x176fc8(0xc7)][_0x176fc8(0xce)](_0x155f3c,_0x25102a[_0x176fc8(0xa5)]),_0x49d5fd&&(_0x2e3c9e[_0x176fc8(0xb1)][_0x176fc8(0xda)](_0x25102a[_0x176fc8(0xa5)])?_0x5bd8d8[_0x176fc8(0xd8)][_0x176fc8(0xcc)](_0x176fc8(0xa7),_0x155f3c):_0x5bd8d8[_0x176fc8(0xd8)][_0x176fc8(0xa2)](_0x176fc8(0xa7),_0x155f3c));}}};}_0x2e3c9e[_0x2a25a7(0xcd)][_0x2a25a7(0xcb)](_0x2a25a7(0xdb),_0x2a25a7(0xa8),_0x2a25a7(0x95),_0x28ae1b),_0x2e3c9e[_0x2a25a7(0xcd)][_0x2a25a7(0xcb)](_0x2a25a7(0xdb),_0x2a25a7(0xa6),_0x2a25a7(0x95),_0x28ae1b),this[_0x2a25a7(0x94)][_0x2a25a7(0xd7)][_0x2a25a7(0xd0)]['on'](_0x2a25a7(0xa1),_0xaaee47(),{'priority':_0x2a25a7(0x98)}),this[_0x2a25a7(0x94)][_0x2a25a7(0x9c)][_0x2a25a7(0xd0)]['on'](_0x2a25a7(0xa1),(_0x5c7780,_0x46b8b8,_0x256800)=>{const _0x40960b=_0x2a25a7;_0x256800[_0x40960b(0xb8)][_0x40960b(0xc2)]&&_0xaaee47({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5c7780,_0x46b8b8,_0x256800);},{'priority':_0x2a25a7(0x98)}),this[_0x2a25a7(0x94)][_0x2a25a7(0xd7)][_0x2a25a7(0xd0)]['on'](_0x2a25a7(0xd1),(_0x5a4657,_0x4bea0a,_0x1665b0)=>{const _0x24a1f3=_0x2a25a7,{type:_0x147cad,id:_0x19cd55}=_0x2e3c9e[_0x24a1f3(0x91)](_0x4bea0a[_0x24a1f3(0xa5)]),_0x501016=_0x2e3c9e[_0x24a1f3(0xc6)](_0x19cd55),_0x439d1b=_0x501016[_0x24a1f3(0x9c)];if(_0x24a1f3(0xdb)!=_0x501016[_0x24a1f3(0xb9)]||!_0x439d1b||_0x24a1f3(0xa6)!=_0x439d1b[_0x24a1f3(0xc1)])return;const _0x3102ac=_0x1665b0[_0x24a1f3(0xc7)][_0x24a1f3(0xd9)](_0x4bea0a[_0x24a1f3(0xa5)]);if(_0x3102ac){for(const _0x2ca89d of _0x3102ac)_0x1665b0[_0x24a1f3(0xd8)][_0x24a1f3(0xa2)](_0x24a1f3(0x9a)+_0x147cad,_0x2ca89d),_0x1665b0[_0x24a1f3(0xd8)][_0x24a1f3(0xa2)](_0x24a1f3(0xa7),_0x2ca89d),_0x1665b0[_0x24a1f3(0xd8)][_0x24a1f3(0x9b)](_0x24a1f3(0xc5),_0x2ca89d),_0x1665b0[_0x24a1f3(0xc7)][_0x24a1f3(0xd3)](_0x2ca89d,_0x4bea0a[_0x24a1f3(0xa5)]);}},{'priority':_0x2a25a7(0x98)}),this[_0x2a25a7(0x93)]();}[_0x18fe3e(0x93)](){const _0x51e04f=_0x18fe3e,_0x45f41d=this[_0x51e04f(0x94)],_0x286a2f=_0x45f41d[_0x51e04f(0xa4)];function _0x2ebf74(_0x1fecd8){const _0x1a81a0=_0x51e04f;return{'type':_0x1a81a0(0x97),'content':_0x139fc4(_0x286a2f,_0x1a81a0(0xb4),_0x1fecd8)};}_0x45f41d[_0x51e04f(0xc4)][_0x51e04f(0xc8)](_0x51e04f(0xc9))[_0x51e04f(0xb6)][_0x51e04f(0xc0)](_0x1c1f7a=>{const _0x1bc617=_0x51e04f;if(_0x1bc617(0xdb)!=_0x1c1f7a[_0x1bc617(0xb9)])return;const {data:_0x401f79}=_0x1c1f7a;if(_0x401f79){if(_0x1bc617(0xa8)==_0x401f79[_0x1bc617(0xc1)]){const _0xaf05a7=_0x401f79[_0x1bc617(0xde)][0x0][_0x1bc617(0xac)];return _0x2ebf74(_0x139fc4(_0x286a2f,_0xaf05a7?_0x1bc617(0xba):_0x1bc617(0xa0)));}if(_0x1bc617(0xa6)==_0x401f79[_0x1bc617(0xc1)]){const _0x25af59=_0x401f79[_0x1bc617(0xde)][0x0][_0x1bc617(0xac)];return _0x2ebf74(_0x139fc4(_0x286a2f,_0x25af59?_0x1bc617(0xab):_0x1bc617(0x9e)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2888(_0x48d8e5,_0x42a100){const _0x11a53f=_0x11a5();return _0x2888=function(_0x28887c,_0x288aa4){_0x28887c=_0x28887c-0x1e6;let _0x121ba5=_0x11a53f[_0x28887c];return _0x121ba5;},_0x2888(_0x48d8e5,_0x42a100);}const _0x1f42cc=_0x2888;(function(_0x4dc77e,_0x451b9a){const _0x2ce333=_0x2888,_0x2c1306=_0x4dc77e();while(!![]){try{const _0x9c2c78=parseInt(_0x2ce333(0x1f2))/0x1+-parseInt(_0x2ce333(0x1f6))/0x2*(parseInt(_0x2ce333(0x1e8))/0x3)+-parseInt(_0x2ce333(0x20b))/0x4*(-parseInt(_0x2ce333(0x1fb))/0x5)+-parseInt(_0x2ce333(0x1f7))/0x6*(-parseInt(_0x2ce333(0x1f3))/0x7)+parseInt(_0x2ce333(0x205))/0x8*(parseInt(_0x2ce333(0x1f5))/0x9)+parseInt(_0x2ce333(0x202))/0xa+-parseInt(_0x2ce333(0x1ee))/0xb;if(_0x9c2c78===_0x451b9a)break;else _0x2c1306['push'](_0x2c1306['shift']());}catch(_0x31cb6e){_0x2c1306['push'](_0x2c1306['shift']());}}}(_0x11a5,0x29fae));import{Plugin as _0x1144e4}from'ckeditor5/src/core.js';function _0x11a5(){const _0x417d29=['plugins','has','3DBbYsK','enableDefaultAttributesIntegration','ELEMENT_CONTENT_TABLE','afterInit','locale','enableCommand','6136680vBARoH','registerElementLabel','TrackChangesEditing','getAttribute','164270hfJjtU','763WvdlJN','descriptionFactory','57852OUWkjh','442634cOjaCc','8358vmMlot','insertTableLayout','registerBlockAttribute','TableLayout','965605IPiRxJ','format','get','table','layout','*Set\x20table\x20type:*\x20%0','element','2490790TsXggn','editor','tableType','240MSGRBu','registerDescriptionCallback','key','content','newValue','ELEMENT_LAYOUT_TABLE','4KwxUIH'];_0x11a5=function(){return _0x417d29;};return _0x11a5();}import{getTranslation as _0x4fe6f7}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x1144e4{[_0x1f42cc(0x1eb)](){const _0x5cf1df=_0x1f42cc,_0x3921db=this[_0x5cf1df(0x203)],_0x5c1d29=_0x3921db[_0x5cf1df(0x1ec)],_0x575d14=_0x3921db[_0x5cf1df(0x1e6)][_0x5cf1df(0x1fd)](_0x5cf1df(0x1f0));function _0x4cd1b2(_0x4a6350){const _0x3991a3=_0x5cf1df;return{'type':_0x3991a3(0x1fc),'content':''+_0x4fe6f7(_0x5c1d29,_0x3991a3(0x200),_0x4a6350)};}_0x3921db[_0x5cf1df(0x1e6)][_0x5cf1df(0x1e7)](_0x5cf1df(0x1fa))&&(_0x575d14[_0x5cf1df(0x1ed)](_0x5cf1df(0x1f8)),_0x575d14[_0x5cf1df(0x1e9)](_0x5cf1df(0x204)),_0x575d14[_0x5cf1df(0x1f9)](_0x5cf1df(0x204)),_0x575d14[_0x5cf1df(0x1f4)][_0x5cf1df(0x1ef)](_0x8e255c=>_0x8e255c['is'](_0x5cf1df(0x201),_0x5cf1df(0x1fe))&&_0x5cf1df(0x1ff)===_0x8e255c[_0x5cf1df(0x1f1)](_0x5cf1df(0x204)),_0x2a191e=>_0x4fe6f7(_0x5c1d29,_0x5cf1df(0x20a),_0x2a191e)),_0x575d14[_0x5cf1df(0x1f4)][_0x5cf1df(0x206)](_0x1037d2=>{const _0x563b0c=_0x5cf1df,{data:_0x369ce3}=_0x1037d2;if(_0x369ce3&&_0x563b0c(0x204)==_0x369ce3[_0x563b0c(0x207)])switch(_0x369ce3[_0x563b0c(0x209)]){case _0x563b0c(0x1ff):return _0x4cd1b2(_0x4fe6f7(_0x5c1d29,_0x563b0c(0x20a)));case _0x563b0c(0x208):return _0x4cd1b2(_0x4fe6f7(_0x5c1d29,_0x563b0c(0x1ea)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a9260=_0x5669;function _0x5669(_0x28dfa0,_0x1e1195){const _0x24a8fc=_0x24a8();return _0x5669=function(_0x566956,_0x2a0ed5){_0x566956=_0x566956-0x9b;let _0x3b8898=_0x24a8fc[_0x566956];return _0x3b8898;},_0x5669(_0x28dfa0,_0x1e1195);}(function(_0x16ea3f,_0x2e8327){const _0x5524db=_0x5669,_0x5ae8c5=_0x16ea3f();while(!![]){try{const _0x4ac77f=parseInt(_0x5524db(0xb8))/0x1*(parseInt(_0x5524db(0x9f))/0x2)+-parseInt(_0x5524db(0xc2))/0x3+parseInt(_0x5524db(0xb1))/0x4+-parseInt(_0x5524db(0xe9))/0x5+-parseInt(_0x5524db(0xbe))/0x6*(-parseInt(_0x5524db(0xcb))/0x7)+-parseInt(_0x5524db(0xea))/0x8+-parseInt(_0x5524db(0xf5))/0x9*(parseInt(_0x5524db(0xf4))/0xa);if(_0x4ac77f===_0x2e8327)break;else _0x5ae8c5['push'](_0x5ae8c5['shift']());}catch(_0x11266e){_0x5ae8c5['push'](_0x5ae8c5['shift']());}}}(_0x24a8,0x58880));import{Plugin as _0x1cc74a}from'ckeditor5/src/core.js';import{TrackChangesTable as _0xeca4a1}from'./table.js';import{ModelLiveRange as _0x1e47fb}from'ckeditor5/src/engine.js';function _0x24a8(){const _0x34cf34=['rootName','trackChanges','format','getRanges','get','enableCommand','2015428WuEkzu','execute','findAncestor','map','document','root','TableEditing','19nHeXdj','detach','fromRange','*Split\x20cell:*\x20vertically','mergeTableCellRight','*Merge\x20cells*','3927318GOdVcK','afterInit','setSelection','push','459876MTRhLl','registerDescriptionCallback','has','registerCustomCallback','from','direction','find','mergeTableCells','createRangeOn','7AmqIjJ','plugins','containsRange','deletion','getCellLocation','_isForcedDefaultExecutionBlock','return','formatInline','model','length','descriptionFactory','horizontally','refresh','_areSelectedCellsMergable','*Split\x20cell:*\x20horizontally','type','set:isEnabled','forceDefaultExecution','tableCell','isEnabled','low','getFirstPosition','markBlockFormat','editor','_tablePostFixingSubtypes','createTableWalker','mergeTableCellLeft','splitTableCellHorizontally','stop','filter','1763845DzYLSh','1075888hdCJFI','element','change','locale','commands','commandName','mergeTableCellDown','subType','highest','TableUtils','29060LUXvwI','945notRrA','_areMergableCells','mergeTableCellUp','add','insertion','author','table','formatBlock','value','getSuggestions','accept','markMultiRangeBlockFormat','requires','15778ObXGuJ','cell','selection','size','getAncestors','splitTableCellVertically','TrackChangesEditing','_acceptFormatSuggestionCallbackFactory','getSelectionAffectedTableCells','$graveyard','_suggestionFactory','isInContent'];_0x24a8=function(){return _0x34cf34;};return _0x24a8();}import{getTranslation as _0x5e42b1}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x1cc74a{static get[_0x1a9260(0x9e)](){return[_0xeca4a1];}[_0x1a9260(0xbf)](){const _0x5d57bb=_0x1a9260,_0x58ab00=this[_0x5d57bb(0xe2)],_0x125d5d=_0x58ab00[_0x5d57bb(0xd3)][_0x5d57bb(0xb5)][_0x5d57bb(0xa1)],_0x1a634d=_0x58ab00[_0x5d57bb(0xed)];if(!_0x58ab00[_0x5d57bb(0xcc)][_0x5d57bb(0xc4)](_0x5d57bb(0xb7)))return;const _0x3ff6e1=_0x58ab00[_0x5d57bb(0xcc)][_0x5d57bb(0xaf)](_0x5d57bb(0xa5)),_0x503f13=_0x58ab00[_0x5d57bb(0xcc)][_0x5d57bb(0xaf)](_0x5d57bb(0xf3)),_0x2cd914=_0x58ab00[_0x5d57bb(0xcc)][_0x5d57bb(0xaf)](_0xeca4a1);_0x2cd914[_0x5d57bb(0xe3)][_0x5d57bb(0xc1)](_0x5d57bb(0xc9)),_0x3ff6e1[_0x5d57bb(0xb0)](_0x5d57bb(0xc9),()=>{const _0x404c59=_0x5d57bb,_0x1d2adc=_0x503f13[_0x404c59(0xa7)](_0x58ab00[_0x404c59(0xd3)][_0x404c59(0xb5)][_0x404c59(0xa1)]);_0x58ab00[_0x404c59(0xd3)][_0x404c59(0xec)](()=>{const _0x2c2c61=_0x404c59;_0x3ff6e1[_0x2c2c61(0x9d)](_0x1d2adc,{'commandName':_0x2c2c61(0xc9),'commandParams':[]},[],_0x2c2c61(0xc9));});}),_0x58ab00[_0x5d57bb(0xee)][_0x5d57bb(0xaf)](_0x5d57bb(0xc9))['on'](_0x5d57bb(0xb2),(_0x3745d8,_0x4fa64f)=>{const _0x573a9c=_0x5d57bb;_0x58ab00[_0x573a9c(0xee)][_0x573a9c(0xaf)](_0x573a9c(0xac))[_0x573a9c(0xfd)]&&(_0x4fa64f[_0x573a9c(0xd4)]>0x0&&_0x4fa64f[_0x4fa64f[_0x573a9c(0xd4)]-0x1]&&_0x4fa64f[_0x4fa64f[_0x573a9c(0xd4)]-0x1][_0x573a9c(0xdc)]||_0x3ff6e1[_0x573a9c(0xd0)]||this[_0x573a9c(0xd8)]()||_0x3745d8[_0x573a9c(0xe7)]());},{'priority':_0x5d57bb(0xf2)});for(const _0x36eabe of[_0x5d57bb(0xf7),_0x5d57bb(0xbc),_0x5d57bb(0xf0),_0x5d57bb(0xe5)]){const _0x25bd71=_0x58ab00[_0x5d57bb(0xee)][_0x5d57bb(0xaf)](_0x36eabe);_0x3ff6e1[_0x5d57bb(0xb0)](_0x36eabe,()=>{const _0x1211ab=_0x5d57bb,_0x53d5f3=_0x58ab00[_0x1211ab(0xd3)][_0x1211ab(0xb5)][_0x1211ab(0xa1)][_0x1211ab(0xe0)]()[_0x1211ab(0xa3)]()[_0x1211ab(0xc8)](_0x221483=>_0x221483['is'](_0x1211ab(0xeb),_0x1211ab(0xdd))),_0x333a8c=_0x25bd71[_0x1211ab(0xfd)];_0x58ab00[_0x1211ab(0xd3)][_0x1211ab(0xec)](()=>{const _0x354488=_0x1211ab;_0x3ff6e1[_0x354488(0x9d)]([_0x53d5f3,_0x333a8c],{'commandName':_0x354488(0xc9),'commandParams':[]},[],_0x354488(0xc9));});});}for(const _0x3bbeec of[_0x5d57bb(0xa4),_0x5d57bb(0xe6)]){const _0x403312=_0x58ab00[_0x5d57bb(0xee)][_0x5d57bb(0xaf)](_0x3bbeec);_0x3ff6e1[_0x5d57bb(0xb0)](_0x3bbeec,()=>{const _0x4de52b=_0x5d57bb,_0x17d4f1=_0x503f13[_0x4de52b(0xa7)](_0x58ab00[_0x4de52b(0xd3)][_0x4de52b(0xb5)][_0x4de52b(0xa1)])[0x0],_0xf85940=_0x17d4f1[_0x4de52b(0xb3)](_0x4de52b(0xfb)),{column:_0x2e5ebe,row:_0x396a2a}=_0x503f13[_0x4de52b(0xcf)](_0x17d4f1);let _0x2bf24e=[];if(_0x4de52b(0xd6)==_0x403312[_0x4de52b(0xc7)]){const _0xb4c476=_0x503f13[_0x4de52b(0xe4)](_0xf85940,{'startRow':_0x396a2a,'endRow':_0x396a2a,'includeAllSlots':!0x0});_0x2bf24e=Array[_0x4de52b(0xc6)](_0xb4c476)[_0x4de52b(0xb4)](_0x2872f3=>_0x2872f3[_0x4de52b(0xa0)]);}else{const _0xb5cbab=_0x503f13[_0x4de52b(0xe4)](_0xf85940,{'column':_0x2e5ebe,'includeAllSlots':!0x0});_0x2bf24e=Array[_0x4de52b(0xc6)](_0xb5cbab)[_0x4de52b(0xb4)](_0x49233e=>_0x49233e[_0x4de52b(0xa0)]);}_0x58ab00[_0x4de52b(0xd3)][_0x4de52b(0xec)](_0x473b1b=>{const _0x2078e2=_0x4de52b;_0x3ff6e1[_0x2078e2(0xe1)](_0x473b1b[_0x2078e2(0xca)](_0x17d4f1),{'commandName':_0x3bbeec,'commandParams':[]},_0x2bf24e,_0x3bbeec);});});}_0x3ff6e1[_0x5d57bb(0xd5)][_0x5d57bb(0xc3)](_0x53ee9f=>{const _0x525605=_0x5d57bb;if(_0x525605(0xfc)!=_0x53ee9f[_0x525605(0xda)]&&_0x525605(0xd2)!=_0x53ee9f[_0x525605(0xda)])return;const {data:_0x5bb319}=_0x53ee9f;return _0x5bb319&&_0x525605(0xc9)==_0x5bb319[_0x525605(0xef)]?{'type':_0x525605(0xad),'content':_0x5e42b1(_0x1a634d,_0x525605(0xbd))}:void 0x0;}),_0x3ff6e1[_0x5d57bb(0xd5)][_0x5d57bb(0xc3)](_0x1cd008=>{const _0x3ffb38=_0x5d57bb;if(_0x3ffb38(0xfc)!=_0x1cd008[_0x3ffb38(0xda)]&&_0x3ffb38(0xd2)!=_0x1cd008[_0x3ffb38(0xda)])return;const {data:_0x440021}=_0x1cd008;return _0x440021?_0x3ffb38(0xa4)==_0x440021[_0x3ffb38(0xef)]?{'type':_0x3ffb38(0xad),'content':_0x5e42b1(_0x1a634d,_0x3ffb38(0xbb))}:_0x3ffb38(0xe6)==_0x440021[_0x3ffb38(0xef)]?{'type':_0x3ffb38(0xad),'content':_0x5e42b1(_0x1a634d,_0x3ffb38(0xd9))}:void 0x0:void 0x0;});const _0x1a7af4=_0x2cd914[_0x5d57bb(0xa6)]();for(const _0x3b99ac of[_0x5d57bb(0xf7),_0x5d57bb(0xbc),_0x5d57bb(0xf0),_0x5d57bb(0xe5)])_0x3ff6e1[_0x5d57bb(0xa9)][_0x5d57bb(0xc5)](_0x5d57bb(0xfc),_0x3b99ac,_0x5d57bb(0x9c),_0x1a7af4);for(const _0x4cf59d of[_0x5d57bb(0xa4),_0x5d57bb(0xe6)])_0x3ff6e1[_0x5d57bb(0xa9)][_0x5d57bb(0xc5)](_0x5d57bb(0xfc),_0x4cf59d,_0x5d57bb(0x9c),_0x1a7af4);_0x3ff6e1[_0x5d57bb(0xa9)][_0x5d57bb(0xc5)](_0x5d57bb(0xfc),_0x5d57bb(0xc9),_0x5d57bb(0x9c),_0x49ad76=>{const _0x2b88de=_0x5d57bb;_0x58ab00[_0x2b88de(0xd3)][_0x2b88de(0xec)](_0xa5111e=>{const _0x235ca1=_0x2b88de,_0x177535=Array[_0x235ca1(0xc6)](_0x125d5d[_0x235ca1(0xae)]())[_0x235ca1(0xb4)](_0x5001ca=>_0x1e47fb[_0x235ca1(0xba)](_0x5001ca));_0xa5111e[_0x235ca1(0xc0)](_0x49ad76),_0x58ab00[_0x235ca1(0xee)][_0x235ca1(0xaf)](_0x235ca1(0xc9))[_0x235ca1(0xd7)](),_0x58ab00[_0x235ca1(0xb2)](_0x235ca1(0xc9),{'forceDefaultExecution':!0x0});const _0x1c73b9=_0x177535[_0x235ca1(0xe8)](_0x5b6b43=>_0x235ca1(0xa8)!=_0x5b6b43[_0x235ca1(0xb6)][_0x235ca1(0xab)]);_0x1c73b9[_0x235ca1(0xd4)]>0x0&&_0xa5111e[_0x235ca1(0xc0)](_0x1c73b9);for(const _0xc34345 of _0x177535)_0xc34345[_0x235ca1(0xb9)]();});});for(const _0x3436f7 of[_0x5d57bb(0xf7),_0x5d57bb(0xf0),_0x5d57bb(0xe5),_0x5d57bb(0xbc)]){const _0x519b6b=_0x58ab00[_0x5d57bb(0xee)][_0x5d57bb(0xaf)](_0x3436f7);_0x519b6b['on'](_0x5d57bb(0xdb),(_0xf9ea95,_0x524534,_0x28f5e9)=>{const _0x1f25b8=_0x5d57bb;if(_0x28f5e9){const _0x5e8022=_0x58ab00[_0x1f25b8(0xd3)][_0x1f25b8(0xb5)][_0x1f25b8(0xa1)][_0x1f25b8(0xe0)]()[_0x1f25b8(0xa3)]()[_0x1f25b8(0xc8)](_0x4ee9db=>_0x4ee9db['is'](_0x1f25b8(0xeb),_0x1f25b8(0xdd)));this[_0x1f25b8(0xf6)](_0x519b6b[_0x1f25b8(0xfd)],_0x5e8022)||(_0xf9ea95[_0x1f25b8(0xd1)]=!0x1,_0xf9ea95[_0x1f25b8(0xe7)]());}},{'priority':_0x5d57bb(0xdf)});}}[_0x1a9260(0xd8)](){const _0x45f817=_0x1a9260,_0x6c1d47=this[_0x45f817(0xe2)][_0x45f817(0xee)][_0x45f817(0xaf)](_0x45f817(0xc9)),_0x6943cb=this[_0x45f817(0xe2)][_0x45f817(0xcc)][_0x45f817(0xaf)](_0x45f817(0xf3));if(!_0x6c1d47[_0x45f817(0xde)])return!0x1;const _0x40fd55=_0x6943cb[_0x45f817(0xa7)](this[_0x45f817(0xe2)][_0x45f817(0xd3)][_0x45f817(0xb5)][_0x45f817(0xa1)]);for(const _0x29a550 of _0x40fd55)for(const _0x1c8a42 of _0x40fd55)if(_0x29a550!=_0x1c8a42&&!this[_0x45f817(0xf6)](_0x29a550,_0x1c8a42))return!0x1;return!0x0;}[_0x1a9260(0xf6)](_0x32adb3,_0x50b3bf){const _0x58927c=_0x1a9260,_0x353f2d=this[_0x58927c(0xe2)][_0x58927c(0xcc)][_0x58927c(0xaf)](_0x58927c(0xa5)),_0xcd9d37=this[_0x58927c(0xe2)][_0x58927c(0xd3)][_0x58927c(0xca)](_0x32adb3),_0x498502=this[_0x58927c(0xe2)][_0x58927c(0xd3)][_0x58927c(0xca)](_0x50b3bf),_0x4b4e8a=new Set(),_0x29a060=new Set();for(const _0x4690b3 of _0x353f2d[_0x58927c(0x9b)]())if((_0x58927c(0xf9)==_0x4690b3[_0x58927c(0xda)]||_0x58927c(0xce)==_0x4690b3[_0x58927c(0xda)]||_0x58927c(0xc9)==_0x4690b3[_0x58927c(0xf1)])&&_0x4690b3[_0x58927c(0xaa)]){for(const _0x1b1067 of _0x4690b3[_0x58927c(0xae)]())_0x1b1067[_0x58927c(0xcd)](_0xcd9d37,!0x0)&&_0x4b4e8a[_0x58927c(0xf8)](_0x4690b3[_0x58927c(0xda)]+':'+_0x4690b3[_0x58927c(0xfa)]['id']),_0x1b1067[_0x58927c(0xcd)](_0x498502,!0x0)&&_0x29a060[_0x58927c(0xf8)](_0x4690b3[_0x58927c(0xda)]+':'+_0x4690b3[_0x58927c(0xfa)]['id']);}if(_0x4b4e8a[_0x58927c(0xa2)]!=_0x29a060[_0x58927c(0xa2)])return!0x1;for(const _0x1e492e of _0x4b4e8a)if(!_0x29a060[_0x58927c(0xc4)](_0x1e492e))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x39e37f=_0xbc1f;function _0x1203(){const _0x53d068=['4EyhMtr','return','8173864rlDwVE','descriptionFactory','from','subType','change','stop','_isForcedDefaultExecutionBlock','_areMergableCells','add','has','format','mergeTableCells','direction','createTableWalker','commands','registerDescriptionCallback','author','getSelectionAffectedTableCells','fromRange','findAncestor','formatBlock','createRangeOn','forceDefaultExecution','mergeTableCellDown','markMultiRangeBlockFormat','set:isEnabled','cell','mergeTableCellRight','filter','push','root','getAncestors','afterInit','element','table','mergeTableCellLeft','3767435vuOyZA','tableCell','isEnabled','horizontally','find','markBlockFormat','11274spSSMx','execute','splitTableCellHorizontally','_areSelectedCellsMergable','974968KRumvR','size','commandName','insertion','locale','type','registerCustomCallback','splitTableCellVertically','*Split\x20cell:*\x20vertically','getFirstPosition','_tablePostFixingSubtypes','model','*Merge\x20cells*','362512FrQsEA','1509452OxaFDE','accept','TrackChangesEditing','getCellLocation','document','selection','editor','getSuggestions','TableEditing','_acceptFormatSuggestionCallbackFactory','getRanges','*Split\x20cell:*\x20horizontally','refresh','map','requires','rootName','_suggestionFactory','get','enableCommand','2078058svqKsg','value','deletion','trackChanges','mergeTableCellUp','length','isInContent','detach','formatInline','setSelection','low','TableUtils','highest','containsRange','$graveyard','plugins'];_0x1203=function(){return _0x53d068;};return _0x1203();}(function(_0x3e2613,_0x427c97){const _0x3b5bae=_0xbc1f,_0x312575=_0x3e2613();while(!![]){try{const _0x585221=parseInt(_0x3b5bae(0x18e))/0x1+-parseInt(_0x3b5bae(0x19b))/0x2+parseInt(_0x3b5bae(0x18a))/0x3+-parseInt(_0x3b5bae(0x15e))/0x4*(parseInt(_0x3b5bae(0x184))/0x5)+-parseInt(_0x3b5bae(0x14e))/0x6+-parseInt(_0x3b5bae(0x19c))/0x7+parseInt(_0x3b5bae(0x160))/0x8;if(_0x585221===_0x427c97)break;else _0x312575['push'](_0x312575['shift']());}catch(_0x7b2545){_0x312575['push'](_0x312575['shift']());}}}(_0x1203,0x7afb9));import{Plugin as _0x4016f1}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x2a944e}from'./table.js';function _0xbc1f(_0x353516,_0x4c33e6){const _0x1203a8=_0x1203();return _0xbc1f=function(_0xbc1f2a,_0x5a617f){_0xbc1f2a=_0xbc1f2a-0x142;let _0xda3adc=_0x1203a8[_0xbc1f2a];return _0xda3adc;},_0xbc1f(_0x353516,_0x4c33e6);}import{ModelLiveRange as _0x15c20a}from'ckeditor5/src/engine.js';import{getTranslation as _0x12186d}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x4016f1{static get[_0x39e37f(0x149)](){return[_0x2a944e];}[_0x39e37f(0x180)](){const _0x592a2b=_0x39e37f,_0x11b0d3=this[_0x592a2b(0x1a2)],_0x4039b7=_0x11b0d3[_0x592a2b(0x199)][_0x592a2b(0x1a0)][_0x592a2b(0x1a1)],_0x46e0a9=_0x11b0d3[_0x592a2b(0x192)];if(!_0x11b0d3[_0x592a2b(0x15d)][_0x592a2b(0x169)](_0x592a2b(0x143)))return;const _0x302bb7=_0x11b0d3[_0x592a2b(0x15d)][_0x592a2b(0x14c)](_0x592a2b(0x19e)),_0x233ecd=_0x11b0d3[_0x592a2b(0x15d)][_0x592a2b(0x14c)](_0x592a2b(0x159)),_0x2d5fcd=_0x11b0d3[_0x592a2b(0x15d)][_0x592a2b(0x14c)](_0x2a944e);_0x2d5fcd[_0x592a2b(0x198)][_0x592a2b(0x17d)](_0x592a2b(0x16b)),_0x302bb7[_0x592a2b(0x14d)](_0x592a2b(0x16b),()=>{const _0x4d3914=_0x592a2b,_0x351e5a=_0x233ecd[_0x4d3914(0x171)](_0x11b0d3[_0x4d3914(0x199)][_0x4d3914(0x1a0)][_0x4d3914(0x1a1)]);_0x11b0d3[_0x4d3914(0x199)][_0x4d3914(0x164)](()=>{const _0x537889=_0x4d3914;_0x302bb7[_0x537889(0x178)](_0x351e5a,{'commandName':_0x537889(0x16b),'commandParams':[]},[],_0x537889(0x16b));});}),_0x11b0d3[_0x592a2b(0x16e)][_0x592a2b(0x14c)](_0x592a2b(0x16b))['on'](_0x592a2b(0x18b),(_0x1ffbfc,_0x424112)=>{const _0x2348e5=_0x592a2b;_0x11b0d3[_0x2348e5(0x16e)][_0x2348e5(0x14c)](_0x2348e5(0x151))[_0x2348e5(0x14f)]&&(_0x424112[_0x2348e5(0x153)]>0x0&&_0x424112[_0x424112[_0x2348e5(0x153)]-0x1]&&_0x424112[_0x424112[_0x2348e5(0x153)]-0x1][_0x2348e5(0x176)]||_0x302bb7[_0x2348e5(0x166)]||this[_0x2348e5(0x18d)]()||_0x1ffbfc[_0x2348e5(0x165)]());},{'priority':_0x592a2b(0x15a)});for(const _0x21fb7a of[_0x592a2b(0x152),_0x592a2b(0x17b),_0x592a2b(0x177),_0x592a2b(0x183)]){const _0x323488=_0x11b0d3[_0x592a2b(0x16e)][_0x592a2b(0x14c)](_0x21fb7a);_0x302bb7[_0x592a2b(0x14d)](_0x21fb7a,()=>{const _0x2aa25e=_0x592a2b,_0x49edd8=_0x11b0d3[_0x2aa25e(0x199)][_0x2aa25e(0x1a0)][_0x2aa25e(0x1a1)][_0x2aa25e(0x197)]()[_0x2aa25e(0x17f)]()[_0x2aa25e(0x188)](_0x20784d=>_0x20784d['is'](_0x2aa25e(0x181),_0x2aa25e(0x185))),_0x3383a7=_0x323488[_0x2aa25e(0x14f)];_0x11b0d3[_0x2aa25e(0x199)][_0x2aa25e(0x164)](()=>{const _0x3a1919=_0x2aa25e;_0x302bb7[_0x3a1919(0x178)]([_0x49edd8,_0x3383a7],{'commandName':_0x3a1919(0x16b),'commandParams':[]},[],_0x3a1919(0x16b));});});}for(const _0x54e9db of[_0x592a2b(0x195),_0x592a2b(0x18c)]){const _0x4ecc6a=_0x11b0d3[_0x592a2b(0x16e)][_0x592a2b(0x14c)](_0x54e9db);_0x302bb7[_0x592a2b(0x14d)](_0x54e9db,()=>{const _0x9b1cc1=_0x592a2b,_0x65ac1a=_0x233ecd[_0x9b1cc1(0x171)](_0x11b0d3[_0x9b1cc1(0x199)][_0x9b1cc1(0x1a0)][_0x9b1cc1(0x1a1)])[0x0],_0x2074d7=_0x65ac1a[_0x9b1cc1(0x173)](_0x9b1cc1(0x182)),{column:_0x59b908,row:_0x1cc2b2}=_0x233ecd[_0x9b1cc1(0x19f)](_0x65ac1a);let _0x2971cc=[];if(_0x9b1cc1(0x187)==_0x4ecc6a[_0x9b1cc1(0x16c)]){const _0xeaae06=_0x233ecd[_0x9b1cc1(0x16d)](_0x2074d7,{'startRow':_0x1cc2b2,'endRow':_0x1cc2b2,'includeAllSlots':!0x0});_0x2971cc=Array[_0x9b1cc1(0x162)](_0xeaae06)[_0x9b1cc1(0x148)](_0x407eac=>_0x407eac[_0x9b1cc1(0x17a)]);}else{const _0x525ca3=_0x233ecd[_0x9b1cc1(0x16d)](_0x2074d7,{'column':_0x59b908,'includeAllSlots':!0x0});_0x2971cc=Array[_0x9b1cc1(0x162)](_0x525ca3)[_0x9b1cc1(0x148)](_0x4d9d87=>_0x4d9d87[_0x9b1cc1(0x17a)]);}_0x11b0d3[_0x9b1cc1(0x199)][_0x9b1cc1(0x164)](_0x10246f=>{const _0x205091=_0x9b1cc1;_0x302bb7[_0x205091(0x189)](_0x10246f[_0x205091(0x175)](_0x65ac1a),{'commandName':_0x54e9db,'commandParams':[]},_0x2971cc,_0x54e9db);});});}_0x302bb7[_0x592a2b(0x161)][_0x592a2b(0x16f)](_0x2626fd=>{const _0x3639a3=_0x592a2b;if(_0x3639a3(0x174)!=_0x2626fd[_0x3639a3(0x193)]&&_0x3639a3(0x156)!=_0x2626fd[_0x3639a3(0x193)])return;const {data:_0x26a309}=_0x2626fd;return _0x26a309&&_0x3639a3(0x16b)==_0x26a309[_0x3639a3(0x190)]?{'type':_0x3639a3(0x16a),'content':_0x12186d(_0x46e0a9,_0x3639a3(0x19a))}:void 0x0;}),_0x302bb7[_0x592a2b(0x161)][_0x592a2b(0x16f)](_0x49e485=>{const _0x4cfc16=_0x592a2b;if(_0x4cfc16(0x174)!=_0x49e485[_0x4cfc16(0x193)]&&_0x4cfc16(0x156)!=_0x49e485[_0x4cfc16(0x193)])return;const {data:_0x2f9ee2}=_0x49e485;return _0x2f9ee2?_0x4cfc16(0x195)==_0x2f9ee2[_0x4cfc16(0x190)]?{'type':_0x4cfc16(0x16a),'content':_0x12186d(_0x46e0a9,_0x4cfc16(0x196))}:_0x4cfc16(0x18c)==_0x2f9ee2[_0x4cfc16(0x190)]?{'type':_0x4cfc16(0x16a),'content':_0x12186d(_0x46e0a9,_0x4cfc16(0x146))}:void 0x0:void 0x0;});const _0x5540e5=_0x2d5fcd[_0x592a2b(0x144)]();for(const _0x2353df of[_0x592a2b(0x152),_0x592a2b(0x17b),_0x592a2b(0x177),_0x592a2b(0x183)])_0x302bb7[_0x592a2b(0x14b)][_0x592a2b(0x194)](_0x592a2b(0x174),_0x2353df,_0x592a2b(0x19d),_0x5540e5);for(const _0x3b3a77 of[_0x592a2b(0x195),_0x592a2b(0x18c)])_0x302bb7[_0x592a2b(0x14b)][_0x592a2b(0x194)](_0x592a2b(0x174),_0x3b3a77,_0x592a2b(0x19d),_0x5540e5);_0x302bb7[_0x592a2b(0x14b)][_0x592a2b(0x194)](_0x592a2b(0x174),_0x592a2b(0x16b),_0x592a2b(0x19d),_0x2acf0e=>{const _0x475782=_0x592a2b;_0x11b0d3[_0x475782(0x199)][_0x475782(0x164)](_0x351671=>{const _0x1c3c3d=_0x475782,_0x358b30=Array[_0x1c3c3d(0x162)](_0x4039b7[_0x1c3c3d(0x145)]())[_0x1c3c3d(0x148)](_0x12c6a2=>_0x15c20a[_0x1c3c3d(0x172)](_0x12c6a2));_0x351671[_0x1c3c3d(0x157)](_0x2acf0e),_0x11b0d3[_0x1c3c3d(0x16e)][_0x1c3c3d(0x14c)](_0x1c3c3d(0x16b))[_0x1c3c3d(0x147)](),_0x11b0d3[_0x1c3c3d(0x18b)](_0x1c3c3d(0x16b),{'forceDefaultExecution':!0x0});const _0x44b990=_0x358b30[_0x1c3c3d(0x17c)](_0xd714f8=>_0x1c3c3d(0x15c)!=_0xd714f8[_0x1c3c3d(0x17e)][_0x1c3c3d(0x14a)]);_0x44b990[_0x1c3c3d(0x153)]>0x0&&_0x351671[_0x1c3c3d(0x157)](_0x44b990);for(const _0x2b9d2f of _0x358b30)_0x2b9d2f[_0x1c3c3d(0x155)]();});});for(const _0x5c0406 of[_0x592a2b(0x152),_0x592a2b(0x177),_0x592a2b(0x183),_0x592a2b(0x17b)]){const _0x127fe8=_0x11b0d3[_0x592a2b(0x16e)][_0x592a2b(0x14c)](_0x5c0406);_0x127fe8['on'](_0x592a2b(0x179),(_0x3406f5,_0x25e478,_0x1b4d7d)=>{const _0x2a6909=_0x592a2b;if(_0x1b4d7d){const _0x24d7ec=_0x11b0d3[_0x2a6909(0x199)][_0x2a6909(0x1a0)][_0x2a6909(0x1a1)][_0x2a6909(0x197)]()[_0x2a6909(0x17f)]()[_0x2a6909(0x188)](_0x32f219=>_0x32f219['is'](_0x2a6909(0x181),_0x2a6909(0x185)));this[_0x2a6909(0x167)](_0x127fe8[_0x2a6909(0x14f)],_0x24d7ec)||(_0x3406f5[_0x2a6909(0x15f)]=!0x1,_0x3406f5[_0x2a6909(0x165)]());}},{'priority':_0x592a2b(0x158)});}}[_0x39e37f(0x18d)](){const _0x36840f=_0x39e37f,_0x4d4d44=this[_0x36840f(0x1a2)][_0x36840f(0x16e)][_0x36840f(0x14c)](_0x36840f(0x16b)),_0xcb134c=this[_0x36840f(0x1a2)][_0x36840f(0x15d)][_0x36840f(0x14c)](_0x36840f(0x159));if(!_0x4d4d44[_0x36840f(0x186)])return!0x1;const _0x170873=_0xcb134c[_0x36840f(0x171)](this[_0x36840f(0x1a2)][_0x36840f(0x199)][_0x36840f(0x1a0)][_0x36840f(0x1a1)]);for(const _0xd038a4 of _0x170873)for(const _0x54b167 of _0x170873)if(_0xd038a4!=_0x54b167&&!this[_0x36840f(0x167)](_0xd038a4,_0x54b167))return!0x1;return!0x0;}[_0x39e37f(0x167)](_0x5587d0,_0x1b3544){const _0x7f48b0=_0x39e37f,_0x1ce8f6=this[_0x7f48b0(0x1a2)][_0x7f48b0(0x15d)][_0x7f48b0(0x14c)](_0x7f48b0(0x19e)),_0x588818=this[_0x7f48b0(0x1a2)][_0x7f48b0(0x199)][_0x7f48b0(0x175)](_0x5587d0),_0x505252=this[_0x7f48b0(0x1a2)][_0x7f48b0(0x199)][_0x7f48b0(0x175)](_0x1b3544),_0x1e0512=new Set(),_0x1dcb4f=new Set();for(const _0x646998 of _0x1ce8f6[_0x7f48b0(0x142)]())if((_0x7f48b0(0x191)==_0x646998[_0x7f48b0(0x193)]||_0x7f48b0(0x150)==_0x646998[_0x7f48b0(0x193)]||_0x7f48b0(0x16b)==_0x646998[_0x7f48b0(0x163)])&&_0x646998[_0x7f48b0(0x154)]){for(const _0xad1c68 of _0x646998[_0x7f48b0(0x145)]())_0xad1c68[_0x7f48b0(0x15b)](_0x588818,!0x0)&&_0x1e0512[_0x7f48b0(0x168)](_0x646998[_0x7f48b0(0x193)]+':'+_0x646998[_0x7f48b0(0x170)]['id']),_0xad1c68[_0x7f48b0(0x15b)](_0x505252,!0x0)&&_0x1dcb4f[_0x7f48b0(0x168)](_0x646998[_0x7f48b0(0x193)]+':'+_0x646998[_0x7f48b0(0x170)]['id']);}if(_0x1e0512[_0x7f48b0(0x18f)]!=_0x1dcb4f[_0x7f48b0(0x18f)])return!0x1;for(const _0x2dd317 of _0x1e0512)if(!_0x1dcb4f[_0x7f48b0(0x169)](_0x2dd317))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x27bf(){const _0x3476c3=['2243912RANqxY','6MDuhru','descriptionFactory','locale','63vPfZFi','325192dwSUwJ','commands','5690740nPuqxy','1412608WHkgdd','plugins','enableCommand','21DyjXiE','ELEMENT_TABLE_OF_CONTENTS','afterInit','3002700tJXQEH','editor','registerElementLabel','2460186hKAQEd','TrackChangesEditing','206726rhLRxz','insertTableOfContents','get','tableOfContents'];_0x27bf=function(){return _0x3476c3;};return _0x27bf();}const _0x213fbc=_0x6df0;function _0x6df0(_0x2b7ac2,_0x569496){const _0x27bfad=_0x27bf();return _0x6df0=function(_0x6df03e,_0x272bab){_0x6df03e=_0x6df03e-0x115;let _0x51e29b=_0x27bfad[_0x6df03e];return _0x51e29b;},_0x6df0(_0x2b7ac2,_0x569496);}(function(_0xeb4435,_0x3c8458){const _0x2979bf=_0x6df0,_0x34cfe1=_0xeb4435();while(!![]){try{const _0xee4dcc=parseInt(_0x2979bf(0x124))/0x1+-parseInt(_0x2979bf(0x118))/0x2*(parseInt(_0x2979bf(0x11d))/0x3)+-parseInt(_0x2979bf(0x11c))/0x4+-parseInt(_0x2979bf(0x123))/0x5+-parseInt(_0x2979bf(0x116))/0x6*(-parseInt(_0x2979bf(0x127))/0x7)+-parseInt(_0x2979bf(0x121))/0x8*(parseInt(_0x2979bf(0x120))/0x9)+parseInt(_0x2979bf(0x12a))/0xa;if(_0xee4dcc===_0x3c8458)break;else _0x34cfe1['push'](_0x34cfe1['shift']());}catch(_0x59b7e2){_0x34cfe1['push'](_0x34cfe1['shift']());}}}(_0x27bf,0xb7bc0));import{Plugin as _0x25c3e0}from'ckeditor5/src/core.js';import{getTranslation as _0x50e898}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x25c3e0{[_0x213fbc(0x129)](){const _0x2e2b13=_0x213fbc,_0x4b437c=this[_0x2e2b13(0x12b)];if(!_0x4b437c[_0x2e2b13(0x122)][_0x2e2b13(0x11a)](_0x2e2b13(0x119)))return;_0x4b437c[_0x2e2b13(0x125)][_0x2e2b13(0x11a)](_0x2e2b13(0x117))[_0x2e2b13(0x126)](_0x2e2b13(0x119));const _0x3133ad=_0x4b437c[_0x2e2b13(0x125)][_0x2e2b13(0x11a)](_0x2e2b13(0x117)),_0x3b6a28=_0x4b437c[_0x2e2b13(0x11f)];_0x3133ad[_0x2e2b13(0x11e)][_0x2e2b13(0x115)](_0x2e2b13(0x11b),_0x42408f=>_0x50e898(_0x3b6a28,_0x2e2b13(0x128),_0x42408f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3f02b7=_0x1b30;(function(_0x3e7f0d,_0x11f11b){const _0xeea40a=_0x1b30,_0xb91c03=_0x3e7f0d();while(!![]){try{const _0x33369c=-parseInt(_0xeea40a(0x171))/0x1+parseInt(_0xeea40a(0x180))/0x2*(parseInt(_0xeea40a(0x194))/0x3)+parseInt(_0xeea40a(0x15f))/0x4+-parseInt(_0xeea40a(0x159))/0x5*(-parseInt(_0xeea40a(0x158))/0x6)+parseInt(_0xeea40a(0x174))/0x7*(parseInt(_0xeea40a(0x18d))/0x8)+parseInt(_0xeea40a(0x16a))/0x9+-parseInt(_0xeea40a(0x186))/0xa*(parseInt(_0xeea40a(0x18e))/0xb);if(_0x33369c===_0x11f11b)break;else _0xb91c03['push'](_0xb91c03['shift']());}catch(_0x150992){_0xb91c03['push'](_0xb91c03['shift']());}}}(_0x2d05,0xbdd86));import{Plugin as _0x1705e7}from'ckeditor5/src/core.js';import{getTranslation as _0x29140b}from'../utils/common-translations.js';function _0x2d05(){const _0x3c1e59=['25213330IZVWFO','replace','batch','has','tableHeight','handleDiscardAction','getSuggestions','281416JbALvj','11bFMVam','enqueueChange','document','tableCellHeight','subType','data','273ZmmgYZ','tableCellBorderWidth','selection','_registerTablePropertiesAttributes','model','*Format:*\x20change\x20table\x20properties','_handlePropertyChange','setAttribute','plugins','TrackChangesTableProperties','tableBackgroundColor','tableCellWidth','getAttribute','get','enableCommand','formatBlock','_getSuggestion','format','commandParams','_$1','registerBlockAttribute','TableUtils','tableBorderStyle','isPremiumPlugin','tableCellHorizontalAlignment','tableAlignment','tableBorderWidth','registerAttributeLabel','14946jrCXaZ','960ykmMSf','tableCellVerticalAlignment','_suggestionFactory','discard','afterInit','descriptionFactory','5719048wQSWqw','nodeAfter','TablePropertiesEditing','tableCellPadding','change','removeAttribute','toUpperCase','registerCustomCallback','tableCellBorderColor','tableBorderColor','tableCellProperties','8159859RzrAja','start','TableCellPropertiesEditing','locale','getSuggestionCallback','tableWidth','tableProperties','424341fGjYbL','getFirstPosition','table','7AJCfce','pluginName','TrackChangesEditing','isOfficialPlugin','tableCellBorderStyle','registerDescriptionCallback','join','accept','tableCellBackgroundColor','findAncestor','*Format:*\x20change\x20table\x20cell\x20properties','getContainedElement','19196ZuroMa','FORMAT_','editor','getSelectionAffectedTableCells','handleSuggestionDescription','markBlockFormat'];_0x2d05=function(){return _0x3c1e59;};return _0x2d05();}function _0x1b30(_0x161071,_0x29d0b8){const _0x2d05ba=_0x2d05();return _0x1b30=function(_0x1b30c2,_0x312235){_0x1b30c2=_0x1b30c2-0x142;let _0x11257e=_0x2d05ba[_0x1b30c2];return _0x11257e;},_0x1b30(_0x161071,_0x29d0b8);}export class TrackChangesTableProperties extends _0x1705e7{[_0x3f02b7(0x170)];[_0x3f02b7(0x169)];constructor(_0x4a41e8){const _0xf53750=_0x3f02b7;super(_0x4a41e8),this[_0xf53750(0x170)]=[_0xf53750(0x168),_0xf53750(0x152),_0xf53750(0x156),_0xf53750(0x155),_0xf53750(0x16f),_0xf53750(0x18a),_0xf53750(0x146)],this[_0xf53750(0x169)]=[_0xf53750(0x167),_0xf53750(0x178),_0xf53750(0x195),_0xf53750(0x162),_0xf53750(0x147),_0xf53750(0x191),_0xf53750(0x17c),_0xf53750(0x154),_0xf53750(0x15a)];}static get[_0x3f02b7(0x175)](){const _0x1a60e6=_0x3f02b7;return _0x1a60e6(0x145);}static get[_0x3f02b7(0x177)](){return!0x0;}static get[_0x3f02b7(0x153)](){return!0x0;}[_0x3f02b7(0x15d)](){const _0x346019=_0x3f02b7,_0x18cb47=this[_0x346019(0x182)][_0x346019(0x144)][_0x346019(0x149)](_0x346019(0x176));if(this[_0x346019(0x182)][_0x346019(0x144)][_0x346019(0x189)](_0x346019(0x161))){for(const _0x330bb0 of this[_0x346019(0x170)])_0x18cb47[_0x346019(0x14a)](_0x330bb0,(_0x116445,_0x140965)=>{const _0x6bd4a0=_0x346019,_0x168087=this[_0x6bd4a0(0x182)][_0x6bd4a0(0x198)][_0x6bd4a0(0x190)][_0x6bd4a0(0x196)][_0x6bd4a0(0x172)]()[_0x6bd4a0(0x17d)](_0x6bd4a0(0x173));this[_0x6bd4a0(0x142)](_0x330bb0,[_0x168087],this[_0x6bd4a0(0x170)],_0x6bd4a0(0x170),_0x116445,_0x140965);});_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x170),_0x346019(0x17b),_0x18cb47[_0x346019(0x15b)][_0x346019(0x16e)](_0x346019(0x14b),null,_0x346019(0x15c))),_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x170),_0x346019(0x15c),(_0x18a793,_0x38cc52)=>this[_0x346019(0x18b)](this[_0x346019(0x170)],_0x18a793,_0x38cc52)),_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x170),_0x346019(0x17a),()=>!0x1);}if(this[_0x346019(0x182)][_0x346019(0x144)][_0x346019(0x189)](_0x346019(0x16c))){for(const _0x2648c8 of this[_0x346019(0x169)])_0x18cb47[_0x346019(0x14a)](_0x2648c8,(_0x35ef28,_0x39c348)=>{const _0x5d8b57=_0x346019,_0x5929d1=this[_0x5d8b57(0x182)][_0x5d8b57(0x144)][_0x5d8b57(0x149)](_0x5d8b57(0x151))[_0x5d8b57(0x183)](this[_0x5d8b57(0x182)][_0x5d8b57(0x198)][_0x5d8b57(0x190)][_0x5d8b57(0x196)]);this[_0x5d8b57(0x142)](_0x2648c8,_0x5929d1,this[_0x5d8b57(0x169)],_0x5d8b57(0x169),_0x35ef28,_0x39c348);});_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x169),_0x346019(0x17b),_0x18cb47[_0x346019(0x15b)][_0x346019(0x16e)](_0x346019(0x14b),null,_0x346019(0x15c))),_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x169),_0x346019(0x15c),(_0x69e89b,_0x2372e4)=>this[_0x346019(0x18b)](this[_0x346019(0x169)],_0x69e89b,_0x2372e4)),_0x18cb47[_0x346019(0x15b)][_0x346019(0x166)](_0x346019(0x14b),_0x346019(0x169),_0x346019(0x17a),()=>!0x1);}_0x18cb47[_0x346019(0x15e)][_0x346019(0x179)](_0x2e5e9f=>this[_0x346019(0x184)](_0x2e5e9f)),this[_0x346019(0x197)]();}[_0x3f02b7(0x142)](_0x41d264,_0x39dc70,_0x4e02a1,_0xce0e52,_0x1fd1ca,_0x144d23){const _0x1782ae=_0x3f02b7,_0x391f57=this[_0x1782ae(0x182)][_0x1782ae(0x144)][_0x1782ae(0x149)](_0x1782ae(0x176));this[_0x1782ae(0x182)][_0x1782ae(0x198)][_0x1782ae(0x18f)](_0x144d23[_0x1782ae(0x188)],()=>{const _0x3b0f23=_0x1782ae;for(const _0x4e9c96 of _0x39dc70){if(this[_0x3b0f23(0x14c)](_0x4e9c96,_0xce0e52))_0x1fd1ca(_0x144d23);else{const _0x560615={};for(const _0x14acac of _0x4e02a1){const _0x541fdb=_0x4e9c96[_0x3b0f23(0x148)](_0x14acac);void 0x0!==_0x541fdb&&(_0x560615[_0x14acac]=_0x541fdb);}_0x1fd1ca(_0x144d23),_0x391f57[_0x3b0f23(0x185)](_0x4e9c96,{'commandParams':[_0x560615]},[],_0xce0e52);}}});}[_0x3f02b7(0x18b)](_0x6d69d4,_0x9792d6,_0x4952fa){const _0x4dde82=_0x3f02b7,_0x52f46a=_0x9792d6[0x0][_0x4dde82(0x16b)][_0x4dde82(0x160)],_0x207fb9=_0x4952fa[_0x4dde82(0x14e)][0x0];this[_0x4dde82(0x182)][_0x4dde82(0x198)][_0x4dde82(0x163)](_0x4282e8=>{const _0x2c91f7=_0x4dde82;for(const _0x235bfd of _0x6d69d4)void 0x0!==_0x207fb9[_0x235bfd]?_0x4282e8[_0x2c91f7(0x143)](_0x235bfd,_0x207fb9[_0x235bfd],_0x52f46a):_0x4282e8[_0x2c91f7(0x164)](_0x235bfd,_0x52f46a);});}[_0x3f02b7(0x184)](_0x43ef0c){const _0xa23ace=_0x3f02b7;if(_0x43ef0c[_0xa23ace(0x193)])switch(_0x43ef0c[_0xa23ace(0x192)]){case _0xa23ace(0x170):return{'type':_0xa23ace(0x14d),'content':_0x29140b(this[_0xa23ace(0x182)][_0xa23ace(0x16d)],_0xa23ace(0x199))};case _0xa23ace(0x169):return{'type':_0xa23ace(0x14d),'content':_0x29140b(this[_0xa23ace(0x182)][_0xa23ace(0x16d)],_0xa23ace(0x17e))};}}[_0x3f02b7(0x14c)](_0xa36bac,_0x31e815){const _0x3a5598=_0x3f02b7,_0x49ad98=this[_0x3a5598(0x182)][_0x3a5598(0x144)][_0x3a5598(0x149)](_0x3a5598(0x176));for(const _0x3adb1e of _0x49ad98[_0x3a5598(0x18c)]({'skipNotAttached':!0x0})){const _0x4436dd=_0x3adb1e[_0x3a5598(0x17f)]();if(_0x3adb1e[_0x3a5598(0x192)]===_0x31e815&&_0x4436dd===_0xa36bac)return _0x3adb1e;}return null;}[_0x3f02b7(0x197)](){const _0x36c171=_0x3f02b7,_0x597d37=this[_0x36c171(0x182)][_0x36c171(0x144)][_0x36c171(0x149)](_0x36c171(0x176)),_0x228fd7=[...this[_0x36c171(0x170)],...this[_0x36c171(0x169)]];for(const _0x88ae2a of _0x228fd7){const _0x1d8f81=_0x88ae2a[_0x36c171(0x187)](/([A-Z])/g,_0x36c171(0x14f))[_0x36c171(0x165)]();_0x597d37[_0x36c171(0x150)](_0x88ae2a),_0x597d37[_0x36c171(0x15e)][_0x36c171(0x157)](_0x88ae2a,_0x29140b(this[_0x36c171(0x182)][_0x36c171(0x16d)],_0x36c171(0x181)+_0x1d8f81));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58b0(_0x200c34,_0xeec3ef){const _0x231feb=_0x231f();return _0x58b0=function(_0x58b0e8,_0x3fc94f){_0x58b0e8=_0x58b0e8-0x135;let _0x3b65b3=_0x231feb[_0x58b0e8];return _0x3b65b3;},_0x58b0(_0x200c34,_0xeec3ef);}const _0x34cad5=_0x58b0;(function(_0x4b0626,_0x29d555){const _0x177932=_0x58b0,_0x4cff9d=_0x4b0626();while(!![]){try{const _0xbc8226=parseInt(_0x177932(0x142))/0x1*(-parseInt(_0x177932(0x140))/0x2)+-parseInt(_0x177932(0x13c))/0x3+parseInt(_0x177932(0x146))/0x4*(parseInt(_0x177932(0x141))/0x5)+-parseInt(_0x177932(0x13a))/0x6*(-parseInt(_0x177932(0x147))/0x7)+parseInt(_0x177932(0x135))/0x8*(parseInt(_0x177932(0x138))/0x9)+parseInt(_0x177932(0x139))/0xa+-parseInt(_0x177932(0x13f))/0xb;if(_0xbc8226===_0x29d555)break;else _0x4cff9d['push'](_0x4cff9d['shift']());}catch(_0x5a088a){_0x4cff9d['push'](_0x4cff9d['shift']());}}}(_0x231f,0x534fe));import{Plugin as _0x576b69}from'ckeditor5/src/core.js';function _0x231f(){const _0x40dbac=['15910aapqHb','253948jXOfam','insertTemplate','get','enableCommand','516ErSOni','7jqtJsz','Template','443032ImbWAP','editor','has','63LrltpZ','5282500MBujUD','3816354lMXPux','plugins','1859913FUFgvi','afterInit','TrackChangesEditing','8220025oumlis','2NcwHzA'];_0x231f=function(){return _0x40dbac;};return _0x231f();}export class TrackChangesTemplate extends _0x576b69{[_0x34cad5(0x13d)](){const _0x18c4e9=_0x34cad5,_0x5491e5=this[_0x18c4e9(0x136)];_0x5491e5[_0x18c4e9(0x13b)][_0x18c4e9(0x137)](_0x18c4e9(0x148))&&_0x5491e5[_0x18c4e9(0x13b)][_0x18c4e9(0x144)](_0x18c4e9(0x13e))[_0x18c4e9(0x145)](_0x18c4e9(0x143));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c329e=_0x173c;(function(_0x2d5016,_0x2d5b7f){const _0x1707df=_0x173c,_0x367d45=_0x2d5016();while(!![]){try{const _0x86a44a=parseInt(_0x1707df(0x11c))/0x1+-parseInt(_0x1707df(0x11a))/0x2*(parseInt(_0x1707df(0x13b))/0x3)+-parseInt(_0x1707df(0x138))/0x4*(-parseInt(_0x1707df(0x144))/0x5)+-parseInt(_0x1707df(0x135))/0x6+parseInt(_0x1707df(0x131))/0x7*(-parseInt(_0x1707df(0x120))/0x8)+-parseInt(_0x1707df(0x12b))/0x9*(parseInt(_0x1707df(0x125))/0xa)+-parseInt(_0x1707df(0x12d))/0xb;if(_0x86a44a===_0x2d5b7f)break;else _0x367d45['push'](_0x367d45['shift']());}catch(_0x544cb2){_0x367d45['push'](_0x367d45['shift']());}}}(_0x22d7,0xeab2e));import{Plugin as _0xa81bcb}from'ckeditor5/src/core.js';import{getTranslation as _0x5ca824}from'../utils/common-translations.js';function _0x173c(_0x47da35,_0x294565){const _0x22d7cb=_0x22d7();return _0x173c=function(_0x173c2c,_0x56707e){_0x173c2c=_0x173c2c-0x119;let _0x387041=_0x22d7cb[_0x173c2c];return _0x387041;},_0x173c(_0x47da35,_0x294565);}function _0x22d7(){const _0x2591cd=['element','1569960UnTRZR','from','isCollapsed','2540684cOdWbB','editor','registerElementLabel','152727kCnuzM','getChangedMarkers','end','isTouching','forward','schema','updateMarker','isEqual','locale','15SSVrSy','document','_splitMarkerName','4BRVZfJ','nodeBefore','1871056xAkKol','has','start','getNearestSelectionRange','32TAphaU','title-content','model','get','Title','10gnlmXY','differ','TrackChangesEditing','afterInit','removeMarker','newRange','15763419GfJxkx','descriptionFactory','993278rbxdSU','ELEMENT_TITLE','registerPostFixer','suggestion','1067458BLRxvb','createRange','plugins'];_0x22d7=function(){return _0x2591cd;};return _0x22d7();}export class TrackChangesTitle extends _0xa81bcb{[_0x5c329e(0x128)](){const _0x36e172=_0x5c329e,_0x48233f=this[_0x36e172(0x139)];if(!_0x48233f[_0x36e172(0x133)][_0x36e172(0x11d)](_0x36e172(0x124)))return;const _0x27e809=_0x48233f[_0x36e172(0x133)][_0x36e172(0x123)](_0x36e172(0x127));_0x27e809[_0x36e172(0x12c)][_0x36e172(0x13a)](_0x36e172(0x121),()=>_0x5ca824(_0x48233f[_0x36e172(0x143)],_0x36e172(0x12e))),_0x48233f[_0x36e172(0x122)][_0x36e172(0x145)][_0x36e172(0x12f)](_0x42701c=>{const _0x28304e=_0x36e172;let _0x32eaad=!0x1;const _0x46fb6d=Array[_0x28304e(0x136)](_0x48233f[_0x28304e(0x122)][_0x28304e(0x145)][_0x28304e(0x126)][_0x28304e(0x13c)]());for(const {name:_0xcda491,data:_0x2600b8}of _0x46fb6d){const {group:_0x118e3e}=_0x27e809[_0x28304e(0x119)](_0xcda491);if(_0x28304e(0x130)!==_0x118e3e||!_0x2600b8[_0x28304e(0x12a)])continue;const _0x5bd3c8=_0x2600b8[_0x28304e(0x12a)],_0x3343e2=_0x5bd3c8[_0x28304e(0x13d)][_0x28304e(0x11b)];if(!_0x3343e2||!_0x3343e2['is'](_0x28304e(0x134),_0x28304e(0x121)))continue;if(!_0x5bd3c8[_0x28304e(0x11e)][_0x28304e(0x13e)](_0x5bd3c8[_0x28304e(0x13d)]))continue;const _0x2cd75d=_0x48233f[_0x28304e(0x122)][_0x28304e(0x140)][_0x28304e(0x11f)](_0x5bd3c8[_0x28304e(0x13d)],_0x28304e(0x13f));if(_0x2cd75d&&_0x2cd75d[_0x28304e(0x137)]){const _0x5eb1af=_0x42701c[_0x28304e(0x132)](_0x5bd3c8[_0x28304e(0x11e)],_0x2cd75d[_0x28304e(0x11e)]);_0x5eb1af[_0x28304e(0x142)](_0x5bd3c8)||(_0x42701c[_0x28304e(0x141)](_0xcda491,{'range':_0x5eb1af}),_0x32eaad=!0x0);}_0x32eaad||(_0x42701c[_0x28304e(0x129)](_0xcda491),_0x32eaad=!0x0);}return _0x32eaad;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x255c61=_0x524a;(function(_0x3b550e,_0x2bfb79){const _0x8aefc6=_0x524a,_0x4b4d37=_0x3b550e();while(!![]){try{const _0x327ebc=parseInt(_0x8aefc6(0xa4))/0x1*(-parseInt(_0x8aefc6(0x9a))/0x2)+parseInt(_0x8aefc6(0x92))/0x3+-parseInt(_0x8aefc6(0x94))/0x4*(parseInt(_0x8aefc6(0x9e))/0x5)+parseInt(_0x8aefc6(0x9d))/0x6+parseInt(_0x8aefc6(0xa3))/0x7+parseInt(_0x8aefc6(0x9c))/0x8+-parseInt(_0x8aefc6(0xa2))/0x9*(-parseInt(_0x8aefc6(0xa5))/0xa);if(_0x327ebc===_0x2bfb79)break;else _0x4b4d37['push'](_0x4b4d37['shift']());}catch(_0x1cc229){_0x4b4d37['push'](_0x4b4d37['shift']());}}}(_0x4740,0x82824));function _0x4740(){const _0x937efe=['has','undo','plugins','132540cdpfKF','redo','2764480xeFtij','6316626uYCKRa','55XensnJ','afterInit','editor','TrackChangesEditing','3042450DyGbOn','1013313UWfobs','14NDAdtQ','10IlekZg','850200NCWTqJ','enableCommand','255344pCDaXd','UndoEditing','get'];_0x4740=function(){return _0x937efe;};return _0x4740();}function _0x524a(_0x118617,_0x4afb77){const _0x474016=_0x4740();return _0x524a=function(_0x524a7c,_0x155f11){_0x524a7c=_0x524a7c-0x92;let _0x5b29fb=_0x474016[_0x524a7c];return _0x5b29fb;},_0x524a(_0x118617,_0x4afb77);}import{Plugin as _0x3057a5}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x3057a5{[_0x255c61(0x9f)](){const _0x387527=_0x255c61,_0x4d8bef=this[_0x387527(0xa0)],_0x21dd60=_0x4d8bef[_0x387527(0x99)][_0x387527(0x96)](_0x387527(0xa1));_0x4d8bef[_0x387527(0x99)][_0x387527(0x97)](_0x387527(0x95))&&(_0x21dd60[_0x387527(0x93)](_0x387527(0x98)),_0x21dd60[_0x387527(0x93)](_0x387527(0x9b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3045(_0x4378df,_0x43c691){const _0x3106f6=_0x3106();return _0x3045=function(_0x304564,_0x21fbfa){_0x304564=_0x304564-0x1a6;let _0x26cf1b=_0x3106f6[_0x304564];return _0x26cf1b;},_0x3045(_0x4378df,_0x43c691);}function _0x3106(){const _0x2ea412=['afterInit','uploadcareImageEdit','enableDefaultAttributesIntegration','descriptionFactory','TrackChangesEditing','1tvBfVL','format','106646lhByJR','978732FPSNtU','UploadcareImageEdit','enableCommand','uploadcare','type','252LwRrak','plugins','uploadcareImageId','16177JVbLqc','824wUuMaE','33mJZPgz','3618828IYwZaZ','attribute','276qlceNX','editor','11409IQLump','Uploadcare','997715Osubyg','registerBlockAttribute','get','44840uISUUT','key','has','registerDescriptionCallback','uploadcareImageReplace'];_0x3106=function(){return _0x2ea412;};return _0x3106();}const _0x5c48b1=_0x3045;(function(_0x12aac9,_0x30659c){const _0x26b6db=_0x3045,_0x3a95bf=_0x12aac9();while(!![]){try{const _0x54c9fa=parseInt(_0x26b6db(0x1b0))/0x1*(parseInt(_0x26b6db(0x1b2))/0x2)+-parseInt(_0x26b6db(0x1c2))/0x3*(-parseInt(_0x26b6db(0x1c0))/0x4)+parseInt(_0x26b6db(0x1c4))/0x5+parseInt(_0x26b6db(0x1b3))/0x6+-parseInt(_0x26b6db(0x1bb))/0x7*(-parseInt(_0x26b6db(0x1bc))/0x8)+-parseInt(_0x26b6db(0x1b8))/0x9*(-parseInt(_0x26b6db(0x1a6))/0xa)+-parseInt(_0x26b6db(0x1bd))/0xb*(parseInt(_0x26b6db(0x1be))/0xc);if(_0x54c9fa===_0x30659c)break;else _0x3a95bf['push'](_0x3a95bf['shift']());}catch(_0x20f931){_0x3a95bf['push'](_0x3a95bf['shift']());}}}(_0x3106,0x21839));import{Plugin as _0x15d819}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x15d819{[_0x5c48b1(0x1ab)](){const _0x2594f2=_0x5c48b1,_0x528b03=this[_0x2594f2(0x1c1)],_0x43aed9=_0x528b03[_0x2594f2(0x1b9)][_0x2594f2(0x1c6)](_0x2594f2(0x1af));_0x528b03[_0x2594f2(0x1b9)][_0x2594f2(0x1a8)](_0x2594f2(0x1c3))&&(_0x43aed9[_0x2594f2(0x1b5)](_0x2594f2(0x1b6)),_0x528b03[_0x2594f2(0x1b9)][_0x2594f2(0x1a8)](_0x2594f2(0x1b4))&&(_0x43aed9[_0x2594f2(0x1b5)](_0x2594f2(0x1ac)),_0x43aed9[_0x2594f2(0x1ad)](_0x2594f2(0x1aa)),_0x43aed9[_0x2594f2(0x1c5)](_0x2594f2(0x1ba)),_0x43aed9[_0x2594f2(0x1ae)][_0x2594f2(0x1a9)](_0x5a997b=>{const _0x28f5b6=_0x2594f2;if(_0x28f5b6(0x1bf)!=_0x5a997b[_0x28f5b6(0x1b7)])return;const {data:_0x33d6a2}=_0x5a997b;return _0x33d6a2&&_0x28f5b6(0x1ba)==_0x33d6a2[_0x28f5b6(0x1a7)]?{'type':_0x28f5b6(0x1b1),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x499c(_0x55d5fc,_0x379eff){const _0x2ed62d=_0x2ed6();return _0x499c=function(_0x499c6e,_0x1e3825){_0x499c6e=_0x499c6e-0x8f;let _0x5aa6bc=_0x2ed62d[_0x499c6e];return _0x5aa6bc;},_0x499c(_0x55d5fc,_0x379eff);}(function(_0x8e39e4,_0x435efa){const _0x5323b5=_0x499c,_0x3615ce=_0x8e39e4();while(!![]){try{const _0xa47118=parseInt(_0x5323b5(0x90))/0x1*(-parseInt(_0x5323b5(0x93))/0x2)+-parseInt(_0x5323b5(0xa0))/0x3*(-parseInt(_0x5323b5(0xac))/0x4)+parseInt(_0x5323b5(0xc0))/0x5*(parseInt(_0x5323b5(0xb9))/0x6)+-parseInt(_0x5323b5(0x9b))/0x7+parseInt(_0x5323b5(0x9d))/0x8*(parseInt(_0x5323b5(0xa2))/0x9)+parseInt(_0x5323b5(0xb7))/0xa+-parseInt(_0x5323b5(0xa7))/0xb*(-parseInt(_0x5323b5(0x98))/0xc);if(_0xa47118===_0x435efa)break;else _0x3615ce['push'](_0x3615ce['shift']());}catch(_0x25e6fb){_0x3615ce['push'](_0x3615ce['shift']());}}}(_0x2ed6,0x3a93c));export function getRangesWithAttribute(_0x30cacd,_0x417397,_0x1144c7){const _0x51301a=_0x499c,_0x364d90=[];for(const _0x2c69f2 of _0x417397[_0x51301a(0x9e)]())_0x2c69f2[_0x51301a(0xb5)](_0x30cacd)&&_0x364d90[_0x51301a(0xa4)](_0x1144c7[_0x51301a(0xc4)](_0x2c69f2));return _0x364d90;}function _0x2ed6(){const _0x350272=['63927jzsQvV','model','push','schema','writer','1879229nAqYcX','isContent','consumable','isLimit','test','4telhAd','ck-suggestion-marker-','TrackChangesEditing','_splitMarkerName','getCustomProperty','nextSibling','ck-suggestion-marker--active','name','type','hasAttribute','bindElementToMarker','1616240pxkSaL','item','462QTrhJD','toViewElement','isAtEnd','insert','mapper','markerName','addHighlight','2655Fvfyvx','parent','includes','elementEnd','createRangeOn','previousPosition','13610ePMmWK','markerRange','getWalker','62vnRtrT','createUIElement','plugins','span','isBlock','12ZnUDpz','start','toViewPosition','1130675MGQfSI','addClass','96UYwGqh','getItems','activeMarkers','1094343CeccqN','get'];_0x2ed6=function(){return _0x350272;};return _0x2ed6();}export function downcastSplitMergeMarker(_0x5a390f,_0x100119,{showActiveMarker:_0x3287ea=!0x0}={}){const _0x4f0de0=_0x499c,_0x25c8b1=_0x5a390f[_0x4f0de0(0x95)][_0x4f0de0(0xa1)](_0x4f0de0(0xae));return(_0x1bd892,_0xc7dbf9,_0x1babb3)=>{const _0x53224d=_0x4f0de0;if(!_0x1babb3[_0x53224d(0xa9)][_0x53224d(0xab)](_0xc7dbf9[_0x53224d(0x91)],_0x1bd892[_0x53224d(0xb3)]))return;const _0x257942=_0xc7dbf9[_0x53224d(0x91)][_0x53224d(0x92)](),_0x31ef63=_0xc7dbf9[_0x53224d(0x91)][_0x53224d(0x99)],_0x1ead5d=_0x5a390f[_0x53224d(0xa3)][_0x53224d(0xa5)];let _0x5e343e=null,_0x2c0a00=null,_0x2c446d=!0x1,_0x50ef2d=!0x1;for(const _0x2949bc of _0x257942){const _0x5f4546=_0x2949bc[_0x53224d(0xb8)];_0x2c446d=_0x2c446d||_0x1ead5d[_0x53224d(0xa8)](_0x5f4546);const _0x5ba895=_0x1babb3[_0x53224d(0xbd)][_0x53224d(0xba)](_0x5f4546);if(_0x5ba895&&_0x5ba895[_0x53224d(0xb0)](_0x53224d(0xbf)))return;_0x53224d(0xc3)==_0x2949bc[_0x53224d(0xb4)]&&(_0x1ead5d[_0x53224d(0x97)](_0x5f4546)&&!_0x1ead5d[_0x53224d(0xaa)](_0x5f4546)&&(_0x5f4546[_0x53224d(0xb1)]||_0x31ef63[_0x53224d(0xbb)]?_0x5e343e&&_0x5e343e[_0x53224d(0xc1)]==_0x5f4546||(_0x5e343e=_0x5f4546,_0x1fe817(_0x2949bc[_0x53224d(0x8f)]),_0x50ef2d=!0x0):_0x2c0a00=_0x2c0a00||_0x2949bc[_0x53224d(0x8f)]));}function _0x1fe817(_0x56cb72){const _0x939fa1=_0x53224d,{id:_0x36a827,authorId:_0x1f389d}=_0x25c8b1[_0x939fa1(0xaf)](_0xc7dbf9[_0x939fa1(0xbe)]),_0x11eb95=_0x1babb3[_0x939fa1(0xa6)][_0x939fa1(0x94)](_0x939fa1(0x96),{'class':_0x939fa1(0xad)+_0x100119,'data-suggestion':_0x36a827,'data-author-id':_0x1f389d}),_0x52d914=_0x1babb3[_0x939fa1(0xbd)][_0x939fa1(0x9a)](_0x56cb72);_0x3287ea&&_0x25c8b1[_0x939fa1(0x9f)][_0x939fa1(0xc2)](_0xc7dbf9[_0x939fa1(0xbe)])&&_0x1babb3[_0x939fa1(0xa6)][_0x939fa1(0x9c)](_0x939fa1(0xb2),_0x11eb95),_0x1babb3[_0x939fa1(0xa6)][_0x939fa1(0xbc)](_0x52d914,_0x11eb95),_0x1babb3[_0x939fa1(0xbd)][_0x939fa1(0xb6)](_0x11eb95,_0xc7dbf9[_0x939fa1(0xbe)]);}_0x2c446d||_0x50ef2d||!_0x2c0a00||_0x1fe817(_0x2c0a00);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5c20(){const _0x593fe2=['getMarkers','onAccept','type','16101wFSHui','get','onDiscard','8muTTCw','nodeBefore','removeMarker','discard','map','author','filter','size','_originalSuggestionId','396WdAYEH','getRanges','from','creator','addMarkerName','add','getAllAdjacentSuggestions','previous','isMultiRange','isIntersecting','next','toJSON','isExternal','split','push','commentThread','getRange','clear','data','_saved','55915etTYEs','isIntersectingWithRange','_model','getFirstRange','getMultiRangeId','_markerNames','length','536944nEWfig','566050MSlkXm','removeMarkers','isInContent','subType','_onAttributesChange','reduce','89546UovEuP','start','addMarker','90FunwQZ','addRange','@external','getFirstMarker','delete','onAttributesChange','hasComments','authoredAt','head','createdAt','10688832vFtIUr','substr','1241534ntOFkf','getContainedElement','originalSuggestionId','markers','_onDiscard','194NLwvwQ','setAttribute','getItems','suggestion:','_onAccept','end','set','change','accept','_isDataLoaded','nodeAfter','decorate','removeAttribute','attributes','getMarkerNames'];_0x5c20=function(){return _0x593fe2;};return _0x5c20();}const _0x46c3bf=_0x4815;(function(_0x58cb23,_0x5f5743){const _0x20e76b=_0x4815,_0x3b07cc=_0x58cb23();while(!![]){try{const _0x1cfb3b=parseInt(_0x20e76b(0x140))/0x1+-parseInt(_0x20e76b(0x100))/0x2*(parseInt(_0x20e76b(0x112))/0x3)+-parseInt(_0x20e76b(0x139))/0x4+parseInt(_0x20e76b(0x132))/0x5*(parseInt(_0x20e76b(0x11e))/0x6)+parseInt(_0x20e76b(0x14f))/0x7*(-parseInt(_0x20e76b(0x115))/0x8)+-parseInt(_0x20e76b(0x143))/0x9*(parseInt(_0x20e76b(0x13a))/0xa)+parseInt(_0x20e76b(0x14d))/0xb;if(_0x1cfb3b===_0x5f5743)break;else _0x3b07cc['push'](_0x3b07cc['shift']());}catch(_0x507d95){_0x3b07cc['push'](_0x3b07cc['shift']());}}}(_0x5c20,0x61ec1));import{ModelElement as _0x31bd6f}from'ckeditor5/src/engine.js';function _0x4815(_0x3e62ec,_0x57206b){const _0x5c20aa=_0x5c20();return _0x4815=function(_0x481560,_0x47f9a9){_0x481560=_0x481560-0xff;let _0x297804=_0x5c20aa[_0x481560];return _0x297804;},_0x4815(_0x3e62ec,_0x57206b);}import{ObservableMixin as _0x599b07,uid as _0x408802}from'ckeditor5/src/utils.js';import{cloneDeep as _0x135fa4,isEqual as _0x177dc7,set as _0x38c2df,unset as _0x4212c6}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x599b07(){['id'];[_0x46c3bf(0x111)];[_0x46c3bf(0x13d)];[_0x46c3bf(0x11a)];[_0x46c3bf(0x121)];[_0x46c3bf(0x12a)];[_0x46c3bf(0x130)];[_0x46c3bf(0x14c)];[_0x46c3bf(0x11d)];[_0x46c3bf(0x109)]=!0x1;[_0x46c3bf(0x134)];[_0x46c3bf(0x104)];[_0x46c3bf(0xff)];[_0x46c3bf(0x13e)];[_0x46c3bf(0x137)];constructor(_0x30127c,_0x1880c6){const _0x238e84=_0x46c3bf;super(),this['id']=_0x1880c6['id'],this[_0x238e84(0x111)]=_0x1880c6[_0x238e84(0x111)],this[_0x238e84(0x13d)]=_0x1880c6[_0x238e84(0x13d)]||null,this[_0x238e84(0x11a)]=_0x1880c6[_0x238e84(0x11a)],this[_0x238e84(0x121)]=_0x1880c6[_0x238e84(0x121)]||_0x1880c6[_0x238e84(0x11a)],this[_0x238e84(0x12a)]=Boolean(_0x1880c6[_0x238e84(0x10d)]&&_0x1880c6[_0x238e84(0x10d)][_0x238e84(0x145)]),this[_0x238e84(0x130)]=null,this[_0x238e84(0x11d)]=_0x1880c6[_0x238e84(0x151)]||null,this[_0x238e84(0x134)]=_0x30127c,this[_0x238e84(0x104)]=_0x1880c6[_0x238e84(0x110)],this[_0x238e84(0xff)]=_0x1880c6[_0x238e84(0x114)],this[_0x238e84(0x13e)]=_0x1880c6[_0x238e84(0x148)],this[_0x238e84(0x137)]=new Set(),this[_0x238e84(0x14c)]=null,this[_0x238e84(0x106)](_0x238e84(0x14a),null),this[_0x238e84(0x106)](_0x238e84(0x10d),_0x1880c6[_0x238e84(0x10d)]||{}),this[_0x238e84(0x106)](_0x238e84(0x125),null),this[_0x238e84(0x106)](_0x238e84(0x128),null),this[_0x238e84(0x106)](_0x238e84(0x12d),null),this[_0x238e84(0x106)](_0x238e84(0x131),!0x1),this[_0x238e84(0x10b)](_0x238e84(0x108)),this[_0x238e84(0x10b)](_0x238e84(0x118));}get[_0x46c3bf(0x14b)](){const _0x42d464=_0x46c3bf;let _0x5a97dc=this;for(;_0x5a97dc[_0x42d464(0x125)];)_0x5a97dc=_0x5a97dc[_0x42d464(0x125)];return _0x5a97dc;}get[_0x46c3bf(0x149)](){const _0xb403d8=_0x46c3bf;return!!this[_0xb403d8(0x12d)]&&this[_0xb403d8(0x12d)][_0xb403d8(0x138)]>0x0;}get[_0x46c3bf(0x126)](){const _0x5938f8=_0x46c3bf;if(0x0==this[_0x5938f8(0x137)][_0x5938f8(0x11c)])return!0x1;return 0x6==Array[_0x5938f8(0x120)](this[_0x5938f8(0x137)])[0x0][_0x5938f8(0x12b)](':')[_0x5938f8(0x138)];}get[_0x46c3bf(0x13c)](){const _0xd6473f=_0x46c3bf;return null!==this[_0xd6473f(0x146)]();}[_0x46c3bf(0x122)](_0x22c8f7){const _0x2c7971=_0x46c3bf;this[_0x2c7971(0x137)][_0x2c7971(0x123)](_0x22c8f7);}[_0x46c3bf(0x10e)](){const _0x2f9303=_0x46c3bf;return Array[_0x2f9303(0x120)](this[_0x2f9303(0x137)]);}[_0x46c3bf(0x10f)](){const _0x419e6b=_0x46c3bf;return this[_0x419e6b(0x10e)]()[_0x419e6b(0x119)](_0x50f26e=>this[_0x419e6b(0x134)][_0x419e6b(0x152)][_0x419e6b(0x113)](_0x50f26e))[_0x419e6b(0x11b)](_0x19f5a7=>_0x19f5a7);}[_0x46c3bf(0x146)](){const _0x412c18=_0x46c3bf;return this[_0x412c18(0x10f)]()[0x0]||null;}[_0x46c3bf(0x13b)](){const _0x185d4d=_0x46c3bf;this[_0x185d4d(0x134)][_0x185d4d(0x107)](_0x51132a=>{const _0x3ff009=_0x185d4d;for(const _0x1f134d of this[_0x3ff009(0x10f)]())_0x51132a[_0x3ff009(0x117)](_0x1f134d);}),this[_0x185d4d(0x137)][_0x185d4d(0x12f)]();}[_0x46c3bf(0x117)](_0x27b742){const _0x804f1c=_0x46c3bf;this[_0x804f1c(0x134)][_0x804f1c(0x107)](_0x321629=>{const _0x4f50dc=_0x804f1c;_0x321629[_0x4f50dc(0x117)](_0x27b742);}),this[_0x804f1c(0x137)][_0x804f1c(0x147)](_0x27b742);}[_0x46c3bf(0x144)](_0x2b61c2){const _0x14c7c9=_0x46c3bf,_0x5361ed=_0x14c7c9(0x103)+this[_0x14c7c9(0x111)]+':'+this[_0x14c7c9(0x13d)]+':'+this['id']+':'+this[_0x14c7c9(0x121)]['id']+':'+Suggestion[_0x14c7c9(0x136)]();this[_0x14c7c9(0x122)](_0x5361ed),this[_0x14c7c9(0x134)][_0x14c7c9(0x107)](_0x591312=>{const _0x5b5c59=_0x14c7c9;_0x591312[_0x5b5c59(0x142)](_0x5361ed,{'range':_0x2b61c2,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x46c3bf(0x133)](_0x10c0ec){const _0x1d1893=_0x46c3bf;for(const _0x3e4953 of this[_0x1d1893(0x11f)]())if(_0x3e4953[_0x1d1893(0x127)](_0x10c0ec))return!0x0;return!0x1;}[_0x46c3bf(0x11f)](){const _0x17852e=_0x46c3bf;return this[_0x17852e(0x10f)]()[_0x17852e(0x119)](_0x23ddc6=>_0x23ddc6[_0x17852e(0x12e)]());}[_0x46c3bf(0x102)](){const _0x4a7d19=_0x46c3bf;return this[_0x4a7d19(0x11f)]()[_0x4a7d19(0x13f)]((_0x497e60,_0x266ebe)=>[..._0x497e60,..._0x266ebe[_0x4a7d19(0x102)]()],[]);}[_0x46c3bf(0x135)](){const _0x4a85c9=_0x46c3bf;return this[_0x4a85c9(0x146)]()?.[_0x4a85c9(0x12e)]()||null;}[_0x46c3bf(0x150)](){const _0xe1ee3c=_0x46c3bf,_0xc4ee9f=this[_0xe1ee3c(0x11f)]();if(0x1!=_0xc4ee9f[_0xe1ee3c(0x138)])return null;const _0x1684f9=_0xc4ee9f[0x0],_0x31c5ce=_0x1684f9[_0xe1ee3c(0x141)][_0xe1ee3c(0x10a)],_0x48a519=_0x1684f9[_0xe1ee3c(0x105)][_0xe1ee3c(0x116)];return _0x31c5ce instanceof _0x31bd6f?_0x31c5ce!=_0x48a519?null:_0x31c5ce:null;}[_0x46c3bf(0x108)](){const _0x39b82f=_0x46c3bf;this[_0x39b82f(0x104)](this[_0x39b82f(0x11f)](),this[_0x39b82f(0x130)],this[_0x39b82f(0x10d)]),this[_0x39b82f(0x13b)]();}[_0x46c3bf(0x118)](){const _0x2050dc=_0x46c3bf;this[_0x2050dc(0xff)](this[_0x2050dc(0x11f)](),this[_0x2050dc(0x130)],this[_0x2050dc(0x10d)]),this[_0x2050dc(0x13b)]();}[_0x46c3bf(0x124)](){const _0xe215c3=_0x46c3bf,_0x16bf72=[];let _0x5bf353=this[_0xe215c3(0x14b)];for(;_0x5bf353;)_0x16bf72[_0xe215c3(0x12c)](_0x5bf353),_0x5bf353=_0x5bf353[_0xe215c3(0x128)];return _0x16bf72;}[_0x46c3bf(0x101)](_0x539d75,_0x557baf){const _0x1394e6=_0x46c3bf,_0x547577=_0x135fa4(this[_0x1394e6(0x10d)]);_0x38c2df(_0x547577,_0x539d75,_0x557baf),_0x177dc7(_0x547577,this[_0x1394e6(0x10d)])||(this[_0x1394e6(0x10d)]=_0x547577,this[_0x1394e6(0x13e)](_0x547577));}[_0x46c3bf(0x10c)](_0x40a54e){const _0x3581e5=_0x46c3bf,_0x22a676=_0x135fa4(this[_0x3581e5(0x10d)]);_0x4212c6(_0x22a676,_0x40a54e),_0x177dc7(_0x22a676,this[_0x3581e5(0x10d)])||(this[_0x3581e5(0x10d)]=_0x22a676,this[_0x3581e5(0x13e)](this[_0x3581e5(0x10d)]));}[_0x46c3bf(0x129)](){const _0x5f0841=_0x46c3bf;return{'id':this['id'],'type':this[_0x5f0841(0x13d)]?this[_0x5f0841(0x111)]+':'+this[_0x5f0841(0x13d)]:this[_0x5f0841(0x111)],'authorId':this[_0x5f0841(0x121)]['id'],'createdAt':this[_0x5f0841(0x14c)],'hasComments':this[_0x5f0841(0x149)],'data':this[_0x5f0841(0x130)],'attributes':this[_0x5f0841(0x10d)]};}static[_0x46c3bf(0x136)](){const _0x5a304d=_0x46c3bf;return _0x408802()[_0x5a304d(0x14e)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18edd9=_0x4916;(function(_0x1a086b,_0x31a4d0){const _0x517c63=_0x4916,_0x389a30=_0x1a086b();while(!![]){try{const _0x5a6b60=-parseInt(_0x517c63(0xa5))/0x1+-parseInt(_0x517c63(0xec))/0x2+-parseInt(_0x517c63(0xa3))/0x3+parseInt(_0x517c63(0xcd))/0x4+-parseInt(_0x517c63(0xb2))/0x5*(-parseInt(_0x517c63(0xfb))/0x6)+-parseInt(_0x517c63(0xc5))/0x7+parseInt(_0x517c63(0xfa))/0x8;if(_0x5a6b60===_0x31a4d0)break;else _0x389a30['push'](_0x389a30['shift']());}catch(_0x4121ba){_0x389a30['push'](_0x389a30['shift']());}}}(_0x1d24,0xdc543));function _0x1d24(){const _0x15fc30=['getWalker','nextSibling','item','1481734wvpvMJ','_handleRenameSuggestionDescription','function','elementEnd','start','text','end','_attributeLabels','_schema','get','REPLACE_TEXT','$1\x20$2','isEmpty','_handleCustomCallbackDescription','34678384UvKMyH','11046lsBpwr','*Change\x20to:*\x20%0','subType','*Merge:*\x20%0','normal','addFormat','data','3758517gFlRPY','add','1239405FuhQIp','type','registerAttributeLabel','quantity','addEmptyContainer','isInContent','element','push','isEqual','nodeAfter','_itemLabels','*Split:*\x20%0','EmptyContainer','700aMLrbm','Container','has','addObject','remove','newValue','_customCallbacks','label','$text','*Remove\x20format:*\x20%0','previousSibling','removeContainer','matchingCallback','_resolveDescriptionItems','pop','_itemLabelsCallbacks','*Set\x20format:*\x20%0','elementStart','set','8737400xBkJMD','indexOf','getFirstRange','ELEMENT_SPACE','_handleAttributeSuggestionDescription','getDescriptions','name','isObject','3164960OdBgzG','deletion','attribute','_addDescriptionItems','*Insert:*\x20%0','$textProxy','join','Object','softBreak','registerDescriptionCallback','registerElementLabel','format','match','_locale','_handleInsertRemoveSuggestionDescription','replace','removeObject','insertion','key','map','removeFormat','skip','addContainer','getItemLabel','length','checkChild','removeEmptyContainer','*Remove:*\x20%0'];_0x1d24=function(){return _0x15fc30;};return _0x1d24();}import{getTranslation as _0x51ea3}from'./utils/common-translations.js';function _0x4916(_0x7fb983,_0xdaabc7){const _0x1d24de=_0x1d24();return _0x4916=function(_0x491602,_0x371e63){_0x491602=_0x491602-0x9d;let _0x4c8560=_0x1d24de[_0x491602];return _0x4c8560;},_0x4916(_0x7fb983,_0xdaabc7);}import{priorities as _0x25487b,insertToPriorityArray as _0x1c2a89}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x46b11e}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x18edd9(0xb8)];[_0x18edd9(0xaf)];[_0x18edd9(0xc1)];[_0x18edd9(0xf3)];[_0x18edd9(0xf4)];[_0x18edd9(0xda)];constructor(_0x27035d,_0x3a0f41){const _0x1e72e5=_0x18edd9;this[_0x1e72e5(0xb8)]=[],this[_0x1e72e5(0xaf)]=new Map(),this[_0x1e72e5(0xc1)]=[],this[_0x1e72e5(0xf3)]=new Map(),this[_0x1e72e5(0xf4)]=_0x27035d,this[_0x1e72e5(0xda)]=_0x3a0f41;}[_0x18edd9(0xca)](_0x280c19){const _0x196be9=_0x18edd9,_0x208126=[],_0x4bfb48=new Set(),_0x420bf2=new Set();for(let _0x56e446=0x0;_0x56e446<_0x280c19[_0x196be9(0xe5)];_0x56e446++){const _0x2efd39=_0x280c19[_0x56e446];if(!_0x2efd39[_0x196be9(0xaa)])continue;const _0x562e69=this[_0x196be9(0xf9)](_0x2efd39);if(_0x562e69){if(null!=_0x2efd39[_0x196be9(0x9e)]){if(_0x4bfb48[_0x196be9(0xb4)](_0x2efd39[_0x196be9(0x9e)]))continue;_0x4bfb48[_0x196be9(0xa4)](_0x2efd39[_0x196be9(0x9e)]);}_0x208126[_0x196be9(0xac)](_0x562e69);}else{if(_0x196be9(0xcf)==_0x2efd39[_0x196be9(0xa6)]){const _0x104553=_0x2efd39[_0x196be9(0xa2)][_0x196be9(0xdf)];if(_0x420bf2[_0x196be9(0xb4)](_0x104553))continue;_0x420bf2[_0x196be9(0xa4)](_0x2efd39[_0x196be9(0xa2)][_0x196be9(0xdf)]),_0x104553==_0x46b11e?this[_0x196be9(0xed)](_0x208126,_0x2efd39):this[_0x196be9(0xc9)](_0x208126,_0x2efd39);continue;}_0x196be9(0xde)!=_0x2efd39[_0x196be9(0xa6)]&&_0x196be9(0xce)!=_0x2efd39[_0x196be9(0xa6)]||this[_0x196be9(0xdb)](_0x208126,_0x2efd39,_0x280c19[_0x56e446+0x1]);}}return this[_0x196be9(0xbf)](_0x208126);}[_0x18edd9(0xd6)](_0x31d164){const _0x55a931=_0x18edd9;this[_0x55a931(0xb8)][_0x55a931(0xac)](_0x31d164);}[_0x18edd9(0xd7)](_0x338072,_0x13024e,_0x2de31b=_0x25487b[_0x18edd9(0xa0)]){const _0x2e7cf9=_0x18edd9;_0x2e7cf9(0xee)==typeof _0x338072?_0x1c2a89(this[_0x2e7cf9(0xc1)],{'matchingCallback':_0x338072,'label':_0x13024e,'priority':_0x2de31b}):this[_0x2e7cf9(0xaf)][_0x2e7cf9(0xc4)](_0x338072,_0x13024e);}[_0x18edd9(0xa7)](_0x163557,_0x30eb54){const _0x3f2ac0=_0x18edd9;this[_0x3f2ac0(0xf3)][_0x3f2ac0(0xc4)](_0x163557,_0x30eb54);}[_0x18edd9(0xe4)](_0x4e77ed,_0x368c61=0x1){const _0x5669cd=_0x18edd9;let _0x2fcb04;for(const _0x5b7978 of this[_0x5669cd(0xc1)])if(_0x5b7978[_0x5669cd(0xbe)](_0x4e77ed)){_0x2fcb04=_0x5b7978[_0x5669cd(0xb9)];break;}return _0x2fcb04||(_0x2fcb04=this[_0x5669cd(0xaf)][_0x5669cd(0xf5)](_0x4e77ed[_0x5669cd(0xcb)])),_0x2fcb04?_0x2fcb04(_0x368c61):0x1!==_0x368c61?_0x368c61+'\x20'+_0x4e77ed[_0x5669cd(0xcb)]+'s':''+_0x4e77ed[_0x5669cd(0xcb)];}[_0x18edd9(0xd0)](_0xd21ef6,_0x10c23b){const _0x5ae842=_0x18edd9,_0x556d5f=_0x10c23b[_0x5ae842(0xc7)]()[_0x5ae842(0xe9)](),_0xf8d99b=_0x5ae842(0xde)==_0x10c23b[_0x5ae842(0xa6)]?_0x5ae842(0xa4):_0x5ae842(0xb6);for(const _0x3ce83b of _0x556d5f){const _0xe28f70=_0x3ce83b[_0x5ae842(0xeb)],_0x1db4ad=_0xd21ef6[_0xd21ef6[_0x5ae842(0xe5)]-0x1];if(_0xe28f70['is'](_0x5ae842(0xd2)))_0x1db4ad&&_0x1db4ad[_0x5ae842(0xa6)][_0x5ae842(0xc6)](_0x5ae842(0xb3))>-0x1&&_0xd21ef6[_0x5ae842(0xc0)](),_0x1db4ad&&_0x5ae842(0xf1)==_0x1db4ad[_0x5ae842(0xa6)]?_0x1db4ad[_0xf8d99b]+=_0xe28f70[_0x5ae842(0xa2)]:_0xd21ef6[_0x5ae842(0xac)]({'type':_0x5ae842(0xf1),'add':_0x5ae842(0xa4)==_0xf8d99b?_0xe28f70[_0x5ae842(0xa2)]:'','remove':_0x5ae842(0xb6)==_0xf8d99b?_0xe28f70[_0x5ae842(0xa2)]:''});else{if(this[_0x5ae842(0xf4)][_0x5ae842(0xcc)](_0xe28f70)){const _0xe81e0c=_0xe28f70;if(_0x1db4ad&&_0x1db4ad[_0x5ae842(0xa6)][_0x5ae842(0xc6)](_0x5ae842(0xb3))>-0x1&&_0xd21ef6[_0x5ae842(0xc0)](),_0x5ae842(0xef)==_0x3ce83b[_0x5ae842(0xa6)])continue;_0x1db4ad&&_0x1db4ad[_0x5ae842(0xa6)]==_0xf8d99b+_0x5ae842(0xd4)&&_0x1db4ad[_0x5ae842(0xab)][_0x5ae842(0xcb)]==_0xe81e0c[_0x5ae842(0xcb)]?_0x1db4ad[_0x5ae842(0xa8)]++:_0xd21ef6[_0x5ae842(0xac)]({'type':_0xf8d99b+_0x5ae842(0xd4),'element':_0xe81e0c,'quantity':0x1}),_0x556d5f[_0x5ae842(0xe2)](_0x531a78=>!(_0x5ae842(0xef)==_0x531a78[_0x5ae842(0xa6)]&&_0x531a78[_0x5ae842(0xeb)]==_0xe28f70));}else{if(this[_0x5ae842(0xf4)][_0x5ae842(0xe6)](_0xe28f70,_0x5ae842(0xba))||_0xe28f70['is'](_0x5ae842(0xab),_0x5ae842(0xd5))){const _0x2f1442=_0xe28f70;if(_0x5ae842(0xa4)==_0xf8d99b&&_0x5ae842(0xc3)==_0x3ce83b[_0x5ae842(0xa6)]||_0x5ae842(0xb6)==_0xf8d99b&&_0x5ae842(0xef)==_0x3ce83b[_0x5ae842(0xa6)])continue;if(_0x1db4ad&&-0x1==_0x1db4ad[_0x5ae842(0xa6)][_0x5ae842(0xc6)](_0x5ae842(0xb3))){_0x5ae842(0xf1)==_0x1db4ad[_0x5ae842(0xa6)]&&(_0x1db4ad[_0xf8d99b]+='\x0a');continue;}let _0x217337;if(_0x217337=_0x5ae842(0xa4)==_0xf8d99b?_0x2f1442[_0x5ae842(0xea)]&&!this[_0x5ae842(0xf4)][_0x5ae842(0xcc)](_0x2f1442[_0x5ae842(0xea)])?_0x2f1442[_0x5ae842(0xea)]:null:_0x2f1442[_0x5ae842(0xbc)]&&!this[_0x5ae842(0xf4)][_0x5ae842(0xcc)](_0x2f1442[_0x5ae842(0xbc)])?_0x2f1442[_0x5ae842(0xbc)]:null,_0x2f1442[_0x5ae842(0xf8)]||_0x217337&&_0x217337[_0x5ae842(0xf8)]){const _0x4919cf=_0x217337&&_0x217337[_0x5ae842(0xf8)]?_0x217337:_0x2f1442;_0x1db4ad&&_0x1db4ad[_0x5ae842(0xa6)]==_0xf8d99b+_0x5ae842(0xb1)&&_0x1db4ad[_0x5ae842(0xab)][_0x5ae842(0xcb)]==_0x4919cf[_0x5ae842(0xcb)]?_0x1db4ad[_0x5ae842(0xa8)]++:_0xd21ef6[_0x5ae842(0xac)]({'type':_0xf8d99b+_0x5ae842(0xb1),'element':_0x4919cf,'quantity':0x1});}else _0xd21ef6[_0x5ae842(0xac)]({'type':_0xf8d99b+_0x5ae842(0xb3),'element':_0x2f1442});}}}}}[_0x18edd9(0xbf)](_0x6bfd3c){const _0xb38964=_0x18edd9,_0x37465c=this[_0xb38964(0xda)],_0x1770e6=[],_0x463502=[],_0x98e85b=[];for(const _0x35c059 of _0x6bfd3c)switch(_0x35c059[_0xb38964(0xa6)]){case _0xb38964(0xf1):if(_0x35c059[_0xb38964(0xa4)]=_0x35c059[_0xb38964(0xa4)][_0xb38964(0xdc)](/(\S)\u000A+(\S)/g,_0xb38964(0xf7))[_0xb38964(0xdc)](/\u000A/g,''),_0x35c059[_0xb38964(0xb6)]=_0x35c059[_0xb38964(0xb6)][_0xb38964(0xdc)](/(\S)\u000A+(\S)/g,_0xb38964(0xf7))[_0xb38964(0xdc)](/\u000A/g,''),''!=_0x35c059[_0xb38964(0xa4)]&&''!=_0x35c059[_0xb38964(0xb6)]){_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xdc),'content':_0x51ea3(_0x37465c,_0xb38964(0xf6),['\x22'+_0x35c059[_0xb38964(0xb6)]+'\x22','\x22'+_0x35c059[_0xb38964(0xa4)]+'\x22'])});continue;}if(null!=_0x35c059[_0xb38964(0xa4)][_0xb38964(0xd9)](/^ +$/)){_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xde),'content':_0x51ea3(_0x37465c,_0xb38964(0xd1),_0x51ea3(_0x37465c,_0xb38964(0xc8),_0x35c059[_0xb38964(0xa4)][_0xb38964(0xe5)]))});continue;}if(null!=_0x35c059[_0xb38964(0xb6)][_0xb38964(0xd9)](/^ +$/)){_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xce),'content':_0x51ea3(_0x37465c,_0xb38964(0xe8),_0x51ea3(_0x37465c,_0xb38964(0xc8),_0x35c059[_0xb38964(0xb6)][_0xb38964(0xe5)]))});continue;}if(''!=_0x35c059[_0xb38964(0xa4)]){_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xde),'content':_0x51ea3(_0x37465c,_0xb38964(0xd1),'\x22'+_0x35c059[_0xb38964(0xa4)]+'\x22')});continue;}_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xce),'content':_0x51ea3(_0x37465c,_0xb38964(0xe8),'\x22'+_0x35c059[_0xb38964(0xb6)]+'\x22')});continue;case _0xb38964(0xa9):case _0xb38964(0xb5):_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xde),'content':_0x51ea3(_0x37465c,_0xb38964(0xd1),this[_0xb38964(0xe4)](_0x35c059[_0xb38964(0xab)],_0x35c059[_0xb38964(0xa8)]))});continue;case _0xb38964(0xe7):case _0xb38964(0xdd):_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xce),'content':_0x51ea3(_0x37465c,_0xb38964(0xe8),this[_0xb38964(0xe4)](_0x35c059[_0xb38964(0xab)],_0x35c059[_0xb38964(0xa8)]))});continue;case _0xb38964(0xe3):_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xde),'content':_0x51ea3(_0x37465c,_0xb38964(0xb0),this[_0xb38964(0xe4)](_0x35c059[_0xb38964(0xab)],_0x35c059[_0xb38964(0xa8)]))});continue;case _0xb38964(0xbd):_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xce),'content':_0x51ea3(_0x37465c,_0xb38964(0x9f),this[_0xb38964(0xe4)](_0x35c059[_0xb38964(0xab)],_0x35c059[_0xb38964(0xa8)]))});continue;case _0xb38964(0xa1):_0x463502[_0xb38964(0xac)](_0x35c059[_0xb38964(0xdf)]);continue;case _0xb38964(0xe1):_0x98e85b[_0xb38964(0xac)](_0x35c059[_0xb38964(0xdf)]);continue;default:_0x1770e6[_0xb38964(0xac)](_0x35c059);}if(_0x463502[_0xb38964(0xe5)]){const _0x334c08=_0x463502[_0xb38964(0xe0)](_0x19f45e=>this[_0xb38964(0xf3)][_0xb38964(0xb4)](_0x19f45e)?this[_0xb38964(0xf3)][_0xb38964(0xf5)](_0x19f45e):_0x19f45e)[_0xb38964(0xd3)](',\x20');_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xd8),'content':_0x51ea3(this[_0xb38964(0xda)],_0xb38964(0xc2),_0x334c08)});}if(_0x98e85b[_0xb38964(0xe5)]){const _0x2f6c80=_0x98e85b[_0xb38964(0xe0)](_0x4f8e4b=>this[_0xb38964(0xf3)][_0xb38964(0xb4)](_0x4f8e4b)?this[_0xb38964(0xf3)][_0xb38964(0xf5)](_0x4f8e4b):_0x4f8e4b)[_0xb38964(0xd3)](',\x20');_0x1770e6[_0xb38964(0xac)]({'type':_0xb38964(0xd8),'content':_0x51ea3(this[_0xb38964(0xda)],_0xb38964(0xbb),_0x2f6c80)});}return _0x1770e6;}[_0x18edd9(0xf9)](_0x58b889){const _0x383f00=_0x18edd9;for(const _0x30f816 of this[_0x383f00(0xb8)]){const _0x5c361c=_0x30f816(_0x58b889);if(_0x5c361c&&_0x383f00(0xa6)in _0x5c361c)return _0x5c361c;}}[_0x18edd9(0xc9)](_0x4c526e,_0x24ea81){const _0xc7f8cb=_0x18edd9,_0x8ed0ff=_0x24ea81[_0xc7f8cb(0xa2)],_0x4fac38=void 0x0===_0x8ed0ff[_0xc7f8cb(0xb7)]?_0xc7f8cb(0xe1):_0xc7f8cb(0xa1);_0x4c526e[_0xc7f8cb(0xac)]({'type':_0x4fac38,'key':_0x8ed0ff[_0xc7f8cb(0xdf)]});}[_0x18edd9(0xed)](_0x4c0887,_0x474003){const _0x5808bc=_0x18edd9;_0x4c0887[_0x5808bc(0xac)]({'type':_0x5808bc(0xd8),'content':_0x51ea3(this[_0x5808bc(0xda)],_0x5808bc(0x9d),this[_0x5808bc(0xe4)](_0x474003[_0x5808bc(0xc7)]()[_0x5808bc(0xf0)][_0x5808bc(0xae)],0x1))});}[_0x18edd9(0xdb)](_0x51f65a,_0x475835,_0x460df7){const _0x1c70b9=_0x18edd9;if(this[_0x1c70b9(0xd0)](_0x51f65a,_0x475835),_0x460df7&&_0x460df7[_0x1c70b9(0xc7)]()&&!_0x475835[_0x1c70b9(0xc7)]()[_0x1c70b9(0xf2)][_0x1c70b9(0xad)](_0x460df7[_0x1c70b9(0xc7)]()[_0x1c70b9(0xf0)])){const _0x3318da=_0x51f65a[_0x51f65a[_0x1c70b9(0xe5)]-0x1],_0x55d039=_0x1c70b9(0xde)==_0x475835[_0x1c70b9(0xa6)]?_0x1c70b9(0xa4):_0x1c70b9(0xb6);_0x3318da&&_0x1c70b9(0xf1)==_0x3318da[_0x1c70b9(0xa6)]&&(_0x3318da[_0x55d039]+='\x0a');}}}
|
|
23
|
+
const _0x4dfc3f=_0x5697;(function(_0x10697,_0x1bec2b){const _0x1ed9f1=_0x5697,_0x12fa91=_0x10697();while(!![]){try{const _0x411e22=parseInt(_0x1ed9f1(0x1aa))/0x1+-parseInt(_0x1ed9f1(0x151))/0x2*(parseInt(_0x1ed9f1(0x159))/0x3)+parseInt(_0x1ed9f1(0x155))/0x4*(parseInt(_0x1ed9f1(0x174))/0x5)+parseInt(_0x1ed9f1(0x19f))/0x6+-parseInt(_0x1ed9f1(0x185))/0x7+-parseInt(_0x1ed9f1(0x16e))/0x8+-parseInt(_0x1ed9f1(0x14e))/0x9*(-parseInt(_0x1ed9f1(0x18a))/0xa);if(_0x411e22===_0x1bec2b)break;else _0x12fa91['push'](_0x12fa91['shift']());}catch(_0x42eb3a){_0x12fa91['push'](_0x12fa91['shift']());}}}(_0x9b4f,0xae793));function _0x5697(_0x2e1098,_0x4083ea){const _0x9b4f4=_0x9b4f();return _0x5697=function(_0x56976d,_0x39b1e0){_0x56976d=_0x56976d-0x14e;let _0x3bc7e5=_0x9b4f4[_0x56976d];return _0x3bc7e5;},_0x5697(_0x2e1098,_0x4083ea);}import{getTranslation as _0x45ed7c}from'./utils/common-translations.js';import{priorities as _0x180e16,insertToPriorityArray as _0x46c025}from'ckeditor5/src/utils.js';function _0x9b4f(){const _0x17250a=['match','set','_locale','attribute','*Split:*\x20%0','2679736INGYmn','*Set\x20format:*\x20%0','previousSibling','text','*Remove:*\x20%0','newValue','278065bzfRoU','start','_handleCustomCallbackDescription','isEmpty','REPLACE_TEXT','join','elementEnd','type','element','item','Object','_resolveDescriptionItems','normal','nodeAfter','getDescriptions','removeFormat','getItemLabel','8105734mepwBh','label','nextSibling','*Merge:*\x20%0','checkChild','10SHajDC','map','_customCallbacks','ELEMENT_SPACE','get','length','$1\x20$2','function','_handleInsertRemoveSuggestionDescription','registerAttributeLabel','_itemLabels','quantity','indexOf','deletion','_itemLabelsCallbacks','EmptyContainer','addContainer','format','removeEmptyContainer','insertion','*Insert:*\x20%0','8307612PGuaOX','Container','add','replace','addFormat','matchingCallback','softBreak','isInContent','_handleRenameSuggestionDescription','_attributeLabels','data','601540anBbEV','getFirstRange','registerElementLabel','*Change\x20to:*\x20%0','$textProxy','10946124IKYGss','addEmptyContainer','name','2100838MLmdbT','_addDescriptionItems','removeContainer','isEqual','4HoYHbl','subType','$text','skip','3qbKUTi','getWalker','addObject','registerDescriptionCallback','key','_handleAttributeSuggestionDescription','end','isObject','elementStart','push','remove','removeObject','has','*Remove\x20format:*\x20%0','pop','_schema'];_0x9b4f=function(){return _0x17250a;};return _0x9b4f();}import{renameAttributeKey as _0x315260}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x4dfc3f(0x18c)];[_0x4dfc3f(0x194)];[_0x4dfc3f(0x198)];[_0x4dfc3f(0x1a8)];[_0x4dfc3f(0x168)];[_0x4dfc3f(0x16b)];constructor(_0x3c52dc,_0x3e4d2a){const _0x256435=_0x4dfc3f;this[_0x256435(0x18c)]=[],this[_0x256435(0x194)]=new Map(),this[_0x256435(0x198)]=[],this[_0x256435(0x1a8)]=new Map(),this[_0x256435(0x168)]=_0x3c52dc,this[_0x256435(0x16b)]=_0x3e4d2a;}[_0x4dfc3f(0x182)](_0x230b2f){const _0x435cf5=_0x4dfc3f,_0x4208d1=[],_0x2454a2=new Set(),_0x2b1b3f=new Set();for(let _0x121b99=0x0;_0x121b99<_0x230b2f[_0x435cf5(0x18f)];_0x121b99++){const _0x3bd238=_0x230b2f[_0x121b99];if(!_0x3bd238[_0x435cf5(0x1a6)])continue;const _0x3aef6e=this[_0x435cf5(0x176)](_0x3bd238);if(_0x3aef6e){if(null!=_0x3bd238[_0x435cf5(0x156)]){if(_0x2454a2[_0x435cf5(0x165)](_0x3bd238[_0x435cf5(0x156)]))continue;_0x2454a2[_0x435cf5(0x1a1)](_0x3bd238[_0x435cf5(0x156)]);}_0x4208d1[_0x435cf5(0x162)](_0x3aef6e);}else{if(_0x435cf5(0x16c)==_0x3bd238[_0x435cf5(0x17b)]){const _0x50b0ed=_0x3bd238[_0x435cf5(0x1a9)][_0x435cf5(0x15d)];if(_0x2b1b3f[_0x435cf5(0x165)](_0x50b0ed))continue;_0x2b1b3f[_0x435cf5(0x1a1)](_0x3bd238[_0x435cf5(0x1a9)][_0x435cf5(0x15d)]),_0x50b0ed==_0x315260?this[_0x435cf5(0x1a7)](_0x4208d1,_0x3bd238):this[_0x435cf5(0x15e)](_0x4208d1,_0x3bd238);continue;}_0x435cf5(0x19d)!=_0x3bd238[_0x435cf5(0x17b)]&&_0x435cf5(0x197)!=_0x3bd238[_0x435cf5(0x17b)]||this[_0x435cf5(0x192)](_0x4208d1,_0x3bd238,_0x230b2f[_0x121b99+0x1]);}}return this[_0x435cf5(0x17f)](_0x4208d1);}[_0x4dfc3f(0x15c)](_0x523a09){const _0x202a7c=_0x4dfc3f;this[_0x202a7c(0x18c)][_0x202a7c(0x162)](_0x523a09);}[_0x4dfc3f(0x1ac)](_0x57abf5,_0xa232cd,_0x2f5331=_0x180e16[_0x4dfc3f(0x180)]){const _0x98e979=_0x4dfc3f;_0x98e979(0x191)==typeof _0x57abf5?_0x46c025(this[_0x98e979(0x198)],{'matchingCallback':_0x57abf5,'label':_0xa232cd,'priority':_0x2f5331}):this[_0x98e979(0x194)][_0x98e979(0x16a)](_0x57abf5,_0xa232cd);}[_0x4dfc3f(0x193)](_0x1cde95,_0x4058d6){const _0x1d6e0b=_0x4dfc3f;this[_0x1d6e0b(0x1a8)][_0x1d6e0b(0x16a)](_0x1cde95,_0x4058d6);}[_0x4dfc3f(0x184)](_0x360aa9,_0x5d62d2=0x1){const _0xcc7707=_0x4dfc3f;let _0x25cccc;for(const _0x26e93c of this[_0xcc7707(0x198)])if(_0x26e93c[_0xcc7707(0x1a4)](_0x360aa9)){_0x25cccc=_0x26e93c[_0xcc7707(0x186)];break;}return _0x25cccc||(_0x25cccc=this[_0xcc7707(0x194)][_0xcc7707(0x18e)](_0x360aa9[_0xcc7707(0x150)])),_0x25cccc?_0x25cccc(_0x5d62d2):0x1!==_0x5d62d2?_0x5d62d2+'\x20'+_0x360aa9[_0xcc7707(0x150)]+'s':''+_0x360aa9[_0xcc7707(0x150)];}[_0x4dfc3f(0x152)](_0x6ac5dc,_0x1f71d9){const _0x4f058e=_0x4dfc3f,_0x11cad5=_0x1f71d9[_0x4f058e(0x1ab)]()[_0x4f058e(0x15a)](),_0x514626=_0x4f058e(0x19d)==_0x1f71d9[_0x4f058e(0x17b)]?_0x4f058e(0x1a1):_0x4f058e(0x163);for(const _0x2a42f3 of _0x11cad5){const _0x4360b2=_0x2a42f3[_0x4f058e(0x17d)],_0xada62e=_0x6ac5dc[_0x6ac5dc[_0x4f058e(0x18f)]-0x1];if(_0x4360b2['is'](_0x4f058e(0x1ae)))_0xada62e&&_0xada62e[_0x4f058e(0x17b)][_0x4f058e(0x196)](_0x4f058e(0x1a0))>-0x1&&_0x6ac5dc[_0x4f058e(0x167)](),_0xada62e&&_0x4f058e(0x171)==_0xada62e[_0x4f058e(0x17b)]?_0xada62e[_0x514626]+=_0x4360b2[_0x4f058e(0x1a9)]:_0x6ac5dc[_0x4f058e(0x162)]({'type':_0x4f058e(0x171),'add':_0x4f058e(0x1a1)==_0x514626?_0x4360b2[_0x4f058e(0x1a9)]:'','remove':_0x4f058e(0x163)==_0x514626?_0x4360b2[_0x4f058e(0x1a9)]:''});else{if(this[_0x4f058e(0x168)][_0x4f058e(0x160)](_0x4360b2)){const _0x56f209=_0x4360b2;if(_0xada62e&&_0xada62e[_0x4f058e(0x17b)][_0x4f058e(0x196)](_0x4f058e(0x1a0))>-0x1&&_0x6ac5dc[_0x4f058e(0x167)](),_0x4f058e(0x17a)==_0x2a42f3[_0x4f058e(0x17b)])continue;_0xada62e&&_0xada62e[_0x4f058e(0x17b)]==_0x514626+_0x4f058e(0x17e)&&_0xada62e[_0x4f058e(0x17c)][_0x4f058e(0x150)]==_0x56f209[_0x4f058e(0x150)]?_0xada62e[_0x4f058e(0x195)]++:_0x6ac5dc[_0x4f058e(0x162)]({'type':_0x514626+_0x4f058e(0x17e),'element':_0x56f209,'quantity':0x1}),_0x11cad5[_0x4f058e(0x158)](_0x273852=>!(_0x4f058e(0x17a)==_0x273852[_0x4f058e(0x17b)]&&_0x273852[_0x4f058e(0x17d)]==_0x4360b2));}else{if(this[_0x4f058e(0x168)][_0x4f058e(0x189)](_0x4360b2,_0x4f058e(0x157))||_0x4360b2['is'](_0x4f058e(0x17c),_0x4f058e(0x1a5))){const _0x5c3c58=_0x4360b2;if(_0x4f058e(0x1a1)==_0x514626&&_0x4f058e(0x161)==_0x2a42f3[_0x4f058e(0x17b)]||_0x4f058e(0x163)==_0x514626&&_0x4f058e(0x17a)==_0x2a42f3[_0x4f058e(0x17b)])continue;if(_0xada62e&&-0x1==_0xada62e[_0x4f058e(0x17b)][_0x4f058e(0x196)](_0x4f058e(0x1a0))){_0x4f058e(0x171)==_0xada62e[_0x4f058e(0x17b)]&&(_0xada62e[_0x514626]+='\x0a');continue;}let _0x16456c;if(_0x16456c=_0x4f058e(0x1a1)==_0x514626?_0x5c3c58[_0x4f058e(0x187)]&&!this[_0x4f058e(0x168)][_0x4f058e(0x160)](_0x5c3c58[_0x4f058e(0x187)])?_0x5c3c58[_0x4f058e(0x187)]:null:_0x5c3c58[_0x4f058e(0x170)]&&!this[_0x4f058e(0x168)][_0x4f058e(0x160)](_0x5c3c58[_0x4f058e(0x170)])?_0x5c3c58[_0x4f058e(0x170)]:null,_0x5c3c58[_0x4f058e(0x177)]||_0x16456c&&_0x16456c[_0x4f058e(0x177)]){const _0x3e7ef9=_0x16456c&&_0x16456c[_0x4f058e(0x177)]?_0x16456c:_0x5c3c58;_0xada62e&&_0xada62e[_0x4f058e(0x17b)]==_0x514626+_0x4f058e(0x199)&&_0xada62e[_0x4f058e(0x17c)][_0x4f058e(0x150)]==_0x3e7ef9[_0x4f058e(0x150)]?_0xada62e[_0x4f058e(0x195)]++:_0x6ac5dc[_0x4f058e(0x162)]({'type':_0x514626+_0x4f058e(0x199),'element':_0x3e7ef9,'quantity':0x1});}else _0x6ac5dc[_0x4f058e(0x162)]({'type':_0x514626+_0x4f058e(0x1a0),'element':_0x5c3c58});}}}}}[_0x4dfc3f(0x17f)](_0xd22583){const _0x8b9ee2=_0x4dfc3f,_0x797d2=this[_0x8b9ee2(0x16b)],_0x13f7e5=[],_0x3d7432=[],_0xbf3705=[];for(const _0x5bddb0 of _0xd22583)switch(_0x5bddb0[_0x8b9ee2(0x17b)]){case _0x8b9ee2(0x171):if(_0x5bddb0[_0x8b9ee2(0x1a1)]=_0x5bddb0[_0x8b9ee2(0x1a1)][_0x8b9ee2(0x1a2)](/(\S)\u000A+(\S)/g,_0x8b9ee2(0x190))[_0x8b9ee2(0x1a2)](/\u000A/g,''),_0x5bddb0[_0x8b9ee2(0x163)]=_0x5bddb0[_0x8b9ee2(0x163)][_0x8b9ee2(0x1a2)](/(\S)\u000A+(\S)/g,_0x8b9ee2(0x190))[_0x8b9ee2(0x1a2)](/\u000A/g,''),''!=_0x5bddb0[_0x8b9ee2(0x1a1)]&&''!=_0x5bddb0[_0x8b9ee2(0x163)]){_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x1a2),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x178),['\x22'+_0x5bddb0[_0x8b9ee2(0x163)]+'\x22','\x22'+_0x5bddb0[_0x8b9ee2(0x1a1)]+'\x22'])});continue;}if(null!=_0x5bddb0[_0x8b9ee2(0x1a1)][_0x8b9ee2(0x169)](/^ +$/)){_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19d),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x19e),_0x45ed7c(_0x797d2,_0x8b9ee2(0x18d),_0x5bddb0[_0x8b9ee2(0x1a1)][_0x8b9ee2(0x18f)]))});continue;}if(null!=_0x5bddb0[_0x8b9ee2(0x163)][_0x8b9ee2(0x169)](/^ +$/)){_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x197),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x172),_0x45ed7c(_0x797d2,_0x8b9ee2(0x18d),_0x5bddb0[_0x8b9ee2(0x163)][_0x8b9ee2(0x18f)]))});continue;}if(''!=_0x5bddb0[_0x8b9ee2(0x1a1)]){_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19d),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x19e),'\x22'+_0x5bddb0[_0x8b9ee2(0x1a1)]+'\x22')});continue;}_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x197),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x172),'\x22'+_0x5bddb0[_0x8b9ee2(0x163)]+'\x22')});continue;case _0x8b9ee2(0x14f):case _0x8b9ee2(0x15b):_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19d),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x19e),this[_0x8b9ee2(0x184)](_0x5bddb0[_0x8b9ee2(0x17c)],_0x5bddb0[_0x8b9ee2(0x195)]))});continue;case _0x8b9ee2(0x19c):case _0x8b9ee2(0x164):_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x197),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x172),this[_0x8b9ee2(0x184)](_0x5bddb0[_0x8b9ee2(0x17c)],_0x5bddb0[_0x8b9ee2(0x195)]))});continue;case _0x8b9ee2(0x19a):_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19d),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x16d),this[_0x8b9ee2(0x184)](_0x5bddb0[_0x8b9ee2(0x17c)],_0x5bddb0[_0x8b9ee2(0x195)]))});continue;case _0x8b9ee2(0x153):_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x197),'content':_0x45ed7c(_0x797d2,_0x8b9ee2(0x188),this[_0x8b9ee2(0x184)](_0x5bddb0[_0x8b9ee2(0x17c)],_0x5bddb0[_0x8b9ee2(0x195)]))});continue;case _0x8b9ee2(0x1a3):_0x3d7432[_0x8b9ee2(0x162)](_0x5bddb0[_0x8b9ee2(0x15d)]);continue;case _0x8b9ee2(0x183):_0xbf3705[_0x8b9ee2(0x162)](_0x5bddb0[_0x8b9ee2(0x15d)]);continue;default:_0x13f7e5[_0x8b9ee2(0x162)](_0x5bddb0);}if(_0x3d7432[_0x8b9ee2(0x18f)]){const _0x4a71a8=_0x3d7432[_0x8b9ee2(0x18b)](_0x303a52=>this[_0x8b9ee2(0x1a8)][_0x8b9ee2(0x165)](_0x303a52)?this[_0x8b9ee2(0x1a8)][_0x8b9ee2(0x18e)](_0x303a52):_0x303a52)[_0x8b9ee2(0x179)](',\x20');_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19b),'content':_0x45ed7c(this[_0x8b9ee2(0x16b)],_0x8b9ee2(0x16f),_0x4a71a8)});}if(_0xbf3705[_0x8b9ee2(0x18f)]){const _0x52e3ab=_0xbf3705[_0x8b9ee2(0x18b)](_0x207df1=>this[_0x8b9ee2(0x1a8)][_0x8b9ee2(0x165)](_0x207df1)?this[_0x8b9ee2(0x1a8)][_0x8b9ee2(0x18e)](_0x207df1):_0x207df1)[_0x8b9ee2(0x179)](',\x20');_0x13f7e5[_0x8b9ee2(0x162)]({'type':_0x8b9ee2(0x19b),'content':_0x45ed7c(this[_0x8b9ee2(0x16b)],_0x8b9ee2(0x166),_0x52e3ab)});}return _0x13f7e5;}[_0x4dfc3f(0x176)](_0x11b3e9){const _0x580c4e=_0x4dfc3f;for(const _0x24c651 of this[_0x580c4e(0x18c)]){const _0x4b77df=_0x24c651(_0x11b3e9);if(_0x4b77df&&_0x580c4e(0x17b)in _0x4b77df)return _0x4b77df;}}[_0x4dfc3f(0x15e)](_0x1935bd,_0x497b15){const _0xdfe47d=_0x4dfc3f,_0x3bcea8=_0x497b15[_0xdfe47d(0x1a9)],_0x49e14f=void 0x0===_0x3bcea8[_0xdfe47d(0x173)]?_0xdfe47d(0x183):_0xdfe47d(0x1a3);_0x1935bd[_0xdfe47d(0x162)]({'type':_0x49e14f,'key':_0x3bcea8[_0xdfe47d(0x15d)]});}[_0x4dfc3f(0x1a7)](_0x185fff,_0x3a9929){const _0x32c2c6=_0x4dfc3f;_0x185fff[_0x32c2c6(0x162)]({'type':_0x32c2c6(0x19b),'content':_0x45ed7c(this[_0x32c2c6(0x16b)],_0x32c2c6(0x1ad),this[_0x32c2c6(0x184)](_0x3a9929[_0x32c2c6(0x1ab)]()[_0x32c2c6(0x175)][_0x32c2c6(0x181)],0x1))});}[_0x4dfc3f(0x192)](_0x4b11ca,_0x41228e,_0x13597a){const _0xe3c6b=_0x4dfc3f;if(this[_0xe3c6b(0x152)](_0x4b11ca,_0x41228e),_0x13597a&&_0x13597a[_0xe3c6b(0x1ab)]()&&!_0x41228e[_0xe3c6b(0x1ab)]()[_0xe3c6b(0x15f)][_0xe3c6b(0x154)](_0x13597a[_0xe3c6b(0x1ab)]()[_0xe3c6b(0x175)])){const _0x32fdc9=_0x4b11ca[_0x4b11ca[_0xe3c6b(0x18f)]-0x1],_0x18a972=_0xe3c6b(0x19d)==_0x41228e[_0xe3c6b(0x17b)]?_0xe3c6b(0x1a1):_0xe3c6b(0x163);_0x32fdc9&&_0xe3c6b(0x171)==_0x32fdc9[_0xe3c6b(0x17b)]&&(_0x32fdc9[_0x18a972]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x30aa(_0x53fddd,_0x1e7f61){var _0x1a947f=_0x1a94();return _0x30aa=function(_0x30aa67,_0xbc905){_0x30aa67=_0x30aa67-0x194;var _0xba66f9=_0x1a947f[_0x30aa67];return _0xba66f9;},_0x30aa(_0x53fddd,_0x1e7f61);}var _0x77311e=_0x30aa;(function(_0x949566,_0x252779){var _0x4309e2=_0x30aa,_0x541a3f=_0x949566();while(!![]){try{var _0x103d3b=parseInt(_0x4309e2(0x199))/0x1+parseInt(_0x4309e2(0x19b))/0x2*(-parseInt(_0x4309e2(0x1a2))/0x3)+parseInt(_0x4309e2(0x19f))/0x4*(parseInt(_0x4309e2(0x195))/0x5)+parseInt(_0x4309e2(0x1a8))/0x6+-parseInt(_0x4309e2(0x1ac))/0x7+-parseInt(_0x4309e2(0x198))/0x8*(parseInt(_0x4309e2(0x1a3))/0x9)+-parseInt(_0x4309e2(0x1ab))/0xa*(-parseInt(_0x4309e2(0x194))/0xb);if(_0x103d3b===_0x252779)break;else _0x541a3f['push'](_0x541a3f['shift']());}catch(_0x4ef7cc){_0x541a3f['push'](_0x541a3f['shift']());}}}(_0x1a94,0x7a20b));import{Plugin as _0x1c5e96}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x21551b}from'./trackchangesui.js';import{TrackChangesEditing as _0x22152a}from'./trackchangesediting.js';function _0x1a94(){var _0x4ec3ae=['97141NNqmur','165HyrENj','plugins','addSuggestion','24YqtzjD','709164DjPheC','get','278DtgokC','getSuggestions','getSuggestion','requires','11064EtLcck','addSuggestionData','adapter','12591PUyoZT','2932884JcvlQh','pluginName','TrackChanges','Comments','isPremiumPlugin','5181066nESFhb','isOfficialPlugin','editor','1230tNfBqj','4822440SWNMbF'];_0x1a94=function(){return _0x4ec3ae;};return _0x1a94();}import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x1c5e96{static get[_0x77311e(0x19e)](){var _0x2d4573=_0x77311e;return[_0x22152a,_0x21551b,_0x2d4573(0x1a6)];}static get[_0x77311e(0x1a4)](){var _0xb7075c=_0x77311e;return _0xb7075c(0x1a5);}static get[_0x77311e(0x1a9)](){return!0x0;}static get[_0x77311e(0x1a7)](){return!0x0;}set[_0x77311e(0x1a1)](_0x1ee5e2){var _0x3bc4c3=_0x77311e;this[_0x3bc4c3(0x1aa)][_0x3bc4c3(0x196)][_0x3bc4c3(0x19a)](_0x22152a)[_0x3bc4c3(0x1a1)]=_0x1ee5e2;}get[_0x77311e(0x1a1)](){var _0x3b56e2=_0x77311e;return this[_0x3b56e2(0x1aa)][_0x3b56e2(0x196)][_0x3b56e2(0x19a)](_0x22152a)[_0x3b56e2(0x1a1)];}[_0x77311e(0x197)](_0x53fb86){var _0x34a68d=_0x77311e;return this[_0x34a68d(0x1aa)][_0x34a68d(0x196)][_0x34a68d(0x19a)](_0x22152a)[_0x34a68d(0x1a0)](_0x53fb86);}[_0x77311e(0x19c)]({skipNotAttached:_0x43851d=!0x1,toJSON:_0x14066d=!0x1}={}){var _0x564e42=_0x77311e;return this[_0x564e42(0x1aa)][_0x564e42(0x196)][_0x564e42(0x19a)](_0x22152a)[_0x564e42(0x19c)]({'skipNotAttached':_0x43851d,'toJSON':_0x14066d});}[_0x77311e(0x19d)](_0x14a9b9){var _0x1bb965=_0x77311e;return this[_0x1bb965(0x1aa)][_0x1bb965(0x196)][_0x1bb965(0x19a)](_0x22152a)[_0x1bb965(0x19d)](_0x14a9b9);}}
|