@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.0 → 0.0.0-nightly-20230725.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20230725.0",
3
+ "version": "0.0.0-nightly-20230725.1",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "0.0.0-nightly-20230725.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20230725.0",
42
+ "ckeditor5": "0.0.0-nightly-20230725.1",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20230725.1",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
46
  "engines": {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c3f=['schema','isLimit','from','registerDescriptionCallback','forceValue','CodeBlock','commandName','indentCodeBlock','get','filter','model','codeBlock','locale','checkChild','document','ELEMENT_CODE_BLOCK','formatBlock','config','commands','registerElementLabel','blockName','name','languages','has','language','outdentCodeBlock','afterInit','markBlockFormat','TrackChangesEditing','*Format:*\x20%0','commandParams','enableCommand','*Remove\x20format:*\x20%0','change','find','plugins'];(function(_0x116b8e,_0x2c3fa4){const _0x41ce1c=function(_0x594c4f){while(--_0x594c4f){_0x116b8e['push'](_0x116b8e['shift']());}};_0x41ce1c(++_0x2c3fa4);}(_0x2c3f,0xad));const _0x41ce=function(_0x116b8e,_0x2c3fa4){_0x116b8e=_0x116b8e-0x0;let _0x41ce1c=_0x2c3f[_0x116b8e];return _0x41ce1c;};import{Plugin as _0xe1e88a}from'ckeditor5/src/core';import{getTranslation as _0x562916}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1c5e6b}from'../utils/utils';export default class O extends _0xe1e88a{[_0x41ce('0x21')](){const _0xa40a5c=this['editor'];if(!_0xa40a5c[_0x41ce('0x6')][_0x41ce('0x1e')](_0x41ce('0xc')))return;const _0x5deeaf=_0xa40a5c['plugins'][_0x41ce('0xf')](_0x41ce('0x23')),_0x38764d=_0xa40a5c[_0x41ce('0x13')],_0x4878d2=_0xa40a5c[_0x41ce('0x18')][_0x41ce('0xf')]('codeBlock')[_0x41ce('0x1d')],_0x64a90b=_0xa40a5c[_0x41ce('0x19')][_0x41ce('0xf')]('codeBlock');_0x5deeaf[_0x41ce('0x2')](_0x41ce('0xe')),_0x5deeaf[_0x41ce('0x2')](_0x41ce('0x20')),_0x5deeaf[_0x41ce('0x2')](_0x41ce('0x12'),(_0x24b9ac,_0x17374e={})=>{const _0x3d45b7=_0xa40a5c[_0x41ce('0x11')],_0x5ef247=_0xa40a5c[_0x41ce('0x11')][_0x41ce('0x15')]['selection'],_0x15e386=_0x17374e&&void 0x0!==_0x17374e[_0x41ce('0xb')]?_0x17374e[_0x41ce('0xb')]:!_0x64a90b['value'];let _0x15e63e;_0x17374e[_0x41ce('0x1f')]||(_0x17374e['language']=_0x4878d2[0x0][_0x41ce('0x1f')]),_0x15e63e=_0x15e386?Array[_0x41ce('0x9')](_0x5ef247['getSelectedBlocks']())[_0x41ce('0x10')](_0x3c33b9=>to(_0x3c33b9)||function(_0x2f648c,_0xaa00cf){if(_0x2f648c['is']('rootElement')||_0xaa00cf[_0x41ce('0x8')](_0x2f648c))return!0x1;return _0xaa00cf[_0x41ce('0x14')](_0x2f648c['parent'],'codeBlock');}(_0x3c33b9,_0x3d45b7[_0x41ce('0x7')])):Array[_0x41ce('0x9')](_0x5ef247['getSelectedBlocks']())[_0x41ce('0x10')](_0x2cbce7=>to(_0x2cbce7));const _0x99c4a7=_0x1c5e6b(_0x15e63e,_0x3d45b7);_0x3d45b7[_0x41ce('0x4')](()=>{for(const _0x599a5a of _0x99c4a7)_0x5deeaf[_0x41ce('0x22')](_0x599a5a,{'commandName':_0x41ce('0x12'),'commandParams':[{..._0x17374e,'forceValue':_0x15e386}],'formatGroupId':_0x41ce('0x1b')});});}),(_0x5deeaf['_descriptionFactory'][_0x41ce('0x1a')]('codeBlock',_0x6bc485=>_0x562916(_0x38764d,_0x41ce('0x16'),_0x6bc485)),_0x5deeaf['_descriptionFactory'][_0x41ce('0xa')](_0x171207=>{const _0x15ec86=_0x38764d['t'],{type:_0x8c0561,data:_0x126400}=_0x171207;if(_0x41ce('0x17')==_0x8c0561&&_0x126400&&'codeBlock'==_0x126400[_0x41ce('0xd')]){const _0x4e5183=_0x126400[_0x41ce('0x1')][0x0][_0x41ce('0x1f')],_0x47c7b9=_0x15ec86(_0x4878d2[_0x41ce('0x5')](_0x15b30a=>_0x15b30a['language']===_0x4e5183)['label']);return _0x126400[_0x41ce('0x1')][0x0]['forceValue']?{'type':'format','content':_0x562916(_0x38764d,_0x41ce('0x0'),_0x562916(_0x38764d,_0x41ce('0x16'),0x1)+'\x20('+_0x47c7b9+')')}:{'type':'format','content':_0x562916(_0x38764d,_0x41ce('0x3'),_0x562916(_0x38764d,_0x41ce('0x16'),0x1))};}}));}}function to(_0x46321d){return'codeBlock'==_0x46321d[_0x41ce('0x1c')];}
