@ckeditor/ckeditor5-track-changes 40.1.0 → 41.0.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/CHANGELOG.md +20 -20
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/track-changes.js +3 -3
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +6 -6
- package/lang/translations/az.po +5 -5
- package/lang/translations/bg.po +6 -6
- package/lang/translations/bn.po +6 -6
- package/lang/translations/ca.po +6 -6
- package/lang/translations/cs.po +6 -6
- package/lang/translations/da.po +6 -6
- package/lang/translations/de.po +6 -6
- package/lang/translations/el.po +6 -6
- package/lang/translations/en-au.po +6 -6
- package/lang/translations/en.po +6 -6
- package/lang/translations/es.po +7 -7
- package/lang/translations/et.po +6 -6
- package/lang/translations/fi.po +6 -6
- package/lang/translations/fr.po +6 -6
- package/lang/translations/gl.po +37 -37
- package/lang/translations/he.po +6 -6
- package/lang/translations/hi.po +6 -6
- package/lang/translations/hr.po +6 -6
- package/lang/translations/hu.po +6 -6
- package/lang/translations/id.po +6 -6
- package/lang/translations/it.po +6 -6
- package/lang/translations/ja.po +6 -6
- package/lang/translations/ko.po +6 -6
- package/lang/translations/lt.po +6 -6
- package/lang/translations/lv.po +6 -6
- package/lang/translations/ms.po +6 -6
- package/lang/translations/nl.po +6 -6
- package/lang/translations/no.po +6 -6
- package/lang/translations/pl.po +6 -6
- package/lang/translations/pt-br.po +6 -6
- package/lang/translations/pt.po +6 -6
- package/lang/translations/ro.po +6 -6
- package/lang/translations/ru.po +6 -6
- package/lang/translations/sk.po +6 -6
- package/lang/translations/sq.po +5 -5
- package/lang/translations/sr-latn.po +25 -25
- package/lang/translations/sr.po +6 -6
- package/lang/translations/sv.po +6 -6
- package/lang/translations/th.po +6 -6
- package/lang/translations/tk.po +5 -5
- package/lang/translations/tr.po +6 -6
- package/lang/translations/tt.po +5 -5
- package/lang/translations/uk.po +6 -6
- package/lang/translations/ur.po +5 -5
- package/lang/translations/vi.po +6 -6
- package/lang/translations/zh-cn.po +6 -6
- package/lang/translations/zh.po +6 -6
- package/package.json +4 -3
- package/src/augmentation.d.ts +3 -3
- package/src/augmentation.js +1 -1
- package/src/commands/acceptsuggestioncommand.d.ts +3 -3
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.d.ts +3 -3
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/trackchangescommand.d.ts +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.d.ts +13 -13
- package/src/index.js +2 -2
- package/src/integrations/aiassistant.d.ts +2 -2
- package/src/integrations/aiassistant.js +2 -2
- package/src/integrations/alignment.d.ts +2 -2
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.d.ts +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.d.ts +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/casechange.d.ts +17 -0
- package/src/integrations/casechange.js +23 -0
- package/src/integrations/ckbox.d.ts +2 -2
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.d.ts +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.d.ts +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.d.ts +3 -3
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/entercommand.d.ts +3 -3
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.d.ts +2 -2
- package/src/integrations/findandreplace.js +2 -2
- package/src/integrations/font.d.ts +2 -2
- package/src/integrations/font.js +2 -2
- package/src/integrations/formatpainter.d.ts +2 -2
- package/src/integrations/formatpainter.js +2 -2
- package/src/integrations/heading.d.ts +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.d.ts +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.d.ts +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.d.ts +2 -2
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.d.ts +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.d.ts +2 -2
- package/src/integrations/imagereplace.js +2 -2
- package/src/integrations/imagestyle.d.ts +2 -2
- package/src/integrations/imagestyle.js +2 -2
- package/src/integrations/importword.d.ts +2 -2
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.d.ts +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.d.ts +3 -3
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/legacylist.d.ts +17 -0
- package/src/integrations/legacylist.js +23 -0
- package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
- package/src/integrations/legacylistproperties.js +23 -0
- package/src/integrations/link.d.ts +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.d.ts +6 -6
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.d.ts +6 -15
- package/src/integrations/listproperties.js +2 -2
- package/src/integrations/mediaembed.d.ts +2 -2
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.d.ts +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.d.ts +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.d.ts +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.d.ts +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.d.ts +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.d.ts +3 -3
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.d.ts +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.d.ts +2 -2
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.d.ts +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.d.ts +3 -3
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.d.ts +3 -3
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.d.ts +5 -5
- package/src/integrations/tablecolumnresize.js +2 -2
- package/src/integrations/tableheadings.d.ts +3 -3
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.d.ts +3 -3
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableofcontents.d.ts +2 -2
- package/src/integrations/tableofcontents.js +2 -2
- package/src/integrations/tableproperties.d.ts +5 -5
- package/src/integrations/tableproperties.js +2 -2
- package/src/integrations/template.d.ts +2 -2
- package/src/integrations/template.js +2 -2
- package/src/integrations/title.d.ts +2 -2
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.d.ts +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.d.ts +4 -4
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.d.ts +6 -6
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.d.ts +4 -4
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.d.ts +6 -6
- package/src/trackchanges.js +2 -2
- package/src/trackchangesconfig.d.ts +2 -2
- package/src/trackchangesconfig.js +1 -1
- package/src/trackchangesdata.d.ts +3 -3
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.d.ts +56 -55
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.d.ts +4 -4
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.d.ts +6 -6
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.d.ts +6 -6
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/common-translations.d.ts +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.d.ts +5 -5
- package/src/utils/utils.js +2 -2
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/src/integrations/documentlist.d.ts +0 -17
- package/src/integrations/documentlist.js +0 -23
- package/src/integrations/documentlistproperties.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdf06=['unit','forward','get','unlock','model','high','bind','batch','options','markerName','delete','fromRange','isCollapsed','enableCommand','getFirstRange','$graveyard','root','rootName','detach','markerNameToElements','TrackChangesEditing','data','removeMarker:suggestion:deletion','showSuggestionHighlights','start','createRange','uiElement','addMarker:suggestion:deletion','remove','end','editing','requires','merge','downcastDispatcher','unbindElementFromMarkerName','selection','buffer','commands','mapper','setSelection','writer'];(function(_0x421fb2,_0xdf0693){const _0x484ae0=function(_0xba2b3d){while(--_0xba2b3d){_0x421fb2['push'](_0x421fb2['shift']());}};_0x484ae0(++_0xdf0693);}(_0xdf06,0x17a));const _0x484a=function(_0x421fb2,_0xdf0693){_0x421fb2=_0x421fb2-0x0;let _0x484ae0=_0xdf06[_0x421fb2];return _0x484ae0;};import{Plugin as _0x1e0994}from'ckeditor5/src/core.js';import{LiveRange as _0x5401b9}from'ckeditor5/src/engine.js';import{Delete as _0x138ef1}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0xbd6789}from'./utils.js';export default class q extends _0x1e0994{static get[_0x484a('0x16')](){return[_0x138ef1];}['init'](){const _0x14dc42=this['editor'],_0x850a21=_0x14dc42['plugins']['get'](_0x484a('0xb'));_0x850a21['enableCommand'](_0x484a('0x1'));const _0x2b2406=_0x14dc42[_0x484a('0x1c')][_0x484a('0x22')]('deleteForward');_0x850a21[_0x484a('0x4')]('deleteForward',(_0xc131b7,_0x53624f={})=>{const _0x48d752=_0x14dc42[_0x484a('0x24')]['createSelection'](_0x14dc42[_0x484a('0x24')]['document'][_0x484a('0x1a')]);_0x48d752[_0x484a('0x3')]&&_0x14dc42['model']['modifySelection'](_0x48d752,{'direction':_0x484a('0x21'),'unit':_0x53624f[_0x484a('0x20')]});const _0x5f320e=_0x48d752[_0x484a('0x5')](),_0xe6248=_0x5401b9[_0x484a('0x2')](_0x5f320e);let _0x4ef168;_0xc131b7(_0x53624f),_0x4ef168=_0x484a('0x6')==_0xe6248[_0x484a('0x7')][_0x484a('0x8')]?_0x14dc42[_0x484a('0x24')]['createRange'](_0x5f320e[_0x484a('0xf')]):_0x14dc42[_0x484a('0x24')][_0x484a('0x10')](_0xe6248[_0x484a('0xf')],_0xe6248[_0x484a('0x14')]),_0xe6248[_0x484a('0x9')](),_0x14dc42[_0x484a('0x24')]['enqueueChange'](_0x2b2406[_0x484a('0x1b')][_0x484a('0x27')],_0x489c8a=>{_0x2b2406[_0x484a('0x1b')]['lock'](),_0x489c8a[_0x484a('0x1e')](_0x489c8a[_0x484a('0x10')](_0x4ef168['end'])),_0x2b2406[_0x484a('0x1b')][_0x484a('0x23')]();});}),_0x14dc42[_0x484a('0x15')][_0x484a('0x18')]['on']('addMarker:suggestion:deletion',_0xbd6789(_0x14dc42,_0x484a('0x17')),{'priority':'high'}),_0x14dc42[_0x484a('0xc')]['downcastDispatcher']['on'](_0x484a('0x12'),(_0x1b673c,_0x1b7f6f,_0x2b718e)=>{_0x2b718e[_0x484a('0x28')][_0x484a('0xe')]&&_0xbd6789(_0x14dc42,_0x484a('0x17'),{'showActiveMarker':!0x1})[_0x484a('0x26')](this)(_0x1b673c,_0x1b7f6f,_0x2b718e);},{'priority':'high'}),_0x14dc42['editing']['downcastDispatcher']['on'](_0x484a('0xd'),(_0x19ef44,_0x301b46,_0x2713d1)=>{const _0x13c50f=_0x2713d1['mapper'][_0x484a('0xa')](_0x301b46['markerName']);if(_0x13c50f)for(const _0xc9b60e of _0x13c50f)_0xc9b60e['is'](_0x484a('0x11'))&&(_0x2713d1[_0x484a('0x1d')][_0x484a('0x19')](_0xc9b60e,_0x301b46[_0x484a('0x0')]),_0x2713d1[_0x484a('0x1f')][_0x484a('0x13')](_0xc9b60e));},{'priority':_0x484a('0x25')});}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/entercommand
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Enter } from 'ckeditor5/src/enter';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Enter } from 'ckeditor5/src/enter.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
|
|
12
12
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x385f=['createPositionAt','high','get','mapper','parent','addMarker:suggestion:insertion','model','end','markerNameToElements','writer','hasClass','change','nextSibling','TrackChangesEditing','downcastDispatcher','markerName','selection','data','markInsertion','getFirstRange','showSuggestionHighlights','fromRange','enableCommand','afterExecute','enter','plugins','createRange','bind','ck-suggestion-marker-split','options','document','init','commands','split','remove','removeMarker:suggestion:insertion'];(function(_0x3bf552,_0x385f27){const _0x1e259b=function(_0x47dbc9){while(--_0x47dbc9){_0x3bf552['push'](_0x3bf552['shift']());}};_0x1e259b(++_0x385f27);}(_0x385f,0x160));const _0x1e25=function(_0x3bf552,_0x385f27){_0x3bf552=_0x3bf552-0x0;let _0x1e259b=_0x385f[_0x3bf552];return _0x1e259b;};import{Plugin as _0x370b1e}from'ckeditor5/src/core.js';import{Enter as _0x1b4a69}from'ckeditor5/src/enter.js';import{LiveRange as _0x590b1b}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x16def8}from'./utils.js';export default class W extends _0x370b1e{static get['requires'](){return[_0x1b4a69];}[_0x1e25('0x3')](){const _0x4be7b7=this['editor'],_0x490929=_0x4be7b7[_0x1e25('0x21')][_0x1e25('0xa')](_0x1e25('0x15')),_0xd37fd0=_0x4be7b7[_0x1e25('0x4')][_0x1e25('0xa')](_0x1e25('0x20'));_0x490929[_0x1e25('0x1e')](_0x1e25('0x20'),()=>{_0x4be7b7['model'][_0x1e25('0x13')](_0x17b313=>{const _0x4265cf=_0x4be7b7[_0x1e25('0xe')][_0x1e25('0x2')][_0x1e25('0x18')],_0x326340=_0x4265cf['getFirstPosition'](),_0x913958=_0x590b1b[_0x1e25('0x1d')](_0x4265cf[_0x1e25('0x1b')]());if(_0xd37fd0['enterBlock'](_0x17b313)){const _0x2c0f4f=_0x4be7b7[_0x1e25('0xe')][_0x1e25('0x8')](_0x326340[_0x1e25('0xc')][_0x1e25('0x14')],0x0),_0x310b61=_0x17b313[_0x1e25('0x22')](_0x326340,_0x2c0f4f);_0x490929[_0x1e25('0x1a')](_0x310b61);}else _0x17b313['setSelection'](_0x17b313['createRange'](_0x913958[_0x1e25('0xf')]));_0x913958['detach'](),_0xd37fd0['fire'](_0x1e25('0x1f'),{'writer':_0x17b313});});}),_0x4be7b7['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x16def8(_0x4be7b7,_0x1e25('0x5')),{'priority':_0x1e25('0x9')}),_0x4be7b7['editing'][_0x1e25('0x16')]['on'](_0x1e25('0x7'),(_0x1d1268,_0x4122c7,_0x9a3fe2)=>{const _0x1742ec=_0x9a3fe2[_0x1e25('0xb')][_0x1e25('0x10')](_0x4122c7[_0x1e25('0x17')]);if(_0x1742ec)for(const _0x2bddc2 of _0x1742ec)_0x2bddc2[_0x1e25('0x12')](_0x1e25('0x0'))&&(_0x9a3fe2[_0x1e25('0xb')]['unbindElementFromMarkerName'](_0x2bddc2,_0x4122c7['markerName']),_0x9a3fe2[_0x1e25('0x11')][_0x1e25('0x6')](_0x2bddc2));},{'priority':_0x1e25('0x9')}),_0x4be7b7[_0x1e25('0x19')][_0x1e25('0x16')]['on'](_0x1e25('0xd'),(_0x1b917c,_0x449993,_0x24391c)=>{_0x24391c[_0x1e25('0x1')][_0x1e25('0x1c')]&&_0x16def8(_0x4be7b7,_0x1e25('0x5'),{'showActiveMarker':!0x1})[_0x1e25('0x23')](this)(_0x1b917c,_0x449993,_0x24391c);},{'priority':_0x1e25('0x9')});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/findandreplace
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for find and replace feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34be=['findNext','handleFindCommand','createRange','editor','getRange','createPositionAt','markers','filter','plugins','_isInDeletionRange','suggestion:deletion','start','find','TrackChangesEditing','bind','get','findPrevious','getIntersection','afterInit','model','findByTextCallback','replaceAll','has','end','getMarkersGroup','item','enableCommand'];(function(_0x56053d,_0x34be67){const _0x3d6975=function(_0xea1759){while(--_0xea1759){_0x56053d['push'](_0x56053d['shift']());}};_0x3d6975(++_0x34be67);}(_0x34be,0x1cd));const _0x3d69=function(_0x56053d,_0x34be67){_0x56053d=_0x56053d-0x0;let _0x3d6975=_0x34be[_0x56053d];return _0x3d6975;};import{Plugin as _0xbb8d14}from'ckeditor5/src/core.js';export default class J extends _0xbb8d14{[_0x3d69('0x10')](){if(!this[_0x3d69('0x1')][_0x3d69('0x6')][_0x3d69('0x14')]('FindAndReplaceEditing'))return;const _0x19715c=this['editor']['plugins'][_0x3d69('0xd')](_0x3d69('0xb'));_0x19715c[_0x3d69('0x18')](_0x3d69('0xa'),this[_0x3d69('0x1a')][_0x3d69('0xc')](this)),_0x19715c[_0x3d69('0x18')](_0x3d69('0x19')),_0x19715c[_0x3d69('0x18')](_0x3d69('0xe')),_0x19715c[_0x3d69('0x18')]('replace'),_0x19715c[_0x3d69('0x18')](_0x3d69('0x13'));}['handleFindCommand'](_0x2510bb,_0x317e28,_0x19c833={}){const _0x409493=this['editor'][_0x3d69('0x6')]['get']('FindAndReplaceUtils');return _0x2510bb(_0x56e9ad=>('string'==typeof _0x317e28?_0x409493[_0x3d69('0x12')](_0x317e28,_0x19c833):_0x317e28)(_0x56e9ad)[_0x3d69('0x5')](_0x2e2fdc=>!0x1===this[_0x3d69('0x7')](_0x2e2fdc,_0x56e9ad[_0x3d69('0x17')])),_0x19c833);}[_0x3d69('0x7')](_0xb4d73,_0x2b6fac){const _0x2c0441=this[_0x3d69('0x1')][_0x3d69('0x11')][_0x3d69('0x0')](this[_0x3d69('0x1')][_0x3d69('0x11')][_0x3d69('0x3')](_0x2b6fac,_0xb4d73[_0x3d69('0x9')]),this[_0x3d69('0x1')][_0x3d69('0x11')][_0x3d69('0x3')](_0x2b6fac,_0xb4d73[_0x3d69('0x15')]));for(const _0x3853d5 of this['editor'][_0x3d69('0x11')][_0x3d69('0x4')][_0x3d69('0x16')](_0x3d69('0x8')))if(null!==_0x2c0441[_0x3d69('0xf')](_0x3853d5[_0x3d69('0x2')]()))return!0x0;return!0x1;}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/font
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for font features.
|
|
11
11
|
*/
|
package/src/integrations/font.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10b8=['fontSize','trim','registerDescriptionCallback','commandName','title','model','formatInline','commandParams','FORMAT_FONT_FAMILY','fontSize.options','label','*Reset\x20font\x20size*','type','config','find','_registerLegacyDescription','value','plugins','FontBackgroundColorEditing','_descriptionFactory','fontBackgroundColor','editor','_enableDefaultAttributesIntegration','get','FORMAT_FONT_SIZE','*Set\x20font\x20family:*\x20%0','format','*Set\x20font\x20background\x20color:*\x20%0','FontFamilyEditing','afterInit','fontBackgroundColor.colors','toLowerCase','*Reset\x20font\x20family*','fontColor','locale','TrackChangesEditing','fontFamily','registerAttributeLabel','*Reset\x20font\x20background\x20color*'];(function(_0x511cbd,_0x10b8ec){const _0x37d40d=function(_0x498d51){while(--_0x498d51){_0x511cbd['push'](_0x511cbd['shift']());}};_0x37d40d(++_0x10b8ec);}(_0x10b8,0x1b9));const _0x37d4=function(_0x511cbd,_0x10b8ec){_0x511cbd=_0x511cbd-0x0;let _0x37d40d=_0x10b8[_0x511cbd];return _0x37d40d;};import{Plugin as _0x190947}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x8b8ebe}from'ckeditor5/src/ui.js';import{getTranslation as _0x141645}from'../utils/common-translations.js';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x37d4('0x1b')},{'pluginName':_0x37d4('0x10'),'commandName':_0x37d4('0x18')},{'pluginName':'FontColorEditing','commandName':_0x37d4('0x15')},{'pluginName':_0x37d4('0x6'),'commandName':_0x37d4('0x8')}];export default class Q extends _0x190947{[_0x37d4('0x11')](){const _0x3e6d35=this['editor'][_0x37d4('0x16')],_0x1d9e80=this[_0x37d4('0x9')][_0x37d4('0x5')][_0x37d4('0xb')](_0x37d4('0x17'));for(const {pluginName:_0x351a8b,commandName:_0x49afe9}of ro)this[_0x37d4('0x9')][_0x37d4('0x5')]['has'](_0x351a8b)&&_0x1d9e80[_0x37d4('0xa')](_0x49afe9,[_0x49afe9]);_0x3e6d35['t'],(_0x1d9e80['_descriptionFactory'][_0x37d4('0x19')](_0x37d4('0x1b'),_0x141645(_0x3e6d35,_0x37d4('0xc'))),_0x1d9e80[_0x37d4('0x7')][_0x37d4('0x19')](_0x37d4('0x18'),_0x141645(_0x3e6d35,_0x37d4('0x23'))),_0x1d9e80[_0x37d4('0x7')]['registerAttributeLabel'](_0x37d4('0x15'),_0x141645(_0x3e6d35,'FORMAT_FONT_COLOR')),_0x1d9e80[_0x37d4('0x7')]['registerAttributeLabel'](_0x37d4('0x8'),_0x141645(_0x3e6d35,'FORMAT_FONT_BACKGROUND')),this[_0x37d4('0x3')]());}['_registerLegacyDescription'](){const _0x5b22cd=this[_0x37d4('0x9')],_0x18f88e=_0x5b22cd[_0x37d4('0x16')];_0x5b22cd[_0x37d4('0x5')]['get'](_0x37d4('0x17'))['_descriptionFactory'][_0x37d4('0x1d')](_0xc9dc9d=>{const _0x55c16c=_0x18f88e['t'];if(_0x37d4('0x21')!=_0xc9dc9d[_0x37d4('0x0')])return;const {data:_0x107438}=_0xc9dc9d;if(null!=_0x107438){if(_0x37d4('0x1b')==_0x107438['commandName']){const _0x71ba79=_0x107438['commandParams'][0x0]['value'];if(_0x71ba79){const _0x38390f=_0x55c16c(this[_0x37d4('0x9')][_0x37d4('0x5')][_0x37d4('0xb')]('FontSize')['normalizeSizeOptions'](this[_0x37d4('0x9')][_0x37d4('0x1')][_0x37d4('0xb')](_0x37d4('0x24')))[_0x37d4('0x2')](_0x36f9c0=>_0x36f9c0[_0x37d4('0x20')]==_0x71ba79)[_0x37d4('0x1f')])[_0x37d4('0x13')]();return{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,'*Set\x20font\x20size:*\x20%0',_0x38390f)};}return{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,_0x37d4('0x26'))};}if(_0x37d4('0x18')==_0x107438[_0x37d4('0x1e')]){const _0x7f0194=_0x107438[_0x37d4('0x22')][0x0][_0x37d4('0x4')];return _0x7f0194?{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,_0x37d4('0xd'),_0x7f0194)}:{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,_0x37d4('0x14'))};}if(_0x37d4('0x15')==_0x107438['commandName']){const _0x271c17=_0x107438[_0x37d4('0x22')][0x0][_0x37d4('0x4')];if(_0x271c17){const _0x1d9381=_0x8b8ebe(this[_0x37d4('0x9')][_0x37d4('0x1')][_0x37d4('0xb')]('fontColor.colors'))[_0x37d4('0x2')](_0x1b2d78=>_0x1b2d78['model']==_0x271c17);let _0xa88307=_0x271c17,_0x2bbf7d='';return _0x1d9381&&(_0xa88307=_0x1d9381[_0x37d4('0x25')],_0x2bbf7d=_0x55c16c(_0xa88307)[_0x37d4('0x13')]()),{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,'*Set\x20font\x20color:*\x20%0',_0x2bbf7d)[_0x37d4('0x1c')](),'color':{'value':_0x271c17,'title':_0x2bbf7d||_0xa88307}};}return{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,'*Reset\x20font\x20color*')};}if(_0x37d4('0x8')==_0x107438[_0x37d4('0x1e')]){const _0xaba7e4=_0x107438['commandParams'][0x0][_0x37d4('0x4')];if(_0xaba7e4){const _0x2185fe=_0x8b8ebe(this['editor'][_0x37d4('0x1')][_0x37d4('0xb')](_0x37d4('0x12')))[_0x37d4('0x2')](_0x1d4c63=>_0x1d4c63[_0x37d4('0x20')]==_0xaba7e4);let _0x248d57=_0xaba7e4,_0x32072f='';return _0x2185fe&&(_0x248d57=_0x2185fe['label'],_0x32072f=_0x55c16c(_0x248d57)[_0x37d4('0x13')]()),{'type':'format','content':_0x141645(_0x18f88e,_0x37d4('0xf'),_0x32072f)[_0x37d4('0x1c')](),'color':{'value':_0xaba7e4,'title':_0x32072f||_0x248d57}};}return{'type':_0x37d4('0xe'),'content':_0x141645(_0x18f88e,_0x37d4('0x1a'))};}}});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/formatpainter
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for the Format Painter feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30dc=['formatBlock','commandName','fontColor.colors','toUpperCase','fontSize','join','toLowerCase','split','plugins','fontColor','length','find','config','_registerLegacyDescription','editor','format','_enableDefaultAttributesIntegration','pasteFormat','entries','FontSize','locale','boolean','get','_descriptionFactory','fontBackgroundColor','type','commands','model','copyFormat','title','push','registerDescriptionCallback'];(function(_0x14379f,_0x30dcf2){const _0x1acbb0=function(_0x5eab0d){while(--_0x5eab0d){_0x14379f['push'](_0x14379f['shift']());}};_0x1acbb0(++_0x30dcf2);}(_0x30dc,0xb8));const _0x1acb=function(_0x14379f,_0x30dcf2){_0x14379f=_0x14379f-0x0;let _0x1acbb0=_0x30dc[_0x14379f];return _0x1acbb0;};import{Plugin as _0x518fed}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x326ce0}from'ckeditor5/src/ui.js';import{getTranslation as _0x39d710}from'../utils/common-translations.js';export default class X extends _0x518fed{['afterInit'](){const _0x4737fb=this[_0x1acb('0x16')],_0x29a4db=_0x4737fb['plugins']['get']('TrackChangesEditing'),_0x1ddaf0=_0x4737fb[_0x1acb('0x2')][_0x1acb('0x1e')]('copyFormat'),_0x5f142c=_0x4737fb[_0x1acb('0x2')][_0x1acb('0x1e')](_0x1acb('0x19'));_0x1ddaf0&&_0x5f142c&&(_0x29a4db[_0x1acb('0x18')](_0x1acb('0x19')),_0x29a4db['enableCommand'](_0x1acb('0x4')),this[_0x1acb('0x15')]());}['_registerLegacyDescription'](){const _0x9f698f=this[_0x1acb('0x16')],_0x4dca89=_0x9f698f[_0x1acb('0x1c')];_0x9f698f['plugins'][_0x1acb('0x1e')]('TrackChangesEditing')[_0x1acb('0x1f')][_0x1acb('0x7')](_0x338d07=>{if(_0x1acb('0x8')!=_0x338d07[_0x1acb('0x1')]&&'formatInline'!=_0x338d07[_0x1acb('0x1')])return;const {data:_0x5a2895}=_0x338d07;if(_0x5a2895&&_0x1acb('0x19')===_0x5a2895[_0x1acb('0x9')]){const _0x119777=[],_0x2e1399=_0x5a2895['commandParams'][0x0];for(const [_0x92a391,_0x2c65a3]of Object[_0x1acb('0x1a')](_0x2e1399))_0x119777[_0x1acb('0x6')](so(_0x9f698f,_0x92a391,_0x2c65a3));return _0x119777[_0x1acb('0x12')]?{'type':_0x1acb('0x17'),'content':_0x39d710(_0x4dca89,'*Set\x20format\x20to:*\x20%0',_0x119777[_0x1acb('0xd')](',\x20'))}:{'type':_0x1acb('0x17'),'content':_0x39d710(_0x4dca89,'*Remove\x20all\x20formatting*')};}});}}function so(_0x328397,_0x4a2a7f,_0x50823b){const _0x273c09=_0x328397[_0x1acb('0x1c')]['t'],_0x13276c=_0x4a2a7f[_0x1acb('0xf')](/(?=[A-Z])/)['join']('\x20'),_0x57174f=_0x273c09(_0x13276c['charAt'](0x0)[_0x1acb('0xb')]()+_0x13276c['slice'](0x1))[_0x1acb('0xe')]();if(_0x1acb('0x1d')==typeof _0x50823b)return _0x57174f;if(_0x1acb('0x11')===_0x4a2a7f||_0x1acb('0x0')===_0x4a2a7f){const _0x3ac597=_0x326ce0(_0x328397[_0x1acb('0x14')][_0x1acb('0x1e')](_0x1acb('0xa')))[_0x1acb('0x13')](_0x18894f=>_0x18894f[_0x1acb('0x3')]==_0x50823b);return _0x57174f+'\x20('+(_0x3ac597?_0x273c09(_0x3ac597['label'])['toLowerCase']():_0x50823b)+')';}if(_0x1acb('0xc')===_0x4a2a7f&&isNaN(parseFloat(_0x50823b))){const _0x4f6544=_0x328397[_0x1acb('0x10')][_0x1acb('0x1e')](_0x1acb('0x1b'))['normalizeSizeOptions'](_0x328397[_0x1acb('0x14')]['get']('fontSize.options'))[_0x1acb('0x13')](_0x33f9ae=>_0x33f9ae[_0x1acb('0x3')]==_0x50823b);return _0x57174f+'\x20('+(_0x4f6544?_0x273c09(_0x4f6544[_0x1acb('0x5')])[_0x1acb('0xe')]():_0x50823b)+')';}return _0x57174f+'\x20('+_0x50823b+')';}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/heading
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for heading feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1916=['get','config','*Change\x20to:*\x20%0','commandParams','has','format','plugins','formatBlock','ELEMENT_HEADING','editor','ELEMENT_HEADING_CUSTOM','_getHeadingLevel','type','match','name','_registerLegacyDescription','_headingOptions','locale','registerDescriptionCallback','value','TrackChangesEditing','_descriptionFactory','title','HeadingEditing','model','view','commandName','find','registerElementLabel','heading','_enableDefaultAttributesIntegration'];(function(_0x639897,_0x19169e){const _0x406bb1=function(_0x135722){while(--_0x135722){_0x639897['push'](_0x639897['shift']());}};_0x406bb1(++_0x19169e);}(_0x1916,0x7e));const _0x406b=function(_0x639897,_0x19169e){_0x639897=_0x639897-0x0;let _0x406bb1=_0x1916[_0x639897];return _0x406bb1;};import{Plugin as _0x5cc316}from'ckeditor5/src/core.js';import{getTranslation as _0xd45161}from'../utils/common-translations.js';export default class Y extends _0x5cc316{['afterInit'](){const _0x9cf6f0=this['editor'];if(!_0x9cf6f0[_0x406b('0x4')][_0x406b('0x2')](_0x406b('0x15')))return;this[_0x406b('0xe')]=_0x9cf6f0[_0x406b('0x1e')][_0x406b('0x1d')]('heading.options');const _0x5c1eb6=_0x9cf6f0[_0x406b('0xf')],_0x57d64b=_0x9cf6f0['plugins'][_0x406b('0x1d')]('TrackChangesEditing');_0x57d64b[_0x406b('0x1c')](_0x406b('0x1b'));for(const _0x1d2ee0 of this['_headingOptions'])'paragraph'!=_0x1d2ee0[_0x406b('0x16')]&&_0x57d64b[_0x406b('0x13')][_0x406b('0x1a')](_0x1d2ee0['model'],_0x10e576=>{const _0xd94829=this[_0x406b('0x9')](_0x1d2ee0['model']);return null!==_0xd94829?_0x5743fa(_0x10e576,_0xd94829):_0x48a741(_0x10e576,_0x1d2ee0['title']);});function _0x5743fa(_0x79c4f0,_0x41306d){return _0xd45161(_0x5c1eb6,_0x406b('0x6'),[_0x79c4f0,_0x41306d]);}function _0x48a741(_0x20fe7d,_0x2b25b9){return _0xd45161(_0x5c1eb6,'ELEMENT_HEADING_CUSTOM',[_0x20fe7d,_0x2b25b9]);}this[_0x406b('0xd')]();}[_0x406b('0xd')](){const _0x46486f=this[_0x406b('0x7')],_0x1b0eed=_0x46486f['locale'];function _0x3a12e1(_0x8a2f25,_0x48819f){return _0xd45161(_0x1b0eed,_0x406b('0x8'),[_0x8a2f25,_0x48819f]);}_0x46486f[_0x406b('0x4')][_0x406b('0x1d')](_0x406b('0x12'))[_0x406b('0x13')][_0x406b('0x10')](_0x4fc4b0=>{if(_0x406b('0x5')!=_0x4fc4b0[_0x406b('0xa')])return;const {data:_0x3a5bda}=_0x4fc4b0;if(_0x3a5bda&&'heading'==_0x3a5bda[_0x406b('0x18')]){const _0x54ba4b=_0x3a5bda[_0x406b('0x1')][0x0][_0x406b('0x11')],_0x3ee8d0=this[_0x406b('0x9')](_0x54ba4b);if(null!==_0x3ee8d0)return{'type':_0x406b('0x3'),'content':_0xd45161(_0x1b0eed,_0x406b('0x0'),(_0x34fc13=0x1,_0x3d0478=_0x3ee8d0,_0xd45161(_0x1b0eed,_0x406b('0x6'),[_0x34fc13,_0x3d0478])))};const _0xc37b9a=this['_headingOptions']['find'](_0x2fe579=>_0x2fe579[_0x406b('0x16')]===_0x54ba4b)[_0x406b('0x14')];return{'type':_0x406b('0x3'),'content':_0xd45161(_0x1b0eed,_0x406b('0x0'),_0x3a12e1(0x1,_0xc37b9a))};}var _0x34fc13,_0x3d0478;});}[_0x406b('0x9')](_0x2c0a70){var _0x44f035,_0xfa0c31;const _0x445ad8=_0x2c0a70[_0x406b('0xb')](/^heading(\d+)/);if(_0x445ad8)return _0x445ad8[0x1];const _0x227c96=null===(_0x44f035=this['_headingOptions'])||void 0x0===_0x44f035?void 0x0:_0x44f035[_0x406b('0x19')](_0x2d8bdf=>_0x2d8bdf[_0x406b('0x16')]==_0x2c0a70);if(_0x227c96&&_0x227c96[_0x406b('0x17')]){const _0x55f3ce=_0x227c96[_0x406b('0x17')],_0x983899=(null!==(_0xfa0c31=_0x55f3ce[_0x406b('0xc')])&&void 0x0!==_0xfa0c31?_0xfa0c31:_0x55f3ce)[_0x406b('0xb')](/^h(\d+)/);if(_0x983899)return _0x983899[0x1];}return null;}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/highlight
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for highlight feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9055=['_registerLegacyDescription','has','editor','HighlightEditing','highlight','FORMAT_HIGHLIGHT','color','title','locale','_enableDefaultAttributesIntegration','afterInit','value','*Remove\x20highlight*','TrackChangesEditing','toLowerCase','registerDescriptionCallback','commandName','*Set\x20highlight:*\x20%0','format','registerAttributeLabel','plugins','highlight.options','get','commandParams'];(function(_0x588951,_0x905559){const _0x450034=function(_0x4c69f2){while(--_0x4c69f2){_0x588951['push'](_0x588951['shift']());}};_0x450034(++_0x905559);}(_0x9055,0x1d8));const _0x4500=function(_0x588951,_0x905559){_0x588951=_0x588951-0x0;let _0x450034=_0x9055[_0x588951];return _0x450034;};import{Plugin as _0x33fd7a}from'ckeditor5/src/core.js';import{getTranslation as _0x37aa9f}from'../utils/common-translations.js';export default class Z extends _0x33fd7a{[_0x4500('0x12')](){const _0x194d03=this[_0x4500('0xa')];if(!_0x194d03[_0x4500('0x4')][_0x4500('0x9')](_0x4500('0xb')))return;const _0x133c38=_0x194d03[_0x4500('0x4')][_0x4500('0x6')]('TrackChangesEditing'),_0x2be5e7=_0x194d03[_0x4500('0x10')];_0x133c38[_0x4500('0x11')](_0x4500('0xc'),['highlight']),_0x133c38['_descriptionFactory'][_0x4500('0x3')](_0x4500('0xc'),_0x37aa9f(_0x2be5e7,_0x4500('0xd'))),this[_0x4500('0x8')]();}[_0x4500('0x8')](){const _0x55eff6=this[_0x4500('0xa')],_0x36c56b=_0x55eff6['locale'];_0x55eff6[_0x4500('0x4')]['get'](_0x4500('0x15'))['_descriptionFactory'][_0x4500('0x17')](_0x535388=>{if('formatInline'!=_0x535388['type'])return;const {data:_0x57d511}=_0x535388;if(_0x57d511&&'highlight'==_0x57d511[_0x4500('0x0')]){const _0x45270d=_0x36c56b['t'],_0x4574ca=_0x57d511[_0x4500('0x7')][0x0][_0x4500('0x13')];if(_0x4574ca){const _0x38be6e=_0x55eff6['config']['get'](_0x4500('0x5'))['find'](_0x4111d7=>_0x4111d7['model']==_0x4574ca),_0x315aa4=_0x45270d(_0x38be6e[_0x4500('0xf')])[_0x4500('0x16')]();return{'type':'format','content':_0x37aa9f(_0x36c56b,_0x4500('0x1'),_0x315aa4),'color':{'value':_0x38be6e[_0x4500('0xe')],'title':_0x38be6e[_0x4500('0xf')]}};}return{'type':_0x4500('0x2'),'content':_0x37aa9f(_0x36c56b,_0x4500('0x14'),_0x37aa9f(_0x36c56b,_0x4500('0xd')))};}});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/horizontalline
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x227a=['addClass','createEmptyElement','has','createContainerElement','horizontalLine','high','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','dataDowncast','conversion','plugins','HorizontalLineEditing','elementToStructure','showSuggestionHighlights','div','registerElementLabel','editor','insert','_descriptionFactory','for'];(function(_0x431fcf,_0x227a0d){const _0x4f92c1=function(_0x141f8d){while(--_0x141f8d){_0x431fcf['push'](_0x431fcf['shift']());}};_0x4f92c1(++_0x227a0d);}(_0x227a,0x17e));const _0x4f92=function(_0x431fcf,_0x227a0d){_0x431fcf=_0x431fcf-0x0;let _0x4f92c1=_0x227a[_0x431fcf];return _0x4f92c1;};import{Plugin as _0x3602ed}from'ckeditor5/src/core.js';import{getTranslation as _0x1b93ed}from'../utils/common-translations.js';export default class tt extends _0x3602ed{['afterInit'](){const _0xef86a8=this[_0x4f92('0xd')];if(!_0xef86a8[_0x4f92('0x7')][_0x4f92('0x13')](_0x4f92('0x8')))return;_0xef86a8[_0x4f92('0x7')]['get'](_0x4f92('0x2'))['enableCommand'](_0x4f92('0x0'));const _0x4ec117=_0xef86a8[_0x4f92('0x7')]['get'](_0x4f92('0x2')),_0x4e3a1e=_0xef86a8['locale'];_0x4ec117[_0x4f92('0xf')][_0x4f92('0xc')](_0x4f92('0x0'),_0x5b4760=>_0x1b93ed(_0x4e3a1e,_0x4f92('0x3'),_0x5b4760)),_0xef86a8[_0x4f92('0x6')][_0x4f92('0x10')](_0x4f92('0x5'))[_0x4f92('0x9')]({'model':'horizontalLine','view':(_0x187f01,{writer:_0x85b13,options:_0x41bdce})=>{if(!_0x41bdce[_0x4f92('0xa')])return null;const _0x488a50=_0x85b13[_0x4f92('0x14')](_0x4f92('0xb')),_0x1a1058=_0x85b13[_0x4f92('0x12')]('hr');return _0x85b13[_0x4f92('0x11')](_0x4f92('0x4'),_0x488a50),_0x85b13[_0x4f92('0xe')](_0x85b13['createPositionAt'](_0x488a50,0x0),_0x1a1058),_0x488a50;},'converterPriority':_0x4f92('0x1')});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/htmlembed
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c43=['TrackChangesEditing','editor','locale','getFirstRange','rawHtml','key','start','_descriptionFactory','has','htmlEmbed','_enableDefaultAttributesIntegration','*Change\x20%0\x20content*','format','value','formatBlock','type','afterInit','attribute','_registerLegacyDescription','registerElementLabel','ELEMENT_HTML_EMBED','plugins','commandName'];(function(_0x2b78fe,_0x3c4308){const _0x3491de=function(_0x607b7){while(--_0x607b7){_0x2b78fe['push'](_0x2b78fe['shift']());}};_0x3491de(++_0x3c4308);}(_0x3c43,0x11a));const _0x3491=function(_0x2b78fe,_0x3c4308){_0x2b78fe=_0x2b78fe-0x0;let _0x3491de=_0x3c43[_0x2b78fe];return _0x3491de;};import{Plugin as _0x4a1dd7}from'ckeditor5/src/core.js';import{getTranslation as _0x1462a5}from'../utils/common-translations.js';export default class et extends _0x4a1dd7{[_0x3491('0xa')](){const _0x8886f4=this[_0x3491('0x12')];if(!_0x8886f4[_0x3491('0xf')][_0x3491('0x2')]('HtmlEmbed'))return;const _0x27b4dd=_0x8886f4[_0x3491('0xf')]['get'](_0x3491('0x11')),_0x281ffa=_0x8886f4['locale'];_0x27b4dd['_descriptionFactory'][_0x3491('0xd')](_0x3491('0x15'),_0x4114d5=>_0x1462a5(_0x281ffa,_0x3491('0xe'),_0x4114d5)),_0x27b4dd[_0x3491('0x4')](_0x3491('0x3'),[],[_0x3491('0x7')]),_0x27b4dd[_0x3491('0x1')]['registerDescriptionCallback'](_0x289e9d=>{if(_0x3491('0xb')!=_0x289e9d['type'])return;const {data:_0x30aa39}=_0x289e9d;if(_0x30aa39&&_0x3491('0x7')==_0x30aa39[_0x3491('0x16')]&&_0x289e9d[_0x3491('0x14')]()[_0x3491('0x0')]['nodeAfter']['is']('element',_0x3491('0x15'))){const _0x498103=_0x1462a5(_0x281ffa,_0x3491('0xe'));return{'type':_0x3491('0x6'),'content':_0x1462a5(_0x281ffa,_0x3491('0x5'),_0x498103)};}}),this[_0x3491('0xc')]();}[_0x3491('0xc')](){const _0x34b496=this[_0x3491('0x12')],_0x774a0f=_0x34b496[_0x3491('0x13')];_0x34b496[_0x3491('0xf')]['get'](_0x3491('0x11'))[_0x3491('0x1')]['registerDescriptionCallback'](_0x44cf40=>{if(_0x3491('0x8')!=_0x44cf40[_0x3491('0x9')])return;const {data:_0x3ac7ed}=_0x44cf40;if(_0x3ac7ed&&_0x3491('0x3')==_0x3ac7ed[_0x3491('0x10')]){const _0x282101=_0x1462a5(_0x774a0f,_0x3491('0xe'));return{'type':_0x3491('0x6'),'content':_0x1462a5(_0x774a0f,_0x3491('0x5'),_0x282101)};}});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/image
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:image/image~Image image feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1186=['discard','enableCommand','markDeletion','*Set\x20image\x20text\x20alternative:*\x20%0','ImageBlockEditing','alt','isCollapsed','registerCustomCallback','convertInlineImageToBlock','deletion','ImageCaptionEditing','ImageResize','formatInline','getSuggestionCallback','type','registerDescriptionCallback','getNearestSelectionRange','key','formatBlock','ImageInlineEditing','imageTextAlternative','ELEMENT_CAPTION','forceDefaultExecution','getCaptionFromImageModelElement','*Set\x20image\x20width:*\x20%0','element','findIndex','createRange','attribute','ELEMENT_IMAGE','forward','insertImage','FORMAT_IMAGE_SIZE','afterInit','detach','document','insertion','imageStylePreApply','_descriptionFactory','getContainedElement','resizeImage','end','newValue','commandParams','backward','isOwn','resizedWidth','imageCaption','imageBlock','locale','*Remove\x20image\x20text\x20alternative*','chain','filter','accept','selection','imageTypeInline','convertBlockImageToInline','markBlockFormat','getClosestSelectedImageElement','ImageCaptionUtils','TrackChangesEditing','width','registerAttributeLabel','join','imageInline','getFirstRange','_suggestionFactory','isEqual','model','fromPosition','uploadImage','registerElementLabel','ImageEditing','schema','plugins','isBefore','Block\x20image\x20to\x20inline\x20image','previous','isBlockImage','length','ELEMENT_INLINE_IMAGE','markInsertion','caption','get','format','imageTypeBlock','subType','start','createRangeOn','commandName','nodeAfter','isIntersecting','editor','_registerLegacyDescription','has','*Reset\x20image\x20width*'];(function(_0x34c52d,_0x118676){const _0x5cfd36=function(_0xabf5f1){while(--_0xabf5f1){_0x34c52d['push'](_0x34c52d['shift']());}};_0x5cfd36(++_0x118676);}(_0x1186,0x141));const _0x5cfd=function(_0x34c52d,_0x118676){_0x34c52d=_0x34c52d-0x0;let _0x5cfd36=_0x1186[_0x34c52d];return _0x5cfd36;};import{Plugin as _0x1aa9cd}from'ckeditor5/src/core';import{LivePosition as _0x3f1676}from'ckeditor5/src/engine';import{getTranslation as _0x4f8721}from'../utils/common-translations';export default class it extends _0x1aa9cd{[_0x5cfd('0x0')](){const _0x4a1326=this[_0x5cfd('0x3b')];if(!_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')](_0x5cfd('0x27')))return;const _0x573d9d=_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x32')](_0x5cfd('0x1b')),_0x189906=_0x4a1326[_0x5cfd('0x29')]['get']('ImageUtils'),_0x59bb63=_0x4a1326[_0x5cfd('0x10')];_0x573d9d[_0x5cfd('0x40')](_0x5cfd('0x5e')),_0x573d9d['_descriptionFactory']['registerElementLabel'](_0x5cfd('0xf'),_0x5e913=>_0x4f8721(_0x59bb63,_0x5cfd('0x5c'),_0x5e913)),_0x573d9d['_descriptionFactory'][_0x5cfd('0x26')](_0x5cfd('0x1f'),_0xb557=>_0x4f8721(_0x59bb63,_0x5cfd('0x2f'),_0xb557)),_0x573d9d[_0x5cfd('0x5')]['registerElementLabel'](_0x5cfd('0x31'),()=>_0x4f8721(_0x59bb63,_0x5cfd('0x54'))),_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')]('ImageUploadEditing')&&_0x573d9d['enableCommand'](_0x5cfd('0x25')),_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')](_0x5cfd('0x43'))&&_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')](_0x5cfd('0x52'))&&(_0x573d9d[_0x5cfd('0x40')]('imageTypeInline',(_0x406fea,_0x434455)=>{const _0xc87314=_0x189906[_0x5cfd('0x19')](_0x4a1326[_0x5cfd('0x23')]['document'][_0x5cfd('0x15')]);_0x4a1326[_0x5cfd('0x23')]['change'](()=>{_0x573d9d[_0x5cfd('0x18')](_0xc87314,{'commandName':_0x5cfd('0x16'),'commandParams':[_0x434455]},[],_0x5cfd('0x17'));});}),_0x573d9d[_0x5cfd('0x40')](_0x5cfd('0x34'),(_0x259418,_0x3bdbdc)=>{_0x4a1326['model']['change'](_0x44e38d=>{let _0x13f7c8=_0x189906[_0x5cfd('0x19')](_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x2')][_0x5cfd('0x15')]),_0x460836=_0x44e38d[_0x5cfd('0x37')](_0x13f7c8);const _0x1d85fa=_0x3f1676[_0x5cfd('0x24')](_0x460836[_0x5cfd('0x36')],'toPrevious'),_0x5d9b0d=_0x3f1676[_0x5cfd('0x24')](_0x460836[_0x5cfd('0x8')],'toNext');_0x573d9d[_0x5cfd('0x55')](()=>_0x259418(_0x3bdbdc)),_0x13f7c8=_0x189906[_0x5cfd('0x19')](_0x4a1326['model'][_0x5cfd('0x2')][_0x5cfd('0x15')]),_0x460836=_0x44e38d[_0x5cfd('0x37')](_0x13f7c8);const _0x304f72=_0x44e38d[_0x5cfd('0x5a')](_0x1d85fa,_0x5d9b0d);_0x1d85fa[_0x5cfd('0x1')](),_0x5d9b0d[_0x5cfd('0x1')](),_0x573d9d[_0x5cfd('0x18')](_0x13f7c8,{'commandName':_0x5cfd('0x16'),'commandParams':[_0x3bdbdc]},[],_0x5cfd('0x47')),_0x304f72[_0x5cfd('0x36')][_0x5cfd('0x2a')](_0x460836[_0x5cfd('0x36')])&&_0x573d9d[_0x5cfd('0x30')](_0x44e38d[_0x5cfd('0x5a')](_0x304f72[_0x5cfd('0x36')],_0x460836[_0x5cfd('0x36')]),_0x5cfd('0x47')),_0x460836[_0x5cfd('0x8')][_0x5cfd('0x2a')](_0x304f72[_0x5cfd('0x8')])&&_0x573d9d[_0x5cfd('0x30')](_0x44e38d[_0x5cfd('0x5a')](_0x460836['end'],_0x304f72['end']),_0x5cfd('0x47'));});}),_0x573d9d['_suggestionFactory'][_0x5cfd('0x46')](_0x5cfd('0x51'),_0x5cfd('0x47'),'join',()=>!0x1),_0x573d9d[_0x5cfd('0x21')][_0x5cfd('0x46')](_0x5cfd('0x51'),'convertInlineImageToBlock',_0x5cfd('0x14'),()=>!0x1),_0x573d9d[_0x5cfd('0x21')][_0x5cfd('0x46')](_0x5cfd('0x51'),_0x5cfd('0x47'),_0x5cfd('0x3f'),_0x573d9d['_suggestionFactory'][_0x5cfd('0x4c')](_0x5cfd('0x51'),'',_0x5cfd('0x14'))),_0x573d9d[_0x5cfd('0x21')]['registerCustomCallback']('insertion',_0x5cfd('0x47'),_0x5cfd('0x1e'),()=>!0x1),_0x573d9d['_suggestionFactory'][_0x5cfd('0x46')](_0x5cfd('0x3'),_0x5cfd('0x47'),_0x5cfd('0x3f'),([_0x288a13])=>{const _0xe96caa=_0x573d9d['_suggestionFactory']['getSuggestionCallback']('insertion','',_0x5cfd('0x3f'));let _0xfe84c3=_0x288a13[_0x5cfd('0x36')],_0xff5ac1=_0x288a13[_0x5cfd('0x8')];const _0x4ee611=_0x4a1326['model'][_0x5cfd('0x28')][_0x5cfd('0x4f')](_0xfe84c3,_0x5cfd('0xb')),_0x13692e=_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x28')][_0x5cfd('0x4f')](_0xff5ac1,_0x5cfd('0x5d'));_0x4ee611['isCollapsed']&&(_0xfe84c3=_0x4ee611[_0x5cfd('0x36')]),_0x13692e[_0x5cfd('0x45')]&&(_0xff5ac1=_0x13692e[_0x5cfd('0x8')]),_0xe96caa([_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x5a')](_0xfe84c3,_0xff5ac1)]);}),_0x573d9d['_suggestionFactory']['registerCustomCallback'](_0x5cfd('0x51'),_0x5cfd('0x47'),'chain',_0x288a1b),_0x573d9d[_0x5cfd('0x21')]['registerCustomCallback']('insertion',_0x5cfd('0x47'),_0x5cfd('0x12'),_0x288a1b)),_0x4a1326[_0x5cfd('0x29')]['has'](_0x5cfd('0x49'))&&(_0x573d9d[_0x5cfd('0x40')]('toggleImageCaption',(_0x44b503,_0xee17ad)=>{const _0x3f3f9f=_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x32')](_0x5cfd('0x1a'));let _0x522c15=_0x189906[_0x5cfd('0x19')](_0x4a1326['model']['document'][_0x5cfd('0x15')]),_0x53f30e=_0x3f3f9f['getCaptionFromImageModelElement'](_0x522c15);_0x4a1326[_0x5cfd('0x23')]['change'](()=>{if(_0x53f30e)return void _0x573d9d[_0x5cfd('0x41')](_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x37')](_0x53f30e));const _0x1eff72=_0x189906[_0x5cfd('0x2d')](_0x522c15);_0x44b503(_0xee17ad),_0x522c15=_0x189906['getClosestSelectedImageElement'](_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x2')]['selection']),_0x53f30e=_0x3f3f9f[_0x5cfd('0x56')](_0x522c15),_0x573d9d[_0x5cfd('0x30')](_0x4a1326[_0x5cfd('0x23')][_0x5cfd('0x37')](_0x53f30e),_0x1eff72?null:'imageCaption');});}),_0x573d9d[_0x5cfd('0x21')]['registerCustomCallback']('insertion',_0x5cfd('0xe'),_0x5cfd('0x12'),_0x288a1b));const _0x33d072=[{'type':'formatBlock','subType':_0x5cfd('0x4')},{'type':_0x5cfd('0x3'),'subType':_0x5cfd('0xe')},{'type':'formatBlock','subType':_0x5cfd('0x47')},{'type':_0x5cfd('0x3'),'subType':'convertInlineImageToBlock'}];function _0x20f63a(_0x6b4721,_0x762338){const _0x2ff7f3=_0x33d072[_0x5cfd('0x59')](({type:_0x499df6,subType:_0x1d2015})=>_0x6b4721[_0x5cfd('0x4d')]==_0x499df6&&_0x6b4721[_0x5cfd('0x35')]==_0x1d2015),_0x4bcfac=_0x33d072[_0x5cfd('0x59')](({type:_0x368adf,subType:_0x57d6c2})=>_0x762338[_0x5cfd('0x4d')]==_0x368adf&&_0x762338[_0x5cfd('0x35')]==_0x57d6c2);if(_0x2ff7f3<0x0||_0x4bcfac<0x0)return!0x1;const _0x5caecc=_0x6b4721[_0x5cfd('0x20')](),_0x3d58b0=_0x762338[_0x5cfd('0x20')]();if((0x0==_0x2ff7f3||0x1==_0x2ff7f3)&&0x2==_0x4bcfac&&_0x5caecc[_0x5cfd('0x3a')](_0x3d58b0))return!0x0;if(0x2==_0x2ff7f3&&0x3==_0x4bcfac){const _0x2f7414=_0x573d9d['_findSuggestions'](_0x5caecc,_0x5cfd('0x3'))[_0x5cfd('0x13')](({suggestion:_0x3b0105,meta:_0xd254e8})=>_0xd254e8[_0x5cfd('0xc')]&&_0x5cfd('0x47')==_0x3b0105[_0x5cfd('0x35')]);if(_0x2f7414[_0x5cfd('0x2e')]>0x1&&_0x3d58b0[_0x5cfd('0x8')]['isEqual'](_0x5caecc[_0x5cfd('0x36')]))return!0x0;if(0x1==_0x2f7414['length']&&(_0x5caecc['start'][_0x5cfd('0x22')](_0x3d58b0['end'])||_0x5caecc[_0x5cfd('0x8')]['isEqual'](_0x3d58b0[_0x5cfd('0x36')])))return!0x0;}if(0x3==_0x2ff7f3&&0x3==_0x4bcfac&&_0x5caecc[_0x5cfd('0x36')][_0x5cfd('0x2a')](_0x3d58b0[_0x5cfd('0x36')])){const _0x41083d=_0x5caecc[_0x5cfd('0x8')][_0x5cfd('0x39')],_0x439fe2=_0x3d58b0[_0x5cfd('0x36')]['nodeBefore'];return _0x189906[_0x5cfd('0x2d')](_0x41083d)&&_0x41083d===_0x439fe2;}return!0x1;}function _0x288a1b(_0x412a44,_0x86af30){return _0x20f63a(_0x412a44,_0x86af30)?[_0x412a44,_0x86af30]:_0x20f63a(_0x86af30,_0x412a44)?[_0x86af30,_0x412a44]:null;}_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')](_0x5cfd('0x4a'))&&(_0x573d9d['_enableDefaultAttributesIntegration']('resizeImage',[],[_0x5cfd('0xd')]),_0x573d9d[_0x5cfd('0x5')][_0x5cfd('0x1d')](_0x5cfd('0xd'),_0x4f8721(_0x59bb63,_0x5cfd('0x5f')))),_0x4a1326[_0x5cfd('0x29')][_0x5cfd('0x3d')]('ImageTextAlternativeEditing')&&_0x573d9d['_enableDefaultAttributesIntegration']('imageTextAlternative',[],[_0x5cfd('0x44')]),_0x573d9d[_0x5cfd('0x5')][_0x5cfd('0x4e')](_0x3e2c02=>{if(!!_0x33d072['find'](({type:_0x141e6f,subType:_0x2b25cb})=>_0x3e2c02['type']==_0x141e6f&&_0x3e2c02[_0x5cfd('0x35')]==_0x2b25cb))return _0x3e2c02[_0x5cfd('0x2c')]?{}:void 0x0;}),_0x573d9d[_0x5cfd('0x5')]['registerDescriptionCallback'](_0x38d1ce=>{if('insertion'==_0x38d1ce[_0x5cfd('0x4d')]||_0x5cfd('0x48')==_0x38d1ce[_0x5cfd('0x4d')]){const _0x36ed67=_0x38d1ce[_0x5cfd('0x6')]();if(_0x36ed67&&_0x36ed67['is'](_0x5cfd('0x58'),'caption'))return{'type':_0x5cfd('0x3')==_0x38d1ce[_0x5cfd('0x4d')]?'addObject':'removeObject','element':_0x36ed67,'quantity':0x1};}}),_0x573d9d[_0x5cfd('0x5')][_0x5cfd('0x4e')](_0xa43489=>_0x5cfd('0x51')==_0xa43489[_0x5cfd('0x4d')]&&'convertInlineImageToBlock'==_0xa43489[_0x5cfd('0x35')]?{'type':_0x5cfd('0x33'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x5cfd('0x51')==_0xa43489[_0x5cfd('0x4d')]&&_0x5cfd('0x17')==_0xa43489[_0x5cfd('0x35')]?{'type':_0x5cfd('0x33'),'content':_0x5cfd('0x2b')}:void 0x0),_0x573d9d[_0x5cfd('0x5')][_0x5cfd('0x4e')](_0x576720=>{if(_0x5cfd('0x5b')!=_0x576720['type'])return;const {data:_0x50b187}=_0x576720;if(!_0x50b187||_0x5cfd('0x44')!=_0x50b187[_0x5cfd('0x50')])return;const _0x12d7ac=_0x50b187['newValue'];return _0x12d7ac?{'type':_0x5cfd('0x33'),'content':_0x4f8721(_0x59bb63,_0x5cfd('0x42'),'\x22'+_0x12d7ac+'\x22')}:{'type':_0x5cfd('0x33'),'content':_0x4f8721(_0x59bb63,_0x5cfd('0x11'))};}),this[_0x5cfd('0x3c')]();}['_registerLegacyDescription'](){const _0x405cda=this[_0x5cfd('0x3b')],_0x513960=_0x405cda['locale'];_0x405cda[_0x5cfd('0x29')][_0x5cfd('0x32')](_0x5cfd('0x1b'))[_0x5cfd('0x5')][_0x5cfd('0x4e')](_0x538524=>{if(_0x5cfd('0x51')!=_0x538524[_0x5cfd('0x4d')]&&_0x5cfd('0x4b')!=_0x538524[_0x5cfd('0x4d')])return;const {data:_0x570066}=_0x538524;if(_0x570066){if(_0x5cfd('0x53')==_0x570066[_0x5cfd('0x38')]){const _0x4030e2=_0x570066[_0x5cfd('0xa')][0x0][_0x5cfd('0x9')];return _0x4030e2?{'type':'format','content':_0x4f8721(_0x513960,_0x5cfd('0x42'),'\x22'+_0x4030e2+'\x22')}:{'type':_0x5cfd('0x33'),'content':_0x4f8721(_0x513960,_0x5cfd('0x11'))};}if(_0x5cfd('0x7')==_0x570066[_0x5cfd('0x38')]){const _0x56c10f=_0x570066[_0x5cfd('0xa')][0x0][_0x5cfd('0x1c')];return _0x56c10f?{'type':_0x5cfd('0x33'),'content':_0x4f8721(_0x513960,_0x5cfd('0x57'),_0x56c10f)}:{'type':'format','content':_0x4f8721(_0x513960,_0x5cfd('0x3e'))};}}});}}
|
|
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'))};}}});}}
|