@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240621.0 → 0.0.0-nightly-20240623.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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 _0x442c08=_0x2837;(function(_0xfc08ad,_0x38da63){const _0x225859=_0x2837,_0x49de1a=_0xfc08ad();while(!![]){try{const _0x2a4298=parseInt(_0x225859(0xf2))/0x1*(parseInt(_0x225859(0x114))/0x2)+-parseInt(_0x225859(0xde))/0x3*(-parseInt(_0x225859(0xfe))/0x4)+-parseInt(_0x225859(0xc4))/0x5+-parseInt(_0x225859(0x11e))/0x6*(-parseInt(_0x225859(0xf6))/0x7)+-parseInt(_0x225859(0xbf))/0x8*(-parseInt(_0x225859(0xfb))/0x9)+parseInt(_0x225859(0xc5))/0xa+parseInt(_0x225859(0x142))/0xb*(-parseInt(_0x225859(0x129))/0xc);if(_0x2a4298===_0x38da63)break;else _0x49de1a['push'](_0x49de1a['shift']());}catch(_0x4ec8b8){_0x49de1a['push'](_0x49de1a['shift']());}}}(_0x2abd,0xcaa37));import{Plugin as _0x1f04ba}from'ckeditor5/src/core.js';import{Collection as _0x1506c0}from'ckeditor5/src/utils.js';function _0x2abd(){const _0x273e7f=['SuggestionThreadView','getMarkers','getJoined','addSourceCollector','_addUIComponentsToFactory','model','trackChanges.SuggestionThreadView','editor','change:activeAnnotations','_disableComments','createCommentThreadController','requires','listenTo','getDescriptions','getMarkerNames','arrowView','EditorAnnotations','comments.maxCommentCharsWhenCollapsed','mainView','633083fqydRA','commentThread','_unbindEditors','getByInnerView','comments.maxCommentsWhenCollapsed','activeMarkers','descriptionParts','suggestionChanged','plugins','commandName','bind','push','activeAnnotations','hasSuggestion','comments.maxThreadTotalWeight','actionView','59992JiCLIZ','suggestionLoaded','menuitem','delete','set','2862480UAifzu','10883410oPMyFb','addComment','value','_updateController','TrackChangesEditing','reduce','isEnabled','_initializeController','stopListening','children','discardSelectedSuggestions','separator','change:previous','editing','toMany','_destroyController','_bindAnnotationToEditors','isMultiRange','TrackChangesUI','clear','button','discardAllSuggestions','focus','get','acceptSelectedSuggestions','171FLINcr','CommentsRepository','isInContent','componentFactory','keys','Accept\x20all\x20suggestions','registerAnnotation','createAnnotation','CommentView','panelView','acceptAllSuggestions','_handleSuggestionControllerDelayed','suggestion-','Annotations','remove','_annotationViews','Discard\x20all\x20selected\x20suggestions','from','buttonView','discardButton','1427341JPUkhF','menuBar:trackChanges','filter','unbind','406npYRzj','comments.editorConfig','define','values','destroy','9jPovbi','some','_createToolbarButton','68804JnUHTB','delegate','_refreshActiveMarkers','isDirty','_suggestionToController','getSuggestion','suggestionUnloaded','createAnnotationView','trackChanges.disableComments','lowest','has','length','source','previous','init','Accept\x20all\x20selected\x20suggestions','CommentsUI','locale','menu','menuitemcheckbox','getAllAdjacentSuggestions','_handleControllerBuffer','2MoSkWU','head','comments','Discard\x20all\x20suggestions','acceptButton','_createMenuBarMenu','config','switchbutton','trackChanges','execute','157728egDNsa','size','view','_viewToController','Track\x20changes','getFirstRange','getRanges','commands','add','innerView','refreshSelectedViews','756hLNsSB','items','type','descriptionFactory','isOn','pluginName'];_0x2abd=function(){return _0x273e7f;};return _0x2abd();}import{addListToDropdown as _0x6add4,createDropdown as _0x15a180,ListSeparatorView as _0x4aad2c,MenuBarMenuView as _0xe5a284,MenuBarMenuListView as _0x2ef289,MenuBarMenuListItemView as _0x4cda1a,MenuBarMenuListItemButtonView as _0x2616ee,SplitButtonView as _0x37989a,ViewModel as _0x378429}from'ckeditor5/src/ui.js';import{Users as _0x130764,getDateTimeFormatter as _0x2964d1,getAllMarkersDomElementsSorted as _0x48dd1f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1120d7 from'./trackchangesediting.js';import _0x442836 from'./ui/suggestioncontroller.js';import _0x23b021 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x18252f}from'./utils/common-translations.js';import _0x5676cc from'../theme/icons/track-changes.svg';export default class d extends _0x1f04ba{static get[_0x442c08(0x13a)](){const _0x260932=_0x442c08;return[_0x1120d7,_0x130764,_0x260932(0xdf),_0x260932(0xeb),_0x260932(0x13f)];}static get[_0x442c08(0x12e)](){const _0x66fe70=_0x442c08;return _0x66fe70(0xd7);}constructor(_0x2866be){const _0x4accbe=_0x442c08;super(_0x2866be),this[_0x4accbe(0x102)]=new Map(),this[_0x4accbe(0x121)]=new Map(),this[_0x4accbe(0xed)]=new Map(),this[_0x4accbe(0x113)]=new Map();const _0x4df91f=this[_0x4accbe(0x136)][_0x4accbe(0x11a)];_0x4df91f[_0x4accbe(0xf8)](_0x4accbe(0x135),_0x23b021),_0x4df91f[_0x4accbe(0xf8)](_0x4accbe(0x106),!0x1),this[_0x4accbe(0x138)]=_0x4df91f[_0x4accbe(0xdc)](_0x4accbe(0x106));}[_0x442c08(0xe9)](_0x44b202,_0x37af66){const _0x2b2cd3=_0x442c08;0x0===this[_0x2b2cd3(0x113)][_0x2b2cd3(0x11f)]&&setTimeout(()=>{const _0x41e3d4=_0x2b2cd3;for(const [_0x3a0939,_0x1db8a3]of this[_0x41e3d4(0x113)]){const _0x50b782=this[_0x41e3d4(0x102)][_0x41e3d4(0x108)](_0x3a0939);_0x50b782||_0x1db8a3?_0x50b782&&_0x1db8a3&&this[_0x41e3d4(0xd4)](_0x3a0939):this[_0x41e3d4(0xcc)](_0x3a0939);}this[_0x41e3d4(0x113)][_0x41e3d4(0xd8)](),this[_0x41e3d4(0x136)][_0x41e3d4(0xb7)][_0x41e3d4(0xdc)](_0x41e3d4(0x13f))[_0x41e3d4(0x128)](),this[_0x41e3d4(0x100)]();},0xa),this[_0x2b2cd3(0x113)][_0x2b2cd3(0xc3)](_0x44b202,_0x37af66);}[_0x442c08(0x10c)](){const _0x4621fe=_0x442c08,_0x452b64=this[_0x4621fe(0x136)],_0x175331=_0x452b64[_0x4621fe(0xb7)][_0x4621fe(0xdc)](_0x4621fe(0xc9)),_0x1e669b=_0x452b64[_0x4621fe(0xb7)][_0x4621fe(0xdc)](_0x4621fe(0xeb)),_0x3bd90a=_0x452b64[_0x4621fe(0xb7)][_0x4621fe(0xdc)](_0x4621fe(0x13f)),_0x2c72f6=_0x452b64[_0x4621fe(0xb7)][_0x4621fe(0xdc)](_0x4621fe(0xdf));this[_0x4621fe(0x133)](),_0x3bd90a[_0x4621fe(0x132)](()=>{const _0x2f8823=_0x4621fe,_0x41c417=[];for(const [_0x4e7c0b,_0x35aceb]of Array[_0x2f8823(0xef)](this[_0x2f8823(0x102)])){const _0x584911=_0x4e7c0b[_0x2f8823(0x112)](),_0x4256e6=[];for(const _0x45d2db of _0x584911){if(!_0x45d2db[_0x2f8823(0xe0)])continue;if(_0x45d2db[_0x2f8823(0xd6)]){_0x4256e6[_0x2f8823(0xba)](..._0x45d2db[_0x2f8823(0x124)]());continue;}const _0x412e01=_0x45d2db[_0x2f8823(0x123)]();if(_0x4256e6[_0x2f8823(0x109)]>0x0){const _0x467694=_0x4256e6[0x0][_0x2f8823(0x131)](_0x412e01);if(_0x467694){_0x4256e6[0x0]=_0x467694;continue;}}_0x4256e6[_0x2f8823(0xba)](_0x412e01);}_0x41c417[_0x2f8823(0xba)]([_0x35aceb[_0x2f8823(0x120)],_0x4256e6]);}return _0x41c417;}),this[_0x4621fe(0x13b)](_0x175331,_0x4621fe(0xc0),(_0x5ae8bc,_0x565b29)=>{const _0xa79471=_0x4621fe;this[_0xa79471(0x13b)](_0x565b29,_0xa79471(0xd1),(_0x7189f,_0x271479,_0x59a723,_0x3095d1)=>{const _0x5555b6=_0xa79471;_0x565b29[_0x5555b6(0xe0)]&&(null==_0x59a723?(this[_0x5555b6(0xc8)](_0x3095d1[_0x5555b6(0x115)]),this[_0x5555b6(0xe9)](_0x565b29,!0x1)):(this[_0x5555b6(0xc8)](_0x59a723[_0x5555b6(0x115)]),null==_0x3095d1&&this[_0x5555b6(0xe9)](_0x565b29,!0x0)));}),null!==_0x565b29[_0xa79471(0x10b)]?this[_0xa79471(0xc8)](_0x565b29[_0xa79471(0x115)]):this[_0xa79471(0xe9)](_0x565b29,!0x1);}),this[_0x4621fe(0x13b)](_0x175331,_0x4621fe(0x104),(_0x55ec61,_0x2e21ab,_0x24c2c0)=>{const _0x2bbe39=_0x4621fe;this[_0x2bbe39(0xcd)](_0x2e21ab,_0x2bbe39(0xd1)),this[_0x2bbe39(0x113)][_0x2bbe39(0xc2)](_0x2e21ab),this[_0x2bbe39(0x102)][_0x2bbe39(0x108)](_0x2e21ab)&&this[_0x2bbe39(0xd4)](_0x2e21ab),_0x24c2c0&&this[_0x2bbe39(0xc8)](_0x24c2c0[_0x2bbe39(0x115)]);}),this[_0x4621fe(0x13b)](_0x175331,_0x4621fe(0xb6),(_0x39b6dd,_0x2794cb)=>{const _0x518490=_0x4621fe;this[_0x518490(0xc8)](_0x2794cb);}),this[_0x4621fe(0x13b)](_0x1e669b,_0x4621fe(0x137),()=>{const _0x4e8e4b=_0x4621fe;this[_0x4e8e4b(0x100)]();}),this[_0x4621fe(0x13b)](_0x2c72f6,_0x4621fe(0xc6),(_0x5e5127,{threadId:_0x21956e,isFromAdapter:_0x37beee})=>{const _0x514898=_0x4621fe;if(_0x37beee||!_0x175331[_0x514898(0xbc)](_0x21956e))return;const _0x516a54=_0x175331[_0x514898(0x103)](_0x21956e);this[_0x514898(0x102)][_0x514898(0xdc)](_0x516a54)[_0x514898(0x120)][_0x514898(0xdb)]();},{'priority':_0x4621fe(0x107)});}[_0x442c08(0x100)](){const _0x4b6ec0=_0x442c08,_0x133374=this[_0x4b6ec0(0x136)][_0x4b6ec0(0xb7)][_0x4b6ec0(0xdc)](_0x4b6ec0(0xeb)),_0x18e7b2=this[_0x4b6ec0(0x136)][_0x4b6ec0(0xb7)][_0x4b6ec0(0xdc)](_0x4b6ec0(0xc9)),_0xd12357=Array[_0x4b6ec0(0xef)](_0x133374[_0x4b6ec0(0xbb)],_0x3a4ab2=>_0x3a4ab2[_0x4b6ec0(0x127)])[_0x4b6ec0(0xf4)](_0x3b1470=>this[_0x4b6ec0(0x121)][_0x4b6ec0(0x108)](_0x3b1470)),_0x547c2e=[];for(const _0x460378 of _0xd12357){const _0x5c3e73=this[_0x4b6ec0(0x121)][_0x4b6ec0(0xdc)](_0x460378)[_0x4b6ec0(0x134)][_0x4b6ec0(0x112)]();_0x547c2e[_0x4b6ec0(0xba)](..._0x5c3e73[_0x4b6ec0(0xca)]((_0x5491dc,_0x4c2908)=>[..._0x5491dc,..._0x4c2908[_0x4b6ec0(0x13d)]()],[]));}_0x18e7b2[_0x4b6ec0(0x147)]=_0x547c2e;}[_0x442c08(0x133)](){const _0x27a503=_0x442c08,_0x23fc3f=this[_0x27a503(0x136)],_0x1cf090=_0x23fc3f[_0x27a503(0x10f)],_0x4d185a=_0x18252f(_0x1cf090,_0x27a503(0x122)),_0x10397f=new _0x1506c0([{'type':_0x27a503(0x11b),'model':new _0x378429({'withText':!0x0,'label':_0x4d185a,'commandName':_0x27a503(0x11c),'role':_0x27a503(0x111)})},{'type':_0x27a503(0xd0)},{'type':_0x27a503(0xd9),'model':new _0x378429({'withText':!0x0,'label':_0x18252f(_0x1cf090,_0x27a503(0xe3)),'commandName':_0x27a503(0xe8),'role':_0x27a503(0xc1)})},{'type':_0x27a503(0xd9),'model':new _0x378429({'withText':!0x0,'label':_0x18252f(_0x1cf090,_0x27a503(0x10d)),'commandName':_0x27a503(0xdd),'role':_0x27a503(0xc1)})},{'type':_0x27a503(0xd9),'model':new _0x378429({'withText':!0x0,'label':_0x18252f(_0x1cf090,_0x27a503(0x117)),'commandName':_0x27a503(0xda),'role':_0x27a503(0xc1)})},{'type':_0x27a503(0xd9),'model':new _0x378429({'withText':!0x0,'label':_0x18252f(_0x1cf090,_0x27a503(0xee)),'commandName':_0x27a503(0xcf),'role':_0x27a503(0xc1)})}]);for(const _0x50ccae of _0x10397f)if(ae(_0x50ccae)){const _0x58617b=_0x23fc3f[_0x27a503(0x125)][_0x27a503(0xdc)](_0x50ccae[_0x27a503(0x134)][_0x27a503(0xb8)]);_0x50ccae[_0x27a503(0x134)][_0x27a503(0xb9)](_0x27a503(0x12d),_0x27a503(0xcb))['to'](_0x58617b,_0x27a503(0xc7),_0x27a503(0xcb));}_0x23fc3f['ui'][_0x27a503(0xe1)][_0x27a503(0x126)](_0x27a503(0x11c),_0x36824e=>this[_0x27a503(0xfd)](_0x36824e,_0x10397f,_0x4d185a)),_0x23fc3f['ui'][_0x27a503(0xe1)][_0x27a503(0x126)](_0x27a503(0xf3),_0x340088=>this[_0x27a503(0x119)](_0x340088,_0x10397f,_0x4d185a));}[_0x442c08(0xfd)](_0x205e81,_0x4269e7,_0x180679){const _0x4370c8=_0x442c08,_0x1d6327=_0x15a180(_0x205e81,_0x37989a),_0x238bab=this[_0x4370c8(0x136)][_0x4370c8(0x125)][_0x4370c8(0xdc)](_0x4370c8(0x11c));_0x1d6327[_0x4370c8(0xf0)][_0x4370c8(0xc3)]({'tooltip':_0x180679,'label':_0x180679,'icon':_0x5676cc}),_0x1d6327[_0x4370c8(0xf0)][_0x4370c8(0xb9)](_0x4370c8(0x12d))['to'](_0x238bab,_0x4370c8(0xc7)),_0x1d6327[_0x4370c8(0xf0)]['on'](_0x4370c8(0x11d),()=>{const _0x56639c=_0x4370c8;_0x238bab[_0x56639c(0x11d)](),this[_0x56639c(0x136)][_0x56639c(0xd2)][_0x56639c(0x120)][_0x56639c(0xdb)]();}),_0x6add4(_0x1d6327,_0x4269e7,{'role':_0x4370c8(0x110)});const _0x2fd817=[];for(const _0x1f81c4 of _0x4269e7)ae(_0x1f81c4)&&_0x2fd817[_0x4370c8(0xba)](this[_0x4370c8(0x136)][_0x4370c8(0x125)][_0x4370c8(0xdc)](_0x1f81c4[_0x4370c8(0x134)][_0x4370c8(0xb8)]));const _0x20cde4=_0x1d6327[_0x4370c8(0xf0)];return _0x20cde4[_0x4370c8(0xbe)][_0x4370c8(0xf5)](_0x4370c8(0xcb)),_0x20cde4[_0x4370c8(0x13e)][_0x4370c8(0xf5)](_0x4370c8(0xcb)),_0x20cde4[_0x4370c8(0xbe)][_0x4370c8(0xb9)](_0x4370c8(0xcb))['to'](_0x238bab,_0x4370c8(0xcb)),_0x20cde4[_0x4370c8(0x13e)][_0x4370c8(0xb9)](_0x4370c8(0xcb))[_0x4370c8(0xd3)](_0x2fd817,_0x4370c8(0xcb),(..._0xbe8cd)=>_0xbe8cd[_0x4370c8(0xfc)](_0x2789f8=>_0x2789f8)),_0x1d6327['on'](_0x4370c8(0x11d),_0x2622c9=>{const _0xfc3908=_0x4370c8;this[_0xfc3908(0x136)][_0xfc3908(0x11d)](_0x2622c9[_0xfc3908(0x10a)][_0xfc3908(0xb8)]),this[_0xfc3908(0x136)][_0xfc3908(0xd2)][_0xfc3908(0x120)][_0xfc3908(0xdb)]();}),_0x1d6327;}[_0x442c08(0x119)](_0x35da00,_0x558c6e,_0x2393e2){const _0x8e012d=_0x442c08,_0x4d35c1=new _0xe5a284(_0x35da00),_0x5ae661=this[_0x8e012d(0x136)][_0x8e012d(0x125)][_0x8e012d(0xdc)](_0x8e012d(0x11c));_0x4d35c1[_0x8e012d(0xf0)][_0x8e012d(0xc3)]({'label':_0x2393e2,'icon':_0x5676cc});const _0x3d2ed1=new _0x2ef289(_0x35da00);for(const _0x3f249d of _0x558c6e){if(_0x8e012d(0xd0)==_0x3f249d[_0x8e012d(0x12b)]){_0x3d2ed1[_0x8e012d(0x12a)][_0x8e012d(0x126)](new _0x4aad2c(_0x35da00));continue;}const _0x514687=new _0x4cda1a(_0x35da00,_0x4d35c1),_0x534f5b=new _0x2616ee(_0x35da00),_0xe76ee7=_0x3f249d[_0x8e012d(0x134)];_0x534f5b[_0x8e012d(0xb9)](...Object[_0x8e012d(0xe2)](_0xe76ee7))['to'](_0xe76ee7),_0x534f5b[_0x8e012d(0xff)](_0x8e012d(0x11d))['to'](_0x4d35c1),_0x534f5b['on'](_0x8e012d(0x11d),()=>{const _0x23d01b=_0x8e012d;this[_0x23d01b(0x136)][_0x23d01b(0x11d)](_0xe76ee7[_0x23d01b(0xb8)]),this[_0x23d01b(0x136)][_0x23d01b(0xd2)][_0x23d01b(0x120)][_0x23d01b(0xdb)]();}),_0x514687[_0x8e012d(0xce)][_0x8e012d(0x126)](_0x534f5b),_0x3d2ed1[_0x8e012d(0x12a)][_0x8e012d(0x126)](_0x514687);}return _0x4d35c1[_0x8e012d(0xb9)](_0x8e012d(0xcb))['to'](_0x5ae661,_0x8e012d(0xcb)),_0x4d35c1[_0x8e012d(0xe7)][_0x8e012d(0xce)][_0x8e012d(0x126)](_0x3d2ed1),_0x4d35c1;}[_0x442c08(0xcc)](_0x1ffc78){const _0x29ec27=_0x442c08,_0x4a8c42=this[_0x29ec27(0x136)],_0x101276=_0x4a8c42[_0x29ec27(0x11a)],_0x294bf5=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x29ec27(0xeb)),_0x1b5ff1=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x29ec27(0xdf)),_0x362f38=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x29ec27(0x13f)),_0x8f7a7a=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x130764)['me'],_0x433fe3=_0x101276[_0x29ec27(0xdc)](_0x29ec27(0x11c))[_0x29ec27(0x12f)],{CommentsListView:_0x3948b4,CommentThreadInputView:_0x5532c4}=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x29ec27(0x10e));let _0x339ef0,_0x2a5d1a;this[_0x29ec27(0xed)][_0x29ec27(0x108)](_0x1ffc78['id'])?(_0x2a5d1a=this[_0x29ec27(0xed)][_0x29ec27(0xdc)](_0x1ffc78['id']),_0x339ef0=_0x2a5d1a[_0x29ec27(0x141)]):(_0x339ef0=new _0x433fe3(_0x4a8c42[_0x29ec27(0x10f)],_0x1ffc78,_0x8f7a7a,{'disableComments':this[_0x29ec27(0x138)],'editorConfig':_0x101276[_0x29ec27(0xdc)](_0x29ec27(0xf7)),'maxCommentsWhenCollapsed':_0x101276[_0x29ec27(0xdc)](_0x29ec27(0x146)),'maxThreadTotalWeight':_0x101276[_0x29ec27(0xdc)](_0x29ec27(0xbd)),'maxCommentCharsWhenCollapsed':_0x101276[_0x29ec27(0xdc)](_0x29ec27(0x140)),'formatDateTime':_0x2964d1(_0x101276[_0x29ec27(0xdc)](_0x29ec27(0x10f))),'CommentView':_0x101276[_0x29ec27(0xdc)](_0x29ec27(0x116))[_0x29ec27(0xe6)],'CommentsListView':_0x3948b4,'CommentThreadInputView':_0x5532c4}),_0x339ef0[_0x29ec27(0x118)]['on'](_0x29ec27(0x11d),()=>{const _0x4e253d=_0x29ec27;_0x4a8c42[_0x4e253d(0xd2)][_0x4e253d(0x120)][_0x4e253d(0xdb)]();}),_0x339ef0[_0x29ec27(0xf1)]['on'](_0x29ec27(0x11d),()=>{const _0x265480=_0x29ec27;_0x4a8c42[_0x265480(0xd2)][_0x265480(0x120)][_0x265480(0xdb)]();}),_0x2a5d1a=_0x294bf5[_0x29ec27(0x105)](this[_0x29ec27(0x136)][_0x29ec27(0x10f)],_0x339ef0),_0x2a5d1a[_0x29ec27(0xb9)](_0x29ec27(0x101))['to'](_0x339ef0,_0x29ec27(0x101)),_0x2a5d1a[_0x29ec27(0xb9)](_0x29ec27(0x109))['to'](_0x339ef0),_0x2a5d1a[_0x29ec27(0xb9)](_0x29ec27(0x12b))['to'](_0x339ef0,_0x29ec27(0x12b),_0x462553=>_0x29ec27(0xea)+_0x462553),this[_0x29ec27(0xed)][_0x29ec27(0xc3)](_0x1ffc78['id'],_0x2a5d1a));const _0x6eccaa=_0x1b5ff1[_0x29ec27(0x139)](_0x1ffc78[_0x29ec27(0x143)],_0x339ef0),_0x53f4b1=new _0x442836(_0x4a8c42,_0x1ffc78,_0x339ef0,_0x6eccaa),_0x345822=_0x1ffc78[_0x29ec27(0x112)]()[_0x29ec27(0xf4)](_0x45c58b=>_0x45c58b[_0x29ec27(0xe0)]);_0x339ef0[_0x29ec27(0x148)]=_0x4a8c42[_0x29ec27(0xb7)][_0x29ec27(0xdc)](_0x29ec27(0xc9))[_0x29ec27(0x12c)][_0x29ec27(0x13c)](_0x345822),this[_0x29ec27(0x102)][_0x29ec27(0xc3)](_0x1ffc78,_0x53f4b1),this[_0x29ec27(0x121)][_0x29ec27(0xc3)](_0x339ef0,_0x53f4b1);const _0x40d4ff=_0x294bf5[_0x29ec27(0xe5)]({'view':_0x2a5d1a,'target':()=>{const _0x254ed7=_0x29ec27,_0x331353=[],_0x3f6663=_0x1ffc78[_0x254ed7(0x112)]()[_0x254ed7(0xf4)](_0x86851=>_0x86851[_0x254ed7(0xe0)]);for(const _0x24390b of _0x3f6663)_0x331353[_0x254ed7(0xba)](..._0x24390b[_0x254ed7(0x130)]());return _0x48dd1f(_0x4a8c42[_0x254ed7(0xd2)],_0x331353);},'type':()=>_0x29ec27(0xea)+_0x53f4b1[_0x29ec27(0x120)][_0x29ec27(0x12b)]});_0x1b5ff1[_0x29ec27(0xd5)](_0x339ef0,_0x40d4ff),_0x294bf5[_0x29ec27(0x126)](_0x40d4ff),_0x362f38[_0x29ec27(0xe4)](_0x40d4ff);}[_0x442c08(0xd4)](_0x226a49){const _0x3f8cc9=_0x442c08,_0x2d9c02=this[_0x3f8cc9(0x136)][_0x3f8cc9(0xb7)][_0x3f8cc9(0xdc)](_0x3f8cc9(0xdf)),_0x4ed312=this[_0x3f8cc9(0x136)][_0x3f8cc9(0xb7)][_0x3f8cc9(0xdc)](_0x3f8cc9(0xeb)),_0x3d47c2=this[_0x3f8cc9(0x102)][_0x3f8cc9(0xdc)](_0x226a49),_0x1fbc5f=_0x3d47c2[_0x3f8cc9(0x120)],_0x46c655=_0x4ed312[_0x3f8cc9(0x145)](_0x1fbc5f);_0x2d9c02[_0x3f8cc9(0x144)](_0x1fbc5f),_0x46c655&&_0x4ed312[_0x3f8cc9(0xec)](_0x46c655),this[_0x3f8cc9(0x102)][_0x3f8cc9(0xc2)](_0x226a49),this[_0x3f8cc9(0x121)][_0x3f8cc9(0xc2)](_0x1fbc5f),_0x3d47c2[_0x3f8cc9(0xfa)]();}[_0x442c08(0xc8)](_0x4911b5){const _0x2c71ce=_0x442c08;if(!_0x4911b5[_0x2c71ce(0xe0)]||!this[_0x2c71ce(0x102)][_0x2c71ce(0x108)](_0x4911b5))return;const _0x2a0544=this[_0x2c71ce(0x136)][_0x2c71ce(0xb7)][_0x2c71ce(0xdc)](_0x2c71ce(0xc9)),_0xabf498=this[_0x2c71ce(0x102)][_0x2c71ce(0xdc)](_0x4911b5),_0x2823e5=_0x4911b5[_0x2c71ce(0x112)]();_0xabf498[_0x2c71ce(0x120)][_0x2c71ce(0x148)]=_0x2a0544[_0x2c71ce(0x12c)][_0x2c71ce(0x13c)](_0x2823e5);}[_0x442c08(0xfa)](){const _0xcd4de5=_0x442c08;for(const _0x3473c6 of this[_0xcd4de5(0x102)][_0xcd4de5(0xe2)]())this[_0xcd4de5(0xd4)](_0x3473c6);for(const _0x450063 of this[_0xcd4de5(0xed)][_0xcd4de5(0xf9)]())_0x450063[_0xcd4de5(0x141)][_0xcd4de5(0xfa)]();super[_0xcd4de5(0xfa)]();}}function _0x2837(_0x1db1b2,_0x1c22d3){const _0x2abdab=_0x2abd();return _0x2837=function(_0x2837c6,_0x242623){_0x2837c6=_0x2837c6-0xb6;let _0x4af6f6=_0x2abdab[_0x2837c6];return _0x4af6f6;},_0x2837(_0x1db1b2,_0x1c22d3);}function ae(_0x3b6246){const _0x2ac3ba=_0x442c08;return _0x2ac3ba(0x134)in _0x3b6246;}
|
|
23
|
+
function _0x5077(){const _0xe5121c=['editor','has','panelView','menuitemcheckbox','switchbutton','activeAnnotations','_addUIComponentsToFactory','descriptionParts','unbind','activeMarkers','size','9933448sFgdqJ','menuBar:trackChanges','addSourceCollector','stopListening','innerView','comments.editorConfig','TrackChangesUI','change:activeAnnotations','execute','registerAnnotation','getFirstRange','items','_bindAnnotationToEditors','isMultiRange','createAnnotation','4628748ozxgRP','menuitem','delegate','reduce','_createMenuBarMenu','getMarkers','destroy','getAllAdjacentSuggestions','Discard\x20all\x20suggestions','filter','isEnabled','set','getJoined','head','EditorAnnotations','suggestionUnloaded','from','clear','_destroyController','3125884NTOUHG','_annotationViews','lowest','button','refreshSelectedViews','trackChanges.disableComments','menu','createCommentThreadController','get','change:previous','acceptSelectedSuggestions','acceptButton','Discard\x20all\x20selected\x20suggestions','discardSelectedSuggestions','source','plugins','actionView','_unbindEditors','_viewToController','requires','_disableComments','trackChanges.SuggestionThreadView','suggestion-','value','CommentsUI','locale','values','CommentsRepository','view','discardAllSuggestions','_initializeController','792197SoIgMG','SuggestionThreadView','commandName','previous','add','8JRLZBa','discardButton','editing','push','getByInnerView','_refreshActiveMarkers','suggestionLoaded','commands','createAnnotationView','delete','comments.maxThreadTotalWeight','children','_handleControllerBuffer','init','isInContent','arrowView','descriptionFactory','TrackChangesEditing','listenTo','keys','define','some','Annotations','_createToolbarButton','isDirty','model','type','getRanges','hasSuggestion','componentFactory','6152625iicDwh','3361215WUAQtL','acceptAllSuggestions','isOn','length','toMany','trackChanges','config','_handleSuggestionControllerDelayed','addComment','bind','comments','buttonView','_updateController','pluginName','Accept\x20all\x20selected\x20suggestions','Accept\x20all\x20suggestions','remove','commentThread','suggestionChanged','getSuggestion','comments.maxCommentCharsWhenCollapsed','separator','Track\x20changes','getDescriptions','getMarkerNames','_suggestionToController','2099844cYVeSJ','comments.maxCommentsWhenCollapsed','mainView','focus','CommentView'];_0x5077=function(){return _0xe5121c;};return _0x5077();}const _0x2bf428=_0x11b1;(function(_0x4a98da,_0xb0a1d9){const _0x4df316=_0x11b1,_0x2ab26c=_0x4a98da();while(!![]){try{const _0x24fef2=parseInt(_0x4df316(0x1b9))/0x1+-parseInt(_0x4df316(0x1f7))/0x2+parseInt(_0x4df316(0x1dd))/0x3+-parseInt(_0x4df316(0x19a))/0x4+parseInt(_0x4df316(0x1dc))/0x5+parseInt(_0x4df316(0x216))/0x6+-parseInt(_0x4df316(0x207))/0x7*(parseInt(_0x4df316(0x1be))/0x8);if(_0x24fef2===_0xb0a1d9)break;else _0x2ab26c['push'](_0x2ab26c['shift']());}catch(_0x9e1a56){_0x2ab26c['push'](_0x2ab26c['shift']());}}}(_0x5077,0xa2240));import{Plugin as _0x81837c}from'ckeditor5/src/core.js';import{Collection as _0x315d75}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2b434d,createDropdown as _0x43a96e,ListSeparatorView as _0x546e82,MenuBarMenuView as _0x174d76,MenuBarMenuListView as _0x1738eb,MenuBarMenuListItemView as _0xa4d095,MenuBarMenuListItemButtonView as _0x586d5d,SplitButtonView as _0x3c9771,ViewModel as _0x8c6263}from'ckeditor5/src/ui.js';import{Users as _0x15e026,getDateTimeFormatter as _0x3292d2,getAllMarkersDomElementsSorted as _0x44644d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1b98eb from'./trackchangesediting.js';function _0x11b1(_0x4bab39,_0x4f5b5b){const _0x5077a0=_0x5077();return _0x11b1=function(_0x11b1f0,_0x11e9aa){_0x11b1f0=_0x11b1f0-0x19a;let _0x14a66b=_0x5077a0[_0x11b1f0];return _0x14a66b;},_0x11b1(_0x4bab39,_0x4f5b5b);}import _0x4774ee from'./ui/suggestioncontroller.js';import _0x4c8ac9 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x522e2c}from'./utils/common-translations.js';import _0x4af6bc from'../theme/icons/track-changes.svg';export default class d extends _0x81837c{static get[_0x2bf428(0x1ad)](){const _0x26aa46=_0x2bf428;return[_0x1b98eb,_0x15e026,_0x26aa46(0x1b5),_0x26aa46(0x1d4),_0x26aa46(0x224)];}static get[_0x2bf428(0x1ea)](){const _0x5300e2=_0x2bf428;return _0x5300e2(0x20d);}constructor(_0xb1ee7f){const _0x437aa5=_0x2bf428;super(_0xb1ee7f),this[_0x437aa5(0x1f6)]=new Map(),this[_0x437aa5(0x1ac)]=new Map(),this[_0x437aa5(0x19b)]=new Map(),this[_0x437aa5(0x1ca)]=new Map();const _0xdc97e0=this[_0x437aa5(0x1fc)][_0x437aa5(0x1e3)];_0xdc97e0[_0x437aa5(0x1d2)](_0x437aa5(0x1af),_0x4c8ac9),_0xdc97e0[_0x437aa5(0x1d2)](_0x437aa5(0x19f),!0x1),this[_0x437aa5(0x1ae)]=_0xdc97e0[_0x437aa5(0x1a2)](_0x437aa5(0x19f));}[_0x2bf428(0x1e4)](_0x5ad6df,_0x3209bc){const _0xc5d50=_0x2bf428;0x0===this[_0xc5d50(0x1ca)][_0xc5d50(0x206)]&&setTimeout(()=>{const _0x420acd=_0xc5d50;for(const [_0x107003,_0x446f29]of this[_0x420acd(0x1ca)]){const _0x2a4d56=this[_0x420acd(0x1f6)][_0x420acd(0x1fd)](_0x107003);_0x2a4d56||_0x446f29?_0x2a4d56&&_0x446f29&&this[_0x420acd(0x228)](_0x107003):this[_0x420acd(0x1b8)](_0x107003);}this[_0x420acd(0x1ca)][_0x420acd(0x227)](),this[_0x420acd(0x1fc)][_0x420acd(0x1a9)][_0x420acd(0x1a2)](_0x420acd(0x224))[_0x420acd(0x19e)](),this[_0x420acd(0x1c3)]();},0xa),this[_0xc5d50(0x1ca)][_0xc5d50(0x221)](_0x5ad6df,_0x3209bc);}[_0x2bf428(0x1cb)](){const _0x4aa977=_0x2bf428,_0x3aa092=this[_0x4aa977(0x1fc)],_0x36bdb8=_0x3aa092[_0x4aa977(0x1a9)][_0x4aa977(0x1a2)](_0x4aa977(0x1cf)),_0x48fe8c=_0x3aa092[_0x4aa977(0x1a9)][_0x4aa977(0x1a2)](_0x4aa977(0x1d4)),_0x21e725=_0x3aa092[_0x4aa977(0x1a9)][_0x4aa977(0x1a2)](_0x4aa977(0x224)),_0x2f1b62=_0x3aa092[_0x4aa977(0x1a9)][_0x4aa977(0x1a2)](_0x4aa977(0x1b5));this[_0x4aa977(0x202)](),_0x21e725[_0x4aa977(0x209)](()=>{const _0x4f5740=_0x4aa977,_0x472667=[];for(const [_0x2ba37a,_0x1eeebf]of Array[_0x4f5740(0x226)](this[_0x4f5740(0x1f6)])){const _0x28fdf2=_0x2ba37a[_0x4f5740(0x21d)](),_0x4c06fe=[];for(const _0x8ef6e of _0x28fdf2){if(!_0x8ef6e[_0x4f5740(0x1cc)])continue;if(_0x8ef6e[_0x4f5740(0x214)]){_0x4c06fe[_0x4f5740(0x1c1)](..._0x8ef6e[_0x4f5740(0x1d9)]());continue;}const _0x56c929=_0x8ef6e[_0x4f5740(0x211)]();if(_0x4c06fe[_0x4f5740(0x1e0)]>0x0){const _0x2fa0dc=_0x4c06fe[0x0][_0x4f5740(0x222)](_0x56c929);if(_0x2fa0dc){_0x4c06fe[0x0]=_0x2fa0dc;continue;}}_0x4c06fe[_0x4f5740(0x1c1)](_0x56c929);}_0x472667[_0x4f5740(0x1c1)]([_0x1eeebf[_0x4f5740(0x1b6)],_0x4c06fe]);}return _0x472667;}),this[_0x4aa977(0x1d0)](_0x36bdb8,_0x4aa977(0x1c4),(_0x21fe6d,_0x26bc5f)=>{const _0x41ee1f=_0x4aa977;this[_0x41ee1f(0x1d0)](_0x26bc5f,_0x41ee1f(0x1a3),(_0x4fb885,_0x4e4aa0,_0x46a603,_0x3a8353)=>{const _0x10439c=_0x41ee1f;_0x26bc5f[_0x10439c(0x1cc)]&&(null==_0x46a603?(this[_0x10439c(0x1e9)](_0x3a8353[_0x10439c(0x223)]),this[_0x10439c(0x1e4)](_0x26bc5f,!0x1)):(this[_0x10439c(0x1e9)](_0x46a603[_0x10439c(0x223)]),null==_0x3a8353&&this[_0x10439c(0x1e4)](_0x26bc5f,!0x0)));}),null!==_0x26bc5f[_0x41ee1f(0x1bc)]?this[_0x41ee1f(0x1e9)](_0x26bc5f[_0x41ee1f(0x223)]):this[_0x41ee1f(0x1e4)](_0x26bc5f,!0x1);}),this[_0x4aa977(0x1d0)](_0x36bdb8,_0x4aa977(0x225),(_0x208f18,_0x53161c,_0x3e668b)=>{const _0x1da770=_0x4aa977;this[_0x1da770(0x20a)](_0x53161c,_0x1da770(0x1a3)),this[_0x1da770(0x1ca)][_0x1da770(0x1c7)](_0x53161c),this[_0x1da770(0x1f6)][_0x1da770(0x1fd)](_0x53161c)&&this[_0x1da770(0x228)](_0x53161c),_0x3e668b&&this[_0x1da770(0x1e9)](_0x3e668b[_0x1da770(0x223)]);}),this[_0x4aa977(0x1d0)](_0x36bdb8,_0x4aa977(0x1ef),(_0x40d3b7,_0x2eb88a)=>{const _0x55af1d=_0x4aa977;this[_0x55af1d(0x1e9)](_0x2eb88a);}),this[_0x4aa977(0x1d0)](_0x48fe8c,_0x4aa977(0x20e),()=>{const _0xad2625=_0x4aa977;this[_0xad2625(0x1c3)]();}),this[_0x4aa977(0x1d0)](_0x2f1b62,_0x4aa977(0x1e5),(_0x341f82,{threadId:_0x2cf4d8,isFromAdapter:_0x413990})=>{const _0x40f4f4=_0x4aa977;if(_0x413990||!_0x36bdb8[_0x40f4f4(0x1da)](_0x2cf4d8))return;const _0x5f1f89=_0x36bdb8[_0x40f4f4(0x1f0)](_0x2cf4d8);this[_0x40f4f4(0x1f6)][_0x40f4f4(0x1a2)](_0x5f1f89)[_0x40f4f4(0x1b6)][_0x40f4f4(0x1fa)]();},{'priority':_0x4aa977(0x19c)});}[_0x2bf428(0x1c3)](){const _0x338e1b=_0x2bf428,_0x175e33=this[_0x338e1b(0x1fc)][_0x338e1b(0x1a9)][_0x338e1b(0x1a2)](_0x338e1b(0x1d4)),_0x54192e=this[_0x338e1b(0x1fc)][_0x338e1b(0x1a9)][_0x338e1b(0x1a2)](_0x338e1b(0x1cf)),_0x1febc1=Array[_0x338e1b(0x226)](_0x175e33[_0x338e1b(0x201)],_0xf7dacb=>_0xf7dacb[_0x338e1b(0x20b)])[_0x338e1b(0x21f)](_0x99458c=>this[_0x338e1b(0x1ac)][_0x338e1b(0x1fd)](_0x99458c)),_0x2be282=[];for(const _0x236dab of _0x1febc1){const _0x39b0fd=this[_0x338e1b(0x1ac)][_0x338e1b(0x1a2)](_0x236dab)[_0x338e1b(0x1d7)][_0x338e1b(0x21d)]();_0x2be282[_0x338e1b(0x1c1)](..._0x39b0fd[_0x338e1b(0x219)]((_0x541c94,_0x46be8b)=>[..._0x541c94,..._0x46be8b[_0x338e1b(0x1f5)]()],[]));}_0x54192e[_0x338e1b(0x205)]=_0x2be282;}[_0x2bf428(0x202)](){const _0x333655=_0x2bf428,_0x2909fd=this[_0x333655(0x1fc)],_0x233566=_0x2909fd[_0x333655(0x1b3)],_0x2dadee=_0x522e2c(_0x233566,_0x333655(0x1f3)),_0x48343c=new _0x315d75([{'type':_0x333655(0x200),'model':new _0x8c6263({'withText':!0x0,'label':_0x2dadee,'commandName':_0x333655(0x1e2),'role':_0x333655(0x1ff)})},{'type':_0x333655(0x1f2)},{'type':_0x333655(0x19d),'model':new _0x8c6263({'withText':!0x0,'label':_0x522e2c(_0x233566,_0x333655(0x1ec)),'commandName':_0x333655(0x1de),'role':_0x333655(0x217)})},{'type':_0x333655(0x19d),'model':new _0x8c6263({'withText':!0x0,'label':_0x522e2c(_0x233566,_0x333655(0x1eb)),'commandName':_0x333655(0x1a4),'role':_0x333655(0x217)})},{'type':_0x333655(0x19d),'model':new _0x8c6263({'withText':!0x0,'label':_0x522e2c(_0x233566,_0x333655(0x21e)),'commandName':_0x333655(0x1b7),'role':_0x333655(0x217)})},{'type':_0x333655(0x19d),'model':new _0x8c6263({'withText':!0x0,'label':_0x522e2c(_0x233566,_0x333655(0x1a6)),'commandName':_0x333655(0x1a7),'role':_0x333655(0x217)})}]);for(const _0x404dab of _0x48343c)if(ae(_0x404dab)){const _0x104da2=_0x2909fd[_0x333655(0x1c5)][_0x333655(0x1a2)](_0x404dab[_0x333655(0x1d7)][_0x333655(0x1bb)]);_0x404dab[_0x333655(0x1d7)][_0x333655(0x1e6)](_0x333655(0x1df),_0x333655(0x220))['to'](_0x104da2,_0x333655(0x1b1),_0x333655(0x220));}_0x2909fd['ui'][_0x333655(0x1db)][_0x333655(0x1bd)](_0x333655(0x1e2),_0x3667fd=>this[_0x333655(0x1d5)](_0x3667fd,_0x48343c,_0x2dadee)),_0x2909fd['ui'][_0x333655(0x1db)][_0x333655(0x1bd)](_0x333655(0x208),_0x4d03b9=>this[_0x333655(0x21a)](_0x4d03b9,_0x48343c,_0x2dadee));}[_0x2bf428(0x1d5)](_0xf8a07e,_0x2710e1,_0x503fbf){const _0x430038=_0x2bf428,_0x147ecf=_0x43a96e(_0xf8a07e,_0x3c9771),_0x1a9034=this[_0x430038(0x1fc)][_0x430038(0x1c5)][_0x430038(0x1a2)](_0x430038(0x1e2));_0x147ecf[_0x430038(0x1e8)][_0x430038(0x221)]({'tooltip':_0x503fbf,'label':_0x503fbf,'icon':_0x4af6bc}),_0x147ecf[_0x430038(0x1e8)][_0x430038(0x1e6)](_0x430038(0x1df))['to'](_0x1a9034,_0x430038(0x1b1)),_0x147ecf[_0x430038(0x1e8)]['on'](_0x430038(0x20f),()=>{const _0x6f57b0=_0x430038;_0x1a9034[_0x6f57b0(0x20f)](),this[_0x6f57b0(0x1fc)][_0x6f57b0(0x1c0)][_0x6f57b0(0x1b6)][_0x6f57b0(0x1fa)]();}),_0x2b434d(_0x147ecf,_0x2710e1,{'role':_0x430038(0x1a0)});const _0x3d0b78=[];for(const _0x3b60fa of _0x2710e1)ae(_0x3b60fa)&&_0x3d0b78[_0x430038(0x1c1)](this[_0x430038(0x1fc)][_0x430038(0x1c5)][_0x430038(0x1a2)](_0x3b60fa[_0x430038(0x1d7)][_0x430038(0x1bb)]));const _0x39a8ce=_0x147ecf[_0x430038(0x1e8)];return _0x39a8ce[_0x430038(0x1aa)][_0x430038(0x204)](_0x430038(0x220)),_0x39a8ce[_0x430038(0x1cd)][_0x430038(0x204)](_0x430038(0x220)),_0x39a8ce[_0x430038(0x1aa)][_0x430038(0x1e6)](_0x430038(0x220))['to'](_0x1a9034,_0x430038(0x220)),_0x39a8ce[_0x430038(0x1cd)][_0x430038(0x1e6)](_0x430038(0x220))[_0x430038(0x1e1)](_0x3d0b78,_0x430038(0x220),(..._0x2f365a)=>_0x2f365a[_0x430038(0x1d3)](_0xfc4e06=>_0xfc4e06)),_0x147ecf['on'](_0x430038(0x20f),_0x37d86b=>{const _0x15bf2f=_0x430038;this[_0x15bf2f(0x1fc)][_0x15bf2f(0x20f)](_0x37d86b[_0x15bf2f(0x1a8)][_0x15bf2f(0x1bb)]),this[_0x15bf2f(0x1fc)][_0x15bf2f(0x1c0)][_0x15bf2f(0x1b6)][_0x15bf2f(0x1fa)]();}),_0x147ecf;}[_0x2bf428(0x21a)](_0x10e6a1,_0x476f76,_0x1a0962){const _0x3cdf22=_0x2bf428,_0x43dd8c=new _0x174d76(_0x10e6a1),_0x55b463=this[_0x3cdf22(0x1fc)][_0x3cdf22(0x1c5)][_0x3cdf22(0x1a2)](_0x3cdf22(0x1e2));_0x43dd8c[_0x3cdf22(0x1e8)][_0x3cdf22(0x221)]({'label':_0x1a0962,'icon':_0x4af6bc});const _0x20dd30=new _0x1738eb(_0x10e6a1);for(const _0x52c249 of _0x476f76){if(_0x3cdf22(0x1f2)==_0x52c249[_0x3cdf22(0x1d8)]){_0x20dd30[_0x3cdf22(0x212)][_0x3cdf22(0x1bd)](new _0x546e82(_0x10e6a1));continue;}const _0x3c9a8d=new _0xa4d095(_0x10e6a1,_0x43dd8c),_0x673839=new _0x586d5d(_0x10e6a1),_0x2bd3ad=_0x52c249[_0x3cdf22(0x1d7)];_0x673839[_0x3cdf22(0x1e6)](...Object[_0x3cdf22(0x1d1)](_0x2bd3ad))['to'](_0x2bd3ad),_0x673839[_0x3cdf22(0x218)](_0x3cdf22(0x20f))['to'](_0x43dd8c),_0x673839['on'](_0x3cdf22(0x20f),()=>{const _0x3c9f3e=_0x3cdf22;this[_0x3c9f3e(0x1fc)][_0x3c9f3e(0x20f)](_0x2bd3ad[_0x3c9f3e(0x1bb)]),this[_0x3c9f3e(0x1fc)][_0x3c9f3e(0x1c0)][_0x3c9f3e(0x1b6)][_0x3c9f3e(0x1fa)]();}),_0x3c9a8d[_0x3cdf22(0x1c9)][_0x3cdf22(0x1bd)](_0x673839),_0x20dd30[_0x3cdf22(0x212)][_0x3cdf22(0x1bd)](_0x3c9a8d);}return _0x43dd8c[_0x3cdf22(0x1e6)](_0x3cdf22(0x220))['to'](_0x55b463,_0x3cdf22(0x220)),_0x43dd8c[_0x3cdf22(0x1fe)][_0x3cdf22(0x1c9)][_0x3cdf22(0x1bd)](_0x20dd30),_0x43dd8c;}[_0x2bf428(0x1b8)](_0x1087eb){const _0x8b22fd=_0x2bf428,_0x5835c7=this[_0x8b22fd(0x1fc)],_0x38b949=_0x5835c7[_0x8b22fd(0x1e3)],_0x48efaf=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x8b22fd(0x1d4)),_0x557993=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x8b22fd(0x1b5)),_0xfd61d8=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x8b22fd(0x224)),_0x3940e3=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x15e026)['me'],_0x57f42=_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1e2))[_0x8b22fd(0x1ba)],{CommentsListView:_0x29e9b3,CommentThreadInputView:_0x467fe7}=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x8b22fd(0x1b2));let _0x10b441,_0x303558;this[_0x8b22fd(0x19b)][_0x8b22fd(0x1fd)](_0x1087eb['id'])?(_0x303558=this[_0x8b22fd(0x19b)][_0x8b22fd(0x1a2)](_0x1087eb['id']),_0x10b441=_0x303558[_0x8b22fd(0x1f9)]):(_0x10b441=new _0x57f42(_0x5835c7[_0x8b22fd(0x1b3)],_0x1087eb,_0x3940e3,{'disableComments':this[_0x8b22fd(0x1ae)],'editorConfig':_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x20c)),'maxCommentsWhenCollapsed':_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1f8)),'maxThreadTotalWeight':_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1c8)),'maxCommentCharsWhenCollapsed':_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1f1)),'formatDateTime':_0x3292d2(_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1b3))),'CommentView':_0x38b949[_0x8b22fd(0x1a2)](_0x8b22fd(0x1e7))[_0x8b22fd(0x1fb)],'CommentsListView':_0x29e9b3,'CommentThreadInputView':_0x467fe7}),_0x10b441[_0x8b22fd(0x1a5)]['on'](_0x8b22fd(0x20f),()=>{const _0x42173b=_0x8b22fd;_0x5835c7[_0x42173b(0x1c0)][_0x42173b(0x1b6)][_0x42173b(0x1fa)]();}),_0x10b441[_0x8b22fd(0x1bf)]['on'](_0x8b22fd(0x20f),()=>{const _0x2c548e=_0x8b22fd;_0x5835c7[_0x2c548e(0x1c0)][_0x2c548e(0x1b6)][_0x2c548e(0x1fa)]();}),_0x303558=_0x48efaf[_0x8b22fd(0x1c6)](this[_0x8b22fd(0x1fc)][_0x8b22fd(0x1b3)],_0x10b441),_0x303558[_0x8b22fd(0x1e6)](_0x8b22fd(0x1d6))['to'](_0x10b441,_0x8b22fd(0x1d6)),_0x303558[_0x8b22fd(0x1e6)](_0x8b22fd(0x1e0))['to'](_0x10b441),_0x303558[_0x8b22fd(0x1e6)](_0x8b22fd(0x1d8))['to'](_0x10b441,_0x8b22fd(0x1d8),_0x23fb9d=>_0x8b22fd(0x1b0)+_0x23fb9d),this[_0x8b22fd(0x19b)][_0x8b22fd(0x221)](_0x1087eb['id'],_0x303558));const _0x15d009=_0x557993[_0x8b22fd(0x1a1)](_0x1087eb[_0x8b22fd(0x1ee)],_0x10b441),_0xe1eb0=new _0x4774ee(_0x5835c7,_0x1087eb,_0x10b441,_0x15d009),_0x5c8a9b=_0x1087eb[_0x8b22fd(0x21d)]()[_0x8b22fd(0x21f)](_0x20f00d=>_0x20f00d[_0x8b22fd(0x1cc)]);_0x10b441[_0x8b22fd(0x203)]=_0x5835c7[_0x8b22fd(0x1a9)][_0x8b22fd(0x1a2)](_0x8b22fd(0x1cf))[_0x8b22fd(0x1ce)][_0x8b22fd(0x1f4)](_0x5c8a9b),this[_0x8b22fd(0x1f6)][_0x8b22fd(0x221)](_0x1087eb,_0xe1eb0),this[_0x8b22fd(0x1ac)][_0x8b22fd(0x221)](_0x10b441,_0xe1eb0);const _0x3cc3ec=_0x48efaf[_0x8b22fd(0x215)]({'view':_0x303558,'target':()=>{const _0x5c4884=_0x8b22fd,_0x4a2d40=[],_0x3915dc=_0x1087eb[_0x5c4884(0x21d)]()[_0x5c4884(0x21f)](_0x42da21=>_0x42da21[_0x5c4884(0x1cc)]);for(const _0x32cf29 of _0x3915dc)_0x4a2d40[_0x5c4884(0x1c1)](..._0x32cf29[_0x5c4884(0x21b)]());return _0x44644d(_0x5835c7[_0x5c4884(0x1c0)],_0x4a2d40);},'type':()=>_0x8b22fd(0x1b0)+_0xe1eb0[_0x8b22fd(0x1b6)][_0x8b22fd(0x1d8)]});_0x557993[_0x8b22fd(0x213)](_0x10b441,_0x3cc3ec),_0x48efaf[_0x8b22fd(0x1bd)](_0x3cc3ec),_0xfd61d8[_0x8b22fd(0x210)](_0x3cc3ec);}[_0x2bf428(0x228)](_0x56eadf){const _0x4cf9b3=_0x2bf428,_0x34a90=this[_0x4cf9b3(0x1fc)][_0x4cf9b3(0x1a9)][_0x4cf9b3(0x1a2)](_0x4cf9b3(0x1b5)),_0x249dc5=this[_0x4cf9b3(0x1fc)][_0x4cf9b3(0x1a9)][_0x4cf9b3(0x1a2)](_0x4cf9b3(0x1d4)),_0x854ff8=this[_0x4cf9b3(0x1f6)][_0x4cf9b3(0x1a2)](_0x56eadf),_0x524fce=_0x854ff8[_0x4cf9b3(0x1b6)],_0x416a5c=_0x249dc5[_0x4cf9b3(0x1c2)](_0x524fce);_0x34a90[_0x4cf9b3(0x1ab)](_0x524fce),_0x416a5c&&_0x249dc5[_0x4cf9b3(0x1ed)](_0x416a5c),this[_0x4cf9b3(0x1f6)][_0x4cf9b3(0x1c7)](_0x56eadf),this[_0x4cf9b3(0x1ac)][_0x4cf9b3(0x1c7)](_0x524fce),_0x854ff8[_0x4cf9b3(0x21c)]();}[_0x2bf428(0x1e9)](_0x17949d){const _0x325435=_0x2bf428;if(!_0x17949d[_0x325435(0x1cc)]||!this[_0x325435(0x1f6)][_0x325435(0x1fd)](_0x17949d))return;const _0x2df654=this[_0x325435(0x1fc)][_0x325435(0x1a9)][_0x325435(0x1a2)](_0x325435(0x1cf)),_0xd7e81a=this[_0x325435(0x1f6)][_0x325435(0x1a2)](_0x17949d),_0x5daae5=_0x17949d[_0x325435(0x21d)]();_0xd7e81a[_0x325435(0x1b6)][_0x325435(0x203)]=_0x2df654[_0x325435(0x1ce)][_0x325435(0x1f4)](_0x5daae5);}[_0x2bf428(0x21c)](){const _0x36db87=_0x2bf428;for(const _0x418776 of this[_0x36db87(0x1f6)][_0x36db87(0x1d1)]())this[_0x36db87(0x228)](_0x418776);for(const _0x5cc642 of this[_0x36db87(0x19b)][_0x36db87(0x1b4)]())_0x5cc642[_0x36db87(0x1f9)][_0x36db87(0x21c)]();super[_0x36db87(0x21c)]();}}function ae(_0x2c0d7a){const _0x4e9bfd=_0x2bf428;return _0x4e9bfd(0x1d7)in _0x2c0d7a;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x68f2(_0x329438,_0x21d1b7){const _0x354820=_0x3548();return _0x68f2=function(_0x68f20f,_0xe668aa){_0x68f20f=_0x68f20f-0x148;let _0x164310=_0x354820[_0x68f20f];return _0x164310;},_0x68f2(_0x329438,_0x21d1b7);}const _0x55c759=_0x68f2;(function(_0x498ece,_0x34f7da){const _0x596c7d=_0x68f2,_0xd6cd0d=_0x498ece();while(!![]){try{const _0x23fb82=parseInt(_0x596c7d(0x153))/0x1+-parseInt(_0x596c7d(0x162))/0x2+parseInt(_0x596c7d(0x16b))/0x3+-parseInt(_0x596c7d(0x165))/0x4+-parseInt(_0x596c7d(0x15f))/0x5+parseInt(_0x596c7d(0x16f))/0x6+parseInt(_0x596c7d(0x156))/0x7*(parseInt(_0x596c7d(0x15e))/0x8);if(_0x23fb82===_0x34f7da)break;else _0xd6cd0d['push'](_0xd6cd0d['shift']());}catch(_0x44b64a){_0xd6cd0d['push'](_0xd6cd0d['shift']());}}}(_0x3548,0x4985c));import{ObservableMixin as _0x29d965}from'ckeditor5/src/utils.js';function _0x3548(){const _0x51006e=['2219JwbShm','locale','PendingActions','get','bind','isDirty','_pendingAction','canAccept','10832FKTPgC','1960010mWvkhE','getRanges','commands','1032716MhOlEE','_editor','listenTo','1395404OkDakW','stopListening','canEditAt','_acceptCommand','_setPendingAction','_discardCommand','1230453cqsaEN','remove','add','view','3362220rQeUrg','discardSuggestion','plugins','change:isDirty','commentThreadController','canDiscard','model','isEnabled','execute','destroy','unbind','PENDING_ACTION_SUGGESTION','158620wGDHsg','acceptSuggestion','_removePendingAction'];_0x3548=function(){return _0x51006e;};return _0x3548();}import{getTranslation as _0x16d4a2}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29d965(){constructor(_0xc6928c,_0x44ee03,_0x2fef21,_0x59493b){const _0x399b43=_0x68f2;super(),this[_0x399b43(0x14d)]=_0x44ee03,this[_0x399b43(0x16e)]=_0x2fef21,this[_0x399b43(0x14b)]=_0x59493b,this[_0x399b43(0x163)]=_0xc6928c,this[_0x399b43(0x168)]=_0xc6928c[_0x399b43(0x161)][_0x399b43(0x159)](_0x399b43(0x154)),this[_0x399b43(0x16a)]=_0xc6928c[_0x399b43(0x161)][_0x399b43(0x159)](_0x399b43(0x148)),this[_0x399b43(0x16e)][_0x399b43(0x15a)](_0x399b43(0x14e))['to'](this[_0x399b43(0x168)],this[_0x399b43(0x16a)],(_0x59f8e4,_0x1dbabc)=>_0x59f8e4||_0x1dbabc),this[_0x399b43(0x16e)][_0x399b43(0x15a)](_0x399b43(0x15d))['to'](this[_0x399b43(0x168)],_0x399b43(0x14e),_0x2b331b=>_0x2b331b&&this[_0x399b43(0x163)][_0x399b43(0x14d)][_0x399b43(0x167)](_0x44ee03[_0x399b43(0x160)]())),this[_0x399b43(0x16e)][_0x399b43(0x15a)](_0x399b43(0x14c))['to'](this[_0x399b43(0x16a)],_0x399b43(0x14e),_0x995d66=>_0x995d66&&this[_0x399b43(0x163)][_0x399b43(0x14d)][_0x399b43(0x167)](_0x44ee03[_0x399b43(0x160)]())),this[_0x399b43(0x15c)]=null,_0x2fef21[_0x399b43(0x15b)]&&this[_0x399b43(0x169)](),this[_0x399b43(0x164)](_0x2fef21,_0x399b43(0x154),()=>this[_0x399b43(0x154)]()),this[_0x399b43(0x164)](_0x2fef21,_0x399b43(0x148),()=>this[_0x399b43(0x148)]()),this[_0x399b43(0x164)](_0x2fef21,_0x399b43(0x14a),()=>{const _0x31d417=_0x399b43;_0x2fef21[_0x31d417(0x15b)]?this[_0x31d417(0x169)]():this[_0x31d417(0x155)]();});}[_0x55c759(0x154)](){const _0x2d77d9=_0x55c759;this[_0x2d77d9(0x168)][_0x2d77d9(0x14f)](this[_0x2d77d9(0x14d)]['id']);}[_0x55c759(0x148)](){const _0x1b799b=_0x55c759;this[_0x1b799b(0x16a)][_0x1b799b(0x14f)](this[_0x1b799b(0x14d)]['id']);}[_0x55c759(0x150)](){const _0x2052d3=_0x55c759;this[_0x2052d3(0x16e)][_0x2052d3(0x151)](_0x2052d3(0x14e)),this[_0x2052d3(0x16e)][_0x2052d3(0x151)](_0x2052d3(0x15d)),this[_0x2052d3(0x16e)][_0x2052d3(0x151)](_0x2052d3(0x14c)),this[_0x2052d3(0x166)](),this[_0x2052d3(0x14b)][_0x2052d3(0x150)](),this[_0x2052d3(0x15c)]&&this[_0x2052d3(0x155)]();}[_0x55c759(0x169)](){const _0x183c40=_0x55c759,_0x2f4f09=_0x16d4a2(this[_0x183c40(0x163)][_0x183c40(0x157)],_0x183c40(0x152));this[_0x183c40(0x15c)]=this[_0x183c40(0x163)][_0x183c40(0x149)][_0x183c40(0x159)](_0x183c40(0x158))[_0x183c40(0x16d)](_0x2f4f09);}[_0x55c759(0x155)](){const _0x40dc48=_0x55c759;null!==this[_0x40dc48(0x15c)]&&this[_0x40dc48(0x163)][_0x40dc48(0x149)][_0x40dc48(0x159)](_0x40dc48(0x158))[_0x40dc48(0x16c)](this[_0x40dc48(0x15c)]),this[_0x40dc48(0x15c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2173ac=_0x27f5;(function(_0x59bb25,_0x116d40){const _0x5cd993=_0x27f5,_0x5e3233=_0x59bb25();while(!![]){try{const _0x28a675=-parseInt(_0x5cd993(0x97))/0x1*(-parseInt(_0x5cd993(0x88))/0x2)+parseInt(_0x5cd993(0x8e))/0x3+-parseInt(_0x5cd993(0xa8))/0x4*(-parseInt(_0x5cd993(0x7e))/0x5)+-parseInt(_0x5cd993(0xa0))/0x6*(parseInt(_0x5cd993(0x89))/0x7)+-parseInt(_0x5cd993(0x8c))/0x8+-parseInt(_0x5cd993(0x81))/0x9+-parseInt(_0x5cd993(0x94))/0xa;if(_0x28a675===_0x116d40)break;else _0x5e3233['push'](_0x5e3233['shift']());}catch(_0x402c71){_0x5e3233['push'](_0x5e3233['shift']());}}}(_0x4a33,0x1fe38));function _0x27f5(_0x57fa03,_0x356b8f){const _0x4a333a=_0x4a33();return _0x27f5=function(_0x27f50b,_0x3c1fe7){_0x27f50b=_0x27f50b-0x7a;let _0x20a5a2=_0x4a333a[_0x27f50b];return _0x20a5a2;},_0x27f5(_0x57fa03,_0x356b8f);}import{View as _0x3f1f65}from'ckeditor5/src/ui.js';export default class es extends _0x3f1f65{constructor(_0x2131fa,_0x379151,_0x48c1b5,_0x1264b9){const _0xa22cb5=_0x27f5;super(_0x2131fa),this[_0xa22cb5(0x93)]=null,this[_0xa22cb5(0xac)]=null,this[_0xa22cb5(0xa3)](_0xa22cb5(0x7a),!0x1),this[_0xa22cb5(0xa3)](_0xa22cb5(0x80),_0x379151[_0xa22cb5(0x80)]),this[_0xa22cb5(0x9c)](_0xa22cb5(0x80))['to'](_0x379151),this[_0xa22cb5(0xa3)](_0xa22cb5(0x85),[]),this[_0xa22cb5(0xa3)](_0xa22cb5(0x8b),!0x1),this[_0xa22cb5(0xa3)](_0xa22cb5(0x84),!0x1),this[_0xa22cb5(0xa3)](_0xa22cb5(0x96),!0x1),this[_0xa22cb5(0xa3)](_0xa22cb5(0x95),!0x1),this[_0xa22cb5(0xa2)]=_0x379151,this[_0xa22cb5(0x98)]=_0x48c1b5,this[_0xa22cb5(0x7d)]=_0x1264b9,_0x1264b9[_0xa22cb5(0x86)]?this[_0xa22cb5(0xa3)](_0xa22cb5(0xaa),0x1):this[_0xa22cb5(0x9f)]();}[_0x2173ac(0x87)](){const _0x49c3a1=_0x2173ac;this[_0x49c3a1(0x90)][_0x49c3a1(0x87)]();}[_0x2173ac(0x8f)](){const _0x1f88b0=_0x2173ac;this[_0x1f88b0(0x93)]&&this[_0x1f88b0(0x93)][_0x1f88b0(0x8f)](),this[_0x1f88b0(0xac)]&&this[_0x1f88b0(0xac)][_0x1f88b0(0x8f)](),super[_0x1f88b0(0x8f)]();}[_0x2173ac(0x9f)](){const _0x463d99=_0x2173ac,{CommentsListView:_0x563a4d}=this[_0x463d99(0x7d)];this[_0x463d99(0x93)]=new _0x563a4d(this[_0x463d99(0xa4)],this[_0x463d99(0xa2)][_0x463d99(0xa5)],Object[_0x463d99(0x82)]({'CommentView':this[_0x463d99(0x7d)][_0x463d99(0xab)]},this[_0x463d99(0x7d)])),this[_0x463d99(0x93)][_0x463d99(0xa6)](_0x463d99(0x9e))['to'](this),this[_0x463d99(0x93)][_0x463d99(0xa6)](_0x463d99(0x92))['to'](this),this[_0x463d99(0x93)][_0x463d99(0x9c)](_0x463d99(0x7a))['to'](this),this[_0x463d99(0xa3)](_0x463d99(0xaa),this[_0x463d99(0x93)][_0x463d99(0xaa)]+0x1),this[_0x463d99(0x9c)](_0x463d99(0xaa))['to'](this[_0x463d99(0x93)],_0x463d99(0xaa),_0x14e61c=>_0x14e61c+0x1),this[_0x463d99(0xac)]=this[_0x463d99(0x7c)](),this['on'](_0x463d99(0x9e),()=>this[_0x463d99(0x87)]()),this[_0x463d99(0x9c)](_0x463d99(0x8b))['to'](this[_0x463d99(0x93)],_0x463d99(0xa7),this[_0x463d99(0xac)][_0x463d99(0x7b)],_0x463d99(0x9a),(_0x58cb57,_0x581099)=>_0x58cb57||!!_0x581099);}[_0x2173ac(0x7c)](){const _0x1e8904=_0x2173ac,{CommentThreadInputView:_0x164e53}=this[_0x1e8904(0x7d)],_0x513b25=new _0x164e53(this[_0x1e8904(0xa4)],this[_0x1e8904(0x98)],this[_0x1e8904(0x7d)][_0x1e8904(0x8d)]),_0x5afddf=_0x513b25[_0x1e8904(0x7b)];return _0x513b25[_0x1e8904(0x9c)](_0x1e8904(0x83))['to'](this,_0x1e8904(0x7a),this[_0x1e8904(0xa2)][_0x1e8904(0xa5)],_0x1e8904(0x91),_0x5afddf,_0x1e8904(0x9a),(_0x1f1705,_0x1ad733,_0x4158ab)=>!!_0x4158ab||_0x1f1705&&!_0x1ad733),_0x5afddf['on'](_0x1e8904(0x9d),(_0x5e2a49,_0xa4acf3)=>{const _0x196c28=_0x1e8904;this[_0x196c28(0x99)](_0x196c28(0x9b),_0xa4acf3),_0x5afddf[_0x196c28(0xa1)][_0x196c28(0x8a)]('');}),_0x5afddf['on'](_0x1e8904(0xa9),()=>this[_0x1e8904(0x87)]()),_0x5afddf[_0x1e8904(0x9c)](_0x1e8904(0x7f))['to'](this[_0x1e8904(0xa2)][_0x1e8904(0xa5)],_0x1e8904(0x91)),_0x513b25;}}function _0x4a33(){const _0x4a506c=['set','locale','commentThread','delegate','hasDirtyComment','4OflMzI','cancel','length','CommentView','commentThreadInputView','isActive','commentInputView','_createCommentThreadInputView','_config','552245YEfTqU','disabledSubmit','authoredAt','9513KGqWMJ','assign','showInput','isEnabled','descriptionParts','disableComments','focus','9908TRlvNy','14203JUHhKF','setData','isDirty','243152cDUuyM','editorConfig','445407osDezK','destroy','element','isReadOnly','updateComment','commentsListView','29910rhlrOY','canDiscard','canAccept','13zpQShK','_localUser','fire','value','addComment','bind','submit','removeComment','_createCommentViews','468idrFZB','editor','_model'];_0x4a33=function(){return _0x4a506c;};return _0x4a33();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x492872=_0x3957;(function(_0xeef03c,_0x203033){const _0x3d97e5=_0x3957,_0x276f06=_0xeef03c();while(!![]){try{const _0x4c7cc7=parseInt(_0x3d97e5(0xf5))/0x1+-parseInt(_0x3d97e5(0x134))/0x2+parseInt(_0x3d97e5(0x145))/0x3+-parseInt(_0x3d97e5(0x113))/0x4+-parseInt(_0x3d97e5(0x136))/0x5+-parseInt(_0x3d97e5(0xef))/0x6+parseInt(_0x3d97e5(0x12b))/0x7*(parseInt(_0x3d97e5(0x132))/0x8);if(_0x4c7cc7===_0x203033)break;else _0x276f06['push'](_0x276f06['shift']());}catch(_0x1e4c4c){_0x276f06['push'](_0x276f06['shift']());}}}(_0x2841,0x70f63));import{getTranslation as _0x35a1df}from'../../utils/common-translations.js';import{default as _0x32f2cb}from'./basesuggestionthreadview.js';import{ButtonView as _0x576a80}from'ckeditor5/src/ui.js';import{icons as _0x435099}from'ckeditor5/src/core.js';import{trimHtml as _0x523f45,UserView as _0x1f00de}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3957(_0x5152d3,_0x55dfbb){const _0x28417b=_0x2841();return _0x3957=function(_0x3957af,_0x40d66e){_0x3957af=_0x3957af-0xdf;let _0x1c5452=_0x28417b[_0x3957af];return _0x1c5452;},_0x3957(_0x5152d3,_0x55dfbb);}function _0x2841(){const _0x3a134d=['extendTemplate','locale','ck-comment__info-time','_config','982713uHiaSy','ck-annotation','change:description','ck-suggestion-wrapper--active','check','ck-suggestion-','cancel','delegate','ck-suggestion__main','Accept\x20suggestion','\x22\x20title=\x22','ck-suggestion__info','querySelector','description','</span>','map','_model','\x22></span>','ck-annotation__user','creator','acceptButton','descriptionParts','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','1239360kBaRUS','content','split','getTemplate','author','ck-suggestion__info-name','375818gQsIXg','EXTERNAL_SUGGESTION','innerText','Discard\x20suggestion','ck-suggestion__user','commentThreadInputView','.ck-annotation__content-wrapper','editorDestroyed','bind','isEnabled','name','ck-suggestion__actions','_createButton','importWord','time','commentThread','setTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION','formatDateTime','canAccept','ck-suggestion--discard','ck-annotation__actions','discardButton','authoredAt','type','bindTemplate','commentsListView','push','<span\x20class=\x22ck-suggestion-type\x22>','EXTERNAL_AVATAR','3276724bdkxIZ','element','getExternalSuggestionNote','disableComments','EXTERNAL_IMPORT_WORD_AVATAR','render','ck-suggestion--disabled-comments','ck-suggestion','color','ck-annotation__info','userView','ck-annotation__info-time','children','ck-suggestion-wrapper','execute','acceptSuggestion','set','createElement','editorReady','ck-suggestion--accept','isActive','value','join','discardSuggestion','1498nIqqXO','div','span','getUserViewNotificationText','</p>','ck-annotation__main','isExternal','35416xzumDG','<p>','175890XFYhGV','ck-annotation__info-name','371950dLyeOd','source','fire','title','canDiscard','ck-comment__external','ck-annotation__content-wrapper','@external','attributes','innerHTML','_descriptionElement'];_0x2841=function(){return _0x3a134d;};return _0x2841();}export default class ne extends _0x32f2cb{constructor(_0x560ab9,_0x9e9c4c,_0x152a5d,_0x4f0323){const _0x553716=_0x3957;super(_0x560ab9,_0x9e9c4c,_0x152a5d,_0x4f0323),this[_0x553716(0x123)](_0x553716(0x10d),''),this[_0x553716(0xfd)](_0x553716(0x10d))['to'](this,_0x553716(0xed),_0x980ac9=>_0x980ac9&&_0x980ac9[0x0]?_0x980ac9[0x0][_0x553716(0x10d)]:''),this[_0x553716(0xfd)](_0x553716(0xe5))['to'](this,_0x553716(0xed),this,_0x553716(0x127),(_0x8e2df4,_0x5edba6)=>{const _0x445d16=_0x553716;let _0x29ac23='';for(const _0x4e7bf1 of _0x8e2df4)_0x29ac23+=_0x445d16(0x133)+ds(_0x4e7bf1[_0x445d16(0xf0)],_0x4e7bf1[_0x445d16(0x11b)])+_0x445d16(0x12f);return _0x5edba6?_0x29ac23:_0x523f45(_0x29ac23,{'limit':0x8c});}),this[_0x553716(0x140)]=null,this[_0x553716(0xec)]=this[_0x553716(0x101)](_0x35a1df(_0x560ab9,_0x553716(0xe1)),_0x435099[_0x553716(0x149)],_0x553716(0x126),_0x553716(0x122),'sw'),this[_0x553716(0xec)][_0x553716(0xfd)](_0x553716(0xfe))['to'](this,_0x553716(0x108)),this[_0x553716(0x10b)]=this[_0x553716(0x101)](_0x35a1df(_0x560ab9,_0x553716(0xf8)),_0x435099[_0x553716(0x14b)],_0x553716(0x109),_0x553716(0x12a),'sw'),this[_0x553716(0x10b)][_0x553716(0xfd)](_0x553716(0xfe))['to'](this,_0x553716(0x13a)),this[_0x553716(0x11d)]=new _0x1f00de(_0x560ab9,this[_0x553716(0xe8)][_0x553716(0xf3)],this[_0x553716(0x12e)]()),this[_0x553716(0x11d)][_0x553716(0x141)]({'attributes':{'class':[_0x553716(0xf9),_0x553716(0xea)]}}),this[_0x553716(0x105)](this[_0x553716(0xf2)]());}[_0x492872(0xf2)](){const _0x5f0953=_0x492872,_0x4a58ad=this[_0x5f0953(0x10e)],_0x19b872=[{'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0xe3),_0x5f0953(0x11c)]},'children':[{'tag':_0x5f0953(0x12d),'children':[{'text':this[_0x5f0953(0x11d)][_0x5f0953(0xff)]}],'attributes':{'class':[_0x5f0953(0xf4),_0x5f0953(0x135)]}},{'tag':_0x5f0953(0x103),'attributes':{'datetime':_0x4a58ad['to'](_0x5f0953(0x10c)),'class':[_0x5f0953(0x143),_0x5f0953(0x11e)]},'children':[{'text':_0x4a58ad['to'](_0x5f0953(0x10c),_0x38f1e3=>this[_0x5f0953(0x144)][_0x5f0953(0x107)](_0x38f1e3))}]}]},{'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0x100),_0x5f0953(0x10a)]},'children':[this[_0x5f0953(0xec)],this[_0x5f0953(0x10b)]]},{'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0x13c)]}}];this[_0x5f0953(0xe8)][_0x5f0953(0x131)]&&_0x19b872[_0x5f0953(0x110)]({'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0x13b)]},'children':[{'text':this[_0x5f0953(0x115)]()}]});const _0x56fe0={'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0x120),_0x4a58ad['if'](_0x5f0953(0x127),_0x5f0953(0x148)),_0x4a58ad['to'](_0x5f0953(0x10d),_0x381274=>_0x5f0953(0x14a)+_0x381274),this[_0x5f0953(0x144)][_0x5f0953(0x116)]&&_0x5f0953(0x119)],'data-suggestion-id':this[_0x5f0953(0xe8)]['id'],'data-thread-id':this[_0x5f0953(0xe8)][_0x5f0953(0x104)]['id'],'data-author-id':this[_0x5f0953(0xe8)][_0x5f0953(0xf3)]['id'],'tabindex':-0x1},'children':[{'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0x11a),_0x5f0953(0x146)]},'children':[this[_0x5f0953(0x11d)],{'tag':_0x5f0953(0x12c),'attributes':{'class':[_0x5f0953(0xe0),_0x5f0953(0x130)]},'children':_0x19b872}]}]};return this[_0x5f0953(0x10f)]&&this[_0x5f0953(0xfa)]&&(_0x56fe0[_0x5f0953(0x11f)][_0x5f0953(0x110)](this[_0x5f0953(0x10f)],this[_0x5f0953(0xfa)]),this[_0x5f0953(0x10f)][_0x5f0953(0xdf)](_0x5f0953(0x125))['to'](this),this[_0x5f0953(0x10f)][_0x5f0953(0xdf)](_0x5f0953(0xfc))['to'](this),this[_0x5f0953(0xfa)][_0x5f0953(0xdf)](_0x5f0953(0x125))['to'](this),this[_0x5f0953(0xfa)][_0x5f0953(0xdf)](_0x5f0953(0xfc))['to'](this)),_0x56fe0;}[_0x492872(0x118)](){const _0x5a043b=_0x492872;super[_0x5a043b(0x118)](),this[_0x5a043b(0x140)]=this[_0x5a043b(0x114)][_0x5a043b(0xe4)](_0x5a043b(0xfb)),this[_0x5a043b(0x140)][_0x5a043b(0x13f)]=this[_0x5a043b(0xe5)],this['on'](_0x5a043b(0x147),(_0x5b7717,_0x1ac13d,_0x1490e5)=>{const _0x3b7368=_0x5a043b;this[_0x3b7368(0x140)][_0x3b7368(0x13f)]=_0x1490e5;});}[_0x492872(0x101)](_0x3d9e3c,_0x4f15c3,_0x2ebc44,_0x2a708e,_0x3c592b){const _0x35329c=_0x492872,_0x12efb3=new _0x576a80(this[_0x35329c(0x142)]);return _0x12efb3[_0x35329c(0x123)]({'label':_0x3d9e3c,'icon':_0x4f15c3,'tooltip':!0x0,'tooltipPosition':_0x3c592b}),_0x12efb3[_0x35329c(0x141)]({'attributes':{'class':_0x2ebc44}}),_0x12efb3['on'](_0x35329c(0x121),()=>{const _0x129b08=_0x35329c;this[_0x129b08(0x138)](_0x2a708e,this[_0x129b08(0xe8)]['id']);}),_0x12efb3;}[_0x492872(0x115)](){const _0x5d761a=_0x492872;return _0x5d761a(0x102)===this[_0x5d761a(0xe8)][_0x5d761a(0x13e)][_0x5d761a(0x13d)][_0x5d761a(0x137)]?_0x35a1df(this[_0x5d761a(0x142)],_0x5d761a(0x106)):_0x35a1df(this[_0x5d761a(0x142)],_0x5d761a(0xf6));}[_0x492872(0x12e)](){const _0x460163=_0x492872;return this[_0x460163(0xe8)][_0x460163(0x131)]?_0x460163(0x102)===this[_0x460163(0xe8)][_0x460163(0x13e)][_0x460163(0x13d)][_0x460163(0x137)]?_0x35a1df(this[_0x460163(0x142)],_0x460163(0x117),this[_0x460163(0xe8)][_0x460163(0xeb)][_0x460163(0xff)]):_0x35a1df(this[_0x460163(0x142)],_0x460163(0x112),this[_0x460163(0xe8)][_0x460163(0xeb)][_0x460163(0xff)]):null;}}function ds(_0x18455b,_0x1cf974){const _0x3dbbf6=_0x492872;let _0xca4d6='';return _0xca4d6+=_0x18455b[_0x3dbbf6(0xf1)]('*')[_0x3dbbf6(0xe7)]((_0x3e5257,_0x670085)=>_0x670085%0x2!=0x0?_0x3dbbf6(0x111)+us(_0x3e5257)+_0x3dbbf6(0xe6):us(_0x3e5257))[_0x3dbbf6(0x129)](''),_0x1cf974&&(_0xca4d6+=_0x3dbbf6(0xee)+_0x1cf974[_0x3dbbf6(0x128)]+_0x3dbbf6(0xe2)+_0x1cf974[_0x3dbbf6(0x139)]+_0x3dbbf6(0xe9)),_0xca4d6;}function us(_0x1d9022){const _0x4bb7f3=_0x492872,_0x3cf3e0=document[_0x4bb7f3(0x124)](_0x4bb7f3(0x12d));return _0x3cf3e0[_0x4bb7f3(0xf7)]=_0x1d9022,_0x3cf3e0[_0x4bb7f3(0x13f)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2a7185,_0x2a42d2,_0x4fbc50){const t=_0x2a7185['t'];switch(_0x2a42d2){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',_0x4fbc50);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4fbc50);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4fbc50);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4fbc50);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4fbc50);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',_0x4fbc50);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4fbc50);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',_0x4fbc50);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4fbc50);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4fbc50);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4fbc50);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4fbc50);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4fbc50);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4fbc50);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4fbc50);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4fbc50);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4fbc50);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4fbc50);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4fbc50);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4fbc50);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4fbc50);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4fbc50);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4fbc50);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4fbc50);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4fbc50);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4fbc50);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4fbc50);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4fbc50);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4fbc50);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4fbc50);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'},_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4fbc50);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'},_0x4fbc50);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4fbc50);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4fbc50);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'},_0x4fbc50);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'},_0x4fbc50);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 _0x2a42d2;}}
|
|
23
|
+
export function getTranslation(_0x1d852e,_0x17d71b,_0x2679a0){const t=_0x1d852e['t'];switch(_0x17d71b){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',_0x2679a0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2679a0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2679a0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2679a0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2679a0);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',_0x2679a0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2679a0);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',_0x2679a0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2679a0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2679a0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2679a0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2679a0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2679a0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2679a0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2679a0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2679a0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2679a0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2679a0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2679a0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2679a0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2679a0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2679a0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2679a0);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'},_0x2679a0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2679a0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2679a0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2679a0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2679a0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2679a0);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'},_0x2679a0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2679a0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2679a0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2679a0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2679a0);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'},_0x2679a0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2679a0);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'},_0x2679a0);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'},_0x2679a0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2679a0);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'},_0x2679a0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2679a0);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'},_0x2679a0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2679a0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2679a0);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'},_0x2679a0);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'},_0x2679a0);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 _0x17d71b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4521ba,_0x1728a4){const _0x241bac=_0xa8ea,_0x2a8331=_0x4521ba();while(!![]){try{const _0x5f335f=parseInt(_0x241bac(0x191))/0x1*(-parseInt(_0x241bac(0x18a))/0x2)+-parseInt(_0x241bac(0x1b1))/0x3*(parseInt(_0x241bac(0x193))/0x4)+-parseInt(_0x241bac(0x1a8))/0x5+parseInt(_0x241bac(0x1af))/0x6*(parseInt(_0x241bac(0x1aa))/0x7)+parseInt(_0x241bac(0x18b))/0x8*(-parseInt(_0x241bac(0x18d))/0x9)+-parseInt(_0x241bac(0x1a4))/0xa+parseInt(_0x241bac(0x190))/0xb;if(_0x5f335f===_0x1728a4)break;else _0x2a8331['push'](_0x2a8331['shift']());}catch(_0x5a71f3){_0x2a8331['push'](_0x2a8331['shift']());}}}(_0x1777,0xaf4f3));export function normalizeDescription(_0x1d043c){const _0x1659ec=_0xa8ea;return Array[_0x1659ec(0x189)](_0x1d043c)||(_0x1d043c=[_0x1d043c]),_0x1d043c[_0x1659ec(0x1a2)](_0x43f49c=>{const _0x59a9b1=_0x1659ec,_0x850666=_0x43f49c[_0x59a9b1(0x1b3)][_0x59a9b1(0x198)](/\*/g,''),_0x42cda1=_0x43f49c[_0x59a9b1(0x1a7)]?_0x59a9b1(0x1b2)+_0x43f49c[_0x59a9b1(0x1a7)][_0x59a9b1(0x1a9)]+']':'';return'['+_0x43f49c[_0x59a9b1(0x196)]+']\x20'+_0x850666+_0x42cda1;})[_0x1659ec(0x1a5)](';\x20');}export function sortSuggestions(_0x24c399){const _0x58c756=_0xa8ea;return _0x24c399[_0x58c756(0x1a0)]((_0xad8af6,_0x44387a)=>_0x58c756(0x1a1)==_0xad8af6[_0x58c756(0x196)]&&_0x58c756(0x1a1)!=_0x44387a[_0x58c756(0x196)]?-0x1:_0x58c756(0x1a1)!=_0xad8af6[_0x58c756(0x196)]&&_0x58c756(0x1a1)==_0x44387a[_0x58c756(0x196)]?0x1:0x0);}export function getSelectedSuggestions(_0x12ba07,_0x4aad22){const _0x4bfef8=_0xa8ea,_0x5b6334=Array[_0x4bfef8(0x19c)](_0x12ba07[_0x4bfef8(0x19a)]()),_0x10849e=new Set();for(const _0x1c93e2 of _0x4aad22)if(_0x1c93e2[_0x4bfef8(0x1ae)]){for(const _0x5a83ba of _0x5b6334)for(const _0x246292 of _0x1c93e2[_0x4bfef8(0x19a)]())(_0x5a83ba[_0x4bfef8(0x1b0)](_0x246292)||_0x12ba07[_0x4bfef8(0x18c)]&&!_0x1c93e2[_0x4bfef8(0x18f)]&&_0x1c93e2[_0x4bfef8(0x1b4)]&&_0x246292[_0x4bfef8(0x1ad)][_0x4bfef8(0x19b)](_0x5a83ba[_0x4bfef8(0x1ab)]))&&_0x10849e[_0x4bfef8(0x1ac)](_0x1c93e2);}return _0x10849e;}export function getRangesOfBlockGroups(_0x4a1341,_0x1af51e){const _0x4e2cf1=_0xa8ea;let _0x42932f,_0x474282=0x0;const _0x1ee012=[],_0x30f008=_0x1af51e[_0x4e2cf1(0x194)];for(;_0x474282<_0x4a1341[_0x4e2cf1(0x19e)];){const _0x2fe0ec=_0x4a1341[_0x474282],_0x54a21f=_0x4a1341[_0x474282+0x1];_0x42932f||(_0x42932f=_0x1af51e[_0x4e2cf1(0x197)](_0x2fe0ec)),co(_0x1af51e,_0x2fe0ec,_0x54a21f)||(_0x1ee012[_0x4e2cf1(0x19d)](_0x1af51e[_0x4e2cf1(0x18e)](_0x42932f,_0x30f008[_0x4e2cf1(0x19f)](_0x2fe0ec)?_0x1af51e[_0x4e2cf1(0x192)](_0x2fe0ec):_0x1af51e[_0x4e2cf1(0x1a6)](_0x2fe0ec,_0x4e2cf1(0x1ad)))),_0x42932f=null),_0x474282++;}return _0x1ee012;}function co(_0x184fc6,_0x399944,_0x2d3e6b){const _0x5ba19c=_0xa8ea;if(!_0x2d3e6b)return!0x1;const _0x3dae7c=_0x184fc6[_0x5ba19c(0x192)](_0x399944),_0x1a1784=_0x184fc6[_0x5ba19c(0x197)](_0x2d3e6b);return _0x3dae7c[_0x5ba19c(0x19b)](_0x1a1784);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x442ada,_0x3fe729,_0x31d93c){const _0x3012e8=_0xa8ea;for(;_0x31d93c[_0x3012e8(0x19e)];){const _0xf54e77=_0x31d93c[_0x3012e8(0x195)](0x0,0x64);_0x442ada[_0x3012e8(0x1a3)](()=>{const _0x2f4645=_0x3012e8;for(const _0x2ec766 of _0xf54e77)_0x2ec766[_0x2f4645(0x1ae)]&&_0x3fe729[_0x2f4645(0x199)](_0x2ec766['id']);});}}function _0xa8ea(_0x887aeb,_0x267929){const _0x1777bc=_0x1777();return _0xa8ea=function(_0xa8eaff,_0x22010e){_0xa8eaff=_0xa8eaff-0x189;let _0x477ae8=_0x1777bc[_0xa8eaff];return _0x477ae8;},_0xa8ea(_0x887aeb,_0x267929);}function _0x1777(){const _0x5a3cc9=['3810527ViYtob','start','add','end','isInContent','6PMhIXX','isIntersecting','309HNUoad','\x20[color\x20','content','next','isArray','638942cdgpYG','177752jVXRCr','isCollapsed','180UwWJrt','createRange','isMultiRange','44711700ppsblR','1tPqINy','createPositionAfter','25176gutJHs','schema','splice','type','createPositionBefore','replace','execute','getRanges','isTouching','from','push','length','isObject','sort','deletion','map','change','11665600ZmQOVd','join','createPositionAt','color','6561505nKdxmg','value'];_0x1777=function(){return _0x5a3cc9;};return _0x1777();}
|