@ckeditor/ckeditor5-track-changes 47.0.0-alpha.7 → 47.0.0-alpha.8
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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.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
|
-
function
|
|
23
|
+
const _0x5be330=_0x31a4;function _0x31a4(_0x409cda,_0x2774da){const _0x11ac37=_0x11ac();return _0x31a4=function(_0x31a4c1,_0x53949c){_0x31a4c1=_0x31a4c1-0x15b;let _0x55fb67=_0x11ac37[_0x31a4c1];return _0x55fb67;},_0x31a4(_0x409cda,_0x2774da);}(function(_0x479f56,_0x3ad55e){const _0x4fb365=_0x31a4,_0x3d5280=_0x479f56();while(!![]){try{const _0x36173b=parseInt(_0x4fb365(0x198))/0x1+parseInt(_0x4fb365(0x190))/0x2+-parseInt(_0x4fb365(0x1ae))/0x3*(parseInt(_0x4fb365(0x16a))/0x4)+-parseInt(_0x4fb365(0x1af))/0x5*(-parseInt(_0x4fb365(0x191))/0x6)+-parseInt(_0x4fb365(0x199))/0x7*(parseInt(_0x4fb365(0x19d))/0x8)+parseInt(_0x4fb365(0x15e))/0x9+parseInt(_0x4fb365(0x15f))/0xa*(-parseInt(_0x4fb365(0x172))/0xb);if(_0x36173b===_0x3ad55e)break;else _0x3d5280['push'](_0x3d5280['shift']());}catch(_0x628135){_0x3d5280['push'](_0x3d5280['shift']());}}}(_0x11ac,0x1f2f4));import{Plugin as _0x46cf92}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x2f4a63}from'./table.js';import{getTranslation as _0x172b95}from'../utils/common-translations.js';function _0x11ac(){const _0x470293=['consume','consumable','commandName','accept','addMarker:suggestion','start','_suggestionFactory','format','type','523244Esovxy','removeClass','writer','showSuggestionHighlights','forceValue','options','FORMAT_REGULAR_COLUMN','parent','11imrBvz','registerCustomCallback','headingColumns','formatBlock','markerNameToElements','has','afterInit','plugins','registerBlockAttribute','_registerLegacyDescription','ck-suggestion-marker--active','FORMAT_HEADER_ROW','_splitMarkerName','item','TrackChangesEditing','get','data','locale','ck-suggestion-marker-','registerAttributeLabel','addClass','_acceptFormatSuggestionCallbackFactory','commandParams','FORMAT_HEADER_COLUMN','TableUtils','includes','end','unbindElementFromMarkerName','highest','setAttribute','403778VONotX','180uWxFuR','registerDescriptionCallback','hasSuggestion','_handleLegacySuggestions','mapper','stop','setTableRowHeader','141305CcaawT','7pWZRyi','data-suggestion','getCellLocation','FORMAT_REGULAR_ROW','1656568VocdbD','markerName','toViewElement','setTableColumnHeader','requires','removeMarker:suggestion','nodeAfter','bindElementToMarker','TableEditing','editing','createTableWalker','headingRows','removeAttribute','*Format:*\x20%0','name','markerRange','getSuggestion','3nwysgK','22820NOOkNb','downcastDispatcher','editor','nodeBefore','activeMarkers','enableDefaultAttributesIntegration','cell','270783qMXLRh','445870iJOKXY','descriptionFactory'];_0x11ac=function(){return _0x470293;};return _0x11ac();}export class TrackChangesTableHeadings extends _0x46cf92{static get[_0x5be330(0x1a1)](){return[_0x2f4a63];}[_0x5be330(0x178)](){const _0x147192=_0x5be330,_0x1e237f=this[_0x147192(0x1b1)];if(!_0x1e237f[_0x147192(0x179)][_0x147192(0x177)](_0x147192(0x1a5)))return;const _0x687b7e=_0x1e237f[_0x147192(0x183)],_0x14d203=_0x1e237f[_0x147192(0x179)][_0x147192(0x181)](_0x147192(0x180));_0x14d203[_0x147192(0x15c)](_0x147192(0x197)),_0x14d203[_0x147192(0x15c)](_0x147192(0x1a0)),_0x14d203[_0x147192(0x17a)](_0x147192(0x1a8)),_0x14d203[_0x147192(0x17a)](_0x147192(0x174)),_0x14d203[_0x147192(0x160)][_0x147192(0x185)](_0x147192(0x1a8),_0x172b95(_0x687b7e,_0x147192(0x17d))),_0x14d203[_0x147192(0x160)][_0x147192(0x185)](_0x147192(0x174),_0x172b95(_0x687b7e,_0x147192(0x189))),this[_0x147192(0x194)]();}[_0x5be330(0x194)](){const _0x55ecb1=_0x5be330,_0x1ebb98=this[_0x55ecb1(0x1b1)][_0x55ecb1(0x179)][_0x55ecb1(0x181)](_0x55ecb1(0x180)),_0x3a173b=this[_0x55ecb1(0x1b1)][_0x55ecb1(0x179)][_0x55ecb1(0x181)](_0x55ecb1(0x18a)),_0x4c4f0d=this[_0x55ecb1(0x1b1)][_0x55ecb1(0x179)][_0x55ecb1(0x181)](_0x2f4a63)[_0x55ecb1(0x187)]();function _0x1f6374({showActiveMarker:_0x28fadb=!0x0,setDataAttribute:_0x2ddfae=!0x0}={}){return(_0x32e6ca,_0x3752fd,_0x5a3507)=>{const _0x5bdf75=_0x31a4,{type:_0x1680eb,id:_0x5b9a34}=_0x1ebb98[_0x5bdf75(0x17e)](_0x3752fd[_0x5bdf75(0x19e)]);if(!_0x1ebb98[_0x5bdf75(0x193)](_0x5b9a34))return;const _0x418269=_0x1ebb98[_0x5bdf75(0x1ad)](_0x5b9a34),_0x567136=_0x418269[_0x5bdf75(0x182)];if(_0x5bdf75(0x175)!=_0x418269[_0x5bdf75(0x169)]||!_0x567136||_0x5bdf75(0x1a0)!=_0x567136[_0x5bdf75(0x163)])return;if(_0x3752fd[_0x5bdf75(0x17f)])return void _0x32e6ca[_0x5bdf75(0x196)]();if(!_0x5a3507[_0x5bdf75(0x162)][_0x5bdf75(0x161)](_0x3752fd[_0x5bdf75(0x1ac)],_0x32e6ca[_0x5bdf75(0x1ab)]))return;const _0x54cff4=_0x3752fd[_0x5bdf75(0x1ac)][_0x5bdf75(0x166)][_0x5bdf75(0x1a3)],_0x5c4f16=_0x3752fd[_0x5bdf75(0x1ac)][_0x5bdf75(0x18c)][_0x5bdf75(0x1b2)],_0x9ab698=_0x54cff4[_0x5bdf75(0x171)][_0x5bdf75(0x171)],{column:_0x28e214}=_0x3a173b[_0x5bdf75(0x19b)](_0x54cff4),{column:_0x5aa25a}=_0x3a173b[_0x5bdf75(0x19b)](_0x5c4f16);for(let _0x137cfb=_0x28e214;_0x137cfb<=_0x5aa25a;_0x137cfb++){const _0x58f076=_0x3a173b[_0x5bdf75(0x1a7)](_0x9ab698,{'column':_0x137cfb,'includeAllSlots':!0x1});for(const _0xa0e149 of _0x58f076){const _0x12ea05=_0xa0e149[_0x5bdf75(0x15d)],_0x486739=_0x5a3507[_0x5bdf75(0x195)][_0x5bdf75(0x19f)](_0x12ea05);_0x5a3507[_0x5bdf75(0x16c)][_0x5bdf75(0x186)](_0x5bdf75(0x184)+_0x1680eb,_0x486739),_0x2ddfae&&_0x5a3507[_0x5bdf75(0x16c)][_0x5bdf75(0x18f)](_0x5bdf75(0x19a),_0x5b9a34,_0x486739),_0x5a3507[_0x5bdf75(0x195)][_0x5bdf75(0x1a4)](_0x486739,_0x3752fd[_0x5bdf75(0x19e)]),_0x28fadb&&(_0x1ebb98[_0x5bdf75(0x15b)][_0x5bdf75(0x18b)](_0x3752fd[_0x5bdf75(0x19e)])?_0x5a3507[_0x5bdf75(0x16c)][_0x5bdf75(0x186)](_0x5bdf75(0x17c),_0x486739):_0x5a3507[_0x5bdf75(0x16c)][_0x5bdf75(0x16b)](_0x5bdf75(0x17c),_0x486739));}}};}_0x1ebb98[_0x55ecb1(0x167)][_0x55ecb1(0x173)](_0x55ecb1(0x175),_0x55ecb1(0x197),_0x55ecb1(0x164),_0x4c4f0d),_0x1ebb98[_0x55ecb1(0x167)][_0x55ecb1(0x173)](_0x55ecb1(0x175),_0x55ecb1(0x1a0),_0x55ecb1(0x164),_0x4c4f0d),this[_0x55ecb1(0x1b1)][_0x55ecb1(0x1a6)][_0x55ecb1(0x1b0)]['on'](_0x55ecb1(0x165),_0x1f6374(),{'priority':_0x55ecb1(0x18e)}),this[_0x55ecb1(0x1b1)][_0x55ecb1(0x182)][_0x55ecb1(0x1b0)]['on'](_0x55ecb1(0x165),(_0x5ab257,_0x5818e9,_0x1bc5df)=>{const _0x2ade45=_0x55ecb1;_0x1bc5df[_0x2ade45(0x16f)][_0x2ade45(0x16d)]&&_0x1f6374({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5ab257,_0x5818e9,_0x1bc5df);},{'priority':_0x55ecb1(0x18e)}),this[_0x55ecb1(0x1b1)][_0x55ecb1(0x1a6)][_0x55ecb1(0x1b0)]['on'](_0x55ecb1(0x1a2),(_0x3a2f77,_0x369319,_0x50a848)=>{const _0x3d0c13=_0x55ecb1,{type:_0xfa5b45,id:_0x4294c8}=_0x1ebb98[_0x3d0c13(0x17e)](_0x369319[_0x3d0c13(0x19e)]);if(!_0x1ebb98[_0x3d0c13(0x193)](_0x4294c8))return;const _0x494b53=_0x1ebb98[_0x3d0c13(0x1ad)](_0x4294c8),_0x1046ac=_0x494b53[_0x3d0c13(0x182)];if(_0x3d0c13(0x175)!=_0x494b53[_0x3d0c13(0x169)]||!_0x1046ac||_0x3d0c13(0x1a0)!=_0x1046ac[_0x3d0c13(0x163)])return;const _0x1d1415=_0x50a848[_0x3d0c13(0x195)][_0x3d0c13(0x176)](_0x369319[_0x3d0c13(0x19e)]);if(_0x1d1415){for(const _0x25413e of _0x1d1415)_0x50a848[_0x3d0c13(0x16c)][_0x3d0c13(0x16b)](_0x3d0c13(0x184)+_0xfa5b45,_0x25413e),_0x50a848[_0x3d0c13(0x16c)][_0x3d0c13(0x16b)](_0x3d0c13(0x17c),_0x25413e),_0x50a848[_0x3d0c13(0x16c)][_0x3d0c13(0x1a9)](_0x3d0c13(0x19a),_0x25413e),_0x50a848[_0x3d0c13(0x195)][_0x3d0c13(0x18d)](_0x25413e,_0x369319[_0x3d0c13(0x19e)]);}},{'priority':_0x55ecb1(0x18e)}),this[_0x55ecb1(0x17b)]();}[_0x5be330(0x17b)](){const _0x15a818=_0x5be330,_0x3ea803=this[_0x15a818(0x1b1)],_0x3fb4f0=_0x3ea803[_0x15a818(0x183)];function _0x7492e5(_0x94dab9){const _0x23cee0=_0x15a818;return{'type':_0x23cee0(0x168),'content':_0x172b95(_0x3fb4f0,_0x23cee0(0x1aa),_0x94dab9)};}_0x3ea803[_0x15a818(0x179)][_0x15a818(0x181)](_0x15a818(0x180))[_0x15a818(0x160)][_0x15a818(0x192)](_0x37888c=>{const _0x409d15=_0x15a818;if(_0x409d15(0x175)!=_0x37888c[_0x409d15(0x169)])return;const {data:_0x501f02}=_0x37888c;if(_0x501f02){if(_0x409d15(0x197)==_0x501f02[_0x409d15(0x163)]){const _0x4a55f8=_0x501f02[_0x409d15(0x188)][0x0][_0x409d15(0x16e)];return _0x7492e5(_0x172b95(_0x3fb4f0,_0x4a55f8?_0x409d15(0x17d):_0x409d15(0x19c)));}if(_0x409d15(0x1a0)==_0x501f02[_0x409d15(0x163)]){const _0x49bb1f=_0x501f02[_0x409d15(0x188)][0x0][_0x409d15(0x16e)];return _0x7492e5(_0x172b95(_0x3fb4f0,_0x49bb1f?_0x409d15(0x189):_0x409d15(0x170)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x25980f=_0x4eca;function _0x4eca(_0x210c4b,_0x5e545f){const _0xbc40ac=_0xbc40();return _0x4eca=function(_0x4eca84,_0x1bb736){_0x4eca84=_0x4eca84-0xc3;let _0x1fcf14=_0xbc40ac[_0x4eca84];return _0x1fcf14;},_0x4eca(_0x210c4b,_0x5e545f);}(function(_0x117bd8,_0x4685f8){const _0x42ed8f=_0x4eca,_0xd7117b=_0x117bd8();while(!![]){try{const _0xbf551d=-parseInt(_0x42ed8f(0xe2))/0x1+parseInt(_0x42ed8f(0xc8))/0x2*(-parseInt(_0x42ed8f(0xc5))/0x3)+parseInt(_0x42ed8f(0xcd))/0x4+-parseInt(_0x42ed8f(0xe1))/0x5*(parseInt(_0x42ed8f(0xe0))/0x6)+parseInt(_0x42ed8f(0xcf))/0x7+parseInt(_0x42ed8f(0xce))/0x8+parseInt(_0x42ed8f(0xd7))/0x9*(parseInt(_0x42ed8f(0xc6))/0xa);if(_0xbf551d===_0x4685f8)break;else _0xd7117b['push'](_0xd7117b['shift']());}catch(_0x545b52){_0xd7117b['push'](_0xd7117b['shift']());}}}(_0xbc40,0x3b65a));import{Plugin as _0xeb20c}from'ckeditor5/src/core.js';function _0xbc40(){const _0x90b836=['insertTableLayout','6wVFHGM','1084505zsVZrH','243208Gtvoup','enableDefaultAttributesIntegration','*Set\x20table\x20type:*\x20%0','plugins','key','ELEMENT_LAYOUT_TABLE','content','format','161844dbTNFo','36370OBuPTS','registerBlockAttribute','14ETZcjH','getAttribute','newValue','registerElementLabel','TableLayout','801048rExInE','922480hYJWGg','1717604mBDyBV','ELEMENT_CONTENT_TABLE','table','locale','TrackChangesEditing','afterInit','get','editor','1287EwGHwK','enableCommand','layout','registerDescriptionCallback','has','tableType','descriptionFactory','element'];_0xbc40=function(){return _0x90b836;};return _0xbc40();}import{getTranslation as _0x489096}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0xeb20c{[_0x25980f(0xd4)](){const _0x1426ef=_0x25980f,_0x593602=this[_0x1426ef(0xd6)],_0x193c19=_0x593602[_0x1426ef(0xd2)],_0x5e5fed=_0x593602[_0x1426ef(0xe5)][_0x1426ef(0xd5)](_0x1426ef(0xd3));function _0x184aed(_0x51403a){const _0x1ad3d6=_0x1426ef;return{'type':_0x1ad3d6(0xc4),'content':''+_0x489096(_0x193c19,_0x1ad3d6(0xe4),_0x51403a)};}_0x593602[_0x1426ef(0xe5)][_0x1426ef(0xdb)](_0x1426ef(0xcc))&&(_0x5e5fed[_0x1426ef(0xd8)](_0x1426ef(0xdf)),_0x5e5fed[_0x1426ef(0xe3)](_0x1426ef(0xdc)),_0x5e5fed[_0x1426ef(0xc7)](_0x1426ef(0xdc)),_0x5e5fed[_0x1426ef(0xdd)][_0x1426ef(0xcb)](_0x43cbdb=>_0x43cbdb['is'](_0x1426ef(0xde),_0x1426ef(0xd1))&&_0x1426ef(0xd9)===_0x43cbdb[_0x1426ef(0xc9)](_0x1426ef(0xdc)),_0x725f5=>_0x489096(_0x193c19,_0x1426ef(0xe7),_0x725f5)),_0x5e5fed[_0x1426ef(0xdd)][_0x1426ef(0xda)](_0x2d683f=>{const _0x1849fe=_0x1426ef,{data:_0x141417}=_0x2d683f;if(_0x141417&&_0x1849fe(0xdc)==_0x141417[_0x1849fe(0xe6)])switch(_0x141417[_0x1849fe(0xca)]){case _0x1849fe(0xd9):return _0x184aed(_0x489096(_0x193c19,_0x1849fe(0xe7)));case _0x1849fe(0xc3):return _0x184aed(_0x489096(_0x193c19,_0x1849fe(0xd0)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d5261=_0x17a6;(function(_0x1f6ab6,_0x253b15){const _0x410387=_0x17a6,_0x1102ac=_0x1f6ab6();while(!![]){try{const _0x34908e=-parseInt(_0x410387(0x1f1))/0x1+-parseInt(_0x410387(0x1f6))/0x2*(parseInt(_0x410387(0x1fc))/0x3)+parseInt(_0x410387(0x1e6))/0x4*(-parseInt(_0x410387(0x1a6))/0x5)+parseInt(_0x410387(0x205))/0x6*(-parseInt(_0x410387(0x1fe))/0x7)+parseInt(_0x410387(0x1af))/0x8*(parseInt(_0x410387(0x1ee))/0x9)+parseInt(_0x410387(0x1f0))/0xa+parseInt(_0x410387(0x1a9))/0xb*(parseInt(_0x410387(0x1cc))/0xc);if(_0x34908e===_0x253b15)break;else _0x1102ac['push'](_0x1102ac['shift']());}catch(_0x1afb33){_0x1102ac['push'](_0x1102ac['shift']());}}}(_0x2b96,0xace2b));function _0x2b96(){const _0x2e6691=['mergeTableCellRight','mergeTableCellLeft','deletion','enableCommand','fromRange','isInContent','getSuggestions','requires','*Merge\x20cells*','*Split\x20cell:*\x20horizontally','splitTableCellVertically','rootName','formatBlock','detach','find','40nGTptW','plugins','commands','_tablePostFixingSubtypes','locale','format','element','root','16578puNXKl','containsRange','2373170OgqikY','259417nnAAsz','size','getAncestors','author','setSelection','1710902TlLtwV','document','length','$graveyard','return','get','3kLophT','getFirstPosition','7fnrTcn','_isForcedDefaultExecutionBlock','createRangeOn','registerCustomCallback','change','low','direction','5670174GRuyUY','horizontally','trackChanges','_suggestionFactory','findAncestor','tableCell','95965nnzTyc','afterInit','value','6677PfKXlX','table','markMultiRangeBlockFormat','refresh','subType','highest','328pRAjYY','splitTableCellHorizontally','_acceptFormatSuggestionCallbackFactory','type','*Split\x20cell:*\x20vertically','cell','map','getSelectionAffectedTableCells','mergeTableCellUp','formatInline','mergeTableCellDown','getRanges','editor','has','model','_areSelectedCellsMergable','filter','stop','set:isEnabled','mergeTableCells','execute','forceDefaultExecution','descriptionFactory','TableUtils','markBlockFormat','accept','createTableWalker','TrackChangesEditing','from','52332fYnHCF','getCellLocation','TableEditing','selection','commandName','isEnabled','add','registerDescriptionCallback','insertion','_areMergableCells','push'];_0x2b96=function(){return _0x2e6691;};return _0x2b96();}import{Plugin as _0xa531}from'ckeditor5/src/core.js';function _0x17a6(_0x48adcb,_0x497457){const _0x2b969b=_0x2b96();return _0x17a6=function(_0x17a6db,_0x221432){_0x17a6db=_0x17a6db-0x1a5;let _0x5e5928=_0x2b969b[_0x17a6db];return _0x5e5928;},_0x17a6(_0x48adcb,_0x497457);}import{TrackChangesTable as _0x3797a3}from'./table.js';import{ModelLiveRange as _0x1c8a84}from'ckeditor5/src/engine.js';import{getTranslation as _0x561b13}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0xa531{static get[_0x3d5261(0x1de)](){return[_0x3797a3];}[_0x3d5261(0x1a7)](){const _0x2ce080=_0x3d5261,_0x15b144=this[_0x2ce080(0x1bb)],_0x1970ae=_0x15b144[_0x2ce080(0x1bd)][_0x2ce080(0x1f7)][_0x2ce080(0x1cf)],_0x5c7132=_0x15b144[_0x2ce080(0x1ea)];if(!_0x15b144[_0x2ce080(0x1e7)][_0x2ce080(0x1bc)](_0x2ce080(0x1ce)))return;const _0x153122=_0x15b144[_0x2ce080(0x1e7)][_0x2ce080(0x1fb)](_0x2ce080(0x1ca)),_0x4ea700=_0x15b144[_0x2ce080(0x1e7)][_0x2ce080(0x1fb)](_0x2ce080(0x1c6)),_0x5bf564=_0x15b144[_0x2ce080(0x1e7)][_0x2ce080(0x1fb)](_0x3797a3);_0x5bf564[_0x2ce080(0x1e9)][_0x2ce080(0x1d6)](_0x2ce080(0x1c2)),_0x153122[_0x2ce080(0x1da)](_0x2ce080(0x1c2),()=>{const _0x2569c9=_0x2ce080,_0x1ad6c2=_0x4ea700[_0x2569c9(0x1b6)](_0x15b144[_0x2569c9(0x1bd)][_0x2569c9(0x1f7)][_0x2569c9(0x1cf)]);_0x15b144[_0x2569c9(0x1bd)][_0x2569c9(0x202)](()=>{const _0x2ff827=_0x2569c9;_0x153122[_0x2ff827(0x1ab)](_0x1ad6c2,{'commandName':_0x2ff827(0x1c2),'commandParams':[]},[],_0x2ff827(0x1c2));});}),_0x15b144[_0x2ce080(0x1e8)][_0x2ce080(0x1fb)](_0x2ce080(0x1c2))['on'](_0x2ce080(0x1c3),(_0x2ea257,_0x4490d9)=>{const _0x5fd0e9=_0x2ce080;_0x15b144[_0x5fd0e9(0x1e8)][_0x5fd0e9(0x1fb)](_0x5fd0e9(0x207))[_0x5fd0e9(0x1a8)]&&(_0x4490d9[_0x5fd0e9(0x1f8)]>0x0&&_0x4490d9[_0x4490d9[_0x5fd0e9(0x1f8)]-0x1]&&_0x4490d9[_0x4490d9[_0x5fd0e9(0x1f8)]-0x1][_0x5fd0e9(0x1c4)]||_0x153122[_0x5fd0e9(0x1ff)]||this[_0x5fd0e9(0x1be)]()||_0x2ea257[_0x5fd0e9(0x1c0)]());},{'priority':_0x2ce080(0x1ae)});for(const _0x5c50de of[_0x2ce080(0x1b7),_0x2ce080(0x1d7),_0x2ce080(0x1b9),_0x2ce080(0x1d8)]){const _0x267926=_0x15b144[_0x2ce080(0x1e8)][_0x2ce080(0x1fb)](_0x5c50de);_0x153122[_0x2ce080(0x1da)](_0x5c50de,()=>{const _0x44e4e8=_0x2ce080,_0x515d42=_0x15b144[_0x44e4e8(0x1bd)][_0x44e4e8(0x1f7)][_0x44e4e8(0x1cf)][_0x44e4e8(0x1fd)]()[_0x44e4e8(0x1f3)]()[_0x44e4e8(0x1e5)](_0x5430df=>_0x5430df['is'](_0x44e4e8(0x1ec),_0x44e4e8(0x1a5))),_0x548a12=_0x267926[_0x44e4e8(0x1a8)];_0x15b144[_0x44e4e8(0x1bd)][_0x44e4e8(0x202)](()=>{const _0x36c6e9=_0x44e4e8;_0x153122[_0x36c6e9(0x1ab)]([_0x515d42,_0x548a12],{'commandName':_0x36c6e9(0x1c2),'commandParams':[]},[],_0x36c6e9(0x1c2));});});}for(const _0x483351 of[_0x2ce080(0x1e1),_0x2ce080(0x1b0)]){const _0x37f2a7=_0x15b144[_0x2ce080(0x1e8)][_0x2ce080(0x1fb)](_0x483351);_0x153122[_0x2ce080(0x1da)](_0x483351,()=>{const _0x633e08=_0x2ce080,_0x10339e=_0x4ea700[_0x633e08(0x1b6)](_0x15b144[_0x633e08(0x1bd)][_0x633e08(0x1f7)][_0x633e08(0x1cf)])[0x0],_0xec7bdc=_0x10339e[_0x633e08(0x209)](_0x633e08(0x1aa)),{column:_0x5f019d,row:_0x30ff1c}=_0x4ea700[_0x633e08(0x1cd)](_0x10339e);let _0x28a799=[];if(_0x633e08(0x206)==_0x37f2a7[_0x633e08(0x204)]){const _0x252e46=_0x4ea700[_0x633e08(0x1c9)](_0xec7bdc,{'startRow':_0x30ff1c,'endRow':_0x30ff1c,'includeAllSlots':!0x0});_0x28a799=Array[_0x633e08(0x1cb)](_0x252e46)[_0x633e08(0x1b5)](_0x4f01d1=>_0x4f01d1[_0x633e08(0x1b4)]);}else{const _0x2c460f=_0x4ea700[_0x633e08(0x1c9)](_0xec7bdc,{'column':_0x5f019d,'includeAllSlots':!0x0});_0x28a799=Array[_0x633e08(0x1cb)](_0x2c460f)[_0x633e08(0x1b5)](_0x475f08=>_0x475f08[_0x633e08(0x1b4)]);}_0x15b144[_0x633e08(0x1bd)][_0x633e08(0x202)](_0x3bf566=>{const _0x1dc8f2=_0x633e08;_0x153122[_0x1dc8f2(0x1c7)](_0x3bf566[_0x1dc8f2(0x200)](_0x10339e),{'commandName':_0x483351,'commandParams':[]},_0x28a799,_0x483351);});});}_0x153122[_0x2ce080(0x1c5)][_0x2ce080(0x1d3)](_0x123eef=>{const _0x3de7b0=_0x2ce080;if(_0x3de7b0(0x1e3)!=_0x123eef[_0x3de7b0(0x1b2)]&&_0x3de7b0(0x1b8)!=_0x123eef[_0x3de7b0(0x1b2)])return;const {data:_0x3c9dc5}=_0x123eef;return _0x3c9dc5&&_0x3de7b0(0x1c2)==_0x3c9dc5[_0x3de7b0(0x1d0)]?{'type':_0x3de7b0(0x1eb),'content':_0x561b13(_0x5c7132,_0x3de7b0(0x1df))}:void 0x0;}),_0x153122[_0x2ce080(0x1c5)][_0x2ce080(0x1d3)](_0x27a000=>{const _0x38b585=_0x2ce080;if(_0x38b585(0x1e3)!=_0x27a000[_0x38b585(0x1b2)]&&_0x38b585(0x1b8)!=_0x27a000[_0x38b585(0x1b2)])return;const {data:_0x32d481}=_0x27a000;return _0x32d481?_0x38b585(0x1e1)==_0x32d481[_0x38b585(0x1d0)]?{'type':_0x38b585(0x1eb),'content':_0x561b13(_0x5c7132,_0x38b585(0x1b3))}:_0x38b585(0x1b0)==_0x32d481[_0x38b585(0x1d0)]?{'type':_0x38b585(0x1eb),'content':_0x561b13(_0x5c7132,_0x38b585(0x1e0))}:void 0x0:void 0x0;});const _0x2c6603=_0x5bf564[_0x2ce080(0x1b1)]();for(const _0x1031f9 of[_0x2ce080(0x1b7),_0x2ce080(0x1d7),_0x2ce080(0x1b9),_0x2ce080(0x1d8)])_0x153122[_0x2ce080(0x208)][_0x2ce080(0x201)](_0x2ce080(0x1e3),_0x1031f9,_0x2ce080(0x1c8),_0x2c6603);for(const _0x85aab8 of[_0x2ce080(0x1e1),_0x2ce080(0x1b0)])_0x153122[_0x2ce080(0x208)][_0x2ce080(0x201)](_0x2ce080(0x1e3),_0x85aab8,_0x2ce080(0x1c8),_0x2c6603);_0x153122[_0x2ce080(0x208)][_0x2ce080(0x201)](_0x2ce080(0x1e3),_0x2ce080(0x1c2),_0x2ce080(0x1c8),_0x3b33d9=>{const _0x52b02e=_0x2ce080;_0x15b144[_0x52b02e(0x1bd)][_0x52b02e(0x202)](_0x45d517=>{const _0x405449=_0x52b02e,_0x22ebee=Array[_0x405449(0x1cb)](_0x1970ae[_0x405449(0x1ba)]())[_0x405449(0x1b5)](_0x417c7e=>_0x1c8a84[_0x405449(0x1db)](_0x417c7e));_0x45d517[_0x405449(0x1f5)](_0x3b33d9),_0x15b144[_0x405449(0x1e8)][_0x405449(0x1fb)](_0x405449(0x1c2))[_0x405449(0x1ac)](),_0x15b144[_0x405449(0x1c3)](_0x405449(0x1c2),{'forceDefaultExecution':!0x0});const _0x248527=_0x22ebee[_0x405449(0x1bf)](_0x2376ed=>_0x405449(0x1f9)!=_0x2376ed[_0x405449(0x1ed)][_0x405449(0x1e2)]);_0x248527[_0x405449(0x1f8)]>0x0&&_0x45d517[_0x405449(0x1f5)](_0x248527);for(const _0x3cfd96 of _0x22ebee)_0x3cfd96[_0x405449(0x1e4)]();});});for(const _0x31eab5 of[_0x2ce080(0x1b7),_0x2ce080(0x1b9),_0x2ce080(0x1d8),_0x2ce080(0x1d7)]){const _0x19527c=_0x15b144[_0x2ce080(0x1e8)][_0x2ce080(0x1fb)](_0x31eab5);_0x19527c['on'](_0x2ce080(0x1c1),(_0x4076cc,_0x152545,_0x1573a1)=>{const _0x2e15a2=_0x2ce080;if(_0x1573a1){const _0x54e2b8=_0x15b144[_0x2e15a2(0x1bd)][_0x2e15a2(0x1f7)][_0x2e15a2(0x1cf)][_0x2e15a2(0x1fd)]()[_0x2e15a2(0x1f3)]()[_0x2e15a2(0x1e5)](_0x249c16=>_0x249c16['is'](_0x2e15a2(0x1ec),_0x2e15a2(0x1a5)));this[_0x2e15a2(0x1d5)](_0x19527c[_0x2e15a2(0x1a8)],_0x54e2b8)||(_0x4076cc[_0x2e15a2(0x1fa)]=!0x1,_0x4076cc[_0x2e15a2(0x1c0)]());}},{'priority':_0x2ce080(0x203)});}}[_0x3d5261(0x1be)](){const _0x4a5176=_0x3d5261,_0x2415e7=this[_0x4a5176(0x1bb)][_0x4a5176(0x1e8)][_0x4a5176(0x1fb)](_0x4a5176(0x1c2)),_0x53d29d=this[_0x4a5176(0x1bb)][_0x4a5176(0x1e7)][_0x4a5176(0x1fb)](_0x4a5176(0x1c6));if(!_0x2415e7[_0x4a5176(0x1d1)])return!0x1;const _0x1781a1=_0x53d29d[_0x4a5176(0x1b6)](this[_0x4a5176(0x1bb)][_0x4a5176(0x1bd)][_0x4a5176(0x1f7)][_0x4a5176(0x1cf)]);for(const _0x45e4bd of _0x1781a1)for(const _0x27336b of _0x1781a1)if(_0x45e4bd!=_0x27336b&&!this[_0x4a5176(0x1d5)](_0x45e4bd,_0x27336b))return!0x1;return!0x0;}[_0x3d5261(0x1d5)](_0xb47c5b,_0x11d491){const _0x3c2dea=_0x3d5261,_0x167f6b=this[_0x3c2dea(0x1bb)][_0x3c2dea(0x1e7)][_0x3c2dea(0x1fb)](_0x3c2dea(0x1ca)),_0x1ef646=this[_0x3c2dea(0x1bb)][_0x3c2dea(0x1bd)][_0x3c2dea(0x200)](_0xb47c5b),_0x5db471=this[_0x3c2dea(0x1bb)][_0x3c2dea(0x1bd)][_0x3c2dea(0x200)](_0x11d491),_0x5878ca=new Set(),_0x533f02=new Set();for(const _0x37be90 of _0x167f6b[_0x3c2dea(0x1dd)]())if((_0x3c2dea(0x1d4)==_0x37be90[_0x3c2dea(0x1b2)]||_0x3c2dea(0x1d9)==_0x37be90[_0x3c2dea(0x1b2)]||_0x3c2dea(0x1c2)==_0x37be90[_0x3c2dea(0x1ad)])&&_0x37be90[_0x3c2dea(0x1dc)]){for(const _0x4c7862 of _0x37be90[_0x3c2dea(0x1ba)]())_0x4c7862[_0x3c2dea(0x1ef)](_0x1ef646,!0x0)&&_0x5878ca[_0x3c2dea(0x1d2)](_0x37be90[_0x3c2dea(0x1b2)]+':'+_0x37be90[_0x3c2dea(0x1f4)]['id']),_0x4c7862[_0x3c2dea(0x1ef)](_0x5db471,!0x0)&&_0x533f02[_0x3c2dea(0x1d2)](_0x37be90[_0x3c2dea(0x1b2)]+':'+_0x37be90[_0x3c2dea(0x1f4)]['id']);}if(_0x5878ca[_0x3c2dea(0x1f2)]!=_0x533f02[_0x3c2dea(0x1f2)])return!0x1;for(const _0x363a0c of _0x5878ca)if(!_0x533f02[_0x3c2dea(0x1bc)](_0x363a0c))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x9585aa=_0xec15;(function(_0x3bdd85,_0x195eec){const _0x4a61cf=_0xec15,_0x2d5c5c=_0x3bdd85();while(!![]){try{const _0x50eab4=-parseInt(_0x4a61cf(0x18a))/0x1*(parseInt(_0x4a61cf(0x1ce))/0x2)+-parseInt(_0x4a61cf(0x1c7))/0x3+parseInt(_0x4a61cf(0x1bb))/0x4*(-parseInt(_0x4a61cf(0x1da))/0x5)+parseInt(_0x4a61cf(0x1df))/0x6+-parseInt(_0x4a61cf(0x184))/0x7*(parseInt(_0x4a61cf(0x1dc))/0x8)+parseInt(_0x4a61cf(0x19a))/0x9*(-parseInt(_0x4a61cf(0x1c1))/0xa)+parseInt(_0x4a61cf(0x18f))/0xb*(parseInt(_0x4a61cf(0x1cd))/0xc);if(_0x50eab4===_0x195eec)break;else _0x2d5c5c['push'](_0x2d5c5c['shift']());}catch(_0x10e60a){_0x2d5c5c['push'](_0x2d5c5c['shift']());}}}(_0x487a,0xc55c0));function _0xec15(_0x2692e9,_0x2adf6e){const _0x487ad5=_0x487a();return _0xec15=function(_0xec15de,_0x2693c4){_0xec15de=_0xec15de-0x183;let _0x509c15=_0x487ad5[_0xec15de];return _0x509c15;},_0xec15(_0x2692e9,_0x2adf6e);}import{Plugin as _0x19827d}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x44f9c5}from'./table.js';import{ModelLiveRange as _0x37dda9}from'ckeditor5/src/engine.js';import{getTranslation as _0x218166}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x19827d{static get[_0x9585aa(0x193)](){return[_0x44f9c5];}[_0x9585aa(0x1e2)](){const _0x5d2c74=_0x9585aa,_0x4935ba=this[_0x5d2c74(0x1a3)],_0x1971da=_0x4935ba[_0x5d2c74(0x1dd)][_0x5d2c74(0x1d6)][_0x5d2c74(0x1b5)],_0x507ae8=_0x4935ba[_0x5d2c74(0x1db)];if(!_0x4935ba[_0x5d2c74(0x1ca)][_0x5d2c74(0x1c8)](_0x5d2c74(0x1a0)))return;const _0x518eba=_0x4935ba[_0x5d2c74(0x1ca)][_0x5d2c74(0x1c4)](_0x5d2c74(0x185)),_0x5449ed=_0x4935ba[_0x5d2c74(0x1ca)][_0x5d2c74(0x1c4)](_0x5d2c74(0x1d9)),_0x18e808=_0x4935ba[_0x5d2c74(0x1ca)][_0x5d2c74(0x1c4)](_0x44f9c5);_0x18e808[_0x5d2c74(0x1d3)][_0x5d2c74(0x1e6)](_0x5d2c74(0x1ac)),_0x518eba[_0x5d2c74(0x1b2)](_0x5d2c74(0x1ac),()=>{const _0x25ce00=_0x5d2c74,_0x470c6f=_0x5449ed[_0x25ce00(0x1a1)](_0x4935ba[_0x25ce00(0x1dd)][_0x25ce00(0x1d6)][_0x25ce00(0x1b5)]);_0x4935ba[_0x25ce00(0x1dd)][_0x25ce00(0x19d)](()=>{const _0x12ed96=_0x25ce00;_0x518eba[_0x12ed96(0x1e3)](_0x470c6f,{'commandName':_0x12ed96(0x1ac),'commandParams':[]},[],_0x12ed96(0x1ac));});}),_0x4935ba[_0x5d2c74(0x1a5)][_0x5d2c74(0x1c4)](_0x5d2c74(0x1ac))['on'](_0x5d2c74(0x1e4),(_0x36f7c0,_0x36c7dd)=>{const _0x36fc97=_0x5d2c74;_0x4935ba[_0x36fc97(0x1a5)][_0x36fc97(0x1c4)](_0x36fc97(0x1cf))[_0x36fc97(0x1a2)]&&(_0x36c7dd[_0x36fc97(0x1e0)]>0x0&&_0x36c7dd[_0x36c7dd[_0x36fc97(0x1e0)]-0x1]&&_0x36c7dd[_0x36c7dd[_0x36fc97(0x1e0)]-0x1][_0x36fc97(0x188)]||_0x518eba[_0x36fc97(0x18c)]||this[_0x36fc97(0x1ad)]()||_0x36f7c0[_0x36fc97(0x18b)]());},{'priority':_0x5d2c74(0x1c5)});for(const _0x36296a of[_0x5d2c74(0x190),_0x5d2c74(0x199),_0x5d2c74(0x19f),_0x5d2c74(0x189)]){const _0x5cd5a0=_0x4935ba[_0x5d2c74(0x1a5)][_0x5d2c74(0x1c4)](_0x36296a);_0x518eba[_0x5d2c74(0x1b2)](_0x36296a,()=>{const _0x4e2184=_0x5d2c74,_0xd42882=_0x4935ba[_0x4e2184(0x1dd)][_0x4e2184(0x1d6)][_0x4e2184(0x1b5)][_0x4e2184(0x1af)]()[_0x4e2184(0x187)]()[_0x4e2184(0x192)](_0x637493=>_0x637493['is'](_0x4e2184(0x198),_0x4e2184(0x1bc))),_0x5e2f2b=_0x5cd5a0[_0x4e2184(0x1a2)];_0x4935ba[_0x4e2184(0x1dd)][_0x4e2184(0x19d)](()=>{const _0x40ed6f=_0x4e2184;_0x518eba[_0x40ed6f(0x1e3)]([_0xd42882,_0x5e2f2b],{'commandName':_0x40ed6f(0x1ac),'commandParams':[]},[],_0x40ed6f(0x1ac));});});}for(const _0x35dd6f of[_0x5d2c74(0x1e5),_0x5d2c74(0x186)]){const _0x193e8d=_0x4935ba[_0x5d2c74(0x1a5)][_0x5d2c74(0x1c4)](_0x35dd6f);_0x518eba[_0x5d2c74(0x1b2)](_0x35dd6f,()=>{const _0x208cf7=_0x5d2c74,_0xfdc44a=_0x5449ed[_0x208cf7(0x1a1)](_0x4935ba[_0x208cf7(0x1dd)][_0x208cf7(0x1d6)][_0x208cf7(0x1b5)])[0x0],_0xc64160=_0xfdc44a[_0x208cf7(0x1cc)](_0x208cf7(0x1b4)),{column:_0x3116ab,row:_0x5eea42}=_0x5449ed[_0x208cf7(0x1be)](_0xfdc44a);let _0xe9d82f=[];if(_0x208cf7(0x1c0)==_0x193e8d[_0x208cf7(0x1d8)]){const _0xb938a9=_0x5449ed[_0x208cf7(0x1b1)](_0xc64160,{'startRow':_0x5eea42,'endRow':_0x5eea42,'includeAllSlots':!0x0});_0xe9d82f=Array[_0x208cf7(0x1b7)](_0xb938a9)[_0x208cf7(0x191)](_0xa1654b=>_0xa1654b[_0x208cf7(0x183)]);}else{const _0x1f25d6=_0x5449ed[_0x208cf7(0x1b1)](_0xc64160,{'column':_0x3116ab,'includeAllSlots':!0x0});_0xe9d82f=Array[_0x208cf7(0x1b7)](_0x1f25d6)[_0x208cf7(0x191)](_0xb59e5e=>_0xb59e5e[_0x208cf7(0x183)]);}_0x4935ba[_0x208cf7(0x1dd)][_0x208cf7(0x19d)](_0x1be555=>{const _0xb7ac88=_0x208cf7;_0x518eba[_0xb7ac88(0x1ab)](_0x1be555[_0xb7ac88(0x1a4)](_0xfdc44a),{'commandName':_0x35dd6f,'commandParams':[]},_0xe9d82f,_0x35dd6f);});});}_0x518eba[_0x5d2c74(0x1b3)][_0x5d2c74(0x1bf)](_0xada952=>{const _0x3f76e3=_0x5d2c74;if(_0x3f76e3(0x1c3)!=_0xada952[_0x3f76e3(0x1d2)]&&_0x3f76e3(0x1de)!=_0xada952[_0x3f76e3(0x1d2)])return;const {data:_0x802023}=_0xada952;return _0x802023&&_0x3f76e3(0x1ac)==_0x802023[_0x3f76e3(0x1cb)]?{'type':_0x3f76e3(0x1aa),'content':_0x218166(_0x507ae8,_0x3f76e3(0x1d4))}:void 0x0;}),_0x518eba[_0x5d2c74(0x1b3)][_0x5d2c74(0x1bf)](_0x5ed1f2=>{const _0x70ceba=_0x5d2c74;if(_0x70ceba(0x1c3)!=_0x5ed1f2[_0x70ceba(0x1d2)]&&_0x70ceba(0x1de)!=_0x5ed1f2[_0x70ceba(0x1d2)])return;const {data:_0x48fc15}=_0x5ed1f2;return _0x48fc15?_0x70ceba(0x1e5)==_0x48fc15[_0x70ceba(0x1cb)]?{'type':_0x70ceba(0x1aa),'content':_0x218166(_0x507ae8,_0x70ceba(0x1d0))}:_0x70ceba(0x186)==_0x48fc15[_0x70ceba(0x1cb)]?{'type':_0x70ceba(0x1aa),'content':_0x218166(_0x507ae8,_0x70ceba(0x1b9))}:void 0x0:void 0x0;});const _0x37c79a=_0x18e808[_0x5d2c74(0x197)]();for(const _0x39b812 of[_0x5d2c74(0x190),_0x5d2c74(0x199),_0x5d2c74(0x19f),_0x5d2c74(0x189)])_0x518eba[_0x5d2c74(0x1b6)][_0x5d2c74(0x1a8)](_0x5d2c74(0x1c3),_0x39b812,_0x5d2c74(0x1a7),_0x37c79a);for(const _0x3b1266 of[_0x5d2c74(0x1e5),_0x5d2c74(0x186)])_0x518eba[_0x5d2c74(0x1b6)][_0x5d2c74(0x1a8)](_0x5d2c74(0x1c3),_0x3b1266,_0x5d2c74(0x1a7),_0x37c79a);_0x518eba[_0x5d2c74(0x1b6)][_0x5d2c74(0x1a8)](_0x5d2c74(0x1c3),_0x5d2c74(0x1ac),_0x5d2c74(0x1a7),_0x64adea=>{const _0x79a7b9=_0x5d2c74;_0x4935ba[_0x79a7b9(0x1dd)][_0x79a7b9(0x19d)](_0x58fd74=>{const _0x44b481=_0x79a7b9,_0x35ce62=Array[_0x44b481(0x1b7)](_0x1971da[_0x44b481(0x194)]())[_0x44b481(0x191)](_0x419162=>_0x37dda9[_0x44b481(0x18e)](_0x419162));_0x58fd74[_0x44b481(0x1e1)](_0x64adea),_0x4935ba[_0x44b481(0x1a5)][_0x44b481(0x1c4)](_0x44b481(0x1ac))[_0x44b481(0x1e7)](),_0x4935ba[_0x44b481(0x1e4)](_0x44b481(0x1ac),{'forceDefaultExecution':!0x0});const _0x343ca7=_0x35ce62[_0x44b481(0x1ba)](_0x3feb32=>_0x44b481(0x1c6)!=_0x3feb32[_0x44b481(0x19e)][_0x44b481(0x1b0)]);_0x343ca7[_0x44b481(0x1e0)]>0x0&&_0x58fd74[_0x44b481(0x1e1)](_0x343ca7);for(const _0x1de3f5 of _0x35ce62)_0x1de3f5[_0x44b481(0x1c2)]();});});for(const _0xefbf2b of[_0x5d2c74(0x190),_0x5d2c74(0x19f),_0x5d2c74(0x189),_0x5d2c74(0x199)]){const _0x343e30=_0x4935ba[_0x5d2c74(0x1a5)][_0x5d2c74(0x1c4)](_0xefbf2b);_0x343e30['on'](_0x5d2c74(0x19b),(_0x1c86a5,_0x348673,_0x5804fa)=>{const _0x148da2=_0x5d2c74;if(_0x5804fa){const _0x3d289e=_0x4935ba[_0x148da2(0x1dd)][_0x148da2(0x1d6)][_0x148da2(0x1b5)][_0x148da2(0x1af)]()[_0x148da2(0x187)]()[_0x148da2(0x192)](_0x1384c4=>_0x1384c4['is'](_0x148da2(0x198),_0x148da2(0x1bc)));this[_0x148da2(0x1ae)](_0x343e30[_0x148da2(0x1a2)],_0x3d289e)||(_0x1c86a5[_0x148da2(0x1c9)]=!0x1,_0x1c86a5[_0x148da2(0x18b)]());}},{'priority':_0x5d2c74(0x1a6)});}}[_0x9585aa(0x1ad)](){const _0x2cfdf8=_0x9585aa,_0x3e631f=this[_0x2cfdf8(0x1a3)][_0x2cfdf8(0x1a5)][_0x2cfdf8(0x1c4)](_0x2cfdf8(0x1ac)),_0xe8efab=this[_0x2cfdf8(0x1a3)][_0x2cfdf8(0x1ca)][_0x2cfdf8(0x1c4)](_0x2cfdf8(0x1d9));if(!_0x3e631f[_0x2cfdf8(0x196)])return!0x1;const _0x234473=_0xe8efab[_0x2cfdf8(0x1a1)](this[_0x2cfdf8(0x1a3)][_0x2cfdf8(0x1dd)][_0x2cfdf8(0x1d6)][_0x2cfdf8(0x1b5)]);for(const _0x2bf022 of _0x234473)for(const _0x22530f of _0x234473)if(_0x2bf022!=_0x22530f&&!this[_0x2cfdf8(0x1ae)](_0x2bf022,_0x22530f))return!0x1;return!0x0;}[_0x9585aa(0x1ae)](_0x1d23ee,_0x49f561){const _0x3571c7=_0x9585aa,_0xd474bb=this[_0x3571c7(0x1a3)][_0x3571c7(0x1ca)][_0x3571c7(0x1c4)](_0x3571c7(0x185)),_0x1bd145=this[_0x3571c7(0x1a3)][_0x3571c7(0x1dd)][_0x3571c7(0x1a4)](_0x1d23ee),_0x5c991d=this[_0x3571c7(0x1a3)][_0x3571c7(0x1dd)][_0x3571c7(0x1a4)](_0x49f561),_0x51ddca=new Set(),_0x1bbc47=new Set();for(const _0x202ef8 of _0xd474bb[_0x3571c7(0x1a9)]())if((_0x3571c7(0x1bd)==_0x202ef8[_0x3571c7(0x1d2)]||_0x3571c7(0x1d1)==_0x202ef8[_0x3571c7(0x1d2)]||_0x3571c7(0x1ac)==_0x202ef8[_0x3571c7(0x18d)])&&_0x202ef8[_0x3571c7(0x19c)]){for(const _0x57ec84 of _0x202ef8[_0x3571c7(0x194)]())_0x57ec84[_0x3571c7(0x1b8)](_0x1bd145,!0x0)&&_0x51ddca[_0x3571c7(0x1d5)](_0x202ef8[_0x3571c7(0x1d2)]+':'+_0x202ef8[_0x3571c7(0x195)]['id']),_0x57ec84[_0x3571c7(0x1b8)](_0x5c991d,!0x0)&&_0x1bbc47[_0x3571c7(0x1d5)](_0x202ef8[_0x3571c7(0x1d2)]+':'+_0x202ef8[_0x3571c7(0x195)]['id']);}if(_0x51ddca[_0x3571c7(0x1d7)]!=_0x1bbc47[_0x3571c7(0x1d7)])return!0x1;for(const _0xe8fc5b of _0x51ddca)if(!_0x1bbc47[_0x3571c7(0x1c8)](_0xe8fc5b))return!0x1;return!0x0;}}function _0x487a(){const _0x11d5a3=['detach','formatBlock','get','highest','$graveyard','1045311loOBkI','has','return','plugins','commandName','findAncestor','36DgbLAp','2ISyJBB','trackChanges','*Split\x20cell:*\x20vertically','deletion','type','_tablePostFixingSubtypes','*Merge\x20cells*','add','document','size','direction','TableUtils','10UmzGaE','locale','73928FgArlY','model','formatInline','4461576HsushH','length','setSelection','afterInit','markMultiRangeBlockFormat','execute','splitTableCellVertically','push','refresh','cell','1071jworIW','TrackChangesEditing','splitTableCellHorizontally','getAncestors','forceDefaultExecution','mergeTableCellLeft','725687XwHGxG','stop','_isForcedDefaultExecutionBlock','subType','fromRange','10455709kKKrlj','mergeTableCellUp','map','find','requires','getRanges','author','isEnabled','_acceptFormatSuggestionCallbackFactory','element','mergeTableCellRight','83349jmztOE','set:isEnabled','isInContent','change','root','mergeTableCellDown','TableEditing','getSelectionAffectedTableCells','value','editor','createRangeOn','commands','low','accept','registerCustomCallback','getSuggestions','format','markBlockFormat','mergeTableCells','_areSelectedCellsMergable','_areMergableCells','getFirstPosition','rootName','createTableWalker','enableCommand','descriptionFactory','table','selection','_suggestionFactory','from','containsRange','*Split\x20cell:*\x20horizontally','filter','449368PJpeNz','tableCell','insertion','getCellLocation','registerDescriptionCallback','horizontally','80OlODEj'];_0x487a=function(){return _0x11d5a3;};return _0x487a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ce05a=_0x1087;(function(_0x5379ac,_0x343c68){const _0x394860=_0x1087,_0x400350=_0x5379ac();while(!![]){try{const _0x57c64b=-parseInt(_0x394860(0xd7))/0x1*(-parseInt(_0x394860(0xe9))/0x2)+parseInt(_0x394860(0xe5))/0x3*(-parseInt(_0x394860(0xdd))/0x4)+-parseInt(_0x394860(0xda))/0x5*(parseInt(_0x394860(0xe4))/0x6)+-parseInt(_0x394860(0xd8))/0x7+-parseInt(_0x394860(0xe1))/0x8+parseInt(_0x394860(0xe7))/0x9+parseInt(_0x394860(0xde))/0xa;if(_0x57c64b===_0x343c68)break;else _0x400350['push'](_0x400350['shift']());}catch(_0x4588f7){_0x400350['push'](_0x400350['shift']());}}}(_0x3688,0x9bf8a));function _0x3688(){const _0x571c19=['tableOfContents','6645249wRWaIn','afterInit','1111130GBkWtC','commands','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','insertTableOfContents','1dWaElL','2286690RCWOZo','editor','490URYSog','enableCommand','locale','717532eHPRuM','18427110bbtLCg','TrackChangesEditing','registerElementLabel','5809672OhDfAl','get','plugins','66498yzGulA','6YnTGGR'];_0x3688=function(){return _0x571c19;};return _0x3688();}import{Plugin as _0x2f22d3}from'ckeditor5/src/core.js';function _0x1087(_0x474a09,_0x2367ac){const _0x36885d=_0x3688();return _0x1087=function(_0x1087d2,_0x4e0e91){_0x1087d2=_0x1087d2-0xd6;let _0x54b40b=_0x36885d[_0x1087d2];return _0x54b40b;},_0x1087(_0x474a09,_0x2367ac);}import{getTranslation as _0x19c898}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x2f22d3{[_0x3ce05a(0xe8)](){const _0x9f894c=_0x3ce05a,_0x592c57=this[_0x9f894c(0xd9)];if(!_0x592c57[_0x9f894c(0xea)][_0x9f894c(0xe2)](_0x9f894c(0xd6)))return;_0x592c57[_0x9f894c(0xe3)][_0x9f894c(0xe2)](_0x9f894c(0xdf))[_0x9f894c(0xdb)](_0x9f894c(0xd6));const _0x863a01=_0x592c57[_0x9f894c(0xe3)][_0x9f894c(0xe2)](_0x9f894c(0xdf)),_0x245555=_0x592c57[_0x9f894c(0xdc)];_0x863a01[_0x9f894c(0xeb)][_0x9f894c(0xe0)](_0x9f894c(0xe6),_0x403b6f=>_0x19c898(_0x245555,_0x9f894c(0xec),_0x403b6f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x17c750=_0x28a9;function _0x28a9(_0xd61dc4,_0x2eb116){const _0x28734f=_0x2873();return _0x28a9=function(_0x28a913,_0x4e368c){_0x28a913=_0x28a913-0x7a;let _0xb30d73=_0x28734f[_0x28a913];return _0xb30d73;},_0x28a9(_0xd61dc4,_0x2eb116);}(function(_0x5e4968,_0x33f206){const _0x469aac=_0x28a9,_0x4e2193=_0x5e4968();while(!![]){try{const _0x11e334=-parseInt(_0x469aac(0x9f))/0x1*(-parseInt(_0x469aac(0x7a))/0x2)+-parseInt(_0x469aac(0x7b))/0x3+-parseInt(_0x469aac(0xc0))/0x4+-parseInt(_0x469aac(0xb5))/0x5*(-parseInt(_0x469aac(0x9c))/0x6)+-parseInt(_0x469aac(0xaa))/0x7*(-parseInt(_0x469aac(0xc6))/0x8)+parseInt(_0x469aac(0x97))/0x9+parseInt(_0x469aac(0x95))/0xa*(parseInt(_0x469aac(0xcc))/0xb);if(_0x11e334===_0x33f206)break;else _0x4e2193['push'](_0x4e2193['shift']());}catch(_0x91dc7c){_0x4e2193['push'](_0x4e2193['shift']());}}}(_0x2873,0x9b095));import{Plugin as _0x2af043}from'ckeditor5/src/core.js';import{getTranslation as _0x27899a}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x2af043{[_0x17c750(0xb2)];[_0x17c750(0xc9)];constructor(_0x341eeb){const _0x3cc407=_0x17c750;super(_0x341eeb),this[_0x3cc407(0xb2)]=[_0x3cc407(0x84),_0x3cc407(0x80),_0x3cc407(0xa8),_0x3cc407(0x82),_0x3cc407(0xa2),_0x3cc407(0xc4),_0x3cc407(0xbe)],this[_0x3cc407(0xc9)]=[_0x3cc407(0xa7),_0x3cc407(0x8d),_0x3cc407(0xa3),_0x3cc407(0x88),_0x3cc407(0x8b),_0x3cc407(0xbc),_0x3cc407(0xbf),_0x3cc407(0xb8),_0x3cc407(0xa6)];}static get[_0x17c750(0xae)](){const _0x44db36=_0x17c750;return _0x44db36(0xb9);}static get[_0x17c750(0x98)](){return!0x0;}static get[_0x17c750(0x83)](){return!0x0;}[_0x17c750(0xca)](){const _0x1e3c0d=_0x17c750,_0x5b3d17=this[_0x1e3c0d(0x7c)][_0x1e3c0d(0x7d)][_0x1e3c0d(0xa1)](_0x1e3c0d(0x93));if(this[_0x1e3c0d(0x7c)][_0x1e3c0d(0x7d)][_0x1e3c0d(0xb0)](_0x1e3c0d(0xb6))){for(const _0x22bd0c of this[_0x1e3c0d(0xb2)])_0x5b3d17[_0x1e3c0d(0x8a)](_0x22bd0c,(_0x1156d3,_0x17f927)=>{const _0x3d8a18=_0x1e3c0d,_0x26c47d=this[_0x3d8a18(0x7c)][_0x3d8a18(0xb7)][_0x3d8a18(0xc5)][_0x3d8a18(0xd1)][_0x3d8a18(0x7e)]()[_0x3d8a18(0xce)](_0x3d8a18(0xba));this[_0x3d8a18(0x8e)](_0x22bd0c,[_0x26c47d],this[_0x3d8a18(0xb2)],_0x3d8a18(0xb2),_0x1156d3,_0x17f927);});_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xb2),_0x1e3c0d(0xa4),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x8c)](_0x1e3c0d(0x8f),null,_0x1e3c0d(0xbb))),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xb2),_0x1e3c0d(0xbb),(_0x3356d1,_0x153f9e)=>this[_0x1e3c0d(0xa5)](this[_0x1e3c0d(0xb2)],_0x3356d1,_0x153f9e)),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xb2),_0x1e3c0d(0xaf),()=>!0x1);}if(this[_0x1e3c0d(0x7c)][_0x1e3c0d(0x7d)][_0x1e3c0d(0xb0)](_0x1e3c0d(0xcd))){for(const _0x1302d4 of this[_0x1e3c0d(0xc9)])_0x5b3d17[_0x1e3c0d(0x8a)](_0x1302d4,(_0x49184c,_0xd94c27)=>{const _0x21d4e4=_0x1e3c0d,_0x37f638=this[_0x21d4e4(0x7c)][_0x21d4e4(0x7d)][_0x21d4e4(0xa1)](_0x21d4e4(0x92))[_0x21d4e4(0x90)](this[_0x21d4e4(0x7c)][_0x21d4e4(0xb7)][_0x21d4e4(0xc5)][_0x21d4e4(0xd1)]);this[_0x21d4e4(0x8e)](_0x1302d4,_0x37f638,this[_0x21d4e4(0xc9)],_0x21d4e4(0xc9),_0x49184c,_0xd94c27);});_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xc9),_0x1e3c0d(0xa4),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x8c)](_0x1e3c0d(0x8f),null,_0x1e3c0d(0xbb))),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xc9),_0x1e3c0d(0xbb),(_0x51bc74,_0x1cbfe8)=>this[_0x1e3c0d(0xa5)](this[_0x1e3c0d(0xc9)],_0x51bc74,_0x1cbfe8)),_0x5b3d17[_0x1e3c0d(0x99)][_0x1e3c0d(0x85)](_0x1e3c0d(0x8f),_0x1e3c0d(0xc9),_0x1e3c0d(0xaf),()=>!0x1);}_0x5b3d17[_0x1e3c0d(0xb4)][_0x1e3c0d(0xc2)](_0x1eacbc=>this[_0x1e3c0d(0x89)](_0x1eacbc)),this[_0x1e3c0d(0xac)]();}[_0x17c750(0x8e)](_0xd0a0e5,_0x4a9e62,_0x33434a,_0x167fa5,_0x55927b,_0x4a1b71){const _0x44a0dc=_0x17c750,_0x18dd7c=this[_0x44a0dc(0x7c)][_0x44a0dc(0x7d)][_0x44a0dc(0xa1)](_0x44a0dc(0x93));this[_0x44a0dc(0x7c)][_0x44a0dc(0xb7)][_0x44a0dc(0xc7)](_0x4a1b71[_0x44a0dc(0x94)],()=>{const _0x3b8a38=_0x44a0dc;for(const _0x3b8450 of _0x4a9e62){if(this[_0x3b8a38(0xcf)](_0x3b8450,_0x167fa5))_0x55927b(_0x4a1b71);else{const _0x1ecac5={};for(const _0x4bada3 of _0x33434a){const _0x4e1a65=_0x3b8450[_0x3b8a38(0x7f)](_0x4bada3);void 0x0!==_0x4e1a65&&(_0x1ecac5[_0x4bada3]=_0x4e1a65);}_0x55927b(_0x4a1b71),_0x18dd7c[_0x3b8a38(0xbd)](_0x3b8450,{'commandParams':[_0x1ecac5]},[],_0x167fa5);}}});}[_0x17c750(0xa5)](_0xd4aeeb,_0x1e54f9,_0x511b4e){const _0x9a749e=_0x17c750,_0x3f5927=_0x1e54f9[0x0][_0x9a749e(0x96)][_0x9a749e(0xcb)],_0x47f14d=_0x511b4e[_0x9a749e(0x9a)][0x0];this[_0x9a749e(0x7c)][_0x9a749e(0xb7)][_0x9a749e(0xa0)](_0x57d49b=>{const _0x580565=_0x9a749e;for(const _0x4f4993 of _0xd4aeeb)void 0x0!==_0x47f14d[_0x4f4993]?_0x57d49b[_0x580565(0xa9)](_0x4f4993,_0x47f14d[_0x4f4993],_0x3f5927):_0x57d49b[_0x580565(0xc1)](_0x4f4993,_0x3f5927);});}[_0x17c750(0x89)](_0x4938c2){const _0x134a7d=_0x17c750;if(_0x4938c2[_0x134a7d(0x81)])switch(_0x4938c2[_0x134a7d(0x91)]){case _0x134a7d(0xb2):return{'type':_0x134a7d(0x86),'content':_0x27899a(this[_0x134a7d(0x7c)][_0x134a7d(0xd0)],_0x134a7d(0xc8))};case _0x134a7d(0xc9):return{'type':_0x134a7d(0x86),'content':_0x27899a(this[_0x134a7d(0x7c)][_0x134a7d(0xd0)],_0x134a7d(0x87))};}}[_0x17c750(0xcf)](_0x1c58f6,_0x3797aa){const _0x414d2e=_0x17c750,_0x246e46=this[_0x414d2e(0x7c)][_0x414d2e(0x7d)][_0x414d2e(0xa1)](_0x414d2e(0x93));for(const _0x25e519 of _0x246e46[_0x414d2e(0xc3)]({'skipNotAttached':!0x0})){const _0x36be06=_0x25e519[_0x414d2e(0xb1)]();if(_0x25e519[_0x414d2e(0x91)]===_0x3797aa&&_0x36be06===_0x1c58f6)return _0x25e519;}return null;}[_0x17c750(0xac)](){const _0x2b3455=_0x17c750,_0x2ce7a9=this[_0x2b3455(0x7c)][_0x2b3455(0x7d)][_0x2b3455(0xa1)](_0x2b3455(0x93)),_0x5b6c0c=[...this[_0x2b3455(0xb2)],...this[_0x2b3455(0xc9)]];for(const _0x3469f3 of _0x5b6c0c){const _0x137926=_0x3469f3[_0x2b3455(0xab)](/([A-Z])/g,_0x2b3455(0x9d))[_0x2b3455(0x9b)]();_0x2ce7a9[_0x2b3455(0xb3)](_0x3469f3),_0x2ce7a9[_0x2b3455(0xb4)][_0x2b3455(0xad)](_0x3469f3,_0x27899a(this[_0x2b3455(0x7c)][_0x2b3455(0xd0)],_0x2b3455(0x9e)+_0x137926));}}}function _0x2873(){const _0x13ea9d=['FORMAT_','405731quvbZx','change','get','tableWidth','tableCellBorderWidth','accept','handleDiscardAction','tableCellVerticalAlignment','tableCellBorderColor','tableBorderWidth','setAttribute','5754tNloaV','replace','_registerTablePropertiesAttributes','registerAttributeLabel','pluginName','join','has','getContainedElement','tableProperties','registerBlockAttribute','descriptionFactory','110XXvmEr','TablePropertiesEditing','model','tableCellHorizontalAlignment','TrackChangesTableProperties','table','discard','tableCellHeight','markBlockFormat','tableBackgroundColor','tableCellBackgroundColor','4867252woTliF','removeAttribute','registerDescriptionCallback','getSuggestions','tableHeight','document','40MPQUTy','enqueueChange','*Format:*\x20change\x20table\x20properties','tableCellProperties','afterInit','nodeAfter','6677hgHpUt','TableCellPropertiesEditing','findAncestor','_getSuggestion','locale','selection','2WEGSQE','3197901FOqflT','editor','plugins','getFirstPosition','getAttribute','tableBorderStyle','data','tableAlignment','isPremiumPlugin','tableBorderColor','registerCustomCallback','format','*Format:*\x20change\x20table\x20cell\x20properties','tableCellPadding','handleSuggestionDescription','enableCommand','tableCellWidth','getSuggestionCallback','tableCellBorderStyle','_handlePropertyChange','formatBlock','getSelectionAffectedTableCells','subType','TableUtils','TrackChangesEditing','batch','24470FPYHrD','start','4123269StssrP','isOfficialPlugin','_suggestionFactory','commandParams','toUpperCase','153954nqOMWS','_$1'];_0x2873=function(){return _0x13ea9d;};return _0x2873();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x38e1(_0x1a7073,_0x221338){const _0x130178=_0x1301();return _0x38e1=function(_0x38e1b4,_0x220d84){_0x38e1b4=_0x38e1b4-0xfd;let _0x2c9630=_0x130178[_0x38e1b4];return _0x2c9630;},_0x38e1(_0x1a7073,_0x221338);}const _0x367e22=_0x38e1;(function(_0x231041,_0x4ae36e){const _0x3373a8=_0x38e1,_0x536f9d=_0x231041();while(!![]){try{const _0x8a7cc8=parseInt(_0x3373a8(0x111))/0x1*(-parseInt(_0x3373a8(0x110))/0x2)+-parseInt(_0x3373a8(0x109))/0x3+parseInt(_0x3373a8(0x10b))/0x4+parseInt(_0x3373a8(0x107))/0x5*(-parseInt(_0x3373a8(0x10e))/0x6)+parseInt(_0x3373a8(0x108))/0x7*(-parseInt(_0x3373a8(0x10f))/0x8)+parseInt(_0x3373a8(0x106))/0x9*(parseInt(_0x3373a8(0x104))/0xa)+parseInt(_0x3373a8(0x102))/0xb*(parseInt(_0x3373a8(0x103))/0xc);if(_0x8a7cc8===_0x4ae36e)break;else _0x536f9d['push'](_0x536f9d['shift']());}catch(_0x5377dc){_0x536f9d['push'](_0x536f9d['shift']());}}}(_0x1301,0x30044));function _0x1301(){const _0x1537dd=['get','insertTemplate','6FTZhqp','488cJHQCy','14NeEnhk','46603GOkwao','editor','has','plugins','Template','TrackChangesEditing','22hmhzrt','3025572shrbiS','2274060KRVclA','enableCommand','9PldhnF','779395SeNJKM','10451CRAOvl','635304GpZdix','afterInit','999796fKgNtf'];_0x1301=function(){return _0x1537dd;};return _0x1301();}import{Plugin as _0x33d943}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x33d943{[_0x367e22(0x10a)](){const _0x1f4cb2=_0x367e22,_0x4f34b0=this[_0x1f4cb2(0xfd)];_0x4f34b0[_0x1f4cb2(0xff)][_0x1f4cb2(0xfe)](_0x1f4cb2(0x100))&&_0x4f34b0[_0x1f4cb2(0xff)][_0x1f4cb2(0x10c)](_0x1f4cb2(0x101))[_0x1f4cb2(0x105)](_0x1f4cb2(0x10d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d01c4=_0xc99a;(function(_0xf53b82,_0x538533){const _0x93d7c5=_0xc99a,_0x1c3661=_0xf53b82();while(!![]){try{const _0x3f66c7=-parseInt(_0x93d7c5(0x1b8))/0x1*(parseInt(_0x93d7c5(0x1ce))/0x2)+parseInt(_0x93d7c5(0x1d8))/0x3+parseInt(_0x93d7c5(0x1c7))/0x4+parseInt(_0x93d7c5(0x1c4))/0x5+parseInt(_0x93d7c5(0x1d5))/0x6*(-parseInt(_0x93d7c5(0x1ba))/0x7)+parseInt(_0x93d7c5(0x1bf))/0x8+-parseInt(_0x93d7c5(0x1ca))/0x9;if(_0x3f66c7===_0x538533)break;else _0x1c3661['push'](_0x1c3661['shift']());}catch(_0x5456c9){_0x1c3661['push'](_0x1c3661['shift']());}}}(_0x78fd,0x967d5));import{Plugin as _0x4cd548}from'ckeditor5/src/core.js';import{getTranslation as _0x575bb9}from'../utils/common-translations.js';function _0x78fd(){const _0x24ecef=['end','175XHmYGJ','title-content','forward','updateMarker','start','9568848rswZqO','createRange','registerPostFixer','differ','suggestion','2902980EoMtxy','newRange','has','2275488KGJFoj','plugins','removeMarker','10449549EaUPmH','element','get','afterInit','48ryfmoQ','getNearestSelectionRange','Title','registerElementLabel','nodeBefore','from','schema','288168yKFLjg','_splitMarkerName','TrackChangesEditing','2386440yRYUPZ','ELEMENT_TITLE','getChangedMarkers','editor','isTouching','document','locale','isCollapsed','descriptionFactory','isEqual','model','6787yIrhoU'];_0x78fd=function(){return _0x24ecef;};return _0x78fd();}function _0xc99a(_0x1f4417,_0x3d9932){const _0x78fd41=_0x78fd();return _0xc99a=function(_0xc99a08,_0x50aa2b){_0xc99a08=_0xc99a08-0x1b1;let _0x2beb56=_0x78fd41[_0xc99a08];return _0x2beb56;},_0xc99a(_0x1f4417,_0x3d9932);}export class TrackChangesTitle extends _0x4cd548{[_0x2d01c4(0x1cd)](){const _0x55fcd1=_0x2d01c4,_0x8681b2=this[_0x55fcd1(0x1db)];if(!_0x8681b2[_0x55fcd1(0x1c8)][_0x55fcd1(0x1c6)](_0x55fcd1(0x1d0)))return;const _0x40ead1=_0x8681b2[_0x55fcd1(0x1c8)][_0x55fcd1(0x1cc)](_0x55fcd1(0x1d7));_0x40ead1[_0x55fcd1(0x1b5)][_0x55fcd1(0x1d1)](_0x55fcd1(0x1bb),()=>_0x575bb9(_0x8681b2[_0x55fcd1(0x1b3)],_0x55fcd1(0x1d9))),_0x8681b2[_0x55fcd1(0x1b7)][_0x55fcd1(0x1b2)][_0x55fcd1(0x1c1)](_0x37babd=>{const _0x772929=_0x55fcd1;let _0x4ea5a1=!0x1;const _0x10611b=Array[_0x772929(0x1d3)](_0x8681b2[_0x772929(0x1b7)][_0x772929(0x1b2)][_0x772929(0x1c2)][_0x772929(0x1da)]());for(const {name:_0x416949,data:_0x55c341}of _0x10611b){const {group:_0x2662f4}=_0x40ead1[_0x772929(0x1d6)](_0x416949);if(_0x772929(0x1c3)!==_0x2662f4||!_0x55c341[_0x772929(0x1c5)])continue;const _0x2d91c4=_0x55c341[_0x772929(0x1c5)],_0x422c9f=_0x2d91c4[_0x772929(0x1b9)][_0x772929(0x1d2)];if(!_0x422c9f||!_0x422c9f['is'](_0x772929(0x1cb),_0x772929(0x1bb)))continue;if(!_0x2d91c4[_0x772929(0x1be)][_0x772929(0x1b1)](_0x2d91c4[_0x772929(0x1b9)]))continue;const _0x3828ef=_0x8681b2[_0x772929(0x1b7)][_0x772929(0x1d4)][_0x772929(0x1cf)](_0x2d91c4[_0x772929(0x1b9)],_0x772929(0x1bc));if(_0x3828ef&&_0x3828ef[_0x772929(0x1b4)]){const _0x31385a=_0x37babd[_0x772929(0x1c0)](_0x2d91c4[_0x772929(0x1be)],_0x3828ef[_0x772929(0x1be)]);_0x31385a[_0x772929(0x1b6)](_0x2d91c4)||(_0x37babd[_0x772929(0x1bd)](_0x416949,{'range':_0x31385a}),_0x4ea5a1=!0x0);}_0x4ea5a1||(_0x37babd[_0x772929(0x1c9)](_0x416949),_0x4ea5a1=!0x0);}return _0x4ea5a1;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9a0c12=_0xbd77;function _0x1f80(){const _0x2e4f5d=['39149IzImtM','UndoEditing','editor','TrackChangesEditing','redo','620505wHHKeI','afterInit','enableCommand','6hFKVvc','plugins','28066995CpdKvS','120XPPOAb','4109vkwlxu','undo','2521098JddjbL','986712PvYKCA','7505830byrduX','6136xRycIV','94IfzBUq','has','get'];_0x1f80=function(){return _0x2e4f5d;};return _0x1f80();}(function(_0x3d7840,_0xadbc2d){const _0x3b4518=_0xbd77,_0x1891e5=_0x3d7840();while(!![]){try{const _0x55101d=parseInt(_0x3b4518(0x13d))/0x1*(parseInt(_0x3b4518(0x13a))/0x2)+-parseInt(_0x3b4518(0x136))/0x3+-parseInt(_0x3b4518(0x137))/0x4+-parseInt(_0x3b4518(0x138))/0x5*(-parseInt(_0x3b4518(0x130))/0x6)+parseInt(_0x3b4518(0x134))/0x7*(parseInt(_0x3b4518(0x139))/0x8)+-parseInt(_0x3b4518(0x142))/0x9*(-parseInt(_0x3b4518(0x133))/0xa)+-parseInt(_0x3b4518(0x132))/0xb;if(_0x55101d===_0xadbc2d)break;else _0x1891e5['push'](_0x1891e5['shift']());}catch(_0xca41b1){_0x1891e5['push'](_0x1891e5['shift']());}}}(_0x1f80,0xef4b5));import{Plugin as _0x3b868f}from'ckeditor5/src/core.js';function _0xbd77(_0x2525e3,_0x1066ba){const _0x1f80f3=_0x1f80();return _0xbd77=function(_0xbd7736,_0x21c650){_0xbd7736=_0xbd7736-0x12e;let _0x1eb268=_0x1f80f3[_0xbd7736];return _0x1eb268;},_0xbd77(_0x2525e3,_0x1066ba);}export class TrackChangesUndo extends _0x3b868f{[_0x9a0c12(0x12e)](){const _0x47af21=_0x9a0c12,_0x1dedf5=this[_0x47af21(0x13f)],_0x5ce70a=_0x1dedf5[_0x47af21(0x131)][_0x47af21(0x13c)](_0x47af21(0x140));_0x1dedf5[_0x47af21(0x131)][_0x47af21(0x13b)](_0x47af21(0x13e))&&(_0x5ce70a[_0x47af21(0x12f)](_0x47af21(0x135)),_0x5ce70a[_0x47af21(0x12f)](_0x47af21(0x141)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e08(){const _0x100170=['registerDescriptionCallback','479424HFwbfJ','29369590YTRVkm','753774hGbHlc','type','TrackChangesEditing','editor','uploadcareImageEdit','get','6690mVggHy','9iOJGvb','UploadcareImageEdit','enableCommand','plugins','1957833ygLoIJ','5336QIeorg','uploadcareImageId','attribute','afterInit','descriptionFactory','2895bDXHWn','key','uploadcareImageReplace','format','uploadcare','781150jZHzxN','registerBlockAttribute','enableDefaultAttributesIntegration','6937lsbNsF','Uploadcare','has'];_0x3e08=function(){return _0x100170;};return _0x3e08();}function _0x1e22(_0x4e5df0,_0x319b18){const _0x3e0855=_0x3e08();return _0x1e22=function(_0x1e2280,_0x19dbe3){_0x1e2280=_0x1e2280-0x133;let _0x12ae95=_0x3e0855[_0x1e2280];return _0x12ae95;},_0x1e22(_0x4e5df0,_0x319b18);}const _0x2a994e=_0x1e22;(function(_0x39a342,_0x50b9a7){const _0x290a75=_0x1e22,_0x3b774c=_0x39a342();while(!![]){try{const _0x5022fb=-parseInt(_0x290a75(0x14f))/0x1+parseInt(_0x290a75(0x139))/0x2+-parseInt(_0x290a75(0x144))/0x3+-parseInt(_0x290a75(0x137))/0x4+parseInt(_0x290a75(0x14a))/0x5*(-parseInt(_0x290a75(0x13f))/0x6)+parseInt(_0x290a75(0x133))/0x7*(-parseInt(_0x290a75(0x145))/0x8)+-parseInt(_0x290a75(0x140))/0x9*(-parseInt(_0x290a75(0x138))/0xa);if(_0x5022fb===_0x50b9a7)break;else _0x3b774c['push'](_0x3b774c['shift']());}catch(_0x1dfafe){_0x3b774c['push'](_0x3b774c['shift']());}}}(_0x3e08,0x6ec0f));import{Plugin as _0x227561}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x227561{[_0x2a994e(0x148)](){const _0x4c90ae=_0x2a994e,_0x3d07c8=this[_0x4c90ae(0x13c)],_0x389778=_0x3d07c8[_0x4c90ae(0x143)][_0x4c90ae(0x13e)](_0x4c90ae(0x13b));_0x3d07c8[_0x4c90ae(0x143)][_0x4c90ae(0x135)](_0x4c90ae(0x134))&&(_0x389778[_0x4c90ae(0x142)](_0x4c90ae(0x14e)),_0x3d07c8[_0x4c90ae(0x143)][_0x4c90ae(0x135)](_0x4c90ae(0x141))&&(_0x389778[_0x4c90ae(0x142)](_0x4c90ae(0x13d)),_0x389778[_0x4c90ae(0x151)](_0x4c90ae(0x14c)),_0x389778[_0x4c90ae(0x150)](_0x4c90ae(0x146)),_0x389778[_0x4c90ae(0x149)][_0x4c90ae(0x136)](_0x481275=>{const _0x2ba850=_0x4c90ae;if(_0x2ba850(0x147)!=_0x481275[_0x2ba850(0x13a)])return;const {data:_0x57dfe4}=_0x481275;return _0x57dfe4&&_0x2ba850(0x146)==_0x57dfe4[_0x2ba850(0x14b)]?{'type':_0x2ba850(0x14d),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3a3ecd,_0xb4af87){const _0x50d932=_0x2499,_0x4942bc=_0x3a3ecd();while(!![]){try{const _0x3a7f0a=-parseInt(_0x50d932(0xde))/0x1+parseInt(_0x50d932(0x102))/0x2+parseInt(_0x50d932(0xee))/0x3*(parseInt(_0x50d932(0x10f))/0x4)+parseInt(_0x50d932(0xdd))/0x5*(-parseInt(_0x50d932(0xe3))/0x6)+-parseInt(_0x50d932(0x108))/0x7+-parseInt(_0x50d932(0xef))/0x8*(parseInt(_0x50d932(0xfd))/0x9)+parseInt(_0x50d932(0xfe))/0xa;if(_0x3a7f0a===_0xb4af87)break;else _0x4942bc['push'](_0x4942bc['shift']());}catch(_0x59c2c9){_0x4942bc['push'](_0x4942bc['shift']());}}}(_0x3d86,0xa41e5));export function getRangesWithAttribute(_0x35ad97,_0x2b1830,_0x40b79e){const _0x4f6f1d=_0x2499,_0xcd61f8=[];for(const _0x47897f of _0x2b1830[_0x4f6f1d(0xe9)]())_0x47897f[_0x4f6f1d(0xf8)](_0x35ad97)&&_0xcd61f8[_0x4f6f1d(0x10d)](_0x40b79e[_0x4f6f1d(0x105)](_0x47897f));return _0xcd61f8;}function _0x2499(_0x2a348f,_0x334ef3){const _0x3d86b1=_0x3d86();return _0x2499=function(_0x24991a,_0x137bb9){_0x24991a=_0x24991a-0xdc;let _0x31e215=_0x3d86b1[_0x24991a];return _0x31e215;},_0x2499(_0x2a348f,_0x334ef3);}function _0x3d86(){const _0x253bb9=['start','createUIElement','span','nextSibling','push','toViewElement','4WMixFs','activeMarkers','389005NkjGgc','312434xoLZLQ','item','consumable','writer','_splitMarkerName','60zXenaW','model','isContent','get','type','TrackChangesEditing','getItems','elementEnd','parent','previousPosition','isBlock','1867470udliOW','66184czGzli','insert','addClass','name','isLimit','bindElementToMarker','markerName','test','plugins','hasAttribute','mapper','ck-suggestion-marker-','getCustomProperty','includes','909AamXlT','20437100CRKEbP','schema','markerRange','ck-suggestion-marker--active','1951080kMkjSK','toViewPosition','addHighlight','createRangeOn','isAtEnd','getWalker','7304458fZFTbG'];_0x3d86=function(){return _0x253bb9;};return _0x3d86();}export function downcastSplitMergeMarker(_0x5800d4,_0x186bae,{showActiveMarker:_0x132dce=!0x0}={}){const _0x124794=_0x2499,_0xcd0b29=_0x5800d4[_0x124794(0xf7)][_0x124794(0xe6)](_0x124794(0xe8));return(_0x309bc8,_0xfc207e,_0x4da59a)=>{const _0x114b34=_0x124794;if(!_0x4da59a[_0x114b34(0xe0)][_0x114b34(0xf6)](_0xfc207e[_0x114b34(0x100)],_0x309bc8[_0x114b34(0xf2)]))return;const _0x2a2672=_0xfc207e[_0x114b34(0x100)][_0x114b34(0x107)](),_0x53a75e=_0xfc207e[_0x114b34(0x100)][_0x114b34(0x109)],_0x5183bd=_0x5800d4[_0x114b34(0xe4)][_0x114b34(0xff)];let _0x1e591d=null,_0x2ae617=null,_0x443377=!0x1,_0x2e2ef8=!0x1;for(const _0x195607 of _0x2a2672){const _0x2b39c2=_0x195607[_0x114b34(0xdf)];_0x443377=_0x443377||_0x5183bd[_0x114b34(0xe5)](_0x2b39c2);const _0x227c1f=_0x4da59a[_0x114b34(0xf9)][_0x114b34(0x10e)](_0x2b39c2);if(_0x227c1f&&_0x227c1f[_0x114b34(0xfb)](_0x114b34(0x104)))return;_0x114b34(0xea)==_0x195607[_0x114b34(0xe7)]&&(_0x5183bd[_0x114b34(0xed)](_0x2b39c2)&&!_0x5183bd[_0x114b34(0xf3)](_0x2b39c2)&&(_0x2b39c2[_0x114b34(0x10c)]||_0x53a75e[_0x114b34(0x106)]?_0x1e591d&&_0x1e591d[_0x114b34(0xeb)]==_0x2b39c2||(_0x1e591d=_0x2b39c2,_0x574448(_0x195607[_0x114b34(0xec)]),_0x2e2ef8=!0x0):_0x2ae617=_0x2ae617||_0x195607[_0x114b34(0xec)]));}function _0x574448(_0x619819){const _0x4894be=_0x114b34,{id:_0x252421,authorId:_0x9f0293}=_0xcd0b29[_0x4894be(0xe2)](_0xfc207e[_0x4894be(0xf5)]),_0x69030=_0x4da59a[_0x4894be(0xe1)][_0x4894be(0x10a)](_0x4894be(0x10b),{'class':_0x4894be(0xfa)+_0x186bae,'data-suggestion':_0x252421,'data-author-id':_0x9f0293}),_0x4cf796=_0x4da59a[_0x4894be(0xf9)][_0x4894be(0x103)](_0x619819);_0x132dce&&_0xcd0b29[_0x4894be(0xdc)][_0x4894be(0xfc)](_0xfc207e[_0x4894be(0xf5)])&&_0x4da59a[_0x4894be(0xe1)][_0x4894be(0xf1)](_0x4894be(0x101),_0x69030),_0x4da59a[_0x4894be(0xe1)][_0x4894be(0xf0)](_0x4cf796,_0x69030),_0x4da59a[_0x4894be(0xf9)][_0x4894be(0xf4)](_0x69030,_0xfc207e[_0x4894be(0xf5)]);}_0x443377||_0x2e2ef8||!_0x2ae617||_0x574448(_0x2ae617);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x385097=_0x5437;function _0x1fbb(){const _0x36c394=['subType','getMarkerNames','setAttribute','isIntersecting','806235GPArjC','push','393383hQaRRy','getAllAdjacentSuggestions','_model','_originalSuggestionId','removeMarkers','getFirstRange','_onAccept','discard','addRange','_onDiscard','creator','2622HkDEJH','isExternal','authoredAt','toJSON','markers','onDiscard','accept','set','length','_saved','change','getRanges','substr','getContainedElement','2704285iTOhTi','originalSuggestionId','get','1602400gGXhhP','suggestion:','hasComments','removeAttribute','previous','from','author','@external','filter','getFirstMarker','split','getMarkers','add','clear','_isDataLoaded','size','reduce','12556512AUqdTZ','commentThread','next','data','9065AHkTvz','head','2997144NMHhaP','_markerNames','getRange','nodeBefore','attributes','map','removeMarker','onAttributesChange','addMarker','nodeAfter','type','_onAttributesChange','end','isMultiRange','isInContent','onAccept','addMarkerName','getItems','start','isIntersectingWithRange','createdAt','getMultiRangeId','4bORcJQ','delete','decorate'];_0x1fbb=function(){return _0x36c394;};return _0x1fbb();}(function(_0x1e425d,_0xbf3486){const _0x2091fe=_0x5437,_0x11d744=_0x1e425d();while(!![]){try{const _0xa999cd=parseInt(_0x2091fe(0x1ba))/0x1+parseInt(_0x2091fe(0x1b1))/0x2*(parseInt(_0x2091fe(0x1b8))/0x3)+parseInt(_0x2091fe(0x184))/0x4+parseInt(_0x2091fe(0x181))/0x5+-parseInt(_0x2091fe(0x1c5))/0x6*(parseInt(_0x2091fe(0x199))/0x7)+parseInt(_0x2091fe(0x19b))/0x8+-parseInt(_0x2091fe(0x195))/0x9;if(_0xa999cd===_0xbf3486)break;else _0x11d744['push'](_0x11d744['shift']());}catch(_0x5f5da9){_0x11d744['push'](_0x11d744['shift']());}}}(_0x1fbb,0x45cc2));import{ModelElement as _0x1403be}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x40bccf,uid as _0x3dd002}from'ckeditor5/src/utils.js';function _0x5437(_0x2ca481,_0x3a4f9d){const _0x1fbb37=_0x1fbb();return _0x5437=function(_0x5437cc,_0x4ad6c7){_0x5437cc=_0x5437cc-0x179;let _0x2a4c4c=_0x1fbb37[_0x5437cc];return _0x2a4c4c;},_0x5437(_0x2ca481,_0x3a4f9d);}import{cloneDeep as _0x424221,isEqual as _0x21aca7,set as _0x2ba58b,unset as _0x4ada2a}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x40bccf(){['id'];[_0x385097(0x1a5)];[_0x385097(0x1b4)];[_0x385097(0x18a)];[_0x385097(0x1c4)];[_0x385097(0x1c6)];[_0x385097(0x198)];[_0x385097(0x1af)];[_0x385097(0x1bd)];[_0x385097(0x192)]=!0x1;[_0x385097(0x1bc)];[_0x385097(0x1c0)];[_0x385097(0x1c3)];[_0x385097(0x1a6)];[_0x385097(0x19c)];constructor(_0x5b27ab,_0x38a149){const _0x57897e=_0x385097;super(),this['id']=_0x38a149['id'],this[_0x57897e(0x1a5)]=_0x38a149[_0x57897e(0x1a5)],this[_0x57897e(0x1b4)]=_0x38a149[_0x57897e(0x1b4)]||null,this[_0x57897e(0x18a)]=_0x38a149[_0x57897e(0x18a)],this[_0x57897e(0x1c4)]=_0x38a149[_0x57897e(0x1c4)]||_0x38a149[_0x57897e(0x18a)],this[_0x57897e(0x1c6)]=Boolean(_0x38a149[_0x57897e(0x19f)]&&_0x38a149[_0x57897e(0x19f)][_0x57897e(0x18b)]),this[_0x57897e(0x198)]=null,this[_0x57897e(0x1bd)]=_0x38a149[_0x57897e(0x182)]||null,this[_0x57897e(0x1bc)]=_0x5b27ab,this[_0x57897e(0x1c0)]=_0x38a149[_0x57897e(0x1aa)],this[_0x57897e(0x1c3)]=_0x38a149[_0x57897e(0x1ca)],this[_0x57897e(0x1a6)]=_0x38a149[_0x57897e(0x1a2)],this[_0x57897e(0x19c)]=new Set(),this[_0x57897e(0x1af)]=null,this[_0x57897e(0x17a)](_0x57897e(0x1c7),null),this[_0x57897e(0x17a)](_0x57897e(0x19f),_0x38a149[_0x57897e(0x19f)]||{}),this[_0x57897e(0x17a)](_0x57897e(0x188),null),this[_0x57897e(0x17a)](_0x57897e(0x197),null),this[_0x57897e(0x17a)](_0x57897e(0x196),null),this[_0x57897e(0x17a)](_0x57897e(0x17c),!0x1),this[_0x57897e(0x1b3)](_0x57897e(0x179)),this[_0x57897e(0x1b3)](_0x57897e(0x1c1));}get[_0x385097(0x19a)](){const _0x50ec78=_0x385097;let _0x5437c0=this;for(;_0x5437c0[_0x50ec78(0x188)];)_0x5437c0=_0x5437c0[_0x50ec78(0x188)];return _0x5437c0;}get[_0x385097(0x186)](){const _0x16b381=_0x385097;return!!this[_0x16b381(0x196)]&&this[_0x16b381(0x196)][_0x16b381(0x17b)]>0x0;}get[_0x385097(0x1a8)](){const _0x547d86=_0x385097;if(0x0==this[_0x547d86(0x19c)][_0x547d86(0x193)])return!0x1;return 0x6==Array[_0x547d86(0x189)](this[_0x547d86(0x19c)])[0x0][_0x547d86(0x18e)](':')[_0x547d86(0x17b)];}get[_0x385097(0x1a9)](){const _0x22ba94=_0x385097;return null!==this[_0x22ba94(0x18d)]();}[_0x385097(0x1ab)](_0x45a81){const _0xeb5b4a=_0x385097;this[_0xeb5b4a(0x19c)][_0xeb5b4a(0x190)](_0x45a81);}[_0x385097(0x1b5)](){const _0x3871e7=_0x385097;return Array[_0x3871e7(0x189)](this[_0x3871e7(0x19c)]);}[_0x385097(0x18f)](){const _0x4251d5=_0x385097;return this[_0x4251d5(0x1b5)]()[_0x4251d5(0x1a0)](_0x47691a=>this[_0x4251d5(0x1bc)][_0x4251d5(0x1c9)][_0x4251d5(0x183)](_0x47691a))[_0x4251d5(0x18c)](_0x3260d7=>_0x3260d7);}[_0x385097(0x18d)](){const _0x425d14=_0x385097;return this[_0x425d14(0x18f)]()[0x0]||null;}[_0x385097(0x1be)](){const _0x494355=_0x385097;this[_0x494355(0x1bc)][_0x494355(0x17d)](_0x5868c7=>{const _0x5b6a9a=_0x494355;for(const _0x167c3a of this[_0x5b6a9a(0x18f)]())_0x5868c7[_0x5b6a9a(0x1a1)](_0x167c3a);}),this[_0x494355(0x19c)][_0x494355(0x191)]();}[_0x385097(0x1a1)](_0x55fd0c){const _0x5aa584=_0x385097;this[_0x5aa584(0x1bc)][_0x5aa584(0x17d)](_0x20163d=>{const _0x345480=_0x5aa584;_0x20163d[_0x345480(0x1a1)](_0x55fd0c);}),this[_0x5aa584(0x19c)][_0x5aa584(0x1b2)](_0x55fd0c);}[_0x385097(0x1c2)](_0x553e74){const _0x49af4d=_0x385097,_0xb12665=_0x49af4d(0x185)+this[_0x49af4d(0x1a5)]+':'+this[_0x49af4d(0x1b4)]+':'+this['id']+':'+this[_0x49af4d(0x1c4)]['id']+':'+Suggestion[_0x49af4d(0x1b0)]();this[_0x49af4d(0x1ab)](_0xb12665),this[_0x49af4d(0x1bc)][_0x49af4d(0x17d)](_0x243e7b=>{const _0x30e09e=_0x49af4d;_0x243e7b[_0x30e09e(0x1a3)](_0xb12665,{'range':_0x553e74,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x385097(0x1ae)](_0x127948){const _0x18bff7=_0x385097;for(const _0x5b8678 of this[_0x18bff7(0x17e)]())if(_0x5b8678[_0x18bff7(0x1b7)](_0x127948))return!0x0;return!0x1;}[_0x385097(0x17e)](){const _0x35112f=_0x385097;return this[_0x35112f(0x18f)]()[_0x35112f(0x1a0)](_0x324258=>_0x324258[_0x35112f(0x19d)]());}[_0x385097(0x1ac)](){const _0x270a82=_0x385097;return this[_0x270a82(0x17e)]()[_0x270a82(0x194)]((_0x4fd289,_0x27ec3d)=>[..._0x4fd289,..._0x27ec3d[_0x270a82(0x1ac)]()],[]);}[_0x385097(0x1bf)](){const _0x22618f=_0x385097;return this[_0x22618f(0x18d)]()?.[_0x22618f(0x19d)]()||null;}[_0x385097(0x180)](){const _0xff9799=_0x385097,_0x467983=this[_0xff9799(0x17e)]();if(0x1!=_0x467983[_0xff9799(0x17b)])return null;const _0x39edfe=_0x467983[0x0],_0x502fdc=_0x39edfe[_0xff9799(0x1ad)][_0xff9799(0x1a4)],_0x1a86e5=_0x39edfe[_0xff9799(0x1a7)][_0xff9799(0x19e)];return _0x502fdc instanceof _0x1403be?_0x502fdc!=_0x1a86e5?null:_0x502fdc:null;}[_0x385097(0x179)](){const _0x2bca89=_0x385097;this[_0x2bca89(0x1c0)](this[_0x2bca89(0x17e)](),this[_0x2bca89(0x198)],this[_0x2bca89(0x19f)]),this[_0x2bca89(0x1be)]();}[_0x385097(0x1c1)](){const _0x377b4a=_0x385097;this[_0x377b4a(0x1c3)](this[_0x377b4a(0x17e)](),this[_0x377b4a(0x198)],this[_0x377b4a(0x19f)]),this[_0x377b4a(0x1be)]();}[_0x385097(0x1bb)](){const _0x2c6917=_0x385097,_0x991dea=[];let _0x5c8647=this[_0x2c6917(0x19a)];for(;_0x5c8647;)_0x991dea[_0x2c6917(0x1b9)](_0x5c8647),_0x5c8647=_0x5c8647[_0x2c6917(0x197)];return _0x991dea;}[_0x385097(0x1b6)](_0x52314b,_0x4bfbdd){const _0x578440=_0x385097,_0xcf2749=_0x424221(this[_0x578440(0x19f)]);_0x2ba58b(_0xcf2749,_0x52314b,_0x4bfbdd),_0x21aca7(_0xcf2749,this[_0x578440(0x19f)])||(this[_0x578440(0x19f)]=_0xcf2749,this[_0x578440(0x1a6)](_0xcf2749));}[_0x385097(0x187)](_0x127458){const _0xc41231=_0x385097,_0x4ec6c8=_0x424221(this[_0xc41231(0x19f)]);_0x4ada2a(_0x4ec6c8,_0x127458),_0x21aca7(_0x4ec6c8,this[_0xc41231(0x19f)])||(this[_0xc41231(0x19f)]=_0x4ec6c8,this[_0xc41231(0x1a6)](this[_0xc41231(0x19f)]));}[_0x385097(0x1c8)](){const _0x488bb5=_0x385097;return{'id':this['id'],'type':this[_0x488bb5(0x1b4)]?this[_0x488bb5(0x1a5)]+':'+this[_0x488bb5(0x1b4)]:this[_0x488bb5(0x1a5)],'authorId':this[_0x488bb5(0x1c4)]['id'],'createdAt':this[_0x488bb5(0x1af)],'hasComments':this[_0x488bb5(0x186)],'data':this[_0x488bb5(0x198)],'attributes':this[_0x488bb5(0x19f)]};}static[_0x385097(0x1b0)](){const _0x2ce4c1=_0x385097;return _0x3dd002()[_0x2ce4c1(0x17f)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa3a69b=_0x2511;(function(_0x118059,_0x34b7dc){const _0x367299=_0x2511,_0x1ee43a=_0x118059();while(!![]){try{const _0x51f3db=-parseInt(_0x367299(0x161))/0x1+parseInt(_0x367299(0x16c))/0x2*(parseInt(_0x367299(0x1ab))/0x3)+parseInt(_0x367299(0x19b))/0x4+-parseInt(_0x367299(0x18b))/0x5+parseInt(_0x367299(0x194))/0x6*(parseInt(_0x367299(0x1b5))/0x7)+parseInt(_0x367299(0x1a6))/0x8+parseInt(_0x367299(0x166))/0x9;if(_0x51f3db===_0x34b7dc)break;else _0x1ee43a['push'](_0x1ee43a['shift']());}catch(_0x4f212c){_0x1ee43a['push'](_0x1ee43a['shift']());}}}(_0x1ece,0xc0d4a));function _0x2511(_0x4f8011,_0x3c8809){const _0x1ece94=_0x1ece();return _0x2511=function(_0x251132,_0x5364a7){_0x251132=_0x251132-0x160;let _0x4673e3=_0x1ece94[_0x251132];return _0x4673e3;},_0x2511(_0x4f8011,_0x3c8809);}import{getTranslation as _0x2d31cd}from'./utils/common-translations.js';function _0x1ece(){const _0x578579=['*Remove:*\x20%0','elementStart','removeObject','_itemLabelsCallbacks','Object','text','isEmpty','_customCallbacks','key','deletion','_attributeLabels','normal','length','getItemLabel','$1\x20$2','quantity','subType','addEmptyContainer','set','checkChild','nodeAfter','removeFormat','5197085YtmSHN','has','insertion','_resolveDescriptionItems','isEqual','_addDescriptionItems','$text','_locale','elementEnd','18pTQHoU','skip','*Remove\x20format:*\x20%0','remove','attribute','*Change\x20to:*\x20%0','_handleAttributeSuggestionDescription','5988opjIDo','label','replace','get','registerDescriptionCallback','previousSibling','isObject','addFormat','function','addObject','*Insert:*\x20%0','5808488RQRdyK','end','pop','matchingCallback','type','3ClLFBd','data','*Split:*\x20%0','start','$textProxy','ELEMENT_SPACE','item','softBreak','EmptyContainer','getWalker','2376927QRhjZA','_itemLabels','_schema','add','name','REPLACE_TEXT','join','match','getDescriptions','nextSibling','_handleRenameSuggestionDescription','indexOf','1358821WKcmfu','newValue','_handleCustomCallbackDescription','*Set\x20format:*\x20%0','push','5987592pEtDic','addContainer','_handleInsertRemoveSuggestionDescription','Container','removeContainer','registerAttributeLabel','1553086ACWCoj','*Merge:*\x20%0','registerElementLabel','getFirstRange','element','map','removeEmptyContainer','format','isInContent'];_0x1ece=function(){return _0x578579;};return _0x1ece();}import{priorities as _0x2de4df,insertToPriorityArray as _0x3be9be}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x1c02cb}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0xa3a69b(0x17c)];[_0xa3a69b(0x1b6)];[_0xa3a69b(0x178)];[_0xa3a69b(0x17f)];[_0xa3a69b(0x1b7)];[_0xa3a69b(0x192)];constructor(_0x550837,_0x25f91e){const _0x488d39=_0xa3a69b;this[_0x488d39(0x17c)]=[],this[_0x488d39(0x1b6)]=new Map(),this[_0x488d39(0x178)]=[],this[_0x488d39(0x17f)]=new Map(),this[_0x488d39(0x1b7)]=_0x550837,this[_0x488d39(0x192)]=_0x25f91e;}[_0xa3a69b(0x1bd)](_0x3c13aa){const _0x461d17=_0xa3a69b,_0x5dccc2=[],_0x3d7f4d=new Set(),_0x4bab0d=new Set();for(let _0x1aa9c4=0x0;_0x1aa9c4<_0x3c13aa[_0x461d17(0x181)];_0x1aa9c4++){const _0x1c427c=_0x3c13aa[_0x1aa9c4];if(!_0x1c427c[_0x461d17(0x174)])continue;const _0x532fc4=this[_0x461d17(0x163)](_0x1c427c);if(_0x532fc4){if(null!=_0x1c427c[_0x461d17(0x185)]){if(_0x3d7f4d[_0x461d17(0x18c)](_0x1c427c[_0x461d17(0x185)]))continue;_0x3d7f4d[_0x461d17(0x1b8)](_0x1c427c[_0x461d17(0x185)]);}_0x5dccc2[_0x461d17(0x165)](_0x532fc4);}else{if(_0x461d17(0x198)==_0x1c427c[_0x461d17(0x1aa)]){const _0x23efa0=_0x1c427c[_0x461d17(0x1ac)][_0x461d17(0x17d)];if(_0x4bab0d[_0x461d17(0x18c)](_0x23efa0))continue;_0x4bab0d[_0x461d17(0x1b8)](_0x1c427c[_0x461d17(0x1ac)][_0x461d17(0x17d)]),_0x23efa0==_0x1c02cb?this[_0x461d17(0x1bf)](_0x5dccc2,_0x1c427c):this[_0x461d17(0x19a)](_0x5dccc2,_0x1c427c);continue;}_0x461d17(0x18d)!=_0x1c427c[_0x461d17(0x1aa)]&&_0x461d17(0x17e)!=_0x1c427c[_0x461d17(0x1aa)]||this[_0x461d17(0x168)](_0x5dccc2,_0x1c427c,_0x3c13aa[_0x1aa9c4+0x1]);}}return this[_0x461d17(0x18e)](_0x5dccc2);}[_0xa3a69b(0x19f)](_0x28f527){const _0x34c68f=_0xa3a69b;this[_0x34c68f(0x17c)][_0x34c68f(0x165)](_0x28f527);}[_0xa3a69b(0x16e)](_0x4d3600,_0x2d813b,_0x352314=_0x2de4df[_0xa3a69b(0x180)]){const _0x3869a9=_0xa3a69b;_0x3869a9(0x1a3)==typeof _0x4d3600?_0x3be9be(this[_0x3869a9(0x178)],{'matchingCallback':_0x4d3600,'label':_0x2d813b,'priority':_0x352314}):this[_0x3869a9(0x1b6)][_0x3869a9(0x187)](_0x4d3600,_0x2d813b);}[_0xa3a69b(0x16b)](_0x5d6a2d,_0x5a1aa3){const _0x49ed6a=_0xa3a69b;this[_0x49ed6a(0x17f)][_0x49ed6a(0x187)](_0x5d6a2d,_0x5a1aa3);}[_0xa3a69b(0x182)](_0x3578c0,_0x566073=0x1){const _0x45f55c=_0xa3a69b;let _0x4c20ac;for(const _0x26fcdc of this[_0x45f55c(0x178)])if(_0x26fcdc[_0x45f55c(0x1a9)](_0x3578c0)){_0x4c20ac=_0x26fcdc[_0x45f55c(0x19c)];break;}return _0x4c20ac||(_0x4c20ac=this[_0x45f55c(0x1b6)][_0x45f55c(0x19e)](_0x3578c0[_0x45f55c(0x1b9)])),_0x4c20ac?_0x4c20ac(_0x566073):0x1!==_0x566073?_0x566073+'\x20'+_0x3578c0[_0x45f55c(0x1b9)]+'s':''+_0x3578c0[_0x45f55c(0x1b9)];}[_0xa3a69b(0x190)](_0x33f40,_0x50a847){const _0x1c1358=_0xa3a69b,_0x21b207=_0x50a847[_0x1c1358(0x16f)]()[_0x1c1358(0x1b4)](),_0x1cc54c=_0x1c1358(0x18d)==_0x50a847[_0x1c1358(0x1aa)]?_0x1c1358(0x1b8):_0x1c1358(0x197);for(const _0x18ec54 of _0x21b207){const _0x36afa9=_0x18ec54[_0x1c1358(0x1b1)],_0x15f0fe=_0x33f40[_0x33f40[_0x1c1358(0x181)]-0x1];if(_0x36afa9['is'](_0x1c1358(0x1af)))_0x15f0fe&&_0x15f0fe[_0x1c1358(0x1aa)][_0x1c1358(0x160)](_0x1c1358(0x169))>-0x1&&_0x33f40[_0x1c1358(0x1a8)](),_0x15f0fe&&_0x1c1358(0x17a)==_0x15f0fe[_0x1c1358(0x1aa)]?_0x15f0fe[_0x1cc54c]+=_0x36afa9[_0x1c1358(0x1ac)]:_0x33f40[_0x1c1358(0x165)]({'type':_0x1c1358(0x17a),'add':_0x1c1358(0x1b8)==_0x1cc54c?_0x36afa9[_0x1c1358(0x1ac)]:'','remove':_0x1c1358(0x197)==_0x1cc54c?_0x36afa9[_0x1c1358(0x1ac)]:''});else{if(this[_0x1c1358(0x1b7)][_0x1c1358(0x1a1)](_0x36afa9)){const _0x1429a3=_0x36afa9;if(_0x15f0fe&&_0x15f0fe[_0x1c1358(0x1aa)][_0x1c1358(0x160)](_0x1c1358(0x169))>-0x1&&_0x33f40[_0x1c1358(0x1a8)](),_0x1c1358(0x193)==_0x18ec54[_0x1c1358(0x1aa)])continue;_0x15f0fe&&_0x15f0fe[_0x1c1358(0x1aa)]==_0x1cc54c+_0x1c1358(0x179)&&_0x15f0fe[_0x1c1358(0x170)][_0x1c1358(0x1b9)]==_0x1429a3[_0x1c1358(0x1b9)]?_0x15f0fe[_0x1c1358(0x184)]++:_0x33f40[_0x1c1358(0x165)]({'type':_0x1cc54c+_0x1c1358(0x179),'element':_0x1429a3,'quantity':0x1}),_0x21b207[_0x1c1358(0x195)](_0x30c529=>!(_0x1c1358(0x193)==_0x30c529[_0x1c1358(0x1aa)]&&_0x30c529[_0x1c1358(0x1b1)]==_0x36afa9));}else{if(this[_0x1c1358(0x1b7)][_0x1c1358(0x188)](_0x36afa9,_0x1c1358(0x191))||_0x36afa9['is'](_0x1c1358(0x170),_0x1c1358(0x1b2))){const _0x627fa4=_0x36afa9;if(_0x1c1358(0x1b8)==_0x1cc54c&&_0x1c1358(0x176)==_0x18ec54[_0x1c1358(0x1aa)]||_0x1c1358(0x197)==_0x1cc54c&&_0x1c1358(0x193)==_0x18ec54[_0x1c1358(0x1aa)])continue;if(_0x15f0fe&&-0x1==_0x15f0fe[_0x1c1358(0x1aa)][_0x1c1358(0x160)](_0x1c1358(0x169))){_0x1c1358(0x17a)==_0x15f0fe[_0x1c1358(0x1aa)]&&(_0x15f0fe[_0x1cc54c]+='\x0a');continue;}let _0x3cde13;if(_0x3cde13=_0x1c1358(0x1b8)==_0x1cc54c?_0x627fa4[_0x1c1358(0x1be)]&&!this[_0x1c1358(0x1b7)][_0x1c1358(0x1a1)](_0x627fa4[_0x1c1358(0x1be)])?_0x627fa4[_0x1c1358(0x1be)]:null:_0x627fa4[_0x1c1358(0x1a0)]&&!this[_0x1c1358(0x1b7)][_0x1c1358(0x1a1)](_0x627fa4[_0x1c1358(0x1a0)])?_0x627fa4[_0x1c1358(0x1a0)]:null,_0x627fa4[_0x1c1358(0x17b)]||_0x3cde13&&_0x3cde13[_0x1c1358(0x17b)]){const _0x1b540f=_0x3cde13&&_0x3cde13[_0x1c1358(0x17b)]?_0x3cde13:_0x627fa4;_0x15f0fe&&_0x15f0fe[_0x1c1358(0x1aa)]==_0x1cc54c+_0x1c1358(0x1b3)&&_0x15f0fe[_0x1c1358(0x170)][_0x1c1358(0x1b9)]==_0x1b540f[_0x1c1358(0x1b9)]?_0x15f0fe[_0x1c1358(0x184)]++:_0x33f40[_0x1c1358(0x165)]({'type':_0x1cc54c+_0x1c1358(0x1b3),'element':_0x1b540f,'quantity':0x1});}else _0x33f40[_0x1c1358(0x165)]({'type':_0x1cc54c+_0x1c1358(0x169),'element':_0x627fa4});}}}}}[_0xa3a69b(0x18e)](_0x2cd258){const _0x163e57=_0xa3a69b,_0x6cd77c=this[_0x163e57(0x192)],_0x549b60=[],_0x593cbb=[],_0x48bed5=[];for(const _0x55e69d of _0x2cd258)switch(_0x55e69d[_0x163e57(0x1aa)]){case _0x163e57(0x17a):if(_0x55e69d[_0x163e57(0x1b8)]=_0x55e69d[_0x163e57(0x1b8)][_0x163e57(0x19d)](/(\S)\u000A+(\S)/g,_0x163e57(0x183))[_0x163e57(0x19d)](/\u000A/g,''),_0x55e69d[_0x163e57(0x197)]=_0x55e69d[_0x163e57(0x197)][_0x163e57(0x19d)](/(\S)\u000A+(\S)/g,_0x163e57(0x183))[_0x163e57(0x19d)](/\u000A/g,''),''!=_0x55e69d[_0x163e57(0x1b8)]&&''!=_0x55e69d[_0x163e57(0x197)]){_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x19d),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x1ba),['\x22'+_0x55e69d[_0x163e57(0x197)]+'\x22','\x22'+_0x55e69d[_0x163e57(0x1b8)]+'\x22'])});continue;}if(null!=_0x55e69d[_0x163e57(0x1b8)][_0x163e57(0x1bc)](/^ +$/)){_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x18d),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x1a5),_0x2d31cd(_0x6cd77c,_0x163e57(0x1b0),_0x55e69d[_0x163e57(0x1b8)][_0x163e57(0x181)]))});continue;}if(null!=_0x55e69d[_0x163e57(0x197)][_0x163e57(0x1bc)](/^ +$/)){_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x17e),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x175),_0x2d31cd(_0x6cd77c,_0x163e57(0x1b0),_0x55e69d[_0x163e57(0x197)][_0x163e57(0x181)]))});continue;}if(''!=_0x55e69d[_0x163e57(0x1b8)]){_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x18d),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x1a5),'\x22'+_0x55e69d[_0x163e57(0x1b8)]+'\x22')});continue;}_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x17e),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x175),'\x22'+_0x55e69d[_0x163e57(0x197)]+'\x22')});continue;case _0x163e57(0x186):case _0x163e57(0x1a4):_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x18d),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x1a5),this[_0x163e57(0x182)](_0x55e69d[_0x163e57(0x170)],_0x55e69d[_0x163e57(0x184)]))});continue;case _0x163e57(0x172):case _0x163e57(0x177):_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x17e),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x175),this[_0x163e57(0x182)](_0x55e69d[_0x163e57(0x170)],_0x55e69d[_0x163e57(0x184)]))});continue;case _0x163e57(0x167):_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x18d),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x1ad),this[_0x163e57(0x182)](_0x55e69d[_0x163e57(0x170)],_0x55e69d[_0x163e57(0x184)]))});continue;case _0x163e57(0x16a):_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x17e),'content':_0x2d31cd(_0x6cd77c,_0x163e57(0x16d),this[_0x163e57(0x182)](_0x55e69d[_0x163e57(0x170)],_0x55e69d[_0x163e57(0x184)]))});continue;case _0x163e57(0x1a2):_0x593cbb[_0x163e57(0x165)](_0x55e69d[_0x163e57(0x17d)]);continue;case _0x163e57(0x18a):_0x48bed5[_0x163e57(0x165)](_0x55e69d[_0x163e57(0x17d)]);continue;default:_0x549b60[_0x163e57(0x165)](_0x55e69d);}if(_0x593cbb[_0x163e57(0x181)]){const _0x14edee=_0x593cbb[_0x163e57(0x171)](_0x5e068d=>this[_0x163e57(0x17f)][_0x163e57(0x18c)](_0x5e068d)?this[_0x163e57(0x17f)][_0x163e57(0x19e)](_0x5e068d):_0x5e068d)[_0x163e57(0x1bb)](',\x20');_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x173),'content':_0x2d31cd(this[_0x163e57(0x192)],_0x163e57(0x164),_0x14edee)});}if(_0x48bed5[_0x163e57(0x181)]){const _0x20da12=_0x48bed5[_0x163e57(0x171)](_0x21af75=>this[_0x163e57(0x17f)][_0x163e57(0x18c)](_0x21af75)?this[_0x163e57(0x17f)][_0x163e57(0x19e)](_0x21af75):_0x21af75)[_0x163e57(0x1bb)](',\x20');_0x549b60[_0x163e57(0x165)]({'type':_0x163e57(0x173),'content':_0x2d31cd(this[_0x163e57(0x192)],_0x163e57(0x196),_0x20da12)});}return _0x549b60;}[_0xa3a69b(0x163)](_0x13412c){const _0x1d7cc6=_0xa3a69b;for(const _0x347733 of this[_0x1d7cc6(0x17c)]){const _0x1c176f=_0x347733(_0x13412c);if(_0x1c176f&&_0x1d7cc6(0x1aa)in _0x1c176f)return _0x1c176f;}}[_0xa3a69b(0x19a)](_0x5f1671,_0x46bd37){const _0x3d9774=_0xa3a69b,_0x3735e2=_0x46bd37[_0x3d9774(0x1ac)],_0xc6e985=void 0x0===_0x3735e2[_0x3d9774(0x162)]?_0x3d9774(0x18a):_0x3d9774(0x1a2);_0x5f1671[_0x3d9774(0x165)]({'type':_0xc6e985,'key':_0x3735e2[_0x3d9774(0x17d)]});}[_0xa3a69b(0x1bf)](_0x27469d,_0x133f67){const _0x43bac0=_0xa3a69b;_0x27469d[_0x43bac0(0x165)]({'type':_0x43bac0(0x173),'content':_0x2d31cd(this[_0x43bac0(0x192)],_0x43bac0(0x199),this[_0x43bac0(0x182)](_0x133f67[_0x43bac0(0x16f)]()[_0x43bac0(0x1ae)][_0x43bac0(0x189)],0x1))});}[_0xa3a69b(0x168)](_0x58f5e3,_0x24c57b,_0x518561){const _0xc77bc0=_0xa3a69b;if(this[_0xc77bc0(0x190)](_0x58f5e3,_0x24c57b),_0x518561&&_0x518561[_0xc77bc0(0x16f)]()&&!_0x24c57b[_0xc77bc0(0x16f)]()[_0xc77bc0(0x1a7)][_0xc77bc0(0x18f)](_0x518561[_0xc77bc0(0x16f)]()[_0xc77bc0(0x1ae)])){const _0x144237=_0x58f5e3[_0x58f5e3[_0xc77bc0(0x181)]-0x1],_0x10236d=_0xc77bc0(0x18d)==_0x24c57b[_0xc77bc0(0x1aa)]?_0xc77bc0(0x1b8):_0xc77bc0(0x197);_0x144237&&_0xc77bc0(0x17a)==_0x144237[_0xc77bc0(0x1aa)]&&(_0x144237[_0x10236d]+='\x0a');}}}
|
|
23
|
+
const _0x5748bf=_0x8e60;function _0x3fb4(){const _0x489114=['key','pop','_addDescriptionItems','removeEmptyContainer','addFormat','ELEMENT_SPACE','*Remove:*\x20%0','isInContent','addObject','removeObject','registerElementLabel','remove','667799ILKZyp','removeFormat','6Gxkmxv','$textProxy','nextSibling','function','elementEnd','length','item','*Merge:*\x20%0','checkChild','nodeAfter','join','2679532zzMSkp','REPLACE_TEXT','getDescriptions','_locale','start','softBreak','_itemLabels','name','set','*Insert:*\x20%0','*Change\x20to:*\x20%0','1862040tbTXRC','map','1074150fiQPxW','label','matchingCallback','_handleInsertRemoveSuggestionDescription','Object','text','insertion','_resolveDescriptionItems','_attributeLabels','*Remove\x20format:*\x20%0','isObject','normal','*Split:*\x20%0','5228377QnNAEL','2751976CjmzlR','_handleCustomCallbackDescription','_customCallbacks','_itemLabelsCallbacks','element','newValue','isEmpty','EmptyContainer','_schema','Container','340npqjmD','previousSibling','removeContainer','replace','skip','$text','match','$1\x20$2','_handleAttributeSuggestionDescription','isEqual','getWalker','subType','format','addEmptyContainer','data','5LBEcGm','has','registerDescriptionCallback','9vcpuZJ','elementStart','end','_handleRenameSuggestionDescription','addContainer','attribute','*Set\x20format:*\x20%0','add','registerAttributeLabel','getItemLabel','getFirstRange','442691njKvcX','type','quantity','deletion','push','get','indexOf'];_0x3fb4=function(){return _0x489114;};return _0x3fb4();}(function(_0x3854bc,_0x151651){const _0x5de814=_0x8e60,_0x551760=_0x3854bc();while(!![]){try{const _0x10fe58=-parseInt(_0x5de814(0xa1))/0x1+parseInt(_0x5de814(0xce))/0x2+-parseInt(_0x5de814(0xcc))/0x3+parseInt(_0x5de814(0xc1))/0x4*(-parseInt(_0x5de814(0xf5))/0x5)+parseInt(_0x5de814(0xb6))/0x6*(-parseInt(_0x5de814(0xdb))/0x7)+-parseInt(_0x5de814(0xdc))/0x8*(-parseInt(_0x5de814(0xf8))/0x9)+-parseInt(_0x5de814(0xe6))/0xa*(-parseInt(_0x5de814(0xb4))/0xb);if(_0x10fe58===_0x151651)break;else _0x551760['push'](_0x551760['shift']());}catch(_0x4c6a94){_0x551760['push'](_0x551760['shift']());}}}(_0x3fb4,0x71875));import{getTranslation as _0x41ecd3}from'./utils/common-translations.js';function _0x8e60(_0x5be510,_0x6cdbd0){const _0x3fb451=_0x3fb4();return _0x8e60=function(_0x8e600c,_0x3589b8){_0x8e600c=_0x8e600c-0x9f;let _0x10a07e=_0x3fb451[_0x8e600c];return _0x10a07e;},_0x8e60(_0x5be510,_0x6cdbd0);}import{priorities as _0x27ae8b,insertToPriorityArray as _0x187910}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x29f356}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x5748bf(0xde)];[_0x5748bf(0xc7)];[_0x5748bf(0xdf)];[_0x5748bf(0xd6)];[_0x5748bf(0xe4)];[_0x5748bf(0xc4)];constructor(_0x3c2dfb,_0x5f18ba){const _0x425ade=_0x5748bf;this[_0x425ade(0xde)]=[],this[_0x425ade(0xc7)]=new Map(),this[_0x425ade(0xdf)]=[],this[_0x425ade(0xd6)]=new Map(),this[_0x425ade(0xe4)]=_0x3c2dfb,this[_0x425ade(0xc4)]=_0x5f18ba;}[_0x5748bf(0xc3)](_0x562fa7){const _0xe2fffd=_0x5748bf,_0x48b708=[],_0x30e5bc=new Set(),_0x371cd1=new Set();for(let _0x40baa9=0x0;_0x40baa9<_0x562fa7[_0xe2fffd(0xbb)];_0x40baa9++){const _0x34a73e=_0x562fa7[_0x40baa9];if(!_0x34a73e[_0xe2fffd(0xaf)])continue;const _0x770110=this[_0xe2fffd(0xdd)](_0x34a73e);if(_0x770110){if(null!=_0x34a73e[_0xe2fffd(0xf1)]){if(_0x30e5bc[_0xe2fffd(0xf6)](_0x34a73e[_0xe2fffd(0xf1)]))continue;_0x30e5bc[_0xe2fffd(0xff)](_0x34a73e[_0xe2fffd(0xf1)]);}_0x48b708[_0xe2fffd(0xa5)](_0x770110);}else{if(_0xe2fffd(0xfd)==_0x34a73e[_0xe2fffd(0xa2)]){const _0x301fdd=_0x34a73e[_0xe2fffd(0xf4)][_0xe2fffd(0xa8)];if(_0x371cd1[_0xe2fffd(0xf6)](_0x301fdd))continue;_0x371cd1[_0xe2fffd(0xff)](_0x34a73e[_0xe2fffd(0xf4)][_0xe2fffd(0xa8)]),_0x301fdd==_0x29f356?this[_0xe2fffd(0xfb)](_0x48b708,_0x34a73e):this[_0xe2fffd(0xee)](_0x48b708,_0x34a73e);continue;}_0xe2fffd(0xd4)!=_0x34a73e[_0xe2fffd(0xa2)]&&_0xe2fffd(0xa4)!=_0x34a73e[_0xe2fffd(0xa2)]||this[_0xe2fffd(0xd1)](_0x48b708,_0x34a73e,_0x562fa7[_0x40baa9+0x1]);}}return this[_0xe2fffd(0xd5)](_0x48b708);}[_0x5748bf(0xf7)](_0x3c16c2){const _0x2467ba=_0x5748bf;this[_0x2467ba(0xde)][_0x2467ba(0xa5)](_0x3c16c2);}[_0x5748bf(0xb2)](_0x396199,_0x5d6daa,_0x2b9b09=_0x27ae8b[_0x5748bf(0xd9)]){const _0x17e864=_0x5748bf;_0x17e864(0xb9)==typeof _0x396199?_0x187910(this[_0x17e864(0xdf)],{'matchingCallback':_0x396199,'label':_0x5d6daa,'priority':_0x2b9b09}):this[_0x17e864(0xc7)][_0x17e864(0xc9)](_0x396199,_0x5d6daa);}[_0x5748bf(0x100)](_0x49a4e3,_0x50694f){const _0x15e0d3=_0x5748bf;this[_0x15e0d3(0xd6)][_0x15e0d3(0xc9)](_0x49a4e3,_0x50694f);}[_0x5748bf(0x9f)](_0x341201,_0x39c08c=0x1){const _0x191be7=_0x5748bf;let _0x54d686;for(const _0x2369ad of this[_0x191be7(0xdf)])if(_0x2369ad[_0x191be7(0xd0)](_0x341201)){_0x54d686=_0x2369ad[_0x191be7(0xcf)];break;}return _0x54d686||(_0x54d686=this[_0x191be7(0xc7)][_0x191be7(0xa6)](_0x341201[_0x191be7(0xc8)])),_0x54d686?_0x54d686(_0x39c08c):0x1!==_0x39c08c?_0x39c08c+'\x20'+_0x341201[_0x191be7(0xc8)]+'s':''+_0x341201[_0x191be7(0xc8)];}[_0x5748bf(0xaa)](_0x28ac4a,_0x397672){const _0x31397f=_0x5748bf,_0xd6158c=_0x397672[_0x31397f(0xa0)]()[_0x31397f(0xf0)](),_0x2a0e10=_0x31397f(0xd4)==_0x397672[_0x31397f(0xa2)]?_0x31397f(0xff):_0x31397f(0xb3);for(const _0x80b259 of _0xd6158c){const _0x10a695=_0x80b259[_0x31397f(0xbc)],_0x1128fa=_0x28ac4a[_0x28ac4a[_0x31397f(0xbb)]-0x1];if(_0x10a695['is'](_0x31397f(0xb7)))_0x1128fa&&_0x1128fa[_0x31397f(0xa2)][_0x31397f(0xa7)](_0x31397f(0xe5))>-0x1&&_0x28ac4a[_0x31397f(0xa9)](),_0x1128fa&&_0x31397f(0xd3)==_0x1128fa[_0x31397f(0xa2)]?_0x1128fa[_0x2a0e10]+=_0x10a695[_0x31397f(0xf4)]:_0x28ac4a[_0x31397f(0xa5)]({'type':_0x31397f(0xd3),'add':_0x31397f(0xff)==_0x2a0e10?_0x10a695[_0x31397f(0xf4)]:'','remove':_0x31397f(0xb3)==_0x2a0e10?_0x10a695[_0x31397f(0xf4)]:''});else{if(this[_0x31397f(0xe4)][_0x31397f(0xd8)](_0x10a695)){const _0x5b7d0c=_0x10a695;if(_0x1128fa&&_0x1128fa[_0x31397f(0xa2)][_0x31397f(0xa7)](_0x31397f(0xe5))>-0x1&&_0x28ac4a[_0x31397f(0xa9)](),_0x31397f(0xba)==_0x80b259[_0x31397f(0xa2)])continue;_0x1128fa&&_0x1128fa[_0x31397f(0xa2)]==_0x2a0e10+_0x31397f(0xd2)&&_0x1128fa[_0x31397f(0xe0)][_0x31397f(0xc8)]==_0x5b7d0c[_0x31397f(0xc8)]?_0x1128fa[_0x31397f(0xa3)]++:_0x28ac4a[_0x31397f(0xa5)]({'type':_0x2a0e10+_0x31397f(0xd2),'element':_0x5b7d0c,'quantity':0x1}),_0xd6158c[_0x31397f(0xea)](_0x13c93f=>!(_0x31397f(0xba)==_0x13c93f[_0x31397f(0xa2)]&&_0x13c93f[_0x31397f(0xbc)]==_0x10a695));}else{if(this[_0x31397f(0xe4)][_0x31397f(0xbe)](_0x10a695,_0x31397f(0xeb))||_0x10a695['is'](_0x31397f(0xe0),_0x31397f(0xc6))){const _0x5ad64c=_0x10a695;if(_0x31397f(0xff)==_0x2a0e10&&_0x31397f(0xf9)==_0x80b259[_0x31397f(0xa2)]||_0x31397f(0xb3)==_0x2a0e10&&_0x31397f(0xba)==_0x80b259[_0x31397f(0xa2)])continue;if(_0x1128fa&&-0x1==_0x1128fa[_0x31397f(0xa2)][_0x31397f(0xa7)](_0x31397f(0xe5))){_0x31397f(0xd3)==_0x1128fa[_0x31397f(0xa2)]&&(_0x1128fa[_0x2a0e10]+='\x0a');continue;}let _0x2b5896;if(_0x2b5896=_0x31397f(0xff)==_0x2a0e10?_0x5ad64c[_0x31397f(0xb8)]&&!this[_0x31397f(0xe4)][_0x31397f(0xd8)](_0x5ad64c[_0x31397f(0xb8)])?_0x5ad64c[_0x31397f(0xb8)]:null:_0x5ad64c[_0x31397f(0xe7)]&&!this[_0x31397f(0xe4)][_0x31397f(0xd8)](_0x5ad64c[_0x31397f(0xe7)])?_0x5ad64c[_0x31397f(0xe7)]:null,_0x5ad64c[_0x31397f(0xe2)]||_0x2b5896&&_0x2b5896[_0x31397f(0xe2)]){const _0x4f7aa7=_0x2b5896&&_0x2b5896[_0x31397f(0xe2)]?_0x2b5896:_0x5ad64c;_0x1128fa&&_0x1128fa[_0x31397f(0xa2)]==_0x2a0e10+_0x31397f(0xe3)&&_0x1128fa[_0x31397f(0xe0)][_0x31397f(0xc8)]==_0x4f7aa7[_0x31397f(0xc8)]?_0x1128fa[_0x31397f(0xa3)]++:_0x28ac4a[_0x31397f(0xa5)]({'type':_0x2a0e10+_0x31397f(0xe3),'element':_0x4f7aa7,'quantity':0x1});}else _0x28ac4a[_0x31397f(0xa5)]({'type':_0x2a0e10+_0x31397f(0xe5),'element':_0x5ad64c});}}}}}[_0x5748bf(0xd5)](_0x4f4630){const _0x4d826d=_0x5748bf,_0x5958de=this[_0x4d826d(0xc4)],_0x583383=[],_0x42ee13=[],_0x172012=[];for(const _0x395452 of _0x4f4630)switch(_0x395452[_0x4d826d(0xa2)]){case _0x4d826d(0xd3):if(_0x395452[_0x4d826d(0xff)]=_0x395452[_0x4d826d(0xff)][_0x4d826d(0xe9)](/(\S)\u000A+(\S)/g,_0x4d826d(0xed))[_0x4d826d(0xe9)](/\u000A/g,''),_0x395452[_0x4d826d(0xb3)]=_0x395452[_0x4d826d(0xb3)][_0x4d826d(0xe9)](/(\S)\u000A+(\S)/g,_0x4d826d(0xed))[_0x4d826d(0xe9)](/\u000A/g,''),''!=_0x395452[_0x4d826d(0xff)]&&''!=_0x395452[_0x4d826d(0xb3)]){_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xe9),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xc2),['\x22'+_0x395452[_0x4d826d(0xb3)]+'\x22','\x22'+_0x395452[_0x4d826d(0xff)]+'\x22'])});continue;}if(null!=_0x395452[_0x4d826d(0xff)][_0x4d826d(0xec)](/^ +$/)){_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xd4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xca),_0x41ecd3(_0x5958de,_0x4d826d(0xad),_0x395452[_0x4d826d(0xff)][_0x4d826d(0xbb)]))});continue;}if(null!=_0x395452[_0x4d826d(0xb3)][_0x4d826d(0xec)](/^ +$/)){_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xa4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xae),_0x41ecd3(_0x5958de,_0x4d826d(0xad),_0x395452[_0x4d826d(0xb3)][_0x4d826d(0xbb)]))});continue;}if(''!=_0x395452[_0x4d826d(0xff)]){_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xd4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xca),'\x22'+_0x395452[_0x4d826d(0xff)]+'\x22')});continue;}_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xa4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xae),'\x22'+_0x395452[_0x4d826d(0xb3)]+'\x22')});continue;case _0x4d826d(0xf3):case _0x4d826d(0xb0):_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xd4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xca),this[_0x4d826d(0x9f)](_0x395452[_0x4d826d(0xe0)],_0x395452[_0x4d826d(0xa3)]))});continue;case _0x4d826d(0xab):case _0x4d826d(0xb1):_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xa4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xae),this[_0x4d826d(0x9f)](_0x395452[_0x4d826d(0xe0)],_0x395452[_0x4d826d(0xa3)]))});continue;case _0x4d826d(0xfc):_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xd4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xda),this[_0x4d826d(0x9f)](_0x395452[_0x4d826d(0xe0)],_0x395452[_0x4d826d(0xa3)]))});continue;case _0x4d826d(0xe8):_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xa4),'content':_0x41ecd3(_0x5958de,_0x4d826d(0xbd),this[_0x4d826d(0x9f)](_0x395452[_0x4d826d(0xe0)],_0x395452[_0x4d826d(0xa3)]))});continue;case _0x4d826d(0xac):_0x42ee13[_0x4d826d(0xa5)](_0x395452[_0x4d826d(0xa8)]);continue;case _0x4d826d(0xb5):_0x172012[_0x4d826d(0xa5)](_0x395452[_0x4d826d(0xa8)]);continue;default:_0x583383[_0x4d826d(0xa5)](_0x395452);}if(_0x42ee13[_0x4d826d(0xbb)]){const _0x11f182=_0x42ee13[_0x4d826d(0xcd)](_0x5c0574=>this[_0x4d826d(0xd6)][_0x4d826d(0xf6)](_0x5c0574)?this[_0x4d826d(0xd6)][_0x4d826d(0xa6)](_0x5c0574):_0x5c0574)[_0x4d826d(0xc0)](',\x20');_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xf2),'content':_0x41ecd3(this[_0x4d826d(0xc4)],_0x4d826d(0xfe),_0x11f182)});}if(_0x172012[_0x4d826d(0xbb)]){const _0x1982da=_0x172012[_0x4d826d(0xcd)](_0x581e18=>this[_0x4d826d(0xd6)][_0x4d826d(0xf6)](_0x581e18)?this[_0x4d826d(0xd6)][_0x4d826d(0xa6)](_0x581e18):_0x581e18)[_0x4d826d(0xc0)](',\x20');_0x583383[_0x4d826d(0xa5)]({'type':_0x4d826d(0xf2),'content':_0x41ecd3(this[_0x4d826d(0xc4)],_0x4d826d(0xd7),_0x1982da)});}return _0x583383;}[_0x5748bf(0xdd)](_0x20d76d){const _0x3b9f7c=_0x5748bf;for(const _0xdc0dd2 of this[_0x3b9f7c(0xde)]){const _0x3cfb32=_0xdc0dd2(_0x20d76d);if(_0x3cfb32&&_0x3b9f7c(0xa2)in _0x3cfb32)return _0x3cfb32;}}[_0x5748bf(0xee)](_0x421c1b,_0xd3c393){const _0x1014e2=_0x5748bf,_0xff6101=_0xd3c393[_0x1014e2(0xf4)],_0x516a2b=void 0x0===_0xff6101[_0x1014e2(0xe1)]?_0x1014e2(0xb5):_0x1014e2(0xac);_0x421c1b[_0x1014e2(0xa5)]({'type':_0x516a2b,'key':_0xff6101[_0x1014e2(0xa8)]});}[_0x5748bf(0xfb)](_0xbda0b6,_0x400d1b){const _0x6dbee9=_0x5748bf;_0xbda0b6[_0x6dbee9(0xa5)]({'type':_0x6dbee9(0xf2),'content':_0x41ecd3(this[_0x6dbee9(0xc4)],_0x6dbee9(0xcb),this[_0x6dbee9(0x9f)](_0x400d1b[_0x6dbee9(0xa0)]()[_0x6dbee9(0xc5)][_0x6dbee9(0xbf)],0x1))});}[_0x5748bf(0xd1)](_0x1e8b54,_0x28d636,_0x411b90){const _0x4d882d=_0x5748bf;if(this[_0x4d882d(0xaa)](_0x1e8b54,_0x28d636),_0x411b90&&_0x411b90[_0x4d882d(0xa0)]()&&!_0x28d636[_0x4d882d(0xa0)]()[_0x4d882d(0xfa)][_0x4d882d(0xef)](_0x411b90[_0x4d882d(0xa0)]()[_0x4d882d(0xc5)])){const _0x4e56fb=_0x1e8b54[_0x1e8b54[_0x4d882d(0xbb)]-0x1],_0x480b17=_0x4d882d(0xd4)==_0x28d636[_0x4d882d(0xa2)]?_0x4d882d(0xff):_0x4d882d(0xb3);_0x4e56fb&&_0x4d882d(0xd3)==_0x4e56fb[_0x4d882d(0xa2)]&&(_0x4e56fb[_0x480b17]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3eb8e0=_0x4fc3;(function(_0x4081dd,_0x5a6860){var _0x1bb92f=_0x4fc3,_0xec99e5=_0x4081dd();while(!![]){try{var _0x338170=parseInt(_0x1bb92f(0xeb))/0x1+-parseInt(_0x1bb92f(0xf0))/0x2*(parseInt(_0x1bb92f(0xf6))/0x3)+parseInt(_0x1bb92f(0xef))/0x4+-parseInt(_0x1bb92f(0xed))/0x5*(parseInt(_0x1bb92f(0xe9))/0x6)+parseInt(_0x1bb92f(0xe3))/0x7*(-parseInt(_0x1bb92f(0xec))/0x8)+-parseInt(_0x1bb92f(0xe2))/0x9+parseInt(_0x1bb92f(0xe8))/0xa;if(_0x338170===_0x5a6860)break;else _0xec99e5['push'](_0xec99e5['shift']());}catch(_0x4ab388){_0xec99e5['push'](_0xec99e5['shift']());}}}(_0x8195,0x647e9));import{Plugin as _0x47f78c}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x2ddd3b}from'./trackchangesui.js';function _0x4fc3(_0x4e3271,_0x35f029){var _0x81955f=_0x8195();return _0x4fc3=function(_0x4fc317,_0x2285e8){_0x4fc317=_0x4fc317-0xe0;var _0x462e73=_0x81955f[_0x4fc317];return _0x462e73;},_0x4fc3(_0x4e3271,_0x35f029);}import{TrackChangesEditing as _0x497892}from'./trackchangesediting.js';function _0x8195(){var _0x215779=['requires','7361920ZzUzbv','4882494lDHrmj','addSuggestion','681106tSRvIK','8SPGGJX','5JLxGao','editor','1831700vXeTpC','790VVNaLF','isOfficialPlugin','isPremiumPlugin','TrackChanges','adapter','plugins','1767GzxISl','addSuggestionData','pluginName','getSuggestion','2625957CmujCR','877947phMGEt','getSuggestions','Comments','get'];_0x8195=function(){return _0x215779;};return _0x8195();}import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x47f78c{static get[_0x3eb8e0(0xe7)](){var _0x32bd92=_0x3eb8e0;return[_0x497892,_0x2ddd3b,_0x32bd92(0xe5)];}static get[_0x3eb8e0(0xe0)](){var _0x508fd1=_0x3eb8e0;return _0x508fd1(0xf3);}static get[_0x3eb8e0(0xf1)](){return!0x0;}static get[_0x3eb8e0(0xf2)](){return!0x0;}set[_0x3eb8e0(0xf4)](_0x23626b){var _0x4053ab=_0x3eb8e0;this[_0x4053ab(0xee)][_0x4053ab(0xf5)][_0x4053ab(0xe6)](_0x497892)[_0x4053ab(0xf4)]=_0x23626b;}get[_0x3eb8e0(0xf4)](){var _0x3ba238=_0x3eb8e0;return this[_0x3ba238(0xee)][_0x3ba238(0xf5)][_0x3ba238(0xe6)](_0x497892)[_0x3ba238(0xf4)];}[_0x3eb8e0(0xea)](_0x15108c){var _0x1566c1=_0x3eb8e0;return this[_0x1566c1(0xee)][_0x1566c1(0xf5)][_0x1566c1(0xe6)](_0x497892)[_0x1566c1(0xf7)](_0x15108c);}[_0x3eb8e0(0xe4)]({skipNotAttached:_0x20682a=!0x1,toJSON:_0x47cd81=!0x1}={}){var _0x10777a=_0x3eb8e0;return this[_0x10777a(0xee)][_0x10777a(0xf5)][_0x10777a(0xe6)](_0x497892)[_0x10777a(0xe4)]({'skipNotAttached':_0x20682a,'toJSON':_0x47cd81});}[_0x3eb8e0(0xe1)](_0x31ad0b){var _0x541121=_0x3eb8e0;return this[_0x541121(0xee)][_0x541121(0xf5)][_0x541121(0xe6)](_0x497892)[_0x541121(0xe1)](_0x31ad0b);}}
|