@ckeditor/ckeditor5-track-changes 42.0.0-alpha.21 → 42.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x28aee2=_0x4d20;(function(_0x84d363,_0x3a0d1c){const _0x5e54d8=_0x4d20,_0x4614c1=_0x84d363();while(!![]){try{const _0x24238d=parseInt(_0x5e54d8(0x152))/0x1*(parseInt(_0x5e54d8(0x1ba))/0x2)+parseInt(_0x5e54d8(0x17f))/0x3+parseInt(_0x5e54d8(0x167))/0x4*(-parseInt(_0x5e54d8(0x1be))/0x5)+-parseInt(_0x5e54d8(0x1d5))/0x6*(-parseInt(_0x5e54d8(0x154))/0x7)+parseInt(_0x5e54d8(0x156))/0x8+-parseInt(_0x5e54d8(0x187))/0x9+-parseInt(_0x5e54d8(0x153))/0xa;if(_0x24238d===_0x3a0d1c)break;else _0x4614c1['push'](_0x4614c1['shift']());}catch(_0x574adf){_0x4614c1['push'](_0x4614c1['shift']());}}}(_0x2c75,0xc570b));import{Plugin as _0x483aea}from'ckeditor5/src/core.js';import{Collection as _0x34ecd9}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1f7a6a,createDropdown as _0x485297,ListSeparatorView as _0x2ac891,MenuBarMenuView as _0x7981c,MenuBarMenuListView as _0x4e86b8,MenuBarMenuListItemView as _0x24c036,MenuBarMenuListItemButtonView as _0x5565b6,SplitButtonView as _0xba091e,ViewModel as _0x239d87}from'ckeditor5/src/ui.js';function _0x4d20(_0x104e31,_0x240606){const _0x2c7590=_0x2c75();return _0x4d20=function(_0x4d205d,_0x1b083a){_0x4d205d=_0x4d205d-0x145;let _0x31b8c9=_0x2c7590[_0x4d205d];return _0x31b8c9;},_0x4d20(_0x104e31,_0x240606);}import{Users as _0x2ccef9,getDateTimeFormatter as _0x2e47d4,getAllMarkersDomElementsSorted as _0x7ec55e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x144aa1 from'./trackchangesediting.js';import _0x30a64a from'./ui/suggestioncontroller.js';import _0x1f91bb from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5278e9}from'./utils/common-translations.js';import _0x4433ac from'../theme/icons/track-changes.svg';function _0x2c75(){const _0x5afc05=['acceptButton','_initializeController','from','Annotations','add','trackChanges','2806044ITyZhp','separator','hasSuggestion','Track\x20changes','suggestionUnloaded','suggestionLoaded','createAnnotationView','values','4129605aErsgK','_unbindEditors','bind','getMarkers','componentFactory','plugins','_destroyController','unbind','getAllAdjacentSuggestions','type','getDescriptions','set','discardButton','EditorAnnotations','push','editing','_annotationViews','some','acceptSelectedSuggestions','comments.maxCommentCharsWhenCollapsed','source','comments.maxThreadTotalWeight','get','getSuggestion','menuitem','delete','isMultiRange','config','change:previous','actionView','descriptionParts','CommentsUI','stopListening','commentThread','locale','reduce','descriptionFactory','Discard\x20all\x20suggestions','addSourceCollector','getFirstRange','_suggestionToController','panelView','_handleSuggestionControllerDelayed','destroy','comments','_viewToController','isDirty','view','children','activeMarkers','Discard\x20all\x20selected\x20suggestions','26pIUMyX','execute','_createMenuBarMenu','buttonView','25405arxaLN','previous','value','pluginName','suggestion-','keys','createCommentThreadController','isInContent','TrackChangesUI','filter','head','CommentsRepository','lowest','change:activeAnnotations','_bindAnnotationToEditors','focus','switchbutton','mainView','menuitemcheckbox','trackChanges.disableComments','isOn','discardSelectedSuggestions','toMany','33954DYSQPj','registerAnnotation','Accept\x20all\x20suggestions','createAnnotation','refreshSelectedViews','has','comments.maxCommentsWhenCollapsed','getMarkerNames','clear','requires','menu','remove','button','commands','89487FpjnCE','31311800OOlgcZ','1974XZLvvO','Accept\x20all\x20selected\x20suggestions','12259408qLdbnl','define','CommentView','addComment','comments.editorConfig','trackChanges.SuggestionThreadView','suggestionChanged','getRanges','_handleControllerBuffer','_disableComments','_addUIComponentsToFactory','getJoined','editor','commandName','TrackChangesEditing','activeAnnotations','_createToolbarButton','652vikHUx','length','SuggestionThreadView','innerView','arrowView','size','_updateController','isEnabled','getByInnerView','_refreshActiveMarkers','items','delegate','acceptAllSuggestions','init','listenTo','menuBar:trackChanges','discardAllSuggestions','model'];_0x2c75=function(){return _0x5afc05;};return _0x2c75();}export default class d extends _0x483aea{static get[_0x28aee2(0x14d)](){const _0x18ddee=_0x28aee2;return[_0x144aa1,_0x2ccef9,_0x18ddee(0x1c9),_0x18ddee(0x17c),_0x18ddee(0x194)];}static get[_0x28aee2(0x1c1)](){const _0x1fba1a=_0x28aee2;return _0x1fba1a(0x1c6);}constructor(_0x3dcf4b){const _0x27871b=_0x28aee2;super(_0x3dcf4b),this[_0x27871b(0x1af)]=new Map(),this[_0x27871b(0x1b4)]=new Map(),this[_0x27871b(0x197)]=new Map(),this[_0x27871b(0x15e)]=new Map();const _0x5690db=this[_0x27871b(0x162)][_0x27871b(0x1a2)];_0x5690db[_0x27871b(0x157)](_0x27871b(0x15b),_0x1f91bb),_0x5690db[_0x27871b(0x157)](_0x27871b(0x1d1),!0x1),this[_0x27871b(0x15f)]=_0x5690db[_0x27871b(0x19d)](_0x27871b(0x1d1));}[_0x28aee2(0x1b1)](_0x4dfec8,_0x20d639){const _0x2ae585=_0x28aee2;0x0===this[_0x2ae585(0x15e)][_0x2ae585(0x16c)]&&setTimeout(()=>{const _0x458adc=_0x2ae585;for(const [_0x285313,_0x2a9955]of this[_0x458adc(0x15e)]){const _0x2e92c7=this[_0x458adc(0x1af)][_0x458adc(0x149)](_0x285313);_0x2e92c7||_0x2a9955?_0x2e92c7&&_0x2a9955&&this[_0x458adc(0x18d)](_0x285313):this[_0x458adc(0x17a)](_0x285313);}this[_0x458adc(0x15e)][_0x458adc(0x14c)](),this[_0x458adc(0x162)][_0x458adc(0x18c)][_0x458adc(0x19d)](_0x458adc(0x194))[_0x458adc(0x148)](),this[_0x458adc(0x170)]();},0xa),this[_0x2ae585(0x15e)][_0x2ae585(0x192)](_0x4dfec8,_0x20d639);}[_0x28aee2(0x174)](){const _0x3e8847=_0x28aee2,_0x4f271d=this[_0x3e8847(0x162)],_0x42eb3e=_0x4f271d[_0x3e8847(0x18c)][_0x3e8847(0x19d)](_0x3e8847(0x164)),_0x55607b=_0x4f271d[_0x3e8847(0x18c)][_0x3e8847(0x19d)](_0x3e8847(0x17c)),_0x485a86=_0x4f271d[_0x3e8847(0x18c)][_0x3e8847(0x19d)](_0x3e8847(0x194)),_0x2c3e2e=_0x4f271d[_0x3e8847(0x18c)][_0x3e8847(0x19d)](_0x3e8847(0x1c9));this[_0x3e8847(0x160)](),_0x485a86[_0x3e8847(0x1ad)](()=>{const _0x17ef60=_0x3e8847,_0x5f1ba1=[];for(const [_0x40bc9f,_0x48272b]of Array[_0x17ef60(0x17b)](this[_0x17ef60(0x1af)])){const _0x2bfa38=_0x40bc9f[_0x17ef60(0x18f)](),_0x108633=[];for(const _0x3090f5 of _0x2bfa38){if(!_0x3090f5[_0x17ef60(0x1c5)])continue;if(_0x3090f5[_0x17ef60(0x1a1)]){_0x108633[_0x17ef60(0x195)](..._0x3090f5[_0x17ef60(0x15d)]());continue;}const _0xc5fe9=_0x3090f5[_0x17ef60(0x1ae)]();if(_0x108633[_0x17ef60(0x168)]>0x0){const _0x597afe=_0x108633[0x0][_0x17ef60(0x161)](_0xc5fe9);if(_0x597afe){_0x108633[0x0]=_0x597afe;continue;}}_0x108633[_0x17ef60(0x195)](_0xc5fe9);}_0x5f1ba1[_0x17ef60(0x195)]([_0x48272b[_0x17ef60(0x1b6)],_0x108633]);}return _0x5f1ba1;}),this[_0x3e8847(0x175)](_0x42eb3e,_0x3e8847(0x184),(_0x1acd7c,_0x4e6205)=>{const _0x5b7d51=_0x3e8847;this[_0x5b7d51(0x175)](_0x4e6205,_0x5b7d51(0x1a3),(_0x212630,_0x46dc06,_0x1ed0bf,_0x462e96)=>{const _0x243e61=_0x5b7d51;_0x4e6205[_0x243e61(0x1c5)]&&(null==_0x1ed0bf?(this[_0x243e61(0x16d)](_0x462e96[_0x243e61(0x1c8)]),this[_0x243e61(0x1b1)](_0x4e6205,!0x1)):(this[_0x243e61(0x16d)](_0x1ed0bf[_0x243e61(0x1c8)]),null==_0x462e96&&this[_0x243e61(0x1b1)](_0x4e6205,!0x0)));}),null!==_0x4e6205[_0x5b7d51(0x1bf)]?this[_0x5b7d51(0x16d)](_0x4e6205[_0x5b7d51(0x1c8)]):this[_0x5b7d51(0x1b1)](_0x4e6205,!0x1);}),this[_0x3e8847(0x175)](_0x42eb3e,_0x3e8847(0x183),(_0x13a0e9,_0x3d9875,_0x359d37)=>{const _0x1c1a37=_0x3e8847;this[_0x1c1a37(0x1a7)](_0x3d9875,_0x1c1a37(0x1a3)),this[_0x1c1a37(0x15e)][_0x1c1a37(0x1a0)](_0x3d9875),this[_0x1c1a37(0x1af)][_0x1c1a37(0x149)](_0x3d9875)&&this[_0x1c1a37(0x18d)](_0x3d9875),_0x359d37&&this[_0x1c1a37(0x16d)](_0x359d37[_0x1c1a37(0x1c8)]);}),this[_0x3e8847(0x175)](_0x42eb3e,_0x3e8847(0x15c),(_0x28db77,_0x21c85c)=>{const _0x201f90=_0x3e8847;this[_0x201f90(0x16d)](_0x21c85c);}),this[_0x3e8847(0x175)](_0x55607b,_0x3e8847(0x1cb),()=>{const _0x46886b=_0x3e8847;this[_0x46886b(0x170)]();}),this[_0x3e8847(0x175)](_0x2c3e2e,_0x3e8847(0x159),(_0x1888cc,{threadId:_0x2d71d3,isFromAdapter:_0xb97112})=>{const _0xe21066=_0x3e8847;if(_0xb97112||!_0x42eb3e[_0xe21066(0x181)](_0x2d71d3))return;const _0x13e53e=_0x42eb3e[_0xe21066(0x19e)](_0x2d71d3);this[_0xe21066(0x1af)][_0xe21066(0x19d)](_0x13e53e)[_0xe21066(0x1b6)][_0xe21066(0x1cd)]();},{'priority':_0x3e8847(0x1ca)});}[_0x28aee2(0x170)](){const _0x551df0=_0x28aee2,_0x17374f=this[_0x551df0(0x162)][_0x551df0(0x18c)][_0x551df0(0x19d)](_0x551df0(0x17c)),_0x52f9dd=this[_0x551df0(0x162)][_0x551df0(0x18c)][_0x551df0(0x19d)](_0x551df0(0x164)),_0x615862=Array[_0x551df0(0x17b)](_0x17374f[_0x551df0(0x165)],_0x27e2ad=>_0x27e2ad[_0x551df0(0x16a)])[_0x551df0(0x1c7)](_0x54ebf9=>this[_0x551df0(0x1b4)][_0x551df0(0x149)](_0x54ebf9)),_0x4a8f20=[];for(const _0x1c7e6e of _0x615862){const _0x400ab2=this[_0x551df0(0x1b4)][_0x551df0(0x19d)](_0x1c7e6e)[_0x551df0(0x178)][_0x551df0(0x18f)]();_0x4a8f20[_0x551df0(0x195)](..._0x400ab2[_0x551df0(0x1aa)]((_0x3f9375,_0x2a267f)=>[..._0x3f9375,..._0x2a267f[_0x551df0(0x14b)]()],[]));}_0x52f9dd[_0x551df0(0x1b8)]=_0x4a8f20;}[_0x28aee2(0x160)](){const _0x59a4fd=_0x28aee2,_0x64cb8b=this[_0x59a4fd(0x162)],_0x285c78=_0x64cb8b[_0x59a4fd(0x1a9)],_0x4d79b4=_0x5278e9(_0x285c78,_0x59a4fd(0x182)),_0x3a9c5c=new _0x34ecd9([{'type':_0x59a4fd(0x1ce),'model':new _0x239d87({'withText':!0x0,'label':_0x4d79b4,'commandName':_0x59a4fd(0x17e),'role':_0x59a4fd(0x1d0)})},{'type':_0x59a4fd(0x180)},{'type':_0x59a4fd(0x150),'model':new _0x239d87({'withText':!0x0,'label':_0x5278e9(_0x285c78,_0x59a4fd(0x146)),'commandName':_0x59a4fd(0x173),'role':_0x59a4fd(0x19f)})},{'type':_0x59a4fd(0x150),'model':new _0x239d87({'withText':!0x0,'label':_0x5278e9(_0x285c78,_0x59a4fd(0x155)),'commandName':_0x59a4fd(0x199),'role':_0x59a4fd(0x19f)})},{'type':_0x59a4fd(0x150),'model':new _0x239d87({'withText':!0x0,'label':_0x5278e9(_0x285c78,_0x59a4fd(0x1ac)),'commandName':_0x59a4fd(0x177),'role':_0x59a4fd(0x19f)})},{'type':_0x59a4fd(0x150),'model':new _0x239d87({'withText':!0x0,'label':_0x5278e9(_0x285c78,_0x59a4fd(0x1b9)),'commandName':_0x59a4fd(0x1d3),'role':_0x59a4fd(0x19f)})}]);for(const _0x2ccb06 of _0x3a9c5c)if(ae(_0x2ccb06)){const _0xccd46e=_0x64cb8b[_0x59a4fd(0x151)][_0x59a4fd(0x19d)](_0x2ccb06[_0x59a4fd(0x178)][_0x59a4fd(0x163)]);_0x2ccb06[_0x59a4fd(0x178)][_0x59a4fd(0x189)](_0x59a4fd(0x1d2),_0x59a4fd(0x16e))['to'](_0xccd46e,_0x59a4fd(0x1c0),_0x59a4fd(0x16e));}_0x64cb8b['ui'][_0x59a4fd(0x18b)][_0x59a4fd(0x17d)](_0x59a4fd(0x17e),_0x431d29=>this[_0x59a4fd(0x166)](_0x431d29,_0x3a9c5c,_0x4d79b4)),_0x64cb8b['ui'][_0x59a4fd(0x18b)][_0x59a4fd(0x17d)](_0x59a4fd(0x176),_0x19c5eb=>this[_0x59a4fd(0x1bc)](_0x19c5eb,_0x3a9c5c,_0x4d79b4));}[_0x28aee2(0x166)](_0xe8bc70,_0xf3a2f4,_0x18fb33){const _0x2b30fa=_0x28aee2,_0x2ad29d=_0x485297(_0xe8bc70,_0xba091e),_0x2e2853=this[_0x2b30fa(0x162)][_0x2b30fa(0x151)][_0x2b30fa(0x19d)](_0x2b30fa(0x17e));_0x2ad29d[_0x2b30fa(0x1bd)][_0x2b30fa(0x192)]({'tooltip':_0x18fb33,'label':_0x18fb33,'icon':_0x4433ac}),_0x2ad29d[_0x2b30fa(0x1bd)][_0x2b30fa(0x189)](_0x2b30fa(0x1d2))['to'](_0x2e2853,_0x2b30fa(0x1c0)),_0x2ad29d[_0x2b30fa(0x1bd)]['on'](_0x2b30fa(0x1bb),()=>{const _0x47c38f=_0x2b30fa;_0x2e2853[_0x47c38f(0x1bb)](),this[_0x47c38f(0x162)][_0x47c38f(0x196)][_0x47c38f(0x1b6)][_0x47c38f(0x1cd)]();}),_0x1f7a6a(_0x2ad29d,_0xf3a2f4,{'role':_0x2b30fa(0x14e)});const _0x15bca2=[];for(const _0x575162 of _0xf3a2f4)ae(_0x575162)&&_0x15bca2[_0x2b30fa(0x195)](this[_0x2b30fa(0x162)][_0x2b30fa(0x151)][_0x2b30fa(0x19d)](_0x575162[_0x2b30fa(0x178)][_0x2b30fa(0x163)]));const _0x85953a=_0x2ad29d[_0x2b30fa(0x1bd)];return _0x85953a[_0x2b30fa(0x1a4)][_0x2b30fa(0x18e)](_0x2b30fa(0x16e)),_0x85953a[_0x2b30fa(0x16b)][_0x2b30fa(0x18e)](_0x2b30fa(0x16e)),_0x85953a[_0x2b30fa(0x1a4)][_0x2b30fa(0x189)](_0x2b30fa(0x16e))['to'](_0x2e2853,_0x2b30fa(0x16e)),_0x85953a[_0x2b30fa(0x16b)][_0x2b30fa(0x189)](_0x2b30fa(0x16e))[_0x2b30fa(0x1d4)](_0x15bca2,_0x2b30fa(0x16e),(..._0x2afd37)=>_0x2afd37[_0x2b30fa(0x198)](_0x5d5af6=>_0x5d5af6)),_0x2ad29d['on'](_0x2b30fa(0x1bb),_0x3b57fb=>{const _0xb71be1=_0x2b30fa;this[_0xb71be1(0x162)][_0xb71be1(0x1bb)](_0x3b57fb[_0xb71be1(0x19b)][_0xb71be1(0x163)]),this[_0xb71be1(0x162)][_0xb71be1(0x196)][_0xb71be1(0x1b6)][_0xb71be1(0x1cd)]();}),_0x2ad29d;}[_0x28aee2(0x1bc)](_0x26c6d3,_0x41580c,_0x11fb3d){const _0x7a0fc3=_0x28aee2,_0xa78a92=new _0x7981c(_0x26c6d3),_0x999294=this[_0x7a0fc3(0x162)][_0x7a0fc3(0x151)][_0x7a0fc3(0x19d)](_0x7a0fc3(0x17e));_0xa78a92[_0x7a0fc3(0x1bd)][_0x7a0fc3(0x192)]({'label':_0x11fb3d,'icon':_0x4433ac});const _0x239541=new _0x4e86b8(_0x26c6d3);for(const _0x3b636a of _0x41580c){if(_0x7a0fc3(0x180)==_0x3b636a[_0x7a0fc3(0x190)]){_0x239541[_0x7a0fc3(0x171)][_0x7a0fc3(0x17d)](new _0x2ac891(_0x26c6d3));continue;}const _0x7188e7=new _0x24c036(_0x26c6d3,_0xa78a92),_0x55d4c9=new _0x5565b6(_0x26c6d3),_0xea6b5b=_0x3b636a[_0x7a0fc3(0x178)];_0x55d4c9[_0x7a0fc3(0x189)](...Object[_0x7a0fc3(0x1c3)](_0xea6b5b))['to'](_0xea6b5b),_0x55d4c9[_0x7a0fc3(0x172)](_0x7a0fc3(0x1bb))['to'](_0xa78a92),_0x55d4c9['on'](_0x7a0fc3(0x1bb),()=>{const _0x173667=_0x7a0fc3;this[_0x173667(0x162)][_0x173667(0x1bb)](_0xea6b5b[_0x173667(0x163)]),this[_0x173667(0x162)][_0x173667(0x196)][_0x173667(0x1b6)][_0x173667(0x1cd)]();}),_0x7188e7[_0x7a0fc3(0x1b7)][_0x7a0fc3(0x17d)](_0x55d4c9),_0x239541[_0x7a0fc3(0x171)][_0x7a0fc3(0x17d)](_0x7188e7);}return _0xa78a92[_0x7a0fc3(0x189)](_0x7a0fc3(0x16e))['to'](_0x999294,_0x7a0fc3(0x16e)),_0xa78a92[_0x7a0fc3(0x1b0)][_0x7a0fc3(0x1b7)][_0x7a0fc3(0x17d)](_0x239541),_0xa78a92;}[_0x28aee2(0x17a)](_0x370aa5){const _0x4ef394=_0x28aee2,_0x339eff=this[_0x4ef394(0x162)],_0x1c87cb=_0x339eff[_0x4ef394(0x1a2)],_0x5c7cc0=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x4ef394(0x17c)),_0xf485db=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x4ef394(0x1c9)),_0x2e1f50=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x4ef394(0x194)),_0x2c24a5=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x2ccef9)['me'],_0xda0ab1=_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x17e))[_0x4ef394(0x169)],{CommentsListView:_0x5ed8a9,CommentThreadInputView:_0x1e2cce}=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x4ef394(0x1a6));let _0x57f148,_0xa8fed1;this[_0x4ef394(0x197)][_0x4ef394(0x149)](_0x370aa5['id'])?(_0xa8fed1=this[_0x4ef394(0x197)][_0x4ef394(0x19d)](_0x370aa5['id']),_0x57f148=_0xa8fed1[_0x4ef394(0x1cf)]):(_0x57f148=new _0xda0ab1(_0x339eff[_0x4ef394(0x1a9)],_0x370aa5,_0x2c24a5,{'disableComments':this[_0x4ef394(0x15f)],'editorConfig':_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x15a)),'maxCommentsWhenCollapsed':_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x14a)),'maxThreadTotalWeight':_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x19c)),'maxCommentCharsWhenCollapsed':_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x19a)),'formatDateTime':_0x2e47d4(_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x1a9))),'CommentView':_0x1c87cb[_0x4ef394(0x19d)](_0x4ef394(0x1b3))[_0x4ef394(0x158)],'CommentsListView':_0x5ed8a9,'CommentThreadInputView':_0x1e2cce}),_0x57f148[_0x4ef394(0x179)]['on'](_0x4ef394(0x1bb),()=>{const _0x470041=_0x4ef394;_0x339eff[_0x470041(0x196)][_0x470041(0x1b6)][_0x470041(0x1cd)]();}),_0x57f148[_0x4ef394(0x193)]['on'](_0x4ef394(0x1bb),()=>{const _0x4d0b77=_0x4ef394;_0x339eff[_0x4d0b77(0x196)][_0x4d0b77(0x1b6)][_0x4d0b77(0x1cd)]();}),_0xa8fed1=_0x5c7cc0[_0x4ef394(0x185)](this[_0x4ef394(0x162)][_0x4ef394(0x1a9)],_0x57f148),_0xa8fed1[_0x4ef394(0x189)](_0x4ef394(0x1b5))['to'](_0x57f148,_0x4ef394(0x1b5)),_0xa8fed1[_0x4ef394(0x189)](_0x4ef394(0x168))['to'](_0x57f148),_0xa8fed1[_0x4ef394(0x189)](_0x4ef394(0x190))['to'](_0x57f148,_0x4ef394(0x190),_0x3dbcb7=>_0x4ef394(0x1c2)+_0x3dbcb7),this[_0x4ef394(0x197)][_0x4ef394(0x192)](_0x370aa5['id'],_0xa8fed1));const _0x50afef=_0xf485db[_0x4ef394(0x1c4)](_0x370aa5[_0x4ef394(0x1a8)],_0x57f148),_0x1b6293=new _0x30a64a(_0x339eff,_0x370aa5,_0x57f148,_0x50afef),_0x11894d=_0x370aa5[_0x4ef394(0x18f)]()[_0x4ef394(0x1c7)](_0x1e0f26=>_0x1e0f26[_0x4ef394(0x1c5)]);_0x57f148[_0x4ef394(0x1a5)]=_0x339eff[_0x4ef394(0x18c)][_0x4ef394(0x19d)](_0x4ef394(0x164))[_0x4ef394(0x1ab)][_0x4ef394(0x191)](_0x11894d),this[_0x4ef394(0x1af)][_0x4ef394(0x192)](_0x370aa5,_0x1b6293),this[_0x4ef394(0x1b4)][_0x4ef394(0x192)](_0x57f148,_0x1b6293);const _0x36c39b=_0x5c7cc0[_0x4ef394(0x147)]({'view':_0xa8fed1,'target':()=>{const _0x2fb0b6=_0x4ef394,_0x19b7f4=[],_0x474de5=_0x370aa5[_0x2fb0b6(0x18f)]()[_0x2fb0b6(0x1c7)](_0x36cd79=>_0x36cd79[_0x2fb0b6(0x1c5)]);for(const _0x2fbe0a of _0x474de5)_0x19b7f4[_0x2fb0b6(0x195)](..._0x2fbe0a[_0x2fb0b6(0x18a)]());return _0x7ec55e(_0x339eff[_0x2fb0b6(0x196)],_0x19b7f4);},'type':()=>_0x4ef394(0x1c2)+_0x1b6293[_0x4ef394(0x1b6)][_0x4ef394(0x190)]});_0xf485db[_0x4ef394(0x1cc)](_0x57f148,_0x36c39b),_0x5c7cc0[_0x4ef394(0x17d)](_0x36c39b),_0x2e1f50[_0x4ef394(0x145)](_0x36c39b);}[_0x28aee2(0x18d)](_0x268df5){const _0x1aea1c=_0x28aee2,_0x42a26e=this[_0x1aea1c(0x162)][_0x1aea1c(0x18c)][_0x1aea1c(0x19d)](_0x1aea1c(0x1c9)),_0x5a3509=this[_0x1aea1c(0x162)][_0x1aea1c(0x18c)][_0x1aea1c(0x19d)](_0x1aea1c(0x17c)),_0x17df48=this[_0x1aea1c(0x1af)][_0x1aea1c(0x19d)](_0x268df5),_0x3da57b=_0x17df48[_0x1aea1c(0x1b6)],_0x11234d=_0x5a3509[_0x1aea1c(0x16f)](_0x3da57b);_0x42a26e[_0x1aea1c(0x188)](_0x3da57b),_0x11234d&&_0x5a3509[_0x1aea1c(0x14f)](_0x11234d),this[_0x1aea1c(0x1af)][_0x1aea1c(0x1a0)](_0x268df5),this[_0x1aea1c(0x1b4)][_0x1aea1c(0x1a0)](_0x3da57b),_0x17df48[_0x1aea1c(0x1b2)]();}[_0x28aee2(0x16d)](_0x4aa57b){const _0x2c1ae1=_0x28aee2;if(!_0x4aa57b[_0x2c1ae1(0x1c5)]||!this[_0x2c1ae1(0x1af)][_0x2c1ae1(0x149)](_0x4aa57b))return;const _0x54085c=this[_0x2c1ae1(0x162)][_0x2c1ae1(0x18c)][_0x2c1ae1(0x19d)](_0x2c1ae1(0x164)),_0x3b2ec5=this[_0x2c1ae1(0x1af)][_0x2c1ae1(0x19d)](_0x4aa57b),_0x1b11d4=_0x4aa57b[_0x2c1ae1(0x18f)]();_0x3b2ec5[_0x2c1ae1(0x1b6)][_0x2c1ae1(0x1a5)]=_0x54085c[_0x2c1ae1(0x1ab)][_0x2c1ae1(0x191)](_0x1b11d4);}[_0x28aee2(0x1b2)](){const _0x412dfd=_0x28aee2;for(const _0x3d9004 of this[_0x412dfd(0x1af)][_0x412dfd(0x1c3)]())this[_0x412dfd(0x18d)](_0x3d9004);for(const _0x2a28bf of this[_0x412dfd(0x197)][_0x412dfd(0x186)]())_0x2a28bf[_0x412dfd(0x1cf)][_0x412dfd(0x1b2)]();super[_0x412dfd(0x1b2)]();}}function ae(_0x2f28ee){const _0x3f0ef7=_0x28aee2;return _0x3f0ef7(0x178)in _0x2f28ee;}
|
|
23
|
+
const _0x33927c=_0x51a7;(function(_0x41f391,_0x1898ea){const _0x690fc9=_0x51a7,_0x1bda47=_0x41f391();while(!![]){try{const _0x24ed9b=parseInt(_0x690fc9(0xec))/0x1*(parseInt(_0x690fc9(0xde))/0x2)+-parseInt(_0x690fc9(0xe2))/0x3+-parseInt(_0x690fc9(0x14e))/0x4+-parseInt(_0x690fc9(0xf1))/0x5+-parseInt(_0x690fc9(0xe8))/0x6*(-parseInt(_0x690fc9(0xdb))/0x7)+parseInt(_0x690fc9(0xeb))/0x8+-parseInt(_0x690fc9(0x10f))/0x9*(parseInt(_0x690fc9(0xfb))/0xa);if(_0x24ed9b===_0x1898ea)break;else _0x1bda47['push'](_0x1bda47['shift']());}catch(_0x206cfa){_0x1bda47['push'](_0x1bda47['shift']());}}}(_0x5aa5,0xa98f8));import{Plugin as _0xbfb2d6}from'ckeditor5/src/core.js';import{Collection as _0x3d91be}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x387520,createDropdown as _0x2273b0,ListSeparatorView as _0x133030,MenuBarMenuView as _0x2cb835,MenuBarMenuListView as _0x31e4d9,MenuBarMenuListItemView as _0x225b77,MenuBarMenuListItemButtonView as _0x173dbb,SplitButtonView as _0xbbb343,ViewModel as _0x1fe852}from'ckeditor5/src/ui.js';import{Users as _0x6f47b8,getDateTimeFormatter as _0x1664dd,getAllMarkersDomElementsSorted as _0x4b3e62}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x51a7(_0x3334a2,_0x119b09){const _0x5aa55c=_0x5aa5();return _0x51a7=function(_0x51a740,_0x3e49ea){_0x51a740=_0x51a740-0xc7;let _0x1cf224=_0x5aa55c[_0x51a740];return _0x1cf224;},_0x51a7(_0x3334a2,_0x119b09);}import _0x555689 from'./trackchangesediting.js';import _0x3db48b from'./ui/suggestioncontroller.js';import _0x43d840 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x56f1b0}from'./utils/common-translations.js';import _0x134279 from'../theme/icons/track-changes.svg';function _0x5aa5(){const _0x1e02a2=['execute','isDirty','editor','size','toMany','suggestionChanged','focus','getFirstRange','delegate','CommentsUI','mainView','getSuggestion','init','refreshSelectedViews','_bindAnnotationToEditors','trackChanges.SuggestionThreadView','config','isMultiRange','_disableComments','getByInnerView','CommentView','suggestionUnloaded','_destroyController','separator','CommentsRepository','7868777qfUEqg','_createMenuBarMenu','getAllAdjacentSuggestions','530FYSZFS','suggestion-','clear','value','1246470rnEqHy','_viewToController','menu','discardButton','reduce','_suggestionToController','6PIneXg','comments.maxThreadTotalWeight','values','11073744DKoeoj','4207sRVBzQ','listenTo','_refreshActiveMarkers','getJoined','button','5041335JrtYKI','locale','length','activeAnnotations','_createToolbarButton','bind','acceptAllSuggestions','children','comments','Accept\x20all\x20selected\x20suggestions','5218610yibizC','set','get','change:activeAnnotations','addComment','discardAllSuggestions','remove','suggestionLoaded','commandName','innerView','descriptionFactory','_annotationViews','_unbindEditors','descriptionParts','acceptButton','Discard\x20all\x20suggestions','isInContent','getDescriptions','hasSuggestion','comments.maxCommentsWhenCollapsed','9olAhEE','createAnnotation','isEnabled','_updateController','delete','getMarkers','items','stopListening','Track\x20changes','lowest','add','TrackChangesUI','Discard\x20all\x20selected\x20suggestions','arrowView','trackChanges','actionView','pluginName','getMarkerNames','comments.maxCommentCharsWhenCollapsed','EditorAnnotations','SuggestionThreadView','Accept\x20all\x20suggestions','filter','unbind','change:previous','menuBar:trackChanges','switchbutton','registerAnnotation','TrackChangesEditing','panelView','trackChanges.disableComments','view','activeMarkers','type','requires','discardSelectedSuggestions','componentFactory','isOn','createCommentThreadController','define','head','_addUIComponentsToFactory','createAnnotationView','source','getRanges','destroy','comments.editorConfig','_handleSuggestionControllerDelayed','commentThread','keys','some','plugins','commands','addSourceCollector','push','Annotations','_initializeController','previous','menuitemcheckbox','editing','menuitem','acceptSelectedSuggestions','model','3932184eSjqPP','from','_handleControllerBuffer','buttonView','has'];_0x5aa5=function(){return _0x1e02a2;};return _0x5aa5();}export default class d extends _0xbfb2d6{static get[_0x33927c(0x131)](){const _0x38621d=_0x33927c;return[_0x555689,_0x6f47b8,_0x38621d(0xda),_0x38621d(0x146),_0x38621d(0x122)];}static get[_0x33927c(0x11f)](){const _0x169434=_0x33927c;return _0x169434(0x11a);}constructor(_0x18216b){const _0xdb066d=_0x33927c;super(_0x18216b),this[_0xdb066d(0xe7)]=new Map(),this[_0xdb066d(0xe3)]=new Map(),this[_0xdb066d(0x106)]=new Map(),this[_0xdb066d(0x150)]=new Map();const _0x317525=this[_0xdb066d(0x155)][_0xdb066d(0xd2)];_0x317525[_0xdb066d(0x136)](_0xdb066d(0xd1),_0x43d840),_0x317525[_0xdb066d(0x136)](_0xdb066d(0x12d),!0x1),this[_0xdb066d(0xd4)]=_0x317525[_0xdb066d(0xfd)](_0xdb066d(0x12d));}[_0x33927c(0x13e)](_0x698f1e,_0x1a0d0d){const _0x33d0ad=_0x33927c;0x0===this[_0x33d0ad(0x150)][_0x33d0ad(0x156)]&&setTimeout(()=>{const _0x2102eb=_0x33d0ad;for(const [_0xd22fd8,_0x2d7877]of this[_0x2102eb(0x150)]){const _0x539639=this[_0x2102eb(0xe7)][_0x2102eb(0x152)](_0xd22fd8);_0x539639||_0x2d7877?_0x539639&&_0x2d7877&&this[_0x2102eb(0xd8)](_0xd22fd8):this[_0x2102eb(0x147)](_0xd22fd8);}this[_0x2102eb(0x150)][_0x2102eb(0xe0)](),this[_0x2102eb(0x155)][_0x2102eb(0x142)][_0x2102eb(0xfd)](_0x2102eb(0x122))[_0x2102eb(0xcf)](),this[_0x2102eb(0xee)]();},0xa),this[_0x33d0ad(0x150)][_0x33d0ad(0xfc)](_0x698f1e,_0x1a0d0d);}[_0x33927c(0xce)](){const _0x289743=_0x33927c,_0x3a6fe5=this[_0x289743(0x155)],_0x19861b=_0x3a6fe5[_0x289743(0x142)][_0x289743(0xfd)](_0x289743(0x12b)),_0x2c33c6=_0x3a6fe5[_0x289743(0x142)][_0x289743(0xfd)](_0x289743(0x146)),_0x5498ef=_0x3a6fe5[_0x289743(0x142)][_0x289743(0xfd)](_0x289743(0x122)),_0xdca790=_0x3a6fe5[_0x289743(0x142)][_0x289743(0xfd)](_0x289743(0xda));this[_0x289743(0x138)](),_0x5498ef[_0x289743(0x144)](()=>{const _0x53ec84=_0x289743,_0xd49a39=[];for(const [_0x13afcc,_0x720b19]of Array[_0x53ec84(0x14f)](this[_0x53ec84(0xe7)])){const _0x31c42d=_0x13afcc[_0x53ec84(0xdd)](),_0x2fdaff=[];for(const _0x3da7bc of _0x31c42d){if(!_0x3da7bc[_0x53ec84(0x10b)])continue;if(_0x3da7bc[_0x53ec84(0xd3)]){_0x2fdaff[_0x53ec84(0x145)](..._0x3da7bc[_0x53ec84(0x13b)]());continue;}const _0x1378d8=_0x3da7bc[_0x53ec84(0xc9)]();if(_0x2fdaff[_0x53ec84(0xf3)]>0x0){const _0x25a72b=_0x2fdaff[0x0][_0x53ec84(0xef)](_0x1378d8);if(_0x25a72b){_0x2fdaff[0x0]=_0x25a72b;continue;}}_0x2fdaff[_0x53ec84(0x145)](_0x1378d8);}_0xd49a39[_0x53ec84(0x145)]([_0x720b19[_0x53ec84(0x12e)],_0x2fdaff]);}return _0xd49a39;}),this[_0x289743(0xed)](_0x19861b,_0x289743(0x102),(_0x3ec1ca,_0x1798c7)=>{const _0x179ff6=_0x289743;this[_0x179ff6(0xed)](_0x1798c7,_0x179ff6(0x127),(_0x17466d,_0xceb3d2,_0x5a2944,_0x43dd3c)=>{const _0x1b5a9c=_0x179ff6;_0x1798c7[_0x1b5a9c(0x10b)]&&(null==_0x5a2944?(this[_0x1b5a9c(0x112)](_0x43dd3c[_0x1b5a9c(0x137)]),this[_0x1b5a9c(0x13e)](_0x1798c7,!0x1)):(this[_0x1b5a9c(0x112)](_0x5a2944[_0x1b5a9c(0x137)]),null==_0x43dd3c&&this[_0x1b5a9c(0x13e)](_0x1798c7,!0x0)));}),null!==_0x1798c7[_0x179ff6(0x148)]?this[_0x179ff6(0x112)](_0x1798c7[_0x179ff6(0x137)]):this[_0x179ff6(0x13e)](_0x1798c7,!0x1);}),this[_0x289743(0xed)](_0x19861b,_0x289743(0xd7),(_0x5410dd,_0xaf4f07,_0x16fb83)=>{const _0x581418=_0x289743;this[_0x581418(0x116)](_0xaf4f07,_0x581418(0x127)),this[_0x581418(0x150)][_0x581418(0x113)](_0xaf4f07),this[_0x581418(0xe7)][_0x581418(0x152)](_0xaf4f07)&&this[_0x581418(0xd8)](_0xaf4f07),_0x16fb83&&this[_0x581418(0x112)](_0x16fb83[_0x581418(0x137)]);}),this[_0x289743(0xed)](_0x19861b,_0x289743(0xc7),(_0x5aaac9,_0x73dba2)=>{const _0xfc35eb=_0x289743;this[_0xfc35eb(0x112)](_0x73dba2);}),this[_0x289743(0xed)](_0x2c33c6,_0x289743(0xfe),()=>{const _0x24174c=_0x289743;this[_0x24174c(0xee)]();}),this[_0x289743(0xed)](_0xdca790,_0x289743(0xff),(_0x38875b,{threadId:_0x4be0e7,isFromAdapter:_0x8827de})=>{const _0x2f98f6=_0x289743;if(_0x8827de||!_0x19861b[_0x2f98f6(0x10d)](_0x4be0e7))return;const _0x5209a4=_0x19861b[_0x2f98f6(0xcd)](_0x4be0e7);this[_0x2f98f6(0xe7)][_0x2f98f6(0xfd)](_0x5209a4)[_0x2f98f6(0x12e)][_0x2f98f6(0xc8)]();},{'priority':_0x289743(0x118)});}[_0x33927c(0xee)](){const _0x4450e2=_0x33927c,_0x5cce1a=this[_0x4450e2(0x155)][_0x4450e2(0x142)][_0x4450e2(0xfd)](_0x4450e2(0x146)),_0x2a0bff=this[_0x4450e2(0x155)][_0x4450e2(0x142)][_0x4450e2(0xfd)](_0x4450e2(0x12b)),_0x34c44a=Array[_0x4450e2(0x14f)](_0x5cce1a[_0x4450e2(0xf4)],_0x31805f=>_0x31805f[_0x4450e2(0x104)])[_0x4450e2(0x125)](_0x204c24=>this[_0x4450e2(0xe3)][_0x4450e2(0x152)](_0x204c24)),_0x251d7e=[];for(const _0x1c5757 of _0x34c44a){const _0x3e3adc=this[_0x4450e2(0xe3)][_0x4450e2(0xfd)](_0x1c5757)[_0x4450e2(0x14d)][_0x4450e2(0xdd)]();_0x251d7e[_0x4450e2(0x145)](..._0x3e3adc[_0x4450e2(0xe6)]((_0x17c03f,_0x3770a9)=>[..._0x17c03f,..._0x3770a9[_0x4450e2(0x120)]()],[]));}_0x2a0bff[_0x4450e2(0x12f)]=_0x251d7e;}[_0x33927c(0x138)](){const _0x583d74=_0x33927c,_0x33be42=this[_0x583d74(0x155)],_0x5b49f6=_0x33be42[_0x583d74(0xf2)],_0x516e46=_0x56f1b0(_0x5b49f6,_0x583d74(0x117)),_0x249ec1=new _0x3d91be([{'type':_0x583d74(0x129),'model':new _0x1fe852({'withText':!0x0,'label':_0x516e46,'commandName':_0x583d74(0x11d),'role':_0x583d74(0x149)})},{'type':_0x583d74(0xd9)},{'type':_0x583d74(0xf0),'model':new _0x1fe852({'withText':!0x0,'label':_0x56f1b0(_0x5b49f6,_0x583d74(0x124)),'commandName':_0x583d74(0xf7),'role':_0x583d74(0x14b)})},{'type':_0x583d74(0xf0),'model':new _0x1fe852({'withText':!0x0,'label':_0x56f1b0(_0x5b49f6,_0x583d74(0xfa)),'commandName':_0x583d74(0x14c),'role':_0x583d74(0x14b)})},{'type':_0x583d74(0xf0),'model':new _0x1fe852({'withText':!0x0,'label':_0x56f1b0(_0x5b49f6,_0x583d74(0x10a)),'commandName':_0x583d74(0x100),'role':_0x583d74(0x14b)})},{'type':_0x583d74(0xf0),'model':new _0x1fe852({'withText':!0x0,'label':_0x56f1b0(_0x5b49f6,_0x583d74(0x11b)),'commandName':_0x583d74(0x132),'role':_0x583d74(0x14b)})}]);for(const _0x1e00bf of _0x249ec1)if(ae(_0x1e00bf)){const _0x7d18d1=_0x33be42[_0x583d74(0x143)][_0x583d74(0xfd)](_0x1e00bf[_0x583d74(0x14d)][_0x583d74(0x103)]);_0x1e00bf[_0x583d74(0x14d)][_0x583d74(0xf6)](_0x583d74(0x134),_0x583d74(0x111))['to'](_0x7d18d1,_0x583d74(0xe1),_0x583d74(0x111));}_0x33be42['ui'][_0x583d74(0x133)][_0x583d74(0x119)](_0x583d74(0x11d),_0x48f267=>this[_0x583d74(0xf5)](_0x48f267,_0x249ec1,_0x516e46)),_0x33be42['ui'][_0x583d74(0x133)][_0x583d74(0x119)](_0x583d74(0x128),_0xb4594e=>this[_0x583d74(0xdc)](_0xb4594e,_0x249ec1,_0x516e46));}[_0x33927c(0xf5)](_0x26b79a,_0x20fb04,_0x4c75bc){const _0x23854a=_0x33927c,_0x1488eb=_0x2273b0(_0x26b79a,_0xbbb343),_0x2ad14f=this[_0x23854a(0x155)][_0x23854a(0x143)][_0x23854a(0xfd)](_0x23854a(0x11d));_0x1488eb[_0x23854a(0x151)][_0x23854a(0xfc)]({'tooltip':_0x4c75bc,'label':_0x4c75bc,'icon':_0x134279}),_0x1488eb[_0x23854a(0x151)][_0x23854a(0xf6)](_0x23854a(0x134))['to'](_0x2ad14f,_0x23854a(0xe1)),_0x1488eb[_0x23854a(0x151)]['on'](_0x23854a(0x153),()=>{const _0x338bc3=_0x23854a;_0x2ad14f[_0x338bc3(0x153)](),this[_0x338bc3(0x155)][_0x338bc3(0x14a)][_0x338bc3(0x12e)][_0x338bc3(0xc8)]();}),_0x387520(_0x1488eb,_0x20fb04,{'role':_0x23854a(0xe4)});const _0x576718=[];for(const _0x45cf21 of _0x20fb04)ae(_0x45cf21)&&_0x576718[_0x23854a(0x145)](this[_0x23854a(0x155)][_0x23854a(0x143)][_0x23854a(0xfd)](_0x45cf21[_0x23854a(0x14d)][_0x23854a(0x103)]));const _0x4f51fa=_0x1488eb[_0x23854a(0x151)];return _0x4f51fa[_0x23854a(0x11e)][_0x23854a(0x126)](_0x23854a(0x111)),_0x4f51fa[_0x23854a(0x11c)][_0x23854a(0x126)](_0x23854a(0x111)),_0x4f51fa[_0x23854a(0x11e)][_0x23854a(0xf6)](_0x23854a(0x111))['to'](_0x2ad14f,_0x23854a(0x111)),_0x4f51fa[_0x23854a(0x11c)][_0x23854a(0xf6)](_0x23854a(0x111))[_0x23854a(0x157)](_0x576718,_0x23854a(0x111),(..._0x15e5ae)=>_0x15e5ae[_0x23854a(0x141)](_0x580d5f=>_0x580d5f)),_0x1488eb['on'](_0x23854a(0x153),_0x2a5d50=>{const _0x420ce4=_0x23854a;this[_0x420ce4(0x155)][_0x420ce4(0x153)](_0x2a5d50[_0x420ce4(0x13a)][_0x420ce4(0x103)]),this[_0x420ce4(0x155)][_0x420ce4(0x14a)][_0x420ce4(0x12e)][_0x420ce4(0xc8)]();}),_0x1488eb;}[_0x33927c(0xdc)](_0x159fa4,_0x4c7d0c,_0x292a06){const _0x5f5db3=_0x33927c,_0x55c374=new _0x2cb835(_0x159fa4),_0x4a382d=this[_0x5f5db3(0x155)][_0x5f5db3(0x143)][_0x5f5db3(0xfd)](_0x5f5db3(0x11d));_0x55c374[_0x5f5db3(0x151)][_0x5f5db3(0xfc)]({'label':_0x292a06,'icon':_0x134279});const _0xde843f=new _0x31e4d9(_0x159fa4);for(const _0x39560f of _0x4c7d0c){if(_0x5f5db3(0xd9)==_0x39560f[_0x5f5db3(0x130)]){_0xde843f[_0x5f5db3(0x115)][_0x5f5db3(0x119)](new _0x133030(_0x159fa4));continue;}const _0x103ec4=new _0x225b77(_0x159fa4,_0x55c374),_0x2ce7e6=new _0x173dbb(_0x159fa4),_0x46645e=_0x39560f[_0x5f5db3(0x14d)];_0x2ce7e6[_0x5f5db3(0xf6)](...Object[_0x5f5db3(0x140)](_0x46645e))['to'](_0x46645e),_0x2ce7e6[_0x5f5db3(0xca)](_0x5f5db3(0x153))['to'](_0x55c374),_0x2ce7e6['on'](_0x5f5db3(0x153),()=>{const _0x5c1b2a=_0x5f5db3;this[_0x5c1b2a(0x155)][_0x5c1b2a(0x153)](_0x46645e[_0x5c1b2a(0x103)]),this[_0x5c1b2a(0x155)][_0x5c1b2a(0x14a)][_0x5c1b2a(0x12e)][_0x5c1b2a(0xc8)]();}),_0x103ec4[_0x5f5db3(0xf8)][_0x5f5db3(0x119)](_0x2ce7e6),_0xde843f[_0x5f5db3(0x115)][_0x5f5db3(0x119)](_0x103ec4);}return _0x55c374[_0x5f5db3(0xf6)](_0x5f5db3(0x111))['to'](_0x4a382d,_0x5f5db3(0x111)),_0x55c374[_0x5f5db3(0x12c)][_0x5f5db3(0xf8)][_0x5f5db3(0x119)](_0xde843f),_0x55c374;}[_0x33927c(0x147)](_0xb34251){const _0x24aeb5=_0x33927c,_0x47c634=this[_0x24aeb5(0x155)],_0x287f97=_0x47c634[_0x24aeb5(0xd2)],_0x1f1cc1=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x24aeb5(0x146)),_0x2b3bd1=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x24aeb5(0xda)),_0x410bde=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x24aeb5(0x122)),_0x12052f=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x6f47b8)['me'],_0x5b79e7=_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0x11d))[_0x24aeb5(0x123)],{CommentsListView:_0x4156b5,CommentThreadInputView:_0x1e1f10}=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x24aeb5(0xcb));let _0x128c95,_0x202116;this[_0x24aeb5(0x106)][_0x24aeb5(0x152)](_0xb34251['id'])?(_0x202116=this[_0x24aeb5(0x106)][_0x24aeb5(0xfd)](_0xb34251['id']),_0x128c95=_0x202116[_0x24aeb5(0xcc)]):(_0x128c95=new _0x5b79e7(_0x47c634[_0x24aeb5(0xf2)],_0xb34251,_0x12052f,{'disableComments':this[_0x24aeb5(0xd4)],'editorConfig':_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0x13d)),'maxCommentsWhenCollapsed':_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0x10e)),'maxThreadTotalWeight':_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0xe9)),'maxCommentCharsWhenCollapsed':_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0x121)),'formatDateTime':_0x1664dd(_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0xf2))),'CommentView':_0x287f97[_0x24aeb5(0xfd)](_0x24aeb5(0xf9))[_0x24aeb5(0xd6)],'CommentsListView':_0x4156b5,'CommentThreadInputView':_0x1e1f10}),_0x128c95[_0x24aeb5(0x109)]['on'](_0x24aeb5(0x153),()=>{const _0x13145e=_0x24aeb5;_0x47c634[_0x13145e(0x14a)][_0x13145e(0x12e)][_0x13145e(0xc8)]();}),_0x128c95[_0x24aeb5(0xe5)]['on'](_0x24aeb5(0x153),()=>{const _0x46cc48=_0x24aeb5;_0x47c634[_0x46cc48(0x14a)][_0x46cc48(0x12e)][_0x46cc48(0xc8)]();}),_0x202116=_0x1f1cc1[_0x24aeb5(0x139)](this[_0x24aeb5(0x155)][_0x24aeb5(0xf2)],_0x128c95),_0x202116[_0x24aeb5(0xf6)](_0x24aeb5(0x154))['to'](_0x128c95,_0x24aeb5(0x154)),_0x202116[_0x24aeb5(0xf6)](_0x24aeb5(0xf3))['to'](_0x128c95),_0x202116[_0x24aeb5(0xf6)](_0x24aeb5(0x130))['to'](_0x128c95,_0x24aeb5(0x130),_0x19e3d7=>_0x24aeb5(0xdf)+_0x19e3d7),this[_0x24aeb5(0x106)][_0x24aeb5(0xfc)](_0xb34251['id'],_0x202116));const _0x2b32b8=_0x2b3bd1[_0x24aeb5(0x135)](_0xb34251[_0x24aeb5(0x13f)],_0x128c95),_0x4341ba=new _0x3db48b(_0x47c634,_0xb34251,_0x128c95,_0x2b32b8),_0xd26791=_0xb34251[_0x24aeb5(0xdd)]()[_0x24aeb5(0x125)](_0x2ec130=>_0x2ec130[_0x24aeb5(0x10b)]);_0x128c95[_0x24aeb5(0x108)]=_0x47c634[_0x24aeb5(0x142)][_0x24aeb5(0xfd)](_0x24aeb5(0x12b))[_0x24aeb5(0x105)][_0x24aeb5(0x10c)](_0xd26791),this[_0x24aeb5(0xe7)][_0x24aeb5(0xfc)](_0xb34251,_0x4341ba),this[_0x24aeb5(0xe3)][_0x24aeb5(0xfc)](_0x128c95,_0x4341ba);const _0x535e11=_0x1f1cc1[_0x24aeb5(0x110)]({'view':_0x202116,'target':()=>{const _0x5b4ccb=_0x24aeb5,_0x19e41d=[],_0x2e9958=_0xb34251[_0x5b4ccb(0xdd)]()[_0x5b4ccb(0x125)](_0x135cd2=>_0x135cd2[_0x5b4ccb(0x10b)]);for(const _0x1eb6ea of _0x2e9958)_0x19e41d[_0x5b4ccb(0x145)](..._0x1eb6ea[_0x5b4ccb(0x114)]());return _0x4b3e62(_0x47c634[_0x5b4ccb(0x14a)],_0x19e41d);},'type':()=>_0x24aeb5(0xdf)+_0x4341ba[_0x24aeb5(0x12e)][_0x24aeb5(0x130)]});_0x2b3bd1[_0x24aeb5(0xd0)](_0x128c95,_0x535e11),_0x1f1cc1[_0x24aeb5(0x119)](_0x535e11),_0x410bde[_0x24aeb5(0x12a)](_0x535e11);}[_0x33927c(0xd8)](_0x251ca4){const _0x6feac8=_0x33927c,_0x17171a=this[_0x6feac8(0x155)][_0x6feac8(0x142)][_0x6feac8(0xfd)](_0x6feac8(0xda)),_0x23647d=this[_0x6feac8(0x155)][_0x6feac8(0x142)][_0x6feac8(0xfd)](_0x6feac8(0x146)),_0x58ea26=this[_0x6feac8(0xe7)][_0x6feac8(0xfd)](_0x251ca4),_0x2f7696=_0x58ea26[_0x6feac8(0x12e)],_0x49e5a0=_0x23647d[_0x6feac8(0xd5)](_0x2f7696);_0x17171a[_0x6feac8(0x107)](_0x2f7696),_0x49e5a0&&_0x23647d[_0x6feac8(0x101)](_0x49e5a0),this[_0x6feac8(0xe7)][_0x6feac8(0x113)](_0x251ca4),this[_0x6feac8(0xe3)][_0x6feac8(0x113)](_0x2f7696),_0x58ea26[_0x6feac8(0x13c)]();}[_0x33927c(0x112)](_0x2b1de6){const _0x66e284=_0x33927c;if(!_0x2b1de6[_0x66e284(0x10b)]||!this[_0x66e284(0xe7)][_0x66e284(0x152)](_0x2b1de6))return;const _0x5428aa=this[_0x66e284(0x155)][_0x66e284(0x142)][_0x66e284(0xfd)](_0x66e284(0x12b)),_0x2365c3=this[_0x66e284(0xe7)][_0x66e284(0xfd)](_0x2b1de6),_0xfdb23a=_0x2b1de6[_0x66e284(0xdd)]();_0x2365c3[_0x66e284(0x12e)][_0x66e284(0x108)]=_0x5428aa[_0x66e284(0x105)][_0x66e284(0x10c)](_0xfdb23a);}[_0x33927c(0x13c)](){const _0xb89680=_0x33927c;for(const _0x5c616a of this[_0xb89680(0xe7)][_0xb89680(0x140)]())this[_0xb89680(0xd8)](_0x5c616a);for(const _0x2be976 of this[_0xb89680(0x106)][_0xb89680(0xea)]())_0x2be976[_0xb89680(0xcc)][_0xb89680(0x13c)]();super[_0xb89680(0x13c)]();}}function ae(_0x3b3a81){const _0x2d59bd=_0x33927c;return _0x2d59bd(0x14d)in _0x3b3a81;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4459ad=_0x32fd;function _0x32fd(_0x383746,_0x528388){const _0x52a7c2=_0x52a7();return _0x32fd=function(_0x32fde1,_0xe3bd25){_0x32fde1=_0x32fde1-0xb3;let _0x2c9995=_0x52a7c2[_0x32fde1];return _0x2c9995;},_0x32fd(_0x383746,_0x528388);}function _0x52a7(){const _0x36576c=['canAccept','_editor','unbind','model','4388970xejGIZ','view','2617059ZgkDds','commands','13058520bPWBib','2WOYjpa','canEditAt','598885YQighE','destroy','commentThreadController','_discardCommand','_pendingAction','plugins','remove','add','locale','execute','change:isDirty','12274822nKXHmY','bind','_removePendingAction','getRanges','stopListening','canDiscard','PENDING_ACTION_SUGGESTION','get','discardSuggestion','PendingActions','_setPendingAction','isEnabled','1315866WDJNFE','26695476Pdybhl','isDirty','_acceptCommand','listenTo','acceptSuggestion','4IvnzPx'];_0x52a7=function(){return _0x36576c;};return _0x52a7();}(function(_0x5ba0d3,_0x38f87e){const _0x80dea5=_0x32fd,_0x4d852f=_0x5ba0d3();while(!![]){try{const _0x5517b8=parseInt(_0x80dea5(0xb3))/0x1+-parseInt(_0x80dea5(0xc3))/0x2*(-parseInt(_0x80dea5(0xc0))/0x3)+-parseInt(_0x80dea5(0xb9))/0x4*(parseInt(_0x80dea5(0xc5))/0x5)+-parseInt(_0x80dea5(0xbe))/0x6+-parseInt(_0x80dea5(0xd0))/0x7+-parseInt(_0x80dea5(0xc2))/0x8+parseInt(_0x80dea5(0xb4))/0x9;if(_0x5517b8===_0x38f87e)break;else _0x4d852f['push'](_0x4d852f['shift']());}catch(_0x276e23){_0x4d852f['push'](_0x4d852f['shift']());}}}(_0x52a7,0xdff02));import{ObservableMixin as _0x437d7a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b80e3}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x437d7a(){constructor(_0x43995a,_0xb67381,_0x29aca4,_0xf66001){const _0x4f579b=_0x32fd;super(),this[_0x4f579b(0xbd)]=_0xb67381,this[_0x4f579b(0xbf)]=_0x29aca4,this[_0x4f579b(0xc7)]=_0xf66001,this[_0x4f579b(0xbb)]=_0x43995a,this[_0x4f579b(0xb6)]=_0x43995a[_0x4f579b(0xc1)][_0x4f579b(0xd7)](_0x4f579b(0xb8)),this[_0x4f579b(0xc8)]=_0x43995a[_0x4f579b(0xc1)][_0x4f579b(0xd7)](_0x4f579b(0xd8)),this[_0x4f579b(0xbf)][_0x4f579b(0xd1)](_0x4f579b(0xdb))['to'](this[_0x4f579b(0xb6)],this[_0x4f579b(0xc8)],(_0x139bcd,_0x356304)=>_0x139bcd||_0x356304),this[_0x4f579b(0xbf)][_0x4f579b(0xd1)](_0x4f579b(0xba))['to'](this[_0x4f579b(0xb6)],_0x4f579b(0xdb),_0x5910ff=>_0x5910ff&&this[_0x4f579b(0xbb)][_0x4f579b(0xbd)][_0x4f579b(0xc4)](_0xb67381[_0x4f579b(0xd3)]())),this[_0x4f579b(0xbf)][_0x4f579b(0xd1)](_0x4f579b(0xd5))['to'](this[_0x4f579b(0xc8)],_0x4f579b(0xdb),_0x25007f=>_0x25007f&&this[_0x4f579b(0xbb)][_0x4f579b(0xbd)][_0x4f579b(0xc4)](_0xb67381[_0x4f579b(0xd3)]())),this[_0x4f579b(0xc9)]=null,_0x29aca4[_0x4f579b(0xb5)]&&this[_0x4f579b(0xda)](),this[_0x4f579b(0xb7)](_0x29aca4,_0x4f579b(0xb8),()=>this[_0x4f579b(0xb8)]()),this[_0x4f579b(0xb7)](_0x29aca4,_0x4f579b(0xd8),()=>this[_0x4f579b(0xd8)]()),this[_0x4f579b(0xb7)](_0x29aca4,_0x4f579b(0xcf),()=>{const _0x3bc55f=_0x4f579b;_0x29aca4[_0x3bc55f(0xb5)]?this[_0x3bc55f(0xda)]():this[_0x3bc55f(0xd2)]();});}[_0x4459ad(0xb8)](){const _0x40161e=_0x4459ad;this[_0x40161e(0xb6)][_0x40161e(0xce)](this[_0x40161e(0xbd)]['id']);}[_0x4459ad(0xd8)](){const _0x66a4d=_0x4459ad;this[_0x66a4d(0xc8)][_0x66a4d(0xce)](this[_0x66a4d(0xbd)]['id']);}[_0x4459ad(0xc6)](){const _0x5b0e36=_0x4459ad;this[_0x5b0e36(0xbf)][_0x5b0e36(0xbc)](_0x5b0e36(0xdb)),this[_0x5b0e36(0xbf)][_0x5b0e36(0xbc)](_0x5b0e36(0xba)),this[_0x5b0e36(0xbf)][_0x5b0e36(0xbc)](_0x5b0e36(0xd5)),this[_0x5b0e36(0xd4)](),this[_0x5b0e36(0xc7)][_0x5b0e36(0xc6)](),this[_0x5b0e36(0xc9)]&&this[_0x5b0e36(0xd2)]();}[_0x4459ad(0xda)](){const _0x2b6489=_0x4459ad,_0x2b9308=_0x2b80e3(this[_0x2b6489(0xbb)][_0x2b6489(0xcd)],_0x2b6489(0xd6));this[_0x2b6489(0xc9)]=this[_0x2b6489(0xbb)][_0x2b6489(0xca)][_0x2b6489(0xd7)](_0x2b6489(0xd9))[_0x2b6489(0xcc)](_0x2b9308);}[_0x4459ad(0xd2)](){const _0x34588c=_0x4459ad;null!==this[_0x34588c(0xc9)]&&this[_0x34588c(0xbb)][_0x34588c(0xca)][_0x34588c(0xd7)](_0x34588c(0xd9))[_0x34588c(0xcb)](this[_0x34588c(0xc9)]),this[_0x34588c(0xc9)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x85cb3a=_0x1879;(function(_0xc6425d,_0x3881eb){const _0x4fe3bd=_0x1879,_0xe4cc6b=_0xc6425d();while(!![]){try{const _0x79f8ab=-parseInt(_0x4fe3bd(0xf5))/0x1*(-parseInt(_0x4fe3bd(0xda))/0x2)+parseInt(_0x4fe3bd(0xeb))/0x3*(parseInt(_0x4fe3bd(0xde))/0x4)+-parseInt(_0x4fe3bd(0xef))/0x5+parseInt(_0x4fe3bd(0xf6))/0x6*(parseInt(_0x4fe3bd(0xe9))/0x7)+parseInt(_0x4fe3bd(0xe5))/0x8+-parseInt(_0x4fe3bd(0xe8))/0x9*(parseInt(_0x4fe3bd(0xf0))/0xa)+parseInt(_0x4fe3bd(0xd4))/0xb;if(_0x79f8ab===_0x3881eb)break;else _0xe4cc6b['push'](_0xe4cc6b['shift']());}catch(_0x187a0f){_0xe4cc6b['push'](_0xe4cc6b['shift']());}}}(_0x3f6a,0x9679f));function _0x3f6a(){const _0x5c5586=['isReadOnly','4348070bYzPOa','60600OwQiwt','editorConfig','commentInputView','commentThread','delegate','4lHKveV','355908QtoWtz','length','disableComments','value','commentsListView','isDirty','descriptionParts','removeComment','submit','editor','hasDirtyComment','setData','disabledSubmit','canAccept','element','assign','_config','cancel','6645364qJgmQm','canDiscard','_createCommentViews','updateComment','fire','locale','148712ryFoVx','set','_createCommentThreadInputView','_model','736hNMudQ','CommentView','destroy','_localUser','addComment','commentThreadInputView','showInput','7760088SQvgQV','isActive','focus','1170iSFIQd','35QEnBup','isEnabled','1722lFFmdg','authoredAt','bind'];_0x3f6a=function(){return _0x5c5586;};return _0x3f6a();}function _0x1879(_0x8c3cf,_0x21a78c){const _0x3f6aba=_0x3f6a();return _0x1879=function(_0x187925,_0x14ad97){_0x187925=_0x187925-0xd0;let _0x4f108b=_0x3f6aba[_0x187925];return _0x4f108b;},_0x1879(_0x8c3cf,_0x21a78c);}import{View as _0x35e563}from'ckeditor5/src/ui.js';export default class es extends _0x35e563{constructor(_0x3a9aab,_0x58cf62,_0x43f68b,_0x14b3d5){const _0x313098=_0x1879;super(_0x3a9aab),this[_0x313098(0xfa)]=null,this[_0x313098(0xe3)]=null,this[_0x313098(0xdb)](_0x313098(0xe6),!0x1),this[_0x313098(0xdb)](_0x313098(0xec),_0x58cf62[_0x313098(0xec)]),this[_0x313098(0xed)](_0x313098(0xec))['to'](_0x58cf62),this[_0x313098(0xdb)](_0x313098(0xfc),[]),this[_0x313098(0xdb)](_0x313098(0xfb),!0x1),this[_0x313098(0xdb)](_0x313098(0xea),!0x1),this[_0x313098(0xdb)](_0x313098(0x103),!0x1),this[_0x313098(0xdb)](_0x313098(0xd5),!0x1),this[_0x313098(0xdd)]=_0x58cf62,this[_0x313098(0xe1)]=_0x43f68b,this[_0x313098(0xd2)]=_0x14b3d5,_0x14b3d5[_0x313098(0xf8)]?this[_0x313098(0xdb)](_0x313098(0xf7),0x1):this[_0x313098(0xd6)]();}[_0x85cb3a(0xe7)](){const _0xbff1cd=_0x85cb3a;this[_0xbff1cd(0xd0)][_0xbff1cd(0xe7)]();}[_0x85cb3a(0xe0)](){const _0x3efe94=_0x85cb3a;this[_0x3efe94(0xfa)]&&this[_0x3efe94(0xfa)][_0x3efe94(0xe0)](),this[_0x3efe94(0xe3)]&&this[_0x3efe94(0xe3)][_0x3efe94(0xe0)](),super[_0x3efe94(0xe0)]();}[_0x85cb3a(0xd6)](){const _0x36c7e8=_0x85cb3a,{CommentsListView:_0x3f692e}=this[_0x36c7e8(0xd2)];this[_0x36c7e8(0xfa)]=new _0x3f692e(this[_0x36c7e8(0xd9)],this[_0x36c7e8(0xdd)][_0x36c7e8(0xf3)],Object[_0x36c7e8(0xd1)]({'CommentView':this[_0x36c7e8(0xd2)][_0x36c7e8(0xdf)]},this[_0x36c7e8(0xd2)])),this[_0x36c7e8(0xfa)][_0x36c7e8(0xf4)](_0x36c7e8(0xfd))['to'](this),this[_0x36c7e8(0xfa)][_0x36c7e8(0xf4)](_0x36c7e8(0xd7))['to'](this),this[_0x36c7e8(0xfa)][_0x36c7e8(0xed)](_0x36c7e8(0xe6))['to'](this),this[_0x36c7e8(0xdb)](_0x36c7e8(0xf7),this[_0x36c7e8(0xfa)][_0x36c7e8(0xf7)]+0x1),this[_0x36c7e8(0xed)](_0x36c7e8(0xf7))['to'](this[_0x36c7e8(0xfa)],_0x36c7e8(0xf7),_0x545750=>_0x545750+0x1),this[_0x36c7e8(0xe3)]=this[_0x36c7e8(0xdc)](),this['on'](_0x36c7e8(0xfd),()=>this[_0x36c7e8(0xe7)]()),this[_0x36c7e8(0xed)](_0x36c7e8(0xfb))['to'](this[_0x36c7e8(0xfa)],_0x36c7e8(0x100),this[_0x36c7e8(0xe3)][_0x36c7e8(0xf2)],_0x36c7e8(0xf9),(_0x32526,_0x73e25c)=>_0x32526||!!_0x73e25c);}[_0x85cb3a(0xdc)](){const _0x2efc93=_0x85cb3a,{CommentThreadInputView:_0x43be05}=this[_0x2efc93(0xd2)],_0x52bf0d=new _0x43be05(this[_0x2efc93(0xd9)],this[_0x2efc93(0xe1)],this[_0x2efc93(0xd2)][_0x2efc93(0xf1)]),_0x3bea4a=_0x52bf0d[_0x2efc93(0xf2)];return _0x52bf0d[_0x2efc93(0xed)](_0x2efc93(0xe4))['to'](this,_0x2efc93(0xe6),this[_0x2efc93(0xdd)][_0x2efc93(0xf3)],_0x2efc93(0xee),_0x3bea4a,_0x2efc93(0xf9),(_0x3618d6,_0x56d0eb,_0x1924d8)=>!!_0x1924d8||_0x3618d6&&!_0x56d0eb),_0x3bea4a['on'](_0x2efc93(0xfe),(_0x20b2f5,_0x1c25cb)=>{const _0x28855f=_0x2efc93;this[_0x28855f(0xd8)](_0x28855f(0xe2),_0x1c25cb),_0x3bea4a[_0x28855f(0xff)][_0x28855f(0x101)]('');}),_0x3bea4a['on'](_0x2efc93(0xd3),()=>this[_0x2efc93(0xe7)]()),_0x3bea4a[_0x2efc93(0xed)](_0x2efc93(0x102))['to'](this[_0x2efc93(0xdd)][_0x2efc93(0xf3)],_0x2efc93(0xee)),_0x52bf0d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3eef(){const _0x2d694b=['canDiscard','ck-annotation','source','innerText','cancel','commentThreadInputView','<p>','getUserViewNotificationText','.ck-annotation__content-wrapper','ck-suggestion-','bind','1141133ILvUqV','8YzpfJm','_config','authoredAt','ck-annotation__user','setTemplate','1betIaT','fire','children','4CczHFL','time','descriptionParts','90849rJZqFA','element','span','\x22\x20title=\x22','set','isEnabled','Discard\x20suggestion','ck-suggestion-wrapper--active','split','bindTemplate','map','</span>','change:description','getTemplate','isActive','ck-annotation__content-wrapper','EXTERNAL_AVATAR','ck-annotation__info-name','@external','</p>','Accept\x20suggestion','ck-suggestion__actions','EXTERNAL_IMPORT_WORD_AVATAR','userView','312tnjVRg','content','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion--disabled-comments','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','ck-comment__external','isExternal','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','editorReady','createElement','innerHTML','getExternalSuggestionNote','render','2384379Tqgvvj','ck-annotation__info','ck-comment__info-time','\x22></span>','description','ck-suggestion--discard','ck-annotation__main','querySelector','formatDateTime','194364lqLWHz','name','2440782zdJcQr','acceptSuggestion','_createButton','75aBzUGQ','ck-annotation__info-time','color','type','locale','_model','ck-annotation__actions','push','value','acceptButton','ck-suggestion--accept','title','execute','commentThread','disableComments','ck-suggestion__main','ck-suggestion','268118dAMVva','importWord','attributes','canAccept','delegate','creator','div','17460530wgtPkH','check','join','author','EXTERNAL_SUGGESTION','ck-suggestion-wrapper','_descriptionElement','commentsListView','editorDestroyed','discardSuggestion','extendTemplate','ck-suggestion__info-name','ck-suggestion__info','ck-suggestion__user'];_0x3eef=function(){return _0x2d694b;};return _0x3eef();}const _0x1082db=_0xb7b5;function _0xb7b5(_0xd8e43e,_0x514bb3){const _0x3eef27=_0x3eef();return _0xb7b5=function(_0xb7b51,_0x14cc5e){_0xb7b51=_0xb7b51-0xb3;let _0x479d87=_0x3eef27[_0xb7b51];return _0x479d87;},_0xb7b5(_0xd8e43e,_0x514bb3);}(function(_0x48612c,_0x3e547a){const _0x322357=_0xb7b5,_0x34fc7c=_0x48612c();while(!![]){try{const _0x33719f=parseInt(_0x322357(0xcc))/0x1*(parseInt(_0x322357(0x117))/0x2)+parseInt(_0x322357(0xf8))/0x3*(-parseInt(_0x322357(0xcf))/0x4)+parseInt(_0x322357(0x106))/0x5*(-parseInt(_0x322357(0x101))/0x6)+-parseInt(_0x322357(0xc6))/0x7*(parseInt(_0x322357(0xc7))/0x8)+parseInt(_0x322357(0x103))/0x9+parseInt(_0x322357(0x11e))/0xa+parseInt(_0x322357(0xd2))/0xb*(parseInt(_0x322357(0xea))/0xc);if(_0x33719f===_0x3e547a)break;else _0x34fc7c['push'](_0x34fc7c['shift']());}catch(_0x13906f){_0x34fc7c['push'](_0x34fc7c['shift']());}}}(_0x3eef,0xe12d2));import{getTranslation as _0x61452}from'../../utils/common-translations.js';import{default as _0x3c8c41}from'./basesuggestionthreadview.js';import{ButtonView as _0xc4858c}from'ckeditor5/src/ui.js';import{icons as _0x3ca544}from'ckeditor5/src/core.js';import{trimHtml as _0x36a9a0,UserView as _0x24972c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x3c8c41{constructor(_0x109155,_0x1f95f4,_0x3b56eb,_0x170c90){const _0x4f9ab9=_0xb7b5;super(_0x109155,_0x1f95f4,_0x3b56eb,_0x170c90),this[_0x4f9ab9(0xd6)](_0x4f9ab9(0x109),''),this[_0x4f9ab9(0xc5)](_0x4f9ab9(0x109))['to'](this,_0x4f9ab9(0xd1),_0x561887=>_0x561887&&_0x561887[0x0]?_0x561887[0x0][_0x4f9ab9(0x109)]:''),this[_0x4f9ab9(0xc5)](_0x4f9ab9(0xfc))['to'](this,_0x4f9ab9(0xd1),this,_0x4f9ab9(0xe0),(_0x5655e7,_0x5cfeb0)=>{const _0x58c5a0=_0x4f9ab9;let _0x174d8f='';for(const _0x3f5d45 of _0x5655e7)_0x174d8f+=_0x58c5a0(0xc1)+ds(_0x3f5d45[_0x58c5a0(0xeb)],_0x3f5d45[_0x58c5a0(0x108)])+_0x58c5a0(0xe5);return _0x5cfeb0?_0x174d8f:_0x36a9a0(_0x174d8f,{'limit':0x8c});}),this[_0x4f9ab9(0xb3)]=null,this[_0x4f9ab9(0x10f)]=this[_0x4f9ab9(0x105)](_0x61452(_0x109155,_0x4f9ab9(0xe6)),_0x3ca544[_0x4f9ab9(0x11f)],_0x4f9ab9(0x110),_0x4f9ab9(0x104),'sw'),this[_0x4f9ab9(0x10f)][_0x4f9ab9(0xc5)](_0x4f9ab9(0xd7))['to'](this,_0x4f9ab9(0x11a)),this[_0x4f9ab9(0xef)]=this[_0x4f9ab9(0x105)](_0x61452(_0x109155,_0x4f9ab9(0xd8)),_0x3ca544[_0x4f9ab9(0xbf)],_0x4f9ab9(0xfd),_0x4f9ab9(0xb6),'sw'),this[_0x4f9ab9(0xef)][_0x4f9ab9(0xc5)](_0x4f9ab9(0xd7))['to'](this,_0x4f9ab9(0xbb)),this[_0x4f9ab9(0xe9)]=new _0x24972c(_0x109155,this[_0x4f9ab9(0x10b)][_0x4f9ab9(0x121)],this[_0x4f9ab9(0xc2)]()),this[_0x4f9ab9(0xe9)][_0x4f9ab9(0xb7)]({'attributes':{'class':[_0x4f9ab9(0xba),_0x4f9ab9(0xca)]}}),this[_0x4f9ab9(0xcb)](this[_0x4f9ab9(0xdf)]());}[_0x1082db(0xdf)](){const _0xe8dbbe=_0x1082db,_0x5f3187=this[_0xe8dbbe(0xdb)],_0x31895b=[{'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0xb9),_0xe8dbbe(0xf9)]},'children':[{'tag':_0xe8dbbe(0xd4),'children':[{'text':this[_0xe8dbbe(0xe9)][_0xe8dbbe(0x102)]}],'attributes':{'class':[_0xe8dbbe(0xb8),_0xe8dbbe(0xe3)]}},{'tag':_0xe8dbbe(0xd0),'attributes':{'datetime':_0x5f3187['to'](_0xe8dbbe(0xc9)),'class':[_0xe8dbbe(0xfa),_0xe8dbbe(0x107)]},'children':[{'text':_0x5f3187['to'](_0xe8dbbe(0xc9),_0x48e342=>this[_0xe8dbbe(0xc8)][_0xe8dbbe(0x100)](_0x48e342))}]}]},{'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0xe7),_0xe8dbbe(0x10c)]},'children':[this[_0xe8dbbe(0x10f)],this[_0xe8dbbe(0xef)]]},{'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0xe1)]}}];this[_0xe8dbbe(0x10b)][_0xe8dbbe(0xf1)]&&_0x31895b[_0xe8dbbe(0x10d)]({'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0xf0)]},'children':[{'text':this[_0xe8dbbe(0xf6)]()}]});const _0x42a31b={'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0x123),_0x5f3187['if'](_0xe8dbbe(0xe0),_0xe8dbbe(0xd9)),_0x5f3187['to'](_0xe8dbbe(0x109),_0x441410=>_0xe8dbbe(0xc4)+_0x441410),this[_0xe8dbbe(0xc8)][_0xe8dbbe(0x114)]&&_0xe8dbbe(0xed)],'data-suggestion-id':this[_0xe8dbbe(0x10b)]['id'],'data-thread-id':this[_0xe8dbbe(0x10b)][_0xe8dbbe(0x113)]['id'],'data-author-id':this[_0xe8dbbe(0x10b)][_0xe8dbbe(0x121)]['id'],'tabindex':-0x1},'children':[{'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0x116),_0xe8dbbe(0xbc)]},'children':[this[_0xe8dbbe(0xe9)],{'tag':_0xe8dbbe(0x11d),'attributes':{'class':[_0xe8dbbe(0x115),_0xe8dbbe(0xfe)]},'children':_0x31895b}]}]};return this[_0xe8dbbe(0xb4)]&&this[_0xe8dbbe(0xc0)]&&(_0x42a31b[_0xe8dbbe(0xce)][_0xe8dbbe(0x10d)](this[_0xe8dbbe(0xb4)],this[_0xe8dbbe(0xc0)]),this[_0xe8dbbe(0xb4)][_0xe8dbbe(0x11b)](_0xe8dbbe(0xf3))['to'](this),this[_0xe8dbbe(0xb4)][_0xe8dbbe(0x11b)](_0xe8dbbe(0xb5))['to'](this),this[_0xe8dbbe(0xc0)][_0xe8dbbe(0x11b)](_0xe8dbbe(0xf3))['to'](this),this[_0xe8dbbe(0xc0)][_0xe8dbbe(0x11b)](_0xe8dbbe(0xb5))['to'](this)),_0x42a31b;}[_0x1082db(0xf7)](){const _0xb72188=_0x1082db;super[_0xb72188(0xf7)](),this[_0xb72188(0xb3)]=this[_0xb72188(0xd3)][_0xb72188(0xff)](_0xb72188(0xc3)),this[_0xb72188(0xb3)][_0xb72188(0xf5)]=this[_0xb72188(0xfc)],this['on'](_0xb72188(0xde),(_0x555f24,_0x2ca05d,_0x34df12)=>{const _0xe4cb8b=_0xb72188;this[_0xe4cb8b(0xb3)][_0xe4cb8b(0xf5)]=_0x34df12;});}[_0x1082db(0x105)](_0x44170a,_0x198ecb,_0xd1b83d,_0x3211eb,_0x372837){const _0x37b924=_0x1082db,_0x1389b4=new _0xc4858c(this[_0x37b924(0x10a)]);return _0x1389b4[_0x37b924(0xd6)]({'label':_0x44170a,'icon':_0x198ecb,'tooltip':!0x0,'tooltipPosition':_0x372837}),_0x1389b4[_0x37b924(0xb7)]({'attributes':{'class':_0xd1b83d}}),_0x1389b4['on'](_0x37b924(0x112),()=>{const _0x1b7680=_0x37b924;this[_0x1b7680(0xcd)](_0x3211eb,this[_0x1b7680(0x10b)]['id']);}),_0x1389b4;}[_0x1082db(0xf6)](){const _0x5b1f80=_0x1082db;return _0x5b1f80(0x118)===this[_0x5b1f80(0x10b)][_0x5b1f80(0x119)][_0x5b1f80(0xe4)][_0x5b1f80(0xbd)]?_0x61452(this[_0x5b1f80(0x10a)],_0x5b1f80(0xee)):_0x61452(this[_0x5b1f80(0x10a)],_0x5b1f80(0x122));}[_0x1082db(0xc2)](){const _0x5dcc4f=_0x1082db;return this[_0x5dcc4f(0x10b)][_0x5dcc4f(0xf1)]?_0x5dcc4f(0x118)===this[_0x5dcc4f(0x10b)][_0x5dcc4f(0x119)][_0x5dcc4f(0xe4)][_0x5dcc4f(0xbd)]?_0x61452(this[_0x5dcc4f(0x10a)],_0x5dcc4f(0xe8),this[_0x5dcc4f(0x10b)][_0x5dcc4f(0x11c)][_0x5dcc4f(0x102)]):_0x61452(this[_0x5dcc4f(0x10a)],_0x5dcc4f(0xe2),this[_0x5dcc4f(0x10b)][_0x5dcc4f(0x11c)][_0x5dcc4f(0x102)]):null;}}function ds(_0x234c91,_0x43e362){const _0x5f0921=_0x1082db;let _0x215bc0='';return _0x215bc0+=_0x234c91[_0x5f0921(0xda)]('*')[_0x5f0921(0xdc)]((_0x1a70b0,_0x10fd9d)=>_0x10fd9d%0x2!=0x0?_0x5f0921(0xec)+us(_0x1a70b0)+_0x5f0921(0xdd):us(_0x1a70b0))[_0x5f0921(0x120)](''),_0x43e362&&(_0x215bc0+=_0x5f0921(0xf2)+_0x43e362[_0x5f0921(0x10e)]+_0x5f0921(0xd5)+_0x43e362[_0x5f0921(0x111)]+_0x5f0921(0xfb)),_0x215bc0;}function us(_0x28b480){const _0x272dc8=_0x1082db,_0x23a951=document[_0x272dc8(0xf4)](_0x272dc8(0xd4));return _0x23a951[_0x272dc8(0xbe)]=_0x28b480,_0x23a951[_0x272dc8(0xf5)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x452dc7,_0x5c22ab,_0x5025af){const t=_0x452dc7['t'];switch(_0x5c22ab){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',_0x5025af);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5025af);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5025af);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5025af);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5025af);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',_0x5025af);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5025af);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',_0x5025af);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5025af);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5025af);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5025af);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5025af);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5025af);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5025af);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5025af);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5025af);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5025af);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5025af);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5025af);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5025af);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5025af);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5025af);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5025af);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'},_0x5025af);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5025af);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5025af);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5025af);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5025af);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5025af);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'},_0x5025af);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5025af);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5025af);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5025af);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5025af);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5025af);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5025af);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'},_0x5025af);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'},_0x5025af);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5025af);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'},_0x5025af);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5025af);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'},_0x5025af);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5025af);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5025af);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'},_0x5025af);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'},_0x5025af);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 _0x5c22ab;}}
|
|
23
|
+
export function getTranslation(_0x4be755,_0x379886,_0x578b94){const t=_0x4be755['t'];switch(_0x379886){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',_0x578b94);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x578b94);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x578b94);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x578b94);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x578b94);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',_0x578b94);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x578b94);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',_0x578b94);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x578b94);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x578b94);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x578b94);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x578b94);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x578b94);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x578b94);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x578b94);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x578b94);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x578b94);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x578b94);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x578b94);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x578b94);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x578b94);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x578b94);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x578b94);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'},_0x578b94);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x578b94);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x578b94);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x578b94);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x578b94);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x578b94);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'},_0x578b94);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x578b94);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x578b94);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x578b94);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x578b94);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x578b94);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x578b94);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'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x578b94);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x578b94);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'},_0x578b94);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'},_0x578b94);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 _0x379886;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c89a7,_0x22c86b){const _0x36ee8b=_0x15d4,_0x5141c0=_0x2c89a7();while(!![]){try{const _0x2bb5c=parseInt(_0x36ee8b(0xe5))/0x1+-parseInt(_0x36ee8b(0xdc))/0x2*(parseInt(_0x36ee8b(0xdb))/0x3)+-parseInt(_0x36ee8b(0xe9))/0x4*(parseInt(_0x36ee8b(0xdf))/0x5)+parseInt(_0x36ee8b(0xee))/0x6+-parseInt(_0x36ee8b(0xe0))/0x7*(-parseInt(_0x36ee8b(0xfa))/0x8)+parseInt(_0x36ee8b(0xd8))/0x9*(-parseInt(_0x36ee8b(0xec))/0xa)+parseInt(_0x36ee8b(0xe6))/0xb*(parseInt(_0x36ee8b(0xe8))/0xc);if(_0x2bb5c===_0x22c86b)break;else _0x5141c0['push'](_0x5141c0['shift']());}catch(_0x1c3c0f){_0x5141c0['push'](_0x5141c0['shift']());}}}(_0x36d5,0x8f570));export function normalizeDescription(_0x6a4e58){const _0x232005=_0x15d4;return Array[_0x232005(0xe4)](_0x6a4e58)||(_0x6a4e58=[_0x6a4e58]),_0x6a4e58[_0x232005(0xd7)](_0x52662c=>{const _0x4f4c78=_0x232005,_0x24bf9b=_0x52662c[_0x4f4c78(0xd5)][_0x4f4c78(0xe2)](/\*/g,''),_0x4eaf56=_0x52662c[_0x4f4c78(0xef)]?_0x4f4c78(0xf9)+_0x52662c[_0x4f4c78(0xef)][_0x4f4c78(0xf4)]+']':'';return'['+_0x52662c[_0x4f4c78(0xd1)]+']\x20'+_0x24bf9b+_0x4eaf56;})[_0x232005(0xcf)](';\x20');}export function sortSuggestions(_0xf39a5e){const _0xabf204=_0x15d4;return _0xf39a5e[_0xabf204(0xf8)]((_0xd9d73,_0x5e7153)=>_0xabf204(0xf5)==_0xd9d73[_0xabf204(0xd1)]&&_0xabf204(0xf5)!=_0x5e7153[_0xabf204(0xd1)]?-0x1:_0xabf204(0xf5)!=_0xd9d73[_0xabf204(0xd1)]&&_0xabf204(0xf5)==_0x5e7153[_0xabf204(0xd1)]?0x1:0x0);}export function getSelectedSuggestions(_0x53cde2,_0x250cb4){const _0x12f78e=_0x15d4,_0x442926=Array[_0x12f78e(0xf1)](_0x53cde2[_0x12f78e(0xe7)]()),_0x4474c8=new Set();for(const _0x5bab1c of _0x250cb4)if(_0x5bab1c[_0x12f78e(0xf3)]){for(const _0xd5a088 of _0x442926)for(const _0x1ec11f of _0x5bab1c[_0x12f78e(0xe7)]())(_0xd5a088[_0x12f78e(0xd3)](_0x1ec11f)||_0x53cde2[_0x12f78e(0xd9)]&&!_0x5bab1c[_0x12f78e(0xce)]&&_0x5bab1c[_0x12f78e(0xf2)]&&_0x1ec11f[_0x12f78e(0xe3)][_0x12f78e(0xde)](_0xd5a088[_0x12f78e(0xf0)]))&&_0x4474c8[_0x12f78e(0xd6)](_0x5bab1c);}return _0x4474c8;}function _0x15d4(_0xb639e6,_0x2b9102){const _0x36d50a=_0x36d5();return _0x15d4=function(_0x15d463,_0x3d4940){_0x15d463=_0x15d463-0xce;let _0xf93081=_0x36d50a[_0x15d463];return _0xf93081;},_0x15d4(_0xb639e6,_0x2b9102);}export function getRangesOfBlockGroups(_0x23b7d0,_0x9a7f46){const _0x18322d=_0x15d4;let _0x171e6f,_0x565231=0x0;const _0xd99025=[],_0x1d51aa=_0x9a7f46[_0x18322d(0xdd)];for(;_0x565231<_0x23b7d0[_0x18322d(0xea)];){const _0x28d056=_0x23b7d0[_0x565231],_0xf75fda=_0x23b7d0[_0x565231+0x1];_0x171e6f||(_0x171e6f=_0x9a7f46[_0x18322d(0xd4)](_0x28d056)),co(_0x9a7f46,_0x28d056,_0xf75fda)||(_0xd99025[_0x18322d(0xd2)](_0x9a7f46[_0x18322d(0xf6)](_0x171e6f,_0x1d51aa[_0x18322d(0xda)](_0x28d056)?_0x9a7f46[_0x18322d(0xf7)](_0x28d056):_0x9a7f46[_0x18322d(0xe1)](_0x28d056,_0x18322d(0xe3)))),_0x171e6f=null),_0x565231++;}return _0xd99025;}function co(_0xf5bd1d,_0x49101b,_0x3be681){const _0x5d106d=_0x15d4;if(!_0x3be681)return!0x1;const _0x3d33b4=_0xf5bd1d[_0x5d106d(0xf7)](_0x49101b),_0x5caee2=_0xf5bd1d[_0x5d106d(0xd4)](_0x3be681);return _0x3d33b4[_0x5d106d(0xde)](_0x5caee2);}function _0x36d5(){const _0x4e7d6f=['length','splice','1850950RHGMkY','execute','995094WfPQsR','color','start','from','next','isInContent','value','deletion','createRange','createPositionAfter','sort','\x20[color\x20','8LmtAuj','isMultiRange','join','change','type','push','isIntersecting','createPositionBefore','content','add','map','18yQjtaq','isCollapsed','isObject','129vQFjxh','9154pFvPHR','schema','isTouching','2795roAOEX','1265299MKqywM','createPositionAt','replace','end','isArray','182692veqgyH','4946106tcWaWu','getRanges','24PryJSB','1964tybTKr'];_0x36d5=function(){return _0x4e7d6f;};return _0x36d5();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4282c4,_0x578ddb,_0x21a50e){const _0x29b603=_0x15d4;for(;_0x21a50e[_0x29b603(0xea)];){const _0x4e0697=_0x21a50e[_0x29b603(0xeb)](0x0,0x64);_0x4282c4[_0x29b603(0xd0)](()=>{const _0x494afc=_0x29b603;for(const _0x3a6a73 of _0x4e0697)_0x3a6a73[_0x494afc(0xf3)]&&_0x578ddb[_0x494afc(0xed)](_0x3a6a73['id']);});}}
|