@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 25.4 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x55ff81=_0x1ab1;(function(_0x5f3eb3,_0x128953){const _0x13b2a3=_0x1ab1,_0x55df80=_0x5f3eb3();while(!![]){try{const _0x5cb062=-parseInt(_0x13b2a3(0x15d))/0x1+-parseInt(_0x13b2a3(0x178))/0x2+-parseInt(_0x13b2a3(0x1ca))/0x3*(parseInt(_0x13b2a3(0x1cc))/0x4)+parseInt(_0x13b2a3(0x180))/0x5+parseInt(_0x13b2a3(0x115))/0x6*(-parseInt(_0x13b2a3(0x159))/0x7)+parseInt(_0x13b2a3(0x10f))/0x8+parseInt(_0x13b2a3(0x1b7))/0x9*(parseInt(_0x13b2a3(0x1a6))/0xa);if(_0x5cb062===_0x128953)break;else _0x55df80['push'](_0x55df80['shift']());}catch(_0x57542d){_0x55df80['push'](_0x55df80['shift']());}}}(_0x1a25,0x9225f));import{getTranslation as _0x1e157e}from'../utils/common-translations.js';import{Plugin as _0x428faf}from'ckeditor5/src/core.js';import{LiveRange as _0x18b4e9}from'ckeditor5/src/engine.js';function _0x1a25(){const _0x490907=['table','_suggestionFactory','model','getRange','showSuggestionHighlights','createTableWalker','createRange','$graveyard','registerDescriptionCallback','isInContent','tableCellBorderWidth','remove','batch','tablePasteChainId','map','paste','*Replace\x20table\x20cells*','high','isEqual','suggestion','createElement','name','removeRows','low','elementToElement','rowInsertionIndexes','column','row','_isForcedDefaultExecutionBlock','end','selection','fromEntries','afterInit','containsRange','last','from','tablePasteColumn','createRangeOn','insertion','paragraph','join','8258145zZbJBj','editing','forceDefaultExecution','activeMarkers','532182xmAYiP','columnInsertionIndexes','discard','getAttributes','removeMarker','requires','tableCellHorizontalAlignment','oldRange','tablePasteRow','get','dataDowncast','getSuggestions','clipboardOutput','cells','endRow','getRowIndexes','includes','lowest','Users','updateMarker','_createdBatches','find','move','conversion','markers','getTableIfOnlyTableInContent','keys','2108608PjTiHd','nodeAfter','tableCellPadding','accept','markMultiRangeInsertion','previous','set','register','125150wpgazy','commands','getChild','insert','tableCellVerticalAlignment','has','newRange','plugins','suggestionLoaded','descriptionFactory','markerToHighlight','startsWith','columnInsertionRanges','detach','document','setAttribute','fill','first','columns','ck-suggestion-marker','view','reduce','return','isEmpty','rootName','type','getSelectedTableCells','for','_getCoordsForCells','some','registerPostFixer','every','content','endColumn','editor','suggestionUnloaded','getShiftedBy','schema','1610ilTSUh','locale','start','add','getAllAdjacentSuggestions','change','findAncestor','tablePaste','tableCellSuggestion','tableCellBorderColor','redo','cell','suggestion:formatBlock:tablePasteCell','filter','getSelectionAffectedTableCells','rows','tablePasteCell','182961xQKxcH','_tablePostFixingSubtypes','_replaceTableSlotCell','previousSibling','subType','suggestion-td','createRangeIn','method','createPositionBefore','author','hasSuggestion','getSuggestion','TrackChangesEditing','getItems','contentInsertion','TableClipboard','options','rowInsertionRanges','markerName','3vEArfv','insertRows','196028QdIwYV','value','TableSelection','fromRange','getColumnIndexes','trackChanges','insertColumns','position','ck-suggestion-marker-insertion','insertContent','ck-suggestion-marker--active','setAttributes','registerCustomCallback','element','getSuggestionCallback','getChangedMarkers','insertionRanges','markerAttributes','tableCell','unwrap','length','926816TQVslX','stop','tableCellBorderStyle','push','getColumns','getRows','6ZLgbVk','attributes','root','wrap','removeMarkers','getChildren','deletionRanges','documentSelection','tableCellBackgroundColor','next','removeColumns','editingDowncast','entries','TableUtils','formatBlock','getContainedElement','getMarkers','deletion','forEach','markMultiRangeDeletion','_splitMarkerName','markMultiRangeBlockFormat','getChanges','getRanges','nextSibling','differ','listenTo'];_0x1a25=function(){return _0x490907;};return _0x1a25();}import{uid as _0x34779c,priorities as _0x4fd897}from'ckeditor5/src/utils.js';import _0x3e38e5 from'./table.js';import{ClipboardPipeline as _0x4cb6fe}from'ckeditor5/src/clipboard.js';const xe=[_0x55ff81(0x13a),_0x55ff81(0x1af),_0x55ff81(0x111),_0x55ff81(0x163),_0x55ff81(0x184),_0x55ff81(0x11d),_0x55ff81(0x17a)],Oe=Object[_0x55ff81(0x14f)](xe[_0x55ff81(0x13e)](_0x57a5a5=>[_0x57a5a5,null]));export default class $t extends _0x428faf{static get[_0x55ff81(0x162)](){return[_0x3e38e5];}[_0x55ff81(0x150)](){const _0x226642=_0x55ff81,_0x220157=this[_0x226642(0x1a2)];if(!_0x220157[_0x226642(0x187)][_0x226642(0x185)](_0x226642(0x1c6)))return;const _0x1b7a34=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x226642(0x1c3)),_0x99f8c8=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x226642(0x122)),_0x13c431=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x3e38e5),_0x346ebf=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x226642(0x1c6)),_0x3f5497=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x226642(0x1ce)),_0x3e2e85=_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x4cb6fe);_0x13c431[_0x226642(0x1b8)][_0x226642(0x112)](_0x226642(0x165),_0x226642(0x154)),_0x220157[_0x226642(0x132)][_0x226642(0x1a5)][_0x226642(0x17f)](_0x226642(0x1ae),{'allowIn':_0x226642(0x1de),'allowContentOf':_0x226642(0x1de),'isLimit':!0x0}),_0x220157[_0x226642(0x174)][_0x226642(0x148)]({'model':_0x226642(0x1ae),'view':_0x226642(0x1bc)});let _0x1ec889=null,_0x44eadd=!0x1;_0x3e2e85['on'](_0x226642(0x1c5),(_0x28b197,_0x84edbf)=>{const _0x526b18=_0x226642;_0x44eadd=_0x526b18(0x13f)===_0x84edbf[_0x526b18(0x1be)];}),_0x220157[_0x226642(0x132)]['on'](_0x226642(0x1d5),(_0x160e63,_0x5e0baa)=>{const _0x201b59=_0x226642;if(!_0x44eadd&&null===_0x3f5497[_0x201b59(0x19a)]())return;const [_0x5a443d,_0x453d26]=_0x5e0baa,_0x36429b=_0x5e0baa[_0x5e0baa[_0x201b59(0x10e)]-0x1];_0x36429b&&_0x36429b[_0x201b59(0x15b)]||_0x1b7a34[_0x201b59(0x14c)]||this[_0x201b59(0x1a2)][_0x201b59(0x181)][_0x201b59(0x166)](_0x201b59(0x1d1))[_0x201b59(0x1cd)]&&function(_0xad8d97,_0x3cf945,_0x4ae71f,_0x3db227,_0x214aa6){const _0x4502cb=_0x201b59;if(_0x3cf945&&!_0x3cf945['is'](_0x4502cb(0x11c)))return!0x1;const _0x3833c5=_0x214aa6[_0x4502cb(0x176)](_0xad8d97,_0x4ae71f);if(!_0x3833c5||!De(_0x3833c5,void 0x0,_0x3db227))return!0x1;const _0x3219db=_0x3db227[_0x4502cb(0x1b4)](_0x4ae71f[_0x4502cb(0x18e)][_0x4502cb(0x14e)]);if(!_0x3219db[_0x4502cb(0x10e)])return!0x1;const _0x24aee1=_0x3219db[0x0][_0x4502cb(0x1ac)](_0x4502cb(0x130)),_0x3cb587=_0x3db227[_0x4502cb(0x16c)](_0x3219db),_0x270a7d=_0x3db227[_0x4502cb(0x1d0)](_0x3219db),_0x2d609d={'startRow':_0x3cb587[_0x4502cb(0x191)],'endRow':_0x3cb587[_0x4502cb(0x152)],'startColumn':_0x270a7d[_0x4502cb(0x191)],'endColumn':_0x270a7d[_0x4502cb(0x152)]};return 0x1==_0x3219db[_0x4502cb(0x10e)]&&(_0x2d609d[_0x4502cb(0x16b)]+=_0x3db227[_0x4502cb(0x114)](_0x3833c5)-0x1,_0x2d609d[_0x4502cb(0x1a1)]+=_0x3db227[_0x4502cb(0x113)](_0x3833c5)-0x1),De(_0x24aee1,_0x2d609d,_0x3db227);}(_0x5a443d,_0x453d26,_0x220157[_0x201b59(0x132)],_0x99f8c8,_0x346ebf)&&(_0x160e63[_0x201b59(0x110)](),_0x1ec889={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x220157[_0x201b59(0x132)][_0x201b59(0x1ab)](()=>{const _0x428cd5=_0x201b59;_0x220157[_0x428cd5(0x132)][_0x428cd5(0x1d5)](_0x5e0baa[0x0],_0x5e0baa[0x1],_0x5e0baa[0x2],{'forceDefaultExecution':!0x0});const _0x290fb3=_0x34779c(),{rowInsertionRanges:_0xbf1192,columnInsertionRanges:_0x5cedd3,insertionRanges:_0x117f71,deletionRanges:_0x2967a1,cells:_0x57e437}=_0x1ec889;_0xbf1192[_0x428cd5(0x10e)]&&_0x1b7a34[_0x428cd5(0x17c)](_0xbf1192,_0x428cd5(0x165),{'tablePasteChainId':_0x290fb3}),_0x5cedd3[_0x428cd5(0x10e)]&&_0x1b7a34[_0x428cd5(0x17c)](_0x5cedd3,_0x428cd5(0x154),{'tablePasteChainId':_0x290fb3}),_0x117f71[_0x428cd5(0x10e)]&&(_0x1b7a34[_0x428cd5(0x17c)](_0x117f71,_0x428cd5(0x1ad),{'tablePasteChainId':_0x290fb3,'skipNestingCheck':!0x0}),_0x117f71[_0x428cd5(0x127)](_0x47805e=>_0x47805e[_0x428cd5(0x18d)]?.())),_0x2967a1[_0x428cd5(0x10e)]&&(_0x1b7a34[_0x428cd5(0x128)](_0x2967a1,_0x428cd5(0x1ad),{'tablePasteChainId':_0x290fb3,'skipNestingCheck':!0x0}),_0x2967a1[_0x428cd5(0x127)](_0x32c665=>_0x32c665[_0x428cd5(0x18d)]?.()));const _0x1c074c=_0x1b7a34[_0x428cd5(0x12a)](_0x57e437[_0x428cd5(0x13e)](({element:_0x55e14d})=>_0x55e14d),{'formatGroupId':_0x34779c()},[],_0x428cd5(0x1b6),{'tablePasteChainId':_0x290fb3});if(_0x1c074c){const _0x3af928=_0x1c074c[_0x428cd5(0x125)](),_0x3ec0f6=[];for(const {element:_0x5cdcbf,attributes:_0x4e45c0}of _0x57e437){if(!_0x4e45c0)continue;const _0x38caf1=_0x220157[_0x428cd5(0x132)][_0x428cd5(0x155)](_0x5cdcbf),_0x2027b4=_0x3af928[_0x428cd5(0x172)](_0x16a75f=>_0x16a75f[_0x428cd5(0x133)]()[_0x428cd5(0x142)](_0x38caf1));_0x2027b4&&_0x3ec0f6[_0x428cd5(0x112)]([_0x2027b4[_0x428cd5(0x145)],_0x4e45c0]);}_0x3ec0f6[_0x428cd5(0x10e)]&&_0x1c074c[_0x428cd5(0x18f)](_0x428cd5(0x1dd),Object[_0x428cd5(0x14f)](_0x3ec0f6));}_0x1ec889=null;}));},{'priority':_0x4fd897[_0x226642(0x141)]+0xa}),_0x3e2e85['on'](_0x226642(0x1c5),()=>{_0x44eadd=!0x1;},{'priority':_0x226642(0x16e)}),_0x220157[_0x226642(0x187)][_0x226642(0x166)](_0x226642(0x1c6))['on'](_0x226642(0x1b9),(_0x17d765,_0x411609)=>{const _0x31d644=_0x226642,[_0x26ac2f,_0x5be2e0,,_0x43e976]=_0x411609;if(!_0x1ec889)return;_0x17d765[_0x31d644(0x110)]();const _0x4670c1=_0x26ac2f[_0x31d644(0x1b1)],_0x156af4=_0x5be2e0,_0x2d82c6=Ue(_0x4670c1),_0x45a3f9=Ue(_0x156af4);_0x17d765[_0x31d644(0x196)]=_0x4670c1;let _0x1554a2=null,_0x2bfe5d=null;if(_0x45a3f9||_0x2d82c6){if(_0x2d82c6&&!_0x45a3f9){_0x43e976[_0x31d644(0x13b)](_0x4670c1[_0x31d644(0x182)](0x0));for(const _0x31d66b of Array[_0x31d644(0x153)](_0x156af4[_0x31d644(0x11a)]()))_0x43e976[_0x31d644(0x183)](_0x31d66b,_0x4670c1,_0x31d644(0x14d));const _0x250d42=_0x1ec889[_0x31d644(0x149)][_0x31d644(0x16d)](_0x26ac2f[_0x31d644(0x14b)]),_0x2d5b88=_0x1ec889[_0x31d644(0x15e)][_0x31d644(0x16d)](_0x26ac2f[_0x31d644(0x14a)]);_0x250d42||_0x2d5b88||(_0x1554a2=_0x18b4e9[_0x31d644(0x1cf)](_0x43e976[_0x31d644(0x1bd)](_0x4670c1)));}else _0x45a3f9&&!_0x2d82c6&&(_0x2bfe5d=_0x43e976[_0x31d644(0x1bd)](_0x4670c1));}else{const _0x422a64=_0x43e976[_0x31d644(0x144)](_0x31d644(0x1ae)),_0x207a76=_0x43e976[_0x31d644(0x144)](_0x31d644(0x1ae));_0x43e976[_0x31d644(0x118)](_0x43e976[_0x31d644(0x1bd)](_0x4670c1),_0x207a76),_0x43e976[_0x31d644(0x183)](_0x422a64,_0x4670c1,0x0);for(const _0x239943 of Array[_0x31d644(0x153)](_0x156af4[_0x31d644(0x11a)]()))_0x43e976[_0x31d644(0x183)](_0x239943,_0x422a64,_0x31d644(0x14d));_0x1554a2=_0x18b4e9[_0x31d644(0x1cf)](_0x43e976[_0x31d644(0x155)](_0x422a64)),_0x2bfe5d=_0x18b4e9[_0x31d644(0x1cf)](_0x43e976[_0x31d644(0x155)](_0x207a76));}const _0x1bd107=Array[_0x31d644(0x153)](_0x156af4[_0x31d644(0x160)]())[_0x31d644(0x1b3)](([_0x35689a])=>xe[_0x31d644(0x16d)](_0x35689a));_0x1ec889[_0x31d644(0x16a)][_0x31d644(0x112)]({'element':_0x4670c1,'attributes':_0x1bd107[_0x31d644(0x10e)]?Object[_0x31d644(0x14f)](_0x1bd107):null}),_0x1554a2&&_0x1ec889[_0x31d644(0x1dc)][_0x31d644(0x112)](_0x1554a2),_0x2bfe5d&&_0x1ec889[_0x31d644(0x11b)][_0x31d644(0x112)](_0x2bfe5d);},{'priority':_0x226642(0x141)}),_0x99f8c8['on'](_0x226642(0x1d2),(_0x2f5e9d,_0x45b667)=>{const _0x58bc5f=_0x226642,[_0x41cc7e,_0x2740b7={}]=_0x45b667;if(!_0x1ec889)return;const _0x5b9125=_0x2740b7['at']||0x0,_0x63c6a1=_0x2740b7[_0x58bc5f(0x192)]||0x1;_0x1ec889[_0x58bc5f(0x15e)]=new Array(_0x63c6a1)[_0x58bc5f(0x190)](_0x5b9125)[_0x58bc5f(0x13e)]((_0x4184b1,_0x139f21)=>_0x4184b1+_0x139f21);for(const {cell:_0x38d100}of _0x99f8c8[_0x58bc5f(0x135)](_0x41cc7e,{'startColumn':_0x5b9125,'endColumn':_0x5b9125+_0x63c6a1-0x1}))_0x1ec889[_0x58bc5f(0x18c)][_0x58bc5f(0x112)](_0x220157[_0x58bc5f(0x132)][_0x58bc5f(0x155)](_0x38d100));},{'priority':_0x226642(0x147)}),_0x99f8c8['on'](_0x226642(0x1cb),(_0x1b6be6,_0x26ea62)=>{const _0x5823a7=_0x226642,[_0x2aa6bb,_0xa2556b={}]=_0x26ea62;if(!_0x1ec889)return;const _0x586d63=_0xa2556b['at']||0x0,_0x554987=_0xa2556b[_0x5823a7(0x1b5)]||0x1;_0x1ec889[_0x5823a7(0x149)]=new Array(_0x554987)[_0x5823a7(0x190)](_0x586d63)[_0x5823a7(0x13e)]((_0x131548,_0x36d42a)=>_0x131548+_0x36d42a);for(const {cell:_0xddd479}of _0x99f8c8[_0x5823a7(0x135)](_0x2aa6bb,{'startRow':_0x586d63,'endRow':_0x586d63+_0x554987-0x1}))_0x1ec889[_0x5823a7(0x1c8)][_0x5823a7(0x112)](_0x220157[_0x5823a7(0x132)][_0x5823a7(0x155)](_0xddd479));},{'priority':_0x226642(0x147)}),_0x1b7a34[_0x226642(0x189)][_0x226642(0x138)](_0x34f4b4=>{const _0x45e640=_0x226642;if(_0x34f4b4[_0x45e640(0x1bb)]&&_0x34f4b4[_0x45e640(0x1bb)][_0x45e640(0x18b)](_0x45e640(0x1ad)))return _0x34f4b4[_0x45e640(0x17d)]?{}:{'type':_0x45e640(0x156),'content':_0x1e157e(_0x220157[_0x45e640(0x1a7)],_0x45e640(0x140))};});const _0x48b92e=()=>!0x1;for(const _0x13cd3b of[_0x226642(0x1ad),_0x226642(0x154),_0x226642(0x165),_0x226642(0x1b6)])_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x156),_0x13cd3b,_0x226642(0x158),_0x48b92e),_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x126),_0x13cd3b,_0x226642(0x158),_0x48b92e),_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x123),_0x13cd3b,_0x226642(0x158),_0x48b92e);_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x123),_0x226642(0x1b6),_0x226642(0x15f),_0x48b92e),_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x123),_0x226642(0x1b6),_0x226642(0x17b),(_0x313666,_0x3136b4,_0xc01295)=>{const _0x4d7c6d=_0x226642,_0x14c922=_0x313666[_0x4d7c6d(0x13e)](_0x20709e=>_0x20709e[_0x4d7c6d(0x124)]())[_0x4d7c6d(0x1b3)](_0x2c4d98=>_0x2c4d98),_0x17612a=new Map(_0x14c922[_0x4d7c6d(0x13e)](_0x4111be=>[_0x4111be,null]));if(_0x1ec889){for(const {element:_0x4c97f8,attributes:_0x93be20}of _0x1ec889[_0x4d7c6d(0x16a)])_0x93be20&&_0x17612a[_0x4d7c6d(0x17e)](_0x4c97f8,_0x93be20);}else{if(_0xc01295&&_0xc01295[_0x4d7c6d(0x1dd)])for(const [_0x4a81cd,_0x4a93ab]of Object[_0x4d7c6d(0x121)](_0xc01295[_0x4d7c6d(0x1dd)])){const _0x3ff3b6=_0x220157[_0x4d7c6d(0x132)][_0x4d7c6d(0x175)][_0x4d7c6d(0x166)](_0x4a81cd),_0x4d03ed=_0x3ff3b6?_0x3ff3b6[_0x4d7c6d(0x133)]()[_0x4d7c6d(0x124)]():null;_0x4d03ed&&_0x17612a[_0x4d7c6d(0x17e)](_0x4d03ed,_0x4a93ab);}}_0x220157[_0x4d7c6d(0x132)][_0x4d7c6d(0x1ab)](_0x38f3b6=>{const _0xcd773f=_0x4d7c6d;for(const [_0x1c5818,_0x2e004b]of _0x17612a)_0x38f3b6[_0xcd773f(0x1d7)]({...Oe,..._0x2e004b},_0x1c5818);});});const _0x16c7f7=(_0x433c96,_0x36a86d)=>{const _0xc759f4=_0x226642;_0x1b7a34[_0xc759f4(0x131)][_0xc759f4(0x1d8)](_0x433c96,_0xc759f4(0x1ad),_0x36a86d,(_0x15f1c3,_0x495221,_0xfc8892)=>{const _0x41c728=_0xc759f4;_0x220157[_0x41c728(0x132)][_0x41c728(0x1ab)](_0xcaf245=>{const _0x3fe851=_0x41c728,_0x2c1eb3=[];for(const _0x1e9524 of _0x15f1c3){const _0x5caee4=_0x1e9524[_0x3fe851(0x1a8)][_0x3fe851(0x179)];_0x5caee4['is'](_0x3fe851(0x1d9),_0x3fe851(0x1ae))&&_0x2c1eb3[_0x3fe851(0x112)](_0x5caee4);}_0x1b7a34[_0x3fe851(0x131)][_0x3fe851(0x1da)](_0x433c96,null,_0x36a86d)(_0x15f1c3,_0x495221,_0xfc8892);for(const _0x204c81 of _0x2c1eb3)_0x3fe851(0x137)!=_0x204c81[_0x3fe851(0x117)][_0x3fe851(0x198)]&&_0xcaf245[_0x3fe851(0x10d)](_0x204c81);});});};_0x16c7f7(_0x226642(0x156),_0x226642(0x17b)),_0x16c7f7(_0x226642(0x156),_0x226642(0x15f)),_0x16c7f7(_0x226642(0x126),_0x226642(0x17b)),_0x16c7f7(_0x226642(0x126),_0x226642(0x15f)),_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x156),_0x226642(0x165),_0x226642(0x15f),_0x6038f4=>{const _0x4d85b2=_0x226642,_0x5aae6e=_0x6038f4[_0x4d85b2(0x13e)](_0x58eef8=>_0x58eef8[_0x4d85b2(0x124)]()),_0x4354e7=_0x5aae6e[0x0][_0x4d85b2(0x1ac)](_0x4d85b2(0x130)),{minRow:_0x48e6de,maxRow:_0x46c551}=_0x13c431[_0x4d85b2(0x19c)](_0x5aae6e);_0x99f8c8[_0x4d85b2(0x146)](_0x4354e7,{'at':_0x48e6de,'rows':_0x46c551-_0x48e6de+0x1});}),_0x1b7a34[_0x226642(0x131)][_0x226642(0x1d8)](_0x226642(0x156),_0x226642(0x154),_0x226642(0x15f),_0x5f326c=>{const _0x49a2dc=_0x226642,_0x4c0bcb=_0x5f326c[_0x49a2dc(0x13e)](_0x499535=>_0x499535[_0x49a2dc(0x124)]()),_0x792901=_0x4c0bcb[0x0][_0x49a2dc(0x1ac)](_0x49a2dc(0x130)),{minColumn:_0x31a04a,maxColumn:_0x15c2de}=_0x13c431[_0x49a2dc(0x19c)](_0x4c0bcb);_0x99f8c8[_0x49a2dc(0x11f)](_0x792901,{'at':_0x31a04a,'columns':_0x15c2de-_0x31a04a+0x1});});const _0x175fad=(_0x35befc,_0x31421d)=>{const _0xd50f37=_0x226642;if(!_0x31421d[_0xd50f37(0x1bb)]||!_0x31421d[_0xd50f37(0x1bb)][_0xd50f37(0x18b)](_0xd50f37(0x1ad)))return;const _0x1af799=_0x31421d[_0xd50f37(0x116)][_0xd50f37(0x13d)],_0x9886d0=_0x1b7a34[_0xd50f37(0x168)]()[_0xd50f37(0x1b3)](_0x3ef450=>_0x3ef450[_0xd50f37(0x139)]&&_0x3ef450[_0xd50f37(0x116)]&&_0x3ef450[_0xd50f37(0x116)][_0xd50f37(0x13d)]==_0x1af799);_0x9886d0[_0xd50f37(0x10e)]&&_0x31421d[_0xd50f37(0x1aa)]()[_0xd50f37(0x10e)]!=_0x9886d0[_0xd50f37(0x10e)]&&_0x9886d0[_0xd50f37(0x195)]((_0x559cd3,_0x4e1322)=>(_0x559cd3[_0xd50f37(0x11e)]=_0x4e1322,_0x4e1322[_0xd50f37(0x17d)]=_0x559cd3,_0x4e1322));};function _0xa115bd(_0x146c31,_0x492b1c=!0x0){const _0x16b6fd=_0x226642,{id:_0x5d633e,authorId:_0xd0970}=_0x1b7a34[_0x16b6fd(0x129)](_0x146c31[_0x16b6fd(0x1c9)]),_0x323b7b=[_0x16b6fd(0x193),_0x16b6fd(0x1d4)],_0xa30737=_0x1b7a34[_0x16b6fd(0x15c)][_0x16b6fd(0x16d)](_0x146c31[_0x16b6fd(0x1c9)]);return _0xa30737&&_0x323b7b[_0x16b6fd(0x112)](_0x16b6fd(0x1d6)),{'classes':_0x323b7b,'attributes':{'data-suggestion':_0x5d633e,'data-author-id':_0xd0970},'priority':_0xa30737&&_0x492b1c?0xbc2:0xbb8};}_0x1b7a34['on'](_0x226642(0x188),_0x175fad,{'priority':_0x226642(0x141)}),_0x1b7a34['on'](_0x226642(0x1a3),_0x175fad,{'priority':_0x226642(0x141)}),_0x220157[_0x226642(0x132)][_0x226642(0x18e)][_0x226642(0x19e)](()=>{const _0x815dc6=_0x226642;let _0x4591d3=!0x1;const _0x2af6bf=Array[_0x815dc6(0x153)](_0x220157[_0x815dc6(0x132)][_0x815dc6(0x18e)][_0x815dc6(0x12e)][_0x815dc6(0x1db)]());for(const {name:_0xf39e2e,data:_0x1bcd53}of _0x2af6bf){const {group:_0x357216,type:_0x2756e6,id:_0x442877}=_0x1b7a34[_0x815dc6(0x129)](_0xf39e2e);if(_0x815dc6(0x143)!=_0x357216||_0x815dc6(0x126)!=_0x2756e6||_0x1bcd53[_0x815dc6(0x164)])continue;if(!_0x1b7a34[_0x815dc6(0x1c1)](_0x442877))continue;const _0x5e3167=_0x1b7a34[_0x815dc6(0x1c2)](_0x442877)[_0x815dc6(0x12c)](),_0x11317d=_0x220157[_0x815dc6(0x187)][_0x815dc6(0x166)](_0x815dc6(0x16f))['me'];for(const _0x5ebd28 of _0x1b7a34[_0x815dc6(0x168)]()){if(!_0x5ebd28[_0x815dc6(0x139)]||_0x5ebd28[_0x815dc6(0x1c0)]!=_0x11317d)continue;if(_0x815dc6(0x123)!=_0x5ebd28[_0x815dc6(0x199)]||_0x815dc6(0x1b6)!=_0x5ebd28[_0x815dc6(0x1bb)])continue;if(_0x5ebd28[_0x815dc6(0x12c)]()[_0x815dc6(0x19f)](_0x1cda49=>_0x5e3167[_0x815dc6(0x19d)](_0x59d107=>_0x59d107[_0x815dc6(0x151)](_0x1cda49,!0x0)))){for(const _0xb326c6 of _0x5ebd28[_0x815dc6(0x1aa)]())_0xb326c6[_0x815dc6(0x139)]&&(_0xb326c6[_0x815dc6(0x15f)](),_0x4591d3=!0x0);}}}return _0x4591d3;}),_0x220157[_0x226642(0x132)][_0x226642(0x18e)][_0x226642(0x19e)](_0x4340bd=>{const _0x11a141=_0x226642,_0x343d54=_0x220157[_0x11a141(0x181)][_0x11a141(0x166)](_0x11a141(0x1b0));if(!_0x343d54||!_0x343d54[_0x11a141(0x171)][_0x11a141(0x185)](_0x4340bd[_0x11a141(0x13c)]))return!0x1;let _0x39d6fb=!0x1;const _0x1ff645=_0x220157[_0x11a141(0x187)][_0x11a141(0x166)](_0x11a141(0x16f))['me'],_0x30bb40=_0x220157[_0x11a141(0x132)][_0x11a141(0x18e)][_0x11a141(0x12e)][_0x11a141(0x12b)](),_0x40cdef=Array[_0x11a141(0x153)](_0x220157[_0x11a141(0x132)][_0x11a141(0x18e)][_0x11a141(0x12e)][_0x11a141(0x1db)]())[_0x11a141(0x1b3)](({name:_0x236390,data:_0x3d4bed})=>{const _0x292de3=_0x11a141,{group:_0x2d9011,subType:_0x56cf58,authorId:_0x51dcdc}=_0x1b7a34[_0x292de3(0x129)](_0x236390);return _0x292de3(0x143)==_0x2d9011&&_0x292de3(0x1ad)==_0x56cf58&&_0x51dcdc==_0x1ff645['id']&&!_0x3d4bed[_0x292de3(0x164)];});for(const _0x350feb of _0x30bb40){if(_0x11a141(0x183)!=_0x350feb[_0x11a141(0x199)]||_0x11a141(0x1ae)!=_0x350feb[_0x11a141(0x145)]||0x1!=_0x350feb[_0x11a141(0x10e)])continue;const _0x229970=_0x4340bd[_0x11a141(0x136)](_0x350feb[_0x11a141(0x1d3)],_0x350feb[_0x11a141(0x1d3)][_0x11a141(0x1a4)](0x1));if(!_0x40cdef[_0x11a141(0x172)](({data:_0x1c07ea})=>_0x1c07ea[_0x11a141(0x186)][_0x11a141(0x142)](_0x229970))){for(const {name:_0x5dd89a,data:_0x596e1d}of _0x40cdef)if(_0x229970[_0x11a141(0x151)](_0x596e1d[_0x11a141(0x186)])){_0x4340bd[_0x11a141(0x170)](_0x5dd89a,{'range':_0x229970}),_0x39d6fb=!0x0;break;}}}return _0x39d6fb;}),_0x220157[_0x226642(0x132)][_0x226642(0x18e)][_0x226642(0x19e)](_0x338865=>{const _0x310b38=_0x226642;let _0x40bef8=!0x1;const _0x591fb8=_0x220157[_0x310b38(0x187)][_0x310b38(0x166)](_0x310b38(0x16f))['me'],_0x45b04d=_0x1b7a34[_0x310b38(0x168)]()[_0x310b38(0x1b3)](_0x31abde=>_0x31abde[_0x310b38(0x139)]&&_0x31abde[_0x310b38(0x1c0)]==_0x591fb8),_0x4a177d=new Set(),_0x134a50=new Set();for(const _0x334017 of _0x45b04d)if(_0x310b38(0x1ad)==_0x334017[_0x310b38(0x1bb)])for(const _0x5698ef of _0x334017[_0x310b38(0x125)]()){const _0x26ffa4=_0x5698ef[_0x310b38(0x133)]()[_0x310b38(0x124)]();if(_0x26ffa4){if(_0x26ffa4['is'](_0x310b38(0x1d9),_0x310b38(0x1ae))&&Ue(_0x26ffa4)){_0x334017[_0x310b38(0x161)](_0x5698ef[_0x310b38(0x145)]),_0x4a177d[_0x310b38(0x1a9)](_0x26ffa4),_0x40bef8=!0x0;const _0x199923=_0x26ffa4[_0x310b38(0x12d)],_0x3b6a33=_0x26ffa4[_0x310b38(0x1ba)],_0x4517cd=_0x199923&&_0x199923['is'](_0x310b38(0x1d9),_0x310b38(0x1ae)),_0x2a3e6c=_0x3b6a33&&_0x3b6a33['is'](_0x310b38(0x1d9),_0x310b38(0x1ae));_0x4517cd&&!_0x4a177d[_0x310b38(0x185)](_0x199923)&&_0x134a50[_0x310b38(0x1a9)](_0x199923),_0x2a3e6c&&!_0x4a177d[_0x310b38(0x185)](_0x3b6a33)&&_0x134a50[_0x310b38(0x1a9)](_0x3b6a33);}else _0x26ffa4['is'](_0x310b38(0x1d9),_0x310b38(0x157))&&_0x26ffa4[_0x310b38(0x197)]&&(_0x334017[_0x310b38(0x161)](_0x5698ef[_0x310b38(0x145)]),_0x40bef8=!0x0);}}else{if(_0x310b38(0x1b6)==_0x334017[_0x310b38(0x1bb)]){if(!_0x334017[_0x310b38(0x116)]||!_0x334017[_0x310b38(0x116)][_0x310b38(0x13d)])continue;const _0x310eda=_0x334017[_0x310b38(0x116)][_0x310b38(0x1dd)];if(_0x310eda&&Object[_0x310b38(0x177)](_0x310eda)[_0x310b38(0x10e)])continue;const _0x4a5167=_0x334017[_0x310b38(0x116)][_0x310b38(0x13d)];let _0x4bf8f6=!0x0,_0x266b54=!0x0;for(const _0x3efe31 of _0x45b04d)if(_0x3efe31[_0x310b38(0x1bb)]&&_0x3efe31[_0x310b38(0x1bb)][_0x310b38(0x18b)](_0x310b38(0x1ad))){if(!_0x3efe31[_0x310b38(0x116)][_0x310b38(0x13d)]){_0x266b54=!0x1;break;}if(_0x3efe31['id']!=_0x334017['id']&&_0x3efe31[_0x310b38(0x116)][_0x310b38(0x13d)]==_0x4a5167){_0x4bf8f6=!0x1;break;}}_0x266b54&&_0x4bf8f6&&(_0x334017[_0x310b38(0x119)](),_0x40bef8=!0x0);}}for(const _0x5f2506 of _0x4a177d)_0x338865[_0x310b38(0x13b)](_0x5f2506);for(const _0xa48b13 of _0x134a50)_0x338865[_0x310b38(0x10d)](_0xa48b13);return _0x40bef8;}),_0x220157[_0x226642(0x174)][_0x226642(0x19b)](_0x226642(0x120))[_0x226642(0x18a)]({'model':_0x226642(0x1b2),'view':_0x6ae809=>_0xa115bd(_0x6ae809),'converterPriority':_0x226642(0x141)}),_0x220157[_0x226642(0x174)][_0x226642(0x19b)](_0x226642(0x167))[_0x226642(0x18a)]({'model':_0x226642(0x1b2),'view':(_0x344e10,_0x5d650e)=>_0x5d650e[_0x226642(0x1c7)][_0x226642(0x134)]?_0xa115bd(_0x344e10,!0x1):null,'converterPriority':_0x226642(0x141)});const _0x260370=_0x220157[_0x226642(0x15a)][_0x226642(0x194)];this[_0x226642(0x12f)](_0x260370[_0x226642(0x18e)],_0x226642(0x169),(_0xdb1f4,_0x347f66)=>{const _0xd0556a=_0x226642,_0xcc5213=[];for(const _0x591308 of _0x260370[_0xd0556a(0x1bd)](_0x347f66[_0xd0556a(0x1a0)])[_0xd0556a(0x1c4)]())_0x591308['is'](_0xd0556a(0x1d9),_0xd0556a(0x1bc))&&_0xcc5213[_0xd0556a(0x112)](_0x591308);_0x260370[_0xd0556a(0x1ab)](_0x251ee7=>{const _0x12f4a7=_0xd0556a;for(const _0x5734dc of _0xcc5213)_0x251ee7[_0x12f4a7(0x173)](_0x251ee7[_0x12f4a7(0x1bd)](_0x5734dc),_0x251ee7[_0x12f4a7(0x1bf)](_0x5734dc)),_0x251ee7[_0x12f4a7(0x13b)](_0x5734dc);});});}}function _0x1ab1(_0xc23b46,_0x356df4){const _0x1a2576=_0x1a25();return _0x1ab1=function(_0x1ab193,_0x5a8553){_0x1ab193=_0x1ab193-0x10d;let _0x19ccc1=_0x1a2576[_0x1ab193];return _0x19ccc1;},_0x1ab1(_0xc23b46,_0x356df4);}function Ue(_0x31fe0f){const _0x517aeb=_0x55ff81;if(_0x31fe0f[_0x517aeb(0x197)])return!0x0;const _0x493388=_0x31fe0f[_0x517aeb(0x182)](0x0);return _0x493388['is'](_0x517aeb(0x1d9),_0x517aeb(0x157))&&_0x493388[_0x517aeb(0x197)];}function De(_0x2dc436,_0x21233b={},_0x3fecd9){const _0x444b1b=_0x55ff81;for(const {isAnchor:_0x4c9a7a,cellHeight:_0x7a561b,cellWidth:_0x2e75dd}of _0x3fecd9[_0x444b1b(0x135)](_0x2dc436,{'includeAllSlots':!0x0,..._0x21233b}))if(!_0x4c9a7a||0x1!=_0x7a561b||0x1!=_0x2e75dd)return!0x1;return!0x0;}