@ckeditor/ckeditor5-track-changes 41.4.2 → 42.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/suggestion.d.ts +1 -1
- package/dist/types/ui/suggestioncontroller.d.ts +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +1 -1
- package/src/suggestion.js +2 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +2 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2eb4(_0x2a5df0,_0x1f391f){const _0x3aa43f=_0x3aa4();return _0x2eb4=function(_0x2eb469,_0x9190b0){_0x2eb469=_0x2eb469-0xbb;let _0xad8cb6=_0x3aa43f[_0x2eb469];return _0xad8cb6;},_0x2eb4(_0x2a5df0,_0x1f391f);}const _0x3f706b=_0x2eb4;(function(_0xd7c47c,_0x4609f0){const _0x285f05=_0x2eb4,_0x5d3519=_0xd7c47c();while(!![]){try{const _0x53a00a=parseInt(_0x285f05(0x10f))/0x1+-parseInt(_0x285f05(0xf1))/0x2*(-parseInt(_0x285f05(0x114))/0x3)+parseInt(_0x285f05(0x110))/0x4*(parseInt(_0x285f05(0xe0))/0x5)+-parseInt(_0x285f05(0xfc))/0x6+-parseInt(_0x285f05(0xf2))/0x7*(parseInt(_0x285f05(0x102))/0x8)+parseInt(_0x285f05(0xd0))/0x9*(parseInt(_0x285f05(0xff))/0xa)+parseInt(_0x285f05(0xc0))/0xb*(-parseInt(_0x285f05(0xe2))/0xc);if(_0x53a00a===_0x4609f0)break;else _0x5d3519['push'](_0x5d3519['shift']());}catch(_0x4cb0c7){_0x5d3519['push'](_0x5d3519['shift']());}}}(_0x3aa4,0x3a15d));import{Plugin as _0x510838}from'ckeditor5/src/core.js';import _0x2c473f from'./table.js';import{LiveRange as _0x46f894}from'ckeditor5/src/engine.js';function _0x3aa4(){const _0x244798=['locale','refresh','format','splitTableCellHorizontally','has','isInContent','requires','TrackChangesEditing','5FgEHFu','_tablePostFixingSubtypes','13908oRxbMK','highest','_isForcedDefaultExecutionBlock','change','enableCommand','fromRange','_areSelectedCellsMergable','getFirstPosition','getCellLocation','element','getSuggestions','size','*Merge\x20cells*','$graveyard','_areMergableCells','150026SYpKYH','7588kwBaCF','tableCell','value','mergeTableCellRight','containsRange','setSelection','get','selection','markBlockFormat','editor','1231596qiVsQn','deletion','_suggestionFactory','20VoKwia','find','from','2152YaAMDr','findAncestor','length','map','TableUtils','descriptionFactory','document','splitTableCellVertically','model','set:isEnabled','createTableWalker','*Split\x20cell:*\x20vertically','*Split\x20cell:*\x20horizontally','363560dISnCI','571492OBfccr','table','trackChanges','accept','3cYMyTL','createRangeOn','markMultiRangeBlockFormat','author','rootName','forceDefaultExecution','horizontally','getSelectionAffectedTableCells','direction','registerDescriptionCallback','TableEditing','detach','filter','return','mergeTableCellDown','formatInline','add','2233vhpgdi','registerCustomCallback','commandName','getAncestors','afterInit','stop','_acceptFormatSuggestionCallbackFactory','insertion','cell','commands','plugins','root','mergeTableCellUp','formatBlock','mergeTableCellLeft','isEnabled','1748745TdmnXh','execute','push','subType','mergeTableCells','low','getRanges','type'];_0x3aa4=function(){return _0x244798;};return _0x3aa4();}import{getTranslation as _0x4984af}from'../utils/common-translations.js';export default class St extends _0x510838{static get[_0x3f706b(0xde)](){return[_0x2c473f];}[_0x3f706b(0xc4)](){const _0x174aa8=_0x3f706b,_0x1a9826=this[_0x174aa8(0xfb)],_0x184e7d=_0x1a9826[_0x174aa8(0x10a)][_0x174aa8(0x108)][_0x174aa8(0xf9)],_0x261124=_0x1a9826[_0x174aa8(0xd8)];if(!_0x1a9826[_0x174aa8(0xca)][_0x174aa8(0xdc)](_0x174aa8(0x11e)))return;const _0xa7ef84=_0x1a9826[_0x174aa8(0xca)][_0x174aa8(0xf8)](_0x174aa8(0xdf)),_0x5b9725=_0x1a9826[_0x174aa8(0xca)][_0x174aa8(0xf8)](_0x174aa8(0x106)),_0x3d76a8=_0x1a9826[_0x174aa8(0xca)][_0x174aa8(0xf8)](_0x2c473f);_0x3d76a8[_0x174aa8(0xe1)][_0x174aa8(0xd2)](_0x174aa8(0xd4)),_0xa7ef84[_0x174aa8(0xe6)](_0x174aa8(0xd4),()=>{const _0x57338a=_0x174aa8,_0x26b6a3=_0x5b9725[_0x57338a(0x11b)](_0x1a9826[_0x57338a(0x10a)][_0x57338a(0x108)][_0x57338a(0xf9)]);_0x1a9826[_0x57338a(0x10a)][_0x57338a(0xe5)](()=>{const _0x4a2743=_0x57338a;_0xa7ef84[_0x4a2743(0x116)](_0x26b6a3,{'commandName':_0x4a2743(0xd4),'commandParams':[]},[],_0x4a2743(0xd4));});}),_0x1a9826[_0x174aa8(0xc9)][_0x174aa8(0xf8)](_0x174aa8(0xd4))['on'](_0x174aa8(0xd1),(_0x3f6f93,_0x27bfa0)=>{const _0x12c0e1=_0x174aa8;_0x1a9826[_0x12c0e1(0xc9)][_0x12c0e1(0xf8)](_0x12c0e1(0x112))[_0x12c0e1(0xf4)]&&(_0x27bfa0[_0x12c0e1(0x104)]>0x0&&_0x27bfa0[_0x27bfa0[_0x12c0e1(0x104)]-0x1]&&_0x27bfa0[_0x27bfa0[_0x12c0e1(0x104)]-0x1][_0x12c0e1(0x119)]||_0xa7ef84[_0x12c0e1(0xe4)]||this[_0x12c0e1(0xe8)]()||_0x3f6f93[_0x12c0e1(0xc5)]());},{'priority':_0x174aa8(0xe3)});for(const _0x5b1fc0 of[_0x174aa8(0xcc),_0x174aa8(0xf5),_0x174aa8(0xbd),_0x174aa8(0xce)]){const _0x4d39a0=_0x1a9826[_0x174aa8(0xc9)][_0x174aa8(0xf8)](_0x5b1fc0);_0xa7ef84[_0x174aa8(0xe6)](_0x5b1fc0,()=>{const _0x4dc610=_0x174aa8,_0x1b9e11=_0x1a9826[_0x4dc610(0x10a)][_0x4dc610(0x108)][_0x4dc610(0xf9)][_0x4dc610(0xe9)]()[_0x4dc610(0xc3)]()[_0x4dc610(0x100)](_0x4f3bd1=>_0x4f3bd1['is'](_0x4dc610(0xeb),_0x4dc610(0xf3))),_0x8266aa=_0x4d39a0[_0x4dc610(0xf4)];_0x1a9826[_0x4dc610(0x10a)][_0x4dc610(0xe5)](()=>{const _0x8b5d83=_0x4dc610;_0xa7ef84[_0x8b5d83(0x116)]([_0x1b9e11,_0x8266aa],{'commandName':_0x8b5d83(0xd4),'commandParams':[]},[],_0x8b5d83(0xd4));});});}for(const _0x2a612f of[_0x174aa8(0x109),_0x174aa8(0xdb)]){const _0x565e4f=_0x1a9826[_0x174aa8(0xc9)][_0x174aa8(0xf8)](_0x2a612f);_0xa7ef84[_0x174aa8(0xe6)](_0x2a612f,()=>{const _0x2ec946=_0x174aa8,_0x436706=_0x5b9725[_0x2ec946(0x11b)](_0x1a9826[_0x2ec946(0x10a)][_0x2ec946(0x108)][_0x2ec946(0xf9)])[0x0],_0x1ef6e0=_0x436706[_0x2ec946(0x103)](_0x2ec946(0x111)),{column:_0x2bd339,row:_0x2329cb}=_0x5b9725[_0x2ec946(0xea)](_0x436706);let _0x9f3205=[];if(_0x2ec946(0x11a)==_0x565e4f[_0x2ec946(0x11c)]){const _0x5b52bf=_0x5b9725[_0x2ec946(0x10c)](_0x1ef6e0,{'startRow':_0x2329cb,'endRow':_0x2329cb,'includeAllSlots':!0x0});_0x9f3205=Array[_0x2ec946(0x101)](_0x5b52bf)[_0x2ec946(0x105)](_0x57d751=>_0x57d751[_0x2ec946(0xc8)]);}else{const _0x45e3cc=_0x5b9725[_0x2ec946(0x10c)](_0x1ef6e0,{'column':_0x2bd339,'includeAllSlots':!0x0});_0x9f3205=Array[_0x2ec946(0x101)](_0x45e3cc)[_0x2ec946(0x105)](_0x353d92=>_0x353d92[_0x2ec946(0xc8)]);}_0x1a9826[_0x2ec946(0x10a)][_0x2ec946(0xe5)](_0x3828eb=>{const _0x75d596=_0x2ec946;_0xa7ef84[_0x75d596(0xfa)](_0x3828eb[_0x75d596(0x115)](_0x436706),{'commandName':_0x2a612f,'commandParams':[]},_0x9f3205,_0x2a612f);});});}_0xa7ef84[_0x174aa8(0x107)][_0x174aa8(0x11d)](_0x3d3940=>{const _0x1b99fe=_0x174aa8;if(_0x1b99fe(0xcd)!=_0x3d3940[_0x1b99fe(0xd7)]&&_0x1b99fe(0xbe)!=_0x3d3940[_0x1b99fe(0xd7)])return;const {data:_0x3167a9}=_0x3d3940;return _0x3167a9&&_0x1b99fe(0xd4)==_0x3167a9[_0x1b99fe(0xc2)]?{'type':_0x1b99fe(0xda),'content':_0x4984af(_0x261124,_0x1b99fe(0xee))}:void 0x0;}),_0xa7ef84[_0x174aa8(0x107)][_0x174aa8(0x11d)](_0x23d1cd=>{const _0x5408ca=_0x174aa8;if(_0x5408ca(0xcd)!=_0x23d1cd[_0x5408ca(0xd7)]&&_0x5408ca(0xbe)!=_0x23d1cd[_0x5408ca(0xd7)])return;const {data:_0x463bab}=_0x23d1cd;return _0x463bab?_0x5408ca(0x109)==_0x463bab[_0x5408ca(0xc2)]?{'type':_0x5408ca(0xda),'content':_0x4984af(_0x261124,_0x5408ca(0x10d))}:_0x5408ca(0xdb)==_0x463bab[_0x5408ca(0xc2)]?{'type':_0x5408ca(0xda),'content':_0x4984af(_0x261124,_0x5408ca(0x10e))}:void 0x0:void 0x0;});const _0x42f244=_0x3d76a8[_0x174aa8(0xc6)]();for(const _0x20e882 of[_0x174aa8(0xcc),_0x174aa8(0xf5),_0x174aa8(0xbd),_0x174aa8(0xce)])_0xa7ef84[_0x174aa8(0xfe)][_0x174aa8(0xc1)](_0x174aa8(0xcd),_0x20e882,_0x174aa8(0x113),_0x42f244);for(const _0x12b468 of[_0x174aa8(0x109),_0x174aa8(0xdb)])_0xa7ef84[_0x174aa8(0xfe)][_0x174aa8(0xc1)](_0x174aa8(0xcd),_0x12b468,_0x174aa8(0x113),_0x42f244);_0xa7ef84[_0x174aa8(0xfe)][_0x174aa8(0xc1)](_0x174aa8(0xcd),_0x174aa8(0xd4),_0x174aa8(0x113),_0xd29d5f=>{const _0x4a4a99=_0x174aa8;_0x1a9826[_0x4a4a99(0x10a)][_0x4a4a99(0xe5)](_0x465492=>{const _0x100f99=_0x4a4a99,_0x656c65=Array[_0x100f99(0x101)](_0x184e7d[_0x100f99(0xd6)]())[_0x100f99(0x105)](_0x1a0458=>_0x46f894[_0x100f99(0xe7)](_0x1a0458));_0x465492[_0x100f99(0xf7)](_0xd29d5f),_0x1a9826[_0x100f99(0xc9)][_0x100f99(0xf8)](_0x100f99(0xd4))[_0x100f99(0xd9)](),_0x1a9826[_0x100f99(0xd1)](_0x100f99(0xd4),{'forceDefaultExecution':!0x0});const _0x4ebd09=_0x656c65[_0x100f99(0xbb)](_0x40024c=>_0x100f99(0xef)!=_0x40024c[_0x100f99(0xcb)][_0x100f99(0x118)]);_0x4ebd09[_0x100f99(0x104)]>0x0&&_0x465492[_0x100f99(0xf7)](_0x4ebd09);for(const _0x3373f3 of _0x656c65)_0x3373f3[_0x100f99(0x11f)]();});});for(const _0x3e41b5 of[_0x174aa8(0xcc),_0x174aa8(0xbd),_0x174aa8(0xce),_0x174aa8(0xf5)]){const _0x3d5c99=_0x1a9826[_0x174aa8(0xc9)][_0x174aa8(0xf8)](_0x3e41b5);_0x3d5c99['on'](_0x174aa8(0x10b),(_0xfc8e91,_0x46f25a,_0x44073d)=>{const _0x361531=_0x174aa8;if(_0x44073d){const _0x28e624=_0x1a9826[_0x361531(0x10a)][_0x361531(0x108)][_0x361531(0xf9)][_0x361531(0xe9)]()[_0x361531(0xc3)]()[_0x361531(0x100)](_0x26287f=>_0x26287f['is'](_0x361531(0xeb),_0x361531(0xf3)));this[_0x361531(0xf0)](_0x3d5c99[_0x361531(0xf4)],_0x28e624)||(_0xfc8e91[_0x361531(0xbc)]=!0x1,_0xfc8e91[_0x361531(0xc5)]());}},{'priority':_0x174aa8(0xd5)});}}[_0x3f706b(0xe8)](){const _0x47decd=_0x3f706b,_0x466d41=this[_0x47decd(0xfb)][_0x47decd(0xc9)][_0x47decd(0xf8)](_0x47decd(0xd4)),_0x49b330=this[_0x47decd(0xfb)][_0x47decd(0xca)][_0x47decd(0xf8)](_0x47decd(0x106));if(!_0x466d41[_0x47decd(0xcf)])return!0x1;const _0x5b3c1f=_0x49b330[_0x47decd(0x11b)](this[_0x47decd(0xfb)][_0x47decd(0x10a)][_0x47decd(0x108)][_0x47decd(0xf9)]);for(const _0x2ae396 of _0x5b3c1f)for(const _0x298dba of _0x5b3c1f)if(_0x2ae396!=_0x298dba&&!this[_0x47decd(0xf0)](_0x2ae396,_0x298dba))return!0x1;return!0x0;}[_0x3f706b(0xf0)](_0x4bdcfd,_0x2e9908){const _0x1e4617=_0x3f706b,_0x5a618d=this[_0x1e4617(0xfb)][_0x1e4617(0xca)][_0x1e4617(0xf8)](_0x1e4617(0xdf)),_0x435bdd=this[_0x1e4617(0xfb)][_0x1e4617(0x10a)][_0x1e4617(0x115)](_0x4bdcfd),_0x238a51=this[_0x1e4617(0xfb)][_0x1e4617(0x10a)][_0x1e4617(0x115)](_0x2e9908),_0x1bfd7a=new Set(),_0xa206a0=new Set();for(const _0x212569 of _0x5a618d[_0x1e4617(0xec)]())if((_0x1e4617(0xc7)==_0x212569[_0x1e4617(0xd7)]||_0x1e4617(0xfd)==_0x212569[_0x1e4617(0xd7)]||_0x1e4617(0xd4)==_0x212569[_0x1e4617(0xd3)])&&_0x212569[_0x1e4617(0xdd)]){for(const _0x255979 of _0x212569[_0x1e4617(0xd6)]())_0x255979[_0x1e4617(0xf6)](_0x435bdd,!0x0)&&_0x1bfd7a[_0x1e4617(0xbf)](_0x212569[_0x1e4617(0xd7)]+':'+_0x212569[_0x1e4617(0x117)]['id']),_0x255979[_0x1e4617(0xf6)](_0x238a51,!0x0)&&_0xa206a0[_0x1e4617(0xbf)](_0x212569[_0x1e4617(0xd7)]+':'+_0x212569[_0x1e4617(0x117)]['id']);}if(_0x1bfd7a[_0x1e4617(0xed)]!=_0xa206a0[_0x1e4617(0xed)])return!0x1;for(const _0x3b1274 of _0x1bfd7a)if(!_0xa206a0[_0x1e4617(0xdc)](_0x3b1274))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x1dacd6=_0x2a6a;(function(_0x59560f,_0x259b69){const _0x252222=_0x2a6a,_0xeef4f6=_0x59560f();while(!![]){try{const _0x504fbb=-parseInt(_0x252222(0xb3))/0x1+-parseInt(_0x252222(0xae))/0x2*(-parseInt(_0x252222(0xc8))/0x3)+-parseInt(_0x252222(0xe9))/0x4*(-parseInt(_0x252222(0xb2))/0x5)+parseInt(_0x252222(0xfc))/0x6+parseInt(_0x252222(0xf6))/0x7+parseInt(_0x252222(0xdc))/0x8*(parseInt(_0x252222(0xaa))/0x9)+-parseInt(_0x252222(0xa5))/0xa*(parseInt(_0x252222(0x101))/0xb);if(_0x504fbb===_0x259b69)break;else _0xeef4f6['push'](_0xeef4f6['shift']());}catch(_0x3b4db4){_0xeef4f6['push'](_0xeef4f6['shift']());}}}(_0x36e1,0x686a4));import{Plugin as _0x15008b}from'ckeditor5/src/core.js';function _0x2a6a(_0x2c3c2b,_0x1d5a53){const _0x36e141=_0x36e1();return _0x2a6a=function(_0x2a6a76,_0x43235d){_0x2a6a76=_0x2a6a76-0xa4;let _0x3ebe51=_0x36e141[_0x2a6a76];return _0x3ebe51;},_0x2a6a(_0x2c3c2b,_0x1d5a53);}import _0x5eccb8 from'./table.js';import{LiveRange as _0x4b768a}from'ckeditor5/src/engine.js';function _0x36e1(){const _0x44280a=['selection','setSelection','get','getSuggestions','element','isInContent','table','mergeTableCellRight','author','2373bSsgpr','formatBlock','createRangeOn','_tablePostFixingSubtypes','detach','return','472668PBxsaT','fromRange','locale','TableUtils','stop','445819YRWCxf','insertion','containsRange','size','execute','registerCustomCallback','plugins','push','370drtkJe','tableCell','_isForcedDefaultExecutionBlock','TrackChangesEditing','from','36jngABt','formatInline','editor','markBlockFormat','87602IGtRVg','requires','type','createTableWalker','36530JwPLyD','144259yOrcol','low','afterInit','mergeTableCellLeft','enableCommand','isEnabled','map','descriptionFactory','mergeTableCellDown','mergeTableCells','_areMergableCells','cell','value','format','getSelectionAffectedTableCells','refresh','deletion','$graveyard','_areSelectedCellsMergable','getAncestors','accept','57zmtcwX','change','getCellLocation','commands','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','set:isEnabled','registerDescriptionCallback','filter','getFirstPosition','document','highest','model','splitTableCellHorizontally','commandName','splitTableCellVertically','markMultiRangeBlockFormat','findAncestor','rootName','subType','1209848kQplee','root','has','*Split\x20cell:*\x20horizontally','_suggestionFactory','length','add','trackChanges','TableEditing','find','*Merge\x20cells*','horizontally','*Split\x20cell:*\x20vertically','304SjCRma','getRanges','direction','forceDefaultExecution'];_0x36e1=function(){return _0x44280a;};return _0x36e1();}import{getTranslation as _0x3bfc95}from'../utils/common-translations.js';export default class St extends _0x15008b{static get[_0x1dacd6(0xaf)](){return[_0x5eccb8];}[_0x1dacd6(0xb5)](){const _0x2b6fe7=_0x1dacd6,_0x12ba65=this[_0x2b6fe7(0xac)],_0x5dc00a=_0x12ba65[_0x2b6fe7(0xd4)][_0x2b6fe7(0xd2)][_0x2b6fe7(0xed)],_0x9f533b=_0x12ba65[_0x2b6fe7(0xfe)];if(!_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xde)](_0x2b6fe7(0xe4)))return;const _0x105020=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x2b6fe7(0xa8)),_0x580b44=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x2b6fe7(0xff)),_0x27cd39=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x5eccb8);_0x27cd39[_0x2b6fe7(0xf9)][_0x2b6fe7(0xa4)](_0x2b6fe7(0xbc)),_0x105020[_0x2b6fe7(0xb7)](_0x2b6fe7(0xbc),()=>{const _0x3dd677=_0x2b6fe7,_0x5966f3=_0x580b44[_0x3dd677(0xc1)](_0x12ba65[_0x3dd677(0xd4)][_0x3dd677(0xd2)][_0x3dd677(0xed)]);_0x12ba65[_0x3dd677(0xd4)][_0x3dd677(0xc9)](()=>{const _0x325bf6=_0x3dd677;_0x105020[_0x325bf6(0xd8)](_0x5966f3,{'commandName':_0x325bf6(0xbc),'commandParams':[]},[],_0x325bf6(0xbc));});}),_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x2b6fe7(0xbc))['on'](_0x2b6fe7(0x105),(_0x55aca4,_0x4e6d92)=>{const _0x35de37=_0x2b6fe7;_0x12ba65[_0x35de37(0xcb)][_0x35de37(0xef)](_0x35de37(0xe3))[_0x35de37(0xbf)]&&(_0x4e6d92[_0x35de37(0xe1)]>0x0&&_0x4e6d92[_0x4e6d92[_0x35de37(0xe1)]-0x1]&&_0x4e6d92[_0x4e6d92[_0x35de37(0xe1)]-0x1][_0x35de37(0xec)]||_0x105020[_0x35de37(0xa7)]||this[_0x35de37(0xc5)]()||_0x55aca4[_0x35de37(0x100)]());},{'priority':_0x2b6fe7(0xd3)});for(const _0x444951 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xf4),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6)]){const _0x323aaf=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x444951);_0x105020[_0x2b6fe7(0xb7)](_0x444951,()=>{const _0x155145=_0x2b6fe7,_0x5065df=_0x12ba65[_0x155145(0xd4)][_0x155145(0xd2)][_0x155145(0xed)][_0x155145(0xd1)]()[_0x155145(0xc6)]()[_0x155145(0xe5)](_0x26ecfd=>_0x26ecfd['is'](_0x155145(0xf1),_0x155145(0xa6))),_0x631be=_0x323aaf[_0x155145(0xbf)];_0x12ba65[_0x155145(0xd4)][_0x155145(0xc9)](()=>{const _0x4e60d6=_0x155145;_0x105020[_0x4e60d6(0xd8)]([_0x5065df,_0x631be],{'commandName':_0x4e60d6(0xbc),'commandParams':[]},[],_0x4e60d6(0xbc));});});}for(const _0x28b2a6 of[_0x2b6fe7(0xd7),_0x2b6fe7(0xd5)]){const _0x13f8be=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x28b2a6);_0x105020[_0x2b6fe7(0xb7)](_0x28b2a6,()=>{const _0x2b3fa2=_0x2b6fe7,_0x1d2688=_0x580b44[_0x2b3fa2(0xc1)](_0x12ba65[_0x2b3fa2(0xd4)][_0x2b3fa2(0xd2)][_0x2b3fa2(0xed)])[0x0],_0x49bb0b=_0x1d2688[_0x2b3fa2(0xd9)](_0x2b3fa2(0xf3)),{column:_0x533400,row:_0x54b212}=_0x580b44[_0x2b3fa2(0xca)](_0x1d2688);let _0x274656=[];if(_0x2b3fa2(0xe7)==_0x13f8be[_0x2b3fa2(0xeb)]){const _0x2c5b09=_0x580b44[_0x2b3fa2(0xb1)](_0x49bb0b,{'startRow':_0x54b212,'endRow':_0x54b212,'includeAllSlots':!0x0});_0x274656=Array[_0x2b3fa2(0xa9)](_0x2c5b09)[_0x2b3fa2(0xb9)](_0x20556e=>_0x20556e[_0x2b3fa2(0xbe)]);}else{const _0x41801c=_0x580b44[_0x2b3fa2(0xb1)](_0x49bb0b,{'column':_0x533400,'includeAllSlots':!0x0});_0x274656=Array[_0x2b3fa2(0xa9)](_0x41801c)[_0x2b3fa2(0xb9)](_0x5da683=>_0x5da683[_0x2b3fa2(0xbe)]);}_0x12ba65[_0x2b3fa2(0xd4)][_0x2b3fa2(0xc9)](_0x34e74=>{const _0x2c8cc0=_0x2b3fa2;_0x105020[_0x2c8cc0(0xad)](_0x34e74[_0x2c8cc0(0xf8)](_0x1d2688),{'commandName':_0x28b2a6,'commandParams':[]},_0x274656,_0x28b2a6);});});}_0x105020[_0x2b6fe7(0xba)][_0x2b6fe7(0xcf)](_0xceffda=>{const _0x143d5f=_0x2b6fe7;if(_0x143d5f(0xf7)!=_0xceffda[_0x143d5f(0xb0)]&&_0x143d5f(0xab)!=_0xceffda[_0x143d5f(0xb0)])return;const {data:_0x2ca8b6}=_0xceffda;return _0x2ca8b6&&_0x143d5f(0xbc)==_0x2ca8b6[_0x143d5f(0xd6)]?{'type':_0x143d5f(0xc0),'content':_0x3bfc95(_0x9f533b,_0x143d5f(0xe6))}:void 0x0;}),_0x105020[_0x2b6fe7(0xba)][_0x2b6fe7(0xcf)](_0x4a1031=>{const _0x54f0fe=_0x2b6fe7;if(_0x54f0fe(0xf7)!=_0x4a1031[_0x54f0fe(0xb0)]&&_0x54f0fe(0xab)!=_0x4a1031[_0x54f0fe(0xb0)])return;const {data:_0x11eba1}=_0x4a1031;return _0x11eba1?_0x54f0fe(0xd7)==_0x11eba1[_0x54f0fe(0xd6)]?{'type':_0x54f0fe(0xc0),'content':_0x3bfc95(_0x9f533b,_0x54f0fe(0xe8))}:_0x54f0fe(0xd5)==_0x11eba1[_0x54f0fe(0xd6)]?{'type':_0x54f0fe(0xc0),'content':_0x3bfc95(_0x9f533b,_0x54f0fe(0xdf))}:void 0x0:void 0x0;});const _0x30ca3d=_0x27cd39[_0x2b6fe7(0xcc)]();for(const _0x406571 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xf4),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6)])_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x406571,_0x2b6fe7(0xc7),_0x30ca3d);for(const _0x402b35 of[_0x2b6fe7(0xd7),_0x2b6fe7(0xd5)])_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x402b35,_0x2b6fe7(0xc7),_0x30ca3d);_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x2b6fe7(0xbc),_0x2b6fe7(0xc7),_0x48a972=>{const _0x4919fd=_0x2b6fe7;_0x12ba65[_0x4919fd(0xd4)][_0x4919fd(0xc9)](_0x52247a=>{const _0x1abc12=_0x4919fd,_0x3c8fdb=Array[_0x1abc12(0xa9)](_0x5dc00a[_0x1abc12(0xea)]())[_0x1abc12(0xb9)](_0x72984c=>_0x4b768a[_0x1abc12(0xfd)](_0x72984c));_0x52247a[_0x1abc12(0xee)](_0x48a972),_0x12ba65[_0x1abc12(0xcb)][_0x1abc12(0xef)](_0x1abc12(0xbc))[_0x1abc12(0xc2)](),_0x12ba65[_0x1abc12(0x105)](_0x1abc12(0xbc),{'forceDefaultExecution':!0x0});const _0x56ac66=_0x3c8fdb[_0x1abc12(0xd0)](_0x2ace29=>_0x1abc12(0xc4)!=_0x2ace29[_0x1abc12(0xdd)][_0x1abc12(0xda)]);_0x56ac66[_0x1abc12(0xe1)]>0x0&&_0x52247a[_0x1abc12(0xee)](_0x56ac66);for(const _0x5c6ff9 of _0x3c8fdb)_0x5c6ff9[_0x1abc12(0xfa)]();});});for(const _0x56e886 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6),_0x2b6fe7(0xf4)]){const _0x1c4329=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x56e886);_0x1c4329['on'](_0x2b6fe7(0xce),(_0x388743,_0x5bd716,_0xb6907e)=>{const _0x47d9bf=_0x2b6fe7;if(_0xb6907e){const _0x5bc411=_0x12ba65[_0x47d9bf(0xd4)][_0x47d9bf(0xd2)][_0x47d9bf(0xed)][_0x47d9bf(0xd1)]()[_0x47d9bf(0xc6)]()[_0x47d9bf(0xe5)](_0x3b08c3=>_0x3b08c3['is'](_0x47d9bf(0xf1),_0x47d9bf(0xa6)));this[_0x47d9bf(0xbd)](_0x1c4329[_0x47d9bf(0xbf)],_0x5bc411)||(_0x388743[_0x47d9bf(0xfb)]=!0x1,_0x388743[_0x47d9bf(0x100)]());}},{'priority':_0x2b6fe7(0xb4)});}}[_0x1dacd6(0xc5)](){const _0x4842b6=_0x1dacd6,_0x2104b2=this[_0x4842b6(0xac)][_0x4842b6(0xcb)][_0x4842b6(0xef)](_0x4842b6(0xbc)),_0x17df69=this[_0x4842b6(0xac)][_0x4842b6(0x107)][_0x4842b6(0xef)](_0x4842b6(0xff));if(!_0x2104b2[_0x4842b6(0xb8)])return!0x1;const _0x22f114=_0x17df69[_0x4842b6(0xc1)](this[_0x4842b6(0xac)][_0x4842b6(0xd4)][_0x4842b6(0xd2)][_0x4842b6(0xed)]);for(const _0x4eb751 of _0x22f114)for(const _0x7ee85c of _0x22f114)if(_0x4eb751!=_0x7ee85c&&!this[_0x4842b6(0xbd)](_0x4eb751,_0x7ee85c))return!0x1;return!0x0;}[_0x1dacd6(0xbd)](_0x130a89,_0x1605fa){const _0x52e46c=_0x1dacd6,_0x4b504a=this[_0x52e46c(0xac)][_0x52e46c(0x107)][_0x52e46c(0xef)](_0x52e46c(0xa8)),_0x5e22d5=this[_0x52e46c(0xac)][_0x52e46c(0xd4)][_0x52e46c(0xf8)](_0x130a89),_0x211e78=this[_0x52e46c(0xac)][_0x52e46c(0xd4)][_0x52e46c(0xf8)](_0x1605fa),_0x384ad5=new Set(),_0x26a7c0=new Set();for(const _0x5ecf71 of _0x4b504a[_0x52e46c(0xf0)]())if((_0x52e46c(0x102)==_0x5ecf71[_0x52e46c(0xb0)]||_0x52e46c(0xc3)==_0x5ecf71[_0x52e46c(0xb0)]||_0x52e46c(0xbc)==_0x5ecf71[_0x52e46c(0xdb)])&&_0x5ecf71[_0x52e46c(0xf2)]){for(const _0x5ea27e of _0x5ecf71[_0x52e46c(0xea)]())_0x5ea27e[_0x52e46c(0x103)](_0x5e22d5,!0x0)&&_0x384ad5[_0x52e46c(0xe2)](_0x5ecf71[_0x52e46c(0xb0)]+':'+_0x5ecf71[_0x52e46c(0xf5)]['id']),_0x5ea27e[_0x52e46c(0x103)](_0x211e78,!0x0)&&_0x26a7c0[_0x52e46c(0xe2)](_0x5ecf71[_0x52e46c(0xb0)]+':'+_0x5ecf71[_0x52e46c(0xf5)]['id']);}if(_0x384ad5[_0x52e46c(0x104)]!=_0x26a7c0[_0x52e46c(0x104)])return!0x1;for(const _0x37e708 of _0x384ad5)if(!_0x26a7c0[_0x52e46c(0xde)](_0x37e708))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a08cd=_0x5046;(function(_0x1bfe5d,_0x345b55){const _0x366c39=_0x5046,_0x142912=_0x1bfe5d();while(!![]){try{const _0x5bc2f1=parseInt(_0x366c39(0xa1))/0x1*(-parseInt(_0x366c39(0x94))/0x2)+parseInt(_0x366c39(0x8c))/0x3*(-parseInt(_0x366c39(0x9c))/0x4)+-parseInt(_0x366c39(0x93))/0x5+parseInt(_0x366c39(0x97))/0x6*(-parseInt(_0x366c39(0x96))/0x7)+-parseInt(_0x366c39(0x92))/0x8*(-parseInt(_0x366c39(0xa0))/0x9)+-parseInt(_0x366c39(0x8d))/0xa+parseInt(_0x366c39(0xa2))/0xb*(parseInt(_0x366c39(0xa4))/0xc);if(_0x5bc2f1===_0x345b55)break;else _0x142912['push'](_0x142912['shift']());}catch(_0x2f567f){_0x142912['push'](_0x142912['shift']());}}}(_0x33f0,0x3b027));import{Plugin as _0x1f7300}from'ckeditor5/src/core.js';import{getTranslation as _0xa0bf47}from'../utils/common-translations.js';function _0x33f0(){const _0xdd46ce=['editor','3582372IQWhWF','254559AsAeTT','3103560biMcqX','descriptionFactory','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','952ykLsdm','509595wVTgQn','350IWWNsH','tableOfContents','3563XfhuOc','4170hCsaWY','insertTableOfContents','afterInit','plugins','commands','20LNzmML','get','enableCommand','locale','28989pTYCwq','831bJNZaN','44cQvNcx'];_0x33f0=function(){return _0xdd46ce;};return _0x33f0();}function _0x5046(_0x1243db,_0x585f6a){const _0x33f00f=_0x33f0();return _0x5046=function(_0x504694,_0x14d632){_0x504694=_0x504694-0x8c;let _0x50a297=_0x33f00f[_0x504694];return _0x50a297;},_0x5046(_0x1243db,_0x585f6a);}export default class _t extends _0x1f7300{[_0x5a08cd(0x99)](){const _0x1ee0e5=_0x5a08cd,_0x3c7cca=this[_0x1ee0e5(0xa3)];if(!_0x3c7cca[_0x1ee0e5(0x9b)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x98)))return;_0x3c7cca[_0x1ee0e5(0x9a)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x8f))[_0x1ee0e5(0x9e)](_0x1ee0e5(0x98));const _0x389ebd=_0x3c7cca[_0x1ee0e5(0x9a)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x8f)),_0x3ac801=_0x3c7cca[_0x1ee0e5(0x9f)];_0x389ebd[_0x1ee0e5(0x8e)][_0x1ee0e5(0x91)](_0x1ee0e5(0x95),_0xa59843=>_0xa0bf47(_0x3ac801,_0x1ee0e5(0x90),_0xa59843));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x34a3ad=_0x390d;function _0x390d(_0x41617e,_0xe630cd){const _0x3ebea8=_0x3ebe();return _0x390d=function(_0x390d33,_0xc164a6){_0x390d33=_0x390d33-0x18c;let _0x48f5e2=_0x3ebea8[_0x390d33];return _0x48f5e2;},_0x390d(_0x41617e,_0xe630cd);}function _0x3ebe(){const _0x1fcf3a=['join','pluginName','markBlockFormat','_handlePropertyChange','handleSuggestionDescription','model','getAttribute','formatBlock','format','descriptionFactory','tableBorderStyle','tableBorderWidth','handleDiscardAction','544rSnosW','1595ZvZCFd','change','tableProperties','tableBackgroundColor','getSuggestions','editor','table','1399482ngUfPr','tableAlignment','38010OYTVGW','get','*Format:*\x20change\x20table\x20cell\x20properties','TrackChangesEditing','TableCellPropertiesEditing','document','data','afterInit','getSuggestionCallback','TrackChangesTableProperties','getSelectionAffectedTableCells','getContainedElement','batch','tableCellBorderStyle','enableCommand','tableCellProperties','906801jtxRoB','commandParams','discard','tableCellPadding','setAttribute','2acCEVV','1916694BHtWsH','removeAttribute','start','tableCellWidth','nodeAfter','tableCellBorderWidth','tableCellBorderColor','TablePropertiesEditing','tableCellHeight','selection','TableUtils','tableCellVerticalAlignment','tableHeight','plugins','64AbJZuc','tableBorderColor','*Format:*\x20change\x20table\x20properties','_suggestionFactory','tableWidth','has','registerCustomCallback','26881ohbiwP','findAncestor','15835BGgVVK','260218ezGujs','enqueueChange','_getSuggestion','getFirstPosition','registerDescriptionCallback','accept','subType','tableCellBackgroundColor','tableCellHorizontalAlignment','locale'];_0x3ebe=function(){return _0x1fcf3a;};return _0x3ebe();}(function(_0x331313,_0x5c815d){const _0x4182ec=_0x390d,_0x22ef44=_0x331313();while(!![]){try{const _0x3a0ec6=-parseInt(_0x4182ec(0x1c4))/0x1*(parseInt(_0x4182ec(0x1ae))/0x2)+-parseInt(_0x4182ec(0x1a9))/0x3+parseInt(_0x4182ec(0x18f))/0x4*(-parseInt(_0x4182ec(0x1c6))/0x5)+parseInt(_0x4182ec(0x1af))/0x6+parseInt(_0x4182ec(0x1c7))/0x7*(parseInt(_0x4182ec(0x1bd))/0x8)+-parseInt(_0x4182ec(0x197))/0x9+parseInt(_0x4182ec(0x199))/0xa*(parseInt(_0x4182ec(0x190))/0xb);if(_0x3a0ec6===_0x5c815d)break;else _0x22ef44['push'](_0x22ef44['shift']());}catch(_0x4f731f){_0x22ef44['push'](_0x22ef44['shift']());}}}(_0x3ebe,0x3dad4));import{Plugin as _0x2d6687}from'ckeditor5/src/core.js';import{getTranslation as _0x5b3ce0}from'../utils/common-translations.js';export default class $t extends _0x2d6687{constructor(_0x2b7354){const _0x4dea30=_0x390d;super(_0x2b7354),this[_0x4dea30(0x192)]=[_0x4dea30(0x1be),_0x4dea30(0x18c),_0x4dea30(0x18d),_0x4dea30(0x198),_0x4dea30(0x1c1),_0x4dea30(0x1bb),_0x4dea30(0x193)],this[_0x4dea30(0x1a8)]=[_0x4dea30(0x1b5),_0x4dea30(0x1a6),_0x4dea30(0x1b4),_0x4dea30(0x1ac),_0x4dea30(0x1b2),_0x4dea30(0x1b7),_0x4dea30(0x1ce),_0x4dea30(0x1cf),_0x4dea30(0x1ba)];}static get[_0x34a3ad(0x1d2)](){const _0x2df743=_0x34a3ad;return _0x2df743(0x1a2);}[_0x34a3ad(0x1a0)](){const _0x4b5046=_0x34a3ad,_0x354f46=this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x19a)](_0x4b5046(0x19c));if(this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x1c2)](_0x4b5046(0x1b6))){for(const _0x1b7f6a of this[_0x4b5046(0x192)])_0x354f46[_0x4b5046(0x1a7)](_0x1b7f6a,(_0x5615c7,_0x439271)=>{const _0x3165dc=_0x4b5046,_0x2f518a=this[_0x3165dc(0x195)][_0x3165dc(0x1d6)][_0x3165dc(0x19e)][_0x3165dc(0x1b8)][_0x3165dc(0x1ca)]()[_0x3165dc(0x1c5)](_0x3165dc(0x196));this[_0x3165dc(0x1d4)](_0x1b7f6a,[_0x2f518a],this[_0x3165dc(0x192)],_0x3165dc(0x192),_0x5615c7,_0x439271);});_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1cc),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1a1)](_0x4b5046(0x1d8),null,_0x4b5046(0x1ab))),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1ab),(_0x373462,_0x6bd026)=>this[_0x4b5046(0x18e)](this[_0x4b5046(0x192)],_0x373462,_0x6bd026)),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1d1),()=>!0x1);}if(this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x1c2)](_0x4b5046(0x19d))){for(const _0x1fdc84 of this[_0x4b5046(0x1a8)])_0x354f46[_0x4b5046(0x1a7)](_0x1fdc84,(_0x502cbb,_0x70ab4f)=>{const _0x1a1ecc=_0x4b5046,_0x5c8e9e=this[_0x1a1ecc(0x195)][_0x1a1ecc(0x1bc)][_0x1a1ecc(0x19a)](_0x1a1ecc(0x1b9))[_0x1a1ecc(0x1a3)](this[_0x1a1ecc(0x195)][_0x1a1ecc(0x1d6)][_0x1a1ecc(0x19e)][_0x1a1ecc(0x1b8)]);this[_0x1a1ecc(0x1d4)](_0x1fdc84,_0x5c8e9e,this[_0x1a1ecc(0x1a8)],_0x1a1ecc(0x1a8),_0x502cbb,_0x70ab4f);});_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1cc),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1a1)](_0x4b5046(0x1d8),null,_0x4b5046(0x1ab))),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1ab),(_0x19f217,_0x535900)=>this[_0x4b5046(0x18e)](this[_0x4b5046(0x1a8)],_0x19f217,_0x535900)),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1d1),()=>!0x1);}_0x354f46[_0x4b5046(0x1da)][_0x4b5046(0x1cb)](_0x1bcd61=>this[_0x4b5046(0x1d5)](_0x1bcd61));}[_0x34a3ad(0x1d4)](_0x4a9d16,_0x28bc3d,_0x4dc8bf,_0x49986b,_0x33efe3,_0xfc7cea){const _0x4fc0ee=_0x34a3ad,_0x2554af=this[_0x4fc0ee(0x195)][_0x4fc0ee(0x1bc)][_0x4fc0ee(0x19a)](_0x4fc0ee(0x19c));this[_0x4fc0ee(0x195)][_0x4fc0ee(0x1d6)][_0x4fc0ee(0x1c8)](_0xfc7cea[_0x4fc0ee(0x1a5)],()=>{const _0x27c4ee=_0x4fc0ee;for(const _0x3ce54f of _0x28bc3d){if(this[_0x27c4ee(0x1c9)](_0x3ce54f,_0x49986b))_0x33efe3(_0xfc7cea);else{const _0x553b89={};for(const _0x56b7e5 of _0x4dc8bf){const _0x4c8a08=_0x3ce54f[_0x27c4ee(0x1d7)](_0x56b7e5);void 0x0!==_0x4c8a08&&(_0x553b89[_0x56b7e5]=_0x4c8a08);}_0x33efe3(_0xfc7cea),_0x2554af[_0x27c4ee(0x1d3)](_0x3ce54f,{'commandParams':[_0x553b89]},[],_0x49986b);}}});}[_0x34a3ad(0x18e)](_0x1dca90,_0x221ae3,_0x4dbb5f){const _0x5c7ebf=_0x34a3ad,_0x2f5d9d=_0x221ae3[0x0][_0x5c7ebf(0x1b1)][_0x5c7ebf(0x1b3)],_0x165859=_0x4dbb5f[_0x5c7ebf(0x1aa)][0x0];this[_0x5c7ebf(0x195)][_0x5c7ebf(0x1d6)][_0x5c7ebf(0x191)](_0x44e10b=>{const _0xe2476a=_0x5c7ebf;for(const _0x9d6b0f of _0x1dca90)void 0x0!==_0x165859[_0x9d6b0f]?_0x44e10b[_0xe2476a(0x1ad)](_0x9d6b0f,_0x165859[_0x9d6b0f],_0x2f5d9d):_0x44e10b[_0xe2476a(0x1b0)](_0x9d6b0f,_0x2f5d9d);});}[_0x34a3ad(0x1d5)](_0x1de99e){const _0x443f76=_0x34a3ad;if(_0x1de99e[_0x443f76(0x19f)])switch(_0x1de99e[_0x443f76(0x1cd)]){case _0x443f76(0x192):return{'type':_0x443f76(0x1d9),'content':_0x5b3ce0(this[_0x443f76(0x195)][_0x443f76(0x1d0)],_0x443f76(0x1bf))};case _0x443f76(0x1a8):return{'type':_0x443f76(0x1d9),'content':_0x5b3ce0(this[_0x443f76(0x195)][_0x443f76(0x1d0)],_0x443f76(0x19b))};}}[_0x34a3ad(0x1c9)](_0x56b8f4,_0x5dbf87){const _0x337fc8=_0x34a3ad,_0x47c2ef=this[_0x337fc8(0x195)][_0x337fc8(0x1bc)][_0x337fc8(0x19a)](_0x337fc8(0x19c));for(const _0x5f3d7e of _0x47c2ef[_0x337fc8(0x194)]({'skipNotAttached':!0x0})){const _0x57825=_0x5f3d7e[_0x337fc8(0x1a4)]();if(_0x5f3d7e[_0x337fc8(0x1cd)]===_0x5dbf87&&_0x57825===_0x56b8f4)return _0x5f3d7e;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xf2d4a9=_0x1e4c;(function(_0x41bdcd,_0x15e2e4){const _0x1b5606=_0x1e4c,_0x33b942=_0x41bdcd();while(!![]){try{const _0x439303=parseInt(_0x1b5606(0x1e0))/0x1*(-parseInt(_0x1b5606(0x1d6))/0x2)+parseInt(_0x1b5606(0x1dc))/0x3*(-parseInt(_0x1b5606(0x1d5))/0x4)+-parseInt(_0x1b5606(0x1df))/0x5+-parseInt(_0x1b5606(0x1d3))/0x6+-parseInt(_0x1b5606(0x1d2))/0x7*(-parseInt(_0x1b5606(0x1de))/0x8)+parseInt(_0x1b5606(0x1e2))/0x9*(parseInt(_0x1b5606(0x1dd))/0xa)+parseInt(_0x1b5606(0x1d7))/0xb;if(_0x439303===_0x15e2e4)break;else _0x33b942['push'](_0x33b942['shift']());}catch(_0x3c09e6){_0x33b942['push'](_0x33b942['shift']());}}}(_0x3102,0xbedd8));function _0x1e4c(_0x5800c9,_0x42b010){const _0x31025c=_0x3102();return _0x1e4c=function(_0x1e4ca2,_0x23ce50){_0x1e4ca2=_0x1e4ca2-0x1d0;let _0x191e1d=_0x31025c[_0x1e4ca2];return _0x191e1d;},_0x1e4c(_0x5800c9,_0x42b010);}import{Plugin as _0x53962b}from'ckeditor5/src/core.js';function _0x3102(){const _0xd3650a=['insertTemplate','497044HpCyGB','1984414anGKoL','28312295NXdmbV','Template','TrackChangesEditing','afterInit','has','6JByXtl','240szPppl','56552UHrEPi','7764195MGFfjD','1ZoNlpQ','plugins','490050XhgKZe','enableCommand','get','editor','1106GAcCXh','8533170tXXYAQ'];_0x3102=function(){return _0xd3650a;};return _0x3102();}export default class Ct extends _0x53962b{[_0xf2d4a9(0x1da)](){const _0x5f00c7=_0xf2d4a9,_0x36dbef=this[_0x5f00c7(0x1d1)];_0x36dbef[_0x5f00c7(0x1e1)][_0x5f00c7(0x1db)](_0x5f00c7(0x1d8))&&_0x36dbef[_0x5f00c7(0x1e1)][_0x5f00c7(0x1d0)](_0x5f00c7(0x1d9))[_0x5f00c7(0x1e3)](_0x5f00c7(0x1d4));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b1ae9=_0xbb69;(function(_0x70b0a0,_0x370f44){const _0x5ce537=_0xbb69,_0x3bd3de=_0x70b0a0();while(!![]){try{const _0x101d22=-parseInt(_0x5ce537(0xb7))/0x1+-parseInt(_0x5ce537(0xb6))/0x2*(parseInt(_0x5ce537(0xba))/0x3)+-parseInt(_0x5ce537(0xcb))/0x4*(parseInt(_0x5ce537(0xbe))/0x5)+parseInt(_0x5ce537(0xc9))/0x6*(parseInt(_0x5ce537(0xc3))/0x7)+-parseInt(_0x5ce537(0xd1))/0x8+parseInt(_0x5ce537(0xb9))/0x9+parseInt(_0x5ce537(0xd4))/0xa;if(_0x101d22===_0x370f44)break;else _0x3bd3de['push'](_0x3bd3de['shift']());}catch(_0x3afd0e){_0x3bd3de['push'](_0x3bd3de['shift']());}}}(_0x5c32,0xdc275));function _0xbb69(_0x10a997,_0x185d46){const _0x5c3239=_0x5c32();return _0xbb69=function(_0xbb69c7,_0x1905d6){_0xbb69c7=_0xbb69c7-0xae;let _0x1e2d77=_0x5c3239[_0xbb69c7];return _0x1e2d77;},_0xbb69(_0x10a997,_0x185d46);}function _0x5c32(){const _0x5af644=['newRange','createRange','locale','812581tNGFKn','getNearestSelectionRange','start','updateMarker','from','registerPostFixer','78IbqjFA','nodeBefore','44uNCZYW','end','isEqual','model','ELEMENT_TITLE','forward','6578480EWLWcP','differ','TrackChangesEditing','34589040BQPgic','suggestion','element','isCollapsed','registerElementLabel','plugins','removeMarker','document','title-content','isTouching','editor','schema','getChangedMarkers','has','4sPpLLe','1650450mBAGps','_splitMarkerName','11529UEygAr','1915365xUsdZH','get','Title','afterInit','144475vFStjE','descriptionFactory'];_0x5c32=function(){return _0x5af644;};return _0x5c32();}import{Plugin as _0xc6f752}from'ckeditor5/src/core.js';import{getTranslation as _0x542dbb}from'../utils/common-translations.js';export default class Dt extends _0xc6f752{[_0x1b1ae9(0xbd)](){const _0x2e635c=_0x1b1ae9,_0x120d19=this[_0x2e635c(0xb2)];if(!_0x120d19[_0x2e635c(0xd9)][_0x2e635c(0xb5)](_0x2e635c(0xbc)))return;const _0x5f0178=_0x120d19[_0x2e635c(0xd9)][_0x2e635c(0xbb)](_0x2e635c(0xd3));_0x5f0178[_0x2e635c(0xbf)][_0x2e635c(0xd8)](_0x2e635c(0xb0),()=>_0x542dbb(_0x120d19[_0x2e635c(0xc2)],_0x2e635c(0xcf))),_0x120d19[_0x2e635c(0xce)][_0x2e635c(0xaf)][_0x2e635c(0xc8)](_0x511b57=>{const _0xef0e99=_0x2e635c;let _0x4f6c4f=!0x1;const _0x105d42=Array[_0xef0e99(0xc7)](_0x120d19[_0xef0e99(0xce)][_0xef0e99(0xaf)][_0xef0e99(0xd2)][_0xef0e99(0xb4)]());for(const {name:_0x432f86,data:_0x3ae33b}of _0x105d42){const {group:_0x4eb1da}=_0x5f0178[_0xef0e99(0xb8)](_0x432f86);if(_0xef0e99(0xd5)!==_0x4eb1da||!_0x3ae33b[_0xef0e99(0xc0)])continue;const _0x533549=_0x3ae33b[_0xef0e99(0xc0)],_0x126bd5=_0x533549[_0xef0e99(0xcc)][_0xef0e99(0xca)];if(!_0x126bd5||!_0x126bd5['is'](_0xef0e99(0xd6),_0xef0e99(0xb0)))continue;if(!_0x533549[_0xef0e99(0xc5)][_0xef0e99(0xb1)](_0x533549[_0xef0e99(0xcc)]))continue;const _0x16e958=_0x120d19[_0xef0e99(0xce)][_0xef0e99(0xb3)][_0xef0e99(0xc4)](_0x533549[_0xef0e99(0xcc)],_0xef0e99(0xd0));if(_0x16e958&&_0x16e958[_0xef0e99(0xd7)]){const _0x27890f=_0x511b57[_0xef0e99(0xc1)](_0x533549[_0xef0e99(0xc5)],_0x16e958[_0xef0e99(0xc5)]);_0x27890f[_0xef0e99(0xcd)](_0x533549)||(_0x511b57[_0xef0e99(0xc6)](_0x432f86,{'range':_0x27890f}),_0x4f6c4f=!0x0);}_0x4f6c4f||(_0x511b57[_0xef0e99(0xae)](_0x432f86),_0x4f6c4f=!0x0);}return _0x4f6c4f;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x535642=_0x16ee;(function(_0x1456e3,_0x5aebbb){const _0x123a8c=_0x16ee,_0x2e42a9=_0x1456e3();while(!![]){try{const _0x43ebfc=parseInt(_0x123a8c(0x100))/0x1+parseInt(_0x123a8c(0xff))/0x2*(-parseInt(_0x123a8c(0xf5))/0x3)+-parseInt(_0x123a8c(0xfe))/0x4*(parseInt(_0x123a8c(0xf4))/0x5)+parseInt(_0x123a8c(0x102))/0x6*(-parseInt(_0x123a8c(0x106))/0x7)+-parseInt(_0x123a8c(0xfb))/0x8*(-parseInt(_0x123a8c(0xf9))/0x9)+parseInt(_0x123a8c(0xf6))/0xa*(parseInt(_0x123a8c(0xfd))/0xb)+-parseInt(_0x123a8c(0x107))/0xc;if(_0x43ebfc===_0x5aebbb)break;else _0x2e42a9['push'](_0x2e42a9['shift']());}catch(_0x5a7e8e){_0x2e42a9['push'](_0x2e42a9['shift']());}}}(_0x2cbe,0xa6d8b));function _0x16ee(_0x2693fc,_0x339339){const _0x2cbecc=_0x2cbe();return _0x16ee=function(_0x16ee95,_0x59995a){_0x16ee95=_0x16ee95-0xf2;let _0x578b65=_0x2cbecc[_0x16ee95];return _0x578b65;},_0x16ee(_0x2693fc,_0x339339);}function _0x2cbe(){const _0x246811=['7691772PEuTSO','enableCommand','get','1108145fYyNzD','3KDFzmF','13980QEyPer','UndoEditing','plugins','10605231AkDIhY','undo','8TTyElH','has','4246MoGhnh','12scsFIi','1528698oSIGbD','1202616sClUUP','redo','6rdGFTB','editor','afterInit','TrackChangesEditing','1168881GplZYL'];_0x2cbe=function(){return _0x246811;};return _0x2cbe();}import{Plugin as _0x3b6dfa}from'ckeditor5/src/core.js';export default class Nt extends _0x3b6dfa{[_0x535642(0x104)](){const _0x5a1769=_0x535642,_0x43e98a=this[_0x5a1769(0x103)],_0x50f7c2=_0x43e98a[_0x5a1769(0xf8)][_0x5a1769(0xf3)](_0x5a1769(0x105));_0x43e98a[_0x5a1769(0xf8)][_0x5a1769(0xfc)](_0x5a1769(0xf7))&&(_0x50f7c2[_0x5a1769(0xf2)](_0x5a1769(0xfa)),_0x50f7c2[_0x5a1769(0xf2)](_0x5a1769(0x101)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16a1(){const _0x4bfd60=['toViewPosition','item','get','parent','4919796trWsdQ','1355060YqHLXB','getCustomProperty','start','TrackChangesEditing','createRangeOn','schema','elementEnd','getItems','32635000YNnqny','push','isContent','2216532AtqOGH','mapper','type','7498985jRiyjS','1130005GwtUTN','addHighlight','bindElementToMarker','consumable','plugins','test','toViewElement','includes','hasAttribute','writer','span','markerName','isBlock','createUIElement','619929LijWwA','getWalker','6FTxDjW','previousPosition','insert','104vJEXTw','3NXdHdC','ck-suggestion-marker--active','isLimit','isAtEnd','name','model','addClass','activeMarkers','nextSibling','markerRange','ck-suggestion-marker-'];_0x16a1=function(){return _0x4bfd60;};return _0x16a1();}function _0x7332(_0x127f8e,_0x46fbc9){const _0x16a198=_0x16a1();return _0x7332=function(_0x7332ac,_0x438945){_0x7332ac=_0x7332ac-0x17d;let _0x39fe4b=_0x16a198[_0x7332ac];return _0x39fe4b;},_0x7332(_0x127f8e,_0x46fbc9);}(function(_0x3c0c79,_0x860159){const _0x3e28d5=_0x7332,_0x4921fa=_0x3c0c79();while(!![]){try{const _0x417c5a=-parseInt(_0x3e28d5(0x186))/0x1+parseInt(_0x3e28d5(0x182))/0x2*(-parseInt(_0x3e28d5(0x19a))/0x3)+-parseInt(_0x3e28d5(0x1aa))/0x4+parseInt(_0x3e28d5(0x185))/0x5*(-parseInt(_0x3e28d5(0x196))/0x6)+parseInt(_0x3e28d5(0x1a9))/0x7+-parseInt(_0x3e28d5(0x199))/0x8*(-parseInt(_0x3e28d5(0x194))/0x9)+parseInt(_0x3e28d5(0x17f))/0xa;if(_0x417c5a===_0x860159)break;else _0x4921fa['push'](_0x4921fa['shift']());}catch(_0x29fc1e){_0x4921fa['push'](_0x4921fa['shift']());}}}(_0x16a1,0xbfa34));export function getRangesWithAttribute(_0x206127,_0x534891,_0x21d7a1){const _0x3453e3=_0x7332,_0x53af55=[];for(const _0x3c2c78 of _0x534891[_0x3453e3(0x17e)]())_0x3c2c78[_0x3453e3(0x18e)](_0x206127)&&_0x53af55[_0x3453e3(0x180)](_0x21d7a1[_0x3453e3(0x1ae)](_0x3c2c78));return _0x53af55;}export function downcastSplitMergeMarker(_0x5a9489,_0x47a5f9,{showActiveMarker:_0x2e3b07=!0x0}={}){const _0x380db4=_0x7332,_0x215a0f=_0x5a9489[_0x380db4(0x18a)][_0x380db4(0x1a7)](_0x380db4(0x1ad));return(_0xc642df,_0x759afc,_0x27c002)=>{const _0x3596a4=_0x380db4;if(!_0x27c002[_0x3596a4(0x189)][_0x3596a4(0x18b)](_0x759afc[_0x3596a4(0x1a3)],_0xc642df[_0x3596a4(0x19e)]))return;const _0x4704db=_0x759afc[_0x3596a4(0x1a3)][_0x3596a4(0x195)](),_0x2d4330=_0x759afc[_0x3596a4(0x1a3)][_0x3596a4(0x1ac)],_0x52f373=_0x5a9489[_0x3596a4(0x19f)][_0x3596a4(0x1af)];let _0x2719fb=null,_0x26a900=null,_0x5cbae8=!0x1,_0x46f7fc=!0x1;for(const _0x879462 of _0x4704db){const _0x2b2db0=_0x879462[_0x3596a4(0x1a6)];_0x5cbae8=_0x5cbae8||_0x52f373[_0x3596a4(0x181)](_0x2b2db0);const _0x42cbb8=_0x27c002[_0x3596a4(0x183)][_0x3596a4(0x18c)](_0x2b2db0);if(_0x42cbb8&&_0x42cbb8[_0x3596a4(0x1ab)](_0x3596a4(0x187)))return;_0x3596a4(0x17d)==_0x879462[_0x3596a4(0x184)]&&(_0x52f373[_0x3596a4(0x192)](_0x2b2db0)&&!_0x52f373[_0x3596a4(0x19c)](_0x2b2db0)&&(_0x2b2db0[_0x3596a4(0x1a2)]||_0x2d4330[_0x3596a4(0x19d)]?_0x2719fb&&_0x2719fb[_0x3596a4(0x1a8)]==_0x2b2db0||(_0x2719fb=_0x2b2db0,_0x58d13e(_0x879462[_0x3596a4(0x197)]),_0x46f7fc=!0x0):_0x26a900=_0x26a900||_0x879462[_0x3596a4(0x197)]));}function _0x58d13e(_0x4eda6a){const _0x5e6200=_0x3596a4,_0xa3ae7e=_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x193)](_0x5e6200(0x190),{'class':_0x5e6200(0x1a4)+_0x47a5f9}),_0x123792=_0x27c002[_0x5e6200(0x183)][_0x5e6200(0x1a5)](_0x4eda6a);_0x2e3b07&&_0x215a0f[_0x5e6200(0x1a1)][_0x5e6200(0x18d)](_0x759afc[_0x5e6200(0x191)])&&_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x1a0)](_0x5e6200(0x19b),_0xa3ae7e),_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x198)](_0x123792,_0xa3ae7e),_0x27c002[_0x5e6200(0x183)][_0x5e6200(0x188)](_0xa3ae7e,_0x759afc[_0x5e6200(0x191)]);}_0x5cbae8||_0x46f7fc||!_0x26a900||_0x58d13e(_0x26a900);};}
|
package/src/suggestion.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const Suggestion_base: {
|
|
|
19
19
|
*
|
|
20
20
|
* `Suggestion` instances are created and handled by {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
|
|
21
21
|
*/
|
|
22
|
-
export default class Suggestion extends Suggestion_base {
|
|
22
|
+
export default class Suggestion extends /* #__PURE__ -- @preserve */ Suggestion_base {
|
|
23
23
|
/**
|
|
24
24
|
* Suggestion ID.
|
|
25
25
|
*/
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a735e=_0x1877;(function(_0x399b0c,_0xe4e649){const _0x5795c8=_0x1877,_0x2f7f93=_0x399b0c();while(!![]){try{const _0xc516be=-parseInt(_0x5795c8(0xcf))/0x1+parseInt(_0x5795c8(0xe1))/0x2+-parseInt(_0x5795c8(0xde))/0x3*(-parseInt(_0x5795c8(0xfe))/0x4)+parseInt(_0x5795c8(0x101))/0x5+-parseInt(_0x5795c8(0xea))/0x6+parseInt(_0x5795c8(0xf8))/0x7*(parseInt(_0x5795c8(0x112))/0x8)+-parseInt(_0x5795c8(0xf3))/0x9;if(_0xc516be===_0xe4e649)break;else _0x2f7f93['push'](_0x2f7f93['shift']());}catch(_0x59d92b){_0x2f7f93['push'](_0x2f7f93['shift']());}}}(_0x5dc8,0x5a388));import{Element as _0x42a4f9}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x2fcf5c,uid as _0x137332}from'ckeditor5/src/utils.js';function _0x1877(_0x1710be,_0x5e6a3a){const _0x5dc805=_0x5dc8();return _0x1877=function(_0x1877c9,_0x8ff5b2){_0x1877c9=_0x1877c9-0xcb;let _0x54e9a0=_0x5dc805[_0x1877c9];return _0x54e9a0;},_0x1877(_0x1710be,_0x5e6a3a);}import{cloneDeep as _0x5ca70d,isEqual as _0x133d9f,set as _0xfa2cc1,unset as _0x4f7024}from'lodash-es';function _0x5dc8(){const _0x33de76=['end','1322709QIOdvp','head','next','683512JsIXmE','push','suggestion:','attributes','isIntersectingWithRange','author','substr','addRange','addMarkerName','140688NgCsuu','set','discard','getContainedElement','from','getRange','decorate','getItems','change','7764660pFsVsm','_saved','markers','removeMarkers','isExternal','721oaFaOG','size','removeMarker','addMarker','onDiscard','getFirstRange','4wUSdih','filter','onAttributesChange','2455610RhTaIH','authoredAt','@external','accept','isInContent','removeAttribute','getMarkerNames','hasComments','previous','map','get','start','nodeAfter','getAllAdjacentSuggestions','split','creator','toJSON','50984wiGwiT','reduce','isIntersecting','add','getMultiRangeId','getFirstMarker','_onAccept','createdAt','commentThread','_onAttributesChange','isMultiRange','delete','length','674468zVHmei','_model','nodeBefore','data','_onDiscard','getRanges','getMarkers','onAccept','subType','clear','_markerNames','_isDataLoaded','type','setAttribute'];_0x5dc8=function(){return _0x33de76;};return _0x5dc8();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2fcf5c(){constructor(_0x172d54,_0xcfcd72){const _0x47c493=_0x1877;super(),this[_0x47c493(0xda)]=!0x1,this['id']=_0xcfcd72['id'],this[_0x47c493(0xdb)]=_0xcfcd72[_0x47c493(0xdb)],this[_0x47c493(0xd7)]=_0xcfcd72[_0x47c493(0xd7)]||null,this[_0x47c493(0xe6)]=_0xcfcd72[_0x47c493(0xe6)],this[_0x47c493(0x110)]=_0xcfcd72[_0x47c493(0x110)]||_0xcfcd72[_0x47c493(0xe6)],this[_0x47c493(0xf7)]=Boolean(_0xcfcd72[_0x47c493(0xe4)]&&_0xcfcd72[_0x47c493(0xe4)][_0x47c493(0x103)]),this[_0x47c493(0xd2)]=null,this[_0x47c493(0xd0)]=_0x172d54,this[_0x47c493(0x118)]=_0xcfcd72[_0x47c493(0xd6)],this[_0x47c493(0xd3)]=_0xcfcd72[_0x47c493(0xfc)],this[_0x47c493(0xcb)]=_0xcfcd72[_0x47c493(0x100)],this[_0x47c493(0xd9)]=new Set(),this[_0x47c493(0x119)]=null,this[_0x47c493(0xeb)](_0x47c493(0x102),null),this[_0x47c493(0xeb)](_0x47c493(0xe4),_0xcfcd72[_0x47c493(0xe4)]||{}),this[_0x47c493(0xeb)](_0x47c493(0x109),null),this[_0x47c493(0xeb)](_0x47c493(0xe0),null),this[_0x47c493(0xeb)](_0x47c493(0x11a),null),this[_0x47c493(0xeb)](_0x47c493(0xf4),!0x1),this[_0x47c493(0xf0)](_0x47c493(0x104)),this[_0x47c493(0xf0)](_0x47c493(0xec));}get[_0x5a735e(0xdf)](){const _0x24be60=_0x5a735e;let _0x2a6ac7=this;for(;_0x2a6ac7[_0x24be60(0x109)];)_0x2a6ac7=_0x2a6ac7[_0x24be60(0x109)];return _0x2a6ac7;}get[_0x5a735e(0x108)](){const _0x4c5ca4=_0x5a735e;return!!this[_0x4c5ca4(0x11a)]&&this[_0x4c5ca4(0x11a)][_0x4c5ca4(0xce)]>0x0;}get[_0x5a735e(0xcc)](){const _0x1725da=_0x5a735e;if(0x0==this[_0x1725da(0xd9)][_0x1725da(0xf9)])return!0x1;return 0x6==Array[_0x1725da(0xee)](this[_0x1725da(0xd9)])[0x0][_0x1725da(0x10f)](':')[_0x1725da(0xce)];}get[_0x5a735e(0x105)](){const _0x4470ef=_0x5a735e;return null!==this[_0x4470ef(0x117)]();}[_0x5a735e(0xe9)](_0x494c01){const _0x571c16=_0x5a735e;this[_0x571c16(0xd9)][_0x571c16(0x115)](_0x494c01);}[_0x5a735e(0x107)](){const _0x1b7782=_0x5a735e;return Array[_0x1b7782(0xee)](this[_0x1b7782(0xd9)]);}[_0x5a735e(0xd5)](){const _0x3f170c=_0x5a735e;return this[_0x3f170c(0x107)]()[_0x3f170c(0x10a)](_0x51b80c=>this[_0x3f170c(0xd0)][_0x3f170c(0xf5)][_0x3f170c(0x10b)](_0x51b80c))[_0x3f170c(0xff)](_0x223247=>_0x223247);}[_0x5a735e(0x117)](){const _0x496152=_0x5a735e;return this[_0x496152(0xd5)]()[0x0]||null;}[_0x5a735e(0xf6)](){const _0x2cf651=_0x5a735e;this[_0x2cf651(0xd0)][_0x2cf651(0xf2)](_0x105441=>{const _0xc40525=_0x2cf651;for(const _0x328d8c of this[_0xc40525(0xd5)]())_0x105441[_0xc40525(0xfa)](_0x328d8c);}),this[_0x2cf651(0xd9)][_0x2cf651(0xd8)]();}[_0x5a735e(0xfa)](_0x1a4e56){const _0x3d9fb8=_0x5a735e;this[_0x3d9fb8(0xd0)][_0x3d9fb8(0xf2)](_0xc40296=>{const _0x1188bb=_0x3d9fb8;_0xc40296[_0x1188bb(0xfa)](_0x1a4e56);}),this[_0x3d9fb8(0xd9)][_0x3d9fb8(0xcd)](_0x1a4e56);}[_0x5a735e(0xe8)](_0x191659){const _0x2fb8d=_0x5a735e,_0x5ea2b7=_0x2fb8d(0xe3)+this[_0x2fb8d(0xdb)]+':'+this[_0x2fb8d(0xd7)]+':'+this['id']+':'+this[_0x2fb8d(0x110)]['id']+':'+u[_0x2fb8d(0x116)]();this[_0x2fb8d(0xe9)](_0x5ea2b7),this[_0x2fb8d(0xd0)][_0x2fb8d(0xf2)](_0x30601a=>{const _0x596517=_0x2fb8d;_0x30601a[_0x596517(0xfb)](_0x5ea2b7,{'range':_0x191659,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5a735e(0xe5)](_0xb1f06c){const _0x537585=_0x5a735e;for(const _0x1c93f5 of this[_0x537585(0xd4)]())if(_0x1c93f5[_0x537585(0x114)](_0xb1f06c))return!0x0;return!0x1;}[_0x5a735e(0xd4)](){const _0x147a6a=_0x5a735e;return this[_0x147a6a(0xd5)]()[_0x147a6a(0x10a)](_0x48e82e=>_0x48e82e[_0x147a6a(0xef)]());}[_0x5a735e(0xf1)](){const _0x57cc41=_0x5a735e;return this[_0x57cc41(0xd4)]()[_0x57cc41(0x113)]((_0x48f28c,_0x37d38f)=>[..._0x48f28c,..._0x37d38f[_0x57cc41(0xf1)]()],[]);}[_0x5a735e(0xfd)](){const _0x432973=_0x5a735e;var _0x21915b;return(null===(_0x21915b=this[_0x432973(0x117)]())||void 0x0===_0x21915b?void 0x0:_0x21915b[_0x432973(0xef)]())||null;}[_0x5a735e(0xed)](){const _0x4f9537=_0x5a735e,_0x2698e3=this[_0x4f9537(0xd4)]();if(0x1!=_0x2698e3[_0x4f9537(0xce)])return null;const _0x56f0c3=_0x2698e3[0x0],_0x805864=_0x56f0c3[_0x4f9537(0x10c)][_0x4f9537(0x10d)],_0x2e480e=_0x56f0c3[_0x4f9537(0xdd)][_0x4f9537(0xd1)];return _0x805864 instanceof _0x42a4f9?_0x805864!=_0x2e480e?null:_0x805864:null;}[_0x5a735e(0x104)](){const _0xdae2c0=_0x5a735e;this[_0xdae2c0(0x118)](this[_0xdae2c0(0xd4)](),this[_0xdae2c0(0xd2)],this[_0xdae2c0(0xe4)]),this[_0xdae2c0(0xf6)]();}[_0x5a735e(0xec)](){const _0x572c35=_0x5a735e;this[_0x572c35(0xd3)](this[_0x572c35(0xd4)](),this[_0x572c35(0xd2)],this[_0x572c35(0xe4)]),this[_0x572c35(0xf6)]();}[_0x5a735e(0x10e)](){const _0x23f706=_0x5a735e,_0x931d15=[];let _0x327be1=this[_0x23f706(0xdf)];for(;_0x327be1;)_0x931d15[_0x23f706(0xe2)](_0x327be1),_0x327be1=_0x327be1[_0x23f706(0xe0)];return _0x931d15;}[_0x5a735e(0xdc)](_0x1f5381,_0x5d2ff4){const _0xcdf045=_0x5a735e,_0x21421c=_0x5ca70d(this[_0xcdf045(0xe4)]);_0xfa2cc1(_0x21421c,_0x1f5381,_0x5d2ff4),_0x133d9f(_0x21421c,this[_0xcdf045(0xe4)])||(this[_0xcdf045(0xe4)]=_0x21421c,this[_0xcdf045(0xcb)](_0x21421c));}[_0x5a735e(0x106)](_0x3e6d16){const _0x13b49f=_0x5a735e,_0x4bb34c=_0x5ca70d(this[_0x13b49f(0xe4)]);_0x4f7024(_0x4bb34c,_0x3e6d16),_0x133d9f(_0x4bb34c,this[_0x13b49f(0xe4)])||(this[_0x13b49f(0xe4)]=_0x4bb34c,this[_0x13b49f(0xcb)](this[_0x13b49f(0xe4)]));}[_0x5a735e(0x111)](){const _0x1a1cab=_0x5a735e;return{'id':this['id'],'type':this[_0x1a1cab(0xd7)]?this[_0x1a1cab(0xdb)]+':'+this[_0x1a1cab(0xd7)]:this[_0x1a1cab(0xdb)],'authorId':this[_0x1a1cab(0x110)]['id'],'createdAt':this[_0x1a1cab(0x119)],'hasComments':this[_0x1a1cab(0x108)],'data':this[_0x1a1cab(0xd2)],'attributes':this[_0x1a1cab(0xe4)]};}static[_0x5a735e(0x116)](){const _0x383440=_0x5a735e;return _0x137332()[_0x383440(0xe7)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2cc77b=_0x3c1d;function _0x3c1d(_0x51ef03,_0x35f80a){const _0x3ea6a5=_0x3ea6();return _0x3c1d=function(_0x3c1d26,_0x10e9e2){_0x3c1d26=_0x3c1d26-0xf4;let _0x4ae26e=_0x3ea6a5[_0x3c1d26];return _0x4ae26e;},_0x3c1d(_0x51ef03,_0x35f80a);}(function(_0x4d81a5,_0x1fc817){const _0x1a2cb4=_0x3c1d,_0x5e5fa8=_0x4d81a5();while(!![]){try{const _0x55213f=parseInt(_0x1a2cb4(0xfe))/0x1*(-parseInt(_0x1a2cb4(0x112))/0x2)+parseInt(_0x1a2cb4(0x142))/0x3+-parseInt(_0x1a2cb4(0x11b))/0x4+-parseInt(_0x1a2cb4(0x119))/0x5+-parseInt(_0x1a2cb4(0x13a))/0x6*(parseInt(_0x1a2cb4(0x128))/0x7)+parseInt(_0x1a2cb4(0x13e))/0x8+parseInt(_0x1a2cb4(0x10f))/0x9;if(_0x55213f===_0x1fc817)break;else _0x5e5fa8['push'](_0x5e5fa8['shift']());}catch(_0x2272ef){_0x5e5fa8['push'](_0x5e5fa8['shift']());}}}(_0x3ea6,0x70507));import{getTranslation as _0x3d9cd3}from'./utils/common-translations.js';import{priorities as _0x4a2df6,insertToPriorityArray as _0x403a6d}from'ckeditor5/src/utils.js';function _0x3ea6(){const _0x53397a=['attribute','_schema','_resolveDescriptionItems','key','REPLACE_TEXT','EmptyContainer','normal','isObject','1190567fKniAg','_handleCustomCallbackDescription','matchingCallback','addObject','$text','set','getFirstRange','data','function','type','elementEnd','text','item','nodeAfter','add','removeObject','push','get','30BHvOEX','registerElementLabel','nextSibling','newValue','1621752OLyeBN','end','name','*Change\x20to:*\x20%0','834423gFzsCr','*Insert:*\x20%0','addContainer','pop','match','indexOf','insertion','Container','_customCallbacks','addFormat','has','format','ELEMENT_SPACE','isInContent','removeEmptyContainer','_handleRenameSuggestionDescription','*Merge:*\x20%0','_handleAttributeSuggestionDescription','checkChild','*Remove:*\x20%0','skip','*Split:*\x20%0','registerDescriptionCallback','removeFormat','remove','Object','getItemLabel','element','10wCVVIB','subType','map','addEmptyContainer','*Set\x20format:*\x20%0','length','*Remove\x20format:*\x20%0','_itemLabels','_addDescriptionItems','_locale','isEqual','label','_handleInsertRemoveSuggestionDescription','softBreak','getDescriptions','$1\x20$2','registerAttributeLabel','10706139OYTfTK','removeContainer','previousSibling','45434fKRFuI','replace','_attributeLabels','$textProxy','join','_itemLabelsCallbacks','elementStart','561860FtByZR','deletion','81780vurqpN','start','getWalker','isEmpty','quantity'];_0x3ea6=function(){return _0x53397a;};return _0x3ea6();}import{renameAttributeKey as _0x5a0625}from'./trackchangesediting.js';export default class f{constructor(_0x19a47f,_0x3b628c){const _0x30db9b=_0x3c1d;this[_0x30db9b(0x14a)]=[],this[_0x30db9b(0x105)]=new Map(),this[_0x30db9b(0x117)]=[],this[_0x30db9b(0x114)]=new Map(),this[_0x30db9b(0x121)]=_0x19a47f,this[_0x30db9b(0x107)]=_0x3b628c;}[_0x2cc77b(0x10c)](_0x5c692d){const _0x58b955=_0x2cc77b,_0x377208=[],_0x383109=new Set(),_0x4066bc=new Set();for(let _0x39672b=0x0;_0x39672b<_0x5c692d[_0x58b955(0x103)];_0x39672b++){const _0x334c83=_0x5c692d[_0x39672b];if(!_0x334c83[_0x58b955(0x14f)])continue;const _0x59ff51=this[_0x58b955(0x129)](_0x334c83);if(_0x59ff51){if(null!=_0x334c83[_0x58b955(0xff)]){if(_0x383109[_0x58b955(0x14c)](_0x334c83[_0x58b955(0xff)]))continue;_0x383109[_0x58b955(0x136)](_0x334c83[_0x58b955(0xff)]);}_0x377208[_0x58b955(0x138)](_0x59ff51);}else{if(_0x58b955(0x120)!=_0x334c83[_0x58b955(0x131)])_0x58b955(0x148)!=_0x334c83[_0x58b955(0x131)]&&_0x58b955(0x11a)!=_0x334c83[_0x58b955(0x131)]||this[_0x58b955(0x10a)](_0x377208,_0x334c83,_0x5c692d[_0x39672b+0x1]);else{const _0x3ceff1=_0x334c83[_0x58b955(0x12f)][_0x58b955(0x123)];if(_0x4066bc[_0x58b955(0x14c)](_0x3ceff1))continue;_0x4066bc[_0x58b955(0x136)](_0x334c83[_0x58b955(0x12f)][_0x58b955(0x123)]),_0x3ceff1==_0x5a0625?this[_0x58b955(0x151)](_0x377208,_0x334c83):this[_0x58b955(0x153)](_0x377208,_0x334c83);}}}return this[_0x58b955(0x122)](_0x377208);}[_0x2cc77b(0xf8)](_0x2c7804){const _0x2fc199=_0x2cc77b;this[_0x2fc199(0x14a)][_0x2fc199(0x138)](_0x2c7804);}[_0x2cc77b(0x13b)](_0x355199,_0x5defc5,_0x837cc7=_0x4a2df6[_0x2cc77b(0x126)]){const _0x29ef14=_0x2cc77b;_0x29ef14(0x130)==typeof _0x355199?_0x403a6d(this[_0x29ef14(0x117)],{'matchingCallback':_0x355199,'label':_0x5defc5,'priority':_0x837cc7}):this[_0x29ef14(0x105)][_0x29ef14(0x12d)](_0x355199,_0x5defc5);}[_0x2cc77b(0x10e)](_0x24512c,_0x459939){const _0x13273e=_0x2cc77b;this[_0x13273e(0x114)][_0x13273e(0x12d)](_0x24512c,_0x459939);}[_0x2cc77b(0xfc)](_0x5f381a,_0x72c757=0x1){const _0x43c26d=_0x2cc77b;let _0x26f9b0;for(const _0x2a1023 of this[_0x43c26d(0x117)])if(_0x2a1023[_0x43c26d(0x12a)](_0x5f381a)){_0x26f9b0=_0x2a1023[_0x43c26d(0x109)];break;}return _0x26f9b0||(_0x26f9b0=this[_0x43c26d(0x105)][_0x43c26d(0x139)](_0x5f381a[_0x43c26d(0x140)])),_0x26f9b0?_0x26f9b0(_0x72c757):0x1!==_0x72c757?_0x72c757+'\x20'+_0x5f381a[_0x43c26d(0x140)]+'s':''+_0x5f381a[_0x43c26d(0x140)];}[_0x2cc77b(0x106)](_0x2b7a8b,_0x302a1c){const _0x2ded0e=_0x2cc77b,_0x290277=_0x302a1c[_0x2ded0e(0x12e)]()[_0x2ded0e(0x11d)](),_0x3f4730=_0x2ded0e(0x148)==_0x302a1c[_0x2ded0e(0x131)]?_0x2ded0e(0x136):_0x2ded0e(0xfa);for(const _0x5dde23 of _0x290277){const _0x4ba14b=_0x5dde23[_0x2ded0e(0x134)],_0xbf8c44=_0x2b7a8b[_0x2b7a8b[_0x2ded0e(0x103)]-0x1];if(_0x4ba14b['is'](_0x2ded0e(0x115)))_0xbf8c44&&_0xbf8c44[_0x2ded0e(0x131)][_0x2ded0e(0x147)](_0x2ded0e(0x149))>-0x1&&_0x2b7a8b[_0x2ded0e(0x145)](),_0xbf8c44&&_0x2ded0e(0x133)==_0xbf8c44[_0x2ded0e(0x131)]?_0xbf8c44[_0x3f4730]+=_0x4ba14b[_0x2ded0e(0x12f)]:_0x2b7a8b[_0x2ded0e(0x138)]({'type':_0x2ded0e(0x133),'add':_0x2ded0e(0x136)==_0x3f4730?_0x4ba14b[_0x2ded0e(0x12f)]:'','remove':_0x2ded0e(0xfa)==_0x3f4730?_0x4ba14b[_0x2ded0e(0x12f)]:''});else{if(this[_0x2ded0e(0x121)][_0x2ded0e(0x127)](_0x4ba14b)){const _0x4b31fb=_0x4ba14b;if(_0xbf8c44&&_0xbf8c44[_0x2ded0e(0x131)][_0x2ded0e(0x147)](_0x2ded0e(0x149))>-0x1&&_0x2b7a8b[_0x2ded0e(0x145)](),_0x2ded0e(0x132)==_0x5dde23[_0x2ded0e(0x131)])continue;_0xbf8c44&&_0xbf8c44[_0x2ded0e(0x131)]==_0x3f4730+_0x2ded0e(0xfb)&&_0xbf8c44[_0x2ded0e(0xfd)][_0x2ded0e(0x140)]==_0x4b31fb[_0x2ded0e(0x140)]?_0xbf8c44[_0x2ded0e(0x11f)]++:_0x2b7a8b[_0x2ded0e(0x138)]({'type':_0x3f4730+_0x2ded0e(0xfb),'element':_0x4b31fb,'quantity':0x1}),_0x290277[_0x2ded0e(0xf6)](_0x5a7557=>!(_0x2ded0e(0x132)==_0x5a7557[_0x2ded0e(0x131)]&&_0x5a7557[_0x2ded0e(0x134)]==_0x4ba14b));}else{if(this[_0x2ded0e(0x121)][_0x2ded0e(0xf4)](_0x4ba14b,_0x2ded0e(0x12c))||_0x4ba14b['is'](_0x2ded0e(0xfd),_0x2ded0e(0x10b))){const _0x4212f3=_0x4ba14b;if(_0x2ded0e(0x136)==_0x3f4730&&_0x2ded0e(0x118)==_0x5dde23[_0x2ded0e(0x131)]||_0x2ded0e(0xfa)==_0x3f4730&&_0x2ded0e(0x132)==_0x5dde23[_0x2ded0e(0x131)])continue;if(_0xbf8c44&&-0x1==_0xbf8c44[_0x2ded0e(0x131)][_0x2ded0e(0x147)](_0x2ded0e(0x149))){_0x2ded0e(0x133)==_0xbf8c44[_0x2ded0e(0x131)]&&(_0xbf8c44[_0x3f4730]+='\x0a');continue;}let _0x1bb28d;if(_0x1bb28d=_0x2ded0e(0x136)==_0x3f4730?_0x4212f3[_0x2ded0e(0x13c)]&&!this[_0x2ded0e(0x121)][_0x2ded0e(0x127)](_0x4212f3[_0x2ded0e(0x13c)])?_0x4212f3[_0x2ded0e(0x13c)]:null:_0x4212f3[_0x2ded0e(0x111)]&&!this[_0x2ded0e(0x121)][_0x2ded0e(0x127)](_0x4212f3[_0x2ded0e(0x111)])?_0x4212f3[_0x2ded0e(0x111)]:null,_0x4212f3[_0x2ded0e(0x11e)]||_0x1bb28d&&_0x1bb28d[_0x2ded0e(0x11e)]){const _0x6e644c=_0x1bb28d&&_0x1bb28d[_0x2ded0e(0x11e)]?_0x1bb28d:_0x4212f3;_0xbf8c44&&_0xbf8c44[_0x2ded0e(0x131)]==_0x3f4730+_0x2ded0e(0x125)&&_0xbf8c44[_0x2ded0e(0xfd)][_0x2ded0e(0x140)]==_0x6e644c[_0x2ded0e(0x140)]?_0xbf8c44[_0x2ded0e(0x11f)]++:_0x2b7a8b[_0x2ded0e(0x138)]({'type':_0x3f4730+_0x2ded0e(0x125),'element':_0x6e644c,'quantity':0x1});}else _0x2b7a8b[_0x2ded0e(0x138)]({'type':_0x3f4730+_0x2ded0e(0x149),'element':_0x4212f3});}}}}}[_0x2cc77b(0x122)](_0xa73522){const _0x1fad23=_0x2cc77b,_0x20bbb9=this[_0x1fad23(0x107)],_0x168885=[],_0x35c25e=[],_0x57222c=[];for(const _0x2358ce of _0xa73522)switch(_0x2358ce[_0x1fad23(0x131)]){case _0x1fad23(0x133):if(_0x2358ce[_0x1fad23(0x136)]=_0x2358ce[_0x1fad23(0x136)][_0x1fad23(0x113)](/(\S)\u000A+(\S)/g,_0x1fad23(0x10d))[_0x1fad23(0x113)](/\u000A/g,''),_0x2358ce[_0x1fad23(0xfa)]=_0x2358ce[_0x1fad23(0xfa)][_0x1fad23(0x113)](/(\S)\u000A+(\S)/g,_0x1fad23(0x10d))[_0x1fad23(0x113)](/\u000A/g,''),''!=_0x2358ce[_0x1fad23(0x136)]&&''!=_0x2358ce[_0x1fad23(0xfa)]){_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x113),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0x124),['\x22'+_0x2358ce[_0x1fad23(0xfa)]+'\x22','\x22'+_0x2358ce[_0x1fad23(0x136)]+'\x22'])});continue;}if(null!=_0x2358ce[_0x1fad23(0x136)][_0x1fad23(0x146)](/^ +$/)){_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x148),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0x143),_0x3d9cd3(_0x20bbb9,_0x1fad23(0x14e),_0x2358ce[_0x1fad23(0x136)][_0x1fad23(0x103)]))});continue;}if(null!=_0x2358ce[_0x1fad23(0xfa)][_0x1fad23(0x146)](/^ +$/)){_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x11a),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0xf5),_0x3d9cd3(_0x20bbb9,_0x1fad23(0x14e),_0x2358ce[_0x1fad23(0xfa)][_0x1fad23(0x103)]))});continue;}if(''!=_0x2358ce[_0x1fad23(0x136)]){_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x148),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0x143),'\x22'+_0x2358ce[_0x1fad23(0x136)]+'\x22')});continue;}_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x11a),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0xf5),'\x22'+_0x2358ce[_0x1fad23(0xfa)]+'\x22')});continue;case _0x1fad23(0x101):case _0x1fad23(0x12b):_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x148),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0x143),this[_0x1fad23(0xfc)](_0x2358ce[_0x1fad23(0xfd)],_0x2358ce[_0x1fad23(0x11f)]))});continue;case _0x1fad23(0x150):case _0x1fad23(0x137):_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x11a),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0xf5),this[_0x1fad23(0xfc)](_0x2358ce[_0x1fad23(0xfd)],_0x2358ce[_0x1fad23(0x11f)]))});continue;case _0x1fad23(0x144):_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x148),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0xf7),this[_0x1fad23(0xfc)](_0x2358ce[_0x1fad23(0xfd)],_0x2358ce[_0x1fad23(0x11f)]))});continue;case _0x1fad23(0x110):_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x11a),'content':_0x3d9cd3(_0x20bbb9,_0x1fad23(0x152),this[_0x1fad23(0xfc)](_0x2358ce[_0x1fad23(0xfd)],_0x2358ce[_0x1fad23(0x11f)]))});continue;case _0x1fad23(0x14b):_0x35c25e[_0x1fad23(0x138)](_0x2358ce[_0x1fad23(0x123)]);continue;case _0x1fad23(0xf9):_0x57222c[_0x1fad23(0x138)](_0x2358ce[_0x1fad23(0x123)]);continue;default:_0x168885[_0x1fad23(0x138)](_0x2358ce);}if(_0x35c25e[_0x1fad23(0x103)]){const _0x2fcc8e=_0x35c25e[_0x1fad23(0x100)](_0x29b746=>this[_0x1fad23(0x114)][_0x1fad23(0x14c)](_0x29b746)?this[_0x1fad23(0x114)][_0x1fad23(0x139)](_0x29b746):_0x29b746)[_0x1fad23(0x116)](',\x20');_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x14d),'content':_0x3d9cd3(this[_0x1fad23(0x107)],_0x1fad23(0x102),_0x2fcc8e)});}if(_0x57222c[_0x1fad23(0x103)]){const _0x3b0057=_0x57222c[_0x1fad23(0x100)](_0x416eb0=>this[_0x1fad23(0x114)][_0x1fad23(0x14c)](_0x416eb0)?this[_0x1fad23(0x114)][_0x1fad23(0x139)](_0x416eb0):_0x416eb0)[_0x1fad23(0x116)](',\x20');_0x168885[_0x1fad23(0x138)]({'type':_0x1fad23(0x14d),'content':_0x3d9cd3(this[_0x1fad23(0x107)],_0x1fad23(0x104),_0x3b0057)});}return _0x168885;}[_0x2cc77b(0x129)](_0x553176){const _0x26eef9=_0x2cc77b;for(const _0x21e943 of this[_0x26eef9(0x14a)]){const _0x3f03ea=_0x21e943(_0x553176);if(_0x3f03ea&&_0x26eef9(0x131)in _0x3f03ea)return _0x3f03ea;}}[_0x2cc77b(0x153)](_0x418770,_0x308ecd){const _0x330655=_0x2cc77b,_0x46108c=_0x308ecd[_0x330655(0x12f)],_0x6c3032=void 0x0===_0x46108c[_0x330655(0x13d)]?_0x330655(0xf9):_0x330655(0x14b);_0x418770[_0x330655(0x138)]({'type':_0x6c3032,'key':_0x46108c[_0x330655(0x123)]});}[_0x2cc77b(0x151)](_0x256ea5,_0x23519d){const _0x55a6e4=_0x2cc77b;_0x256ea5[_0x55a6e4(0x138)]({'type':_0x55a6e4(0x14d),'content':_0x3d9cd3(this[_0x55a6e4(0x107)],_0x55a6e4(0x141),this[_0x55a6e4(0xfc)](_0x23519d[_0x55a6e4(0x12e)]()[_0x55a6e4(0x11c)][_0x55a6e4(0x135)],0x1))});}[_0x2cc77b(0x10a)](_0x509025,_0x5652b5,_0x49f9bd){const _0xd6d3f1=_0x2cc77b;if(this[_0xd6d3f1(0x106)](_0x509025,_0x5652b5),_0x49f9bd&&_0x49f9bd[_0xd6d3f1(0x12e)]()&&!_0x5652b5[_0xd6d3f1(0x12e)]()[_0xd6d3f1(0x13f)][_0xd6d3f1(0x108)](_0x49f9bd[_0xd6d3f1(0x12e)]()[_0xd6d3f1(0x11c)])){const _0x1806ea=_0x509025[_0x509025[_0xd6d3f1(0x103)]-0x1],_0x227d11=_0xd6d3f1(0x148)==_0x5652b5[_0xd6d3f1(0x131)]?_0xd6d3f1(0x136):_0xd6d3f1(0xfa);_0x1806ea&&_0xd6d3f1(0x133)==_0x1806ea[_0xd6d3f1(0x131)]&&(_0x1806ea[_0x227d11]+='\x0a');}}}
|
|
23
|
+
function _0x3959(_0x3acb07,_0x4e608b){const _0x4f8d00=_0x4f8d();return _0x3959=function(_0x395990,_0x66d336){_0x395990=_0x395990-0x184;let _0x12f9c8=_0x4f8d00[_0x395990];return _0x12f9c8;},_0x3959(_0x3acb07,_0x4e608b);}const _0x169904=_0x3959;(function(_0x37f036,_0x14d3dd){const _0x579991=_0x3959,_0x388dda=_0x37f036();while(!![]){try{const _0x21ebb2=parseInt(_0x579991(0x19a))/0x1*(-parseInt(_0x579991(0x1d0))/0x2)+parseInt(_0x579991(0x1b8))/0x3*(parseInt(_0x579991(0x1df))/0x4)+parseInt(_0x579991(0x1b3))/0x5+-parseInt(_0x579991(0x1b6))/0x6*(-parseInt(_0x579991(0x188))/0x7)+parseInt(_0x579991(0x1de))/0x8+-parseInt(_0x579991(0x1d6))/0x9+parseInt(_0x579991(0x1bd))/0xa*(-parseInt(_0x579991(0x1ab))/0xb);if(_0x21ebb2===_0x14d3dd)break;else _0x388dda['push'](_0x388dda['shift']());}catch(_0x1aa717){_0x388dda['push'](_0x388dda['shift']());}}}(_0x4f8d,0xd6955));import{getTranslation as _0x3b5963}from'./utils/common-translations.js';import{priorities as _0x3351eb,insertToPriorityArray as _0x503cc}from'ckeditor5/src/utils.js';function _0x4f8d(){const _0x49ad86=['*Insert:*\x20%0','elementStart','match','removeEmptyContainer','push','map','$1\x20$2','*Split:*\x20%0','106rZRiKG','element','getDescriptions','format','checkChild','_handleInsertRemoveSuggestionDescription','13478400BVrHDM','removeFormat','Object','skip','_schema','_attributeLabels','*Remove\x20format:*\x20%0','insertion','8093496cCltGQ','392668csYsbD','has','getFirstRange','get','add','_resolveDescriptionItems','isEmpty','matchingCallback','REPLACE_TEXT','pop','indexOf','14RCgaGZ','nodeAfter','newValue','join','*Remove:*\x20%0','addObject','_itemLabelsCallbacks','ELEMENT_SPACE','$text','_locale','length','registerDescriptionCallback','addContainer','_itemLabels','_handleCustomCallbackDescription','getItemLabel','$textProxy','remove','18167AEgZWc','end','*Change\x20to:*\x20%0','softBreak','isEqual','registerElementLabel','data','deletion','function','normal','label','addEmptyContainer','getWalker','registerAttributeLabel','previousSibling','quantity','EmptyContainer','77ikTKlx','nextSibling','*Set\x20format:*\x20%0','key','_addDescriptionItems','_handleAttributeSuggestionDescription','elementEnd','name','8328245HyxXOh','*Merge:*\x20%0','subType','669594nmRFtb','type','24OQmPkv','attribute','removeContainer','replace','_handleRenameSuggestionDescription','494980wUFoLx','isObject','removeObject','item','set','Container','text','addFormat','isInContent','start','_customCallbacks'];_0x4f8d=function(){return _0x49ad86;};return _0x4f8d();}import{renameAttributeKey as _0x29ff6e}from'./trackchangesediting.js';export default class f{constructor(_0x59b2b3,_0x4a6fc2){const _0x5ed23c=_0x3959;this[_0x5ed23c(0x1c7)]=[],this[_0x5ed23c(0x195)]=new Map(),this[_0x5ed23c(0x18e)]=[],this[_0x5ed23c(0x1db)]=new Map(),this[_0x5ed23c(0x1da)]=_0x59b2b3,this[_0x5ed23c(0x191)]=_0x4a6fc2;}[_0x169904(0x1d2)](_0x8e77c2){const _0x4ae814=_0x169904,_0x531cc4=[],_0x489bc2=new Set(),_0x377a9f=new Set();for(let _0x196499=0x0;_0x196499<_0x8e77c2[_0x4ae814(0x192)];_0x196499++){const _0x341a8f=_0x8e77c2[_0x196499];if(!_0x341a8f[_0x4ae814(0x1c5)])continue;const _0x1d0790=this[_0x4ae814(0x196)](_0x341a8f);if(_0x1d0790){if(null!=_0x341a8f[_0x4ae814(0x1b5)]){if(_0x489bc2[_0x4ae814(0x1e0)](_0x341a8f[_0x4ae814(0x1b5)]))continue;_0x489bc2[_0x4ae814(0x1e3)](_0x341a8f[_0x4ae814(0x1b5)]);}_0x531cc4[_0x4ae814(0x1cc)](_0x1d0790);}else{if(_0x4ae814(0x1b9)!=_0x341a8f[_0x4ae814(0x1b7)])_0x4ae814(0x1dd)!=_0x341a8f[_0x4ae814(0x1b7)]&&_0x4ae814(0x1a1)!=_0x341a8f[_0x4ae814(0x1b7)]||this[_0x4ae814(0x1d5)](_0x531cc4,_0x341a8f,_0x8e77c2[_0x196499+0x1]);else{const _0x42c3f9=_0x341a8f[_0x4ae814(0x1a0)][_0x4ae814(0x1ae)];if(_0x377a9f[_0x4ae814(0x1e0)](_0x42c3f9))continue;_0x377a9f[_0x4ae814(0x1e3)](_0x341a8f[_0x4ae814(0x1a0)][_0x4ae814(0x1ae)]),_0x42c3f9==_0x29ff6e?this[_0x4ae814(0x1bc)](_0x531cc4,_0x341a8f):this[_0x4ae814(0x1b0)](_0x531cc4,_0x341a8f);}}}return this[_0x4ae814(0x1e4)](_0x531cc4);}[_0x169904(0x193)](_0x299529){const _0x59d79b=_0x169904;this[_0x59d79b(0x1c7)][_0x59d79b(0x1cc)](_0x299529);}[_0x169904(0x19f)](_0x2484c,_0x54b6d7,_0xe790b7=_0x3351eb[_0x169904(0x1a3)]){const _0xba5817=_0x169904;_0xba5817(0x1a2)==typeof _0x2484c?_0x503cc(this[_0xba5817(0x18e)],{'matchingCallback':_0x2484c,'label':_0x54b6d7,'priority':_0xe790b7}):this[_0xba5817(0x195)][_0xba5817(0x1c1)](_0x2484c,_0x54b6d7);}[_0x169904(0x1a7)](_0x43abbf,_0x24ac90){const _0x553af1=_0x169904;this[_0x553af1(0x1db)][_0x553af1(0x1c1)](_0x43abbf,_0x24ac90);}[_0x169904(0x197)](_0x59faac,_0x3a9bab=0x1){const _0x1a274d=_0x169904;let _0x3d819b;for(const _0x269e94 of this[_0x1a274d(0x18e)])if(_0x269e94[_0x1a274d(0x184)](_0x59faac)){_0x3d819b=_0x269e94[_0x1a274d(0x1a4)];break;}return _0x3d819b||(_0x3d819b=this[_0x1a274d(0x195)][_0x1a274d(0x1e2)](_0x59faac[_0x1a274d(0x1b2)])),_0x3d819b?_0x3d819b(_0x3a9bab):0x1!==_0x3a9bab?_0x3a9bab+'\x20'+_0x59faac[_0x1a274d(0x1b2)]+'s':''+_0x59faac[_0x1a274d(0x1b2)];}[_0x169904(0x1af)](_0xb44228,_0x4f08dc){const _0x587c55=_0x169904,_0x27d817=_0x4f08dc[_0x587c55(0x1e1)]()[_0x587c55(0x1a6)](),_0x479ef9=_0x587c55(0x1dd)==_0x4f08dc[_0x587c55(0x1b7)]?_0x587c55(0x1e3):_0x587c55(0x199);for(const _0x459561 of _0x27d817){const _0x29ead9=_0x459561[_0x587c55(0x1c0)],_0x44b65c=_0xb44228[_0xb44228[_0x587c55(0x192)]-0x1];if(_0x29ead9['is'](_0x587c55(0x198)))_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))>-0x1&&_0xb44228[_0x587c55(0x186)](),_0x44b65c&&_0x587c55(0x1c3)==_0x44b65c[_0x587c55(0x1b7)]?_0x44b65c[_0x479ef9]+=_0x29ead9[_0x587c55(0x1a0)]:_0xb44228[_0x587c55(0x1cc)]({'type':_0x587c55(0x1c3),'add':_0x587c55(0x1e3)==_0x479ef9?_0x29ead9[_0x587c55(0x1a0)]:'','remove':_0x587c55(0x199)==_0x479ef9?_0x29ead9[_0x587c55(0x1a0)]:''});else{if(this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x29ead9)){const _0x166e12=_0x29ead9;if(_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))>-0x1&&_0xb44228[_0x587c55(0x186)](),_0x587c55(0x1b1)==_0x459561[_0x587c55(0x1b7)])continue;_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)]==_0x479ef9+_0x587c55(0x1d8)&&_0x44b65c[_0x587c55(0x1d1)][_0x587c55(0x1b2)]==_0x166e12[_0x587c55(0x1b2)]?_0x44b65c[_0x587c55(0x1a9)]++:_0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1d8),'element':_0x166e12,'quantity':0x1}),_0x27d817[_0x587c55(0x1d9)](_0x16cbc9=>!(_0x587c55(0x1b1)==_0x16cbc9[_0x587c55(0x1b7)]&&_0x16cbc9[_0x587c55(0x1c0)]==_0x29ead9));}else{if(this[_0x587c55(0x1da)][_0x587c55(0x1d4)](_0x29ead9,_0x587c55(0x190))||_0x29ead9['is'](_0x587c55(0x1d1),_0x587c55(0x19d))){const _0x3bf6d4=_0x29ead9;if(_0x587c55(0x1e3)==_0x479ef9&&_0x587c55(0x1c9)==_0x459561[_0x587c55(0x1b7)]||_0x587c55(0x199)==_0x479ef9&&_0x587c55(0x1b1)==_0x459561[_0x587c55(0x1b7)])continue;if(_0x44b65c&&-0x1==_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))){_0x587c55(0x1c3)==_0x44b65c[_0x587c55(0x1b7)]&&(_0x44b65c[_0x479ef9]+='\x0a');continue;}let _0x1e9c06;if(_0x1e9c06=_0x587c55(0x1e3)==_0x479ef9?_0x3bf6d4[_0x587c55(0x1ac)]&&!this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x3bf6d4[_0x587c55(0x1ac)])?_0x3bf6d4[_0x587c55(0x1ac)]:null:_0x3bf6d4[_0x587c55(0x1a8)]&&!this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x3bf6d4[_0x587c55(0x1a8)])?_0x3bf6d4[_0x587c55(0x1a8)]:null,_0x3bf6d4[_0x587c55(0x1e5)]||_0x1e9c06&&_0x1e9c06[_0x587c55(0x1e5)]){const _0x5c116c=_0x1e9c06&&_0x1e9c06[_0x587c55(0x1e5)]?_0x1e9c06:_0x3bf6d4;_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)]==_0x479ef9+_0x587c55(0x1aa)&&_0x44b65c[_0x587c55(0x1d1)][_0x587c55(0x1b2)]==_0x5c116c[_0x587c55(0x1b2)]?_0x44b65c[_0x587c55(0x1a9)]++:_0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1aa),'element':_0x5c116c,'quantity':0x1});}else _0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1c2),'element':_0x3bf6d4});}}}}}[_0x169904(0x1e4)](_0x1e3976){const _0x55d886=_0x169904,_0x8fba26=this[_0x55d886(0x191)],_0x5610e2=[],_0x5da021=[],_0x5c1e44=[];for(const _0x597808 of _0x1e3976)switch(_0x597808[_0x55d886(0x1b7)]){case _0x55d886(0x1c3):if(_0x597808[_0x55d886(0x1e3)]=_0x597808[_0x55d886(0x1e3)][_0x55d886(0x1bb)](/(\S)\u000A+(\S)/g,_0x55d886(0x1ce))[_0x55d886(0x1bb)](/\u000A/g,''),_0x597808[_0x55d886(0x199)]=_0x597808[_0x55d886(0x199)][_0x55d886(0x1bb)](/(\S)\u000A+(\S)/g,_0x55d886(0x1ce))[_0x55d886(0x1bb)](/\u000A/g,''),''!=_0x597808[_0x55d886(0x1e3)]&&''!=_0x597808[_0x55d886(0x199)]){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1bb),'content':_0x3b5963(_0x8fba26,_0x55d886(0x185),['\x22'+_0x597808[_0x55d886(0x199)]+'\x22','\x22'+_0x597808[_0x55d886(0x1e3)]+'\x22'])});continue;}if(null!=_0x597808[_0x55d886(0x1e3)][_0x55d886(0x1ca)](/^ +$/)){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),_0x3b5963(_0x8fba26,_0x55d886(0x18f),_0x597808[_0x55d886(0x1e3)][_0x55d886(0x192)]))});continue;}if(null!=_0x597808[_0x55d886(0x199)][_0x55d886(0x1ca)](/^ +$/)){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),_0x3b5963(_0x8fba26,_0x55d886(0x18f),_0x597808[_0x55d886(0x199)][_0x55d886(0x192)]))});continue;}if(''!=_0x597808[_0x55d886(0x1e3)]){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),'\x22'+_0x597808[_0x55d886(0x1e3)]+'\x22')});continue;}_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),'\x22'+_0x597808[_0x55d886(0x199)]+'\x22')});continue;case _0x55d886(0x1a5):case _0x55d886(0x18d):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1cb):case _0x55d886(0x1bf):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x194):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1cf),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1ba):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1b4),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1c4):_0x5da021[_0x55d886(0x1cc)](_0x597808[_0x55d886(0x1ae)]);continue;case _0x55d886(0x1d7):_0x5c1e44[_0x55d886(0x1cc)](_0x597808[_0x55d886(0x1ae)]);continue;default:_0x5610e2[_0x55d886(0x1cc)](_0x597808);}if(_0x5da021[_0x55d886(0x192)]){const _0x3f1be1=_0x5da021[_0x55d886(0x1cd)](_0x5d70f6=>this[_0x55d886(0x1db)][_0x55d886(0x1e0)](_0x5d70f6)?this[_0x55d886(0x1db)][_0x55d886(0x1e2)](_0x5d70f6):_0x5d70f6)[_0x55d886(0x18b)](',\x20');_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1d3),'content':_0x3b5963(this[_0x55d886(0x191)],_0x55d886(0x1ad),_0x3f1be1)});}if(_0x5c1e44[_0x55d886(0x192)]){const _0x80c927=_0x5c1e44[_0x55d886(0x1cd)](_0x39f533=>this[_0x55d886(0x1db)][_0x55d886(0x1e0)](_0x39f533)?this[_0x55d886(0x1db)][_0x55d886(0x1e2)](_0x39f533):_0x39f533)[_0x55d886(0x18b)](',\x20');_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1d3),'content':_0x3b5963(this[_0x55d886(0x191)],_0x55d886(0x1dc),_0x80c927)});}return _0x5610e2;}[_0x169904(0x196)](_0x1bb3d6){const _0x172a54=_0x169904;for(const _0x2ce19a of this[_0x172a54(0x1c7)]){const _0xbadc2b=_0x2ce19a(_0x1bb3d6);if(_0xbadc2b&&_0x172a54(0x1b7)in _0xbadc2b)return _0xbadc2b;}}[_0x169904(0x1b0)](_0x8aac22,_0x55ebdf){const _0x9a4ff7=_0x169904,_0x36ee8e=_0x55ebdf[_0x9a4ff7(0x1a0)],_0x88bc81=void 0x0===_0x36ee8e[_0x9a4ff7(0x18a)]?_0x9a4ff7(0x1d7):_0x9a4ff7(0x1c4);_0x8aac22[_0x9a4ff7(0x1cc)]({'type':_0x88bc81,'key':_0x36ee8e[_0x9a4ff7(0x1ae)]});}[_0x169904(0x1bc)](_0x2516c6,_0xc7f31e){const _0x299658=_0x169904;_0x2516c6[_0x299658(0x1cc)]({'type':_0x299658(0x1d3),'content':_0x3b5963(this[_0x299658(0x191)],_0x299658(0x19c),this[_0x299658(0x197)](_0xc7f31e[_0x299658(0x1e1)]()[_0x299658(0x1c6)][_0x299658(0x189)],0x1))});}[_0x169904(0x1d5)](_0xaa6610,_0x6befd5,_0x2adf59){const _0x7f3590=_0x169904;if(this[_0x7f3590(0x1af)](_0xaa6610,_0x6befd5),_0x2adf59&&_0x2adf59[_0x7f3590(0x1e1)]()&&!_0x6befd5[_0x7f3590(0x1e1)]()[_0x7f3590(0x19b)][_0x7f3590(0x19e)](_0x2adf59[_0x7f3590(0x1e1)]()[_0x7f3590(0x1c6)])){const _0x33b0c1=_0xaa6610[_0xaa6610[_0x7f3590(0x192)]-0x1],_0x408881=_0x7f3590(0x1dd)==_0x6befd5[_0x7f3590(0x1b7)]?_0x7f3590(0x1e3):_0x7f3590(0x199);_0x33b0c1&&_0x7f3590(0x1c3)==_0x33b0c1[_0x7f3590(0x1b7)]&&(_0x33b0c1[_0x408881]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x423fb0=_0x4704;(function(_0x33271e,_0x2cd312){var _0x408b49=_0x4704,_0x432836=_0x33271e();while(!![]){try{var _0x4aaf87=-parseInt(_0x408b49(0x149))/0x1+parseInt(_0x408b49(0x144))/0x2*(parseInt(_0x408b49(0x13e))/0x3)+parseInt(_0x408b49(0x143))/0x4+parseInt(_0x408b49(0x14c))/0x5*(parseInt(_0x408b49(0x14a))/0x6)+-parseInt(_0x408b49(0x147))/0x7+-parseInt(_0x408b49(0x14f))/0x8*(parseInt(_0x408b49(0x148))/0x9)+parseInt(_0x408b49(0x142))/0xa;if(_0x4aaf87===_0x2cd312)break;else _0x432836['push'](_0x432836['shift']());}catch(_0x2ddce1){_0x432836['push'](_0x432836['shift']());}}}(_0x2ca0,0x8593e));import{Plugin as _0x373b3b}from'ckeditor5/src/core.js';import _0x1c856d from'./trackchangesui.js';function _0x4704(_0x10d09a,_0x39e08c){var _0x2ca034=_0x2ca0();return _0x4704=function(_0x470460,_0x59ee40){_0x470460=_0x470460-0x13a;var _0x17bcba=_0x2ca034[_0x470460];return _0x17bcba;},_0x4704(_0x10d09a,_0x39e08c);}import _0x524786 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x373b3b{static get[_0x423fb0(0x14e)](){var _0x4d5ae2=_0x423fb0;return[_0x524786,_0x1c856d,_0x4d5ae2(0x13b)];}static get[_0x423fb0(0x145)](){var _0x32757e=_0x423fb0;return _0x32757e(0x13d);}set[_0x423fb0(0x13a)](_0x4c816e){var _0x55fbfb=_0x423fb0;this[_0x55fbfb(0x13c)][_0x55fbfb(0x14b)][_0x55fbfb(0x146)](_0x524786)[_0x55fbfb(0x13a)]=_0x4c816e;}get[_0x423fb0(0x13a)](){var _0x34d2fa=_0x423fb0;return this[_0x34d2fa(0x13c)][_0x34d2fa(0x14b)][_0x34d2fa(0x146)](_0x524786)[_0x34d2fa(0x13a)];}[_0x423fb0(0x13f)](_0x40e357){var _0x343e92=_0x423fb0;return this[_0x343e92(0x13c)][_0x343e92(0x14b)][_0x343e92(0x146)](_0x524786)[_0x343e92(0x140)](_0x40e357);}[_0x423fb0(0x14d)]({skipNotAttached:_0x49d118=!0x1,toJSON:_0x32619b=!0x1}={}){var _0x5ee155=_0x423fb0;return this[_0x5ee155(0x13c)][_0x5ee155(0x14b)][_0x5ee155(0x146)](_0x524786)[_0x5ee155(0x14d)]({'skipNotAttached':_0x49d118,'toJSON':_0x32619b});}[_0x423fb0(0x141)](_0x17366a){var _0x590d11=_0x423fb0;return this[_0x590d11(0x13c)][_0x590d11(0x14b)][_0x590d11(0x146)](_0x524786)[_0x590d11(0x141)](_0x17366a);}}function _0x2ca0(){var _0x3bc453=['2226259WMETNc','6111XFsycW','488841TxJoAl','5330652dVITbB','plugins','5ODGwuM','getSuggestions','requires','6056XIyaQX','adapter','Comments','editor','TrackChanges','36921rqdxjj','addSuggestion','addSuggestionData','getSuggestion','3704660oSiyVN','1304184IUlmIL','46XbAnhT','pluginName','get'];_0x2ca0=function(){return _0x3bc453;};return _0x2ca0();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x44d9(){const _0x4c6850=['useAnonymousUser','5091306jtRsTs','createDocumentFragment','getFullData','TrackChangesData','1594503xWPqlj','_adapter','result','execute','map','editor','track-changes-data-invalid-editor-creator','5xUeFzB','end','Pagination','getCommentThreads','name','requires','826322EOWJjl','appendChild','getDataWithAcceptedSuggestions','CommentsRepository','rootsAttributes','addCommentThread','document','43475SgdOJS','create','div','getDataWithDiscardedSuggestions','editorCreator','config','TrackChangesDataGetter','getUser','addSuggestionData','createElement','pluginName','addUser','780376kbRKga','287776HWrUwq','model','get','init','destroy','set','TrackChangesEditing','data','users','getRootsAttributes','getRootNames','push','1594132RqkGfX','27icaKqk','discardAllSuggestions','define','plugins','Users','function','reduce','acceptAllSuggestions','constructor','getSuggestions','trackChangesData.editorCreator','trackChangesData'];_0x44d9=function(){return _0x4c6850;};return _0x44d9();}const _0x370ea4=_0x4f56;function _0x4f56(_0x5efaef,_0x7ca554){const _0x44d9c0=_0x44d9();return _0x4f56=function(_0x4f56a2,_0x431ddd){_0x4f56a2=_0x4f56a2-0xd2;let _0xd0b185=_0x44d9c0[_0x4f56a2];return _0xd0b185;},_0x4f56(_0x5efaef,_0x7ca554);}(function(_0x4bac02,_0x5824b1){const _0x103c79=_0x4f56,_0xc375e7=_0x4bac02();while(!![]){try{const _0x3632d3=-parseInt(_0x103c79(0x10d))/0x1+parseInt(_0x103c79(0xe7))/0x2+parseInt(_0x103c79(0xf9))/0x3+-parseInt(_0x103c79(0xda))/0x4+parseInt(_0x103c79(0x100))/0x5*(-parseInt(_0x103c79(0xf5))/0x6)+parseInt(_0x103c79(0x106))/0x7+-parseInt(_0x103c79(0xdb))/0x8*(-parseInt(_0x103c79(0xe8))/0x9);if(_0x3632d3===_0x5824b1)break;else _0xc375e7['push'](_0xc375e7['shift']());}catch(_0x403103){_0xc375e7['push'](_0xc375e7['shift']());}}}(_0x44d9,0x721d1));import{Plugin as _0x26f72f}from'ckeditor5/src/core.js';import{CKEditorError as _0xaafaa3}from'ckeditor5/src/utils.js';import _0x325a7f from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4842eb}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x370ea4(0x102)];export default class P extends _0x26f72f{static get[_0x370ea4(0x105)](){return[_0x325a7f];}static get[_0x370ea4(0xd8)](){const _0x3d13e1=_0x370ea4;return _0x3d13e1(0xf8);}[_0x370ea4(0xde)](){const _0x34683f=_0x370ea4,_0x376a9e=this[_0x34683f(0xfe)];if(_0x376a9e[_0x34683f(0xd3)][_0x34683f(0xea)](_0x34683f(0xf2),_0x251f8f=>{const _0x506920=_0x34683f,_0x14eec9=_0x376a9e[_0x506920(0xdc)][_0x506920(0x10c)][_0x506920(0xe5)]()[_0x506920(0xee)]((_0x239453,_0x2e0265)=>(_0x239453[_0x2e0265]='',_0x239453),{});return _0x376a9e[_0x506920(0xf0)][_0x506920(0x10e)](_0x14eec9,_0x251f8f);}),_0x34683f(0xed)!=typeof _0x376a9e[_0x34683f(0xd3)][_0x34683f(0xdd)](_0x34683f(0xf3))[_0x34683f(0xd2)])throw new _0xaafaa3(_0x34683f(0xff));}[_0x370ea4(0x108)](_0x139656){const _0x5982da=_0x370ea4;return N(this[_0x5982da(0xfe)],!0x0,_0x139656);}[_0x370ea4(0x110)](_0x466dd2){const _0x27b0b4=_0x370ea4;return N(this[_0x27b0b4(0xfe)],!0x1,_0x466dd2);}}class D extends _0x26f72f{static get[_0x370ea4(0xd8)](){const _0x5ae02b=_0x370ea4;return _0x5ae02b(0xd4);}constructor(_0x105459){const _0x1b74e2=_0x370ea4;super(_0x105459),this[_0x1b74e2(0xfb)]=_0x1b74e2(0x101);}[_0x370ea4(0xde)](){const _0x2a472f=_0x370ea4;this[_0x2a472f(0xfe)][_0x2a472f(0xeb)][_0x2a472f(0xdd)](_0x2a472f(0x109))[_0x2a472f(0xfa)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x2a472f(0xfe)][_0x2a472f(0xeb)][_0x2a472f(0xdd)](_0x2a472f(0xe1))[_0x2a472f(0xfa)]=null;}}function v(_0x16c7a6){const _0x59e3bc=_0x370ea4;return void 0x0!==_0x16c7a6[_0x59e3bc(0xe4)];}async function N(_0x59d59a,_0x1a1fd3,_0x36f8bf){const _0x3c461e=_0x370ea4,_0x25649a=_0x4842eb(_0x59d59a,T);_0x25649a[_0x3c461e(0xeb)][_0x3c461e(0xe6)](_0x325a7f,D),_0x25649a[_0x3c461e(0x10a)]=v(_0x59d59a)?_0x59d59a[_0x3c461e(0xe4)]():void 0x0;const _0x23422c=document[_0x3c461e(0xf6)](),_0x281acd=_0x59d59a[_0x3c461e(0xd3)][_0x3c461e(0xdd)](_0x3c461e(0xf3))[_0x3c461e(0xd2)],_0x2259ec=await _0x281acd(_0x25649a,()=>function(_0x368a5f){const _0x5bf57d=_0x3c461e,_0x1e0edc=document[_0x5bf57d(0xd7)](_0x5bf57d(0x10f));return _0x368a5f[_0x5bf57d(0x107)](_0x1e0edc),_0x1e0edc;}(_0x23422c));!function(_0x55ccea,_0x1f394c){const _0x171303=_0x3c461e,_0x56f215=_0x55ccea[_0x171303(0xdc)][_0x171303(0x10c)][_0x171303(0xe5)]()[_0x171303(0xee)]((_0x19cc32,_0x4485a9)=>(_0x19cc32[_0x4485a9]=_0x55ccea[_0x171303(0xe2)][_0x171303(0xdd)]({'rootName':_0x4485a9}),_0x19cc32),{}),_0x285b44=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xec))[_0x171303(0xe3)][_0x171303(0xfd)](_0x446d9e=>({'id':_0x446d9e['id'],'name':_0x446d9e[_0x171303(0x104)]})),_0x1ab54a=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xe1))[_0x171303(0xf1)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x52f37f=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0x109))[_0x171303(0x103)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x6e46ea=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xec)),_0x11eb23=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xe1)),_0x2694c0=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0x109));for(const _0x19eef8 of _0x285b44)_0x6e46ea[_0x171303(0xd5)](_0x19eef8['id'])||_0x6e46ea[_0x171303(0xd9)](_0x19eef8);_0x6e46ea['me']||_0x6e46ea[_0x171303(0xf4)]();for(const _0x184e2b of _0x52f37f)_0x2694c0[_0x171303(0x10b)](_0x184e2b);for(const _0x2ff28e of _0x1ab54a)_0x11eb23[_0x171303(0xd6)](_0x2ff28e);_0x1f394c[_0x171303(0xe2)][_0x171303(0xe0)](_0x56f215);}(_0x59d59a,_0x2259ec),_0x2259ec[_0x3c461e(0xfc)](_0x1a1fd3?_0x3c461e(0xef):_0x3c461e(0xe9));const _0x4e957d=v(_0x2259ec)?_0x2259ec[_0x3c461e(0xf7)](_0x36f8bf):_0x2259ec[_0x3c461e(0xe2)][_0x3c461e(0xdd)](_0x36f8bf);return await _0x2259ec[_0x3c461e(0xdf)](),_0x4e957d;}
|