@ckeditor/ckeditor5-track-changes 41.0.0 → 41.1.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/ro.js +1 -1
- package/lang/translations/ro.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/casechange.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/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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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 _0x595b=['config','heading','has','_headingOptions','title','model','plugins','ELEMENT_HEADING','heading.options','commandName','editor','*Change\x20to:*\x20%0','TrackChangesEditing','_enableDefaultAttributesIntegration','ELEMENT_HEADING_CUSTOM','registerElementLabel','format','commandParams','type','afterInit','_registerLegacyDescription','_getHeadingLevel','locale','formatBlock','find','value','get'];(function(_0x57740a,_0x595b8f){const _0x4b30e0=function(_0x3eec43){while(--_0x3eec43){_0x57740a['push'](_0x57740a['shift']());}};_0x4b30e0(++_0x595b8f);}(_0x595b,0x1d3));const _0x4b30=function(_0x57740a,_0x595b8f){_0x57740a=_0x57740a-0x0;let _0x4b30e0=_0x595b[_0x57740a];return _0x4b30e0;};import{Plugin as _0x583501}from'ckeditor5/src/core.js';import{getTranslation as _0x5555ff}from'../utils/common-translations.js';export default class Y extends _0x583501{[_0x4b30('0xb')](){const _0x25f047=this[_0x4b30('0x2')];if(!_0x25f047['plugins'][_0x4b30('0x15')]('HeadingEditing'))return;this[_0x4b30('0x16')]=_0x25f047[_0x4b30('0x13')][_0x4b30('0x12')](_0x4b30('0x0'));const _0x2717ae=_0x25f047[_0x4b30('0xe')],_0x62ae31=_0x25f047[_0x4b30('0x19')]['get']('TrackChangesEditing');_0x62ae31[_0x4b30('0x5')](_0x4b30('0x14'));for(const _0x1e293d of this[_0x4b30('0x16')])'paragraph'!=_0x1e293d[_0x4b30('0x18')]&&_0x62ae31['_descriptionFactory'][_0x4b30('0x7')](_0x1e293d[_0x4b30('0x18')],_0x217c25=>{const _0x145d6e=this[_0x4b30('0xd')](_0x1e293d[_0x4b30('0x18')]);return null!==_0x145d6e?_0x344341(_0x217c25,_0x145d6e):_0x5694eb(_0x217c25,_0x1e293d[_0x4b30('0x17')]);});function _0x344341(_0x538b20,_0x5c4fe9){return _0x5555ff(_0x2717ae,_0x4b30('0x1a'),[_0x538b20,_0x5c4fe9]);}function _0x5694eb(_0x93e228,_0x38a895){return _0x5555ff(_0x2717ae,_0x4b30('0x6'),[_0x93e228,_0x38a895]);}this[_0x4b30('0xc')]();}[_0x4b30('0xc')](){const _0x592293=this[_0x4b30('0x2')],_0x5916f6=_0x592293['locale'];function _0x5ba550(_0x13572a,_0x5ee815){return _0x5555ff(_0x5916f6,_0x4b30('0x6'),[_0x13572a,_0x5ee815]);}_0x592293[_0x4b30('0x19')][_0x4b30('0x12')](_0x4b30('0x4'))['_descriptionFactory']['registerDescriptionCallback'](_0x2de3d1=>{if(_0x4b30('0xf')!=_0x2de3d1[_0x4b30('0xa')])return;const {data:_0x45f256}=_0x2de3d1;if(_0x45f256&&_0x4b30('0x14')==_0x45f256[_0x4b30('0x1')]){const _0x3634fc=_0x45f256[_0x4b30('0x9')][0x0][_0x4b30('0x11')],_0x135bb4=this[_0x4b30('0xd')](_0x3634fc);if(null!==_0x135bb4)return{'type':_0x4b30('0x8'),'content':_0x5555ff(_0x5916f6,_0x4b30('0x3'),(_0x4d2a2b=0x1,_0x573d2c=_0x135bb4,_0x5555ff(_0x5916f6,_0x4b30('0x1a'),[_0x4d2a2b,_0x573d2c])))};const _0x286b1e=this[_0x4b30('0x16')][_0x4b30('0x10')](_0x5f52af=>_0x5f52af[_0x4b30('0x18')]===_0x3634fc)[_0x4b30('0x17')];return{'type':'format','content':_0x5555ff(_0x5916f6,_0x4b30('0x3'),_0x5ba550(0x1,_0x286b1e))};}var _0x4d2a2b,_0x573d2c;});}['_getHeadingLevel'](_0x1606f7){var _0x553ffa,_0x2fd64a;const _0x44af23=_0x1606f7['match'](/^heading(\d+)/);if(_0x44af23)return _0x44af23[0x1];const _0x135be2=null===(_0x553ffa=this[_0x4b30('0x16')])||void 0x0===_0x553ffa?void 0x0:_0x553ffa['find'](_0x5af897=>_0x5af897['model']==_0x1606f7);if(_0x135be2&&_0x135be2['view']){const _0x398d19=_0x135be2['view'],_0x44192e=(null!==(_0x2fd64a=_0x398d19['name'])&&void 0x0!==_0x2fd64a?_0x2fd64a:_0x398d19)['match'](/^h(\d+)/);if(_0x44192e)return _0x44192e[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x548f=['commandName','has','color','config','locale','registerAttributeLabel','highlight.options','plugins','_descriptionFactory','_registerLegacyDescription','model','toLowerCase','FORMAT_HIGHLIGHT','title','editor','highlight','TrackChangesEditing','find'];(function(_0x19abab,_0x548f23){const _0x57aee9=function(_0x4a96d5){while(--_0x4a96d5){_0x19abab['push'](_0x19abab['shift']());}};_0x57aee9(++_0x548f23);}(_0x548f,0xcf));const _0x57ae=function(_0x19abab,_0x548f23){_0x19abab=_0x19abab-0x0;let _0x57aee9=_0x548f[_0x19abab];return _0x57aee9;};import{Plugin as _0x487f5f}from'ckeditor5/src/core.js';import{getTranslation as _0x354afe}from'../utils/common-translations.js';export default class Z extends _0x487f5f{['afterInit'](){const _0x3ea539=this[_0x57ae('0x5')];if(!_0x3ea539[_0x57ae('0x10')][_0x57ae('0xa')]('HighlightEditing'))return;const _0x5ae5ce=_0x3ea539[_0x57ae('0x10')]['get'](_0x57ae('0x7')),_0x49971c=_0x3ea539[_0x57ae('0xd')];_0x5ae5ce['_enableDefaultAttributesIntegration'](_0x57ae('0x6'),[_0x57ae('0x6')]),_0x5ae5ce[_0x57ae('0x11')][_0x57ae('0xe')](_0x57ae('0x6'),_0x354afe(_0x49971c,_0x57ae('0x3'))),this[_0x57ae('0x0')]();}[_0x57ae('0x0')](){const _0x3ea04f=this[_0x57ae('0x5')],_0x340a70=_0x3ea04f['locale'];_0x3ea04f[_0x57ae('0x10')]['get']('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0xba8c7a=>{if('formatInline'!=_0xba8c7a['type'])return;const {data:_0xc1565b}=_0xba8c7a;if(_0xc1565b&&_0x57ae('0x6')==_0xc1565b[_0x57ae('0x9')]){const _0x5902b6=_0x340a70['t'],_0x5b962f=_0xc1565b['commandParams'][0x0]['value'];if(_0x5b962f){const _0x28ff76=_0x3ea04f[_0x57ae('0xc')]['get'](_0x57ae('0xf'))[_0x57ae('0x8')](_0x5d074f=>_0x5d074f[_0x57ae('0x1')]==_0x5b962f),_0x5ad66a=_0x5902b6(_0x28ff76[_0x57ae('0x4')])[_0x57ae('0x2')]();return{'type':'format','content':_0x354afe(_0x340a70,'*Set\x20highlight:*\x20%0',_0x5ad66a),'color':{'value':_0x28ff76[_0x57ae('0xb')],'title':_0x28ff76['title']}};}return{'type':'format','content':_0x354afe(_0x340a70,'*Remove\x20highlight*',_0x354afe(_0x340a70,_0x57ae('0x3')))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbe0b=['createEmptyElement','registerElementLabel','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','high','insert','ck-horizontal-line','plugins','addClass','_descriptionFactory','editor','has','HorizontalLineEditing','horizontalLine','div','elementToStructure','showSuggestionHighlights','dataDowncast','for','get','conversion','locale'];(function(_0x75a6e6,_0xbe0b06){const _0x200930=function(_0x2260f1){while(--_0x2260f1){_0x75a6e6['push'](_0x75a6e6['shift']());}};_0x200930(++_0xbe0b06);}(_0xbe0b,0x82));const _0x2009=function(_0x75a6e6,_0xbe0b06){_0x75a6e6=_0x75a6e6-0x0;let _0x200930=_0xbe0b[_0x75a6e6];return _0x200930;};import{Plugin as _0x591cf0}from'ckeditor5/src/core.js';import{getTranslation as _0x2a09d4}from'../utils/common-translations.js';export default class tt extends _0x591cf0{['afterInit'](){const _0x47cb25=this[_0x2009('0xc')];if(!_0x47cb25[_0x2009('0x9')][_0x2009('0xd')](_0x2009('0xe')))return;_0x47cb25[_0x2009('0x9')][_0x2009('0x15')](_0x2009('0x5'))['enableCommand'](_0x2009('0xf'));const _0x4e1dd0=_0x47cb25['plugins'][_0x2009('0x15')](_0x2009('0x5')),_0x166fe7=_0x47cb25[_0x2009('0x1')];_0x4e1dd0[_0x2009('0xb')][_0x2009('0x3')]('horizontalLine',_0x3f6a7b=>_0x2a09d4(_0x166fe7,_0x2009('0x4'),_0x3f6a7b)),_0x47cb25[_0x2009('0x0')][_0x2009('0x14')](_0x2009('0x13'))[_0x2009('0x11')]({'model':_0x2009('0xf'),'view':(_0x4cd7ed,{writer:_0x5c1e89,options:_0x195162})=>{if(!_0x195162[_0x2009('0x12')])return null;const _0x5aad39=_0x5c1e89['createContainerElement'](_0x2009('0x10')),_0xa1903c=_0x5c1e89[_0x2009('0x2')]('hr');return _0x5c1e89[_0x2009('0xa')](_0x2009('0x8'),_0x5aad39),_0x5c1e89[_0x2009('0x7')](_0x5c1e89['createPositionAt'](_0x5aad39,0x0),_0xa1903c),_0x5aad39;},'converterPriority':_0x2009('0x6')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25b4=['get','element','plugins','editor','formatBlock','_descriptionFactory','*Change\x20%0\x20content*','rawHtml','value','key','_enableDefaultAttributesIntegration','attribute','afterInit','ELEMENT_HTML_EMBED','_registerLegacyDescription','htmlEmbed','format','TrackChangesEditing','type','has','registerDescriptionCallback','locale','HtmlEmbed'];(function(_0x1a7697,_0x25b42b){const _0x582003=function(_0x45c940){while(--_0x45c940){_0x1a7697['push'](_0x1a7697['shift']());}};_0x582003(++_0x25b42b);}(_0x25b4,0xd3));const _0x5820=function(_0x1a7697,_0x25b42b){_0x1a7697=_0x1a7697-0x0;let _0x582003=_0x25b4[_0x1a7697];return _0x582003;};import{Plugin as _0x5a4698}from'ckeditor5/src/core.js';import{getTranslation as _0x106398}from'../utils/common-translations.js';export default class et extends _0x5a4698{[_0x5820('0x8')](){const _0xf21ba=this[_0x5820('0x16')];if(!_0xf21ba[_0x5820('0x15')][_0x5820('0xf')](_0x5820('0x12')))return;const _0x4e8add=_0xf21ba[_0x5820('0x15')]['get'](_0x5820('0xd')),_0x2e751e=_0xf21ba[_0x5820('0x11')];_0x4e8add[_0x5820('0x1')]['registerElementLabel'](_0x5820('0x3'),_0x51283c=>_0x106398(_0x2e751e,_0x5820('0x9'),_0x51283c)),_0x4e8add[_0x5820('0x6')](_0x5820('0xb'),[],['value']),_0x4e8add['_descriptionFactory'][_0x5820('0x10')](_0x80885a=>{if(_0x5820('0x7')!=_0x80885a[_0x5820('0xe')])return;const {data:_0x557dcd}=_0x80885a;if(_0x557dcd&&_0x5820('0x4')==_0x557dcd[_0x5820('0x5')]&&_0x80885a['getFirstRange']()['start']['nodeAfter']['is'](_0x5820('0x14'),'rawHtml')){const _0x3d5fcf=_0x106398(_0x2e751e,_0x5820('0x9'));return{'type':_0x5820('0xc'),'content':_0x106398(_0x2e751e,_0x5820('0x2'),_0x3d5fcf)};}}),this[_0x5820('0xa')]();}[_0x5820('0xa')](){const _0x5670de=this['editor'],_0x23b4ba=_0x5670de[_0x5820('0x11')];_0x5670de[_0x5820('0x15')][_0x5820('0x13')](_0x5820('0xd'))[_0x5820('0x1')][_0x5820('0x10')](_0x3cac5a=>{if(_0x5820('0x0')!=_0x3cac5a[_0x5820('0xe')])return;const {data:_0x479a69}=_0x3cac5a;if(_0x479a69&&_0x5820('0xb')==_0x479a69['commandName']){const _0x3c9d43=_0x106398(_0x23b4ba,_0x5820('0x9'));return{'type':_0x5820('0xc'),'content':_0x106398(_0x23b4ba,_0x5820('0x2'),_0x3c9d43)};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2aa9=['Inline\x20image\x20to\x20block\x20image','*Reset\x20image\x20width*','end','getNearestSelectionRange','convertBlockImageToInline','join','imageTextAlternative','isIntersecting','_registerLegacyDescription','schema','_suggestionFactory','addObject','markInsertion','createRange','document','convertInlineImageToBlock','ImageEditing','imageTypeInline','change','editor','detach','ELEMENT_INLINE_IMAGE','afterInit','imageTypeBlock','commandParams','formatBlock','previous','isBlockImage','enableCommand','TrackChangesEditing','imageStylePreApply','model','resizedWidth','get','registerDescriptionCallback','ImageCaptionEditing','getFirstRange','*Set\x20image\x20text\x20alternative:*\x20%0','getClosestSelectedImageElement','insertImage','element','*Remove\x20image\x20text\x20alternative*','caption','ImageUtils','imageInline','locale','backward','discard','selection','isCollapsed','commandName','alt','markBlockFormat','start','resizeImage','nodeAfter','getSuggestionCallback','findIndex','chain','isEqual','fromPosition','ELEMENT_IMAGE','createRangeOn','_enableDefaultAttributesIntegration','ImageResize','plugins','deletion','*Set\x20image\x20width:*\x20%0','isOwn','toPrevious','isBefore','registerAttributeLabel','ImageTextAlternativeEditing','registerElementLabel','accept','ImageInlineEditing','nodeBefore','filter','_findSuggestions','has','length','FORMAT_IMAGE_SIZE','width','type','subType','forceDefaultExecution','imageCaption','formatInline','newValue','registerCustomCallback','getContainedElement','_descriptionFactory','insertion','format'];(function(_0x2d539d,_0x2aa9f2){const _0xa32b74=function(_0x1a7977){while(--_0x1a7977){_0x2d539d['push'](_0x2d539d['shift']());}};_0xa32b74(++_0x2aa9f2);}(_0x2aa9,0x122));const _0xa32b=function(_0x2d539d,_0x2aa9f2){_0x2d539d=_0x2d539d-0x0;let _0xa32b74=_0x2aa9[_0x2d539d];return _0xa32b74;};import{Plugin as _0x4634ca}from'ckeditor5/src/core.js';import{LivePosition as _0x467a13}from'ckeditor5/src/engine.js';import{getTranslation as _0x547086}from'../utils/common-translations.js';export default class it extends _0x4634ca{[_0xa32b('0xe')](){const _0x1f63f2=this['editor'];if(!_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x8')))return;const _0x192532=_0x1f63f2[_0xa32b('0x39')]['get']('TrackChangesEditing'),_0x4df73a=_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x19')](_0xa32b('0x23')),_0x3a1eae=_0x1f63f2[_0xa32b('0x25')];_0x192532[_0xa32b('0x14')](_0xa32b('0x1f')),_0x192532[_0xa32b('0x53')][_0xa32b('0x41')]('imageBlock',_0x2aa0d8=>_0x547086(_0x3a1eae,_0xa32b('0x35'),_0x2aa0d8)),_0x192532[_0xa32b('0x53')][_0xa32b('0x41')](_0xa32b('0x24'),_0xc97ad7=>_0x547086(_0x3a1eae,_0xa32b('0xd'),_0xc97ad7)),_0x192532[_0xa32b('0x53')]['registerElementLabel'](_0xa32b('0x22'),()=>_0x547086(_0x3a1eae,'ELEMENT_CAPTION')),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')]('ImageUploadEditing')&&_0x192532[_0xa32b('0x14')]('uploadImage'),_0x1f63f2[_0xa32b('0x39')]['has']('ImageBlockEditing')&&_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x43'))&&(_0x192532[_0xa32b('0x14')]('imageTypeInline',(_0x4c72ce,_0x595306)=>{const _0x1f0d32=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')]['document']['selection']);_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](()=>{_0x192532['markBlockFormat'](_0x1f0d32,{'commandName':'imageTypeInline','commandParams':[_0x595306]},[],_0xa32b('0x5a'));});}),_0x192532[_0xa32b('0x14')](_0xa32b('0xf'),(_0x1af318,_0x4c440a)=>{_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](_0x8d027f=>{let _0x4e157c=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')]['document'][_0xa32b('0x28')]),_0x2fe0b1=_0x8d027f[_0xa32b('0x36')](_0x4e157c);const _0x3d7d33=_0x467a13['fromPosition'](_0x2fe0b1['start'],_0xa32b('0x3d')),_0x23325d=_0x467a13[_0xa32b('0x34')](_0x2fe0b1[_0xa32b('0x58')],'toNext');_0x192532[_0xa32b('0x4d')](()=>_0x1af318(_0x4c440a)),_0x4e157c=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2['model'][_0xa32b('0x6')][_0xa32b('0x28')]),_0x2fe0b1=_0x8d027f[_0xa32b('0x36')](_0x4e157c);const _0x5c7b4b=_0x8d027f[_0xa32b('0x5')](_0x3d7d33,_0x23325d);_0x3d7d33[_0xa32b('0xc')](),_0x23325d['detach'](),_0x192532[_0xa32b('0x2c')](_0x4e157c,{'commandName':_0xa32b('0x9'),'commandParams':[_0x4c440a]},[],'convertInlineImageToBlock'),_0x5c7b4b[_0xa32b('0x2d')][_0xa32b('0x3e')](_0x2fe0b1[_0xa32b('0x2d')])&&_0x192532['markInsertion'](_0x8d027f['createRange'](_0x5c7b4b[_0xa32b('0x2d')],_0x2fe0b1[_0xa32b('0x2d')]),_0xa32b('0x7')),_0x2fe0b1[_0xa32b('0x58')][_0xa32b('0x3e')](_0x5c7b4b['end'])&&_0x192532[_0xa32b('0x4')](_0x8d027f['createRange'](_0x2fe0b1['end'],_0x5c7b4b['end']),_0xa32b('0x7'));});}),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x5b'),()=>!0x1),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x42'),()=>!0x1),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x11'),'convertInlineImageToBlock',_0xa32b('0x27'),_0x192532['_suggestionFactory']['getSuggestionCallback'](_0xa32b('0x11'),'','accept')),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x54'),'convertInlineImageToBlock','join',()=>!0x1),_0x192532['_suggestionFactory'][_0xa32b('0x51')]('insertion',_0xa32b('0x7'),_0xa32b('0x27'),([_0x5e6db3])=>{const _0x58e0ca=_0x192532[_0xa32b('0x2')][_0xa32b('0x30')]('insertion','','discard');let _0x334f9d=_0x5e6db3['start'],_0x9cec37=_0x5e6db3[_0xa32b('0x58')];const _0x51b78a=_0x1f63f2['model'][_0xa32b('0x1')]['getNearestSelectionRange'](_0x334f9d,_0xa32b('0x26')),_0x488087=_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x1')][_0xa32b('0x59')](_0x9cec37,'forward');_0x51b78a[_0xa32b('0x29')]&&(_0x334f9d=_0x51b78a['start']),_0x488087[_0xa32b('0x29')]&&(_0x9cec37=_0x488087[_0xa32b('0x58')]),_0x58e0ca([_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x5')](_0x334f9d,_0x9cec37)]);}),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x32'),_0x183f70),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x54'),_0xa32b('0x7'),_0xa32b('0x32'),_0x183f70)),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x1b'))&&(_0x192532[_0xa32b('0x14')]('toggleImageCaption',(_0x4a76a6,_0x2df82e)=>{const _0x5500fc=_0x1f63f2[_0xa32b('0x39')]['get']('ImageCaptionUtils');let _0x4b15ae=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x6')][_0xa32b('0x28')]),_0x2b964f=_0x5500fc['getCaptionFromImageModelElement'](_0x4b15ae);_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](()=>{if(_0x2b964f)return void _0x192532['markDeletion'](_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x36')](_0x2b964f));const _0x45650e=_0x4df73a[_0xa32b('0x13')](_0x4b15ae);_0x4a76a6(_0x2df82e),_0x4b15ae=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2['model']['document'][_0xa32b('0x28')]),_0x2b964f=_0x5500fc['getCaptionFromImageModelElement'](_0x4b15ae),_0x192532[_0xa32b('0x4')](_0x1f63f2['model']['createRangeOn'](_0x2b964f),_0x45650e?null:_0xa32b('0x4e'));});}),_0x192532[_0xa32b('0x2')]['registerCustomCallback']('insertion','imageCaption','chain',_0x183f70));const _0x2bfe45=[{'type':_0xa32b('0x11'),'subType':_0xa32b('0x16')},{'type':_0xa32b('0x54'),'subType':_0xa32b('0x4e')},{'type':_0xa32b('0x11'),'subType':_0xa32b('0x7')},{'type':_0xa32b('0x54'),'subType':_0xa32b('0x7')}];function _0x50dee7(_0x44fe9b,_0x3a7d8f){const _0xadad42=_0x2bfe45[_0xa32b('0x31')](({type:_0x478f11,subType:_0x883b23})=>_0x44fe9b['type']==_0x478f11&&_0x44fe9b[_0xa32b('0x4c')]==_0x883b23),_0x4b894b=_0x2bfe45['findIndex'](({type:_0x5c0a71,subType:_0x419b32})=>_0x3a7d8f['type']==_0x5c0a71&&_0x3a7d8f[_0xa32b('0x4c')]==_0x419b32);if(_0xadad42<0x0||_0x4b894b<0x0)return!0x1;const _0x25c463=_0x44fe9b[_0xa32b('0x1c')](),_0x2b6bc9=_0x3a7d8f[_0xa32b('0x1c')]();if((0x0==_0xadad42||0x1==_0xadad42)&&0x2==_0x4b894b&&_0x25c463[_0xa32b('0x5d')](_0x2b6bc9))return!0x0;if(0x2==_0xadad42&&0x3==_0x4b894b){const _0x5b8d52=_0x192532[_0xa32b('0x46')](_0x25c463,_0xa32b('0x54'))[_0xa32b('0x45')](({suggestion:_0x3e8e5d,meta:_0x31e541})=>_0x31e541[_0xa32b('0x3c')]&&_0xa32b('0x7')==_0x3e8e5d[_0xa32b('0x4c')]);if(_0x5b8d52[_0xa32b('0x48')]>0x1&&_0x2b6bc9[_0xa32b('0x58')][_0xa32b('0x33')](_0x25c463['start']))return!0x0;if(0x1==_0x5b8d52[_0xa32b('0x48')]&&(_0x25c463[_0xa32b('0x2d')][_0xa32b('0x33')](_0x2b6bc9[_0xa32b('0x58')])||_0x25c463[_0xa32b('0x58')][_0xa32b('0x33')](_0x2b6bc9[_0xa32b('0x2d')])))return!0x0;}if(0x3==_0xadad42&&0x3==_0x4b894b&&_0x25c463[_0xa32b('0x2d')]['isBefore'](_0x2b6bc9['start'])){const _0x23c93b=_0x25c463[_0xa32b('0x58')][_0xa32b('0x2f')],_0x2d2f49=_0x2b6bc9[_0xa32b('0x2d')][_0xa32b('0x44')];return _0x4df73a[_0xa32b('0x13')](_0x23c93b)&&_0x23c93b===_0x2d2f49;}return!0x1;}function _0x183f70(_0x311f2f,_0x51acd6){return _0x50dee7(_0x311f2f,_0x51acd6)?[_0x311f2f,_0x51acd6]:_0x50dee7(_0x51acd6,_0x311f2f)?[_0x51acd6,_0x311f2f]:null;}_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x38'))&&(_0x192532[_0xa32b('0x37')](_0xa32b('0x2e'),[],['resizedWidth']),_0x192532[_0xa32b('0x53')][_0xa32b('0x3f')](_0xa32b('0x18'),_0x547086(_0x3a1eae,_0xa32b('0x49')))),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x40'))&&_0x192532[_0xa32b('0x37')](_0xa32b('0x5c'),[],['alt']),_0x192532['_descriptionFactory']['registerDescriptionCallback'](_0x3c4e95=>{if(!!_0x2bfe45['find'](({type:_0x455d1b,subType:_0x3acc99})=>_0x3c4e95[_0xa32b('0x4b')]==_0x455d1b&&_0x3c4e95[_0xa32b('0x4c')]==_0x3acc99))return _0x3c4e95[_0xa32b('0x12')]?{}:void 0x0;}),_0x192532[_0xa32b('0x53')][_0xa32b('0x1a')](_0x1151b3=>{if(_0xa32b('0x54')==_0x1151b3[_0xa32b('0x4b')]||_0xa32b('0x3a')==_0x1151b3['type']){const _0x443b11=_0x1151b3[_0xa32b('0x52')]();if(_0x443b11&&_0x443b11['is'](_0xa32b('0x20'),'caption'))return{'type':'insertion'==_0x1151b3[_0xa32b('0x4b')]?_0xa32b('0x3'):'removeObject','element':_0x443b11,'quantity':0x1};}}),_0x192532[_0xa32b('0x53')][_0xa32b('0x1a')](_0x3b9073=>'formatBlock'==_0x3b9073[_0xa32b('0x4b')]&&'convertInlineImageToBlock'==_0x3b9073[_0xa32b('0x4c')]?{'type':_0xa32b('0x55'),'content':_0xa32b('0x56')}:'formatBlock'==_0x3b9073[_0xa32b('0x4b')]&&'convertBlockImageToInline'==_0x3b9073[_0xa32b('0x4c')]?{'type':_0xa32b('0x55'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x192532[_0xa32b('0x53')]['registerDescriptionCallback'](_0x4e9c47=>{if('attribute'!=_0x4e9c47[_0xa32b('0x4b')])return;const {data:_0x284b20}=_0x4e9c47;if(!_0x284b20||_0xa32b('0x2b')!=_0x284b20['key'])return;const _0xc7df45=_0x284b20['newValue'];return _0xc7df45?{'type':_0xa32b('0x55'),'content':_0x547086(_0x3a1eae,_0xa32b('0x1d'),'\x22'+_0xc7df45+'\x22')}:{'type':'format','content':_0x547086(_0x3a1eae,_0xa32b('0x21'))};}),this[_0xa32b('0x0')]();}['_registerLegacyDescription'](){const _0x533a1c=this[_0xa32b('0xb')],_0x298ec9=_0x533a1c[_0xa32b('0x25')];_0x533a1c['plugins']['get'](_0xa32b('0x15'))[_0xa32b('0x53')][_0xa32b('0x1a')](_0x4054ce=>{if(_0xa32b('0x11')!=_0x4054ce['type']&&_0xa32b('0x4f')!=_0x4054ce[_0xa32b('0x4b')])return;const {data:_0xc7f8fa}=_0x4054ce;if(_0xc7f8fa){if(_0xa32b('0x5c')==_0xc7f8fa[_0xa32b('0x2a')]){const _0x42cf68=_0xc7f8fa[_0xa32b('0x10')][0x0][_0xa32b('0x50')];return _0x42cf68?{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x42cf68+'\x22')}:{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,'*Remove\x20image\x20text\x20alternative*')};}if(_0xa32b('0x2e')==_0xc7f8fa[_0xa32b('0x2a')]){const _0x1a2ea6=_0xc7f8fa['commandParams'][0x0][_0xa32b('0x4a')];return _0x1a2ea6?{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,_0xa32b('0x3b'),_0x1a2ea6)}:{'type':'format','content':_0x547086(_0x298ec9,_0xa32b('0x57'))};}}});}}
|
|
23
|
+
const _0x2133=['*Reset\x20image\x20width*','forward','getNearestSelectionRange','toNext','ImageTextAlternativeEditing','newValue','commandParams','discard','nodeBefore','filter','chain','start','formatInline','detach','markBlockFormat','registerCustomCallback','TrackChangesEditing','imageTypeInline','ImageCaptionUtils','_findSuggestions','_suggestionFactory','plugins','ELEMENT_CAPTION','previous','createRangeOn','ImageUtils','element','locale','isEqual','change','insertion','ImageUploadEditing','Inline\x20image\x20to\x20block\x20image','schema','get','registerDescriptionCallback','convertBlockImageToInline','markInsertion','getContainedElement','find','_descriptionFactory','imageTextAlternative','length','join','isOwn','fromPosition','end','imageStylePreApply','ELEMENT_IMAGE','ImageEditing','model','isCollapsed','isBefore','caption','imageCaption','findIndex','subType','commandName','type','toggleImageCaption','ImageInlineEditing','imageTypeBlock','selection','getSuggestionCallback','document','*Set\x20image\x20width:*\x20%0','format','enableCommand','createRange','registerElementLabel','has','formatBlock','imageInline','*Remove\x20image\x20text\x20alternative*','addObject','deletion','toPrevious','uploadImage','insertImage','forceDefaultExecution','nodeAfter','accept','Block\x20image\x20to\x20inline\x20image','*Set\x20image\x20text\x20alternative:*\x20%0','markDeletion','afterInit','backward','_registerLegacyDescription','width','getFirstRange','isBlockImage','editor','convertInlineImageToBlock','resizedWidth','removeObject','key','getClosestSelectedImageElement','imageBlock','isIntersecting','_enableDefaultAttributesIntegration','resizeImage'];(function(_0x4e89ba,_0x2133c3){const _0x2c55a9=function(_0x39f6b6){while(--_0x39f6b6){_0x4e89ba['push'](_0x4e89ba['shift']());}};_0x2c55a9(++_0x2133c3);}(_0x2133,0x1ae));const _0x2c55=function(_0x4e89ba,_0x2133c3){_0x4e89ba=_0x4e89ba-0x0;let _0x2c55a9=_0x2133[_0x4e89ba];return _0x2c55a9;};import{Plugin as _0xf96540}from'ckeditor5/src/core.js';import{LivePosition as _0x4f8d00}from'ckeditor5/src/engine.js';import{getTranslation as _0x59a6bc}from'../utils/common-translations.js';export default class it extends _0xf96540{[_0x2c55('0x3b')](){const _0x33dd42=this[_0x2c55('0x41')];if(!_0x33dd42[_0x2c55('0x60')]['has'](_0x2c55('0x17')))return;const _0x20712b=_0x33dd42[_0x2c55('0x60')][_0x2c55('0x8')](_0x2c55('0x5b')),_0x17fae1=_0x33dd42['plugins'][_0x2c55('0x8')](_0x2c55('0x64')),_0x1b4588=_0x33dd42['locale'];_0x20712b[_0x2c55('0x29')](_0x2c55('0x34')),_0x20712b[_0x2c55('0xe')][_0x2c55('0x2b')](_0x2c55('0x47'),_0x406e53=>_0x59a6bc(_0x1b4588,_0x2c55('0x16'),_0x406e53)),_0x20712b['_descriptionFactory'][_0x2c55('0x2b')](_0x2c55('0x2e'),_0x2b0722=>_0x59a6bc(_0x1b4588,'ELEMENT_INLINE_IMAGE',_0x2b0722)),_0x20712b[_0x2c55('0xe')][_0x2c55('0x2b')]('caption',()=>_0x59a6bc(_0x1b4588,_0x2c55('0x61'))),_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')](_0x2c55('0x5'))&&_0x20712b[_0x2c55('0x29')](_0x2c55('0x33')),_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')]('ImageBlockEditing')&&_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')](_0x2c55('0x22'))&&(_0x20712b['enableCommand'](_0x2c55('0x5c'),(_0x236079,_0xd43dde)=>{const _0x5130d2=_0x17fae1['getClosestSelectedImageElement'](_0x33dd42['model']['document'][_0x2c55('0x24')]);_0x33dd42[_0x2c55('0x18')]['change'](()=>{_0x20712b[_0x2c55('0x59')](_0x5130d2,{'commandName':'imageTypeInline','commandParams':[_0xd43dde]},[],_0x2c55('0xa'));});}),_0x20712b[_0x2c55('0x29')](_0x2c55('0x23'),(_0x1d7b1b,_0x3a8620)=>{_0x33dd42['model'][_0x2c55('0x3')](_0x1e7e56=>{let _0x48f994=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')]['document'][_0x2c55('0x24')]),_0x3e59d7=_0x1e7e56[_0x2c55('0x63')](_0x48f994);const _0x359245=_0x4f8d00[_0x2c55('0x13')](_0x3e59d7[_0x2c55('0x56')],_0x2c55('0x32')),_0x91630f=_0x4f8d00['fromPosition'](_0x3e59d7['end'],_0x2c55('0x4e'));_0x20712b[_0x2c55('0x35')](()=>_0x1d7b1b(_0x3a8620)),_0x48f994=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')][_0x2c55('0x26')][_0x2c55('0x24')]),_0x3e59d7=_0x1e7e56['createRangeOn'](_0x48f994);const _0x11fd7e=_0x1e7e56[_0x2c55('0x2a')](_0x359245,_0x91630f);_0x359245['detach'](),_0x91630f[_0x2c55('0x58')](),_0x20712b[_0x2c55('0x59')](_0x48f994,{'commandName':'imageTypeInline','commandParams':[_0x3a8620]},[],_0x2c55('0x42')),_0x11fd7e[_0x2c55('0x56')][_0x2c55('0x1a')](_0x3e59d7['start'])&&_0x20712b['markInsertion'](_0x1e7e56[_0x2c55('0x2a')](_0x11fd7e['start'],_0x3e59d7[_0x2c55('0x56')]),'convertInlineImageToBlock'),_0x3e59d7[_0x2c55('0x14')][_0x2c55('0x1a')](_0x11fd7e[_0x2c55('0x14')])&&_0x20712b[_0x2c55('0xb')](_0x1e7e56['createRange'](_0x3e59d7[_0x2c55('0x14')],_0x11fd7e[_0x2c55('0x14')]),_0x2c55('0x42'));});}),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x2d'),_0x2c55('0x42'),_0x2c55('0x11'),()=>!0x1),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback'](_0x2c55('0x2d'),_0x2c55('0x42'),_0x2c55('0x37'),()=>!0x1),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback'](_0x2c55('0x2d'),'convertInlineImageToBlock','discard',_0x20712b[_0x2c55('0x5f')][_0x2c55('0x25')](_0x2c55('0x2d'),'',_0x2c55('0x37'))),_0x20712b['_suggestionFactory'][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),_0x2c55('0x11'),()=>!0x1),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),'discard',([_0x5e33ab])=>{const _0x431b7c=_0x20712b['_suggestionFactory'][_0x2c55('0x25')]('insertion','',_0x2c55('0x52'));let _0x478503=_0x5e33ab['start'],_0x156394=_0x5e33ab[_0x2c55('0x14')];const _0x106f70=_0x33dd42[_0x2c55('0x18')][_0x2c55('0x7')][_0x2c55('0x4d')](_0x478503,_0x2c55('0x3c')),_0x3609a0=_0x33dd42[_0x2c55('0x18')]['schema'][_0x2c55('0x4d')](_0x156394,_0x2c55('0x4c'));_0x106f70['isCollapsed']&&(_0x478503=_0x106f70[_0x2c55('0x56')]),_0x3609a0[_0x2c55('0x19')]&&(_0x156394=_0x3609a0[_0x2c55('0x14')]),_0x431b7c([_0x33dd42[_0x2c55('0x18')]['createRange'](_0x478503,_0x156394)]);}),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback']('formatBlock',_0x2c55('0x42'),_0x2c55('0x55'),_0x8f121d),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),_0x2c55('0x55'),_0x8f121d)),_0x33dd42['plugins'][_0x2c55('0x2c')]('ImageCaptionEditing')&&(_0x20712b[_0x2c55('0x29')](_0x2c55('0x21'),(_0x308cc1,_0x460e1e)=>{const _0x267a69=_0x33dd42[_0x2c55('0x60')][_0x2c55('0x8')](_0x2c55('0x5d'));let _0x6f12ae=_0x17fae1[_0x2c55('0x46')](_0x33dd42['model'][_0x2c55('0x26')][_0x2c55('0x24')]),_0x3f9cf2=_0x267a69['getCaptionFromImageModelElement'](_0x6f12ae);_0x33dd42[_0x2c55('0x18')][_0x2c55('0x3')](()=>{if(_0x3f9cf2)return void _0x20712b[_0x2c55('0x3a')](_0x33dd42['model'][_0x2c55('0x63')](_0x3f9cf2));const _0x43dca2=_0x17fae1[_0x2c55('0x40')](_0x6f12ae);_0x308cc1(_0x460e1e),_0x6f12ae=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')]['document'][_0x2c55('0x24')]),_0x3f9cf2=_0x267a69['getCaptionFromImageModelElement'](_0x6f12ae),_0x20712b[_0x2c55('0xb')](_0x33dd42['model'][_0x2c55('0x63')](_0x3f9cf2),_0x43dca2?null:'imageCaption');});}),_0x20712b['_suggestionFactory'][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x1c'),_0x2c55('0x55'),_0x8f121d));const _0x2b0b62=[{'type':_0x2c55('0x2d'),'subType':_0x2c55('0x15')},{'type':_0x2c55('0x4'),'subType':_0x2c55('0x1c')},{'type':_0x2c55('0x2d'),'subType':_0x2c55('0x42')},{'type':_0x2c55('0x4'),'subType':'convertInlineImageToBlock'}];function _0xac846c(_0x29eb48,_0x5aff1a){const _0x545068=_0x2b0b62['findIndex'](({type:_0x275f62,subType:_0x3ec08e})=>_0x29eb48[_0x2c55('0x20')]==_0x275f62&&_0x29eb48[_0x2c55('0x1e')]==_0x3ec08e),_0x1b9daa=_0x2b0b62[_0x2c55('0x1d')](({type:_0x56b627,subType:_0x4f6aaa})=>_0x5aff1a['type']==_0x56b627&&_0x5aff1a[_0x2c55('0x1e')]==_0x4f6aaa);if(_0x545068<0x0||_0x1b9daa<0x0)return!0x1;const _0x226e78=_0x29eb48['getFirstRange'](),_0x2ec6bc=_0x5aff1a[_0x2c55('0x3f')]();if((0x0==_0x545068||0x1==_0x545068)&&0x2==_0x1b9daa&&_0x226e78[_0x2c55('0x48')](_0x2ec6bc))return!0x0;if(0x2==_0x545068&&0x3==_0x1b9daa){const _0x1d0b85=_0x20712b[_0x2c55('0x5e')](_0x226e78,_0x2c55('0x4'))[_0x2c55('0x54')](({suggestion:_0x47bfa0,meta:_0x2f2ae0})=>_0x2f2ae0[_0x2c55('0x12')]&&_0x2c55('0x42')==_0x47bfa0[_0x2c55('0x1e')]);if(_0x1d0b85[_0x2c55('0x10')]>0x1&&_0x2ec6bc[_0x2c55('0x14')][_0x2c55('0x2')](_0x226e78[_0x2c55('0x56')]))return!0x0;if(0x1==_0x1d0b85[_0x2c55('0x10')]&&(_0x226e78['start']['isEqual'](_0x2ec6bc[_0x2c55('0x14')])||_0x226e78['end'][_0x2c55('0x2')](_0x2ec6bc[_0x2c55('0x56')])))return!0x0;}if(0x3==_0x545068&&0x3==_0x1b9daa&&_0x226e78[_0x2c55('0x56')]['isBefore'](_0x2ec6bc[_0x2c55('0x56')])){const _0x3e7625=_0x226e78[_0x2c55('0x14')][_0x2c55('0x36')],_0x2f786e=_0x2ec6bc['start'][_0x2c55('0x53')];return _0x17fae1['isBlockImage'](_0x3e7625)&&_0x3e7625===_0x2f786e;}return!0x1;}function _0x8f121d(_0x1a10e2,_0x1f94a7){return _0xac846c(_0x1a10e2,_0x1f94a7)?[_0x1a10e2,_0x1f94a7]:_0xac846c(_0x1f94a7,_0x1a10e2)?[_0x1f94a7,_0x1a10e2]:null;}_0x33dd42['plugins'][_0x2c55('0x2c')]('ImageResize')&&(_0x20712b[_0x2c55('0x49')]('resizeImage',[],[_0x2c55('0x43')]),_0x20712b['_descriptionFactory']['registerAttributeLabel'](_0x2c55('0x43'),_0x59a6bc(_0x1b4588,'FORMAT_IMAGE_SIZE'))),_0x33dd42['plugins']['has'](_0x2c55('0x4f'))&&_0x20712b['_enableDefaultAttributesIntegration'](_0x2c55('0xf'),[],['alt']),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x553d4b=>{if(!!_0x2b0b62[_0x2c55('0xd')](({type:_0x146cf6,subType:_0x50bcbf})=>_0x553d4b['type']==_0x146cf6&&_0x553d4b[_0x2c55('0x1e')]==_0x50bcbf))return _0x553d4b[_0x2c55('0x62')]?{}:void 0x0;}),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x322046=>{if(_0x2c55('0x4')==_0x322046['type']||_0x2c55('0x31')==_0x322046[_0x2c55('0x20')]){const _0x101fff=_0x322046[_0x2c55('0xc')]();if(_0x101fff&&_0x101fff['is'](_0x2c55('0x0'),_0x2c55('0x1b')))return{'type':_0x2c55('0x4')==_0x322046['type']?_0x2c55('0x30'):_0x2c55('0x44'),'element':_0x101fff,'quantity':0x1};}}),_0x20712b['_descriptionFactory'][_0x2c55('0x9')](_0x4246a8=>_0x2c55('0x2d')==_0x4246a8['type']&&_0x2c55('0x42')==_0x4246a8[_0x2c55('0x1e')]?{'type':_0x2c55('0x28'),'content':_0x2c55('0x6')}:_0x2c55('0x2d')==_0x4246a8[_0x2c55('0x20')]&&_0x2c55('0xa')==_0x4246a8[_0x2c55('0x1e')]?{'type':_0x2c55('0x28'),'content':_0x2c55('0x38')}:void 0x0),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x14a969=>{if('attribute'!=_0x14a969[_0x2c55('0x20')])return;const {data:_0x3ad7ee}=_0x14a969;if(!_0x3ad7ee||'alt'!=_0x3ad7ee[_0x2c55('0x45')])return;const _0x54fc9a=_0x3ad7ee[_0x2c55('0x50')];return _0x54fc9a?{'type':'format','content':_0x59a6bc(_0x1b4588,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x54fc9a+'\x22')}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x1b4588,_0x2c55('0x2f'))};}),this[_0x2c55('0x3d')]();}['_registerLegacyDescription'](){const _0x58fbd0=this[_0x2c55('0x41')],_0x246a7c=_0x58fbd0[_0x2c55('0x1')];_0x58fbd0['plugins'][_0x2c55('0x8')](_0x2c55('0x5b'))['_descriptionFactory']['registerDescriptionCallback'](_0x2b10b1=>{if(_0x2c55('0x2d')!=_0x2b10b1[_0x2c55('0x20')]&&_0x2c55('0x57')!=_0x2b10b1[_0x2c55('0x20')])return;const {data:_0x263f9d}=_0x2b10b1;if(_0x263f9d){if(_0x2c55('0xf')==_0x263f9d[_0x2c55('0x1f')]){const _0x589824=_0x263f9d[_0x2c55('0x51')][0x0]['newValue'];return _0x589824?{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x39'),'\x22'+_0x589824+'\x22')}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,'*Remove\x20image\x20text\x20alternative*')};}if(_0x2c55('0x4a')==_0x263f9d[_0x2c55('0x1f')]){const _0x25c5a2=_0x263f9d[_0x2c55('0x51')][0x0][_0x2c55('0x3e')];return _0x25c5a2?{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x27'),_0x25c5a2)}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x4b'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a20=['registerDescriptionCallback','key','formatBlock','formatInline','registerCustomCallback','*Replace\x20image\x20URL*','has','plugins','replaceImageSource','src','format','TrackChangesEditing','ImageEditing','getSuggestionCallback','accept','locale','editor','type','afterInit','attribute','_suggestionFactory','_handleLegacySuggestions','oldValue','get','_registerLegacyDescription','*Format:*\x20replace\x20image\x20URL','_descriptionFactory'];(function(_0x2d2c05,_0x1a209c){const _0x58076a=function(_0x8b1ddc){while(--_0x8b1ddc){_0x2d2c05['push'](_0x2d2c05['shift']());}};_0x58076a(++_0x1a209c);}(_0x1a20,0x121));const _0x5807=function(_0x2d2c05,_0x1a209c){_0x2d2c05=_0x2d2c05-0x0;let _0x58076a=_0x1a20[_0x2d2c05];return _0x58076a;};import{Plugin as _0x33555b}from'ckeditor5/src/core.js';import{getTranslation as _0x56b6cf}from'../utils/common-translations.js';export default class st extends _0x33555b{[_0x5807('0x1a')](){if(!this[_0x5807('0x18')]['plugins'][_0x5807('0xe')](_0x5807('0x14')))return;const _0x23e954=this['editor'][_0x5807('0x17')],_0x31cb78=this[_0x5807('0x18')][_0x5807('0xf')][_0x5807('0x4')](_0x5807('0x13'));_0x31cb78['_enableDefaultAttributesIntegration']('replaceImageSource',[],['src']),_0x31cb78[_0x5807('0x7')][_0x5807('0x8')](_0x466157=>{if(_0x5807('0x0')!=_0x466157['type'])return;const {data:_0x2573aa}=_0x466157;return _0x2573aa&&_0x5807('0x11')==_0x2573aa[_0x5807('0x9')]?_0x2573aa['newValue']&&_0x2573aa[_0x5807('0x3')]?{'type':_0x5807('0x12'),'content':_0x56b6cf(_0x23e954,_0x5807('0xd'))}:{'type':_0x5807('0x12'),'content':''}:void 0x0;}),this[_0x5807('0x2')]();}['_handleLegacySuggestions'](){const _0x4b650f=this['editor']['plugins'][_0x5807('0x4')](_0x5807('0x13'));_0x4b650f[_0x5807('0x1')][_0x5807('0xc')]('formatBlock',_0x5807('0x10'),_0x5807('0x16'),_0x4b650f[_0x5807('0x1')][_0x5807('0x15')](_0x5807('0xa'),null,'discard')),_0x4b650f[_0x5807('0x1')][_0x5807('0xc')](_0x5807('0xa'),_0x5807('0x10'),'discard',_0x4b650f[_0x5807('0x1')][_0x5807('0x15')](_0x5807('0xa'),null,_0x5807('0x16'))),this['_registerLegacyDescription']();}[_0x5807('0x5')](){const _0x306422=this[_0x5807('0x18')],_0x424467=_0x306422['locale'];_0x306422[_0x5807('0xf')][_0x5807('0x4')](_0x5807('0x13'))[_0x5807('0x7')][_0x5807('0x8')](_0x3c4580=>{if('formatBlock'!=_0x3c4580[_0x5807('0x19')]&&_0x5807('0xb')!=_0x3c4580['type'])return;const {data:_0x4d473b}=_0x3c4580;if(!_0x4d473b||'replaceImageSource'!=_0x4d473b['commandName'])return;return{'type':_0x5807('0x12'),'content':_0x56b6cf(_0x424467,_0x5807('0x6'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f89=['plugins','createRangeOn','formatBlock','side','start','commandReversedParams','imageTypeBlock','_splitMarkerName','markInlineFormat','imageStyle','model','getContainedElement','markBlockFormat','commands','normalizedStyles','isEqual','commandParams','has','refresh','toLowerCase','change','isInContent','selection','hasSuggestion','forEach','formatInline','newRange','name','commandName','join','ImageStyleEditing','setImageNaturalSizeAttributes','imageStylePreApply','accept','convertInlineImageToBlock','isOwn','next','document','isBefore','head','imageCaption','_findSuggestions','getChangedMarkers','title','ImageUtils','getSuggestionCallback','author','subType','Users','registerCustomCallback','editor','getClosestSelectedImageElement','type','get','_suggestionFactory','_descriptionFactory','nodeBefore','getFirstRange','length','enableCommand','value','isInlineImage','FORMAT_SIDE_IMAGE','imageStylePostApply','_registerLegacyDescription','filter','discardSuggestion','TrackChangesEditing','shouldConvertImageType','insertion','getSuggestion','format','chain','end','imageTypeInline','findIndex','isBlockImage'];(function(_0x1c7915,_0x3f8928){const _0x2e5785=function(_0x5beb49){while(--_0x5beb49){_0x1c7915['push'](_0x1c7915['shift']());}};_0x2e5785(++_0x3f8928);}(_0x3f89,0xdb));const _0x2e57=function(_0x1c7915,_0x3f8928){_0x1c7915=_0x1c7915-0x0;let _0x2e5785=_0x3f89[_0x1c7915];return _0x2e5785;};import{Plugin as _0x2a1bc2}from'ckeditor5/src/core.js';import{uid as _0x136e8b}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f3a62}from'../utils/common-translations.js';export default class nt extends _0x2a1bc2{['afterInit'](){const _0x2ada09=this['editor'];if(!_0x2ada09[_0x2e57('0xc')][_0x2e57('0x1d')](_0x2e57('0x2a')))return;const _0x388a6b=_0x2ada09['plugins'][_0x2e57('0x41')]('TrackChangesEditing'),_0x3067cc=_0x2ada09[_0x2e57('0xc')][_0x2e57('0x41')](_0x2e57('0x38')),_0x5a0d60={};_0x388a6b[_0x2e57('0x47')](_0x2e57('0x15'),(_0x575670,_0xa0c9b3)=>{const _0x120e9b=_0x2ada09[_0x2e57('0xc')]['get'](_0x2e57('0x3c'))['me'],_0x5009b7=_0x2ada09[_0x2e57('0x19')][_0x2e57('0x41')](_0x2e57('0x15'));let _0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09[_0x2e57('0x16')]['document'][_0x2e57('0x22')]),_0x5e7729=_0x2ada09[_0x2e57('0x16')][_0x2e57('0xd')](_0x2a0921),_0x3527d4=_0x5009b7[_0x2e57('0x48')];if(_0x3527d4==_0xa0c9b3['value'])return;const _0x5f26dc={'commandName':_0x2e57('0x15'),'commandParams':[_0xa0c9b3],'formatGroupId':_0x136e8b()};_0x2ada09[_0x2e57('0x16')][_0x2e57('0x20')](()=>{if(_0x388a6b['getSuggestions']()[_0x2e57('0x0')](_0x2cf16=>_0x2cf16[_0x2e57('0x21')]&&_0x120e9b==_0x2cf16[_0x2e57('0x3a')]&&(_0x2e57('0xe')==_0x2cf16[_0x2e57('0x40')]||_0x2e57('0x25')==_0x2cf16['type'])&&(_0x2e57('0x2c')==_0x2cf16[_0x2e57('0x3b')]||'imageStylePostApply'==_0x2cf16[_0x2e57('0x3b')])&&_0x2cf16[_0x2e57('0x45')]()['isEqual'](_0x5e7729))[_0x2e57('0x24')](_0x56543a=>_0x388a6b[_0x2e57('0x1')](_0x56543a[_0x2e57('0x33')])),_0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09['model'][_0x2e57('0x31')][_0x2e57('0x22')]),_0x5e7729=_0x2ada09['model']['createRangeOn'](_0x2a0921),_0x5009b7[_0x2e57('0x1e')](),_0x2ada09['commands'][_0x2e57('0x41')](_0x2e57('0x9'))[_0x2e57('0x1e')](),_0x2ada09[_0x2e57('0x19')][_0x2e57('0x41')](_0x2e57('0x12'))[_0x2e57('0x1e')](),_0x3527d4=_0x5009b7[_0x2e57('0x48')],_0x3527d4!=_0xa0c9b3[_0x2e57('0x48')])return _0x3067cc[_0x2e57('0x49')](_0x2a0921)&&_0x5009b7[_0x2e57('0x3')](_0xa0c9b3[_0x2e57('0x48')],_0x2a0921)?(_0x575670({..._0xa0c9b3,'setImageSizes':!0x1}),_0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09[_0x2e57('0x16')]['document']['selection']),void _0x388a6b[_0x2e57('0x18')](_0x2a0921,{..._0x5f26dc,'commandReversedParams':[{'value':_0x3527d4||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x3067cc[_0x2e57('0xb')](_0x2a0921)?_0x388a6b[_0x2e57('0x18')](_0x2a0921,_0x5f26dc,[],_0x2e57('0x4b')):_0x388a6b[_0x2e57('0x14')](_0x5e7729,_0x5f26dc,_0x2e57('0x4b')));});});for(const _0x33e424 of _0x2ada09['plugins'][_0x2e57('0x41')](_0x2e57('0x2a'))[_0x2e57('0x1a')])_0x5a0d60[_0x33e424[_0x2e57('0x27')]]=_0x33e424[_0x2e57('0x37')][_0x2e57('0x1f')]();_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0xe'),_0x2e57('0x2c'),'join',()=>!0x1),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')]('formatBlock',_0x2e57('0x4b'),_0x2e57('0x29'),()=>!0x1),_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0x25'),_0x2e57('0x4b'),_0x2e57('0x29'),()=>!0x1),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')](_0x2e57('0xe'),'imageStylePreApply',_0x2e57('0x2d'),([_0x4bde33])=>{_0x3067cc[_0x2e57('0x2b')](_0x4bde33[_0x2e57('0x17')]());}),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')]('formatBlock',_0x2e57('0x2c'),'discard',(_0x38cefa,_0x39e391)=>{_0x388a6b['_suggestionFactory'][_0x2e57('0x39')](_0x2e57('0xe'),'','accept')(_0x38cefa,{'commandName':_0x39e391[_0x2e57('0x28')],'commandParams':_0x39e391[_0x2e57('0x11')]});}),_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0xe'),_0x2e57('0x2c'),_0x2e57('0x7'),function(_0x3455df,_0x871844){if(_0x56f370(_0x3455df,_0x871844))return[_0x3455df,_0x871844];if(_0x56f370(_0x871844,_0x3455df))return[_0x871844,_0x3455df];return null;});const _0x5ce519=[{'type':_0x2e57('0xe'),'subType':_0x2e57('0x2c')},{'type':_0x2e57('0x4'),'subType':_0x2e57('0x34')},{'type':_0x2e57('0xe'),'subType':'convertInlineImageToBlock'},{'type':_0x2e57('0x4'),'subType':'convertInlineImageToBlock'}];function _0x56f370(_0x5698e8,_0x3e94a5){const _0x51e49c=_0x5ce519[_0x2e57('0xa')](({type:_0x1d7def,subType:_0x28f620})=>_0x5698e8[_0x2e57('0x40')]==_0x1d7def&&_0x5698e8[_0x2e57('0x3b')]==_0x28f620),_0x46a14f=_0x5ce519['findIndex'](({type:_0x3eb2fe,subType:_0x58f1ba})=>_0x3e94a5[_0x2e57('0x40')]==_0x3eb2fe&&_0x3e94a5[_0x2e57('0x3b')]==_0x58f1ba);if(_0x51e49c<0x0||_0x46a14f<0x0)return!0x1;const _0x162aa1=_0x5698e8[_0x2e57('0x45')](),_0x566ec1=_0x3e94a5[_0x2e57('0x45')]();if((0x0==_0x51e49c||0x1==_0x51e49c)&&0x2==_0x46a14f&&_0x162aa1['isIntersecting'](_0x566ec1))return!0x0;if(0x2==_0x51e49c&&0x3==_0x46a14f){const _0x21e49c=_0x388a6b[_0x2e57('0x35')](_0x162aa1,_0x2e57('0x4'))[_0x2e57('0x0')](({suggestion:_0x318432,meta:_0x26d6dd})=>_0x26d6dd[_0x2e57('0x2f')]&&_0x2e57('0x2e')==_0x318432[_0x2e57('0x3b')]);if(_0x21e49c[_0x2e57('0x46')]>0x1&&_0x566ec1['end'][_0x2e57('0x1b')](_0x162aa1[_0x2e57('0x10')]))return!0x0;if(0x1==_0x21e49c[_0x2e57('0x46')]&&(_0x162aa1[_0x2e57('0x10')][_0x2e57('0x1b')](_0x566ec1[_0x2e57('0x8')])||_0x162aa1['end'][_0x2e57('0x1b')](_0x566ec1[_0x2e57('0x10')])))return!0x0;}if(0x3==_0x51e49c&&0x3==_0x46a14f&&_0x162aa1[_0x2e57('0x10')][_0x2e57('0x32')](_0x566ec1[_0x2e57('0x10')])){const _0x2c94cf=_0x162aa1[_0x2e57('0x8')]['nodeAfter'],_0x35b8c8=_0x566ec1[_0x2e57('0x10')][_0x2e57('0x44')];return _0x3067cc['isBlockImage'](_0x2c94cf)&&_0x2c94cf===_0x35b8c8;}return!0x1;}_0x2ada09[_0x2e57('0x16')][_0x2e57('0x31')]['registerPostFixer'](()=>{let _0x4a3314=!0x1;const _0x56c521=Array['from'](_0x2ada09['model']['document']['differ'][_0x2e57('0x36')]());for(const {name:_0x5abfa1,data:_0x2fe67e}of _0x56c521){const {group:_0x473ad5,type:_0x581460,subType:_0x553cc7,id:_0x6ab664}=_0x388a6b[_0x2e57('0x13')](_0x5abfa1);if('suggestion'==_0x473ad5&&_0x388a6b[_0x2e57('0x23')](_0x6ab664)){if(_0x2e57('0xe')==_0x581460&&(_0x2e57('0x2c')==_0x553cc7||_0x2e57('0x4b')==_0x553cc7)){const _0x53f6b0=_0x388a6b[_0x2e57('0x5')](_0x6ab664);if(_0x2fe67e[_0x2e57('0x26')]){const _0x3b61c8=_0x53f6b0[_0x2e57('0x45')]()[_0x2e57('0x17')]();if(_0x3067cc[_0x2e57('0xb')](_0x3b61c8))continue;_0x388a6b[_0x2e57('0x1')](_0x53f6b0),_0x4a3314=!0x0;}}if('insertion'==_0x581460&&_0x2e57('0x34')==_0x553cc7&&!_0x2fe67e['newRange']){const _0x171a51=_0x388a6b[_0x2e57('0x5')](_0x6ab664);_0x171a51[_0x2e57('0x30')]&&_0x171a51[_0x2e57('0x30')][_0x2e57('0x21')]&&(_0x388a6b[_0x2e57('0x1')](_0x171a51[_0x2e57('0x30')]),_0x4a3314=!0x0);}}}return _0x4a3314;}),this[_0x2e57('0x4c')](_0x5a0d60);}[_0x2e57('0x4c')](_0x4c8a38){const _0x4fc7cd=this[_0x2e57('0x3e')],_0x49fc74=_0x4fc7cd['locale'];_0x4fc7cd[_0x2e57('0xc')]['get'](_0x2e57('0x2'))[_0x2e57('0x43')]['registerDescriptionCallback'](_0x31a879=>{if(_0x2e57('0xe')!=_0x31a879[_0x2e57('0x40')]&&'formatInline'!=_0x31a879['type'])return;const {data:_0x777c32}=_0x31a879;if(!_0x777c32||_0x2e57('0x15')!=_0x777c32['commandName'])return;const _0x1ec4fa=_0x777c32[_0x2e57('0x1c')][0x0][_0x2e57('0x48')];return _0x3c4137(_0x2e57('0xf')===_0x1ec4fa?_0x5f3a62(_0x49fc74,_0x2e57('0x4a')):_0x4c8a38[_0x1ec4fa]||_0x1ec4fa);function _0x3c4137(_0xf2bb5d){return{'type':_0x2e57('0x6'),'content':_0x5f3a62(_0x49fc74,'*Format:*\x20%0',_0xf2bb5d)};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dad=['bind','high','get','TrackChangesEditing','importWord','_trackChangesValueDuringImport','commands','execute','plugins','listenTo','Users','dataInsert','enableCommand','trackChanges','_handleImportedData','editor','_trackChangesExecuted','lowest','track_changes','value'];(function(_0x29b1c2,_0x4dad14){const _0x59fbde=function(_0x5c3360){while(--_0x5c3360){_0x29b1c2['push'](_0x29b1c2['shift']());}};_0x59fbde(++_0x4dad14);}(_0x4dad,0x113));const _0x59fb=function(_0x29b1c2,_0x4dad14){_0x29b1c2=_0x29b1c2-0x0;let _0x59fbde=_0x4dad[_0x29b1c2];return _0x59fbde;};import{Plugin as _0x220cb1}from'ckeditor5/src/core.js';export default class ot extends _0x220cb1{constructor(_0x2b4071){super(_0x2b4071),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0xaf3af1=this[_0x59fb('0x0')],_0x24d5e8=_0xaf3af1[_0x59fb('0xb')][_0x59fb('0x7')](_0x59fb('0x9')),_0x1aa998=_0xaf3af1['commands'][_0x59fb('0x7')](_0x59fb('0x12'));_0x24d5e8&&(_0x24d5e8['on'](_0x59fb('0xc'),(_0x54e644,[,_0x581ecf])=>{this['_trackChangesValueDuringImport']=_0x1aa998[_0x59fb('0x4')],_0x581ecf['collaboration_features'][_0x59fb('0x3')]=!this[_0x59fb('0xa')];},{'priority':_0x59fb('0x6')}),this[_0x59fb('0xe')](_0x24d5e8,_0x59fb('0x10'),this[_0x59fb('0x13')][_0x59fb('0x5')](this)),this['listenTo'](_0x24d5e8,_0x59fb('0x10'),()=>{this[_0x59fb('0x1')]&&(_0x1aa998[_0x59fb('0xc')](),this[_0x59fb('0x1')]=!0x1);},{'priority':_0x59fb('0x2')}),_0xaf3af1[_0x59fb('0xd')]['get'](_0x59fb('0x8'))[_0x59fb('0x11')](_0x59fb('0x9')));}[_0x59fb('0x13')](_0x17af2b,_0x3d1d46){const {suggestions:_0x3849f6}=_0x3d1d46,_0x1e5c03=this[_0x59fb('0x0')][_0x59fb('0xb')]['get'](_0x59fb('0x12')),_0x224703=_0x1e5c03[_0x59fb('0x4')];this[_0x59fb('0xa')]!==_0x224703&&(_0x1e5c03[_0x59fb('0xc')](),this['_trackChangesExecuted']=!0x0),_0x3849f6&&_0x3849f6['forEach'](({id:_0x59a539,type:_0x8eae40,author:_0x3afffc,created_at:_0x3b3e8c})=>{const _0x2f22a5={'id':_0x59a539,'type':_0x8eae40,'authorId':this['editor'][_0x59fb('0xd')][_0x59fb('0x7')](_0x59fb('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3afffc,'createdAt':_0x3b3e8c?new Date(_0x3b3e8c):new Date(),'source':_0x59fb('0x9')}}};this[_0x59fb('0x0')][_0x59fb('0xd')][_0x59fb('0x7')](_0x59fb('0x8'))['_setSuggestionData'](_0x2f22a5);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e74=['_enableDefaultAttributesIntegration','_descriptionFactory','blockIndent','*Outdent:*\x20%0','editor','IndentEditing','format','TrackChangesEditing','commandName','formatBlock','IndentBlock','_registerBlockAttribute','plugins','indent','get','registerDescriptionCallback','*Indent:*\x20%0','_registerLegacyDescription','locale','outdent','outdentBlock','indentBlock','afterInit','registerAttributeLabel','FORMAT_INDENT','enableCommand','has'];(function(_0x7c81d8,_0x1e74f7){const _0x579614=function(_0x265de0){while(--_0x265de0){_0x7c81d8['push'](_0x7c81d8['shift']());}};_0x579614(++_0x1e74f7);}(_0x1e74,0x84));const _0x5796=function(_0x7c81d8,_0x1e74f7){_0x7c81d8=_0x7c81d8-0x0;let _0x579614=_0x1e74[_0x7c81d8];return _0x579614;};import{Plugin as _0x20c660}from'ckeditor5/src/core.js';import{getTranslation as _0x4ad8f8}from'../utils/common-translations.js';export default class rt extends _0x20c660{[_0x5796('0x19')](){const _0x5301e5=this[_0x5796('0x7')],_0x2f4cd3=_0x5301e5['plugins'][_0x5796('0x11')](_0x5796('0xa'));if(_0x5301e5[_0x5796('0xf')]['has'](_0x5796('0x8'))&&(_0x2f4cd3[_0x5796('0x1')](_0x5796('0x10')),_0x2f4cd3[_0x5796('0x1')](_0x5796('0x16'))),_0x5301e5[_0x5796('0xf')][_0x5796('0x2')](_0x5796('0xd')))for(const _0x1ea284 of[_0x5796('0x18'),'outdentBlock'])_0x2f4cd3[_0x5796('0x3')](_0x1ea284);const _0x32a774=_0x5301e5[_0x5796('0x15')];_0x2f4cd3[_0x5796('0xe')](_0x5796('0x5')),_0x2f4cd3['_descriptionFactory'][_0x5796('0x1a')](_0x5796('0x5'),_0x4ad8f8(_0x32a774,_0x5796('0x0'))),this['_registerLegacyDescription']();}[_0x5796('0x14')](){const _0x239cad=this[_0x5796('0x7')],_0x111f85=_0x239cad[_0x5796('0x15')],_0x1c7cc0=_0x239cad[_0x5796('0xf')][_0x5796('0x11')](_0x5796('0xa'));_0x1c7cc0[_0x5796('0x4')][_0x5796('0x12')](_0xe24e2=>{if(_0x5796('0xc')!=_0xe24e2['type'])return;const {data:_0x45dfa7}=_0xe24e2;if(!_0x45dfa7)return;if(_0x5796('0x18')!=_0x45dfa7[_0x5796('0xb')]&&'outdentBlock'!=_0x45dfa7[_0x5796('0xb')])return;const _0x38d1ba=_0xe24e2['getItems']()[0x0],_0x56bd9e=_0x1c7cc0['_descriptionFactory']['getItemLabel'](_0x38d1ba);return _0x5796('0x18')==_0x45dfa7['commandName']?{'type':_0x5796('0x9'),'content':_0x4ad8f8(_0x111f85,_0x5796('0x13'),_0x56bd9e)}:_0x5796('0x17')==_0x45dfa7[_0x5796('0xb')]?{'type':_0x5796('0x9'),'content':_0x4ad8f8(_0x111f85,_0x5796('0x6'),_0x56bd9e)}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x197a=['enableCommand','TrackChangesEditing','requires','init','get'];(function(_0x4d39ca,_0x197ac4){var _0x48493d=function(_0x124a3e){while(--_0x124a3e){_0x4d39ca['push'](_0x4d39ca['shift']());}};_0x48493d(++_0x197ac4);}(_0x197a,0x78));var _0x4849=function(_0x4d39ca,_0x197ac4){_0x4d39ca=_0x4d39ca-0x0;var _0x48493d=_0x197a[_0x4d39ca];return _0x48493d;};import{Plugin as _0x34a2d0}from'ckeditor5/src/core.js';import{Input as _0x57d4f5}from'ckeditor5/src/typing.js';export default class at extends _0x34a2d0{static get[_0x4849('0x2')](){return[_0x57d4f5];}[_0x4849('0x3')](){this['editor']['plugins'][_0x4849('0x4')](_0x4849('0x1'))[_0x4849('0x0')]('input');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd91a=['*Change\x20to:*\x20%0','enableCommand','format','get','ELEMENT_LIST_ITEM','numbered','type','registerElementLabel','before','slice','plugins','filter','name','from','markBlockFormat','todoListChecked','forceValue','LegacyTodoListEditing','_selectedElements','bulleted','ELEMENT_NUMBERED_LIST','add','indentList','*Indent:*\x20%0','_descriptionFactory','model','listIndent','commandParams','bulletedList','registerDescriptionCallback','getSelectedBlocks','previousSibling','selection','getAttribute','listType','checkChild','findIndex','value','numberedList','has','*Uncheck\x20item*','outdentList','commandName','createPositionAt','locale','todo','TrackChangesEditing','schema','nextSibling','List','isObject','element','afterInit','commands','end','*Outdent:*\x20%0','todoList','listItem','paragraph','*Check\x20item*','change','checkTodoList'];(function(_0x46eade,_0xd91a37){const _0x2e0650=function(_0x835ebf){while(--_0x835ebf){_0x46eade['push'](_0x46eade['shift']());}};_0x2e0650(++_0xd91a37);}(_0xd91a,0x18e));const _0x2e06=function(_0x46eade,_0xd91a37){_0x46eade=_0x46eade-0x0;let _0x2e0650=_0xd91a[_0x46eade];return _0x2e0650;};import{Plugin as _0x3ada6e}from'ckeditor5/src/core.js';import{getTranslation as _0x2728a6}from'../utils/common-translations.js';export default class ut extends _0x3ada6e{[_0x2e06('0x1a')](){const _0x3713e3=this['editor'],_0x21b8e4=_0x3713e3[_0x2e06('0x12')];if(!_0x3713e3[_0x2e06('0x2e')][_0x2e06('0xd')]('LegacyListEditing'))return;const _0x3d7570=_0x3713e3['plugins']['get'](_0x2e06('0x14')),_0x84c4b3=_0x3713e3[_0x2e06('0x2e')][_0x2e06('0xd')](_0x2e06('0x35'));function _0x2441ef(_0x48ffb6){return()=>{const _0x413932=_0x3713e3[_0x2e06('0x3d')]['document'][_0x2e06('0x6')],_0x2a9936=_0x3713e3[_0x2e06('0x1b')][_0x2e06('0x27')](_0x48ffb6);if(_0x2a9936[_0x2e06('0xb')])return void _0x3713e3['execute'](_0x2e06('0x20'),{});const _0x3c76d9=_0x48ffb6[_0x2e06('0x2d')](0x0,-0x4),_0x204d96=function(_0x48ae63,_0x14666e,_0x4a4b45){let _0x586780=Array['from'](_0x48ae63)[_0x2e06('0x2f')](_0x37af29=>function(_0x1b9836,_0x14fd06){return _0x14fd06[_0x2e06('0x9')](_0x1b9836['parent'],_0x2e06('0x1f'))&&!_0x14fd06[_0x2e06('0x18')](_0x1b9836);}(_0x37af29,_0x4a4b45));_0x586780=_0x586780[_0x2e06('0x2f')](_0x4161d6=>!_0x4161d6['is'](_0x2e06('0x19'),_0x2e06('0x1f'))||_0x4161d6[_0x2e06('0x7')](_0x2e06('0x8'))!=_0x14666e);const _0x4cb724=new Set();for(const _0x9165c7 of _0x586780)_0x9165c7['is']('element',_0x2e06('0x1f'))?_0x4cb724[_0x2e06('0x39')](ne(_0x9165c7)):_0x4cb724[_0x2e06('0x39')](_0x9165c7);return Array[_0x2e06('0x31')](_0x4cb724);}(_0x413932[_0x2e06('0x4')](),_0x3c76d9,_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x15')]);_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x22')](()=>{for(const _0x4fe3c5 of _0x204d96)_0x3d7570['markBlockFormat'](_0x4fe3c5,{'commandName':_0x48ffb6,'commandParams':[{'forceValue':!_0x2a9936[_0x2e06('0xb')]}],'formatGroupId':'blockName'},oe(_0x4fe3c5));});};}function _0x53e625(_0x526460){return()=>{const _0x1426a1=function(_0xc864aa){let _0x4f4085=Array[_0x2e06('0x31')](_0xc864aa);const _0x4ce9de=_0x4f4085[_0x2e06('0xa')](_0x9e81dd=>_0x2e06('0x1f')!=_0x9e81dd[_0x2e06('0x30')]);return _0x4ce9de>-0x1&&(_0x4f4085=_0x4f4085[_0x2e06('0x2d')](0x0,_0x4ce9de)),_0x4f4085;}(_0x3713e3[_0x2e06('0x3d')]['document'][_0x2e06('0x6')][_0x2e06('0x4')]()),_0x5eed07=_0x3713e3[_0x2e06('0x3d')]['createRange'](_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x11')](_0x1426a1[0x0],_0x2e06('0x2c')),_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x11')](_0x1426a1[_0x1426a1['length']-0x1],_0x2e06('0x1c')));_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x22')](()=>{_0x3d7570[_0x2e06('0x32')](_0x5eed07,{'commandName':_0x526460,'commandParams':[],'formatGroupId':_0x2e06('0x0')},function(_0x276271){const _0x958313=new Set();for(const _0x40ad6e of _0x276271){let _0x28dd60=_0x40ad6e['nextSibling'];for(;_0x28dd60&&_0x28dd60[_0x2e06('0x7')](_0x2e06('0x0'))>_0x40ad6e['getAttribute'](_0x2e06('0x0'));)_0x958313[_0x2e06('0x39')](_0x28dd60),_0x28dd60=_0x28dd60[_0x2e06('0x16')];}return Array[_0x2e06('0x31')](_0x958313);}(_0x1426a1));});};}_0x3d7570['enableCommand']('numberedList',_0x2441ef(_0x2e06('0xc'))),_0x3d7570[_0x2e06('0x25')](_0x2e06('0x2'),_0x2441ef(_0x2e06('0x2'))),_0x84c4b3&&_0x3d7570['enableCommand'](_0x2e06('0x1e'),_0x2441ef(_0x2e06('0x1e'))),_0x3d7570[_0x2e06('0x25')](_0x2e06('0x3a'),_0x53e625('indentList')),_0x3d7570[_0x2e06('0x25')](_0x2e06('0xf'),_0x53e625(_0x2e06('0xf'))),_0x84c4b3&&_0x3d7570[_0x2e06('0x25')](_0x2e06('0x23'),()=>{const _0x37d224=_0x3713e3[_0x2e06('0x1b')][_0x2e06('0x27')](_0x2e06('0x23')),_0x269822=Array[_0x2e06('0x31')](_0x37d224[_0x2e06('0x36')]);_0x269822[_0x2e06('0x2f')](_0x4a3f74=>_0x4a3f74[_0x2e06('0x7')](_0x2e06('0x33'))!=_0x37d224['value']),_0x3713e3['model'][_0x2e06('0x22')](()=>{for(const _0x243ed7 of _0x269822)_0x3d7570[_0x2e06('0x32')](_0x243ed7,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x37d224[_0x2e06('0xb')]}]});});}),_0x3d7570[_0x2e06('0x3c')][_0x2e06('0x2b')](_0x2e06('0x1f'),_0xbd4724=>_0x2728a6(_0x21b8e4,'ELEMENT_LIST_ITEM',_0xbd4724)),_0x3d7570[_0x2e06('0x3c')][_0x2e06('0x3')](_0x463c3e=>{if('formatBlock'!=_0x463c3e[_0x2e06('0x2a')]&&'formatInline'!=_0x463c3e[_0x2e06('0x2a')])return;const {data:_0x536534}=_0x463c3e;if(_0x536534){if(_0x2e06('0xc')==_0x536534[_0x2e06('0x10')]||_0x2e06('0x2')==_0x536534[_0x2e06('0x10')]||'todoList'==_0x536534['commandName'])switch(_0x536534[_0x2e06('0x10')]['replace'](_0x2e06('0x17'),'')){case _0x2e06('0x37'):return _0x3cb24b(_0x2728a6(_0x21b8e4,'ELEMENT_BULLETED_LIST'));case _0x2e06('0x29'):return _0x3cb24b(_0x2728a6(_0x21b8e4,_0x2e06('0x38')));case _0x2e06('0x13'):return _0x3cb24b(_0x2728a6(_0x21b8e4,'ELEMENT_TODO_LIST'));}if(_0x2e06('0x3a')==_0x536534[_0x2e06('0x10')])return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x3b'),_0x2728a6(_0x21b8e4,_0x2e06('0x28')))};if(_0x2e06('0xf')==_0x536534['commandName'])return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x1d'),_0x2728a6(_0x21b8e4,_0x2e06('0x28')))};if(_0x2e06('0x23')==_0x536534['commandName'])return _0x536534[_0x2e06('0x1')][0x0][_0x2e06('0x34')]?{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x21'))}:{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0xe'))};}function _0x3cb24b(_0x12375a){return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x24'),_0x12375a)};}});}}function ne(_0xba092d){const _0x275520=_0xba092d[_0x2e06('0x7')](_0x2e06('0x0'));if(0x0==_0x275520)return _0xba092d;let _0x373ddf=_0xba092d;for(;_0xba092d['previousSibling']&&_0xba092d['previousSibling']['is'](_0x2e06('0x19'),_0x2e06('0x1f'));){const _0x55dea3=_0xba092d[_0x2e06('0x5')][_0x2e06('0x7')](_0x2e06('0x0'));if(_0x55dea3==_0x275520)_0x373ddf=_0xba092d['previousSibling'];else{if(_0x55dea3<_0x275520)break;}_0xba092d=_0xba092d[_0x2e06('0x5')];}return _0x373ddf;}function oe(_0x564fe6){const _0x469671=[];if(_0x564fe6['is'](_0x2e06('0x19'),_0x2e06('0x1f'))&&_0x564fe6['getAttribute']('listIndent')>0x0){let _0x2d5f61=_0x564fe6['nextSibling'];for(;_0x2d5f61&&_0x2e06('0x1f')==_0x2d5f61['name']&&_0x2d5f61[_0x2e06('0x7')]('listIndent')==_0x564fe6['getAttribute'](_0x2e06('0x0'));)_0x469671['push'](_0x2d5f61),_0x2d5f61=_0x2d5f61[_0x2e06('0x16')];}return _0x469671;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3854=['_descriptionFactory','get','afterInit','editor','handleDescriptions','startIndex','reversed','listStart','document','getAttribute','*Format:*\x20set\x20start\x20index\x20to\x20%0','getFirstPosition','listItem','push','format','numbered','backward','_getSuggestionBlocks','handleListReversedCommand','ELEMENT_','registerDescriptionCallback','handleListStartCommand','listReversed','element','map','handleListStyleCommand','locale','getSelectedBlocks','markMultiRangeBlockFormat','LegacyListPropertiesEditing','LegacyListUtils','getSiblingNodes','type','*Format:*\x20set\x20order\x20to\x20regular','createPositionAt','*Format:*\x20set\x20order\x20to\x20reversed','selection','commandParams','change','flat','formatBlock','TrackChangesEditing','length','commandName','_LIST_','plugins','createRange','filter','listType','model','formatInline','unshift','config','_getSuggestionBlocksForListStyle','before','forward','listStyle','toUpperCase','_getTranslationKeyForListStyle','enableCommand','bind'];(function(_0x279ede,_0x385496){const _0x364645=function(_0x3fc443){while(--_0x3fc443){_0x279ede['push'](_0x279ede['shift']());}};_0x364645(++_0x385496);}(_0x3854,0x10a));const _0x3646=function(_0x279ede,_0x385496){_0x279ede=_0x279ede-0x0;let _0x364645=_0x3854[_0x279ede];return _0x364645;};import{Plugin as _0x5a7abc}from'ckeditor5/src/core.js';import{getTranslation as _0x561b28}from'../utils/common-translations.js';export default class K extends _0x5a7abc{[_0x3646('0x29')](){if(!this[_0x3646('0x2a')][_0x3646('0x17')]['has'](_0x3646('0x7')))return;const _0x28d28a=this[_0x3646('0x2a')][_0x3646('0x1e')]['get']('list.properties'),_0x5ec1bf=this[_0x3646('0x2a')][_0x3646('0x17')][_0x3646('0x28')](_0x3646('0x13'));_0x28d28a['styles']&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x22'),this[_0x3646('0x3')][_0x3646('0x26')](this)),_0x28d28a[_0x3646('0x2d')]&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x0'),this[_0x3646('0x39')][_0x3646('0x26')](this)),_0x28d28a[_0x3646('0x2c')]&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x2e'),this[_0x3646('0x3c')]['bind'](this)),_0x5ec1bf[_0x3646('0x27')][_0x3646('0x3b')](this[_0x3646('0x2b')]['bind'](this));}[_0x3646('0x3')](_0x55f404,_0x20833d={}){const _0x5399e1=this['editor']['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x998552=this['_getSuggestionBlocksForListStyle']();this[_0x3646('0x2a')]['model']['change'](()=>{_0x5399e1[_0x3646('0x6')](_0x998552,{'commandName':_0x3646('0x22'),'commandParams':[{'type':_0x20833d['type']}],'formatGroupId':_0x3646('0x22')});});}[_0x3646('0x39')](_0x3c2b62,_0x47af5f={}){const _0x4635f1=this[_0x3646('0x2a')]['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x3c6aa0=this[_0x3646('0x38')](_0x47da61=>_0x47da61['is'](_0x3646('0x1'),_0x3646('0x33'))&&_0x3646('0x36')===_0x47da61[_0x3646('0x30')](_0x3646('0x1a')));if(_0x3c6aa0['length']<0x1)return;const _0x25cb01=_0x3c6aa0[_0x3646('0x2')](_0x1f90bf=>this[_0x3646('0x2a')]['model'][_0x3646('0x18')](this[_0x3646('0x2a')][_0x3646('0x1b')]['createPositionAt'](_0x1f90bf,_0x3646('0x20')),this['editor'][_0x3646('0x1b')][_0x3646('0xc')](_0x1f90bf,0x0)));this[_0x3646('0x2a')][_0x3646('0x1b')]['change'](()=>{_0x4635f1['markMultiRangeBlockFormat'](_0x25cb01,{'commandName':_0x3646('0x0'),'commandParams':[{'reversed':_0x47af5f[_0x3646('0x2d')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x33b7bf,_0x3ffe1d={}){const _0x2d56f4=this['editor']['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x552a68=this[_0x3646('0x38')](_0x39375c=>_0x39375c['is'](_0x3646('0x1'),_0x3646('0x33'))&&_0x3646('0x36')===_0x39375c[_0x3646('0x30')](_0x3646('0x1a')));if(_0x552a68['length']<0x1)return;const _0x31191a=_0x552a68['map'](_0x5a39ad=>this['editor'][_0x3646('0x1b')]['createRange'](this[_0x3646('0x2a')]['model'][_0x3646('0xc')](_0x5a39ad,_0x3646('0x20')),this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0xc')](_0x5a39ad,0x0)));this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x10')](()=>{_0x2d56f4[_0x3646('0x6')](_0x31191a,{'commandName':_0x3646('0x2e'),'commandParams':[{'startIndex':_0x3ffe1d[_0x3646('0x2c')]}],'formatGroupId':'listStart'});});}[_0x3646('0x2b')](_0x469397){if(_0x3646('0x12')!=_0x469397[_0x3646('0xa')]&&_0x3646('0x1c')!=_0x469397['type'])return;const _0x3676cf=this[_0x3646('0x2a')][_0x3646('0x4')],{data:_0x150196}=_0x469397;if(!_0x150196)return;let _0x105224,_0x3a26c4;switch(_0x150196[_0x3646('0x15')]){case'listStyle':_0x105224='*Change\x20to:*\x20%0',_0x3a26c4={'type':'format','content':_0x561b28(_0x3676cf,_0x105224,_0x561b28(_0x3676cf,this['_getTranslationKeyForListStyle'](_0x150196[_0x3646('0xf')][0x0][_0x3646('0xa')])))};break;case _0x3646('0x0'):_0x105224=_0x150196[_0x3646('0xf')][0x0]['reversed']?_0x3646('0xd'):_0x3646('0xb'),_0x3a26c4={'type':_0x3646('0x35'),'content':_0x561b28(_0x3676cf,_0x105224)};break;case _0x3646('0x2e'):_0x105224=_0x3646('0x31'),_0x3a26c4={'type':'format','content':_0x561b28(_0x3676cf,_0x105224,_0x150196[_0x3646('0xf')][0x0][_0x3646('0x2c')])};}return _0x3a26c4;}[_0x3646('0x1f')](){var _0x1bff3c,_0x459ca4,_0x1b64fb,_0x1c1cd3;const _0x1332c6=this['editor'][_0x3646('0x17')][_0x3646('0x28')]('LegacyListUtils');let _0x11588d=Array['from'](this['editor'][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x5')]());return(null===(_0x1bff3c=_0x11588d[0x0])||void 0x0===_0x1bff3c?void 0x0:_0x1bff3c['is'](_0x3646('0x1'),'listItem'))&&_0x11588d[_0x3646('0x1d')](..._0x1332c6[_0x3646('0x9')](this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x2f')][_0x3646('0xe')]['getFirstPosition'](),_0x3646('0x37'))),(null===(_0x459ca4=_0x11588d[_0x11588d[_0x3646('0x14')]-0x1])||void 0x0===_0x459ca4?void 0x0:_0x459ca4['is'](_0x3646('0x1'),_0x3646('0x33')))&&_0x11588d[_0x3646('0x34')](..._0x1332c6[_0x3646('0x9')](this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x2f')][_0x3646('0xe')]['getLastPosition'](),_0x3646('0x21'))),_0x11588d=[...new Set(_0x11588d)],(null===(_0x1c1cd3=null===(_0x1b64fb=this[_0x3646('0x2a')][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x32')]())||void 0x0===_0x1b64fb?void 0x0:_0x1b64fb['parent'])||void 0x0===_0x1c1cd3?void 0x0:_0x1c1cd3['is'](_0x3646('0x1'),_0x3646('0x33')))&&(_0x11588d=_0x11588d['filter'](_0x8f51c7=>_0x8f51c7['is'](_0x3646('0x1'),_0x3646('0x33')))),_0x11588d;}[_0x3646('0x38')](_0x4695e1){const _0x175900=this['editor'][_0x3646('0x17')]['get'](_0x3646('0x8'));let _0x5b4227=Array['from'](this[_0x3646('0x2a')][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x5')]())[_0x3646('0x19')](_0x4695e1)[_0x3646('0x2')](_0x44cd8c=>{const _0x123ec4=this[_0x3646('0x2a')][_0x3646('0x1b')]['createPositionAt'](_0x44cd8c,0x0);return[..._0x175900['getSiblingNodes'](_0x123ec4,'backward'),..._0x175900[_0x3646('0x9')](_0x123ec4,'forward')];})[_0x3646('0x11')]();return _0x5b4227=[...new Set(_0x5b4227)],_0x5b4227;}[_0x3646('0x24')](_0x73a25){return _0x3646('0x3a')+this[_0x3646('0x2a')][_0x3646('0x17')][_0x3646('0x28')](_0x3646('0x8'))['getListTypeFromListStyleType'](_0x73a25)['toUpperCase']()+_0x3646('0x16')+_0x73a25[_0x3646('0x23')]()['replace'](/-/g,'_');}}
|