@ckeditor/ckeditor5-track-changes 42.0.0-alpha.1 → 42.0.0-alpha.11
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 +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/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 +2 -2
- 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 +2 -2
- 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 _0x3b4bc0=_0x3d95;(function(_0x3165ed,_0x581b21){const _0x144d44=_0x3d95,_0x46c8c3=_0x3165ed();while(!![]){try{const _0x37810c=-parseInt(_0x144d44(0x137))/0x1*(-parseInt(_0x144d44(0x14e))/0x2)+-parseInt(_0x144d44(0x152))/0x3*(-parseInt(_0x144d44(0xd7))/0x4)+parseInt(_0x144d44(0x139))/0x5+parseInt(_0x144d44(0xcf))/0x6+-parseInt(_0x144d44(0x148))/0x7+parseInt(_0x144d44(0x106))/0x8*(parseInt(_0x144d44(0x10c))/0x9)+-parseInt(_0x144d44(0x12b))/0xa*(parseInt(_0x144d44(0xd8))/0xb);if(_0x37810c===_0x581b21)break;else _0x46c8c3['push'](_0x46c8c3['shift']());}catch(_0x15f88b){_0x46c8c3['push'](_0x46c8c3['shift']());}}}(_0x3e05,0x74f6e));import{Plugin as _0x30dbb5}from'ckeditor5/src/core.js';import{Collection as _0x5cd267}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x25e7bd,createDropdown as _0x255ef5,ListSeparatorView as _0x1e9c88,MenuBarMenuView as _0x525813,MenuBarMenuListView as _0x1e383e,MenuBarMenuListItemView as _0x473664,MenuBarMenuListItemButtonView as _0x223086,SplitButtonView as _0x5b4bb7,ViewModel as _0x51082e}from'ckeditor5/src/ui.js';function _0x3e05(){const _0x1f6d5f=['isMultiRange','_refreshActiveMarkers','comments.maxCommentsWhenCollapsed','unbind','getDescriptions','items','getMarkerNames','isInContent','mainView','init','type','menuBar:trackChanges','10qNtRHB','comments','_createMenuBarMenu','innerView','_disableComments','locale','_handleControllerBuffer','acceptAllSuggestions','hasSuggestion','reduce','isDirty','Discard\x20all\x20suggestions','1217RPdPgl','switchbutton','4352305IVgZRH','destroy','some','createCommentThreadController','editing','_suggestionToController','change:previous','getMarkers','panelView','menuitemcheckbox','length','menu','_initializeController','isOn','_viewToController','3302824ouJqIt','CommentsRepository','getFirstRange','EditorAnnotations','Discard\x20all\x20selected\x20suggestions','getJoined','726YcGPJX','commandName','CommentView','discardButton','57PHzgJR','comments.editorConfig','activeAnnotations','addComment','_addUIComponentsToFactory','separator','Accept\x20all\x20selected\x20suggestions','define','comments.maxCommentCharsWhenCollapsed','execute','previous','keys','_destroyController','Annotations','values','4865652TZsMLn','editor','SuggestionThreadView','CommentsUI','TrackChangesUI','button','suggestion-','listenTo','4808qjYYEX','17453106rYtvrl','model','activeMarkers','getByInnerView','getRanges','suggestionLoaded','focus','Track\x20changes','source','plugins','createAnnotationView','suggestionUnloaded','stopListening','trackChanges.disableComments','refreshSelectedViews','arrowView','set','remove','_bindAnnotationToEditors','value','lowest','descriptionParts','delete','get','size','addSourceCollector','view','descriptionFactory','toMany','head','_handleSuggestionControllerDelayed','getSuggestion','commands','trackChanges','discardAllSuggestions','children','trackChanges.SuggestionThreadView','isEnabled','_updateController','acceptButton','clear','requires','menuitem','pluginName','createAnnotation','filter','1566208NcxFnb','from','buttonView','registerAnnotation','config','acceptSelectedSuggestions','18sYnvGC','change:activeAnnotations','componentFactory','_createToolbarButton','_unbindEditors','_annotationViews','has','bind','Accept\x20all\x20suggestions','delegate','push','getAllAdjacentSuggestions','comments.maxThreadTotalWeight','discardSelectedSuggestions','add','actionView','suggestionChanged','TrackChangesEditing','commentThread'];_0x3e05=function(){return _0x1f6d5f;};return _0x3e05();}import{Users as _0x5ad010,getDateTimeFormatter as _0x1e489f,getAllMarkersDomElementsSorted as _0x275aae}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1da71e from'./trackchangesediting.js';import _0x4533df from'./ui/suggestioncontroller.js';import _0x492460 from'./ui/view/suggestionthreadview.js';function _0x3d95(_0x373f48,_0x542d14){const _0x3e05b=_0x3e05();return _0x3d95=function(_0x3d956b,_0x21b684){_0x3d956b=_0x3d956b-0xc1;let _0x3fbcf5=_0x3e05b[_0x3d956b];return _0x3fbcf5;},_0x3d95(_0x373f48,_0x542d14);}import{getTranslation as _0x178837}from'./utils/common-translations.js';import _0x59e161 from'../theme/icons/track-changes.svg';export default class d extends _0x30dbb5{static get[_0x3b4bc0(0x101)](){const _0x46470b=_0x3b4bc0;return[_0x1da71e,_0x5ad010,_0x46470b(0x149),_0x46470b(0xcd),_0x46470b(0x14b)];}static get[_0x3b4bc0(0x103)](){const _0x30d636=_0x3b4bc0;return _0x30d636(0xd3);}constructor(_0x1e561e){const _0x5870d6=_0x3b4bc0;super(_0x1e561e),this[_0x5870d6(0x13e)]=new Map(),this[_0x5870d6(0x147)]=new Map(),this[_0x5870d6(0x111)]=new Map(),this[_0x5870d6(0x131)]=new Map();const _0x45c027=this[_0x5870d6(0xd0)][_0x5870d6(0x10a)];_0x45c027[_0x5870d6(0xc7)](_0x5870d6(0xfc),_0x492460),_0x45c027[_0x5870d6(0xc7)](_0x5870d6(0xe5),!0x1),this[_0x5870d6(0x12f)]=_0x45c027[_0x5870d6(0xef)](_0x5870d6(0xe5));}[_0x3b4bc0(0xf6)](_0x2de2bd,_0x46eaca){const _0x396c6c=_0x3b4bc0;0x0===this[_0x396c6c(0x131)][_0x396c6c(0xf0)]&&setTimeout(()=>{const _0x43fecc=_0x396c6c;for(const [_0x34efe2,_0x479899]of this[_0x43fecc(0x131)]){const _0x6dfaeb=this[_0x43fecc(0x13e)][_0x43fecc(0x112)](_0x34efe2);_0x6dfaeb||_0x479899?_0x6dfaeb&&_0x479899&&this[_0x43fecc(0xcc)](_0x34efe2):this[_0x43fecc(0x145)](_0x34efe2);}this[_0x43fecc(0x131)][_0x43fecc(0x100)](),this[_0x43fecc(0xd0)][_0x43fecc(0xe1)][_0x43fecc(0xef)](_0x43fecc(0x14b))[_0x43fecc(0xe6)](),this[_0x43fecc(0x120)]();},0xa),this[_0x396c6c(0x131)][_0x396c6c(0xe8)](_0x2de2bd,_0x46eaca);}[_0x3b4bc0(0x128)](){const _0x18e134=_0x3b4bc0,_0x27ac25=this[_0x18e134(0xd0)],_0xec5f1c=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x11d)),_0x4eefb9=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0xcd)),_0x5158d0=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x14b)),_0x548e5f=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x149));this[_0x18e134(0xc4)](),_0x5158d0[_0x18e134(0xf1)](()=>{const _0x5c8b79=_0x18e134,_0xfde1c0=[];for(const [_0x5918d5,_0x34eb3c]of Array[_0x5c8b79(0x107)](this[_0x5c8b79(0x13e)])){const _0x4d8a1e=_0x5918d5[_0x5c8b79(0x117)](),_0x5c26ae=[];for(const _0x2b797f of _0x4d8a1e){if(!_0x2b797f[_0x5c8b79(0x126)])continue;if(_0x2b797f[_0x5c8b79(0x11f)]){_0x5c26ae[_0x5c8b79(0x116)](..._0x2b797f[_0x5c8b79(0xdc)]());continue;}const _0x3e00d9=_0x2b797f[_0x5c8b79(0x14a)]();if(_0x5c26ae[_0x5c8b79(0x143)]>0x0){const _0x16cd39=_0x5c26ae[0x0][_0x5c8b79(0x14d)](_0x3e00d9);if(_0x16cd39){_0x5c26ae[0x0]=_0x16cd39;continue;}}_0x5c26ae[_0x5c8b79(0x116)](_0x3e00d9);}_0xfde1c0[_0x5c8b79(0x116)]([_0x34eb3c[_0x5c8b79(0xf2)],_0x5c26ae]);}return _0xfde1c0;}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0xdd),(_0x29e836,_0x9ad97)=>{const _0x24f29f=_0x18e134;this[_0x24f29f(0xd6)](_0x9ad97,_0x24f29f(0x13f),(_0xb1a29d,_0x207146,_0x523907,_0x3bf736)=>{const _0x4a15be=_0x24f29f;_0x9ad97[_0x4a15be(0x126)]&&(null==_0x523907?(this[_0x4a15be(0xfe)](_0x3bf736[_0x4a15be(0xf5)]),this[_0x4a15be(0xf6)](_0x9ad97,!0x1)):(this[_0x4a15be(0xfe)](_0x523907[_0x4a15be(0xf5)]),null==_0x3bf736&&this[_0x4a15be(0xf6)](_0x9ad97,!0x0)));}),null!==_0x9ad97[_0x24f29f(0xca)]?this[_0x24f29f(0xfe)](_0x9ad97[_0x24f29f(0xf5)]):this[_0x24f29f(0xf6)](_0x9ad97,!0x1);}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0xe3),(_0x179064,_0x199754,_0x161912)=>{const _0x28b657=_0x18e134;this[_0x28b657(0xe4)](_0x199754,_0x28b657(0x13f)),this[_0x28b657(0x131)][_0x28b657(0xee)](_0x199754),this[_0x28b657(0x13e)][_0x28b657(0x112)](_0x199754)&&this[_0x28b657(0xcc)](_0x199754),_0x161912&&this[_0x28b657(0xfe)](_0x161912[_0x28b657(0xf5)]);}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0x11c),(_0x314010,_0x2fe60c)=>{const _0x59f1f2=_0x18e134;this[_0x59f1f2(0xfe)](_0x2fe60c);}),this[_0x18e134(0xd6)](_0x4eefb9,_0x18e134(0x10d),()=>{const _0x4a4f38=_0x18e134;this[_0x4a4f38(0x120)]();}),this[_0x18e134(0xd6)](_0x548e5f,_0x18e134(0xc3),(_0x78323,{threadId:_0x1c0f15,isFromAdapter:_0x40853d})=>{const _0x47ffb5=_0x18e134;if(_0x40853d||!_0xec5f1c[_0x47ffb5(0x133)](_0x1c0f15))return;const _0x5dc041=_0xec5f1c[_0x47ffb5(0xf7)](_0x1c0f15);this[_0x47ffb5(0x13e)][_0x47ffb5(0xef)](_0x5dc041)[_0x47ffb5(0xf2)][_0x47ffb5(0xde)]();},{'priority':_0x18e134(0xec)});}[_0x3b4bc0(0x120)](){const _0x4043a7=_0x3b4bc0,_0x1d10da=this[_0x4043a7(0xd0)][_0x4043a7(0xe1)][_0x4043a7(0xef)](_0x4043a7(0xcd)),_0x50026f=this[_0x4043a7(0xd0)][_0x4043a7(0xe1)][_0x4043a7(0xef)](_0x4043a7(0x11d)),_0x324bd6=Array[_0x4043a7(0x107)](_0x1d10da[_0x4043a7(0xc2)],_0x391eb9=>_0x391eb9[_0x4043a7(0x12e)])[_0x4043a7(0x105)](_0x4a4ec9=>this[_0x4043a7(0x147)][_0x4043a7(0x112)](_0x4a4ec9)),_0x395631=[];for(const _0x10a398 of _0x324bd6){const _0xb91224=this[_0x4043a7(0x147)][_0x4043a7(0xef)](_0x10a398)[_0x4043a7(0xd9)][_0x4043a7(0x117)]();_0x395631[_0x4043a7(0x116)](..._0xb91224[_0x4043a7(0x134)]((_0x553801,_0x175d58)=>[..._0x553801,..._0x175d58[_0x4043a7(0x125)]()],[]));}_0x50026f[_0x4043a7(0xda)]=_0x395631;}[_0x3b4bc0(0xc4)](){const _0x2d435d=_0x3b4bc0,_0x334a1e=this[_0x2d435d(0xd0)],_0x468f2e=_0x334a1e[_0x2d435d(0x130)],_0x557791=_0x178837(_0x468f2e,_0x2d435d(0xdf)),_0x9244ab=new _0x5cd267([{'type':_0x2d435d(0x138),'model':new _0x51082e({'withText':!0x0,'label':_0x557791,'commandName':_0x2d435d(0xf9),'role':_0x2d435d(0x142)})},{'type':_0x2d435d(0xc5)},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x114)),'commandName':_0x2d435d(0x132),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0xc6)),'commandName':_0x2d435d(0x10b),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x136)),'commandName':_0x2d435d(0xfa),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x14c)),'commandName':_0x2d435d(0x119),'role':_0x2d435d(0x102)})}]);for(const _0x4e744f of _0x9244ab)if(ae(_0x4e744f)){const _0x27eb8e=_0x334a1e[_0x2d435d(0xf8)][_0x2d435d(0xef)](_0x4e744f[_0x2d435d(0xd9)][_0x2d435d(0x14f)]);_0x4e744f[_0x2d435d(0xd9)][_0x2d435d(0x113)](_0x2d435d(0x146),_0x2d435d(0xfd))['to'](_0x27eb8e,_0x2d435d(0xeb),_0x2d435d(0xfd));}_0x334a1e['ui'][_0x2d435d(0x10e)][_0x2d435d(0x11a)](_0x2d435d(0xf9),_0x4fb7d1=>this[_0x2d435d(0x10f)](_0x4fb7d1,_0x9244ab,_0x557791)),_0x334a1e['ui'][_0x2d435d(0x10e)][_0x2d435d(0x11a)](_0x2d435d(0x12a),_0x43f0dd=>this[_0x2d435d(0x12d)](_0x43f0dd,_0x9244ab,_0x557791));}[_0x3b4bc0(0x10f)](_0x96c650,_0x1af4d5,_0x407045){const _0x3f3f4c=_0x3b4bc0,_0xaa1a2f=_0x255ef5(_0x96c650,_0x5b4bb7),_0x3a22b9=this[_0x3f3f4c(0xd0)][_0x3f3f4c(0xf8)][_0x3f3f4c(0xef)](_0x3f3f4c(0xf9));_0xaa1a2f[_0x3f3f4c(0x108)][_0x3f3f4c(0xe8)]({'tooltip':_0x407045,'label':_0x407045,'icon':_0x59e161}),_0xaa1a2f[_0x3f3f4c(0x108)][_0x3f3f4c(0x113)](_0x3f3f4c(0x146))['to'](_0x3a22b9,_0x3f3f4c(0xeb)),_0xaa1a2f[_0x3f3f4c(0x108)]['on'](_0x3f3f4c(0xc9),()=>{const _0x2ba7fb=_0x3f3f4c;_0x3a22b9[_0x2ba7fb(0xc9)](),this[_0x2ba7fb(0xd0)][_0x2ba7fb(0x13d)][_0x2ba7fb(0xf2)][_0x2ba7fb(0xde)]();}),_0x25e7bd(_0xaa1a2f,_0x1af4d5,{'role':_0x3f3f4c(0x144)});const _0x4ca226=[];for(const _0x2f767e of _0x1af4d5)ae(_0x2f767e)&&_0x4ca226[_0x3f3f4c(0x116)](this[_0x3f3f4c(0xd0)][_0x3f3f4c(0xf8)][_0x3f3f4c(0xef)](_0x2f767e[_0x3f3f4c(0xd9)][_0x3f3f4c(0x14f)]));const _0x12c4f5=_0xaa1a2f[_0x3f3f4c(0x108)];return _0x12c4f5[_0x3f3f4c(0x11b)][_0x3f3f4c(0x122)](_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0xe7)][_0x3f3f4c(0x122)](_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0x11b)][_0x3f3f4c(0x113)](_0x3f3f4c(0xfd))['to'](_0x3a22b9,_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0xe7)][_0x3f3f4c(0x113)](_0x3f3f4c(0xfd))[_0x3f3f4c(0xf4)](_0x4ca226,_0x3f3f4c(0xfd),(..._0x289a5f)=>_0x289a5f[_0x3f3f4c(0x13b)](_0x2a3edc=>_0x2a3edc)),_0xaa1a2f['on'](_0x3f3f4c(0xc9),_0x527052=>{const _0x553446=_0x3f3f4c;this[_0x553446(0xd0)][_0x553446(0xc9)](_0x527052[_0x553446(0xe0)][_0x553446(0x14f)]),this[_0x553446(0xd0)][_0x553446(0x13d)][_0x553446(0xf2)][_0x553446(0xde)]();}),_0xaa1a2f;}[_0x3b4bc0(0x12d)](_0x3f9700,_0x2a0faa,_0x1e5ac1){const _0x4b3bc7=_0x3b4bc0,_0x4226a6=new _0x525813(_0x3f9700),_0x2d8166=this[_0x4b3bc7(0xd0)][_0x4b3bc7(0xf8)][_0x4b3bc7(0xef)](_0x4b3bc7(0xf9));_0x4226a6[_0x4b3bc7(0x108)][_0x4b3bc7(0xe8)]({'label':_0x1e5ac1,'icon':_0x59e161});const _0x1c46c6=new _0x1e383e(_0x3f9700);for(const _0x36a17f of _0x2a0faa){if(_0x4b3bc7(0xc5)==_0x36a17f[_0x4b3bc7(0x129)]){_0x1c46c6[_0x4b3bc7(0x124)][_0x4b3bc7(0x11a)](new _0x1e9c88(_0x3f9700));continue;}const _0x4daa32=new _0x473664(_0x3f9700,_0x4226a6),_0x1e9fe1=new _0x223086(_0x3f9700),_0x1cd90c=_0x36a17f[_0x4b3bc7(0xd9)];_0x1e9fe1[_0x4b3bc7(0x113)](...Object[_0x4b3bc7(0xcb)](_0x1cd90c))['to'](_0x1cd90c),_0x1e9fe1[_0x4b3bc7(0x115)](_0x4b3bc7(0xc9))['to'](_0x4226a6),_0x1e9fe1['on'](_0x4b3bc7(0xc9),()=>{const _0x47259c=_0x4b3bc7;this[_0x47259c(0xd0)][_0x47259c(0xc9)](_0x1cd90c[_0x47259c(0x14f)]),this[_0x47259c(0xd0)][_0x47259c(0x13d)][_0x47259c(0xf2)][_0x47259c(0xde)]();}),_0x4daa32[_0x4b3bc7(0xfb)][_0x4b3bc7(0x11a)](_0x1e9fe1),_0x1c46c6[_0x4b3bc7(0x124)][_0x4b3bc7(0x11a)](_0x4daa32);}return _0x4226a6[_0x4b3bc7(0x113)](_0x4b3bc7(0xfd))['to'](_0x2d8166,_0x4b3bc7(0xfd)),_0x4226a6[_0x4b3bc7(0x141)][_0x4b3bc7(0xfb)][_0x4b3bc7(0x11a)](_0x1c46c6),_0x4226a6;}[_0x3b4bc0(0x145)](_0x42d9a4){const _0x372b22=_0x3b4bc0,_0x49e77e=this[_0x372b22(0xd0)],_0x28d727=_0x49e77e[_0x372b22(0x10a)],_0x595266=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0xcd)),_0x41571a=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x149)),_0x436ef3=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x14b)),_0x5c12ed=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x5ad010)['me'],_0xb63128=_0x28d727[_0x372b22(0xef)](_0x372b22(0xf9))[_0x372b22(0xd1)],{CommentsListView:_0x33ea18,CommentThreadInputView:_0x4b36de}=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0xd2));let _0x543ec9,_0x3a317a;this[_0x372b22(0x111)][_0x372b22(0x112)](_0x42d9a4['id'])?(_0x3a317a=this[_0x372b22(0x111)][_0x372b22(0xef)](_0x42d9a4['id']),_0x543ec9=_0x3a317a[_0x372b22(0x127)]):(_0x543ec9=new _0xb63128(_0x49e77e[_0x372b22(0x130)],_0x42d9a4,_0x5c12ed,{'disableComments':this[_0x372b22(0x12f)],'editorConfig':_0x28d727[_0x372b22(0xef)](_0x372b22(0xc1)),'maxCommentsWhenCollapsed':_0x28d727[_0x372b22(0xef)](_0x372b22(0x121)),'maxThreadTotalWeight':_0x28d727[_0x372b22(0xef)](_0x372b22(0x118)),'maxCommentCharsWhenCollapsed':_0x28d727[_0x372b22(0xef)](_0x372b22(0xc8)),'formatDateTime':_0x1e489f(_0x28d727[_0x372b22(0xef)](_0x372b22(0x130))),'CommentView':_0x28d727[_0x372b22(0xef)](_0x372b22(0x12c))[_0x372b22(0x150)],'CommentsListView':_0x33ea18,'CommentThreadInputView':_0x4b36de}),_0x543ec9[_0x372b22(0xff)]['on'](_0x372b22(0xc9),()=>{const _0x24a27c=_0x372b22;_0x49e77e[_0x24a27c(0x13d)][_0x24a27c(0xf2)][_0x24a27c(0xde)]();}),_0x543ec9[_0x372b22(0x151)]['on'](_0x372b22(0xc9),()=>{const _0x4c71dc=_0x372b22;_0x49e77e[_0x4c71dc(0x13d)][_0x4c71dc(0xf2)][_0x4c71dc(0xde)]();}),_0x3a317a=_0x595266[_0x372b22(0xe2)](this[_0x372b22(0xd0)][_0x372b22(0x130)],_0x543ec9),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x135))['to'](_0x543ec9,_0x372b22(0x135)),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x143))['to'](_0x543ec9),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x129))['to'](_0x543ec9,_0x372b22(0x129),_0x58b645=>_0x372b22(0xd5)+_0x58b645),this[_0x372b22(0x111)][_0x372b22(0xe8)](_0x42d9a4['id'],_0x3a317a));const _0x4611e4=_0x41571a[_0x372b22(0x13c)](_0x42d9a4[_0x372b22(0x11e)],_0x543ec9),_0x412b52=new _0x4533df(_0x49e77e,_0x42d9a4,_0x543ec9,_0x4611e4),_0xc89b7c=_0x42d9a4[_0x372b22(0x117)]()[_0x372b22(0x105)](_0x2d3419=>_0x2d3419[_0x372b22(0x126)]);_0x543ec9[_0x372b22(0xed)]=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x11d))[_0x372b22(0xf3)][_0x372b22(0x123)](_0xc89b7c),this[_0x372b22(0x13e)][_0x372b22(0xe8)](_0x42d9a4,_0x412b52),this[_0x372b22(0x147)][_0x372b22(0xe8)](_0x543ec9,_0x412b52);const _0x1eec7b=_0x595266[_0x372b22(0x104)]({'view':_0x3a317a,'target':()=>{const _0x1a65a1=_0x372b22,_0x45cca8=[],_0x6c2a2f=_0x42d9a4[_0x1a65a1(0x117)]()[_0x1a65a1(0x105)](_0x5d95d8=>_0x5d95d8[_0x1a65a1(0x126)]);for(const _0x138e3e of _0x6c2a2f)_0x45cca8[_0x1a65a1(0x116)](..._0x138e3e[_0x1a65a1(0x140)]());return _0x275aae(_0x49e77e[_0x1a65a1(0x13d)],_0x45cca8);},'type':()=>_0x372b22(0xd5)+_0x412b52[_0x372b22(0xf2)][_0x372b22(0x129)]});_0x41571a[_0x372b22(0xea)](_0x543ec9,_0x1eec7b),_0x595266[_0x372b22(0x11a)](_0x1eec7b),_0x436ef3[_0x372b22(0x109)](_0x1eec7b);}[_0x3b4bc0(0xcc)](_0x37e75f){const _0x3df4f2=_0x3b4bc0,_0x20ab6c=this[_0x3df4f2(0xd0)][_0x3df4f2(0xe1)][_0x3df4f2(0xef)](_0x3df4f2(0x149)),_0x2f8ef6=this[_0x3df4f2(0xd0)][_0x3df4f2(0xe1)][_0x3df4f2(0xef)](_0x3df4f2(0xcd)),_0x1ce734=this[_0x3df4f2(0x13e)][_0x3df4f2(0xef)](_0x37e75f),_0x3727c2=_0x1ce734[_0x3df4f2(0xf2)],_0x401fde=_0x2f8ef6[_0x3df4f2(0xdb)](_0x3727c2);_0x20ab6c[_0x3df4f2(0x110)](_0x3727c2),_0x401fde&&_0x2f8ef6[_0x3df4f2(0xe9)](_0x401fde),this[_0x3df4f2(0x13e)][_0x3df4f2(0xee)](_0x37e75f),this[_0x3df4f2(0x147)][_0x3df4f2(0xee)](_0x3727c2),_0x1ce734[_0x3df4f2(0x13a)]();}[_0x3b4bc0(0xfe)](_0x3f4638){const _0x3611ae=_0x3b4bc0;if(!_0x3f4638[_0x3611ae(0x126)]||!this[_0x3611ae(0x13e)][_0x3611ae(0x112)](_0x3f4638))return;const _0x2184ba=this[_0x3611ae(0xd0)][_0x3611ae(0xe1)][_0x3611ae(0xef)](_0x3611ae(0x11d)),_0x2aeb07=this[_0x3611ae(0x13e)][_0x3611ae(0xef)](_0x3f4638),_0x15af50=_0x3f4638[_0x3611ae(0x117)]();_0x2aeb07[_0x3611ae(0xf2)][_0x3611ae(0xed)]=_0x2184ba[_0x3611ae(0xf3)][_0x3611ae(0x123)](_0x15af50);}[_0x3b4bc0(0x13a)](){const _0x1d543d=_0x3b4bc0;for(const _0xd75e95 of this[_0x1d543d(0x13e)][_0x1d543d(0xcb)]())this[_0x1d543d(0xcc)](_0xd75e95);for(const _0x33c907 of this[_0x1d543d(0x111)][_0x1d543d(0xce)]())_0x33c907[_0x1d543d(0x127)][_0x1d543d(0x13a)]();super[_0x1d543d(0x13a)]();}}function ae(_0x3c36c0){const _0x225026=_0x3b4bc0;return _0x225026(0xd9)in _0x3c36c0;}
|
|
23
|
+
const _0x1cd346=_0x473a;(function(_0x1ff7e8,_0x46614c){const _0x16a11c=_0x473a,_0x3867c3=_0x1ff7e8();while(!![]){try{const _0x227036=parseInt(_0x16a11c(0x1ec))/0x1+parseInt(_0x16a11c(0x21e))/0x2*(-parseInt(_0x16a11c(0x1c7))/0x3)+-parseInt(_0x16a11c(0x1e2))/0x4+-parseInt(_0x16a11c(0x1d2))/0x5+parseInt(_0x16a11c(0x19a))/0x6*(parseInt(_0x16a11c(0x20b))/0x7)+parseInt(_0x16a11c(0x1a6))/0x8+parseInt(_0x16a11c(0x1fa))/0x9;if(_0x227036===_0x46614c)break;else _0x3867c3['push'](_0x3867c3['shift']());}catch(_0xc29698){_0x3867c3['push'](_0x3867c3['shift']());}}}(_0x55d7,0x7005f));function _0x55d7(){const _0x184831=['config','_bindAnnotationToEditors','some','getMarkerNames','acceptAllSuggestions','execute','listenTo','getJoined','getSuggestion','editing','createAnnotation','Accept\x20all\x20suggestions','menu','init','previous','422476drXfsQ','actionView','commandName','separator','delete','suggestionLoaded','commands','panelView','define','SuggestionThreadView','684212NeIwnY','registerAnnotation','source','CommentsRepository','type','commentThread','unbind','comments','Discard\x20all\x20selected\x20suggestions','clear','locale','suggestionUnloaded','_handleControllerBuffer','TrackChangesEditing','478764LOfQZD','buttonView','push','Discard\x20all\x20suggestions','hasSuggestion','set','head','view','getFirstRange','discardButton','descriptionParts','get','Accept\x20all\x20selected\x20suggestions','menuitemcheckbox','trackChanges','addSourceCollector','refreshSelectedViews','355586IMvaNm','Annotations','lowest','getDescriptions','_disableComments','getAllAdjacentSuggestions','change:previous','addComment','mainView','_updateController','button','_unbindEditors','activeMarkers','children','suggestionChanged','CommentView','_createMenuBarMenu','_handleSuggestionControllerDelayed','switchbutton','14KYZOOD','focus','acceptButton','componentFactory','_createToolbarButton','from','reduce','getByInnerView','filter','getRanges','add','isInContent','66USfouQ','change:activeAnnotations','delegate','size','plugins','isDirty','_suggestionToController','isEnabled','trackChanges.disableComments','discardSelectedSuggestions','arrowView','createCommentThreadController','2082864fiuFEQ','model','editor','_viewToController','isMultiRange','innerView','suggestion-','menuitem','createAnnotationView','comments.maxCommentCharsWhenCollapsed','toMany','_refreshActiveMarkers','CommentsUI','comments.editorConfig','_initializeController','pluginName','keys','EditorAnnotations','values','descriptionFactory','_annotationViews','activeAnnotations','TrackChangesUI','bind','Track\x20changes','remove','value','isOn','getMarkers','menuBar:trackChanges','items','_destroyController','_addUIComponentsToFactory','75774uljlin','comments.maxThreadTotalWeight','discardAllSuggestions','stopListening','trackChanges.SuggestionThreadView','destroy','acceptSelectedSuggestions','has','length','comments.maxCommentsWhenCollapsed','requires','4076360NoBndT'];_0x55d7=function(){return _0x184831;};return _0x55d7();}import{Plugin as _0x18ac5e}from'ckeditor5/src/core.js';import{Collection as _0x222bef}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3cfb97,createDropdown as _0x196505,ListSeparatorView as _0x59c66f,MenuBarMenuView as _0x44b701,MenuBarMenuListView as _0x5b6ffd,MenuBarMenuListItemView as _0xe8436b,MenuBarMenuListItemButtonView as _0x42c714,SplitButtonView as _0x3271d6,ViewModel as _0x41d6e4}from'ckeditor5/src/ui.js';import{Users as _0x56c672,getDateTimeFormatter as _0x28a19e,getAllMarkersDomElementsSorted as _0x1ff541}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe5ac93 from'./trackchangesediting.js';import _0x2e99b6 from'./ui/suggestioncontroller.js';import _0xfc306e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1518f6}from'./utils/common-translations.js';import _0x4e066e from'../theme/icons/track-changes.svg';function _0x473a(_0x10cae3,_0x4f7b3e){const _0x55d7fc=_0x55d7();return _0x473a=function(_0x473a27,_0x142efa){_0x473a27=_0x473a27-0x195;let _0x5c8193=_0x55d7fc[_0x473a27];return _0x5c8193;},_0x473a(_0x10cae3,_0x4f7b3e);}export default class d extends _0x18ac5e{static get[_0x1cd346(0x1d1)](){const _0x5e14db=_0x1cd346;return[_0xe5ac93,_0x56c672,_0x5e14db(0x1ef),_0x5e14db(0x20c),_0x5e14db(0x1b7)];}static get[_0x1cd346(0x1b5)](){const _0x1f5259=_0x1cd346;return _0x1f5259(0x1bc);}constructor(_0x18513b){const _0x510c82=_0x1cd346;super(_0x18513b),this[_0x510c82(0x1a0)]=new Map(),this[_0x510c82(0x1a9)]=new Map(),this[_0x510c82(0x1ba)]=new Map(),this[_0x510c82(0x1f8)]=new Map();const _0x5f3628=this[_0x510c82(0x1a8)][_0x510c82(0x1d3)];_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1cb),_0xfc306e),_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1a2),!0x1),this[_0x510c82(0x20f)]=_0x5f3628[_0x510c82(0x205)](_0x510c82(0x1a2));}[_0x1cd346(0x21c)](_0x16794e,_0x175cee){const _0xc000b=_0x1cd346;0x0===this[_0xc000b(0x1f8)][_0xc000b(0x19d)]&&setTimeout(()=>{const _0x1482f4=_0xc000b;for(const [_0x2748b4,_0x43c77d]of this[_0x1482f4(0x1f8)]){const _0x39ce7e=this[_0x1482f4(0x1a0)][_0x1482f4(0x1ce)](_0x2748b4);_0x39ce7e||_0x43c77d?_0x39ce7e&&_0x43c77d&&this[_0x1482f4(0x1c5)](_0x2748b4):this[_0x1482f4(0x1b4)](_0x2748b4);}this[_0x1482f4(0x1f8)][_0x1482f4(0x1f5)](),this[_0x1482f4(0x1a8)][_0x1482f4(0x19e)][_0x1482f4(0x205)](_0x1482f4(0x1b7))[_0x1482f4(0x20a)](),this[_0x1482f4(0x1b1)]();},0xa),this[_0xc000b(0x1f8)][_0xc000b(0x1ff)](_0x16794e,_0x175cee);}[_0x1cd346(0x1e0)](){const _0x48816a=_0x1cd346,_0x29d531=this[_0x48816a(0x1a8)],_0x5f03f6=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1f9)),_0x10c7da=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x20c)),_0x5c90c2=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1b7)),_0x20a2fb=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1ef));this[_0x48816a(0x1c6)](),_0x5c90c2[_0x48816a(0x209)](()=>{const _0x1ea726=_0x48816a,_0x2cf873=[];for(const [_0x18c28f,_0x418303]of Array[_0x1ea726(0x223)](this[_0x1ea726(0x1a0)])){const _0x7128a=_0x18c28f[_0x1ea726(0x210)](),_0x1b7a63=[];for(const _0x809ac2 of _0x7128a){if(!_0x809ac2[_0x1ea726(0x199)])continue;if(_0x809ac2[_0x1ea726(0x1aa)]){_0x1b7a63[_0x1ea726(0x1fc)](..._0x809ac2[_0x1ea726(0x197)]());continue;}const _0x30ae41=_0x809ac2[_0x1ea726(0x202)]();if(_0x1b7a63[_0x1ea726(0x1cf)]>0x0){const _0x19e8ca=_0x1b7a63[0x0][_0x1ea726(0x1da)](_0x30ae41);if(_0x19e8ca){_0x1b7a63[0x0]=_0x19e8ca;continue;}}_0x1b7a63[_0x1ea726(0x1fc)](_0x30ae41);}_0x2cf873[_0x1ea726(0x1fc)]([_0x418303[_0x1ea726(0x201)],_0x1b7a63]);}return _0x2cf873;}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1e7),(_0x207418,_0x4cf90a)=>{const _0x47ffb5=_0x48816a;this[_0x47ffb5(0x1d9)](_0x4cf90a,_0x47ffb5(0x211),(_0x40029f,_0x52d791,_0x25a441,_0x4936d5)=>{const _0xaf3020=_0x47ffb5;_0x4cf90a[_0xaf3020(0x199)]&&(null==_0x25a441?(this[_0xaf3020(0x214)](_0x4936d5[_0xaf3020(0x200)]),this[_0xaf3020(0x21c)](_0x4cf90a,!0x1)):(this[_0xaf3020(0x214)](_0x25a441[_0xaf3020(0x200)]),null==_0x4936d5&&this[_0xaf3020(0x21c)](_0x4cf90a,!0x0)));}),null!==_0x4cf90a[_0x47ffb5(0x1e1)]?this[_0x47ffb5(0x214)](_0x4cf90a[_0x47ffb5(0x200)]):this[_0x47ffb5(0x21c)](_0x4cf90a,!0x1);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1f7),(_0x148b9a,_0x207730,_0x629d9d)=>{const _0x1c1c20=_0x48816a;this[_0x1c1c20(0x1ca)](_0x207730,_0x1c1c20(0x211)),this[_0x1c1c20(0x1f8)][_0x1c1c20(0x1e6)](_0x207730),this[_0x1c1c20(0x1a0)][_0x1c1c20(0x1ce)](_0x207730)&&this[_0x1c1c20(0x1c5)](_0x207730),_0x629d9d&&this[_0x1c1c20(0x214)](_0x629d9d[_0x1c1c20(0x200)]);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x219),(_0x5203fe,_0x32a573)=>{const _0x10c37c=_0x48816a;this[_0x10c37c(0x214)](_0x32a573);}),this[_0x48816a(0x1d9)](_0x10c7da,_0x48816a(0x19b),()=>{const _0x3ccc03=_0x48816a;this[_0x3ccc03(0x1b1)]();}),this[_0x48816a(0x1d9)](_0x20a2fb,_0x48816a(0x212),(_0x27b076,{threadId:_0x2ac85c,isFromAdapter:_0xe818cf})=>{const _0x1b2b06=_0x48816a;if(_0xe818cf||!_0x5f03f6[_0x1b2b06(0x1fe)](_0x2ac85c))return;const _0x1f18dc=_0x5f03f6[_0x1b2b06(0x1db)](_0x2ac85c);this[_0x1b2b06(0x1a0)][_0x1b2b06(0x205)](_0x1f18dc)[_0x1b2b06(0x201)][_0x1b2b06(0x21f)]();},{'priority':_0x48816a(0x20d)});}[_0x1cd346(0x1b1)](){const _0x4c09c1=_0x1cd346,_0x4095de=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x20c)),_0x29584b=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x1f9)),_0x4995e1=Array[_0x4c09c1(0x223)](_0x4095de[_0x4c09c1(0x1bb)],_0x3bf32c=>_0x3bf32c[_0x4c09c1(0x1ab)])[_0x4c09c1(0x196)](_0x550cc8=>this[_0x4c09c1(0x1a9)][_0x4c09c1(0x1ce)](_0x550cc8)),_0x59aaa3=[];for(const _0x18e9a1 of _0x4995e1){const _0x3f3698=this[_0x4c09c1(0x1a9)][_0x4c09c1(0x205)](_0x18e9a1)[_0x4c09c1(0x1a7)][_0x4c09c1(0x210)]();_0x59aaa3[_0x4c09c1(0x1fc)](..._0x3f3698[_0x4c09c1(0x224)]((_0x43500c,_0x288eb5)=>[..._0x43500c,..._0x288eb5[_0x4c09c1(0x1d6)]()],[]));}_0x29584b[_0x4c09c1(0x217)]=_0x59aaa3;}[_0x1cd346(0x1c6)](){const _0x162f89=_0x1cd346,_0x57864b=this[_0x162f89(0x1a8)],_0x5d3010=_0x57864b[_0x162f89(0x1f6)],_0x1f292d=_0x1518f6(_0x5d3010,_0x162f89(0x1be)),_0x1bacc5=new _0x222bef([{'type':_0x162f89(0x21d),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1f292d,'commandName':_0x162f89(0x208),'role':_0x162f89(0x207)})},{'type':_0x162f89(0x1e5)},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1de)),'commandName':_0x162f89(0x1d7),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x206)),'commandName':_0x162f89(0x1cd),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1fd)),'commandName':_0x162f89(0x1c9),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1f4)),'commandName':_0x162f89(0x1a3),'role':_0x162f89(0x1ad)})}]);for(const _0x234be9 of _0x1bacc5)if(ae(_0x234be9)){const _0x53d75c=_0x57864b[_0x162f89(0x1e8)][_0x162f89(0x205)](_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1e4)]);_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1bd)](_0x162f89(0x1c1),_0x162f89(0x1a1))['to'](_0x53d75c,_0x162f89(0x1c0),_0x162f89(0x1a1));}_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x208),_0x52a021=>this[_0x162f89(0x222)](_0x52a021,_0x1bacc5,_0x1f292d)),_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x1c3),_0x2cb49c=>this[_0x162f89(0x21b)](_0x2cb49c,_0x1bacc5,_0x1f292d));}[_0x1cd346(0x222)](_0x3394e6,_0x28843a,_0x16a924){const _0x2a9a24=_0x1cd346,_0xd1c530=_0x196505(_0x3394e6,_0x3271d6),_0x4a6b30=this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x2a9a24(0x208));_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1ff)]({'tooltip':_0x16a924,'label':_0x16a924,'icon':_0x4e066e}),_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1c1))['to'](_0x4a6b30,_0x2a9a24(0x1c0)),_0xd1c530[_0x2a9a24(0x1fb)]['on'](_0x2a9a24(0x1d8),()=>{const _0x48137a=_0x2a9a24;_0x4a6b30[_0x48137a(0x1d8)](),this[_0x48137a(0x1a8)][_0x48137a(0x1dc)][_0x48137a(0x201)][_0x48137a(0x21f)]();}),_0x3cfb97(_0xd1c530,_0x28843a,{'role':_0x2a9a24(0x1df)});const _0x56da68=[];for(const _0x5e6f3d of _0x28843a)ae(_0x5e6f3d)&&_0x56da68[_0x2a9a24(0x1fc)](this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x5e6f3d[_0x2a9a24(0x1a7)][_0x2a9a24(0x1e4)]));const _0x22db64=_0xd1c530[_0x2a9a24(0x1fb)];return _0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))['to'](_0x4a6b30,_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))[_0x2a9a24(0x1b0)](_0x56da68,_0x2a9a24(0x1a1),(..._0x40b397)=>_0x40b397[_0x2a9a24(0x1d5)](_0x4dc387=>_0x4dc387)),_0xd1c530['on'](_0x2a9a24(0x1d8),_0x40566c=>{const _0x2b04a8=_0x2a9a24;this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1d8)](_0x40566c[_0x2b04a8(0x1ee)][_0x2b04a8(0x1e4)]),this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1dc)][_0x2b04a8(0x201)][_0x2b04a8(0x21f)]();}),_0xd1c530;}[_0x1cd346(0x21b)](_0x1c8404,_0x556d61,_0x926b43){const _0x18a9e8=_0x1cd346,_0x22213d=new _0x44b701(_0x1c8404),_0x23285b=this[_0x18a9e8(0x1a8)][_0x18a9e8(0x1e8)][_0x18a9e8(0x205)](_0x18a9e8(0x208));_0x22213d[_0x18a9e8(0x1fb)][_0x18a9e8(0x1ff)]({'label':_0x926b43,'icon':_0x4e066e});const _0x102889=new _0x5b6ffd(_0x1c8404);for(const _0x110d61 of _0x556d61){if(_0x18a9e8(0x1e5)==_0x110d61[_0x18a9e8(0x1f0)]){_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](new _0x59c66f(_0x1c8404));continue;}const _0x269905=new _0xe8436b(_0x1c8404,_0x22213d),_0x48151b=new _0x42c714(_0x1c8404),_0x235f90=_0x110d61[_0x18a9e8(0x1a7)];_0x48151b[_0x18a9e8(0x1bd)](...Object[_0x18a9e8(0x1b6)](_0x235f90))['to'](_0x235f90),_0x48151b[_0x18a9e8(0x19c)](_0x18a9e8(0x1d8))['to'](_0x22213d),_0x48151b['on'](_0x18a9e8(0x1d8),()=>{const _0x28e1af=_0x18a9e8;this[_0x28e1af(0x1a8)][_0x28e1af(0x1d8)](_0x235f90[_0x28e1af(0x1e4)]),this[_0x28e1af(0x1a8)][_0x28e1af(0x1dc)][_0x28e1af(0x201)][_0x28e1af(0x21f)]();}),_0x269905[_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x48151b),_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](_0x269905);}return _0x22213d[_0x18a9e8(0x1bd)](_0x18a9e8(0x1a1))['to'](_0x23285b,_0x18a9e8(0x1a1)),_0x22213d[_0x18a9e8(0x1e9)][_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x102889),_0x22213d;}[_0x1cd346(0x1b4)](_0x43dee7){const _0x15df13=_0x1cd346,_0xdcd073=this[_0x15df13(0x1a8)],_0x3ef8a0=_0xdcd073[_0x15df13(0x1d3)],_0x49a117=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x20c)),_0x4b1c28=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1ef)),_0x2102a4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b7)),_0x5326c4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x56c672)['me'],_0x33fc49=_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x208))[_0x15df13(0x1eb)],{CommentsListView:_0x417a38,CommentThreadInputView:_0x536cf4}=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b2));let _0x2f0fe8,_0x465946;this[_0x15df13(0x1ba)][_0x15df13(0x1ce)](_0x43dee7['id'])?(_0x465946=this[_0x15df13(0x1ba)][_0x15df13(0x205)](_0x43dee7['id']),_0x2f0fe8=_0x465946[_0x15df13(0x213)]):(_0x2f0fe8=new _0x33fc49(_0xdcd073[_0x15df13(0x1f6)],_0x43dee7,_0x5326c4,{'disableComments':this[_0x15df13(0x20f)],'editorConfig':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1b3)),'maxCommentsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1d0)),'maxThreadTotalWeight':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1c8)),'maxCommentCharsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1af)),'formatDateTime':_0x28a19e(_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f6))),'CommentView':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f3))[_0x15df13(0x21a)],'CommentsListView':_0x417a38,'CommentThreadInputView':_0x536cf4}),_0x2f0fe8[_0x15df13(0x220)]['on'](_0x15df13(0x1d8),()=>{const _0x285423=_0x15df13;_0xdcd073[_0x285423(0x1dc)][_0x285423(0x201)][_0x285423(0x21f)]();}),_0x2f0fe8[_0x15df13(0x203)]['on'](_0x15df13(0x1d8),()=>{const _0x4f2a57=_0x15df13;_0xdcd073[_0x4f2a57(0x1dc)][_0x4f2a57(0x201)][_0x4f2a57(0x21f)]();}),_0x465946=_0x49a117[_0x15df13(0x1ae)](this[_0x15df13(0x1a8)][_0x15df13(0x1f6)],_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x19f))['to'](_0x2f0fe8,_0x15df13(0x19f)),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1cf))['to'](_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1f0))['to'](_0x2f0fe8,_0x15df13(0x1f0),_0x122590=>_0x15df13(0x1ac)+_0x122590),this[_0x15df13(0x1ba)][_0x15df13(0x1ff)](_0x43dee7['id'],_0x465946));const _0x1446e2=_0x4b1c28[_0x15df13(0x1a5)](_0x43dee7[_0x15df13(0x1f1)],_0x2f0fe8),_0x4f62a4=new _0x2e99b6(_0xdcd073,_0x43dee7,_0x2f0fe8,_0x1446e2),_0x18d6be=_0x43dee7[_0x15df13(0x210)]()[_0x15df13(0x196)](_0x1472dd=>_0x1472dd[_0x15df13(0x199)]);_0x2f0fe8[_0x15df13(0x204)]=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1f9))[_0x15df13(0x1b9)][_0x15df13(0x20e)](_0x18d6be),this[_0x15df13(0x1a0)][_0x15df13(0x1ff)](_0x43dee7,_0x4f62a4),this[_0x15df13(0x1a9)][_0x15df13(0x1ff)](_0x2f0fe8,_0x4f62a4);const _0x535198=_0x49a117[_0x15df13(0x1dd)]({'view':_0x465946,'target':()=>{const _0x24c5fb=_0x15df13,_0x13a12f=[],_0x3a8f9a=_0x43dee7[_0x24c5fb(0x210)]()[_0x24c5fb(0x196)](_0x1787fd=>_0x1787fd[_0x24c5fb(0x199)]);for(const _0x2c1396 of _0x3a8f9a)_0x13a12f[_0x24c5fb(0x1fc)](..._0x2c1396[_0x24c5fb(0x1c2)]());return _0x1ff541(_0xdcd073[_0x24c5fb(0x1dc)],_0x13a12f);},'type':()=>_0x15df13(0x1ac)+_0x4f62a4[_0x15df13(0x201)][_0x15df13(0x1f0)]});_0x4b1c28[_0x15df13(0x1d4)](_0x2f0fe8,_0x535198),_0x49a117[_0x15df13(0x198)](_0x535198),_0x2102a4[_0x15df13(0x1ed)](_0x535198);}[_0x1cd346(0x1c5)](_0x1cf994){const _0x4c4f61=_0x1cd346,_0x20fb39=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x1ef)),_0x717dc=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x20c)),_0x2d1cd8=this[_0x4c4f61(0x1a0)][_0x4c4f61(0x205)](_0x1cf994),_0x5836a8=_0x2d1cd8[_0x4c4f61(0x201)],_0x2017ef=_0x717dc[_0x4c4f61(0x195)](_0x5836a8);_0x20fb39[_0x4c4f61(0x216)](_0x5836a8),_0x2017ef&&_0x717dc[_0x4c4f61(0x1bf)](_0x2017ef),this[_0x4c4f61(0x1a0)][_0x4c4f61(0x1e6)](_0x1cf994),this[_0x4c4f61(0x1a9)][_0x4c4f61(0x1e6)](_0x5836a8),_0x2d1cd8[_0x4c4f61(0x1cc)]();}[_0x1cd346(0x214)](_0x1c248d){const _0xeb0fcd=_0x1cd346;if(!_0x1c248d[_0xeb0fcd(0x199)]||!this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x1ce)](_0x1c248d))return;const _0x18e87f=this[_0xeb0fcd(0x1a8)][_0xeb0fcd(0x19e)][_0xeb0fcd(0x205)](_0xeb0fcd(0x1f9)),_0x4d220b=this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x205)](_0x1c248d),_0x54a099=_0x1c248d[_0xeb0fcd(0x210)]();_0x4d220b[_0xeb0fcd(0x201)][_0xeb0fcd(0x204)]=_0x18e87f[_0xeb0fcd(0x1b9)][_0xeb0fcd(0x20e)](_0x54a099);}[_0x1cd346(0x1cc)](){const _0x299a07=_0x1cd346;for(const _0x5d3c59 of this[_0x299a07(0x1a0)][_0x299a07(0x1b6)]())this[_0x299a07(0x1c5)](_0x5d3c59);for(const _0x3e2460 of this[_0x299a07(0x1ba)][_0x299a07(0x1b8)]())_0x3e2460[_0x299a07(0x213)][_0x299a07(0x1cc)]();super[_0x299a07(0x1cc)]();}}function ae(_0xbec173){const _0xef76c1=_0x1cd346;return _0xef76c1(0x1a7)in _0xbec173;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3d71c3=_0x5a60;function _0x3ad6(){const _0x5d5980=['isEnabled','view','_editor','2289500jICCrs','_discardCommand','listenTo','locale','getRanges','add','model','canAccept','plugins','canEditAt','_pendingAction','81XJVSAv','PendingActions','_acceptCommand','get','acceptSuggestion','_removePendingAction','remove','4077045IcVWJh','8oEyVMf','3HxiiFi','bind','9026540xFhUJB','canDiscard','destroy','unbind','6617781aeaFno','stopListening','commentThreadController','3938724QSyLOc','discardSuggestion','execute','1482EtnNvj','isDirty','_setPendingAction','797230AxleoH','commands','change:isDirty','PENDING_ACTION_SUGGESTION'];_0x3ad6=function(){return _0x5d5980;};return _0x3ad6();}(function(_0x1f1bc1,_0x3208ea){const _0x5e92f3=_0x5a60,_0x53b5cd=_0x1f1bc1();while(!![]){try{const _0x49ad56=-parseInt(_0x5e92f3(0x9e))/0x1*(-parseInt(_0x5e92f3(0x89))/0x2)+-parseInt(_0x5e92f3(0xa7))/0x3*(-parseInt(_0x5e92f3(0x93))/0x4)+-parseInt(_0x5e92f3(0x8c))/0x5+parseInt(_0x5e92f3(0x86))/0x6+-parseInt(_0x5e92f3(0xa5))/0x7+-parseInt(_0x5e92f3(0xa6))/0x8*(parseInt(_0x5e92f3(0xad))/0x9)+parseInt(_0x5e92f3(0xa9))/0xa;if(_0x49ad56===_0x3208ea)break;else _0x53b5cd['push'](_0x53b5cd['shift']());}catch(_0x2baea9){_0x53b5cd['push'](_0x53b5cd['shift']());}}}(_0x3ad6,0xae64a));import{ObservableMixin as _0x30acd2}from'ckeditor5/src/utils.js';import{getTranslation as _0x31b32a}from'../utils/common-translations.js';function _0x5a60(_0x32b308,_0x25527d){const _0x3ad612=_0x3ad6();return _0x5a60=function(_0x5a60cc,_0xd3a658){_0x5a60cc=_0x5a60cc-0x86;let _0x22ecb5=_0x3ad612[_0x5a60cc];return _0x22ecb5;},_0x5a60(_0x32b308,_0x25527d);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30acd2(){constructor(_0x1a3f49,_0x2e991a,_0x5434a4,_0xb7b9a6){const _0x22f371=_0x5a60;super(),this[_0x22f371(0x99)]=_0x2e991a,this[_0x22f371(0x91)]=_0x5434a4,this[_0x22f371(0xaf)]=_0xb7b9a6,this[_0x22f371(0x92)]=_0x1a3f49,this[_0x22f371(0xa0)]=_0x1a3f49[_0x22f371(0x8d)][_0x22f371(0xa1)](_0x22f371(0xa2)),this[_0x22f371(0x94)]=_0x1a3f49[_0x22f371(0x8d)][_0x22f371(0xa1)](_0x22f371(0x87)),this[_0x22f371(0x91)][_0x22f371(0xa8)](_0x22f371(0x90))['to'](this[_0x22f371(0xa0)],this[_0x22f371(0x94)],(_0x2223de,_0x4818d5)=>_0x2223de||_0x4818d5),this[_0x22f371(0x91)][_0x22f371(0xa8)](_0x22f371(0x9a))['to'](this[_0x22f371(0xa0)],_0x22f371(0x90),_0xb3539e=>_0xb3539e&&this[_0x22f371(0x92)][_0x22f371(0x99)][_0x22f371(0x9c)](_0x2e991a[_0x22f371(0x97)]())),this[_0x22f371(0x91)][_0x22f371(0xa8)](_0x22f371(0xaa))['to'](this[_0x22f371(0x94)],_0x22f371(0x90),_0x2a1e57=>_0x2a1e57&&this[_0x22f371(0x92)][_0x22f371(0x99)][_0x22f371(0x9c)](_0x2e991a[_0x22f371(0x97)]())),this[_0x22f371(0x9d)]=null,_0x5434a4[_0x22f371(0x8a)]&&this[_0x22f371(0x8b)](),this[_0x22f371(0x95)](_0x5434a4,_0x22f371(0xa2),()=>this[_0x22f371(0xa2)]()),this[_0x22f371(0x95)](_0x5434a4,_0x22f371(0x87),()=>this[_0x22f371(0x87)]()),this[_0x22f371(0x95)](_0x5434a4,_0x22f371(0x8e),()=>{const _0x177770=_0x22f371;_0x5434a4[_0x177770(0x8a)]?this[_0x177770(0x8b)]():this[_0x177770(0xa3)]();});}[_0x3d71c3(0xa2)](){const _0x1a4705=_0x3d71c3;this[_0x1a4705(0xa0)][_0x1a4705(0x88)](this[_0x1a4705(0x99)]['id']);}[_0x3d71c3(0x87)](){const _0x5d2165=_0x3d71c3;this[_0x5d2165(0x94)][_0x5d2165(0x88)](this[_0x5d2165(0x99)]['id']);}[_0x3d71c3(0xab)](){const _0x22954a=_0x3d71c3;this[_0x22954a(0x91)][_0x22954a(0xac)](_0x22954a(0x90)),this[_0x22954a(0x91)][_0x22954a(0xac)](_0x22954a(0x9a)),this[_0x22954a(0x91)][_0x22954a(0xac)](_0x22954a(0xaa)),this[_0x22954a(0xae)](),this[_0x22954a(0xaf)][_0x22954a(0xab)](),this[_0x22954a(0x9d)]&&this[_0x22954a(0xa3)]();}[_0x3d71c3(0x8b)](){const _0x113553=_0x3d71c3,_0x3a58d2=_0x31b32a(this[_0x113553(0x92)][_0x113553(0x96)],_0x113553(0x8f));this[_0x113553(0x9d)]=this[_0x113553(0x92)][_0x113553(0x9b)][_0x113553(0xa1)](_0x113553(0x9f))[_0x113553(0x98)](_0x3a58d2);}[_0x3d71c3(0xa3)](){const _0x23994d=_0x3d71c3;null!==this[_0x23994d(0x9d)]&&this[_0x23994d(0x92)][_0x23994d(0x9b)][_0x23994d(0xa1)](_0x23994d(0x9f))[_0x23994d(0xa4)](this[_0x23994d(0x9d)]),this[_0x23994d(0x9d)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x335ac8=_0x2ddf;(function(_0x438460,_0x12c07d){const _0x3095ea=_0x2ddf,_0xfd05f0=_0x438460();while(!![]){try{const _0x425bb5=parseInt(_0x3095ea(0x1e1))/0x1+parseInt(_0x3095ea(0x1f8))/0x2*(parseInt(_0x3095ea(0x1ee))/0x3)+parseInt(_0x3095ea(0x20a))/0x4+-parseInt(_0x3095ea(0x1fa))/0x5+-parseInt(_0x3095ea(0x1f0))/0x6+-parseInt(_0x3095ea(0x203))/0x7*(parseInt(_0x3095ea(0x20c))/0x8)+parseInt(_0x3095ea(0x211))/0x9;if(_0x425bb5===_0x12c07d)break;else _0xfd05f0['push'](_0xfd05f0['shift']());}catch(_0x993100){_0xfd05f0['push'](_0xfd05f0['shift']());}}}(_0x5600,0x935c8));import{View as _0x2b5fed}from'ckeditor5/src/ui.js';function _0x2ddf(_0x305321,_0x3f770d){const _0x5600b1=_0x5600();return _0x2ddf=function(_0x2ddf42,_0x4027b3){_0x2ddf42=_0x2ddf42-0x1e1;let _0x244388=_0x5600b1[_0x2ddf42];return _0x244388;},_0x2ddf(_0x305321,_0x3f770d);}function _0x5600(){const _0x54f15d=['commentThread','826038Vyikzd','assign','4543870bplIss','submit','cancel','isReadOnly','delegate','isActive','_model','destroy','element','98PwTtFU','isDirty','disableComments','editorConfig','isEnabled','commentInputView','CommentView','4607496uXxbKJ','commentThreadInputView','471208gjfrSm','canAccept','descriptionParts','authoredAt','fire','10478583orurrS','_createCommentViews','681809FLeeIw','addComment','length','set','updateComment','editor','disabledSubmit','canDiscard','removeComment','focus','setData','bind','value','3QWZGbI','_localUser','6444054GXRBSS','commentsListView','locale','showInput','hasDirtyComment','_createCommentThreadInputView','_config'];_0x5600=function(){return _0x54f15d;};return _0x5600();}export default class es extends _0x2b5fed{constructor(_0x1453f6,_0x30f41b,_0x330ac8,_0x2d90f2){const _0x4321ca=_0x2ddf;super(_0x1453f6),this[_0x4321ca(0x1f1)]=null,this[_0x4321ca(0x20b)]=null,this[_0x4321ca(0x1e4)](_0x4321ca(0x1ff),!0x1),this[_0x4321ca(0x1e4)](_0x4321ca(0x20f),_0x30f41b[_0x4321ca(0x20f)]),this[_0x4321ca(0x1ec)](_0x4321ca(0x20f))['to'](_0x30f41b),this[_0x4321ca(0x1e4)](_0x4321ca(0x20e),[]),this[_0x4321ca(0x1e4)](_0x4321ca(0x204),!0x1),this[_0x4321ca(0x1e4)](_0x4321ca(0x207),!0x1),this[_0x4321ca(0x1e4)](_0x4321ca(0x20d),!0x1),this[_0x4321ca(0x1e4)](_0x4321ca(0x1e8),!0x1),this[_0x4321ca(0x200)]=_0x30f41b,this[_0x4321ca(0x1ef)]=_0x330ac8,this[_0x4321ca(0x1f6)]=_0x2d90f2,_0x2d90f2[_0x4321ca(0x205)]?this[_0x4321ca(0x1e4)](_0x4321ca(0x1e3),0x1):this[_0x4321ca(0x212)]();}[_0x335ac8(0x1ea)](){const _0x5c73cb=_0x335ac8;this[_0x5c73cb(0x202)][_0x5c73cb(0x1ea)]();}[_0x335ac8(0x201)](){const _0x2befef=_0x335ac8;this[_0x2befef(0x1f1)]&&this[_0x2befef(0x1f1)][_0x2befef(0x201)](),this[_0x2befef(0x20b)]&&this[_0x2befef(0x20b)][_0x2befef(0x201)](),super[_0x2befef(0x201)]();}[_0x335ac8(0x212)](){const _0x204d78=_0x335ac8,{CommentsListView:_0x54692e}=this[_0x204d78(0x1f6)];this[_0x204d78(0x1f1)]=new _0x54692e(this[_0x204d78(0x1f2)],this[_0x204d78(0x200)][_0x204d78(0x1f7)],Object[_0x204d78(0x1f9)]({'CommentView':this[_0x204d78(0x1f6)][_0x204d78(0x209)]},this[_0x204d78(0x1f6)])),this[_0x204d78(0x1f1)][_0x204d78(0x1fe)](_0x204d78(0x1e9))['to'](this),this[_0x204d78(0x1f1)][_0x204d78(0x1fe)](_0x204d78(0x1e5))['to'](this),this[_0x204d78(0x1f1)][_0x204d78(0x1ec)](_0x204d78(0x1ff))['to'](this),this[_0x204d78(0x1e4)](_0x204d78(0x1e3),this[_0x204d78(0x1f1)][_0x204d78(0x1e3)]+0x1),this[_0x204d78(0x1ec)](_0x204d78(0x1e3))['to'](this[_0x204d78(0x1f1)],_0x204d78(0x1e3),_0x5a5994=>_0x5a5994+0x1),this[_0x204d78(0x20b)]=this[_0x204d78(0x1f5)](),this['on'](_0x204d78(0x1e9),()=>this[_0x204d78(0x1ea)]()),this[_0x204d78(0x1ec)](_0x204d78(0x204))['to'](this[_0x204d78(0x1f1)],_0x204d78(0x1f4),this[_0x204d78(0x20b)][_0x204d78(0x208)],_0x204d78(0x1ed),(_0x55feb7,_0x4f72e1)=>_0x55feb7||!!_0x4f72e1);}[_0x335ac8(0x1f5)](){const _0x48608b=_0x335ac8,{CommentThreadInputView:_0x3bd2c8}=this[_0x48608b(0x1f6)],_0x70bc61=new _0x3bd2c8(this[_0x48608b(0x1f2)],this[_0x48608b(0x1ef)],this[_0x48608b(0x1f6)][_0x48608b(0x206)]),_0x15b3d5=_0x70bc61[_0x48608b(0x208)];return _0x70bc61[_0x48608b(0x1ec)](_0x48608b(0x1f3))['to'](this,_0x48608b(0x1ff),this[_0x48608b(0x200)][_0x48608b(0x1f7)],_0x48608b(0x1fd),_0x15b3d5,_0x48608b(0x1ed),(_0x50cb16,_0x421e2f,_0x58c333)=>!!_0x58c333||_0x50cb16&&!_0x421e2f),_0x15b3d5['on'](_0x48608b(0x1fb),(_0x5447cf,_0x58b916)=>{const _0x26d5ff=_0x48608b;this[_0x26d5ff(0x210)](_0x26d5ff(0x1e2),_0x58b916),_0x15b3d5[_0x26d5ff(0x1e6)][_0x26d5ff(0x1eb)]('');}),_0x15b3d5['on'](_0x48608b(0x1fc),()=>this[_0x48608b(0x1ea)]()),_0x15b3d5[_0x48608b(0x1ec)](_0x48608b(0x1e7))['to'](this[_0x48608b(0x200)][_0x48608b(0x1f7)],_0x48608b(0x1fd)),_0x70bc61;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1251(_0x46d42f,_0x483a28){const _0x4f7e6d=_0x4f7e();return _0x1251=function(_0x125192,_0x83c0e6){_0x125192=_0x125192-0x95;let _0x3cee6f=_0x4f7e6d[_0x125192];return _0x3cee6f;},_0x1251(_0x46d42f,_0x483a28);}const _0x59df4c=_0x1251;(function(_0x3443bf,_0xddbd73){const _0x52adaa=_0x1251,_0x3a2114=_0x3443bf();while(!![]){try{const _0x116c61=parseInt(_0x52adaa(0xef))/0x1+-parseInt(_0x52adaa(0xed))/0x2*(parseInt(_0x52adaa(0xbc))/0x3)+-parseInt(_0x52adaa(0xec))/0x4*(parseInt(_0x52adaa(0xda))/0x5)+parseInt(_0x52adaa(0xa0))/0x6+parseInt(_0x52adaa(0xa2))/0x7+-parseInt(_0x52adaa(0xfd))/0x8*(parseInt(_0x52adaa(0x9e))/0x9)+-parseInt(_0x52adaa(0xb8))/0xa*(-parseInt(_0x52adaa(0xde))/0xb);if(_0x116c61===_0xddbd73)break;else _0x3a2114['push'](_0x3a2114['shift']());}catch(_0x15d5b5){_0x3a2114['push'](_0x3a2114['shift']());}}}(_0x4f7e,0x2121d));import{getTranslation as _0x2a4fd9}from'../../utils/common-translations.js';import{default as _0x1f4578}from'./basesuggestionthreadview.js';import{ButtonView as _0x1ba0f0}from'ckeditor5/src/ui.js';import{icons as _0x4d6149}from'ckeditor5/src/core.js';function _0x4f7e(){const _0x5344ab=['bindTemplate','549OuwvrX','<p>','142776yZxiGQ','description','1529423plSdOg','ck-suggestion__info-name','authoredAt','Discard\x20suggestion','execute','innerHTML','div','getTemplate','ck-suggestion-wrapper--active','<span\x20class=\x22ck-suggestion-type\x22>','commentsListView','author','split','push','_descriptionElement','getExternalSuggestionNote','ck-suggestion--disabled-comments','commentThreadInputView','creator','isEnabled','importWord','ck-comment__info-time','154450QevywB','ck-suggestion__main','EXTERNAL_SUGGESTION','_createButton','1170olSYWw','discardButton','ck-annotation__info','EXTERNAL_AVATAR','locale','delegate','EXTERNAL_IMPORT_WORD_AVATAR','attributes','change:description','ck-annotation__info-time','acceptSuggestion','render','ck-annotation__content-wrapper','map','Accept\x20suggestion','.ck-annotation__content-wrapper','_model','children','ck-suggestion','color','name','canDiscard','ck-suggestion-wrapper','join','set','extendTemplate','formatDateTime','time','ck-suggestion__info','fire','282935YPqfLg','type','ck-annotation__main','ck-suggestion--accept','11sjIOtR','discardSuggestion','ck-annotation__actions','acceptButton','innerText','ck-suggestion-','title','</p>','editorDestroyed','querySelector','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','_config','descriptionParts','content','4zBNUxn','810FaToVR','element','182247MfYiqN','@external','setTemplate','source','ck-annotation','ck-annotation__user','\x22\x20title=\x22','editorReady','getUserViewNotificationText','ck-suggestion--discard','ck-annotation__info-name','check','ck-suggestion__actions','disableComments','11768NUxSdn','value','ck-comment__external','bind','cancel','span','EXTERNAL_IMPORT_WORD_SUGGESTION','isActive','</span>','\x22></span>','commentThread','isExternal','userView','canAccept','createElement','ck-suggestion__user'];_0x4f7e=function(){return _0x5344ab;};return _0x4f7e();}import{trimHtml as _0x3b88fd,UserView as _0x466734}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1f4578{constructor(_0x21f5e1,_0x237153,_0x5264a8,_0x47a5ca){const _0x34a39a=_0x1251;super(_0x21f5e1,_0x237153,_0x5264a8,_0x47a5ca),this[_0x34a39a(0xd4)](_0x34a39a(0xdb),''),this[_0x34a39a(0x100)](_0x34a39a(0xdb))['to'](this,_0x34a39a(0xea),_0x737b1=>_0x737b1&&_0x737b1[0x0]?_0x737b1[0x0][_0x34a39a(0xdb)]:''),this[_0x34a39a(0x100)](_0x34a39a(0xa1))['to'](this,_0x34a39a(0xea),this,_0x34a39a(0x104),(_0xf4424f,_0x1fa419)=>{const _0x25d32e=_0x34a39a;let _0x2edf91='';for(const _0x46e160 of _0xf4424f)_0x2edf91+=_0x25d32e(0x9f)+ds(_0x46e160[_0x25d32e(0xeb)],_0x46e160[_0x25d32e(0xcf)])+_0x25d32e(0xe5);return _0x1fa419?_0x2edf91:_0x3b88fd(_0x2edf91,{'limit':0x8c});}),this[_0x34a39a(0xb0)]=null,this[_0x34a39a(0xe1)]=this[_0x34a39a(0xbb)](_0x2a4fd9(_0x21f5e1,_0x34a39a(0xca)),_0x4d6149[_0x34a39a(0xfa)],_0x34a39a(0xdd),_0x34a39a(0xc6),'sw'),this[_0x34a39a(0xe1)][_0x34a39a(0x100)](_0x34a39a(0xb5))['to'](this,_0x34a39a(0x9a)),this[_0x34a39a(0xbd)]=this[_0x34a39a(0xbb)](_0x2a4fd9(_0x21f5e1,_0x34a39a(0xa5)),_0x4d6149[_0x34a39a(0x101)],_0x34a39a(0xf8),_0x34a39a(0xdf),'sw'),this[_0x34a39a(0xbd)][_0x34a39a(0x100)](_0x34a39a(0xb5))['to'](this,_0x34a39a(0xd1)),this[_0x34a39a(0x99)]=new _0x466734(_0x21f5e1,this[_0x34a39a(0xcc)][_0x34a39a(0xad)],this[_0x34a39a(0xf7)]()),this[_0x34a39a(0x99)][_0x34a39a(0xd5)]({'attributes':{'class':[_0x34a39a(0x9c),_0x34a39a(0xf4)]}}),this[_0x34a39a(0xf1)](this[_0x34a39a(0xa9)]());}[_0x59df4c(0xa9)](){const _0x2abf80=_0x59df4c,_0x2bf750=this[_0x2abf80(0x9d)],_0x29518f=[{'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xd8),_0x2abf80(0xbe)]},'children':[{'tag':_0x2abf80(0x102),'children':[{'text':this[_0x2abf80(0x99)][_0x2abf80(0xd0)]}],'attributes':{'class':[_0x2abf80(0xa3),_0x2abf80(0xf9)]}},{'tag':_0x2abf80(0xd7),'attributes':{'datetime':_0x2bf750['to'](_0x2abf80(0xa4)),'class':[_0x2abf80(0xb7),_0x2abf80(0xc5)]},'children':[{'text':_0x2bf750['to'](_0x2abf80(0xa4),_0x20d74a=>this[_0x2abf80(0xe9)][_0x2abf80(0xd6)](_0x20d74a))}]}]},{'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xfb),_0x2abf80(0xe0)]},'children':[this[_0x2abf80(0xe1)],this[_0x2abf80(0xbd)]]},{'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xc8)]}}];this[_0x2abf80(0xcc)][_0x2abf80(0x98)]&&_0x29518f[_0x2abf80(0xaf)]({'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xff)]},'children':[{'text':this[_0x2abf80(0xb1)]()}]});const _0x5d3df2={'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xd2),_0x2bf750['if'](_0x2abf80(0x104),_0x2abf80(0xaa)),_0x2bf750['to'](_0x2abf80(0xdb),_0x32174a=>_0x2abf80(0xe3)+_0x32174a),this[_0x2abf80(0xe9)][_0x2abf80(0xfc)]&&_0x2abf80(0xb2)],'data-suggestion-id':this[_0x2abf80(0xcc)]['id'],'data-thread-id':this[_0x2abf80(0xcc)][_0x2abf80(0x97)]['id'],'data-author-id':this[_0x2abf80(0xcc)][_0x2abf80(0xad)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xce),_0x2abf80(0xf3)]},'children':[this[_0x2abf80(0x99)],{'tag':_0x2abf80(0xa8),'attributes':{'class':[_0x2abf80(0xb9),_0x2abf80(0xdc)]},'children':_0x29518f}]}]};return this[_0x2abf80(0xac)]&&this[_0x2abf80(0xb3)]&&(_0x5d3df2[_0x2abf80(0xcd)][_0x2abf80(0xaf)](this[_0x2abf80(0xac)],this[_0x2abf80(0xb3)]),this[_0x2abf80(0xac)][_0x2abf80(0xc1)](_0x2abf80(0xf6))['to'](this),this[_0x2abf80(0xac)][_0x2abf80(0xc1)](_0x2abf80(0xe6))['to'](this),this[_0x2abf80(0xb3)][_0x2abf80(0xc1)](_0x2abf80(0xf6))['to'](this),this[_0x2abf80(0xb3)][_0x2abf80(0xc1)](_0x2abf80(0xe6))['to'](this)),_0x5d3df2;}[_0x59df4c(0xc7)](){const _0x58768e=_0x59df4c;super[_0x58768e(0xc7)](),this[_0x58768e(0xb0)]=this[_0x58768e(0xee)][_0x58768e(0xe7)](_0x58768e(0xcb)),this[_0x58768e(0xb0)][_0x58768e(0xa7)]=this[_0x58768e(0xa1)],this['on'](_0x58768e(0xc4),(_0x453533,_0x397037,_0x9f9811)=>{const _0x3920ae=_0x58768e;this[_0x3920ae(0xb0)][_0x3920ae(0xa7)]=_0x9f9811;});}[_0x59df4c(0xbb)](_0x1c0860,_0x47286a,_0x36341b,_0x11cf77,_0x52951e){const _0xd718b3=_0x59df4c,_0x560c84=new _0x1ba0f0(this[_0xd718b3(0xc0)]);return _0x560c84[_0xd718b3(0xd4)]({'label':_0x1c0860,'icon':_0x47286a,'tooltip':!0x0,'tooltipPosition':_0x52951e}),_0x560c84[_0xd718b3(0xd5)]({'attributes':{'class':_0x36341b}}),_0x560c84['on'](_0xd718b3(0xa6),()=>{const _0x2e988d=_0xd718b3;this[_0x2e988d(0xd9)](_0x11cf77,this[_0x2e988d(0xcc)]['id']);}),_0x560c84;}[_0x59df4c(0xb1)](){const _0x3a5db9=_0x59df4c;return _0x3a5db9(0xb6)===this[_0x3a5db9(0xcc)][_0x3a5db9(0xc3)][_0x3a5db9(0xf0)][_0x3a5db9(0xf2)]?_0x2a4fd9(this[_0x3a5db9(0xc0)],_0x3a5db9(0x103)):_0x2a4fd9(this[_0x3a5db9(0xc0)],_0x3a5db9(0xba));}[_0x59df4c(0xf7)](){const _0x5dd5e8=_0x59df4c;return this[_0x5dd5e8(0xcc)][_0x5dd5e8(0x98)]?_0x5dd5e8(0xb6)===this[_0x5dd5e8(0xcc)][_0x5dd5e8(0xc3)][_0x5dd5e8(0xf0)][_0x5dd5e8(0xf2)]?_0x2a4fd9(this[_0x5dd5e8(0xc0)],_0x5dd5e8(0xc2),this[_0x5dd5e8(0xcc)][_0x5dd5e8(0xb4)][_0x5dd5e8(0xd0)]):_0x2a4fd9(this[_0x5dd5e8(0xc0)],_0x5dd5e8(0xbf),this[_0x5dd5e8(0xcc)][_0x5dd5e8(0xb4)][_0x5dd5e8(0xd0)]):null;}}function ds(_0x5913f3,_0x328c83){const _0x34c24b=_0x59df4c;let _0x24c4de='';return _0x24c4de+=_0x5913f3[_0x34c24b(0xae)]('*')[_0x34c24b(0xc9)]((_0x115f5d,_0x2ab642)=>_0x2ab642%0x2!=0x0?_0x34c24b(0xab)+us(_0x115f5d)+_0x34c24b(0x95):us(_0x115f5d))[_0x34c24b(0xd3)](''),_0x328c83&&(_0x24c4de+=_0x34c24b(0xe8)+_0x328c83[_0x34c24b(0xfe)]+_0x34c24b(0xf5)+_0x328c83[_0x34c24b(0xe4)]+_0x34c24b(0x96)),_0x24c4de;}function us(_0x1e2428){const _0x50fd21=_0x59df4c,_0x3db655=document[_0x50fd21(0x9b)](_0x50fd21(0x102));return _0x3db655[_0x50fd21(0xe2)]=_0x1e2428,_0x3db655[_0x50fd21(0xa7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1c135d,_0x14fa2d,_0x5afbe1){const t=_0x1c135d['t'];switch(_0x14fa2d){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',_0x5afbe1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5afbe1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5afbe1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5afbe1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5afbe1);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',_0x5afbe1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5afbe1);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',_0x5afbe1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5afbe1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5afbe1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5afbe1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5afbe1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5afbe1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5afbe1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5afbe1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5afbe1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5afbe1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5afbe1);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5afbe1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5afbe1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5afbe1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5afbe1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5afbe1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5afbe1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5afbe1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5afbe1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5afbe1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5afbe1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5afbe1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5afbe1);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x5afbe1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5afbe1);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'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5afbe1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5afbe1);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'},_0x5afbe1);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'},_0x5afbe1);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 _0x14fa2d;}}
|
|
23
|
+
export function getTranslation(_0x32e4a2,_0x5bf21c,_0x3bfad5){const t=_0x32e4a2['t'];switch(_0x5bf21c){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',_0x3bfad5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3bfad5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3bfad5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3bfad5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3bfad5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3bfad5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3bfad5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3bfad5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3bfad5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3bfad5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3bfad5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3bfad5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3bfad5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3bfad5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3bfad5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3bfad5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3bfad5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3bfad5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3bfad5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3bfad5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3bfad5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3bfad5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3bfad5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3bfad5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3bfad5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3bfad5);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x3bfad5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3bfad5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);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 _0x5bf21c;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4f74d5,_0x381730){const _0x5271ae=_0x17d0,_0x4aec87=_0x4f74d5();while(!![]){try{const _0x396ee8=-parseInt(_0x5271ae(0x12a))/0x1*(parseInt(_0x5271ae(0x11c))/0x2)+parseInt(_0x5271ae(0x137))/0x3+parseInt(_0x5271ae(0x11b))/0x4*(-parseInt(_0x5271ae(0x135))/0x5)+-parseInt(_0x5271ae(0x131))/0x6*(-parseInt(_0x5271ae(0x13a))/0x7)+-parseInt(_0x5271ae(0x142))/0x8*(-parseInt(_0x5271ae(0x11e))/0x9)+-parseInt(_0x5271ae(0x11f))/0xa*(parseInt(_0x5271ae(0x144))/0xb)+-parseInt(_0x5271ae(0x119))/0xc;if(_0x396ee8===_0x381730)break;else _0x4aec87['push'](_0x4aec87['shift']());}catch(_0x1c79cc){_0x4aec87['push'](_0x4aec87['shift']());}}}(_0x3e55,0x249da));export function normalizeDescription(_0x1078ab){const _0x5cedc9=_0x17d0;return Array[_0x5cedc9(0x12f)](_0x1078ab)||(_0x1078ab=[_0x1078ab]),_0x1078ab[_0x5cedc9(0x124)](_0x1fbdf5=>{const _0x353e3a=_0x5cedc9,_0x4243fc=_0x1fbdf5[_0x353e3a(0x13f)][_0x353e3a(0x122)](/\*/g,''),_0x18b27a=_0x1fbdf5[_0x353e3a(0x12c)]?_0x353e3a(0x13e)+_0x1fbdf5[_0x353e3a(0x12c)][_0x353e3a(0x129)]+']':'';return'['+_0x1fbdf5[_0x353e3a(0x132)]+']\x20'+_0x4243fc+_0x18b27a;})[_0x5cedc9(0x11a)](';\x20');}export function sortSuggestions(_0x2738a6){const _0x3fea3d=_0x17d0;return _0x2738a6[_0x3fea3d(0x139)]((_0x517557,_0x8ee920)=>_0x3fea3d(0x13c)==_0x517557[_0x3fea3d(0x132)]&&_0x3fea3d(0x13c)!=_0x8ee920[_0x3fea3d(0x132)]?-0x1:_0x3fea3d(0x13c)!=_0x517557[_0x3fea3d(0x132)]&&_0x3fea3d(0x13c)==_0x8ee920[_0x3fea3d(0x132)]?0x1:0x0);}function _0x17d0(_0x461cbc,_0x3e0650){const _0x3e5515=_0x3e55();return _0x17d0=function(_0x17d0fb,_0x8703b5){_0x17d0fb=_0x17d0fb-0x118;let _0x5b4229=_0x3e5515[_0x17d0fb];return _0x5b4229;},_0x17d0(_0x461cbc,_0x3e0650);}export function getSelectedSuggestions(_0x4e4015,_0x5ee079){const _0x55e698=_0x17d0,_0x1440f0=Array[_0x55e698(0x13d)](_0x4e4015[_0x55e698(0x134)]()),_0x54e3d5=new Set();for(const _0x49e3f5 of _0x5ee079)if(_0x49e3f5[_0x55e698(0x133)]){for(const _0x10ac92 of _0x1440f0)for(const _0x45d768 of _0x49e3f5[_0x55e698(0x134)]())(_0x10ac92[_0x55e698(0x118)](_0x45d768)||_0x4e4015[_0x55e698(0x141)]&&!_0x49e3f5[_0x55e698(0x12d)]&&_0x49e3f5[_0x55e698(0x136)]&&_0x45d768[_0x55e698(0x12e)][_0x55e698(0x123)](_0x10ac92[_0x55e698(0x127)]))&&_0x54e3d5[_0x55e698(0x130)](_0x49e3f5);}return _0x54e3d5;}export function getRangesOfBlockGroups(_0x320ab9,_0x3cbc5f){const _0x1a0088=_0x17d0;let _0x1c3ee1,_0x5631e5=0x0;const _0x59ded6=[],_0x8ff1d0=_0x3cbc5f[_0x1a0088(0x120)];for(;_0x5631e5<_0x320ab9[_0x1a0088(0x140)];){const _0x150cc2=_0x320ab9[_0x5631e5],_0x101643=_0x320ab9[_0x5631e5+0x1];_0x1c3ee1||(_0x1c3ee1=_0x3cbc5f[_0x1a0088(0x121)](_0x150cc2)),co(_0x3cbc5f,_0x150cc2,_0x101643)||(_0x59ded6[_0x1a0088(0x126)](_0x3cbc5f[_0x1a0088(0x138)](_0x1c3ee1,_0x8ff1d0[_0x1a0088(0x128)](_0x150cc2)?_0x3cbc5f[_0x1a0088(0x11d)](_0x150cc2):_0x3cbc5f[_0x1a0088(0x125)](_0x150cc2,_0x1a0088(0x12e)))),_0x1c3ee1=null),_0x5631e5++;}return _0x59ded6;}function co(_0x4379eb,_0x348c65,_0x3370d4){const _0x4c4b95=_0x17d0;if(!_0x3370d4)return!0x1;const _0xfac281=_0x4379eb[_0x4c4b95(0x11d)](_0x348c65),_0x199268=_0x4379eb[_0x4c4b95(0x121)](_0x3370d4);return _0xfac281[_0x4c4b95(0x123)](_0x199268);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x3e55(){const _0xb12621=['execute','11jxQTAd','isIntersecting','245520cJNnxn','join','4dAFTkS','2OwkqnC','createPositionAfter','2381877GWhivc','807650BywdeZ','schema','createPositionBefore','replace','isTouching','map','createPositionAt','push','start','isObject','value','233231hyaxzO','splice','color','isMultiRange','end','isArray','add','12fsbVwX','type','isInContent','getRanges','417955xyuSFa','next','421044RPTISq','createRange','sort','570584PEpKgQ','change','deletion','from','\x20[color\x20','content','length','isCollapsed','8EFQlJq'];_0x3e55=function(){return _0xb12621;};return _0x3e55();}export function executeCommandForSuggestions(_0x47ed81,_0x17a613,_0x38e54c){const _0x104e8a=_0x17d0;for(;_0x38e54c[_0x104e8a(0x140)];){const _0x597c73=_0x38e54c[_0x104e8a(0x12b)](0x0,0x64);_0x47ed81[_0x104e8a(0x13b)](()=>{const _0xc272ed=_0x104e8a;for(const _0x155e55 of _0x597c73)_0x155e55[_0xc272ed(0x133)]&&_0x17a613[_0xc272ed(0x143)](_0x155e55['id']);});}}
|