@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240626.1
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
|
-
function _0x3f7b(){const _0x2bbeaf=['TrackChangesUI','_annotationViews','_destroyController','lowest','getJoined','registerAnnotation','isDirty','discardButton','comments.maxThreadTotalWeight','18sGKaLy','comments.editorConfig','1199345UaJmGz','editing','execute','plugins','actionView','stopListening','type','5hyNEbq','delete','Annotations','keys','_updateController','size','acceptAllSuggestions','getMarkerNames','_handleSuggestionControllerDelayed','298696cYZgac','_refreshActiveMarkers','_suggestionToController','view','731214XwCCZi','activeMarkers','EditorAnnotations','menu','isOn','trackChanges.disableComments','SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','descriptionFactory','delegate','getByInnerView','comments.maxCommentCharsWhenCollapsed','CommentView','get','arrowView','addSourceCollector','from','suggestionUnloaded','reduce','mainView','Discard\x20all\x20suggestions','switchbutton','locale','filter','comments.maxCommentsWhenCollapsed','button','getRanges','commandName','getSuggestion','menuitem','menuBar:trackChanges','CommentsRepository','_viewToController','discardAllSuggestions','createCommentThreadController','activeAnnotations','suggestion-','listenTo','Track\x20changes','add','_createToolbarButton','separator','menuitemcheckbox','children','requires','149598MoiGyS','destroy','CommentsUI','hasSuggestion','_bindAnnotationToEditors','227402dGIpgA','toMany','_handleControllerBuffer','innerView','clear','refreshSelectedViews','change:activeAnnotations','discardSelectedSuggestions','panelView','_disableComments','has','suggestionChanged','set','descriptionParts','bind','length','createAnnotation','remove','_initializeController','trackChanges','Accept\x20all\x20suggestions','commentThread','isEnabled','acceptButton','value','buttonView','push','config','getMarkers','220440shwwTC','init','model','isMultiRange','trackChanges.SuggestionThreadView','focus','define','_unbindEditors','previous','some','suggestionLoaded','551312uUbuwC','change:previous','source','isInContent','pluginName','createAnnotationView','Accept\x20all\x20selected\x20suggestions','componentFactory','_createMenuBarMenu','_addUIComponentsToFactory','commands','head','comments','unbind','acceptSelectedSuggestions','editor','items','TrackChangesEditing','getFirstRange','values','getDescriptions','addComment','getAllAdjacentSuggestions'];_0x3f7b=function(){return _0x2bbeaf;};return _0x3f7b();}const _0x7971eb=_0x3862;(function(_0x676355,_0x5e3414){const _0x5d61c8=_0x3862,_0x41ee9f=_0x676355();while(!![]){try{const _0x565299=parseInt(_0x5d61c8(0x189))/0x1+-parseInt(_0x5d61c8(0x18e))/0x2+parseInt(_0x5d61c8(0x1ab))/0x3+parseInt(_0x5d61c8(0x126))/0x4+-parseInt(_0x5d61c8(0x14f))/0x5*(-parseInt(_0x5d61c8(0x15c))/0x6)+-parseInt(_0x5d61c8(0x148))/0x7+parseInt(_0x5d61c8(0x158))/0x8*(-parseInt(_0x5d61c8(0x146))/0x9);if(_0x565299===_0x5e3414)break;else _0x41ee9f['push'](_0x41ee9f['shift']());}catch(_0x52bab8){_0x41ee9f['push'](_0x41ee9f['shift']());}}}(_0x3f7b,0x1e0b9));import{Plugin as _0x55dbf3}from'ckeditor5/src/core.js';function _0x3862(_0x57964a,_0x382531){const _0x3f7b46=_0x3f7b();return _0x3862=function(_0x3862e0,_0x46dc5e){_0x3862e0=_0x3862e0-0x125;let _0xa43cee=_0x3f7b46[_0x3862e0];return _0xa43cee;},_0x3862(_0x57964a,_0x382531);}import{Collection as _0x256e81}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x514612,createDropdown as _0x303e86,ListSeparatorView as _0x479d23,MenuBarMenuView as _0x25b729,MenuBarMenuListView as _0x2ef346,MenuBarMenuListItemView as _0x2cd69a,MenuBarMenuListItemButtonView as _0x441c24,SplitButtonView as _0x1fa444,ViewModel as _0x30f4ba}from'ckeditor5/src/ui.js';import{Users as _0xeb5567,getDateTimeFormatter as _0x5c127e,getAllMarkersDomElementsSorted as _0x38b42e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb94a6 from'./trackchangesediting.js';import _0x10a28b from'./ui/suggestioncontroller.js';import _0x3e2bc7 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x32282f}from'./utils/common-translations.js';import _0x172f4b from'../theme/icons/track-changes.svg';export default class d extends _0x55dbf3{static get[_0x7971eb(0x188)](){const _0x4bdd91=_0x7971eb;return[_0xb94a6,_0xeb5567,_0x4bdd91(0x17b),_0x4bdd91(0x151),_0x4bdd91(0x15e)];}static get[_0x7971eb(0x12a)](){const _0x3d3cdb=_0x7971eb;return _0x3d3cdb(0x13d);}constructor(_0x26a98c){const _0x3c7ae7=_0x7971eb;super(_0x26a98c),this[_0x3c7ae7(0x15a)]=new Map(),this[_0x3c7ae7(0x17c)]=new Map(),this[_0x3c7ae7(0x13e)]=new Map(),this[_0x3c7ae7(0x190)]=new Map();const _0x3043dc=this[_0x3c7ae7(0x135)][_0x3c7ae7(0x1a9)];_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x1af),_0x3e2bc7),_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x161),!0x1),this[_0x3c7ae7(0x197)]=_0x3043dc[_0x3c7ae7(0x169)](_0x3c7ae7(0x161));}[_0x7971eb(0x157)](_0x569d23,_0x3cd56f){const _0x5a2dcc=_0x7971eb;0x0===this[_0x5a2dcc(0x190)][_0x5a2dcc(0x154)]&&setTimeout(()=>{const _0x47e4a9=_0x5a2dcc;for(const [_0x1d6e5f,_0x23d3e4]of this[_0x47e4a9(0x190)]){const _0x1a5f6c=this[_0x47e4a9(0x15a)][_0x47e4a9(0x198)](_0x1d6e5f);_0x1a5f6c||_0x23d3e4?_0x1a5f6c&&_0x23d3e4&&this[_0x47e4a9(0x13f)](_0x1d6e5f):this[_0x47e4a9(0x1a0)](_0x1d6e5f);}this[_0x47e4a9(0x190)][_0x47e4a9(0x192)](),this[_0x47e4a9(0x135)][_0x47e4a9(0x14b)][_0x47e4a9(0x169)](_0x47e4a9(0x15e))[_0x47e4a9(0x193)](),this[_0x47e4a9(0x159)]();},0xa),this[_0x5a2dcc(0x190)][_0x5a2dcc(0x19a)](_0x569d23,_0x3cd56f);}[_0x7971eb(0x1ac)](){const _0x1bfeea=_0x7971eb,_0x103917=this[_0x1bfeea(0x135)],_0x582894=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x137)),_0x4673e1=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x151)),_0x2e4d1b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x15e)),_0x5bbd7b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x17b));this[_0x1bfeea(0x12f)](),_0x2e4d1b[_0x1bfeea(0x16b)](()=>{const _0x26ded6=_0x1bfeea,_0x4e3293=[];for(const [_0x4296aa,_0x9f8db4]of Array[_0x26ded6(0x16c)](this[_0x26ded6(0x15a)])){const _0x4985d4=_0x4296aa[_0x26ded6(0x13c)](),_0x48f58c=[];for(const _0x2f995e of _0x4985d4){if(!_0x2f995e[_0x26ded6(0x129)])continue;if(_0x2f995e[_0x26ded6(0x1ae)]){_0x48f58c[_0x26ded6(0x1a8)](..._0x2f995e[_0x26ded6(0x176)]());continue;}const _0x1a5693=_0x2f995e[_0x26ded6(0x138)]();if(_0x48f58c[_0x26ded6(0x19d)]>0x0){const _0x2cba50=_0x48f58c[0x0][_0x26ded6(0x141)](_0x1a5693);if(_0x2cba50){_0x48f58c[0x0]=_0x2cba50;continue;}}_0x48f58c[_0x26ded6(0x1a8)](_0x1a5693);}_0x4e3293[_0x26ded6(0x1a8)]([_0x9f8db4[_0x26ded6(0x15b)],_0x48f58c]);}return _0x4e3293;}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x125),(_0xa9331,_0xa19fc)=>{const _0x180dc6=_0x1bfeea;this[_0x180dc6(0x181)](_0xa19fc,_0x180dc6(0x127),(_0x552dfe,_0x39a22e,_0x3c82dd,_0x13847f)=>{const _0x549e17=_0x180dc6;_0xa19fc[_0x549e17(0x129)]&&(null==_0x3c82dd?(this[_0x549e17(0x153)](_0x13847f[_0x549e17(0x131)]),this[_0x549e17(0x157)](_0xa19fc,!0x1)):(this[_0x549e17(0x153)](_0x3c82dd[_0x549e17(0x131)]),null==_0x13847f&&this[_0x549e17(0x157)](_0xa19fc,!0x0)));}),null!==_0xa19fc[_0x180dc6(0x1b3)]?this[_0x180dc6(0x153)](_0xa19fc[_0x180dc6(0x131)]):this[_0x180dc6(0x157)](_0xa19fc,!0x1);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x16d),(_0x561b93,_0x54e91d,_0x514495)=>{const _0x324ed6=_0x1bfeea;this[_0x324ed6(0x14d)](_0x54e91d,_0x324ed6(0x127)),this[_0x324ed6(0x190)][_0x324ed6(0x150)](_0x54e91d),this[_0x324ed6(0x15a)][_0x324ed6(0x198)](_0x54e91d)&&this[_0x324ed6(0x13f)](_0x54e91d),_0x514495&&this[_0x324ed6(0x153)](_0x514495[_0x324ed6(0x131)]);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x199),(_0x425136,_0xa2bbc6)=>{const _0x3c87de=_0x1bfeea;this[_0x3c87de(0x153)](_0xa2bbc6);}),this[_0x1bfeea(0x181)](_0x4673e1,_0x1bfeea(0x194),()=>{const _0x1cb666=_0x1bfeea;this[_0x1cb666(0x159)]();}),this[_0x1bfeea(0x181)](_0x5bbd7b,_0x1bfeea(0x13b),(_0x1236f5,{threadId:_0x2462d6,isFromAdapter:_0x2ce3ef})=>{const _0x50f51e=_0x1bfeea;if(_0x2ce3ef||!_0x582894[_0x50f51e(0x18c)](_0x2462d6))return;const _0x17d662=_0x582894[_0x50f51e(0x178)](_0x2462d6);this[_0x50f51e(0x15a)][_0x50f51e(0x169)](_0x17d662)[_0x50f51e(0x15b)][_0x50f51e(0x1b0)]();},{'priority':_0x1bfeea(0x140)});}[_0x7971eb(0x159)](){const _0x509f67=_0x7971eb,_0x5d9701=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x151)),_0x1f5480=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x137)),_0x3b2450=Array[_0x509f67(0x16c)](_0x5d9701[_0x509f67(0x17f)],_0x49cf78=>_0x49cf78[_0x509f67(0x191)])[_0x509f67(0x173)](_0x27e044=>this[_0x509f67(0x17c)][_0x509f67(0x198)](_0x27e044)),_0x3fce00=[];for(const _0x1df190 of _0x3b2450){const _0x3c4a7e=this[_0x509f67(0x17c)][_0x509f67(0x169)](_0x1df190)[_0x509f67(0x1ad)][_0x509f67(0x13c)]();_0x3fce00[_0x509f67(0x1a8)](..._0x3c4a7e[_0x509f67(0x16e)]((_0x3b3453,_0x3c6597)=>[..._0x3b3453,..._0x3c6597[_0x509f67(0x156)]()],[]));}_0x1f5480[_0x509f67(0x15d)]=_0x3fce00;}[_0x7971eb(0x12f)](){const _0x274932=_0x7971eb,_0x224a04=this[_0x274932(0x135)],_0x58f442=_0x224a04[_0x274932(0x172)],_0x20bb46=_0x32282f(_0x58f442,_0x274932(0x182)),_0xe10829=new _0x256e81([{'type':_0x274932(0x171),'model':new _0x30f4ba({'withText':!0x0,'label':_0x20bb46,'commandName':_0x274932(0x1a1),'role':_0x274932(0x186)})},{'type':_0x274932(0x185)},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x1a2)),'commandName':_0x274932(0x155),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x12c)),'commandName':_0x274932(0x134),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x170)),'commandName':_0x274932(0x17d),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x163)),'commandName':_0x274932(0x195),'role':_0x274932(0x179)})}]);for(const _0x553e89 of _0xe10829)if(ae(_0x553e89)){const _0x9d875d=_0x224a04[_0x274932(0x130)][_0x274932(0x169)](_0x553e89[_0x274932(0x1ad)][_0x274932(0x177)]);_0x553e89[_0x274932(0x1ad)][_0x274932(0x19c)](_0x274932(0x160),_0x274932(0x1a4))['to'](_0x9d875d,_0x274932(0x1a6),_0x274932(0x1a4));}_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x1a1),_0x333db3=>this[_0x274932(0x184)](_0x333db3,_0xe10829,_0x20bb46)),_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x17a),_0x427efc=>this[_0x274932(0x12e)](_0x427efc,_0xe10829,_0x20bb46));}[_0x7971eb(0x184)](_0x5a1043,_0x252b38,_0x1a1ba1){const _0x4db4d5=_0x7971eb,_0xf5b258=_0x303e86(_0x5a1043,_0x1fa444),_0x29a9d0=this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x4db4d5(0x1a1));_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19a)]({'tooltip':_0x1a1ba1,'label':_0x1a1ba1,'icon':_0x172f4b}),_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19c)](_0x4db4d5(0x160))['to'](_0x29a9d0,_0x4db4d5(0x1a6)),_0xf5b258[_0x4db4d5(0x1a7)]['on'](_0x4db4d5(0x14a),()=>{const _0x2c332f=_0x4db4d5;_0x29a9d0[_0x2c332f(0x14a)](),this[_0x2c332f(0x135)][_0x2c332f(0x149)][_0x2c332f(0x15b)][_0x2c332f(0x1b0)]();}),_0x514612(_0xf5b258,_0x252b38,{'role':_0x4db4d5(0x15f)});const _0x1993b6=[];for(const _0x174fb4 of _0x252b38)ae(_0x174fb4)&&_0x1993b6[_0x4db4d5(0x1a8)](this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x174fb4[_0x4db4d5(0x1ad)][_0x4db4d5(0x177)]));const _0x4be09c=_0xf5b258[_0x4db4d5(0x1a7)];return _0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))['to'](_0x29a9d0,_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))[_0x4db4d5(0x18f)](_0x1993b6,_0x4db4d5(0x1a4),(..._0x1f0287)=>_0x1f0287[_0x4db4d5(0x1b4)](_0x1d5064=>_0x1d5064)),_0xf5b258['on'](_0x4db4d5(0x14a),_0x3aadfd=>{const _0xbd45c=_0x4db4d5;this[_0xbd45c(0x135)][_0xbd45c(0x14a)](_0x3aadfd[_0xbd45c(0x128)][_0xbd45c(0x177)]),this[_0xbd45c(0x135)][_0xbd45c(0x149)][_0xbd45c(0x15b)][_0xbd45c(0x1b0)]();}),_0xf5b258;}[_0x7971eb(0x12e)](_0x33819d,_0x210275,_0x2ddd1e){const _0x42d793=_0x7971eb,_0x1d22da=new _0x25b729(_0x33819d),_0xbdd473=this[_0x42d793(0x135)][_0x42d793(0x130)][_0x42d793(0x169)](_0x42d793(0x1a1));_0x1d22da[_0x42d793(0x1a7)][_0x42d793(0x19a)]({'label':_0x2ddd1e,'icon':_0x172f4b});const _0x289a4a=new _0x2ef346(_0x33819d);for(const _0x37992c of _0x210275){if(_0x42d793(0x185)==_0x37992c[_0x42d793(0x14e)]){_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](new _0x479d23(_0x33819d));continue;}const _0x1b9d8b=new _0x2cd69a(_0x33819d,_0x1d22da),_0x20cb2c=new _0x441c24(_0x33819d),_0x5e87fd=_0x37992c[_0x42d793(0x1ad)];_0x20cb2c[_0x42d793(0x19c)](...Object[_0x42d793(0x152)](_0x5e87fd))['to'](_0x5e87fd),_0x20cb2c[_0x42d793(0x165)](_0x42d793(0x14a))['to'](_0x1d22da),_0x20cb2c['on'](_0x42d793(0x14a),()=>{const _0x2a12c8=_0x42d793;this[_0x2a12c8(0x135)][_0x2a12c8(0x14a)](_0x5e87fd[_0x2a12c8(0x177)]),this[_0x2a12c8(0x135)][_0x2a12c8(0x149)][_0x2a12c8(0x15b)][_0x2a12c8(0x1b0)]();}),_0x1b9d8b[_0x42d793(0x187)][_0x42d793(0x183)](_0x20cb2c),_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](_0x1b9d8b);}return _0x1d22da[_0x42d793(0x19c)](_0x42d793(0x1a4))['to'](_0xbdd473,_0x42d793(0x1a4)),_0x1d22da[_0x42d793(0x196)][_0x42d793(0x187)][_0x42d793(0x183)](_0x289a4a),_0x1d22da;}[_0x7971eb(0x1a0)](_0x56909f){const _0x4494d8=_0x7971eb,_0x181972=this[_0x4494d8(0x135)],_0x14b56f=_0x181972[_0x4494d8(0x1a9)],_0x53f131=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x151)),_0x2ca852=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x17b)),_0x23344c=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x15e)),_0x2d248a=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0xeb5567)['me'],_0x23b66e=_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x1a1))[_0x4494d8(0x162)],{CommentsListView:_0x3b2b37,CommentThreadInputView:_0x1a1a45}=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x18b));let _0x5c3e09,_0xd76dd9;this[_0x4494d8(0x13e)][_0x4494d8(0x198)](_0x56909f['id'])?(_0xd76dd9=this[_0x4494d8(0x13e)][_0x4494d8(0x169)](_0x56909f['id']),_0x5c3e09=_0xd76dd9[_0x4494d8(0x16f)]):(_0x5c3e09=new _0x23b66e(_0x181972[_0x4494d8(0x172)],_0x56909f,_0x2d248a,{'disableComments':this[_0x4494d8(0x197)],'editorConfig':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x147)),'maxCommentsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x174)),'maxThreadTotalWeight':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x145)),'maxCommentCharsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x167)),'formatDateTime':_0x5c127e(_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x172))),'CommentView':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x132))[_0x4494d8(0x168)],'CommentsListView':_0x3b2b37,'CommentThreadInputView':_0x1a1a45}),_0x5c3e09[_0x4494d8(0x1a5)]['on'](_0x4494d8(0x14a),()=>{const _0x58084c=_0x4494d8;_0x181972[_0x58084c(0x149)][_0x58084c(0x15b)][_0x58084c(0x1b0)]();}),_0x5c3e09[_0x4494d8(0x144)]['on'](_0x4494d8(0x14a),()=>{const _0xc90225=_0x4494d8;_0x181972[_0xc90225(0x149)][_0xc90225(0x15b)][_0xc90225(0x1b0)]();}),_0xd76dd9=_0x53f131[_0x4494d8(0x12b)](this[_0x4494d8(0x135)][_0x4494d8(0x172)],_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x143))['to'](_0x5c3e09,_0x4494d8(0x143)),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x19d))['to'](_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x14e))['to'](_0x5c3e09,_0x4494d8(0x14e),_0x338900=>_0x4494d8(0x180)+_0x338900),this[_0x4494d8(0x13e)][_0x4494d8(0x19a)](_0x56909f['id'],_0xd76dd9));const _0x4aeeeb=_0x2ca852[_0x4494d8(0x17e)](_0x56909f[_0x4494d8(0x1a3)],_0x5c3e09),_0xa37a5c=new _0x10a28b(_0x181972,_0x56909f,_0x5c3e09,_0x4aeeeb),_0x1940d9=_0x56909f[_0x4494d8(0x13c)]()[_0x4494d8(0x173)](_0x5c8104=>_0x5c8104[_0x4494d8(0x129)]);_0x5c3e09[_0x4494d8(0x19b)]=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x137))[_0x4494d8(0x164)][_0x4494d8(0x13a)](_0x1940d9),this[_0x4494d8(0x15a)][_0x4494d8(0x19a)](_0x56909f,_0xa37a5c),this[_0x4494d8(0x17c)][_0x4494d8(0x19a)](_0x5c3e09,_0xa37a5c);const _0x554e82=_0x53f131[_0x4494d8(0x19e)]({'view':_0xd76dd9,'target':()=>{const _0x1ac13e=_0x4494d8,_0x5a0729=[],_0x3ea925=_0x56909f[_0x1ac13e(0x13c)]()[_0x1ac13e(0x173)](_0x4c66f9=>_0x4c66f9[_0x1ac13e(0x129)]);for(const _0x1440df of _0x3ea925)_0x5a0729[_0x1ac13e(0x1a8)](..._0x1440df[_0x1ac13e(0x1aa)]());return _0x38b42e(_0x181972[_0x1ac13e(0x149)],_0x5a0729);},'type':()=>_0x4494d8(0x180)+_0xa37a5c[_0x4494d8(0x15b)][_0x4494d8(0x14e)]});_0x2ca852[_0x4494d8(0x18d)](_0x5c3e09,_0x554e82),_0x53f131[_0x4494d8(0x183)](_0x554e82),_0x23344c[_0x4494d8(0x142)](_0x554e82);}[_0x7971eb(0x13f)](_0x4e47f0){const _0x1cb4b8=_0x7971eb,_0x29f094=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x17b)),_0x13743a=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x151)),_0x18a3dc=this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x169)](_0x4e47f0),_0x1c5467=_0x18a3dc[_0x1cb4b8(0x15b)],_0x3ca5cf=_0x13743a[_0x1cb4b8(0x166)](_0x1c5467);_0x29f094[_0x1cb4b8(0x1b2)](_0x1c5467),_0x3ca5cf&&_0x13743a[_0x1cb4b8(0x19f)](_0x3ca5cf),this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x150)](_0x4e47f0),this[_0x1cb4b8(0x17c)][_0x1cb4b8(0x150)](_0x1c5467),_0x18a3dc[_0x1cb4b8(0x18a)]();}[_0x7971eb(0x153)](_0x2ea6e1){const _0x25c95e=_0x7971eb;if(!_0x2ea6e1[_0x25c95e(0x129)]||!this[_0x25c95e(0x15a)][_0x25c95e(0x198)](_0x2ea6e1))return;const _0x11e405=this[_0x25c95e(0x135)][_0x25c95e(0x14b)][_0x25c95e(0x169)](_0x25c95e(0x137)),_0x11e3f=this[_0x25c95e(0x15a)][_0x25c95e(0x169)](_0x2ea6e1),_0x30722e=_0x2ea6e1[_0x25c95e(0x13c)]();_0x11e3f[_0x25c95e(0x15b)][_0x25c95e(0x19b)]=_0x11e405[_0x25c95e(0x164)][_0x25c95e(0x13a)](_0x30722e);}[_0x7971eb(0x18a)](){const _0x41de71=_0x7971eb;for(const _0x36fbdd of this[_0x41de71(0x15a)][_0x41de71(0x152)]())this[_0x41de71(0x13f)](_0x36fbdd);for(const _0x1c9420 of this[_0x41de71(0x13e)][_0x41de71(0x139)]())_0x1c9420[_0x41de71(0x16f)][_0x41de71(0x18a)]();super[_0x41de71(0x18a)]();}}function ae(_0x27624e){const _0x57299b=_0x7971eb;return _0x57299b(0x1ad)in _0x27624e;}
|
|
23
|
+
function _0x47f0(){const _0x424299=['bind','editor','panelView','createCommentThreadController','define','_initializeController','change:previous','button','getRanges','createAnnotationView','trackChanges','5407utfnYf','createAnnotation','unbind','values','delete','_disableComments','_createMenuBarMenu','commentThread','_addUIComponentsToFactory','comments.maxCommentCharsWhenCollapsed','innerView','config','editing','acceptButton','_refreshActiveMarkers','children','init','_viewToController','plugins','1521393zMWmXg','descriptionFactory','isMultiRange','locale','add','10484793PcAFeD','head','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','comments','18859884hrksBw','_annotationViews','arrowView','SuggestionThreadView','menu','getFirstRange','trackChanges.SuggestionThreadView','1436094BAKzes','destroy','execute','from','push','isOn','isDirty','switchbutton','_destroyController','addSourceCollector','getSuggestion','separator','remove','menuBar:trackChanges','isEnabled','CommentsRepository','isInContent','pluginName','activeMarkers','requires','_createToolbarButton','Accept\x20all\x20suggestions','source','menuitem','filter','_unbindEditors','CommentsUI','10HOXaBN','focus','Annotations','model','188UkhseG','buttonView','discardAllSuggestions','change:activeAnnotations','hasSuggestion','get','componentFactory','suggestionChanged','view','suggestionLoaded','has','getMarkers','commandName','getByInnerView','keys','Discard\x20all\x20suggestions','delegate','items','value','5ptWedB','3672524DQzqHt','stopListening','listenTo','acceptSelectedSuggestions','descriptionParts','Track\x20changes','CommentView','acceptAllSuggestions','_handleSuggestionControllerDelayed','clear','actionView','_handleControllerBuffer','previous','toMany','TrackChangesEditing','1540374FmdxFl','commands','some','trackChanges.disableComments','set','activeAnnotations','getMarkerNames','EditorAnnotations','menuitemcheckbox','getDescriptions','mainView','_updateController','comments.maxThreadTotalWeight','suggestion-','14mVNSjp','length','Discard\x20all\x20selected\x20suggestions','reduce','getJoined','discardButton','registerAnnotation','TrackChangesUI','refreshSelectedViews','_suggestionToController','discardSelectedSuggestions','comments.editorConfig','lowest','16iXdYJk','Accept\x20all\x20selected\x20suggestions','getAllAdjacentSuggestions','suggestionUnloaded','type','addComment','size'];_0x47f0=function(){return _0x424299;};return _0x47f0();}const _0x1519e1=_0x1e85;(function(_0x5235c3,_0x34adb2){const _0x4770d6=_0x1e85,_0x111efa=_0x5235c3();while(!![]){try{const _0x27d4a7=-parseInt(_0x4770d6(0x194))/0x1*(-parseInt(_0x4770d6(0x1d7))/0x2)+-parseInt(_0x4770d6(0x1a7))/0x3+parseInt(_0x4770d6(0x1eb))/0x4*(parseInt(_0x4770d6(0x1ea))/0x5)+parseInt(_0x4770d6(0x1fa))/0x6*(parseInt(_0x4770d6(0x208))/0x7)+-parseInt(_0x4770d6(0x182))/0x8*(parseInt(_0x4770d6(0x1b8))/0x9)+-parseInt(_0x4770d6(0x1d3))/0xa*(-parseInt(_0x4770d6(0x1ac))/0xb)+-parseInt(_0x4770d6(0x1b1))/0xc;if(_0x27d4a7===_0x34adb2)break;else _0x111efa['push'](_0x111efa['shift']());}catch(_0x3788c4){_0x111efa['push'](_0x111efa['shift']());}}}(_0x47f0,0x78df2));import{Plugin as _0x39bb79}from'ckeditor5/src/core.js';import{Collection as _0x4110e5}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2ac56d,createDropdown as _0x21f72f,ListSeparatorView as _0x2daace,MenuBarMenuView as _0x75804b,MenuBarMenuListView as _0x4d6ddc,MenuBarMenuListItemView as _0x21d754,MenuBarMenuListItemButtonView as _0xab1029,SplitButtonView as _0x34fd89,ViewModel as _0x2037dc}from'ckeditor5/src/ui.js';function _0x1e85(_0x4bffea,_0x19f0e6){const _0x47f078=_0x47f0();return _0x1e85=function(_0x1e853d,_0x3e0f27){_0x1e853d=_0x1e853d-0x181;let _0x366815=_0x47f078[_0x1e853d];return _0x366815;},_0x1e85(_0x4bffea,_0x19f0e6);}import{Users as _0x4c52c0,getDateTimeFormatter as _0x8551d7,getAllMarkersDomElementsSorted as _0x4549ea}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1ca61d from'./trackchangesediting.js';import _0x4b76a2 from'./ui/suggestioncontroller.js';import _0x52e997 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5247c7}from'./utils/common-translations.js';import _0x1bd3af from'../theme/icons/track-changes.svg';export default class d extends _0x39bb79{static get[_0x1519e1(0x1cb)](){const _0x5655fb=_0x1519e1;return[_0x1ca61d,_0x4c52c0,_0x5655fb(0x1c7),_0x5655fb(0x1d5),_0x5655fb(0x201)];}static get[_0x1519e1(0x1c9)](){const _0x4c739b=_0x1519e1;return _0x4c739b(0x20f);}constructor(_0x19eed9){const _0x40e232=_0x1519e1;super(_0x19eed9),this[_0x40e232(0x211)]=new Map(),this[_0x40e232(0x1a5)]=new Map(),this[_0x40e232(0x1b2)]=new Map(),this[_0x40e232(0x1f6)]=new Map();const _0x10ff2f=this[_0x40e232(0x18a)][_0x40e232(0x19f)];_0x10ff2f[_0x40e232(0x18d)](_0x40e232(0x1b7),_0x52e997),_0x10ff2f[_0x40e232(0x18d)](_0x40e232(0x1fd),!0x1),this[_0x40e232(0x199)]=_0x10ff2f[_0x40e232(0x1dc)](_0x40e232(0x1fd));}[_0x1519e1(0x1f3)](_0x2fef68,_0x26455c){const _0x2b4ce2=_0x1519e1;0x0===this[_0x2b4ce2(0x1f6)][_0x2b4ce2(0x188)]&&setTimeout(()=>{const _0x55e2e2=_0x2b4ce2;for(const [_0x3adaba,_0x23c304]of this[_0x55e2e2(0x1f6)]){const _0x595bb9=this[_0x55e2e2(0x211)][_0x55e2e2(0x1e1)](_0x3adaba);_0x595bb9||_0x23c304?_0x595bb9&&_0x23c304&&this[_0x55e2e2(0x1c0)](_0x3adaba):this[_0x55e2e2(0x18e)](_0x3adaba);}this[_0x55e2e2(0x1f6)][_0x55e2e2(0x1f4)](),this[_0x55e2e2(0x18a)][_0x55e2e2(0x1a6)][_0x55e2e2(0x1dc)](_0x55e2e2(0x201))[_0x55e2e2(0x210)](),this[_0x55e2e2(0x1a2)]();},0xa),this[_0x2b4ce2(0x1f6)][_0x2b4ce2(0x1fe)](_0x2fef68,_0x26455c);}[_0x1519e1(0x1a4)](){const _0x36c327=_0x1519e1,_0x4d1e4e=this[_0x36c327(0x18a)],_0x589531=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1f9)),_0x3346a0=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1d5)),_0x564c5a=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x201)),_0x427aef=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1c7));this[_0x36c327(0x19c)](),_0x564c5a[_0x36c327(0x1c1)](()=>{const _0x3f86de=_0x36c327,_0x395a29=[];for(const [_0x3e2a4f,_0x270557]of Array[_0x3f86de(0x1bb)](this[_0x3f86de(0x211)])){const _0x2e078e=_0x3e2a4f[_0x3f86de(0x184)](),_0x595701=[];for(const _0x565f81 of _0x2e078e){if(!_0x565f81[_0x3f86de(0x1c8)])continue;if(_0x565f81[_0x3f86de(0x1a9)]){_0x595701[_0x3f86de(0x1bc)](..._0x565f81[_0x3f86de(0x191)]());continue;}const _0x279df5=_0x565f81[_0x3f86de(0x1b6)]();if(_0x595701[_0x3f86de(0x209)]>0x0){const _0x25b10c=_0x595701[0x0][_0x3f86de(0x20c)](_0x279df5);if(_0x25b10c){_0x595701[0x0]=_0x25b10c;continue;}}_0x595701[_0x3f86de(0x1bc)](_0x279df5);}_0x395a29[_0x3f86de(0x1bc)]([_0x270557[_0x3f86de(0x1df)],_0x595701]);}return _0x395a29;}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x1e0),(_0x4e636f,_0x4b5fa5)=>{const _0x5ce259=_0x36c327;this[_0x5ce259(0x1ed)](_0x4b5fa5,_0x5ce259(0x18f),(_0x598ec0,_0x187c26,_0x1a3308,_0x318e27)=>{const _0x3367d2=_0x5ce259;_0x4b5fa5[_0x3367d2(0x1c8)]&&(null==_0x1a3308?(this[_0x3367d2(0x205)](_0x318e27[_0x3367d2(0x1ad)]),this[_0x3367d2(0x1f3)](_0x4b5fa5,!0x1)):(this[_0x3367d2(0x205)](_0x1a3308[_0x3367d2(0x1ad)]),null==_0x318e27&&this[_0x3367d2(0x1f3)](_0x4b5fa5,!0x0)));}),null!==_0x4b5fa5[_0x5ce259(0x1f7)]?this[_0x5ce259(0x205)](_0x4b5fa5[_0x5ce259(0x1ad)]):this[_0x5ce259(0x1f3)](_0x4b5fa5,!0x1);}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x185),(_0x4a7b7e,_0x1127b8,_0x36a0d8)=>{const _0x140e5a=_0x36c327;this[_0x140e5a(0x1ec)](_0x1127b8,_0x140e5a(0x18f)),this[_0x140e5a(0x1f6)][_0x140e5a(0x198)](_0x1127b8),this[_0x140e5a(0x211)][_0x140e5a(0x1e1)](_0x1127b8)&&this[_0x140e5a(0x1c0)](_0x1127b8),_0x36a0d8&&this[_0x140e5a(0x205)](_0x36a0d8[_0x140e5a(0x1ad)]);}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x1de),(_0x3d78a0,_0x5f4fad)=>{const _0x10c763=_0x36c327;this[_0x10c763(0x205)](_0x5f4fad);}),this[_0x36c327(0x1ed)](_0x3346a0,_0x36c327(0x1da),()=>{const _0x22a78d=_0x36c327;this[_0x22a78d(0x1a2)]();}),this[_0x36c327(0x1ed)](_0x427aef,_0x36c327(0x187),(_0x14c28e,{threadId:_0x5d8450,isFromAdapter:_0x958e31})=>{const _0x2d7e2c=_0x36c327;if(_0x958e31||!_0x589531[_0x2d7e2c(0x1db)](_0x5d8450))return;const _0x2746f0=_0x589531[_0x2d7e2c(0x1c2)](_0x5d8450);this[_0x2d7e2c(0x211)][_0x2d7e2c(0x1dc)](_0x2746f0)[_0x2d7e2c(0x1df)][_0x2d7e2c(0x1d4)]();},{'priority':_0x36c327(0x181)});}[_0x1519e1(0x1a2)](){const _0x3e3654=_0x1519e1,_0x30ceae=this[_0x3e3654(0x18a)][_0x3e3654(0x1a6)][_0x3e3654(0x1dc)](_0x3e3654(0x1d5)),_0x12102f=this[_0x3e3654(0x18a)][_0x3e3654(0x1a6)][_0x3e3654(0x1dc)](_0x3e3654(0x1f9)),_0x1d7285=Array[_0x3e3654(0x1bb)](_0x30ceae[_0x3e3654(0x1ff)],_0x490af0=>_0x490af0[_0x3e3654(0x19e)])[_0x3e3654(0x1d0)](_0x36e3ab=>this[_0x3e3654(0x1a5)][_0x3e3654(0x1e1)](_0x36e3ab)),_0x5b8a7c=[];for(const _0x5d0156 of _0x1d7285){const _0x23cc24=this[_0x3e3654(0x1a5)][_0x3e3654(0x1dc)](_0x5d0156)[_0x3e3654(0x1d6)][_0x3e3654(0x184)]();_0x5b8a7c[_0x3e3654(0x1bc)](..._0x23cc24[_0x3e3654(0x20b)]((_0x49c27e,_0x51f44f)=>[..._0x49c27e,..._0x51f44f[_0x3e3654(0x200)]()],[]));}_0x12102f[_0x3e3654(0x1ca)]=_0x5b8a7c;}[_0x1519e1(0x19c)](){const _0x264e29=_0x1519e1,_0x5b2770=this[_0x264e29(0x18a)],_0x58bd58=_0x5b2770[_0x264e29(0x1aa)],_0x345640=_0x5247c7(_0x58bd58,_0x264e29(0x1f0)),_0x164885=new _0x4110e5([{'type':_0x264e29(0x1bf),'model':new _0x2037dc({'withText':!0x0,'label':_0x345640,'commandName':_0x264e29(0x193),'role':_0x264e29(0x202)})},{'type':_0x264e29(0x1c3)},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x1cd)),'commandName':_0x264e29(0x1f2),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x183)),'commandName':_0x264e29(0x1ee),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x1e6)),'commandName':_0x264e29(0x1d9),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x20a)),'commandName':_0x264e29(0x212),'role':_0x264e29(0x1cf)})}]);for(const _0x1349b9 of _0x164885)if(ae(_0x1349b9)){const _0x3683ab=_0x5b2770[_0x264e29(0x1fb)][_0x264e29(0x1dc)](_0x1349b9[_0x264e29(0x1d6)][_0x264e29(0x1e3)]);_0x1349b9[_0x264e29(0x1d6)][_0x264e29(0x189)](_0x264e29(0x1bd),_0x264e29(0x1c6))['to'](_0x3683ab,_0x264e29(0x1e9),_0x264e29(0x1c6));}_0x5b2770['ui'][_0x264e29(0x1dd)][_0x264e29(0x1ab)](_0x264e29(0x193),_0x15de05=>this[_0x264e29(0x1cc)](_0x15de05,_0x164885,_0x345640)),_0x5b2770['ui'][_0x264e29(0x1dd)][_0x264e29(0x1ab)](_0x264e29(0x1c5),_0x51362a=>this[_0x264e29(0x19a)](_0x51362a,_0x164885,_0x345640));}[_0x1519e1(0x1cc)](_0x756924,_0x4c6cc8,_0x43f1c8){const _0x287483=_0x1519e1,_0x20b2d0=_0x21f72f(_0x756924,_0x34fd89),_0x321b1e=this[_0x287483(0x18a)][_0x287483(0x1fb)][_0x287483(0x1dc)](_0x287483(0x193));_0x20b2d0[_0x287483(0x1d8)][_0x287483(0x1fe)]({'tooltip':_0x43f1c8,'label':_0x43f1c8,'icon':_0x1bd3af}),_0x20b2d0[_0x287483(0x1d8)][_0x287483(0x189)](_0x287483(0x1bd))['to'](_0x321b1e,_0x287483(0x1e9)),_0x20b2d0[_0x287483(0x1d8)]['on'](_0x287483(0x1ba),()=>{const _0x4432f5=_0x287483;_0x321b1e[_0x4432f5(0x1ba)](),this[_0x4432f5(0x18a)][_0x4432f5(0x1a0)][_0x4432f5(0x1df)][_0x4432f5(0x1d4)]();}),_0x2ac56d(_0x20b2d0,_0x4c6cc8,{'role':_0x287483(0x1b5)});const _0x4e9cd8=[];for(const _0x260d21 of _0x4c6cc8)ae(_0x260d21)&&_0x4e9cd8[_0x287483(0x1bc)](this[_0x287483(0x18a)][_0x287483(0x1fb)][_0x287483(0x1dc)](_0x260d21[_0x287483(0x1d6)][_0x287483(0x1e3)]));const _0x4ef711=_0x20b2d0[_0x287483(0x1d8)];return _0x4ef711[_0x287483(0x1f5)][_0x287483(0x196)](_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1b3)][_0x287483(0x196)](_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1f5)][_0x287483(0x189)](_0x287483(0x1c6))['to'](_0x321b1e,_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1b3)][_0x287483(0x189)](_0x287483(0x1c6))[_0x287483(0x1f8)](_0x4e9cd8,_0x287483(0x1c6),(..._0xa01f54)=>_0xa01f54[_0x287483(0x1fc)](_0x145183=>_0x145183)),_0x20b2d0['on'](_0x287483(0x1ba),_0x730945=>{const _0x37432b=_0x287483;this[_0x37432b(0x18a)][_0x37432b(0x1ba)](_0x730945[_0x37432b(0x1ce)][_0x37432b(0x1e3)]),this[_0x37432b(0x18a)][_0x37432b(0x1a0)][_0x37432b(0x1df)][_0x37432b(0x1d4)]();}),_0x20b2d0;}[_0x1519e1(0x19a)](_0x48d2b1,_0x16124f,_0x30e74d){const _0x4d6656=_0x1519e1,_0x189777=new _0x75804b(_0x48d2b1),_0x202f8e=this[_0x4d6656(0x18a)][_0x4d6656(0x1fb)][_0x4d6656(0x1dc)](_0x4d6656(0x193));_0x189777[_0x4d6656(0x1d8)][_0x4d6656(0x1fe)]({'label':_0x30e74d,'icon':_0x1bd3af});const _0x193455=new _0x4d6ddc(_0x48d2b1);for(const _0x5c2309 of _0x16124f){if(_0x4d6656(0x1c3)==_0x5c2309[_0x4d6656(0x186)]){_0x193455[_0x4d6656(0x1e8)][_0x4d6656(0x1ab)](new _0x2daace(_0x48d2b1));continue;}const _0x3880ad=new _0x21d754(_0x48d2b1,_0x189777),_0x49e627=new _0xab1029(_0x48d2b1),_0x2e4220=_0x5c2309[_0x4d6656(0x1d6)];_0x49e627[_0x4d6656(0x189)](...Object[_0x4d6656(0x1e5)](_0x2e4220))['to'](_0x2e4220),_0x49e627[_0x4d6656(0x1e7)](_0x4d6656(0x1ba))['to'](_0x189777),_0x49e627['on'](_0x4d6656(0x1ba),()=>{const _0x543cc0=_0x4d6656;this[_0x543cc0(0x18a)][_0x543cc0(0x1ba)](_0x2e4220[_0x543cc0(0x1e3)]),this[_0x543cc0(0x18a)][_0x543cc0(0x1a0)][_0x543cc0(0x1df)][_0x543cc0(0x1d4)]();}),_0x3880ad[_0x4d6656(0x1a3)][_0x4d6656(0x1ab)](_0x49e627),_0x193455[_0x4d6656(0x1e8)][_0x4d6656(0x1ab)](_0x3880ad);}return _0x189777[_0x4d6656(0x189)](_0x4d6656(0x1c6))['to'](_0x202f8e,_0x4d6656(0x1c6)),_0x189777[_0x4d6656(0x18b)][_0x4d6656(0x1a3)][_0x4d6656(0x1ab)](_0x193455),_0x189777;}[_0x1519e1(0x18e)](_0x2fc7ff){const _0x314c5f=_0x1519e1,_0x170f9a=this[_0x314c5f(0x18a)],_0x43050f=_0x170f9a[_0x314c5f(0x19f)],_0x5b6187=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1d5)),_0x3e5444=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1c7)),_0x1a4481=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x201)),_0x522226=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x4c52c0)['me'],_0x13df4d=_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x193))[_0x314c5f(0x1b4)],{CommentsListView:_0xf4fcce,CommentThreadInputView:_0x5bfdef}=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1d2));let _0x107348,_0x194366;this[_0x314c5f(0x1b2)][_0x314c5f(0x1e1)](_0x2fc7ff['id'])?(_0x194366=this[_0x314c5f(0x1b2)][_0x314c5f(0x1dc)](_0x2fc7ff['id']),_0x107348=_0x194366[_0x314c5f(0x204)]):(_0x107348=new _0x13df4d(_0x170f9a[_0x314c5f(0x1aa)],_0x2fc7ff,_0x522226,{'disableComments':this[_0x314c5f(0x199)],'editorConfig':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x213)),'maxCommentsWhenCollapsed':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1ae)),'maxThreadTotalWeight':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x206)),'maxCommentCharsWhenCollapsed':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x19d)),'formatDateTime':_0x8551d7(_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1aa))),'CommentView':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1b0))[_0x314c5f(0x1f1)],'CommentsListView':_0xf4fcce,'CommentThreadInputView':_0x5bfdef}),_0x107348[_0x314c5f(0x1a1)]['on'](_0x314c5f(0x1ba),()=>{const _0x248d48=_0x314c5f;_0x170f9a[_0x248d48(0x1a0)][_0x248d48(0x1df)][_0x248d48(0x1d4)]();}),_0x107348[_0x314c5f(0x20d)]['on'](_0x314c5f(0x1ba),()=>{const _0xda3b4c=_0x314c5f;_0x170f9a[_0xda3b4c(0x1a0)][_0xda3b4c(0x1df)][_0xda3b4c(0x1d4)]();}),_0x194366=_0x5b6187[_0x314c5f(0x192)](this[_0x314c5f(0x18a)][_0x314c5f(0x1aa)],_0x107348),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x1be))['to'](_0x107348,_0x314c5f(0x1be)),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x209))['to'](_0x107348),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x186))['to'](_0x107348,_0x314c5f(0x186),_0x1dbe85=>_0x314c5f(0x207)+_0x1dbe85),this[_0x314c5f(0x1b2)][_0x314c5f(0x1fe)](_0x2fc7ff['id'],_0x194366));const _0x20661d=_0x3e5444[_0x314c5f(0x18c)](_0x2fc7ff[_0x314c5f(0x19b)],_0x107348),_0x1ca128=new _0x4b76a2(_0x170f9a,_0x2fc7ff,_0x107348,_0x20661d),_0x3c6afd=_0x2fc7ff[_0x314c5f(0x184)]()[_0x314c5f(0x1d0)](_0x1cff64=>_0x1cff64[_0x314c5f(0x1c8)]);_0x107348[_0x314c5f(0x1ef)]=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1f9))[_0x314c5f(0x1a8)][_0x314c5f(0x203)](_0x3c6afd),this[_0x314c5f(0x211)][_0x314c5f(0x1fe)](_0x2fc7ff,_0x1ca128),this[_0x314c5f(0x1a5)][_0x314c5f(0x1fe)](_0x107348,_0x1ca128);const _0x51e2b2=_0x5b6187[_0x314c5f(0x195)]({'view':_0x194366,'target':()=>{const _0x379e5c=_0x314c5f,_0xb58066=[],_0x5bb5e2=_0x2fc7ff[_0x379e5c(0x184)]()[_0x379e5c(0x1d0)](_0x1eda9f=>_0x1eda9f[_0x379e5c(0x1c8)]);for(const _0x4ee30a of _0x5bb5e2)_0xb58066[_0x379e5c(0x1bc)](..._0x4ee30a[_0x379e5c(0x1e2)]());return _0x4549ea(_0x170f9a[_0x379e5c(0x1a0)],_0xb58066);},'type':()=>_0x314c5f(0x207)+_0x1ca128[_0x314c5f(0x1df)][_0x314c5f(0x186)]});_0x3e5444[_0x314c5f(0x1af)](_0x107348,_0x51e2b2),_0x5b6187[_0x314c5f(0x1ab)](_0x51e2b2),_0x1a4481[_0x314c5f(0x20e)](_0x51e2b2);}[_0x1519e1(0x1c0)](_0x52d3bd){const _0x1f6c7c=_0x1519e1,_0x20605e=this[_0x1f6c7c(0x18a)][_0x1f6c7c(0x1a6)][_0x1f6c7c(0x1dc)](_0x1f6c7c(0x1c7)),_0x5438e8=this[_0x1f6c7c(0x18a)][_0x1f6c7c(0x1a6)][_0x1f6c7c(0x1dc)](_0x1f6c7c(0x1d5)),_0x4c5d46=this[_0x1f6c7c(0x211)][_0x1f6c7c(0x1dc)](_0x52d3bd),_0x4fbf9f=_0x4c5d46[_0x1f6c7c(0x1df)],_0x224eaf=_0x5438e8[_0x1f6c7c(0x1e4)](_0x4fbf9f);_0x20605e[_0x1f6c7c(0x1d1)](_0x4fbf9f),_0x224eaf&&_0x5438e8[_0x1f6c7c(0x1c4)](_0x224eaf),this[_0x1f6c7c(0x211)][_0x1f6c7c(0x198)](_0x52d3bd),this[_0x1f6c7c(0x1a5)][_0x1f6c7c(0x198)](_0x4fbf9f),_0x4c5d46[_0x1f6c7c(0x1b9)]();}[_0x1519e1(0x205)](_0x1631c3){const _0x153bd0=_0x1519e1;if(!_0x1631c3[_0x153bd0(0x1c8)]||!this[_0x153bd0(0x211)][_0x153bd0(0x1e1)](_0x1631c3))return;const _0x40709d=this[_0x153bd0(0x18a)][_0x153bd0(0x1a6)][_0x153bd0(0x1dc)](_0x153bd0(0x1f9)),_0xea9e68=this[_0x153bd0(0x211)][_0x153bd0(0x1dc)](_0x1631c3),_0x429a88=_0x1631c3[_0x153bd0(0x184)]();_0xea9e68[_0x153bd0(0x1df)][_0x153bd0(0x1ef)]=_0x40709d[_0x153bd0(0x1a8)][_0x153bd0(0x203)](_0x429a88);}[_0x1519e1(0x1b9)](){const _0x58e625=_0x1519e1;for(const _0x26dc65 of this[_0x58e625(0x211)][_0x58e625(0x1e5)]())this[_0x58e625(0x1c0)](_0x26dc65);for(const _0x1e05e1 of this[_0x58e625(0x1b2)][_0x58e625(0x197)]())_0x1e05e1[_0x58e625(0x204)][_0x58e625(0x1b9)]();super[_0x58e625(0x1b9)]();}}function ae(_0x5a1902){const _0x455164=_0x1519e1;return _0x455164(0x1d6)in _0x5a1902;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x51ff6c=_0x4a75;(function(_0x5b75d2,_0x4f76ad){const _0xd03c52=_0x4a75,_0x2f58a5=_0x5b75d2();while(!![]){try{const _0x1ccf6a=-parseInt(_0xd03c52(0x18d))/0x1*(parseInt(_0xd03c52(0x171))/0x2)+parseInt(_0xd03c52(0x181))/0x3*(-parseInt(_0xd03c52(0x17d))/0x4)+parseInt(_0xd03c52(0x174))/0x5+parseInt(_0xd03c52(0x166))/0x6+parseInt(_0xd03c52(0x167))/0x7+parseInt(_0xd03c52(0x189))/0x8+parseInt(_0xd03c52(0x17c))/0x9*(-parseInt(_0xd03c52(0x180))/0xa);if(_0x1ccf6a===_0x4f76ad)break;else _0x2f58a5['push'](_0x2f58a5['shift']());}catch(_0x2c69f1){_0x2f58a5['push'](_0x2f58a5['shift']());}}}(_0x461f,0xebe1f));import{ObservableMixin as _0xf24b2d}from'ckeditor5/src/utils.js';function _0x461f(){const _0xfb4045=['canAccept','7866312ThGpJI','model','get','destroy','81MstjeK','isEnabled','_setPendingAction','2435526iEYHEt','2636004CyLLTj','add','PENDING_ACTION_SUGGESTION','_acceptCommand','_editor','acceptSuggestion','plugins','isDirty','view','_pendingAction','4178LXdeLx','execute','getRanges','4954990uNaztf','_discardCommand','stopListening','commands','change:isDirty','remove','unbind','bind','1690695bvRjgG','4231324DqWSOI','listenTo','locale','30NfXpYi','3aWHZsI','canDiscard','PendingActions','commentThreadController','discardSuggestion','canEditAt','_removePendingAction'];_0x461f=function(){return _0xfb4045;};return _0x461f();}import{getTranslation as _0x5cac57}from'../utils/common-translations.js';function _0x4a75(_0x547ea1,_0x44965f){const _0x461f52=_0x461f();return _0x4a75=function(_0x4a75ee,_0x3ac450){_0x4a75ee=_0x4a75ee-0x166;let _0x35d82d=_0x461f52[_0x4a75ee];return _0x35d82d;},_0x4a75(_0x547ea1,_0x44965f);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xf24b2d(){constructor(_0x4434a7,_0x2b5adf,_0xdce613,_0x18c716){const _0x362eea=_0x4a75;super(),this[_0x362eea(0x18a)]=_0x2b5adf,this[_0x362eea(0x16f)]=_0xdce613,this[_0x362eea(0x184)]=_0x18c716,this[_0x362eea(0x16b)]=_0x4434a7,this[_0x362eea(0x16a)]=_0x4434a7[_0x362eea(0x177)][_0x362eea(0x18b)](_0x362eea(0x16c)),this[_0x362eea(0x175)]=_0x4434a7[_0x362eea(0x177)][_0x362eea(0x18b)](_0x362eea(0x185)),this[_0x362eea(0x16f)][_0x362eea(0x17b)](_0x362eea(0x18e))['to'](this[_0x362eea(0x16a)],this[_0x362eea(0x175)],(_0x3a8ff6,_0x4ef032)=>_0x3a8ff6||_0x4ef032),this[_0x362eea(0x16f)][_0x362eea(0x17b)](_0x362eea(0x188))['to'](this[_0x362eea(0x16a)],_0x362eea(0x18e),_0x34824c=>_0x34824c&&this[_0x362eea(0x16b)][_0x362eea(0x18a)][_0x362eea(0x186)](_0x2b5adf[_0x362eea(0x173)]())),this[_0x362eea(0x16f)][_0x362eea(0x17b)](_0x362eea(0x182))['to'](this[_0x362eea(0x175)],_0x362eea(0x18e),_0x434b80=>_0x434b80&&this[_0x362eea(0x16b)][_0x362eea(0x18a)][_0x362eea(0x186)](_0x2b5adf[_0x362eea(0x173)]())),this[_0x362eea(0x170)]=null,_0xdce613[_0x362eea(0x16e)]&&this[_0x362eea(0x18f)](),this[_0x362eea(0x17e)](_0xdce613,_0x362eea(0x16c),()=>this[_0x362eea(0x16c)]()),this[_0x362eea(0x17e)](_0xdce613,_0x362eea(0x185),()=>this[_0x362eea(0x185)]()),this[_0x362eea(0x17e)](_0xdce613,_0x362eea(0x178),()=>{const _0x559c3b=_0x362eea;_0xdce613[_0x559c3b(0x16e)]?this[_0x559c3b(0x18f)]():this[_0x559c3b(0x187)]();});}[_0x51ff6c(0x16c)](){const _0x449f0a=_0x51ff6c;this[_0x449f0a(0x16a)][_0x449f0a(0x172)](this[_0x449f0a(0x18a)]['id']);}[_0x51ff6c(0x185)](){const _0x34003a=_0x51ff6c;this[_0x34003a(0x175)][_0x34003a(0x172)](this[_0x34003a(0x18a)]['id']);}[_0x51ff6c(0x18c)](){const _0x32269d=_0x51ff6c;this[_0x32269d(0x16f)][_0x32269d(0x17a)](_0x32269d(0x18e)),this[_0x32269d(0x16f)][_0x32269d(0x17a)](_0x32269d(0x188)),this[_0x32269d(0x16f)][_0x32269d(0x17a)](_0x32269d(0x182)),this[_0x32269d(0x176)](),this[_0x32269d(0x184)][_0x32269d(0x18c)](),this[_0x32269d(0x170)]&&this[_0x32269d(0x187)]();}[_0x51ff6c(0x18f)](){const _0x945806=_0x51ff6c,_0x302b56=_0x5cac57(this[_0x945806(0x16b)][_0x945806(0x17f)],_0x945806(0x169));this[_0x945806(0x170)]=this[_0x945806(0x16b)][_0x945806(0x16d)][_0x945806(0x18b)](_0x945806(0x183))[_0x945806(0x168)](_0x302b56);}[_0x51ff6c(0x187)](){const _0x69da97=_0x51ff6c;null!==this[_0x69da97(0x170)]&&this[_0x69da97(0x16b)][_0x69da97(0x16d)][_0x69da97(0x18b)](_0x69da97(0x183))[_0x69da97(0x179)](this[_0x69da97(0x170)]),this[_0x69da97(0x170)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x27e54f=_0x6934;(function(_0x363bd5,_0x321a6e){const _0x3a581e=_0x6934,_0x2cd58d=_0x363bd5();while(!![]){try{const _0x179f65=-parseInt(_0x3a581e(0x145))/0x1+-parseInt(_0x3a581e(0x13e))/0x2+parseInt(_0x3a581e(0x133))/0x3+parseInt(_0x3a581e(0x14d))/0x4*(-parseInt(_0x3a581e(0x147))/0x5)+parseInt(_0x3a581e(0x14f))/0x6*(-parseInt(_0x3a581e(0x137))/0x7)+-parseInt(_0x3a581e(0x149))/0x8+-parseInt(_0x3a581e(0x11e))/0x9*(-parseInt(_0x3a581e(0x135))/0xa);if(_0x179f65===_0x321a6e)break;else _0x2cd58d['push'](_0x2cd58d['shift']());}catch(_0x25ff48){_0x2cd58d['push'](_0x2cd58d['shift']());}}}(_0x3a40,0xc8339));import{View as _0x24ae1d}from'ckeditor5/src/ui.js';function _0x6934(_0x3da237,_0x1fd46d){const _0x3a40d2=_0x3a40();return _0x6934=function(_0x693432,_0xf3a97e){_0x693432=_0x693432-0x11d;let _0x62bab2=_0x3a40d2[_0x693432];return _0x62bab2;},_0x6934(_0x3da237,_0x1fd46d);}export default class es extends _0x24ae1d{constructor(_0x346ce4,_0x51d0b8,_0x3be06d,_0x131937){const _0x19948f=_0x6934;super(_0x346ce4),this[_0x19948f(0x134)]=null,this[_0x19948f(0x122)]=null,this[_0x19948f(0x14a)](_0x19948f(0x12f),!0x1),this[_0x19948f(0x14a)](_0x19948f(0x12d),_0x51d0b8[_0x19948f(0x12d)]),this[_0x19948f(0x14b)](_0x19948f(0x12d))['to'](_0x51d0b8),this[_0x19948f(0x14a)](_0x19948f(0x146),[]),this[_0x19948f(0x14a)](_0x19948f(0x11d),!0x1),this[_0x19948f(0x14a)](_0x19948f(0x138),!0x1),this[_0x19948f(0x14a)](_0x19948f(0x14e),!0x1),this[_0x19948f(0x14a)](_0x19948f(0x144),!0x1),this[_0x19948f(0x132)]=_0x51d0b8,this[_0x19948f(0x12b)]=_0x3be06d,this[_0x19948f(0x121)]=_0x131937,_0x131937[_0x19948f(0x12e)]?this[_0x19948f(0x14a)](_0x19948f(0x14c),0x1):this[_0x19948f(0x13c)]();}[_0x27e54f(0x148)](){const _0x1c16b0=_0x27e54f;this[_0x1c16b0(0x128)][_0x1c16b0(0x148)]();}[_0x27e54f(0x142)](){const _0x539336=_0x27e54f;this[_0x539336(0x134)]&&this[_0x539336(0x134)][_0x539336(0x142)](),this[_0x539336(0x122)]&&this[_0x539336(0x122)][_0x539336(0x142)](),super[_0x539336(0x142)]();}[_0x27e54f(0x13c)](){const _0x40aef7=_0x27e54f,{CommentsListView:_0x9f9ca2}=this[_0x40aef7(0x121)];this[_0x40aef7(0x134)]=new _0x9f9ca2(this[_0x40aef7(0x136)],this[_0x40aef7(0x132)][_0x40aef7(0x13a)],Object[_0x40aef7(0x126)]({'CommentView':this[_0x40aef7(0x121)][_0x40aef7(0x143)]},this[_0x40aef7(0x121)])),this[_0x40aef7(0x134)][_0x40aef7(0x140)](_0x40aef7(0x130))['to'](this),this[_0x40aef7(0x134)][_0x40aef7(0x140)](_0x40aef7(0x123))['to'](this),this[_0x40aef7(0x134)][_0x40aef7(0x14b)](_0x40aef7(0x12f))['to'](this),this[_0x40aef7(0x14a)](_0x40aef7(0x14c),this[_0x40aef7(0x134)][_0x40aef7(0x14c)]+0x1),this[_0x40aef7(0x14b)](_0x40aef7(0x14c))['to'](this[_0x40aef7(0x134)],_0x40aef7(0x14c),_0x1c0cc7=>_0x1c0cc7+0x1),this[_0x40aef7(0x122)]=this[_0x40aef7(0x13b)](),this['on'](_0x40aef7(0x130),()=>this[_0x40aef7(0x148)]()),this[_0x40aef7(0x14b)](_0x40aef7(0x11d))['to'](this[_0x40aef7(0x134)],_0x40aef7(0x139),this[_0x40aef7(0x122)][_0x40aef7(0x12a)],_0x40aef7(0x127),(_0x8555c0,_0x43ac9c)=>_0x8555c0||!!_0x43ac9c);}[_0x27e54f(0x13b)](){const _0x429381=_0x27e54f,{CommentThreadInputView:_0x2d4cb8}=this[_0x429381(0x121)],_0x542895=new _0x2d4cb8(this[_0x429381(0x136)],this[_0x429381(0x12b)],this[_0x429381(0x121)][_0x429381(0x11f)]),_0x1f4e29=_0x542895[_0x429381(0x12a)];return _0x542895[_0x429381(0x14b)](_0x429381(0x141))['to'](this,_0x429381(0x12f),this[_0x429381(0x132)][_0x429381(0x13a)],_0x429381(0x131),_0x1f4e29,_0x429381(0x127),(_0x4637d0,_0x30227f,_0x41d534)=>!!_0x41d534||_0x4637d0&&!_0x30227f),_0x1f4e29['on'](_0x429381(0x129),(_0x4e91b4,_0x4084c9)=>{const _0x30b755=_0x429381;this[_0x30b755(0x120)](_0x30b755(0x12c),_0x4084c9),_0x1f4e29[_0x30b755(0x125)][_0x30b755(0x13f)]('');}),_0x1f4e29['on'](_0x429381(0x124),()=>this[_0x429381(0x148)]()),_0x1f4e29[_0x429381(0x14b)](_0x429381(0x13d))['to'](this[_0x429381(0x132)][_0x429381(0x13a)],_0x429381(0x131)),_0x542895;}}function _0x3a40(){const _0x2e8d35=['_localUser','addComment','authoredAt','disableComments','isActive','removeComment','isReadOnly','_model','4539312dvQXsU','commentsListView','40oLKGCZ','locale','1763524wTfHEB','isEnabled','hasDirtyComment','commentThread','_createCommentThreadInputView','_createCommentViews','disabledSubmit','2938786vuWAcy','setData','delegate','showInput','destroy','CommentView','canDiscard','1039131TwrTKW','descriptionParts','13145yDuvsd','focus','4172008gswHgY','set','bind','length','568WmlViT','canAccept','6BXDlVJ','isDirty','6664941cyGqvj','editorConfig','fire','_config','commentThreadInputView','updateComment','cancel','editor','assign','value','element','submit','commentInputView'];_0x3a40=function(){return _0x2e8d35;};return _0x3a40();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3b16(_0x84f743,_0x3178e2){const _0x126d57=_0x126d();return _0x3b16=function(_0x3b16ae,_0x60f436){_0x3b16ae=_0x3b16ae-0xd0;let _0x467140=_0x126d57[_0x3b16ae];return _0x467140;},_0x3b16(_0x84f743,_0x3178e2);}const _0x1c2c9b=_0x3b16;(function(_0xdf162b,_0x2b406f){const _0x2687fa=_0x3b16,_0x1173cc=_0xdf162b();while(!![]){try{const _0x5dcc03=-parseInt(_0x2687fa(0xdc))/0x1+parseInt(_0x2687fa(0x121))/0x2+-parseInt(_0x2687fa(0x111))/0x3*(-parseInt(_0x2687fa(0x10d))/0x4)+parseInt(_0x2687fa(0x12a))/0x5+-parseInt(_0x2687fa(0xd3))/0x6+-parseInt(_0x2687fa(0x125))/0x7+parseInt(_0x2687fa(0xe0))/0x8;if(_0x5dcc03===_0x2b406f)break;else _0x1173cc['push'](_0x1173cc['shift']());}catch(_0x32111c){_0x1173cc['push'](_0x1173cc['shift']());}}}(_0x126d,0xafd28));function _0x126d(){const _0x14baaf=['commentThreadInputView','acceptSuggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','Accept\x20suggestion','descriptionParts','ck-annotation__info-time','ck-comment__info-time','ck-suggestion-wrapper','isExternal','ck-suggestion--discard','ck-suggestion__main','discardSuggestion','\x22\x20title=\x22','authoredAt','<p>','getUserViewNotificationText','1480uAVbQs','canDiscard','ck-suggestion--accept','isActive','6333cpUHqc','importWord','join','push','change:description','ck-annotation__content-wrapper','<span\x20class=\x22ck-suggestion-type\x22>','getExternalSuggestionNote','@external','EXTERNAL_SUGGESTION','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','ck-suggestion__user','time','delegate','source','2877106rlTmQA','EXTERNAL_AVATAR','editorDestroyed','commentThread','3606477HoKbKl','element','title','ck-annotation__info-name','discardButton','2162830zbrgEl','_descriptionElement','ck-comment__external','author','execute','color','content','querySelector','span','_model','editorReady','_createButton','bind','div','ck-annotation__info','set','\x22></span>','bindTemplate','formatDateTime','fire','</p>','type','8131812egkkIv','ck-suggestion--disabled-comments','locale','disableComments','cancel','ck-suggestion-','ck-suggestion__info-name','creator','Discard\x20suggestion','602572XJXPOV','attributes','getTemplate','EXTERNAL_IMPORT_WORD_AVATAR','4328512lXZwRf','_config','innerText','</span>','.ck-annotation__content-wrapper','setTemplate','userView','name','createElement','commentsListView','map','description','ck-annotation__actions','ck-suggestion-wrapper--active','ck-annotation__main','render','ck-annotation','isEnabled','canAccept','ck-suggestion','children','innerHTML','extendTemplate','ck-suggestion__info','acceptButton','ck-suggestion__actions','split','ck-annotation__user','check'];_0x126d=function(){return _0x14baaf;};return _0x126d();}import{getTranslation as _0x1bb99f}from'../../utils/common-translations.js';import{default as _0x1aca13}from'./basesuggestionthreadview.js';import{ButtonView as _0x26c2cd}from'ckeditor5/src/ui.js';import{icons as _0x2fb40e}from'ckeditor5/src/core.js';import{trimHtml as _0x39929f,UserView as _0x3ee056}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1aca13{constructor(_0x4621f3,_0x8295bf,_0x3a172d,_0x56ca2f){const _0x548972=_0x3b16;super(_0x4621f3,_0x8295bf,_0x3a172d,_0x56ca2f),this[_0x548972(0x139)](_0x548972(0xd2),''),this[_0x548972(0x136)](_0x548972(0xd2))['to'](this,_0x548972(0x101),_0x2d413d=>_0x2d413d&&_0x2d413d[0x0]?_0x2d413d[0x0][_0x548972(0xd2)]:''),this[_0x548972(0x136)](_0x548972(0xeb))['to'](this,_0x548972(0x101),this,_0x548972(0x110),(_0xe5aef4,_0x3d9b4f)=>{const _0x4bffe0=_0x548972;let _0x4746f8='';for(const _0x4d46d2 of _0xe5aef4)_0x4746f8+=_0x4bffe0(0x10b)+ds(_0x4d46d2[_0x4bffe0(0x130)],_0x4d46d2[_0x4bffe0(0x12f)])+_0x4bffe0(0xd1);return _0x3d9b4f?_0x4746f8:_0x39929f(_0x4746f8,{'limit':0x8c});}),this[_0x548972(0x12b)]=null,this[_0x548972(0xf8)]=this[_0x548972(0x135)](_0x1bb99f(_0x4621f3,_0x548972(0x100)),_0x2fb40e[_0x548972(0xfc)],_0x548972(0x10f),_0x548972(0xfe),'sw'),this[_0x548972(0xf8)][_0x548972(0x136)](_0x548972(0xf1))['to'](this,_0x548972(0xf2)),this[_0x548972(0x129)]=this[_0x548972(0x135)](_0x1bb99f(_0x4621f3,_0x548972(0xdb)),_0x2fb40e[_0x548972(0xd7)],_0x548972(0x106),_0x548972(0x108),'sw'),this[_0x548972(0x129)][_0x548972(0x136)](_0x548972(0xf1))['to'](this,_0x548972(0x10e)),this[_0x548972(0xe6)]=new _0x3ee056(_0x4621f3,this[_0x548972(0x133)][_0x548972(0x12d)],this[_0x548972(0x10c)]()),this[_0x548972(0xe6)][_0x548972(0xf6)]({'attributes':{'class':[_0x548972(0x11d),_0x548972(0xfb)]}}),this[_0x548972(0xe5)](this[_0x548972(0xde)]());}[_0x1c2c9b(0xde)](){const _0x3a0740=_0x1c2c9b,_0x308aa0=this[_0x3a0740(0x13b)],_0x481317=[{'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0xf7),_0x3a0740(0x138)]},'children':[{'tag':_0x3a0740(0x132),'children':[{'text':this[_0x3a0740(0xe6)][_0x3a0740(0xe7)]}],'attributes':{'class':[_0x3a0740(0xd9),_0x3a0740(0x128)]}},{'tag':_0x3a0740(0x11e),'attributes':{'datetime':_0x308aa0['to'](_0x3a0740(0x10a)),'class':[_0x3a0740(0x103),_0x3a0740(0x102)]},'children':[{'text':_0x308aa0['to'](_0x3a0740(0x10a),_0x3fecfa=>this[_0x3a0740(0xe1)][_0x3a0740(0x13c)](_0x3fecfa))}]}]},{'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0xf9),_0x3a0740(0xec)]},'children':[this[_0x3a0740(0xf8)],this[_0x3a0740(0x129)]]},{'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0x116)]}}];this[_0x3a0740(0x133)][_0x3a0740(0x105)]&&_0x481317[_0x3a0740(0x114)]({'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0x12c)]},'children':[{'text':this[_0x3a0740(0x118)]()}]});const _0x1b306b={'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0x104),_0x308aa0['if'](_0x3a0740(0x110),_0x3a0740(0xed)),_0x308aa0['to'](_0x3a0740(0xd2),_0x5485f7=>_0x3a0740(0xd8)+_0x5485f7),this[_0x3a0740(0xe1)][_0x3a0740(0xd6)]&&_0x3a0740(0xd4)],'data-suggestion-id':this[_0x3a0740(0x133)]['id'],'data-thread-id':this[_0x3a0740(0x133)][_0x3a0740(0x124)]['id'],'data-author-id':this[_0x3a0740(0x133)][_0x3a0740(0x12d)]['id'],'tabindex':-0x1},'children':[{'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0xf3),_0x3a0740(0xf0)]},'children':[this[_0x3a0740(0xe6)],{'tag':_0x3a0740(0x137),'attributes':{'class':[_0x3a0740(0x107),_0x3a0740(0xee)]},'children':_0x481317}]}]};return this[_0x3a0740(0xe9)]&&this[_0x3a0740(0xfd)]&&(_0x1b306b[_0x3a0740(0xf4)][_0x3a0740(0x114)](this[_0x3a0740(0xe9)],this[_0x3a0740(0xfd)]),this[_0x3a0740(0xe9)][_0x3a0740(0x11f)](_0x3a0740(0x134))['to'](this),this[_0x3a0740(0xe9)][_0x3a0740(0x11f)](_0x3a0740(0x123))['to'](this),this[_0x3a0740(0xfd)][_0x3a0740(0x11f)](_0x3a0740(0x134))['to'](this),this[_0x3a0740(0xfd)][_0x3a0740(0x11f)](_0x3a0740(0x123))['to'](this)),_0x1b306b;}[_0x1c2c9b(0xef)](){const _0xab79ef=_0x1c2c9b;super[_0xab79ef(0xef)](),this[_0xab79ef(0x12b)]=this[_0xab79ef(0x126)][_0xab79ef(0x131)](_0xab79ef(0xe4)),this[_0xab79ef(0x12b)][_0xab79ef(0xf5)]=this[_0xab79ef(0xeb)],this['on'](_0xab79ef(0x115),(_0x6acbf5,_0x268515,_0x57b444)=>{const _0x1b2bff=_0xab79ef;this[_0x1b2bff(0x12b)][_0x1b2bff(0xf5)]=_0x57b444;});}[_0x1c2c9b(0x135)](_0x2fe17a,_0x289f90,_0xe8ae63,_0x5948ee,_0x5371ad){const _0x2ca0b9=_0x1c2c9b,_0x5b9a89=new _0x26c2cd(this[_0x2ca0b9(0xd5)]);return _0x5b9a89[_0x2ca0b9(0x139)]({'label':_0x2fe17a,'icon':_0x289f90,'tooltip':!0x0,'tooltipPosition':_0x5371ad}),_0x5b9a89[_0x2ca0b9(0xf6)]({'attributes':{'class':_0xe8ae63}}),_0x5b9a89['on'](_0x2ca0b9(0x12e),()=>{const _0x3ffae3=_0x2ca0b9;this[_0x3ffae3(0xd0)](_0x5948ee,this[_0x3ffae3(0x133)]['id']);}),_0x5b9a89;}[_0x1c2c9b(0x118)](){const _0x243307=_0x1c2c9b;return _0x243307(0x112)===this[_0x243307(0x133)][_0x243307(0xdd)][_0x243307(0x119)][_0x243307(0x120)]?_0x1bb99f(this[_0x243307(0xd5)],_0x243307(0xff)):_0x1bb99f(this[_0x243307(0xd5)],_0x243307(0x11a));}[_0x1c2c9b(0x10c)](){const _0x2a49de=_0x1c2c9b;return this[_0x2a49de(0x133)][_0x2a49de(0x105)]?_0x2a49de(0x112)===this[_0x2a49de(0x133)][_0x2a49de(0xdd)][_0x2a49de(0x119)][_0x2a49de(0x120)]?_0x1bb99f(this[_0x2a49de(0xd5)],_0x2a49de(0xdf),this[_0x2a49de(0x133)][_0x2a49de(0xda)][_0x2a49de(0xe7)]):_0x1bb99f(this[_0x2a49de(0xd5)],_0x2a49de(0x122),this[_0x2a49de(0x133)][_0x2a49de(0xda)][_0x2a49de(0xe7)]):null;}}function ds(_0x312d63,_0x35011a){const _0x404b8e=_0x1c2c9b;let _0x145008='';return _0x145008+=_0x312d63[_0x404b8e(0xfa)]('*')[_0x404b8e(0xea)]((_0x2c3b60,_0x4eb502)=>_0x4eb502%0x2!=0x0?_0x404b8e(0x117)+us(_0x2c3b60)+_0x404b8e(0xe3):us(_0x2c3b60))[_0x404b8e(0x113)](''),_0x35011a&&(_0x145008+=_0x404b8e(0x11b)+_0x35011a[_0x404b8e(0x11c)]+_0x404b8e(0x109)+_0x35011a[_0x404b8e(0x127)]+_0x404b8e(0x13a)),_0x145008;}function us(_0x5a3c53){const _0x2d5bd0=_0x1c2c9b,_0x420e33=document[_0x2d5bd0(0xe8)](_0x2d5bd0(0x132));return _0x420e33[_0x2d5bd0(0xe2)]=_0x5a3c53,_0x420e33[_0x2d5bd0(0xf5)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x57ee1d,_0x495de1,_0x5528d2){const t=_0x57ee1d['t'];switch(_0x495de1){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',_0x5528d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5528d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5528d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5528d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5528d2);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',_0x5528d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5528d2);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',_0x5528d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5528d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5528d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5528d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5528d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5528d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5528d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5528d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5528d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5528d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5528d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5528d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5528d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5528d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5528d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5528d2);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'},_0x5528d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5528d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5528d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5528d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5528d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5528d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5528d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5528d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5528d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);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 _0x495de1;}}
|
|
23
|
+
export function getTranslation(_0x5c8c59,_0x51c5ba,_0x37e3e0){const t=_0x5c8c59['t'];switch(_0x51c5ba){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',_0x37e3e0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x37e3e0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x37e3e0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x37e3e0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x37e3e0);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',_0x37e3e0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x37e3e0);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',_0x37e3e0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x37e3e0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x37e3e0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x37e3e0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x37e3e0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x37e3e0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x37e3e0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x37e3e0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x37e3e0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x37e3e0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x37e3e0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x37e3e0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x37e3e0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x37e3e0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x37e3e0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x37e3e0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x37e3e0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x37e3e0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x37e3e0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x37e3e0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x37e3e0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x37e3e0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x37e3e0);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'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x37e3e0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x37e3e0);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'},_0x37e3e0);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'},_0x37e3e0);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 _0x51c5ba;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x527cda,_0x2d4d1e){const _0x1c2c66=_0xa294,_0x4a2f79=_0x527cda();while(!![]){try{const _0x196313=-parseInt(_0x1c2c66(0x13e))/0x1+-parseInt(_0x1c2c66(0x137))/0x2*(-parseInt(_0x1c2c66(0x144))/0x3)+-parseInt(_0x1c2c66(0x145))/0x4+-parseInt(_0x1c2c66(0x160))/0x5+parseInt(_0x1c2c66(0x139))/0x6+parseInt(_0x1c2c66(0x138))/0x7*(-parseInt(_0x1c2c66(0x142))/0x8)+-parseInt(_0x1c2c66(0x153))/0x9*(-parseInt(_0x1c2c66(0x159))/0xa);if(_0x196313===_0x2d4d1e)break;else _0x4a2f79['push'](_0x4a2f79['shift']());}catch(_0x558e57){_0x4a2f79['push'](_0x4a2f79['shift']());}}}(_0x2715,0xe4961));export function normalizeDescription(_0x1ab8c6){const _0x5a129b=_0xa294;return Array[_0x5a129b(0x15b)](_0x1ab8c6)||(_0x1ab8c6=[_0x1ab8c6]),_0x1ab8c6[_0x5a129b(0x14c)](_0x513d4f=>{const _0x1a64a4=_0x5a129b,_0xe33dbd=_0x513d4f[_0x1a64a4(0x14d)][_0x1a64a4(0x158)](/\*/g,''),_0x484d98=_0x513d4f[_0x1a64a4(0x13a)]?_0x1a64a4(0x147)+_0x513d4f[_0x1a64a4(0x13a)][_0x1a64a4(0x15e)]+']':'';return'['+_0x513d4f[_0x1a64a4(0x140)]+']\x20'+_0xe33dbd+_0x484d98;})[_0x5a129b(0x161)](';\x20');}export function sortSuggestions(_0x4e34c8){const _0x256e87=_0xa294;return _0x4e34c8[_0x256e87(0x146)]((_0x29d570,_0x901787)=>_0x256e87(0x14a)==_0x29d570[_0x256e87(0x140)]&&_0x256e87(0x14a)!=_0x901787[_0x256e87(0x140)]?-0x1:_0x256e87(0x14a)!=_0x29d570[_0x256e87(0x140)]&&_0x256e87(0x14a)==_0x901787[_0x256e87(0x140)]?0x1:0x0);}export function getSelectedSuggestions(_0x4477df,_0x349b8d){const _0x401a1d=_0xa294,_0x311930=Array[_0x401a1d(0x15a)](_0x4477df[_0x401a1d(0x14e)]()),_0xc3689a=new Set();for(const _0x4cc447 of _0x349b8d)if(_0x4cc447[_0x401a1d(0x13f)]){for(const _0xf5dd0 of _0x311930)for(const _0x228e2d of _0x4cc447[_0x401a1d(0x14e)]())(_0xf5dd0[_0x401a1d(0x14b)](_0x228e2d)||_0x4477df[_0x401a1d(0x13c)]&&!_0x4cc447[_0x401a1d(0x14f)]&&_0x4cc447[_0x401a1d(0x155)]&&_0x228e2d[_0x401a1d(0x157)][_0x401a1d(0x156)](_0xf5dd0[_0x401a1d(0x148)]))&&_0xc3689a[_0x401a1d(0x143)](_0x4cc447);}return _0xc3689a;}function _0x2715(){const _0x40cf4d=['1431OEkKfX','schema','next','isTouching','end','replace','67530XwxXTa','from','isArray','isObject','createPositionBefore','value','execute','1768095LcCMsh','join','58HrpEeF','1938223JjGHFN','10832376wYSXlQ','color','createPositionAt','isCollapsed','splice','1799624coITtA','isInContent','type','length','24XHYLjQ','add','118983VmnkEd','436372hxsSFK','sort','\x20[color\x20','start','createPositionAfter','deletion','isIntersecting','map','content','getRanges','isMultiRange','push','change','createRange'];_0x2715=function(){return _0x40cf4d;};return _0x2715();}export function getRangesOfBlockGroups(_0xbc9f03,_0x505010){const _0x5cd877=_0xa294;let _0x405075,_0x1f4346=0x0;const _0x394105=[],_0x369f3b=_0x505010[_0x5cd877(0x154)];for(;_0x1f4346<_0xbc9f03[_0x5cd877(0x141)];){const _0x892c76=_0xbc9f03[_0x1f4346],_0x53f7a7=_0xbc9f03[_0x1f4346+0x1];_0x405075||(_0x405075=_0x505010[_0x5cd877(0x15d)](_0x892c76)),co(_0x505010,_0x892c76,_0x53f7a7)||(_0x394105[_0x5cd877(0x150)](_0x505010[_0x5cd877(0x152)](_0x405075,_0x369f3b[_0x5cd877(0x15c)](_0x892c76)?_0x505010[_0x5cd877(0x149)](_0x892c76):_0x505010[_0x5cd877(0x13b)](_0x892c76,_0x5cd877(0x157)))),_0x405075=null),_0x1f4346++;}return _0x394105;}function co(_0xfb2e39,_0x4ae009,_0x4138dc){const _0x2d5c50=_0xa294;if(!_0x4138dc)return!0x1;const _0x140a2c=_0xfb2e39[_0x2d5c50(0x149)](_0x4ae009),_0x31b73e=_0xfb2e39[_0x2d5c50(0x15d)](_0x4138dc);return _0x140a2c[_0x2d5c50(0x156)](_0x31b73e);}function _0xa294(_0x79f58f,_0x2d5c5f){const _0x271530=_0x2715();return _0xa294=function(_0xa2948a,_0xb2da54){_0xa2948a=_0xa2948a-0x137;let _0x28ece0=_0x271530[_0xa2948a];return _0x28ece0;},_0xa294(_0x79f58f,_0x2d5c5f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x15bae5,_0x53ae0c,_0x1ab807){const _0x2304ad=_0xa294;for(;_0x1ab807[_0x2304ad(0x141)];){const _0x2a7547=_0x1ab807[_0x2304ad(0x13d)](0x0,0x64);_0x15bae5[_0x2304ad(0x151)](()=>{const _0x42e43a=_0x2304ad;for(const _0xdfd90b of _0x2a7547)_0xdfd90b[_0x42e43a(0x13f)]&&_0x53ae0c[_0x42e43a(0x15f)](_0xdfd90b['id']);});}}
|