@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240624.0 → 0.0.0-nightly-20240625.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
|
-
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;}
|
|
23
|
+
function _0x3f7b(){const _0x2bbeaf=['TrackChangesUI','_annotationViews','_destroyController','lowest','getJoined','registerAnnotation','isDirty','discardButton','comments.maxThreadTotalWeight','18sGKaLy','comments.editorConfig','1199345UaJmGz','editing','execute','plugins','actionView','stopListening','type','5hyNEbq','delete','Annotations','keys','_updateController','size','acceptAllSuggestions','getMarkerNames','_handleSuggestionControllerDelayed','298696cYZgac','_refreshActiveMarkers','_suggestionToController','view','731214XwCCZi','activeMarkers','EditorAnnotations','menu','isOn','trackChanges.disableComments','SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','descriptionFactory','delegate','getByInnerView','comments.maxCommentCharsWhenCollapsed','CommentView','get','arrowView','addSourceCollector','from','suggestionUnloaded','reduce','mainView','Discard\x20all\x20suggestions','switchbutton','locale','filter','comments.maxCommentsWhenCollapsed','button','getRanges','commandName','getSuggestion','menuitem','menuBar:trackChanges','CommentsRepository','_viewToController','discardAllSuggestions','createCommentThreadController','activeAnnotations','suggestion-','listenTo','Track\x20changes','add','_createToolbarButton','separator','menuitemcheckbox','children','requires','149598MoiGyS','destroy','CommentsUI','hasSuggestion','_bindAnnotationToEditors','227402dGIpgA','toMany','_handleControllerBuffer','innerView','clear','refreshSelectedViews','change:activeAnnotations','discardSelectedSuggestions','panelView','_disableComments','has','suggestionChanged','set','descriptionParts','bind','length','createAnnotation','remove','_initializeController','trackChanges','Accept\x20all\x20suggestions','commentThread','isEnabled','acceptButton','value','buttonView','push','config','getMarkers','220440shwwTC','init','model','isMultiRange','trackChanges.SuggestionThreadView','focus','define','_unbindEditors','previous','some','suggestionLoaded','551312uUbuwC','change:previous','source','isInContent','pluginName','createAnnotationView','Accept\x20all\x20selected\x20suggestions','componentFactory','_createMenuBarMenu','_addUIComponentsToFactory','commands','head','comments','unbind','acceptSelectedSuggestions','editor','items','TrackChangesEditing','getFirstRange','values','getDescriptions','addComment','getAllAdjacentSuggestions'];_0x3f7b=function(){return _0x2bbeaf;};return _0x3f7b();}const _0x7971eb=_0x3862;(function(_0x676355,_0x5e3414){const _0x5d61c8=_0x3862,_0x41ee9f=_0x676355();while(!![]){try{const _0x565299=parseInt(_0x5d61c8(0x189))/0x1+-parseInt(_0x5d61c8(0x18e))/0x2+parseInt(_0x5d61c8(0x1ab))/0x3+parseInt(_0x5d61c8(0x126))/0x4+-parseInt(_0x5d61c8(0x14f))/0x5*(-parseInt(_0x5d61c8(0x15c))/0x6)+-parseInt(_0x5d61c8(0x148))/0x7+parseInt(_0x5d61c8(0x158))/0x8*(-parseInt(_0x5d61c8(0x146))/0x9);if(_0x565299===_0x5e3414)break;else _0x41ee9f['push'](_0x41ee9f['shift']());}catch(_0x52bab8){_0x41ee9f['push'](_0x41ee9f['shift']());}}}(_0x3f7b,0x1e0b9));import{Plugin as _0x55dbf3}from'ckeditor5/src/core.js';function _0x3862(_0x57964a,_0x382531){const _0x3f7b46=_0x3f7b();return _0x3862=function(_0x3862e0,_0x46dc5e){_0x3862e0=_0x3862e0-0x125;let _0xa43cee=_0x3f7b46[_0x3862e0];return _0xa43cee;},_0x3862(_0x57964a,_0x382531);}import{Collection as _0x256e81}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x514612,createDropdown as _0x303e86,ListSeparatorView as _0x479d23,MenuBarMenuView as _0x25b729,MenuBarMenuListView as _0x2ef346,MenuBarMenuListItemView as _0x2cd69a,MenuBarMenuListItemButtonView as _0x441c24,SplitButtonView as _0x1fa444,ViewModel as _0x30f4ba}from'ckeditor5/src/ui.js';import{Users as _0xeb5567,getDateTimeFormatter as _0x5c127e,getAllMarkersDomElementsSorted as _0x38b42e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb94a6 from'./trackchangesediting.js';import _0x10a28b from'./ui/suggestioncontroller.js';import _0x3e2bc7 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x32282f}from'./utils/common-translations.js';import _0x172f4b from'../theme/icons/track-changes.svg';export default class d extends _0x55dbf3{static get[_0x7971eb(0x188)](){const _0x4bdd91=_0x7971eb;return[_0xb94a6,_0xeb5567,_0x4bdd91(0x17b),_0x4bdd91(0x151),_0x4bdd91(0x15e)];}static get[_0x7971eb(0x12a)](){const _0x3d3cdb=_0x7971eb;return _0x3d3cdb(0x13d);}constructor(_0x26a98c){const _0x3c7ae7=_0x7971eb;super(_0x26a98c),this[_0x3c7ae7(0x15a)]=new Map(),this[_0x3c7ae7(0x17c)]=new Map(),this[_0x3c7ae7(0x13e)]=new Map(),this[_0x3c7ae7(0x190)]=new Map();const _0x3043dc=this[_0x3c7ae7(0x135)][_0x3c7ae7(0x1a9)];_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x1af),_0x3e2bc7),_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x161),!0x1),this[_0x3c7ae7(0x197)]=_0x3043dc[_0x3c7ae7(0x169)](_0x3c7ae7(0x161));}[_0x7971eb(0x157)](_0x569d23,_0x3cd56f){const _0x5a2dcc=_0x7971eb;0x0===this[_0x5a2dcc(0x190)][_0x5a2dcc(0x154)]&&setTimeout(()=>{const _0x47e4a9=_0x5a2dcc;for(const [_0x1d6e5f,_0x23d3e4]of this[_0x47e4a9(0x190)]){const _0x1a5f6c=this[_0x47e4a9(0x15a)][_0x47e4a9(0x198)](_0x1d6e5f);_0x1a5f6c||_0x23d3e4?_0x1a5f6c&&_0x23d3e4&&this[_0x47e4a9(0x13f)](_0x1d6e5f):this[_0x47e4a9(0x1a0)](_0x1d6e5f);}this[_0x47e4a9(0x190)][_0x47e4a9(0x192)](),this[_0x47e4a9(0x135)][_0x47e4a9(0x14b)][_0x47e4a9(0x169)](_0x47e4a9(0x15e))[_0x47e4a9(0x193)](),this[_0x47e4a9(0x159)]();},0xa),this[_0x5a2dcc(0x190)][_0x5a2dcc(0x19a)](_0x569d23,_0x3cd56f);}[_0x7971eb(0x1ac)](){const _0x1bfeea=_0x7971eb,_0x103917=this[_0x1bfeea(0x135)],_0x582894=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x137)),_0x4673e1=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x151)),_0x2e4d1b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x15e)),_0x5bbd7b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x17b));this[_0x1bfeea(0x12f)](),_0x2e4d1b[_0x1bfeea(0x16b)](()=>{const _0x26ded6=_0x1bfeea,_0x4e3293=[];for(const [_0x4296aa,_0x9f8db4]of Array[_0x26ded6(0x16c)](this[_0x26ded6(0x15a)])){const _0x4985d4=_0x4296aa[_0x26ded6(0x13c)](),_0x48f58c=[];for(const _0x2f995e of _0x4985d4){if(!_0x2f995e[_0x26ded6(0x129)])continue;if(_0x2f995e[_0x26ded6(0x1ae)]){_0x48f58c[_0x26ded6(0x1a8)](..._0x2f995e[_0x26ded6(0x176)]());continue;}const _0x1a5693=_0x2f995e[_0x26ded6(0x138)]();if(_0x48f58c[_0x26ded6(0x19d)]>0x0){const _0x2cba50=_0x48f58c[0x0][_0x26ded6(0x141)](_0x1a5693);if(_0x2cba50){_0x48f58c[0x0]=_0x2cba50;continue;}}_0x48f58c[_0x26ded6(0x1a8)](_0x1a5693);}_0x4e3293[_0x26ded6(0x1a8)]([_0x9f8db4[_0x26ded6(0x15b)],_0x48f58c]);}return _0x4e3293;}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x125),(_0xa9331,_0xa19fc)=>{const _0x180dc6=_0x1bfeea;this[_0x180dc6(0x181)](_0xa19fc,_0x180dc6(0x127),(_0x552dfe,_0x39a22e,_0x3c82dd,_0x13847f)=>{const _0x549e17=_0x180dc6;_0xa19fc[_0x549e17(0x129)]&&(null==_0x3c82dd?(this[_0x549e17(0x153)](_0x13847f[_0x549e17(0x131)]),this[_0x549e17(0x157)](_0xa19fc,!0x1)):(this[_0x549e17(0x153)](_0x3c82dd[_0x549e17(0x131)]),null==_0x13847f&&this[_0x549e17(0x157)](_0xa19fc,!0x0)));}),null!==_0xa19fc[_0x180dc6(0x1b3)]?this[_0x180dc6(0x153)](_0xa19fc[_0x180dc6(0x131)]):this[_0x180dc6(0x157)](_0xa19fc,!0x1);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x16d),(_0x561b93,_0x54e91d,_0x514495)=>{const _0x324ed6=_0x1bfeea;this[_0x324ed6(0x14d)](_0x54e91d,_0x324ed6(0x127)),this[_0x324ed6(0x190)][_0x324ed6(0x150)](_0x54e91d),this[_0x324ed6(0x15a)][_0x324ed6(0x198)](_0x54e91d)&&this[_0x324ed6(0x13f)](_0x54e91d),_0x514495&&this[_0x324ed6(0x153)](_0x514495[_0x324ed6(0x131)]);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x199),(_0x425136,_0xa2bbc6)=>{const _0x3c87de=_0x1bfeea;this[_0x3c87de(0x153)](_0xa2bbc6);}),this[_0x1bfeea(0x181)](_0x4673e1,_0x1bfeea(0x194),()=>{const _0x1cb666=_0x1bfeea;this[_0x1cb666(0x159)]();}),this[_0x1bfeea(0x181)](_0x5bbd7b,_0x1bfeea(0x13b),(_0x1236f5,{threadId:_0x2462d6,isFromAdapter:_0x2ce3ef})=>{const _0x50f51e=_0x1bfeea;if(_0x2ce3ef||!_0x582894[_0x50f51e(0x18c)](_0x2462d6))return;const _0x17d662=_0x582894[_0x50f51e(0x178)](_0x2462d6);this[_0x50f51e(0x15a)][_0x50f51e(0x169)](_0x17d662)[_0x50f51e(0x15b)][_0x50f51e(0x1b0)]();},{'priority':_0x1bfeea(0x140)});}[_0x7971eb(0x159)](){const _0x509f67=_0x7971eb,_0x5d9701=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x151)),_0x1f5480=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x137)),_0x3b2450=Array[_0x509f67(0x16c)](_0x5d9701[_0x509f67(0x17f)],_0x49cf78=>_0x49cf78[_0x509f67(0x191)])[_0x509f67(0x173)](_0x27e044=>this[_0x509f67(0x17c)][_0x509f67(0x198)](_0x27e044)),_0x3fce00=[];for(const _0x1df190 of _0x3b2450){const _0x3c4a7e=this[_0x509f67(0x17c)][_0x509f67(0x169)](_0x1df190)[_0x509f67(0x1ad)][_0x509f67(0x13c)]();_0x3fce00[_0x509f67(0x1a8)](..._0x3c4a7e[_0x509f67(0x16e)]((_0x3b3453,_0x3c6597)=>[..._0x3b3453,..._0x3c6597[_0x509f67(0x156)]()],[]));}_0x1f5480[_0x509f67(0x15d)]=_0x3fce00;}[_0x7971eb(0x12f)](){const _0x274932=_0x7971eb,_0x224a04=this[_0x274932(0x135)],_0x58f442=_0x224a04[_0x274932(0x172)],_0x20bb46=_0x32282f(_0x58f442,_0x274932(0x182)),_0xe10829=new _0x256e81([{'type':_0x274932(0x171),'model':new _0x30f4ba({'withText':!0x0,'label':_0x20bb46,'commandName':_0x274932(0x1a1),'role':_0x274932(0x186)})},{'type':_0x274932(0x185)},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x1a2)),'commandName':_0x274932(0x155),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x12c)),'commandName':_0x274932(0x134),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x170)),'commandName':_0x274932(0x17d),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x163)),'commandName':_0x274932(0x195),'role':_0x274932(0x179)})}]);for(const _0x553e89 of _0xe10829)if(ae(_0x553e89)){const _0x9d875d=_0x224a04[_0x274932(0x130)][_0x274932(0x169)](_0x553e89[_0x274932(0x1ad)][_0x274932(0x177)]);_0x553e89[_0x274932(0x1ad)][_0x274932(0x19c)](_0x274932(0x160),_0x274932(0x1a4))['to'](_0x9d875d,_0x274932(0x1a6),_0x274932(0x1a4));}_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x1a1),_0x333db3=>this[_0x274932(0x184)](_0x333db3,_0xe10829,_0x20bb46)),_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x17a),_0x427efc=>this[_0x274932(0x12e)](_0x427efc,_0xe10829,_0x20bb46));}[_0x7971eb(0x184)](_0x5a1043,_0x252b38,_0x1a1ba1){const _0x4db4d5=_0x7971eb,_0xf5b258=_0x303e86(_0x5a1043,_0x1fa444),_0x29a9d0=this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x4db4d5(0x1a1));_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19a)]({'tooltip':_0x1a1ba1,'label':_0x1a1ba1,'icon':_0x172f4b}),_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19c)](_0x4db4d5(0x160))['to'](_0x29a9d0,_0x4db4d5(0x1a6)),_0xf5b258[_0x4db4d5(0x1a7)]['on'](_0x4db4d5(0x14a),()=>{const _0x2c332f=_0x4db4d5;_0x29a9d0[_0x2c332f(0x14a)](),this[_0x2c332f(0x135)][_0x2c332f(0x149)][_0x2c332f(0x15b)][_0x2c332f(0x1b0)]();}),_0x514612(_0xf5b258,_0x252b38,{'role':_0x4db4d5(0x15f)});const _0x1993b6=[];for(const _0x174fb4 of _0x252b38)ae(_0x174fb4)&&_0x1993b6[_0x4db4d5(0x1a8)](this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x174fb4[_0x4db4d5(0x1ad)][_0x4db4d5(0x177)]));const _0x4be09c=_0xf5b258[_0x4db4d5(0x1a7)];return _0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))['to'](_0x29a9d0,_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))[_0x4db4d5(0x18f)](_0x1993b6,_0x4db4d5(0x1a4),(..._0x1f0287)=>_0x1f0287[_0x4db4d5(0x1b4)](_0x1d5064=>_0x1d5064)),_0xf5b258['on'](_0x4db4d5(0x14a),_0x3aadfd=>{const _0xbd45c=_0x4db4d5;this[_0xbd45c(0x135)][_0xbd45c(0x14a)](_0x3aadfd[_0xbd45c(0x128)][_0xbd45c(0x177)]),this[_0xbd45c(0x135)][_0xbd45c(0x149)][_0xbd45c(0x15b)][_0xbd45c(0x1b0)]();}),_0xf5b258;}[_0x7971eb(0x12e)](_0x33819d,_0x210275,_0x2ddd1e){const _0x42d793=_0x7971eb,_0x1d22da=new _0x25b729(_0x33819d),_0xbdd473=this[_0x42d793(0x135)][_0x42d793(0x130)][_0x42d793(0x169)](_0x42d793(0x1a1));_0x1d22da[_0x42d793(0x1a7)][_0x42d793(0x19a)]({'label':_0x2ddd1e,'icon':_0x172f4b});const _0x289a4a=new _0x2ef346(_0x33819d);for(const _0x37992c of _0x210275){if(_0x42d793(0x185)==_0x37992c[_0x42d793(0x14e)]){_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](new _0x479d23(_0x33819d));continue;}const _0x1b9d8b=new _0x2cd69a(_0x33819d,_0x1d22da),_0x20cb2c=new _0x441c24(_0x33819d),_0x5e87fd=_0x37992c[_0x42d793(0x1ad)];_0x20cb2c[_0x42d793(0x19c)](...Object[_0x42d793(0x152)](_0x5e87fd))['to'](_0x5e87fd),_0x20cb2c[_0x42d793(0x165)](_0x42d793(0x14a))['to'](_0x1d22da),_0x20cb2c['on'](_0x42d793(0x14a),()=>{const _0x2a12c8=_0x42d793;this[_0x2a12c8(0x135)][_0x2a12c8(0x14a)](_0x5e87fd[_0x2a12c8(0x177)]),this[_0x2a12c8(0x135)][_0x2a12c8(0x149)][_0x2a12c8(0x15b)][_0x2a12c8(0x1b0)]();}),_0x1b9d8b[_0x42d793(0x187)][_0x42d793(0x183)](_0x20cb2c),_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](_0x1b9d8b);}return _0x1d22da[_0x42d793(0x19c)](_0x42d793(0x1a4))['to'](_0xbdd473,_0x42d793(0x1a4)),_0x1d22da[_0x42d793(0x196)][_0x42d793(0x187)][_0x42d793(0x183)](_0x289a4a),_0x1d22da;}[_0x7971eb(0x1a0)](_0x56909f){const _0x4494d8=_0x7971eb,_0x181972=this[_0x4494d8(0x135)],_0x14b56f=_0x181972[_0x4494d8(0x1a9)],_0x53f131=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x151)),_0x2ca852=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x17b)),_0x23344c=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x15e)),_0x2d248a=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0xeb5567)['me'],_0x23b66e=_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x1a1))[_0x4494d8(0x162)],{CommentsListView:_0x3b2b37,CommentThreadInputView:_0x1a1a45}=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x18b));let _0x5c3e09,_0xd76dd9;this[_0x4494d8(0x13e)][_0x4494d8(0x198)](_0x56909f['id'])?(_0xd76dd9=this[_0x4494d8(0x13e)][_0x4494d8(0x169)](_0x56909f['id']),_0x5c3e09=_0xd76dd9[_0x4494d8(0x16f)]):(_0x5c3e09=new _0x23b66e(_0x181972[_0x4494d8(0x172)],_0x56909f,_0x2d248a,{'disableComments':this[_0x4494d8(0x197)],'editorConfig':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x147)),'maxCommentsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x174)),'maxThreadTotalWeight':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x145)),'maxCommentCharsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x167)),'formatDateTime':_0x5c127e(_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x172))),'CommentView':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x132))[_0x4494d8(0x168)],'CommentsListView':_0x3b2b37,'CommentThreadInputView':_0x1a1a45}),_0x5c3e09[_0x4494d8(0x1a5)]['on'](_0x4494d8(0x14a),()=>{const _0x58084c=_0x4494d8;_0x181972[_0x58084c(0x149)][_0x58084c(0x15b)][_0x58084c(0x1b0)]();}),_0x5c3e09[_0x4494d8(0x144)]['on'](_0x4494d8(0x14a),()=>{const _0xc90225=_0x4494d8;_0x181972[_0xc90225(0x149)][_0xc90225(0x15b)][_0xc90225(0x1b0)]();}),_0xd76dd9=_0x53f131[_0x4494d8(0x12b)](this[_0x4494d8(0x135)][_0x4494d8(0x172)],_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x143))['to'](_0x5c3e09,_0x4494d8(0x143)),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x19d))['to'](_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x14e))['to'](_0x5c3e09,_0x4494d8(0x14e),_0x338900=>_0x4494d8(0x180)+_0x338900),this[_0x4494d8(0x13e)][_0x4494d8(0x19a)](_0x56909f['id'],_0xd76dd9));const _0x4aeeeb=_0x2ca852[_0x4494d8(0x17e)](_0x56909f[_0x4494d8(0x1a3)],_0x5c3e09),_0xa37a5c=new _0x10a28b(_0x181972,_0x56909f,_0x5c3e09,_0x4aeeeb),_0x1940d9=_0x56909f[_0x4494d8(0x13c)]()[_0x4494d8(0x173)](_0x5c8104=>_0x5c8104[_0x4494d8(0x129)]);_0x5c3e09[_0x4494d8(0x19b)]=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x137))[_0x4494d8(0x164)][_0x4494d8(0x13a)](_0x1940d9),this[_0x4494d8(0x15a)][_0x4494d8(0x19a)](_0x56909f,_0xa37a5c),this[_0x4494d8(0x17c)][_0x4494d8(0x19a)](_0x5c3e09,_0xa37a5c);const _0x554e82=_0x53f131[_0x4494d8(0x19e)]({'view':_0xd76dd9,'target':()=>{const _0x1ac13e=_0x4494d8,_0x5a0729=[],_0x3ea925=_0x56909f[_0x1ac13e(0x13c)]()[_0x1ac13e(0x173)](_0x4c66f9=>_0x4c66f9[_0x1ac13e(0x129)]);for(const _0x1440df of _0x3ea925)_0x5a0729[_0x1ac13e(0x1a8)](..._0x1440df[_0x1ac13e(0x1aa)]());return _0x38b42e(_0x181972[_0x1ac13e(0x149)],_0x5a0729);},'type':()=>_0x4494d8(0x180)+_0xa37a5c[_0x4494d8(0x15b)][_0x4494d8(0x14e)]});_0x2ca852[_0x4494d8(0x18d)](_0x5c3e09,_0x554e82),_0x53f131[_0x4494d8(0x183)](_0x554e82),_0x23344c[_0x4494d8(0x142)](_0x554e82);}[_0x7971eb(0x13f)](_0x4e47f0){const _0x1cb4b8=_0x7971eb,_0x29f094=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x17b)),_0x13743a=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x151)),_0x18a3dc=this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x169)](_0x4e47f0),_0x1c5467=_0x18a3dc[_0x1cb4b8(0x15b)],_0x3ca5cf=_0x13743a[_0x1cb4b8(0x166)](_0x1c5467);_0x29f094[_0x1cb4b8(0x1b2)](_0x1c5467),_0x3ca5cf&&_0x13743a[_0x1cb4b8(0x19f)](_0x3ca5cf),this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x150)](_0x4e47f0),this[_0x1cb4b8(0x17c)][_0x1cb4b8(0x150)](_0x1c5467),_0x18a3dc[_0x1cb4b8(0x18a)]();}[_0x7971eb(0x153)](_0x2ea6e1){const _0x25c95e=_0x7971eb;if(!_0x2ea6e1[_0x25c95e(0x129)]||!this[_0x25c95e(0x15a)][_0x25c95e(0x198)](_0x2ea6e1))return;const _0x11e405=this[_0x25c95e(0x135)][_0x25c95e(0x14b)][_0x25c95e(0x169)](_0x25c95e(0x137)),_0x11e3f=this[_0x25c95e(0x15a)][_0x25c95e(0x169)](_0x2ea6e1),_0x30722e=_0x2ea6e1[_0x25c95e(0x13c)]();_0x11e3f[_0x25c95e(0x15b)][_0x25c95e(0x19b)]=_0x11e405[_0x25c95e(0x164)][_0x25c95e(0x13a)](_0x30722e);}[_0x7971eb(0x18a)](){const _0x41de71=_0x7971eb;for(const _0x36fbdd of this[_0x41de71(0x15a)][_0x41de71(0x152)]())this[_0x41de71(0x13f)](_0x36fbdd);for(const _0x1c9420 of this[_0x41de71(0x13e)][_0x41de71(0x139)]())_0x1c9420[_0x41de71(0x16f)][_0x41de71(0x18a)]();super[_0x41de71(0x18a)]();}}function ae(_0x27624e){const _0x57299b=_0x7971eb;return _0x57299b(0x1ad)in _0x27624e;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x546a(){const _0x20e86b=['isDirty','346710sFywVk','isEnabled','execute','_pendingAction','stopListening','10bgJtwZ','listenTo','_removePendingAction','view','canEditAt','_editor','3337424LNKEcr','add','3IAucTh','4256052QlQhwJ','_setPendingAction','remove','plugins','destroy','1472452kGuCoj','_acceptCommand','2381031HYiWGH','401440kjofdQ','PendingActions','commands','discardSuggestion','bind','canAccept','unbind','412279rwzeru','locale','_discardCommand','model','128QXUBGP','change:isDirty','getRanges','get','acceptSuggestion','canDiscard','PENDING_ACTION_SUGGESTION','commentThreadController'];_0x546a=function(){return _0x20e86b;};return _0x546a();}const _0x409c59=_0x4598;(function(_0x1053c6,_0x2798b9){const _0x582220=_0x4598,_0x264f5c=_0x1053c6();while(!![]){try{const _0x3afbc1=parseInt(_0x582220(0xdc))/0x1+-parseInt(_0x582220(0x103))/0x2+parseInt(_0x582220(0xfd))/0x3*(parseInt(_0x582220(0xfb))/0x4)+parseInt(_0x582220(0xf0))/0x5+-parseInt(_0x582220(0xfe))/0x6+-parseInt(_0x582220(0xe3))/0x7*(-parseInt(_0x582220(0xe7))/0x8)+parseInt(_0x582220(0x105))/0x9*(-parseInt(_0x582220(0xf5))/0xa);if(_0x3afbc1===_0x2798b9)break;else _0x264f5c['push'](_0x264f5c['shift']());}catch(_0x14e75f){_0x264f5c['push'](_0x264f5c['shift']());}}}(_0x546a,0x83313));function _0x4598(_0x5015d6,_0x2d5762){const _0x546a15=_0x546a();return _0x4598=function(_0x45984f,_0x61420e){_0x45984f=_0x45984f-0xdc;let _0x1e3981=_0x546a15[_0x45984f];return _0x1e3981;},_0x4598(_0x5015d6,_0x2d5762);}import{ObservableMixin as _0x51c18c}from'ckeditor5/src/utils.js';import{getTranslation as _0x356764}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x51c18c(){constructor(_0x20a7ab,_0x34bb1f,_0xd51866,_0x208d9e){const _0x24dadc=_0x4598;super(),this[_0x24dadc(0xe6)]=_0x34bb1f,this[_0x24dadc(0xf8)]=_0xd51866,this[_0x24dadc(0xee)]=_0x208d9e,this[_0x24dadc(0xfa)]=_0x20a7ab,this[_0x24dadc(0x104)]=_0x20a7ab[_0x24dadc(0xde)][_0x24dadc(0xea)](_0x24dadc(0xeb)),this[_0x24dadc(0xe5)]=_0x20a7ab[_0x24dadc(0xde)][_0x24dadc(0xea)](_0x24dadc(0xdf)),this[_0x24dadc(0xf8)][_0x24dadc(0xe0)](_0x24dadc(0xf1))['to'](this[_0x24dadc(0x104)],this[_0x24dadc(0xe5)],(_0x520bb4,_0x509df5)=>_0x520bb4||_0x509df5),this[_0x24dadc(0xf8)][_0x24dadc(0xe0)](_0x24dadc(0xe1))['to'](this[_0x24dadc(0x104)],_0x24dadc(0xf1),_0x5167a0=>_0x5167a0&&this[_0x24dadc(0xfa)][_0x24dadc(0xe6)][_0x24dadc(0xf9)](_0x34bb1f[_0x24dadc(0xe9)]())),this[_0x24dadc(0xf8)][_0x24dadc(0xe0)](_0x24dadc(0xec))['to'](this[_0x24dadc(0xe5)],_0x24dadc(0xf1),_0x42dee3=>_0x42dee3&&this[_0x24dadc(0xfa)][_0x24dadc(0xe6)][_0x24dadc(0xf9)](_0x34bb1f[_0x24dadc(0xe9)]())),this[_0x24dadc(0xf3)]=null,_0xd51866[_0x24dadc(0xef)]&&this[_0x24dadc(0xff)](),this[_0x24dadc(0xf6)](_0xd51866,_0x24dadc(0xeb),()=>this[_0x24dadc(0xeb)]()),this[_0x24dadc(0xf6)](_0xd51866,_0x24dadc(0xdf),()=>this[_0x24dadc(0xdf)]()),this[_0x24dadc(0xf6)](_0xd51866,_0x24dadc(0xe8),()=>{const _0x485cc3=_0x24dadc;_0xd51866[_0x485cc3(0xef)]?this[_0x485cc3(0xff)]():this[_0x485cc3(0xf7)]();});}[_0x409c59(0xeb)](){const _0x1543c7=_0x409c59;this[_0x1543c7(0x104)][_0x1543c7(0xf2)](this[_0x1543c7(0xe6)]['id']);}[_0x409c59(0xdf)](){const _0x5b912e=_0x409c59;this[_0x5b912e(0xe5)][_0x5b912e(0xf2)](this[_0x5b912e(0xe6)]['id']);}[_0x409c59(0x102)](){const _0x42b244=_0x409c59;this[_0x42b244(0xf8)][_0x42b244(0xe2)](_0x42b244(0xf1)),this[_0x42b244(0xf8)][_0x42b244(0xe2)](_0x42b244(0xe1)),this[_0x42b244(0xf8)][_0x42b244(0xe2)](_0x42b244(0xec)),this[_0x42b244(0xf4)](),this[_0x42b244(0xee)][_0x42b244(0x102)](),this[_0x42b244(0xf3)]&&this[_0x42b244(0xf7)]();}[_0x409c59(0xff)](){const _0x5345a5=_0x409c59,_0x55ac6d=_0x356764(this[_0x5345a5(0xfa)][_0x5345a5(0xe4)],_0x5345a5(0xed));this[_0x5345a5(0xf3)]=this[_0x5345a5(0xfa)][_0x5345a5(0x101)][_0x5345a5(0xea)](_0x5345a5(0xdd))[_0x5345a5(0xfc)](_0x55ac6d);}[_0x409c59(0xf7)](){const _0x1fab83=_0x409c59;null!==this[_0x1fab83(0xf3)]&&this[_0x1fab83(0xfa)][_0x1fab83(0x101)][_0x1fab83(0xea)](_0x1fab83(0xdd))[_0x1fab83(0x100)](this[_0x1fab83(0xf3)]),this[_0x1fab83(0xf3)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x25dc(_0x167d66,_0x3b2d6a){const _0x482146=_0x4821();return _0x25dc=function(_0x25dc00,_0x20de67){_0x25dc00=_0x25dc00-0x65;let _0x273e18=_0x482146[_0x25dc00];return _0x273e18;},_0x25dc(_0x167d66,_0x3b2d6a);}const _0x369ecd=_0x25dc;function _0x4821(){const _0x1178d9=['isActive','commentThread','fire','length','isDirty','value','locale','destroy','setData','bind','_createCommentViews','authoredAt','65496YMslQW','_localUser','1505502oMyCne','isReadOnly','set','64479iIdYEt','commentInputView','_createCommentThreadInputView','1113ZuCawD','submit','20PCwqEP','_config','79590JgAmVx','addComment','canAccept','_model','descriptionParts','editor','8648YHTPKs','editorConfig','hasDirtyComment','focus','disabledSubmit','canDiscard','removeComment','updateComment','delegate','assign','5825570NRPXIL','showInput','disableComments','cancel','CommentView','commentsListView','1404696OuEZeN','isEnabled','element','commentThreadInputView','14CGkTRS'];_0x4821=function(){return _0x1178d9;};return _0x4821();}(function(_0x31705c,_0x5e403f){const _0x54893d=_0x25dc,_0x25d4b4=_0x31705c();while(!![]){try{const _0x4cd446=parseInt(_0x54893d(0x74))/0x1+parseInt(_0x54893d(0x95))/0x2*(parseInt(_0x54893d(0x7b))/0x3)+parseInt(_0x54893d(0x6f))/0x4*(-parseInt(_0x54893d(0x79))/0x5)+parseInt(_0x54893d(0x91))/0x6+parseInt(_0x54893d(0x77))/0x7*(parseInt(_0x54893d(0x81))/0x8)+parseInt(_0x54893d(0x71))/0x9+-parseInt(_0x54893d(0x8b))/0xa;if(_0x4cd446===_0x5e403f)break;else _0x25d4b4['push'](_0x25d4b4['shift']());}catch(_0x4bc789){_0x25d4b4['push'](_0x25d4b4['shift']());}}}(_0x4821,0x2ad31));import{View as _0x306739}from'ckeditor5/src/ui.js';export default class es extends _0x306739{constructor(_0x50498c,_0xcb956b,_0x25688c,_0x46d286){const _0x527ed7=_0x25dc;super(_0x50498c),this[_0x527ed7(0x90)]=null,this[_0x527ed7(0x94)]=null,this[_0x527ed7(0x73)](_0x527ed7(0x96),!0x1),this[_0x527ed7(0x73)](_0x527ed7(0x6e),_0xcb956b[_0x527ed7(0x6e)]),this[_0x527ed7(0x6c)](_0x527ed7(0x6e))['to'](_0xcb956b),this[_0x527ed7(0x73)](_0x527ed7(0x7f),[]),this[_0x527ed7(0x73)](_0x527ed7(0x67),!0x1),this[_0x527ed7(0x73)](_0x527ed7(0x92),!0x1),this[_0x527ed7(0x73)](_0x527ed7(0x7d),!0x1),this[_0x527ed7(0x73)](_0x527ed7(0x86),!0x1),this[_0x527ed7(0x7e)]=_0xcb956b,this[_0x527ed7(0x70)]=_0x25688c,this[_0x527ed7(0x7a)]=_0x46d286,_0x46d286[_0x527ed7(0x8d)]?this[_0x527ed7(0x73)](_0x527ed7(0x66),0x1):this[_0x527ed7(0x6d)]();}[_0x369ecd(0x84)](){const _0x51c7b8=_0x369ecd;this[_0x51c7b8(0x93)][_0x51c7b8(0x84)]();}[_0x369ecd(0x6a)](){const _0x444f5c=_0x369ecd;this[_0x444f5c(0x90)]&&this[_0x444f5c(0x90)][_0x444f5c(0x6a)](),this[_0x444f5c(0x94)]&&this[_0x444f5c(0x94)][_0x444f5c(0x6a)](),super[_0x444f5c(0x6a)]();}[_0x369ecd(0x6d)](){const _0x222346=_0x369ecd,{CommentsListView:_0x1db184}=this[_0x222346(0x7a)];this[_0x222346(0x90)]=new _0x1db184(this[_0x222346(0x69)],this[_0x222346(0x7e)][_0x222346(0x97)],Object[_0x222346(0x8a)]({'CommentView':this[_0x222346(0x7a)][_0x222346(0x8f)]},this[_0x222346(0x7a)])),this[_0x222346(0x90)][_0x222346(0x89)](_0x222346(0x87))['to'](this),this[_0x222346(0x90)][_0x222346(0x89)](_0x222346(0x88))['to'](this),this[_0x222346(0x90)][_0x222346(0x6c)](_0x222346(0x96))['to'](this),this[_0x222346(0x73)](_0x222346(0x66),this[_0x222346(0x90)][_0x222346(0x66)]+0x1),this[_0x222346(0x6c)](_0x222346(0x66))['to'](this[_0x222346(0x90)],_0x222346(0x66),_0x107f7b=>_0x107f7b+0x1),this[_0x222346(0x94)]=this[_0x222346(0x76)](),this['on'](_0x222346(0x87),()=>this[_0x222346(0x84)]()),this[_0x222346(0x6c)](_0x222346(0x67))['to'](this[_0x222346(0x90)],_0x222346(0x83),this[_0x222346(0x94)][_0x222346(0x75)],_0x222346(0x68),(_0x20f0b4,_0x4041c1)=>_0x20f0b4||!!_0x4041c1);}[_0x369ecd(0x76)](){const _0x131934=_0x369ecd,{CommentThreadInputView:_0x2912e7}=this[_0x131934(0x7a)],_0x13b47c=new _0x2912e7(this[_0x131934(0x69)],this[_0x131934(0x70)],this[_0x131934(0x7a)][_0x131934(0x82)]),_0x5c2a96=_0x13b47c[_0x131934(0x75)];return _0x13b47c[_0x131934(0x6c)](_0x131934(0x8c))['to'](this,_0x131934(0x96),this[_0x131934(0x7e)][_0x131934(0x97)],_0x131934(0x72),_0x5c2a96,_0x131934(0x68),(_0x1ac367,_0xa8d0b1,_0x5b39a3)=>!!_0x5b39a3||_0x1ac367&&!_0xa8d0b1),_0x5c2a96['on'](_0x131934(0x78),(_0x24641e,_0x563dd2)=>{const _0x2368e2=_0x131934;this[_0x2368e2(0x65)](_0x2368e2(0x7c),_0x563dd2),_0x5c2a96[_0x2368e2(0x80)][_0x2368e2(0x6b)]('');}),_0x5c2a96['on'](_0x131934(0x8e),()=>this[_0x131934(0x84)]()),_0x5c2a96[_0x131934(0x6c)](_0x131934(0x85))['to'](this[_0x131934(0x7e)][_0x131934(0x97)],_0x131934(0x72)),_0x13b47c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x350b91=_0x34c1;(function(_0x3103fd,_0x49865c){const _0xb55afb=_0x34c1,_0xc545c4=_0x3103fd();while(!![]){try{const _0x3eac9c=parseInt(_0xb55afb(0x1b0))/0x1+parseInt(_0xb55afb(0x185))/0x2*(parseInt(_0xb55afb(0x169))/0x3)+parseInt(_0xb55afb(0x1a3))/0x4+-parseInt(_0xb55afb(0x1b6))/0x5*(parseInt(_0xb55afb(0x199))/0x6)+-parseInt(_0xb55afb(0x196))/0x7+-parseInt(_0xb55afb(0x1b7))/0x8+parseInt(_0xb55afb(0x1a6))/0x9*(parseInt(_0xb55afb(0x192))/0xa);if(_0x3eac9c===_0x49865c)break;else _0xc545c4['push'](_0xc545c4['shift']());}catch(_0x53488b){_0xc545c4['push'](_0xc545c4['shift']());}}}(_0x550b,0xbdd54));function _0x34c1(_0x4a2104,_0x2009b7){const _0x550b25=_0x550b();return _0x34c1=function(_0x34c16e,_0x7b3b73){_0x34c16e=_0x34c16e-0x151;let _0x10bde7=_0x550b25[_0x34c16e];return _0x10bde7;},_0x34c1(_0x4a2104,_0x2009b7);}import{getTranslation as _0x1cd50b}from'../../utils/common-translations.js';import{default as _0xbac01d}from'./basesuggestionthreadview.js';import{ButtonView as _0x28c244}from'ckeditor5/src/ui.js';function _0x550b(){const _0xfec809=['descriptionParts','extendTemplate','Accept\x20suggestion','map','editorReady','commentThread','cancel','fire','push','45FPTqlR','set','span','ck-annotation__info','querySelector','ck-suggestion__info','delegate','ck-suggestion-','ck-suggestion-wrapper','ck-suggestion-wrapper--active','isExternal','canDiscard','_config','attributes','join','check','_createButton','execute','ck-comment__external','getTemplate','formatDateTime','title','ck-suggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation__info-name','bindTemplate','ck-suggestion--discard','editorDestroyed','116894Eelxrk','</p>','change:description','createElement','acceptButton','ck-suggestion--disabled-comments','value','ck-suggestion__info-name','source','.ck-annotation__content-wrapper','discardButton','creator','render','143660qoOuib','importWord','name','EXTERNAL_IMPORT_WORD_AVATAR','7081151mkcmUu','</span>','time','549174ItdAtJ','ck-suggestion__actions','userView','isEnabled','authoredAt','ck-annotation','EXTERNAL_IMPORT_WORD_SUGGESTION','@external','color','ck-comment__info-time','4934688PFNXcW','ck-suggestion__user','Discard\x20suggestion','1287IKRaVg','_model','ck-suggestion__main','split','acceptSuggestion','_descriptionElement','EXTERNAL_AVATAR','discardSuggestion','canAccept','getExternalSuggestionNote','95826zLbDhK','isActive','ck-suggestion--accept','ck-annotation__user','<p>','bind','55BQeOso','11716584CnXJHT','setTemplate','EXTERNAL_SUGGESTION','getUserViewNotificationText','commentsListView','commentThreadInputView','<span\x20class=\x22ck-suggestion-type\x22>','div','type','\x22></span>','description','content','innerHTML','children','ck-annotation__info-time','ck-annotation__main','author','innerText','disableComments','element','ck-annotation__actions','\x22\x20title=\x22','ck-annotation__content-wrapper','locale'];_0x550b=function(){return _0xfec809;};return _0x550b();}import{icons as _0x51b297}from'ckeditor5/src/core.js';import{trimHtml as _0x34b05c,UserView as _0x4e38ba}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0xbac01d{constructor(_0x21328d,_0x41b254,_0x1ebfc5,_0x460f5f){const _0x1c5590=_0x34c1;super(_0x21328d,_0x41b254,_0x1ebfc5,_0x460f5f),this[_0x1c5590(0x16a)](_0x1c5590(0x1bf),''),this[_0x1c5590(0x1b5)](_0x1c5590(0x1bf))['to'](this,_0x1c5590(0x160),_0x25a255=>_0x25a255&&_0x25a255[0x0]?_0x25a255[0x0][_0x1c5590(0x1bf)]:''),this[_0x1c5590(0x1b5)](_0x1c5590(0x152))['to'](this,_0x1c5590(0x160),this,_0x1c5590(0x1b1),(_0x53b59d,_0x341966)=>{const _0x3861b3=_0x1c5590;let _0x5d882c='';for(const _0x2246c1 of _0x53b59d)_0x5d882c+=_0x3861b3(0x1b4)+ds(_0x2246c1[_0x3861b3(0x153)],_0x2246c1[_0x3861b3(0x1a1)])+_0x3861b3(0x186);return _0x341966?_0x5d882c:_0x34b05c(_0x5d882c,{'limit':0x8c});}),this[_0x1c5590(0x1ab)]=null,this[_0x1c5590(0x189)]=this[_0x1c5590(0x179)](_0x1cd50b(_0x21328d,_0x1c5590(0x162)),_0x51b297[_0x1c5590(0x178)],_0x1c5590(0x1b2),_0x1c5590(0x1aa),'sw'),this[_0x1c5590(0x189)][_0x1c5590(0x1b5)](_0x1c5590(0x19c))['to'](this,_0x1c5590(0x1ae)),this[_0x1c5590(0x18f)]=this[_0x1c5590(0x179)](_0x1cd50b(_0x21328d,_0x1c5590(0x1a5)),_0x51b297[_0x1c5590(0x166)],_0x1c5590(0x183),_0x1c5590(0x1ad),'sw'),this[_0x1c5590(0x18f)][_0x1c5590(0x1b5)](_0x1c5590(0x19c))['to'](this,_0x1c5590(0x174)),this[_0x1c5590(0x19b)]=new _0x4e38ba(_0x21328d,this[_0x1c5590(0x1a7)][_0x1c5590(0x158)],this[_0x1c5590(0x1ba)]()),this[_0x1c5590(0x19b)][_0x1c5590(0x161)]({'attributes':{'class':[_0x1c5590(0x1a4),_0x1c5590(0x1b3)]}}),this[_0x1c5590(0x1b8)](this[_0x1c5590(0x17c)]());}[_0x350b91(0x17c)](){const _0x24935a=_0x350b91,_0x5bec6=this[_0x24935a(0x182)],_0x85ead9=[{'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x16e),_0x24935a(0x16c)]},'children':[{'tag':_0x24935a(0x16b),'children':[{'text':this[_0x24935a(0x19b)][_0x24935a(0x194)]}],'attributes':{'class':[_0x24935a(0x18c),_0x24935a(0x181)]}},{'tag':_0x24935a(0x198),'attributes':{'datetime':_0x5bec6['to'](_0x24935a(0x19d)),'class':[_0x24935a(0x1a2),_0x24935a(0x156)]},'children':[{'text':_0x5bec6['to'](_0x24935a(0x19d),_0x241ff7=>this[_0x24935a(0x175)][_0x24935a(0x17d)](_0x241ff7))}]}]},{'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x19a),_0x24935a(0x15c)]},'children':[this[_0x24935a(0x189)],this[_0x24935a(0x18f)]]},{'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x15e)]}}];this[_0x24935a(0x1a7)][_0x24935a(0x173)]&&_0x85ead9[_0x24935a(0x168)]({'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x17b)]},'children':[{'text':this[_0x24935a(0x1af)]()}]});const _0x5376bd={'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x171),_0x5bec6['if'](_0x24935a(0x1b1),_0x24935a(0x172)),_0x5bec6['to'](_0x24935a(0x1bf),_0x470a1f=>_0x24935a(0x170)+_0x470a1f),this[_0x24935a(0x175)][_0x24935a(0x15a)]&&_0x24935a(0x18a)],'data-suggestion-id':this[_0x24935a(0x1a7)]['id'],'data-thread-id':this[_0x24935a(0x1a7)][_0x24935a(0x165)]['id'],'data-author-id':this[_0x24935a(0x1a7)][_0x24935a(0x158)]['id'],'tabindex':-0x1},'children':[{'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x17f),_0x24935a(0x19e)]},'children':[this[_0x24935a(0x19b)],{'tag':_0x24935a(0x1be),'attributes':{'class':[_0x24935a(0x1a8),_0x24935a(0x157)]},'children':_0x85ead9}]}]};return this[_0x24935a(0x1bb)]&&this[_0x24935a(0x1bc)]&&(_0x5376bd[_0x24935a(0x155)][_0x24935a(0x168)](this[_0x24935a(0x1bb)],this[_0x24935a(0x1bc)]),this[_0x24935a(0x1bb)][_0x24935a(0x16f)](_0x24935a(0x164))['to'](this),this[_0x24935a(0x1bb)][_0x24935a(0x16f)](_0x24935a(0x184))['to'](this),this[_0x24935a(0x1bc)][_0x24935a(0x16f)](_0x24935a(0x164))['to'](this),this[_0x24935a(0x1bc)][_0x24935a(0x16f)](_0x24935a(0x184))['to'](this)),_0x5376bd;}[_0x350b91(0x191)](){const _0x357017=_0x350b91;super[_0x357017(0x191)](),this[_0x357017(0x1ab)]=this[_0x357017(0x15b)][_0x357017(0x16d)](_0x357017(0x18e)),this[_0x357017(0x1ab)][_0x357017(0x154)]=this[_0x357017(0x152)],this['on'](_0x357017(0x187),(_0x4b4f64,_0xd6cb9c,_0x3b739d)=>{const _0x1a7448=_0x357017;this[_0x1a7448(0x1ab)][_0x1a7448(0x154)]=_0x3b739d;});}[_0x350b91(0x179)](_0x1d8072,_0x74feb8,_0x278f48,_0x424a55,_0x4d5ac4){const _0x4e20f0=_0x350b91,_0x44cc1e=new _0x28c244(this[_0x4e20f0(0x15f)]);return _0x44cc1e[_0x4e20f0(0x16a)]({'label':_0x1d8072,'icon':_0x74feb8,'tooltip':!0x0,'tooltipPosition':_0x4d5ac4}),_0x44cc1e[_0x4e20f0(0x161)]({'attributes':{'class':_0x278f48}}),_0x44cc1e['on'](_0x4e20f0(0x17a),()=>{const _0x1494ee=_0x4e20f0;this[_0x1494ee(0x167)](_0x424a55,this[_0x1494ee(0x1a7)]['id']);}),_0x44cc1e;}[_0x350b91(0x1af)](){const _0x37c05f=_0x350b91;return _0x37c05f(0x193)===this[_0x37c05f(0x1a7)][_0x37c05f(0x176)][_0x37c05f(0x1a0)][_0x37c05f(0x18d)]?_0x1cd50b(this[_0x37c05f(0x15f)],_0x37c05f(0x19f)):_0x1cd50b(this[_0x37c05f(0x15f)],_0x37c05f(0x1b9));}[_0x350b91(0x1ba)](){const _0x21c791=_0x350b91;return this[_0x21c791(0x1a7)][_0x21c791(0x173)]?_0x21c791(0x193)===this[_0x21c791(0x1a7)][_0x21c791(0x176)][_0x21c791(0x1a0)][_0x21c791(0x18d)]?_0x1cd50b(this[_0x21c791(0x15f)],_0x21c791(0x195),this[_0x21c791(0x1a7)][_0x21c791(0x190)][_0x21c791(0x194)]):_0x1cd50b(this[_0x21c791(0x15f)],_0x21c791(0x1ac),this[_0x21c791(0x1a7)][_0x21c791(0x190)][_0x21c791(0x194)]):null;}}function ds(_0xe7cb0f,_0x18b5ea){const _0x1d5d64=_0x350b91;let _0x36f386='';return _0x36f386+=_0xe7cb0f[_0x1d5d64(0x1a9)]('*')[_0x1d5d64(0x163)]((_0x1ee9eb,_0x357cf0)=>_0x357cf0%0x2!=0x0?_0x1d5d64(0x1bd)+us(_0x1ee9eb)+_0x1d5d64(0x197):us(_0x1ee9eb))[_0x1d5d64(0x177)](''),_0x18b5ea&&(_0x36f386+=_0x1d5d64(0x180)+_0x18b5ea[_0x1d5d64(0x18b)]+_0x1d5d64(0x15d)+_0x18b5ea[_0x1d5d64(0x17e)]+_0x1d5d64(0x151)),_0x36f386;}function us(_0x42bdf3){const _0x545427=_0x350b91,_0x2761e8=document[_0x545427(0x188)](_0x545427(0x16b));return _0x2761e8[_0x545427(0x159)]=_0x42bdf3,_0x2761e8[_0x545427(0x154)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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;}}
|
|
23
|
+
export function getTranslation(_0x57ee1d,_0x495de1,_0x5528d2){const t=_0x57ee1d['t'];switch(_0x495de1){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',_0x5528d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5528d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5528d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5528d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5528d2);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',_0x5528d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5528d2);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',_0x5528d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5528d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5528d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5528d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5528d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5528d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5528d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5528d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5528d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5528d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5528d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5528d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5528d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5528d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5528d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5528d2);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'},_0x5528d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5528d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5528d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5528d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5528d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5528d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5528d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5528d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5528d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);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 _0x495de1;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x55b953,_0x151d10){const _0x5cb815=_0x5ea1,_0x58049a=_0x55b953();while(!![]){try{const _0x47390d=parseInt(_0x5cb815(0x184))/0x1+-parseInt(_0x5cb815(0x183))/0x2+parseInt(_0x5cb815(0x195))/0x3*(parseInt(_0x5cb815(0x18a))/0x4)+parseInt(_0x5cb815(0x19e))/0x5+parseInt(_0x5cb815(0x19c))/0x6*(parseInt(_0x5cb815(0x19a))/0x7)+parseInt(_0x5cb815(0x188))/0x8*(-parseInt(_0x5cb815(0x18d))/0x9)+parseInt(_0x5cb815(0x186))/0xa*(-parseInt(_0x5cb815(0x1a0))/0xb);if(_0x47390d===_0x151d10)break;else _0x58049a['push'](_0x58049a['shift']());}catch(_0x41fa73){_0x58049a['push'](_0x58049a['shift']());}}}(_0x3be8,0xc0074));export function normalizeDescription(_0x25cb6c){const _0x38410b=_0x5ea1;return Array[_0x38410b(0x197)](_0x25cb6c)||(_0x25cb6c=[_0x25cb6c]),_0x25cb6c[_0x38410b(0x19b)](_0x841126=>{const _0x3162e8=_0x38410b,_0x256a3d=_0x841126[_0x3162e8(0x182)][_0x3162e8(0x187)](/\*/g,''),_0x59bb34=_0x841126[_0x3162e8(0x181)]?_0x3162e8(0x17f)+_0x841126[_0x3162e8(0x181)][_0x3162e8(0x196)]+']':'';return'['+_0x841126[_0x3162e8(0x199)]+']\x20'+_0x256a3d+_0x59bb34;})[_0x38410b(0x189)](';\x20');}export function sortSuggestions(_0x4b42ff){const _0x1382bc=_0x5ea1;return _0x4b42ff[_0x1382bc(0x176)]((_0x4db975,_0x300b93)=>_0x1382bc(0x198)==_0x4db975[_0x1382bc(0x199)]&&_0x1382bc(0x198)!=_0x300b93[_0x1382bc(0x199)]?-0x1:_0x1382bc(0x198)!=_0x4db975[_0x1382bc(0x199)]&&_0x1382bc(0x198)==_0x300b93[_0x1382bc(0x199)]?0x1:0x0);}export function getSelectedSuggestions(_0x1d76f1,_0x45c2ba){const _0x53186f=_0x5ea1,_0xedad86=Array[_0x53186f(0x17b)](_0x1d76f1[_0x53186f(0x192)]()),_0x190c80=new Set();for(const _0x410174 of _0x45c2ba)if(_0x410174[_0x53186f(0x190)]){for(const _0x30c17f of _0xedad86)for(const _0x42d382 of _0x410174[_0x53186f(0x192)]())(_0x30c17f[_0x53186f(0x17e)](_0x42d382)||_0x1d76f1[_0x53186f(0x191)]&&!_0x410174[_0x53186f(0x17c)]&&_0x410174[_0x53186f(0x17d)]&&_0x42d382[_0x53186f(0x18b)][_0x53186f(0x19d)](_0x30c17f[_0x53186f(0x177)]))&&_0x190c80[_0x53186f(0x18c)](_0x410174);}return _0x190c80;}function _0x3be8(){const _0x5080e9=['from','isMultiRange','next','isIntersecting','\x20[color\x20','schema','color','content','1179240kFUGri','425732PtSluB','createPositionAfter','10bDoqZa','replace','3753032HjqADr','join','51836yBlBvY','end','add','18mpPApo','push','createRange','isInContent','isCollapsed','getRanges','change','execute','291mPTUof','value','isArray','deletion','type','23149siPBWO','map','1434fqNZJb','isTouching','1907020hvDxxj','createPositionBefore','5941166gQvfXv','length','sort','start','createPositionAt','splice','isObject'];_0x3be8=function(){return _0x5080e9;};return _0x3be8();}export function getRangesOfBlockGroups(_0x110d2c,_0x2a26ae){const _0x4106d0=_0x5ea1;let _0x3a755e,_0x1f1361=0x0;const _0x218ac4=[],_0x490b0b=_0x2a26ae[_0x4106d0(0x180)];for(;_0x1f1361<_0x110d2c[_0x4106d0(0x175)];){const _0x549495=_0x110d2c[_0x1f1361],_0x5b3c94=_0x110d2c[_0x1f1361+0x1];_0x3a755e||(_0x3a755e=_0x2a26ae[_0x4106d0(0x19f)](_0x549495)),co(_0x2a26ae,_0x549495,_0x5b3c94)||(_0x218ac4[_0x4106d0(0x18e)](_0x2a26ae[_0x4106d0(0x18f)](_0x3a755e,_0x490b0b[_0x4106d0(0x17a)](_0x549495)?_0x2a26ae[_0x4106d0(0x185)](_0x549495):_0x2a26ae[_0x4106d0(0x178)](_0x549495,_0x4106d0(0x18b)))),_0x3a755e=null),_0x1f1361++;}return _0x218ac4;}function co(_0x388184,_0x305645,_0x3ec98f){const _0x223df0=_0x5ea1;if(!_0x3ec98f)return!0x1;const _0x346a63=_0x388184[_0x223df0(0x185)](_0x305645),_0x10c8a3=_0x388184[_0x223df0(0x19f)](_0x3ec98f);return _0x346a63[_0x223df0(0x19d)](_0x10c8a3);}function _0x5ea1(_0x595ff1,_0x2d5981){const _0x3be82c=_0x3be8();return _0x5ea1=function(_0x5ea1fe,_0x2717b8){_0x5ea1fe=_0x5ea1fe-0x175;let _0x3ee7e6=_0x3be82c[_0x5ea1fe];return _0x3ee7e6;},_0x5ea1(_0x595ff1,_0x2d5981);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x195f18,_0x495f1d,_0x15066b){const _0x1037c4=_0x5ea1;for(;_0x15066b[_0x1037c4(0x175)];){const _0x5210d4=_0x15066b[_0x1037c4(0x179)](0x0,0x64);_0x195f18[_0x1037c4(0x193)](()=>{const _0x144448=_0x1037c4;for(const _0x91fabe of _0x5210d4)_0x91fabe[_0x144448(0x190)]&&_0x495f1d[_0x144448(0x194)](_0x91fabe['id']);});}}
|