@ckeditor/ckeditor5-track-changes 43.1.0-alpha.1 → 43.1.0-alpha.3
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
|
-
const _0x19890f=_0x53f4;(function(_0xcc7003,_0x5b28a3){const _0x2de642=_0x53f4,_0x238d3c=_0xcc7003();while(!![]){try{const _0x24a687=parseInt(_0x2de642(0x110))/0x1*(-parseInt(_0x2de642(0xde))/0x2)+-parseInt(_0x2de642(0xbf))/0x3*(-parseInt(_0x2de642(0x101))/0x4)+parseInt(_0x2de642(0xaa))/0x5+-parseInt(_0x2de642(0xc3))/0x6+-parseInt(_0x2de642(0x10c))/0x7+-parseInt(_0x2de642(0x117))/0x8+-parseInt(_0x2de642(0x111))/0x9*(-parseInt(_0x2de642(0x10b))/0xa);if(_0x24a687===_0x5b28a3)break;else _0x238d3c['push'](_0x238d3c['shift']());}catch(_0x1cbff6){_0x238d3c['push'](_0x238d3c['shift']());}}}(_0x4fb7,0x53b75));import{Plugin as _0x4683c8}from'ckeditor5/src/core.js';import{Collection as _0x5a0d5c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1f2bc9,createDropdown as _0x34d185,ListSeparatorView as _0x30aaab,MenuBarMenuView as _0x1cde52,MenuBarMenuListView as _0x1a866c,MenuBarMenuListItemView as _0x39d015,MenuBarMenuListItemButtonView as _0x11690e,SplitButtonView as _0x5e71ca,ViewModel as _0x3ccb15}from'ckeditor5/src/ui.js';import{Users as _0x56980e,getDateTimeFormatter as _0x1330d3,getAllMarkersDomElementsSorted as _0x4ef3ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x253311 from'./trackchangesediting.js';import _0x211873 from'./ui/suggestioncontroller.js';import _0x292c05 from'./ui/view/suggestionthreadview.js';import _0x391c88 from'./ui/view/suggestionview.js';function _0x4fb7(){const _0x207a78=['actionView','comments.maxThreadTotalWeight','_suggestionToController','items','listenTo','componentFactory','fire','mainView','3NKdriv','comments','get','TrackChangesEditing','1388580tydWmT','commandName','locale','getMarkers','suggestionUnloaded','config','createAnnotation','init','comments.maxCommentsWhenCollapsed','source','keys','TrackChangesUI','trackChanges.disableComments','_destroyController','stopListening','delete','reduce','define','set','suggestion-','getByInnerView','createAnnotationView','_viewToController','editor','createCommentThreadController','from','push','2qWTXdh','children','some','CommentsUI','separator','bind','toMany','has','discardButton','change:previous','_bindAnnotationToEditors','focus','getFirstRange','destroy','previous','filter','addComment','editing','Annotations','suggestionView','delegate','hasSuggestion','commentThread','_createMenuBarMenu','_createToolbarButton','_unbindEditors','_annotationViews','plugins','activeAnnotations','_addUIComponentsToFactory','comments.maxCommentCharsWhenCollapsed','isDirty','lowest','execute','getMarkerNames','1757380Gbuqgl','Discard\x20all\x20suggestions','head','suggestionLoaded','buttonView','CommentsRepository','addSourceCollector','activeMarkers','menuitemcheckbox','change:activeAnnotations','2234080hOUVeL','1030722WQZWrQ','innerView','menuBar:trackChanges','isEnabled','26839uuqMDW','36bFaOhC','pluginName','acceptSelectedSuggestions','refreshSelectedViews','_updateController','add','5040264NyNatu','comments.editorConfig','EditorAnnotations','menuitem','SuggestionView','_refreshActiveMarkers','discardAllSuggestions','length','escape','isMultiRange','arrowView','getJoined','acceptAllSuggestions','panelView','getAllAdjacentSuggestions','values','descriptionParts','value','SuggestionThreadView','button','getSuggestion','Accept\x20all\x20selected\x20suggestions','unbind','_initializeController','type','isOn','CommentView','registerAnnotation','commentsListView','discardSelectedSuggestions','menu','trackChanges.SuggestionThreadView','commands','_handleSuggestionControllerDelayed','Track\x20changes','Accept\x20all\x20suggestions','suggestionChanged','switchbutton','_handleControllerBuffer','size','descriptionFactory','view','227360TwinIA','Discard\x20all\x20selected\x20suggestions','requires','_disableComments','remove','getRanges','model','clear','isInContent','acceptButton','trackChanges.SuggestionView','getDescriptions','trackChanges'];_0x4fb7=function(){return _0x207a78;};return _0x4fb7();}import{getTranslation as _0x5e93b5}from'./utils/common-translations.js';import _0x9bade2 from'../theme/icons/track-changes.svg';export default class d extends _0x4683c8{static get[_0x19890f(0xac)](){const _0x4c686d=_0x19890f;return[_0x253311,_0x56980e,_0x4c686d(0x106),_0x4c686d(0xf0),_0x4c686d(0x119)];}static get[_0x19890f(0x112)](){const _0x4ed9d7=_0x19890f;return _0x4ed9d7(0xce);}constructor(_0x4b88f9){const _0x41a6c8=_0x19890f;super(_0x4b88f9),this[_0x41a6c8(0xb9)]=new Map(),this[_0x41a6c8(0xd9)]=new Map(),this[_0x41a6c8(0xf8)]=new Map(),this[_0x41a6c8(0xa6)]=new Map();const _0x250564=this[_0x41a6c8(0xda)][_0x41a6c8(0xc8)];_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0x9f),_0x292c05),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xb4),_0x391c88),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xcf),!0x1),this[_0x41a6c8(0xad)]=_0x250564[_0x41a6c8(0xc1)](_0x41a6c8(0xcf));}[_0x19890f(0xa1)](_0x3031a1,_0x499268){const _0x44b5c9=_0x19890f;0x0===this[_0x44b5c9(0xa6)][_0x44b5c9(0xa7)]&&setTimeout(()=>{const _0x20461e=_0x44b5c9;for(const [_0x43d081,_0x1ef369]of this[_0x20461e(0xa6)]){const _0x2e7262=this[_0x20461e(0xb9)][_0x20461e(0xe5)](_0x43d081);_0x2e7262||_0x1ef369?_0x2e7262&&_0x1ef369&&this[_0x20461e(0xd0)](_0x43d081):this[_0x20461e(0x12e)](_0x43d081);}this[_0x20461e(0xa6)][_0x20461e(0xb1)](),this[_0x20461e(0xda)][_0x20461e(0xf9)][_0x20461e(0xc1)](_0x20461e(0x119))[_0x20461e(0x114)](),this[_0x20461e(0x11c)]();},0xa),this[_0x44b5c9(0xa6)][_0x44b5c9(0xd5)](_0x3031a1,_0x499268);}[_0x19890f(0xca)](){const _0x9dcfd7=_0x19890f,_0x2a3b39=this[_0x9dcfd7(0xda)],_0x3b7b1e=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xc2)),_0x3bd509=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xf0)),_0x82cf97=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x119)),_0x5a4e9a=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x106));this[_0x9dcfd7(0xfb)](),_0x82cf97[_0x9dcfd7(0x107)](()=>{const _0x37e0d5=_0x9dcfd7,_0x1a1fc5=[];for(const [_0x17b78a,_0x667198]of Array[_0x37e0d5(0xdc)](this[_0x37e0d5(0xb9)])){const _0x167c4e=_0x17b78a[_0x37e0d5(0x125)](),_0x558646=[];for(const _0x3a189d of _0x167c4e){if(!_0x3a189d[_0x37e0d5(0xb2)])continue;if(_0x3a189d[_0x37e0d5(0x120)]){_0x558646[_0x37e0d5(0xdd)](..._0x3a189d[_0x37e0d5(0xaf)]());continue;}const _0x2b0dc5=_0x3a189d[_0x37e0d5(0xea)]();if(_0x558646[_0x37e0d5(0x11e)]>0x0){const _0x5d582b=_0x558646[0x0][_0x37e0d5(0x122)](_0x2b0dc5);if(_0x5d582b){_0x558646[0x0]=_0x5d582b;continue;}}_0x558646[_0x37e0d5(0xdd)](_0x2b0dc5);}_0x1a1fc5[_0x37e0d5(0xdd)]([_0x667198[_0x37e0d5(0xa9)],_0x558646]);}return _0x1a1fc5;}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0x104),(_0x301d44,_0xdc151a)=>{const _0x4cc359=_0x9dcfd7;this[_0x4cc359(0xbb)](_0xdc151a,_0x4cc359(0xe7),(_0x352015,_0x595b01,_0x655f20,_0xd61906)=>{const _0x393be9=_0x4cc359;_0xdc151a[_0x393be9(0xb2)]&&(null==_0x655f20?(this[_0x393be9(0x115)](_0xd61906[_0x393be9(0x103)]),this[_0x393be9(0xa1)](_0xdc151a,!0x1)):(this[_0x393be9(0x115)](_0x655f20[_0x393be9(0x103)]),null==_0xd61906&&this[_0x393be9(0xa1)](_0xdc151a,!0x0)));}),null!==_0xdc151a[_0x4cc359(0xec)]?this[_0x4cc359(0x115)](_0xdc151a[_0x4cc359(0x103)]):this[_0x4cc359(0xa1)](_0xdc151a,!0x1);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xc7),(_0x4eb68b,_0x3c1629,_0x5fae82)=>{const _0x4da065=_0x9dcfd7;this[_0x4da065(0xd1)](_0x3c1629,_0x4da065(0xe7)),this[_0x4da065(0xa6)][_0x4da065(0xd2)](_0x3c1629),this[_0x4da065(0xb9)][_0x4da065(0xe5)](_0x3c1629)&&this[_0x4da065(0xd0)](_0x3c1629),_0x5fae82&&this[_0x4da065(0x115)](_0x5fae82[_0x4da065(0x103)]);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xa4),(_0xe5b75f,_0x51b33d)=>{const _0x34bc77=_0x9dcfd7;this[_0x34bc77(0x115)](_0x51b33d);}),this[_0x9dcfd7(0xbb)](_0x3bd509,_0x9dcfd7(0x10a),()=>{const _0x539046=_0x9dcfd7;this[_0x539046(0x11c)]();}),this[_0x9dcfd7(0xbb)](_0x5a4e9a,_0x9dcfd7(0xee),(_0x187b8b,{threadId:_0x19ec0d,isFromAdapter:_0x3a6a1f})=>{const _0x197a94=_0x9dcfd7;if(_0x3a6a1f||!_0x3b7b1e[_0x197a94(0xf3)](_0x19ec0d))return;const _0x4bd946=_0x3b7b1e[_0x197a94(0x12b)](_0x19ec0d);this[_0x197a94(0xb9)][_0x197a94(0xc1)](_0x4bd946)[_0x197a94(0xa9)][_0x197a94(0x9c)][_0x197a94(0xe9)](-0x1);},{'priority':_0x9dcfd7(0xfe)});}[_0x19890f(0x11c)](){const _0x3e937f=_0x19890f,_0x3c1fa9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xf0)),_0x20cdd9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xc2)),_0x1227a4=Array[_0x3e937f(0xdc)](_0x3c1fa9[_0x3e937f(0xfa)],_0x58d15e=>_0x58d15e[_0x3e937f(0x10d)])[_0x3e937f(0xed)](_0x21352b=>this[_0x3e937f(0xd9)][_0x3e937f(0xe5)](_0x21352b)),_0x144e09=[];for(const _0x342fe6 of _0x1227a4){const _0x123380=this[_0x3e937f(0xd9)][_0x3e937f(0xc1)](_0x342fe6)[_0x3e937f(0xb0)][_0x3e937f(0x125)]();_0x144e09[_0x3e937f(0xdd)](..._0x123380[_0x3e937f(0xd3)]((_0x13807e,_0x5034d2)=>[..._0x13807e,..._0x5034d2[_0x3e937f(0x100)]()],[]));}_0x20cdd9[_0x3e937f(0x108)]=_0x144e09;}[_0x19890f(0xfb)](){const _0x5dbc35=_0x19890f,_0x14b133=this[_0x5dbc35(0xda)],_0x4da30b=_0x14b133[_0x5dbc35(0xc5)],_0x18686a=_0x5e93b5(_0x4da30b,_0x5dbc35(0xa2)),_0x1cf0fa=new _0x5a0d5c([{'type':_0x5dbc35(0xa5),'model':new _0x3ccb15({'withText':!0x0,'isToggleable':!0x0,'label':_0x18686a,'commandName':_0x5dbc35(0xb6),'role':_0x5dbc35(0x109)})},{'type':_0x5dbc35(0xe2)},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xa3)),'commandName':_0x5dbc35(0x123),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x12c)),'commandName':_0x5dbc35(0x113),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x102)),'commandName':_0x5dbc35(0x11d),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xab)),'commandName':_0x5dbc35(0x9d),'role':_0x5dbc35(0x11a)})}]);for(const _0x322cfc of _0x1cf0fa)if(me(_0x322cfc)){const _0xc2e5ea=_0x14b133[_0x5dbc35(0xa0)][_0x5dbc35(0xc1)](_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xc4)]);_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xe3)](_0x5dbc35(0x130),_0x5dbc35(0x10f))['to'](_0xc2e5ea,_0x5dbc35(0x128),_0x5dbc35(0x10f));}_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0xb6),_0xfde43b=>this[_0x5dbc35(0xf6)](_0xfde43b,_0x1cf0fa,_0x18686a)),_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0x10e),_0x359c6f=>this[_0x5dbc35(0xf5)](_0x359c6f,_0x1cf0fa,_0x18686a));}[_0x19890f(0xf6)](_0x1f4953,_0x1de260,_0x396e59){const _0xa7d9fa=_0x19890f,_0x527d70=_0x34d185(_0x1f4953,_0x5e71ca),_0x93163=this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0xa7d9fa(0xb6));_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xd5)]({'tooltip':_0x396e59,'label':_0x396e59,'icon':_0x9bade2}),_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x130))['to'](_0x93163,_0xa7d9fa(0x128)),_0x527d70[_0xa7d9fa(0x105)]['on'](_0xa7d9fa(0xff),()=>{const _0x57164c=_0xa7d9fa;_0x93163[_0x57164c(0xff)](),this[_0x57164c(0xda)][_0x57164c(0xef)][_0x57164c(0xa9)][_0x57164c(0xe9)]();}),_0x1f2bc9(_0x527d70,_0x1de260,{'role':_0xa7d9fa(0x9e)});const _0x312737=[];for(const _0x433fde of _0x1de260)me(_0x433fde)&&_0x312737[_0xa7d9fa(0xdd)](this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0x433fde[_0xa7d9fa(0xb0)][_0xa7d9fa(0xc4)]));const _0x427e9d=_0x527d70[_0xa7d9fa(0x105)];return _0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))['to'](_0x93163,_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))[_0xa7d9fa(0xe4)](_0x312737,_0xa7d9fa(0x10f),(..._0x21a602)=>_0x21a602[_0xa7d9fa(0xe0)](_0x5285b7=>_0x5285b7)),_0x527d70['on'](_0xa7d9fa(0xff),_0x1a34a2=>{const _0x2a2f6b=_0xa7d9fa;this[_0x2a2f6b(0xda)][_0x2a2f6b(0xff)](_0x1a34a2[_0x2a2f6b(0xcc)][_0x2a2f6b(0xc4)]),this[_0x2a2f6b(0xda)][_0x2a2f6b(0xef)][_0x2a2f6b(0xa9)][_0x2a2f6b(0xe9)]();}),_0x527d70;}[_0x19890f(0xf5)](_0x119e5e,_0x2acee6,_0x202501){const _0x1090d2=_0x19890f,_0x1efc52=new _0x1cde52(_0x119e5e),_0x5ed3d7=this[_0x1090d2(0xda)][_0x1090d2(0xa0)][_0x1090d2(0xc1)](_0x1090d2(0xb6));_0x1efc52[_0x1090d2(0x105)][_0x1090d2(0xd5)]({'label':_0x202501,'icon':_0x9bade2});const _0x46a100=new _0x1a866c(_0x119e5e);for(const _0x5142ca of _0x2acee6){if(_0x1090d2(0xe2)==_0x5142ca[_0x1090d2(0x12f)]){_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](new _0x30aaab(_0x119e5e));continue;}const _0x5e212d=new _0x39d015(_0x119e5e,_0x1efc52),_0x320102=new _0x11690e(_0x119e5e),_0x5ee812=_0x5142ca[_0x1090d2(0xb0)];_0x320102[_0x1090d2(0xe3)](...Object[_0x1090d2(0xcd)](_0x5ee812))['to'](_0x5ee812),_0x320102[_0x1090d2(0xf2)](_0x1090d2(0xff))['to'](_0x1efc52),_0x320102['on'](_0x1090d2(0xff),()=>{const _0x14a8af=_0x1090d2;this[_0x14a8af(0xda)][_0x14a8af(0xff)](_0x5ee812[_0x14a8af(0xc4)]),this[_0x14a8af(0xda)][_0x14a8af(0xef)][_0x14a8af(0xa9)][_0x14a8af(0xe9)]();}),_0x5e212d[_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x320102),_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](_0x5e212d);}return _0x1efc52[_0x1090d2(0xe3)](_0x1090d2(0x10f))['to'](_0x5ed3d7,_0x1090d2(0x10f)),_0x1efc52[_0x1090d2(0x124)][_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x46a100),_0x1efc52;}[_0x19890f(0x12e)](_0x47b7e9){const _0x3f54eb=_0x19890f,_0x7e2218=this[_0x3f54eb(0xda)],_0x225814=_0x7e2218[_0x3f54eb(0xc8)],_0x2ded5d=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xf0)),_0x551b5c=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x106)),_0xb2f396=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x119)),_0x2bb7cb=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x56980e)['me'],_0x16f16b=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x129)],_0x5bfb46=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x11b)],{CommentsListView:_0x5340aa,CommentThreadInputView:_0x3118c7}=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xe1));let _0x599fab,_0x5bc7ba,_0x35d187;this[_0x3f54eb(0xf8)][_0x3f54eb(0xe5)](_0x47b7e9['id'])?(_0x5bc7ba=this[_0x3f54eb(0xf8)][_0x3f54eb(0xc1)](_0x47b7e9['id']),_0x599fab=_0x5bc7ba[_0x3f54eb(0xbe)]):(_0x599fab=new _0x16f16b(_0x7e2218[_0x3f54eb(0xc5)],_0x47b7e9,_0x2bb7cb,{'disableComments':this[_0x3f54eb(0xad)],'editorConfig':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0x118)),'maxCommentsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xcb)),'maxThreadTotalWeight':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb8)),'maxCommentCharsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xfc)),'formatDateTime':_0x1330d3(_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc5))),'CommentView':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc0))[_0x3f54eb(0x131)],'CommentsListView':_0x5340aa,'CommentThreadInputView':_0x3118c7,'SuggestionView':_0x5bfb46}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xb3)]['on'](_0x3f54eb(0xff),()=>{const _0x5a5686=_0x3f54eb;_0x7e2218[_0x5a5686(0xef)][_0x5a5686(0xa9)][_0x5a5686(0xe9)]();}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xe6)]['on'](_0x3f54eb(0xff),()=>{const _0x230ee7=_0x3f54eb;_0x7e2218[_0x230ee7(0xef)][_0x230ee7(0xa9)][_0x230ee7(0xe9)]();}),_0x5bc7ba=_0x2ded5d[_0x3f54eb(0xd8)](this[_0x3f54eb(0xda)][_0x3f54eb(0xc5)],_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0xfd))['to'](_0x599fab,_0x3f54eb(0xfd)),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x11e))['to'](_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x12f))['to'](_0x599fab,_0x3f54eb(0x12f),_0x59ea7e=>_0x3f54eb(0xd6)+_0x59ea7e),_0x599fab['on'](_0x3f54eb(0x11f),()=>{const _0x119501=_0x3f54eb;_0x35d187[_0x119501(0xbd)](_0x119501(0x11f));}),this[_0x3f54eb(0xf8)][_0x3f54eb(0xd5)](_0x47b7e9['id'],_0x5bc7ba));const _0x5ceda9=_0x551b5c[_0x3f54eb(0xdb)](_0x47b7e9[_0x3f54eb(0xf4)],_0x599fab),_0x393219=new _0x211873(_0x7e2218,_0x47b7e9,_0x599fab,_0x5ceda9),_0x199d89=_0x47b7e9[_0x3f54eb(0x125)]()[_0x3f54eb(0xed)](_0x40e24a=>_0x40e24a[_0x3f54eb(0xb2)]);_0x599fab[_0x3f54eb(0x127)]=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xc2))[_0x3f54eb(0xa8)][_0x3f54eb(0xb5)](_0x199d89),this[_0x3f54eb(0xb9)][_0x3f54eb(0xd5)](_0x47b7e9,_0x393219),this[_0x3f54eb(0xd9)][_0x3f54eb(0xd5)](_0x599fab,_0x393219),_0x35d187=_0x2ded5d[_0x3f54eb(0xc9)]({'view':_0x5bc7ba,'target':()=>{const _0x8a2236=_0x3f54eb,_0x26f2a1=[],_0x52f3d7=_0x47b7e9[_0x8a2236(0x125)]()[_0x8a2236(0xed)](_0x4f4a22=>_0x4f4a22[_0x8a2236(0xb2)]);for(const _0x55c254 of _0x52f3d7)_0x26f2a1[_0x8a2236(0xdd)](..._0x55c254[_0x8a2236(0xc6)]());return _0x4ef3ec(_0x7e2218[_0x8a2236(0xef)],_0x26f2a1);},'type':()=>_0x3f54eb(0xd6)+_0x393219[_0x3f54eb(0xa9)][_0x3f54eb(0x12f)]}),_0x551b5c[_0x3f54eb(0xe8)](_0x599fab,_0x35d187),_0x2ded5d[_0x3f54eb(0x116)](_0x35d187),_0xb2f396[_0x3f54eb(0x132)](_0x35d187);}[_0x19890f(0xd0)](_0x275af2){const _0xdbf9f3=_0x19890f,_0x336c2a=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0x106)),_0x2c577c=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0xf0)),_0x38c0ae=this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xc1)](_0x275af2),_0x31c8f5=_0x38c0ae[_0xdbf9f3(0xa9)],_0x5dbe23=_0x2c577c[_0xdbf9f3(0xd7)](_0x31c8f5);_0x336c2a[_0xdbf9f3(0xf7)](_0x31c8f5),_0x5dbe23&&_0x2c577c[_0xdbf9f3(0xae)](_0x5dbe23),this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xd2)](_0x275af2),this[_0xdbf9f3(0xd9)][_0xdbf9f3(0xd2)](_0x31c8f5),_0x38c0ae[_0xdbf9f3(0xeb)]();}[_0x19890f(0x115)](_0x268ec0){const _0x127747=_0x19890f;if(!_0x268ec0[_0x127747(0xb2)]||!this[_0x127747(0xb9)][_0x127747(0xe5)](_0x268ec0))return;const _0x2b6fa5=this[_0x127747(0xda)][_0x127747(0xf9)][_0x127747(0xc1)](_0x127747(0xc2)),_0x50c11b=this[_0x127747(0xb9)][_0x127747(0xc1)](_0x268ec0),_0x46a9ff=_0x268ec0[_0x127747(0x125)]();_0x50c11b[_0x127747(0xa9)][_0x127747(0x127)]=_0x2b6fa5[_0x127747(0xa8)][_0x127747(0xb5)](_0x46a9ff);}[_0x19890f(0xeb)](){const _0x52524e=_0x19890f;for(const _0x3bef02 of this[_0x52524e(0xb9)][_0x52524e(0xcd)]())this[_0x52524e(0xd0)](_0x3bef02);for(const _0x3f0277 of this[_0x52524e(0xf8)][_0x52524e(0x126)]())_0x3f0277[_0x52524e(0xbe)][_0x52524e(0xeb)]();super[_0x52524e(0xeb)]();}}function _0x53f4(_0x283179,_0x3aeb71){const _0x4fb7c0=_0x4fb7();return _0x53f4=function(_0x53f45a,_0x133582){_0x53f45a=_0x53f45a-0x9c;let _0x4b80fe=_0x4fb7c0[_0x53f45a];return _0x4b80fe;},_0x53f4(_0x283179,_0x3aeb71);}function me(_0x44bb87){const _0x5bfc54=_0x19890f;return _0x5bfc54(0xb0)in _0x44bb87;}
|
|
23
|
+
const _0x5aa1a7=_0x5610;(function(_0x16a0f2,_0x1c71b0){const _0x39feb0=_0x5610,_0x2a3ec0=_0x16a0f2();while(!![]){try{const _0x34d89f=parseInt(_0x39feb0(0x12e))/0x1+-parseInt(_0x39feb0(0xfb))/0x2*(parseInt(_0x39feb0(0xbb))/0x3)+parseInt(_0x39feb0(0x128))/0x4+parseInt(_0x39feb0(0xf9))/0x5*(-parseInt(_0x39feb0(0x129))/0x6)+-parseInt(_0x39feb0(0x137))/0x7+-parseInt(_0x39feb0(0x11c))/0x8*(parseInt(_0x39feb0(0x10e))/0x9)+parseInt(_0x39feb0(0x106))/0xa*(parseInt(_0x39feb0(0x12d))/0xb);if(_0x34d89f===_0x1c71b0)break;else _0x2a3ec0['push'](_0x2a3ec0['shift']());}catch(_0x3e7c8d){_0x2a3ec0['push'](_0x2a3ec0['shift']());}}}(_0x6d0f,0xc4b18));import{Plugin as _0x5d3368}from'ckeditor5/src/core.js';import{Collection as _0x9ff072}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2c77bc,createDropdown as _0x570094,ListSeparatorView as _0x22fc40,MenuBarMenuView as _0x404575,MenuBarMenuListView as _0x52a4c9,MenuBarMenuListItemView as _0x91e104,MenuBarMenuListItemButtonView as _0x215337,SplitButtonView as _0x3b98a8,ViewModel as _0x13fd9f}from'ckeditor5/src/ui.js';import{Users as _0x2de89e,getDateTimeFormatter as _0x181744,getAllMarkersDomElementsSorted as _0x1bae6b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xed189 from'./trackchangesediting.js';import _0x3d635f from'./ui/suggestioncontroller.js';import _0x4941da from'./ui/view/suggestionthreadview.js';import _0x578d2b from'./ui/view/suggestionview.js';function _0x6d0f(){const _0x6d851b=['_bindAnnotationToEditors','3ZjVFRx','innerView','descriptionFactory','addComment','suggestionView','fire','from','activeAnnotations','buttonView','suggestion-','bind','arrowView','registerAnnotation','some','createAnnotationView','acceptSelectedSuggestions','reduce','Discard\x20all\x20suggestions','model','escape','filter','value','getAllAdjacentSuggestions','execute','addSourceCollector','componentFactory','actionView','CommentView','CommentsRepository','trackChanges.SuggestionView','comments.editorConfig','getDescriptions','_updateController','change:previous','head','menuitem','comments.maxThreadTotalWeight','_destroyController','getFirstRange','trackChanges','delegate','menuBar:trackChanges','requires','Track\x20changes','suggestionUnloaded','toMany','SuggestionThreadView','editing','TrackChangesEditing','mainView','get','remove','has','_disableComments','define','commandName','keys','delete','comments','view','CommentsUI','menuitemcheckbox','5pHllRO','destroy','2920374cUErag','Annotations','panelView','getByInnerView','isEnabled','trackChanges.disableComments','isInContent','source','activeMarkers','getSuggestion','values','13917080MyddAo','push','type','comments.maxCommentsWhenCollapsed','getMarkerNames','_annotationViews','lowest','_viewToController','5473053QpUtWQ','_unbindEditors','createCommentThreadController','_createToolbarButton','commentThread','menu','_refreshActiveMarkers','acceptButton','pluginName','TrackChangesUI','discardAllSuggestions','createAnnotation','commands','items','8vwSMjU','set','getMarkers','isOn','trackChanges.SuggestionThreadView','isMultiRange','_addUIComponentsToFactory','unbind','init','switchbutton','EditorAnnotations','discardSelectedSuggestions','5495292XSoGmH','4198032rDlxGG','SuggestionView','config','add','22vvbAYU','945079hCYRUf','plugins','children','suggestionLoaded','getRanges','suggestionChanged','clear','isDirty','stopListening','10700802XFHWFW','editor','_createMenuBarMenu','comments.maxCommentCharsWhenCollapsed','discardButton','_handleSuggestionControllerDelayed','button','change:activeAnnotations','refreshSelectedViews','size','descriptionParts','getJoined','Accept\x20all\x20suggestions','listenTo','Accept\x20all\x20selected\x20suggestions','previous','_suggestionToController','focus','acceptAllSuggestions','_initializeController','commentsListView','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','separator','locale','length','hasSuggestion'];_0x6d0f=function(){return _0x6d851b;};return _0x6d0f();}import{getTranslation as _0x4bcea6}from'./utils/common-translations.js';function _0x5610(_0xb2c899,_0x272fe5){const _0x6d0f35=_0x6d0f();return _0x5610=function(_0x561051,_0x4648e7){_0x561051=_0x561051-0xb9;let _0x1b0f0e=_0x6d0f35[_0x561051];return _0x1b0f0e;},_0x5610(_0xb2c899,_0x272fe5);}import _0x15d1bc from'../theme/icons/track-changes.svg';export default class d extends _0x5d3368{static get[_0x5aa1a7(0xe5)](){const _0x2aedbb=_0x5aa1a7;return[_0xed189,_0x2de89e,_0x2aedbb(0xd7),_0x2aedbb(0xfc),_0x2aedbb(0x126)];}static get[_0x5aa1a7(0x116)](){const _0x344365=_0x5aa1a7;return _0x344365(0x117);}constructor(_0x2bca29){const _0x31d79e=_0x5aa1a7;super(_0x2bca29),this[_0x31d79e(0x147)]=new Map(),this[_0x31d79e(0x10d)]=new Map(),this[_0x31d79e(0x10b)]=new Map(),this[_0x31d79e(0x14d)]=new Map();const _0xff623e=this[_0x31d79e(0x138)][_0x31d79e(0x12b)];_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0x120),_0x4941da),_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0xd8),_0x578d2b),_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0x100),!0x1),this[_0x31d79e(0xf0)]=_0xff623e[_0x31d79e(0xed)](_0x31d79e(0x100));}[_0x5aa1a7(0x13c)](_0x366920,_0x53b5ec){const _0x492b59=_0x5aa1a7;0x0===this[_0x492b59(0x14d)][_0x492b59(0x140)]&&setTimeout(()=>{const _0xcd27d9=_0x492b59;for(const [_0x48755b,_0x30607f]of this[_0xcd27d9(0x14d)]){const _0x26e84e=this[_0xcd27d9(0x147)][_0xcd27d9(0xef)](_0x48755b);_0x26e84e||_0x30607f?_0x26e84e&&_0x30607f&&this[_0xcd27d9(0xe0)](_0x48755b):this[_0xcd27d9(0x14a)](_0x48755b);}this[_0xcd27d9(0x14d)][_0xcd27d9(0x134)](),this[_0xcd27d9(0x138)][_0xcd27d9(0x12f)][_0xcd27d9(0xed)](_0xcd27d9(0x126))[_0xcd27d9(0x13f)](),this[_0xcd27d9(0x114)]();},0xa),this[_0x492b59(0x14d)][_0x492b59(0x11d)](_0x366920,_0x53b5ec);}[_0x5aa1a7(0x124)](){const _0xa8fcd=_0x5aa1a7,_0x4cb620=this[_0xa8fcd(0x138)],_0x5f51bd=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xeb)),_0x4b0e9a=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xfc)),_0x45ffa9=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0x126)),_0x53ecde=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xd7));this[_0xa8fcd(0x122)](),_0x45ffa9[_0xa8fcd(0xd3)](()=>{const _0x4f44ed=_0xa8fcd,_0x25878e=[];for(const [_0x359e2c,_0x4bead2]of Array[_0x4f44ed(0xc1)](this[_0x4f44ed(0x147)])){const _0x515001=_0x359e2c[_0x4f44ed(0xd1)](),_0x41e6cd=[];for(const _0x1f6d5a of _0x515001){if(!_0x1f6d5a[_0x4f44ed(0x101)])continue;if(_0x1f6d5a[_0x4f44ed(0x121)]){_0x41e6cd[_0x4f44ed(0x107)](..._0x1f6d5a[_0x4f44ed(0x132)]());continue;}const _0x1f4522=_0x1f6d5a[_0x4f44ed(0xe1)]();if(_0x41e6cd[_0x4f44ed(0x150)]>0x0){const _0x2fa9eb=_0x41e6cd[0x0][_0x4f44ed(0x142)](_0x1f4522);if(_0x2fa9eb){_0x41e6cd[0x0]=_0x2fa9eb;continue;}}_0x41e6cd[_0x4f44ed(0x107)](_0x1f4522);}_0x25878e[_0x4f44ed(0x107)]([_0x4bead2[_0x4f44ed(0xf6)],_0x41e6cd]);}return _0x25878e;}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0x131),(_0x4e959d,_0x524ba7)=>{const _0xebd69b=_0xa8fcd;this[_0xebd69b(0x144)](_0x524ba7,_0xebd69b(0xdc),(_0x13c7af,_0x56d558,_0x544bee,_0x15a9d7)=>{const _0x2f63f4=_0xebd69b;_0x524ba7[_0x2f63f4(0x101)]&&(null==_0x544bee?(this[_0x2f63f4(0xdb)](_0x15a9d7[_0x2f63f4(0xdd)]),this[_0x2f63f4(0x13c)](_0x524ba7,!0x1)):(this[_0x2f63f4(0xdb)](_0x544bee[_0x2f63f4(0xdd)]),null==_0x15a9d7&&this[_0x2f63f4(0x13c)](_0x524ba7,!0x0)));}),null!==_0x524ba7[_0xebd69b(0x146)]?this[_0xebd69b(0xdb)](_0x524ba7[_0xebd69b(0xdd)]):this[_0xebd69b(0x13c)](_0x524ba7,!0x1);}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0xe7),(_0x2295d6,_0x3b90ef,_0x26eab5)=>{const _0x4cc560=_0xa8fcd;this[_0x4cc560(0x136)](_0x3b90ef,_0x4cc560(0xdc)),this[_0x4cc560(0x14d)][_0x4cc560(0xf4)](_0x3b90ef),this[_0x4cc560(0x147)][_0x4cc560(0xef)](_0x3b90ef)&&this[_0x4cc560(0xe0)](_0x3b90ef),_0x26eab5&&this[_0x4cc560(0xdb)](_0x26eab5[_0x4cc560(0xdd)]);}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0x133),(_0x259217,_0x2e0db1)=>{const _0x4e5ecb=_0xa8fcd;this[_0x4e5ecb(0xdb)](_0x2e0db1);}),this[_0xa8fcd(0x144)](_0x4b0e9a,_0xa8fcd(0x13e),()=>{const _0x3d8835=_0xa8fcd;this[_0x3d8835(0x114)]();}),this[_0xa8fcd(0x144)](_0x53ecde,_0xa8fcd(0xbe),(_0x18c254,{threadId:_0x4ac7cf,isFromAdapter:_0x20542c})=>{const _0x22ab86=_0xa8fcd;if(_0x20542c||!_0x5f51bd[_0x22ab86(0xb9)](_0x4ac7cf))return;const _0x22c1c4=_0x5f51bd[_0x22ab86(0x104)](_0x4ac7cf);this[_0x22ab86(0x147)][_0x22ab86(0xed)](_0x22c1c4)[_0x22ab86(0xf6)][_0x22ab86(0x14b)][_0x22ab86(0x148)](-0x1);},{'priority':_0xa8fcd(0x10c)});}[_0x5aa1a7(0x114)](){const _0x4490f4=_0x5aa1a7,_0x230108=this[_0x4490f4(0x138)][_0x4490f4(0x12f)][_0x4490f4(0xed)](_0x4490f4(0xfc)),_0x4f343e=this[_0x4490f4(0x138)][_0x4490f4(0x12f)][_0x4490f4(0xed)](_0x4490f4(0xeb)),_0x57ff56=Array[_0x4490f4(0xc1)](_0x230108[_0x4490f4(0xc2)],_0x57d80a=>_0x57d80a[_0x4490f4(0xbc)])[_0x4490f4(0xcf)](_0x3c4f7c=>this[_0x4490f4(0x10d)][_0x4490f4(0xef)](_0x3c4f7c)),_0x3a0290=[];for(const _0x3274f2 of _0x57ff56){const _0x32369e=this[_0x4490f4(0x10d)][_0x4490f4(0xed)](_0x3274f2)[_0x4490f4(0xcd)][_0x4490f4(0xd1)]();_0x3a0290[_0x4490f4(0x107)](..._0x32369e[_0x4490f4(0xcb)]((_0x387d29,_0x2c733a)=>[..._0x387d29,..._0x2c733a[_0x4490f4(0x10a)]()],[]));}_0x4f343e[_0x4490f4(0x103)]=_0x3a0290;}[_0x5aa1a7(0x122)](){const _0x52aaa9=_0x5aa1a7,_0x3f6c39=this[_0x52aaa9(0x138)],_0x348cd5=_0x3f6c39[_0x52aaa9(0x14f)],_0x3caaf7=_0x4bcea6(_0x348cd5,_0x52aaa9(0xe6)),_0x2af80c=new _0x9ff072([{'type':_0x52aaa9(0x125),'model':new _0x13fd9f({'withText':!0x0,'isToggleable':!0x0,'label':_0x3caaf7,'commandName':_0x52aaa9(0xe2),'role':_0x52aaa9(0xf8)})},{'type':_0x52aaa9(0x14e)},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x143)),'commandName':_0x52aaa9(0x149),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x145)),'commandName':_0x52aaa9(0xca),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0xcc)),'commandName':_0x52aaa9(0x118),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x14c)),'commandName':_0x52aaa9(0x127),'role':_0x52aaa9(0xde)})}]);for(const _0x27342c of _0x2af80c)if(me(_0x27342c)){const _0x4d1da4=_0x3f6c39[_0x52aaa9(0x11a)][_0x52aaa9(0xed)](_0x27342c[_0x52aaa9(0xcd)][_0x52aaa9(0xf2)]);_0x27342c[_0x52aaa9(0xcd)][_0x52aaa9(0xc5)](_0x52aaa9(0x11f),_0x52aaa9(0xff))['to'](_0x4d1da4,_0x52aaa9(0xd0),_0x52aaa9(0xff));}_0x3f6c39['ui'][_0x52aaa9(0xd4)][_0x52aaa9(0x12c)](_0x52aaa9(0xe2),_0x47b16d=>this[_0x52aaa9(0x111)](_0x47b16d,_0x2af80c,_0x3caaf7)),_0x3f6c39['ui'][_0x52aaa9(0xd4)][_0x52aaa9(0x12c)](_0x52aaa9(0xe4),_0x34c534=>this[_0x52aaa9(0x139)](_0x34c534,_0x2af80c,_0x3caaf7));}[_0x5aa1a7(0x111)](_0x49c668,_0x5f3ed7,_0x15201c){const _0x2221ec=_0x5aa1a7,_0x1b13bd=_0x570094(_0x49c668,_0x3b98a8),_0x10495a=this[_0x2221ec(0x138)][_0x2221ec(0x11a)][_0x2221ec(0xed)](_0x2221ec(0xe2));_0x1b13bd[_0x2221ec(0xc3)][_0x2221ec(0x11d)]({'tooltip':_0x15201c,'label':_0x15201c,'icon':_0x15d1bc}),_0x1b13bd[_0x2221ec(0xc3)][_0x2221ec(0xc5)](_0x2221ec(0x11f))['to'](_0x10495a,_0x2221ec(0xd0)),_0x1b13bd[_0x2221ec(0xc3)]['on'](_0x2221ec(0xd2),()=>{const _0xab2ee5=_0x2221ec;_0x10495a[_0xab2ee5(0xd2)](),this[_0xab2ee5(0x138)][_0xab2ee5(0xea)][_0xab2ee5(0xf6)][_0xab2ee5(0x148)]();}),_0x2c77bc(_0x1b13bd,_0x5f3ed7,{'role':_0x2221ec(0x113)});const _0x1b5e24=[];for(const _0x942c46 of _0x5f3ed7)me(_0x942c46)&&_0x1b5e24[_0x2221ec(0x107)](this[_0x2221ec(0x138)][_0x2221ec(0x11a)][_0x2221ec(0xed)](_0x942c46[_0x2221ec(0xcd)][_0x2221ec(0xf2)]));const _0x6aa8dd=_0x1b13bd[_0x2221ec(0xc3)];return _0x6aa8dd[_0x2221ec(0xd5)][_0x2221ec(0x123)](_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xc6)][_0x2221ec(0x123)](_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xd5)][_0x2221ec(0xc5)](_0x2221ec(0xff))['to'](_0x10495a,_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xc6)][_0x2221ec(0xc5)](_0x2221ec(0xff))[_0x2221ec(0xe8)](_0x1b5e24,_0x2221ec(0xff),(..._0x5289be)=>_0x5289be[_0x2221ec(0xc8)](_0x4ac8a6=>_0x4ac8a6)),_0x1b13bd['on'](_0x2221ec(0xd2),_0x4ffac7=>{const _0x2956b3=_0x2221ec;this[_0x2956b3(0x138)][_0x2956b3(0xd2)](_0x4ffac7[_0x2956b3(0x102)][_0x2956b3(0xf2)]),this[_0x2956b3(0x138)][_0x2956b3(0xea)][_0x2956b3(0xf6)][_0x2956b3(0x148)]();}),_0x1b13bd;}[_0x5aa1a7(0x139)](_0x1447dd,_0x47e9a3,_0x27d166){const _0x4a27c0=_0x5aa1a7,_0x331863=new _0x404575(_0x1447dd),_0x5067af=this[_0x4a27c0(0x138)][_0x4a27c0(0x11a)][_0x4a27c0(0xed)](_0x4a27c0(0xe2));_0x331863[_0x4a27c0(0xc3)][_0x4a27c0(0x11d)]({'label':_0x27d166,'icon':_0x15d1bc});const _0x34276c=new _0x52a4c9(_0x1447dd);for(const _0x29874f of _0x47e9a3){if(_0x4a27c0(0x14e)==_0x29874f[_0x4a27c0(0x108)]){_0x34276c[_0x4a27c0(0x11b)][_0x4a27c0(0x12c)](new _0x22fc40(_0x1447dd));continue;}const _0x35e6a3=new _0x91e104(_0x1447dd,_0x331863),_0x8fa51=new _0x215337(_0x1447dd),_0xd362b7=_0x29874f[_0x4a27c0(0xcd)];_0x8fa51[_0x4a27c0(0xc5)](...Object[_0x4a27c0(0xf3)](_0xd362b7))['to'](_0xd362b7),_0x8fa51[_0x4a27c0(0xe3)](_0x4a27c0(0xd2))['to'](_0x331863),_0x8fa51['on'](_0x4a27c0(0xd2),()=>{const _0x1ec94c=_0x4a27c0;this[_0x1ec94c(0x138)][_0x1ec94c(0xd2)](_0xd362b7[_0x1ec94c(0xf2)]),this[_0x1ec94c(0x138)][_0x1ec94c(0xea)][_0x1ec94c(0xf6)][_0x1ec94c(0x148)]();}),_0x35e6a3[_0x4a27c0(0x130)][_0x4a27c0(0x12c)](_0x8fa51),_0x34276c[_0x4a27c0(0x11b)][_0x4a27c0(0x12c)](_0x35e6a3);}return _0x331863[_0x4a27c0(0xc5)](_0x4a27c0(0xff))['to'](_0x5067af,_0x4a27c0(0xff)),_0x331863[_0x4a27c0(0xfd)][_0x4a27c0(0x130)][_0x4a27c0(0x12c)](_0x34276c),_0x331863;}[_0x5aa1a7(0x14a)](_0x5e47e0){const _0x5e8414=_0x5aa1a7,_0x3a1fc0=this[_0x5e8414(0x138)],_0x203523=_0x3a1fc0[_0x5e8414(0x12b)],_0x24ba41=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xfc)),_0xfa6641=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xd7)),_0xbf0a80=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0x126)),_0xb6ef5d=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x2de89e)['me'],_0x481d82=_0x203523[_0x5e8414(0xed)](_0x5e8414(0xe2))[_0x5e8414(0xe9)],_0x17bc59=_0x203523[_0x5e8414(0xed)](_0x5e8414(0xe2))[_0x5e8414(0x12a)],{CommentsListView:_0x40602b,CommentThreadInputView:_0x1b6bc5}=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xf7));let _0x27a7ef,_0x5ef95b,_0xa1844a;this[_0x5e8414(0x10b)][_0x5e8414(0xef)](_0x5e47e0['id'])?(_0x5ef95b=this[_0x5e8414(0x10b)][_0x5e8414(0xed)](_0x5e47e0['id']),_0x27a7ef=_0x5ef95b[_0x5e8414(0xec)]):(_0x27a7ef=new _0x481d82(_0x3a1fc0[_0x5e8414(0x14f)],_0x5e47e0,_0xb6ef5d,{'disableComments':this[_0x5e8414(0xf0)],'editorConfig':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xd9)),'maxCommentsWhenCollapsed':_0x203523[_0x5e8414(0xed)](_0x5e8414(0x109)),'maxThreadTotalWeight':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xdf)),'maxCommentCharsWhenCollapsed':_0x203523[_0x5e8414(0xed)](_0x5e8414(0x13a)),'formatDateTime':_0x181744(_0x203523[_0x5e8414(0xed)](_0x5e8414(0x14f))),'CommentView':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xf5))[_0x5e8414(0xd6)],'CommentsListView':_0x40602b,'CommentThreadInputView':_0x1b6bc5,'SuggestionView':_0x17bc59}),_0x27a7ef[_0x5e8414(0xbf)][_0x5e8414(0x115)]['on'](_0x5e8414(0xd2),()=>{const _0x41111c=_0x5e8414;_0x3a1fc0[_0x41111c(0xea)][_0x41111c(0xf6)][_0x41111c(0x148)]();}),_0x27a7ef[_0x5e8414(0xbf)][_0x5e8414(0x13b)]['on'](_0x5e8414(0xd2),()=>{const _0x3e2566=_0x5e8414;_0x3a1fc0[_0x3e2566(0xea)][_0x3e2566(0xf6)][_0x3e2566(0x148)]();}),_0x5ef95b=_0x24ba41[_0x5e8414(0xc9)](this[_0x5e8414(0x138)][_0x5e8414(0x14f)],_0x27a7ef),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x135))['to'](_0x27a7ef,_0x5e8414(0x135)),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x150))['to'](_0x27a7ef),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x108))['to'](_0x27a7ef,_0x5e8414(0x108),_0x3d1109=>_0x5e8414(0xc4)+_0x3d1109),_0x27a7ef['on'](_0x5e8414(0xce),()=>{const _0x45d6b2=_0x5e8414;_0xa1844a[_0x45d6b2(0xc0)](_0x45d6b2(0xce));}),this[_0x5e8414(0x10b)][_0x5e8414(0x11d)](_0x5e47e0['id'],_0x5ef95b));const _0x1c65aa=_0xfa6641[_0x5e8414(0x110)](_0x5e47e0[_0x5e8414(0x112)],_0x27a7ef),_0xc29245=new _0x3d635f(_0x3a1fc0,_0x5e47e0,_0x27a7ef,_0x1c65aa),_0x44c774=_0x5e47e0[_0x5e8414(0xd1)]()[_0x5e8414(0xcf)](_0x3ac40d=>_0x3ac40d[_0x5e8414(0x101)]);_0x27a7ef[_0x5e8414(0x141)]=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xeb))[_0x5e8414(0xbd)][_0x5e8414(0xda)](_0x44c774),this[_0x5e8414(0x147)][_0x5e8414(0x11d)](_0x5e47e0,_0xc29245),this[_0x5e8414(0x10d)][_0x5e8414(0x11d)](_0x27a7ef,_0xc29245),_0xa1844a=_0x24ba41[_0x5e8414(0x119)]({'view':_0x5ef95b,'target':()=>{const _0x34bb4f=_0x5e8414,_0x7df022=[],_0x2e136c=_0x5e47e0[_0x34bb4f(0xd1)]()[_0x34bb4f(0xcf)](_0xedd147=>_0xedd147[_0x34bb4f(0x101)]);for(const _0x5b0c51 of _0x2e136c)_0x7df022[_0x34bb4f(0x107)](..._0x5b0c51[_0x34bb4f(0x11e)]());return _0x1bae6b(_0x3a1fc0[_0x34bb4f(0xea)],_0x7df022);},'type':()=>_0x5e8414(0xc4)+_0xc29245[_0x5e8414(0xf6)][_0x5e8414(0x108)]}),_0xfa6641[_0x5e8414(0xba)](_0x27a7ef,_0xa1844a),_0x24ba41[_0x5e8414(0x12c)](_0xa1844a),_0xbf0a80[_0x5e8414(0xc7)](_0xa1844a);}[_0x5aa1a7(0xe0)](_0x333c9a){const _0x46bcfe=_0x5aa1a7,_0x25d745=this[_0x46bcfe(0x138)][_0x46bcfe(0x12f)][_0x46bcfe(0xed)](_0x46bcfe(0xd7)),_0x24e45b=this[_0x46bcfe(0x138)][_0x46bcfe(0x12f)][_0x46bcfe(0xed)](_0x46bcfe(0xfc)),_0x1ef5fe=this[_0x46bcfe(0x147)][_0x46bcfe(0xed)](_0x333c9a),_0x46e4dd=_0x1ef5fe[_0x46bcfe(0xf6)],_0x288c70=_0x24e45b[_0x46bcfe(0xfe)](_0x46e4dd);_0x25d745[_0x46bcfe(0x10f)](_0x46e4dd),_0x288c70&&_0x24e45b[_0x46bcfe(0xee)](_0x288c70),this[_0x46bcfe(0x147)][_0x46bcfe(0xf4)](_0x333c9a),this[_0x46bcfe(0x10d)][_0x46bcfe(0xf4)](_0x46e4dd),_0x1ef5fe[_0x46bcfe(0xfa)]();}[_0x5aa1a7(0xdb)](_0x36e1c0){const _0x217291=_0x5aa1a7;if(!_0x36e1c0[_0x217291(0x101)]||!this[_0x217291(0x147)][_0x217291(0xef)](_0x36e1c0))return;const _0x52e67a=this[_0x217291(0x138)][_0x217291(0x12f)][_0x217291(0xed)](_0x217291(0xeb)),_0x4ae7d7=this[_0x217291(0x147)][_0x217291(0xed)](_0x36e1c0),_0x4e651b=_0x36e1c0[_0x217291(0xd1)]();_0x4ae7d7[_0x217291(0xf6)][_0x217291(0x141)]=_0x52e67a[_0x217291(0xbd)][_0x217291(0xda)](_0x4e651b);}[_0x5aa1a7(0xfa)](){const _0x4f31a4=_0x5aa1a7;for(const _0x4f9e49 of this[_0x4f31a4(0x147)][_0x4f31a4(0xf3)]())this[_0x4f31a4(0xe0)](_0x4f9e49);for(const _0x1cb74f of this[_0x4f31a4(0x10b)][_0x4f31a4(0x105)]())_0x1cb74f[_0x4f31a4(0xec)][_0x4f31a4(0xfa)]();super[_0x4f31a4(0xfa)]();}}function me(_0x5b7930){const _0x538fd8=_0x5aa1a7;return _0x538fd8(0xcd)in _0x5b7930;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x108a62=_0x190f;function _0x2a8d(){const _0x42d3ea=['view','574928MgvIFU','_removePendingAction','change:isDirty','plugins','add','locale','18pXVgiC','canDiscard','_editor','getRanges','remove','PendingActions','1ixyNRw','1295200fRNJuO','355872wIFyXY','get','_discardCommand','_setPendingAction','stopListening','execute','isEnabled','unbind','694946hctsHd','commands','model','discardSuggestion','_pendingAction','canAccept','acceptSuggestion','listenTo','bind','destroy','isDirty','554694FHvGDA','924400rMZZLR','canEditAt','8544960GAgTWb','PENDING_ACTION_SUGGESTION','commentThreadController','_acceptCommand'];_0x2a8d=function(){return _0x42d3ea;};return _0x2a8d();}(function(_0x390a54,_0x2f5ab5){const _0x4c0f57=_0x190f,_0x4d1ec5=_0x390a54();while(!![]){try{const _0x4d7083=-parseInt(_0x4c0f57(0x1d3))/0x1*(parseInt(_0x4c0f57(0x1c7))/0x2)+-parseInt(_0x4c0f57(0x1bf))/0x3+-parseInt(_0x4c0f57(0x1c0))/0x4+-parseInt(_0x4c0f57(0x1d4))/0x5+parseInt(_0x4c0f57(0x1cd))/0x6*(parseInt(_0x4c0f57(0x1b4))/0x7)+-parseInt(_0x4c0f57(0x1d5))/0x8+parseInt(_0x4c0f57(0x1c2))/0x9;if(_0x4d7083===_0x2f5ab5)break;else _0x4d1ec5['push'](_0x4d1ec5['shift']());}catch(_0x537329){_0x4d1ec5['push'](_0x4d1ec5['shift']());}}}(_0x2a8d,0x3aaa0));function _0x190f(_0x2848f5,_0x11cae8){const _0x2a8de3=_0x2a8d();return _0x190f=function(_0x190f21,_0x159c08){_0x190f21=_0x190f21-0x1ad;let _0x2df4d1=_0x2a8de3[_0x190f21];return _0x2df4d1;},_0x190f(_0x2848f5,_0x11cae8);}import{ObservableMixin as _0x48cd75}from'ckeditor5/src/utils.js';import{getTranslation as _0x2bb538}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48cd75(){constructor(_0xdfb287,_0x116dbd,_0x55d21c,_0x29d0df){const _0xc01139=_0x190f;super(),this[_0xc01139(0x1b6)]=_0x116dbd,this[_0xc01139(0x1c6)]=_0x55d21c,this[_0xc01139(0x1c4)]=_0x29d0df,this[_0xc01139(0x1cf)]=_0xdfb287,this[_0xc01139(0x1c5)]=_0xdfb287[_0xc01139(0x1b5)][_0xc01139(0x1ad)](_0xc01139(0x1ba)),this[_0xc01139(0x1ae)]=_0xdfb287[_0xc01139(0x1b5)][_0xc01139(0x1ad)](_0xc01139(0x1b7)),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1b2))['to'](this[_0xc01139(0x1c5)],this[_0xc01139(0x1ae)],(_0x3f4c42,_0x4269c5)=>_0x3f4c42||_0x4269c5),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1b9))['to'](this[_0xc01139(0x1c5)],_0xc01139(0x1b2),_0xad6060=>_0xad6060&&this[_0xc01139(0x1cf)][_0xc01139(0x1b6)][_0xc01139(0x1c1)](_0x116dbd[_0xc01139(0x1d0)]())),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1ce))['to'](this[_0xc01139(0x1ae)],_0xc01139(0x1b2),_0xb42560=>_0xb42560&&this[_0xc01139(0x1cf)][_0xc01139(0x1b6)][_0xc01139(0x1c1)](_0x116dbd[_0xc01139(0x1d0)]())),this[_0xc01139(0x1b8)]=null,_0x55d21c[_0xc01139(0x1be)]&&this[_0xc01139(0x1af)](),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1ba),()=>this[_0xc01139(0x1ba)]()),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1b7),()=>this[_0xc01139(0x1b7)]()),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1c9),()=>{const _0xdbaca1=_0xc01139;_0x55d21c[_0xdbaca1(0x1be)]?this[_0xdbaca1(0x1af)]():this[_0xdbaca1(0x1c8)]();});}[_0x108a62(0x1ba)](){const _0x2f2b2a=_0x108a62;this[_0x2f2b2a(0x1c5)][_0x2f2b2a(0x1b1)](this[_0x2f2b2a(0x1b6)]['id']);}[_0x108a62(0x1b7)](){const _0x1cd884=_0x108a62;this[_0x1cd884(0x1ae)][_0x1cd884(0x1b1)](this[_0x1cd884(0x1b6)]['id']);}[_0x108a62(0x1bd)](){const _0x394cf8=_0x108a62;this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1b2)),this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1b9)),this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1ce)),this[_0x394cf8(0x1b0)](),this[_0x394cf8(0x1c4)][_0x394cf8(0x1bd)](),this[_0x394cf8(0x1b8)]&&this[_0x394cf8(0x1c8)]();}[_0x108a62(0x1af)](){const _0x86066a=_0x108a62,_0x1d8f8a=_0x2bb538(this[_0x86066a(0x1cf)][_0x86066a(0x1cc)],_0x86066a(0x1c3));this[_0x86066a(0x1b8)]=this[_0x86066a(0x1cf)][_0x86066a(0x1ca)][_0x86066a(0x1ad)](_0x86066a(0x1d2))[_0x86066a(0x1cb)](_0x1d8f8a);}[_0x108a62(0x1c8)](){const _0x5b2bfb=_0x108a62;null!==this[_0x5b2bfb(0x1b8)]&&this[_0x5b2bfb(0x1cf)][_0x5b2bfb(0x1ca)][_0x5b2bfb(0x1ad)](_0x5b2bfb(0x1d2))[_0x5b2bfb(0x1d1)](this[_0x5b2bfb(0x1b8)]),this[_0x5b2bfb(0x1b8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c533c=_0x456b;(function(_0x89c848,_0x43e4aa){const _0x3005d7=_0x456b,_0x20e9cf=_0x89c848();while(!![]){try{const _0x423c15=-parseInt(_0x3005d7(0xec))/0x1+parseInt(_0x3005d7(0xdf))/0x2+parseInt(_0x3005d7(0xf1))/0x3*(parseInt(_0x3005d7(0xf6))/0x4)+parseInt(_0x3005d7(0xf9))/0x5*(-parseInt(_0x3005d7(0xda))/0x6)+-parseInt(_0x3005d7(0xfe))/0x7+parseInt(_0x3005d7(0xe5))/0x8*(parseInt(_0x3005d7(0x106))/0x9)+parseInt(_0x3005d7(0x108))/0xa;if(_0x423c15===_0x43e4aa)break;else _0x20e9cf['push'](_0x20e9cf['shift']());}catch(_0x292606){_0x20e9cf['push'](_0x20e9cf['shift']());}}}(_0x3e68,0x76d1a));import{FocusCycler as _0x4ed125,View as _0x28ec72,ViewCollection as _0x4a6ad1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31c024,KeystrokeHandler as _0x5a000c}from'ckeditor5/src/utils.js';function _0x456b(_0x11e5e2,_0x1149c6){const _0x3e6841=_0x3e68();return _0x456b=function(_0x456bd0,_0xc9f359){_0x456bd0=_0x456bd0-0xcd;let _0x486278=_0x3e6841[_0x456bd0];return _0x486278;},_0x456b(_0x11e5e2,_0x1149c6);}import{AriaDescriptionView as _0x559b96,setupThreadKeyboardNavigation as _0x578da5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x18d6e2}from'../../utils/common-translations.js';function _0x3e68(){const _0x4086f6=['editor','join','set','isReadOnly','6769903SLtvyF','editorConfig','_createCommentViews','authoredAt','CommentView','descriptionParts','keystrokes','removeComment','9bljtsR','hasDirtyComment','3206980wOMyCG','disabledSubmit','element','commentsListView','canDiscard','_createCommentThreadInputView','render','focus','cancel','bind','content','textContent','target','updateComment','ariaDescriptionView','fire','author','assign','shift+tab','_localUser','focusables','parseFromString','map','isActive','isDirty','submit','_config','5652258rJHCpY','isEnabled','focusCycler','commentThreadInputView','body','1789068wIqSSb','showInput','tab','focusTracker','commentThread','addComment','5804992qoPhcr','commentInputView','length','disableComments','text/html','canAccept','formatDateTime','35460vTuBZr','SUGGESTION_THREAD_DESCRIPTION','setData','delegate','_model','9ohjRvT','value','name','SUGGESTION_THREAD_ARIA_LABEL','destroy','653944KwiELM','ariaLabel','locale','5rfALjz'];_0x3e68=function(){return _0x4086f6;};return _0x3e68();}import{renderDescription as _0x4f1758}from'../../utils/utils.js';export default class us extends _0x28ec72{constructor(_0x7929db,_0x582b16,_0x39328a,_0x256f1d){const _0x3573a9=_0x456b;super(_0x7929db),this[_0x3573a9(0x10b)]=null,this[_0x3573a9(0xdd)]=null,this[_0x3573a9(0xcd)]=new _0x559b96(_0x7929db,_0x18d6e2(_0x7929db,_0x3573a9(0xed))),this[_0x3573a9(0xfc)](_0x3573a9(0xd6),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0x101),_0x582b16[_0x3573a9(0x101)]),this[_0x3573a9(0x111)](_0x3573a9(0x101))['to'](_0x582b16),this[_0x3573a9(0xfc)](_0x3573a9(0x103),[]),this[_0x3573a9(0xfc)](_0x3573a9(0xd7),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0xdb),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0xea),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0x10c),!0x1),this[_0x3573a9(0x111)](_0x3573a9(0xf7))['to'](this,_0x3573a9(0xe7),_0x582b16,_0x3573a9(0x101),this,_0x3573a9(0x103),(_0x3c1751,_0x1af197,_0x3bdd2)=>{const _0x48dc97=_0x3573a9,_0x7cc204=_0x3bdd2[_0x48dc97(0xd5)](_0x3272e3=>_0x4f1758(_0x3272e3[_0x48dc97(0x112)]))[_0x48dc97(0xfb)]('.\x20')+'.';return _0x18d6e2(this[_0x48dc97(0xf8)],_0x48dc97(0xf4),[_0x3c1751-0x1,_0x582b16[_0x48dc97(0xcf)][_0x48dc97(0xf3)],_0x1af197?_0x256f1d[_0x48dc97(0xeb)](_0x1af197):'',new DOMParser()[_0x48dc97(0xd4)](_0x7cc204,_0x48dc97(0xe9))[_0x48dc97(0xde)][_0x48dc97(0x113)]]);}),this[_0x3573a9(0xd3)]=new _0x4a6ad1(),this[_0x3573a9(0xe2)]=new _0x31c024(),this[_0x3573a9(0x104)]=new _0x5a000c(),this[_0x3573a9(0xdc)]=new _0x4ed125({'focusables':this[_0x3573a9(0xd3)],'focusTracker':this[_0x3573a9(0xe2)],'keystrokeHandler':this[_0x3573a9(0x104)],'keystrokeHandlerOptions':{'filter':_0x15ff72=>_0x15ff72[_0x3573a9(0x114)]!==this[_0x3573a9(0x10a)]},'actions':{'focusPrevious':_0x3573a9(0xd1),'focusNext':_0x3573a9(0xe1)}}),this[_0x3573a9(0xf0)]=_0x582b16,this[_0x3573a9(0xd2)]=_0x39328a,this[_0x3573a9(0xd9)]=_0x256f1d,_0x256f1d[_0x3573a9(0xe8)]?this[_0x3573a9(0xfc)](_0x3573a9(0xe7),0x1):this[_0x3573a9(0x100)]();}[_0x5c533c(0x10e)](){const _0x5ba318=_0x5c533c;super[_0x5ba318(0x10e)](),_0x578da5(this,this[_0x5ba318(0xd3)]);}[_0x5c533c(0x10f)](){const _0x192dc2=_0x5c533c;this[_0x192dc2(0x10a)][_0x192dc2(0x10f)]();}[_0x5c533c(0xf5)](){const _0x16fc2a=_0x5c533c;this[_0x16fc2a(0x10b)]&&this[_0x16fc2a(0x10b)][_0x16fc2a(0xf5)](),this[_0x16fc2a(0xdd)]&&this[_0x16fc2a(0xdd)][_0x16fc2a(0xf5)](),super[_0x16fc2a(0xf5)]();}[_0x5c533c(0x100)](){const _0xaabf22=_0x5c533c,{CommentsListView:_0x6f8d18}=this[_0xaabf22(0xd9)];this[_0xaabf22(0x10b)]=new _0x6f8d18(this[_0xaabf22(0xf8)],this[_0xaabf22(0xf0)][_0xaabf22(0xe3)],Object[_0xaabf22(0xd0)]({'CommentView':this[_0xaabf22(0xd9)][_0xaabf22(0x102)]},this[_0xaabf22(0xd9)])),this[_0xaabf22(0x10b)][_0xaabf22(0xef)](_0xaabf22(0x105))['to'](this),this[_0xaabf22(0x10b)][_0xaabf22(0xef)](_0xaabf22(0x115))['to'](this),this[_0xaabf22(0x10b)][_0xaabf22(0x111)](_0xaabf22(0xd6))['to'](this),this[_0xaabf22(0xfc)](_0xaabf22(0xe7),this[_0xaabf22(0x10b)][_0xaabf22(0xe7)]+0x1),this[_0xaabf22(0x111)](_0xaabf22(0xe7))['to'](this[_0xaabf22(0x10b)],_0xaabf22(0xe7),_0x10ad83=>_0x10ad83+0x1),this[_0xaabf22(0xdd)]=this[_0xaabf22(0x10d)](),this['on'](_0xaabf22(0x105),()=>this[_0xaabf22(0x10f)]()),this[_0xaabf22(0x111)](_0xaabf22(0xd7))['to'](this[_0xaabf22(0x10b)],_0xaabf22(0x107),this[_0xaabf22(0xdd)][_0xaabf22(0xe6)],_0xaabf22(0xf2),(_0xe873f1,_0x520136)=>_0xe873f1||!!_0x520136);}[_0x5c533c(0x10d)](){const _0x374171=_0x5c533c,{CommentThreadInputView:_0x15a2ca}=this[_0x374171(0xd9)],_0x33bb6a=new _0x15a2ca(this[_0x374171(0xf8)],this[_0x374171(0xd2)],this[_0x374171(0xd9)][_0x374171(0xff)]),_0x478220=_0x33bb6a[_0x374171(0xe6)];return _0x33bb6a[_0x374171(0x111)](_0x374171(0xe0))['to'](this,_0x374171(0xd6),this[_0x374171(0xf0)][_0x374171(0xe3)],_0x374171(0xfd),_0x478220,_0x374171(0xf2),(_0x5b8bb0,_0x249744,_0x20e12d)=>!!_0x20e12d||_0x5b8bb0&&!_0x249744),_0x478220['on'](_0x374171(0xd8),(_0x23b4dc,_0x4aee0b)=>{const _0x50d2dc=_0x374171;this[_0x50d2dc(0xce)](_0x50d2dc(0xe4),_0x4aee0b),_0x478220[_0x50d2dc(0xfa)][_0x50d2dc(0xee)]('');}),_0x478220['on'](_0x374171(0x110),()=>this[_0x374171(0x10f)]()),_0x478220[_0x374171(0x111)](_0x374171(0x109))['to'](this[_0x374171(0xf0)][_0x374171(0xe3)],_0x374171(0xfd)),_0x33bb6a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33aeff=_0x5672;(function(_0x31f85a,_0x5b787b){const _0xc14173=_0x5672,_0x4e8b9b=_0x31f85a();while(!![]){try{const _0x6cc3bb=parseInt(_0xc14173(0x1d8))/0x1*(-parseInt(_0xc14173(0x1ab))/0x2)+-parseInt(_0xc14173(0x1af))/0x3*(parseInt(_0xc14173(0x1c2))/0x4)+-parseInt(_0xc14173(0x1de))/0x5+parseInt(_0xc14173(0x1b3))/0x6*(-parseInt(_0xc14173(0x1da))/0x7)+-parseInt(_0xc14173(0x1df))/0x8+-parseInt(_0xc14173(0x1be))/0x9+parseInt(_0xc14173(0x1cc))/0xa;if(_0x6cc3bb===_0x5b787b)break;else _0x4e8b9b['push'](_0x4e8b9b['shift']());}catch(_0x75fe74){_0x4e8b9b['push'](_0x4e8b9b['shift']());}}}(_0x3cf8,0xc4a57));function _0x5672(_0x4a39d1,_0x1206e7){const _0x3cf854=_0x3cf8();return _0x5672=function(_0x567270,_0x445489){_0x567270=_0x567270-0x1a8;let _0x4a3322=_0x3cf854[_0x567270];return _0x4a3322;},_0x5672(_0x4a39d1,_0x1206e7);}import{default as _0x1a0bf3}from'./basesuggestionthreadview.js';import{trimHtml as _0x521d3c}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x15c518}from'../../utils/utils.js';function _0x3cf8(){const _0x328915=['descriptionParts','_descriptionElement','disableComments','discardButton','add','suggestionView','51223810JxccnP','ariaDescriptionView','set','bindTemplate','commentThread','type','canDiscard','div','discardSuggestion','ariaLabel','_config','focusables','894951WQVOPM','bind','7uJJsPT','commentThreadInputView','ck-rounded-corners','formatDateTime','4903870BNYBCS','8138144OBEHQN','_model','delegate','</p>','push','2TMCdVL','color','editorReady','acceptSuggestion','9903dkuSQU','author','ck-suggestion-wrapper--active','ck-suggestion-','1863006DOzAbp','getTemplate','isEnabled','acceptButton','setTemplate','ck-suggestion--disabled-comments','commentsListView','description','content','<p>','isActive','9010710cqwwpb','render','editorDestroyed','ck-suggestion-wrapper','136cmLLHj','SuggestionView','listitem','canAccept'];_0x3cf8=function(){return _0x328915;};return _0x3cf8();}export default class re extends _0x1a0bf3{constructor(_0x33a1c9,_0x2a2aa5,_0xd4574e,_0xee2f3e){const _0x1ad059=_0x5672;super(_0x33a1c9,_0x2a2aa5,_0xd4574e,_0xee2f3e),this[_0x1ad059(0x1ce)](_0x1ad059(0x1d1),''),this[_0x1ad059(0x1d9)](_0x1ad059(0x1d1))['to'](this,_0x1ad059(0x1c6),_0x37855a=>_0x37855a&&_0x37855a[0x0]?_0x37855a[0x0][_0x1ad059(0x1d1)]:''),this[_0x1ad059(0x1d9)](_0x1ad059(0x1ba))['to'](this,_0x1ad059(0x1c6),this,_0x1ad059(0x1bd),(_0x53413e,_0x33cbac)=>{const _0x1b897f=_0x1ad059;let _0x3e56ee='';for(const _0x197254 of _0x53413e)_0x3e56ee+=_0x1b897f(0x1bc)+_0x15c518(_0x197254[_0x1b897f(0x1bb)],_0x197254[_0x1b897f(0x1ac)])+_0x1b897f(0x1a9);return _0x33cbac?_0x3e56ee:_0x521d3c(_0x3e56ee,{'limit':0x8c});}),this[_0x1ad059(0x1c7)]=null,this[_0x1ad059(0x1cb)]=new _0xee2f3e[(_0x1ad059(0x1c3))](_0x33a1c9,_0x2a2aa5,{'formatDateTime':_0xee2f3e[_0x1ad059(0x1dd)]}),this[_0x1ad059(0x1cb)][_0x1ad059(0x1d9)](_0x1ad059(0x1ba))['to'](this),this[_0x1ad059(0x1cb)][_0x1ad059(0x1a8)](_0x1ad059(0x1ae),_0x1ad059(0x1d4))['to'](this),this[_0x1ad059(0x1cb)][_0x1ad059(0x1b6)][_0x1ad059(0x1d9)](_0x1ad059(0x1b5))['to'](this,_0x1ad059(0x1c5)),this[_0x1ad059(0x1cb)][_0x1ad059(0x1c9)][_0x1ad059(0x1d9)](_0x1ad059(0x1b5))['to'](this,_0x1ad059(0x1d2)),this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1cb)]),this[_0x1ad059(0x1b9)]&&this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1b9)]),this[_0x1ad059(0x1db)]&&this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1db)]),this[_0x1ad059(0x1b7)](this[_0x1ad059(0x1b4)]());}[_0x33aeff(0x1b4)](){const _0x4ee5e3=_0x33aeff,_0x4e544d=this[_0x4ee5e3(0x1cf)],_0x176fe7=[this[_0x4ee5e3(0x1cb)]];return this[_0x4ee5e3(0x1b9)]&&_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1b9)]),this[_0x4ee5e3(0x1db)]&&_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1db)]),_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1cd)]),{'tag':_0x4ee5e3(0x1d3),'attributes':{'class':['ck',_0x4ee5e3(0x1dc),_0x4ee5e3(0x1c1),_0x4e544d['if'](_0x4ee5e3(0x1bd),_0x4ee5e3(0x1b1)),_0x4e544d['to'](_0x4ee5e3(0x1d1),_0xaa8dc7=>_0x4ee5e3(0x1b2)+_0xaa8dc7),this[_0x4ee5e3(0x1d6)][_0x4ee5e3(0x1c8)]&&_0x4ee5e3(0x1b8)],'data-suggestion-id':this[_0x4ee5e3(0x1e0)]['id'],'data-thread-id':this[_0x4ee5e3(0x1e0)][_0x4ee5e3(0x1d0)]['id'],'data-author-id':this[_0x4ee5e3(0x1e0)][_0x4ee5e3(0x1b0)]['id'],'tabindex':0x0,'role':_0x4ee5e3(0x1c4),'aria-label':_0x4e544d['to'](_0x4ee5e3(0x1d5)),'aria-describedby':this[_0x4ee5e3(0x1cd)]['id']},'children':_0x176fe7};}[_0x33aeff(0x1bf)](){const _0x7cf2a8=_0x33aeff;super[_0x7cf2a8(0x1bf)](),this[_0x7cf2a8(0x1b9)]&&(this[_0x7cf2a8(0x1b9)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1ad))['to'](this),this[_0x7cf2a8(0x1b9)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1c0))['to'](this)),this[_0x7cf2a8(0x1db)]&&(this[_0x7cf2a8(0x1db)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1ad))['to'](this),this[_0x7cf2a8(0x1db)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1c0))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd96a10=_0x552f;(function(_0x154f24,_0x558691){const _0x148ed7=_0x552f,_0x4b270f=_0x154f24();while(!![]){try{const _0x567664=-parseInt(_0x148ed7(0x92))/0x1+-parseInt(_0x148ed7(0xa4))/0x2*(parseInt(_0x148ed7(0xa1))/0x3)+-parseInt(_0x148ed7(0xa2))/0x4*(parseInt(_0x148ed7(0x85))/0x5)+parseInt(_0x148ed7(0x9a))/0x6+parseInt(_0x148ed7(0x96))/0x7*(parseInt(_0x148ed7(0x9d))/0x8)+parseInt(_0x148ed7(0xbf))/0x9+-parseInt(_0x148ed7(0x9e))/0xa*(-parseInt(_0x148ed7(0xb3))/0xb);if(_0x567664===_0x558691)break;else _0x4b270f['push'](_0x4b270f['shift']());}catch(_0x2a6a7a){_0x4b270f['push'](_0x4b270f['shift']());}}}(_0x4213,0xc3f8d));function _0x552f(_0x55188b,_0x8c01ee){const _0x421392=_0x4213();return _0x552f=function(_0x552f0e,_0x12a3a5){_0x552f0e=_0x552f0e-0x6d;let _0x1e4413=_0x421392[_0x552f0e];return _0x1e4413;},_0x552f(_0x55188b,_0x8c01ee);}import{FocusTracker as _0x3070c6,KeystrokeHandler as _0x554752}from'ckeditor5/src/utils.js';import{View as _0x2aeee1,ViewCollection as _0x8a98d6,FocusCycler as _0x461659}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x32f6f1,UserView as _0x110542}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4213(){const _0x2704a8=['ck-suggestion__main','2973680VLRqZw','discardSuggestion','getUserViewNotificationText','source','focusCycler','_createButton','change:description','ck-suggestion','shift+tab','set','setTemplate','element','innerHTML','1413366fqKjhL','ck-suggestion--accept','isExternal','description','7ERDiLE','userView','ck-suggestion__info-name','_setupKeyboardNavigation','9620784behwPv','div','EXTERNAL_AVATAR','11920920Jzvqnt','10dMUcZe','span','EXTERNAL_SUGGESTION','3wBJzRI','8oMBKtY','querySelector','2320726ETMfmU','ck-suggestion__info','ck-annotation__actions','_config','bind','presentation','cancel','check','focus','listenTo','getTemplate','ck-annotation','render','ck-annotation__main','focusTracker','667007oLoPzw','ck-annotation__info-name','@external','.ck-annotation__content-wrapper','ck-suggestion--discard','acceptSuggestion','push','fire','enter','focusFirst','esc','author','12705174nZvoGC','bindTemplate','importWord','time','acceptButton','ck-suggestion__user','ck-annotation__info-time','ck-annotation__content-wrapper','execute','discardButton','Discard\x20suggestion','Accept\x20suggestion','ck-suggestion__actions','attributes','_model','ck-annotation__user','extendTemplate','formatDateTime','keystrokes','getExternalSuggestionNote','creator','tab','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__external','focusables','authoredAt','target','ck-comment__info-time','ck-annotation__info','locale','add','EXTERNAL_IMPORT_WORD_SUGGESTION','name'];_0x4213=function(){return _0x2704a8;};return _0x4213();}import{icons as _0x1a2f50}from'ckeditor5/src/core.js';import{getTranslation as _0x48652d}from'../../utils/common-translations.js';export default class ce extends _0x2aeee1{constructor(_0xd23db3,_0x2b1fe5,_0x398799){const _0x4e49af=_0x552f;super(_0xd23db3),this[_0x4e49af(0x71)]=_0x2b1fe5,this[_0x4e49af(0xa7)]=_0x398799,this[_0x4e49af(0x8e)](_0x4e49af(0x95),''),this[_0x4e49af(0xa8)](_0x4e49af(0x7c))['to'](_0x2b1fe5),this[_0x4e49af(0xc3)]=this[_0x4e49af(0x8a)](_0x48652d(_0xd23db3,_0x4e49af(0x6e)),_0x1a2f50[_0x4e49af(0xab)],_0x4e49af(0x93),_0x4e49af(0xb8),'sw'),this[_0x4e49af(0xc8)]=this[_0x4e49af(0x8a)](_0x48652d(_0xd23db3,_0x4e49af(0x6d)),_0x1a2f50[_0x4e49af(0xaa)],_0x4e49af(0xb7),_0x4e49af(0x86),'sw'),this[_0x4e49af(0x97)]=new _0x110542(_0xd23db3,_0x2b1fe5[_0x4e49af(0xbe)],this[_0x4e49af(0x87)]()),this[_0x4e49af(0x97)][_0x4e49af(0x73)]({'attributes':{'class':[_0x4e49af(0xc4),_0x4e49af(0x72)],'aria-hidden':!0x0}}),this[_0x4e49af(0x7b)]=new _0x8a98d6([this[_0x4e49af(0xc3)],this[_0x4e49af(0xc8)]]),this[_0x4e49af(0xb2)]=new _0x3070c6(),this[_0x4e49af(0x75)]=new _0x554752(),this[_0x4e49af(0x89)]=new _0x461659({'focusables':this[_0x4e49af(0x7b)],'focusTracker':this[_0x4e49af(0xb2)],'keystrokeHandler':this[_0x4e49af(0x75)],'actions':{'focusPrevious':_0x4e49af(0x8d),'focusNext':_0x4e49af(0x78)},'keystrokeHandlerOptions':{'filter':_0x506b4c=>_0x506b4c[_0x4e49af(0x7d)]!==this[_0x4e49af(0x90)]}}),this[_0x4e49af(0x8f)](this[_0x4e49af(0xae)]());}[_0xd96a10(0xb0)](){const _0x529f87=_0xd96a10;super[_0x529f87(0xb0)]();const _0x669c2=this[_0x529f87(0x90)][_0x529f87(0xa3)](_0x529f87(0xb6));_0x669c2[_0x529f87(0x91)]=this[_0x529f87(0x95)],this['on'](_0x529f87(0x8b),(_0x308b0a,_0x4630ee,_0x15e435)=>{const _0x28f59f=_0x529f87;_0x669c2[_0x28f59f(0x91)]=_0x15e435;}),this[_0x529f87(0x99)]();}[_0xd96a10(0xae)](){const _0x581285=_0xd96a10,_0x15d8c2=this[_0x581285(0xc0)],_0x5f301e=[{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0xa5),_0x581285(0x7f)]},'children':[{'tag':_0x581285(0x9f),'children':[{'text':this[_0x581285(0x97)][_0x581285(0x83)]}],'attributes':{'class':[_0x581285(0x98),_0x581285(0xb4)]}},{'tag':_0x581285(0xc2),'attributes':{'datetime':_0x15d8c2['to'](_0x581285(0x7c)),'class':[_0x581285(0x7e),_0x581285(0xc5)]},'children':[{'text':_0x15d8c2['to'](_0x581285(0x7c),_0x3ea68d=>this[_0x581285(0xa7)][_0x581285(0x74)](_0x3ea68d))}]}]},{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x6f),_0x581285(0xa6)]},'children':[this[_0x581285(0xc3)],this[_0x581285(0xc8)]]},{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0xc6)]}}];return this[_0x581285(0x71)][_0x581285(0x94)]&&_0x5f301e[_0x581285(0xb9)]({'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x7a)]},'children':[{'text':this[_0x581285(0x76)]()}]}),{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x8c),_0x581285(0xaf)],'tabindex':-0x1},'children':[this[_0x581285(0x97)],{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x84),_0x581285(0xb1)],'role':_0x581285(0xa9)},'children':_0x5f301e}]};}[_0xd96a10(0xac)](){const _0x4d8eea=_0xd96a10;this[_0x4d8eea(0x90)][_0x4d8eea(0xac)]();}[_0xd96a10(0x87)](){const _0x158be0=_0xd96a10;return this[_0x158be0(0x71)][_0x158be0(0x94)]?_0x158be0(0xc1)===this[_0x158be0(0x71)][_0x158be0(0x70)][_0x158be0(0xb5)][_0x158be0(0x88)]?_0x48652d(this[_0x158be0(0x80)],_0x158be0(0x79),this[_0x158be0(0x71)][_0x158be0(0x77)][_0x158be0(0x83)]):_0x48652d(this[_0x158be0(0x80)],_0x158be0(0x9c),this[_0x158be0(0x71)][_0x158be0(0x77)][_0x158be0(0x83)]):null;}[_0xd96a10(0x76)](){const _0x5b4ed3=_0xd96a10;return _0x5b4ed3(0xc1)===this[_0x5b4ed3(0x71)][_0x5b4ed3(0x70)][_0x5b4ed3(0xb5)][_0x5b4ed3(0x88)]?_0x48652d(this[_0x5b4ed3(0x80)],_0x5b4ed3(0x82)):_0x48652d(this[_0x5b4ed3(0x80)],_0x5b4ed3(0xa0));}[_0xd96a10(0x8a)](_0x285790,_0xce3493,_0xe49070,_0x500583,_0x5078ea){const _0x25cf53=_0xd96a10,_0x4c962b=new _0x32f6f1(this[_0x25cf53(0x80)]);return _0x4c962b[_0x25cf53(0x8e)]({'label':_0x285790,'icon':_0xce3493,'tooltip':!0x0,'tooltipPosition':_0x5078ea}),_0x4c962b[_0x25cf53(0x73)]({'attributes':{'class':_0xe49070}}),_0x4c962b['on'](_0x25cf53(0xc7),()=>{const _0x507dd3=_0x25cf53;this[_0x507dd3(0xba)](_0x500583,this[_0x507dd3(0x71)]['id']);}),_0x4c962b;}[_0xd96a10(0x99)](){const _0x233900=_0xd96a10,_0x5e3ea0=this[_0x233900(0x90)];this[_0x233900(0x75)][_0x233900(0xad)](_0x5e3ea0);for(const _0x7d784c of this[_0x233900(0x7b)])this[_0x233900(0xb2)][_0x233900(0x81)](_0x7d784c[_0x233900(0x90)]),this[_0x233900(0x75)][_0x233900(0xad)](_0x7d784c[_0x233900(0x90)]);this[_0x233900(0x75)][_0x233900(0x8e)](_0x233900(0xbb),(_0x6fcbd8,_0x51f192)=>{const _0x130346=_0x233900;_0x5e3ea0===_0x6fcbd8[_0x130346(0x7d)]&&(this[_0x130346(0x89)][_0x130346(0xbc)](),_0x51f192());}),this[_0x233900(0x75)][_0x233900(0x8e)](_0x233900(0xbd),(_0x3e5da3,_0x50d14d)=>{const _0x1e5862=_0x233900;_0x5e3ea0!==_0x3e5da3[_0x1e5862(0x7d)]&&(this[_0x1e5862(0xac)](),_0x50d14d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x116d3e,_0x585dd3,_0x261a09){const t=_0x116d3e['t'];switch(_0x585dd3){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',_0x261a09);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x261a09);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x261a09);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x261a09);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x261a09);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',_0x261a09);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x261a09);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',_0x261a09);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x261a09);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x261a09);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x261a09);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x261a09);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x261a09);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x261a09);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x261a09);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x261a09);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x261a09);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x261a09);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x261a09);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x261a09);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x261a09);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x261a09);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x261a09);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'},_0x261a09);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x261a09);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x261a09);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x261a09);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x261a09);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x261a09);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'},_0x261a09);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x261a09);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x261a09);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x261a09);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x261a09);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'},_0x261a09);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x261a09);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x261a09);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'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x261a09);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'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x585dd3;}}
|
|
23
|
+
export function getTranslation(_0x2f653f,_0xfbc494,_0x3c1c7c){const t=_0x2f653f['t'];switch(_0xfbc494){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',_0x3c1c7c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3c1c7c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3c1c7c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3c1c7c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3c1c7c);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',_0x3c1c7c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3c1c7c);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',_0x3c1c7c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3c1c7c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3c1c7c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3c1c7c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3c1c7c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3c1c7c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3c1c7c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3c1c7c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3c1c7c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3c1c7c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3c1c7c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3c1c7c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3c1c7c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3c1c7c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3c1c7c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3c1c7c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3c1c7c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3c1c7c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3c1c7c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xfbc494;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x59829c,_0x532e88){const _0x18a809=_0x319e,_0x584c46=_0x59829c();while(!![]){try{const _0x344ec4=-parseInt(_0x18a809(0x19a))/0x1+parseInt(_0x18a809(0x1b3))/0x2*(parseInt(_0x18a809(0x1ad))/0x3)+-parseInt(_0x18a809(0x1ab))/0x4*(-parseInt(_0x18a809(0x18b))/0x5)+-parseInt(_0x18a809(0x18d))/0x6*(-parseInt(_0x18a809(0x1aa))/0x7)+-parseInt(_0x18a809(0x1af))/0x8+-parseInt(_0x18a809(0x194))/0x9+parseInt(_0x18a809(0x18f))/0xa;if(_0x344ec4===_0x532e88)break;else _0x584c46['push'](_0x584c46['shift']());}catch(_0x137319){_0x584c46['push'](_0x584c46['shift']());}}}(_0x59c8,0x26d68));export function normalizeDescription(_0x2fcafb){const _0x561a6a=_0x319e;return Array[_0x561a6a(0x18a)](_0x2fcafb)||(_0x2fcafb=[_0x2fcafb]),_0x2fcafb[_0x561a6a(0x19b)](_0x4ec74d=>{const _0x4df143=_0x561a6a,_0x155104=_0x4ec74d[_0x4df143(0x181)][_0x4df143(0x19f)](/\*/g,''),_0x3196c8=_0x4ec74d[_0x4df143(0x186)]?_0x4df143(0x1b1)+_0x4ec74d[_0x4df143(0x186)][_0x4df143(0x198)]+']':'';return'['+_0x4ec74d[_0x4df143(0x1ac)]+']\x20'+_0x155104+_0x3196c8;})[_0x561a6a(0x1a9)](';\x20');}function _0x319e(_0x5dd104,_0x9ae41){const _0x59c8e1=_0x59c8();return _0x319e=function(_0x319e4b,_0x1266bc){_0x319e4b=_0x319e4b-0x181;let _0x1e8358=_0x59c8e1[_0x319e4b];return _0x1e8358;},_0x319e(_0x5dd104,_0x9ae41);}export function renderDescription(_0x6ebd68,_0x66a535){const _0x4d3560=_0x319e;let _0x18a807='';return _0x18a807+=_0x6ebd68[_0x4d3560(0x196)]('*')[_0x4d3560(0x19b)]((_0x57fd05,_0x224820)=>_0x224820%0x2!=0x0?_0x4d3560(0x192)+nn(_0x57fd05)+_0x4d3560(0x1b4):nn(_0x57fd05))[_0x4d3560(0x1a9)](''),_0x66a535&&(_0x18a807+=_0x4d3560(0x1b2)+_0x66a535[_0x4d3560(0x198)]+_0x4d3560(0x1ae)+_0x66a535[_0x4d3560(0x185)]+_0x4d3560(0x1a3)),_0x18a807;}function nn(_0x5d2549){const _0x19fa32=_0x319e,_0x1180f6=document[_0x19fa32(0x18c)](_0x19fa32(0x18e));return _0x1180f6[_0x19fa32(0x195)]=_0x5d2549,_0x1180f6[_0x19fa32(0x193)];}export function sortSuggestions(_0x3f1990){const _0x56eaae=_0x319e;return _0x3f1990[_0x56eaae(0x183)]((_0x359cd0,_0x44434c)=>_0x56eaae(0x197)==_0x359cd0[_0x56eaae(0x1ac)]&&_0x56eaae(0x197)!=_0x44434c[_0x56eaae(0x1ac)]?-0x1:_0x56eaae(0x197)!=_0x359cd0[_0x56eaae(0x1ac)]&&_0x56eaae(0x197)==_0x44434c[_0x56eaae(0x1ac)]?0x1:0x0);}function _0x59c8(){const _0x34aa07=['start','length','\x22></span>','createPositionAt','isMultiRange','getRanges','change','isInContent','join','315287VBjUzZ','40jrRMQL','type','279vpggyz','\x22\x20title=\x22','2265776fWJMBu','isIntersecting','\x20[color\x20','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','6070ptUGrl','</span>','add','createPositionBefore','content','schema','sort','push','title','color','from','splice','createPositionAfter','isArray','34455TyYfpu','createElement','18QzewIs','span','1568950xhBjEN','execute','isTouching','<span\x20class=\x22ck-suggestion-type\x22>','innerHTML','1265166mANTrm','innerText','split','deletion','value','isObject','60307WANRMX','map','isCollapsed','createRange','end','replace','next'];_0x59c8=function(){return _0x34aa07;};return _0x59c8();}export function getSelectedSuggestions(_0xf7db68,_0x13dc1e){const _0x18ad34=_0x319e,_0x2dbd8a=Array[_0x18ad34(0x187)](_0xf7db68[_0x18ad34(0x1a6)]()),_0x1a68ed=new Set();for(const _0x1cd065 of _0x13dc1e)if(_0x1cd065[_0x18ad34(0x1a8)]){for(const _0x4fbf0f of _0x2dbd8a)for(const _0xe57144 of _0x1cd065[_0x18ad34(0x1a6)]())(_0x4fbf0f[_0x18ad34(0x1b0)](_0xe57144)||_0xf7db68[_0x18ad34(0x19c)]&&!_0x1cd065[_0x18ad34(0x1a5)]&&_0x1cd065[_0x18ad34(0x1a0)]&&_0xe57144[_0x18ad34(0x19e)][_0x18ad34(0x191)](_0x4fbf0f[_0x18ad34(0x1a1)]))&&_0x1a68ed[_0x18ad34(0x1b5)](_0x1cd065);}return _0x1a68ed;}export function getRangesOfBlockGroups(_0x2343b3,_0x35cb60){const _0x51f1b6=_0x319e;let _0x1cc88b,_0x5a0d14=0x0;const _0x3f2a78=[],_0xf7ae88=_0x35cb60[_0x51f1b6(0x182)];for(;_0x5a0d14<_0x2343b3[_0x51f1b6(0x1a2)];){const _0x2b4094=_0x2343b3[_0x5a0d14],_0x2fc9c1=_0x2343b3[_0x5a0d14+0x1];_0x1cc88b||(_0x1cc88b=_0x35cb60[_0x51f1b6(0x1b6)](_0x2b4094)),on(_0x35cb60,_0x2b4094,_0x2fc9c1)||(_0x3f2a78[_0x51f1b6(0x184)](_0x35cb60[_0x51f1b6(0x19d)](_0x1cc88b,_0xf7ae88[_0x51f1b6(0x199)](_0x2b4094)?_0x35cb60[_0x51f1b6(0x189)](_0x2b4094):_0x35cb60[_0x51f1b6(0x1a4)](_0x2b4094,_0x51f1b6(0x19e)))),_0x1cc88b=null),_0x5a0d14++;}return _0x3f2a78;}function on(_0x8ec233,_0xf255f3,_0x15e063){const _0x12c61a=_0x319e;if(!_0x15e063)return!0x1;const _0x444261=_0x8ec233[_0x12c61a(0x189)](_0xf255f3),_0x13bdbb=_0x8ec233[_0x12c61a(0x1b6)](_0x15e063);return _0x444261[_0x12c61a(0x191)](_0x13bdbb);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x10c852,_0xb430f9,_0x5f2260){const _0x2ab760=_0x319e;for(;_0x5f2260[_0x2ab760(0x1a2)];){const _0x13e8e8=_0x5f2260[_0x2ab760(0x188)](0x0,0x64);_0x10c852[_0x2ab760(0x1a7)](()=>{const _0x7a93cb=_0x2ab760;for(const _0x308822 of _0x13e8e8)_0x308822[_0x7a93cb(0x1a8)]&&_0xb430f9[_0x7a93cb(0x190)](_0x308822['id']);});}}
|