@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240411.0 → 0.0.0-nightly-20240413.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/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 +1 -1
- 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 +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55feaf=_0x31c8;(function(_0x34fa02,_0x22aa29){const _0x57289d=_0x31c8,_0x2e1554=_0x34fa02();while(!![]){try{const _0x4b6a65=-parseInt(_0x57289d(0xb3))/0x1*(parseInt(_0x57289d(0x9a))/0x2)+parseInt(_0x57289d(0xa3))/0x3*(parseInt(_0x57289d(0xac))/0x4)+-parseInt(_0x57289d(0xd3))/0x5+parseInt(_0x57289d(0xb0))/0x6+parseInt(_0x57289d(0xb1))/0x7+parseInt(_0x57289d(0xe3))/0x8*(parseInt(_0x57289d(0xb9))/0x9)+-parseInt(_0x57289d(0xd0))/0xa;if(_0x4b6a65===_0x22aa29)break;else _0x2e1554['push'](_0x2e1554['shift']());}catch(_0x897660){_0x2e1554['push'](_0x2e1554['shift']());}}}(_0x349f,0x578ac));function _0x31c8(_0x5782e6,_0x2bfdfe){const _0x349f27=_0x349f();return _0x31c8=function(_0x31c853,_0x3eff2f){_0x31c853=_0x31c853-0x84;let _0x5480c0=_0x349f27[_0x31c853];return _0x5480c0;},_0x31c8(_0x5782e6,_0x2bfdfe);}import{Plugin as _0x1f61f4}from'ckeditor5/src/core.js';import{Collection as _0x3f3232}from'ckeditor5/src/utils.js';function _0x349f(){const _0x3e391d=['TrackChangesEditing','innerView','mainView','addComment','activeAnnotations','values','commandName','comments.maxCommentCharsWhenCollapsed','_createMenuBarMenu','_createToolbarButton','comments.maxCommentsWhenCollapsed','comments.maxThreadTotalWeight','editor','filter','_initializeController','trackChanges.SuggestionThreadView','length','hasSuggestion','commands','get','discardButton','previous','getRanges','_destroyController','_viewToController','getMarkerNames','button','getFirstRange','suggestionChanged','reduce','createAnnotation','discardAllSuggestions','suggestionLoaded','acceptAllSuggestions','Annotations','has','getSuggestion','_descriptionFactory','activeMarkers','some','init','isMultiRange','value','_addUIComponentsToFactory','426026CsifKZ','Discard\x20all\x20suggestions','isEnabled','getAllAdjacentSuggestions','panelView','CommentsUI','comments','locale','trackChanges.disableComments','167814cjOflR','view','_unbindEditors','bind','destroy','actionView','add','getDescriptions','unbind','12GtPuUF','_handleSuggestionControllerDelayed','lowest','config','1611942AUauLf','5015234kMyJPd','registerAnnotation','2aHexqf','refreshSelectedViews','acceptButton','descriptionParts','listenTo','head','18arjolQ','execute','arrowView','isInContent','buttonView','separator','componentFactory','commentThread','isOn','_annotationViews','pluginName','_handleControllerBuffer','model','getJoined','keys','addSourceCollector','delegate','getMarkers','change:activeAnnotations','EditorAnnotations','stopListening','_bindAnnotationToEditors','items','2905370SNLHAR','_disableComments','change:previous','1833380ZMNnIt','discardSelectedSuggestions','requires','suggestionUnloaded','trackChanges','from','source','set','editing','_updateController','createAnnotationView','Track\x20changes','toMany','acceptSelectedSuggestions','getByInnerView','children','1155512uCVVzt','Discard\x20all\x20selected\x20suggestions','Accept\x20all\x20selected\x20suggestions','_suggestionToController','size','type','plugins','clear','createCommentThreadController','isDirty','define','comments.editorConfig','SuggestionThreadView','remove','switchbutton','Accept\x20all\x20suggestions','CommentView','suggestion-','TrackChangesUI','push','_refreshActiveMarkers','focus','delete','CommentsRepository','menuBar:trackChanges'];_0x349f=function(){return _0x3e391d;};return _0x349f();}import{addListToDropdown as _0x2d6a7c,createDropdown as _0x17b616,ListSeparatorView as _0x433be0,MenuBarMenuView as _0xbe94cd,MenuBarMenuListView as _0x205f21,MenuBarMenuListItemView as _0x272bee,MenuBarMenuListItemButtonView as _0x25765c,SplitButtonView as _0x1788c7,ViewModel as _0x4f2832}from'ckeditor5/src/ui.js';import{Users as _0x55a307,getDateTimeFormatter as _0x535700,getAllMarkersDomElementsSorted as _0x423e2a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4ab17f from'./trackchangesediting.js';import _0x36097c from'./ui/suggestioncontroller.js';import _0x39a443 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x249a73}from'./utils/common-translations.js';import _0x4c891f from'../theme/icons/track-changes.svg';export default class d extends _0x1f61f4{static get[_0x55feaf(0xd5)](){const _0x13fa21=_0x55feaf;return[_0x4ab17f,_0x55a307,_0x13fa21(0xfa),_0x13fa21(0x90),_0x13fa21(0xcc)];}static get[_0x55feaf(0xc3)](){const _0x35c5fb=_0x55feaf;return _0x35c5fb(0xf5);}constructor(_0x3aec07){const _0x551636=_0x55feaf;super(_0x3aec07),this[_0x551636(0xe6)]=new Map(),this[_0x551636(0x86)]=new Map(),this[_0x551636(0xc2)]=new Map(),this[_0x551636(0xc4)]=new Map();const _0x5bf859=this[_0x551636(0x108)][_0x551636(0xaf)];_0x5bf859[_0x551636(0xed)](_0x551636(0x10b),_0x39a443),_0x5bf859[_0x551636(0xed)](_0x551636(0xa2),!0x1),this[_0x551636(0xd1)]=_0x5bf859[_0x551636(0x10f)](_0x551636(0xa2));}[_0x55feaf(0xad)](_0x407a27,_0x277703){const _0x7b41dd=_0x55feaf;0x0===this[_0x7b41dd(0xc4)][_0x7b41dd(0xe7)]&&setTimeout(()=>{const _0x359215=_0x7b41dd;for(const [_0xb9a046,_0x4c1ded]of this[_0x359215(0xc4)]){const _0xc558b4=this[_0x359215(0xe6)][_0x359215(0x91)](_0xb9a046);_0xc558b4||_0x4c1ded?_0xc558b4&&_0x4c1ded&&this[_0x359215(0x85)](_0xb9a046):this[_0x359215(0x10a)](_0xb9a046);}this[_0x359215(0xc4)][_0x359215(0xea)](),this[_0x359215(0x108)][_0x359215(0xe9)][_0x359215(0x10f)](_0x359215(0xcc))[_0x359215(0xb4)](),this[_0x359215(0xf7)]();},0xa),this[_0x7b41dd(0xc4)][_0x7b41dd(0xda)](_0x407a27,_0x277703);}[_0x55feaf(0x96)](){const _0x166ef0=_0x55feaf,_0x3b42a4=this[_0x166ef0(0x108)],_0x47cd28=_0x3b42a4[_0x166ef0(0xe9)][_0x166ef0(0x10f)](_0x166ef0(0xfc)),_0x15a3d3=_0x3b42a4[_0x166ef0(0xe9)][_0x166ef0(0x10f)](_0x166ef0(0x90)),_0x123d0b=_0x3b42a4[_0x166ef0(0xe9)][_0x166ef0(0x10f)](_0x166ef0(0xcc)),_0x266692=_0x3b42a4[_0x166ef0(0xe9)][_0x166ef0(0x10f)](_0x166ef0(0xfa));this[_0x166ef0(0x99)](),_0x123d0b[_0x166ef0(0xc8)](()=>{const _0x22280c=_0x166ef0,_0x110c8a=[];for(const [_0x36d648,_0x1f9c1a]of Array[_0x22280c(0xd8)](this[_0x22280c(0xe6)])){const _0x17bc96=_0x36d648[_0x22280c(0x9d)](),_0x473937=[];for(const _0x1f0fde of _0x17bc96){if(!_0x1f0fde[_0x22280c(0xbc)])continue;if(_0x1f0fde[_0x22280c(0x97)]){_0x473937[_0x22280c(0xf6)](..._0x1f0fde[_0x22280c(0x84)]());continue;}const _0x3992ac=_0x1f0fde[_0x22280c(0x89)]();if(_0x473937[_0x22280c(0x10c)]>0x0){const _0x2b7a09=_0x473937[0x0][_0x22280c(0xc6)](_0x3992ac);if(_0x2b7a09){_0x473937[0x0]=_0x2b7a09;continue;}}_0x473937[_0x22280c(0xf6)](_0x3992ac);}_0x110c8a[_0x22280c(0xf6)]([_0x1f9c1a[_0x22280c(0xa4)],_0x473937]);}return _0x110c8a;}),this[_0x166ef0(0xb7)](_0x47cd28,_0x166ef0(0x8e),(_0x2bd5df,_0x4469d)=>{const _0x416598=_0x166ef0;this[_0x416598(0xb7)](_0x4469d,_0x416598(0xd2),(_0x43013a,_0x4d9c10,_0x83f150,_0x102aed)=>{const _0x574d01=_0x416598;_0x4469d[_0x574d01(0xbc)]&&(null==_0x83f150?(this[_0x574d01(0xdc)](_0x102aed[_0x574d01(0xb8)]),this[_0x574d01(0xad)](_0x4469d,!0x1)):(this[_0x574d01(0xdc)](_0x83f150[_0x574d01(0xb8)]),null==_0x102aed&&this[_0x574d01(0xad)](_0x4469d,!0x0)));}),null!==_0x4469d[_0x416598(0x111)]?this[_0x416598(0xdc)](_0x4469d[_0x416598(0xb8)]):this[_0x416598(0xad)](_0x4469d,!0x1);}),this[_0x166ef0(0xb7)](_0x47cd28,_0x166ef0(0xd6),(_0x3332b2,_0x315cef,_0x46f075)=>{const _0x321719=_0x166ef0;this[_0x321719(0xcd)](_0x315cef,_0x321719(0xd2)),this[_0x321719(0xc4)][_0x321719(0xf9)](_0x315cef),this[_0x321719(0xe6)][_0x321719(0x91)](_0x315cef)&&this[_0x321719(0x85)](_0x315cef),_0x46f075&&this[_0x321719(0xdc)](_0x46f075[_0x321719(0xb8)]);}),this[_0x166ef0(0xb7)](_0x47cd28,_0x166ef0(0x8a),(_0x118a83,_0xa890b5)=>{const _0x2ab2fe=_0x166ef0;this[_0x2ab2fe(0xdc)](_0xa890b5);}),this[_0x166ef0(0xb7)](_0x15a3d3,_0x166ef0(0xcb),()=>{const _0xf2b3f8=_0x166ef0;this[_0xf2b3f8(0xf7)]();}),this[_0x166ef0(0xb7)](_0x266692,_0x166ef0(0xff),(_0x2cf79e,{threadId:_0x46b5fa,isFromAdapter:_0x2b08e6})=>{const _0x33103b=_0x166ef0;if(_0x2b08e6||!_0x47cd28[_0x33103b(0x10d)](_0x46b5fa))return;const _0x1c471f=_0x47cd28[_0x33103b(0x92)](_0x46b5fa);this[_0x33103b(0xe6)][_0x33103b(0x10f)](_0x1c471f)[_0x33103b(0xa4)][_0x33103b(0xf8)]();},{'priority':_0x166ef0(0xae)});}[_0x55feaf(0xf7)](){const _0x2685c5=_0x55feaf,_0x599826=this[_0x2685c5(0x108)][_0x2685c5(0xe9)][_0x2685c5(0x10f)](_0x2685c5(0x90)),_0x350847=this[_0x2685c5(0x108)][_0x2685c5(0xe9)][_0x2685c5(0x10f)](_0x2685c5(0xfc)),_0x420a78=Array[_0x2685c5(0xd8)](_0x599826[_0x2685c5(0x100)],_0x250b21=>_0x250b21[_0x2685c5(0xfd)])[_0x2685c5(0x109)](_0x7c1005=>this[_0x2685c5(0x86)][_0x2685c5(0x91)](_0x7c1005)),_0x12853f=[];for(const _0x46bd94 of _0x420a78){const _0x57e919=this[_0x2685c5(0x86)][_0x2685c5(0x10f)](_0x46bd94)[_0x2685c5(0xc5)][_0x2685c5(0x9d)]();_0x12853f[_0x2685c5(0xf6)](..._0x57e919[_0x2685c5(0x8b)]((_0x432650,_0x42a9d9)=>[..._0x432650,..._0x42a9d9[_0x2685c5(0x87)]()],[]));}_0x350847[_0x2685c5(0x94)]=_0x12853f;}[_0x55feaf(0x99)](){const _0x59df47=_0x55feaf,_0x50fd41=this[_0x59df47(0x108)],_0x37f2f7=_0x50fd41[_0x59df47(0xa1)],_0x4032ed=_0x249a73(_0x37f2f7,_0x59df47(0xde)),_0x216dde=new _0x3f3232([{'type':_0x59df47(0xf1),'model':new _0x4f2832({'withText':!0x0,'label':_0x4032ed,'commandName':_0x59df47(0xd7)})},{'type':_0x59df47(0xbe)},{'type':_0x59df47(0x88),'model':new _0x4f2832({'withText':!0x0,'label':_0x249a73(_0x37f2f7,_0x59df47(0xf2)),'commandName':_0x59df47(0x8f)})},{'type':_0x59df47(0x88),'model':new _0x4f2832({'withText':!0x0,'label':_0x249a73(_0x37f2f7,_0x59df47(0xe5)),'commandName':_0x59df47(0xe0)})},{'type':_0x59df47(0x88),'model':new _0x4f2832({'withText':!0x0,'label':_0x249a73(_0x37f2f7,_0x59df47(0x9b)),'commandName':_0x59df47(0x8d)})},{'type':_0x59df47(0x88),'model':new _0x4f2832({'withText':!0x0,'label':_0x249a73(_0x37f2f7,_0x59df47(0xe4)),'commandName':_0x59df47(0xd4)})}]);for(const _0x29c484 of _0x216dde)if(ae(_0x29c484)){const _0x5a510b=_0x50fd41[_0x59df47(0x10e)][_0x59df47(0x10f)](_0x29c484[_0x59df47(0xc5)][_0x59df47(0x102)]);_0x29c484[_0x59df47(0xc5)][_0x59df47(0xa6)](_0x59df47(0xc1),_0x59df47(0x9c))['to'](_0x5a510b,_0x59df47(0x98),_0x59df47(0x9c));}_0x50fd41['ui'][_0x59df47(0xbf)][_0x59df47(0xa9)](_0x59df47(0xd7),_0x5d958f=>this[_0x59df47(0x105)](_0x5d958f,_0x216dde,_0x4032ed)),_0x50fd41['ui'][_0x59df47(0xbf)][_0x59df47(0xa9)](_0x59df47(0xfb),_0x583f3c=>this[_0x59df47(0x104)](_0x583f3c,_0x216dde,_0x4032ed));}[_0x55feaf(0x105)](_0x1225e7,_0x3f05a8,_0x134125){const _0x56a2aa=_0x55feaf,_0x1a3a09=_0x17b616(_0x1225e7,_0x1788c7),_0x22273c=this[_0x56a2aa(0x108)][_0x56a2aa(0x10e)][_0x56a2aa(0x10f)](_0x56a2aa(0xd7));_0x1a3a09[_0x56a2aa(0xbd)][_0x56a2aa(0xda)]({'tooltip':_0x134125,'label':_0x134125,'icon':_0x4c891f}),_0x1a3a09[_0x56a2aa(0xbd)][_0x56a2aa(0xa6)](_0x56a2aa(0xc1))['to'](_0x22273c,_0x56a2aa(0x98)),_0x1a3a09[_0x56a2aa(0xbd)]['on'](_0x56a2aa(0xba),()=>{const _0x3ce2b8=_0x56a2aa;_0x22273c[_0x3ce2b8(0xba)](),this[_0x3ce2b8(0x108)][_0x3ce2b8(0xdb)][_0x3ce2b8(0xa4)][_0x3ce2b8(0xf8)]();}),_0x2d6a7c(_0x1a3a09,_0x3f05a8);const _0x250aab=[];for(const _0x1fdb43 of _0x3f05a8)ae(_0x1fdb43)&&_0x250aab[_0x56a2aa(0xf6)](this[_0x56a2aa(0x108)][_0x56a2aa(0x10e)][_0x56a2aa(0x10f)](_0x1fdb43[_0x56a2aa(0xc5)][_0x56a2aa(0x102)]));const _0x11598a=_0x1a3a09[_0x56a2aa(0xbd)];return _0x11598a[_0x56a2aa(0xa8)][_0x56a2aa(0xab)](_0x56a2aa(0x9c)),_0x11598a[_0x56a2aa(0xbb)][_0x56a2aa(0xab)](_0x56a2aa(0x9c)),_0x11598a[_0x56a2aa(0xa8)][_0x56a2aa(0xa6)](_0x56a2aa(0x9c))['to'](_0x22273c,_0x56a2aa(0x9c)),_0x11598a[_0x56a2aa(0xbb)][_0x56a2aa(0xa6)](_0x56a2aa(0x9c))[_0x56a2aa(0xdf)](_0x250aab,_0x56a2aa(0x9c),(..._0x4a0514)=>_0x4a0514[_0x56a2aa(0x95)](_0x4b262b=>_0x4b262b)),_0x1a3a09['on'](_0x56a2aa(0xba),_0x363ce9=>{const _0x4f97e7=_0x56a2aa;this[_0x4f97e7(0x108)][_0x4f97e7(0xba)](_0x363ce9[_0x4f97e7(0xd9)][_0x4f97e7(0x102)]),this[_0x4f97e7(0x108)][_0x4f97e7(0xdb)][_0x4f97e7(0xa4)][_0x4f97e7(0xf8)]();}),_0x1a3a09;}[_0x55feaf(0x104)](_0x18bbf5,_0x33a2f6,_0x190adf){const _0x5bd27f=_0x55feaf,_0x16d2ac=new _0xbe94cd(_0x18bbf5),_0x36f161=this[_0x5bd27f(0x108)][_0x5bd27f(0x10e)][_0x5bd27f(0x10f)](_0x5bd27f(0xd7));_0x16d2ac[_0x5bd27f(0xbd)][_0x5bd27f(0xda)]({'label':_0x190adf,'icon':_0x4c891f});const _0x5c8b3d=new _0x205f21(_0x18bbf5);for(const _0x2c98e1 of _0x33a2f6){if(_0x5bd27f(0xbe)==_0x2c98e1[_0x5bd27f(0xe8)]){_0x5c8b3d[_0x5bd27f(0xcf)][_0x5bd27f(0xa9)](new _0x433be0(_0x18bbf5));continue;}const _0x23131e=new _0x272bee(_0x18bbf5,_0x16d2ac),_0x2842cf=new _0x25765c(_0x18bbf5),_0x2b4b77=_0x2c98e1[_0x5bd27f(0xc5)];_0x2842cf[_0x5bd27f(0xa6)](...Object[_0x5bd27f(0xc7)](_0x2b4b77))['to'](_0x2b4b77),_0x2842cf[_0x5bd27f(0xc9)](_0x5bd27f(0xba))['to'](_0x16d2ac),_0x2842cf['on'](_0x5bd27f(0xba),()=>{const _0x4d90da=_0x5bd27f;this[_0x4d90da(0x108)][_0x4d90da(0xba)](_0x2b4b77[_0x4d90da(0x102)]),this[_0x4d90da(0x108)][_0x4d90da(0xdb)][_0x4d90da(0xa4)][_0x4d90da(0xf8)]();}),_0x23131e[_0x5bd27f(0xe2)][_0x5bd27f(0xa9)](_0x2842cf),_0x5c8b3d[_0x5bd27f(0xcf)][_0x5bd27f(0xa9)](_0x23131e);}return _0x16d2ac[_0x5bd27f(0xa6)](_0x5bd27f(0x9c))['to'](_0x36f161,_0x5bd27f(0x9c)),_0x16d2ac[_0x5bd27f(0x9e)][_0x5bd27f(0xe2)][_0x5bd27f(0xa9)](_0x5c8b3d),_0x16d2ac;}[_0x55feaf(0x10a)](_0x5c9e24){const _0x1fcb93=_0x55feaf,_0x423c6a=this[_0x1fcb93(0x108)],_0x215f09=_0x423c6a[_0x1fcb93(0xaf)],_0x55e7c4=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x1fcb93(0x90)),_0x26326c=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x1fcb93(0xfa)),_0x5a1f40=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x1fcb93(0xcc)),_0xe57e6a=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x55a307)['me'],_0x49a448=_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0xd7))[_0x1fcb93(0xef)],{CommentsListView:_0x2b020d,CommentThreadInputView:_0x49c81c}=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x1fcb93(0x9f));let _0x10d8ae,_0x12e73a;this[_0x1fcb93(0xc2)][_0x1fcb93(0x91)](_0x5c9e24['id'])?(_0x12e73a=this[_0x1fcb93(0xc2)][_0x1fcb93(0x10f)](_0x5c9e24['id']),_0x10d8ae=_0x12e73a[_0x1fcb93(0xfe)]):(_0x10d8ae=new _0x49a448(_0x423c6a[_0x1fcb93(0xa1)],_0x5c9e24,_0xe57e6a,{'disableComments':this[_0x1fcb93(0xd1)],'editorConfig':_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0xee)),'maxCommentsWhenCollapsed':_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0x106)),'maxThreadTotalWeight':_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0x107)),'maxCommentCharsWhenCollapsed':_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0x103)),'formatDateTime':_0x535700(_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0xa1))),'CommentView':_0x215f09[_0x1fcb93(0x10f)](_0x1fcb93(0xa0))[_0x1fcb93(0xf3)],'CommentsListView':_0x2b020d,'CommentThreadInputView':_0x49c81c}),_0x10d8ae[_0x1fcb93(0xb5)]['on'](_0x1fcb93(0xba),()=>{const _0x4b6fb6=_0x1fcb93;_0x423c6a[_0x4b6fb6(0xdb)][_0x4b6fb6(0xa4)][_0x4b6fb6(0xf8)]();}),_0x10d8ae[_0x1fcb93(0x110)]['on'](_0x1fcb93(0xba),()=>{const _0x4f2ea6=_0x1fcb93;_0x423c6a[_0x4f2ea6(0xdb)][_0x4f2ea6(0xa4)][_0x4f2ea6(0xf8)]();}),_0x12e73a=_0x55e7c4[_0x1fcb93(0xdd)](this[_0x1fcb93(0x108)][_0x1fcb93(0xa1)],_0x10d8ae),_0x12e73a[_0x1fcb93(0xa6)](_0x1fcb93(0xec))['to'](_0x10d8ae,_0x1fcb93(0xec)),_0x12e73a[_0x1fcb93(0xa6)](_0x1fcb93(0x10c))['to'](_0x10d8ae),_0x12e73a[_0x1fcb93(0xa6)](_0x1fcb93(0xe8))['to'](_0x10d8ae,_0x1fcb93(0xe8),_0x53d8a3=>_0x1fcb93(0xf4)+_0x53d8a3),this[_0x1fcb93(0xc2)][_0x1fcb93(0xda)](_0x5c9e24['id'],_0x12e73a));const _0x53fe74=_0x26326c[_0x1fcb93(0xeb)](_0x5c9e24[_0x1fcb93(0xc0)],_0x10d8ae),_0x62aacf=new _0x36097c(_0x423c6a,_0x5c9e24,_0x10d8ae,_0x53fe74),_0x5ea4df=_0x5c9e24[_0x1fcb93(0x9d)]()[_0x1fcb93(0x109)](_0x53fa92=>_0x53fa92[_0x1fcb93(0xbc)]);_0x10d8ae[_0x1fcb93(0xb6)]=_0x423c6a[_0x1fcb93(0xe9)][_0x1fcb93(0x10f)](_0x1fcb93(0xfc))[_0x1fcb93(0x93)][_0x1fcb93(0xaa)](_0x5ea4df),this[_0x1fcb93(0xe6)][_0x1fcb93(0xda)](_0x5c9e24,_0x62aacf),this[_0x1fcb93(0x86)][_0x1fcb93(0xda)](_0x10d8ae,_0x62aacf);const _0x47cae0=_0x55e7c4[_0x1fcb93(0x8c)]({'view':_0x12e73a,'target':()=>{const _0x4bca66=_0x1fcb93,_0x39c485=[],_0x33faa5=_0x5c9e24[_0x4bca66(0x9d)]()[_0x4bca66(0x109)](_0x480507=>_0x480507[_0x4bca66(0xbc)]);for(const _0x20a166 of _0x33faa5)_0x39c485[_0x4bca66(0xf6)](..._0x20a166[_0x4bca66(0xca)]());return _0x423e2a(_0x423c6a[_0x4bca66(0xdb)],_0x39c485);},'type':()=>_0x1fcb93(0xf4)+_0x62aacf[_0x1fcb93(0xa4)][_0x1fcb93(0xe8)]});_0x26326c[_0x1fcb93(0xce)](_0x10d8ae,_0x47cae0),_0x55e7c4[_0x1fcb93(0xa9)](_0x47cae0),_0x5a1f40[_0x1fcb93(0xb2)](_0x47cae0);}[_0x55feaf(0x85)](_0x34c423){const _0x4b06af=_0x55feaf,_0x20cd0c=this[_0x4b06af(0x108)][_0x4b06af(0xe9)][_0x4b06af(0x10f)](_0x4b06af(0xfa)),_0x577c72=this[_0x4b06af(0x108)][_0x4b06af(0xe9)][_0x4b06af(0x10f)](_0x4b06af(0x90)),_0x2afcf7=this[_0x4b06af(0xe6)][_0x4b06af(0x10f)](_0x34c423),_0x2071d1=_0x2afcf7[_0x4b06af(0xa4)],_0x1cb569=_0x577c72[_0x4b06af(0xe1)](_0x2071d1);_0x20cd0c[_0x4b06af(0xa5)](_0x2071d1),_0x1cb569&&_0x577c72[_0x4b06af(0xf0)](_0x1cb569),this[_0x4b06af(0xe6)][_0x4b06af(0xf9)](_0x34c423),this[_0x4b06af(0x86)][_0x4b06af(0xf9)](_0x2071d1),_0x2afcf7[_0x4b06af(0xa7)]();}[_0x55feaf(0xdc)](_0x43224f){const _0x5bd7ef=_0x55feaf;if(!_0x43224f[_0x5bd7ef(0xbc)]||!this[_0x5bd7ef(0xe6)][_0x5bd7ef(0x91)](_0x43224f))return;const _0x4e167d=this[_0x5bd7ef(0x108)][_0x5bd7ef(0xe9)][_0x5bd7ef(0x10f)](_0x5bd7ef(0xfc)),_0x3f0cb2=this[_0x5bd7ef(0xe6)][_0x5bd7ef(0x10f)](_0x43224f),_0x893c7d=_0x43224f[_0x5bd7ef(0x9d)]();_0x3f0cb2[_0x5bd7ef(0xa4)][_0x5bd7ef(0xb6)]=_0x4e167d[_0x5bd7ef(0x93)][_0x5bd7ef(0xaa)](_0x893c7d);}[_0x55feaf(0xa7)](){const _0x36ea90=_0x55feaf;for(const _0x3a681b of this[_0x36ea90(0xe6)][_0x36ea90(0xc7)]())this[_0x36ea90(0x85)](_0x3a681b);for(const _0x1078d6 of this[_0x36ea90(0xc2)][_0x36ea90(0x101)]())_0x1078d6[_0x36ea90(0xfe)][_0x36ea90(0xa7)]();super[_0x36ea90(0xa7)]();}}function ae(_0x5e811e){const _0x5223b5=_0x55feaf;return _0x5223b5(0xc5)in _0x5e811e;}
|
|
23
|
+
const _0x4d9881=_0x524e;(function(_0x2419a3,_0x2c8558){const _0x10d63f=_0x524e,_0x46e9e9=_0x2419a3();while(!![]){try{const _0x34dff0=-parseInt(_0x10d63f(0x1e5))/0x1+parseInt(_0x10d63f(0x1e1))/0x2*(-parseInt(_0x10d63f(0x1f4))/0x3)+parseInt(_0x10d63f(0x1d3))/0x4*(parseInt(_0x10d63f(0x22f))/0x5)+parseInt(_0x10d63f(0x23c))/0x6*(-parseInt(_0x10d63f(0x1c6))/0x7)+-parseInt(_0x10d63f(0x222))/0x8*(-parseInt(_0x10d63f(0x1cc))/0x9)+parseInt(_0x10d63f(0x1d8))/0xa+parseInt(_0x10d63f(0x1d7))/0xb*(parseInt(_0x10d63f(0x201))/0xc);if(_0x34dff0===_0x2c8558)break;else _0x46e9e9['push'](_0x46e9e9['shift']());}catch(_0x4a52a1){_0x46e9e9['push'](_0x46e9e9['shift']());}}}(_0x1f77,0x69773));import{Plugin as _0x1d918d}from'ckeditor5/src/core.js';import{Collection as _0x23a11e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x258b23,createDropdown as _0x590ce0,ListSeparatorView as _0x35a246,MenuBarMenuView as _0x4c90d9,MenuBarMenuListView as _0x2c8dae,MenuBarMenuListItemView as _0x50254a,MenuBarMenuListItemButtonView as _0x50de46,SplitButtonView as _0x286416,ViewModel as _0xd97348}from'ckeditor5/src/ui.js';import{Users as _0x3d3c2c,getDateTimeFormatter as _0x140426,getAllMarkersDomElementsSorted as _0x385d41}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14dd71 from'./trackchangesediting.js';import _0x1aed12 from'./ui/suggestioncontroller.js';function _0x524e(_0x395cc4,_0x4e29e7){const _0x1f77fd=_0x1f77();return _0x524e=function(_0x524e23,_0x274049){_0x524e23=_0x524e23-0x1ae;let _0x432528=_0x1f77fd[_0x524e23];return _0x432528;},_0x524e(_0x395cc4,_0x4e29e7);}import _0x5a4500 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x30a0ef}from'./utils/common-translations.js';import _0x502ce5 from'../theme/icons/track-changes.svg';function _0x1f77(){const _0x56e610=['suggestion-','_viewToController','get','_addUIComponentsToFactory','_destroyController','discardButton','acceptAllSuggestions','descriptionParts','acceptButton','isOn','previous','5087436IkEaXx','_suggestionToController','getRanges','_createMenuBarMenu','isEnabled','comments.maxThreadTotalWeight','_descriptionFactory','Accept\x20all\x20selected\x20suggestions','comments.editorConfig','editor','keys','CommentsUI','head','hasSuggestion','TrackChangesEditing','suggestionUnloaded','commands','commandName','length','_updateController','discardAllSuggestions','view','createAnnotationView','bind','_createToolbarButton','editing','delete','commentThread','switchbutton','componentFactory','config','_handleSuggestionControllerDelayed','TrackChangesUI','11216LDDcBb','_refreshActiveMarkers','getSuggestion','arrowView','source','getJoined','model','mainView','EditorAnnotations','trackChanges','registerAnnotation','change:previous','values','3588930BRZkii','init','activeAnnotations','delegate','innerView','trackChanges.SuggestionThreadView','children','_disableComments','focus','isDirty','panelView','unbind','comments.maxCommentsWhenCollapsed','492GfXYMg','pluginName','menuBar:trackChanges','SuggestionThreadView','isInContent','execute','actionView','createAnnotation','trackChanges.disableComments','remove','value','suggestionChanged','Annotations','CommentView','filter','getAllAdjacentSuggestions','_bindAnnotationToEditors','Accept\x20all\x20suggestions','define','Discard\x20all\x20selected\x20suggestions','getByInnerView','lowest','buttonView','button','addSourceCollector','has','1106cLYfOs','activeMarkers','requires','_unbindEditors','from','Discard\x20all\x20suggestions','2268qVvsCv','getFirstRange','_initializeController','plugins','separator','discardSelectedSuggestions','listenTo','4fHNxmP','change:activeAnnotations','comments','Track\x20changes','11IAXvgM','3676820jQrlCt','locale','type','destroy','reduce','toMany','set','some','addComment','9602BHvhlz','size','clear','_handleControllerBuffer','760045tXtBEu','acceptSelectedSuggestions','add','push','createCommentThreadController','CommentsRepository','isMultiRange','getMarkerNames','refreshSelectedViews','getMarkers','comments.maxCommentCharsWhenCollapsed','items','_annotationViews','getDescriptions','suggestionLoaded','411viabUg','stopListening'];_0x1f77=function(){return _0x56e610;};return _0x1f77();}export default class d extends _0x1d918d{static get[_0x4d9881(0x1c8)](){const _0x20fae2=_0x4d9881;return[_0x14dd71,_0x3d3c2c,_0x20fae2(0x1ea),_0x20fae2(0x1b8),_0x20fae2(0x22a)];}static get[_0x4d9881(0x23d)](){const _0x5a3ada=_0x4d9881;return _0x5a3ada(0x221);}constructor(_0x5e0016){const _0x3d4b8f=_0x4d9881;super(_0x5e0016),this[_0x3d4b8f(0x202)]=new Map(),this[_0x3d4b8f(0x1f7)]=new Map(),this[_0x3d4b8f(0x1f1)]=new Map(),this[_0x3d4b8f(0x1e4)]=new Map();const _0xded441=this[_0x3d4b8f(0x20a)][_0x3d4b8f(0x21f)];_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x234),_0x5a4500),_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x1b4),!0x1),this[_0x3d4b8f(0x236)]=_0xded441[_0x3d4b8f(0x1f8)](_0x3d4b8f(0x1b4));}[_0x4d9881(0x220)](_0xcdead5,_0x30f4f3){const _0x3d3ca7=_0x4d9881;0x0===this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1e2)]&&setTimeout(()=>{const _0xc3fab3=_0x3d3ca7;for(const [_0x1ef931,_0x2856d0]of this[_0xc3fab3(0x1e4)]){const _0x6f11fd=this[_0xc3fab3(0x202)][_0xc3fab3(0x1c5)](_0x1ef931);_0x6f11fd||_0x2856d0?_0x6f11fd&&_0x2856d0&&this[_0xc3fab3(0x1fa)](_0x1ef931):this[_0xc3fab3(0x1ce)](_0x1ef931);}this[_0xc3fab3(0x1e4)][_0xc3fab3(0x1e3)](),this[_0xc3fab3(0x20a)][_0xc3fab3(0x1cf)][_0xc3fab3(0x1f8)](_0xc3fab3(0x22a))[_0xc3fab3(0x1ed)](),this[_0xc3fab3(0x223)]();},0xa),this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1de)](_0xcdead5,_0x30f4f3);}[_0x4d9881(0x230)](){const _0x493425=_0x4d9881,_0x280711=this[_0x493425(0x20a)],_0x1f76f4=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x20f)),_0x5a72ed=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1b8)),_0x209206=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x22a)),_0x5b15e7=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1ea));this[_0x493425(0x1f9)](),_0x209206[_0x493425(0x1c4)](()=>{const _0x3a9d46=_0x493425,_0x838e0c=[];for(const [_0x55ce37,_0x54a8f6]of Array[_0x3a9d46(0x1ca)](this[_0x3a9d46(0x202)])){const _0x33a543=_0x55ce37[_0x3a9d46(0x1bb)](),_0x338be3=[];for(const _0x174d80 of _0x33a543){if(!_0x174d80[_0x3a9d46(0x1b0)])continue;if(_0x174d80[_0x3a9d46(0x1eb)]){_0x338be3[_0x3a9d46(0x1e8)](..._0x174d80[_0x3a9d46(0x203)]());continue;}const _0x2dd4d4=_0x174d80[_0x3a9d46(0x1cd)]();if(_0x338be3[_0x3a9d46(0x213)]>0x0){const _0x138faf=_0x338be3[0x0][_0x3a9d46(0x227)](_0x2dd4d4);if(_0x138faf){_0x338be3[0x0]=_0x138faf;continue;}}_0x338be3[_0x3a9d46(0x1e8)](_0x2dd4d4);}_0x838e0c[_0x3a9d46(0x1e8)]([_0x54a8f6[_0x3a9d46(0x216)],_0x338be3]);}return _0x838e0c;}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1f3),(_0x326024,_0x52a838)=>{const _0x5d3af4=_0x493425;this[_0x5d3af4(0x1d2)](_0x52a838,_0x5d3af4(0x22d),(_0x39d4d6,_0x33d3b3,_0x3d295e,_0x3c610d)=>{const _0x133188=_0x5d3af4;_0x52a838[_0x133188(0x1b0)]&&(null==_0x3d295e?(this[_0x133188(0x214)](_0x3c610d[_0x133188(0x20d)]),this[_0x133188(0x220)](_0x52a838,!0x1)):(this[_0x133188(0x214)](_0x3d295e[_0x133188(0x20d)]),null==_0x3c610d&&this[_0x133188(0x220)](_0x52a838,!0x0)));}),null!==_0x52a838[_0x5d3af4(0x200)]?this[_0x5d3af4(0x214)](_0x52a838[_0x5d3af4(0x20d)]):this[_0x5d3af4(0x220)](_0x52a838,!0x1);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x210),(_0x1aea6f,_0xaa0a87,_0x199498)=>{const _0x384251=_0x493425;this[_0x384251(0x1f5)](_0xaa0a87,_0x384251(0x22d)),this[_0x384251(0x1e4)][_0x384251(0x21b)](_0xaa0a87),this[_0x384251(0x202)][_0x384251(0x1c5)](_0xaa0a87)&&this[_0x384251(0x1fa)](_0xaa0a87),_0x199498&&this[_0x384251(0x214)](_0x199498[_0x384251(0x20d)]);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1b7),(_0x17e25d,_0x52ec47)=>{const _0x368c94=_0x493425;this[_0x368c94(0x214)](_0x52ec47);}),this[_0x493425(0x1d2)](_0x5a72ed,_0x493425(0x1d4),()=>{const _0x52a510=_0x493425;this[_0x52a510(0x223)]();}),this[_0x493425(0x1d2)](_0x5b15e7,_0x493425(0x1e0),(_0x2ed5d4,{threadId:_0x3d2543,isFromAdapter:_0xd0d8ca})=>{const _0x5844e5=_0x493425;if(_0xd0d8ca||!_0x1f76f4[_0x5844e5(0x20e)](_0x3d2543))return;const _0x596a33=_0x1f76f4[_0x5844e5(0x224)](_0x3d2543);this[_0x5844e5(0x202)][_0x5844e5(0x1f8)](_0x596a33)[_0x5844e5(0x216)][_0x5844e5(0x237)]();},{'priority':_0x493425(0x1c1)});}[_0x4d9881(0x223)](){const _0x5d086a=_0x4d9881,_0x5af245=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x1b8)),_0x48de5a=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x20f)),_0x182dfa=Array[_0x5d086a(0x1ca)](_0x5af245[_0x5d086a(0x231)],_0x389cb4=>_0x389cb4[_0x5d086a(0x233)])[_0x5d086a(0x1ba)](_0x2d0ea6=>this[_0x5d086a(0x1f7)][_0x5d086a(0x1c5)](_0x2d0ea6)),_0xae2580=[];for(const _0x29f52b of _0x182dfa){const _0x23ea15=this[_0x5d086a(0x1f7)][_0x5d086a(0x1f8)](_0x29f52b)[_0x5d086a(0x228)][_0x5d086a(0x1bb)]();_0xae2580[_0x5d086a(0x1e8)](..._0x23ea15[_0x5d086a(0x1dc)]((_0x453e62,_0x22bfd6)=>[..._0x453e62,..._0x22bfd6[_0x5d086a(0x1ec)]()],[]));}_0x48de5a[_0x5d086a(0x1c7)]=_0xae2580;}[_0x4d9881(0x1f9)](){const _0x2f6bc0=_0x4d9881,_0x3131ad=this[_0x2f6bc0(0x20a)],_0x3b0084=_0x3131ad[_0x2f6bc0(0x1d9)],_0x194e7e=_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1d6)),_0x3b6b37=new _0x23a11e([{'type':_0x2f6bc0(0x21d),'model':new _0xd97348({'withText':!0x0,'label':_0x194e7e,'commandName':_0x2f6bc0(0x22b)})},{'type':_0x2f6bc0(0x1d0)},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bd)),'commandName':_0x2f6bc0(0x1fc)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x208)),'commandName':_0x2f6bc0(0x1e6)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1cb)),'commandName':_0x2f6bc0(0x215)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bf)),'commandName':_0x2f6bc0(0x1d1)})}]);for(const _0x406bef of _0x3b6b37)if(ae(_0x406bef)){const _0x45beb0=_0x3131ad[_0x2f6bc0(0x211)][_0x2f6bc0(0x1f8)](_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x212)]);_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x218)](_0x2f6bc0(0x1ff),_0x2f6bc0(0x205))['to'](_0x45beb0,_0x2f6bc0(0x1b6),_0x2f6bc0(0x205));}_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x22b),_0x112664=>this[_0x2f6bc0(0x219)](_0x112664,_0x3b6b37,_0x194e7e)),_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x1ae),_0x11db78=>this[_0x2f6bc0(0x204)](_0x11db78,_0x3b6b37,_0x194e7e));}[_0x4d9881(0x219)](_0x16ff6b,_0x1a9dd1,_0x3fa071){const _0x216e9e=_0x4d9881,_0x3bfe6=_0x590ce0(_0x16ff6b,_0x286416),_0x589b41=this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x216e9e(0x22b));_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x1de)]({'tooltip':_0x3fa071,'label':_0x3fa071,'icon':_0x502ce5}),_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x218)](_0x216e9e(0x1ff))['to'](_0x589b41,_0x216e9e(0x1b6)),_0x3bfe6[_0x216e9e(0x1c2)]['on'](_0x216e9e(0x1b1),()=>{const _0x536012=_0x216e9e;_0x589b41[_0x536012(0x1b1)](),this[_0x536012(0x20a)][_0x536012(0x21a)][_0x536012(0x216)][_0x536012(0x237)]();}),_0x258b23(_0x3bfe6,_0x1a9dd1);const _0x5bd15b=[];for(const _0x2fe238 of _0x1a9dd1)ae(_0x2fe238)&&_0x5bd15b[_0x216e9e(0x1e8)](this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x2fe238[_0x216e9e(0x228)][_0x216e9e(0x212)]));const _0x34e716=_0x3bfe6[_0x216e9e(0x1c2)];return _0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x218)](_0x216e9e(0x205))['to'](_0x589b41,_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x218)](_0x216e9e(0x205))[_0x216e9e(0x1dd)](_0x5bd15b,_0x216e9e(0x205),(..._0xf9d13f)=>_0xf9d13f[_0x216e9e(0x1df)](_0x532b4d=>_0x532b4d)),_0x3bfe6['on'](_0x216e9e(0x1b1),_0x435af6=>{const _0x5aa340=_0x216e9e;this[_0x5aa340(0x20a)][_0x5aa340(0x1b1)](_0x435af6[_0x5aa340(0x226)][_0x5aa340(0x212)]),this[_0x5aa340(0x20a)][_0x5aa340(0x21a)][_0x5aa340(0x216)][_0x5aa340(0x237)]();}),_0x3bfe6;}[_0x4d9881(0x204)](_0x5ee2b9,_0x5bfac8,_0x2911f9){const _0x5d3168=_0x4d9881,_0x2d49f2=new _0x4c90d9(_0x5ee2b9),_0x747f7a=this[_0x5d3168(0x20a)][_0x5d3168(0x211)][_0x5d3168(0x1f8)](_0x5d3168(0x22b));_0x2d49f2[_0x5d3168(0x1c2)][_0x5d3168(0x1de)]({'label':_0x2911f9,'icon':_0x502ce5});const _0x728e72=new _0x2c8dae(_0x5ee2b9);for(const _0x301cfa of _0x5bfac8){if(_0x5d3168(0x1d0)==_0x301cfa[_0x5d3168(0x1da)]){_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](new _0x35a246(_0x5ee2b9));continue;}const _0xc397f6=new _0x50254a(_0x5ee2b9,_0x2d49f2),_0x1c13b6=new _0x50de46(_0x5ee2b9),_0x1ed88d=_0x301cfa[_0x5d3168(0x228)];_0x1c13b6[_0x5d3168(0x218)](...Object[_0x5d3168(0x20b)](_0x1ed88d))['to'](_0x1ed88d),_0x1c13b6[_0x5d3168(0x232)](_0x5d3168(0x1b1))['to'](_0x2d49f2),_0x1c13b6['on'](_0x5d3168(0x1b1),()=>{const _0x2322e2=_0x5d3168;this[_0x2322e2(0x20a)][_0x2322e2(0x1b1)](_0x1ed88d[_0x2322e2(0x212)]),this[_0x2322e2(0x20a)][_0x2322e2(0x21a)][_0x2322e2(0x216)][_0x2322e2(0x237)]();}),_0xc397f6[_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x1c13b6),_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](_0xc397f6);}return _0x2d49f2[_0x5d3168(0x218)](_0x5d3168(0x205))['to'](_0x747f7a,_0x5d3168(0x205)),_0x2d49f2[_0x5d3168(0x239)][_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x728e72),_0x2d49f2;}[_0x4d9881(0x1ce)](_0x59ff15){const _0x4cf8e3=_0x4d9881,_0xde1d5=this[_0x4cf8e3(0x20a)],_0x28922c=_0xde1d5[_0x4cf8e3(0x21f)],_0x5a0996=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1b8)),_0x1eb051=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ea)),_0x42794d=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22a)),_0x24e3f7=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x3d3c2c)['me'],_0x5bb362=_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22b))[_0x4cf8e3(0x1af)],{CommentsListView:_0x4e0af0,CommentThreadInputView:_0x18a42c}=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20c));let _0xe0db0a,_0x46629b;this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1c5)](_0x59ff15['id'])?(_0x46629b=this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1f8)](_0x59ff15['id']),_0xe0db0a=_0x46629b[_0x4cf8e3(0x229)]):(_0xe0db0a=new _0x5bb362(_0xde1d5[_0x4cf8e3(0x1d9)],_0x59ff15,_0x24e3f7,{'disableComments':this[_0x4cf8e3(0x236)],'editorConfig':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x209)),'maxCommentsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x23b)),'maxThreadTotalWeight':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x206)),'maxCommentCharsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ef)),'formatDateTime':_0x140426(_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d9))),'CommentView':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d5))[_0x4cf8e3(0x1b9)],'CommentsListView':_0x4e0af0,'CommentThreadInputView':_0x18a42c}),_0xe0db0a[_0x4cf8e3(0x1fe)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1058c3=_0x4cf8e3;_0xde1d5[_0x1058c3(0x21a)][_0x1058c3(0x216)][_0x1058c3(0x237)]();}),_0xe0db0a[_0x4cf8e3(0x1fb)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1426d8=_0x4cf8e3;_0xde1d5[_0x1426d8(0x21a)][_0x1426d8(0x216)][_0x1426d8(0x237)]();}),_0x46629b=_0x5a0996[_0x4cf8e3(0x217)](this[_0x4cf8e3(0x20a)][_0x4cf8e3(0x1d9)],_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x238))['to'](_0xe0db0a,_0x4cf8e3(0x238)),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x213))['to'](_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x1da))['to'](_0xe0db0a,_0x4cf8e3(0x1da),_0xa693a0=>_0x4cf8e3(0x1f6)+_0xa693a0),this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1de)](_0x59ff15['id'],_0x46629b));const _0x3d728d=_0x1eb051[_0x4cf8e3(0x1e9)](_0x59ff15[_0x4cf8e3(0x21c)],_0xe0db0a),_0x59e2b4=new _0x1aed12(_0xde1d5,_0x59ff15,_0xe0db0a,_0x3d728d),_0xa93536=_0x59ff15[_0x4cf8e3(0x1bb)]()[_0x4cf8e3(0x1ba)](_0x1a3f5f=>_0x1a3f5f[_0x4cf8e3(0x1b0)]);_0xe0db0a[_0x4cf8e3(0x1fd)]=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20f))[_0x4cf8e3(0x207)][_0x4cf8e3(0x1f2)](_0xa93536),this[_0x4cf8e3(0x202)][_0x4cf8e3(0x1de)](_0x59ff15,_0x59e2b4),this[_0x4cf8e3(0x1f7)][_0x4cf8e3(0x1de)](_0xe0db0a,_0x59e2b4);const _0x194247=_0x5a0996[_0x4cf8e3(0x1b3)]({'view':_0x46629b,'target':()=>{const _0x398723=_0x4cf8e3,_0x54dcfb=[],_0x5e4073=_0x59ff15[_0x398723(0x1bb)]()[_0x398723(0x1ba)](_0x8396ba=>_0x8396ba[_0x398723(0x1b0)]);for(const _0x4e39d9 of _0x5e4073)_0x54dcfb[_0x398723(0x1e8)](..._0x4e39d9[_0x398723(0x1ee)]());return _0x385d41(_0xde1d5[_0x398723(0x21a)],_0x54dcfb);},'type':()=>_0x4cf8e3(0x1f6)+_0x59e2b4[_0x4cf8e3(0x216)][_0x4cf8e3(0x1da)]});_0x1eb051[_0x4cf8e3(0x1bc)](_0xe0db0a,_0x194247),_0x5a0996[_0x4cf8e3(0x1e7)](_0x194247),_0x42794d[_0x4cf8e3(0x22c)](_0x194247);}[_0x4d9881(0x1fa)](_0x569709){const _0x1869aa=_0x4d9881,_0x3e0b8c=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1ea)),_0x50d029=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1b8)),_0x2a76ed=this[_0x1869aa(0x202)][_0x1869aa(0x1f8)](_0x569709),_0x2ac23b=_0x2a76ed[_0x1869aa(0x216)],_0x5e5b0d=_0x50d029[_0x1869aa(0x1c0)](_0x2ac23b);_0x3e0b8c[_0x1869aa(0x1c9)](_0x2ac23b),_0x5e5b0d&&_0x50d029[_0x1869aa(0x1b5)](_0x5e5b0d),this[_0x1869aa(0x202)][_0x1869aa(0x21b)](_0x569709),this[_0x1869aa(0x1f7)][_0x1869aa(0x21b)](_0x2ac23b),_0x2a76ed[_0x1869aa(0x1db)]();}[_0x4d9881(0x214)](_0x22748b){const _0x16f487=_0x4d9881;if(!_0x22748b[_0x16f487(0x1b0)]||!this[_0x16f487(0x202)][_0x16f487(0x1c5)](_0x22748b))return;const _0x25192f=this[_0x16f487(0x20a)][_0x16f487(0x1cf)][_0x16f487(0x1f8)](_0x16f487(0x20f)),_0x476ab2=this[_0x16f487(0x202)][_0x16f487(0x1f8)](_0x22748b),_0x44494f=_0x22748b[_0x16f487(0x1bb)]();_0x476ab2[_0x16f487(0x216)][_0x16f487(0x1fd)]=_0x25192f[_0x16f487(0x207)][_0x16f487(0x1f2)](_0x44494f);}[_0x4d9881(0x1db)](){const _0x12f21b=_0x4d9881;for(const _0x51b80f of this[_0x12f21b(0x202)][_0x12f21b(0x20b)]())this[_0x12f21b(0x1fa)](_0x51b80f);for(const _0x300bbc of this[_0x12f21b(0x1f1)][_0x12f21b(0x22e)]())_0x300bbc[_0x12f21b(0x229)][_0x12f21b(0x1db)]();super[_0x12f21b(0x1db)]();}}function ae(_0x36796a){const _0x110995=_0x4d9881;return _0x110995(0x228)in _0x36796a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f1279=_0x5110;(function(_0x127b5d,_0x26090){const _0x4854f8=_0x5110,_0x146a9b=_0x127b5d();while(!![]){try{const _0x1abd36=-parseInt(_0x4854f8(0x185))/0x1*(parseInt(_0x4854f8(0x17b))/0x2)+-parseInt(_0x4854f8(0x17a))/0x3*(parseInt(_0x4854f8(0x183))/0x4)+parseInt(_0x4854f8(0x18c))/0x5*(parseInt(_0x4854f8(0x16a))/0x6)+parseInt(_0x4854f8(0x180))/0x7+-parseInt(_0x4854f8(0x17c))/0x8+-parseInt(_0x4854f8(0x172))/0x9*(-parseInt(_0x4854f8(0x168))/0xa)+parseInt(_0x4854f8(0x18f))/0xb;if(_0x1abd36===_0x26090)break;else _0x146a9b['push'](_0x146a9b['shift']());}catch(_0x3f10d6){_0x146a9b['push'](_0x146a9b['shift']());}}}(_0x166c,0x4c7f7));function _0x5110(_0x1111d7,_0x16ef63){const _0x166cef=_0x166c();return _0x5110=function(_0x5110c8,_0x3cbb84){_0x5110c8=_0x5110c8-0x166;let _0x137cb7=_0x166cef[_0x5110c8];return _0x137cb7;},_0x5110(_0x1111d7,_0x16ef63);}function _0x166c(){const _0x116970=['PENDING_ACTION_SUGGESTION','33285ItSMhf','604BvWrme','2690192YitfPz','locale','execute','get','554967vrmiky','canAccept','_acceptCommand','52ryKsST','canEditAt','783vFNsAn','_removePendingAction','PendingActions','add','_setPendingAction','unbind','canDiscard','5kdSnBg','commands','listenTo','4596284GdKBAp','destroy','_editor','discardSuggestion','360GmQdyv','isDirty','182454yHmczr','plugins','_discardCommand','acceptSuggestion','change:isDirty','_pendingAction','view','isEnabled','125694cDikMv','getRanges','model','bind','commentThreadController','stopListening','remove'];_0x166c=function(){return _0x116970;};return _0x166c();}import{ObservableMixin as _0x5444b7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3251a1}from'../utils/common-translations.js';export default class oe extends _0x5444b7(){constructor(_0x522cdd,_0x4ba7d4,_0x1dd1cb,_0x47be47){const _0x23c3f7=_0x5110;super(),this[_0x23c3f7(0x174)]=_0x4ba7d4,this[_0x23c3f7(0x170)]=_0x1dd1cb,this[_0x23c3f7(0x176)]=_0x47be47,this[_0x23c3f7(0x166)]=_0x522cdd,this[_0x23c3f7(0x182)]=_0x522cdd[_0x23c3f7(0x18d)][_0x23c3f7(0x17f)](_0x23c3f7(0x16d)),this[_0x23c3f7(0x16c)]=_0x522cdd[_0x23c3f7(0x18d)][_0x23c3f7(0x17f)](_0x23c3f7(0x167)),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x171))['to'](this[_0x23c3f7(0x182)],this[_0x23c3f7(0x16c)],(_0x437861,_0x4321b6)=>_0x437861||_0x4321b6),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x181))['to'](this[_0x23c3f7(0x182)],_0x23c3f7(0x171),_0x52951b=>_0x52951b&&this[_0x23c3f7(0x166)][_0x23c3f7(0x174)][_0x23c3f7(0x184)](_0x4ba7d4[_0x23c3f7(0x173)]())),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x18b))['to'](this[_0x23c3f7(0x16c)],_0x23c3f7(0x171),_0x7eb3e1=>_0x7eb3e1&&this[_0x23c3f7(0x166)][_0x23c3f7(0x174)][_0x23c3f7(0x184)](_0x4ba7d4[_0x23c3f7(0x173)]())),this[_0x23c3f7(0x16f)]=null,_0x1dd1cb[_0x23c3f7(0x169)]&&this[_0x23c3f7(0x189)](),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x16d),()=>this[_0x23c3f7(0x16d)]()),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x167),()=>this[_0x23c3f7(0x167)]()),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x16e),()=>{const _0x530dd2=_0x23c3f7;_0x1dd1cb[_0x530dd2(0x169)]?this[_0x530dd2(0x189)]():this[_0x530dd2(0x186)]();});}[_0x4f1279(0x16d)](){const _0x4c9113=_0x4f1279;this[_0x4c9113(0x182)][_0x4c9113(0x17e)](this[_0x4c9113(0x174)]['id']);}[_0x4f1279(0x167)](){const _0x41fc4a=_0x4f1279;this[_0x41fc4a(0x16c)][_0x41fc4a(0x17e)](this[_0x41fc4a(0x174)]['id']);}[_0x4f1279(0x190)](){const _0x5d1399=_0x4f1279;this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x171)),this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x181)),this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x18b)),this[_0x5d1399(0x177)](),this[_0x5d1399(0x176)][_0x5d1399(0x190)](),this[_0x5d1399(0x16f)]&&this[_0x5d1399(0x186)]();}[_0x4f1279(0x189)](){const _0x44636f=_0x4f1279,_0x2eafc0=_0x3251a1(this[_0x44636f(0x166)][_0x44636f(0x17d)],_0x44636f(0x179));this[_0x44636f(0x16f)]=this[_0x44636f(0x166)][_0x44636f(0x16b)][_0x44636f(0x17f)](_0x44636f(0x187))[_0x44636f(0x188)](_0x2eafc0);}[_0x4f1279(0x186)](){const _0x126225=_0x4f1279;null!==this[_0x126225(0x16f)]&&this[_0x126225(0x166)][_0x126225(0x16b)][_0x126225(0x17f)](_0x126225(0x187))[_0x126225(0x178)](this[_0x126225(0x16f)]),this[_0x126225(0x16f)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24d88e=_0x5de8;function _0x5de8(_0x5cc3e6,_0x1531ef){const _0x50b76a=_0x50b7();return _0x5de8=function(_0x5de856,_0x211936){_0x5de856=_0x5de856-0x13b;let _0x2ca434=_0x50b76a[_0x5de856];return _0x2ca434;},_0x5de8(_0x5cc3e6,_0x1531ef);}(function(_0x3f2d03,_0x3d0f2a){const _0x5637f6=_0x5de8,_0x539d43=_0x3f2d03();while(!![]){try{const _0x51816c=parseInt(_0x5637f6(0x14d))/0x1*(parseInt(_0x5637f6(0x15b))/0x2)+-parseInt(_0x5637f6(0x160))/0x3*(parseInt(_0x5637f6(0x13b))/0x4)+-parseInt(_0x5637f6(0x15e))/0x5+parseInt(_0x5637f6(0x167))/0x6*(-parseInt(_0x5637f6(0x14b))/0x7)+-parseInt(_0x5637f6(0x14c))/0x8*(parseInt(_0x5637f6(0x168))/0x9)+-parseInt(_0x5637f6(0x14a))/0xa+parseInt(_0x5637f6(0x154))/0xb;if(_0x51816c===_0x3d0f2a)break;else _0x539d43['push'](_0x539d43['shift']());}catch(_0x2bd465){_0x539d43['push'](_0x539d43['shift']());}}}(_0x50b7,0x40997));function _0x50b7(){const _0x3ddbc8=['27629phbtiC','8tpOIEr','4357urFhTv','disabledSubmit','isDirty','submit','fire','commentThreadInputView','addComment','18079622giAdxz','element','cancel','isReadOnly','commentThread','isActive','descriptionParts','38FgmCel','_config','editor','2185610vUQWpL','hasDirtyComment','453hlQmCt','delegate','_localUser','commentsListView','commentInputView','CommentView','showInput','102oNUbGt','4604904wskeZZ','locale','_createCommentThreadInputView','setData','focus','value','assign','7028ZSVagp','authoredAt','destroy','updateComment','canAccept','bind','isEnabled','set','editorConfig','removeComment','_model','disableComments','length','_createCommentViews','canDiscard','1806020zTHRwZ'];_0x50b7=function(){return _0x3ddbc8;};return _0x50b7();}import{View as _0xec5329}from'ckeditor5/src/ui.js';export default class es extends _0xec5329{constructor(_0x5cc740,_0x4cc822,_0x3b1000,_0x523e58){const _0x1036a4=_0x5de8;super(_0x5cc740),this[_0x1036a4(0x163)]=null,this[_0x1036a4(0x152)]=null,this[_0x1036a4(0x142)](_0x1036a4(0x159),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x13c),_0x4cc822[_0x1036a4(0x13c)]),this[_0x1036a4(0x140)](_0x1036a4(0x13c))['to'](_0x4cc822),this[_0x1036a4(0x142)](_0x1036a4(0x15a),[]),this[_0x1036a4(0x142)](_0x1036a4(0x14f),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x141),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x13f),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x149),!0x1),this[_0x1036a4(0x145)]=_0x4cc822,this[_0x1036a4(0x162)]=_0x3b1000,this[_0x1036a4(0x15c)]=_0x523e58,_0x523e58[_0x1036a4(0x146)]?this[_0x1036a4(0x142)](_0x1036a4(0x147),0x1):this[_0x1036a4(0x148)]();}[_0x24d88e(0x16c)](){const _0x1d9833=_0x24d88e;this[_0x1d9833(0x155)][_0x1d9833(0x16c)]();}[_0x24d88e(0x13d)](){const _0x374baf=_0x24d88e;this[_0x374baf(0x163)]&&this[_0x374baf(0x163)][_0x374baf(0x13d)](),this[_0x374baf(0x152)]&&this[_0x374baf(0x152)][_0x374baf(0x13d)](),super[_0x374baf(0x13d)]();}[_0x24d88e(0x148)](){const _0x3bcb14=_0x24d88e,{CommentsListView:_0x3df565}=this[_0x3bcb14(0x15c)];this[_0x3bcb14(0x163)]=new _0x3df565(this[_0x3bcb14(0x169)],this[_0x3bcb14(0x145)][_0x3bcb14(0x158)],Object[_0x3bcb14(0x16e)]({'CommentView':this[_0x3bcb14(0x15c)][_0x3bcb14(0x165)]},this[_0x3bcb14(0x15c)])),this[_0x3bcb14(0x163)][_0x3bcb14(0x161)](_0x3bcb14(0x144))['to'](this),this[_0x3bcb14(0x163)][_0x3bcb14(0x161)](_0x3bcb14(0x13e))['to'](this),this[_0x3bcb14(0x163)][_0x3bcb14(0x140)](_0x3bcb14(0x159))['to'](this),this[_0x3bcb14(0x142)](_0x3bcb14(0x147),this[_0x3bcb14(0x163)][_0x3bcb14(0x147)]+0x1),this[_0x3bcb14(0x140)](_0x3bcb14(0x147))['to'](this[_0x3bcb14(0x163)],_0x3bcb14(0x147),_0x25d7fb=>_0x25d7fb+0x1),this[_0x3bcb14(0x152)]=this[_0x3bcb14(0x16a)](),this['on'](_0x3bcb14(0x144),()=>this[_0x3bcb14(0x16c)]()),this[_0x3bcb14(0x140)](_0x3bcb14(0x14f))['to'](this[_0x3bcb14(0x163)],_0x3bcb14(0x15f),this[_0x3bcb14(0x152)][_0x3bcb14(0x164)],_0x3bcb14(0x16d),(_0xcdfdc8,_0x514574)=>_0xcdfdc8||!!_0x514574);}[_0x24d88e(0x16a)](){const _0x4e5da4=_0x24d88e,{CommentThreadInputView:_0x2b52cb}=this[_0x4e5da4(0x15c)],_0xce6a41=new _0x2b52cb(this[_0x4e5da4(0x169)],this[_0x4e5da4(0x162)],this[_0x4e5da4(0x15c)][_0x4e5da4(0x143)]),_0x2b273e=_0xce6a41[_0x4e5da4(0x164)];return _0xce6a41[_0x4e5da4(0x140)](_0x4e5da4(0x166))['to'](this,_0x4e5da4(0x159),this[_0x4e5da4(0x145)][_0x4e5da4(0x158)],_0x4e5da4(0x157),_0x2b273e,_0x4e5da4(0x16d),(_0x996187,_0x297eac,_0x14ed04)=>!!_0x14ed04||_0x996187&&!_0x297eac),_0x2b273e['on'](_0x4e5da4(0x150),(_0x21623a,_0x27f740)=>{const _0x771ac5=_0x4e5da4;this[_0x771ac5(0x151)](_0x771ac5(0x153),_0x27f740),_0x2b273e[_0x771ac5(0x15d)][_0x771ac5(0x16b)]('');}),_0x2b273e['on'](_0x4e5da4(0x156),()=>this[_0x4e5da4(0x16c)]()),_0x2b273e[_0x4e5da4(0x140)](_0x4e5da4(0x14e))['to'](this[_0x4e5da4(0x145)][_0x4e5da4(0x158)],_0x4e5da4(0x157)),_0xce6a41;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a4bf5=_0x58f3;function _0x4772(){const _0xa017c5=['author','4485519mfnpzB','EXTERNAL_SUGGESTION','ck-suggestion__info-name','querySelector','innerText','description','.ck-annotation__content-wrapper','_descriptionElement','ck-suggestion--accept','editorReady','19850dmIUGd','2222260gVUrLy','importWord','ck-suggestion__info','ck-annotation__actions','canAccept','content','ck-annotation__info-name','ck-suggestion__actions','ck-annotation__user','1878lzROrc','source','locale','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','_config','EXTERNAL_AVATAR','ck-suggestion-','_model','ck-annotation__info-time','userView','ck-suggestion-wrapper--active','acceptButton','editorDestroyed','ck-comment__info-time','3888465yyglQr','extendTemplate','discardSuggestion','_createButton','ck-annotation__content-wrapper','change:description','formatDateTime','render','value','push','authoredAt','getUserViewNotificationText','bind','Accept\x20suggestion','getTemplate','ck-suggestion--discard','24FzwTqo','div','setTemplate','check','fire','isExternal','time','commentThread','ck-annotation__info','delegate','EXTERNAL_IMPORT_WORD_SUGGESTION','Discard\x20suggestion','commentThreadInputView','EXTERNAL_IMPORT_WORD_AVATAR','<span\x20class=\x22ck-suggestion-type\x22>','cancel','type','<p>','isEnabled','commentsListView','execute','disableComments','</p>','innerHTML','element','ck-annotation','</span>','split','acceptSuggestion','1760100ozXQDX','map','ck-suggestion--disabled-comments','ck-annotation__main','\x22></span>','getExternalSuggestionNote','\x22\x20title=\x22','1231808baSCjl','descriptionParts','bindTemplate','creator','children','ck-suggestion__main','@external','set','canDiscard','join','ck-comment__external','span','attributes','discardButton','isActive','1031397CClAmp','title','ck-suggestion-wrapper','ck-suggestion__user','color','ck-suggestion','name'];_0x4772=function(){return _0xa017c5;};return _0x4772();}(function(_0x4686b7,_0x3992c2){const _0x443e52=_0x58f3,_0x4b487e=_0x4686b7();while(!![]){try{const _0x5c589e=-parseInt(_0x443e52(0xc6))/0x1+parseInt(_0x443e52(0xd9))/0x2+parseInt(_0x443e52(0xb0))/0x3+parseInt(_0x443e52(0xb7))/0x4+-parseInt(_0x443e52(0xd8))/0x5*(parseInt(_0x443e52(0x74))/0x6)+-parseInt(_0x443e52(0x83))/0x7+parseInt(_0x443e52(0x93))/0x8*(parseInt(_0x443e52(0xce))/0x9);if(_0x5c589e===_0x3992c2)break;else _0x4b487e['push'](_0x4b487e['shift']());}catch(_0x443c64){_0x4b487e['push'](_0x4b487e['shift']());}}}(_0x4772,0xa3edd));import{getTranslation as _0x213883}from'../../utils/common-translations.js';import{default as _0x27b693}from'./basesuggestionthreadview.js';import{ButtonView as _0x9d38cd}from'ckeditor5/src/ui.js';import{icons as _0x570b24}from'ckeditor5/src/core.js';import{trimHtml as _0x30178e,UserView as _0x6d2c4b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x27b693{constructor(_0x4da8f3,_0x5e3f42,_0x2e8a5f,_0x5bfb13){const _0x25ea20=_0x58f3;super(_0x4da8f3,_0x5e3f42,_0x2e8a5f,_0x5bfb13),this[_0x25ea20(0xbe)](_0x25ea20(0xa3),''),this[_0x25ea20(0x8f)](_0x25ea20(0xa3))['to'](this,_0x25ea20(0xb8),_0x509123=>_0x509123&&_0x509123[0x0]?_0x509123[0x0][_0x25ea20(0xa3)]:''),this[_0x25ea20(0x8f)](_0x25ea20(0xd3))['to'](this,_0x25ea20(0xb8),this,_0x25ea20(0xc5),(_0x4ae887,_0x25f993)=>{const _0x237bc4=_0x25ea20;let _0x407947='';for(const _0xbf5eda of _0x4ae887)_0x407947+=_0x237bc4(0xa4)+ds(_0xbf5eda[_0x237bc4(0x70)],_0xbf5eda[_0x237bc4(0xca)])+_0x237bc4(0xa9);return _0x25f993?_0x407947:_0x30178e(_0x407947,{'limit':0x8c});}),this[_0x25ea20(0xd5)]=null,this[_0x25ea20(0x80)]=this[_0x25ea20(0x86)](_0x213883(_0x4da8f3,_0x25ea20(0x90)),_0x570b24[_0x25ea20(0x96)],_0x25ea20(0xd6),_0x25ea20(0xaf),'sw'),this[_0x25ea20(0x80)][_0x25ea20(0x8f)](_0x25ea20(0xa5))['to'](this,_0x25ea20(0x6f)),this[_0x25ea20(0xc4)]=this[_0x25ea20(0x86)](_0x213883(_0x4da8f3,_0x25ea20(0x9e)),_0x570b24[_0x25ea20(0xa2)],_0x25ea20(0x92),_0x25ea20(0x85),'sw'),this[_0x25ea20(0xc4)][_0x25ea20(0x8f)](_0x25ea20(0xa5))['to'](this,_0x25ea20(0xbf)),this[_0x25ea20(0x7e)]=new _0x6d2c4b(_0x4da8f3,this[_0x25ea20(0x7c)][_0x25ea20(0xcd)],this[_0x25ea20(0x8e)]()),this[_0x25ea20(0x7e)][_0x25ea20(0x84)]({'attributes':{'class':[_0x25ea20(0xc9),_0x25ea20(0x73)]}}),this[_0x25ea20(0x95)](this[_0x25ea20(0x91)]());}[_0x1a4bf5(0x91)](){const _0x28d922=_0x1a4bf5,_0x4d325e=this[_0x28d922(0xb9)],_0x1c3b6c=[{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xdb),_0x28d922(0x9b)]},'children':[{'tag':_0x28d922(0xc2),'children':[{'text':this[_0x28d922(0x7e)][_0x28d922(0xcc)]}],'attributes':{'class':[_0x28d922(0xd0),_0x28d922(0x71)]}},{'tag':_0x28d922(0x99),'attributes':{'datetime':_0x4d325e['to'](_0x28d922(0x8d)),'class':[_0x28d922(0x82),_0x28d922(0x7d)]},'children':[{'text':_0x4d325e['to'](_0x28d922(0x8d),_0x201b1c=>this[_0x28d922(0x79)][_0x28d922(0x89)](_0x201b1c))}]}]},{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0x72),_0x28d922(0xdc)]},'children':[this[_0x28d922(0x80)],this[_0x28d922(0xc4)]]},{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0x87)]}}];this[_0x28d922(0x7c)][_0x28d922(0x98)]&&_0x1c3b6c[_0x28d922(0x8c)]({'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xc1)]},'children':[{'text':this[_0x28d922(0xb5)]()}]});const _0x29416e={'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xc8),_0x4d325e['if'](_0x28d922(0xc5),_0x28d922(0x7f)),_0x4d325e['to'](_0x28d922(0xa3),_0x27efb7=>_0x28d922(0x7b)+_0x27efb7),this[_0x28d922(0x79)][_0x28d922(0xa8)]&&_0x28d922(0xb2)],'data-suggestion-id':this[_0x28d922(0x7c)]['id'],'data-thread-id':this[_0x28d922(0x7c)][_0x28d922(0x9a)]['id'],'data-author-id':this[_0x28d922(0x7c)][_0x28d922(0xcd)]['id'],'tabindex':-0x1},'children':[{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xcb),_0x28d922(0xac)]},'children':[this[_0x28d922(0x7e)],{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xbc),_0x28d922(0xb3)]},'children':_0x1c3b6c}]}]};return this[_0x28d922(0xa6)]&&this[_0x28d922(0x9f)]&&(_0x29416e[_0x28d922(0xbb)][_0x28d922(0x8c)](this[_0x28d922(0xa6)],this[_0x28d922(0x9f)]),this[_0x28d922(0xa6)][_0x28d922(0x9c)](_0x28d922(0xd7))['to'](this),this[_0x28d922(0xa6)][_0x28d922(0x9c)](_0x28d922(0x81))['to'](this),this[_0x28d922(0x9f)][_0x28d922(0x9c)](_0x28d922(0xd7))['to'](this),this[_0x28d922(0x9f)][_0x28d922(0x9c)](_0x28d922(0x81))['to'](this)),_0x29416e;}[_0x1a4bf5(0x8a)](){const _0x1c8124=_0x1a4bf5;super[_0x1c8124(0x8a)](),this[_0x1c8124(0xd5)]=this[_0x1c8124(0xab)][_0x1c8124(0xd1)](_0x1c8124(0xd4)),this[_0x1c8124(0xd5)][_0x1c8124(0xaa)]=this[_0x1c8124(0xd3)],this['on'](_0x1c8124(0x88),(_0x5e57f2,_0x5c4a38,_0x4fa779)=>{const _0x28f736=_0x1c8124;this[_0x28f736(0xd5)][_0x28f736(0xaa)]=_0x4fa779;});}[_0x1a4bf5(0x86)](_0x4cb741,_0x45eec5,_0x3ae7e3,_0x533477,_0x4ef3fd){const _0x3d3898=_0x1a4bf5,_0x465449=new _0x9d38cd(this[_0x3d3898(0x76)]);return _0x465449[_0x3d3898(0xbe)]({'label':_0x4cb741,'icon':_0x45eec5,'tooltip':!0x0,'tooltipPosition':_0x4ef3fd}),_0x465449[_0x3d3898(0x84)]({'attributes':{'class':_0x3ae7e3}}),_0x465449['on'](_0x3d3898(0xa7),()=>{const _0x502f3e=_0x3d3898;this[_0x502f3e(0x97)](_0x533477,this[_0x502f3e(0x7c)]['id']);}),_0x465449;}[_0x1a4bf5(0xb5)](){const _0xcbf01b=_0x1a4bf5;return _0xcbf01b(0xda)===this[_0xcbf01b(0x7c)][_0xcbf01b(0xc3)][_0xcbf01b(0xbd)][_0xcbf01b(0x75)]?_0x213883(this[_0xcbf01b(0x76)],_0xcbf01b(0x9d)):_0x213883(this[_0xcbf01b(0x76)],_0xcbf01b(0xcf));}[_0x1a4bf5(0x8e)](){const _0x2f2529=_0x1a4bf5;return this[_0x2f2529(0x7c)][_0x2f2529(0x98)]?_0x2f2529(0xda)===this[_0x2f2529(0x7c)][_0x2f2529(0xc3)][_0x2f2529(0xbd)][_0x2f2529(0x75)]?_0x213883(this[_0x2f2529(0x76)],_0x2f2529(0xa0),this[_0x2f2529(0x7c)][_0x2f2529(0xba)][_0x2f2529(0xcc)]):_0x213883(this[_0x2f2529(0x76)],_0x2f2529(0x7a),this[_0x2f2529(0x7c)][_0x2f2529(0xba)][_0x2f2529(0xcc)]):null;}}function _0x58f3(_0x35c92b,_0x590c00){const _0x477230=_0x4772();return _0x58f3=function(_0x58f368,_0x509248){_0x58f368=_0x58f368-0x6f;let _0x26c798=_0x477230[_0x58f368];return _0x26c798;},_0x58f3(_0x35c92b,_0x590c00);}function ds(_0x3382f8,_0x3c483c){const _0x519ee3=_0x1a4bf5;let _0x5e6027='';return _0x5e6027+=_0x3382f8[_0x519ee3(0xae)]('*')[_0x519ee3(0xb1)]((_0x18bfc9,_0x299969)=>_0x299969%0x2!=0x0?_0x519ee3(0xa1)+us(_0x18bfc9)+_0x519ee3(0xad):us(_0x18bfc9))[_0x519ee3(0xc0)](''),_0x3c483c&&(_0x5e6027+=_0x519ee3(0x77)+_0x3c483c[_0x519ee3(0x8b)]+_0x519ee3(0xb6)+_0x3c483c[_0x519ee3(0xc7)]+_0x519ee3(0xb4)),_0x5e6027;}function us(_0x5f0337){const _0x4b9704=_0x1a4bf5,_0x4a0d8a=document[_0x4b9704(0x78)](_0x4b9704(0xc2));return _0x4a0d8a[_0x4b9704(0xd2)]=_0x5f0337,_0x4a0d8a[_0x4b9704(0xaa)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3ba818,_0x31f43c,_0x515e7b){const t=_0x3ba818['t'];switch(_0x31f43c){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',_0x515e7b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x515e7b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x515e7b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x515e7b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x515e7b);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',_0x515e7b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x515e7b);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',_0x515e7b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x515e7b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x515e7b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x515e7b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x515e7b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x515e7b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x515e7b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x515e7b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x515e7b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x515e7b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x515e7b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x515e7b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x515e7b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x515e7b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x515e7b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x515e7b);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'},_0x515e7b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x515e7b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x515e7b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x515e7b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x515e7b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x515e7b);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'},_0x515e7b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x515e7b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x515e7b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x515e7b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x515e7b);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'},_0x515e7b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x515e7b);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'},_0x515e7b);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'},_0x515e7b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x515e7b);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'},_0x515e7b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x515e7b);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'},_0x515e7b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x515e7b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x515e7b);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'},_0x515e7b);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'},_0x515e7b);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 _0x31f43c;}}
|
|
23
|
+
export function getTranslation(_0x43998f,_0xc96120,_0x3ff1cb){const t=_0x43998f['t'];switch(_0xc96120){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',_0x3ff1cb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3ff1cb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3ff1cb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3ff1cb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3ff1cb);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',_0x3ff1cb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3ff1cb);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',_0x3ff1cb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3ff1cb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3ff1cb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3ff1cb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3ff1cb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3ff1cb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3ff1cb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3ff1cb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3ff1cb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3ff1cb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3ff1cb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3ff1cb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3ff1cb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3ff1cb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3ff1cb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3ff1cb);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'},_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3ff1cb);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'},_0x3ff1cb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3ff1cb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3ff1cb);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'},_0x3ff1cb);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'},_0x3ff1cb);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 _0xc96120;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3f6813,_0x21a247){const _0x4b72ea=_0x4f61,_0x19a902=_0x3f6813();while(!![]){try{const _0x4817f0=-parseInt(_0x4b72ea(0x194))/0x1+parseInt(_0x4b72ea(0x193))/0x2*(parseInt(_0x4b72ea(0x18f))/0x3)+-parseInt(_0x4b72ea(0x1a3))/0x4+-parseInt(_0x4b72ea(0x18d))/0x5*(parseInt(_0x4b72ea(0x1b2))/0x6)+-parseInt(_0x4b72ea(0x1ac))/0x7*(-parseInt(_0x4b72ea(0x195))/0x8)+-parseInt(_0x4b72ea(0x19e))/0x9*(parseInt(_0x4b72ea(0x19c))/0xa)+parseInt(_0x4b72ea(0x1b7))/0xb*(parseInt(_0x4b72ea(0x1b5))/0xc);if(_0x4817f0===_0x21a247)break;else _0x19a902['push'](_0x19a902['shift']());}catch(_0x10e086){_0x19a902['push'](_0x19a902['shift']());}}}(_0x5600,0x45d4e));export function normalizeDescription(_0x1febb2){const _0x2d6213=_0x4f61;return Array[_0x2d6213(0x1b6)](_0x1febb2)||(_0x1febb2=[_0x1febb2]),_0x1febb2[_0x2d6213(0x19b)](_0x15e08b=>{const _0x7e49e6=_0x2d6213,_0x90cf4=_0x15e08b[_0x7e49e6(0x18b)][_0x7e49e6(0x196)](/\*/g,''),_0x38572f=_0x15e08b[_0x7e49e6(0x191)]?_0x7e49e6(0x1a9)+_0x15e08b[_0x7e49e6(0x191)][_0x7e49e6(0x197)]+']':'';return'['+_0x15e08b[_0x7e49e6(0x1a8)]+']\x20'+_0x90cf4+_0x38572f;})[_0x2d6213(0x1a0)](';\x20');}export function sortSuggestions(_0x569511){const _0x35de8e=_0x4f61;return _0x569511[_0x35de8e(0x1b1)]((_0x1a6f04,_0x6f46ad)=>_0x35de8e(0x1af)==_0x1a6f04[_0x35de8e(0x1a8)]&&_0x35de8e(0x1af)!=_0x6f46ad[_0x35de8e(0x1a8)]?-0x1:_0x35de8e(0x1af)!=_0x1a6f04[_0x35de8e(0x1a8)]&&_0x35de8e(0x1af)==_0x6f46ad[_0x35de8e(0x1a8)]?0x1:0x0);}function _0x4f61(_0x1dc842,_0x123529){const _0x560050=_0x5600();return _0x4f61=function(_0x4f61f5,_0x2f1687){_0x4f61f5=_0x4f61f5-0x18b;let _0x636969=_0x560050[_0x4f61f5];return _0x636969;},_0x4f61(_0x1dc842,_0x123529);}export function getSelectedSuggestions(_0x3d344d,_0x3d0241){const _0x3d0fe8=_0x4f61,_0xc97f80=Array[_0x3d0fe8(0x1a2)](_0x3d344d[_0x3d0fe8(0x1aa)]()),_0x2de41f=new Set();for(const _0x3826a1 of _0x3d0241)if(_0x3826a1[_0x3d0fe8(0x19f)]){for(const _0x3d46fd of _0xc97f80)for(const _0x511a47 of _0x3826a1[_0x3d0fe8(0x1aa)]())(_0x3d46fd[_0x3d0fe8(0x190)](_0x511a47)||_0x3d344d[_0x3d0fe8(0x1ab)]&&!_0x3826a1[_0x3d0fe8(0x199)]&&_0x3826a1[_0x3d0fe8(0x198)]&&_0x511a47[_0x3d0fe8(0x1a6)][_0x3d0fe8(0x1b0)](_0x3d46fd[_0x3d0fe8(0x1a4)]))&&_0x2de41f[_0x3d0fe8(0x1a7)](_0x3826a1);}return _0x2de41f;}export function getRangesOfBlockGroups(_0x42aee3,_0x48d474){const _0xbb05d7=_0x4f61;let _0x1eefb8,_0x168615=0x0;const _0x3544a3=[],_0x10f577=_0x48d474[_0xbb05d7(0x192)];for(;_0x168615<_0x42aee3[_0xbb05d7(0x18c)];){const _0x570815=_0x42aee3[_0x168615],_0x4f239c=_0x42aee3[_0x168615+0x1];_0x1eefb8||(_0x1eefb8=_0x48d474[_0xbb05d7(0x1a1)](_0x570815)),co(_0x48d474,_0x570815,_0x4f239c)||(_0x3544a3[_0xbb05d7(0x1a5)](_0x48d474[_0xbb05d7(0x19d)](_0x1eefb8,_0x10f577[_0xbb05d7(0x19a)](_0x570815)?_0x48d474[_0xbb05d7(0x18e)](_0x570815):_0x48d474[_0xbb05d7(0x1b3)](_0x570815,_0xbb05d7(0x1a6)))),_0x1eefb8=null),_0x168615++;}return _0x3544a3;}function co(_0xaa7fb1,_0xd76673,_0x2214f8){const _0xff4c3b=_0x4f61;if(!_0x2214f8)return!0x1;const _0x1e24fa=_0xaa7fb1[_0xff4c3b(0x18e)](_0xd76673),_0x279e32=_0xaa7fb1[_0xff4c3b(0x1a1)](_0x2214f8);return _0x1e24fa[_0xff4c3b(0x1b0)](_0x279e32);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x5600(){const _0x2c0ffd=['1220RUYSEu','createRange','7587GdANlp','isInContent','join','createPositionBefore','from','2014812eFvJiu','start','push','end','add','type','\x20[color\x20','getRanges','isCollapsed','78211ZPXzMj','splice','execute','deletion','isTouching','sort','18VzUWbe','createPositionAt','change','2202828YhakDi','isArray','11Gnacui','content','length','55105vijTaC','createPositionAfter','267UyjyXP','isIntersecting','color','schema','8008hrQHOm','83549ezPrje','336SciyEk','replace','value','next','isMultiRange','isObject','map'];_0x5600=function(){return _0x2c0ffd;};return _0x5600();}export function executeCommandForSuggestions(_0x102af6,_0x315d87,_0x462a0c){const _0xd00faf=_0x4f61;for(;_0x462a0c[_0xd00faf(0x18c)];){const _0x431814=_0x462a0c[_0xd00faf(0x1ad)](0x0,0x64);_0x102af6[_0xd00faf(0x1b4)](()=>{const _0x4e6f4f=_0xd00faf;for(const _0x117a80 of _0x431814)_0x117a80[_0x4e6f4f(0x19f)]&&_0x315d87[_0x4e6f4f(0x1ae)](_0x117a80['id']);});}}
|