@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.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/lang/translations/ar.po +1 -0
- package/lang/translations/az.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- 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/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/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 _0x3a19=['UnderlineEditing','afterInit','bold','StrikethroughEditing','get','commands','_descriptionFactory','value','forceValue','FORMAT_ITALIC','format','toLowerCase','from','strikethrough','locale','slice','FORMAT_UNDERLINE','CodeEditing','enableCommand','plugins','FORMAT_CODE','FORMAT_SUBSCRIPT','selection','model','*Format:*\x20%0','FORMAT_STRIKETHROUGH','ItalicEditing','FORMAT_BOLD','BoldEditing','markInlineFormat','change','italic','superscript','registerDescriptionCallback','FORMAT_SUPERSCRIPT'];(function(_0x395472,_0x3a1996){const _0x2472cf=function(_0x5394e6){while(--_0x5394e6){_0x395472['push'](_0x395472['shift']());}};_0x2472cf(++_0x3a1996);}(_0x3a19,0x155));const _0x2472=function(_0x395472,_0x3a1996){_0x395472=_0x395472-0x0;let _0x2472cf=_0x3a19[_0x395472];return _0x2472cf;};import{Plugin as _0x5059b1}from'ckeditor5/src/core';import{getTranslation as _0x24b850}from'../utils/common-translations';import{getRangesWithAttribute as _0x5b0af3}from'./utils';const Yt=[_0x2472('0x2'),_0x2472('0x0'),_0x2472('0x9'),_0x2472('0x1a'),_0x2472('0xc'),'SubscriptEditing','SuperscriptEditing'];export default class x extends _0x5059b1{[_0x2472('0xa')](){const _0x279500=this['editor'],_0x5568e7=_0x279500[_0x2472('0x20')],_0x4a4ac2=_0x279500[_0x2472('0x1c')][_0x2472('0xd')]('TrackChangesEditing'),_0x2a08c0=_0x279500[_0x2472('0x17')];for(const _0x328e33 of Yt){if(!_0x279500['plugins']['has'](_0x328e33))continue;const _0x33b3d3=_0x328e33[_0x2472('0x18')](0x0,-0x7)[_0x2472('0x14')](),_0x274413=_0x279500[_0x2472('0xe')][_0x2472('0xd')](_0x33b3d3);_0x4a4ac2[_0x2472('0x1b')](_0x33b3d3,(_0x57ad5b,_0x4f49eb={})=>{const _0x549d27=_0x5568e7['document'][_0x2472('0x1f')];if(_0x549d27['isCollapsed'])return void _0x57ad5b(_0x4f49eb);const _0x5dbf18=void 0x0!==_0x4f49eb[_0x2472('0x11')]?_0x4f49eb[_0x2472('0x11')]:!_0x274413[_0x2472('0x10')];_0x5568e7[_0x2472('0x4')](()=>{const _0xd30246=Array[_0x2472('0x15')](_0x549d27['getRanges']());for(const _0x33d5d2 of _0xd30246){const _0x33260b=_0x5dbf18?[_0x33d5d2]:_0x5b0af3(_0x33b3d3,_0x33d5d2,_0x5568e7);for(const _0x13b520 of _0x33260b)_0x4a4ac2[_0x2472('0x3')](_0x13b520,{'commandName':_0x33b3d3,'commandParams':[{'forceValue':_0x5dbf18}]});}});});}function _0xc8558a(_0x486306,_0x50b104){_0x4a4ac2[_0x2472('0xf')][_0x2472('0x7')](_0x568c18=>{const {data:_0x2621ae}=_0x568c18;if(_0x2621ae&&_0x2621ae['commandName']===_0x486306)return _0x2621ae['commandParams'][0x0][_0x2472('0x11')]?{'type':_0x2472('0x13'),'content':_0x24b850(_0x2a08c0,_0x2472('0x21'),_0x50b104)}:{'type':_0x2472('0x13'),'content':_0x24b850(_0x2a08c0,'*Remove\x20format:*\x20%0',_0x50b104)};});}_0xc8558a(_0x2472('0xb'),_0x24b850(_0x2a08c0,_0x2472('0x1'))),_0xc8558a(_0x2472('0x5'),_0x24b850(_0x2a08c0,_0x2472('0x12'))),_0xc8558a('underline',_0x24b850(_0x2a08c0,_0x2472('0x19'))),_0xc8558a('code',_0x24b850(_0x2a08c0,_0x2472('0x1d'))),_0xc8558a(_0x2472('0x16'),_0x24b850(_0x2a08c0,_0x2472('0x22'))),_0xc8558a('subscript',_0x24b850(_0x2a08c0,_0x2472('0x1e'))),_0xc8558a(_0x2472('0x6'),_0x24b850(_0x2a08c0,_0x2472('0x8')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5053=['checkChild','markBlockFormat','getSelectedBlocks','blockQuote','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','commandParams','commandName','plugins','registerDescriptionCallback','editor','TrackChangesEditing','name','forceValue','value','_descriptionFactory','afterInit','from','*Remove\x20format:*\x20%0','commands','format','model','schema','enableCommand','*Format:*\x20%0'];(function(_0x1c2c73,_0x50536a){const _0x39f53b=function(_0xae001f){while(--_0xae001f){_0x1c2c73['push'](_0x1c2c73['shift']());}};_0x39f53b(++_0x50536a);}(_0x5053,0xda));const _0x39f5=function(_0x1c2c73,_0x50536a){_0x1c2c73=_0x1c2c73-0x0;let _0x39f53b=_0x5053[_0x1c2c73];return _0x39f53b;};import{Plugin as _0x33e210}from'ckeditor5/src/core';import{getTranslation as _0x196702}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3b8a48}from'../utils/utils';export default class U extends _0x33e210{[_0x39f5('0x17')](){const _0x44d428=this[_0x39f5('0x11')],_0x45fc8f=_0x44d428['locale'];if(!_0x44d428['plugins']['has'](_0x39f5('0xc')))return;const _0x3c1156=_0x44d428[_0x39f5('0xf')]['get'](_0x39f5('0x12')),_0x5549cd=this['editor'][_0x39f5('0x1')]['get'](_0x39f5('0xa'));_0x3c1156[_0x39f5('0x5')](_0x39f5('0xa'),(_0x4094ac,_0x1eaa26={})=>{const _0x522f79=this[_0x39f5('0x11')][_0x39f5('0x3')]['document']['selection'],_0x59deb8=_0x1eaa26&&void 0x0!==_0x1eaa26[_0x39f5('0x14')]?_0x1eaa26['forceValue']:!_0x5549cd[_0x39f5('0x15')];let _0x296605=[];if(_0x59deb8){const _0x1a6338=Array[_0x39f5('0x18')](_0x522f79[_0x39f5('0x9')]())['filter'](_0x4cc6da=>to(_0x4cc6da)||function(_0x43e02a,_0x30d393){const _0x46dd05=_0x30d393['checkChild'](_0x43e02a['parent'],_0x39f5('0xa')),_0x350927=_0x30d393[_0x39f5('0x7')](['$root',_0x39f5('0xa')],_0x43e02a);return _0x46dd05&&_0x350927;}(_0x4cc6da,this[_0x39f5('0x11')][_0x39f5('0x3')][_0x39f5('0x4')]));_0x296605=_0x3b8a48(_0x1a6338,_0x44d428[_0x39f5('0x3')]);}else{const _0x1a3f8a=Array[_0x39f5('0x18')](_0x522f79[_0x39f5('0x9')]())['filter'](_0x8f9751=>to(_0x8f9751));_0x296605=_0x3b8a48(_0x1a3f8a,_0x44d428['model']);}_0x44d428[_0x39f5('0x3')]['change'](()=>{for(const _0x5cbbf2 of _0x296605)_0x3c1156[_0x39f5('0x8')](_0x5cbbf2,{'commandName':_0x39f5('0xa'),'commandParams':[{'forceValue':_0x59deb8}]});});}),_0x3c1156[_0x39f5('0x16')][_0x39f5('0x10')](_0x542f76=>{const {data:_0xc20150}=_0x542f76;if(_0xc20150&&_0x39f5('0xa')==_0xc20150[_0x39f5('0xe')]){const _0xf0c091=_0x196702(_0x45fc8f,_0x39f5('0xb'));return _0xc20150[_0x39f5('0xd')][0x0]['forceValue']?{'type':_0x39f5('0x2'),'content':_0x196702(_0x45fc8f,_0x39f5('0x6'),_0xf0c091)}:{'type':'format','content':_0x196702(_0x45fc8f,_0x39f5('0x0'),_0xf0c091)};}});}}function to(_0xc6d06e){return _0x39f5('0xa')==_0xc6d06e['parent'][_0x39f5('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5283=['editor','enableCommand','ckbox','plugins','afterInit','TrackChangesEditing','get','commands'];(function(_0x337c2c,_0x52833f){const _0x4860d5=function(_0xe1c7c4){while(--_0xe1c7c4){_0x337c2c['push'](_0x337c2c['shift']());}};_0x4860d5(++_0x52833f);}(_0x5283,0x13c));const _0x4860=function(_0x337c2c,_0x52833f){_0x337c2c=_0x337c2c-0x0;let _0x4860d5=_0x5283[_0x337c2c];return _0x4860d5;};import{Plugin as _0x10daab}from'ckeditor5/src/core';export default class O extends _0x10daab{[_0x4860('0x0')](){const _0xd8388f=this[_0x4860('0x4')];_0xd8388f[_0x4860('0x3')][_0x4860('0x2')](_0x4860('0x6'))&&_0xd8388f[_0x4860('0x7')][_0x4860('0x2')](_0x4860('0x1'))[_0x4860('0x5')](_0x4860('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1606=['from','registerElementLabel','*Format:*\x20%0','commands','commandParams','find','change','CodeBlock','editor','codeBlock','get','outdentCodeBlock','has','indentCodeBlock','name','getSelectedBlocks','document','label','selection','value','*Remove\x20format:*\x20%0','checkChild','config','model','filter','language','enableCommand','registerDescriptionCallback','ELEMENT_CODE_BLOCK','locale','rootElement','formatBlock','languages','parent','format','forceValue','schema','commandName','afterInit','plugins'];(function(_0x4a45dd,_0x1606ff){const _0xec0764=function(_0x132c1a){while(--_0x132c1a){_0x4a45dd['push'](_0x4a45dd['shift']());}};_0xec0764(++_0x1606ff);}(_0x1606,0x77));const _0xec07=function(_0x4a45dd,_0x1606ff){_0x4a45dd=_0x4a45dd-0x0;let _0xec0764=_0x1606[_0x4a45dd];return _0xec0764;};import{Plugin as _0x1ea9bf}from'ckeditor5/src/core';import{getTranslation as _0x18907c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x375c03}from'../utils/utils';export default class E extends _0x1ea9bf{[_0xec07('0x27')](){const _0x9203fe=this[_0xec07('0x9')];if(!_0x9203fe['plugins'][_0xec07('0xd')](_0xec07('0x8')))return;const _0x35eabb=_0x9203fe[_0xec07('0x0')][_0xec07('0xb')]('TrackChangesEditing'),_0xe51340=_0x9203fe[_0xec07('0x1e')],_0x5a21c9=_0x9203fe[_0xec07('0x17')][_0xec07('0xb')](_0xec07('0xa'))[_0xec07('0x21')],_0x4c9ade=_0x9203fe[_0xec07('0x4')]['get']('codeBlock');_0x35eabb[_0xec07('0x1b')](_0xec07('0xe')),_0x35eabb[_0xec07('0x1b')](_0xec07('0xc')),_0x35eabb['enableCommand'](_0xec07('0xa'),(_0x5eba3d,_0x80c4e2={})=>{const _0x5a08f8=_0x9203fe[_0xec07('0x18')],_0x584665=_0x9203fe[_0xec07('0x18')][_0xec07('0x11')][_0xec07('0x13')],_0x15573d=_0x80c4e2&&void 0x0!==_0x80c4e2[_0xec07('0x24')]?_0x80c4e2['forceValue']:!_0x4c9ade[_0xec07('0x14')];let _0x6fd997;_0x80c4e2[_0xec07('0x1a')]||(_0x80c4e2[_0xec07('0x1a')]=_0x5a21c9[0x0][_0xec07('0x1a')]),_0x6fd997=_0x15573d?Array[_0xec07('0x1')](_0x584665[_0xec07('0x10')]())['filter'](_0x948d25=>oo(_0x948d25)||function(_0x3a533b,_0x4ad522){if(_0x3a533b['is'](_0xec07('0x1f'))||_0x4ad522['isLimit'](_0x3a533b))return!0x1;return _0x4ad522[_0xec07('0x16')](_0x3a533b[_0xec07('0x22')],'codeBlock');}(_0x948d25,_0x5a08f8[_0xec07('0x25')])):Array['from'](_0x584665[_0xec07('0x10')]())[_0xec07('0x19')](_0x58eb78=>oo(_0x58eb78));const _0x4eba59=_0x375c03(_0x6fd997,_0x5a08f8);_0x5a08f8[_0xec07('0x7')](()=>{for(const _0x72d6cf of _0x4eba59)_0x35eabb['markBlockFormat'](_0x72d6cf,{'commandName':'codeBlock','commandParams':[{..._0x80c4e2,'forceValue':_0x15573d}],'formatGroupId':'blockName'});});}),(_0x35eabb['_descriptionFactory'][_0xec07('0x2')]('codeBlock',_0x1a3691=>_0x18907c(_0xe51340,'ELEMENT_CODE_BLOCK',_0x1a3691)),_0x35eabb['_descriptionFactory'][_0xec07('0x1c')](_0x116d3c=>{const _0x1d72e3=_0xe51340['t'],{type:_0x155ac9,data:_0x2b381f}=_0x116d3c;if(_0xec07('0x20')==_0x155ac9&&_0x2b381f&&_0xec07('0xa')==_0x2b381f[_0xec07('0x26')]){const _0x8f2d97=_0x2b381f['commandParams'][0x0]['language'],_0x3cafde=_0x1d72e3(_0x5a21c9[_0xec07('0x6')](_0x499057=>_0x499057['language']===_0x8f2d97)[_0xec07('0x12')]);return _0x2b381f[_0xec07('0x5')][0x0][_0xec07('0x24')]?{'type':_0xec07('0x23'),'content':_0x18907c(_0xe51340,_0xec07('0x3'),_0x18907c(_0xe51340,_0xec07('0x1d'),0x1)+'\x20('+_0x3cafde+')')}:{'type':_0xec07('0x23'),'content':_0x18907c(_0xe51340,_0xec07('0x15'),_0x18907c(_0xe51340,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x163684){return _0xec07('0xa')==_0x163684[_0xec07('0xf')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x341d=['addCommentThread','enableCommand','TrackChangesEditing','get','CommentsEditing','afterInit','plugins','editor'];(function(_0x392157,_0x341dd9){const _0x20726e=function(_0x3db5a1){while(--_0x3db5a1){_0x392157['push'](_0x392157['shift']());}};_0x20726e(++_0x341dd9);}(_0x341d,0x154));const _0x2072=function(_0x392157,_0x341dd9){_0x392157=_0x392157-0x0;let _0x20726e=_0x341d[_0x392157];return _0x20726e;};import{Plugin as _0x173dcc}from'ckeditor5/src/core';export default class F extends _0x173dcc{[_0x2072('0x1')](){const _0x3d4bc8=this[_0x2072('0x3')];if(!_0x3d4bc8['plugins']['has'](_0x2072('0x0')))return;_0x3d4bc8[_0x2072('0x2')][_0x2072('0x7')](_0x2072('0x6'))[_0x2072('0x5')](_0x2072('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1af8=['$graveyard','unit','markerName','bind','options','TrackChangesEditing','downcastDispatcher','removeMarker:suggestion:deletion','deleteForward','plugins','markerNameToElements','delete','editing','buffer','selection','uiElement','model','enableCommand','rootName','createRange','get','root','getFirstRange','addMarker:suggestion:deletion','document','mapper','forward','end','merge','high','showSuggestionHighlights','fromRange','createSelection','modifySelection','setSelection','isCollapsed','init','commands'];(function(_0x7ec7d8,_0x1af881){const _0x446487=function(_0x363c40){while(--_0x363c40){_0x7ec7d8['push'](_0x7ec7d8['shift']());}};_0x446487(++_0x1af881);}(_0x1af8,0x85));const _0x4464=function(_0x7ec7d8,_0x1af881){_0x7ec7d8=_0x7ec7d8-0x0;let _0x446487=_0x1af8[_0x7ec7d8];return _0x446487;};import{Plugin as _0x2ea05a}from'ckeditor5/src/core';import{LiveRange as _0x23bfff}from'ckeditor5/src/engine';import{Delete as _0x371745}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x483959}from'./utils';export default class G extends _0x2ea05a{static get['requires'](){return[_0x371745];}[_0x4464('0x11')](){const _0x5c2e42=this['editor'],_0x1c7bfa=_0x5c2e42[_0x4464('0x1c')][_0x4464('0x1')](_0x4464('0x18'));_0x1c7bfa[_0x4464('0x24')](_0x4464('0x1e'));const _0x2a860f=_0x5c2e42[_0x4464('0x12')][_0x4464('0x1')](_0x4464('0x1b'));_0x1c7bfa[_0x4464('0x24')](_0x4464('0x1b'),(_0x53276a,_0x54f5e9={})=>{const _0x5be21c=_0x5c2e42[_0x4464('0x23')][_0x4464('0xd')](_0x5c2e42[_0x4464('0x23')][_0x4464('0x5')][_0x4464('0x21')]);_0x5be21c[_0x4464('0x10')]&&_0x5c2e42[_0x4464('0x23')][_0x4464('0xe')](_0x5be21c,{'direction':_0x4464('0x7'),'unit':_0x54f5e9[_0x4464('0x14')]});const _0x3f9b20=_0x5be21c[_0x4464('0x3')](),_0x662c2c=_0x23bfff[_0x4464('0xc')](_0x3f9b20);let _0x247745;_0x53276a(_0x54f5e9),_0x247745=_0x4464('0x13')==_0x662c2c[_0x4464('0x2')][_0x4464('0x25')]?_0x5c2e42[_0x4464('0x23')][_0x4464('0x0')](_0x3f9b20['start']):_0x5c2e42['model'][_0x4464('0x0')](_0x662c2c['start'],_0x662c2c[_0x4464('0x8')]),_0x662c2c['detach'](),_0x5c2e42[_0x4464('0x23')]['enqueueChange'](_0x2a860f[_0x4464('0x20')]['batch'],_0x4c856c=>{_0x2a860f['buffer']['lock'](),_0x4c856c[_0x4464('0xf')](_0x4c856c['createRange'](_0x247745[_0x4464('0x8')])),_0x2a860f[_0x4464('0x20')]['unlock']();});}),_0x5c2e42[_0x4464('0x1f')][_0x4464('0x19')]['on'](_0x4464('0x4'),_0x483959(_0x5c2e42,'merge'),{'priority':_0x4464('0xa')}),_0x5c2e42['data'][_0x4464('0x19')]['on'](_0x4464('0x4'),(_0x2f7bdb,_0xdc3ce0,_0x2a5939)=>{_0x2a5939[_0x4464('0x17')][_0x4464('0xb')]&&_0x483959(_0x5c2e42,_0x4464('0x9'),{'showActiveMarker':!0x1})[_0x4464('0x16')](this)(_0x2f7bdb,_0xdc3ce0,_0x2a5939);},{'priority':_0x4464('0xa')}),_0x5c2e42[_0x4464('0x1f')]['downcastDispatcher']['on'](_0x4464('0x1a'),(_0x193bfa,_0x1a064f,_0x501ba5)=>{const _0xa28748=_0x501ba5['mapper'][_0x4464('0x1d')](_0x1a064f[_0x4464('0x15')]);if(_0xa28748)for(const _0x45c8e8 of _0xa28748)_0x45c8e8['is'](_0x4464('0x22'))&&(_0x501ba5[_0x4464('0x6')]['unbindElementFromMarkerName'](_0x45c8e8,_0x1a064f['markerName']),_0x501ba5['writer']['remove'](_0x45c8e8));},{'priority':_0x4464('0xa')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8b=['schema','listType','selection','listItemId','setSelection','slice','enableCommand','execute','model','nextSibling','documentList','editor','getSelectedBlocks','isFirstBlockOfListItem','DocumentListUtils','*Merge:*\x20%0','has','length','getRanges','hasAttribute','getAttribute','expandListBlocksToCompleteList','value','format','*Indent:*\x20%0','registerDescriptionCallback','splitListItemAfter','indentList','change','registerCustomCallback','splitListItemBefore','containsItem','forceValue','*Format:*\x20remove\x20from\x20%0','commandParams','_LIST','detach','_descriptionFactory','*Change\x20to:*\x20%0','start','mergeListItemForward','map','push','*Outdent:*\x20%0','refresh','createPositionAt','TrackChangesEditing','plugins','before','bulletedList','nodeAfter','markMultiRangeBlockFormat','getFirstRange','document','end','ELEMENT_NUMBERED_LIST','*Format:*\x20insert\x20into\x20%0','outdentList','createRange','markBlockFormat','numberedList','commandName','from','ELEMENT_','_suggestionFactory','ELEMENT_LIST_ITEM','isObject','DocumentListEditing','get','locale','listIndent','afterInit','commands'];(function(_0x27372c,_0x1a8b03){const _0x45316c=function(_0xbce9a3){while(--_0xbce9a3){_0x27372c['push'](_0x27372c['shift']());}};_0x45316c(++_0x1a8b03);}(_0x1a8b,0x108));const _0x4531=function(_0x27372c,_0x1a8b03){_0x27372c=_0x27372c-0x0;let _0x45316c=_0x1a8b[_0x27372c];return _0x45316c;};import{Plugin as _0x1d4b35}from'ckeditor5/src/core';import{getTranslation as _0xc3bf1d}from'../utils/common-translations';import{LiveRange as _0x221ee1}from'ckeditor5/src/engine';export default class L extends _0x1d4b35{[_0x4531('0x1a')](){const _0x170e06=this[_0x4531('0x27')];if(!_0x170e06['plugins'][_0x4531('0x2c')](_0x4531('0x16')))return;const _0x386ee8=_0x170e06[_0x4531('0x18')],_0x33b8d7=_0x170e06[_0x4531('0x2')][_0x4531('0x17')](_0x4531('0x1')),_0x591511=_0x170e06[_0x4531('0x2')][_0x4531('0x17')](_0x4531('0x2a'));function _0x25d650(_0x188d49){return()=>{const _0x91f270=_0x170e06['commands'][_0x4531('0x17')](_0x188d49);let _0x3fb95d=Array['from'](_0x170e06[_0x4531('0x24')]['document']['selection'][_0x4531('0x28')]());if(_0x344835(_0x188d49)){_0x3fb95d=_0x591511[_0x4531('0x31')](_0x3fb95d);const _0x2d6764=[];for(const _0x32c7af of _0x3fb95d)_0x591511[_0x4531('0x29')](_0x32c7af)&&_0x2d6764[_0x4531('0x46')](_0x32c7af);_0x3fb95d=_0x2d6764;}_0x170e06[_0x4531('0x24')][_0x4531('0x38')](()=>{_0x33b8d7[_0x4531('0x6')](_0x3fb95d,{'commandName':_0x188d49,'commandParams':[{'forceValue':!_0x91f270[_0x4531('0x32')]}],'formatGroupId':_0x4531('0x1d')},[],_0x4531('0x26'));});};}function _0x4ec0d7(_0x496299){return()=>{const _0xd34649=function(_0x46c3cf){let _0x5a2aa8=Array['from'](_0x46c3cf);const _0x4b95f5=_0x5a2aa8['findIndex'](_0x30f0a1=>!_0x30f0a1[_0x4531('0x2f')](_0x4531('0x1f')));return _0x4b95f5>-0x1&&(_0x5a2aa8=_0x5a2aa8[_0x4531('0x21')](0x0,_0x4b95f5)),_0x5a2aa8;}(_0x170e06[_0x4531('0x24')]['document'][_0x4531('0x1e')]['getSelectedBlocks']()),_0x510830=_0xd34649[_0xd34649[_0x4531('0x2d')]-0x1],_0x1d7f53=_0x170e06[_0x4531('0x24')][_0x4531('0x1c')][_0x4531('0x15')](_0x510830)?'after':_0x4531('0x9'),_0x1e2835=_0x170e06[_0x4531('0x24')]['createRange'](_0x170e06[_0x4531('0x24')][_0x4531('0x0')](_0xd34649[0x0],_0x4531('0x3')),_0x170e06['model'][_0x4531('0x0')](_0x510830,_0x1d7f53));_0x170e06['model'][_0x4531('0x38')](()=>{_0x33b8d7[_0x4531('0xe')](_0x1e2835,{'commandName':_0x496299,'commandParams':[],'formatGroupId':_0x4531('0x1d')},function(_0x4aef2b){const _0x54d4cf=new Set();for(const _0x2d91e4 of _0x4aef2b){let _0x3cde9f=_0x2d91e4[_0x4531('0x25')];for(;_0x3cde9f&&_0x3cde9f[_0x4531('0x30')](_0x4531('0x19'))>_0x2d91e4[_0x4531('0x30')](_0x4531('0x19'));)_0x54d4cf['add'](_0x3cde9f),_0x3cde9f=_0x3cde9f['nextSibling'];}return Array[_0x4531('0x11')](_0x54d4cf);}(_0xd34649));});};}function _0x266de9(_0x5a3f6c){return()=>{const _0x126500=_0x170e06[_0x4531('0x24')][_0x4531('0x8')][_0x4531('0x1e')][_0x4531('0x28')]()['next']()[_0x4531('0x32')],_0x6f39f=_0x170e06[_0x4531('0x24')][_0x4531('0x0')](_0x126500,_0x4531('0x3')),_0x958288=_0x170e06[_0x4531('0x24')][_0x4531('0x0')](_0x126500,0x0),_0x100fa5=_0x170e06[_0x4531('0x24')]['createRange'](_0x6f39f,_0x958288);_0x170e06['model'][_0x4531('0x38')](()=>{_0x33b8d7[_0x4531('0xe')](_0x100fa5,{'commandName':_0x5a3f6c,'commandParams':[],'formatGroupId':_0x4531('0x1d')});});};}function _0x344835(_0x3393c6){const _0x4402c2=_0x170e06[_0x4531('0x1b')][_0x4531('0x17')](_0x4531('0x4'))[_0x4531('0x32')],_0x21e788=_0x170e06[_0x4531('0x1b')][_0x4531('0x17')](_0x4531('0xf'))[_0x4531('0x32')];return'numberedList'===_0x3393c6?_0x4402c2:_0x21e788;}_0x33b8d7['enableCommand']('numberedList',_0x25d650('numberedList')),_0x33b8d7[_0x4531('0x22')](_0x4531('0x4'),_0x25d650(_0x4531('0x4'))),_0x33b8d7[_0x4531('0x22')]('indentList',_0x4ec0d7(_0x4531('0x37'))),_0x33b8d7[_0x4531('0x22')](_0x4531('0xc'),_0x4ec0d7(_0x4531('0xc'))),_0x33b8d7[_0x4531('0x22')](_0x4531('0x36'),_0x266de9(_0x4531('0x36'))),_0x33b8d7[_0x4531('0x22')]('splitListItemBefore',_0x266de9(_0x4531('0x3a'))),_0x33b8d7[_0x4531('0x41')]['registerElementLabel'](function(_0x3c4574){const _0x1e1350=!_0x170e06['model'][_0x4531('0x1c')][_0x4531('0x15')](_0x3c4574),_0x206fd1=_0x3c4574['previousSibling'],_0x15d945=_0x3c4574[_0x4531('0x25')],_0x36a46e=_0x3c4574[_0x4531('0x30')](_0x4531('0x1f')),_0x5beabd=!_0x206fd1||_0x206fd1[_0x4531('0x30')](_0x4531('0x1f'))!==_0x36a46e,_0x1be5af=!_0x15d945||_0x15d945[_0x4531('0x30')](_0x4531('0x1f'))!==_0x36a46e;return _0x1e1350&&Boolean(_0x36a46e)&&_0x5beabd&&_0x1be5af;},_0x3be02c=>_0xc3bf1d(_0x386ee8,_0x4531('0x14'),_0x3be02c)),_0x33b8d7[_0x4531('0x41')][_0x4531('0x35')](function(_0x13d282){const {data:_0x336bb9}=_0x13d282;if(!_0x336bb9)return;let _0x3418d1,_0x4ce084,_0x32ad53,_0xfc2b87;switch(_0x336bb9[_0x4531('0x10')]){case'bulletedList':_0x32ad53=_0x336bb9[_0x4531('0x3e')][0x0][_0x4531('0x3c')],_0xfc2b87=_0x344835(_0x336bb9[_0x4531('0x10')]),_0x3418d1=_0x32ad53?_0x4531('0xb'):_0x4531('0x3d'),_0xfc2b87&&(_0x3418d1='*Change\x20to:*\x20%0'),_0x4ce084={'type':_0x4531('0x33'),'content':_0xc3bf1d(_0x386ee8,_0x3418d1,_0xc3bf1d(_0x386ee8,'ELEMENT_BULLETED_LIST'))};break;case _0x4531('0xf'):_0x32ad53=_0x336bb9[_0x4531('0x3e')][0x0][_0x4531('0x3c')],_0xfc2b87=_0x344835(_0x336bb9[_0x4531('0x10')]),_0x3418d1=_0x32ad53?'*Format:*\x20insert\x20into\x20%0':_0x4531('0x3d'),_0xfc2b87&&(_0x3418d1=_0x4531('0x42')),_0x4ce084={'type':'format','content':_0xc3bf1d(_0x386ee8,_0x3418d1,_0xc3bf1d(_0x386ee8,_0x4531('0xa')))};break;case'indentList':_0x3418d1=_0x4531('0x34'),_0x4ce084={'type':'format','content':_0xc3bf1d(_0x386ee8,_0x3418d1,_0xc3bf1d(_0x386ee8,_0x4531('0x14')))};break;case _0x4531('0xc'):_0x3418d1=function(_0x483237){const _0xf19e29=_0x483237[_0x4531('0x7')]();let _0x3cb021=_0xf19e29[_0x4531('0x43')]['nodeAfter'];for(;_0x3cb021&&_0xf19e29[_0x4531('0x3b')](_0x3cb021);){if(_0x3cb021['getAttribute'](_0x4531('0x19'))>0x0)return!0x1;_0x3cb021=_0x3cb021['nextSibling'];}return!0x0;}(_0x13d282)?_0xc3bf1d(_0x386ee8,'*Format:*\x20remove\x20from\x20%0',_0xc3bf1d(_0x386ee8,function(_0x3bae04){const _0x1fa814=_0x3bae04['getFirstRange']()['start'][_0x4531('0x5')];return _0x4531('0x12')+_0x1fa814[_0x4531('0x30')](_0x4531('0x1d'))['toUpperCase']()+_0x4531('0x3f');}(_0x13d282))):_0xc3bf1d(_0x386ee8,_0x4531('0x47'),_0xc3bf1d(_0x386ee8,_0x4531('0x14'))),_0x4ce084={'type':_0x4531('0x33'),'content':_0x3418d1};break;case'mergeListItemBackward':case _0x4531('0x44'):!0x1===_0x336bb9['multipleBlocks']&&(_0x3418d1=_0x4531('0x2b'),_0x4ce084={'type':'deletion','content':_0xc3bf1d(_0x386ee8,_0x3418d1,_0xc3bf1d(_0x386ee8,_0x4531('0x14')))});}return _0x4ce084;}),_0x33b8d7[_0x4531('0x13')][_0x4531('0x39')]('formatBlock',_0x4531('0x26'),'accept',function(_0x84759c,_0x1aa62c){const _0x39df92=[];for(let _0x58f6b7 of _0x84759c)_0x58f6b7[_0x4531('0x43')][_0x4531('0x5')]===_0x58f6b7[_0x4531('0x9')]['parent']&&(_0x58f6b7=_0x170e06['model'][_0x4531('0xd')](_0x170e06[_0x4531('0x24')][_0x4531('0x0')](_0x58f6b7['start'][_0x4531('0x5')],0x0))),_0x39df92[_0x4531('0x46')](_0x58f6b7);_0x170e06[_0x4531('0x24')]['change'](_0x4907de=>{const _0x565e9b=_0x170e06[_0x4531('0x24')]['document'][_0x4531('0x1e')],_0x506008=Array['from'](_0x565e9b[_0x4531('0x2e')]())[_0x4531('0x45')](_0x101a3c=>_0x221ee1['fromRange'](_0x101a3c));_0x4907de['setSelection'](_0x39df92),_0x170e06[_0x4531('0x1b')][_0x4531('0x17')](_0x1aa62c[_0x4531('0x10')])[_0x4531('0x48')](),_0x1aa62c[_0x4531('0x3e')][_0x4531('0x46')]({'forceDefaultExecution':!0x0}),_0x170e06[_0x4531('0x23')](_0x1aa62c[_0x4531('0x10')],..._0x1aa62c[_0x4531('0x3e')]),_0x4907de[_0x4531('0x20')](_0x506008);for(const _0x29d5e4 of _0x506008)_0x29d5e4[_0x4531('0x40')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42c4=['handleListReversedCommand','DocumentListUtils','from','getAttribute','document','replace','format','type','editor','bind','commandParams','DocumentListPropertiesUtils','listStart','_getTranslationKeyForListStyle','plugins','locale','markMultiRangeBlockFormat','isListItemBlock','get','listStyle','selection','_getSuggestionBlocksForListStyle','list.properties','model','*Change\x20to:*\x20%0','push','expandListBlocksToCompleteList','commandName','TrackChangesEditing','toUpperCase','DocumentListPropertiesEditing','change','_LIST_','enableCommand','handleListStartCommand','afterInit','has','getSelectedBlocks','numbered','getListTypeFromListStyleType','startIndex','_getSuggestionBlocks','handleListStyleCommand','reversed','listReversed','isFirstBlockOfListItem','*Format:*\x20set\x20order\x20to\x20reversed','handleDescriptions','filter','ELEMENT_','listType'];(function(_0x599ffc,_0x42c461){const _0x1ebbbd=function(_0x3bc49d){while(--_0x3bc49d){_0x599ffc['push'](_0x599ffc['shift']());}};_0x1ebbbd(++_0x42c461);}(_0x42c4,0x1dc));const _0x1ebb=function(_0x599ffc,_0x42c461){_0x599ffc=_0x599ffc-0x0;let _0x1ebbbd=_0x42c4[_0x599ffc];return _0x1ebbbd;};import{Plugin as _0x310715}from'ckeditor5/src/core';import{getTranslation as _0x3b228d}from'../utils/common-translations';export default class At extends _0x310715{[_0x1ebb('0x12')](){if(!this['editor']['plugins'][_0x1ebb('0x13')](_0x1ebb('0xd')))return;const _0x1d4243=this['editor']['config'][_0x1ebb('0x1')](_0x1ebb('0x5')),_0x507836=this['editor'][_0x1ebb('0x30')]['get'](_0x1ebb('0xb'));_0x1d4243['styles']&&_0x507836[_0x1ebb('0x10')](_0x1ebb('0x2'),this[_0x1ebb('0x19')][_0x1ebb('0x2b')](this)),_0x1d4243['reversed']&&_0x507836[_0x1ebb('0x10')](_0x1ebb('0x1b'),this[_0x1ebb('0x22')][_0x1ebb('0x2b')](this)),_0x1d4243[_0x1ebb('0x17')]&&_0x507836['enableCommand'](_0x1ebb('0x2e'),this[_0x1ebb('0x11')][_0x1ebb('0x2b')](this)),_0x507836['_descriptionFactory']['registerDescriptionCallback'](this[_0x1ebb('0x1e')][_0x1ebb('0x2b')](this));}['handleListStyleCommand'](_0x42c3b5,_0x342c11={}){const _0x57a79a=this['editor'][_0x1ebb('0x30')][_0x1ebb('0x1')](_0x1ebb('0xb')),_0x8cc52c=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x1ebb('0x6')][_0x1ebb('0xe')](()=>{_0x57a79a[_0x1ebb('0x32')](_0x8cc52c,{'commandName':_0x1ebb('0x2'),'commandParams':[{'type':_0x342c11[_0x1ebb('0x29')]}],'formatGroupId':_0x1ebb('0x2')});});}[_0x1ebb('0x22')](_0x420eda,_0x31f1ef={}){const _0x42886a=this['editor'][_0x1ebb('0x30')][_0x1ebb('0x1')](_0x1ebb('0xb')),_0x22752e=this[_0x1ebb('0x2a')][_0x1ebb('0x30')]['get'](_0x1ebb('0x23')),_0x240d04=this[_0x1ebb('0x18')](_0x3a2bc7=>_0x22752e[_0x1ebb('0x0')](_0x3a2bc7)&&'numbered'===_0x3a2bc7[_0x1ebb('0x25')](_0x1ebb('0x21')));null!==_0x240d04&&this['editor'][_0x1ebb('0x6')][_0x1ebb('0xe')](()=>{_0x42886a[_0x1ebb('0x32')](_0x240d04,{'commandName':_0x1ebb('0x1b'),'commandParams':[{'reversed':_0x31f1ef[_0x1ebb('0x1a')]}],'formatGroupId':'listReversed'});});}[_0x1ebb('0x11')](_0x45b0bd,_0x11e333={}){const _0x335b0d=this[_0x1ebb('0x2a')][_0x1ebb('0x30')][_0x1ebb('0x1')]('TrackChangesEditing'),_0x12d1fa=this[_0x1ebb('0x2a')][_0x1ebb('0x30')][_0x1ebb('0x1')]('DocumentListUtils'),_0x42eac0=this[_0x1ebb('0x18')](_0x121a8a=>_0x12d1fa[_0x1ebb('0x0')](_0x121a8a)&&_0x1ebb('0x15')===_0x121a8a['getAttribute'](_0x1ebb('0x21')));null!==_0x42eac0&&this[_0x1ebb('0x2a')]['model'][_0x1ebb('0xe')](()=>{_0x335b0d['markMultiRangeBlockFormat'](_0x42eac0,{'commandName':_0x1ebb('0x2e'),'commandParams':[{'startIndex':_0x11e333['startIndex']}],'formatGroupId':'listStart'});});}[_0x1ebb('0x1e')](_0x293fcf){const _0x175cd7=this[_0x1ebb('0x2a')][_0x1ebb('0x31')],{data:_0x449a10}=_0x293fcf;if(!_0x449a10)return;let _0x524532,_0x53b32e;switch(_0x449a10[_0x1ebb('0xa')]){case _0x1ebb('0x2'):_0x524532=_0x1ebb('0x7'),_0x53b32e={'type':_0x1ebb('0x28'),'content':_0x3b228d(_0x175cd7,_0x524532,_0x3b228d(_0x175cd7,this[_0x1ebb('0x2f')](_0x449a10[_0x1ebb('0x2c')][0x0]['type'])))};break;case _0x1ebb('0x1b'):_0x524532=_0x449a10[_0x1ebb('0x2c')][0x0][_0x1ebb('0x1a')]?_0x1ebb('0x1d'):'*Format:*\x20set\x20order\x20to\x20regular',_0x53b32e={'type':'format','content':_0x3b228d(_0x175cd7,_0x524532)};break;case _0x1ebb('0x2e'):_0x524532='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x53b32e={'type':'format','content':_0x3b228d(_0x175cd7,_0x524532,_0x449a10[_0x1ebb('0x2c')][0x0]['startIndex'])};}return _0x53b32e;}[_0x1ebb('0x4')](){const _0x3967c2=this[_0x1ebb('0x2a')][_0x1ebb('0x30')][_0x1ebb('0x1')](_0x1ebb('0x23'));let _0x5b7e38=Array[_0x1ebb('0x24')](this[_0x1ebb('0x2a')][_0x1ebb('0x6')]['document'][_0x1ebb('0x3')][_0x1ebb('0x14')]());return _0x5b7e38['push'](..._0x3967c2[_0x1ebb('0x9')](_0x5b7e38)),_0x5b7e38=[...new Set(_0x5b7e38)],_0x5b7e38;}[_0x1ebb('0x18')](_0xe5a21e){const _0x12bf9e=this[_0x1ebb('0x2a')][_0x1ebb('0x30')][_0x1ebb('0x1')](_0x1ebb('0x23'));let _0x4b416c=Array['from'](this['editor']['model'][_0x1ebb('0x26')][_0x1ebb('0x3')][_0x1ebb('0x14')]())[_0x1ebb('0x1f')](_0xe5a21e);if(!_0x4b416c['length'])return null;_0x4b416c=_0x12bf9e[_0x1ebb('0x9')](_0x4b416c);const _0x38bbae=[];for(const _0x35fee7 of _0x4b416c)_0x12bf9e[_0x1ebb('0x1c')](_0x35fee7)&&_0x38bbae[_0x1ebb('0x8')](_0x35fee7);return _0x38bbae;}[_0x1ebb('0x2f')](_0x2a4cca){return _0x1ebb('0x20')+this[_0x1ebb('0x2a')][_0x1ebb('0x30')][_0x1ebb('0x1')](_0x1ebb('0x2d'))[_0x1ebb('0x16')](_0x2a4cca)['toUpperCase']()+_0x1ebb('0xf')+_0x2a4cca[_0x1ebb('0xc')]()[_0x1ebb('0x27')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d01=['markerName','enterBlock','editing','mapper','editor','fire','enter','plugins','get','data','requires','nextSibling','fromRange','commands','hasClass','high','ck-suggestion-marker-split','markInsertion','split','end','enableCommand','document','unbindElementFromMarkerName','TrackChangesEditing','model','createRange','removeMarker:suggestion:insertion','detach','afterExecute','markerNameToElements','parent','downcastDispatcher'];(function(_0x100058,_0x3d01a2){const _0x39e7ab=function(_0x4c9b89){while(--_0x4c9b89){_0x100058['push'](_0x100058['shift']());}};_0x39e7ab(++_0x3d01a2);}(_0x3d01,0xa7));const _0x39e7=function(_0x100058,_0x3d01a2){_0x100058=_0x100058-0x0;let _0x39e7ab=_0x3d01[_0x100058];return _0x39e7ab;};import{Plugin as _0x4e7d62}from'ckeditor5/src/core';import{Enter as _0x470f42}from'ckeditor5/src/enter';import{LiveRange as _0x26af91}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x51df4a}from'./utils';export default class q extends _0x4e7d62{static get[_0x39e7('0x3')](){return[_0x470f42];}['init'](){const _0x227613=this[_0x39e7('0x1d')],_0x4aae6f=_0x227613[_0x39e7('0x0')][_0x39e7('0x1')](_0x39e7('0x10')),_0x11f32f=_0x227613[_0x39e7('0x6')][_0x39e7('0x1')](_0x39e7('0x1f'));_0x4aae6f[_0x39e7('0xd')](_0x39e7('0x1f'),()=>{_0x227613[_0x39e7('0x11')]['change'](_0x1d5040=>{const _0x4acb8=_0x227613['model'][_0x39e7('0xe')]['selection'],_0x149419=_0x4acb8['getFirstPosition'](),_0x52d17e=_0x26af91[_0x39e7('0x5')](_0x4acb8['getFirstRange']());if(_0x11f32f[_0x39e7('0x1a')](_0x1d5040)){const _0x2fa806=_0x227613[_0x39e7('0x11')]['createPositionAt'](_0x149419[_0x39e7('0x17')][_0x39e7('0x4')],0x0),_0x5e8517=_0x1d5040['createRange'](_0x149419,_0x2fa806);_0x4aae6f[_0x39e7('0xa')](_0x5e8517);}else _0x1d5040['setSelection'](_0x1d5040[_0x39e7('0x12')](_0x52d17e[_0x39e7('0xc')]));_0x52d17e[_0x39e7('0x14')](),_0x11f32f[_0x39e7('0x1e')](_0x39e7('0x15'),{'writer':_0x1d5040});});}),_0x227613[_0x39e7('0x1b')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x51df4a(_0x227613,_0x39e7('0xb')),{'priority':_0x39e7('0x8')}),_0x227613['editing'][_0x39e7('0x18')]['on'](_0x39e7('0x13'),(_0x5da032,_0x49e45d,_0x27a9cf)=>{const _0x3d3b06=_0x27a9cf[_0x39e7('0x1c')][_0x39e7('0x16')](_0x49e45d['markerName']);if(_0x3d3b06)for(const _0x26585a of _0x3d3b06)_0x26585a[_0x39e7('0x7')](_0x39e7('0x9'))&&(_0x27a9cf[_0x39e7('0x1c')][_0x39e7('0xf')](_0x26585a,_0x49e45d[_0x39e7('0x19')]),_0x27a9cf['writer']['remove'](_0x26585a));},{'priority':'high'}),_0x227613[_0x39e7('0x2')][_0x39e7('0x18')]['on']('addMarker:suggestion:insertion',(_0x556a2b,_0x57ddfb,_0x2d6e5c)=>{_0x2d6e5c['options']['showSuggestionHighlights']&&_0x51df4a(_0x227613,_0x39e7('0xb'),{'showActiveMarker':!0x1})['bind'](this)(_0x556a2b,_0x57ddfb,_0x2d6e5c);},{'priority':_0x39e7('0x8')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dc6=['markers','filter','model','replace','getRange','find','editor','enableCommand','findByTextCallback','end','get','_isInDeletionRange','FindAndReplaceEditing','plugins','getIntersection','item','afterInit','handleFindCommand','suggestion:deletion','findNext'];(function(_0x5a9beb,_0x3dc6d9){const _0x547024=function(_0x251e68){while(--_0x251e68){_0x5a9beb['push'](_0x5a9beb['shift']());}};_0x547024(++_0x3dc6d9);}(_0x3dc6,0x1e0));const _0x5470=function(_0x5a9beb,_0x3dc6d9){_0x5a9beb=_0x5a9beb-0x0;let _0x547024=_0x3dc6[_0x5a9beb];return _0x547024;};import{Plugin as _0x221bba}from'ckeditor5/src/core';export default class z extends _0x221bba{[_0x5470('0x10')](){if(!this[_0x5470('0x6')][_0x5470('0xd')]['has'](_0x5470('0xc')))return;const _0xbb3cb4=this['editor']['plugins'][_0x5470('0xa')]('TrackChangesEditing');_0xbb3cb4['enableCommand'](_0x5470('0x5'),this[_0x5470('0x11')]['bind'](this)),_0xbb3cb4['enableCommand'](_0x5470('0x13')),_0xbb3cb4['enableCommand']('findPrevious'),_0xbb3cb4[_0x5470('0x7')](_0x5470('0x3')),_0xbb3cb4[_0x5470('0x7')]('replaceAll');}[_0x5470('0x11')](_0x5cc99f,_0x804e18,_0x181969={}){const _0x3d78dd=this[_0x5470('0x6')][_0x5470('0xd')]['get']('FindAndReplaceUtils');void 0x0!==_0x181969&&_0x5cc99f(_0x5af7f1=>('string'==typeof _0x804e18?_0x3d78dd[_0x5470('0x8')](_0x804e18,_0x181969):_0x804e18)(_0x5af7f1)[_0x5470('0x1')](_0x2793f5=>!0x1===this[_0x5470('0xb')](_0x2793f5,_0x5af7f1[_0x5470('0xf')])),_0x181969);}[_0x5470('0xb')](_0x33e167,_0x51b484){const _0x5613b3=this['editor'][_0x5470('0x2')]['createRange'](this[_0x5470('0x6')][_0x5470('0x2')]['createPositionAt'](_0x51b484,_0x33e167['start']),this[_0x5470('0x6')][_0x5470('0x2')]['createPositionAt'](_0x51b484,_0x33e167[_0x5470('0x9')]));for(const _0x5c0629 of this[_0x5470('0x6')][_0x5470('0x2')][_0x5470('0x0')]['getMarkersGroup'](_0x5470('0x12')))if(null!==_0x5613b3[_0x5470('0xe')](_0x5c0629[_0x5470('0x4')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca5=['normalizeSizeOptions','commandParams','*Set\x20font\x20background\x20color:*\x20%0','editor','afterInit','toLowerCase','fontSize','*Set\x20font\x20color:*\x20%0','markInlineFormat','fontBackgroundColor','*Reset\x20font\x20color*','plugins','*Reset\x20font\x20background\x20color*','has','FontColorEditing','FontSizeEditing','commandName','selection','locale','model','fontColor','*Set\x20font\x20family:*\x20%0','registerDescriptionCallback','config','label','enableCommand','format','find','*Reset\x20font\x20family*','fontFamily','value','fontBackgroundColor.colors','fontColor.colors','FontSize','FontFamilyEditing','change','get','TrackChangesEditing','_enableCommand','*Set\x20font\x20size:*\x20%0','fontSize.options','getRanges'];(function(_0x399c2f,_0x3ca599){const _0x402c02=function(_0x23181d){while(--_0x23181d){_0x399c2f['push'](_0x399c2f['shift']());}};_0x402c02(++_0x3ca599);}(_0x3ca5,0x156));const _0x402c=function(_0x399c2f,_0x3ca599){_0x399c2f=_0x399c2f-0x0;let _0x402c02=_0x3ca5[_0x399c2f];return _0x402c02;};import{Plugin as _0x11f56b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x658ef5}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x45e374}from'./utils';import{getTranslation as _0x31288e}from'../utils/common-translations';const eo=[{'pluginName':_0x402c('0x9'),'commandName':'fontSize'},{'pluginName':_0x402c('0x1c'),'commandName':_0x402c('0x17')},{'pluginName':_0x402c('0x8'),'commandName':_0x402c('0xe')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x402c('0x3')}];export default class H extends _0x11f56b{[_0x402c('0x28')](){const _0x293567=this[_0x402c('0x27')][_0x402c('0xc')];for(const {pluginName:_0x173f28,commandName:_0x3f21f0}of eo)this[_0x402c('0x27')]['plugins'][_0x402c('0x7')](_0x173f28)&&this[_0x402c('0x20')](_0x3f21f0);this[_0x402c('0x27')][_0x402c('0x5')][_0x402c('0x1e')]('TrackChangesEditing')['_descriptionFactory'][_0x402c('0x10')](_0x317c9e=>{const _0x252357=_0x293567['t'],{data:_0x500a02}=_0x317c9e;if(null!=_0x500a02){if(_0x402c('0x0')==_0x500a02[_0x402c('0xa')]){const _0x104e43=_0x500a02['commandParams'][0x0]['value'];if(_0x104e43){const _0x5e3f9b=_0x252357(this[_0x402c('0x27')]['plugins']['get'](_0x402c('0x1b'))[_0x402c('0x24')](this[_0x402c('0x27')][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x22')))[_0x402c('0x15')](_0x3de750=>_0x3de750[_0x402c('0xd')]==_0x104e43)['title'])[_0x402c('0x29')]();return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x21'),_0x5e3f9b)};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,'*Reset\x20font\x20size*')};}if(_0x402c('0x17')==_0x500a02['commandName']){const _0x32821b=_0x500a02[_0x402c('0x25')][0x0]['value'];return _0x32821b?{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0xf'),_0x32821b)}:{'type':'format','content':_0x31288e(_0x293567,_0x402c('0x16'))};}if(_0x402c('0xe')==_0x500a02[_0x402c('0xa')]){const _0x4c8b38=_0x500a02[_0x402c('0x25')][0x0][_0x402c('0x18')];if(_0x4c8b38){const _0x59ea84=_0x658ef5(this['editor'][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x1a')))[_0x402c('0x15')](_0x5d443d=>_0x5d443d[_0x402c('0xd')]==_0x4c8b38);let _0x2f85fa=_0x4c8b38,_0x2354b9='';return _0x59ea84&&(_0x2f85fa=_0x59ea84['label'],_0x2354b9=_0x252357(_0x2f85fa)[_0x402c('0x29')]()),{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x1'),_0x2354b9)['trim'](),'color':{'value':_0x4c8b38,'title':_0x2354b9||_0x2f85fa}};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x4'))};}if(_0x402c('0x3')==_0x500a02[_0x402c('0xa')]){const _0x4310e2=_0x500a02[_0x402c('0x25')][0x0][_0x402c('0x18')];if(_0x4310e2){const _0x40b75f=_0x658ef5(this[_0x402c('0x27')][_0x402c('0x11')][_0x402c('0x1e')](_0x402c('0x19')))[_0x402c('0x15')](_0x1cba7d=>_0x1cba7d['model']==_0x4310e2);let _0x54187e=_0x4310e2,_0x56503c='';return _0x40b75f&&(_0x54187e=_0x40b75f[_0x402c('0x12')],_0x56503c=_0x252357(_0x54187e)[_0x402c('0x29')]()),{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x26'),_0x56503c)['trim'](),'color':{'value':_0x4310e2,'title':_0x56503c||_0x54187e}};}return{'type':_0x402c('0x14'),'content':_0x31288e(_0x293567,_0x402c('0x6'))};}}});}[_0x402c('0x20')](_0x5a6643){const _0x28c458=this[_0x402c('0x27')];_0x28c458['plugins']['get'](_0x402c('0x1f'))[_0x402c('0x13')](_0x5a6643,(_0x3ad93b,_0x251336={})=>{const _0xfc2175=_0x28c458[_0x402c('0xd')]['document'][_0x402c('0xb')],_0x1d529e=_0x251336[_0x402c('0x18')];_0xfc2175['isCollapsed']?_0x3ad93b(_0x251336):_0x28c458[_0x402c('0xd')][_0x402c('0x1d')](()=>{const _0x4a4b17=Array['from'](_0xfc2175[_0x402c('0x23')]());for(const _0x587051 of _0x4a4b17){const _0x36039f=_0x1d529e?[_0x587051]:_0x45e374(_0x5a6643,_0x587051,_0x28c458[_0x402c('0xd')]);for(const _0x5d8771 of _0x36039f)_0x28c458[_0x402c('0x5')][_0x402c('0x1e')]('TrackChangesEditing')[_0x402c('0x2')](_0x5d8771,{'commandName':_0x5a6643,'commandParams':[{'value':_0x1d529e}]});}});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25cc=['isBlock','locale','forward','charAt','fontColor','format','toLowerCase','config','document','createSelection','getAttributes','createRange','push','isFormatting','*Set\x20format\x20to:*\x20%0','pasteFormat','getFirstPosition','enableCommand','join','title','commands','copyFormat','getAttributeProperties','getItems','normalizeSizeOptions','get','modifySelection','find','toUpperCase','length','TrackChangesEditing','getRanges','schema','label','commandParams','fontBackgroundColor','getSelectedBlocks','fontSize.options','slice','change','word','_descriptionFactory','backward','plugins','getLastPosition','*Remove\x20all\x20formatting*','model','editor','split'];(function(_0x241b63,_0x25ccab){const _0x248ff9=function(_0x50c4bd){while(--_0x50c4bd){_0x241b63['push'](_0x241b63['shift']());}};_0x248ff9(++_0x25ccab);}(_0x25cc,0xfb));const _0x248f=function(_0x241b63,_0x25ccab){_0x241b63=_0x241b63-0x0;let _0x248ff9=_0x25cc[_0x241b63];return _0x248ff9;};import{Plugin as _0x222480}from'ckeditor5/src/core';import{normalizeColorOptions as _0x296fcc}from'ckeditor5/src/ui';import{first as _0x2bd38b}from'ckeditor5/src/utils';import{getTranslation as _0x3f71ff}from'../utils/common-translations';export default class W extends _0x222480{['afterInit'](){const _0x13dc07=this[_0x248f('0x29')],_0x3b5fd3=_0x13dc07[_0x248f('0x28')],_0x21ad75=_0x3b5fd3[_0x248f('0x2')]['selection'],_0x564c45=_0x13dc07[_0x248f('0x25')]['get'](_0x248f('0x18')),_0x398952=_0x13dc07[_0x248f('0x2c')],_0x3357ce=_0x13dc07[_0x248f('0xe')][_0x248f('0x13')](_0x248f('0xf')),_0x1e7c0b=_0x13dc07[_0x248f('0xe')][_0x248f('0x13')](_0x248f('0x9'));_0x3357ce&&_0x1e7c0b&&(_0x564c45[_0x248f('0xb')](_0x248f('0x9'),(_0x2dc473,_0x319bcd={})=>{const _0x1ef667=_0x319bcd;_0x3b5fd3[_0x248f('0x21')](()=>{const _0x23104e=Array['from'](_0x21ad75['getRanges']()),_0xd7f6f7=_0x21ad75['isCollapsed']?[co(_0x3b5fd3,_0x21ad75)]:_0x23104e,_0x1c00da=!!_0x2bd38b(function*(_0x3eb095,_0x5c69e7){const _0x1dd4f5=_0x94597d=>!!_0x2bd38b(function*(_0x1af6bd,_0x5c155c){for(const [_0x3aa906]of _0x1af6bd[_0x248f('0x4')]()){const _0x7ac6a4=_0x5c155c[_0x248f('0x10')](_0x3aa906);_0x7ac6a4&&_0x7ac6a4[_0x248f('0x7')]&&(yield _0x3aa906);}}(_0x94597d,_0x5c69e7));for(const _0x4517e4 of _0x3eb095[_0x248f('0x19')]())for(const _0x43223e of _0x4517e4[_0x248f('0x11')]())!_0x5c69e7[_0x248f('0x2b')](_0x43223e)&&_0x1dd4f5(_0x43223e)&&(yield _0x43223e);for(const _0x225403 of _0x3eb095[_0x248f('0x1e')]())_0x1dd4f5(_0x225403)&&(yield _0x225403);_0x1dd4f5(_0x3eb095)&&(yield _0x3eb095);}(_0x21ad75,_0x3b5fd3[_0x248f('0x1a')]));if(_0x1c00da||0x0!==Object['keys'](_0x1ef667)[_0x248f('0x17')])for(const _0x5ab27e of _0xd7f6f7)_0x564c45['markInlineFormat'](_0x5ab27e,{'commandName':_0x248f('0x9'),'commandParams':[_0x1ef667]});});}),_0x564c45[_0x248f('0x23')]['registerDescriptionCallback'](_0xbdaa6f=>{const {data:_0x398acf}=_0xbdaa6f;if(_0x398acf&&_0x248f('0x9')===_0x398acf['commandName']){const _0x2f2a48=[],_0x191d0a=_0x398acf[_0x248f('0x1c')][0x0];for(const [_0x5f494b,_0x4982be]of Object['entries'](_0x191d0a))_0x2f2a48[_0x248f('0x6')](io(_0x13dc07,_0x5f494b,_0x4982be));return _0x2f2a48[_0x248f('0x17')]?{'type':_0x248f('0x30'),'content':_0x3f71ff(_0x398952,_0x248f('0x8'),_0x2f2a48[_0x248f('0xc')](',\x20'))}:{'type':'format','content':_0x3f71ff(_0x398952,_0x248f('0x27'))};}}),_0x13dc07[_0x248f('0x25')]['get']('TrackChangesEditing')[_0x248f('0xb')](_0x248f('0xf')));}}function co(_0x1a2865,_0x2af08c){const _0x10b923=_0x1a2865[_0x248f('0x3')](_0x2af08c);_0x1a2865[_0x248f('0x14')](_0x10b923,{'unit':_0x248f('0x22'),'direction':_0x248f('0x24')});const _0x15c83c=_0x10b923[_0x248f('0xa')]();_0x1a2865['modifySelection'](_0x10b923,{'unit':_0x248f('0x22'),'direction':_0x248f('0x2d')});const _0x354170=_0x10b923[_0x248f('0x26')]();return _0x1a2865[_0x248f('0x5')](_0x15c83c,_0x354170);}function io(_0x170fc4,_0x2edb43,_0x13f9ac){const _0x1edf0b=_0x170fc4[_0x248f('0x2c')]['t'],_0x410c86=_0x2edb43[_0x248f('0x2a')](/(?=[A-Z])/)[_0x248f('0xc')]('\x20'),_0x181918=_0x1edf0b(_0x410c86[_0x248f('0x2e')](0x0)[_0x248f('0x16')]()+_0x410c86[_0x248f('0x20')](0x1))['toLowerCase']();if('boolean'==typeof _0x13f9ac)return _0x181918;if(_0x248f('0x2f')===_0x2edb43||_0x248f('0x1d')===_0x2edb43){const _0x1e17f0=_0x296fcc(_0x170fc4[_0x248f('0x1')]['get']('fontColor.colors'))[_0x248f('0x15')](_0x976b00=>_0x976b00[_0x248f('0x28')]==_0x13f9ac);return _0x181918+'\x20('+(_0x1e17f0?_0x1edf0b(_0x1e17f0[_0x248f('0x1b')])[_0x248f('0x0')]():_0x13f9ac)+')';}if('fontSize'===_0x2edb43&&isNaN(parseFloat(_0x13f9ac))){const _0x6e47bf=_0x170fc4[_0x248f('0x25')][_0x248f('0x13')]('FontSize')[_0x248f('0x12')](_0x170fc4['config']['get'](_0x248f('0x1f')))['find'](_0x84a261=>_0x84a261[_0x248f('0x28')]==_0x13f9ac);return _0x181918+'\x20('+(_0x6e47bf?_0x1edf0b(_0x6e47bf[_0x248f('0xd')])[_0x248f('0x0')]():_0x13f9ac)+')';}return _0x181918+'\x20('+_0x13f9ac+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47fd=['config','from','registerDescriptionCallback','commandName','locale','formatBlock','plugins','ELEMENT_HEADING_CUSTOM','find','*Change\x20to:*\x20%0','get','has','title','model','enableCommand','_descriptionFactory','format','heading','commandParams','parent','paragraph','checkChild','editor','afterInit','HeadingEditing','registerElementLabel','filter','value'];(function(_0x3a6d5e,_0x47fd9b){const _0x206f05=function(_0x1826f0){while(--_0x1826f0){_0x3a6d5e['push'](_0x3a6d5e['shift']());}};_0x206f05(++_0x47fd9b);}(_0x47fd,0x159));const _0x206f=function(_0x3a6d5e,_0x47fd9b){_0x3a6d5e=_0x3a6d5e-0x0;let _0x206f05=_0x47fd[_0x3a6d5e];return _0x206f05;};import{Plugin as _0x2cfd15}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3919e2}from'./utils';import{getTranslation as _0x3b665a}from'../utils/common-translations';export default class J extends _0x2cfd15{[_0x206f('0xe')](){const _0x5087fd=this[_0x206f('0xd')],_0x529e50=_0x5087fd[_0x206f('0x17')],_0x3473c4=_0x5087fd[_0x206f('0x13')][_0x206f('0x1')]('heading.options');if(!_0x5087fd['plugins'][_0x206f('0x2')](_0x206f('0xf')))return;const _0x3b900b=_0x5087fd[_0x206f('0x19')][_0x206f('0x1')]('TrackChangesEditing');_0x3b900b[_0x206f('0x5')](_0x206f('0x8'),(_0x32f5f5,_0x15d92d)=>{const _0x31b5c1=_0x15d92d['value'],_0x530f9f=Array[_0x206f('0x14')](this[_0x206f('0xd')][_0x206f('0x4')]['document']['selection']['getSelectedBlocks']())[_0x206f('0x11')](_0x297344=>function(_0x4d90e9,_0x4d0b18,_0x1994d3){return _0x1994d3[_0x206f('0xc')](_0x4d90e9[_0x206f('0xa')],_0x4d0b18)&&!_0x1994d3['isObject'](_0x4d90e9)&&_0x4d90e9['name']!=_0x4d0b18;}(_0x297344,_0x31b5c1,this[_0x206f('0xd')][_0x206f('0x4')]['schema']));_0x5087fd['model']['change'](()=>{for(const _0x3e97cc of _0x530f9f)_0x3b900b['markBlockFormat'](_0x3e97cc,{'commandName':_0x206f('0x8'),'commandParams':[_0x15d92d],'formatGroupId':'blockName'},_0x3919e2(_0x3e97cc));});});for(const _0x494b4f of _0x3473c4)_0x206f('0xb')!=_0x494b4f[_0x206f('0x4')]&&_0x3b900b[_0x206f('0x6')][_0x206f('0x10')](_0x494b4f[_0x206f('0x4')],_0x32d105=>{const _0xc19ceb=nn(_0x494b4f[_0x206f('0x4')]);return null!==_0xc19ceb?_0x224cd8(_0x32d105,_0xc19ceb):_0x4dbc82(_0x32d105,_0x494b4f[_0x206f('0x3')]);});function _0x224cd8(_0x4c4b2f,_0x538829){return _0x3b665a(_0x529e50,'ELEMENT_HEADING',[_0x4c4b2f,_0x538829]);}function _0x4dbc82(_0x572a43,_0x560de3){return _0x3b665a(_0x529e50,_0x206f('0x1a'),[_0x572a43,_0x560de3]);}_0x3b900b[_0x206f('0x6')][_0x206f('0x15')](_0x238a5d=>{const {type:_0x56b72b,data:_0x52e62e}=_0x238a5d;if(_0x206f('0x18')==_0x56b72b&&_0x52e62e&&_0x206f('0x8')==_0x52e62e[_0x206f('0x16')]){const _0x39f7ec=_0x52e62e[_0x206f('0x9')][0x0][_0x206f('0x12')],_0x116ab0=nn(_0x39f7ec);if(null!==_0x116ab0)return{'type':_0x206f('0x7'),'content':_0x3b665a(_0x529e50,_0x206f('0x0'),_0x224cd8(0x1,_0x116ab0))};const _0x5b785a=_0x3473c4[_0x206f('0x1b')](_0x106a6c=>_0x106a6c['model']===_0x39f7ec)[_0x206f('0x3')];return{'type':'format','content':_0x3b665a(_0x529e50,'*Change\x20to:*\x20%0',_0x4dbc82(0x1,_0x5b785a))};}});}}function nn(_0x2012d5){const _0x4ad7a1=_0x2012d5['match'](/^heading(\d+)$/);return _0x4ad7a1?_0x4ad7a1[0x1]:null;}
|