@ckeditor/ckeditor5-track-changes 47.7.2-alpha.0 → 47.7.2

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(_0x25f7d1,_0x11da71){const _0x29a0aa=_0x1699,_0x11fa26=_0x25f7d1();while(!![]){try{const _0x3b4f0a=-parseInt(_0x29a0aa(0x1c6))/0x1+-parseInt(_0x29a0aa(0x1db))/0x2*(-parseInt(_0x29a0aa(0x1f1))/0x3)+parseInt(_0x29a0aa(0x1d0))/0x4+-parseInt(_0x29a0aa(0x1e6))/0x5+parseInt(_0x29a0aa(0x1c2))/0x6*(-parseInt(_0x29a0aa(0x1d7))/0x7)+parseInt(_0x29a0aa(0x1bc))/0x8+-parseInt(_0x29a0aa(0x1f0))/0x9;if(_0x3b4f0a===_0x11da71)break;else _0x11fa26['push'](_0x11fa26['shift']());}catch(_0x2913e9){_0x11fa26['push'](_0x11fa26['shift']());}}}(_0x545f,0x511c1));export function normalizeDescription(_0x394aa9){const _0x3edec8=_0x1699;return Array[_0x3edec8(0x1c1)](_0x394aa9)||(_0x394aa9=[_0x394aa9]),_0x394aa9[_0x3edec8(0x1cd)](_0x438cd9=>{const _0x6d9644=_0x3edec8,_0x5d5cc0=_0x438cd9[_0x6d9644(0x1c3)][_0x6d9644(0x1d5)](/\*/g,''),_0x2b4b37=_0x438cd9[_0x6d9644(0x1bf)]?_0x6d9644(0x1da)+_0x438cd9[_0x6d9644(0x1bf)][_0x6d9644(0x1e4)]+']':'';return'['+_0x438cd9[_0x6d9644(0x1bd)]+']\x20'+_0x5d5cc0+_0x2b4b37;})[_0x3edec8(0x1be)](';\x20');}export function renderDescription(_0xda3799,_0xc2ee92){const _0x49ac17=_0x1699;let _0x1dd7ff='';return _0x1dd7ff+=_0xda3799[_0x49ac17(0x1ed)]('*')[_0x49ac17(0x1cd)]((_0x34f0e8,_0x1d7ddc)=>_0x1d7ddc%0x2!=0x0?_0x49ac17(0x1ee)+rn(_0x34f0e8)+_0x49ac17(0x1e5):rn(_0x34f0e8))[_0x49ac17(0x1be)](''),_0xc2ee92&&(_0x1dd7ff+=_0x49ac17(0x1eb)+_0xc2ee92[_0x49ac17(0x1e4)]+_0x49ac17(0x1d4)+_0xc2ee92[_0x49ac17(0x1c5)]+_0x49ac17(0x1de)),_0x1dd7ff;}function rn(_0x22e8fb){const _0x41406e=_0x1699,_0x5049f5=document[_0x41406e(0x1dd)](_0x41406e(0x1ef));return _0x5049f5[_0x41406e(0x1df)]=_0x22e8fb,_0x5049f5[_0x41406e(0x1ca)];}export function sortSuggestions(_0x249190){const _0x1ec7d8=_0x1699;return _0x249190[_0x1ec7d8(0x1c9)]((_0x565f63,_0x36ab44)=>_0x1ec7d8(0x1d8)===_0x565f63[_0x1ec7d8(0x1bd)]&&_0x1ec7d8(0x1d8)!==_0x36ab44[_0x1ec7d8(0x1bd)]?-0x1:_0x1ec7d8(0x1d8)!==_0x565f63[_0x1ec7d8(0x1bd)]&&_0x1ec7d8(0x1d8)===_0x36ab44[_0x1ec7d8(0x1bd)]?0x1:_0x1ec7d8(0x1e7)==_0x565f63[_0x1ec7d8(0x1bd)]&&_0x1ec7d8(0x1e7)!=_0x36ab44[_0x1ec7d8(0x1bd)]?-0x1:_0x1ec7d8(0x1e7)!=_0x565f63[_0x1ec7d8(0x1bd)]&&_0x1ec7d8(0x1e7)==_0x36ab44[_0x1ec7d8(0x1bd)]?0x1:0x0);}function _0x545f(){const _0x13f85b=['join','color','isIntersecting','isArray','33570VCuaBe','content','from','title','267344LHxbZo','isTouching','execute','sort','innerHTML','splice','end','map','getRanges','createPositionAfter','1682580mjozNg','createPositionAt','isObject','push','\x22\x20title=\x22','replace','schema','175MChvmH','attribute','createRange','\x20[color\x20','2AJFBjI','isMultiRange','createElement','\x22></span>','innerText','change','length','createPositionBefore','start','value','</span>','3060545dpLVCY','deletion','add','next','isInContent','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isCollapsed','split','<span\x20class=\x22ck-suggestion-type\x22>','span','342936yjoGTj','1262334CNdGAy','4385872aBOHhk','type'];_0x545f=function(){return _0x13f85b;};return _0x545f();}export function getSelectedSuggestions(_0x33ba2f,_0x2fd6de){const _0x2437c4=_0x1699,_0x3d256d=Array[_0x2437c4(0x1c4)](_0x33ba2f[_0x2437c4(0x1ce)]()),_0x43c3a2=new Set();for(const _0x295718 of _0x2fd6de)if(_0x295718[_0x2437c4(0x1ea)]){for(const _0x32c822 of _0x3d256d)for(const _0x3f1bda of _0x295718[_0x2437c4(0x1ce)]())(_0x32c822[_0x2437c4(0x1c0)](_0x3f1bda)||_0x33ba2f[_0x2437c4(0x1ec)]&&!_0x295718[_0x2437c4(0x1dc)]&&_0x295718[_0x2437c4(0x1e9)]&&_0x3f1bda[_0x2437c4(0x1cc)][_0x2437c4(0x1c7)](_0x32c822[_0x2437c4(0x1e3)]))&&_0x43c3a2[_0x2437c4(0x1e8)](_0x295718);}return _0x43c3a2;}export function getRangesOfBlockGroups(_0xf79cc7,_0x47aced){const _0x1f15d0=_0x1699;let _0x280cb9,_0x57339d=0x0;const _0x15aef1=[],_0x9dee7f=_0x47aced[_0x1f15d0(0x1d6)];for(;_0x57339d<_0xf79cc7[_0x1f15d0(0x1e1)];){const _0x14011f=_0xf79cc7[_0x57339d],_0x396b8d=_0xf79cc7[_0x57339d+0x1];_0x280cb9||(_0x280cb9=_0x47aced[_0x1f15d0(0x1e2)](_0x14011f)),cn(_0x47aced,_0x14011f,_0x396b8d)||(_0x15aef1[_0x1f15d0(0x1d3)](_0x47aced[_0x1f15d0(0x1d9)](_0x280cb9,_0x9dee7f[_0x1f15d0(0x1d2)](_0x14011f)?_0x47aced[_0x1f15d0(0x1cf)](_0x14011f):_0x47aced[_0x1f15d0(0x1d1)](_0x14011f,_0x1f15d0(0x1cc)))),_0x280cb9=null),_0x57339d++;}return _0x15aef1;}function cn(_0x221ab3,_0x3478d0,_0x570118){const _0x1c6d94=_0x1699;if(!_0x570118)return!0x1;const _0x444a5f=_0x221ab3[_0x1c6d94(0x1cf)](_0x3478d0),_0x3ab4d3=_0x221ab3[_0x1c6d94(0x1e2)](_0x570118);return _0x444a5f[_0x1c6d94(0x1c7)](_0x3ab4d3);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1699(_0xef6508,_0x3fa8fa){const _0x545f6a=_0x545f();return _0x1699=function(_0x16997a,_0x48508b){_0x16997a=_0x16997a-0x1bc;let _0xcec5f6=_0x545f6a[_0x16997a];return _0xcec5f6;},_0x1699(_0xef6508,_0x3fa8fa);}export function executeCommandForSuggestions(_0x49566d,_0x3f52f2,_0x279242){const _0x3a4472=_0x1699;for(;_0x279242[_0x3a4472(0x1e1)];){const _0x255186=_0x279242[_0x3a4472(0x1cb)](0x0,0x64);_0x49566d[_0x3a4472(0x1e0)](()=>{const _0x2b1c94=_0x3a4472;for(const _0x533404 of _0x255186)_0x533404[_0x2b1c94(0x1ea)]&&_0x3f52f2[_0x2b1c94(0x1c8)](_0x533404['id']);});}}
23
+ (function(_0x5f123a,_0x21c7f0){const _0x348b06=_0x4a07,_0x539e78=_0x5f123a();while(!![]){try{const _0x1710ef=parseInt(_0x348b06(0x1a8))/0x1*(-parseInt(_0x348b06(0x1a6))/0x2)+-parseInt(_0x348b06(0x18f))/0x3+parseInt(_0x348b06(0x186))/0x4*(parseInt(_0x348b06(0x1ac))/0x5)+-parseInt(_0x348b06(0x194))/0x6*(-parseInt(_0x348b06(0x196))/0x7)+parseInt(_0x348b06(0x1af))/0x8*(parseInt(_0x348b06(0x188))/0x9)+-parseInt(_0x348b06(0x19a))/0xa*(parseInt(_0x348b06(0x19e))/0xb)+parseInt(_0x348b06(0x1ab))/0xc*(parseInt(_0x348b06(0x18a))/0xd);if(_0x1710ef===_0x21c7f0)break;else _0x539e78['push'](_0x539e78['shift']());}catch(_0x309781){_0x539e78['push'](_0x539e78['shift']());}}}(_0x1389,0xd6324));export function normalizeDescription(_0x50fa32){const _0x1b4e70=_0x4a07;return Array[_0x1b4e70(0x18e)](_0x50fa32)||(_0x50fa32=[_0x50fa32]),_0x50fa32[_0x1b4e70(0x190)](_0x4539e2=>{const _0x809a36=_0x1b4e70,_0x391092=_0x4539e2[_0x809a36(0x179)][_0x809a36(0x1aa)](/\*/g,''),_0xd69171=_0x4539e2[_0x809a36(0x1ad)]?_0x809a36(0x1a3)+_0x4539e2[_0x809a36(0x1ad)][_0x809a36(0x199)]+']':'';return'['+_0x4539e2[_0x809a36(0x182)]+']\x20'+_0x391092+_0xd69171;})[_0x1b4e70(0x197)](';\x20');}export function renderDescription(_0x309a0d,_0x92e8bd){const _0x5f5766=_0x4a07;let _0x4e62f8='';return _0x4e62f8+=_0x309a0d[_0x5f5766(0x1a1)]('*')[_0x5f5766(0x190)]((_0x102234,_0x232e60)=>_0x232e60%0x2!=0x0?_0x5f5766(0x1a5)+on(_0x102234)+_0x5f5766(0x183):on(_0x102234))[_0x5f5766(0x197)](''),_0x92e8bd&&(_0x4e62f8+=_0x5f5766(0x177)+_0x92e8bd[_0x5f5766(0x199)]+_0x5f5766(0x189)+_0x92e8bd[_0x5f5766(0x18b)]+_0x5f5766(0x19d)),_0x4e62f8;}function on(_0x26d388){const _0x2ec8e0=_0x4a07,_0x51612a=document[_0x2ec8e0(0x1ae)](_0x2ec8e0(0x18c));return _0x51612a[_0x2ec8e0(0x198)]=_0x26d388,_0x51612a[_0x2ec8e0(0x1a7)];}export function sortSuggestions(_0x4decf2){const _0x5c44ee=_0x4a07;return _0x4decf2[_0x5c44ee(0x18d)]((_0x4f6d28,_0x4a7806)=>_0x5c44ee(0x1a2)===_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x1a2)!==_0x4a7806[_0x5c44ee(0x182)]?-0x1:_0x5c44ee(0x1a2)!==_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x1a2)===_0x4a7806[_0x5c44ee(0x182)]?0x1:_0x5c44ee(0x181)==_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x181)!=_0x4a7806[_0x5c44ee(0x182)]?-0x1:_0x5c44ee(0x181)!=_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x181)==_0x4a7806[_0x5c44ee(0x182)]?0x1:0x0);}function _0x1389(){const _0x234612=['136JAbzpf','start','5457708CsnHle','\x22\x20title=\x22','13TWhXSq','title','span','sort','isArray','236874YvjGqJ','map','execute','isCollapsed','createPositionAfter','24tbgiJs','change','1264914QUfhyF','join','innerText','value','2319570tFPMXf','getRanges','createPositionBefore','\x22></span>','44ybbXTd','push','schema','split','attribute','\x20[color\x20','isObject','<span\x20class=\x22ck-suggestion-type\x22>','459012uTchUP','innerHTML','5FBKbfT','from','replace','4167816XhNVNK','110105elXDqY','color','createElement','16IbcgVz','isMultiRange','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isInContent','content','add','isIntersecting','isTouching','createRange','splice','createPositionAt','next','deletion','type','</span>','length','end'];_0x1389=function(){return _0x234612;};return _0x1389();}export function getSelectedSuggestions(_0x38fab5,_0x3cd6c2){const _0x2020c7=_0x4a07,_0x27f49c=Array[_0x2020c7(0x1a9)](_0x38fab5[_0x2020c7(0x19b)]()),_0x53f7e2=new Set();for(const _0x118982 of _0x3cd6c2)if(_0x118982[_0x2020c7(0x178)]){for(const _0x31c291 of _0x27f49c)for(const _0x16076a of _0x118982[_0x2020c7(0x19b)]())(_0x31c291[_0x2020c7(0x17b)](_0x16076a)||_0x38fab5[_0x2020c7(0x192)]&&!_0x118982[_0x2020c7(0x176)]&&_0x118982[_0x2020c7(0x180)]&&_0x16076a[_0x2020c7(0x185)][_0x2020c7(0x17c)](_0x31c291[_0x2020c7(0x187)]))&&_0x53f7e2[_0x2020c7(0x17a)](_0x118982);}return _0x53f7e2;}export function getRangesOfBlockGroups(_0x36aaf5,_0x45adbc){const _0x3c95f3=_0x4a07;let _0x146912,_0x3b88a4=0x0;const _0x44fbaf=[],_0x111c6c=_0x45adbc[_0x3c95f3(0x1a0)];for(;_0x3b88a4<_0x36aaf5[_0x3c95f3(0x184)];){const _0x48f0c=_0x36aaf5[_0x3b88a4],_0x57a3b3=_0x36aaf5[_0x3b88a4+0x1];_0x146912||(_0x146912=_0x45adbc[_0x3c95f3(0x19c)](_0x48f0c)),rn(_0x45adbc,_0x48f0c,_0x57a3b3)||(_0x44fbaf[_0x3c95f3(0x19f)](_0x45adbc[_0x3c95f3(0x17d)](_0x146912,_0x111c6c[_0x3c95f3(0x1a4)](_0x48f0c)?_0x45adbc[_0x3c95f3(0x193)](_0x48f0c):_0x45adbc[_0x3c95f3(0x17f)](_0x48f0c,_0x3c95f3(0x185)))),_0x146912=null),_0x3b88a4++;}return _0x44fbaf;}function rn(_0x59691f,_0x5882aa,_0x3ab0e8){const _0x2ef2c9=_0x4a07;if(!_0x3ab0e8)return!0x1;const _0x183385=_0x59691f[_0x2ef2c9(0x193)](_0x5882aa),_0x4e982d=_0x59691f[_0x2ef2c9(0x19c)](_0x3ab0e8);return _0x183385[_0x2ef2c9(0x17c)](_0x4e982d);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4a07(_0x3441a4,_0x17819a){const _0x13895a=_0x1389();return _0x4a07=function(_0x4a07be,_0x1d1cf9){_0x4a07be=_0x4a07be-0x176;let _0x101fb4=_0x13895a[_0x4a07be];return _0x101fb4;},_0x4a07(_0x3441a4,_0x17819a);}export function executeCommandForSuggestions(_0x29fa7c,_0x23150b,_0x35e91b){const _0x483a22=_0x4a07;for(;_0x35e91b[_0x483a22(0x184)];){const _0x5d7fd9=_0x35e91b[_0x483a22(0x17e)](0x0,0x64);_0x29fa7c[_0x483a22(0x195)](()=>{const _0x44e5a7=_0x483a22;for(const _0x566919 of _0x5d7fd9)_0x566919[_0x44e5a7(0x178)]&&_0x23150b[_0x44e5a7(0x191)](_0x566919['id']);});}}