@ckeditor/ckeditor5-track-changes 43.2.0-alpha.7 → 43.2.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 +10 -10
- 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/mergefields.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/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2420(_0xa4db77,_0x48b1e1){const _0x18e42f=_0x18e4();return _0x2420=function(_0x24209b,_0x1c6d27){_0x24209b=_0x24209b-0x90;let _0x13276a=_0x18e42f[_0x24209b];return _0x13276a;},_0x2420(_0xa4db77,_0x48b1e1);}const _0xf5ce47=_0x2420;(function(_0x13fb97,_0x5cdac7){const _0x349605=_0x2420,_0x185c96=_0x13fb97();while(!![]){try{const _0x2eb530=-parseInt(_0x349605(0xdc))/0x1*(-parseInt(_0x349605(0xcb))/0x2)+parseInt(_0x349605(0x109))/0x3+parseInt(_0x349605(0xcf))/0x4*(-parseInt(_0x349605(0xd0))/0x5)+-parseInt(_0x349605(0xca))/0x6+-parseInt(_0x349605(0xc6))/0x7+parseInt(_0x349605(0xd9))/0x8*(parseInt(_0x349605(0xeb))/0x9)+parseInt(_0x349605(0x107))/0xa;if(_0x2eb530===_0x5cdac7)break;else _0x185c96['push'](_0x185c96['shift']());}catch(_0x56a3e1){_0x185c96['push'](_0x185c96['shift']());}}}(_0x18e4,0x8a344));import{Plugin as _0x4ca4e7}from'ckeditor5/src/core.js';import{Collection as _0x58ce4a}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1919e2,createDropdown as _0x50bd50,ListSeparatorView as _0x52cfb6,MenuBarMenuView as _0x1acfbe,MenuBarMenuListView as _0xc7f7d8,MenuBarMenuListItemView as _0x5ad02f,MenuBarMenuListItemButtonView as _0xe63691,SplitButtonView as _0x3b4e1d,ViewModel as _0x4f8d61}from'ckeditor5/src/ui.js';import{Users as _0x8ec4b3,getDateTimeFormatter as _0x4f5839,getAllMarkersDomElementsSorted as _0x4036a9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x46fb15 from'./trackchangesediting.js';import _0x42918f from'./ui/suggestioncontroller.js';import _0x1a6154 from'./ui/view/suggestionthreadview.js';import _0x4fa169 from'./ui/view/suggestionview.js';import{getTranslation as _0x1535a0}from'./utils/common-translations.js';import _0x4031a9 from'../theme/icons/track-changes.svg';function _0x18e4(){const _0x15d617=['editing','get','Annotations','_updateController','fire','addComment','items','clear','createCommentThreadController','listenTo','menuitemcheckbox','panelView','delete','CommentsUI','innerView','unbind','source','arrowView','_viewToController','from','lowest','1391700AOMPeL','registerAnnotation','1614849EFTEsS','activeMarkers','Accept\x20all\x20selected\x20suggestions','plugins','_unbindEditors','createAnnotation','children','remove','set','commands','_destroyController','acceptButton','separator','getMarkers','some','trackChanges.SuggestionView','view','commentsListView','destroy','comments','EditorAnnotations','getAllAdjacentSuggestions','comments.maxThreadTotalWeight','_handleSuggestionControllerDelayed','getMarkerNames','reduce','escape','trackChanges','discardSelectedSuggestions','suggestionLoaded','commentThread','delegate','previous','CommentsRepository','TrackChangesEditing','getFirstRange','_addUIComponentsToFactory','Discard\x20all\x20selected\x20suggestions','menu','getByInnerView','getSuggestion','createAnnotationView','Accept\x20all\x20suggestions','descriptionParts','add','suggestionUnloaded','model','switchbutton','_suggestionToController','has','isInContent','define','buttonView','isEnabled','comments.maxCommentCharsWhenCollapsed','change:previous','getRanges','suggestionView','_createMenuBarMenu','execute','editor','acceptAllSuggestions','SuggestionThreadView','menuitem','_annotationViews','_handleControllerBuffer','change:activeAnnotations','Track\x20changes','actionView','isOn','requires','_disableComments','getJoined','stopListening','suggestionChanged','activeAnnotations','isMultiRange','_initializeController','SuggestionView','_bindAnnotationToEditors','hasSuggestion','toMany','size','commandName','871703FbpLnv','CommentView','trackChanges.SuggestionThreadView','comments.editorConfig','2268114UErUqP','38058bCqGMZ','TrackChangesUI','locale','isDirty','1528uhbUNX','9435FFqDgh','focus','button','bind','keys','getDescriptions','value','type','config','536YrAOaB','acceptSelectedSuggestions','head','14VrxuAO','descriptionFactory','trackChanges.disableComments','values','Discard\x20all\x20suggestions','comments.maxCommentsWhenCollapsed','length','suggestion-','componentFactory','mainView','addSourceCollector','_createToolbarButton','discardAllSuggestions','_refreshActiveMarkers','discardButton','113589axmpSY','refreshSelectedViews','menuBar:trackChanges','push','pluginName','init','filter'];_0x18e4=function(){return _0x15d617;};return _0x18e4();}export default class d extends _0x4ca4e7{static get[_0xf5ce47(0xb8)](){const _0x2b0fa7=_0xf5ce47;return[_0x46fb15,_0x8ec4b3,_0x2b0fa7(0x93),_0x2b0fa7(0xf4),_0x2b0fa7(0x11d)];}static get[_0xf5ce47(0xef)](){const _0x5b9596=_0xf5ce47;return _0x5b9596(0xcc);}constructor(_0x3279db){const _0x1bed93=_0xf5ce47;super(_0x3279db),this[_0x1bed93(0xa2)]=new Map(),this[_0x1bed93(0x104)]=new Map(),this[_0x1bed93(0xb2)]=new Map(),this[_0x1bed93(0xb3)]=new Map();const _0x141759=this[_0x1bed93(0xae)][_0x1bed93(0xd8)];_0x141759[_0x1bed93(0xa5)](_0x1bed93(0xc8),_0x1a6154),_0x141759[_0x1bed93(0xa5)](_0x1bed93(0x118),_0x4fa169),_0x141759[_0x1bed93(0xa5)](_0x1bed93(0xde),!0x1),this[_0x1bed93(0xb9)]=_0x141759[_0x1bed93(0xf3)](_0x1bed93(0xde));}[_0xf5ce47(0x120)](_0x398eb8,_0x4661f6){const _0x5b6f66=_0xf5ce47;0x0===this[_0x5b6f66(0xb3)][_0x5b6f66(0xc4)]&&setTimeout(()=>{const _0x493687=_0x5b6f66;for(const [_0x5ebb5e,_0x29cd4a]of this[_0x493687(0xb3)]){const _0x3794f8=this[_0x493687(0xa2)][_0x493687(0xa3)](_0x5ebb5e);_0x3794f8||_0x29cd4a?_0x3794f8&&_0x29cd4a&&this[_0x493687(0x113)](_0x5ebb5e):this[_0x493687(0xbf)](_0x5ebb5e);}this[_0x493687(0xb3)][_0x493687(0xf9)](),this[_0x493687(0xae)][_0x493687(0x10c)][_0x493687(0xf3)](_0x493687(0x11d))[_0x493687(0xec)](),this[_0x493687(0xe9)]();},0xa),this[_0x5b6f66(0xb3)][_0x5b6f66(0x111)](_0x398eb8,_0x4661f6);}[_0xf5ce47(0xf0)](){const _0x45670c=_0xf5ce47,_0x42c7f2=this[_0x45670c(0xae)],_0x1c76fb=_0x42c7f2[_0x45670c(0x10c)][_0x45670c(0xf3)](_0x45670c(0x94)),_0x3d69af=_0x42c7f2[_0x45670c(0x10c)][_0x45670c(0xf3)](_0x45670c(0xf4)),_0x50c019=_0x42c7f2[_0x45670c(0x10c)][_0x45670c(0xf3)](_0x45670c(0x11d)),_0x387b8e=_0x42c7f2[_0x45670c(0x10c)][_0x45670c(0xf3)](_0x45670c(0x93));this[_0x45670c(0x96)](),_0x50c019[_0x45670c(0xe6)](()=>{const _0x9e7d67=_0x45670c,_0x1b0aeb=[];for(const [_0x15e3f1,_0x77b5bd]of Array[_0x9e7d67(0x105)](this[_0x9e7d67(0xa2)])){const _0x3e0ba9=_0x15e3f1[_0x9e7d67(0x11e)](),_0x1f4210=[];for(const _0x4fda31 of _0x3e0ba9){if(!_0x4fda31[_0x9e7d67(0xa4)])continue;if(_0x4fda31[_0x9e7d67(0xbe)]){_0x1f4210[_0x9e7d67(0xee)](..._0x4fda31[_0x9e7d67(0xaa)]());continue;}const _0x4581ea=_0x4fda31[_0x9e7d67(0x95)]();if(_0x1f4210[_0x9e7d67(0xe2)]>0x0){const _0x4b683a=_0x1f4210[0x0][_0x9e7d67(0xba)](_0x4581ea);if(_0x4b683a){_0x1f4210[0x0]=_0x4b683a;continue;}}_0x1f4210[_0x9e7d67(0xee)](_0x4581ea);}_0x1b0aeb[_0x9e7d67(0xee)]([_0x77b5bd[_0x9e7d67(0x119)],_0x1f4210]);}return _0x1b0aeb;}),this[_0x45670c(0xfb)](_0x1c76fb,_0x45670c(0x126),(_0x357ae8,_0x4aac58)=>{const _0x4c41e4=_0x45670c;this[_0x4c41e4(0xfb)](_0x4aac58,_0x4c41e4(0xa9),(_0x2d93ba,_0x4021fd,_0x256064,_0x1d1f69)=>{const _0x14e36c=_0x4c41e4;_0x4aac58[_0x14e36c(0xa4)]&&(null==_0x256064?(this[_0x14e36c(0xf5)](_0x1d1f69[_0x14e36c(0xdb)]),this[_0x14e36c(0x120)](_0x4aac58,!0x1)):(this[_0x14e36c(0xf5)](_0x256064[_0x14e36c(0xdb)]),null==_0x1d1f69&&this[_0x14e36c(0x120)](_0x4aac58,!0x0)));}),null!==_0x4aac58[_0x4c41e4(0x92)]?this[_0x4c41e4(0xf5)](_0x4aac58[_0x4c41e4(0xdb)]):this[_0x4c41e4(0x120)](_0x4aac58,!0x1);}),this[_0x45670c(0xfb)](_0x1c76fb,_0x45670c(0x9f),(_0x50639c,_0x1b8cd5,_0x49a850)=>{const _0xa51d5e=_0x45670c;this[_0xa51d5e(0xbb)](_0x1b8cd5,_0xa51d5e(0xa9)),this[_0xa51d5e(0xb3)][_0xa51d5e(0xfe)](_0x1b8cd5),this[_0xa51d5e(0xa2)][_0xa51d5e(0xa3)](_0x1b8cd5)&&this[_0xa51d5e(0x113)](_0x1b8cd5),_0x49a850&&this[_0xa51d5e(0xf5)](_0x49a850[_0xa51d5e(0xdb)]);}),this[_0x45670c(0xfb)](_0x1c76fb,_0x45670c(0xbc),(_0x24a1c0,_0x4f501f)=>{const _0x12224e=_0x45670c;this[_0x12224e(0xf5)](_0x4f501f);}),this[_0x45670c(0xfb)](_0x3d69af,_0x45670c(0xb4),()=>{const _0x1bb247=_0x45670c;this[_0x1bb247(0xe9)]();}),this[_0x45670c(0xfb)](_0x387b8e,_0x45670c(0xf7),(_0x54bfe7,{threadId:_0x1eca8a,isFromAdapter:_0x598e7b})=>{const _0x5d1d7e=_0x45670c;if(_0x598e7b||!_0x1c76fb[_0x5d1d7e(0xc2)](_0x1eca8a))return;const _0x1202af=_0x1c76fb[_0x5d1d7e(0x9a)](_0x1eca8a);this[_0x5d1d7e(0xa2)][_0x5d1d7e(0xf3)](_0x1202af)[_0x5d1d7e(0x119)][_0x5d1d7e(0x11a)][_0x5d1d7e(0xd1)](-0x1);},{'priority':_0x45670c(0x106)});}[_0xf5ce47(0xe9)](){const _0x49510e=_0xf5ce47,_0x1f7dc9=this[_0x49510e(0xae)][_0x49510e(0x10c)][_0x49510e(0xf3)](_0x49510e(0xf4)),_0x18f457=this[_0x49510e(0xae)][_0x49510e(0x10c)][_0x49510e(0xf3)](_0x49510e(0x94)),_0x1b585d=Array[_0x49510e(0x105)](_0x1f7dc9[_0x49510e(0xbd)],_0x54e0ee=>_0x54e0ee[_0x49510e(0x100)])[_0x49510e(0xf1)](_0xc9da5d=>this[_0x49510e(0x104)][_0x49510e(0xa3)](_0xc9da5d)),_0x4385af=[];for(const _0x14a9f7 of _0x1b585d){const _0x4117e7=this[_0x49510e(0x104)][_0x49510e(0xf3)](_0x14a9f7)[_0x49510e(0xa0)][_0x49510e(0x11e)]();_0x4385af[_0x49510e(0xee)](..._0x4117e7[_0x49510e(0x122)]((_0x32f2e2,_0x4fc717)=>[..._0x32f2e2,..._0x4fc717[_0x49510e(0x121)]()],[]));}_0x18f457[_0x49510e(0x10a)]=_0x4385af;}[_0xf5ce47(0x96)](){const _0xf5dd09=_0xf5ce47,_0x4d0464=this[_0xf5dd09(0xae)],_0x45147f=_0x4d0464[_0xf5dd09(0xcd)],_0x1bc5d3=_0x1535a0(_0x45147f,_0xf5dd09(0xb5)),_0x485dcd=new _0x58ce4a([{'type':_0xf5dd09(0xa1),'model':new _0x4f8d61({'withText':!0x0,'isToggleable':!0x0,'label':_0x1bc5d3,'commandName':_0xf5dd09(0x124),'role':_0xf5dd09(0xfc)})},{'type':_0xf5dd09(0x115)},{'type':_0xf5dd09(0xd2),'model':new _0x4f8d61({'withText':!0x0,'label':_0x1535a0(_0x45147f,_0xf5dd09(0x9c)),'commandName':_0xf5dd09(0xaf),'role':_0xf5dd09(0xb1)})},{'type':_0xf5dd09(0xd2),'model':new _0x4f8d61({'withText':!0x0,'label':_0x1535a0(_0x45147f,_0xf5dd09(0x10b)),'commandName':_0xf5dd09(0xda),'role':_0xf5dd09(0xb1)})},{'type':_0xf5dd09(0xd2),'model':new _0x4f8d61({'withText':!0x0,'label':_0x1535a0(_0x45147f,_0xf5dd09(0xe0)),'commandName':_0xf5dd09(0xe8),'role':_0xf5dd09(0xb1)})},{'type':_0xf5dd09(0xd2),'model':new _0x4f8d61({'withText':!0x0,'label':_0x1535a0(_0x45147f,_0xf5dd09(0x97)),'commandName':_0xf5dd09(0x125),'role':_0xf5dd09(0xb1)})}]);for(const _0x347ae7 of _0x485dcd)if(me(_0x347ae7)){const _0x32f17f=_0x4d0464[_0xf5dd09(0x112)][_0xf5dd09(0xf3)](_0x347ae7[_0xf5dd09(0xa0)][_0xf5dd09(0xc5)]);_0x347ae7[_0xf5dd09(0xa0)][_0xf5dd09(0xd3)](_0xf5dd09(0xb7),_0xf5dd09(0xa7))['to'](_0x32f17f,_0xf5dd09(0xd6),_0xf5dd09(0xa7));}_0x4d0464['ui'][_0xf5dd09(0xe4)][_0xf5dd09(0x9e)](_0xf5dd09(0x124),_0x116242=>this[_0xf5dd09(0xe7)](_0x116242,_0x485dcd,_0x1bc5d3)),_0x4d0464['ui'][_0xf5dd09(0xe4)][_0xf5dd09(0x9e)](_0xf5dd09(0xed),_0x520569=>this[_0xf5dd09(0xac)](_0x520569,_0x485dcd,_0x1bc5d3));}[_0xf5ce47(0xe7)](_0x5c081d,_0x322175,_0xafc75d){const _0x2f1972=_0xf5ce47,_0x3887d7=_0x50bd50(_0x5c081d,_0x3b4e1d),_0x554c13=this[_0x2f1972(0xae)][_0x2f1972(0x112)][_0x2f1972(0xf3)](_0x2f1972(0x124));_0x3887d7[_0x2f1972(0xa6)][_0x2f1972(0x111)]({'tooltip':_0xafc75d,'label':_0xafc75d,'icon':_0x4031a9}),_0x3887d7[_0x2f1972(0xa6)][_0x2f1972(0xd3)](_0x2f1972(0xb7))['to'](_0x554c13,_0x2f1972(0xd6)),_0x3887d7[_0x2f1972(0xa6)]['on'](_0x2f1972(0xad),()=>{const _0x55ac5f=_0x2f1972;_0x554c13[_0x55ac5f(0xad)](),this[_0x55ac5f(0xae)][_0x55ac5f(0xf2)][_0x55ac5f(0x119)][_0x55ac5f(0xd1)]();}),_0x1919e2(_0x3887d7,_0x322175,{'role':_0x2f1972(0x98)});const _0x22fe55=[];for(const _0x5185d6 of _0x322175)me(_0x5185d6)&&_0x22fe55[_0x2f1972(0xee)](this[_0x2f1972(0xae)][_0x2f1972(0x112)][_0x2f1972(0xf3)](_0x5185d6[_0x2f1972(0xa0)][_0x2f1972(0xc5)]));const _0x233f06=_0x3887d7[_0x2f1972(0xa6)];return _0x233f06[_0x2f1972(0xb6)][_0x2f1972(0x101)](_0x2f1972(0xa7)),_0x233f06[_0x2f1972(0x103)][_0x2f1972(0x101)](_0x2f1972(0xa7)),_0x233f06[_0x2f1972(0xb6)][_0x2f1972(0xd3)](_0x2f1972(0xa7))['to'](_0x554c13,_0x2f1972(0xa7)),_0x233f06[_0x2f1972(0x103)][_0x2f1972(0xd3)](_0x2f1972(0xa7))[_0x2f1972(0xc3)](_0x22fe55,_0x2f1972(0xa7),(..._0xa4d5ac)=>_0xa4d5ac[_0x2f1972(0x117)](_0x27c8c9=>_0x27c8c9)),_0x3887d7['on'](_0x2f1972(0xad),_0x38f92f=>{const _0x15b4b8=_0x2f1972;this[_0x15b4b8(0xae)][_0x15b4b8(0xad)](_0x38f92f[_0x15b4b8(0x102)][_0x15b4b8(0xc5)]),this[_0x15b4b8(0xae)][_0x15b4b8(0xf2)][_0x15b4b8(0x119)][_0x15b4b8(0xd1)]();}),_0x3887d7;}[_0xf5ce47(0xac)](_0xce7b20,_0x21d127,_0x2c9ee3){const _0xd2306a=_0xf5ce47,_0x58e310=new _0x1acfbe(_0xce7b20),_0xa69289=this[_0xd2306a(0xae)][_0xd2306a(0x112)][_0xd2306a(0xf3)](_0xd2306a(0x124));_0x58e310[_0xd2306a(0xa6)][_0xd2306a(0x111)]({'label':_0x2c9ee3,'icon':_0x4031a9});const _0xbef511=new _0xc7f7d8(_0xce7b20);for(const _0x51ba4a of _0x21d127){if(_0xd2306a(0x115)==_0x51ba4a[_0xd2306a(0xd7)]){_0xbef511[_0xd2306a(0xf8)][_0xd2306a(0x9e)](new _0x52cfb6(_0xce7b20));continue;}const _0x270ba7=new _0x5ad02f(_0xce7b20,_0x58e310),_0x1b69ba=new _0xe63691(_0xce7b20),_0x54c7bb=_0x51ba4a[_0xd2306a(0xa0)];_0x1b69ba[_0xd2306a(0xd3)](...Object[_0xd2306a(0xd4)](_0x54c7bb))['to'](_0x54c7bb),_0x1b69ba[_0xd2306a(0x91)](_0xd2306a(0xad))['to'](_0x58e310),_0x1b69ba['on'](_0xd2306a(0xad),()=>{const _0x3952f4=_0xd2306a;this[_0x3952f4(0xae)][_0x3952f4(0xad)](_0x54c7bb[_0x3952f4(0xc5)]),this[_0x3952f4(0xae)][_0x3952f4(0xf2)][_0x3952f4(0x119)][_0x3952f4(0xd1)]();}),_0x270ba7[_0xd2306a(0x10f)][_0xd2306a(0x9e)](_0x1b69ba),_0xbef511[_0xd2306a(0xf8)][_0xd2306a(0x9e)](_0x270ba7);}return _0x58e310[_0xd2306a(0xd3)](_0xd2306a(0xa7))['to'](_0xa69289,_0xd2306a(0xa7)),_0x58e310[_0xd2306a(0xfd)][_0xd2306a(0x10f)][_0xd2306a(0x9e)](_0xbef511),_0x58e310;}[_0xf5ce47(0xbf)](_0x3b66ef){const _0xca20c0=_0xf5ce47,_0x1ae999=this[_0xca20c0(0xae)],_0x2541ee=_0x1ae999[_0xca20c0(0xd8)],_0x47b0bc=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0xca20c0(0xf4)),_0x4f5663=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0xca20c0(0x93)),_0x59053e=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0xca20c0(0x11d)),_0x2fa2f1=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0x8ec4b3)['me'],_0x39e058=_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0x124))[_0xca20c0(0xb0)],_0x2debd3=_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0x124))[_0xca20c0(0xc0)],{CommentsListView:_0x399297,CommentThreadInputView:_0xe5441}=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0xca20c0(0xff));let _0x1b045c,_0x146602,_0x266776;this[_0xca20c0(0xb2)][_0xca20c0(0xa3)](_0x3b66ef['id'])?(_0x146602=this[_0xca20c0(0xb2)][_0xca20c0(0xf3)](_0x3b66ef['id']),_0x1b045c=_0x146602[_0xca20c0(0xe5)]):(_0x1b045c=new _0x39e058(_0x1ae999[_0xca20c0(0xcd)],_0x3b66ef,_0x2fa2f1,{'disableComments':this[_0xca20c0(0xb9)],'editorConfig':_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0xc9)),'maxCommentsWhenCollapsed':_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0xe1)),'maxThreadTotalWeight':_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0x11f)),'maxCommentCharsWhenCollapsed':_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0xa8)),'formatDateTime':_0x4f5839(_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0xcd))),'CommentView':_0x2541ee[_0xca20c0(0xf3)](_0xca20c0(0x11c))[_0xca20c0(0xc7)],'CommentsListView':_0x399297,'CommentThreadInputView':_0xe5441,'SuggestionView':_0x2debd3}),_0x1b045c[_0xca20c0(0xab)][_0xca20c0(0x114)]['on'](_0xca20c0(0xad),()=>{const _0x1c0b15=_0xca20c0;_0x1ae999[_0x1c0b15(0xf2)][_0x1c0b15(0x119)][_0x1c0b15(0xd1)]();}),_0x1b045c[_0xca20c0(0xab)][_0xca20c0(0xea)]['on'](_0xca20c0(0xad),()=>{const _0x1e0715=_0xca20c0;_0x1ae999[_0x1e0715(0xf2)][_0x1e0715(0x119)][_0x1e0715(0xd1)]();}),_0x146602=_0x47b0bc[_0xca20c0(0x9b)](this[_0xca20c0(0xae)][_0xca20c0(0xcd)],_0x1b045c),_0x146602[_0xca20c0(0xd3)](_0xca20c0(0xce))['to'](_0x1b045c,_0xca20c0(0xce)),_0x146602[_0xca20c0(0xd3)](_0xca20c0(0xe2))['to'](_0x1b045c),_0x146602[_0xca20c0(0xd3)](_0xca20c0(0xd7))['to'](_0x1b045c,_0xca20c0(0xd7),_0x25f24a=>_0xca20c0(0xe3)+_0x25f24a),_0x1b045c['on'](_0xca20c0(0x123),()=>{const _0x1bf827=_0xca20c0;_0x266776[_0x1bf827(0xf6)](_0x1bf827(0x123));}),this[_0xca20c0(0xb2)][_0xca20c0(0x111)](_0x3b66ef['id'],_0x146602));const _0x3ef7ba=_0x4f5663[_0xca20c0(0xfa)](_0x3b66ef[_0xca20c0(0x90)],_0x1b045c),_0x23f596=new _0x42918f(_0x1ae999,_0x3b66ef,_0x1b045c,_0x3ef7ba),_0x474db2=_0x3b66ef[_0xca20c0(0x11e)]()[_0xca20c0(0xf1)](_0x528b1e=>_0x528b1e[_0xca20c0(0xa4)]);_0x1b045c[_0xca20c0(0x9d)]=_0x1ae999[_0xca20c0(0x10c)][_0xca20c0(0xf3)](_0xca20c0(0x94))[_0xca20c0(0xdd)][_0xca20c0(0xd5)](_0x474db2),this[_0xca20c0(0xa2)][_0xca20c0(0x111)](_0x3b66ef,_0x23f596),this[_0xca20c0(0x104)][_0xca20c0(0x111)](_0x1b045c,_0x23f596),_0x266776=_0x47b0bc[_0xca20c0(0x10e)]({'view':_0x146602,'target':()=>{const _0x24f0d9=_0xca20c0,_0x4dd8fe=[],_0x488cdb=_0x3b66ef[_0x24f0d9(0x11e)]()[_0x24f0d9(0xf1)](_0x3fe52d=>_0x3fe52d[_0x24f0d9(0xa4)]);for(const _0x5098ee of _0x488cdb)_0x4dd8fe[_0x24f0d9(0xee)](..._0x5098ee[_0x24f0d9(0x116)]());return _0x4036a9(_0x1ae999[_0x24f0d9(0xf2)],_0x4dd8fe);},'type':()=>_0xca20c0(0xe3)+_0x23f596[_0xca20c0(0x119)][_0xca20c0(0xd7)]}),_0x4f5663[_0xca20c0(0xc1)](_0x1b045c,_0x266776),_0x47b0bc[_0xca20c0(0x9e)](_0x266776),_0x59053e[_0xca20c0(0x108)](_0x266776);}[_0xf5ce47(0x113)](_0x391653){const _0x197b8b=_0xf5ce47,_0x49cb11=this[_0x197b8b(0xae)][_0x197b8b(0x10c)][_0x197b8b(0xf3)](_0x197b8b(0x93)),_0x3adbb7=this[_0x197b8b(0xae)][_0x197b8b(0x10c)][_0x197b8b(0xf3)](_0x197b8b(0xf4)),_0x3b1739=this[_0x197b8b(0xa2)][_0x197b8b(0xf3)](_0x391653),_0x1780cb=_0x3b1739[_0x197b8b(0x119)],_0x1fb64f=_0x3adbb7[_0x197b8b(0x99)](_0x1780cb);_0x49cb11[_0x197b8b(0x10d)](_0x1780cb),_0x1fb64f&&_0x3adbb7[_0x197b8b(0x110)](_0x1fb64f),this[_0x197b8b(0xa2)][_0x197b8b(0xfe)](_0x391653),this[_0x197b8b(0x104)][_0x197b8b(0xfe)](_0x1780cb),_0x3b1739[_0x197b8b(0x11b)]();}[_0xf5ce47(0xf5)](_0x364a07){const _0x25f2b3=_0xf5ce47;if(!_0x364a07[_0x25f2b3(0xa4)]||!this[_0x25f2b3(0xa2)][_0x25f2b3(0xa3)](_0x364a07))return;const _0x94477a=this[_0x25f2b3(0xae)][_0x25f2b3(0x10c)][_0x25f2b3(0xf3)](_0x25f2b3(0x94)),_0x1957e5=this[_0x25f2b3(0xa2)][_0x25f2b3(0xf3)](_0x364a07),_0x2bddba=_0x364a07[_0x25f2b3(0x11e)]();_0x1957e5[_0x25f2b3(0x119)][_0x25f2b3(0x9d)]=_0x94477a[_0x25f2b3(0xdd)][_0x25f2b3(0xd5)](_0x2bddba);}[_0xf5ce47(0x11b)](){const _0x2a4765=_0xf5ce47;for(const _0x3046cd of this[_0x2a4765(0xa2)][_0x2a4765(0xd4)]())this[_0x2a4765(0x113)](_0x3046cd);for(const _0x2d0dc5 of this[_0x2a4765(0xb2)][_0x2a4765(0xdf)]())_0x2d0dc5[_0x2a4765(0xe5)][_0x2a4765(0x11b)]();super[_0x2a4765(0x11b)]();}}function me(_0x391ce5){const _0x544376=_0xf5ce47;return _0x544376(0xa0)in _0x391ce5;}
|
|
23
|
+
const _0x1b3036=_0x474c;(function(_0x6ec24e,_0x47916b){const _0x2a2d72=_0x474c,_0x5bea82=_0x6ec24e();while(!![]){try{const _0xc42795=parseInt(_0x2a2d72(0x1fe))/0x1*(parseInt(_0x2a2d72(0x212))/0x2)+-parseInt(_0x2a2d72(0x1d3))/0x3*(parseInt(_0x2a2d72(0x1e9))/0x4)+-parseInt(_0x2a2d72(0x190))/0x5*(parseInt(_0x2a2d72(0x1f4))/0x6)+parseInt(_0x2a2d72(0x188))/0x7*(parseInt(_0x2a2d72(0x20d))/0x8)+parseInt(_0x2a2d72(0x1a3))/0x9*(parseInt(_0x2a2d72(0x1c4))/0xa)+-parseInt(_0x2a2d72(0x211))/0xb*(-parseInt(_0x2a2d72(0x1d4))/0xc)+parseInt(_0x2a2d72(0x18a))/0xd;if(_0xc42795===_0x47916b)break;else _0x5bea82['push'](_0x5bea82['shift']());}catch(_0x432d81){_0x5bea82['push'](_0x5bea82['shift']());}}}(_0x19d2,0x898b1));import{Plugin as _0x12a250}from'ckeditor5/src/core.js';import{Collection as _0x56645f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xa4dbf0,createDropdown as _0x432a3b,ListSeparatorView as _0x591869,MenuBarMenuView as _0x1fc92c,MenuBarMenuListView as _0x428d4d,MenuBarMenuListItemView as _0x3dbc3d,MenuBarMenuListItemButtonView as _0x47267c,SplitButtonView as _0x1fbfa0,ViewModel as _0x2fcc97}from'ckeditor5/src/ui.js';function _0x474c(_0x2670ee,_0x5a2f2a){const _0x19d29f=_0x19d2();return _0x474c=function(_0x474c09,_0x37e4e0){_0x474c09=_0x474c09-0x179;let _0x1f9163=_0x19d29f[_0x474c09];return _0x1f9163;},_0x474c(_0x2670ee,_0x5a2f2a);}import{Users as _0x37341d,getDateTimeFormatter as _0x59dc2c,getAllMarkersDomElementsSorted as _0x3bcaf7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x22b583 from'./trackchangesediting.js';import _0x160749 from'./ui/suggestioncontroller.js';import _0x4542e1 from'./ui/view/suggestionthreadview.js';import _0x1e5736 from'./ui/view/suggestionview.js';import{getTranslation as _0x1d707a}from'./utils/common-translations.js';function _0x19d2(){const _0x1091a9=['get','20MXWjED','locale','listenTo','activeAnnotations','getSuggestion','arrowView','commands','_viewToController','push','addSourceCollector','isOn','TrackChangesEditing','_annotationViews','suggestionLoaded','init','escape','value','view','createAnnotationView','1035495MIEnLX','suggestionChanged','comments.maxThreadTotalWeight','trackChanges','SuggestionView','createCommentThreadController','activeMarkers','unbind','focus','_createToolbarButton','_suggestionToController','getMarkers','innerView','size','isMultiRange','menuBar:trackChanges','menu','addComment','commandName','suggestion-','from','discardButton','lowest','source','editor','suggestionUnloaded','destroy','CommentsRepository','Track\x20changes','discardAllSuggestions','comments','_destroyController','_refreshActiveMarkers','10UtpInN','Accept\x20all\x20selected\x20suggestions','_createMenuBarMenu','length','commentThread','acceptSelectedSuggestions','some','isEnabled','items','filter','change:previous','getAllAdjacentSuggestions','_unbindEditors','refreshSelectedViews','head','627PUokEw','6046164wopeIg','reduce','_addUIComponentsToFactory','Annotations','discardSelectedSuggestions','CommentView','CommentsUI','getRanges','trackChanges.SuggestionView','bind','menuitem','acceptButton','TrackChangesUI','panelView','menuitemcheckbox','clear','change:activeAnnotations','comments.editorConfig','plugins','registerAnnotation','getJoined','15164ZinRlr','previous','execute','createAnnotation','acceptAllSuggestions','delegate','descriptionParts','_updateController','isInContent','trackChanges.disableComments','toMany','987738bAMEMI','actionView','_handleControllerBuffer','remove','comments.maxCommentsWhenCollapsed','switchbutton','define','getFirstRange','add','Accept\x20all\x20suggestions','1391DEAgCd','editing','button','Discard\x20all\x20selected\x20suggestions','SuggestionThreadView','separator','descriptionFactory','buttonView','has','values','comments.maxCommentCharsWhenCollapsed','model','stopListening','_bindAnnotationToEditors','keys','7989840ZpFrhH','pluginName','Discard\x20all\x20suggestions','getMarkerNames','11XSKefS','346ITigYz','suggestionView','config','commentsListView','fire','componentFactory','children','EditorAnnotations','getDescriptions','mainView','_initializeController','set','isDirty','hasSuggestion','getByInnerView','type','7BFKphw','trackChanges.SuggestionThreadView','2026869ochvMn','_disableComments','requires','_handleSuggestionControllerDelayed','delete'];_0x19d2=function(){return _0x1091a9;};return _0x19d2();}import _0x38d504 from'../theme/icons/track-changes.svg';export default class d extends _0x12a250{static get[_0x1b3036(0x18c)](){const _0x1b8236=_0x1b3036;return[_0x22b583,_0x37341d,_0x1b8236(0x1be),_0x1b8236(0x1d7),_0x1b8236(0x17f)];}static get[_0x1b3036(0x20e)](){const _0x507544=_0x1b3036;return _0x507544(0x1e0);}constructor(_0x3975bb){const _0x82050c=_0x1b3036;super(_0x3975bb),this[_0x82050c(0x1ad)]=new Map(),this[_0x82050c(0x197)]=new Map(),this[_0x82050c(0x19c)]=new Map(),this[_0x82050c(0x1f6)]=new Map();const _0x479ff3=this[_0x82050c(0x1bb)][_0x82050c(0x17a)];_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x189),_0x4542e1),_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x1dc),_0x1e5736),_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x1f2),!0x1),this[_0x82050c(0x18b)]=_0x479ff3[_0x82050c(0x18f)](_0x82050c(0x1f2));}[_0x1b3036(0x18d)](_0x58f696,_0x41a558){const _0x14fe94=_0x1b3036;0x0===this[_0x14fe94(0x1f6)][_0x14fe94(0x1b0)]&&setTimeout(()=>{const _0xa457bb=_0x14fe94;for(const [_0x438433,_0x29322e]of this[_0xa457bb(0x1f6)]){const _0x4810ab=this[_0xa457bb(0x1ad)][_0xa457bb(0x206)](_0x438433);_0x4810ab||_0x29322e?_0x4810ab&&_0x29322e&&this[_0xa457bb(0x1c2)](_0x438433):this[_0xa457bb(0x182)](_0x438433);}this[_0xa457bb(0x1f6)][_0xa457bb(0x1e3)](),this[_0xa457bb(0x1bb)][_0xa457bb(0x1e6)][_0xa457bb(0x18f)](_0xa457bb(0x17f))[_0xa457bb(0x1d1)](),this[_0xa457bb(0x1c3)]();},0xa),this[_0x14fe94(0x1f6)][_0x14fe94(0x183)](_0x58f696,_0x41a558);}[_0x1b3036(0x19e)](){const _0x29a38b=_0x1b3036,_0x31d3b3=this[_0x29a38b(0x1bb)],_0x421b6a=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x19b)),_0x490e4b=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x1d7)),_0x3920d4=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x17f)),_0xb65f6a=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x1be));this[_0x29a38b(0x1d6)](),_0x3920d4[_0x29a38b(0x199)](()=>{const _0x2198ee=_0x29a38b,_0x398670=[];for(const [_0x4a515b,_0x239dfc]of Array[_0x2198ee(0x1b7)](this[_0x2198ee(0x1ad)])){const _0x480043=_0x4a515b[_0x2198ee(0x1cf)](),_0x30c567=[];for(const _0x4894d4 of _0x480043){if(!_0x4894d4[_0x2198ee(0x1f1)])continue;if(_0x4894d4[_0x2198ee(0x1b1)]){_0x30c567[_0x2198ee(0x198)](..._0x4894d4[_0x2198ee(0x1db)]());continue;}const _0x324a9f=_0x4894d4[_0x2198ee(0x1fb)]();if(_0x30c567[_0x2198ee(0x1c7)]>0x0){const _0x385784=_0x30c567[0x0][_0x2198ee(0x1e8)](_0x324a9f);if(_0x385784){_0x30c567[0x0]=_0x385784;continue;}}_0x30c567[_0x2198ee(0x198)](_0x324a9f);}_0x398670[_0x2198ee(0x198)]([_0x239dfc[_0x2198ee(0x1a1)],_0x30c567]);}return _0x398670;}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x19d),(_0x5c0802,_0x17f351)=>{const _0x87a0a3=_0x29a38b;this[_0x87a0a3(0x192)](_0x17f351,_0x87a0a3(0x1ce),(_0xe4b8cc,_0x4b8584,_0x788178,_0x160207)=>{const _0xa0fac7=_0x87a0a3;_0x17f351[_0xa0fac7(0x1f1)]&&(null==_0x788178?(this[_0xa0fac7(0x1f0)](_0x160207[_0xa0fac7(0x1d2)]),this[_0xa0fac7(0x18d)](_0x17f351,!0x1)):(this[_0xa0fac7(0x1f0)](_0x788178[_0xa0fac7(0x1d2)]),null==_0x160207&&this[_0xa0fac7(0x18d)](_0x17f351,!0x0)));}),null!==_0x17f351[_0x87a0a3(0x1ea)]?this[_0x87a0a3(0x1f0)](_0x17f351[_0x87a0a3(0x1d2)]):this[_0x87a0a3(0x18d)](_0x17f351,!0x1);}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x1bc),(_0x20177c,_0x5202e3,_0x170a35)=>{const _0x1ea0ce=_0x29a38b;this[_0x1ea0ce(0x20a)](_0x5202e3,_0x1ea0ce(0x1ce)),this[_0x1ea0ce(0x1f6)][_0x1ea0ce(0x18e)](_0x5202e3),this[_0x1ea0ce(0x1ad)][_0x1ea0ce(0x206)](_0x5202e3)&&this[_0x1ea0ce(0x1c2)](_0x5202e3),_0x170a35&&this[_0x1ea0ce(0x1f0)](_0x170a35[_0x1ea0ce(0x1d2)]);}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x1a4),(_0x3cf5de,_0x2b5acb)=>{const _0x10b407=_0x29a38b;this[_0x10b407(0x1f0)](_0x2b5acb);}),this[_0x29a38b(0x192)](_0x490e4b,_0x29a38b(0x1e4),()=>{const _0x2b7913=_0x29a38b;this[_0x2b7913(0x1c3)]();}),this[_0x29a38b(0x192)](_0xb65f6a,_0x29a38b(0x1b4),(_0x35c6ea,{threadId:_0x179dd1,isFromAdapter:_0x3b0662})=>{const _0x3f3450=_0x29a38b;if(_0x3b0662||!_0x421b6a[_0x3f3450(0x185)](_0x179dd1))return;const _0x490a55=_0x421b6a[_0x3f3450(0x194)](_0x179dd1);this[_0x3f3450(0x1ad)][_0x3f3450(0x18f)](_0x490a55)[_0x3f3450(0x1a1)][_0x3f3450(0x17b)][_0x3f3450(0x1ab)](-0x1);},{'priority':_0x29a38b(0x1b9)});}[_0x1b3036(0x1c3)](){const _0x2d3ae2=_0x1b3036,_0x30243e=this[_0x2d3ae2(0x1bb)][_0x2d3ae2(0x1e6)][_0x2d3ae2(0x18f)](_0x2d3ae2(0x1d7)),_0x3c6dea=this[_0x2d3ae2(0x1bb)][_0x2d3ae2(0x1e6)][_0x2d3ae2(0x18f)](_0x2d3ae2(0x19b)),_0x3eff3b=Array[_0x2d3ae2(0x1b7)](_0x30243e[_0x2d3ae2(0x193)],_0x4c9dff=>_0x4c9dff[_0x2d3ae2(0x1af)])[_0x2d3ae2(0x1cd)](_0x5f437b=>this[_0x2d3ae2(0x197)][_0x2d3ae2(0x206)](_0x5f437b)),_0x52d32d=[];for(const _0x38aefc of _0x3eff3b){const _0x20ed74=this[_0x2d3ae2(0x197)][_0x2d3ae2(0x18f)](_0x38aefc)[_0x2d3ae2(0x209)][_0x2d3ae2(0x1cf)]();_0x52d32d[_0x2d3ae2(0x198)](..._0x20ed74[_0x2d3ae2(0x1d5)]((_0x3c3fd2,_0x3447fc)=>[..._0x3c3fd2,..._0x3447fc[_0x2d3ae2(0x210)]()],[]));}_0x3c6dea[_0x2d3ae2(0x1a9)]=_0x52d32d;}[_0x1b3036(0x1d6)](){const _0x435273=_0x1b3036,_0x48eb86=this[_0x435273(0x1bb)],_0x18e307=_0x48eb86[_0x435273(0x191)],_0x44a8cc=_0x1d707a(_0x18e307,_0x435273(0x1bf)),_0x33e344=new _0x56645f([{'type':_0x435273(0x1f9),'model':new _0x2fcc97({'withText':!0x0,'isToggleable':!0x0,'label':_0x44a8cc,'commandName':_0x435273(0x1a6),'role':_0x435273(0x1e2)})},{'type':_0x435273(0x203)},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x1fd)),'commandName':_0x435273(0x1ed),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x1c5)),'commandName':_0x435273(0x1c9),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x20f)),'commandName':_0x435273(0x1c0),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x201)),'commandName':_0x435273(0x1d8),'role':_0x435273(0x1de)})}]);for(const _0x4b9810 of _0x33e344)if(me(_0x4b9810)){const _0x58336b=_0x48eb86[_0x435273(0x196)][_0x435273(0x18f)](_0x4b9810[_0x435273(0x209)][_0x435273(0x1b5)]);_0x4b9810[_0x435273(0x209)][_0x435273(0x1dd)](_0x435273(0x19a),_0x435273(0x1cb))['to'](_0x58336b,_0x435273(0x1a0),_0x435273(0x1cb));}_0x48eb86['ui'][_0x435273(0x17d)][_0x435273(0x1fc)](_0x435273(0x1a6),_0x3d7236=>this[_0x435273(0x1ac)](_0x3d7236,_0x33e344,_0x44a8cc)),_0x48eb86['ui'][_0x435273(0x17d)][_0x435273(0x1fc)](_0x435273(0x1b2),_0x3c3369=>this[_0x435273(0x1c6)](_0x3c3369,_0x33e344,_0x44a8cc));}[_0x1b3036(0x1ac)](_0x133881,_0x2833be,_0x1ab6ad){const _0xeffcbc=_0x1b3036,_0x1011fa=_0x432a3b(_0x133881,_0x1fbfa0),_0x59229f=this[_0xeffcbc(0x1bb)][_0xeffcbc(0x196)][_0xeffcbc(0x18f)](_0xeffcbc(0x1a6));_0x1011fa[_0xeffcbc(0x205)][_0xeffcbc(0x183)]({'tooltip':_0x1ab6ad,'label':_0x1ab6ad,'icon':_0x38d504}),_0x1011fa[_0xeffcbc(0x205)][_0xeffcbc(0x1dd)](_0xeffcbc(0x19a))['to'](_0x59229f,_0xeffcbc(0x1a0)),_0x1011fa[_0xeffcbc(0x205)]['on'](_0xeffcbc(0x1eb),()=>{const _0x3f89e1=_0xeffcbc;_0x59229f[_0x3f89e1(0x1eb)](),this[_0x3f89e1(0x1bb)][_0x3f89e1(0x1ff)][_0x3f89e1(0x1a1)][_0x3f89e1(0x1ab)]();}),_0xa4dbf0(_0x1011fa,_0x2833be,{'role':_0xeffcbc(0x1b3)});const _0x4be3f9=[];for(const _0x34a960 of _0x2833be)me(_0x34a960)&&_0x4be3f9[_0xeffcbc(0x198)](this[_0xeffcbc(0x1bb)][_0xeffcbc(0x196)][_0xeffcbc(0x18f)](_0x34a960[_0xeffcbc(0x209)][_0xeffcbc(0x1b5)]));const _0x53d060=_0x1011fa[_0xeffcbc(0x205)];return _0x53d060[_0xeffcbc(0x1f5)][_0xeffcbc(0x1aa)](_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x195)][_0xeffcbc(0x1aa)](_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x1f5)][_0xeffcbc(0x1dd)](_0xeffcbc(0x1cb))['to'](_0x59229f,_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x195)][_0xeffcbc(0x1dd)](_0xeffcbc(0x1cb))[_0xeffcbc(0x1f3)](_0x4be3f9,_0xeffcbc(0x1cb),(..._0x27ad63)=>_0x27ad63[_0xeffcbc(0x1ca)](_0x163b4b=>_0x163b4b)),_0x1011fa['on'](_0xeffcbc(0x1eb),_0x49a2e2=>{const _0x460a30=_0xeffcbc;this[_0x460a30(0x1bb)][_0x460a30(0x1eb)](_0x49a2e2[_0x460a30(0x1ba)][_0x460a30(0x1b5)]),this[_0x460a30(0x1bb)][_0x460a30(0x1ff)][_0x460a30(0x1a1)][_0x460a30(0x1ab)]();}),_0x1011fa;}[_0x1b3036(0x1c6)](_0x5d7316,_0x325e16,_0x3a997f){const _0x35c7e4=_0x1b3036,_0x4eb4ba=new _0x1fc92c(_0x5d7316),_0x12d74c=this[_0x35c7e4(0x1bb)][_0x35c7e4(0x196)][_0x35c7e4(0x18f)](_0x35c7e4(0x1a6));_0x4eb4ba[_0x35c7e4(0x205)][_0x35c7e4(0x183)]({'label':_0x3a997f,'icon':_0x38d504});const _0x339b42=new _0x428d4d(_0x5d7316);for(const _0x8ee734 of _0x325e16){if(_0x35c7e4(0x203)==_0x8ee734[_0x35c7e4(0x187)]){_0x339b42[_0x35c7e4(0x1cc)][_0x35c7e4(0x1fc)](new _0x591869(_0x5d7316));continue;}const _0x14c2ca=new _0x3dbc3d(_0x5d7316,_0x4eb4ba),_0x5a2eb7=new _0x47267c(_0x5d7316),_0x12f482=_0x8ee734[_0x35c7e4(0x209)];_0x5a2eb7[_0x35c7e4(0x1dd)](...Object[_0x35c7e4(0x20c)](_0x12f482))['to'](_0x12f482),_0x5a2eb7[_0x35c7e4(0x1ee)](_0x35c7e4(0x1eb))['to'](_0x4eb4ba),_0x5a2eb7['on'](_0x35c7e4(0x1eb),()=>{const _0x2c935=_0x35c7e4;this[_0x2c935(0x1bb)][_0x2c935(0x1eb)](_0x12f482[_0x2c935(0x1b5)]),this[_0x2c935(0x1bb)][_0x2c935(0x1ff)][_0x2c935(0x1a1)][_0x2c935(0x1ab)]();}),_0x14c2ca[_0x35c7e4(0x17e)][_0x35c7e4(0x1fc)](_0x5a2eb7),_0x339b42[_0x35c7e4(0x1cc)][_0x35c7e4(0x1fc)](_0x14c2ca);}return _0x4eb4ba[_0x35c7e4(0x1dd)](_0x35c7e4(0x1cb))['to'](_0x12d74c,_0x35c7e4(0x1cb)),_0x4eb4ba[_0x35c7e4(0x1e1)][_0x35c7e4(0x17e)][_0x35c7e4(0x1fc)](_0x339b42),_0x4eb4ba;}[_0x1b3036(0x182)](_0xcf3a2e){const _0x13bc2d=_0x1b3036,_0x4a45ac=this[_0x13bc2d(0x1bb)],_0x163d57=_0x4a45ac[_0x13bc2d(0x17a)],_0x576c19=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1d7)),_0x579910=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1be)),_0x19f9d7=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x17f)),_0x2f06fd=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x37341d)['me'],_0x217188=_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a6))[_0x13bc2d(0x202)],_0x23ded8=_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a6))[_0x13bc2d(0x1a7)],{CommentsListView:_0x5aafcf,CommentThreadInputView:_0x171da3}=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1da));let _0x22e458,_0x3449b3,_0x554c7b;this[_0x13bc2d(0x19c)][_0x13bc2d(0x206)](_0xcf3a2e['id'])?(_0x3449b3=this[_0x13bc2d(0x19c)][_0x13bc2d(0x18f)](_0xcf3a2e['id']),_0x22e458=_0x3449b3[_0x13bc2d(0x181)]):(_0x22e458=new _0x217188(_0x4a45ac[_0x13bc2d(0x191)],_0xcf3a2e,_0x2f06fd,{'disableComments':this[_0x13bc2d(0x18b)],'editorConfig':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1e5)),'maxCommentsWhenCollapsed':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1f8)),'maxThreadTotalWeight':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a5)),'maxCommentCharsWhenCollapsed':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x208)),'formatDateTime':_0x59dc2c(_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x191))),'CommentView':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1c1))[_0x13bc2d(0x1d9)],'CommentsListView':_0x5aafcf,'CommentThreadInputView':_0x171da3,'SuggestionView':_0x23ded8}),_0x22e458[_0x13bc2d(0x179)][_0x13bc2d(0x1df)]['on'](_0x13bc2d(0x1eb),()=>{const _0x4327bb=_0x13bc2d;_0x4a45ac[_0x4327bb(0x1ff)][_0x4327bb(0x1a1)][_0x4327bb(0x1ab)]();}),_0x22e458[_0x13bc2d(0x179)][_0x13bc2d(0x1b8)]['on'](_0x13bc2d(0x1eb),()=>{const _0x371d00=_0x13bc2d;_0x4a45ac[_0x371d00(0x1ff)][_0x371d00(0x1a1)][_0x371d00(0x1ab)]();}),_0x3449b3=_0x576c19[_0x13bc2d(0x1a2)](this[_0x13bc2d(0x1bb)][_0x13bc2d(0x191)],_0x22e458),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x184))['to'](_0x22e458,_0x13bc2d(0x184)),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x1c7))['to'](_0x22e458),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x187))['to'](_0x22e458,_0x13bc2d(0x187),_0x11abf0=>_0x13bc2d(0x1b6)+_0x11abf0),_0x22e458['on'](_0x13bc2d(0x19f),()=>{const _0x5a5cae=_0x13bc2d;_0x554c7b[_0x5a5cae(0x17c)](_0x5a5cae(0x19f));}),this[_0x13bc2d(0x19c)][_0x13bc2d(0x183)](_0xcf3a2e['id'],_0x3449b3));const _0x535cbb=_0x579910[_0x13bc2d(0x1a8)](_0xcf3a2e[_0x13bc2d(0x1c8)],_0x22e458),_0x620967=new _0x160749(_0x4a45ac,_0xcf3a2e,_0x22e458,_0x535cbb),_0x89d239=_0xcf3a2e[_0x13bc2d(0x1cf)]()[_0x13bc2d(0x1cd)](_0x334b24=>_0x334b24[_0x13bc2d(0x1f1)]);_0x22e458[_0x13bc2d(0x1ef)]=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x19b))[_0x13bc2d(0x204)][_0x13bc2d(0x180)](_0x89d239),this[_0x13bc2d(0x1ad)][_0x13bc2d(0x183)](_0xcf3a2e,_0x620967),this[_0x13bc2d(0x197)][_0x13bc2d(0x183)](_0x22e458,_0x620967),_0x554c7b=_0x576c19[_0x13bc2d(0x1ec)]({'view':_0x3449b3,'target':()=>{const _0x4619c3=_0x13bc2d,_0x282da2=[],_0x7f8fdf=_0xcf3a2e[_0x4619c3(0x1cf)]()[_0x4619c3(0x1cd)](_0xae9d14=>_0xae9d14[_0x4619c3(0x1f1)]);for(const _0x2683f1 of _0x7f8fdf)_0x282da2[_0x4619c3(0x198)](..._0x2683f1[_0x4619c3(0x1ae)]());return _0x3bcaf7(_0x4a45ac[_0x4619c3(0x1ff)],_0x282da2);},'type':()=>_0x13bc2d(0x1b6)+_0x620967[_0x13bc2d(0x1a1)][_0x13bc2d(0x187)]}),_0x579910[_0x13bc2d(0x20b)](_0x22e458,_0x554c7b),_0x576c19[_0x13bc2d(0x1fc)](_0x554c7b),_0x19f9d7[_0x13bc2d(0x1e7)](_0x554c7b);}[_0x1b3036(0x1c2)](_0xc05d49){const _0x10033b=_0x1b3036,_0x1b50ad=this[_0x10033b(0x1bb)][_0x10033b(0x1e6)][_0x10033b(0x18f)](_0x10033b(0x1be)),_0x38b787=this[_0x10033b(0x1bb)][_0x10033b(0x1e6)][_0x10033b(0x18f)](_0x10033b(0x1d7)),_0xb9c5b1=this[_0x10033b(0x1ad)][_0x10033b(0x18f)](_0xc05d49),_0x50ee61=_0xb9c5b1[_0x10033b(0x1a1)],_0x1eca71=_0x38b787[_0x10033b(0x186)](_0x50ee61);_0x1b50ad[_0x10033b(0x1d0)](_0x50ee61),_0x1eca71&&_0x38b787[_0x10033b(0x1f7)](_0x1eca71),this[_0x10033b(0x1ad)][_0x10033b(0x18e)](_0xc05d49),this[_0x10033b(0x197)][_0x10033b(0x18e)](_0x50ee61),_0xb9c5b1[_0x10033b(0x1bd)]();}[_0x1b3036(0x1f0)](_0x31a33a){const _0x70d063=_0x1b3036;if(!_0x31a33a[_0x70d063(0x1f1)]||!this[_0x70d063(0x1ad)][_0x70d063(0x206)](_0x31a33a))return;const _0x1ef41e=this[_0x70d063(0x1bb)][_0x70d063(0x1e6)][_0x70d063(0x18f)](_0x70d063(0x19b)),_0x307684=this[_0x70d063(0x1ad)][_0x70d063(0x18f)](_0x31a33a),_0x209a67=_0x31a33a[_0x70d063(0x1cf)]();_0x307684[_0x70d063(0x1a1)][_0x70d063(0x1ef)]=_0x1ef41e[_0x70d063(0x204)][_0x70d063(0x180)](_0x209a67);}[_0x1b3036(0x1bd)](){const _0x38788b=_0x1b3036;for(const _0x6df1fb of this[_0x38788b(0x1ad)][_0x38788b(0x20c)]())this[_0x38788b(0x1c2)](_0x6df1fb);for(const _0x3ef865 of this[_0x38788b(0x19c)][_0x38788b(0x207)]())_0x3ef865[_0x38788b(0x181)][_0x38788b(0x1bd)]();super[_0x38788b(0x1bd)]();}}function me(_0x4acdbf){const _0x5d18a2=_0x1b3036;return _0x5d18a2(0x209)in _0x4acdbf;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2aace3=_0x2bbd;(function(_0x40f5fd,_0x7ba4c7){const _0x474c0a=_0x2bbd,_0x213061=_0x40f5fd();while(!![]){try{const _0xda9c09=parseInt(_0x474c0a(0x11c))/0x1*(-parseInt(_0x474c0a(0x106))/0x2)+-parseInt(_0x474c0a(0x11f))/0x3+-parseInt(_0x474c0a(0x108))/0x4*(parseInt(_0x474c0a(0x107))/0x5)+parseInt(_0x474c0a(0x10a))/0x6*(-parseInt(_0x474c0a(0x119))/0x7)+-parseInt(_0x474c0a(0xfe))/0x8+-parseInt(_0x474c0a(0x11b))/0x9*(-parseInt(_0x474c0a(0x104))/0xa)+-parseInt(_0x474c0a(0xfa))/0xb*(-parseInt(_0x474c0a(0x10b))/0xc);if(_0xda9c09===_0x7ba4c7)break;else _0x213061['push'](_0x213061['shift']());}catch(_0x4c41b3){_0x213061['push'](_0x213061['shift']());}}}(_0x1983,0x6cda8));import{ObservableMixin as _0x49b936}from'ckeditor5/src/utils.js';function _0x1983(){const _0x36f900=['plugins','listenTo','PENDING_ACTION_SUGGESTION','remove','560ZxWAjY','_discardCommand','224396mtHDjv','2800xFDcvy','6336klzDDG','get','1098JpevAs','30988248rpltDw','acceptSuggestion','add','_editor','PendingActions','_pendingAction','getRanges','isEnabled','destroy','isDirty','change:isDirty','canAccept','view','commands','13699TUsmPQ','bind','42183lBCWHh','1yyIrBQ','discardSuggestion','canEditAt','2146530JPZeWL','unbind','model','commentThreadController','locale','execute','stopListening','11yJTEXW','_removePendingAction','_acceptCommand','_setPendingAction','2608664WhTkZJ','canDiscard'];_0x1983=function(){return _0x36f900;};return _0x1983();}import{getTranslation as _0x5a0292}from'../utils/common-translations.js';function _0x2bbd(_0x44a64c,_0x4a33df){const _0x1983e6=_0x1983();return _0x2bbd=function(_0x2bbd86,_0x524a96){_0x2bbd86=_0x2bbd86-0xf7;let _0x5deddc=_0x1983e6[_0x2bbd86];return _0x5deddc;},_0x2bbd(_0x44a64c,_0x4a33df);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49b936(){constructor(_0x59a341,_0x55426e,_0x32747a,_0x46d9e4){const _0x5d08a1=_0x2bbd;super(),this[_0x5d08a1(0x121)]=_0x55426e,this[_0x5d08a1(0x117)]=_0x32747a,this[_0x5d08a1(0x122)]=_0x46d9e4,this[_0x5d08a1(0x10e)]=_0x59a341,this[_0x5d08a1(0xfc)]=_0x59a341[_0x5d08a1(0x118)][_0x5d08a1(0x109)](_0x5d08a1(0x10c)),this[_0x5d08a1(0x105)]=_0x59a341[_0x5d08a1(0x118)][_0x5d08a1(0x109)](_0x5d08a1(0x11d)),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0x112))['to'](this[_0x5d08a1(0xfc)],this[_0x5d08a1(0x105)],(_0x5c3357,_0x335461)=>_0x5c3357||_0x335461),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0x116))['to'](this[_0x5d08a1(0xfc)],_0x5d08a1(0x112),_0x3fd4e8=>_0x3fd4e8&&this[_0x5d08a1(0x10e)][_0x5d08a1(0x121)][_0x5d08a1(0x11e)](_0x55426e[_0x5d08a1(0x111)]())),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0xff))['to'](this[_0x5d08a1(0x105)],_0x5d08a1(0x112),_0x5d093a=>_0x5d093a&&this[_0x5d08a1(0x10e)][_0x5d08a1(0x121)][_0x5d08a1(0x11e)](_0x55426e[_0x5d08a1(0x111)]())),this[_0x5d08a1(0x110)]=null,_0x32747a[_0x5d08a1(0x114)]&&this[_0x5d08a1(0xfd)](),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x10c),()=>this[_0x5d08a1(0x10c)]()),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x11d),()=>this[_0x5d08a1(0x11d)]()),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x115),()=>{const _0x4ef941=_0x5d08a1;_0x32747a[_0x4ef941(0x114)]?this[_0x4ef941(0xfd)]():this[_0x4ef941(0xfb)]();});}[_0x2aace3(0x10c)](){const _0x52b16b=_0x2aace3;this[_0x52b16b(0xfc)][_0x52b16b(0xf8)](this[_0x52b16b(0x121)]['id']);}[_0x2aace3(0x11d)](){const _0x175615=_0x2aace3;this[_0x175615(0x105)][_0x175615(0xf8)](this[_0x175615(0x121)]['id']);}[_0x2aace3(0x113)](){const _0xfa5c74=_0x2aace3;this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0x112)),this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0x116)),this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0xff)),this[_0xfa5c74(0xf9)](),this[_0xfa5c74(0x122)][_0xfa5c74(0x113)](),this[_0xfa5c74(0x110)]&&this[_0xfa5c74(0xfb)]();}[_0x2aace3(0xfd)](){const _0x584b5d=_0x2aace3,_0x113a90=_0x5a0292(this[_0x584b5d(0x10e)][_0x584b5d(0xf7)],_0x584b5d(0x102));this[_0x584b5d(0x110)]=this[_0x584b5d(0x10e)][_0x584b5d(0x100)][_0x584b5d(0x109)](_0x584b5d(0x10f))[_0x584b5d(0x10d)](_0x113a90);}[_0x2aace3(0xfb)](){const _0x2276cf=_0x2aace3;null!==this[_0x2276cf(0x110)]&&this[_0x2276cf(0x10e)][_0x2276cf(0x100)][_0x2276cf(0x109)](_0x2276cf(0x10f))[_0x2276cf(0x103)](this[_0x2276cf(0x110)]),this[_0x2276cf(0x110)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1664(_0x2d9b14,_0x2a64de){const _0x5a8615=_0x5a86();return _0x1664=function(_0x1664b6,_0x147e8b){_0x1664b6=_0x1664b6-0x129;let _0x43e4c5=_0x5a8615[_0x1664b6];return _0x43e4c5;},_0x1664(_0x2d9b14,_0x2a64de);}const _0x1baff4=_0x1664;(function(_0x1e995b,_0x1dafa8){const _0x3de314=_0x1664,_0x3d2ebd=_0x1e995b();while(!![]){try{const _0x39f76a=parseInt(_0x3de314(0x151))/0x1+parseInt(_0x3de314(0x143))/0x2+parseInt(_0x3de314(0x14f))/0x3+parseInt(_0x3de314(0x13a))/0x4*(-parseInt(_0x3de314(0x16b))/0x5)+-parseInt(_0x3de314(0x160))/0x6+-parseInt(_0x3de314(0x136))/0x7*(parseInt(_0x3de314(0x15b))/0x8)+-parseInt(_0x3de314(0x133))/0x9*(parseInt(_0x3de314(0x16d))/0xa);if(_0x39f76a===_0x1dafa8)break;else _0x3d2ebd['push'](_0x3d2ebd['shift']());}catch(_0x3dd426){_0x3d2ebd['push'](_0x3d2ebd['shift']());}}}(_0x5a86,0xae792));import{FocusCycler as _0xbe5d74,View as _0x3cebc9,ViewCollection as _0x1ee501}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2b1eed,KeystrokeHandler as _0x3bd178}from'ckeditor5/src/utils.js';function _0x5a86(){const _0x3ae936=['parseFromString','1071mQDOaC','SUGGESTION_THREAD_DESCRIPTION','submit','609ANmBhs','commentInputView','isDirty','fire','94708LfATcv','canDiscard','author','content','formatDateTime','setData','editor','isActive','value','2546518EDLNuQ','cancel','updateComment','locale','destroy','editorConfig','SUGGESTION_THREAD_ARIA_LABEL','join','focusables','isReadOnly','text/html','hasDirtyComment','4018848MMikCJ','addComment','1369498BkKaPi','assign','tab','render','_model','map','disableComments','_config','focusCycler','_createCommentThreadInputView','102776FlmrnS','target','authoredAt','_localUser','focus','3352818ayzFbH','removeComment','_createCommentViews','disabledSubmit','bind','commentsListView','delegate','showInput','canAccept','ariaDescriptionView','name','185kwNTnE','commentThreadInputView','60100vbIOad','set','element','keystrokes','commentThread','descriptionParts','CommentView','textContent','body','shift+tab','ariaLabel','focusTracker','isEnabled','length'];_0x5a86=function(){return _0x3ae936;};return _0x5a86();}import{AriaDescriptionView as _0x2dfa52,setupThreadKeyboardNavigation as _0x546928}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x27316a}from'../../utils/common-translations.js';import{renderDescription as _0x15fb00}from'../../utils/utils.js';export default class us extends _0x3cebc9{constructor(_0xa5cb74,_0x442db9,_0x499e17,_0x29328b){const _0x46fb92=_0x1664;super(_0xa5cb74),this[_0x46fb92(0x165)]=null,this[_0x46fb92(0x16c)]=null,this[_0x46fb92(0x169)]=new _0x2dfa52(_0xa5cb74,_0x27316a(_0xa5cb74,_0x46fb92(0x134))),this[_0x46fb92(0x16e)](_0x46fb92(0x141),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x15d),_0x442db9[_0x46fb92(0x15d)]),this[_0x46fb92(0x164)](_0x46fb92(0x15d))['to'](_0x442db9),this[_0x46fb92(0x16e)](_0x46fb92(0x129),[]),this[_0x46fb92(0x16e)](_0x46fb92(0x138),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x130),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x168),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x13b),!0x1),this[_0x46fb92(0x164)](_0x46fb92(0x12e))['to'](this,_0x46fb92(0x131),_0x442db9,_0x46fb92(0x15d),this,_0x46fb92(0x129),(_0x36cb80,_0xf933cc,_0x31ec3c)=>{const _0x298eb9=_0x46fb92,_0x3d680d=_0x31ec3c[_0x298eb9(0x156)](_0xcee1f7=>_0x15fb00(_0xcee1f7[_0x298eb9(0x13d)]))[_0x298eb9(0x14a)]('.\x20')+'.';return _0x27316a(this[_0x298eb9(0x146)],_0x298eb9(0x149),[_0x36cb80-0x1,_0x442db9[_0x298eb9(0x13c)][_0x298eb9(0x16a)],_0xf933cc?_0x29328b[_0x298eb9(0x13e)](_0xf933cc):'',new DOMParser()[_0x298eb9(0x132)](_0x3d680d,_0x298eb9(0x14d))[_0x298eb9(0x12c)][_0x298eb9(0x12b)]]);}),this[_0x46fb92(0x14b)]=new _0x1ee501(),this[_0x46fb92(0x12f)]=new _0x2b1eed(),this[_0x46fb92(0x170)]=new _0x3bd178(),this[_0x46fb92(0x159)]=new _0xbe5d74({'focusables':this[_0x46fb92(0x14b)],'focusTracker':this[_0x46fb92(0x12f)],'keystrokeHandler':this[_0x46fb92(0x170)],'keystrokeHandlerOptions':{'filter':_0x6f96b5=>_0x6f96b5[_0x46fb92(0x15c)]!==this[_0x46fb92(0x16f)]},'actions':{'focusPrevious':_0x46fb92(0x12d),'focusNext':_0x46fb92(0x153)}}),this[_0x46fb92(0x155)]=_0x442db9,this[_0x46fb92(0x15e)]=_0x499e17,this[_0x46fb92(0x158)]=_0x29328b,_0x29328b[_0x46fb92(0x157)]?this[_0x46fb92(0x16e)](_0x46fb92(0x131),0x1):this[_0x46fb92(0x162)]();}[_0x1baff4(0x154)](){const _0x1b9a55=_0x1baff4;super[_0x1b9a55(0x154)](),_0x546928(this,this[_0x1b9a55(0x14b)]);}[_0x1baff4(0x15f)](){const _0x5ccd51=_0x1baff4;this[_0x5ccd51(0x16f)][_0x5ccd51(0x15f)]();}[_0x1baff4(0x147)](){const _0x7860b6=_0x1baff4;this[_0x7860b6(0x165)]&&this[_0x7860b6(0x165)][_0x7860b6(0x147)](),this[_0x7860b6(0x16c)]&&this[_0x7860b6(0x16c)][_0x7860b6(0x147)](),super[_0x7860b6(0x147)]();}[_0x1baff4(0x162)](){const _0x2e7acf=_0x1baff4,{CommentsListView:_0xaf1eae}=this[_0x2e7acf(0x158)];this[_0x2e7acf(0x165)]=new _0xaf1eae(this[_0x2e7acf(0x146)],this[_0x2e7acf(0x155)][_0x2e7acf(0x171)],Object[_0x2e7acf(0x152)]({'CommentView':this[_0x2e7acf(0x158)][_0x2e7acf(0x12a)]},this[_0x2e7acf(0x158)])),this[_0x2e7acf(0x165)][_0x2e7acf(0x166)](_0x2e7acf(0x161))['to'](this),this[_0x2e7acf(0x165)][_0x2e7acf(0x166)](_0x2e7acf(0x145))['to'](this),this[_0x2e7acf(0x165)][_0x2e7acf(0x164)](_0x2e7acf(0x141))['to'](this),this[_0x2e7acf(0x16e)](_0x2e7acf(0x131),this[_0x2e7acf(0x165)][_0x2e7acf(0x131)]+0x1),this[_0x2e7acf(0x164)](_0x2e7acf(0x131))['to'](this[_0x2e7acf(0x165)],_0x2e7acf(0x131),_0x25e1d2=>_0x25e1d2+0x1),this[_0x2e7acf(0x16c)]=this[_0x2e7acf(0x15a)](),this['on'](_0x2e7acf(0x161),()=>this[_0x2e7acf(0x15f)]()),this[_0x2e7acf(0x164)](_0x2e7acf(0x138))['to'](this[_0x2e7acf(0x165)],_0x2e7acf(0x14e),this[_0x2e7acf(0x16c)][_0x2e7acf(0x137)],_0x2e7acf(0x142),(_0xa8be35,_0x27415d)=>_0xa8be35||!!_0x27415d);}[_0x1baff4(0x15a)](){const _0x3e87fb=_0x1baff4,{CommentThreadInputView:_0x242ed4}=this[_0x3e87fb(0x158)],_0x164443=new _0x242ed4(this[_0x3e87fb(0x146)],this[_0x3e87fb(0x15e)],this[_0x3e87fb(0x158)][_0x3e87fb(0x148)]),_0x428400=_0x164443[_0x3e87fb(0x137)];return _0x164443[_0x3e87fb(0x164)](_0x3e87fb(0x167))['to'](this,_0x3e87fb(0x141),this[_0x3e87fb(0x155)][_0x3e87fb(0x171)],_0x3e87fb(0x14c),_0x428400,_0x3e87fb(0x142),(_0x5ae80d,_0x141aad,_0x379f7d)=>!!_0x379f7d||_0x5ae80d&&!_0x141aad),_0x428400['on'](_0x3e87fb(0x135),(_0x5c681b,_0x4c8fce)=>{const _0x2edc0e=_0x3e87fb;this[_0x2edc0e(0x139)](_0x2edc0e(0x150),_0x4c8fce),_0x428400[_0x2edc0e(0x140)][_0x2edc0e(0x13f)]('');}),_0x428400['on'](_0x3e87fb(0x144),()=>this[_0x3e87fb(0x15f)]()),_0x428400[_0x3e87fb(0x164)](_0x3e87fb(0x163))['to'](this[_0x3e87fb(0x155)][_0x3e87fb(0x171)],_0x3e87fb(0x14c)),_0x164443;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a101b=_0xb5f8;function _0x34fc(){const _0x48a721=['297031qnHEne','listitem','commentThreadInputView','content','ck-suggestion-','6jLNItV','ck-suggestion-wrapper','set','_config','1015700PodjwX','suggestionView','ariaLabel','10zVKrFl','ck-suggestion--disabled-comments','setTemplate','ariaDescriptionView','isActive','118532hZbVXT','color','focusables','div','SuggestionView','canAccept','add','bind','3fVBsNV','discardButton','isEnabled','render','_model','20BVYAlU','type','descriptionParts','discardSuggestion','disableComments','commentsListView','</p>','bindTemplate','push','1710384tgoMim','ck-suggestion-wrapper--active','_descriptionElement','editorReady','648009YuMIPe','delegate','84Ohxexa','acceptSuggestion','canDiscard','3274hFQMLc','ck-rounded-corners','acceptButton','author','formatDateTime','description','editorDestroyed','<p>','getTemplate','commentThread','749243hPPatR'];_0x34fc=function(){return _0x48a721;};return _0x34fc();}(function(_0x4e8f8e,_0x40d2b4){const _0x5d7277=_0xb5f8,_0x2e9f54=_0x4e8f8e();while(!![]){try{const _0x48a9aa=-parseInt(_0x5d7277(0x126))/0x1*(parseInt(_0x5d7277(0x102))/0x2)+parseInt(_0x5d7277(0x10f))/0x3*(parseInt(_0x5d7277(0x107))/0x4)+parseInt(_0x5d7277(0x13a))/0x5+parseInt(_0x5d7277(0x136))/0x6*(parseInt(_0x5d7277(0x131))/0x7)+parseInt(_0x5d7277(0x11d))/0x8+-parseInt(_0x5d7277(0x121))/0x9*(-parseInt(_0x5d7277(0x114))/0xa)+-parseInt(_0x5d7277(0x130))/0xb*(parseInt(_0x5d7277(0x123))/0xc);if(_0x48a9aa===_0x40d2b4)break;else _0x2e9f54['push'](_0x2e9f54['shift']());}catch(_0x139ee5){_0x2e9f54['push'](_0x2e9f54['shift']());}}}(_0x34fc,0x22245));import{default as _0x392d8c}from'./basesuggestionthreadview.js';import{trimHtml as _0x20b8b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4cd1fa}from'../../utils/utils.js';function _0xb5f8(_0x2514a9,_0x236580){const _0x34fc1a=_0x34fc();return _0xb5f8=function(_0xb5f888,_0x233700){_0xb5f888=_0xb5f888-0x101;let _0x4ef91c=_0x34fc1a[_0xb5f888];return _0x4ef91c;},_0xb5f8(_0x2514a9,_0x236580);}export default class re extends _0x392d8c{constructor(_0x20010c,_0x3a9ad4,_0x29464a,_0x3a35f6){const _0x4f2528=_0xb5f8;super(_0x20010c,_0x3a9ad4,_0x29464a,_0x3a35f6),this[_0x4f2528(0x138)](_0x4f2528(0x115),''),this[_0x4f2528(0x10e)](_0x4f2528(0x115))['to'](this,_0x4f2528(0x116),_0x40491a=>_0x40491a&&_0x40491a[0x0]?_0x40491a[0x0][_0x4f2528(0x115)]:''),this[_0x4f2528(0x10e)](_0x4f2528(0x12b))['to'](this,_0x4f2528(0x116),this,_0x4f2528(0x106),(_0x195d1f,_0x50bcb6)=>{const _0x3a2da8=_0x4f2528;let _0x56514f='';for(const _0x19951a of _0x195d1f)_0x56514f+=_0x3a2da8(0x12d)+_0x4cd1fa(_0x19951a[_0x3a2da8(0x134)],_0x19951a[_0x3a2da8(0x108)])+_0x3a2da8(0x11a);return _0x50bcb6?_0x56514f:_0x20b8b9(_0x56514f,{'limit':0x8c});}),this[_0x4f2528(0x11f)]=null,this[_0x4f2528(0x13b)]=new _0x3a35f6[(_0x4f2528(0x10b))](_0x20010c,_0x3a9ad4,{'formatDateTime':_0x3a35f6[_0x4f2528(0x12a)]}),this[_0x4f2528(0x13b)][_0x4f2528(0x10e)](_0x4f2528(0x12b))['to'](this),this[_0x4f2528(0x13b)][_0x4f2528(0x122)](_0x4f2528(0x124),_0x4f2528(0x117))['to'](this),this[_0x4f2528(0x13b)][_0x4f2528(0x128)][_0x4f2528(0x10e)](_0x4f2528(0x111))['to'](this,_0x4f2528(0x10c)),this[_0x4f2528(0x13b)][_0x4f2528(0x110)][_0x4f2528(0x10e)](_0x4f2528(0x111))['to'](this,_0x4f2528(0x125)),this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x13b)]),this[_0x4f2528(0x119)]&&this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x119)]),this[_0x4f2528(0x133)]&&this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x133)]),this[_0x4f2528(0x104)](this[_0x4f2528(0x12e)]());}[_0x3a101b(0x12e)](){const _0x2bb014=_0x3a101b,_0x27321a=this[_0x2bb014(0x11b)],_0x4c5e3e=[this[_0x2bb014(0x13b)]];return this[_0x2bb014(0x119)]&&_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x119)]),this[_0x2bb014(0x133)]&&_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x133)]),_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x105)]),{'tag':_0x2bb014(0x10a),'attributes':{'class':['ck',_0x2bb014(0x127),_0x2bb014(0x137),_0x27321a['if'](_0x2bb014(0x106),_0x2bb014(0x11e)),_0x27321a['to'](_0x2bb014(0x115),_0xc16365=>_0x2bb014(0x135)+_0xc16365),this[_0x2bb014(0x139)][_0x2bb014(0x118)]&&_0x2bb014(0x103)],'data-suggestion-id':this[_0x2bb014(0x113)]['id'],'data-thread-id':this[_0x2bb014(0x113)][_0x2bb014(0x12f)]['id'],'data-author-id':this[_0x2bb014(0x113)][_0x2bb014(0x129)]['id'],'tabindex':0x0,'role':_0x2bb014(0x132),'aria-label':_0x27321a['to'](_0x2bb014(0x101)),'aria-describedby':this[_0x2bb014(0x105)]['id']},'children':_0x4c5e3e};}[_0x3a101b(0x112)](){const _0x149eac=_0x3a101b;super[_0x149eac(0x112)](),this[_0x149eac(0x119)]&&(this[_0x149eac(0x119)][_0x149eac(0x122)](_0x149eac(0x120))['to'](this),this[_0x149eac(0x119)][_0x149eac(0x122)](_0x149eac(0x12c))['to'](this)),this[_0x149eac(0x133)]&&(this[_0x149eac(0x133)][_0x149eac(0x122)](_0x149eac(0x120))['to'](this),this[_0x149eac(0x133)][_0x149eac(0x122)](_0x149eac(0x12c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x516e67=_0x205e;(function(_0x3fa82e,_0x4b4410){const _0x11585e=_0x205e,_0x22ecbc=_0x3fa82e();while(!![]){try{const _0x45b13e=-parseInt(_0x11585e(0x18b))/0x1+-parseInt(_0x11585e(0x169))/0x2*(-parseInt(_0x11585e(0x1b9))/0x3)+-parseInt(_0x11585e(0x16b))/0x4*(parseInt(_0x11585e(0x19a))/0x5)+parseInt(_0x11585e(0x16e))/0x6+-parseInt(_0x11585e(0x19d))/0x7*(-parseInt(_0x11585e(0x19f))/0x8)+parseInt(_0x11585e(0x187))/0x9+parseInt(_0x11585e(0x1b1))/0xa*(-parseInt(_0x11585e(0x193))/0xb);if(_0x45b13e===_0x4b4410)break;else _0x22ecbc['push'](_0x22ecbc['shift']());}catch(_0x40d78b){_0x22ecbc['push'](_0x22ecbc['shift']());}}}(_0x1874,0x93a19));import{FocusTracker as _0x1d80ed,KeystrokeHandler as _0x1f6f72}from'ckeditor5/src/utils.js';function _0x205e(_0x36cc49,_0x566a2f){const _0x187438=_0x1874();return _0x205e=function(_0x205e59,_0x51bff4){_0x205e59=_0x205e59-0x166;let _0xa0102b=_0x187438[_0x205e59];return _0xa0102b;},_0x205e(_0x36cc49,_0x566a2f);}import{View as _0x3c85ae,ViewCollection as _0xd2649,FocusCycler as _0x544204}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x55dc82,UserView as _0x3778fc}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x2b0b5d}from'ckeditor5/src/core.js';function _0x1874(){const _0x34dd47=['extendTemplate','fire','name','formatDateTime','cancel','render','485jHrRGV','setTemplate','target','7xKkJaN','ck-comment__info-time','1258256BDFPjo','ck-suggestion__main','EXTERNAL_IMPORT_WORD_SUGGESTION','isExternal','ck-suggestion__actions','presentation','time','execute','getExternalSuggestionNote','querySelector','creator','ck-annotation__info-name','ck-annotation__info','ck-annotation','ck-suggestion__user','focusFirst','acceptSuggestion','check','5766100pVFvYp','Discard\x20suggestion','set','@external','ck-suggestion__info-name','listenTo','div','ck-annotation__content-wrapper','951bpKioq','_createButton','add','focus','focusCycler','ck-annotation__main','locale','ck-annotation__info-time','discardSuggestion','keystrokes','focusTracker','EXTERNAL_AVATAR','4874UnECnb','ck-suggestion__info','6492wtWZAP','userView','source','537654IZOQxX','bindTemplate','Accept\x20suggestion','_config','authoredAt','ck-annotation__user','EXTERNAL_IMPORT_WORD_AVATAR','_model','bind','acceptButton','_setupKeyboardNavigation','getUserViewNotificationText','ck-comment__external','innerHTML','importWord','EXTERNAL_SUGGESTION','tab','getTemplate','focusables','.ck-annotation__content-wrapper','shift+tab','ck-suggestion','esc','description','ck-annotation__actions','4555971aTSubF','push','element','ck-suggestion--accept','186901tvSbex','change:description','span','ck-suggestion--discard','author','enter','discardButton','attributes','11TMaBUy'];_0x1874=function(){return _0x34dd47;};return _0x1874();}import{getTranslation as _0x5bee92}from'../../utils/common-translations.js';export default class ce extends _0x3c85ae{constructor(_0x11febf,_0x4c9c25,_0x4a0abd){const _0x52dc6b=_0x205e;super(_0x11febf),this[_0x52dc6b(0x175)]=_0x4c9c25,this[_0x52dc6b(0x171)]=_0x4a0abd,this[_0x52dc6b(0x1b3)](_0x52dc6b(0x185),''),this[_0x52dc6b(0x176)](_0x52dc6b(0x172))['to'](_0x4c9c25),this[_0x52dc6b(0x177)]=this[_0x52dc6b(0x1ba)](_0x5bee92(_0x11febf,_0x52dc6b(0x170)),_0x2b0b5d[_0x52dc6b(0x1b0)],_0x52dc6b(0x18a),_0x52dc6b(0x1af),'sw'),this[_0x52dc6b(0x191)]=this[_0x52dc6b(0x1ba)](_0x5bee92(_0x11febf,_0x52dc6b(0x1b2)),_0x2b0b5d[_0x52dc6b(0x198)],_0x52dc6b(0x18e),_0x52dc6b(0x1c1),'sw'),this[_0x52dc6b(0x16c)]=new _0x3778fc(_0x11febf,_0x4c9c25[_0x52dc6b(0x18f)],this[_0x52dc6b(0x179)]()),this[_0x52dc6b(0x16c)][_0x52dc6b(0x194)]({'attributes':{'class':[_0x52dc6b(0x1ad),_0x52dc6b(0x173)],'aria-hidden':!0x0}}),this[_0x52dc6b(0x180)]=new _0xd2649([this[_0x52dc6b(0x177)],this[_0x52dc6b(0x191)]]),this[_0x52dc6b(0x167)]=new _0x1d80ed(),this[_0x52dc6b(0x166)]=new _0x1f6f72(),this[_0x52dc6b(0x1bd)]=new _0x544204({'focusables':this[_0x52dc6b(0x180)],'focusTracker':this[_0x52dc6b(0x167)],'keystrokeHandler':this[_0x52dc6b(0x166)],'actions':{'focusPrevious':_0x52dc6b(0x182),'focusNext':_0x52dc6b(0x17e)},'keystrokeHandlerOptions':{'filter':_0x3ef946=>_0x3ef946[_0x52dc6b(0x19c)]!==this[_0x52dc6b(0x189)]}}),this[_0x52dc6b(0x19b)](this[_0x52dc6b(0x17f)]());}[_0x516e67(0x199)](){const _0x200eba=_0x516e67;super[_0x200eba(0x199)]();const _0x445248=this[_0x200eba(0x189)][_0x200eba(0x1a8)](_0x200eba(0x181));_0x445248[_0x200eba(0x17b)]=this[_0x200eba(0x185)],this['on'](_0x200eba(0x18c),(_0x9ab69f,_0x51a234,_0x1170ea)=>{const _0x59fa04=_0x200eba;_0x445248[_0x59fa04(0x17b)]=_0x1170ea;}),this[_0x200eba(0x178)]();}[_0x516e67(0x17f)](){const _0x53ef6b=_0x516e67,_0x19f1ab=this[_0x53ef6b(0x16f)],_0x204168=[{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x16a),_0x53ef6b(0x1ab)]},'children':[{'tag':_0x53ef6b(0x18d),'children':[{'text':this[_0x53ef6b(0x16c)][_0x53ef6b(0x196)]}],'attributes':{'class':[_0x53ef6b(0x1b5),_0x53ef6b(0x1aa)]}},{'tag':_0x53ef6b(0x1a5),'attributes':{'datetime':_0x19f1ab['to'](_0x53ef6b(0x172)),'class':[_0x53ef6b(0x19e),_0x53ef6b(0x1c0)]},'children':[{'text':_0x19f1ab['to'](_0x53ef6b(0x172),_0x2ae595=>this[_0x53ef6b(0x171)][_0x53ef6b(0x197)](_0x2ae595))}]}]},{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1a3),_0x53ef6b(0x186)]},'children':[this[_0x53ef6b(0x177)],this[_0x53ef6b(0x191)]]},{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1b8)]}}];return this[_0x53ef6b(0x175)][_0x53ef6b(0x1a2)]&&_0x204168[_0x53ef6b(0x188)]({'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x17a)]},'children':[{'text':this[_0x53ef6b(0x1a7)]()}]}),{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x183),_0x53ef6b(0x1ac)],'tabindex':-0x1},'children':[this[_0x53ef6b(0x16c)],{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1a0),_0x53ef6b(0x1be)],'role':_0x53ef6b(0x1a4)},'children':_0x204168}]};}[_0x516e67(0x1bc)](){const _0x41c17e=_0x516e67;this[_0x41c17e(0x189)][_0x41c17e(0x1bc)]();}[_0x516e67(0x179)](){const _0x187640=_0x516e67;return this[_0x187640(0x175)][_0x187640(0x1a2)]?_0x187640(0x17c)===this[_0x187640(0x175)][_0x187640(0x192)][_0x187640(0x1b4)][_0x187640(0x16d)]?_0x5bee92(this[_0x187640(0x1bf)],_0x187640(0x174),this[_0x187640(0x175)][_0x187640(0x1a9)][_0x187640(0x196)]):_0x5bee92(this[_0x187640(0x1bf)],_0x187640(0x168),this[_0x187640(0x175)][_0x187640(0x1a9)][_0x187640(0x196)]):null;}[_0x516e67(0x1a7)](){const _0x189e78=_0x516e67;return _0x189e78(0x17c)===this[_0x189e78(0x175)][_0x189e78(0x192)][_0x189e78(0x1b4)][_0x189e78(0x16d)]?_0x5bee92(this[_0x189e78(0x1bf)],_0x189e78(0x1a1)):_0x5bee92(this[_0x189e78(0x1bf)],_0x189e78(0x17d));}[_0x516e67(0x1ba)](_0x371a31,_0x5beefe,_0x5ea3b8,_0x5181bb,_0x44a5b6){const _0x1ef0a6=_0x516e67,_0x2d0c61=new _0x55dc82(this[_0x1ef0a6(0x1bf)]);return _0x2d0c61[_0x1ef0a6(0x1b3)]({'label':_0x371a31,'icon':_0x5beefe,'tooltip':!0x0,'tooltipPosition':_0x44a5b6}),_0x2d0c61[_0x1ef0a6(0x194)]({'attributes':{'class':_0x5ea3b8}}),_0x2d0c61['on'](_0x1ef0a6(0x1a6),()=>{const _0x3cde38=_0x1ef0a6;this[_0x3cde38(0x195)](_0x5181bb,this[_0x3cde38(0x175)]['id']);}),_0x2d0c61;}[_0x516e67(0x178)](){const _0x51df09=_0x516e67,_0xd5db3c=this[_0x51df09(0x189)];this[_0x51df09(0x166)][_0x51df09(0x1b6)](_0xd5db3c);for(const _0x35b648 of this[_0x51df09(0x180)])this[_0x51df09(0x167)][_0x51df09(0x1bb)](_0x35b648[_0x51df09(0x189)]),this[_0x51df09(0x166)][_0x51df09(0x1b6)](_0x35b648[_0x51df09(0x189)]);this[_0x51df09(0x166)][_0x51df09(0x1b3)](_0x51df09(0x190),(_0x3eabf3,_0x248cf1)=>{const _0x9fe624=_0x51df09;_0xd5db3c===_0x3eabf3[_0x9fe624(0x19c)]&&(this[_0x9fe624(0x1bd)][_0x9fe624(0x1ae)](),_0x248cf1());}),this[_0x51df09(0x166)][_0x51df09(0x1b3)](_0x51df09(0x184),(_0x45c0be,_0x2a30f6)=>{const _0x588fd7=_0x51df09;_0xd5db3c!==_0x45c0be[_0x588fd7(0x19c)]&&(this[_0x588fd7(0x1bc)](),_0x2a30f6());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5a5132,_0x2c2512,_0x4dd2ff){const t=_0x5a5132['t'];switch(_0x2c2512){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',_0x4dd2ff);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4dd2ff);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4dd2ff);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4dd2ff);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4dd2ff);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',_0x4dd2ff);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4dd2ff);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',_0x4dd2ff);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4dd2ff);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4dd2ff);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4dd2ff);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4dd2ff);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4dd2ff);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4dd2ff);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4dd2ff);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4dd2ff);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4dd2ff);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4dd2ff);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4dd2ff);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4dd2ff);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4dd2ff);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4dd2ff);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4dd2ff);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4dd2ff);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4dd2ff);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4dd2ff);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4dd2ff);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4dd2ff);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4dd2ff);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4dd2ff);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'},_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4dd2ff);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'},_0x4dd2ff);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4dd2ff);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4dd2ff);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x4dd2ff);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'},_0x4dd2ff);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'},_0x4dd2ff);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4dd2ff);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x4dd2ff);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x4dd2ff);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x4dd2ff);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2c2512;}}
|
|
23
|
+
export function getTranslation(_0x3f7975,_0x2f5a64,_0x1fbb11){const t=_0x3f7975['t'];switch(_0x2f5a64){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',_0x1fbb11);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1fbb11);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1fbb11);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1fbb11);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1fbb11);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',_0x1fbb11);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1fbb11);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',_0x1fbb11);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1fbb11);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1fbb11);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1fbb11);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1fbb11);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1fbb11);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1fbb11);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1fbb11);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1fbb11);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1fbb11);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1fbb11);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1fbb11);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1fbb11);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1fbb11);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1fbb11);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1fbb11);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1fbb11);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1fbb11);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1fbb11);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1fbb11);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1fbb11);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1fbb11);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1fbb11);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'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1fbb11);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1fbb11);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1fbb11);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'},_0x1fbb11);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'},_0x1fbb11);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1fbb11);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1fbb11);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1fbb11);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1fbb11);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2f5a64;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2462c7,_0x2a974c){const _0x3babad=_0x5042,_0x1806b3=_0x2462c7();while(!![]){try{const _0x26f248=-parseInt(_0x3babad(0x12f))/0x1+parseInt(_0x3babad(0x12c))/0x2+parseInt(_0x3babad(0x123))/0x3+parseInt(_0x3babad(0x111))/0x4+parseInt(_0x3babad(0x102))/0x5+-parseInt(_0x3babad(0x116))/0x6*(-parseInt(_0x3babad(0x126))/0x7)+-parseInt(_0x3babad(0x105))/0x8;if(_0x26f248===_0x2a974c)break;else _0x1806b3['push'](_0x1806b3['shift']());}catch(_0x10ed7b){_0x1806b3['push'](_0x1806b3['shift']());}}}(_0x244a,0xb6948));export function normalizeDescription(_0x20ac96){const _0x291644=_0x5042;return Array[_0x291644(0x121)](_0x20ac96)||(_0x20ac96=[_0x20ac96]),_0x20ac96[_0x291644(0x135)](_0x3e9e36=>{const _0x366014=_0x291644,_0x5313aa=_0x3e9e36[_0x366014(0x129)][_0x366014(0x110)](/\*/g,''),_0x65a082=_0x3e9e36[_0x366014(0x122)]?_0x366014(0x10f)+_0x3e9e36[_0x366014(0x122)][_0x366014(0x11e)]+']':'';return'['+_0x3e9e36[_0x366014(0x117)]+']\x20'+_0x5313aa+_0x65a082;})[_0x291644(0x10b)](';\x20');}export function renderDescription(_0x22ef9f,_0x28bdf6){const _0x16d4d7=_0x5042;let _0x173fc8='';return _0x173fc8+=_0x22ef9f[_0x16d4d7(0x127)]('*')[_0x16d4d7(0x135)]((_0x4dfb78,_0x45c5b3)=>_0x45c5b3%0x2!=0x0?_0x16d4d7(0x10e)+nn(_0x4dfb78)+_0x16d4d7(0x12d):nn(_0x4dfb78))[_0x16d4d7(0x10b)](''),_0x28bdf6&&(_0x173fc8+=_0x16d4d7(0x115)+_0x28bdf6[_0x16d4d7(0x11e)]+_0x16d4d7(0x124)+_0x28bdf6[_0x16d4d7(0x103)]+_0x16d4d7(0x109)),_0x173fc8;}function nn(_0x520b0a){const _0x2c6ad0=_0x5042,_0x1f88c0=document[_0x2c6ad0(0x10a)](_0x2c6ad0(0x114));return _0x1f88c0[_0x2c6ad0(0x106)]=_0x520b0a,_0x1f88c0[_0x2c6ad0(0x112)];}export function sortSuggestions(_0x47abe6){const _0x1394ad=_0x5042;return _0x47abe6[_0x1394ad(0x12e)]((_0x589473,_0x182e98)=>_0x1394ad(0x113)==_0x589473[_0x1394ad(0x117)]&&_0x1394ad(0x113)!=_0x182e98[_0x1394ad(0x117)]?-0x1:_0x1394ad(0x113)!=_0x589473[_0x1394ad(0x117)]&&_0x1394ad(0x113)==_0x182e98[_0x1394ad(0x117)]?0x1:0x0);}export function getSelectedSuggestions(_0x4dc833,_0x5cf1cd){const _0x3dba94=_0x5042,_0x5c0c11=Array[_0x3dba94(0x11f)](_0x4dc833[_0x3dba94(0x12a)]()),_0x2b7283=new Set();for(const _0x300b14 of _0x5cf1cd)if(_0x300b14[_0x3dba94(0x119)]){for(const _0x584f56 of _0x5c0c11)for(const _0x2d2bd2 of _0x300b14[_0x3dba94(0x12a)]())(_0x584f56[_0x3dba94(0x128)](_0x2d2bd2)||_0x4dc833[_0x3dba94(0x131)]&&!_0x300b14[_0x3dba94(0x11d)]&&_0x300b14[_0x3dba94(0x10d)]&&_0x2d2bd2[_0x3dba94(0x12b)][_0x3dba94(0x130)](_0x584f56[_0x3dba94(0x11b)]))&&_0x2b7283[_0x3dba94(0x132)](_0x300b14);}return _0x2b7283;}export function getRangesOfBlockGroups(_0xea2ba7,_0x53d939){const _0x30a597=_0x5042;let _0x5879de,_0x3f5888=0x0;const _0x29afeb=[],_0x40c771=_0x53d939[_0x30a597(0x134)];for(;_0x3f5888<_0xea2ba7[_0x30a597(0x118)];){const _0x4b4f91=_0xea2ba7[_0x3f5888],_0xa51150=_0xea2ba7[_0x3f5888+0x1];_0x5879de||(_0x5879de=_0x53d939[_0x30a597(0x104)](_0x4b4f91)),on(_0x53d939,_0x4b4f91,_0xa51150)||(_0x29afeb[_0x30a597(0x108)](_0x53d939[_0x30a597(0x133)](_0x5879de,_0x40c771[_0x30a597(0x11c)](_0x4b4f91)?_0x53d939[_0x30a597(0x107)](_0x4b4f91):_0x53d939[_0x30a597(0x11a)](_0x4b4f91,_0x30a597(0x12b)))),_0x5879de=null),_0x3f5888++;}return _0x29afeb;}function on(_0x4f2cb4,_0x34c7de,_0x5f3e37){const _0x48147b=_0x5042;if(!_0x5f3e37)return!0x1;const _0x363cfe=_0x4f2cb4[_0x48147b(0x107)](_0x34c7de),_0x2dac32=_0x4f2cb4[_0x48147b(0x104)](_0x5f3e37);return _0x363cfe[_0x48147b(0x130)](_0x2dac32);}function _0x5042(_0x1c7bae,_0x531aa9){const _0x244a0b=_0x244a();return _0x5042=function(_0x5042a6,_0x76122b){_0x5042a6=_0x5042a6-0x102;let _0x574a9f=_0x244a0b[_0x5042a6];return _0x574a9f;},_0x5042(_0x1c7bae,_0x531aa9);}function _0x244a(){const _0x4c6bfe=['end','2736622LoJBkS','</span>','sort','1434294eHehWD','isTouching','isCollapsed','add','createRange','schema','map','6736240dtDJsw','title','createPositionBefore','31230192HxZQCS','innerText','createPositionAfter','push','\x22></span>','createElement','join','change','next','<span\x20class=\x22ck-suggestion-type\x22>','\x20[color\x20','replace','4940512edZcRz','innerHTML','deletion','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','33882rtvEcx','type','length','isInContent','createPositionAt','start','isObject','isMultiRange','value','from','splice','isArray','color','2983605WVBhZN','\x22\x20title=\x22','execute','1414NHXRIG','split','isIntersecting','content','getRanges'];_0x244a=function(){return _0x4c6bfe;};return _0x244a();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x404848,_0x10b2e6,_0x3ec681){const _0xb3b98a=_0x5042;for(;_0x3ec681[_0xb3b98a(0x118)];){const _0x1255ee=_0x3ec681[_0xb3b98a(0x120)](0x0,0x64);_0x404848[_0xb3b98a(0x10c)](()=>{const _0x2d9c94=_0xb3b98a;for(const _0x5554cd of _0x1255ee)_0x5554cd[_0x2d9c94(0x119)]&&_0x10b2e6[_0x2d9c94(0x125)](_0x5554cd['id']);});}}
|