@ckeditor/ckeditor5-track-changes 42.0.0-alpha.11 → 42.0.0-alpha.14
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 _0x1cd346=_0x473a;(function(_0x1ff7e8,_0x46614c){const _0x16a11c=_0x473a,_0x3867c3=_0x1ff7e8();while(!![]){try{const _0x227036=parseInt(_0x16a11c(0x1ec))/0x1+parseInt(_0x16a11c(0x21e))/0x2*(-parseInt(_0x16a11c(0x1c7))/0x3)+-parseInt(_0x16a11c(0x1e2))/0x4+-parseInt(_0x16a11c(0x1d2))/0x5+parseInt(_0x16a11c(0x19a))/0x6*(parseInt(_0x16a11c(0x20b))/0x7)+parseInt(_0x16a11c(0x1a6))/0x8+parseInt(_0x16a11c(0x1fa))/0x9;if(_0x227036===_0x46614c)break;else _0x3867c3['push'](_0x3867c3['shift']());}catch(_0xc29698){_0x3867c3['push'](_0x3867c3['shift']());}}}(_0x55d7,0x7005f));function _0x55d7(){const _0x184831=['config','_bindAnnotationToEditors','some','getMarkerNames','acceptAllSuggestions','execute','listenTo','getJoined','getSuggestion','editing','createAnnotation','Accept\x20all\x20suggestions','menu','init','previous','422476drXfsQ','actionView','commandName','separator','delete','suggestionLoaded','commands','panelView','define','SuggestionThreadView','684212NeIwnY','registerAnnotation','source','CommentsRepository','type','commentThread','unbind','comments','Discard\x20all\x20selected\x20suggestions','clear','locale','suggestionUnloaded','_handleControllerBuffer','TrackChangesEditing','478764LOfQZD','buttonView','push','Discard\x20all\x20suggestions','hasSuggestion','set','head','view','getFirstRange','discardButton','descriptionParts','get','Accept\x20all\x20selected\x20suggestions','menuitemcheckbox','trackChanges','addSourceCollector','refreshSelectedViews','355586IMvaNm','Annotations','lowest','getDescriptions','_disableComments','getAllAdjacentSuggestions','change:previous','addComment','mainView','_updateController','button','_unbindEditors','activeMarkers','children','suggestionChanged','CommentView','_createMenuBarMenu','_handleSuggestionControllerDelayed','switchbutton','14KYZOOD','focus','acceptButton','componentFactory','_createToolbarButton','from','reduce','getByInnerView','filter','getRanges','add','isInContent','66USfouQ','change:activeAnnotations','delegate','size','plugins','isDirty','_suggestionToController','isEnabled','trackChanges.disableComments','discardSelectedSuggestions','arrowView','createCommentThreadController','2082864fiuFEQ','model','editor','_viewToController','isMultiRange','innerView','suggestion-','menuitem','createAnnotationView','comments.maxCommentCharsWhenCollapsed','toMany','_refreshActiveMarkers','CommentsUI','comments.editorConfig','_initializeController','pluginName','keys','EditorAnnotations','values','descriptionFactory','_annotationViews','activeAnnotations','TrackChangesUI','bind','Track\x20changes','remove','value','isOn','getMarkers','menuBar:trackChanges','items','_destroyController','_addUIComponentsToFactory','75774uljlin','comments.maxThreadTotalWeight','discardAllSuggestions','stopListening','trackChanges.SuggestionThreadView','destroy','acceptSelectedSuggestions','has','length','comments.maxCommentsWhenCollapsed','requires','4076360NoBndT'];_0x55d7=function(){return _0x184831;};return _0x55d7();}import{Plugin as _0x18ac5e}from'ckeditor5/src/core.js';import{Collection as _0x222bef}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3cfb97,createDropdown as _0x196505,ListSeparatorView as _0x59c66f,MenuBarMenuView as _0x44b701,MenuBarMenuListView as _0x5b6ffd,MenuBarMenuListItemView as _0xe8436b,MenuBarMenuListItemButtonView as _0x42c714,SplitButtonView as _0x3271d6,ViewModel as _0x41d6e4}from'ckeditor5/src/ui.js';import{Users as _0x56c672,getDateTimeFormatter as _0x28a19e,getAllMarkersDomElementsSorted as _0x1ff541}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe5ac93 from'./trackchangesediting.js';import _0x2e99b6 from'./ui/suggestioncontroller.js';import _0xfc306e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1518f6}from'./utils/common-translations.js';import _0x4e066e from'../theme/icons/track-changes.svg';function _0x473a(_0x10cae3,_0x4f7b3e){const _0x55d7fc=_0x55d7();return _0x473a=function(_0x473a27,_0x142efa){_0x473a27=_0x473a27-0x195;let _0x5c8193=_0x55d7fc[_0x473a27];return _0x5c8193;},_0x473a(_0x10cae3,_0x4f7b3e);}export default class d extends _0x18ac5e{static get[_0x1cd346(0x1d1)](){const _0x5e14db=_0x1cd346;return[_0xe5ac93,_0x56c672,_0x5e14db(0x1ef),_0x5e14db(0x20c),_0x5e14db(0x1b7)];}static get[_0x1cd346(0x1b5)](){const _0x1f5259=_0x1cd346;return _0x1f5259(0x1bc);}constructor(_0x18513b){const _0x510c82=_0x1cd346;super(_0x18513b),this[_0x510c82(0x1a0)]=new Map(),this[_0x510c82(0x1a9)]=new Map(),this[_0x510c82(0x1ba)]=new Map(),this[_0x510c82(0x1f8)]=new Map();const _0x5f3628=this[_0x510c82(0x1a8)][_0x510c82(0x1d3)];_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1cb),_0xfc306e),_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1a2),!0x1),this[_0x510c82(0x20f)]=_0x5f3628[_0x510c82(0x205)](_0x510c82(0x1a2));}[_0x1cd346(0x21c)](_0x16794e,_0x175cee){const _0xc000b=_0x1cd346;0x0===this[_0xc000b(0x1f8)][_0xc000b(0x19d)]&&setTimeout(()=>{const _0x1482f4=_0xc000b;for(const [_0x2748b4,_0x43c77d]of this[_0x1482f4(0x1f8)]){const _0x39ce7e=this[_0x1482f4(0x1a0)][_0x1482f4(0x1ce)](_0x2748b4);_0x39ce7e||_0x43c77d?_0x39ce7e&&_0x43c77d&&this[_0x1482f4(0x1c5)](_0x2748b4):this[_0x1482f4(0x1b4)](_0x2748b4);}this[_0x1482f4(0x1f8)][_0x1482f4(0x1f5)](),this[_0x1482f4(0x1a8)][_0x1482f4(0x19e)][_0x1482f4(0x205)](_0x1482f4(0x1b7))[_0x1482f4(0x20a)](),this[_0x1482f4(0x1b1)]();},0xa),this[_0xc000b(0x1f8)][_0xc000b(0x1ff)](_0x16794e,_0x175cee);}[_0x1cd346(0x1e0)](){const _0x48816a=_0x1cd346,_0x29d531=this[_0x48816a(0x1a8)],_0x5f03f6=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1f9)),_0x10c7da=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x20c)),_0x5c90c2=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1b7)),_0x20a2fb=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1ef));this[_0x48816a(0x1c6)](),_0x5c90c2[_0x48816a(0x209)](()=>{const _0x1ea726=_0x48816a,_0x2cf873=[];for(const [_0x18c28f,_0x418303]of Array[_0x1ea726(0x223)](this[_0x1ea726(0x1a0)])){const _0x7128a=_0x18c28f[_0x1ea726(0x210)](),_0x1b7a63=[];for(const _0x809ac2 of _0x7128a){if(!_0x809ac2[_0x1ea726(0x199)])continue;if(_0x809ac2[_0x1ea726(0x1aa)]){_0x1b7a63[_0x1ea726(0x1fc)](..._0x809ac2[_0x1ea726(0x197)]());continue;}const _0x30ae41=_0x809ac2[_0x1ea726(0x202)]();if(_0x1b7a63[_0x1ea726(0x1cf)]>0x0){const _0x19e8ca=_0x1b7a63[0x0][_0x1ea726(0x1da)](_0x30ae41);if(_0x19e8ca){_0x1b7a63[0x0]=_0x19e8ca;continue;}}_0x1b7a63[_0x1ea726(0x1fc)](_0x30ae41);}_0x2cf873[_0x1ea726(0x1fc)]([_0x418303[_0x1ea726(0x201)],_0x1b7a63]);}return _0x2cf873;}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1e7),(_0x207418,_0x4cf90a)=>{const _0x47ffb5=_0x48816a;this[_0x47ffb5(0x1d9)](_0x4cf90a,_0x47ffb5(0x211),(_0x40029f,_0x52d791,_0x25a441,_0x4936d5)=>{const _0xaf3020=_0x47ffb5;_0x4cf90a[_0xaf3020(0x199)]&&(null==_0x25a441?(this[_0xaf3020(0x214)](_0x4936d5[_0xaf3020(0x200)]),this[_0xaf3020(0x21c)](_0x4cf90a,!0x1)):(this[_0xaf3020(0x214)](_0x25a441[_0xaf3020(0x200)]),null==_0x4936d5&&this[_0xaf3020(0x21c)](_0x4cf90a,!0x0)));}),null!==_0x4cf90a[_0x47ffb5(0x1e1)]?this[_0x47ffb5(0x214)](_0x4cf90a[_0x47ffb5(0x200)]):this[_0x47ffb5(0x21c)](_0x4cf90a,!0x1);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1f7),(_0x148b9a,_0x207730,_0x629d9d)=>{const _0x1c1c20=_0x48816a;this[_0x1c1c20(0x1ca)](_0x207730,_0x1c1c20(0x211)),this[_0x1c1c20(0x1f8)][_0x1c1c20(0x1e6)](_0x207730),this[_0x1c1c20(0x1a0)][_0x1c1c20(0x1ce)](_0x207730)&&this[_0x1c1c20(0x1c5)](_0x207730),_0x629d9d&&this[_0x1c1c20(0x214)](_0x629d9d[_0x1c1c20(0x200)]);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x219),(_0x5203fe,_0x32a573)=>{const _0x10c37c=_0x48816a;this[_0x10c37c(0x214)](_0x32a573);}),this[_0x48816a(0x1d9)](_0x10c7da,_0x48816a(0x19b),()=>{const _0x3ccc03=_0x48816a;this[_0x3ccc03(0x1b1)]();}),this[_0x48816a(0x1d9)](_0x20a2fb,_0x48816a(0x212),(_0x27b076,{threadId:_0x2ac85c,isFromAdapter:_0xe818cf})=>{const _0x1b2b06=_0x48816a;if(_0xe818cf||!_0x5f03f6[_0x1b2b06(0x1fe)](_0x2ac85c))return;const _0x1f18dc=_0x5f03f6[_0x1b2b06(0x1db)](_0x2ac85c);this[_0x1b2b06(0x1a0)][_0x1b2b06(0x205)](_0x1f18dc)[_0x1b2b06(0x201)][_0x1b2b06(0x21f)]();},{'priority':_0x48816a(0x20d)});}[_0x1cd346(0x1b1)](){const _0x4c09c1=_0x1cd346,_0x4095de=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x20c)),_0x29584b=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x1f9)),_0x4995e1=Array[_0x4c09c1(0x223)](_0x4095de[_0x4c09c1(0x1bb)],_0x3bf32c=>_0x3bf32c[_0x4c09c1(0x1ab)])[_0x4c09c1(0x196)](_0x550cc8=>this[_0x4c09c1(0x1a9)][_0x4c09c1(0x1ce)](_0x550cc8)),_0x59aaa3=[];for(const _0x18e9a1 of _0x4995e1){const _0x3f3698=this[_0x4c09c1(0x1a9)][_0x4c09c1(0x205)](_0x18e9a1)[_0x4c09c1(0x1a7)][_0x4c09c1(0x210)]();_0x59aaa3[_0x4c09c1(0x1fc)](..._0x3f3698[_0x4c09c1(0x224)]((_0x43500c,_0x288eb5)=>[..._0x43500c,..._0x288eb5[_0x4c09c1(0x1d6)]()],[]));}_0x29584b[_0x4c09c1(0x217)]=_0x59aaa3;}[_0x1cd346(0x1c6)](){const _0x162f89=_0x1cd346,_0x57864b=this[_0x162f89(0x1a8)],_0x5d3010=_0x57864b[_0x162f89(0x1f6)],_0x1f292d=_0x1518f6(_0x5d3010,_0x162f89(0x1be)),_0x1bacc5=new _0x222bef([{'type':_0x162f89(0x21d),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1f292d,'commandName':_0x162f89(0x208),'role':_0x162f89(0x207)})},{'type':_0x162f89(0x1e5)},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1de)),'commandName':_0x162f89(0x1d7),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x206)),'commandName':_0x162f89(0x1cd),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1fd)),'commandName':_0x162f89(0x1c9),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1f4)),'commandName':_0x162f89(0x1a3),'role':_0x162f89(0x1ad)})}]);for(const _0x234be9 of _0x1bacc5)if(ae(_0x234be9)){const _0x53d75c=_0x57864b[_0x162f89(0x1e8)][_0x162f89(0x205)](_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1e4)]);_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1bd)](_0x162f89(0x1c1),_0x162f89(0x1a1))['to'](_0x53d75c,_0x162f89(0x1c0),_0x162f89(0x1a1));}_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x208),_0x52a021=>this[_0x162f89(0x222)](_0x52a021,_0x1bacc5,_0x1f292d)),_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x1c3),_0x2cb49c=>this[_0x162f89(0x21b)](_0x2cb49c,_0x1bacc5,_0x1f292d));}[_0x1cd346(0x222)](_0x3394e6,_0x28843a,_0x16a924){const _0x2a9a24=_0x1cd346,_0xd1c530=_0x196505(_0x3394e6,_0x3271d6),_0x4a6b30=this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x2a9a24(0x208));_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1ff)]({'tooltip':_0x16a924,'label':_0x16a924,'icon':_0x4e066e}),_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1c1))['to'](_0x4a6b30,_0x2a9a24(0x1c0)),_0xd1c530[_0x2a9a24(0x1fb)]['on'](_0x2a9a24(0x1d8),()=>{const _0x48137a=_0x2a9a24;_0x4a6b30[_0x48137a(0x1d8)](),this[_0x48137a(0x1a8)][_0x48137a(0x1dc)][_0x48137a(0x201)][_0x48137a(0x21f)]();}),_0x3cfb97(_0xd1c530,_0x28843a,{'role':_0x2a9a24(0x1df)});const _0x56da68=[];for(const _0x5e6f3d of _0x28843a)ae(_0x5e6f3d)&&_0x56da68[_0x2a9a24(0x1fc)](this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x5e6f3d[_0x2a9a24(0x1a7)][_0x2a9a24(0x1e4)]));const _0x22db64=_0xd1c530[_0x2a9a24(0x1fb)];return _0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))['to'](_0x4a6b30,_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))[_0x2a9a24(0x1b0)](_0x56da68,_0x2a9a24(0x1a1),(..._0x40b397)=>_0x40b397[_0x2a9a24(0x1d5)](_0x4dc387=>_0x4dc387)),_0xd1c530['on'](_0x2a9a24(0x1d8),_0x40566c=>{const _0x2b04a8=_0x2a9a24;this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1d8)](_0x40566c[_0x2b04a8(0x1ee)][_0x2b04a8(0x1e4)]),this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1dc)][_0x2b04a8(0x201)][_0x2b04a8(0x21f)]();}),_0xd1c530;}[_0x1cd346(0x21b)](_0x1c8404,_0x556d61,_0x926b43){const _0x18a9e8=_0x1cd346,_0x22213d=new _0x44b701(_0x1c8404),_0x23285b=this[_0x18a9e8(0x1a8)][_0x18a9e8(0x1e8)][_0x18a9e8(0x205)](_0x18a9e8(0x208));_0x22213d[_0x18a9e8(0x1fb)][_0x18a9e8(0x1ff)]({'label':_0x926b43,'icon':_0x4e066e});const _0x102889=new _0x5b6ffd(_0x1c8404);for(const _0x110d61 of _0x556d61){if(_0x18a9e8(0x1e5)==_0x110d61[_0x18a9e8(0x1f0)]){_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](new _0x59c66f(_0x1c8404));continue;}const _0x269905=new _0xe8436b(_0x1c8404,_0x22213d),_0x48151b=new _0x42c714(_0x1c8404),_0x235f90=_0x110d61[_0x18a9e8(0x1a7)];_0x48151b[_0x18a9e8(0x1bd)](...Object[_0x18a9e8(0x1b6)](_0x235f90))['to'](_0x235f90),_0x48151b[_0x18a9e8(0x19c)](_0x18a9e8(0x1d8))['to'](_0x22213d),_0x48151b['on'](_0x18a9e8(0x1d8),()=>{const _0x28e1af=_0x18a9e8;this[_0x28e1af(0x1a8)][_0x28e1af(0x1d8)](_0x235f90[_0x28e1af(0x1e4)]),this[_0x28e1af(0x1a8)][_0x28e1af(0x1dc)][_0x28e1af(0x201)][_0x28e1af(0x21f)]();}),_0x269905[_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x48151b),_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](_0x269905);}return _0x22213d[_0x18a9e8(0x1bd)](_0x18a9e8(0x1a1))['to'](_0x23285b,_0x18a9e8(0x1a1)),_0x22213d[_0x18a9e8(0x1e9)][_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x102889),_0x22213d;}[_0x1cd346(0x1b4)](_0x43dee7){const _0x15df13=_0x1cd346,_0xdcd073=this[_0x15df13(0x1a8)],_0x3ef8a0=_0xdcd073[_0x15df13(0x1d3)],_0x49a117=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x20c)),_0x4b1c28=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1ef)),_0x2102a4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b7)),_0x5326c4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x56c672)['me'],_0x33fc49=_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x208))[_0x15df13(0x1eb)],{CommentsListView:_0x417a38,CommentThreadInputView:_0x536cf4}=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b2));let _0x2f0fe8,_0x465946;this[_0x15df13(0x1ba)][_0x15df13(0x1ce)](_0x43dee7['id'])?(_0x465946=this[_0x15df13(0x1ba)][_0x15df13(0x205)](_0x43dee7['id']),_0x2f0fe8=_0x465946[_0x15df13(0x213)]):(_0x2f0fe8=new _0x33fc49(_0xdcd073[_0x15df13(0x1f6)],_0x43dee7,_0x5326c4,{'disableComments':this[_0x15df13(0x20f)],'editorConfig':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1b3)),'maxCommentsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1d0)),'maxThreadTotalWeight':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1c8)),'maxCommentCharsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1af)),'formatDateTime':_0x28a19e(_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f6))),'CommentView':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f3))[_0x15df13(0x21a)],'CommentsListView':_0x417a38,'CommentThreadInputView':_0x536cf4}),_0x2f0fe8[_0x15df13(0x220)]['on'](_0x15df13(0x1d8),()=>{const _0x285423=_0x15df13;_0xdcd073[_0x285423(0x1dc)][_0x285423(0x201)][_0x285423(0x21f)]();}),_0x2f0fe8[_0x15df13(0x203)]['on'](_0x15df13(0x1d8),()=>{const _0x4f2a57=_0x15df13;_0xdcd073[_0x4f2a57(0x1dc)][_0x4f2a57(0x201)][_0x4f2a57(0x21f)]();}),_0x465946=_0x49a117[_0x15df13(0x1ae)](this[_0x15df13(0x1a8)][_0x15df13(0x1f6)],_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x19f))['to'](_0x2f0fe8,_0x15df13(0x19f)),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1cf))['to'](_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1f0))['to'](_0x2f0fe8,_0x15df13(0x1f0),_0x122590=>_0x15df13(0x1ac)+_0x122590),this[_0x15df13(0x1ba)][_0x15df13(0x1ff)](_0x43dee7['id'],_0x465946));const _0x1446e2=_0x4b1c28[_0x15df13(0x1a5)](_0x43dee7[_0x15df13(0x1f1)],_0x2f0fe8),_0x4f62a4=new _0x2e99b6(_0xdcd073,_0x43dee7,_0x2f0fe8,_0x1446e2),_0x18d6be=_0x43dee7[_0x15df13(0x210)]()[_0x15df13(0x196)](_0x1472dd=>_0x1472dd[_0x15df13(0x199)]);_0x2f0fe8[_0x15df13(0x204)]=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1f9))[_0x15df13(0x1b9)][_0x15df13(0x20e)](_0x18d6be),this[_0x15df13(0x1a0)][_0x15df13(0x1ff)](_0x43dee7,_0x4f62a4),this[_0x15df13(0x1a9)][_0x15df13(0x1ff)](_0x2f0fe8,_0x4f62a4);const _0x535198=_0x49a117[_0x15df13(0x1dd)]({'view':_0x465946,'target':()=>{const _0x24c5fb=_0x15df13,_0x13a12f=[],_0x3a8f9a=_0x43dee7[_0x24c5fb(0x210)]()[_0x24c5fb(0x196)](_0x1787fd=>_0x1787fd[_0x24c5fb(0x199)]);for(const _0x2c1396 of _0x3a8f9a)_0x13a12f[_0x24c5fb(0x1fc)](..._0x2c1396[_0x24c5fb(0x1c2)]());return _0x1ff541(_0xdcd073[_0x24c5fb(0x1dc)],_0x13a12f);},'type':()=>_0x15df13(0x1ac)+_0x4f62a4[_0x15df13(0x201)][_0x15df13(0x1f0)]});_0x4b1c28[_0x15df13(0x1d4)](_0x2f0fe8,_0x535198),_0x49a117[_0x15df13(0x198)](_0x535198),_0x2102a4[_0x15df13(0x1ed)](_0x535198);}[_0x1cd346(0x1c5)](_0x1cf994){const _0x4c4f61=_0x1cd346,_0x20fb39=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x1ef)),_0x717dc=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x20c)),_0x2d1cd8=this[_0x4c4f61(0x1a0)][_0x4c4f61(0x205)](_0x1cf994),_0x5836a8=_0x2d1cd8[_0x4c4f61(0x201)],_0x2017ef=_0x717dc[_0x4c4f61(0x195)](_0x5836a8);_0x20fb39[_0x4c4f61(0x216)](_0x5836a8),_0x2017ef&&_0x717dc[_0x4c4f61(0x1bf)](_0x2017ef),this[_0x4c4f61(0x1a0)][_0x4c4f61(0x1e6)](_0x1cf994),this[_0x4c4f61(0x1a9)][_0x4c4f61(0x1e6)](_0x5836a8),_0x2d1cd8[_0x4c4f61(0x1cc)]();}[_0x1cd346(0x214)](_0x1c248d){const _0xeb0fcd=_0x1cd346;if(!_0x1c248d[_0xeb0fcd(0x199)]||!this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x1ce)](_0x1c248d))return;const _0x18e87f=this[_0xeb0fcd(0x1a8)][_0xeb0fcd(0x19e)][_0xeb0fcd(0x205)](_0xeb0fcd(0x1f9)),_0x4d220b=this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x205)](_0x1c248d),_0x54a099=_0x1c248d[_0xeb0fcd(0x210)]();_0x4d220b[_0xeb0fcd(0x201)][_0xeb0fcd(0x204)]=_0x18e87f[_0xeb0fcd(0x1b9)][_0xeb0fcd(0x20e)](_0x54a099);}[_0x1cd346(0x1cc)](){const _0x299a07=_0x1cd346;for(const _0x5d3c59 of this[_0x299a07(0x1a0)][_0x299a07(0x1b6)]())this[_0x299a07(0x1c5)](_0x5d3c59);for(const _0x3e2460 of this[_0x299a07(0x1ba)][_0x299a07(0x1b8)]())_0x3e2460[_0x299a07(0x213)][_0x299a07(0x1cc)]();super[_0x299a07(0x1cc)]();}}function ae(_0xbec173){const _0xef76c1=_0x1cd346;return _0xef76c1(0x1a7)in _0xbec173;}
|
|
23
|
+
const _0x52dfd6=_0x42a7;(function(_0x22a874,_0x342d57){const _0x5d3848=_0x42a7,_0x34c8f1=_0x22a874();while(!![]){try{const _0x3f56d6=-parseInt(_0x5d3848(0x103))/0x1+parseInt(_0x5d3848(0xf1))/0x2*(-parseInt(_0x5d3848(0xf8))/0x3)+parseInt(_0x5d3848(0x154))/0x4+-parseInt(_0x5d3848(0xf9))/0x5+parseInt(_0x5d3848(0x10d))/0x6+parseInt(_0x5d3848(0x11e))/0x7+parseInt(_0x5d3848(0x169))/0x8;if(_0x3f56d6===_0x342d57)break;else _0x34c8f1['push'](_0x34c8f1['shift']());}catch(_0x5453db){_0x34c8f1['push'](_0x34c8f1['shift']());}}}(_0xdf2a,0x7cfb8));import{Plugin as _0x11220f}from'ckeditor5/src/core.js';import{Collection as _0x232a9d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2892d7,createDropdown as _0xb71ee2,ListSeparatorView as _0x10765e,MenuBarMenuView as _0x2f7f26,MenuBarMenuListView as _0x32e236,MenuBarMenuListItemView as _0x5e3399,MenuBarMenuListItemButtonView as _0x5aa81a,SplitButtonView as _0x21882e,ViewModel as _0x24908a}from'ckeditor5/src/ui.js';import{Users as _0x1be980,getDateTimeFormatter as _0x41cb0e,getAllMarkersDomElementsSorted as _0x508066}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x308a7a from'./trackchangesediting.js';import _0x147744 from'./ui/suggestioncontroller.js';function _0x42a7(_0x4e329a,_0x484e0f){const _0xdf2af5=_0xdf2a();return _0x42a7=function(_0x42a72e,_0x494008){_0x42a72e=_0x42a72e-0xdd;let _0x25b2a1=_0xdf2af5[_0x42a72e];return _0x25b2a1;},_0x42a7(_0x4e329a,_0x484e0f);}import _0x1b9f59 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x19966a}from'./utils/common-translations.js';import _0x1c4fe7 from'../theme/icons/track-changes.svg';export default class d extends _0x11220f{static get[_0x52dfd6(0x122)](){const _0x33e29b=_0x52dfd6;return[_0x308a7a,_0x1be980,_0x33e29b(0x14a),_0x33e29b(0x115),_0x33e29b(0x11c)];}static get[_0x52dfd6(0x14e)](){const _0x1296e4=_0x52dfd6;return _0x1296e4(0x157);}constructor(_0x5d6bff){const _0x10d760=_0x52dfd6;super(_0x5d6bff),this[_0x10d760(0x131)]=new Map(),this[_0x10d760(0x101)]=new Map(),this[_0x10d760(0x124)]=new Map(),this[_0x10d760(0x12d)]=new Map();const _0x29f9db=this[_0x10d760(0x132)][_0x10d760(0x14f)];_0x29f9db[_0x10d760(0x13b)](_0x10d760(0x143),_0x1b9f59),_0x29f9db[_0x10d760(0x13b)](_0x10d760(0xea),!0x1),this[_0x10d760(0xe6)]=_0x29f9db[_0x10d760(0xfb)](_0x10d760(0xea));}[_0x52dfd6(0x142)](_0x139265,_0x71434f){const _0x172c64=_0x52dfd6;0x0===this[_0x172c64(0x12d)][_0x172c64(0x110)]&&setTimeout(()=>{const _0x24714b=_0x172c64;for(const [_0x15f477,_0x2096f7]of this[_0x24714b(0x12d)]){const _0x58c1d4=this[_0x24714b(0x131)][_0x24714b(0x12a)](_0x15f477);_0x58c1d4||_0x2096f7?_0x58c1d4&&_0x2096f7&&this[_0x24714b(0x15f)](_0x15f477):this[_0x24714b(0x12b)](_0x15f477);}this[_0x24714b(0x12d)][_0x24714b(0x168)](),this[_0x24714b(0x132)][_0x24714b(0x120)][_0x24714b(0xfb)](_0x24714b(0x11c))[_0x24714b(0xff)](),this[_0x24714b(0x13e)]();},0xa),this[_0x172c64(0x12d)][_0x172c64(0xe7)](_0x139265,_0x71434f);}[_0x52dfd6(0x123)](){const _0x4f88c5=_0x52dfd6,_0x550e7e=this[_0x4f88c5(0x132)],_0x2fd62f=_0x550e7e[_0x4f88c5(0x120)][_0x4f88c5(0xfb)](_0x4f88c5(0x10b)),_0x595f8c=_0x550e7e[_0x4f88c5(0x120)][_0x4f88c5(0xfb)](_0x4f88c5(0x115)),_0x2e5979=_0x550e7e[_0x4f88c5(0x120)][_0x4f88c5(0xfb)](_0x4f88c5(0x11c)),_0x1e71be=_0x550e7e[_0x4f88c5(0x120)][_0x4f88c5(0xfb)](_0x4f88c5(0x14a));this[_0x4f88c5(0x15a)](),_0x2e5979[_0x4f88c5(0x113)](()=>{const _0x278913=_0x4f88c5,_0x4fd580=[];for(const [_0x15ad67,_0x4fe501]of Array[_0x278913(0x160)](this[_0x278913(0x131)])){const _0x326986=_0x15ad67[_0x278913(0x11b)](),_0x44d4ec=[];for(const _0x121b5e of _0x326986){if(!_0x121b5e[_0x278913(0xe8)])continue;if(_0x121b5e[_0x278913(0x156)]){_0x44d4ec[_0x278913(0x164)](..._0x121b5e[_0x278913(0xe9)]());continue;}const _0x189ef5=_0x121b5e[_0x278913(0x141)]();if(_0x44d4ec[_0x278913(0x102)]>0x0){const _0x382f59=_0x44d4ec[0x0][_0x278913(0xf6)](_0x189ef5);if(_0x382f59){_0x44d4ec[0x0]=_0x382f59;continue;}}_0x44d4ec[_0x278913(0x164)](_0x189ef5);}_0x4fd580[_0x278913(0x164)]([_0x4fe501[_0x278913(0x121)],_0x44d4ec]);}return _0x4fd580;}),this[_0x4f88c5(0xf5)](_0x2fd62f,_0x4f88c5(0x13c),(_0x47a2e5,_0xa87775)=>{const _0x1e6e01=_0x4f88c5;this[_0x1e6e01(0xf5)](_0xa87775,_0x1e6e01(0x147),(_0x1fa7b0,_0x2de25f,_0x1d29b5,_0x56818f)=>{const _0x1a161f=_0x1e6e01;_0xa87775[_0x1a161f(0xe8)]&&(null==_0x1d29b5?(this[_0x1a161f(0x10a)](_0x56818f[_0x1a161f(0xec)]),this[_0x1a161f(0x142)](_0xa87775,!0x1)):(this[_0x1a161f(0x10a)](_0x1d29b5[_0x1a161f(0xec)]),null==_0x56818f&&this[_0x1a161f(0x142)](_0xa87775,!0x0)));}),null!==_0xa87775[_0x1e6e01(0x10f)]?this[_0x1e6e01(0x10a)](_0xa87775[_0x1e6e01(0xec)]):this[_0x1e6e01(0x142)](_0xa87775,!0x1);}),this[_0x4f88c5(0xf5)](_0x2fd62f,_0x4f88c5(0x137),(_0x19d5a0,_0x263b09,_0x33a1cb)=>{const _0x35e559=_0x4f88c5;this[_0x35e559(0x13a)](_0x263b09,_0x35e559(0x147)),this[_0x35e559(0x12d)][_0x35e559(0x15c)](_0x263b09),this[_0x35e559(0x131)][_0x35e559(0x12a)](_0x263b09)&&this[_0x35e559(0x15f)](_0x263b09),_0x33a1cb&&this[_0x35e559(0x10a)](_0x33a1cb[_0x35e559(0xec)]);}),this[_0x4f88c5(0xf5)](_0x2fd62f,_0x4f88c5(0x15b),(_0x3df0e4,_0x90bfc7)=>{const _0x108459=_0x4f88c5;this[_0x108459(0x10a)](_0x90bfc7);}),this[_0x4f88c5(0xf5)](_0x595f8c,_0x4f88c5(0x140),()=>{const _0x40d8a4=_0x4f88c5;this[_0x40d8a4(0x13e)]();}),this[_0x4f88c5(0xf5)](_0x1e71be,_0x4f88c5(0x145),(_0x578492,{threadId:_0x599823,isFromAdapter:_0x4ad0eb})=>{const _0x14fdc9=_0x4f88c5;if(_0x4ad0eb||!_0x2fd62f[_0x14fdc9(0x125)](_0x599823))return;const _0x5b1dc2=_0x2fd62f[_0x14fdc9(0x129)](_0x599823);this[_0x14fdc9(0x131)][_0x14fdc9(0xfb)](_0x5b1dc2)[_0x14fdc9(0x121)][_0x14fdc9(0x136)]();},{'priority':_0x4f88c5(0x112)});}[_0x52dfd6(0x13e)](){const _0x576263=_0x52dfd6,_0x3707bd=this[_0x576263(0x132)][_0x576263(0x120)][_0x576263(0xfb)](_0x576263(0x115)),_0x47c255=this[_0x576263(0x132)][_0x576263(0x120)][_0x576263(0xfb)](_0x576263(0x10b)),_0x1b160a=Array[_0x576263(0x160)](_0x3707bd[_0x576263(0xf0)],_0xcf4d7e=>_0xcf4d7e[_0x576263(0xe3)])[_0x576263(0xdf)](_0x7367a6=>this[_0x576263(0x101)][_0x576263(0x12a)](_0x7367a6)),_0x1a7cb5=[];for(const _0x46cb8d of _0x1b160a){const _0x283649=this[_0x576263(0x101)][_0x576263(0xfb)](_0x46cb8d)[_0x576263(0xe2)][_0x576263(0x11b)]();_0x1a7cb5[_0x576263(0x164)](..._0x283649[_0x576263(0x118)]((_0x3091dc,_0x153eee)=>[..._0x3091dc,..._0x153eee[_0x576263(0x15e)]()],[]));}_0x47c255[_0x576263(0xe0)]=_0x1a7cb5;}[_0x52dfd6(0x15a)](){const _0x8c432e=_0x52dfd6,_0x59128d=this[_0x8c432e(0x132)],_0x1a45a3=_0x59128d[_0x8c432e(0xef)],_0x1afbf4=_0x19966a(_0x1a45a3,_0x8c432e(0xe5)),_0xf76242=new _0x232a9d([{'type':_0x8c432e(0x109),'model':new _0x24908a({'withText':!0x0,'label':_0x1afbf4,'commandName':_0x8c432e(0xfc),'role':_0x8c432e(0x158)})},{'type':_0x8c432e(0x146)},{'type':_0x8c432e(0x139),'model':new _0x24908a({'withText':!0x0,'label':_0x19966a(_0x1a45a3,_0x8c432e(0x152)),'commandName':_0x8c432e(0x130),'role':_0x8c432e(0x166)})},{'type':_0x8c432e(0x139),'model':new _0x24908a({'withText':!0x0,'label':_0x19966a(_0x1a45a3,_0x8c432e(0x150)),'commandName':_0x8c432e(0x114),'role':_0x8c432e(0x166)})},{'type':_0x8c432e(0x139),'model':new _0x24908a({'withText':!0x0,'label':_0x19966a(_0x1a45a3,_0x8c432e(0x100)),'commandName':_0x8c432e(0xe1),'role':_0x8c432e(0x166)})},{'type':_0x8c432e(0x139),'model':new _0x24908a({'withText':!0x0,'label':_0x19966a(_0x1a45a3,_0x8c432e(0x16b)),'commandName':_0x8c432e(0x149),'role':_0x8c432e(0x166)})}]);for(const _0x1c88d9 of _0xf76242)if(ae(_0x1c88d9)){const _0x425f83=_0x59128d[_0x8c432e(0x163)][_0x8c432e(0xfb)](_0x1c88d9[_0x8c432e(0xe2)][_0x8c432e(0xf7)]);_0x1c88d9[_0x8c432e(0xe2)][_0x8c432e(0x155)](_0x8c432e(0xe4),_0x8c432e(0x151))['to'](_0x425f83,_0x8c432e(0x144),_0x8c432e(0x151));}_0x59128d['ui'][_0x8c432e(0x153)][_0x8c432e(0x10c)](_0x8c432e(0xfc),_0x455ae6=>this[_0x8c432e(0x159)](_0x455ae6,_0xf76242,_0x1afbf4)),_0x59128d['ui'][_0x8c432e(0x153)][_0x8c432e(0x10c)](_0x8c432e(0xfd),_0x92eeb2=>this[_0x8c432e(0x133)](_0x92eeb2,_0xf76242,_0x1afbf4));}[_0x52dfd6(0x159)](_0x47b01a,_0x479066,_0x410ac7){const _0x1543e2=_0x52dfd6,_0x3b90c6=_0xb71ee2(_0x47b01a,_0x21882e),_0x363ee8=this[_0x1543e2(0x132)][_0x1543e2(0x163)][_0x1543e2(0xfb)](_0x1543e2(0xfc));_0x3b90c6[_0x1543e2(0xeb)][_0x1543e2(0xe7)]({'tooltip':_0x410ac7,'label':_0x410ac7,'icon':_0x1c4fe7}),_0x3b90c6[_0x1543e2(0xeb)][_0x1543e2(0x155)](_0x1543e2(0xe4))['to'](_0x363ee8,_0x1543e2(0x144)),_0x3b90c6[_0x1543e2(0xeb)]['on'](_0x1543e2(0x11f),()=>{const _0x37a25a=_0x1543e2;_0x363ee8[_0x37a25a(0x11f)](),this[_0x37a25a(0x132)][_0x37a25a(0x119)][_0x37a25a(0x121)][_0x37a25a(0x136)]();}),_0x2892d7(_0x3b90c6,_0x479066,{'role':_0x1543e2(0x15d)});const _0x213554=[];for(const _0x408735 of _0x479066)ae(_0x408735)&&_0x213554[_0x1543e2(0x164)](this[_0x1543e2(0x132)][_0x1543e2(0x163)][_0x1543e2(0xfb)](_0x408735[_0x1543e2(0xe2)][_0x1543e2(0xf7)]));const _0x1ccd7=_0x3b90c6[_0x1543e2(0xeb)];return _0x1ccd7[_0x1543e2(0x14b)][_0x1543e2(0x108)](_0x1543e2(0x151)),_0x1ccd7[_0x1543e2(0xf2)][_0x1543e2(0x108)](_0x1543e2(0x151)),_0x1ccd7[_0x1543e2(0x14b)][_0x1543e2(0x155)](_0x1543e2(0x151))['to'](_0x363ee8,_0x1543e2(0x151)),_0x1ccd7[_0x1543e2(0xf2)][_0x1543e2(0x155)](_0x1543e2(0x151))[_0x1543e2(0x107)](_0x213554,_0x1543e2(0x151),(..._0x45f7f2)=>_0x45f7f2[_0x1543e2(0x11a)](_0x517f39=>_0x517f39)),_0x3b90c6['on'](_0x1543e2(0x11f),_0x56395f=>{const _0xa76673=_0x1543e2;this[_0xa76673(0x132)][_0xa76673(0x11f)](_0x56395f[_0xa76673(0xdd)][_0xa76673(0xf7)]),this[_0xa76673(0x132)][_0xa76673(0x119)][_0xa76673(0x121)][_0xa76673(0x136)]();}),_0x3b90c6;}[_0x52dfd6(0x133)](_0x1ee5ab,_0x48b2d9,_0x5973cd){const _0x3a42f3=_0x52dfd6,_0x951d8d=new _0x2f7f26(_0x1ee5ab),_0x178d72=this[_0x3a42f3(0x132)][_0x3a42f3(0x163)][_0x3a42f3(0xfb)](_0x3a42f3(0xfc));_0x951d8d[_0x3a42f3(0xeb)][_0x3a42f3(0xe7)]({'label':_0x5973cd,'icon':_0x1c4fe7});const _0x48c513=new _0x32e236(_0x1ee5ab);for(const _0x2502ab of _0x48b2d9){if(_0x3a42f3(0x146)==_0x2502ab[_0x3a42f3(0x12e)]){_0x48c513[_0x3a42f3(0x128)][_0x3a42f3(0x10c)](new _0x10765e(_0x1ee5ab));continue;}const _0x1ccab0=new _0x5e3399(_0x1ee5ab,_0x951d8d),_0x30da0d=new _0x5aa81a(_0x1ee5ab),_0x282e23=_0x2502ab[_0x3a42f3(0xe2)];_0x30da0d[_0x3a42f3(0x155)](...Object[_0x3a42f3(0x13d)](_0x282e23))['to'](_0x282e23),_0x30da0d[_0x3a42f3(0xee)](_0x3a42f3(0x11f))['to'](_0x951d8d),_0x30da0d['on'](_0x3a42f3(0x11f),()=>{const _0x4f6018=_0x3a42f3;this[_0x4f6018(0x132)][_0x4f6018(0x11f)](_0x282e23[_0x4f6018(0xf7)]),this[_0x4f6018(0x132)][_0x4f6018(0x119)][_0x4f6018(0x121)][_0x4f6018(0x136)]();}),_0x1ccab0[_0x3a42f3(0xde)][_0x3a42f3(0x10c)](_0x30da0d),_0x48c513[_0x3a42f3(0x128)][_0x3a42f3(0x10c)](_0x1ccab0);}return _0x951d8d[_0x3a42f3(0x155)](_0x3a42f3(0x151))['to'](_0x178d72,_0x3a42f3(0x151)),_0x951d8d[_0x3a42f3(0xfa)][_0x3a42f3(0xde)][_0x3a42f3(0x10c)](_0x48c513),_0x951d8d;}[_0x52dfd6(0x12b)](_0x3a307f){const _0x31bb1d=_0x52dfd6,_0x3f9e19=this[_0x31bb1d(0x132)],_0x3dc238=_0x3f9e19[_0x31bb1d(0x14f)],_0x311bd3=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x31bb1d(0x115)),_0x2474a9=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x31bb1d(0x14a)),_0x4b09f1=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x31bb1d(0x11c)),_0x4b2f28=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x1be980)['me'],_0x216f26=_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0xfc))[_0x31bb1d(0x161)],{CommentsListView:_0x104505,CommentThreadInputView:_0x2c06d7}=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x31bb1d(0x12c));let _0x1056fa,_0x14124d;this[_0x31bb1d(0x124)][_0x31bb1d(0x12a)](_0x3a307f['id'])?(_0x14124d=this[_0x31bb1d(0x124)][_0x31bb1d(0xfb)](_0x3a307f['id']),_0x1056fa=_0x14124d[_0x31bb1d(0x104)]):(_0x1056fa=new _0x216f26(_0x3f9e19[_0x31bb1d(0xef)],_0x3a307f,_0x4b2f28,{'disableComments':this[_0x31bb1d(0xe6)],'editorConfig':_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0x135)),'maxCommentsWhenCollapsed':_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0x10e)),'maxThreadTotalWeight':_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0x126)),'maxCommentCharsWhenCollapsed':_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0x13f)),'formatDateTime':_0x41cb0e(_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0xef))),'CommentView':_0x3dc238[_0x31bb1d(0xfb)](_0x31bb1d(0x167))[_0x31bb1d(0x111)],'CommentsListView':_0x104505,'CommentThreadInputView':_0x2c06d7}),_0x1056fa[_0x31bb1d(0xf4)]['on'](_0x31bb1d(0x11f),()=>{const _0x1a9580=_0x31bb1d;_0x3f9e19[_0x1a9580(0x119)][_0x1a9580(0x121)][_0x1a9580(0x136)]();}),_0x1056fa[_0x31bb1d(0x138)]['on'](_0x31bb1d(0x11f),()=>{const _0x41832a=_0x31bb1d;_0x3f9e19[_0x41832a(0x119)][_0x41832a(0x121)][_0x41832a(0x136)]();}),_0x14124d=_0x311bd3[_0x31bb1d(0x14c)](this[_0x31bb1d(0x132)][_0x31bb1d(0xef)],_0x1056fa),_0x14124d[_0x31bb1d(0x155)](_0x31bb1d(0x14d))['to'](_0x1056fa,_0x31bb1d(0x14d)),_0x14124d[_0x31bb1d(0x155)](_0x31bb1d(0x102))['to'](_0x1056fa),_0x14124d[_0x31bb1d(0x155)](_0x31bb1d(0x12e))['to'](_0x1056fa,_0x31bb1d(0x12e),_0x3067e5=>_0x31bb1d(0xfe)+_0x3067e5),this[_0x31bb1d(0x124)][_0x31bb1d(0xe7)](_0x3a307f['id'],_0x14124d));const _0x5e1ea1=_0x2474a9[_0x31bb1d(0x116)](_0x3a307f[_0x31bb1d(0x16a)],_0x1056fa),_0x11f14a=new _0x147744(_0x3f9e19,_0x3a307f,_0x1056fa,_0x5e1ea1),_0x575402=_0x3a307f[_0x31bb1d(0x11b)]()[_0x31bb1d(0xdf)](_0x42bd82=>_0x42bd82[_0x31bb1d(0xe8)]);_0x1056fa[_0x31bb1d(0x117)]=_0x3f9e19[_0x31bb1d(0x120)][_0x31bb1d(0xfb)](_0x31bb1d(0x10b))[_0x31bb1d(0x134)][_0x31bb1d(0x106)](_0x575402),this[_0x31bb1d(0x131)][_0x31bb1d(0xe7)](_0x3a307f,_0x11f14a),this[_0x31bb1d(0x101)][_0x31bb1d(0xe7)](_0x1056fa,_0x11f14a);const _0x5c4aa3=_0x311bd3[_0x31bb1d(0x105)]({'view':_0x14124d,'target':()=>{const _0x4c29a7=_0x31bb1d,_0x43d1f0=[],_0x386505=_0x3a307f[_0x4c29a7(0x11b)]()[_0x4c29a7(0xdf)](_0x4662b7=>_0x4662b7[_0x4c29a7(0xe8)]);for(const _0xd124ff of _0x386505)_0x43d1f0[_0x4c29a7(0x164)](..._0xd124ff[_0x4c29a7(0x148)]());return _0x508066(_0x3f9e19[_0x4c29a7(0x119)],_0x43d1f0);},'type':()=>_0x31bb1d(0xfe)+_0x11f14a[_0x31bb1d(0x121)][_0x31bb1d(0x12e)]});_0x2474a9[_0x31bb1d(0xf3)](_0x1056fa,_0x5c4aa3),_0x311bd3[_0x31bb1d(0x10c)](_0x5c4aa3),_0x4b09f1[_0x31bb1d(0xed)](_0x5c4aa3);}[_0x52dfd6(0x15f)](_0x9c15ae){const _0xe7658a=_0x52dfd6,_0x22e8e3=this[_0xe7658a(0x132)][_0xe7658a(0x120)][_0xe7658a(0xfb)](_0xe7658a(0x14a)),_0x2452c2=this[_0xe7658a(0x132)][_0xe7658a(0x120)][_0xe7658a(0xfb)](_0xe7658a(0x115)),_0x33feb7=this[_0xe7658a(0x131)][_0xe7658a(0xfb)](_0x9c15ae),_0x2a947e=_0x33feb7[_0xe7658a(0x121)],_0x330444=_0x2452c2[_0xe7658a(0x165)](_0x2a947e);_0x22e8e3[_0xe7658a(0x127)](_0x2a947e),_0x330444&&_0x2452c2[_0xe7658a(0x162)](_0x330444),this[_0xe7658a(0x131)][_0xe7658a(0x15c)](_0x9c15ae),this[_0xe7658a(0x101)][_0xe7658a(0x15c)](_0x2a947e),_0x33feb7[_0xe7658a(0x11d)]();}[_0x52dfd6(0x10a)](_0x1db4fe){const _0x133d2b=_0x52dfd6;if(!_0x1db4fe[_0x133d2b(0xe8)]||!this[_0x133d2b(0x131)][_0x133d2b(0x12a)](_0x1db4fe))return;const _0x47fce4=this[_0x133d2b(0x132)][_0x133d2b(0x120)][_0x133d2b(0xfb)](_0x133d2b(0x10b)),_0x2b8bdc=this[_0x133d2b(0x131)][_0x133d2b(0xfb)](_0x1db4fe),_0x5ab3f7=_0x1db4fe[_0x133d2b(0x11b)]();_0x2b8bdc[_0x133d2b(0x121)][_0x133d2b(0x117)]=_0x47fce4[_0x133d2b(0x134)][_0x133d2b(0x106)](_0x5ab3f7);}[_0x52dfd6(0x11d)](){const _0x1df360=_0x52dfd6;for(const _0x495453 of this[_0x1df360(0x131)][_0x1df360(0x13d)]())this[_0x1df360(0x15f)](_0x495453);for(const _0x443b21 of this[_0x1df360(0x124)][_0x1df360(0x12f)]())_0x443b21[_0x1df360(0x104)][_0x1df360(0x11d)]();super[_0x1df360(0x11d)]();}}function _0xdf2a(){const _0x4d3ae7=['Discard\x20all\x20selected\x20suggestions','source','children','filter','activeMarkers','discardAllSuggestions','model','innerView','isOn','Track\x20changes','_disableComments','set','isInContent','getRanges','trackChanges.disableComments','buttonView','head','registerAnnotation','delegate','locale','activeAnnotations','8866pkmEKm','arrowView','_bindAnnotationToEditors','acceptButton','listenTo','getJoined','commandName','669BWjScc','1950045myPJiZ','panelView','get','trackChanges','menuBar:trackChanges','suggestion-','refreshSelectedViews','Discard\x20all\x20suggestions','_viewToController','length','212658BCFSuf','mainView','createAnnotation','getDescriptions','toMany','unbind','switchbutton','_updateController','TrackChangesEditing','add','4608918VfBtbw','comments.maxCommentsWhenCollapsed','previous','size','CommentView','lowest','addSourceCollector','acceptSelectedSuggestions','Annotations','createCommentThreadController','descriptionParts','reduce','editing','some','getAllAdjacentSuggestions','EditorAnnotations','destroy','6409795JGmAwD','execute','plugins','view','requires','init','_annotationViews','hasSuggestion','comments.maxThreadTotalWeight','_unbindEditors','items','getSuggestion','has','_initializeController','CommentsUI','_handleControllerBuffer','type','values','acceptAllSuggestions','_suggestionToController','editor','_createMenuBarMenu','descriptionFactory','comments.editorConfig','focus','suggestionUnloaded','discardButton','button','stopListening','define','suggestionLoaded','keys','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','change:activeAnnotations','getFirstRange','_handleSuggestionControllerDelayed','trackChanges.SuggestionThreadView','value','addComment','separator','change:previous','getMarkers','discardSelectedSuggestions','CommentsRepository','actionView','createAnnotationView','isDirty','pluginName','config','Accept\x20all\x20selected\x20suggestions','isEnabled','Accept\x20all\x20suggestions','componentFactory','1387548hKIWZA','bind','isMultiRange','TrackChangesUI','menuitemcheckbox','_createToolbarButton','_addUIComponentsToFactory','suggestionChanged','delete','menu','getMarkerNames','_destroyController','from','SuggestionThreadView','remove','commands','push','getByInnerView','menuitem','comments','clear','579432utoCYy','commentThread'];_0xdf2a=function(){return _0x4d3ae7;};return _0xdf2a();}function ae(_0x105ef2){const _0x4015b8=_0x52dfd6;return _0x4015b8(0xe2)in _0x105ef2;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d548a=_0x27c3;(function(_0x2124d2,_0x4308e9){const _0x58b778=_0x27c3,_0x1c5bdb=_0x2124d2();while(!![]){try{const _0x5a0942=parseInt(_0x58b778(0x1c7))/0x1*(-parseInt(_0x58b778(0x1b6))/0x2)+-parseInt(_0x58b778(0x1bd))/0x3+parseInt(_0x58b778(0x1ab))/0x4+-parseInt(_0x58b778(0x1b5))/0x5*(parseInt(_0x58b778(0x1ac))/0x6)+-parseInt(_0x58b778(0x1b9))/0x7+-parseInt(_0x58b778(0x1b1))/0x8+parseInt(_0x58b778(0x1ad))/0x9;if(_0x5a0942===_0x4308e9)break;else _0x1c5bdb['push'](_0x1c5bdb['shift']());}catch(_0x323667){_0x1c5bdb['push'](_0x1c5bdb['shift']());}}}(_0x2502,0x4c14d));import{ObservableMixin as _0x2a84bb}from'ckeditor5/src/utils.js';function _0x27c3(_0x229f99,_0x2f04ca){const _0x25029f=_0x2502();return _0x27c3=function(_0x27c3d7,_0x168040){_0x27c3d7=_0x27c3d7-0x1a8;let _0x2e2996=_0x25029f[_0x27c3d7];return _0x2e2996;},_0x27c3(_0x229f99,_0x2f04ca);}import{getTranslation as _0x3470af}from'../utils/common-translations.js';function _0x2502(){const _0x11379e=['commentThreadController','_setPendingAction','2116412mLIQDW','6HsrsqM','8313453ddWWzz','bind','canEditAt','change:isDirty','1089760YhFtOq','destroy','canDiscard','locale','2577145ELnbpG','82LwCsFp','view','PendingActions','2286046Uwibyw','plugins','discardSuggestion','isDirty','107469naXUKz','_pendingAction','canAccept','PENDING_ACTION_SUGGESTION','_acceptCommand','_editor','commands','listenTo','_discardCommand','execute','3101ZRjPYb','_removePendingAction','isEnabled','model','get','stopListening','add','remove','unbind','acceptSuggestion','getRanges'];_0x2502=function(){return _0x11379e;};return _0x2502();}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a84bb(){constructor(_0x53eb1b,_0x146a94,_0x51b619,_0x377572){const _0x265f20=_0x27c3;super(),this[_0x265f20(0x1ca)]=_0x146a94,this[_0x265f20(0x1b7)]=_0x51b619,this[_0x265f20(0x1a9)]=_0x377572,this[_0x265f20(0x1c2)]=_0x53eb1b,this[_0x265f20(0x1c1)]=_0x53eb1b[_0x265f20(0x1c3)][_0x265f20(0x1cb)](_0x265f20(0x1d0)),this[_0x265f20(0x1c5)]=_0x53eb1b[_0x265f20(0x1c3)][_0x265f20(0x1cb)](_0x265f20(0x1bb)),this[_0x265f20(0x1b7)][_0x265f20(0x1ae)](_0x265f20(0x1c9))['to'](this[_0x265f20(0x1c1)],this[_0x265f20(0x1c5)],(_0x5a9fed,_0x329797)=>_0x5a9fed||_0x329797),this[_0x265f20(0x1b7)][_0x265f20(0x1ae)](_0x265f20(0x1bf))['to'](this[_0x265f20(0x1c1)],_0x265f20(0x1c9),_0x28282f=>_0x28282f&&this[_0x265f20(0x1c2)][_0x265f20(0x1ca)][_0x265f20(0x1af)](_0x146a94[_0x265f20(0x1a8)]())),this[_0x265f20(0x1b7)][_0x265f20(0x1ae)](_0x265f20(0x1b3))['to'](this[_0x265f20(0x1c5)],_0x265f20(0x1c9),_0x168e91=>_0x168e91&&this[_0x265f20(0x1c2)][_0x265f20(0x1ca)][_0x265f20(0x1af)](_0x146a94[_0x265f20(0x1a8)]())),this[_0x265f20(0x1be)]=null,_0x51b619[_0x265f20(0x1bc)]&&this[_0x265f20(0x1aa)](),this[_0x265f20(0x1c4)](_0x51b619,_0x265f20(0x1d0),()=>this[_0x265f20(0x1d0)]()),this[_0x265f20(0x1c4)](_0x51b619,_0x265f20(0x1bb),()=>this[_0x265f20(0x1bb)]()),this[_0x265f20(0x1c4)](_0x51b619,_0x265f20(0x1b0),()=>{const _0x2116d0=_0x265f20;_0x51b619[_0x2116d0(0x1bc)]?this[_0x2116d0(0x1aa)]():this[_0x2116d0(0x1c8)]();});}[_0x2d548a(0x1d0)](){const _0x51791d=_0x2d548a;this[_0x51791d(0x1c1)][_0x51791d(0x1c6)](this[_0x51791d(0x1ca)]['id']);}[_0x2d548a(0x1bb)](){const _0x512779=_0x2d548a;this[_0x512779(0x1c5)][_0x512779(0x1c6)](this[_0x512779(0x1ca)]['id']);}[_0x2d548a(0x1b2)](){const _0x1b5fa6=_0x2d548a;this[_0x1b5fa6(0x1b7)][_0x1b5fa6(0x1cf)](_0x1b5fa6(0x1c9)),this[_0x1b5fa6(0x1b7)][_0x1b5fa6(0x1cf)](_0x1b5fa6(0x1bf)),this[_0x1b5fa6(0x1b7)][_0x1b5fa6(0x1cf)](_0x1b5fa6(0x1b3)),this[_0x1b5fa6(0x1cc)](),this[_0x1b5fa6(0x1a9)][_0x1b5fa6(0x1b2)](),this[_0x1b5fa6(0x1be)]&&this[_0x1b5fa6(0x1c8)]();}[_0x2d548a(0x1aa)](){const _0x2df990=_0x2d548a,_0x41fd9e=_0x3470af(this[_0x2df990(0x1c2)][_0x2df990(0x1b4)],_0x2df990(0x1c0));this[_0x2df990(0x1be)]=this[_0x2df990(0x1c2)][_0x2df990(0x1ba)][_0x2df990(0x1cb)](_0x2df990(0x1b8))[_0x2df990(0x1cd)](_0x41fd9e);}[_0x2d548a(0x1c8)](){const _0x20521e=_0x2d548a;null!==this[_0x20521e(0x1be)]&&this[_0x20521e(0x1c2)][_0x20521e(0x1ba)][_0x20521e(0x1cb)](_0x20521e(0x1b8))[_0x20521e(0x1ce)](this[_0x20521e(0x1be)]),this[_0x20521e(0x1be)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xff39(_0x36b00c,_0x134007){const _0x59484c=_0x5948();return _0xff39=function(_0xff395d,_0x3b8b9d){_0xff395d=_0xff395d-0xe2;let _0x499040=_0x59484c[_0xff395d];return _0x499040;},_0xff39(_0x36b00c,_0x134007);}function _0x5948(){const _0x335e41=['descriptionParts','hasDirtyComment','addComment','55NuCYXb','isEnabled','updateComment','value','editorConfig','locale','fire','commentThread','_model','2073168KtmPNN','disabledSubmit','_createCommentThreadInputView','715362qfKVbC','_config','19016DpeJks','_localUser','set','8181910JaccSD','12hSZwWg','commentThreadInputView','disableComments','submit','focus','canAccept','canDiscard','editor','CommentView','element','authoredAt','isReadOnly','length','delegate','showInput','1114670komWQq','commentsListView','57miwAUq','2ZLfaCa','assign','cancel','commentInputView','bind','removeComment','isActive','isDirty','8355285JUiXIJ','77372wJEdpm','2443ERIMIK','_createCommentViews','setData','destroy'];_0x5948=function(){return _0x335e41;};return _0x5948();}const _0x56c423=_0xff39;(function(_0x17a864,_0x59dd37){const _0x56cc10=_0xff39,_0x1bb620=_0x17a864();while(!![]){try{const _0x21b012=-parseInt(_0x56cc10(0x104))/0x1*(-parseInt(_0x56cc10(0xec))/0x2)+-parseInt(_0x56cc10(0x103))/0x3*(-parseInt(_0x56cc10(0x10d))/0x4)+-parseInt(_0x56cc10(0x101))/0x5*(parseInt(_0x56cc10(0xf2))/0x6)+parseInt(_0x56cc10(0x10e))/0x7*(-parseInt(_0x56cc10(0xee))/0x8)+-parseInt(_0x56cc10(0x10c))/0x9+parseInt(_0x56cc10(0xf1))/0xa+parseInt(_0x56cc10(0x115))/0xb*(parseInt(_0x56cc10(0xe9))/0xc);if(_0x21b012===_0x59dd37)break;else _0x1bb620['push'](_0x1bb620['shift']());}catch(_0x189e5c){_0x1bb620['push'](_0x1bb620['shift']());}}}(_0x5948,0x88fbc));import{View as _0x11ae6a}from'ckeditor5/src/ui.js';export default class es extends _0x11ae6a{constructor(_0x57cd69,_0x2325c6,_0x379470,_0x25b88c){const _0x4a7a4f=_0xff39;super(_0x57cd69),this[_0x4a7a4f(0x102)]=null,this[_0x4a7a4f(0xf3)]=null,this[_0x4a7a4f(0xf0)](_0x4a7a4f(0x10a),!0x1),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0xfc),_0x2325c6[_0x4a7a4f(0xfc)]),this[_0x4a7a4f(0x108)](_0x4a7a4f(0xfc))['to'](_0x2325c6),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0x112),[]),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0x10b),!0x1),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0x116),!0x1),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0xf7),!0x1),this[_0x4a7a4f(0xf0)](_0x4a7a4f(0xf8),!0x1),this[_0x4a7a4f(0xe8)]=_0x2325c6,this[_0x4a7a4f(0xef)]=_0x379470,this[_0x4a7a4f(0xed)]=_0x25b88c,_0x25b88c[_0x4a7a4f(0xf4)]?this[_0x4a7a4f(0xf0)](_0x4a7a4f(0xfe),0x1):this[_0x4a7a4f(0x10f)]();}[_0x56c423(0xf6)](){const _0x3df042=_0x56c423;this[_0x3df042(0xfb)][_0x3df042(0xf6)]();}[_0x56c423(0x111)](){const _0x3a4119=_0x56c423;this[_0x3a4119(0x102)]&&this[_0x3a4119(0x102)][_0x3a4119(0x111)](),this[_0x3a4119(0xf3)]&&this[_0x3a4119(0xf3)][_0x3a4119(0x111)](),super[_0x3a4119(0x111)]();}[_0x56c423(0x10f)](){const _0x309d86=_0x56c423,{CommentsListView:_0x5b2a53}=this[_0x309d86(0xed)];this[_0x309d86(0x102)]=new _0x5b2a53(this[_0x309d86(0xe5)],this[_0x309d86(0xe8)][_0x309d86(0xe7)],Object[_0x309d86(0x105)]({'CommentView':this[_0x309d86(0xed)][_0x309d86(0xfa)]},this[_0x309d86(0xed)])),this[_0x309d86(0x102)][_0x309d86(0xff)](_0x309d86(0x109))['to'](this),this[_0x309d86(0x102)][_0x309d86(0xff)](_0x309d86(0xe2))['to'](this),this[_0x309d86(0x102)][_0x309d86(0x108)](_0x309d86(0x10a))['to'](this),this[_0x309d86(0xf0)](_0x309d86(0xfe),this[_0x309d86(0x102)][_0x309d86(0xfe)]+0x1),this[_0x309d86(0x108)](_0x309d86(0xfe))['to'](this[_0x309d86(0x102)],_0x309d86(0xfe),_0x371bcb=>_0x371bcb+0x1),this[_0x309d86(0xf3)]=this[_0x309d86(0xeb)](),this['on'](_0x309d86(0x109),()=>this[_0x309d86(0xf6)]()),this[_0x309d86(0x108)](_0x309d86(0x10b))['to'](this[_0x309d86(0x102)],_0x309d86(0x113),this[_0x309d86(0xf3)][_0x309d86(0x107)],_0x309d86(0xe3),(_0x23f5df,_0x271e66)=>_0x23f5df||!!_0x271e66);}[_0x56c423(0xeb)](){const _0x4705ef=_0x56c423,{CommentThreadInputView:_0x5e6e75}=this[_0x4705ef(0xed)],_0x47df7d=new _0x5e6e75(this[_0x4705ef(0xe5)],this[_0x4705ef(0xef)],this[_0x4705ef(0xed)][_0x4705ef(0xe4)]),_0x217efb=_0x47df7d[_0x4705ef(0x107)];return _0x47df7d[_0x4705ef(0x108)](_0x4705ef(0x100))['to'](this,_0x4705ef(0x10a),this[_0x4705ef(0xe8)][_0x4705ef(0xe7)],_0x4705ef(0xfd),_0x217efb,_0x4705ef(0xe3),(_0x3d2cf6,_0x39aaef,_0x423c51)=>!!_0x423c51||_0x3d2cf6&&!_0x39aaef),_0x217efb['on'](_0x4705ef(0xf5),(_0x4e61fa,_0x190c69)=>{const _0x1aa856=_0x4705ef;this[_0x1aa856(0xe6)](_0x1aa856(0x114),_0x190c69),_0x217efb[_0x1aa856(0xf9)][_0x1aa856(0x110)]('');}),_0x217efb['on'](_0x4705ef(0x106),()=>this[_0x4705ef(0xf6)]()),_0x217efb[_0x4705ef(0x108)](_0x4705ef(0xea))['to'](this[_0x4705ef(0xe8)][_0x4705ef(0xe7)],_0x4705ef(0xfd)),_0x47df7d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e409e=_0x2971;(function(_0x5f162e,_0x5611c8){const _0x3b449a=_0x2971,_0x47ba2e=_0x5f162e();while(!![]){try{const _0x5a5ba2=parseInt(_0x3b449a(0x15d))/0x1*(parseInt(_0x3b449a(0x186))/0x2)+-parseInt(_0x3b449a(0x15e))/0x3*(parseInt(_0x3b449a(0x137))/0x4)+parseInt(_0x3b449a(0x176))/0x5*(-parseInt(_0x3b449a(0x14a))/0x6)+parseInt(_0x3b449a(0x129))/0x7*(-parseInt(_0x3b449a(0x188))/0x8)+parseInt(_0x3b449a(0x16e))/0x9*(-parseInt(_0x3b449a(0x18a))/0xa)+parseInt(_0x3b449a(0x136))/0xb+parseInt(_0x3b449a(0x171))/0xc;if(_0x5a5ba2===_0x5611c8)break;else _0x47ba2e['push'](_0x47ba2e['shift']());}catch(_0x25aee4){_0x47ba2e['push'](_0x47ba2e['shift']());}}}(_0x9c59,0x5a5be));import{getTranslation as _0xfc4de9}from'../../utils/common-translations.js';function _0x9c59(){const _0x5dda5e=['div','7321083AyNLvG','125448yDYcEB','editorReady','Discard\x20suggestion','userView','push','isExternal','\x22></span>','ck-annotation__main','querySelector','canAccept','<span\x20class=\x22ck-suggestion-type\x22>','ck-annotation','createElement','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','_config','<p>','ck-suggestion-wrapper','formatDateTime','bind','12BZvzqw','type','title','ck-annotation__user','cancel','_createButton','locale','setTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION','value','discardSuggestion','getUserViewNotificationText','.ck-annotation__content-wrapper','getExternalSuggestionNote','execute','</p>','ck-suggestion__info-name','ck-suggestion-wrapper--active','creator','1WWHJBb','48FhDOZb','EXTERNAL_SUGGESTION','check','author','ck-annotation__info-time','span','\x22\x20title=\x22','</span>','change:description','map','innerText','extendTemplate','content','render','isActive','color','9YTAKbU','attributes','delegate','9970728XYATIE','time','getTemplate','@external','acceptButton','422490WuDuJn','authoredAt','ck-annotation__info','join','disableComments','ck-annotation__actions','description','_model','importWord','ck-suggestion__actions','source','innerHTML','ck-suggestion__user','commentThreadInputView','name','children','326516lnIzRU','ck-comment__external','104heqOPW','_descriptionElement','3392810ZgEGjS','ck-suggestion__info','element','canDiscard','commentThread','ck-comment__info-time','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_AVATAR','isEnabled','EXTERNAL_AVATAR','ck-suggestion--accept','ck-suggestion-','split','Accept\x20suggestion','ck-suggestion--disabled-comments','ck-suggestion__main','150514dTxqQX','ck-annotation__info-name','editorDestroyed','ck-suggestion--discard','discardButton','descriptionParts','fire','ck-suggestion','acceptSuggestion','commentsListView','bindTemplate','set'];_0x9c59=function(){return _0x5dda5e;};return _0x9c59();}import{default as _0x10a9f0}from'./basesuggestionthreadview.js';import{ButtonView as _0x42924c}from'ckeditor5/src/ui.js';import{icons as _0xa4a4f8}from'ckeditor5/src/core.js';import{trimHtml as _0x7a6829,UserView as _0x4f51ba}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x10a9f0{constructor(_0xa17efc,_0x4fd91b,_0x3a26a6,_0x5df2ab){const _0x3fe1c8=_0x2971;super(_0xa17efc,_0x4fd91b,_0x3a26a6,_0x5df2ab),this[_0x3fe1c8(0x134)](_0x3fe1c8(0x14b),''),this[_0x3fe1c8(0x149)](_0x3fe1c8(0x14b))['to'](this,_0x3fe1c8(0x12e),_0x1c94d8=>_0x1c94d8&&_0x1c94d8[0x0]?_0x1c94d8[0x0][_0x3fe1c8(0x14b)]:''),this[_0x3fe1c8(0x149)](_0x3fe1c8(0x17c))['to'](this,_0x3fe1c8(0x12e),this,_0x3fe1c8(0x16c),(_0x383bf1,_0x1692d8)=>{const _0x27770e=_0x3fe1c8;let _0x183615='';for(const _0x43b7c9 of _0x383bf1)_0x183615+=_0x27770e(0x146)+ds(_0x43b7c9[_0x27770e(0x16a)],_0x43b7c9[_0x27770e(0x16d)])+_0x27770e(0x159);return _0x1692d8?_0x183615:_0x7a6829(_0x183615,{'limit':0x8c});}),this[_0x3fe1c8(0x189)]=null,this[_0x3fe1c8(0x175)]=this[_0x3fe1c8(0x14f)](_0xfc4de9(_0xa17efc,_0x3fe1c8(0x126)),_0xa4a4f8[_0x3fe1c8(0x160)],_0x3fe1c8(0x123),_0x3fe1c8(0x131),'sw'),this[_0x3fe1c8(0x175)][_0x3fe1c8(0x149)](_0x3fe1c8(0x121))['to'](this,_0x3fe1c8(0x140)),this[_0x3fe1c8(0x12d)]=this[_0x3fe1c8(0x14f)](_0xfc4de9(_0xa17efc,_0x3fe1c8(0x139)),_0xa4a4f8[_0x3fe1c8(0x14e)],_0x3fe1c8(0x12c),_0x3fe1c8(0x154),'sw'),this[_0x3fe1c8(0x12d)][_0x3fe1c8(0x149)](_0x3fe1c8(0x121))['to'](this,_0x3fe1c8(0x18d)),this[_0x3fe1c8(0x13a)]=new _0x4f51ba(_0xa17efc,this[_0x3fe1c8(0x17d)][_0x3fe1c8(0x161)],this[_0x3fe1c8(0x155)]()),this[_0x3fe1c8(0x13a)][_0x3fe1c8(0x169)]({'attributes':{'class':[_0x3fe1c8(0x182),_0x3fe1c8(0x14d)]}}),this[_0x3fe1c8(0x151)](this[_0x3fe1c8(0x173)]());}[_0x3e409e(0x173)](){const _0x3ff301=_0x3e409e,_0x3b04ae=this[_0x3ff301(0x133)],_0x59bf1b=[{'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x18b),_0x3ff301(0x178)]},'children':[{'tag':_0x3ff301(0x163),'children':[{'text':this[_0x3ff301(0x13a)][_0x3ff301(0x184)]}],'attributes':{'class':[_0x3ff301(0x15a),_0x3ff301(0x12a)]}},{'tag':_0x3ff301(0x172),'attributes':{'datetime':_0x3b04ae['to'](_0x3ff301(0x177)),'class':[_0x3ff301(0x11e),_0x3ff301(0x162)]},'children':[{'text':_0x3b04ae['to'](_0x3ff301(0x177),_0x2892ae=>this[_0x3ff301(0x145)][_0x3ff301(0x148)](_0x2892ae))}]}]},{'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x17f),_0x3ff301(0x17b)]},'children':[this[_0x3ff301(0x175)],this[_0x3ff301(0x12d)]]},{'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x11f)]}}];this[_0x3ff301(0x17d)][_0x3ff301(0x13c)]&&_0x59bf1b[_0x3ff301(0x13b)]({'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x187)]},'children':[{'text':this[_0x3ff301(0x157)]()}]});const _0xd98db6={'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x147),_0x3b04ae['if'](_0x3ff301(0x16c),_0x3ff301(0x15b)),_0x3b04ae['to'](_0x3ff301(0x14b),_0x509717=>_0x3ff301(0x124)+_0x509717),this[_0x3ff301(0x145)][_0x3ff301(0x17a)]&&_0x3ff301(0x127)],'data-suggestion-id':this[_0x3ff301(0x17d)]['id'],'data-thread-id':this[_0x3ff301(0x17d)][_0x3ff301(0x11d)]['id'],'data-author-id':this[_0x3ff301(0x17d)][_0x3ff301(0x161)]['id'],'tabindex':-0x1},'children':[{'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x130),_0x3ff301(0x142)]},'children':[this[_0x3ff301(0x13a)],{'tag':_0x3ff301(0x135),'attributes':{'class':[_0x3ff301(0x128),_0x3ff301(0x13e)]},'children':_0x59bf1b}]}]};return this[_0x3ff301(0x132)]&&this[_0x3ff301(0x183)]&&(_0xd98db6[_0x3ff301(0x185)][_0x3ff301(0x13b)](this[_0x3ff301(0x132)],this[_0x3ff301(0x183)]),this[_0x3ff301(0x132)][_0x3ff301(0x170)](_0x3ff301(0x138))['to'](this),this[_0x3ff301(0x132)][_0x3ff301(0x170)](_0x3ff301(0x12b))['to'](this),this[_0x3ff301(0x183)][_0x3ff301(0x170)](_0x3ff301(0x138))['to'](this),this[_0x3ff301(0x183)][_0x3ff301(0x170)](_0x3ff301(0x12b))['to'](this)),_0xd98db6;}[_0x3e409e(0x16b)](){const _0x40338e=_0x3e409e;super[_0x40338e(0x16b)](),this[_0x40338e(0x189)]=this[_0x40338e(0x18c)][_0x40338e(0x13f)](_0x40338e(0x156)),this[_0x40338e(0x189)][_0x40338e(0x181)]=this[_0x40338e(0x17c)],this['on'](_0x40338e(0x166),(_0x3a42a2,_0x4fdf50,_0x59989d)=>{const _0x2698f3=_0x40338e;this[_0x2698f3(0x189)][_0x2698f3(0x181)]=_0x59989d;});}[_0x3e409e(0x14f)](_0x5f4776,_0x24f4f1,_0x2bbe9b,_0x3a1ebe,_0x7befa3){const _0x4bf66e=_0x3e409e,_0x5903fb=new _0x42924c(this[_0x4bf66e(0x150)]);return _0x5903fb[_0x4bf66e(0x134)]({'label':_0x5f4776,'icon':_0x24f4f1,'tooltip':!0x0,'tooltipPosition':_0x7befa3}),_0x5903fb[_0x4bf66e(0x169)]({'attributes':{'class':_0x2bbe9b}}),_0x5903fb['on'](_0x4bf66e(0x158),()=>{const _0x35314a=_0x4bf66e;this[_0x35314a(0x12f)](_0x3a1ebe,this[_0x35314a(0x17d)]['id']);}),_0x5903fb;}[_0x3e409e(0x157)](){const _0x513fc0=_0x3e409e;return _0x513fc0(0x17e)===this[_0x513fc0(0x17d)][_0x513fc0(0x16f)][_0x513fc0(0x174)][_0x513fc0(0x180)]?_0xfc4de9(this[_0x513fc0(0x150)],_0x513fc0(0x152)):_0xfc4de9(this[_0x513fc0(0x150)],_0x513fc0(0x15f));}[_0x3e409e(0x155)](){const _0x8dfbb7=_0x3e409e;return this[_0x8dfbb7(0x17d)][_0x8dfbb7(0x13c)]?_0x8dfbb7(0x17e)===this[_0x8dfbb7(0x17d)][_0x8dfbb7(0x16f)][_0x8dfbb7(0x174)][_0x8dfbb7(0x180)]?_0xfc4de9(this[_0x8dfbb7(0x150)],_0x8dfbb7(0x120),this[_0x8dfbb7(0x17d)][_0x8dfbb7(0x15c)][_0x8dfbb7(0x184)]):_0xfc4de9(this[_0x8dfbb7(0x150)],_0x8dfbb7(0x122),this[_0x8dfbb7(0x17d)][_0x8dfbb7(0x15c)][_0x8dfbb7(0x184)]):null;}}function ds(_0x3aeece,_0xe1c043){const _0x4bad98=_0x3e409e;let _0x183787='';return _0x183787+=_0x3aeece[_0x4bad98(0x125)]('*')[_0x4bad98(0x167)]((_0x1d99f3,_0x28b64d)=>_0x28b64d%0x2!=0x0?_0x4bad98(0x141)+us(_0x1d99f3)+_0x4bad98(0x165):us(_0x1d99f3))[_0x4bad98(0x179)](''),_0xe1c043&&(_0x183787+=_0x4bad98(0x144)+_0xe1c043[_0x4bad98(0x153)]+_0x4bad98(0x164)+_0xe1c043[_0x4bad98(0x14c)]+_0x4bad98(0x13d)),_0x183787;}function _0x2971(_0x50f24d,_0x4cdf41){const _0x9c5911=_0x9c59();return _0x2971=function(_0x2971ec,_0x233702){_0x2971ec=_0x2971ec-0x11d;let _0x5e09d8=_0x9c5911[_0x2971ec];return _0x5e09d8;},_0x2971(_0x50f24d,_0x4cdf41);}function us(_0x44c653){const _0x11c720=_0x3e409e,_0x337818=document[_0x11c720(0x143)](_0x11c720(0x163));return _0x337818[_0x11c720(0x168)]=_0x44c653,_0x337818[_0x11c720(0x181)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x32e4a2,_0x5bf21c,_0x3bfad5){const t=_0x32e4a2['t'];switch(_0x5bf21c){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',_0x3bfad5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3bfad5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3bfad5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3bfad5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3bfad5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3bfad5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3bfad5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3bfad5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3bfad5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3bfad5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3bfad5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3bfad5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3bfad5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3bfad5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3bfad5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3bfad5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3bfad5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3bfad5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3bfad5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3bfad5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3bfad5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3bfad5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3bfad5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3bfad5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3bfad5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3bfad5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);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 _0x5bf21c;}}
|
|
23
|
+
export function getTranslation(_0x2f47d5,_0x4a2364,_0x2b0281){const t=_0x2f47d5['t'];switch(_0x4a2364){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',_0x2b0281);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2b0281);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2b0281);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2b0281);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2b0281);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',_0x2b0281);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2b0281);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',_0x2b0281);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2b0281);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2b0281);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2b0281);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2b0281);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2b0281);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2b0281);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2b0281);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2b0281);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2b0281);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2b0281);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2b0281);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2b0281);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2b0281);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2b0281);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2b0281);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'},_0x2b0281);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2b0281);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2b0281);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2b0281);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2b0281);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2b0281);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'},_0x2b0281);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2b0281);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2b0281);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2b0281);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2b0281);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'},_0x2b0281);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2b0281);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'},_0x2b0281);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'},_0x2b0281);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2b0281);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'},_0x2b0281);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2b0281);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'},_0x2b0281);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2b0281);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2b0281);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'},_0x2b0281);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'},_0x2b0281);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 _0x4a2364;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ba5e3,_0x165659){const _0xfd8f9a=_0x403c,_0x5b818d=_0x4ba5e3();while(!![]){try{const _0x3f8ef3=-parseInt(_0xfd8f9a(0x17b))/0x1+-parseInt(_0xfd8f9a(0x184))/0x2+-parseInt(_0xfd8f9a(0x15e))/0x3*(parseInt(_0xfd8f9a(0x178))/0x4)+parseInt(_0xfd8f9a(0x167))/0x5+parseInt(_0xfd8f9a(0x17e))/0x6+parseInt(_0xfd8f9a(0x182))/0x7*(parseInt(_0xfd8f9a(0x17a))/0x8)+parseInt(_0xfd8f9a(0x176))/0x9*(parseInt(_0xfd8f9a(0x172))/0xa);if(_0x3f8ef3===_0x165659)break;else _0x5b818d['push'](_0x5b818d['shift']());}catch(_0x4fc591){_0x5b818d['push'](_0x5b818d['shift']());}}}(_0x1fbb,0x33f06));export function normalizeDescription(_0x4a26bc){const _0xbca44e=_0x403c;return Array[_0xbca44e(0x170)](_0x4a26bc)||(_0x4a26bc=[_0x4a26bc]),_0x4a26bc[_0xbca44e(0x15c)](_0x5419af=>{const _0x3746ec=_0xbca44e,_0x5965ec=_0x5419af[_0x3746ec(0x177)][_0x3746ec(0x169)](/\*/g,''),_0x7bb537=_0x5419af[_0x3746ec(0x180)]?_0x3746ec(0x15b)+_0x5419af[_0x3746ec(0x180)][_0x3746ec(0x15d)]+']':'';return'['+_0x5419af[_0x3746ec(0x16c)]+']\x20'+_0x5965ec+_0x7bb537;})[_0xbca44e(0x16d)](';\x20');}export function sortSuggestions(_0x3dc820){const _0x3dc3a6=_0x403c;return _0x3dc820[_0x3dc3a6(0x175)]((_0x2f8b8f,_0x35c980)=>_0x3dc3a6(0x161)==_0x2f8b8f[_0x3dc3a6(0x16c)]&&_0x3dc3a6(0x161)!=_0x35c980[_0x3dc3a6(0x16c)]?-0x1:_0x3dc3a6(0x161)!=_0x2f8b8f[_0x3dc3a6(0x16c)]&&_0x3dc3a6(0x161)==_0x35c980[_0x3dc3a6(0x16c)]?0x1:0x0);}function _0x1fbb(){const _0x58e4c8=['959788TUEDNm','from','400WcceDj','72701MKaeCG','execute','getRanges','1904514OsVymj','createPositionAfter','color','createPositionAt','10381LAQGZW','length','808974sJKlUD','createPositionBefore','\x20[color\x20','map','value','3IfHshM','isInContent','schema','deletion','isTouching','splice','push','isIntersecting','isMultiRange','413145urJBkV','next','replace','isCollapsed','start','type','join','isObject','add','isArray','end','216990MQNSbq','createRange','change','sort','189FKLJzI','content'];_0x1fbb=function(){return _0x58e4c8;};return _0x1fbb();}export function getSelectedSuggestions(_0x5bb4c2,_0x4c323f){const _0x30ea3c=_0x403c,_0x5405e5=Array[_0x30ea3c(0x179)](_0x5bb4c2[_0x30ea3c(0x17d)]()),_0x1d7c57=new Set();for(const _0x1b03e0 of _0x4c323f)if(_0x1b03e0[_0x30ea3c(0x15f)]){for(const _0x2e0bb5 of _0x5405e5)for(const _0x1a41e1 of _0x1b03e0[_0x30ea3c(0x17d)]())(_0x2e0bb5[_0x30ea3c(0x165)](_0x1a41e1)||_0x5bb4c2[_0x30ea3c(0x16a)]&&!_0x1b03e0[_0x30ea3c(0x166)]&&_0x1b03e0[_0x30ea3c(0x168)]&&_0x1a41e1[_0x30ea3c(0x171)][_0x30ea3c(0x162)](_0x2e0bb5[_0x30ea3c(0x16b)]))&&_0x1d7c57[_0x30ea3c(0x16f)](_0x1b03e0);}return _0x1d7c57;}export function getRangesOfBlockGroups(_0x218f54,_0x46547e){const _0x4361b8=_0x403c;let _0x4f5059,_0x5c8245=0x0;const _0x484954=[],_0x30e6c4=_0x46547e[_0x4361b8(0x160)];for(;_0x5c8245<_0x218f54[_0x4361b8(0x183)];){const _0x24c9c7=_0x218f54[_0x5c8245],_0x306840=_0x218f54[_0x5c8245+0x1];_0x4f5059||(_0x4f5059=_0x46547e[_0x4361b8(0x185)](_0x24c9c7)),co(_0x46547e,_0x24c9c7,_0x306840)||(_0x484954[_0x4361b8(0x164)](_0x46547e[_0x4361b8(0x173)](_0x4f5059,_0x30e6c4[_0x4361b8(0x16e)](_0x24c9c7)?_0x46547e[_0x4361b8(0x17f)](_0x24c9c7):_0x46547e[_0x4361b8(0x181)](_0x24c9c7,_0x4361b8(0x171)))),_0x4f5059=null),_0x5c8245++;}return _0x484954;}function co(_0x5e5f59,_0x23cd64,_0x145a8e){const _0x3c9a4c=_0x403c;if(!_0x145a8e)return!0x1;const _0x16cd2b=_0x5e5f59[_0x3c9a4c(0x17f)](_0x23cd64),_0x31bb45=_0x5e5f59[_0x3c9a4c(0x185)](_0x145a8e);return _0x16cd2b[_0x3c9a4c(0x162)](_0x31bb45);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x403c(_0x363c3d,_0x2db67b){const _0x1fbb8e=_0x1fbb();return _0x403c=function(_0x403cf1,_0x390a1b){_0x403cf1=_0x403cf1-0x15b;let _0xa270fa=_0x1fbb8e[_0x403cf1];return _0xa270fa;},_0x403c(_0x363c3d,_0x2db67b);}export function executeCommandForSuggestions(_0x8a1944,_0x1ed98f,_0x1be267){const _0x41a203=_0x403c;for(;_0x1be267[_0x41a203(0x183)];){const _0x48c2d3=_0x1be267[_0x41a203(0x163)](0x0,0x64);_0x8a1944[_0x41a203(0x174)](()=>{const _0x4df6ac=_0x41a203;for(const _0x488e72 of _0x48c2d3)_0x488e72[_0x4df6ac(0x15f)]&&_0x1ed98f[_0x4df6ac(0x17c)](_0x488e72['id']);});}}
|