@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240424.0 → 0.0.0-nightly-20240426.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/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +23 -0
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.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/multilevellist.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
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a20ec=_0x4f6e;function _0x4f6e(_0x49eba0,_0x24cc33){const _0x897782=_0x8977();return _0x4f6e=function(_0x4f6edb,_0x1d8cff){_0x4f6edb=_0x4f6edb-0x1eb;let _0x211601=_0x897782[_0x4f6edb];return _0x211601;},_0x4f6e(_0x49eba0,_0x24cc33);}(function(_0x58044b,_0x238425){const _0x54f7a4=_0x4f6e,_0x39cf57=_0x58044b();while(!![]){try{const _0xb26daf=parseInt(_0x54f7a4(0x237))/0x1*(parseInt(_0x54f7a4(0x1f3))/0x2)+parseInt(_0x54f7a4(0x24a))/0x3*(-parseInt(_0x54f7a4(0x248))/0x4)+parseInt(_0x54f7a4(0x207))/0x5+parseInt(_0x54f7a4(0x201))/0x6*(parseInt(_0x54f7a4(0x242))/0x7)+parseInt(_0x54f7a4(0x1ff))/0x8+-parseInt(_0x54f7a4(0x22f))/0x9+parseInt(_0x54f7a4(0x236))/0xa*(parseInt(_0x54f7a4(0x263))/0xb);if(_0xb26daf===_0x238425)break;else _0x39cf57['push'](_0x39cf57['shift']());}catch(_0x5e99d4){_0x39cf57['push'](_0x39cf57['shift']());}}}(_0x8977,0xeef5c));function _0x8977(){const _0x3fc054=['get','97866UcWpZk','hasSuggestion','_descriptionFactory','TrackChangesEditing','focus','arrowView','delete','panelView','getDescriptions','activeMarkers','source','mainView','keys','editing','comments.maxCommentCharsWhenCollapsed','some','menuBar:trackChanges','createAnnotation','createAnnotationView','from','change:previous','suggestionChanged','registerAnnotation','acceptButton','pluginName','2519CydCeK','plugins','Track\x20changes','previous','view','comments','set','getMarkerNames','isOn','CommentView','getMarkers','isDirty','acceptSelectedSuggestions','items','separator','isInContent','commands','config','getByInnerView','_unbindEditors','buttonView','discardButton','change:activeAnnotations','switchbutton','init','size','_bindAnnotationToEditors','value','_createToolbarButton','_addUIComponentsToFactory','editor','6PWuQKS','CommentsUI','Discard\x20all\x20selected\x20suggestions','unbind','TrackChangesUI','descriptionParts','_handleSuggestionControllerDelayed','_annotationViews','suggestion-','Discard\x20all\x20suggestions','innerView','trackChanges.SuggestionThreadView','3846384ZxEQaX','model','1365246JtxOTn','requires','_disableComments','stopListening','_suggestionToController','_createMenuBarMenu','4107625LQzisD','getFirstRange','lowest','button','has','children','createCommentThreadController','clear','Accept\x20all\x20selected\x20suggestions','addComment','actionView','activeAnnotations','comments.maxThreadTotalWeight','addSourceCollector','acceptAllSuggestions','listenTo','commandName','Accept\x20all\x20suggestions','filter','componentFactory','_refreshActiveMarkers','add','push','reduce','getSuggestion','destroy','_destroyController','commentThread','getJoined','getRanges','_handleControllerBuffer','execute','isEnabled','isMultiRange','discardSelectedSuggestions','getAllAdjacentSuggestions','_initializeController','refreshSelectedViews','values','comments.editorConfig','14772375VIhppK','CommentsRepository','Annotations','type','discardAllSuggestions','suggestionLoaded','_updateController','109330LOArCw','148696ViUVDE','bind','suggestionUnloaded','remove','locale','trackChanges','trackChanges.disableComments','length','define','_viewToController','EditorAnnotations','7UUYfDC','toMany','comments.maxCommentsWhenCollapsed','SuggestionThreadView','head','delegate','228XgzlUf'];_0x8977=function(){return _0x3fc054;};return _0x8977();}import{Plugin as _0x170d0f}from'ckeditor5/src/core.js';import{Collection as _0x2f3955}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x11c53c,createDropdown as _0x56e4ac,ListSeparatorView as _0x3c72cd,MenuBarMenuView as _0x3668ef,MenuBarMenuListView as _0xc71dec,MenuBarMenuListItemView as _0x2dc3a5,MenuBarMenuListItemButtonView as _0x471402,SplitButtonView as _0x9f16a2,ViewModel as _0x19cb35}from'ckeditor5/src/ui.js';import{Users as _0x1d50f8,getDateTimeFormatter as _0x12dd9e,getAllMarkersDomElementsSorted as _0x3aa3b9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x56ba0a from'./trackchangesediting.js';import _0x3e9531 from'./ui/suggestioncontroller.js';import _0x5e3aee from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2eb14b}from'./utils/common-translations.js';import _0x20f5c7 from'../theme/icons/track-changes.svg';export default class d extends _0x170d0f{static get[_0x1a20ec(0x202)](){const _0x29d4c5=_0x1a20ec;return[_0x56ba0a,_0x1d50f8,_0x29d4c5(0x230),_0x29d4c5(0x231),_0x29d4c5(0x241)];}static get[_0x1a20ec(0x262)](){const _0x367ccd=_0x1a20ec;return _0x367ccd(0x1f7);}constructor(_0x50970e){const _0x5be563=_0x1a20ec;super(_0x50970e),this[_0x5be563(0x205)]=new Map(),this[_0x5be563(0x240)]=new Map(),this[_0x5be563(0x1fa)]=new Map(),this[_0x5be563(0x225)]=new Map();const _0x1dfa48=this[_0x5be563(0x1f2)][_0x5be563(0x274)];_0x1dfa48[_0x5be563(0x23f)](_0x5be563(0x1fe),_0x5e3aee),_0x1dfa48[_0x5be563(0x23f)](_0x5be563(0x23d),!0x1),this[_0x5be563(0x203)]=_0x1dfa48[_0x5be563(0x249)](_0x5be563(0x23d));}[_0x1a20ec(0x1f9)](_0x394b9b,_0x2976fb){const _0xa016d4=_0x1a20ec;0x0===this[_0xa016d4(0x225)][_0xa016d4(0x1ed)]&&setTimeout(()=>{const _0x1cc3a5=_0xa016d4;for(const [_0x1d5c65,_0x271a1c]of this[_0x1cc3a5(0x225)]){const _0x21fa8f=this[_0x1cc3a5(0x205)][_0x1cc3a5(0x20b)](_0x1d5c65);_0x21fa8f||_0x271a1c?_0x21fa8f&&_0x271a1c&&this[_0x1cc3a5(0x221)](_0x1d5c65):this[_0x1cc3a5(0x22b)](_0x1d5c65);}this[_0x1cc3a5(0x225)][_0x1cc3a5(0x20e)](),this[_0x1cc3a5(0x1f2)][_0x1cc3a5(0x264)][_0x1cc3a5(0x249)](_0x1cc3a5(0x241))[_0x1cc3a5(0x22c)](),this[_0x1cc3a5(0x21b)]();},0xa),this[_0xa016d4(0x225)][_0xa016d4(0x269)](_0x394b9b,_0x2976fb);}[_0x1a20ec(0x1ec)](){const _0x2aae43=_0x1a20ec,_0x3aeb10=this[_0x2aae43(0x1f2)],_0x212a0c=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x24d)),_0x53e352=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x231)),_0x23b963=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x241)),_0x2ee207=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x230));this[_0x2aae43(0x1f1)](),_0x23b963[_0x2aae43(0x214)](()=>{const _0x5aa19f=_0x2aae43,_0x311cd3=[];for(const [_0x2aca21,_0x589b6d]of Array[_0x5aa19f(0x25d)](this[_0x5aa19f(0x205)])){const _0x561f83=_0x2aca21[_0x5aa19f(0x22a)](),_0xf6ea8e=[];for(const _0x1d0c00 of _0x561f83){if(!_0x1d0c00[_0x5aa19f(0x272)])continue;if(_0x1d0c00[_0x5aa19f(0x228)]){_0xf6ea8e[_0x5aa19f(0x21d)](..._0x1d0c00[_0x5aa19f(0x224)]());continue;}const _0x2b9d1b=_0x1d0c00[_0x5aa19f(0x208)]();if(_0xf6ea8e[_0x5aa19f(0x23e)]>0x0){const _0x177e35=_0xf6ea8e[0x0][_0x5aa19f(0x223)](_0x2b9d1b);if(_0x177e35){_0xf6ea8e[0x0]=_0x177e35;continue;}}_0xf6ea8e[_0x5aa19f(0x21d)](_0x2b9d1b);}_0x311cd3[_0x5aa19f(0x21d)]([_0x589b6d[_0x5aa19f(0x267)],_0xf6ea8e]);}return _0x311cd3;}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x234),(_0x15f509,_0x5b8e10)=>{const _0x35006e=_0x2aae43;this[_0x35006e(0x216)](_0x5b8e10,_0x35006e(0x25e),(_0x22f723,_0x385bec,_0x4c7cb5,_0x5a82fc)=>{const _0xbbebd9=_0x35006e;_0x5b8e10[_0xbbebd9(0x272)]&&(null==_0x4c7cb5?(this[_0xbbebd9(0x235)](_0x5a82fc[_0xbbebd9(0x246)]),this[_0xbbebd9(0x1f9)](_0x5b8e10,!0x1)):(this[_0xbbebd9(0x235)](_0x4c7cb5[_0xbbebd9(0x246)]),null==_0x5a82fc&&this[_0xbbebd9(0x1f9)](_0x5b8e10,!0x0)));}),null!==_0x5b8e10[_0x35006e(0x266)]?this[_0x35006e(0x235)](_0x5b8e10[_0x35006e(0x246)]):this[_0x35006e(0x1f9)](_0x5b8e10,!0x1);}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x239),(_0x205bf0,_0x26e51d,_0x4e9123)=>{const _0x52bb58=_0x2aae43;this[_0x52bb58(0x204)](_0x26e51d,_0x52bb58(0x25e)),this[_0x52bb58(0x225)][_0x52bb58(0x250)](_0x26e51d),this[_0x52bb58(0x205)][_0x52bb58(0x20b)](_0x26e51d)&&this[_0x52bb58(0x221)](_0x26e51d),_0x4e9123&&this[_0x52bb58(0x235)](_0x4e9123[_0x52bb58(0x246)]);}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x25f),(_0x4e85d7,_0x5e10b3)=>{const _0x259274=_0x2aae43;this[_0x259274(0x235)](_0x5e10b3);}),this[_0x2aae43(0x216)](_0x53e352,_0x2aae43(0x279),()=>{const _0x430d5e=_0x2aae43;this[_0x430d5e(0x21b)]();}),this[_0x2aae43(0x216)](_0x2ee207,_0x2aae43(0x210),(_0x1e6c1a,{threadId:_0x1246ad,isFromAdapter:_0x3a6f22})=>{const _0x2c36b8=_0x2aae43;if(_0x3a6f22||!_0x212a0c[_0x2c36b8(0x24b)](_0x1246ad))return;const _0x226f0c=_0x212a0c[_0x2c36b8(0x21f)](_0x1246ad);this[_0x2c36b8(0x205)][_0x2c36b8(0x249)](_0x226f0c)[_0x2c36b8(0x267)][_0x2c36b8(0x24e)]();},{'priority':_0x2aae43(0x209)});}[_0x1a20ec(0x21b)](){const _0x63b9e=_0x1a20ec,_0x103ff2=this[_0x63b9e(0x1f2)][_0x63b9e(0x264)][_0x63b9e(0x249)](_0x63b9e(0x231)),_0x40763c=this[_0x63b9e(0x1f2)][_0x63b9e(0x264)][_0x63b9e(0x249)](_0x63b9e(0x24d)),_0x3920a5=Array[_0x63b9e(0x25d)](_0x103ff2[_0x63b9e(0x212)],_0x41134e=>_0x41134e[_0x63b9e(0x1fd)])[_0x63b9e(0x219)](_0xb5ff42=>this[_0x63b9e(0x240)][_0x63b9e(0x20b)](_0xb5ff42)),_0x40b02c=[];for(const _0x19d65b of _0x3920a5){const _0x56de1f=this[_0x63b9e(0x240)][_0x63b9e(0x249)](_0x19d65b)[_0x63b9e(0x200)][_0x63b9e(0x22a)]();_0x40b02c[_0x63b9e(0x21d)](..._0x56de1f[_0x63b9e(0x21e)]((_0x5b53d1,_0x5d48c4)=>[..._0x5b53d1,..._0x5d48c4[_0x63b9e(0x26a)]()],[]));}_0x40763c[_0x63b9e(0x253)]=_0x40b02c;}[_0x1a20ec(0x1f1)](){const _0x4c06d5=_0x1a20ec,_0x3f677d=this[_0x4c06d5(0x1f2)],_0x36dba3=_0x3f677d[_0x4c06d5(0x23b)],_0x9ca5c0=_0x2eb14b(_0x36dba3,_0x4c06d5(0x265)),_0x4e0c83=new _0x2f3955([{'type':_0x4c06d5(0x1eb),'model':new _0x19cb35({'withText':!0x0,'label':_0x9ca5c0,'commandName':_0x4c06d5(0x23c)})},{'type':_0x4c06d5(0x271)},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x218)),'commandName':_0x4c06d5(0x215)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x20f)),'commandName':_0x4c06d5(0x26f)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x1fc)),'commandName':_0x4c06d5(0x233)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x1f5)),'commandName':_0x4c06d5(0x229)})}]);for(const _0x47c477 of _0x4e0c83)if(ae(_0x47c477)){const _0x36ea25=_0x3f677d[_0x4c06d5(0x273)][_0x4c06d5(0x249)](_0x47c477[_0x4c06d5(0x200)][_0x4c06d5(0x217)]);_0x47c477[_0x4c06d5(0x200)][_0x4c06d5(0x238)](_0x4c06d5(0x26b),_0x4c06d5(0x227))['to'](_0x36ea25,_0x4c06d5(0x1ef),_0x4c06d5(0x227));}_0x3f677d['ui'][_0x4c06d5(0x21a)][_0x4c06d5(0x21c)](_0x4c06d5(0x23c),_0x15a8a3=>this[_0x4c06d5(0x1f0)](_0x15a8a3,_0x4e0c83,_0x9ca5c0)),_0x3f677d['ui'][_0x4c06d5(0x21a)][_0x4c06d5(0x21c)](_0x4c06d5(0x25a),_0x3da9e7=>this[_0x4c06d5(0x206)](_0x3da9e7,_0x4e0c83,_0x9ca5c0));}[_0x1a20ec(0x1f0)](_0x31e651,_0x1e48fe,_0x5452e7){const _0x400a49=_0x1a20ec,_0x48cf9b=_0x56e4ac(_0x31e651,_0x9f16a2),_0x31ec38=this[_0x400a49(0x1f2)][_0x400a49(0x273)][_0x400a49(0x249)](_0x400a49(0x23c));_0x48cf9b[_0x400a49(0x277)][_0x400a49(0x269)]({'tooltip':_0x5452e7,'label':_0x5452e7,'icon':_0x20f5c7}),_0x48cf9b[_0x400a49(0x277)][_0x400a49(0x238)](_0x400a49(0x26b))['to'](_0x31ec38,_0x400a49(0x1ef)),_0x48cf9b[_0x400a49(0x277)]['on'](_0x400a49(0x226),()=>{const _0x126a94=_0x400a49;_0x31ec38[_0x126a94(0x226)](),this[_0x126a94(0x1f2)][_0x126a94(0x257)][_0x126a94(0x267)][_0x126a94(0x24e)]();}),_0x11c53c(_0x48cf9b,_0x1e48fe);const _0x47f71c=[];for(const _0x1b6c00 of _0x1e48fe)ae(_0x1b6c00)&&_0x47f71c[_0x400a49(0x21d)](this[_0x400a49(0x1f2)][_0x400a49(0x273)][_0x400a49(0x249)](_0x1b6c00[_0x400a49(0x200)][_0x400a49(0x217)]));const _0x10acbc=_0x48cf9b[_0x400a49(0x277)];return _0x10acbc[_0x400a49(0x211)][_0x400a49(0x1f6)](_0x400a49(0x227)),_0x10acbc[_0x400a49(0x24f)][_0x400a49(0x1f6)](_0x400a49(0x227)),_0x10acbc[_0x400a49(0x211)][_0x400a49(0x238)](_0x400a49(0x227))['to'](_0x31ec38,_0x400a49(0x227)),_0x10acbc[_0x400a49(0x24f)][_0x400a49(0x238)](_0x400a49(0x227))[_0x400a49(0x243)](_0x47f71c,_0x400a49(0x227),(..._0xba156a)=>_0xba156a[_0x400a49(0x259)](_0x3b5a95=>_0x3b5a95)),_0x48cf9b['on'](_0x400a49(0x226),_0x1379ac=>{const _0x4d2181=_0x400a49;this[_0x4d2181(0x1f2)][_0x4d2181(0x226)](_0x1379ac[_0x4d2181(0x254)][_0x4d2181(0x217)]),this[_0x4d2181(0x1f2)][_0x4d2181(0x257)][_0x4d2181(0x267)][_0x4d2181(0x24e)]();}),_0x48cf9b;}[_0x1a20ec(0x206)](_0x5b1a61,_0x3f058d,_0x14db1f){const _0x272407=_0x1a20ec,_0x5bfa82=new _0x3668ef(_0x5b1a61),_0x594c89=this[_0x272407(0x1f2)][_0x272407(0x273)][_0x272407(0x249)](_0x272407(0x23c));_0x5bfa82[_0x272407(0x277)][_0x272407(0x269)]({'label':_0x14db1f,'icon':_0x20f5c7});const _0x3c8737=new _0xc71dec(_0x5b1a61);for(const _0x18bc67 of _0x3f058d){if(_0x272407(0x271)==_0x18bc67[_0x272407(0x232)]){_0x3c8737[_0x272407(0x270)][_0x272407(0x21c)](new _0x3c72cd(_0x5b1a61));continue;}const _0x3af982=new _0x2dc3a5(_0x5b1a61,_0x5bfa82),_0x25d8b6=new _0x471402(_0x5b1a61),_0x1f4276=_0x18bc67[_0x272407(0x200)];_0x25d8b6[_0x272407(0x238)](...Object[_0x272407(0x256)](_0x1f4276))['to'](_0x1f4276),_0x25d8b6[_0x272407(0x247)](_0x272407(0x226))['to'](_0x5bfa82),_0x25d8b6['on'](_0x272407(0x226),()=>{const _0x542754=_0x272407;this[_0x542754(0x1f2)][_0x542754(0x226)](_0x1f4276[_0x542754(0x217)]),this[_0x542754(0x1f2)][_0x542754(0x257)][_0x542754(0x267)][_0x542754(0x24e)]();}),_0x3af982[_0x272407(0x20c)][_0x272407(0x21c)](_0x25d8b6),_0x3c8737[_0x272407(0x270)][_0x272407(0x21c)](_0x3af982);}return _0x5bfa82[_0x272407(0x238)](_0x272407(0x227))['to'](_0x594c89,_0x272407(0x227)),_0x5bfa82[_0x272407(0x251)][_0x272407(0x20c)][_0x272407(0x21c)](_0x3c8737),_0x5bfa82;}[_0x1a20ec(0x22b)](_0x1ed95e){const _0x54d224=_0x1a20ec,_0x34d426=this[_0x54d224(0x1f2)],_0x42f387=_0x34d426[_0x54d224(0x274)],_0x484eb2=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x231)),_0x1ccb1b=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x230)),_0x570f2a=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x241)),_0x4ccf09=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x1d50f8)['me'],_0x4d58f2=_0x42f387[_0x54d224(0x249)](_0x54d224(0x23c))[_0x54d224(0x245)],{CommentsListView:_0x9ad3a8,CommentThreadInputView:_0x499a90}=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x1f4));let _0x4e63a8,_0x1dea6d;this[_0x54d224(0x1fa)][_0x54d224(0x20b)](_0x1ed95e['id'])?(_0x1dea6d=this[_0x54d224(0x1fa)][_0x54d224(0x249)](_0x1ed95e['id']),_0x4e63a8=_0x1dea6d[_0x54d224(0x255)]):(_0x4e63a8=new _0x4d58f2(_0x34d426[_0x54d224(0x23b)],_0x1ed95e,_0x4ccf09,{'disableComments':this[_0x54d224(0x203)],'editorConfig':_0x42f387[_0x54d224(0x249)](_0x54d224(0x22e)),'maxCommentsWhenCollapsed':_0x42f387[_0x54d224(0x249)](_0x54d224(0x244)),'maxThreadTotalWeight':_0x42f387[_0x54d224(0x249)](_0x54d224(0x213)),'maxCommentCharsWhenCollapsed':_0x42f387[_0x54d224(0x249)](_0x54d224(0x258)),'formatDateTime':_0x12dd9e(_0x42f387[_0x54d224(0x249)](_0x54d224(0x23b))),'CommentView':_0x42f387[_0x54d224(0x249)](_0x54d224(0x268))[_0x54d224(0x26c)],'CommentsListView':_0x9ad3a8,'CommentThreadInputView':_0x499a90}),_0x4e63a8[_0x54d224(0x261)]['on'](_0x54d224(0x226),()=>{const _0x2b3f86=_0x54d224;_0x34d426[_0x2b3f86(0x257)][_0x2b3f86(0x267)][_0x2b3f86(0x24e)]();}),_0x4e63a8[_0x54d224(0x278)]['on'](_0x54d224(0x226),()=>{const _0x15bd36=_0x54d224;_0x34d426[_0x15bd36(0x257)][_0x15bd36(0x267)][_0x15bd36(0x24e)]();}),_0x1dea6d=_0x484eb2[_0x54d224(0x25c)](this[_0x54d224(0x1f2)][_0x54d224(0x23b)],_0x4e63a8),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x26e))['to'](_0x4e63a8,_0x54d224(0x26e)),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x23e))['to'](_0x4e63a8),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x232))['to'](_0x4e63a8,_0x54d224(0x232),_0x226b0e=>_0x54d224(0x1fb)+_0x226b0e),this[_0x54d224(0x1fa)][_0x54d224(0x269)](_0x1ed95e['id'],_0x1dea6d));const _0x1051ca=_0x1ccb1b[_0x54d224(0x20d)](_0x1ed95e[_0x54d224(0x222)],_0x4e63a8),_0x46dd60=new _0x3e9531(_0x34d426,_0x1ed95e,_0x4e63a8,_0x1051ca),_0x286be3=_0x1ed95e[_0x54d224(0x22a)]()[_0x54d224(0x219)](_0x4cfe16=>_0x4cfe16[_0x54d224(0x272)]);_0x4e63a8[_0x54d224(0x1f8)]=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x24d))[_0x54d224(0x24c)][_0x54d224(0x252)](_0x286be3),this[_0x54d224(0x205)][_0x54d224(0x269)](_0x1ed95e,_0x46dd60),this[_0x54d224(0x240)][_0x54d224(0x269)](_0x4e63a8,_0x46dd60);const _0x4d0778=_0x484eb2[_0x54d224(0x25b)]({'view':_0x1dea6d,'target':()=>{const _0x1ece0e=_0x54d224,_0x2fe257=[],_0x39011c=_0x1ed95e[_0x1ece0e(0x22a)]()[_0x1ece0e(0x219)](_0x11c408=>_0x11c408[_0x1ece0e(0x272)]);for(const _0x8c70d7 of _0x39011c)_0x2fe257[_0x1ece0e(0x21d)](..._0x8c70d7[_0x1ece0e(0x26d)]());return _0x3aa3b9(_0x34d426[_0x1ece0e(0x257)],_0x2fe257);},'type':()=>_0x54d224(0x1fb)+_0x46dd60[_0x54d224(0x267)][_0x54d224(0x232)]});_0x1ccb1b[_0x54d224(0x1ee)](_0x4e63a8,_0x4d0778),_0x484eb2[_0x54d224(0x21c)](_0x4d0778),_0x570f2a[_0x54d224(0x260)](_0x4d0778);}[_0x1a20ec(0x221)](_0x28c1a1){const _0x5a2e61=_0x1a20ec,_0x5e93f2=this[_0x5a2e61(0x1f2)][_0x5a2e61(0x264)][_0x5a2e61(0x249)](_0x5a2e61(0x230)),_0x56ced9=this[_0x5a2e61(0x1f2)][_0x5a2e61(0x264)][_0x5a2e61(0x249)](_0x5a2e61(0x231)),_0xd7d8aa=this[_0x5a2e61(0x205)][_0x5a2e61(0x249)](_0x28c1a1),_0x135db6=_0xd7d8aa[_0x5a2e61(0x267)],_0x353de3=_0x56ced9[_0x5a2e61(0x275)](_0x135db6);_0x5e93f2[_0x5a2e61(0x276)](_0x135db6),_0x353de3&&_0x56ced9[_0x5a2e61(0x23a)](_0x353de3),this[_0x5a2e61(0x205)][_0x5a2e61(0x250)](_0x28c1a1),this[_0x5a2e61(0x240)][_0x5a2e61(0x250)](_0x135db6),_0xd7d8aa[_0x5a2e61(0x220)]();}[_0x1a20ec(0x235)](_0x491308){const _0x1ab396=_0x1a20ec;if(!_0x491308[_0x1ab396(0x272)]||!this[_0x1ab396(0x205)][_0x1ab396(0x20b)](_0x491308))return;const _0x4146ed=this[_0x1ab396(0x1f2)][_0x1ab396(0x264)][_0x1ab396(0x249)](_0x1ab396(0x24d)),_0x238459=this[_0x1ab396(0x205)][_0x1ab396(0x249)](_0x491308),_0x5b17f2=_0x491308[_0x1ab396(0x22a)]();_0x238459[_0x1ab396(0x267)][_0x1ab396(0x1f8)]=_0x4146ed[_0x1ab396(0x24c)][_0x1ab396(0x252)](_0x5b17f2);}[_0x1a20ec(0x220)](){const _0x18b569=_0x1a20ec;for(const _0x203adc of this[_0x18b569(0x205)][_0x18b569(0x256)]())this[_0x18b569(0x221)](_0x203adc);for(const _0x2f0f96 of this[_0x18b569(0x1fa)][_0x18b569(0x22d)]())_0x2f0f96[_0x18b569(0x255)][_0x18b569(0x220)]();super[_0x18b569(0x220)]();}}function ae(_0x36b73c){const _0x2ca5fe=_0x1a20ec;return _0x2ca5fe(0x200)in _0x36b73c;}
|
|
23
|
+
const _0x4a8cb1=_0x80a2;(function(_0x46508f,_0x5d11b1){const _0x3fbd42=_0x80a2,_0x3f84df=_0x46508f();while(!![]){try{const _0xf03d45=-parseInt(_0x3fbd42(0x1bc))/0x1*(parseInt(_0x3fbd42(0x1ea))/0x2)+parseInt(_0x3fbd42(0x1fd))/0x3+parseInt(_0x3fbd42(0x1a6))/0x4+parseInt(_0x3fbd42(0x204))/0x5+-parseInt(_0x3fbd42(0x21f))/0x6+-parseInt(_0x3fbd42(0x1c9))/0x7*(-parseInt(_0x3fbd42(0x1c0))/0x8)+parseInt(_0x3fbd42(0x1d5))/0x9;if(_0xf03d45===_0x5d11b1)break;else _0x3f84df['push'](_0x3f84df['shift']());}catch(_0x2248db){_0x3f84df['push'](_0x3f84df['shift']());}}}(_0x4dc3,0xe3733));import{Plugin as _0x3f77dd}from'ckeditor5/src/core.js';import{Collection as _0x1d274b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2c8851,createDropdown as _0x3a0532,ListSeparatorView as _0x40d9fc,MenuBarMenuView as _0x34b74c,MenuBarMenuListView as _0x522693,MenuBarMenuListItemView as _0x34c738,MenuBarMenuListItemButtonView as _0x2f974d,SplitButtonView as _0x40ca27,ViewModel as _0x34573f}from'ckeditor5/src/ui.js';import{Users as _0x5ba7a6,getDateTimeFormatter as _0x432b06,getAllMarkersDomElementsSorted as _0x556ea6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x280af4 from'./trackchangesediting.js';function _0x80a2(_0xd0f8eb,_0x2540d6){const _0x4dc3f3=_0x4dc3();return _0x80a2=function(_0xf35bdd,_0x3e2da9){_0xf35bdd=_0xf35bdd-0x19a;let _0x36a9de=_0x4dc3f3[_0xf35bdd];return _0x36a9de;},_0x80a2(_0xd0f8eb,_0x2540d6);}import _0x10dfc1 from'./ui/suggestioncontroller.js';import _0x4dcb0c from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5a025f}from'./utils/common-translations.js';import _0x3e93cc from'../theme/icons/track-changes.svg';export default class d extends _0x3f77dd{static get[_0x4a8cb1(0x1d3)](){const _0x5bd7bc=_0x4a8cb1;return[_0x280af4,_0x5ba7a6,_0x5bd7bc(0x1af),_0x5bd7bc(0x1e3),_0x5bd7bc(0x20d)];}static get[_0x4a8cb1(0x1ca)](){const _0x101b10=_0x4a8cb1;return _0x101b10(0x1f6);}constructor(_0x461149){const _0x54fe43=_0x4a8cb1;super(_0x461149),this[_0x54fe43(0x1fa)]=new Map(),this[_0x54fe43(0x1f1)]=new Map(),this[_0x54fe43(0x1d0)]=new Map(),this[_0x54fe43(0x1ac)]=new Map();const _0x348bc8=this[_0x54fe43(0x1c6)][_0x54fe43(0x1ce)];_0x348bc8[_0x54fe43(0x1d4)](_0x54fe43(0x213),_0x4dcb0c),_0x348bc8[_0x54fe43(0x1d4)](_0x54fe43(0x1a0),!0x1),this[_0x54fe43(0x1de)]=_0x348bc8[_0x54fe43(0x1cd)](_0x54fe43(0x1a0));}[_0x4a8cb1(0x20e)](_0x571c3c,_0x13b18e){const _0x22073a=_0x4a8cb1;0x0===this[_0x22073a(0x1ac)][_0x22073a(0x1b0)]&&setTimeout(()=>{const _0x16853b=_0x22073a;for(const [_0x3788fe,_0x4108e9]of this[_0x16853b(0x1ac)]){const _0x43e3f1=this[_0x16853b(0x1fa)][_0x16853b(0x19b)](_0x3788fe);_0x43e3f1||_0x4108e9?_0x43e3f1&&_0x4108e9&&this[_0x16853b(0x219)](_0x3788fe):this[_0x16853b(0x210)](_0x3788fe);}this[_0x16853b(0x1ac)][_0x16853b(0x209)](),this[_0x16853b(0x1c6)][_0x16853b(0x1b4)][_0x16853b(0x1cd)](_0x16853b(0x20d))[_0x16853b(0x208)](),this[_0x16853b(0x223)]();},0xa),this[_0x22073a(0x1ac)][_0x22073a(0x1b5)](_0x571c3c,_0x13b18e);}[_0x4a8cb1(0x19d)](){const _0x33dd21=_0x4a8cb1,_0x1bd438=this[_0x33dd21(0x1c6)],_0x5d455f=_0x1bd438[_0x33dd21(0x1b4)][_0x33dd21(0x1cd)](_0x33dd21(0x1ae)),_0xb6c3d3=_0x1bd438[_0x33dd21(0x1b4)][_0x33dd21(0x1cd)](_0x33dd21(0x1e3)),_0xcdcdc8=_0x1bd438[_0x33dd21(0x1b4)][_0x33dd21(0x1cd)](_0x33dd21(0x20d)),_0xbbc372=_0x1bd438[_0x33dd21(0x1b4)][_0x33dd21(0x1cd)](_0x33dd21(0x1af));this[_0x33dd21(0x1fc)](),_0xcdcdc8[_0x33dd21(0x19c)](()=>{const _0x3f357b=_0x33dd21,_0x5ad3ef=[];for(const [_0x56d389,_0x266d10]of Array[_0x3f357b(0x1ab)](this[_0x3f357b(0x1fa)])){const _0x41e354=_0x56d389[_0x3f357b(0x1d9)](),_0x49f5fe=[];for(const _0x20a3a5 of _0x41e354){if(!_0x20a3a5[_0x3f357b(0x1e2)])continue;if(_0x20a3a5[_0x3f357b(0x1b2)]){_0x49f5fe[_0x3f357b(0x1c4)](..._0x20a3a5[_0x3f357b(0x21c)]());continue;}const _0xed2630=_0x20a3a5[_0x3f357b(0x207)]();if(_0x49f5fe[_0x3f357b(0x1c5)]>0x0){const _0x297cd0=_0x49f5fe[0x0][_0x3f357b(0x19f)](_0xed2630);if(_0x297cd0){_0x49f5fe[0x0]=_0x297cd0;continue;}}_0x49f5fe[_0x3f357b(0x1c4)](_0xed2630);}_0x5ad3ef[_0x3f357b(0x1c4)]([_0x266d10[_0x3f357b(0x1a8)],_0x49f5fe]);}return _0x5ad3ef;}),this[_0x33dd21(0x1e5)](_0x5d455f,_0x33dd21(0x226),(_0x16ac53,_0x480216)=>{const _0x5334b9=_0x33dd21;this[_0x5334b9(0x1e5)](_0x480216,_0x5334b9(0x1b3),(_0x4d849d,_0x21b4c9,_0x454961,_0x36b7c5)=>{const _0x1e982a=_0x5334b9;_0x480216[_0x1e982a(0x1e2)]&&(null==_0x454961?(this[_0x1e982a(0x1e7)](_0x36b7c5[_0x1e982a(0x212)]),this[_0x1e982a(0x20e)](_0x480216,!0x1)):(this[_0x1e982a(0x1e7)](_0x454961[_0x1e982a(0x212)]),null==_0x36b7c5&&this[_0x1e982a(0x20e)](_0x480216,!0x0)));}),null!==_0x480216[_0x5334b9(0x1e8)]?this[_0x5334b9(0x1e7)](_0x480216[_0x5334b9(0x212)]):this[_0x5334b9(0x20e)](_0x480216,!0x1);}),this[_0x33dd21(0x1e5)](_0x5d455f,_0x33dd21(0x21d),(_0x3d9e51,_0x49e5f0,_0x2fbac0)=>{const _0xaa3770=_0x33dd21;this[_0xaa3770(0x1d6)](_0x49e5f0,_0xaa3770(0x1b3)),this[_0xaa3770(0x1ac)][_0xaa3770(0x20b)](_0x49e5f0),this[_0xaa3770(0x1fa)][_0xaa3770(0x19b)](_0x49e5f0)&&this[_0xaa3770(0x219)](_0x49e5f0),_0x2fbac0&&this[_0xaa3770(0x1e7)](_0x2fbac0[_0xaa3770(0x212)]);}),this[_0x33dd21(0x1e5)](_0x5d455f,_0x33dd21(0x1c2),(_0xa14fc4,_0xa5937f)=>{const _0x1e3b4c=_0x33dd21;this[_0x1e3b4c(0x1e7)](_0xa5937f);}),this[_0x33dd21(0x1e5)](_0xb6c3d3,_0x33dd21(0x202),()=>{const _0x2f0704=_0x33dd21;this[_0x2f0704(0x223)]();}),this[_0x33dd21(0x1e5)](_0xbbc372,_0x33dd21(0x1db),(_0x6375d,{threadId:_0x2ac976,isFromAdapter:_0x2c1849})=>{const _0x2162f2=_0x33dd21;if(_0x2c1849||!_0x5d455f[_0x2162f2(0x1dd)](_0x2ac976))return;const _0x5f590b=_0x5d455f[_0x2162f2(0x1bb)](_0x2ac976);this[_0x2162f2(0x1fa)][_0x2162f2(0x1cd)](_0x5f590b)[_0x2162f2(0x1a8)][_0x2162f2(0x20c)]();},{'priority':_0x33dd21(0x1be)});}[_0x4a8cb1(0x223)](){const _0x1faf6f=_0x4a8cb1,_0x466c04=this[_0x1faf6f(0x1c6)][_0x1faf6f(0x1b4)][_0x1faf6f(0x1cd)](_0x1faf6f(0x1e3)),_0x5d2fa8=this[_0x1faf6f(0x1c6)][_0x1faf6f(0x1b4)][_0x1faf6f(0x1cd)](_0x1faf6f(0x1ae)),_0x4461c6=Array[_0x1faf6f(0x1ab)](_0x466c04[_0x1faf6f(0x216)],_0x37bf3c=>_0x37bf3c[_0x1faf6f(0x1b1)])[_0x1faf6f(0x1bf)](_0x3c060a=>this[_0x1faf6f(0x1f1)][_0x1faf6f(0x19b)](_0x3c060a)),_0x20252a=[];for(const _0x296c6d of _0x4461c6){const _0x5e5f32=this[_0x1faf6f(0x1f1)][_0x1faf6f(0x1cd)](_0x296c6d)[_0x1faf6f(0x1a7)][_0x1faf6f(0x1d9)]();_0x20252a[_0x1faf6f(0x1c4)](..._0x5e5f32[_0x1faf6f(0x1cb)]((_0x5cc4a7,_0x1719fc)=>[..._0x5cc4a7,..._0x1719fc[_0x1faf6f(0x1c3)]()],[]));}_0x5d2fa8[_0x1faf6f(0x19a)]=_0x20252a;}[_0x4a8cb1(0x1fc)](){const _0x40b99e=_0x4a8cb1,_0xd84f14=this[_0x40b99e(0x1c6)],_0x1cd867=_0xd84f14[_0x40b99e(0x1d2)],_0x2a3d26=_0x5a025f(_0x1cd867,_0x40b99e(0x1ff)),_0x2e371c=new _0x1d274b([{'type':_0x40b99e(0x1eb),'model':new _0x34573f({'withText':!0x0,'label':_0x2a3d26,'commandName':_0x40b99e(0x1d7)})},{'type':_0x40b99e(0x220)},{'type':_0x40b99e(0x1f2),'model':new _0x34573f({'withText':!0x0,'label':_0x5a025f(_0x1cd867,_0x40b99e(0x1cf)),'commandName':_0x40b99e(0x1a5)})},{'type':_0x40b99e(0x1f2),'model':new _0x34573f({'withText':!0x0,'label':_0x5a025f(_0x1cd867,_0x40b99e(0x1dc)),'commandName':_0x40b99e(0x1da)})},{'type':_0x40b99e(0x1f2),'model':new _0x34573f({'withText':!0x0,'label':_0x5a025f(_0x1cd867,_0x40b99e(0x206)),'commandName':_0x40b99e(0x1f4)})},{'type':_0x40b99e(0x1f2),'model':new _0x34573f({'withText':!0x0,'label':_0x5a025f(_0x1cd867,_0x40b99e(0x1fe)),'commandName':_0x40b99e(0x21e)})}]);for(const _0x5ceb54 of _0x2e371c)if(ae(_0x5ceb54)){const _0x17a0d9=_0xd84f14[_0x40b99e(0x1ec)][_0x40b99e(0x1cd)](_0x5ceb54[_0x40b99e(0x1a7)][_0x40b99e(0x1e0)]);_0x5ceb54[_0x40b99e(0x1a7)][_0x40b99e(0x203)](_0x40b99e(0x1bd),_0x40b99e(0x1ad))['to'](_0x17a0d9,_0x40b99e(0x1f3),_0x40b99e(0x1ad));}_0xd84f14['ui'][_0x40b99e(0x1a2)][_0x40b99e(0x1e4)](_0x40b99e(0x1d7),_0x573838=>this[_0x40b99e(0x201)](_0x573838,_0x2e371c,_0x2a3d26)),_0xd84f14['ui'][_0x40b99e(0x1a2)][_0x40b99e(0x1e4)](_0x40b99e(0x224),_0x458831=>this[_0x40b99e(0x1d1)](_0x458831,_0x2e371c,_0x2a3d26));}[_0x4a8cb1(0x201)](_0x4b2a8b,_0x3a132d,_0x1de25b){const _0x37dbb6=_0x4a8cb1,_0x17cae4=_0x3a0532(_0x4b2a8b,_0x40ca27),_0x517ba9=this[_0x37dbb6(0x1c6)][_0x37dbb6(0x1ec)][_0x37dbb6(0x1cd)](_0x37dbb6(0x1d7));_0x17cae4[_0x37dbb6(0x221)][_0x37dbb6(0x1b5)]({'tooltip':_0x1de25b,'label':_0x1de25b,'icon':_0x3e93cc}),_0x17cae4[_0x37dbb6(0x221)][_0x37dbb6(0x203)](_0x37dbb6(0x1bd))['to'](_0x517ba9,_0x37dbb6(0x1f3)),_0x17cae4[_0x37dbb6(0x221)]['on'](_0x37dbb6(0x215),()=>{const _0x4957cd=_0x37dbb6;_0x517ba9[_0x4957cd(0x215)](),this[_0x4957cd(0x1c6)][_0x4957cd(0x211)][_0x4957cd(0x1a8)][_0x4957cd(0x20c)]();}),_0x2c8851(_0x17cae4,_0x3a132d);const _0x2bc8fa=[];for(const _0x42468a of _0x3a132d)ae(_0x42468a)&&_0x2bc8fa[_0x37dbb6(0x1c4)](this[_0x37dbb6(0x1c6)][_0x37dbb6(0x1ec)][_0x37dbb6(0x1cd)](_0x42468a[_0x37dbb6(0x1a7)][_0x37dbb6(0x1e0)]));const _0x5ad9b7=_0x17cae4[_0x37dbb6(0x221)];return _0x5ad9b7[_0x37dbb6(0x1b7)][_0x37dbb6(0x21b)](_0x37dbb6(0x1ad)),_0x5ad9b7[_0x37dbb6(0x1fb)][_0x37dbb6(0x21b)](_0x37dbb6(0x1ad)),_0x5ad9b7[_0x37dbb6(0x1b7)][_0x37dbb6(0x203)](_0x37dbb6(0x1ad))['to'](_0x517ba9,_0x37dbb6(0x1ad)),_0x5ad9b7[_0x37dbb6(0x1fb)][_0x37dbb6(0x203)](_0x37dbb6(0x1ad))[_0x37dbb6(0x1b6)](_0x2bc8fa,_0x37dbb6(0x1ad),(..._0xaf3831)=>_0xaf3831[_0x37dbb6(0x205)](_0x7f0cfb=>_0x7f0cfb)),_0x17cae4['on'](_0x37dbb6(0x215),_0x1ec6d9=>{const _0xb0b4ea=_0x37dbb6;this[_0xb0b4ea(0x1c6)][_0xb0b4ea(0x215)](_0x1ec6d9[_0xb0b4ea(0x1f5)][_0xb0b4ea(0x1e0)]),this[_0xb0b4ea(0x1c6)][_0xb0b4ea(0x211)][_0xb0b4ea(0x1a8)][_0xb0b4ea(0x20c)]();}),_0x17cae4;}[_0x4a8cb1(0x1d1)](_0x546ae7,_0x236b35,_0x2b0bd0){const _0x22ecd2=_0x4a8cb1,_0x30f30d=new _0x34b74c(_0x546ae7),_0xec6d50=this[_0x22ecd2(0x1c6)][_0x22ecd2(0x1ec)][_0x22ecd2(0x1cd)](_0x22ecd2(0x1d7));_0x30f30d[_0x22ecd2(0x221)][_0x22ecd2(0x1b5)]({'label':_0x2b0bd0,'icon':_0x3e93cc});const _0x259622=new _0x522693(_0x546ae7);for(const _0xf99c89 of _0x236b35){if(_0x22ecd2(0x220)==_0xf99c89[_0x22ecd2(0x1ee)]){_0x259622[_0x22ecd2(0x1ba)][_0x22ecd2(0x1e4)](new _0x40d9fc(_0x546ae7));continue;}const _0x300bb9=new _0x34c738(_0x546ae7,_0x30f30d),_0x4d6bf7=new _0x2f974d(_0x546ae7),_0x327a28=_0xf99c89[_0x22ecd2(0x1a7)];_0x4d6bf7[_0x22ecd2(0x203)](...Object[_0x22ecd2(0x1cc)](_0x327a28))['to'](_0x327a28),_0x4d6bf7[_0x22ecd2(0x20f)](_0x22ecd2(0x215))['to'](_0x30f30d),_0x4d6bf7['on'](_0x22ecd2(0x215),()=>{const _0x466963=_0x22ecd2;this[_0x466963(0x1c6)][_0x466963(0x215)](_0x327a28[_0x466963(0x1e0)]),this[_0x466963(0x1c6)][_0x466963(0x211)][_0x466963(0x1a8)][_0x466963(0x20c)]();}),_0x300bb9[_0x22ecd2(0x1c7)][_0x22ecd2(0x1e4)](_0x4d6bf7),_0x259622[_0x22ecd2(0x1ba)][_0x22ecd2(0x1e4)](_0x300bb9);}return _0x30f30d[_0x22ecd2(0x203)](_0x22ecd2(0x1ad))['to'](_0xec6d50,_0x22ecd2(0x1ad)),_0x30f30d[_0x22ecd2(0x1f0)][_0x22ecd2(0x1c7)][_0x22ecd2(0x1e4)](_0x259622),_0x30f30d;}[_0x4a8cb1(0x210)](_0x292f19){const _0x5c0f2d=_0x4a8cb1,_0x4c93a0=this[_0x5c0f2d(0x1c6)],_0x5e01bd=_0x4c93a0[_0x5c0f2d(0x1ce)],_0x31c923=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1e3)),_0x3eda23=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1af)),_0x15aba0=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5c0f2d(0x20d)),_0x401bcd=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5ba7a6)['me'],_0x3227d5=_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1d7))[_0x5c0f2d(0x21a)],{CommentsListView:_0x510d1c,CommentThreadInputView:_0x233d8e}=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1e6));let _0x333bff,_0x2f763a;this[_0x5c0f2d(0x1d0)][_0x5c0f2d(0x19b)](_0x292f19['id'])?(_0x2f763a=this[_0x5c0f2d(0x1d0)][_0x5c0f2d(0x1cd)](_0x292f19['id']),_0x333bff=_0x2f763a[_0x5c0f2d(0x1c8)]):(_0x333bff=new _0x3227d5(_0x4c93a0[_0x5c0f2d(0x1d2)],_0x292f19,_0x401bcd,{'disableComments':this[_0x5c0f2d(0x1de)],'editorConfig':_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1df)),'maxCommentsWhenCollapsed':_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x214)),'maxThreadTotalWeight':_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1b9)),'maxCommentCharsWhenCollapsed':_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1b8)),'formatDateTime':_0x432b06(_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1d2))),'CommentView':_0x5e01bd[_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1ef))[_0x5c0f2d(0x1c1)],'CommentsListView':_0x510d1c,'CommentThreadInputView':_0x233d8e}),_0x333bff[_0x5c0f2d(0x1f7)]['on'](_0x5c0f2d(0x215),()=>{const _0x28c75b=_0x5c0f2d;_0x4c93a0[_0x28c75b(0x211)][_0x28c75b(0x1a8)][_0x28c75b(0x20c)]();}),_0x333bff[_0x5c0f2d(0x1d8)]['on'](_0x5c0f2d(0x215),()=>{const _0xf54f30=_0x5c0f2d;_0x4c93a0[_0xf54f30(0x211)][_0xf54f30(0x1a8)][_0xf54f30(0x20c)]();}),_0x2f763a=_0x31c923[_0x5c0f2d(0x1aa)](this[_0x5c0f2d(0x1c6)][_0x5c0f2d(0x1d2)],_0x333bff),_0x2f763a[_0x5c0f2d(0x203)](_0x5c0f2d(0x1a4))['to'](_0x333bff,_0x5c0f2d(0x1a4)),_0x2f763a[_0x5c0f2d(0x203)](_0x5c0f2d(0x1c5))['to'](_0x333bff),_0x2f763a[_0x5c0f2d(0x203)](_0x5c0f2d(0x1ee))['to'](_0x333bff,_0x5c0f2d(0x1ee),_0x15fb6b=>_0x5c0f2d(0x1f8)+_0x15fb6b),this[_0x5c0f2d(0x1d0)][_0x5c0f2d(0x1b5)](_0x292f19['id'],_0x2f763a));const _0xb0d84c=_0x3eda23[_0x5c0f2d(0x217)](_0x292f19[_0x5c0f2d(0x19e)],_0x333bff),_0x2778e5=new _0x10dfc1(_0x4c93a0,_0x292f19,_0x333bff,_0xb0d84c),_0x2ceb1e=_0x292f19[_0x5c0f2d(0x1d9)]()[_0x5c0f2d(0x1bf)](_0x34c011=>_0x34c011[_0x5c0f2d(0x1e2)]);_0x333bff[_0x5c0f2d(0x218)]=_0x4c93a0[_0x5c0f2d(0x1b4)][_0x5c0f2d(0x1cd)](_0x5c0f2d(0x1ae))[_0x5c0f2d(0x1a9)][_0x5c0f2d(0x225)](_0x2ceb1e),this[_0x5c0f2d(0x1fa)][_0x5c0f2d(0x1b5)](_0x292f19,_0x2778e5),this[_0x5c0f2d(0x1f1)][_0x5c0f2d(0x1b5)](_0x333bff,_0x2778e5);const _0x4f3e77=_0x31c923[_0x5c0f2d(0x20a)]({'view':_0x2f763a,'target':()=>{const _0xd52ea4=_0x5c0f2d,_0x1035cf=[],_0x2c2074=_0x292f19[_0xd52ea4(0x1d9)]()[_0xd52ea4(0x1bf)](_0x53ef95=>_0x53ef95[_0xd52ea4(0x1e2)]);for(const _0x473564 of _0x2c2074)_0x1035cf[_0xd52ea4(0x1c4)](..._0x473564[_0xd52ea4(0x1ed)]());return _0x556ea6(_0x4c93a0[_0xd52ea4(0x211)],_0x1035cf);},'type':()=>_0x5c0f2d(0x1f8)+_0x2778e5[_0x5c0f2d(0x1a8)][_0x5c0f2d(0x1ee)]});_0x3eda23[_0x5c0f2d(0x1e9)](_0x333bff,_0x4f3e77),_0x31c923[_0x5c0f2d(0x1e4)](_0x4f3e77),_0x15aba0[_0x5c0f2d(0x1e1)](_0x4f3e77);}[_0x4a8cb1(0x219)](_0x5df2c1){const _0x933ff3=_0x4a8cb1,_0x53bbd5=this[_0x933ff3(0x1c6)][_0x933ff3(0x1b4)][_0x933ff3(0x1cd)](_0x933ff3(0x1af)),_0x54dbf5=this[_0x933ff3(0x1c6)][_0x933ff3(0x1b4)][_0x933ff3(0x1cd)](_0x933ff3(0x1e3)),_0x67126a=this[_0x933ff3(0x1fa)][_0x933ff3(0x1cd)](_0x5df2c1),_0x15439d=_0x67126a[_0x933ff3(0x1a8)],_0x3c4d5f=_0x54dbf5[_0x933ff3(0x1f9)](_0x15439d);_0x53bbd5[_0x933ff3(0x1a1)](_0x15439d),_0x3c4d5f&&_0x54dbf5[_0x933ff3(0x222)](_0x3c4d5f),this[_0x933ff3(0x1fa)][_0x933ff3(0x20b)](_0x5df2c1),this[_0x933ff3(0x1f1)][_0x933ff3(0x20b)](_0x15439d),_0x67126a[_0x933ff3(0x1a3)]();}[_0x4a8cb1(0x1e7)](_0x32794f){const _0x50b9f3=_0x4a8cb1;if(!_0x32794f[_0x50b9f3(0x1e2)]||!this[_0x50b9f3(0x1fa)][_0x50b9f3(0x19b)](_0x32794f))return;const _0x50f09d=this[_0x50b9f3(0x1c6)][_0x50b9f3(0x1b4)][_0x50b9f3(0x1cd)](_0x50b9f3(0x1ae)),_0x9c4c7f=this[_0x50b9f3(0x1fa)][_0x50b9f3(0x1cd)](_0x32794f),_0x20dbb3=_0x32794f[_0x50b9f3(0x1d9)]();_0x9c4c7f[_0x50b9f3(0x1a8)][_0x50b9f3(0x218)]=_0x50f09d[_0x50b9f3(0x1a9)][_0x50b9f3(0x225)](_0x20dbb3);}[_0x4a8cb1(0x1a3)](){const _0x5b80c0=_0x4a8cb1;for(const _0x42f748 of this[_0x5b80c0(0x1fa)][_0x5b80c0(0x1cc)]())this[_0x5b80c0(0x219)](_0x42f748);for(const _0x38ba5e of this[_0x5b80c0(0x1d0)][_0x5b80c0(0x200)]())_0x38ba5e[_0x5b80c0(0x1c8)][_0x5b80c0(0x1a3)]();super[_0x5b80c0(0x1a3)]();}}function ae(_0x3edcb2){const _0x24526f=_0x4a8cb1;return _0x24526f(0x1a7)in _0x3edcb2;}function _0x4dc3(){const _0x3fa627=['1511860gmILid','some','Discard\x20all\x20suggestions','getFirstRange','refreshSelectedViews','clear','createAnnotation','delete','focus','EditorAnnotations','_handleSuggestionControllerDelayed','delegate','_initializeController','editing','head','trackChanges.SuggestionThreadView','comments.maxCommentsWhenCollapsed','execute','activeAnnotations','createCommentThreadController','descriptionParts','_destroyController','SuggestionThreadView','unbind','getRanges','suggestionUnloaded','discardSelectedSuggestions','2633964gjOMFA','separator','buttonView','remove','_refreshActiveMarkers','menuBar:trackChanges','getDescriptions','suggestionLoaded','activeMarkers','has','addSourceCollector','init','commentThread','getJoined','trackChanges.disableComments','_unbindEditors','componentFactory','destroy','isDirty','acceptAllSuggestions','1016540CdKFJC','model','view','_descriptionFactory','createAnnotationView','from','_handleControllerBuffer','isEnabled','TrackChangesEditing','CommentsRepository','size','innerView','isMultiRange','change:previous','plugins','set','toMany','actionView','comments.maxCommentCharsWhenCollapsed','comments.maxThreadTotalWeight','items','getSuggestion','16CDFsZb','isOn','lowest','filter','202792ojNsda','CommentView','suggestionChanged','getMarkerNames','push','length','editor','children','mainView','21hNuERH','pluginName','reduce','keys','get','config','Accept\x20all\x20suggestions','_annotationViews','_createMenuBarMenu','locale','requires','define','10136223LBrJTB','stopListening','trackChanges','discardButton','getAllAdjacentSuggestions','acceptSelectedSuggestions','addComment','Accept\x20all\x20selected\x20suggestions','hasSuggestion','_disableComments','comments.editorConfig','commandName','registerAnnotation','isInContent','Annotations','add','listenTo','CommentsUI','_updateController','previous','_bindAnnotationToEditors','69976hwGFsb','switchbutton','commands','getMarkers','type','comments','panelView','_viewToController','button','value','discardAllSuggestions','source','TrackChangesUI','acceptButton','suggestion-','getByInnerView','_suggestionToController','arrowView','_addUIComponentsToFactory','514908lbttjj','Discard\x20all\x20selected\x20suggestions','Track\x20changes','values','_createToolbarButton','change:activeAnnotations','bind'];_0x4dc3=function(){return _0x3fa627;};return _0x4dc3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3026(_0x3566e5,_0x50f0f4){const _0x1faf62=_0x1faf();return _0x3026=function(_0x3026ae,_0x25cd59){_0x3026ae=_0x3026ae-0x138;let _0x4cc01a=_0x1faf62[_0x3026ae];return _0x4cc01a;},_0x3026(_0x3566e5,_0x50f0f4);}const _0x852fbf=_0x3026;(function(_0x39aae7,_0x3ce26c){const _0x173d82=_0x3026,_0x490e8a=_0x39aae7();while(!![]){try{const _0x56dd6f=parseInt(_0x173d82(0x13e))/0x1+parseInt(_0x173d82(0x13d))/0x2+parseInt(_0x173d82(0x143))/0x3*(parseInt(_0x173d82(0x142))/0x4)+-parseInt(_0x173d82(0x15b))/0x5*(parseInt(_0x173d82(0x144))/0x6)+parseInt(_0x173d82(0x15f))/0x7+parseInt(_0x173d82(0x159))/0x8*(parseInt(_0x173d82(0x155))/0x9)+parseInt(_0x173d82(0x13f))/0xa*(-parseInt(_0x173d82(0x141))/0xb);if(_0x56dd6f===_0x3ce26c)break;else _0x490e8a['push'](_0x490e8a['shift']());}catch(_0x9bd5b6){_0x490e8a['push'](_0x490e8a['shift']());}}}(_0x1faf,0x8b738));import{ObservableMixin as _0x2be07e}from'ckeditor5/src/utils.js';function _0x1faf(){const _0x1c50e2=['canEditAt','_removePendingAction','change:isDirty','canDiscard','model','locale','canAccept','destroy','957466GIMGkg','461638LZEvBH','7236230XdKTif','discardSuggestion','11OCBNpK','33860mQouNt','75zXMKOI','2190978RAYBhR','commands','getRanges','remove','view','unbind','_editor','_setPendingAction','acceptSuggestion','PendingActions','PENDING_ACTION_SUGGESTION','_discardCommand','_pendingAction','isEnabled','add','execute','_acceptCommand','9iHQdIu','get','plugins','stopListening','5125712lberPC','bind','15MZbqKJ','listenTo','isDirty','commentThreadController','4183158BhKMrW'];_0x1faf=function(){return _0x1c50e2;};return _0x1faf();}import{getTranslation as _0x2f63f5}from'../utils/common-translations.js';export default class oe extends _0x2be07e(){constructor(_0x7679c,_0x4681ad,_0x53d251,_0x26e45a){const _0x928ccb=_0x3026;super(),this[_0x928ccb(0x139)]=_0x4681ad,this[_0x928ccb(0x148)]=_0x53d251,this[_0x928ccb(0x15e)]=_0x26e45a,this[_0x928ccb(0x14a)]=_0x7679c,this[_0x928ccb(0x154)]=_0x7679c[_0x928ccb(0x145)][_0x928ccb(0x156)](_0x928ccb(0x14c)),this[_0x928ccb(0x14f)]=_0x7679c[_0x928ccb(0x145)][_0x928ccb(0x156)](_0x928ccb(0x140)),this[_0x928ccb(0x148)][_0x928ccb(0x15a)](_0x928ccb(0x151))['to'](this[_0x928ccb(0x154)],this[_0x928ccb(0x14f)],(_0x3f1ebf,_0x7e4cd3)=>_0x3f1ebf||_0x7e4cd3),this[_0x928ccb(0x148)][_0x928ccb(0x15a)](_0x928ccb(0x13b))['to'](this[_0x928ccb(0x154)],_0x928ccb(0x151),_0x575e01=>_0x575e01&&this[_0x928ccb(0x14a)][_0x928ccb(0x139)][_0x928ccb(0x160)](_0x4681ad[_0x928ccb(0x146)]())),this[_0x928ccb(0x148)][_0x928ccb(0x15a)](_0x928ccb(0x138))['to'](this[_0x928ccb(0x14f)],_0x928ccb(0x151),_0x473471=>_0x473471&&this[_0x928ccb(0x14a)][_0x928ccb(0x139)][_0x928ccb(0x160)](_0x4681ad[_0x928ccb(0x146)]())),this[_0x928ccb(0x150)]=null,_0x53d251[_0x928ccb(0x15d)]&&this[_0x928ccb(0x14b)](),this[_0x928ccb(0x15c)](_0x53d251,_0x928ccb(0x14c),()=>this[_0x928ccb(0x14c)]()),this[_0x928ccb(0x15c)](_0x53d251,_0x928ccb(0x140),()=>this[_0x928ccb(0x140)]()),this[_0x928ccb(0x15c)](_0x53d251,_0x928ccb(0x162),()=>{const _0x1c57c6=_0x928ccb;_0x53d251[_0x1c57c6(0x15d)]?this[_0x1c57c6(0x14b)]():this[_0x1c57c6(0x161)]();});}[_0x852fbf(0x14c)](){const _0x55dc22=_0x852fbf;this[_0x55dc22(0x154)][_0x55dc22(0x153)](this[_0x55dc22(0x139)]['id']);}[_0x852fbf(0x140)](){const _0xdfd203=_0x852fbf;this[_0xdfd203(0x14f)][_0xdfd203(0x153)](this[_0xdfd203(0x139)]['id']);}[_0x852fbf(0x13c)](){const _0x2d6341=_0x852fbf;this[_0x2d6341(0x148)][_0x2d6341(0x149)](_0x2d6341(0x151)),this[_0x2d6341(0x148)][_0x2d6341(0x149)](_0x2d6341(0x13b)),this[_0x2d6341(0x148)][_0x2d6341(0x149)](_0x2d6341(0x138)),this[_0x2d6341(0x158)](),this[_0x2d6341(0x15e)][_0x2d6341(0x13c)](),this[_0x2d6341(0x150)]&&this[_0x2d6341(0x161)]();}[_0x852fbf(0x14b)](){const _0x140adf=_0x852fbf,_0x1a88bd=_0x2f63f5(this[_0x140adf(0x14a)][_0x140adf(0x13a)],_0x140adf(0x14e));this[_0x140adf(0x150)]=this[_0x140adf(0x14a)][_0x140adf(0x157)][_0x140adf(0x156)](_0x140adf(0x14d))[_0x140adf(0x152)](_0x1a88bd);}[_0x852fbf(0x161)](){const _0x4e871d=_0x852fbf;null!==this[_0x4e871d(0x150)]&&this[_0x4e871d(0x14a)][_0x4e871d(0x157)][_0x4e871d(0x156)](_0x4e871d(0x14d))[_0x4e871d(0x147)](this[_0x4e871d(0x150)]),this[_0x4e871d(0x150)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4e02c9=_0x2e09;(function(_0x42c4f7,_0x4a095f){const _0x15098c=_0x2e09,_0x1516c4=_0x42c4f7();while(!![]){try{const _0x174038=-parseInt(_0x15098c(0x93))/0x1*(-parseInt(_0x15098c(0x85))/0x2)+-parseInt(_0x15098c(0x8f))/0x3*(parseInt(_0x15098c(0x75))/0x4)+-parseInt(_0x15098c(0x7b))/0x5+-parseInt(_0x15098c(0x8c))/0x6*(-parseInt(_0x15098c(0x71))/0x7)+-parseInt(_0x15098c(0x86))/0x8+-parseInt(_0x15098c(0x95))/0x9*(-parseInt(_0x15098c(0x94))/0xa)+-parseInt(_0x15098c(0x97))/0xb*(-parseInt(_0x15098c(0x6d))/0xc);if(_0x174038===_0x4a095f)break;else _0x1516c4['push'](_0x1516c4['shift']());}catch(_0x3106a4){_0x1516c4['push'](_0x1516c4['shift']());}}}(_0x4ed8,0x235e9));function _0x4ed8(){const _0x111cd7=['_createCommentViews','focus','destroy','updateComment','element','12OCNurX','descriptionParts','hasDirtyComment','setData','41468vUDxVi','disabledSubmit','authoredAt','isActive','525432gAJtBW','fire','commentInputView','editor','bind','commentThreadInputView','423055GszgJE','delegate','isReadOnly','showInput','_config','_model','isDirty','submit','removeComment','commentThread','1918PjVdjU','1912432lRHvYI','commentsListView','cancel','assign','CommentView','set','24qxFcnU','locale','value','3YCABZW','length','canAccept','editorConfig','217PYikgI','21570BTkKca','1044CoGJSy','isEnabled','1296735FCithN','_createCommentThreadInputView','_localUser','disableComments','addComment','canDiscard'];_0x4ed8=function(){return _0x111cd7;};return _0x4ed8();}import{View as _0x3982c0}from'ckeditor5/src/ui.js';function _0x2e09(_0x357693,_0x39c837){const _0x4ed820=_0x4ed8();return _0x2e09=function(_0x2e093e,_0x11e795){_0x2e093e=_0x2e093e-0x66;let _0x578328=_0x4ed820[_0x2e093e];return _0x578328;},_0x2e09(_0x357693,_0x39c837);}export default class es extends _0x3982c0{constructor(_0x34933f,_0x59a8e3,_0x2cff86,_0xea7b1d){const _0x4046ba=_0x2e09;super(_0x34933f),this[_0x4046ba(0x87)]=null,this[_0x4046ba(0x7a)]=null,this[_0x4046ba(0x8b)](_0x4046ba(0x74),!0x1),this[_0x4046ba(0x8b)](_0x4046ba(0x73),_0x59a8e3[_0x4046ba(0x73)]),this[_0x4046ba(0x79)](_0x4046ba(0x73))['to'](_0x59a8e3),this[_0x4046ba(0x8b)](_0x4046ba(0x6e),[]),this[_0x4046ba(0x8b)](_0x4046ba(0x81),!0x1),this[_0x4046ba(0x8b)](_0x4046ba(0x96),!0x1),this[_0x4046ba(0x8b)](_0x4046ba(0x91),!0x1),this[_0x4046ba(0x8b)](_0x4046ba(0x67),!0x1),this[_0x4046ba(0x80)]=_0x59a8e3,this[_0x4046ba(0x99)]=_0x2cff86,this[_0x4046ba(0x7f)]=_0xea7b1d,_0xea7b1d[_0x4046ba(0x9a)]?this[_0x4046ba(0x8b)](_0x4046ba(0x90),0x1):this[_0x4046ba(0x68)]();}[_0x4e02c9(0x69)](){const _0x4fa11f=_0x4e02c9;this[_0x4fa11f(0x6c)][_0x4fa11f(0x69)]();}[_0x4e02c9(0x6a)](){const _0x292214=_0x4e02c9;this[_0x292214(0x87)]&&this[_0x292214(0x87)][_0x292214(0x6a)](),this[_0x292214(0x7a)]&&this[_0x292214(0x7a)][_0x292214(0x6a)](),super[_0x292214(0x6a)]();}[_0x4e02c9(0x68)](){const _0x1a3bac=_0x4e02c9,{CommentsListView:_0x56d42}=this[_0x1a3bac(0x7f)];this[_0x1a3bac(0x87)]=new _0x56d42(this[_0x1a3bac(0x8d)],this[_0x1a3bac(0x80)][_0x1a3bac(0x84)],Object[_0x1a3bac(0x89)]({'CommentView':this[_0x1a3bac(0x7f)][_0x1a3bac(0x8a)]},this[_0x1a3bac(0x7f)])),this[_0x1a3bac(0x87)][_0x1a3bac(0x7c)](_0x1a3bac(0x83))['to'](this),this[_0x1a3bac(0x87)][_0x1a3bac(0x7c)](_0x1a3bac(0x6b))['to'](this),this[_0x1a3bac(0x87)][_0x1a3bac(0x79)](_0x1a3bac(0x74))['to'](this),this[_0x1a3bac(0x8b)](_0x1a3bac(0x90),this[_0x1a3bac(0x87)][_0x1a3bac(0x90)]+0x1),this[_0x1a3bac(0x79)](_0x1a3bac(0x90))['to'](this[_0x1a3bac(0x87)],_0x1a3bac(0x90),_0x3ae5a0=>_0x3ae5a0+0x1),this[_0x1a3bac(0x7a)]=this[_0x1a3bac(0x98)](),this['on'](_0x1a3bac(0x83),()=>this[_0x1a3bac(0x69)]()),this[_0x1a3bac(0x79)](_0x1a3bac(0x81))['to'](this[_0x1a3bac(0x87)],_0x1a3bac(0x6f),this[_0x1a3bac(0x7a)][_0x1a3bac(0x77)],_0x1a3bac(0x8e),(_0x13f718,_0x17abce)=>_0x13f718||!!_0x17abce);}[_0x4e02c9(0x98)](){const _0x27c64b=_0x4e02c9,{CommentThreadInputView:_0x352fca}=this[_0x27c64b(0x7f)],_0x5bd060=new _0x352fca(this[_0x27c64b(0x8d)],this[_0x27c64b(0x99)],this[_0x27c64b(0x7f)][_0x27c64b(0x92)]),_0x43042a=_0x5bd060[_0x27c64b(0x77)];return _0x5bd060[_0x27c64b(0x79)](_0x27c64b(0x7e))['to'](this,_0x27c64b(0x74),this[_0x27c64b(0x80)][_0x27c64b(0x84)],_0x27c64b(0x7d),_0x43042a,_0x27c64b(0x8e),(_0x14af88,_0x1e04d1,_0x2b7192)=>!!_0x2b7192||_0x14af88&&!_0x1e04d1),_0x43042a['on'](_0x27c64b(0x82),(_0x51826c,_0x91d8e5)=>{const _0x5cd729=_0x27c64b;this[_0x5cd729(0x76)](_0x5cd729(0x66),_0x91d8e5),_0x43042a[_0x5cd729(0x78)][_0x5cd729(0x70)]('');}),_0x43042a['on'](_0x27c64b(0x88),()=>this[_0x27c64b(0x69)]()),_0x43042a[_0x27c64b(0x79)](_0x27c64b(0x72))['to'](this[_0x27c64b(0x80)][_0x27c64b(0x84)],_0x27c64b(0x7d)),_0x5bd060;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fb767=_0x2d91;(function(_0x33a3ab,_0x560412){const _0x41db48=_0x2d91,_0x4ecb65=_0x33a3ab();while(!![]){try{const _0x387a75=-parseInt(_0x41db48(0x236))/0x1+parseInt(_0x41db48(0x1ef))/0x2+-parseInt(_0x41db48(0x208))/0x3+-parseInt(_0x41db48(0x220))/0x4*(-parseInt(_0x41db48(0x234))/0x5)+parseInt(_0x41db48(0x1ec))/0x6*(parseInt(_0x41db48(0x21f))/0x7)+-parseInt(_0x41db48(0x255))/0x8*(parseInt(_0x41db48(0x252))/0x9)+-parseInt(_0x41db48(0x1f5))/0xa;if(_0x387a75===_0x560412)break;else _0x4ecb65['push'](_0x4ecb65['shift']());}catch(_0xfb1b7f){_0x4ecb65['push'](_0x4ecb65['shift']());}}}(_0x4b79,0x9df35));function _0x2d91(_0x428c60,_0x46b114){const _0x4b79fd=_0x4b79();return _0x2d91=function(_0x2d9145,_0x2bc724){_0x2d9145=_0x2d9145-0x1e8;let _0xddc744=_0x4b79fd[_0x2d9145];return _0xddc744;},_0x2d91(_0x428c60,_0x46b114);}import{getTranslation as _0x39ced7}from'../../utils/common-translations.js';function _0x4b79(){const _0x2c2999=['1193072pXsHPg','innerHTML','render','execute','extendTemplate','ck-suggestion__main','3510fXvpiN','setTemplate','discardSuggestion','189288vPkAdx','EXTERNAL_AVATAR','ck-annotation__info-time','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion--disabled-comments','editorReady','856660ojMflp','</span>','ck-annotation__user','check','formatDateTime','ck-suggestion__actions','set','color','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__actions','canAccept','join','type','acceptSuggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','userView','_config','bindTemplate','EXTERNAL_SUGGESTION','3599865CanVtd','authoredAt','commentsListView','importWord','ck-suggestion-wrapper','</p>','Discard\x20suggestion','ck-annotation__info-name','creator','isExternal','fire','value','author','_createButton','getExternalSuggestionNote','\x22\x20title=\x22','ck-comment__info-time','@external','attributes','delegate','createElement','ck-suggestion-wrapper--active','div','10241dbzHIa','234008pSywuE','commentThreadInputView','ck-suggestion--accept','getUserViewNotificationText','ck-annotation__info','change:description','name','ck-annotation__main','discardButton','disableComments','isActive','commentThread','Accept\x20suggestion','getTemplate','ck-annotation','span','cancel','children','ck-suggestion__info','ck-comment__external','100mDWIvC','_model','38819ImMwew','acceptButton','source','querySelector','ck-annotation__content-wrapper','isEnabled','\x22></span>','ck-suggestion__user','time','editorDestroyed','innerText','map','push','descriptionParts','locale','ck-suggestion--discard','canDiscard','description','bind','content','.ck-annotation__content-wrapper','ck-suggestion','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-','element','_descriptionElement','<p>','ck-suggestion__info-name','9KDOEja','title','split'];_0x4b79=function(){return _0x2c2999;};return _0x4b79();}import{default as _0x2941f6}from'./basesuggestionthreadview.js';import{ButtonView as _0x82c261}from'ckeditor5/src/ui.js';import{icons as _0x167055}from'ckeditor5/src/core.js';import{trimHtml as _0x2643ac,UserView as _0x22d55b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x2941f6{constructor(_0x4abdc2,_0x1f0bdf,_0x5d7e17,_0x175e6a){const _0x234aa2=_0x2d91;super(_0x4abdc2,_0x1f0bdf,_0x5d7e17,_0x175e6a),this[_0x234aa2(0x1fb)](_0x234aa2(0x201),''),this[_0x234aa2(0x248)](_0x234aa2(0x201))['to'](this,_0x234aa2(0x243),_0x4d4d7e=>_0x4d4d7e&&_0x4d4d7e[0x0]?_0x4d4d7e[0x0][_0x234aa2(0x201)]:''),this[_0x234aa2(0x248)](_0x234aa2(0x247))['to'](this,_0x234aa2(0x243),this,_0x234aa2(0x22a),(_0x599357,_0x453501)=>{const _0x26af15=_0x234aa2;let _0x48ede9='';for(const _0xd1e4ee of _0x599357)_0x48ede9+=_0x26af15(0x250)+ds(_0xd1e4ee[_0x26af15(0x249)],_0xd1e4ee[_0x26af15(0x1fc)])+_0x26af15(0x20d);return _0x453501?_0x48ede9:_0x2643ac(_0x48ede9,{'limit':0x8c});}),this[_0x234aa2(0x24f)]=null,this[_0x234aa2(0x237)]=this[_0x234aa2(0x215)](_0x39ced7(_0x4abdc2,_0x234aa2(0x22c)),_0x167055[_0x234aa2(0x1f8)],_0x234aa2(0x222),_0x234aa2(0x202),'sw'),this[_0x234aa2(0x237)][_0x234aa2(0x248)](_0x234aa2(0x23b))['to'](this,_0x234aa2(0x1ff)),this[_0x234aa2(0x228)]=this[_0x234aa2(0x215)](_0x39ced7(_0x4abdc2,_0x234aa2(0x20e)),_0x167055[_0x234aa2(0x230)],_0x234aa2(0x245),_0x234aa2(0x1ee),'sw'),this[_0x234aa2(0x228)][_0x234aa2(0x248)](_0x234aa2(0x23b))['to'](this,_0x234aa2(0x246)),this[_0x234aa2(0x204)]=new _0x22d55b(_0x4abdc2,this[_0x234aa2(0x235)][_0x234aa2(0x214)],this[_0x234aa2(0x223)]()),this[_0x234aa2(0x204)][_0x234aa2(0x1ea)]({'attributes':{'class':[_0x234aa2(0x23d),_0x234aa2(0x1f7)]}}),this[_0x234aa2(0x1ed)](this[_0x234aa2(0x22d)]());}[_0x3fb767(0x22d)](){const _0x23412a=_0x3fb767,_0x444c71=this[_0x23412a(0x206)],_0x23a895=[{'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x232),_0x23412a(0x224)]},'children':[{'tag':_0x23412a(0x22f),'children':[{'text':this[_0x23412a(0x204)][_0x23412a(0x226)]}],'attributes':{'class':[_0x23412a(0x251),_0x23412a(0x20f)]}},{'tag':_0x23412a(0x23e),'attributes':{'datetime':_0x444c71['to'](_0x23412a(0x209)),'class':[_0x23412a(0x218),_0x23412a(0x1f1)]},'children':[{'text':_0x444c71['to'](_0x23412a(0x209),_0x5da8b8=>this[_0x23412a(0x205)][_0x23412a(0x1f9)](_0x5da8b8))}]}]},{'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x1fa),_0x23412a(0x1fe)]},'children':[this[_0x23412a(0x237)],this[_0x23412a(0x228)]]},{'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x23a)]}}];this[_0x23412a(0x235)][_0x23412a(0x211)]&&_0x23a895[_0x23412a(0x242)]({'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x233)]},'children':[{'text':this[_0x23412a(0x216)]()}]});const _0x45ffd8={'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x20c),_0x444c71['if'](_0x23412a(0x22a),_0x23412a(0x21d)),_0x444c71['to'](_0x23412a(0x201),_0xb92afc=>_0x23412a(0x24d)+_0xb92afc),this[_0x23412a(0x205)][_0x23412a(0x229)]&&_0x23412a(0x1f3)],'data-suggestion-id':this[_0x23412a(0x235)]['id'],'data-thread-id':this[_0x23412a(0x235)][_0x23412a(0x22b)]['id'],'data-author-id':this[_0x23412a(0x235)][_0x23412a(0x214)]['id'],'tabindex':-0x1},'children':[{'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x24b),_0x23412a(0x22e)]},'children':[this[_0x23412a(0x204)],{'tag':_0x23412a(0x21e),'attributes':{'class':[_0x23412a(0x1eb),_0x23412a(0x227)]},'children':_0x23a895}]}]};return this[_0x23412a(0x20a)]&&this[_0x23412a(0x221)]&&(_0x45ffd8[_0x23412a(0x231)][_0x23412a(0x242)](this[_0x23412a(0x20a)],this[_0x23412a(0x221)]),this[_0x23412a(0x20a)][_0x23412a(0x21b)](_0x23412a(0x1f4))['to'](this),this[_0x23412a(0x20a)][_0x23412a(0x21b)](_0x23412a(0x23f))['to'](this),this[_0x23412a(0x221)][_0x23412a(0x21b)](_0x23412a(0x1f4))['to'](this),this[_0x23412a(0x221)][_0x23412a(0x21b)](_0x23412a(0x23f))['to'](this)),_0x45ffd8;}[_0x3fb767(0x1e8)](){const _0x2d0589=_0x3fb767;super[_0x2d0589(0x1e8)](),this[_0x2d0589(0x24f)]=this[_0x2d0589(0x24e)][_0x2d0589(0x239)](_0x2d0589(0x24a)),this[_0x2d0589(0x24f)][_0x2d0589(0x256)]=this[_0x2d0589(0x247)],this['on'](_0x2d0589(0x225),(_0x3be169,_0xc35563,_0x21b9eb)=>{const _0x511bc3=_0x2d0589;this[_0x511bc3(0x24f)][_0x511bc3(0x256)]=_0x21b9eb;});}[_0x3fb767(0x215)](_0x4d7dd4,_0x46817f,_0x1acca8,_0x4b1e9a,_0x2a97b1){const _0x343b63=_0x3fb767,_0x201134=new _0x82c261(this[_0x343b63(0x244)]);return _0x201134[_0x343b63(0x1fb)]({'label':_0x4d7dd4,'icon':_0x46817f,'tooltip':!0x0,'tooltipPosition':_0x2a97b1}),_0x201134[_0x343b63(0x1ea)]({'attributes':{'class':_0x1acca8}}),_0x201134['on'](_0x343b63(0x1e9),()=>{const _0x28a66a=_0x343b63;this[_0x28a66a(0x212)](_0x4b1e9a,this[_0x28a66a(0x235)]['id']);}),_0x201134;}[_0x3fb767(0x216)](){const _0xcf6d53=_0x3fb767;return _0xcf6d53(0x20b)===this[_0xcf6d53(0x235)][_0xcf6d53(0x21a)][_0xcf6d53(0x219)][_0xcf6d53(0x238)]?_0x39ced7(this[_0xcf6d53(0x244)],_0xcf6d53(0x1fd)):_0x39ced7(this[_0xcf6d53(0x244)],_0xcf6d53(0x207));}[_0x3fb767(0x223)](){const _0x860315=_0x3fb767;return this[_0x860315(0x235)][_0x860315(0x211)]?_0x860315(0x20b)===this[_0x860315(0x235)][_0x860315(0x21a)][_0x860315(0x219)][_0x860315(0x238)]?_0x39ced7(this[_0x860315(0x244)],_0x860315(0x1f2),this[_0x860315(0x235)][_0x860315(0x210)][_0x860315(0x226)]):_0x39ced7(this[_0x860315(0x244)],_0x860315(0x1f0),this[_0x860315(0x235)][_0x860315(0x210)][_0x860315(0x226)]):null;}}function ds(_0x4810e8,_0x5c299e){const _0x12ee30=_0x3fb767;let _0x2012d0='';return _0x2012d0+=_0x4810e8[_0x12ee30(0x254)]('*')[_0x12ee30(0x241)]((_0x5979c0,_0x9ef1c5)=>_0x9ef1c5%0x2!=0x0?_0x12ee30(0x24c)+us(_0x5979c0)+_0x12ee30(0x1f6):us(_0x5979c0))[_0x12ee30(0x200)](''),_0x5c299e&&(_0x2012d0+=_0x12ee30(0x203)+_0x5c299e[_0x12ee30(0x213)]+_0x12ee30(0x217)+_0x5c299e[_0x12ee30(0x253)]+_0x12ee30(0x23c)),_0x2012d0;}function us(_0x456e88){const _0x128838=_0x3fb767,_0x27b2ad=document[_0x128838(0x21c)](_0x128838(0x22f));return _0x27b2ad[_0x128838(0x240)]=_0x456e88,_0x27b2ad[_0x128838(0x256)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1cbe2f,_0x2413cc,_0xd10a11){const t=_0x1cbe2f['t'];switch(_0x2413cc){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xd10a11);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xd10a11);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xd10a11);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xd10a11);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xd10a11);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xd10a11);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xd10a11);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xd10a11);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xd10a11);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xd10a11);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xd10a11);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xd10a11);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xd10a11);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xd10a11);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xd10a11);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xd10a11);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xd10a11);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xd10a11);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xd10a11);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xd10a11);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xd10a11);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xd10a11);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xd10a11);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xd10a11);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xd10a11);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xd10a11);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xd10a11);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xd10a11);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xd10a11);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xd10a11);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xd10a11);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xd10a11);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xd10a11);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xd10a11);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xd10a11);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xd10a11);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xd10a11);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xd10a11);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xd10a11);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xd10a11);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xd10a11);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xd10a11);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xd10a11);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xd10a11);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xd10a11);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xd10a11);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2413cc;}}
|
|
23
|
+
export function getTranslation(_0x3bc154,_0x28047b,_0x2383f2){const t=_0x3bc154['t'];switch(_0x28047b){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x2383f2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2383f2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2383f2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2383f2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2383f2);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x2383f2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2383f2);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2383f2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2383f2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2383f2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2383f2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2383f2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2383f2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2383f2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2383f2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2383f2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2383f2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2383f2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2383f2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2383f2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2383f2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2383f2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2383f2);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x2383f2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2383f2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2383f2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2383f2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2383f2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2383f2);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2383f2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2383f2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2383f2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2383f2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2383f2);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2383f2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2383f2);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2383f2);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2383f2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2383f2);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x2383f2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2383f2);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x2383f2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2383f2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2383f2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2383f2);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2383f2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x28047b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x161a45,_0x12ac05){const _0x26f515=_0x492a,_0xb94107=_0x161a45();while(!![]){try{const _0x4feb75=-parseInt(_0x26f515(0x1e7))/0x1*(parseInt(_0x26f515(0x1f5))/0x2)+-parseInt(_0x26f515(0x1fc))/0x3+parseInt(_0x26f515(0x1d4))/0x4*(parseInt(_0x26f515(0x1ee))/0x5)+-parseInt(_0x26f515(0x1d2))/0x6*(parseInt(_0x26f515(0x1d5))/0x7)+parseInt(_0x26f515(0x1e8))/0x8+-parseInt(_0x26f515(0x1ea))/0x9*(-parseInt(_0x26f515(0x1f1))/0xa)+parseInt(_0x26f515(0x1ef))/0xb*(-parseInt(_0x26f515(0x1e3))/0xc);if(_0x4feb75===_0x12ac05)break;else _0xb94107['push'](_0xb94107['shift']());}catch(_0x178e91){_0xb94107['push'](_0xb94107['shift']());}}}(_0x9216,0xdfaba));export function normalizeDescription(_0x278591){const _0x35487e=_0x492a;return Array[_0x35487e(0x1de)](_0x278591)||(_0x278591=[_0x278591]),_0x278591[_0x35487e(0x1fb)](_0x1064d3=>{const _0x14d3c1=_0x35487e,_0x3d334e=_0x1064d3[_0x14d3c1(0x1ed)][_0x14d3c1(0x1f9)](/\*/g,''),_0x21d268=_0x1064d3[_0x14d3c1(0x1fd)]?_0x14d3c1(0x1f8)+_0x1064d3[_0x14d3c1(0x1fd)][_0x14d3c1(0x1d6)]+']':'';return'['+_0x1064d3[_0x14d3c1(0x1e5)]+']\x20'+_0x3d334e+_0x21d268;})[_0x35487e(0x1e6)](';\x20');}export function sortSuggestions(_0x1e229d){const _0x4b0d67=_0x492a;return _0x1e229d[_0x4b0d67(0x1d8)]((_0x4376f9,_0x2e109f)=>_0x4b0d67(0x1e0)==_0x4376f9[_0x4b0d67(0x1e5)]&&_0x4b0d67(0x1e0)!=_0x2e109f[_0x4b0d67(0x1e5)]?-0x1:_0x4b0d67(0x1e0)!=_0x4376f9[_0x4b0d67(0x1e5)]&&_0x4b0d67(0x1e0)==_0x2e109f[_0x4b0d67(0x1e5)]?0x1:0x0);}export function getSelectedSuggestions(_0x2d0351,_0x8acada){const _0x3da024=_0x492a,_0x5d1fed=Array[_0x3da024(0x1ec)](_0x2d0351[_0x3da024(0x1fa)]()),_0x734a2b=new Set();for(const _0x6217d8 of _0x8acada)if(_0x6217d8[_0x3da024(0x1e4)]){for(const _0x26d3ec of _0x5d1fed)for(const _0x3ea072 of _0x6217d8[_0x3da024(0x1fa)]())(_0x26d3ec[_0x3da024(0x1fe)](_0x3ea072)||_0x2d0351[_0x3da024(0x1dc)]&&!_0x6217d8[_0x3da024(0x1e2)]&&_0x6217d8[_0x3da024(0x1e1)]&&_0x3ea072[_0x3da024(0x1d7)][_0x3da024(0x1df)](_0x26d3ec[_0x3da024(0x1eb)]))&&_0x734a2b[_0x3da024(0x1f0)](_0x6217d8);}return _0x734a2b;}export function getRangesOfBlockGroups(_0x4ea4ac,_0x90a549){const _0x52a77e=_0x492a;let _0x53e098,_0xeeacd4=0x0;const _0x456503=[],_0x5a2e19=_0x90a549[_0x52a77e(0x1d3)];for(;_0xeeacd4<_0x4ea4ac[_0x52a77e(0x1f2)];){const _0x3e1e79=_0x4ea4ac[_0xeeacd4],_0x14d19f=_0x4ea4ac[_0xeeacd4+0x1];_0x53e098||(_0x53e098=_0x90a549[_0x52a77e(0x1db)](_0x3e1e79)),co(_0x90a549,_0x3e1e79,_0x14d19f)||(_0x456503[_0x52a77e(0x1f7)](_0x90a549[_0x52a77e(0x1d9)](_0x53e098,_0x5a2e19[_0x52a77e(0x1f4)](_0x3e1e79)?_0x90a549[_0x52a77e(0x1dd)](_0x3e1e79):_0x90a549[_0x52a77e(0x1da)](_0x3e1e79,_0x52a77e(0x1d7)))),_0x53e098=null),_0xeeacd4++;}return _0x456503;}function co(_0x6d95a9,_0x324e78,_0x309a00){const _0x58203f=_0x492a;if(!_0x309a00)return!0x1;const _0x4d6331=_0x6d95a9[_0x58203f(0x1dd)](_0x324e78),_0x1ddb0e=_0x6d95a9[_0x58203f(0x1db)](_0x309a00);return _0x4d6331[_0x58203f(0x1df)](_0x1ddb0e);}function _0x492a(_0x3cd08c,_0x4f9d12){const _0x9216ad=_0x9216();return _0x492a=function(_0x492a1f,_0x3cf089){_0x492a1f=_0x492a1f-0x1d2;let _0xa0f49b=_0x9216ad[_0x492a1f];return _0xa0f49b;},_0x492a(_0x3cd08c,_0x4f9d12);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2a9e06,_0x15745f,_0x4cd3ca){const _0x4fb8c8=_0x492a;for(;_0x4cd3ca[_0x4fb8c8(0x1f2)];){const _0xbbd0a4=_0x4cd3ca[_0x4fb8c8(0x1e9)](0x0,0x64);_0x2a9e06[_0x4fb8c8(0x1f6)](()=>{const _0xd87f1f=_0x4fb8c8;for(const _0x4b0c62 of _0xbbd0a4)_0x4b0c62[_0xd87f1f(0x1e4)]&&_0x15745f[_0xd87f1f(0x1f3)](_0x4b0c62['id']);});}}function _0x9216(){const _0xec1fb5=['add','1314140COGwpd','length','execute','isObject','16OYrrDO','change','push','\x20[color\x20','replace','getRanges','map','126177cLtnmd','color','isIntersecting','2709366LxfLbW','schema','4arBGaQ','7LwzyxG','value','end','sort','createRange','createPositionAt','createPositionBefore','isCollapsed','createPositionAfter','isArray','isTouching','deletion','next','isMultiRange','24jZArgk','isInContent','type','join','85958cqjSlV','8593432tPgfjS','splice','99JLTOKe','start','from','content','293185idYlcY','2645126zfDJFW'];_0x9216=function(){return _0xec1fb5;};return _0x9216();}
|