@ckeditor/ckeditor5-track-changes 41.4.0 → 41.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +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 +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x533845=_0x1ea1;(function(_0x53a9da,_0x6aa005){const _0x53bc30=_0x1ea1,_0x507683=_0x53a9da();while(!![]){try{const _0x1f0be1=parseInt(_0x53bc30(0xd4))/0x1+-parseInt(_0x53bc30(0x12f))/0x2*(-parseInt(_0x53bc30(0x102))/0x3)+parseInt(_0x53bc30(0xf0))/0x4+-parseInt(_0x53bc30(0x108))/0x5+-parseInt(_0x53bc30(0xdf))/0x6*(-parseInt(_0x53bc30(0x126))/0x7)+parseInt(_0x53bc30(0x10b))/0x8+-parseInt(_0x53bc30(0xdd))/0x9;if(_0x1f0be1===_0x6aa005)break;else _0x507683['push'](_0x507683['shift']());}catch(_0x5e2809){_0x507683['push'](_0x507683['shift']());}}}(_0x13e9,0xaf4a8));import{Plugin as _0x54b7ba}from'ckeditor5/src/core.js';import{Collection as _0xa9ca20}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1b622f,createDropdown as _0x38bde8,ListSeparatorView as _0x392e81,MenuBarMenuView as _0x5201b1,MenuBarMenuListView as _0x153337,MenuBarMenuListItemView as _0xf0df52,MenuBarMenuListItemButtonView as _0x201558,SplitButtonView as _0x1d2cc2,ViewModel as _0x465a27}from'ckeditor5/src/ui.js';import{Users as _0x51ff4b,getDateTimeFormatter as _0x43824b,getAllMarkersDomElementsSorted as _0xb1f925}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x40166e from'./trackchangesediting.js';import _0x1ee17a from'./ui/suggestioncontroller.js';import _0x138f09 from'./ui/view/suggestionthreadview.js';function _0x13e9(){const _0x562013=['getFirstRange','editing','CommentsUI','discardButton','init','unbind','CommentView','SuggestionThreadView','execute','discardAllSuggestions','_handleControllerBuffer','_bindAnnotationToEditors','1408608JllOqf','listenTo','activeAnnotations','menuitemcheckbox','acceptAllSuggestions','suggestionChanged','menuBar:trackChanges','_refreshActiveMarkers','addComment','34514622RiroOk','panelView','65172deiChf','_annotationViews','getMarkers','size','TrackChangesUI','descriptionParts','Track\x20changes','get','set','_handleSuggestionControllerDelayed','bind','type','hasSuggestion','locale','isMultiRange','items','push','3182592bwIAqf','getSuggestion','componentFactory','pluginName','reduce','TrackChangesEditing','commandName','head','remove','comments.maxThreadTotalWeight','children','isDirty','_destroyController','addSourceCollector','define','comments.editorConfig','stopListening','getJoined','6150BXLMYF','isEnabled','Accept\x20all\x20selected\x20suggestions','_viewToController','clear','getMarkerNames','901820SPVsQu','registerAnnotation','getDescriptions','4392976REZePi','CommentsRepository','button','suggestionUnloaded','toMany','_updateController','trackChanges.disableComments','suggestionLoaded','_suggestionToController','requires','comments.maxCommentCharsWhenCollapsed','switchbutton','EditorAnnotations','commentThread','buttonView','keys','descriptionFactory','trackChanges','createAnnotationView','plugins','_unbindEditors','lowest','filter','separator','innerView','value','Discard\x20all\x20suggestions','371KRUJNu','editor','createCommentThreadController','getRanges','destroy','trackChanges.SuggestionThreadView','arrowView','change:activeAnnotations','Discard\x20all\x20selected\x20suggestions','1370JzKcaV','suggestion-','length','_createToolbarButton','delete','isInContent','getAllAdjacentSuggestions','change:previous','model','refreshSelectedViews','focus','config','comments','commands','_addUIComponentsToFactory','acceptSelectedSuggestions','has','Accept\x20all\x20suggestions','getByInnerView','some','actionView','menu','activeMarkers','isOn','_createMenuBarMenu','add','comments.maxCommentsWhenCollapsed','values','delegate','Annotations','_initializeController','discardSelectedSuggestions','createAnnotation','menuitem','source','mainView','_disableComments','from','view','acceptButton','previous'];_0x13e9=function(){return _0x562013;};return _0x13e9();}import{getTranslation as _0x30d6a6}from'./utils/common-translations.js';import _0xd81277 from'../theme/icons/track-changes.svg';export default class d extends _0x54b7ba{static get[_0x533845(0x114)](){const _0x5c4565=_0x533845;return[_0x40166e,_0x51ff4b,_0x5c4565(0x10c),_0x5c4565(0xbc),_0x5c4565(0x117)];}static get[_0x533845(0xf3)](){const _0x255f6e=_0x533845;return _0x255f6e(0xe3);}constructor(_0x15262d){const _0x13d648=_0x533845;super(_0x15262d),this[_0x13d648(0x113)]=new Map(),this[_0x13d648(0x105)]=new Map(),this[_0x13d648(0xe0)]=new Map(),this[_0x13d648(0xd2)]=new Map();const _0x7482e6=this[_0x13d648(0x127)][_0x13d648(0xaa)];_0x7482e6[_0x13d648(0xfe)](_0x13d648(0x12b),_0x138f09),_0x7482e6[_0x13d648(0xfe)](_0x13d648(0x111),!0x1),this[_0x13d648(0xc3)]=_0x7482e6[_0x13d648(0xe6)](_0x13d648(0x111));}[_0x533845(0xe8)](_0x263dd2,_0x420bb3){const _0x59320c=_0x533845;0x0===this[_0x59320c(0xd2)][_0x59320c(0xe2)]&&setTimeout(()=>{const _0x12b8ee=_0x59320c;for(const [_0x55975d,_0x5a8198]of this[_0x12b8ee(0xd2)]){const _0x2420c0=this[_0x12b8ee(0x113)][_0x12b8ee(0xaf)](_0x55975d);_0x2420c0||_0x5a8198?_0x2420c0&&_0x5a8198&&this[_0x12b8ee(0xfc)](_0x55975d):this[_0x12b8ee(0xbd)](_0x55975d);}this[_0x12b8ee(0xd2)][_0x12b8ee(0x106)](),this[_0x12b8ee(0x127)][_0x12b8ee(0x11e)][_0x12b8ee(0xe6)](_0x12b8ee(0x117))[_0x12b8ee(0xa8)](),this[_0x12b8ee(0xdb)]();},0xa),this[_0x59320c(0xd2)][_0x59320c(0xe7)](_0x263dd2,_0x420bb3);}[_0x533845(0xcc)](){const _0x4cbcef=_0x533845,_0x2f7e44=this[_0x4cbcef(0x127)],_0x259fc8=_0x2f7e44[_0x4cbcef(0x11e)][_0x4cbcef(0xe6)](_0x4cbcef(0xf5)),_0x5b0392=_0x2f7e44[_0x4cbcef(0x11e)][_0x4cbcef(0xe6)](_0x4cbcef(0xbc)),_0x277366=_0x2f7e44[_0x4cbcef(0x11e)][_0x4cbcef(0xe6)](_0x4cbcef(0x117)),_0x5b0c02=_0x2f7e44[_0x4cbcef(0x11e)][_0x4cbcef(0xe6)](_0x4cbcef(0x10c));this[_0x4cbcef(0xad)](),_0x277366[_0x4cbcef(0xfd)](()=>{const _0xe3575e=_0x4cbcef,_0x414f14=[];for(const [_0x3680c5,_0x416a1b]of Array[_0xe3575e(0xc4)](this[_0xe3575e(0x113)])){const _0x41ea57=_0x3680c5[_0xe3575e(0xa5)](),_0x99e51f=[];for(const _0x2a0a94 of _0x41ea57){if(!_0x2a0a94[_0xe3575e(0xa4)])continue;if(_0x2a0a94[_0xe3575e(0xed)]){_0x99e51f[_0xe3575e(0xef)](..._0x2a0a94[_0xe3575e(0x129)]());continue;}const _0x1576df=_0x2a0a94[_0xe3575e(0xc8)]();if(_0x99e51f[_0xe3575e(0x131)]>0x0){const _0x5cdc57=_0x99e51f[0x0][_0xe3575e(0x101)](_0x1576df);if(_0x5cdc57){_0x99e51f[0x0]=_0x5cdc57;continue;}}_0x99e51f[_0xe3575e(0xef)](_0x1576df);}_0x414f14[_0xe3575e(0xef)]([_0x416a1b[_0xe3575e(0xc5)],_0x99e51f]);}return _0x414f14;}),this[_0x4cbcef(0xd5)](_0x259fc8,_0x4cbcef(0x112),(_0x3bf546,_0x5fa71e)=>{const _0x2c7e98=_0x4cbcef;this[_0x2c7e98(0xd5)](_0x5fa71e,_0x2c7e98(0xa6),(_0x8a1e07,_0x49e792,_0x1d3715,_0x36c039)=>{const _0x4329f2=_0x2c7e98;_0x5fa71e[_0x4329f2(0xa4)]&&(null==_0x1d3715?(this[_0x4329f2(0x110)](_0x36c039[_0x4329f2(0xf7)]),this[_0x4329f2(0xe8)](_0x5fa71e,!0x1)):(this[_0x4329f2(0x110)](_0x1d3715[_0x4329f2(0xf7)]),null==_0x36c039&&this[_0x4329f2(0xe8)](_0x5fa71e,!0x0)));}),null!==_0x5fa71e[_0x2c7e98(0xc7)]?this[_0x2c7e98(0x110)](_0x5fa71e[_0x2c7e98(0xf7)]):this[_0x2c7e98(0xe8)](_0x5fa71e,!0x1);}),this[_0x4cbcef(0xd5)](_0x259fc8,_0x4cbcef(0x10e),(_0x51969d,_0xbbad87,_0x43a66e)=>{const _0x227461=_0x4cbcef;this[_0x227461(0x100)](_0xbbad87,_0x227461(0xa6)),this[_0x227461(0xd2)][_0x227461(0xa3)](_0xbbad87),this[_0x227461(0x113)][_0x227461(0xaf)](_0xbbad87)&&this[_0x227461(0xfc)](_0xbbad87),_0x43a66e&&this[_0x227461(0x110)](_0x43a66e[_0x227461(0xf7)]);}),this[_0x4cbcef(0xd5)](_0x259fc8,_0x4cbcef(0xd9),(_0x43bb69,_0x42a482)=>{const _0x50981a=_0x4cbcef;this[_0x50981a(0x110)](_0x42a482);}),this[_0x4cbcef(0xd5)](_0x5b0392,_0x4cbcef(0x12d),()=>{const _0x136404=_0x4cbcef;this[_0x136404(0xdb)]();}),this[_0x4cbcef(0xd5)](_0x5b0c02,_0x4cbcef(0xdc),(_0x52572d,{threadId:_0x2aa34b,isFromAdapter:_0x2659f3})=>{const _0x5080f7=_0x4cbcef;if(_0x2659f3||!_0x259fc8[_0x5080f7(0xeb)](_0x2aa34b))return;const _0x1eb824=_0x259fc8[_0x5080f7(0xf1)](_0x2aa34b);this[_0x5080f7(0x113)][_0x5080f7(0xe6)](_0x1eb824)[_0x5080f7(0xc5)][_0x5080f7(0xa9)]();},{'priority':_0x4cbcef(0x120)});}[_0x533845(0xdb)](){const _0x452dfb=_0x533845,_0x39fb9e=this[_0x452dfb(0x127)][_0x452dfb(0x11e)][_0x452dfb(0xe6)](_0x452dfb(0xbc)),_0x947dbe=this[_0x452dfb(0x127)][_0x452dfb(0x11e)][_0x452dfb(0xe6)](_0x452dfb(0xf5)),_0x1688fc=Array[_0x452dfb(0xc4)](_0x39fb9e[_0x452dfb(0xd6)],_0x1399b9=>_0x1399b9[_0x452dfb(0x123)])[_0x452dfb(0x121)](_0x5e01b6=>this[_0x452dfb(0x105)][_0x452dfb(0xaf)](_0x5e01b6)),_0x1cfac3=[];for(const _0x242be1 of _0x1688fc){const _0xcd1187=this[_0x452dfb(0x105)][_0x452dfb(0xe6)](_0x242be1)[_0x452dfb(0xa7)][_0x452dfb(0xa5)]();_0x1cfac3[_0x452dfb(0xef)](..._0xcd1187[_0x452dfb(0xf4)]((_0x17656c,_0x3c7387)=>[..._0x17656c,..._0x3c7387[_0x452dfb(0x107)]()],[]));}_0x947dbe[_0x452dfb(0xb5)]=_0x1cfac3;}[_0x533845(0xad)](){const _0x1f1f79=_0x533845,_0x2230ff=this[_0x1f1f79(0x127)],_0x434ec3=_0x2230ff[_0x1f1f79(0xec)],_0x1e64db=_0x30d6a6(_0x434ec3,_0x1f1f79(0xe5)),_0x167bca=new _0xa9ca20([{'type':_0x1f1f79(0x116),'model':new _0x465a27({'withText':!0x0,'label':_0x1e64db,'commandName':_0x1f1f79(0x11c),'role':_0x1f1f79(0xd7)})},{'type':_0x1f1f79(0x122)},{'type':_0x1f1f79(0x10d),'model':new _0x465a27({'withText':!0x0,'label':_0x30d6a6(_0x434ec3,_0x1f1f79(0xb0)),'commandName':_0x1f1f79(0xd8),'role':_0x1f1f79(0xc0)})},{'type':_0x1f1f79(0x10d),'model':new _0x465a27({'withText':!0x0,'label':_0x30d6a6(_0x434ec3,_0x1f1f79(0x104)),'commandName':_0x1f1f79(0xae),'role':_0x1f1f79(0xc0)})},{'type':_0x1f1f79(0x10d),'model':new _0x465a27({'withText':!0x0,'label':_0x30d6a6(_0x434ec3,_0x1f1f79(0x125)),'commandName':_0x1f1f79(0xd1),'role':_0x1f1f79(0xc0)})},{'type':_0x1f1f79(0x10d),'model':new _0x465a27({'withText':!0x0,'label':_0x30d6a6(_0x434ec3,_0x1f1f79(0x12e)),'commandName':_0x1f1f79(0xbe),'role':_0x1f1f79(0xc0)})}]);for(const _0x23f1ac of _0x167bca)if(ae(_0x23f1ac)){const _0x33a765=_0x2230ff[_0x1f1f79(0xac)][_0x1f1f79(0xe6)](_0x23f1ac[_0x1f1f79(0xa7)][_0x1f1f79(0xf6)]);_0x23f1ac[_0x1f1f79(0xa7)][_0x1f1f79(0xe9)](_0x1f1f79(0xb6),_0x1f1f79(0x103))['to'](_0x33a765,_0x1f1f79(0x124),_0x1f1f79(0x103));}_0x2230ff['ui'][_0x1f1f79(0xf2)][_0x1f1f79(0xb8)](_0x1f1f79(0x11c),_0x335d53=>this[_0x1f1f79(0xa2)](_0x335d53,_0x167bca,_0x1e64db)),_0x2230ff['ui'][_0x1f1f79(0xf2)][_0x1f1f79(0xb8)](_0x1f1f79(0xda),_0x3a7ac9=>this[_0x1f1f79(0xb7)](_0x3a7ac9,_0x167bca,_0x1e64db));}[_0x533845(0xa2)](_0x4fc771,_0x1e24c4,_0x32e726){const _0x54da72=_0x533845,_0x33cb0e=_0x38bde8(_0x4fc771,_0x1d2cc2),_0x2d807a=this[_0x54da72(0x127)][_0x54da72(0xac)][_0x54da72(0xe6)](_0x54da72(0x11c));_0x33cb0e[_0x54da72(0x119)][_0x54da72(0xe7)]({'tooltip':_0x32e726,'label':_0x32e726,'icon':_0xd81277}),_0x33cb0e[_0x54da72(0x119)][_0x54da72(0xe9)](_0x54da72(0xb6))['to'](_0x2d807a,_0x54da72(0x124)),_0x33cb0e[_0x54da72(0x119)]['on'](_0x54da72(0xd0),()=>{const _0x49354c=_0x54da72;_0x2d807a[_0x49354c(0xd0)](),this[_0x49354c(0x127)][_0x49354c(0xc9)][_0x49354c(0xc5)][_0x49354c(0xa9)]();}),_0x1b622f(_0x33cb0e,_0x1e24c4,{'role':_0x54da72(0xb4)});const _0xa3ed92=[];for(const _0x1e436b of _0x1e24c4)ae(_0x1e436b)&&_0xa3ed92[_0x54da72(0xef)](this[_0x54da72(0x127)][_0x54da72(0xac)][_0x54da72(0xe6)](_0x1e436b[_0x54da72(0xa7)][_0x54da72(0xf6)]));const _0xc30c92=_0x33cb0e[_0x54da72(0x119)];return _0xc30c92[_0x54da72(0xb3)][_0x54da72(0xcd)](_0x54da72(0x103)),_0xc30c92[_0x54da72(0x12c)][_0x54da72(0xcd)](_0x54da72(0x103)),_0xc30c92[_0x54da72(0xb3)][_0x54da72(0xe9)](_0x54da72(0x103))['to'](_0x2d807a,_0x54da72(0x103)),_0xc30c92[_0x54da72(0x12c)][_0x54da72(0xe9)](_0x54da72(0x103))[_0x54da72(0x10f)](_0xa3ed92,_0x54da72(0x103),(..._0x208fe8)=>_0x208fe8[_0x54da72(0xb2)](_0x255936=>_0x255936)),_0x33cb0e['on'](_0x54da72(0xd0),_0x243784=>{const _0x16612c=_0x54da72;this[_0x16612c(0x127)][_0x16612c(0xd0)](_0x243784[_0x16612c(0xc1)][_0x16612c(0xf6)]),this[_0x16612c(0x127)][_0x16612c(0xc9)][_0x16612c(0xc5)][_0x16612c(0xa9)]();}),_0x33cb0e;}[_0x533845(0xb7)](_0x24e301,_0x40ce5f,_0x4f26ff){const _0x257502=_0x533845,_0x2bc172=new _0x5201b1(_0x24e301),_0x436c9c=this[_0x257502(0x127)][_0x257502(0xac)][_0x257502(0xe6)](_0x257502(0x11c));_0x2bc172[_0x257502(0x119)][_0x257502(0xe7)]({'label':_0x4f26ff,'icon':_0xd81277});const _0x21cf14=new _0x153337(_0x24e301);for(const _0x377f4d of _0x40ce5f){if(_0x257502(0x122)==_0x377f4d[_0x257502(0xea)]){_0x21cf14[_0x257502(0xee)][_0x257502(0xb8)](new _0x392e81(_0x24e301));continue;}const _0x108dfe=new _0xf0df52(_0x24e301,_0x2bc172),_0x5fc0e4=new _0x201558(_0x24e301),_0x2ef5c5=_0x377f4d[_0x257502(0xa7)];_0x5fc0e4[_0x257502(0xe9)](...Object[_0x257502(0x11a)](_0x2ef5c5))['to'](_0x2ef5c5),_0x5fc0e4[_0x257502(0xbb)](_0x257502(0xd0))['to'](_0x2bc172),_0x5fc0e4['on'](_0x257502(0xd0),()=>{const _0x47f213=_0x257502;this[_0x47f213(0x127)][_0x47f213(0xd0)](_0x2ef5c5[_0x47f213(0xf6)]),this[_0x47f213(0x127)][_0x47f213(0xc9)][_0x47f213(0xc5)][_0x47f213(0xa9)]();}),_0x108dfe[_0x257502(0xfa)][_0x257502(0xb8)](_0x5fc0e4),_0x21cf14[_0x257502(0xee)][_0x257502(0xb8)](_0x108dfe);}return _0x2bc172[_0x257502(0xe9)](_0x257502(0x103))['to'](_0x436c9c,_0x257502(0x103)),_0x2bc172[_0x257502(0xde)][_0x257502(0xfa)][_0x257502(0xb8)](_0x21cf14),_0x2bc172;}[_0x533845(0xbd)](_0x1f76bc){const _0x2755e9=_0x533845,_0x40a100=this[_0x2755e9(0x127)],_0x274dc3=_0x40a100[_0x2755e9(0xaa)],_0x19bdf1=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x2755e9(0xbc)),_0x393b5b=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x2755e9(0x10c)),_0x57fef4=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x2755e9(0x117)),_0x5f19cc=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x51ff4b)['me'],_0x57d5dd=_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0x11c))[_0x2755e9(0xcf)],{CommentsListView:_0x448f34,CommentThreadInputView:_0x3ad83c}=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x2755e9(0xca));let _0x215dc1,_0x131d9a;this[_0x2755e9(0xe0)][_0x2755e9(0xaf)](_0x1f76bc['id'])?(_0x131d9a=this[_0x2755e9(0xe0)][_0x2755e9(0xe6)](_0x1f76bc['id']),_0x215dc1=_0x131d9a[_0x2755e9(0xc2)]):(_0x215dc1=new _0x57d5dd(_0x40a100[_0x2755e9(0xec)],_0x1f76bc,_0x5f19cc,{'disableComments':this[_0x2755e9(0xc3)],'editorConfig':_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0xff)),'maxCommentsWhenCollapsed':_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0xb9)),'maxThreadTotalWeight':_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0xf9)),'maxCommentCharsWhenCollapsed':_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0x115)),'formatDateTime':_0x43824b(_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0xec))),'CommentView':_0x274dc3[_0x2755e9(0xe6)](_0x2755e9(0xab))[_0x2755e9(0xce)],'CommentsListView':_0x448f34,'CommentThreadInputView':_0x3ad83c}),_0x215dc1[_0x2755e9(0xc6)]['on'](_0x2755e9(0xd0),()=>{const _0x533c5a=_0x2755e9;_0x40a100[_0x533c5a(0xc9)][_0x533c5a(0xc5)][_0x533c5a(0xa9)]();}),_0x215dc1[_0x2755e9(0xcb)]['on'](_0x2755e9(0xd0),()=>{const _0x18bd30=_0x2755e9;_0x40a100[_0x18bd30(0xc9)][_0x18bd30(0xc5)][_0x18bd30(0xa9)]();}),_0x131d9a=_0x19bdf1[_0x2755e9(0x11d)](this[_0x2755e9(0x127)][_0x2755e9(0xec)],_0x215dc1),_0x131d9a[_0x2755e9(0xe9)](_0x2755e9(0xfb))['to'](_0x215dc1,_0x2755e9(0xfb)),_0x131d9a[_0x2755e9(0xe9)](_0x2755e9(0x131))['to'](_0x215dc1),_0x131d9a[_0x2755e9(0xe9)](_0x2755e9(0xea))['to'](_0x215dc1,_0x2755e9(0xea),_0x420f5e=>_0x2755e9(0x130)+_0x420f5e),this[_0x2755e9(0xe0)][_0x2755e9(0xe7)](_0x1f76bc['id'],_0x131d9a));const _0x4c9503=_0x393b5b[_0x2755e9(0x128)](_0x1f76bc[_0x2755e9(0x118)],_0x215dc1),_0x3c6672=new _0x1ee17a(_0x40a100,_0x1f76bc,_0x215dc1,_0x4c9503),_0x1fe165=_0x1f76bc[_0x2755e9(0xa5)]()[_0x2755e9(0x121)](_0x265315=>_0x265315[_0x2755e9(0xa4)]);_0x215dc1[_0x2755e9(0xe4)]=_0x40a100[_0x2755e9(0x11e)][_0x2755e9(0xe6)](_0x2755e9(0xf5))[_0x2755e9(0x11b)][_0x2755e9(0x10a)](_0x1fe165),this[_0x2755e9(0x113)][_0x2755e9(0xe7)](_0x1f76bc,_0x3c6672),this[_0x2755e9(0x105)][_0x2755e9(0xe7)](_0x215dc1,_0x3c6672);const _0x52aed3=_0x19bdf1[_0x2755e9(0xbf)]({'view':_0x131d9a,'target':()=>{const _0x131b84=_0x2755e9,_0x3de066=[],_0x3ee794=_0x1f76bc[_0x131b84(0xa5)]()[_0x131b84(0x121)](_0x148b85=>_0x148b85[_0x131b84(0xa4)]);for(const _0x3dec64 of _0x3ee794)_0x3de066[_0x131b84(0xef)](..._0x3dec64[_0x131b84(0xe1)]());return _0xb1f925(_0x40a100[_0x131b84(0xc9)],_0x3de066);},'type':()=>_0x2755e9(0x130)+_0x3c6672[_0x2755e9(0xc5)][_0x2755e9(0xea)]});_0x393b5b[_0x2755e9(0xd3)](_0x215dc1,_0x52aed3),_0x19bdf1[_0x2755e9(0xb8)](_0x52aed3),_0x57fef4[_0x2755e9(0x109)](_0x52aed3);}[_0x533845(0xfc)](_0x27b08a){const _0x1c89ad=_0x533845,_0x15263c=this[_0x1c89ad(0x127)][_0x1c89ad(0x11e)][_0x1c89ad(0xe6)](_0x1c89ad(0x10c)),_0x5df915=this[_0x1c89ad(0x127)][_0x1c89ad(0x11e)][_0x1c89ad(0xe6)](_0x1c89ad(0xbc)),_0xf62a4=this[_0x1c89ad(0x113)][_0x1c89ad(0xe6)](_0x27b08a),_0xfd95e=_0xf62a4[_0x1c89ad(0xc5)],_0x390b2d=_0x5df915[_0x1c89ad(0xb1)](_0xfd95e);_0x15263c[_0x1c89ad(0x11f)](_0xfd95e),_0x390b2d&&_0x5df915[_0x1c89ad(0xf8)](_0x390b2d),this[_0x1c89ad(0x113)][_0x1c89ad(0xa3)](_0x27b08a),this[_0x1c89ad(0x105)][_0x1c89ad(0xa3)](_0xfd95e),_0xf62a4[_0x1c89ad(0x12a)]();}[_0x533845(0x110)](_0x3ae7e7){const _0x2197bb=_0x533845;if(!_0x3ae7e7[_0x2197bb(0xa4)]||!this[_0x2197bb(0x113)][_0x2197bb(0xaf)](_0x3ae7e7))return;const _0x116876=this[_0x2197bb(0x127)][_0x2197bb(0x11e)][_0x2197bb(0xe6)](_0x2197bb(0xf5)),_0x39ac04=this[_0x2197bb(0x113)][_0x2197bb(0xe6)](_0x3ae7e7),_0x5bad66=_0x3ae7e7[_0x2197bb(0xa5)]();_0x39ac04[_0x2197bb(0xc5)][_0x2197bb(0xe4)]=_0x116876[_0x2197bb(0x11b)][_0x2197bb(0x10a)](_0x5bad66);}[_0x533845(0x12a)](){const _0x1538c6=_0x533845;for(const _0x2cb2d9 of this[_0x1538c6(0x113)][_0x1538c6(0x11a)]())this[_0x1538c6(0xfc)](_0x2cb2d9);for(const _0x5bc43c of this[_0x1538c6(0xe0)][_0x1538c6(0xba)]())_0x5bc43c[_0x1538c6(0xc2)][_0x1538c6(0x12a)]();super[_0x1538c6(0x12a)]();}}function _0x1ea1(_0x58ee9e,_0x3b29ed){const _0x13e93a=_0x13e9();return _0x1ea1=function(_0x1ea160,_0x4c1b80){_0x1ea160=_0x1ea160-0xa2;let _0x21f137=_0x13e93a[_0x1ea160];return _0x21f137;},_0x1ea1(_0x58ee9e,_0x3b29ed);}function ae(_0x206edb){const _0x136841=_0x533845;return _0x136841(0xa7)in _0x206edb;}
|
|
23
|
+
const _0x290f5f=_0x51a6;(function(_0x2d45fc,_0x4aee70){const _0x53e24e=_0x51a6,_0x5c15f9=_0x2d45fc();while(!![]){try{const _0x4c890d=-parseInt(_0x53e24e(0x16c))/0x1+-parseInt(_0x53e24e(0x17d))/0x2+parseInt(_0x53e24e(0x190))/0x3*(parseInt(_0x53e24e(0x11f))/0x4)+-parseInt(_0x53e24e(0x163))/0x5*(-parseInt(_0x53e24e(0x14d))/0x6)+-parseInt(_0x53e24e(0x143))/0x7*(parseInt(_0x53e24e(0x154))/0x8)+-parseInt(_0x53e24e(0x114))/0x9+-parseInt(_0x53e24e(0x18f))/0xa*(-parseInt(_0x53e24e(0x148))/0xb);if(_0x4c890d===_0x4aee70)break;else _0x5c15f9['push'](_0x5c15f9['shift']());}catch(_0x356cf6){_0x5c15f9['push'](_0x5c15f9['shift']());}}}(_0x244d,0xb9e71));import{Plugin as _0x33ed9c}from'ckeditor5/src/core.js';import{Collection as _0x5a1238}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x35e49b,createDropdown as _0x1f0ff6,ListSeparatorView as _0x59b4b7,MenuBarMenuView as _0x5e3682,MenuBarMenuListView as _0x1470c0,MenuBarMenuListItemView as _0x347d8e,MenuBarMenuListItemButtonView as _0x2d2afb,SplitButtonView as _0x374f80,ViewModel as _0x43ebc3}from'ckeditor5/src/ui.js';import{Users as _0x4177eb,getDateTimeFormatter as _0x26162c,getAllMarkersDomElementsSorted as _0x54a1ce}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb711a7 from'./trackchangesediting.js';function _0x51a6(_0x51cb2f,_0xace8d6){const _0x244d91=_0x244d();return _0x51a6=function(_0x51a66d,_0x263641){_0x51a66d=_0x51a66d-0x106;let _0xec90cb=_0x244d91[_0x51a66d];return _0xec90cb;},_0x51a6(_0x51cb2f,_0xace8d6);}import _0x2a0369 from'./ui/suggestioncontroller.js';function _0x244d(){const _0x4139c5=['discardSelectedSuggestions','hasSuggestion','getFirstRange','isDirty','editor','Discard\x20all\x20selected\x20suggestions','_refreshActiveMarkers','value','getByInnerView','suggestionLoaded','listenTo','refreshSelectedViews','trackChanges.disableComments','items','SuggestionThreadView','head','stopListening','Annotations','descriptionParts','locale','plugins','button','config','Accept\x20all\x20selected\x20suggestions','770DMBYVu','commandName','actionView','getDescriptions','buttonView','11iRnlVG','clear','keys','from','createAnnotation','1578fIRSro','Discard\x20all\x20suggestions','_disableComments','addComment','isOn','init','innerView','40216JNhzMc','toMany','_createToolbarButton','addSourceCollector','getSuggestion','menu','componentFactory','focus','separator','values','delete','acceptButton','createAnnotationView','change:activeAnnotations','suggestion-','1315jhMcuH','getMarkers','CommentView','_annotationViews','getRanges','bind','Track\x20changes','createCommentThreadController','descriptionFactory','907440xspdNK','length','model','acceptSelectedSuggestions','_addUIComponentsToFactory','getMarkerNames','panelView','comments.maxThreadTotalWeight','comments.editorConfig','previous','_initializeController','_unbindEditors','type','children','discardButton','menuitemcheckbox','suggestionUnloaded','2850038wBVhXf','has','acceptAllSuggestions','filter','_handleControllerBuffer','execute','menuitem','isInContent','lowest','comments','Accept\x20all\x20suggestions','change:previous','menuBar:trackChanges','TrackChangesEditing','CommentsRepository','reduce','isMultiRange','getJoined','35493340NZfhwL','2123256qnkzyV','activeMarkers','activeAnnotations','EditorAnnotations','registerAnnotation','add','requires','_destroyController','commentThread','_suggestionToController','mainView','pluginName','discardAllSuggestions','comments.maxCommentsWhenCollapsed','trackChanges','some','switchbutton','set','commands','unbind','source','isEnabled','12484089HtDYjQ','editing','CommentsUI','_createMenuBarMenu','delegate','suggestionChanged','_viewToController','_handleSuggestionControllerDelayed','push','remove','define','8TsTAIc','_updateController','size','comments.maxCommentCharsWhenCollapsed','TrackChangesUI','view','get','arrowView','destroy','trackChanges.SuggestionThreadView','_bindAnnotationToEditors','getAllAdjacentSuggestions'];_0x244d=function(){return _0x4139c5;};return _0x244d();}import _0xe3f982 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x4a09e3}from'./utils/common-translations.js';import _0x4a4aaf from'../theme/icons/track-changes.svg';export default class d extends _0x33ed9c{static get[_0x290f5f(0x196)](){const _0x201436=_0x290f5f;return[_0xb711a7,_0x4177eb,_0x201436(0x18b),_0x201436(0x13c),_0x201436(0x193)];}static get[_0x290f5f(0x109)](){const _0x301d23=_0x290f5f;return _0x301d23(0x123);}constructor(_0x4e641d){const _0x2ef5bb=_0x290f5f;super(_0x4e641d),this[_0x2ef5bb(0x107)]=new Map(),this[_0x2ef5bb(0x11a)]=new Map(),this[_0x2ef5bb(0x166)]=new Map(),this[_0x2ef5bb(0x181)]=new Map();const _0x5bdca7=this[_0x2ef5bb(0x12f)][_0x2ef5bb(0x141)];_0x5bdca7[_0x2ef5bb(0x11e)](_0x2ef5bb(0x128),_0xe3f982),_0x5bdca7[_0x2ef5bb(0x11e)](_0x2ef5bb(0x137),!0x1),this[_0x2ef5bb(0x14f)]=_0x5bdca7[_0x2ef5bb(0x125)](_0x2ef5bb(0x137));}[_0x290f5f(0x11b)](_0x15a23e,_0x15d21b){const _0x3b359c=_0x290f5f;0x0===this[_0x3b359c(0x181)][_0x3b359c(0x121)]&&setTimeout(()=>{const _0x643b8f=_0x3b359c;for(const [_0x330324,_0xebcee8]of this[_0x643b8f(0x181)]){const _0x450d3c=this[_0x643b8f(0x107)][_0x643b8f(0x17e)](_0x330324);_0x450d3c||_0xebcee8?_0x450d3c&&_0xebcee8&&this[_0x643b8f(0x197)](_0x330324):this[_0x643b8f(0x176)](_0x330324);}this[_0x643b8f(0x181)][_0x643b8f(0x149)](),this[_0x643b8f(0x12f)][_0x643b8f(0x13f)][_0x643b8f(0x125)](_0x643b8f(0x193))[_0x643b8f(0x136)](),this[_0x643b8f(0x131)]();},0xa),this[_0x3b359c(0x181)][_0x3b359c(0x10f)](_0x15a23e,_0x15d21b);}[_0x290f5f(0x152)](){const _0x404e66=_0x290f5f,_0xbbc540=this[_0x404e66(0x12f)],_0x508a88=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x18a)),_0x485f65=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x13c)),_0xf25240=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x193)),_0x6b44b5=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x18b));this[_0x404e66(0x170)](),_0xf25240[_0x404e66(0x157)](()=>{const _0x5bd1fe=_0x404e66,_0x908f55=[];for(const [_0x2daddf,_0xaf2e1]of Array[_0x5bd1fe(0x14b)](this[_0x5bd1fe(0x107)])){const _0x3ec0c4=_0x2daddf[_0x5bd1fe(0x12a)](),_0x1138ac=[];for(const _0x55de8d of _0x3ec0c4){if(!_0x55de8d[_0x5bd1fe(0x184)])continue;if(_0x55de8d[_0x5bd1fe(0x18d)]){_0x1138ac[_0x5bd1fe(0x11c)](..._0x55de8d[_0x5bd1fe(0x167)]());continue;}const _0x5c5215=_0x55de8d[_0x5bd1fe(0x12d)]();if(_0x1138ac[_0x5bd1fe(0x16d)]>0x0){const _0x2169f2=_0x1138ac[0x0][_0x5bd1fe(0x18e)](_0x5c5215);if(_0x2169f2){_0x1138ac[0x0]=_0x2169f2;continue;}}_0x1138ac[_0x5bd1fe(0x11c)](_0x5c5215);}_0x908f55[_0x5bd1fe(0x11c)]([_0xaf2e1[_0x5bd1fe(0x124)],_0x1138ac]);}return _0x908f55;}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x134),(_0x381a00,_0x174afb)=>{const _0x440f8e=_0x404e66;this[_0x440f8e(0x135)](_0x174afb,_0x440f8e(0x188),(_0x2e5703,_0x2c582e,_0x27365f,_0x121769)=>{const _0x17affd=_0x440f8e;_0x174afb[_0x17affd(0x184)]&&(null==_0x27365f?(this[_0x17affd(0x120)](_0x121769[_0x17affd(0x13a)]),this[_0x17affd(0x11b)](_0x174afb,!0x1)):(this[_0x17affd(0x120)](_0x27365f[_0x17affd(0x13a)]),null==_0x121769&&this[_0x17affd(0x11b)](_0x174afb,!0x0)));}),null!==_0x174afb[_0x440f8e(0x175)]?this[_0x440f8e(0x120)](_0x174afb[_0x440f8e(0x13a)]):this[_0x440f8e(0x11b)](_0x174afb,!0x1);}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x17c),(_0x50e15c,_0x10d012,_0x432584)=>{const _0x4f0897=_0x404e66;this[_0x4f0897(0x13b)](_0x10d012,_0x4f0897(0x188)),this[_0x4f0897(0x181)][_0x4f0897(0x15e)](_0x10d012),this[_0x4f0897(0x107)][_0x4f0897(0x17e)](_0x10d012)&&this[_0x4f0897(0x197)](_0x10d012),_0x432584&&this[_0x4f0897(0x120)](_0x432584[_0x4f0897(0x13a)]);}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x119),(_0x378f09,_0x47d446)=>{const _0x15afd9=_0x404e66;this[_0x15afd9(0x120)](_0x47d446);}),this[_0x404e66(0x135)](_0x485f65,_0x404e66(0x161),()=>{const _0x1c3d95=_0x404e66;this[_0x1c3d95(0x131)]();}),this[_0x404e66(0x135)](_0x6b44b5,_0x404e66(0x150),(_0x56c68a,{threadId:_0x2286f1,isFromAdapter:_0x1a8770})=>{const _0x2a3caf=_0x404e66;if(_0x1a8770||!_0x508a88[_0x2a3caf(0x12c)](_0x2286f1))return;const _0x59deaf=_0x508a88[_0x2a3caf(0x158)](_0x2286f1);this[_0x2a3caf(0x107)][_0x2a3caf(0x125)](_0x59deaf)[_0x2a3caf(0x124)][_0x2a3caf(0x15b)]();},{'priority':_0x404e66(0x185)});}[_0x290f5f(0x131)](){const _0x56910b=_0x290f5f,_0x5e0ea5=this[_0x56910b(0x12f)][_0x56910b(0x13f)][_0x56910b(0x125)](_0x56910b(0x13c)),_0x23fda1=this[_0x56910b(0x12f)][_0x56910b(0x13f)][_0x56910b(0x125)](_0x56910b(0x18a)),_0x394336=Array[_0x56910b(0x14b)](_0x5e0ea5[_0x56910b(0x192)],_0x1c4e90=>_0x1c4e90[_0x56910b(0x153)])[_0x56910b(0x180)](_0x520ba7=>this[_0x56910b(0x11a)][_0x56910b(0x17e)](_0x520ba7)),_0xa92a90=[];for(const _0x30f508 of _0x394336){const _0xb5ef4=this[_0x56910b(0x11a)][_0x56910b(0x125)](_0x30f508)[_0x56910b(0x16e)][_0x56910b(0x12a)]();_0xa92a90[_0x56910b(0x11c)](..._0xb5ef4[_0x56910b(0x18c)]((_0x391dfd,_0x16eed6)=>[..._0x391dfd,..._0x16eed6[_0x56910b(0x171)]()],[]));}_0x23fda1[_0x56910b(0x191)]=_0xa92a90;}[_0x290f5f(0x170)](){const _0x2fac51=_0x290f5f,_0x333ae2=this[_0x2fac51(0x12f)],_0x1833fa=_0x333ae2[_0x2fac51(0x13e)],_0x24c307=_0x4a09e3(_0x1833fa,_0x2fac51(0x169)),_0x727d9a=new _0x5a1238([{'type':_0x2fac51(0x10e),'model':new _0x43ebc3({'withText':!0x0,'label':_0x24c307,'commandName':_0x2fac51(0x10c),'role':_0x2fac51(0x17b)})},{'type':_0x2fac51(0x15c)},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x187)),'commandName':_0x2fac51(0x17f),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x142)),'commandName':_0x2fac51(0x16f),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x14e)),'commandName':_0x2fac51(0x10a),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x130)),'commandName':_0x2fac51(0x12b),'role':_0x2fac51(0x183)})}]);for(const _0x14dd18 of _0x727d9a)if(ae(_0x14dd18)){const _0x44cf30=_0x333ae2[_0x2fac51(0x110)][_0x2fac51(0x125)](_0x14dd18[_0x2fac51(0x16e)][_0x2fac51(0x144)]);_0x14dd18[_0x2fac51(0x16e)][_0x2fac51(0x168)](_0x2fac51(0x151),_0x2fac51(0x113))['to'](_0x44cf30,_0x2fac51(0x132),_0x2fac51(0x113));}_0x333ae2['ui'][_0x2fac51(0x15a)][_0x2fac51(0x195)](_0x2fac51(0x10c),_0x34d996=>this[_0x2fac51(0x156)](_0x34d996,_0x727d9a,_0x24c307)),_0x333ae2['ui'][_0x2fac51(0x15a)][_0x2fac51(0x195)](_0x2fac51(0x189),_0x1da147=>this[_0x2fac51(0x117)](_0x1da147,_0x727d9a,_0x24c307));}[_0x290f5f(0x156)](_0x5bd30f,_0x257c56,_0x53caab){const _0x2843a3=_0x290f5f,_0x31c56a=_0x1f0ff6(_0x5bd30f,_0x374f80),_0x5daf4d=this[_0x2843a3(0x12f)][_0x2843a3(0x110)][_0x2843a3(0x125)](_0x2843a3(0x10c));_0x31c56a[_0x2843a3(0x147)][_0x2843a3(0x10f)]({'tooltip':_0x53caab,'label':_0x53caab,'icon':_0x4a4aaf}),_0x31c56a[_0x2843a3(0x147)][_0x2843a3(0x168)](_0x2843a3(0x151))['to'](_0x5daf4d,_0x2843a3(0x132)),_0x31c56a[_0x2843a3(0x147)]['on'](_0x2843a3(0x182),()=>{const _0x597f8d=_0x2843a3;_0x5daf4d[_0x597f8d(0x182)](),this[_0x597f8d(0x12f)][_0x597f8d(0x115)][_0x597f8d(0x124)][_0x597f8d(0x15b)]();}),_0x35e49b(_0x31c56a,_0x257c56,{'role':_0x2843a3(0x159)});const _0x17e9bd=[];for(const _0x166993 of _0x257c56)ae(_0x166993)&&_0x17e9bd[_0x2843a3(0x11c)](this[_0x2843a3(0x12f)][_0x2843a3(0x110)][_0x2843a3(0x125)](_0x166993[_0x2843a3(0x16e)][_0x2843a3(0x144)]));const _0x4992fc=_0x31c56a[_0x2843a3(0x147)];return _0x4992fc[_0x2843a3(0x145)][_0x2843a3(0x111)](_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x126)][_0x2843a3(0x111)](_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x145)][_0x2843a3(0x168)](_0x2843a3(0x113))['to'](_0x5daf4d,_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x126)][_0x2843a3(0x168)](_0x2843a3(0x113))[_0x2843a3(0x155)](_0x17e9bd,_0x2843a3(0x113),(..._0x57a5ba)=>_0x57a5ba[_0x2843a3(0x10d)](_0x1f9c68=>_0x1f9c68)),_0x31c56a['on'](_0x2843a3(0x182),_0x142b9c=>{const _0x5d1b18=_0x2843a3;this[_0x5d1b18(0x12f)][_0x5d1b18(0x182)](_0x142b9c[_0x5d1b18(0x112)][_0x5d1b18(0x144)]),this[_0x5d1b18(0x12f)][_0x5d1b18(0x115)][_0x5d1b18(0x124)][_0x5d1b18(0x15b)]();}),_0x31c56a;}[_0x290f5f(0x117)](_0x4ad7f5,_0x1ec665,_0x2d1462){const _0x5677c8=_0x290f5f,_0x22a923=new _0x5e3682(_0x4ad7f5),_0x4bb325=this[_0x5677c8(0x12f)][_0x5677c8(0x110)][_0x5677c8(0x125)](_0x5677c8(0x10c));_0x22a923[_0x5677c8(0x147)][_0x5677c8(0x10f)]({'label':_0x2d1462,'icon':_0x4a4aaf});const _0x20c908=new _0x1470c0(_0x4ad7f5);for(const _0x283300 of _0x1ec665){if(_0x5677c8(0x15c)==_0x283300[_0x5677c8(0x178)]){_0x20c908[_0x5677c8(0x138)][_0x5677c8(0x195)](new _0x59b4b7(_0x4ad7f5));continue;}const _0x377467=new _0x347d8e(_0x4ad7f5,_0x22a923),_0x2296e5=new _0x2d2afb(_0x4ad7f5),_0x51f9e3=_0x283300[_0x5677c8(0x16e)];_0x2296e5[_0x5677c8(0x168)](...Object[_0x5677c8(0x14a)](_0x51f9e3))['to'](_0x51f9e3),_0x2296e5[_0x5677c8(0x118)](_0x5677c8(0x182))['to'](_0x22a923),_0x2296e5['on'](_0x5677c8(0x182),()=>{const _0x275531=_0x5677c8;this[_0x275531(0x12f)][_0x275531(0x182)](_0x51f9e3[_0x275531(0x144)]),this[_0x275531(0x12f)][_0x275531(0x115)][_0x275531(0x124)][_0x275531(0x15b)]();}),_0x377467[_0x5677c8(0x179)][_0x5677c8(0x195)](_0x2296e5),_0x20c908[_0x5677c8(0x138)][_0x5677c8(0x195)](_0x377467);}return _0x22a923[_0x5677c8(0x168)](_0x5677c8(0x113))['to'](_0x4bb325,_0x5677c8(0x113)),_0x22a923[_0x5677c8(0x172)][_0x5677c8(0x179)][_0x5677c8(0x195)](_0x20c908),_0x22a923;}[_0x290f5f(0x176)](_0x2f5dbf){const _0x1d243a=_0x290f5f,_0x4abaab=this[_0x1d243a(0x12f)],_0x3c38db=_0x4abaab[_0x1d243a(0x141)],_0x3f9b65=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x13c)),_0x5ccf80=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x18b)),_0xb9b42a=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x193)),_0x4664a8=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x4177eb)['me'],_0x4ad581=_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x10c))[_0x1d243a(0x139)],{CommentsListView:_0x12f5e4,CommentThreadInputView:_0x31c8cb}=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x116));let _0x66dde2,_0x5d93b7;this[_0x1d243a(0x166)][_0x1d243a(0x17e)](_0x2f5dbf['id'])?(_0x5d93b7=this[_0x1d243a(0x166)][_0x1d243a(0x125)](_0x2f5dbf['id']),_0x66dde2=_0x5d93b7[_0x1d243a(0x108)]):(_0x66dde2=new _0x4ad581(_0x4abaab[_0x1d243a(0x13e)],_0x2f5dbf,_0x4664a8,{'disableComments':this[_0x1d243a(0x14f)],'editorConfig':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x174)),'maxCommentsWhenCollapsed':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x10b)),'maxThreadTotalWeight':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x173)),'maxCommentCharsWhenCollapsed':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x122)),'formatDateTime':_0x26162c(_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x13e))),'CommentView':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x186))[_0x1d243a(0x165)],'CommentsListView':_0x12f5e4,'CommentThreadInputView':_0x31c8cb}),_0x66dde2[_0x1d243a(0x15f)]['on'](_0x1d243a(0x182),()=>{const _0x4a3e04=_0x1d243a;_0x4abaab[_0x4a3e04(0x115)][_0x4a3e04(0x124)][_0x4a3e04(0x15b)]();}),_0x66dde2[_0x1d243a(0x17a)]['on'](_0x1d243a(0x182),()=>{const _0x226533=_0x1d243a;_0x4abaab[_0x226533(0x115)][_0x226533(0x124)][_0x226533(0x15b)]();}),_0x5d93b7=_0x3f9b65[_0x1d243a(0x160)](this[_0x1d243a(0x12f)][_0x1d243a(0x13e)],_0x66dde2),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x12e))['to'](_0x66dde2,_0x1d243a(0x12e)),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x16d))['to'](_0x66dde2),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x178))['to'](_0x66dde2,_0x1d243a(0x178),_0x1a11ce=>_0x1d243a(0x162)+_0x1a11ce),this[_0x1d243a(0x166)][_0x1d243a(0x10f)](_0x2f5dbf['id'],_0x5d93b7));const _0x3d02b6=_0x5ccf80[_0x1d243a(0x16a)](_0x2f5dbf[_0x1d243a(0x106)],_0x66dde2),_0x51222b=new _0x2a0369(_0x4abaab,_0x2f5dbf,_0x66dde2,_0x3d02b6),_0x4cc892=_0x2f5dbf[_0x1d243a(0x12a)]()[_0x1d243a(0x180)](_0x828544=>_0x828544[_0x1d243a(0x184)]);_0x66dde2[_0x1d243a(0x13d)]=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x18a))[_0x1d243a(0x16b)][_0x1d243a(0x146)](_0x4cc892),this[_0x1d243a(0x107)][_0x1d243a(0x10f)](_0x2f5dbf,_0x51222b),this[_0x1d243a(0x11a)][_0x1d243a(0x10f)](_0x66dde2,_0x51222b);const _0x562662=_0x3f9b65[_0x1d243a(0x14c)]({'view':_0x5d93b7,'target':()=>{const _0x42a9f3=_0x1d243a,_0x378b2f=[],_0x4684d1=_0x2f5dbf[_0x42a9f3(0x12a)]()[_0x42a9f3(0x180)](_0xe4991d=>_0xe4991d[_0x42a9f3(0x184)]);for(const _0x876167 of _0x4684d1)_0x378b2f[_0x42a9f3(0x11c)](..._0x876167[_0x42a9f3(0x164)]());return _0x54a1ce(_0x4abaab[_0x42a9f3(0x115)],_0x378b2f);},'type':()=>_0x1d243a(0x162)+_0x51222b[_0x1d243a(0x124)][_0x1d243a(0x178)]});_0x5ccf80[_0x1d243a(0x129)](_0x66dde2,_0x562662),_0x3f9b65[_0x1d243a(0x195)](_0x562662),_0xb9b42a[_0x1d243a(0x194)](_0x562662);}[_0x290f5f(0x197)](_0x495995){const _0x365b68=_0x290f5f,_0x50c5c5=this[_0x365b68(0x12f)][_0x365b68(0x13f)][_0x365b68(0x125)](_0x365b68(0x18b)),_0x4fe371=this[_0x365b68(0x12f)][_0x365b68(0x13f)][_0x365b68(0x125)](_0x365b68(0x13c)),_0x870b77=this[_0x365b68(0x107)][_0x365b68(0x125)](_0x495995),_0x587f05=_0x870b77[_0x365b68(0x124)],_0x29e7ad=_0x4fe371[_0x365b68(0x133)](_0x587f05);_0x50c5c5[_0x365b68(0x177)](_0x587f05),_0x29e7ad&&_0x4fe371[_0x365b68(0x11d)](_0x29e7ad),this[_0x365b68(0x107)][_0x365b68(0x15e)](_0x495995),this[_0x365b68(0x11a)][_0x365b68(0x15e)](_0x587f05),_0x870b77[_0x365b68(0x127)]();}[_0x290f5f(0x120)](_0x8b2596){const _0x274b5b=_0x290f5f;if(!_0x8b2596[_0x274b5b(0x184)]||!this[_0x274b5b(0x107)][_0x274b5b(0x17e)](_0x8b2596))return;const _0x38f216=this[_0x274b5b(0x12f)][_0x274b5b(0x13f)][_0x274b5b(0x125)](_0x274b5b(0x18a)),_0x40643f=this[_0x274b5b(0x107)][_0x274b5b(0x125)](_0x8b2596),_0x1ff762=_0x8b2596[_0x274b5b(0x12a)]();_0x40643f[_0x274b5b(0x124)][_0x274b5b(0x13d)]=_0x38f216[_0x274b5b(0x16b)][_0x274b5b(0x146)](_0x1ff762);}[_0x290f5f(0x127)](){const _0x6ceb3d=_0x290f5f;for(const _0x2b0ed4 of this[_0x6ceb3d(0x107)][_0x6ceb3d(0x14a)]())this[_0x6ceb3d(0x197)](_0x2b0ed4);for(const _0x3a450b of this[_0x6ceb3d(0x166)][_0x6ceb3d(0x15d)]())_0x3a450b[_0x6ceb3d(0x108)][_0x6ceb3d(0x127)]();super[_0x6ceb3d(0x127)]();}}function ae(_0x580e87){const _0x3b07e9=_0x290f5f;return _0x3b07e9(0x16e)in _0x580e87;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2eb2dd=_0x45af;(function(_0x454b5f,_0x538407){const _0x5f531c=_0x45af,_0xfff1c1=_0x454b5f();while(!![]){try{const _0x2a0774=-parseInt(_0x5f531c(0x1ea))/0x1+-parseInt(_0x5f531c(0x1d0))/0x2*(parseInt(_0x5f531c(0x1d3))/0x3)+parseInt(_0x5f531c(0x1e3))/0x4*(parseInt(_0x5f531c(0x1cb))/0x5)+parseInt(_0x5f531c(0x1da))/0x6*(parseInt(_0x5f531c(0x1ed))/0x7)+parseInt(_0x5f531c(0x1e8))/0x8*(-parseInt(_0x5f531c(0x1ef))/0x9)+-parseInt(_0x5f531c(0x1dc))/0xa+-parseInt(_0x5f531c(0x1d2))/0xb*(-parseInt(_0x5f531c(0x1d9))/0xc);if(_0x2a0774===_0x538407)break;else _0xfff1c1['push'](_0xfff1c1['shift']());}catch(_0x409e45){_0xfff1c1['push'](_0xfff1c1['shift']());}}}(_0x1d12,0x660cd));function _0x45af(_0x4e1060,_0x16a7c0){const _0x1d12f2=_0x1d12();return _0x45af=function(_0x45afcf,_0x175143){_0x45afcf=_0x45afcf-0x1c7;let _0x1acce0=_0x1d12f2[_0x45afcf];return _0x1acce0;},_0x45af(_0x4e1060,_0x16a7c0);}import{ObservableMixin as _0x2e6221}from'ckeditor5/src/utils.js';import{getTranslation as _0x177f06}from'../utils/common-translations.js';function _0x1d12(){const _0x469ba8=['commands','PENDING_ACTION_SUGGESTION','plugins','add','531768jyRGTt','execute','34157jVvaNz','view','stopListening','7sVlZhc','canAccept','9qhBOrC','listenTo','locale','_editor','unbind','_acceptCommand','_pendingAction','canDiscard','11005lmFlmq','get','isEnabled','isDirty','PendingActions','2442pdxvdr','bind','293106JYBxPJ','1461zTsVfx','acceptSuggestion','_discardCommand','getRanges','_setPendingAction','_removePendingAction','60Dlqmvr','4858602esfbSN','change:isDirty','3887990Ggqwkz','model','discardSuggestion','destroy','canEditAt','remove','commentThreadController','1016ZOFyNx'];_0x1d12=function(){return _0x469ba8;};return _0x1d12();}export default class oe extends _0x2e6221(){constructor(_0x3b15ba,_0x50a2e4,_0x5bd122,_0x4b4d3c){const _0x191c2e=_0x45af;super(),this[_0x191c2e(0x1dd)]=_0x50a2e4,this[_0x191c2e(0x1eb)]=_0x5bd122,this[_0x191c2e(0x1e2)]=_0x4b4d3c,this[_0x191c2e(0x1f2)]=_0x3b15ba,this[_0x191c2e(0x1c8)]=_0x3b15ba[_0x191c2e(0x1e4)][_0x191c2e(0x1cc)](_0x191c2e(0x1d4)),this[_0x191c2e(0x1d5)]=_0x3b15ba[_0x191c2e(0x1e4)][_0x191c2e(0x1cc)](_0x191c2e(0x1de)),this[_0x191c2e(0x1eb)][_0x191c2e(0x1d1)](_0x191c2e(0x1cd))['to'](this[_0x191c2e(0x1c8)],this[_0x191c2e(0x1d5)],(_0x5ce920,_0x91688b)=>_0x5ce920||_0x91688b),this[_0x191c2e(0x1eb)][_0x191c2e(0x1d1)](_0x191c2e(0x1ee))['to'](this[_0x191c2e(0x1c8)],_0x191c2e(0x1cd),_0x4d6b93=>_0x4d6b93&&this[_0x191c2e(0x1f2)][_0x191c2e(0x1dd)][_0x191c2e(0x1e0)](_0x50a2e4[_0x191c2e(0x1d6)]())),this[_0x191c2e(0x1eb)][_0x191c2e(0x1d1)](_0x191c2e(0x1ca))['to'](this[_0x191c2e(0x1d5)],_0x191c2e(0x1cd),_0x291dd9=>_0x291dd9&&this[_0x191c2e(0x1f2)][_0x191c2e(0x1dd)][_0x191c2e(0x1e0)](_0x50a2e4[_0x191c2e(0x1d6)]())),this[_0x191c2e(0x1c9)]=null,_0x5bd122[_0x191c2e(0x1ce)]&&this[_0x191c2e(0x1d7)](),this[_0x191c2e(0x1f0)](_0x5bd122,_0x191c2e(0x1d4),()=>this[_0x191c2e(0x1d4)]()),this[_0x191c2e(0x1f0)](_0x5bd122,_0x191c2e(0x1de),()=>this[_0x191c2e(0x1de)]()),this[_0x191c2e(0x1f0)](_0x5bd122,_0x191c2e(0x1db),()=>{const _0x177a5b=_0x191c2e;_0x5bd122[_0x177a5b(0x1ce)]?this[_0x177a5b(0x1d7)]():this[_0x177a5b(0x1d8)]();});}[_0x2eb2dd(0x1d4)](){const _0x5bd3b3=_0x2eb2dd;this[_0x5bd3b3(0x1c8)][_0x5bd3b3(0x1e9)](this[_0x5bd3b3(0x1dd)]['id']);}[_0x2eb2dd(0x1de)](){const _0x4301b9=_0x2eb2dd;this[_0x4301b9(0x1d5)][_0x4301b9(0x1e9)](this[_0x4301b9(0x1dd)]['id']);}[_0x2eb2dd(0x1df)](){const _0x457d6d=_0x2eb2dd;this[_0x457d6d(0x1eb)][_0x457d6d(0x1c7)](_0x457d6d(0x1cd)),this[_0x457d6d(0x1eb)][_0x457d6d(0x1c7)](_0x457d6d(0x1ee)),this[_0x457d6d(0x1eb)][_0x457d6d(0x1c7)](_0x457d6d(0x1ca)),this[_0x457d6d(0x1ec)](),this[_0x457d6d(0x1e2)][_0x457d6d(0x1df)](),this[_0x457d6d(0x1c9)]&&this[_0x457d6d(0x1d8)]();}[_0x2eb2dd(0x1d7)](){const _0x42016a=_0x2eb2dd,_0xebb105=_0x177f06(this[_0x42016a(0x1f2)][_0x42016a(0x1f1)],_0x42016a(0x1e5));this[_0x42016a(0x1c9)]=this[_0x42016a(0x1f2)][_0x42016a(0x1e6)][_0x42016a(0x1cc)](_0x42016a(0x1cf))[_0x42016a(0x1e7)](_0xebb105);}[_0x2eb2dd(0x1d8)](){const _0x1fe8d5=_0x2eb2dd;null!==this[_0x1fe8d5(0x1c9)]&&this[_0x1fe8d5(0x1f2)][_0x1fe8d5(0x1e6)][_0x1fe8d5(0x1cc)](_0x1fe8d5(0x1cf))[_0x1fe8d5(0x1e1)](this[_0x1fe8d5(0x1c9)]),this[_0x1fe8d5(0x1c9)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4831dd=_0x3c5d;(function(_0x2c65dc,_0x2b6968){const _0x38bac0=_0x3c5d,_0x10bee2=_0x2c65dc();while(!![]){try{const _0x4c8617=-parseInt(_0x38bac0(0x17e))/0x1+-parseInt(_0x38bac0(0x189))/0x2*(-parseInt(_0x38bac0(0x196))/0x3)+parseInt(_0x38bac0(0x175))/0x4+parseInt(_0x38bac0(0x1a6))/0x5*(-parseInt(_0x38bac0(0x18b))/0x6)+parseInt(_0x38bac0(0x17b))/0x7+-parseInt(_0x38bac0(0x19f))/0x8*(-parseInt(_0x38bac0(0x17c))/0x9)+-parseInt(_0x38bac0(0x1a1))/0xa;if(_0x4c8617===_0x2b6968)break;else _0x10bee2['push'](_0x10bee2['shift']());}catch(_0x58c83c){_0x10bee2['push'](_0x10bee2['shift']());}}}(_0x21e1,0x37112));import{View as _0x100ede}from'ckeditor5/src/ui.js';export default class es extends _0x100ede{constructor(_0x322a34,_0x349ed1,_0xc54430,_0x2907f3){const _0x42ab42=_0x3c5d;super(_0x322a34),this[_0x42ab42(0x1a0)]=null,this[_0x42ab42(0x193)]=null,this[_0x42ab42(0x179)](_0x42ab42(0x199),!0x1),this[_0x42ab42(0x179)](_0x42ab42(0x183),_0x349ed1[_0x42ab42(0x183)]),this[_0x42ab42(0x178)](_0x42ab42(0x183))['to'](_0x349ed1),this[_0x42ab42(0x179)](_0x42ab42(0x192),[]),this[_0x42ab42(0x179)](_0x42ab42(0x19d),!0x1),this[_0x42ab42(0x179)](_0x42ab42(0x17d),!0x1),this[_0x42ab42(0x179)](_0x42ab42(0x182),!0x1),this[_0x42ab42(0x179)](_0x42ab42(0x184),!0x1),this[_0x42ab42(0x18f)]=_0x349ed1,this[_0x42ab42(0x19e)]=_0xc54430,this[_0x42ab42(0x1a2)]=_0x2907f3,_0x2907f3[_0x42ab42(0x17f)]?this[_0x42ab42(0x179)](_0x42ab42(0x180),0x1):this[_0x42ab42(0x181)]();}[_0x4831dd(0x186)](){const _0x43d10d=_0x4831dd;this[_0x43d10d(0x190)][_0x43d10d(0x186)]();}[_0x4831dd(0x194)](){const _0x5f5619=_0x4831dd;this[_0x5f5619(0x1a0)]&&this[_0x5f5619(0x1a0)][_0x5f5619(0x194)](),this[_0x5f5619(0x193)]&&this[_0x5f5619(0x193)][_0x5f5619(0x194)](),super[_0x5f5619(0x194)]();}[_0x4831dd(0x181)](){const _0x5083a0=_0x4831dd,{CommentsListView:_0x2dd3d2}=this[_0x5083a0(0x1a2)];this[_0x5083a0(0x1a0)]=new _0x2dd3d2(this[_0x5083a0(0x18c)],this[_0x5083a0(0x18f)][_0x5083a0(0x188)],Object[_0x5083a0(0x1a4)]({'CommentView':this[_0x5083a0(0x1a2)][_0x5083a0(0x177)]},this[_0x5083a0(0x1a2)])),this[_0x5083a0(0x1a0)][_0x5083a0(0x18a)](_0x5083a0(0x197))['to'](this),this[_0x5083a0(0x1a0)][_0x5083a0(0x18a)](_0x5083a0(0x19a))['to'](this),this[_0x5083a0(0x1a0)][_0x5083a0(0x178)](_0x5083a0(0x199))['to'](this),this[_0x5083a0(0x179)](_0x5083a0(0x180),this[_0x5083a0(0x1a0)][_0x5083a0(0x180)]+0x1),this[_0x5083a0(0x178)](_0x5083a0(0x180))['to'](this[_0x5083a0(0x1a0)],_0x5083a0(0x180),_0x4d004b=>_0x4d004b+0x1),this[_0x5083a0(0x193)]=this[_0x5083a0(0x198)](),this['on'](_0x5083a0(0x197),()=>this[_0x5083a0(0x186)]()),this[_0x5083a0(0x178)](_0x5083a0(0x19d))['to'](this[_0x5083a0(0x1a0)],_0x5083a0(0x1a7),this[_0x5083a0(0x193)][_0x5083a0(0x17a)],_0x5083a0(0x1a5),(_0x5e859b,_0x18111f)=>_0x5e859b||!!_0x18111f);}[_0x4831dd(0x198)](){const _0x33608a=_0x4831dd,{CommentThreadInputView:_0x14297a}=this[_0x33608a(0x1a2)],_0x38a7fa=new _0x14297a(this[_0x33608a(0x18c)],this[_0x33608a(0x19e)],this[_0x33608a(0x1a2)][_0x33608a(0x176)]),_0x41e337=_0x38a7fa[_0x33608a(0x17a)];return _0x38a7fa[_0x33608a(0x178)](_0x33608a(0x185))['to'](this,_0x33608a(0x199),this[_0x33608a(0x18f)][_0x33608a(0x188)],_0x33608a(0x19b),_0x41e337,_0x33608a(0x1a5),(_0x3db144,_0x436e6a,_0x22c39f)=>!!_0x22c39f||_0x3db144&&!_0x436e6a),_0x41e337['on'](_0x33608a(0x187),(_0x5a9e64,_0x1eb3a5)=>{const _0x382fc3=_0x33608a;this[_0x382fc3(0x18e)](_0x382fc3(0x18d),_0x1eb3a5),_0x41e337[_0x382fc3(0x19c)][_0x382fc3(0x1a3)]('');}),_0x41e337['on'](_0x33608a(0x191),()=>this[_0x33608a(0x186)]()),_0x41e337[_0x33608a(0x178)](_0x33608a(0x195))['to'](this[_0x33608a(0x18f)][_0x33608a(0x188)],_0x33608a(0x19b)),_0x38a7fa;}}function _0x3c5d(_0x46219a,_0x5a7acf){const _0x21e1c5=_0x21e1();return _0x3c5d=function(_0x3c5d38,_0x114747){_0x3c5d38=_0x3c5d38-0x175;let _0x3a0ea5=_0x21e1c5[_0x3c5d38];return _0x3a0ea5;},_0x3c5d(_0x46219a,_0x5a7acf);}function _0x21e1(){const _0x53dd66=['editor','isDirty','_localUser','16IMcMRC','commentsListView','10394360qOjVtS','_config','setData','assign','value','78410XbDQTQ','hasDirtyComment','899620BAEKqK','editorConfig','CommentView','bind','set','commentInputView','2527805BiEulJ','1886202cWnLEN','isEnabled','9178zYXJdN','disableComments','length','_createCommentViews','canAccept','authoredAt','canDiscard','showInput','focus','submit','commentThread','410130xvAYTq','delegate','54sBtSBc','locale','addComment','fire','_model','element','cancel','descriptionParts','commentThreadInputView','destroy','disabledSubmit','6nTZptG','removeComment','_createCommentThreadInputView','isActive','updateComment','isReadOnly'];_0x21e1=function(){return _0x53dd66;};return _0x21e1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28dca7=_0x225b;(function(_0x4cdb12,_0x5bdf88){const _0x2fa406=_0x225b,_0x4ebff5=_0x4cdb12();while(!![]){try{const _0x163e15=-parseInt(_0x2fa406(0x203))/0x1*(-parseInt(_0x2fa406(0x1fd))/0x2)+parseInt(_0x2fa406(0x22b))/0x3*(parseInt(_0x2fa406(0x1e4))/0x4)+parseInt(_0x2fa406(0x223))/0x5*(-parseInt(_0x2fa406(0x205))/0x6)+-parseInt(_0x2fa406(0x22c))/0x7+-parseInt(_0x2fa406(0x219))/0x8+parseInt(_0x2fa406(0x20a))/0x9+-parseInt(_0x2fa406(0x204))/0xa*(-parseInt(_0x2fa406(0x21a))/0xb);if(_0x163e15===_0x5bdf88)break;else _0x4ebff5['push'](_0x4ebff5['shift']());}catch(_0x4de441){_0x4ebff5['push'](_0x4ebff5['shift']());}}}(_0x5956,0x30bd6));import{getTranslation as _0x3c9942}from'../../utils/common-translations.js';import{default as _0x9e708f}from'./basesuggestionthreadview.js';import{ButtonView as _0x592840}from'ckeditor5/src/ui.js';import{icons as _0x13fdf5}from'ckeditor5/src/core.js';function _0x5956(){const _0x1c50bc=['content','978606WxkRsL','@external','_config','span','<span\x20class=\x22ck-suggestion-type\x22>','descriptionParts','bind','change:description','innerText','setTemplate','\x22\x20title=\x22','acceptSuggestion','bindTemplate','cancel','name','248056xGNEVF','3077987FvZWer','_model','ck-suggestion__user','ck-comment__info-time','discardButton','ck-annotation__actions','ck-annotation__info-name','EXTERNAL_IMPORT_WORD_AVATAR','getUserViewNotificationText','5UcwTBG','ck-annotation','locale','</span>','source','canAccept','ck-suggestion-','importWord','78087JoROIc','2586850CFvSRA','ck-suggestion__main','</p>','div','ck-suggestion-wrapper','createElement','Discard\x20suggestion','discardSuggestion','ck-suggestion--accept','ck-annotation__info-time','ck-annotation__user','canDiscard','color','value','formatDateTime','authoredAt','check','render','author','join','fire','isActive','ck-suggestion__info','\x22></span>','delegate','isEnabled','ck-annotation__info','ck-comment__external','ck-suggestion','set','split','ck-suggestion--disabled-comments','innerHTML','children','querySelector','_descriptionElement','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__main','acceptButton','editorReady','56NmMaUE','userView','ck-suggestion--discard','execute','Accept\x20suggestion','title','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','extendTemplate','ck-suggestion__actions','EXTERNAL_AVATAR','commentThread','editorDestroyed','description','element','<p>','disableComments','getTemplate','time','commentThreadInputView','ck-annotation__content-wrapper','_createButton','EXTERNAL_SUGGESTION','attributes','getExternalSuggestionNote','isExternal','99914ESITAs','push','map','ck-suggestion-wrapper--active','creator','ck-suggestion__info-name','3FipxyD','10WGKjmA','1815798qKerPh','commentsListView','type','.ck-annotation__content-wrapper'];_0x5956=function(){return _0x1c50bc;};return _0x5956();}import{trimHtml as _0x2c5fea,UserView as _0x568681}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x9e708f{constructor(_0x20ac52,_0x295458,_0x501129,_0x4bdde7){const _0x4c4724=_0x225b;super(_0x20ac52,_0x295458,_0x501129,_0x4bdde7),this[_0x4c4724(0x249)](_0x4c4724(0x207),''),this[_0x4c4724(0x210)](_0x4c4724(0x207))['to'](this,_0x4c4724(0x20f),_0x2c08d8=>_0x2c08d8&&_0x2c08d8[0x0]?_0x2c08d8[0x0][_0x4c4724(0x207)]:''),this[_0x4c4724(0x210)](_0x4c4724(0x1f0))['to'](this,_0x4c4724(0x20f),this,_0x4c4724(0x241),(_0x33211d,_0x59b74e)=>{const _0x299837=_0x4c4724;let _0x332f06='';for(const _0x4b147f of _0x33211d)_0x332f06+=_0x299837(0x1f2)+ds(_0x4b147f[_0x299837(0x209)],_0x4b147f[_0x299837(0x238)])+_0x299837(0x22e);return _0x59b74e?_0x332f06:_0x2c5fea(_0x332f06,{'limit':0x8c});}),this[_0x4c4724(0x1df)]=null,this[_0x4c4724(0x1e2)]=this[_0x4c4724(0x1f8)](_0x3c9942(_0x20ac52,_0x4c4724(0x1e8)),_0x13fdf5[_0x4c4724(0x23c)],_0x4c4724(0x234),_0x4c4724(0x215),'sw'),this[_0x4c4724(0x1e2)][_0x4c4724(0x210)](_0x4c4724(0x245))['to'](this,_0x4c4724(0x228)),this[_0x4c4724(0x21e)]=this[_0x4c4724(0x1f8)](_0x3c9942(_0x20ac52,_0x4c4724(0x232)),_0x13fdf5[_0x4c4724(0x217)],_0x4c4724(0x1e6),_0x4c4724(0x233),'sw'),this[_0x4c4724(0x21e)][_0x4c4724(0x210)](_0x4c4724(0x245))['to'](this,_0x4c4724(0x237)),this[_0x4c4724(0x1e5)]=new _0x568681(_0x20ac52,this[_0x4c4724(0x21b)][_0x4c4724(0x23e)],this[_0x4c4724(0x222)]()),this[_0x4c4724(0x1e5)][_0x4c4724(0x1eb)]({'attributes':{'class':[_0x4c4724(0x21c),_0x4c4724(0x236)]}}),this[_0x4c4724(0x213)](this[_0x4c4724(0x1f4)]());}[_0x28dca7(0x1f4)](){const _0x59f39a=_0x28dca7,_0x3e8dcc=this[_0x59f39a(0x216)],_0x56d0b3=[{'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x242),_0x59f39a(0x246)]},'children':[{'tag':_0x59f39a(0x20d),'children':[{'text':this[_0x59f39a(0x1e5)][_0x59f39a(0x218)]}],'attributes':{'class':[_0x59f39a(0x202),_0x59f39a(0x220)]}},{'tag':_0x59f39a(0x1f5),'attributes':{'datetime':_0x3e8dcc['to'](_0x59f39a(0x23b)),'class':[_0x59f39a(0x21d),_0x59f39a(0x235)]},'children':[{'text':_0x3e8dcc['to'](_0x59f39a(0x23b),_0x3d15ac=>this[_0x59f39a(0x20c)][_0x59f39a(0x23a)](_0x3d15ac))}]}]},{'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x1ec),_0x59f39a(0x21f)]},'children':[this[_0x59f39a(0x1e2)],this[_0x59f39a(0x21e)]]},{'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x1f7)]}}];this[_0x59f39a(0x21b)][_0x59f39a(0x1fc)]&&_0x56d0b3[_0x59f39a(0x1fe)]({'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x247)]},'children':[{'text':this[_0x59f39a(0x1fb)]()}]});const _0x4fabe3={'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x230),_0x3e8dcc['if'](_0x59f39a(0x241),_0x59f39a(0x200)),_0x3e8dcc['to'](_0x59f39a(0x207),_0x20632f=>_0x59f39a(0x229)+_0x20632f),this[_0x59f39a(0x20c)][_0x59f39a(0x1f3)]&&_0x59f39a(0x24b)],'data-suggestion-id':this[_0x59f39a(0x21b)]['id'],'data-thread-id':this[_0x59f39a(0x21b)][_0x59f39a(0x1ee)]['id'],'data-author-id':this[_0x59f39a(0x21b)][_0x59f39a(0x23e)]['id'],'tabindex':-0x1},'children':[{'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x248),_0x59f39a(0x224)]},'children':[this[_0x59f39a(0x1e5)],{'tag':_0x59f39a(0x22f),'attributes':{'class':[_0x59f39a(0x22d),_0x59f39a(0x1e1)]},'children':_0x56d0b3}]}]};return this[_0x59f39a(0x206)]&&this[_0x59f39a(0x1f6)]&&(_0x4fabe3[_0x59f39a(0x1dd)][_0x59f39a(0x1fe)](this[_0x59f39a(0x206)],this[_0x59f39a(0x1f6)]),this[_0x59f39a(0x206)][_0x59f39a(0x244)](_0x59f39a(0x1e3))['to'](this),this[_0x59f39a(0x206)][_0x59f39a(0x244)](_0x59f39a(0x1ef))['to'](this),this[_0x59f39a(0x1f6)][_0x59f39a(0x244)](_0x59f39a(0x1e3))['to'](this),this[_0x59f39a(0x1f6)][_0x59f39a(0x244)](_0x59f39a(0x1ef))['to'](this)),_0x4fabe3;}[_0x28dca7(0x23d)](){const _0x389ba7=_0x28dca7;super[_0x389ba7(0x23d)](),this[_0x389ba7(0x1df)]=this[_0x389ba7(0x1f1)][_0x389ba7(0x1de)](_0x389ba7(0x208)),this[_0x389ba7(0x1df)][_0x389ba7(0x24c)]=this[_0x389ba7(0x1f0)],this['on'](_0x389ba7(0x211),(_0x6f8452,_0x4c2bce,_0x3c5f77)=>{const _0x3d0fe5=_0x389ba7;this[_0x3d0fe5(0x1df)][_0x3d0fe5(0x24c)]=_0x3c5f77;});}[_0x28dca7(0x1f8)](_0x1a0cfe,_0x3ec24e,_0x4cdfc8,_0x57b12a,_0x62d911){const _0x5e9448=_0x28dca7,_0xaac097=new _0x592840(this[_0x5e9448(0x225)]);return _0xaac097[_0x5e9448(0x249)]({'label':_0x1a0cfe,'icon':_0x3ec24e,'tooltip':!0x0,'tooltipPosition':_0x62d911}),_0xaac097[_0x5e9448(0x1eb)]({'attributes':{'class':_0x4cdfc8}}),_0xaac097['on'](_0x5e9448(0x1e7),()=>{const _0x3715d0=_0x5e9448;this[_0x3715d0(0x240)](_0x57b12a,this[_0x3715d0(0x21b)]['id']);}),_0xaac097;}[_0x28dca7(0x1fb)](){const _0x2aba1e=_0x28dca7;return _0x2aba1e(0x22a)===this[_0x2aba1e(0x21b)][_0x2aba1e(0x1fa)][_0x2aba1e(0x20b)][_0x2aba1e(0x227)]?_0x3c9942(this[_0x2aba1e(0x225)],_0x2aba1e(0x1e0)):_0x3c9942(this[_0x2aba1e(0x225)],_0x2aba1e(0x1f9));}[_0x28dca7(0x222)](){const _0x4dc199=_0x28dca7;return this[_0x4dc199(0x21b)][_0x4dc199(0x1fc)]?_0x4dc199(0x22a)===this[_0x4dc199(0x21b)][_0x4dc199(0x1fa)][_0x4dc199(0x20b)][_0x4dc199(0x227)]?_0x3c9942(this[_0x4dc199(0x225)],_0x4dc199(0x221),this[_0x4dc199(0x21b)][_0x4dc199(0x201)][_0x4dc199(0x218)]):_0x3c9942(this[_0x4dc199(0x225)],_0x4dc199(0x1ed),this[_0x4dc199(0x21b)][_0x4dc199(0x201)][_0x4dc199(0x218)]):null;}}function ds(_0xd8fb31,_0x672be6){const _0x234d97=_0x28dca7;let _0x5ccb47='';return _0x5ccb47+=_0xd8fb31[_0x234d97(0x24a)]('*')[_0x234d97(0x1ff)]((_0x4d0ffa,_0x45c7b3)=>_0x45c7b3%0x2!=0x0?_0x234d97(0x20e)+us(_0x4d0ffa)+_0x234d97(0x226):us(_0x4d0ffa))[_0x234d97(0x23f)](''),_0x672be6&&(_0x5ccb47+=_0x234d97(0x1ea)+_0x672be6[_0x234d97(0x239)]+_0x234d97(0x214)+_0x672be6[_0x234d97(0x1e9)]+_0x234d97(0x243)),_0x5ccb47;}function _0x225b(_0x60582c,_0x4ab877){const _0x59566f=_0x5956();return _0x225b=function(_0x225b4b,_0x3e8b89){_0x225b4b=_0x225b4b-0x1dd;let _0x9aee87=_0x59566f[_0x225b4b];return _0x9aee87;},_0x225b(_0x60582c,_0x4ab877);}function us(_0x2b6b88){const _0x39816b=_0x28dca7,_0x5be873=document[_0x39816b(0x231)](_0x39816b(0x20d));return _0x5be873[_0x39816b(0x212)]=_0x2b6b88,_0x5be873[_0x39816b(0x24c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x163d5a,_0x1fcc2d,_0x47abc1){const t=_0x163d5a['t'];switch(_0x1fcc2d){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',_0x47abc1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x47abc1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x47abc1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x47abc1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x47abc1);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',_0x47abc1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x47abc1);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',_0x47abc1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x47abc1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x47abc1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x47abc1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x47abc1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x47abc1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x47abc1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x47abc1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x47abc1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x47abc1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x47abc1);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x47abc1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x47abc1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x47abc1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x47abc1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x47abc1);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'},_0x47abc1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x47abc1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x47abc1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x47abc1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x47abc1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x47abc1);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'},_0x47abc1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x47abc1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x47abc1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x47abc1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x47abc1);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'},_0x47abc1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x47abc1);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'},_0x47abc1);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'},_0x47abc1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x47abc1);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'},_0x47abc1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x47abc1);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'},_0x47abc1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x47abc1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x47abc1);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'},_0x47abc1);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'},_0x47abc1);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 _0x1fcc2d;}}
|
|
23
|
+
export function getTranslation(_0x301768,_0x3bdec3,_0x2f9d89){const t=_0x301768['t'];switch(_0x3bdec3){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',_0x2f9d89);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2f9d89);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2f9d89);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2f9d89);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2f9d89);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',_0x2f9d89);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2f9d89);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',_0x2f9d89);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2f9d89);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2f9d89);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2f9d89);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2f9d89);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2f9d89);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2f9d89);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2f9d89);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2f9d89);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2f9d89);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2f9d89);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2f9d89);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2f9d89);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2f9d89);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2f9d89);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2f9d89);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2f9d89);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2f9d89);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2f9d89);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2f9d89);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2f9d89);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2f9d89);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2f9d89);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'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2f9d89);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2f9d89);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'},_0x2f9d89);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'},_0x2f9d89);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 _0x3bdec3;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x25d4(_0x61c56d,_0x750f16){const _0x36b0e6=_0x36b0();return _0x25d4=function(_0x25d4c0,_0x4705e3){_0x25d4c0=_0x25d4c0-0xd9;let _0x450e83=_0x36b0e6[_0x25d4c0];return _0x450e83;},_0x25d4(_0x61c56d,_0x750f16);}(function(_0x365ff4,_0x367d41){const _0x5c194e=_0x25d4,_0x318067=_0x365ff4();while(!![]){try{const _0x1949b3=-parseInt(_0x5c194e(0xef))/0x1*(parseInt(_0x5c194e(0xdc))/0x2)+-parseInt(_0x5c194e(0x102))/0x3+parseInt(_0x5c194e(0xed))/0x4+-parseInt(_0x5c194e(0xeb))/0x5+parseInt(_0x5c194e(0xe5))/0x6*(parseInt(_0x5c194e(0xfc))/0x7)+-parseInt(_0x5c194e(0xe4))/0x8+parseInt(_0x5c194e(0x100))/0x9;if(_0x1949b3===_0x367d41)break;else _0x318067['push'](_0x318067['shift']());}catch(_0x60491e){_0x318067['push'](_0x318067['shift']());}}}(_0x36b0,0x4319e));export function normalizeDescription(_0xdfa961){const _0x1c4c0f=_0x25d4;return Array[_0x1c4c0f(0xff)](_0xdfa961)||(_0xdfa961=[_0xdfa961]),_0xdfa961[_0x1c4c0f(0xfb)](_0x44c4e1=>{const _0x102144=_0x1c4c0f,_0xfeae4a=_0x44c4e1[_0x102144(0xe7)][_0x102144(0xf9)](/\*/g,''),_0x4add33=_0x44c4e1[_0x102144(0xf0)]?_0x102144(0xe1)+_0x44c4e1[_0x102144(0xf0)][_0x102144(0xfe)]+']':'';return'['+_0x44c4e1[_0x102144(0xec)]+']\x20'+_0xfeae4a+_0x4add33;})[_0x1c4c0f(0xf8)](';\x20');}export function sortSuggestions(_0x51006b){const _0x371e6f=_0x25d4;return _0x51006b[_0x371e6f(0xea)]((_0xac904c,_0x8199cc)=>_0x371e6f(0xda)==_0xac904c[_0x371e6f(0xec)]&&_0x371e6f(0xda)!=_0x8199cc[_0x371e6f(0xec)]?-0x1:_0x371e6f(0xda)!=_0xac904c[_0x371e6f(0xec)]&&_0x371e6f(0xda)==_0x8199cc[_0x371e6f(0xec)]?0x1:0x0);}export function getSelectedSuggestions(_0x2aba9d,_0x1cbfc3){const _0x10d67e=_0x25d4,_0x4b5bff=Array[_0x10d67e(0xf2)](_0x2aba9d[_0x10d67e(0xf4)]()),_0x3ea8f7=new Set();for(const _0x25f736 of _0x1cbfc3)if(_0x25f736[_0x10d67e(0xe2)]){for(const _0x4ca386 of _0x4b5bff)for(const _0x470e51 of _0x25f736[_0x10d67e(0xf4)]())(_0x4ca386[_0x10d67e(0xf6)](_0x470e51)||_0x2aba9d[_0x10d67e(0xe6)]&&!_0x25f736[_0x10d67e(0xf5)]&&_0x25f736[_0x10d67e(0xf3)]&&_0x470e51[_0x10d67e(0xd9)][_0x10d67e(0xe9)](_0x4ca386[_0x10d67e(0xfd)]))&&_0x3ea8f7[_0x10d67e(0xe3)](_0x25f736);}return _0x3ea8f7;}export function getRangesOfBlockGroups(_0x19a3fd,_0x9b726a){const _0x1df819=_0x25d4;let _0x338993,_0x20dc86=0x0;const _0x2d610a=[],_0x179929=_0x9b726a[_0x1df819(0xf1)];for(;_0x20dc86<_0x19a3fd[_0x1df819(0xe0)];){const _0x246829=_0x19a3fd[_0x20dc86],_0x219b0f=_0x19a3fd[_0x20dc86+0x1];_0x338993||(_0x338993=_0x9b726a[_0x1df819(0xee)](_0x246829)),co(_0x9b726a,_0x246829,_0x219b0f)||(_0x2d610a[_0x1df819(0xf7)](_0x9b726a[_0x1df819(0xe8)](_0x338993,_0x179929[_0x1df819(0xdd)](_0x246829)?_0x9b726a[_0x1df819(0xdf)](_0x246829):_0x9b726a[_0x1df819(0xfa)](_0x246829,_0x1df819(0xd9)))),_0x338993=null),_0x20dc86++;}return _0x2d610a;}function co(_0x43aa1c,_0x54001c,_0x4c8cdb){const _0xd8ab41=_0x25d4;if(!_0x4c8cdb)return!0x1;const _0x3bbd08=_0x43aa1c[_0xd8ab41(0xdf)](_0x54001c),_0x2cf3cd=_0x43aa1c[_0xd8ab41(0xee)](_0x4c8cdb);return _0x3bbd08[_0xd8ab41(0xe9)](_0x2cf3cd);}function _0x36b0(){const _0x43ef03=['isMultiRange','isIntersecting','push','join','replace','createPositionAt','map','7CJqpki','start','value','isArray','5013576kzveNT','splice','848505SAeLEb','end','deletion','change','14heiOog','isObject','execute','createPositionAfter','length','\x20[color\x20','isInContent','add','1460760bLmPfo','15882wYDNAi','isCollapsed','content','createRange','isTouching','sort','716520NmBjZC','type','1591688sUkoQS','createPositionBefore','10579ZjHuVF','color','schema','from','next','getRanges'];_0x36b0=function(){return _0x43ef03;};return _0x36b0();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x291064,_0x82d871,_0x5a1626){const _0x4d0660=_0x25d4;for(;_0x5a1626[_0x4d0660(0xe0)];){const _0x5eb46f=_0x5a1626[_0x4d0660(0x101)](0x0,0x64);_0x291064[_0x4d0660(0xdb)](()=>{const _0xa44fa8=_0x4d0660;for(const _0xf768c6 of _0x5eb46f)_0xf768c6[_0xa44fa8(0xe2)]&&_0x82d871[_0xa44fa8(0xde)](_0xf768c6['id']);});}}
|