@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240527.0 → 0.0.0-nightly-20240529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x165cc4=_0x3a52;function _0x118c(){const _0x3a64d7=['_viewToController','stopListening','_handleSuggestionControllerDelayed','menuitem','menu','filter','Annotations','isInContent','items','_disableComments','from','buttonView','_bindAnnotationToEditors','isMultiRange','SuggestionThreadView','focus','lowest','suggestionUnloaded','locale','descriptionParts','delegate','clear','11EXZWno','EditorAnnotations','separator','switchbutton','57456OLaCIR','6899950ixreNv','componentFactory','comments.maxCommentCharsWhenCollapsed','Accept\x20all\x20suggestions','menuitemcheckbox','editor','_refreshActiveMarkers','addSourceCollector','delete','keys','plugins','arrowView','requires','isOn','addComment','trackChanges.SuggestionThreadView','createAnnotation','getRanges','set','_annotationViews','commandName','getSuggestion','editing','Discard\x20all\x20suggestions','Track\x20changes','Discard\x20all\x20selected\x20suggestions','discardSelectedSuggestions','listenTo','push','activeMarkers','_unbindEditors','16883952ZXAljE','model','getMarkers','init','suggestionChanged','length','isDirty','has','mainView','panelView','discardAllSuggestions','comments.maxThreadTotalWeight','previous','actionView','unbind','change:activeAnnotations','pluginName','createCommentThreadController','type','271855YWjbpd','CommentsRepository','values','execute','44276FZKaiH','TrackChangesUI','_addUIComponentsToFactory','5QlAPXw','bind','createAnnotationView','112BYYiJd','innerView','remove','167476RzPvTl','getFirstRange','acceptButton','define','acceptAllSuggestions','_createToolbarButton','size','comments.maxCommentsWhenCollapsed','discardButton','children','reduce','commentThread','get','registerAnnotation','_createMenuBarMenu','337266DlEAGJ','destroy','282UCQqvT','suggestionLoaded','_destroyController','getAllAdjacentSuggestions','trackChanges','add','getJoined','some','acceptSelectedSuggestions','_initializeController','change:previous','comments.editorConfig','comments','TrackChangesEditing','activeAnnotations','trackChanges.disableComments','value','CommentView','getDescriptions','hasSuggestion','Accept\x20all\x20selected\x20suggestions','descriptionFactory','head','button','view','menuBar:trackChanges','isEnabled','_updateController','commands','source','getByInnerView','42iSxSZm','getMarkerNames','CommentsUI','suggestion-','toMany','config','_handleControllerBuffer','_suggestionToController','refreshSelectedViews'];_0x118c=function(){return _0x3a64d7;};return _0x118c();}(function(_0xd08091,_0x23b161){const _0x5c87b8=_0x3a52,_0x4aba4f=_0xd08091();while(!![]){try{const _0x53c09f=parseInt(_0x5c87b8(0x1b5))/0x1+parseInt(_0x5c87b8(0x1b9))/0x2*(parseInt(_0x5c87b8(0x1f2))/0x3)+parseInt(_0x5c87b8(0x1c2))/0x4*(-parseInt(_0x5c87b8(0x1bc))/0x5)+parseInt(_0x5c87b8(0x1d3))/0x6*(-parseInt(_0x5c87b8(0x182))/0x7)+-parseInt(_0x5c87b8(0x1bf))/0x8*(parseInt(_0x5c87b8(0x1d1))/0x9)+-parseInt(_0x5c87b8(0x183))/0xa*(parseInt(_0x5c87b8(0x211))/0xb)+parseInt(_0x5c87b8(0x1a2))/0xc;if(_0x53c09f===_0x23b161)break;else _0x4aba4f['push'](_0x4aba4f['shift']());}catch(_0x5bf078){_0x4aba4f['push'](_0x4aba4f['shift']());}}}(_0x118c,0x5498b));import{Plugin as _0x29fd28}from'ckeditor5/src/core.js';import{Collection as _0x437ca3}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x6c376,createDropdown as _0x453585,ListSeparatorView as _0x35a568,MenuBarMenuView as _0x2587f4,MenuBarMenuListView as _0x4d72d5,MenuBarMenuListItemView as _0x3e024a,MenuBarMenuListItemButtonView as _0x31e9fb,SplitButtonView as _0x2ae63e,ViewModel as _0x3ccfa0}from'ckeditor5/src/ui.js';import{Users as _0x175f24,getDateTimeFormatter as _0x6b51d,getAllMarkersDomElementsSorted as _0x2ae866}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x43dfb9 from'./trackchangesediting.js';import _0x5bf07f from'./ui/suggestioncontroller.js';function _0x3a52(_0x4f7014,_0x41f4be){const _0x118c82=_0x118c();return _0x3a52=function(_0x3a522f,_0x1f57e4){_0x3a522f=_0x3a522f-0x182;let _0x5117d8=_0x118c82[_0x3a522f];return _0x5117d8;},_0x3a52(_0x4f7014,_0x41f4be);}import _0x3dee10 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3556dc}from'./utils/common-translations.js';import _0x552a7d from'../theme/icons/track-changes.svg';export default class d extends _0x29fd28{static get[_0x165cc4(0x18f)](){const _0x23d5a7=_0x165cc4;return[_0x43dfb9,_0x175f24,_0x23d5a7(0x1b6),_0x23d5a7(0x201),_0x23d5a7(0x212)];}static get[_0x165cc4(0x1b2)](){const _0x51f89f=_0x165cc4;return _0x51f89f(0x1ba);}constructor(_0x41f228){const _0x1345dc=_0x165cc4;super(_0x41f228),this[_0x1345dc(0x1f9)]=new Map(),this[_0x1345dc(0x1fb)]=new Map(),this[_0x1345dc(0x196)]=new Map(),this[_0x1345dc(0x1f8)]=new Map();const _0x39a50c=this[_0x1345dc(0x188)][_0x1345dc(0x1f7)];_0x39a50c[_0x1345dc(0x1c5)](_0x1345dc(0x192),_0x3dee10),_0x39a50c[_0x1345dc(0x1c5)](_0x1345dc(0x1e2),!0x1),this[_0x1345dc(0x204)]=_0x39a50c[_0x1345dc(0x1ce)](_0x1345dc(0x1e2));}[_0x165cc4(0x1fd)](_0x1ed557,_0x5cb343){const _0x4edc00=_0x165cc4;0x0===this[_0x4edc00(0x1f8)][_0x4edc00(0x1c8)]&&setTimeout(()=>{const _0x2ec525=_0x4edc00;for(const [_0x4e2d5f,_0x317e7c]of this[_0x2ec525(0x1f8)]){const _0x2eebe4=this[_0x2ec525(0x1f9)][_0x2ec525(0x1a9)](_0x4e2d5f);_0x2eebe4||_0x317e7c?_0x2eebe4&&_0x317e7c&&this[_0x2ec525(0x1d5)](_0x4e2d5f):this[_0x2ec525(0x1dc)](_0x4e2d5f);}this[_0x2ec525(0x1f8)][_0x2ec525(0x210)](),this[_0x2ec525(0x188)][_0x2ec525(0x18d)][_0x2ec525(0x1ce)](_0x2ec525(0x212))[_0x2ec525(0x1fa)](),this[_0x2ec525(0x189)]();},0xa),this[_0x4edc00(0x1f8)][_0x4edc00(0x195)](_0x1ed557,_0x5cb343);}[_0x165cc4(0x1a5)](){const _0x2c2abf=_0x165cc4,_0x4571b9=this[_0x2c2abf(0x188)],_0x45bd93=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x1e0)),_0x5ba3a8=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x201)),_0x30511e=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x212)),_0xdc7b2=_0x4571b9[_0x2c2abf(0x18d)][_0x2c2abf(0x1ce)](_0x2c2abf(0x1b6));this[_0x2c2abf(0x1bb)](),_0x30511e[_0x2c2abf(0x18a)](()=>{const _0x22f113=_0x2c2abf,_0x3bb36c=[];for(const [_0x57ffc8,_0x17ca3b]of Array[_0x22f113(0x205)](this[_0x22f113(0x1f9)])){const _0xea4ae2=_0x57ffc8[_0x22f113(0x1d6)](),_0x315c16=[];for(const _0x68dbfa of _0xea4ae2){if(!_0x68dbfa[_0x22f113(0x202)])continue;if(_0x68dbfa[_0x22f113(0x208)]){_0x315c16[_0x22f113(0x19f)](..._0x68dbfa[_0x22f113(0x194)]());continue;}const _0x70b850=_0x68dbfa[_0x22f113(0x1c3)]();if(_0x315c16[_0x22f113(0x1a7)]>0x0){const _0x4fa169=_0x315c16[0x0][_0x22f113(0x1d9)](_0x70b850);if(_0x4fa169){_0x315c16[0x0]=_0x4fa169;continue;}}_0x315c16[_0x22f113(0x19f)](_0x70b850);}_0x3bb36c[_0x22f113(0x19f)]([_0x17ca3b[_0x22f113(0x1eb)],_0x315c16]);}return _0x3bb36c;}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x1d4),(_0x10f2f9,_0xfbf262)=>{const _0x17f8ea=_0x2c2abf;this[_0x17f8ea(0x19e)](_0xfbf262,_0x17f8ea(0x1dd),(_0x7fc757,_0x344f89,_0x1b633b,_0x37df45)=>{const _0x1e7008=_0x17f8ea;_0xfbf262[_0x1e7008(0x202)]&&(null==_0x1b633b?(this[_0x1e7008(0x1ee)](_0x37df45[_0x1e7008(0x1e9)]),this[_0x1e7008(0x1fd)](_0xfbf262,!0x1)):(this[_0x1e7008(0x1ee)](_0x1b633b[_0x1e7008(0x1e9)]),null==_0x37df45&&this[_0x1e7008(0x1fd)](_0xfbf262,!0x0)));}),null!==_0xfbf262[_0x17f8ea(0x1ae)]?this[_0x17f8ea(0x1ee)](_0xfbf262[_0x17f8ea(0x1e9)]):this[_0x17f8ea(0x1fd)](_0xfbf262,!0x1);}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x20c),(_0x16bfe1,_0x22794c,_0x5f368c)=>{const _0x12433b=_0x2c2abf;this[_0x12433b(0x1fc)](_0x22794c,_0x12433b(0x1dd)),this[_0x12433b(0x1f8)][_0x12433b(0x18b)](_0x22794c),this[_0x12433b(0x1f9)][_0x12433b(0x1a9)](_0x22794c)&&this[_0x12433b(0x1d5)](_0x22794c),_0x5f368c&&this[_0x12433b(0x1ee)](_0x5f368c[_0x12433b(0x1e9)]);}),this[_0x2c2abf(0x19e)](_0x45bd93,_0x2c2abf(0x1a6),(_0x2fd529,_0x550f32)=>{const _0x5496cc=_0x2c2abf;this[_0x5496cc(0x1ee)](_0x550f32);}),this[_0x2c2abf(0x19e)](_0x5ba3a8,_0x2c2abf(0x1b1),()=>{const _0x65c331=_0x2c2abf;this[_0x65c331(0x189)]();}),this[_0x2c2abf(0x19e)](_0xdc7b2,_0x2c2abf(0x191),(_0x3e2fc3,{threadId:_0x24b9f6,isFromAdapter:_0x28d7d7})=>{const _0x547fdd=_0x2c2abf;if(_0x28d7d7||!_0x45bd93[_0x547fdd(0x1e6)](_0x24b9f6))return;const _0xb30a4c=_0x45bd93[_0x547fdd(0x198)](_0x24b9f6);this[_0x547fdd(0x1f9)][_0x547fdd(0x1ce)](_0xb30a4c)[_0x547fdd(0x1eb)][_0x547fdd(0x20a)]();},{'priority':_0x2c2abf(0x20b)});}[_0x165cc4(0x189)](){const _0x16a310=_0x165cc4,_0x374cba=this[_0x16a310(0x188)][_0x16a310(0x18d)][_0x16a310(0x1ce)](_0x16a310(0x201)),_0x417cf5=this[_0x16a310(0x188)][_0x16a310(0x18d)][_0x16a310(0x1ce)](_0x16a310(0x1e0)),_0x3c0fbe=Array[_0x16a310(0x205)](_0x374cba[_0x16a310(0x1e1)],_0x10adb3=>_0x10adb3[_0x16a310(0x1c0)])[_0x16a310(0x200)](_0x6750ba=>this[_0x16a310(0x1fb)][_0x16a310(0x1a9)](_0x6750ba)),_0x396644=[];for(const _0x14d86f of _0x3c0fbe){const _0x375b8f=this[_0x16a310(0x1fb)][_0x16a310(0x1ce)](_0x14d86f)[_0x16a310(0x1a3)][_0x16a310(0x1d6)]();_0x396644[_0x16a310(0x19f)](..._0x375b8f[_0x16a310(0x1cc)]((_0x333504,_0x33e78a)=>[..._0x333504,..._0x33e78a[_0x16a310(0x1f3)]()],[]));}_0x417cf5[_0x16a310(0x1a0)]=_0x396644;}[_0x165cc4(0x1bb)](){const _0x110f96=_0x165cc4,_0x5de724=this[_0x110f96(0x188)],_0x3120d5=_0x5de724[_0x110f96(0x20d)],_0x19edd5=_0x3556dc(_0x3120d5,_0x110f96(0x19b)),_0x51ee58=new _0x437ca3([{'type':_0x110f96(0x214),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x19edd5,'commandName':_0x110f96(0x1d7),'role':_0x110f96(0x187)})},{'type':_0x110f96(0x213)},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x186)),'commandName':_0x110f96(0x1c6),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x1e7)),'commandName':_0x110f96(0x1db),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x19a)),'commandName':_0x110f96(0x1ac),'role':_0x110f96(0x1fe)})},{'type':_0x110f96(0x1ea),'model':new _0x3ccfa0({'withText':!0x0,'label':_0x3556dc(_0x3120d5,_0x110f96(0x19c)),'commandName':_0x110f96(0x19d),'role':_0x110f96(0x1fe)})}]);for(const _0x15d797 of _0x51ee58)if(ae(_0x15d797)){const _0x7c4f2f=_0x5de724[_0x110f96(0x1ef)][_0x110f96(0x1ce)](_0x15d797[_0x110f96(0x1a3)][_0x110f96(0x197)]);_0x15d797[_0x110f96(0x1a3)][_0x110f96(0x1bd)](_0x110f96(0x190),_0x110f96(0x1ed))['to'](_0x7c4f2f,_0x110f96(0x1e3),_0x110f96(0x1ed));}_0x5de724['ui'][_0x110f96(0x184)][_0x110f96(0x1d8)](_0x110f96(0x1d7),_0x4992d9=>this[_0x110f96(0x1c7)](_0x4992d9,_0x51ee58,_0x19edd5)),_0x5de724['ui'][_0x110f96(0x184)][_0x110f96(0x1d8)](_0x110f96(0x1ec),_0xc8c8e3=>this[_0x110f96(0x1d0)](_0xc8c8e3,_0x51ee58,_0x19edd5));}[_0x165cc4(0x1c7)](_0x117a1b,_0x3579cc,_0x53227f){const _0x2451ff=_0x165cc4,_0x4a8d90=_0x453585(_0x117a1b,_0x2ae63e),_0x4bbc19=this[_0x2451ff(0x188)][_0x2451ff(0x1ef)][_0x2451ff(0x1ce)](_0x2451ff(0x1d7));_0x4a8d90[_0x2451ff(0x206)][_0x2451ff(0x195)]({'tooltip':_0x53227f,'label':_0x53227f,'icon':_0x552a7d}),_0x4a8d90[_0x2451ff(0x206)][_0x2451ff(0x1bd)](_0x2451ff(0x190))['to'](_0x4bbc19,_0x2451ff(0x1e3)),_0x4a8d90[_0x2451ff(0x206)]['on'](_0x2451ff(0x1b8),()=>{const _0x1c4c7d=_0x2451ff;_0x4bbc19[_0x1c4c7d(0x1b8)](),this[_0x1c4c7d(0x188)][_0x1c4c7d(0x199)][_0x1c4c7d(0x1eb)][_0x1c4c7d(0x20a)]();}),_0x6c376(_0x4a8d90,_0x3579cc,{'role':_0x2451ff(0x1ff)});const _0x162863=[];for(const _0x414475 of _0x3579cc)ae(_0x414475)&&_0x162863[_0x2451ff(0x19f)](this[_0x2451ff(0x188)][_0x2451ff(0x1ef)][_0x2451ff(0x1ce)](_0x414475[_0x2451ff(0x1a3)][_0x2451ff(0x197)]));const _0x5d0291=_0x4a8d90[_0x2451ff(0x206)];return _0x5d0291[_0x2451ff(0x1af)][_0x2451ff(0x1b0)](_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x18e)][_0x2451ff(0x1b0)](_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x1af)][_0x2451ff(0x1bd)](_0x2451ff(0x1ed))['to'](_0x4bbc19,_0x2451ff(0x1ed)),_0x5d0291[_0x2451ff(0x18e)][_0x2451ff(0x1bd)](_0x2451ff(0x1ed))[_0x2451ff(0x1f6)](_0x162863,_0x2451ff(0x1ed),(..._0x4422ab)=>_0x4422ab[_0x2451ff(0x1da)](_0x34b883=>_0x34b883)),_0x4a8d90['on'](_0x2451ff(0x1b8),_0x3117a3=>{const _0x24acae=_0x2451ff;this[_0x24acae(0x188)][_0x24acae(0x1b8)](_0x3117a3[_0x24acae(0x1f0)][_0x24acae(0x197)]),this[_0x24acae(0x188)][_0x24acae(0x199)][_0x24acae(0x1eb)][_0x24acae(0x20a)]();}),_0x4a8d90;}[_0x165cc4(0x1d0)](_0x3973b5,_0x4189db,_0x2c5807){const _0x552a23=_0x165cc4,_0x44db8a=new _0x2587f4(_0x3973b5),_0x2566f1=this[_0x552a23(0x188)][_0x552a23(0x1ef)][_0x552a23(0x1ce)](_0x552a23(0x1d7));_0x44db8a[_0x552a23(0x206)][_0x552a23(0x195)]({'label':_0x2c5807,'icon':_0x552a7d});const _0xa81105=new _0x4d72d5(_0x3973b5);for(const _0x3439cb of _0x4189db){if(_0x552a23(0x213)==_0x3439cb[_0x552a23(0x1b4)]){_0xa81105[_0x552a23(0x203)][_0x552a23(0x1d8)](new _0x35a568(_0x3973b5));continue;}const _0x4a02cd=new _0x3e024a(_0x3973b5,_0x44db8a),_0x38fb89=new _0x31e9fb(_0x3973b5),_0x764400=_0x3439cb[_0x552a23(0x1a3)];_0x38fb89[_0x552a23(0x1bd)](...Object[_0x552a23(0x18c)](_0x764400))['to'](_0x764400),_0x38fb89[_0x552a23(0x20f)](_0x552a23(0x1b8))['to'](_0x44db8a),_0x38fb89['on'](_0x552a23(0x1b8),()=>{const _0x399225=_0x552a23;this[_0x399225(0x188)][_0x399225(0x1b8)](_0x764400[_0x399225(0x197)]),this[_0x399225(0x188)][_0x399225(0x199)][_0x399225(0x1eb)][_0x399225(0x20a)]();}),_0x4a02cd[_0x552a23(0x1cb)][_0x552a23(0x1d8)](_0x38fb89),_0xa81105[_0x552a23(0x203)][_0x552a23(0x1d8)](_0x4a02cd);}return _0x44db8a[_0x552a23(0x1bd)](_0x552a23(0x1ed))['to'](_0x2566f1,_0x552a23(0x1ed)),_0x44db8a[_0x552a23(0x1ab)][_0x552a23(0x1cb)][_0x552a23(0x1d8)](_0xa81105),_0x44db8a;}[_0x165cc4(0x1dc)](_0x3060e8){const _0x19e5cc=_0x165cc4,_0x1bea89=this[_0x19e5cc(0x188)],_0x5b3fc0=_0x1bea89[_0x19e5cc(0x1f7)],_0x2730a2=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x201)),_0x52a29e=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1b6)),_0x3c6aeb=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x212)),_0x252320=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x175f24)['me'],_0x3b858b=_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1d7))[_0x19e5cc(0x209)],{CommentsListView:_0x5d65e4,CommentThreadInputView:_0x1703c3}=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1f4));let _0x1c9ba6,_0x3362a7;this[_0x19e5cc(0x196)][_0x19e5cc(0x1a9)](_0x3060e8['id'])?(_0x3362a7=this[_0x19e5cc(0x196)][_0x19e5cc(0x1ce)](_0x3060e8['id']),_0x1c9ba6=_0x3362a7[_0x19e5cc(0x1aa)]):(_0x1c9ba6=new _0x3b858b(_0x1bea89[_0x19e5cc(0x20d)],_0x3060e8,_0x252320,{'disableComments':this[_0x19e5cc(0x204)],'editorConfig':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1de)),'maxCommentsWhenCollapsed':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1c9)),'maxThreadTotalWeight':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1ad)),'maxCommentCharsWhenCollapsed':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x185)),'formatDateTime':_0x6b51d(_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x20d))),'CommentView':_0x5b3fc0[_0x19e5cc(0x1ce)](_0x19e5cc(0x1df))[_0x19e5cc(0x1e4)],'CommentsListView':_0x5d65e4,'CommentThreadInputView':_0x1703c3}),_0x1c9ba6[_0x19e5cc(0x1c4)]['on'](_0x19e5cc(0x1b8),()=>{const _0x48a99d=_0x19e5cc;_0x1bea89[_0x48a99d(0x199)][_0x48a99d(0x1eb)][_0x48a99d(0x20a)]();}),_0x1c9ba6[_0x19e5cc(0x1ca)]['on'](_0x19e5cc(0x1b8),()=>{const _0x418b19=_0x19e5cc;_0x1bea89[_0x418b19(0x199)][_0x418b19(0x1eb)][_0x418b19(0x20a)]();}),_0x3362a7=_0x2730a2[_0x19e5cc(0x1be)](this[_0x19e5cc(0x188)][_0x19e5cc(0x20d)],_0x1c9ba6),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1a8))['to'](_0x1c9ba6,_0x19e5cc(0x1a8)),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1a7))['to'](_0x1c9ba6),_0x3362a7[_0x19e5cc(0x1bd)](_0x19e5cc(0x1b4))['to'](_0x1c9ba6,_0x19e5cc(0x1b4),_0x225dcd=>_0x19e5cc(0x1f5)+_0x225dcd),this[_0x19e5cc(0x196)][_0x19e5cc(0x195)](_0x3060e8['id'],_0x3362a7));const _0x59b386=_0x52a29e[_0x19e5cc(0x1b3)](_0x3060e8[_0x19e5cc(0x1cd)],_0x1c9ba6),_0x2dc7fa=new _0x5bf07f(_0x1bea89,_0x3060e8,_0x1c9ba6,_0x59b386),_0x898db8=_0x3060e8[_0x19e5cc(0x1d6)]()[_0x19e5cc(0x200)](_0x51167a=>_0x51167a[_0x19e5cc(0x202)]);_0x1c9ba6[_0x19e5cc(0x20e)]=_0x1bea89[_0x19e5cc(0x18d)][_0x19e5cc(0x1ce)](_0x19e5cc(0x1e0))[_0x19e5cc(0x1e8)][_0x19e5cc(0x1e5)](_0x898db8),this[_0x19e5cc(0x1f9)][_0x19e5cc(0x195)](_0x3060e8,_0x2dc7fa),this[_0x19e5cc(0x1fb)][_0x19e5cc(0x195)](_0x1c9ba6,_0x2dc7fa);const _0x1faabb=_0x2730a2[_0x19e5cc(0x193)]({'view':_0x3362a7,'target':()=>{const _0x6727ba=_0x19e5cc,_0x15c73d=[],_0x3c5b77=_0x3060e8[_0x6727ba(0x1d6)]()[_0x6727ba(0x200)](_0x4a8d20=>_0x4a8d20[_0x6727ba(0x202)]);for(const _0x27f6f1 of _0x3c5b77)_0x15c73d[_0x6727ba(0x19f)](..._0x27f6f1[_0x6727ba(0x1a4)]());return _0x2ae866(_0x1bea89[_0x6727ba(0x199)],_0x15c73d);},'type':()=>_0x19e5cc(0x1f5)+_0x2dc7fa[_0x19e5cc(0x1eb)][_0x19e5cc(0x1b4)]});_0x52a29e[_0x19e5cc(0x207)](_0x1c9ba6,_0x1faabb),_0x2730a2[_0x19e5cc(0x1d8)](_0x1faabb),_0x3c6aeb[_0x19e5cc(0x1cf)](_0x1faabb);}[_0x165cc4(0x1d5)](_0x1607a2){const _0x4b53d2=_0x165cc4,_0x5bac2c=this[_0x4b53d2(0x188)][_0x4b53d2(0x18d)][_0x4b53d2(0x1ce)](_0x4b53d2(0x1b6)),_0x31953c=this[_0x4b53d2(0x188)][_0x4b53d2(0x18d)][_0x4b53d2(0x1ce)](_0x4b53d2(0x201)),_0x161ea0=this[_0x4b53d2(0x1f9)][_0x4b53d2(0x1ce)](_0x1607a2),_0x36bc8c=_0x161ea0[_0x4b53d2(0x1eb)],_0x2ca598=_0x31953c[_0x4b53d2(0x1f1)](_0x36bc8c);_0x5bac2c[_0x4b53d2(0x1a1)](_0x36bc8c),_0x2ca598&&_0x31953c[_0x4b53d2(0x1c1)](_0x2ca598),this[_0x4b53d2(0x1f9)][_0x4b53d2(0x18b)](_0x1607a2),this[_0x4b53d2(0x1fb)][_0x4b53d2(0x18b)](_0x36bc8c),_0x161ea0[_0x4b53d2(0x1d2)]();}[_0x165cc4(0x1ee)](_0x176088){const _0x781132=_0x165cc4;if(!_0x176088[_0x781132(0x202)]||!this[_0x781132(0x1f9)][_0x781132(0x1a9)](_0x176088))return;const _0x371c29=this[_0x781132(0x188)][_0x781132(0x18d)][_0x781132(0x1ce)](_0x781132(0x1e0)),_0x4e8572=this[_0x781132(0x1f9)][_0x781132(0x1ce)](_0x176088),_0x733f1=_0x176088[_0x781132(0x1d6)]();_0x4e8572[_0x781132(0x1eb)][_0x781132(0x20e)]=_0x371c29[_0x781132(0x1e8)][_0x781132(0x1e5)](_0x733f1);}[_0x165cc4(0x1d2)](){const _0x28f57b=_0x165cc4;for(const _0x394dd2 of this[_0x28f57b(0x1f9)][_0x28f57b(0x18c)]())this[_0x28f57b(0x1d5)](_0x394dd2);for(const _0x53fada of this[_0x28f57b(0x196)][_0x28f57b(0x1b7)]())_0x53fada[_0x28f57b(0x1aa)][_0x28f57b(0x1d2)]();super[_0x28f57b(0x1d2)]();}}function ae(_0x437429){const _0x1c105a=_0x165cc4;return _0x1c105a(0x1a3)in _0x437429;}
|
|
23
|
+
const _0x256642=_0x1d81;(function(_0x52ee38,_0x3fbc93){const _0x42e019=_0x1d81,_0x4c05d8=_0x52ee38();while(!![]){try{const _0x28fe88=-parseInt(_0x42e019(0x1df))/0x1+-parseInt(_0x42e019(0x1b5))/0x2+parseInt(_0x42e019(0x1da))/0x3*(-parseInt(_0x42e019(0x1b7))/0x4)+parseInt(_0x42e019(0x1a5))/0x5+parseInt(_0x42e019(0x1d6))/0x6+parseInt(_0x42e019(0x19c))/0x7*(-parseInt(_0x42e019(0x1b3))/0x8)+parseInt(_0x42e019(0x1b1))/0x9*(parseInt(_0x42e019(0x195))/0xa);if(_0x28fe88===_0x3fbc93)break;else _0x4c05d8['push'](_0x4c05d8['shift']());}catch(_0x432ab0){_0x4c05d8['push'](_0x4c05d8['shift']());}}}(_0x47d1,0x9fb3f));import{Plugin as _0x5c8d0d}from'ckeditor5/src/core.js';import{Collection as _0x5f0b5d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x32f440,createDropdown as _0x51617a,ListSeparatorView as _0x18e871,MenuBarMenuView as _0x53344b,MenuBarMenuListView as _0x5498cf,MenuBarMenuListItemView as _0xcc5be0,MenuBarMenuListItemButtonView as _0x18e189,SplitButtonView as _0x280d4c,ViewModel as _0x40d971}from'ckeditor5/src/ui.js';function _0x1d81(_0x3608f0,_0x1e90dc){const _0x47d1bc=_0x47d1();return _0x1d81=function(_0x1d81f5,_0x2c012e){_0x1d81f5=_0x1d81f5-0x153;let _0x34a243=_0x47d1bc[_0x1d81f5];return _0x34a243;},_0x1d81(_0x3608f0,_0x1e90dc);}import{Users as _0x2fe17a,getDateTimeFormatter as _0x2cc8f1,getAllMarkersDomElementsSorted as _0x2cc06a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fbf69 from'./trackchangesediting.js';function _0x47d1(){const _0x43eb76=['isInContent','actionView','Accept\x20all\x20selected\x20suggestions','isDirty','hasSuggestion','menuBar:trackChanges','plugins','5748471UCLoub','getMarkers','3856024DgzPAk','delegate','233512qMRnOf','_refreshActiveMarkers','446156FucvAb','editing','mainView','addSourceCollector','componentFactory','listenTo','Discard\x20all\x20suggestions','trackChanges.disableComments','head','suggestion-','remove','button','isMultiRange','activeAnnotations','length','push','has','suggestionUnloaded','add','isOn','some','activeMarkers','toMany','getDescriptions','pluginName','children','suggestionChanged','reduce','innerView','editor','value','2774052ryiIZu','Track\x20changes','from','descriptionParts','12nmILwm','panelView','focus','acceptSelectedSuggestions','locale','788467xEWUQy','keys','getJoined','size','model','comments','acceptButton','discardButton','getFirstRange','createAnnotationView','refreshSelectedViews','get','Annotations','delete','comments.maxThreadTotalWeight','_createToolbarButton','TrackChangesUI','getSuggestion','set','_unbindEditors','_updateController','TrackChangesEditing','execute','discardSelectedSuggestions','CommentView','_initializeController','registerAnnotation','buttonView','getAllAdjacentSuggestions','menuitemcheckbox','getRanges','Accept\x20all\x20suggestions','previous','_bindAnnotationToEditors','items','getMarkerNames','_annotationViews','menu','commands','createAnnotation','Discard\x20all\x20selected\x20suggestions','type','CommentsUI','bind','values','addComment','CommentsRepository','trackChanges.SuggestionThreadView','init','destroy','comments.maxCommentCharsWhenCollapsed','comments.editorConfig','define','_addUIComponentsToFactory','view','arrowView','suggestionLoaded','_createMenuBarMenu','stopListening','requires','_disableComments','change:activeAnnotations','source','_handleControllerBuffer','_viewToController','commentThread','_suggestionToController','filter','EditorAnnotations','change:previous','SuggestionThreadView','20rDlnhs','discardAllSuggestions','_destroyController','descriptionFactory','trackChanges','lowest','createCommentThreadController','7YUYtSc','isEnabled','switchbutton','getByInnerView','acceptAllSuggestions','comments.maxCommentsWhenCollapsed','config','commandName','menuitem','3738725akjBil','separator','unbind','_handleSuggestionControllerDelayed','clear'];_0x47d1=function(){return _0x43eb76;};return _0x47d1();}import _0x4a59e0 from'./ui/suggestioncontroller.js';import _0x19c99a from'./ui/view/suggestionthreadview.js';import{getTranslation as _0xb6ee60}from'./utils/common-translations.js';import _0x398a28 from'../theme/icons/track-changes.svg';export default class d extends _0x5c8d0d{static get[_0x256642(0x189)](){const _0x217ce3=_0x256642;return[_0x1fbf69,_0x2fe17a,_0x217ce3(0x17c),_0x217ce3(0x15a),_0x217ce3(0x192)];}static get[_0x256642(0x1cf)](){const _0x1f804a=_0x256642;return _0x1f804a(0x15e);}constructor(_0x152a70){const _0x50829e=_0x256642;super(_0x152a70),this[_0x50829e(0x190)]=new Map(),this[_0x50829e(0x18e)]=new Map(),this[_0x50829e(0x172)]=new Map(),this[_0x50829e(0x18d)]=new Map();const _0xf858ee=this[_0x50829e(0x1d4)][_0x50829e(0x1a2)];_0xf858ee[_0x50829e(0x182)](_0x50829e(0x17d),_0x19c99a),_0xf858ee[_0x50829e(0x182)](_0x50829e(0x1be),!0x1),this[_0x50829e(0x18a)]=_0xf858ee[_0x50829e(0x159)](_0x50829e(0x1be));}[_0x256642(0x1a8)](_0x18151b,_0x50e773){const _0x175344=_0x256642;0x0===this[_0x175344(0x18d)][_0x175344(0x1e2)]&&setTimeout(()=>{const _0x1ae456=_0x175344;for(const [_0x2e42e2,_0x15b87b]of this[_0x1ae456(0x18d)]){const _0x185ee7=this[_0x1ae456(0x190)][_0x1ae456(0x1c7)](_0x2e42e2);_0x185ee7||_0x15b87b?_0x185ee7&&_0x15b87b&&this[_0x1ae456(0x197)](_0x2e42e2):this[_0x1ae456(0x167)](_0x2e42e2);}this[_0x1ae456(0x18d)][_0x1ae456(0x1a9)](),this[_0x1ae456(0x1d4)][_0x1ae456(0x1b0)][_0x1ae456(0x159)](_0x1ae456(0x192))[_0x1ae456(0x158)](),this[_0x1ae456(0x1b6)]();},0xa),this[_0x175344(0x18d)][_0x175344(0x160)](_0x18151b,_0x50e773);}[_0x256642(0x17e)](){const _0x50fa13=_0x256642,_0x3c69bd=this[_0x50fa13(0x1d4)],_0x1786a4=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x163)),_0x1183ba=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x15a)),_0x4df0d5=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x192)),_0x4e54ec=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x17c));this[_0x50fa13(0x183)](),_0x4df0d5[_0x50fa13(0x1ba)](()=>{const _0x243b1f=_0x50fa13,_0xf1b578=[];for(const [_0x3e0c08,_0x2bc7e4]of Array[_0x243b1f(0x1d8)](this[_0x243b1f(0x190)])){const _0x151339=_0x3e0c08[_0x243b1f(0x16a)](),_0x5a1241=[];for(const _0x40408a of _0x151339){if(!_0x40408a[_0x243b1f(0x1aa)])continue;if(_0x40408a[_0x243b1f(0x1c3)]){_0x5a1241[_0x243b1f(0x1c6)](..._0x40408a[_0x243b1f(0x16c)]());continue;}const _0x25258=_0x40408a[_0x243b1f(0x156)]();if(_0x5a1241[_0x243b1f(0x1c5)]>0x0){const _0x19f516=_0x5a1241[0x0][_0x243b1f(0x1e1)](_0x25258);if(_0x19f516){_0x5a1241[0x0]=_0x19f516;continue;}}_0x5a1241[_0x243b1f(0x1c6)](_0x25258);}_0xf1b578[_0x243b1f(0x1c6)]([_0x2bc7e4[_0x243b1f(0x184)],_0x5a1241]);}return _0xf1b578;}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x186),(_0x20d689,_0x2dab32)=>{const _0x4e922f=_0x50fa13;this[_0x4e922f(0x1bc)](_0x2dab32,_0x4e922f(0x193),(_0x3cae49,_0x2cc5a5,_0x278af4,_0x577542)=>{const _0x20eb50=_0x4e922f;_0x2dab32[_0x20eb50(0x1aa)]&&(null==_0x278af4?(this[_0x20eb50(0x162)](_0x577542[_0x20eb50(0x1bf)]),this[_0x20eb50(0x1a8)](_0x2dab32,!0x1)):(this[_0x20eb50(0x162)](_0x278af4[_0x20eb50(0x1bf)]),null==_0x577542&&this[_0x20eb50(0x1a8)](_0x2dab32,!0x0)));}),null!==_0x2dab32[_0x4e922f(0x16e)]?this[_0x4e922f(0x162)](_0x2dab32[_0x4e922f(0x1bf)]):this[_0x4e922f(0x1a8)](_0x2dab32,!0x1);}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x1c8),(_0x249ef4,_0x482d13,_0x279ec4)=>{const _0x191283=_0x50fa13;this[_0x191283(0x188)](_0x482d13,_0x191283(0x193)),this[_0x191283(0x18d)][_0x191283(0x15b)](_0x482d13),this[_0x191283(0x190)][_0x191283(0x1c7)](_0x482d13)&&this[_0x191283(0x197)](_0x482d13),_0x279ec4&&this[_0x191283(0x162)](_0x279ec4[_0x191283(0x1bf)]);}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x1d1),(_0x4ce50e,_0x51165c)=>{const _0x1ba0cd=_0x50fa13;this[_0x1ba0cd(0x162)](_0x51165c);}),this[_0x50fa13(0x1bc)](_0x1183ba,_0x50fa13(0x18b),()=>{const _0x31af0d=_0x50fa13;this[_0x31af0d(0x1b6)]();}),this[_0x50fa13(0x1bc)](_0x4e54ec,_0x50fa13(0x17b),(_0x296574,{threadId:_0x38681c,isFromAdapter:_0x52b9a3})=>{const _0x27f447=_0x50fa13;if(_0x52b9a3||!_0x1786a4[_0x27f447(0x1ae)](_0x38681c))return;const _0x539d2f=_0x1786a4[_0x27f447(0x15f)](_0x38681c);this[_0x27f447(0x190)][_0x27f447(0x159)](_0x539d2f)[_0x27f447(0x184)][_0x27f447(0x1dc)]();},{'priority':_0x50fa13(0x19a)});}[_0x256642(0x1b6)](){const _0x21f762=_0x256642,_0x2e4fb6=this[_0x21f762(0x1d4)][_0x21f762(0x1b0)][_0x21f762(0x159)](_0x21f762(0x15a)),_0x1e0d27=this[_0x21f762(0x1d4)][_0x21f762(0x1b0)][_0x21f762(0x159)](_0x21f762(0x163)),_0x5eeef5=Array[_0x21f762(0x1d8)](_0x2e4fb6[_0x21f762(0x1c4)],_0x18dbe2=>_0x18dbe2[_0x21f762(0x1d3)])[_0x21f762(0x191)](_0x1443c6=>this[_0x21f762(0x18e)][_0x21f762(0x1c7)](_0x1443c6)),_0x9625d9=[];for(const _0x5e9e7d of _0x5eeef5){const _0x40ee7f=this[_0x21f762(0x18e)][_0x21f762(0x159)](_0x5e9e7d)[_0x21f762(0x1e3)][_0x21f762(0x16a)]();_0x9625d9[_0x21f762(0x1c6)](..._0x40ee7f[_0x21f762(0x1d2)]((_0x15890a,_0x2802f5)=>[..._0x15890a,..._0x2802f5[_0x21f762(0x171)]()],[]));}_0x1e0d27[_0x21f762(0x1cc)]=_0x9625d9;}[_0x256642(0x183)](){const _0x3b0f9a=_0x256642,_0x29ccb8=this[_0x3b0f9a(0x1d4)],_0x26d2eb=_0x29ccb8[_0x3b0f9a(0x1de)],_0x10d874=_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1d7)),_0x53750c=new _0x5f0b5d([{'type':_0x3b0f9a(0x19e),'model':new _0x40d971({'withText':!0x0,'label':_0x10d874,'commandName':_0x3b0f9a(0x199),'role':_0x3b0f9a(0x16b)})},{'type':_0x3b0f9a(0x1a6)},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x16d)),'commandName':_0x3b0f9a(0x1a0),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1ac)),'commandName':_0x3b0f9a(0x1dd),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1bd)),'commandName':_0x3b0f9a(0x196),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x176)),'commandName':_0x3b0f9a(0x165),'role':_0x3b0f9a(0x1a4)})}]);for(const _0x453d95 of _0x53750c)if(ae(_0x453d95)){const _0x3106b4=_0x29ccb8[_0x3b0f9a(0x174)][_0x3b0f9a(0x159)](_0x453d95[_0x3b0f9a(0x1e3)][_0x3b0f9a(0x1a3)]);_0x453d95[_0x3b0f9a(0x1e3)][_0x3b0f9a(0x179)](_0x3b0f9a(0x1ca),_0x3b0f9a(0x19d))['to'](_0x3106b4,_0x3b0f9a(0x1d5),_0x3b0f9a(0x19d));}_0x29ccb8['ui'][_0x3b0f9a(0x1bb)][_0x3b0f9a(0x1c9)](_0x3b0f9a(0x199),_0x1ae77c=>this[_0x3b0f9a(0x15d)](_0x1ae77c,_0x53750c,_0x10d874)),_0x29ccb8['ui'][_0x3b0f9a(0x1bb)][_0x3b0f9a(0x1c9)](_0x3b0f9a(0x1af),_0x2129ac=>this[_0x3b0f9a(0x187)](_0x2129ac,_0x53750c,_0x10d874));}[_0x256642(0x15d)](_0x1cfafd,_0x517a71,_0x57f57f){const _0x446970=_0x256642,_0x4279e0=_0x51617a(_0x1cfafd,_0x280d4c),_0x409ba0=this[_0x446970(0x1d4)][_0x446970(0x174)][_0x446970(0x159)](_0x446970(0x199));_0x4279e0[_0x446970(0x169)][_0x446970(0x160)]({'tooltip':_0x57f57f,'label':_0x57f57f,'icon':_0x398a28}),_0x4279e0[_0x446970(0x169)][_0x446970(0x179)](_0x446970(0x1ca))['to'](_0x409ba0,_0x446970(0x1d5)),_0x4279e0[_0x446970(0x169)]['on'](_0x446970(0x164),()=>{const _0x18848f=_0x446970;_0x409ba0[_0x18848f(0x164)](),this[_0x18848f(0x1d4)][_0x18848f(0x1b8)][_0x18848f(0x184)][_0x18848f(0x1dc)]();}),_0x32f440(_0x4279e0,_0x517a71,{'role':_0x446970(0x173)});const _0x3f96de=[];for(const _0xff6aa8 of _0x517a71)ae(_0xff6aa8)&&_0x3f96de[_0x446970(0x1c6)](this[_0x446970(0x1d4)][_0x446970(0x174)][_0x446970(0x159)](_0xff6aa8[_0x446970(0x1e3)][_0x446970(0x1a3)]));const _0x6f884d=_0x4279e0[_0x446970(0x169)];return _0x6f884d[_0x446970(0x1ab)][_0x446970(0x1a7)](_0x446970(0x19d)),_0x6f884d[_0x446970(0x185)][_0x446970(0x1a7)](_0x446970(0x19d)),_0x6f884d[_0x446970(0x1ab)][_0x446970(0x179)](_0x446970(0x19d))['to'](_0x409ba0,_0x446970(0x19d)),_0x6f884d[_0x446970(0x185)][_0x446970(0x179)](_0x446970(0x19d))[_0x446970(0x1cd)](_0x3f96de,_0x446970(0x19d),(..._0x25292e)=>_0x25292e[_0x446970(0x1cb)](_0x4c1bcd=>_0x4c1bcd)),_0x4279e0['on'](_0x446970(0x164),_0x23e138=>{const _0x163367=_0x446970;this[_0x163367(0x1d4)][_0x163367(0x164)](_0x23e138[_0x163367(0x18c)][_0x163367(0x1a3)]),this[_0x163367(0x1d4)][_0x163367(0x1b8)][_0x163367(0x184)][_0x163367(0x1dc)]();}),_0x4279e0;}[_0x256642(0x187)](_0xf9e02a,_0x329550,_0x17a663){const _0x33cde6=_0x256642,_0xffd4e2=new _0x53344b(_0xf9e02a),_0x32f8d6=this[_0x33cde6(0x1d4)][_0x33cde6(0x174)][_0x33cde6(0x159)](_0x33cde6(0x199));_0xffd4e2[_0x33cde6(0x169)][_0x33cde6(0x160)]({'label':_0x17a663,'icon':_0x398a28});const _0x1cd263=new _0x5498cf(_0xf9e02a);for(const _0x2e8647 of _0x329550){if(_0x33cde6(0x1a6)==_0x2e8647[_0x33cde6(0x177)]){_0x1cd263[_0x33cde6(0x170)][_0x33cde6(0x1c9)](new _0x18e871(_0xf9e02a));continue;}const _0x3ae5d1=new _0xcc5be0(_0xf9e02a,_0xffd4e2),_0x48c949=new _0x18e189(_0xf9e02a),_0x29f995=_0x2e8647[_0x33cde6(0x1e3)];_0x48c949[_0x33cde6(0x179)](...Object[_0x33cde6(0x1e0)](_0x29f995))['to'](_0x29f995),_0x48c949[_0x33cde6(0x1b4)](_0x33cde6(0x164))['to'](_0xffd4e2),_0x48c949['on'](_0x33cde6(0x164),()=>{const _0x30d7bf=_0x33cde6;this[_0x30d7bf(0x1d4)][_0x30d7bf(0x164)](_0x29f995[_0x30d7bf(0x1a3)]),this[_0x30d7bf(0x1d4)][_0x30d7bf(0x1b8)][_0x30d7bf(0x184)][_0x30d7bf(0x1dc)]();}),_0x3ae5d1[_0x33cde6(0x1d0)][_0x33cde6(0x1c9)](_0x48c949),_0x1cd263[_0x33cde6(0x170)][_0x33cde6(0x1c9)](_0x3ae5d1);}return _0xffd4e2[_0x33cde6(0x179)](_0x33cde6(0x19d))['to'](_0x32f8d6,_0x33cde6(0x19d)),_0xffd4e2[_0x33cde6(0x1db)][_0x33cde6(0x1d0)][_0x33cde6(0x1c9)](_0x1cd263),_0xffd4e2;}[_0x256642(0x167)](_0x16bfc4){const _0x462232=_0x256642,_0x25cb4a=this[_0x462232(0x1d4)],_0xde6084=_0x25cb4a[_0x462232(0x1a2)],_0xe1d07e=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x15a)),_0xaa7e54=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x17c)),_0x4b05fa=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x192)),_0x2548bf=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x2fe17a)['me'],_0x7ec770=_0xde6084[_0x462232(0x159)](_0x462232(0x199))[_0x462232(0x194)],{CommentsListView:_0x5102c9,CommentThreadInputView:_0x34eac2}=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x178));let _0x3be21f,_0x1b259e;this[_0x462232(0x172)][_0x462232(0x1c7)](_0x16bfc4['id'])?(_0x1b259e=this[_0x462232(0x172)][_0x462232(0x159)](_0x16bfc4['id']),_0x3be21f=_0x1b259e[_0x462232(0x1b9)]):(_0x3be21f=new _0x7ec770(_0x25cb4a[_0x462232(0x1de)],_0x16bfc4,_0x2548bf,{'disableComments':this[_0x462232(0x18a)],'editorConfig':_0xde6084[_0x462232(0x159)](_0x462232(0x181)),'maxCommentsWhenCollapsed':_0xde6084[_0x462232(0x159)](_0x462232(0x1a1)),'maxThreadTotalWeight':_0xde6084[_0x462232(0x159)](_0x462232(0x15c)),'maxCommentCharsWhenCollapsed':_0xde6084[_0x462232(0x159)](_0x462232(0x180)),'formatDateTime':_0x2cc8f1(_0xde6084[_0x462232(0x159)](_0x462232(0x1de))),'CommentView':_0xde6084[_0x462232(0x159)](_0x462232(0x153))[_0x462232(0x166)],'CommentsListView':_0x5102c9,'CommentThreadInputView':_0x34eac2}),_0x3be21f[_0x462232(0x154)]['on'](_0x462232(0x164),()=>{const _0x5c26c5=_0x462232;_0x25cb4a[_0x5c26c5(0x1b8)][_0x5c26c5(0x184)][_0x5c26c5(0x1dc)]();}),_0x3be21f[_0x462232(0x155)]['on'](_0x462232(0x164),()=>{const _0x3e5c5e=_0x462232;_0x25cb4a[_0x3e5c5e(0x1b8)][_0x3e5c5e(0x184)][_0x3e5c5e(0x1dc)]();}),_0x1b259e=_0xe1d07e[_0x462232(0x157)](this[_0x462232(0x1d4)][_0x462232(0x1de)],_0x3be21f),_0x1b259e[_0x462232(0x179)](_0x462232(0x1ad))['to'](_0x3be21f,_0x462232(0x1ad)),_0x1b259e[_0x462232(0x179)](_0x462232(0x1c5))['to'](_0x3be21f),_0x1b259e[_0x462232(0x179)](_0x462232(0x177))['to'](_0x3be21f,_0x462232(0x177),_0x57c65a=>_0x462232(0x1c0)+_0x57c65a),this[_0x462232(0x172)][_0x462232(0x160)](_0x16bfc4['id'],_0x1b259e));const _0x5ce6c0=_0xaa7e54[_0x462232(0x19b)](_0x16bfc4[_0x462232(0x18f)],_0x3be21f),_0x48405d=new _0x4a59e0(_0x25cb4a,_0x16bfc4,_0x3be21f,_0x5ce6c0),_0x224f63=_0x16bfc4[_0x462232(0x16a)]()[_0x462232(0x191)](_0xc21658=>_0xc21658[_0x462232(0x1aa)]);_0x3be21f[_0x462232(0x1d9)]=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x163))[_0x462232(0x198)][_0x462232(0x1ce)](_0x224f63),this[_0x462232(0x190)][_0x462232(0x160)](_0x16bfc4,_0x48405d),this[_0x462232(0x18e)][_0x462232(0x160)](_0x3be21f,_0x48405d);const _0x41b1d6=_0xe1d07e[_0x462232(0x175)]({'view':_0x1b259e,'target':()=>{const _0x4cc184=_0x462232,_0x366844=[],_0x1c1eca=_0x16bfc4[_0x4cc184(0x16a)]()[_0x4cc184(0x191)](_0x1551aa=>_0x1551aa[_0x4cc184(0x1aa)]);for(const _0x16d64f of _0x1c1eca)_0x366844[_0x4cc184(0x1c6)](..._0x16d64f[_0x4cc184(0x1b2)]());return _0x2cc06a(_0x25cb4a[_0x4cc184(0x1b8)],_0x366844);},'type':()=>_0x462232(0x1c0)+_0x48405d[_0x462232(0x184)][_0x462232(0x177)]});_0xaa7e54[_0x462232(0x16f)](_0x3be21f,_0x41b1d6),_0xe1d07e[_0x462232(0x1c9)](_0x41b1d6),_0x4b05fa[_0x462232(0x168)](_0x41b1d6);}[_0x256642(0x197)](_0x48669b){const _0x2102a1=_0x256642,_0x6a4d55=this[_0x2102a1(0x1d4)][_0x2102a1(0x1b0)][_0x2102a1(0x159)](_0x2102a1(0x17c)),_0x42ff5c=this[_0x2102a1(0x1d4)][_0x2102a1(0x1b0)][_0x2102a1(0x159)](_0x2102a1(0x15a)),_0xe8b539=this[_0x2102a1(0x190)][_0x2102a1(0x159)](_0x48669b),_0x58be7d=_0xe8b539[_0x2102a1(0x184)],_0x16b72d=_0x42ff5c[_0x2102a1(0x19f)](_0x58be7d);_0x6a4d55[_0x2102a1(0x161)](_0x58be7d),_0x16b72d&&_0x42ff5c[_0x2102a1(0x1c1)](_0x16b72d),this[_0x2102a1(0x190)][_0x2102a1(0x15b)](_0x48669b),this[_0x2102a1(0x18e)][_0x2102a1(0x15b)](_0x58be7d),_0xe8b539[_0x2102a1(0x17f)]();}[_0x256642(0x162)](_0x39d353){const _0x35b97b=_0x256642;if(!_0x39d353[_0x35b97b(0x1aa)]||!this[_0x35b97b(0x190)][_0x35b97b(0x1c7)](_0x39d353))return;const _0x4db55c=this[_0x35b97b(0x1d4)][_0x35b97b(0x1b0)][_0x35b97b(0x159)](_0x35b97b(0x163)),_0x4470b6=this[_0x35b97b(0x190)][_0x35b97b(0x159)](_0x39d353),_0x4f30c1=_0x39d353[_0x35b97b(0x16a)]();_0x4470b6[_0x35b97b(0x184)][_0x35b97b(0x1d9)]=_0x4db55c[_0x35b97b(0x198)][_0x35b97b(0x1ce)](_0x4f30c1);}[_0x256642(0x17f)](){const _0x5766d2=_0x256642;for(const _0x45632e of this[_0x5766d2(0x190)][_0x5766d2(0x1e0)]())this[_0x5766d2(0x197)](_0x45632e);for(const _0x21b9b2 of this[_0x5766d2(0x172)][_0x5766d2(0x17a)]())_0x21b9b2[_0x5766d2(0x1b9)][_0x5766d2(0x17f)]();super[_0x5766d2(0x17f)]();}}function ae(_0x2edc66){const _0x57f787=_0x256642;return _0x57f787(0x1e3)in _0x2edc66;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x55464d=_0x549b;(function(_0x5e876e,_0x5d198b){const _0x404d20=_0x549b,_0x40ab14=_0x5e876e();while(!![]){try{const _0x1a7cf3=-parseInt(_0x404d20(0xec))/0x1*(parseInt(_0x404d20(0xff))/0x2)+-parseInt(_0x404d20(0xd5))/0x3+-parseInt(_0x404d20(0xf4))/0x4*(parseInt(_0x404d20(0xe2))/0x5)+-parseInt(_0x404d20(0xf6))/0x6+-parseInt(_0x404d20(0xf2))/0x7*(parseInt(_0x404d20(0xdc))/0x8)+parseInt(_0x404d20(0xe0))/0x9*(parseInt(_0x404d20(0xef))/0xa)+parseInt(_0x404d20(0xeb))/0xb;if(_0x1a7cf3===_0x5d198b)break;else _0x40ab14['push'](_0x40ab14['shift']());}catch(_0x41f8fc){_0x40ab14['push'](_0x40ab14['shift']());}}}(_0x4919,0xeae75));import{ObservableMixin as _0x1d432e}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a54bf}from'../utils/common-translations.js';function _0x4919(){const _0x3226ef=['unbind','6402230XMgKFc','_editor','locale','isDirty','stopListening','listenTo','change:isDirty','_acceptCommand','_setPendingAction','40364005lhMHGM','86993HJwaCw','canEditAt','PendingActions','648110RZhqsJ','_discardCommand','canDiscard','2147803lkOrhX','get','4PwEGyy','commands','3161880HUPEIe','discardSuggestion','add','execute','isEnabled','destroy','_removePendingAction','acceptSuggestion','commentThreadController','16MANfwg','2024469kkEEfS','PENDING_ACTION_SUGGESTION','_pendingAction','model','plugins','getRanges','bind','8dYUwJv','remove','view','canAccept','108XvSIfs'];_0x4919=function(){return _0x3226ef;};return _0x4919();}function _0x549b(_0x9f1069,_0x36bac2){const _0x49195b=_0x4919();return _0x549b=function(_0x549b84,_0x478b0d){_0x549b84=_0x549b84-0xd5;let _0x290722=_0x49195b[_0x549b84];return _0x290722;},_0x549b(_0x9f1069,_0x36bac2);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d432e(){constructor(_0x3ad390,_0x41ab5e,_0x268641,_0x96fe8c){const _0x43c7b8=_0x549b;super(),this[_0x43c7b8(0xd8)]=_0x41ab5e,this[_0x43c7b8(0xde)]=_0x268641,this[_0x43c7b8(0xfe)]=_0x96fe8c,this[_0x43c7b8(0xe3)]=_0x3ad390,this[_0x43c7b8(0xe9)]=_0x3ad390[_0x43c7b8(0xf5)][_0x43c7b8(0xf3)](_0x43c7b8(0xfd)),this[_0x43c7b8(0xf0)]=_0x3ad390[_0x43c7b8(0xf5)][_0x43c7b8(0xf3)](_0x43c7b8(0xf7)),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xfa))['to'](this[_0x43c7b8(0xe9)],this[_0x43c7b8(0xf0)],(_0x4db081,_0x421e26)=>_0x4db081||_0x421e26),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xdf))['to'](this[_0x43c7b8(0xe9)],_0x43c7b8(0xfa),_0x5a670b=>_0x5a670b&&this[_0x43c7b8(0xe3)][_0x43c7b8(0xd8)][_0x43c7b8(0xed)](_0x41ab5e[_0x43c7b8(0xda)]())),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xf1))['to'](this[_0x43c7b8(0xf0)],_0x43c7b8(0xfa),_0x54e40c=>_0x54e40c&&this[_0x43c7b8(0xe3)][_0x43c7b8(0xd8)][_0x43c7b8(0xed)](_0x41ab5e[_0x43c7b8(0xda)]())),this[_0x43c7b8(0xd7)]=null,_0x268641[_0x43c7b8(0xe5)]&&this[_0x43c7b8(0xea)](),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xfd),()=>this[_0x43c7b8(0xfd)]()),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xf7),()=>this[_0x43c7b8(0xf7)]()),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xe8),()=>{const _0x15e9fa=_0x43c7b8;_0x268641[_0x15e9fa(0xe5)]?this[_0x15e9fa(0xea)]():this[_0x15e9fa(0xfc)]();});}[_0x55464d(0xfd)](){const _0x13f02a=_0x55464d;this[_0x13f02a(0xe9)][_0x13f02a(0xf9)](this[_0x13f02a(0xd8)]['id']);}[_0x55464d(0xf7)](){const _0x2cbd08=_0x55464d;this[_0x2cbd08(0xf0)][_0x2cbd08(0xf9)](this[_0x2cbd08(0xd8)]['id']);}[_0x55464d(0xfb)](){const _0x5c69b6=_0x55464d;this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xfa)),this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xdf)),this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xf1)),this[_0x5c69b6(0xe6)](),this[_0x5c69b6(0xfe)][_0x5c69b6(0xfb)](),this[_0x5c69b6(0xd7)]&&this[_0x5c69b6(0xfc)]();}[_0x55464d(0xea)](){const _0x37d122=_0x55464d,_0x46ea39=_0x3a54bf(this[_0x37d122(0xe3)][_0x37d122(0xe4)],_0x37d122(0xd6));this[_0x37d122(0xd7)]=this[_0x37d122(0xe3)][_0x37d122(0xd9)][_0x37d122(0xf3)](_0x37d122(0xee))[_0x37d122(0xf8)](_0x46ea39);}[_0x55464d(0xfc)](){const _0x4c5240=_0x55464d;null!==this[_0x4c5240(0xd7)]&&this[_0x4c5240(0xe3)][_0x4c5240(0xd9)][_0x4c5240(0xf3)](_0x4c5240(0xee))[_0x4c5240(0xdd)](this[_0x4c5240(0xd7)]),this[_0x4c5240(0xd7)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1859(_0xe45c9d,_0x3d42f3){const _0x1e937f=_0x1e93();return _0x1859=function(_0x1859f1,_0x3f73da){_0x1859f1=_0x1859f1-0x1a3;let _0x496c84=_0x1e937f[_0x1859f1];return _0x496c84;},_0x1859(_0xe45c9d,_0x3d42f3);}function _0x1e93(){const _0x3ecb1a=['146792hxftXD','_createCommentViews','canDiscard','232992AAuZnD','commentThreadInputView','addComment','185XfNUzj','length','isReadOnly','isEnabled','element','isDirty','setData','removeComment','isActive','17896879JkrOle','value','890ThDDGc','disabledSubmit','authoredAt','focus','descriptionParts','assign','hasDirtyComment','_createCommentThreadInputView','cancel','submit','commentThread','disableComments','editor','editorConfig','100tKcACy','329YAwFwv','updateComment','291987GPmULL','4299RtSkLz','locale','commentsListView','1563279HEskuB','bind','showInput','CommentView','canAccept','146652dXYUGu','destroy','_localUser','set','_config','_model','commentInputView','delegate','fire'];_0x1e93=function(){return _0x3ecb1a;};return _0x1e93();}const _0x24a91a=_0x1859;(function(_0xb54f8e,_0x2672b8){const _0x55a6cd=_0x1859,_0x530152=_0xb54f8e();while(!![]){try{const _0x2d9c45=parseInt(_0x55a6cd(0x1c0))/0x1+-parseInt(_0x55a6cd(0x1ab))/0x2*(-parseInt(_0x55a6cd(0x1bd))/0x3)+parseInt(_0x55a6cd(0x1d1))/0x4+-parseInt(_0x55a6cd(0x1d4))/0x5*(-parseInt(_0x55a6cd(0x1c5))/0x6)+-parseInt(_0x55a6cd(0x1ba))/0x7*(parseInt(_0x55a6cd(0x1ce))/0x8)+-parseInt(_0x55a6cd(0x1bc))/0x9*(-parseInt(_0x55a6cd(0x1b9))/0xa)+-parseInt(_0x55a6cd(0x1a9))/0xb;if(_0x2d9c45===_0x2672b8)break;else _0x530152['push'](_0x530152['shift']());}catch(_0x37e5e0){_0x530152['push'](_0x530152['shift']());}}}(_0x1e93,0xf3ccc));import{View as _0x53f081}from'ckeditor5/src/ui.js';export default class es extends _0x53f081{constructor(_0x18a99c,_0x19a15f,_0xcf5ccc,_0x49f5b1){const _0x3faaab=_0x1859;super(_0x18a99c),this[_0x3faaab(0x1bf)]=null,this[_0x3faaab(0x1d2)]=null,this[_0x3faaab(0x1c8)](_0x3faaab(0x1a8),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1ad),_0x19a15f[_0x3faaab(0x1ad)]),this[_0x3faaab(0x1c1)](_0x3faaab(0x1ad))['to'](_0x19a15f),this[_0x3faaab(0x1c8)](_0x3faaab(0x1af),[]),this[_0x3faaab(0x1c8)](_0x3faaab(0x1a5),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1a3),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1c4),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1d0),!0x1),this[_0x3faaab(0x1ca)]=_0x19a15f,this[_0x3faaab(0x1c7)]=_0xcf5ccc,this[_0x3faaab(0x1c9)]=_0x49f5b1,_0x49f5b1[_0x3faaab(0x1b6)]?this[_0x3faaab(0x1c8)](_0x3faaab(0x1d5),0x1):this[_0x3faaab(0x1cf)]();}[_0x24a91a(0x1ae)](){const _0x370896=_0x24a91a;this[_0x370896(0x1a4)][_0x370896(0x1ae)]();}[_0x24a91a(0x1c6)](){const _0x3cc4bf=_0x24a91a;this[_0x3cc4bf(0x1bf)]&&this[_0x3cc4bf(0x1bf)][_0x3cc4bf(0x1c6)](),this[_0x3cc4bf(0x1d2)]&&this[_0x3cc4bf(0x1d2)][_0x3cc4bf(0x1c6)](),super[_0x3cc4bf(0x1c6)]();}[_0x24a91a(0x1cf)](){const _0x5c33d3=_0x24a91a,{CommentsListView:_0x46037f}=this[_0x5c33d3(0x1c9)];this[_0x5c33d3(0x1bf)]=new _0x46037f(this[_0x5c33d3(0x1be)],this[_0x5c33d3(0x1ca)][_0x5c33d3(0x1b5)],Object[_0x5c33d3(0x1b0)]({'CommentView':this[_0x5c33d3(0x1c9)][_0x5c33d3(0x1c3)]},this[_0x5c33d3(0x1c9)])),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1cc)](_0x5c33d3(0x1a7))['to'](this),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1cc)](_0x5c33d3(0x1bb))['to'](this),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1c1)](_0x5c33d3(0x1a8))['to'](this),this[_0x5c33d3(0x1c8)](_0x5c33d3(0x1d5),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1d5)]+0x1),this[_0x5c33d3(0x1c1)](_0x5c33d3(0x1d5))['to'](this[_0x5c33d3(0x1bf)],_0x5c33d3(0x1d5),_0x5c8e2a=>_0x5c8e2a+0x1),this[_0x5c33d3(0x1d2)]=this[_0x5c33d3(0x1b2)](),this['on'](_0x5c33d3(0x1a7),()=>this[_0x5c33d3(0x1ae)]()),this[_0x5c33d3(0x1c1)](_0x5c33d3(0x1a5))['to'](this[_0x5c33d3(0x1bf)],_0x5c33d3(0x1b1),this[_0x5c33d3(0x1d2)][_0x5c33d3(0x1cb)],_0x5c33d3(0x1aa),(_0x11af14,_0x5bdcc2)=>_0x11af14||!!_0x5bdcc2);}[_0x24a91a(0x1b2)](){const _0x785493=_0x24a91a,{CommentThreadInputView:_0x3f7b94}=this[_0x785493(0x1c9)],_0xf3367e=new _0x3f7b94(this[_0x785493(0x1be)],this[_0x785493(0x1c7)],this[_0x785493(0x1c9)][_0x785493(0x1b8)]),_0x5457c0=_0xf3367e[_0x785493(0x1cb)];return _0xf3367e[_0x785493(0x1c1)](_0x785493(0x1c2))['to'](this,_0x785493(0x1a8),this[_0x785493(0x1ca)][_0x785493(0x1b5)],_0x785493(0x1d6),_0x5457c0,_0x785493(0x1aa),(_0x2d84a9,_0x4c8fda,_0x42a59d)=>!!_0x42a59d||_0x2d84a9&&!_0x4c8fda),_0x5457c0['on'](_0x785493(0x1b4),(_0x47a1c3,_0x729de)=>{const _0x26e738=_0x785493;this[_0x26e738(0x1cd)](_0x26e738(0x1d3),_0x729de),_0x5457c0[_0x26e738(0x1b7)][_0x26e738(0x1a6)]('');}),_0x5457c0['on'](_0x785493(0x1b3),()=>this[_0x785493(0x1ae)]()),_0x5457c0[_0x785493(0x1c1)](_0x785493(0x1ac))['to'](this[_0x785493(0x1ca)][_0x785493(0x1b5)],_0x785493(0x1d6)),_0xf3367e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444079=_0x2ec7;function _0xe0db(){const _0x1ce59c=['source','ck-suggestion__main','4650UjuKbX','385VrpiJG','ck-suggestion-','canDiscard','editorDestroyed','</span>','ck-comment__info-time','ck-suggestion__info-name','ck-suggestion__user','getUserViewNotificationText','ck-annotation__main','Accept\x20suggestion','querySelector','ck-annotation__user','1095572asjxEJ','div','acceptSuggestion','ck-suggestion--accept','element','locale','.ck-annotation__content-wrapper','join','content','authoredAt','_model','innerHTML','fire','EXTERNAL_AVATAR','<p>','ck-annotation__info-time','execute','discardSuggestion','commentThread','change:description','innerText','1hzpIhR','550642aItBFz','bind','@external','attributes','disableComments','canAccept','acceptButton','type','importWord','1303263szyzDw','formatDateTime','ck-suggestion__info','description','extendTemplate','author','name','\x22\x20title=\x22','EXTERNAL_SUGGESTION','ck-annotation__info','isEnabled','531344HpczjI','1197765jQjvMR','ck-annotation__content-wrapper','commentThreadInputView','creator','delegate','cancel','getTemplate','ck-suggestion-wrapper--active','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','ck-comment__external','\x22></span>','span','render','title','check','ck-suggestion','discardButton','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_SUGGESTION','value','_config','map','isExternal','<span\x20class=\x22ck-suggestion-type\x22>','set','ck-suggestion-wrapper','Discard\x20suggestion','children','ck-suggestion--disabled-comments','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__actions','_descriptionElement','ck-suggestion__actions','push','ck-suggestion--discard','editorReady','</p>','bindTemplate','commentsListView','_createButton','ck-annotation','397584nJGczz','isActive','descriptionParts','time','color','split','userView','ck-annotation__info-name'];_0xe0db=function(){return _0x1ce59c;};return _0xe0db();}(function(_0x3ba2bf,_0x24b8d0){const _0x1853df=_0x2ec7,_0x2e3ead=_0x3ba2bf();while(!![]){try{const _0x1fcb13=-parseInt(_0x1853df(0xf5))/0x1*(-parseInt(_0x1853df(0xf6))/0x2)+parseInt(_0x1853df(0xc8))/0x3+-parseInt(_0x1853df(0xe0))/0x4+-parseInt(_0x1853df(0x10b))/0x5+-parseInt(_0x1853df(0xd2))/0x6*(-parseInt(_0x1853df(0xd3))/0x7)+parseInt(_0x1853df(0x10a))/0x8+parseInt(_0x1853df(0xff))/0x9;if(_0x1fcb13===_0x24b8d0)break;else _0x2e3ead['push'](_0x2e3ead['shift']());}catch(_0xf7f8fd){_0x2e3ead['push'](_0x2e3ead['shift']());}}}(_0xe0db,0x2431d));import{getTranslation as _0x31929a}from'../../utils/common-translations.js';import{default as _0x61902}from'./basesuggestionthreadview.js';function _0x2ec7(_0x2d5cc1,_0x495f4f){const _0xe0db7c=_0xe0db();return _0x2ec7=function(_0x2ec7c5,_0x1ba6f7){_0x2ec7c5=_0x2ec7c5-0xc4;let _0x51795f=_0xe0db7c[_0x2ec7c5];return _0x51795f;},_0x2ec7(_0x2d5cc1,_0x495f4f);}import{ButtonView as _0x8514c7}from'ckeditor5/src/ui.js';import{icons as _0x514d34}from'ckeditor5/src/core.js';import{trimHtml as _0x1e44ca,UserView as _0x277be6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x61902{constructor(_0x23ec98,_0x515bd5,_0x40fee2,_0x4314fc){const _0x57cb82=_0x2ec7;super(_0x23ec98,_0x515bd5,_0x40fee2,_0x4314fc),this[_0x57cb82(0x124)](_0x57cb82(0xfd),''),this[_0x57cb82(0xf7)](_0x57cb82(0xfd))['to'](this,_0x57cb82(0xca),_0x20e29b=>_0x20e29b&&_0x20e29b[0x0]?_0x20e29b[0x0][_0x57cb82(0xfd)]:''),this[_0x57cb82(0xf7)](_0x57cb82(0x102))['to'](this,_0x57cb82(0xca),this,_0x57cb82(0xc9),(_0x1b90df,_0x38f8bc)=>{const _0xf10cdf=_0x57cb82;let _0x5e3a8d='';for(const _0x4f40ab of _0x1b90df)_0x5e3a8d+=_0xf10cdf(0xee)+ds(_0x4f40ab[_0xf10cdf(0xe8)],_0x4f40ab[_0xf10cdf(0xcc)])+_0xf10cdf(0x131);return _0x38f8bc?_0x5e3a8d:_0x1e44ca(_0x5e3a8d,{'limit':0x8c});}),this[_0x57cb82(0x12c)]=null,this[_0x57cb82(0xfc)]=this[_0x57cb82(0xc6)](_0x31929a(_0x23ec98,_0x57cb82(0xdd)),_0x514d34[_0x57cb82(0x11a)],_0x57cb82(0xe3),_0x57cb82(0xe2),'sw'),this[_0x57cb82(0xfc)][_0x57cb82(0xf7)](_0x57cb82(0x109))['to'](this,_0x57cb82(0xfb)),this[_0x57cb82(0x11c)]=this[_0x57cb82(0xc6)](_0x31929a(_0x23ec98,_0x57cb82(0x126)),_0x514d34[_0x57cb82(0x110)],_0x57cb82(0x12f),_0x57cb82(0xf1),'sw'),this[_0x57cb82(0x11c)][_0x57cb82(0xf7)](_0x57cb82(0x109))['to'](this,_0x57cb82(0xd5)),this[_0x57cb82(0xce)]=new _0x277be6(_0x23ec98,this[_0x57cb82(0xea)][_0x57cb82(0x104)],this[_0x57cb82(0xdb)]()),this[_0x57cb82(0xce)][_0x57cb82(0x103)]({'attributes':{'class':[_0x57cb82(0xda),_0x57cb82(0xdf)]}}),this[_0x57cb82(0x129)](this[_0x57cb82(0x111)]());}[_0x444079(0x111)](){const _0x62b8a4=_0x444079,_0x4daf40=this[_0x62b8a4(0xc4)],_0x38d5c5=[{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x101),_0x62b8a4(0x108)]},'children':[{'tag':_0x62b8a4(0x117),'children':[{'text':this[_0x62b8a4(0xce)][_0x62b8a4(0x105)]}],'attributes':{'class':[_0x62b8a4(0xd9),_0x62b8a4(0xcf)]}},{'tag':_0x62b8a4(0xcb),'attributes':{'datetime':_0x4daf40['to'](_0x62b8a4(0xe9)),'class':[_0x62b8a4(0xd8),_0x62b8a4(0xef)]},'children':[{'text':_0x4daf40['to'](_0x62b8a4(0xe9),_0x4ad470=>this[_0x62b8a4(0x120)][_0x62b8a4(0x100)](_0x4ad470))}]}]},{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x12d),_0x62b8a4(0x12b)]},'children':[this[_0x62b8a4(0xfc)],this[_0x62b8a4(0x11c)]]},{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x10c)]}}];this[_0x62b8a4(0xea)][_0x62b8a4(0x122)]&&_0x38d5c5[_0x62b8a4(0x12e)]({'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x115)]},'children':[{'text':this[_0x62b8a4(0x11d)]()}]});const _0x831462={'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x125),_0x4daf40['if'](_0x62b8a4(0xc9),_0x62b8a4(0x112)),_0x4daf40['to'](_0x62b8a4(0xfd),_0x4cc250=>_0x62b8a4(0xd4)+_0x4cc250),this[_0x62b8a4(0x120)][_0x62b8a4(0xfa)]&&_0x62b8a4(0x128)],'data-suggestion-id':this[_0x62b8a4(0xea)]['id'],'data-thread-id':this[_0x62b8a4(0xea)][_0x62b8a4(0xf2)]['id'],'data-author-id':this[_0x62b8a4(0xea)][_0x62b8a4(0x104)]['id'],'tabindex':-0x1},'children':[{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x11b),_0x62b8a4(0xc7)]},'children':[this[_0x62b8a4(0xce)],{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0xd1),_0x62b8a4(0xdc)]},'children':_0x38d5c5}]}]};return this[_0x62b8a4(0xc5)]&&this[_0x62b8a4(0x10d)]&&(_0x831462[_0x62b8a4(0x127)][_0x62b8a4(0x12e)](this[_0x62b8a4(0xc5)],this[_0x62b8a4(0x10d)]),this[_0x62b8a4(0xc5)][_0x62b8a4(0x10f)](_0x62b8a4(0x130))['to'](this),this[_0x62b8a4(0xc5)][_0x62b8a4(0x10f)](_0x62b8a4(0xd6))['to'](this),this[_0x62b8a4(0x10d)][_0x62b8a4(0x10f)](_0x62b8a4(0x130))['to'](this),this[_0x62b8a4(0x10d)][_0x62b8a4(0x10f)](_0x62b8a4(0xd6))['to'](this)),_0x831462;}[_0x444079(0x118)](){const _0x4629c5=_0x444079;super[_0x4629c5(0x118)](),this[_0x4629c5(0x12c)]=this[_0x4629c5(0xe4)][_0x4629c5(0xde)](_0x4629c5(0xe6)),this[_0x4629c5(0x12c)][_0x4629c5(0xeb)]=this[_0x4629c5(0x102)],this['on'](_0x4629c5(0xf3),(_0x83b80c,_0x4038b9,_0x517f5d)=>{const _0x2bb113=_0x4629c5;this[_0x2bb113(0x12c)][_0x2bb113(0xeb)]=_0x517f5d;});}[_0x444079(0xc6)](_0x33fdfe,_0x542fb6,_0x2a8216,_0x23bcdd,_0x536767){const _0x11d9e4=_0x444079,_0x1aba09=new _0x8514c7(this[_0x11d9e4(0xe5)]);return _0x1aba09[_0x11d9e4(0x124)]({'label':_0x33fdfe,'icon':_0x542fb6,'tooltip':!0x0,'tooltipPosition':_0x536767}),_0x1aba09[_0x11d9e4(0x103)]({'attributes':{'class':_0x2a8216}}),_0x1aba09['on'](_0x11d9e4(0xf0),()=>{const _0x469f71=_0x11d9e4;this[_0x469f71(0xec)](_0x23bcdd,this[_0x469f71(0xea)]['id']);}),_0x1aba09;}[_0x444079(0x11d)](){const _0x452bb2=_0x444079;return _0x452bb2(0xfe)===this[_0x452bb2(0xea)][_0x452bb2(0xf9)][_0x452bb2(0xf8)][_0x452bb2(0xd0)]?_0x31929a(this[_0x452bb2(0xe5)],_0x452bb2(0x11e)):_0x31929a(this[_0x452bb2(0xe5)],_0x452bb2(0x107));}[_0x444079(0xdb)](){const _0x12fd4b=_0x444079;return this[_0x12fd4b(0xea)][_0x12fd4b(0x122)]?_0x12fd4b(0xfe)===this[_0x12fd4b(0xea)][_0x12fd4b(0xf9)][_0x12fd4b(0xf8)][_0x12fd4b(0xd0)]?_0x31929a(this[_0x12fd4b(0xe5)],_0x12fd4b(0x12a),this[_0x12fd4b(0xea)][_0x12fd4b(0x10e)][_0x12fd4b(0x105)]):_0x31929a(this[_0x12fd4b(0xe5)],_0x12fd4b(0xed),this[_0x12fd4b(0xea)][_0x12fd4b(0x10e)][_0x12fd4b(0x105)]):null;}}function ds(_0xaa56a1,_0x2a2844){const _0x65c98=_0x444079;let _0x22bffc='';return _0x22bffc+=_0xaa56a1[_0x65c98(0xcd)]('*')[_0x65c98(0x121)]((_0x1f74e9,_0x428888)=>_0x428888%0x2!=0x0?_0x65c98(0x123)+us(_0x1f74e9)+_0x65c98(0xd7):us(_0x1f74e9))[_0x65c98(0xe7)](''),_0x2a2844&&(_0x22bffc+=_0x65c98(0x113)+_0x2a2844[_0x65c98(0x11f)]+_0x65c98(0x106)+_0x2a2844[_0x65c98(0x119)]+_0x65c98(0x116)),_0x22bffc;}function us(_0x7b1333){const _0x45e3af=_0x444079,_0x1b2962=document[_0x45e3af(0x114)](_0x45e3af(0x117));return _0x1b2962[_0x45e3af(0xf4)]=_0x7b1333,_0x1b2962[_0x45e3af(0xeb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xfa659d,_0x1fdadf,_0x22c238){const t=_0xfa659d['t'];switch(_0x1fdadf){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',_0x22c238);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22c238);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22c238);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22c238);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22c238);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',_0x22c238);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22c238);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',_0x22c238);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22c238);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22c238);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22c238);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22c238);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22c238);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22c238);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22c238);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22c238);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22c238);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22c238);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22c238);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22c238);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22c238);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22c238);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22c238);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'},_0x22c238);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22c238);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22c238);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22c238);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22c238);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22c238);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'},_0x22c238);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22c238);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22c238);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22c238);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22c238);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'},_0x22c238);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22c238);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'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22c238);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'},_0x22c238);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22c238);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22c238);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'},_0x22c238);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'},_0x22c238);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 _0x1fdadf;}}
|
|
23
|
+
export function getTranslation(_0x5a901f,_0x2e6e2d,_0x4c2f0d){const t=_0x5a901f['t'];switch(_0x2e6e2d){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',_0x4c2f0d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4c2f0d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4c2f0d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4c2f0d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4c2f0d);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',_0x4c2f0d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4c2f0d);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',_0x4c2f0d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4c2f0d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4c2f0d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4c2f0d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4c2f0d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4c2f0d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4c2f0d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4c2f0d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4c2f0d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4c2f0d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4c2f0d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4c2f0d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4c2f0d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4c2f0d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4c2f0d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4c2f0d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4c2f0d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4c2f0d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4c2f0d);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'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4c2f0d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4c2f0d);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'},_0x4c2f0d);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'},_0x4c2f0d);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 _0x2e6e2d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x566a39,_0x4ab189){const _0x4d060e=_0x2851,_0x3bf8c2=_0x566a39();while(!![]){try{const _0x2b6d1f=parseInt(_0x4d060e(0xe0))/0x1*(parseInt(_0x4d060e(0xde))/0x2)+parseInt(_0x4d060e(0xef))/0x3*(-parseInt(_0x4d060e(0xf8))/0x4)+-parseInt(_0x4d060e(0xea))/0x5+parseInt(_0x4d060e(0xfc))/0x6*(-parseInt(_0x4d060e(0xe2))/0x7)+-parseInt(_0x4d060e(0x102))/0x8+-parseInt(_0x4d060e(0xdf))/0x9+-parseInt(_0x4d060e(0xf6))/0xa*(-parseInt(_0x4d060e(0xff))/0xb);if(_0x2b6d1f===_0x4ab189)break;else _0x3bf8c2['push'](_0x3bf8c2['shift']());}catch(_0x3b11b1){_0x3bf8c2['push'](_0x3bf8c2['shift']());}}}(_0x30b7,0x3544f));export function normalizeDescription(_0x4f9c47){const _0x32e3fd=_0x2851;return Array[_0x32e3fd(0xfa)](_0x4f9c47)||(_0x4f9c47=[_0x4f9c47]),_0x4f9c47[_0x32e3fd(0xdc)](_0xa48937=>{const _0x47a694=_0x32e3fd,_0x40afb4=_0xa48937[_0x47a694(0xe1)][_0x47a694(0xfd)](/\*/g,''),_0x4f47c8=_0xa48937[_0x47a694(0xe6)]?_0x47a694(0xf3)+_0xa48937[_0x47a694(0xe6)][_0x47a694(0xf0)]+']':'';return'['+_0xa48937[_0x47a694(0xfe)]+']\x20'+_0x40afb4+_0x4f47c8;})[_0x32e3fd(0xe5)](';\x20');}function _0x2851(_0x5db8b3,_0x415286){const _0x30b7f7=_0x30b7();return _0x2851=function(_0x285154,_0x5357aa){_0x285154=_0x285154-0xdc;let _0x2eacb8=_0x30b7f7[_0x285154];return _0x2eacb8;},_0x2851(_0x5db8b3,_0x415286);}export function sortSuggestions(_0x520c3f){const _0x51ef1c=_0x2851;return _0x520c3f[_0x51ef1c(0xee)]((_0x2f68bc,_0x1ea4b5)=>_0x51ef1c(0xeb)==_0x2f68bc[_0x51ef1c(0xfe)]&&_0x51ef1c(0xeb)!=_0x1ea4b5[_0x51ef1c(0xfe)]?-0x1:_0x51ef1c(0xeb)!=_0x2f68bc[_0x51ef1c(0xfe)]&&_0x51ef1c(0xeb)==_0x1ea4b5[_0x51ef1c(0xfe)]?0x1:0x0);}export function getSelectedSuggestions(_0x472da3,_0xbe5eb6){const _0x5b37f4=_0x2851,_0x5c90bb=Array[_0x5b37f4(0x101)](_0x472da3[_0x5b37f4(0xe4)]()),_0x5489df=new Set();for(const _0x168dcf of _0xbe5eb6)if(_0x168dcf[_0x5b37f4(0xf1)]){for(const _0x1f4d04 of _0x5c90bb)for(const _0x42b7bc of _0x168dcf[_0x5b37f4(0xe4)]())(_0x1f4d04[_0x5b37f4(0xed)](_0x42b7bc)||_0x472da3[_0x5b37f4(0xdd)]&&!_0x168dcf[_0x5b37f4(0x107)]&&_0x168dcf[_0x5b37f4(0x103)]&&_0x42b7bc[_0x5b37f4(0x104)][_0x5b37f4(0xfb)](_0x1f4d04[_0x5b37f4(0x100)]))&&_0x5489df[_0x5b37f4(0xe9)](_0x168dcf);}return _0x5489df;}export function getRangesOfBlockGroups(_0x4130fa,_0x103685){const _0x51d56d=_0x2851;let _0x85e610,_0x5ab20f=0x0;const _0x423c79=[],_0x2c5ffb=_0x103685[_0x51d56d(0xf2)];for(;_0x5ab20f<_0x4130fa[_0x51d56d(0xe8)];){const _0x40a380=_0x4130fa[_0x5ab20f],_0xfed729=_0x4130fa[_0x5ab20f+0x1];_0x85e610||(_0x85e610=_0x103685[_0x51d56d(0xf9)](_0x40a380)),co(_0x103685,_0x40a380,_0xfed729)||(_0x423c79[_0x51d56d(0xe7)](_0x103685[_0x51d56d(0x106)](_0x85e610,_0x2c5ffb[_0x51d56d(0xe3)](_0x40a380)?_0x103685[_0x51d56d(0xf7)](_0x40a380):_0x103685[_0x51d56d(0xec)](_0x40a380,_0x51d56d(0x104)))),_0x85e610=null),_0x5ab20f++;}return _0x423c79;}function co(_0x16bc60,_0x573b43,_0x12d82a){const _0x57f799=_0x2851;if(!_0x12d82a)return!0x1;const _0x470ddd=_0x16bc60[_0x57f799(0xf7)](_0x573b43),_0x17a7e0=_0x16bc60[_0x57f799(0xf9)](_0x12d82a);return _0x470ddd[_0x57f799(0xfb)](_0x17a7e0);}function _0x30b7(){const _0x4c97e2=['next','end','change','createRange','isMultiRange','map','isCollapsed','8100xTOsvv','1491750jeyeNl','76mMOtlb','content','770yVaOTZ','isObject','getRanges','join','color','push','length','add','1257630AFUPFt','deletion','createPositionAt','isIntersecting','sort','336615wUCroJ','value','isInContent','schema','\x20[color\x20','execute','splice','3260Fywjnf','createPositionAfter','8zrhQtZ','createPositionBefore','isArray','isTouching','10758YYCFjr','replace','type','28237roKqtn','start','from','700280vJvxMg'];_0x30b7=function(){return _0x4c97e2;};return _0x30b7();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1332ad,_0x169c99,_0x571198){const _0x1c1bd0=_0x2851;for(;_0x571198[_0x1c1bd0(0xe8)];){const _0x1895a1=_0x571198[_0x1c1bd0(0xf5)](0x0,0x64);_0x1332ad[_0x1c1bd0(0x105)](()=>{const _0x1bd276=_0x1c1bd0;for(const _0x15dbb6 of _0x1895a1)_0x15dbb6[_0x1bd276(0xf1)]&&_0x169c99[_0x1bd276(0xf4)](_0x15dbb6['id']);});}}
|