@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240505.0 → 0.0.0-nightly-20240507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +1 -1
- 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 +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 _0x4963e4=_0x58e7;(function(_0x1efef0,_0x4e04aa){const _0x2a5591=_0x58e7,_0xfce396=_0x1efef0();while(!![]){try{const _0x5d8940=parseInt(_0x2a5591(0x1b0))/0x1+parseInt(_0x2a5591(0x1ab))/0x2+parseInt(_0x2a5591(0x1b4))/0x3+-parseInt(_0x2a5591(0x1a0))/0x4+parseInt(_0x2a5591(0x210))/0x5+-parseInt(_0x2a5591(0x19d))/0x6+-parseInt(_0x2a5591(0x1b9))/0x7*(parseInt(_0x2a5591(0x211))/0x8);if(_0x5d8940===_0x4e04aa)break;else _0xfce396['push'](_0xfce396['shift']());}catch(_0x5addea){_0xfce396['push'](_0xfce396['shift']());}}}(_0x298d,0x26603));function _0x58e7(_0x5ca8fb,_0x7c0c22){const _0x298d84=_0x298d();return _0x58e7=function(_0x58e7da,_0x210069){_0x58e7da=_0x58e7da-0x199;let _0x3b74dc=_0x298d84[_0x58e7da];return _0x3b74dc;},_0x58e7(_0x5ca8fb,_0x7c0c22);}import{Plugin as _0x107b87}from'ckeditor5/src/core.js';import{Collection as _0x364e33}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x56a93e,createDropdown as _0x2c8467,ListSeparatorView as _0x36ea56,MenuBarMenuView as _0x4fc4b6,MenuBarMenuListView as _0x293d9a,MenuBarMenuListItemView as _0x288fce,MenuBarMenuListItemButtonView as _0x519c66,SplitButtonView as _0x79551d,ViewModel as _0x4e463b}from'ckeditor5/src/ui.js';import{Users as _0x104f32,getDateTimeFormatter as _0x50ee14,getAllMarkersDomElementsSorted as _0x659f39}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x181347 from'./trackchangesediting.js';function _0x298d(){const _0x188a31=['menuBar:trackChanges','innerView','createCommentThreadController','comments','createAnnotationView','listenTo','_createToolbarButton','some','isOn','componentFactory','Discard\x20all\x20suggestions','acceptSelectedSuggestions','source','isEnabled','_unbindEditors','locale','EditorAnnotations','pluginName','remove','editor','comments.maxCommentCharsWhenCollapsed','type','suggestionChanged','comments.editorConfig','_disableComments','init','editing','view','keys','isMultiRange','panelView','length','bind','_createMenuBarMenu','trackChanges','isInContent','commandName','model','getRanges','requires','reduce','CommentsUI','comments.maxCommentsWhenCollapsed','suggestion-','acceptAllSuggestions','Accept\x20all\x20selected\x20suggestions','registerAnnotation','getDescriptions','config','change:previous','separator','descriptionParts','button','trackChanges.SuggestionThreadView','push','unbind','hasSuggestion','set','TrackChangesUI','values','execute','isDirty','getAllAdjacentSuggestions','_viewToController','value','mainView','suggestionLoaded','_addUIComponentsToFactory','_updateController','get','descriptionFactory','children','_annotationViews','has','705000mIKLpK','851856JkfWdn','discardButton','getMarkers','suggestionUnloaded','Track\x20changes','_refreshActiveMarkers','_bindAnnotationToEditors','addComment','addSourceCollector','activeMarkers','clear','_handleSuggestionControllerDelayed','TrackChangesEditing','delegate','_suggestionToController','Discard\x20all\x20selected\x20suggestions','Accept\x20all\x20suggestions','activeAnnotations','items','define','SuggestionThreadView','_initializeController','getMarkerNames','destroy','1645944eTvsUp','filter','commentThread','1105464mdfpdB','focus','toMany','add','acceptButton','delete','refreshSelectedViews','commands','getJoined','switchbutton','lowest','267344JkriNW','change:activeAnnotations','getSuggestion','createAnnotation','discardAllSuggestions','266416cvjlAS','size','stopListening','trackChanges.disableComments','819813nhLmDf','getFirstRange','CommentView','actionView','getByInnerView','7VIAkBK','comments.maxThreadTotalWeight','plugins','arrowView','_handleControllerBuffer','discardSelectedSuggestions','Annotations','head','CommentsRepository','buttonView','_destroyController','previous','from'];_0x298d=function(){return _0x188a31;};return _0x298d();}import _0x27b1c4 from'./ui/suggestioncontroller.js';import _0x5c0041 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x332be1}from'./utils/common-translations.js';import _0x2dc7b2 from'../theme/icons/track-changes.svg';export default class d extends _0x107b87{static get[_0x4963e4(0x1ed)](){const _0x49673b=_0x4963e4;return[_0x181347,_0x104f32,_0x49673b(0x1c1),_0x49673b(0x1bf),_0x49673b(0x1d6)];}static get[_0x4963e4(0x1d7)](){const _0x20075f=_0x4963e4;return _0x20075f(0x200);}constructor(_0x55f1ee){const _0x3cc60a=_0x4963e4;super(_0x55f1ee),this[_0x3cc60a(0x21f)]=new Map(),this[_0x3cc60a(0x205)]=new Map(),this[_0x3cc60a(0x20e)]=new Map(),this[_0x3cc60a(0x1bd)]=new Map();const _0x15b6b9=this[_0x3cc60a(0x1d9)][_0x3cc60a(0x1f6)];_0x15b6b9[_0x3cc60a(0x224)](_0x3cc60a(0x1fb),_0x5c0041),_0x15b6b9[_0x3cc60a(0x224)](_0x3cc60a(0x1b3),!0x1),this[_0x3cc60a(0x1de)]=_0x15b6b9[_0x3cc60a(0x20b)](_0x3cc60a(0x1b3));}[_0x4963e4(0x21c)](_0x1bf3bf,_0x1f3028){const _0x45268e=_0x4963e4;0x0===this[_0x45268e(0x1bd)][_0x45268e(0x1b1)]&&setTimeout(()=>{const _0x47c72e=_0x45268e;for(const [_0x50f43f,_0x5ba3a4]of this[_0x47c72e(0x1bd)]){const _0x2f79c0=this[_0x47c72e(0x21f)][_0x47c72e(0x20f)](_0x50f43f);_0x2f79c0||_0x5ba3a4?_0x2f79c0&&_0x5ba3a4&&this[_0x47c72e(0x1c3)](_0x50f43f):this[_0x47c72e(0x19a)](_0x50f43f);}this[_0x47c72e(0x1bd)][_0x47c72e(0x21b)](),this[_0x47c72e(0x1d9)][_0x47c72e(0x1bb)][_0x47c72e(0x20b)](_0x47c72e(0x1d6))[_0x47c72e(0x1a6)](),this[_0x47c72e(0x216)]();},0xa),this[_0x45268e(0x1bd)][_0x45268e(0x1ff)](_0x1bf3bf,_0x1f3028);}[_0x4963e4(0x1df)](){const _0xea5d3=_0x4963e4,_0x368d8b=this[_0xea5d3(0x1d9)],_0x46539f=_0x368d8b[_0xea5d3(0x1bb)][_0xea5d3(0x20b)](_0xea5d3(0x21d)),_0x251309=_0x368d8b[_0xea5d3(0x1bb)][_0xea5d3(0x20b)](_0xea5d3(0x1bf)),_0x4837d3=_0x368d8b[_0xea5d3(0x1bb)][_0xea5d3(0x20b)](_0xea5d3(0x1d6)),_0x325fde=_0x368d8b[_0xea5d3(0x1bb)][_0xea5d3(0x20b)](_0xea5d3(0x1c1));this[_0xea5d3(0x209)](),_0x4837d3[_0xea5d3(0x219)](()=>{const _0x1795fd=_0xea5d3,_0x3d54b6=[];for(const [_0x30679c,_0x49b61f]of Array[_0x1795fd(0x1c5)](this[_0x1795fd(0x21f)])){const _0x440971=_0x30679c[_0x1795fd(0x204)](),_0x5b8962=[];for(const _0x595eb2 of _0x440971){if(!_0x595eb2[_0x1795fd(0x1e9)])continue;if(_0x595eb2[_0x1795fd(0x1e3)]){_0x5b8962[_0x1795fd(0x1fc)](..._0x595eb2[_0x1795fd(0x1ec)]());continue;}const _0x174151=_0x595eb2[_0x1795fd(0x1b5)]();if(_0x5b8962[_0x1795fd(0x1e5)]>0x0){const _0x3c4ae6=_0x5b8962[0x0][_0x1795fd(0x1a8)](_0x174151);if(_0x3c4ae6){_0x5b8962[0x0]=_0x3c4ae6;continue;}}_0x5b8962[_0x1795fd(0x1fc)](_0x174151);}_0x3d54b6[_0x1795fd(0x1fc)]([_0x49b61f[_0x1795fd(0x1e1)],_0x5b8962]);}return _0x3d54b6;}),this[_0xea5d3(0x1cb)](_0x46539f,_0xea5d3(0x208),(_0x34bb29,_0x5a2b90)=>{const _0xa39c08=_0xea5d3;this[_0xa39c08(0x1cb)](_0x5a2b90,_0xa39c08(0x1f7),(_0x54512d,_0x42471b,_0x3efa88,_0x59d932)=>{const _0x88213f=_0xa39c08;_0x5a2b90[_0x88213f(0x1e9)]&&(null==_0x3efa88?(this[_0x88213f(0x20a)](_0x59d932[_0x88213f(0x1c0)]),this[_0x88213f(0x21c)](_0x5a2b90,!0x1)):(this[_0x88213f(0x20a)](_0x3efa88[_0x88213f(0x1c0)]),null==_0x59d932&&this[_0x88213f(0x21c)](_0x5a2b90,!0x0)));}),null!==_0x5a2b90[_0xa39c08(0x1c4)]?this[_0xa39c08(0x20a)](_0x5a2b90[_0xa39c08(0x1c0)]):this[_0xa39c08(0x21c)](_0x5a2b90,!0x1);}),this[_0xea5d3(0x1cb)](_0x46539f,_0xea5d3(0x214),(_0x21d651,_0x4254c5,_0x301692)=>{const _0x403701=_0xea5d3;this[_0x403701(0x1b2)](_0x4254c5,_0x403701(0x1f7)),this[_0x403701(0x1bd)][_0x403701(0x1a5)](_0x4254c5),this[_0x403701(0x21f)][_0x403701(0x20f)](_0x4254c5)&&this[_0x403701(0x1c3)](_0x4254c5),_0x301692&&this[_0x403701(0x20a)](_0x301692[_0x403701(0x1c0)]);}),this[_0xea5d3(0x1cb)](_0x46539f,_0xea5d3(0x1dc),(_0x1faa5f,_0x2b3b1b)=>{const _0x35b75a=_0xea5d3;this[_0x35b75a(0x20a)](_0x2b3b1b);}),this[_0xea5d3(0x1cb)](_0x251309,_0xea5d3(0x1ac),()=>{const _0x39891b=_0xea5d3;this[_0x39891b(0x216)]();}),this[_0xea5d3(0x1cb)](_0x325fde,_0xea5d3(0x218),(_0x95838d,{threadId:_0xbc60,isFromAdapter:_0x1f40de})=>{const _0xf29f6f=_0xea5d3;if(_0x1f40de||!_0x46539f[_0xf29f6f(0x1fe)](_0xbc60))return;const _0x1d94a2=_0x46539f[_0xf29f6f(0x1ad)](_0xbc60);this[_0xf29f6f(0x21f)][_0xf29f6f(0x20b)](_0x1d94a2)[_0xf29f6f(0x1e1)][_0xf29f6f(0x1a1)]();},{'priority':_0xea5d3(0x1aa)});}[_0x4963e4(0x216)](){const _0x10742c=_0x4963e4,_0x1b50e7=this[_0x10742c(0x1d9)][_0x10742c(0x1bb)][_0x10742c(0x20b)](_0x10742c(0x1bf)),_0x5536a3=this[_0x10742c(0x1d9)][_0x10742c(0x1bb)][_0x10742c(0x20b)](_0x10742c(0x21d)),_0x1b5b50=Array[_0x10742c(0x1c5)](_0x1b50e7[_0x10742c(0x222)],_0x445a74=>_0x445a74[_0x10742c(0x1c7)])[_0x10742c(0x19e)](_0xf49286=>this[_0x10742c(0x205)][_0x10742c(0x20f)](_0xf49286)),_0x176931=[];for(const _0x1cf5c6 of _0x1b5b50){const _0x51f562=this[_0x10742c(0x205)][_0x10742c(0x20b)](_0x1cf5c6)[_0x10742c(0x1eb)][_0x10742c(0x204)]();_0x176931[_0x10742c(0x1fc)](..._0x51f562[_0x10742c(0x1ee)]((_0x13bec0,_0x21928d)=>[..._0x13bec0,..._0x21928d[_0x10742c(0x19b)]()],[]));}_0x5536a3[_0x10742c(0x21a)]=_0x176931;}[_0x4963e4(0x209)](){const _0x28afc1=_0x4963e4,_0x87ad3=this[_0x28afc1(0x1d9)],_0x3884f9=_0x87ad3[_0x28afc1(0x1d5)],_0x3627ee=_0x332be1(_0x3884f9,_0x28afc1(0x215)),_0x52511a=new _0x364e33([{'type':_0x28afc1(0x1a9),'model':new _0x4e463b({'withText':!0x0,'label':_0x3627ee,'commandName':_0x28afc1(0x1e8)})},{'type':_0x28afc1(0x1f8)},{'type':_0x28afc1(0x1fa),'model':new _0x4e463b({'withText':!0x0,'label':_0x332be1(_0x3884f9,_0x28afc1(0x221)),'commandName':_0x28afc1(0x1f2)})},{'type':_0x28afc1(0x1fa),'model':new _0x4e463b({'withText':!0x0,'label':_0x332be1(_0x3884f9,_0x28afc1(0x1f3)),'commandName':_0x28afc1(0x1d1)})},{'type':_0x28afc1(0x1fa),'model':new _0x4e463b({'withText':!0x0,'label':_0x332be1(_0x3884f9,_0x28afc1(0x1d0)),'commandName':_0x28afc1(0x1af)})},{'type':_0x28afc1(0x1fa),'model':new _0x4e463b({'withText':!0x0,'label':_0x332be1(_0x3884f9,_0x28afc1(0x220)),'commandName':_0x28afc1(0x1be)})}]);for(const _0x33a0b0 of _0x52511a)if(ae(_0x33a0b0)){const _0x2cabec=_0x87ad3[_0x28afc1(0x1a7)][_0x28afc1(0x20b)](_0x33a0b0[_0x28afc1(0x1eb)][_0x28afc1(0x1ea)]);_0x33a0b0[_0x28afc1(0x1eb)][_0x28afc1(0x1e6)](_0x28afc1(0x1ce),_0x28afc1(0x1d3))['to'](_0x2cabec,_0x28afc1(0x206),_0x28afc1(0x1d3));}_0x87ad3['ui'][_0x28afc1(0x1cf)][_0x28afc1(0x1a3)](_0x28afc1(0x1e8),_0x4625ed=>this[_0x28afc1(0x1cc)](_0x4625ed,_0x52511a,_0x3627ee)),_0x87ad3['ui'][_0x28afc1(0x1cf)][_0x28afc1(0x1a3)](_0x28afc1(0x1c6),_0x10ac4f=>this[_0x28afc1(0x1e7)](_0x10ac4f,_0x52511a,_0x3627ee));}[_0x4963e4(0x1cc)](_0xcfb017,_0x1b2140,_0x8ff414){const _0xe1509c=_0x4963e4,_0x3e1ed7=_0x2c8467(_0xcfb017,_0x79551d),_0xf1e9=this[_0xe1509c(0x1d9)][_0xe1509c(0x1a7)][_0xe1509c(0x20b)](_0xe1509c(0x1e8));_0x3e1ed7[_0xe1509c(0x1c2)][_0xe1509c(0x1ff)]({'tooltip':_0x8ff414,'label':_0x8ff414,'icon':_0x2dc7b2}),_0x3e1ed7[_0xe1509c(0x1c2)][_0xe1509c(0x1e6)](_0xe1509c(0x1ce))['to'](_0xf1e9,_0xe1509c(0x206)),_0x3e1ed7[_0xe1509c(0x1c2)]['on'](_0xe1509c(0x202),()=>{const _0x117d57=_0xe1509c;_0xf1e9[_0x117d57(0x202)](),this[_0x117d57(0x1d9)][_0x117d57(0x1e0)][_0x117d57(0x1e1)][_0x117d57(0x1a1)]();}),_0x56a93e(_0x3e1ed7,_0x1b2140);const _0x2dcdf3=[];for(const _0x1c342a of _0x1b2140)ae(_0x1c342a)&&_0x2dcdf3[_0xe1509c(0x1fc)](this[_0xe1509c(0x1d9)][_0xe1509c(0x1a7)][_0xe1509c(0x20b)](_0x1c342a[_0xe1509c(0x1eb)][_0xe1509c(0x1ea)]));const _0x8bebde=_0x3e1ed7[_0xe1509c(0x1c2)];return _0x8bebde[_0xe1509c(0x1b7)][_0xe1509c(0x1fd)](_0xe1509c(0x1d3)),_0x8bebde[_0xe1509c(0x1bc)][_0xe1509c(0x1fd)](_0xe1509c(0x1d3)),_0x8bebde[_0xe1509c(0x1b7)][_0xe1509c(0x1e6)](_0xe1509c(0x1d3))['to'](_0xf1e9,_0xe1509c(0x1d3)),_0x8bebde[_0xe1509c(0x1bc)][_0xe1509c(0x1e6)](_0xe1509c(0x1d3))[_0xe1509c(0x1a2)](_0x2dcdf3,_0xe1509c(0x1d3),(..._0xb46e1)=>_0xb46e1[_0xe1509c(0x1cd)](_0x387f97=>_0x387f97)),_0x3e1ed7['on'](_0xe1509c(0x202),_0x439e24=>{const _0x571328=_0xe1509c;this[_0x571328(0x1d9)][_0x571328(0x202)](_0x439e24[_0x571328(0x1d2)][_0x571328(0x1ea)]),this[_0x571328(0x1d9)][_0x571328(0x1e0)][_0x571328(0x1e1)][_0x571328(0x1a1)]();}),_0x3e1ed7;}[_0x4963e4(0x1e7)](_0x2e40e1,_0x445997,_0x1b2e44){const _0x192bd7=_0x4963e4,_0x373bde=new _0x4fc4b6(_0x2e40e1),_0x5b7e8e=this[_0x192bd7(0x1d9)][_0x192bd7(0x1a7)][_0x192bd7(0x20b)](_0x192bd7(0x1e8));_0x373bde[_0x192bd7(0x1c2)][_0x192bd7(0x1ff)]({'label':_0x1b2e44,'icon':_0x2dc7b2});const _0x30462b=new _0x293d9a(_0x2e40e1);for(const _0x13ab71 of _0x445997){if(_0x192bd7(0x1f8)==_0x13ab71[_0x192bd7(0x1db)]){_0x30462b[_0x192bd7(0x223)][_0x192bd7(0x1a3)](new _0x36ea56(_0x2e40e1));continue;}const _0xbb7371=new _0x288fce(_0x2e40e1,_0x373bde),_0x3fe8bd=new _0x519c66(_0x2e40e1),_0x1fb6e4=_0x13ab71[_0x192bd7(0x1eb)];_0x3fe8bd[_0x192bd7(0x1e6)](...Object[_0x192bd7(0x1e2)](_0x1fb6e4))['to'](_0x1fb6e4),_0x3fe8bd[_0x192bd7(0x21e)](_0x192bd7(0x202))['to'](_0x373bde),_0x3fe8bd['on'](_0x192bd7(0x202),()=>{const _0x1023fa=_0x192bd7;this[_0x1023fa(0x1d9)][_0x1023fa(0x202)](_0x1fb6e4[_0x1023fa(0x1ea)]),this[_0x1023fa(0x1d9)][_0x1023fa(0x1e0)][_0x1023fa(0x1e1)][_0x1023fa(0x1a1)]();}),_0xbb7371[_0x192bd7(0x20d)][_0x192bd7(0x1a3)](_0x3fe8bd),_0x30462b[_0x192bd7(0x223)][_0x192bd7(0x1a3)](_0xbb7371);}return _0x373bde[_0x192bd7(0x1e6)](_0x192bd7(0x1d3))['to'](_0x5b7e8e,_0x192bd7(0x1d3)),_0x373bde[_0x192bd7(0x1e4)][_0x192bd7(0x20d)][_0x192bd7(0x1a3)](_0x30462b),_0x373bde;}[_0x4963e4(0x19a)](_0x126f60){const _0x228f16=_0x4963e4,_0xaea549=this[_0x228f16(0x1d9)],_0x5d85b9=_0xaea549[_0x228f16(0x1f6)],_0x5ca2e7=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x228f16(0x1bf)),_0x997abd=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x228f16(0x1c1)),_0x4fc1d8=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x228f16(0x1d6)),_0x18abfb=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x104f32)['me'],_0x3caf3a=_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1e8))[_0x228f16(0x199)],{CommentsListView:_0x3ecdc0,CommentThreadInputView:_0xe2b3df}=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x228f16(0x1ef));let _0x421b9a,_0x2d4a56;this[_0x228f16(0x20e)][_0x228f16(0x20f)](_0x126f60['id'])?(_0x2d4a56=this[_0x228f16(0x20e)][_0x228f16(0x20b)](_0x126f60['id']),_0x421b9a=_0x2d4a56[_0x228f16(0x207)]):(_0x421b9a=new _0x3caf3a(_0xaea549[_0x228f16(0x1d5)],_0x126f60,_0x18abfb,{'disableComments':this[_0x228f16(0x1de)],'editorConfig':_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1dd)),'maxCommentsWhenCollapsed':_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1f0)),'maxThreadTotalWeight':_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1ba)),'maxCommentCharsWhenCollapsed':_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1da)),'formatDateTime':_0x50ee14(_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1d5))),'CommentView':_0x5d85b9[_0x228f16(0x20b)](_0x228f16(0x1c9))[_0x228f16(0x1b6)],'CommentsListView':_0x3ecdc0,'CommentThreadInputView':_0xe2b3df}),_0x421b9a[_0x228f16(0x1a4)]['on'](_0x228f16(0x202),()=>{const _0x531c6b=_0x228f16;_0xaea549[_0x531c6b(0x1e0)][_0x531c6b(0x1e1)][_0x531c6b(0x1a1)]();}),_0x421b9a[_0x228f16(0x212)]['on'](_0x228f16(0x202),()=>{const _0x42ee4a=_0x228f16;_0xaea549[_0x42ee4a(0x1e0)][_0x42ee4a(0x1e1)][_0x42ee4a(0x1a1)]();}),_0x2d4a56=_0x5ca2e7[_0x228f16(0x1ca)](this[_0x228f16(0x1d9)][_0x228f16(0x1d5)],_0x421b9a),_0x2d4a56[_0x228f16(0x1e6)](_0x228f16(0x203))['to'](_0x421b9a,_0x228f16(0x203)),_0x2d4a56[_0x228f16(0x1e6)](_0x228f16(0x1e5))['to'](_0x421b9a),_0x2d4a56[_0x228f16(0x1e6)](_0x228f16(0x1db))['to'](_0x421b9a,_0x228f16(0x1db),_0x5dd8ca=>_0x228f16(0x1f1)+_0x5dd8ca),this[_0x228f16(0x20e)][_0x228f16(0x1ff)](_0x126f60['id'],_0x2d4a56));const _0x59792b=_0x997abd[_0x228f16(0x1c8)](_0x126f60[_0x228f16(0x19f)],_0x421b9a),_0x3a4efe=new _0x27b1c4(_0xaea549,_0x126f60,_0x421b9a,_0x59792b),_0x24c891=_0x126f60[_0x228f16(0x204)]()[_0x228f16(0x19e)](_0x3125fe=>_0x3125fe[_0x228f16(0x1e9)]);_0x421b9a[_0x228f16(0x1f9)]=_0xaea549[_0x228f16(0x1bb)][_0x228f16(0x20b)](_0x228f16(0x21d))[_0x228f16(0x20c)][_0x228f16(0x1f5)](_0x24c891),this[_0x228f16(0x21f)][_0x228f16(0x1ff)](_0x126f60,_0x3a4efe),this[_0x228f16(0x205)][_0x228f16(0x1ff)](_0x421b9a,_0x3a4efe);const _0x5b95f6=_0x5ca2e7[_0x228f16(0x1ae)]({'view':_0x2d4a56,'target':()=>{const _0x3f5185=_0x228f16,_0x596b69=[],_0x44f62d=_0x126f60[_0x3f5185(0x204)]()[_0x3f5185(0x19e)](_0x29aaa1=>_0x29aaa1[_0x3f5185(0x1e9)]);for(const _0x141426 of _0x44f62d)_0x596b69[_0x3f5185(0x1fc)](..._0x141426[_0x3f5185(0x213)]());return _0x659f39(_0xaea549[_0x3f5185(0x1e0)],_0x596b69);},'type':()=>_0x228f16(0x1f1)+_0x3a4efe[_0x228f16(0x1e1)][_0x228f16(0x1db)]});_0x997abd[_0x228f16(0x217)](_0x421b9a,_0x5b95f6),_0x5ca2e7[_0x228f16(0x1a3)](_0x5b95f6),_0x4fc1d8[_0x228f16(0x1f4)](_0x5b95f6);}[_0x4963e4(0x1c3)](_0x14a490){const _0x5efcad=_0x4963e4,_0xb2a26a=this[_0x5efcad(0x1d9)][_0x5efcad(0x1bb)][_0x5efcad(0x20b)](_0x5efcad(0x1c1)),_0xe8e8b9=this[_0x5efcad(0x1d9)][_0x5efcad(0x1bb)][_0x5efcad(0x20b)](_0x5efcad(0x1bf)),_0x558d1a=this[_0x5efcad(0x21f)][_0x5efcad(0x20b)](_0x14a490),_0x17bf44=_0x558d1a[_0x5efcad(0x1e1)],_0x23df1b=_0xe8e8b9[_0x5efcad(0x1b8)](_0x17bf44);_0xb2a26a[_0x5efcad(0x1d4)](_0x17bf44),_0x23df1b&&_0xe8e8b9[_0x5efcad(0x1d8)](_0x23df1b),this[_0x5efcad(0x21f)][_0x5efcad(0x1a5)](_0x14a490),this[_0x5efcad(0x205)][_0x5efcad(0x1a5)](_0x17bf44),_0x558d1a[_0x5efcad(0x19c)]();}[_0x4963e4(0x20a)](_0xf5133){const _0x2a8d6a=_0x4963e4;if(!_0xf5133[_0x2a8d6a(0x1e9)]||!this[_0x2a8d6a(0x21f)][_0x2a8d6a(0x20f)](_0xf5133))return;const _0x246319=this[_0x2a8d6a(0x1d9)][_0x2a8d6a(0x1bb)][_0x2a8d6a(0x20b)](_0x2a8d6a(0x21d)),_0x52b15e=this[_0x2a8d6a(0x21f)][_0x2a8d6a(0x20b)](_0xf5133),_0x4ad8c0=_0xf5133[_0x2a8d6a(0x204)]();_0x52b15e[_0x2a8d6a(0x1e1)][_0x2a8d6a(0x1f9)]=_0x246319[_0x2a8d6a(0x20c)][_0x2a8d6a(0x1f5)](_0x4ad8c0);}[_0x4963e4(0x19c)](){const _0x35baf6=_0x4963e4;for(const _0x2d26c5 of this[_0x35baf6(0x21f)][_0x35baf6(0x1e2)]())this[_0x35baf6(0x1c3)](_0x2d26c5);for(const _0x316788 of this[_0x35baf6(0x20e)][_0x35baf6(0x201)]())_0x316788[_0x35baf6(0x207)][_0x35baf6(0x19c)]();super[_0x35baf6(0x19c)]();}}function ae(_0x4aa3ff){const _0x5bd948=_0x4963e4;return _0x5bd948(0x1eb)in _0x4aa3ff;}
|
|
23
|
+
const _0x3cf23c=_0x2aec;(function(_0x418346,_0x319da1){const _0x5d0319=_0x2aec,_0x40a391=_0x418346();while(!![]){try{const _0x2b8bc5=parseInt(_0x5d0319(0x10a))/0x1*(-parseInt(_0x5d0319(0x12c))/0x2)+parseInt(_0x5d0319(0x13a))/0x3*(-parseInt(_0x5d0319(0x188))/0x4)+-parseInt(_0x5d0319(0x17d))/0x5*(-parseInt(_0x5d0319(0x183))/0x6)+-parseInt(_0x5d0319(0x169))/0x7+-parseInt(_0x5d0319(0x16d))/0x8+parseInt(_0x5d0319(0x177))/0x9+-parseInt(_0x5d0319(0x17f))/0xa*(-parseInt(_0x5d0319(0x108))/0xb);if(_0x2b8bc5===_0x319da1)break;else _0x40a391['push'](_0x40a391['shift']());}catch(_0x1bb93b){_0x40a391['push'](_0x40a391['shift']());}}}(_0x1d27,0x69362));import{Plugin as _0x371020}from'ckeditor5/src/core.js';import{Collection as _0x27f0bd}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2073b8,createDropdown as _0x4e7000,ListSeparatorView as _0x3a23ac,MenuBarMenuView as _0x47db78,MenuBarMenuListView as _0x2d065c,MenuBarMenuListItemView as _0x4b023b,MenuBarMenuListItemButtonView as _0x22ff0c,SplitButtonView as _0x11bc67,ViewModel as _0x3b635b}from'ckeditor5/src/ui.js';import{Users as _0x2e50aa,getDateTimeFormatter as _0xe1f705,getAllMarkersDomElementsSorted as _0x1ed44c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4938e3 from'./trackchangesediting.js';import _0x5f0a1a from'./ui/suggestioncontroller.js';import _0x50af26 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x372b72}from'./utils/common-translations.js';import _0x4fb1d8 from'../theme/icons/track-changes.svg';function _0x1d27(){const _0x55b7f2=['comments','commentThread','Accept\x20all\x20selected\x20suggestions','get','type','acceptAllSuggestions','init','isInContent','refreshSelectedViews','listenTo','suggestion-','descriptionFactory','acceptSelectedSuggestions','model','comments.editorConfig','filter','isOn','_createToolbarButton','getMarkers','from','separator','getByInnerView','_viewToController','destroy','SuggestionThreadView','stopListening','define','children','focus','activeAnnotations','isMultiRange','remove','4766601RqSvmo','delete','_suggestionToController','Accept\x20all\x20suggestions','4781384RwEfgC','size','_addUIComponentsToFactory','createAnnotation','has','_unbindEditors','items','reduce','_createMenuBarMenu','unbind','1494450rNIDnE','suggestionChanged','editing','addSourceCollector','switchbutton','actionView','10XqoaLH','comments.maxCommentCharsWhenCollapsed','10ZHZGpu','activeMarkers','Track\x20changes','isDirty','2165070SQIYMQ','discardSelectedSuggestions','acceptButton','getSuggestion','change:activeAnnotations','8dNlnqI','registerAnnotation','execute','createAnnotationView','clear','_annotationViews','TrackChangesEditing','requires','previous','discardButton','discardAllSuggestions','toMany','menuBar:trackChanges','change:previous','buttonView','18262849OoppYP','mainView','3613FuhAkY','createCommentThreadController','addComment','lowest','suggestionLoaded','keys','getRanges','TrackChangesUI','Discard\x20all\x20suggestions','CommentView','add','editor','panelView','hasSuggestion','getFirstRange','getDescriptions','_refreshActiveMarkers','config','CommentsRepository','isEnabled','innerView','getAllAdjacentSuggestions','commands','EditorAnnotations','plugins','CommentsUI','getJoined','_bindAnnotationToEditors','trackChanges.SuggestionThreadView','values','set','locale','getMarkerNames','trackChanges','50wcyCaS','some','Annotations','comments.maxCommentsWhenCollapsed','commandName','source','descriptionParts','delegate','_updateController','_disableComments','componentFactory','_destroyController','value','button','1122168ixJrau','_handleControllerBuffer','push','Discard\x20all\x20selected\x20suggestions','trackChanges.disableComments','length','bind','comments.maxThreadTotalWeight','pluginName','arrowView','_initializeController','view','_handleSuggestionControllerDelayed','head','suggestionUnloaded'];_0x1d27=function(){return _0x55b7f2;};return _0x1d27();}export default class d extends _0x371020{static get[_0x3cf23c(0x100)](){const _0x3475f1=_0x3cf23c;return[_0x4938e3,_0x2e50aa,_0x3475f1(0x11c),_0x3475f1(0x12e),_0x3475f1(0x121)];}static get[_0x3cf23c(0x142)](){const _0x552a40=_0x3cf23c;return _0x552a40(0x111);}constructor(_0x2e5add){const _0x991ad1=_0x3cf23c;super(_0x2e5add),this[_0x991ad1(0x16b)]=new Map(),this[_0x991ad1(0x15f)]=new Map(),this[_0x991ad1(0xfe)]=new Map(),this[_0x991ad1(0x13b)]=new Map();const _0x3448d7=this[_0x991ad1(0x115)][_0x991ad1(0x11b)];_0x3448d7[_0x991ad1(0x163)](_0x991ad1(0x126),_0x50af26),_0x3448d7[_0x991ad1(0x163)](_0x991ad1(0x13e),!0x1),this[_0x991ad1(0x135)]=_0x3448d7[_0x991ad1(0x14c)](_0x991ad1(0x13e));}[_0x3cf23c(0x146)](_0x45cc2d,_0x1c3ccd){const _0x53badd=_0x3cf23c;0x0===this[_0x53badd(0x13b)][_0x53badd(0x16e)]&&setTimeout(()=>{const _0x1f255a=_0x53badd;for(const [_0x49d674,_0x25e899]of this[_0x1f255a(0x13b)]){const _0x3d524b=this[_0x1f255a(0x16b)][_0x1f255a(0x171)](_0x49d674);_0x3d524b||_0x25e899?_0x3d524b&&_0x25e899&&this[_0x1f255a(0x137)](_0x49d674):this[_0x1f255a(0x144)](_0x49d674);}this[_0x1f255a(0x13b)][_0x1f255a(0xfd)](),this[_0x1f255a(0x115)][_0x1f255a(0x122)][_0x1f255a(0x14c)](_0x1f255a(0x121))[_0x1f255a(0x151)](),this[_0x1f255a(0x11a)]();},0xa),this[_0x53badd(0x13b)][_0x53badd(0x128)](_0x45cc2d,_0x1c3ccd);}[_0x3cf23c(0x14f)](){const _0x365a96=_0x3cf23c,_0x75c46f=this[_0x365a96(0x115)],_0x213e09=_0x75c46f[_0x365a96(0x122)][_0x365a96(0x14c)](_0x365a96(0xff)),_0x2c810b=_0x75c46f[_0x365a96(0x122)][_0x365a96(0x14c)](_0x365a96(0x12e)),_0x269d31=_0x75c46f[_0x365a96(0x122)][_0x365a96(0x14c)](_0x365a96(0x121)),_0xf53bc0=_0x75c46f[_0x365a96(0x122)][_0x365a96(0x14c)](_0x365a96(0x11c));this[_0x365a96(0x16f)](),_0x269d31[_0x365a96(0x17a)](()=>{const _0x38495f=_0x365a96,_0x2c0793=[];for(const [_0x5ebc00,_0x2f075b]of Array[_0x38495f(0x15c)](this[_0x38495f(0x16b)])){const _0x1cc81d=_0x5ebc00[_0x38495f(0x11f)](),_0x574bf6=[];for(const _0x28c56c of _0x1cc81d){if(!_0x28c56c[_0x38495f(0x150)])continue;if(_0x28c56c[_0x38495f(0x167)]){_0x574bf6[_0x38495f(0x13c)](..._0x28c56c[_0x38495f(0x110)]());continue;}const _0x59cfcd=_0x28c56c[_0x38495f(0x118)]();if(_0x574bf6[_0x38495f(0x13f)]>0x0){const _0x40c77a=_0x574bf6[0x0][_0x38495f(0x124)](_0x59cfcd);if(_0x40c77a){_0x574bf6[0x0]=_0x40c77a;continue;}}_0x574bf6[_0x38495f(0x13c)](_0x59cfcd);}_0x2c0793[_0x38495f(0x13c)]([_0x2f075b[_0x38495f(0x145)],_0x574bf6]);}return _0x2c0793;}),this[_0x365a96(0x152)](_0x213e09,_0x365a96(0x10e),(_0x3d9d32,_0x535b9a)=>{const _0x216953=_0x365a96;this[_0x216953(0x152)](_0x535b9a,_0x216953(0x106),(_0x1f5934,_0x2d21ca,_0x3aabab,_0x14d35a)=>{const _0x406dbf=_0x216953;_0x535b9a[_0x406dbf(0x150)]&&(null==_0x3aabab?(this[_0x406dbf(0x134)](_0x14d35a[_0x406dbf(0x147)]),this[_0x406dbf(0x146)](_0x535b9a,!0x1)):(this[_0x406dbf(0x134)](_0x3aabab[_0x406dbf(0x147)]),null==_0x14d35a&&this[_0x406dbf(0x146)](_0x535b9a,!0x0)));}),null!==_0x535b9a[_0x216953(0x101)]?this[_0x216953(0x134)](_0x535b9a[_0x216953(0x147)]):this[_0x216953(0x146)](_0x535b9a,!0x1);}),this[_0x365a96(0x152)](_0x213e09,_0x365a96(0x148),(_0x224631,_0x176de9,_0x39c762)=>{const _0x303d92=_0x365a96;this[_0x303d92(0x162)](_0x176de9,_0x303d92(0x106)),this[_0x303d92(0x13b)][_0x303d92(0x16a)](_0x176de9),this[_0x303d92(0x16b)][_0x303d92(0x171)](_0x176de9)&&this[_0x303d92(0x137)](_0x176de9),_0x39c762&&this[_0x303d92(0x134)](_0x39c762[_0x303d92(0x147)]);}),this[_0x365a96(0x152)](_0x213e09,_0x365a96(0x178),(_0x4b2888,_0xb07ebf)=>{const _0x50f5be=_0x365a96;this[_0x50f5be(0x134)](_0xb07ebf);}),this[_0x365a96(0x152)](_0x2c810b,_0x365a96(0x187),()=>{const _0x5b181c=_0x365a96;this[_0x5b181c(0x11a)]();}),this[_0x365a96(0x152)](_0xf53bc0,_0x365a96(0x10c),(_0x138caa,{threadId:_0x49bc59,isFromAdapter:_0x10cc92})=>{const _0x1b8f6f=_0x365a96;if(_0x10cc92||!_0x213e09[_0x1b8f6f(0x117)](_0x49bc59))return;const _0x23bec4=_0x213e09[_0x1b8f6f(0x186)](_0x49bc59);this[_0x1b8f6f(0x16b)][_0x1b8f6f(0x14c)](_0x23bec4)[_0x1b8f6f(0x145)][_0x1b8f6f(0x165)]();},{'priority':_0x365a96(0x10d)});}[_0x3cf23c(0x11a)](){const _0x4eb258=_0x3cf23c,_0x5ae84e=this[_0x4eb258(0x115)][_0x4eb258(0x122)][_0x4eb258(0x14c)](_0x4eb258(0x12e)),_0x33d17e=this[_0x4eb258(0x115)][_0x4eb258(0x122)][_0x4eb258(0x14c)](_0x4eb258(0xff)),_0x3737bd=Array[_0x4eb258(0x15c)](_0x5ae84e[_0x4eb258(0x166)],_0x59ee37=>_0x59ee37[_0x4eb258(0x11e)])[_0x4eb258(0x158)](_0x490294=>this[_0x4eb258(0x15f)][_0x4eb258(0x171)](_0x490294)),_0x2366b4=[];for(const _0x22e786 of _0x3737bd){const _0x64184e=this[_0x4eb258(0x15f)][_0x4eb258(0x14c)](_0x22e786)[_0x4eb258(0x156)][_0x4eb258(0x11f)]();_0x2366b4[_0x4eb258(0x13c)](..._0x64184e[_0x4eb258(0x174)]((_0x3f7bc4,_0x4611f0)=>[..._0x3f7bc4,..._0x4611f0[_0x4eb258(0x12a)]()],[]));}_0x33d17e[_0x4eb258(0x180)]=_0x2366b4;}[_0x3cf23c(0x16f)](){const _0xaab64d=_0x3cf23c,_0x4b94dc=this[_0xaab64d(0x115)],_0x5c2ad5=_0x4b94dc[_0xaab64d(0x129)],_0x3b8666=_0x372b72(_0x5c2ad5,_0xaab64d(0x181)),_0x50e2fa=new _0x27f0bd([{'type':_0xaab64d(0x17b),'model':new _0x3b635b({'withText':!0x0,'label':_0x3b8666,'commandName':_0xaab64d(0x12b)})},{'type':_0xaab64d(0x15d)},{'type':_0xaab64d(0x139),'model':new _0x3b635b({'withText':!0x0,'label':_0x372b72(_0x5c2ad5,_0xaab64d(0x16c)),'commandName':_0xaab64d(0x14e)})},{'type':_0xaab64d(0x139),'model':new _0x3b635b({'withText':!0x0,'label':_0x372b72(_0x5c2ad5,_0xaab64d(0x14b)),'commandName':_0xaab64d(0x155)})},{'type':_0xaab64d(0x139),'model':new _0x3b635b({'withText':!0x0,'label':_0x372b72(_0x5c2ad5,_0xaab64d(0x112)),'commandName':_0xaab64d(0x103)})},{'type':_0xaab64d(0x139),'model':new _0x3b635b({'withText':!0x0,'label':_0x372b72(_0x5c2ad5,_0xaab64d(0x13d)),'commandName':_0xaab64d(0x184)})}]);for(const _0x5231f6 of _0x50e2fa)if(ae(_0x5231f6)){const _0x5705f7=_0x4b94dc[_0xaab64d(0x120)][_0xaab64d(0x14c)](_0x5231f6[_0xaab64d(0x156)][_0xaab64d(0x130)]);_0x5231f6[_0xaab64d(0x156)][_0xaab64d(0x140)](_0xaab64d(0x159),_0xaab64d(0x11d))['to'](_0x5705f7,_0xaab64d(0x138),_0xaab64d(0x11d));}_0x4b94dc['ui'][_0xaab64d(0x136)][_0xaab64d(0x114)](_0xaab64d(0x12b),_0x34f0b9=>this[_0xaab64d(0x15a)](_0x34f0b9,_0x50e2fa,_0x3b8666)),_0x4b94dc['ui'][_0xaab64d(0x136)][_0xaab64d(0x114)](_0xaab64d(0x105),_0x502fb9=>this[_0xaab64d(0x175)](_0x502fb9,_0x50e2fa,_0x3b8666));}[_0x3cf23c(0x15a)](_0x30fc2b,_0x1e6724,_0x54c0f3){const _0x496c4e=_0x3cf23c,_0x588832=_0x4e7000(_0x30fc2b,_0x11bc67),_0xdf697c=this[_0x496c4e(0x115)][_0x496c4e(0x120)][_0x496c4e(0x14c)](_0x496c4e(0x12b));_0x588832[_0x496c4e(0x107)][_0x496c4e(0x128)]({'tooltip':_0x54c0f3,'label':_0x54c0f3,'icon':_0x4fb1d8}),_0x588832[_0x496c4e(0x107)][_0x496c4e(0x140)](_0x496c4e(0x159))['to'](_0xdf697c,_0x496c4e(0x138)),_0x588832[_0x496c4e(0x107)]['on'](_0x496c4e(0x18a),()=>{const _0x217473=_0x496c4e;_0xdf697c[_0x217473(0x18a)](),this[_0x217473(0x115)][_0x217473(0x179)][_0x217473(0x145)][_0x217473(0x165)]();}),_0x2073b8(_0x588832,_0x1e6724);const _0x58e738=[];for(const _0x1ad72c of _0x1e6724)ae(_0x1ad72c)&&_0x58e738[_0x496c4e(0x13c)](this[_0x496c4e(0x115)][_0x496c4e(0x120)][_0x496c4e(0x14c)](_0x1ad72c[_0x496c4e(0x156)][_0x496c4e(0x130)]));const _0x3b2502=_0x588832[_0x496c4e(0x107)];return _0x3b2502[_0x496c4e(0x17c)][_0x496c4e(0x176)](_0x496c4e(0x11d)),_0x3b2502[_0x496c4e(0x143)][_0x496c4e(0x176)](_0x496c4e(0x11d)),_0x3b2502[_0x496c4e(0x17c)][_0x496c4e(0x140)](_0x496c4e(0x11d))['to'](_0xdf697c,_0x496c4e(0x11d)),_0x3b2502[_0x496c4e(0x143)][_0x496c4e(0x140)](_0x496c4e(0x11d))[_0x496c4e(0x104)](_0x58e738,_0x496c4e(0x11d),(..._0x22e1e3)=>_0x22e1e3[_0x496c4e(0x12d)](_0x3fb3a5=>_0x3fb3a5)),_0x588832['on'](_0x496c4e(0x18a),_0x3291b=>{const _0x564fc=_0x496c4e;this[_0x564fc(0x115)][_0x564fc(0x18a)](_0x3291b[_0x564fc(0x131)][_0x564fc(0x130)]),this[_0x564fc(0x115)][_0x564fc(0x179)][_0x564fc(0x145)][_0x564fc(0x165)]();}),_0x588832;}[_0x3cf23c(0x175)](_0x1e7670,_0x27d943,_0x1ca2fe){const _0x14276f=_0x3cf23c,_0xb62804=new _0x47db78(_0x1e7670),_0xd3f69b=this[_0x14276f(0x115)][_0x14276f(0x120)][_0x14276f(0x14c)](_0x14276f(0x12b));_0xb62804[_0x14276f(0x107)][_0x14276f(0x128)]({'label':_0x1ca2fe,'icon':_0x4fb1d8});const _0x5a35fc=new _0x2d065c(_0x1e7670);for(const _0x278536 of _0x27d943){if(_0x14276f(0x15d)==_0x278536[_0x14276f(0x14d)]){_0x5a35fc[_0x14276f(0x173)][_0x14276f(0x114)](new _0x3a23ac(_0x1e7670));continue;}const _0x2ccd36=new _0x4b023b(_0x1e7670,_0xb62804),_0x24074a=new _0x22ff0c(_0x1e7670),_0x1491fd=_0x278536[_0x14276f(0x156)];_0x24074a[_0x14276f(0x140)](...Object[_0x14276f(0x10f)](_0x1491fd))['to'](_0x1491fd),_0x24074a[_0x14276f(0x133)](_0x14276f(0x18a))['to'](_0xb62804),_0x24074a['on'](_0x14276f(0x18a),()=>{const _0x3e62b9=_0x14276f;this[_0x3e62b9(0x115)][_0x3e62b9(0x18a)](_0x1491fd[_0x3e62b9(0x130)]),this[_0x3e62b9(0x115)][_0x3e62b9(0x179)][_0x3e62b9(0x145)][_0x3e62b9(0x165)]();}),_0x2ccd36[_0x14276f(0x164)][_0x14276f(0x114)](_0x24074a),_0x5a35fc[_0x14276f(0x173)][_0x14276f(0x114)](_0x2ccd36);}return _0xb62804[_0x14276f(0x140)](_0x14276f(0x11d))['to'](_0xd3f69b,_0x14276f(0x11d)),_0xb62804[_0x14276f(0x116)][_0x14276f(0x164)][_0x14276f(0x114)](_0x5a35fc),_0xb62804;}[_0x3cf23c(0x144)](_0x339955){const _0x5e8f17=_0x3cf23c,_0x318323=this[_0x5e8f17(0x115)],_0x2833a3=_0x318323[_0x5e8f17(0x11b)],_0x27c8e6=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x5e8f17(0x12e)),_0x327b41=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x5e8f17(0x11c)),_0x174305=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x5e8f17(0x121)),_0x433fc6=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x2e50aa)['me'],_0x3b47de=_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x12b))[_0x5e8f17(0x161)],{CommentsListView:_0x3d3bd3,CommentThreadInputView:_0x79efcb}=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x5e8f17(0x123));let _0x2554c2,_0x35bb86;this[_0x5e8f17(0xfe)][_0x5e8f17(0x171)](_0x339955['id'])?(_0x35bb86=this[_0x5e8f17(0xfe)][_0x5e8f17(0x14c)](_0x339955['id']),_0x2554c2=_0x35bb86[_0x5e8f17(0x109)]):(_0x2554c2=new _0x3b47de(_0x318323[_0x5e8f17(0x129)],_0x339955,_0x433fc6,{'disableComments':this[_0x5e8f17(0x135)],'editorConfig':_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x157)),'maxCommentsWhenCollapsed':_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x12f)),'maxThreadTotalWeight':_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x141)),'maxCommentCharsWhenCollapsed':_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x17e)),'formatDateTime':_0xe1f705(_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x129))),'CommentView':_0x2833a3[_0x5e8f17(0x14c)](_0x5e8f17(0x149))[_0x5e8f17(0x113)],'CommentsListView':_0x3d3bd3,'CommentThreadInputView':_0x79efcb}),_0x2554c2[_0x5e8f17(0x185)]['on'](_0x5e8f17(0x18a),()=>{const _0x50a55b=_0x5e8f17;_0x318323[_0x50a55b(0x179)][_0x50a55b(0x145)][_0x50a55b(0x165)]();}),_0x2554c2[_0x5e8f17(0x102)]['on'](_0x5e8f17(0x18a),()=>{const _0x4cc4fa=_0x5e8f17;_0x318323[_0x4cc4fa(0x179)][_0x4cc4fa(0x145)][_0x4cc4fa(0x165)]();}),_0x35bb86=_0x27c8e6[_0x5e8f17(0x18b)](this[_0x5e8f17(0x115)][_0x5e8f17(0x129)],_0x2554c2),_0x35bb86[_0x5e8f17(0x140)](_0x5e8f17(0x182))['to'](_0x2554c2,_0x5e8f17(0x182)),_0x35bb86[_0x5e8f17(0x140)](_0x5e8f17(0x13f))['to'](_0x2554c2),_0x35bb86[_0x5e8f17(0x140)](_0x5e8f17(0x14d))['to'](_0x2554c2,_0x5e8f17(0x14d),_0x343c80=>_0x5e8f17(0x153)+_0x343c80),this[_0x5e8f17(0xfe)][_0x5e8f17(0x128)](_0x339955['id'],_0x35bb86));const _0x2752fd=_0x327b41[_0x5e8f17(0x10b)](_0x339955[_0x5e8f17(0x14a)],_0x2554c2),_0x142933=new _0x5f0a1a(_0x318323,_0x339955,_0x2554c2,_0x2752fd),_0xf01e7e=_0x339955[_0x5e8f17(0x11f)]()[_0x5e8f17(0x158)](_0x3cc79c=>_0x3cc79c[_0x5e8f17(0x150)]);_0x2554c2[_0x5e8f17(0x132)]=_0x318323[_0x5e8f17(0x122)][_0x5e8f17(0x14c)](_0x5e8f17(0xff))[_0x5e8f17(0x154)][_0x5e8f17(0x119)](_0xf01e7e),this[_0x5e8f17(0x16b)][_0x5e8f17(0x128)](_0x339955,_0x142933),this[_0x5e8f17(0x15f)][_0x5e8f17(0x128)](_0x2554c2,_0x142933);const _0x4a5f6d=_0x27c8e6[_0x5e8f17(0x170)]({'view':_0x35bb86,'target':()=>{const _0x28b4e3=_0x5e8f17,_0x3a7e91=[],_0x18916e=_0x339955[_0x28b4e3(0x11f)]()[_0x28b4e3(0x158)](_0x581574=>_0x581574[_0x28b4e3(0x150)]);for(const _0x457121 of _0x18916e)_0x3a7e91[_0x28b4e3(0x13c)](..._0x457121[_0x28b4e3(0x15b)]());return _0x1ed44c(_0x318323[_0x28b4e3(0x179)],_0x3a7e91);},'type':()=>_0x5e8f17(0x153)+_0x142933[_0x5e8f17(0x145)][_0x5e8f17(0x14d)]});_0x327b41[_0x5e8f17(0x125)](_0x2554c2,_0x4a5f6d),_0x27c8e6[_0x5e8f17(0x114)](_0x4a5f6d),_0x174305[_0x5e8f17(0x189)](_0x4a5f6d);}[_0x3cf23c(0x137)](_0x5d7570){const _0x388e28=_0x3cf23c,_0x575937=this[_0x388e28(0x115)][_0x388e28(0x122)][_0x388e28(0x14c)](_0x388e28(0x11c)),_0x58bf91=this[_0x388e28(0x115)][_0x388e28(0x122)][_0x388e28(0x14c)](_0x388e28(0x12e)),_0xf948ed=this[_0x388e28(0x16b)][_0x388e28(0x14c)](_0x5d7570),_0x40c2bf=_0xf948ed[_0x388e28(0x145)],_0xf29511=_0x58bf91[_0x388e28(0x15e)](_0x40c2bf);_0x575937[_0x388e28(0x172)](_0x40c2bf),_0xf29511&&_0x58bf91[_0x388e28(0x168)](_0xf29511),this[_0x388e28(0x16b)][_0x388e28(0x16a)](_0x5d7570),this[_0x388e28(0x15f)][_0x388e28(0x16a)](_0x40c2bf),_0xf948ed[_0x388e28(0x160)]();}[_0x3cf23c(0x134)](_0x3b6002){const _0x1c181b=_0x3cf23c;if(!_0x3b6002[_0x1c181b(0x150)]||!this[_0x1c181b(0x16b)][_0x1c181b(0x171)](_0x3b6002))return;const _0xaf0f91=this[_0x1c181b(0x115)][_0x1c181b(0x122)][_0x1c181b(0x14c)](_0x1c181b(0xff)),_0x12c6a8=this[_0x1c181b(0x16b)][_0x1c181b(0x14c)](_0x3b6002),_0x2d7bd9=_0x3b6002[_0x1c181b(0x11f)]();_0x12c6a8[_0x1c181b(0x145)][_0x1c181b(0x132)]=_0xaf0f91[_0x1c181b(0x154)][_0x1c181b(0x119)](_0x2d7bd9);}[_0x3cf23c(0x160)](){const _0x2c210b=_0x3cf23c;for(const _0x4b0358 of this[_0x2c210b(0x16b)][_0x2c210b(0x10f)]())this[_0x2c210b(0x137)](_0x4b0358);for(const _0x1aea8e of this[_0x2c210b(0xfe)][_0x2c210b(0x127)]())_0x1aea8e[_0x2c210b(0x109)][_0x2c210b(0x160)]();super[_0x2c210b(0x160)]();}}function _0x2aec(_0x3a4bb3,_0x1af1bb){const _0x1d2734=_0x1d27();return _0x2aec=function(_0x2aecd4,_0x4fbdec){_0x2aecd4=_0x2aecd4-0xfd;let _0x5c5d31=_0x1d2734[_0x2aecd4];return _0x5c5d31;},_0x2aec(_0x3a4bb3,_0x1af1bb);}function ae(_0x32dc9c){const _0x1fe36d=_0x3cf23c;return _0x1fe36d(0x156)in _0x32dc9c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x45ae(_0x43537c,_0x4b262e){const _0x2fe26a=_0x2fe2();return _0x45ae=function(_0x45ae56,_0x25a1e3){_0x45ae56=_0x45ae56-0x6d;let _0x40ef86=_0x2fe26a[_0x45ae56];return _0x40ef86;},_0x45ae(_0x43537c,_0x4b262e);}const _0x1f227c=_0x45ae;(function(_0x201bfd,_0x156d28){const _0xcb0824=_0x45ae,_0x3d0359=_0x201bfd();while(!![]){try{const _0x32d109=parseInt(_0xcb0824(0x8a))/0x1*(-parseInt(_0xcb0824(0x80))/0x2)+-parseInt(_0xcb0824(0x7a))/0x3+-parseInt(_0xcb0824(0x6f))/0x4*(parseInt(_0xcb0824(0x86))/0x5)+parseInt(_0xcb0824(0x92))/0x6*(-parseInt(_0xcb0824(0x81))/0x7)+parseInt(_0xcb0824(0x97))/0x8*(-parseInt(_0xcb0824(0x84))/0x9)+-parseInt(_0xcb0824(0x6e))/0xa*(parseInt(_0xcb0824(0x8f))/0xb)+parseInt(_0xcb0824(0x83))/0xc*(parseInt(_0xcb0824(0x96))/0xd);if(_0x32d109===_0x156d28)break;else _0x3d0359['push'](_0x3d0359['shift']());}catch(_0x3b673e){_0x3d0359['push'](_0x3d0359['shift']());}}}(_0x2fe2,0x41170));import{ObservableMixin as _0x1409fa}from'ckeditor5/src/utils.js';import{getTranslation as _0x2729e8}from'../utils/common-translations.js';function _0x2fe2(){const _0x5e3525=['plugins','remove','_acceptCommand','11LHjVnZ','PendingActions','_editor','6KBxvpm','commands','canAccept','_pendingAction','221FnKEIC','4656nVZNxi','isEnabled','canEditAt','discardSuggestion','3476730PgSsgg','328LEFEHs','unbind','listenTo','_setPendingAction','change:isDirty','getRanges','get','stopListening','_removePendingAction','execute','bind','1199994AjuhIN','locale','destroy','view','add','acceptSuggestion','22rqSWII','573881zDrjaC','isDirty','1405896onvAEr','5796xiFCKy','canDiscard','23735EGGcLZ','PENDING_ACTION_SUGGESTION','_discardCommand','commentThreadController','11942cYQITV','model'];_0x2fe2=function(){return _0x5e3525;};return _0x2fe2();}export default class oe extends _0x1409fa(){constructor(_0x25ba50,_0x177b15,_0x1cfa28,_0x42f019){const _0x5bf30c=_0x45ae;super(),this[_0x5bf30c(0x8b)]=_0x177b15,this[_0x5bf30c(0x7d)]=_0x1cfa28,this[_0x5bf30c(0x89)]=_0x42f019,this[_0x5bf30c(0x91)]=_0x25ba50,this[_0x5bf30c(0x8e)]=_0x25ba50[_0x5bf30c(0x93)][_0x5bf30c(0x75)](_0x5bf30c(0x7f)),this[_0x5bf30c(0x88)]=_0x25ba50[_0x5bf30c(0x93)][_0x5bf30c(0x75)](_0x5bf30c(0x6d)),this[_0x5bf30c(0x7d)][_0x5bf30c(0x79)](_0x5bf30c(0x98))['to'](this[_0x5bf30c(0x8e)],this[_0x5bf30c(0x88)],(_0x2063dd,_0x5bc530)=>_0x2063dd||_0x5bc530),this[_0x5bf30c(0x7d)][_0x5bf30c(0x79)](_0x5bf30c(0x94))['to'](this[_0x5bf30c(0x8e)],_0x5bf30c(0x98),_0x5784dd=>_0x5784dd&&this[_0x5bf30c(0x91)][_0x5bf30c(0x8b)][_0x5bf30c(0x99)](_0x177b15[_0x5bf30c(0x74)]())),this[_0x5bf30c(0x7d)][_0x5bf30c(0x79)](_0x5bf30c(0x85))['to'](this[_0x5bf30c(0x88)],_0x5bf30c(0x98),_0x151abf=>_0x151abf&&this[_0x5bf30c(0x91)][_0x5bf30c(0x8b)][_0x5bf30c(0x99)](_0x177b15[_0x5bf30c(0x74)]())),this[_0x5bf30c(0x95)]=null,_0x1cfa28[_0x5bf30c(0x82)]&&this[_0x5bf30c(0x72)](),this[_0x5bf30c(0x71)](_0x1cfa28,_0x5bf30c(0x7f),()=>this[_0x5bf30c(0x7f)]()),this[_0x5bf30c(0x71)](_0x1cfa28,_0x5bf30c(0x6d),()=>this[_0x5bf30c(0x6d)]()),this[_0x5bf30c(0x71)](_0x1cfa28,_0x5bf30c(0x73),()=>{const _0x38201a=_0x5bf30c;_0x1cfa28[_0x38201a(0x82)]?this[_0x38201a(0x72)]():this[_0x38201a(0x77)]();});}[_0x1f227c(0x7f)](){const _0x257c7d=_0x1f227c;this[_0x257c7d(0x8e)][_0x257c7d(0x78)](this[_0x257c7d(0x8b)]['id']);}[_0x1f227c(0x6d)](){const _0xf581b=_0x1f227c;this[_0xf581b(0x88)][_0xf581b(0x78)](this[_0xf581b(0x8b)]['id']);}[_0x1f227c(0x7c)](){const _0x87f284=_0x1f227c;this[_0x87f284(0x7d)][_0x87f284(0x70)](_0x87f284(0x98)),this[_0x87f284(0x7d)][_0x87f284(0x70)](_0x87f284(0x94)),this[_0x87f284(0x7d)][_0x87f284(0x70)](_0x87f284(0x85)),this[_0x87f284(0x76)](),this[_0x87f284(0x89)][_0x87f284(0x7c)](),this[_0x87f284(0x95)]&&this[_0x87f284(0x77)]();}[_0x1f227c(0x72)](){const _0x51889b=_0x1f227c,_0x46620c=_0x2729e8(this[_0x51889b(0x91)][_0x51889b(0x7b)],_0x51889b(0x87));this[_0x51889b(0x95)]=this[_0x51889b(0x91)][_0x51889b(0x8c)][_0x51889b(0x75)](_0x51889b(0x90))[_0x51889b(0x7e)](_0x46620c);}[_0x1f227c(0x77)](){const _0x5a7ed2=_0x1f227c;null!==this[_0x5a7ed2(0x95)]&&this[_0x5a7ed2(0x91)][_0x5a7ed2(0x8c)][_0x5a7ed2(0x75)](_0x5a7ed2(0x90))[_0x5a7ed2(0x8d)](this[_0x5a7ed2(0x95)]),this[_0x5a7ed2(0x95)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x315dc0=_0x2140;function _0x2140(_0x4c75c0,_0x39f318){const _0xd46a81=_0xd46a();return _0x2140=function(_0x214015,_0xcda610){_0x214015=_0x214015-0xf3;let _0x2200b1=_0xd46a81[_0x214015];return _0x2200b1;},_0x2140(_0x4c75c0,_0x39f318);}function _0xd46a(){const _0x1d2f94=['authoredAt','destroy','editor','delegate','commentsListView','set','1610436vZbwHQ','isReadOnly','length','locale','isDirty','focus','504474NAKbGt','6074870kNZcRi','updateComment','6351424ifloEM','28eNRnIs','commentThreadInputView','2CEiYoh','commentInputView','value','7810064yjqIRY','commentThread','fire','bind','disableComments','_createCommentThreadInputView','addComment','_model','1076514rSLUxh','isEnabled','editorConfig','submit','CommentView','removeComment','assign','cancel','isActive','element','_localUser','setData','canAccept','_createCommentViews','hasDirtyComment','descriptionParts','disabledSubmit','showInput','_config','4372560EKbvtp','canDiscard'];_0xd46a=function(){return _0x1d2f94;};return _0xd46a();}(function(_0x538df4,_0x4b8514){const _0x1afad4=_0x2140,_0x4f79cf=_0x538df4();while(!![]){try{const _0xb467a8=parseInt(_0x1afad4(0x10d))/0x1*(-parseInt(_0x1afad4(0x113))/0x2)+parseInt(_0x1afad4(0x107))/0x3+-parseInt(_0x1afad4(0x110))/0x4+parseInt(_0x1afad4(0x10e))/0x5+-parseInt(_0x1afad4(0x11e))/0x6*(-parseInt(_0x1afad4(0x111))/0x7)+parseInt(_0x1afad4(0x116))/0x8+-parseInt(_0x1afad4(0xff))/0x9;if(_0xb467a8===_0x4b8514)break;else _0x4f79cf['push'](_0x4f79cf['shift']());}catch(_0x26b4b6){_0x4f79cf['push'](_0x4f79cf['shift']());}}}(_0xd46a,0xd3cde));import{View as _0x41431b}from'ckeditor5/src/ui.js';export default class es extends _0x41431b{constructor(_0x3e8e22,_0x3e428e,_0xb53f2a,_0x58dd9b){const _0x3af30f=_0x2140;super(_0x3e8e22),this[_0x3af30f(0x105)]=null,this[_0x3af30f(0x112)]=null,this[_0x3af30f(0x106)](_0x3af30f(0xf4),!0x1),this[_0x3af30f(0x106)](_0x3af30f(0x101),_0x3e428e[_0x3af30f(0x101)]),this[_0x3af30f(0x119)](_0x3af30f(0x101))['to'](_0x3e428e),this[_0x3af30f(0x106)](_0x3af30f(0xfb),[]),this[_0x3af30f(0x106)](_0x3af30f(0x10b),!0x1),this[_0x3af30f(0x106)](_0x3af30f(0x11f),!0x1),this[_0x3af30f(0x106)](_0x3af30f(0xf8),!0x1),this[_0x3af30f(0x106)](_0x3af30f(0x100),!0x1),this[_0x3af30f(0x11d)]=_0x3e428e,this[_0x3af30f(0xf6)]=_0xb53f2a,this[_0x3af30f(0xfe)]=_0x58dd9b,_0x58dd9b[_0x3af30f(0x11a)]?this[_0x3af30f(0x106)](_0x3af30f(0x109),0x1):this[_0x3af30f(0xf9)]();}[_0x315dc0(0x10c)](){const _0x99a21a=_0x315dc0;this[_0x99a21a(0xf5)][_0x99a21a(0x10c)]();}[_0x315dc0(0x102)](){const _0xac52a2=_0x315dc0;this[_0xac52a2(0x105)]&&this[_0xac52a2(0x105)][_0xac52a2(0x102)](),this[_0xac52a2(0x112)]&&this[_0xac52a2(0x112)][_0xac52a2(0x102)](),super[_0xac52a2(0x102)]();}[_0x315dc0(0xf9)](){const _0x2e0116=_0x315dc0,{CommentsListView:_0x3410f5}=this[_0x2e0116(0xfe)];this[_0x2e0116(0x105)]=new _0x3410f5(this[_0x2e0116(0x10a)],this[_0x2e0116(0x11d)][_0x2e0116(0x117)],Object[_0x2e0116(0x124)]({'CommentView':this[_0x2e0116(0xfe)][_0x2e0116(0x122)]},this[_0x2e0116(0xfe)])),this[_0x2e0116(0x105)][_0x2e0116(0x104)](_0x2e0116(0x123))['to'](this),this[_0x2e0116(0x105)][_0x2e0116(0x104)](_0x2e0116(0x10f))['to'](this),this[_0x2e0116(0x105)][_0x2e0116(0x119)](_0x2e0116(0xf4))['to'](this),this[_0x2e0116(0x106)](_0x2e0116(0x109),this[_0x2e0116(0x105)][_0x2e0116(0x109)]+0x1),this[_0x2e0116(0x119)](_0x2e0116(0x109))['to'](this[_0x2e0116(0x105)],_0x2e0116(0x109),_0x414fac=>_0x414fac+0x1),this[_0x2e0116(0x112)]=this[_0x2e0116(0x11b)](),this['on'](_0x2e0116(0x123),()=>this[_0x2e0116(0x10c)]()),this[_0x2e0116(0x119)](_0x2e0116(0x10b))['to'](this[_0x2e0116(0x105)],_0x2e0116(0xfa),this[_0x2e0116(0x112)][_0x2e0116(0x114)],_0x2e0116(0x115),(_0x2f0293,_0x386bd2)=>_0x2f0293||!!_0x386bd2);}[_0x315dc0(0x11b)](){const _0x214149=_0x315dc0,{CommentThreadInputView:_0x25f072}=this[_0x214149(0xfe)],_0x5019e3=new _0x25f072(this[_0x214149(0x10a)],this[_0x214149(0xf6)],this[_0x214149(0xfe)][_0x214149(0x120)]),_0x3141d6=_0x5019e3[_0x214149(0x114)];return _0x5019e3[_0x214149(0x119)](_0x214149(0xfd))['to'](this,_0x214149(0xf4),this[_0x214149(0x11d)][_0x214149(0x117)],_0x214149(0x108),_0x3141d6,_0x214149(0x115),(_0x1766be,_0x269acb,_0x481ac7)=>!!_0x481ac7||_0x1766be&&!_0x269acb),_0x3141d6['on'](_0x214149(0x121),(_0x1d95a1,_0x27f46e)=>{const _0x158dc1=_0x214149;this[_0x158dc1(0x118)](_0x158dc1(0x11c),_0x27f46e),_0x3141d6[_0x158dc1(0x103)][_0x158dc1(0xf7)]('');}),_0x3141d6['on'](_0x214149(0xf3),()=>this[_0x214149(0x10c)]()),_0x3141d6[_0x214149(0x119)](_0x214149(0xfc))['to'](this[_0x214149(0x11d)][_0x214149(0x117)],_0x214149(0x108)),_0x5019e3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcfb76f=_0x1570;function _0x2539(){const _0x144bb7=['acceptButton','color','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__user','change:description','canDiscard','</p>','32871rvbXNV','discardButton','acceptSuggestion','extendTemplate','ck-comment__info-time','importWord','delegate','author','Discard\x20suggestion','ck-suggestion--accept','ck-suggestion--discard','creator','innerHTML','_config','bind','ck-annotation__actions','disableComments','\x22></span>','getTemplate','_model','span','ck-annotation__info','authoredAt','descriptionParts','push','EXTERNAL_AVATAR','createElement','EXTERNAL_IMPORT_WORD_SUGGESTION','bindTemplate','18543UgUrea','commentThreadInputView','2030034imsrAO','isActive','180801PPzhxJ','isExternal','discardSuggestion','map','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','execute','description','2556btvOJr','fire','ck-suggestion--disabled-comments','join','canAccept','<p>','ck-suggestion-','ck-annotation__content-wrapper','cancel','160rNtqsM','ck-suggestion__actions','isEnabled','</span>','set','type','ck-annotation__info-time','time','check','getExternalSuggestionNote','\x22\x20title=\x22','ck-annotation__info-name','querySelector','children','ck-annotation','224735HDseeh','render','source','<span\x20class=\x22ck-suggestion-type\x22>','commentsListView','editorDestroyed','element','ck-suggestion__info','setTemplate','value','EXTERNAL_SUGGESTION','div','22uelJig','title','ck-suggestion','_descriptionElement','.ck-annotation__content-wrapper','formatDateTime','Accept\x20suggestion','611200IcyDRz','split','content','ck-suggestion-wrapper--active','userView','ck-suggestion__main','getUserViewNotificationText','ck-comment__external','innerText','ck-suggestion__info-name','editorReady','ck-annotation__user','_createButton','ck-annotation__main','1717080KismCJ','ck-suggestion-wrapper','locale','@external','commentThread','name','attributes'];_0x2539=function(){return _0x144bb7;};return _0x2539();}(function(_0x11f7af,_0x9a758a){const _0x192de9=_0x1570,_0x1bef3b=_0x11f7af();while(!![]){try{const _0x12e9f6=-parseInt(_0x192de9(0x112))/0x1*(parseInt(_0x192de9(0x15e))/0x2)+parseInt(_0x192de9(0x131))/0x3+-parseInt(_0x192de9(0x173))/0x4+parseInt(_0x192de9(0x152))/0x5+-parseInt(_0x192de9(0x13a))/0x6*(-parseInt(_0x192de9(0x12f))/0x7)+-parseInt(_0x192de9(0x165))/0x8+-parseInt(_0x192de9(0x133))/0x9*(parseInt(_0x192de9(0x143))/0xa);if(_0x12e9f6===_0x9a758a)break;else _0x1bef3b['push'](_0x1bef3b['shift']());}catch(_0x2ac51c){_0x1bef3b['push'](_0x1bef3b['shift']());}}}(_0x2539,0xa17b0));import{getTranslation as _0x51508b}from'../../utils/common-translations.js';import{default as _0x3af7e4}from'./basesuggestionthreadview.js';function _0x1570(_0x296d43,_0x12b0f5){const _0x25399c=_0x2539();return _0x1570=function(_0x1570b7,_0x562740){_0x1570b7=_0x1570b7-0x10a;let _0x3b7a2c=_0x25399c[_0x1570b7];return _0x3b7a2c;},_0x1570(_0x296d43,_0x12b0f5);}import{ButtonView as _0x360d96}from'ckeditor5/src/ui.js';import{icons as _0xced85}from'ckeditor5/src/core.js';import{trimHtml as _0x155227,UserView as _0x22f06d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x3af7e4{constructor(_0x1c5445,_0x21ca97,_0xb242dd,_0x32aacc){const _0x160741=_0x1570;super(_0x1c5445,_0x21ca97,_0xb242dd,_0x32aacc),this[_0x160741(0x147)](_0x160741(0x148),''),this[_0x160741(0x120)](_0x160741(0x148))['to'](this,_0x160741(0x129),_0x14b963=>_0x14b963&&_0x14b963[0x0]?_0x14b963[0x0][_0x160741(0x148)]:''),this[_0x160741(0x120)](_0x160741(0x139))['to'](this,_0x160741(0x129),this,_0x160741(0x132),(_0x598459,_0x1703c0)=>{const _0x296849=_0x160741;let _0x375d60='';for(const _0x10a469 of _0x598459)_0x375d60+=_0x296849(0x13f)+ds(_0x10a469[_0x296849(0x167)],_0x10a469[_0x296849(0x10c)])+_0x296849(0x111);return _0x1703c0?_0x375d60:_0x155227(_0x375d60,{'limit':0x8c});}),this[_0x160741(0x161)]=null,this[_0x160741(0x10b)]=this[_0x160741(0x171)](_0x51508b(_0x1c5445,_0x160741(0x164)),_0xced85[_0x160741(0x14b)],_0x160741(0x11b),_0x160741(0x114),'sw'),this[_0x160741(0x10b)][_0x160741(0x120)](_0x160741(0x145))['to'](this,_0x160741(0x13e)),this[_0x160741(0x113)]=this[_0x160741(0x171)](_0x51508b(_0x1c5445,_0x160741(0x11a)),_0xced85[_0x160741(0x142)],_0x160741(0x11c),_0x160741(0x135),'sw'),this[_0x160741(0x113)][_0x160741(0x120)](_0x160741(0x145))['to'](this,_0x160741(0x110)),this[_0x160741(0x169)]=new _0x22f06d(_0x1c5445,this[_0x160741(0x125)][_0x160741(0x119)],this[_0x160741(0x16b)]()),this[_0x160741(0x169)][_0x160741(0x115)]({'attributes':{'class':[_0x160741(0x10e),_0x160741(0x170)]}}),this[_0x160741(0x15a)](this[_0x160741(0x124)]());}[_0xcfb76f(0x124)](){const _0xe82616=_0xcfb76f,_0x32e150=this[_0xe82616(0x12e)],_0x489458=[{'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x159),_0xe82616(0x127)]},'children':[{'tag':_0xe82616(0x126),'children':[{'text':this[_0xe82616(0x169)][_0xe82616(0x178)]}],'attributes':{'class':[_0xe82616(0x16e),_0xe82616(0x14e)]}},{'tag':_0xe82616(0x14a),'attributes':{'datetime':_0x32e150['to'](_0xe82616(0x128)),'class':[_0xe82616(0x116),_0xe82616(0x149)]},'children':[{'text':_0x32e150['to'](_0xe82616(0x128),_0xb9145d=>this[_0xe82616(0x11f)][_0xe82616(0x163)](_0xb9145d))}]}]},{'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x144),_0xe82616(0x121)]},'children':[this[_0xe82616(0x10b)],this[_0xe82616(0x113)]]},{'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x141)]}}];this[_0xe82616(0x125)][_0xe82616(0x134)]&&_0x489458[_0xe82616(0x12a)]({'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x16c)]},'children':[{'text':this[_0xe82616(0x14c)]()}]});const _0x2eca9b={'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x174),_0x32e150['if'](_0xe82616(0x132),_0xe82616(0x168)),_0x32e150['to'](_0xe82616(0x148),_0x55b868=>_0xe82616(0x140)+_0x55b868),this[_0xe82616(0x11f)][_0xe82616(0x122)]&&_0xe82616(0x13c)],'data-suggestion-id':this[_0xe82616(0x125)]['id'],'data-thread-id':this[_0xe82616(0x125)][_0xe82616(0x177)]['id'],'data-author-id':this[_0xe82616(0x125)][_0xe82616(0x119)]['id'],'tabindex':-0x1},'children':[{'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x160),_0xe82616(0x151)]},'children':[this[_0xe82616(0x169)],{'tag':_0xe82616(0x15d),'attributes':{'class':[_0xe82616(0x16a),_0xe82616(0x172)]},'children':_0x489458}]}]};return this[_0xe82616(0x156)]&&this[_0xe82616(0x130)]&&(_0x2eca9b[_0xe82616(0x150)][_0xe82616(0x12a)](this[_0xe82616(0x156)],this[_0xe82616(0x130)]),this[_0xe82616(0x156)][_0xe82616(0x118)](_0xe82616(0x16f))['to'](this),this[_0xe82616(0x156)][_0xe82616(0x118)](_0xe82616(0x157))['to'](this),this[_0xe82616(0x130)][_0xe82616(0x118)](_0xe82616(0x16f))['to'](this),this[_0xe82616(0x130)][_0xe82616(0x118)](_0xe82616(0x157))['to'](this)),_0x2eca9b;}[_0xcfb76f(0x153)](){const _0x137c5d=_0xcfb76f;super[_0x137c5d(0x153)](),this[_0x137c5d(0x161)]=this[_0x137c5d(0x158)][_0x137c5d(0x14f)](_0x137c5d(0x162)),this[_0x137c5d(0x161)][_0x137c5d(0x11e)]=this[_0x137c5d(0x139)],this['on'](_0x137c5d(0x10f),(_0x5a6ee5,_0x2ada27,_0x566880)=>{const _0x57ee44=_0x137c5d;this[_0x57ee44(0x161)][_0x57ee44(0x11e)]=_0x566880;});}[_0xcfb76f(0x171)](_0x487e12,_0x460480,_0xad14c1,_0x27f5da,_0x4e2660){const _0xd03074=_0xcfb76f,_0x732e34=new _0x360d96(this[_0xd03074(0x175)]);return _0x732e34[_0xd03074(0x147)]({'label':_0x487e12,'icon':_0x460480,'tooltip':!0x0,'tooltipPosition':_0x4e2660}),_0x732e34[_0xd03074(0x115)]({'attributes':{'class':_0xad14c1}}),_0x732e34['on'](_0xd03074(0x138),()=>{const _0x4dbbc6=_0xd03074;this[_0x4dbbc6(0x13b)](_0x27f5da,this[_0x4dbbc6(0x125)]['id']);}),_0x732e34;}[_0xcfb76f(0x14c)](){const _0x1ad1de=_0xcfb76f;return _0x1ad1de(0x117)===this[_0x1ad1de(0x125)][_0x1ad1de(0x10a)][_0x1ad1de(0x176)][_0x1ad1de(0x154)]?_0x51508b(this[_0x1ad1de(0x175)],_0x1ad1de(0x12d)):_0x51508b(this[_0x1ad1de(0x175)],_0x1ad1de(0x15c));}[_0xcfb76f(0x16b)](){const _0x28dfdd=_0xcfb76f;return this[_0x28dfdd(0x125)][_0x28dfdd(0x134)]?_0x28dfdd(0x117)===this[_0x28dfdd(0x125)][_0x28dfdd(0x10a)][_0x28dfdd(0x176)][_0x28dfdd(0x154)]?_0x51508b(this[_0x28dfdd(0x175)],_0x28dfdd(0x10d),this[_0x28dfdd(0x125)][_0x28dfdd(0x11d)][_0x28dfdd(0x178)]):_0x51508b(this[_0x28dfdd(0x175)],_0x28dfdd(0x12b),this[_0x28dfdd(0x125)][_0x28dfdd(0x11d)][_0x28dfdd(0x178)]):null;}}function ds(_0x1db16e,_0x18b8a2){const _0x177fad=_0xcfb76f;let _0x1941b5='';return _0x1941b5+=_0x1db16e[_0x177fad(0x166)]('*')[_0x177fad(0x136)]((_0x311452,_0x4b455a)=>_0x4b455a%0x2!=0x0?_0x177fad(0x155)+us(_0x311452)+_0x177fad(0x146):us(_0x311452))[_0x177fad(0x13d)](''),_0x18b8a2&&(_0x1941b5+=_0x177fad(0x137)+_0x18b8a2[_0x177fad(0x15b)]+_0x177fad(0x14d)+_0x18b8a2[_0x177fad(0x15f)]+_0x177fad(0x123)),_0x1941b5;}function us(_0x28ba61){const _0x5357bd=_0xcfb76f,_0xe1ca47=document[_0x5357bd(0x12c)](_0x5357bd(0x126));return _0xe1ca47[_0x5357bd(0x16d)]=_0x28ba61,_0xe1ca47[_0x5357bd(0x11e)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x39a247,_0x10b89d,_0x471058){const t=_0x39a247['t'];switch(_0x10b89d){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',_0x471058);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x471058);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x471058);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x471058);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x471058);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',_0x471058);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x471058);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',_0x471058);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x471058);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x471058);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x471058);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x471058);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x471058);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x471058);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x471058);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x471058);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x471058);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x471058);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x471058);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x471058);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x471058);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x471058);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x471058);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'},_0x471058);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x471058);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x471058);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x471058);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x471058);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x471058);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'},_0x471058);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x471058);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x471058);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x471058);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x471058);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'},_0x471058);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x471058);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'},_0x471058);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'},_0x471058);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x471058);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'},_0x471058);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x471058);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'},_0x471058);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x471058);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x471058);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'},_0x471058);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'},_0x471058);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 _0x10b89d;}}
|
|
23
|
+
export function getTranslation(_0x15bea7,_0x4239c4,_0x37b865){const t=_0x15bea7['t'];switch(_0x4239c4){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',_0x37b865);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x37b865);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x37b865);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x37b865);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x37b865);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',_0x37b865);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x37b865);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',_0x37b865);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x37b865);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x37b865);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x37b865);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x37b865);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x37b865);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x37b865);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x37b865);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x37b865);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x37b865);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x37b865);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x37b865);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x37b865);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x37b865);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x37b865);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x37b865);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'},_0x37b865);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x37b865);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x37b865);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x37b865);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x37b865);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x37b865);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'},_0x37b865);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x37b865);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x37b865);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x37b865);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x37b865);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'},_0x37b865);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x37b865);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'},_0x37b865);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'},_0x37b865);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x37b865);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'},_0x37b865);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x37b865);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'},_0x37b865);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x37b865);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x37b865);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'},_0x37b865);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'},_0x37b865);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 _0x4239c4;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x36d981,_0x532d39){const _0x5e35a7=_0x167a,_0x268aa7=_0x36d981();while(!![]){try{const _0x42cadd=-parseInt(_0x5e35a7(0x190))/0x1+-parseInt(_0x5e35a7(0x18d))/0x2*(-parseInt(_0x5e35a7(0x186))/0x3)+-parseInt(_0x5e35a7(0x181))/0x4*(-parseInt(_0x5e35a7(0x192))/0x5)+-parseInt(_0x5e35a7(0x17b))/0x6*(parseInt(_0x5e35a7(0x19b))/0x7)+-parseInt(_0x5e35a7(0x184))/0x8*(parseInt(_0x5e35a7(0x17a))/0x9)+parseInt(_0x5e35a7(0x18a))/0xa+parseInt(_0x5e35a7(0x191))/0xb;if(_0x42cadd===_0x532d39)break;else _0x268aa7['push'](_0x268aa7['shift']());}catch(_0x315908){_0x268aa7['push'](_0x268aa7['shift']());}}}(_0x183d,0x2609e));export function normalizeDescription(_0x393d76){const _0x2d07ac=_0x167a;return Array[_0x2d07ac(0x1a4)](_0x393d76)||(_0x393d76=[_0x393d76]),_0x393d76[_0x2d07ac(0x197)](_0x2d0aa5=>{const _0x213054=_0x2d07ac,_0x217213=_0x2d0aa5[_0x213054(0x193)][_0x213054(0x17c)](/\*/g,''),_0x20a1b5=_0x2d0aa5[_0x213054(0x194)]?_0x213054(0x18e)+_0x2d0aa5[_0x213054(0x194)][_0x213054(0x19d)]+']':'';return'['+_0x2d0aa5[_0x213054(0x182)]+']\x20'+_0x217213+_0x20a1b5;})[_0x2d07ac(0x187)](';\x20');}export function sortSuggestions(_0x407c7a){const _0x2769d9=_0x167a;return _0x407c7a[_0x2769d9(0x1a3)]((_0x192c3d,_0x1e0c0d)=>_0x2769d9(0x185)==_0x192c3d[_0x2769d9(0x182)]&&_0x2769d9(0x185)!=_0x1e0c0d[_0x2769d9(0x182)]?-0x1:_0x2769d9(0x185)!=_0x192c3d[_0x2769d9(0x182)]&&_0x2769d9(0x185)==_0x1e0c0d[_0x2769d9(0x182)]?0x1:0x0);}function _0x167a(_0x539797,_0x153138){const _0x183def=_0x183d();return _0x167a=function(_0x167a9e,_0x422ed8){_0x167a9e=_0x167a9e-0x17a;let _0x1150b3=_0x183def[_0x167a9e];return _0x1150b3;},_0x167a(_0x539797,_0x153138);}export function getSelectedSuggestions(_0x8e0476,_0x3adab8){const _0x1e5e22=_0x167a,_0x9134ac=Array[_0x1e5e22(0x1a0)](_0x8e0476[_0x1e5e22(0x18c)]()),_0x3fe7fb=new Set();for(const _0xf88340 of _0x3adab8)if(_0xf88340[_0x1e5e22(0x17e)]){for(const _0x4734bc of _0x9134ac)for(const _0x52f646 of _0xf88340[_0x1e5e22(0x18c)]())(_0x4734bc[_0x1e5e22(0x1a1)](_0x52f646)||_0x8e0476[_0x1e5e22(0x1a5)]&&!_0xf88340[_0x1e5e22(0x19e)]&&_0xf88340[_0x1e5e22(0x17f)]&&_0x52f646[_0x1e5e22(0x17d)][_0x1e5e22(0x19c)](_0x4734bc[_0x1e5e22(0x198)]))&&_0x3fe7fb[_0x1e5e22(0x180)](_0xf88340);}return _0x3fe7fb;}export function getRangesOfBlockGroups(_0x2cb8f8,_0x363114){const _0x269e8b=_0x167a;let _0x2b972a,_0x171e1e=0x0;const _0x54ed34=[],_0x20b556=_0x363114[_0x269e8b(0x189)];for(;_0x171e1e<_0x2cb8f8[_0x269e8b(0x18f)];){const _0x2adb23=_0x2cb8f8[_0x171e1e],_0x13e4b5=_0x2cb8f8[_0x171e1e+0x1];_0x2b972a||(_0x2b972a=_0x363114[_0x269e8b(0x196)](_0x2adb23)),co(_0x363114,_0x2adb23,_0x13e4b5)||(_0x54ed34[_0x269e8b(0x18b)](_0x363114[_0x269e8b(0x19f)](_0x2b972a,_0x20b556[_0x269e8b(0x1a2)](_0x2adb23)?_0x363114[_0x269e8b(0x195)](_0x2adb23):_0x363114[_0x269e8b(0x183)](_0x2adb23,_0x269e8b(0x17d)))),_0x2b972a=null),_0x171e1e++;}return _0x54ed34;}function co(_0x15fe89,_0x342bf5,_0x42b01d){const _0x4a45a6=_0x167a;if(!_0x42b01d)return!0x1;const _0x387b24=_0x15fe89[_0x4a45a6(0x195)](_0x342bf5),_0x121fd4=_0x15fe89[_0x4a45a6(0x196)](_0x42b01d);return _0x387b24[_0x4a45a6(0x19c)](_0x121fd4);}function _0x183d(){const _0x2ff61e=['value','isMultiRange','createRange','from','isIntersecting','isObject','sort','isArray','isCollapsed','168525VBntbu','1417212PMDcRd','replace','end','isInContent','next','add','762228sfZdXI','type','createPositionAt','88VHRAzG','deletion','6xzoRnT','join','splice','schema','2312300XnQuKy','push','getRanges','251858OOWGbH','\x20[color\x20','length','161643GlZPxa','945791pXrgBo','5VAziyi','content','color','createPositionAfter','createPositionBefore','map','start','change','execute','7Rifbfi','isTouching'];_0x183d=function(){return _0x2ff61e;};return _0x183d();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xf04448,_0x49fe02,_0x50a0d0){const _0x432883=_0x167a;for(;_0x50a0d0[_0x432883(0x18f)];){const _0x47c82f=_0x50a0d0[_0x432883(0x188)](0x0,0x64);_0xf04448[_0x432883(0x199)](()=>{const _0x212733=_0x432883;for(const _0x4be64e of _0x47c82f)_0x4be64e[_0x212733(0x17e)]&&_0x49fe02[_0x212733(0x19a)](_0x4be64e['id']);});}}
|