@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231212.0 → 0.0.0-nightly-20231214.0
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/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10c1=['forceDisabled','editor','value','TrackChangesCommand','refresh','has','isEnabled','clearForceDisabled','execute','affectsData','commands','_enabledCommands'];(function(_0x3bde1d,_0x10c1fe){const _0x13714f=function(_0x5d1f4a){while(--_0x5d1f4a){_0x3bde1d['push'](_0x3bde1d['shift']());}};_0x13714f(++_0x10c1fe);}(_0x10c1,0x15f));const _0x1371=function(_0x3bde1d,_0x10c1fe){_0x3bde1d=_0x3bde1d-0x0;let _0x13714f=_0x10c1[_0x3bde1d];return _0x13714f;};import{Command as _0x54f80d}from'ckeditor5/src/core';export default class $ extends _0x54f80d{constructor(_0x2d2146,_0x5b2a3d){super(_0x2d2146),this['_enabledCommands']=_0x5b2a3d,this[_0x1371('0xb')]=!0x1,this[_0x1371('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1371('0x1')](){this[_0x1371('0x3')]=!0x0;}[_0x1371('0x5')](){this[_0x1371('0xb')]=!this[_0x1371('0xb')],this[_0x1371('0xb')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x542420 of this[_0x1371('0xa')][_0x1371('0x7')]['commands']())_0x542420[_0x1371('0x6')]&&!this['_enabledCommands'][_0x1371('0x2')](_0x542420)&&_0x542420[_0x1371('0x9')](_0x1371('0x0'));}['_enableCommands'](){for(const _0x1ae66b of this['editor'][_0x1371('0x7')][_0x1371('0x7')]())_0x1ae66b[_0x1371('0x6')]&&!this[_0x1371('0x8')][_0x1371('0x2')](_0x1ae66b)&&_0x1ae66b[_0x1371('0x4')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31f4=['enableCommand','showAIAssistant','TrackChangesEditing','editor','plugins','afterInit','get'];(function(_0x596a34,_0x31f4a7){const _0x20295b=function(_0x3811f3){while(--_0x3811f3){_0x596a34['push'](_0x596a34['shift']());}};_0x20295b(++_0x31f4a7);}(_0x31f4,0x1db));const _0x2029=function(_0x596a34,_0x31f4a7){_0x596a34=_0x596a34-0x0;let _0x20295b=_0x31f4[_0x596a34];return _0x20295b;};import{Plugin as _0x3d4874}from'ckeditor5/src/core';export default class j extends _0x3d4874{[_0x2029('0x6')](){const _0xc1c1ff=this[_0x2029('0x4')],_0x531602=_0xc1c1ff[_0x2029('0x5')]['get'](_0x2029('0x3'));_0xc1c1ff['commands'][_0x2029('0x0')](_0x2029('0x2'))&&_0x531602[_0x2029('0x1')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x350e=['registerAttributeLabel','FORMAT_ALIGN_TO_CENTER','FORMAT_JUSTIFY_TEXT','format','justify','commandName','locale','plugins','_enableDefaultAttributesIntegration','center','registerDescriptionCallback','formatBlock','*Format:*\x20%0','alignment','left','type','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','right','FORMAT_ALIGNMENT','editor','commandParams','get','afterInit','_descriptionFactory','has'];(function(_0x9c8a64,_0x350e4d){const _0x200193=function(_0x47b758){while(--_0x47b758){_0x9c8a64['push'](_0x9c8a64['shift']());}};_0x200193(++_0x350e4d);}(_0x350e,0x8d));const _0x2001=function(_0x9c8a64,_0x350e4d){_0x9c8a64=_0x9c8a64-0x0;let _0x200193=_0x350e[_0x9c8a64];return _0x200193;};import{Plugin as _0x42c1c5}from'ckeditor5/src/core';import{getTranslation as _0x24e0f4}from'../utils/common-translations';export default class U extends _0x42c1c5{[_0x2001('0xc')](){const _0x418245=this[_0x2001('0x9')],_0x19f081=_0x418245[_0x2001('0x15')];if(!_0x418245[_0x2001('0x16')][_0x2001('0xe')]('AlignmentEditing'))return;const _0x4124b4=_0x418245[_0x2001('0x16')][_0x2001('0xb')](_0x2001('0x6'));_0x4124b4[_0x2001('0x17')](_0x2001('0x2'),[],[_0x2001('0x2')]),_0x4124b4[_0x2001('0xd')][_0x2001('0xf')]('alignment',_0x24e0f4(_0x19f081,_0x2001('0x8'))),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4f3102=this[_0x2001('0x9')],_0x15c4be=_0x4f3102[_0x2001('0x15')];_0x4f3102[_0x2001('0x16')]['get'](_0x2001('0x6'))['_descriptionFactory'][_0x2001('0x19')](_0x56fd0a=>{if(_0x2001('0x0')!=_0x56fd0a[_0x2001('0x4')])return;const {data:_0x13873b}=_0x56fd0a;if(_0x13873b&&_0x2001('0x2')==_0x13873b[_0x2001('0x14')]){const _0x38d2be=_0x13873b[_0x2001('0xa')][0x0]['value'];return{'type':_0x2001('0x12'),'content':_0x24e0f4(_0x15c4be,_0x2001('0x1'),function(_0x4c47ed){switch(_0x4c47ed){case _0x2001('0x3'):return _0x24e0f4(_0x15c4be,_0x2001('0x5'));case _0x2001('0x7'):return _0x24e0f4(_0x15c4be,'FORMAT_ALIGN_TO_RIGHT');case _0x2001('0x18'):return _0x24e0f4(_0x15c4be,_0x2001('0x10'));case _0x2001('0x13'):return _0x24e0f4(_0x15c4be,_0x2001('0x11'));}}(_0x38d2be))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2010=['plugins','subscript','FORMAT_ITALIC','commandParams','*Remove\x20format:*\x20%0','FORMAT_CODE','StrikethroughEditing','TrackChangesEditing','underline','FORMAT_STRIKETHROUGH','FORMAT_BOLD','SubscriptEditing','format','slice','formatInline','FORMAT_SUBSCRIPT','registerAttributeLabel','commandName','get','UnderlineEditing','editor','_descriptionFactory','_enableDefaultAttributesIntegration','FORMAT_UNDERLINE','ItalicEditing','afterInit','locale','_registerLegacyDescription'];(function(_0x2352e8,_0x2010c0){const _0x13f5ef=function(_0x208cb3){while(--_0x208cb3){_0x2352e8['push'](_0x2352e8['shift']());}};_0x13f5ef(++_0x2010c0);}(_0x2010,0xf8));const _0x13f5=function(_0x2352e8,_0x2010c0){_0x2352e8=_0x2352e8-0x0;let _0x13f5ef=_0x2010[_0x2352e8];return _0x13f5ef;};import{Plugin as _0x3a6891}from'ckeditor5/src/core';import{getTranslation as _0x3e0595}from'../utils/common-translations';const ti=['BoldEditing',_0x13f5('0x0'),_0x13f5('0x17'),'CodeEditing',_0x13f5('0xa'),_0x13f5('0xf'),'SuperscriptEditing'];export default class O extends _0x3a6891{[_0x13f5('0x1')](){const _0xdc7139=this[_0x13f5('0x18')],_0x4a86ef=_0xdc7139['plugins'][_0x13f5('0x16')](_0x13f5('0xb')),_0x2aa702=_0xdc7139[_0x13f5('0x2')];for(const _0x58dcde of ti){if(!_0xdc7139[_0x13f5('0x4')]['has'](_0x58dcde))continue;const _0x354bd2=_0x58dcde[_0x13f5('0x11')](0x0,-0x7)['toLowerCase'](),_0x46ec2f='FORMAT_'+_0x354bd2['toUpperCase']();_0x4a86ef[_0x13f5('0x1a')](_0x354bd2,[_0x354bd2]),_0x4a86ef['_descriptionFactory'][_0x13f5('0x14')](_0x354bd2,_0x3e0595(_0x2aa702,_0x46ec2f));}this['_registerLegacyDescription']();}[_0x13f5('0x3')](){const _0x8b4778=this[_0x13f5('0x18')],_0x5dc057=_0x8b4778[_0x13f5('0x2')],_0xdcbd5e=_0x8b4778[_0x13f5('0x4')]['get'](_0x13f5('0xb'));function _0x560dc1(_0x113a48,_0x93427e){_0xdcbd5e[_0x13f5('0x19')]['registerDescriptionCallback'](_0xaa34c9=>{if(_0x13f5('0x12')!=_0xaa34c9['type'])return;const {data:_0x1a489a}=_0xaa34c9;return _0x1a489a&&_0x1a489a[_0x13f5('0x15')]===_0x113a48?_0x1a489a[_0x13f5('0x7')][0x0]['forceValue']?{'type':_0x13f5('0x10'),'content':_0x3e0595(_0x5dc057,'*Format:*\x20%0',_0x93427e)}:{'type':_0x13f5('0x10'),'content':_0x3e0595(_0x5dc057,_0x13f5('0x8'),_0x93427e)}:void 0x0;});}_0x560dc1('bold',_0x3e0595(_0x5dc057,_0x13f5('0xe'))),_0x560dc1('italic',_0x3e0595(_0x5dc057,_0x13f5('0x6'))),_0x560dc1(_0x13f5('0xc'),_0x3e0595(_0x5dc057,_0x13f5('0x1b'))),_0x560dc1('code',_0x3e0595(_0x5dc057,_0x13f5('0x9'))),_0x560dc1('strikethrough',_0x3e0595(_0x5dc057,_0x13f5('0xd'))),_0x560dc1(_0x13f5('0x5'),_0x3e0595(_0x5dc057,_0x13f5('0x13'))),_0x560dc1('superscript',_0x3e0595(_0x5dc057,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3527=['editor','format','BlockQuoteEditing','filter','from','forceValue','name','schema','afterInit','plugins','document','ELEMENT_BLOCK_QUOTE','model','change','TrackChangesEditing','blockQuote','commandName','checkChild','parent','selection','commandParams','getSelectedBlocks','markBlockFormat','enableCommand','registerDescriptionCallback','value','has','commands'];(function(_0x370e57,_0x3527f9){const _0x239cb8=function(_0x5ca18d){while(--_0x5ca18d){_0x370e57['push'](_0x370e57['shift']());}};_0x239cb8(++_0x3527f9);}(_0x3527,0x14b));const _0x239c=function(_0x370e57,_0x3527f9){_0x370e57=_0x370e57-0x0;let _0x239cb8=_0x3527[_0x370e57];return _0x239cb8;};import{Plugin as _0x587299}from'ckeditor5/src/core';import{getTranslation as _0x343c52}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5dc211}from'../utils/utils';export default class V extends _0x587299{[_0x239c('0xd')](){const _0x4e8cb7=this[_0x239c('0x5')],_0x5e9aa0=_0x4e8cb7['locale'];if(!_0x4e8cb7[_0x239c('0xe')][_0x239c('0x3')](_0x239c('0x7')))return;const _0x28cd17=_0x4e8cb7[_0x239c('0xe')]['get'](_0x239c('0x13')),_0x5a94d9=this[_0x239c('0x5')][_0x239c('0x4')]['get'](_0x239c('0x14'));_0x28cd17[_0x239c('0x0')]('blockQuote',(_0x3d94ee,_0x12b706={})=>{const _0x1cc7ad=this['editor'][_0x239c('0x11')][_0x239c('0xf')][_0x239c('0x18')],_0x3184e7=_0x12b706&&void 0x0!==_0x12b706[_0x239c('0xa')]?_0x12b706[_0x239c('0xa')]:!_0x5a94d9[_0x239c('0x2')];let _0x5ecdac=[];if(_0x3184e7){const _0x5cf0cc=Array[_0x239c('0x9')](_0x1cc7ad['getSelectedBlocks']())[_0x239c('0x8')](_0x10644d=>oo(_0x10644d)||function(_0x46ea7a,_0x5814a5){const _0x41375c=_0x5814a5[_0x239c('0x16')](_0x46ea7a[_0x239c('0x17')],'blockQuote'),_0x54825f=_0x5814a5[_0x239c('0x16')](['$root',_0x239c('0x14')],_0x46ea7a);return _0x41375c&&_0x54825f;}(_0x10644d,this[_0x239c('0x5')][_0x239c('0x11')][_0x239c('0xc')]));_0x5ecdac=_0x5dc211(_0x5cf0cc,_0x4e8cb7['model']);}else{const _0x2260c8=Array['from'](_0x1cc7ad[_0x239c('0x1a')]())['filter'](_0x4106e8=>oo(_0x4106e8));_0x5ecdac=_0x5dc211(_0x2260c8,_0x4e8cb7[_0x239c('0x11')]);}_0x4e8cb7['model'][_0x239c('0x12')](()=>{for(const _0x5b4111 of _0x5ecdac)_0x28cd17[_0x239c('0x1b')](_0x5b4111,{'commandName':_0x239c('0x14'),'commandParams':[{'forceValue':_0x3184e7}]});});}),_0x28cd17['_descriptionFactory'][_0x239c('0x1')](_0x522987=>{const {data:_0x330cdc}=_0x522987;if(_0x330cdc&&_0x239c('0x14')==_0x330cdc[_0x239c('0x15')]){const _0x21288e=_0x343c52(_0x5e9aa0,_0x239c('0x10'));return _0x330cdc[_0x239c('0x19')][0x0][_0x239c('0xa')]?{'type':_0x239c('0x6'),'content':_0x343c52(_0x5e9aa0,'*Set\x20format:*\x20%0',_0x21288e)}:{'type':_0x239c('0x6'),'content':_0x343c52(_0x5e9aa0,'*Remove\x20format:*\x20%0',_0x21288e)};}});}}function oo(_0x11527a){return _0x239c('0x14')==_0x11527a['parent'][_0x239c('0xb')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c83=['ckbox','afterInit','get','plugins','commands','editor','enableCommand'];(function(_0x2a63c3,_0x1c8312){const _0x13ddc5=function(_0xeb5938){while(--_0xeb5938){_0x2a63c3['push'](_0x2a63c3['shift']());}};_0x13ddc5(++_0x1c8312);}(_0x1c83,0x116));const _0x13dd=function(_0x2a63c3,_0x1c8312){_0x2a63c3=_0x2a63c3-0x0;let _0x13ddc5=_0x1c83[_0x2a63c3];return _0x13ddc5;};import{Plugin as _0x4b97bf}from'ckeditor5/src/core';export default class G extends _0x4b97bf{[_0x13dd('0x3')](){const _0x58f316=this[_0x13dd('0x0')];_0x58f316[_0x13dd('0x6')][_0x13dd('0x4')](_0x13dd('0x2'))&&_0x58f316[_0x13dd('0x5')][_0x13dd('0x4')]('TrackChangesEditing')[_0x13dd('0x1')](_0x13dd('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3972=['document','label','blockName','editor','value','parent','checkChild','_descriptionFactory','*Set\x20format:*\x20%0','outdentCodeBlock','selection','toLowerCase','languages','schema','get','*Remove\x20format:*\x20%0','enableCommand','CodeBlock','isLimit','language','name','TrackChangesEditing','ELEMENT_CODE_BLOCK','formatBlock','format','find','indentCodeBlock','commandParams','plugins','filter','registerDescriptionCallback','model','config','commands','rootElement','from','getSelectedBlocks','change','has','forceValue','codeBlock'];(function(_0x32f522,_0x397298){const _0xffcc2=function(_0x1f1b84){while(--_0x1f1b84){_0x32f522['push'](_0x32f522['shift']());}};_0xffcc2(++_0x397298);}(_0x3972,0x13a));const _0xffcc=function(_0x32f522,_0x397298){_0x32f522=_0x32f522-0x0;let _0xffcc2=_0x3972[_0x32f522];return _0xffcc2;};import{Plugin as _0x4ef9db}from'ckeditor5/src/core';import{getTranslation as _0x1ad0cc}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x17a28}from'../utils/utils';export default class F extends _0x4ef9db{['afterInit'](){const _0x19b549=this[_0xffcc('0x11')];if(!_0x19b549[_0xffcc('0x1')][_0xffcc('0xb')](_0xffcc('0x1f')))return;const _0x1224f6=_0x19b549['plugins']['get'](_0xffcc('0x23')),_0xc0c369=_0x19b549['locale'],_0x5d8ebb=_0x19b549[_0xffcc('0x5')][_0xffcc('0x1c')](_0xffcc('0xd'))[_0xffcc('0x1a')],_0x3497fb=_0x19b549[_0xffcc('0x6')][_0xffcc('0x1c')](_0xffcc('0xd'));_0x1224f6['enableCommand'](_0xffcc('0x28')),_0x1224f6[_0xffcc('0x1e')](_0xffcc('0x17')),_0x1224f6['enableCommand']('codeBlock',(_0x262be1,_0x2f36ef={})=>{const _0x3c2c35=_0x19b549[_0xffcc('0x4')],_0x54edd8=_0x19b549['model'][_0xffcc('0xe')][_0xffcc('0x18')],_0x59c417=_0x2f36ef&&void 0x0!==_0x2f36ef[_0xffcc('0xc')]?_0x2f36ef[_0xffcc('0xc')]:!_0x3497fb[_0xffcc('0x12')];let _0x5b19cf;_0x2f36ef[_0xffcc('0x21')]||(_0x2f36ef[_0xffcc('0x21')]=_0x5d8ebb[0x0][_0xffcc('0x21')]),_0x5b19cf=_0x59c417?Array[_0xffcc('0x8')](_0x54edd8[_0xffcc('0x9')]())['filter'](_0x39ec5e=>eo(_0x39ec5e)||function(_0x3921b6,_0x4bf26e){if(_0x3921b6['is'](_0xffcc('0x7'))||_0x4bf26e[_0xffcc('0x20')](_0x3921b6))return!0x1;return _0x4bf26e[_0xffcc('0x14')](_0x3921b6[_0xffcc('0x13')],_0xffcc('0xd'));}(_0x39ec5e,_0x3c2c35[_0xffcc('0x1b')])):Array[_0xffcc('0x8')](_0x54edd8[_0xffcc('0x9')]())[_0xffcc('0x2')](_0x32dbfa=>eo(_0x32dbfa));const _0x55efd5=_0x17a28(_0x5b19cf,_0x3c2c35);_0x3c2c35[_0xffcc('0xa')](()=>{for(const _0x2f76e1 of _0x55efd5)_0x1224f6['markBlockFormat'](_0x2f76e1,{'commandName':_0xffcc('0xd'),'commandParams':[{..._0x2f36ef,'forceValue':_0x59c417}],'formatGroupId':_0xffcc('0x10')});});}),(_0x1224f6['_descriptionFactory']['registerElementLabel'](_0xffcc('0xd'),_0x3ba826=>_0x1ad0cc(_0xc0c369,'ELEMENT_CODE_BLOCK',_0x3ba826)),_0x1224f6[_0xffcc('0x15')][_0xffcc('0x3')](_0x58aefe=>{if(_0xffcc('0x25')!=_0x58aefe['type'])return;const _0x203f64=_0xc0c369['t'],{data:_0x3f6d27}=_0x58aefe;if(!_0x3f6d27||'codeBlock'!=_0x3f6d27['commandName'])return;const _0x4db1fa=_0x3f6d27['commandParams'][0x0][_0xffcc('0x21')],_0xd8a553=_0x203f64(_0x5d8ebb[_0xffcc('0x27')](_0xd573b9=>_0xd573b9[_0xffcc('0x21')]===_0x4db1fa)[_0xffcc('0xf')])[_0xffcc('0x19')]();return _0x3f6d27[_0xffcc('0x0')][0x0][_0xffcc('0xc')]?{'type':_0xffcc('0x26'),'content':_0x1ad0cc(_0xc0c369,_0xffcc('0x16'),_0x1ad0cc(_0xc0c369,_0xffcc('0x24'),0x1)+'\x20('+_0xd8a553+')')}:{'type':_0xffcc('0x26'),'content':_0x1ad0cc(_0xc0c369,_0xffcc('0x1d'),_0x1ad0cc(_0xc0c369,_0xffcc('0x24'),0x1))};}));}}function eo(_0x3638d7){return _0xffcc('0xd')==_0x3638d7[_0xffcc('0x22')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52b9=['enableCommand','afterInit','addCommentThread','editor','has','CommentsEditing','TrackChangesEditing','get','plugins'];(function(_0x16cc81,_0x52b9f1){const _0x382684=function(_0x3ae27c){while(--_0x3ae27c){_0x16cc81['push'](_0x16cc81['shift']());}};_0x382684(++_0x52b9f1);}(_0x52b9,0xc3));const _0x3826=function(_0x16cc81,_0x52b9f1){_0x16cc81=_0x16cc81-0x0;let _0x382684=_0x52b9[_0x16cc81];return _0x382684;};import{Plugin as _0x579413}from'ckeditor5/src/core';export default class L extends _0x579413{[_0x3826('0x4')](){const _0x4510f2=this[_0x3826('0x6')];if(!_0x4510f2[_0x3826('0x2')][_0x3826('0x7')](_0x3826('0x8')))return;_0x4510f2[_0x3826('0x2')][_0x3826('0x1')](_0x3826('0x0'))[_0x3826('0x3')](_0x3826('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a9a=['writer','fromRange','data','merge','commands','batch','setSelection','enableCommand','get','options','end','markerName','markerNameToElements','plugins','forward','requires','downcastDispatcher','bind','uiElement','unit','lock','$graveyard','delete','createSelection','model','isCollapsed','rootName','start','editing','high','mapper','deleteForward','createRange','addMarker:suggestion:deletion','detach','editor','unbindElementFromMarkerName'];(function(_0x25ca50,_0x2a9afc){const _0x3076da=function(_0x5c653b){while(--_0x5c653b){_0x25ca50['push'](_0x25ca50['shift']());}};_0x3076da(++_0x2a9afc);}(_0x2a9a,0x102));const _0x3076=function(_0x25ca50,_0x2a9afc){_0x25ca50=_0x25ca50-0x0;let _0x3076da=_0x2a9a[_0x25ca50];return _0x3076da;};import{Plugin as _0x1966ef}from'ckeditor5/src/core';import{LiveRange as _0x38db72}from'ckeditor5/src/engine';import{Delete as _0x213b27}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x10fd4b}from'./utils';export default class H extends _0x1966ef{static get[_0x3076('0x10')](){return[_0x213b27];}['init'](){const _0x456b5d=this[_0x3076('0x24')],_0x520223=_0x456b5d[_0x3076('0xe')][_0x3076('0x9')]('TrackChangesEditing');_0x520223[_0x3076('0x8')](_0x3076('0x17'));const _0xa68608=_0x456b5d[_0x3076('0x5')]['get']('deleteForward');_0x520223[_0x3076('0x8')](_0x3076('0x20'),(_0x3e766d,_0x45a4aa={})=>{const _0x16452b=_0x456b5d['model'][_0x3076('0x18')](_0x456b5d[_0x3076('0x19')]['document']['selection']);_0x16452b[_0x3076('0x1a')]&&_0x456b5d[_0x3076('0x19')]['modifySelection'](_0x16452b,{'direction':_0x3076('0xf'),'unit':_0x45a4aa[_0x3076('0x14')]});const _0xa0b8d4=_0x16452b['getFirstRange'](),_0x52af01=_0x38db72[_0x3076('0x2')](_0xa0b8d4);let _0x584f6f;_0x3e766d(_0x45a4aa),_0x584f6f=_0x3076('0x16')==_0x52af01['root'][_0x3076('0x1b')]?_0x456b5d['model'][_0x3076('0x21')](_0xa0b8d4[_0x3076('0x1c')]):_0x456b5d['model'][_0x3076('0x21')](_0x52af01['start'],_0x52af01['end']),_0x52af01[_0x3076('0x23')](),_0x456b5d[_0x3076('0x19')]['enqueueChange'](_0xa68608['buffer'][_0x3076('0x6')],_0x66355=>{_0xa68608['buffer'][_0x3076('0x15')](),_0x66355[_0x3076('0x7')](_0x66355['createRange'](_0x584f6f[_0x3076('0xb')])),_0xa68608['buffer']['unlock']();});}),_0x456b5d[_0x3076('0x1d')][_0x3076('0x11')]['on'](_0x3076('0x22'),_0x10fd4b(_0x456b5d,_0x3076('0x4')),{'priority':_0x3076('0x1e')}),_0x456b5d[_0x3076('0x3')][_0x3076('0x11')]['on']('addMarker:suggestion:deletion',(_0x3501aa,_0x38bfd8,_0x41d4d1)=>{_0x41d4d1[_0x3076('0xa')]['showSuggestionHighlights']&&_0x10fd4b(_0x456b5d,'merge',{'showActiveMarker':!0x1})[_0x3076('0x12')](this)(_0x3501aa,_0x38bfd8,_0x41d4d1);},{'priority':'high'}),_0x456b5d['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x1cb01d,_0x8de6eb,_0xa04559)=>{const _0x45c95e=_0xa04559[_0x3076('0x1f')][_0x3076('0xd')](_0x8de6eb['markerName']);if(_0x45c95e)for(const _0x381730 of _0x45c95e)_0x381730['is'](_0x3076('0x13'))&&(_0xa04559[_0x3076('0x1f')][_0x3076('0x0')](_0x381730,_0x8de6eb[_0x3076('0xc')]),_0xa04559[_0x3076('0x1')]['remove'](_0x381730));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19f9=['findIndex','get','indentList','setSelection','_descriptionFactory','numberedList','bulletedList','map','parent','*Format:*\x20remove\x20from\x20%0','TrackChangesEditing','toUpperCase','formatInline','mergeListItemForward','detach','listItemId','model','ELEMENT_LIST_ITEM','listType','getSelectedBlocks','registerElementLabel','getFirstRange','type','list.multiBlock','locale','outdentList','nodeAfter','push','schema','afterInit','createRange','ELEMENT_BULLETED_LIST','previousSibling','forceValue','nextSibling','commandParams','markBlockFormat','value','formatBlock','from','getAttribute','mergeListItemBackward','*Merge:*\x20%0','start','change','_LIST','refresh','end','document','deletion','*Change\x20to:*\x20%0','format','before','after','_suggestionFactory','markMultiRangeBlockFormat','next','splitListItemBefore','ELEMENT_','paragraph','accept','createPositionAt','commands','documentList','selection','editor','enableCommand','config','has','listIndent','execute','commandName','plugins'];(function(_0x55b5b7,_0x19f9e6){const _0x532a53=function(_0x278ebf){while(--_0x278ebf){_0x55b5b7['push'](_0x55b5b7['shift']());}};_0x532a53(++_0x19f9e6);}(_0x19f9,0x1cc));const _0x532a=function(_0x55b5b7,_0x19f9e6){_0x55b5b7=_0x55b5b7-0x0;let _0x532a53=_0x19f9[_0x55b5b7];return _0x532a53;};import{Plugin as _0x430777}from'ckeditor5/src/core';import{getTranslation as _0x125944}from'../utils/common-translations';import{LiveRange as _0xfbb885}from'ckeditor5/src/engine';export default class q extends _0x430777{[_0x532a('0x7')](){const _0x3f2815=this[_0x532a('0x2b')];if(!_0x3f2815[_0x532a('0x32')][_0x532a('0x2e')]('DocumentListEditing'))return;const _0x477f42=_0x3f2815[_0x532a('0x2')],_0x841ed0=_0x3f2815[_0x532a('0x32')]['get'](_0x532a('0x3d')),_0x39ee7f=_0x3f2815[_0x532a('0x32')][_0x532a('0x34')]('DocumentListUtils');function _0x3d4f2a(_0x207dd4){return()=>{const _0x5e4ceb=_0x3f2815[_0x532a('0x28')]['get'](_0x207dd4);if(_0x5e4ceb[_0x532a('0xf')]&&!_0x3f2815[_0x532a('0x2d')][_0x532a('0x34')](_0x532a('0x1')))return void _0x3f2815[_0x532a('0x30')](_0x532a('0x25'),{});let _0x443b72=Array[_0x532a('0x11')](_0x3f2815[_0x532a('0x43')]['document'][_0x532a('0x2a')]['getSelectedBlocks']());if(_0x3d5618(_0x207dd4)){_0x443b72=_0x39ee7f['expandListBlocksToCompleteList'](_0x443b72);const _0x169700=[];for(const _0xfc24ff of _0x443b72)_0x39ee7f['isFirstBlockOfListItem'](_0xfc24ff)&&_0x169700['push'](_0xfc24ff);_0x443b72=_0x169700;}_0x3f2815[_0x532a('0x43')]['change'](()=>{_0x841ed0[_0x532a('0x21')](_0x443b72,{'commandName':_0x207dd4,'commandParams':[{'forceValue':!_0x5e4ceb[_0x532a('0xf')]}],'formatGroupId':'listType'},[],_0x532a('0x29'));});};}function _0x2947ea(_0x2ea710){return()=>{const _0x58ae30=function(_0x3bfc32){let _0x43f2f1=Array[_0x532a('0x11')](_0x3bfc32);const _0x42a6f6=_0x43f2f1[_0x532a('0x33')](_0x441196=>!_0x441196['hasAttribute'](_0x532a('0x42')));return _0x42a6f6>-0x1&&(_0x43f2f1=_0x43f2f1['slice'](0x0,_0x42a6f6)),_0x43f2f1;}(_0x3f2815[_0x532a('0x43')][_0x532a('0x1a')][_0x532a('0x2a')][_0x532a('0x46')]()),_0x44bb72=_0x58ae30[_0x58ae30['length']-0x1],_0x4fe0df=_0x3f2815[_0x532a('0x43')]['schema']['isObject'](_0x44bb72)?_0x532a('0x1f'):_0x532a('0x19'),_0x48532b=_0x3f2815[_0x532a('0x43')][_0x532a('0x8')](_0x3f2815[_0x532a('0x43')]['createPositionAt'](_0x58ae30[0x0],_0x532a('0x1e')),_0x3f2815['model'][_0x532a('0x27')](_0x44bb72,_0x4fe0df));_0x3f2815[_0x532a('0x43')][_0x532a('0x16')](()=>{_0x841ed0['markBlockFormat'](_0x48532b,{'commandName':_0x2ea710,'commandParams':[],'formatGroupId':'listType'},function(_0x150dcf){const _0x232672=new Set();for(const _0x6e83ca of _0x150dcf){let _0x21e2e0=_0x6e83ca[_0x532a('0xc')];for(;_0x21e2e0&&_0x21e2e0[_0x532a('0x12')](_0x532a('0x2f'))>_0x6e83ca['getAttribute'](_0x532a('0x2f'));)_0x232672['add'](_0x21e2e0),_0x21e2e0=_0x21e2e0[_0x532a('0xc')];}return Array['from'](_0x232672);}(_0x58ae30));});};}function _0xfb425f(_0x3287f8){return()=>{const _0x3c2660=_0x3f2815[_0x532a('0x43')][_0x532a('0x1a')][_0x532a('0x2a')]['getSelectedBlocks']()[_0x532a('0x22')]()[_0x532a('0xf')],_0x2412c5=_0x3f2815[_0x532a('0x43')]['createPositionAt'](_0x3c2660,_0x532a('0x1e')),_0x4eb844=_0x3f2815[_0x532a('0x43')][_0x532a('0x27')](_0x3c2660,0x0),_0x50d27c=_0x3f2815['model']['createRange'](_0x2412c5,_0x4eb844);_0x3f2815[_0x532a('0x43')][_0x532a('0x16')](()=>{_0x841ed0[_0x532a('0xe')](_0x50d27c,{'commandName':_0x3287f8,'commandParams':[],'formatGroupId':'listType'});});};}function _0x3d5618(_0x494089){const _0x3b684d=_0x3f2815[_0x532a('0x28')][_0x532a('0x34')](_0x532a('0x39'))['value'],_0x1e51d0=_0x3f2815[_0x532a('0x28')]['get']('numberedList')['value'];return _0x532a('0x38')===_0x494089?_0x3b684d:_0x1e51d0;}_0x841ed0[_0x532a('0x2c')](_0x532a('0x38'),_0x3d4f2a('numberedList')),_0x841ed0[_0x532a('0x2c')](_0x532a('0x39'),_0x3d4f2a(_0x532a('0x39'))),_0x841ed0[_0x532a('0x2c')]('indentList',_0x2947ea(_0x532a('0x35'))),_0x841ed0[_0x532a('0x2c')](_0x532a('0x3'),_0x2947ea('outdentList')),_0x841ed0[_0x532a('0x2c')]('splitListItemAfter',_0xfb425f('splitListItemAfter')),_0x841ed0[_0x532a('0x2c')](_0x532a('0x23'),_0xfb425f(_0x532a('0x23'))),_0x841ed0['_descriptionFactory'][_0x532a('0x47')](function(_0x23e722){const _0x525cca=!_0x3f2815['model'][_0x532a('0x6')]['isObject'](_0x23e722),_0x2bcf9b=_0x23e722[_0x532a('0xa')],_0x5cf914=_0x23e722[_0x532a('0xc')],_0x48ffb1=_0x23e722[_0x532a('0x12')](_0x532a('0x42')),_0xef3101=!_0x2bcf9b||_0x2bcf9b['getAttribute'](_0x532a('0x42'))!==_0x48ffb1,_0x49319d=!_0x5cf914||_0x5cf914[_0x532a('0x12')](_0x532a('0x42'))!==_0x48ffb1;return _0x525cca&&Boolean(_0x48ffb1)&&_0xef3101&&_0x49319d;},_0x310730=>_0x125944(_0x477f42,_0x532a('0x44'),_0x310730)),_0x841ed0[_0x532a('0x37')]['registerDescriptionCallback'](function(_0x586a19){if(_0x532a('0x10')!=_0x586a19[_0x532a('0x0')]&&_0x532a('0x3f')!=_0x586a19[_0x532a('0x0')])return;const {data:_0x5872c8}=_0x586a19;if(!_0x5872c8)return;let _0x3ba991,_0x2fc426,_0xa3d59c,_0x23fe63;switch(_0x5872c8[_0x532a('0x31')]){case _0x532a('0x39'):_0xa3d59c=_0x5872c8[_0x532a('0xd')][0x0]['forceValue'],_0x23fe63=_0x3d5618(_0x5872c8[_0x532a('0x31')]),_0x3ba991=_0xa3d59c?'*Format:*\x20insert\x20into\x20%0':_0x532a('0x3c'),!_0x23fe63&&_0x3f2815[_0x532a('0x2d')][_0x532a('0x34')](_0x532a('0x1'))||(_0x3ba991=_0x532a('0x1c')),_0x2fc426={'type':'format','content':_0x125944(_0x477f42,_0x3ba991,_0x125944(_0x477f42,_0x532a('0x9')))};break;case'numberedList':_0xa3d59c=_0x5872c8[_0x532a('0xd')][0x0][_0x532a('0xb')],_0x23fe63=_0x3d5618(_0x5872c8[_0x532a('0x31')]),_0x3ba991=_0xa3d59c?'*Format:*\x20insert\x20into\x20%0':_0x532a('0x3c'),!_0x23fe63&&_0x3f2815[_0x532a('0x2d')]['get'](_0x532a('0x1'))||(_0x3ba991=_0x532a('0x1c')),_0x2fc426={'type':_0x532a('0x1d'),'content':_0x125944(_0x477f42,_0x3ba991,_0x125944(_0x477f42,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x3ba991='*Indent:*\x20%0',_0x2fc426={'type':'format','content':_0x125944(_0x477f42,_0x3ba991,_0x125944(_0x477f42,'ELEMENT_LIST_ITEM'))};break;case _0x532a('0x3'):_0x3ba991=function(_0x660a1b){const _0x3a36cf=_0x660a1b[_0x532a('0x48')]();let _0x41bff1=_0x3a36cf[_0x532a('0x15')]['nodeAfter'];for(;_0x41bff1&&_0x3a36cf['containsItem'](_0x41bff1);){if(_0x41bff1[_0x532a('0x12')](_0x532a('0x2f'))>0x0)return!0x1;_0x41bff1=_0x41bff1[_0x532a('0xc')];}return!0x0;}(_0x586a19)?_0x125944(_0x477f42,_0x532a('0x3c'),_0x125944(_0x477f42,function(_0x280926){const _0x4c0e4f=_0x280926[_0x532a('0x48')]()['start'][_0x532a('0x4')];return _0x532a('0x24')+_0x4c0e4f[_0x532a('0x12')](_0x532a('0x45'))[_0x532a('0x3e')]()+_0x532a('0x17');}(_0x586a19))):_0x125944(_0x477f42,'*Outdent:*\x20%0',_0x125944(_0x477f42,'ELEMENT_LIST_ITEM')),_0x2fc426={'type':_0x532a('0x1d'),'content':_0x3ba991};break;case _0x532a('0x13'):case _0x532a('0x40'):!0x1===_0x5872c8['multipleBlocks']&&(_0x3ba991=_0x532a('0x14'),_0x2fc426={'type':_0x532a('0x1b'),'content':_0x125944(_0x477f42,_0x3ba991,_0x125944(_0x477f42,_0x532a('0x44')))});}return _0x2fc426;}),_0x841ed0[_0x532a('0x20')]['registerCustomCallback'](_0x532a('0x10'),_0x532a('0x29'),_0x532a('0x26'),function(_0x2d14e0,_0x23e078){const _0x472fe9=[];for(let _0x1b3092 of _0x2d14e0)_0x1b3092[_0x532a('0x15')]['nodeAfter']===_0x1b3092[_0x532a('0x19')][_0x532a('0x3b')]&&(_0x1b3092=_0x3f2815['model'][_0x532a('0x8')](_0x3f2815[_0x532a('0x43')][_0x532a('0x27')](_0x1b3092[_0x532a('0x15')][_0x532a('0x4')],0x0))),_0x472fe9[_0x532a('0x5')](_0x1b3092);_0x3f2815[_0x532a('0x43')][_0x532a('0x16')](_0x12efc6=>{const _0x561750=_0x3f2815[_0x532a('0x43')][_0x532a('0x1a')]['selection'],_0x38aed8=Array[_0x532a('0x11')](_0x561750['getRanges']())[_0x532a('0x3a')](_0x4243b1=>_0xfbb885['fromRange'](_0x4243b1));_0x12efc6[_0x532a('0x36')](_0x472fe9),_0x3f2815['commands'][_0x532a('0x34')](_0x23e078[_0x532a('0x31')])[_0x532a('0x18')](),_0x23e078['commandParams'][_0x532a('0x5')]({'forceDefaultExecution':!0x0}),_0x3f2815[_0x532a('0x30')](_0x23e078['commandName'],..._0x23e078[_0x532a('0xd')]),_0x12efc6[_0x532a('0x36')](_0x38aed8);for(const _0x49788b of _0x38aed8)_0x49788b[_0x532a('0x41')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59bb=['markMultiRangeBlockFormat','commandParams','TrackChangesEditing','change','selection','push','handleListStartCommand','getListTypeFromListStyleType','listStyle','reversed','enableCommand','config','*Format:*\x20set\x20order\x20to\x20regular','plugins','_getTranslationKeyForListStyle','model','afterInit','toUpperCase','list.properties','_LIST_','editor','handleDescriptions','handleListReversedCommand','*Change\x20to:*\x20%0','styles','get','listReversed','filter','isFirstBlockOfListItem','DocumentListPropertiesEditing','listStart','length','getSelectedBlocks','from','_getSuggestionBlocks','startIndex','bind','ELEMENT_','format','formatBlock','commandName','type','_getSuggestionBlocksForListStyle','formatInline','listType','getAttribute','isListItemBlock','has','document','handleListStyleCommand','DocumentListUtils','registerDescriptionCallback','DocumentListPropertiesUtils','expandListBlocksToCompleteList','numbered'];(function(_0x1acbfd,_0x59bb59){const _0x5c8b84=function(_0x2ef991){while(--_0x2ef991){_0x1acbfd['push'](_0x1acbfd['shift']());}};_0x5c8b84(++_0x59bb59);}(_0x59bb,0xd4));const _0x5c8b=function(_0x1acbfd,_0x59bb59){_0x1acbfd=_0x1acbfd-0x0;let _0x5c8b84=_0x59bb[_0x1acbfd];return _0x5c8b84;};import{Plugin as _0x43e23b}from'ckeditor5/src/core';import{getTranslation as _0x2efc6c}from'../utils/common-translations';export default class z extends _0x43e23b{[_0x5c8b('0x18')](){if(!this[_0x5c8b('0x1c')]['plugins'][_0x5c8b('0x0')](_0x5c8b('0x25')))return;const _0x4a084a=this['editor'][_0x5c8b('0x13')][_0x5c8b('0x21')](_0x5c8b('0x1a')),_0x22a66b=this[_0x5c8b('0x1c')][_0x5c8b('0x15')][_0x5c8b('0x21')](_0x5c8b('0xa'));_0x4a084a[_0x5c8b('0x20')]&&_0x22a66b[_0x5c8b('0x12')](_0x5c8b('0x10'),this[_0x5c8b('0x2')][_0x5c8b('0x2c')](this)),_0x4a084a[_0x5c8b('0x11')]&&_0x22a66b[_0x5c8b('0x12')](_0x5c8b('0x22'),this[_0x5c8b('0x1e')][_0x5c8b('0x2c')](this)),_0x4a084a['startIndex']&&_0x22a66b[_0x5c8b('0x12')](_0x5c8b('0x26'),this[_0x5c8b('0xe')][_0x5c8b('0x2c')](this)),_0x22a66b['_descriptionFactory'][_0x5c8b('0x4')](this[_0x5c8b('0x1d')]['bind'](this));}[_0x5c8b('0x2')](_0x508884,_0x1cbfc={}){const _0x31322b=this['editor'][_0x5c8b('0x15')][_0x5c8b('0x21')](_0x5c8b('0xa')),_0x9c4c0f=this[_0x5c8b('0x32')]();this[_0x5c8b('0x1c')]['model'][_0x5c8b('0xb')](()=>{_0x31322b[_0x5c8b('0x8')](_0x9c4c0f,{'commandName':_0x5c8b('0x10'),'commandParams':[{'type':_0x1cbfc['type']}],'formatGroupId':_0x5c8b('0x10')});});}[_0x5c8b('0x1e')](_0x290538,_0x2b8bf1={}){const _0x385da0=this['editor']['plugins'][_0x5c8b('0x21')]('TrackChangesEditing'),_0x12c068=this['editor']['plugins'][_0x5c8b('0x21')](_0x5c8b('0x3')),_0x3f7c1a=this[_0x5c8b('0x2a')](_0x1cd7d6=>_0x12c068[_0x5c8b('0x36')](_0x1cd7d6)&&_0x5c8b('0x7')===_0x1cd7d6['getAttribute'](_0x5c8b('0x34')));null!==_0x3f7c1a&&this[_0x5c8b('0x1c')]['model']['change'](()=>{_0x385da0[_0x5c8b('0x8')](_0x3f7c1a,{'commandName':_0x5c8b('0x22'),'commandParams':[{'reversed':_0x2b8bf1[_0x5c8b('0x11')]}],'formatGroupId':_0x5c8b('0x22')});});}[_0x5c8b('0xe')](_0x293a01,_0x5e7b00={}){const _0x2f98b2=this[_0x5c8b('0x1c')]['plugins'][_0x5c8b('0x21')](_0x5c8b('0xa')),_0x58ec7b=this[_0x5c8b('0x1c')][_0x5c8b('0x15')][_0x5c8b('0x21')](_0x5c8b('0x3')),_0x578456=this[_0x5c8b('0x2a')](_0x669037=>_0x58ec7b[_0x5c8b('0x36')](_0x669037)&&_0x5c8b('0x7')===_0x669037[_0x5c8b('0x35')](_0x5c8b('0x34')));null!==_0x578456&&this[_0x5c8b('0x1c')]['model'][_0x5c8b('0xb')](()=>{_0x2f98b2[_0x5c8b('0x8')](_0x578456,{'commandName':_0x5c8b('0x26'),'commandParams':[{'startIndex':_0x5e7b00[_0x5c8b('0x2b')]}],'formatGroupId':_0x5c8b('0x26')});});}[_0x5c8b('0x1d')](_0xc4caf4){if(_0x5c8b('0x2f')!=_0xc4caf4['type']&&_0x5c8b('0x33')!=_0xc4caf4[_0x5c8b('0x31')])return;const _0x970181=this[_0x5c8b('0x1c')]['locale'],{data:_0x219d6e}=_0xc4caf4;if(!_0x219d6e)return;let _0x596be6,_0x1426ec;switch(_0x219d6e[_0x5c8b('0x30')]){case'listStyle':_0x596be6=_0x5c8b('0x1f'),_0x1426ec={'type':_0x5c8b('0x2e'),'content':_0x2efc6c(_0x970181,_0x596be6,_0x2efc6c(_0x970181,this[_0x5c8b('0x16')](_0x219d6e[_0x5c8b('0x9')][0x0][_0x5c8b('0x31')])))};break;case _0x5c8b('0x22'):_0x596be6=_0x219d6e[_0x5c8b('0x9')][0x0][_0x5c8b('0x11')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x5c8b('0x14'),_0x1426ec={'type':_0x5c8b('0x2e'),'content':_0x2efc6c(_0x970181,_0x596be6)};break;case'listStart':_0x596be6='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1426ec={'type':'format','content':_0x2efc6c(_0x970181,_0x596be6,_0x219d6e['commandParams'][0x0][_0x5c8b('0x2b')])};}return _0x1426ec;}[_0x5c8b('0x32')](){const _0xd7abf1=this['editor'][_0x5c8b('0x15')]['get'](_0x5c8b('0x3'));let _0x3cab1e=Array[_0x5c8b('0x29')](this[_0x5c8b('0x1c')][_0x5c8b('0x17')][_0x5c8b('0x1')][_0x5c8b('0xc')]['getSelectedBlocks']());return _0x3cab1e[_0x5c8b('0xd')](..._0xd7abf1[_0x5c8b('0x6')](_0x3cab1e)),_0x3cab1e=[...new Set(_0x3cab1e)],_0x3cab1e;}[_0x5c8b('0x2a')](_0x10689c){const _0x4c4d5e=this[_0x5c8b('0x1c')][_0x5c8b('0x15')][_0x5c8b('0x21')](_0x5c8b('0x3'));let _0x49d9a8=Array[_0x5c8b('0x29')](this[_0x5c8b('0x1c')][_0x5c8b('0x17')][_0x5c8b('0x1')][_0x5c8b('0xc')][_0x5c8b('0x28')]())[_0x5c8b('0x23')](_0x10689c);if(!_0x49d9a8[_0x5c8b('0x27')])return null;_0x49d9a8=_0x4c4d5e['expandListBlocksToCompleteList'](_0x49d9a8);const _0xe1760f=[];for(const _0x1ee1ba of _0x49d9a8)_0x4c4d5e[_0x5c8b('0x24')](_0x1ee1ba)&&_0xe1760f[_0x5c8b('0xd')](_0x1ee1ba);return _0xe1760f;}[_0x5c8b('0x16')](_0x55be70){return _0x5c8b('0x2d')+this[_0x5c8b('0x1c')][_0x5c8b('0x15')]['get'](_0x5c8b('0x5'))[_0x5c8b('0xf')](_0x55be70)[_0x5c8b('0x19')]()+_0x5c8b('0x1b')+_0x55be70[_0x5c8b('0x19')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b36=['commands','afterExecute','end','change','markInsertion','createRange','get','high','downcastDispatcher','enter','detach','data','showSuggestionHighlights','editing','remove','addMarker:suggestion:insertion','createPositionAt','init','unbindElementFromMarkerName','TrackChangesEditing','split','setSelection','requires','fire','markerName','parent','model','mapper','removeMarker:suggestion:insertion','bind','writer'];(function(_0x5c8d64,_0x5b3656){const _0x454cb8=function(_0x528ef9){while(--_0x528ef9){_0x5c8d64['push'](_0x5c8d64['shift']());}};_0x454cb8(++_0x5b3656);}(_0x5b36,0x1e9));const _0x454c=function(_0x5c8d64,_0x5b3656){_0x5c8d64=_0x5c8d64-0x0;let _0x454cb8=_0x5b36[_0x5c8d64];return _0x454cb8;};import{Plugin as _0x42b1fb}from'ckeditor5/src/core';import{Enter as _0x16e3a5}from'ckeditor5/src/enter';import{LiveRange as _0x5dff02}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x158c54}from'./utils';export default class W extends _0x42b1fb{static get[_0x454c('0x1d')](){return[_0x16e3a5];}[_0x454c('0x18')](){const _0x305ed9=this['editor'],_0x329340=_0x305ed9['plugins']['get'](_0x454c('0x1a')),_0x1b2141=_0x305ed9[_0x454c('0x7')][_0x454c('0xd')](_0x454c('0x10'));_0x329340['enableCommand']('enter',()=>{_0x305ed9['model'][_0x454c('0xa')](_0x57bd1a=>{const _0x22e6b9=_0x305ed9[_0x454c('0x2')]['document']['selection'],_0x33c6bc=_0x22e6b9['getFirstPosition'](),_0x55ade2=_0x5dff02['fromRange'](_0x22e6b9['getFirstRange']());if(_0x1b2141['enterBlock'](_0x57bd1a)){const _0x477977=_0x305ed9[_0x454c('0x2')][_0x454c('0x17')](_0x33c6bc[_0x454c('0x1')]['nextSibling'],0x0),_0x2988a0=_0x57bd1a[_0x454c('0xc')](_0x33c6bc,_0x477977);_0x329340[_0x454c('0xb')](_0x2988a0);}else _0x57bd1a[_0x454c('0x1c')](_0x57bd1a[_0x454c('0xc')](_0x55ade2[_0x454c('0x9')]));_0x55ade2[_0x454c('0x11')](),_0x1b2141[_0x454c('0x1e')](_0x454c('0x8'),{'writer':_0x57bd1a});});}),_0x305ed9[_0x454c('0x14')][_0x454c('0xf')]['on'](_0x454c('0x16'),_0x158c54(_0x305ed9,_0x454c('0x1b')),{'priority':_0x454c('0xe')}),_0x305ed9[_0x454c('0x14')][_0x454c('0xf')]['on'](_0x454c('0x4'),(_0x10607f,_0x3f5086,_0x5f338a)=>{const _0x106daf=_0x5f338a[_0x454c('0x3')]['markerNameToElements'](_0x3f5086['markerName']);if(_0x106daf)for(const _0x2333c1 of _0x106daf)_0x2333c1['hasClass']('ck-suggestion-marker-split')&&(_0x5f338a[_0x454c('0x3')][_0x454c('0x19')](_0x2333c1,_0x3f5086[_0x454c('0x0')]),_0x5f338a[_0x454c('0x6')][_0x454c('0x15')](_0x2333c1));},{'priority':_0x454c('0xe')}),_0x305ed9[_0x454c('0x12')][_0x454c('0xf')]['on'](_0x454c('0x16'),(_0x2e6645,_0x3a18cc,_0x1e6e41)=>{_0x1e6e41['options'][_0x454c('0x13')]&&_0x158c54(_0x305ed9,_0x454c('0x1b'),{'showActiveMarker':!0x1})[_0x454c('0x5')](this)(_0x2e6645,_0x3a18cc,_0x1e6e41);},{'priority':_0x454c('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c16=['FindAndReplaceEditing','has','get','find','enableCommand','replaceAll','item','start','model','bind','_isInDeletionRange','findNext','getIntersection','end','afterInit','markers','suggestion:deletion','editor','plugins','createRange','findByTextCallback','getRange','string'];(function(_0x3b6410,_0x3c1611){const _0x4c7e5d=function(_0x388f7a){while(--_0x388f7a){_0x3b6410['push'](_0x3b6410['shift']());}};_0x4c7e5d(++_0x3c1611);}(_0x3c16,0x15d));const _0x4c7e=function(_0x3b6410,_0x3c1611){_0x3b6410=_0x3b6410-0x0;let _0x4c7e5d=_0x3c16[_0x3b6410];return _0x4c7e5d;};import{Plugin as _0x3fc205}from'ckeditor5/src/core';export default class J extends _0x3fc205{[_0x4c7e('0xa')](){if(!this[_0x4c7e('0xd')]['plugins'][_0x4c7e('0x14')](_0x4c7e('0x13')))return;const _0x4914fd=this[_0x4c7e('0xd')][_0x4c7e('0xe')]['get']('TrackChangesEditing');_0x4914fd[_0x4c7e('0x0')](_0x4c7e('0x16'),this['handleFindCommand'][_0x4c7e('0x5')](this)),_0x4914fd[_0x4c7e('0x0')](_0x4c7e('0x7')),_0x4914fd[_0x4c7e('0x0')]('findPrevious'),_0x4914fd['enableCommand']('replace'),_0x4914fd['enableCommand'](_0x4c7e('0x1'));}['handleFindCommand'](_0x1d2602,_0x540a69,_0x59d25a={}){const _0x16b4d4=this[_0x4c7e('0xd')][_0x4c7e('0xe')][_0x4c7e('0x15')]('FindAndReplaceUtils');return _0x1d2602(_0xc6ad44=>(_0x4c7e('0x12')==typeof _0x540a69?_0x16b4d4[_0x4c7e('0x10')](_0x540a69,_0x59d25a):_0x540a69)(_0xc6ad44)['filter'](_0x2ca6c2=>!0x1===this[_0x4c7e('0x6')](_0x2ca6c2,_0xc6ad44[_0x4c7e('0x2')])),_0x59d25a);}[_0x4c7e('0x6')](_0x2d0a79,_0x40028d){const _0x2d4e46=this[_0x4c7e('0xd')][_0x4c7e('0x4')][_0x4c7e('0xf')](this[_0x4c7e('0xd')][_0x4c7e('0x4')]['createPositionAt'](_0x40028d,_0x2d0a79[_0x4c7e('0x3')]),this[_0x4c7e('0xd')][_0x4c7e('0x4')]['createPositionAt'](_0x40028d,_0x2d0a79[_0x4c7e('0x9')]));for(const _0x5ef0b9 of this[_0x4c7e('0xd')]['model'][_0x4c7e('0xb')]['getMarkersGroup'](_0x4c7e('0xc')))if(null!==_0x2d4e46[_0x4c7e('0x8')](_0x5ef0b9[_0x4c7e('0x11')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2735=['format','*Set\x20font\x20size:*\x20%0','FontBackgroundColorEditing','registerAttributeLabel','label','type','config','normalizeSizeOptions','_enableDefaultAttributesIntegration','toLowerCase','fontBackgroundColor.colors','find','value','FontSizeEditing','FontSize','fontBackgroundColor','*Reset\x20font\x20background\x20color*','*Set\x20font\x20color:*\x20%0','get','FontColorEditing','*Set\x20font\x20family:*\x20%0','FORMAT_FONT_SIZE','FORMAT_FONT_FAMILY','title','*Reset\x20font\x20size*','plugins','locale','has','commandParams','TrackChangesEditing','fontSize','*Set\x20font\x20background\x20color:*\x20%0','fontColor','model','registerDescriptionCallback','FontFamilyEditing','fontSize.options','fontFamily','_registerLegacyDescription','editor','_descriptionFactory','*Reset\x20font\x20family*','commandName','formatInline','FORMAT_FONT_BACKGROUND','afterInit'];(function(_0x369262,_0x2735b9){const _0x142cd1=function(_0x4977c9){while(--_0x4977c9){_0x369262['push'](_0x369262['shift']());}};_0x142cd1(++_0x2735b9);}(_0x2735,0x149));const _0x142c=function(_0x369262,_0x2735b9){_0x369262=_0x369262-0x0;let _0x142cd1=_0x2735[_0x369262];return _0x142cd1;};import{Plugin as _0x509e70}from'ckeditor5/src/core';import{normalizeColorOptions as _0xdbdacb}from'ckeditor5/src/ui';import{getTranslation as _0xeb5c68}from'../utils/common-translations';const ro=[{'pluginName':_0x142c('0x6'),'commandName':_0x142c('0x17')},{'pluginName':_0x142c('0x1c'),'commandName':'fontFamily'},{'pluginName':_0x142c('0xc'),'commandName':_0x142c('0x19')},{'pluginName':_0x142c('0x29'),'commandName':'fontBackgroundColor'}];export default class K extends _0x509e70{[_0x142c('0x26')](){const _0x329289=this['editor'][_0x142c('0x13')],_0x1ecb74=this[_0x142c('0x20')][_0x142c('0x12')][_0x142c('0xb')](_0x142c('0x16'));for(const {pluginName:_0x2b8103,commandName:_0x490f01}of ro)this[_0x142c('0x20')]['plugins'][_0x142c('0x14')](_0x2b8103)&&_0x1ecb74[_0x142c('0x1')](_0x490f01,[_0x490f01]);_0x329289['t'],(_0x1ecb74[_0x142c('0x21')][_0x142c('0x2a')](_0x142c('0x17'),_0xeb5c68(_0x329289,_0x142c('0xe'))),_0x1ecb74['_descriptionFactory'][_0x142c('0x2a')](_0x142c('0x1e'),_0xeb5c68(_0x329289,_0x142c('0xf'))),_0x1ecb74[_0x142c('0x21')][_0x142c('0x2a')](_0x142c('0x19'),_0xeb5c68(_0x329289,'FORMAT_FONT_COLOR')),_0x1ecb74[_0x142c('0x21')][_0x142c('0x2a')](_0x142c('0x8'),_0xeb5c68(_0x329289,_0x142c('0x25'))),this[_0x142c('0x1f')]());}['_registerLegacyDescription'](){const _0x10aedc=this['editor'],_0x1cb30a=_0x10aedc[_0x142c('0x13')];_0x10aedc[_0x142c('0x12')][_0x142c('0xb')](_0x142c('0x16'))['_descriptionFactory'][_0x142c('0x1b')](_0xe80ebc=>{const _0x3fafea=_0x1cb30a['t'];if(_0x142c('0x24')!=_0xe80ebc[_0x142c('0x2c')])return;const {data:_0x3b4198}=_0xe80ebc;if(null!=_0x3b4198){if(_0x142c('0x17')==_0x3b4198[_0x142c('0x23')]){const _0x56beda=_0x3b4198[_0x142c('0x15')][0x0]['value'];if(_0x56beda){const _0x4e34de=_0x3fafea(this['editor'][_0x142c('0x12')][_0x142c('0xb')](_0x142c('0x7'))[_0x142c('0x0')](this['editor'][_0x142c('0x2d')][_0x142c('0xb')](_0x142c('0x1d')))[_0x142c('0x4')](_0x374a3d=>_0x374a3d[_0x142c('0x1a')]==_0x56beda)[_0x142c('0x10')])['toLowerCase']();return{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0x28'),_0x4e34de)};}return{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0x11'))};}if(_0x142c('0x1e')==_0x3b4198[_0x142c('0x23')]){const _0x5ced86=_0x3b4198['commandParams'][0x0][_0x142c('0x5')];return _0x5ced86?{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0xd'),_0x5ced86)}:{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0x22'))};}if(_0x142c('0x19')==_0x3b4198['commandName']){const _0x117f9d=_0x3b4198[_0x142c('0x15')][0x0][_0x142c('0x5')];if(_0x117f9d){const _0x56549a=_0xdbdacb(this[_0x142c('0x20')][_0x142c('0x2d')]['get']('fontColor.colors'))[_0x142c('0x4')](_0x21d063=>_0x21d063[_0x142c('0x1a')]==_0x117f9d);let _0x23b8f4=_0x117f9d,_0x37b4a9='';return _0x56549a&&(_0x23b8f4=_0x56549a['label'],_0x37b4a9=_0x3fafea(_0x23b8f4)[_0x142c('0x2')]()),{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0xa'),_0x37b4a9)['trim'](),'color':{'value':_0x117f9d,'title':_0x37b4a9||_0x23b8f4}};}return{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x3b4198[_0x142c('0x23')]){const _0x2bf836=_0x3b4198['commandParams'][0x0][_0x142c('0x5')];if(_0x2bf836){const _0x29321c=_0xdbdacb(this['editor'][_0x142c('0x2d')][_0x142c('0xb')](_0x142c('0x3')))[_0x142c('0x4')](_0x53595f=>_0x53595f[_0x142c('0x1a')]==_0x2bf836);let _0x230456=_0x2bf836,_0x4cbf63='';return _0x29321c&&(_0x230456=_0x29321c[_0x142c('0x2b')],_0x4cbf63=_0x3fafea(_0x230456)[_0x142c('0x2')]()),{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0x18'),_0x4cbf63)['trim'](),'color':{'value':_0x2bf836,'title':_0x4cbf63||_0x230456}};}return{'type':_0x142c('0x27'),'content':_0xeb5c68(_0x1cb30a,_0x142c('0x9'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c2f=['afterInit','normalizeSizeOptions','formatBlock','plugins','boolean','fontSize.options','*Remove\x20all\x20formatting*','_registerLegacyDescription','toLowerCase','format','commandName','push','charAt','toUpperCase','commands','find','locale','join','get','editor','config','title','formatInline','type','TrackChangesEditing','registerDescriptionCallback','split','slice','label','fontBackgroundColor','copyFormat','FontSize'];(function(_0x5ac32a,_0x5c2fac){const _0xc34a01=function(_0x2ae5ae){while(--_0x2ae5ae){_0x5ac32a['push'](_0x5ac32a['shift']());}};_0xc34a01(++_0x5c2fac);}(_0x5c2f,0x1e1));const _0xc34a=function(_0x5ac32a,_0x5c2fac){_0x5ac32a=_0x5ac32a-0x0;let _0xc34a01=_0x5c2f[_0x5ac32a];return _0xc34a01;};import{Plugin as _0x2ec98f}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5a16a7}from'ckeditor5/src/ui';import{getTranslation as _0x56ecaf}from'../utils/common-translations';export default class Q extends _0x2ec98f{[_0xc34a('0x1f')](){const _0xa23c39=this[_0xc34a('0x12')],_0x69053e=_0xa23c39['plugins'][_0xc34a('0x11')]('TrackChangesEditing'),_0x523a68=_0xa23c39[_0xc34a('0xd')][_0xc34a('0x11')]('copyFormat'),_0x4c9200=_0xa23c39[_0xc34a('0xd')]['get']('pasteFormat');_0x523a68&&_0x4c9200&&(_0x69053e['_enableDefaultAttributesIntegration']('pasteFormat'),_0x69053e['enableCommand'](_0xc34a('0x1d')),this[_0xc34a('0x6')]());}[_0xc34a('0x6')](){const _0x949e4d=this[_0xc34a('0x12')],_0x408af6=_0x949e4d[_0xc34a('0xf')];_0x949e4d[_0xc34a('0x2')][_0xc34a('0x11')](_0xc34a('0x17'))['_descriptionFactory'][_0xc34a('0x18')](_0x2ad4ed=>{if(_0xc34a('0x1')!=_0x2ad4ed['type']&&_0xc34a('0x15')!=_0x2ad4ed[_0xc34a('0x16')])return;const {data:_0xa91138}=_0x2ad4ed;if(_0xa91138&&'pasteFormat'===_0xa91138[_0xc34a('0x9')]){const _0x4cebc8=[],_0x3ef5f7=_0xa91138['commandParams'][0x0];for(const [_0x3c2079,_0x5a24ee]of Object['entries'](_0x3ef5f7))_0x4cebc8[_0xc34a('0xa')](ao(_0x949e4d,_0x3c2079,_0x5a24ee));return _0x4cebc8['length']?{'type':_0xc34a('0x8'),'content':_0x56ecaf(_0x408af6,'*Set\x20format\x20to:*\x20%0',_0x4cebc8[_0xc34a('0x10')](',\x20'))}:{'type':_0xc34a('0x8'),'content':_0x56ecaf(_0x408af6,_0xc34a('0x5'))};}});}}function ao(_0x3be6ca,_0x4b332d,_0x23031d){const _0x52e19f=_0x3be6ca[_0xc34a('0xf')]['t'],_0x26e88f=_0x4b332d[_0xc34a('0x19')](/(?=[A-Z])/)[_0xc34a('0x10')]('\x20'),_0x4b0b52=_0x52e19f(_0x26e88f[_0xc34a('0xb')](0x0)[_0xc34a('0xc')]()+_0x26e88f[_0xc34a('0x1a')](0x1))[_0xc34a('0x7')]();if(_0xc34a('0x3')==typeof _0x23031d)return _0x4b0b52;if('fontColor'===_0x4b332d||_0xc34a('0x1c')===_0x4b332d){const _0x1f8738=_0x5a16a7(_0x3be6ca[_0xc34a('0x13')][_0xc34a('0x11')]('fontColor.colors'))[_0xc34a('0xe')](_0x38275b=>_0x38275b['model']==_0x23031d);return _0x4b0b52+'\x20('+(_0x1f8738?_0x52e19f(_0x1f8738[_0xc34a('0x1b')])[_0xc34a('0x7')]():_0x23031d)+')';}if('fontSize'===_0x4b332d&&isNaN(parseFloat(_0x23031d))){const _0x263eb3=_0x3be6ca[_0xc34a('0x2')][_0xc34a('0x11')](_0xc34a('0x1e'))[_0xc34a('0x0')](_0x3be6ca[_0xc34a('0x13')][_0xc34a('0x11')](_0xc34a('0x4')))['find'](_0x4c6982=>_0x4c6982['model']==_0x23031d);return _0x4b0b52+'\x20('+(_0x263eb3?_0x52e19f(_0x263eb3[_0xc34a('0x14')])['toLowerCase']():_0x23031d)+')';}return _0x4b0b52+'\x20('+_0x23031d+')';}
|