@ckeditor/ckeditor5-track-changes 47.7.0-alpha.0 → 47.7.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x506ffc,_0x1c2943){const _0x5255d5=_0x45a6,_0xf83c6d=_0x506ffc();while(!![]){try{const _0x550504=-parseInt(_0x5255d5(0x1aa))/0x1+-parseInt(_0x5255d5(0x194))/0x2+parseInt(_0x5255d5(0x1a3))/0x3+parseInt(_0x5255d5(0x1b7))/0x4+parseInt(_0x5255d5(0x186))/0x5+-parseInt(_0x5255d5(0x18b))/0x6*(parseInt(_0x5255d5(0x1a5))/0x7)+parseInt(_0x5255d5(0x192))/0x8;if(_0x550504===_0x1c2943)break;else _0xf83c6d['push'](_0xf83c6d['shift']());}catch(_0x4106e9){_0xf83c6d['push'](_0xf83c6d['shift']());}}}(_0xcaae,0xaeb3d));export function normalizeDescription(_0x50e43f){const _0x5c4b1b=_0x45a6;return Array[_0x5c4b1b(0x1a4)](_0x50e43f)||(_0x50e43f=[_0x50e43f]),_0x50e43f[_0x5c4b1b(0x18d)](_0x29b204=>{const _0x42cd58=_0x5c4b1b,_0x1c76d3=_0x29b204[_0x42cd58(0x191)][_0x42cd58(0x1ae)](/\*/g,''),_0x2a2322=_0x29b204[_0x42cd58(0x185)]?_0x42cd58(0x1b5)+_0x29b204[_0x42cd58(0x185)][_0x42cd58(0x197)]+']':'';return'['+_0x29b204[_0x42cd58(0x198)]+']\x20'+_0x1c76d3+_0x2a2322;})[_0x5c4b1b(0x1ac)](';\x20');}export function renderDescription(_0x3e1180,_0x270c3d){const _0x560047=_0x45a6;let _0x31428a='';return _0x31428a+=_0x3e1180[_0x560047(0x1a2)]('*')[_0x560047(0x18d)]((_0x4133eb,_0x45f441)=>_0x45f441%0x2!=0x0?_0x560047(0x1ad)+rn(_0x4133eb)+_0x560047(0x1ab):rn(_0x4133eb))[_0x560047(0x1ac)](''),_0x270c3d&&(_0x31428a+=_0x560047(0x187)+_0x270c3d[_0x560047(0x197)]+_0x560047(0x18f)+_0x270c3d[_0x560047(0x193)]+_0x560047(0x19d)),_0x31428a;}function rn(_0x8b7e0d){const _0x165097=_0x45a6,_0x18a54a=document[_0x165097(0x18c)](_0x165097(0x199));return _0x18a54a[_0x165097(0x1a1)]=_0x8b7e0d,_0x18a54a[_0x165097(0x1b3)];}export function sortSuggestions(_0x24f45d){const _0x54b376=_0x45a6;return _0x24f45d[_0x54b376(0x1a8)]((_0x2e9c2c,_0xc1b1d1)=>_0x54b376(0x190)===_0x2e9c2c[_0x54b376(0x198)]&&_0x54b376(0x190)!==_0xc1b1d1[_0x54b376(0x198)]?-0x1:_0x54b376(0x190)!==_0x2e9c2c[_0x54b376(0x198)]&&_0x54b376(0x190)===_0xc1b1d1[_0x54b376(0x198)]?0x1:_0x54b376(0x1b9)==_0x2e9c2c[_0x54b376(0x198)]&&_0x54b376(0x1b9)!=_0xc1b1d1[_0x54b376(0x198)]?-0x1:_0x54b376(0x1b9)!=_0x2e9c2c[_0x54b376(0x198)]&&_0x54b376(0x1b9)==_0xc1b1d1[_0x54b376(0x198)]?0x1:0x0);}export function getSelectedSuggestions(_0x39a617,_0x79af3b){const _0x11bf0f=_0x45a6,_0x2c370c=Array[_0x11bf0f(0x19e)](_0x39a617[_0x11bf0f(0x188)]()),_0x2d694b=new Set();for(const _0x2291c0 of _0x79af3b)if(_0x2291c0[_0x11bf0f(0x1b1)]){for(const _0xb83064 of _0x2c370c)for(const _0xba7aa of _0x2291c0[_0x11bf0f(0x188)]())(_0xb83064[_0x11bf0f(0x1a0)](_0xba7aa)||_0x39a617[_0x11bf0f(0x19b)]&&!_0x2291c0[_0x11bf0f(0x19a)]&&_0x2291c0[_0x11bf0f(0x1b8)]&&_0xba7aa[_0x11bf0f(0x1b4)][_0x11bf0f(0x196)](_0xb83064[_0x11bf0f(0x1a7)]))&&_0x2d694b[_0x11bf0f(0x1b2)](_0x2291c0);}return _0x2d694b;}export function getRangesOfBlockGroups(_0x511cd3,_0x373100){const _0x23abe1=_0x45a6;let _0x1dac41,_0x1d29d0=0x0;const _0x158d52=[],_0x466589=_0x373100[_0x23abe1(0x195)];for(;_0x1d29d0<_0x511cd3[_0x23abe1(0x18e)];){const _0x122b3b=_0x511cd3[_0x1d29d0],_0x1f4202=_0x511cd3[_0x1d29d0+0x1];_0x1dac41||(_0x1dac41=_0x373100[_0x23abe1(0x1af)](_0x122b3b)),cn(_0x373100,_0x122b3b,_0x1f4202)||(_0x158d52[_0x23abe1(0x189)](_0x373100[_0x23abe1(0x1b0)](_0x1dac41,_0x466589[_0x23abe1(0x1b6)](_0x122b3b)?_0x373100[_0x23abe1(0x19f)](_0x122b3b):_0x373100[_0x23abe1(0x1a9)](_0x122b3b,_0x23abe1(0x1b4)))),_0x1dac41=null),_0x1d29d0++;}return _0x158d52;}function cn(_0x328468,_0x40435b,_0x52e7e5){const _0x309a9e=_0x45a6;if(!_0x52e7e5)return!0x1;const _0x3b11fc=_0x328468[_0x309a9e(0x19f)](_0x40435b),_0x236b05=_0x328468[_0x309a9e(0x1af)](_0x52e7e5);return _0x3b11fc[_0x309a9e(0x196)](_0x236b05);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x45a6(_0xe05578,_0x4db5e7){const _0xcaae89=_0xcaae();return _0x45a6=function(_0x45a61a,_0x4e3ec7){_0x45a61a=_0x45a61a-0x185;let _0x394d22=_0xcaae89[_0x45a61a];return _0x394d22;},_0x45a6(_0xe05578,_0x4db5e7);}export function executeCommandForSuggestions(_0x5d372f,_0x3e7557,_0x296c72){const _0x4951e5=_0x45a6;for(;_0x296c72[_0x4951e5(0x18e)];){const _0x15f7d8=_0x296c72[_0x4951e5(0x1a6)](0x0,0x64);_0x5d372f[_0x4951e5(0x19c)](()=>{const _0x3e7c6f=_0x4951e5;for(const _0x59da9f of _0x15f7d8)_0x59da9f[_0x3e7c6f(0x1b1)]&&_0x3e7557[_0x3e7c6f(0x18a)](_0x59da9f['id']);});}}function _0xcaae(){const _0x50ab39=['isMultiRange','isCollapsed','change','\x22></span>','from','createPositionAfter','isIntersecting','innerText','split','3749973EBNBUf','isArray','2107BsIHAD','splice','start','sort','createPositionAt','409216wUzvWB','</span>','join','<span\x20class=\x22ck-suggestion-type\x22>','replace','createPositionBefore','createRange','isInContent','add','innerHTML','end','\x20[color\x20','isObject','76268aAaLLX','next','deletion','color','3503740KrmMol','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','getRanges','push','execute','14754fygLqo','createElement','map','length','\x22\x20title=\x22','attribute','content','3509856JVMnpe','title','1087164bVQmFJ','schema','isTouching','value','type','span'];_0xcaae=function(){return _0x50ab39;};return _0xcaae();}
23
+ (function(_0x5b83b8,_0x441a61){const _0x3d22f9=_0x176a,_0x3a315c=_0x5b83b8();while(!![]){try{const _0x8b5901=-parseInt(_0x3d22f9(0x1e5))/0x1*(-parseInt(_0x3d22f9(0x1e9))/0x2)+-parseInt(_0x3d22f9(0x1f8))/0x3*(-parseInt(_0x3d22f9(0x1e4))/0x4)+-parseInt(_0x3d22f9(0x1fe))/0x5+-parseInt(_0x3d22f9(0x1e2))/0x6+parseInt(_0x3d22f9(0x1fa))/0x7*(parseInt(_0x3d22f9(0x207))/0x8)+parseInt(_0x3d22f9(0x1e1))/0x9+-parseInt(_0x3d22f9(0x201))/0xa;if(_0x8b5901===_0x441a61)break;else _0x3a315c['push'](_0x3a315c['shift']());}catch(_0x315785){_0x3a315c['push'](_0x3a315c['shift']());}}}(_0x1886,0xb3087));export function normalizeDescription(_0x51ad19){const _0x1eeea6=_0x176a;return Array[_0x1eeea6(0x1f5)](_0x51ad19)||(_0x51ad19=[_0x51ad19]),_0x51ad19[_0x1eeea6(0x211)](_0x557a99=>{const _0x22e28c=_0x1eeea6,_0x1130d4=_0x557a99[_0x22e28c(0x206)][_0x22e28c(0x20f)](/\*/g,''),_0x38a48a=_0x557a99[_0x22e28c(0x1ef)]?_0x22e28c(0x1de)+_0x557a99[_0x22e28c(0x1ef)][_0x22e28c(0x1ff)]+']':'';return'['+_0x557a99[_0x22e28c(0x200)]+']\x20'+_0x1130d4+_0x38a48a;})[_0x1eeea6(0x210)](';\x20');}export function renderDescription(_0x454ceb,_0x41d06e){const _0x4b7b1f=_0x176a;let _0x532737='';return _0x532737+=_0x454ceb[_0x4b7b1f(0x204)]('*')[_0x4b7b1f(0x211)]((_0x4ccd1e,_0x4c0cf7)=>_0x4c0cf7%0x2!=0x0?_0x4b7b1f(0x202)+cn(_0x4ccd1e)+_0x4b7b1f(0x205):cn(_0x4ccd1e))[_0x4b7b1f(0x210)](''),_0x41d06e&&(_0x532737+=_0x4b7b1f(0x1f1)+_0x41d06e[_0x4b7b1f(0x1ff)]+_0x4b7b1f(0x1ec)+_0x41d06e[_0x4b7b1f(0x203)]+_0x4b7b1f(0x1df)),_0x532737;}function cn(_0x28a5bb){const _0x2ce718=_0x176a,_0x43dbf4=document[_0x2ce718(0x1f6)](_0x2ce718(0x208));return _0x43dbf4[_0x2ce718(0x1fc)]=_0x28a5bb,_0x43dbf4[_0x2ce718(0x1e8)];}export function sortSuggestions(_0x23771b){const _0x15050b=_0x176a;return _0x23771b[_0x15050b(0x20a)]((_0x49f662,_0x2ec230)=>_0x15050b(0x212)===_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x212)!==_0x2ec230[_0x15050b(0x200)]?-0x1:_0x15050b(0x212)!==_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x212)===_0x2ec230[_0x15050b(0x200)]?0x1:_0x15050b(0x1fd)==_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x1fd)!=_0x2ec230[_0x15050b(0x200)]?-0x1:_0x15050b(0x1fd)!=_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x1fd)==_0x2ec230[_0x15050b(0x200)]?0x1:0x0);}export function getSelectedSuggestions(_0x8060c2,_0x51e8d6){const _0x1a5251=_0x176a,_0x588fa6=Array[_0x1a5251(0x1f3)](_0x8060c2[_0x1a5251(0x1eb)]()),_0x402eca=new Set();for(const _0x4133bd of _0x51e8d6)if(_0x4133bd[_0x1a5251(0x20e)]){for(const _0x50fd0c of _0x588fa6)for(const _0x5a0aed of _0x4133bd[_0x1a5251(0x1eb)]())(_0x50fd0c[_0x1a5251(0x1f2)](_0x5a0aed)||_0x8060c2[_0x1a5251(0x1ee)]&&!_0x4133bd[_0x1a5251(0x1f9)]&&_0x4133bd[_0x1a5251(0x1ed)]&&_0x5a0aed[_0x1a5251(0x1f4)][_0x1a5251(0x1f7)](_0x50fd0c[_0x1a5251(0x20b)]))&&_0x402eca[_0x1a5251(0x1ea)](_0x4133bd);}return _0x402eca;}function _0x1886(){const _0x1c229d=['next','isCollapsed','color','createPositionAt','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isIntersecting','from','end','isArray','createElement','isTouching','769929yKwaMZ','isMultiRange','3035872mkzbMx','change','innerText','deletion','4684730jPQvvq','value','type','4273860NCujhC','<span\x20class=\x22ck-suggestion-type\x22>','title','split','</span>','content','8RidWej','span','execute','sort','start','push','schema','isInContent','replace','join','map','attribute','isObject','length','\x20[color\x20','\x22></span>','createRange','3459285BGloNV','7742142ZuvJwr','createPositionAfter','20rxlYMY','2flrBru','createPositionBefore','splice','innerHTML','1286732HbgeDv','add','getRanges','\x22\x20title=\x22'];_0x1886=function(){return _0x1c229d;};return _0x1886();}export function getRangesOfBlockGroups(_0x29e828,_0x28ee27){const _0x1cc88f=_0x176a;let _0x3fa20,_0x3e80a0=0x0;const _0x39e44d=[],_0x3325d8=_0x28ee27[_0x1cc88f(0x20d)];for(;_0x3e80a0<_0x29e828[_0x1cc88f(0x214)];){const _0x20f773=_0x29e828[_0x3e80a0],_0x294a1c=_0x29e828[_0x3e80a0+0x1];_0x3fa20||(_0x3fa20=_0x28ee27[_0x1cc88f(0x1e6)](_0x20f773)),un(_0x28ee27,_0x20f773,_0x294a1c)||(_0x39e44d[_0x1cc88f(0x20c)](_0x28ee27[_0x1cc88f(0x1e0)](_0x3fa20,_0x3325d8[_0x1cc88f(0x213)](_0x20f773)?_0x28ee27[_0x1cc88f(0x1e3)](_0x20f773):_0x28ee27[_0x1cc88f(0x1f0)](_0x20f773,_0x1cc88f(0x1f4)))),_0x3fa20=null),_0x3e80a0++;}return _0x39e44d;}function _0x176a(_0x552064,_0x51332f){const _0x1886f3=_0x1886();return _0x176a=function(_0x176a8d,_0x32baf3){_0x176a8d=_0x176a8d-0x1de;let _0x5ea430=_0x1886f3[_0x176a8d];return _0x5ea430;},_0x176a(_0x552064,_0x51332f);}function un(_0x2b989d,_0x35c9f4,_0xf90115){const _0x2b13a3=_0x176a;if(!_0xf90115)return!0x1;const _0x1f9c3f=_0x2b989d[_0x2b13a3(0x1e3)](_0x35c9f4),_0x393377=_0x2b989d[_0x2b13a3(0x1e6)](_0xf90115);return _0x1f9c3f[_0x2b13a3(0x1f7)](_0x393377);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x452c5b,_0x266da6,_0x562c0e){const _0x46d801=_0x176a;for(;_0x562c0e[_0x46d801(0x214)];){const _0x51e18d=_0x562c0e[_0x46d801(0x1e7)](0x0,0x64);_0x452c5b[_0x46d801(0x1fb)](()=>{const _0x4d85f0=_0x46d801;for(const _0x639abc of _0x51e18d)_0x639abc[_0x4d85f0(0x20e)]&&_0x266da6[_0x4d85f0(0x209)](_0x639abc['id']);});}}