@ckeditor/ckeditor5-track-changes 41.4.2 → 42.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x5eab0c=_0x2ae4;function _0x2ae4(_0x1e0baf,_0x5ce3d1){const _0x11a9b8=_0x11a9();return _0x2ae4=function(_0x2ae43a,_0x4d9ba1){_0x2ae43a=_0x2ae43a-0x1da;let _0x1f6fb4=_0x11a9b8[_0x2ae43a];return _0x1f6fb4;},_0x2ae4(_0x1e0baf,_0x5ce3d1);}(function(_0x141bec,_0x22234a){const _0x8dc2ed=_0x2ae4,_0x597a18=_0x141bec();while(!![]){try{const _0x467b56=parseInt(_0x8dc2ed(0x1e8))/0x1+-parseInt(_0x8dc2ed(0x228))/0x2+parseInt(_0x8dc2ed(0x1fe))/0x3+parseInt(_0x8dc2ed(0x213))/0x4*(parseInt(_0x8dc2ed(0x230))/0x5)+-parseInt(_0x8dc2ed(0x1fa))/0x6*(-parseInt(_0x8dc2ed(0x1e1))/0x7)+parseInt(_0x8dc2ed(0x1f4))/0x8+parseInt(_0x8dc2ed(0x1dd))/0x9*(-parseInt(_0x8dc2ed(0x1da))/0xa);if(_0x467b56===_0x22234a)break;else _0x597a18['push'](_0x597a18['shift']());}catch(_0x383b87){_0x597a18['push'](_0x597a18['shift']());}}}(_0x11a9,0x5b4d1));import{Plugin as _0x10947}from'ckeditor5/src/core.js';function _0x11a9(){const _0x1f991f=['selection','getAncestors','filter','1552496NUOoaJ','push','markBlockFormat','setSelection','trackChanges','descriptionFactory','36kYDoMI','_areSelectedCellsMergable','requires','markMultiRangeBlockFormat','1861503QVdHjB','has','return','direction','deletion','editor','_tablePostFixingSubtypes','isInContent','*Split\x20cell:*\x20horizontally','element','get','registerCustomCallback','change','TableEditing','length','subType','root','cell','refresh','fromRange','value','589188CRMWEb','enableCommand','highest','mergeTableCellLeft','find','table','mergeTableCellDown','createRangeOn','*Merge\x20cells*','model','getSuggestions','mergeTableCells','format','commands','rootName','insertion','mergeTableCellRight','from','map','horizontally','findAncestor','209096krpaWx','afterInit','createTableWalker','mergeTableCellUp','_areMergableCells','low','author','detach','20ZXtUzK','accept','TrackChangesEditing','tableCell','getCellLocation','getSelectionAffectedTableCells','containsRange','plugins','set:isEnabled','_suggestionFactory','$graveyard','*Split\x20cell:*\x20vertically','execute','80lRYjlb','_isForcedDefaultExecutionBlock','stop','1803843lLPahQ','type','splitTableCellVertically','isEnabled','708267OwTLZY','registerDescriptionCallback','_acceptFormatSuggestionCallbackFactory','size','add','commandName','document','71096zXvVfu','splitTableCellHorizontally','forceDefaultExecution','getRanges','formatBlock','locale','formatInline','getFirstPosition','TableUtils'];_0x11a9=function(){return _0x1f991f;};return _0x11a9();}import _0x12728c from'./table.js';import{LiveRange as _0xc11c77}from'ckeditor5/src/engine.js';import{getTranslation as _0x2d830a}from'../utils/common-translations.js';export default class St extends _0x10947{static get[_0x5eab0c(0x1fc)](){return[_0x12728c];}[_0x5eab0c(0x229)](){const _0x27ad17=_0x5eab0c,_0x4a5129=this[_0x27ad17(0x203)],_0x54a7cd=_0x4a5129[_0x27ad17(0x21c)][_0x27ad17(0x1e7)][_0x27ad17(0x1f1)],_0x453b39=_0x4a5129[_0x27ad17(0x1ed)];if(!_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x1ff)](_0x27ad17(0x20b)))return;const _0x563eee=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x232)),_0x47cf75=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x1f0)),_0x82b3ea=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x12728c);_0x82b3ea[_0x27ad17(0x204)][_0x27ad17(0x1f5)](_0x27ad17(0x21e)),_0x563eee[_0x27ad17(0x214)](_0x27ad17(0x21e),()=>{const _0x1b9366=_0x27ad17,_0x3a2178=_0x47cf75[_0x1b9366(0x235)](_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x1e7)][_0x1b9366(0x1f1)]);_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x20a)](()=>{const _0x54aa82=_0x1b9366;_0x563eee[_0x54aa82(0x1fd)](_0x3a2178,{'commandName':_0x54aa82(0x21e),'commandParams':[]},[],_0x54aa82(0x21e));});}),_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x27ad17(0x21e))['on'](_0x27ad17(0x23c),(_0x25f513,_0x50ddae)=>{const _0x469429=_0x27ad17;_0x4a5129[_0x469429(0x220)][_0x469429(0x208)](_0x469429(0x1f8))[_0x469429(0x212)]&&(_0x50ddae[_0x469429(0x20c)]>0x0&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1]&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1][_0x469429(0x1ea)]||_0x563eee[_0x469429(0x1db)]||this[_0x469429(0x1fb)]()||_0x25f513[_0x469429(0x1dc)]());},{'priority':_0x27ad17(0x215)});for(const _0x54bcd2 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)]){const _0x286af7=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x54bcd2);_0x563eee[_0x27ad17(0x214)](_0x54bcd2,()=>{const _0x2d2c4f=_0x27ad17,_0x1d3bd0=_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x1e7)][_0x2d2c4f(0x1f1)][_0x2d2c4f(0x1ef)]()[_0x2d2c4f(0x1f2)]()[_0x2d2c4f(0x217)](_0x387a02=>_0x387a02['is'](_0x2d2c4f(0x207),_0x2d2c4f(0x233))),_0x55d6c6=_0x286af7[_0x2d2c4f(0x212)];_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x20a)](()=>{const _0x478aaa=_0x2d2c4f;_0x563eee[_0x478aaa(0x1fd)]([_0x1d3bd0,_0x55d6c6],{'commandName':_0x478aaa(0x21e),'commandParams':[]},[],_0x478aaa(0x21e));});});}for(const _0x38bdc2 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)]){const _0x172f0e=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x38bdc2);_0x563eee[_0x27ad17(0x214)](_0x38bdc2,()=>{const _0x4e532c=_0x27ad17,_0x524d1e=_0x47cf75[_0x4e532c(0x235)](_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x1e7)][_0x4e532c(0x1f1)])[0x0],_0x4852e3=_0x524d1e[_0x4e532c(0x227)](_0x4e532c(0x218)),{column:_0x15f1fd,row:_0x179eab}=_0x47cf75[_0x4e532c(0x234)](_0x524d1e);let _0x429b39=[];if(_0x4e532c(0x226)==_0x172f0e[_0x4e532c(0x201)]){const _0x3f9542=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'startRow':_0x179eab,'endRow':_0x179eab,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x3f9542)[_0x4e532c(0x225)](_0x1cfe62=>_0x1cfe62[_0x4e532c(0x20f)]);}else{const _0x181caa=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'column':_0x15f1fd,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x181caa)[_0x4e532c(0x225)](_0x38060e=>_0x38060e[_0x4e532c(0x20f)]);}_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x20a)](_0x44e3e9=>{const _0x6e97c8=_0x4e532c;_0x563eee[_0x6e97c8(0x1f6)](_0x44e3e9[_0x6e97c8(0x21a)](_0x524d1e),{'commandName':_0x38bdc2,'commandParams':[]},_0x429b39,_0x38bdc2);});});}_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x28c624=>{const _0x352eef=_0x27ad17;if(_0x352eef(0x1ec)!=_0x28c624[_0x352eef(0x1de)]&&_0x352eef(0x1ee)!=_0x28c624[_0x352eef(0x1de)])return;const {data:_0x395667}=_0x28c624;return _0x395667&&_0x352eef(0x21e)==_0x395667[_0x352eef(0x1e6)]?{'type':_0x352eef(0x21f),'content':_0x2d830a(_0x453b39,_0x352eef(0x21b))}:void 0x0;}),_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x25d5f4=>{const _0x5e9c14=_0x27ad17;if(_0x5e9c14(0x1ec)!=_0x25d5f4[_0x5e9c14(0x1de)]&&_0x5e9c14(0x1ee)!=_0x25d5f4[_0x5e9c14(0x1de)])return;const {data:_0x20589a}=_0x25d5f4;return _0x20589a?_0x5e9c14(0x1df)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x23b))}:_0x5e9c14(0x1e9)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x206))}:void 0x0:void 0x0;});const _0x4ad6aa=_0x82b3ea[_0x27ad17(0x1e3)]();for(const _0x14a7c9 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x14a7c9,_0x27ad17(0x231),_0x4ad6aa);for(const _0x2c92b8 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x2c92b8,_0x27ad17(0x231),_0x4ad6aa);_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x27ad17(0x21e),_0x27ad17(0x231),_0x5cc0ef=>{const _0x43993a=_0x27ad17;_0x4a5129[_0x43993a(0x21c)][_0x43993a(0x20a)](_0x5e036f=>{const _0x32ebcc=_0x43993a,_0x417fd9=Array[_0x32ebcc(0x224)](_0x54a7cd[_0x32ebcc(0x1eb)]())[_0x32ebcc(0x225)](_0x44e319=>_0xc11c77[_0x32ebcc(0x211)](_0x44e319));_0x5e036f[_0x32ebcc(0x1f7)](_0x5cc0ef),_0x4a5129[_0x32ebcc(0x220)][_0x32ebcc(0x208)](_0x32ebcc(0x21e))[_0x32ebcc(0x210)](),_0x4a5129[_0x32ebcc(0x23c)](_0x32ebcc(0x21e),{'forceDefaultExecution':!0x0});const _0x5208de=_0x417fd9[_0x32ebcc(0x1f3)](_0xd8239c=>_0x32ebcc(0x23a)!=_0xd8239c[_0x32ebcc(0x20e)][_0x32ebcc(0x221)]);_0x5208de[_0x32ebcc(0x20c)]>0x0&&_0x5e036f[_0x32ebcc(0x1f7)](_0x5208de);for(const _0x511513 of _0x417fd9)_0x511513[_0x32ebcc(0x22f)]();});});for(const _0x1d3810 of[_0x27ad17(0x22b),_0x27ad17(0x219),_0x27ad17(0x216),_0x27ad17(0x223)]){const _0x242667=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x1d3810);_0x242667['on'](_0x27ad17(0x238),(_0x5c7c55,_0x1ea96c,_0x52775a)=>{const _0x406de8=_0x27ad17;if(_0x52775a){const _0x178bc2=_0x4a5129[_0x406de8(0x21c)][_0x406de8(0x1e7)][_0x406de8(0x1f1)][_0x406de8(0x1ef)]()[_0x406de8(0x1f2)]()[_0x406de8(0x217)](_0x21e475=>_0x21e475['is'](_0x406de8(0x207),_0x406de8(0x233)));this[_0x406de8(0x22c)](_0x242667[_0x406de8(0x212)],_0x178bc2)||(_0x5c7c55[_0x406de8(0x200)]=!0x1,_0x5c7c55[_0x406de8(0x1dc)]());}},{'priority':_0x27ad17(0x22d)});}}[_0x5eab0c(0x1fb)](){const _0x5b6694=_0x5eab0c,_0x5e6826=this[_0x5b6694(0x203)][_0x5b6694(0x220)][_0x5b6694(0x208)](_0x5b6694(0x21e)),_0x2916ff=this[_0x5b6694(0x203)][_0x5b6694(0x237)][_0x5b6694(0x208)](_0x5b6694(0x1f0));if(!_0x5e6826[_0x5b6694(0x1e0)])return!0x1;const _0x33b917=_0x2916ff[_0x5b6694(0x235)](this[_0x5b6694(0x203)][_0x5b6694(0x21c)][_0x5b6694(0x1e7)][_0x5b6694(0x1f1)]);for(const _0x5f12b1 of _0x33b917)for(const _0x856ed4 of _0x33b917)if(_0x5f12b1!=_0x856ed4&&!this[_0x5b6694(0x22c)](_0x5f12b1,_0x856ed4))return!0x1;return!0x0;}[_0x5eab0c(0x22c)](_0x38af02,_0x40fcc7){const _0x47d694=_0x5eab0c,_0x16e72d=this[_0x47d694(0x203)][_0x47d694(0x237)][_0x47d694(0x208)](_0x47d694(0x232)),_0x283d91=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x38af02),_0x37de38=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x40fcc7),_0x59ae31=new Set(),_0x168668=new Set();for(const _0x18e32f of _0x16e72d[_0x47d694(0x21d)]())if((_0x47d694(0x222)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x202)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x21e)==_0x18e32f[_0x47d694(0x20d)])&&_0x18e32f[_0x47d694(0x205)]){for(const _0x44febe of _0x18e32f[_0x47d694(0x1eb)]())_0x44febe[_0x47d694(0x236)](_0x283d91,!0x0)&&_0x59ae31[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']),_0x44febe[_0x47d694(0x236)](_0x37de38,!0x0)&&_0x168668[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']);}if(_0x59ae31[_0x47d694(0x1e4)]!=_0x168668[_0x47d694(0x1e4)])return!0x1;for(const _0x49b85e of _0x59ae31)if(!_0x168668[_0x47d694(0x1ff)](_0x49b85e))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x13b630=_0x1c62;function _0x5f43(){const _0x447e84=['181624tSpVez','commands','plugins','70192fDsTcY','descriptionFactory','locale','afterInit','7482trIVkX','tableOfContents','1367658XQEIfX','insertTableOfContents','ELEMENT_TABLE_OF_CONTENTS','150sjEPeq','430740VrCxvk','registerElementLabel','get','editor','143430IbRymE','112jrxTMK','enableCommand','245vMCHVB','TrackChangesEditing','15044UcdgjA'];_0x5f43=function(){return _0x447e84;};return _0x5f43();}(function(_0x268d67,_0x393e97){const _0x647473=_0x1c62,_0x4dd3e4=_0x268d67();while(!![]){try{const _0x44b336=parseInt(_0x647473(0x18f))/0x1+-parseInt(_0x647473(0x184))/0x2*(parseInt(_0x647473(0x17f))/0x3)+parseInt(_0x647473(0x18e))/0x4*(-parseInt(_0x647473(0x18c))/0x5)+parseInt(_0x647473(0x189))/0x6+-parseInt(_0x647473(0x18a))/0x7*(-parseInt(_0x647473(0x17b))/0x8)+parseInt(_0x647473(0x181))/0x9+parseInt(_0x647473(0x185))/0xa;if(_0x44b336===_0x393e97)break;else _0x4dd3e4['push'](_0x4dd3e4['shift']());}catch(_0x283d7a){_0x4dd3e4['push'](_0x4dd3e4['shift']());}}}(_0x5f43,0x2968a));import{Plugin as _0x2127f6}from'ckeditor5/src/core.js';function _0x1c62(_0x1c0893,_0x470792){const _0x5f437d=_0x5f43();return _0x1c62=function(_0x1c62ca,_0x126b11){_0x1c62ca=_0x1c62ca-0x179;let _0x8ad11f=_0x5f437d[_0x1c62ca];return _0x8ad11f;},_0x1c62(_0x1c0893,_0x470792);}import{getTranslation as _0x3a5b93}from'../utils/common-translations.js';export default class _t extends _0x2127f6{[_0x13b630(0x17e)](){const _0x37a725=_0x13b630,_0x5743b1=this[_0x37a725(0x188)];if(!_0x5743b1[_0x37a725(0x179)][_0x37a725(0x187)](_0x37a725(0x182)))return;_0x5743b1[_0x37a725(0x17a)][_0x37a725(0x187)](_0x37a725(0x18d))[_0x37a725(0x18b)](_0x37a725(0x182));const _0x3aaef7=_0x5743b1[_0x37a725(0x17a)][_0x37a725(0x187)](_0x37a725(0x18d)),_0x2119c7=_0x5743b1[_0x37a725(0x17d)];_0x3aaef7[_0x37a725(0x17c)][_0x37a725(0x186)](_0x37a725(0x180),_0x1fea5a=>_0x3a5b93(_0x2119c7,_0x37a725(0x183),_0x1fea5a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41439b=_0xc8b5;function _0x1751(){const _0x395b41=['plugins','*Format:*\x20change\x20table\x20cell\x20properties','table','format','start','removeAttribute','pluginName','has','TableUtils','595906GWoYVw','2kMpIre','tableCellHorizontalAlignment','*Format:*\x20change\x20table\x20properties','setAttribute','14549810hTMDWB','descriptionFactory','TablePropertiesEditing','getContainedElement','selection','2072256tIygaN','getSuggestions','_handlePropertyChange','5UHQLFB','markBlockFormat','4393592VhUmDc','formatBlock','tableBackgroundColor','TrackChangesEditing','tableCellBorderStyle','tableAlignment','getSelectionAffectedTableCells','document','editor','getFirstPosition','1404412afgAGC','tableCellProperties','data','join','locale','model','change','handleSuggestionDescription','tableWidth','tableBorderWidth','tableHeight','9389592jZecGB','batch','findAncestor','TrackChangesTableProperties','TableCellPropertiesEditing','get','discard','handleDiscardAction','8ECPREY','subType','tableBorderStyle','accept','tableCellWidth','tableCellHeight','tableCellBorderWidth','tableProperties','tableBorderColor','afterInit','2927088GiTEwj','_suggestionFactory','getAttribute','_getSuggestion','registerCustomCallback','tableCellPadding','nodeAfter','tableCellVerticalAlignment','registerDescriptionCallback','tableCellBackgroundColor','commandParams','tableCellBorderColor','enableCommand','enqueueChange','getSuggestionCallback'];_0x1751=function(){return _0x395b41;};return _0x1751();}(function(_0x1ee4ca,_0x1d459e){const _0x4bc644=_0xc8b5,_0x10d3b4=_0x1ee4ca();while(!![]){try{const _0x30748d=-parseInt(_0x4bc644(0x19e))/0x1*(parseInt(_0x4bc644(0x19f))/0x2)+parseInt(_0x4bc644(0x186))/0x3+-parseInt(_0x4bc644(0x1b7))/0x4+parseInt(_0x4bc644(0x1ab))/0x5*(parseInt(_0x4bc644(0x1a8))/0x6)+parseInt(_0x4bc644(0x1ad))/0x7*(parseInt(_0x4bc644(0x17c))/0x8)+parseInt(_0x4bc644(0x174))/0x9+-parseInt(_0x4bc644(0x1a3))/0xa;if(_0x30748d===_0x1d459e)break;else _0x10d3b4['push'](_0x10d3b4['shift']());}catch(_0xd7fc00){_0x10d3b4['push'](_0x10d3b4['shift']());}}}(_0x1751,0x900ca));import{Plugin as _0x1cfbe6}from'ckeditor5/src/core.js';import{getTranslation as _0x316119}from'../utils/common-translations.js';function _0xc8b5(_0x5a9073,_0x5a1693){const _0x1751f6=_0x1751();return _0xc8b5=function(_0xc8b584,_0x962b6f){_0xc8b584=_0xc8b584-0x16c;let _0x3a7e2d=_0x1751f6[_0xc8b584];return _0x3a7e2d;},_0xc8b5(_0x5a9073,_0x5a1693);}export default class $t extends _0x1cfbe6{constructor(_0x29b53f){const _0x42979d=_0xc8b5;super(_0x29b53f),this[_0x42979d(0x183)]=[_0x42979d(0x184),_0x42979d(0x17e),_0x42979d(0x172),_0x42979d(0x1b2),_0x42979d(0x171),_0x42979d(0x173),_0x42979d(0x1af)],this[_0x42979d(0x1b8)]=[_0x42979d(0x191),_0x42979d(0x1b1),_0x42979d(0x182),_0x42979d(0x18b),_0x42979d(0x180),_0x42979d(0x181),_0x42979d(0x18f),_0x42979d(0x1a0),_0x42979d(0x18d)];}static get[_0x41439b(0x19b)](){const _0x15ac13=_0x41439b;return _0x15ac13(0x177);}[_0x41439b(0x185)](){const _0x4b4dd8=_0x41439b,_0x5aca5b=this[_0x4b4dd8(0x1b5)][_0x4b4dd8(0x195)][_0x4b4dd8(0x179)](_0x4b4dd8(0x1b0));if(this[_0x4b4dd8(0x1b5)][_0x4b4dd8(0x195)][_0x4b4dd8(0x19c)](_0x4b4dd8(0x1a5))){for(const _0x17a8ad of this[_0x4b4dd8(0x183)])_0x5aca5b[_0x4b4dd8(0x192)](_0x17a8ad,(_0xc8f328,_0x2612db)=>{const _0x4dc36c=_0x4b4dd8,_0x8411e4=this[_0x4dc36c(0x1b5)][_0x4dc36c(0x16e)][_0x4dc36c(0x1b4)][_0x4dc36c(0x1a7)][_0x4dc36c(0x1b6)]()[_0x4dc36c(0x176)](_0x4dc36c(0x197));this[_0x4dc36c(0x1aa)](_0x17a8ad,[_0x8411e4],this[_0x4dc36c(0x183)],_0x4dc36c(0x183),_0xc8f328,_0x2612db);});_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x183),_0x4b4dd8(0x17f),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x194)](_0x4b4dd8(0x1ae),null,_0x4b4dd8(0x17a))),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x183),_0x4b4dd8(0x17a),(_0x45625c,_0x203936)=>this[_0x4b4dd8(0x17b)](this[_0x4b4dd8(0x183)],_0x45625c,_0x203936)),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x183),_0x4b4dd8(0x16c),()=>!0x1);}if(this[_0x4b4dd8(0x1b5)][_0x4b4dd8(0x195)][_0x4b4dd8(0x19c)](_0x4b4dd8(0x178))){for(const _0x4ec840 of this[_0x4b4dd8(0x1b8)])_0x5aca5b[_0x4b4dd8(0x192)](_0x4ec840,(_0x4a4875,_0x1ca7e2)=>{const _0x1301a3=_0x4b4dd8,_0x223400=this[_0x1301a3(0x1b5)][_0x1301a3(0x195)][_0x1301a3(0x179)](_0x1301a3(0x19d))[_0x1301a3(0x1b3)](this[_0x1301a3(0x1b5)][_0x1301a3(0x16e)][_0x1301a3(0x1b4)][_0x1301a3(0x1a7)]);this[_0x1301a3(0x1aa)](_0x4ec840,_0x223400,this[_0x1301a3(0x1b8)],_0x1301a3(0x1b8),_0x4a4875,_0x1ca7e2);});_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x1b8),_0x4b4dd8(0x17f),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x194)](_0x4b4dd8(0x1ae),null,_0x4b4dd8(0x17a))),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x1b8),_0x4b4dd8(0x17a),(_0x8c2e65,_0x29c294)=>this[_0x4b4dd8(0x17b)](this[_0x4b4dd8(0x1b8)],_0x8c2e65,_0x29c294)),_0x5aca5b[_0x4b4dd8(0x187)][_0x4b4dd8(0x18a)](_0x4b4dd8(0x1ae),_0x4b4dd8(0x1b8),_0x4b4dd8(0x16c),()=>!0x1);}_0x5aca5b[_0x4b4dd8(0x1a4)][_0x4b4dd8(0x18e)](_0x45e507=>this[_0x4b4dd8(0x170)](_0x45e507));}[_0x41439b(0x1aa)](_0x17c1c7,_0x15b4ac,_0x46802b,_0x3147aa,_0x81ffd,_0x7a5962){const _0x3af099=_0x41439b,_0x28fa0a=this[_0x3af099(0x1b5)][_0x3af099(0x195)][_0x3af099(0x179)](_0x3af099(0x1b0));this[_0x3af099(0x1b5)][_0x3af099(0x16e)][_0x3af099(0x193)](_0x7a5962[_0x3af099(0x175)],()=>{const _0x5d7f4a=_0x3af099;for(const _0x945b24 of _0x15b4ac){if(this[_0x5d7f4a(0x189)](_0x945b24,_0x3147aa))_0x81ffd(_0x7a5962);else{const _0x208dc7={};for(const _0x2bb05d of _0x46802b){const _0x2573e3=_0x945b24[_0x5d7f4a(0x188)](_0x2bb05d);void 0x0!==_0x2573e3&&(_0x208dc7[_0x2bb05d]=_0x2573e3);}_0x81ffd(_0x7a5962),_0x28fa0a[_0x5d7f4a(0x1ac)](_0x945b24,{'commandParams':[_0x208dc7]},[],_0x3147aa);}}});}[_0x41439b(0x17b)](_0x1cfe03,_0x525d67,_0xffbf0a){const _0x1cfc3a=_0x41439b,_0x1ae1ec=_0x525d67[0x0][_0x1cfc3a(0x199)][_0x1cfc3a(0x18c)],_0x56a90d=_0xffbf0a[_0x1cfc3a(0x190)][0x0];this[_0x1cfc3a(0x1b5)][_0x1cfc3a(0x16e)][_0x1cfc3a(0x16f)](_0x5b0ab5=>{const _0x3f63eb=_0x1cfc3a;for(const _0x5d0b41 of _0x1cfe03)void 0x0!==_0x56a90d[_0x5d0b41]?_0x5b0ab5[_0x3f63eb(0x1a2)](_0x5d0b41,_0x56a90d[_0x5d0b41],_0x1ae1ec):_0x5b0ab5[_0x3f63eb(0x19a)](_0x5d0b41,_0x1ae1ec);});}[_0x41439b(0x170)](_0x1e41e8){const _0x13aa40=_0x41439b;if(_0x1e41e8[_0x13aa40(0x1b9)])switch(_0x1e41e8[_0x13aa40(0x17d)]){case _0x13aa40(0x183):return{'type':_0x13aa40(0x198),'content':_0x316119(this[_0x13aa40(0x1b5)][_0x13aa40(0x16d)],_0x13aa40(0x1a1))};case _0x13aa40(0x1b8):return{'type':_0x13aa40(0x198),'content':_0x316119(this[_0x13aa40(0x1b5)][_0x13aa40(0x16d)],_0x13aa40(0x196))};}}[_0x41439b(0x189)](_0x5f5658,_0x43eae0){const _0x48dc0d=_0x41439b,_0x4b3064=this[_0x48dc0d(0x1b5)][_0x48dc0d(0x195)][_0x48dc0d(0x179)](_0x48dc0d(0x1b0));for(const _0x4efdca of _0x4b3064[_0x48dc0d(0x1a9)]({'skipNotAttached':!0x0})){const _0x566224=_0x4efdca[_0x48dc0d(0x1a6)]();if(_0x4efdca[_0x48dc0d(0x17d)]===_0x43eae0&&_0x566224===_0x5f5658)return _0x4efdca;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b6186=_0x239c;(function(_0x43cff7,_0x489f00){const _0x2c1857=_0x239c,_0x5e62ed=_0x43cff7();while(!![]){try{const _0x47e44e=parseInt(_0x2c1857(0x9a))/0x1*(-parseInt(_0x2c1857(0x8a))/0x2)+-parseInt(_0x2c1857(0x8e))/0x3*(parseInt(_0x2c1857(0x97))/0x4)+parseInt(_0x2c1857(0x8c))/0x5*(-parseInt(_0x2c1857(0x94))/0x6)+-parseInt(_0x2c1857(0x93))/0x7+-parseInt(_0x2c1857(0x9c))/0x8+-parseInt(_0x2c1857(0x8d))/0x9*(-parseInt(_0x2c1857(0x9d))/0xa)+parseInt(_0x2c1857(0x99))/0xb;if(_0x47e44e===_0x489f00)break;else _0x5e62ed['push'](_0x5e62ed['shift']());}catch(_0x1a46be){_0x5e62ed['push'](_0x5e62ed['shift']());}}}(_0x1cf7,0x904ec));import{Plugin as _0x453b7b}from'ckeditor5/src/core.js';export default class Ct extends _0x453b7b{[_0x1b6186(0x8b)](){const _0x12602e=_0x1b6186,_0x513290=this[_0x12602e(0x96)];_0x513290[_0x12602e(0x9b)][_0x12602e(0x8f)](_0x12602e(0x90))&&_0x513290[_0x12602e(0x9b)][_0x12602e(0x91)](_0x12602e(0x92))[_0x12602e(0x95)](_0x12602e(0x98));}}function _0x239c(_0xba1400,_0x5b6785){const _0x1cf758=_0x1cf7();return _0x239c=function(_0x239cdf,_0x276948){_0x239cdf=_0x239cdf-0x8a;let _0x10b45f=_0x1cf758[_0x239cdf];return _0x10b45f;},_0x239c(_0xba1400,_0x5b6785);}function _0x1cf7(){const _0x16b8de=['has','Template','get','TrackChangesEditing','7851277dvsdqt','12GKrVUS','enableCommand','editor','36YCekxk','insertTemplate','21065308ehawag','75121zyCptX','plugins','2121928CGEcSt','11640Rcvlvk','12VxfKvP','afterInit','623345JTULxY','7902OaSFbx','86340riyBjy'];_0x1cf7=function(){return _0x16b8de;};return _0x1cf7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x143ad6=_0x3f76;(function(_0x1240ff,_0x3f18e3){const _0x570c00=_0x3f76,_0x325e7c=_0x1240ff();while(!![]){try{const _0x2ce25d=-parseInt(_0x570c00(0x1a4))/0x1*(-parseInt(_0x570c00(0x1a0))/0x2)+-parseInt(_0x570c00(0x19e))/0x3*(parseInt(_0x570c00(0x1b6))/0x4)+-parseInt(_0x570c00(0x19f))/0x5*(parseInt(_0x570c00(0x18d))/0x6)+parseInt(_0x570c00(0x1a8))/0x7*(parseInt(_0x570c00(0x18e))/0x8)+parseInt(_0x570c00(0x197))/0x9+-parseInt(_0x570c00(0x196))/0xa+parseInt(_0x570c00(0x1b4))/0xb;if(_0x2ce25d===_0x3f18e3)break;else _0x325e7c['push'](_0x325e7c['shift']());}catch(_0xc6f473){_0x325e7c['push'](_0x325e7c['shift']());}}}(_0x4536,0x56597));import{Plugin as _0x293748}from'ckeditor5/src/core.js';import{getTranslation as _0x4659fe}from'../utils/common-translations.js';function _0x3f76(_0x4395f5,_0x18ee8e){const _0x4536e7=_0x4536();return _0x3f76=function(_0x3f76e5,_0x501d7b){_0x3f76e5=_0x3f76e5-0x18d;let _0x2f1824=_0x4536e7[_0x3f76e5];return _0x2f1824;},_0x3f76(_0x4395f5,_0x18ee8e);}function _0x4536(){const _0x5adb52=['Title','title-content','editor','994kFvSwo','suggestion','updateMarker','ELEMENT_TITLE','plugins','afterInit','createRange','_splitMarkerName','removeMarker','descriptionFactory','has','document','6824180zQTsko','from','701868vmLYls','getChangedMarkers','forward','get','72ZJqvQL','28976EfKmFu','schema','getNearestSelectionRange','isCollapsed','element','nodeBefore','TrackChangesEditing','model','3927260IRDGiK','425727jfpTEd','end','locale','isTouching','differ','registerPostFixer','isEqual','3ebWzSv','139645BFrAFY','2oiHWCV','newRange','registerElementLabel','start','75021yALBWw'];_0x4536=function(){return _0x5adb52;};return _0x4536();}export default class Dt extends _0x293748{[_0x143ad6(0x1ad)](){const _0x554228=_0x143ad6,_0x2f0eba=this[_0x554228(0x1a7)];if(!_0x2f0eba[_0x554228(0x1ac)][_0x554228(0x1b2)](_0x554228(0x1a5)))return;const _0x30bb19=_0x2f0eba[_0x554228(0x1ac)][_0x554228(0x1b9)](_0x554228(0x194));_0x30bb19[_0x554228(0x1b1)][_0x554228(0x1a2)](_0x554228(0x1a6),()=>_0x4659fe(_0x2f0eba[_0x554228(0x199)],_0x554228(0x1ab))),_0x2f0eba[_0x554228(0x195)][_0x554228(0x1b3)][_0x554228(0x19c)](_0x836482=>{const _0x2c83b1=_0x554228;let _0x4e17c0=!0x1;const _0x1c49fa=Array[_0x2c83b1(0x1b5)](_0x2f0eba[_0x2c83b1(0x195)][_0x2c83b1(0x1b3)][_0x2c83b1(0x19b)][_0x2c83b1(0x1b7)]());for(const {name:_0xd0f26,data:_0x25c59}of _0x1c49fa){const {group:_0x4bd912}=_0x30bb19[_0x2c83b1(0x1af)](_0xd0f26);if(_0x2c83b1(0x1a9)!==_0x4bd912||!_0x25c59[_0x2c83b1(0x1a1)])continue;const _0x304f74=_0x25c59[_0x2c83b1(0x1a1)],_0x25b466=_0x304f74[_0x2c83b1(0x198)][_0x2c83b1(0x193)];if(!_0x25b466||!_0x25b466['is'](_0x2c83b1(0x192),_0x2c83b1(0x1a6)))continue;if(!_0x304f74[_0x2c83b1(0x1a3)][_0x2c83b1(0x19a)](_0x304f74[_0x2c83b1(0x198)]))continue;const _0x204ab2=_0x2f0eba[_0x2c83b1(0x195)][_0x2c83b1(0x18f)][_0x2c83b1(0x190)](_0x304f74[_0x2c83b1(0x198)],_0x2c83b1(0x1b8));if(_0x204ab2&&_0x204ab2[_0x2c83b1(0x191)]){const _0x333279=_0x836482[_0x2c83b1(0x1ae)](_0x304f74[_0x2c83b1(0x1a3)],_0x204ab2[_0x2c83b1(0x1a3)]);_0x333279[_0x2c83b1(0x19d)](_0x304f74)||(_0x836482[_0x2c83b1(0x1aa)](_0xd0f26,{'range':_0x333279}),_0x4e17c0=!0x0);}_0x4e17c0||(_0x836482[_0x2c83b1(0x1b0)](_0xd0f26),_0x4e17c0=!0x0);}return _0x4e17c0;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x24aa(_0xc52674,_0xab3b3f){const _0x408704=_0x4087();return _0x24aa=function(_0x24aa4b,_0x2f0ab5){_0x24aa4b=_0x24aa4b-0xc5;let _0x4222fe=_0x408704[_0x24aa4b];return _0x4222fe;},_0x24aa(_0xc52674,_0xab3b3f);}const _0x21e511=_0x24aa;(function(_0x416ef9,_0x1380a8){const _0x57f37b=_0x24aa,_0x3c9be8=_0x416ef9();while(!![]){try{const _0x10cbe1=-parseInt(_0x57f37b(0xcc))/0x1+-parseInt(_0x57f37b(0xca))/0x2+-parseInt(_0x57f37b(0xd1))/0x3*(-parseInt(_0x57f37b(0xd2))/0x4)+-parseInt(_0x57f37b(0xc5))/0x5+-parseInt(_0x57f37b(0xd5))/0x6*(-parseInt(_0x57f37b(0xce))/0x7)+parseInt(_0x57f37b(0xd0))/0x8+parseInt(_0x57f37b(0xd6))/0x9;if(_0x10cbe1===_0x1380a8)break;else _0x3c9be8['push'](_0x3c9be8['shift']());}catch(_0x25430f){_0x3c9be8['push'](_0x3c9be8['shift']());}}}(_0x4087,0x5f312));import{Plugin as _0x4d8a8e}from'ckeditor5/src/core.js';function _0x4087(){const _0x5af203=['2721537ADwcSs','afterInit','3394465QfjkNl','plugins','enableCommand','has','editor','199668nEaGle','get','689876UAQjFZ','UndoEditing','6167abyfNW','redo','5167384QqkSPV','3jKELSj','1610948GoCFrl','undo','TrackChangesEditing','3456zSyRoX'];_0x4087=function(){return _0x5af203;};return _0x4087();}export default class Nt extends _0x4d8a8e{[_0x21e511(0xd7)](){const _0x4a55d4=_0x21e511,_0x40ac64=this[_0x4a55d4(0xc9)],_0x1bc859=_0x40ac64[_0x4a55d4(0xc6)][_0x4a55d4(0xcb)](_0x4a55d4(0xd4));_0x40ac64[_0x4a55d4(0xc6)][_0x4a55d4(0xc8)](_0x4a55d4(0xcd))&&(_0x1bc859[_0x4a55d4(0xc7)](_0x4a55d4(0xd3)),_0x1bc859[_0x4a55d4(0xc7)](_0x4a55d4(0xcf)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3833e1,_0x5ab051){const _0xcc3382=_0xdc87,_0x418f2e=_0x3833e1();while(!![]){try{const _0x4b00dd=-parseInt(_0xcc3382(0x191))/0x1*(parseInt(_0xcc3382(0x182))/0x2)+-parseInt(_0xcc3382(0x18e))/0x3*(parseInt(_0xcc3382(0x197))/0x4)+parseInt(_0xcc3382(0x18a))/0x5+parseInt(_0xcc3382(0x1ae))/0x6*(-parseInt(_0xcc3382(0x198))/0x7)+-parseInt(_0xcc3382(0x17f))/0x8+-parseInt(_0xcc3382(0x186))/0x9*(-parseInt(_0xcc3382(0x195))/0xa)+parseInt(_0xcc3382(0x180))/0xb;if(_0x4b00dd===_0x5ab051)break;else _0x418f2e['push'](_0x418f2e['shift']());}catch(_0x5eb44c){_0x418f2e['push'](_0x418f2e['shift']());}}}(_0x3537,0x82cbc));export function getRangesWithAttribute(_0x16e07b,_0x43e581,_0x16ab1a){const _0x3c3fe8=_0xdc87,_0x50817d=[];for(const _0x159598 of _0x43e581[_0x3c3fe8(0x19c)]())_0x159598[_0x3c3fe8(0x194)](_0x16e07b)&&_0x50817d[_0x3c3fe8(0x19a)](_0x16ab1a[_0x3c3fe8(0x1a1)](_0x159598));return _0x50817d;}function _0x3537(){const _0x377d96=['6XBBWSu','isBlock','TrackChangesEditing','addClass','31545joQhsA','test','addHighlight','plugins','3026330sapNVR','item','getWalker','isLimit','710691RsMJFz','isAtEnd','previousPosition','99407KHyYpG','elementEnd','getCustomProperty','hasAttribute','450BmMNsg','markerRange','12QrrIxC','1388737WtNucp','createUIElement','push','insert','getItems','markerName','includes','schema','span','createRangeOn','isContent','bindElementToMarker','toViewPosition','toViewElement','nextSibling','activeMarkers','mapper','name','writer','start','type','consumable','6EGYBsf','ck-suggestion-marker-','model','get','parent','1385368vtZDpH','12685453XvxuQK','ck-suggestion-marker--active'];_0x3537=function(){return _0x377d96;};return _0x3537();}function _0xdc87(_0x3fade2,_0x465ea6){const _0x353713=_0x3537();return _0xdc87=function(_0xdc8725,_0x17f609){_0xdc8725=_0xdc8725-0x17e;let _0xbed6aa=_0x353713[_0xdc8725];return _0xbed6aa;},_0xdc87(_0x3fade2,_0x465ea6);}export function downcastSplitMergeMarker(_0x5e5fa2,_0x45f996,{showActiveMarker:_0x16876d=!0x0}={}){const _0x5b1868=_0xdc87,_0x3a5cf7=_0x5e5fa2[_0x5b1868(0x189)][_0x5b1868(0x1b1)](_0x5b1868(0x184));return(_0x203f1c,_0x51dd87,_0x215da9)=>{const _0x3c8239=_0x5b1868;if(!_0x215da9[_0x3c8239(0x1ad)][_0x3c8239(0x187)](_0x51dd87[_0x3c8239(0x196)],_0x203f1c[_0x3c8239(0x1a9)]))return;const _0x173c87=_0x51dd87[_0x3c8239(0x196)][_0x3c8239(0x18c)](),_0xa2889d=_0x51dd87[_0x3c8239(0x196)][_0x3c8239(0x1ab)],_0x23fab0=_0x5e5fa2[_0x3c8239(0x1b0)][_0x3c8239(0x19f)];let _0x3e280f=null,_0x165056=null,_0x115316=!0x1,_0x37373e=!0x1;for(const _0x2b2721 of _0x173c87){const _0x49ad38=_0x2b2721[_0x3c8239(0x18b)];_0x115316=_0x115316||_0x23fab0[_0x3c8239(0x1a2)](_0x49ad38);const _0x2b534f=_0x215da9[_0x3c8239(0x1a8)][_0x3c8239(0x1a5)](_0x49ad38);if(_0x2b534f&&_0x2b534f[_0x3c8239(0x193)](_0x3c8239(0x188)))return;_0x3c8239(0x192)==_0x2b2721[_0x3c8239(0x1ac)]&&(_0x23fab0[_0x3c8239(0x183)](_0x49ad38)&&!_0x23fab0[_0x3c8239(0x18d)](_0x49ad38)&&(_0x49ad38[_0x3c8239(0x1a6)]||_0xa2889d[_0x3c8239(0x18f)]?_0x3e280f&&_0x3e280f[_0x3c8239(0x17e)]==_0x49ad38||(_0x3e280f=_0x49ad38,_0x28632f(_0x2b2721[_0x3c8239(0x190)]),_0x37373e=!0x0):_0x165056=_0x165056||_0x2b2721[_0x3c8239(0x190)]));}function _0x28632f(_0x136943){const _0x4f5244=_0x3c8239,_0x5f0875=_0x215da9[_0x4f5244(0x1aa)][_0x4f5244(0x199)](_0x4f5244(0x1a0),{'class':_0x4f5244(0x1af)+_0x45f996}),_0x4ec7b0=_0x215da9[_0x4f5244(0x1a8)][_0x4f5244(0x1a4)](_0x136943);_0x16876d&&_0x3a5cf7[_0x4f5244(0x1a7)][_0x4f5244(0x19e)](_0x51dd87[_0x4f5244(0x19d)])&&_0x215da9[_0x4f5244(0x1aa)][_0x4f5244(0x185)](_0x4f5244(0x181),_0x5f0875),_0x215da9[_0x4f5244(0x1aa)][_0x4f5244(0x19b)](_0x4ec7b0,_0x5f0875),_0x215da9[_0x4f5244(0x1a8)][_0x4f5244(0x1a3)](_0x5f0875,_0x51dd87[_0x4f5244(0x19d)]);}_0x115316||_0x37373e||!_0x165056||_0x28632f(_0x165056);};}
|
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
|
-
|
|
23
|
+
function _0x357b(_0x358b6f,_0x328cdf){const _0xe61c3f=_0xe61c();return _0x357b=function(_0x357b28,_0x661d67){_0x357b28=_0x357b28-0x1d9;let _0x1dc531=_0xe61c3f[_0x357b28];return _0x1dc531;},_0x357b(_0x358b6f,_0x328cdf);}function _0xe61c(){const _0x499849=['decorate','_onAccept','discard','type','hasComments','end','clear','5dnFTcY','_saved','size','subType','push','getItems','getFirstMarker','addMarker','getAllAdjacentSuggestions','creator','previous','authoredAt','onAttributesChange','nodeAfter','toJSON','nodeBefore','change','removeAttribute','getMarkerNames','getContainedElement','accept','getMarkers','head','setAttribute','addMarkerName','next','7AUpxtq','@external','length','delete','createdAt','add','getRange','2670024IFWRzL','start','_markerNames','filter','author','set','getRanges','onAccept','isExternal','onDiscard','8720034hEswql','getFirstRange','3221975AIDQLf','2384256zRJvhX','removeMarkers','10WZmbid','getMultiRangeId','map','_isDataLoaded','_model','reduce','isIntersectingWithRange','attributes','isMultiRange','isInContent','_onDiscard','2167640fgfSji','split','substr','removeMarker','suggestion:','commentThread','_onAttributesChange','get','29575620JIcXUa','addRange','from','data','markers','405252bIpkfP','isIntersecting'];_0xe61c=function(){return _0x499849;};return _0xe61c();}const _0x35d72a=_0x357b;(function(_0x2712ce,_0x86cc0){const _0x2c9ecf=_0x357b,_0x1d79a5=_0x2712ce();while(!![]){try{const _0x5a6bb3=parseInt(_0x2c9ecf(0x201))/0x1*(-parseInt(_0x2c9ecf(0x1f8))/0x2)+parseInt(_0x2c9ecf(0x222))/0x3+-parseInt(_0x2c9ecf(0x1eb))/0x4+-parseInt(_0x2c9ecf(0x1dd))/0x5+-parseInt(_0x2c9ecf(0x1db))/0x6+-parseInt(_0x2c9ecf(0x21b))/0x7*(-parseInt(_0x2c9ecf(0x1de))/0x8)+parseInt(_0x2c9ecf(0x1f3))/0x9*(parseInt(_0x2c9ecf(0x1e0))/0xa);if(_0x5a6bb3===_0x86cc0)break;else _0x1d79a5['push'](_0x1d79a5['shift']());}catch(_0x2644e5){_0x1d79a5['push'](_0x1d79a5['shift']());}}}(_0xe61c,0xc88c6));import{Element as _0x33f06c}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x9fba18,uid as _0x1bb23f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1d64cb,isEqual as _0x5140eb,set as _0x39fed7,unset as _0x45e99c}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9fba18(){constructor(_0x5ea9bb,_0xda3266){const _0x3522cf=_0x357b;super(),this[_0x3522cf(0x1e3)]=!0x1,this['id']=_0xda3266['id'],this[_0x3522cf(0x1fd)]=_0xda3266[_0x3522cf(0x1fd)],this[_0x3522cf(0x204)]=_0xda3266[_0x3522cf(0x204)]||null,this[_0x3522cf(0x226)]=_0xda3266[_0x3522cf(0x226)],this[_0x3522cf(0x20a)]=_0xda3266[_0x3522cf(0x20a)]||_0xda3266[_0x3522cf(0x226)],this[_0x3522cf(0x1d9)]=Boolean(_0xda3266[_0x3522cf(0x1e7)]&&_0xda3266[_0x3522cf(0x1e7)][_0x3522cf(0x21c)]),this[_0x3522cf(0x1f6)]=null,this[_0x3522cf(0x1e4)]=_0x5ea9bb,this[_0x3522cf(0x1fb)]=_0xda3266[_0x3522cf(0x229)],this[_0x3522cf(0x1ea)]=_0xda3266[_0x3522cf(0x1da)],this[_0x3522cf(0x1f1)]=_0xda3266[_0x3522cf(0x20d)],this[_0x3522cf(0x224)]=new Set(),this[_0x3522cf(0x21f)]=null,this[_0x3522cf(0x227)](_0x3522cf(0x20c),null),this[_0x3522cf(0x227)](_0x3522cf(0x1e7),_0xda3266[_0x3522cf(0x1e7)]||{}),this[_0x3522cf(0x227)](_0x3522cf(0x20b),null),this[_0x3522cf(0x227)](_0x3522cf(0x21a),null),this[_0x3522cf(0x227)](_0x3522cf(0x1f0),null),this[_0x3522cf(0x227)](_0x3522cf(0x202),!0x1),this[_0x3522cf(0x1fa)](_0x3522cf(0x215)),this[_0x3522cf(0x1fa)](_0x3522cf(0x1fc));}get[_0x35d72a(0x217)](){const _0xf69965=_0x35d72a;let _0x52c842=this;for(;_0x52c842[_0xf69965(0x20b)];)_0x52c842=_0x52c842[_0xf69965(0x20b)];return _0x52c842;}get[_0x35d72a(0x1fe)](){const _0x34da46=_0x35d72a;return!!this[_0x34da46(0x1f0)]&&this[_0x34da46(0x1f0)][_0x34da46(0x21d)]>0x0;}get[_0x35d72a(0x1e8)](){const _0x765f54=_0x35d72a;if(0x0==this[_0x765f54(0x224)][_0x765f54(0x203)])return!0x1;return 0x6==Array[_0x765f54(0x1f5)](this[_0x765f54(0x224)])[0x0][_0x765f54(0x1ec)](':')[_0x765f54(0x21d)];}get[_0x35d72a(0x1e9)](){const _0xf1eb4d=_0x35d72a;return null!==this[_0xf1eb4d(0x207)]();}[_0x35d72a(0x219)](_0x1244e6){const _0x36b4e0=_0x35d72a;this[_0x36b4e0(0x224)][_0x36b4e0(0x220)](_0x1244e6);}[_0x35d72a(0x213)](){const _0x581e36=_0x35d72a;return Array[_0x581e36(0x1f5)](this[_0x581e36(0x224)]);}[_0x35d72a(0x216)](){const _0x4541b7=_0x35d72a;return this[_0x4541b7(0x213)]()[_0x4541b7(0x1e2)](_0x3b0216=>this[_0x4541b7(0x1e4)][_0x4541b7(0x1f7)][_0x4541b7(0x1f2)](_0x3b0216))[_0x4541b7(0x225)](_0x33aa6d=>_0x33aa6d);}[_0x35d72a(0x207)](){const _0x24f39f=_0x35d72a;return this[_0x24f39f(0x216)]()[0x0]||null;}[_0x35d72a(0x1df)](){const _0x28a342=_0x35d72a;this[_0x28a342(0x1e4)][_0x28a342(0x211)](_0x69948c=>{const _0xf2a9ef=_0x28a342;for(const _0xe3208c of this[_0xf2a9ef(0x216)]())_0x69948c[_0xf2a9ef(0x1ee)](_0xe3208c);}),this[_0x28a342(0x224)][_0x28a342(0x200)]();}[_0x35d72a(0x1ee)](_0x2250ef){const _0x59e5ec=_0x35d72a;this[_0x59e5ec(0x1e4)][_0x59e5ec(0x211)](_0x1c8e4b=>{const _0x3d5a60=_0x59e5ec;_0x1c8e4b[_0x3d5a60(0x1ee)](_0x2250ef);}),this[_0x59e5ec(0x224)][_0x59e5ec(0x21e)](_0x2250ef);}[_0x35d72a(0x1f4)](_0x39f79f){const _0x57e689=_0x35d72a,_0x45f678=_0x57e689(0x1ef)+this[_0x57e689(0x1fd)]+':'+this[_0x57e689(0x204)]+':'+this['id']+':'+this[_0x57e689(0x20a)]['id']+':'+u[_0x57e689(0x1e1)]();this[_0x57e689(0x219)](_0x45f678),this[_0x57e689(0x1e4)][_0x57e689(0x211)](_0x3d4d7a=>{const _0x10cb9c=_0x57e689;_0x3d4d7a[_0x10cb9c(0x208)](_0x45f678,{'range':_0x39f79f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x35d72a(0x1e6)](_0x383de5){const _0x218760=_0x35d72a;for(const _0x1b1221 of this[_0x218760(0x228)]())if(_0x1b1221[_0x218760(0x1f9)](_0x383de5))return!0x0;return!0x1;}[_0x35d72a(0x228)](){const _0x41c2fb=_0x35d72a;return this[_0x41c2fb(0x216)]()[_0x41c2fb(0x1e2)](_0x8959a6=>_0x8959a6[_0x41c2fb(0x221)]());}[_0x35d72a(0x206)](){const _0x19d86f=_0x35d72a;return this[_0x19d86f(0x228)]()[_0x19d86f(0x1e5)]((_0x7ddcef,_0x194e0e)=>[..._0x7ddcef,..._0x194e0e[_0x19d86f(0x206)]()],[]);}[_0x35d72a(0x1dc)](){const _0x876d0d=_0x35d72a;var _0x19eb61;return(null===(_0x19eb61=this[_0x876d0d(0x207)]())||void 0x0===_0x19eb61?void 0x0:_0x19eb61[_0x876d0d(0x221)]())||null;}[_0x35d72a(0x214)](){const _0x170ede=_0x35d72a,_0x58c99f=this[_0x170ede(0x228)]();if(0x1!=_0x58c99f[_0x170ede(0x21d)])return null;const _0x2dff98=_0x58c99f[0x0],_0x55c45f=_0x2dff98[_0x170ede(0x223)][_0x170ede(0x20e)],_0x3dec83=_0x2dff98[_0x170ede(0x1ff)][_0x170ede(0x210)];return _0x55c45f instanceof _0x33f06c?_0x55c45f!=_0x3dec83?null:_0x55c45f:null;}[_0x35d72a(0x215)](){const _0x5c63eb=_0x35d72a;this[_0x5c63eb(0x1fb)](this[_0x5c63eb(0x228)](),this[_0x5c63eb(0x1f6)],this[_0x5c63eb(0x1e7)]),this[_0x5c63eb(0x1df)]();}[_0x35d72a(0x1fc)](){const _0x5d006a=_0x35d72a;this[_0x5d006a(0x1ea)](this[_0x5d006a(0x228)](),this[_0x5d006a(0x1f6)],this[_0x5d006a(0x1e7)]),this[_0x5d006a(0x1df)]();}[_0x35d72a(0x209)](){const _0x15f514=_0x35d72a,_0x50360c=[];let _0x130a0e=this[_0x15f514(0x217)];for(;_0x130a0e;)_0x50360c[_0x15f514(0x205)](_0x130a0e),_0x130a0e=_0x130a0e[_0x15f514(0x21a)];return _0x50360c;}[_0x35d72a(0x218)](_0x583d39,_0x281c6c){const _0x112e81=_0x35d72a,_0x180748=_0x1d64cb(this[_0x112e81(0x1e7)]);_0x39fed7(_0x180748,_0x583d39,_0x281c6c),_0x5140eb(_0x180748,this[_0x112e81(0x1e7)])||(this[_0x112e81(0x1e7)]=_0x180748,this[_0x112e81(0x1f1)](_0x180748));}[_0x35d72a(0x212)](_0x3e6755){const _0x846922=_0x35d72a,_0x1f6600=_0x1d64cb(this[_0x846922(0x1e7)]);_0x45e99c(_0x1f6600,_0x3e6755),_0x5140eb(_0x1f6600,this[_0x846922(0x1e7)])||(this[_0x846922(0x1e7)]=_0x1f6600,this[_0x846922(0x1f1)](this[_0x846922(0x1e7)]));}[_0x35d72a(0x20f)](){const _0x3c5697=_0x35d72a;return{'id':this['id'],'type':this[_0x3c5697(0x204)]?this[_0x3c5697(0x1fd)]+':'+this[_0x3c5697(0x204)]:this[_0x3c5697(0x1fd)],'authorId':this[_0x3c5697(0x20a)]['id'],'createdAt':this[_0x3c5697(0x21f)],'hasComments':this[_0x3c5697(0x1fe)],'data':this[_0x3c5697(0x1f6)],'attributes':this[_0x3c5697(0x1e7)]};}static[_0x35d72a(0x1e1)](){const _0x4f5d5b=_0x35d72a;return _0x1bb23f()[_0x4f5d5b(0x1ed)](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
|
+
const _0x2bd951=_0x9449;function _0xa3cf(){const _0x21e35a=['key','removeEmptyContainer','getWalker','skip','join','_handleCustomCallbackDescription','normal','getFirstRange','set','newValue','*Insert:*\x20%0','_schema','REPLACE_TEXT','previousSibling','nodeAfter','isEmpty','start','addObject','isObject','_itemLabelsCallbacks','match','item','*Split:*\x20%0','subType','27617gITAeg','457628QAGSbk','_locale','26ufelfM','registerDescriptionCallback','3IKxJzV','_handleRenameSuggestionDescription','type','removeFormat','softBreak','remove','get','name','122733czAxBn','function','getItemLabel','registerElementLabel','EmptyContainer','_itemLabels','_handleAttributeSuggestionDescription','has','push','pop','elementEnd','895884DHThYb','insertion','_addDescriptionItems','1442240CHktrS','*Remove\x20format:*\x20%0','deletion','addEmptyContainer','map','element','1002035BNNjZV','$text','format','isInContent','*Merge:*\x20%0','end','_customCallbacks','_handleInsertRemoveSuggestionDescription','nextSibling','_resolveDescriptionItems','text','$1\x20$2','ELEMENT_SPACE','indexOf','removeContainer','Object','isEqual','$textProxy','addFormat','addContainer','replace','removeObject','*Remove:*\x20%0','checkChild','getDescriptions','add','data','elementStart','4655640GaQgAW','matchingCallback','registerAttributeLabel','attribute','*Set\x20format:*\x20%0','*Change\x20to:*\x20%0','length','quantity','label','_attributeLabels','14JMZXax','Container'];_0xa3cf=function(){return _0x21e35a;};return _0xa3cf();}(function(_0x18f926,_0x3337e1){const _0x450d97=_0x9449,_0x361364=_0x18f926();while(!![]){try{const _0x142c59=-parseInt(_0x450d97(0x1bd))/0x1*(-parseInt(_0x450d97(0x1c0))/0x2)+parseInt(_0x450d97(0x1c2))/0x3*(parseInt(_0x450d97(0x1be))/0x4)+-parseInt(_0x450d97(0x1de))/0x5+-parseInt(_0x450d97(0x1d5))/0x6+-parseInt(_0x450d97(0x204))/0x7*(parseInt(_0x450d97(0x1d8))/0x8)+parseInt(_0x450d97(0x1ca))/0x9+parseInt(_0x450d97(0x1fa))/0xa;if(_0x142c59===_0x3337e1)break;else _0x361364['push'](_0x361364['shift']());}catch(_0x43ccb5){_0x361364['push'](_0x361364['shift']());}}}(_0xa3cf,0x3b2ac));import{getTranslation as _0x46b6d5}from'./utils/common-translations.js';import{priorities as _0x4cd32e,insertToPriorityArray as _0x83af05}from'ckeditor5/src/utils.js';function _0x9449(_0x2c289e,_0x593bda){const _0xa3cf70=_0xa3cf();return _0x9449=function(_0x944925,_0x29d702){_0x944925=_0x944925-0x1a8;let _0x4e47d8=_0xa3cf70[_0x944925];return _0x4e47d8;},_0x9449(_0x2c289e,_0x593bda);}import{renameAttributeKey as _0x48146b}from'./trackchangesediting.js';export default class f{constructor(_0x84be33,_0x53cfed){const _0xf0056d=_0x9449;this[_0xf0056d(0x1e4)]=[],this[_0xf0056d(0x1cf)]=new Map(),this[_0xf0056d(0x1b8)]=[],this[_0xf0056d(0x203)]=new Map(),this[_0xf0056d(0x1b0)]=_0x84be33,this[_0xf0056d(0x1bf)]=_0x53cfed;}[_0x2bd951(0x1f6)](_0x291581){const _0x1e47a3=_0x2bd951,_0x16be46=[],_0x25404a=new Set(),_0x9b993c=new Set();for(let _0xed331=0x0;_0xed331<_0x291581[_0x1e47a3(0x200)];_0xed331++){const _0x5087ff=_0x291581[_0xed331];if(!_0x5087ff[_0x1e47a3(0x1e1)])continue;const _0x372b0d=this[_0x1e47a3(0x1aa)](_0x5087ff);if(_0x372b0d){if(null!=_0x5087ff[_0x1e47a3(0x1bc)]){if(_0x25404a[_0x1e47a3(0x1d1)](_0x5087ff[_0x1e47a3(0x1bc)]))continue;_0x25404a[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1bc)]);}_0x16be46[_0x1e47a3(0x1d2)](_0x372b0d);}else{if(_0x1e47a3(0x1fd)!=_0x5087ff[_0x1e47a3(0x1c4)])_0x1e47a3(0x1d6)!=_0x5087ff[_0x1e47a3(0x1c4)]&&_0x1e47a3(0x1da)!=_0x5087ff[_0x1e47a3(0x1c4)]||this[_0x1e47a3(0x1e5)](_0x16be46,_0x5087ff,_0x291581[_0xed331+0x1]);else{const _0x1c7e10=_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)];if(_0x9b993c[_0x1e47a3(0x1d1)](_0x1c7e10))continue;_0x9b993c[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)]),_0x1c7e10==_0x48146b?this[_0x1e47a3(0x1c3)](_0x16be46,_0x5087ff):this[_0x1e47a3(0x1d0)](_0x16be46,_0x5087ff);}}}return this[_0x1e47a3(0x1e7)](_0x16be46);}[_0x2bd951(0x1c1)](_0x4153f0){const _0x469d30=_0x2bd951;this[_0x469d30(0x1e4)][_0x469d30(0x1d2)](_0x4153f0);}[_0x2bd951(0x1cd)](_0x41dc07,_0xa906ca,_0x5f47e9=_0x4cd32e[_0x2bd951(0x1ab)]){const _0x2968be=_0x2bd951;_0x2968be(0x1cb)==typeof _0x41dc07?_0x83af05(this[_0x2968be(0x1b8)],{'matchingCallback':_0x41dc07,'label':_0xa906ca,'priority':_0x5f47e9}):this[_0x2968be(0x1cf)][_0x2968be(0x1ad)](_0x41dc07,_0xa906ca);}[_0x2bd951(0x1fc)](_0x99ec18,_0x4de2f6){const _0x5ec9df=_0x2bd951;this[_0x5ec9df(0x203)][_0x5ec9df(0x1ad)](_0x99ec18,_0x4de2f6);}[_0x2bd951(0x1cc)](_0x2ab71d,_0x15fce8=0x1){const _0x353436=_0x2bd951;let _0x4ac7ba;for(const _0x2d3dcc of this[_0x353436(0x1b8)])if(_0x2d3dcc[_0x353436(0x1fb)](_0x2ab71d)){_0x4ac7ba=_0x2d3dcc[_0x353436(0x202)];break;}return _0x4ac7ba||(_0x4ac7ba=this[_0x353436(0x1cf)][_0x353436(0x1c8)](_0x2ab71d[_0x353436(0x1c9)])),_0x4ac7ba?_0x4ac7ba(_0x15fce8):0x1!==_0x15fce8?_0x15fce8+'\x20'+_0x2ab71d[_0x353436(0x1c9)]+'s':''+_0x2ab71d[_0x353436(0x1c9)];}[_0x2bd951(0x1d7)](_0x36a723,_0x2037ad){const _0x3f959f=_0x2bd951,_0x5ad297=_0x2037ad[_0x3f959f(0x1ac)]()[_0x3f959f(0x208)](),_0x404bdc=_0x3f959f(0x1d6)==_0x2037ad[_0x3f959f(0x1c4)]?_0x3f959f(0x1f7):_0x3f959f(0x1c7);for(const _0x4090ea of _0x5ad297){const _0xb8e0ba=_0x4090ea[_0x3f959f(0x1ba)],_0x272448=_0x36a723[_0x36a723[_0x3f959f(0x200)]-0x1];if(_0xb8e0ba['is'](_0x3f959f(0x1ef)))_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x272448&&_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]?_0x272448[_0x404bdc]+=_0xb8e0ba[_0x3f959f(0x1f8)]:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x3f959f(0x1e8),'add':_0x3f959f(0x1f7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:'','remove':_0x3f959f(0x1c7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:''});else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0xb8e0ba)){const _0x9e91af=_0xb8e0ba;if(_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ed)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x9e91af[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ed),'element':_0x9e91af,'quantity':0x1}),_0x5ad297[_0x3f959f(0x1a8)](_0x4264e5=>!(_0x3f959f(0x1d4)==_0x4264e5[_0x3f959f(0x1c4)]&&_0x4264e5[_0x3f959f(0x1ba)]==_0xb8e0ba));}else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1f5)](_0xb8e0ba,_0x3f959f(0x1df))||_0xb8e0ba['is'](_0x3f959f(0x1dd),_0x3f959f(0x1c6))){const _0x21975e=_0xb8e0ba;if(_0x3f959f(0x1f7)==_0x404bdc&&_0x3f959f(0x1f9)==_0x4090ea[_0x3f959f(0x1c4)]||_0x3f959f(0x1c7)==_0x404bdc&&_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;if(_0x272448&&-0x1==_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))){_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]&&(_0x272448[_0x404bdc]+='\x0a');continue;}let _0x18a086;if(_0x18a086=_0x3f959f(0x1f7)==_0x404bdc?_0x21975e[_0x3f959f(0x1e6)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1e6)])?_0x21975e[_0x3f959f(0x1e6)]:null:_0x21975e[_0x3f959f(0x1b2)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1b2)])?_0x21975e[_0x3f959f(0x1b2)]:null,_0x21975e[_0x3f959f(0x1b4)]||_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]){const _0x20b74a=_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]?_0x18a086:_0x21975e;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ce)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x20b74a[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ce),'element':_0x20b74a,'quantity':0x1});}else _0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x205),'element':_0x21975e});}}}}}[_0x2bd951(0x1e7)](_0x4a1829){const _0x2b39e7=_0x2bd951,_0xa1566d=this[_0x2b39e7(0x1bf)],_0x5dd42e=[],_0x5a22f9=[],_0xbe7280=[];for(const _0x419d8b of _0x4a1829)switch(_0x419d8b[_0x2b39e7(0x1c4)]){case _0x2b39e7(0x1e8):if(_0x419d8b[_0x2b39e7(0x1f7)]=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),_0x419d8b[_0x2b39e7(0x1c7)]=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),''!=_0x419d8b[_0x2b39e7(0x1f7)]&&''!=_0x419d8b[_0x2b39e7(0x1c7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1f2),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1b1),['\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22','\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22'])});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x200)]))});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x200)]))});continue;}if(''!=_0x419d8b[_0x2b39e7(0x1f7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),'\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22')});continue;}_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),'\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22')});continue;case _0x2b39e7(0x1db):case _0x2b39e7(0x1b6):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x207):case _0x2b39e7(0x1f3):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f1):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1bb),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1ec):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1e2),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f0):_0x5a22f9[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;case _0x2b39e7(0x1c5):_0xbe7280[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;default:_0x5dd42e[_0x2b39e7(0x1d2)](_0x419d8b);}if(_0x5a22f9[_0x2b39e7(0x200)]){const _0x43d1d1=_0x5a22f9[_0x2b39e7(0x1dc)](_0x3ee312=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x3ee312)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x3ee312):_0x3ee312)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1fe),_0x43d1d1)});}if(_0xbe7280[_0x2b39e7(0x200)]){const _0x1541c0=_0xbe7280[_0x2b39e7(0x1dc)](_0x363333=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x363333)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x363333):_0x363333)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1d9),_0x1541c0)});}return _0x5dd42e;}[_0x2bd951(0x1aa)](_0x477754){const _0x415dde=_0x2bd951;for(const _0x2bff5a of this[_0x415dde(0x1e4)]){const _0x2d576a=_0x2bff5a(_0x477754);if(_0x2d576a&&_0x415dde(0x1c4)in _0x2d576a)return _0x2d576a;}}[_0x2bd951(0x1d0)](_0x345f8e,_0x45a7b0){const _0x25eef0=_0x2bd951,_0x5d733e=_0x45a7b0[_0x25eef0(0x1f8)],_0x5a8143=void 0x0===_0x5d733e[_0x25eef0(0x1ae)]?_0x25eef0(0x1c5):_0x25eef0(0x1f0);_0x345f8e[_0x25eef0(0x1d2)]({'type':_0x5a8143,'key':_0x5d733e[_0x25eef0(0x206)]});}[_0x2bd951(0x1c3)](_0xf1b01f,_0x9418e4){const _0x1bc1a1=_0x2bd951;_0xf1b01f[_0x1bc1a1(0x1d2)]({'type':_0x1bc1a1(0x1e0),'content':_0x46b6d5(this[_0x1bc1a1(0x1bf)],_0x1bc1a1(0x1ff),this[_0x1bc1a1(0x1cc)](_0x9418e4[_0x1bc1a1(0x1ac)]()[_0x1bc1a1(0x1b5)][_0x1bc1a1(0x1b3)],0x1))});}[_0x2bd951(0x1e5)](_0x30c7e9,_0x5bb79b,_0x513474){const _0x499a6c=_0x2bd951;if(this[_0x499a6c(0x1d7)](_0x30c7e9,_0x5bb79b),_0x513474&&_0x513474[_0x499a6c(0x1ac)]()&&!_0x5bb79b[_0x499a6c(0x1ac)]()[_0x499a6c(0x1e3)][_0x499a6c(0x1ee)](_0x513474[_0x499a6c(0x1ac)]()[_0x499a6c(0x1b5)])){const _0x448177=_0x30c7e9[_0x30c7e9[_0x499a6c(0x200)]-0x1],_0x4fb45e=_0x499a6c(0x1d6)==_0x5bb79b[_0x499a6c(0x1c4)]?_0x499a6c(0x1f7):_0x499a6c(0x1c7);_0x448177&&_0x499a6c(0x1e8)==_0x448177[_0x499a6c(0x1c4)]&&(_0x448177[_0x4fb45e]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x18ef(_0x4301b1,_0x363f89){var _0x1c2830=_0x1c28();return _0x18ef=function(_0x18ef86,_0xfa3e66){_0x18ef86=_0x18ef86-0xfe;var _0x2f142a=_0x1c2830[_0x18ef86];return _0x2f142a;},_0x18ef(_0x4301b1,_0x363f89);}var _0x502a5b=_0x18ef;(function(_0xbf5aec,_0x233d9e){var _0x374b1d=_0x18ef,_0x10f3cd=_0xbf5aec();while(!![]){try{var _0x2db996=-parseInt(_0x374b1d(0x10f))/0x1+parseInt(_0x374b1d(0x10e))/0x2*(parseInt(_0x374b1d(0x10a))/0x3)+-parseInt(_0x374b1d(0x113))/0x4*(parseInt(_0x374b1d(0x10c))/0x5)+-parseInt(_0x374b1d(0x110))/0x6*(-parseInt(_0x374b1d(0x109))/0x7)+parseInt(_0x374b1d(0x108))/0x8+parseInt(_0x374b1d(0x102))/0x9+parseInt(_0x374b1d(0x103))/0xa*(-parseInt(_0x374b1d(0x100))/0xb);if(_0x2db996===_0x233d9e)break;else _0x10f3cd['push'](_0x10f3cd['shift']());}catch(_0x5019bf){_0x10f3cd['push'](_0x10f3cd['shift']());}}}(_0x1c28,0x3b082));import{Plugin as _0x42232f}from'ckeditor5/src/core.js';import _0x2457b2 from'./trackchangesui.js';import _0x2b955e from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x42232f{static get[_0x502a5b(0x10d)](){var _0x1d4818=_0x502a5b;return[_0x2b955e,_0x2457b2,_0x1d4818(0x112)];}static get[_0x502a5b(0xfe)](){var _0x2ea873=_0x502a5b;return _0x2ea873(0x111);}set[_0x502a5b(0x114)](_0x18f0c6){var _0x4f22c1=_0x502a5b;this[_0x4f22c1(0xff)][_0x4f22c1(0x10b)][_0x4f22c1(0x101)](_0x2b955e)[_0x4f22c1(0x114)]=_0x18f0c6;}get[_0x502a5b(0x114)](){var _0xd90985=_0x502a5b;return this[_0xd90985(0xff)][_0xd90985(0x10b)][_0xd90985(0x101)](_0x2b955e)[_0xd90985(0x114)];}[_0x502a5b(0x105)](_0x263859){var _0x4ad19a=_0x502a5b;return this[_0x4ad19a(0xff)][_0x4ad19a(0x10b)][_0x4ad19a(0x101)](_0x2b955e)[_0x4ad19a(0x104)](_0x263859);}[_0x502a5b(0x106)]({skipNotAttached:_0x2463ec=!0x1,toJSON:_0x503fea=!0x1}={}){var _0x127c7f=_0x502a5b;return this[_0x127c7f(0xff)][_0x127c7f(0x10b)][_0x127c7f(0x101)](_0x2b955e)[_0x127c7f(0x106)]({'skipNotAttached':_0x2463ec,'toJSON':_0x503fea});}[_0x502a5b(0x107)](_0x1053c2){var _0x40a9c2=_0x502a5b;return this[_0x40a9c2(0xff)][_0x40a9c2(0x10b)][_0x40a9c2(0x101)](_0x2b955e)[_0x40a9c2(0x107)](_0x1053c2);}}function _0x1c28(){var _0x1fe6f4=['4220380SElVdg','addSuggestionData','addSuggestion','getSuggestions','getSuggestion','3608608Toonzm','21ROkKVa','4137PLPFMD','plugins','55sByvLQ','requires','524bvkCHS','295180iwezOr','885810BWRtuZ','TrackChanges','Comments','76936oRfGgm','adapter','pluginName','editor','22noQoaT','get','3036105SQEDya'];_0x1c28=function(){return _0x1fe6f4;};return _0x1c28();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x452e00=_0x52e2;(function(_0x10f736,_0x2256fa){const _0xf662f4=_0x52e2,_0x16177b=_0x10f736();while(!![]){try{const _0xfbe63f=-parseInt(_0xf662f4(0x194))/0x1+parseInt(_0xf662f4(0x193))/0x2*(-parseInt(_0xf662f4(0x19a))/0x3)+-parseInt(_0xf662f4(0x18a))/0x4*(-parseInt(_0xf662f4(0x189))/0x5)+parseInt(_0xf662f4(0x1b0))/0x6+-parseInt(_0xf662f4(0x1b4))/0x7+parseInt(_0xf662f4(0x198))/0x8*(-parseInt(_0xf662f4(0x18e))/0x9)+-parseInt(_0xf662f4(0x199))/0xa;if(_0xfbe63f===_0x2256fa)break;else _0x16177b['push'](_0x16177b['shift']());}catch(_0x133d86){_0x16177b['push'](_0x16177b['shift']());}}}(_0x3185,0xe0989));import{Plugin as _0x498986}from'ckeditor5/src/core.js';import{CKEditorError as _0x527a81}from'ckeditor5/src/utils.js';function _0x52e2(_0x2185fb,_0x4bded7){const _0x3185f3=_0x3185();return _0x52e2=function(_0x52e294,_0x11c0d8){_0x52e294=_0x52e294-0x17c;let _0x2ca3af=_0x3185f3[_0x52e294];return _0x2ca3af;},_0x52e2(_0x2185fb,_0x4bded7);}import _0x58eefa from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xb299fb}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3185(){const _0x42449d=['TrackChangesDataGetter','plugins','users','getDataWithAcceptedSuggestions','destroy','rootsAttributes','Users','push','5Gzrrjk','6650276mRvFJe','reduce','end','getCommentThreads','81RHGAzF','createDocumentFragment','model','requires','pluginName','8WveSsF','947980YSpPYU','execute','trackChangesData.editorCreator','map','391304FfSnwX','752510ymzKNT','681054JMtohC','constructor','getUser','result','acceptAllSuggestions','addUser','CommentsRepository','getRootNames','addCommentThread','name','getRootsAttributes','create','editorCreator','TrackChangesEditing','getDataWithDiscardedSuggestions','init','define','Pagination','createElement','TrackChangesData','div','discardAllSuggestions','10942422Fapckq','addSuggestionData','getSuggestions','appendChild','1363887zfDwHR','getFullData','get','function','track-changes-data-invalid-editor-creator','set','trackChangesData','useAnonymousUser','config','editor','document','data','_adapter'];_0x3185=function(){return _0x42449d;};return _0x3185();}const T=[_0x452e00(0x1ab)];export default class P extends _0x498986{static get[_0x452e00(0x191)](){return[_0x58eefa];}static get[_0x452e00(0x192)](){const _0x199c6a=_0x452e00;return _0x199c6a(0x1ad);}[_0x452e00(0x1a9)](){const _0x1e7f20=_0x452e00,_0x214d9d=this[_0x1e7f20(0x17d)];if(_0x214d9d[_0x1e7f20(0x17c)][_0x1e7f20(0x1aa)](_0x1e7f20(0x196),_0x31df8a=>{const _0x113d95=_0x1e7f20,_0x134a3b=_0x214d9d[_0x113d95(0x190)][_0x113d95(0x17e)][_0x113d95(0x1a1)]()[_0x113d95(0x18b)]((_0x3026d8,_0x2de1f5)=>(_0x3026d8[_0x2de1f5]='',_0x3026d8),{});return _0x214d9d[_0x113d95(0x19b)][_0x113d95(0x1a5)](_0x134a3b,_0x31df8a);}),_0x1e7f20(0x1b7)!=typeof _0x214d9d[_0x1e7f20(0x17c)][_0x1e7f20(0x1b6)](_0x1e7f20(0x1ba))[_0x1e7f20(0x1a6)])throw new _0x527a81(_0x1e7f20(0x1b8));}[_0x452e00(0x184)](_0x55bc94){const _0x1dc7b3=_0x452e00;return N(this[_0x1dc7b3(0x17d)],!0x0,_0x55bc94);}[_0x452e00(0x1a8)](_0x2a10e1){const _0x2460d6=_0x452e00;return N(this[_0x2460d6(0x17d)],!0x1,_0x2a10e1);}}class D extends _0x498986{static get[_0x452e00(0x192)](){const _0x56031c=_0x452e00;return _0x56031c(0x181);}constructor(_0x4d5353){const _0x523e3d=_0x452e00;super(_0x4d5353),this[_0x523e3d(0x19d)]=_0x523e3d(0x18c);}[_0x452e00(0x1a9)](){const _0x5519b5=_0x452e00;this[_0x5519b5(0x17d)][_0x5519b5(0x182)][_0x5519b5(0x1b6)](_0x5519b5(0x1a0))[_0x5519b5(0x180)]={'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[_0x5519b5(0x17d)][_0x5519b5(0x182)][_0x5519b5(0x1b6)](_0x5519b5(0x1a7))[_0x5519b5(0x180)]=null;}}function v(_0x476de8){const _0x33ec16=_0x452e00;return void 0x0!==_0x476de8[_0x33ec16(0x1a4)];}async function N(_0x44ba95,_0x239b00,_0x42cfb2){const _0x496512=_0x452e00,_0x4d905b=_0xb299fb(_0x44ba95,T);_0x4d905b[_0x496512(0x182)][_0x496512(0x188)](_0x58eefa,D),_0x4d905b[_0x496512(0x186)]=v(_0x44ba95)?_0x44ba95[_0x496512(0x1a4)]():void 0x0;const _0x2c0803=document[_0x496512(0x18f)](),_0x905908=_0x44ba95[_0x496512(0x17c)][_0x496512(0x1b6)](_0x496512(0x1ba))[_0x496512(0x1a6)],_0x1c823d=await _0x905908(_0x4d905b,()=>function(_0x23db67){const _0x5b5df7=_0x496512,_0x3c3e23=document[_0x5b5df7(0x1ac)](_0x5b5df7(0x1ae));return _0x23db67[_0x5b5df7(0x1b3)](_0x3c3e23),_0x3c3e23;}(_0x2c0803));!function(_0x3edffa,_0x466930){const _0x2d9f7a=_0x496512,_0x533b26=_0x3edffa[_0x2d9f7a(0x190)][_0x2d9f7a(0x17e)][_0x2d9f7a(0x1a1)]()[_0x2d9f7a(0x18b)]((_0x19859c,_0x43ca90)=>(_0x19859c[_0x43ca90]=_0x3edffa[_0x2d9f7a(0x17f)][_0x2d9f7a(0x1b6)]({'rootName':_0x43ca90}),_0x19859c),{}),_0x4fc691=_0x3edffa[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x187))[_0x2d9f7a(0x183)][_0x2d9f7a(0x197)](_0x19fc12=>({'id':_0x19fc12['id'],'name':_0x19fc12[_0x2d9f7a(0x1a3)]})),_0x10ad97=_0x3edffa[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x1a7))[_0x2d9f7a(0x1b2)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5cf5b5=_0x3edffa[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x1a0))[_0x2d9f7a(0x18d)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1874f6=_0x466930[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x187)),_0x36c8ae=_0x466930[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x1a7)),_0x4e70dc=_0x466930[_0x2d9f7a(0x182)][_0x2d9f7a(0x1b6)](_0x2d9f7a(0x1a0));for(const _0x12fedb of _0x4fc691)_0x1874f6[_0x2d9f7a(0x19c)](_0x12fedb['id'])||_0x1874f6[_0x2d9f7a(0x19f)](_0x12fedb);_0x1874f6['me']||_0x1874f6[_0x2d9f7a(0x1bb)]();for(const _0x30f486 of _0x5cf5b5)_0x4e70dc[_0x2d9f7a(0x1a2)](_0x30f486);for(const _0x51bb38 of _0x10ad97)_0x36c8ae[_0x2d9f7a(0x1b1)](_0x51bb38);_0x466930[_0x2d9f7a(0x17f)][_0x2d9f7a(0x1b9)](_0x533b26);}(_0x44ba95,_0x1c823d),_0x1c823d[_0x496512(0x195)](_0x239b00?_0x496512(0x19e):_0x496512(0x1af));const _0x1df0f4=v(_0x1c823d)?_0x1c823d[_0x496512(0x1b5)](_0x42cfb2):_0x1c823d[_0x496512(0x17f)][_0x496512(0x1b6)](_0x42cfb2);return await _0x1c823d[_0x496512(0x185)](),_0x1df0f4;}
|