@ckeditor/ckeditor5-collaboration-core 38.0.1 → 38.1.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
- const _0x3eab=['sign','boolean','toString','keys','object','isArray','number','string'];(function(_0x5179fb,_0x3eabb8){const _0x3117bc=function(_0x5e0663){while(--_0x5e0663){_0x5179fb['push'](_0x5179fb['shift']());}};_0x3117bc(++_0x3eabb8);}(_0x3eab,0x1ba));const _0x3117=function(_0x5179fb,_0x3eabb8){_0x5179fb=_0x5179fb-0x0;let _0x3117bc=_0x3eab[_0x5179fb];return _0x3117bc;};export default function b(_0x251049){let _0x1b23d4=0x0,_0x5176d2=0x0;for(const _0x35edd9 of g(_0x251049))_0x1b23d4=(_0x1b23d4<<0x5)-_0x1b23d4+_0x35edd9,_0x1b23d4&=_0x1b23d4,[_0x1b23d4,_0x5176d2]=[_0x5176d2,_0x1b23d4];return O(_0x1b23d4)+O(_0x5176d2);}function*j(_0x461c55){_0x461c55?_0x3117('0x7')==typeof _0x461c55?yield 0x1:Array[_0x3117('0x3')](_0x461c55)?yield*function*(_0x5a6b0e){for(const _0x1635f8 of _0x5a6b0e)yield*j(_0x1635f8);}(_0x461c55):_0x3117('0x2')==typeof _0x461c55?yield*g(_0x461c55):_0x3117('0x5')==typeof _0x461c55?yield*A(_0x461c55):_0x3117('0x4')==typeof _0x461c55&&(yield _0x461c55):yield 0x0;}function*g(_0x2c6ebd){if(yield M('{'),_0x2c6ebd){const _0x19838d=Object[_0x3117('0x1')](_0x2c6ebd)['sort']();for(const _0x8235d6 of _0x19838d){yield*A(_0x8235d6),yield M(':');const _0x459031=_0x2c6ebd[_0x8235d6];yield*j(_0x459031);}}yield M('}');}function*A(_0x2c6c9e){yield M('\x22');for(const _0x433dbc of _0x2c6c9e)yield M(_0x433dbc);yield M('\x22');}function M(_0x3f527b){return _0x3f527b['charCodeAt'](0x0);}function O(_0x39d8d2){return(_0x39d8d2*=Math[_0x3117('0x6')](_0x39d8d2))[_0x3117('0x0')](0x24);}
23
+ const _0x1782=['sort','toString','sign','object','keys','boolean','isArray','string'];(function(_0x47fee,_0x1782d2){const _0x49f343=function(_0x2928c3){while(--_0x2928c3){_0x47fee['push'](_0x47fee['shift']());}};_0x49f343(++_0x1782d2);}(_0x1782,0x65));const _0x49f3=function(_0x47fee,_0x1782d2){_0x47fee=_0x47fee-0x0;let _0x49f343=_0x1782[_0x47fee];return _0x49f343;};export default function b(_0x4f99ee){let _0x45573a=0x0,_0x43a2e2=0x0;for(const _0x5cbfa0 of g(_0x4f99ee))_0x45573a=(_0x45573a<<0x5)-_0x45573a+_0x5cbfa0,_0x45573a&=_0x45573a,[_0x45573a,_0x43a2e2]=[_0x43a2e2,_0x45573a];return O(_0x45573a)+O(_0x43a2e2);}function*j(_0x36675a){_0x36675a?_0x49f3('0x0')==typeof _0x36675a?yield 0x1:Array[_0x49f3('0x1')](_0x36675a)?yield*function*(_0x4d85fd){for(const _0x37a3df of _0x4d85fd)yield*j(_0x37a3df);}(_0x36675a):_0x49f3('0x6')==typeof _0x36675a?yield*g(_0x36675a):_0x49f3('0x2')==typeof _0x36675a?yield*A(_0x36675a):'number'==typeof _0x36675a&&(yield _0x36675a):yield 0x0;}function*g(_0x12ac6a){if(yield M('{'),_0x12ac6a){const _0x397cee=Object[_0x49f3('0x7')](_0x12ac6a)[_0x49f3('0x3')]();for(const _0x2699b0 of _0x397cee){yield*A(_0x2699b0),yield M(':');const _0x2a4894=_0x12ac6a[_0x2699b0];yield*j(_0x2a4894);}}yield M('}');}function*A(_0x3ff80b){yield M('\x22');for(const _0x3e4cbd of _0x3ff80b)yield M(_0x3e4cbd);yield M('\x22');}function M(_0x3526ff){return _0x3526ff['charCodeAt'](0x0);}function O(_0x1eb7a7){return(_0x1eb7a7*=Math[_0x49f3('0x5')](_0x1eb7a7))[_0x49f3('0x4')](0x24);}
@@ -1,12 +1,12 @@
1
- /**
2
- * Trims text inside a html tags and takes care of all closing tags.
3
- *
4
- * @param html
5
- * @param options
6
- * @param limit Limit of the characters.
7
- * @param suffix
8
- */
9
- export default function trimHtml(html: string, { limit, suffix }: {
10
- limit: number;
11
- suffix?: string;
12
- }): string;
1
+ /**
2
+ * Trims text inside a html tags and takes care of all closing tags.
3
+ *
4
+ * @param html
5
+ * @param options
6
+ * @param limit Limit of the characters.
7
+ * @param suffix
8
+ */
9
+ export default function trimHtml(html: string, { limit, suffix }: {
10
+ limit: number;
11
+ suffix?: string;
12
+ }): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4565=['length','startsWith','slice','replace','pop','join','substring','...','match','indexOf','push'];(function(_0x314440,_0x4565b7){const _0x1314b6=function(_0xcc9c6a){while(--_0xcc9c6a){_0x314440['push'](_0x314440['shift']());}};_0x1314b6(++_0x4565b7);}(_0x4565,0x133));const _0x1314=function(_0x314440,_0x4565b7){_0x314440=_0x314440-0x0;let _0x1314b6=_0x4565[_0x314440];return _0x1314b6;};export default function z(_0x36596b,{limit:_0x4a7381,suffix:_0x148abc=_0x1314('0x8')}){const _0x4d5e6a=[];let _0x24ea5b=0x0;const _0x215c09=_0x36596b[_0x1314('0x4')](/</g,'\x0a<')[_0x1314('0x4')](/>/g,'>\x0a')[_0x1314('0x4')](/^\n/g,'')[_0x1314('0x4')](/\n$/g,'')['split']('\x0a');for(let _0x23cb26=0x0;_0x23cb26<_0x215c09['length'];_0x23cb26++){let _0x13709a=_0x215c09[_0x23cb26];const _0x4c3c9a=Z(_0x13709a);if(_0x13709a[_0x1314('0x2')]('<')){if(_0x24ea5b>=_0x4a7381){const _0x155bc7=_0x13709a[_0x1314('0x9')](/[a-zA-Z]+/);if(!_0x155bc7){_0x215c09[_0x23cb26]='';continue;}const _0x38e891=_0x155bc7[0x0];_0x13709a[_0x1314('0x2')]('</')?(_0x4d5e6a[_0x1314('0x1')]&&(_0x13709a=''),_0x4d5e6a[_0x1314('0x5')]()):(_0x4d5e6a['push'](_0x38e891),_0x13709a='');}}else{if(_0x24ea5b>=_0x4a7381)_0x13709a='';else{if(_0x24ea5b+_0x4c3c9a['length']>=_0x4a7381){let _0x4c81d7=_0x4a7381-_0x24ea5b;if('\x20'===_0x4c3c9a[_0x4c81d7-0x1])_0x4c81d7--;else{const _0x4cb69e=_0x4c3c9a[_0x1314('0x3')](_0x4c81d7)[_0x1314('0xa')]('\x20');-0x1!==_0x4cb69e?_0x4c81d7+=_0x4cb69e:_0x4c81d7=_0x13709a[_0x1314('0x1')];}_0x13709a=_0x4c3c9a[_0x1314('0x3')](0x0,_0x4c81d7)[_0x1314('0x6')]('')+_0x148abc,_0x24ea5b=_0x4a7381;}else _0x24ea5b+=_0x4c3c9a[_0x1314('0x1')];}}_0x215c09[_0x23cb26]=_0x13709a;}return _0x215c09[_0x1314('0x6')]('\x0a')['replace'](/\n/g,'');}function Z(_0xde14c2){const _0x5ddeb6=[];for(let _0x12fdea=0x0;_0x12fdea<_0xde14c2[_0x1314('0x1')];_0x12fdea++){const _0x10f89e=_0xde14c2[_0x1314('0x7')](_0x12fdea)[_0x1314('0x9')](/^&[a-z0-9#]+;/);if(_0x10f89e){const _0x2d4044=_0x10f89e[0x0];_0x5ddeb6[_0x1314('0x0')](_0x2d4044),_0x12fdea+=_0x2d4044['length']-0x1;}else _0x5ddeb6['push'](_0xde14c2[_0x12fdea]);}return _0x5ddeb6;}
23
+ const _0x2f2d=['substring','join','...','split','startsWith','length','match','pop','indexOf','replace','slice','push'];(function(_0x28a50d,_0x2f2d21){const _0x23983d=function(_0x541eca){while(--_0x541eca){_0x28a50d['push'](_0x28a50d['shift']());}};_0x23983d(++_0x2f2d21);}(_0x2f2d,0x10e));const _0x2398=function(_0x28a50d,_0x2f2d21){_0x28a50d=_0x28a50d-0x0;let _0x23983d=_0x2f2d[_0x28a50d];return _0x23983d;};export default function z(_0x19affa,{limit:_0x312c30,suffix:_0x24da62=_0x2398('0x8')}){const _0x59cdc0=[];let _0x2a939a=0x0;const _0x3ce932=_0x19affa[_0x2398('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x2398('0x3')](/^\n/g,'')[_0x2398('0x3')](/\n$/g,'')[_0x2398('0x9')]('\x0a');for(let _0x7ceb7d=0x0;_0x7ceb7d<_0x3ce932[_0x2398('0xb')];_0x7ceb7d++){let _0x45c7a5=_0x3ce932[_0x7ceb7d];const _0x1189dc=Z(_0x45c7a5);if(_0x45c7a5[_0x2398('0xa')]('<')){if(_0x2a939a>=_0x312c30){const _0x34cb33=_0x45c7a5[_0x2398('0x0')](/[a-zA-Z]+/);if(!_0x34cb33){_0x3ce932[_0x7ceb7d]='';continue;}const _0x375f8e=_0x34cb33[0x0];_0x45c7a5[_0x2398('0xa')]('</')?(_0x59cdc0[_0x2398('0xb')]&&(_0x45c7a5=''),_0x59cdc0[_0x2398('0x1')]()):(_0x59cdc0[_0x2398('0x5')](_0x375f8e),_0x45c7a5='');}}else{if(_0x2a939a>=_0x312c30)_0x45c7a5='';else{if(_0x2a939a+_0x1189dc['length']>=_0x312c30){let _0x40c5d1=_0x312c30-_0x2a939a;if('\x20'===_0x1189dc[_0x40c5d1-0x1])_0x40c5d1--;else{const _0x4b7daf=_0x1189dc['slice'](_0x40c5d1)[_0x2398('0x2')]('\x20');-0x1!==_0x4b7daf?_0x40c5d1+=_0x4b7daf:_0x40c5d1=_0x45c7a5[_0x2398('0xb')];}_0x45c7a5=_0x1189dc[_0x2398('0x4')](0x0,_0x40c5d1)[_0x2398('0x7')]('')+_0x24da62,_0x2a939a=_0x312c30;}else _0x2a939a+=_0x1189dc[_0x2398('0xb')];}}_0x3ce932[_0x7ceb7d]=_0x45c7a5;}return _0x3ce932[_0x2398('0x7')]('\x0a')[_0x2398('0x3')](/\n/g,'');}function Z(_0x42f1fe){const _0x213219=[];for(let _0x3d2ed6=0x0;_0x3d2ed6<_0x42f1fe[_0x2398('0xb')];_0x3d2ed6++){const _0x49f46d=_0x42f1fe[_0x2398('0x6')](_0x3d2ed6)[_0x2398('0x0')](/^&[a-z0-9#]+;/);if(_0x49f46d){const _0x5bddf7=_0x49f46d[0x0];_0x213219['push'](_0x5bddf7),_0x3d2ed6+=_0x5bddf7['length']-0x1;}else _0x213219[_0x2398('0x5')](_0x42f1fe[_0x3d2ed6]);}return _0x213219;}