@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240626.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- 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/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.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24cfd4=_0x1f55;(function(_0x560e01,_0x8b18d){const _0x2eff32=_0x1f55,_0x526be5=_0x560e01();while(!![]){try{const _0x5d39b1=-parseInt(_0x2eff32(0x1cb))/0x1*(-parseInt(_0x2eff32(0x1a9))/0x2)+-parseInt(_0x2eff32(0x1d0))/0x3+parseInt(_0x2eff32(0x19d))/0x4+parseInt(_0x2eff32(0x1db))/0x5*(parseInt(_0x2eff32(0x1d1))/0x6)+-parseInt(_0x2eff32(0x1a8))/0x7*(parseInt(_0x2eff32(0x191))/0x8)+-parseInt(_0x2eff32(0x1c4))/0x9+-parseInt(_0x2eff32(0x1a6))/0xa;if(_0x5d39b1===_0x8b18d)break;else _0x526be5['push'](_0x526be5['shift']());}catch(_0xe47f49){_0x526be5['push'](_0x526be5['shift']());}}}(_0x38be,0x6e82b));import{Plugin as _0x2d0fba}from'ckeditor5/src/core.js';import _0x5e037b from'./table.js';import{LiveRange as _0xb9036c}from'ckeditor5/src/engine.js';function _0x1f55(_0x505282,_0x165339){const _0x38beb3=_0x38be();return _0x1f55=function(_0x1f5555,_0x34eae6){_0x1f5555=_0x1f5555-0x17d;let _0x34fd2e=_0x38beb3[_0x1f5555];return _0x34fd2e;},_0x1f55(_0x505282,_0x165339);}import{getTranslation as _0x57327f}from'../utils/common-translations.js';function _0x38be(){const _0x5d28a9=['execute','isInContent','containsRange','commandName','5976954KRpcEL','rootName','mergeTableCellLeft','getFirstPosition','registerDescriptionCallback','selection','size','358903BdLuxZ','horizontally','return','accept','splitTableCellHorizontally','10626rcCnEL','271974clHEUN','*Split\x20cell:*\x20horizontally','_areMergableCells','*Split\x20cell:*\x20vertically','highest','getAncestors','*Merge\x20cells*','enableCommand','author','type','15ctTGkl','mergeTableCellRight','_isForcedDefaultExecutionBlock','refresh','markBlockFormat','findAncestor','_acceptFormatSuggestionCallbackFactory','cell','locale','deletion','mergeTableCells','plugins','insertion','TableEditing','value','filter','fromRange','table','subType','stop','isEnabled','formatBlock','add','descriptionFactory','TrackChangesEditing','470704VnzSnb','detach','$graveyard','createTableWalker','_suggestionFactory','push','splitTableCellVertically','tableCell','requires','getRanges','getSuggestions','forceDefaultExecution','2868956fdxsyw','markMultiRangeBlockFormat','registerCustomCallback','from','get','_tablePostFixingSubtypes','editor','mergeTableCellDown','createRangeOn','1565430MpBuLr','model','35UBsCAy','4UrglcI','getSelectionAffectedTableCells','trackChanges','map','set:isEnabled','mergeTableCellUp','TableUtils','change','getCellLocation','find','setSelection','document','root','low','length','formatInline','direction','has','afterInit','element','format','_areSelectedCellsMergable','commands'];_0x38be=function(){return _0x5d28a9;};return _0x38be();}export default class St extends _0x2d0fba{static get[_0x24cfd4(0x199)](){return[_0x5e037b];}[_0x24cfd4(0x1bb)](){const _0x1ddf2e=_0x24cfd4,_0x985e77=this[_0x1ddf2e(0x1a3)],_0x5ca3a2=_0x985e77[_0x1ddf2e(0x1a7)][_0x1ddf2e(0x1b4)][_0x1ddf2e(0x1c9)],_0x2a8ac4=_0x985e77[_0x1ddf2e(0x180)];if(!_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1ba)](_0x1ddf2e(0x185)))return;const _0xe05e13=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x190)),_0x300c0a=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x1af)),_0x4f928b=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x5e037b);_0x4f928b[_0x1ddf2e(0x1a2)][_0x1ddf2e(0x196)](_0x1ddf2e(0x182)),_0xe05e13[_0x1ddf2e(0x1d8)](_0x1ddf2e(0x182),()=>{const _0x1691e8=_0x1ddf2e,_0x5a034d=_0x300c0a[_0x1691e8(0x1aa)](_0x985e77[_0x1691e8(0x1a7)][_0x1691e8(0x1b4)][_0x1691e8(0x1c9)]);_0x985e77[_0x1691e8(0x1a7)][_0x1691e8(0x1b0)](()=>{const _0x4afd36=_0x1691e8;_0xe05e13[_0x4afd36(0x19e)](_0x5a034d,{'commandName':_0x4afd36(0x182),'commandParams':[]},[],_0x4afd36(0x182));});}),_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x182))['on'](_0x1ddf2e(0x1c0),(_0x2af906,_0x553a7e)=>{const _0x523210=_0x1ddf2e;_0x985e77[_0x523210(0x1bf)][_0x523210(0x1a1)](_0x523210(0x1ab))[_0x523210(0x186)]&&(_0x553a7e[_0x523210(0x1b7)]>0x0&&_0x553a7e[_0x553a7e[_0x523210(0x1b7)]-0x1]&&_0x553a7e[_0x553a7e[_0x523210(0x1b7)]-0x1][_0x523210(0x19c)]||_0xe05e13[_0x523210(0x1dd)]||this[_0x523210(0x1be)]()||_0x2af906[_0x523210(0x18b)]());},{'priority':_0x1ddf2e(0x1d5)});for(const _0x13aac7 of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1dc),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6)]){const _0x356bcc=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x13aac7);_0xe05e13[_0x1ddf2e(0x1d8)](_0x13aac7,()=>{const _0x40e411=_0x1ddf2e,_0x5a9432=_0x985e77[_0x40e411(0x1a7)][_0x40e411(0x1b4)][_0x40e411(0x1c9)][_0x40e411(0x1c7)]()[_0x40e411(0x1d6)]()[_0x40e411(0x1b2)](_0x4f42eb=>_0x4f42eb['is'](_0x40e411(0x1bc),_0x40e411(0x198))),_0x27ba30=_0x356bcc[_0x40e411(0x186)];_0x985e77[_0x40e411(0x1a7)][_0x40e411(0x1b0)](()=>{const _0x19e75e=_0x40e411;_0xe05e13[_0x19e75e(0x19e)]([_0x5a9432,_0x27ba30],{'commandName':_0x19e75e(0x182),'commandParams':[]},[],_0x19e75e(0x182));});});}for(const _0x3dcd4b of[_0x1ddf2e(0x197),_0x1ddf2e(0x1cf)]){const _0x1bb813=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x3dcd4b);_0xe05e13[_0x1ddf2e(0x1d8)](_0x3dcd4b,()=>{const _0x591cb5=_0x1ddf2e,_0x35e278=_0x300c0a[_0x591cb5(0x1aa)](_0x985e77[_0x591cb5(0x1a7)][_0x591cb5(0x1b4)][_0x591cb5(0x1c9)])[0x0],_0x7a355c=_0x35e278[_0x591cb5(0x17d)](_0x591cb5(0x189)),{column:_0x516f86,row:_0x108b5d}=_0x300c0a[_0x591cb5(0x1b1)](_0x35e278);let _0x515ceb=[];if(_0x591cb5(0x1cc)==_0x1bb813[_0x591cb5(0x1b9)]){const _0x511ab9=_0x300c0a[_0x591cb5(0x194)](_0x7a355c,{'startRow':_0x108b5d,'endRow':_0x108b5d,'includeAllSlots':!0x0});_0x515ceb=Array[_0x591cb5(0x1a0)](_0x511ab9)[_0x591cb5(0x1ac)](_0x59c6fd=>_0x59c6fd[_0x591cb5(0x17f)]);}else{const _0x98260b=_0x300c0a[_0x591cb5(0x194)](_0x7a355c,{'column':_0x516f86,'includeAllSlots':!0x0});_0x515ceb=Array[_0x591cb5(0x1a0)](_0x98260b)[_0x591cb5(0x1ac)](_0x95804a=>_0x95804a[_0x591cb5(0x17f)]);}_0x985e77[_0x591cb5(0x1a7)][_0x591cb5(0x1b0)](_0x260851=>{const _0x79763f=_0x591cb5;_0xe05e13[_0x79763f(0x1df)](_0x260851[_0x79763f(0x1a5)](_0x35e278),{'commandName':_0x3dcd4b,'commandParams':[]},_0x515ceb,_0x3dcd4b);});});}_0xe05e13[_0x1ddf2e(0x18f)][_0x1ddf2e(0x1c8)](_0x5426a1=>{const _0x4628d1=_0x1ddf2e;if(_0x4628d1(0x18d)!=_0x5426a1[_0x4628d1(0x1da)]&&_0x4628d1(0x1b8)!=_0x5426a1[_0x4628d1(0x1da)])return;const {data:_0x125767}=_0x5426a1;return _0x125767&&_0x4628d1(0x182)==_0x125767[_0x4628d1(0x1c3)]?{'type':_0x4628d1(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x4628d1(0x1d7))}:void 0x0;}),_0xe05e13[_0x1ddf2e(0x18f)][_0x1ddf2e(0x1c8)](_0x24b970=>{const _0x2e0cb9=_0x1ddf2e;if(_0x2e0cb9(0x18d)!=_0x24b970[_0x2e0cb9(0x1da)]&&_0x2e0cb9(0x1b8)!=_0x24b970[_0x2e0cb9(0x1da)])return;const {data:_0x3e68d4}=_0x24b970;return _0x3e68d4?_0x2e0cb9(0x197)==_0x3e68d4[_0x2e0cb9(0x1c3)]?{'type':_0x2e0cb9(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x2e0cb9(0x1d4))}:_0x2e0cb9(0x1cf)==_0x3e68d4[_0x2e0cb9(0x1c3)]?{'type':_0x2e0cb9(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x2e0cb9(0x1d2))}:void 0x0:void 0x0;});const _0x4ced0b=_0x4f928b[_0x1ddf2e(0x17e)]();for(const _0x310f0b of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1dc),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6)])_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x310f0b,_0x1ddf2e(0x1ce),_0x4ced0b);for(const _0x2e7502 of[_0x1ddf2e(0x197),_0x1ddf2e(0x1cf)])_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x2e7502,_0x1ddf2e(0x1ce),_0x4ced0b);_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x1ddf2e(0x182),_0x1ddf2e(0x1ce),_0x1ec53a=>{const _0x19090d=_0x1ddf2e;_0x985e77[_0x19090d(0x1a7)][_0x19090d(0x1b0)](_0x53bb43=>{const _0x9dbd2e=_0x19090d,_0x102d5d=Array[_0x9dbd2e(0x1a0)](_0x5ca3a2[_0x9dbd2e(0x19a)]())[_0x9dbd2e(0x1ac)](_0x3d892f=>_0xb9036c[_0x9dbd2e(0x188)](_0x3d892f));_0x53bb43[_0x9dbd2e(0x1b3)](_0x1ec53a),_0x985e77[_0x9dbd2e(0x1bf)][_0x9dbd2e(0x1a1)](_0x9dbd2e(0x182))[_0x9dbd2e(0x1de)](),_0x985e77[_0x9dbd2e(0x1c0)](_0x9dbd2e(0x182),{'forceDefaultExecution':!0x0});const _0x16aa78=_0x102d5d[_0x9dbd2e(0x187)](_0x343e4d=>_0x9dbd2e(0x193)!=_0x343e4d[_0x9dbd2e(0x1b5)][_0x9dbd2e(0x1c5)]);_0x16aa78[_0x9dbd2e(0x1b7)]>0x0&&_0x53bb43[_0x9dbd2e(0x1b3)](_0x16aa78);for(const _0x30d982 of _0x102d5d)_0x30d982[_0x9dbd2e(0x192)]();});});for(const _0x37a203 of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6),_0x1ddf2e(0x1dc)]){const _0x21c112=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x37a203);_0x21c112['on'](_0x1ddf2e(0x1ad),(_0x54b10b,_0x36ae10,_0x385787)=>{const _0x5b8f16=_0x1ddf2e;if(_0x385787){const _0x1e292a=_0x985e77[_0x5b8f16(0x1a7)][_0x5b8f16(0x1b4)][_0x5b8f16(0x1c9)][_0x5b8f16(0x1c7)]()[_0x5b8f16(0x1d6)]()[_0x5b8f16(0x1b2)](_0x527975=>_0x527975['is'](_0x5b8f16(0x1bc),_0x5b8f16(0x198)));this[_0x5b8f16(0x1d3)](_0x21c112[_0x5b8f16(0x186)],_0x1e292a)||(_0x54b10b[_0x5b8f16(0x1cd)]=!0x1,_0x54b10b[_0x5b8f16(0x18b)]());}},{'priority':_0x1ddf2e(0x1b6)});}}[_0x24cfd4(0x1be)](){const _0x15a711=_0x24cfd4,_0x18bc2d=this[_0x15a711(0x1a3)][_0x15a711(0x1bf)][_0x15a711(0x1a1)](_0x15a711(0x182)),_0xd1adec=this[_0x15a711(0x1a3)][_0x15a711(0x183)][_0x15a711(0x1a1)](_0x15a711(0x1af));if(!_0x18bc2d[_0x15a711(0x18c)])return!0x1;const _0x4dec1a=_0xd1adec[_0x15a711(0x1aa)](this[_0x15a711(0x1a3)][_0x15a711(0x1a7)][_0x15a711(0x1b4)][_0x15a711(0x1c9)]);for(const _0x4eb5cf of _0x4dec1a)for(const _0x34eedc of _0x4dec1a)if(_0x4eb5cf!=_0x34eedc&&!this[_0x15a711(0x1d3)](_0x4eb5cf,_0x34eedc))return!0x1;return!0x0;}[_0x24cfd4(0x1d3)](_0x571f9c,_0xcfce80){const _0x2a383f=_0x24cfd4,_0x22ce65=this[_0x2a383f(0x1a3)][_0x2a383f(0x183)][_0x2a383f(0x1a1)](_0x2a383f(0x190)),_0x9e0fc1=this[_0x2a383f(0x1a3)][_0x2a383f(0x1a7)][_0x2a383f(0x1a5)](_0x571f9c),_0x2b153e=this[_0x2a383f(0x1a3)][_0x2a383f(0x1a7)][_0x2a383f(0x1a5)](_0xcfce80),_0x33f916=new Set(),_0x11f12f=new Set();for(const _0xbf5567 of _0x22ce65[_0x2a383f(0x19b)]())if((_0x2a383f(0x184)==_0xbf5567[_0x2a383f(0x1da)]||_0x2a383f(0x181)==_0xbf5567[_0x2a383f(0x1da)]||_0x2a383f(0x182)==_0xbf5567[_0x2a383f(0x18a)])&&_0xbf5567[_0x2a383f(0x1c1)]){for(const _0x13bfe0 of _0xbf5567[_0x2a383f(0x19a)]())_0x13bfe0[_0x2a383f(0x1c2)](_0x9e0fc1,!0x0)&&_0x33f916[_0x2a383f(0x18e)](_0xbf5567[_0x2a383f(0x1da)]+':'+_0xbf5567[_0x2a383f(0x1d9)]['id']),_0x13bfe0[_0x2a383f(0x1c2)](_0x2b153e,!0x0)&&_0x11f12f[_0x2a383f(0x18e)](_0xbf5567[_0x2a383f(0x1da)]+':'+_0xbf5567[_0x2a383f(0x1d9)]['id']);}if(_0x33f916[_0x2a383f(0x1ca)]!=_0x11f12f[_0x2a383f(0x1ca)])return!0x1;for(const _0x1e9822 of _0x33f916)if(!_0x11f12f[_0x2a383f(0x1ba)](_0x1e9822))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x243712=_0x5256;function _0x5256(_0x346999,_0x13f03b){const _0x510550=_0x5105();return _0x5256=function(_0x52564b,_0x1ac7d6){_0x52564b=_0x52564b-0x7d;let _0xe4fe90=_0x510550[_0x52564b];return _0xe4fe90;},_0x5256(_0x346999,_0x13f03b);}function _0x5105(){const _0x4b934e=['markBlockFormat','push','requires','plugins','size','find','TableEditing','model','stop','registerCustomCallback','*Split\x20cell:*\x20horizontally','highest','commands','122TUMZvH','isInContent','fromRange','cell','_areSelectedCellsMergable','TableUtils','_isForcedDefaultExecutionBlock','selection','return','5383RToWxy','enableCommand','horizontally','containsRange','getSuggestions','element','_suggestionFactory','format','isEnabled','registerDescriptionCallback','deletion','formatBlock','_acceptFormatSuggestionCallbackFactory','6107049PYPWpd','document','has','mergeTableCellLeft','editor','from','2466888QpwDaH','findAncestor','mergeTableCellUp','getSelectionAffectedTableCells','locale','getFirstPosition','change','direction','_areMergableCells','commandName','descriptionFactory','get','set:isEnabled','setSelection','type','createRangeOn','forceDefaultExecution','value','createTableWalker','getCellLocation','rootName','getAncestors','1377764jpuTXs','mergeTableCells','882fHHeOU','_tablePostFixingSubtypes','detach','getRanges','$graveyard','execute','table','map','*Merge\x20cells*','tableCell','low','insertion','mergeTableCellRight','add','618735TNaAGY','mergeTableCellDown','splitTableCellVertically','accept','root','length','formatInline','972144tpIAZp','TrackChangesEditing','splitTableCellHorizontally','afterInit','trackChanges','subType','15306GwZGJG','author','refresh','filter','*Split\x20cell:*\x20vertically','markMultiRangeBlockFormat'];_0x5105=function(){return _0x4b934e;};return _0x5105();}(function(_0x351e69,_0xe94f91){const _0x87ef4b=_0x5256,_0x34f5e7=_0x351e69();while(!![]){try{const _0x39de20=-parseInt(_0x87ef4b(0xdb))/0x1*(-parseInt(_0x87ef4b(0xd2))/0x2)+parseInt(_0x87ef4b(0xb9))/0x3+parseInt(_0x87ef4b(0xa2))/0x4+-parseInt(_0x87ef4b(0xb2))/0x5+-parseInt(_0x87ef4b(0xbf))/0x6*(parseInt(_0x87ef4b(0xa4))/0x7)+parseInt(_0x87ef4b(0x8c))/0x8+-parseInt(_0x87ef4b(0x86))/0x9;if(_0x39de20===_0xe94f91)break;else _0x34f5e7['push'](_0x34f5e7['shift']());}catch(_0x26555d){_0x34f5e7['push'](_0x34f5e7['shift']());}}}(_0x5105,0x2c4e7));import{Plugin as _0x154640}from'ckeditor5/src/core.js';import _0x59ac0f from'./table.js';import{LiveRange as _0x2cdf66}from'ckeditor5/src/engine.js';import{getTranslation as _0x3f39a7}from'../utils/common-translations.js';export default class St extends _0x154640{static get[_0x243712(0xc7)](){return[_0x59ac0f];}[_0x243712(0xbc)](){const _0x5a943a=_0x243712,_0x4f9878=this[_0x5a943a(0x8a)],_0x3a8da7=_0x4f9878[_0x5a943a(0xcc)][_0x5a943a(0x87)][_0x5a943a(0xd9)],_0x3a7c8b=_0x4f9878[_0x5a943a(0x90)];if(!_0x4f9878[_0x5a943a(0xc8)][_0x5a943a(0x88)](_0x5a943a(0xcb)))return;const _0x19a467=_0x4f9878[_0x5a943a(0xc8)][_0x5a943a(0x97)](_0x5a943a(0xba)),_0x4e74c9=_0x4f9878[_0x5a943a(0xc8)][_0x5a943a(0x97)](_0x5a943a(0xd7)),_0x4230c5=_0x4f9878[_0x5a943a(0xc8)][_0x5a943a(0x97)](_0x59ac0f);_0x4230c5[_0x5a943a(0xa5)][_0x5a943a(0xc6)](_0x5a943a(0xa3)),_0x19a467[_0x5a943a(0xdc)](_0x5a943a(0xa3),()=>{const _0x45d300=_0x5a943a,_0x17da2c=_0x4e74c9[_0x45d300(0x8f)](_0x4f9878[_0x45d300(0xcc)][_0x45d300(0x87)][_0x45d300(0xd9)]);_0x4f9878[_0x45d300(0xcc)][_0x45d300(0x92)](()=>{const _0x31d4b9=_0x45d300;_0x19a467[_0x31d4b9(0xc4)](_0x17da2c,{'commandName':_0x31d4b9(0xa3),'commandParams':[]},[],_0x31d4b9(0xa3));});}),_0x4f9878[_0x5a943a(0xd1)][_0x5a943a(0x97)](_0x5a943a(0xa3))['on'](_0x5a943a(0xa9),(_0x1e5305,_0x577fd1)=>{const _0x505b98=_0x5a943a;_0x4f9878[_0x505b98(0xd1)][_0x505b98(0x97)](_0x505b98(0xbd))[_0x505b98(0x9d)]&&(_0x577fd1[_0x505b98(0xb7)]>0x0&&_0x577fd1[_0x577fd1[_0x505b98(0xb7)]-0x1]&&_0x577fd1[_0x577fd1[_0x505b98(0xb7)]-0x1][_0x505b98(0x9c)]||_0x19a467[_0x505b98(0xd8)]||this[_0x505b98(0xd6)]()||_0x1e5305[_0x505b98(0xcd)]());},{'priority':_0x5a943a(0xd0)});for(const _0x13a01c of[_0x5a943a(0x8e),_0x5a943a(0xb0),_0x5a943a(0xb3),_0x5a943a(0x89)]){const _0x120ca6=_0x4f9878[_0x5a943a(0xd1)][_0x5a943a(0x97)](_0x13a01c);_0x19a467[_0x5a943a(0xdc)](_0x13a01c,()=>{const _0x3dcd9b=_0x5a943a,_0x13ebe9=_0x4f9878[_0x3dcd9b(0xcc)][_0x3dcd9b(0x87)][_0x3dcd9b(0xd9)][_0x3dcd9b(0x91)]()[_0x3dcd9b(0xa1)]()[_0x3dcd9b(0xca)](_0x52182f=>_0x52182f['is'](_0x3dcd9b(0x7e),_0x3dcd9b(0xad))),_0x1fb86c=_0x120ca6[_0x3dcd9b(0x9d)];_0x4f9878[_0x3dcd9b(0xcc)][_0x3dcd9b(0x92)](()=>{const _0x53472f=_0x3dcd9b;_0x19a467[_0x53472f(0xc4)]([_0x13ebe9,_0x1fb86c],{'commandName':_0x53472f(0xa3),'commandParams':[]},[],_0x53472f(0xa3));});});}for(const _0x327e7c of[_0x5a943a(0xb4),_0x5a943a(0xbb)]){const _0x374b64=_0x4f9878[_0x5a943a(0xd1)][_0x5a943a(0x97)](_0x327e7c);_0x19a467[_0x5a943a(0xdc)](_0x327e7c,()=>{const _0x19de9f=_0x5a943a,_0x2d81a2=_0x4e74c9[_0x19de9f(0x8f)](_0x4f9878[_0x19de9f(0xcc)][_0x19de9f(0x87)][_0x19de9f(0xd9)])[0x0],_0x4a5b9b=_0x2d81a2[_0x19de9f(0x8d)](_0x19de9f(0xaa)),{column:_0x507833,row:_0x79e73}=_0x4e74c9[_0x19de9f(0x9f)](_0x2d81a2);let _0xe5ccd7=[];if(_0x19de9f(0xdd)==_0x374b64[_0x19de9f(0x93)]){const _0x3aeabb=_0x4e74c9[_0x19de9f(0x9e)](_0x4a5b9b,{'startRow':_0x79e73,'endRow':_0x79e73,'includeAllSlots':!0x0});_0xe5ccd7=Array[_0x19de9f(0x8b)](_0x3aeabb)[_0x19de9f(0xab)](_0xf7d59b=>_0xf7d59b[_0x19de9f(0xd5)]);}else{const _0x59f85e=_0x4e74c9[_0x19de9f(0x9e)](_0x4a5b9b,{'column':_0x507833,'includeAllSlots':!0x0});_0xe5ccd7=Array[_0x19de9f(0x8b)](_0x59f85e)[_0x19de9f(0xab)](_0x448c07=>_0x448c07[_0x19de9f(0xd5)]);}_0x4f9878[_0x19de9f(0xcc)][_0x19de9f(0x92)](_0x3e2fe9=>{const _0x5d2226=_0x19de9f;_0x19a467[_0x5d2226(0xc5)](_0x3e2fe9[_0x5d2226(0x9b)](_0x2d81a2),{'commandName':_0x327e7c,'commandParams':[]},_0xe5ccd7,_0x327e7c);});});}_0x19a467[_0x5a943a(0x96)][_0x5a943a(0x82)](_0x7e0511=>{const _0x41b0db=_0x5a943a;if(_0x41b0db(0x84)!=_0x7e0511[_0x41b0db(0x9a)]&&_0x41b0db(0xb8)!=_0x7e0511[_0x41b0db(0x9a)])return;const {data:_0x39bba0}=_0x7e0511;return _0x39bba0&&_0x41b0db(0xa3)==_0x39bba0[_0x41b0db(0x95)]?{'type':_0x41b0db(0x80),'content':_0x3f39a7(_0x3a7c8b,_0x41b0db(0xac))}:void 0x0;}),_0x19a467[_0x5a943a(0x96)][_0x5a943a(0x82)](_0x3ec8ef=>{const _0x4eedb1=_0x5a943a;if(_0x4eedb1(0x84)!=_0x3ec8ef[_0x4eedb1(0x9a)]&&_0x4eedb1(0xb8)!=_0x3ec8ef[_0x4eedb1(0x9a)])return;const {data:_0x16b90b}=_0x3ec8ef;return _0x16b90b?_0x4eedb1(0xb4)==_0x16b90b[_0x4eedb1(0x95)]?{'type':_0x4eedb1(0x80),'content':_0x3f39a7(_0x3a7c8b,_0x4eedb1(0xc3))}:_0x4eedb1(0xbb)==_0x16b90b[_0x4eedb1(0x95)]?{'type':_0x4eedb1(0x80),'content':_0x3f39a7(_0x3a7c8b,_0x4eedb1(0xcf))}:void 0x0:void 0x0;});const _0x471ce6=_0x4230c5[_0x5a943a(0x85)]();for(const _0x5f2105 of[_0x5a943a(0x8e),_0x5a943a(0xb0),_0x5a943a(0xb3),_0x5a943a(0x89)])_0x19a467[_0x5a943a(0x7f)][_0x5a943a(0xce)](_0x5a943a(0x84),_0x5f2105,_0x5a943a(0xb5),_0x471ce6);for(const _0x593456 of[_0x5a943a(0xb4),_0x5a943a(0xbb)])_0x19a467[_0x5a943a(0x7f)][_0x5a943a(0xce)](_0x5a943a(0x84),_0x593456,_0x5a943a(0xb5),_0x471ce6);_0x19a467[_0x5a943a(0x7f)][_0x5a943a(0xce)](_0x5a943a(0x84),_0x5a943a(0xa3),_0x5a943a(0xb5),_0x1e12d0=>{const _0x1880b7=_0x5a943a;_0x4f9878[_0x1880b7(0xcc)][_0x1880b7(0x92)](_0x42b9d9=>{const _0x2df65b=_0x1880b7,_0x209fef=Array[_0x2df65b(0x8b)](_0x3a8da7[_0x2df65b(0xa7)]())[_0x2df65b(0xab)](_0x437f8e=>_0x2cdf66[_0x2df65b(0xd4)](_0x437f8e));_0x42b9d9[_0x2df65b(0x99)](_0x1e12d0),_0x4f9878[_0x2df65b(0xd1)][_0x2df65b(0x97)](_0x2df65b(0xa3))[_0x2df65b(0xc1)](),_0x4f9878[_0x2df65b(0xa9)](_0x2df65b(0xa3),{'forceDefaultExecution':!0x0});const _0x2ed554=_0x209fef[_0x2df65b(0xc2)](_0x5a47e5=>_0x2df65b(0xa8)!=_0x5a47e5[_0x2df65b(0xb6)][_0x2df65b(0xa0)]);_0x2ed554[_0x2df65b(0xb7)]>0x0&&_0x42b9d9[_0x2df65b(0x99)](_0x2ed554);for(const _0x191a8d of _0x209fef)_0x191a8d[_0x2df65b(0xa6)]();});});for(const _0x3b7914 of[_0x5a943a(0x8e),_0x5a943a(0xb3),_0x5a943a(0x89),_0x5a943a(0xb0)]){const _0x2ae777=_0x4f9878[_0x5a943a(0xd1)][_0x5a943a(0x97)](_0x3b7914);_0x2ae777['on'](_0x5a943a(0x98),(_0x119fb0,_0x3a94aa,_0x93f709)=>{const _0xa0786b=_0x5a943a;if(_0x93f709){const _0xe222ea=_0x4f9878[_0xa0786b(0xcc)][_0xa0786b(0x87)][_0xa0786b(0xd9)][_0xa0786b(0x91)]()[_0xa0786b(0xa1)]()[_0xa0786b(0xca)](_0x54423c=>_0x54423c['is'](_0xa0786b(0x7e),_0xa0786b(0xad)));this[_0xa0786b(0x94)](_0x2ae777[_0xa0786b(0x9d)],_0xe222ea)||(_0x119fb0[_0xa0786b(0xda)]=!0x1,_0x119fb0[_0xa0786b(0xcd)]());}},{'priority':_0x5a943a(0xae)});}}[_0x243712(0xd6)](){const _0x142768=_0x243712,_0x5220f9=this[_0x142768(0x8a)][_0x142768(0xd1)][_0x142768(0x97)](_0x142768(0xa3)),_0x1887b6=this[_0x142768(0x8a)][_0x142768(0xc8)][_0x142768(0x97)](_0x142768(0xd7));if(!_0x5220f9[_0x142768(0x81)])return!0x1;const _0x111cda=_0x1887b6[_0x142768(0x8f)](this[_0x142768(0x8a)][_0x142768(0xcc)][_0x142768(0x87)][_0x142768(0xd9)]);for(const _0x415b88 of _0x111cda)for(const _0x441a03 of _0x111cda)if(_0x415b88!=_0x441a03&&!this[_0x142768(0x94)](_0x415b88,_0x441a03))return!0x1;return!0x0;}[_0x243712(0x94)](_0x1fa497,_0x4911eb){const _0x11877c=_0x243712,_0xb9d04a=this[_0x11877c(0x8a)][_0x11877c(0xc8)][_0x11877c(0x97)](_0x11877c(0xba)),_0x4f0a28=this[_0x11877c(0x8a)][_0x11877c(0xcc)][_0x11877c(0x9b)](_0x1fa497),_0x56cf82=this[_0x11877c(0x8a)][_0x11877c(0xcc)][_0x11877c(0x9b)](_0x4911eb),_0x5340b8=new Set(),_0x55dfef=new Set();for(const _0x4ea149 of _0xb9d04a[_0x11877c(0x7d)]())if((_0x11877c(0xaf)==_0x4ea149[_0x11877c(0x9a)]||_0x11877c(0x83)==_0x4ea149[_0x11877c(0x9a)]||_0x11877c(0xa3)==_0x4ea149[_0x11877c(0xbe)])&&_0x4ea149[_0x11877c(0xd3)]){for(const _0x3ac5ed of _0x4ea149[_0x11877c(0xa7)]())_0x3ac5ed[_0x11877c(0xde)](_0x4f0a28,!0x0)&&_0x5340b8[_0x11877c(0xb1)](_0x4ea149[_0x11877c(0x9a)]+':'+_0x4ea149[_0x11877c(0xc0)]['id']),_0x3ac5ed[_0x11877c(0xde)](_0x56cf82,!0x0)&&_0x55dfef[_0x11877c(0xb1)](_0x4ea149[_0x11877c(0x9a)]+':'+_0x4ea149[_0x11877c(0xc0)]['id']);}if(_0x5340b8[_0x11877c(0xc9)]!=_0x55dfef[_0x11877c(0xc9)])return!0x1;for(const _0x47bef7 of _0x5340b8)if(!_0x55dfef[_0x11877c(0x88)](_0x47bef7))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a34f9=_0x50ef;(function(_0x6236bd,_0x42f0eb){const _0x46fb81=_0x50ef,_0x4da0ad=_0x6236bd();while(!![]){try{const _0x2dbe0b=parseInt(_0x46fb81(0x178))/0x1+-parseInt(_0x46fb81(0x176))/0x2*(-parseInt(_0x46fb81(0x187))/0x3)+-parseInt(_0x46fb81(0x181))/0x4+-parseInt(_0x46fb81(0x183))/0x5*(parseInt(_0x46fb81(0x175))/0x6)+-parseInt(_0x46fb81(0x182))/0x7+parseInt(_0x46fb81(0x189))/0x8*(-parseInt(_0x46fb81(0x185))/0x9)+parseInt(_0x46fb81(0x179))/0xa*(parseInt(_0x46fb81(0x17f))/0xb);if(_0x2dbe0b===_0x42f0eb)break;else _0x4da0ad['push'](_0x4da0ad['shift']());}catch(_0x58e6a3){_0x4da0ad['push'](_0x4da0ad['shift']());}}}(_0x1f6a,0x9b1fc));import{Plugin as _0x1bf4cf}from'ckeditor5/src/core.js';import{getTranslation as _0xc28d7a}from'../utils/common-translations.js';function _0x50ef(_0x3d8706,_0x162de9){const _0x1f6abb=_0x1f6a();return _0x50ef=function(_0x50ef77,_0x1ee609){_0x50ef77=_0x50ef77-0x175;let _0x350fea=_0x1f6abb[_0x50ef77];return _0x350fea;},_0x50ef(_0x3d8706,_0x162de9);}export default class _t extends _0x1bf4cf{[_0x2a34f9(0x180)](){const _0x1a8eb3=_0x2a34f9,_0x303ab3=this[_0x1a8eb3(0x184)];if(!_0x303ab3[_0x1a8eb3(0x177)][_0x1a8eb3(0x18b)](_0x1a8eb3(0x17a)))return;_0x303ab3[_0x1a8eb3(0x17c)][_0x1a8eb3(0x18b)](_0x1a8eb3(0x188))[_0x1a8eb3(0x18c)](_0x1a8eb3(0x17a));const _0x434658=_0x303ab3[_0x1a8eb3(0x17c)][_0x1a8eb3(0x18b)](_0x1a8eb3(0x188)),_0x4642ed=_0x303ab3[_0x1a8eb3(0x17d)];_0x434658[_0x1a8eb3(0x18a)][_0x1a8eb3(0x186)](_0x1a8eb3(0x17b),_0x1565c7=>_0xc28d7a(_0x4642ed,_0x1a8eb3(0x17e),_0x1565c7));}}function _0x1f6a(){const _0x5d2a84=['ELEMENT_TABLE_OF_CONTENTS','610115RWQvXe','afterInit','4887976eLBKkw','5495700URErGW','1745195QpWOxm','editor','322182OtFaQF','registerElementLabel','260121HTvWvd','TrackChangesEditing','136xnouoA','descriptionFactory','get','enableCommand','6qCgrzq','4oYaAgl','commands','819818UgSioE','470LqivcQ','insertTableOfContents','tableOfContents','plugins','locale'];_0x1f6a=function(){return _0x5d2a84;};return _0x1f6a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3eda(){const _0x59641a=['change','get','selection','tableWidth','nodeAfter','tableBorderColor','tableCellBorderColor','9292212NYHiom','join','tableCellVerticalAlignment','299380sdDLfe','tableBackgroundColor','formatBlock','*Format:*\x20change\x20table\x20properties','registerCustomCallback','getContainedElement','tableCellPadding','TablePropertiesEditing','TrackChangesTableProperties','table','4yDRcLa','discard','4316448CqThJT','getAttribute','tableBorderWidth','5305896ZdBdUM','tableCellHorizontalAlignment','accept','data','format','descriptionFactory','enableCommand','getSuggestionCallback','tableCellProperties','afterInit','tableHeight','pluginName','removeAttribute','_getSuggestion','771900XdgAHr','11cJGsep','_handlePropertyChange','has','getSuggestions','185537JMsVCK','TableUtils','editor','registerDescriptionCallback','plugins','tableAlignment','tableCellHeight','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderStyle','tableCellBackgroundColor','7spOfFE','batch','locale','TableCellPropertiesEditing','TrackChangesEditing','tableCellBorderStyle','findAncestor','handleDiscardAction','getSelectionAffectedTableCells','tableProperties','document','handleSuggestionDescription','enqueueChange','tableCellWidth','commandParams','subType','markBlockFormat','model','getFirstPosition','85nybvOp','_suggestionFactory','tableCellBorderWidth','30334750VvgIcw','setAttribute','start'];_0x3eda=function(){return _0x59641a;};return _0x3eda();}const _0x261050=_0x1782;(function(_0x4f015b,_0x23368d){const _0x44c7ba=_0x1782,_0xc736a8=_0x4f015b();while(!![]){try{const _0x2b21ca=-parseInt(_0x44c7ba(0x18f))/0x1*(-parseInt(_0x44c7ba(0x1c6))/0x2)+-parseInt(_0x44c7ba(0x18a))/0x3+-parseInt(_0x44c7ba(0x1bc))/0x4*(parseInt(_0x44c7ba(0x1ac))/0x5)+-parseInt(_0x44c7ba(0x1c8))/0x6+-parseInt(_0x44c7ba(0x199))/0x7*(-parseInt(_0x44c7ba(0x1cb))/0x8)+-parseInt(_0x44c7ba(0x1b9))/0x9+-parseInt(_0x44c7ba(0x1af))/0xa*(-parseInt(_0x44c7ba(0x18b))/0xb);if(_0x2b21ca===_0x23368d)break;else _0xc736a8['push'](_0xc736a8['shift']());}catch(_0x28e31e){_0xc736a8['push'](_0xc736a8['shift']());}}}(_0x3eda,0xbff45));function _0x1782(_0x2a97e0,_0x4de6ee){const _0x3edab6=_0x3eda();return _0x1782=function(_0x17827d,_0x2b3053){_0x17827d=_0x17827d-0x188;let _0x923eef=_0x3edab6[_0x17827d];return _0x923eef;},_0x1782(_0x2a97e0,_0x4de6ee);}import{Plugin as _0x38a802}from'ckeditor5/src/core.js';import{getTranslation as _0x4c10e2}from'../utils/common-translations.js';export default class $t extends _0x38a802{constructor(_0x4d944e){const _0x4a6516=_0x1782;super(_0x4d944e),this[_0x4a6516(0x1a2)]=[_0x4a6516(0x1b7),_0x4a6516(0x197),_0x4a6516(0x1ca),_0x4a6516(0x194),_0x4a6516(0x1b5),_0x4a6516(0x1d5),_0x4a6516(0x1bd)],this[_0x4a6516(0x1d3)]=[_0x4a6516(0x1b8),_0x4a6516(0x19e),_0x4a6516(0x1ae),_0x4a6516(0x1c2),_0x4a6516(0x1a6),_0x4a6516(0x195),_0x4a6516(0x198),_0x4a6516(0x1cc),_0x4a6516(0x1bb)];}static get[_0x261050(0x1d6)](){const _0x7078d6=_0x261050;return _0x7078d6(0x1c4);}[_0x261050(0x1d4)](){const _0xc3bb82=_0x261050,_0x2e8c15=this[_0xc3bb82(0x191)][_0xc3bb82(0x193)][_0xc3bb82(0x1b3)](_0xc3bb82(0x19d));if(this[_0xc3bb82(0x191)][_0xc3bb82(0x193)][_0xc3bb82(0x18d)](_0xc3bb82(0x1c3))){for(const _0xb5f7d0 of this[_0xc3bb82(0x1a2)])_0x2e8c15[_0xc3bb82(0x1d1)](_0xb5f7d0,(_0x357101,_0x2d7188)=>{const _0x26c3dd=_0xc3bb82,_0x42b087=this[_0x26c3dd(0x191)][_0x26c3dd(0x1aa)][_0x26c3dd(0x1a3)][_0x26c3dd(0x1b4)][_0x26c3dd(0x1ab)]()[_0x26c3dd(0x19f)](_0x26c3dd(0x1c5));this[_0x26c3dd(0x18c)](_0xb5f7d0,[_0x42b087],this[_0x26c3dd(0x1a2)],_0x26c3dd(0x1a2),_0x357101,_0x2d7188);});_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1a2),_0xc3bb82(0x1cd),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1d2)](_0xc3bb82(0x1be),null,_0xc3bb82(0x1c7))),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1a2),_0xc3bb82(0x1c7),(_0x1435fd,_0x356c5b)=>this[_0xc3bb82(0x1a0)](this[_0xc3bb82(0x1a2)],_0x1435fd,_0x356c5b)),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1a2),_0xc3bb82(0x1ba),()=>!0x1);}if(this[_0xc3bb82(0x191)][_0xc3bb82(0x193)][_0xc3bb82(0x18d)](_0xc3bb82(0x19c))){for(const _0x2efb48 of this[_0xc3bb82(0x1d3)])_0x2e8c15[_0xc3bb82(0x1d1)](_0x2efb48,(_0x182e44,_0x3dd176)=>{const _0x5991da=_0xc3bb82,_0x773684=this[_0x5991da(0x191)][_0x5991da(0x193)][_0x5991da(0x1b3)](_0x5991da(0x190))[_0x5991da(0x1a1)](this[_0x5991da(0x191)][_0x5991da(0x1aa)][_0x5991da(0x1a3)][_0x5991da(0x1b4)]);this[_0x5991da(0x18c)](_0x2efb48,_0x773684,this[_0x5991da(0x1d3)],_0x5991da(0x1d3),_0x182e44,_0x3dd176);});_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1d3),_0xc3bb82(0x1cd),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1d2)](_0xc3bb82(0x1be),null,_0xc3bb82(0x1c7))),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1d3),_0xc3bb82(0x1c7),(_0x21b569,_0x506eb8)=>this[_0xc3bb82(0x1a0)](this[_0xc3bb82(0x1d3)],_0x21b569,_0x506eb8)),_0x2e8c15[_0xc3bb82(0x1ad)][_0xc3bb82(0x1c0)](_0xc3bb82(0x1be),_0xc3bb82(0x1d3),_0xc3bb82(0x1ba),()=>!0x1);}_0x2e8c15[_0xc3bb82(0x1d0)][_0xc3bb82(0x192)](_0x41a9f5=>this[_0xc3bb82(0x1a4)](_0x41a9f5));}[_0x261050(0x18c)](_0x1c2f71,_0x33ecb7,_0x57b121,_0x69ca72,_0x85d5ae,_0x2b7a23){const _0x4589b4=_0x261050,_0x4c6bf2=this[_0x4589b4(0x191)][_0x4589b4(0x193)][_0x4589b4(0x1b3)](_0x4589b4(0x19d));this[_0x4589b4(0x191)][_0x4589b4(0x1aa)][_0x4589b4(0x1a5)](_0x2b7a23[_0x4589b4(0x19a)],()=>{const _0x4fbdd4=_0x4589b4;for(const _0x44f204 of _0x33ecb7){if(this[_0x4fbdd4(0x189)](_0x44f204,_0x69ca72))_0x85d5ae(_0x2b7a23);else{const _0x980294={};for(const _0x2b4c5d of _0x57b121){const _0x25dfa0=_0x44f204[_0x4fbdd4(0x1c9)](_0x2b4c5d);void 0x0!==_0x25dfa0&&(_0x980294[_0x2b4c5d]=_0x25dfa0);}_0x85d5ae(_0x2b7a23),_0x4c6bf2[_0x4fbdd4(0x1a9)](_0x44f204,{'commandParams':[_0x980294]},[],_0x69ca72);}}});}[_0x261050(0x1a0)](_0x226b94,_0x188a91,_0x499312){const _0x1c25a9=_0x261050,_0xa127ca=_0x188a91[0x0][_0x1c25a9(0x1b1)][_0x1c25a9(0x1b6)],_0x4a81aa=_0x499312[_0x1c25a9(0x1a7)][0x0];this[_0x1c25a9(0x191)][_0x1c25a9(0x1aa)][_0x1c25a9(0x1b2)](_0x320153=>{const _0x9de839=_0x1c25a9;for(const _0x50067c of _0x226b94)void 0x0!==_0x4a81aa[_0x50067c]?_0x320153[_0x9de839(0x1b0)](_0x50067c,_0x4a81aa[_0x50067c],_0xa127ca):_0x320153[_0x9de839(0x188)](_0x50067c,_0xa127ca);});}[_0x261050(0x1a4)](_0x806829){const _0x29d35a=_0x261050;if(_0x806829[_0x29d35a(0x1ce)])switch(_0x806829[_0x29d35a(0x1a8)]){case _0x29d35a(0x1a2):return{'type':_0x29d35a(0x1cf),'content':_0x4c10e2(this[_0x29d35a(0x191)][_0x29d35a(0x19b)],_0x29d35a(0x1bf))};case _0x29d35a(0x1d3):return{'type':_0x29d35a(0x1cf),'content':_0x4c10e2(this[_0x29d35a(0x191)][_0x29d35a(0x19b)],_0x29d35a(0x196))};}}[_0x261050(0x189)](_0x27fa65,_0x5d616f){const _0x8a1647=_0x261050,_0x56e866=this[_0x8a1647(0x191)][_0x8a1647(0x193)][_0x8a1647(0x1b3)](_0x8a1647(0x19d));for(const _0x28960f of _0x56e866[_0x8a1647(0x18e)]({'skipNotAttached':!0x0})){const _0x5f56c3=_0x28960f[_0x8a1647(0x1c1)]();if(_0x28960f[_0x8a1647(0x1a8)]===_0x5d616f&&_0x5f56c3===_0x27fa65)return _0x28960f;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2734a4=_0x43e0;(function(_0x4d1931,_0x13a589){const _0x254f47=_0x43e0,_0x330abe=_0x4d1931();while(!![]){try{const _0x211e8d=parseInt(_0x254f47(0x1db))/0x1*(parseInt(_0x254f47(0x1d0))/0x2)+-parseInt(_0x254f47(0x1ce))/0x3+parseInt(_0x254f47(0x1da))/0x4+parseInt(_0x254f47(0x1d1))/0x5*(parseInt(_0x254f47(0x1d3))/0x6)+parseInt(_0x254f47(0x1d7))/0x7*(parseInt(_0x254f47(0x1d5))/0x8)+parseInt(_0x254f47(0x1d6))/0x9+-parseInt(_0x254f47(0x1cb))/0xa*(parseInt(_0x254f47(0x1d8))/0xb);if(_0x211e8d===_0x13a589)break;else _0x330abe['push'](_0x330abe['shift']());}catch(_0x5e8d27){_0x330abe['push'](_0x330abe['shift']());}}}(_0x557b,0x50098));function _0x43e0(_0x24b35d,_0x1a6090){const _0x557be6=_0x557b();return _0x43e0=function(_0x43e083,_0x3f36cb){_0x43e083=_0x43e083-0x1cb;let _0x519ffd=_0x557be6[_0x43e083];return _0x519ffd;},_0x43e0(_0x24b35d,_0x1a6090);}import{Plugin as _0x369ad7}from'ckeditor5/src/core.js';function _0x557b(){const _0x2adcef=['1340gXKsFs','enableCommand','102KnKJMx','get','16XMcECS','3827556PWarEr','1127847GFacBn','215941enRjUw','editor','420056vQRIdk','38359aqJQwj','Template','has','plugins','170mLoicu','afterInit','TrackChangesEditing','701688gapMHu','insertTemplate','2ISMjTa'];_0x557b=function(){return _0x2adcef;};return _0x557b();}export default class Ct extends _0x369ad7{[_0x2734a4(0x1cc)](){const _0x1e2d2d=_0x2734a4,_0x244b48=this[_0x1e2d2d(0x1d9)];_0x244b48[_0x1e2d2d(0x1de)][_0x1e2d2d(0x1dd)](_0x1e2d2d(0x1dc))&&_0x244b48[_0x1e2d2d(0x1de)][_0x1e2d2d(0x1d4)](_0x1e2d2d(0x1cd))[_0x1e2d2d(0x1d2)](_0x1e2d2d(0x1cf));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a8565=_0x4a31;(function(_0x38c83d,_0x251f5a){const _0x295d12=_0x4a31,_0x280637=_0x38c83d();while(!![]){try{const _0x534c48=parseInt(_0x295d12(0x17a))/0x1+parseInt(_0x295d12(0x17f))/0x2+-parseInt(_0x295d12(0x184))/0x3+parseInt(_0x295d12(0x173))/0x4*(-parseInt(_0x295d12(0x16d))/0x5)+parseInt(_0x295d12(0x18e))/0x6+parseInt(_0x295d12(0x18f))/0x7*(-parseInt(_0x295d12(0x169))/0x8)+-parseInt(_0x295d12(0x166))/0x9*(-parseInt(_0x295d12(0x167))/0xa);if(_0x534c48===_0x251f5a)break;else _0x280637['push'](_0x280637['shift']());}catch(_0x459f8f){_0x280637['push'](_0x280637['shift']());}}}(_0x1be3,0xa743f));function _0x4a31(_0x46f54a,_0x149596){const _0x1be3ab=_0x1be3();return _0x4a31=function(_0x4a31a4,_0x587ebd){_0x4a31a4=_0x4a31a4-0x165;let _0x322bd8=_0x1be3ab[_0x4a31a4];return _0x322bd8;},_0x4a31(_0x46f54a,_0x149596);}import{Plugin as _0x2d61d0}from'ckeditor5/src/core.js';import{getTranslation as _0x42b644}from'../utils/common-translations.js';function _0x1be3(){const _0x3d575c=['10IbUZmC','TrackChangesEditing','isTouching','editor','createRange','document','1493452VbcGPZ','ELEMENT_TITLE','suggestion','registerElementLabel','getNearestSelectionRange','newRange','from','827804taIQOt','element','model','nodeBefore','descriptionFactory','2024202mbCLHH','has','_splitMarkerName','title-content','end','2437782tJIwhf','start','locale','isCollapsed','forward','getChangedMarkers','updateMarker','schema','get','Title','2491626tVdmUZ','14dcqteP','isEqual','plugins','43425GvzZxN','2510DNLPOT','registerPostFixer','4887248oUxqJS','afterInit','differ','removeMarker'];_0x1be3=function(){return _0x3d575c;};return _0x1be3();}export default class Dt extends _0x2d61d0{[_0x5a8565(0x16a)](){const _0x500b84=_0x5a8565,_0x1cf4a9=this[_0x500b84(0x170)];if(!_0x1cf4a9[_0x500b84(0x165)][_0x500b84(0x180)](_0x500b84(0x18d)))return;const _0x2ebe66=_0x1cf4a9[_0x500b84(0x165)][_0x500b84(0x18c)](_0x500b84(0x16e));_0x2ebe66[_0x500b84(0x17e)][_0x500b84(0x176)](_0x500b84(0x182),()=>_0x42b644(_0x1cf4a9[_0x500b84(0x186)],_0x500b84(0x174))),_0x1cf4a9[_0x500b84(0x17c)][_0x500b84(0x172)][_0x500b84(0x168)](_0x182895=>{const _0xdf324e=_0x500b84;let _0x435ee9=!0x1;const _0x37eca9=Array[_0xdf324e(0x179)](_0x1cf4a9[_0xdf324e(0x17c)][_0xdf324e(0x172)][_0xdf324e(0x16b)][_0xdf324e(0x189)]());for(const {name:_0x4f28fd,data:_0x4c706c}of _0x37eca9){const {group:_0x2d8fdf}=_0x2ebe66[_0xdf324e(0x181)](_0x4f28fd);if(_0xdf324e(0x175)!==_0x2d8fdf||!_0x4c706c[_0xdf324e(0x178)])continue;const _0x1f4fe3=_0x4c706c[_0xdf324e(0x178)],_0x3df61f=_0x1f4fe3[_0xdf324e(0x183)][_0xdf324e(0x17d)];if(!_0x3df61f||!_0x3df61f['is'](_0xdf324e(0x17b),_0xdf324e(0x182)))continue;if(!_0x1f4fe3[_0xdf324e(0x185)][_0xdf324e(0x16f)](_0x1f4fe3[_0xdf324e(0x183)]))continue;const _0x26c076=_0x1cf4a9[_0xdf324e(0x17c)][_0xdf324e(0x18b)][_0xdf324e(0x177)](_0x1f4fe3[_0xdf324e(0x183)],_0xdf324e(0x188));if(_0x26c076&&_0x26c076[_0xdf324e(0x187)]){const _0x3ce7f9=_0x182895[_0xdf324e(0x171)](_0x1f4fe3[_0xdf324e(0x185)],_0x26c076[_0xdf324e(0x185)]);_0x3ce7f9[_0xdf324e(0x190)](_0x1f4fe3)||(_0x182895[_0xdf324e(0x18a)](_0x4f28fd,{'range':_0x3ce7f9}),_0x435ee9=!0x0);}_0x435ee9||(_0x182895[_0xdf324e(0x16c)](_0x4f28fd),_0x435ee9=!0x0);}return _0x435ee9;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x53ac(_0x4dbd46,_0x10dc06){const _0x282964=_0x2829();return _0x53ac=function(_0x53ac8b,_0x5c8c12){_0x53ac8b=_0x53ac8b-0x1ea;let _0x2be0d1=_0x282964[_0x53ac8b];return _0x2be0d1;},_0x53ac(_0x4dbd46,_0x10dc06);}const _0x276f2e=_0x53ac;(function(_0x2d5960,_0x36b214){const _0x52acb0=_0x53ac,_0x47280d=_0x2d5960();while(!![]){try{const _0x44feb7=-parseInt(_0x52acb0(0x1ff))/0x1+-parseInt(_0x52acb0(0x1f4))/0x2*(-parseInt(_0x52acb0(0x1f8))/0x3)+-parseInt(_0x52acb0(0x1fe))/0x4*(parseInt(_0x52acb0(0x1f2))/0x5)+-parseInt(_0x52acb0(0x1fa))/0x6*(parseInt(_0x52acb0(0x1f0))/0x7)+parseInt(_0x52acb0(0x1ee))/0x8*(-parseInt(_0x52acb0(0x1f7))/0x9)+parseInt(_0x52acb0(0x1f1))/0xa*(-parseInt(_0x52acb0(0x1fc))/0xb)+parseInt(_0x52acb0(0x1ec))/0xc*(parseInt(_0x52acb0(0x200))/0xd);if(_0x44feb7===_0x36b214)break;else _0x47280d['push'](_0x47280d['shift']());}catch(_0x264b5f){_0x47280d['push'](_0x47280d['shift']());}}}(_0x2829,0xecc49));import{Plugin as _0x423216}from'ckeditor5/src/core.js';export default class Nt extends _0x423216{[_0x276f2e(0x1f6)](){const _0x557c31=_0x276f2e,_0x51e9a3=this[_0x557c31(0x1ea)],_0x390ea9=_0x51e9a3[_0x557c31(0x1ed)][_0x557c31(0x1ef)](_0x557c31(0x1fd));_0x51e9a3[_0x557c31(0x1ed)][_0x557c31(0x1eb)](_0x557c31(0x1f9))&&(_0x390ea9[_0x557c31(0x1f3)](_0x557c31(0x1fb)),_0x390ea9[_0x557c31(0x1f3)](_0x557c31(0x1f5)));}}function _0x2829(){const _0x33852a=['enableCommand','2pBLcvQ','redo','afterInit','9CPONwf','2473428fujNYp','UndoEditing','1362dmKxdR','undo','34331jkhpTC','TrackChangesEditing','332ZqZoAu','956247gwILEk','338TZJEHZ','editor','has','2205828nElJdL','plugins','5396008QtIsGc','get','14644IPgEln','2870PDENzB','98350zEYjEY'];_0x2829=function(){return _0x33852a;};return _0x2829();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2ee5b1,_0xe3646a){const _0x314745=_0x9e38,_0x29617d=_0x2ee5b1();while(!![]){try{const _0x3e648c=parseInt(_0x314745(0xa2))/0x1+-parseInt(_0x314745(0x8c))/0x2+parseInt(_0x314745(0x87))/0x3+-parseInt(_0x314745(0x89))/0x4+parseInt(_0x314745(0x8b))/0x5+parseInt(_0x314745(0x88))/0x6+parseInt(_0x314745(0x7e))/0x7;if(_0x3e648c===_0xe3646a)break;else _0x29617d['push'](_0x29617d['shift']());}catch(_0xf52437){_0x29617d['push'](_0x29617d['shift']());}}}(_0x535d,0x79ae7));export function getRangesWithAttribute(_0x3c3f9b,_0x1735e9,_0x5da28c){const _0x56fe78=_0x9e38,_0x462fdf=[];for(const _0x3ad90c of _0x1735e9[_0x56fe78(0x8a)]())_0x3ad90c[_0x56fe78(0x98)](_0x3c3f9b)&&_0x462fdf[_0x56fe78(0x81)](_0x5da28c[_0x56fe78(0x9d)](_0x3ad90c));return _0x462fdf;}function _0x9e38(_0x23ce91,_0x18f830){const _0x535da3=_0x535d();return _0x9e38=function(_0x9e385f,_0x51b0c6){_0x9e385f=_0x9e385f-0x7a;let _0x35e28b=_0x535da3[_0x9e385f];return _0x35e28b;},_0x9e38(_0x23ce91,_0x18f830);}export function downcastSplitMergeMarker(_0x4a9477,_0xe0062c,{showActiveMarker:_0x11213f=!0x0}={}){const _0x3590d1=_0x9e38,_0x31de78=_0x4a9477[_0x3590d1(0x7d)][_0x3590d1(0xa8)](_0x3590d1(0x9c));return(_0x47ef89,_0xc5d75c,_0x1a51ed)=>{const _0x2a36cc=_0x3590d1;if(!_0x1a51ed[_0x2a36cc(0x9f)][_0x2a36cc(0x83)](_0xc5d75c[_0x2a36cc(0x99)],_0x47ef89[_0x2a36cc(0xa3)]))return;const _0x3f1983=_0xc5d75c[_0x2a36cc(0x99)][_0x2a36cc(0xa5)](),_0x17fdee=_0xc5d75c[_0x2a36cc(0x99)][_0x2a36cc(0x82)],_0x261158=_0x4a9477[_0x2a36cc(0xa1)][_0x2a36cc(0x97)];let _0x4b127b=null,_0x6c20fd=null,_0x2d7b3c=!0x1,_0x2a3fc1=!0x1;for(const _0x24b07e of _0x3f1983){const _0x1f3f36=_0x24b07e[_0x2a36cc(0x86)];_0x2d7b3c=_0x2d7b3c||_0x261158[_0x2a36cc(0x9a)](_0x1f3f36);const _0x372b4d=_0x1a51ed[_0x2a36cc(0xa4)][_0x2a36cc(0x84)](_0x1f3f36);if(_0x372b4d&&_0x372b4d[_0x2a36cc(0x96)](_0x2a36cc(0xa0)))return;_0x2a36cc(0x80)==_0x24b07e[_0x2a36cc(0x93)]&&(_0x261158[_0x2a36cc(0x85)](_0x1f3f36)&&!_0x261158[_0x2a36cc(0x95)](_0x1f3f36)&&(_0x1f3f36[_0x2a36cc(0x94)]||_0x17fdee[_0x2a36cc(0x91)]?_0x4b127b&&_0x4b127b[_0x2a36cc(0xa6)]==_0x1f3f36||(_0x4b127b=_0x1f3f36,_0x2d63c7(_0x24b07e[_0x2a36cc(0x9b)]),_0x2a3fc1=!0x0):_0x6c20fd=_0x6c20fd||_0x24b07e[_0x2a36cc(0x9b)]));}function _0x2d63c7(_0x558a76){const _0x1f6ea6=_0x2a36cc,_0xe96ce0=_0x1a51ed[_0x1f6ea6(0x92)][_0x1f6ea6(0x8f)](_0x1f6ea6(0x9e),{'class':_0x1f6ea6(0x8d)+_0xe0062c}),_0x1313c3=_0x1a51ed[_0x1f6ea6(0xa4)][_0x1f6ea6(0x7b)](_0x558a76);_0x11213f&&_0x31de78[_0x1f6ea6(0x7a)][_0x1f6ea6(0x7c)](_0xc5d75c[_0x1f6ea6(0x90)])&&_0x1a51ed[_0x1f6ea6(0x92)][_0x1f6ea6(0xa7)](_0x1f6ea6(0x7f),_0xe96ce0),_0x1a51ed[_0x1f6ea6(0x92)][_0x1f6ea6(0xa9)](_0x1313c3,_0xe96ce0),_0x1a51ed[_0x1f6ea6(0xa4)][_0x1f6ea6(0x8e)](_0xe96ce0,_0xc5d75c[_0x1f6ea6(0x90)]);}_0x2d7b3c||_0x2a3fc1||!_0x6c20fd||_0x2d63c7(_0x6c20fd);};}function _0x535d(){const _0x5dc260=['getWalker','parent','addClass','get','insert','activeMarkers','toViewPosition','includes','plugins','2222577pvLbYU','ck-suggestion-marker--active','elementEnd','push','start','test','toViewElement','isBlock','item','1735146hbQYRF','338430OvmmcR','1656564YPNntt','getItems','1962085CwqUZn','1601760AdxMOh','ck-suggestion-marker-','bindElementToMarker','createUIElement','markerName','isAtEnd','writer','type','nextSibling','isLimit','getCustomProperty','schema','hasAttribute','markerRange','isContent','previousPosition','TrackChangesEditing','createRangeOn','span','consumable','addHighlight','model','368713GueDHU','name','mapper'];_0x535d=function(){return _0x5dc260;};return _0x535d();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x446e62=_0x2600;(function(_0x35e9de,_0x44b6d){const _0x5ec981=_0x2600,_0x472f16=_0x35e9de();while(!![]){try{const _0x2ce533=-parseInt(_0x5ec981(0x168))/0x1*(-parseInt(_0x5ec981(0x177))/0x2)+parseInt(_0x5ec981(0x14e))/0x3+-parseInt(_0x5ec981(0x15b))/0x4+parseInt(_0x5ec981(0x14c))/0x5*(-parseInt(_0x5ec981(0x175))/0x6)+-parseInt(_0x5ec981(0x16c))/0x7+-parseInt(_0x5ec981(0x160))/0x8+parseInt(_0x5ec981(0x166))/0x9*(parseInt(_0x5ec981(0x144))/0xa);if(_0x2ce533===_0x44b6d)break;else _0x472f16['push'](_0x472f16['shift']());}catch(_0x4e33b1){_0x472f16['push'](_0x472f16['shift']());}}}(_0x32c2,0xe6716));import{Element as _0x3aeb26}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x42fc4e,uid as _0x5eead4}from'ckeditor5/src/utils.js';import{cloneDeep as _0x392a8b,isEqual as _0xb6ff13,set as _0x4006e1,unset as _0x4523eb}from'lodash-es';function _0x32c2(){const _0xb6d5db=['previous','attributes','_model','12063457FGzskJ','_onAccept','size','getMarkerNames','start','getItems','next','isMultiRange','addRange','6DsaduA','toJSON','1046830QmdzYM','nodeAfter','from','clear','change','_onAttributesChange','addMarkerName','getMarkers','isInContent','subType','removeAttribute','setAttribute','onAccept','_onDiscard','discard','hasComments','head','suggestion:','end','substr','get','accept','_saved','_markerNames','author','_isDataLoaded','type','isExternal','add','getRanges','20fPQago','data','filter','map','decorate','onAttributesChange','getFirstMarker','set','538360XXbJAf','createdAt','5369373qgqgzV','addMarker','isIntersectingWithRange','nodeBefore','@external','commentThread','reduce','getFirstRange','markers','split','length','creator','getAllAdjacentSuggestions','389444FERZAP','getMultiRangeId','removeMarkers','delete','authoredAt','14047752WNjvTb','push','removeMarker','getRange','isIntersecting','onDiscard','8062317DgPIUJ','getContainedElement','2cfSAiw'];_0x32c2=function(){return _0xb6d5db;};return _0x32c2();}function _0x2600(_0x11f9d2,_0x51b711){const _0x32c229=_0x32c2();return _0x2600=function(_0x2600d5,_0x4485c1){_0x2600d5=_0x2600d5-0x133;let _0x1d2906=_0x32c229[_0x2600d5];return _0x1d2906;},_0x2600(_0x11f9d2,_0x51b711);}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x42fc4e(){constructor(_0x2f61a7,_0x215073){const _0x418e76=_0x2600;super(),this[_0x418e76(0x13f)]=!0x1,this['id']=_0x215073['id'],this[_0x418e76(0x140)]=_0x215073[_0x418e76(0x140)],this[_0x418e76(0x180)]=_0x215073[_0x418e76(0x180)]||null,this[_0x418e76(0x13e)]=_0x215073[_0x418e76(0x13e)],this[_0x418e76(0x159)]=_0x215073[_0x418e76(0x159)]||_0x215073[_0x418e76(0x13e)],this[_0x418e76(0x141)]=Boolean(_0x215073[_0x418e76(0x16a)]&&_0x215073[_0x418e76(0x16a)][_0x418e76(0x152)]),this[_0x418e76(0x145)]=null,this[_0x418e76(0x16b)]=_0x2f61a7,this[_0x418e76(0x16d)]=_0x215073[_0x418e76(0x183)],this[_0x418e76(0x133)]=_0x215073[_0x418e76(0x165)],this[_0x418e76(0x17c)]=_0x215073[_0x418e76(0x149)],this[_0x418e76(0x13d)]=new Set(),this[_0x418e76(0x14d)]=null,this[_0x418e76(0x14b)](_0x418e76(0x15f),null),this[_0x418e76(0x14b)](_0x418e76(0x16a),_0x215073[_0x418e76(0x16a)]||{}),this[_0x418e76(0x14b)](_0x418e76(0x169),null),this[_0x418e76(0x14b)](_0x418e76(0x172),null),this[_0x418e76(0x14b)](_0x418e76(0x153),null),this[_0x418e76(0x14b)](_0x418e76(0x13c),!0x1),this[_0x418e76(0x148)](_0x418e76(0x13b)),this[_0x418e76(0x148)](_0x418e76(0x134));}get[_0x446e62(0x136)](){const _0x233c1f=_0x446e62;let _0x4c73f7=this;for(;_0x4c73f7[_0x233c1f(0x169)];)_0x4c73f7=_0x4c73f7[_0x233c1f(0x169)];return _0x4c73f7;}get[_0x446e62(0x135)](){const _0x24d68a=_0x446e62;return!!this[_0x24d68a(0x153)]&&this[_0x24d68a(0x153)][_0x24d68a(0x158)]>0x0;}get[_0x446e62(0x173)](){const _0x1c769a=_0x446e62;if(0x0==this[_0x1c769a(0x13d)][_0x1c769a(0x16e)])return!0x1;return 0x6==Array[_0x1c769a(0x179)](this[_0x1c769a(0x13d)])[0x0][_0x1c769a(0x157)](':')[_0x1c769a(0x158)];}get[_0x446e62(0x17f)](){const _0x460f41=_0x446e62;return null!==this[_0x460f41(0x14a)]();}[_0x446e62(0x17d)](_0x1a1ae5){const _0x4db314=_0x446e62;this[_0x4db314(0x13d)][_0x4db314(0x142)](_0x1a1ae5);}[_0x446e62(0x16f)](){const _0x30b1ae=_0x446e62;return Array[_0x30b1ae(0x179)](this[_0x30b1ae(0x13d)]);}[_0x446e62(0x17e)](){const _0x31c988=_0x446e62;return this[_0x31c988(0x16f)]()[_0x31c988(0x147)](_0x54ec38=>this[_0x31c988(0x16b)][_0x31c988(0x156)][_0x31c988(0x13a)](_0x54ec38))[_0x31c988(0x146)](_0x218695=>_0x218695);}[_0x446e62(0x14a)](){const _0x5d0515=_0x446e62;return this[_0x5d0515(0x17e)]()[0x0]||null;}[_0x446e62(0x15d)](){const _0x4e1542=_0x446e62;this[_0x4e1542(0x16b)][_0x4e1542(0x17b)](_0x4f46e4=>{const _0x23dc7a=_0x4e1542;for(const _0x3eb411 of this[_0x23dc7a(0x17e)]())_0x4f46e4[_0x23dc7a(0x162)](_0x3eb411);}),this[_0x4e1542(0x13d)][_0x4e1542(0x17a)]();}[_0x446e62(0x162)](_0x10e756){const _0x1de968=_0x446e62;this[_0x1de968(0x16b)][_0x1de968(0x17b)](_0x551708=>{const _0x352a24=_0x1de968;_0x551708[_0x352a24(0x162)](_0x10e756);}),this[_0x1de968(0x13d)][_0x1de968(0x15e)](_0x10e756);}[_0x446e62(0x174)](_0xced6ea){const _0x42224e=_0x446e62,_0x5e6cb3=_0x42224e(0x137)+this[_0x42224e(0x140)]+':'+this[_0x42224e(0x180)]+':'+this['id']+':'+this[_0x42224e(0x159)]['id']+':'+u[_0x42224e(0x15c)]();this[_0x42224e(0x17d)](_0x5e6cb3),this[_0x42224e(0x16b)][_0x42224e(0x17b)](_0xd94c0f=>{const _0x33f064=_0x42224e;_0xd94c0f[_0x33f064(0x14f)](_0x5e6cb3,{'range':_0xced6ea,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x446e62(0x150)](_0x5d1aaf){const _0x3f93a4=_0x446e62;for(const _0x48d878 of this[_0x3f93a4(0x143)]())if(_0x48d878[_0x3f93a4(0x164)](_0x5d1aaf))return!0x0;return!0x1;}[_0x446e62(0x143)](){const _0xa7f859=_0x446e62;return this[_0xa7f859(0x17e)]()[_0xa7f859(0x147)](_0x1817d5=>_0x1817d5[_0xa7f859(0x163)]());}[_0x446e62(0x171)](){const _0x2592ef=_0x446e62;return this[_0x2592ef(0x143)]()[_0x2592ef(0x154)]((_0x4b8f64,_0x5e1593)=>[..._0x4b8f64,..._0x5e1593[_0x2592ef(0x171)]()],[]);}[_0x446e62(0x155)](){const _0x2595a3=_0x446e62;var _0x17ad54;return(null===(_0x17ad54=this[_0x2595a3(0x14a)]())||void 0x0===_0x17ad54?void 0x0:_0x17ad54[_0x2595a3(0x163)]())||null;}[_0x446e62(0x167)](){const _0x1a177f=_0x446e62,_0x385b92=this[_0x1a177f(0x143)]();if(0x1!=_0x385b92[_0x1a177f(0x158)])return null;const _0x29a6c6=_0x385b92[0x0],_0x3b1448=_0x29a6c6[_0x1a177f(0x170)][_0x1a177f(0x178)],_0x38673e=_0x29a6c6[_0x1a177f(0x138)][_0x1a177f(0x151)];return _0x3b1448 instanceof _0x3aeb26?_0x3b1448!=_0x38673e?null:_0x3b1448:null;}[_0x446e62(0x13b)](){const _0x4941c4=_0x446e62;this[_0x4941c4(0x16d)](this[_0x4941c4(0x143)](),this[_0x4941c4(0x145)],this[_0x4941c4(0x16a)]),this[_0x4941c4(0x15d)]();}[_0x446e62(0x134)](){const _0x3254ab=_0x446e62;this[_0x3254ab(0x133)](this[_0x3254ab(0x143)](),this[_0x3254ab(0x145)],this[_0x3254ab(0x16a)]),this[_0x3254ab(0x15d)]();}[_0x446e62(0x15a)](){const _0x5efa98=_0x446e62,_0x2b4f8b=[];let _0x4cde57=this[_0x5efa98(0x136)];for(;_0x4cde57;)_0x2b4f8b[_0x5efa98(0x161)](_0x4cde57),_0x4cde57=_0x4cde57[_0x5efa98(0x172)];return _0x2b4f8b;}[_0x446e62(0x182)](_0x404eb1,_0x7531e8){const _0x45e772=_0x446e62,_0x385888=_0x392a8b(this[_0x45e772(0x16a)]);_0x4006e1(_0x385888,_0x404eb1,_0x7531e8),_0xb6ff13(_0x385888,this[_0x45e772(0x16a)])||(this[_0x45e772(0x16a)]=_0x385888,this[_0x45e772(0x17c)](_0x385888));}[_0x446e62(0x181)](_0x367123){const _0x2ca813=_0x446e62,_0xdd70c0=_0x392a8b(this[_0x2ca813(0x16a)]);_0x4523eb(_0xdd70c0,_0x367123),_0xb6ff13(_0xdd70c0,this[_0x2ca813(0x16a)])||(this[_0x2ca813(0x16a)]=_0xdd70c0,this[_0x2ca813(0x17c)](this[_0x2ca813(0x16a)]));}[_0x446e62(0x176)](){const _0x52297d=_0x446e62;return{'id':this['id'],'type':this[_0x52297d(0x180)]?this[_0x52297d(0x140)]+':'+this[_0x52297d(0x180)]:this[_0x52297d(0x140)],'authorId':this[_0x52297d(0x159)]['id'],'createdAt':this[_0x52297d(0x14d)],'hasComments':this[_0x52297d(0x135)],'data':this[_0x52297d(0x145)],'attributes':this[_0x52297d(0x16a)]};}static[_0x446e62(0x15c)](){const _0x82b014=_0x446e62;return _0x5eead4()[_0x82b014(0x139)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4936(){const _0x513c36=['insertion','attribute','36bxTjET','12MFyXgB','1jRuaXd','checkChild','$text','_resolveDescriptionItems','*Insert:*\x20%0','_attributeLabels','isEqual','get','registerAttributeLabel','previousSibling','$textProxy','set','text','elementEnd','_handleRenameSuggestionDescription','registerElementLabel','deletion','isInContent','EmptyContainer','join','_handleCustomCallbackDescription','removeFormat','7763RZZZlm','item','newValue','addContainer','*Merge:*\x20%0','remove','*Set\x20format:*\x20%0','getItemLabel','addFormat','addEmptyContainer','106835TrxGXs','matchingCallback','_handleInsertRemoveSuggestionDescription','replace','match','_handleAttributeSuggestionDescription','6432008glydJm','addObject','getFirstRange','removeEmptyContainer','removeObject','Object','map','registerDescriptionCallback','_customCallbacks','skip','22995MesNZu','getWalker','863665mghGJr','$1\x20$2','isEmpty','*Remove:*\x20%0','quantity','indexOf','type','*Change\x20to:*\x20%0','Container','elementStart','key','has','add','3940xMNyRR','isObject','subType','_itemLabelsCallbacks','_itemLabels','element','1061895zBbxMR','*Remove\x20format:*\x20%0','length','data','_schema','*Split:*\x20%0','_addDescriptionItems','176VKGyCd','removeContainer','name','function','push','ELEMENT_SPACE','nextSibling','label','start','141842zxZygS','format','end','pop','REPLACE_TEXT','nodeAfter','_locale','getDescriptions','softBreak','normal'];_0x4936=function(){return _0x513c36;};return _0x4936();}function _0x4de4(_0x2b5341,_0x16ff1e){const _0x4936df=_0x4936();return _0x4de4=function(_0x4de4c1,_0xbcca0c){_0x4de4c1=_0x4de4c1-0x92;let _0x322cfe=_0x4936df[_0x4de4c1];return _0x322cfe;},_0x4de4(_0x2b5341,_0x16ff1e);}const _0x5c7ed1=_0x4de4;(function(_0x5cd0cc,_0x47aecc){const _0x3b10fb=_0x4de4,_0x56c639=_0x5cd0cc();while(!![]){try{const _0x47405d=-parseInt(_0x3b10fb(0x9d))/0x1*(-parseInt(_0x3b10fb(0xf2))/0x2)+parseInt(_0x3b10fb(0xe2))/0x3+parseInt(_0x3b10fb(0xc3))/0x4+-parseInt(_0x3b10fb(0xbd))/0x5*(parseInt(_0x3b10fb(0x9b))/0x6)+parseInt(_0x3b10fb(0xb3))/0x7*(parseInt(_0x3b10fb(0xe9))/0x8)+parseInt(_0x3b10fb(0xcd))/0x9*(-parseInt(_0x3b10fb(0xdc))/0xa)+parseInt(_0x3b10fb(0xcf))/0xb*(-parseInt(_0x3b10fb(0x9c))/0xc);if(_0x47405d===_0x47aecc)break;else _0x56c639['push'](_0x56c639['shift']());}catch(_0x4c0292){_0x56c639['push'](_0x56c639['shift']());}}}(_0x4936,0xce07b));import{getTranslation as _0x46cda1}from'./utils/common-translations.js';import{priorities as _0x17cbcc,insertToPriorityArray as _0x5557ea}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x15e58c}from'./trackchangesediting.js';export default class f{constructor(_0x4e2f70,_0x3521e4){const _0xc7fda6=_0x4de4;this[_0xc7fda6(0xcb)]=[],this[_0xc7fda6(0xe0)]=new Map(),this[_0xc7fda6(0xdf)]=[],this[_0xc7fda6(0xa2)]=new Map(),this[_0xc7fda6(0xe6)]=_0x4e2f70,this[_0xc7fda6(0x95)]=_0x3521e4;}[_0x5c7ed1(0x96)](_0x1cada0){const _0x2a4587=_0x5c7ed1,_0x5490f7=[],_0x5d3ea3=new Set(),_0x4bb39b=new Set();for(let _0x59d9e5=0x0;_0x59d9e5<_0x1cada0[_0x2a4587(0xe4)];_0x59d9e5++){const _0x3b2416=_0x1cada0[_0x59d9e5];if(!_0x3b2416[_0x2a4587(0xae)])continue;const _0x1eb1c6=this[_0x2a4587(0xb1)](_0x3b2416);if(_0x1eb1c6){if(null!=_0x3b2416[_0x2a4587(0xde)]){if(_0x5d3ea3[_0x2a4587(0xda)](_0x3b2416[_0x2a4587(0xde)]))continue;_0x5d3ea3[_0x2a4587(0xdb)](_0x3b2416[_0x2a4587(0xde)]);}_0x5490f7[_0x2a4587(0xed)](_0x1eb1c6);}else{if(_0x2a4587(0x9a)!=_0x3b2416[_0x2a4587(0xd5)])_0x2a4587(0x99)!=_0x3b2416[_0x2a4587(0xd5)]&&_0x2a4587(0xad)!=_0x3b2416[_0x2a4587(0xd5)]||this[_0x2a4587(0xbf)](_0x5490f7,_0x3b2416,_0x1cada0[_0x59d9e5+0x1]);else{const _0x4d086f=_0x3b2416[_0x2a4587(0xe5)][_0x2a4587(0xd9)];if(_0x4bb39b[_0x2a4587(0xda)](_0x4d086f))continue;_0x4bb39b[_0x2a4587(0xdb)](_0x3b2416[_0x2a4587(0xe5)][_0x2a4587(0xd9)]),_0x4d086f==_0x15e58c?this[_0x2a4587(0xab)](_0x5490f7,_0x3b2416):this[_0x2a4587(0xc2)](_0x5490f7,_0x3b2416);}}}return this[_0x2a4587(0xa0)](_0x5490f7);}[_0x5c7ed1(0xca)](_0x41b4e7){const _0x159fb0=_0x5c7ed1;this[_0x159fb0(0xcb)][_0x159fb0(0xed)](_0x41b4e7);}[_0x5c7ed1(0xac)](_0x22f5e4,_0xf89d46,_0x2490d9=_0x17cbcc[_0x5c7ed1(0x98)]){const _0x113b65=_0x5c7ed1;_0x113b65(0xec)==typeof _0x22f5e4?_0x5557ea(this[_0x113b65(0xdf)],{'matchingCallback':_0x22f5e4,'label':_0xf89d46,'priority':_0x2490d9}):this[_0x113b65(0xe0)][_0x113b65(0xa8)](_0x22f5e4,_0xf89d46);}[_0x5c7ed1(0xa5)](_0x539e81,_0x2879b8){const _0x2accfe=_0x5c7ed1;this[_0x2accfe(0xa2)][_0x2accfe(0xa8)](_0x539e81,_0x2879b8);}[_0x5c7ed1(0xba)](_0x3f3903,_0x5c3980=0x1){const _0x2fc5db=_0x5c7ed1;let _0x4f2b05;for(const _0x7c0946 of this[_0x2fc5db(0xdf)])if(_0x7c0946[_0x2fc5db(0xbe)](_0x3f3903)){_0x4f2b05=_0x7c0946[_0x2fc5db(0xf0)];break;}return _0x4f2b05||(_0x4f2b05=this[_0x2fc5db(0xe0)][_0x2fc5db(0xa4)](_0x3f3903[_0x2fc5db(0xeb)])),_0x4f2b05?_0x4f2b05(_0x5c3980):0x1!==_0x5c3980?_0x5c3980+'\x20'+_0x3f3903[_0x2fc5db(0xeb)]+'s':''+_0x3f3903[_0x2fc5db(0xeb)];}[_0x5c7ed1(0xe8)](_0x544f59,_0x2a99e6){const _0x542333=_0x5c7ed1,_0x5eb952=_0x2a99e6[_0x542333(0xc5)]()[_0x542333(0xce)](),_0x50d499=_0x542333(0x99)==_0x2a99e6[_0x542333(0xd5)]?_0x542333(0xdb):_0x542333(0xb8);for(const _0x15b6f1 of _0x5eb952){const _0x358992=_0x15b6f1[_0x542333(0xb4)],_0x2dc0d9=_0x544f59[_0x544f59[_0x542333(0xe4)]-0x1];if(_0x358992['is'](_0x542333(0xa7)))_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))>-0x1&&_0x544f59[_0x542333(0x92)](),_0x2dc0d9&&_0x542333(0xa9)==_0x2dc0d9[_0x542333(0xd5)]?_0x2dc0d9[_0x50d499]+=_0x358992[_0x542333(0xe5)]:_0x544f59[_0x542333(0xed)]({'type':_0x542333(0xa9),'add':_0x542333(0xdb)==_0x50d499?_0x358992[_0x542333(0xe5)]:'','remove':_0x542333(0xb8)==_0x50d499?_0x358992[_0x542333(0xe5)]:''});else{if(this[_0x542333(0xe6)][_0x542333(0xdd)](_0x358992)){const _0x51135e=_0x358992;if(_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))>-0x1&&_0x544f59[_0x542333(0x92)](),_0x542333(0xaa)==_0x15b6f1[_0x542333(0xd5)])continue;_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)]==_0x50d499+_0x542333(0xc8)&&_0x2dc0d9[_0x542333(0xe1)][_0x542333(0xeb)]==_0x51135e[_0x542333(0xeb)]?_0x2dc0d9[_0x542333(0xd3)]++:_0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xc8),'element':_0x51135e,'quantity':0x1}),_0x5eb952[_0x542333(0xcc)](_0x2c0791=>!(_0x542333(0xaa)==_0x2c0791[_0x542333(0xd5)]&&_0x2c0791[_0x542333(0xb4)]==_0x358992));}else{if(this[_0x542333(0xe6)][_0x542333(0x9e)](_0x358992,_0x542333(0x9f))||_0x358992['is'](_0x542333(0xe1),_0x542333(0x97))){const _0x4e44b3=_0x358992;if(_0x542333(0xdb)==_0x50d499&&_0x542333(0xd8)==_0x15b6f1[_0x542333(0xd5)]||_0x542333(0xb8)==_0x50d499&&_0x542333(0xaa)==_0x15b6f1[_0x542333(0xd5)])continue;if(_0x2dc0d9&&-0x1==_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))){_0x542333(0xa9)==_0x2dc0d9[_0x542333(0xd5)]&&(_0x2dc0d9[_0x50d499]+='\x0a');continue;}let _0x3bb1f5;if(_0x3bb1f5=_0x542333(0xdb)==_0x50d499?_0x4e44b3[_0x542333(0xef)]&&!this[_0x542333(0xe6)][_0x542333(0xdd)](_0x4e44b3[_0x542333(0xef)])?_0x4e44b3[_0x542333(0xef)]:null:_0x4e44b3[_0x542333(0xa6)]&&!this[_0x542333(0xe6)][_0x542333(0xdd)](_0x4e44b3[_0x542333(0xa6)])?_0x4e44b3[_0x542333(0xa6)]:null,_0x4e44b3[_0x542333(0xd1)]||_0x3bb1f5&&_0x3bb1f5[_0x542333(0xd1)]){const _0x5ead22=_0x3bb1f5&&_0x3bb1f5[_0x542333(0xd1)]?_0x3bb1f5:_0x4e44b3;_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)]==_0x50d499+_0x542333(0xaf)&&_0x2dc0d9[_0x542333(0xe1)][_0x542333(0xeb)]==_0x5ead22[_0x542333(0xeb)]?_0x2dc0d9[_0x542333(0xd3)]++:_0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xaf),'element':_0x5ead22,'quantity':0x1});}else _0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xd7),'element':_0x4e44b3});}}}}}[_0x5c7ed1(0xa0)](_0x495661){const _0x393444=_0x5c7ed1,_0x31880a=this[_0x393444(0x95)],_0x37e491=[],_0x472205=[],_0x43be47=[];for(const _0x432fe4 of _0x495661)switch(_0x432fe4[_0x393444(0xd5)]){case _0x393444(0xa9):if(_0x432fe4[_0x393444(0xdb)]=_0x432fe4[_0x393444(0xdb)][_0x393444(0xc0)](/(\S)\u000A+(\S)/g,_0x393444(0xd0))[_0x393444(0xc0)](/\u000A/g,''),_0x432fe4[_0x393444(0xb8)]=_0x432fe4[_0x393444(0xb8)][_0x393444(0xc0)](/(\S)\u000A+(\S)/g,_0x393444(0xd0))[_0x393444(0xc0)](/\u000A/g,''),''!=_0x432fe4[_0x393444(0xdb)]&&''!=_0x432fe4[_0x393444(0xb8)]){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xc0),'content':_0x46cda1(_0x31880a,_0x393444(0x93),['\x22'+_0x432fe4[_0x393444(0xb8)]+'\x22','\x22'+_0x432fe4[_0x393444(0xdb)]+'\x22'])});continue;}if(null!=_0x432fe4[_0x393444(0xdb)][_0x393444(0xc1)](/^ +$/)){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),_0x46cda1(_0x31880a,_0x393444(0xee),_0x432fe4[_0x393444(0xdb)][_0x393444(0xe4)]))});continue;}if(null!=_0x432fe4[_0x393444(0xb8)][_0x393444(0xc1)](/^ +$/)){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),_0x46cda1(_0x31880a,_0x393444(0xee),_0x432fe4[_0x393444(0xb8)][_0x393444(0xe4)]))});continue;}if(''!=_0x432fe4[_0x393444(0xdb)]){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),'\x22'+_0x432fe4[_0x393444(0xdb)]+'\x22')});continue;}_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),'\x22'+_0x432fe4[_0x393444(0xb8)]+'\x22')});continue;case _0x393444(0xbc):case _0x393444(0xc4):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xc6):case _0x393444(0xc7):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xb6):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xe7),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xea):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xb7),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xbb):_0x472205[_0x393444(0xed)](_0x432fe4[_0x393444(0xd9)]);continue;case _0x393444(0xb2):_0x43be47[_0x393444(0xed)](_0x432fe4[_0x393444(0xd9)]);continue;default:_0x37e491[_0x393444(0xed)](_0x432fe4);}if(_0x472205[_0x393444(0xe4)]){const _0x1830cf=_0x472205[_0x393444(0xc9)](_0x35dc11=>this[_0x393444(0xa2)][_0x393444(0xda)](_0x35dc11)?this[_0x393444(0xa2)][_0x393444(0xa4)](_0x35dc11):_0x35dc11)[_0x393444(0xb0)](',\x20');_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xf3),'content':_0x46cda1(this[_0x393444(0x95)],_0x393444(0xb9),_0x1830cf)});}if(_0x43be47[_0x393444(0xe4)]){const _0x24d4b4=_0x43be47[_0x393444(0xc9)](_0x358d11=>this[_0x393444(0xa2)][_0x393444(0xda)](_0x358d11)?this[_0x393444(0xa2)][_0x393444(0xa4)](_0x358d11):_0x358d11)[_0x393444(0xb0)](',\x20');_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xf3),'content':_0x46cda1(this[_0x393444(0x95)],_0x393444(0xe3),_0x24d4b4)});}return _0x37e491;}[_0x5c7ed1(0xb1)](_0x448505){const _0x1c543c=_0x5c7ed1;for(const _0x43ad31 of this[_0x1c543c(0xcb)]){const _0xe7d923=_0x43ad31(_0x448505);if(_0xe7d923&&_0x1c543c(0xd5)in _0xe7d923)return _0xe7d923;}}[_0x5c7ed1(0xc2)](_0x20668b,_0x1f53fd){const _0xc6ec7e=_0x5c7ed1,_0x4c7d9a=_0x1f53fd[_0xc6ec7e(0xe5)],_0x432407=void 0x0===_0x4c7d9a[_0xc6ec7e(0xb5)]?_0xc6ec7e(0xb2):_0xc6ec7e(0xbb);_0x20668b[_0xc6ec7e(0xed)]({'type':_0x432407,'key':_0x4c7d9a[_0xc6ec7e(0xd9)]});}[_0x5c7ed1(0xab)](_0x52aa8f,_0x115864){const _0x17abc7=_0x5c7ed1;_0x52aa8f[_0x17abc7(0xed)]({'type':_0x17abc7(0xf3),'content':_0x46cda1(this[_0x17abc7(0x95)],_0x17abc7(0xd6),this[_0x17abc7(0xba)](_0x115864[_0x17abc7(0xc5)]()[_0x17abc7(0xf1)][_0x17abc7(0x94)],0x1))});}[_0x5c7ed1(0xbf)](_0x20ecdd,_0x3d3bb8,_0x428e3a){const _0x30b3ee=_0x5c7ed1;if(this[_0x30b3ee(0xe8)](_0x20ecdd,_0x3d3bb8),_0x428e3a&&_0x428e3a[_0x30b3ee(0xc5)]()&&!_0x3d3bb8[_0x30b3ee(0xc5)]()[_0x30b3ee(0xf4)][_0x30b3ee(0xa3)](_0x428e3a[_0x30b3ee(0xc5)]()[_0x30b3ee(0xf1)])){const _0x10b3a9=_0x20ecdd[_0x20ecdd[_0x30b3ee(0xe4)]-0x1],_0x36f27e=_0x30b3ee(0x99)==_0x3d3bb8[_0x30b3ee(0xd5)]?_0x30b3ee(0xdb):_0x30b3ee(0xb8);_0x10b3a9&&_0x30b3ee(0xa9)==_0x10b3a9[_0x30b3ee(0xd5)]&&(_0x10b3a9[_0x36f27e]+='\x0a');}}}
|
|
23
|
+
const _0x24df8a=_0x1869;(function(_0x230783,_0x4877a3){const _0x74dea4=_0x1869,_0x424677=_0x230783();while(!![]){try{const _0x17d490=-parseInt(_0x74dea4(0x14a))/0x1*(-parseInt(_0x74dea4(0x18c))/0x2)+parseInt(_0x74dea4(0x199))/0x3+parseInt(_0x74dea4(0x183))/0x4*(parseInt(_0x74dea4(0x17a))/0x5)+-parseInt(_0x74dea4(0x193))/0x6*(-parseInt(_0x74dea4(0x159))/0x7)+parseInt(_0x74dea4(0x187))/0x8+parseInt(_0x74dea4(0x174))/0x9*(-parseInt(_0x74dea4(0x156))/0xa)+-parseInt(_0x74dea4(0x190))/0xb;if(_0x17d490===_0x4877a3)break;else _0x424677['push'](_0x424677['shift']());}catch(_0x133eab){_0x424677['push'](_0x424677['shift']());}}}(_0x4daa,0x9dcc7));import{getTranslation as _0x1c4ae3}from'./utils/common-translations.js';function _0x1869(_0x48e9af,_0x41620b){const _0x4daa0d=_0x4daa();return _0x1869=function(_0x1869f2,_0x1cd35c){_0x1869f2=_0x1869f2-0x147;let _0x54d5ae=_0x4daa0d[_0x1869f2];return _0x54d5ae;},_0x1869(_0x48e9af,_0x41620b);}import{priorities as _0x5868eb,insertToPriorityArray as _0x303f73}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xf5b30a}from'./trackchangesediting.js';function _0x4daa(){const _0x23951d=['*Set\x20format:*\x20%0','getFirstRange','registerAttributeLabel','start','_schema','remove','40vfHPhh','_itemLabelsCallbacks','_addDescriptionItems','7PaWUEU','subType','label','isEmpty','replace','removeContainer','elementEnd','_handleAttributeSuggestionDescription','$text','newValue','map','nextSibling','Object','_locale','element','isEqual','elementStart','$textProxy','length','join','data','_attributeLabels','format','softBreak','skip','isInContent','_itemLabels','389916VCqSCz','REPLACE_TEXT','*Remove\x20format:*\x20%0','add','_resolveDescriptionItems','name','5rfLIFd','deletion','_handleRenameSuggestionDescription','EmptyContainer','normal','registerDescriptionCallback','*Insert:*\x20%0','function','matchingCallback','1957056JjVmWb','end','_handleInsertRemoveSuggestionDescription','registerElementLabel','8808592cuJBwR','getItemLabel','_handleCustomCallbackDescription','attribute','quantity','58306ZMHang','push','match','get','25245264pFacab','indexOf','isObject','1378434aoPrzU','removeFormat','addFormat','key','*Change\x20to:*\x20%0','type','210480RMnlvu','pop','ELEMENT_SPACE','removeEmptyContainer','_customCallbacks','*Merge:*\x20%0','has','removeObject','*Split:*\x20%0','text','getWalker','addEmptyContainer','checkChild','insertion','previousSibling','addObject','nodeAfter','getDescriptions','Container','42rAeqvq','addContainer','item','*Remove:*\x20%0','set','$1\x20$2'];_0x4daa=function(){return _0x23951d;};return _0x4daa();}export default class f{constructor(_0x110434,_0x32a9e4){const _0x549e38=_0x1869;this[_0x549e38(0x19d)]=[],this[_0x549e38(0x173)]=new Map(),this[_0x549e38(0x157)]=[],this[_0x549e38(0x16e)]=new Map(),this[_0x549e38(0x154)]=_0x110434,this[_0x549e38(0x166)]=_0x32a9e4;}[_0x24df8a(0x148)](_0x4cfa74){const _0x5e2ae4=_0x24df8a,_0xbdcfe7=[],_0x36c5cd=new Set(),_0x229a7c=new Set();for(let _0x201cd0=0x0;_0x201cd0<_0x4cfa74[_0x5e2ae4(0x16b)];_0x201cd0++){const _0x47d39d=_0x4cfa74[_0x201cd0];if(!_0x47d39d[_0x5e2ae4(0x172)])continue;const _0x54b13e=this[_0x5e2ae4(0x189)](_0x47d39d);if(_0x54b13e){if(null!=_0x47d39d[_0x5e2ae4(0x15a)]){if(_0x36c5cd[_0x5e2ae4(0x19f)](_0x47d39d[_0x5e2ae4(0x15a)]))continue;_0x36c5cd[_0x5e2ae4(0x177)](_0x47d39d[_0x5e2ae4(0x15a)]);}_0xbdcfe7[_0x5e2ae4(0x18d)](_0x54b13e);}else{if(_0x5e2ae4(0x18a)!=_0x47d39d[_0x5e2ae4(0x198)])_0x5e2ae4(0x1a6)!=_0x47d39d[_0x5e2ae4(0x198)]&&_0x5e2ae4(0x17b)!=_0x47d39d[_0x5e2ae4(0x198)]||this[_0x5e2ae4(0x185)](_0xbdcfe7,_0x47d39d,_0x4cfa74[_0x201cd0+0x1]);else{const _0x59a9ac=_0x47d39d[_0x5e2ae4(0x16d)][_0x5e2ae4(0x196)];if(_0x229a7c[_0x5e2ae4(0x19f)](_0x59a9ac))continue;_0x229a7c[_0x5e2ae4(0x177)](_0x47d39d[_0x5e2ae4(0x16d)][_0x5e2ae4(0x196)]),_0x59a9ac==_0xf5b30a?this[_0x5e2ae4(0x17c)](_0xbdcfe7,_0x47d39d):this[_0x5e2ae4(0x160)](_0xbdcfe7,_0x47d39d);}}}return this[_0x5e2ae4(0x178)](_0xbdcfe7);}[_0x24df8a(0x17f)](_0xb477be){const _0x3662e5=_0x24df8a;this[_0x3662e5(0x19d)][_0x3662e5(0x18d)](_0xb477be);}[_0x24df8a(0x186)](_0x214813,_0x380cb6,_0x5d0b5e=_0x5868eb[_0x24df8a(0x17e)]){const _0x1b0c93=_0x24df8a;_0x1b0c93(0x181)==typeof _0x214813?_0x303f73(this[_0x1b0c93(0x157)],{'matchingCallback':_0x214813,'label':_0x380cb6,'priority':_0x5d0b5e}):this[_0x1b0c93(0x173)][_0x1b0c93(0x14e)](_0x214813,_0x380cb6);}[_0x24df8a(0x152)](_0x41ee1a,_0xf24415){const _0x19a504=_0x24df8a;this[_0x19a504(0x16e)][_0x19a504(0x14e)](_0x41ee1a,_0xf24415);}[_0x24df8a(0x188)](_0x409a0b,_0x4ba1d2=0x1){const _0x39b3b9=_0x24df8a;let _0x4e6023;for(const _0x1ecdef of this[_0x39b3b9(0x157)])if(_0x1ecdef[_0x39b3b9(0x182)](_0x409a0b)){_0x4e6023=_0x1ecdef[_0x39b3b9(0x15b)];break;}return _0x4e6023||(_0x4e6023=this[_0x39b3b9(0x173)][_0x39b3b9(0x18f)](_0x409a0b[_0x39b3b9(0x179)])),_0x4e6023?_0x4e6023(_0x4ba1d2):0x1!==_0x4ba1d2?_0x4ba1d2+'\x20'+_0x409a0b[_0x39b3b9(0x179)]+'s':''+_0x409a0b[_0x39b3b9(0x179)];}[_0x24df8a(0x158)](_0x20a815,_0x514bca){const _0x414674=_0x24df8a,_0x56f4df=_0x514bca[_0x414674(0x151)]()[_0x414674(0x1a3)](),_0x3beaed=_0x414674(0x1a6)==_0x514bca[_0x414674(0x198)]?_0x414674(0x177):_0x414674(0x155);for(const _0xa82787 of _0x56f4df){const _0x42f23e=_0xa82787[_0x414674(0x14c)],_0x6caff3=_0x20a815[_0x20a815[_0x414674(0x16b)]-0x1];if(_0x42f23e['is'](_0x414674(0x16a)))_0x6caff3&&_0x6caff3[_0x414674(0x198)][_0x414674(0x191)](_0x414674(0x149))>-0x1&&_0x20a815[_0x414674(0x19a)](),_0x6caff3&&_0x414674(0x1a2)==_0x6caff3[_0x414674(0x198)]?_0x6caff3[_0x3beaed]+=_0x42f23e[_0x414674(0x16d)]:_0x20a815[_0x414674(0x18d)]({'type':_0x414674(0x1a2),'add':_0x414674(0x177)==_0x3beaed?_0x42f23e[_0x414674(0x16d)]:'','remove':_0x414674(0x155)==_0x3beaed?_0x42f23e[_0x414674(0x16d)]:''});else{if(this[_0x414674(0x154)][_0x414674(0x192)](_0x42f23e)){const _0x2b90b9=_0x42f23e;if(_0x6caff3&&_0x6caff3[_0x414674(0x198)][_0x414674(0x191)](_0x414674(0x149))>-0x1&&_0x20a815[_0x414674(0x19a)](),_0x414674(0x15f)==_0xa82787[_0x414674(0x198)])continue;_0x6caff3&&_0x6caff3[_0x414674(0x198)]==_0x3beaed+_0x414674(0x165)&&_0x6caff3[_0x414674(0x167)][_0x414674(0x179)]==_0x2b90b9[_0x414674(0x179)]?_0x6caff3[_0x414674(0x18b)]++:_0x20a815[_0x414674(0x18d)]({'type':_0x3beaed+_0x414674(0x165),'element':_0x2b90b9,'quantity':0x1}),_0x56f4df[_0x414674(0x171)](_0x5b02c3=>!(_0x414674(0x15f)==_0x5b02c3[_0x414674(0x198)]&&_0x5b02c3[_0x414674(0x14c)]==_0x42f23e));}else{if(this[_0x414674(0x154)][_0x414674(0x1a5)](_0x42f23e,_0x414674(0x161))||_0x42f23e['is'](_0x414674(0x167),_0x414674(0x170))){const _0x4a0ea3=_0x42f23e;if(_0x414674(0x177)==_0x3beaed&&_0x414674(0x169)==_0xa82787[_0x414674(0x198)]||_0x414674(0x155)==_0x3beaed&&_0x414674(0x15f)==_0xa82787[_0x414674(0x198)])continue;if(_0x6caff3&&-0x1==_0x6caff3[_0x414674(0x198)][_0x414674(0x191)](_0x414674(0x149))){_0x414674(0x1a2)==_0x6caff3[_0x414674(0x198)]&&(_0x6caff3[_0x3beaed]+='\x0a');continue;}let _0x192e3d;if(_0x192e3d=_0x414674(0x177)==_0x3beaed?_0x4a0ea3[_0x414674(0x164)]&&!this[_0x414674(0x154)][_0x414674(0x192)](_0x4a0ea3[_0x414674(0x164)])?_0x4a0ea3[_0x414674(0x164)]:null:_0x4a0ea3[_0x414674(0x1a7)]&&!this[_0x414674(0x154)][_0x414674(0x192)](_0x4a0ea3[_0x414674(0x1a7)])?_0x4a0ea3[_0x414674(0x1a7)]:null,_0x4a0ea3[_0x414674(0x15c)]||_0x192e3d&&_0x192e3d[_0x414674(0x15c)]){const _0x45dd19=_0x192e3d&&_0x192e3d[_0x414674(0x15c)]?_0x192e3d:_0x4a0ea3;_0x6caff3&&_0x6caff3[_0x414674(0x198)]==_0x3beaed+_0x414674(0x17d)&&_0x6caff3[_0x414674(0x167)][_0x414674(0x179)]==_0x45dd19[_0x414674(0x179)]?_0x6caff3[_0x414674(0x18b)]++:_0x20a815[_0x414674(0x18d)]({'type':_0x3beaed+_0x414674(0x17d),'element':_0x45dd19,'quantity':0x1});}else _0x20a815[_0x414674(0x18d)]({'type':_0x3beaed+_0x414674(0x149),'element':_0x4a0ea3});}}}}}[_0x24df8a(0x178)](_0x5aadff){const _0x82a85=_0x24df8a,_0x368271=this[_0x82a85(0x166)],_0x2a4494=[],_0x30da14=[],_0x3b5c57=[];for(const _0x4e3c24 of _0x5aadff)switch(_0x4e3c24[_0x82a85(0x198)]){case _0x82a85(0x1a2):if(_0x4e3c24[_0x82a85(0x177)]=_0x4e3c24[_0x82a85(0x177)][_0x82a85(0x15d)](/(\S)\u000A+(\S)/g,_0x82a85(0x14f))[_0x82a85(0x15d)](/\u000A/g,''),_0x4e3c24[_0x82a85(0x155)]=_0x4e3c24[_0x82a85(0x155)][_0x82a85(0x15d)](/(\S)\u000A+(\S)/g,_0x82a85(0x14f))[_0x82a85(0x15d)](/\u000A/g,''),''!=_0x4e3c24[_0x82a85(0x177)]&&''!=_0x4e3c24[_0x82a85(0x155)]){_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x15d),'content':_0x1c4ae3(_0x368271,_0x82a85(0x175),['\x22'+_0x4e3c24[_0x82a85(0x155)]+'\x22','\x22'+_0x4e3c24[_0x82a85(0x177)]+'\x22'])});continue;}if(null!=_0x4e3c24[_0x82a85(0x177)][_0x82a85(0x18e)](/^ +$/)){_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x1a6),'content':_0x1c4ae3(_0x368271,_0x82a85(0x180),_0x1c4ae3(_0x368271,_0x82a85(0x19b),_0x4e3c24[_0x82a85(0x177)][_0x82a85(0x16b)]))});continue;}if(null!=_0x4e3c24[_0x82a85(0x155)][_0x82a85(0x18e)](/^ +$/)){_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x17b),'content':_0x1c4ae3(_0x368271,_0x82a85(0x14d),_0x1c4ae3(_0x368271,_0x82a85(0x19b),_0x4e3c24[_0x82a85(0x155)][_0x82a85(0x16b)]))});continue;}if(''!=_0x4e3c24[_0x82a85(0x177)]){_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x1a6),'content':_0x1c4ae3(_0x368271,_0x82a85(0x180),'\x22'+_0x4e3c24[_0x82a85(0x177)]+'\x22')});continue;}_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x17b),'content':_0x1c4ae3(_0x368271,_0x82a85(0x14d),'\x22'+_0x4e3c24[_0x82a85(0x155)]+'\x22')});continue;case _0x82a85(0x1a4):case _0x82a85(0x1a8):_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x1a6),'content':_0x1c4ae3(_0x368271,_0x82a85(0x180),this[_0x82a85(0x188)](_0x4e3c24[_0x82a85(0x167)],_0x4e3c24[_0x82a85(0x18b)]))});continue;case _0x82a85(0x19c):case _0x82a85(0x1a0):_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x17b),'content':_0x1c4ae3(_0x368271,_0x82a85(0x14d),this[_0x82a85(0x188)](_0x4e3c24[_0x82a85(0x167)],_0x4e3c24[_0x82a85(0x18b)]))});continue;case _0x82a85(0x14b):_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x1a6),'content':_0x1c4ae3(_0x368271,_0x82a85(0x1a1),this[_0x82a85(0x188)](_0x4e3c24[_0x82a85(0x167)],_0x4e3c24[_0x82a85(0x18b)]))});continue;case _0x82a85(0x15e):_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x17b),'content':_0x1c4ae3(_0x368271,_0x82a85(0x19e),this[_0x82a85(0x188)](_0x4e3c24[_0x82a85(0x167)],_0x4e3c24[_0x82a85(0x18b)]))});continue;case _0x82a85(0x195):_0x30da14[_0x82a85(0x18d)](_0x4e3c24[_0x82a85(0x196)]);continue;case _0x82a85(0x194):_0x3b5c57[_0x82a85(0x18d)](_0x4e3c24[_0x82a85(0x196)]);continue;default:_0x2a4494[_0x82a85(0x18d)](_0x4e3c24);}if(_0x30da14[_0x82a85(0x16b)]){const _0xec276a=_0x30da14[_0x82a85(0x163)](_0x1c3aff=>this[_0x82a85(0x16e)][_0x82a85(0x19f)](_0x1c3aff)?this[_0x82a85(0x16e)][_0x82a85(0x18f)](_0x1c3aff):_0x1c3aff)[_0x82a85(0x16c)](',\x20');_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x16f),'content':_0x1c4ae3(this[_0x82a85(0x166)],_0x82a85(0x150),_0xec276a)});}if(_0x3b5c57[_0x82a85(0x16b)]){const _0x5c8789=_0x3b5c57[_0x82a85(0x163)](_0x22af7f=>this[_0x82a85(0x16e)][_0x82a85(0x19f)](_0x22af7f)?this[_0x82a85(0x16e)][_0x82a85(0x18f)](_0x22af7f):_0x22af7f)[_0x82a85(0x16c)](',\x20');_0x2a4494[_0x82a85(0x18d)]({'type':_0x82a85(0x16f),'content':_0x1c4ae3(this[_0x82a85(0x166)],_0x82a85(0x176),_0x5c8789)});}return _0x2a4494;}[_0x24df8a(0x189)](_0x12b573){const _0xa9ceca=_0x24df8a;for(const _0x1c6188 of this[_0xa9ceca(0x19d)]){const _0x14fc00=_0x1c6188(_0x12b573);if(_0x14fc00&&_0xa9ceca(0x198)in _0x14fc00)return _0x14fc00;}}[_0x24df8a(0x160)](_0x104dde,_0x2b6cb7){const _0x53524c=_0x24df8a,_0x493d94=_0x2b6cb7[_0x53524c(0x16d)],_0x41f356=void 0x0===_0x493d94[_0x53524c(0x162)]?_0x53524c(0x194):_0x53524c(0x195);_0x104dde[_0x53524c(0x18d)]({'type':_0x41f356,'key':_0x493d94[_0x53524c(0x196)]});}[_0x24df8a(0x17c)](_0x2c7139,_0x538d80){const _0xd246f4=_0x24df8a;_0x2c7139[_0xd246f4(0x18d)]({'type':_0xd246f4(0x16f),'content':_0x1c4ae3(this[_0xd246f4(0x166)],_0xd246f4(0x197),this[_0xd246f4(0x188)](_0x538d80[_0xd246f4(0x151)]()[_0xd246f4(0x153)][_0xd246f4(0x147)],0x1))});}[_0x24df8a(0x185)](_0x22cc55,_0x3f34b8,_0x4e3f63){const _0x11c635=_0x24df8a;if(this[_0x11c635(0x158)](_0x22cc55,_0x3f34b8),_0x4e3f63&&_0x4e3f63[_0x11c635(0x151)]()&&!_0x3f34b8[_0x11c635(0x151)]()[_0x11c635(0x184)][_0x11c635(0x168)](_0x4e3f63[_0x11c635(0x151)]()[_0x11c635(0x153)])){const _0x5d201a=_0x22cc55[_0x22cc55[_0x11c635(0x16b)]-0x1],_0x245438=_0x11c635(0x1a6)==_0x3f34b8[_0x11c635(0x198)]?_0x11c635(0x177):_0x11c635(0x155);_0x5d201a&&_0x11c635(0x1a2)==_0x5d201a[_0x11c635(0x198)]&&(_0x5d201a[_0x245438]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2323(_0x43f03a,_0x30c499){var _0x11c1e7=_0x11c1();return _0x2323=function(_0x2323f7,_0x401761){_0x2323f7=_0x2323f7-0xcb;var _0x4e62ea=_0x11c1e7[_0x2323f7];return _0x4e62ea;},_0x2323(_0x43f03a,_0x30c499);}var _0x5f0bbc=_0x2323;(function(_0x1b97e8,_0x3aefba){var _0x4453db=_0x2323,_0x37f034=_0x1b97e8();while(!![]){try{var _0x19f757=parseInt(_0x4453db(0xd5))/0x1*(parseInt(_0x4453db(0xd4))/0x2)+-parseInt(_0x4453db(0xcf))/0x3+parseInt(_0x4453db(0xd6))/0x4*(parseInt(_0x4453db(0xdb))/0x5)+parseInt(_0x4453db(0xce))/0x6+parseInt(_0x4453db(0xd7))/0x7*(parseInt(_0x4453db(0xdc))/0x8)+parseInt(_0x4453db(0xe2))/0x9*(parseInt(_0x4453db(0xcc))/0xa)+parseInt(_0x4453db(0xe0))/0xb*(-parseInt(_0x4453db(0xe1))/0xc);if(_0x19f757===_0x3aefba)break;else _0x37f034['push'](_0x37f034['shift']());}catch(_0x259020){_0x37f034['push'](_0x37f034['shift']());}}}(_0x11c1,0x64347));import{Plugin as _0x28dfb8}from'ckeditor5/src/core.js';import _0x14d70a from'./trackchangesui.js';function _0x11c1(){var _0xfd0ddd=['requires','4453284PJozHn','2443038hqbQRg','adapter','plugins','get','pluginName','756422UKXZHE','2sxehbb','1216IprHfE','1581041AKbhNN','Comments','TrackChanges','addSuggestionData','3670YxcNOp','24HnXreO','addSuggestion','getSuggestion','getSuggestions','113905imzKql','1788ZLHHMZ','473553pQIuVZ','editor','70nXbfsz'];_0x11c1=function(){return _0xfd0ddd;};return _0x11c1();}import _0x210fbf from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x28dfb8{static get[_0x5f0bbc(0xcd)](){var _0x16ca67=_0x5f0bbc;return[_0x210fbf,_0x14d70a,_0x16ca67(0xd8)];}static get[_0x5f0bbc(0xd3)](){var _0x2e84fa=_0x5f0bbc;return _0x2e84fa(0xd9);}set[_0x5f0bbc(0xd0)](_0x3231ab){var _0x3794c1=_0x5f0bbc;this[_0x3794c1(0xcb)][_0x3794c1(0xd1)][_0x3794c1(0xd2)](_0x210fbf)[_0x3794c1(0xd0)]=_0x3231ab;}get[_0x5f0bbc(0xd0)](){var _0xcc4f8b=_0x5f0bbc;return this[_0xcc4f8b(0xcb)][_0xcc4f8b(0xd1)][_0xcc4f8b(0xd2)](_0x210fbf)[_0xcc4f8b(0xd0)];}[_0x5f0bbc(0xdd)](_0x490944){var _0x513f2e=_0x5f0bbc;return this[_0x513f2e(0xcb)][_0x513f2e(0xd1)][_0x513f2e(0xd2)](_0x210fbf)[_0x513f2e(0xda)](_0x490944);}[_0x5f0bbc(0xdf)]({skipNotAttached:_0x5e05fa=!0x1,toJSON:_0x32c93b=!0x1}={}){var _0x11b688=_0x5f0bbc;return this[_0x11b688(0xcb)][_0x11b688(0xd1)][_0x11b688(0xd2)](_0x210fbf)[_0x11b688(0xdf)]({'skipNotAttached':_0x5e05fa,'toJSON':_0x32c93b});}[_0x5f0bbc(0xde)](_0x2fa4ec){var _0x3b8067=_0x5f0bbc;return this[_0x3b8067(0xcb)][_0x3b8067(0xd1)][_0x3b8067(0xd2)](_0x210fbf)[_0x3b8067(0xde)](_0x2fa4ec);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38c009=_0x5ba4;(function(_0x252ee3,_0x238aa3){const _0x3598f1=_0x5ba4,_0x11b697=_0x252ee3();while(!![]){try{const _0x57cfdf=parseInt(_0x3598f1(0x18d))/0x1+-parseInt(_0x3598f1(0x1a9))/0x2*(parseInt(_0x3598f1(0x1b3))/0x3)+parseInt(_0x3598f1(0x18e))/0x4*(parseInt(_0x3598f1(0x1c3))/0x5)+parseInt(_0x3598f1(0x1b2))/0x6*(-parseInt(_0x3598f1(0x1a4))/0x7)+-parseInt(_0x3598f1(0x1c5))/0x8+parseInt(_0x3598f1(0x18b))/0x9+parseInt(_0x3598f1(0x1bc))/0xa;if(_0x57cfdf===_0x238aa3)break;else _0x11b697['push'](_0x11b697['shift']());}catch(_0x2479fa){_0x11b697['push'](_0x11b697['shift']());}}}(_0x4bbd,0xe3bcf));import{Plugin as _0x2e181f}from'ckeditor5/src/core.js';import{CKEditorError as _0x12bf3a}from'ckeditor5/src/utils.js';import _0x4087c7 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x90839e}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x38c009(0x1a2)];function _0x4bbd(){const _0x401224=['getSuggestions','init','3466625wKFnqE','rootsAttributes','927608ChBaTs','div','plugins','data','discardAllSuggestions','getRootsAttributes','13333779awGNKO','get','1659845vfAQBM','4UUvaDa','trackChangesData','getFullData','getRootNames','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','track-changes-data-invalid-editor-creator','name','end','CommentsRepository','addCommentThread','create','TrackChangesData','appendChild','push','constructor','Users','useAnonymousUser','getUser','model','Pagination','_adapter','3916031GdnVos','destroy','users','result','getCommentThreads','66590rajmKX','reduce','createElement','config','TrackChangesDataGetter','trackChangesData.editorCreator','function','document','TrackChangesEditing','18KCFMoi','141kGTDFz','createDocumentFragment','pluginName','addUser','execute','map','set','editorCreator','define','4572290uMAXZc','requires','addSuggestionData','editor','acceptAllSuggestions'];_0x4bbd=function(){return _0x401224;};return _0x4bbd();}function _0x5ba4(_0x5c2262,_0x22443b){const _0x4bbd54=_0x4bbd();return _0x5ba4=function(_0x5ba42c,_0x8a59){_0x5ba42c=_0x5ba42c-0x18b;let _0x567caa=_0x4bbd54[_0x5ba42c];return _0x567caa;},_0x5ba4(_0x5c2262,_0x22443b);}export default class P extends _0x2e181f{static get[_0x38c009(0x1bd)](){return[_0x4087c7];}static get[_0x38c009(0x1b5)](){const _0x503bdf=_0x38c009;return _0x503bdf(0x19a);}[_0x38c009(0x1c2)](){const _0x28475d=_0x38c009,_0x4fc6bc=this[_0x28475d(0x1bf)];if(_0x4fc6bc[_0x28475d(0x1ac)][_0x28475d(0x1bb)](_0x28475d(0x1ae),_0xeef316=>{const _0x514757=_0x28475d,_0x23bb52=_0x4fc6bc[_0x514757(0x1a1)][_0x514757(0x1b0)][_0x514757(0x191)]()[_0x514757(0x1aa)]((_0x4f1bcd,_0x188ec2)=>(_0x4f1bcd[_0x188ec2]='',_0x4f1bcd),{});return _0x4fc6bc[_0x514757(0x19d)][_0x514757(0x199)](_0x23bb52,_0xeef316);}),_0x28475d(0x1af)!=typeof _0x4fc6bc[_0x28475d(0x1ac)][_0x28475d(0x18c)](_0x28475d(0x18f))[_0x28475d(0x1ba)])throw new _0x12bf3a(_0x28475d(0x194));}[_0x38c009(0x193)](_0x2578c6){const _0x5b12d1=_0x38c009;return N(this[_0x5b12d1(0x1bf)],!0x0,_0x2578c6);}[_0x38c009(0x192)](_0x4e9a4d){const _0x120575=_0x38c009;return N(this[_0x120575(0x1bf)],!0x1,_0x4e9a4d);}}class D extends _0x2e181f{static get[_0x38c009(0x1b5)](){const _0x15dedf=_0x38c009;return _0x15dedf(0x1ad);}constructor(_0x2b87e0){const _0x22dd67=_0x38c009;super(_0x2b87e0),this[_0x22dd67(0x1a7)]=_0x22dd67(0x196);}[_0x38c009(0x1c2)](){const _0x416852=_0x38c009;this[_0x416852(0x1bf)][_0x416852(0x1c7)][_0x416852(0x18c)](_0x416852(0x197))[_0x416852(0x1a3)]={'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[_0x416852(0x1bf)][_0x416852(0x1c7)][_0x416852(0x18c)](_0x416852(0x1b1))[_0x416852(0x1a3)]=null;}}function v(_0x395bfc){const _0x57d71a=_0x38c009;return void 0x0!==_0x395bfc[_0x57d71a(0x1ca)];}async function N(_0x73b561,_0x1b0cbb,_0x3a65c3){const _0x37c970=_0x38c009,_0x3690b1=_0x90839e(_0x73b561,T);_0x3690b1[_0x37c970(0x1c7)][_0x37c970(0x19c)](_0x4087c7,D),_0x3690b1[_0x37c970(0x1c4)]=v(_0x73b561)?_0x73b561[_0x37c970(0x1ca)]():void 0x0;const _0x167dbd=document[_0x37c970(0x1b4)](),_0x5595a1=_0x73b561[_0x37c970(0x1ac)][_0x37c970(0x18c)](_0x37c970(0x18f))[_0x37c970(0x1ba)],_0x4a7964=await _0x5595a1(_0x3690b1,()=>function(_0x54e930){const _0x57c5d4=_0x37c970,_0x4658e2=document[_0x57c5d4(0x1ab)](_0x57c5d4(0x1c6));return _0x54e930[_0x57c5d4(0x19b)](_0x4658e2),_0x4658e2;}(_0x167dbd));!function(_0x58f2e5,_0x56c20a){const _0x3fc1ef=_0x37c970,_0x23a42f=_0x58f2e5[_0x3fc1ef(0x1a1)][_0x3fc1ef(0x1b0)][_0x3fc1ef(0x191)]()[_0x3fc1ef(0x1aa)]((_0x379540,_0x315408)=>(_0x379540[_0x315408]=_0x58f2e5[_0x3fc1ef(0x1c8)][_0x3fc1ef(0x18c)]({'rootName':_0x315408}),_0x379540),{}),_0x858c52=_0x58f2e5[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x19e))[_0x3fc1ef(0x1a6)][_0x3fc1ef(0x1b8)](_0x495e4d=>({'id':_0x495e4d['id'],'name':_0x495e4d[_0x3fc1ef(0x195)]})),_0x383dcf=_0x58f2e5[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x1b1))[_0x3fc1ef(0x1c1)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3d2d3e=_0x58f2e5[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x197))[_0x3fc1ef(0x1a8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1feab6=_0x56c20a[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x19e)),_0x3c7f79=_0x56c20a[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x1b1)),_0x363de5=_0x56c20a[_0x3fc1ef(0x1c7)][_0x3fc1ef(0x18c)](_0x3fc1ef(0x197));for(const _0x5c4fcc of _0x858c52)_0x1feab6[_0x3fc1ef(0x1a0)](_0x5c4fcc['id'])||_0x1feab6[_0x3fc1ef(0x1b6)](_0x5c4fcc);_0x1feab6['me']||_0x1feab6[_0x3fc1ef(0x19f)]();for(const _0x2037cb of _0x3d2d3e)_0x363de5[_0x3fc1ef(0x198)](_0x2037cb);for(const _0x55bb91 of _0x383dcf)_0x3c7f79[_0x3fc1ef(0x1be)](_0x55bb91);_0x56c20a[_0x3fc1ef(0x1c8)][_0x3fc1ef(0x1b9)](_0x23a42f);}(_0x73b561,_0x4a7964),_0x4a7964[_0x37c970(0x1b7)](_0x1b0cbb?_0x37c970(0x1c0):_0x37c970(0x1c9));const _0x217301=v(_0x4a7964)?_0x4a7964[_0x37c970(0x190)](_0x3a65c3):_0x4a7964[_0x37c970(0x1c8)][_0x37c970(0x18c)](_0x3a65c3);return await _0x4a7964[_0x37c970(0x1a5)](),_0x217301;}
|