@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20241014.0 → 0.0.0-nightly-20241016.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1324b4=_0x39c2;(function(_0x4a8a1d,_0x3d0bb0){const _0x47ed9c=_0x39c2,_0x33788e=_0x4a8a1d();while(!![]){try{const _0x35716a=parseInt(_0x47ed9c(0x167))/0x1*(parseInt(_0x47ed9c(0x1b6))/0x2)+-parseInt(_0x47ed9c(0x15b))/0x3*(parseInt(_0x47ed9c(0x134))/0x4)+-parseInt(_0x47ed9c(0x18c))/0x5+-parseInt(_0x47ed9c(0x145))/0x6+-parseInt(_0x47ed9c(0x14b))/0x7*(-parseInt(_0x47ed9c(0x152))/0x8)+parseInt(_0x47ed9c(0x168))/0x9+parseInt(_0x47ed9c(0x12e))/0xa;if(_0x35716a===_0x3d0bb0)break;else _0x33788e['push'](_0x33788e['shift']());}catch(_0x380358){_0x33788e['push'](_0x33788e['shift']());}}}(_0x34de,0x87138));import{Plugin as _0x4fefcc}from'ckeditor5/src/core.js';import{Collection as _0x3c6278}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2f8850,createDropdown as _0x4c2e4b,ListSeparatorView as _0x5a85e3,MenuBarMenuView as _0x4acf1b,MenuBarMenuListView as _0x3b1159,MenuBarMenuListItemView as _0x22ad47,MenuBarMenuListItemButtonView as _0x6233f4,SplitButtonView as _0x8f3a6b,ViewModel as _0x5d23d5}from'ckeditor5/src/ui.js';import{Users as _0x58f342,getDateTimeFormatter as _0x53a4be,getAllMarkersDomElementsSorted as _0x97e9dd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x579e47 from'./trackchangesediting.js';import _0x4267e7 from'./ui/suggestioncontroller.js';import _0x17cc76 from'./ui/view/suggestionthreadview.js';function _0x34de(){const _0x3e3c8f=['init','isMultiRange','EditorAnnotations','editor','3400728YOPFtQ','getFirstRange','mainView','addComment','suggestionUnloaded','comments.maxCommentCharsWhenCollapsed','addSourceCollector','lowest','children','370386HrGYeE','bind','Discard\x20all\x20suggestions','hasSuggestion','locale','_handleSuggestionControllerDelayed','createAnnotation','focus','editing','_annotationViews','suggestion-','_bindAnnotationToEditors','17989xuzbpR','7433433tVOYEE','getJoined','discardButton','activeAnnotations','trackChanges.SuggestionView','commands','trackChanges.disableComments','SuggestionView','acceptSelectedSuggestions','Accept\x20all\x20selected\x20suggestions','menu','isEnabled','isInContent','TrackChangesUI','CommentsRepository','Accept\x20all\x20suggestions','pluginName','suggestionView','activeMarkers','discardAllSuggestions','panelView','change:previous','acceptButton','_suggestionToController','requires','createCommentThreadController','createAnnotationView','destroy','_createMenuBarMenu','comments.maxCommentsWhenCollapsed','from','_initializeController','set','Track\x20changes','getAllAdjacentSuggestions','CommentView','2833450WQovFH','menuitemcheckbox','Annotations','TrackChangesEditing','reduce','head','suggestionLoaded','model','listenTo','commandName','fire','_destroyController','clear','getSuggestion','previous','get','change:activeAnnotations','getMarkerNames','refreshSelectedViews','getDescriptions','commentsListView','_handleControllerBuffer','filter','switchbutton','delegate','stopListening','arrowView','acceptAllSuggestions','_addUIComponentsToFactory','CommentsUI','_updateController','buttonView','remove','keys','actionView','getByInnerView','value','delete','comments.editorConfig','descriptionFactory','view','isOn','112dtmMbo','_refreshActiveMarkers','execute','_viewToController','some','has','menuBar:trackChanges','length','getRanges','getMarkers','menuitem','suggestionChanged','push','descriptionParts','_createToolbarButton','348760rGMrBN','innerView','items','discardSelectedSuggestions','Discard\x20all\x20selected\x20suggestions','componentFactory','12rhzmhD','config','add','toMany','unbind','source','separator','values','type','escape','define','SuggestionThreadView','isDirty','comments','comments.maxThreadTotalWeight','registerAnnotation','size','4817640hKwYZd','_disableComments','trackChanges.SuggestionThreadView','trackChanges','button','plugins','7CoBAev','_unbindEditors','commentThread'];_0x34de=function(){return _0x3e3c8f;};return _0x34de();}import _0x25ff98 from'./ui/view/suggestionview.js';import{getTranslation as _0x2a3e08}from'./utils/common-translations.js';import _0x32a5c3 from'../theme/icons/track-changes.svg';export default class d extends _0x4fefcc{static get[_0x1324b4(0x180)](){const _0x968529=_0x1324b4;return[_0x579e47,_0x58f342,_0x968529(0x176),_0x968529(0x18e),_0x968529(0x150)];}static get[_0x1324b4(0x178)](){const _0x167a73=_0x1324b4;return _0x167a73(0x175);}constructor(_0x29165e){const _0xf6a51e=_0x1324b4;super(_0x29165e),this[_0xf6a51e(0x17f)]=new Map(),this[_0xf6a51e(0x1b9)]=new Map(),this[_0xf6a51e(0x164)]=new Map(),this[_0xf6a51e(0x1a1)]=new Map();const _0x4062f0=this[_0xf6a51e(0x151)][_0xf6a51e(0x135)];_0x4062f0[_0xf6a51e(0x13e)](_0xf6a51e(0x147),_0x17cc76),_0x4062f0[_0xf6a51e(0x13e)](_0xf6a51e(0x16c),_0x25ff98),_0x4062f0[_0xf6a51e(0x13e)](_0xf6a51e(0x16e),!0x1),this[_0xf6a51e(0x146)]=_0x4062f0[_0xf6a51e(0x19b)](_0xf6a51e(0x16e));}[_0x1324b4(0x160)](_0x1c96b1,_0x1ca417){const _0x273f52=_0x1324b4;0x0===this[_0x273f52(0x1a1)][_0x273f52(0x144)]&&setTimeout(()=>{const _0x418029=_0x273f52;for(const [_0x2282a8,_0x47eaf6]of this[_0x418029(0x1a1)]){const _0x3277ad=this[_0x418029(0x17f)][_0x418029(0x1bb)](_0x2282a8);_0x3277ad||_0x47eaf6?_0x3277ad&&_0x47eaf6&&this[_0x418029(0x197)](_0x2282a8):this[_0x418029(0x187)](_0x2282a8);}this[_0x418029(0x1a1)][_0x418029(0x198)](),this[_0x418029(0x151)][_0x418029(0x14a)][_0x418029(0x19b)](_0x418029(0x150))[_0x418029(0x19e)](),this[_0x418029(0x1b7)]();},0xa),this[_0x273f52(0x1a1)][_0x273f52(0x188)](_0x1c96b1,_0x1ca417);}[_0x1324b4(0x14e)](){const _0x4fc393=_0x1324b4,_0x525d0b=this[_0x4fc393(0x151)],_0x2ba2e3=_0x525d0b[_0x4fc393(0x14a)][_0x4fc393(0x19b)](_0x4fc393(0x18f)),_0x40a8c7=_0x525d0b[_0x4fc393(0x14a)][_0x4fc393(0x19b)](_0x4fc393(0x18e)),_0x1b2b6c=_0x525d0b[_0x4fc393(0x14a)][_0x4fc393(0x19b)](_0x4fc393(0x150)),_0x1498d6=_0x525d0b[_0x4fc393(0x14a)][_0x4fc393(0x19b)](_0x4fc393(0x176));this[_0x4fc393(0x1a8)](),_0x1b2b6c[_0x4fc393(0x158)](()=>{const _0x571503=_0x4fc393,_0x565d7f=[];for(const [_0x28e7d1,_0x55a45f]of Array[_0x571503(0x186)](this[_0x571503(0x17f)])){const _0x5d623a=_0x28e7d1[_0x571503(0x18a)](),_0x2f02e0=[];for(const _0x1b9ef1 of _0x5d623a){if(!_0x1b9ef1[_0x571503(0x174)])continue;if(_0x1b9ef1[_0x571503(0x14f)]){_0x2f02e0[_0x571503(0x12b)](..._0x1b9ef1[_0x571503(0x1be)]());continue;}const _0x127b91=_0x1b9ef1[_0x571503(0x153)]();if(_0x2f02e0[_0x571503(0x1bd)]>0x0){const _0x4c0590=_0x2f02e0[0x0][_0x571503(0x169)](_0x127b91);if(_0x4c0590){_0x2f02e0[0x0]=_0x4c0590;continue;}}_0x2f02e0[_0x571503(0x12b)](_0x127b91);}_0x565d7f[_0x571503(0x12b)]([_0x55a45f[_0x571503(0x1b4)],_0x2f02e0]);}return _0x565d7f;}),this[_0x4fc393(0x194)](_0x2ba2e3,_0x4fc393(0x192),(_0x26d1c4,_0x5412d6)=>{const _0x44c96f=_0x4fc393;this[_0x44c96f(0x194)](_0x5412d6,_0x44c96f(0x17d),(_0x2d7155,_0x2714b1,_0x5b0bfd,_0x117061)=>{const _0x50dd83=_0x44c96f;_0x5412d6[_0x50dd83(0x174)]&&(null==_0x5b0bfd?(this[_0x50dd83(0x1aa)](_0x117061[_0x50dd83(0x191)]),this[_0x50dd83(0x160)](_0x5412d6,!0x1)):(this[_0x50dd83(0x1aa)](_0x5b0bfd[_0x50dd83(0x191)]),null==_0x117061&&this[_0x50dd83(0x160)](_0x5412d6,!0x0)));}),null!==_0x5412d6[_0x44c96f(0x19a)]?this[_0x44c96f(0x1aa)](_0x5412d6[_0x44c96f(0x191)]):this[_0x44c96f(0x160)](_0x5412d6,!0x1);}),this[_0x4fc393(0x194)](_0x2ba2e3,_0x4fc393(0x156),(_0xa890e6,_0x4b7c1b,_0x483172)=>{const _0xa9a220=_0x4fc393;this[_0xa9a220(0x1a5)](_0x4b7c1b,_0xa9a220(0x17d)),this[_0xa9a220(0x1a1)][_0xa9a220(0x1b1)](_0x4b7c1b),this[_0xa9a220(0x17f)][_0xa9a220(0x1bb)](_0x4b7c1b)&&this[_0xa9a220(0x197)](_0x4b7c1b),_0x483172&&this[_0xa9a220(0x1aa)](_0x483172[_0xa9a220(0x191)]);}),this[_0x4fc393(0x194)](_0x2ba2e3,_0x4fc393(0x12a),(_0x135176,_0x172710)=>{const _0x2dd8f3=_0x4fc393;this[_0x2dd8f3(0x1aa)](_0x172710);}),this[_0x4fc393(0x194)](_0x40a8c7,_0x4fc393(0x19c),()=>{const _0x86e864=_0x4fc393;this[_0x86e864(0x1b7)]();}),this[_0x4fc393(0x194)](_0x1498d6,_0x4fc393(0x155),(_0x2b5294,{threadId:_0x45ac70,isFromAdapter:_0x4aae69})=>{const _0x109f60=_0x4fc393;if(_0x4aae69||!_0x2ba2e3[_0x109f60(0x15e)](_0x45ac70))return;const _0x41557d=_0x2ba2e3[_0x109f60(0x199)](_0x45ac70);this[_0x109f60(0x17f)][_0x109f60(0x19b)](_0x41557d)[_0x109f60(0x1b4)][_0x109f60(0x1a0)][_0x109f60(0x162)](-0x1);},{'priority':_0x4fc393(0x159)});}[_0x1324b4(0x1b7)](){const _0x129442=_0x1324b4,_0x57eca1=this[_0x129442(0x151)][_0x129442(0x14a)][_0x129442(0x19b)](_0x129442(0x18e)),_0x178100=this[_0x129442(0x151)][_0x129442(0x14a)][_0x129442(0x19b)](_0x129442(0x18f)),_0x353d17=Array[_0x129442(0x186)](_0x57eca1[_0x129442(0x16b)],_0x25c5e8=>_0x25c5e8[_0x129442(0x12f)])[_0x129442(0x1a2)](_0x3d3779=>this[_0x129442(0x1b9)][_0x129442(0x1bb)](_0x3d3779)),_0x516eba=[];for(const _0x59905b of _0x353d17){const _0x1d3ef7=this[_0x129442(0x1b9)][_0x129442(0x19b)](_0x59905b)[_0x129442(0x193)][_0x129442(0x18a)]();_0x516eba[_0x129442(0x12b)](..._0x1d3ef7[_0x129442(0x190)]((_0x48002f,_0xad876e)=>[..._0x48002f,..._0xad876e[_0x129442(0x19d)]()],[]));}_0x178100[_0x129442(0x17a)]=_0x516eba;}[_0x1324b4(0x1a8)](){const _0x1fe38e=_0x1324b4,_0xefba4e=this[_0x1fe38e(0x151)],_0x39e4c4=_0xefba4e[_0x1fe38e(0x15f)],_0x3de8ba=_0x2a3e08(_0x39e4c4,_0x1fe38e(0x189)),_0x489d4c=new _0x3c6278([{'type':_0x1fe38e(0x1a3),'model':new _0x5d23d5({'withText':!0x0,'isToggleable':!0x0,'label':_0x3de8ba,'commandName':_0x1fe38e(0x148),'role':_0x1fe38e(0x18d)})},{'type':_0x1fe38e(0x13a)},{'type':_0x1fe38e(0x149),'model':new _0x5d23d5({'withText':!0x0,'label':_0x2a3e08(_0x39e4c4,_0x1fe38e(0x177)),'commandName':_0x1fe38e(0x1a7),'role':_0x1fe38e(0x129)})},{'type':_0x1fe38e(0x149),'model':new _0x5d23d5({'withText':!0x0,'label':_0x2a3e08(_0x39e4c4,_0x1fe38e(0x171)),'commandName':_0x1fe38e(0x170),'role':_0x1fe38e(0x129)})},{'type':_0x1fe38e(0x149),'model':new _0x5d23d5({'withText':!0x0,'label':_0x2a3e08(_0x39e4c4,_0x1fe38e(0x15d)),'commandName':_0x1fe38e(0x17b),'role':_0x1fe38e(0x129)})},{'type':_0x1fe38e(0x149),'model':new _0x5d23d5({'withText':!0x0,'label':_0x2a3e08(_0x39e4c4,_0x1fe38e(0x132)),'commandName':_0x1fe38e(0x131),'role':_0x1fe38e(0x129)})}]);for(const _0x8dc3c1 of _0x489d4c)if(me(_0x8dc3c1)){const _0x2b7076=_0xefba4e[_0x1fe38e(0x16d)][_0x1fe38e(0x19b)](_0x8dc3c1[_0x1fe38e(0x193)][_0x1fe38e(0x195)]);_0x8dc3c1[_0x1fe38e(0x193)][_0x1fe38e(0x15c)](_0x1fe38e(0x1b5),_0x1fe38e(0x173))['to'](_0x2b7076,_0x1fe38e(0x1b0),_0x1fe38e(0x173));}_0xefba4e['ui'][_0x1fe38e(0x133)][_0x1fe38e(0x136)](_0x1fe38e(0x148),_0x2d57cc=>this[_0x1fe38e(0x12d)](_0x2d57cc,_0x489d4c,_0x3de8ba)),_0xefba4e['ui'][_0x1fe38e(0x133)][_0x1fe38e(0x136)](_0x1fe38e(0x1bc),_0x15d85b=>this[_0x1fe38e(0x184)](_0x15d85b,_0x489d4c,_0x3de8ba));}[_0x1324b4(0x12d)](_0x53159e,_0x70ab46,_0x3f4729){const _0x4effa4=_0x1324b4,_0x2d33b9=_0x4c2e4b(_0x53159e,_0x8f3a6b),_0x3e5d7a=this[_0x4effa4(0x151)][_0x4effa4(0x16d)][_0x4effa4(0x19b)](_0x4effa4(0x148));_0x2d33b9[_0x4effa4(0x1ab)][_0x4effa4(0x188)]({'tooltip':_0x3f4729,'label':_0x3f4729,'icon':_0x32a5c3}),_0x2d33b9[_0x4effa4(0x1ab)][_0x4effa4(0x15c)](_0x4effa4(0x1b5))['to'](_0x3e5d7a,_0x4effa4(0x1b0)),_0x2d33b9[_0x4effa4(0x1ab)]['on'](_0x4effa4(0x1b8),()=>{const _0x3035f7=_0x4effa4;_0x3e5d7a[_0x3035f7(0x1b8)](),this[_0x3035f7(0x151)][_0x3035f7(0x163)][_0x3035f7(0x1b4)][_0x3035f7(0x162)]();}),_0x2f8850(_0x2d33b9,_0x70ab46,{'role':_0x4effa4(0x172)});const _0x28a5d3=[];for(const _0x2c6ec8 of _0x70ab46)me(_0x2c6ec8)&&_0x28a5d3[_0x4effa4(0x12b)](this[_0x4effa4(0x151)][_0x4effa4(0x16d)][_0x4effa4(0x19b)](_0x2c6ec8[_0x4effa4(0x193)][_0x4effa4(0x195)]));const _0x439e9f=_0x2d33b9[_0x4effa4(0x1ab)];return _0x439e9f[_0x4effa4(0x1ae)][_0x4effa4(0x138)](_0x4effa4(0x173)),_0x439e9f[_0x4effa4(0x1a6)][_0x4effa4(0x138)](_0x4effa4(0x173)),_0x439e9f[_0x4effa4(0x1ae)][_0x4effa4(0x15c)](_0x4effa4(0x173))['to'](_0x3e5d7a,_0x4effa4(0x173)),_0x439e9f[_0x4effa4(0x1a6)][_0x4effa4(0x15c)](_0x4effa4(0x173))[_0x4effa4(0x137)](_0x28a5d3,_0x4effa4(0x173),(..._0x1750bd)=>_0x1750bd[_0x4effa4(0x1ba)](_0x36e73f=>_0x36e73f)),_0x2d33b9['on'](_0x4effa4(0x1b8),_0x4a082f=>{const _0x58f140=_0x4effa4;this[_0x58f140(0x151)][_0x58f140(0x1b8)](_0x4a082f[_0x58f140(0x139)][_0x58f140(0x195)]),this[_0x58f140(0x151)][_0x58f140(0x163)][_0x58f140(0x1b4)][_0x58f140(0x162)]();}),_0x2d33b9;}[_0x1324b4(0x184)](_0x2edc44,_0x1b4857,_0x11db6f){const _0x76dec3=_0x1324b4,_0x290438=new _0x4acf1b(_0x2edc44),_0x13b153=this[_0x76dec3(0x151)][_0x76dec3(0x16d)][_0x76dec3(0x19b)](_0x76dec3(0x148));_0x290438[_0x76dec3(0x1ab)][_0x76dec3(0x188)]({'label':_0x11db6f,'icon':_0x32a5c3});const _0xb907d0=new _0x3b1159(_0x2edc44);for(const _0x49047d of _0x1b4857){if(_0x76dec3(0x13a)==_0x49047d[_0x76dec3(0x13c)]){_0xb907d0[_0x76dec3(0x130)][_0x76dec3(0x136)](new _0x5a85e3(_0x2edc44));continue;}const _0xa402ff=new _0x22ad47(_0x2edc44,_0x290438),_0x1bd126=new _0x6233f4(_0x2edc44),_0x5a7903=_0x49047d[_0x76dec3(0x193)];_0x1bd126[_0x76dec3(0x15c)](...Object[_0x76dec3(0x1ad)](_0x5a7903))['to'](_0x5a7903),_0x1bd126[_0x76dec3(0x1a4)](_0x76dec3(0x1b8))['to'](_0x290438),_0x1bd126['on'](_0x76dec3(0x1b8),()=>{const _0x403361=_0x76dec3;this[_0x403361(0x151)][_0x403361(0x1b8)](_0x5a7903[_0x403361(0x195)]),this[_0x403361(0x151)][_0x403361(0x163)][_0x403361(0x1b4)][_0x403361(0x162)]();}),_0xa402ff[_0x76dec3(0x15a)][_0x76dec3(0x136)](_0x1bd126),_0xb907d0[_0x76dec3(0x130)][_0x76dec3(0x136)](_0xa402ff);}return _0x290438[_0x76dec3(0x15c)](_0x76dec3(0x173))['to'](_0x13b153,_0x76dec3(0x173)),_0x290438[_0x76dec3(0x17c)][_0x76dec3(0x15a)][_0x76dec3(0x136)](_0xb907d0),_0x290438;}[_0x1324b4(0x187)](_0x34c8b0){const _0x363ac9=_0x1324b4,_0x3ded60=this[_0x363ac9(0x151)],_0x5765cd=_0x3ded60[_0x363ac9(0x135)],_0x385299=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x363ac9(0x18e)),_0x151646=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x363ac9(0x176)),_0x19e2b7=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x363ac9(0x150)),_0x10c909=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x58f342)['me'],_0x4c65ed=_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x148))[_0x363ac9(0x13f)],_0x4ed62d=_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x148))[_0x363ac9(0x16f)],{CommentsListView:_0x251765,CommentThreadInputView:_0x274cc5}=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x363ac9(0x1a9));let _0x105306,_0x386f84,_0x361555;this[_0x363ac9(0x164)][_0x363ac9(0x1bb)](_0x34c8b0['id'])?(_0x386f84=this[_0x363ac9(0x164)][_0x363ac9(0x19b)](_0x34c8b0['id']),_0x105306=_0x386f84[_0x363ac9(0x154)]):(_0x105306=new _0x4c65ed(_0x3ded60[_0x363ac9(0x15f)],_0x34c8b0,_0x10c909,{'disableComments':this[_0x363ac9(0x146)],'editorConfig':_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x1b2)),'maxCommentsWhenCollapsed':_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x185)),'maxThreadTotalWeight':_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x142)),'maxCommentCharsWhenCollapsed':_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x157)),'formatDateTime':_0x53a4be(_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x15f))),'CommentView':_0x5765cd[_0x363ac9(0x19b)](_0x363ac9(0x141))[_0x363ac9(0x18b)],'CommentsListView':_0x251765,'CommentThreadInputView':_0x274cc5,'SuggestionView':_0x4ed62d}),_0x105306[_0x363ac9(0x179)][_0x363ac9(0x17e)]['on'](_0x363ac9(0x1b8),()=>{const _0x1f233f=_0x363ac9;_0x3ded60[_0x1f233f(0x163)][_0x1f233f(0x1b4)][_0x1f233f(0x162)]();}),_0x105306[_0x363ac9(0x179)][_0x363ac9(0x16a)]['on'](_0x363ac9(0x1b8),()=>{const _0x37e6ec=_0x363ac9;_0x3ded60[_0x37e6ec(0x163)][_0x37e6ec(0x1b4)][_0x37e6ec(0x162)]();}),_0x386f84=_0x385299[_0x363ac9(0x182)](this[_0x363ac9(0x151)][_0x363ac9(0x15f)],_0x105306),_0x386f84[_0x363ac9(0x15c)](_0x363ac9(0x140))['to'](_0x105306,_0x363ac9(0x140)),_0x386f84[_0x363ac9(0x15c)](_0x363ac9(0x1bd))['to'](_0x105306),_0x386f84[_0x363ac9(0x15c)](_0x363ac9(0x13c))['to'](_0x105306,_0x363ac9(0x13c),_0xabc7e5=>_0x363ac9(0x165)+_0xabc7e5),_0x105306['on'](_0x363ac9(0x13d),()=>{const _0x1867a9=_0x363ac9;_0x361555[_0x1867a9(0x196)](_0x1867a9(0x13d));}),this[_0x363ac9(0x164)][_0x363ac9(0x188)](_0x34c8b0['id'],_0x386f84));const _0x4a83a4=_0x151646[_0x363ac9(0x181)](_0x34c8b0[_0x363ac9(0x14d)],_0x105306),_0x1ab8dc=new _0x4267e7(_0x3ded60,_0x34c8b0,_0x105306,_0x4a83a4),_0x3cdae4=_0x34c8b0[_0x363ac9(0x18a)]()[_0x363ac9(0x1a2)](_0x485372=>_0x485372[_0x363ac9(0x174)]);_0x105306[_0x363ac9(0x12c)]=_0x3ded60[_0x363ac9(0x14a)][_0x363ac9(0x19b)](_0x363ac9(0x18f))[_0x363ac9(0x1b3)][_0x363ac9(0x19f)](_0x3cdae4),this[_0x363ac9(0x17f)][_0x363ac9(0x188)](_0x34c8b0,_0x1ab8dc),this[_0x363ac9(0x1b9)][_0x363ac9(0x188)](_0x105306,_0x1ab8dc),_0x361555=_0x385299[_0x363ac9(0x161)]({'view':_0x386f84,'target':()=>{const _0x56a8d6=_0x363ac9,_0x4a0ecf=[],_0x526c19=_0x34c8b0[_0x56a8d6(0x18a)]()[_0x56a8d6(0x1a2)](_0x29c10c=>_0x29c10c[_0x56a8d6(0x174)]);for(const _0x542a0d of _0x526c19)_0x4a0ecf[_0x56a8d6(0x12b)](..._0x542a0d[_0x56a8d6(0x1bf)]());return _0x97e9dd(_0x3ded60[_0x56a8d6(0x163)],_0x4a0ecf);},'type':()=>_0x363ac9(0x165)+_0x1ab8dc[_0x363ac9(0x1b4)][_0x363ac9(0x13c)]}),_0x151646[_0x363ac9(0x166)](_0x105306,_0x361555),_0x385299[_0x363ac9(0x136)](_0x361555),_0x19e2b7[_0x363ac9(0x143)](_0x361555);}[_0x1324b4(0x197)](_0x285321){const _0x3a9c13=_0x1324b4,_0x46e0c9=this[_0x3a9c13(0x151)][_0x3a9c13(0x14a)][_0x3a9c13(0x19b)](_0x3a9c13(0x176)),_0x306d88=this[_0x3a9c13(0x151)][_0x3a9c13(0x14a)][_0x3a9c13(0x19b)](_0x3a9c13(0x18e)),_0x46b197=this[_0x3a9c13(0x17f)][_0x3a9c13(0x19b)](_0x285321),_0x429e01=_0x46b197[_0x3a9c13(0x1b4)],_0x30709b=_0x306d88[_0x3a9c13(0x1af)](_0x429e01);_0x46e0c9[_0x3a9c13(0x14c)](_0x429e01),_0x30709b&&_0x306d88[_0x3a9c13(0x1ac)](_0x30709b),this[_0x3a9c13(0x17f)][_0x3a9c13(0x1b1)](_0x285321),this[_0x3a9c13(0x1b9)][_0x3a9c13(0x1b1)](_0x429e01),_0x46b197[_0x3a9c13(0x183)]();}[_0x1324b4(0x1aa)](_0x47cf31){const _0x2aed87=_0x1324b4;if(!_0x47cf31[_0x2aed87(0x174)]||!this[_0x2aed87(0x17f)][_0x2aed87(0x1bb)](_0x47cf31))return;const _0x9e54f6=this[_0x2aed87(0x151)][_0x2aed87(0x14a)][_0x2aed87(0x19b)](_0x2aed87(0x18f)),_0x4d5813=this[_0x2aed87(0x17f)][_0x2aed87(0x19b)](_0x47cf31),_0x4260eb=_0x47cf31[_0x2aed87(0x18a)]();_0x4d5813[_0x2aed87(0x1b4)][_0x2aed87(0x12c)]=_0x9e54f6[_0x2aed87(0x1b3)][_0x2aed87(0x19f)](_0x4260eb);}[_0x1324b4(0x183)](){const _0x490e22=_0x1324b4;for(const _0x3fe155 of this[_0x490e22(0x17f)][_0x490e22(0x1ad)]())this[_0x490e22(0x197)](_0x3fe155);for(const _0x1f20a3 of this[_0x490e22(0x164)][_0x490e22(0x13b)]())_0x1f20a3[_0x490e22(0x154)][_0x490e22(0x183)]();super[_0x490e22(0x183)]();}}function _0x39c2(_0x312c11,_0x2c0c25){const _0x34de21=_0x34de();return _0x39c2=function(_0x39c2ce,_0x2fa391){_0x39c2ce=_0x39c2ce-0x129;let _0x38d2b3=_0x34de21[_0x39c2ce];return _0x38d2b3;},_0x39c2(_0x312c11,_0x2c0c25);}function me(_0x29a642){const _0x4fde0c=_0x1324b4;return _0x4fde0c(0x193)in _0x29a642;}
|
|
23
|
+
const _0x10d19a=_0x2e70;function _0x3c53(){const _0x4a75ed=['_annotationViews','fire','type','_unbindEditors','CommentsUI','933894ZZZmqM','remove','_createMenuBarMenu','488988pqbzgC','Discard\x20all\x20suggestions','menuitem','init','previous','clear','_destroyController','comments.editorConfig','_bindAnnotationToEditors','isEnabled','100yCXrSM','panelView','head','menu','trackChanges','trackChanges.disableComments','4522920XLnMWL','getDescriptions','isOn','suggestion-','descriptionFactory','19089HBxygJ','commentsListView','commentThread','createAnnotationView','trackChanges.SuggestionView','comments.maxCommentCharsWhenCollapsed','commandName','from','some','focus','activeMarkers','SuggestionThreadView','SuggestionView','values','descriptionParts','addSourceCollector','_handleControllerBuffer','getAllAdjacentSuggestions','hasSuggestion','registerAnnotation','discardAllSuggestions','suggestionChanged','add','delegate','_refreshActiveMarkers','model','430sTvwSN','toMany','editor','requires','createAnnotation','_handleSuggestionControllerDelayed','CommentView','2nuhswn','length','items','activeAnnotations','componentFactory','_createToolbarButton','commands','destroy','comments.maxThreadTotalWeight','TrackChangesEditing','escape','source','getByInnerView','children','suggestionView','trackChanges.SuggestionThreadView','getMarkerNames','5488384oYcVUY','reduce','menuitemcheckbox','actionView','suggestionLoaded','set','isDirty','getRanges','execute','mainView','isMultiRange','bind','locale','_disableComments','Accept\x20all\x20suggestions','separator','getJoined','push','Discard\x20all\x20selected\x20suggestions','editing','pluginName','plugins','define','TrackChangesUI','getMarkers','delete','comments.maxCommentsWhenCollapsed','button','9192awMdZx','CommentsRepository','143390fOJzqv','lowest','_updateController','change:activeAnnotations','filter','buttonView','_viewToController','Accept\x20all\x20selected\x20suggestions','_suggestionToController','_initializeController','innerView','change:previous','EditorAnnotations','config','acceptAllSuggestions','addComment','arrowView','get','refreshSelectedViews','acceptButton','isInContent','Annotations','has','comments','discardButton','_addUIComponentsToFactory','unbind','createCommentThreadController','size','menuBar:trackChanges','6DTvVTf','stopListening','acceptSelectedSuggestions','keys','value','view','getFirstRange','getSuggestion','discardSelectedSuggestions','switchbutton','suggestionUnloaded','Track\x20changes','listenTo'];_0x3c53=function(){return _0x4a75ed;};return _0x3c53();}(function(_0x4bbda4,_0xa7bc9e){const _0x39b08c=_0x2e70,_0x119350=_0x4bbda4();while(!![]){try{const _0x3bcd65=-parseInt(_0x39b08c(0x13a))/0x1*(parseInt(_0x39b08c(0x10b))/0x2)+-parseInt(_0x39b08c(0xd2))/0x3+-parseInt(_0x39b08c(0x138))/0x4*(-parseInt(_0x39b08c(0x104))/0x5)+-parseInt(_0x39b08c(0xc0))/0x6*(parseInt(_0x39b08c(0xea))/0x7)+parseInt(_0x39b08c(0xe5))/0x8+-parseInt(_0x39b08c(0xd5))/0x9*(-parseInt(_0x39b08c(0xdf))/0xa)+-parseInt(_0x39b08c(0x11c))/0xb;if(_0x3bcd65===_0xa7bc9e)break;else _0x119350['push'](_0x119350['shift']());}catch(_0x10b043){_0x119350['push'](_0x119350['shift']());}}}(_0x3c53,0x55702));import{Plugin as _0x7e4035}from'ckeditor5/src/core.js';import{Collection as _0x39b8c3}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x124b5e,createDropdown as _0x5604e7,ListSeparatorView as _0xf99e71,MenuBarMenuView as _0x2cfe13,MenuBarMenuListView as _0x5c9018,MenuBarMenuListItemView as _0x5ba33a,MenuBarMenuListItemButtonView as _0x3e7a06,SplitButtonView as _0x2ba346,ViewModel as _0x1c4ac9}from'ckeditor5/src/ui.js';import{Users as _0x10ca33,getDateTimeFormatter as _0x43d5c5,getAllMarkersDomElementsSorted as _0x2eecaf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x20e9f9 from'./trackchangesediting.js';import _0x1b006f from'./ui/suggestioncontroller.js';import _0x3dbf2d from'./ui/view/suggestionthreadview.js';import _0x4d8f42 from'./ui/view/suggestionview.js';import{getTranslation as _0x5ed7aa}from'./utils/common-translations.js';import _0xd8129f from'../theme/icons/track-changes.svg';export default class d extends _0x7e4035{static get[_0x10d19a(0x107)](){const _0x2dd9b9=_0x10d19a;return[_0x20e9f9,_0x10ca33,_0x2dd9b9(0x139),_0x2dd9b9(0xb7),_0x2dd9b9(0x146)];}static get[_0x10d19a(0x130)](){const _0x42a8c5=_0x10d19a;return _0x42a8c5(0x133);}constructor(_0x52b63e){const _0x319bc7=_0x10d19a;super(_0x52b63e),this[_0x319bc7(0x142)]=new Map(),this[_0x319bc7(0x140)]=new Map(),this[_0x319bc7(0xcd)]=new Map(),this[_0x319bc7(0xfa)]=new Map();const _0x30a6b2=this[_0x319bc7(0x106)][_0x319bc7(0x147)];_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0x11a),_0x3dbf2d),_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0xee),_0x4d8f42),_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0xe4),!0x1),this[_0x319bc7(0x129)]=_0x30a6b2[_0x319bc7(0x14b)](_0x319bc7(0xe4));}[_0x10d19a(0x109)](_0x3afcda,_0x282565){const _0x32a456=_0x10d19a;0x0===this[_0x32a456(0xfa)][_0x32a456(0xbe)]&&setTimeout(()=>{const _0x167b67=_0x32a456;for(const [_0x41ad63,_0x122471]of this[_0x167b67(0xfa)]){const _0x2d144a=this[_0x167b67(0x142)][_0x167b67(0xb8)](_0x41ad63);_0x2d144a||_0x122471?_0x2d144a&&_0x122471&&this[_0x167b67(0xdb)](_0x41ad63):this[_0x167b67(0x143)](_0x41ad63);}this[_0x167b67(0xfa)][_0x167b67(0xda)](),this[_0x167b67(0x106)][_0x167b67(0x131)][_0x167b67(0x14b)](_0x167b67(0x146))[_0x167b67(0xb4)](),this[_0x167b67(0x102)]();},0xa),this[_0x32a456(0xfa)][_0x32a456(0x121)](_0x3afcda,_0x282565);}[_0x10d19a(0xd8)](){const _0x8dd8db=_0x10d19a,_0x442387=this[_0x8dd8db(0x106)],_0x43b65d=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x114)),_0x4b9816=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0xb7)),_0x2d6dda=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x146)),_0x1fcad5=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x139));this[_0x8dd8db(0xbb)](),_0x2d6dda[_0x8dd8db(0xf9)](()=>{const _0x332585=_0x8dd8db,_0x269b21=[];for(const [_0x5c2a62,_0x529ad6]of Array[_0x332585(0xf1)](this[_0x332585(0x142)])){const _0x483a36=_0x5c2a62[_0x332585(0xfb)](),_0x378c2d=[];for(const _0x2df4c3 of _0x483a36){if(!_0x2df4c3[_0x332585(0xb6)])continue;if(_0x2df4c3[_0x332585(0x126)]){_0x378c2d[_0x332585(0x12d)](..._0x2df4c3[_0x332585(0x123)]());continue;}const _0x157131=_0x2df4c3[_0x332585(0xc6)]();if(_0x378c2d[_0x332585(0x10c)]>0x0){const _0x5d2f2e=_0x378c2d[0x0][_0x332585(0x12c)](_0x157131);if(_0x5d2f2e){_0x378c2d[0x0]=_0x5d2f2e;continue;}}_0x378c2d[_0x332585(0x12d)](_0x157131);}_0x269b21[_0x332585(0x12d)]([_0x529ad6[_0x332585(0xc5)],_0x378c2d]);}return _0x269b21;}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0x120),(_0x1799b5,_0x5ef371)=>{const _0x135322=_0x8dd8db;this[_0x135322(0xcc)](_0x5ef371,_0x135322(0x145),(_0x470d0b,_0x4b3c80,_0x5a29e8,_0x48a5fb)=>{const _0x3bd807=_0x135322;_0x5ef371[_0x3bd807(0xb6)]&&(null==_0x5a29e8?(this[_0x3bd807(0x13c)](_0x48a5fb[_0x3bd807(0xe1)]),this[_0x3bd807(0x109)](_0x5ef371,!0x1)):(this[_0x3bd807(0x13c)](_0x5a29e8[_0x3bd807(0xe1)]),null==_0x48a5fb&&this[_0x3bd807(0x109)](_0x5ef371,!0x0)));}),null!==_0x5ef371[_0x135322(0xd9)]?this[_0x135322(0x13c)](_0x5ef371[_0x135322(0xe1)]):this[_0x135322(0x109)](_0x5ef371,!0x1);}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0xca),(_0x2ce15e,_0x1fc10a,_0x313b18)=>{const _0x46e008=_0x8dd8db;this[_0x46e008(0xc1)](_0x1fc10a,_0x46e008(0x145)),this[_0x46e008(0xfa)][_0x46e008(0x135)](_0x1fc10a),this[_0x46e008(0x142)][_0x46e008(0xb8)](_0x1fc10a)&&this[_0x46e008(0xdb)](_0x1fc10a),_0x313b18&&this[_0x46e008(0x13c)](_0x313b18[_0x46e008(0xe1)]);}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0xff),(_0x3f8409,_0x452dc0)=>{const _0x429146=_0x8dd8db;this[_0x429146(0x13c)](_0x452dc0);}),this[_0x8dd8db(0xcc)](_0x4b9816,_0x8dd8db(0x13d),()=>{const _0x2f95f1=_0x8dd8db;this[_0x2f95f1(0x102)]();}),this[_0x8dd8db(0xcc)](_0x1fcad5,_0x8dd8db(0x149),(_0x841291,{threadId:_0x239d57,isFromAdapter:_0x2d4e15})=>{const _0x28d8dd=_0x8dd8db;if(_0x2d4e15||!_0x43b65d[_0x28d8dd(0xfc)](_0x239d57))return;const _0xf8cdd8=_0x43b65d[_0x28d8dd(0xc7)](_0x239d57);this[_0x28d8dd(0x142)][_0x28d8dd(0x14b)](_0xf8cdd8)[_0x28d8dd(0xc5)][_0x28d8dd(0xeb)][_0x28d8dd(0xf3)](-0x1);},{'priority':_0x8dd8db(0x13b)});}[_0x10d19a(0x102)](){const _0x3cffd1=_0x10d19a,_0x16150f=this[_0x3cffd1(0x106)][_0x3cffd1(0x131)][_0x3cffd1(0x14b)](_0x3cffd1(0xb7)),_0x8dc590=this[_0x3cffd1(0x106)][_0x3cffd1(0x131)][_0x3cffd1(0x14b)](_0x3cffd1(0x114)),_0x38c7a3=Array[_0x3cffd1(0xf1)](_0x16150f[_0x3cffd1(0x10e)],_0x2c9d3=>_0x2c9d3[_0x3cffd1(0x144)])[_0x3cffd1(0x13e)](_0x31ab0c=>this[_0x3cffd1(0x140)][_0x3cffd1(0xb8)](_0x31ab0c)),_0x2976df=[];for(const _0x209bc4 of _0x38c7a3){const _0x498134=this[_0x3cffd1(0x140)][_0x3cffd1(0x14b)](_0x209bc4)[_0x3cffd1(0x103)][_0x3cffd1(0xfb)]();_0x2976df[_0x3cffd1(0x12d)](..._0x498134[_0x3cffd1(0x11d)]((_0x11bbd7,_0x49082e)=>[..._0x11bbd7,..._0x49082e[_0x3cffd1(0x11b)]()],[]));}_0x8dc590[_0x3cffd1(0xf4)]=_0x2976df;}[_0x10d19a(0xbb)](){const _0x400fdc=_0x10d19a,_0x4e09ed=this[_0x400fdc(0x106)],_0x2ec806=_0x4e09ed[_0x400fdc(0x128)],_0x208cc8=_0x5ed7aa(_0x2ec806,_0x400fdc(0xcb)),_0x4d0b1c=new _0x39b8c3([{'type':_0x400fdc(0xc9),'model':new _0x1c4ac9({'withText':!0x0,'isToggleable':!0x0,'label':_0x208cc8,'commandName':_0x400fdc(0xe3),'role':_0x400fdc(0x11e)})},{'type':_0x400fdc(0x12b)},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x12a)),'commandName':_0x400fdc(0x148),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x141)),'commandName':_0x400fdc(0xc2),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0xd6)),'commandName':_0x400fdc(0xfe),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x12e)),'commandName':_0x400fdc(0xc8),'role':_0x400fdc(0xd7)})}]);for(const _0x4b6c58 of _0x4d0b1c)if(me(_0x4b6c58)){const _0x380e6c=_0x4e09ed[_0x400fdc(0x111)][_0x400fdc(0x14b)](_0x4b6c58[_0x400fdc(0x103)][_0x400fdc(0xf0)]);_0x4b6c58[_0x400fdc(0x103)][_0x400fdc(0x127)](_0x400fdc(0xe7),_0x400fdc(0xde))['to'](_0x380e6c,_0x400fdc(0xc4),_0x400fdc(0xde));}_0x4e09ed['ui'][_0x400fdc(0x10f)][_0x400fdc(0x100)](_0x400fdc(0xe3),_0x1f91e8=>this[_0x400fdc(0x110)](_0x1f91e8,_0x4d0b1c,_0x208cc8)),_0x4e09ed['ui'][_0x400fdc(0x10f)][_0x400fdc(0x100)](_0x400fdc(0xbf),_0x20497c=>this[_0x400fdc(0xd4)](_0x20497c,_0x4d0b1c,_0x208cc8));}[_0x10d19a(0x110)](_0x59ef4f,_0x304f71,_0x33b868){const _0xd8b8b8=_0x10d19a,_0x3440cd=_0x5604e7(_0x59ef4f,_0x2ba346),_0x427278=this[_0xd8b8b8(0x106)][_0xd8b8b8(0x111)][_0xd8b8b8(0x14b)](_0xd8b8b8(0xe3));_0x3440cd[_0xd8b8b8(0x13f)][_0xd8b8b8(0x121)]({'tooltip':_0x33b868,'label':_0x33b868,'icon':_0xd8129f}),_0x3440cd[_0xd8b8b8(0x13f)][_0xd8b8b8(0x127)](_0xd8b8b8(0xe7))['to'](_0x427278,_0xd8b8b8(0xc4)),_0x3440cd[_0xd8b8b8(0x13f)]['on'](_0xd8b8b8(0x124),()=>{const _0x237ee3=_0xd8b8b8;_0x427278[_0x237ee3(0x124)](),this[_0x237ee3(0x106)][_0x237ee3(0x12f)][_0x237ee3(0xc5)][_0x237ee3(0xf3)]();}),_0x124b5e(_0x3440cd,_0x304f71,{'role':_0xd8b8b8(0xe2)});const _0x236f24=[];for(const _0x33b18e of _0x304f71)me(_0x33b18e)&&_0x236f24[_0xd8b8b8(0x12d)](this[_0xd8b8b8(0x106)][_0xd8b8b8(0x111)][_0xd8b8b8(0x14b)](_0x33b18e[_0xd8b8b8(0x103)][_0xd8b8b8(0xf0)]));const _0x137c55=_0x3440cd[_0xd8b8b8(0x13f)];return _0x137c55[_0xd8b8b8(0x11f)][_0xd8b8b8(0xbc)](_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x14a)][_0xd8b8b8(0xbc)](_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x11f)][_0xd8b8b8(0x127)](_0xd8b8b8(0xde))['to'](_0x427278,_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x14a)][_0xd8b8b8(0x127)](_0xd8b8b8(0xde))[_0xd8b8b8(0x105)](_0x236f24,_0xd8b8b8(0xde),(..._0x4fadbc)=>_0x4fadbc[_0xd8b8b8(0xf2)](_0x395532=>_0x395532)),_0x3440cd['on'](_0xd8b8b8(0x124),_0x4e6aab=>{const _0x69e0cc=_0xd8b8b8;this[_0x69e0cc(0x106)][_0x69e0cc(0x124)](_0x4e6aab[_0x69e0cc(0x116)][_0x69e0cc(0xf0)]),this[_0x69e0cc(0x106)][_0x69e0cc(0x12f)][_0x69e0cc(0xc5)][_0x69e0cc(0xf3)]();}),_0x3440cd;}[_0x10d19a(0xd4)](_0x453518,_0x18a126,_0x384769){const _0x232215=_0x10d19a,_0x128c39=new _0x2cfe13(_0x453518),_0x43241b=this[_0x232215(0x106)][_0x232215(0x111)][_0x232215(0x14b)](_0x232215(0xe3));_0x128c39[_0x232215(0x13f)][_0x232215(0x121)]({'label':_0x384769,'icon':_0xd8129f});const _0x4a1a33=new _0x5c9018(_0x453518);for(const _0x3c0401 of _0x18a126){if(_0x232215(0x12b)==_0x3c0401[_0x232215(0xcf)]){_0x4a1a33[_0x232215(0x10d)][_0x232215(0x100)](new _0xf99e71(_0x453518));continue;}const _0x510a12=new _0x5ba33a(_0x453518,_0x128c39),_0x488576=new _0x3e7a06(_0x453518),_0x5e0e30=_0x3c0401[_0x232215(0x103)];_0x488576[_0x232215(0x127)](...Object[_0x232215(0xc3)](_0x5e0e30))['to'](_0x5e0e30),_0x488576[_0x232215(0x101)](_0x232215(0x124))['to'](_0x128c39),_0x488576['on'](_0x232215(0x124),()=>{const _0x4f8ee2=_0x232215;this[_0x4f8ee2(0x106)][_0x4f8ee2(0x124)](_0x5e0e30[_0x4f8ee2(0xf0)]),this[_0x4f8ee2(0x106)][_0x4f8ee2(0x12f)][_0x4f8ee2(0xc5)][_0x4f8ee2(0xf3)]();}),_0x510a12[_0x232215(0x118)][_0x232215(0x100)](_0x488576),_0x4a1a33[_0x232215(0x10d)][_0x232215(0x100)](_0x510a12);}return _0x128c39[_0x232215(0x127)](_0x232215(0xde))['to'](_0x43241b,_0x232215(0xde)),_0x128c39[_0x232215(0xe0)][_0x232215(0x118)][_0x232215(0x100)](_0x4a1a33),_0x128c39;}[_0x10d19a(0x143)](_0x5ecfb8){const _0x2efb6b=_0x10d19a,_0x440836=this[_0x2efb6b(0x106)],_0x15af55=_0x440836[_0x2efb6b(0x147)],_0x372840=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0xb7)),_0x3785a8=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x139)),_0x5b4cf7=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x146)),_0x5788b7=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x10ca33)['me'],_0x3f2177=_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xe3))[_0x2efb6b(0xf5)],_0x56154f=_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xe3))[_0x2efb6b(0xf6)],{CommentsListView:_0x4d8376,CommentThreadInputView:_0x11c8ac}=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0xd1));let _0x254320,_0x2e7952,_0x363748;this[_0x2efb6b(0xcd)][_0x2efb6b(0xb8)](_0x5ecfb8['id'])?(_0x2e7952=this[_0x2efb6b(0xcd)][_0x2efb6b(0x14b)](_0x5ecfb8['id']),_0x254320=_0x2e7952[_0x2efb6b(0x125)]):(_0x254320=new _0x3f2177(_0x440836[_0x2efb6b(0x128)],_0x5ecfb8,_0x5788b7,{'disableComments':this[_0x2efb6b(0x129)],'editorConfig':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xdc)),'maxCommentsWhenCollapsed':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x136)),'maxThreadTotalWeight':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x113)),'maxCommentCharsWhenCollapsed':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xef)),'formatDateTime':_0x43d5c5(_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x128))),'CommentView':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xb9))[_0x2efb6b(0x10a)],'CommentsListView':_0x4d8376,'CommentThreadInputView':_0x11c8ac,'SuggestionView':_0x56154f}),_0x254320[_0x2efb6b(0x119)][_0x2efb6b(0xb5)]['on'](_0x2efb6b(0x124),()=>{const _0x243ad2=_0x2efb6b;_0x440836[_0x243ad2(0x12f)][_0x243ad2(0xc5)][_0x243ad2(0xf3)]();}),_0x254320[_0x2efb6b(0x119)][_0x2efb6b(0xba)]['on'](_0x2efb6b(0x124),()=>{const _0x3ac134=_0x2efb6b;_0x440836[_0x3ac134(0x12f)][_0x3ac134(0xc5)][_0x3ac134(0xf3)]();}),_0x2e7952=_0x372840[_0x2efb6b(0xed)](this[_0x2efb6b(0x106)][_0x2efb6b(0x128)],_0x254320),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0x122))['to'](_0x254320,_0x2efb6b(0x122)),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0x10c))['to'](_0x254320),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0xcf))['to'](_0x254320,_0x2efb6b(0xcf),_0x3b1da5=>_0x2efb6b(0xe8)+_0x3b1da5),_0x254320['on'](_0x2efb6b(0x115),()=>{const _0x1e0988=_0x2efb6b;_0x363748[_0x1e0988(0xce)](_0x1e0988(0x115));}),this[_0x2efb6b(0xcd)][_0x2efb6b(0x121)](_0x5ecfb8['id'],_0x2e7952));const _0x5808dd=_0x3785a8[_0x2efb6b(0xbd)](_0x5ecfb8[_0x2efb6b(0xec)],_0x254320),_0x193d61=new _0x1b006f(_0x440836,_0x5ecfb8,_0x254320,_0x5808dd),_0x336341=_0x5ecfb8[_0x2efb6b(0xfb)]()[_0x2efb6b(0x13e)](_0x2c685e=>_0x2c685e[_0x2efb6b(0xb6)]);_0x254320[_0x2efb6b(0xf8)]=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x114))[_0x2efb6b(0xe9)][_0x2efb6b(0xe6)](_0x336341),this[_0x2efb6b(0x142)][_0x2efb6b(0x121)](_0x5ecfb8,_0x193d61),this[_0x2efb6b(0x140)][_0x2efb6b(0x121)](_0x254320,_0x193d61),_0x363748=_0x372840[_0x2efb6b(0x108)]({'view':_0x2e7952,'target':()=>{const _0x4bdd0f=_0x2efb6b,_0x523e97=[],_0x1d19b0=_0x5ecfb8[_0x4bdd0f(0xfb)]()[_0x4bdd0f(0x13e)](_0x4b7ecd=>_0x4b7ecd[_0x4bdd0f(0xb6)]);for(const _0x462a3c of _0x1d19b0)_0x523e97[_0x4bdd0f(0x12d)](..._0x462a3c[_0x4bdd0f(0x134)]());return _0x2eecaf(_0x440836[_0x4bdd0f(0x12f)],_0x523e97);},'type':()=>_0x2efb6b(0xe8)+_0x193d61[_0x2efb6b(0xc5)][_0x2efb6b(0xcf)]}),_0x3785a8[_0x2efb6b(0xdd)](_0x254320,_0x363748),_0x372840[_0x2efb6b(0x100)](_0x363748),_0x5b4cf7[_0x2efb6b(0xfd)](_0x363748);}[_0x10d19a(0xdb)](_0x2ff8c4){const _0x46077c=_0x10d19a,_0x5231a3=this[_0x46077c(0x106)][_0x46077c(0x131)][_0x46077c(0x14b)](_0x46077c(0x139)),_0x14cfe6=this[_0x46077c(0x106)][_0x46077c(0x131)][_0x46077c(0x14b)](_0x46077c(0xb7)),_0x1f5880=this[_0x46077c(0x142)][_0x46077c(0x14b)](_0x2ff8c4),_0x254682=_0x1f5880[_0x46077c(0xc5)],_0x574c62=_0x14cfe6[_0x46077c(0x117)](_0x254682);_0x5231a3[_0x46077c(0xd0)](_0x254682),_0x574c62&&_0x14cfe6[_0x46077c(0xd3)](_0x574c62),this[_0x46077c(0x142)][_0x46077c(0x135)](_0x2ff8c4),this[_0x46077c(0x140)][_0x46077c(0x135)](_0x254682),_0x1f5880[_0x46077c(0x112)]();}[_0x10d19a(0x13c)](_0x8a60e1){const _0x1dd34c=_0x10d19a;if(!_0x8a60e1[_0x1dd34c(0xb6)]||!this[_0x1dd34c(0x142)][_0x1dd34c(0xb8)](_0x8a60e1))return;const _0x2474c1=this[_0x1dd34c(0x106)][_0x1dd34c(0x131)][_0x1dd34c(0x14b)](_0x1dd34c(0x114)),_0xfcab7b=this[_0x1dd34c(0x142)][_0x1dd34c(0x14b)](_0x8a60e1),_0x49c63d=_0x8a60e1[_0x1dd34c(0xfb)]();_0xfcab7b[_0x1dd34c(0xc5)][_0x1dd34c(0xf8)]=_0x2474c1[_0x1dd34c(0xe9)][_0x1dd34c(0xe6)](_0x49c63d);}[_0x10d19a(0x112)](){const _0x2772e6=_0x10d19a;for(const _0x75260b of this[_0x2772e6(0x142)][_0x2772e6(0xc3)]())this[_0x2772e6(0xdb)](_0x75260b);for(const _0x30286b of this[_0x2772e6(0xcd)][_0x2772e6(0xf7)]())_0x30286b[_0x2772e6(0x125)][_0x2772e6(0x112)]();super[_0x2772e6(0x112)]();}}function _0x2e70(_0x191051,_0x4c0ce1){const _0x3c53f2=_0x3c53();return _0x2e70=function(_0x2e7057,_0x56cac5){_0x2e7057=_0x2e7057-0xb4;let _0x287bf8=_0x3c53f2[_0x2e7057];return _0x287bf8;},_0x2e70(_0x191051,_0x4c0ce1);}function me(_0x4b4894){const _0x22b8c4=_0x10d19a;return _0x22b8c4(0x103)in _0x4b4894;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x6208b6=_0x1e0d;function _0x1e0d(_0x3b6ad2,_0x693d42){const _0x32727a=_0x3272();return _0x1e0d=function(_0x1e0d4f,_0x15bb87){_0x1e0d4f=_0x1e0d4f-0xc2;let _0x39b104=_0x32727a[_0x1e0d4f];return _0x39b104;},_0x1e0d(_0x3b6ad2,_0x693d42);}(function(_0x548e34,_0x373005){const _0x32f62b=_0x1e0d,_0x22b0ff=_0x548e34();while(!![]){try{const _0x5ebf25=parseInt(_0x32f62b(0xd9))/0x1*(parseInt(_0x32f62b(0xe5))/0x2)+-parseInt(_0x32f62b(0xe8))/0x3*(-parseInt(_0x32f62b(0xd4))/0x4)+parseInt(_0x32f62b(0xcb))/0x5*(-parseInt(_0x32f62b(0xe3))/0x6)+parseInt(_0x32f62b(0xcd))/0x7+-parseInt(_0x32f62b(0xc5))/0x8+-parseInt(_0x32f62b(0xd8))/0x9+-parseInt(_0x32f62b(0xc4))/0xa*(parseInt(_0x32f62b(0xc8))/0xb);if(_0x5ebf25===_0x373005)break;else _0x22b0ff['push'](_0x22b0ff['shift']());}catch(_0x37c73e){_0x22b0ff['push'](_0x22b0ff['shift']());}}}(_0x3272,0xb4072));function _0x3272(){const _0xc38be6=['3293568VqmMDl','stopListening','execute','59719xkUHsm','bind','getRanges','661055xtsYwq','commands','8236305RfttwR','acceptSuggestion','commentThreadController','isEnabled','unbind','remove','_removePendingAction','3251312sKoRtk','listenTo','model','destroy','9265302WFflMb','13DLNOOF','_pendingAction','discardSuggestion','plugins','canAccept','add','get','_acceptCommand','view','PendingActions','6nNJQFY','_setPendingAction','138806TyXdbk','isDirty','change:isDirty','3MEDtSw','_discardCommand','_editor','canDiscard','locale','PENDING_ACTION_SUGGESTION','canEditAt','1070eHrgiF'];_0x3272=function(){return _0xc38be6;};return _0x3272();}import{ObservableMixin as _0x525717}from'ckeditor5/src/utils.js';import{getTranslation as _0x367c7f}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x525717(){constructor(_0x7db783,_0x45453c,_0x11777d,_0x279431){const _0x9c0eb=_0x1e0d;super(),this[_0x9c0eb(0xd6)]=_0x45453c,this[_0x9c0eb(0xe1)]=_0x11777d,this[_0x9c0eb(0xcf)]=_0x279431,this[_0x9c0eb(0xea)]=_0x7db783,this[_0x9c0eb(0xe0)]=_0x7db783[_0x9c0eb(0xcc)][_0x9c0eb(0xdf)](_0x9c0eb(0xce)),this[_0x9c0eb(0xe9)]=_0x7db783[_0x9c0eb(0xcc)][_0x9c0eb(0xdf)](_0x9c0eb(0xdb)),this[_0x9c0eb(0xe1)][_0x9c0eb(0xc9)](_0x9c0eb(0xd0))['to'](this[_0x9c0eb(0xe0)],this[_0x9c0eb(0xe9)],(_0x1a44c9,_0x43115e)=>_0x1a44c9||_0x43115e),this[_0x9c0eb(0xe1)][_0x9c0eb(0xc9)](_0x9c0eb(0xdd))['to'](this[_0x9c0eb(0xe0)],_0x9c0eb(0xd0),_0x510bb5=>_0x510bb5&&this[_0x9c0eb(0xea)][_0x9c0eb(0xd6)][_0x9c0eb(0xc3)](_0x45453c[_0x9c0eb(0xca)]())),this[_0x9c0eb(0xe1)][_0x9c0eb(0xc9)](_0x9c0eb(0xeb))['to'](this[_0x9c0eb(0xe9)],_0x9c0eb(0xd0),_0x1b775b=>_0x1b775b&&this[_0x9c0eb(0xea)][_0x9c0eb(0xd6)][_0x9c0eb(0xc3)](_0x45453c[_0x9c0eb(0xca)]())),this[_0x9c0eb(0xda)]=null,_0x11777d[_0x9c0eb(0xe6)]&&this[_0x9c0eb(0xe4)](),this[_0x9c0eb(0xd5)](_0x11777d,_0x9c0eb(0xce),()=>this[_0x9c0eb(0xce)]()),this[_0x9c0eb(0xd5)](_0x11777d,_0x9c0eb(0xdb),()=>this[_0x9c0eb(0xdb)]()),this[_0x9c0eb(0xd5)](_0x11777d,_0x9c0eb(0xe7),()=>{const _0x41340b=_0x9c0eb;_0x11777d[_0x41340b(0xe6)]?this[_0x41340b(0xe4)]():this[_0x41340b(0xd3)]();});}[_0x6208b6(0xce)](){const _0x802920=_0x6208b6;this[_0x802920(0xe0)][_0x802920(0xc7)](this[_0x802920(0xd6)]['id']);}[_0x6208b6(0xdb)](){const _0x4da2a2=_0x6208b6;this[_0x4da2a2(0xe9)][_0x4da2a2(0xc7)](this[_0x4da2a2(0xd6)]['id']);}[_0x6208b6(0xd7)](){const _0x4b5164=_0x6208b6;this[_0x4b5164(0xe1)][_0x4b5164(0xd1)](_0x4b5164(0xd0)),this[_0x4b5164(0xe1)][_0x4b5164(0xd1)](_0x4b5164(0xdd)),this[_0x4b5164(0xe1)][_0x4b5164(0xd1)](_0x4b5164(0xeb)),this[_0x4b5164(0xc6)](),this[_0x4b5164(0xcf)][_0x4b5164(0xd7)](),this[_0x4b5164(0xda)]&&this[_0x4b5164(0xd3)]();}[_0x6208b6(0xe4)](){const _0xe19c42=_0x6208b6,_0x2695a2=_0x367c7f(this[_0xe19c42(0xea)][_0xe19c42(0xec)],_0xe19c42(0xc2));this[_0xe19c42(0xda)]=this[_0xe19c42(0xea)][_0xe19c42(0xdc)][_0xe19c42(0xdf)](_0xe19c42(0xe2))[_0xe19c42(0xde)](_0x2695a2);}[_0x6208b6(0xd3)](){const _0x625c14=_0x6208b6;null!==this[_0x625c14(0xda)]&&this[_0x625c14(0xea)][_0x625c14(0xdc)][_0x625c14(0xdf)](_0x625c14(0xe2))[_0x625c14(0xd2)](this[_0x625c14(0xda)]),this[_0x625c14(0xda)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1f12(){const _0x25d7d8=['hasDirtyComment','8028CGJfMK','bind','length','editor','fire','join','123lKYtDD','shift+tab','71701vWnPdN','focusTracker','_createCommentThreadInputView','locale','text/html','24rCZLxc','disabledSubmit','SUGGESTION_THREAD_ARIA_LABEL','4138056yPBebT','tab','submit','render','_model','showInput','838764lvzbqO','248xqcGHd','_createCommentViews','6yMnPuk','ariaLabel','50riCmeQ','680207YRfwby','addComment','map','SUGGESTION_THREAD_DESCRIPTION','descriptionParts','target','CommentView','2516860yOiLpa','_config','focus','value','assign','content','isEnabled','editorConfig','parseFromString','authoredAt','delegate','disableComments','commentThread','467403jdmJuV','setData','_localUser','commentInputView','isReadOnly','textContent','destroy','commentsListView','element','name','body','cancel','isDirty','canAccept','canDiscard','isActive','focusCycler','commentThreadInputView','ariaDescriptionView','set','removeComment','keystrokes','author','updateComment','formatDateTime','focusables'];_0x1f12=function(){return _0x25d7d8;};return _0x1f12();}const _0x4ef740=_0x5e1e;(function(_0x2adad4,_0x49b86d){const _0x21f52b=_0x5e1e,_0x45ba40=_0x2adad4();while(!![]){try{const _0x26704b=-parseInt(_0x21f52b(0x1da))/0x1*(-parseInt(_0x21f52b(0x1d4))/0x2)+-parseInt(_0x21f52b(0x1b9))/0x3*(-parseInt(_0x21f52b(0x1e1))/0x4)+parseInt(_0x21f52b(0x1f7))/0x5*(-parseInt(_0x21f52b(0x1ed))/0x6)+parseInt(_0x21f52b(0x1dc))/0x7*(-parseInt(_0x21f52b(0x1eb))/0x8)+parseInt(_0x21f52b(0x1ea))/0x9*(-parseInt(_0x21f52b(0x1ef))/0xa)+parseInt(_0x21f52b(0x1f0))/0xb+parseInt(_0x21f52b(0x1e4))/0xc;if(_0x26704b===_0x49b86d)break;else _0x45ba40['push'](_0x45ba40['shift']());}catch(_0x19798f){_0x45ba40['push'](_0x45ba40['shift']());}}}(_0x1f12,0x85dde));function _0x5e1e(_0x2bea0e,_0x57b274){const _0x1f121a=_0x1f12();return _0x5e1e=function(_0x5e1ef2,_0x3bd810){_0x5e1ef2=_0x5e1ef2-0x1b1;let _0x39bc03=_0x1f121a[_0x5e1ef2];return _0x39bc03;},_0x5e1e(_0x2bea0e,_0x57b274);}import{FocusCycler as _0x49b4c9,View as _0x2ddeeb,ViewCollection as _0x218702}from'ckeditor5/src/ui.js';import{FocusTracker as _0x52958e,KeystrokeHandler as _0xcb8e53}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3a9f0a,setupThreadKeyboardNavigation as _0x373939}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x9403ea}from'../../utils/common-translations.js';import{renderDescription as _0x47e347}from'../../utils/utils.js';export default class us extends _0x2ddeeb{constructor(_0x4b86b4,_0x44668f,_0x6740e9,_0x56a082){const _0x52aaea=_0x5e1e;super(_0x4b86b4),this[_0x52aaea(0x1c0)]=null,this[_0x52aaea(0x1ca)]=null,this[_0x52aaea(0x1cb)]=new _0x3a9f0a(_0x4b86b4,_0x9403ea(_0x4b86b4,_0x52aaea(0x1f3))),this[_0x52aaea(0x1cc)](_0x52aaea(0x1c8),!0x1),this[_0x52aaea(0x1cc)](_0x52aaea(0x1b5),_0x44668f[_0x52aaea(0x1b5)]),this[_0x52aaea(0x1d5)](_0x52aaea(0x1b5))['to'](_0x44668f),this[_0x52aaea(0x1cc)](_0x52aaea(0x1f4),[]),this[_0x52aaea(0x1cc)](_0x52aaea(0x1c5),!0x1),this[_0x52aaea(0x1cc)](_0x52aaea(0x1b2),!0x1),this[_0x52aaea(0x1cc)](_0x52aaea(0x1c6),!0x1),this[_0x52aaea(0x1cc)](_0x52aaea(0x1c7),!0x1),this[_0x52aaea(0x1d5)](_0x52aaea(0x1ee))['to'](this,_0x52aaea(0x1d6),_0x44668f,_0x52aaea(0x1b5),this,_0x52aaea(0x1f4),(_0x18c6ae,_0x2c0695,_0x2a1aed)=>{const _0x5f4ad4=_0x52aaea,_0x5a0502=_0x2a1aed[_0x5f4ad4(0x1f2)](_0x5bb118=>_0x47e347(_0x5bb118[_0x5f4ad4(0x1b1)]))[_0x5f4ad4(0x1d9)]('.\x20')+'.';return _0x9403ea(this[_0x5f4ad4(0x1df)],_0x5f4ad4(0x1e3),[_0x18c6ae-0x1,_0x44668f[_0x5f4ad4(0x1cf)][_0x5f4ad4(0x1c2)],_0x2c0695?_0x56a082[_0x5f4ad4(0x1d1)](_0x2c0695):'',new DOMParser()[_0x5f4ad4(0x1b4)](_0x5a0502,_0x5f4ad4(0x1e0))[_0x5f4ad4(0x1c3)][_0x5f4ad4(0x1be)]]);}),this[_0x52aaea(0x1d2)]=new _0x218702(),this[_0x52aaea(0x1dd)]=new _0x52958e(),this[_0x52aaea(0x1ce)]=new _0xcb8e53(),this[_0x52aaea(0x1c9)]=new _0x49b4c9({'focusables':this[_0x52aaea(0x1d2)],'focusTracker':this[_0x52aaea(0x1dd)],'keystrokeHandler':this[_0x52aaea(0x1ce)],'keystrokeHandlerOptions':{'filter':_0x6f10a=>_0x6f10a[_0x52aaea(0x1f5)]!==this[_0x52aaea(0x1c1)]},'actions':{'focusPrevious':_0x52aaea(0x1db),'focusNext':_0x52aaea(0x1e5)}}),this[_0x52aaea(0x1e8)]=_0x44668f,this[_0x52aaea(0x1bb)]=_0x6740e9,this[_0x52aaea(0x1f8)]=_0x56a082,_0x56a082[_0x52aaea(0x1b7)]?this[_0x52aaea(0x1cc)](_0x52aaea(0x1d6),0x1):this[_0x52aaea(0x1ec)]();}[_0x4ef740(0x1e7)](){const _0x2634b4=_0x4ef740;super[_0x2634b4(0x1e7)](),_0x373939(this,this[_0x2634b4(0x1d2)]);}[_0x4ef740(0x1f9)](){const _0x373c69=_0x4ef740;this[_0x373c69(0x1c1)][_0x373c69(0x1f9)]();}[_0x4ef740(0x1bf)](){const _0x666937=_0x4ef740;this[_0x666937(0x1c0)]&&this[_0x666937(0x1c0)][_0x666937(0x1bf)](),this[_0x666937(0x1ca)]&&this[_0x666937(0x1ca)][_0x666937(0x1bf)](),super[_0x666937(0x1bf)]();}[_0x4ef740(0x1ec)](){const _0x478fef=_0x4ef740,{CommentsListView:_0xce87e2}=this[_0x478fef(0x1f8)];this[_0x478fef(0x1c0)]=new _0xce87e2(this[_0x478fef(0x1df)],this[_0x478fef(0x1e8)][_0x478fef(0x1b8)],Object[_0x478fef(0x1fb)]({'CommentView':this[_0x478fef(0x1f8)][_0x478fef(0x1f6)]},this[_0x478fef(0x1f8)])),this[_0x478fef(0x1c0)][_0x478fef(0x1b6)](_0x478fef(0x1cd))['to'](this),this[_0x478fef(0x1c0)][_0x478fef(0x1b6)](_0x478fef(0x1d0))['to'](this),this[_0x478fef(0x1c0)][_0x478fef(0x1d5)](_0x478fef(0x1c8))['to'](this),this[_0x478fef(0x1cc)](_0x478fef(0x1d6),this[_0x478fef(0x1c0)][_0x478fef(0x1d6)]+0x1),this[_0x478fef(0x1d5)](_0x478fef(0x1d6))['to'](this[_0x478fef(0x1c0)],_0x478fef(0x1d6),_0x31b4e1=>_0x31b4e1+0x1),this[_0x478fef(0x1ca)]=this[_0x478fef(0x1de)](),this['on'](_0x478fef(0x1cd),()=>this[_0x478fef(0x1f9)]()),this[_0x478fef(0x1d5)](_0x478fef(0x1c5))['to'](this[_0x478fef(0x1c0)],_0x478fef(0x1d3),this[_0x478fef(0x1ca)][_0x478fef(0x1bc)],_0x478fef(0x1fa),(_0x10d7f1,_0x31476a)=>_0x10d7f1||!!_0x31476a);}[_0x4ef740(0x1de)](){const _0x82e874=_0x4ef740,{CommentThreadInputView:_0x163c60}=this[_0x82e874(0x1f8)],_0xf725e9=new _0x163c60(this[_0x82e874(0x1df)],this[_0x82e874(0x1bb)],this[_0x82e874(0x1f8)][_0x82e874(0x1b3)]),_0x473b2c=_0xf725e9[_0x82e874(0x1bc)];return _0xf725e9[_0x82e874(0x1d5)](_0x82e874(0x1e9))['to'](this,_0x82e874(0x1c8),this[_0x82e874(0x1e8)][_0x82e874(0x1b8)],_0x82e874(0x1bd),_0x473b2c,_0x82e874(0x1fa),(_0x56f699,_0x171e8d,_0x3f9b9a)=>!!_0x3f9b9a||_0x56f699&&!_0x171e8d),_0x473b2c['on'](_0x82e874(0x1e6),(_0x5a9626,_0x2941d8)=>{const _0x5b94ec=_0x82e874;this[_0x5b94ec(0x1d8)](_0x5b94ec(0x1f1),_0x2941d8),_0x473b2c[_0x5b94ec(0x1d7)][_0x5b94ec(0x1ba)]('');}),_0x473b2c['on'](_0x82e874(0x1c4),()=>this[_0x82e874(0x1f9)]()),_0x473b2c[_0x82e874(0x1d5)](_0x82e874(0x1e2))['to'](this[_0x82e874(0x1e8)][_0x82e874(0x1b8)],_0x82e874(0x1bd)),_0xf725e9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3e9c(){const _0xcc863c=['_config','acceptSuggestion','1426880szXIiv','discardSuggestion','<p>','content','canDiscard','set','author','listitem','ck-suggestion--disabled-comments','add','getTemplate','description','23022kRqDdu','formatDateTime','isActive','35NYXSij','acceptButton','commentThread','setTemplate','commentsListView','ariaDescriptionView','suggestionView','type','editorDestroyed','editorReady','1318ljdZFQ','descriptionParts','isEnabled','discardButton','ck-suggestion-wrapper--active','1038366evRdqO','div','582RhXJVQ','SuggestionView','commentThreadInputView','color','bind','canAccept','669696DXisNp','_model','3234216tIRnrM','ck-suggestion-','</p>','delegate','disableComments','focusables','ck-rounded-corners','3796875OBTLnj','_descriptionElement','bindTemplate','push','ariaLabel','ck-suggestion-wrapper','render'];_0x3e9c=function(){return _0xcc863c;};return _0x3e9c();}const _0x552955=_0x40a7;(function(_0x11b5e1,_0x9be17a){const _0xbd6722=_0x40a7,_0x2638ca=_0x11b5e1();while(!![]){try{const _0x502ec7=parseInt(_0xbd6722(0x138))/0x1+-parseInt(_0xbd6722(0x12b))/0x2*(parseInt(_0xbd6722(0x132))/0x3)+parseInt(_0xbd6722(0x13a))/0x4+-parseInt(_0xbd6722(0x121))/0x5*(parseInt(_0xbd6722(0x11e))/0x6)+-parseInt(_0xbd6722(0x130))/0x7+-parseInt(_0xbd6722(0x14a))/0x8+-parseInt(_0xbd6722(0x141))/0x9;if(_0x502ec7===_0x9be17a)break;else _0x2638ca['push'](_0x2638ca['shift']());}catch(_0x4ca649){_0x2638ca['push'](_0x2638ca['shift']());}}}(_0x3e9c,0x8c5fc));function _0x40a7(_0x5f582c,_0x3b429c){const _0x3e9cf8=_0x3e9c();return _0x40a7=function(_0x40a7f4,_0x3bed9e){_0x40a7f4=_0x40a7f4-0x11c;let _0x7ad124=_0x3e9cf8[_0x40a7f4];return _0x7ad124;},_0x40a7(_0x5f582c,_0x3b429c);}import{default as _0xd967a7}from'./basesuggestionthreadview.js';import{trimHtml as _0x3d9bf1}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0xe8fedc}from'../../utils/utils.js';export default class re extends _0xd967a7{constructor(_0x79e55d,_0x4f08a6,_0x2f9d84,_0x2bbf26){const _0x37be5e=_0x40a7;super(_0x79e55d,_0x4f08a6,_0x2f9d84,_0x2bbf26),this[_0x37be5e(0x14f)](_0x37be5e(0x128),''),this[_0x37be5e(0x136)](_0x37be5e(0x128))['to'](this,_0x37be5e(0x12c),_0xd4531e=>_0xd4531e&&_0xd4531e[0x0]?_0xd4531e[0x0][_0x37be5e(0x128)]:''),this[_0x37be5e(0x136)](_0x37be5e(0x11d))['to'](this,_0x37be5e(0x12c),this,_0x37be5e(0x120),(_0x18bc42,_0xcab13d)=>{const _0x3b975a=_0x37be5e;let _0x1aa020='';for(const _0x28f808 of _0x18bc42)_0x1aa020+=_0x3b975a(0x14c)+_0xe8fedc(_0x28f808[_0x3b975a(0x14d)],_0x28f808[_0x3b975a(0x135)])+_0x3b975a(0x13c);return _0xcab13d?_0x1aa020:_0x3d9bf1(_0x1aa020,{'limit':0x8c});}),this[_0x37be5e(0x142)]=null,this[_0x37be5e(0x127)]=new _0x2bbf26[(_0x37be5e(0x133))](_0x79e55d,_0x4f08a6,{'formatDateTime':_0x2bbf26[_0x37be5e(0x11f)]}),this[_0x37be5e(0x127)][_0x37be5e(0x136)](_0x37be5e(0x11d))['to'](this),this[_0x37be5e(0x127)][_0x37be5e(0x13d)](_0x37be5e(0x149),_0x37be5e(0x14b))['to'](this),this[_0x37be5e(0x127)][_0x37be5e(0x122)][_0x37be5e(0x136)](_0x37be5e(0x12d))['to'](this,_0x37be5e(0x137)),this[_0x37be5e(0x127)][_0x37be5e(0x12e)][_0x37be5e(0x136)](_0x37be5e(0x12d))['to'](this,_0x37be5e(0x14e)),this[_0x37be5e(0x13f)][_0x37be5e(0x153)](this[_0x37be5e(0x127)]),this[_0x37be5e(0x125)]&&this[_0x37be5e(0x13f)][_0x37be5e(0x153)](this[_0x37be5e(0x125)]),this[_0x37be5e(0x134)]&&this[_0x37be5e(0x13f)][_0x37be5e(0x153)](this[_0x37be5e(0x134)]),this[_0x37be5e(0x124)](this[_0x37be5e(0x11c)]());}[_0x552955(0x11c)](){const _0x484a8c=_0x552955,_0x409e6e=this[_0x484a8c(0x143)],_0x4a0532=[this[_0x484a8c(0x127)]];return this[_0x484a8c(0x125)]&&_0x4a0532[_0x484a8c(0x144)](this[_0x484a8c(0x125)]),this[_0x484a8c(0x134)]&&_0x4a0532[_0x484a8c(0x144)](this[_0x484a8c(0x134)]),_0x4a0532[_0x484a8c(0x144)](this[_0x484a8c(0x126)]),{'tag':_0x484a8c(0x131),'attributes':{'class':['ck',_0x484a8c(0x140),_0x484a8c(0x146),_0x409e6e['if'](_0x484a8c(0x120),_0x484a8c(0x12f)),_0x409e6e['to'](_0x484a8c(0x128),_0x1652a2=>_0x484a8c(0x13b)+_0x1652a2),this[_0x484a8c(0x148)][_0x484a8c(0x13e)]&&_0x484a8c(0x152)],'data-suggestion-id':this[_0x484a8c(0x139)]['id'],'data-thread-id':this[_0x484a8c(0x139)][_0x484a8c(0x123)]['id'],'data-author-id':this[_0x484a8c(0x139)][_0x484a8c(0x150)]['id'],'tabindex':0x0,'role':_0x484a8c(0x151),'aria-label':_0x409e6e['to'](_0x484a8c(0x145)),'aria-describedby':this[_0x484a8c(0x126)]['id']},'children':_0x4a0532};}[_0x552955(0x147)](){const _0x5e89b1=_0x552955;super[_0x5e89b1(0x147)](),this[_0x5e89b1(0x125)]&&(this[_0x5e89b1(0x125)][_0x5e89b1(0x13d)](_0x5e89b1(0x12a))['to'](this),this[_0x5e89b1(0x125)][_0x5e89b1(0x13d)](_0x5e89b1(0x129))['to'](this)),this[_0x5e89b1(0x134)]&&(this[_0x5e89b1(0x134)][_0x5e89b1(0x13d)](_0x5e89b1(0x12a))['to'](this),this[_0x5e89b1(0x134)][_0x5e89b1(0x13d)](_0x5e89b1(0x129))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dc51c=_0x5561;(function(_0x29355f,_0x360ebc){const _0x4ff7fa=_0x5561,_0x2c9791=_0x29355f();while(!![]){try{const _0x4091af=-parseInt(_0x4ff7fa(0x21f))/0x1*(parseInt(_0x4ff7fa(0x1e6))/0x2)+parseInt(_0x4ff7fa(0x1d0))/0x3+parseInt(_0x4ff7fa(0x1d4))/0x4+-parseInt(_0x4ff7fa(0x20c))/0x5*(-parseInt(_0x4ff7fa(0x224))/0x6)+parseInt(_0x4ff7fa(0x1f7))/0x7+-parseInt(_0x4ff7fa(0x21c))/0x8*(parseInt(_0x4ff7fa(0x218))/0x9)+-parseInt(_0x4ff7fa(0x1ed))/0xa;if(_0x4091af===_0x360ebc)break;else _0x2c9791['push'](_0x2c9791['shift']());}catch(_0x1317e6){_0x2c9791['push'](_0x2c9791['shift']());}}}(_0x51a3,0xe2395));import{FocusTracker as _0x459817,KeystrokeHandler as _0x16880f}from'ckeditor5/src/utils.js';import{View as _0xb6180d,ViewCollection as _0x5049f7,FocusCycler as _0x48f4f8}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5f5b08,UserView as _0x47bfc2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5561(_0x2d5a6e,_0x486e8e){const _0x51a3cf=_0x51a3();return _0x5561=function(_0x55612c,_0x348707){_0x55612c=_0x55612c-0x1cf;let _0x4f13fd=_0x51a3cf[_0x55612c];return _0x4f13fd;},_0x5561(_0x2d5a6e,_0x486e8e);}function _0x51a3(){const _0x1772b7=['target','bindTemplate','1833591khHozV','set','innerHTML','ck-suggestion--accept','7045116hlmcgu','attributes','ck-suggestion','extendTemplate','name','authoredAt','ck-suggestion__info-name','Accept\x20suggestion','ck-annotation__content-wrapper','ck-suggestion__actions','acceptSuggestion','_createButton','_model','ck-comment__info-time','listenTo','span','keystrokes','ck-comment__external','659262kGpUZw','userView','esc','bind','@external','push','ck-suggestion__user','5114070BimOcC','focusFirst','getTemplate','presentation','setTemplate','ck-annotation__main','ck-annotation__info','enter','description','ck-annotation__user','3135013qhQgGc','importWord','Discard\x20suggestion','fire','_config','focus','element','div','discardButton','focusCycler','acceptButton','getExternalSuggestionNote','author','ck-annotation__actions','EXTERNAL_IMPORT_WORD_SUGGESTION','_setupKeyboardNavigation','EXTERNAL_AVATAR','.ck-annotation__content-wrapper','locale','ck-annotation','formatDateTime','5nGBEhx','focusTracker','ck-annotation__info-name','ck-suggestion--discard','discardSuggestion','shift+tab','getUserViewNotificationText','querySelector','tab','cancel','ck-suggestion__main','EXTERNAL_SUGGESTION','291438hjGKYf','ck-annotation__info-time','isExternal','EXTERNAL_IMPORT_WORD_AVATAR','288dVbiXT','source','ck-suggestion__info','2tvwztU','add','check','execute','time','2656194FdrFAM','focusables','creator','change:description','render'];_0x51a3=function(){return _0x1772b7;};return _0x51a3();}import{icons as _0x684366}from'ckeditor5/src/core.js';import{getTranslation as _0x423c15}from'../../utils/common-translations.js';export default class ce extends _0xb6180d{constructor(_0xdab946,_0x47b91f,_0x301ac1){const _0x515036=_0x5561;super(_0xdab946),this[_0x515036(0x1e0)]=_0x47b91f,this[_0x515036(0x1fb)]=_0x301ac1,this[_0x515036(0x1d1)](_0x515036(0x1f5),''),this[_0x515036(0x1e9)](_0x515036(0x1d9))['to'](_0x47b91f),this[_0x515036(0x201)]=this[_0x515036(0x1df)](_0x423c15(_0xdab946,_0x515036(0x1db)),_0x684366[_0x515036(0x221)],_0x515036(0x1d3),_0x515036(0x1de),'sw'),this[_0x515036(0x1ff)]=this[_0x515036(0x1df)](_0x423c15(_0xdab946,_0x515036(0x1f9)),_0x684366[_0x515036(0x215)],_0x515036(0x20f),_0x515036(0x210),'sw'),this[_0x515036(0x1e7)]=new _0x47bfc2(_0xdab946,_0x47b91f[_0x515036(0x203)],this[_0x515036(0x212)]()),this[_0x515036(0x1e7)][_0x515036(0x1d7)]({'attributes':{'class':[_0x515036(0x1ec),_0x515036(0x1f6)],'aria-hidden':!0x0}}),this[_0x515036(0x225)]=new _0x5049f7([this[_0x515036(0x201)],this[_0x515036(0x1ff)]]),this[_0x515036(0x20d)]=new _0x459817(),this[_0x515036(0x1e4)]=new _0x16880f(),this[_0x515036(0x200)]=new _0x48f4f8({'focusables':this[_0x515036(0x225)],'focusTracker':this[_0x515036(0x20d)],'keystrokeHandler':this[_0x515036(0x1e4)],'actions':{'focusPrevious':_0x515036(0x211),'focusNext':_0x515036(0x214)},'keystrokeHandlerOptions':{'filter':_0x2a01e4=>_0x2a01e4[_0x515036(0x229)]!==this[_0x515036(0x1fd)]}}),this[_0x515036(0x1f1)](this[_0x515036(0x1ef)]());}[_0x3dc51c(0x228)](){const _0x44fd91=_0x3dc51c;super[_0x44fd91(0x228)]();const _0x36e148=this[_0x44fd91(0x1fd)][_0x44fd91(0x213)](_0x44fd91(0x208));_0x36e148[_0x44fd91(0x1d2)]=this[_0x44fd91(0x1f5)],this['on'](_0x44fd91(0x227),(_0x2e7a2a,_0x586b07,_0x40f5ef)=>{const _0x5e383c=_0x44fd91;_0x36e148[_0x5e383c(0x1d2)]=_0x40f5ef;}),this[_0x44fd91(0x206)]();}[_0x3dc51c(0x1ef)](){const _0x2bdf05=_0x3dc51c,_0x3d8f3c=this[_0x2bdf05(0x1cf)],_0x4934b9=[{'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x21e),_0x2bdf05(0x1f3)]},'children':[{'tag':_0x2bdf05(0x1e3),'children':[{'text':this[_0x2bdf05(0x1e7)][_0x2bdf05(0x1d8)]}],'attributes':{'class':[_0x2bdf05(0x1da),_0x2bdf05(0x20e)]}},{'tag':_0x2bdf05(0x223),'attributes':{'datetime':_0x3d8f3c['to'](_0x2bdf05(0x1d9)),'class':[_0x2bdf05(0x1e1),_0x2bdf05(0x219)]},'children':[{'text':_0x3d8f3c['to'](_0x2bdf05(0x1d9),_0x32b9d6=>this[_0x2bdf05(0x1fb)][_0x2bdf05(0x20b)](_0x32b9d6))}]}]},{'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x1dd),_0x2bdf05(0x204)]},'children':[this[_0x2bdf05(0x201)],this[_0x2bdf05(0x1ff)]]},{'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x1dc)]}}];return this[_0x2bdf05(0x1e0)][_0x2bdf05(0x21a)]&&_0x4934b9[_0x2bdf05(0x1eb)]({'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x1e5)]},'children':[{'text':this[_0x2bdf05(0x202)]()}]}),{'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x1d6),_0x2bdf05(0x20a)],'tabindex':-0x1},'children':[this[_0x2bdf05(0x1e7)],{'tag':_0x2bdf05(0x1fe),'attributes':{'class':[_0x2bdf05(0x216),_0x2bdf05(0x1f2)],'role':_0x2bdf05(0x1f0)},'children':_0x4934b9}]};}[_0x3dc51c(0x1fc)](){const _0x3217c0=_0x3dc51c;this[_0x3217c0(0x1fd)][_0x3217c0(0x1fc)]();}[_0x3dc51c(0x212)](){const _0x4fc530=_0x3dc51c;return this[_0x4fc530(0x1e0)][_0x4fc530(0x21a)]?_0x4fc530(0x1f8)===this[_0x4fc530(0x1e0)][_0x4fc530(0x1d5)][_0x4fc530(0x1ea)][_0x4fc530(0x21d)]?_0x423c15(this[_0x4fc530(0x209)],_0x4fc530(0x21b),this[_0x4fc530(0x1e0)][_0x4fc530(0x226)][_0x4fc530(0x1d8)]):_0x423c15(this[_0x4fc530(0x209)],_0x4fc530(0x207),this[_0x4fc530(0x1e0)][_0x4fc530(0x226)][_0x4fc530(0x1d8)]):null;}[_0x3dc51c(0x202)](){const _0x4a4193=_0x3dc51c;return _0x4a4193(0x1f8)===this[_0x4a4193(0x1e0)][_0x4a4193(0x1d5)][_0x4a4193(0x1ea)][_0x4a4193(0x21d)]?_0x423c15(this[_0x4a4193(0x209)],_0x4a4193(0x205)):_0x423c15(this[_0x4a4193(0x209)],_0x4a4193(0x217));}[_0x3dc51c(0x1df)](_0x5c89f7,_0x1969b4,_0xa841bf,_0xd8426a,_0x462bac){const _0x40a79f=_0x3dc51c,_0x17a05d=new _0x5f5b08(this[_0x40a79f(0x209)]);return _0x17a05d[_0x40a79f(0x1d1)]({'label':_0x5c89f7,'icon':_0x1969b4,'tooltip':!0x0,'tooltipPosition':_0x462bac}),_0x17a05d[_0x40a79f(0x1d7)]({'attributes':{'class':_0xa841bf}}),_0x17a05d['on'](_0x40a79f(0x222),()=>{const _0x225b44=_0x40a79f;this[_0x225b44(0x1fa)](_0xd8426a,this[_0x225b44(0x1e0)]['id']);}),_0x17a05d;}[_0x3dc51c(0x206)](){const _0x50bca3=_0x3dc51c,_0x553468=this[_0x50bca3(0x1fd)];this[_0x50bca3(0x1e4)][_0x50bca3(0x1e2)](_0x553468);for(const _0x2439d4 of this[_0x50bca3(0x225)])this[_0x50bca3(0x20d)][_0x50bca3(0x220)](_0x2439d4[_0x50bca3(0x1fd)]),this[_0x50bca3(0x1e4)][_0x50bca3(0x1e2)](_0x2439d4[_0x50bca3(0x1fd)]);this[_0x50bca3(0x1e4)][_0x50bca3(0x1d1)](_0x50bca3(0x1f4),(_0x3661ab,_0x531835)=>{const _0x264ec4=_0x50bca3;_0x553468===_0x3661ab[_0x264ec4(0x229)]&&(this[_0x264ec4(0x200)][_0x264ec4(0x1ee)](),_0x531835());}),this[_0x50bca3(0x1e4)][_0x50bca3(0x1d1)](_0x50bca3(0x1e8),(_0x24c180,_0x5cd12e)=>{const _0x2a80c2=_0x50bca3;_0x553468!==_0x24c180[_0x2a80c2(0x229)]&&(this[_0x2a80c2(0x1fc)](),_0x5cd12e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x7456d8,_0x4ff4de,_0x36fbd3){const t=_0x7456d8['t'];switch(_0x4ff4de){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',_0x36fbd3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x36fbd3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x36fbd3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x36fbd3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x36fbd3);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',_0x36fbd3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x36fbd3);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',_0x36fbd3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x36fbd3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x36fbd3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x36fbd3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x36fbd3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x36fbd3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x36fbd3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x36fbd3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x36fbd3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x36fbd3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x36fbd3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x36fbd3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x36fbd3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x36fbd3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x36fbd3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x36fbd3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x36fbd3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x36fbd3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x36fbd3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x36fbd3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x36fbd3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x36fbd3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x36fbd3);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'},_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x36fbd3);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'},_0x36fbd3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x36fbd3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x36fbd3);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'},_0x36fbd3);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'},_0x36fbd3);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'},_0x36fbd3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x36fbd3);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'},_0x36fbd3);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'},_0x36fbd3);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'},_0x36fbd3);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4ff4de;}}
|
|
23
|
+
export function getTranslation(_0x409c6b,_0x228285,_0x1f5ccc){const t=_0x409c6b['t'];switch(_0x228285){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',_0x1f5ccc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1f5ccc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1f5ccc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1f5ccc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1f5ccc);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',_0x1f5ccc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1f5ccc);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',_0x1f5ccc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1f5ccc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1f5ccc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1f5ccc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1f5ccc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1f5ccc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1f5ccc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1f5ccc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1f5ccc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1f5ccc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1f5ccc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1f5ccc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1f5ccc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1f5ccc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1f5ccc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1f5ccc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1f5ccc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1f5ccc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1f5ccc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x228285;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x266f77,_0x1938bc){const _0x36b4d7=_0x1547,_0x3fd2d5=_0x266f77();while(!![]){try{const _0x28a634=parseInt(_0x36b4d7(0x217))/0x1*(parseInt(_0x36b4d7(0x207))/0x2)+parseInt(_0x36b4d7(0x212))/0x3+parseInt(_0x36b4d7(0x200))/0x4+parseInt(_0x36b4d7(0x1f0))/0x5+-parseInt(_0x36b4d7(0x1f5))/0x6+parseInt(_0x36b4d7(0x219))/0x7*(-parseInt(_0x36b4d7(0x210))/0x8)+-parseInt(_0x36b4d7(0x1f6))/0x9*(parseInt(_0x36b4d7(0x1fc))/0xa);if(_0x28a634===_0x1938bc)break;else _0x3fd2d5['push'](_0x3fd2d5['shift']());}catch(_0x471d9a){_0x3fd2d5['push'](_0x3fd2d5['shift']());}}}(_0x25e9,0x333ff));function _0x1547(_0x2223b4,_0x28add7){const _0x25e95f=_0x25e9();return _0x1547=function(_0x154745,_0x43577d){_0x154745=_0x154745-0x1ea;let _0x387673=_0x25e95f[_0x154745];return _0x387673;},_0x1547(_0x2223b4,_0x28add7);}export function normalizeDescription(_0xeadab6){const _0xe6b7db=_0x1547;return Array[_0xe6b7db(0x202)](_0xeadab6)||(_0xeadab6=[_0xeadab6]),_0xeadab6[_0xe6b7db(0x1fe)](_0x56d869=>{const _0x4e7c1d=_0xe6b7db,_0x39a84e=_0x56d869[_0x4e7c1d(0x1ee)][_0x4e7c1d(0x21f)](/\*/g,''),_0x203d29=_0x56d869[_0x4e7c1d(0x215)]?_0x4e7c1d(0x213)+_0x56d869[_0x4e7c1d(0x215)][_0x4e7c1d(0x20a)]+']':'';return'['+_0x56d869[_0x4e7c1d(0x1ec)]+']\x20'+_0x39a84e+_0x203d29;})[_0xe6b7db(0x21a)](';\x20');}export function renderDescription(_0x27770c,_0x1d8780){const _0x18e6d6=_0x1547;let _0x328fef='';return _0x328fef+=_0x27770c[_0x18e6d6(0x218)]('*')[_0x18e6d6(0x1fe)]((_0x4fff91,_0x5ad2bb)=>_0x5ad2bb%0x2!=0x0?_0x18e6d6(0x21b)+nn(_0x4fff91)+_0x18e6d6(0x1eb):nn(_0x4fff91))[_0x18e6d6(0x21a)](''),_0x1d8780&&(_0x328fef+=_0x18e6d6(0x1f8)+_0x1d8780[_0x18e6d6(0x20a)]+_0x18e6d6(0x201)+_0x1d8780[_0x18e6d6(0x1f9)]+_0x18e6d6(0x20f)),_0x328fef;}function nn(_0x20bd68){const _0x1d5cce=_0x1547,_0x542832=document[_0x1d5cce(0x205)](_0x1d5cce(0x203));return _0x542832[_0x1d5cce(0x1ed)]=_0x20bd68,_0x542832[_0x1d5cce(0x1ff)];}export function sortSuggestions(_0x42961a){const _0x20ca13=_0x1547;return _0x42961a[_0x20ca13(0x1f4)]((_0x25b3c7,_0x9a3040)=>_0x20ca13(0x211)==_0x25b3c7[_0x20ca13(0x1ec)]&&_0x20ca13(0x211)!=_0x9a3040[_0x20ca13(0x1ec)]?-0x1:_0x20ca13(0x211)!=_0x25b3c7[_0x20ca13(0x1ec)]&&_0x20ca13(0x211)==_0x9a3040[_0x20ca13(0x1ec)]?0x1:0x0);}export function getSelectedSuggestions(_0x110451,_0xc5c83a){const _0x44ec64=_0x1547,_0xa3fb4d=Array[_0x44ec64(0x1fd)](_0x110451[_0x44ec64(0x1fa)]()),_0x292e11=new Set();for(const _0x2760f8 of _0xc5c83a)if(_0x2760f8[_0x44ec64(0x208)]){for(const _0x4a7d95 of _0xa3fb4d)for(const _0x344068 of _0x2760f8[_0x44ec64(0x1fa)]())(_0x4a7d95[_0x44ec64(0x1ea)](_0x344068)||_0x110451[_0x44ec64(0x1ef)]&&!_0x2760f8[_0x44ec64(0x21e)]&&_0x2760f8[_0x44ec64(0x21c)]&&_0x344068[_0x44ec64(0x1f1)][_0x44ec64(0x20c)](_0x4a7d95[_0x44ec64(0x20e)]))&&_0x292e11[_0x44ec64(0x1f3)](_0x2760f8);}return _0x292e11;}function _0x25e9(){const _0x1c2d91=['isArray','span','isObject','createElement','push','93368mVtDjI','isInContent','change','value','splice','isTouching','execute','start','\x22></span>','8jtsDun','deletion','267351bqXAoj','\x20[color\x20','schema','color','createRange','4mzMGgK','split','1344056ZalzZd','join','<span\x20class=\x22ck-suggestion-type\x22>','next','createPositionBefore','isMultiRange','replace','isIntersecting','</span>','type','innerText','content','isCollapsed','1123420KguUwQ','end','length','add','sort','146310JlIXEF','192006sqYbwj','createPositionAt','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','title','getRanges','createPositionAfter','140ZjbjkJ','from','map','innerHTML','897804OpHtld','\x22\x20title=\x22'];_0x25e9=function(){return _0x1c2d91;};return _0x25e9();}export function getRangesOfBlockGroups(_0x3f62b1,_0x3d179d){const _0x5742c1=_0x1547;let _0x4c64dc,_0x5a43e7=0x0;const _0xbd7941=[],_0x26b03d=_0x3d179d[_0x5742c1(0x214)];for(;_0x5a43e7<_0x3f62b1[_0x5742c1(0x1f2)];){const _0x3f60ee=_0x3f62b1[_0x5a43e7],_0x4ce6da=_0x3f62b1[_0x5a43e7+0x1];_0x4c64dc||(_0x4c64dc=_0x3d179d[_0x5742c1(0x21d)](_0x3f60ee)),on(_0x3d179d,_0x3f60ee,_0x4ce6da)||(_0xbd7941[_0x5742c1(0x206)](_0x3d179d[_0x5742c1(0x216)](_0x4c64dc,_0x26b03d[_0x5742c1(0x204)](_0x3f60ee)?_0x3d179d[_0x5742c1(0x1fb)](_0x3f60ee):_0x3d179d[_0x5742c1(0x1f7)](_0x3f60ee,_0x5742c1(0x1f1)))),_0x4c64dc=null),_0x5a43e7++;}return _0xbd7941;}function on(_0x240919,_0x31326c,_0x3fa572){const _0x4c5678=_0x1547;if(!_0x3fa572)return!0x1;const _0x3f5ff2=_0x240919[_0x4c5678(0x1fb)](_0x31326c),_0x22272c=_0x240919[_0x4c5678(0x21d)](_0x3fa572);return _0x3f5ff2[_0x4c5678(0x20c)](_0x22272c);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2bd875,_0x537b06,_0x451259){const _0x2190ec=_0x1547;for(;_0x451259[_0x2190ec(0x1f2)];){const _0x394b53=_0x451259[_0x2190ec(0x20b)](0x0,0x64);_0x2bd875[_0x2190ec(0x209)](()=>{const _0x4edabc=_0x2190ec;for(const _0x4b0568 of _0x394b53)_0x4b0568[_0x4edabc(0x208)]&&_0x537b06[_0x4edabc(0x20d)](_0x4b0568['id']);});}}
|