@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240523.0 → 0.0.0-nightly-20240525.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29dc6e=_0x18f3;(function(_0xe57d58,_0x33e3a7){const _0x44810b=_0x18f3,_0x37baf6=_0xe57d58();while(!![]){try{const _0x11d71c=parseInt(_0x44810b(0x1c4))/0x1+-parseInt(_0x44810b(0x1e8))/0x2+-parseInt(_0x44810b(0x1ad))/0x3+-parseInt(_0x44810b(0x221))/0x4*(-parseInt(_0x44810b(0x1b7))/0x5)+-parseInt(_0x44810b(0x1a4))/0x6*(-parseInt(_0x44810b(0x22c))/0x7)+-parseInt(_0x44810b(0x22a))/0x8*(-parseInt(_0x44810b(0x207))/0x9)+-parseInt(_0x44810b(0x227))/0xa*(parseInt(_0x44810b(0x1e9))/0xb);if(_0x11d71c===_0x33e3a7)break;else _0x37baf6['push'](_0x37baf6['shift']());}catch(_0x2b94c0){_0x37baf6['push'](_0x37baf6['shift']());}}}(_0x80de,0xdfd3c));import{Plugin as _0x2d7bf0}from'ckeditor5/src/core.js';import{Collection as _0x56be7e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x352481,createDropdown as _0x377c95,ListSeparatorView as _0xc8fdd,MenuBarMenuView as _0x5a1623,MenuBarMenuListView as _0xced2db,MenuBarMenuListItemView as _0x17c206,MenuBarMenuListItemButtonView as _0x94bc32,SplitButtonView as _0x252bb1,ViewModel as _0x166e44}from'ckeditor5/src/ui.js';import{Users as _0x5b12cb,getDateTimeFormatter as _0x523ce2,getAllMarkersDomElementsSorted as _0x5764cc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5ee9f0 from'./trackchangesediting.js';import _0x6e17db from'./ui/suggestioncontroller.js';import _0x481513 from'./ui/view/suggestionthreadview.js';function _0x18f3(_0x5759f3,_0x556218){const _0x80de6c=_0x80de();return _0x18f3=function(_0x18f33d,_0x186f19){_0x18f33d=_0x18f33d-0x1a2;let _0x2df696=_0x80de6c[_0x18f33d];return _0x2df696;},_0x18f3(_0x5759f3,_0x556218);}function _0x80de(){const _0x245d5a=['isMultiRange','has','comments.editorConfig','menuitemcheckbox','_createToolbarButton','push','29196qhqQkP','listenTo','clear','descriptionFactory','discardSelectedSuggestions','previous','innerView','_viewToController','arrowView','5077584uoDuqR','_createMenuBarMenu','menu','buttonView','acceptAllSuggestions','_handleControllerBuffer','length','switchbutton','actionView','plugins','2715fxtNFB','locale','values','suggestionChanged','_bindAnnotationToEditors','TrackChangesEditing','TrackChangesUI','commandName','trackChanges.disableComments','suggestion-','_destroyController','_initializeController','_unbindEditors','383927YVbmWY','registerAnnotation','createAnnotationView','value','_suggestionToController','comments.maxCommentsWhenCollapsed','_handleSuggestionControllerDelayed','_updateController','getSuggestion','getAllAdjacentSuggestions','size','_refreshActiveMarkers','getByInnerView','activeMarkers','trackChanges','getRanges','comments.maxCommentCharsWhenCollapsed','_annotationViews','getJoined','addSourceCollector','componentFactory','hasSuggestion','destroy','Accept\x20all\x20suggestions','view','panelView','isDirty','editing','comments','config','getFirstRange','editor','CommentView','Discard\x20all\x20selected\x20suggestions','delegate','mainView','2317328ZHmUwq','4367cgArKx','discardAllSuggestions','change:activeAnnotations','refreshSelectedViews','trackChanges.SuggestionThreadView','unbind','_addUIComponentsToFactory','execute','type','isOn','discardButton','from','CommentsRepository','getMarkerNames','change:previous','source','activeAnnotations','suggestionUnloaded','descriptionParts','toMany','commands','Accept\x20all\x20selected\x20suggestions','button','filter','pluginName','items','isEnabled','Track\x20changes','Discard\x20all\x20suggestions','define','650691YHhEbb','init','reduce','acceptSelectedSuggestions','children','lowest','commentThread','add','Annotations','separator','suggestionLoaded','set','createAnnotation','SuggestionThreadView','delete','get','getDescriptions','menuBar:trackChanges','remove','CommentsUI','isInContent','focus','stopListening','menuitem','bind','getMarkers','11576BbQArR','some','EditorAnnotations','createCommentThreadController','addComment','keys','39110aYDOay','model','acceptButton','192utXmai','comments.maxThreadTotalWeight','2345nBfBlU','requires','head','_disableComments'];_0x80de=function(){return _0x245d5a;};return _0x80de();}import{getTranslation as _0x82b176}from'./utils/common-translations.js';import _0xfa1c8d from'../theme/icons/track-changes.svg';export default class d extends _0x2d7bf0{static get[_0x29dc6e(0x22d)](){const _0x593bb8=_0x29dc6e;return[_0x5ee9f0,_0x5b12cb,_0x593bb8(0x1f5),_0x593bb8(0x20f),_0x593bb8(0x223)];}static get[_0x29dc6e(0x201)](){const _0x14a2e5=_0x29dc6e;return _0x14a2e5(0x1bd);}constructor(_0x298a30){const _0x2c33b4=_0x29dc6e;super(_0x298a30),this[_0x2c33b4(0x1c8)]=new Map(),this[_0x2c33b4(0x1ab)]=new Map(),this[_0x2c33b4(0x1d5)]=new Map(),this[_0x2c33b4(0x1b2)]=new Map();const _0x5de28d=this[_0x2c33b4(0x1e3)][_0x2c33b4(0x1e1)];_0x5de28d[_0x2c33b4(0x206)](_0x2c33b4(0x1ed),_0x481513),_0x5de28d[_0x2c33b4(0x206)](_0x2c33b4(0x1bf),!0x1),this[_0x2c33b4(0x22f)]=_0x5de28d[_0x2c33b4(0x216)](_0x2c33b4(0x1bf));}[_0x29dc6e(0x1ca)](_0x1af468,_0x50e7fe){const _0x26c486=_0x29dc6e;0x0===this[_0x26c486(0x1b2)][_0x26c486(0x1ce)]&&setTimeout(()=>{const _0x25cc3a=_0x26c486;for(const [_0x1e81c1,_0x1a1afe]of this[_0x25cc3a(0x1b2)]){const _0x54b227=this[_0x25cc3a(0x1c8)][_0x25cc3a(0x231)](_0x1e81c1);_0x54b227||_0x1a1afe?_0x54b227&&_0x1a1afe&&this[_0x25cc3a(0x1c1)](_0x1e81c1):this[_0x25cc3a(0x1c2)](_0x1e81c1);}this[_0x25cc3a(0x1b2)][_0x25cc3a(0x1a6)](),this[_0x25cc3a(0x1e3)][_0x25cc3a(0x1b6)][_0x25cc3a(0x216)](_0x25cc3a(0x223))[_0x25cc3a(0x1ec)](),this[_0x25cc3a(0x1cf)]();},0xa),this[_0x26c486(0x1b2)][_0x26c486(0x212)](_0x1af468,_0x50e7fe);}[_0x29dc6e(0x208)](){const _0x47d497=_0x29dc6e,_0x68bfc6=this[_0x47d497(0x1e3)],_0x1d41fb=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x1bc)),_0x3c3e2e=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x20f)),_0x199cbd=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x223)),_0x52510d=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x1f5));this[_0x47d497(0x1ef)](),_0x199cbd[_0x47d497(0x1d7)](()=>{const _0xe86ab8=_0x47d497,_0x405042=[];for(const [_0x565d6c,_0x31d1a7]of Array[_0xe86ab8(0x1f4)](this[_0xe86ab8(0x1c8)])){const _0x41a584=_0x565d6c[_0xe86ab8(0x1cd)](),_0x5bf0af=[];for(const _0x47dc39 of _0x41a584){if(!_0x47dc39[_0xe86ab8(0x21b)])continue;if(_0x47dc39[_0xe86ab8(0x230)]){_0x5bf0af[_0xe86ab8(0x1a3)](..._0x47dc39[_0xe86ab8(0x1d3)]());continue;}const _0x2ab205=_0x47dc39[_0xe86ab8(0x1e2)]();if(_0x5bf0af[_0xe86ab8(0x1b3)]>0x0){const _0x43b754=_0x5bf0af[0x0][_0xe86ab8(0x1d6)](_0x2ab205);if(_0x43b754){_0x5bf0af[0x0]=_0x43b754;continue;}}_0x5bf0af[_0xe86ab8(0x1a3)](_0x2ab205);}_0x405042[_0xe86ab8(0x1a3)]([_0x31d1a7[_0xe86ab8(0x1dc)],_0x5bf0af]);}return _0x405042;}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x211),(_0x3eea7d,_0x140e41)=>{const _0x563197=_0x47d497;this[_0x563197(0x1a5)](_0x140e41,_0x563197(0x1f7),(_0x278c2f,_0x24a916,_0x3e5b31,_0x202a2b)=>{const _0x37d71d=_0x563197;_0x140e41[_0x37d71d(0x21b)]&&(null==_0x3e5b31?(this[_0x37d71d(0x1cb)](_0x202a2b[_0x37d71d(0x22e)]),this[_0x37d71d(0x1ca)](_0x140e41,!0x1)):(this[_0x37d71d(0x1cb)](_0x3e5b31[_0x37d71d(0x22e)]),null==_0x202a2b&&this[_0x37d71d(0x1ca)](_0x140e41,!0x0)));}),null!==_0x140e41[_0x563197(0x1a9)]?this[_0x563197(0x1cb)](_0x140e41[_0x563197(0x22e)]):this[_0x563197(0x1ca)](_0x140e41,!0x1);}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x1fa),(_0x1bfeb3,_0x2b988a,_0xd6206b)=>{const _0x166709=_0x47d497;this[_0x166709(0x21d)](_0x2b988a,_0x166709(0x1f7)),this[_0x166709(0x1b2)][_0x166709(0x215)](_0x2b988a),this[_0x166709(0x1c8)][_0x166709(0x231)](_0x2b988a)&&this[_0x166709(0x1c1)](_0x2b988a),_0xd6206b&&this[_0x166709(0x1cb)](_0xd6206b[_0x166709(0x22e)]);}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x1ba),(_0x2cd109,_0x5427c2)=>{const _0x197f1c=_0x47d497;this[_0x197f1c(0x1cb)](_0x5427c2);}),this[_0x47d497(0x1a5)](_0x3c3e2e,_0x47d497(0x1eb),()=>{const _0x1f4ddf=_0x47d497;this[_0x1f4ddf(0x1cf)]();}),this[_0x47d497(0x1a5)](_0x52510d,_0x47d497(0x225),(_0x247f27,{threadId:_0x151c76,isFromAdapter:_0x3af3dd})=>{const _0x4311fd=_0x47d497;if(_0x3af3dd||!_0x1d41fb[_0x4311fd(0x1d9)](_0x151c76))return;const _0x87d9d9=_0x1d41fb[_0x4311fd(0x1cc)](_0x151c76);this[_0x4311fd(0x1c8)][_0x4311fd(0x216)](_0x87d9d9)[_0x4311fd(0x1dc)][_0x4311fd(0x21c)]();},{'priority':_0x47d497(0x20c)});}[_0x29dc6e(0x1cf)](){const _0x2b19de=_0x29dc6e,_0x1e7326=this[_0x2b19de(0x1e3)][_0x2b19de(0x1b6)][_0x2b19de(0x216)](_0x2b19de(0x20f)),_0x4f4d5b=this[_0x2b19de(0x1e3)][_0x2b19de(0x1b6)][_0x2b19de(0x216)](_0x2b19de(0x1bc)),_0x396df5=Array[_0x2b19de(0x1f4)](_0x1e7326[_0x2b19de(0x1f9)],_0x120497=>_0x120497[_0x2b19de(0x1aa)])[_0x2b19de(0x200)](_0x592ae5=>this[_0x2b19de(0x1ab)][_0x2b19de(0x231)](_0x592ae5)),_0x7fe40a=[];for(const _0x148ddd of _0x396df5){const _0x478793=this[_0x2b19de(0x1ab)][_0x2b19de(0x216)](_0x148ddd)[_0x2b19de(0x228)][_0x2b19de(0x1cd)]();_0x7fe40a[_0x2b19de(0x1a3)](..._0x478793[_0x2b19de(0x209)]((_0x527446,_0x58e222)=>[..._0x527446,..._0x58e222[_0x2b19de(0x1f6)]()],[]));}_0x4f4d5b[_0x2b19de(0x1d1)]=_0x7fe40a;}[_0x29dc6e(0x1ef)](){const _0x100d37=_0x29dc6e,_0x144bcd=this[_0x100d37(0x1e3)],_0x2f9a9c=_0x144bcd[_0x100d37(0x1b8)],_0x1f4c20=_0x82b176(_0x2f9a9c,_0x100d37(0x204)),_0x52584d=new _0x56be7e([{'type':_0x100d37(0x1b4),'model':new _0x166e44({'withText':!0x0,'label':_0x1f4c20,'commandName':_0x100d37(0x1d2),'role':_0x100d37(0x233)})},{'type':_0x100d37(0x210)},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1db)),'commandName':_0x100d37(0x1b1),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1fe)),'commandName':_0x100d37(0x20a),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x205)),'commandName':_0x100d37(0x1ea),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1e5)),'commandName':_0x100d37(0x1a8),'role':_0x100d37(0x21e)})}]);for(const _0x1789e9 of _0x52584d)if(ae(_0x1789e9)){const _0x1e3307=_0x144bcd[_0x100d37(0x1fd)][_0x100d37(0x216)](_0x1789e9[_0x100d37(0x228)][_0x100d37(0x1be)]);_0x1789e9[_0x100d37(0x228)][_0x100d37(0x21f)](_0x100d37(0x1f2),_0x100d37(0x203))['to'](_0x1e3307,_0x100d37(0x1c7),_0x100d37(0x203));}_0x144bcd['ui'][_0x100d37(0x1d8)][_0x100d37(0x20e)](_0x100d37(0x1d2),_0x507449=>this[_0x100d37(0x1a2)](_0x507449,_0x52584d,_0x1f4c20)),_0x144bcd['ui'][_0x100d37(0x1d8)][_0x100d37(0x20e)](_0x100d37(0x218),_0x3f0d26=>this[_0x100d37(0x1ae)](_0x3f0d26,_0x52584d,_0x1f4c20));}[_0x29dc6e(0x1a2)](_0xcb8b00,_0x2a9a06,_0x30eb4a){const _0x467ee6=_0x29dc6e,_0x51d5c7=_0x377c95(_0xcb8b00,_0x252bb1),_0x80168a=this[_0x467ee6(0x1e3)][_0x467ee6(0x1fd)][_0x467ee6(0x216)](_0x467ee6(0x1d2));_0x51d5c7[_0x467ee6(0x1b0)][_0x467ee6(0x212)]({'tooltip':_0x30eb4a,'label':_0x30eb4a,'icon':_0xfa1c8d}),_0x51d5c7[_0x467ee6(0x1b0)][_0x467ee6(0x21f)](_0x467ee6(0x1f2))['to'](_0x80168a,_0x467ee6(0x1c7)),_0x51d5c7[_0x467ee6(0x1b0)]['on'](_0x467ee6(0x1f0),()=>{const _0x209176=_0x467ee6;_0x80168a[_0x209176(0x1f0)](),this[_0x209176(0x1e3)][_0x209176(0x1df)][_0x209176(0x1dc)][_0x209176(0x21c)]();}),_0x352481(_0x51d5c7,_0x2a9a06,{'role':_0x467ee6(0x1af)});const _0x238378=[];for(const _0x5318dd of _0x2a9a06)ae(_0x5318dd)&&_0x238378[_0x467ee6(0x1a3)](this[_0x467ee6(0x1e3)][_0x467ee6(0x1fd)][_0x467ee6(0x216)](_0x5318dd[_0x467ee6(0x228)][_0x467ee6(0x1be)]));const _0x753d80=_0x51d5c7[_0x467ee6(0x1b0)];return _0x753d80[_0x467ee6(0x1b5)][_0x467ee6(0x1ee)](_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1ac)][_0x467ee6(0x1ee)](_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1b5)][_0x467ee6(0x21f)](_0x467ee6(0x203))['to'](_0x80168a,_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1ac)][_0x467ee6(0x21f)](_0x467ee6(0x203))[_0x467ee6(0x1fc)](_0x238378,_0x467ee6(0x203),(..._0x55b420)=>_0x55b420[_0x467ee6(0x222)](_0x15393a=>_0x15393a)),_0x51d5c7['on'](_0x467ee6(0x1f0),_0x184144=>{const _0x135723=_0x467ee6;this[_0x135723(0x1e3)][_0x135723(0x1f0)](_0x184144[_0x135723(0x1f8)][_0x135723(0x1be)]),this[_0x135723(0x1e3)][_0x135723(0x1df)][_0x135723(0x1dc)][_0x135723(0x21c)]();}),_0x51d5c7;}[_0x29dc6e(0x1ae)](_0x5d3702,_0x3e313b,_0x39c67d){const _0x40deed=_0x29dc6e,_0x5599a6=new _0x5a1623(_0x5d3702),_0x5f1280=this[_0x40deed(0x1e3)][_0x40deed(0x1fd)][_0x40deed(0x216)](_0x40deed(0x1d2));_0x5599a6[_0x40deed(0x1b0)][_0x40deed(0x212)]({'label':_0x39c67d,'icon':_0xfa1c8d});const _0x51bea1=new _0xced2db(_0x5d3702);for(const _0x1d938d of _0x3e313b){if(_0x40deed(0x210)==_0x1d938d[_0x40deed(0x1f1)]){_0x51bea1[_0x40deed(0x202)][_0x40deed(0x20e)](new _0xc8fdd(_0x5d3702));continue;}const _0x3dcffa=new _0x17c206(_0x5d3702,_0x5599a6),_0x3f3584=new _0x94bc32(_0x5d3702),_0x5cb55d=_0x1d938d[_0x40deed(0x228)];_0x3f3584[_0x40deed(0x21f)](...Object[_0x40deed(0x226)](_0x5cb55d))['to'](_0x5cb55d),_0x3f3584[_0x40deed(0x1e6)](_0x40deed(0x1f0))['to'](_0x5599a6),_0x3f3584['on'](_0x40deed(0x1f0),()=>{const _0x1e984f=_0x40deed;this[_0x1e984f(0x1e3)][_0x1e984f(0x1f0)](_0x5cb55d[_0x1e984f(0x1be)]),this[_0x1e984f(0x1e3)][_0x1e984f(0x1df)][_0x1e984f(0x1dc)][_0x1e984f(0x21c)]();}),_0x3dcffa[_0x40deed(0x20b)][_0x40deed(0x20e)](_0x3f3584),_0x51bea1[_0x40deed(0x202)][_0x40deed(0x20e)](_0x3dcffa);}return _0x5599a6[_0x40deed(0x21f)](_0x40deed(0x203))['to'](_0x5f1280,_0x40deed(0x203)),_0x5599a6[_0x40deed(0x1dd)][_0x40deed(0x20b)][_0x40deed(0x20e)](_0x51bea1),_0x5599a6;}[_0x29dc6e(0x1c2)](_0x6be6cc){const _0x118b74=_0x29dc6e,_0xe98bc9=this[_0x118b74(0x1e3)],_0x294915=_0xe98bc9[_0x118b74(0x1e1)],_0x49d3ce=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x20f)),_0x574c74=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x1f5)),_0x52c122=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x223)),_0x1119c0=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x5b12cb)['me'],_0xbfae3=_0x294915[_0x118b74(0x216)](_0x118b74(0x1d2))[_0x118b74(0x214)],{CommentsListView:_0x207570,CommentThreadInputView:_0x27eef1}=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x21a));let _0x291cf5,_0x1d22c1;this[_0x118b74(0x1d5)][_0x118b74(0x231)](_0x6be6cc['id'])?(_0x1d22c1=this[_0x118b74(0x1d5)][_0x118b74(0x216)](_0x6be6cc['id']),_0x291cf5=_0x1d22c1[_0x118b74(0x1e7)]):(_0x291cf5=new _0xbfae3(_0xe98bc9[_0x118b74(0x1b8)],_0x6be6cc,_0x1119c0,{'disableComments':this[_0x118b74(0x22f)],'editorConfig':_0x294915[_0x118b74(0x216)](_0x118b74(0x232)),'maxCommentsWhenCollapsed':_0x294915[_0x118b74(0x216)](_0x118b74(0x1c9)),'maxThreadTotalWeight':_0x294915[_0x118b74(0x216)](_0x118b74(0x22b)),'maxCommentCharsWhenCollapsed':_0x294915[_0x118b74(0x216)](_0x118b74(0x1d4)),'formatDateTime':_0x523ce2(_0x294915[_0x118b74(0x216)](_0x118b74(0x1b8))),'CommentView':_0x294915[_0x118b74(0x216)](_0x118b74(0x1e0))[_0x118b74(0x1e4)],'CommentsListView':_0x207570,'CommentThreadInputView':_0x27eef1}),_0x291cf5[_0x118b74(0x229)]['on'](_0x118b74(0x1f0),()=>{const _0x405260=_0x118b74;_0xe98bc9[_0x405260(0x1df)][_0x405260(0x1dc)][_0x405260(0x21c)]();}),_0x291cf5[_0x118b74(0x1f3)]['on'](_0x118b74(0x1f0),()=>{const _0x3c1b24=_0x118b74;_0xe98bc9[_0x3c1b24(0x1df)][_0x3c1b24(0x1dc)][_0x3c1b24(0x21c)]();}),_0x1d22c1=_0x49d3ce[_0x118b74(0x1c6)](this[_0x118b74(0x1e3)][_0x118b74(0x1b8)],_0x291cf5),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1de))['to'](_0x291cf5,_0x118b74(0x1de)),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1b3))['to'](_0x291cf5),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1f1))['to'](_0x291cf5,_0x118b74(0x1f1),_0x32d30d=>_0x118b74(0x1c0)+_0x32d30d),this[_0x118b74(0x1d5)][_0x118b74(0x212)](_0x6be6cc['id'],_0x1d22c1));const _0x2afc58=_0x574c74[_0x118b74(0x224)](_0x6be6cc[_0x118b74(0x20d)],_0x291cf5),_0x12a84e=new _0x6e17db(_0xe98bc9,_0x6be6cc,_0x291cf5,_0x2afc58),_0x2c0b18=_0x6be6cc[_0x118b74(0x1cd)]()[_0x118b74(0x200)](_0x3373ce=>_0x3373ce[_0x118b74(0x21b)]);_0x291cf5[_0x118b74(0x1fb)]=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x1bc))[_0x118b74(0x1a7)][_0x118b74(0x217)](_0x2c0b18),this[_0x118b74(0x1c8)][_0x118b74(0x212)](_0x6be6cc,_0x12a84e),this[_0x118b74(0x1ab)][_0x118b74(0x212)](_0x291cf5,_0x12a84e);const _0x3f8757=_0x49d3ce[_0x118b74(0x213)]({'view':_0x1d22c1,'target':()=>{const _0x458ae6=_0x118b74,_0x579457=[],_0x21ea81=_0x6be6cc[_0x458ae6(0x1cd)]()[_0x458ae6(0x200)](_0x56543f=>_0x56543f[_0x458ae6(0x21b)]);for(const _0x3b482e of _0x21ea81)_0x579457[_0x458ae6(0x1a3)](..._0x3b482e[_0x458ae6(0x220)]());return _0x5764cc(_0xe98bc9[_0x458ae6(0x1df)],_0x579457);},'type':()=>_0x118b74(0x1c0)+_0x12a84e[_0x118b74(0x1dc)][_0x118b74(0x1f1)]});_0x574c74[_0x118b74(0x1bb)](_0x291cf5,_0x3f8757),_0x49d3ce[_0x118b74(0x20e)](_0x3f8757),_0x52c122[_0x118b74(0x1c5)](_0x3f8757);}[_0x29dc6e(0x1c1)](_0x509c65){const _0x1283ef=_0x29dc6e,_0x5017ee=this[_0x1283ef(0x1e3)][_0x1283ef(0x1b6)][_0x1283ef(0x216)](_0x1283ef(0x1f5)),_0xa425ad=this[_0x1283ef(0x1e3)][_0x1283ef(0x1b6)][_0x1283ef(0x216)](_0x1283ef(0x20f)),_0x3e3529=this[_0x1283ef(0x1c8)][_0x1283ef(0x216)](_0x509c65),_0x21aed8=_0x3e3529[_0x1283ef(0x1dc)],_0x29cda7=_0xa425ad[_0x1283ef(0x1d0)](_0x21aed8);_0x5017ee[_0x1283ef(0x1c3)](_0x21aed8),_0x29cda7&&_0xa425ad[_0x1283ef(0x219)](_0x29cda7),this[_0x1283ef(0x1c8)][_0x1283ef(0x215)](_0x509c65),this[_0x1283ef(0x1ab)][_0x1283ef(0x215)](_0x21aed8),_0x3e3529[_0x1283ef(0x1da)]();}[_0x29dc6e(0x1cb)](_0x57c081){const _0x11de38=_0x29dc6e;if(!_0x57c081[_0x11de38(0x21b)]||!this[_0x11de38(0x1c8)][_0x11de38(0x231)](_0x57c081))return;const _0x5646d7=this[_0x11de38(0x1e3)][_0x11de38(0x1b6)][_0x11de38(0x216)](_0x11de38(0x1bc)),_0x5d4a0b=this[_0x11de38(0x1c8)][_0x11de38(0x216)](_0x57c081),_0x1d9d6d=_0x57c081[_0x11de38(0x1cd)]();_0x5d4a0b[_0x11de38(0x1dc)][_0x11de38(0x1fb)]=_0x5646d7[_0x11de38(0x1a7)][_0x11de38(0x217)](_0x1d9d6d);}[_0x29dc6e(0x1da)](){const _0x6cece4=_0x29dc6e;for(const _0x9bba18 of this[_0x6cece4(0x1c8)][_0x6cece4(0x226)]())this[_0x6cece4(0x1c1)](_0x9bba18);for(const _0x49fc68 of this[_0x6cece4(0x1d5)][_0x6cece4(0x1b9)]())_0x49fc68[_0x6cece4(0x1e7)][_0x6cece4(0x1da)]();super[_0x6cece4(0x1da)]();}}function ae(_0xb672fa){const _0x48d481=_0x29dc6e;return _0x48d481(0x228)in _0xb672fa;}
|
|
23
|
+
const _0x165cc4=_0x3a52;function _0x118c(){const _0x3a64d7=['_viewToController','stopListening','_handleSuggestionControllerDelayed','menuitem','menu','filter','Annotations','isInContent','items','_disableComments','from','buttonView','_bindAnnotationToEditors','isMultiRange','SuggestionThreadView','focus','lowest','suggestionUnloaded','locale','descriptionParts','delegate','clear','11EXZWno','EditorAnnotations','separator','switchbutton','57456OLaCIR','6899950ixreNv','componentFactory','comments.maxCommentCharsWhenCollapsed','Accept\x20all\x20suggestions','menuitemcheckbox','editor','_refreshActiveMarkers','addSourceCollector','delete','keys','plugins','arrowView','requires','isOn','addComment','trackChanges.SuggestionThreadView','createAnnotation','getRanges','set','_annotationViews','commandName','getSuggestion','editing','Discard\x20all\x20suggestions','Track\x20changes','Discard\x20all\x20selected\x20suggestions','discardSelectedSuggestions','listenTo','push','activeMarkers','_unbindEditors','16883952ZXAljE','model','getMarkers','init','suggestionChanged','length','isDirty','has','mainView','panelView','discardAllSuggestions','comments.maxThreadTotalWeight','previous','actionView','unbind','change:activeAnnotations','pluginName','createCommentThreadController','type','271855YWjbpd','CommentsRepository','values','execute','44276FZKaiH','TrackChangesUI','_addUIComponentsToFactory','5QlAPXw','bind','createAnnotationView','112BYYiJd','innerView','remove','167476RzPvTl','getFirstRange','acceptButton','define','acceptAllSuggestions','_createToolbarButton','size','comments.maxCommentsWhenCollapsed','discardButton','children','reduce','commentThread','get','registerAnnotation','_createMenuBarMenu','337266DlEAGJ','destroy','282UCQqvT','suggestionLoaded','_destroyController','getAllAdjacentSuggestions','trackChanges','add','getJoined','some','acceptSelectedSuggestions','_initializeController','change:previous','comments.editorConfig','comments','TrackChangesEditing','activeAnnotations','trackChanges.disableComments','value','CommentView','getDescriptions','hasSuggestion','Accept\x20all\x20selected\x20suggestions','descriptionFactory','head','button','view','menuBar:trackChanges','isEnabled','_updateController','commands','source','getByInnerView','42iSxSZm','getMarkerNames','CommentsUI','suggestion-','toMany','config','_handleControllerBuffer','_suggestionToController','refreshSelectedViews'];_0x118c=function(){return _0x3a64d7;};return _0x118c();}(function(_0xd08091,_0x23b161){const _0x5c87b8=_0x3a52,_0x4aba4f=_0xd08091();while(!![]){try{const _0x53c09f=parseInt(_0x5c87b8(0x1b5))/0x1+parseInt(_0x5c87b8(0x1b9))/0x2*(parseInt(_0x5c87b8(0x1f2))/0x3)+parseInt(_0x5c87b8(0x1c2))/0x4*(-parseInt(_0x5c87b8(0x1bc))/0x5)+parseInt(_0x5c87b8(0x1d3))/0x6*(-parseInt(_0x5c87b8(0x182))/0x7)+-parseInt(_0x5c87b8(0x1bf))/0x8*(parseInt(_0x5c87b8(0x1d1))/0x9)+-parseInt(_0x5c87b8(0x183))/0xa*(parseInt(_0x5c87b8(0x211))/0xb)+parseInt(_0x5c87b8(0x1a2))/0xc;if(_0x53c09f===_0x23b161)break;else _0x4aba4f['push'](_0x4aba4f['shift']());}catch(_0x5bf078){_0x4aba4f['push'](_0x4aba4f['shift']());}}}(_0x118c,0x5498b));import{Plugin as _0x29fd28}from'ckeditor5/src/core.js';import{Collection as _0x437ca3}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x6c376,createDropdown as _0x453585,ListSeparatorView as _0x35a568,MenuBarMenuView as _0x2587f4,MenuBarMenuListView as _0x4d72d5,MenuBarMenuListItemView as _0x3e024a,MenuBarMenuListItemButtonView as _0x31e9fb,SplitButtonView as _0x2ae63e,ViewModel as _0x3ccfa0}from'ckeditor5/src/ui.js';import{Users as _0x175f24,getDateTimeFormatter as _0x6b51d,getAllMarkersDomElementsSorted as _0x2ae866}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x43dfb9 from'./trackchangesediting.js';import _0x5bf07f from'./ui/suggestioncontroller.js';function _0x3a52(_0x4f7014,_0x41f4be){const _0x118c82=_0x118c();return _0x3a52=function(_0x3a522f,_0x1f57e4){_0x3a522f=_0x3a522f-0x182;let _0x5117d8=_0x118c82[_0x3a522f];return _0x5117d8;},_0x3a52(_0x4f7014,_0x41f4be);}import _0x3dee10 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3556dc}from'./utils/common-translations.js';import _0x552a7d from'../theme/icons/track-changes.svg';export default class d extends _0x29fd28{static get[_0x165cc4(0x18f)](){const _0x23d5a7=_0x165cc4;return[_0x43dfb9,_0x175f24,_0x23d5a7(0x1b6),_0x23d5a7(0x201),_0x23d5a7(0x212)];}static get[_0x165cc4(0x1b2)](){const _0x51f89f=_0x165cc4;return _0x51f89f(0x1ba);}constructor(_0x41f228){const _0x1345dc=_0x165cc4;super(_0x41f228),this[_0x1345dc(0x1f9)]=new Map(),this[_0x1345dc(0x1fb)]=new Map(),this[_0x1345dc(0x196)]=new Map(),this[_0x1345dc(0x1f8)]=new Map();const _0x39a50c=this[_0x1345dc(0x188)][_0x1345dc(0x1f7)];_0x39a50c[_0x1345dc(0x1c5)](_0x1345dc(0x192),_0x3dee10),_0x39a50c[_0x1345dc(0x1c5)](_0x1345dc(0x1e2),!0x1),this[_0x1345dc(0x204)]=_0x39a50c[_0x1345dc(0x1ce)](_0x1345dc(0x1e2));}[_0x165cc4(0x1fd)](_0x1ed557,_0x5cb343){const _0x4edc00=_0x165cc4;0x0===this[_0x4edc00(0x1f8)][_0x4edc00(0x1c8)]&&setTimeout(()=>{const _0x2ec525=_0x4edc00;for(const [_0x4e2d5f,_0x317e7c]of this[_0x2ec525(0x1f8)]){const _0x2eebe4=this[_0x2ec525(0x1f9)][_0x2ec525(0x1a9)](_0x4e2d5f);_0x2eebe4||_0x317e7c?_0x2eebe4&&_0x317e7c&&this[_0x2ec525(0x1d5)](_0x4e2d5f):this[_0x2ec525(0x1dc)](_0x4e2d5f);}this[_0x2ec525(0x1f8)][_0x2ec525(0x210)](),this[_0x2ec525(0x188)][_0x2ec525(0x18d)][_0x2ec525(0x1ce)](_0x2ec525(0x212))[_0x2ec525(0x1fa)](),this[_0x2ec525(0x189)]();},0xa),this[_0x4edc00(0x1f8)][_0x4edc00(0x195)](_0x1ed557,_0x5cb343);}[_0x165cc4(0x1a5)](){const _0x2c2abf=_0x165cc4,_0x4571b9=this[_0x2c2abf(0x188)],_0x45bd93=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x1e0)),_0x5ba3a8=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x201)),_0x30511e=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x212)),_0xdc7b2=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x1b6));this[_0x2c2abf(0x1bb)](),_0x30511e[_0x2c2abf(0x18a)](()=>{const _0x22f113=_0x2c2abf,_0x3bb36c=[];for(const [_0x57ffc8,_0x17ca3b]of Array[_0x22f113(0x205)](this[_0x22f113(0x1f9)])){const _0xea4ae2=_0x57ffc8[_0x22f113(0x1d6)](),_0x315c16=[];for(const _0x68dbfa of _0xea4ae2){if(!_0x68dbfa[_0x22f113(0x202)])continue;if(_0x68dbfa[_0x22f113(0x208)]){_0x315c16[_0x22f113(0x19f)](..._0x68dbfa[_0x22f113(0x194)]());continue;}const _0x70b850=_0x68dbfa[_0x22f113(0x1c3)]();if(_0x315c16[_0x22f113(0x1a7)]>0x0){const _0x4fa169=_0x315c16[0x0][_0x22f113(0x1d9)](_0x70b850);if(_0x4fa169){_0x315c16[0x0]=_0x4fa169;continue;}}_0x315c16[_0x22f113(0x19f)](_0x70b850);}_0x3bb36c[_0x22f113(0x19f)]([_0x17ca3b[_0x22f113(0x1eb)],_0x315c16]);}return _0x3bb36c;}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x1d4),(_0x10f2f9,_0xfbf262)=>{const _0x17f8ea=_0x2c2abf;this[_0x17f8ea(0x19e)](_0xfbf262,_0x17f8ea(0x1dd),(_0x7fc757,_0x344f89,_0x1b633b,_0x37df45)=>{const _0x1e7008=_0x17f8ea;_0xfbf262[_0x1e7008(0x202)]&&(null==_0x1b633b?(this[_0x1e7008(0x1ee)](_0x37df45[_0x1e7008(0x1e9)]),this[_0x1e7008(0x1fd)](_0xfbf262,!0x1)):(this[_0x1e7008(0x1ee)](_0x1b633b[_0x1e7008(0x1e9)]),null==_0x37df45&&this[_0x1e7008(0x1fd)](_0xfbf262,!0x0)));}),null!==_0xfbf262[_0x17f8ea(0x1ae)]?this[_0x17f8ea(0x1ee)](_0xfbf262[_0x17f8ea(0x1e9)]):this[_0x17f8ea(0x1fd)](_0xfbf262,!0x1);}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x20c),(_0x16bfe1,_0x22794c,_0x5f368c)=>{const _0x12433b=_0x2c2abf;this[_0x12433b(0x1fc)](_0x22794c,_0x12433b(0x1dd)),this[_0x12433b(0x1f8)][_0x12433b(0x18b)](_0x22794c),this[_0x12433b(0x1f9)][_0x12433b(0x1a9)](_0x22794c)&&this[_0x12433b(0x1d5)](_0x22794c),_0x5f368c&&this[_0x12433b(0x1ee)](_0x5f368c[_0x12433b(0x1e9)]);}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x1a6),(_0x2fd529,_0x550f32)=>{const _0x5496cc=_0x2c2abf;this[_0x5496cc(0x1ee)](_0x550f32);}),this[_0x2c2abf(0x19e)](_0x5ba3a8,_0x2c2abf(0x1b1),()=>{const _0x65c331=_0x2c2abf;this[_0x65c331(0x189)]();}),this[_0x2c2abf(0x19e)](_0xdc7b2,_0x2c2abf(0x191),(_0x3e2fc3,{threadId:_0x24b9f6,isFromAdapter:_0x28d7d7})=>{const _0x547fdd=_0x2c2abf;if(_0x28d7d7||!_0x45bd93[_0x547fdd(0x1e6)](_0x24b9f6))return;const _0xb30a4c=_0x45bd93[_0x547fdd(0x198)](_0x24b9f6);this[_0x547fdd(0x1f9)][_0x547fdd(0x1ce)](_0xb30a4c)[_0x547fdd(0x1eb)][_0x547fdd(0x20a)]();},{'priority':_0x2c2abf(0x20b)});}[_0x165cc4(0x189)](){const _0x16a310=_0x165cc4,_0x374cba=this[_0x16a310(0x188)][_0x16a310(0x18d)][_0x16a310(0x1ce)](_0x16a310(0x201)),_0x417cf5=this[_0x16a310(0x188)][_0x16a310(0x18d)][_0x16a310(0x1ce)](_0x16a310(0x1e0)),_0x3c0fbe=Array[_0x16a310(0x205)](_0x374cba[_0x16a310(0x1e1)],_0x10adb3=>_0x10adb3[_0x16a310(0x1c0)])[_0x16a310(0x200)](_0x6750ba=>this[_0x16a310(0x1fb)][_0x16a310(0x1a9)](_0x6750ba)),_0x396644=[];for(const _0x14d86f of _0x3c0fbe){const _0x375b8f=this[_0x16a310(0x1fb)][_0x16a310(0x1ce)](_0x14d86f)[_0x16a310(0x1a3)][_0x16a310(0x1d6)]();_0x396644[_0x16a310(0x19f)](..._0x375b8f[_0x16a310(0x1cc)]((_0x333504,_0x33e78a)=>[..._0x333504,..._0x33e78a[_0x16a310(0x1f3)]()],[]));}_0x417cf5[_0x16a310(0x1a0)]=_0x396644;}[_0x165cc4(0x1bb)](){const _0x110f96=_0x165cc4,_0x5de724=this[_0x110f96(0x188)],_0x3120d5=_0x5de724[_0x110f96(0x20d)],_0x19edd5=_0x3556dc(_0x3120d5,_0x110f96(0x19b)),_0x51ee58=new _0x437ca3([{'type':_0x110f96(0x214),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x19edd5,'commandName':_0x110f96(0x1d7),'role':_0x110f96(0x187)})},{'type':_0x110f96(0x213)},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x186)),'commandName':_0x110f96(0x1c6),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x1e7)),'commandName':_0x110f96(0x1db),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x19a)),'commandName':_0x110f96(0x1ac),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x19c)),'commandName':_0x110f96(0x19d),'role':_0x110f96(0x1fe)})}]);for(const _0x15d797 of _0x51ee58)if(ae(_0x15d797)){const _0x7c4f2f=_0x5de724[_0x110f96(0x1ef)][_0x110f96(0x1ce)](_0x15d797[_0x110f96(0x1a3)][_0x110f96(0x197)]);_0x15d797[_0x110f96(0x1a3)][_0x110f96(0x1bd)](_0x110f96(0x190),_0x110f96(0x1ed))['to'](_0x7c4f2f,_0x110f96(0x1e3),_0x110f96(0x1ed));}_0x5de724['ui'][_0x110f96(0x184)][_0x110f96(0x1d8)](_0x110f96(0x1d7),_0x4992d9=>this[_0x110f96(0x1c7)](_0x4992d9,_0x51ee58,_0x19edd5)),_0x5de724['ui'][_0x110f96(0x184)][_0x110f96(0x1d8)](_0x110f96(0x1ec),_0xc8c8e3=>this[_0x110f96(0x1d0)](_0xc8c8e3,_0x51ee58,_0x19edd5));}[_0x165cc4(0x1c7)](_0x117a1b,_0x3579cc,_0x53227f){const _0x2451ff=_0x165cc4,_0x4a8d90=_0x453585(_0x117a1b,_0x2ae63e),_0x4bbc19=this[_0x2451ff(0x188)][_0x2451ff(0x1ef)][_0x2451ff(0x1ce)](_0x2451ff(0x1d7));_0x4a8d90[_0x2451ff(0x206)][_0x2451ff(0x195)]({'tooltip':_0x53227f,'label':_0x53227f,'icon':_0x552a7d}),_0x4a8d90[_0x2451ff(0x206)][_0x2451ff(0x1bd)](_0x2451ff(0x190))['to'](_0x4bbc19,_0x2451ff(0x1e3)),_0x4a8d90[_0x2451ff(0x206)]['on'](_0x2451ff(0x1b8),()=>{const _0x1c4c7d=_0x2451ff;_0x4bbc19[_0x1c4c7d(0x1b8)](),this[_0x1c4c7d(0x188)][_0x1c4c7d(0x199)][_0x1c4c7d(0x1eb)][_0x1c4c7d(0x20a)]();}),_0x6c376(_0x4a8d90,_0x3579cc,{'role':_0x2451ff(0x1ff)});const _0x162863=[];for(const _0x414475 of _0x3579cc)ae(_0x414475)&&_0x162863[_0x2451ff(0x19f)](this[_0x2451ff(0x188)][_0x2451ff(0x1ef)][_0x2451ff(0x1ce)](_0x414475[_0x2451ff(0x1a3)][_0x2451ff(0x197)]));const _0x5d0291=_0x4a8d90[_0x2451ff(0x206)];return _0x5d0291[_0x2451ff(0x1af)][_0x2451ff(0x1b0)](_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x18e)][_0x2451ff(0x1b0)](_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x1af)][_0x2451ff(0x1bd)](_0x2451ff(0x1ed))['to'](_0x4bbc19,_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x18e)][_0x2451ff(0x1bd)](_0x2451ff(0x1ed))[_0x2451ff(0x1f6)](_0x162863,_0x2451ff(0x1ed),(..._0x4422ab)=>_0x4422ab[_0x2451ff(0x1da)](_0x34b883=>_0x34b883)),_0x4a8d90['on'](_0x2451ff(0x1b8),_0x3117a3=>{const _0x24acae=_0x2451ff;this[_0x24acae(0x188)][_0x24acae(0x1b8)](_0x3117a3[_0x24acae(0x1f0)][_0x24acae(0x197)]),this[_0x24acae(0x188)][_0x24acae(0x199)][_0x24acae(0x1eb)][_0x24acae(0x20a)]();}),_0x4a8d90;}[_0x165cc4(0x1d0)](_0x3973b5,_0x4189db,_0x2c5807){const _0x552a23=_0x165cc4,_0x44db8a=new _0x2587f4(_0x3973b5),_0x2566f1=this[_0x552a23(0x188)][_0x552a23(0x1ef)][_0x552a23(0x1ce)](_0x552a23(0x1d7));_0x44db8a[_0x552a23(0x206)][_0x552a23(0x195)]({'label':_0x2c5807,'icon':_0x552a7d});const _0xa81105=new _0x4d72d5(_0x3973b5);for(const _0x3439cb of _0x4189db){if(_0x552a23(0x213)==_0x3439cb[_0x552a23(0x1b4)]){_0xa81105[_0x552a23(0x203)][_0x552a23(0x1d8)](new _0x35a568(_0x3973b5));continue;}const _0x4a02cd=new _0x3e024a(_0x3973b5,_0x44db8a),_0x38fb89=new _0x31e9fb(_0x3973b5),_0x764400=_0x3439cb[_0x552a23(0x1a3)];_0x38fb89[_0x552a23(0x1bd)](...Object[_0x552a23(0x18c)](_0x764400))['to'](_0x764400),_0x38fb89[_0x552a23(0x20f)](_0x552a23(0x1b8))['to'](_0x44db8a),_0x38fb89['on'](_0x552a23(0x1b8),()=>{const _0x399225=_0x552a23;this[_0x399225(0x188)][_0x399225(0x1b8)](_0x764400[_0x399225(0x197)]),this[_0x399225(0x188)][_0x399225(0x199)][_0x399225(0x1eb)][_0x399225(0x20a)]();}),_0x4a02cd[_0x552a23(0x1cb)][_0x552a23(0x1d8)](_0x38fb89),_0xa81105[_0x552a23(0x203)][_0x552a23(0x1d8)](_0x4a02cd);}return _0x44db8a[_0x552a23(0x1bd)](_0x552a23(0x1ed))['to'](_0x2566f1,_0x552a23(0x1ed)),_0x44db8a[_0x552a23(0x1ab)][_0x552a23(0x1cb)][_0x552a23(0x1d8)](_0xa81105),_0x44db8a;}[_0x165cc4(0x1dc)](_0x3060e8){const _0x19e5cc=_0x165cc4,_0x1bea89=this[_0x19e5cc(0x188)],_0x5b3fc0=_0x1bea89[_0x19e5cc(0x1f7)],_0x2730a2=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x201)),_0x52a29e=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1b6)),_0x3c6aeb=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x212)),_0x252320=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x175f24)['me'],_0x3b858b=_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1d7))[_0x19e5cc(0x209)],{CommentsListView:_0x5d65e4,CommentThreadInputView:_0x1703c3}=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1f4));let _0x1c9ba6,_0x3362a7;this[_0x19e5cc(0x196)][_0x19e5cc(0x1a9)](_0x3060e8['id'])?(_0x3362a7=this[_0x19e5cc(0x196)][_0x19e5cc(0x1ce)](_0x3060e8['id']),_0x1c9ba6=_0x3362a7[_0x19e5cc(0x1aa)]):(_0x1c9ba6=new _0x3b858b(_0x1bea89[_0x19e5cc(0x20d)],_0x3060e8,_0x252320,{'disableComments':this[_0x19e5cc(0x204)],'editorConfig':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1de)),'maxCommentsWhenCollapsed':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1c9)),'maxThreadTotalWeight':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1ad)),'maxCommentCharsWhenCollapsed':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x185)),'formatDateTime':_0x6b51d(_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x20d))),'CommentView':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1df))[_0x19e5cc(0x1e4)],'CommentsListView':_0x5d65e4,'CommentThreadInputView':_0x1703c3}),_0x1c9ba6[_0x19e5cc(0x1c4)]['on'](_0x19e5cc(0x1b8),()=>{const _0x48a99d=_0x19e5cc;_0x1bea89[_0x48a99d(0x199)][_0x48a99d(0x1eb)][_0x48a99d(0x20a)]();}),_0x1c9ba6[_0x19e5cc(0x1ca)]['on'](_0x19e5cc(0x1b8),()=>{const _0x418b19=_0x19e5cc;_0x1bea89[_0x418b19(0x199)][_0x418b19(0x1eb)][_0x418b19(0x20a)]();}),_0x3362a7=_0x2730a2[_0x19e5cc(0x1be)](this[_0x19e5cc(0x188)][_0x19e5cc(0x20d)],_0x1c9ba6),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1a8))['to'](_0x1c9ba6,_0x19e5cc(0x1a8)),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1a7))['to'](_0x1c9ba6),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1b4))['to'](_0x1c9ba6,_0x19e5cc(0x1b4),_0x225dcd=>_0x19e5cc(0x1f5)+_0x225dcd),this[_0x19e5cc(0x196)][_0x19e5cc(0x195)](_0x3060e8['id'],_0x3362a7));const _0x59b386=_0x52a29e[_0x19e5cc(0x1b3)](_0x3060e8[_0x19e5cc(0x1cd)],_0x1c9ba6),_0x2dc7fa=new _0x5bf07f(_0x1bea89,_0x3060e8,_0x1c9ba6,_0x59b386),_0x898db8=_0x3060e8[_0x19e5cc(0x1d6)]()[_0x19e5cc(0x200)](_0x51167a=>_0x51167a[_0x19e5cc(0x202)]);_0x1c9ba6[_0x19e5cc(0x20e)]=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1e0))[_0x19e5cc(0x1e8)][_0x19e5cc(0x1e5)](_0x898db8),this[_0x19e5cc(0x1f9)][_0x19e5cc(0x195)](_0x3060e8,_0x2dc7fa),this[_0x19e5cc(0x1fb)][_0x19e5cc(0x195)](_0x1c9ba6,_0x2dc7fa);const _0x1faabb=_0x2730a2[_0x19e5cc(0x193)]({'view':_0x3362a7,'target':()=>{const _0x6727ba=_0x19e5cc,_0x15c73d=[],_0x3c5b77=_0x3060e8[_0x6727ba(0x1d6)]()[_0x6727ba(0x200)](_0x4a8d20=>_0x4a8d20[_0x6727ba(0x202)]);for(const _0x27f6f1 of _0x3c5b77)_0x15c73d[_0x6727ba(0x19f)](..._0x27f6f1[_0x6727ba(0x1a4)]());return _0x2ae866(_0x1bea89[_0x6727ba(0x199)],_0x15c73d);},'type':()=>_0x19e5cc(0x1f5)+_0x2dc7fa[_0x19e5cc(0x1eb)][_0x19e5cc(0x1b4)]});_0x52a29e[_0x19e5cc(0x207)](_0x1c9ba6,_0x1faabb),_0x2730a2[_0x19e5cc(0x1d8)](_0x1faabb),_0x3c6aeb[_0x19e5cc(0x1cf)](_0x1faabb);}[_0x165cc4(0x1d5)](_0x1607a2){const _0x4b53d2=_0x165cc4,_0x5bac2c=this[_0x4b53d2(0x188)][_0x4b53d2(0x18d)][_0x4b53d2(0x1ce)](_0x4b53d2(0x1b6)),_0x31953c=this[_0x4b53d2(0x188)][_0x4b53d2(0x18d)][_0x4b53d2(0x1ce)](_0x4b53d2(0x201)),_0x161ea0=this[_0x4b53d2(0x1f9)][_0x4b53d2(0x1ce)](_0x1607a2),_0x36bc8c=_0x161ea0[_0x4b53d2(0x1eb)],_0x2ca598=_0x31953c[_0x4b53d2(0x1f1)](_0x36bc8c);_0x5bac2c[_0x4b53d2(0x1a1)](_0x36bc8c),_0x2ca598&&_0x31953c[_0x4b53d2(0x1c1)](_0x2ca598),this[_0x4b53d2(0x1f9)][_0x4b53d2(0x18b)](_0x1607a2),this[_0x4b53d2(0x1fb)][_0x4b53d2(0x18b)](_0x36bc8c),_0x161ea0[_0x4b53d2(0x1d2)]();}[_0x165cc4(0x1ee)](_0x176088){const _0x781132=_0x165cc4;if(!_0x176088[_0x781132(0x202)]||!this[_0x781132(0x1f9)][_0x781132(0x1a9)](_0x176088))return;const _0x371c29=this[_0x781132(0x188)][_0x781132(0x18d)][_0x781132(0x1ce)](_0x781132(0x1e0)),_0x4e8572=this[_0x781132(0x1f9)][_0x781132(0x1ce)](_0x176088),_0x733f1=_0x176088[_0x781132(0x1d6)]();_0x4e8572[_0x781132(0x1eb)][_0x781132(0x20e)]=_0x371c29[_0x781132(0x1e8)][_0x781132(0x1e5)](_0x733f1);}[_0x165cc4(0x1d2)](){const _0x28f57b=_0x165cc4;for(const _0x394dd2 of this[_0x28f57b(0x1f9)][_0x28f57b(0x18c)]())this[_0x28f57b(0x1d5)](_0x394dd2);for(const _0x53fada of this[_0x28f57b(0x196)][_0x28f57b(0x1b7)]())_0x53fada[_0x28f57b(0x1aa)][_0x28f57b(0x1d2)]();super[_0x28f57b(0x1d2)]();}}function ae(_0x437429){const _0x1c105a=_0x165cc4;return _0x1c105a(0x1a3)in _0x437429;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3f7d84=_0x19e1;function _0x36e0(){const _0x2b9561=['1202718XKsEzS','208729jZNMfZ','1395534QEfHKa','model','add','PendingActions','stopListening','get','335988HYuagB','_discardCommand','destroy','commands','discardSuggestion','_pendingAction','change:isDirty','locale','unbind','execute','listenTo','PENDING_ACTION_SUGGESTION','1150472tGbsno','_acceptCommand','_editor','plugins','canDiscard','bind','isEnabled','canAccept','_removePendingAction','20EADEYK','view','canEditAt','_setPendingAction','959wyKQEx','getRanges','acceptSuggestion','15208TJIyKW','remove','isDirty','2420aAaNBU','1050masQIX','5FZewYZ','commentThreadController'];_0x36e0=function(){return _0x2b9561;};return _0x36e0();}(function(_0x445582,_0x3d442f){const _0x737c54=_0x19e1,_0x43d80f=_0x445582();while(!![]){try{const _0x51236b=-parseInt(_0x737c54(0x1cf))/0x1+parseInt(_0x737c54(0x1ca))/0x2*(parseInt(_0x737c54(0x1cb))/0x3)+-parseInt(_0x737c54(0x1b7))/0x4*(-parseInt(_0x737c54(0x1cc))/0x5)+-parseInt(_0x737c54(0x1d0))/0x6+parseInt(_0x737c54(0x1c4))/0x7*(-parseInt(_0x737c54(0x1c7))/0x8)+parseInt(_0x737c54(0x1d6))/0x9+parseInt(_0x737c54(0x1c0))/0xa*(parseInt(_0x737c54(0x1ce))/0xb);if(_0x51236b===_0x3d442f)break;else _0x43d80f['push'](_0x43d80f['shift']());}catch(_0x584ae4){_0x43d80f['push'](_0x43d80f['shift']());}}}(_0x36e0,0x40c9b));function _0x19e1(_0x241d1a,_0x48cb67){const _0x36e081=_0x36e0();return _0x19e1=function(_0x19e108,_0x27a1f7){_0x19e108=_0x19e108-0x1af;let _0x3d4ff8=_0x36e081[_0x19e108];return _0x3d4ff8;},_0x19e1(_0x241d1a,_0x48cb67);}import{ObservableMixin as _0x3a15a3}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b6050}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a15a3(){constructor(_0x1711c8,_0x80f363,_0x2fa587,_0x4b42cd){const _0x19b21e=_0x19e1;super(),this[_0x19b21e(0x1d1)]=_0x80f363,this[_0x19b21e(0x1c1)]=_0x2fa587,this[_0x19b21e(0x1cd)]=_0x4b42cd,this[_0x19b21e(0x1b9)]=_0x1711c8,this[_0x19b21e(0x1b8)]=_0x1711c8[_0x19b21e(0x1d9)][_0x19b21e(0x1d5)](_0x19b21e(0x1c6)),this[_0x19b21e(0x1d7)]=_0x1711c8[_0x19b21e(0x1d9)][_0x19b21e(0x1d5)](_0x19b21e(0x1af)),this[_0x19b21e(0x1c1)][_0x19b21e(0x1bc)](_0x19b21e(0x1bd))['to'](this[_0x19b21e(0x1b8)],this[_0x19b21e(0x1d7)],(_0x590f40,_0x295158)=>_0x590f40||_0x295158),this[_0x19b21e(0x1c1)][_0x19b21e(0x1bc)](_0x19b21e(0x1be))['to'](this[_0x19b21e(0x1b8)],_0x19b21e(0x1bd),_0xf1af62=>_0xf1af62&&this[_0x19b21e(0x1b9)][_0x19b21e(0x1d1)][_0x19b21e(0x1c2)](_0x80f363[_0x19b21e(0x1c5)]())),this[_0x19b21e(0x1c1)][_0x19b21e(0x1bc)](_0x19b21e(0x1bb))['to'](this[_0x19b21e(0x1d7)],_0x19b21e(0x1bd),_0x3bd713=>_0x3bd713&&this[_0x19b21e(0x1b9)][_0x19b21e(0x1d1)][_0x19b21e(0x1c2)](_0x80f363[_0x19b21e(0x1c5)]())),this[_0x19b21e(0x1b0)]=null,_0x2fa587[_0x19b21e(0x1c9)]&&this[_0x19b21e(0x1c3)](),this[_0x19b21e(0x1b5)](_0x2fa587,_0x19b21e(0x1c6),()=>this[_0x19b21e(0x1c6)]()),this[_0x19b21e(0x1b5)](_0x2fa587,_0x19b21e(0x1af),()=>this[_0x19b21e(0x1af)]()),this[_0x19b21e(0x1b5)](_0x2fa587,_0x19b21e(0x1b1),()=>{const _0x959f6c=_0x19b21e;_0x2fa587[_0x959f6c(0x1c9)]?this[_0x959f6c(0x1c3)]():this[_0x959f6c(0x1bf)]();});}[_0x3f7d84(0x1c6)](){const _0x40435d=_0x3f7d84;this[_0x40435d(0x1b8)][_0x40435d(0x1b4)](this[_0x40435d(0x1d1)]['id']);}[_0x3f7d84(0x1af)](){const _0x1fca6c=_0x3f7d84;this[_0x1fca6c(0x1d7)][_0x1fca6c(0x1b4)](this[_0x1fca6c(0x1d1)]['id']);}[_0x3f7d84(0x1d8)](){const _0x444e68=_0x3f7d84;this[_0x444e68(0x1c1)][_0x444e68(0x1b3)](_0x444e68(0x1bd)),this[_0x444e68(0x1c1)][_0x444e68(0x1b3)](_0x444e68(0x1be)),this[_0x444e68(0x1c1)][_0x444e68(0x1b3)](_0x444e68(0x1bb)),this[_0x444e68(0x1d4)](),this[_0x444e68(0x1cd)][_0x444e68(0x1d8)](),this[_0x444e68(0x1b0)]&&this[_0x444e68(0x1bf)]();}[_0x3f7d84(0x1c3)](){const _0xcc35b0=_0x3f7d84,_0xd3e03c=_0x2b6050(this[_0xcc35b0(0x1b9)][_0xcc35b0(0x1b2)],_0xcc35b0(0x1b6));this[_0xcc35b0(0x1b0)]=this[_0xcc35b0(0x1b9)][_0xcc35b0(0x1ba)][_0xcc35b0(0x1d5)](_0xcc35b0(0x1d3))[_0xcc35b0(0x1d2)](_0xd3e03c);}[_0x3f7d84(0x1bf)](){const _0x2576ad=_0x3f7d84;null!==this[_0x2576ad(0x1b0)]&&this[_0x2576ad(0x1b9)][_0x2576ad(0x1ba)][_0x2576ad(0x1d5)](_0x2576ad(0x1d3))[_0x2576ad(0x1c8)](this[_0x2576ad(0x1b0)]),this[_0x2576ad(0x1b0)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d4fca=_0x235f;function _0x235f(_0x3d1116,_0x4e33fb){const _0x59b814=_0x59b8();return _0x235f=function(_0x235f7c,_0x20c85a){_0x235f7c=_0x235f7c-0xe0;let _0xe57f4c=_0x59b814[_0x235f7c];return _0xe57f4c;},_0x235f(_0x3d1116,_0x4e33fb);}function _0x59b8(){const _0x20ea73=['updateComment','_model','hasDirtyComment','9kKhbmh','showInput','destroy','142813bEvWnI','focus','submit','length','633838rqObti','commentThread','bind','isDirty','set','9955SVJOob','removeComment','7260kglDQh','disabledSubmit','commentInputView','commentsListView','3012jBmKuZ','2430puqkap','authoredAt','4504290DecQZm','addComment','9667430HveYpq','cancel','descriptionParts','fire','_createCommentThreadInputView','_config','CommentView','value','isEnabled','isActive','commentThreadInputView','assign','delegate','locale','canAccept','setData','_createCommentViews','isReadOnly','element','1527EqqCwH','3041776tUMlCO','editor','editorConfig','1qRPjMD','canDiscard','disableComments','_localUser'];_0x59b8=function(){return _0x20ea73;};return _0x59b8();}(function(_0x11d3e4,_0x43abc9){const _0x2681c1=_0x235f,_0x4fb575=_0x11d3e4();while(!![]){try{const _0x444976=-parseInt(_0x2681c1(0x109))/0x1*(parseInt(_0x2681c1(0xe2))/0x2)+-parseInt(_0x2681c1(0x105))/0x3*(parseInt(_0x2681c1(0xe9))/0x4)+parseInt(_0x2681c1(0xe7))/0x5*(-parseInt(_0x2681c1(0xee))/0x6)+parseInt(_0x2681c1(0xf0))/0x7+-parseInt(_0x2681c1(0x106))/0x8+-parseInt(_0x2681c1(0x110))/0x9*(parseInt(_0x2681c1(0xf2))/0xa)+-parseInt(_0x2681c1(0x113))/0xb*(-parseInt(_0x2681c1(0xed))/0xc);if(_0x444976===_0x43abc9)break;else _0x4fb575['push'](_0x4fb575['shift']());}catch(_0x2da0ad){_0x4fb575['push'](_0x4fb575['shift']());}}}(_0x59b8,0x7c0e1));import{View as _0xa693de}from'ckeditor5/src/ui.js';export default class es extends _0xa693de{constructor(_0x556622,_0x13b374,_0x47aacb,_0x4eb749){const _0x1dac76=_0x235f;super(_0x556622),this[_0x1dac76(0xec)]=null,this[_0x1dac76(0xfc)]=null,this[_0x1dac76(0xe6)](_0x1dac76(0xfb),!0x1),this[_0x1dac76(0xe6)](_0x1dac76(0xef),_0x13b374[_0x1dac76(0xef)]),this[_0x1dac76(0xe4)](_0x1dac76(0xef))['to'](_0x13b374),this[_0x1dac76(0xe6)](_0x1dac76(0xf4),[]),this[_0x1dac76(0xe6)](_0x1dac76(0xe5),!0x1),this[_0x1dac76(0xe6)](_0x1dac76(0xfa),!0x1),this[_0x1dac76(0xe6)](_0x1dac76(0x100),!0x1),this[_0x1dac76(0xe6)](_0x1dac76(0x10a),!0x1),this[_0x1dac76(0x10e)]=_0x13b374,this[_0x1dac76(0x10c)]=_0x47aacb,this[_0x1dac76(0xf7)]=_0x4eb749,_0x4eb749[_0x1dac76(0x10b)]?this[_0x1dac76(0xe6)](_0x1dac76(0xe1),0x1):this[_0x1dac76(0x102)]();}[_0x2d4fca(0x114)](){const _0x4d2a60=_0x2d4fca;this[_0x4d2a60(0x104)][_0x4d2a60(0x114)]();}[_0x2d4fca(0x112)](){const _0x1c9849=_0x2d4fca;this[_0x1c9849(0xec)]&&this[_0x1c9849(0xec)][_0x1c9849(0x112)](),this[_0x1c9849(0xfc)]&&this[_0x1c9849(0xfc)][_0x1c9849(0x112)](),super[_0x1c9849(0x112)]();}[_0x2d4fca(0x102)](){const _0x5ce658=_0x2d4fca,{CommentsListView:_0x5ae417}=this[_0x5ce658(0xf7)];this[_0x5ce658(0xec)]=new _0x5ae417(this[_0x5ce658(0xff)],this[_0x5ce658(0x10e)][_0x5ce658(0xe3)],Object[_0x5ce658(0xfd)]({'CommentView':this[_0x5ce658(0xf7)][_0x5ce658(0xf8)]},this[_0x5ce658(0xf7)])),this[_0x5ce658(0xec)][_0x5ce658(0xfe)](_0x5ce658(0xe8))['to'](this),this[_0x5ce658(0xec)][_0x5ce658(0xfe)](_0x5ce658(0x10d))['to'](this),this[_0x5ce658(0xec)][_0x5ce658(0xe4)](_0x5ce658(0xfb))['to'](this),this[_0x5ce658(0xe6)](_0x5ce658(0xe1),this[_0x5ce658(0xec)][_0x5ce658(0xe1)]+0x1),this[_0x5ce658(0xe4)](_0x5ce658(0xe1))['to'](this[_0x5ce658(0xec)],_0x5ce658(0xe1),_0x4ec8b6=>_0x4ec8b6+0x1),this[_0x5ce658(0xfc)]=this[_0x5ce658(0xf6)](),this['on'](_0x5ce658(0xe8),()=>this[_0x5ce658(0x114)]()),this[_0x5ce658(0xe4)](_0x5ce658(0xe5))['to'](this[_0x5ce658(0xec)],_0x5ce658(0x10f),this[_0x5ce658(0xfc)][_0x5ce658(0xeb)],_0x5ce658(0xf9),(_0x13db35,_0x59a786)=>_0x13db35||!!_0x59a786);}[_0x2d4fca(0xf6)](){const _0x5e3f9b=_0x2d4fca,{CommentThreadInputView:_0x233f19}=this[_0x5e3f9b(0xf7)],_0x57197f=new _0x233f19(this[_0x5e3f9b(0xff)],this[_0x5e3f9b(0x10c)],this[_0x5e3f9b(0xf7)][_0x5e3f9b(0x108)]),_0xb3a0b0=_0x57197f[_0x5e3f9b(0xeb)];return _0x57197f[_0x5e3f9b(0xe4)](_0x5e3f9b(0x111))['to'](this,_0x5e3f9b(0xfb),this[_0x5e3f9b(0x10e)][_0x5e3f9b(0xe3)],_0x5e3f9b(0x103),_0xb3a0b0,_0x5e3f9b(0xf9),(_0x2d7148,_0x266b3c,_0x37f398)=>!!_0x37f398||_0x2d7148&&!_0x266b3c),_0xb3a0b0['on'](_0x5e3f9b(0xe0),(_0x1424aa,_0x8ad9bf)=>{const _0xa6f327=_0x5e3f9b;this[_0xa6f327(0xf5)](_0xa6f327(0xf1),_0x8ad9bf),_0xb3a0b0[_0xa6f327(0x107)][_0xa6f327(0x101)]('');}),_0xb3a0b0['on'](_0x5e3f9b(0xf3),()=>this[_0x5e3f9b(0x114)]()),_0xb3a0b0[_0x5e3f9b(0xe4)](_0x5e3f9b(0xea))['to'](this[_0x5e3f9b(0x10e)][_0x5e3f9b(0xe3)],_0x5e3f9b(0x103)),_0x57197f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b8b54=_0x4bdf;(function(_0x513213,_0x489e0d){const _0x5905d6=_0x4bdf,_0x1330cc=_0x513213();while(!![]){try{const _0x211df6=-parseInt(_0x5905d6(0x240))/0x1*(-parseInt(_0x5905d6(0x21b))/0x2)+-parseInt(_0x5905d6(0x23d))/0x3+parseInt(_0x5905d6(0x212))/0x4+-parseInt(_0x5905d6(0x209))/0x5+-parseInt(_0x5905d6(0x1f7))/0x6*(-parseInt(_0x5905d6(0x241))/0x7)+-parseInt(_0x5905d6(0x1db))/0x8*(parseInt(_0x5905d6(0x1e2))/0x9)+parseInt(_0x5905d6(0x1e1))/0xa*(parseInt(_0x5905d6(0x21a))/0xb);if(_0x211df6===_0x489e0d)break;else _0x1330cc['push'](_0x1330cc['shift']());}catch(_0x3be31a){_0x1330cc['push'](_0x1330cc['shift']());}}}(_0xa60a,0x85f69));import{getTranslation as _0x3889a9}from'../../utils/common-translations.js';function _0xa60a(){const _0x32a194=['83540tKSUNr','6579DncLUC','ck-suggestion-wrapper','execute','getUserViewNotificationText','acceptButton','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_AVATAR','acceptSuggestion','Discard\x20suggestion','map','name','ck-suggestion--disabled-comments','isActive','<p>','push','EXTERNAL_IMPORT_WORD_SUGGESTION','formatDateTime','</p>','change:description','ck-suggestion--discard','\x22\x20title=\x22','2827650bZTqNK','.ck-annotation__content-wrapper','ck-suggestion-','value','title','descriptionParts','innerHTML','_descriptionElement','getTemplate','bind','Accept\x20suggestion','author','discardSuggestion','fire','div','canAccept','getExternalSuggestionNote','ck-annotation','5478185zmqpFh','editorDestroyed','type','commentsListView','locale','<span\x20class=\x22ck-suggestion-type\x22>','@external','EXTERNAL_SUGGESTION','_config','1877456ymgKMs','source','discardButton','time','set','ck-suggestion__main','querySelector','isExternal','1441fuZHms','2jnoVro','check','attributes','ck-suggestion__user','cancel','ck-annotation__info-name','commentThread','ck-annotation__main','isEnabled','creator','ck-suggestion-wrapper--active','color','ck-comment__info-time','innerText','canDiscard','element','ck-suggestion--accept','userView','span','split','ck-annotation__info','content','ck-annotation__user','editorReady','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','</span>','setTemplate','EXTERNAL_AVATAR','createElement','render','_model','\x22></span>','ck-comment__external','children','2838747MEnOfI','_createButton','importWord','1032929MPdOIm','7srfzLZ','disableComments','authoredAt','description','ck-annotation__info-time','ck-annotation__actions','ck-suggestion__actions','extendTemplate','ck-suggestion__info-name','bindTemplate','5224Yvherr','ck-suggestion__info','join','commentThreadInputView','ck-suggestion','delegate'];_0xa60a=function(){return _0x32a194;};return _0xa60a();}import{default as _0x4125d5}from'./basesuggestionthreadview.js';import{ButtonView as _0x434763}from'ckeditor5/src/ui.js';import{icons as _0x716ea1}from'ckeditor5/src/core.js';import{trimHtml as _0x419780,UserView as _0x5b7a49}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x4125d5{constructor(_0x57fc0e,_0x2d985f,_0x35e422,_0xb082ba){const _0x262f44=_0x4bdf;super(_0x57fc0e,_0x2d985f,_0x35e422,_0xb082ba),this[_0x262f44(0x216)](_0x262f44(0x20b),''),this[_0x262f44(0x200)](_0x262f44(0x20b))['to'](this,_0x262f44(0x1fc),_0x389927=>_0x389927&&_0x389927[0x0]?_0x389927[0x0][_0x262f44(0x20b)]:''),this[_0x262f44(0x200)](_0x262f44(0x244))['to'](this,_0x262f44(0x1fc),this,_0x262f44(0x1ee),(_0x5106f1,_0x124dea)=>{const _0x572c1e=_0x262f44;let _0x14f41b='';for(const _0x1dad36 of _0x5106f1)_0x14f41b+=_0x572c1e(0x1ef)+ds(_0x1dad36[_0x572c1e(0x230)],_0x1dad36[_0x572c1e(0x226)])+_0x572c1e(0x1f3);return _0x124dea?_0x14f41b:_0x419780(_0x14f41b,{'limit':0x8c});}),this[_0x262f44(0x1fe)]=null,this[_0x262f44(0x1e6)]=this[_0x262f44(0x23e)](_0x3889a9(_0x57fc0e,_0x262f44(0x201)),_0x716ea1[_0x262f44(0x21c)],_0x262f44(0x22b),_0x262f44(0x1e9),'sw'),this[_0x262f44(0x1e6)][_0x262f44(0x200)](_0x262f44(0x223))['to'](this,_0x262f44(0x206)),this[_0x262f44(0x214)]=this[_0x262f44(0x23e)](_0x3889a9(_0x57fc0e,_0x262f44(0x1ea)),_0x716ea1[_0x262f44(0x21f)],_0x262f44(0x1f5),_0x262f44(0x203),'sw'),this[_0x262f44(0x214)][_0x262f44(0x200)](_0x262f44(0x223))['to'](this,_0x262f44(0x229)),this[_0x262f44(0x22c)]=new _0x5b7a49(_0x57fc0e,this[_0x262f44(0x239)][_0x262f44(0x202)],this[_0x262f44(0x1e5)]()),this[_0x262f44(0x22c)][_0x262f44(0x1d8)]({'attributes':{'class':[_0x262f44(0x21e),_0x262f44(0x231)]}}),this[_0x262f44(0x235)](this[_0x262f44(0x1ff)]());}[_0x5b8b54(0x1ff)](){const _0x9a01b8=_0x5b8b54,_0x5df08d=this[_0x9a01b8(0x1da)],_0x51214d=[{'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x1dc),_0x9a01b8(0x22f)]},'children':[{'tag':_0x9a01b8(0x22d),'children':[{'text':this[_0x9a01b8(0x22c)][_0x9a01b8(0x1ec)]}],'attributes':{'class':[_0x9a01b8(0x1d9),_0x9a01b8(0x220)]}},{'tag':_0x9a01b8(0x215),'attributes':{'datetime':_0x5df08d['to'](_0x9a01b8(0x243)),'class':[_0x9a01b8(0x227),_0x9a01b8(0x245)]},'children':[{'text':_0x5df08d['to'](_0x9a01b8(0x243),_0x4e8cc3=>this[_0x9a01b8(0x211)][_0x9a01b8(0x1f2)](_0x4e8cc3))}]}]},{'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x1d7),_0x9a01b8(0x246)]},'children':[this[_0x9a01b8(0x1e6)],this[_0x9a01b8(0x214)]]},{'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x1e7)]}}];this[_0x9a01b8(0x239)][_0x9a01b8(0x219)]&&_0x51214d[_0x9a01b8(0x1f0)]({'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x23b)]},'children':[{'text':this[_0x9a01b8(0x207)]()}]});const _0x119577={'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x1e3),_0x5df08d['if'](_0x9a01b8(0x1ee),_0x9a01b8(0x225)),_0x5df08d['to'](_0x9a01b8(0x20b),_0x4f8af3=>_0x9a01b8(0x1f9)+_0x4f8af3),this[_0x9a01b8(0x211)][_0x9a01b8(0x242)]&&_0x9a01b8(0x1ed)],'data-suggestion-id':this[_0x9a01b8(0x239)]['id'],'data-thread-id':this[_0x9a01b8(0x239)][_0x9a01b8(0x221)]['id'],'data-author-id':this[_0x9a01b8(0x239)][_0x9a01b8(0x202)]['id'],'tabindex':-0x1},'children':[{'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x1df),_0x9a01b8(0x208)]},'children':[this[_0x9a01b8(0x22c)],{'tag':_0x9a01b8(0x205),'attributes':{'class':[_0x9a01b8(0x217),_0x9a01b8(0x222)]},'children':_0x51214d}]}]};return this[_0x9a01b8(0x20c)]&&this[_0x9a01b8(0x1de)]&&(_0x119577[_0x9a01b8(0x23c)][_0x9a01b8(0x1f0)](this[_0x9a01b8(0x20c)],this[_0x9a01b8(0x1de)]),this[_0x9a01b8(0x20c)][_0x9a01b8(0x1e0)](_0x9a01b8(0x232))['to'](this),this[_0x9a01b8(0x20c)][_0x9a01b8(0x1e0)](_0x9a01b8(0x20a))['to'](this),this[_0x9a01b8(0x1de)][_0x9a01b8(0x1e0)](_0x9a01b8(0x232))['to'](this),this[_0x9a01b8(0x1de)][_0x9a01b8(0x1e0)](_0x9a01b8(0x20a))['to'](this)),_0x119577;}[_0x5b8b54(0x238)](){const _0x1c82bf=_0x5b8b54;super[_0x1c82bf(0x238)](),this[_0x1c82bf(0x1fe)]=this[_0x1c82bf(0x22a)][_0x1c82bf(0x218)](_0x1c82bf(0x1f8)),this[_0x1c82bf(0x1fe)][_0x1c82bf(0x1fd)]=this[_0x1c82bf(0x244)],this['on'](_0x1c82bf(0x1f4),(_0x30937e,_0x467639,_0x189c4a)=>{const _0x1d578f=_0x1c82bf;this[_0x1d578f(0x1fe)][_0x1d578f(0x1fd)]=_0x189c4a;});}[_0x5b8b54(0x23e)](_0x41fa4c,_0x239f94,_0x4d6202,_0x3ff604,_0x27e046){const _0x23b4e5=_0x5b8b54,_0x2aecfb=new _0x434763(this[_0x23b4e5(0x20d)]);return _0x2aecfb[_0x23b4e5(0x216)]({'label':_0x41fa4c,'icon':_0x239f94,'tooltip':!0x0,'tooltipPosition':_0x27e046}),_0x2aecfb[_0x23b4e5(0x1d8)]({'attributes':{'class':_0x4d6202}}),_0x2aecfb['on'](_0x23b4e5(0x1e4),()=>{const _0x456441=_0x23b4e5;this[_0x456441(0x204)](_0x3ff604,this[_0x456441(0x239)]['id']);}),_0x2aecfb;}[_0x5b8b54(0x207)](){const _0x41b170=_0x5b8b54;return _0x41b170(0x23f)===this[_0x41b170(0x239)][_0x41b170(0x21d)][_0x41b170(0x20f)][_0x41b170(0x213)]?_0x3889a9(this[_0x41b170(0x20d)],_0x41b170(0x1f1)):_0x3889a9(this[_0x41b170(0x20d)],_0x41b170(0x210));}[_0x5b8b54(0x1e5)](){const _0x38d49b=_0x5b8b54;return this[_0x38d49b(0x239)][_0x38d49b(0x219)]?_0x38d49b(0x23f)===this[_0x38d49b(0x239)][_0x38d49b(0x21d)][_0x38d49b(0x20f)][_0x38d49b(0x213)]?_0x3889a9(this[_0x38d49b(0x20d)],_0x38d49b(0x1e8),this[_0x38d49b(0x239)][_0x38d49b(0x224)][_0x38d49b(0x1ec)]):_0x3889a9(this[_0x38d49b(0x20d)],_0x38d49b(0x236),this[_0x38d49b(0x239)][_0x38d49b(0x224)][_0x38d49b(0x1ec)]):null;}}function ds(_0x263fb8,_0x437b90){const _0x517d19=_0x5b8b54;let _0x42e0be='';return _0x42e0be+=_0x263fb8[_0x517d19(0x22e)]('*')[_0x517d19(0x1eb)]((_0x3409a9,_0x2022c7)=>_0x2022c7%0x2!=0x0?_0x517d19(0x20e)+us(_0x3409a9)+_0x517d19(0x234):us(_0x3409a9))[_0x517d19(0x1dd)](''),_0x437b90&&(_0x42e0be+=_0x517d19(0x233)+_0x437b90[_0x517d19(0x1fa)]+_0x517d19(0x1f6)+_0x437b90[_0x517d19(0x1fb)]+_0x517d19(0x23a)),_0x42e0be;}function _0x4bdf(_0x177a02,_0x59fe39){const _0xa60a69=_0xa60a();return _0x4bdf=function(_0x4bdf13,_0x1e0e2f){_0x4bdf13=_0x4bdf13-0x1d7;let _0x54963c=_0xa60a69[_0x4bdf13];return _0x54963c;},_0x4bdf(_0x177a02,_0x59fe39);}function us(_0x25dc33){const _0x586e70=_0x5b8b54,_0x21f7c4=document[_0x586e70(0x237)](_0x586e70(0x22d));return _0x21f7c4[_0x586e70(0x228)]=_0x25dc33,_0x21f7c4[_0x586e70(0x1fd)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x34bd88,_0x5b8a7a,_0x23063c){const t=_0x34bd88['t'];switch(_0x5b8a7a){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',_0x23063c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x23063c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x23063c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x23063c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x23063c);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',_0x23063c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x23063c);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',_0x23063c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x23063c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x23063c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x23063c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x23063c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x23063c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x23063c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x23063c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x23063c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x23063c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x23063c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x23063c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x23063c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x23063c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x23063c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x23063c);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'},_0x23063c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x23063c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x23063c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x23063c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x23063c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x23063c);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'},_0x23063c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x23063c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x23063c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x23063c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x23063c);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'},_0x23063c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x23063c);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'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x23063c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x23063c);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'},_0x23063c);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'},_0x23063c);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 _0x5b8a7a;}}
|
|
23
|
+
export function getTranslation(_0xfa659d,_0x1fdadf,_0x22c238){const t=_0xfa659d['t'];switch(_0x1fdadf){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',_0x22c238);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22c238);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22c238);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22c238);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22c238);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',_0x22c238);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22c238);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',_0x22c238);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22c238);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22c238);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22c238);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22c238);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22c238);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22c238);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22c238);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22c238);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22c238);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22c238);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22c238);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22c238);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22c238);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22c238);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22c238);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'},_0x22c238);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22c238);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22c238);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22c238);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22c238);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22c238);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'},_0x22c238);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22c238);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22c238);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22c238);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22c238);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'},_0x22c238);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22c238);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'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22c238);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22c238);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'},_0x22c238);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'},_0x22c238);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 _0x1fdadf;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x55b2f5,_0xbd1eb9){const _0x2ae871=_0x127f,_0x163ab5=_0x55b2f5();while(!![]){try{const _0x1b9e06=-parseInt(_0x2ae871(0x1c5))/0x1*(parseInt(_0x2ae871(0x1b7))/0x2)+-parseInt(_0x2ae871(0x1d7))/0x3*(-parseInt(_0x2ae871(0x1db))/0x4)+parseInt(_0x2ae871(0x1c2))/0x5+parseInt(_0x2ae871(0x1c4))/0x6+-parseInt(_0x2ae871(0x1b5))/0x7*(parseInt(_0x2ae871(0x1cb))/0x8)+-parseInt(_0x2ae871(0x1d0))/0x9*(-parseInt(_0x2ae871(0x1cf))/0xa)+parseInt(_0x2ae871(0x1b3))/0xb*(parseInt(_0x2ae871(0x1ba))/0xc);if(_0x1b9e06===_0xbd1eb9)break;else _0x163ab5['push'](_0x163ab5['shift']());}catch(_0x2ac8ab){_0x163ab5['push'](_0x163ab5['shift']());}}}(_0x3bac,0xdbc96));export function normalizeDescription(_0x2dd5c4){const _0x5c191c=_0x127f;return Array[_0x5c191c(0x1dd)](_0x2dd5c4)||(_0x2dd5c4=[_0x2dd5c4]),_0x2dd5c4[_0x5c191c(0x1bb)](_0x14099c=>{const _0x5c429d=_0x5c191c,_0x37e291=_0x14099c[_0x5c429d(0x1bd)][_0x5c429d(0x1d3)](/\*/g,''),_0x3f2ddc=_0x14099c[_0x5c429d(0x1cc)]?_0x5c429d(0x1d1)+_0x14099c[_0x5c429d(0x1cc)][_0x5c429d(0x1d8)]+']':'';return'['+_0x14099c[_0x5c429d(0x1d9)]+']\x20'+_0x37e291+_0x3f2ddc;})[_0x5c191c(0x1bc)](';\x20');}export function sortSuggestions(_0x4edeb4){const _0x5e7cbf=_0x127f;return _0x4edeb4[_0x5e7cbf(0x1dc)]((_0x4238a3,_0x10129c)=>_0x5e7cbf(0x1cd)==_0x4238a3[_0x5e7cbf(0x1d9)]&&_0x5e7cbf(0x1cd)!=_0x10129c[_0x5e7cbf(0x1d9)]?-0x1:_0x5e7cbf(0x1cd)!=_0x4238a3[_0x5e7cbf(0x1d9)]&&_0x5e7cbf(0x1cd)==_0x10129c[_0x5e7cbf(0x1d9)]?0x1:0x0);}export function getSelectedSuggestions(_0x560742,_0x224b18){const _0x1eb3ca=_0x127f,_0x1bd5e9=Array[_0x1eb3ca(0x1b6)](_0x560742[_0x1eb3ca(0x1d5)]()),_0x2d9928=new Set();for(const _0xa2f92b of _0x224b18)if(_0xa2f92b[_0x1eb3ca(0x1c3)]){for(const _0x2e4909 of _0x1bd5e9)for(const _0x247f0f of _0xa2f92b[_0x1eb3ca(0x1d5)]())(_0x2e4909[_0x1eb3ca(0x1c7)](_0x247f0f)||_0x560742[_0x1eb3ca(0x1b9)]&&!_0xa2f92b[_0x1eb3ca(0x1d6)]&&_0xa2f92b[_0x1eb3ca(0x1b4)]&&_0x247f0f[_0x1eb3ca(0x1bf)][_0x1eb3ca(0x1de)](_0x2e4909[_0x1eb3ca(0x1da)]))&&_0x2d9928[_0x1eb3ca(0x1c1)](_0xa2f92b);}return _0x2d9928;}export function getRangesOfBlockGroups(_0x35ccb8,_0x2d6277){const _0x594dc4=_0x127f;let _0x1f3bc0,_0x1e7a65=0x0;const _0x27871b=[],_0x4300be=_0x2d6277[_0x594dc4(0x1ce)];for(;_0x1e7a65<_0x35ccb8[_0x594dc4(0x1c6)];){const _0x4f7ecb=_0x35ccb8[_0x1e7a65],_0x5bd0d5=_0x35ccb8[_0x1e7a65+0x1];_0x1f3bc0||(_0x1f3bc0=_0x2d6277[_0x594dc4(0x1c9)](_0x4f7ecb)),co(_0x2d6277,_0x4f7ecb,_0x5bd0d5)||(_0x27871b[_0x594dc4(0x1be)](_0x2d6277[_0x594dc4(0x1d4)](_0x1f3bc0,_0x4300be[_0x594dc4(0x1df)](_0x4f7ecb)?_0x2d6277[_0x594dc4(0x1b8)](_0x4f7ecb):_0x2d6277[_0x594dc4(0x1ca)](_0x4f7ecb,_0x594dc4(0x1bf)))),_0x1f3bc0=null),_0x1e7a65++;}return _0x27871b;}function _0x127f(_0x142302,_0x43ec17){const _0x3bac9a=_0x3bac();return _0x127f=function(_0x127f78,_0x5dd267){_0x127f78=_0x127f78-0x1b3;let _0x1f6e75=_0x3bac9a[_0x127f78];return _0x1f6e75;},_0x127f(_0x142302,_0x43ec17);}function co(_0x49dfca,_0x5031b9,_0x5d9bb7){const _0x444b0f=_0x127f;if(!_0x5d9bb7)return!0x1;const _0x405dda=_0x49dfca[_0x444b0f(0x1b8)](_0x5031b9),_0x1fb3d0=_0x49dfca[_0x444b0f(0x1c9)](_0x5d9bb7);return _0x405dda[_0x444b0f(0x1de)](_0x1fb3d0);}function _0x3bac(){const _0x2950ec=['value','type','start','124392hsYgGT','sort','isArray','isTouching','isObject','242xzTsou','next','18760URxAaq','from','1975070JjPCyj','createPositionAfter','isCollapsed','93552bquPWl','map','join','content','push','end','execute','add','1572220GQUrBj','isInContent','2839884dDticV','1zVrOhV','length','isIntersecting','change','createPositionBefore','createPositionAt','512SpRmyl','color','deletion','schema','10ImvMAo','2063583UkltID','\x20[color\x20','splice','replace','createRange','getRanges','isMultiRange','84TfMNMP'];_0x3bac=function(){return _0x2950ec;};return _0x3bac();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x39d9fe,_0x4265a8,_0x1b405b){const _0x12f0d2=_0x127f;for(;_0x1b405b[_0x12f0d2(0x1c6)];){const _0x3df07f=_0x1b405b[_0x12f0d2(0x1d2)](0x0,0x64);_0x39d9fe[_0x12f0d2(0x1c8)](()=>{const _0x299ea3=_0x12f0d2;for(const _0x27cd7a of _0x3df07f)_0x27cd7a[_0x299ea3(0x1c3)]&&_0x4265a8[_0x299ea3(0x1c0)](_0x27cd7a['id']);});}}
|