23
+ const _0x48f7=['model','name','formatBlock','filter','ELEMENT_CODE_BLOCK','forceValue','languages','enableCommand','commandParams','rootElement','selection','registerDescriptionCallback','TrackChangesEditing','markBlockFormat','blockName','label','indentCodeBlock','from','has','codeBlock','change','_descriptionFactory','plugins','*Format:*\x20%0','format','config','get','language','getSelectedBlocks','outdentCodeBlock','value','CodeBlock','checkChild','afterInit'];(function(_0x4944be,_0x48f7d9){const _0x38a860=function(_0x4a951e){while(--_0x4a951e){_0x4944be['push'](_0x4944be['shift']());}};_0x38a860(++_0x48f7d9);}(_0x48f7,0x198));const _0x38a8=function(_0x4944be,_0x48f7d9){_0x4944be=_0x4944be-0x0;let _0x38a860=_0x48f7[_0x4944be];return _0x38a860;};import{Plugin as _0x70a4c2}from'ckeditor5/src/core';import{getTranslation as _0x3f928c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x39f005}from'../utils/utils';export default class O extends _0x70a4c2{[_0x38a8('0x21')](){const _0x456adc=this['editor'];if(!_0x456adc[_0x38a8('0x16')][_0x38a8('0x12')](_0x38a8('0x1f')))return;const _0xf1c6aa=_0x456adc['plugins'][_0x38a8('0x1a')](_0x38a8('0xc')),_0x583b54=_0x456adc['locale'],_0x2c93a2=_0x456adc[_0x38a8('0x19')][_0x38a8('0x1a')](_0x38a8('0x13'))[_0x38a8('0x6')],_0x366ddc=_0x456adc['commands'][_0x38a8('0x1a')](_0x38a8('0x13'));_0xf1c6aa[_0x38a8('0x7')](_0x38a8('0x10')),_0xf1c6aa[_0x38a8('0x7')](_0x38a8('0x1d')),_0xf1c6aa['enableCommand'](_0x38a8('0x13'),(_0x90e2af,_0x5999c1={})=>{const _0x4b4786=_0x456adc[_0x38a8('0x0')],_0x94fae0=_0x456adc[_0x38a8('0x0')]['document'][_0x38a8('0xa')],_0x5452aa=_0x5999c1&&void 0x0!==_0x5999c1[_0x38a8('0x5')]?_0x5999c1[_0x38a8('0x5')]:!_0x366ddc[_0x38a8('0x1e')];let _0x1f50c5;_0x5999c1[_0x38a8('0x1b')]||(_0x5999c1['language']=_0x2c93a2[0x0][_0x38a8('0x1b')]),_0x1f50c5=_0x5452aa?Array['from'](_0x94fae0[_0x38a8('0x1c')]())[_0x38a8('0x3')](_0x52dd5f=>oo(_0x52dd5f)||function(_0x35f635,_0x4fc59d){if(_0x35f635['is'](_0x38a8('0x9'))||_0x4fc59d['isLimit'](_0x35f635))return!0x1;return _0x4fc59d[_0x38a8('0x20')](_0x35f635['parent'],'codeBlock');}(_0x52dd5f,_0x4b4786['schema'])):Array[_0x38a8('0x11')](_0x94fae0['getSelectedBlocks']())['filter'](_0x12aa33=>oo(_0x12aa33));const _0x516359=_0x39f005(_0x1f50c5,_0x4b4786);_0x4b4786[_0x38a8('0x14')](()=>{for(const _0x347754 of _0x516359)_0xf1c6aa[_0x38a8('0xd')](_0x347754,{'commandName':_0x38a8('0x13'),'commandParams':[{..._0x5999c1,'forceValue':_0x5452aa}],'formatGroupId':_0x38a8('0xe')});});}),(_0xf1c6aa['_descriptionFactory']['registerElementLabel'](_0x38a8('0x13'),_0x1b07be=>_0x3f928c(_0x583b54,_0x38a8('0x4'),_0x1b07be)),_0xf1c6aa[_0x38a8('0x15')][_0x38a8('0xb')](_0x19280a=>{const _0x335f39=_0x583b54['t'],{type:_0x54ce3b,data:_0x321086}=_0x19280a;if(_0x38a8('0x2')==_0x54ce3b&&_0x321086&&_0x38a8('0x13')==_0x321086['commandName']){const _0x5eafe2=_0x321086[_0x38a8('0x8')][0x0][_0x38a8('0x1b')],_0x5dc484=_0x335f39(_0x2c93a2['find'](_0x395974=>_0x395974['language']===_0x5eafe2)[_0x38a8('0xf')]);return _0x321086['commandParams'][0x0][_0x38a8('0x5')]?{'type':_0x38a8('0x18'),'content':_0x3f928c(_0x583b54,_0x38a8('0x17'),_0x3f928c(_0x583b54,_0x38a8('0x4'),0x1)+'\x20('+_0x5dc484+')')}:{'type':'format','content':_0x3f928c(_0x583b54,'*Remove\x20format:*\x20%0',_0x3f928c(_0x583b54,_0x38a8('0x4'),0x1))};}}));}}function oo(_0x56a455){return _0x38a8('0x13')==_0x56a455[_0x38a8('0x1')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a23=['slice','fontColor','isFormatting','*Set\x20format\x20to:*\x20%0','change','afterInit','createRange','getAttributes','modifySelection','registerDescriptionCallback','from','toLowerCase','keys','find','fontSize.options','title','getRanges','boolean','plugins','word','toUpperCase','format','model','getItems','schema','getFirstPosition','locale','config','commandParams','charAt','split','markInlineFormat','pasteFormat','commandName','copyFormat','entries','fontSize','commands','document','length','getAttributeProperties','enableCommand','createSelection','push','forward','getLastPosition','fontBackgroundColor','get','isBlock','backward'];(function(_0xb513bb,_0x3a23d4){const _0xd3bd82=function(_0x22d505){while(--_0x22d505){_0xb513bb['push'](_0xb513bb['shift']());}};_0xd3bd82(++_0x3a23d4);}(_0x3a23,0x93));const _0xd3bd=function(_0xb513bb,_0x3a23d4){_0xb513bb=_0xb513bb-0x0;let _0xd3bd82=_0x3a23[_0xb513bb];return _0xd3bd82;};import{Plugin as _0x187fb8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x6ce9b6}from'ckeditor5/src/ui';import{first as _0x272653}from'ckeditor5/src/utils';import{getTranslation as _0x3f2965}from'../utils/common-translations';export default class W extends _0x187fb8{[_0xd3bd('0x8')](){const _0xe45d72=this['editor'],_0x3b3b15=_0xe45d72[_0xd3bd('0x19')],_0x3d1803=_0x3b3b15[_0xd3bd('0x29')]['selection'],_0x355398=_0xe45d72[_0xd3bd('0x15')][_0xd3bd('0x0')]('TrackChangesEditing'),_0x3ba5a0=_0xe45d72['locale'],_0x14d7ab=_0xe45d72[_0xd3bd('0x28')][_0xd3bd('0x0')](_0xd3bd('0x25')),_0x177446=_0xe45d72['commands']['get'](_0xd3bd('0x23'));_0x14d7ab&&_0x177446&&(_0x355398[_0xd3bd('0x2c')](_0xd3bd('0x23'),(_0x53a371,_0x192802={})=>{const _0x302d5b=_0x192802;_0x3b3b15[_0xd3bd('0x7')](()=>{const _0x59fb08=Array[_0xd3bd('0xd')](_0x3d1803[_0xd3bd('0x13')]()),_0x59e075=_0x3d1803['isCollapsed']?[no(_0x3b3b15,_0x3d1803)]:_0x59fb08,_0x61144e=!!_0x272653(function*(_0x3e145e,_0x2881bf){const _0x358ab4=_0x52ebc0=>!!_0x272653(function*(_0x5a6bd2,_0x20e598){for(const [_0x38a4ea]of _0x5a6bd2[_0xd3bd('0xa')]()){const _0x52e3ee=_0x20e598[_0xd3bd('0x2b')](_0x38a4ea);_0x52e3ee&&_0x52e3ee[_0xd3bd('0x5')]&&(yield _0x38a4ea);}}(_0x52ebc0,_0x2881bf));for(const _0x2ad59e of _0x3e145e['getRanges']())for(const _0x18c299 of _0x2ad59e[_0xd3bd('0x1a')]())!_0x2881bf[_0xd3bd('0x1')](_0x18c299)&&_0x358ab4(_0x18c299)&&(yield _0x18c299);for(const _0x3064dc of _0x3e145e['getSelectedBlocks']())_0x358ab4(_0x3064dc)&&(yield _0x3064dc);_0x358ab4(_0x3e145e)&&(yield _0x3e145e);}(_0x3d1803,_0x3b3b15[_0xd3bd('0x1b')]));if(_0x61144e||0x0!==Object[_0xd3bd('0xf')](_0x302d5b)['length'])for(const _0x3e5fb5 of _0x59e075)_0x355398[_0xd3bd('0x22')](_0x3e5fb5,{'commandName':_0xd3bd('0x23'),'commandParams':[_0x302d5b]});});}),_0x355398['_descriptionFactory'][_0xd3bd('0xc')](_0x1955db=>{const {data:_0x513228}=_0x1955db;if(_0x513228&&_0xd3bd('0x23')===_0x513228[_0xd3bd('0x24')]){const _0x5ca805=[],_0x928754=_0x513228[_0xd3bd('0x1f')][0x0];for(const [_0x5518c5,_0x40bb37]of Object[_0xd3bd('0x26')](_0x928754))_0x5ca805[_0xd3bd('0x2e')](co(_0xe45d72,_0x5518c5,_0x40bb37));return _0x5ca805[_0xd3bd('0x2a')]?{'type':_0xd3bd('0x18'),'content':_0x3f2965(_0x3ba5a0,_0xd3bd('0x6'),_0x5ca805['join'](',\x20'))}:{'type':_0xd3bd('0x18'),'content':_0x3f2965(_0x3ba5a0,'*Remove\x20all\x20formatting*')};}}),_0xe45d72[_0xd3bd('0x15')][_0xd3bd('0x0')]('TrackChangesEditing')[_0xd3bd('0x2c')](_0xd3bd('0x25')));}}function no(_0x2a94a6,_0x376e7e){const _0x1a2ae4=_0x2a94a6[_0xd3bd('0x2d')](_0x376e7e);_0x2a94a6[_0xd3bd('0xb')](_0x1a2ae4,{'unit':'word','direction':_0xd3bd('0x2')});const _0x415096=_0x1a2ae4[_0xd3bd('0x1c')]();_0x2a94a6[_0xd3bd('0xb')](_0x1a2ae4,{'unit':_0xd3bd('0x16'),'direction':_0xd3bd('0x2f')});const _0x38d9d3=_0x1a2ae4[_0xd3bd('0x30')]();return _0x2a94a6[_0xd3bd('0x9')](_0x415096,_0x38d9d3);}function co(_0x17e338,_0x3543e9,_0xbb7bce){const _0x550df5=_0x17e338[_0xd3bd('0x1d')]['t'],_0x45e7a7=_0x3543e9[_0xd3bd('0x21')](/(?=[A-Z])/)['join']('\x20'),_0x2fdc05=_0x550df5(_0x45e7a7[_0xd3bd('0x20')](0x0)[_0xd3bd('0x17')]()+_0x45e7a7[_0xd3bd('0x3')](0x1))[_0xd3bd('0xe')]();if(_0xd3bd('0x14')==typeof _0xbb7bce)return _0x2fdc05;if(_0xd3bd('0x4')===_0x3543e9||_0xd3bd('0x31')===_0x3543e9){const _0x4737e3=_0x6ce9b6(_0x17e338[_0xd3bd('0x1e')]['get']('fontColor.colors'))['find'](_0x1224ba=>_0x1224ba[_0xd3bd('0x19')]==_0xbb7bce);return _0x2fdc05+'\x20('+(_0x4737e3?_0x550df5(_0x4737e3['label'])['toLowerCase']():_0xbb7bce)+')';}if(_0xd3bd('0x27')===_0x3543e9&&isNaN(parseFloat(_0xbb7bce))){const _0x23fd9d=_0x17e338[_0xd3bd('0x15')][_0xd3bd('0x0')]('FontSize')['normalizeSizeOptions'](_0x17e338['config'][_0xd3bd('0x0')](_0xd3bd('0x11')))[_0xd3bd('0x10')](_0x32359a=>_0x32359a[_0xd3bd('0x19')]==_0xbb7bce);return _0x2fdc05+'\x20('+(_0x23fd9d?_0x550df5(_0x23fd9d[_0xd3bd('0x12')])['toLowerCase']():_0xbb7bce)+')';}return _0x2fdc05+'\x20('+_0xbb7bce+')';}
23
+ const _0x2d72=['schema','getLastPosition','getAttributeProperties','from','pasteFormat','backward','length','word','createSelection','getFirstPosition','createRange','registerDescriptionCallback','locale','selection','keys','toLowerCase','TrackChangesEditing','enableCommand','entries','editor','_descriptionFactory','slice','getAttributes','commands','*Remove\x20all\x20formatting*','fontColor.colors','change','*Set\x20format\x20to:*\x20%0','plugins','isFormatting','title','isCollapsed','format','push','config','normalizeSizeOptions','fontBackgroundColor','markInlineFormat','getRanges','afterInit','commandName','forward','copyFormat','get','fontSize','document','modifySelection','find'];(function(_0x5b7ca3,_0x2d729a){const _0x101326=function(_0x57753a){while(--_0x57753a){_0x5b7ca3['push'](_0x5b7ca3['shift']());}};_0x101326(++_0x2d729a);}(_0x2d72,0x1e4));const _0x1013=function(_0x5b7ca3,_0x2d729a){_0x5b7ca3=_0x5b7ca3-0x0;let _0x101326=_0x2d72[_0x5b7ca3];return _0x101326;};import{Plugin as _0xee0e21}from'ckeditor5/src/core';import{normalizeColorOptions as _0x116fdd}from'ckeditor5/src/ui';import{first as _0x608acc}from'ckeditor5/src/utils';import{getTranslation as _0x5c9d3e}from'../utils/common-translations';export default class W extends _0xee0e21{[_0x1013('0x23')](){const _0xe81d9d=this[_0x1013('0xf')],_0x8ea3cd=_0xe81d9d['model'],_0xf7e3ff=_0x8ea3cd[_0x1013('0x29')][_0x1013('0x9')],_0x558a10=_0xe81d9d[_0x1013('0x18')]['get'](_0x1013('0xc')),_0x58325f=_0xe81d9d[_0x1013('0x8')],_0x37584c=_0xe81d9d[_0x1013('0x13')][_0x1013('0x27')](_0x1013('0x26')),_0x2977b9=_0xe81d9d[_0x1013('0x13')][_0x1013('0x27')](_0x1013('0x0'));_0x37584c&&_0x2977b9&&(_0x558a10[_0x1013('0xd')]('pasteFormat',(_0x37f284,_0x17cfc7={})=>{const _0x7b9302=_0x17cfc7;_0x8ea3cd[_0x1013('0x16')](()=>{const _0x46b8cd=Array[_0x1013('0x2f')](_0xf7e3ff['getRanges']()),_0xe231b1=_0xf7e3ff[_0x1013('0x1b')]?[ro(_0x8ea3cd,_0xf7e3ff)]:_0x46b8cd,_0x3ff025=!!_0x608acc(function*(_0x39385e,_0x1df071){const _0x45065e=_0x28e750=>!!_0x608acc(function*(_0x29227a,_0x4d1435){for(const [_0x4aca74]of _0x29227a[_0x1013('0x12')]()){const _0x108f08=_0x4d1435[_0x1013('0x2e')](_0x4aca74);_0x108f08&&_0x108f08[_0x1013('0x19')]&&(yield _0x4aca74);}}(_0x28e750,_0x1df071));for(const _0x5920e9 of _0x39385e[_0x1013('0x22')]())for(const _0x1ed8bc of _0x5920e9['getItems']())!_0x1df071['isBlock'](_0x1ed8bc)&&_0x45065e(_0x1ed8bc)&&(yield _0x1ed8bc);for(const _0xe8bc2e of _0x39385e['getSelectedBlocks']())_0x45065e(_0xe8bc2e)&&(yield _0xe8bc2e);_0x45065e(_0x39385e)&&(yield _0x39385e);}(_0xf7e3ff,_0x8ea3cd[_0x1013('0x2c')]));if(_0x3ff025||0x0!==Object[_0x1013('0xa')](_0x7b9302)[_0x1013('0x2')])for(const _0x4dde42 of _0xe231b1)_0x558a10[_0x1013('0x21')](_0x4dde42,{'commandName':_0x1013('0x0'),'commandParams':[_0x7b9302]});});}),_0x558a10[_0x1013('0x10')][_0x1013('0x7')](_0x1aa03f=>{const {data:_0x397d28}=_0x1aa03f;if(_0x397d28&&_0x1013('0x0')===_0x397d28[_0x1013('0x24')]){const _0x4b5377=[],_0x3aaef5=_0x397d28['commandParams'][0x0];for(const [_0x27d2e7,_0x255ea6]of Object[_0x1013('0xe')](_0x3aaef5))_0x4b5377[_0x1013('0x1d')](no(_0xe81d9d,_0x27d2e7,_0x255ea6));return _0x4b5377[_0x1013('0x2')]?{'type':'format','content':_0x5c9d3e(_0x58325f,_0x1013('0x17'),_0x4b5377['join'](',\x20'))}:{'type':_0x1013('0x1c'),'content':_0x5c9d3e(_0x58325f,_0x1013('0x14'))};}}),_0xe81d9d[_0x1013('0x18')]['get']('TrackChangesEditing')[_0x1013('0xd')](_0x1013('0x26')));}}function ro(_0x5336f3,_0x4dac18){const _0x465fe4=_0x5336f3[_0x1013('0x4')](_0x4dac18);_0x5336f3[_0x1013('0x2a')](_0x465fe4,{'unit':_0x1013('0x3'),'direction':_0x1013('0x1')});const _0xf7d206=_0x465fe4[_0x1013('0x5')]();_0x5336f3['modifySelection'](_0x465fe4,{'unit':_0x1013('0x3'),'direction':_0x1013('0x25')});const _0x35e57a=_0x465fe4[_0x1013('0x2d')]();return _0x5336f3[_0x1013('0x6')](_0xf7d206,_0x35e57a);}function no(_0x3f76a3,_0x2ef73c,_0x477fd2){const _0x1e07f4=_0x3f76a3[_0x1013('0x8')]['t'],_0x395045=_0x2ef73c['split'](/(?=[A-Z])/)['join']('\x20'),_0x4d3242=_0x1e07f4(_0x395045['charAt'](0x0)['toUpperCase']()+_0x395045[_0x1013('0x11')](0x1))[_0x1013('0xb')]();if('boolean'==typeof _0x477fd2)return _0x4d3242;if('fontColor'===_0x2ef73c||_0x1013('0x20')===_0x2ef73c){const _0x277a14=_0x116fdd(_0x3f76a3[_0x1013('0x1e')][_0x1013('0x27')](_0x1013('0x15')))['find'](_0x48bac4=>_0x48bac4['model']==_0x477fd2);return _0x4d3242+'\x20('+(_0x277a14?_0x1e07f4(_0x277a14['label'])[_0x1013('0xb')]():_0x477fd2)+')';}if(_0x1013('0x28')===_0x2ef73c&&isNaN(parseFloat(_0x477fd2))){const _0x50e002=_0x3f76a3[_0x1013('0x18')]['get']('FontSize')[_0x1013('0x1f')](_0x3f76a3['config'][_0x1013('0x27')]('fontSize.options'))[_0x1013('0x2b')](_0xb22a6b=>_0xb22a6b['model']==_0x477fd2);return _0x4d3242+'\x20('+(_0x50e002?_0x1e07f4(_0x50e002[_0x1013('0x1a')])[_0x1013('0xb')]():_0x477fd2)+')';}return _0x4d3242+'\x20('+_0x477fd2+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17bf=['length','push','isInContent','createPositionAt','isArray','sort','isObject','createPositionBefore','schema','isTouching','add','from','createPositionAfter','getMarkers','next','isIntersecting','end','execute','getRanges','isCollapsed','color','deletion','type','replace','isMultiRange','content','\x20[color\x20'];(function(_0x5ae7ca,_0x17bff9){const _0x3ade3d=function(_0xc71d9){while(--_0xc71d9){_0x5ae7ca['push'](_0x5ae7ca['shift']());}};_0x3ade3d(++_0x17bff9);}(_0x17bf,0x1e2));const _0x3ade=function(_0x5ae7ca,_0x17bff9){_0x5ae7ca=_0x5ae7ca-0x0;let _0x3ade3d=_0x17bf[_0x5ae7ca];return _0x3ade3d;};export function normalizeDescription(_0x16de4d){return Array[_0x3ade('0x8')](_0x16de4d)||(_0x16de4d=[_0x16de4d]),_0x16de4d['map'](_0x4e8e81=>{const _0x3b8f73=_0x4e8e81[_0x3ade('0x2')][_0x3ade('0x0')](/\*/g,''),_0x15ead0=_0x4e8e81[_0x3ade('0x18')]?_0x3ade('0x3')+_0x4e8e81[_0x3ade('0x18')]['value']+']':'';return'['+_0x4e8e81[_0x3ade('0x1a')]+']\x20'+_0x3b8f73+_0x15ead0;})['join'](';\x20');}export function sortSuggestions(_0x217551){return _0x217551[_0x3ade('0x9')]((_0x58d460,_0x37a3b9)=>_0x3ade('0x19')==_0x58d460[_0x3ade('0x1a')]&&_0x3ade('0x19')!=_0x37a3b9[_0x3ade('0x1a')]?-0x1:'deletion'!=_0x58d460[_0x3ade('0x1a')]&&_0x3ade('0x19')==_0x37a3b9['type']?0x1:0x0);}export function getSelectedSuggestions(_0x43e05d,_0x4c92eb){const _0x55b11b=Array[_0x3ade('0xf')](_0x43e05d[_0x3ade('0x16')]()),_0x411365=new Set();for(const _0x4c9494 of _0x4c92eb)if(_0x4c9494[_0x3ade('0x6')])for(const _0x285fd5 of _0x55b11b)for(const _0x17992b of _0x4c9494[_0x3ade('0x11')]()){const _0x208349=_0x17992b['getRange']();(_0x285fd5[_0x3ade('0x13')](_0x208349)||_0x43e05d[_0x3ade('0x17')]&&!_0x4c9494[_0x3ade('0x1')]&&_0x4c9494[_0x3ade('0x12')]&&_0x208349[_0x3ade('0x14')][_0x3ade('0xd')](_0x285fd5['start']))&&_0x411365[_0x3ade('0xe')](_0x4c9494);}return _0x411365;}export function getRangesOfBlockGroups(_0x4cd236,_0x504c1c){let _0x1c9944,_0x58e591=0x0;const _0x448857=[],_0x1338d7=_0x504c1c[_0x3ade('0xc')];for(;_0x58e591<_0x4cd236[_0x3ade('0x4')];){const _0x212560=_0x4cd236[_0x58e591],_0x1935f6=_0x4cd236[_0x58e591+0x1];_0x1c9944||(_0x1c9944=_0x504c1c[_0x3ade('0xb')](_0x212560)),oo(_0x504c1c,_0x212560,_0x1935f6)||(_0x448857[_0x3ade('0x5')](_0x504c1c['createRange'](_0x1c9944,_0x1338d7[_0x3ade('0xa')](_0x212560)?_0x504c1c[_0x3ade('0x10')](_0x212560):_0x504c1c[_0x3ade('0x7')](_0x212560,_0x3ade('0x14')))),_0x1c9944=null),_0x58e591++;}return _0x448857;}function oo(_0x59b966,_0x5a8baa,_0x4c6477){if(!_0x4c6477)return!0x1;const _0x12baf3=_0x59b966[_0x3ade('0x10')](_0x5a8baa),_0x5c6dfd=_0x59b966['createPositionBefore'](_0x4c6477);return _0x12baf3[_0x3ade('0xd')](_0x5c6dfd);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3afaa9,_0xa52a6,_0x12750d){for(;_0x12750d['length'];){const _0x23d0fc=_0x12750d['splice'](0x0,0x64);_0x3afaa9['change'](()=>{for(const _0x4ed2b5 of _0x23d0fc)_0x4ed2b5[_0x3ade('0x6')]&&_0xa52a6[_0x3ade('0x15')](_0x4ed2b5['id']);});}}
23
+ const _0x5547=['change','isInContent','createPositionAt','createPositionAfter','content','start','schema','isCollapsed','add','join','color','end','deletion','getMarkers','getRange','splice','\x20[color\x20','sort','length','isObject','type','isTouching','isMultiRange','value','isIntersecting','push','map','replace','createRange','getRanges','execute'];(function(_0x35c642,_0x5547de){const _0x5874e9=function(_0x138d1f){while(--_0x138d1f){_0x35c642['push'](_0x35c642['shift']());}};_0x5874e9(++_0x5547de);}(_0x5547,0x146));const _0x5874=function(_0x35c642,_0x5547de){_0x35c642=_0x35c642-0x0;let _0x5874e9=_0x5547[_0x35c642];return _0x5874e9;};export function normalizeDescription(_0xb52926){return Array['isArray'](_0xb52926)||(_0xb52926=[_0xb52926]),_0xb52926[_0x5874('0xa')](_0x2b5ab1=>{const _0x19fdab=_0x2b5ab1[_0x5874('0x13')][_0x5874('0xb')](/\*/g,''),_0x479ab7=_0x2b5ab1[_0x5874('0x19')]?_0x5874('0x0')+_0x2b5ab1[_0x5874('0x19')][_0x5874('0x7')]+']':'';return'['+_0x2b5ab1[_0x5874('0x4')]+']\x20'+_0x19fdab+_0x479ab7;})[_0x5874('0x18')](';\x20');}export function sortSuggestions(_0x4f2789){return _0x4f2789[_0x5874('0x1')]((_0x11330d,_0x305c1b)=>_0x5874('0x1b')==_0x11330d['type']&&_0x5874('0x1b')!=_0x305c1b['type']?-0x1:_0x5874('0x1b')!=_0x11330d[_0x5874('0x4')]&&_0x5874('0x1b')==_0x305c1b[_0x5874('0x4')]?0x1:0x0);}export function getSelectedSuggestions(_0x5d3d1b,_0x4547f9){const _0x573bb5=Array['from'](_0x5d3d1b[_0x5874('0xd')]()),_0x1603a9=new Set();for(const _0x2492de of _0x4547f9)if(_0x2492de[_0x5874('0x10')])for(const _0x1ce115 of _0x573bb5)for(const _0x241ed6 of _0x2492de[_0x5874('0x1c')]()){const _0xc5e4dc=_0x241ed6[_0x5874('0x1d')]();(_0x1ce115[_0x5874('0x8')](_0xc5e4dc)||_0x5d3d1b[_0x5874('0x16')]&&!_0x2492de[_0x5874('0x6')]&&_0x2492de['next']&&_0xc5e4dc[_0x5874('0x1a')][_0x5874('0x5')](_0x1ce115[_0x5874('0x14')]))&&_0x1603a9[_0x5874('0x17')](_0x2492de);}return _0x1603a9;}export function getRangesOfBlockGroups(_0x107b15,_0x35644e){let _0x253acd,_0x58f15f=0x0;const _0x184573=[],_0x1e85e0=_0x35644e[_0x5874('0x15')];for(;_0x58f15f<_0x107b15[_0x5874('0x2')];){const _0x3bc1ec=_0x107b15[_0x58f15f],_0x548df0=_0x107b15[_0x58f15f+0x1];_0x253acd||(_0x253acd=_0x35644e['createPositionBefore'](_0x3bc1ec)),co(_0x35644e,_0x3bc1ec,_0x548df0)||(_0x184573[_0x5874('0x9')](_0x35644e[_0x5874('0xc')](_0x253acd,_0x1e85e0[_0x5874('0x3')](_0x3bc1ec)?_0x35644e['createPositionAfter'](_0x3bc1ec):_0x35644e[_0x5874('0x11')](_0x3bc1ec,_0x5874('0x1a')))),_0x253acd=null),_0x58f15f++;}return _0x184573;}function co(_0x297480,_0x1f9fc9,_0x1b7e23){if(!_0x1b7e23)return!0x1;const _0x3d5ec4=_0x297480[_0x5874('0x12')](_0x1f9fc9),_0x29fc14=_0x297480['createPositionBefore'](_0x1b7e23);return _0x3d5ec4[_0x5874('0x5')](_0x29fc14);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x181082,_0x28f6db,_0x264317){for(;_0x264317[_0x5874('0x2')];){const _0x500bc4=_0x264317[_0x5874('0x1e')](0x0,0x64);_0x181082[_0x5874('0xf')](()=>{for(const _0xfb2528 of _0x500bc4)_0xfb2528[_0x5874('0x10')]&&_0x28f6db[_0x5874('0xe')](_0xfb2528['id']);});}}