@ckeditor/ckeditor5-track-changes 42.0.0-alpha.7 → 42.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x152a5c=_0x1a5f;(function(_0x40aea4,_0x2c97fa){const _0x3815ed=_0x1a5f,_0x527825=_0x40aea4();while(!![]){try{const _0x464e23=-parseInt(_0x3815ed(0x15b))/0x1+parseInt(_0x3815ed(0x15e))/0x2*(parseInt(_0x3815ed(0x17c))/0x3)+parseInt(_0x3815ed(0x1ad))/0x4+-parseInt(_0x3815ed(0x1a1))/0x5+-parseInt(_0x3815ed(0x172))/0x6+parseInt(_0x3815ed(0x1c4))/0x7+parseInt(_0x3815ed(0x1a2))/0x8;if(_0x464e23===_0x2c97fa)break;else _0x527825['push'](_0x527825['shift']());}catch(_0x25f24d){_0x527825['push'](_0x527825['shift']());}}}(_0x4e48,0xd027c));import{Plugin as _0x406682}from'ckeditor5/src/core.js';import{Collection as _0x17fcbc}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x58b408,createDropdown as _0x3c0fa5,ListSeparatorView as _0x41e8c8,MenuBarMenuView as _0x5440c9,MenuBarMenuListView as _0x268517,MenuBarMenuListItemView as _0xac6f02,MenuBarMenuListItemButtonView as _0x53586e,SplitButtonView as _0x5188e6,ViewModel as _0x5f362f}from'ckeditor5/src/ui.js';function _0x4e48(){const _0x43466e=['model','addComment','trackChanges.disableComments','bind','plugins','_destroyController','keys','suggestionChanged','menuitem','view','isEnabled','push','SuggestionThreadView','7662216zwqdro','Discard\x20all\x20suggestions','EditorAnnotations','actionView','registerAnnotation','_addUIComponentsToFactory','discardButton','getMarkers','createAnnotationView','_annotationViews','228156tcoBYn','suggestionUnloaded','acceptAllSuggestions','destroy','toMany','has','editor','locale','suggestionLoaded','filter','componentFactory','focus','items','commentThread','_unbindEditors','getDescriptions','requires','buttonView','length','button','unbind','delegate','pluginName','_updateController','activeAnnotations','getJoined','isInContent','_initializeController','_handleControllerBuffer','switchbutton','getSuggestion','comments.maxThreadTotalWeight','arrowView','init','commands','stopListening','reduce','7570235HadZfd','8401952wKHSnA','getByInnerView','CommentView','add','change:previous','getFirstRange','some','panelView','isMultiRange','TrackChangesUI','discardAllSuggestions','4802356vxzJMU','_createMenuBarMenu','execute','getAllAdjacentSuggestions','acceptButton','TrackChangesEditing','Accept\x20all\x20suggestions','commandName','_bindAnnotationToEditors','head','children','values','refreshSelectedViews','change:activeAnnotations','activeMarkers','addSourceCollector','Annotations','CommentsUI','separator','discardSelectedSuggestions','getMarkerNames','get','createAnnotation','6021204sjNCps','_handleSuggestionControllerDelayed','Discard\x20all\x20selected\x20suggestions','editing','comments.editorConfig','_disableComments','innerView','CommentsRepository','acceptSelectedSuggestions','lowest','menuBar:trackChanges','suggestion-','clear','previous','size','from','hasSuggestion','trackChanges.SuggestionThreadView','comments.maxCommentCharsWhenCollapsed','set','_viewToController','_createToolbarButton','source','define','value','descriptionFactory','remove','createCommentThreadController','_suggestionToController','listenTo','trackChanges','comments','type','Accept\x20all\x20selected\x20suggestions','getRanges','isOn','mainView','comments.maxCommentsWhenCollapsed','455994zknUqG','delete','descriptionParts','26SNcnzG','_refreshActiveMarkers','isDirty','Track\x20changes','config','menuitemcheckbox','menu'];_0x4e48=function(){return _0x43466e;};return _0x4e48();}import{Users as _0x66e4cf,getDateTimeFormatter as _0x2bc20b,getAllMarkersDomElementsSorted as _0x16791e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1de4e3 from'./trackchangesediting.js';import _0x32b0e6 from'./ui/suggestioncontroller.js';import _0x162cf6 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x116ce2}from'./utils/common-translations.js';import _0x7b5c71 from'../theme/icons/track-changes.svg';function _0x1a5f(_0x40325f,_0x498919){const _0x4e480f=_0x4e48();return _0x1a5f=function(_0x1a5f52,_0x580cd3){_0x1a5f52=_0x1a5f52-0x14d;let _0x57e30d=_0x4e480f[_0x1a5f52];return _0x57e30d;},_0x1a5f(_0x40325f,_0x498919);}export default class d extends _0x406682{static get[_0x152a5c(0x18c)](){const _0xa24375=_0x152a5c;return[_0x1de4e3,_0x66e4cf,_0xa24375(0x1cb),_0xa24375(0x1bd),_0xa24375(0x174)];}static get[_0x152a5c(0x192)](){const _0x4dcf18=_0x152a5c;return _0x4dcf18(0x1ab);}constructor(_0x47da11){const _0x3d8f51=_0x152a5c;super(_0x47da11),this[_0x3d8f51(0x151)]=new Map(),this[_0x3d8f51(0x1d8)]=new Map(),this[_0x3d8f51(0x17b)]=new Map(),this[_0x3d8f51(0x198)]=new Map();const _0x525a56=this[_0x3d8f51(0x182)][_0x3d8f51(0x162)];_0x525a56[_0x3d8f51(0x1db)](_0x3d8f51(0x1d5),_0x162cf6),_0x525a56[_0x3d8f51(0x1db)](_0x3d8f51(0x167),!0x1),this[_0x3d8f51(0x1c9)]=_0x525a56[_0x3d8f51(0x1c2)](_0x3d8f51(0x167));}[_0x152a5c(0x1c5)](_0x1c401f,_0x565d48){const _0x10202b=_0x152a5c;0x0===this[_0x10202b(0x198)][_0x10202b(0x1d2)]&&setTimeout(()=>{const _0x402d4d=_0x10202b;for(const [_0x4b9a7b,_0x4f37c5]of this[_0x402d4d(0x198)]){const _0xf2f586=this[_0x402d4d(0x151)][_0x402d4d(0x181)](_0x4b9a7b);_0xf2f586||_0x4f37c5?_0xf2f586&&_0x4f37c5&&this[_0x402d4d(0x16a)](_0x4b9a7b):this[_0x402d4d(0x197)](_0x4b9a7b);}this[_0x402d4d(0x198)][_0x402d4d(0x1d0)](),this[_0x402d4d(0x182)][_0x402d4d(0x169)][_0x402d4d(0x1c2)](_0x402d4d(0x174))[_0x402d4d(0x1b9)](),this[_0x402d4d(0x15f)]();},0xa),this[_0x10202b(0x198)][_0x10202b(0x1d7)](_0x1c401f,_0x565d48);}[_0x152a5c(0x19d)](){const _0x16990e=_0x152a5c,_0x33948e=this[_0x16990e(0x182)],_0x225bc0=_0x33948e[_0x16990e(0x169)][_0x16990e(0x1c2)](_0x16990e(0x1b2)),_0x2dbb6a=_0x33948e[_0x16990e(0x169)][_0x16990e(0x1c2)](_0x16990e(0x1bd)),_0x19fc85=_0x33948e[_0x16990e(0x169)][_0x16990e(0x1c2)](_0x16990e(0x174)),_0x1fc1e6=_0x33948e[_0x16990e(0x169)][_0x16990e(0x1c2)](_0x16990e(0x1cb));this[_0x16990e(0x177)](),_0x19fc85[_0x16990e(0x1bc)](()=>{const _0x9b39=_0x16990e,_0x1287ea=[];for(const [_0x15b95c,_0x45df9d]of Array[_0x9b39(0x1d3)](this[_0x9b39(0x151)])){const _0x1096a5=_0x15b95c[_0x9b39(0x1b0)](),_0x4a7690=[];for(const _0x157da8 of _0x1096a5){if(!_0x157da8[_0x9b39(0x196)])continue;if(_0x157da8[_0x9b39(0x1aa)]){_0x4a7690[_0x9b39(0x170)](..._0x157da8[_0x9b39(0x157)]());continue;}const _0x577b38=_0x157da8[_0x9b39(0x1a7)]();if(_0x4a7690[_0x9b39(0x18e)]>0x0){const _0x5ea500=_0x4a7690[0x0][_0x9b39(0x195)](_0x577b38);if(_0x5ea500){_0x4a7690[0x0]=_0x5ea500;continue;}}_0x4a7690[_0x9b39(0x170)](_0x577b38);}_0x1287ea[_0x9b39(0x170)]([_0x45df9d[_0x9b39(0x16e)],_0x4a7690]);}return _0x1287ea;}),this[_0x16990e(0x152)](_0x225bc0,_0x16990e(0x184),(_0x2e768a,_0x2b8103)=>{const _0x329b31=_0x16990e;this[_0x329b31(0x152)](_0x2b8103,_0x329b31(0x1a6),(_0x57dbbf,_0x4b7a10,_0x30c400,_0x30ccf5)=>{const _0x3d1a1e=_0x329b31;_0x2b8103[_0x3d1a1e(0x196)]&&(null==_0x30c400?(this[_0x3d1a1e(0x193)](_0x30ccf5[_0x3d1a1e(0x1b6)]),this[_0x3d1a1e(0x1c5)](_0x2b8103,!0x1)):(this[_0x3d1a1e(0x193)](_0x30c400[_0x3d1a1e(0x1b6)]),null==_0x30ccf5&&this[_0x3d1a1e(0x1c5)](_0x2b8103,!0x0)));}),null!==_0x2b8103[_0x329b31(0x1d1)]?this[_0x329b31(0x193)](_0x2b8103[_0x329b31(0x1b6)]):this[_0x329b31(0x1c5)](_0x2b8103,!0x1);}),this[_0x16990e(0x152)](_0x225bc0,_0x16990e(0x17d),(_0x268e29,_0x7b666e,_0x2f3ac3)=>{const _0x54b8ad=_0x16990e;this[_0x54b8ad(0x19f)](_0x7b666e,_0x54b8ad(0x1a6)),this[_0x54b8ad(0x198)][_0x54b8ad(0x15c)](_0x7b666e),this[_0x54b8ad(0x151)][_0x54b8ad(0x181)](_0x7b666e)&&this[_0x54b8ad(0x16a)](_0x7b666e),_0x2f3ac3&&this[_0x54b8ad(0x193)](_0x2f3ac3[_0x54b8ad(0x1b6)]);}),this[_0x16990e(0x152)](_0x225bc0,_0x16990e(0x16c),(_0x1b0c38,_0x431c67)=>{const _0x59d402=_0x16990e;this[_0x59d402(0x193)](_0x431c67);}),this[_0x16990e(0x152)](_0x2dbb6a,_0x16990e(0x1ba),()=>{const _0x23d7f7=_0x16990e;this[_0x23d7f7(0x15f)]();}),this[_0x16990e(0x152)](_0x1fc1e6,_0x16990e(0x166),(_0x1f571e,{threadId:_0xd2a324,isFromAdapter:_0x15c1e6})=>{const _0x4abb10=_0x16990e;if(_0x15c1e6||!_0x225bc0[_0x4abb10(0x1d4)](_0xd2a324))return;const _0x5cc479=_0x225bc0[_0x4abb10(0x19a)](_0xd2a324);this[_0x4abb10(0x151)][_0x4abb10(0x1c2)](_0x5cc479)[_0x4abb10(0x16e)][_0x4abb10(0x187)]();},{'priority':_0x16990e(0x1cd)});}[_0x152a5c(0x15f)](){const _0x100063=_0x152a5c,_0x1912d5=this[_0x100063(0x182)][_0x100063(0x169)][_0x100063(0x1c2)](_0x100063(0x1bd)),_0x32f544=this[_0x100063(0x182)][_0x100063(0x169)][_0x100063(0x1c2)](_0x100063(0x1b2)),_0x2dae08=Array[_0x100063(0x1d3)](_0x1912d5[_0x100063(0x194)],_0x421386=>_0x421386[_0x100063(0x1ca)])[_0x100063(0x185)](_0x1c5e62=>this[_0x100063(0x1d8)][_0x100063(0x181)](_0x1c5e62)),_0x37c208=[];for(const _0x2450a6 of _0x2dae08){const _0x552ad2=this[_0x100063(0x1d8)][_0x100063(0x1c2)](_0x2450a6)[_0x100063(0x165)][_0x100063(0x1b0)]();_0x37c208[_0x100063(0x170)](..._0x552ad2[_0x100063(0x1a0)]((_0x3eba46,_0x41458d)=>[..._0x3eba46,..._0x41458d[_0x100063(0x1c1)]()],[]));}_0x32f544[_0x100063(0x1bb)]=_0x37c208;}[_0x152a5c(0x177)](){const _0xdb2363=_0x152a5c,_0x530d8c=this[_0xdb2363(0x182)],_0x5cf985=_0x530d8c[_0xdb2363(0x183)],_0x458071=_0x116ce2(_0x5cf985,_0xdb2363(0x161)),_0x571cbc=new _0x17fcbc([{'type':_0xdb2363(0x199),'model':new _0x5f362f({'withText':!0x0,'label':_0x458071,'commandName':_0xdb2363(0x153),'role':_0xdb2363(0x163)})},{'type':_0xdb2363(0x1bf)},{'type':_0xdb2363(0x18f),'model':new _0x5f362f({'withText':!0x0,'label':_0x116ce2(_0x5cf985,_0xdb2363(0x1b3)),'commandName':_0xdb2363(0x17e),'role':_0xdb2363(0x16d)})},{'type':_0xdb2363(0x18f),'model':new _0x5f362f({'withText':!0x0,'label':_0x116ce2(_0x5cf985,_0xdb2363(0x156)),'commandName':_0xdb2363(0x1cc),'role':_0xdb2363(0x16d)})},{'type':_0xdb2363(0x18f),'model':new _0x5f362f({'withText':!0x0,'label':_0x116ce2(_0x5cf985,_0xdb2363(0x173)),'commandName':_0xdb2363(0x1ac),'role':_0xdb2363(0x16d)})},{'type':_0xdb2363(0x18f),'model':new _0x5f362f({'withText':!0x0,'label':_0x116ce2(_0x5cf985,_0xdb2363(0x1c6)),'commandName':_0xdb2363(0x1c0),'role':_0xdb2363(0x16d)})}]);for(const _0x587d9a of _0x571cbc)if(ae(_0x587d9a)){const _0x20a86e=_0x530d8c[_0xdb2363(0x19e)][_0xdb2363(0x1c2)](_0x587d9a[_0xdb2363(0x165)][_0xdb2363(0x1b4)]);_0x587d9a[_0xdb2363(0x165)][_0xdb2363(0x168)](_0xdb2363(0x158),_0xdb2363(0x16f))['to'](_0x20a86e,_0xdb2363(0x14d),_0xdb2363(0x16f));}_0x530d8c['ui'][_0xdb2363(0x186)][_0xdb2363(0x1a5)](_0xdb2363(0x153),_0xf4e7f4=>this[_0xdb2363(0x1d9)](_0xf4e7f4,_0x571cbc,_0x458071)),_0x530d8c['ui'][_0xdb2363(0x186)][_0xdb2363(0x1a5)](_0xdb2363(0x1ce),_0x58f139=>this[_0xdb2363(0x1ae)](_0x58f139,_0x571cbc,_0x458071));}[_0x152a5c(0x1d9)](_0xc171e2,_0x426627,_0x3d273c){const _0x316ccd=_0x152a5c,_0x1d8245=_0x3c0fa5(_0xc171e2,_0x5188e6),_0x499574=this[_0x316ccd(0x182)][_0x316ccd(0x19e)][_0x316ccd(0x1c2)](_0x316ccd(0x153));_0x1d8245[_0x316ccd(0x18d)][_0x316ccd(0x1d7)]({'tooltip':_0x3d273c,'label':_0x3d273c,'icon':_0x7b5c71}),_0x1d8245[_0x316ccd(0x18d)][_0x316ccd(0x168)](_0x316ccd(0x158))['to'](_0x499574,_0x316ccd(0x14d)),_0x1d8245[_0x316ccd(0x18d)]['on'](_0x316ccd(0x1af),()=>{const _0x570502=_0x316ccd;_0x499574[_0x570502(0x1af)](),this[_0x570502(0x182)][_0x570502(0x1c7)][_0x570502(0x16e)][_0x570502(0x187)]();}),_0x58b408(_0x1d8245,_0x426627,{'role':_0x316ccd(0x164)});const _0x4f8ea5=[];for(const _0x428428 of _0x426627)ae(_0x428428)&&_0x4f8ea5[_0x316ccd(0x170)](this[_0x316ccd(0x182)][_0x316ccd(0x19e)][_0x316ccd(0x1c2)](_0x428428[_0x316ccd(0x165)][_0x316ccd(0x1b4)]));const _0x1649d9=_0x1d8245[_0x316ccd(0x18d)];return _0x1649d9[_0x316ccd(0x175)][_0x316ccd(0x190)](_0x316ccd(0x16f)),_0x1649d9[_0x316ccd(0x19c)][_0x316ccd(0x190)](_0x316ccd(0x16f)),_0x1649d9[_0x316ccd(0x175)][_0x316ccd(0x168)](_0x316ccd(0x16f))['to'](_0x499574,_0x316ccd(0x16f)),_0x1649d9[_0x316ccd(0x19c)][_0x316ccd(0x168)](_0x316ccd(0x16f))[_0x316ccd(0x180)](_0x4f8ea5,_0x316ccd(0x16f),(..._0x5a05fa)=>_0x5a05fa[_0x316ccd(0x1a8)](_0x321786=>_0x321786)),_0x1d8245['on'](_0x316ccd(0x1af),_0x41e975=>{const _0x4bb259=_0x316ccd;this[_0x4bb259(0x182)][_0x4bb259(0x1af)](_0x41e975[_0x4bb259(0x1da)][_0x4bb259(0x1b4)]),this[_0x4bb259(0x182)][_0x4bb259(0x1c7)][_0x4bb259(0x16e)][_0x4bb259(0x187)]();}),_0x1d8245;}[_0x152a5c(0x1ae)](_0xc78ee9,_0x136387,_0x5b157f){const _0x1b5590=_0x152a5c,_0x153989=new _0x5440c9(_0xc78ee9),_0x5d5d34=this[_0x1b5590(0x182)][_0x1b5590(0x19e)][_0x1b5590(0x1c2)](_0x1b5590(0x153));_0x153989[_0x1b5590(0x18d)][_0x1b5590(0x1d7)]({'label':_0x5b157f,'icon':_0x7b5c71});const _0x2d3140=new _0x268517(_0xc78ee9);for(const _0x4fd253 of _0x136387){if(_0x1b5590(0x1bf)==_0x4fd253[_0x1b5590(0x155)]){_0x2d3140[_0x1b5590(0x188)][_0x1b5590(0x1a5)](new _0x41e8c8(_0xc78ee9));continue;}const _0xcf60f5=new _0xac6f02(_0xc78ee9,_0x153989),_0x219833=new _0x53586e(_0xc78ee9),_0x2d4869=_0x4fd253[_0x1b5590(0x165)];_0x219833[_0x1b5590(0x168)](...Object[_0x1b5590(0x16b)](_0x2d4869))['to'](_0x2d4869),_0x219833[_0x1b5590(0x191)](_0x1b5590(0x1af))['to'](_0x153989),_0x219833['on'](_0x1b5590(0x1af),()=>{const _0x5d8bef=_0x1b5590;this[_0x5d8bef(0x182)][_0x5d8bef(0x1af)](_0x2d4869[_0x5d8bef(0x1b4)]),this[_0x5d8bef(0x182)][_0x5d8bef(0x1c7)][_0x5d8bef(0x16e)][_0x5d8bef(0x187)]();}),_0xcf60f5[_0x1b5590(0x1b7)][_0x1b5590(0x1a5)](_0x219833),_0x2d3140[_0x1b5590(0x188)][_0x1b5590(0x1a5)](_0xcf60f5);}return _0x153989[_0x1b5590(0x168)](_0x1b5590(0x16f))['to'](_0x5d5d34,_0x1b5590(0x16f)),_0x153989[_0x1b5590(0x1a9)][_0x1b5590(0x1b7)][_0x1b5590(0x1a5)](_0x2d3140),_0x153989;}[_0x152a5c(0x197)](_0x42f90c){const _0x5ce79f=_0x152a5c,_0x567db1=this[_0x5ce79f(0x182)],_0x4707ea=_0x567db1[_0x5ce79f(0x162)],_0x41f5c7=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x5ce79f(0x1bd)),_0x2433dc=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x5ce79f(0x1cb)),_0x140ad2=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x5ce79f(0x174)),_0x3e3b00=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x66e4cf)['me'],_0x2a3905=_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x153))[_0x5ce79f(0x171)],{CommentsListView:_0x3c7c56,CommentThreadInputView:_0x6968ae}=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x5ce79f(0x1be));let _0x52838c,_0x17257e;this[_0x5ce79f(0x17b)][_0x5ce79f(0x181)](_0x42f90c['id'])?(_0x17257e=this[_0x5ce79f(0x17b)][_0x5ce79f(0x1c2)](_0x42f90c['id']),_0x52838c=_0x17257e[_0x5ce79f(0x159)]):(_0x52838c=new _0x2a3905(_0x567db1[_0x5ce79f(0x183)],_0x42f90c,_0x3e3b00,{'disableComments':this[_0x5ce79f(0x1c9)],'editorConfig':_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x1c8)),'maxCommentsWhenCollapsed':_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x15a)),'maxThreadTotalWeight':_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x19b)),'maxCommentCharsWhenCollapsed':_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x1d6)),'formatDateTime':_0x2bc20b(_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x183))),'CommentView':_0x4707ea[_0x5ce79f(0x1c2)](_0x5ce79f(0x154))[_0x5ce79f(0x1a4)],'CommentsListView':_0x3c7c56,'CommentThreadInputView':_0x6968ae}),_0x52838c[_0x5ce79f(0x1b1)]['on'](_0x5ce79f(0x1af),()=>{const _0x16e85c=_0x5ce79f;_0x567db1[_0x16e85c(0x1c7)][_0x16e85c(0x16e)][_0x16e85c(0x187)]();}),_0x52838c[_0x5ce79f(0x178)]['on'](_0x5ce79f(0x1af),()=>{const _0x3b4b5e=_0x5ce79f;_0x567db1[_0x3b4b5e(0x1c7)][_0x3b4b5e(0x16e)][_0x3b4b5e(0x187)]();}),_0x17257e=_0x41f5c7[_0x5ce79f(0x17a)](this[_0x5ce79f(0x182)][_0x5ce79f(0x183)],_0x52838c),_0x17257e[_0x5ce79f(0x168)](_0x5ce79f(0x160))['to'](_0x52838c,_0x5ce79f(0x160)),_0x17257e[_0x5ce79f(0x168)](_0x5ce79f(0x18e))['to'](_0x52838c),_0x17257e[_0x5ce79f(0x168)](_0x5ce79f(0x155))['to'](_0x52838c,_0x5ce79f(0x155),_0x2451c4=>_0x5ce79f(0x1cf)+_0x2451c4),this[_0x5ce79f(0x17b)][_0x5ce79f(0x1d7)](_0x42f90c['id'],_0x17257e));const _0x4a5215=_0x2433dc[_0x5ce79f(0x150)](_0x42f90c[_0x5ce79f(0x189)],_0x52838c),_0x2a69b3=new _0x32b0e6(_0x567db1,_0x42f90c,_0x52838c,_0x4a5215),_0x5c3d5b=_0x42f90c[_0x5ce79f(0x1b0)]()[_0x5ce79f(0x185)](_0x58105f=>_0x58105f[_0x5ce79f(0x196)]);_0x52838c[_0x5ce79f(0x15d)]=_0x567db1[_0x5ce79f(0x169)][_0x5ce79f(0x1c2)](_0x5ce79f(0x1b2))[_0x5ce79f(0x14e)][_0x5ce79f(0x18b)](_0x5c3d5b),this[_0x5ce79f(0x151)][_0x5ce79f(0x1d7)](_0x42f90c,_0x2a69b3),this[_0x5ce79f(0x1d8)][_0x5ce79f(0x1d7)](_0x52838c,_0x2a69b3);const _0x3c2424=_0x41f5c7[_0x5ce79f(0x1c3)]({'view':_0x17257e,'target':()=>{const _0x569c6d=_0x5ce79f,_0x4e4711=[],_0x10e5d4=_0x42f90c[_0x569c6d(0x1b0)]()[_0x569c6d(0x185)](_0x17ac7a=>_0x17ac7a[_0x569c6d(0x196)]);for(const _0x59af6b of _0x10e5d4)_0x4e4711[_0x569c6d(0x170)](..._0x59af6b[_0x569c6d(0x179)]());return _0x16791e(_0x567db1[_0x569c6d(0x1c7)],_0x4e4711);},'type':()=>_0x5ce79f(0x1cf)+_0x2a69b3[_0x5ce79f(0x16e)][_0x5ce79f(0x155)]});_0x2433dc[_0x5ce79f(0x1b5)](_0x52838c,_0x3c2424),_0x41f5c7[_0x5ce79f(0x1a5)](_0x3c2424),_0x140ad2[_0x5ce79f(0x176)](_0x3c2424);}[_0x152a5c(0x16a)](_0x5e322a){const _0xf8c9c=_0x152a5c,_0x3520ea=this[_0xf8c9c(0x182)][_0xf8c9c(0x169)][_0xf8c9c(0x1c2)](_0xf8c9c(0x1cb)),_0x27cc6f=this[_0xf8c9c(0x182)][_0xf8c9c(0x169)][_0xf8c9c(0x1c2)](_0xf8c9c(0x1bd)),_0x13664e=this[_0xf8c9c(0x151)][_0xf8c9c(0x1c2)](_0x5e322a),_0x5b465c=_0x13664e[_0xf8c9c(0x16e)],_0x2dae26=_0x27cc6f[_0xf8c9c(0x1a3)](_0x5b465c);_0x3520ea[_0xf8c9c(0x18a)](_0x5b465c),_0x2dae26&&_0x27cc6f[_0xf8c9c(0x14f)](_0x2dae26),this[_0xf8c9c(0x151)][_0xf8c9c(0x15c)](_0x5e322a),this[_0xf8c9c(0x1d8)][_0xf8c9c(0x15c)](_0x5b465c),_0x13664e[_0xf8c9c(0x17f)]();}[_0x152a5c(0x193)](_0x5fe397){const _0x34463c=_0x152a5c;if(!_0x5fe397[_0x34463c(0x196)]||!this[_0x34463c(0x151)][_0x34463c(0x181)](_0x5fe397))return;const _0x38b6ae=this[_0x34463c(0x182)][_0x34463c(0x169)][_0x34463c(0x1c2)](_0x34463c(0x1b2)),_0x1a00c7=this[_0x34463c(0x151)][_0x34463c(0x1c2)](_0x5fe397),_0x49e1f6=_0x5fe397[_0x34463c(0x1b0)]();_0x1a00c7[_0x34463c(0x16e)][_0x34463c(0x15d)]=_0x38b6ae[_0x34463c(0x14e)][_0x34463c(0x18b)](_0x49e1f6);}[_0x152a5c(0x17f)](){const _0x5f03ad=_0x152a5c;for(const _0x25ba25 of this[_0x5f03ad(0x151)][_0x5f03ad(0x16b)]())this[_0x5f03ad(0x16a)](_0x25ba25);for(const _0x2d2aa1 of this[_0x5f03ad(0x17b)][_0x5f03ad(0x1b8)]())_0x2d2aa1[_0x5f03ad(0x159)][_0x5f03ad(0x17f)]();super[_0x5f03ad(0x17f)]();}}function ae(_0x834e4c){const _0x474f4a=_0x152a5c;return _0x474f4a(0x165)in _0x834e4c;}
|
|
23
|
+
const _0xa31a57=_0x13ca;(function(_0x40bafb,_0x2cb6bd){const _0x5de9cb=_0x13ca,_0x16a7f7=_0x40bafb();while(!![]){try{const _0xc1f634=-parseInt(_0x5de9cb(0x1d2))/0x1*(parseInt(_0x5de9cb(0x1ce))/0x2)+parseInt(_0x5de9cb(0x1c7))/0x3+parseInt(_0x5de9cb(0x1db))/0x4*(parseInt(_0x5de9cb(0x1f2))/0x5)+-parseInt(_0x5de9cb(0x21e))/0x6*(-parseInt(_0x5de9cb(0x209))/0x7)+parseInt(_0x5de9cb(0x1c5))/0x8*(-parseInt(_0x5de9cb(0x1c6))/0x9)+parseInt(_0x5de9cb(0x1f1))/0xa+-parseInt(_0x5de9cb(0x1a0))/0xb*(parseInt(_0x5de9cb(0x1e0))/0xc);if(_0xc1f634===_0x2cb6bd)break;else _0x16a7f7['push'](_0x16a7f7['shift']());}catch(_0x5cd954){_0x16a7f7['push'](_0x16a7f7['shift']());}}}(_0x2d02,0x18b1a));function _0x13ca(_0x3d9602,_0x367857){const _0x2d02eb=_0x2d02();return _0x13ca=function(_0x13ca9c,_0x3b94b0){_0x13ca9c=_0x13ca9c-0x195;let _0x1bd901=_0x2d02eb[_0x13ca9c];return _0x1bd901;},_0x13ca(_0x3d9602,_0x367857);}import{Plugin as _0x563064}from'ckeditor5/src/core.js';import{Collection as _0xbfc38b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5ed719,createDropdown as _0x4605b5,ListSeparatorView as _0x52be0b,MenuBarMenuView as _0x5ce064,MenuBarMenuListView as _0x27563c,MenuBarMenuListItemView as _0x452243,MenuBarMenuListItemButtonView as _0xc82e10,SplitButtonView as _0x180374,ViewModel as _0x37207e}from'ckeditor5/src/ui.js';import{Users as _0x587cbd,getDateTimeFormatter as _0x25486f,getAllMarkersDomElementsSorted as _0x265442}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x49f88d from'./trackchangesediting.js';import _0x5563f5 from'./ui/suggestioncontroller.js';import _0x323453 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5d36db}from'./utils/common-translations.js';import _0x368c8a from'../theme/icons/track-changes.svg';export default class d extends _0x563064{static get[_0xa31a57(0x19a)](){const _0x1b38b7=_0xa31a57;return[_0x49f88d,_0x587cbd,_0x1b38b7(0x1b4),_0x1b38b7(0x1b3),_0x1b38b7(0x1dd)];}static get[_0xa31a57(0x207)](){const _0x415392=_0xa31a57;return _0x415392(0x1ba);}constructor(_0x25c1aa){const _0x256cf4=_0xa31a57;super(_0x25c1aa),this[_0x256cf4(0x20b)]=new Map(),this[_0x256cf4(0x21a)]=new Map(),this[_0x256cf4(0x1c9)]=new Map(),this[_0x256cf4(0x1e9)]=new Map();const _0x887e60=this[_0x256cf4(0x197)][_0x256cf4(0x1de)];_0x887e60[_0x256cf4(0x1dc)](_0x256cf4(0x1bb),_0x323453),_0x887e60[_0x256cf4(0x1dc)](_0x256cf4(0x1e6),!0x1),this[_0x256cf4(0x1f6)]=_0x887e60[_0x256cf4(0x19b)](_0x256cf4(0x1e6));}[_0xa31a57(0x1e7)](_0x42bc79,_0x289ba5){const _0x456c91=_0xa31a57;0x0===this[_0x456c91(0x1e9)][_0x456c91(0x219)]&&setTimeout(()=>{const _0x5c98b1=_0x456c91;for(const [_0x26b394,_0x40df65]of this[_0x5c98b1(0x1e9)]){const _0x5a0099=this[_0x5c98b1(0x20b)][_0x5c98b1(0x1aa)](_0x26b394);_0x5a0099||_0x40df65?_0x5a0099&&_0x40df65&&this[_0x5c98b1(0x196)](_0x26b394):this[_0x5c98b1(0x1be)](_0x26b394);}this[_0x5c98b1(0x1e9)][_0x5c98b1(0x1d3)](),this[_0x5c98b1(0x197)][_0x5c98b1(0x205)][_0x5c98b1(0x19b)](_0x5c98b1(0x1dd))[_0x5c98b1(0x1ab)](),this[_0x5c98b1(0x1eb)]();},0xa),this[_0x456c91(0x1e9)][_0x456c91(0x21f)](_0x42bc79,_0x289ba5);}[_0xa31a57(0x1d7)](){const _0x10065=_0xa31a57,_0x191edd=this[_0x10065(0x197)],_0x1d7139=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b0)),_0x27e0c4=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b3)),_0x3ed1e3=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1dd)),_0x1d7831=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b4));this[_0x10065(0x220)](),_0x3ed1e3[_0x10065(0x221)](()=>{const _0x1d39f0=_0x10065,_0x5458a4=[];for(const [_0x4c8038,_0x499688]of Array[_0x1d39f0(0x223)](this[_0x1d39f0(0x20b)])){const _0x4b997f=_0x4c8038[_0x1d39f0(0x202)](),_0x8caced=[];for(const _0x5b77d1 of _0x4b997f){if(!_0x5b77d1[_0x1d39f0(0x1a6)])continue;if(_0x5b77d1[_0x1d39f0(0x1d6)]){_0x8caced[_0x1d39f0(0x1c8)](..._0x5b77d1[_0x1d39f0(0x1c0)]());continue;}const _0x1a3569=_0x5b77d1[_0x1d39f0(0x1b8)]();if(_0x8caced[_0x1d39f0(0x216)]>0x0){const _0x2ac506=_0x8caced[0x0][_0x1d39f0(0x206)](_0x1a3569);if(_0x2ac506){_0x8caced[0x0]=_0x2ac506;continue;}}_0x8caced[_0x1d39f0(0x1c8)](_0x1a3569);}_0x5458a4[_0x1d39f0(0x1c8)]([_0x499688[_0x1d39f0(0x1c1)],_0x8caced]);}return _0x5458a4;}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x222),(_0x26e5d7,_0x33df45)=>{const _0x6a0c17=_0x10065;this[_0x6a0c17(0x210)](_0x33df45,_0x6a0c17(0x1d1),(_0x22c099,_0x5a8489,_0x53385e,_0x11c29a)=>{const _0x22157c=_0x6a0c17;_0x33df45[_0x22157c(0x1a6)]&&(null==_0x53385e?(this[_0x22157c(0x1a1)](_0x11c29a[_0x22157c(0x1cb)]),this[_0x22157c(0x1e7)](_0x33df45,!0x1)):(this[_0x22157c(0x1a1)](_0x53385e[_0x22157c(0x1cb)]),null==_0x11c29a&&this[_0x22157c(0x1e7)](_0x33df45,!0x0)));}),null!==_0x33df45[_0x6a0c17(0x1f5)]?this[_0x6a0c17(0x1a1)](_0x33df45[_0x6a0c17(0x1cb)]):this[_0x6a0c17(0x1e7)](_0x33df45,!0x1);}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x195),(_0x2fcb2c,_0x39808f,_0x329925)=>{const _0x5097c8=_0x10065;this[_0x5097c8(0x217)](_0x39808f,_0x5097c8(0x1d1)),this[_0x5097c8(0x1e9)][_0x5097c8(0x19c)](_0x39808f),this[_0x5097c8(0x20b)][_0x5097c8(0x1aa)](_0x39808f)&&this[_0x5097c8(0x196)](_0x39808f),_0x329925&&this[_0x5097c8(0x1a1)](_0x329925[_0x5097c8(0x1cb)]);}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x1ae),(_0x3740bf,_0x51c560)=>{const _0x1a1a87=_0x10065;this[_0x1a1a87(0x1a1)](_0x51c560);}),this[_0x10065(0x210)](_0x27e0c4,_0x10065(0x1e3),()=>{const _0x12d64d=_0x10065;this[_0x12d64d(0x1eb)]();}),this[_0x10065(0x210)](_0x1d7831,_0x10065(0x204),(_0x55e43e,{threadId:_0x5a18d9,isFromAdapter:_0x370241})=>{const _0x2ced56=_0x10065;if(_0x370241||!_0x1d7139[_0x2ced56(0x1ee)](_0x5a18d9))return;const _0x504bad=_0x1d7139[_0x2ced56(0x1b9)](_0x5a18d9);this[_0x2ced56(0x20b)][_0x2ced56(0x19b)](_0x504bad)[_0x2ced56(0x1c1)][_0x2ced56(0x20d)]();},{'priority':_0x10065(0x1ad)});}[_0xa31a57(0x1eb)](){const _0x5d755a=_0xa31a57,_0x436189=this[_0x5d755a(0x197)][_0x5d755a(0x205)][_0x5d755a(0x19b)](_0x5d755a(0x1b3)),_0x1e36c6=this[_0x5d755a(0x197)][_0x5d755a(0x205)][_0x5d755a(0x19b)](_0x5d755a(0x1b0)),_0x1174c9=Array[_0x5d755a(0x223)](_0x436189[_0x5d755a(0x1d8)],_0x332877=>_0x332877[_0x5d755a(0x1a8)])[_0x5d755a(0x198)](_0x4f842e=>this[_0x5d755a(0x21a)][_0x5d755a(0x1aa)](_0x4f842e)),_0x3a9148=[];for(const _0x126285 of _0x1174c9){const _0x2893f4=this[_0x5d755a(0x21a)][_0x5d755a(0x19b)](_0x126285)[_0x5d755a(0x1d5)][_0x5d755a(0x202)]();_0x3a9148[_0x5d755a(0x1c8)](..._0x2893f4[_0x5d755a(0x20c)]((_0xe6acca,_0x16b574)=>[..._0xe6acca,..._0x16b574[_0x5d755a(0x214)]()],[]));}_0x1e36c6[_0x5d755a(0x199)]=_0x3a9148;}[_0xa31a57(0x220)](){const _0x35c7bd=_0xa31a57,_0x298ffb=this[_0x35c7bd(0x197)],_0x5c90ac=_0x298ffb[_0x35c7bd(0x1cc)],_0x520dbd=_0x5d36db(_0x5c90ac,_0x35c7bd(0x1bd)),_0x476478=new _0xbfc38b([{'type':_0x35c7bd(0x19e),'model':new _0x37207e({'withText':!0x0,'label':_0x520dbd,'commandName':_0x35c7bd(0x1a4),'role':_0x35c7bd(0x201)})},{'type':_0x35c7bd(0x1e2)},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1df)),'commandName':_0x35c7bd(0x1fe),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1d4)),'commandName':_0x35c7bd(0x1fd),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x212)),'commandName':_0x35c7bd(0x215),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1fa)),'commandName':_0x35c7bd(0x1b7),'role':_0x35c7bd(0x1a9)})}]);for(const _0x249778 of _0x476478)if(ae(_0x249778)){const _0x4363f7=_0x298ffb[_0x35c7bd(0x208)][_0x35c7bd(0x19b)](_0x249778[_0x35c7bd(0x1d5)][_0x35c7bd(0x218)]);_0x249778[_0x35c7bd(0x1d5)][_0x35c7bd(0x1c3)](_0x35c7bd(0x1d9),_0x35c7bd(0x1f0))['to'](_0x4363f7,_0x35c7bd(0x200),_0x35c7bd(0x1f0));}_0x298ffb['ui'][_0x35c7bd(0x20e)][_0x35c7bd(0x1ef)](_0x35c7bd(0x1a4),_0x3c87c3=>this[_0x35c7bd(0x1bc)](_0x3c87c3,_0x476478,_0x520dbd)),_0x298ffb['ui'][_0x35c7bd(0x20e)][_0x35c7bd(0x1ef)](_0x35c7bd(0x20a),_0x4f31d1=>this[_0x35c7bd(0x1b5)](_0x4f31d1,_0x476478,_0x520dbd));}[_0xa31a57(0x1bc)](_0xa32002,_0x28cbbf,_0x2775ff){const _0x225a51=_0xa31a57,_0x2e76a2=_0x4605b5(_0xa32002,_0x180374),_0x36716f=this[_0x225a51(0x197)][_0x225a51(0x208)][_0x225a51(0x19b)](_0x225a51(0x1a4));_0x2e76a2[_0x225a51(0x1e8)][_0x225a51(0x21f)]({'tooltip':_0x2775ff,'label':_0x2775ff,'icon':_0x368c8a}),_0x2e76a2[_0x225a51(0x1e8)][_0x225a51(0x1c3)](_0x225a51(0x1d9))['to'](_0x36716f,_0x225a51(0x200)),_0x2e76a2[_0x225a51(0x1e8)]['on'](_0x225a51(0x20f),()=>{const _0x33e70d=_0x225a51;_0x36716f[_0x33e70d(0x20f)](),this[_0x33e70d(0x197)][_0x33e70d(0x21d)][_0x33e70d(0x1c1)][_0x33e70d(0x20d)]();}),_0x5ed719(_0x2e76a2,_0x28cbbf,{'role':_0x225a51(0x1b1)});const _0x2ffd76=[];for(const _0x4ee32f of _0x28cbbf)ae(_0x4ee32f)&&_0x2ffd76[_0x225a51(0x1c8)](this[_0x225a51(0x197)][_0x225a51(0x208)][_0x225a51(0x19b)](_0x4ee32f[_0x225a51(0x1d5)][_0x225a51(0x218)]));const _0x438469=_0x2e76a2[_0x225a51(0x1e8)];return _0x438469[_0x225a51(0x227)][_0x225a51(0x1cf)](_0x225a51(0x1f0)),_0x438469[_0x225a51(0x1bf)][_0x225a51(0x1cf)](_0x225a51(0x1f0)),_0x438469[_0x225a51(0x227)][_0x225a51(0x1c3)](_0x225a51(0x1f0))['to'](_0x36716f,_0x225a51(0x1f0)),_0x438469[_0x225a51(0x1bf)][_0x225a51(0x1c3)](_0x225a51(0x1f0))[_0x225a51(0x1ff)](_0x2ffd76,_0x225a51(0x1f0),(..._0x248760)=>_0x248760[_0x225a51(0x226)](_0x5ba66e=>_0x5ba66e)),_0x2e76a2['on'](_0x225a51(0x20f),_0xd67f51=>{const _0x7b388b=_0x225a51;this[_0x7b388b(0x197)][_0x7b388b(0x20f)](_0xd67f51[_0x7b388b(0x1e5)][_0x7b388b(0x218)]),this[_0x7b388b(0x197)][_0x7b388b(0x21d)][_0x7b388b(0x1c1)][_0x7b388b(0x20d)]();}),_0x2e76a2;}[_0xa31a57(0x1b5)](_0x2a5782,_0xadf752,_0x139a54){const _0x435465=_0xa31a57,_0x2fc2cd=new _0x5ce064(_0x2a5782),_0x419c5e=this[_0x435465(0x197)][_0x435465(0x208)][_0x435465(0x19b)](_0x435465(0x1a4));_0x2fc2cd[_0x435465(0x1e8)][_0x435465(0x21f)]({'label':_0x139a54,'icon':_0x368c8a});const _0xf89d8d=new _0x27563c(_0x2a5782);for(const _0x123e0f of _0xadf752){if(_0x435465(0x1e2)==_0x123e0f[_0x435465(0x1f9)]){_0xf89d8d[_0x435465(0x19d)][_0x435465(0x1ef)](new _0x52be0b(_0x2a5782));continue;}const _0x1bc956=new _0x452243(_0x2a5782,_0x2fc2cd),_0x16f76f=new _0xc82e10(_0x2a5782),_0x376fac=_0x123e0f[_0x435465(0x1d5)];_0x16f76f[_0x435465(0x1c3)](...Object[_0x435465(0x213)](_0x376fac))['to'](_0x376fac),_0x16f76f[_0x435465(0x1f7)](_0x435465(0x20f))['to'](_0x2fc2cd),_0x16f76f['on'](_0x435465(0x20f),()=>{const _0x2dbae3=_0x435465;this[_0x2dbae3(0x197)][_0x2dbae3(0x20f)](_0x376fac[_0x2dbae3(0x218)]),this[_0x2dbae3(0x197)][_0x2dbae3(0x21d)][_0x2dbae3(0x1c1)][_0x2dbae3(0x20d)]();}),_0x1bc956[_0x435465(0x1da)][_0x435465(0x1ef)](_0x16f76f),_0xf89d8d[_0x435465(0x19d)][_0x435465(0x1ef)](_0x1bc956);}return _0x2fc2cd[_0x435465(0x1c3)](_0x435465(0x1f0))['to'](_0x419c5e,_0x435465(0x1f0)),_0x2fc2cd[_0x435465(0x1f8)][_0x435465(0x1da)][_0x435465(0x1ef)](_0xf89d8d),_0x2fc2cd;}[_0xa31a57(0x1be)](_0x5290b7){const _0x2908c1=_0xa31a57,_0x2dbad2=this[_0x2908c1(0x197)],_0x3ece35=_0x2dbad2[_0x2908c1(0x1de)],_0x554ec0=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b3)),_0x10de05=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b4)),_0x14d1b2=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1dd)),_0x30e37c=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x587cbd)['me'],_0x356bc3=_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a4))[_0x2908c1(0x1cd)],{CommentsListView:_0x3b2cb7,CommentThreadInputView:_0x370975}=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1a7));let _0x232e46,_0xc83ed4;this[_0x2908c1(0x1c9)][_0x2908c1(0x1aa)](_0x5290b7['id'])?(_0xc83ed4=this[_0x2908c1(0x1c9)][_0x2908c1(0x19b)](_0x5290b7['id']),_0x232e46=_0xc83ed4[_0x2908c1(0x1ac)]):(_0x232e46=new _0x356bc3(_0x2dbad2[_0x2908c1(0x1cc)],_0x5290b7,_0x30e37c,{'disableComments':this[_0x2908c1(0x1f6)],'editorConfig':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a3)),'maxCommentsWhenCollapsed':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a2)),'maxThreadTotalWeight':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1b6)),'maxCommentCharsWhenCollapsed':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x225)),'formatDateTime':_0x25486f(_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1cc))),'CommentView':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x19f))[_0x2908c1(0x1b2)],'CommentsListView':_0x3b2cb7,'CommentThreadInputView':_0x370975}),_0x232e46[_0x2908c1(0x203)]['on'](_0x2908c1(0x20f),()=>{const _0xd65a98=_0x2908c1;_0x2dbad2[_0xd65a98(0x21d)][_0xd65a98(0x1c1)][_0xd65a98(0x20d)]();}),_0x232e46[_0x2908c1(0x1f3)]['on'](_0x2908c1(0x20f),()=>{const _0x84b10=_0x2908c1;_0x2dbad2[_0x84b10(0x21d)][_0x84b10(0x1c1)][_0x84b10(0x20d)]();}),_0xc83ed4=_0x554ec0[_0x2908c1(0x1a5)](this[_0x2908c1(0x197)][_0x2908c1(0x1cc)],_0x232e46),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x224))['to'](_0x232e46,_0x2908c1(0x224)),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x216))['to'](_0x232e46),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x1f9))['to'](_0x232e46,_0x2908c1(0x1f9),_0x40dc3f=>_0x2908c1(0x1c4)+_0x40dc3f),this[_0x2908c1(0x1c9)][_0x2908c1(0x21f)](_0x5290b7['id'],_0xc83ed4));const _0x3fda39=_0x10de05[_0x2908c1(0x1e4)](_0x5290b7[_0x2908c1(0x211)],_0x232e46),_0x27f18f=new _0x5563f5(_0x2dbad2,_0x5290b7,_0x232e46,_0x3fda39),_0x1694a3=_0x5290b7[_0x2908c1(0x202)]()[_0x2908c1(0x198)](_0xc9e1cc=>_0xc9e1cc[_0x2908c1(0x1a6)]);_0x232e46[_0x2908c1(0x1af)]=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b0))[_0x2908c1(0x21c)][_0x2908c1(0x1fc)](_0x1694a3),this[_0x2908c1(0x20b)][_0x2908c1(0x21f)](_0x5290b7,_0x27f18f),this[_0x2908c1(0x21a)][_0x2908c1(0x21f)](_0x232e46,_0x27f18f);const _0x35e059=_0x554ec0[_0x2908c1(0x21b)]({'view':_0xc83ed4,'target':()=>{const _0x2d52ab=_0x2908c1,_0x52af77=[],_0x391f69=_0x5290b7[_0x2d52ab(0x202)]()[_0x2d52ab(0x198)](_0x21d8ab=>_0x21d8ab[_0x2d52ab(0x1a6)]);for(const _0x5df6be of _0x391f69)_0x52af77[_0x2d52ab(0x1c8)](..._0x5df6be[_0x2d52ab(0x1ec)]());return _0x265442(_0x2dbad2[_0x2d52ab(0x21d)],_0x52af77);},'type':()=>_0x2908c1(0x1c4)+_0x27f18f[_0x2908c1(0x1c1)][_0x2908c1(0x1f9)]});_0x10de05[_0x2908c1(0x1f4)](_0x232e46,_0x35e059),_0x554ec0[_0x2908c1(0x1ef)](_0x35e059),_0x14d1b2[_0x2908c1(0x1fb)](_0x35e059);}[_0xa31a57(0x196)](_0x1cd869){const _0x1db064=_0xa31a57,_0x1e8a8f=this[_0x1db064(0x197)][_0x1db064(0x205)][_0x1db064(0x19b)](_0x1db064(0x1b4)),_0x339292=this[_0x1db064(0x197)][_0x1db064(0x205)][_0x1db064(0x19b)](_0x1db064(0x1b3)),_0x17c963=this[_0x1db064(0x20b)][_0x1db064(0x19b)](_0x1cd869),_0x59be1e=_0x17c963[_0x1db064(0x1c1)],_0xac62f3=_0x339292[_0x1db064(0x1d0)](_0x59be1e);_0x1e8a8f[_0x1db064(0x1ea)](_0x59be1e),_0xac62f3&&_0x339292[_0x1db064(0x1ca)](_0xac62f3),this[_0x1db064(0x20b)][_0x1db064(0x19c)](_0x1cd869),this[_0x1db064(0x21a)][_0x1db064(0x19c)](_0x59be1e),_0x17c963[_0x1db064(0x1ed)]();}[_0xa31a57(0x1a1)](_0x36516d){const _0x495638=_0xa31a57;if(!_0x36516d[_0x495638(0x1a6)]||!this[_0x495638(0x20b)][_0x495638(0x1aa)](_0x36516d))return;const _0x42a47f=this[_0x495638(0x197)][_0x495638(0x205)][_0x495638(0x19b)](_0x495638(0x1b0)),_0x51eac5=this[_0x495638(0x20b)][_0x495638(0x19b)](_0x36516d),_0x4b49cd=_0x36516d[_0x495638(0x202)]();_0x51eac5[_0x495638(0x1c1)][_0x495638(0x1af)]=_0x42a47f[_0x495638(0x21c)][_0x495638(0x1fc)](_0x4b49cd);}[_0xa31a57(0x1ed)](){const _0x1f4731=_0xa31a57;for(const _0x2885d7 of this[_0x1f4731(0x20b)][_0x1f4731(0x213)]())this[_0x1f4731(0x196)](_0x2885d7);for(const _0x50ef3d of this[_0x1f4731(0x1c9)][_0x1f4731(0x1e1)]())_0x50ef3d[_0x1f4731(0x1ac)][_0x1f4731(0x1ed)]();super[_0x1f4731(0x1ed)]();}}function _0x2d02(){const _0x1ca381=['pluginName','commands','7IfkxvB','menuBar:trackChanges','_suggestionToController','reduce','focus','componentFactory','execute','listenTo','commentThread','Discard\x20all\x20suggestions','keys','getMarkerNames','discardAllSuggestions','length','stopListening','commandName','size','_viewToController','createAnnotation','descriptionFactory','editing','770442mySApL','set','_addUIComponentsToFactory','addSourceCollector','suggestionLoaded','from','isDirty','comments.maxCommentCharsWhenCollapsed','some','actionView','suggestionUnloaded','_destroyController','editor','filter','activeMarkers','requires','get','delete','items','switchbutton','comments','11GBIwxJ','_updateController','comments.maxCommentsWhenCollapsed','comments.editorConfig','trackChanges','createAnnotationView','isInContent','CommentsUI','innerView','menuitem','has','refreshSelectedViews','mainView','lowest','suggestionChanged','descriptionParts','TrackChangesEditing','menu','CommentView','Annotations','CommentsRepository','_createMenuBarMenu','comments.maxThreadTotalWeight','discardSelectedSuggestions','getFirstRange','getSuggestion','TrackChangesUI','trackChanges.SuggestionThreadView','_createToolbarButton','Track\x20changes','_initializeController','arrowView','getRanges','view','button','bind','suggestion-','552cbjtJE','5823VhGTCA','300429LrqxHk','push','_annotationViews','remove','head','locale','SuggestionThreadView','2crelMg','unbind','getByInnerView','change:previous','60454LqoUgf','clear','Accept\x20all\x20selected\x20suggestions','model','isMultiRange','init','activeAnnotations','isOn','children','1004Ejdhjd','define','EditorAnnotations','config','Accept\x20all\x20suggestions','2538036lvfnCf','values','separator','change:activeAnnotations','createCommentThreadController','source','trackChanges.disableComments','_handleSuggestionControllerDelayed','buttonView','_handleControllerBuffer','_unbindEditors','_refreshActiveMarkers','getMarkers','destroy','hasSuggestion','add','isEnabled','343290BncDhq','3085OlbkTu','discardButton','_bindAnnotationToEditors','previous','_disableComments','delegate','panelView','type','Discard\x20all\x20selected\x20suggestions','registerAnnotation','getDescriptions','acceptSelectedSuggestions','acceptAllSuggestions','toMany','value','menuitemcheckbox','getAllAdjacentSuggestions','acceptButton','addComment','plugins','getJoined'];_0x2d02=function(){return _0x1ca381;};return _0x2d02();}function ae(_0x15594d){const _0x33aebd=_0xa31a57;return _0x33aebd(0x1d5)in _0x15594d;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d1d35=_0x5181;(function(_0x4a4c9b,_0x531996){const _0x52b3c8=_0x5181,_0x2b71b6=_0x4a4c9b();while(!![]){try{const _0x269bdd=-parseInt(_0x52b3c8(0x8e))/0x1+-parseInt(_0x52b3c8(0xae))/0x2+-parseInt(_0x52b3c8(0xb2))/0x3+-parseInt(_0x52b3c8(0xb4))/0x4*(parseInt(_0x52b3c8(0x97))/0x5)+-parseInt(_0x52b3c8(0x96))/0x6*(-parseInt(_0x52b3c8(0xa8))/0x7)+parseInt(_0x52b3c8(0x91))/0x8*(-parseInt(_0x52b3c8(0xa1))/0x9)+-parseInt(_0x52b3c8(0x8c))/0xa*(-parseInt(_0x52b3c8(0xb1))/0xb);if(_0x269bdd===_0x531996)break;else _0x2b71b6['push'](_0x2b71b6['shift']());}catch(_0x8c2a1b){_0x2b71b6['push'](_0x2b71b6['shift']());}}}(_0x32d8,0xb12fc));import{ObservableMixin as _0x2f3c84}from'ckeditor5/src/utils.js';function _0x5181(_0xfb3926,_0x1cf16d){const _0x32d85c=_0x32d8();return _0x5181=function(_0x5181c1,_0xc31134){_0x5181c1=_0x5181c1-0x8c;let _0x5d9e82=_0x32d85c[_0x5181c1];return _0x5d9e82;},_0x5181(_0xfb3926,_0x1cf16d);}function _0x32d8(){const _0x3edc58=['stopListening','isEnabled','isDirty','138PvqZmE','305495xIARYT','commentThreadController','view','_discardCommand','destroy','getRanges','commands','get','change:isDirty','add','2720106MaBTHb','remove','discardSuggestion','_removePendingAction','acceptSuggestion','_acceptCommand','PendingActions','152481urcGym','PENDING_ACTION_SUGGESTION','canAccept','locale','_editor','plugins','2023040NwSoYq','execute','_pendingAction','21975976aRucup','2320260gLKgcf','canEditAt','76xzFkKz','bind','unbind','20eKIDQi','_setPendingAction','522830iNXNFD','canDiscard','model','8iqmJxj','listenTo'];_0x32d8=function(){return _0x3edc58;};return _0x32d8();}import{getTranslation as _0x4fd98c}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f3c84(){constructor(_0x5ad650,_0x371aa6,_0x3f2260,_0x1828c4){const _0x4c273b=_0x5181;super(),this[_0x4c273b(0x90)]=_0x371aa6,this[_0x4c273b(0x99)]=_0x3f2260,this[_0x4c273b(0x98)]=_0x1828c4,this[_0x4c273b(0xac)]=_0x5ad650,this[_0x4c273b(0xa6)]=_0x5ad650[_0x4c273b(0x9d)][_0x4c273b(0x9e)](_0x4c273b(0xa5)),this[_0x4c273b(0x9a)]=_0x5ad650[_0x4c273b(0x9d)][_0x4c273b(0x9e)](_0x4c273b(0xa3)),this[_0x4c273b(0x99)][_0x4c273b(0xb5)](_0x4c273b(0x94))['to'](this[_0x4c273b(0xa6)],this[_0x4c273b(0x9a)],(_0xdd4898,_0x3691d6)=>_0xdd4898||_0x3691d6),this[_0x4c273b(0x99)][_0x4c273b(0xb5)](_0x4c273b(0xaa))['to'](this[_0x4c273b(0xa6)],_0x4c273b(0x94),_0x7407f8=>_0x7407f8&&this[_0x4c273b(0xac)][_0x4c273b(0x90)][_0x4c273b(0xb3)](_0x371aa6[_0x4c273b(0x9c)]())),this[_0x4c273b(0x99)][_0x4c273b(0xb5)](_0x4c273b(0x8f))['to'](this[_0x4c273b(0x9a)],_0x4c273b(0x94),_0x5c92d8=>_0x5c92d8&&this[_0x4c273b(0xac)][_0x4c273b(0x90)][_0x4c273b(0xb3)](_0x371aa6[_0x4c273b(0x9c)]())),this[_0x4c273b(0xb0)]=null,_0x3f2260[_0x4c273b(0x95)]&&this[_0x4c273b(0x8d)](),this[_0x4c273b(0x92)](_0x3f2260,_0x4c273b(0xa5),()=>this[_0x4c273b(0xa5)]()),this[_0x4c273b(0x92)](_0x3f2260,_0x4c273b(0xa3),()=>this[_0x4c273b(0xa3)]()),this[_0x4c273b(0x92)](_0x3f2260,_0x4c273b(0x9f),()=>{const _0x589056=_0x4c273b;_0x3f2260[_0x589056(0x95)]?this[_0x589056(0x8d)]():this[_0x589056(0xa4)]();});}[_0x3d1d35(0xa5)](){const _0x5c11f7=_0x3d1d35;this[_0x5c11f7(0xa6)][_0x5c11f7(0xaf)](this[_0x5c11f7(0x90)]['id']);}[_0x3d1d35(0xa3)](){const _0x594a64=_0x3d1d35;this[_0x594a64(0x9a)][_0x594a64(0xaf)](this[_0x594a64(0x90)]['id']);}[_0x3d1d35(0x9b)](){const _0x301fb5=_0x3d1d35;this[_0x301fb5(0x99)][_0x301fb5(0xb6)](_0x301fb5(0x94)),this[_0x301fb5(0x99)][_0x301fb5(0xb6)](_0x301fb5(0xaa)),this[_0x301fb5(0x99)][_0x301fb5(0xb6)](_0x301fb5(0x8f)),this[_0x301fb5(0x93)](),this[_0x301fb5(0x98)][_0x301fb5(0x9b)](),this[_0x301fb5(0xb0)]&&this[_0x301fb5(0xa4)]();}[_0x3d1d35(0x8d)](){const _0x38e1f3=_0x3d1d35,_0x5be39b=_0x4fd98c(this[_0x38e1f3(0xac)][_0x38e1f3(0xab)],_0x38e1f3(0xa9));this[_0x38e1f3(0xb0)]=this[_0x38e1f3(0xac)][_0x38e1f3(0xad)][_0x38e1f3(0x9e)](_0x38e1f3(0xa7))[_0x38e1f3(0xa0)](_0x5be39b);}[_0x3d1d35(0xa4)](){const _0x241b3d=_0x3d1d35;null!==this[_0x241b3d(0xb0)]&&this[_0x241b3d(0xac)][_0x241b3d(0xad)][_0x241b3d(0x9e)](_0x241b3d(0xa7))[_0x241b3d(0xa2)](this[_0x241b3d(0xb0)]),this[_0x241b3d(0xb0)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38b5ae=_0x58ec;(function(_0xdd3bca,_0x370edf){const _0x162a59=_0x58ec,_0x5f2b16=_0xdd3bca();while(!![]){try{const _0x45b542=parseInt(_0x162a59(0x1a6))/0x1+-parseInt(_0x162a59(0x1c0))/0x2+parseInt(_0x162a59(0x1a2))/0x3+parseInt(_0x162a59(0x1b4))/0x4*(parseInt(_0x162a59(0x1bb))/0x5)+parseInt(_0x162a59(0x1a0))/0x6*(parseInt(_0x162a59(0x1ac))/0x7)+parseInt(_0x162a59(0x1bd))/0x8+-parseInt(_0x162a59(0x19b))/0x9*(parseInt(_0x162a59(0x1b7))/0xa);if(_0x45b542===_0x370edf)break;else _0x5f2b16['push'](_0x5f2b16['shift']());}catch(_0x66bc7e){_0x5f2b16['push'](_0x5f2b16['shift']());}}}(_0x5448,0x4344c));import{View as _0x47d0d0}from'ckeditor5/src/ui.js';function _0x5448(){const _0x6cd8da=['destroy','value','6098590RunyPo','editor','_localUser','commentInputView','11260joPhip','canAccept','2220528bntHiS','descriptionParts','canDiscard','33124tKygYJ','authoredAt','isReadOnly','commentsListView','focus','hasDirtyComment','set','element','commentThreadInputView','updateComment','_createCommentViews','CommentView','isDirty','fire','18xFklLg','disableComments','disabledSubmit','_createCommentThreadInputView','length','30ubAbte','showInput','712776TKgVit','commentThread','removeComment','isActive','538986iNYwHD','_model','editorConfig','setData','assign','delegate','29092WolkDr','_config','submit','cancel','addComment','bind','locale','isEnabled','776kBEpUq'];_0x5448=function(){return _0x6cd8da;};return _0x5448();}function _0x58ec(_0x2687c0,_0xf6342f){const _0x544885=_0x5448();return _0x58ec=function(_0x58ecd9,_0x5f05ad){_0x58ecd9=_0x58ecd9-0x198;let _0x19f9dc=_0x544885[_0x58ecd9];return _0x19f9dc;},_0x58ec(_0x2687c0,_0xf6342f);}export default class es extends _0x47d0d0{constructor(_0x2b7106,_0x28f817,_0x1deb1b,_0x26db86){const _0x2c789a=_0x58ec;super(_0x2b7106),this[_0x2c789a(0x1c3)]=null,this[_0x2c789a(0x1c8)]=null,this[_0x2c789a(0x1c6)](_0x2c789a(0x1a5),!0x1),this[_0x2c789a(0x1c6)](_0x2c789a(0x1c1),_0x28f817[_0x2c789a(0x1c1)]),this[_0x2c789a(0x1b1)](_0x2c789a(0x1c1))['to'](_0x28f817),this[_0x2c789a(0x1c6)](_0x2c789a(0x1be),[]),this[_0x2c789a(0x1c6)](_0x2c789a(0x199),!0x1),this[_0x2c789a(0x1c6)](_0x2c789a(0x1b3),!0x1),this[_0x2c789a(0x1c6)](_0x2c789a(0x1bc),!0x1),this[_0x2c789a(0x1c6)](_0x2c789a(0x1bf),!0x1),this[_0x2c789a(0x1a7)]=_0x28f817,this[_0x2c789a(0x1b9)]=_0x1deb1b,this[_0x2c789a(0x1ad)]=_0x26db86,_0x26db86[_0x2c789a(0x19c)]?this[_0x2c789a(0x1c6)](_0x2c789a(0x19f),0x1):this[_0x2c789a(0x1ca)]();}[_0x38b5ae(0x1c4)](){const _0x4b3d7c=_0x38b5ae;this[_0x4b3d7c(0x1c7)][_0x4b3d7c(0x1c4)]();}[_0x38b5ae(0x1b5)](){const _0x45e88a=_0x38b5ae;this[_0x45e88a(0x1c3)]&&this[_0x45e88a(0x1c3)][_0x45e88a(0x1b5)](),this[_0x45e88a(0x1c8)]&&this[_0x45e88a(0x1c8)][_0x45e88a(0x1b5)](),super[_0x45e88a(0x1b5)]();}[_0x38b5ae(0x1ca)](){const _0x102f72=_0x38b5ae,{CommentsListView:_0x57e274}=this[_0x102f72(0x1ad)];this[_0x102f72(0x1c3)]=new _0x57e274(this[_0x102f72(0x1b2)],this[_0x102f72(0x1a7)][_0x102f72(0x1a3)],Object[_0x102f72(0x1aa)]({'CommentView':this[_0x102f72(0x1ad)][_0x102f72(0x198)]},this[_0x102f72(0x1ad)])),this[_0x102f72(0x1c3)][_0x102f72(0x1ab)](_0x102f72(0x1a4))['to'](this),this[_0x102f72(0x1c3)][_0x102f72(0x1ab)](_0x102f72(0x1c9))['to'](this),this[_0x102f72(0x1c3)][_0x102f72(0x1b1)](_0x102f72(0x1a5))['to'](this),this[_0x102f72(0x1c6)](_0x102f72(0x19f),this[_0x102f72(0x1c3)][_0x102f72(0x19f)]+0x1),this[_0x102f72(0x1b1)](_0x102f72(0x19f))['to'](this[_0x102f72(0x1c3)],_0x102f72(0x19f),_0x492be5=>_0x492be5+0x1),this[_0x102f72(0x1c8)]=this[_0x102f72(0x19e)](),this['on'](_0x102f72(0x1a4),()=>this[_0x102f72(0x1c4)]()),this[_0x102f72(0x1b1)](_0x102f72(0x199))['to'](this[_0x102f72(0x1c3)],_0x102f72(0x1c5),this[_0x102f72(0x1c8)][_0x102f72(0x1ba)],_0x102f72(0x1b6),(_0x591673,_0x16c714)=>_0x591673||!!_0x16c714);}[_0x38b5ae(0x19e)](){const _0x4177b7=_0x38b5ae,{CommentThreadInputView:_0x368bbf}=this[_0x4177b7(0x1ad)],_0x24d06a=new _0x368bbf(this[_0x4177b7(0x1b2)],this[_0x4177b7(0x1b9)],this[_0x4177b7(0x1ad)][_0x4177b7(0x1a8)]),_0x46f537=_0x24d06a[_0x4177b7(0x1ba)];return _0x24d06a[_0x4177b7(0x1b1)](_0x4177b7(0x1a1))['to'](this,_0x4177b7(0x1a5),this[_0x4177b7(0x1a7)][_0x4177b7(0x1a3)],_0x4177b7(0x1c2),_0x46f537,_0x4177b7(0x1b6),(_0x5c7e74,_0x3a5eae,_0x4a23eb)=>!!_0x4a23eb||_0x5c7e74&&!_0x3a5eae),_0x46f537['on'](_0x4177b7(0x1ae),(_0x5ef0b2,_0x3e51e9)=>{const _0x1b026a=_0x4177b7;this[_0x1b026a(0x19a)](_0x1b026a(0x1b0),_0x3e51e9),_0x46f537[_0x1b026a(0x1b8)][_0x1b026a(0x1a9)]('');}),_0x46f537['on'](_0x4177b7(0x1af),()=>this[_0x4177b7(0x1c4)]()),_0x46f537[_0x4177b7(0x1b1)](_0x4177b7(0x19d))['to'](this[_0x4177b7(0x1a7)][_0x4177b7(0x1a3)],_0x4177b7(0x1c2)),_0x24d06a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c0ead=_0x1b62;(function(_0x5023aa,_0x1c8e15){const _0x27835e=_0x1b62,_0x334556=_0x5023aa();while(!![]){try{const _0x51aa03=parseInt(_0x27835e(0x77))/0x1+parseInt(_0x27835e(0xe3))/0x2*(-parseInt(_0x27835e(0xb4))/0x3)+-parseInt(_0x27835e(0xd7))/0x4*(-parseInt(_0x27835e(0x78))/0x5)+-parseInt(_0x27835e(0xcd))/0x6*(-parseInt(_0x27835e(0xc5))/0x7)+-parseInt(_0x27835e(0x8b))/0x8+parseInt(_0x27835e(0xb6))/0x9*(parseInt(_0x27835e(0xcf))/0xa)+parseInt(_0x27835e(0xd9))/0xb*(-parseInt(_0x27835e(0x7d))/0xc);if(_0x51aa03===_0x1c8e15)break;else _0x334556['push'](_0x334556['shift']());}catch(_0xe2f13d){_0x334556['push'](_0x334556['shift']());}}}(_0x165a,0xc8eec));import{getTranslation as _0x1c682c}from'../../utils/common-translations.js';import{default as _0x51532a}from'./basesuggestionthreadview.js';import{ButtonView as _0x440f1d}from'ckeditor5/src/ui.js';function _0x1b62(_0x543df9,_0x149b10){const _0x165ae4=_0x165a();return _0x1b62=function(_0x1b626a,_0x199b4c){_0x1b626a=_0x1b626a-0x75;let _0x36b333=_0x165ae4[_0x1b626a];return _0x36b333;},_0x1b62(_0x543df9,_0x149b10);}import{icons as _0x3143ec}from'ckeditor5/src/core.js';function _0x165a(){const _0x58772b=['creator','delegate','ck-annotation__actions','ck-suggestion--disabled-comments','setTemplate','226852vrUAJS','div','3603875qsvbqW','<p>','source','ck-suggestion-','element','ck-annotation','content','EXTERNAL_AVATAR','ck-annotation__content-wrapper','author','9734ObbEgo','span','ck-annotation__info-time','isEnabled','commentThreadInputView','90699dqoyha','90eMjGkT','EXTERNAL_IMPORT_WORD_SUGGESTION','render','canAccept','userView','24OpEYNB','getExternalSuggestionNote','map','discardButton','commentsListView','fire','bindTemplate','editorReady','ck-suggestion','authoredAt','formatDateTime','acceptButton','ck-annotation__main','.ck-annotation__content-wrapper','12228672MddYMX','_model','ck-suggestion-wrapper--active','getTemplate','ck-suggestion__main','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','locale','canDiscard','cancel','check','Accept\x20suggestion','push','isActive','color','createElement','importWord','ck-suggestion-wrapper','disableComments','change:description','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__user','editorDestroyed','_createButton','description','children','<span\x20class=\x22ck-suggestion-type\x22>','getUserViewNotificationText','ck-annotation__info-name','ck-suggestion__user','title','ck-comment__info-time','set','time','ck-suggestion__info','ck-suggestion--accept','name','EXTERNAL_SUGGESTION','discardSuggestion','acceptSuggestion','_config','commentThread','255hEOFkQ','querySelector','225APMmtY','type','join','ck-suggestion__actions','ck-suggestion__info-name','descriptionParts','ck-comment__external','value','</span>','_descriptionElement','Discard\x20suggestion','\x22></span>','isExternal','execute','@external','77vKpcSw','innerText','attributes','extendTemplate','split','</p>','innerHTML','\x22\x20title=\x22','434886DdkZbj','ck-annotation__info','604690WTrFTJ','bind','ck-suggestion--discard'];_0x165a=function(){return _0x58772b;};return _0x165a();}import{trimHtml as _0xb6c670,UserView as _0x2e2879}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x51532a{constructor(_0x564629,_0x577152,_0x254423,_0x498fd0){const _0x130685=_0x1b62;super(_0x564629,_0x577152,_0x254423,_0x498fd0),this[_0x130685(0xaa)](_0x130685(0xb7),''),this[_0x130685(0xd0)](_0x130685(0xb7))['to'](this,_0x130685(0xbb),_0x189896=>_0x189896&&_0x189896[0x0]?_0x189896[0x0][_0x130685(0xb7)]:''),this[_0x130685(0xd0)](_0x130685(0xa2))['to'](this,_0x130685(0xbb),this,_0x130685(0x97),(_0x18dc4e,_0x1524ac)=>{const _0x181ea0=_0x130685;let _0x562231='';for(const _0x22ef57 of _0x18dc4e)_0x562231+=_0x181ea0(0xda)+ds(_0x22ef57[_0x181ea0(0xdf)],_0x22ef57[_0x181ea0(0x98)])+_0x181ea0(0xca);return _0x1524ac?_0x562231:_0xb6c670(_0x562231,{'limit':0x8c});}),this[_0x130685(0xbf)]=null,this[_0x130685(0x88)]=this[_0x130685(0xa1)](_0x1c682c(_0x564629,_0x130685(0x95)),_0x3143ec[_0x130685(0x94)],_0x130685(0xad),_0x130685(0xb1),'sw'),this[_0x130685(0x88)][_0x130685(0xd0)](_0x130685(0x75))['to'](this,_0x130685(0x7b)),this[_0x130685(0x80)]=this[_0x130685(0xa1)](_0x1c682c(_0x564629,_0x130685(0xc0)),_0x3143ec[_0x130685(0x93)],_0x130685(0xd1),_0x130685(0xb0),'sw'),this[_0x130685(0x80)][_0x130685(0xd0)](_0x130685(0x75))['to'](this,_0x130685(0x92)),this[_0x130685(0x7c)]=new _0x2e2879(_0x564629,this[_0x130685(0x8c)][_0x130685(0xe2)],this[_0x130685(0xa5)]()),this[_0x130685(0x7c)][_0x130685(0xc8)]({'attributes':{'class':[_0x130685(0xa7),_0x130685(0x9f)]}}),this[_0x130685(0xd6)](this[_0x130685(0x8e)]());}[_0x4c0ead(0x8e)](){const _0x19f0c1=_0x4c0ead,_0x2e6084=this[_0x19f0c1(0x83)],_0x773768=[{'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0xac),_0x19f0c1(0xce)]},'children':[{'tag':_0x19f0c1(0xe4),'children':[{'text':this[_0x19f0c1(0x7c)][_0x19f0c1(0xae)]}],'attributes':{'class':[_0x19f0c1(0xba),_0x19f0c1(0xa6)]}},{'tag':_0x19f0c1(0xab),'attributes':{'datetime':_0x2e6084['to'](_0x19f0c1(0x86)),'class':[_0x19f0c1(0xa9),_0x19f0c1(0xe5)]},'children':[{'text':_0x2e6084['to'](_0x19f0c1(0x86),_0x3ff3bc=>this[_0x19f0c1(0xb2)][_0x19f0c1(0x87)](_0x3ff3bc))}]}]},{'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0xb9),_0x19f0c1(0xd4)]},'children':[this[_0x19f0c1(0x88)],this[_0x19f0c1(0x80)]]},{'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0xe1)]}}];this[_0x19f0c1(0x8c)][_0x19f0c1(0xc2)]&&_0x773768[_0x19f0c1(0x96)]({'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0xbc)]},'children':[{'text':this[_0x19f0c1(0x7e)]()}]});const _0x41da86={'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0x9b),_0x2e6084['if'](_0x19f0c1(0x97),_0x19f0c1(0x8d)),_0x2e6084['to'](_0x19f0c1(0xb7),_0x1e458a=>_0x19f0c1(0xdc)+_0x1e458a),this[_0x19f0c1(0xb2)][_0x19f0c1(0x9c)]&&_0x19f0c1(0xd5)],'data-suggestion-id':this[_0x19f0c1(0x8c)]['id'],'data-thread-id':this[_0x19f0c1(0x8c)][_0x19f0c1(0xb3)]['id'],'data-author-id':this[_0x19f0c1(0x8c)][_0x19f0c1(0xe2)]['id'],'tabindex':-0x1},'children':[{'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0x85),_0x19f0c1(0xde)]},'children':[this[_0x19f0c1(0x7c)],{'tag':_0x19f0c1(0xd8),'attributes':{'class':[_0x19f0c1(0x8f),_0x19f0c1(0x89)]},'children':_0x773768}]}]};return this[_0x19f0c1(0x81)]&&this[_0x19f0c1(0x76)]&&(_0x41da86[_0x19f0c1(0xa3)][_0x19f0c1(0x96)](this[_0x19f0c1(0x81)],this[_0x19f0c1(0x76)]),this[_0x19f0c1(0x81)][_0x19f0c1(0xd3)](_0x19f0c1(0x84))['to'](this),this[_0x19f0c1(0x81)][_0x19f0c1(0xd3)](_0x19f0c1(0xa0))['to'](this),this[_0x19f0c1(0x76)][_0x19f0c1(0xd3)](_0x19f0c1(0x84))['to'](this),this[_0x19f0c1(0x76)][_0x19f0c1(0xd3)](_0x19f0c1(0xa0))['to'](this)),_0x41da86;}[_0x4c0ead(0x7a)](){const _0x59ff5f=_0x4c0ead;super[_0x59ff5f(0x7a)](),this[_0x59ff5f(0xbf)]=this[_0x59ff5f(0xdd)][_0x59ff5f(0xb5)](_0x59ff5f(0x8a)),this[_0x59ff5f(0xbf)][_0x59ff5f(0xcb)]=this[_0x59ff5f(0xa2)],this['on'](_0x59ff5f(0x9d),(_0x155bd7,_0x13349f,_0x5145b7)=>{const _0x1cd33b=_0x59ff5f;this[_0x1cd33b(0xbf)][_0x1cd33b(0xcb)]=_0x5145b7;});}[_0x4c0ead(0xa1)](_0xfe2f4a,_0x364b7a,_0x447731,_0x5f412a,_0x19d368){const _0x27b193=_0x4c0ead,_0x1a120a=new _0x440f1d(this[_0x27b193(0x91)]);return _0x1a120a[_0x27b193(0xaa)]({'label':_0xfe2f4a,'icon':_0x364b7a,'tooltip':!0x0,'tooltipPosition':_0x19d368}),_0x1a120a[_0x27b193(0xc8)]({'attributes':{'class':_0x447731}}),_0x1a120a['on'](_0x27b193(0xc3),()=>{const _0x656f4f=_0x27b193;this[_0x656f4f(0x82)](_0x5f412a,this[_0x656f4f(0x8c)]['id']);}),_0x1a120a;}[_0x4c0ead(0x7e)](){const _0x15fd31=_0x4c0ead;return _0x15fd31(0x9a)===this[_0x15fd31(0x8c)][_0x15fd31(0xc7)][_0x15fd31(0xc4)][_0x15fd31(0xdb)]?_0x1c682c(this[_0x15fd31(0x91)],_0x15fd31(0x79)):_0x1c682c(this[_0x15fd31(0x91)],_0x15fd31(0xaf));}[_0x4c0ead(0xa5)](){const _0x14f727=_0x4c0ead;return this[_0x14f727(0x8c)][_0x14f727(0xc2)]?_0x14f727(0x9a)===this[_0x14f727(0x8c)][_0x14f727(0xc7)][_0x14f727(0xc4)][_0x14f727(0xdb)]?_0x1c682c(this[_0x14f727(0x91)],_0x14f727(0x9e),this[_0x14f727(0x8c)][_0x14f727(0xd2)][_0x14f727(0xae)]):_0x1c682c(this[_0x14f727(0x91)],_0x14f727(0xe0),this[_0x14f727(0x8c)][_0x14f727(0xd2)][_0x14f727(0xae)]):null;}}function ds(_0x919fb2,_0x446275){const _0x122451=_0x4c0ead;let _0x3738ea='';return _0x3738ea+=_0x919fb2[_0x122451(0xc9)]('*')[_0x122451(0x7f)]((_0xdbf7fc,_0x501a4f)=>_0x501a4f%0x2!=0x0?_0x122451(0xa4)+us(_0xdbf7fc)+_0x122451(0xbe):us(_0xdbf7fc))[_0x122451(0xb8)](''),_0x446275&&(_0x3738ea+=_0x122451(0x90)+_0x446275[_0x122451(0xbd)]+_0x122451(0xcc)+_0x446275[_0x122451(0xa8)]+_0x122451(0xc1)),_0x3738ea;}function us(_0x2767f8){const _0x33f0e7=_0x4c0ead,_0x7ed448=document[_0x33f0e7(0x99)](_0x33f0e7(0xe4));return _0x7ed448[_0x33f0e7(0xc6)]=_0x2767f8,_0x7ed448[_0x33f0e7(0xcb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x347b08,_0x44b9b4,_0xd73f55){const t=_0x347b08['t'];switch(_0x44b9b4){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',_0xd73f55);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xd73f55);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xd73f55);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xd73f55);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xd73f55);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',_0xd73f55);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xd73f55);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',_0xd73f55);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xd73f55);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xd73f55);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xd73f55);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xd73f55);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xd73f55);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xd73f55);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xd73f55);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xd73f55);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xd73f55);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xd73f55);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xd73f55);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xd73f55);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xd73f55);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xd73f55);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xd73f55);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'},_0xd73f55);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xd73f55);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xd73f55);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xd73f55);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xd73f55);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xd73f55);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'},_0xd73f55);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xd73f55);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xd73f55);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xd73f55);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xd73f55);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'},_0xd73f55);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xd73f55);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'},_0xd73f55);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'},_0xd73f55);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xd73f55);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'},_0xd73f55);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xd73f55);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'},_0xd73f55);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xd73f55);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xd73f55);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'},_0xd73f55);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'},_0xd73f55);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 _0x44b9b4;}}
|
|
23
|
+
export function getTranslation(_0x4bc6b9,_0x4ec0a8,_0x4444a2){const t=_0x4bc6b9['t'];switch(_0x4ec0a8){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',_0x4444a2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4444a2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4444a2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4444a2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4444a2);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',_0x4444a2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4444a2);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',_0x4444a2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4444a2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4444a2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4444a2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4444a2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4444a2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4444a2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4444a2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4444a2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4444a2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4444a2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4444a2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4444a2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4444a2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4444a2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4444a2);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'},_0x4444a2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4444a2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4444a2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4444a2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4444a2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4444a2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4444a2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4444a2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4444a2);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'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4444a2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4444a2);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'},_0x4444a2);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'},_0x4444a2);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 _0x4ec0a8;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2e43(){const _0x1c5a59=['isObject','splice','length','322mkXajt','sort','deletion','isArray','171sqrIUB','from','isCollapsed','map','value','schema','isMultiRange','632924fOdPsg','isIntersecting','\x20[color\x20','execute','createPositionAfter','119135KNHoSc','start','content','6616204rsURvk','color','6oOLKCN','add','getRanges','push','replace','isTouching','next','6412wkChMR','9749616PHKwZh','type','isInContent','createPositionBefore','createPositionAt','createRange','join','end','change','767330ADmfUU','3683724IRoops'];_0x2e43=function(){return _0x1c5a59;};return _0x2e43();}(function(_0x17e8d3,_0x2e8e01){const _0x42e27c=_0x2028,_0x546bee=_0x17e8d3();while(!![]){try{const _0x55d8b6=-parseInt(_0x42e27c(0x1d3))/0x1*(-parseInt(_0x42e27c(0x1c4))/0x2)+-parseInt(_0x42e27c(0x1bd))/0x3*(parseInt(_0x42e27c(0x1de))/0x4)+parseInt(_0x42e27c(0x1e3))/0x5+-parseInt(_0x42e27c(0x1cf))/0x6+parseInt(_0x42e27c(0x1e6))/0x7+parseInt(_0x42e27c(0x1c5))/0x8+-parseInt(_0x42e27c(0x1d7))/0x9*(parseInt(_0x42e27c(0x1ce))/0xa);if(_0x55d8b6===_0x2e8e01)break;else _0x546bee['push'](_0x546bee['shift']());}catch(_0x4184de){_0x546bee['push'](_0x546bee['shift']());}}}(_0x2e43,0xcb0ca));export function normalizeDescription(_0xd39970){const _0x4ca3c0=_0x2028;return Array[_0x4ca3c0(0x1d6)](_0xd39970)||(_0xd39970=[_0xd39970]),_0xd39970[_0x4ca3c0(0x1da)](_0x6d0077=>{const _0x524fdf=_0x4ca3c0,_0x2c763b=_0x6d0077[_0x524fdf(0x1e5)][_0x524fdf(0x1c1)](/\*/g,''),_0x10628c=_0x6d0077[_0x524fdf(0x1e7)]?_0x524fdf(0x1e0)+_0x6d0077[_0x524fdf(0x1e7)][_0x524fdf(0x1db)]+']':'';return'['+_0x6d0077[_0x524fdf(0x1c6)]+']\x20'+_0x2c763b+_0x10628c;})[_0x4ca3c0(0x1cb)](';\x20');}export function sortSuggestions(_0x23e563){const _0x4d5ef1=_0x2028;return _0x23e563[_0x4d5ef1(0x1d4)]((_0x30d290,_0x5ad5c3)=>_0x4d5ef1(0x1d5)==_0x30d290[_0x4d5ef1(0x1c6)]&&_0x4d5ef1(0x1d5)!=_0x5ad5c3[_0x4d5ef1(0x1c6)]?-0x1:_0x4d5ef1(0x1d5)!=_0x30d290[_0x4d5ef1(0x1c6)]&&_0x4d5ef1(0x1d5)==_0x5ad5c3[_0x4d5ef1(0x1c6)]?0x1:0x0);}export function getSelectedSuggestions(_0x548ef9,_0x59f96b){const _0x197d61=_0x2028,_0x380ce2=Array[_0x197d61(0x1d8)](_0x548ef9[_0x197d61(0x1bf)]()),_0x2aef90=new Set();for(const _0x2df1d2 of _0x59f96b)if(_0x2df1d2[_0x197d61(0x1c7)]){for(const _0x47db48 of _0x380ce2)for(const _0x1789a8 of _0x2df1d2[_0x197d61(0x1bf)]())(_0x47db48[_0x197d61(0x1df)](_0x1789a8)||_0x548ef9[_0x197d61(0x1d9)]&&!_0x2df1d2[_0x197d61(0x1dd)]&&_0x2df1d2[_0x197d61(0x1c3)]&&_0x1789a8[_0x197d61(0x1cc)][_0x197d61(0x1c2)](_0x47db48[_0x197d61(0x1e4)]))&&_0x2aef90[_0x197d61(0x1be)](_0x2df1d2);}return _0x2aef90;}export function getRangesOfBlockGroups(_0x167fa6,_0x47c373){const _0x125900=_0x2028;let _0x3480ea,_0x571330=0x0;const _0x5da0be=[],_0x290896=_0x47c373[_0x125900(0x1dc)];for(;_0x571330<_0x167fa6[_0x125900(0x1d2)];){const _0x22d224=_0x167fa6[_0x571330],_0x5d57cb=_0x167fa6[_0x571330+0x1];_0x3480ea||(_0x3480ea=_0x47c373[_0x125900(0x1c8)](_0x22d224)),co(_0x47c373,_0x22d224,_0x5d57cb)||(_0x5da0be[_0x125900(0x1c0)](_0x47c373[_0x125900(0x1ca)](_0x3480ea,_0x290896[_0x125900(0x1d0)](_0x22d224)?_0x47c373[_0x125900(0x1e2)](_0x22d224):_0x47c373[_0x125900(0x1c9)](_0x22d224,_0x125900(0x1cc)))),_0x3480ea=null),_0x571330++;}return _0x5da0be;}function co(_0x1da1c5,_0x3e29d2,_0x4283c8){const _0x8a8982=_0x2028;if(!_0x4283c8)return!0x1;const _0x36cbdf=_0x1da1c5[_0x8a8982(0x1e2)](_0x3e29d2),_0x2ea564=_0x1da1c5[_0x8a8982(0x1c8)](_0x4283c8);return _0x36cbdf[_0x8a8982(0x1c2)](_0x2ea564);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x2028(_0x1950fc,_0x227ee7){const _0x2e430e=_0x2e43();return _0x2028=function(_0x2028cb,_0x2c19bb){_0x2028cb=_0x2028cb-0x1bd;let _0x55d85b=_0x2e430e[_0x2028cb];return _0x55d85b;},_0x2028(_0x1950fc,_0x227ee7);}export function executeCommandForSuggestions(_0x52d13b,_0x354882,_0x22a5d4){const _0x375ed1=_0x2028;for(;_0x22a5d4[_0x375ed1(0x1d2)];){const _0x3b6eba=_0x22a5d4[_0x375ed1(0x1d1)](0x0,0x64);_0x52d13b[_0x375ed1(0x1cd)](()=>{const _0x4486cc=_0x375ed1;for(const _0x351e7b of _0x3b6eba)_0x351e7b[_0x4486cc(0x1c7)]&&_0x354882[_0x4486cc(0x1e1)](_0x351e7b['id']);});}}
|