@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240624.0 → 0.0.0-nightly-20240625.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/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x455348=_0x3350;(function(_0x215c65,_0x12129f){const _0x3d328f=_0x3350,_0x23ef99=_0x215c65();while(!![]){try{const _0x53e371=-parseInt(_0x3d328f(0xc5))/0x1*(-parseInt(_0x3d328f(0xe5))/0x2)+parseInt(_0x3d328f(0xc9))/0x3*(-parseInt(_0x3d328f(0xeb))/0x4)+parseInt(_0x3d328f(0xb8))/0x5*(parseInt(_0x3d328f(0xdf))/0x6)+parseInt(_0x3d328f(0xb2))/0x7*(parseInt(_0x3d328f(0xa4))/0x8)+parseInt(_0x3d328f(0xe2))/0x9*(-parseInt(_0x3d328f(0xd9))/0xa)+-parseInt(_0x3d328f(0xea))/0xb*(parseInt(_0x3d328f(0x9c))/0xc)+-parseInt(_0x3d328f(0xc4))/0xd;if(_0x53e371===_0x12129f)break;else _0x23ef99['push'](_0x23ef99['shift']());}catch(_0x3018e3){_0x23ef99['push'](_0x23ef99['shift']());}}}(_0xd1e3,0xd09f3));import{Plugin as _0x2cd2ca}from'ckeditor5/src/core.js';import _0x142359 from'./table.js';import{LiveRange as _0x437a8c}from'ckeditor5/src/engine.js';function _0x3350(_0x375186,_0x388984){const _0xd1e308=_0xd1e3();return _0x3350=function(_0x335093,_0x132306){_0x335093=_0x335093-0x93;let _0x645bb9=_0xd1e308[_0x335093];return _0x645bb9;},_0x3350(_0x375186,_0x388984);}import{getTranslation as _0x3726d9}from'../utils/common-translations.js';function _0xd1e3(){const _0x42f6a5=['7166094nMZaJJ','1511185XVndfQ','$graveyard','*Split\x20cell:*\x20horizontally','author','203961aUoRDL','element','TableEditing','registerCustomCallback','horizontally','stop','add','isEnabled','findAncestor','mergeTableCellDown','change','insertion','getSuggestions','map','length','getSelectionAffectedTableCells','50eSlLvt','_isForcedDefaultExecutionBlock','table','push','root','highest','7472394LdIxNc','setSelection','_areMergableCells','1376847ZJIKGT','markMultiRangeBlockFormat','getFirstPosition','2Hpvhje','size','*Split\x20cell:*\x20vertically','containsRange','registerDescriptionCallback','4638766warbMx','8ZHVHKG','createTableWalker','format','accept','set:isEnabled','*Merge\x20cells*','locale','descriptionFactory','_acceptFormatSuggestionCallbackFactory','execute','commandName','enableCommand','fromRange','mergeTableCellUp','document','editor','getRanges','commands','getCellLocation','refresh','has','forceDefaultExecution','_suggestionFactory','48TusyUu','mergeTableCells','subType','markBlockFormat','deletion','trackChanges','selection','filter','3298352bRvbha','direction','TrackChangesEditing','TableUtils','splitTableCellVertically','cell','detach','formatInline','createRangeOn','find','_areSelectedCellsMergable','value','formatBlock','plugins','21zqmlkM','low','getAncestors','from','_tablePostFixingSubtypes','mergeTableCellLeft','5gbGnMO','type','mergeTableCellRight','splitTableCellHorizontally','rootName','get','model','requires','tableCell','afterInit','isInContent','return'];_0xd1e3=function(){return _0x42f6a5;};return _0xd1e3();}export default class St extends _0x2cd2ca{static get[_0x455348(0xbf)](){return[_0x142359];}[_0x455348(0xc1)](){const _0x2e9f5b=_0x455348,_0xdcc4db=this[_0x2e9f5b(0x94)],_0x18e93=_0xdcc4db[_0x2e9f5b(0xbe)][_0x2e9f5b(0x93)][_0x2e9f5b(0xa2)],_0x1b0685=_0xdcc4db[_0x2e9f5b(0xf1)];if(!_0xdcc4db[_0x2e9f5b(0xb1)][_0x2e9f5b(0x99)](_0x2e9f5b(0xcb)))return;const _0x30f858=_0xdcc4db[_0x2e9f5b(0xb1)][_0x2e9f5b(0xbd)](_0x2e9f5b(0xa6)),_0x54a302=_0xdcc4db[_0x2e9f5b(0xb1)][_0x2e9f5b(0xbd)](_0x2e9f5b(0xa7)),_0x3ade2f=_0xdcc4db[_0x2e9f5b(0xb1)][_0x2e9f5b(0xbd)](_0x142359);_0x3ade2f[_0x2e9f5b(0xb6)][_0x2e9f5b(0xdc)](_0x2e9f5b(0x9d)),_0x30f858[_0x2e9f5b(0xf6)](_0x2e9f5b(0x9d),()=>{const _0x39c514=_0x2e9f5b,_0xa4044b=_0x54a302[_0x39c514(0xd8)](_0xdcc4db[_0x39c514(0xbe)][_0x39c514(0x93)][_0x39c514(0xa2)]);_0xdcc4db[_0x39c514(0xbe)][_0x39c514(0xd3)](()=>{const _0x334c1f=_0x39c514;_0x30f858[_0x334c1f(0xe3)](_0xa4044b,{'commandName':_0x334c1f(0x9d),'commandParams':[]},[],_0x334c1f(0x9d));});}),_0xdcc4db[_0x2e9f5b(0x96)][_0x2e9f5b(0xbd)](_0x2e9f5b(0x9d))['on'](_0x2e9f5b(0xf4),(_0x3feb8d,_0x187781)=>{const _0x3a9526=_0x2e9f5b;_0xdcc4db[_0x3a9526(0x96)][_0x3a9526(0xbd)](_0x3a9526(0xa1))[_0x3a9526(0xaf)]&&(_0x187781[_0x3a9526(0xd7)]>0x0&&_0x187781[_0x187781[_0x3a9526(0xd7)]-0x1]&&_0x187781[_0x187781[_0x3a9526(0xd7)]-0x1][_0x3a9526(0x9a)]||_0x30f858[_0x3a9526(0xda)]||this[_0x3a9526(0xae)]()||_0x3feb8d[_0x3a9526(0xce)]());},{'priority':_0x2e9f5b(0xde)});for(const _0x264702 of[_0x2e9f5b(0xf8),_0x2e9f5b(0xba),_0x2e9f5b(0xd2),_0x2e9f5b(0xb7)]){const _0x5cde97=_0xdcc4db[_0x2e9f5b(0x96)][_0x2e9f5b(0xbd)](_0x264702);_0x30f858[_0x2e9f5b(0xf6)](_0x264702,()=>{const _0x186e72=_0x2e9f5b,_0x51f5a3=_0xdcc4db[_0x186e72(0xbe)][_0x186e72(0x93)][_0x186e72(0xa2)][_0x186e72(0xe4)]()[_0x186e72(0xb4)]()[_0x186e72(0xad)](_0x8ca32b=>_0x8ca32b['is'](_0x186e72(0xca),_0x186e72(0xc0))),_0x23e472=_0x5cde97[_0x186e72(0xaf)];_0xdcc4db[_0x186e72(0xbe)][_0x186e72(0xd3)](()=>{const _0x2771d2=_0x186e72;_0x30f858[_0x2771d2(0xe3)]([_0x51f5a3,_0x23e472],{'commandName':_0x2771d2(0x9d),'commandParams':[]},[],_0x2771d2(0x9d));});});}for(const _0xc86727 of[_0x2e9f5b(0xa8),_0x2e9f5b(0xbb)]){const _0x4508da=_0xdcc4db[_0x2e9f5b(0x96)][_0x2e9f5b(0xbd)](_0xc86727);_0x30f858[_0x2e9f5b(0xf6)](_0xc86727,()=>{const _0x2b9ba1=_0x2e9f5b,_0x2e8b3f=_0x54a302[_0x2b9ba1(0xd8)](_0xdcc4db[_0x2b9ba1(0xbe)][_0x2b9ba1(0x93)][_0x2b9ba1(0xa2)])[0x0],_0xb59770=_0x2e8b3f[_0x2b9ba1(0xd1)](_0x2b9ba1(0xdb)),{column:_0x4c06e5,row:_0x2bbe8a}=_0x54a302[_0x2b9ba1(0x97)](_0x2e8b3f);let _0x41b1fc=[];if(_0x2b9ba1(0xcd)==_0x4508da[_0x2b9ba1(0xa5)]){const _0x4aade1=_0x54a302[_0x2b9ba1(0xec)](_0xb59770,{'startRow':_0x2bbe8a,'endRow':_0x2bbe8a,'includeAllSlots':!0x0});_0x41b1fc=Array[_0x2b9ba1(0xb5)](_0x4aade1)[_0x2b9ba1(0xd6)](_0x5205ee=>_0x5205ee[_0x2b9ba1(0xa9)]);}else{const _0x52db33=_0x54a302[_0x2b9ba1(0xec)](_0xb59770,{'column':_0x4c06e5,'includeAllSlots':!0x0});_0x41b1fc=Array[_0x2b9ba1(0xb5)](_0x52db33)[_0x2b9ba1(0xd6)](_0x521cac=>_0x521cac[_0x2b9ba1(0xa9)]);}_0xdcc4db[_0x2b9ba1(0xbe)][_0x2b9ba1(0xd3)](_0x3e2f7b=>{const _0x3a6818=_0x2b9ba1;_0x30f858[_0x3a6818(0x9f)](_0x3e2f7b[_0x3a6818(0xac)](_0x2e8b3f),{'commandName':_0xc86727,'commandParams':[]},_0x41b1fc,_0xc86727);});});}_0x30f858[_0x2e9f5b(0xf2)][_0x2e9f5b(0xe9)](_0x4c8772=>{const _0x5e3a74=_0x2e9f5b;if(_0x5e3a74(0xb0)!=_0x4c8772[_0x5e3a74(0xb9)]&&_0x5e3a74(0xab)!=_0x4c8772[_0x5e3a74(0xb9)])return;const {data:_0x1c02a9}=_0x4c8772;return _0x1c02a9&&_0x5e3a74(0x9d)==_0x1c02a9[_0x5e3a74(0xf5)]?{'type':_0x5e3a74(0xed),'content':_0x3726d9(_0x1b0685,_0x5e3a74(0xf0))}:void 0x0;}),_0x30f858[_0x2e9f5b(0xf2)][_0x2e9f5b(0xe9)](_0x41e714=>{const _0xc3926=_0x2e9f5b;if(_0xc3926(0xb0)!=_0x41e714[_0xc3926(0xb9)]&&_0xc3926(0xab)!=_0x41e714[_0xc3926(0xb9)])return;const {data:_0x95895}=_0x41e714;return _0x95895?_0xc3926(0xa8)==_0x95895[_0xc3926(0xf5)]?{'type':_0xc3926(0xed),'content':_0x3726d9(_0x1b0685,_0xc3926(0xe7))}:_0xc3926(0xbb)==_0x95895[_0xc3926(0xf5)]?{'type':_0xc3926(0xed),'content':_0x3726d9(_0x1b0685,_0xc3926(0xc7))}:void 0x0:void 0x0;});const _0xb2129a=_0x3ade2f[_0x2e9f5b(0xf3)]();for(const _0x207f3b of[_0x2e9f5b(0xf8),_0x2e9f5b(0xba),_0x2e9f5b(0xd2),_0x2e9f5b(0xb7)])_0x30f858[_0x2e9f5b(0x9b)][_0x2e9f5b(0xcc)](_0x2e9f5b(0xb0),_0x207f3b,_0x2e9f5b(0xee),_0xb2129a);for(const _0x45803c of[_0x2e9f5b(0xa8),_0x2e9f5b(0xbb)])_0x30f858[_0x2e9f5b(0x9b)][_0x2e9f5b(0xcc)](_0x2e9f5b(0xb0),_0x45803c,_0x2e9f5b(0xee),_0xb2129a);_0x30f858[_0x2e9f5b(0x9b)][_0x2e9f5b(0xcc)](_0x2e9f5b(0xb0),_0x2e9f5b(0x9d),_0x2e9f5b(0xee),_0x37c679=>{const _0x2af8cf=_0x2e9f5b;_0xdcc4db[_0x2af8cf(0xbe)][_0x2af8cf(0xd3)](_0x3d60a8=>{const _0xbdccfe=_0x2af8cf,_0x3475af=Array[_0xbdccfe(0xb5)](_0x18e93[_0xbdccfe(0x95)]())[_0xbdccfe(0xd6)](_0x236386=>_0x437a8c[_0xbdccfe(0xf7)](_0x236386));_0x3d60a8[_0xbdccfe(0xe0)](_0x37c679),_0xdcc4db[_0xbdccfe(0x96)][_0xbdccfe(0xbd)](_0xbdccfe(0x9d))[_0xbdccfe(0x98)](),_0xdcc4db[_0xbdccfe(0xf4)](_0xbdccfe(0x9d),{'forceDefaultExecution':!0x0});const _0x441938=_0x3475af[_0xbdccfe(0xa3)](_0x3473e8=>_0xbdccfe(0xc6)!=_0x3473e8[_0xbdccfe(0xdd)][_0xbdccfe(0xbc)]);_0x441938[_0xbdccfe(0xd7)]>0x0&&_0x3d60a8[_0xbdccfe(0xe0)](_0x441938);for(const _0x5125d4 of _0x3475af)_0x5125d4[_0xbdccfe(0xaa)]();});});for(const _0x29baf1 of[_0x2e9f5b(0xf8),_0x2e9f5b(0xd2),_0x2e9f5b(0xb7),_0x2e9f5b(0xba)]){const _0x41ecfe=_0xdcc4db[_0x2e9f5b(0x96)][_0x2e9f5b(0xbd)](_0x29baf1);_0x41ecfe['on'](_0x2e9f5b(0xef),(_0x5edd27,_0x47f24e,_0x260191)=>{const _0x31f564=_0x2e9f5b;if(_0x260191){const _0x357f56=_0xdcc4db[_0x31f564(0xbe)][_0x31f564(0x93)][_0x31f564(0xa2)][_0x31f564(0xe4)]()[_0x31f564(0xb4)]()[_0x31f564(0xad)](_0x295cfb=>_0x295cfb['is'](_0x31f564(0xca),_0x31f564(0xc0)));this[_0x31f564(0xe1)](_0x41ecfe[_0x31f564(0xaf)],_0x357f56)||(_0x5edd27[_0x31f564(0xc3)]=!0x1,_0x5edd27[_0x31f564(0xce)]());}},{'priority':_0x2e9f5b(0xb3)});}}[_0x455348(0xae)](){const _0x51e380=_0x455348,_0x2a5877=this[_0x51e380(0x94)][_0x51e380(0x96)][_0x51e380(0xbd)](_0x51e380(0x9d)),_0x5468e6=this[_0x51e380(0x94)][_0x51e380(0xb1)][_0x51e380(0xbd)](_0x51e380(0xa7));if(!_0x2a5877[_0x51e380(0xd0)])return!0x1;const _0xf6b0a9=_0x5468e6[_0x51e380(0xd8)](this[_0x51e380(0x94)][_0x51e380(0xbe)][_0x51e380(0x93)][_0x51e380(0xa2)]);for(const _0x3bf1ab of _0xf6b0a9)for(const _0x16cc03 of _0xf6b0a9)if(_0x3bf1ab!=_0x16cc03&&!this[_0x51e380(0xe1)](_0x3bf1ab,_0x16cc03))return!0x1;return!0x0;}[_0x455348(0xe1)](_0x377865,_0x5727f8){const _0x2da176=_0x455348,_0x1e5387=this[_0x2da176(0x94)][_0x2da176(0xb1)][_0x2da176(0xbd)](_0x2da176(0xa6)),_0x895a17=this[_0x2da176(0x94)][_0x2da176(0xbe)][_0x2da176(0xac)](_0x377865),_0x38ae5e=this[_0x2da176(0x94)][_0x2da176(0xbe)][_0x2da176(0xac)](_0x5727f8),_0x5e7448=new Set(),_0x6f0e2a=new Set();for(const _0xd2aced of _0x1e5387[_0x2da176(0xd5)]())if((_0x2da176(0xd4)==_0xd2aced[_0x2da176(0xb9)]||_0x2da176(0xa0)==_0xd2aced[_0x2da176(0xb9)]||_0x2da176(0x9d)==_0xd2aced[_0x2da176(0x9e)])&&_0xd2aced[_0x2da176(0xc2)]){for(const _0xdc5325 of _0xd2aced[_0x2da176(0x95)]())_0xdc5325[_0x2da176(0xe8)](_0x895a17,!0x0)&&_0x5e7448[_0x2da176(0xcf)](_0xd2aced[_0x2da176(0xb9)]+':'+_0xd2aced[_0x2da176(0xc8)]['id']),_0xdc5325[_0x2da176(0xe8)](_0x38ae5e,!0x0)&&_0x6f0e2a[_0x2da176(0xcf)](_0xd2aced[_0x2da176(0xb9)]+':'+_0xd2aced[_0x2da176(0xc8)]['id']);}if(_0x5e7448[_0x2da176(0xe6)]!=_0x6f0e2a[_0x2da176(0xe6)])return!0x1;for(const _0x53a4b2 of _0x5e7448)if(!_0x6f0e2a[_0x2da176(0x99)](_0x53a4b2))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x24cfd4=_0x1f55;(function(_0x560e01,_0x8b18d){const _0x2eff32=_0x1f55,_0x526be5=_0x560e01();while(!![]){try{const _0x5d39b1=-parseInt(_0x2eff32(0x1cb))/0x1*(-parseInt(_0x2eff32(0x1a9))/0x2)+-parseInt(_0x2eff32(0x1d0))/0x3+parseInt(_0x2eff32(0x19d))/0x4+parseInt(_0x2eff32(0x1db))/0x5*(parseInt(_0x2eff32(0x1d1))/0x6)+-parseInt(_0x2eff32(0x1a8))/0x7*(parseInt(_0x2eff32(0x191))/0x8)+-parseInt(_0x2eff32(0x1c4))/0x9+-parseInt(_0x2eff32(0x1a6))/0xa;if(_0x5d39b1===_0x8b18d)break;else _0x526be5['push'](_0x526be5['shift']());}catch(_0xe47f49){_0x526be5['push'](_0x526be5['shift']());}}}(_0x38be,0x6e82b));import{Plugin as _0x2d0fba}from'ckeditor5/src/core.js';import _0x5e037b from'./table.js';import{LiveRange as _0xb9036c}from'ckeditor5/src/engine.js';function _0x1f55(_0x505282,_0x165339){const _0x38beb3=_0x38be();return _0x1f55=function(_0x1f5555,_0x34eae6){_0x1f5555=_0x1f5555-0x17d;let _0x34fd2e=_0x38beb3[_0x1f5555];return _0x34fd2e;},_0x1f55(_0x505282,_0x165339);}import{getTranslation as _0x57327f}from'../utils/common-translations.js';function _0x38be(){const _0x5d28a9=['execute','isInContent','containsRange','commandName','5976954KRpcEL','rootName','mergeTableCellLeft','getFirstPosition','registerDescriptionCallback','selection','size','358903BdLuxZ','horizontally','return','accept','splitTableCellHorizontally','10626rcCnEL','271974clHEUN','*Split\x20cell:*\x20horizontally','_areMergableCells','*Split\x20cell:*\x20vertically','highest','getAncestors','*Merge\x20cells*','enableCommand','author','type','15ctTGkl','mergeTableCellRight','_isForcedDefaultExecutionBlock','refresh','markBlockFormat','findAncestor','_acceptFormatSuggestionCallbackFactory','cell','locale','deletion','mergeTableCells','plugins','insertion','TableEditing','value','filter','fromRange','table','subType','stop','isEnabled','formatBlock','add','descriptionFactory','TrackChangesEditing','470704VnzSnb','detach','$graveyard','createTableWalker','_suggestionFactory','push','splitTableCellVertically','tableCell','requires','getRanges','getSuggestions','forceDefaultExecution','2868956fdxsyw','markMultiRangeBlockFormat','registerCustomCallback','from','get','_tablePostFixingSubtypes','editor','mergeTableCellDown','createRangeOn','1565430MpBuLr','model','35UBsCAy','4UrglcI','getSelectionAffectedTableCells','trackChanges','map','set:isEnabled','mergeTableCellUp','TableUtils','change','getCellLocation','find','setSelection','document','root','low','length','formatInline','direction','has','afterInit','element','format','_areSelectedCellsMergable','commands'];_0x38be=function(){return _0x5d28a9;};return _0x38be();}export default class St extends _0x2d0fba{static get[_0x24cfd4(0x199)](){return[_0x5e037b];}[_0x24cfd4(0x1bb)](){const _0x1ddf2e=_0x24cfd4,_0x985e77=this[_0x1ddf2e(0x1a3)],_0x5ca3a2=_0x985e77[_0x1ddf2e(0x1a7)][_0x1ddf2e(0x1b4)][_0x1ddf2e(0x1c9)],_0x2a8ac4=_0x985e77[_0x1ddf2e(0x180)];if(!_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1ba)](_0x1ddf2e(0x185)))return;const _0xe05e13=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x190)),_0x300c0a=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x1af)),_0x4f928b=_0x985e77[_0x1ddf2e(0x183)][_0x1ddf2e(0x1a1)](_0x5e037b);_0x4f928b[_0x1ddf2e(0x1a2)][_0x1ddf2e(0x196)](_0x1ddf2e(0x182)),_0xe05e13[_0x1ddf2e(0x1d8)](_0x1ddf2e(0x182),()=>{const _0x1691e8=_0x1ddf2e,_0x5a034d=_0x300c0a[_0x1691e8(0x1aa)](_0x985e77[_0x1691e8(0x1a7)][_0x1691e8(0x1b4)][_0x1691e8(0x1c9)]);_0x985e77[_0x1691e8(0x1a7)][_0x1691e8(0x1b0)](()=>{const _0x4afd36=_0x1691e8;_0xe05e13[_0x4afd36(0x19e)](_0x5a034d,{'commandName':_0x4afd36(0x182),'commandParams':[]},[],_0x4afd36(0x182));});}),_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x1ddf2e(0x182))['on'](_0x1ddf2e(0x1c0),(_0x2af906,_0x553a7e)=>{const _0x523210=_0x1ddf2e;_0x985e77[_0x523210(0x1bf)][_0x523210(0x1a1)](_0x523210(0x1ab))[_0x523210(0x186)]&&(_0x553a7e[_0x523210(0x1b7)]>0x0&&_0x553a7e[_0x553a7e[_0x523210(0x1b7)]-0x1]&&_0x553a7e[_0x553a7e[_0x523210(0x1b7)]-0x1][_0x523210(0x19c)]||_0xe05e13[_0x523210(0x1dd)]||this[_0x523210(0x1be)]()||_0x2af906[_0x523210(0x18b)]());},{'priority':_0x1ddf2e(0x1d5)});for(const _0x13aac7 of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1dc),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6)]){const _0x356bcc=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x13aac7);_0xe05e13[_0x1ddf2e(0x1d8)](_0x13aac7,()=>{const _0x40e411=_0x1ddf2e,_0x5a9432=_0x985e77[_0x40e411(0x1a7)][_0x40e411(0x1b4)][_0x40e411(0x1c9)][_0x40e411(0x1c7)]()[_0x40e411(0x1d6)]()[_0x40e411(0x1b2)](_0x4f42eb=>_0x4f42eb['is'](_0x40e411(0x1bc),_0x40e411(0x198))),_0x27ba30=_0x356bcc[_0x40e411(0x186)];_0x985e77[_0x40e411(0x1a7)][_0x40e411(0x1b0)](()=>{const _0x19e75e=_0x40e411;_0xe05e13[_0x19e75e(0x19e)]([_0x5a9432,_0x27ba30],{'commandName':_0x19e75e(0x182),'commandParams':[]},[],_0x19e75e(0x182));});});}for(const _0x3dcd4b of[_0x1ddf2e(0x197),_0x1ddf2e(0x1cf)]){const _0x1bb813=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x3dcd4b);_0xe05e13[_0x1ddf2e(0x1d8)](_0x3dcd4b,()=>{const _0x591cb5=_0x1ddf2e,_0x35e278=_0x300c0a[_0x591cb5(0x1aa)](_0x985e77[_0x591cb5(0x1a7)][_0x591cb5(0x1b4)][_0x591cb5(0x1c9)])[0x0],_0x7a355c=_0x35e278[_0x591cb5(0x17d)](_0x591cb5(0x189)),{column:_0x516f86,row:_0x108b5d}=_0x300c0a[_0x591cb5(0x1b1)](_0x35e278);let _0x515ceb=[];if(_0x591cb5(0x1cc)==_0x1bb813[_0x591cb5(0x1b9)]){const _0x511ab9=_0x300c0a[_0x591cb5(0x194)](_0x7a355c,{'startRow':_0x108b5d,'endRow':_0x108b5d,'includeAllSlots':!0x0});_0x515ceb=Array[_0x591cb5(0x1a0)](_0x511ab9)[_0x591cb5(0x1ac)](_0x59c6fd=>_0x59c6fd[_0x591cb5(0x17f)]);}else{const _0x98260b=_0x300c0a[_0x591cb5(0x194)](_0x7a355c,{'column':_0x516f86,'includeAllSlots':!0x0});_0x515ceb=Array[_0x591cb5(0x1a0)](_0x98260b)[_0x591cb5(0x1ac)](_0x95804a=>_0x95804a[_0x591cb5(0x17f)]);}_0x985e77[_0x591cb5(0x1a7)][_0x591cb5(0x1b0)](_0x260851=>{const _0x79763f=_0x591cb5;_0xe05e13[_0x79763f(0x1df)](_0x260851[_0x79763f(0x1a5)](_0x35e278),{'commandName':_0x3dcd4b,'commandParams':[]},_0x515ceb,_0x3dcd4b);});});}_0xe05e13[_0x1ddf2e(0x18f)][_0x1ddf2e(0x1c8)](_0x5426a1=>{const _0x4628d1=_0x1ddf2e;if(_0x4628d1(0x18d)!=_0x5426a1[_0x4628d1(0x1da)]&&_0x4628d1(0x1b8)!=_0x5426a1[_0x4628d1(0x1da)])return;const {data:_0x125767}=_0x5426a1;return _0x125767&&_0x4628d1(0x182)==_0x125767[_0x4628d1(0x1c3)]?{'type':_0x4628d1(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x4628d1(0x1d7))}:void 0x0;}),_0xe05e13[_0x1ddf2e(0x18f)][_0x1ddf2e(0x1c8)](_0x24b970=>{const _0x2e0cb9=_0x1ddf2e;if(_0x2e0cb9(0x18d)!=_0x24b970[_0x2e0cb9(0x1da)]&&_0x2e0cb9(0x1b8)!=_0x24b970[_0x2e0cb9(0x1da)])return;const {data:_0x3e68d4}=_0x24b970;return _0x3e68d4?_0x2e0cb9(0x197)==_0x3e68d4[_0x2e0cb9(0x1c3)]?{'type':_0x2e0cb9(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x2e0cb9(0x1d4))}:_0x2e0cb9(0x1cf)==_0x3e68d4[_0x2e0cb9(0x1c3)]?{'type':_0x2e0cb9(0x1bd),'content':_0x57327f(_0x2a8ac4,_0x2e0cb9(0x1d2))}:void 0x0:void 0x0;});const _0x4ced0b=_0x4f928b[_0x1ddf2e(0x17e)]();for(const _0x310f0b of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1dc),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6)])_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x310f0b,_0x1ddf2e(0x1ce),_0x4ced0b);for(const _0x2e7502 of[_0x1ddf2e(0x197),_0x1ddf2e(0x1cf)])_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x2e7502,_0x1ddf2e(0x1ce),_0x4ced0b);_0xe05e13[_0x1ddf2e(0x195)][_0x1ddf2e(0x19f)](_0x1ddf2e(0x18d),_0x1ddf2e(0x182),_0x1ddf2e(0x1ce),_0x1ec53a=>{const _0x19090d=_0x1ddf2e;_0x985e77[_0x19090d(0x1a7)][_0x19090d(0x1b0)](_0x53bb43=>{const _0x9dbd2e=_0x19090d,_0x102d5d=Array[_0x9dbd2e(0x1a0)](_0x5ca3a2[_0x9dbd2e(0x19a)]())[_0x9dbd2e(0x1ac)](_0x3d892f=>_0xb9036c[_0x9dbd2e(0x188)](_0x3d892f));_0x53bb43[_0x9dbd2e(0x1b3)](_0x1ec53a),_0x985e77[_0x9dbd2e(0x1bf)][_0x9dbd2e(0x1a1)](_0x9dbd2e(0x182))[_0x9dbd2e(0x1de)](),_0x985e77[_0x9dbd2e(0x1c0)](_0x9dbd2e(0x182),{'forceDefaultExecution':!0x0});const _0x16aa78=_0x102d5d[_0x9dbd2e(0x187)](_0x343e4d=>_0x9dbd2e(0x193)!=_0x343e4d[_0x9dbd2e(0x1b5)][_0x9dbd2e(0x1c5)]);_0x16aa78[_0x9dbd2e(0x1b7)]>0x0&&_0x53bb43[_0x9dbd2e(0x1b3)](_0x16aa78);for(const _0x30d982 of _0x102d5d)_0x30d982[_0x9dbd2e(0x192)]();});});for(const _0x37a203 of[_0x1ddf2e(0x1ae),_0x1ddf2e(0x1a4),_0x1ddf2e(0x1c6),_0x1ddf2e(0x1dc)]){const _0x21c112=_0x985e77[_0x1ddf2e(0x1bf)][_0x1ddf2e(0x1a1)](_0x37a203);_0x21c112['on'](_0x1ddf2e(0x1ad),(_0x54b10b,_0x36ae10,_0x385787)=>{const _0x5b8f16=_0x1ddf2e;if(_0x385787){const _0x1e292a=_0x985e77[_0x5b8f16(0x1a7)][_0x5b8f16(0x1b4)][_0x5b8f16(0x1c9)][_0x5b8f16(0x1c7)]()[_0x5b8f16(0x1d6)]()[_0x5b8f16(0x1b2)](_0x527975=>_0x527975['is'](_0x5b8f16(0x1bc),_0x5b8f16(0x198)));this[_0x5b8f16(0x1d3)](_0x21c112[_0x5b8f16(0x186)],_0x1e292a)||(_0x54b10b[_0x5b8f16(0x1cd)]=!0x1,_0x54b10b[_0x5b8f16(0x18b)]());}},{'priority':_0x1ddf2e(0x1b6)});}}[_0x24cfd4(0x1be)](){const _0x15a711=_0x24cfd4,_0x18bc2d=this[_0x15a711(0x1a3)][_0x15a711(0x1bf)][_0x15a711(0x1a1)](_0x15a711(0x182)),_0xd1adec=this[_0x15a711(0x1a3)][_0x15a711(0x183)][_0x15a711(0x1a1)](_0x15a711(0x1af));if(!_0x18bc2d[_0x15a711(0x18c)])return!0x1;const _0x4dec1a=_0xd1adec[_0x15a711(0x1aa)](this[_0x15a711(0x1a3)][_0x15a711(0x1a7)][_0x15a711(0x1b4)][_0x15a711(0x1c9)]);for(const _0x4eb5cf of _0x4dec1a)for(const _0x34eedc of _0x4dec1a)if(_0x4eb5cf!=_0x34eedc&&!this[_0x15a711(0x1d3)](_0x4eb5cf,_0x34eedc))return!0x1;return!0x0;}[_0x24cfd4(0x1d3)](_0x571f9c,_0xcfce80){const _0x2a383f=_0x24cfd4,_0x22ce65=this[_0x2a383f(0x1a3)][_0x2a383f(0x183)][_0x2a383f(0x1a1)](_0x2a383f(0x190)),_0x9e0fc1=this[_0x2a383f(0x1a3)][_0x2a383f(0x1a7)][_0x2a383f(0x1a5)](_0x571f9c),_0x2b153e=this[_0x2a383f(0x1a3)][_0x2a383f(0x1a7)][_0x2a383f(0x1a5)](_0xcfce80),_0x33f916=new Set(),_0x11f12f=new Set();for(const _0xbf5567 of _0x22ce65[_0x2a383f(0x19b)]())if((_0x2a383f(0x184)==_0xbf5567[_0x2a383f(0x1da)]||_0x2a383f(0x181)==_0xbf5567[_0x2a383f(0x1da)]||_0x2a383f(0x182)==_0xbf5567[_0x2a383f(0x18a)])&&_0xbf5567[_0x2a383f(0x1c1)]){for(const _0x13bfe0 of _0xbf5567[_0x2a383f(0x19a)]())_0x13bfe0[_0x2a383f(0x1c2)](_0x9e0fc1,!0x0)&&_0x33f916[_0x2a383f(0x18e)](_0xbf5567[_0x2a383f(0x1da)]+':'+_0xbf5567[_0x2a383f(0x1d9)]['id']),_0x13bfe0[_0x2a383f(0x1c2)](_0x2b153e,!0x0)&&_0x11f12f[_0x2a383f(0x18e)](_0xbf5567[_0x2a383f(0x1da)]+':'+_0xbf5567[_0x2a383f(0x1d9)]['id']);}if(_0x33f916[_0x2a383f(0x1ca)]!=_0x11f12f[_0x2a383f(0x1ca)])return!0x1;for(const _0x1e9822 of _0x33f916)if(!_0x11f12f[_0x2a383f(0x1ba)](_0x1e9822))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5634df=_0x260c;(function(_0x3ced66,_0x110d1d){const _0x27d1e2=_0x260c,_0x42f18a=_0x3ced66();while(!![]){try{const _0x33c0d5=parseInt(_0x27d1e2(0x153))/0x1*(parseInt(_0x27d1e2(0x14d))/0x2)+parseInt(_0x27d1e2(0x15b))/0x3+parseInt(_0x27d1e2(0x159))/0x4*(-parseInt(_0x27d1e2(0x157))/0x5)+-parseInt(_0x27d1e2(0x155))/0x6*(-parseInt(_0x27d1e2(0x161))/0x7)+-parseInt(_0x27d1e2(0x14e))/0x8*(parseInt(_0x27d1e2(0x15e))/0x9)+-parseInt(_0x27d1e2(0x14c))/0xa+parseInt(_0x27d1e2(0x163))/0xb;if(_0x33c0d5===_0x110d1d)break;else _0x42f18a['push'](_0x42f18a['shift']());}catch(_0x437791){_0x42f18a['push'](_0x42f18a['shift']());}}}(_0x132a,0x8f6f2));function _0x260c(_0x21b96a,_0x746ad5){const _0x132a19=_0x132a();return _0x260c=function(_0x260cb5,_0x3f9305){_0x260cb5=_0x260cb5-0x14c;let _0x2df77b=_0x132a19[_0x260cb5];return _0x2df77b;},_0x260c(_0x21b96a,_0x746ad5);}import{Plugin as _0x29a9f4}from'ckeditor5/src/core.js';import{getTranslation as _0x4c9f65}from'../utils/common-translations.js';export default class _t extends _0x29a9f4{[_0x5634df(0x15c)](){const _0x3914cd=_0x5634df,_0x1e0a1e=this[_0x3914cd(0x158)];if(!_0x1e0a1e[_0x3914cd(0x152)][_0x3914cd(0x15d)](_0x3914cd(0x156)))return;_0x1e0a1e[_0x3914cd(0x15a)][_0x3914cd(0x15d)](_0x3914cd(0x160))[_0x3914cd(0x14f)](_0x3914cd(0x156));const _0x57faac=_0x1e0a1e[_0x3914cd(0x15a)][_0x3914cd(0x15d)](_0x3914cd(0x160)),_0x523847=_0x1e0a1e[_0x3914cd(0x150)];_0x57faac[_0x3914cd(0x151)][_0x3914cd(0x154)](_0x3914cd(0x162),_0x1ac5fc=>_0x4c9f65(_0x523847,_0x3914cd(0x15f),_0x1ac5fc));}}function _0x132a(){const _0x111d45=['descriptionFactory','commands','18VvQzep','registerElementLabel','114JEdPgF','insertTableOfContents','245nfziQN','editor','29384IgsRRL','plugins','1895838BdKZpw','afterInit','get','252RhtRKF','ELEMENT_TABLE_OF_CONTENTS','TrackChangesEditing','198079Uckhtx','tableOfContents','3248773cJSFIF','8579380jOUTey','96278mWABHW','150296yqyJnD','enableCommand','locale'];_0x132a=function(){return _0x111d45;};return _0x132a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xace1(_0x22901c,_0x616f44){const _0x9255c0=_0x9255();return _0xace1=function(_0xace14f,_0x5e82c3){_0xace14f=_0xace14f-0x10c;let _0x5a1e1f=_0x9255c0[_0xace14f];return _0x5a1e1f;},_0xace1(_0x22901c,_0x616f44);}const _0x23e510=_0xace1;(function(_0x4dab2f,_0x2c0a94){const _0x47f71=_0xace1,_0x4db05a=_0x4dab2f();while(!![]){try{const _0x76b135=parseInt(_0x47f71(0x12b))/0x1+-parseInt(_0x47f71(0x11f))/0x2*(parseInt(_0x47f71(0x122))/0x3)+parseInt(_0x47f71(0x12d))/0x4+-parseInt(_0x47f71(0x124))/0x5+-parseInt(_0x47f71(0x143))/0x6*(-parseInt(_0x47f71(0x116))/0x7)+parseInt(_0x47f71(0x134))/0x8*(-parseInt(_0x47f71(0x11d))/0x9)+-parseInt(_0x47f71(0x142))/0xa*(-parseInt(_0x47f71(0x155))/0xb);if(_0x76b135===_0x2c0a94)break;else _0x4db05a['push'](_0x4db05a['shift']());}catch(_0x49c163){_0x4db05a['push'](_0x4db05a['shift']());}}}(_0x9255,0x6da83));import{Plugin as _0x23ea61}from'ckeditor5/src/core.js';import{getTranslation as _0x49234e}from'../utils/common-translations.js';export default class $t extends _0x23ea61{constructor(_0x130a14){const _0x3e3245=_0xace1;super(_0x130a14),this[_0x3e3245(0x128)]=[_0x3e3245(0x150),_0x3e3245(0x14c),_0x3e3245(0x132),_0x3e3245(0x147),_0x3e3245(0x10c),_0x3e3245(0x154),_0x3e3245(0x10d)],this[_0x3e3245(0x130)]=[_0x3e3245(0x14e),_0x3e3245(0x14a),_0x3e3245(0x126),_0x3e3245(0x140),_0x3e3245(0x11b),_0x3e3245(0x13e),_0x3e3245(0x145),_0x3e3245(0x159),_0x3e3245(0x151)];}static get[_0x23e510(0x15a)](){const _0x16f185=_0x23e510;return _0x16f185(0x117);}[_0x23e510(0x136)](){const _0x507684=_0x23e510,_0x5bd8a8=this[_0x507684(0x10e)][_0x507684(0x11e)][_0x507684(0x156)](_0x507684(0x141));if(this[_0x507684(0x10e)][_0x507684(0x11e)][_0x507684(0x152)](_0x507684(0x13f))){for(const _0x229888 of this[_0x507684(0x128)])_0x5bd8a8[_0x507684(0x139)](_0x229888,(_0x27d9cc,_0x548808)=>{const _0x298824=_0x507684,_0x1f6324=this[_0x298824(0x10e)][_0x298824(0x113)][_0x298824(0x137)][_0x298824(0x14d)][_0x298824(0x144)]()[_0x298824(0x14b)](_0x298824(0x123));this[_0x298824(0x158)](_0x229888,[_0x1f6324],this[_0x298824(0x128)],_0x298824(0x128),_0x27d9cc,_0x548808);});_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x128),_0x507684(0x112),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x121)](_0x507684(0x10f),null,_0x507684(0x14f))),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x128),_0x507684(0x14f),(_0x1ea541,_0x48e70f)=>this[_0x507684(0x149)](this[_0x507684(0x128)],_0x1ea541,_0x48e70f)),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x128),_0x507684(0x133),()=>!0x1);}if(this[_0x507684(0x10e)][_0x507684(0x11e)][_0x507684(0x152)](_0x507684(0x114))){for(const _0x1390eb of this[_0x507684(0x130)])_0x5bd8a8[_0x507684(0x139)](_0x1390eb,(_0x38e4f4,_0x41355c)=>{const _0x2a7cf0=_0x507684,_0x855b60=this[_0x2a7cf0(0x10e)][_0x2a7cf0(0x11e)][_0x2a7cf0(0x156)](_0x2a7cf0(0x131))[_0x2a7cf0(0x129)](this[_0x2a7cf0(0x10e)][_0x2a7cf0(0x113)][_0x2a7cf0(0x137)][_0x2a7cf0(0x14d)]);this[_0x2a7cf0(0x158)](_0x1390eb,_0x855b60,this[_0x2a7cf0(0x130)],_0x2a7cf0(0x130),_0x38e4f4,_0x41355c);});_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x130),_0x507684(0x112),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x121)](_0x507684(0x10f),null,_0x507684(0x14f))),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x130),_0x507684(0x14f),(_0x25be62,_0x165a08)=>this[_0x507684(0x149)](this[_0x507684(0x130)],_0x25be62,_0x165a08)),_0x5bd8a8[_0x507684(0x13d)][_0x507684(0x148)](_0x507684(0x10f),_0x507684(0x130),_0x507684(0x133),()=>!0x1);}_0x5bd8a8[_0x507684(0x135)][_0x507684(0x119)](_0x48df30=>this[_0x507684(0x118)](_0x48df30));}[_0x23e510(0x158)](_0xe8a23a,_0x48658f,_0x3ab363,_0x2e8ac2,_0x39c94a,_0x58a3c3){const _0x3d3de3=_0x23e510,_0x8e22c3=this[_0x3d3de3(0x10e)][_0x3d3de3(0x11e)][_0x3d3de3(0x156)](_0x3d3de3(0x141));this[_0x3d3de3(0x10e)][_0x3d3de3(0x113)][_0x3d3de3(0x125)](_0x58a3c3[_0x3d3de3(0x157)],()=>{const _0x242804=_0x3d3de3;for(const _0x5bba9b of _0x48658f){if(this[_0x242804(0x13b)](_0x5bba9b,_0x2e8ac2))_0x39c94a(_0x58a3c3);else{const _0x39662e={};for(const _0x57425e of _0x3ab363){const _0x12dcb6=_0x5bba9b[_0x242804(0x12c)](_0x57425e);void 0x0!==_0x12dcb6&&(_0x39662e[_0x57425e]=_0x12dcb6);}_0x39c94a(_0x58a3c3),_0x8e22c3[_0x242804(0x12e)](_0x5bba9b,{'commandParams':[_0x39662e]},[],_0x2e8ac2);}}});}[_0x23e510(0x149)](_0x3380a3,_0x2f6450,_0x36c55f){const _0x48ae54=_0x23e510,_0x2265e6=_0x2f6450[0x0][_0x48ae54(0x11a)][_0x48ae54(0x12f)],_0x303cb2=_0x36c55f[_0x48ae54(0x110)][0x0];this[_0x48ae54(0x10e)][_0x48ae54(0x113)][_0x48ae54(0x138)](_0x316c15=>{const _0xaf69a8=_0x48ae54;for(const _0x1167fb of _0x3380a3)void 0x0!==_0x303cb2[_0x1167fb]?_0x316c15[_0xaf69a8(0x153)](_0x1167fb,_0x303cb2[_0x1167fb],_0x2265e6):_0x316c15[_0xaf69a8(0x146)](_0x1167fb,_0x2265e6);});}[_0x23e510(0x118)](_0x4db71c){const _0xfe19e0=_0x23e510;if(_0x4db71c[_0xfe19e0(0x127)])switch(_0x4db71c[_0xfe19e0(0x13a)]){case _0xfe19e0(0x128):return{'type':_0xfe19e0(0x120),'content':_0x49234e(this[_0xfe19e0(0x10e)][_0xfe19e0(0x115)],_0xfe19e0(0x111))};case _0xfe19e0(0x130):return{'type':_0xfe19e0(0x120),'content':_0x49234e(this[_0xfe19e0(0x10e)][_0xfe19e0(0x115)],_0xfe19e0(0x11c))};}}[_0x23e510(0x13b)](_0x3d8d90,_0x17fc13){const _0xc8862f=_0x23e510,_0x484bca=this[_0xc8862f(0x10e)][_0xc8862f(0x11e)][_0xc8862f(0x156)](_0xc8862f(0x141));for(const _0x1f1706 of _0x484bca[_0xc8862f(0x12a)]({'skipNotAttached':!0x0})){const _0x581d20=_0x1f1706[_0xc8862f(0x13c)]();if(_0x1f1706[_0xc8862f(0x13a)]===_0x17fc13&&_0x581d20===_0x3d8d90)return _0x1f1706;}return null;}}function _0x9255(){const _0x5868c3=['getFirstPosition','tableCellBackgroundColor','removeAttribute','tableAlignment','registerCustomCallback','handleDiscardAction','tableCellBorderStyle','findAncestor','tableBorderStyle','selection','tableCellBorderColor','discard','tableBorderColor','tableCellVerticalAlignment','has','setAttribute','tableHeight','11DrrLCa','get','batch','_handlePropertyChange','tableCellHorizontalAlignment','pluginName','tableWidth','tableBackgroundColor','editor','formatBlock','commandParams','*Format:*\x20change\x20table\x20properties','accept','model','TableCellPropertiesEditing','locale','606235VGZDTG','TrackChangesTableProperties','handleSuggestionDescription','registerDescriptionCallback','start','tableCellWidth','*Format:*\x20change\x20table\x20cell\x20properties','1869174jrcoiu','plugins','483608AvMBtq','format','getSuggestionCallback','9gaybbb','table','1332830nJsuOX','enqueueChange','tableCellBorderWidth','data','tableProperties','getSelectionAffectedTableCells','getSuggestions','136213ZWnttH','getAttribute','620268GfRMxZ','markBlockFormat','nodeAfter','tableCellProperties','TableUtils','tableBorderWidth','join','24ySmRAP','descriptionFactory','afterInit','document','change','enableCommand','subType','_getSuggestion','getContainedElement','_suggestionFactory','tableCellHeight','TablePropertiesEditing','tableCellPadding','TrackChangesEditing','15997010JwsMoj','12VjXAtJ'];_0x9255=function(){return _0x5868c3;};return _0x9255();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x464bee=_0x43a7;(function(_0x4c1e7a,_0xa31287){const _0x44cdfc=_0x43a7,_0x5f5636=_0x4c1e7a();while(!![]){try{const _0x40aa90=-parseInt(_0x44cdfc(0x1a0))/0x1+-parseInt(_0x44cdfc(0x1a4))/0x2+parseInt(_0x44cdfc(0x1a8))/0x3*(-parseInt(_0x44cdfc(0x1a9))/0x4)+-parseInt(_0x44cdfc(0x1a6))/0x5+parseInt(_0x44cdfc(0x1ac))/0x6*(parseInt(_0x44cdfc(0x1a2))/0x7)+parseInt(_0x44cdfc(0x1a3))/0x8*(-parseInt(_0x44cdfc(0x1af))/0x9)+-parseInt(_0x44cdfc(0x19e))/0xa*(-parseInt(_0x44cdfc(0x1ad))/0xb);if(_0x40aa90===_0xa31287)break;else _0x5f5636['push'](_0x5f5636['shift']());}catch(_0x35299d){_0x5f5636['push'](_0x5f5636['shift']());}}}(_0x5a47,0x7215d));import{Plugin as _0x41bb7d}from'ckeditor5/src/core.js';function _0x43a7(_0x2cbf99,_0x2525d5){const _0x5a478f=_0x5a47();return _0x43a7=function(_0x43a7cd,_0x29c338){_0x43a7cd=_0x43a7cd-0x19e;let _0x193b46=_0x5a478f[_0x43a7cd];return _0x193b46;},_0x43a7(_0x2cbf99,_0x2525d5);}export default class Ct extends _0x41bb7d{[_0x464bee(0x1a7)](){const _0x2c3b79=_0x464bee,_0x59b4f6=this[_0x2c3b79(0x19f)];_0x59b4f6[_0x2c3b79(0x1ae)][_0x2c3b79(0x1a5)](_0x2c3b79(0x1a1))&&_0x59b4f6[_0x2c3b79(0x1ae)][_0x2c3b79(0x1b0)](_0x2c3b79(0x1b1))[_0x2c3b79(0x1ab)](_0x2c3b79(0x1aa));}}function _0x5a47(){const _0x8ab5d5=['11FKSwiT','plugins','5787ERdhlj','get','TrackChangesEditing','15922270BtwlKt','editor','71069HsXncN','Template','2866241JsUpjK','6040NTElwX','404524qioPAJ','has','1332035OPMcYD','afterInit','927eMFIDg','11892mIohip','insertTemplate','enableCommand','12WCDZjL'];_0x5a47=function(){return _0x8ab5d5;};return _0x5a47();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x104a58=_0xd8a2;function _0xd8a2(_0xe6b103,_0x21311d){const _0x184a3b=_0x184a();return _0xd8a2=function(_0xd8a233,_0x5c9de9){_0xd8a233=_0xd8a233-0x1e8;let _0x4ec440=_0x184a3b[_0xd8a233];return _0x4ec440;},_0xd8a2(_0xe6b103,_0x21311d);}(function(_0x4b4515,_0x20022e){const _0x7973da=_0xd8a2,_0x183674=_0x4b4515();while(!![]){try{const _0x128d84=parseInt(_0x7973da(0x206))/0x1+-parseInt(_0x7973da(0x1f5))/0x2+-parseInt(_0x7973da(0x1f9))/0x3+-parseInt(_0x7973da(0x202))/0x4+-parseInt(_0x7973da(0x20b))/0x5+parseInt(_0x7973da(0x1ec))/0x6*(parseInt(_0x7973da(0x1f3))/0x7)+parseInt(_0x7973da(0x1eb))/0x8;if(_0x128d84===_0x20022e)break;else _0x183674['push'](_0x183674['shift']());}catch(_0x41061d){_0x183674['push'](_0x183674['shift']());}}}(_0x184a,0xa3315));import{Plugin as _0x23cbd8}from'ckeditor5/src/core.js';import{getTranslation as _0x1801c0}from'../utils/common-translations.js';function _0x184a(){const _0x4980bb=['1185279sbpVQg','_splitMarkerName','title-content','updateMarker','registerPostFixer','from','getNearestSelectionRange','Title','document','3174608OhcvSK','get','createRange','start','844366SiryJM','forward','isEqual','getChangedMarkers','afterInit','1673475etQsas','differ','descriptionFactory','TrackChangesEditing','model','end','registerElementLabel','nodeBefore','removeMarker','newRange','11315504teNTfC','6245634tESCcO','locale','suggestion','ELEMENT_TITLE','has','isTouching','plugins','7aLdbqI','schema','2215732ZTaysk','editor','element','isCollapsed'];_0x184a=function(){return _0x4980bb;};return _0x184a();}export default class Dt extends _0x23cbd8{[_0x104a58(0x20a)](){const _0xf10919=_0x104a58,_0x3c4c12=this[_0xf10919(0x1f6)];if(!_0x3c4c12[_0xf10919(0x1f2)][_0xf10919(0x1f0)](_0xf10919(0x200)))return;const _0x1c5359=_0x3c4c12[_0xf10919(0x1f2)][_0xf10919(0x203)](_0xf10919(0x20e));_0x1c5359[_0xf10919(0x20d)][_0xf10919(0x211)](_0xf10919(0x1fb),()=>_0x1801c0(_0x3c4c12[_0xf10919(0x1ed)],_0xf10919(0x1ef))),_0x3c4c12[_0xf10919(0x20f)][_0xf10919(0x201)][_0xf10919(0x1fd)](_0x59768=>{const _0x2e3727=_0xf10919;let _0x38aed0=!0x1;const _0xba06e1=Array[_0x2e3727(0x1fe)](_0x3c4c12[_0x2e3727(0x20f)][_0x2e3727(0x201)][_0x2e3727(0x20c)][_0x2e3727(0x209)]());for(const {name:_0x214f63,data:_0x11b6e3}of _0xba06e1){const {group:_0x530e8e}=_0x1c5359[_0x2e3727(0x1fa)](_0x214f63);if(_0x2e3727(0x1ee)!==_0x530e8e||!_0x11b6e3[_0x2e3727(0x1ea)])continue;const _0x4068e7=_0x11b6e3[_0x2e3727(0x1ea)],_0x409db7=_0x4068e7[_0x2e3727(0x210)][_0x2e3727(0x1e8)];if(!_0x409db7||!_0x409db7['is'](_0x2e3727(0x1f7),_0x2e3727(0x1fb)))continue;if(!_0x4068e7[_0x2e3727(0x205)][_0x2e3727(0x1f1)](_0x4068e7[_0x2e3727(0x210)]))continue;const _0x29eb4d=_0x3c4c12[_0x2e3727(0x20f)][_0x2e3727(0x1f4)][_0x2e3727(0x1ff)](_0x4068e7[_0x2e3727(0x210)],_0x2e3727(0x207));if(_0x29eb4d&&_0x29eb4d[_0x2e3727(0x1f8)]){const _0x54ed29=_0x59768[_0x2e3727(0x204)](_0x4068e7[_0x2e3727(0x205)],_0x29eb4d[_0x2e3727(0x205)]);_0x54ed29[_0x2e3727(0x208)](_0x4068e7)||(_0x59768[_0x2e3727(0x1fc)](_0x214f63,{'range':_0x54ed29}),_0x38aed0=!0x0);}_0x38aed0||(_0x59768[_0x2e3727(0x1e9)](_0x214f63),_0x38aed0=!0x0);}return _0x38aed0;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7908(_0x43bbf3,_0xd3941a){const _0xf1c74a=_0xf1c7();return _0x7908=function(_0x79081b,_0x348e29){_0x79081b=_0x79081b-0x1d1;let _0xcd77d3=_0xf1c74a[_0x79081b];return _0xcd77d3;},_0x7908(_0x43bbf3,_0xd3941a);}const _0x19d4ac=_0x7908;(function(_0x318349,_0x5e8e0d){const _0x4c249e=_0x7908,_0x101315=_0x318349();while(!![]){try{const _0x3d0b55=parseInt(_0x4c249e(0x1e0))/0x1*(-parseInt(_0x4c249e(0x1d9))/0x2)+parseInt(_0x4c249e(0x1e1))/0x3*(-parseInt(_0x4c249e(0x1e5))/0x4)+-parseInt(_0x4c249e(0x1e3))/0x5*(parseInt(_0x4c249e(0x1d3))/0x6)+parseInt(_0x4c249e(0x1d5))/0x7+-parseInt(_0x4c249e(0x1dc))/0x8*(-parseInt(_0x4c249e(0x1d1))/0x9)+parseInt(_0x4c249e(0x1df))/0xa+parseInt(_0x4c249e(0x1da))/0xb;if(_0x3d0b55===_0x5e8e0d)break;else _0x101315['push'](_0x101315['shift']());}catch(_0x3de510){_0x101315['push'](_0x101315['shift']());}}}(_0xf1c7,0x52458));function _0xf1c7(){const _0x4ce66=['3411270nKmKXm','63JhxFuc','1765965FyPLXe','has','6485GGQOGy','plugins','4CBVfQz','134271CtcuKG','get','2514dEefkd','TrackChangesEditing','4508616uLLHhy','editor','undo','UndoEditing','14148QoxcTh','5793876GbwTJm','enableCommand','216yGTjxI','afterInit','redo'];_0xf1c7=function(){return _0x4ce66;};return _0xf1c7();}import{Plugin as _0x58cb2c}from'ckeditor5/src/core.js';export default class Nt extends _0x58cb2c{[_0x19d4ac(0x1dd)](){const _0x11947e=_0x19d4ac,_0x27eb50=this[_0x11947e(0x1d6)],_0x2974cf=_0x27eb50[_0x11947e(0x1e4)][_0x11947e(0x1d2)](_0x11947e(0x1d4));_0x27eb50[_0x11947e(0x1e4)][_0x11947e(0x1e2)](_0x11947e(0x1d8))&&(_0x2974cf[_0x11947e(0x1db)](_0x11947e(0x1d7)),_0x2974cf[_0x11947e(0x1db)](_0x11947e(0x1de)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2f78(_0xfe1b7d,_0xf32020){const _0x4983c5=_0x4983();return _0x2f78=function(_0x2f784b,_0x51f76d){_0x2f784b=_0x2f784b-0x15d;let _0x3eac17=_0x4983c5[_0x2f784b];return _0x3eac17;},_0x2f78(_0xfe1b7d,_0xf32020);}(function(_0x2b6ec4,_0xa61b5c){const _0x416512=_0x2f78,_0xaf4912=_0x2b6ec4();while(!![]){try{const _0x3bbfc5=-parseInt(_0x416512(0x167))/0x1*(parseInt(_0x416512(0x17a))/0x2)+parseInt(_0x416512(0x15f))/0x3*(-parseInt(_0x416512(0x185))/0x4)+-parseInt(_0x416512(0x18c))/0x5*(-parseInt(_0x416512(0x190))/0x6)+-parseInt(_0x416512(0x16e))/0x7+-parseInt(_0x416512(0x181))/0x8*(-parseInt(_0x416512(0x16b))/0x9)+parseInt(_0x416512(0x176))/0xa*(-parseInt(_0x416512(0x165))/0xb)+parseInt(_0x416512(0x17f))/0xc;if(_0x3bbfc5===_0xa61b5c)break;else _0xaf4912['push'](_0xaf4912['shift']());}catch(_0x28755a){_0xaf4912['push'](_0xaf4912['shift']());}}}(_0x4983,0xcf906));export function getRangesWithAttribute(_0x1b6a25,_0x68b45a,_0x2e842c){const _0x342bef=_0x2f78,_0x3cbe27=[];for(const _0x35dd6d of _0x68b45a[_0x342bef(0x168)]())_0x35dd6d[_0x342bef(0x18f)](_0x1b6a25)&&_0x3cbe27[_0x342bef(0x184)](_0x2e842c[_0x342bef(0x18b)](_0x35dd6d));return _0x3cbe27;}function _0x4983(){const _0x5c3536=['createRangeOn','15FtiAcN','span','addClass','hasAttribute','410178bApsvX','createUIElement','writer','elementEnd','508773vUhUte','toViewElement','model','activeMarkers','ck-suggestion-marker-','isLimit','44RJXmAn','markerRange','1hCfhTS','getItems','parent','start','107307GqgLUl','item','ck-suggestion-marker--active','139608hIuzgi','consumable','plugins','markerName','schema','mapper','insert','isContent','1670610HyARie','get','includes','name','1304302AlVSBw','getWalker','type','toViewPosition','getCustomProperty','19994160OtnmSM','bindElementToMarker','328OoNATm','isBlock','isAtEnd','push','4ZGVBLJ','test','nextSibling','previousPosition','TrackChangesEditing','addHighlight'];_0x4983=function(){return _0x5c3536;};return _0x4983();}export function downcastSplitMergeMarker(_0x5188c5,_0x3ec37f,{showActiveMarker:_0x191462=!0x0}={}){const _0x5cfc86=_0x2f78,_0x16ad74=_0x5188c5[_0x5cfc86(0x170)][_0x5cfc86(0x177)](_0x5cfc86(0x189));return(_0x5431db,_0x2545a5,_0x113278)=>{const _0x296170=_0x5cfc86;if(!_0x113278[_0x296170(0x16f)][_0x296170(0x186)](_0x2545a5[_0x296170(0x166)],_0x5431db[_0x296170(0x179)]))return;const _0x41f9cc=_0x2545a5[_0x296170(0x166)][_0x296170(0x17b)](),_0xdbf5c5=_0x2545a5[_0x296170(0x166)][_0x296170(0x16a)],_0x1013c4=_0x5188c5[_0x296170(0x161)][_0x296170(0x172)];let _0x4e60b2=null,_0x27a6c3=null,_0x161fb2=!0x1,_0x4766f0=!0x1;for(const _0x19aa20 of _0x41f9cc){const _0x35c8c5=_0x19aa20[_0x296170(0x16c)];_0x161fb2=_0x161fb2||_0x1013c4[_0x296170(0x175)](_0x35c8c5);const _0x1f3994=_0x113278[_0x296170(0x173)][_0x296170(0x160)](_0x35c8c5);if(_0x1f3994&&_0x1f3994[_0x296170(0x17e)](_0x296170(0x18a)))return;_0x296170(0x15e)==_0x19aa20[_0x296170(0x17c)]&&(_0x1013c4[_0x296170(0x182)](_0x35c8c5)&&!_0x1013c4[_0x296170(0x164)](_0x35c8c5)&&(_0x35c8c5[_0x296170(0x187)]||_0xdbf5c5[_0x296170(0x183)]?_0x4e60b2&&_0x4e60b2[_0x296170(0x169)]==_0x35c8c5||(_0x4e60b2=_0x35c8c5,_0x46f797(_0x19aa20[_0x296170(0x188)]),_0x4766f0=!0x0):_0x27a6c3=_0x27a6c3||_0x19aa20[_0x296170(0x188)]));}function _0x46f797(_0x754b80){const _0x5d34ad=_0x296170,_0x58d1bd=_0x113278[_0x5d34ad(0x15d)][_0x5d34ad(0x191)](_0x5d34ad(0x18d),{'class':_0x5d34ad(0x163)+_0x3ec37f}),_0x139a8d=_0x113278[_0x5d34ad(0x173)][_0x5d34ad(0x17d)](_0x754b80);_0x191462&&_0x16ad74[_0x5d34ad(0x162)][_0x5d34ad(0x178)](_0x2545a5[_0x5d34ad(0x171)])&&_0x113278[_0x5d34ad(0x15d)][_0x5d34ad(0x18e)](_0x5d34ad(0x16d),_0x58d1bd),_0x113278[_0x5d34ad(0x15d)][_0x5d34ad(0x174)](_0x139a8d,_0x58d1bd),_0x113278[_0x5d34ad(0x173)][_0x5d34ad(0x180)](_0x58d1bd,_0x2545a5[_0x5d34ad(0x171)]);}_0x161fb2||_0x4766f0||!_0x27a6c3||_0x46f797(_0x27a6c3);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x37df(){const _0x378ab0=['getFirstRange','start','removeMarker','isMultiRange','onDiscard','discard','delete','author','_saved','1026348lyxkqB','getMultiRangeId','attributes','markers','end','createdAt','set','getAllAdjacentSuggestions','toJSON','addRange','4qjTAmf','add','nodeAfter','authoredAt','_isDataLoaded','3523818hsxWDo','addMarkerName','getRange','4695975vHtNYo','_model','isExternal','map','_onAttributesChange','length','head','suggestion:','removeAttribute','isIntersecting','substr','size','next','reduce','commentThread','clear','21634893zTXACu','split','type','push','getMarkerNames','get','setAttribute','filter','8870365IJBuGk','subType','from','_onDiscard','getItems','@external','change','getFirstMarker','nodeBefore','addMarker','_onAccept','accept','getMarkers','onAccept','removeMarkers','hasComments','632943LHWaJs','decorate','isIntersectingWithRange','creator','363862BquGpS','previous','_markerNames','data','8ehsXRh','getRanges','onAttributesChange','getContainedElement','isInContent'];_0x37df=function(){return _0x378ab0;};return _0x37df();}function _0x1f6a(_0x1912e5,_0xaf6e73){const _0x37df25=_0x37df();return _0x1f6a=function(_0x1f6a92,_0x10b16c){_0x1f6a92=_0x1f6a92-0x1bc;let _0x53789b=_0x37df25[_0x1f6a92];return _0x53789b;},_0x1f6a(_0x1912e5,_0xaf6e73);}const _0x46094c=_0x1f6a;(function(_0x375796,_0x1a7086){const _0x2ecef0=_0x1f6a,_0x403fc3=_0x375796();while(!![]){try{const _0x450acd=-parseInt(_0x2ecef0(0x1cc))/0x1+parseInt(_0x2ecef0(0x1d0))/0x2+-parseInt(_0x2ecef0(0x1e2))/0x3*(-parseInt(_0x2ecef0(0x1ec))/0x4)+-parseInt(_0x2ecef0(0x1f4))/0x5+parseInt(_0x2ecef0(0x1f1))/0x6+parseInt(_0x2ecef0(0x1bc))/0x7*(-parseInt(_0x2ecef0(0x1d4))/0x8)+parseInt(_0x2ecef0(0x204))/0x9;if(_0x450acd===_0x1a7086)break;else _0x403fc3['push'](_0x403fc3['shift']());}catch(_0x30c66c){_0x403fc3['push'](_0x403fc3['shift']());}}}(_0x37df,0xa5036));import{Element as _0x58d898}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5acab2,uid as _0x5ba9d8}from'ckeditor5/src/utils.js';import{cloneDeep as _0x140e6f,isEqual as _0x1d5591,set as _0x2b0377,unset as _0x2519d6}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5acab2(){constructor(_0x421d49,_0x2c8375){const _0x5f3bb2=_0x1f6a;super(),this[_0x5f3bb2(0x1f0)]=!0x1,this['id']=_0x2c8375['id'],this[_0x5f3bb2(0x206)]=_0x2c8375[_0x5f3bb2(0x206)],this[_0x5f3bb2(0x1bd)]=_0x2c8375[_0x5f3bb2(0x1bd)]||null,this[_0x5f3bb2(0x1e0)]=_0x2c8375[_0x5f3bb2(0x1e0)],this[_0x5f3bb2(0x1cf)]=_0x2c8375[_0x5f3bb2(0x1cf)]||_0x2c8375[_0x5f3bb2(0x1e0)],this[_0x5f3bb2(0x1f6)]=Boolean(_0x2c8375[_0x5f3bb2(0x1e4)]&&_0x2c8375[_0x5f3bb2(0x1e4)][_0x5f3bb2(0x1c1)]),this[_0x5f3bb2(0x1d3)]=null,this[_0x5f3bb2(0x1f5)]=_0x421d49,this[_0x5f3bb2(0x1c6)]=_0x2c8375[_0x5f3bb2(0x1c9)],this[_0x5f3bb2(0x1bf)]=_0x2c8375[_0x5f3bb2(0x1dd)],this[_0x5f3bb2(0x1f8)]=_0x2c8375[_0x5f3bb2(0x1d6)],this[_0x5f3bb2(0x1d2)]=new Set(),this[_0x5f3bb2(0x1e7)]=null,this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x1ef),null),this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x1e4),_0x2c8375[_0x5f3bb2(0x1e4)]||{}),this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x1d1),null),this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x200),null),this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x202),null),this[_0x5f3bb2(0x1e8)](_0x5f3bb2(0x1e1),!0x1),this[_0x5f3bb2(0x1cd)](_0x5f3bb2(0x1c7)),this[_0x5f3bb2(0x1cd)](_0x5f3bb2(0x1de));}get[_0x46094c(0x1fa)](){const _0x264246=_0x46094c;let _0x487b23=this;for(;_0x487b23[_0x264246(0x1d1)];)_0x487b23=_0x487b23[_0x264246(0x1d1)];return _0x487b23;}get[_0x46094c(0x1cb)](){const _0xadbfb=_0x46094c;return!!this[_0xadbfb(0x202)]&&this[_0xadbfb(0x202)][_0xadbfb(0x1f9)]>0x0;}get[_0x46094c(0x1dc)](){const _0x1bf14e=_0x46094c;if(0x0==this[_0x1bf14e(0x1d2)][_0x1bf14e(0x1ff)])return!0x1;return 0x6==Array[_0x1bf14e(0x1be)](this[_0x1bf14e(0x1d2)])[0x0][_0x1bf14e(0x205)](':')[_0x1bf14e(0x1f9)];}get[_0x46094c(0x1d8)](){const _0x28b1dc=_0x46094c;return null!==this[_0x28b1dc(0x1c3)]();}[_0x46094c(0x1f2)](_0x1eff4b){const _0x383ba1=_0x46094c;this[_0x383ba1(0x1d2)][_0x383ba1(0x1ed)](_0x1eff4b);}[_0x46094c(0x208)](){const _0x3ac0ac=_0x46094c;return Array[_0x3ac0ac(0x1be)](this[_0x3ac0ac(0x1d2)]);}[_0x46094c(0x1c8)](){const _0x3a57a2=_0x46094c;return this[_0x3a57a2(0x208)]()[_0x3a57a2(0x1f7)](_0x42c5a3=>this[_0x3a57a2(0x1f5)][_0x3a57a2(0x1e5)][_0x3a57a2(0x209)](_0x42c5a3))[_0x3a57a2(0x20b)](_0x748d9f=>_0x748d9f);}[_0x46094c(0x1c3)](){const _0x4b0d9d=_0x46094c;return this[_0x4b0d9d(0x1c8)]()[0x0]||null;}[_0x46094c(0x1ca)](){const _0xefaef=_0x46094c;this[_0xefaef(0x1f5)][_0xefaef(0x1c2)](_0xbe16cb=>{const _0x39f277=_0xefaef;for(const _0x726180 of this[_0x39f277(0x1c8)]())_0xbe16cb[_0x39f277(0x1db)](_0x726180);}),this[_0xefaef(0x1d2)][_0xefaef(0x203)]();}[_0x46094c(0x1db)](_0x744f5b){const _0x5ea5b2=_0x46094c;this[_0x5ea5b2(0x1f5)][_0x5ea5b2(0x1c2)](_0xd2a203=>{const _0x396757=_0x5ea5b2;_0xd2a203[_0x396757(0x1db)](_0x744f5b);}),this[_0x5ea5b2(0x1d2)][_0x5ea5b2(0x1df)](_0x744f5b);}[_0x46094c(0x1eb)](_0x39822b){const _0x21ac3b=_0x46094c,_0x5f3cb5=_0x21ac3b(0x1fb)+this[_0x21ac3b(0x206)]+':'+this[_0x21ac3b(0x1bd)]+':'+this['id']+':'+this[_0x21ac3b(0x1cf)]['id']+':'+u[_0x21ac3b(0x1e3)]();this[_0x21ac3b(0x1f2)](_0x5f3cb5),this[_0x21ac3b(0x1f5)][_0x21ac3b(0x1c2)](_0x54185e=>{const _0x375f6d=_0x21ac3b;_0x54185e[_0x375f6d(0x1c5)](_0x5f3cb5,{'range':_0x39822b,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x46094c(0x1ce)](_0x18da8d){const _0x59f020=_0x46094c;for(const _0x4ce696 of this[_0x59f020(0x1d5)]())if(_0x4ce696[_0x59f020(0x1fd)](_0x18da8d))return!0x0;return!0x1;}[_0x46094c(0x1d5)](){const _0x3f4381=_0x46094c;return this[_0x3f4381(0x1c8)]()[_0x3f4381(0x1f7)](_0x27406f=>_0x27406f[_0x3f4381(0x1f3)]());}[_0x46094c(0x1c0)](){const _0x42840d=_0x46094c;return this[_0x42840d(0x1d5)]()[_0x42840d(0x201)]((_0x477ca0,_0x177082)=>[..._0x477ca0,..._0x177082[_0x42840d(0x1c0)]()],[]);}[_0x46094c(0x1d9)](){const _0x456ea1=_0x46094c;var _0x1eb44b;return(null===(_0x1eb44b=this[_0x456ea1(0x1c3)]())||void 0x0===_0x1eb44b?void 0x0:_0x1eb44b[_0x456ea1(0x1f3)]())||null;}[_0x46094c(0x1d7)](){const _0x570691=_0x46094c,_0x57417e=this[_0x570691(0x1d5)]();if(0x1!=_0x57417e[_0x570691(0x1f9)])return null;const _0x23d64d=_0x57417e[0x0],_0x778651=_0x23d64d[_0x570691(0x1da)][_0x570691(0x1ee)],_0xff5671=_0x23d64d[_0x570691(0x1e6)][_0x570691(0x1c4)];return _0x778651 instanceof _0x58d898?_0x778651!=_0xff5671?null:_0x778651:null;}[_0x46094c(0x1c7)](){const _0x32b323=_0x46094c;this[_0x32b323(0x1c6)](this[_0x32b323(0x1d5)](),this[_0x32b323(0x1d3)],this[_0x32b323(0x1e4)]),this[_0x32b323(0x1ca)]();}[_0x46094c(0x1de)](){const _0x2bfbdc=_0x46094c;this[_0x2bfbdc(0x1bf)](this[_0x2bfbdc(0x1d5)](),this[_0x2bfbdc(0x1d3)],this[_0x2bfbdc(0x1e4)]),this[_0x2bfbdc(0x1ca)]();}[_0x46094c(0x1e9)](){const _0x6edc0a=_0x46094c,_0x323353=[];let _0xc307d2=this[_0x6edc0a(0x1fa)];for(;_0xc307d2;)_0x323353[_0x6edc0a(0x207)](_0xc307d2),_0xc307d2=_0xc307d2[_0x6edc0a(0x200)];return _0x323353;}[_0x46094c(0x20a)](_0x5b9f7c,_0x3b1149){const _0x4cf691=_0x46094c,_0x184e35=_0x140e6f(this[_0x4cf691(0x1e4)]);_0x2b0377(_0x184e35,_0x5b9f7c,_0x3b1149),_0x1d5591(_0x184e35,this[_0x4cf691(0x1e4)])||(this[_0x4cf691(0x1e4)]=_0x184e35,this[_0x4cf691(0x1f8)](_0x184e35));}[_0x46094c(0x1fc)](_0x452b74){const _0x475e1f=_0x46094c,_0x44b1af=_0x140e6f(this[_0x475e1f(0x1e4)]);_0x2519d6(_0x44b1af,_0x452b74),_0x1d5591(_0x44b1af,this[_0x475e1f(0x1e4)])||(this[_0x475e1f(0x1e4)]=_0x44b1af,this[_0x475e1f(0x1f8)](this[_0x475e1f(0x1e4)]));}[_0x46094c(0x1ea)](){const _0xd84996=_0x46094c;return{'id':this['id'],'type':this[_0xd84996(0x1bd)]?this[_0xd84996(0x206)]+':'+this[_0xd84996(0x1bd)]:this[_0xd84996(0x206)],'authorId':this[_0xd84996(0x1cf)]['id'],'createdAt':this[_0xd84996(0x1e7)],'hasComments':this[_0xd84996(0x1cb)],'data':this[_0xd84996(0x1d3)],'attributes':this[_0xd84996(0x1e4)]};}static[_0x46094c(0x1e3)](){const _0x2d5812=_0x46094c;return _0x5ba9d8()[_0x2d5812(0x1fe)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xe229(){const _0x391838=['*Split:*\x20%0','skip','addContainer','getFirstRange','function','*Remove:*\x20%0','label','_handleCustomCallbackDescription','6063534owHYpW','removeFormat','attribute','insertion','$1\x20$2','_handleInsertRemoveSuggestionDescription','_itemLabels','remove','172535PWgqUW','_customCallbacks','addObject','push','ELEMENT_SPACE','Object','REPLACE_TEXT','_handleAttributeSuggestionDescription','length','registerElementLabel','end','pop','match','get','_attributeLabels','key','*Insert:*\x20%0','quantity','data','format','replace','item','set','getDescriptions','softBreak','_resolveDescriptionItems','matchingCallback','elementEnd','EmptyContainer','*Merge:*\x20%0','Container','isObject','*Set\x20format:*\x20%0','230712AjLajN','name','nextSibling','subType','removeContainer','join','_schema','start','elementStart','$text','registerDescriptionCallback','addEmptyContainer','type','getWalker','removeObject','removeEmptyContainer','element','addFormat','nodeAfter','add','indexOf','isEqual','checkChild','*Remove\x20format:*\x20%0','2689127KsBMjT','12bqTxKS','_locale','1943000rVyXHm','isEmpty','has','_addDescriptionItems','registerAttributeLabel','2081349qJoHYv','newValue','4ouewYI','getItemLabel','normal','deletion','$textProxy','_itemLabelsCallbacks','previousSibling','map','text','isInContent','_handleRenameSuggestionDescription','*Change\x20to:*\x20%0','862030gAJtNu'];_0xe229=function(){return _0x391838;};return _0xe229();}function _0x5d49(_0x18e854,_0x2068bb){const _0xe229cd=_0xe229();return _0x5d49=function(_0x5d4923,_0x4c39e4){_0x5d4923=_0x5d4923-0x197;let _0x5c9720=_0xe229cd[_0x5d4923];return _0x5c9720;},_0x5d49(_0x18e854,_0x2068bb);}const _0x80e789=_0x5d49;(function(_0xa42531,_0x979053){const _0xf9fd73=_0x5d49,_0x4c9a61=_0xa42531();while(!![]){try{const _0x54d4ec=parseInt(_0xf9fd73(0x1ae))/0x1+parseInt(_0xf9fd73(0x1ea))/0x2+parseInt(_0xf9fd73(0x1ef))/0x3*(-parseInt(_0xf9fd73(0x1f1))/0x4)+parseInt(_0xf9fd73(0x19d))/0x5+parseInt(_0xf9fd73(0x1e8))/0x6*(-parseInt(_0xf9fd73(0x1e7))/0x7)+parseInt(_0xf9fd73(0x1cf))/0x8+parseInt(_0xf9fd73(0x1a6))/0x9;if(_0x54d4ec===_0x979053)break;else _0x4c9a61['push'](_0x4c9a61['shift']());}catch(_0x1d1836){_0x4c9a61['push'](_0x4c9a61['shift']());}}}(_0xe229,0x87f65));import{getTranslation as _0x2dd220}from'./utils/common-translations.js';import{priorities as _0x47c8f2,insertToPriorityArray as _0x53c865}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xf95bb6}from'./trackchangesediting.js';export default class f{constructor(_0x16b633,_0xcf5eeb){const _0x1bfa1d=_0x5d49;this[_0x1bfa1d(0x1af)]=[],this[_0x1bfa1d(0x1ac)]=new Map(),this[_0x1bfa1d(0x1f6)]=[],this[_0x1bfa1d(0x1bc)]=new Map(),this[_0x1bfa1d(0x1d5)]=_0x16b633,this[_0x1bfa1d(0x1e9)]=_0xcf5eeb;}[_0x80e789(0x1c5)](_0x2e68a0){const _0x4fe70c=_0x80e789,_0x5acdc1=[],_0x3dd5bd=new Set(),_0x9db85d=new Set();for(let _0x414e59=0x0;_0x414e59<_0x2e68a0[_0x4fe70c(0x1b6)];_0x414e59++){const _0x33cefb=_0x2e68a0[_0x414e59];if(!_0x33cefb[_0x4fe70c(0x19a)])continue;const _0x126efc=this[_0x4fe70c(0x1a5)](_0x33cefb);if(_0x126efc){if(null!=_0x33cefb[_0x4fe70c(0x1d2)]){if(_0x3dd5bd[_0x4fe70c(0x1ec)](_0x33cefb[_0x4fe70c(0x1d2)]))continue;_0x3dd5bd[_0x4fe70c(0x1e2)](_0x33cefb[_0x4fe70c(0x1d2)]);}_0x5acdc1[_0x4fe70c(0x1b1)](_0x126efc);}else{if(_0x4fe70c(0x1a8)!=_0x33cefb[_0x4fe70c(0x1db)])_0x4fe70c(0x1a9)!=_0x33cefb[_0x4fe70c(0x1db)]&&_0x4fe70c(0x1f4)!=_0x33cefb[_0x4fe70c(0x1db)]||this[_0x4fe70c(0x1ab)](_0x5acdc1,_0x33cefb,_0x2e68a0[_0x414e59+0x1]);else{const _0xdfefe8=_0x33cefb[_0x4fe70c(0x1c0)][_0x4fe70c(0x1bd)];if(_0x9db85d[_0x4fe70c(0x1ec)](_0xdfefe8))continue;_0x9db85d[_0x4fe70c(0x1e2)](_0x33cefb[_0x4fe70c(0x1c0)][_0x4fe70c(0x1bd)]),_0xdfefe8==_0xf95bb6?this[_0x4fe70c(0x19b)](_0x5acdc1,_0x33cefb):this[_0x4fe70c(0x1b5)](_0x5acdc1,_0x33cefb);}}}return this[_0x4fe70c(0x1c7)](_0x5acdc1);}[_0x80e789(0x1d9)](_0x1e53b5){const _0x1d7780=_0x80e789;this[_0x1d7780(0x1af)][_0x1d7780(0x1b1)](_0x1e53b5);}[_0x80e789(0x1b7)](_0x425c5a,_0x3ab97f,_0x5b111d=_0x47c8f2[_0x80e789(0x1f3)]){const _0x5dcd71=_0x80e789;_0x5dcd71(0x1a2)==typeof _0x425c5a?_0x53c865(this[_0x5dcd71(0x1f6)],{'matchingCallback':_0x425c5a,'label':_0x3ab97f,'priority':_0x5b111d}):this[_0x5dcd71(0x1ac)][_0x5dcd71(0x1c4)](_0x425c5a,_0x3ab97f);}[_0x80e789(0x1ee)](_0x440deb,_0x40d9a3){const _0x587cb4=_0x80e789;this[_0x587cb4(0x1bc)][_0x587cb4(0x1c4)](_0x440deb,_0x40d9a3);}[_0x80e789(0x1f2)](_0x139538,_0x51f59d=0x1){const _0x3e44b1=_0x80e789;let _0x1a0639;for(const _0x2f73c9 of this[_0x3e44b1(0x1f6)])if(_0x2f73c9[_0x3e44b1(0x1c8)](_0x139538)){_0x1a0639=_0x2f73c9[_0x3e44b1(0x1a4)];break;}return _0x1a0639||(_0x1a0639=this[_0x3e44b1(0x1ac)][_0x3e44b1(0x1bb)](_0x139538[_0x3e44b1(0x1d0)])),_0x1a0639?_0x1a0639(_0x51f59d):0x1!==_0x51f59d?_0x51f59d+'\x20'+_0x139538[_0x3e44b1(0x1d0)]+'s':''+_0x139538[_0x3e44b1(0x1d0)];}[_0x80e789(0x1ed)](_0x420869,_0x275c6b){const _0x1bc3ba=_0x80e789,_0x1a7b22=_0x275c6b[_0x1bc3ba(0x1a1)]()[_0x1bc3ba(0x1dc)](),_0x59c040=_0x1bc3ba(0x1a9)==_0x275c6b[_0x1bc3ba(0x1db)]?_0x1bc3ba(0x1e2):_0x1bc3ba(0x1ad);for(const _0x5ded5b of _0x1a7b22){const _0x5b5a85=_0x5ded5b[_0x1bc3ba(0x1c3)],_0x4fe1ba=_0x420869[_0x420869[_0x1bc3ba(0x1b6)]-0x1];if(_0x5b5a85['is'](_0x1bc3ba(0x1f5)))_0x4fe1ba&&_0x4fe1ba[_0x1bc3ba(0x1db)][_0x1bc3ba(0x1e3)](_0x1bc3ba(0x1cc))>-0x1&&_0x420869[_0x1bc3ba(0x1b9)](),_0x4fe1ba&&_0x1bc3ba(0x199)==_0x4fe1ba[_0x1bc3ba(0x1db)]?_0x4fe1ba[_0x59c040]+=_0x5b5a85[_0x1bc3ba(0x1c0)]:_0x420869[_0x1bc3ba(0x1b1)]({'type':_0x1bc3ba(0x199),'add':_0x1bc3ba(0x1e2)==_0x59c040?_0x5b5a85[_0x1bc3ba(0x1c0)]:'','remove':_0x1bc3ba(0x1ad)==_0x59c040?_0x5b5a85[_0x1bc3ba(0x1c0)]:''});else{if(this[_0x1bc3ba(0x1d5)][_0x1bc3ba(0x1cd)](_0x5b5a85)){const _0x17237a=_0x5b5a85;if(_0x4fe1ba&&_0x4fe1ba[_0x1bc3ba(0x1db)][_0x1bc3ba(0x1e3)](_0x1bc3ba(0x1cc))>-0x1&&_0x420869[_0x1bc3ba(0x1b9)](),_0x1bc3ba(0x1c9)==_0x5ded5b[_0x1bc3ba(0x1db)])continue;_0x4fe1ba&&_0x4fe1ba[_0x1bc3ba(0x1db)]==_0x59c040+_0x1bc3ba(0x1b3)&&_0x4fe1ba[_0x1bc3ba(0x1df)][_0x1bc3ba(0x1d0)]==_0x17237a[_0x1bc3ba(0x1d0)]?_0x4fe1ba[_0x1bc3ba(0x1bf)]++:_0x420869[_0x1bc3ba(0x1b1)]({'type':_0x59c040+_0x1bc3ba(0x1b3),'element':_0x17237a,'quantity':0x1}),_0x1a7b22[_0x1bc3ba(0x19f)](_0xa5a70d=>!(_0x1bc3ba(0x1c9)==_0xa5a70d[_0x1bc3ba(0x1db)]&&_0xa5a70d[_0x1bc3ba(0x1c3)]==_0x5b5a85));}else{if(this[_0x1bc3ba(0x1d5)][_0x1bc3ba(0x1e5)](_0x5b5a85,_0x1bc3ba(0x1d8))||_0x5b5a85['is'](_0x1bc3ba(0x1df),_0x1bc3ba(0x1c6))){const _0x42edc0=_0x5b5a85;if(_0x1bc3ba(0x1e2)==_0x59c040&&_0x1bc3ba(0x1d7)==_0x5ded5b[_0x1bc3ba(0x1db)]||_0x1bc3ba(0x1ad)==_0x59c040&&_0x1bc3ba(0x1c9)==_0x5ded5b[_0x1bc3ba(0x1db)])continue;if(_0x4fe1ba&&-0x1==_0x4fe1ba[_0x1bc3ba(0x1db)][_0x1bc3ba(0x1e3)](_0x1bc3ba(0x1cc))){_0x1bc3ba(0x199)==_0x4fe1ba[_0x1bc3ba(0x1db)]&&(_0x4fe1ba[_0x59c040]+='\x0a');continue;}let _0x2e7184;if(_0x2e7184=_0x1bc3ba(0x1e2)==_0x59c040?_0x42edc0[_0x1bc3ba(0x1d1)]&&!this[_0x1bc3ba(0x1d5)][_0x1bc3ba(0x1cd)](_0x42edc0[_0x1bc3ba(0x1d1)])?_0x42edc0[_0x1bc3ba(0x1d1)]:null:_0x42edc0[_0x1bc3ba(0x197)]&&!this[_0x1bc3ba(0x1d5)][_0x1bc3ba(0x1cd)](_0x42edc0[_0x1bc3ba(0x197)])?_0x42edc0[_0x1bc3ba(0x197)]:null,_0x42edc0[_0x1bc3ba(0x1eb)]||_0x2e7184&&_0x2e7184[_0x1bc3ba(0x1eb)]){const _0x54e33d=_0x2e7184&&_0x2e7184[_0x1bc3ba(0x1eb)]?_0x2e7184:_0x42edc0;_0x4fe1ba&&_0x4fe1ba[_0x1bc3ba(0x1db)]==_0x59c040+_0x1bc3ba(0x1ca)&&_0x4fe1ba[_0x1bc3ba(0x1df)][_0x1bc3ba(0x1d0)]==_0x54e33d[_0x1bc3ba(0x1d0)]?_0x4fe1ba[_0x1bc3ba(0x1bf)]++:_0x420869[_0x1bc3ba(0x1b1)]({'type':_0x59c040+_0x1bc3ba(0x1ca),'element':_0x54e33d,'quantity':0x1});}else _0x420869[_0x1bc3ba(0x1b1)]({'type':_0x59c040+_0x1bc3ba(0x1cc),'element':_0x42edc0});}}}}}[_0x80e789(0x1c7)](_0x223009){const _0x1a9afb=_0x80e789,_0x8d7bcf=this[_0x1a9afb(0x1e9)],_0x59331c=[],_0x456b59=[],_0x57b86c=[];for(const _0x4cde71 of _0x223009)switch(_0x4cde71[_0x1a9afb(0x1db)]){case _0x1a9afb(0x199):if(_0x4cde71[_0x1a9afb(0x1e2)]=_0x4cde71[_0x1a9afb(0x1e2)][_0x1a9afb(0x1c2)](/(\S)\u000A+(\S)/g,_0x1a9afb(0x1aa))[_0x1a9afb(0x1c2)](/\u000A/g,''),_0x4cde71[_0x1a9afb(0x1ad)]=_0x4cde71[_0x1a9afb(0x1ad)][_0x1a9afb(0x1c2)](/(\S)\u000A+(\S)/g,_0x1a9afb(0x1aa))[_0x1a9afb(0x1c2)](/\u000A/g,''),''!=_0x4cde71[_0x1a9afb(0x1e2)]&&''!=_0x4cde71[_0x1a9afb(0x1ad)]){_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1c2),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1b4),['\x22'+_0x4cde71[_0x1a9afb(0x1ad)]+'\x22','\x22'+_0x4cde71[_0x1a9afb(0x1e2)]+'\x22'])});continue;}if(null!=_0x4cde71[_0x1a9afb(0x1e2)][_0x1a9afb(0x1ba)](/^ +$/)){_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1a9),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1be),_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1b2),_0x4cde71[_0x1a9afb(0x1e2)][_0x1a9afb(0x1b6)]))});continue;}if(null!=_0x4cde71[_0x1a9afb(0x1ad)][_0x1a9afb(0x1ba)](/^ +$/)){_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1f4),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1a3),_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1b2),_0x4cde71[_0x1a9afb(0x1ad)][_0x1a9afb(0x1b6)]))});continue;}if(''!=_0x4cde71[_0x1a9afb(0x1e2)]){_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1a9),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1be),'\x22'+_0x4cde71[_0x1a9afb(0x1e2)]+'\x22')});continue;}_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1f4),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1a3),'\x22'+_0x4cde71[_0x1a9afb(0x1ad)]+'\x22')});continue;case _0x1a9afb(0x1da):case _0x1a9afb(0x1b0):_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1a9),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1be),this[_0x1a9afb(0x1f2)](_0x4cde71[_0x1a9afb(0x1df)],_0x4cde71[_0x1a9afb(0x1bf)]))});continue;case _0x1a9afb(0x1de):case _0x1a9afb(0x1dd):_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1f4),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1a3),this[_0x1a9afb(0x1f2)](_0x4cde71[_0x1a9afb(0x1df)],_0x4cde71[_0x1a9afb(0x1bf)]))});continue;case _0x1a9afb(0x1a0):_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1a9),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x19e),this[_0x1a9afb(0x1f2)](_0x4cde71[_0x1a9afb(0x1df)],_0x4cde71[_0x1a9afb(0x1bf)]))});continue;case _0x1a9afb(0x1d3):_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1f4),'content':_0x2dd220(_0x8d7bcf,_0x1a9afb(0x1cb),this[_0x1a9afb(0x1f2)](_0x4cde71[_0x1a9afb(0x1df)],_0x4cde71[_0x1a9afb(0x1bf)]))});continue;case _0x1a9afb(0x1e0):_0x456b59[_0x1a9afb(0x1b1)](_0x4cde71[_0x1a9afb(0x1bd)]);continue;case _0x1a9afb(0x1a7):_0x57b86c[_0x1a9afb(0x1b1)](_0x4cde71[_0x1a9afb(0x1bd)]);continue;default:_0x59331c[_0x1a9afb(0x1b1)](_0x4cde71);}if(_0x456b59[_0x1a9afb(0x1b6)]){const _0x3ab431=_0x456b59[_0x1a9afb(0x198)](_0x1c2151=>this[_0x1a9afb(0x1bc)][_0x1a9afb(0x1ec)](_0x1c2151)?this[_0x1a9afb(0x1bc)][_0x1a9afb(0x1bb)](_0x1c2151):_0x1c2151)[_0x1a9afb(0x1d4)](',\x20');_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1c1),'content':_0x2dd220(this[_0x1a9afb(0x1e9)],_0x1a9afb(0x1ce),_0x3ab431)});}if(_0x57b86c[_0x1a9afb(0x1b6)]){const _0x2f0537=_0x57b86c[_0x1a9afb(0x198)](_0x24b951=>this[_0x1a9afb(0x1bc)][_0x1a9afb(0x1ec)](_0x24b951)?this[_0x1a9afb(0x1bc)][_0x1a9afb(0x1bb)](_0x24b951):_0x24b951)[_0x1a9afb(0x1d4)](',\x20');_0x59331c[_0x1a9afb(0x1b1)]({'type':_0x1a9afb(0x1c1),'content':_0x2dd220(this[_0x1a9afb(0x1e9)],_0x1a9afb(0x1e6),_0x2f0537)});}return _0x59331c;}[_0x80e789(0x1a5)](_0x29228c){const _0x55bd67=_0x80e789;for(const _0x21940e of this[_0x55bd67(0x1af)]){const _0x150fdb=_0x21940e(_0x29228c);if(_0x150fdb&&_0x55bd67(0x1db)in _0x150fdb)return _0x150fdb;}}[_0x80e789(0x1b5)](_0x36fe60,_0x396f4b){const _0x14ad3e=_0x80e789,_0x1ad43e=_0x396f4b[_0x14ad3e(0x1c0)],_0x50da97=void 0x0===_0x1ad43e[_0x14ad3e(0x1f0)]?_0x14ad3e(0x1a7):_0x14ad3e(0x1e0);_0x36fe60[_0x14ad3e(0x1b1)]({'type':_0x50da97,'key':_0x1ad43e[_0x14ad3e(0x1bd)]});}[_0x80e789(0x19b)](_0x4212ec,_0x2b07d1){const _0x53d9d1=_0x80e789;_0x4212ec[_0x53d9d1(0x1b1)]({'type':_0x53d9d1(0x1c1),'content':_0x2dd220(this[_0x53d9d1(0x1e9)],_0x53d9d1(0x19c),this[_0x53d9d1(0x1f2)](_0x2b07d1[_0x53d9d1(0x1a1)]()[_0x53d9d1(0x1d6)][_0x53d9d1(0x1e1)],0x1))});}[_0x80e789(0x1ab)](_0x4883ca,_0x3fd424,_0x5bf6f2){const _0x2a8539=_0x80e789;if(this[_0x2a8539(0x1ed)](_0x4883ca,_0x3fd424),_0x5bf6f2&&_0x5bf6f2[_0x2a8539(0x1a1)]()&&!_0x3fd424[_0x2a8539(0x1a1)]()[_0x2a8539(0x1b8)][_0x2a8539(0x1e4)](_0x5bf6f2[_0x2a8539(0x1a1)]()[_0x2a8539(0x1d6)])){const _0x4f4bf5=_0x4883ca[_0x4883ca[_0x2a8539(0x1b6)]-0x1],_0x31b230=_0x2a8539(0x1a9)==_0x3fd424[_0x2a8539(0x1db)]?_0x2a8539(0x1e2):_0x2a8539(0x1ad);_0x4f4bf5&&_0x2a8539(0x199)==_0x4f4bf5[_0x2a8539(0x1db)]&&(_0x4f4bf5[_0x31b230]+='\x0a');}}}
|
|
23
|
+
function _0x4936(){const _0x513c36=['insertion','attribute','36bxTjET','12MFyXgB','1jRuaXd','checkChild','$text','_resolveDescriptionItems','*Insert:*\x20%0','_attributeLabels','isEqual','get','registerAttributeLabel','previousSibling','$textProxy','set','text','elementEnd','_handleRenameSuggestionDescription','registerElementLabel','deletion','isInContent','EmptyContainer','join','_handleCustomCallbackDescription','removeFormat','7763RZZZlm','item','newValue','addContainer','*Merge:*\x20%0','remove','*Set\x20format:*\x20%0','getItemLabel','addFormat','addEmptyContainer','106835TrxGXs','matchingCallback','_handleInsertRemoveSuggestionDescription','replace','match','_handleAttributeSuggestionDescription','6432008glydJm','addObject','getFirstRange','removeEmptyContainer','removeObject','Object','map','registerDescriptionCallback','_customCallbacks','skip','22995MesNZu','getWalker','863665mghGJr','$1\x20$2','isEmpty','*Remove:*\x20%0','quantity','indexOf','type','*Change\x20to:*\x20%0','Container','elementStart','key','has','add','3940xMNyRR','isObject','subType','_itemLabelsCallbacks','_itemLabels','element','1061895zBbxMR','*Remove\x20format:*\x20%0','length','data','_schema','*Split:*\x20%0','_addDescriptionItems','176VKGyCd','removeContainer','name','function','push','ELEMENT_SPACE','nextSibling','label','start','141842zxZygS','format','end','pop','REPLACE_TEXT','nodeAfter','_locale','getDescriptions','softBreak','normal'];_0x4936=function(){return _0x513c36;};return _0x4936();}function _0x4de4(_0x2b5341,_0x16ff1e){const _0x4936df=_0x4936();return _0x4de4=function(_0x4de4c1,_0xbcca0c){_0x4de4c1=_0x4de4c1-0x92;let _0x322cfe=_0x4936df[_0x4de4c1];return _0x322cfe;},_0x4de4(_0x2b5341,_0x16ff1e);}const _0x5c7ed1=_0x4de4;(function(_0x5cd0cc,_0x47aecc){const _0x3b10fb=_0x4de4,_0x56c639=_0x5cd0cc();while(!![]){try{const _0x47405d=-parseInt(_0x3b10fb(0x9d))/0x1*(-parseInt(_0x3b10fb(0xf2))/0x2)+parseInt(_0x3b10fb(0xe2))/0x3+parseInt(_0x3b10fb(0xc3))/0x4+-parseInt(_0x3b10fb(0xbd))/0x5*(parseInt(_0x3b10fb(0x9b))/0x6)+parseInt(_0x3b10fb(0xb3))/0x7*(parseInt(_0x3b10fb(0xe9))/0x8)+parseInt(_0x3b10fb(0xcd))/0x9*(-parseInt(_0x3b10fb(0xdc))/0xa)+parseInt(_0x3b10fb(0xcf))/0xb*(-parseInt(_0x3b10fb(0x9c))/0xc);if(_0x47405d===_0x47aecc)break;else _0x56c639['push'](_0x56c639['shift']());}catch(_0x4c0292){_0x56c639['push'](_0x56c639['shift']());}}}(_0x4936,0xce07b));import{getTranslation as _0x46cda1}from'./utils/common-translations.js';import{priorities as _0x17cbcc,insertToPriorityArray as _0x5557ea}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x15e58c}from'./trackchangesediting.js';export default class f{constructor(_0x4e2f70,_0x3521e4){const _0xc7fda6=_0x4de4;this[_0xc7fda6(0xcb)]=[],this[_0xc7fda6(0xe0)]=new Map(),this[_0xc7fda6(0xdf)]=[],this[_0xc7fda6(0xa2)]=new Map(),this[_0xc7fda6(0xe6)]=_0x4e2f70,this[_0xc7fda6(0x95)]=_0x3521e4;}[_0x5c7ed1(0x96)](_0x1cada0){const _0x2a4587=_0x5c7ed1,_0x5490f7=[],_0x5d3ea3=new Set(),_0x4bb39b=new Set();for(let _0x59d9e5=0x0;_0x59d9e5<_0x1cada0[_0x2a4587(0xe4)];_0x59d9e5++){const _0x3b2416=_0x1cada0[_0x59d9e5];if(!_0x3b2416[_0x2a4587(0xae)])continue;const _0x1eb1c6=this[_0x2a4587(0xb1)](_0x3b2416);if(_0x1eb1c6){if(null!=_0x3b2416[_0x2a4587(0xde)]){if(_0x5d3ea3[_0x2a4587(0xda)](_0x3b2416[_0x2a4587(0xde)]))continue;_0x5d3ea3[_0x2a4587(0xdb)](_0x3b2416[_0x2a4587(0xde)]);}_0x5490f7[_0x2a4587(0xed)](_0x1eb1c6);}else{if(_0x2a4587(0x9a)!=_0x3b2416[_0x2a4587(0xd5)])_0x2a4587(0x99)!=_0x3b2416[_0x2a4587(0xd5)]&&_0x2a4587(0xad)!=_0x3b2416[_0x2a4587(0xd5)]||this[_0x2a4587(0xbf)](_0x5490f7,_0x3b2416,_0x1cada0[_0x59d9e5+0x1]);else{const _0x4d086f=_0x3b2416[_0x2a4587(0xe5)][_0x2a4587(0xd9)];if(_0x4bb39b[_0x2a4587(0xda)](_0x4d086f))continue;_0x4bb39b[_0x2a4587(0xdb)](_0x3b2416[_0x2a4587(0xe5)][_0x2a4587(0xd9)]),_0x4d086f==_0x15e58c?this[_0x2a4587(0xab)](_0x5490f7,_0x3b2416):this[_0x2a4587(0xc2)](_0x5490f7,_0x3b2416);}}}return this[_0x2a4587(0xa0)](_0x5490f7);}[_0x5c7ed1(0xca)](_0x41b4e7){const _0x159fb0=_0x5c7ed1;this[_0x159fb0(0xcb)][_0x159fb0(0xed)](_0x41b4e7);}[_0x5c7ed1(0xac)](_0x22f5e4,_0xf89d46,_0x2490d9=_0x17cbcc[_0x5c7ed1(0x98)]){const _0x113b65=_0x5c7ed1;_0x113b65(0xec)==typeof _0x22f5e4?_0x5557ea(this[_0x113b65(0xdf)],{'matchingCallback':_0x22f5e4,'label':_0xf89d46,'priority':_0x2490d9}):this[_0x113b65(0xe0)][_0x113b65(0xa8)](_0x22f5e4,_0xf89d46);}[_0x5c7ed1(0xa5)](_0x539e81,_0x2879b8){const _0x2accfe=_0x5c7ed1;this[_0x2accfe(0xa2)][_0x2accfe(0xa8)](_0x539e81,_0x2879b8);}[_0x5c7ed1(0xba)](_0x3f3903,_0x5c3980=0x1){const _0x2fc5db=_0x5c7ed1;let _0x4f2b05;for(const _0x7c0946 of this[_0x2fc5db(0xdf)])if(_0x7c0946[_0x2fc5db(0xbe)](_0x3f3903)){_0x4f2b05=_0x7c0946[_0x2fc5db(0xf0)];break;}return _0x4f2b05||(_0x4f2b05=this[_0x2fc5db(0xe0)][_0x2fc5db(0xa4)](_0x3f3903[_0x2fc5db(0xeb)])),_0x4f2b05?_0x4f2b05(_0x5c3980):0x1!==_0x5c3980?_0x5c3980+'\x20'+_0x3f3903[_0x2fc5db(0xeb)]+'s':''+_0x3f3903[_0x2fc5db(0xeb)];}[_0x5c7ed1(0xe8)](_0x544f59,_0x2a99e6){const _0x542333=_0x5c7ed1,_0x5eb952=_0x2a99e6[_0x542333(0xc5)]()[_0x542333(0xce)](),_0x50d499=_0x542333(0x99)==_0x2a99e6[_0x542333(0xd5)]?_0x542333(0xdb):_0x542333(0xb8);for(const _0x15b6f1 of _0x5eb952){const _0x358992=_0x15b6f1[_0x542333(0xb4)],_0x2dc0d9=_0x544f59[_0x544f59[_0x542333(0xe4)]-0x1];if(_0x358992['is'](_0x542333(0xa7)))_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))>-0x1&&_0x544f59[_0x542333(0x92)](),_0x2dc0d9&&_0x542333(0xa9)==_0x2dc0d9[_0x542333(0xd5)]?_0x2dc0d9[_0x50d499]+=_0x358992[_0x542333(0xe5)]:_0x544f59[_0x542333(0xed)]({'type':_0x542333(0xa9),'add':_0x542333(0xdb)==_0x50d499?_0x358992[_0x542333(0xe5)]:'','remove':_0x542333(0xb8)==_0x50d499?_0x358992[_0x542333(0xe5)]:''});else{if(this[_0x542333(0xe6)][_0x542333(0xdd)](_0x358992)){const _0x51135e=_0x358992;if(_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))>-0x1&&_0x544f59[_0x542333(0x92)](),_0x542333(0xaa)==_0x15b6f1[_0x542333(0xd5)])continue;_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)]==_0x50d499+_0x542333(0xc8)&&_0x2dc0d9[_0x542333(0xe1)][_0x542333(0xeb)]==_0x51135e[_0x542333(0xeb)]?_0x2dc0d9[_0x542333(0xd3)]++:_0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xc8),'element':_0x51135e,'quantity':0x1}),_0x5eb952[_0x542333(0xcc)](_0x2c0791=>!(_0x542333(0xaa)==_0x2c0791[_0x542333(0xd5)]&&_0x2c0791[_0x542333(0xb4)]==_0x358992));}else{if(this[_0x542333(0xe6)][_0x542333(0x9e)](_0x358992,_0x542333(0x9f))||_0x358992['is'](_0x542333(0xe1),_0x542333(0x97))){const _0x4e44b3=_0x358992;if(_0x542333(0xdb)==_0x50d499&&_0x542333(0xd8)==_0x15b6f1[_0x542333(0xd5)]||_0x542333(0xb8)==_0x50d499&&_0x542333(0xaa)==_0x15b6f1[_0x542333(0xd5)])continue;if(_0x2dc0d9&&-0x1==_0x2dc0d9[_0x542333(0xd5)][_0x542333(0xd4)](_0x542333(0xd7))){_0x542333(0xa9)==_0x2dc0d9[_0x542333(0xd5)]&&(_0x2dc0d9[_0x50d499]+='\x0a');continue;}let _0x3bb1f5;if(_0x3bb1f5=_0x542333(0xdb)==_0x50d499?_0x4e44b3[_0x542333(0xef)]&&!this[_0x542333(0xe6)][_0x542333(0xdd)](_0x4e44b3[_0x542333(0xef)])?_0x4e44b3[_0x542333(0xef)]:null:_0x4e44b3[_0x542333(0xa6)]&&!this[_0x542333(0xe6)][_0x542333(0xdd)](_0x4e44b3[_0x542333(0xa6)])?_0x4e44b3[_0x542333(0xa6)]:null,_0x4e44b3[_0x542333(0xd1)]||_0x3bb1f5&&_0x3bb1f5[_0x542333(0xd1)]){const _0x5ead22=_0x3bb1f5&&_0x3bb1f5[_0x542333(0xd1)]?_0x3bb1f5:_0x4e44b3;_0x2dc0d9&&_0x2dc0d9[_0x542333(0xd5)]==_0x50d499+_0x542333(0xaf)&&_0x2dc0d9[_0x542333(0xe1)][_0x542333(0xeb)]==_0x5ead22[_0x542333(0xeb)]?_0x2dc0d9[_0x542333(0xd3)]++:_0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xaf),'element':_0x5ead22,'quantity':0x1});}else _0x544f59[_0x542333(0xed)]({'type':_0x50d499+_0x542333(0xd7),'element':_0x4e44b3});}}}}}[_0x5c7ed1(0xa0)](_0x495661){const _0x393444=_0x5c7ed1,_0x31880a=this[_0x393444(0x95)],_0x37e491=[],_0x472205=[],_0x43be47=[];for(const _0x432fe4 of _0x495661)switch(_0x432fe4[_0x393444(0xd5)]){case _0x393444(0xa9):if(_0x432fe4[_0x393444(0xdb)]=_0x432fe4[_0x393444(0xdb)][_0x393444(0xc0)](/(\S)\u000A+(\S)/g,_0x393444(0xd0))[_0x393444(0xc0)](/\u000A/g,''),_0x432fe4[_0x393444(0xb8)]=_0x432fe4[_0x393444(0xb8)][_0x393444(0xc0)](/(\S)\u000A+(\S)/g,_0x393444(0xd0))[_0x393444(0xc0)](/\u000A/g,''),''!=_0x432fe4[_0x393444(0xdb)]&&''!=_0x432fe4[_0x393444(0xb8)]){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xc0),'content':_0x46cda1(_0x31880a,_0x393444(0x93),['\x22'+_0x432fe4[_0x393444(0xb8)]+'\x22','\x22'+_0x432fe4[_0x393444(0xdb)]+'\x22'])});continue;}if(null!=_0x432fe4[_0x393444(0xdb)][_0x393444(0xc1)](/^ +$/)){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),_0x46cda1(_0x31880a,_0x393444(0xee),_0x432fe4[_0x393444(0xdb)][_0x393444(0xe4)]))});continue;}if(null!=_0x432fe4[_0x393444(0xb8)][_0x393444(0xc1)](/^ +$/)){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),_0x46cda1(_0x31880a,_0x393444(0xee),_0x432fe4[_0x393444(0xb8)][_0x393444(0xe4)]))});continue;}if(''!=_0x432fe4[_0x393444(0xdb)]){_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),'\x22'+_0x432fe4[_0x393444(0xdb)]+'\x22')});continue;}_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),'\x22'+_0x432fe4[_0x393444(0xb8)]+'\x22')});continue;case _0x393444(0xbc):case _0x393444(0xc4):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xa1),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xc6):case _0x393444(0xc7):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xd2),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xb6):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0x99),'content':_0x46cda1(_0x31880a,_0x393444(0xe7),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xea):_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xad),'content':_0x46cda1(_0x31880a,_0x393444(0xb7),this[_0x393444(0xba)](_0x432fe4[_0x393444(0xe1)],_0x432fe4[_0x393444(0xd3)]))});continue;case _0x393444(0xbb):_0x472205[_0x393444(0xed)](_0x432fe4[_0x393444(0xd9)]);continue;case _0x393444(0xb2):_0x43be47[_0x393444(0xed)](_0x432fe4[_0x393444(0xd9)]);continue;default:_0x37e491[_0x393444(0xed)](_0x432fe4);}if(_0x472205[_0x393444(0xe4)]){const _0x1830cf=_0x472205[_0x393444(0xc9)](_0x35dc11=>this[_0x393444(0xa2)][_0x393444(0xda)](_0x35dc11)?this[_0x393444(0xa2)][_0x393444(0xa4)](_0x35dc11):_0x35dc11)[_0x393444(0xb0)](',\x20');_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xf3),'content':_0x46cda1(this[_0x393444(0x95)],_0x393444(0xb9),_0x1830cf)});}if(_0x43be47[_0x393444(0xe4)]){const _0x24d4b4=_0x43be47[_0x393444(0xc9)](_0x358d11=>this[_0x393444(0xa2)][_0x393444(0xda)](_0x358d11)?this[_0x393444(0xa2)][_0x393444(0xa4)](_0x358d11):_0x358d11)[_0x393444(0xb0)](',\x20');_0x37e491[_0x393444(0xed)]({'type':_0x393444(0xf3),'content':_0x46cda1(this[_0x393444(0x95)],_0x393444(0xe3),_0x24d4b4)});}return _0x37e491;}[_0x5c7ed1(0xb1)](_0x448505){const _0x1c543c=_0x5c7ed1;for(const _0x43ad31 of this[_0x1c543c(0xcb)]){const _0xe7d923=_0x43ad31(_0x448505);if(_0xe7d923&&_0x1c543c(0xd5)in _0xe7d923)return _0xe7d923;}}[_0x5c7ed1(0xc2)](_0x20668b,_0x1f53fd){const _0xc6ec7e=_0x5c7ed1,_0x4c7d9a=_0x1f53fd[_0xc6ec7e(0xe5)],_0x432407=void 0x0===_0x4c7d9a[_0xc6ec7e(0xb5)]?_0xc6ec7e(0xb2):_0xc6ec7e(0xbb);_0x20668b[_0xc6ec7e(0xed)]({'type':_0x432407,'key':_0x4c7d9a[_0xc6ec7e(0xd9)]});}[_0x5c7ed1(0xab)](_0x52aa8f,_0x115864){const _0x17abc7=_0x5c7ed1;_0x52aa8f[_0x17abc7(0xed)]({'type':_0x17abc7(0xf3),'content':_0x46cda1(this[_0x17abc7(0x95)],_0x17abc7(0xd6),this[_0x17abc7(0xba)](_0x115864[_0x17abc7(0xc5)]()[_0x17abc7(0xf1)][_0x17abc7(0x94)],0x1))});}[_0x5c7ed1(0xbf)](_0x20ecdd,_0x3d3bb8,_0x428e3a){const _0x30b3ee=_0x5c7ed1;if(this[_0x30b3ee(0xe8)](_0x20ecdd,_0x3d3bb8),_0x428e3a&&_0x428e3a[_0x30b3ee(0xc5)]()&&!_0x3d3bb8[_0x30b3ee(0xc5)]()[_0x30b3ee(0xf4)][_0x30b3ee(0xa3)](_0x428e3a[_0x30b3ee(0xc5)]()[_0x30b3ee(0xf1)])){const _0x10b3a9=_0x20ecdd[_0x20ecdd[_0x30b3ee(0xe4)]-0x1],_0x36f27e=_0x30b3ee(0x99)==_0x3d3bb8[_0x30b3ee(0xd5)]?_0x30b3ee(0xdb):_0x30b3ee(0xb8);_0x10b3a9&&_0x30b3ee(0xa9)==_0x10b3a9[_0x30b3ee(0xd5)]&&(_0x10b3a9[_0x36f27e]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4314(_0x18968b,_0x25e62e){var _0x1695a4=_0x1695();return _0x4314=function(_0x431484,_0x1685d0){_0x431484=_0x431484-0x1f4;var _0x8fe513=_0x1695a4[_0x431484];return _0x8fe513;},_0x4314(_0x18968b,_0x25e62e);}var _0x450776=_0x4314;(function(_0x4c752b,_0x47ef29){var _0x57778c=_0x4314,_0x2c38b2=_0x4c752b();while(!![]){try{var _0x553aa0=parseInt(_0x57778c(0x209))/0x1*(parseInt(_0x57778c(0x1f5))/0x2)+parseInt(_0x57778c(0x206))/0x3+parseInt(_0x57778c(0x203))/0x4+-parseInt(_0x57778c(0x1fb))/0x5+parseInt(_0x57778c(0x1f4))/0x6*(parseInt(_0x57778c(0x204))/0x7)+parseInt(_0x57778c(0x1ff))/0x8+-parseInt(_0x57778c(0x1fa))/0x9*(parseInt(_0x57778c(0x200))/0xa);if(_0x553aa0===_0x47ef29)break;else _0x2c38b2['push'](_0x2c38b2['shift']());}catch(_0x3fa43c){_0x2c38b2['push'](_0x2c38b2['shift']());}}}(_0x1695,0x87e97));import{Plugin as _0x7fe30a}from'ckeditor5/src/core.js';import _0x5e1827 from'./trackchangesui.js';import _0x478303 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x1695(){var _0x1a1713=['4561125iMggTm','plugins','editor','getSuggestion','6640856lwCIej','838280btKLQn','addSuggestion','get','2249076bFATwA','28SIOIBK','getSuggestions','3163266qDiNUO','TrackChanges','requires','340277jBWtwL','1536096TTJWEp','4ITDrQe','addSuggestionData','Comments','adapter','pluginName','288gLOAkU'];_0x1695=function(){return _0x1a1713;};return _0x1695();}export default class k extends _0x7fe30a{static get[_0x450776(0x208)](){var _0x102c95=_0x450776;return[_0x478303,_0x5e1827,_0x102c95(0x1f7)];}static get[_0x450776(0x1f9)](){var _0x4c7e0d=_0x450776;return _0x4c7e0d(0x207);}set[_0x450776(0x1f8)](_0x5432d6){var _0x3d5ee2=_0x450776;this[_0x3d5ee2(0x1fd)][_0x3d5ee2(0x1fc)][_0x3d5ee2(0x202)](_0x478303)[_0x3d5ee2(0x1f8)]=_0x5432d6;}get[_0x450776(0x1f8)](){var _0x549432=_0x450776;return this[_0x549432(0x1fd)][_0x549432(0x1fc)][_0x549432(0x202)](_0x478303)[_0x549432(0x1f8)];}[_0x450776(0x201)](_0x49875c){var _0x43aff6=_0x450776;return this[_0x43aff6(0x1fd)][_0x43aff6(0x1fc)][_0x43aff6(0x202)](_0x478303)[_0x43aff6(0x1f6)](_0x49875c);}[_0x450776(0x205)]({skipNotAttached:_0x142b74=!0x1,toJSON:_0x582d2b=!0x1}={}){var _0x1e480a=_0x450776;return this[_0x1e480a(0x1fd)][_0x1e480a(0x1fc)][_0x1e480a(0x202)](_0x478303)[_0x1e480a(0x205)]({'skipNotAttached':_0x142b74,'toJSON':_0x582d2b});}[_0x450776(0x1fe)](_0x37ec9d){var _0x57c41b=_0x450776;return this[_0x57c41b(0x1fd)][_0x57c41b(0x1fc)][_0x57c41b(0x202)](_0x478303)[_0x57c41b(0x1fe)](_0x37ec9d);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4a75ed=_0x39e1;(function(_0x322a80,_0x3675ca){const _0x52ab31=_0x39e1,_0x15ae31=_0x322a80();while(!![]){try{const _0x5b6824=-parseInt(_0x52ab31(0x11e))/0x1+parseInt(_0x52ab31(0x11d))/0x2*(-parseInt(_0x52ab31(0x13e))/0x3)+parseInt(_0x52ab31(0x122))/0x4+parseInt(_0x52ab31(0x141))/0x5*(-parseInt(_0x52ab31(0x130))/0x6)+parseInt(_0x52ab31(0x127))/0x7+parseInt(_0x52ab31(0x123))/0x8*(parseInt(_0x52ab31(0x10f))/0x9)+parseInt(_0x52ab31(0x110))/0xa*(-parseInt(_0x52ab31(0x118))/0xb);if(_0x5b6824===_0x3675ca)break;else _0x15ae31['push'](_0x15ae31['shift']());}catch(_0xd9377){_0x15ae31['push'](_0x15ae31['shift']());}}}(_0x4f51,0x6c5c6));import{Plugin as _0x4b6bdc}from'ckeditor5/src/core.js';function _0x4f51(){const _0x2ec1de=['2CPLRsb','503712qjSlwL','map','editorCreator','div','1954176RmAfDs','8zOtUgZ','TrackChangesData','pluginName','getRootNames','5941838SENJot','useAnonymousUser','document','name','trackChangesData.editorCreator','discardAllSuggestions','push','model','appendChild','6OGnkEZ','getDataWithDiscardedSuggestions','acceptAllSuggestions','getRootsAttributes','_adapter','define','plugins','config','data','getSuggestions','track-changes-data-invalid-editor-creator','addSuggestionData','destroy','Users','1434753krQpyU','getDataWithAcceptedSuggestions','users','1570510anjXgv','create','getCommentThreads','Pagination','end','addUser','execute','rootsAttributes','editor','createDocumentFragment','CommentsRepository','set','get','TrackChangesDataGetter','trackChangesData','7437231HsZAAD','326020TVwuOb','getFullData','reduce','createElement','requires','addCommentThread','getUser','TrackChangesEditing','143tbpbUI','constructor','result','function','init'];_0x4f51=function(){return _0x2ec1de;};return _0x4f51();}import{CKEditorError as _0x40f843}from'ckeditor5/src/utils.js';import _0x1e0089 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x271cf3}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x4a75ed(0x144)];export default class P extends _0x4b6bdc{static get[_0x4a75ed(0x114)](){return[_0x1e0089];}static get[_0x4a75ed(0x125)](){const _0x377cbe=_0x4a75ed;return _0x377cbe(0x124);}[_0x4a75ed(0x11c)](){const _0x339a6c=_0x4a75ed,_0x68d0f3=this[_0x339a6c(0x108)];if(_0x68d0f3[_0x339a6c(0x137)][_0x339a6c(0x135)](_0x339a6c(0x12b),_0x11b43a=>{const _0x5db9f5=_0x339a6c,_0x2f4b4b=_0x68d0f3[_0x5db9f5(0x12e)][_0x5db9f5(0x129)][_0x5db9f5(0x126)]()[_0x5db9f5(0x112)]((_0x5d186e,_0x45c715)=>(_0x5d186e[_0x45c715]='',_0x5d186e),{});return _0x68d0f3[_0x5db9f5(0x119)][_0x5db9f5(0x142)](_0x2f4b4b,_0x11b43a);}),_0x339a6c(0x11b)!=typeof _0x68d0f3[_0x339a6c(0x137)][_0x339a6c(0x10c)](_0x339a6c(0x10e))[_0x339a6c(0x120)])throw new _0x40f843(_0x339a6c(0x13a));}[_0x4a75ed(0x13f)](_0x583e1b){const _0x147354=_0x4a75ed;return N(this[_0x147354(0x108)],!0x0,_0x583e1b);}[_0x4a75ed(0x131)](_0x4bf59a){const _0x5d5272=_0x4a75ed;return N(this[_0x5d5272(0x108)],!0x1,_0x4bf59a);}}class D extends _0x4b6bdc{static get[_0x4a75ed(0x125)](){const _0x1dab5f=_0x4a75ed;return _0x1dab5f(0x10d);}constructor(_0x3cb302){const _0x49fb07=_0x4a75ed;super(_0x3cb302),this[_0x49fb07(0x11a)]=_0x49fb07(0x145);}[_0x4a75ed(0x11c)](){const _0x4499e0=_0x4a75ed;this[_0x4499e0(0x108)][_0x4499e0(0x136)][_0x4499e0(0x10c)](_0x4499e0(0x10a))[_0x4499e0(0x134)]={'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[_0x4499e0(0x108)][_0x4499e0(0x136)][_0x4499e0(0x10c)](_0x4499e0(0x117))[_0x4499e0(0x134)]=null;}}function v(_0x1cb17f){const _0x5d1382=_0x4a75ed;return void 0x0!==_0x1cb17f[_0x5d1382(0x133)];}function _0x39e1(_0x100ea4,_0x2ccde6){const _0x4f5168=_0x4f51();return _0x39e1=function(_0x39e107,_0x302281){_0x39e107=_0x39e107-0x107;let _0x2f0eb6=_0x4f5168[_0x39e107];return _0x2f0eb6;},_0x39e1(_0x100ea4,_0x2ccde6);}async function N(_0x2155c1,_0x2822f8,_0x2c0ce5){const _0x2f030b=_0x4a75ed,_0x4e1ed2=_0x271cf3(_0x2155c1,T);_0x4e1ed2[_0x2f030b(0x136)][_0x2f030b(0x12d)](_0x1e0089,D),_0x4e1ed2[_0x2f030b(0x107)]=v(_0x2155c1)?_0x2155c1[_0x2f030b(0x133)]():void 0x0;const _0x283369=document[_0x2f030b(0x109)](),_0x40f6dc=_0x2155c1[_0x2f030b(0x137)][_0x2f030b(0x10c)](_0x2f030b(0x10e))[_0x2f030b(0x120)],_0x2a6567=await _0x40f6dc(_0x4e1ed2,()=>function(_0x4aa17d){const _0x5899aa=_0x2f030b,_0x494130=document[_0x5899aa(0x113)](_0x5899aa(0x121));return _0x4aa17d[_0x5899aa(0x12f)](_0x494130),_0x494130;}(_0x283369));!function(_0xc7cace,_0x310b4a){const _0x180031=_0x2f030b,_0x22c452=_0xc7cace[_0x180031(0x12e)][_0x180031(0x129)][_0x180031(0x126)]()[_0x180031(0x112)]((_0x1aa4f2,_0x54b890)=>(_0x1aa4f2[_0x54b890]=_0xc7cace[_0x180031(0x138)][_0x180031(0x10c)]({'rootName':_0x54b890}),_0x1aa4f2),{}),_0x16ffb0=_0xc7cace[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x13d))[_0x180031(0x140)][_0x180031(0x11f)](_0x21cfd0=>({'id':_0x21cfd0['id'],'name':_0x21cfd0[_0x180031(0x12a)]})),_0x4088f3=_0xc7cace[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x117))[_0x180031(0x139)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x313f5a=_0xc7cace[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x10a))[_0x180031(0x143)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4ecd0a=_0x310b4a[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x13d)),_0x572781=_0x310b4a[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x117)),_0xdd097d=_0x310b4a[_0x180031(0x136)][_0x180031(0x10c)](_0x180031(0x10a));for(const _0x169844 of _0x16ffb0)_0x4ecd0a[_0x180031(0x116)](_0x169844['id'])||_0x4ecd0a[_0x180031(0x146)](_0x169844);_0x4ecd0a['me']||_0x4ecd0a[_0x180031(0x128)]();for(const _0x4d0e8d of _0x313f5a)_0xdd097d[_0x180031(0x115)](_0x4d0e8d);for(const _0x189723 of _0x4088f3)_0x572781[_0x180031(0x13b)](_0x189723);_0x310b4a[_0x180031(0x138)][_0x180031(0x10b)](_0x22c452);}(_0x2155c1,_0x2a6567),_0x2a6567[_0x2f030b(0x147)](_0x2822f8?_0x2f030b(0x132):_0x2f030b(0x12c));const _0x4b70ff=v(_0x2a6567)?_0x2a6567[_0x2f030b(0x111)](_0x2c0ce5):_0x2a6567[_0x2f030b(0x138)][_0x2f030b(0x10c)](_0x2c0ce5);return await _0x2a6567[_0x2f030b(0x13c)](),_0x4b70ff;}
|