@ckeditor/ckeditor5-track-changes 41.0.0 → 41.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/he.js +1 -1
  3. package/build/translations/pt.js +1 -1
  4. package/build/translations/ro.js +1 -1
  5. package/lang/translations/he.po +1 -4
  6. package/lang/translations/pt.po +26 -26
  7. package/lang/translations/ro.po +1 -1
  8. package/package.json +3 -3
  9. package/src/commands/acceptsuggestioncommand.js +1 -1
  10. package/src/commands/discardsuggestioncommand.js +1 -1
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.js +1 -1
  15. package/src/integrations/aiassistant.js +1 -1
  16. package/src/integrations/alignment.js +1 -1
  17. package/src/integrations/basicstyles.js +1 -1
  18. package/src/integrations/blockquote.js +1 -1
  19. package/src/integrations/casechange.js +1 -1
  20. package/src/integrations/ckbox.js +1 -1
  21. package/src/integrations/codeblock.js +1 -1
  22. package/src/integrations/comments.js +1 -1
  23. package/src/integrations/deletecommand.js +1 -1
  24. package/src/integrations/entercommand.js +1 -1
  25. package/src/integrations/findandreplace.js +1 -1
  26. package/src/integrations/font.js +1 -1
  27. package/src/integrations/formatpainter.js +1 -1
  28. package/src/integrations/heading.js +1 -1
  29. package/src/integrations/highlight.js +1 -1
  30. package/src/integrations/horizontalline.js +1 -1
  31. package/src/integrations/htmlembed.js +1 -1
  32. package/src/integrations/image.js +1 -1
  33. package/src/integrations/imagereplace.js +1 -1
  34. package/src/integrations/imagestyle.js +1 -1
  35. package/src/integrations/importword.js +1 -1
  36. package/src/integrations/indent.js +1 -1
  37. package/src/integrations/inputcommand.js +1 -1
  38. package/src/integrations/legacylist.js +1 -1
  39. package/src/integrations/legacylistproperties.js +1 -1
  40. package/src/integrations/link.js +1 -1
  41. package/src/integrations/list.js +1 -1
  42. package/src/integrations/listproperties.js +1 -1
  43. package/src/integrations/mediaembed.js +1 -1
  44. package/src/integrations/mention.js +1 -1
  45. package/src/integrations/pagebreak.js +1 -1
  46. package/src/integrations/paragraph.js +1 -1
  47. package/src/integrations/removeformat.js +1 -1
  48. package/src/integrations/restrictededitingmode.js +1 -1
  49. package/src/integrations/shiftentercommand.js +1 -1
  50. package/src/integrations/standardeditingmode.js +1 -1
  51. package/src/integrations/style.js +1 -1
  52. package/src/integrations/table.js +1 -1
  53. package/src/integrations/tablecaption.js +1 -1
  54. package/src/integrations/tableclipboard.js +1 -1
  55. package/src/integrations/tablecolumnresize.js +1 -1
  56. package/src/integrations/tableheadings.js +1 -1
  57. package/src/integrations/tablemergesplit.js +1 -1
  58. package/src/integrations/tableofcontents.js +1 -1
  59. package/src/integrations/tableproperties.js +1 -1
  60. package/src/integrations/template.js +1 -1
  61. package/src/integrations/title.js +1 -1
  62. package/src/integrations/undo.js +1 -1
  63. package/src/integrations/utils.js +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.js +1 -1
  67. package/src/trackchangesdata.js +1 -1
  68. package/src/trackchangesediting.js +1 -1
  69. package/src/trackchangesui.js +1 -1
  70. package/src/ui/suggestioncontroller.js +1 -1
  71. package/src/ui/view/basesuggestionthreadview.js +1 -1
  72. package/src/ui/view/suggestionthreadview.js +1 -1
  73. package/src/utils/common-translations.js +1 -1
  74. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4175=['_destroyController','focus','head','_descriptionFactory','_handleControllerBuffer','lowest','value','editor','view','commands','_bindAnnotationToEditors','push','separator','map','isMultiRange','actionView','activeAnnotations','getByInnerView','addComment','comments.maxCommentCharsWhenCollapsed','filter','addSourceCollector','_createUIButton','length','isEnabled','keys','Accept\x20all\x20selected\x20suggestions','editing','acceptAllSuggestions','trackChanges','model','Discard\x20all\x20selected\x20suggestions','add','CommentsRepository','requires','_viewToController','delete','_initializeController','suggestionUnloaded','Track\x20changes','TrackChangesEditing','Discard\x20all\x20suggestions','size','set','plugins','pluginName','_refreshActiveMarkers','EditorAnnotations','destroy','previous','_unbindEditors','_handleSuggestionControllerDelayed','switchbutton','descriptionParts','trackChanges.disableComments','change:activeAnnotations','execute','clear','createCommentThreadController','comments.maxThreadTotalWeight','reduce','from','button','getRanges','has','discardSelectedSuggestions','_suggestionToController','createAnnotation','hasSuggestion','listenTo','isDirty','isInContent','suggestion-','comments.editorConfig','get','mainView','CommentsUI','Accept\x20all\x20suggestions','getFirstRange','change:previous','values','activeMarkers','getSuggestion','define','innerView','bind','_disableComments','toMany','commandName','getAllAdjacentSuggestions','source','stopListening','suggestionChanged','getMarkerNames','some','_annotationViews','type','unbind','Annotations','buttonView','TrackChangesUI','config','remove','CommentView','isOn','_updateController','suggestionLoaded','arrowView'];(function(_0x21b80e,_0x417595){const _0x240712=function(_0x5c0c86){while(--_0x5c0c86){_0x21b80e['push'](_0x21b80e['shift']());}};_0x240712(++_0x417595);}(_0x4175,0xf1));const _0x2407=function(_0x21b80e,_0x417595){_0x21b80e=_0x21b80e-0x0;let _0x240712=_0x4175[_0x21b80e];return _0x240712;};import{Plugin as _0x638d56}from'ckeditor5/src/core.js';import{Collection as _0x14c645}from'ckeditor5/src/utils.js';import{ViewModel as _0x42d2df,SplitButtonView as _0x3d0f5a,createDropdown as _0x432fea,addListToDropdown as _0x29acc1}from'ckeditor5/src/ui.js';import{Users as _0x33cac0,getDateTimeFormatter as _0x1dc7ac,getAllMarkersDomElementsSorted as _0x2c0640}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2cb1c3 from'./trackchangesediting.js';import _0x2bfa12 from'./ui/suggestioncontroller.js';import _0x310323 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x590f18}from'./utils/common-translations.js';import _0x127e2c from'../theme/icons/track-changes.svg';export default class d extends _0x638d56{static get[_0x2407('0x9')](){return[_0x2cb1c3,_0x33cac0,_0x2407('0x8'),_0x2407('0x49'),_0x2407('0x16')];}static get[_0x2407('0x14')](){return _0x2407('0x4b');}constructor(_0x175eaa){super(_0x175eaa),this[_0x2407('0x29')]=new Map(),this[_0x2407('0xa')]=new Map(),this[_0x2407('0x46')]=new Map(),this[_0x2407('0x57')]=new Map();const _0x67a4c7=this[_0x2407('0x5a')][_0x2407('0x4c')];_0x67a4c7[_0x2407('0x3a')]('trackChanges.SuggestionThreadView',_0x310323),_0x67a4c7['define'](_0x2407('0x1d'),!0x1),this[_0x2407('0x3d')]=_0x67a4c7[_0x2407('0x31')](_0x2407('0x1d'));}[_0x2407('0x1a')](_0x11e30c,_0x866b99){0x0===this[_0x2407('0x57')][_0x2407('0x11')]&&setTimeout(()=>{for(const [_0x4616e1,_0x41064e]of this['_handleControllerBuffer']){const _0x11f6da=this[_0x2407('0x29')]['has'](_0x4616e1);_0x11f6da||_0x41064e?_0x11f6da&&_0x41064e&&this[_0x2407('0x53')](_0x4616e1):this[_0x2407('0xc')](_0x4616e1);}this['_handleControllerBuffer'][_0x2407('0x20')](),this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x16'))['refreshSelectedViews'](),this[_0x2407('0x15')]();},0xa),this[_0x2407('0x57')]['set'](_0x11e30c,_0x866b99);}['init'](){const _0x54fb10=this[_0x2407('0x5a')],_0x53d0ba=_0x54fb10['plugins'][_0x2407('0x31')]('TrackChangesEditing'),_0x2e11bf=_0x54fb10['plugins'][_0x2407('0x31')](_0x2407('0x49')),_0x5abe5f=_0x54fb10[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x16')),_0x467fd6=_0x54fb10[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x8'));_0x54fb10['ui']['componentFactory'][_0x2407('0x7')](_0x2407('0x4'),_0xabee48=>this[_0x2407('0x69')](_0xabee48)),_0x5abe5f[_0x2407('0x68')](()=>{const _0x4a1eda=[];for(const [_0x5b2da1,_0x1016ea]of Array[_0x2407('0x24')](this[_0x2407('0x29')])){const _0x441c67=_0x5b2da1['getAllAdjacentSuggestions'](),_0x1a87ee=[];for(const _0x3b1155 of _0x441c67){if(!_0x3b1155[_0x2407('0x2e')])continue;if(_0x3b1155[_0x2407('0x61')]){_0x1a87ee[_0x2407('0x5e')](..._0x3b1155[_0x2407('0x26')]());continue;}const _0x17c749=_0x3b1155[_0x2407('0x35')]();if(_0x1a87ee[_0x2407('0x6a')]>0x0){const _0x11711e=_0x1a87ee[0x0]['getJoined'](_0x17c749);if(_0x11711e){_0x1a87ee[0x0]=_0x11711e;continue;}}_0x1a87ee[_0x2407('0x5e')](_0x17c749);}_0x4a1eda[_0x2407('0x5e')]([_0x1016ea['view'],_0x1a87ee]);}return _0x4a1eda;}),this['listenTo'](_0x53d0ba,_0x2407('0x51'),(_0x100123,_0x401b04)=>{this[_0x2407('0x2c')](_0x401b04,_0x2407('0x36'),(_0x3ea5e9,_0x2d5f6f,_0x458e62,_0x1de24c)=>{_0x401b04['isInContent']&&(null==_0x458e62?(this[_0x2407('0x50')](_0x1de24c[_0x2407('0x55')]),this[_0x2407('0x1a')](_0x401b04,!0x1)):(this[_0x2407('0x50')](_0x458e62['head']),null==_0x1de24c&&this[_0x2407('0x1a')](_0x401b04,!0x0)));}),null!==_0x401b04[_0x2407('0x18')]?this['_updateController'](_0x401b04[_0x2407('0x55')]):this[_0x2407('0x1a')](_0x401b04,!0x1);}),this[_0x2407('0x2c')](_0x53d0ba,_0x2407('0xd'),(_0x1d3be9,_0x428518,_0x1aacb8)=>{this[_0x2407('0x42')](_0x428518,_0x2407('0x36')),this[_0x2407('0x57')][_0x2407('0xb')](_0x428518),this[_0x2407('0x29')][_0x2407('0x27')](_0x428518)&&this['_destroyController'](_0x428518),_0x1aacb8&&this[_0x2407('0x50')](_0x1aacb8[_0x2407('0x55')]);}),this[_0x2407('0x2c')](_0x53d0ba,_0x2407('0x43'),(_0x4a4cb4,_0x1cf5f7)=>{this[_0x2407('0x50')](_0x1cf5f7);}),this['listenTo'](_0x2e11bf,_0x2407('0x1e'),()=>{this[_0x2407('0x15')]();}),this[_0x2407('0x2c')](_0x467fd6,_0x2407('0x65'),(_0x598f9e,{threadId:_0x10c533,isFromAdapter:_0x17d695})=>{if(_0x17d695||!_0x53d0ba[_0x2407('0x2b')](_0x10c533))return;const _0x482bda=_0x53d0ba[_0x2407('0x39')](_0x10c533);this[_0x2407('0x29')]['get'](_0x482bda)[_0x2407('0x5b')][_0x2407('0x54')]();},{'priority':_0x2407('0x58')});}[_0x2407('0x15')](){const _0x318b0b=this[_0x2407('0x5a')]['plugins']['get']('Annotations'),_0x1e8387=this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0xf')),_0x5547ab=Array[_0x2407('0x24')](_0x318b0b[_0x2407('0x63')],_0x1f734b=>_0x1f734b[_0x2407('0x3b')])['filter'](_0x2baa79=>this[_0x2407('0xa')][_0x2407('0x27')](_0x2baa79)),_0xb61cb8=[];for(const _0x225c2c of _0x5547ab){const _0x112e4=this[_0x2407('0xa')][_0x2407('0x31')](_0x225c2c)[_0x2407('0x5')][_0x2407('0x40')]();_0xb61cb8['push'](..._0x112e4[_0x2407('0x23')]((_0x3e9bc6,_0x351df9)=>[..._0x3e9bc6,..._0x351df9[_0x2407('0x44')]()],[]));}_0x1e8387[_0x2407('0x38')]=_0xb61cb8;}['_createUIButton'](_0x5f089a){const _0x1b6710=_0x432fea(_0x5f089a,_0x3d0f5a),_0x4c495f=this[_0x2407('0x5a')][_0x2407('0x5c')][_0x2407('0x31')](_0x2407('0x4')),_0x288943=_0x590f18(_0x5f089a,_0x2407('0xe'));_0x1b6710[_0x2407('0x4a')]['set']({'tooltip':_0x288943,'label':_0x288943,'icon':_0x127e2c}),_0x1b6710['buttonView'][_0x2407('0x3c')](_0x2407('0x4f'))['to'](_0x4c495f,_0x2407('0x59')),_0x1b6710[_0x2407('0x4a')]['on']('execute',()=>{_0x4c495f[_0x2407('0x1f')](),this[_0x2407('0x5a')]['editing'][_0x2407('0x5b')][_0x2407('0x54')]();});const _0x3e330f=new _0x14c645(),_0x2246a7=[{'type':_0x2407('0x1b'),'model':{'withText':!0x0,'label':_0x288943,'commandName':_0x2407('0x4')}},{'type':_0x2407('0x5f')},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x34')),'commandName':_0x2407('0x3')}},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x1')),'commandName':'acceptSelectedSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x10')),'commandName':'discardAllSuggestions'}},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x6')),'commandName':_0x2407('0x28')}}];for(const _0x5ce40d of _0x2246a7){let _0x44b619={'type':_0x2407('0x5f')};if(_0x5ce40d[_0x2407('0x5')]){const _0x26748f=new _0x42d2df(_0x5ce40d[_0x2407('0x5')]),_0xd8b74a=this[_0x2407('0x5a')][_0x2407('0x5c')][_0x2407('0x31')](_0x26748f['commandName']);_0x26748f[_0x2407('0x3c')]('isOn','isEnabled')['to'](_0xd8b74a,_0x2407('0x59'),_0x2407('0x6b')),_0x44b619={'type':_0x5ce40d[_0x2407('0x47')],'model':_0x26748f};}_0x3e330f['add'](_0x44b619);}_0x29acc1(_0x1b6710,_0x3e330f);const _0x5728b5=_0x2246a7[_0x2407('0x67')](_0x5de80c=>null!=_0x5de80c[_0x2407('0x5')])[_0x2407('0x60')](_0x37c578=>this['editor']['commands'][_0x2407('0x31')](_0x37c578['model'][_0x2407('0x3f')])),_0x167244=_0x1b6710['buttonView'];return _0x167244[_0x2407('0x62')][_0x2407('0x48')](_0x2407('0x6b')),_0x167244['arrowView'][_0x2407('0x48')](_0x2407('0x6b')),_0x167244['actionView'][_0x2407('0x3c')](_0x2407('0x6b'))['to'](_0x4c495f,_0x2407('0x6b')),_0x167244[_0x2407('0x52')]['bind'](_0x2407('0x6b'))[_0x2407('0x3e')](_0x5728b5,_0x2407('0x6b'),(..._0x108783)=>_0x108783[_0x2407('0x45')](_0x2ddf17=>_0x2ddf17)),_0x1b6710['on'](_0x2407('0x1f'),_0x4635af=>{this['editor'][_0x2407('0x1f')](_0x4635af[_0x2407('0x41')]['commandName']),this[_0x2407('0x5a')]['editing']['view'][_0x2407('0x54')]();}),_0x1b6710;}['_initializeController'](_0x3853cf){const _0x3926fa=this[_0x2407('0x5a')],_0x140e38=_0x3926fa[_0x2407('0x4c')],_0x20d6c4=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x49')),_0x1e9dc5=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x8')),_0x5e0a90=_0x3926fa[_0x2407('0x13')]['get'](_0x2407('0x16')),_0x1b04f5=_0x3926fa['plugins'][_0x2407('0x31')](_0x33cac0)['me'],_0x1d5215=_0x140e38[_0x2407('0x31')](_0x2407('0x4'))['SuggestionThreadView'],{CommentsListView:_0x4adf50,CommentThreadInputView:_0x147af9}=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x33'));let _0x2560cc,_0x1ea3cf;this[_0x2407('0x46')][_0x2407('0x27')](_0x3853cf['id'])?(_0x1ea3cf=this['_annotationViews'][_0x2407('0x31')](_0x3853cf['id']),_0x2560cc=_0x1ea3cf[_0x2407('0x32')]):(_0x2560cc=new _0x1d5215(_0x3926fa['locale'],_0x3853cf,_0x1b04f5,{'disableComments':this[_0x2407('0x3d')],'editorConfig':_0x140e38['get'](_0x2407('0x30')),'maxCommentsWhenCollapsed':_0x140e38['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x140e38[_0x2407('0x31')](_0x2407('0x22')),'maxCommentCharsWhenCollapsed':_0x140e38['get'](_0x2407('0x66')),'formatDateTime':_0x1dc7ac(_0x140e38[_0x2407('0x31')]('locale')),'CommentView':_0x140e38[_0x2407('0x31')]('comments')[_0x2407('0x4e')],'CommentsListView':_0x4adf50,'CommentThreadInputView':_0x147af9}),_0x2560cc['acceptButton']['on']('execute',()=>{_0x3926fa[_0x2407('0x2')]['view'][_0x2407('0x54')]();}),_0x2560cc['discardButton']['on'](_0x2407('0x1f'),()=>{_0x3926fa[_0x2407('0x2')][_0x2407('0x5b')][_0x2407('0x54')]();}),_0x1ea3cf=_0x20d6c4['createAnnotationView'](this[_0x2407('0x5a')]['locale'],_0x2560cc),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x2d'))['to'](_0x2560cc,'isDirty'),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x6a'))['to'](_0x2560cc),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x47'))['to'](_0x2560cc,_0x2407('0x47'),_0x35428c=>_0x2407('0x2f')+_0x35428c),this[_0x2407('0x46')][_0x2407('0x12')](_0x3853cf['id'],_0x1ea3cf));const _0xc58192=_0x1e9dc5[_0x2407('0x21')](_0x3853cf['commentThread'],_0x2560cc),_0x1a31d2=new _0x2bfa12(_0x3926fa,_0x3853cf,_0x2560cc,_0xc58192),_0x43ff51=_0x3853cf[_0x2407('0x40')]()[_0x2407('0x67')](_0x4999ad=>_0x4999ad[_0x2407('0x2e')]);_0x2560cc[_0x2407('0x1c')]=_0x3926fa['plugins'][_0x2407('0x31')]('TrackChangesEditing')['_descriptionFactory']['getDescriptions'](_0x43ff51),this[_0x2407('0x29')]['set'](_0x3853cf,_0x1a31d2),this[_0x2407('0xa')][_0x2407('0x12')](_0x2560cc,_0x1a31d2);const _0x3d402b=_0x20d6c4[_0x2407('0x2a')]({'view':_0x1ea3cf,'target':()=>{const _0x27ebc5=[],_0xb3cfe5=_0x3853cf[_0x2407('0x40')]()[_0x2407('0x67')](_0x571f01=>_0x571f01[_0x2407('0x2e')]);for(const _0x36315d of _0xb3cfe5)_0x27ebc5[_0x2407('0x5e')](..._0x36315d['getMarkers']());return _0x2c0640(_0x3926fa[_0x2407('0x2')],_0x27ebc5);},'type':()=>'suggestion-'+_0x1a31d2[_0x2407('0x5b')][_0x2407('0x47')]});_0x1e9dc5[_0x2407('0x5d')](_0x2560cc,_0x3d402b),_0x20d6c4[_0x2407('0x7')](_0x3d402b),_0x5e0a90['registerAnnotation'](_0x3d402b);}['_destroyController'](_0x45db6b){const _0xb795b2=this[_0x2407('0x5a')][_0x2407('0x13')]['get']('CommentsRepository'),_0xc35b49=this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x49')),_0x3bb310=this[_0x2407('0x29')][_0x2407('0x31')](_0x45db6b),_0x3a58d8=_0x3bb310[_0x2407('0x5b')],_0x5d23bc=_0xc35b49[_0x2407('0x64')](_0x3a58d8);_0xb795b2[_0x2407('0x19')](_0x3a58d8),_0x5d23bc&&_0xc35b49[_0x2407('0x4d')](_0x5d23bc),this['_suggestionToController'][_0x2407('0xb')](_0x45db6b),this[_0x2407('0xa')][_0x2407('0xb')](_0x3a58d8),_0x3bb310['destroy']();}[_0x2407('0x50')](_0x2e9864){if(!_0x2e9864['isInContent']||!this[_0x2407('0x29')][_0x2407('0x27')](_0x2e9864))return;const _0x58da44=this['editor'][_0x2407('0x13')][_0x2407('0x31')]('TrackChangesEditing'),_0x67ec88=this['_suggestionToController'][_0x2407('0x31')](_0x2e9864),_0xfb8f9f=_0x2e9864[_0x2407('0x40')]();_0x67ec88[_0x2407('0x5b')][_0x2407('0x1c')]=_0x58da44[_0x2407('0x56')]['getDescriptions'](_0xfb8f9f);}[_0x2407('0x17')](){for(const _0x2f821a of this['_suggestionToController'][_0x2407('0x0')]())this['_destroyController'](_0x2f821a);for(const _0x28b11e of this[_0x2407('0x46')][_0x2407('0x37')]())_0x28b11e['mainView']['destroy']();super[_0x2407('0x17')]();}}
23
+ const _0x2ac222=_0x5cf4;(function(_0x289c18,_0x16cb5d){const _0x5a216e=_0x5cf4,_0x577092=_0x289c18();while(!![]){try{const _0x33aa34=-parseInt(_0x5a216e(0xa4))/0x1+parseInt(_0x5a216e(0xcb))/0x2*(-parseInt(_0x5a216e(0x92))/0x3)+parseInt(_0x5a216e(0x8f))/0x4*(-parseInt(_0x5a216e(0xdc))/0x5)+-parseInt(_0x5a216e(0xe8))/0x6+-parseInt(_0x5a216e(0xd6))/0x7+-parseInt(_0x5a216e(0x7d))/0x8+parseInt(_0x5a216e(0xc5))/0x9;if(_0x33aa34===_0x16cb5d)break;else _0x577092['push'](_0x577092['shift']());}catch(_0x3e360f){_0x577092['push'](_0x577092['shift']());}}}(_0x167a,0x8cc73));import{Plugin as _0x142847}from'ckeditor5/src/core.js';import{Collection as _0x4fbb42}from'ckeditor5/src/utils.js';import{ViewModel as _0x3d0307,SplitButtonView as _0x478095,createDropdown as _0x428b1e,addListToDropdown as _0x32d1d0}from'ckeditor5/src/ui.js';function _0x5cf4(_0x4ffc7f,_0x2571ba){const _0x167a4c=_0x167a();return _0x5cf4=function(_0x5cf4a0,_0x54bfb6){_0x5cf4a0=_0x5cf4a0-0x69;let _0x1d55a2=_0x167a4c[_0x5cf4a0];return _0x1d55a2;},_0x5cf4(_0x4ffc7f,_0x2571ba);}import{Users as _0x6a439f,getDateTimeFormatter as _0x2396e2,getAllMarkersDomElementsSorted as _0x100e05}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x220d90 from'./trackchangesediting.js';import _0x2dac2b from'./ui/suggestioncontroller.js';import _0x59a3fd from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x37fc14}from'./utils/common-translations.js';import _0x357b95 from'../theme/icons/track-changes.svg';export default class d extends _0x142847{static get[_0x2ac222(0x72)](){const _0x1e2df2=_0x2ac222;return[_0x220d90,_0x6a439f,_0x1e2df2(0xb8),_0x1e2df2(0x7e),_0x1e2df2(0x6c)];}static get[_0x2ac222(0x9c)](){const _0xee0c8e=_0x2ac222;return _0xee0c8e(0xb9);}constructor(_0x35b45f){const _0x508bd2=_0x2ac222;super(_0x35b45f),this[_0x508bd2(0x6b)]=new Map(),this[_0x508bd2(0x8c)]=new Map(),this[_0x508bd2(0x82)]=new Map(),this[_0x508bd2(0x83)]=new Map();const _0x4034bc=this[_0x508bd2(0xbf)][_0x508bd2(0xdd)];_0x4034bc[_0x508bd2(0x9b)](_0x508bd2(0xea),_0x59a3fd),_0x4034bc[_0x508bd2(0x9b)](_0x508bd2(0xc9),!0x1),this[_0x508bd2(0x93)]=_0x4034bc[_0x508bd2(0xb2)](_0x508bd2(0xc9));}[_0x2ac222(0xe6)](_0x69e8c,_0x45bf2d){const _0x3fdeba=_0x2ac222;0x0===this[_0x3fdeba(0x83)][_0x3fdeba(0xc2)]&&setTimeout(()=>{const _0x4159ca=_0x3fdeba;for(const [_0x31f282,_0x4d3df4]of this[_0x4159ca(0x83)]){const _0x5b2490=this[_0x4159ca(0x6b)][_0x4159ca(0x6a)](_0x31f282);_0x5b2490||_0x4d3df4?_0x5b2490&&_0x4d3df4&&this[_0x4159ca(0xb3)](_0x31f282):this[_0x4159ca(0xe2)](_0x31f282);}this[_0x4159ca(0x83)][_0x4159ca(0xd0)](),this[_0x4159ca(0xbf)][_0x4159ca(0xac)][_0x4159ca(0xb2)](_0x4159ca(0x6c))[_0x4159ca(0x80)](),this[_0x4159ca(0xd1)]();},0xa),this[_0x3fdeba(0x83)][_0x3fdeba(0xa5)](_0x69e8c,_0x45bf2d);}[_0x2ac222(0x6d)](){const _0x2c79b0=_0x2ac222,_0x5a5d4d=this[_0x2c79b0(0xbf)],_0x301a38=_0x5a5d4d[_0x2c79b0(0xac)][_0x2c79b0(0xb2)](_0x2c79b0(0x94)),_0x25ba77=_0x5a5d4d[_0x2c79b0(0xac)][_0x2c79b0(0xb2)](_0x2c79b0(0x7e)),_0x3a63f9=_0x5a5d4d[_0x2c79b0(0xac)][_0x2c79b0(0xb2)](_0x2c79b0(0x6c)),_0x5ef773=_0x5a5d4d[_0x2c79b0(0xac)][_0x2c79b0(0xb2)](_0x2c79b0(0xb8));_0x5a5d4d['ui'][_0x2c79b0(0xc4)][_0x2c79b0(0x99)](_0x2c79b0(0xce),_0x576d40=>this[_0x2c79b0(0x9e)](_0x576d40)),_0x3a63f9[_0x2c79b0(0x7b)](()=>{const _0x14d3d7=_0x2c79b0,_0x1e63d4=[];for(const [_0x2e7739,_0x20c92f]of Array[_0x14d3d7(0xed)](this[_0x14d3d7(0x6b)])){const _0x392d84=_0x2e7739[_0x14d3d7(0xef)](),_0x670960=[];for(const _0x57b1e8 of _0x392d84){if(!_0x57b1e8[_0x14d3d7(0x73)])continue;if(_0x57b1e8[_0x14d3d7(0xb6)]){_0x670960[_0x14d3d7(0xe1)](..._0x57b1e8[_0x14d3d7(0xa0)]());continue;}const _0x4d4246=_0x57b1e8[_0x14d3d7(0x8e)]();if(_0x670960[_0x14d3d7(0xb0)]>0x0){const _0xd2a1a1=_0x670960[0x0][_0x14d3d7(0xdf)](_0x4d4246);if(_0xd2a1a1){_0x670960[0x0]=_0xd2a1a1;continue;}}_0x670960[_0x14d3d7(0xe1)](_0x4d4246);}_0x1e63d4[_0x14d3d7(0xe1)]([_0x20c92f[_0x14d3d7(0xbb)],_0x670960]);}return _0x1e63d4;}),this[_0x2c79b0(0xb4)](_0x301a38,_0x2c79b0(0xb5),(_0x4aa35e,_0x10df38)=>{const _0x203d40=_0x2c79b0;this[_0x203d40(0xb4)](_0x10df38,_0x203d40(0xc8),(_0x1f71df,_0xb8314a,_0x545ca9,_0x5d05d5)=>{const _0x14418f=_0x203d40;_0x10df38[_0x14418f(0x73)]&&(null==_0x545ca9?(this[_0x14418f(0xab)](_0x5d05d5[_0x14418f(0xde)]),this[_0x14418f(0xe6)](_0x10df38,!0x1)):(this[_0x14418f(0xab)](_0x545ca9[_0x14418f(0xde)]),null==_0x5d05d5&&this[_0x14418f(0xe6)](_0x10df38,!0x0)));}),null!==_0x10df38[_0x203d40(0x76)]?this[_0x203d40(0xab)](_0x10df38[_0x203d40(0xde)]):this[_0x203d40(0xe6)](_0x10df38,!0x1);}),this[_0x2c79b0(0xb4)](_0x301a38,_0x2c79b0(0xda),(_0x4a4464,_0x21aabd,_0xbef328)=>{const _0x397ecc=_0x2c79b0;this[_0x397ecc(0x96)](_0x21aabd,_0x397ecc(0xc8)),this[_0x397ecc(0x83)][_0x397ecc(0xc0)](_0x21aabd),this[_0x397ecc(0x6b)][_0x397ecc(0x6a)](_0x21aabd)&&this[_0x397ecc(0xb3)](_0x21aabd),_0xbef328&&this[_0x397ecc(0xab)](_0xbef328[_0x397ecc(0xde)]);}),this[_0x2c79b0(0xb4)](_0x301a38,_0x2c79b0(0xc7),(_0x5e39d5,_0x540450)=>{const _0x36e572=_0x2c79b0;this[_0x36e572(0xab)](_0x540450);}),this[_0x2c79b0(0xb4)](_0x25ba77,_0x2c79b0(0xe4),()=>{const _0x5b5d80=_0x2c79b0;this[_0x5b5d80(0xd1)]();}),this[_0x2c79b0(0xb4)](_0x5ef773,_0x2c79b0(0x6e),(_0x30076b,{threadId:_0x5afcb4,isFromAdapter:_0x79297a})=>{const _0x4876b6=_0x2c79b0;if(_0x79297a||!_0x301a38[_0x4876b6(0xd2)](_0x5afcb4))return;const _0x2992dd=_0x301a38[_0x4876b6(0xb1)](_0x5afcb4);this[_0x4876b6(0x6b)][_0x4876b6(0xb2)](_0x2992dd)[_0x4876b6(0xbb)][_0x4876b6(0xca)]();},{'priority':_0x2c79b0(0x85)});}[_0x2ac222(0xd1)](){const _0x1dcf7f=_0x2ac222,_0x14ddb6=this[_0x1dcf7f(0xbf)][_0x1dcf7f(0xac)][_0x1dcf7f(0xb2)](_0x1dcf7f(0x7e)),_0x163b50=this[_0x1dcf7f(0xbf)][_0x1dcf7f(0xac)][_0x1dcf7f(0xb2)](_0x1dcf7f(0x94)),_0x244da4=Array[_0x1dcf7f(0xed)](_0x14ddb6[_0x1dcf7f(0x9d)],_0x11cde8=>_0x11cde8[_0x1dcf7f(0x8a)])[_0x1dcf7f(0x7f)](_0x4869c6=>this[_0x1dcf7f(0x8c)][_0x1dcf7f(0x6a)](_0x4869c6)),_0x472f5a=[];for(const _0x3dcab2 of _0x244da4){const _0x5e0656=this[_0x1dcf7f(0x8c)][_0x1dcf7f(0xb2)](_0x3dcab2)[_0x1dcf7f(0xe3)][_0x1dcf7f(0xef)]();_0x472f5a[_0x1dcf7f(0xe1)](..._0x5e0656[_0x1dcf7f(0xee)]((_0x29f4b9,_0x2f4ae4)=>[..._0x29f4b9,..._0x2f4ae4[_0x1dcf7f(0xaa)]()],[]));}_0x163b50[_0x1dcf7f(0x8b)]=_0x472f5a;}[_0x2ac222(0x9e)](_0x24cada){const _0x30db7b=_0x2ac222,_0x499eb6=_0x428b1e(_0x24cada,_0x478095),_0x49463f=this[_0x30db7b(0xbf)][_0x30db7b(0x97)][_0x30db7b(0xb2)](_0x30db7b(0xce)),_0x49bd18=_0x37fc14(_0x24cada,_0x30db7b(0xbc));_0x499eb6[_0x30db7b(0xba)][_0x30db7b(0xa5)]({'tooltip':_0x49bd18,'label':_0x49bd18,'icon':_0x357b95}),_0x499eb6[_0x30db7b(0xba)][_0x30db7b(0x77)](_0x30db7b(0xa3))['to'](_0x49463f,_0x30db7b(0xe9)),_0x499eb6[_0x30db7b(0xba)]['on'](_0x30db7b(0xad),()=>{const _0x4f21d9=_0x30db7b;_0x49463f[_0x4f21d9(0xad)](),this[_0x4f21d9(0xbf)][_0x4f21d9(0xae)][_0x4f21d9(0xbb)][_0x4f21d9(0xca)]();});const _0x1183b0=new _0x4fbb42(),_0x4e0246=[{'type':_0x30db7b(0x88),'model':{'withText':!0x0,'label':_0x49bd18,'commandName':_0x30db7b(0xce)}},{'type':_0x30db7b(0xd9)},{'type':_0x30db7b(0x78),'model':{'withText':!0x0,'label':_0x37fc14(_0x24cada,_0x30db7b(0x90)),'commandName':_0x30db7b(0xd5)}},{'type':_0x30db7b(0x78),'model':{'withText':!0x0,'label':_0x37fc14(_0x24cada,_0x30db7b(0x81)),'commandName':_0x30db7b(0x7a)}},{'type':_0x30db7b(0x78),'model':{'withText':!0x0,'label':_0x37fc14(_0x24cada,_0x30db7b(0x70)),'commandName':_0x30db7b(0x71)}},{'type':_0x30db7b(0x78),'model':{'withText':!0x0,'label':_0x37fc14(_0x24cada,_0x30db7b(0xd8)),'commandName':_0x30db7b(0xcd)}}];for(const _0x1905fc of _0x4e0246){let _0x536dc4={'type':_0x30db7b(0xd9)};if(_0x1905fc[_0x30db7b(0xe3)]){const _0x1742e7=new _0x3d0307(_0x1905fc[_0x30db7b(0xe3)]),_0x26c361=this[_0x30db7b(0xbf)][_0x30db7b(0x97)][_0x30db7b(0xb2)](_0x1742e7[_0x30db7b(0x74)]);_0x1742e7[_0x30db7b(0x77)](_0x30db7b(0xa3),_0x30db7b(0xd3))['to'](_0x26c361,_0x30db7b(0xe9),_0x30db7b(0xd3)),_0x536dc4={'type':_0x1905fc[_0x30db7b(0xa6)],'model':_0x1742e7};}_0x1183b0[_0x30db7b(0x99)](_0x536dc4);}_0x32d1d0(_0x499eb6,_0x1183b0);const _0x4fd8cb=_0x4e0246[_0x30db7b(0x7f)](_0xb6beed=>null!=_0xb6beed[_0x30db7b(0xe3)])[_0x30db7b(0x69)](_0x419d95=>this[_0x30db7b(0xbf)][_0x30db7b(0x97)][_0x30db7b(0xb2)](_0x419d95[_0x30db7b(0xe3)][_0x30db7b(0x74)])),_0x560b83=_0x499eb6[_0x30db7b(0xba)];return _0x560b83[_0x30db7b(0x86)][_0x30db7b(0xaf)](_0x30db7b(0xd3)),_0x560b83[_0x30db7b(0xc3)][_0x30db7b(0xaf)](_0x30db7b(0xd3)),_0x560b83[_0x30db7b(0x86)][_0x30db7b(0x77)](_0x30db7b(0xd3))['to'](_0x49463f,_0x30db7b(0xd3)),_0x560b83[_0x30db7b(0xc3)][_0x30db7b(0x77)](_0x30db7b(0xd3))[_0x30db7b(0xbe)](_0x4fd8cb,_0x30db7b(0xd3),(..._0x6fa20c)=>_0x6fa20c[_0x30db7b(0xa9)](_0x58a31d=>_0x58a31d)),_0x499eb6['on'](_0x30db7b(0xad),_0x30d5ba=>{const _0x4547e0=_0x30db7b;this[_0x4547e0(0xbf)][_0x4547e0(0xad)](_0x30d5ba[_0x4547e0(0x7c)][_0x4547e0(0x74)]),this[_0x4547e0(0xbf)][_0x4547e0(0xae)][_0x4547e0(0xbb)][_0x4547e0(0xca)]();}),_0x499eb6;}[_0x2ac222(0xe2)](_0xa6dcf4){const _0x3eb174=_0x2ac222,_0x2debab=this[_0x3eb174(0xbf)],_0x4ca866=_0x2debab[_0x3eb174(0xdd)],_0x13007a=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x3eb174(0x7e)),_0x19d087=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x3eb174(0xb8)),_0x51f29f=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x3eb174(0x6c)),_0xb2007b=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x6a439f)['me'],_0x2c385f=_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0xce))[_0x3eb174(0xbd)],{CommentsListView:_0xe1d41e,CommentThreadInputView:_0x2a8b31}=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x3eb174(0x95));let _0x5b5208,_0x3e06d2;this[_0x3eb174(0x82)][_0x3eb174(0x6a)](_0xa6dcf4['id'])?(_0x3e06d2=this[_0x3eb174(0x82)][_0x3eb174(0xb2)](_0xa6dcf4['id']),_0x5b5208=_0x3e06d2[_0x3eb174(0x9a)]):(_0x5b5208=new _0x2c385f(_0x2debab[_0x3eb174(0x91)],_0xa6dcf4,_0xb2007b,{'disableComments':this[_0x3eb174(0x93)],'editorConfig':_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0xb7)),'maxCommentsWhenCollapsed':_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0x9f)),'maxThreadTotalWeight':_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0x89)),'maxCommentCharsWhenCollapsed':_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0xe0)),'formatDateTime':_0x2396e2(_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0x91))),'CommentView':_0x4ca866[_0x3eb174(0xb2)](_0x3eb174(0x87))[_0x3eb174(0xe5)],'CommentsListView':_0xe1d41e,'CommentThreadInputView':_0x2a8b31}),_0x5b5208[_0x3eb174(0xa1)]['on'](_0x3eb174(0xad),()=>{const _0x24e817=_0x3eb174;_0x2debab[_0x24e817(0xae)][_0x24e817(0xbb)][_0x24e817(0xca)]();}),_0x5b5208[_0x3eb174(0x6f)]['on'](_0x3eb174(0xad),()=>{const _0x182624=_0x3eb174;_0x2debab[_0x182624(0xae)][_0x182624(0xbb)][_0x182624(0xca)]();}),_0x3e06d2=_0x13007a[_0x3eb174(0xa2)](this[_0x3eb174(0xbf)][_0x3eb174(0x91)],_0x5b5208),_0x3e06d2[_0x3eb174(0x77)](_0x3eb174(0xdb))['to'](_0x5b5208,_0x3eb174(0xdb)),_0x3e06d2[_0x3eb174(0x77)](_0x3eb174(0xb0))['to'](_0x5b5208),_0x3e06d2[_0x3eb174(0x77)](_0x3eb174(0xa6))['to'](_0x5b5208,_0x3eb174(0xa6),_0x3d72b4=>_0x3eb174(0xc6)+_0x3d72b4),this[_0x3eb174(0x82)][_0x3eb174(0xa5)](_0xa6dcf4['id'],_0x3e06d2));const _0x3fda7c=_0x19d087[_0x3eb174(0xeb)](_0xa6dcf4[_0x3eb174(0x8d)],_0x5b5208),_0x3e0cd2=new _0x2dac2b(_0x2debab,_0xa6dcf4,_0x5b5208,_0x3fda7c),_0x40b7d8=_0xa6dcf4[_0x3eb174(0xef)]()[_0x3eb174(0x7f)](_0x536b27=>_0x536b27[_0x3eb174(0x73)]);_0x5b5208[_0x3eb174(0xd7)]=_0x2debab[_0x3eb174(0xac)][_0x3eb174(0xb2)](_0x3eb174(0x94))[_0x3eb174(0xa7)][_0x3eb174(0x75)](_0x40b7d8),this[_0x3eb174(0x6b)][_0x3eb174(0xa5)](_0xa6dcf4,_0x3e0cd2),this[_0x3eb174(0x8c)][_0x3eb174(0xa5)](_0x5b5208,_0x3e0cd2);const _0x4419b0=_0x13007a[_0x3eb174(0x84)]({'view':_0x3e06d2,'target':()=>{const _0x50d883=_0x3eb174,_0x276d53=[],_0x15ef2e=_0xa6dcf4[_0x50d883(0xef)]()[_0x50d883(0x7f)](_0x3e13e0=>_0x3e13e0[_0x50d883(0x73)]);for(const _0x4290be of _0x15ef2e)_0x276d53[_0x50d883(0xe1)](..._0x4290be[_0x50d883(0xd4)]());return _0x100e05(_0x2debab[_0x50d883(0xae)],_0x276d53);},'type':()=>_0x3eb174(0xc6)+_0x3e0cd2[_0x3eb174(0xbb)][_0x3eb174(0xa6)]});_0x19d087[_0x3eb174(0xcc)](_0x5b5208,_0x4419b0),_0x13007a[_0x3eb174(0x99)](_0x4419b0),_0x51f29f[_0x3eb174(0xec)](_0x4419b0);}[_0x2ac222(0xb3)](_0x43b3c1){const _0x288cf1=_0x2ac222,_0x18511c=this[_0x288cf1(0xbf)][_0x288cf1(0xac)][_0x288cf1(0xb2)](_0x288cf1(0xb8)),_0x26228b=this[_0x288cf1(0xbf)][_0x288cf1(0xac)][_0x288cf1(0xb2)](_0x288cf1(0x7e)),_0x175eee=this[_0x288cf1(0x6b)][_0x288cf1(0xb2)](_0x43b3c1),_0x13e423=_0x175eee[_0x288cf1(0xbb)],_0x8f91c8=_0x26228b[_0x288cf1(0xe7)](_0x13e423);_0x18511c[_0x288cf1(0xc1)](_0x13e423),_0x8f91c8&&_0x26228b[_0x288cf1(0xa8)](_0x8f91c8),this[_0x288cf1(0x6b)][_0x288cf1(0xc0)](_0x43b3c1),this[_0x288cf1(0x8c)][_0x288cf1(0xc0)](_0x13e423),_0x175eee[_0x288cf1(0x79)]();}[_0x2ac222(0xab)](_0x369ad8){const _0x52194c=_0x2ac222;if(!_0x369ad8[_0x52194c(0x73)]||!this[_0x52194c(0x6b)][_0x52194c(0x6a)](_0x369ad8))return;const _0x1d8dd7=this[_0x52194c(0xbf)][_0x52194c(0xac)][_0x52194c(0xb2)](_0x52194c(0x94)),_0x1d11d7=this[_0x52194c(0x6b)][_0x52194c(0xb2)](_0x369ad8),_0x1398a0=_0x369ad8[_0x52194c(0xef)]();_0x1d11d7[_0x52194c(0xbb)][_0x52194c(0xd7)]=_0x1d8dd7[_0x52194c(0xa7)][_0x52194c(0x75)](_0x1398a0);}[_0x2ac222(0x79)](){const _0x44cb39=_0x2ac222;for(const _0x301ced of this[_0x44cb39(0x6b)][_0x44cb39(0xcf)]())this[_0x44cb39(0xb3)](_0x301ced);for(const _0x35e05f of this[_0x44cb39(0x82)][_0x44cb39(0x98)]())_0x35e05f[_0x44cb39(0x9a)][_0x44cb39(0x79)]();super[_0x44cb39(0x79)]();}}function _0x167a(){const _0x52d939=['get','_destroyController','listenTo','suggestionLoaded','isMultiRange','comments.editorConfig','CommentsRepository','TrackChangesUI','buttonView','view','Track\x20changes','SuggestionThreadView','toMany','editor','delete','_unbindEditors','size','arrowView','componentFactory','35693910xHeIHR','suggestion-','suggestionChanged','change:previous','trackChanges.disableComments','focus','1583834gPVjBD','_bindAnnotationToEditors','discardSelectedSuggestions','trackChanges','keys','clear','_refreshActiveMarkers','hasSuggestion','isEnabled','getMarkers','acceptAllSuggestions','1676192pOmXLl','descriptionParts','Discard\x20all\x20selected\x20suggestions','separator','suggestionUnloaded','isDirty','97515KrPTrs','config','head','getJoined','comments.maxCommentCharsWhenCollapsed','push','_initializeController','model','change:activeAnnotations','CommentView','_handleSuggestionControllerDelayed','getByInnerView','349824uzyqGA','value','trackChanges.SuggestionThreadView','createCommentThreadController','registerAnnotation','from','reduce','getAllAdjacentSuggestions','map','has','_suggestionToController','EditorAnnotations','init','addComment','discardButton','Discard\x20all\x20suggestions','discardAllSuggestions','requires','isInContent','commandName','getDescriptions','previous','bind','button','destroy','acceptSelectedSuggestions','addSourceCollector','source','2127656kTqawV','Annotations','filter','refreshSelectedViews','Accept\x20all\x20selected\x20suggestions','_annotationViews','_handleControllerBuffer','createAnnotation','lowest','actionView','comments','switchbutton','comments.maxThreadTotalWeight','innerView','activeMarkers','_viewToController','commentThread','getFirstRange','184YHYFoq','Accept\x20all\x20suggestions','locale','3tldIhM','_disableComments','TrackChangesEditing','CommentsUI','stopListening','commands','values','add','mainView','define','pluginName','activeAnnotations','_createUIButton','comments.maxCommentsWhenCollapsed','getRanges','acceptButton','createAnnotationView','isOn','1136591sNsuhh','set','type','_descriptionFactory','remove','some','getMarkerNames','_updateController','plugins','execute','editing','unbind','length','getSuggestion'];_0x167a=function(){return _0x52d939;};return _0x167a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3648=['remove','_editor','locale','isEnabled','discardSuggestion','stopListening','_acceptCommand','get','commands','canAccept','_pendingAction','bind','destroy','isDirty','model','getRanges','_removePendingAction','canEditAt','_setPendingAction','plugins','listenTo','commentThreadController','change:isDirty','acceptSuggestion','_discardCommand','PendingActions','PENDING_ACTION_SUGGESTION','unbind','add','execute','view'];(function(_0xe85334,_0x364821){const _0x2864f0=function(_0x24e87c){while(--_0x24e87c){_0xe85334['push'](_0xe85334['shift']());}};_0x2864f0(++_0x364821);}(_0x3648,0xa1));const _0x2864=function(_0xe85334,_0x364821){_0xe85334=_0xe85334-0x0;let _0x2864f0=_0x3648[_0xe85334];return _0x2864f0;};import{ObservableMixin as _0x1093c2}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f373b}from'../utils/common-translations.js';export default class Xt extends _0x1093c2(){constructor(_0x29a0f3,_0xcb7817,_0x349133,_0x144d7b){super(),this[_0x2864('0x8')]=_0xcb7817,this['view']=_0x349133,this['commentThreadController']=_0x144d7b,this[_0x2864('0x1a')]=_0x29a0f3,this['_acceptCommand']=_0x29a0f3[_0x2864('0x2')]['get']('acceptSuggestion'),this[_0x2864('0x12')]=_0x29a0f3[_0x2864('0x2')]['get'](_0x2864('0x1d')),this[_0x2864('0x18')][_0x2864('0x5')]('isEnabled')['to'](this[_0x2864('0x0')],this[_0x2864('0x12')],(_0xa2fb8a,_0x291908)=>_0xa2fb8a||_0x291908),this['view'][_0x2864('0x5')](_0x2864('0x3'))['to'](this['_acceptCommand'],_0x2864('0x1c'),_0x34d3f2=>_0x34d3f2&&this['_editor'][_0x2864('0x8')][_0x2864('0xb')](_0xcb7817[_0x2864('0x9')]())),this[_0x2864('0x18')]['bind']('canDiscard')['to'](this[_0x2864('0x12')],_0x2864('0x1c'),_0x2cd433=>_0x2cd433&&this[_0x2864('0x1a')]['model'][_0x2864('0xb')](_0xcb7817[_0x2864('0x9')]())),this[_0x2864('0x4')]=null,_0x349133[_0x2864('0x7')]&&this[_0x2864('0xc')](),this[_0x2864('0xe')](_0x349133,_0x2864('0x11'),()=>this[_0x2864('0x11')]()),this[_0x2864('0xe')](_0x349133,_0x2864('0x1d'),()=>this[_0x2864('0x1d')]()),this[_0x2864('0xe')](_0x349133,_0x2864('0x10'),()=>{_0x349133['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}[_0x2864('0x11')](){this[_0x2864('0x0')][_0x2864('0x17')](this[_0x2864('0x8')]['id']);}[_0x2864('0x1d')](){this[_0x2864('0x12')][_0x2864('0x17')](this[_0x2864('0x8')]['id']);}[_0x2864('0x6')](){this['view']['unbind'](_0x2864('0x1c')),this['view'][_0x2864('0x15')](_0x2864('0x3')),this[_0x2864('0x18')][_0x2864('0x15')]('canDiscard'),this[_0x2864('0x1e')](),this[_0x2864('0xf')][_0x2864('0x6')](),this[_0x2864('0x4')]&&this['_removePendingAction']();}[_0x2864('0xc')](){const _0x3ca23d=_0x3f373b(this[_0x2864('0x1a')][_0x2864('0x1b')],_0x2864('0x14'));this[_0x2864('0x4')]=this['_editor'][_0x2864('0xd')][_0x2864('0x1')](_0x2864('0x13'))[_0x2864('0x16')](_0x3ca23d);}[_0x2864('0xa')](){null!==this[_0x2864('0x4')]&&this[_0x2864('0x1a')]['plugins'][_0x2864('0x1')](_0x2864('0x13'))[_0x2864('0x19')](this[_0x2864('0x4')]),this[_0x2864('0x4')]=null;}}
23
+ function _0x842f(_0x445a00,_0x4a7098){const _0x4ddf05=_0x4ddf();return _0x842f=function(_0x842fda,_0x19d2c3){_0x842fda=_0x842fda-0x83;let _0x16826d=_0x4ddf05[_0x842fda];return _0x16826d;},_0x842f(_0x445a00,_0x4a7098);}function _0x4ddf(){const _0x46cd6f=['47016380TZksMX','add','bind','4617235ZdUUeW','stopListening','commands','canAccept','model','5187660HgUwqE','view','isEnabled','commentThreadController','303632pGwXnt','_discardCommand','PendingActions','5229930zjdSXn','_removePendingAction','1105987KwCCpC','acceptSuggestion','canDiscard','listenTo','PENDING_ACTION_SUGGESTION','159fxYZtV','_editor','discardSuggestion','execute','change:isDirty','_setPendingAction','45586nwqWMK','destroy','locale','unbind','plugins','get','_acceptCommand','5FNQfYN','_pendingAction','remove','isDirty','canEditAt','getRanges','63ZerVjP'];_0x4ddf=function(){return _0x46cd6f;};return _0x4ddf();}const _0x3de9dd=_0x842f;(function(_0x2e73a3,_0x1f6516){const _0x178266=_0x842f,_0x3ece40=_0x2e73a3();while(!![]){try{const _0x374d5b=parseInt(_0x178266(0xa6))/0x1+parseInt(_0x178266(0x87))/0x2*(parseInt(_0x178266(0xab))/0x3)+parseInt(_0x178266(0x9d))/0x4+-parseInt(_0x178266(0x8e))/0x5*(-parseInt(_0x178266(0xa4))/0x6)+parseInt(_0x178266(0x98))/0x7+-parseInt(_0x178266(0xa1))/0x8*(-parseInt(_0x178266(0x94))/0x9)+-parseInt(_0x178266(0x95))/0xa;if(_0x374d5b===_0x1f6516)break;else _0x3ece40['push'](_0x3ece40['shift']());}catch(_0x384ad8){_0x3ece40['push'](_0x3ece40['shift']());}}}(_0x4ddf,0xac6b7));import{ObservableMixin as _0x3b483e}from'ckeditor5/src/utils.js';import{getTranslation as _0x366e77}from'../utils/common-translations.js';export default class Xt extends _0x3b483e(){constructor(_0x310440,_0x388d4f,_0x503acf,_0x256314){const _0x22ae6a=_0x842f;super(),this[_0x22ae6a(0x9c)]=_0x388d4f,this[_0x22ae6a(0x9e)]=_0x503acf,this[_0x22ae6a(0xa0)]=_0x256314,this[_0x22ae6a(0xac)]=_0x310440,this[_0x22ae6a(0x8d)]=_0x310440[_0x22ae6a(0x9a)][_0x22ae6a(0x8c)](_0x22ae6a(0xa7)),this[_0x22ae6a(0xa2)]=_0x310440[_0x22ae6a(0x9a)][_0x22ae6a(0x8c)](_0x22ae6a(0x83)),this[_0x22ae6a(0x9e)][_0x22ae6a(0x97)](_0x22ae6a(0x9f))['to'](this[_0x22ae6a(0x8d)],this[_0x22ae6a(0xa2)],(_0x303d2a,_0x1a2a06)=>_0x303d2a||_0x1a2a06),this[_0x22ae6a(0x9e)][_0x22ae6a(0x97)](_0x22ae6a(0x9b))['to'](this[_0x22ae6a(0x8d)],_0x22ae6a(0x9f),_0x39f07b=>_0x39f07b&&this[_0x22ae6a(0xac)][_0x22ae6a(0x9c)][_0x22ae6a(0x92)](_0x388d4f[_0x22ae6a(0x93)]())),this[_0x22ae6a(0x9e)][_0x22ae6a(0x97)](_0x22ae6a(0xa8))['to'](this[_0x22ae6a(0xa2)],_0x22ae6a(0x9f),_0x2be7a0=>_0x2be7a0&&this[_0x22ae6a(0xac)][_0x22ae6a(0x9c)][_0x22ae6a(0x92)](_0x388d4f[_0x22ae6a(0x93)]())),this[_0x22ae6a(0x8f)]=null,_0x503acf[_0x22ae6a(0x91)]&&this[_0x22ae6a(0x86)](),this[_0x22ae6a(0xa9)](_0x503acf,_0x22ae6a(0xa7),()=>this[_0x22ae6a(0xa7)]()),this[_0x22ae6a(0xa9)](_0x503acf,_0x22ae6a(0x83),()=>this[_0x22ae6a(0x83)]()),this[_0x22ae6a(0xa9)](_0x503acf,_0x22ae6a(0x85),()=>{const _0x456c8d=_0x22ae6a;_0x503acf[_0x456c8d(0x91)]?this[_0x456c8d(0x86)]():this[_0x456c8d(0xa5)]();});}[_0x3de9dd(0xa7)](){const _0xe6d68e=_0x3de9dd;this[_0xe6d68e(0x8d)][_0xe6d68e(0x84)](this[_0xe6d68e(0x9c)]['id']);}[_0x3de9dd(0x83)](){const _0x50266d=_0x3de9dd;this[_0x50266d(0xa2)][_0x50266d(0x84)](this[_0x50266d(0x9c)]['id']);}[_0x3de9dd(0x88)](){const _0x4fbb8b=_0x3de9dd;this[_0x4fbb8b(0x9e)][_0x4fbb8b(0x8a)](_0x4fbb8b(0x9f)),this[_0x4fbb8b(0x9e)][_0x4fbb8b(0x8a)](_0x4fbb8b(0x9b)),this[_0x4fbb8b(0x9e)][_0x4fbb8b(0x8a)](_0x4fbb8b(0xa8)),this[_0x4fbb8b(0x99)](),this[_0x4fbb8b(0xa0)][_0x4fbb8b(0x88)](),this[_0x4fbb8b(0x8f)]&&this[_0x4fbb8b(0xa5)]();}[_0x3de9dd(0x86)](){const _0x5e3cc0=_0x3de9dd,_0x9175f5=_0x366e77(this[_0x5e3cc0(0xac)][_0x5e3cc0(0x89)],_0x5e3cc0(0xaa));this[_0x5e3cc0(0x8f)]=this[_0x5e3cc0(0xac)][_0x5e3cc0(0x8b)][_0x5e3cc0(0x8c)](_0x5e3cc0(0xa3))[_0x5e3cc0(0x96)](_0x9175f5);}[_0x3de9dd(0xa5)](){const _0x3d5e45=_0x3de9dd;null!==this[_0x3d5e45(0x8f)]&&this[_0x3d5e45(0xac)][_0x3d5e45(0x8b)][_0x3d5e45(0x8c)](_0x3d5e45(0xa3))[_0x3d5e45(0x90)](this[_0x3d5e45(0x8f)]),this[_0x3d5e45(0x8f)]=null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5211=['showInput','_model','_localUser','descriptionParts','fire','editorConfig','isReadOnly','length','cancel','locale','focus','setData','commentThread','element','assign','CommentView','isActive','commentInputView','delegate','editor','canDiscard','isEnabled','isDirty','removeComment','destroy','_createCommentViews','bind','commentThreadInputView','commentsListView','hasDirtyComment','canAccept','updateComment','authoredAt','_createCommentThreadInputView','submit','_config','set'];(function(_0x145abf,_0x521107){const _0x56895e=function(_0x1b0abe){while(--_0x1b0abe){_0x145abf['push'](_0x145abf['shift']());}};_0x56895e(++_0x521107);}(_0x5211,0xb9));const _0x5689=function(_0x145abf,_0x521107){_0x145abf=_0x145abf-0x0;let _0x56895e=_0x5211[_0x145abf];return _0x56895e;};import{View as _0x4212a1}from'ckeditor5/src/ui.js';export default class es extends _0x4212a1{constructor(_0x1f4b34,_0x5cf156,_0x2c5b45,_0x4533bd){super(_0x1f4b34),this['commentsListView']=null,this[_0x5689('0x1b')]=null,this[_0x5689('0x24')]('isActive',!0x1),this[_0x5689('0x24')](_0x5689('0x20'),_0x5cf156[_0x5689('0x20')]),this['bind'](_0x5689('0x20'))['to'](_0x5cf156),this['set'](_0x5689('0x3'),[]),this[_0x5689('0x24')](_0x5689('0x16'),!0x1),this[_0x5689('0x24')](_0x5689('0x15'),!0x1),this['set'](_0x5689('0x1e'),!0x1),this[_0x5689('0x24')](_0x5689('0x14'),!0x1),this[_0x5689('0x1')]=_0x5cf156,this['_localUser']=_0x2c5b45,this['_config']=_0x4533bd,_0x4533bd['disableComments']?this[_0x5689('0x24')](_0x5689('0x7'),0x1):this[_0x5689('0x19')]();}[_0x5689('0xa')](){this[_0x5689('0xd')]['focus']();}[_0x5689('0x18')](){this[_0x5689('0x1c')]&&this[_0x5689('0x1c')][_0x5689('0x18')](),this[_0x5689('0x1b')]&&this[_0x5689('0x1b')][_0x5689('0x18')](),super['destroy']();}[_0x5689('0x19')](){const {CommentsListView:_0xbc32c1}=this[_0x5689('0x23')];this[_0x5689('0x1c')]=new _0xbc32c1(this[_0x5689('0x9')],this[_0x5689('0x1')][_0x5689('0xc')],Object[_0x5689('0xe')]({'CommentView':this['_config'][_0x5689('0xf')]},this['_config'])),this['commentsListView'][_0x5689('0x12')](_0x5689('0x17'))['to'](this),this[_0x5689('0x1c')][_0x5689('0x12')](_0x5689('0x1f'))['to'](this),this['commentsListView']['bind'](_0x5689('0x10'))['to'](this),this['set'](_0x5689('0x7'),this[_0x5689('0x1c')][_0x5689('0x7')]+0x1),this[_0x5689('0x1a')](_0x5689('0x7'))['to'](this['commentsListView'],_0x5689('0x7'),_0x2fbd1e=>_0x2fbd1e+0x1),this[_0x5689('0x1b')]=this[_0x5689('0x21')](),this['on']('removeComment',()=>this[_0x5689('0xa')]()),this['bind'](_0x5689('0x16'))['to'](this[_0x5689('0x1c')],_0x5689('0x1d'),this[_0x5689('0x1b')][_0x5689('0x11')],'value',(_0x1b507f,_0x59f58c)=>_0x1b507f||!!_0x59f58c);}[_0x5689('0x21')](){const {CommentThreadInputView:_0x391d2b}=this['_config'],_0x4027ca=new _0x391d2b(this['locale'],this[_0x5689('0x2')],this[_0x5689('0x23')][_0x5689('0x5')]),_0x1da11c=_0x4027ca['commentInputView'];return _0x4027ca[_0x5689('0x1a')](_0x5689('0x0'))['to'](this,'isActive',this[_0x5689('0x1')][_0x5689('0xc')],_0x5689('0x6'),_0x1da11c,'value',(_0x30a247,_0x1c871a,_0x1ff908)=>!!_0x1ff908||_0x30a247&&!_0x1c871a),_0x1da11c['on'](_0x5689('0x22'),(_0x54f448,_0xffc94)=>{this[_0x5689('0x4')]('addComment',_0xffc94),_0x1da11c[_0x5689('0x13')][_0x5689('0xb')]('');}),_0x1da11c['on'](_0x5689('0x8'),()=>this['focus']()),_0x1da11c[_0x5689('0x1a')]('disabledSubmit')['to'](this[_0x5689('0x1')]['commentThread'],_0x5689('0x6')),_0x4027ca;}}
23
+ const _0x4e56c0=_0x5f36;(function(_0x33f6d7,_0x58224f){const _0x56e6fd=_0x5f36,_0x15e913=_0x33f6d7();while(!![]){try{const _0x16cbee=parseInt(_0x56e6fd(0x1ea))/0x1*(-parseInt(_0x56e6fd(0x203))/0x2)+-parseInt(_0x56e6fd(0x1eb))/0x3*(parseInt(_0x56e6fd(0x1f3))/0x4)+parseInt(_0x56e6fd(0x1e1))/0x5*(-parseInt(_0x56e6fd(0x1e5))/0x6)+-parseInt(_0x56e6fd(0x20f))/0x7+parseInt(_0x56e6fd(0x20d))/0x8+parseInt(_0x56e6fd(0x206))/0x9+-parseInt(_0x56e6fd(0x1e8))/0xa*(-parseInt(_0x56e6fd(0x1f1))/0xb);if(_0x16cbee===_0x58224f)break;else _0x15e913['push'](_0x15e913['shift']());}catch(_0x4e85b8){_0x15e913['push'](_0x15e913['shift']());}}}(_0x54d3,0x72624));function _0x5f36(_0x502f47,_0x35db97){const _0x54d339=_0x54d3();return _0x5f36=function(_0x5f360f,_0x5a835a){_0x5f360f=_0x5f360f-0x1e0;let _0x436804=_0x54d339[_0x5f360f];return _0x436804;},_0x5f36(_0x502f47,_0x35db97);}import{View as _0x24c26a}from'ckeditor5/src/ui.js';export default class es extends _0x24c26a{constructor(_0x478b76,_0x428488,_0xdd57d2,_0xecb963){const _0x2ae54b=_0x5f36;super(_0x478b76),this[_0x2ae54b(0x1f8)]=null,this[_0x2ae54b(0x1e0)]=null,this[_0x2ae54b(0x20e)](_0x2ae54b(0x1ed),!0x1),this[_0x2ae54b(0x20e)](_0x2ae54b(0x1f6),_0x428488[_0x2ae54b(0x1f6)]),this[_0x2ae54b(0x20c)](_0x2ae54b(0x1f6))['to'](_0x428488),this[_0x2ae54b(0x20e)](_0x2ae54b(0x1f0),[]),this[_0x2ae54b(0x20e)](_0x2ae54b(0x1e6),!0x1),this[_0x2ae54b(0x20e)](_0x2ae54b(0x213),!0x1),this[_0x2ae54b(0x20e)](_0x2ae54b(0x1f7),!0x1),this[_0x2ae54b(0x20e)](_0x2ae54b(0x1ff),!0x1),this[_0x2ae54b(0x211)]=_0x428488,this[_0x2ae54b(0x205)]=_0xdd57d2,this[_0x2ae54b(0x1e7)]=_0xecb963,_0xecb963[_0x2ae54b(0x1e4)]?this[_0x2ae54b(0x20e)](_0x2ae54b(0x1ef),0x1):this[_0x2ae54b(0x207)]();}[_0x4e56c0(0x1fa)](){const _0x4165e9=_0x4e56c0;this[_0x4165e9(0x20a)][_0x4165e9(0x1fa)]();}[_0x4e56c0(0x210)](){const _0x20d09a=_0x4e56c0;this[_0x20d09a(0x1f8)]&&this[_0x20d09a(0x1f8)][_0x20d09a(0x210)](),this[_0x20d09a(0x1e0)]&&this[_0x20d09a(0x1e0)][_0x20d09a(0x210)](),super[_0x20d09a(0x210)]();}[_0x4e56c0(0x207)](){const _0x2b5e4e=_0x4e56c0,{CommentsListView:_0x2ca915}=this[_0x2b5e4e(0x1e7)];this[_0x2b5e4e(0x1f8)]=new _0x2ca915(this[_0x2b5e4e(0x201)],this[_0x2b5e4e(0x211)][_0x2b5e4e(0x202)],Object[_0x2b5e4e(0x200)]({'CommentView':this[_0x2b5e4e(0x1e7)][_0x2b5e4e(0x1f9)]},this[_0x2b5e4e(0x1e7)])),this[_0x2b5e4e(0x1f8)][_0x2b5e4e(0x1f4)](_0x2b5e4e(0x1fe))['to'](this),this[_0x2b5e4e(0x1f8)][_0x2b5e4e(0x1f4)](_0x2b5e4e(0x1f2))['to'](this),this[_0x2b5e4e(0x1f8)][_0x2b5e4e(0x20c)](_0x2b5e4e(0x1ed))['to'](this),this[_0x2b5e4e(0x20e)](_0x2b5e4e(0x1ef),this[_0x2b5e4e(0x1f8)][_0x2b5e4e(0x1ef)]+0x1),this[_0x2b5e4e(0x20c)](_0x2b5e4e(0x1ef))['to'](this[_0x2b5e4e(0x1f8)],_0x2b5e4e(0x1ef),_0x2b9b45=>_0x2b9b45+0x1),this[_0x2b5e4e(0x1e0)]=this[_0x2b5e4e(0x20b)](),this['on'](_0x2b5e4e(0x1fe),()=>this[_0x2b5e4e(0x1fa)]()),this[_0x2b5e4e(0x20c)](_0x2b5e4e(0x1e6))['to'](this[_0x2b5e4e(0x1f8)],_0x2b5e4e(0x1f5),this[_0x2b5e4e(0x1e0)][_0x2b5e4e(0x1ec)],_0x2b5e4e(0x209),(_0x5bbb20,_0x1d7b91)=>_0x5bbb20||!!_0x1d7b91);}[_0x4e56c0(0x20b)](){const _0x8a0c7c=_0x4e56c0,{CommentThreadInputView:_0xaba8fc}=this[_0x8a0c7c(0x1e7)],_0x437c10=new _0xaba8fc(this[_0x8a0c7c(0x201)],this[_0x8a0c7c(0x205)],this[_0x8a0c7c(0x1e7)][_0x8a0c7c(0x1e9)]),_0x1b6744=_0x437c10[_0x8a0c7c(0x1ec)];return _0x437c10[_0x8a0c7c(0x20c)](_0x8a0c7c(0x1fc))['to'](this,_0x8a0c7c(0x1ed),this[_0x8a0c7c(0x211)][_0x8a0c7c(0x202)],_0x8a0c7c(0x1e2),_0x1b6744,_0x8a0c7c(0x209),(_0x330d35,_0x5e0689,_0x474b5f)=>!!_0x474b5f||_0x330d35&&!_0x5e0689),_0x1b6744['on'](_0x8a0c7c(0x208),(_0x329b33,_0x3cac1d)=>{const _0x4d43fc=_0x8a0c7c;this[_0x4d43fc(0x1ee)](_0x4d43fc(0x1fd),_0x3cac1d),_0x1b6744[_0x4d43fc(0x1fb)][_0x4d43fc(0x1e3)]('');}),_0x1b6744['on'](_0x8a0c7c(0x204),()=>this[_0x8a0c7c(0x1fa)]()),_0x1b6744[_0x8a0c7c(0x20c)](_0x8a0c7c(0x212))['to'](this[_0x8a0c7c(0x211)][_0x8a0c7c(0x202)],_0x8a0c7c(0x1e2)),_0x437c10;}}function _0x54d3(){const _0x417ad8=['CommentView','focus','editor','showInput','addComment','removeComment','canDiscard','assign','locale','commentThread','1054yezKHX','cancel','_localUser','1196667YEmBde','_createCommentViews','submit','value','element','_createCommentThreadInputView','bind','7303640uprWYT','set','1432473PKcmHy','destroy','_model','disabledSubmit','isEnabled','commentThreadInputView','615VdaHoF','isReadOnly','setData','disableComments','16068GddFfT','isDirty','_config','470wpeSBC','editorConfig','1367NWcFHC','492357MAXUtr','commentInputView','isActive','fire','length','descriptionParts','196867AaMFnQ','updateComment','4PxALhB','delegate','hasDirtyComment','authoredAt','canAccept','commentsListView'];_0x54d3=function(){return _0x417ad8;};return _0x54d3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x286e=['discardSuggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','@external','content','discardButton','commentThreadInputView','<p>','isEnabled','ck-annotation__info','locale','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','set','ck-suggestion','_config','source','editorReady','disableComments','isExternal','color','editorDestroyed','ck-annotation__content-wrapper','span','cancel','render','description','innerText','split','\x22></span>','ck-suggestion__info-name','userView','extendTemplate','ck-suggestion__actions','descriptionParts','\x22\x20title=\x22','author','ck-annotation','_model','creator','delegate','acceptButton','element','push','</p>','importWord','Discard\x20suggestion','.ck-annotation__content-wrapper','children','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-wrapper--active','ck-suggestion--accept','EXTERNAL_AVATAR','authoredAt','change:description','EXTERNAL_IMPORT_WORD_AVATAR','_createButton','</span>','value','time','Accept\x20suggestion','join','commentsListView','EXTERNAL_SUGGESTION','bindTemplate','title','attributes','getExternalSuggestionNote','setTemplate','canDiscard','_descriptionElement','ck-annotation__info-name','div','type','ck-annotation__info-time','innerHTML','getTemplate','execute','isActive','bind','name','ck-annotation__actions','acceptSuggestion','formatDateTime'];(function(_0x1cdf96,_0x286e2){const _0x74e019=function(_0x426ec5){while(--_0x426ec5){_0x1cdf96['push'](_0x1cdf96['shift']());}};_0x74e019(++_0x286e2);}(_0x286e,0xdd));const _0x74e0=function(_0x1cdf96,_0x286e2){_0x1cdf96=_0x1cdf96-0x0;let _0x74e019=_0x286e[_0x1cdf96];return _0x74e019;};import{getTranslation as _0x59cb0d}from'../../utils/common-translations.js';import{default as _0x287d91}from'./basesuggestionthreadview.js';import{ButtonView as _0x8a42ef}from'ckeditor5/src/ui.js';import{icons as _0x45a83a}from'ckeditor5/src/core.js';import{trimHtml as _0x17b48c,UserView as _0x31aa82}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x287d91{constructor(_0x3c54bb,_0x38dfa4,_0x4e0233,_0x2a1656){super(_0x3c54bb,_0x38dfa4,_0x4e0233,_0x2a1656),this[_0x74e0('0x28')](_0x74e0('0x11'),''),this[_0x74e0('0x17')](_0x74e0('0x11'))['to'](this,_0x74e0('0x3d'),_0x47d274=>_0x47d274&&_0x47d274[0x0]?_0x47d274[0x0][_0x74e0('0x11')]:''),this['bind'](_0x74e0('0x35'))['to'](this,_0x74e0('0x3d'),this,'isActive',(_0x312b04,_0x955f84)=>{let _0xf9044d='';for(const _0x277477 of _0x312b04)_0xf9044d+=_0x74e0('0x22')+ds(_0x277477[_0x74e0('0x1f')],_0x277477[_0x74e0('0x2f')])+_0x74e0('0x47');return _0x955f84?_0xf9044d:_0x17b48c(_0xf9044d,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x74e0('0x44')]=this[_0x74e0('0x0')](_0x59cb0d(_0x3c54bb,_0x74e0('0x4')),_0x45a83a['check'],_0x74e0('0x4e'),_0x74e0('0x1a'),'sw'),this['acceptButton'][_0x74e0('0x17')](_0x74e0('0x23'))['to'](this,'canAccept'),this[_0x74e0('0x20')]=this[_0x74e0('0x0')](_0x59cb0d(_0x3c54bb,_0x74e0('0x49')),_0x45a83a[_0x74e0('0x33')],'ck-suggestion--discard',_0x74e0('0x1c'),'sw'),this['discardButton'][_0x74e0('0x17')]('isEnabled')['to'](this,_0x74e0('0xd')),this[_0x74e0('0x3a')]=new _0x31aa82(_0x3c54bb,this['_model'][_0x74e0('0x3f')],this['getUserViewNotificationText']()),this[_0x74e0('0x3a')][_0x74e0('0x3b')]({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this[_0x74e0('0xc')](this['getTemplate']());}[_0x74e0('0x14')](){const _0x527f28=this[_0x74e0('0x8')],_0x137f93=[{'tag':_0x74e0('0x10'),'attributes':{'class':['ck-suggestion__info',_0x74e0('0x24')]},'children':[{'tag':_0x74e0('0x32'),'children':[{'text':this[_0x74e0('0x3a')][_0x74e0('0x18')]}],'attributes':{'class':[_0x74e0('0x39'),_0x74e0('0xf')]}},{'tag':_0x74e0('0x3'),'attributes':{'datetime':_0x527f28['to'](_0x74e0('0x50')),'class':['ck-comment__info-time',_0x74e0('0x12')]},'children':[{'text':_0x527f28['to'](_0x74e0('0x50'),_0x32791f=>this[_0x74e0('0x2a')][_0x74e0('0x1b')](_0x32791f))}]}]},{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x3c'),_0x74e0('0x19')]},'children':[this['acceptButton'],this[_0x74e0('0x20')]]},{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x31')]}}];this[_0x74e0('0x41')][_0x74e0('0x2e')]&&_0x137f93[_0x74e0('0x46')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x450610={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x527f28['if'](_0x74e0('0x16'),_0x74e0('0x4d')),_0x527f28['to'](_0x74e0('0x11'),_0x446b03=>'ck-suggestion-'+_0x446b03),this[_0x74e0('0x2a')][_0x74e0('0x2d')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x74e0('0x41')]['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this[_0x74e0('0x41')][_0x74e0('0x3f')]['id'],'tabindex':-0x1},'children':[{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x29'),_0x74e0('0x40')]},'children':[this[_0x74e0('0x3a')],{'tag':_0x74e0('0x10'),'attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':_0x137f93}]}]};return this[_0x74e0('0x6')]&&this[_0x74e0('0x21')]&&(_0x450610[_0x74e0('0x4b')][_0x74e0('0x46')](this[_0x74e0('0x6')],this[_0x74e0('0x21')]),this[_0x74e0('0x6')][_0x74e0('0x43')](_0x74e0('0x2c'))['to'](this),this[_0x74e0('0x6')]['delegate'](_0x74e0('0x30'))['to'](this),this['commentThreadInputView'][_0x74e0('0x43')](_0x74e0('0x2c'))['to'](this),this[_0x74e0('0x21')][_0x74e0('0x43')](_0x74e0('0x30'))['to'](this)),_0x450610;}['render'](){super[_0x74e0('0x34')](),this[_0x74e0('0xe')]=this[_0x74e0('0x45')]['querySelector'](_0x74e0('0x4a')),this['_descriptionElement']['innerHTML']=this[_0x74e0('0x35')],this['on'](_0x74e0('0x51'),(_0x5ebb59,_0x39b6bc,_0x57369e)=>{this[_0x74e0('0xe')][_0x74e0('0x13')]=_0x57369e;});}['_createButton'](_0x58a3fe,_0x2c04c0,_0x5631ae,_0x36c3f7,_0x2a8031){const _0x5f4975=new _0x8a42ef(this[_0x74e0('0x25')]);return _0x5f4975['set']({'label':_0x58a3fe,'icon':_0x2c04c0,'tooltip':!0x0,'tooltipPosition':_0x2a8031}),_0x5f4975[_0x74e0('0x3b')]({'attributes':{'class':_0x5631ae}}),_0x5f4975['on'](_0x74e0('0x15'),()=>{this[_0x74e0('0x26')](_0x36c3f7,this[_0x74e0('0x41')]['id']);}),_0x5f4975;}[_0x74e0('0xb')](){return _0x74e0('0x48')===this[_0x74e0('0x41')][_0x74e0('0xa')][_0x74e0('0x1e')][_0x74e0('0x2b')]?_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x27')):_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x7'));}['getUserViewNotificationText'](){return this[_0x74e0('0x41')][_0x74e0('0x2e')]?_0x74e0('0x48')===this[_0x74e0('0x41')]['attributes']['@external'][_0x74e0('0x2b')]?_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x52'),this[_0x74e0('0x41')][_0x74e0('0x42')][_0x74e0('0x18')]):_0x59cb0d(this['locale'],_0x74e0('0x4f'),this[_0x74e0('0x41')][_0x74e0('0x42')][_0x74e0('0x18')]):null;}}function ds(_0x2be953,_0x42d2ec){let _0x293287='';return _0x293287+=_0x2be953[_0x74e0('0x37')]('*')['map']((_0x1737a9,_0x58853d)=>_0x58853d%0x2!=0x0?_0x74e0('0x4c')+us(_0x1737a9)+_0x74e0('0x1'):us(_0x1737a9))[_0x74e0('0x5')](''),_0x42d2ec&&(_0x293287+=_0x74e0('0x1d')+_0x42d2ec[_0x74e0('0x2')]+_0x74e0('0x3e')+_0x42d2ec[_0x74e0('0x9')]+_0x74e0('0x38')),_0x293287;}function us(_0x3a2468){const _0x47bc04=document['createElement']('span');return _0x47bc04[_0x74e0('0x36')]=_0x3a2468,_0x47bc04[_0x74e0('0x13')];}
23
+ const _0x27e75c=_0x46ac;function _0x46ac(_0x3c034a,_0x3363f5){const _0x3d481a=_0x3d48();return _0x46ac=function(_0x46acf4,_0x25d040){_0x46acf4=_0x46acf4-0x64;let _0xa59522=_0x3d481a[_0x46acf4];return _0xa59522;},_0x46ac(_0x3c034a,_0x3363f5);}(function(_0x48d0e3,_0x46318a){const _0x4af80d=_0x46ac,_0x687ae7=_0x48d0e3();while(!![]){try{const _0x3b9f02=parseInt(_0x4af80d(0x67))/0x1*(-parseInt(_0x4af80d(0xbe))/0x2)+-parseInt(_0x4af80d(0x8f))/0x3+-parseInt(_0x4af80d(0xc9))/0x4+parseInt(_0x4af80d(0x6f))/0x5+parseInt(_0x4af80d(0xa4))/0x6*(parseInt(_0x4af80d(0x76))/0x7)+parseInt(_0x4af80d(0x94))/0x8+parseInt(_0x4af80d(0xab))/0x9;if(_0x3b9f02===_0x46318a)break;else _0x687ae7['push'](_0x687ae7['shift']());}catch(_0x369ea8){_0x687ae7['push'](_0x687ae7['shift']());}}}(_0x3d48,0x53b09));import{getTranslation as _0x4fd5c8}from'../../utils/common-translations.js';import{default as _0x2e9303}from'./basesuggestionthreadview.js';function _0x3d48(){const _0x463354=['693369rYhcMb','descriptionParts','title','userView','execute','1687024LqTnwE','render','ck-suggestion-','\x22></span>','div','_config','ck-suggestion','discardSuggestion','Discard\x20suggestion','color','editorReady','isExternal','.ck-annotation__content-wrapper','fire','canDiscard','commentsListView','42uKcbFB','content','_descriptionElement','bind','getTemplate','attributes','setTemplate','5828184lNAdfQ','innerHTML','ck-suggestion--discard','ck-annotation__info-time','commentThreadInputView','delegate','canAccept','map','children','Accept\x20suggestion','ck-suggestion__info','ck-suggestion-wrapper--active','cancel','type','set','ck-annotation__actions','authoredAt','check','innerText','538OGWxIc','ck-comment__info-time','ck-suggestion__info-name','_createButton','createElement','extendTemplate','commentThread','ck-annotation__user','join','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','getUserViewNotificationText','1634952NXGQVn','getExternalSuggestionNote','time','value','span','EXTERNAL_IMPORT_WORD_SUGGESTION','name','<span\x20class=\x22ck-suggestion-type\x22>','</span>','creator','disableComments','isActive','1492cTCLKQ','ck-annotation__main','ck-suggestion--accept','_model','importWord','ck-annotation__info-name','element','description','1012595sVxKJe','ck-suggestion__actions','change:description','ck-suggestion-wrapper','ck-annotation__content-wrapper','<p>','ck-comment__external','323029FmzPnH','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation','\x22\x20title=\x22','isEnabled','ck-suggestion__main','acceptSuggestion','author','@external','acceptButton','querySelector','source','ck-suggestion--disabled-comments','ck-annotation__info','editorDestroyed','formatDateTime','discardButton','ck-suggestion__user','push','EXTERNAL_AVATAR','bindTemplate','</p>','locale','split','EXTERNAL_SUGGESTION'];_0x3d48=function(){return _0x463354;};return _0x3d48();}import{ButtonView as _0x17209c}from'ckeditor5/src/ui.js';import{icons as _0x276768}from'ckeditor5/src/core.js';import{trimHtml as _0x407154,UserView as _0x33a23d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x2e9303{constructor(_0x12c04f,_0x47b5eb,_0x2c8739,_0x18b500){const _0x569a6d=_0x46ac;super(_0x12c04f,_0x47b5eb,_0x2c8739,_0x18b500),this[_0x569a6d(0xb9)](_0x569a6d(0xb8),''),this[_0x569a6d(0xa7)](_0x569a6d(0xb8))['to'](this,_0x569a6d(0x90),_0x4ee09a=>_0x4ee09a&&_0x4ee09a[0x0]?_0x4ee09a[0x0][_0x569a6d(0xb8)]:''),this[_0x569a6d(0xa7)](_0x569a6d(0x6e))['to'](this,_0x569a6d(0x90),this,_0x569a6d(0x66),(_0x39bacf,_0x386b7b)=>{const _0x304842=_0x569a6d;let _0xdc9691='';for(const _0x512273 of _0x39bacf)_0xdc9691+=_0x304842(0x74)+ds(_0x512273[_0x304842(0xa5)],_0x512273[_0x304842(0x9d)])+_0x304842(0x8b);return _0x386b7b?_0xdc9691:_0x407154(_0xdc9691,{'limit':0x8c});}),this[_0x569a6d(0xa6)]=null,this[_0x569a6d(0x7f)]=this[_0x569a6d(0xc1)](_0x4fd5c8(_0x12c04f,_0x569a6d(0xb4)),_0x276768[_0x569a6d(0xbc)],_0x569a6d(0x69),_0x569a6d(0x7c),'sw'),this[_0x569a6d(0x7f)][_0x569a6d(0xa7)](_0x569a6d(0x7a))['to'](this,_0x569a6d(0xb1)),this[_0x569a6d(0x86)]=this[_0x569a6d(0xc1)](_0x4fd5c8(_0x12c04f,_0x569a6d(0x9c)),_0x276768[_0x569a6d(0xb7)],_0x569a6d(0xad),_0x569a6d(0x9b),'sw'),this[_0x569a6d(0x86)][_0x569a6d(0xa7)](_0x569a6d(0x7a))['to'](this,_0x569a6d(0xa2)),this[_0x569a6d(0x92)]=new _0x33a23d(_0x12c04f,this[_0x569a6d(0x6a)][_0x569a6d(0x7d)],this[_0x569a6d(0xc8)]()),this[_0x569a6d(0x92)][_0x569a6d(0xc3)]({'attributes':{'class':[_0x569a6d(0x87),_0x569a6d(0xc5)]}}),this[_0x569a6d(0xaa)](this[_0x569a6d(0xa8)]());}[_0x27e75c(0xa8)](){const _0x2b0ae8=_0x27e75c,_0x2a53bc=this[_0x2b0ae8(0x8a)],_0x5501ff=[{'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0xb5),_0x2b0ae8(0x83)]},'children':[{'tag':_0x2b0ae8(0xcd),'children':[{'text':this[_0x2b0ae8(0x92)][_0x2b0ae8(0xcf)]}],'attributes':{'class':[_0x2b0ae8(0xc0),_0x2b0ae8(0x6c)]}},{'tag':_0x2b0ae8(0xcb),'attributes':{'datetime':_0x2a53bc['to'](_0x2b0ae8(0xbb)),'class':[_0x2b0ae8(0xbf),_0x2b0ae8(0xae)]},'children':[{'text':_0x2a53bc['to'](_0x2b0ae8(0xbb),_0x39b1be=>this[_0x2b0ae8(0x99)][_0x2b0ae8(0x85)](_0x39b1be))}]}]},{'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x70),_0x2b0ae8(0xba)]},'children':[this[_0x2b0ae8(0x7f)],this[_0x2b0ae8(0x86)]]},{'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x73)]}}];this[_0x2b0ae8(0x6a)][_0x2b0ae8(0x9f)]&&_0x5501ff[_0x2b0ae8(0x88)]({'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x75)]},'children':[{'text':this[_0x2b0ae8(0xca)]()}]});const _0x4f0d42={'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x72),_0x2a53bc['if'](_0x2b0ae8(0x66),_0x2b0ae8(0xb6)),_0x2a53bc['to'](_0x2b0ae8(0xb8),_0x376480=>_0x2b0ae8(0x96)+_0x376480),this[_0x2b0ae8(0x99)][_0x2b0ae8(0x65)]&&_0x2b0ae8(0x82)],'data-suggestion-id':this[_0x2b0ae8(0x6a)]['id'],'data-thread-id':this[_0x2b0ae8(0x6a)][_0x2b0ae8(0xc4)]['id'],'data-author-id':this[_0x2b0ae8(0x6a)][_0x2b0ae8(0x7d)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x9a),_0x2b0ae8(0x78)]},'children':[this[_0x2b0ae8(0x92)],{'tag':_0x2b0ae8(0x98),'attributes':{'class':[_0x2b0ae8(0x7b),_0x2b0ae8(0x68)]},'children':_0x5501ff}]}]};return this[_0x2b0ae8(0xa3)]&&this[_0x2b0ae8(0xaf)]&&(_0x4f0d42[_0x2b0ae8(0xb3)][_0x2b0ae8(0x88)](this[_0x2b0ae8(0xa3)],this[_0x2b0ae8(0xaf)]),this[_0x2b0ae8(0xa3)][_0x2b0ae8(0xb0)](_0x2b0ae8(0x9e))['to'](this),this[_0x2b0ae8(0xa3)][_0x2b0ae8(0xb0)](_0x2b0ae8(0x84))['to'](this),this[_0x2b0ae8(0xaf)][_0x2b0ae8(0xb0)](_0x2b0ae8(0x9e))['to'](this),this[_0x2b0ae8(0xaf)][_0x2b0ae8(0xb0)](_0x2b0ae8(0x84))['to'](this)),_0x4f0d42;}[_0x27e75c(0x95)](){const _0xcf266=_0x27e75c;super[_0xcf266(0x95)](),this[_0xcf266(0xa6)]=this[_0xcf266(0x6d)][_0xcf266(0x80)](_0xcf266(0xa0)),this[_0xcf266(0xa6)][_0xcf266(0xac)]=this[_0xcf266(0x6e)],this['on'](_0xcf266(0x71),(_0x426286,_0x31dd86,_0x112acc)=>{const _0x2a977e=_0xcf266;this[_0x2a977e(0xa6)][_0x2a977e(0xac)]=_0x112acc;});}[_0x27e75c(0xc1)](_0x53ef92,_0x3f9e17,_0x2fa7c3,_0x24a2b9,_0x3f72ac){const _0xf6a5de=_0x27e75c,_0x45d129=new _0x17209c(this[_0xf6a5de(0x8c)]);return _0x45d129[_0xf6a5de(0xb9)]({'label':_0x53ef92,'icon':_0x3f9e17,'tooltip':!0x0,'tooltipPosition':_0x3f72ac}),_0x45d129[_0xf6a5de(0xc3)]({'attributes':{'class':_0x2fa7c3}}),_0x45d129['on'](_0xf6a5de(0x93),()=>{const _0x3c0ad2=_0xf6a5de;this[_0x3c0ad2(0xa1)](_0x24a2b9,this[_0x3c0ad2(0x6a)]['id']);}),_0x45d129;}[_0x27e75c(0xca)](){const _0x25345a=_0x27e75c;return _0x25345a(0x6b)===this[_0x25345a(0x6a)][_0x25345a(0xa9)][_0x25345a(0x7e)][_0x25345a(0x81)]?_0x4fd5c8(this[_0x25345a(0x8c)],_0x25345a(0xce)):_0x4fd5c8(this[_0x25345a(0x8c)],_0x25345a(0x8e));}[_0x27e75c(0xc8)](){const _0x270fbb=_0x27e75c;return this[_0x270fbb(0x6a)][_0x270fbb(0x9f)]?_0x270fbb(0x6b)===this[_0x270fbb(0x6a)][_0x270fbb(0xa9)][_0x270fbb(0x7e)][_0x270fbb(0x81)]?_0x4fd5c8(this[_0x270fbb(0x8c)],_0x270fbb(0x77),this[_0x270fbb(0x6a)][_0x270fbb(0x64)][_0x270fbb(0xcf)]):_0x4fd5c8(this[_0x270fbb(0x8c)],_0x270fbb(0x89),this[_0x270fbb(0x6a)][_0x270fbb(0x64)][_0x270fbb(0xcf)]):null;}}function ds(_0x330b6f,_0x28788){const _0x1424fc=_0x27e75c;let _0x9a3a13='';return _0x9a3a13+=_0x330b6f[_0x1424fc(0x8d)]('*')[_0x1424fc(0xb2)]((_0x31cb9c,_0x3d78ff)=>_0x3d78ff%0x2!=0x0?_0x1424fc(0xd0)+us(_0x31cb9c)+_0x1424fc(0xd1):us(_0x31cb9c))[_0x1424fc(0xc6)](''),_0x28788&&(_0x9a3a13+=_0x1424fc(0xc7)+_0x28788[_0x1424fc(0xcc)]+_0x1424fc(0x79)+_0x28788[_0x1424fc(0x91)]+_0x1424fc(0x97)),_0x9a3a13;}function us(_0x2df7bb){const _0x34dbcc=_0x27e75c,_0x30bad0=document[_0x34dbcc(0xc2)](_0x34dbcc(0xcd));return _0x30bad0[_0x34dbcc(0xbd)]=_0x2df7bb,_0x30bad0[_0x34dbcc(0xac)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2b54d3,_0xa705d6,_0x13ea32){const t=_0x2b54d3['t'];switch(_0xa705d6){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',_0x13ea32);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x13ea32);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x13ea32);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x13ea32);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x13ea32);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',_0x13ea32);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x13ea32);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',_0x13ea32);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x13ea32);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x13ea32);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x13ea32);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x13ea32);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x13ea32);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x13ea32);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x13ea32);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x13ea32);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x13ea32);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x13ea32);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x13ea32);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x13ea32);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x13ea32);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x13ea32);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x13ea32);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'},_0x13ea32);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x13ea32);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x13ea32);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x13ea32);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x13ea32);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x13ea32);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'},_0x13ea32);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x13ea32);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x13ea32);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x13ea32);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x13ea32);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'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x13ea32);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x13ea32);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'},_0x13ea32);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'},_0x13ea32);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x13ea32);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'},_0x13ea32);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x13ea32);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'},_0x13ea32);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x13ea32);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x13ea32);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x13ea32);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'},_0x13ea32);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xa705d6;}}
23
+ export function getTranslation(_0x1427b3,_0x519ee8,_0x24c4d2){const t=_0x1427b3['t'];switch(_0x519ee8){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',_0x24c4d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x24c4d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x24c4d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x24c4d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x24c4d2);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',_0x24c4d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x24c4d2);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',_0x24c4d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x24c4d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x24c4d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x24c4d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x24c4d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x24c4d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x24c4d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x24c4d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x24c4d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x24c4d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x24c4d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x24c4d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x24c4d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x24c4d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x24c4d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x24c4d2);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'},_0x24c4d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x24c4d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x24c4d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x24c4d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x24c4d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x24c4d2);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'},_0x24c4d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x24c4d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x24c4d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x24c4d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x24c4d2);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'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x24c4d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x24c4d2);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'},_0x24c4d2);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'},_0x24c4d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x24c4d2);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'},_0x24c4d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x24c4d2);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'},_0x24c4d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x24c4d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x24c4d2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x24c4d2);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'},_0x24c4d2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x519ee8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3807=['map','value','push','change','isIntersecting','deletion','replace','length','isMultiRange','createPositionBefore','start','isArray','add','next','join','\x20[color\x20','createRange','end','getRanges','isObject','createPositionAfter','createPositionAt','isCollapsed','isTouching','content','from','sort','isInContent','color','type'];(function(_0x289575,_0x380774){const _0x3cb313=function(_0xb9f9f6){while(--_0xb9f9f6){_0x289575['push'](_0x289575['shift']());}};_0x3cb313(++_0x380774);}(_0x3807,0x10e));const _0x3cb3=function(_0x289575,_0x380774){_0x289575=_0x289575-0x0;let _0x3cb313=_0x3807[_0x289575];return _0x3cb313;};export function normalizeDescription(_0x5831e9){return Array[_0x3cb3('0xb')](_0x5831e9)||(_0x5831e9=[_0x5831e9]),_0x5831e9[_0x3cb3('0x0')](_0x450c63=>{const _0x352623=_0x450c63[_0x3cb3('0x18')][_0x3cb3('0x6')](/\*/g,''),_0x8fe86d=_0x450c63[_0x3cb3('0x1c')]?_0x3cb3('0xf')+_0x450c63[_0x3cb3('0x1c')][_0x3cb3('0x1')]+']':'';return'['+_0x450c63[_0x3cb3('0x1d')]+']\x20'+_0x352623+_0x8fe86d;})[_0x3cb3('0xe')](';\x20');}export function sortSuggestions(_0x5de58a){return _0x5de58a[_0x3cb3('0x1a')]((_0x2a7c21,_0x3810ed)=>_0x3cb3('0x5')==_0x2a7c21[_0x3cb3('0x1d')]&&_0x3cb3('0x5')!=_0x3810ed[_0x3cb3('0x1d')]?-0x1:_0x3cb3('0x5')!=_0x2a7c21[_0x3cb3('0x1d')]&&_0x3cb3('0x5')==_0x3810ed['type']?0x1:0x0);}export function getSelectedSuggestions(_0x26175f,_0x1ce8b9){const _0x8b2b0f=Array[_0x3cb3('0x19')](_0x26175f[_0x3cb3('0x12')]()),_0x55995b=new Set();for(const _0x176f21 of _0x1ce8b9)if(_0x176f21[_0x3cb3('0x1b')])for(const _0x3028b5 of _0x8b2b0f)for(const _0x3059cb of _0x176f21['getRanges']())(_0x3028b5[_0x3cb3('0x4')](_0x3059cb)||_0x26175f[_0x3cb3('0x16')]&&!_0x176f21[_0x3cb3('0x8')]&&_0x176f21[_0x3cb3('0xd')]&&_0x3059cb['end'][_0x3cb3('0x17')](_0x3028b5[_0x3cb3('0xa')]))&&_0x55995b[_0x3cb3('0xc')](_0x176f21);return _0x55995b;}export function getRangesOfBlockGroups(_0x18ec60,_0x416b5b){let _0x537da7,_0x1c8b99=0x0;const _0x1a111c=[],_0x46b00d=_0x416b5b['schema'];for(;_0x1c8b99<_0x18ec60[_0x3cb3('0x7')];){const _0x6efff6=_0x18ec60[_0x1c8b99],_0x11dc24=_0x18ec60[_0x1c8b99+0x1];_0x537da7||(_0x537da7=_0x416b5b[_0x3cb3('0x9')](_0x6efff6)),co(_0x416b5b,_0x6efff6,_0x11dc24)||(_0x1a111c[_0x3cb3('0x2')](_0x416b5b[_0x3cb3('0x10')](_0x537da7,_0x46b00d[_0x3cb3('0x13')](_0x6efff6)?_0x416b5b[_0x3cb3('0x14')](_0x6efff6):_0x416b5b[_0x3cb3('0x15')](_0x6efff6,_0x3cb3('0x11')))),_0x537da7=null),_0x1c8b99++;}return _0x1a111c;}function co(_0x5b0845,_0x1de633,_0x1caa72){if(!_0x1caa72)return!0x1;const _0xbf05d0=_0x5b0845[_0x3cb3('0x14')](_0x1de633),_0x1bb1ff=_0x5b0845[_0x3cb3('0x9')](_0x1caa72);return _0xbf05d0[_0x3cb3('0x17')](_0x1bb1ff);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5a7a5c,_0x5d155b,_0x2db489){for(;_0x2db489[_0x3cb3('0x7')];){const _0x4c2913=_0x2db489['splice'](0x0,0x64);_0x5a7a5c[_0x3cb3('0x3')](()=>{for(const _0x393c69 of _0x4c2913)_0x393c69['isInContent']&&_0x5d155b['execute'](_0x393c69['id']);});}}
23
+ (function(_0x30241d,_0x4c1c57){const _0x58038f=_0x1af1,_0xd11c38=_0x30241d();while(!![]){try{const _0x3838c3=parseInt(_0x58038f(0x1e7))/0x1*(-parseInt(_0x58038f(0x1c8))/0x2)+parseInt(_0x58038f(0x1c6))/0x3*(parseInt(_0x58038f(0x1e0))/0x4)+-parseInt(_0x58038f(0x1dd))/0x5+-parseInt(_0x58038f(0x1c9))/0x6+-parseInt(_0x58038f(0x1e6))/0x7+parseInt(_0x58038f(0x1d2))/0x8*(-parseInt(_0x58038f(0x1e1))/0x9)+-parseInt(_0x58038f(0x1ce))/0xa*(-parseInt(_0x58038f(0x1e4))/0xb);if(_0x3838c3===_0x4c1c57)break;else _0xd11c38['push'](_0xd11c38['shift']());}catch(_0x456e91){_0xd11c38['push'](_0xd11c38['shift']());}}}(_0x2dd2,0x234d2));export function normalizeDescription(_0x2f906d){const _0x10362c=_0x1af1;return Array[_0x10362c(0x1d4)](_0x2f906d)||(_0x2f906d=[_0x2f906d]),_0x2f906d[_0x10362c(0x1cd)](_0x40669c=>{const _0x1c7086=_0x10362c,_0x25c0b8=_0x40669c[_0x1c7086(0x1d6)][_0x1c7086(0x1eb)](/\*/g,''),_0x157c2a=_0x40669c[_0x1c7086(0x1c7)]?_0x1c7086(0x1ee)+_0x40669c[_0x1c7086(0x1c7)][_0x1c7086(0x1e5)]+']':'';return'['+_0x40669c[_0x1c7086(0x1d5)]+']\x20'+_0x25c0b8+_0x157c2a;})[_0x10362c(0x1dc)](';\x20');}export function sortSuggestions(_0x2dc227){const _0x2cddf9=_0x1af1;return _0x2dc227[_0x2cddf9(0x1c5)]((_0x583008,_0x16719f)=>_0x2cddf9(0x1ea)==_0x583008[_0x2cddf9(0x1d5)]&&_0x2cddf9(0x1ea)!=_0x16719f[_0x2cddf9(0x1d5)]?-0x1:_0x2cddf9(0x1ea)!=_0x583008[_0x2cddf9(0x1d5)]&&_0x2cddf9(0x1ea)==_0x16719f[_0x2cddf9(0x1d5)]?0x1:0x0);}export function getSelectedSuggestions(_0xd8ae26,_0x23051e){const _0x3d5f31=_0x1af1,_0x2889b6=Array[_0x3d5f31(0x1d0)](_0xd8ae26[_0x3d5f31(0x1ed)]()),_0x1a22e0=new Set();for(const _0x1d1287 of _0x23051e)if(_0x1d1287[_0x3d5f31(0x1cc)]){for(const _0x145a44 of _0x2889b6)for(const _0x1a9f51 of _0x1d1287[_0x3d5f31(0x1ed)]())(_0x145a44[_0x3d5f31(0x1e9)](_0x1a9f51)||_0xd8ae26[_0x3d5f31(0x1ec)]&&!_0x1d1287[_0x3d5f31(0x1d3)]&&_0x1d1287[_0x3d5f31(0x1da)]&&_0x1a9f51[_0x3d5f31(0x1d7)][_0x3d5f31(0x1ca)](_0x145a44[_0x3d5f31(0x1e8)]))&&_0x1a22e0[_0x3d5f31(0x1cb)](_0x1d1287);}return _0x1a22e0;}export function getRangesOfBlockGroups(_0x180eff,_0x5121e6){const _0x2fa7a3=_0x1af1;let _0x29da73,_0xd4ac76=0x0;const _0x4017bd=[],_0xa38c4c=_0x5121e6[_0x2fa7a3(0x1cf)];for(;_0xd4ac76<_0x180eff[_0x2fa7a3(0x1de)];){const _0x400962=_0x180eff[_0xd4ac76],_0x447a8e=_0x180eff[_0xd4ac76+0x1];_0x29da73||(_0x29da73=_0x5121e6[_0x2fa7a3(0x1c3)](_0x400962)),co(_0x5121e6,_0x400962,_0x447a8e)||(_0x4017bd[_0x2fa7a3(0x1df)](_0x5121e6[_0x2fa7a3(0x1e2)](_0x29da73,_0xa38c4c[_0x2fa7a3(0x1d8)](_0x400962)?_0x5121e6[_0x2fa7a3(0x1c4)](_0x400962):_0x5121e6[_0x2fa7a3(0x1e3)](_0x400962,_0x2fa7a3(0x1d7)))),_0x29da73=null),_0xd4ac76++;}return _0x4017bd;}function co(_0x2fd6e3,_0x41616c,_0x10b236){const _0x517869=_0x1af1;if(!_0x10b236)return!0x1;const _0x5a82a9=_0x2fd6e3[_0x517869(0x1c4)](_0x41616c),_0x28ed78=_0x2fd6e3[_0x517869(0x1c3)](_0x10b236);return _0x5a82a9[_0x517869(0x1ca)](_0x28ed78);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1af1(_0x20b3b0,_0xa4d6d9){const _0x2dd236=_0x2dd2();return _0x1af1=function(_0x1af162,_0x35c206){_0x1af162=_0x1af162-0x1c3;let _0x138a62=_0x2dd236[_0x1af162];return _0x138a62;},_0x1af1(_0x20b3b0,_0xa4d6d9);}export function executeCommandForSuggestions(_0x4fab76,_0x4a4508,_0x397d04){const _0x284d6a=_0x1af1;for(;_0x397d04[_0x284d6a(0x1de)];){const _0x2d368d=_0x397d04[_0x284d6a(0x1d9)](0x0,0x64);_0x4fab76[_0x284d6a(0x1d1)](()=>{const _0x16e38d=_0x284d6a;for(const _0x51b8ce of _0x2d368d)_0x51b8ce[_0x16e38d(0x1cc)]&&_0x4a4508[_0x16e38d(0x1db)](_0x51b8ce['id']);});}}function _0x2dd2(){const _0x41bb0f=['start','isIntersecting','deletion','replace','isCollapsed','getRanges','\x20[color\x20','createPositionBefore','createPositionAfter','sort','792ONNghT','color','2NqLzwT','1197108qrpHMT','isTouching','add','isInContent','map','7816450nUtCUk','schema','from','change','344WIvRmR','isMultiRange','isArray','type','content','end','isObject','splice','next','execute','join','310185cjCZbA','length','push','2068dpjBZA','14292vSoZJS','createRange','createPositionAt','11iBvprL','value','1963661TDsDCF','163177EnINkX'];_0x2dd2=function(){return _0x41bb0f;};return _0x2dd2();}