@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240605.0 → 0.0.0-nightly-20240606.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 _0x4ae1f2=_0x30f8;(function(_0x36df45,_0xc73e27){const _0x10102f=_0x30f8,_0x2ef028=_0x36df45();while(!![]){try{const _0x1784ed=parseInt(_0x10102f(0xb5))/0x1+parseInt(_0x10102f(0xa9))/0x2*(-parseInt(_0x10102f(0x6b))/0x3)+-parseInt(_0x10102f(0x65))/0x4+-parseInt(_0x10102f(0x9e))/0x5+parseInt(_0x10102f(0x8f))/0x6*(parseInt(_0x10102f(0x84))/0x7)+-parseInt(_0x10102f(0xc1))/0x8+parseInt(_0x10102f(0xab))/0x9;if(_0x1784ed===_0xc73e27)break;else _0x2ef028['push'](_0x2ef028['shift']());}catch(_0x320326){_0x2ef028['push'](_0x2ef028['shift']());}}}(_0x520e,0x19d06));import{Plugin as _0x328032}from'ckeditor5/src/core.js';import _0x5c6d70 from'./table.js';function _0x30f8(_0x33eb21,_0x2d8b82){const _0x520eef=_0x520e();return _0x30f8=function(_0x30f82e,_0x10ad23){_0x30f82e=_0x30f82e-0x64;let _0x2356bc=_0x520eef[_0x30f82e];return _0x2356bc;},_0x30f8(_0x33eb21,_0x2d8b82);}import{LiveRange as _0x8d8efb}from'ckeditor5/src/engine.js';function _0x520e(){const _0x14bd2f=['formatInline','257410cnAgya','_tablePostFixingSubtypes','cell','getSuggestions','getFirstPosition','getAncestors','markBlockFormat','execute','detach','author','type','5362GXQhZK','createRangeOn','2932353PmRPUg','low','setSelection','getRanges','element','locale','afterInit','requires','change','filter','29368dioEOt','commandName','findAncestor','map','_areMergableCells','getCellLocation','value','length','_suggestionFactory','document','formatBlock','direction','884352yZDkvY','editor','root','markMultiRangeBlockFormat','tableCell','forceDefaultExecution','593724IPwezR','trackChanges','registerDescriptionCallback','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically','isEnabled','39kXdjAC','TableEditing','push','highest','enableCommand','add','accept','plugins','size','refresh','table','splitTableCellVertically','isInContent','containsRange','model','_isForcedDefaultExecutionBlock','$graveyard','splitTableCellHorizontally','createTableWalker','selection','descriptionFactory','horizontally','format','TableUtils','_areSelectedCellsMergable','671013Wqeeie','find','return','set:isEnabled','mergeTableCells','deletion','*Merge\x20cells*','_acceptFormatSuggestionCallbackFactory','registerCustomCallback','mergeTableCellRight','mergeTableCellUp','6sKyuhp','mergeTableCellDown','rootName','insertion','subType','has','commands','get','stop','TrackChangesEditing','from','*Split\x20cell:*\x20horizontally','mergeTableCellLeft','fromRange'];_0x520e=function(){return _0x14bd2f;};return _0x520e();}import{getTranslation as _0x4125a9}from'../utils/common-translations.js';export default class St extends _0x328032{static get[_0x4ae1f2(0xb2)](){return[_0x5c6d70];}[_0x4ae1f2(0xb1)](){const _0x1d7bd3=_0x4ae1f2,_0x5e2f19=this[_0x1d7bd3(0xc2)],_0x43b95d=_0x5e2f19[_0x1d7bd3(0x79)][_0x1d7bd3(0xbe)][_0x1d7bd3(0x7e)],_0x20d706=_0x5e2f19[_0x1d7bd3(0xb0)];if(!_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x94)](_0x1d7bd3(0x6c)))return;const _0x45894a=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x1d7bd3(0x98)),_0x1739b9=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x1d7bd3(0x82)),_0x4413bf=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x5c6d70);_0x4413bf[_0x1d7bd3(0x9f)][_0x1d7bd3(0x6d)](_0x1d7bd3(0x88)),_0x45894a[_0x1d7bd3(0x6f)](_0x1d7bd3(0x88),()=>{const _0x24a487=_0x1d7bd3,_0x149b58=_0x1739b9[_0x24a487(0x68)](_0x5e2f19[_0x24a487(0x79)][_0x24a487(0xbe)][_0x24a487(0x7e)]);_0x5e2f19[_0x24a487(0x79)][_0x24a487(0xb3)](()=>{const _0x384378=_0x24a487;_0x45894a[_0x384378(0xc4)](_0x149b58,{'commandName':_0x384378(0x88),'commandParams':[]},[],_0x384378(0x88));});}),_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x1d7bd3(0x88))['on'](_0x1d7bd3(0xa5),(_0xf85fef,_0x34362d)=>{const _0x171b36=_0x1d7bd3;_0x5e2f19[_0x171b36(0x95)][_0x171b36(0x96)](_0x171b36(0x66))[_0x171b36(0xbb)]&&(_0x34362d[_0x171b36(0xbc)]>0x0&&_0x34362d[_0x34362d[_0x171b36(0xbc)]-0x1]&&_0x34362d[_0x34362d[_0x171b36(0xbc)]-0x1][_0x171b36(0x64)]||_0x45894a[_0x171b36(0x7a)]||this[_0x171b36(0x83)]()||_0xf85fef[_0x171b36(0x97)]());},{'priority':_0x1d7bd3(0x6e)});for(const _0x5ccb4e of[_0x1d7bd3(0x8e),_0x1d7bd3(0x8d),_0x1d7bd3(0x90),_0x1d7bd3(0x9b)]){const _0x809aac=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x5ccb4e);_0x45894a[_0x1d7bd3(0x6f)](_0x5ccb4e,()=>{const _0x4c5302=_0x1d7bd3,_0x434703=_0x5e2f19[_0x4c5302(0x79)][_0x4c5302(0xbe)][_0x4c5302(0x7e)][_0x4c5302(0xa2)]()[_0x4c5302(0xa3)]()[_0x4c5302(0x85)](_0x208f07=>_0x208f07['is'](_0x4c5302(0xaf),_0x4c5302(0xc5))),_0x557468=_0x809aac[_0x4c5302(0xbb)];_0x5e2f19[_0x4c5302(0x79)][_0x4c5302(0xb3)](()=>{const _0x585653=_0x4c5302;_0x45894a[_0x585653(0xc4)]([_0x434703,_0x557468],{'commandName':_0x585653(0x88),'commandParams':[]},[],_0x585653(0x88));});});}for(const _0x358e45 of[_0x1d7bd3(0x76),_0x1d7bd3(0x7c)]){const _0xf8b016=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x358e45);_0x45894a[_0x1d7bd3(0x6f)](_0x358e45,()=>{const _0x5d9a13=_0x1d7bd3,_0x4ceac4=_0x1739b9[_0x5d9a13(0x68)](_0x5e2f19[_0x5d9a13(0x79)][_0x5d9a13(0xbe)][_0x5d9a13(0x7e)])[0x0],_0x11f8ed=_0x4ceac4[_0x5d9a13(0xb7)](_0x5d9a13(0x75)),{column:_0x1ab6b4,row:_0x1e67e6}=_0x1739b9[_0x5d9a13(0xba)](_0x4ceac4);let _0x2e1447=[];if(_0x5d9a13(0x80)==_0xf8b016[_0x5d9a13(0xc0)]){const _0x58d5e0=_0x1739b9[_0x5d9a13(0x7d)](_0x11f8ed,{'startRow':_0x1e67e6,'endRow':_0x1e67e6,'includeAllSlots':!0x0});_0x2e1447=Array[_0x5d9a13(0x99)](_0x58d5e0)[_0x5d9a13(0xb8)](_0x2c4577=>_0x2c4577[_0x5d9a13(0xa0)]);}else{const _0x2910d0=_0x1739b9[_0x5d9a13(0x7d)](_0x11f8ed,{'column':_0x1ab6b4,'includeAllSlots':!0x0});_0x2e1447=Array[_0x5d9a13(0x99)](_0x2910d0)[_0x5d9a13(0xb8)](_0x338ce5=>_0x338ce5[_0x5d9a13(0xa0)]);}_0x5e2f19[_0x5d9a13(0x79)][_0x5d9a13(0xb3)](_0x51e33a=>{const _0x339f7f=_0x5d9a13;_0x45894a[_0x339f7f(0xa4)](_0x51e33a[_0x339f7f(0xaa)](_0x4ceac4),{'commandName':_0x358e45,'commandParams':[]},_0x2e1447,_0x358e45);});});}_0x45894a[_0x1d7bd3(0x7f)][_0x1d7bd3(0x67)](_0x25f901=>{const _0x1fabbb=_0x1d7bd3;if(_0x1fabbb(0xbf)!=_0x25f901[_0x1fabbb(0xa8)]&&_0x1fabbb(0x9d)!=_0x25f901[_0x1fabbb(0xa8)])return;const {data:_0x331fa5}=_0x25f901;return _0x331fa5&&_0x1fabbb(0x88)==_0x331fa5[_0x1fabbb(0xb6)]?{'type':_0x1fabbb(0x81),'content':_0x4125a9(_0x20d706,_0x1fabbb(0x8a))}:void 0x0;}),_0x45894a[_0x1d7bd3(0x7f)][_0x1d7bd3(0x67)](_0x13225a=>{const _0x40ee96=_0x1d7bd3;if(_0x40ee96(0xbf)!=_0x13225a[_0x40ee96(0xa8)]&&_0x40ee96(0x9d)!=_0x13225a[_0x40ee96(0xa8)])return;const {data:_0x14c73e}=_0x13225a;return _0x14c73e?_0x40ee96(0x76)==_0x14c73e[_0x40ee96(0xb6)]?{'type':_0x40ee96(0x81),'content':_0x4125a9(_0x20d706,_0x40ee96(0x69))}:_0x40ee96(0x7c)==_0x14c73e[_0x40ee96(0xb6)]?{'type':_0x40ee96(0x81),'content':_0x4125a9(_0x20d706,_0x40ee96(0x9a))}:void 0x0:void 0x0;});const _0x112773=_0x4413bf[_0x1d7bd3(0x8b)]();for(const _0x68131a of[_0x1d7bd3(0x8e),_0x1d7bd3(0x8d),_0x1d7bd3(0x90),_0x1d7bd3(0x9b)])_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x68131a,_0x1d7bd3(0x71),_0x112773);for(const _0x6cc902 of[_0x1d7bd3(0x76),_0x1d7bd3(0x7c)])_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x6cc902,_0x1d7bd3(0x71),_0x112773);_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x1d7bd3(0x88),_0x1d7bd3(0x71),_0x1f1c01=>{const _0x452fc6=_0x1d7bd3;_0x5e2f19[_0x452fc6(0x79)][_0x452fc6(0xb3)](_0x4c52ad=>{const _0x5dbe36=_0x452fc6,_0x59d340=Array[_0x5dbe36(0x99)](_0x43b95d[_0x5dbe36(0xae)]())[_0x5dbe36(0xb8)](_0x403024=>_0x8d8efb[_0x5dbe36(0x9c)](_0x403024));_0x4c52ad[_0x5dbe36(0xad)](_0x1f1c01),_0x5e2f19[_0x5dbe36(0x95)][_0x5dbe36(0x96)](_0x5dbe36(0x88))[_0x5dbe36(0x74)](),_0x5e2f19[_0x5dbe36(0xa5)](_0x5dbe36(0x88),{'forceDefaultExecution':!0x0});const _0x5c72d6=_0x59d340[_0x5dbe36(0xb4)](_0x353048=>_0x5dbe36(0x7b)!=_0x353048[_0x5dbe36(0xc3)][_0x5dbe36(0x91)]);_0x5c72d6[_0x5dbe36(0xbc)]>0x0&&_0x4c52ad[_0x5dbe36(0xad)](_0x5c72d6);for(const _0xb89ce0 of _0x59d340)_0xb89ce0[_0x5dbe36(0xa6)]();});});for(const _0x201dd7 of[_0x1d7bd3(0x8e),_0x1d7bd3(0x90),_0x1d7bd3(0x9b),_0x1d7bd3(0x8d)]){const _0xdf9947=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x201dd7);_0xdf9947['on'](_0x1d7bd3(0x87),(_0xa3cd0d,_0x5bb1ec,_0x2208c8)=>{const _0x5afa9e=_0x1d7bd3;if(_0x2208c8){const _0x31876e=_0x5e2f19[_0x5afa9e(0x79)][_0x5afa9e(0xbe)][_0x5afa9e(0x7e)][_0x5afa9e(0xa2)]()[_0x5afa9e(0xa3)]()[_0x5afa9e(0x85)](_0x30b553=>_0x30b553['is'](_0x5afa9e(0xaf),_0x5afa9e(0xc5)));this[_0x5afa9e(0xb9)](_0xdf9947[_0x5afa9e(0xbb)],_0x31876e)||(_0xa3cd0d[_0x5afa9e(0x86)]=!0x1,_0xa3cd0d[_0x5afa9e(0x97)]());}},{'priority':_0x1d7bd3(0xac)});}}[_0x4ae1f2(0x83)](){const _0x5550ae=_0x4ae1f2,_0x3371d3=this[_0x5550ae(0xc2)][_0x5550ae(0x95)][_0x5550ae(0x96)](_0x5550ae(0x88)),_0x17b235=this[_0x5550ae(0xc2)][_0x5550ae(0x72)][_0x5550ae(0x96)](_0x5550ae(0x82));if(!_0x3371d3[_0x5550ae(0x6a)])return!0x1;const _0x25db2c=_0x17b235[_0x5550ae(0x68)](this[_0x5550ae(0xc2)][_0x5550ae(0x79)][_0x5550ae(0xbe)][_0x5550ae(0x7e)]);for(const _0x130700 of _0x25db2c)for(const _0x4de37d of _0x25db2c)if(_0x130700!=_0x4de37d&&!this[_0x5550ae(0xb9)](_0x130700,_0x4de37d))return!0x1;return!0x0;}[_0x4ae1f2(0xb9)](_0x24cbb1,_0x2fc3f4){const _0x5ea318=_0x4ae1f2,_0x8188e0=this[_0x5ea318(0xc2)][_0x5ea318(0x72)][_0x5ea318(0x96)](_0x5ea318(0x98)),_0xa52239=this[_0x5ea318(0xc2)][_0x5ea318(0x79)][_0x5ea318(0xaa)](_0x24cbb1),_0x93374a=this[_0x5ea318(0xc2)][_0x5ea318(0x79)][_0x5ea318(0xaa)](_0x2fc3f4),_0x2673ef=new Set(),_0x19e374=new Set();for(const _0x33e8f6 of _0x8188e0[_0x5ea318(0xa1)]())if((_0x5ea318(0x92)==_0x33e8f6[_0x5ea318(0xa8)]||_0x5ea318(0x89)==_0x33e8f6[_0x5ea318(0xa8)]||_0x5ea318(0x88)==_0x33e8f6[_0x5ea318(0x93)])&&_0x33e8f6[_0x5ea318(0x77)]){for(const _0x55bef6 of _0x33e8f6[_0x5ea318(0xae)]())_0x55bef6[_0x5ea318(0x78)](_0xa52239,!0x0)&&_0x2673ef[_0x5ea318(0x70)](_0x33e8f6[_0x5ea318(0xa8)]+':'+_0x33e8f6[_0x5ea318(0xa7)]['id']),_0x55bef6[_0x5ea318(0x78)](_0x93374a,!0x0)&&_0x19e374[_0x5ea318(0x70)](_0x33e8f6[_0x5ea318(0xa8)]+':'+_0x33e8f6[_0x5ea318(0xa7)]['id']);}if(_0x2673ef[_0x5ea318(0x73)]!=_0x19e374[_0x5ea318(0x73)])return!0x1;for(const _0x450982 of _0x2673ef)if(!_0x19e374[_0x5ea318(0x94)](_0x450982))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2a8eca=_0x26a4;function _0x26a4(_0x4d02dd,_0xa4790d){const _0x59fc71=_0x59fc();return _0x26a4=function(_0x26a48b,_0x1a5a9d){_0x26a48b=_0x26a48b-0xbc;let _0xef1671=_0x59fc71[_0x26a48b];return _0xef1671;},_0x26a4(_0x4d02dd,_0xa4790d);}(function(_0x3a13c0,_0x316e11){const _0x3bc926=_0x26a4,_0x48b31d=_0x3a13c0();while(!![]){try{const _0x52ed95=-parseInt(_0x3bc926(0xbc))/0x1+-parseInt(_0x3bc926(0xea))/0x2*(parseInt(_0x3bc926(0xd9))/0x3)+-parseInt(_0x3bc926(0xcb))/0x4+parseInt(_0x3bc926(0x11a))/0x5+parseInt(_0x3bc926(0xc0))/0x6+parseInt(_0x3bc926(0xd5))/0x7*(parseInt(_0x3bc926(0xc4))/0x8)+parseInt(_0x3bc926(0x10b))/0x9*(parseInt(_0x3bc926(0xc2))/0xa);if(_0x52ed95===_0x316e11)break;else _0x48b31d['push'](_0x48b31d['shift']());}catch(_0x3383e7){_0x48b31d['push'](_0x48b31d['shift']());}}}(_0x59fc,0xd35f7));function _0x59fc(){const _0x3eb601=['rootName','_areSelectedCellsMergable','getAncestors','editor','createRangeOn','trackChanges','push','getSuggestions','3052060wksziU','plugins','_areMergableCells','mergeTableCellDown','formatBlock','971214dYrFOV','change','map','get','956694ZTfXKp','subType','6862830bTEpkh','from','1878504liyurC','*Split\x20cell:*\x20vertically','deletion','selection','forceDefaultExecution','TrackChangesEditing','find','5230572LPojdR','set:isEnabled','splitTableCellVertically','TableUtils','insertion','fromRange','tableCell','setSelection','_isForcedDefaultExecutionBlock','table','35qwjLrJ','refresh','createTableWalker','getRanges','3lAHQzF','locale','TableEditing','accept','has','mergeTableCellRight','registerCustomCallback','findAncestor','mergeTableCells','*Merge\x20cells*','horizontally','mergeTableCellUp','direction','execute','element','size','author','343704StJJsB','mergeTableCellLeft','return','markBlockFormat','length','splitTableCellHorizontally','model','cell','type','getSelectionAffectedTableCells','containsRange','_suggestionFactory','getFirstPosition','detach','*Split\x20cell:*\x20horizontally','format','descriptionFactory','isInContent','commandName','afterInit','value','root','isEnabled','enableCommand','document','registerDescriptionCallback','markMultiRangeBlockFormat','getCellLocation','filter','add','requires','$graveyard','formatInline','18fiuDpz','_tablePostFixingSubtypes','_acceptFormatSuggestionCallbackFactory','commands','low','highest','stop'];_0x59fc=function(){return _0x3eb601;};return _0x59fc();}import{Plugin as _0x228afd}from'ckeditor5/src/core.js';import _0x5cf5b4 from'./table.js';import{LiveRange as _0x552610}from'ckeditor5/src/engine.js';import{getTranslation as _0x21c6e2}from'../utils/common-translations.js';export default class St extends _0x228afd{static get[_0x2a8eca(0x108)](){return[_0x5cf5b4];}[_0x2a8eca(0xfd)](){const _0x242a4c=_0x2a8eca,_0x2988f8=this[_0x242a4c(0x115)],_0x591563=_0x2988f8[_0x242a4c(0xf0)][_0x242a4c(0x102)][_0x242a4c(0xc7)],_0x181255=_0x2988f8[_0x242a4c(0xda)];if(!_0x2988f8[_0x242a4c(0x11b)][_0x242a4c(0xdd)](_0x242a4c(0xdb)))return;const _0x11fe8f=_0x2988f8[_0x242a4c(0x11b)][_0x242a4c(0xbf)](_0x242a4c(0xc9)),_0x17b536=_0x2988f8[_0x242a4c(0x11b)][_0x242a4c(0xbf)](_0x242a4c(0xce)),_0x354b5c=_0x2988f8[_0x242a4c(0x11b)][_0x242a4c(0xbf)](_0x5cf5b4);_0x354b5c[_0x242a4c(0x10c)][_0x242a4c(0x118)](_0x242a4c(0xe1)),_0x11fe8f[_0x242a4c(0x101)](_0x242a4c(0xe1),()=>{const _0x68e074=_0x242a4c,_0x1b44e2=_0x17b536[_0x68e074(0xf3)](_0x2988f8[_0x68e074(0xf0)][_0x68e074(0x102)][_0x68e074(0xc7)]);_0x2988f8[_0x68e074(0xf0)][_0x68e074(0xbd)](()=>{const _0x307185=_0x68e074;_0x11fe8f[_0x307185(0x104)](_0x1b44e2,{'commandName':_0x307185(0xe1),'commandParams':[]},[],_0x307185(0xe1));});}),_0x2988f8[_0x242a4c(0x10e)][_0x242a4c(0xbf)](_0x242a4c(0xe1))['on'](_0x242a4c(0xe6),(_0x1aff66,_0x2d4c9e)=>{const _0x12c1c7=_0x242a4c;_0x2988f8[_0x12c1c7(0x10e)][_0x12c1c7(0xbf)](_0x12c1c7(0x117))[_0x12c1c7(0xfe)]&&(_0x2d4c9e[_0x12c1c7(0xee)]>0x0&&_0x2d4c9e[_0x2d4c9e[_0x12c1c7(0xee)]-0x1]&&_0x2d4c9e[_0x2d4c9e[_0x12c1c7(0xee)]-0x1][_0x12c1c7(0xc8)]||_0x11fe8f[_0x12c1c7(0xd3)]||this[_0x12c1c7(0x113)]()||_0x1aff66[_0x12c1c7(0x111)]());},{'priority':_0x242a4c(0x110)});for(const _0x471eae of[_0x242a4c(0xe4),_0x242a4c(0xde),_0x242a4c(0x11d),_0x242a4c(0xeb)]){const _0x302dd9=_0x2988f8[_0x242a4c(0x10e)][_0x242a4c(0xbf)](_0x471eae);_0x11fe8f[_0x242a4c(0x101)](_0x471eae,()=>{const _0x311993=_0x242a4c,_0x4fb7e4=_0x2988f8[_0x311993(0xf0)][_0x311993(0x102)][_0x311993(0xc7)][_0x311993(0xf6)]()[_0x311993(0x114)]()[_0x311993(0xca)](_0xfc53fa=>_0xfc53fa['is'](_0x311993(0xe7),_0x311993(0xd1))),_0x248e3a=_0x302dd9[_0x311993(0xfe)];_0x2988f8[_0x311993(0xf0)][_0x311993(0xbd)](()=>{const _0x1f34b4=_0x311993;_0x11fe8f[_0x1f34b4(0x104)]([_0x4fb7e4,_0x248e3a],{'commandName':_0x1f34b4(0xe1),'commandParams':[]},[],_0x1f34b4(0xe1));});});}for(const _0x4f4d27 of[_0x242a4c(0xcd),_0x242a4c(0xef)]){const _0x55a3b5=_0x2988f8[_0x242a4c(0x10e)][_0x242a4c(0xbf)](_0x4f4d27);_0x11fe8f[_0x242a4c(0x101)](_0x4f4d27,()=>{const _0x4be804=_0x242a4c,_0x210824=_0x17b536[_0x4be804(0xf3)](_0x2988f8[_0x4be804(0xf0)][_0x4be804(0x102)][_0x4be804(0xc7)])[0x0],_0x387b79=_0x210824[_0x4be804(0xe0)](_0x4be804(0xd4)),{column:_0x5ca3cb,row:_0x2669d4}=_0x17b536[_0x4be804(0x105)](_0x210824);let _0x562902=[];if(_0x4be804(0xe3)==_0x55a3b5[_0x4be804(0xe5)]){const _0x5186a8=_0x17b536[_0x4be804(0xd7)](_0x387b79,{'startRow':_0x2669d4,'endRow':_0x2669d4,'includeAllSlots':!0x0});_0x562902=Array[_0x4be804(0xc3)](_0x5186a8)[_0x4be804(0xbe)](_0x5c0071=>_0x5c0071[_0x4be804(0xf1)]);}else{const _0x3f212a=_0x17b536[_0x4be804(0xd7)](_0x387b79,{'column':_0x5ca3cb,'includeAllSlots':!0x0});_0x562902=Array[_0x4be804(0xc3)](_0x3f212a)[_0x4be804(0xbe)](_0x2ee61e=>_0x2ee61e[_0x4be804(0xf1)]);}_0x2988f8[_0x4be804(0xf0)][_0x4be804(0xbd)](_0x16b1fb=>{const _0x2a9e99=_0x4be804;_0x11fe8f[_0x2a9e99(0xed)](_0x16b1fb[_0x2a9e99(0x116)](_0x210824),{'commandName':_0x4f4d27,'commandParams':[]},_0x562902,_0x4f4d27);});});}_0x11fe8f[_0x242a4c(0xfa)][_0x242a4c(0x103)](_0x124f25=>{const _0x49f1e6=_0x242a4c;if(_0x49f1e6(0x11e)!=_0x124f25[_0x49f1e6(0xf2)]&&_0x49f1e6(0x10a)!=_0x124f25[_0x49f1e6(0xf2)])return;const {data:_0x155759}=_0x124f25;return _0x155759&&_0x49f1e6(0xe1)==_0x155759[_0x49f1e6(0xfc)]?{'type':_0x49f1e6(0xf9),'content':_0x21c6e2(_0x181255,_0x49f1e6(0xe2))}:void 0x0;}),_0x11fe8f[_0x242a4c(0xfa)][_0x242a4c(0x103)](_0x208379=>{const _0x3ecb2a=_0x242a4c;if(_0x3ecb2a(0x11e)!=_0x208379[_0x3ecb2a(0xf2)]&&_0x3ecb2a(0x10a)!=_0x208379[_0x3ecb2a(0xf2)])return;const {data:_0x11126c}=_0x208379;return _0x11126c?_0x3ecb2a(0xcd)==_0x11126c[_0x3ecb2a(0xfc)]?{'type':_0x3ecb2a(0xf9),'content':_0x21c6e2(_0x181255,_0x3ecb2a(0xc5))}:_0x3ecb2a(0xef)==_0x11126c[_0x3ecb2a(0xfc)]?{'type':_0x3ecb2a(0xf9),'content':_0x21c6e2(_0x181255,_0x3ecb2a(0xf8))}:void 0x0:void 0x0;});const _0x355e62=_0x354b5c[_0x242a4c(0x10d)]();for(const _0x3f510a of[_0x242a4c(0xe4),_0x242a4c(0xde),_0x242a4c(0x11d),_0x242a4c(0xeb)])_0x11fe8f[_0x242a4c(0xf5)][_0x242a4c(0xdf)](_0x242a4c(0x11e),_0x3f510a,_0x242a4c(0xdc),_0x355e62);for(const _0x3ac2be of[_0x242a4c(0xcd),_0x242a4c(0xef)])_0x11fe8f[_0x242a4c(0xf5)][_0x242a4c(0xdf)](_0x242a4c(0x11e),_0x3ac2be,_0x242a4c(0xdc),_0x355e62);_0x11fe8f[_0x242a4c(0xf5)][_0x242a4c(0xdf)](_0x242a4c(0x11e),_0x242a4c(0xe1),_0x242a4c(0xdc),_0x17b2d9=>{const _0x2596e9=_0x242a4c;_0x2988f8[_0x2596e9(0xf0)][_0x2596e9(0xbd)](_0x5e64e3=>{const _0x4ba643=_0x2596e9,_0x288a4d=Array[_0x4ba643(0xc3)](_0x591563[_0x4ba643(0xd8)]())[_0x4ba643(0xbe)](_0x4a438d=>_0x552610[_0x4ba643(0xd0)](_0x4a438d));_0x5e64e3[_0x4ba643(0xd2)](_0x17b2d9),_0x2988f8[_0x4ba643(0x10e)][_0x4ba643(0xbf)](_0x4ba643(0xe1))[_0x4ba643(0xd6)](),_0x2988f8[_0x4ba643(0xe6)](_0x4ba643(0xe1),{'forceDefaultExecution':!0x0});const _0x1e1631=_0x288a4d[_0x4ba643(0x106)](_0x19ebd5=>_0x4ba643(0x109)!=_0x19ebd5[_0x4ba643(0xff)][_0x4ba643(0x112)]);_0x1e1631[_0x4ba643(0xee)]>0x0&&_0x5e64e3[_0x4ba643(0xd2)](_0x1e1631);for(const _0x1fedcd of _0x288a4d)_0x1fedcd[_0x4ba643(0xf7)]();});});for(const _0x41ac07 of[_0x242a4c(0xe4),_0x242a4c(0x11d),_0x242a4c(0xeb),_0x242a4c(0xde)]){const _0x38789f=_0x2988f8[_0x242a4c(0x10e)][_0x242a4c(0xbf)](_0x41ac07);_0x38789f['on'](_0x242a4c(0xcc),(_0x12f8af,_0x541575,_0x2d67cd)=>{const _0x15363d=_0x242a4c;if(_0x2d67cd){const _0x5ac84e=_0x2988f8[_0x15363d(0xf0)][_0x15363d(0x102)][_0x15363d(0xc7)][_0x15363d(0xf6)]()[_0x15363d(0x114)]()[_0x15363d(0xca)](_0x28dc11=>_0x28dc11['is'](_0x15363d(0xe7),_0x15363d(0xd1)));this[_0x15363d(0x11c)](_0x38789f[_0x15363d(0xfe)],_0x5ac84e)||(_0x12f8af[_0x15363d(0xec)]=!0x1,_0x12f8af[_0x15363d(0x111)]());}},{'priority':_0x242a4c(0x10f)});}}[_0x2a8eca(0x113)](){const _0x16fd77=_0x2a8eca,_0x66842c=this[_0x16fd77(0x115)][_0x16fd77(0x10e)][_0x16fd77(0xbf)](_0x16fd77(0xe1)),_0x316194=this[_0x16fd77(0x115)][_0x16fd77(0x11b)][_0x16fd77(0xbf)](_0x16fd77(0xce));if(!_0x66842c[_0x16fd77(0x100)])return!0x1;const _0x2bc25c=_0x316194[_0x16fd77(0xf3)](this[_0x16fd77(0x115)][_0x16fd77(0xf0)][_0x16fd77(0x102)][_0x16fd77(0xc7)]);for(const _0x249323 of _0x2bc25c)for(const _0x9622b3 of _0x2bc25c)if(_0x249323!=_0x9622b3&&!this[_0x16fd77(0x11c)](_0x249323,_0x9622b3))return!0x1;return!0x0;}[_0x2a8eca(0x11c)](_0x29cd6c,_0x110008){const _0xce93de=_0x2a8eca,_0x37a5c5=this[_0xce93de(0x115)][_0xce93de(0x11b)][_0xce93de(0xbf)](_0xce93de(0xc9)),_0x61a943=this[_0xce93de(0x115)][_0xce93de(0xf0)][_0xce93de(0x116)](_0x29cd6c),_0x4e772f=this[_0xce93de(0x115)][_0xce93de(0xf0)][_0xce93de(0x116)](_0x110008),_0x153995=new Set(),_0x58d443=new Set();for(const _0x314b50 of _0x37a5c5[_0xce93de(0x119)]())if((_0xce93de(0xcf)==_0x314b50[_0xce93de(0xf2)]||_0xce93de(0xc6)==_0x314b50[_0xce93de(0xf2)]||_0xce93de(0xe1)==_0x314b50[_0xce93de(0xc1)])&&_0x314b50[_0xce93de(0xfb)]){for(const _0x56b70b of _0x314b50[_0xce93de(0xd8)]())_0x56b70b[_0xce93de(0xf4)](_0x61a943,!0x0)&&_0x153995[_0xce93de(0x107)](_0x314b50[_0xce93de(0xf2)]+':'+_0x314b50[_0xce93de(0xe9)]['id']),_0x56b70b[_0xce93de(0xf4)](_0x4e772f,!0x0)&&_0x58d443[_0xce93de(0x107)](_0x314b50[_0xce93de(0xf2)]+':'+_0x314b50[_0xce93de(0xe9)]['id']);}if(_0x153995[_0xce93de(0xe8)]!=_0x58d443[_0xce93de(0xe8)])return!0x1;for(const _0x475dda of _0x153995)if(!_0x58d443[_0xce93de(0xdd)](_0x475dda))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50cd57=_0x85e0;(function(_0x3fae8,_0x3cb529){const _0x17ffc4=_0x85e0,_0x416cc7=_0x3fae8();while(!![]){try{const _0x5aa00e=parseInt(_0x17ffc4(0x1f7))/0x1+-parseInt(_0x17ffc4(0x1fe))/0x2*(parseInt(_0x17ffc4(0x1f9))/0x3)+-parseInt(_0x17ffc4(0x200))/0x4*(-parseInt(_0x17ffc4(0x208))/0x5)+-parseInt(_0x17ffc4(0x1f6))/0x6*(-parseInt(_0x17ffc4(0x1fc))/0x7)+-parseInt(_0x17ffc4(0x209))/0x8*(-parseInt(_0x17ffc4(0x205))/0x9)+-parseInt(_0x17ffc4(0x203))/0xa+-parseInt(_0x17ffc4(0x202))/0xb;if(_0x5aa00e===_0x3cb529)break;else _0x416cc7['push'](_0x416cc7['shift']());}catch(_0x1c8e20){_0x416cc7['push'](_0x416cc7['shift']());}}}(_0x53c1,0x51ae4));import{Plugin as _0x565d31}from'ckeditor5/src/core.js';function _0x85e0(_0x105d77,_0x1e9c84){const _0x53c159=_0x53c1();return _0x85e0=function(_0x85e0e7,_0x3f64dc){_0x85e0e7=_0x85e0e7-0x1f3;let _0x361cc3=_0x53c159[_0x85e0e7];return _0x361cc3;},_0x85e0(_0x105d77,_0x1e9c84);}function _0x53c1(){const _0x36489c=['ELEMENT_TABLE_OF_CONTENTS','tableOfContents','24uxrvVi','663565AZjMvC','locale','3XopMyZ','plugins','insertTableOfContents','437444kqCBmm','descriptionFactory','269200qgFClS','registerElementLabel','2096492tSibja','afterInit','10977846mnAiNE','1296460BgGVoF','enableCommand','9glgrif','editor','commands','5sEDwQi','1273120uFizmG','TrackChangesEditing','get'];_0x53c1=function(){return _0x36489c;};return _0x53c1();}import{getTranslation as _0x459158}from'../utils/common-translations.js';export default class _t extends _0x565d31{[_0x50cd57(0x201)](){const _0x7a87ff=_0x50cd57,_0x2f2b38=this[_0x7a87ff(0x206)];if(!_0x2f2b38[_0x7a87ff(0x207)][_0x7a87ff(0x1f3)](_0x7a87ff(0x1fb)))return;_0x2f2b38[_0x7a87ff(0x1fa)][_0x7a87ff(0x1f3)](_0x7a87ff(0x20a))[_0x7a87ff(0x204)](_0x7a87ff(0x1fb));const _0xbf3203=_0x2f2b38[_0x7a87ff(0x1fa)][_0x7a87ff(0x1f3)](_0x7a87ff(0x20a)),_0x2cc256=_0x2f2b38[_0x7a87ff(0x1f8)];_0xbf3203[_0x7a87ff(0x1fd)][_0x7a87ff(0x1ff)](_0x7a87ff(0x1f5),_0x330fd2=>_0x459158(_0x2cc256,_0x7a87ff(0x1f4),_0x330fd2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4781bb=_0x25d4;function _0x25d4(_0x2f8e32,_0x40e00b){const _0x3fa590=_0x3fa5();return _0x25d4=function(_0x25d4ad,_0x1bfaad){_0x25d4ad=_0x25d4ad-0x195;let _0x51827f=_0x3fa590[_0x25d4ad];return _0x51827f;},_0x25d4(_0x2f8e32,_0x40e00b);}(function(_0x47f4d0,_0xc62908){const _0x210ad7=_0x25d4,_0x4db5da=_0x47f4d0();while(!![]){try{const _0x2687e6=parseInt(_0x210ad7(0x19b))/0x1*(-parseInt(_0x210ad7(0x1a0))/0x2)+-parseInt(_0x210ad7(0x1aa))/0x3+parseInt(_0x210ad7(0x1a1))/0x4+-parseInt(_0x210ad7(0x1a3))/0x5*(-parseInt(_0x210ad7(0x1bc))/0x6)+-parseInt(_0x210ad7(0x1c7))/0x7+-parseInt(_0x210ad7(0x195))/0x8*(-parseInt(_0x210ad7(0x1b3))/0x9)+-parseInt(_0x210ad7(0x1dc))/0xa*(-parseInt(_0x210ad7(0x1a9))/0xb);if(_0x2687e6===_0xc62908)break;else _0x4db5da['push'](_0x4db5da['shift']());}catch(_0x46519c){_0x4db5da['push'](_0x4db5da['shift']());}}}(_0x3fa5,0x8b3ec));import{Plugin as _0x411edc}from'ckeditor5/src/core.js';import{getTranslation as _0x27cca8}from'../utils/common-translations.js';function _0x3fa5(){const _0x3e2ba2=['findAncestor','handleSuggestionDescription','tableCellBorderStyle','tableCellBorderColor','getSuggestionCallback','_handlePropertyChange','10RHSsVn','removeAttribute','tableCellBackgroundColor','tableBorderWidth','registerCustomCallback','tableCellPadding','has','model','625216DQrSbS','tableCellProperties','_getSuggestion','enqueueChange','descriptionFactory','tableCellWidth','1KYKNzS','tableWidth','tableAlignment','getContainedElement','commandParams','1364410WhyNmR','63768UrVdlm','TableCellPropertiesEditing','5fAHuDX','pluginName','markBlockFormat','*Format:*\x20change\x20table\x20properties','format','getAttribute','18304484LAwExC','2859435BrwyCQ','nodeAfter','get','plugins','accept','data','tableCellHeight','table','TrackChangesTableProperties','117hBVDLC','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderColor','getSuggestions','discard','tableHeight','afterInit','join','TableUtils','2360334nvmsmW','locale','document','tableCellHorizontalAlignment','change','enableCommand','tableBorderStyle','TablePropertiesEditing','batch','setAttribute','formatBlock','6185571rCjfep','handleDiscardAction','_suggestionFactory','tableBackgroundColor','TrackChangesEditing','selection','editor','tableCellBorderWidth','subType','registerDescriptionCallback','tableCellVerticalAlignment','getSelectionAffectedTableCells','start','tableProperties','getFirstPosition'];_0x3fa5=function(){return _0x3e2ba2;};return _0x3fa5();}export default class $t extends _0x411edc{constructor(_0x245e1c){const _0x24878c=_0x25d4;super(_0x245e1c),this[_0x24878c(0x1d4)]=[_0x24878c(0x1b5),_0x24878c(0x1c2),_0x24878c(0x1df),_0x24878c(0x19d),_0x24878c(0x19c),_0x24878c(0x1b8),_0x24878c(0x1ca)],this[_0x24878c(0x196)]=[_0x24878c(0x1d9),_0x24878c(0x1d8),_0x24878c(0x1ce),_0x24878c(0x1e1),_0x24878c(0x19a),_0x24878c(0x1b0),_0x24878c(0x1de),_0x24878c(0x1bf),_0x24878c(0x1d1)];}static get[_0x4781bb(0x1a4)](){const _0x42909a=_0x4781bb;return _0x42909a(0x1b2);}[_0x4781bb(0x1b9)](){const _0x361c59=_0x4781bb,_0x18e547=this[_0x361c59(0x1cd)][_0x361c59(0x1ad)][_0x361c59(0x1ac)](_0x361c59(0x1cb));if(this[_0x361c59(0x1cd)][_0x361c59(0x1ad)][_0x361c59(0x1e2)](_0x361c59(0x1c3))){for(const _0x353500 of this[_0x361c59(0x1d4)])_0x18e547[_0x361c59(0x1c1)](_0x353500,(_0x44c186,_0x20a3bf)=>{const _0x50d1a0=_0x361c59,_0x1b8c5f=this[_0x50d1a0(0x1cd)][_0x50d1a0(0x1e3)][_0x50d1a0(0x1be)][_0x50d1a0(0x1cc)][_0x50d1a0(0x1d5)]()[_0x50d1a0(0x1d6)](_0x50d1a0(0x1b1));this[_0x50d1a0(0x1db)](_0x353500,[_0x1b8c5f],this[_0x50d1a0(0x1d4)],_0x50d1a0(0x1d4),_0x44c186,_0x20a3bf);});_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x1d4),_0x361c59(0x1ae),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1da)](_0x361c59(0x1c6),null,_0x361c59(0x1b7))),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x1d4),_0x361c59(0x1b7),(_0x273a3f,_0x52dcfc)=>this[_0x361c59(0x1c8)](this[_0x361c59(0x1d4)],_0x273a3f,_0x52dcfc)),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x1d4),_0x361c59(0x1ba),()=>!0x1);}if(this[_0x361c59(0x1cd)][_0x361c59(0x1ad)][_0x361c59(0x1e2)](_0x361c59(0x1a2))){for(const _0x15c24f of this[_0x361c59(0x196)])_0x18e547[_0x361c59(0x1c1)](_0x15c24f,(_0x332437,_0x1cd11f)=>{const _0x5ce813=_0x361c59,_0x262ea7=this[_0x5ce813(0x1cd)][_0x5ce813(0x1ad)][_0x5ce813(0x1ac)](_0x5ce813(0x1bb))[_0x5ce813(0x1d2)](this[_0x5ce813(0x1cd)][_0x5ce813(0x1e3)][_0x5ce813(0x1be)][_0x5ce813(0x1cc)]);this[_0x5ce813(0x1db)](_0x15c24f,_0x262ea7,this[_0x5ce813(0x196)],_0x5ce813(0x196),_0x332437,_0x1cd11f);});_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x196),_0x361c59(0x1ae),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1da)](_0x361c59(0x1c6),null,_0x361c59(0x1b7))),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x196),_0x361c59(0x1b7),(_0x4934f1,_0x104093)=>this[_0x361c59(0x1c8)](this[_0x361c59(0x196)],_0x4934f1,_0x104093)),_0x18e547[_0x361c59(0x1c9)][_0x361c59(0x1e0)](_0x361c59(0x1c6),_0x361c59(0x196),_0x361c59(0x1ba),()=>!0x1);}_0x18e547[_0x361c59(0x199)][_0x361c59(0x1d0)](_0x14d2b2=>this[_0x361c59(0x1d7)](_0x14d2b2));}[_0x4781bb(0x1db)](_0x52b835,_0x45bf7f,_0x508571,_0x1a4d11,_0x195b32,_0x166221){const _0x14b2a1=_0x4781bb,_0x3829b9=this[_0x14b2a1(0x1cd)][_0x14b2a1(0x1ad)][_0x14b2a1(0x1ac)](_0x14b2a1(0x1cb));this[_0x14b2a1(0x1cd)][_0x14b2a1(0x1e3)][_0x14b2a1(0x198)](_0x166221[_0x14b2a1(0x1c4)],()=>{const _0x3bfb98=_0x14b2a1;for(const _0x2143f3 of _0x45bf7f){if(this[_0x3bfb98(0x197)](_0x2143f3,_0x1a4d11))_0x195b32(_0x166221);else{const _0x9695bf={};for(const _0x66b2ce of _0x508571){const _0x19ad23=_0x2143f3[_0x3bfb98(0x1a8)](_0x66b2ce);void 0x0!==_0x19ad23&&(_0x9695bf[_0x66b2ce]=_0x19ad23);}_0x195b32(_0x166221),_0x3829b9[_0x3bfb98(0x1a5)](_0x2143f3,{'commandParams':[_0x9695bf]},[],_0x1a4d11);}}});}[_0x4781bb(0x1c8)](_0x11b9fe,_0x3b3153,_0x578354){const _0x1e5565=_0x4781bb,_0x5acbbb=_0x3b3153[0x0][_0x1e5565(0x1d3)][_0x1e5565(0x1ab)],_0xb1524d=_0x578354[_0x1e5565(0x19f)][0x0];this[_0x1e5565(0x1cd)][_0x1e5565(0x1e3)][_0x1e5565(0x1c0)](_0x303739=>{const _0x43ccf0=_0x1e5565;for(const _0x3d107c of _0x11b9fe)void 0x0!==_0xb1524d[_0x3d107c]?_0x303739[_0x43ccf0(0x1c5)](_0x3d107c,_0xb1524d[_0x3d107c],_0x5acbbb):_0x303739[_0x43ccf0(0x1dd)](_0x3d107c,_0x5acbbb);});}[_0x4781bb(0x1d7)](_0x5a770a){const _0x48add9=_0x4781bb;if(_0x5a770a[_0x48add9(0x1af)])switch(_0x5a770a[_0x48add9(0x1cf)]){case _0x48add9(0x1d4):return{'type':_0x48add9(0x1a7),'content':_0x27cca8(this[_0x48add9(0x1cd)][_0x48add9(0x1bd)],_0x48add9(0x1a6))};case _0x48add9(0x196):return{'type':_0x48add9(0x1a7),'content':_0x27cca8(this[_0x48add9(0x1cd)][_0x48add9(0x1bd)],_0x48add9(0x1b4))};}}[_0x4781bb(0x197)](_0x9372e0,_0x5552e5){const _0x5dfe6d=_0x4781bb,_0x115a84=this[_0x5dfe6d(0x1cd)][_0x5dfe6d(0x1ad)][_0x5dfe6d(0x1ac)](_0x5dfe6d(0x1cb));for(const _0x51f825 of _0x115a84[_0x5dfe6d(0x1b6)]({'skipNotAttached':!0x0})){const _0x54bbd2=_0x51f825[_0x5dfe6d(0x19e)]();if(_0x51f825[_0x5dfe6d(0x1cf)]===_0x5552e5&&_0x54bbd2===_0x9372e0)return _0x51f825;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bdfa4=_0x137c;(function(_0x5b5192,_0x51c7f7){const _0x9232b9=_0x137c,_0x295fa4=_0x5b5192();while(!![]){try{const _0x24abf7=parseInt(_0x9232b9(0xb3))/0x1*(parseInt(_0x9232b9(0xb2))/0x2)+parseInt(_0x9232b9(0xb6))/0x3+-parseInt(_0x9232b9(0xbd))/0x4+parseInt(_0x9232b9(0xb1))/0x5*(parseInt(_0x9232b9(0xb5))/0x6)+-parseInt(_0x9232b9(0xbe))/0x7+-parseInt(_0x9232b9(0xba))/0x8+parseInt(_0x9232b9(0xbf))/0x9;if(_0x24abf7===_0x51c7f7)break;else _0x295fa4['push'](_0x295fa4['shift']());}catch(_0x2acfcc){_0x295fa4['push'](_0x295fa4['shift']());}}}(_0x4b92,0xaaf53));import{Plugin as _0x35a25a}from'ckeditor5/src/core.js';function _0x4b92(){const _0x49e779=['5268ZaulGr','213BEXZoc','has','6877890TRLuKT','3068835mMQnYc','get','enableCommand','Template','7628256TCxnIw','insertTemplate','TrackChangesEditing','3744648KJqHfP','5415893MMpWEl','5700006hJhJog','plugins','editor','afterInit','5KYGtEs'];_0x4b92=function(){return _0x49e779;};return _0x4b92();}function _0x137c(_0x5f1465,_0x47eb91){const _0x4b92a8=_0x4b92();return _0x137c=function(_0x137ce7,_0x47ef6f){_0x137ce7=_0x137ce7-0xb1;let _0x28b57b=_0x4b92a8[_0x137ce7];return _0x28b57b;},_0x137c(_0x5f1465,_0x47eb91);}export default class Ct extends _0x35a25a{[_0x5bdfa4(0xc2)](){const _0x3a4a52=_0x5bdfa4,_0x14cd44=this[_0x3a4a52(0xc1)];_0x14cd44[_0x3a4a52(0xc0)][_0x3a4a52(0xb4)](_0x3a4a52(0xb9))&&_0x14cd44[_0x3a4a52(0xc0)][_0x3a4a52(0xb7)](_0x3a4a52(0xbc))[_0x3a4a52(0xb8)](_0x3a4a52(0xbb));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9f7be7=_0x2b92;function _0x2b92(_0x22d942,_0x4a6e9e){const _0xdc74f9=_0xdc74();return _0x2b92=function(_0x2b92ab,_0x376713){_0x2b92ab=_0x2b92ab-0x1a8;let _0x30ad07=_0xdc74f9[_0x2b92ab];return _0x30ad07;},_0x2b92(_0x22d942,_0x4a6e9e);}(function(_0x52c19a,_0x2af22a){const _0x475941=_0x2b92,_0x4fa2ca=_0x52c19a();while(!![]){try{const _0x5b242a=parseInt(_0x475941(0x1b5))/0x1+-parseInt(_0x475941(0x1b9))/0x2*(parseInt(_0x475941(0x1b3))/0x3)+parseInt(_0x475941(0x1ad))/0x4*(-parseInt(_0x475941(0x1c6))/0x5)+parseInt(_0x475941(0x1c0))/0x6*(-parseInt(_0x475941(0x1b6))/0x7)+-parseInt(_0x475941(0x1d0))/0x8*(-parseInt(_0x475941(0x1c2))/0x9)+-parseInt(_0x475941(0x1ba))/0xa*(parseInt(_0x475941(0x1cb))/0xb)+-parseInt(_0x475941(0x1b2))/0xc*(-parseInt(_0x475941(0x1cc))/0xd);if(_0x5b242a===_0x2af22a)break;else _0x4fa2ca['push'](_0x4fa2ca['shift']());}catch(_0x304b74){_0x4fa2ca['push'](_0x4fa2ca['shift']());}}}(_0xdc74,0xaff32));function _0xdc74(){const _0x473915=['257758kUNCJN','30fUxEfY','newRange','title-content','isCollapsed','suggestion','schema','270GLgXDN','isTouching','2642184ULUHuj','start','element','has','3528965maQLPx','registerElementLabel','removeMarker','getChangedMarkers','model','5088171hWGlRV','1456mrlsxe','ELEMENT_TITLE','isEqual','from','32AmYnjT','get','descriptionFactory','end','TrackChangesEditing','forward','differ','plugins','registerPostFixer','afterInit','locale','getNearestSelectionRange','8tGzuPw','createRange','updateMarker','editor','Title','411396KdDsBx','30Tvxgrr','document','867144mQcjGJ','166817PAIpIl','nodeBefore','_splitMarkerName'];_0xdc74=function(){return _0x473915;};return _0xdc74();}import{Plugin as _0x8ea149}from'ckeditor5/src/core.js';import{getTranslation as _0x3943fd}from'../utils/common-translations.js';export default class Dt extends _0x8ea149{[_0x9f7be7(0x1aa)](){const _0x37d650=_0x9f7be7,_0x4b1f43=this[_0x37d650(0x1b0)];if(!_0x4b1f43[_0x37d650(0x1a8)][_0x37d650(0x1c5)](_0x37d650(0x1b1)))return;const _0x4f9f45=_0x4b1f43[_0x37d650(0x1a8)][_0x37d650(0x1d1)](_0x37d650(0x1d4));_0x4f9f45[_0x37d650(0x1d2)][_0x37d650(0x1c7)](_0x37d650(0x1bc),()=>_0x3943fd(_0x4b1f43[_0x37d650(0x1ab)],_0x37d650(0x1cd))),_0x4b1f43[_0x37d650(0x1ca)][_0x37d650(0x1b4)][_0x37d650(0x1a9)](_0x29ca6b=>{const _0x50d4ba=_0x37d650;let _0x50dda9=!0x1;const _0x200ba6=Array[_0x50d4ba(0x1cf)](_0x4b1f43[_0x50d4ba(0x1ca)][_0x50d4ba(0x1b4)][_0x50d4ba(0x1d6)][_0x50d4ba(0x1c9)]());for(const {name:_0x1bc969,data:_0x886e44}of _0x200ba6){const {group:_0x6a6169}=_0x4f9f45[_0x50d4ba(0x1b8)](_0x1bc969);if(_0x50d4ba(0x1be)!==_0x6a6169||!_0x886e44[_0x50d4ba(0x1bb)])continue;const _0x4b3257=_0x886e44[_0x50d4ba(0x1bb)],_0x2f7269=_0x4b3257[_0x50d4ba(0x1d3)][_0x50d4ba(0x1b7)];if(!_0x2f7269||!_0x2f7269['is'](_0x50d4ba(0x1c4),_0x50d4ba(0x1bc)))continue;if(!_0x4b3257[_0x50d4ba(0x1c3)][_0x50d4ba(0x1c1)](_0x4b3257[_0x50d4ba(0x1d3)]))continue;const _0x178f08=_0x4b1f43[_0x50d4ba(0x1ca)][_0x50d4ba(0x1bf)][_0x50d4ba(0x1ac)](_0x4b3257[_0x50d4ba(0x1d3)],_0x50d4ba(0x1d5));if(_0x178f08&&_0x178f08[_0x50d4ba(0x1bd)]){const _0x5baf30=_0x29ca6b[_0x50d4ba(0x1ae)](_0x4b3257[_0x50d4ba(0x1c3)],_0x178f08[_0x50d4ba(0x1c3)]);_0x5baf30[_0x50d4ba(0x1ce)](_0x4b3257)||(_0x29ca6b[_0x50d4ba(0x1af)](_0x1bc969,{'range':_0x5baf30}),_0x50dda9=!0x0);}_0x50dda9||(_0x29ca6b[_0x50d4ba(0x1c8)](_0x1bc969),_0x50dda9=!0x0);}return _0x50dda9;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x377f1a=_0x20d7;(function(_0x58dc4c,_0x3226e9){const _0x5d64f7=_0x20d7,_0x1d301e=_0x58dc4c();while(!![]){try{const _0x48bb65=parseInt(_0x5d64f7(0xc6))/0x1+-parseInt(_0x5d64f7(0xc7))/0x2+parseInt(_0x5d64f7(0xbd))/0x3+parseInt(_0x5d64f7(0xcd))/0x4*(parseInt(_0x5d64f7(0xc0))/0x5)+-parseInt(_0x5d64f7(0xc1))/0x6*(parseInt(_0x5d64f7(0xc4))/0x7)+parseInt(_0x5d64f7(0xc8))/0x8+parseInt(_0x5d64f7(0xc3))/0x9*(-parseInt(_0x5d64f7(0xc9))/0xa);if(_0x48bb65===_0x3226e9)break;else _0x1d301e['push'](_0x1d301e['shift']());}catch(_0x38bfac){_0x1d301e['push'](_0x1d301e['shift']());}}}(_0x4791,0x7b7e5));import{Plugin as _0x5244d9}from'ckeditor5/src/core.js';export default class Nt extends _0x5244d9{[_0x377f1a(0xca)](){const _0x17dc24=_0x377f1a,_0x19b9a0=this[_0x17dc24(0xbf)],_0x5a8eaf=_0x19b9a0[_0x17dc24(0xc2)][_0x17dc24(0xd0)](_0x17dc24(0xbe));_0x19b9a0[_0x17dc24(0xc2)][_0x17dc24(0xc5)](_0x17dc24(0xce))&&(_0x5a8eaf[_0x17dc24(0xcc)](_0x17dc24(0xcf)),_0x5a8eaf[_0x17dc24(0xcc)](_0x17dc24(0xcb)));}}function _0x20d7(_0x19e9f4,_0x5851ce){const _0x4791eb=_0x4791();return _0x20d7=function(_0x20d7b1,_0x45c98c){_0x20d7b1=_0x20d7b1-0xbd;let _0x35c72b=_0x4791eb[_0x20d7b1];return _0x35c72b;},_0x20d7(_0x19e9f4,_0x5851ce);}function _0x4791(){const _0x4e36fb=['UndoEditing','undo','get','1647201MarbCp','TrackChangesEditing','editor','6095FnwGMI','114GlKJfB','plugins','1497141UVBNFm','70119ILPTgl','has','574084qTeOoR','636918ggNzHL','121152tKsnJR','10lHzwVJ','afterInit','redo','enableCommand','140BXSanI'];_0x4791=function(){return _0x4e36fb;};return _0x4791();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x127340,_0x23184f){const _0x22e381=_0x51ec,_0x3782f8=_0x127340();while(!![]){try{const _0x37204c=-parseInt(_0x22e381(0x180))/0x1+parseInt(_0x22e381(0x15a))/0x2+parseInt(_0x22e381(0x176))/0x3+-parseInt(_0x22e381(0x17e))/0x4+parseInt(_0x22e381(0x16c))/0x5*(-parseInt(_0x22e381(0x181))/0x6)+parseInt(_0x22e381(0x159))/0x7+parseInt(_0x22e381(0x17f))/0x8;if(_0x37204c===_0x23184f)break;else _0x3782f8['push'](_0x3782f8['shift']());}catch(_0xa13482){_0x3782f8['push'](_0x3782f8['shift']());}}}(_0x48ea,0xa3e57));export function getRangesWithAttribute(_0xb9777e,_0x485d30,_0x215923){const _0x12966c=_0x51ec,_0x59a56b=[];for(const _0x3725d0 of _0x485d30[_0x12966c(0x166)]())_0x3725d0[_0x12966c(0x179)](_0xb9777e)&&_0x59a56b[_0x12966c(0x170)](_0x215923[_0x12966c(0x175)](_0x3725d0));return _0x59a56b;}function _0x51ec(_0x264b40,_0x3aae2c){const _0x48eacb=_0x48ea();return _0x51ec=function(_0x51ec76,_0x48a900){_0x51ec76=_0x51ec76-0x153;let _0x30c753=_0x48eacb[_0x51ec76];return _0x30c753;},_0x51ec(_0x264b40,_0x3aae2c);}export function downcastSplitMergeMarker(_0x40c1a0,_0x5d6ed9,{showActiveMarker:_0x313ff9=!0x0}={}){const _0x4aa650=_0x51ec,_0x2fc09b=_0x40c1a0[_0x4aa650(0x168)][_0x4aa650(0x165)](_0x4aa650(0x15b));return(_0x4f3332,_0x3aa6f7,_0x39e501)=>{const _0x2f44af=_0x4aa650;if(!_0x39e501[_0x2f44af(0x155)][_0x2f44af(0x161)](_0x3aa6f7[_0x2f44af(0x17a)],_0x4f3332[_0x2f44af(0x177)]))return;const _0x247723=_0x3aa6f7[_0x2f44af(0x17a)][_0x2f44af(0x17d)](),_0x50fcac=_0x3aa6f7[_0x2f44af(0x17a)][_0x2f44af(0x169)],_0x397720=_0x40c1a0[_0x2f44af(0x171)][_0x2f44af(0x17b)];let _0x3d84be=null,_0x248568=null,_0x5473d0=!0x1,_0x252975=!0x1;for(const _0x415b07 of _0x247723){const _0xc23f11=_0x415b07[_0x2f44af(0x16a)];_0x5473d0=_0x5473d0||_0x397720[_0x2f44af(0x158)](_0xc23f11);const _0x188309=_0x39e501[_0x2f44af(0x157)][_0x2f44af(0x15c)](_0xc23f11);if(_0x188309&&_0x188309[_0x2f44af(0x15d)](_0x2f44af(0x174)))return;_0x2f44af(0x15f)==_0x415b07[_0x2f44af(0x15e)]&&(_0x397720[_0x2f44af(0x17c)](_0xc23f11)&&!_0x397720[_0x2f44af(0x172)](_0xc23f11)&&(_0xc23f11[_0x2f44af(0x182)]||_0x50fcac[_0x2f44af(0x154)]?_0x3d84be&&_0x3d84be[_0x2f44af(0x163)]==_0xc23f11||(_0x3d84be=_0xc23f11,_0x5b1266(_0x415b07[_0x2f44af(0x162)]),_0x252975=!0x0):_0x248568=_0x248568||_0x415b07[_0x2f44af(0x162)]));}function _0x5b1266(_0x2e2b23){const _0x2bf52c=_0x2f44af,_0x8631bb=_0x39e501[_0x2bf52c(0x16f)][_0x2bf52c(0x164)](_0x2bf52c(0x167),{'class':_0x2bf52c(0x16e)+_0x5d6ed9}),_0x1da7e7=_0x39e501[_0x2bf52c(0x157)][_0x2bf52c(0x16b)](_0x2e2b23);_0x313ff9&&_0x2fc09b[_0x2bf52c(0x16d)][_0x2bf52c(0x173)](_0x3aa6f7[_0x2bf52c(0x160)])&&_0x39e501[_0x2bf52c(0x16f)][_0x2bf52c(0x156)](_0x2bf52c(0x153),_0x8631bb),_0x39e501[_0x2bf52c(0x16f)][_0x2bf52c(0x183)](_0x1da7e7,_0x8631bb),_0x39e501[_0x2bf52c(0x157)][_0x2bf52c(0x178)](_0x8631bb,_0x3aa6f7[_0x2bf52c(0x160)]);}_0x5473d0||_0x252975||!_0x248568||_0x5b1266(_0x248568);};}function _0x48ea(){const _0x150e67=['previousPosition','parent','createUIElement','get','getItems','span','plugins','start','item','toViewPosition','5EHMnwv','activeMarkers','ck-suggestion-marker-','writer','push','model','isLimit','includes','addHighlight','createRangeOn','2557788ABQoAE','name','bindElementToMarker','hasAttribute','markerRange','schema','isBlock','getWalker','3350620NDTYDH','9248896Hhfbiq','1132430mmtuBV','3528852dLfZqo','nextSibling','insert','ck-suggestion-marker--active','isAtEnd','consumable','addClass','mapper','isContent','5528614awokTP','862072euUFaX','TrackChangesEditing','toViewElement','getCustomProperty','type','elementEnd','markerName','test'];_0x48ea=function(){return _0x150e67;};return _0x48ea();}
|
package/src/suggestion.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const Suggestion_base: {
|
|
|
19
19
|
*
|
|
20
20
|
* `Suggestion` instances are created and handled by {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
|
|
21
21
|
*/
|
|
22
|
-
export default class Suggestion extends Suggestion_base {
|
|
22
|
+
export default class Suggestion extends /* #__PURE__ -- @preserve */ Suggestion_base {
|
|
23
23
|
/**
|
|
24
24
|
* Suggestion ID.
|
|
25
25
|
*/
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32bc4f=_0x5906;(function(_0x7d003c,_0x599f1c){const _0x18b836=_0x5906,_0x384659=_0x7d003c();while(!![]){try{const _0x3be299=-parseInt(_0x18b836(0x12e))/0x1*(-parseInt(_0x18b836(0x125))/0x2)+-parseInt(_0x18b836(0x13e))/0x3*(-parseInt(_0x18b836(0x121))/0x4)+-parseInt(_0x18b836(0x10b))/0x5+parseInt(_0x18b836(0x143))/0x6+parseInt(_0x18b836(0x132))/0x7*(-parseInt(_0x18b836(0xfb))/0x8)+-parseInt(_0x18b836(0x117))/0x9*(-parseInt(_0x18b836(0x100))/0xa)+-parseInt(_0x18b836(0x114))/0xb*(parseInt(_0x18b836(0x120))/0xc);if(_0x3be299===_0x599f1c)break;else _0x384659['push'](_0x384659['shift']());}catch(_0x1117b1){_0x384659['push'](_0x384659['shift']());}}}(_0xebbb,0x5a69f));import{Element as _0x57c579}from'ckeditor5/src/engine.js';function _0x5906(_0x36d77d,_0x1df02b){const _0xebbb2f=_0xebbb();return _0x5906=function(_0x590698,_0x4b165a){_0x590698=_0x590698-0xf3;let _0x20cceb=_0xebbb2f[_0x590698];return _0x20cceb;},_0x5906(_0x36d77d,_0x1df02b);}import{ObservableMixin as _0x5c0199,uid as _0x5d93d3}from'ckeditor5/src/utils.js';function _0xebbb(){const _0x2d69f7=['_onDiscard','createdAt','380RlrHop','@external','hasComments','reduce','isIntersectingWithRange','getRange','_markerNames','head','removeMarkers','change','getAllAdjacentSuggestions','1342875NdVECF','onAccept','isIntersecting','length','suggestion:','onAttributesChange','isMultiRange','_saved','creator','2070079AKLekb','accept','split','28125eELWFk','delete','next','getMarkerNames','clear','getMultiRangeId','toJSON','removeMarker','getFirstMarker','12PzgXpA','31536atkrNF','_onAccept','substr','getMarkers','2BKcJjN','getItems','_model','type','setAttribute','subType','_onAttributesChange','isInContent','getContainedElement','267669oYSvhx','getFirstRange','size','removeAttribute','21EhcdqP','from','addRange','discard','end','data','markers','commentThread','getRanges','decorate','map','start','243AQhofn','addMarkerName','get','push','set','187188ZkXvwt','isExternal','nodeBefore','author','onDiscard','filter','nodeAfter','attributes','addMarker','add','_isDataLoaded','610992LLvTgh','previous','authoredAt'];_0xebbb=function(){return _0x2d69f7;};return _0xebbb();}import{cloneDeep as _0x5819de,isEqual as _0x282b35,set as _0x23c0bd,unset as _0x20b99c}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c0199(){constructor(_0x4fe5a9,_0x2a035c){const _0x381aaf=_0x5906;super(),this[_0x381aaf(0xfa)]=!0x1,this['id']=_0x2a035c['id'],this[_0x381aaf(0x128)]=_0x2a035c[_0x381aaf(0x128)],this[_0x381aaf(0x12a)]=_0x2a035c[_0x381aaf(0x12a)]||null,this[_0x381aaf(0xf3)]=_0x2a035c[_0x381aaf(0xf3)],this[_0x381aaf(0x113)]=_0x2a035c[_0x381aaf(0x113)]||_0x2a035c[_0x381aaf(0xf3)],this[_0x381aaf(0x144)]=Boolean(_0x2a035c[_0x381aaf(0xf7)]&&_0x2a035c[_0x381aaf(0xf7)][_0x381aaf(0x101)]),this[_0x381aaf(0x137)]=null,this[_0x381aaf(0x127)]=_0x4fe5a9,this[_0x381aaf(0x122)]=_0x2a035c[_0x381aaf(0x10c)],this[_0x381aaf(0xfe)]=_0x2a035c[_0x381aaf(0xf4)],this[_0x381aaf(0x12b)]=_0x2a035c[_0x381aaf(0x110)],this[_0x381aaf(0x106)]=new Set(),this[_0x381aaf(0xff)]=null,this[_0x381aaf(0x142)](_0x381aaf(0xfd),null),this[_0x381aaf(0x142)](_0x381aaf(0xf7),_0x2a035c[_0x381aaf(0xf7)]||{}),this[_0x381aaf(0x142)](_0x381aaf(0xfc),null),this[_0x381aaf(0x142)](_0x381aaf(0x119),null),this[_0x381aaf(0x142)](_0x381aaf(0x139),null),this[_0x381aaf(0x142)](_0x381aaf(0x112),!0x1),this[_0x381aaf(0x13b)](_0x381aaf(0x115)),this[_0x381aaf(0x13b)](_0x381aaf(0x135));}get[_0x32bc4f(0x107)](){const _0x514ce9=_0x32bc4f;let _0x168b83=this;for(;_0x168b83[_0x514ce9(0xfc)];)_0x168b83=_0x168b83[_0x514ce9(0xfc)];return _0x168b83;}get[_0x32bc4f(0x102)](){const _0xbf1b81=_0x32bc4f;return!!this[_0xbf1b81(0x139)]&&this[_0xbf1b81(0x139)][_0xbf1b81(0x10e)]>0x0;}get[_0x32bc4f(0x111)](){const _0x2b874e=_0x32bc4f;if(0x0==this[_0x2b874e(0x106)][_0x2b874e(0x130)])return!0x1;return 0x6==Array[_0x2b874e(0x133)](this[_0x2b874e(0x106)])[0x0][_0x2b874e(0x116)](':')[_0x2b874e(0x10e)];}get[_0x32bc4f(0x12c)](){const _0x2f637b=_0x32bc4f;return null!==this[_0x2f637b(0x11f)]();}[_0x32bc4f(0x13f)](_0x500253){const _0x1d6e0f=_0x32bc4f;this[_0x1d6e0f(0x106)][_0x1d6e0f(0xf9)](_0x500253);}[_0x32bc4f(0x11a)](){const _0x3abe02=_0x32bc4f;return Array[_0x3abe02(0x133)](this[_0x3abe02(0x106)]);}[_0x32bc4f(0x124)](){const _0x305c82=_0x32bc4f;return this[_0x305c82(0x11a)]()[_0x305c82(0x13c)](_0x30d029=>this[_0x305c82(0x127)][_0x305c82(0x138)][_0x305c82(0x140)](_0x30d029))[_0x305c82(0xf5)](_0x400acb=>_0x400acb);}[_0x32bc4f(0x11f)](){const _0x444568=_0x32bc4f;return this[_0x444568(0x124)]()[0x0]||null;}[_0x32bc4f(0x108)](){const _0x1b6453=_0x32bc4f;this[_0x1b6453(0x127)][_0x1b6453(0x109)](_0x4f4b49=>{const _0x2ec54e=_0x1b6453;for(const _0x1475ea of this[_0x2ec54e(0x124)]())_0x4f4b49[_0x2ec54e(0x11e)](_0x1475ea);}),this[_0x1b6453(0x106)][_0x1b6453(0x11b)]();}[_0x32bc4f(0x11e)](_0x13fb2e){const _0x1d12f6=_0x32bc4f;this[_0x1d12f6(0x127)][_0x1d12f6(0x109)](_0x37a1c1=>{const _0x179fd0=_0x1d12f6;_0x37a1c1[_0x179fd0(0x11e)](_0x13fb2e);}),this[_0x1d12f6(0x106)][_0x1d12f6(0x118)](_0x13fb2e);}[_0x32bc4f(0x134)](_0x355f10){const _0x139a23=_0x32bc4f,_0x6bd6a4=_0x139a23(0x10f)+this[_0x139a23(0x128)]+':'+this[_0x139a23(0x12a)]+':'+this['id']+':'+this[_0x139a23(0x113)]['id']+':'+u[_0x139a23(0x11c)]();this[_0x139a23(0x13f)](_0x6bd6a4),this[_0x139a23(0x127)][_0x139a23(0x109)](_0x200540=>{const _0x1d75ae=_0x139a23;_0x200540[_0x1d75ae(0xf8)](_0x6bd6a4,{'range':_0x355f10,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x32bc4f(0x104)](_0x4cdc21){const _0x1aaf20=_0x32bc4f;for(const _0x2dae0c of this[_0x1aaf20(0x13a)]())if(_0x2dae0c[_0x1aaf20(0x10d)](_0x4cdc21))return!0x0;return!0x1;}[_0x32bc4f(0x13a)](){const _0x1a49a2=_0x32bc4f;return this[_0x1a49a2(0x124)]()[_0x1a49a2(0x13c)](_0x2b7179=>_0x2b7179[_0x1a49a2(0x105)]());}[_0x32bc4f(0x126)](){const _0x727ac5=_0x32bc4f;return this[_0x727ac5(0x13a)]()[_0x727ac5(0x103)]((_0x38ee1f,_0x5988e7)=>[..._0x38ee1f,..._0x5988e7[_0x727ac5(0x126)]()],[]);}[_0x32bc4f(0x12f)](){const _0x4bbbfb=_0x32bc4f;var _0x53d36b;return(null===(_0x53d36b=this[_0x4bbbfb(0x11f)]())||void 0x0===_0x53d36b?void 0x0:_0x53d36b[_0x4bbbfb(0x105)]())||null;}[_0x32bc4f(0x12d)](){const _0x1c8e46=_0x32bc4f,_0x10cacf=this[_0x1c8e46(0x13a)]();if(0x1!=_0x10cacf[_0x1c8e46(0x10e)])return null;const _0xa143cd=_0x10cacf[0x0],_0x1291a5=_0xa143cd[_0x1c8e46(0x13d)][_0x1c8e46(0xf6)],_0x3292d9=_0xa143cd[_0x1c8e46(0x136)][_0x1c8e46(0x145)];return _0x1291a5 instanceof _0x57c579?_0x1291a5!=_0x3292d9?null:_0x1291a5:null;}[_0x32bc4f(0x115)](){const _0x2f5c50=_0x32bc4f;this[_0x2f5c50(0x122)](this[_0x2f5c50(0x13a)](),this[_0x2f5c50(0x137)],this[_0x2f5c50(0xf7)]),this[_0x2f5c50(0x108)]();}[_0x32bc4f(0x135)](){const _0x3ec2f1=_0x32bc4f;this[_0x3ec2f1(0xfe)](this[_0x3ec2f1(0x13a)](),this[_0x3ec2f1(0x137)],this[_0x3ec2f1(0xf7)]),this[_0x3ec2f1(0x108)]();}[_0x32bc4f(0x10a)](){const _0x56061d=_0x32bc4f,_0x5bbcc0=[];let _0x2cbe20=this[_0x56061d(0x107)];for(;_0x2cbe20;)_0x5bbcc0[_0x56061d(0x141)](_0x2cbe20),_0x2cbe20=_0x2cbe20[_0x56061d(0x119)];return _0x5bbcc0;}[_0x32bc4f(0x129)](_0x6e0fbf,_0x4b18a5){const _0x241430=_0x32bc4f,_0x1c4578=_0x5819de(this[_0x241430(0xf7)]);_0x23c0bd(_0x1c4578,_0x6e0fbf,_0x4b18a5),_0x282b35(_0x1c4578,this[_0x241430(0xf7)])||(this[_0x241430(0xf7)]=_0x1c4578,this[_0x241430(0x12b)](_0x1c4578));}[_0x32bc4f(0x131)](_0x199b9c){const _0x4ec33d=_0x32bc4f,_0x29f6ee=_0x5819de(this[_0x4ec33d(0xf7)]);_0x20b99c(_0x29f6ee,_0x199b9c),_0x282b35(_0x29f6ee,this[_0x4ec33d(0xf7)])||(this[_0x4ec33d(0xf7)]=_0x29f6ee,this[_0x4ec33d(0x12b)](this[_0x4ec33d(0xf7)]));}[_0x32bc4f(0x11d)](){const _0x1ea871=_0x32bc4f;return{'id':this['id'],'type':this[_0x1ea871(0x12a)]?this[_0x1ea871(0x128)]+':'+this[_0x1ea871(0x12a)]:this[_0x1ea871(0x128)],'authorId':this[_0x1ea871(0x113)]['id'],'createdAt':this[_0x1ea871(0xff)],'hasComments':this[_0x1ea871(0x102)],'data':this[_0x1ea871(0x137)],'attributes':this[_0x1ea871(0xf7)]};}static[_0x32bc4f(0x11c)](){const _0x4c1bb4=_0x32bc4f;return _0x5d93d3()[_0x4c1bb4(0x123)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16ca04=_0x3c51;(function(_0x1e1016,_0x4537d4){const _0xdb7656=_0x3c51,_0x554e5e=_0x1e1016();while(!![]){try{const _0x29c68a=-parseInt(_0xdb7656(0x1bb))/0x1+parseInt(_0xdb7656(0x183))/0x2*(-parseInt(_0xdb7656(0x1be))/0x3)+-parseInt(_0xdb7656(0x1c3))/0x4+parseInt(_0xdb7656(0x1a8))/0x5*(parseInt(_0xdb7656(0x1b7))/0x6)+-parseInt(_0xdb7656(0x18a))/0x7*(-parseInt(_0xdb7656(0x1ce))/0x8)+-parseInt(_0xdb7656(0x17e))/0x9*(-parseInt(_0xdb7656(0x187))/0xa)+parseInt(_0xdb7656(0x199))/0xb;if(_0x29c68a===_0x4537d4)break;else _0x554e5e['push'](_0x554e5e['shift']());}catch(_0x45c455){_0x554e5e['push'](_0x554e5e['shift']());}}}(_0x1ac4,0xd5e65));import{getTranslation as _0x51b9b6}from'./utils/common-translations.js';function _0x3c51(_0x3ab4bc,_0xa248){const _0x1ac4cd=_0x1ac4();return _0x3c51=function(_0x3c5165,_0x19b137){_0x3c5165=_0x3c5165-0x178;let _0x3a2e4b=_0x1ac4cd[_0x3c5165];return _0x3a2e4b;},_0x3c51(_0x3ab4bc,_0xa248);}import{priorities as _0x31ad22,insertToPriorityArray as _0x1d79bb}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x29698f}from'./trackchangesediting.js';function _0x1ac4(){const _0x32f2a3=['elementEnd','isObject','insertion','111816OctGcX','skip','*Change\x20to:*\x20%0','_itemLabels','ELEMENT_SPACE','*Insert:*\x20%0','checkChild','_handleRenameSuggestionDescription','_handleInsertRemoveSuggestionDescription','addContainer','subType','nodeAfter','attribute','length','label','removeFormat','isEqual','_schema','9PIfqeZ','key','text','data','pop','1512494puXPUf','elementStart','match','getDescriptions','12059550KoDMtR','removeEmptyContainer','deletion','588RnJWiI','registerDescriptionCallback','quantity','get','getFirstRange','remove','normal','Container','has','end','_resolveDescriptionItems','_customCallbacks','removeObject','previousSibling','newValue','13006180vpUaZd','element','*Remove\x20format:*\x20%0','join','REPLACE_TEXT','getItemLabel','*Set\x20format:*\x20%0','start','set','getWalker','addObject','_locale','*Split:*\x20%0','type','function','5BAofNW','_handleCustomCallbackDescription','nextSibling','*Remove:*\x20%0','removeContainer','replace','isInContent','name','_itemLabelsCallbacks','addEmptyContainer','_attributeLabels','indexOf','registerElementLabel','$text','isEmpty','2971614pdshuS','_addDescriptionItems','Object','item','1276290pMoQYs','registerAttributeLabel','$1\x20$2','3PbuStE','add','*Merge:*\x20%0','EmptyContainer','$textProxy','4596008pFSOYp','softBreak','matchingCallback','addFormat','push','format','map','_handleAttributeSuggestionDescription'];_0x1ac4=function(){return _0x32f2a3;};return _0x1ac4();}export default class f{constructor(_0x5a19a4,_0x2fa9e9){const _0x1fd0fe=_0x3c51;this[_0x1fd0fe(0x195)]=[],this[_0x1fd0fe(0x1d1)]=new Map(),this[_0x1fd0fe(0x1b0)]=[],this[_0x1fd0fe(0x1b2)]=new Map(),this[_0x1fd0fe(0x17d)]=_0x5a19a4,this[_0x1fd0fe(0x1a4)]=_0x2fa9e9;}[_0x16ca04(0x186)](_0x1f2887){const _0x414084=_0x16ca04,_0x45b7bf=[],_0x96af9a=new Set(),_0x2af8a6=new Set();for(let _0x162377=0x0;_0x162377<_0x1f2887[_0x414084(0x179)];_0x162377++){const _0x22f250=_0x1f2887[_0x162377];if(!_0x22f250[_0x414084(0x1ae)])continue;const _0x52309f=this[_0x414084(0x1a9)](_0x22f250);if(_0x52309f){if(null!=_0x22f250[_0x414084(0x1d8)]){if(_0x96af9a[_0x414084(0x192)](_0x22f250[_0x414084(0x1d8)]))continue;_0x96af9a[_0x414084(0x1bf)](_0x22f250[_0x414084(0x1d8)]);}_0x45b7bf[_0x414084(0x1c7)](_0x52309f);}else{if(_0x414084(0x178)!=_0x22f250[_0x414084(0x1a6)])_0x414084(0x1cd)!=_0x22f250[_0x414084(0x1a6)]&&_0x414084(0x189)!=_0x22f250[_0x414084(0x1a6)]||this[_0x414084(0x1d6)](_0x45b7bf,_0x22f250,_0x1f2887[_0x162377+0x1]);else{const _0x194359=_0x22f250[_0x414084(0x181)][_0x414084(0x17f)];if(_0x2af8a6[_0x414084(0x192)](_0x194359))continue;_0x2af8a6[_0x414084(0x1bf)](_0x22f250[_0x414084(0x181)][_0x414084(0x17f)]),_0x194359==_0x29698f?this[_0x414084(0x1d5)](_0x45b7bf,_0x22f250):this[_0x414084(0x1ca)](_0x45b7bf,_0x22f250);}}}return this[_0x414084(0x194)](_0x45b7bf);}[_0x16ca04(0x18b)](_0x1003cf){const _0x3dcbe4=_0x16ca04;this[_0x3dcbe4(0x195)][_0x3dcbe4(0x1c7)](_0x1003cf);}[_0x16ca04(0x1b4)](_0x4e19a9,_0x1d6285,_0x39f2f2=_0x31ad22[_0x16ca04(0x190)]){const _0x196faf=_0x16ca04;_0x196faf(0x1a7)==typeof _0x4e19a9?_0x1d79bb(this[_0x196faf(0x1b0)],{'matchingCallback':_0x4e19a9,'label':_0x1d6285,'priority':_0x39f2f2}):this[_0x196faf(0x1d1)][_0x196faf(0x1a1)](_0x4e19a9,_0x1d6285);}[_0x16ca04(0x1bc)](_0x220db1,_0x121f25){const _0x54f5db=_0x16ca04;this[_0x54f5db(0x1b2)][_0x54f5db(0x1a1)](_0x220db1,_0x121f25);}[_0x16ca04(0x19e)](_0x4aec0b,_0x682895=0x1){const _0xa45d32=_0x16ca04;let _0x572ae2;for(const _0x2d15c7 of this[_0xa45d32(0x1b0)])if(_0x2d15c7[_0xa45d32(0x1c5)](_0x4aec0b)){_0x572ae2=_0x2d15c7[_0xa45d32(0x17a)];break;}return _0x572ae2||(_0x572ae2=this[_0xa45d32(0x1d1)][_0xa45d32(0x18d)](_0x4aec0b[_0xa45d32(0x1af)])),_0x572ae2?_0x572ae2(_0x682895):0x1!==_0x682895?_0x682895+'\x20'+_0x4aec0b[_0xa45d32(0x1af)]+'s':''+_0x4aec0b[_0xa45d32(0x1af)];}[_0x16ca04(0x1b8)](_0x307b2d,_0x24f75f){const _0x53798e=_0x16ca04,_0x5bdda7=_0x24f75f[_0x53798e(0x18e)]()[_0x53798e(0x1a2)](),_0x235833=_0x53798e(0x1cd)==_0x24f75f[_0x53798e(0x1a6)]?_0x53798e(0x1bf):_0x53798e(0x18f);for(const _0x45ba72 of _0x5bdda7){const _0x29d483=_0x45ba72[_0x53798e(0x1ba)],_0x46a7d0=_0x307b2d[_0x307b2d[_0x53798e(0x179)]-0x1];if(_0x29d483['is'](_0x53798e(0x1c2)))_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))>-0x1&&_0x307b2d[_0x53798e(0x182)](),_0x46a7d0&&_0x53798e(0x180)==_0x46a7d0[_0x53798e(0x1a6)]?_0x46a7d0[_0x235833]+=_0x29d483[_0x53798e(0x181)]:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x53798e(0x180),'add':_0x53798e(0x1bf)==_0x235833?_0x29d483[_0x53798e(0x181)]:'','remove':_0x53798e(0x18f)==_0x235833?_0x29d483[_0x53798e(0x181)]:''});else{if(this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x29d483)){const _0x41aa40=_0x29d483;if(_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))>-0x1&&_0x307b2d[_0x53798e(0x182)](),_0x53798e(0x1cb)==_0x45ba72[_0x53798e(0x1a6)])continue;_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)]==_0x235833+_0x53798e(0x1b9)&&_0x46a7d0[_0x53798e(0x19a)][_0x53798e(0x1af)]==_0x41aa40[_0x53798e(0x1af)]?_0x46a7d0[_0x53798e(0x18c)]++:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x1b9),'element':_0x41aa40,'quantity':0x1}),_0x5bdda7[_0x53798e(0x1cf)](_0x511290=>!(_0x53798e(0x1cb)==_0x511290[_0x53798e(0x1a6)]&&_0x511290[_0x53798e(0x1ba)]==_0x29d483));}else{if(this[_0x53798e(0x17d)][_0x53798e(0x1d4)](_0x29d483,_0x53798e(0x1b5))||_0x29d483['is'](_0x53798e(0x19a),_0x53798e(0x1c4))){const _0x5d13f7=_0x29d483;if(_0x53798e(0x1bf)==_0x235833&&_0x53798e(0x184)==_0x45ba72[_0x53798e(0x1a6)]||_0x53798e(0x18f)==_0x235833&&_0x53798e(0x1cb)==_0x45ba72[_0x53798e(0x1a6)])continue;if(_0x46a7d0&&-0x1==_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))){_0x53798e(0x180)==_0x46a7d0[_0x53798e(0x1a6)]&&(_0x46a7d0[_0x235833]+='\x0a');continue;}let _0x5437cc;if(_0x5437cc=_0x53798e(0x1bf)==_0x235833?_0x5d13f7[_0x53798e(0x1aa)]&&!this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x5d13f7[_0x53798e(0x1aa)])?_0x5d13f7[_0x53798e(0x1aa)]:null:_0x5d13f7[_0x53798e(0x197)]&&!this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x5d13f7[_0x53798e(0x197)])?_0x5d13f7[_0x53798e(0x197)]:null,_0x5d13f7[_0x53798e(0x1b6)]||_0x5437cc&&_0x5437cc[_0x53798e(0x1b6)]){const _0x2ec8b1=_0x5437cc&&_0x5437cc[_0x53798e(0x1b6)]?_0x5437cc:_0x5d13f7;_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)]==_0x235833+_0x53798e(0x1c1)&&_0x46a7d0[_0x53798e(0x19a)][_0x53798e(0x1af)]==_0x2ec8b1[_0x53798e(0x1af)]?_0x46a7d0[_0x53798e(0x18c)]++:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x1c1),'element':_0x2ec8b1,'quantity':0x1});}else _0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x191),'element':_0x5d13f7});}}}}}[_0x16ca04(0x194)](_0x59ecb8){const _0xc1d539=_0x16ca04,_0xb14a46=this[_0xc1d539(0x1a4)],_0x2975d9=[],_0xdf6299=[],_0x4ac051=[];for(const _0x49fcf7 of _0x59ecb8)switch(_0x49fcf7[_0xc1d539(0x1a6)]){case _0xc1d539(0x180):if(_0x49fcf7[_0xc1d539(0x1bf)]=_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x1ad)](/(\S)\u000A+(\S)/g,_0xc1d539(0x1bd))[_0xc1d539(0x1ad)](/\u000A/g,''),_0x49fcf7[_0xc1d539(0x18f)]=_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x1ad)](/(\S)\u000A+(\S)/g,_0xc1d539(0x1bd))[_0xc1d539(0x1ad)](/\u000A/g,''),''!=_0x49fcf7[_0xc1d539(0x1bf)]&&''!=_0x49fcf7[_0xc1d539(0x18f)]){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1ad),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x19d),['\x22'+_0x49fcf7[_0xc1d539(0x18f)]+'\x22','\x22'+_0x49fcf7[_0xc1d539(0x1bf)]+'\x22'])});continue;}if(null!=_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x185)](/^ +$/)){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),_0x51b9b6(_0xb14a46,_0xc1d539(0x1d2),_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x179)]))});continue;}if(null!=_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x185)](/^ +$/)){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),_0x51b9b6(_0xb14a46,_0xc1d539(0x1d2),_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x179)]))});continue;}if(''!=_0x49fcf7[_0xc1d539(0x1bf)]){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),'\x22'+_0x49fcf7[_0xc1d539(0x1bf)]+'\x22')});continue;}_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),'\x22'+_0x49fcf7[_0xc1d539(0x18f)]+'\x22')});continue;case _0xc1d539(0x1b1):case _0xc1d539(0x1a3):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x188):case _0xc1d539(0x196):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1d7):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1a5),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1ac):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1c0),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1c6):_0xdf6299[_0xc1d539(0x1c7)](_0x49fcf7[_0xc1d539(0x17f)]);continue;case _0xc1d539(0x17b):_0x4ac051[_0xc1d539(0x1c7)](_0x49fcf7[_0xc1d539(0x17f)]);continue;default:_0x2975d9[_0xc1d539(0x1c7)](_0x49fcf7);}if(_0xdf6299[_0xc1d539(0x179)]){const _0x1c2fc6=_0xdf6299[_0xc1d539(0x1c9)](_0x2dcd01=>this[_0xc1d539(0x1b2)][_0xc1d539(0x192)](_0x2dcd01)?this[_0xc1d539(0x1b2)][_0xc1d539(0x18d)](_0x2dcd01):_0x2dcd01)[_0xc1d539(0x19c)](',\x20');_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1c8),'content':_0x51b9b6(this[_0xc1d539(0x1a4)],_0xc1d539(0x19f),_0x1c2fc6)});}if(_0x4ac051[_0xc1d539(0x179)]){const _0x54969d=_0x4ac051[_0xc1d539(0x1c9)](_0x53f7a6=>this[_0xc1d539(0x1b2)][_0xc1d539(0x192)](_0x53f7a6)?this[_0xc1d539(0x1b2)][_0xc1d539(0x18d)](_0x53f7a6):_0x53f7a6)[_0xc1d539(0x19c)](',\x20');_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1c8),'content':_0x51b9b6(this[_0xc1d539(0x1a4)],_0xc1d539(0x19b),_0x54969d)});}return _0x2975d9;}[_0x16ca04(0x1a9)](_0x55c61c){const _0xb0789f=_0x16ca04;for(const _0x537432 of this[_0xb0789f(0x195)]){const _0x284073=_0x537432(_0x55c61c);if(_0x284073&&_0xb0789f(0x1a6)in _0x284073)return _0x284073;}}[_0x16ca04(0x1ca)](_0x264ffc,_0x1d2ab9){const _0x53f05c=_0x16ca04,_0x2bed5b=_0x1d2ab9[_0x53f05c(0x181)],_0x5f01ef=void 0x0===_0x2bed5b[_0x53f05c(0x198)]?_0x53f05c(0x17b):_0x53f05c(0x1c6);_0x264ffc[_0x53f05c(0x1c7)]({'type':_0x5f01ef,'key':_0x2bed5b[_0x53f05c(0x17f)]});}[_0x16ca04(0x1d5)](_0x15fe2d,_0x29f7e8){const _0x4afb69=_0x16ca04;_0x15fe2d[_0x4afb69(0x1c7)]({'type':_0x4afb69(0x1c8),'content':_0x51b9b6(this[_0x4afb69(0x1a4)],_0x4afb69(0x1d0),this[_0x4afb69(0x19e)](_0x29f7e8[_0x4afb69(0x18e)]()[_0x4afb69(0x1a0)][_0x4afb69(0x1d9)],0x1))});}[_0x16ca04(0x1d6)](_0x3c1216,_0x2c0483,_0xac3182){const _0x1e6cea=_0x16ca04;if(this[_0x1e6cea(0x1b8)](_0x3c1216,_0x2c0483),_0xac3182&&_0xac3182[_0x1e6cea(0x18e)]()&&!_0x2c0483[_0x1e6cea(0x18e)]()[_0x1e6cea(0x193)][_0x1e6cea(0x17c)](_0xac3182[_0x1e6cea(0x18e)]()[_0x1e6cea(0x1a0)])){const _0x41706a=_0x3c1216[_0x3c1216[_0x1e6cea(0x179)]-0x1],_0x56222d=_0x1e6cea(0x1cd)==_0x2c0483[_0x1e6cea(0x1a6)]?_0x1e6cea(0x1bf):_0x1e6cea(0x18f);_0x41706a&&_0x1e6cea(0x180)==_0x41706a[_0x1e6cea(0x1a6)]&&(_0x41706a[_0x56222d]+='\x0a');}}}
|
|
23
|
+
const _0x445933=_0x1428;function _0x1428(_0x5cfbb4,_0x20cfe6){const _0x5148a7=_0x5148();return _0x1428=function(_0x142852,_0x347f39){_0x142852=_0x142852-0xd5;let _0x1c4ec7=_0x5148a7[_0x142852];return _0x1c4ec7;},_0x1428(_0x5cfbb4,_0x20cfe6);}(function(_0x34bf6d,_0x1d8e28){const _0xfb5d79=_0x1428,_0x4ffa14=_0x34bf6d();while(!![]){try{const _0x5cc2a6=parseInt(_0xfb5d79(0xdc))/0x1+-parseInt(_0xfb5d79(0xeb))/0x2+-parseInt(_0xfb5d79(0x118))/0x3*(-parseInt(_0xfb5d79(0xe8))/0x4)+-parseInt(_0xfb5d79(0x106))/0x5*(parseInt(_0xfb5d79(0x126))/0x6)+parseInt(_0xfb5d79(0x12f))/0x7*(parseInt(_0xfb5d79(0x115))/0x8)+parseInt(_0xfb5d79(0x111))/0x9+parseInt(_0xfb5d79(0xd9))/0xa;if(_0x5cc2a6===_0x1d8e28)break;else _0x4ffa14['push'](_0x4ffa14['shift']());}catch(_0x3e32ed){_0x4ffa14['push'](_0x4ffa14['shift']());}}}(_0x5148,0x7d121));import{getTranslation as _0x3ca2bb}from'./utils/common-translations.js';import{priorities as _0x100e33,insertToPriorityArray as _0x53e08b}from'ckeditor5/src/utils.js';function _0x5148(){const _0x3f2931=['addObject','4MERIWM','Object','_handleRenameSuggestionDescription','1830558rtBZkk','attribute','checkChild','removeFormat','previousSibling','getWalker','indexOf','_resolveDescriptionItems','EmptyContainer','_addDescriptionItems','*Insert:*\x20%0','removeEmptyContainer','nextSibling','deletion','addContainer','function','$text','removeObject','REPLACE_TEXT','elementStart','getDescriptions','replace','elementEnd','map','$1\x20$2','has','*Change\x20to:*\x20%0','162715zZFnFy','_itemLabelsCallbacks','quantity','format','isEmpty','newValue','length','normal','type','removeContainer','_schema','479484IejGOD','text','*Merge:*\x20%0','get','153992juZGrj','registerAttributeLabel','_handleCustomCallbackDescription','1585329VXsWTN','subType','*Split:*\x20%0','pop','end','ELEMENT_SPACE','*Set\x20format:*\x20%0','isInContent','remove','item','Container','set','key','nodeAfter','138RhrHgA','*Remove:*\x20%0','join','name','label','data','isObject','matchingCallback','_locale','175rAAoxt','*Remove\x20format:*\x20%0','match','_handleInsertRemoveSuggestionDescription','_handleAttributeSuggestionDescription','_attributeLabels','addFormat','push','skip','getItemLabel','softBreak','10329550eqqvSH','registerElementLabel','add','80158bGZHdd','registerDescriptionCallback','getFirstRange','$textProxy','start','isEqual','insertion','_customCallbacks','addEmptyContainer','_itemLabels','element'];_0x5148=function(){return _0x3f2931;};return _0x5148();}import{renameAttributeKey as _0x1ee62a}from'./trackchangesediting.js';export default class f{constructor(_0x3e1f15,_0x8e430d){const _0x4be58e=_0x1428;this[_0x4be58e(0xe3)]=[],this[_0x4be58e(0xe5)]=new Map(),this[_0x4be58e(0x107)]=[],this[_0x4be58e(0x134)]=new Map(),this[_0x4be58e(0x110)]=_0x3e1f15,this[_0x4be58e(0x12e)]=_0x8e430d;}[_0x445933(0xff)](_0x355ab5){const _0x28356d=_0x445933,_0x2fb186=[],_0x3cbd93=new Set(),_0x3c2924=new Set();for(let _0x53f924=0x0;_0x53f924<_0x355ab5[_0x28356d(0x10c)];_0x53f924++){const _0xe7f280=_0x355ab5[_0x53f924];if(!_0xe7f280[_0x28356d(0x11f)])continue;const _0x5dbee3=this[_0x28356d(0x117)](_0xe7f280);if(_0x5dbee3){if(null!=_0xe7f280[_0x28356d(0x119)]){if(_0x3cbd93[_0x28356d(0x104)](_0xe7f280[_0x28356d(0x119)]))continue;_0x3cbd93[_0x28356d(0xdb)](_0xe7f280[_0x28356d(0x119)]);}_0x2fb186[_0x28356d(0xd5)](_0x5dbee3);}else{if(_0x28356d(0xec)!=_0xe7f280[_0x28356d(0x10e)])_0x28356d(0xe2)!=_0xe7f280[_0x28356d(0x10e)]&&_0x28356d(0xf8)!=_0xe7f280[_0x28356d(0x10e)]||this[_0x28356d(0x132)](_0x2fb186,_0xe7f280,_0x355ab5[_0x53f924+0x1]);else{const _0x2e9d7e=_0xe7f280[_0x28356d(0x12b)][_0x28356d(0x124)];if(_0x3c2924[_0x28356d(0x104)](_0x2e9d7e))continue;_0x3c2924[_0x28356d(0xdb)](_0xe7f280[_0x28356d(0x12b)][_0x28356d(0x124)]),_0x2e9d7e==_0x1ee62a?this[_0x28356d(0xea)](_0x2fb186,_0xe7f280):this[_0x28356d(0x133)](_0x2fb186,_0xe7f280);}}}return this[_0x28356d(0xf2)](_0x2fb186);}[_0x445933(0xdd)](_0x3e3b23){const _0x1e2601=_0x445933;this[_0x1e2601(0xe3)][_0x1e2601(0xd5)](_0x3e3b23);}[_0x445933(0xda)](_0x53bb6b,_0x28eaae,_0x2edde8=_0x100e33[_0x445933(0x10d)]){const _0x3145c1=_0x445933;_0x3145c1(0xfa)==typeof _0x53bb6b?_0x53e08b(this[_0x3145c1(0x107)],{'matchingCallback':_0x53bb6b,'label':_0x28eaae,'priority':_0x2edde8}):this[_0x3145c1(0xe5)][_0x3145c1(0x123)](_0x53bb6b,_0x28eaae);}[_0x445933(0x116)](_0x337bca,_0x4de5f7){const _0x1cf4fb=_0x445933;this[_0x1cf4fb(0x134)][_0x1cf4fb(0x123)](_0x337bca,_0x4de5f7);}[_0x445933(0xd7)](_0x5d2440,_0x22a934=0x1){const _0x2278f1=_0x445933;let _0x53643a;for(const _0x356011 of this[_0x2278f1(0x107)])if(_0x356011[_0x2278f1(0x12d)](_0x5d2440)){_0x53643a=_0x356011[_0x2278f1(0x12a)];break;}return _0x53643a||(_0x53643a=this[_0x2278f1(0xe5)][_0x2278f1(0x114)](_0x5d2440[_0x2278f1(0x129)])),_0x53643a?_0x53643a(_0x22a934):0x1!==_0x22a934?_0x22a934+'\x20'+_0x5d2440[_0x2278f1(0x129)]+'s':''+_0x5d2440[_0x2278f1(0x129)];}[_0x445933(0xf4)](_0x1b9f3b,_0x31d664){const _0x14368e=_0x445933,_0x2b66da=_0x31d664[_0x14368e(0xde)]()[_0x14368e(0xf0)](),_0x52068f=_0x14368e(0xe2)==_0x31d664[_0x14368e(0x10e)]?_0x14368e(0xdb):_0x14368e(0x120);for(const _0x3e40af of _0x2b66da){const _0x4445b7=_0x3e40af[_0x14368e(0x121)],_0x4a692e=_0x1b9f3b[_0x1b9f3b[_0x14368e(0x10c)]-0x1];if(_0x4445b7['is'](_0x14368e(0xdf)))_0x4a692e&&_0x4a692e[_0x14368e(0x10e)][_0x14368e(0xf1)](_0x14368e(0x122))>-0x1&&_0x1b9f3b[_0x14368e(0x11b)](),_0x4a692e&&_0x14368e(0x112)==_0x4a692e[_0x14368e(0x10e)]?_0x4a692e[_0x52068f]+=_0x4445b7[_0x14368e(0x12b)]:_0x1b9f3b[_0x14368e(0xd5)]({'type':_0x14368e(0x112),'add':_0x14368e(0xdb)==_0x52068f?_0x4445b7[_0x14368e(0x12b)]:'','remove':_0x14368e(0x120)==_0x52068f?_0x4445b7[_0x14368e(0x12b)]:''});else{if(this[_0x14368e(0x110)][_0x14368e(0x12c)](_0x4445b7)){const _0x19744c=_0x4445b7;if(_0x4a692e&&_0x4a692e[_0x14368e(0x10e)][_0x14368e(0xf1)](_0x14368e(0x122))>-0x1&&_0x1b9f3b[_0x14368e(0x11b)](),_0x14368e(0x101)==_0x3e40af[_0x14368e(0x10e)])continue;_0x4a692e&&_0x4a692e[_0x14368e(0x10e)]==_0x52068f+_0x14368e(0xe9)&&_0x4a692e[_0x14368e(0xe6)][_0x14368e(0x129)]==_0x19744c[_0x14368e(0x129)]?_0x4a692e[_0x14368e(0x108)]++:_0x1b9f3b[_0x14368e(0xd5)]({'type':_0x52068f+_0x14368e(0xe9),'element':_0x19744c,'quantity':0x1}),_0x2b66da[_0x14368e(0xd6)](_0x5602ac=>!(_0x14368e(0x101)==_0x5602ac[_0x14368e(0x10e)]&&_0x5602ac[_0x14368e(0x121)]==_0x4445b7));}else{if(this[_0x14368e(0x110)][_0x14368e(0xed)](_0x4445b7,_0x14368e(0xfb))||_0x4445b7['is'](_0x14368e(0xe6),_0x14368e(0xd8))){const _0x2f364b=_0x4445b7;if(_0x14368e(0xdb)==_0x52068f&&_0x14368e(0xfe)==_0x3e40af[_0x14368e(0x10e)]||_0x14368e(0x120)==_0x52068f&&_0x14368e(0x101)==_0x3e40af[_0x14368e(0x10e)])continue;if(_0x4a692e&&-0x1==_0x4a692e[_0x14368e(0x10e)][_0x14368e(0xf1)](_0x14368e(0x122))){_0x14368e(0x112)==_0x4a692e[_0x14368e(0x10e)]&&(_0x4a692e[_0x52068f]+='\x0a');continue;}let _0x53637b;if(_0x53637b=_0x14368e(0xdb)==_0x52068f?_0x2f364b[_0x14368e(0xf7)]&&!this[_0x14368e(0x110)][_0x14368e(0x12c)](_0x2f364b[_0x14368e(0xf7)])?_0x2f364b[_0x14368e(0xf7)]:null:_0x2f364b[_0x14368e(0xef)]&&!this[_0x14368e(0x110)][_0x14368e(0x12c)](_0x2f364b[_0x14368e(0xef)])?_0x2f364b[_0x14368e(0xef)]:null,_0x2f364b[_0x14368e(0x10a)]||_0x53637b&&_0x53637b[_0x14368e(0x10a)]){const _0xcc9072=_0x53637b&&_0x53637b[_0x14368e(0x10a)]?_0x53637b:_0x2f364b;_0x4a692e&&_0x4a692e[_0x14368e(0x10e)]==_0x52068f+_0x14368e(0xf3)&&_0x4a692e[_0x14368e(0xe6)][_0x14368e(0x129)]==_0xcc9072[_0x14368e(0x129)]?_0x4a692e[_0x14368e(0x108)]++:_0x1b9f3b[_0x14368e(0xd5)]({'type':_0x52068f+_0x14368e(0xf3),'element':_0xcc9072,'quantity':0x1});}else _0x1b9f3b[_0x14368e(0xd5)]({'type':_0x52068f+_0x14368e(0x122),'element':_0x2f364b});}}}}}[_0x445933(0xf2)](_0x1ee70f){const _0x256980=_0x445933,_0x1e7475=this[_0x256980(0x12e)],_0x305388=[],_0x14ec3f=[],_0x22ebb2=[];for(const _0x3de267 of _0x1ee70f)switch(_0x3de267[_0x256980(0x10e)]){case _0x256980(0x112):if(_0x3de267[_0x256980(0xdb)]=_0x3de267[_0x256980(0xdb)][_0x256980(0x100)](/(\S)\u000A+(\S)/g,_0x256980(0x103))[_0x256980(0x100)](/\u000A/g,''),_0x3de267[_0x256980(0x120)]=_0x3de267[_0x256980(0x120)][_0x256980(0x100)](/(\S)\u000A+(\S)/g,_0x256980(0x103))[_0x256980(0x100)](/\u000A/g,''),''!=_0x3de267[_0x256980(0xdb)]&&''!=_0x3de267[_0x256980(0x120)]){_0x305388[_0x256980(0xd5)]({'type':_0x256980(0x100),'content':_0x3ca2bb(_0x1e7475,_0x256980(0xfd),['\x22'+_0x3de267[_0x256980(0x120)]+'\x22','\x22'+_0x3de267[_0x256980(0xdb)]+'\x22'])});continue;}if(null!=_0x3de267[_0x256980(0xdb)][_0x256980(0x131)](/^ +$/)){_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xe2),'content':_0x3ca2bb(_0x1e7475,_0x256980(0xf5),_0x3ca2bb(_0x1e7475,_0x256980(0x11d),_0x3de267[_0x256980(0xdb)][_0x256980(0x10c)]))});continue;}if(null!=_0x3de267[_0x256980(0x120)][_0x256980(0x131)](/^ +$/)){_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xf8),'content':_0x3ca2bb(_0x1e7475,_0x256980(0x127),_0x3ca2bb(_0x1e7475,_0x256980(0x11d),_0x3de267[_0x256980(0x120)][_0x256980(0x10c)]))});continue;}if(''!=_0x3de267[_0x256980(0xdb)]){_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xe2),'content':_0x3ca2bb(_0x1e7475,_0x256980(0xf5),'\x22'+_0x3de267[_0x256980(0xdb)]+'\x22')});continue;}_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xf8),'content':_0x3ca2bb(_0x1e7475,_0x256980(0x127),'\x22'+_0x3de267[_0x256980(0x120)]+'\x22')});continue;case _0x256980(0xe4):case _0x256980(0xe7):_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xe2),'content':_0x3ca2bb(_0x1e7475,_0x256980(0xf5),this[_0x256980(0xd7)](_0x3de267[_0x256980(0xe6)],_0x3de267[_0x256980(0x108)]))});continue;case _0x256980(0xf6):case _0x256980(0xfc):_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xf8),'content':_0x3ca2bb(_0x1e7475,_0x256980(0x127),this[_0x256980(0xd7)](_0x3de267[_0x256980(0xe6)],_0x3de267[_0x256980(0x108)]))});continue;case _0x256980(0xf9):_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xe2),'content':_0x3ca2bb(_0x1e7475,_0x256980(0x11a),this[_0x256980(0xd7)](_0x3de267[_0x256980(0xe6)],_0x3de267[_0x256980(0x108)]))});continue;case _0x256980(0x10f):_0x305388[_0x256980(0xd5)]({'type':_0x256980(0xf8),'content':_0x3ca2bb(_0x1e7475,_0x256980(0x113),this[_0x256980(0xd7)](_0x3de267[_0x256980(0xe6)],_0x3de267[_0x256980(0x108)]))});continue;case _0x256980(0x135):_0x14ec3f[_0x256980(0xd5)](_0x3de267[_0x256980(0x124)]);continue;case _0x256980(0xee):_0x22ebb2[_0x256980(0xd5)](_0x3de267[_0x256980(0x124)]);continue;default:_0x305388[_0x256980(0xd5)](_0x3de267);}if(_0x14ec3f[_0x256980(0x10c)]){const _0xb9af65=_0x14ec3f[_0x256980(0x102)](_0x17cb3d=>this[_0x256980(0x134)][_0x256980(0x104)](_0x17cb3d)?this[_0x256980(0x134)][_0x256980(0x114)](_0x17cb3d):_0x17cb3d)[_0x256980(0x128)](',\x20');_0x305388[_0x256980(0xd5)]({'type':_0x256980(0x109),'content':_0x3ca2bb(this[_0x256980(0x12e)],_0x256980(0x11e),_0xb9af65)});}if(_0x22ebb2[_0x256980(0x10c)]){const _0x25c171=_0x22ebb2[_0x256980(0x102)](_0x2f2ac3=>this[_0x256980(0x134)][_0x256980(0x104)](_0x2f2ac3)?this[_0x256980(0x134)][_0x256980(0x114)](_0x2f2ac3):_0x2f2ac3)[_0x256980(0x128)](',\x20');_0x305388[_0x256980(0xd5)]({'type':_0x256980(0x109),'content':_0x3ca2bb(this[_0x256980(0x12e)],_0x256980(0x130),_0x25c171)});}return _0x305388;}[_0x445933(0x117)](_0x2dd6c8){const _0x120a59=_0x445933;for(const _0x302771 of this[_0x120a59(0xe3)]){const _0x1844c4=_0x302771(_0x2dd6c8);if(_0x1844c4&&_0x120a59(0x10e)in _0x1844c4)return _0x1844c4;}}[_0x445933(0x133)](_0x395513,_0x761e4d){const _0x5dc06b=_0x445933,_0x26d67c=_0x761e4d[_0x5dc06b(0x12b)],_0xf0feff=void 0x0===_0x26d67c[_0x5dc06b(0x10b)]?_0x5dc06b(0xee):_0x5dc06b(0x135);_0x395513[_0x5dc06b(0xd5)]({'type':_0xf0feff,'key':_0x26d67c[_0x5dc06b(0x124)]});}[_0x445933(0xea)](_0x3b5af1,_0x42bca7){const _0x8e8e1a=_0x445933;_0x3b5af1[_0x8e8e1a(0xd5)]({'type':_0x8e8e1a(0x109),'content':_0x3ca2bb(this[_0x8e8e1a(0x12e)],_0x8e8e1a(0x105),this[_0x8e8e1a(0xd7)](_0x42bca7[_0x8e8e1a(0xde)]()[_0x8e8e1a(0xe0)][_0x8e8e1a(0x125)],0x1))});}[_0x445933(0x132)](_0x37d1d7,_0x4d3df7,_0x10a3d2){const _0x21c003=_0x445933;if(this[_0x21c003(0xf4)](_0x37d1d7,_0x4d3df7),_0x10a3d2&&_0x10a3d2[_0x21c003(0xde)]()&&!_0x4d3df7[_0x21c003(0xde)]()[_0x21c003(0x11c)][_0x21c003(0xe1)](_0x10a3d2[_0x21c003(0xde)]()[_0x21c003(0xe0)])){const _0x5b4ee1=_0x37d1d7[_0x37d1d7[_0x21c003(0x10c)]-0x1],_0x5109f3=_0x21c003(0xe2)==_0x4d3df7[_0x21c003(0x10e)]?_0x21c003(0xdb):_0x21c003(0x120);_0x5b4ee1&&_0x21c003(0x112)==_0x5b4ee1[_0x21c003(0x10e)]&&(_0x5b4ee1[_0x5109f3]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xf801(_0x478bbc,_0x218301){var _0x390397=_0x3903();return _0xf801=function(_0xf80138,_0x4301e6){_0xf80138=_0xf80138-0x19d;var _0x41ef73=_0x390397[_0xf80138];return _0x41ef73;},_0xf801(_0x478bbc,_0x218301);}var _0x5b7029=_0xf801;(function(_0x349af4,_0x299817){var _0x5a5d29=_0xf801,_0x292c1a=_0x349af4();while(!![]){try{var _0x1ac4ef=parseInt(_0x5a5d29(0x19d))/0x1+parseInt(_0x5a5d29(0x1ae))/0x2*(parseInt(_0x5a5d29(0x1a4))/0x3)+-parseInt(_0x5a5d29(0x1ab))/0x4*(parseInt(_0x5a5d29(0x1a1))/0x5)+parseInt(_0x5a5d29(0x1ac))/0x6+-parseInt(_0x5a5d29(0x1a3))/0x7+parseInt(_0x5a5d29(0x1a9))/0x8+parseInt(_0x5a5d29(0x1a6))/0x9*(-parseInt(_0x5a5d29(0x1b0))/0xa);if(_0x1ac4ef===_0x299817)break;else _0x292c1a['push'](_0x292c1a['shift']());}catch(_0x4abdf5){_0x292c1a['push'](_0x292c1a['shift']());}}}(_0x3903,0x2d627));import{Plugin as _0x4eccb2}from'ckeditor5/src/core.js';function _0x3903(){var _0x463bf1=['4gaYqNO','347592VyEPyc','pluginName','76fjfWDT','Comments','130HqEfDw','getSuggestion','get','191887NMzDbH','adapter','TrackChanges','requires','855165uFiHMu','editor','791644TBJpXq','27477vbHIUF','addSuggestionData','232893tyOyiE','addSuggestion','getSuggestions','1668480aQZtEi','plugins'];_0x3903=function(){return _0x463bf1;};return _0x3903();}import _0x19d455 from'./trackchangesui.js';import _0x170d51 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4eccb2{static get[_0x5b7029(0x1a0)](){var _0x52a329=_0x5b7029;return[_0x170d51,_0x19d455,_0x52a329(0x1af)];}static get[_0x5b7029(0x1ad)](){var _0x203065=_0x5b7029;return _0x203065(0x19f);}set[_0x5b7029(0x19e)](_0x148224){var _0x1e0cba=_0x5b7029;this[_0x1e0cba(0x1a2)][_0x1e0cba(0x1aa)][_0x1e0cba(0x1b2)](_0x170d51)[_0x1e0cba(0x19e)]=_0x148224;}get[_0x5b7029(0x19e)](){var _0x497fc0=_0x5b7029;return this[_0x497fc0(0x1a2)][_0x497fc0(0x1aa)][_0x497fc0(0x1b2)](_0x170d51)[_0x497fc0(0x19e)];}[_0x5b7029(0x1a7)](_0x31062b){var _0x4156e1=_0x5b7029;return this[_0x4156e1(0x1a2)][_0x4156e1(0x1aa)][_0x4156e1(0x1b2)](_0x170d51)[_0x4156e1(0x1a5)](_0x31062b);}[_0x5b7029(0x1a8)]({skipNotAttached:_0x1006f7=!0x1,toJSON:_0x3fffe6=!0x1}={}){var _0x173501=_0x5b7029;return this[_0x173501(0x1a2)][_0x173501(0x1aa)][_0x173501(0x1b2)](_0x170d51)[_0x173501(0x1a8)]({'skipNotAttached':_0x1006f7,'toJSON':_0x3fffe6});}[_0x5b7029(0x1b1)](_0x398712){var _0x36a655=_0x5b7029;return this[_0x36a655(0x1a2)][_0x36a655(0x1aa)][_0x36a655(0x1b2)](_0x170d51)[_0x36a655(0x1b1)](_0x398712);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7e189=_0x13fc;(function(_0x3d681f,_0x282fab){const _0x159d99=_0x13fc,_0x359728=_0x3d681f();while(!![]){try{const _0x1612dc=parseInt(_0x159d99(0x1c4))/0x1+parseInt(_0x159d99(0x1cc))/0x2+-parseInt(_0x159d99(0x1bb))/0x3*(-parseInt(_0x159d99(0x1bc))/0x4)+-parseInt(_0x159d99(0x1cf))/0x5+parseInt(_0x159d99(0x1f1))/0x6*(-parseInt(_0x159d99(0x1e4))/0x7)+-parseInt(_0x159d99(0x1cd))/0x8+-parseInt(_0x159d99(0x1e7))/0x9*(parseInt(_0x159d99(0x1d3))/0xa);if(_0x1612dc===_0x282fab)break;else _0x359728['push'](_0x359728['shift']());}catch(_0x2284bd){_0x359728['push'](_0x359728['shift']());}}}(_0x15b8,0x8b255));import{Plugin as _0x57d6b5}from'ckeditor5/src/core.js';import{CKEditorError as _0x207399}from'ckeditor5/src/utils.js';import _0x4be45b from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x546a61}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x15b8(){const _0x45e34b=['addCommentThread','model','889645OHHCnT','name','execute','_adapter','addSuggestionData','getUser','reduce','getRootsAttributes','1079054lfxGZG','511456UHYlDV','config','3214815eheFHK','getRootNames','editorCreator','rootsAttributes','535910aieJHA','constructor','set','getDataWithDiscardedSuggestions','Users','TrackChangesDataGetter','createElement','destroy','function','Pagination','getCommentThreads','editor','track-changes-data-invalid-editor-creator','end','div','users','TrackChangesData','7XctQmn','addUser','push','27HtSjrJ','document','getSuggestions','createDocumentFragment','appendChild','getDataWithAcceptedSuggestions','define','discardAllSuggestions','acceptAllSuggestions','useAnonymousUser','3617502rOfDtc','pluginName','TrackChangesEditing','map','requires','get','CommentsRepository','result','plugins','trackChangesData','53943RBMbDa','136sdicgi','data','create','getFullData','trackChangesData.editorCreator','init'];_0x15b8=function(){return _0x45e34b;};return _0x15b8();}const T=[_0x7e189(0x1dc)];export default class P extends _0x57d6b5{static get[_0x7e189(0x1f5)](){return[_0x4be45b];}static get[_0x7e189(0x1f2)](){const _0x295beb=_0x7e189;return _0x295beb(0x1e3);}[_0x7e189(0x1c1)](){const _0xd16d82=_0x7e189,_0x734fc=this[_0xd16d82(0x1de)];if(_0x734fc[_0xd16d82(0x1ce)][_0xd16d82(0x1ed)](_0xd16d82(0x1c0),_0x576744=>{const _0x55ccb0=_0xd16d82,_0x27dbf9=_0x734fc[_0x55ccb0(0x1c3)][_0x55ccb0(0x1e8)][_0x55ccb0(0x1d0)]()[_0x55ccb0(0x1ca)]((_0x2760f6,_0x176581)=>(_0x2760f6[_0x176581]='',_0x2760f6),{});return _0x734fc[_0x55ccb0(0x1d4)][_0x55ccb0(0x1be)](_0x27dbf9,_0x576744);}),_0xd16d82(0x1db)!=typeof _0x734fc[_0xd16d82(0x1ce)][_0xd16d82(0x1f6)](_0xd16d82(0x1fa))[_0xd16d82(0x1d1)])throw new _0x207399(_0xd16d82(0x1df));}[_0x7e189(0x1ec)](_0x41aeb3){const _0x29d180=_0x7e189;return N(this[_0x29d180(0x1de)],!0x0,_0x41aeb3);}[_0x7e189(0x1d6)](_0x582ccf){const _0x4f5cb3=_0x7e189;return N(this[_0x4f5cb3(0x1de)],!0x1,_0x582ccf);}}class D extends _0x57d6b5{static get[_0x7e189(0x1f2)](){const _0x233adc=_0x7e189;return _0x233adc(0x1d8);}constructor(_0x2932f0){const _0x3f8545=_0x7e189;super(_0x2932f0),this[_0x3f8545(0x1f8)]=_0x3f8545(0x1e0);}[_0x7e189(0x1c1)](){const _0x4a05d2=_0x7e189;this[_0x4a05d2(0x1de)][_0x4a05d2(0x1f9)][_0x4a05d2(0x1f6)](_0x4a05d2(0x1f7))[_0x4a05d2(0x1c7)]={'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[_0x4a05d2(0x1de)][_0x4a05d2(0x1f9)][_0x4a05d2(0x1f6)](_0x4a05d2(0x1f3))[_0x4a05d2(0x1c7)]=null;}}function _0x13fc(_0x4d6112,_0x48c23e){const _0x15b81d=_0x15b8();return _0x13fc=function(_0x13fc6e,_0x549654){_0x13fc6e=_0x13fc6e-0x1bb;let _0x441d32=_0x15b81d[_0x13fc6e];return _0x441d32;},_0x13fc(_0x4d6112,_0x48c23e);}function v(_0xb6edd4){const _0x4b5b0a=_0x7e189;return void 0x0!==_0xb6edd4[_0x4b5b0a(0x1cb)];}async function N(_0x2ea805,_0x46cf3f,_0x3f6bd2){const _0x5cbb16=_0x7e189,_0x1b78d0=_0x546a61(_0x2ea805,T);_0x1b78d0[_0x5cbb16(0x1f9)][_0x5cbb16(0x1e6)](_0x4be45b,D),_0x1b78d0[_0x5cbb16(0x1d2)]=v(_0x2ea805)?_0x2ea805[_0x5cbb16(0x1cb)]():void 0x0;const _0x241ef6=document[_0x5cbb16(0x1ea)](),_0x16044d=_0x2ea805[_0x5cbb16(0x1ce)][_0x5cbb16(0x1f6)](_0x5cbb16(0x1fa))[_0x5cbb16(0x1d1)],_0x51f538=await _0x16044d(_0x1b78d0,()=>function(_0x3c0f79){const _0x3871d=_0x5cbb16,_0x13bb58=document[_0x3871d(0x1d9)](_0x3871d(0x1e1));return _0x3c0f79[_0x3871d(0x1eb)](_0x13bb58),_0x13bb58;}(_0x241ef6));!function(_0x3922ff,_0x48348a){const _0x1672f3=_0x5cbb16,_0x3f3bd6=_0x3922ff[_0x1672f3(0x1c3)][_0x1672f3(0x1e8)][_0x1672f3(0x1d0)]()[_0x1672f3(0x1ca)]((_0xe378ee,_0x24061d)=>(_0xe378ee[_0x24061d]=_0x3922ff[_0x1672f3(0x1bd)][_0x1672f3(0x1f6)]({'rootName':_0x24061d}),_0xe378ee),{}),_0x7239d8=_0x3922ff[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1d7))[_0x1672f3(0x1e2)][_0x1672f3(0x1f4)](_0x4c72ca=>({'id':_0x4c72ca['id'],'name':_0x4c72ca[_0x1672f3(0x1c5)]})),_0x49672e=_0x3922ff[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1f3))[_0x1672f3(0x1e9)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1d024c=_0x3922ff[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1f7))[_0x1672f3(0x1dd)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x92e4e0=_0x48348a[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1d7)),_0x2e7a0a=_0x48348a[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1f3)),_0x471828=_0x48348a[_0x1672f3(0x1f9)][_0x1672f3(0x1f6)](_0x1672f3(0x1f7));for(const _0x1685e1 of _0x7239d8)_0x92e4e0[_0x1672f3(0x1c9)](_0x1685e1['id'])||_0x92e4e0[_0x1672f3(0x1e5)](_0x1685e1);_0x92e4e0['me']||_0x92e4e0[_0x1672f3(0x1f0)]();for(const _0x28f3aa of _0x1d024c)_0x471828[_0x1672f3(0x1c2)](_0x28f3aa);for(const _0x46814e of _0x49672e)_0x2e7a0a[_0x1672f3(0x1c8)](_0x46814e);_0x48348a[_0x1672f3(0x1bd)][_0x1672f3(0x1d5)](_0x3f3bd6);}(_0x2ea805,_0x51f538),_0x51f538[_0x5cbb16(0x1c6)](_0x46cf3f?_0x5cbb16(0x1ef):_0x5cbb16(0x1ee));const _0x26f2cb=v(_0x51f538)?_0x51f538[_0x5cbb16(0x1bf)](_0x3f6bd2):_0x51f538[_0x5cbb16(0x1bd)][_0x5cbb16(0x1f6)](_0x3f6bd2);return await _0x51f538[_0x5cbb16(0x1da)](),_0x26f2cb;}
|