@ckeditor/ckeditor5-track-changes 41.4.1 → 42.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/suggestion.d.ts +1 -1
- package/dist/types/ui/suggestioncontroller.d.ts +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +1 -1
- package/src/suggestion.js +2 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +2 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x344546=_0x4cbe;function _0x4cbe(_0x1d1b7c,_0x51aa47){const _0x5ef44a=_0x5ef4();return _0x4cbe=function(_0x4cbefe,_0x1d3396){_0x4cbefe=_0x4cbefe-0x14a;let _0x488f2a=_0x5ef44a[_0x4cbefe];return _0x488f2a;},_0x4cbe(_0x1d1b7c,_0x51aa47);}(function(_0x52b204,_0x1e9e77){const _0x2d148e=_0x4cbe,_0x15345c=_0x52b204();while(!![]){try{const _0x4c7e07=parseInt(_0x2d148e(0x19b))/0x1*(parseInt(_0x2d148e(0x17a))/0x2)+parseInt(_0x2d148e(0x18a))/0x3*(-parseInt(_0x2d148e(0x15f))/0x4)+-parseInt(_0x2d148e(0x1ac))/0x5+parseInt(_0x2d148e(0x1a0))/0x6+parseInt(_0x2d148e(0x172))/0x7*(parseInt(_0x2d148e(0x189))/0x8)+parseInt(_0x2d148e(0x14c))/0x9+parseInt(_0x2d148e(0x162))/0xa*(-parseInt(_0x2d148e(0x199))/0xb);if(_0x4c7e07===_0x1e9e77)break;else _0x15345c['push'](_0x15345c['shift']());}catch(_0x3f5f8e){_0x15345c['push'](_0x15345c['shift']());}}}(_0x5ef4,0x8afe4));function _0x5ef4(){const _0x364897=['_areSelectedCellsMergable','getSuggestions','from','*Split\x20cell:*\x20horizontally','filter','afterInit','TableEditing','setSelection','createRangeOn','find','add','572nzaNDv','_acceptFormatSuggestionCallbackFactory','45883NSZEBz','mergeTableCells','commandName','low','set:isEnabled','966198NsNWTF','enableCommand','trackChanges','_suggestionFactory','author','highest','execute','get','registerCustomCallback','plugins','length','table','4479050NQvIJn','value','descriptionFactory','root','8656767VgvQRB','*Split\x20cell:*\x20vertically','cell','*Merge\x20cells*','TrackChangesEditing','$graveyard','_tablePostFixingSubtypes','splitTableCellHorizontally','insertion','push','isEnabled','editor','mergeTableCellDown','format','change','map','return','_isForcedDefaultExecutionBlock','formatInline','310888XxNYlC','forceDefaultExecution','type','248950nTxEkN','element','requires','getAncestors','accept','registerDescriptionCallback','getRanges','getFirstPosition','detach','locale','findAncestor','tableCell','splitTableCellVertically','isInContent','subType','mergeTableCellRight','7btADQD','rootName','selection','has','horizontally','formatBlock','createTableWalker','mergeTableCellLeft','44DDYEnM','mergeTableCellUp','model','size','deletion','commands','stop','direction','markBlockFormat','containsRange','_areMergableCells','getSelectionAffectedTableCells','refresh','getCellLocation','document','5640528ynLnRP','3YAIbGq','fromRange','markMultiRangeBlockFormat','TableUtils'];_0x5ef4=function(){return _0x364897;};return _0x5ef4();}import{Plugin as _0x25645c}from'ckeditor5/src/core.js';import _0x1ad010 from'./table.js';import{LiveRange as _0x34e13e}from'ckeditor5/src/engine.js';import{getTranslation as _0x50aecb}from'../utils/common-translations.js';export default class St extends _0x25645c{static get[_0x344546(0x164)](){return[_0x1ad010];}[_0x344546(0x193)](){const _0x3d6dc4=_0x344546,_0x4b7f5c=this[_0x3d6dc4(0x157)],_0x2f0b6f=_0x4b7f5c[_0x3d6dc4(0x17c)][_0x3d6dc4(0x188)][_0x3d6dc4(0x174)],_0x33d87d=_0x4b7f5c[_0x3d6dc4(0x16b)];if(!_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x175)](_0x3d6dc4(0x194)))return;const _0x4eed1c=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x150)),_0x283032=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x18d)),_0x3628ac=_0x4b7f5c[_0x3d6dc4(0x1a9)][_0x3d6dc4(0x1a7)](_0x1ad010);_0x3628ac[_0x3d6dc4(0x152)][_0x3d6dc4(0x155)](_0x3d6dc4(0x19c)),_0x4eed1c[_0x3d6dc4(0x1a1)](_0x3d6dc4(0x19c),()=>{const _0x54bacb=_0x3d6dc4,_0x2169f0=_0x283032[_0x54bacb(0x185)](_0x4b7f5c[_0x54bacb(0x17c)][_0x54bacb(0x188)][_0x54bacb(0x174)]);_0x4b7f5c[_0x54bacb(0x17c)][_0x54bacb(0x15a)](()=>{const _0x47a109=_0x54bacb;_0x4eed1c[_0x47a109(0x18c)](_0x2169f0,{'commandName':_0x47a109(0x19c),'commandParams':[]},[],_0x47a109(0x19c));});}),_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x3d6dc4(0x19c))['on'](_0x3d6dc4(0x1a6),(_0x3faafb,_0x469ef8)=>{const _0x59a27d=_0x3d6dc4;_0x4b7f5c[_0x59a27d(0x17f)][_0x59a27d(0x1a7)](_0x59a27d(0x1a2))[_0x59a27d(0x1ad)]&&(_0x469ef8[_0x59a27d(0x1aa)]>0x0&&_0x469ef8[_0x469ef8[_0x59a27d(0x1aa)]-0x1]&&_0x469ef8[_0x469ef8[_0x59a27d(0x1aa)]-0x1][_0x59a27d(0x160)]||_0x4eed1c[_0x59a27d(0x15d)]||this[_0x59a27d(0x18e)]()||_0x3faafb[_0x59a27d(0x180)]());},{'priority':_0x3d6dc4(0x1a5)});for(const _0x45a722 of[_0x3d6dc4(0x17b),_0x3d6dc4(0x171),_0x3d6dc4(0x158),_0x3d6dc4(0x179)]){const _0x2c2438=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x45a722);_0x4eed1c[_0x3d6dc4(0x1a1)](_0x45a722,()=>{const _0x52262b=_0x3d6dc4,_0x4ca3a8=_0x4b7f5c[_0x52262b(0x17c)][_0x52262b(0x188)][_0x52262b(0x174)][_0x52262b(0x169)]()[_0x52262b(0x165)]()[_0x52262b(0x197)](_0x1735e8=>_0x1735e8['is'](_0x52262b(0x163),_0x52262b(0x16d))),_0x2059e4=_0x2c2438[_0x52262b(0x1ad)];_0x4b7f5c[_0x52262b(0x17c)][_0x52262b(0x15a)](()=>{const _0x3d3883=_0x52262b;_0x4eed1c[_0x3d3883(0x18c)]([_0x4ca3a8,_0x2059e4],{'commandName':_0x3d3883(0x19c),'commandParams':[]},[],_0x3d3883(0x19c));});});}for(const _0x99fe12 of[_0x3d6dc4(0x16e),_0x3d6dc4(0x153)]){const _0x4a0e4f=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x99fe12);_0x4eed1c[_0x3d6dc4(0x1a1)](_0x99fe12,()=>{const _0x441ca8=_0x3d6dc4,_0x227f98=_0x283032[_0x441ca8(0x185)](_0x4b7f5c[_0x441ca8(0x17c)][_0x441ca8(0x188)][_0x441ca8(0x174)])[0x0],_0x542304=_0x227f98[_0x441ca8(0x16c)](_0x441ca8(0x1ab)),{column:_0x41dd16,row:_0x2409ab}=_0x283032[_0x441ca8(0x187)](_0x227f98);let _0x4978d8=[];if(_0x441ca8(0x176)==_0x4a0e4f[_0x441ca8(0x181)]){const _0x36a64e=_0x283032[_0x441ca8(0x178)](_0x542304,{'startRow':_0x2409ab,'endRow':_0x2409ab,'includeAllSlots':!0x0});_0x4978d8=Array[_0x441ca8(0x190)](_0x36a64e)[_0x441ca8(0x15b)](_0x46a39d=>_0x46a39d[_0x441ca8(0x14e)]);}else{const _0x456a0c=_0x283032[_0x441ca8(0x178)](_0x542304,{'column':_0x41dd16,'includeAllSlots':!0x0});_0x4978d8=Array[_0x441ca8(0x190)](_0x456a0c)[_0x441ca8(0x15b)](_0x5c1d6c=>_0x5c1d6c[_0x441ca8(0x14e)]);}_0x4b7f5c[_0x441ca8(0x17c)][_0x441ca8(0x15a)](_0x1e09a5=>{const _0x17984b=_0x441ca8;_0x4eed1c[_0x17984b(0x182)](_0x1e09a5[_0x17984b(0x196)](_0x227f98),{'commandName':_0x99fe12,'commandParams':[]},_0x4978d8,_0x99fe12);});});}_0x4eed1c[_0x3d6dc4(0x14a)][_0x3d6dc4(0x167)](_0x40d95a=>{const _0x7c4d6a=_0x3d6dc4;if(_0x7c4d6a(0x177)!=_0x40d95a[_0x7c4d6a(0x161)]&&_0x7c4d6a(0x15e)!=_0x40d95a[_0x7c4d6a(0x161)])return;const {data:_0x2300bb}=_0x40d95a;return _0x2300bb&&_0x7c4d6a(0x19c)==_0x2300bb[_0x7c4d6a(0x19d)]?{'type':_0x7c4d6a(0x159),'content':_0x50aecb(_0x33d87d,_0x7c4d6a(0x14f))}:void 0x0;}),_0x4eed1c[_0x3d6dc4(0x14a)][_0x3d6dc4(0x167)](_0x1c057b=>{const _0x30c46e=_0x3d6dc4;if(_0x30c46e(0x177)!=_0x1c057b[_0x30c46e(0x161)]&&_0x30c46e(0x15e)!=_0x1c057b[_0x30c46e(0x161)])return;const {data:_0x2f87d4}=_0x1c057b;return _0x2f87d4?_0x30c46e(0x16e)==_0x2f87d4[_0x30c46e(0x19d)]?{'type':_0x30c46e(0x159),'content':_0x50aecb(_0x33d87d,_0x30c46e(0x14d))}:_0x30c46e(0x153)==_0x2f87d4[_0x30c46e(0x19d)]?{'type':_0x30c46e(0x159),'content':_0x50aecb(_0x33d87d,_0x30c46e(0x191))}:void 0x0:void 0x0;});const _0x499719=_0x3628ac[_0x3d6dc4(0x19a)]();for(const _0x49110b of[_0x3d6dc4(0x17b),_0x3d6dc4(0x171),_0x3d6dc4(0x158),_0x3d6dc4(0x179)])_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0x49110b,_0x3d6dc4(0x166),_0x499719);for(const _0xd7ebbd of[_0x3d6dc4(0x16e),_0x3d6dc4(0x153)])_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0xd7ebbd,_0x3d6dc4(0x166),_0x499719);_0x4eed1c[_0x3d6dc4(0x1a3)][_0x3d6dc4(0x1a8)](_0x3d6dc4(0x177),_0x3d6dc4(0x19c),_0x3d6dc4(0x166),_0x229c45=>{const _0x57f3d1=_0x3d6dc4;_0x4b7f5c[_0x57f3d1(0x17c)][_0x57f3d1(0x15a)](_0x46adb0=>{const _0x1d08df=_0x57f3d1,_0x3cc7a4=Array[_0x1d08df(0x190)](_0x2f0b6f[_0x1d08df(0x168)]())[_0x1d08df(0x15b)](_0x2f6821=>_0x34e13e[_0x1d08df(0x18b)](_0x2f6821));_0x46adb0[_0x1d08df(0x195)](_0x229c45),_0x4b7f5c[_0x1d08df(0x17f)][_0x1d08df(0x1a7)](_0x1d08df(0x19c))[_0x1d08df(0x186)](),_0x4b7f5c[_0x1d08df(0x1a6)](_0x1d08df(0x19c),{'forceDefaultExecution':!0x0});const _0x5aa391=_0x3cc7a4[_0x1d08df(0x192)](_0x3ca6e6=>_0x1d08df(0x151)!=_0x3ca6e6[_0x1d08df(0x14b)][_0x1d08df(0x173)]);_0x5aa391[_0x1d08df(0x1aa)]>0x0&&_0x46adb0[_0x1d08df(0x195)](_0x5aa391);for(const _0x4337c9 of _0x3cc7a4)_0x4337c9[_0x1d08df(0x16a)]();});});for(const _0x44f1dc of[_0x3d6dc4(0x17b),_0x3d6dc4(0x158),_0x3d6dc4(0x179),_0x3d6dc4(0x171)]){const _0x46ba26=_0x4b7f5c[_0x3d6dc4(0x17f)][_0x3d6dc4(0x1a7)](_0x44f1dc);_0x46ba26['on'](_0x3d6dc4(0x19f),(_0x16349c,_0x50c46c,_0x174454)=>{const _0x317939=_0x3d6dc4;if(_0x174454){const _0x61f561=_0x4b7f5c[_0x317939(0x17c)][_0x317939(0x188)][_0x317939(0x174)][_0x317939(0x169)]()[_0x317939(0x165)]()[_0x317939(0x197)](_0x36604f=>_0x36604f['is'](_0x317939(0x163),_0x317939(0x16d)));this[_0x317939(0x184)](_0x46ba26[_0x317939(0x1ad)],_0x61f561)||(_0x16349c[_0x317939(0x15c)]=!0x1,_0x16349c[_0x317939(0x180)]());}},{'priority':_0x3d6dc4(0x19e)});}}[_0x344546(0x18e)](){const _0x4c4797=_0x344546,_0x1324b0=this[_0x4c4797(0x157)][_0x4c4797(0x17f)][_0x4c4797(0x1a7)](_0x4c4797(0x19c)),_0x3a3f0e=this[_0x4c4797(0x157)][_0x4c4797(0x1a9)][_0x4c4797(0x1a7)](_0x4c4797(0x18d));if(!_0x1324b0[_0x4c4797(0x156)])return!0x1;const _0x478165=_0x3a3f0e[_0x4c4797(0x185)](this[_0x4c4797(0x157)][_0x4c4797(0x17c)][_0x4c4797(0x188)][_0x4c4797(0x174)]);for(const _0x48586c of _0x478165)for(const _0x5d97e7 of _0x478165)if(_0x48586c!=_0x5d97e7&&!this[_0x4c4797(0x184)](_0x48586c,_0x5d97e7))return!0x1;return!0x0;}[_0x344546(0x184)](_0x15e32b,_0x53b8da){const _0x57106b=_0x344546,_0x51f9b3=this[_0x57106b(0x157)][_0x57106b(0x1a9)][_0x57106b(0x1a7)](_0x57106b(0x150)),_0x444c2f=this[_0x57106b(0x157)][_0x57106b(0x17c)][_0x57106b(0x196)](_0x15e32b),_0x3dd1f7=this[_0x57106b(0x157)][_0x57106b(0x17c)][_0x57106b(0x196)](_0x53b8da),_0x157dfa=new Set(),_0x50735b=new Set();for(const _0x54226e of _0x51f9b3[_0x57106b(0x18f)]())if((_0x57106b(0x154)==_0x54226e[_0x57106b(0x161)]||_0x57106b(0x17e)==_0x54226e[_0x57106b(0x161)]||_0x57106b(0x19c)==_0x54226e[_0x57106b(0x170)])&&_0x54226e[_0x57106b(0x16f)]){for(const _0x66d4a6 of _0x54226e[_0x57106b(0x168)]())_0x66d4a6[_0x57106b(0x183)](_0x444c2f,!0x0)&&_0x157dfa[_0x57106b(0x198)](_0x54226e[_0x57106b(0x161)]+':'+_0x54226e[_0x57106b(0x1a4)]['id']),_0x66d4a6[_0x57106b(0x183)](_0x3dd1f7,!0x0)&&_0x50735b[_0x57106b(0x198)](_0x54226e[_0x57106b(0x161)]+':'+_0x54226e[_0x57106b(0x1a4)]['id']);}if(_0x157dfa[_0x57106b(0x17d)]!=_0x50735b[_0x57106b(0x17d)])return!0x1;for(const _0x280c96 of _0x157dfa)if(!_0x50735b[_0x57106b(0x175)](_0x280c96))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x1dacd6=_0x2a6a;(function(_0x59560f,_0x259b69){const _0x252222=_0x2a6a,_0xeef4f6=_0x59560f();while(!![]){try{const _0x504fbb=-parseInt(_0x252222(0xb3))/0x1+-parseInt(_0x252222(0xae))/0x2*(-parseInt(_0x252222(0xc8))/0x3)+-parseInt(_0x252222(0xe9))/0x4*(-parseInt(_0x252222(0xb2))/0x5)+parseInt(_0x252222(0xfc))/0x6+parseInt(_0x252222(0xf6))/0x7+parseInt(_0x252222(0xdc))/0x8*(parseInt(_0x252222(0xaa))/0x9)+-parseInt(_0x252222(0xa5))/0xa*(parseInt(_0x252222(0x101))/0xb);if(_0x504fbb===_0x259b69)break;else _0xeef4f6['push'](_0xeef4f6['shift']());}catch(_0x3b4db4){_0xeef4f6['push'](_0xeef4f6['shift']());}}}(_0x36e1,0x686a4));import{Plugin as _0x15008b}from'ckeditor5/src/core.js';function _0x2a6a(_0x2c3c2b,_0x1d5a53){const _0x36e141=_0x36e1();return _0x2a6a=function(_0x2a6a76,_0x43235d){_0x2a6a76=_0x2a6a76-0xa4;let _0x3ebe51=_0x36e141[_0x2a6a76];return _0x3ebe51;},_0x2a6a(_0x2c3c2b,_0x1d5a53);}import _0x5eccb8 from'./table.js';import{LiveRange as _0x4b768a}from'ckeditor5/src/engine.js';function _0x36e1(){const _0x44280a=['selection','setSelection','get','getSuggestions','element','isInContent','table','mergeTableCellRight','author','2373bSsgpr','formatBlock','createRangeOn','_tablePostFixingSubtypes','detach','return','472668PBxsaT','fromRange','locale','TableUtils','stop','445819YRWCxf','insertion','containsRange','size','execute','registerCustomCallback','plugins','push','370drtkJe','tableCell','_isForcedDefaultExecutionBlock','TrackChangesEditing','from','36jngABt','formatInline','editor','markBlockFormat','87602IGtRVg','requires','type','createTableWalker','36530JwPLyD','144259yOrcol','low','afterInit','mergeTableCellLeft','enableCommand','isEnabled','map','descriptionFactory','mergeTableCellDown','mergeTableCells','_areMergableCells','cell','value','format','getSelectionAffectedTableCells','refresh','deletion','$graveyard','_areSelectedCellsMergable','getAncestors','accept','57zmtcwX','change','getCellLocation','commands','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','set:isEnabled','registerDescriptionCallback','filter','getFirstPosition','document','highest','model','splitTableCellHorizontally','commandName','splitTableCellVertically','markMultiRangeBlockFormat','findAncestor','rootName','subType','1209848kQplee','root','has','*Split\x20cell:*\x20horizontally','_suggestionFactory','length','add','trackChanges','TableEditing','find','*Merge\x20cells*','horizontally','*Split\x20cell:*\x20vertically','304SjCRma','getRanges','direction','forceDefaultExecution'];_0x36e1=function(){return _0x44280a;};return _0x36e1();}import{getTranslation as _0x3bfc95}from'../utils/common-translations.js';export default class St extends _0x15008b{static get[_0x1dacd6(0xaf)](){return[_0x5eccb8];}[_0x1dacd6(0xb5)](){const _0x2b6fe7=_0x1dacd6,_0x12ba65=this[_0x2b6fe7(0xac)],_0x5dc00a=_0x12ba65[_0x2b6fe7(0xd4)][_0x2b6fe7(0xd2)][_0x2b6fe7(0xed)],_0x9f533b=_0x12ba65[_0x2b6fe7(0xfe)];if(!_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xde)](_0x2b6fe7(0xe4)))return;const _0x105020=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x2b6fe7(0xa8)),_0x580b44=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x2b6fe7(0xff)),_0x27cd39=_0x12ba65[_0x2b6fe7(0x107)][_0x2b6fe7(0xef)](_0x5eccb8);_0x27cd39[_0x2b6fe7(0xf9)][_0x2b6fe7(0xa4)](_0x2b6fe7(0xbc)),_0x105020[_0x2b6fe7(0xb7)](_0x2b6fe7(0xbc),()=>{const _0x3dd677=_0x2b6fe7,_0x5966f3=_0x580b44[_0x3dd677(0xc1)](_0x12ba65[_0x3dd677(0xd4)][_0x3dd677(0xd2)][_0x3dd677(0xed)]);_0x12ba65[_0x3dd677(0xd4)][_0x3dd677(0xc9)](()=>{const _0x325bf6=_0x3dd677;_0x105020[_0x325bf6(0xd8)](_0x5966f3,{'commandName':_0x325bf6(0xbc),'commandParams':[]},[],_0x325bf6(0xbc));});}),_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x2b6fe7(0xbc))['on'](_0x2b6fe7(0x105),(_0x55aca4,_0x4e6d92)=>{const _0x35de37=_0x2b6fe7;_0x12ba65[_0x35de37(0xcb)][_0x35de37(0xef)](_0x35de37(0xe3))[_0x35de37(0xbf)]&&(_0x4e6d92[_0x35de37(0xe1)]>0x0&&_0x4e6d92[_0x4e6d92[_0x35de37(0xe1)]-0x1]&&_0x4e6d92[_0x4e6d92[_0x35de37(0xe1)]-0x1][_0x35de37(0xec)]||_0x105020[_0x35de37(0xa7)]||this[_0x35de37(0xc5)]()||_0x55aca4[_0x35de37(0x100)]());},{'priority':_0x2b6fe7(0xd3)});for(const _0x444951 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xf4),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6)]){const _0x323aaf=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x444951);_0x105020[_0x2b6fe7(0xb7)](_0x444951,()=>{const _0x155145=_0x2b6fe7,_0x5065df=_0x12ba65[_0x155145(0xd4)][_0x155145(0xd2)][_0x155145(0xed)][_0x155145(0xd1)]()[_0x155145(0xc6)]()[_0x155145(0xe5)](_0x26ecfd=>_0x26ecfd['is'](_0x155145(0xf1),_0x155145(0xa6))),_0x631be=_0x323aaf[_0x155145(0xbf)];_0x12ba65[_0x155145(0xd4)][_0x155145(0xc9)](()=>{const _0x4e60d6=_0x155145;_0x105020[_0x4e60d6(0xd8)]([_0x5065df,_0x631be],{'commandName':_0x4e60d6(0xbc),'commandParams':[]},[],_0x4e60d6(0xbc));});});}for(const _0x28b2a6 of[_0x2b6fe7(0xd7),_0x2b6fe7(0xd5)]){const _0x13f8be=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x28b2a6);_0x105020[_0x2b6fe7(0xb7)](_0x28b2a6,()=>{const _0x2b3fa2=_0x2b6fe7,_0x1d2688=_0x580b44[_0x2b3fa2(0xc1)](_0x12ba65[_0x2b3fa2(0xd4)][_0x2b3fa2(0xd2)][_0x2b3fa2(0xed)])[0x0],_0x49bb0b=_0x1d2688[_0x2b3fa2(0xd9)](_0x2b3fa2(0xf3)),{column:_0x533400,row:_0x54b212}=_0x580b44[_0x2b3fa2(0xca)](_0x1d2688);let _0x274656=[];if(_0x2b3fa2(0xe7)==_0x13f8be[_0x2b3fa2(0xeb)]){const _0x2c5b09=_0x580b44[_0x2b3fa2(0xb1)](_0x49bb0b,{'startRow':_0x54b212,'endRow':_0x54b212,'includeAllSlots':!0x0});_0x274656=Array[_0x2b3fa2(0xa9)](_0x2c5b09)[_0x2b3fa2(0xb9)](_0x20556e=>_0x20556e[_0x2b3fa2(0xbe)]);}else{const _0x41801c=_0x580b44[_0x2b3fa2(0xb1)](_0x49bb0b,{'column':_0x533400,'includeAllSlots':!0x0});_0x274656=Array[_0x2b3fa2(0xa9)](_0x41801c)[_0x2b3fa2(0xb9)](_0x5da683=>_0x5da683[_0x2b3fa2(0xbe)]);}_0x12ba65[_0x2b3fa2(0xd4)][_0x2b3fa2(0xc9)](_0x34e74=>{const _0x2c8cc0=_0x2b3fa2;_0x105020[_0x2c8cc0(0xad)](_0x34e74[_0x2c8cc0(0xf8)](_0x1d2688),{'commandName':_0x28b2a6,'commandParams':[]},_0x274656,_0x28b2a6);});});}_0x105020[_0x2b6fe7(0xba)][_0x2b6fe7(0xcf)](_0xceffda=>{const _0x143d5f=_0x2b6fe7;if(_0x143d5f(0xf7)!=_0xceffda[_0x143d5f(0xb0)]&&_0x143d5f(0xab)!=_0xceffda[_0x143d5f(0xb0)])return;const {data:_0x2ca8b6}=_0xceffda;return _0x2ca8b6&&_0x143d5f(0xbc)==_0x2ca8b6[_0x143d5f(0xd6)]?{'type':_0x143d5f(0xc0),'content':_0x3bfc95(_0x9f533b,_0x143d5f(0xe6))}:void 0x0;}),_0x105020[_0x2b6fe7(0xba)][_0x2b6fe7(0xcf)](_0x4a1031=>{const _0x54f0fe=_0x2b6fe7;if(_0x54f0fe(0xf7)!=_0x4a1031[_0x54f0fe(0xb0)]&&_0x54f0fe(0xab)!=_0x4a1031[_0x54f0fe(0xb0)])return;const {data:_0x11eba1}=_0x4a1031;return _0x11eba1?_0x54f0fe(0xd7)==_0x11eba1[_0x54f0fe(0xd6)]?{'type':_0x54f0fe(0xc0),'content':_0x3bfc95(_0x9f533b,_0x54f0fe(0xe8))}:_0x54f0fe(0xd5)==_0x11eba1[_0x54f0fe(0xd6)]?{'type':_0x54f0fe(0xc0),'content':_0x3bfc95(_0x9f533b,_0x54f0fe(0xdf))}:void 0x0:void 0x0;});const _0x30ca3d=_0x27cd39[_0x2b6fe7(0xcc)]();for(const _0x406571 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xf4),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6)])_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x406571,_0x2b6fe7(0xc7),_0x30ca3d);for(const _0x402b35 of[_0x2b6fe7(0xd7),_0x2b6fe7(0xd5)])_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x402b35,_0x2b6fe7(0xc7),_0x30ca3d);_0x105020[_0x2b6fe7(0xe0)][_0x2b6fe7(0x106)](_0x2b6fe7(0xf7),_0x2b6fe7(0xbc),_0x2b6fe7(0xc7),_0x48a972=>{const _0x4919fd=_0x2b6fe7;_0x12ba65[_0x4919fd(0xd4)][_0x4919fd(0xc9)](_0x52247a=>{const _0x1abc12=_0x4919fd,_0x3c8fdb=Array[_0x1abc12(0xa9)](_0x5dc00a[_0x1abc12(0xea)]())[_0x1abc12(0xb9)](_0x72984c=>_0x4b768a[_0x1abc12(0xfd)](_0x72984c));_0x52247a[_0x1abc12(0xee)](_0x48a972),_0x12ba65[_0x1abc12(0xcb)][_0x1abc12(0xef)](_0x1abc12(0xbc))[_0x1abc12(0xc2)](),_0x12ba65[_0x1abc12(0x105)](_0x1abc12(0xbc),{'forceDefaultExecution':!0x0});const _0x56ac66=_0x3c8fdb[_0x1abc12(0xd0)](_0x2ace29=>_0x1abc12(0xc4)!=_0x2ace29[_0x1abc12(0xdd)][_0x1abc12(0xda)]);_0x56ac66[_0x1abc12(0xe1)]>0x0&&_0x52247a[_0x1abc12(0xee)](_0x56ac66);for(const _0x5c6ff9 of _0x3c8fdb)_0x5c6ff9[_0x1abc12(0xfa)]();});});for(const _0x56e886 of[_0x2b6fe7(0xcd),_0x2b6fe7(0xbb),_0x2b6fe7(0xb6),_0x2b6fe7(0xf4)]){const _0x1c4329=_0x12ba65[_0x2b6fe7(0xcb)][_0x2b6fe7(0xef)](_0x56e886);_0x1c4329['on'](_0x2b6fe7(0xce),(_0x388743,_0x5bd716,_0xb6907e)=>{const _0x47d9bf=_0x2b6fe7;if(_0xb6907e){const _0x5bc411=_0x12ba65[_0x47d9bf(0xd4)][_0x47d9bf(0xd2)][_0x47d9bf(0xed)][_0x47d9bf(0xd1)]()[_0x47d9bf(0xc6)]()[_0x47d9bf(0xe5)](_0x3b08c3=>_0x3b08c3['is'](_0x47d9bf(0xf1),_0x47d9bf(0xa6)));this[_0x47d9bf(0xbd)](_0x1c4329[_0x47d9bf(0xbf)],_0x5bc411)||(_0x388743[_0x47d9bf(0xfb)]=!0x1,_0x388743[_0x47d9bf(0x100)]());}},{'priority':_0x2b6fe7(0xb4)});}}[_0x1dacd6(0xc5)](){const _0x4842b6=_0x1dacd6,_0x2104b2=this[_0x4842b6(0xac)][_0x4842b6(0xcb)][_0x4842b6(0xef)](_0x4842b6(0xbc)),_0x17df69=this[_0x4842b6(0xac)][_0x4842b6(0x107)][_0x4842b6(0xef)](_0x4842b6(0xff));if(!_0x2104b2[_0x4842b6(0xb8)])return!0x1;const _0x22f114=_0x17df69[_0x4842b6(0xc1)](this[_0x4842b6(0xac)][_0x4842b6(0xd4)][_0x4842b6(0xd2)][_0x4842b6(0xed)]);for(const _0x4eb751 of _0x22f114)for(const _0x7ee85c of _0x22f114)if(_0x4eb751!=_0x7ee85c&&!this[_0x4842b6(0xbd)](_0x4eb751,_0x7ee85c))return!0x1;return!0x0;}[_0x1dacd6(0xbd)](_0x130a89,_0x1605fa){const _0x52e46c=_0x1dacd6,_0x4b504a=this[_0x52e46c(0xac)][_0x52e46c(0x107)][_0x52e46c(0xef)](_0x52e46c(0xa8)),_0x5e22d5=this[_0x52e46c(0xac)][_0x52e46c(0xd4)][_0x52e46c(0xf8)](_0x130a89),_0x211e78=this[_0x52e46c(0xac)][_0x52e46c(0xd4)][_0x52e46c(0xf8)](_0x1605fa),_0x384ad5=new Set(),_0x26a7c0=new Set();for(const _0x5ecf71 of _0x4b504a[_0x52e46c(0xf0)]())if((_0x52e46c(0x102)==_0x5ecf71[_0x52e46c(0xb0)]||_0x52e46c(0xc3)==_0x5ecf71[_0x52e46c(0xb0)]||_0x52e46c(0xbc)==_0x5ecf71[_0x52e46c(0xdb)])&&_0x5ecf71[_0x52e46c(0xf2)]){for(const _0x5ea27e of _0x5ecf71[_0x52e46c(0xea)]())_0x5ea27e[_0x52e46c(0x103)](_0x5e22d5,!0x0)&&_0x384ad5[_0x52e46c(0xe2)](_0x5ecf71[_0x52e46c(0xb0)]+':'+_0x5ecf71[_0x52e46c(0xf5)]['id']),_0x5ea27e[_0x52e46c(0x103)](_0x211e78,!0x0)&&_0x26a7c0[_0x52e46c(0xe2)](_0x5ecf71[_0x52e46c(0xb0)]+':'+_0x5ecf71[_0x52e46c(0xf5)]['id']);}if(_0x384ad5[_0x52e46c(0x104)]!=_0x26a7c0[_0x52e46c(0x104)])return!0x1;for(const _0x37e708 of _0x384ad5)if(!_0x26a7c0[_0x52e46c(0xde)](_0x37e708))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a08cd=_0x5046;(function(_0x1bfe5d,_0x345b55){const _0x366c39=_0x5046,_0x142912=_0x1bfe5d();while(!![]){try{const _0x5bc2f1=parseInt(_0x366c39(0xa1))/0x1*(-parseInt(_0x366c39(0x94))/0x2)+parseInt(_0x366c39(0x8c))/0x3*(-parseInt(_0x366c39(0x9c))/0x4)+-parseInt(_0x366c39(0x93))/0x5+parseInt(_0x366c39(0x97))/0x6*(-parseInt(_0x366c39(0x96))/0x7)+-parseInt(_0x366c39(0x92))/0x8*(-parseInt(_0x366c39(0xa0))/0x9)+-parseInt(_0x366c39(0x8d))/0xa+parseInt(_0x366c39(0xa2))/0xb*(parseInt(_0x366c39(0xa4))/0xc);if(_0x5bc2f1===_0x345b55)break;else _0x142912['push'](_0x142912['shift']());}catch(_0x2f567f){_0x142912['push'](_0x142912['shift']());}}}(_0x33f0,0x3b027));import{Plugin as _0x1f7300}from'ckeditor5/src/core.js';import{getTranslation as _0xa0bf47}from'../utils/common-translations.js';function _0x33f0(){const _0xdd46ce=['editor','3582372IQWhWF','254559AsAeTT','3103560biMcqX','descriptionFactory','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','952ykLsdm','509595wVTgQn','350IWWNsH','tableOfContents','3563XfhuOc','4170hCsaWY','insertTableOfContents','afterInit','plugins','commands','20LNzmML','get','enableCommand','locale','28989pTYCwq','831bJNZaN','44cQvNcx'];_0x33f0=function(){return _0xdd46ce;};return _0x33f0();}function _0x5046(_0x1243db,_0x585f6a){const _0x33f00f=_0x33f0();return _0x5046=function(_0x504694,_0x14d632){_0x504694=_0x504694-0x8c;let _0x50a297=_0x33f00f[_0x504694];return _0x50a297;},_0x5046(_0x1243db,_0x585f6a);}export default class _t extends _0x1f7300{[_0x5a08cd(0x99)](){const _0x1ee0e5=_0x5a08cd,_0x3c7cca=this[_0x1ee0e5(0xa3)];if(!_0x3c7cca[_0x1ee0e5(0x9b)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x98)))return;_0x3c7cca[_0x1ee0e5(0x9a)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x8f))[_0x1ee0e5(0x9e)](_0x1ee0e5(0x98));const _0x389ebd=_0x3c7cca[_0x1ee0e5(0x9a)][_0x1ee0e5(0x9d)](_0x1ee0e5(0x8f)),_0x3ac801=_0x3c7cca[_0x1ee0e5(0x9f)];_0x389ebd[_0x1ee0e5(0x8e)][_0x1ee0e5(0x91)](_0x1ee0e5(0x95),_0xa59843=>_0xa0bf47(_0x3ac801,_0x1ee0e5(0x90),_0xa59843));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34a3ad=_0x390d;function _0x390d(_0x41617e,_0xe630cd){const _0x3ebea8=_0x3ebe();return _0x390d=function(_0x390d33,_0xc164a6){_0x390d33=_0x390d33-0x18c;let _0x48f5e2=_0x3ebea8[_0x390d33];return _0x48f5e2;},_0x390d(_0x41617e,_0xe630cd);}function _0x3ebe(){const _0x1fcf3a=['join','pluginName','markBlockFormat','_handlePropertyChange','handleSuggestionDescription','model','getAttribute','formatBlock','format','descriptionFactory','tableBorderStyle','tableBorderWidth','handleDiscardAction','544rSnosW','1595ZvZCFd','change','tableProperties','tableBackgroundColor','getSuggestions','editor','table','1399482ngUfPr','tableAlignment','38010OYTVGW','get','*Format:*\x20change\x20table\x20cell\x20properties','TrackChangesEditing','TableCellPropertiesEditing','document','data','afterInit','getSuggestionCallback','TrackChangesTableProperties','getSelectionAffectedTableCells','getContainedElement','batch','tableCellBorderStyle','enableCommand','tableCellProperties','906801jtxRoB','commandParams','discard','tableCellPadding','setAttribute','2acCEVV','1916694BHtWsH','removeAttribute','start','tableCellWidth','nodeAfter','tableCellBorderWidth','tableCellBorderColor','TablePropertiesEditing','tableCellHeight','selection','TableUtils','tableCellVerticalAlignment','tableHeight','plugins','64AbJZuc','tableBorderColor','*Format:*\x20change\x20table\x20properties','_suggestionFactory','tableWidth','has','registerCustomCallback','26881ohbiwP','findAncestor','15835BGgVVK','260218ezGujs','enqueueChange','_getSuggestion','getFirstPosition','registerDescriptionCallback','accept','subType','tableCellBackgroundColor','tableCellHorizontalAlignment','locale'];_0x3ebe=function(){return _0x1fcf3a;};return _0x3ebe();}(function(_0x331313,_0x5c815d){const _0x4182ec=_0x390d,_0x22ef44=_0x331313();while(!![]){try{const _0x3a0ec6=-parseInt(_0x4182ec(0x1c4))/0x1*(parseInt(_0x4182ec(0x1ae))/0x2)+-parseInt(_0x4182ec(0x1a9))/0x3+parseInt(_0x4182ec(0x18f))/0x4*(-parseInt(_0x4182ec(0x1c6))/0x5)+parseInt(_0x4182ec(0x1af))/0x6+parseInt(_0x4182ec(0x1c7))/0x7*(parseInt(_0x4182ec(0x1bd))/0x8)+-parseInt(_0x4182ec(0x197))/0x9+parseInt(_0x4182ec(0x199))/0xa*(parseInt(_0x4182ec(0x190))/0xb);if(_0x3a0ec6===_0x5c815d)break;else _0x22ef44['push'](_0x22ef44['shift']());}catch(_0x4f731f){_0x22ef44['push'](_0x22ef44['shift']());}}}(_0x3ebe,0x3dad4));import{Plugin as _0x2d6687}from'ckeditor5/src/core.js';import{getTranslation as _0x5b3ce0}from'../utils/common-translations.js';export default class $t extends _0x2d6687{constructor(_0x2b7354){const _0x4dea30=_0x390d;super(_0x2b7354),this[_0x4dea30(0x192)]=[_0x4dea30(0x1be),_0x4dea30(0x18c),_0x4dea30(0x18d),_0x4dea30(0x198),_0x4dea30(0x1c1),_0x4dea30(0x1bb),_0x4dea30(0x193)],this[_0x4dea30(0x1a8)]=[_0x4dea30(0x1b5),_0x4dea30(0x1a6),_0x4dea30(0x1b4),_0x4dea30(0x1ac),_0x4dea30(0x1b2),_0x4dea30(0x1b7),_0x4dea30(0x1ce),_0x4dea30(0x1cf),_0x4dea30(0x1ba)];}static get[_0x34a3ad(0x1d2)](){const _0x2df743=_0x34a3ad;return _0x2df743(0x1a2);}[_0x34a3ad(0x1a0)](){const _0x4b5046=_0x34a3ad,_0x354f46=this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x19a)](_0x4b5046(0x19c));if(this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x1c2)](_0x4b5046(0x1b6))){for(const _0x1b7f6a of this[_0x4b5046(0x192)])_0x354f46[_0x4b5046(0x1a7)](_0x1b7f6a,(_0x5615c7,_0x439271)=>{const _0x3165dc=_0x4b5046,_0x2f518a=this[_0x3165dc(0x195)][_0x3165dc(0x1d6)][_0x3165dc(0x19e)][_0x3165dc(0x1b8)][_0x3165dc(0x1ca)]()[_0x3165dc(0x1c5)](_0x3165dc(0x196));this[_0x3165dc(0x1d4)](_0x1b7f6a,[_0x2f518a],this[_0x3165dc(0x192)],_0x3165dc(0x192),_0x5615c7,_0x439271);});_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1cc),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1a1)](_0x4b5046(0x1d8),null,_0x4b5046(0x1ab))),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1ab),(_0x373462,_0x6bd026)=>this[_0x4b5046(0x18e)](this[_0x4b5046(0x192)],_0x373462,_0x6bd026)),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x192),_0x4b5046(0x1d1),()=>!0x1);}if(this[_0x4b5046(0x195)][_0x4b5046(0x1bc)][_0x4b5046(0x1c2)](_0x4b5046(0x19d))){for(const _0x1fdc84 of this[_0x4b5046(0x1a8)])_0x354f46[_0x4b5046(0x1a7)](_0x1fdc84,(_0x502cbb,_0x70ab4f)=>{const _0x1a1ecc=_0x4b5046,_0x5c8e9e=this[_0x1a1ecc(0x195)][_0x1a1ecc(0x1bc)][_0x1a1ecc(0x19a)](_0x1a1ecc(0x1b9))[_0x1a1ecc(0x1a3)](this[_0x1a1ecc(0x195)][_0x1a1ecc(0x1d6)][_0x1a1ecc(0x19e)][_0x1a1ecc(0x1b8)]);this[_0x1a1ecc(0x1d4)](_0x1fdc84,_0x5c8e9e,this[_0x1a1ecc(0x1a8)],_0x1a1ecc(0x1a8),_0x502cbb,_0x70ab4f);});_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1cc),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1a1)](_0x4b5046(0x1d8),null,_0x4b5046(0x1ab))),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1ab),(_0x19f217,_0x535900)=>this[_0x4b5046(0x18e)](this[_0x4b5046(0x1a8)],_0x19f217,_0x535900)),_0x354f46[_0x4b5046(0x1c0)][_0x4b5046(0x1c3)](_0x4b5046(0x1d8),_0x4b5046(0x1a8),_0x4b5046(0x1d1),()=>!0x1);}_0x354f46[_0x4b5046(0x1da)][_0x4b5046(0x1cb)](_0x1bcd61=>this[_0x4b5046(0x1d5)](_0x1bcd61));}[_0x34a3ad(0x1d4)](_0x4a9d16,_0x28bc3d,_0x4dc8bf,_0x49986b,_0x33efe3,_0xfc7cea){const _0x4fc0ee=_0x34a3ad,_0x2554af=this[_0x4fc0ee(0x195)][_0x4fc0ee(0x1bc)][_0x4fc0ee(0x19a)](_0x4fc0ee(0x19c));this[_0x4fc0ee(0x195)][_0x4fc0ee(0x1d6)][_0x4fc0ee(0x1c8)](_0xfc7cea[_0x4fc0ee(0x1a5)],()=>{const _0x27c4ee=_0x4fc0ee;for(const _0x3ce54f of _0x28bc3d){if(this[_0x27c4ee(0x1c9)](_0x3ce54f,_0x49986b))_0x33efe3(_0xfc7cea);else{const _0x553b89={};for(const _0x56b7e5 of _0x4dc8bf){const _0x4c8a08=_0x3ce54f[_0x27c4ee(0x1d7)](_0x56b7e5);void 0x0!==_0x4c8a08&&(_0x553b89[_0x56b7e5]=_0x4c8a08);}_0x33efe3(_0xfc7cea),_0x2554af[_0x27c4ee(0x1d3)](_0x3ce54f,{'commandParams':[_0x553b89]},[],_0x49986b);}}});}[_0x34a3ad(0x18e)](_0x1dca90,_0x221ae3,_0x4dbb5f){const _0x5c7ebf=_0x34a3ad,_0x2f5d9d=_0x221ae3[0x0][_0x5c7ebf(0x1b1)][_0x5c7ebf(0x1b3)],_0x165859=_0x4dbb5f[_0x5c7ebf(0x1aa)][0x0];this[_0x5c7ebf(0x195)][_0x5c7ebf(0x1d6)][_0x5c7ebf(0x191)](_0x44e10b=>{const _0xe2476a=_0x5c7ebf;for(const _0x9d6b0f of _0x1dca90)void 0x0!==_0x165859[_0x9d6b0f]?_0x44e10b[_0xe2476a(0x1ad)](_0x9d6b0f,_0x165859[_0x9d6b0f],_0x2f5d9d):_0x44e10b[_0xe2476a(0x1b0)](_0x9d6b0f,_0x2f5d9d);});}[_0x34a3ad(0x1d5)](_0x1de99e){const _0x443f76=_0x34a3ad;if(_0x1de99e[_0x443f76(0x19f)])switch(_0x1de99e[_0x443f76(0x1cd)]){case _0x443f76(0x192):return{'type':_0x443f76(0x1d9),'content':_0x5b3ce0(this[_0x443f76(0x195)][_0x443f76(0x1d0)],_0x443f76(0x1bf))};case _0x443f76(0x1a8):return{'type':_0x443f76(0x1d9),'content':_0x5b3ce0(this[_0x443f76(0x195)][_0x443f76(0x1d0)],_0x443f76(0x19b))};}}[_0x34a3ad(0x1c9)](_0x56b8f4,_0x5dbf87){const _0x337fc8=_0x34a3ad,_0x47c2ef=this[_0x337fc8(0x195)][_0x337fc8(0x1bc)][_0x337fc8(0x19a)](_0x337fc8(0x19c));for(const _0x5f3d7e of _0x47c2ef[_0x337fc8(0x194)]({'skipNotAttached':!0x0})){const _0x57825=_0x5f3d7e[_0x337fc8(0x1a4)]();if(_0x5f3d7e[_0x337fc8(0x1cd)]===_0x5dbf87&&_0x57825===_0x56b8f4)return _0x5f3d7e;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf2d4a9=_0x1e4c;(function(_0x41bdcd,_0x15e2e4){const _0x1b5606=_0x1e4c,_0x33b942=_0x41bdcd();while(!![]){try{const _0x439303=parseInt(_0x1b5606(0x1e0))/0x1*(-parseInt(_0x1b5606(0x1d6))/0x2)+parseInt(_0x1b5606(0x1dc))/0x3*(-parseInt(_0x1b5606(0x1d5))/0x4)+-parseInt(_0x1b5606(0x1df))/0x5+-parseInt(_0x1b5606(0x1d3))/0x6+-parseInt(_0x1b5606(0x1d2))/0x7*(-parseInt(_0x1b5606(0x1de))/0x8)+parseInt(_0x1b5606(0x1e2))/0x9*(parseInt(_0x1b5606(0x1dd))/0xa)+parseInt(_0x1b5606(0x1d7))/0xb;if(_0x439303===_0x15e2e4)break;else _0x33b942['push'](_0x33b942['shift']());}catch(_0x3c09e6){_0x33b942['push'](_0x33b942['shift']());}}}(_0x3102,0xbedd8));function _0x1e4c(_0x5800c9,_0x42b010){const _0x31025c=_0x3102();return _0x1e4c=function(_0x1e4ca2,_0x23ce50){_0x1e4ca2=_0x1e4ca2-0x1d0;let _0x191e1d=_0x31025c[_0x1e4ca2];return _0x191e1d;},_0x1e4c(_0x5800c9,_0x42b010);}import{Plugin as _0x53962b}from'ckeditor5/src/core.js';function _0x3102(){const _0xd3650a=['insertTemplate','497044HpCyGB','1984414anGKoL','28312295NXdmbV','Template','TrackChangesEditing','afterInit','has','6JByXtl','240szPppl','56552UHrEPi','7764195MGFfjD','1ZoNlpQ','plugins','490050XhgKZe','enableCommand','get','editor','1106GAcCXh','8533170tXXYAQ'];_0x3102=function(){return _0xd3650a;};return _0x3102();}export default class Ct extends _0x53962b{[_0xf2d4a9(0x1da)](){const _0x5f00c7=_0xf2d4a9,_0x36dbef=this[_0x5f00c7(0x1d1)];_0x36dbef[_0x5f00c7(0x1e1)][_0x5f00c7(0x1db)](_0x5f00c7(0x1d8))&&_0x36dbef[_0x5f00c7(0x1e1)][_0x5f00c7(0x1d0)](_0x5f00c7(0x1d9))[_0x5f00c7(0x1e3)](_0x5f00c7(0x1d4));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b1ae9=_0xbb69;(function(_0x70b0a0,_0x370f44){const _0x5ce537=_0xbb69,_0x3bd3de=_0x70b0a0();while(!![]){try{const _0x101d22=-parseInt(_0x5ce537(0xb7))/0x1+-parseInt(_0x5ce537(0xb6))/0x2*(parseInt(_0x5ce537(0xba))/0x3)+-parseInt(_0x5ce537(0xcb))/0x4*(parseInt(_0x5ce537(0xbe))/0x5)+parseInt(_0x5ce537(0xc9))/0x6*(parseInt(_0x5ce537(0xc3))/0x7)+-parseInt(_0x5ce537(0xd1))/0x8+parseInt(_0x5ce537(0xb9))/0x9+parseInt(_0x5ce537(0xd4))/0xa;if(_0x101d22===_0x370f44)break;else _0x3bd3de['push'](_0x3bd3de['shift']());}catch(_0x3afd0e){_0x3bd3de['push'](_0x3bd3de['shift']());}}}(_0x5c32,0xdc275));function _0xbb69(_0x10a997,_0x185d46){const _0x5c3239=_0x5c32();return _0xbb69=function(_0xbb69c7,_0x1905d6){_0xbb69c7=_0xbb69c7-0xae;let _0x1e2d77=_0x5c3239[_0xbb69c7];return _0x1e2d77;},_0xbb69(_0x10a997,_0x185d46);}function _0x5c32(){const _0x5af644=['newRange','createRange','locale','812581tNGFKn','getNearestSelectionRange','start','updateMarker','from','registerPostFixer','78IbqjFA','nodeBefore','44uNCZYW','end','isEqual','model','ELEMENT_TITLE','forward','6578480EWLWcP','differ','TrackChangesEditing','34589040BQPgic','suggestion','element','isCollapsed','registerElementLabel','plugins','removeMarker','document','title-content','isTouching','editor','schema','getChangedMarkers','has','4sPpLLe','1650450mBAGps','_splitMarkerName','11529UEygAr','1915365xUsdZH','get','Title','afterInit','144475vFStjE','descriptionFactory'];_0x5c32=function(){return _0x5af644;};return _0x5c32();}import{Plugin as _0xc6f752}from'ckeditor5/src/core.js';import{getTranslation as _0x542dbb}from'../utils/common-translations.js';export default class Dt extends _0xc6f752{[_0x1b1ae9(0xbd)](){const _0x2e635c=_0x1b1ae9,_0x120d19=this[_0x2e635c(0xb2)];if(!_0x120d19[_0x2e635c(0xd9)][_0x2e635c(0xb5)](_0x2e635c(0xbc)))return;const _0x5f0178=_0x120d19[_0x2e635c(0xd9)][_0x2e635c(0xbb)](_0x2e635c(0xd3));_0x5f0178[_0x2e635c(0xbf)][_0x2e635c(0xd8)](_0x2e635c(0xb0),()=>_0x542dbb(_0x120d19[_0x2e635c(0xc2)],_0x2e635c(0xcf))),_0x120d19[_0x2e635c(0xce)][_0x2e635c(0xaf)][_0x2e635c(0xc8)](_0x511b57=>{const _0xef0e99=_0x2e635c;let _0x4f6c4f=!0x1;const _0x105d42=Array[_0xef0e99(0xc7)](_0x120d19[_0xef0e99(0xce)][_0xef0e99(0xaf)][_0xef0e99(0xd2)][_0xef0e99(0xb4)]());for(const {name:_0x432f86,data:_0x3ae33b}of _0x105d42){const {group:_0x4eb1da}=_0x5f0178[_0xef0e99(0xb8)](_0x432f86);if(_0xef0e99(0xd5)!==_0x4eb1da||!_0x3ae33b[_0xef0e99(0xc0)])continue;const _0x533549=_0x3ae33b[_0xef0e99(0xc0)],_0x126bd5=_0x533549[_0xef0e99(0xcc)][_0xef0e99(0xca)];if(!_0x126bd5||!_0x126bd5['is'](_0xef0e99(0xd6),_0xef0e99(0xb0)))continue;if(!_0x533549[_0xef0e99(0xc5)][_0xef0e99(0xb1)](_0x533549[_0xef0e99(0xcc)]))continue;const _0x16e958=_0x120d19[_0xef0e99(0xce)][_0xef0e99(0xb3)][_0xef0e99(0xc4)](_0x533549[_0xef0e99(0xcc)],_0xef0e99(0xd0));if(_0x16e958&&_0x16e958[_0xef0e99(0xd7)]){const _0x27890f=_0x511b57[_0xef0e99(0xc1)](_0x533549[_0xef0e99(0xc5)],_0x16e958[_0xef0e99(0xc5)]);_0x27890f[_0xef0e99(0xcd)](_0x533549)||(_0x511b57[_0xef0e99(0xc6)](_0x432f86,{'range':_0x27890f}),_0x4f6c4f=!0x0);}_0x4f6c4f||(_0x511b57[_0xef0e99(0xae)](_0x432f86),_0x4f6c4f=!0x0);}return _0x4f6c4f;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x535642=_0x16ee;(function(_0x1456e3,_0x5aebbb){const _0x123a8c=_0x16ee,_0x2e42a9=_0x1456e3();while(!![]){try{const _0x43ebfc=parseInt(_0x123a8c(0x100))/0x1+parseInt(_0x123a8c(0xff))/0x2*(-parseInt(_0x123a8c(0xf5))/0x3)+-parseInt(_0x123a8c(0xfe))/0x4*(parseInt(_0x123a8c(0xf4))/0x5)+parseInt(_0x123a8c(0x102))/0x6*(-parseInt(_0x123a8c(0x106))/0x7)+-parseInt(_0x123a8c(0xfb))/0x8*(-parseInt(_0x123a8c(0xf9))/0x9)+parseInt(_0x123a8c(0xf6))/0xa*(parseInt(_0x123a8c(0xfd))/0xb)+-parseInt(_0x123a8c(0x107))/0xc;if(_0x43ebfc===_0x5aebbb)break;else _0x2e42a9['push'](_0x2e42a9['shift']());}catch(_0x5a7e8e){_0x2e42a9['push'](_0x2e42a9['shift']());}}}(_0x2cbe,0xa6d8b));function _0x16ee(_0x2693fc,_0x339339){const _0x2cbecc=_0x2cbe();return _0x16ee=function(_0x16ee95,_0x59995a){_0x16ee95=_0x16ee95-0xf2;let _0x578b65=_0x2cbecc[_0x16ee95];return _0x578b65;},_0x16ee(_0x2693fc,_0x339339);}function _0x2cbe(){const _0x246811=['7691772PEuTSO','enableCommand','get','1108145fYyNzD','3KDFzmF','13980QEyPer','UndoEditing','plugins','10605231AkDIhY','undo','8TTyElH','has','4246MoGhnh','12scsFIi','1528698oSIGbD','1202616sClUUP','redo','6rdGFTB','editor','afterInit','TrackChangesEditing','1168881GplZYL'];_0x2cbe=function(){return _0x246811;};return _0x2cbe();}import{Plugin as _0x3b6dfa}from'ckeditor5/src/core.js';export default class Nt extends _0x3b6dfa{[_0x535642(0x104)](){const _0x5a1769=_0x535642,_0x43e98a=this[_0x5a1769(0x103)],_0x50f7c2=_0x43e98a[_0x5a1769(0xf8)][_0x5a1769(0xf3)](_0x5a1769(0x105));_0x43e98a[_0x5a1769(0xf8)][_0x5a1769(0xfc)](_0x5a1769(0xf7))&&(_0x50f7c2[_0x5a1769(0xf2)](_0x5a1769(0xfa)),_0x50f7c2[_0x5a1769(0xf2)](_0x5a1769(0x101)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16a1(){const _0x4bfd60=['toViewPosition','item','get','parent','4919796trWsdQ','1355060YqHLXB','getCustomProperty','start','TrackChangesEditing','createRangeOn','schema','elementEnd','getItems','32635000YNnqny','push','isContent','2216532AtqOGH','mapper','type','7498985jRiyjS','1130005GwtUTN','addHighlight','bindElementToMarker','consumable','plugins','test','toViewElement','includes','hasAttribute','writer','span','markerName','isBlock','createUIElement','619929LijWwA','getWalker','6FTxDjW','previousPosition','insert','104vJEXTw','3NXdHdC','ck-suggestion-marker--active','isLimit','isAtEnd','name','model','addClass','activeMarkers','nextSibling','markerRange','ck-suggestion-marker-'];_0x16a1=function(){return _0x4bfd60;};return _0x16a1();}function _0x7332(_0x127f8e,_0x46fbc9){const _0x16a198=_0x16a1();return _0x7332=function(_0x7332ac,_0x438945){_0x7332ac=_0x7332ac-0x17d;let _0x39fe4b=_0x16a198[_0x7332ac];return _0x39fe4b;},_0x7332(_0x127f8e,_0x46fbc9);}(function(_0x3c0c79,_0x860159){const _0x3e28d5=_0x7332,_0x4921fa=_0x3c0c79();while(!![]){try{const _0x417c5a=-parseInt(_0x3e28d5(0x186))/0x1+parseInt(_0x3e28d5(0x182))/0x2*(-parseInt(_0x3e28d5(0x19a))/0x3)+-parseInt(_0x3e28d5(0x1aa))/0x4+parseInt(_0x3e28d5(0x185))/0x5*(-parseInt(_0x3e28d5(0x196))/0x6)+parseInt(_0x3e28d5(0x1a9))/0x7+-parseInt(_0x3e28d5(0x199))/0x8*(-parseInt(_0x3e28d5(0x194))/0x9)+parseInt(_0x3e28d5(0x17f))/0xa;if(_0x417c5a===_0x860159)break;else _0x4921fa['push'](_0x4921fa['shift']());}catch(_0x29fc1e){_0x4921fa['push'](_0x4921fa['shift']());}}}(_0x16a1,0xbfa34));export function getRangesWithAttribute(_0x206127,_0x534891,_0x21d7a1){const _0x3453e3=_0x7332,_0x53af55=[];for(const _0x3c2c78 of _0x534891[_0x3453e3(0x17e)]())_0x3c2c78[_0x3453e3(0x18e)](_0x206127)&&_0x53af55[_0x3453e3(0x180)](_0x21d7a1[_0x3453e3(0x1ae)](_0x3c2c78));return _0x53af55;}export function downcastSplitMergeMarker(_0x5a9489,_0x47a5f9,{showActiveMarker:_0x2e3b07=!0x0}={}){const _0x380db4=_0x7332,_0x215a0f=_0x5a9489[_0x380db4(0x18a)][_0x380db4(0x1a7)](_0x380db4(0x1ad));return(_0xc642df,_0x759afc,_0x27c002)=>{const _0x3596a4=_0x380db4;if(!_0x27c002[_0x3596a4(0x189)][_0x3596a4(0x18b)](_0x759afc[_0x3596a4(0x1a3)],_0xc642df[_0x3596a4(0x19e)]))return;const _0x4704db=_0x759afc[_0x3596a4(0x1a3)][_0x3596a4(0x195)](),_0x2d4330=_0x759afc[_0x3596a4(0x1a3)][_0x3596a4(0x1ac)],_0x52f373=_0x5a9489[_0x3596a4(0x19f)][_0x3596a4(0x1af)];let _0x2719fb=null,_0x26a900=null,_0x5cbae8=!0x1,_0x46f7fc=!0x1;for(const _0x879462 of _0x4704db){const _0x2b2db0=_0x879462[_0x3596a4(0x1a6)];_0x5cbae8=_0x5cbae8||_0x52f373[_0x3596a4(0x181)](_0x2b2db0);const _0x42cbb8=_0x27c002[_0x3596a4(0x183)][_0x3596a4(0x18c)](_0x2b2db0);if(_0x42cbb8&&_0x42cbb8[_0x3596a4(0x1ab)](_0x3596a4(0x187)))return;_0x3596a4(0x17d)==_0x879462[_0x3596a4(0x184)]&&(_0x52f373[_0x3596a4(0x192)](_0x2b2db0)&&!_0x52f373[_0x3596a4(0x19c)](_0x2b2db0)&&(_0x2b2db0[_0x3596a4(0x1a2)]||_0x2d4330[_0x3596a4(0x19d)]?_0x2719fb&&_0x2719fb[_0x3596a4(0x1a8)]==_0x2b2db0||(_0x2719fb=_0x2b2db0,_0x58d13e(_0x879462[_0x3596a4(0x197)]),_0x46f7fc=!0x0):_0x26a900=_0x26a900||_0x879462[_0x3596a4(0x197)]));}function _0x58d13e(_0x4eda6a){const _0x5e6200=_0x3596a4,_0xa3ae7e=_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x193)](_0x5e6200(0x190),{'class':_0x5e6200(0x1a4)+_0x47a5f9}),_0x123792=_0x27c002[_0x5e6200(0x183)][_0x5e6200(0x1a5)](_0x4eda6a);_0x2e3b07&&_0x215a0f[_0x5e6200(0x1a1)][_0x5e6200(0x18d)](_0x759afc[_0x5e6200(0x191)])&&_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x1a0)](_0x5e6200(0x19b),_0xa3ae7e),_0x27c002[_0x5e6200(0x18f)][_0x5e6200(0x198)](_0x123792,_0xa3ae7e),_0x27c002[_0x5e6200(0x183)][_0x5e6200(0x188)](_0xa3ae7e,_0x759afc[_0x5e6200(0x191)]);}_0x5cbae8||_0x46f7fc||!_0x26a900||_0x58d13e(_0x26a900);};}
|
package/src/suggestion.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const Suggestion_base: {
|
|
|
19
19
|
*
|
|
20
20
|
* `Suggestion` instances are created and handled by {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
|
|
21
21
|
*/
|
|
22
|
-
export default class Suggestion extends Suggestion_base {
|
|
22
|
+
export default class Suggestion extends /* #__PURE__ -- @preserve */ Suggestion_base {
|
|
23
23
|
/**
|
|
24
24
|
* Suggestion ID.
|
|
25
25
|
*/
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a735e=_0x1877;(function(_0x399b0c,_0xe4e649){const _0x5795c8=_0x1877,_0x2f7f93=_0x399b0c();while(!![]){try{const _0xc516be=-parseInt(_0x5795c8(0xcf))/0x1+parseInt(_0x5795c8(0xe1))/0x2+-parseInt(_0x5795c8(0xde))/0x3*(-parseInt(_0x5795c8(0xfe))/0x4)+parseInt(_0x5795c8(0x101))/0x5+-parseInt(_0x5795c8(0xea))/0x6+parseInt(_0x5795c8(0xf8))/0x7*(parseInt(_0x5795c8(0x112))/0x8)+-parseInt(_0x5795c8(0xf3))/0x9;if(_0xc516be===_0xe4e649)break;else _0x2f7f93['push'](_0x2f7f93['shift']());}catch(_0x59d92b){_0x2f7f93['push'](_0x2f7f93['shift']());}}}(_0x5dc8,0x5a388));import{Element as _0x42a4f9}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x2fcf5c,uid as _0x137332}from'ckeditor5/src/utils.js';function _0x1877(_0x1710be,_0x5e6a3a){const _0x5dc805=_0x5dc8();return _0x1877=function(_0x1877c9,_0x8ff5b2){_0x1877c9=_0x1877c9-0xcb;let _0x54e9a0=_0x5dc805[_0x1877c9];return _0x54e9a0;},_0x1877(_0x1710be,_0x5e6a3a);}import{cloneDeep as _0x5ca70d,isEqual as _0x133d9f,set as _0xfa2cc1,unset as _0x4f7024}from'lodash-es';function _0x5dc8(){const _0x33de76=['end','1322709QIOdvp','head','next','683512JsIXmE','push','suggestion:','attributes','isIntersectingWithRange','author','substr','addRange','addMarkerName','140688NgCsuu','set','discard','getContainedElement','from','getRange','decorate','getItems','change','7764660pFsVsm','_saved','markers','removeMarkers','isExternal','721oaFaOG','size','removeMarker','addMarker','onDiscard','getFirstRange','4wUSdih','filter','onAttributesChange','2455610RhTaIH','authoredAt','@external','accept','isInContent','removeAttribute','getMarkerNames','hasComments','previous','map','get','start','nodeAfter','getAllAdjacentSuggestions','split','creator','toJSON','50984wiGwiT','reduce','isIntersecting','add','getMultiRangeId','getFirstMarker','_onAccept','createdAt','commentThread','_onAttributesChange','isMultiRange','delete','length','674468zVHmei','_model','nodeBefore','data','_onDiscard','getRanges','getMarkers','onAccept','subType','clear','_markerNames','_isDataLoaded','type','setAttribute'];_0x5dc8=function(){return _0x33de76;};return _0x5dc8();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2fcf5c(){constructor(_0x172d54,_0xcfcd72){const _0x47c493=_0x1877;super(),this[_0x47c493(0xda)]=!0x1,this['id']=_0xcfcd72['id'],this[_0x47c493(0xdb)]=_0xcfcd72[_0x47c493(0xdb)],this[_0x47c493(0xd7)]=_0xcfcd72[_0x47c493(0xd7)]||null,this[_0x47c493(0xe6)]=_0xcfcd72[_0x47c493(0xe6)],this[_0x47c493(0x110)]=_0xcfcd72[_0x47c493(0x110)]||_0xcfcd72[_0x47c493(0xe6)],this[_0x47c493(0xf7)]=Boolean(_0xcfcd72[_0x47c493(0xe4)]&&_0xcfcd72[_0x47c493(0xe4)][_0x47c493(0x103)]),this[_0x47c493(0xd2)]=null,this[_0x47c493(0xd0)]=_0x172d54,this[_0x47c493(0x118)]=_0xcfcd72[_0x47c493(0xd6)],this[_0x47c493(0xd3)]=_0xcfcd72[_0x47c493(0xfc)],this[_0x47c493(0xcb)]=_0xcfcd72[_0x47c493(0x100)],this[_0x47c493(0xd9)]=new Set(),this[_0x47c493(0x119)]=null,this[_0x47c493(0xeb)](_0x47c493(0x102),null),this[_0x47c493(0xeb)](_0x47c493(0xe4),_0xcfcd72[_0x47c493(0xe4)]||{}),this[_0x47c493(0xeb)](_0x47c493(0x109),null),this[_0x47c493(0xeb)](_0x47c493(0xe0),null),this[_0x47c493(0xeb)](_0x47c493(0x11a),null),this[_0x47c493(0xeb)](_0x47c493(0xf4),!0x1),this[_0x47c493(0xf0)](_0x47c493(0x104)),this[_0x47c493(0xf0)](_0x47c493(0xec));}get[_0x5a735e(0xdf)](){const _0x24be60=_0x5a735e;let _0x2a6ac7=this;for(;_0x2a6ac7[_0x24be60(0x109)];)_0x2a6ac7=_0x2a6ac7[_0x24be60(0x109)];return _0x2a6ac7;}get[_0x5a735e(0x108)](){const _0x4c5ca4=_0x5a735e;return!!this[_0x4c5ca4(0x11a)]&&this[_0x4c5ca4(0x11a)][_0x4c5ca4(0xce)]>0x0;}get[_0x5a735e(0xcc)](){const _0x1725da=_0x5a735e;if(0x0==this[_0x1725da(0xd9)][_0x1725da(0xf9)])return!0x1;return 0x6==Array[_0x1725da(0xee)](this[_0x1725da(0xd9)])[0x0][_0x1725da(0x10f)](':')[_0x1725da(0xce)];}get[_0x5a735e(0x105)](){const _0x4470ef=_0x5a735e;return null!==this[_0x4470ef(0x117)]();}[_0x5a735e(0xe9)](_0x494c01){const _0x571c16=_0x5a735e;this[_0x571c16(0xd9)][_0x571c16(0x115)](_0x494c01);}[_0x5a735e(0x107)](){const _0x1b7782=_0x5a735e;return Array[_0x1b7782(0xee)](this[_0x1b7782(0xd9)]);}[_0x5a735e(0xd5)](){const _0x3f170c=_0x5a735e;return this[_0x3f170c(0x107)]()[_0x3f170c(0x10a)](_0x51b80c=>this[_0x3f170c(0xd0)][_0x3f170c(0xf5)][_0x3f170c(0x10b)](_0x51b80c))[_0x3f170c(0xff)](_0x223247=>_0x223247);}[_0x5a735e(0x117)](){const _0x496152=_0x5a735e;return this[_0x496152(0xd5)]()[0x0]||null;}[_0x5a735e(0xf6)](){const _0x2cf651=_0x5a735e;this[_0x2cf651(0xd0)][_0x2cf651(0xf2)](_0x105441=>{const _0xc40525=_0x2cf651;for(const _0x328d8c of this[_0xc40525(0xd5)]())_0x105441[_0xc40525(0xfa)](_0x328d8c);}),this[_0x2cf651(0xd9)][_0x2cf651(0xd8)]();}[_0x5a735e(0xfa)](_0x1a4e56){const _0x3d9fb8=_0x5a735e;this[_0x3d9fb8(0xd0)][_0x3d9fb8(0xf2)](_0xc40296=>{const _0x1188bb=_0x3d9fb8;_0xc40296[_0x1188bb(0xfa)](_0x1a4e56);}),this[_0x3d9fb8(0xd9)][_0x3d9fb8(0xcd)](_0x1a4e56);}[_0x5a735e(0xe8)](_0x191659){const _0x2fb8d=_0x5a735e,_0x5ea2b7=_0x2fb8d(0xe3)+this[_0x2fb8d(0xdb)]+':'+this[_0x2fb8d(0xd7)]+':'+this['id']+':'+this[_0x2fb8d(0x110)]['id']+':'+u[_0x2fb8d(0x116)]();this[_0x2fb8d(0xe9)](_0x5ea2b7),this[_0x2fb8d(0xd0)][_0x2fb8d(0xf2)](_0x30601a=>{const _0x596517=_0x2fb8d;_0x30601a[_0x596517(0xfb)](_0x5ea2b7,{'range':_0x191659,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5a735e(0xe5)](_0xb1f06c){const _0x537585=_0x5a735e;for(const _0x1c93f5 of this[_0x537585(0xd4)]())if(_0x1c93f5[_0x537585(0x114)](_0xb1f06c))return!0x0;return!0x1;}[_0x5a735e(0xd4)](){const _0x147a6a=_0x5a735e;return this[_0x147a6a(0xd5)]()[_0x147a6a(0x10a)](_0x48e82e=>_0x48e82e[_0x147a6a(0xef)]());}[_0x5a735e(0xf1)](){const _0x57cc41=_0x5a735e;return this[_0x57cc41(0xd4)]()[_0x57cc41(0x113)]((_0x48f28c,_0x37d38f)=>[..._0x48f28c,..._0x37d38f[_0x57cc41(0xf1)]()],[]);}[_0x5a735e(0xfd)](){const _0x432973=_0x5a735e;var _0x21915b;return(null===(_0x21915b=this[_0x432973(0x117)]())||void 0x0===_0x21915b?void 0x0:_0x21915b[_0x432973(0xef)]())||null;}[_0x5a735e(0xed)](){const _0x4f9537=_0x5a735e,_0x2698e3=this[_0x4f9537(0xd4)]();if(0x1!=_0x2698e3[_0x4f9537(0xce)])return null;const _0x56f0c3=_0x2698e3[0x0],_0x805864=_0x56f0c3[_0x4f9537(0x10c)][_0x4f9537(0x10d)],_0x2e480e=_0x56f0c3[_0x4f9537(0xdd)][_0x4f9537(0xd1)];return _0x805864 instanceof _0x42a4f9?_0x805864!=_0x2e480e?null:_0x805864:null;}[_0x5a735e(0x104)](){const _0xdae2c0=_0x5a735e;this[_0xdae2c0(0x118)](this[_0xdae2c0(0xd4)](),this[_0xdae2c0(0xd2)],this[_0xdae2c0(0xe4)]),this[_0xdae2c0(0xf6)]();}[_0x5a735e(0xec)](){const _0x572c35=_0x5a735e;this[_0x572c35(0xd3)](this[_0x572c35(0xd4)](),this[_0x572c35(0xd2)],this[_0x572c35(0xe4)]),this[_0x572c35(0xf6)]();}[_0x5a735e(0x10e)](){const _0x23f706=_0x5a735e,_0x931d15=[];let _0x327be1=this[_0x23f706(0xdf)];for(;_0x327be1;)_0x931d15[_0x23f706(0xe2)](_0x327be1),_0x327be1=_0x327be1[_0x23f706(0xe0)];return _0x931d15;}[_0x5a735e(0xdc)](_0x1f5381,_0x5d2ff4){const _0xcdf045=_0x5a735e,_0x21421c=_0x5ca70d(this[_0xcdf045(0xe4)]);_0xfa2cc1(_0x21421c,_0x1f5381,_0x5d2ff4),_0x133d9f(_0x21421c,this[_0xcdf045(0xe4)])||(this[_0xcdf045(0xe4)]=_0x21421c,this[_0xcdf045(0xcb)](_0x21421c));}[_0x5a735e(0x106)](_0x3e6d16){const _0x13b49f=_0x5a735e,_0x4bb34c=_0x5ca70d(this[_0x13b49f(0xe4)]);_0x4f7024(_0x4bb34c,_0x3e6d16),_0x133d9f(_0x4bb34c,this[_0x13b49f(0xe4)])||(this[_0x13b49f(0xe4)]=_0x4bb34c,this[_0x13b49f(0xcb)](this[_0x13b49f(0xe4)]));}[_0x5a735e(0x111)](){const _0x1a1cab=_0x5a735e;return{'id':this['id'],'type':this[_0x1a1cab(0xd7)]?this[_0x1a1cab(0xdb)]+':'+this[_0x1a1cab(0xd7)]:this[_0x1a1cab(0xdb)],'authorId':this[_0x1a1cab(0x110)]['id'],'createdAt':this[_0x1a1cab(0x119)],'hasComments':this[_0x1a1cab(0x108)],'data':this[_0x1a1cab(0xd2)],'attributes':this[_0x1a1cab(0xe4)]};}static[_0x5a735e(0x116)](){const _0x383440=_0x5a735e;return _0x137332()[_0x383440(0xe7)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x196c(_0x525252,_0x2f4f02){const _0xaae343=_0xaae3();return _0x196c=function(_0x196c6f,_0x41aa80){_0x196c6f=_0x196c6f-0xc4;let _0xbe76f0=_0xaae343[_0x196c6f];return _0xbe76f0;},_0x196c(_0x525252,_0x2f4f02);}const _0x1a0592=_0x196c;(function(_0x497564,_0x2619fe){const _0x1046de=_0x196c,_0x2527db=_0x497564();while(!![]){try{const _0x306bf5=parseInt(_0x1046de(0xca))/0x1*(parseInt(_0x1046de(0x107))/0x2)+-parseInt(_0x1046de(0xe5))/0x3+-parseInt(_0x1046de(0xd2))/0x4*(-parseInt(_0x1046de(0xcf))/0x5)+parseInt(_0x1046de(0xec))/0x6*(parseInt(_0x1046de(0xd0))/0x7)+-parseInt(_0x1046de(0xf6))/0x8+-parseInt(_0x1046de(0x123))/0x9*(-parseInt(_0x1046de(0x10e))/0xa)+-parseInt(_0x1046de(0xe0))/0xb;if(_0x306bf5===_0x2619fe)break;else _0x2527db['push'](_0x2527db['shift']());}catch(_0x7c4eda){_0x2527db['push'](_0x2527db['shift']());}}}(_0xaae3,0x71fa0));import{getTranslation as _0x510954}from'./utils/common-translations.js';import{priorities as _0x476066,insertToPriorityArray as _0x1a14a8}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x327e24}from'./trackchangesediting.js';export default class f{constructor(_0x571dab,_0x489be5){const _0xe6cf51=_0x196c;this[_0xe6cf51(0x105)]=[],this[_0xe6cf51(0xce)]=new Map(),this[_0xe6cf51(0xd1)]=[],this[_0xe6cf51(0xe8)]=new Map(),this[_0xe6cf51(0xd9)]=_0x571dab,this[_0xe6cf51(0x11d)]=_0x489be5;}[_0x1a0592(0x11f)](_0x4d6a2b){const _0x5c0536=_0x1a0592,_0x544961=[],_0x45dd32=new Set(),_0x32afa3=new Set();for(let _0x473c2f=0x0;_0x473c2f<_0x4d6a2b[_0x5c0536(0xf8)];_0x473c2f++){const _0x3ce6fb=_0x4d6a2b[_0x473c2f];if(!_0x3ce6fb[_0x5c0536(0xcc)])continue;const _0x4decbd=this[_0x5c0536(0x11c)](_0x3ce6fb);if(_0x4decbd){if(null!=_0x3ce6fb[_0x5c0536(0x10f)]){if(_0x45dd32[_0x5c0536(0xfd)](_0x3ce6fb[_0x5c0536(0x10f)]))continue;_0x45dd32[_0x5c0536(0xc4)](_0x3ce6fb[_0x5c0536(0x10f)]);}_0x544961[_0x5c0536(0xf9)](_0x4decbd);}else{if(_0x5c0536(0xd3)!=_0x3ce6fb[_0x5c0536(0x116)])_0x5c0536(0xe2)!=_0x3ce6fb[_0x5c0536(0x116)]&&_0x5c0536(0x101)!=_0x3ce6fb[_0x5c0536(0x116)]||this[_0x5c0536(0xfb)](_0x544961,_0x3ce6fb,_0x4d6a2b[_0x473c2f+0x1]);else{const _0x231a82=_0x3ce6fb[_0x5c0536(0xf5)][_0x5c0536(0x11e)];if(_0x32afa3[_0x5c0536(0xfd)](_0x231a82))continue;_0x32afa3[_0x5c0536(0xc4)](_0x3ce6fb[_0x5c0536(0xf5)][_0x5c0536(0x11e)]),_0x231a82==_0x327e24?this[_0x5c0536(0x106)](_0x544961,_0x3ce6fb):this[_0x5c0536(0xd7)](_0x544961,_0x3ce6fb);}}}return this[_0x5c0536(0xeb)](_0x544961);}[_0x1a0592(0xf2)](_0x1a2903){const _0x37004e=_0x1a0592;this[_0x37004e(0x105)][_0x37004e(0xf9)](_0x1a2903);}[_0x1a0592(0x118)](_0x532021,_0x47993a,_0x57a3d1=_0x476066[_0x1a0592(0x120)]){const _0x1065a0=_0x1a0592;_0x1065a0(0xc8)==typeof _0x532021?_0x1a14a8(this[_0x1065a0(0xd1)],{'matchingCallback':_0x532021,'label':_0x47993a,'priority':_0x57a3d1}):this[_0x1065a0(0xce)][_0x1065a0(0xf7)](_0x532021,_0x47993a);}[_0x1a0592(0xcb)](_0x1b8af6,_0x18b729){const _0x1861b7=_0x1a0592;this[_0x1861b7(0xe8)][_0x1861b7(0xf7)](_0x1b8af6,_0x18b729);}[_0x1a0592(0xdc)](_0xf2fc8c,_0x2ebb39=0x1){const _0x1e74ed=_0x1a0592;let _0x84c066;for(const _0x5a55f8 of this[_0x1e74ed(0xd1)])if(_0x5a55f8[_0x1e74ed(0x104)](_0xf2fc8c)){_0x84c066=_0x5a55f8[_0x1e74ed(0xc9)];break;}return _0x84c066||(_0x84c066=this[_0x1e74ed(0xce)][_0x1e74ed(0x109)](_0xf2fc8c[_0x1e74ed(0xef)])),_0x84c066?_0x84c066(_0x2ebb39):0x1!==_0x2ebb39?_0x2ebb39+'\x20'+_0xf2fc8c[_0x1e74ed(0xef)]+'s':''+_0xf2fc8c[_0x1e74ed(0xef)];}[_0x1a0592(0xfe)](_0x284c1f,_0x6d440c){const _0x2942ea=_0x1a0592,_0x2826fb=_0x6d440c[_0x2942ea(0x103)]()[_0x2942ea(0x10b)](),_0xce66e1=_0x2942ea(0xe2)==_0x6d440c[_0x2942ea(0x116)]?_0x2942ea(0xc4):_0x2942ea(0xd5);for(const _0x9d87f4 of _0x2826fb){const _0x36568f=_0x9d87f4[_0x2942ea(0xff)],_0x5e557c=_0x284c1f[_0x284c1f[_0x2942ea(0xf8)]-0x1];if(_0x36568f['is'](_0x2942ea(0xe7)))_0x5e557c&&_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))>-0x1&&_0x284c1f[_0x2942ea(0xed)](),_0x5e557c&&_0x2942ea(0x111)==_0x5e557c[_0x2942ea(0x116)]?_0x5e557c[_0xce66e1]+=_0x36568f[_0x2942ea(0xf5)]:_0x284c1f[_0x2942ea(0xf9)]({'type':_0x2942ea(0x111),'add':_0x2942ea(0xc4)==_0xce66e1?_0x36568f[_0x2942ea(0xf5)]:'','remove':_0x2942ea(0xd5)==_0xce66e1?_0x36568f[_0x2942ea(0xf5)]:''});else{if(this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x36568f)){const _0xe153c9=_0x36568f;if(_0x5e557c&&_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))>-0x1&&_0x284c1f[_0x2942ea(0xed)](),_0x2942ea(0xdf)==_0x9d87f4[_0x2942ea(0x116)])continue;_0x5e557c&&_0x5e557c[_0x2942ea(0x116)]==_0xce66e1+_0x2942ea(0xdb)&&_0x5e557c[_0x2942ea(0xc7)][_0x2942ea(0xef)]==_0xe153c9[_0x2942ea(0xef)]?_0x5e557c[_0x2942ea(0x10a)]++:_0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xdb),'element':_0xe153c9,'quantity':0x1}),_0x2826fb[_0x2942ea(0xe1)](_0x40212d=>!(_0x2942ea(0xdf)==_0x40212d[_0x2942ea(0x116)]&&_0x40212d[_0x2942ea(0xff)]==_0x36568f));}else{if(this[_0x2942ea(0xd9)][_0x2942ea(0xee)](_0x36568f,_0x2942ea(0xfa))||_0x36568f['is'](_0x2942ea(0xc7),_0x2942ea(0x110))){const _0x4ffbc1=_0x36568f;if(_0x2942ea(0xc4)==_0xce66e1&&_0x2942ea(0x113)==_0x9d87f4[_0x2942ea(0x116)]||_0x2942ea(0xd5)==_0xce66e1&&_0x2942ea(0xdf)==_0x9d87f4[_0x2942ea(0x116)])continue;if(_0x5e557c&&-0x1==_0x5e557c[_0x2942ea(0x116)][_0x2942ea(0x11b)](_0x2942ea(0xe4))){_0x2942ea(0x111)==_0x5e557c[_0x2942ea(0x116)]&&(_0x5e557c[_0xce66e1]+='\x0a');continue;}let _0xe6553e;if(_0xe6553e=_0x2942ea(0xc4)==_0xce66e1?_0x4ffbc1[_0x2942ea(0x122)]&&!this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x4ffbc1[_0x2942ea(0x122)])?_0x4ffbc1[_0x2942ea(0x122)]:null:_0x4ffbc1[_0x2942ea(0xc6)]&&!this[_0x2942ea(0xd9)][_0x2942ea(0x108)](_0x4ffbc1[_0x2942ea(0xc6)])?_0x4ffbc1[_0x2942ea(0xc6)]:null,_0x4ffbc1[_0x2942ea(0xd8)]||_0xe6553e&&_0xe6553e[_0x2942ea(0xd8)]){const _0x46eec1=_0xe6553e&&_0xe6553e[_0x2942ea(0xd8)]?_0xe6553e:_0x4ffbc1;_0x5e557c&&_0x5e557c[_0x2942ea(0x116)]==_0xce66e1+_0x2942ea(0xdd)&&_0x5e557c[_0x2942ea(0xc7)][_0x2942ea(0xef)]==_0x46eec1[_0x2942ea(0xef)]?_0x5e557c[_0x2942ea(0x10a)]++:_0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xdd),'element':_0x46eec1,'quantity':0x1});}else _0x284c1f[_0x2942ea(0xf9)]({'type':_0xce66e1+_0x2942ea(0xe4),'element':_0x4ffbc1});}}}}}[_0x1a0592(0xeb)](_0x172ff8){const _0x41f258=_0x1a0592,_0x5259f1=this[_0x41f258(0x11d)],_0x2e8809=[],_0x34a822=[],_0x41cfd1=[];for(const _0x183ead of _0x172ff8)switch(_0x183ead[_0x41f258(0x116)]){case _0x41f258(0x111):if(_0x183ead[_0x41f258(0xc4)]=_0x183ead[_0x41f258(0xc4)][_0x41f258(0xe9)](/(\S)\u000A+(\S)/g,_0x41f258(0xfc))[_0x41f258(0xe9)](/\u000A/g,''),_0x183ead[_0x41f258(0xd5)]=_0x183ead[_0x41f258(0xd5)][_0x41f258(0xe9)](/(\S)\u000A+(\S)/g,_0x41f258(0xfc))[_0x41f258(0xe9)](/\u000A/g,''),''!=_0x183ead[_0x41f258(0xc4)]&&''!=_0x183ead[_0x41f258(0xd5)]){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe9),'content':_0x510954(_0x5259f1,_0x41f258(0xc5),['\x22'+_0x183ead[_0x41f258(0xd5)]+'\x22','\x22'+_0x183ead[_0x41f258(0xc4)]+'\x22'])});continue;}if(null!=_0x183ead[_0x41f258(0xc4)][_0x41f258(0x119)](/^ +$/)){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),_0x510954(_0x5259f1,_0x41f258(0xde),_0x183ead[_0x41f258(0xc4)][_0x41f258(0xf8)]))});continue;}if(null!=_0x183ead[_0x41f258(0xd5)][_0x41f258(0x119)](/^ +$/)){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),_0x510954(_0x5259f1,_0x41f258(0xde),_0x183ead[_0x41f258(0xd5)][_0x41f258(0xf8)]))});continue;}if(''!=_0x183ead[_0x41f258(0xc4)]){_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),'\x22'+_0x183ead[_0x41f258(0xc4)]+'\x22')});continue;}_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),'\x22'+_0x183ead[_0x41f258(0xd5)]+'\x22')});continue;case _0x41f258(0x125):case _0x41f258(0x10c):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0xd6),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0xd4):case _0x41f258(0xcd):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x117),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0xf3):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xe2),'content':_0x510954(_0x5259f1,_0x41f258(0x102),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0x114):_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0x101),'content':_0x510954(_0x5259f1,_0x41f258(0x100),this[_0x41f258(0xdc)](_0x183ead[_0x41f258(0xc7)],_0x183ead[_0x41f258(0x10a)]))});continue;case _0x41f258(0x112):_0x34a822[_0x41f258(0xf9)](_0x183ead[_0x41f258(0x11e)]);continue;case _0x41f258(0xe3):_0x41cfd1[_0x41f258(0xf9)](_0x183ead[_0x41f258(0x11e)]);continue;default:_0x2e8809[_0x41f258(0xf9)](_0x183ead);}if(_0x34a822[_0x41f258(0xf8)]){const _0x55be7b=_0x34a822[_0x41f258(0x115)](_0x27bf4a=>this[_0x41f258(0xe8)][_0x41f258(0xfd)](_0x27bf4a)?this[_0x41f258(0xe8)][_0x41f258(0x109)](_0x27bf4a):_0x27bf4a)[_0x41f258(0x121)](',\x20');_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xda),'content':_0x510954(this[_0x41f258(0x11d)],_0x41f258(0xea),_0x55be7b)});}if(_0x41cfd1[_0x41f258(0xf8)]){const _0x10c427=_0x41cfd1[_0x41f258(0x115)](_0x19dd28=>this[_0x41f258(0xe8)][_0x41f258(0xfd)](_0x19dd28)?this[_0x41f258(0xe8)][_0x41f258(0x109)](_0x19dd28):_0x19dd28)[_0x41f258(0x121)](',\x20');_0x2e8809[_0x41f258(0xf9)]({'type':_0x41f258(0xda),'content':_0x510954(this[_0x41f258(0x11d)],_0x41f258(0xe6),_0x10c427)});}return _0x2e8809;}[_0x1a0592(0x11c)](_0x4491bf){const _0x418dd5=_0x1a0592;for(const _0x3bfacd of this[_0x418dd5(0x105)]){const _0x101eca=_0x3bfacd(_0x4491bf);if(_0x101eca&&_0x418dd5(0x116)in _0x101eca)return _0x101eca;}}[_0x1a0592(0xd7)](_0x1f6b23,_0x5e6a43){const _0x1b642e=_0x1a0592,_0x3f6043=_0x5e6a43[_0x1b642e(0xf5)],_0x48e66f=void 0x0===_0x3f6043[_0x1b642e(0xf4)]?_0x1b642e(0xe3):_0x1b642e(0x112);_0x1f6b23[_0x1b642e(0xf9)]({'type':_0x48e66f,'key':_0x3f6043[_0x1b642e(0x11e)]});}[_0x1a0592(0x106)](_0x460527,_0x305f21){const _0x531a6a=_0x1a0592;_0x460527[_0x531a6a(0xf9)]({'type':_0x531a6a(0xda),'content':_0x510954(this[_0x531a6a(0x11d)],_0x531a6a(0xf0),this[_0x531a6a(0xdc)](_0x305f21[_0x531a6a(0x103)]()[_0x531a6a(0x10d)][_0x531a6a(0xf1)],0x1))});}[_0x1a0592(0xfb)](_0xd9d8b6,_0x16e442,_0x1403c9){const _0x5286ad=_0x1a0592;if(this[_0x5286ad(0xfe)](_0xd9d8b6,_0x16e442),_0x1403c9&&_0x1403c9[_0x5286ad(0x103)]()&&!_0x16e442[_0x5286ad(0x103)]()[_0x5286ad(0x11a)][_0x5286ad(0x124)](_0x1403c9[_0x5286ad(0x103)]()[_0x5286ad(0x10d)])){const _0x364c3a=_0xd9d8b6[_0xd9d8b6[_0x5286ad(0xf8)]-0x1],_0x3f1905=_0x5286ad(0xe2)==_0x16e442[_0x5286ad(0x116)]?_0x5286ad(0xc4):_0x5286ad(0xd5);_0x364c3a&&_0x5286ad(0x111)==_0x364c3a[_0x5286ad(0x116)]&&(_0x364c3a[_0x3f1905]+='\x0a');}}}function _0xaae3(){const _0x28728d=['remove','*Insert:*\x20%0','_handleAttributeSuggestionDescription','isEmpty','_schema','format','Object','getItemLabel','EmptyContainer','ELEMENT_SPACE','elementEnd','3219810MmGIRp','skip','insertion','removeFormat','Container','355905wUNach','*Remove\x20format:*\x20%0','$textProxy','_attributeLabels','replace','*Set\x20format:*\x20%0','_resolveDescriptionItems','2221416SMUunm','pop','checkChild','name','*Change\x20to:*\x20%0','nodeAfter','registerDescriptionCallback','addContainer','newValue','data','954184lXnqws','set','length','push','$text','_handleInsertRemoveSuggestionDescription','$1\x20$2','has','_addDescriptionItems','item','*Merge:*\x20%0','deletion','*Split:*\x20%0','getFirstRange','matchingCallback','_customCallbacks','_handleRenameSuggestionDescription','6892TYKRGS','isObject','get','quantity','getWalker','addObject','start','10pFMnMr','subType','softBreak','text','addFormat','elementStart','removeContainer','map','type','*Remove:*\x20%0','registerElementLabel','match','end','indexOf','_handleCustomCallbackDescription','_locale','key','getDescriptions','normal','join','nextSibling','467289wsczTe','isEqual','addEmptyContainer','add','REPLACE_TEXT','previousSibling','element','function','label','49IsSseW','registerAttributeLabel','isInContent','removeObject','_itemLabels','35GXefJw','7VPhZJh','_itemLabelsCallbacks','232260FdXsXM','attribute','removeEmptyContainer'];_0xaae3=function(){return _0x28728d;};return _0xaae3();}
|
|
23
|
+
function _0x3959(_0x3acb07,_0x4e608b){const _0x4f8d00=_0x4f8d();return _0x3959=function(_0x395990,_0x66d336){_0x395990=_0x395990-0x184;let _0x12f9c8=_0x4f8d00[_0x395990];return _0x12f9c8;},_0x3959(_0x3acb07,_0x4e608b);}const _0x169904=_0x3959;(function(_0x37f036,_0x14d3dd){const _0x579991=_0x3959,_0x388dda=_0x37f036();while(!![]){try{const _0x21ebb2=parseInt(_0x579991(0x19a))/0x1*(-parseInt(_0x579991(0x1d0))/0x2)+parseInt(_0x579991(0x1b8))/0x3*(parseInt(_0x579991(0x1df))/0x4)+parseInt(_0x579991(0x1b3))/0x5+-parseInt(_0x579991(0x1b6))/0x6*(-parseInt(_0x579991(0x188))/0x7)+parseInt(_0x579991(0x1de))/0x8+-parseInt(_0x579991(0x1d6))/0x9+parseInt(_0x579991(0x1bd))/0xa*(-parseInt(_0x579991(0x1ab))/0xb);if(_0x21ebb2===_0x14d3dd)break;else _0x388dda['push'](_0x388dda['shift']());}catch(_0x1aa717){_0x388dda['push'](_0x388dda['shift']());}}}(_0x4f8d,0xd6955));import{getTranslation as _0x3b5963}from'./utils/common-translations.js';import{priorities as _0x3351eb,insertToPriorityArray as _0x503cc}from'ckeditor5/src/utils.js';function _0x4f8d(){const _0x49ad86=['*Insert:*\x20%0','elementStart','match','removeEmptyContainer','push','map','$1\x20$2','*Split:*\x20%0','106rZRiKG','element','getDescriptions','format','checkChild','_handleInsertRemoveSuggestionDescription','13478400BVrHDM','removeFormat','Object','skip','_schema','_attributeLabels','*Remove\x20format:*\x20%0','insertion','8093496cCltGQ','392668csYsbD','has','getFirstRange','get','add','_resolveDescriptionItems','isEmpty','matchingCallback','REPLACE_TEXT','pop','indexOf','14RCgaGZ','nodeAfter','newValue','join','*Remove:*\x20%0','addObject','_itemLabelsCallbacks','ELEMENT_SPACE','$text','_locale','length','registerDescriptionCallback','addContainer','_itemLabels','_handleCustomCallbackDescription','getItemLabel','$textProxy','remove','18167AEgZWc','end','*Change\x20to:*\x20%0','softBreak','isEqual','registerElementLabel','data','deletion','function','normal','label','addEmptyContainer','getWalker','registerAttributeLabel','previousSibling','quantity','EmptyContainer','77ikTKlx','nextSibling','*Set\x20format:*\x20%0','key','_addDescriptionItems','_handleAttributeSuggestionDescription','elementEnd','name','8328245HyxXOh','*Merge:*\x20%0','subType','669594nmRFtb','type','24OQmPkv','attribute','removeContainer','replace','_handleRenameSuggestionDescription','494980wUFoLx','isObject','removeObject','item','set','Container','text','addFormat','isInContent','start','_customCallbacks'];_0x4f8d=function(){return _0x49ad86;};return _0x4f8d();}import{renameAttributeKey as _0x29ff6e}from'./trackchangesediting.js';export default class f{constructor(_0x59b2b3,_0x4a6fc2){const _0x5ed23c=_0x3959;this[_0x5ed23c(0x1c7)]=[],this[_0x5ed23c(0x195)]=new Map(),this[_0x5ed23c(0x18e)]=[],this[_0x5ed23c(0x1db)]=new Map(),this[_0x5ed23c(0x1da)]=_0x59b2b3,this[_0x5ed23c(0x191)]=_0x4a6fc2;}[_0x169904(0x1d2)](_0x8e77c2){const _0x4ae814=_0x169904,_0x531cc4=[],_0x489bc2=new Set(),_0x377a9f=new Set();for(let _0x196499=0x0;_0x196499<_0x8e77c2[_0x4ae814(0x192)];_0x196499++){const _0x341a8f=_0x8e77c2[_0x196499];if(!_0x341a8f[_0x4ae814(0x1c5)])continue;const _0x1d0790=this[_0x4ae814(0x196)](_0x341a8f);if(_0x1d0790){if(null!=_0x341a8f[_0x4ae814(0x1b5)]){if(_0x489bc2[_0x4ae814(0x1e0)](_0x341a8f[_0x4ae814(0x1b5)]))continue;_0x489bc2[_0x4ae814(0x1e3)](_0x341a8f[_0x4ae814(0x1b5)]);}_0x531cc4[_0x4ae814(0x1cc)](_0x1d0790);}else{if(_0x4ae814(0x1b9)!=_0x341a8f[_0x4ae814(0x1b7)])_0x4ae814(0x1dd)!=_0x341a8f[_0x4ae814(0x1b7)]&&_0x4ae814(0x1a1)!=_0x341a8f[_0x4ae814(0x1b7)]||this[_0x4ae814(0x1d5)](_0x531cc4,_0x341a8f,_0x8e77c2[_0x196499+0x1]);else{const _0x42c3f9=_0x341a8f[_0x4ae814(0x1a0)][_0x4ae814(0x1ae)];if(_0x377a9f[_0x4ae814(0x1e0)](_0x42c3f9))continue;_0x377a9f[_0x4ae814(0x1e3)](_0x341a8f[_0x4ae814(0x1a0)][_0x4ae814(0x1ae)]),_0x42c3f9==_0x29ff6e?this[_0x4ae814(0x1bc)](_0x531cc4,_0x341a8f):this[_0x4ae814(0x1b0)](_0x531cc4,_0x341a8f);}}}return this[_0x4ae814(0x1e4)](_0x531cc4);}[_0x169904(0x193)](_0x299529){const _0x59d79b=_0x169904;this[_0x59d79b(0x1c7)][_0x59d79b(0x1cc)](_0x299529);}[_0x169904(0x19f)](_0x2484c,_0x54b6d7,_0xe790b7=_0x3351eb[_0x169904(0x1a3)]){const _0xba5817=_0x169904;_0xba5817(0x1a2)==typeof _0x2484c?_0x503cc(this[_0xba5817(0x18e)],{'matchingCallback':_0x2484c,'label':_0x54b6d7,'priority':_0xe790b7}):this[_0xba5817(0x195)][_0xba5817(0x1c1)](_0x2484c,_0x54b6d7);}[_0x169904(0x1a7)](_0x43abbf,_0x24ac90){const _0x553af1=_0x169904;this[_0x553af1(0x1db)][_0x553af1(0x1c1)](_0x43abbf,_0x24ac90);}[_0x169904(0x197)](_0x59faac,_0x3a9bab=0x1){const _0x1a274d=_0x169904;let _0x3d819b;for(const _0x269e94 of this[_0x1a274d(0x18e)])if(_0x269e94[_0x1a274d(0x184)](_0x59faac)){_0x3d819b=_0x269e94[_0x1a274d(0x1a4)];break;}return _0x3d819b||(_0x3d819b=this[_0x1a274d(0x195)][_0x1a274d(0x1e2)](_0x59faac[_0x1a274d(0x1b2)])),_0x3d819b?_0x3d819b(_0x3a9bab):0x1!==_0x3a9bab?_0x3a9bab+'\x20'+_0x59faac[_0x1a274d(0x1b2)]+'s':''+_0x59faac[_0x1a274d(0x1b2)];}[_0x169904(0x1af)](_0xb44228,_0x4f08dc){const _0x587c55=_0x169904,_0x27d817=_0x4f08dc[_0x587c55(0x1e1)]()[_0x587c55(0x1a6)](),_0x479ef9=_0x587c55(0x1dd)==_0x4f08dc[_0x587c55(0x1b7)]?_0x587c55(0x1e3):_0x587c55(0x199);for(const _0x459561 of _0x27d817){const _0x29ead9=_0x459561[_0x587c55(0x1c0)],_0x44b65c=_0xb44228[_0xb44228[_0x587c55(0x192)]-0x1];if(_0x29ead9['is'](_0x587c55(0x198)))_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))>-0x1&&_0xb44228[_0x587c55(0x186)](),_0x44b65c&&_0x587c55(0x1c3)==_0x44b65c[_0x587c55(0x1b7)]?_0x44b65c[_0x479ef9]+=_0x29ead9[_0x587c55(0x1a0)]:_0xb44228[_0x587c55(0x1cc)]({'type':_0x587c55(0x1c3),'add':_0x587c55(0x1e3)==_0x479ef9?_0x29ead9[_0x587c55(0x1a0)]:'','remove':_0x587c55(0x199)==_0x479ef9?_0x29ead9[_0x587c55(0x1a0)]:''});else{if(this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x29ead9)){const _0x166e12=_0x29ead9;if(_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))>-0x1&&_0xb44228[_0x587c55(0x186)](),_0x587c55(0x1b1)==_0x459561[_0x587c55(0x1b7)])continue;_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)]==_0x479ef9+_0x587c55(0x1d8)&&_0x44b65c[_0x587c55(0x1d1)][_0x587c55(0x1b2)]==_0x166e12[_0x587c55(0x1b2)]?_0x44b65c[_0x587c55(0x1a9)]++:_0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1d8),'element':_0x166e12,'quantity':0x1}),_0x27d817[_0x587c55(0x1d9)](_0x16cbc9=>!(_0x587c55(0x1b1)==_0x16cbc9[_0x587c55(0x1b7)]&&_0x16cbc9[_0x587c55(0x1c0)]==_0x29ead9));}else{if(this[_0x587c55(0x1da)][_0x587c55(0x1d4)](_0x29ead9,_0x587c55(0x190))||_0x29ead9['is'](_0x587c55(0x1d1),_0x587c55(0x19d))){const _0x3bf6d4=_0x29ead9;if(_0x587c55(0x1e3)==_0x479ef9&&_0x587c55(0x1c9)==_0x459561[_0x587c55(0x1b7)]||_0x587c55(0x199)==_0x479ef9&&_0x587c55(0x1b1)==_0x459561[_0x587c55(0x1b7)])continue;if(_0x44b65c&&-0x1==_0x44b65c[_0x587c55(0x1b7)][_0x587c55(0x187)](_0x587c55(0x1c2))){_0x587c55(0x1c3)==_0x44b65c[_0x587c55(0x1b7)]&&(_0x44b65c[_0x479ef9]+='\x0a');continue;}let _0x1e9c06;if(_0x1e9c06=_0x587c55(0x1e3)==_0x479ef9?_0x3bf6d4[_0x587c55(0x1ac)]&&!this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x3bf6d4[_0x587c55(0x1ac)])?_0x3bf6d4[_0x587c55(0x1ac)]:null:_0x3bf6d4[_0x587c55(0x1a8)]&&!this[_0x587c55(0x1da)][_0x587c55(0x1be)](_0x3bf6d4[_0x587c55(0x1a8)])?_0x3bf6d4[_0x587c55(0x1a8)]:null,_0x3bf6d4[_0x587c55(0x1e5)]||_0x1e9c06&&_0x1e9c06[_0x587c55(0x1e5)]){const _0x5c116c=_0x1e9c06&&_0x1e9c06[_0x587c55(0x1e5)]?_0x1e9c06:_0x3bf6d4;_0x44b65c&&_0x44b65c[_0x587c55(0x1b7)]==_0x479ef9+_0x587c55(0x1aa)&&_0x44b65c[_0x587c55(0x1d1)][_0x587c55(0x1b2)]==_0x5c116c[_0x587c55(0x1b2)]?_0x44b65c[_0x587c55(0x1a9)]++:_0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1aa),'element':_0x5c116c,'quantity':0x1});}else _0xb44228[_0x587c55(0x1cc)]({'type':_0x479ef9+_0x587c55(0x1c2),'element':_0x3bf6d4});}}}}}[_0x169904(0x1e4)](_0x1e3976){const _0x55d886=_0x169904,_0x8fba26=this[_0x55d886(0x191)],_0x5610e2=[],_0x5da021=[],_0x5c1e44=[];for(const _0x597808 of _0x1e3976)switch(_0x597808[_0x55d886(0x1b7)]){case _0x55d886(0x1c3):if(_0x597808[_0x55d886(0x1e3)]=_0x597808[_0x55d886(0x1e3)][_0x55d886(0x1bb)](/(\S)\u000A+(\S)/g,_0x55d886(0x1ce))[_0x55d886(0x1bb)](/\u000A/g,''),_0x597808[_0x55d886(0x199)]=_0x597808[_0x55d886(0x199)][_0x55d886(0x1bb)](/(\S)\u000A+(\S)/g,_0x55d886(0x1ce))[_0x55d886(0x1bb)](/\u000A/g,''),''!=_0x597808[_0x55d886(0x1e3)]&&''!=_0x597808[_0x55d886(0x199)]){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1bb),'content':_0x3b5963(_0x8fba26,_0x55d886(0x185),['\x22'+_0x597808[_0x55d886(0x199)]+'\x22','\x22'+_0x597808[_0x55d886(0x1e3)]+'\x22'])});continue;}if(null!=_0x597808[_0x55d886(0x1e3)][_0x55d886(0x1ca)](/^ +$/)){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),_0x3b5963(_0x8fba26,_0x55d886(0x18f),_0x597808[_0x55d886(0x1e3)][_0x55d886(0x192)]))});continue;}if(null!=_0x597808[_0x55d886(0x199)][_0x55d886(0x1ca)](/^ +$/)){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),_0x3b5963(_0x8fba26,_0x55d886(0x18f),_0x597808[_0x55d886(0x199)][_0x55d886(0x192)]))});continue;}if(''!=_0x597808[_0x55d886(0x1e3)]){_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),'\x22'+_0x597808[_0x55d886(0x1e3)]+'\x22')});continue;}_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),'\x22'+_0x597808[_0x55d886(0x199)]+'\x22')});continue;case _0x55d886(0x1a5):case _0x55d886(0x18d):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1c8),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1cb):case _0x55d886(0x1bf):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x18c),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x194):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1dd),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1cf),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1ba):_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1a1),'content':_0x3b5963(_0x8fba26,_0x55d886(0x1b4),this[_0x55d886(0x197)](_0x597808[_0x55d886(0x1d1)],_0x597808[_0x55d886(0x1a9)]))});continue;case _0x55d886(0x1c4):_0x5da021[_0x55d886(0x1cc)](_0x597808[_0x55d886(0x1ae)]);continue;case _0x55d886(0x1d7):_0x5c1e44[_0x55d886(0x1cc)](_0x597808[_0x55d886(0x1ae)]);continue;default:_0x5610e2[_0x55d886(0x1cc)](_0x597808);}if(_0x5da021[_0x55d886(0x192)]){const _0x3f1be1=_0x5da021[_0x55d886(0x1cd)](_0x5d70f6=>this[_0x55d886(0x1db)][_0x55d886(0x1e0)](_0x5d70f6)?this[_0x55d886(0x1db)][_0x55d886(0x1e2)](_0x5d70f6):_0x5d70f6)[_0x55d886(0x18b)](',\x20');_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1d3),'content':_0x3b5963(this[_0x55d886(0x191)],_0x55d886(0x1ad),_0x3f1be1)});}if(_0x5c1e44[_0x55d886(0x192)]){const _0x80c927=_0x5c1e44[_0x55d886(0x1cd)](_0x39f533=>this[_0x55d886(0x1db)][_0x55d886(0x1e0)](_0x39f533)?this[_0x55d886(0x1db)][_0x55d886(0x1e2)](_0x39f533):_0x39f533)[_0x55d886(0x18b)](',\x20');_0x5610e2[_0x55d886(0x1cc)]({'type':_0x55d886(0x1d3),'content':_0x3b5963(this[_0x55d886(0x191)],_0x55d886(0x1dc),_0x80c927)});}return _0x5610e2;}[_0x169904(0x196)](_0x1bb3d6){const _0x172a54=_0x169904;for(const _0x2ce19a of this[_0x172a54(0x1c7)]){const _0xbadc2b=_0x2ce19a(_0x1bb3d6);if(_0xbadc2b&&_0x172a54(0x1b7)in _0xbadc2b)return _0xbadc2b;}}[_0x169904(0x1b0)](_0x8aac22,_0x55ebdf){const _0x9a4ff7=_0x169904,_0x36ee8e=_0x55ebdf[_0x9a4ff7(0x1a0)],_0x88bc81=void 0x0===_0x36ee8e[_0x9a4ff7(0x18a)]?_0x9a4ff7(0x1d7):_0x9a4ff7(0x1c4);_0x8aac22[_0x9a4ff7(0x1cc)]({'type':_0x88bc81,'key':_0x36ee8e[_0x9a4ff7(0x1ae)]});}[_0x169904(0x1bc)](_0x2516c6,_0xc7f31e){const _0x299658=_0x169904;_0x2516c6[_0x299658(0x1cc)]({'type':_0x299658(0x1d3),'content':_0x3b5963(this[_0x299658(0x191)],_0x299658(0x19c),this[_0x299658(0x197)](_0xc7f31e[_0x299658(0x1e1)]()[_0x299658(0x1c6)][_0x299658(0x189)],0x1))});}[_0x169904(0x1d5)](_0xaa6610,_0x6befd5,_0x2adf59){const _0x7f3590=_0x169904;if(this[_0x7f3590(0x1af)](_0xaa6610,_0x6befd5),_0x2adf59&&_0x2adf59[_0x7f3590(0x1e1)]()&&!_0x6befd5[_0x7f3590(0x1e1)]()[_0x7f3590(0x19b)][_0x7f3590(0x19e)](_0x2adf59[_0x7f3590(0x1e1)]()[_0x7f3590(0x1c6)])){const _0x33b0c1=_0xaa6610[_0xaa6610[_0x7f3590(0x192)]-0x1],_0x408881=_0x7f3590(0x1dd)==_0x6befd5[_0x7f3590(0x1b7)]?_0x7f3590(0x1e3):_0x7f3590(0x199);_0x33b0c1&&_0x7f3590(0x1c3)==_0x33b0c1[_0x7f3590(0x1b7)]&&(_0x33b0c1[_0x408881]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x423fb0=_0x4704;(function(_0x33271e,_0x2cd312){var _0x408b49=_0x4704,_0x432836=_0x33271e();while(!![]){try{var _0x4aaf87=-parseInt(_0x408b49(0x149))/0x1+parseInt(_0x408b49(0x144))/0x2*(parseInt(_0x408b49(0x13e))/0x3)+parseInt(_0x408b49(0x143))/0x4+parseInt(_0x408b49(0x14c))/0x5*(parseInt(_0x408b49(0x14a))/0x6)+-parseInt(_0x408b49(0x147))/0x7+-parseInt(_0x408b49(0x14f))/0x8*(parseInt(_0x408b49(0x148))/0x9)+parseInt(_0x408b49(0x142))/0xa;if(_0x4aaf87===_0x2cd312)break;else _0x432836['push'](_0x432836['shift']());}catch(_0x2ddce1){_0x432836['push'](_0x432836['shift']());}}}(_0x2ca0,0x8593e));import{Plugin as _0x373b3b}from'ckeditor5/src/core.js';import _0x1c856d from'./trackchangesui.js';function _0x4704(_0x10d09a,_0x39e08c){var _0x2ca034=_0x2ca0();return _0x4704=function(_0x470460,_0x59ee40){_0x470460=_0x470460-0x13a;var _0x17bcba=_0x2ca034[_0x470460];return _0x17bcba;},_0x4704(_0x10d09a,_0x39e08c);}import _0x524786 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x373b3b{static get[_0x423fb0(0x14e)](){var _0x4d5ae2=_0x423fb0;return[_0x524786,_0x1c856d,_0x4d5ae2(0x13b)];}static get[_0x423fb0(0x145)](){var _0x32757e=_0x423fb0;return _0x32757e(0x13d);}set[_0x423fb0(0x13a)](_0x4c816e){var _0x55fbfb=_0x423fb0;this[_0x55fbfb(0x13c)][_0x55fbfb(0x14b)][_0x55fbfb(0x146)](_0x524786)[_0x55fbfb(0x13a)]=_0x4c816e;}get[_0x423fb0(0x13a)](){var _0x34d2fa=_0x423fb0;return this[_0x34d2fa(0x13c)][_0x34d2fa(0x14b)][_0x34d2fa(0x146)](_0x524786)[_0x34d2fa(0x13a)];}[_0x423fb0(0x13f)](_0x40e357){var _0x343e92=_0x423fb0;return this[_0x343e92(0x13c)][_0x343e92(0x14b)][_0x343e92(0x146)](_0x524786)[_0x343e92(0x140)](_0x40e357);}[_0x423fb0(0x14d)]({skipNotAttached:_0x49d118=!0x1,toJSON:_0x32619b=!0x1}={}){var _0x5ee155=_0x423fb0;return this[_0x5ee155(0x13c)][_0x5ee155(0x14b)][_0x5ee155(0x146)](_0x524786)[_0x5ee155(0x14d)]({'skipNotAttached':_0x49d118,'toJSON':_0x32619b});}[_0x423fb0(0x141)](_0x17366a){var _0x590d11=_0x423fb0;return this[_0x590d11(0x13c)][_0x590d11(0x14b)][_0x590d11(0x146)](_0x524786)[_0x590d11(0x141)](_0x17366a);}}function _0x2ca0(){var _0x3bc453=['2226259WMETNc','6111XFsycW','488841TxJoAl','5330652dVITbB','plugins','5ODGwuM','getSuggestions','requires','6056XIyaQX','adapter','Comments','editor','TrackChanges','36921rqdxjj','addSuggestion','addSuggestionData','getSuggestion','3704660oSiyVN','1304184IUlmIL','46XbAnhT','pluginName','get'];_0x2ca0=function(){return _0x3bc453;};return _0x2ca0();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x44d9(){const _0x4c6850=['useAnonymousUser','5091306jtRsTs','createDocumentFragment','getFullData','TrackChangesData','1594503xWPqlj','_adapter','result','execute','map','editor','track-changes-data-invalid-editor-creator','5xUeFzB','end','Pagination','getCommentThreads','name','requires','826322EOWJjl','appendChild','getDataWithAcceptedSuggestions','CommentsRepository','rootsAttributes','addCommentThread','document','43475SgdOJS','create','div','getDataWithDiscardedSuggestions','editorCreator','config','TrackChangesDataGetter','getUser','addSuggestionData','createElement','pluginName','addUser','780376kbRKga','287776HWrUwq','model','get','init','destroy','set','TrackChangesEditing','data','users','getRootsAttributes','getRootNames','push','1594132RqkGfX','27icaKqk','discardAllSuggestions','define','plugins','Users','function','reduce','acceptAllSuggestions','constructor','getSuggestions','trackChangesData.editorCreator','trackChangesData'];_0x44d9=function(){return _0x4c6850;};return _0x44d9();}const _0x370ea4=_0x4f56;function _0x4f56(_0x5efaef,_0x7ca554){const _0x44d9c0=_0x44d9();return _0x4f56=function(_0x4f56a2,_0x431ddd){_0x4f56a2=_0x4f56a2-0xd2;let _0xd0b185=_0x44d9c0[_0x4f56a2];return _0xd0b185;},_0x4f56(_0x5efaef,_0x7ca554);}(function(_0x4bac02,_0x5824b1){const _0x103c79=_0x4f56,_0xc375e7=_0x4bac02();while(!![]){try{const _0x3632d3=-parseInt(_0x103c79(0x10d))/0x1+parseInt(_0x103c79(0xe7))/0x2+parseInt(_0x103c79(0xf9))/0x3+-parseInt(_0x103c79(0xda))/0x4+parseInt(_0x103c79(0x100))/0x5*(-parseInt(_0x103c79(0xf5))/0x6)+parseInt(_0x103c79(0x106))/0x7+-parseInt(_0x103c79(0xdb))/0x8*(-parseInt(_0x103c79(0xe8))/0x9);if(_0x3632d3===_0x5824b1)break;else _0xc375e7['push'](_0xc375e7['shift']());}catch(_0x403103){_0xc375e7['push'](_0xc375e7['shift']());}}}(_0x44d9,0x721d1));import{Plugin as _0x26f72f}from'ckeditor5/src/core.js';import{CKEditorError as _0xaafaa3}from'ckeditor5/src/utils.js';import _0x325a7f from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4842eb}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x370ea4(0x102)];export default class P extends _0x26f72f{static get[_0x370ea4(0x105)](){return[_0x325a7f];}static get[_0x370ea4(0xd8)](){const _0x3d13e1=_0x370ea4;return _0x3d13e1(0xf8);}[_0x370ea4(0xde)](){const _0x34683f=_0x370ea4,_0x376a9e=this[_0x34683f(0xfe)];if(_0x376a9e[_0x34683f(0xd3)][_0x34683f(0xea)](_0x34683f(0xf2),_0x251f8f=>{const _0x506920=_0x34683f,_0x14eec9=_0x376a9e[_0x506920(0xdc)][_0x506920(0x10c)][_0x506920(0xe5)]()[_0x506920(0xee)]((_0x239453,_0x2e0265)=>(_0x239453[_0x2e0265]='',_0x239453),{});return _0x376a9e[_0x506920(0xf0)][_0x506920(0x10e)](_0x14eec9,_0x251f8f);}),_0x34683f(0xed)!=typeof _0x376a9e[_0x34683f(0xd3)][_0x34683f(0xdd)](_0x34683f(0xf3))[_0x34683f(0xd2)])throw new _0xaafaa3(_0x34683f(0xff));}[_0x370ea4(0x108)](_0x139656){const _0x5982da=_0x370ea4;return N(this[_0x5982da(0xfe)],!0x0,_0x139656);}[_0x370ea4(0x110)](_0x466dd2){const _0x27b0b4=_0x370ea4;return N(this[_0x27b0b4(0xfe)],!0x1,_0x466dd2);}}class D extends _0x26f72f{static get[_0x370ea4(0xd8)](){const _0x5ae02b=_0x370ea4;return _0x5ae02b(0xd4);}constructor(_0x105459){const _0x1b74e2=_0x370ea4;super(_0x105459),this[_0x1b74e2(0xfb)]=_0x1b74e2(0x101);}[_0x370ea4(0xde)](){const _0x2a472f=_0x370ea4;this[_0x2a472f(0xfe)][_0x2a472f(0xeb)][_0x2a472f(0xdd)](_0x2a472f(0x109))[_0x2a472f(0xfa)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x2a472f(0xfe)][_0x2a472f(0xeb)][_0x2a472f(0xdd)](_0x2a472f(0xe1))[_0x2a472f(0xfa)]=null;}}function v(_0x16c7a6){const _0x59e3bc=_0x370ea4;return void 0x0!==_0x16c7a6[_0x59e3bc(0xe4)];}async function N(_0x59d59a,_0x1a1fd3,_0x36f8bf){const _0x3c461e=_0x370ea4,_0x25649a=_0x4842eb(_0x59d59a,T);_0x25649a[_0x3c461e(0xeb)][_0x3c461e(0xe6)](_0x325a7f,D),_0x25649a[_0x3c461e(0x10a)]=v(_0x59d59a)?_0x59d59a[_0x3c461e(0xe4)]():void 0x0;const _0x23422c=document[_0x3c461e(0xf6)](),_0x281acd=_0x59d59a[_0x3c461e(0xd3)][_0x3c461e(0xdd)](_0x3c461e(0xf3))[_0x3c461e(0xd2)],_0x2259ec=await _0x281acd(_0x25649a,()=>function(_0x368a5f){const _0x5bf57d=_0x3c461e,_0x1e0edc=document[_0x5bf57d(0xd7)](_0x5bf57d(0x10f));return _0x368a5f[_0x5bf57d(0x107)](_0x1e0edc),_0x1e0edc;}(_0x23422c));!function(_0x55ccea,_0x1f394c){const _0x171303=_0x3c461e,_0x56f215=_0x55ccea[_0x171303(0xdc)][_0x171303(0x10c)][_0x171303(0xe5)]()[_0x171303(0xee)]((_0x19cc32,_0x4485a9)=>(_0x19cc32[_0x4485a9]=_0x55ccea[_0x171303(0xe2)][_0x171303(0xdd)]({'rootName':_0x4485a9}),_0x19cc32),{}),_0x285b44=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xec))[_0x171303(0xe3)][_0x171303(0xfd)](_0x446d9e=>({'id':_0x446d9e['id'],'name':_0x446d9e[_0x171303(0x104)]})),_0x1ab54a=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xe1))[_0x171303(0xf1)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x52f37f=_0x55ccea[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0x109))[_0x171303(0x103)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x6e46ea=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xec)),_0x11eb23=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0xe1)),_0x2694c0=_0x1f394c[_0x171303(0xeb)][_0x171303(0xdd)](_0x171303(0x109));for(const _0x19eef8 of _0x285b44)_0x6e46ea[_0x171303(0xd5)](_0x19eef8['id'])||_0x6e46ea[_0x171303(0xd9)](_0x19eef8);_0x6e46ea['me']||_0x6e46ea[_0x171303(0xf4)]();for(const _0x184e2b of _0x52f37f)_0x2694c0[_0x171303(0x10b)](_0x184e2b);for(const _0x2ff28e of _0x1ab54a)_0x11eb23[_0x171303(0xd6)](_0x2ff28e);_0x1f394c[_0x171303(0xe2)][_0x171303(0xe0)](_0x56f215);}(_0x59d59a,_0x2259ec),_0x2259ec[_0x3c461e(0xfc)](_0x1a1fd3?_0x3c461e(0xef):_0x3c461e(0xe9));const _0x4e957d=v(_0x2259ec)?_0x2259ec[_0x3c461e(0xf7)](_0x36f8bf):_0x2259ec[_0x3c461e(0xe2)][_0x3c461e(0xdd)](_0x36f8bf);return await _0x2259ec[_0x3c461e(0xdf)](),_0x4e957d;}
|