@ckeditor/ckeditor5-track-changes 43.1.0-alpha.6 → 43.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x36c2(_0x38deb2,_0x28be94){const _0x12e1b3=_0x12e1();return _0x36c2=function(_0x36c21d,_0x297ea6){_0x36c21d=_0x36c21d-0x112;let _0x297350=_0x12e1b3[_0x36c21d];return _0x297350;},_0x36c2(_0x38deb2,_0x28be94);}const _0x408a10=_0x36c2;(function(_0x48fdb6,_0x2016da){const _0x407cf6=_0x36c2,_0x5d8229=_0x48fdb6();while(!![]){try{const _0x4d706e=-parseInt(_0x407cf6(0x125))/0x1+-parseInt(_0x407cf6(0x136))/0x2*(-parseInt(_0x407cf6(0x1a8))/0x3)+-parseInt(_0x407cf6(0x19e))/0x4+parseInt(_0x407cf6(0x17e))/0x5*(-parseInt(_0x407cf6(0x172))/0x6)+-parseInt(_0x407cf6(0x17f))/0x7+parseInt(_0x407cf6(0x166))/0x8+parseInt(_0x407cf6(0x178))/0x9*(parseInt(_0x407cf6(0x18c))/0xa);if(_0x4d706e===_0x2016da)break;else _0x5d8229['push'](_0x5d8229['shift']());}catch(_0x38da00){_0x5d8229['push'](_0x5d8229['shift']());}}}(_0x12e1,0x5ee39));import{Plugin as _0x1f3aac}from'ckeditor5/src/core.js';import{Collection as _0x35408b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x265471,createDropdown as _0x4b95c4,ListSeparatorView as _0x115eb3,MenuBarMenuView as _0x23f981,MenuBarMenuListView as _0x550d13,MenuBarMenuListItemView as _0x486766,MenuBarMenuListItemButtonView as _0x15f8bf,SplitButtonView as _0x1f3f8e,ViewModel as _0x592a26}from'ckeditor5/src/ui.js';import{Users as _0x2fe442,getDateTimeFormatter as _0x342854,getAllMarkersDomElementsSorted as _0x55a8d8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x12e1(){const _0x572db8=['locale','SuggestionThreadView','_annotationViews','Discard\x20all\x20selected\x20suggestions','activeAnnotations','_addUIComponentsToFactory','591094GjUwTk','value','isMultiRange','SuggestionView','requires','lowest','filter','pluginName','change:activeAnnotations','suggestionUnloaded','unbind','menuitemcheckbox','registerAnnotation','acceptSelectedSuggestions','descriptionFactory','config','define','394oPosDJ','_handleSuggestionControllerDelayed','button','has','comments.maxCommentsWhenCollapsed','createAnnotationView','menuBar:trackChanges','init','CommentView','discardButton','trackChanges.SuggestionThreadView','destroy','change:previous','_unbindEditors','Annotations','_createMenuBarMenu','_suggestionToController','Track\x20changes','keys','commentThread','view','buttonView','_bindAnnotationToEditors','size','children','isInContent','suggestionLoaded','bind','source','EditorAnnotations','activeMarkers','items','type','isOn','editor','_destroyController','toMany','getSuggestion','Accept\x20all\x20selected\x20suggestions','getRanges','comments','get','head','addComment','menu','listenTo','getMarkers','clear','3881016ioXOWS','comments.editorConfig','_disableComments','acceptButton','_updateController','_initializeController','discardSelectedSuggestions','getFirstRange','CommentsUI','acceptAllSuggestions','TrackChangesEditing','createCommentThreadController','6DbZmKD','plugins','separator','_handleControllerBuffer','previous','_createToolbarButton','20079ICFoce','getMarkerNames','reduce','getByInnerView','isDirty','_viewToController','164085LFOcFZ','5123636UjemVT','addSourceCollector','escape','isEnabled','fire','length','stopListening','trackChanges.disableComments','from','discardAllSuggestions','TrackChangesUI','menuitem','refreshSelectedViews','7180KEoTKP','commands','Accept\x20all\x20suggestions','trackChanges.SuggestionView','set','componentFactory','add','descriptionParts','actionView','suggestion-','delete','commandName','panelView','Discard\x20all\x20suggestions','remove','commentsListView','hasSuggestion','trackChanges','1761480mHBhZG','switchbutton','mainView','focus','suggestionView','innerView','some','editing','getAllAdjacentSuggestions','comments.maxThreadTotalWeight','1491rwyYDr','delegate','arrowView','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','model','suggestionChanged','push','values','execute','createAnnotation','getDescriptions','CommentsRepository','getJoined'];_0x12e1=function(){return _0x572db8;};return _0x12e1();}import _0x4f5da9 from'./trackchangesediting.js';import _0x2e5acb from'./ui/suggestioncontroller.js';import _0x71d159 from'./ui/view/suggestionthreadview.js';import _0x35bd85 from'./ui/view/suggestionview.js';import{getTranslation as _0x3f8acf}from'./utils/common-translations.js';import _0x146471 from'../theme/icons/track-changes.svg';export default class d extends _0x1f3aac{static get[_0x408a10(0x129)](){const _0x3e8ffb=_0x408a10;return[_0x4f5da9,_0x2fe442,_0x3e8ffb(0x11d),_0x3e8ffb(0x144),_0x3e8ffb(0x153)];}static get[_0x408a10(0x12c)](){const _0x73cac=_0x408a10;return _0x73cac(0x189);}constructor(_0x2e102c){const _0x1eea38=_0x408a10;super(_0x2e102c),this[_0x1eea38(0x146)]=new Map(),this[_0x1eea38(0x17d)]=new Map(),this[_0x1eea38(0x121)]=new Map(),this[_0x1eea38(0x175)]=new Map();const _0x5765bc=this[_0x1eea38(0x158)][_0x1eea38(0x134)];_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x140),_0x71d159),_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x18f),_0x35bd85),_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x186),!0x1),this[_0x1eea38(0x168)]=_0x5765bc[_0x1eea38(0x15f)](_0x1eea38(0x186));}[_0x408a10(0x137)](_0x3730d4,_0x1f048f){const _0x1d77e3=_0x408a10;0x0===this[_0x1d77e3(0x175)][_0x1d77e3(0x14d)]&&setTimeout(()=>{const _0x3117ca=_0x1d77e3;for(const [_0x3345f8,_0x59ea72]of this[_0x3117ca(0x175)]){const _0x1bc59c=this[_0x3117ca(0x146)][_0x3117ca(0x139)](_0x3345f8);_0x1bc59c||_0x59ea72?_0x1bc59c&&_0x59ea72&&this[_0x3117ca(0x159)](_0x3345f8):this[_0x3117ca(0x16b)](_0x3345f8);}this[_0x3117ca(0x175)][_0x3117ca(0x165)](),this[_0x3117ca(0x158)][_0x3117ca(0x173)][_0x3117ca(0x15f)](_0x3117ca(0x153))[_0x3117ca(0x18b)](),this[_0x3117ca(0x114)]();},0xa),this[_0x1d77e3(0x175)][_0x1d77e3(0x190)](_0x3730d4,_0x1f048f);}[_0x408a10(0x13d)](){const _0x2b823b=_0x408a10,_0x180e84=this[_0x2b823b(0x158)],_0x5070b8=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x170)),_0x166f36=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x144)),_0x248521=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x153)),_0x56b787=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x11d));this[_0x2b823b(0x124)](),_0x248521[_0x2b823b(0x180)](()=>{const _0x2e34aa=_0x2b823b,_0x2dc2bb=[];for(const [_0x37cdc8,_0x5f1895]of Array[_0x2e34aa(0x187)](this[_0x2e34aa(0x146)])){const _0x4b268e=_0x37cdc8[_0x2e34aa(0x1a6)](),_0x3339f3=[];for(const _0x4dab89 of _0x4b268e){if(!_0x4dab89[_0x2e34aa(0x14f)])continue;if(_0x4dab89[_0x2e34aa(0x127)]){_0x3339f3[_0x2e34aa(0x118)](..._0x4dab89[_0x2e34aa(0x15d)]());continue;}const _0x2f73c4=_0x4dab89[_0x2e34aa(0x16d)]();if(_0x3339f3[_0x2e34aa(0x184)]>0x0){const _0x7e8c20=_0x3339f3[0x0][_0x2e34aa(0x11e)](_0x2f73c4);if(_0x7e8c20){_0x3339f3[0x0]=_0x7e8c20;continue;}}_0x3339f3[_0x2e34aa(0x118)](_0x2f73c4);}_0x2dc2bb[_0x2e34aa(0x118)]([_0x5f1895[_0x2e34aa(0x14a)],_0x3339f3]);}return _0x2dc2bb;}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x150),(_0x2f4f01,_0xdb7820)=>{const _0x309683=_0x2b823b;this[_0x309683(0x163)](_0xdb7820,_0x309683(0x142),(_0x32d421,_0x22839a,_0x40c35f,_0x3b99b8)=>{const _0xdec188=_0x309683;_0xdb7820[_0xdec188(0x14f)]&&(null==_0x40c35f?(this[_0xdec188(0x16a)](_0x3b99b8[_0xdec188(0x160)]),this[_0xdec188(0x137)](_0xdb7820,!0x1)):(this[_0xdec188(0x16a)](_0x40c35f[_0xdec188(0x160)]),null==_0x3b99b8&&this[_0xdec188(0x137)](_0xdb7820,!0x0)));}),null!==_0xdb7820[_0x309683(0x176)]?this[_0x309683(0x16a)](_0xdb7820[_0x309683(0x160)]):this[_0x309683(0x137)](_0xdb7820,!0x1);}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x12e),(_0x3cdb94,_0x2aaaaf,_0x1c683b)=>{const _0xa53750=_0x2b823b;this[_0xa53750(0x185)](_0x2aaaaf,_0xa53750(0x142)),this[_0xa53750(0x175)][_0xa53750(0x196)](_0x2aaaaf),this[_0xa53750(0x146)][_0xa53750(0x139)](_0x2aaaaf)&&this[_0xa53750(0x159)](_0x2aaaaf),_0x1c683b&&this[_0xa53750(0x16a)](_0x1c683b[_0xa53750(0x160)]);}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x117),(_0x40ba7b,_0x261da1)=>{const _0x15ed24=_0x2b823b;this[_0x15ed24(0x16a)](_0x261da1);}),this[_0x2b823b(0x163)](_0x166f36,_0x2b823b(0x12d),()=>{const _0x82716d=_0x2b823b;this[_0x82716d(0x114)]();}),this[_0x2b823b(0x163)](_0x56b787,_0x2b823b(0x161),(_0x10d356,{threadId:_0x1eb441,isFromAdapter:_0x55f1e5})=>{const _0x58c5f7=_0x2b823b;if(_0x55f1e5||!_0x5070b8[_0x58c5f7(0x19c)](_0x1eb441))return;const _0x5dbcef=_0x5070b8[_0x58c5f7(0x15b)](_0x1eb441);this[_0x58c5f7(0x146)][_0x58c5f7(0x15f)](_0x5dbcef)[_0x58c5f7(0x14a)][_0x58c5f7(0x19b)][_0x58c5f7(0x1a1)](-0x1);},{'priority':_0x2b823b(0x12a)});}[_0x408a10(0x114)](){const _0x324bfd=_0x408a10,_0x4d70fa=this[_0x324bfd(0x158)][_0x324bfd(0x173)][_0x324bfd(0x15f)](_0x324bfd(0x144)),_0xc00d02=this[_0x324bfd(0x158)][_0x324bfd(0x173)][_0x324bfd(0x15f)](_0x324bfd(0x170)),_0x5cfea2=Array[_0x324bfd(0x187)](_0x4d70fa[_0x324bfd(0x123)],_0x376705=>_0x376705[_0x324bfd(0x1a3)])[_0x324bfd(0x12b)](_0x30c4a7=>this[_0x324bfd(0x17d)][_0x324bfd(0x139)](_0x30c4a7)),_0x59ae08=[];for(const _0xa0b3f1 of _0x5cfea2){const _0x1796ab=this[_0x324bfd(0x17d)][_0x324bfd(0x15f)](_0xa0b3f1)[_0x324bfd(0x116)][_0x324bfd(0x1a6)]();_0x59ae08[_0x324bfd(0x118)](..._0x1796ab[_0x324bfd(0x17a)]((_0x23101f,_0x2c9b65)=>[..._0x23101f,..._0x2c9b65[_0x324bfd(0x179)]()],[]));}_0xc00d02[_0x324bfd(0x154)]=_0x59ae08;}[_0x408a10(0x124)](){const _0x1914e4=_0x408a10,_0x2d2508=this[_0x1914e4(0x158)],_0x124644=_0x2d2508[_0x1914e4(0x11f)],_0x199122=_0x3f8acf(_0x124644,_0x1914e4(0x147)),_0x5398aa=new _0x35408b([{'type':_0x1914e4(0x19f),'model':new _0x592a26({'withText':!0x0,'isToggleable':!0x0,'label':_0x199122,'commandName':_0x1914e4(0x19d),'role':_0x1914e4(0x130)})},{'type':_0x1914e4(0x174)},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x18e)),'commandName':_0x1914e4(0x16f),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x15c)),'commandName':_0x1914e4(0x132),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x199)),'commandName':_0x1914e4(0x188),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x122)),'commandName':_0x1914e4(0x16c),'role':_0x1914e4(0x18a)})}]);for(const _0x4432de of _0x5398aa)if(me(_0x4432de)){const _0x155167=_0x2d2508[_0x1914e4(0x18d)][_0x1914e4(0x15f)](_0x4432de[_0x1914e4(0x116)][_0x1914e4(0x197)]);_0x4432de[_0x1914e4(0x116)][_0x1914e4(0x151)](_0x1914e4(0x157),_0x1914e4(0x182))['to'](_0x155167,_0x1914e4(0x126),_0x1914e4(0x182));}_0x2d2508['ui'][_0x1914e4(0x191)][_0x1914e4(0x192)](_0x1914e4(0x19d),_0x387cb6=>this[_0x1914e4(0x177)](_0x387cb6,_0x5398aa,_0x199122)),_0x2d2508['ui'][_0x1914e4(0x191)][_0x1914e4(0x192)](_0x1914e4(0x13c),_0x42a4d9=>this[_0x1914e4(0x145)](_0x42a4d9,_0x5398aa,_0x199122));}[_0x408a10(0x177)](_0x33e70a,_0x2f43bb,_0x587241){const _0x159a69=_0x408a10,_0x5dcdf4=_0x4b95c4(_0x33e70a,_0x1f3f8e),_0x7d6da9=this[_0x159a69(0x158)][_0x159a69(0x18d)][_0x159a69(0x15f)](_0x159a69(0x19d));_0x5dcdf4[_0x159a69(0x14b)][_0x159a69(0x190)]({'tooltip':_0x587241,'label':_0x587241,'icon':_0x146471}),_0x5dcdf4[_0x159a69(0x14b)][_0x159a69(0x151)](_0x159a69(0x157))['to'](_0x7d6da9,_0x159a69(0x126)),_0x5dcdf4[_0x159a69(0x14b)]['on'](_0x159a69(0x11a),()=>{const _0x4339e6=_0x159a69;_0x7d6da9[_0x4339e6(0x11a)](),this[_0x4339e6(0x158)][_0x4339e6(0x1a5)][_0x4339e6(0x14a)][_0x4339e6(0x1a1)]();}),_0x265471(_0x5dcdf4,_0x2f43bb,{'role':_0x159a69(0x162)});const _0x51a412=[];for(const _0x1545e4 of _0x2f43bb)me(_0x1545e4)&&_0x51a412[_0x159a69(0x118)](this[_0x159a69(0x158)][_0x159a69(0x18d)][_0x159a69(0x15f)](_0x1545e4[_0x159a69(0x116)][_0x159a69(0x197)]));const _0x28d629=_0x5dcdf4[_0x159a69(0x14b)];return _0x28d629[_0x159a69(0x194)][_0x159a69(0x12f)](_0x159a69(0x182)),_0x28d629[_0x159a69(0x113)][_0x159a69(0x12f)](_0x159a69(0x182)),_0x28d629[_0x159a69(0x194)][_0x159a69(0x151)](_0x159a69(0x182))['to'](_0x7d6da9,_0x159a69(0x182)),_0x28d629[_0x159a69(0x113)][_0x159a69(0x151)](_0x159a69(0x182))[_0x159a69(0x15a)](_0x51a412,_0x159a69(0x182),(..._0x645160)=>_0x645160[_0x159a69(0x1a4)](_0x31bc36=>_0x31bc36)),_0x5dcdf4['on'](_0x159a69(0x11a),_0x5412b5=>{const _0x2b030d=_0x159a69;this[_0x2b030d(0x158)][_0x2b030d(0x11a)](_0x5412b5[_0x2b030d(0x152)][_0x2b030d(0x197)]),this[_0x2b030d(0x158)][_0x2b030d(0x1a5)][_0x2b030d(0x14a)][_0x2b030d(0x1a1)]();}),_0x5dcdf4;}[_0x408a10(0x145)](_0x12caf6,_0x5b0739,_0x2cce34){const _0x24be73=_0x408a10,_0x4a5a8c=new _0x23f981(_0x12caf6),_0x420cdc=this[_0x24be73(0x158)][_0x24be73(0x18d)][_0x24be73(0x15f)](_0x24be73(0x19d));_0x4a5a8c[_0x24be73(0x14b)][_0x24be73(0x190)]({'label':_0x2cce34,'icon':_0x146471});const _0x58ae5c=new _0x550d13(_0x12caf6);for(const _0x2679c9 of _0x5b0739){if(_0x24be73(0x174)==_0x2679c9[_0x24be73(0x156)]){_0x58ae5c[_0x24be73(0x155)][_0x24be73(0x192)](new _0x115eb3(_0x12caf6));continue;}const _0x3d8276=new _0x486766(_0x12caf6,_0x4a5a8c),_0x9d1b5b=new _0x15f8bf(_0x12caf6),_0xa80bb5=_0x2679c9[_0x24be73(0x116)];_0x9d1b5b[_0x24be73(0x151)](...Object[_0x24be73(0x148)](_0xa80bb5))['to'](_0xa80bb5),_0x9d1b5b[_0x24be73(0x112)](_0x24be73(0x11a))['to'](_0x4a5a8c),_0x9d1b5b['on'](_0x24be73(0x11a),()=>{const _0x43e856=_0x24be73;this[_0x43e856(0x158)][_0x43e856(0x11a)](_0xa80bb5[_0x43e856(0x197)]),this[_0x43e856(0x158)][_0x43e856(0x1a5)][_0x43e856(0x14a)][_0x43e856(0x1a1)]();}),_0x3d8276[_0x24be73(0x14e)][_0x24be73(0x192)](_0x9d1b5b),_0x58ae5c[_0x24be73(0x155)][_0x24be73(0x192)](_0x3d8276);}return _0x4a5a8c[_0x24be73(0x151)](_0x24be73(0x182))['to'](_0x420cdc,_0x24be73(0x182)),_0x4a5a8c[_0x24be73(0x198)][_0x24be73(0x14e)][_0x24be73(0x192)](_0x58ae5c),_0x4a5a8c;}[_0x408a10(0x16b)](_0x1de762){const _0x4b6a34=_0x408a10,_0x5c1acb=this[_0x4b6a34(0x158)],_0x5b8f7c=_0x5c1acb[_0x4b6a34(0x134)],_0x335751=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x144)),_0x522332=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x11d)),_0x579c35=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x153)),_0x5246c1=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x2fe442)['me'],_0x1882bb=_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x19d))[_0x4b6a34(0x120)],_0x31bdf4=_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x19d))[_0x4b6a34(0x128)],{CommentsListView:_0x32d781,CommentThreadInputView:_0x62b06e}=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x16e));let _0xb87c43,_0x1634e6,_0x1a4b62;this[_0x4b6a34(0x121)][_0x4b6a34(0x139)](_0x1de762['id'])?(_0x1634e6=this[_0x4b6a34(0x121)][_0x4b6a34(0x15f)](_0x1de762['id']),_0xb87c43=_0x1634e6[_0x4b6a34(0x1a0)]):(_0xb87c43=new _0x1882bb(_0x5c1acb[_0x4b6a34(0x11f)],_0x1de762,_0x5246c1,{'disableComments':this[_0x4b6a34(0x168)],'editorConfig':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x167)),'maxCommentsWhenCollapsed':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x13a)),'maxThreadTotalWeight':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x1a7)),'maxCommentCharsWhenCollapsed':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x115)),'formatDateTime':_0x342854(_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x11f))),'CommentView':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x15e))[_0x4b6a34(0x13e)],'CommentsListView':_0x32d781,'CommentThreadInputView':_0x62b06e,'SuggestionView':_0x31bdf4}),_0xb87c43[_0x4b6a34(0x1a2)][_0x4b6a34(0x169)]['on'](_0x4b6a34(0x11a),()=>{const _0x495cef=_0x4b6a34;_0x5c1acb[_0x495cef(0x1a5)][_0x495cef(0x14a)][_0x495cef(0x1a1)]();}),_0xb87c43[_0x4b6a34(0x1a2)][_0x4b6a34(0x13f)]['on'](_0x4b6a34(0x11a),()=>{const _0xccc284=_0x4b6a34;_0x5c1acb[_0xccc284(0x1a5)][_0xccc284(0x14a)][_0xccc284(0x1a1)]();}),_0x1634e6=_0x335751[_0x4b6a34(0x13b)](this[_0x4b6a34(0x158)][_0x4b6a34(0x11f)],_0xb87c43),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x17c))['to'](_0xb87c43,_0x4b6a34(0x17c)),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x184))['to'](_0xb87c43),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x156))['to'](_0xb87c43,_0x4b6a34(0x156),_0x405e90=>_0x4b6a34(0x195)+_0x405e90),_0xb87c43['on'](_0x4b6a34(0x181),()=>{const _0x53bcda=_0x4b6a34;_0x1a4b62[_0x53bcda(0x183)](_0x53bcda(0x181));}),this[_0x4b6a34(0x121)][_0x4b6a34(0x190)](_0x1de762['id'],_0x1634e6));const _0x59084c=_0x522332[_0x4b6a34(0x171)](_0x1de762[_0x4b6a34(0x149)],_0xb87c43),_0x1656ea=new _0x2e5acb(_0x5c1acb,_0x1de762,_0xb87c43,_0x59084c),_0x12b675=_0x1de762[_0x4b6a34(0x1a6)]()[_0x4b6a34(0x12b)](_0xf58c07=>_0xf58c07[_0x4b6a34(0x14f)]);_0xb87c43[_0x4b6a34(0x193)]=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x170))[_0x4b6a34(0x133)][_0x4b6a34(0x11c)](_0x12b675),this[_0x4b6a34(0x146)][_0x4b6a34(0x190)](_0x1de762,_0x1656ea),this[_0x4b6a34(0x17d)][_0x4b6a34(0x190)](_0xb87c43,_0x1656ea),_0x1a4b62=_0x335751[_0x4b6a34(0x11b)]({'view':_0x1634e6,'target':()=>{const _0x41be70=_0x4b6a34,_0x5383f6=[],_0x503305=_0x1de762[_0x41be70(0x1a6)]()[_0x41be70(0x12b)](_0x1fcfbe=>_0x1fcfbe[_0x41be70(0x14f)]);for(const _0x11de4d of _0x503305)_0x5383f6[_0x41be70(0x118)](..._0x11de4d[_0x41be70(0x164)]());return _0x55a8d8(_0x5c1acb[_0x41be70(0x1a5)],_0x5383f6);},'type':()=>_0x4b6a34(0x195)+_0x1656ea[_0x4b6a34(0x14a)][_0x4b6a34(0x156)]}),_0x522332[_0x4b6a34(0x14c)](_0xb87c43,_0x1a4b62),_0x335751[_0x4b6a34(0x192)](_0x1a4b62),_0x579c35[_0x4b6a34(0x131)](_0x1a4b62);}[_0x408a10(0x159)](_0x663a90){const _0x5b0d31=_0x408a10,_0x1bb80e=this[_0x5b0d31(0x158)][_0x5b0d31(0x173)][_0x5b0d31(0x15f)](_0x5b0d31(0x11d)),_0x48aee6=this[_0x5b0d31(0x158)][_0x5b0d31(0x173)][_0x5b0d31(0x15f)](_0x5b0d31(0x144)),_0x159e75=this[_0x5b0d31(0x146)][_0x5b0d31(0x15f)](_0x663a90),_0x552d17=_0x159e75[_0x5b0d31(0x14a)],_0x4b53f8=_0x48aee6[_0x5b0d31(0x17b)](_0x552d17);_0x1bb80e[_0x5b0d31(0x143)](_0x552d17),_0x4b53f8&&_0x48aee6[_0x5b0d31(0x19a)](_0x4b53f8),this[_0x5b0d31(0x146)][_0x5b0d31(0x196)](_0x663a90),this[_0x5b0d31(0x17d)][_0x5b0d31(0x196)](_0x552d17),_0x159e75[_0x5b0d31(0x141)]();}[_0x408a10(0x16a)](_0x430588){const _0x327674=_0x408a10;if(!_0x430588[_0x327674(0x14f)]||!this[_0x327674(0x146)][_0x327674(0x139)](_0x430588))return;const _0x14f91c=this[_0x327674(0x158)][_0x327674(0x173)][_0x327674(0x15f)](_0x327674(0x170)),_0x31bbab=this[_0x327674(0x146)][_0x327674(0x15f)](_0x430588),_0x5d4834=_0x430588[_0x327674(0x1a6)]();_0x31bbab[_0x327674(0x14a)][_0x327674(0x193)]=_0x14f91c[_0x327674(0x133)][_0x327674(0x11c)](_0x5d4834);}[_0x408a10(0x141)](){const _0x230553=_0x408a10;for(const _0x39e6e6 of this[_0x230553(0x146)][_0x230553(0x148)]())this[_0x230553(0x159)](_0x39e6e6);for(const _0x3efc1d of this[_0x230553(0x121)][_0x230553(0x119)]())_0x3efc1d[_0x230553(0x1a0)][_0x230553(0x141)]();super[_0x230553(0x141)]();}}function me(_0x584fb0){const _0x336e7a=_0x408a10;return _0x336e7a(0x116)in _0x584fb0;}
|
|
23
|
+
function _0x1610(){const _0x1f1ece=['activeMarkers','requires','delete','discardButton','commands','comments.maxCommentCharsWhenCollapsed','filter','44iwgfRQ','6174550IJpRea','size','isMultiRange','remove','value','activeAnnotations','escape','addSourceCollector','getByInnerView','separator','getAllAdjacentSuggestions','_viewToController','execute','change:previous','Discard\x20all\x20suggestions','trackChanges','delegate','lowest','length','componentFactory','set','_updateController','CommentView','init','pluginName','_addUIComponentsToFactory','listenTo','_createToolbarButton','destroy','add','117tEMQkf','getDescriptions','trackChanges.SuggestionView','getJoined','reduce','createCommentThreadController','panelView','editing','_annotationViews','discardSelectedSuggestions','_refreshActiveMarkers','16515675jNHoun','createAnnotation','EditorAnnotations','hasSuggestion','menuBar:trackChanges','buttonView','comments.editorConfig','getRanges','_handleSuggestionControllerDelayed','CommentsRepository','getSuggestion','switchbutton','define','addComment','model','discardAllSuggestions','locale','some','commentsListView','isEnabled','push','descriptionFactory','Annotations','Accept\x20all\x20selected\x20suggestions','_disableComments','isDirty','10TGTgdz','_handleControllerBuffer','commentThread','get','keys','SuggestionView','menu','items','_unbindEditors','Track\x20changes','fire','SuggestionThreadView','36855sfToZJ','menuitem','mainView','refreshSelectedViews','descriptionParts','trackChanges.disableComments','Accept\x20all\x20suggestions','config','_createMenuBarMenu','CommentsUI','38615IgJGPa','source','menuitemcheckbox','suggestionLoaded','clear','getMarkerNames','Discard\x20all\x20selected\x20suggestions','view','suggestionUnloaded','type','editor','_suggestionToController','TrackChangesUI','suggestion-','_bindAnnotationToEditors','change:activeAnnotations','actionView','createAnnotationView','_initializeController','children','TrackChangesEditing','comments','registerAnnotation','acceptAllSuggestions','226840PkuBjr','has','unbind','innerView','isOn','values','trackChanges.SuggestionThreadView','plugins','suggestionChanged','1111076JvrLxs','getMarkers','isInContent','getFirstRange','commandName','comments.maxCommentsWhenCollapsed','bind','suggestionView','stopListening','arrowView','previous','_destroyController','acceptSelectedSuggestions','toMany','button','comments.maxThreadTotalWeight','from','42yBnFoo','head','acceptButton','focus','2589054VcjGxF'];_0x1610=function(){return _0x1f1ece;};return _0x1610();}const _0x4388c2=_0xde33;(function(_0x1186bd,_0x50759a){const _0x4ec05a=_0xde33,_0x3a6db1=_0x1186bd();while(!![]){try{const _0x4474c5=-parseInt(_0x4ec05a(0x149))/0x1*(-parseInt(_0x4ec05a(0xef))/0x2)+parseInt(_0x4ec05a(0xe7))/0x3+parseInt(_0x4ec05a(0xd2))/0x4*(parseInt(_0x4ec05a(0x133))/0x5)+parseInt(_0x4ec05a(0xe3))/0x6*(-parseInt(_0x4ec05a(0x13f))/0x7)+parseInt(_0x4ec05a(0x161))/0x8*(parseInt(_0x4ec05a(0x10e))/0x9)+-parseInt(_0x4ec05a(0xf0))/0xa+-parseInt(_0x4ec05a(0x119))/0xb;if(_0x4474c5===_0x50759a)break;else _0x3a6db1['push'](_0x3a6db1['shift']());}catch(_0x3bdcf0){_0x3a6db1['push'](_0x3a6db1['shift']());}}}(_0x1610,0x756c6));import{Plugin as _0x3a1a75}from'ckeditor5/src/core.js';import{Collection as _0x2670a3}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4ea1d0,createDropdown as _0x4bfb5e,ListSeparatorView as _0x1cef75,MenuBarMenuView as _0x50d3d8,MenuBarMenuListView as _0x37dcf5,MenuBarMenuListItemView as _0x156a73,MenuBarMenuListItemButtonView as _0x31874e,SplitButtonView as _0xc2cec5,ViewModel as _0x7f4f3b}from'ckeditor5/src/ui.js';import{Users as _0x92f8b,getDateTimeFormatter as _0x5b2a02,getAllMarkersDomElementsSorted as _0x7c8be8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2acd1f from'./trackchangesediting.js';import _0x3113a6 from'./ui/suggestioncontroller.js';import _0x33df6a from'./ui/view/suggestionthreadview.js';import _0x5b3d37 from'./ui/view/suggestionview.js';import{getTranslation as _0x172396}from'./utils/common-translations.js';import _0xd47978 from'../theme/icons/track-changes.svg';export default class d extends _0x3a1a75{static get[_0x4388c2(0xe9)](){const _0x110bcb=_0x4388c2;return[_0x2acd1f,_0x92f8b,_0x110bcb(0x122),_0x110bcb(0x12f),_0x110bcb(0x11b)];}static get[_0x4388c2(0x108)](){const _0x47ca70=_0x4388c2;return _0x47ca70(0x155);}constructor(_0x32421f){const _0x1569dc=_0x4388c2;super(_0x32421f),this[_0x1569dc(0x154)]=new Map(),this[_0x1569dc(0xfb)]=new Map(),this[_0x1569dc(0x116)]=new Map(),this[_0x1569dc(0x134)]=new Map();const _0x3efa90=this[_0x1569dc(0x153)][_0x1569dc(0x146)];_0x3efa90[_0x1569dc(0x125)](_0x1569dc(0x167),_0x33df6a),_0x3efa90[_0x1569dc(0x125)](_0x1569dc(0x110),_0x5b3d37),_0x3efa90[_0x1569dc(0x125)](_0x1569dc(0x144),!0x1),this[_0x1569dc(0x131)]=_0x3efa90[_0x1569dc(0x136)](_0x1569dc(0x144));}[_0x4388c2(0x121)](_0x3b8bca,_0x283489){const _0x320115=_0x4388c2;0x0===this[_0x320115(0x134)][_0x320115(0xf1)]&&setTimeout(()=>{const _0x52e072=_0x320115;for(const [_0x17b593,_0x2f3dd8]of this[_0x52e072(0x134)]){const _0x519e27=this[_0x52e072(0x154)][_0x52e072(0x162)](_0x17b593);_0x519e27||_0x2f3dd8?_0x519e27&&_0x2f3dd8&&this[_0x52e072(0xdd)](_0x17b593):this[_0x52e072(0x15b)](_0x17b593);}this[_0x52e072(0x134)][_0x52e072(0x14d)](),this[_0x52e072(0x153)][_0x52e072(0x168)][_0x52e072(0x136)](_0x52e072(0x11b))[_0x52e072(0x142)](),this[_0x52e072(0x118)]();},0xa),this[_0x320115(0x134)][_0x320115(0x104)](_0x3b8bca,_0x283489);}[_0x4388c2(0x107)](){const _0x46ebc0=_0x4388c2,_0xa2b0e3=this[_0x46ebc0(0x153)],_0xd4eabf=_0xa2b0e3[_0x46ebc0(0x168)][_0x46ebc0(0x136)](_0x46ebc0(0x15d)),_0xd3fb64=_0xa2b0e3[_0x46ebc0(0x168)][_0x46ebc0(0x136)](_0x46ebc0(0x12f)),_0x36ea03=_0xa2b0e3[_0x46ebc0(0x168)][_0x46ebc0(0x136)](_0x46ebc0(0x11b)),_0x5873fa=_0xa2b0e3[_0x46ebc0(0x168)][_0x46ebc0(0x136)](_0x46ebc0(0x122));this[_0x46ebc0(0x109)](),_0x36ea03[_0x46ebc0(0xf7)](()=>{const _0x17bd6d=_0x46ebc0,_0x3241c6=[];for(const [_0x23ce79,_0x208941]of Array[_0x17bd6d(0xe2)](this[_0x17bd6d(0x154)])){const _0x15ec47=_0x23ce79[_0x17bd6d(0xfa)](),_0x112c9e=[];for(const _0x45c91e of _0x15ec47){if(!_0x45c91e[_0x17bd6d(0xd4)])continue;if(_0x45c91e[_0x17bd6d(0xf2)]){_0x112c9e[_0x17bd6d(0x12d)](..._0x45c91e[_0x17bd6d(0x120)]());continue;}const _0x40ffa9=_0x45c91e[_0x17bd6d(0xd5)]();if(_0x112c9e[_0x17bd6d(0x102)]>0x0){const _0xbcade9=_0x112c9e[0x0][_0x17bd6d(0x111)](_0x40ffa9);if(_0xbcade9){_0x112c9e[0x0]=_0xbcade9;continue;}}_0x112c9e[_0x17bd6d(0x12d)](_0x40ffa9);}_0x3241c6[_0x17bd6d(0x12d)]([_0x208941[_0x17bd6d(0x150)],_0x112c9e]);}return _0x3241c6;}),this[_0x46ebc0(0x10a)](_0xd4eabf,_0x46ebc0(0x14c),(_0x33401d,_0x153533)=>{const _0x490759=_0x46ebc0;this[_0x490759(0x10a)](_0x153533,_0x490759(0xfd),(_0x3cda0f,_0x305624,_0x13c65e,_0x3a93d2)=>{const _0x4a142f=_0x490759;_0x153533[_0x4a142f(0xd4)]&&(null==_0x13c65e?(this[_0x4a142f(0x105)](_0x3a93d2[_0x4a142f(0xe4)]),this[_0x4a142f(0x121)](_0x153533,!0x1)):(this[_0x4a142f(0x105)](_0x13c65e[_0x4a142f(0xe4)]),null==_0x3a93d2&&this[_0x4a142f(0x121)](_0x153533,!0x0)));}),null!==_0x153533[_0x490759(0xdc)]?this[_0x490759(0x105)](_0x153533[_0x490759(0xe4)]):this[_0x490759(0x121)](_0x153533,!0x1);}),this[_0x46ebc0(0x10a)](_0xd4eabf,_0x46ebc0(0x151),(_0x4f83d5,_0x12b73c,_0x25bbbf)=>{const _0xc9a811=_0x46ebc0;this[_0xc9a811(0xda)](_0x12b73c,_0xc9a811(0xfd)),this[_0xc9a811(0x134)][_0xc9a811(0xea)](_0x12b73c),this[_0xc9a811(0x154)][_0xc9a811(0x162)](_0x12b73c)&&this[_0xc9a811(0xdd)](_0x12b73c),_0x25bbbf&&this[_0xc9a811(0x105)](_0x25bbbf[_0xc9a811(0xe4)]);}),this[_0x46ebc0(0x10a)](_0xd4eabf,_0x46ebc0(0x169),(_0x492185,_0x5db841)=>{const _0x5befc2=_0x46ebc0;this[_0x5befc2(0x105)](_0x5db841);}),this[_0x46ebc0(0x10a)](_0xd3fb64,_0x46ebc0(0x158),()=>{const _0x1732a4=_0x46ebc0;this[_0x1732a4(0x118)]();}),this[_0x46ebc0(0x10a)](_0x5873fa,_0x46ebc0(0x126),(_0x2a9788,{threadId:_0x2c9d3c,isFromAdapter:_0x5f0380})=>{const _0x5741c1=_0x46ebc0;if(_0x5f0380||!_0xd4eabf[_0x5741c1(0x11c)](_0x2c9d3c))return;const _0xbb0c6d=_0xd4eabf[_0x5741c1(0x123)](_0x2c9d3c);this[_0x5741c1(0x154)][_0x5741c1(0x136)](_0xbb0c6d)[_0x5741c1(0x150)][_0x5741c1(0x12b)][_0x5741c1(0xe6)](-0x1);},{'priority':_0x46ebc0(0x101)});}[_0x4388c2(0x118)](){const _0x5e4517=_0x4388c2,_0x571e6d=this[_0x5e4517(0x153)][_0x5e4517(0x168)][_0x5e4517(0x136)](_0x5e4517(0x12f)),_0x44618e=this[_0x5e4517(0x153)][_0x5e4517(0x168)][_0x5e4517(0x136)](_0x5e4517(0x15d)),_0x3cdf3c=Array[_0x5e4517(0xe2)](_0x571e6d[_0x5e4517(0xf5)],_0x16583f=>_0x16583f[_0x5e4517(0x164)])[_0x5e4517(0xee)](_0x348412=>this[_0x5e4517(0xfb)][_0x5e4517(0x162)](_0x348412)),_0xe400ea=[];for(const _0x555233 of _0x3cdf3c){const _0xf741bc=this[_0x5e4517(0xfb)][_0x5e4517(0x136)](_0x555233)[_0x5e4517(0x127)][_0x5e4517(0xfa)]();_0xe400ea[_0x5e4517(0x12d)](..._0xf741bc[_0x5e4517(0x112)]((_0x46f726,_0xc0511)=>[..._0x46f726,..._0xc0511[_0x5e4517(0x14e)]()],[]));}_0x44618e[_0x5e4517(0xe8)]=_0xe400ea;}[_0x4388c2(0x109)](){const _0x313340=_0x4388c2,_0x32d221=this[_0x313340(0x153)],_0x22437c=_0x32d221[_0x313340(0x129)],_0x478444=_0x172396(_0x22437c,_0x313340(0x13c)),_0x24a9cc=new _0x2670a3([{'type':_0x313340(0x124),'model':new _0x7f4f3b({'withText':!0x0,'isToggleable':!0x0,'label':_0x478444,'commandName':_0x313340(0xff),'role':_0x313340(0x14b)})},{'type':_0x313340(0xf9)},{'type':_0x313340(0xe0),'model':new _0x7f4f3b({'withText':!0x0,'label':_0x172396(_0x22437c,_0x313340(0x145)),'commandName':_0x313340(0x160),'role':_0x313340(0x140)})},{'type':_0x313340(0xe0),'model':new _0x7f4f3b({'withText':!0x0,'label':_0x172396(_0x22437c,_0x313340(0x130)),'commandName':_0x313340(0xde),'role':_0x313340(0x140)})},{'type':_0x313340(0xe0),'model':new _0x7f4f3b({'withText':!0x0,'label':_0x172396(_0x22437c,_0x313340(0xfe)),'commandName':_0x313340(0x128),'role':_0x313340(0x140)})},{'type':_0x313340(0xe0),'model':new _0x7f4f3b({'withText':!0x0,'label':_0x172396(_0x22437c,_0x313340(0x14f)),'commandName':_0x313340(0x117),'role':_0x313340(0x140)})}]);for(const _0xa8125a of _0x24a9cc)if(me(_0xa8125a)){const _0x16b96d=_0x32d221[_0x313340(0xec)][_0x313340(0x136)](_0xa8125a[_0x313340(0x127)][_0x313340(0xd6)]);_0xa8125a[_0x313340(0x127)][_0x313340(0xd8)](_0x313340(0x165),_0x313340(0x12c))['to'](_0x16b96d,_0x313340(0xf4),_0x313340(0x12c));}_0x32d221['ui'][_0x313340(0x103)][_0x313340(0x10d)](_0x313340(0xff),_0x41fae6=>this[_0x313340(0x10b)](_0x41fae6,_0x24a9cc,_0x478444)),_0x32d221['ui'][_0x313340(0x103)][_0x313340(0x10d)](_0x313340(0x11d),_0x16c353=>this[_0x313340(0x147)](_0x16c353,_0x24a9cc,_0x478444));}[_0x4388c2(0x10b)](_0x212c1f,_0x464cbd,_0x387fd4){const _0x18be16=_0x4388c2,_0x5b4d18=_0x4bfb5e(_0x212c1f,_0xc2cec5),_0x24caa3=this[_0x18be16(0x153)][_0x18be16(0xec)][_0x18be16(0x136)](_0x18be16(0xff));_0x5b4d18[_0x18be16(0x11e)][_0x18be16(0x104)]({'tooltip':_0x387fd4,'label':_0x387fd4,'icon':_0xd47978}),_0x5b4d18[_0x18be16(0x11e)][_0x18be16(0xd8)](_0x18be16(0x165))['to'](_0x24caa3,_0x18be16(0xf4)),_0x5b4d18[_0x18be16(0x11e)]['on'](_0x18be16(0xfc),()=>{const _0x51f99a=_0x18be16;_0x24caa3[_0x51f99a(0xfc)](),this[_0x51f99a(0x153)][_0x51f99a(0x115)][_0x51f99a(0x150)][_0x51f99a(0xe6)]();}),_0x4ea1d0(_0x5b4d18,_0x464cbd,{'role':_0x18be16(0x139)});const _0x2a7541=[];for(const _0x3a0e14 of _0x464cbd)me(_0x3a0e14)&&_0x2a7541[_0x18be16(0x12d)](this[_0x18be16(0x153)][_0x18be16(0xec)][_0x18be16(0x136)](_0x3a0e14[_0x18be16(0x127)][_0x18be16(0xd6)]));const _0x432103=_0x5b4d18[_0x18be16(0x11e)];return _0x432103[_0x18be16(0x159)][_0x18be16(0x163)](_0x18be16(0x12c)),_0x432103[_0x18be16(0xdb)][_0x18be16(0x163)](_0x18be16(0x12c)),_0x432103[_0x18be16(0x159)][_0x18be16(0xd8)](_0x18be16(0x12c))['to'](_0x24caa3,_0x18be16(0x12c)),_0x432103[_0x18be16(0xdb)][_0x18be16(0xd8)](_0x18be16(0x12c))[_0x18be16(0xdf)](_0x2a7541,_0x18be16(0x12c),(..._0x312550)=>_0x312550[_0x18be16(0x12a)](_0x7e07fe=>_0x7e07fe)),_0x5b4d18['on'](_0x18be16(0xfc),_0x4540a4=>{const _0x31a7e0=_0x18be16;this[_0x31a7e0(0x153)][_0x31a7e0(0xfc)](_0x4540a4[_0x31a7e0(0x14a)][_0x31a7e0(0xd6)]),this[_0x31a7e0(0x153)][_0x31a7e0(0x115)][_0x31a7e0(0x150)][_0x31a7e0(0xe6)]();}),_0x5b4d18;}[_0x4388c2(0x147)](_0x2e9081,_0x29b07f,_0x497ca1){const _0x46d6e1=_0x4388c2,_0x5e1620=new _0x50d3d8(_0x2e9081),_0x14854c=this[_0x46d6e1(0x153)][_0x46d6e1(0xec)][_0x46d6e1(0x136)](_0x46d6e1(0xff));_0x5e1620[_0x46d6e1(0x11e)][_0x46d6e1(0x104)]({'label':_0x497ca1,'icon':_0xd47978});const _0x11ce9a=new _0x37dcf5(_0x2e9081);for(const _0x4f54c3 of _0x29b07f){if(_0x46d6e1(0xf9)==_0x4f54c3[_0x46d6e1(0x152)]){_0x11ce9a[_0x46d6e1(0x13a)][_0x46d6e1(0x10d)](new _0x1cef75(_0x2e9081));continue;}const _0x3633f3=new _0x156a73(_0x2e9081,_0x5e1620),_0x2a5d2c=new _0x31874e(_0x2e9081),_0x147562=_0x4f54c3[_0x46d6e1(0x127)];_0x2a5d2c[_0x46d6e1(0xd8)](...Object[_0x46d6e1(0x137)](_0x147562))['to'](_0x147562),_0x2a5d2c[_0x46d6e1(0x100)](_0x46d6e1(0xfc))['to'](_0x5e1620),_0x2a5d2c['on'](_0x46d6e1(0xfc),()=>{const _0x3fbcb6=_0x46d6e1;this[_0x3fbcb6(0x153)][_0x3fbcb6(0xfc)](_0x147562[_0x3fbcb6(0xd6)]),this[_0x3fbcb6(0x153)][_0x3fbcb6(0x115)][_0x3fbcb6(0x150)][_0x3fbcb6(0xe6)]();}),_0x3633f3[_0x46d6e1(0x15c)][_0x46d6e1(0x10d)](_0x2a5d2c),_0x11ce9a[_0x46d6e1(0x13a)][_0x46d6e1(0x10d)](_0x3633f3);}return _0x5e1620[_0x46d6e1(0xd8)](_0x46d6e1(0x12c))['to'](_0x14854c,_0x46d6e1(0x12c)),_0x5e1620[_0x46d6e1(0x114)][_0x46d6e1(0x15c)][_0x46d6e1(0x10d)](_0x11ce9a),_0x5e1620;}[_0x4388c2(0x15b)](_0x10dad4){const _0x1ad067=_0x4388c2,_0x1bac7b=this[_0x1ad067(0x153)],_0x30c015=_0x1bac7b[_0x1ad067(0x146)],_0x5506a0=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x1ad067(0x12f)),_0x130ec1=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x1ad067(0x122)),_0x1479be=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x1ad067(0x11b)),_0xd8274e=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x92f8b)['me'],_0xbe8be6=_0x30c015[_0x1ad067(0x136)](_0x1ad067(0xff))[_0x1ad067(0x13e)],_0x18c207=_0x30c015[_0x1ad067(0x136)](_0x1ad067(0xff))[_0x1ad067(0x138)],{CommentsListView:_0x1b89b3,CommentThreadInputView:_0x20decb}=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x1ad067(0x148));let _0x3ec804,_0x5b73ba,_0x186bb4;this[_0x1ad067(0x116)][_0x1ad067(0x162)](_0x10dad4['id'])?(_0x5b73ba=this[_0x1ad067(0x116)][_0x1ad067(0x136)](_0x10dad4['id']),_0x3ec804=_0x5b73ba[_0x1ad067(0x141)]):(_0x3ec804=new _0xbe8be6(_0x1bac7b[_0x1ad067(0x129)],_0x10dad4,_0xd8274e,{'disableComments':this[_0x1ad067(0x131)],'editorConfig':_0x30c015[_0x1ad067(0x136)](_0x1ad067(0x11f)),'maxCommentsWhenCollapsed':_0x30c015[_0x1ad067(0x136)](_0x1ad067(0xd7)),'maxThreadTotalWeight':_0x30c015[_0x1ad067(0x136)](_0x1ad067(0xe1)),'maxCommentCharsWhenCollapsed':_0x30c015[_0x1ad067(0x136)](_0x1ad067(0xed)),'formatDateTime':_0x5b2a02(_0x30c015[_0x1ad067(0x136)](_0x1ad067(0x129))),'CommentView':_0x30c015[_0x1ad067(0x136)](_0x1ad067(0x15e))[_0x1ad067(0x106)],'CommentsListView':_0x1b89b3,'CommentThreadInputView':_0x20decb,'SuggestionView':_0x18c207}),_0x3ec804[_0x1ad067(0xd9)][_0x1ad067(0xe5)]['on'](_0x1ad067(0xfc),()=>{const _0x106825=_0x1ad067;_0x1bac7b[_0x106825(0x115)][_0x106825(0x150)][_0x106825(0xe6)]();}),_0x3ec804[_0x1ad067(0xd9)][_0x1ad067(0xeb)]['on'](_0x1ad067(0xfc),()=>{const _0x133dd5=_0x1ad067;_0x1bac7b[_0x133dd5(0x115)][_0x133dd5(0x150)][_0x133dd5(0xe6)]();}),_0x5b73ba=_0x5506a0[_0x1ad067(0x15a)](this[_0x1ad067(0x153)][_0x1ad067(0x129)],_0x3ec804),_0x5b73ba[_0x1ad067(0xd8)](_0x1ad067(0x132))['to'](_0x3ec804,_0x1ad067(0x132)),_0x5b73ba[_0x1ad067(0xd8)](_0x1ad067(0x102))['to'](_0x3ec804),_0x5b73ba[_0x1ad067(0xd8)](_0x1ad067(0x152))['to'](_0x3ec804,_0x1ad067(0x152),_0x49ab88=>_0x1ad067(0x156)+_0x49ab88),_0x3ec804['on'](_0x1ad067(0xf6),()=>{const _0x5a4352=_0x1ad067;_0x186bb4[_0x5a4352(0x13d)](_0x5a4352(0xf6));}),this[_0x1ad067(0x116)][_0x1ad067(0x104)](_0x10dad4['id'],_0x5b73ba));const _0x4d110e=_0x130ec1[_0x1ad067(0x113)](_0x10dad4[_0x1ad067(0x135)],_0x3ec804),_0x46d550=new _0x3113a6(_0x1bac7b,_0x10dad4,_0x3ec804,_0x4d110e),_0x368c03=_0x10dad4[_0x1ad067(0xfa)]()[_0x1ad067(0xee)](_0x4e9923=>_0x4e9923[_0x1ad067(0xd4)]);_0x3ec804[_0x1ad067(0x143)]=_0x1bac7b[_0x1ad067(0x168)][_0x1ad067(0x136)](_0x1ad067(0x15d))[_0x1ad067(0x12e)][_0x1ad067(0x10f)](_0x368c03),this[_0x1ad067(0x154)][_0x1ad067(0x104)](_0x10dad4,_0x46d550),this[_0x1ad067(0xfb)][_0x1ad067(0x104)](_0x3ec804,_0x46d550),_0x186bb4=_0x5506a0[_0x1ad067(0x11a)]({'view':_0x5b73ba,'target':()=>{const _0x5f51e8=_0x1ad067,_0x4e01a3=[],_0x34eb35=_0x10dad4[_0x5f51e8(0xfa)]()[_0x5f51e8(0xee)](_0x4c910d=>_0x4c910d[_0x5f51e8(0xd4)]);for(const _0x498b67 of _0x34eb35)_0x4e01a3[_0x5f51e8(0x12d)](..._0x498b67[_0x5f51e8(0xd3)]());return _0x7c8be8(_0x1bac7b[_0x5f51e8(0x115)],_0x4e01a3);},'type':()=>_0x1ad067(0x156)+_0x46d550[_0x1ad067(0x150)][_0x1ad067(0x152)]}),_0x130ec1[_0x1ad067(0x157)](_0x3ec804,_0x186bb4),_0x5506a0[_0x1ad067(0x10d)](_0x186bb4),_0x1479be[_0x1ad067(0x15f)](_0x186bb4);}[_0x4388c2(0xdd)](_0x4d2492){const _0xa527b0=_0x4388c2,_0x478e94=this[_0xa527b0(0x153)][_0xa527b0(0x168)][_0xa527b0(0x136)](_0xa527b0(0x122)),_0x2db460=this[_0xa527b0(0x153)][_0xa527b0(0x168)][_0xa527b0(0x136)](_0xa527b0(0x12f)),_0xe95967=this[_0xa527b0(0x154)][_0xa527b0(0x136)](_0x4d2492),_0x49737a=_0xe95967[_0xa527b0(0x150)],_0x49520e=_0x2db460[_0xa527b0(0xf8)](_0x49737a);_0x478e94[_0xa527b0(0x13b)](_0x49737a),_0x49520e&&_0x2db460[_0xa527b0(0xf3)](_0x49520e),this[_0xa527b0(0x154)][_0xa527b0(0xea)](_0x4d2492),this[_0xa527b0(0xfb)][_0xa527b0(0xea)](_0x49737a),_0xe95967[_0xa527b0(0x10c)]();}[_0x4388c2(0x105)](_0x290afa){const _0x2aa49d=_0x4388c2;if(!_0x290afa[_0x2aa49d(0xd4)]||!this[_0x2aa49d(0x154)][_0x2aa49d(0x162)](_0x290afa))return;const _0x384673=this[_0x2aa49d(0x153)][_0x2aa49d(0x168)][_0x2aa49d(0x136)](_0x2aa49d(0x15d)),_0x256912=this[_0x2aa49d(0x154)][_0x2aa49d(0x136)](_0x290afa),_0xf23c6c=_0x290afa[_0x2aa49d(0xfa)]();_0x256912[_0x2aa49d(0x150)][_0x2aa49d(0x143)]=_0x384673[_0x2aa49d(0x12e)][_0x2aa49d(0x10f)](_0xf23c6c);}[_0x4388c2(0x10c)](){const _0x1a87ea=_0x4388c2;for(const _0x5bc994 of this[_0x1a87ea(0x154)][_0x1a87ea(0x137)]())this[_0x1a87ea(0xdd)](_0x5bc994);for(const _0x4750c9 of this[_0x1a87ea(0x116)][_0x1a87ea(0x166)]())_0x4750c9[_0x1a87ea(0x141)][_0x1a87ea(0x10c)]();super[_0x1a87ea(0x10c)]();}}function _0xde33(_0x366fc9,_0x57a537){const _0x161053=_0x1610();return _0xde33=function(_0xde33cb,_0x17852e){_0xde33cb=_0xde33cb-0xd2;let _0x148d1e=_0x161053[_0xde33cb];return _0x148d1e;},_0xde33(_0x366fc9,_0x57a537);}function me(_0x155588){const _0x146010=_0x4388c2;return _0x146010(0x127)in _0x155588;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x13ccd6=_0x5810;function _0x5810(_0x522e85,_0x36b5ba){const _0xd37a8d=_0xd37a();return _0x5810=function(_0x581051,_0x2b64ae){_0x581051=_0x581051-0x1e5;let _0x473ca7=_0xd37a8d[_0x581051];return _0x473ca7;},_0x5810(_0x522e85,_0x36b5ba);}function _0xd37a(){const _0x35ca18=['_removePendingAction','1584878TcOJzy','939544jQyeiP','373580oRxoYl','7336QqPEsi','discardSuggestion','_discardCommand','change:isDirty','2739660WOnfgJ','add','commands','_editor','isDirty','canEditAt','get','isEnabled','30LaICpL','bind','execute','stopListening','unbind','canAccept','2191596pHUBQo','view','locale','PendingActions','_setPendingAction','acceptSuggestion','637947XLAExV','canDiscard','model','_pendingAction','_acceptCommand','commentThreadController','destroy','listenTo','getRanges','PENDING_ACTION_SUGGESTION','remove','plugins','4816UMvlVH'];_0xd37a=function(){return _0x35ca18;};return _0xd37a();}(function(_0xd07976,_0x62e04){const _0x30bdcb=_0x5810,_0x25bbfc=_0xd07976();while(!![]){try{const _0x33c27a=parseInt(_0x30bdcb(0x207))/0x1+-parseInt(_0x30bdcb(0x206))/0x2+-parseInt(_0x30bdcb(0x1ec))/0x3*(parseInt(_0x30bdcb(0x208))/0x4)+parseInt(_0x30bdcb(0x20d))/0x5+parseInt(_0x30bdcb(0x1f2))/0x6+parseInt(_0x30bdcb(0x209))/0x7*(parseInt(_0x30bdcb(0x204))/0x8)+-parseInt(_0x30bdcb(0x1f8))/0x9;if(_0x33c27a===_0x62e04)break;else _0x25bbfc['push'](_0x25bbfc['shift']());}catch(_0x218f3e){_0x25bbfc['push'](_0x25bbfc['shift']());}}}(_0xd37a,0xa791e));import{ObservableMixin as _0x47cc98}from'ckeditor5/src/utils.js';import{getTranslation as _0x379d99}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x47cc98(){constructor(_0x48962c,_0x1a86d7,_0x358dc9,_0x564975){const _0x35953b=_0x5810;super(),this[_0x35953b(0x1fa)]=_0x1a86d7,this[_0x35953b(0x1f3)]=_0x358dc9,this[_0x35953b(0x1fd)]=_0x564975,this[_0x35953b(0x1e7)]=_0x48962c,this[_0x35953b(0x1fc)]=_0x48962c[_0x35953b(0x1e6)][_0x35953b(0x1ea)](_0x35953b(0x1f7)),this[_0x35953b(0x20b)]=_0x48962c[_0x35953b(0x1e6)][_0x35953b(0x1ea)](_0x35953b(0x20a)),this[_0x35953b(0x1f3)][_0x35953b(0x1ed)](_0x35953b(0x1eb))['to'](this[_0x35953b(0x1fc)],this[_0x35953b(0x20b)],(_0x217753,_0x58d8ee)=>_0x217753||_0x58d8ee),this[_0x35953b(0x1f3)][_0x35953b(0x1ed)](_0x35953b(0x1f1))['to'](this[_0x35953b(0x1fc)],_0x35953b(0x1eb),_0x1f51be=>_0x1f51be&&this[_0x35953b(0x1e7)][_0x35953b(0x1fa)][_0x35953b(0x1e9)](_0x1a86d7[_0x35953b(0x200)]())),this[_0x35953b(0x1f3)][_0x35953b(0x1ed)](_0x35953b(0x1f9))['to'](this[_0x35953b(0x20b)],_0x35953b(0x1eb),_0x150088=>_0x150088&&this[_0x35953b(0x1e7)][_0x35953b(0x1fa)][_0x35953b(0x1e9)](_0x1a86d7[_0x35953b(0x200)]())),this[_0x35953b(0x1fb)]=null,_0x358dc9[_0x35953b(0x1e8)]&&this[_0x35953b(0x1f6)](),this[_0x35953b(0x1ff)](_0x358dc9,_0x35953b(0x1f7),()=>this[_0x35953b(0x1f7)]()),this[_0x35953b(0x1ff)](_0x358dc9,_0x35953b(0x20a),()=>this[_0x35953b(0x20a)]()),this[_0x35953b(0x1ff)](_0x358dc9,_0x35953b(0x20c),()=>{const _0x274463=_0x35953b;_0x358dc9[_0x274463(0x1e8)]?this[_0x274463(0x1f6)]():this[_0x274463(0x205)]();});}[_0x13ccd6(0x1f7)](){const _0x3bc3db=_0x13ccd6;this[_0x3bc3db(0x1fc)][_0x3bc3db(0x1ee)](this[_0x3bc3db(0x1fa)]['id']);}[_0x13ccd6(0x20a)](){const _0x1af963=_0x13ccd6;this[_0x1af963(0x20b)][_0x1af963(0x1ee)](this[_0x1af963(0x1fa)]['id']);}[_0x13ccd6(0x1fe)](){const _0x3fb287=_0x13ccd6;this[_0x3fb287(0x1f3)][_0x3fb287(0x1f0)](_0x3fb287(0x1eb)),this[_0x3fb287(0x1f3)][_0x3fb287(0x1f0)](_0x3fb287(0x1f1)),this[_0x3fb287(0x1f3)][_0x3fb287(0x1f0)](_0x3fb287(0x1f9)),this[_0x3fb287(0x1ef)](),this[_0x3fb287(0x1fd)][_0x3fb287(0x1fe)](),this[_0x3fb287(0x1fb)]&&this[_0x3fb287(0x205)]();}[_0x13ccd6(0x1f6)](){const _0x441fb1=_0x13ccd6,_0x4e3419=_0x379d99(this[_0x441fb1(0x1e7)][_0x441fb1(0x1f4)],_0x441fb1(0x201));this[_0x441fb1(0x1fb)]=this[_0x441fb1(0x1e7)][_0x441fb1(0x203)][_0x441fb1(0x1ea)](_0x441fb1(0x1f5))[_0x441fb1(0x1e5)](_0x4e3419);}[_0x13ccd6(0x205)](){const _0x54eea7=_0x13ccd6;null!==this[_0x54eea7(0x1fb)]&&this[_0x54eea7(0x1e7)][_0x54eea7(0x203)][_0x54eea7(0x1ea)](_0x54eea7(0x1f5))[_0x54eea7(0x202)](this[_0x54eea7(0x1fb)]),this[_0x54eea7(0x1fb)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4db9a2=_0x5004;function _0x3da8(){const _0x258b0a=['commentThreadInputView','author','tab','1499295IVHwAI','6088fDarGM','setData','content','text/html','focusCycler','CommentView','target','locale','10442340AHTtXm','_createCommentViews','_createCommentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','_model','focus','textContent','bind','value','keystrokes','assign','ariaLabel','2557592Npzqou','addComment','editorConfig','commentThread','updateComment','ariaDescriptionView','delegate','map','1580346DhwbVr','isEnabled','266qQLqCl','destroy','removeComment','325870asdMrL','isActive','focusables','canAccept','element','length','commentsListView','shift+tab','descriptionParts','_config','commentInputView','editor','showInput','_localUser','render','name','hasDirtyComment','6087IUisRI','body','join','1540xZcttS','SUGGESTION_THREAD_ARIA_LABEL','focusTracker','canDiscard','isDirty','authoredAt','parseFromString','formatDateTime','set','submit','isReadOnly','disabledSubmit','disableComments','fire','cancel'];_0x3da8=function(){return _0x258b0a;};return _0x3da8();}(function(_0x19446f,_0x216394){const _0x419ea9=_0x5004,_0x1e4626=_0x19446f();while(!![]){try{const _0x13bd95=parseInt(_0x419ea9(0xdd))/0x1+parseInt(_0x419ea9(0xda))/0x2*(parseInt(_0x419ea9(0xee))/0x3)+-parseInt(_0x419ea9(0xbc))/0x4*(-parseInt(_0x419ea9(0xf1))/0x5)+parseInt(_0x419ea9(0xd8))/0x6+-parseInt(_0x419ea9(0xbb))/0x7+parseInt(_0x419ea9(0xd0))/0x8+-parseInt(_0x419ea9(0xc4))/0x9;if(_0x13bd95===_0x216394)break;else _0x1e4626['push'](_0x1e4626['shift']());}catch(_0x581ef2){_0x1e4626['push'](_0x1e4626['shift']());}}}(_0x3da8,0x42afc));import{FocusCycler as _0xbc4fdd,View as _0x4fd9fb,ViewCollection as _0x5af37d}from'ckeditor5/src/ui.js';function _0x5004(_0x4dfe95,_0xdacea){const _0x3da8d0=_0x3da8();return _0x5004=function(_0x5004f0,_0xf1e118){_0x5004f0=_0x5004f0-0xaa;let _0x496824=_0x3da8d0[_0x5004f0];return _0x496824;},_0x5004(_0x4dfe95,_0xdacea);}import{FocusTracker as _0x54aec8,KeystrokeHandler as _0x216be5}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x165141,setupThreadKeyboardNavigation as _0x524ad5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xdb07f9}from'../../utils/common-translations.js';import{renderDescription as _0x5c09d1}from'../../utils/utils.js';export default class us extends _0x4fd9fb{constructor(_0x47b854,_0xb689c1,_0x139ca4,_0x1a1e87){const _0x56b972=_0x5004;super(_0x47b854),this[_0x56b972(0xe3)]=null,this[_0x56b972(0xb8)]=null,this[_0x56b972(0xd5)]=new _0x165141(_0x47b854,_0xdb07f9(_0x47b854,_0x56b972(0xc7))),this[_0x56b972(0xb1)](_0x56b972(0xde),!0x1),this[_0x56b972(0xb1)](_0x56b972(0xae),_0xb689c1[_0x56b972(0xae)]),this[_0x56b972(0xcb)](_0x56b972(0xae))['to'](_0xb689c1),this[_0x56b972(0xb1)](_0x56b972(0xe5),[]),this[_0x56b972(0xb1)](_0x56b972(0xad),!0x1),this[_0x56b972(0xb1)](_0x56b972(0xd9),!0x1),this[_0x56b972(0xb1)](_0x56b972(0xe0),!0x1),this[_0x56b972(0xb1)](_0x56b972(0xac),!0x1),this[_0x56b972(0xcb)](_0x56b972(0xcf))['to'](this,_0x56b972(0xe2),_0xb689c1,_0x56b972(0xae),this,_0x56b972(0xe5),(_0x142a81,_0x26dfb1,_0x9e34bd)=>{const _0x58a911=_0x56b972,_0x25a78a=_0x9e34bd[_0x58a911(0xd7)](_0x7cea63=>_0x5c09d1(_0x7cea63[_0x58a911(0xbe)]))[_0x58a911(0xf0)]('.\x20')+'.';return _0xdb07f9(this[_0x58a911(0xc3)],_0x58a911(0xaa),[_0x142a81-0x1,_0xb689c1[_0x58a911(0xb9)][_0x58a911(0xec)],_0x26dfb1?_0x1a1e87[_0x58a911(0xb0)](_0x26dfb1):'',new DOMParser()[_0x58a911(0xaf)](_0x25a78a,_0x58a911(0xbf))[_0x58a911(0xef)][_0x58a911(0xca)]]);}),this[_0x56b972(0xdf)]=new _0x5af37d(),this[_0x56b972(0xab)]=new _0x54aec8(),this[_0x56b972(0xcd)]=new _0x216be5(),this[_0x56b972(0xc0)]=new _0xbc4fdd({'focusables':this[_0x56b972(0xdf)],'focusTracker':this[_0x56b972(0xab)],'keystrokeHandler':this[_0x56b972(0xcd)],'keystrokeHandlerOptions':{'filter':_0x594fef=>_0x594fef[_0x56b972(0xc2)]!==this[_0x56b972(0xe1)]},'actions':{'focusPrevious':_0x56b972(0xe4),'focusNext':_0x56b972(0xba)}}),this[_0x56b972(0xc8)]=_0xb689c1,this[_0x56b972(0xea)]=_0x139ca4,this[_0x56b972(0xe6)]=_0x1a1e87,_0x1a1e87[_0x56b972(0xb5)]?this[_0x56b972(0xb1)](_0x56b972(0xe2),0x1):this[_0x56b972(0xc5)]();}[_0x4db9a2(0xeb)](){const _0x58cf1e=_0x4db9a2;super[_0x58cf1e(0xeb)](),_0x524ad5(this,this[_0x58cf1e(0xdf)]);}[_0x4db9a2(0xc9)](){const _0x33674c=_0x4db9a2;this[_0x33674c(0xe1)][_0x33674c(0xc9)]();}[_0x4db9a2(0xdb)](){const _0x28aabd=_0x4db9a2;this[_0x28aabd(0xe3)]&&this[_0x28aabd(0xe3)][_0x28aabd(0xdb)](),this[_0x28aabd(0xb8)]&&this[_0x28aabd(0xb8)][_0x28aabd(0xdb)](),super[_0x28aabd(0xdb)]();}[_0x4db9a2(0xc5)](){const _0x118825=_0x4db9a2,{CommentsListView:_0x218646}=this[_0x118825(0xe6)];this[_0x118825(0xe3)]=new _0x218646(this[_0x118825(0xc3)],this[_0x118825(0xc8)][_0x118825(0xd3)],Object[_0x118825(0xce)]({'CommentView':this[_0x118825(0xe6)][_0x118825(0xc1)]},this[_0x118825(0xe6)])),this[_0x118825(0xe3)][_0x118825(0xd6)](_0x118825(0xdc))['to'](this),this[_0x118825(0xe3)][_0x118825(0xd6)](_0x118825(0xd4))['to'](this),this[_0x118825(0xe3)][_0x118825(0xcb)](_0x118825(0xde))['to'](this),this[_0x118825(0xb1)](_0x118825(0xe2),this[_0x118825(0xe3)][_0x118825(0xe2)]+0x1),this[_0x118825(0xcb)](_0x118825(0xe2))['to'](this[_0x118825(0xe3)],_0x118825(0xe2),_0x35952a=>_0x35952a+0x1),this[_0x118825(0xb8)]=this[_0x118825(0xc6)](),this['on'](_0x118825(0xdc),()=>this[_0x118825(0xc9)]()),this[_0x118825(0xcb)](_0x118825(0xad))['to'](this[_0x118825(0xe3)],_0x118825(0xed),this[_0x118825(0xb8)][_0x118825(0xe7)],_0x118825(0xcc),(_0x1713fb,_0x1964a3)=>_0x1713fb||!!_0x1964a3);}[_0x4db9a2(0xc6)](){const _0x1e3f6b=_0x4db9a2,{CommentThreadInputView:_0xf39699}=this[_0x1e3f6b(0xe6)],_0x42f9d0=new _0xf39699(this[_0x1e3f6b(0xc3)],this[_0x1e3f6b(0xea)],this[_0x1e3f6b(0xe6)][_0x1e3f6b(0xd2)]),_0xf216c4=_0x42f9d0[_0x1e3f6b(0xe7)];return _0x42f9d0[_0x1e3f6b(0xcb)](_0x1e3f6b(0xe9))['to'](this,_0x1e3f6b(0xde),this[_0x1e3f6b(0xc8)][_0x1e3f6b(0xd3)],_0x1e3f6b(0xb3),_0xf216c4,_0x1e3f6b(0xcc),(_0x4d8b3c,_0x15153f,_0x5b9716)=>!!_0x5b9716||_0x4d8b3c&&!_0x15153f),_0xf216c4['on'](_0x1e3f6b(0xb2),(_0x25e894,_0x6f5860)=>{const _0x5617f1=_0x1e3f6b;this[_0x5617f1(0xb6)](_0x5617f1(0xd1),_0x6f5860),_0xf216c4[_0x5617f1(0xe8)][_0x5617f1(0xbd)]('');}),_0xf216c4['on'](_0x1e3f6b(0xb7),()=>this[_0x1e3f6b(0xc9)]()),_0xf216c4[_0x1e3f6b(0xcb)](_0x1e3f6b(0xb4))['to'](this[_0x1e3f6b(0xc8)][_0x1e3f6b(0xd3)],_0x1e3f6b(0xb3)),_0x42f9d0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28453f=_0x5f2e;(function(_0x82caf6,_0x44eea3){const _0x44ad87=_0x5f2e,_0x3367b7=_0x82caf6();while(!![]){try{const _0x2dc0fd=-parseInt(_0x44ad87(0x19c))/0x1+-parseInt(_0x44ad87(0x16a))/0x2*(-parseInt(_0x44ad87(0x17a))/0x3)+-parseInt(_0x44ad87(0x196))/0x4+parseInt(_0x44ad87(0x176))/0x5+parseInt(_0x44ad87(0x18d))/0x6+parseInt(_0x44ad87(0x170))/0x7+parseInt(_0x44ad87(0x192))/0x8;if(_0x2dc0fd===_0x44eea3)break;else _0x3367b7['push'](_0x3367b7['shift']());}catch(_0x441a89){_0x3367b7['push'](_0x3367b7['shift']());}}}(_0x2b07,0xc3f00));function _0x5f2e(_0x176700,_0x101baa){const _0x2b07cd=_0x2b07();return _0x5f2e=function(_0x5f2ef9,_0x258aac){_0x5f2ef9=_0x5f2ef9-0x16a;let _0x304dec=_0x2b07cd[_0x5f2ef9];return _0x304dec;},_0x5f2e(_0x176700,_0x101baa);}import{default as _0x198ff6}from'./basesuggestionthreadview.js';import{trimHtml as _0x348670}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x136b32}from'../../utils/utils.js';export default class re extends _0x198ff6{constructor(_0x40bfa6,_0x16ad09,_0x35c2e6,_0x4abba4){const _0x2f48ef=_0x5f2e;super(_0x40bfa6,_0x16ad09,_0x35c2e6,_0x4abba4),this[_0x2f48ef(0x180)](_0x2f48ef(0x16c),''),this[_0x2f48ef(0x17e)](_0x2f48ef(0x16c))['to'](this,_0x2f48ef(0x187),_0x459bea=>_0x459bea&&_0x459bea[0x0]?_0x459bea[0x0][_0x2f48ef(0x16c)]:''),this[_0x2f48ef(0x17e)](_0x2f48ef(0x197))['to'](this,_0x2f48ef(0x187),this,_0x2f48ef(0x188),(_0x57ac12,_0x61d662)=>{const _0x571723=_0x2f48ef;let _0x2659d9='';for(const _0x34f43a of _0x57ac12)_0x2659d9+=_0x571723(0x171)+_0x136b32(_0x34f43a[_0x571723(0x179)],_0x34f43a[_0x571723(0x19d)])+_0x571723(0x17b);return _0x61d662?_0x2659d9:_0x348670(_0x2659d9,{'limit':0x8c});}),this[_0x2f48ef(0x185)]=null,this[_0x2f48ef(0x173)]=new _0x4abba4[(_0x2f48ef(0x191))](_0x40bfa6,_0x16ad09,{'formatDateTime':_0x4abba4[_0x2f48ef(0x19a)]}),this[_0x2f48ef(0x173)][_0x2f48ef(0x17e)](_0x2f48ef(0x197))['to'](this),this[_0x2f48ef(0x173)][_0x2f48ef(0x172)](_0x2f48ef(0x193),_0x2f48ef(0x18b))['to'](this),this[_0x2f48ef(0x173)][_0x2f48ef(0x17c)][_0x2f48ef(0x17e)](_0x2f48ef(0x174))['to'](this,_0x2f48ef(0x181)),this[_0x2f48ef(0x173)][_0x2f48ef(0x195)][_0x2f48ef(0x17e)](_0x2f48ef(0x174))['to'](this,_0x2f48ef(0x1a0)),this[_0x2f48ef(0x18f)][_0x2f48ef(0x189)](this[_0x2f48ef(0x173)]),this[_0x2f48ef(0x178)]&&this[_0x2f48ef(0x18f)][_0x2f48ef(0x189)](this[_0x2f48ef(0x178)]),this[_0x2f48ef(0x194)]&&this[_0x2f48ef(0x18f)][_0x2f48ef(0x189)](this[_0x2f48ef(0x194)]),this[_0x2f48ef(0x199)](this[_0x2f48ef(0x19b)]());}[_0x28453f(0x19b)](){const _0x53ddb1=_0x28453f,_0x2977da=this[_0x53ddb1(0x18e)],_0x4de72d=[this[_0x53ddb1(0x173)]];return this[_0x53ddb1(0x178)]&&_0x4de72d[_0x53ddb1(0x186)](this[_0x53ddb1(0x178)]),this[_0x53ddb1(0x194)]&&_0x4de72d[_0x53ddb1(0x186)](this[_0x53ddb1(0x194)]),_0x4de72d[_0x53ddb1(0x186)](this[_0x53ddb1(0x183)]),{'tag':_0x53ddb1(0x16f),'attributes':{'class':['ck',_0x53ddb1(0x16d),_0x53ddb1(0x19e),_0x2977da['if'](_0x53ddb1(0x188),_0x53ddb1(0x16b)),_0x2977da['to'](_0x53ddb1(0x16c),_0x1af6ed=>_0x53ddb1(0x17d)+_0x1af6ed),this[_0x53ddb1(0x19f)][_0x53ddb1(0x18c)]&&_0x53ddb1(0x198)],'data-suggestion-id':this[_0x53ddb1(0x182)]['id'],'data-thread-id':this[_0x53ddb1(0x182)][_0x53ddb1(0x17f)]['id'],'data-author-id':this[_0x53ddb1(0x182)][_0x53ddb1(0x18a)]['id'],'tabindex':0x0,'role':_0x53ddb1(0x177),'aria-label':_0x2977da['to'](_0x53ddb1(0x175)),'aria-describedby':this[_0x53ddb1(0x183)]['id']},'children':_0x4de72d};}[_0x28453f(0x190)](){const _0x1ebb88=_0x28453f;super[_0x1ebb88(0x190)](),this[_0x1ebb88(0x178)]&&(this[_0x1ebb88(0x178)][_0x1ebb88(0x172)](_0x1ebb88(0x16e))['to'](this),this[_0x1ebb88(0x178)][_0x1ebb88(0x172)](_0x1ebb88(0x184))['to'](this)),this[_0x1ebb88(0x194)]&&(this[_0x1ebb88(0x194)][_0x1ebb88(0x172)](_0x1ebb88(0x16e))['to'](this),this[_0x1ebb88(0x194)][_0x1ebb88(0x172)](_0x1ebb88(0x184))['to'](this));}}function _0x2b07(){const _0x13903f=['disableComments','2333790DeqfRu','bindTemplate','focusables','render','SuggestionView','6392328stbVDn','acceptSuggestion','commentThreadInputView','discardButton','4349028sAaLgn','description','ck-suggestion--disabled-comments','setTemplate','formatDateTime','getTemplate','937365nVVPcW','color','ck-suggestion-wrapper','_config','canDiscard','2fRveUh','ck-suggestion-wrapper--active','type','ck-rounded-corners','editorReady','div','5091723JpIcAq','<p>','delegate','suggestionView','isEnabled','ariaLabel','1066150EXqSCJ','listitem','commentsListView','content','2095671AjLlVs','</p>','acceptButton','ck-suggestion-','bind','commentThread','set','canAccept','_model','ariaDescriptionView','editorDestroyed','_descriptionElement','push','descriptionParts','isActive','add','author','discardSuggestion'];_0x2b07=function(){return _0x13903f;};return _0x2b07();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40a7b7=_0x5e50;function _0xfc66(){const _0x36810b=['1627432ehKTpS','5233456FWUtvO','listenTo','ck-suggestion__actions','_model','shift+tab','innerHTML','ck-annotation__main','extendTemplate','push','ck-suggestion__user','ck-suggestion','getExternalSuggestionNote','render','getUserViewNotificationText','fire','focusCycler','presentation','discardButton','locale','_setupKeyboardNavigation','bindTemplate','description','15AzzYju','30350vNATUA','attributes','author','ck-annotation__content-wrapper','_config','ck-comment__info-time','.ck-annotation__content-wrapper','formatDateTime','focusFirst','16236kJVKTr','change:description','Discard\x20suggestion','focusables','esc','acceptButton','1842972gDORyT','importWord','89FJvxBR','userView','check','ck-suggestion--discard','ck-annotation__user','46822325ylnaCy','div','element','enter','authoredAt','source','ck-suggestion--accept','3584XLkxEl','Accept\x20suggestion','ck-annotation__info-time','target','EXTERNAL_IMPORT_WORD_SUGGESTION','7015880VnoCcu','EXTERNAL_AVATAR','add','ck-comment__external','cancel','focusTracker','name','ck-annotation__info','@external','time','ck-annotation__actions','setTemplate','ck-annotation','execute','EXTERNAL_IMPORT_WORD_AVATAR','9ZHsOHH','discardSuggestion','EXTERNAL_SUGGESTION','isExternal','tab','set','getTemplate','querySelector','ck-annotation__info-name','acceptSuggestion','keystrokes','span','_createButton','ck-suggestion__info','focus','creator','bind','ck-suggestion__main','ck-suggestion__info-name'];_0xfc66=function(){return _0x36810b;};return _0xfc66();}(function(_0x2a9fa4,_0x1180f3){const _0x1c6a03=_0x5e50,_0x1215f9=_0x2a9fa4();while(!![]){try{const _0x266e6f=-parseInt(_0x1c6a03(0xfa))/0x1*(parseInt(_0x1c6a03(0xe9))/0x2)+parseInt(_0x1c6a03(0xf8))/0x3+-parseInt(_0x1c6a03(0x12d))/0x4*(parseInt(_0x1c6a03(0xe8))/0x5)+parseInt(_0x1c6a03(0xf2))/0x6*(-parseInt(_0x1c6a03(0x106))/0x7)+parseInt(_0x1c6a03(0xd2))/0x8+-parseInt(_0x1c6a03(0x11a))/0x9*(parseInt(_0x1c6a03(0x10b))/0xa)+parseInt(_0x1c6a03(0xff))/0xb;if(_0x266e6f===_0x1180f3)break;else _0x1215f9['push'](_0x1215f9['shift']());}catch(_0x216758){_0x1215f9['push'](_0x1215f9['shift']());}}}(_0xfc66,0xd3a38));import{FocusTracker as _0x3732af,KeystrokeHandler as _0x36385a}from'ckeditor5/src/utils.js';import{View as _0x59204a,ViewCollection as _0x4e0899,FocusCycler as _0x59be7b}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xc368d7,UserView as _0x1a1fae}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x1e9fd9}from'ckeditor5/src/core.js';function _0x5e50(_0x4857d5,_0x1d40b2){const _0xfc666b=_0xfc66();return _0x5e50=function(_0x5e50cf,_0x272f93){_0x5e50cf=_0x5e50cf-0xd2;let _0x570579=_0xfc666b[_0x5e50cf];return _0x570579;},_0x5e50(_0x4857d5,_0x1d40b2);}import{getTranslation as _0x5b1058}from'../../utils/common-translations.js';export default class ce extends _0x59204a{constructor(_0x556e8d,_0x69ab91,_0x4e68b7){const _0x150913=_0x5e50;super(_0x556e8d),this[_0x150913(0xd5)]=_0x69ab91,this[_0x150913(0xed)]=_0x4e68b7,this[_0x150913(0x11f)](_0x150913(0xe7),''),this[_0x150913(0x12a)](_0x150913(0x103))['to'](_0x69ab91),this[_0x150913(0xf7)]=this[_0x150913(0x126)](_0x5b1058(_0x556e8d,_0x150913(0x107)),_0x1e9fd9[_0x150913(0xfc)],_0x150913(0x105),_0x150913(0x123),'sw'),this[_0x150913(0xe3)]=this[_0x150913(0x126)](_0x5b1058(_0x556e8d,_0x150913(0xf4)),_0x1e9fd9[_0x150913(0x10f)],_0x150913(0xfd),_0x150913(0x11b),'sw'),this[_0x150913(0xfb)]=new _0x1a1fae(_0x556e8d,_0x69ab91[_0x150913(0xeb)],this[_0x150913(0xdf)]()),this[_0x150913(0xfb)][_0x150913(0xd9)]({'attributes':{'class':[_0x150913(0xdb),_0x150913(0xfe)],'aria-hidden':!0x0}}),this[_0x150913(0xf5)]=new _0x4e0899([this[_0x150913(0xf7)],this[_0x150913(0xe3)]]),this[_0x150913(0x110)]=new _0x3732af(),this[_0x150913(0x124)]=new _0x36385a(),this[_0x150913(0xe1)]=new _0x59be7b({'focusables':this[_0x150913(0xf5)],'focusTracker':this[_0x150913(0x110)],'keystrokeHandler':this[_0x150913(0x124)],'actions':{'focusPrevious':_0x150913(0xd6),'focusNext':_0x150913(0x11e)},'keystrokeHandlerOptions':{'filter':_0x35cb51=>_0x35cb51[_0x150913(0x109)]!==this[_0x150913(0x101)]}}),this[_0x150913(0x116)](this[_0x150913(0x120)]());}[_0x40a7b7(0xde)](){const _0x13841e=_0x40a7b7;super[_0x13841e(0xde)]();const _0x1d1f09=this[_0x13841e(0x101)][_0x13841e(0x121)](_0x13841e(0xef));_0x1d1f09[_0x13841e(0xd7)]=this[_0x13841e(0xe7)],this['on'](_0x13841e(0xf3),(_0x133eea,_0x1666a9,_0xddad5f)=>{const _0x545f11=_0x13841e;_0x1d1f09[_0x545f11(0xd7)]=_0xddad5f;}),this[_0x13841e(0xe5)]();}[_0x40a7b7(0x120)](){const _0x3c21b1=_0x40a7b7,_0x57a20b=this[_0x3c21b1(0xe6)],_0x41d609=[{'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0x127),_0x3c21b1(0x112)]},'children':[{'tag':_0x3c21b1(0x125),'children':[{'text':this[_0x3c21b1(0xfb)][_0x3c21b1(0x111)]}],'attributes':{'class':[_0x3c21b1(0x12c),_0x3c21b1(0x122)]}},{'tag':_0x3c21b1(0x114),'attributes':{'datetime':_0x57a20b['to'](_0x3c21b1(0x103)),'class':[_0x3c21b1(0xee),_0x3c21b1(0x108)]},'children':[{'text':_0x57a20b['to'](_0x3c21b1(0x103),_0x512182=>this[_0x3c21b1(0xed)][_0x3c21b1(0xf0)](_0x512182))}]}]},{'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0xd4),_0x3c21b1(0x115)]},'children':[this[_0x3c21b1(0xf7)],this[_0x3c21b1(0xe3)]]},{'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0xec)]}}];return this[_0x3c21b1(0xd5)][_0x3c21b1(0x11d)]&&_0x41d609[_0x3c21b1(0xda)]({'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0x10e)]},'children':[{'text':this[_0x3c21b1(0xdd)]()}]}),{'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0xdc),_0x3c21b1(0x117)],'tabindex':-0x1},'children':[this[_0x3c21b1(0xfb)],{'tag':_0x3c21b1(0x100),'attributes':{'class':[_0x3c21b1(0x12b),_0x3c21b1(0xd8)],'role':_0x3c21b1(0xe2)},'children':_0x41d609}]};}[_0x40a7b7(0x128)](){const _0x3f6953=_0x40a7b7;this[_0x3f6953(0x101)][_0x3f6953(0x128)]();}[_0x40a7b7(0xdf)](){const _0x144846=_0x40a7b7;return this[_0x144846(0xd5)][_0x144846(0x11d)]?_0x144846(0xf9)===this[_0x144846(0xd5)][_0x144846(0xea)][_0x144846(0x113)][_0x144846(0x104)]?_0x5b1058(this[_0x144846(0xe4)],_0x144846(0x119),this[_0x144846(0xd5)][_0x144846(0x129)][_0x144846(0x111)]):_0x5b1058(this[_0x144846(0xe4)],_0x144846(0x10c),this[_0x144846(0xd5)][_0x144846(0x129)][_0x144846(0x111)]):null;}[_0x40a7b7(0xdd)](){const _0x51cc6e=_0x40a7b7;return _0x51cc6e(0xf9)===this[_0x51cc6e(0xd5)][_0x51cc6e(0xea)][_0x51cc6e(0x113)][_0x51cc6e(0x104)]?_0x5b1058(this[_0x51cc6e(0xe4)],_0x51cc6e(0x10a)):_0x5b1058(this[_0x51cc6e(0xe4)],_0x51cc6e(0x11c));}[_0x40a7b7(0x126)](_0x495432,_0x48c6dd,_0x8eb4e,_0x497a68,_0x112a1d){const _0x9d5cd9=_0x40a7b7,_0x50ee61=new _0xc368d7(this[_0x9d5cd9(0xe4)]);return _0x50ee61[_0x9d5cd9(0x11f)]({'label':_0x495432,'icon':_0x48c6dd,'tooltip':!0x0,'tooltipPosition':_0x112a1d}),_0x50ee61[_0x9d5cd9(0xd9)]({'attributes':{'class':_0x8eb4e}}),_0x50ee61['on'](_0x9d5cd9(0x118),()=>{const _0x58505f=_0x9d5cd9;this[_0x58505f(0xe0)](_0x497a68,this[_0x58505f(0xd5)]['id']);}),_0x50ee61;}[_0x40a7b7(0xe5)](){const _0xa47965=_0x40a7b7,_0xae1a2d=this[_0xa47965(0x101)];this[_0xa47965(0x124)][_0xa47965(0xd3)](_0xae1a2d);for(const _0x3bc9dd of this[_0xa47965(0xf5)])this[_0xa47965(0x110)][_0xa47965(0x10d)](_0x3bc9dd[_0xa47965(0x101)]),this[_0xa47965(0x124)][_0xa47965(0xd3)](_0x3bc9dd[_0xa47965(0x101)]);this[_0xa47965(0x124)][_0xa47965(0x11f)](_0xa47965(0x102),(_0x541293,_0x261f06)=>{const _0x17478c=_0xa47965;_0xae1a2d===_0x541293[_0x17478c(0x109)]&&(this[_0x17478c(0xe1)][_0x17478c(0xf1)](),_0x261f06());}),this[_0xa47965(0x124)][_0xa47965(0x11f)](_0xa47965(0xf6),(_0x8a6bcb,_0x26072b)=>{const _0x47a07b=_0xa47965;_0xae1a2d!==_0x8a6bcb[_0x47a07b(0x109)]&&(this[_0x47a07b(0x128)](),_0x26072b());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x14603e,_0x5cdf08,_0x3460c3){const t=_0x14603e['t'];switch(_0x5cdf08){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',_0x3460c3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3460c3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3460c3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3460c3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3460c3);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',_0x3460c3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3460c3);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',_0x3460c3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3460c3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3460c3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3460c3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3460c3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3460c3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3460c3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3460c3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3460c3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3460c3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3460c3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3460c3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3460c3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3460c3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3460c3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3460c3);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'},_0x3460c3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3460c3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3460c3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3460c3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3460c3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3460c3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3460c3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3460c3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3460c3);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'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3460c3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3460c3);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x3460c3);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'},_0x3460c3);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'},_0x3460c3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3460c3);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x3460c3);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x3460c3);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x3460c3);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5cdf08;}}
|
|
23
|
+
export function getTranslation(_0x1bdf78,_0x3a916a,_0x525d66){const t=_0x1bdf78['t'];switch(_0x3a916a){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',_0x525d66);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x525d66);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x525d66);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x525d66);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x525d66);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',_0x525d66);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x525d66);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',_0x525d66);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x525d66);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x525d66);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x525d66);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x525d66);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x525d66);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x525d66);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x525d66);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x525d66);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x525d66);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x525d66);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x525d66);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x525d66);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x525d66);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x525d66);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x525d66);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'},_0x525d66);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x525d66);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x525d66);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x525d66);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x525d66);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x525d66);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'},_0x525d66);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x525d66);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x525d66);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x525d66);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x525d66);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'},_0x525d66);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x525d66);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'},_0x525d66);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'},_0x525d66);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x525d66);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'},_0x525d66);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x525d66);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'},_0x525d66);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x525d66);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x525d66);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x525d66);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'},_0x525d66);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'},_0x525d66);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x525d66);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x525d66);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x525d66);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x525d66);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3a916a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x466c80,_0xa933a7){const _0x44e0a3=_0x3e61,_0x1d5acb=_0x466c80();while(!![]){try{const _0x290574=parseInt(_0x44e0a3(0xaf))/0x1*(-parseInt(_0x44e0a3(0xc6))/0x2)+-parseInt(_0x44e0a3(0xc5))/0x3+parseInt(_0x44e0a3(0xc0))/0x4*(-parseInt(_0x44e0a3(0xd4))/0x5)+parseInt(_0x44e0a3(0xcb))/0x6*(parseInt(_0x44e0a3(0xdf))/0x7)+parseInt(_0x44e0a3(0xdb))/0x8+parseInt(_0x44e0a3(0xd0))/0x9+-parseInt(_0x44e0a3(0xbe))/0xa*(-parseInt(_0x44e0a3(0xca))/0xb);if(_0x290574===_0xa933a7)break;else _0x1d5acb['push'](_0x1d5acb['shift']());}catch(_0x5d72cd){_0x1d5acb['push'](_0x1d5acb['shift']());}}}(_0x4cd7,0xa34bd));export function normalizeDescription(_0x32890b){const _0x521704=_0x3e61;return Array[_0x521704(0xc3)](_0x32890b)||(_0x32890b=[_0x32890b]),_0x32890b[_0x521704(0xcc)](_0x3f7d11=>{const _0x243971=_0x521704,_0x38a561=_0x3f7d11[_0x243971(0xba)][_0x243971(0xc4)](/\*/g,''),_0x50838a=_0x3f7d11[_0x243971(0xb4)]?_0x243971(0xb5)+_0x3f7d11[_0x243971(0xb4)][_0x243971(0xc9)]+']':'';return'['+_0x3f7d11[_0x243971(0xc1)]+']\x20'+_0x38a561+_0x50838a;})[_0x521704(0xd6)](';\x20');}export function renderDescription(_0x4cca7f,_0x19a2f0){const _0x1d170c=_0x3e61;let _0xb9226e='';return _0xb9226e+=_0x4cca7f[_0x1d170c(0xd3)]('*')[_0x1d170c(0xcc)]((_0x1032a3,_0x32028d)=>_0x32028d%0x2!=0x0?_0x1d170c(0xe0)+nn(_0x1032a3)+_0x1d170c(0xb9):nn(_0x1032a3))[_0x1d170c(0xd6)](''),_0x19a2f0&&(_0xb9226e+=_0x1d170c(0xe5)+_0x19a2f0[_0x1d170c(0xc9)]+_0x1d170c(0xe1)+_0x19a2f0[_0x1d170c(0xe2)]+_0x1d170c(0xe3)),_0xb9226e;}function nn(_0x45bfb4){const _0x3ddc6d=_0x3e61,_0x1e067c=document[_0x3ddc6d(0xc2)](_0x3ddc6d(0xce));return _0x1e067c[_0x3ddc6d(0xc8)]=_0x45bfb4,_0x1e067c[_0x3ddc6d(0xbc)];}export function sortSuggestions(_0x3ed55e){const _0x2df136=_0x3e61;return _0x3ed55e[_0x2df136(0xda)]((_0x46c1f6,_0x562853)=>_0x2df136(0xd1)==_0x46c1f6[_0x2df136(0xc1)]&&_0x2df136(0xd1)!=_0x562853[_0x2df136(0xc1)]?-0x1:_0x2df136(0xd1)!=_0x46c1f6[_0x2df136(0xc1)]&&_0x2df136(0xd1)==_0x562853[_0x2df136(0xc1)]?0x1:0x0);}export function getSelectedSuggestions(_0x419187,_0xff8f3a){const _0x103215=_0x3e61,_0x250af5=Array[_0x103215(0xdc)](_0x419187[_0x103215(0xd5)]()),_0xfc842c=new Set();for(const _0x330dd2 of _0xff8f3a)if(_0x330dd2[_0x103215(0xb8)]){for(const _0x29ed59 of _0x250af5)for(const _0x49fec0 of _0x330dd2[_0x103215(0xd5)]())(_0x29ed59[_0x103215(0xd9)](_0x49fec0)||_0x419187[_0x103215(0xb6)]&&!_0x330dd2[_0x103215(0xb1)]&&_0x330dd2[_0x103215(0xde)]&&_0x49fec0[_0x103215(0xcf)][_0x103215(0xbf)](_0x29ed59[_0x103215(0xe4)]))&&_0xfc842c[_0x103215(0xdd)](_0x330dd2);}return _0xfc842c;}export function getRangesOfBlockGroups(_0x240246,_0x44689d){const _0x16791f=_0x3e61;let _0x2a98b4,_0x4f5dd4=0x0;const _0x166dce=[],_0x4b62c7=_0x44689d[_0x16791f(0xd2)];for(;_0x4f5dd4<_0x240246[_0x16791f(0xc7)];){const _0x4749dd=_0x240246[_0x4f5dd4],_0x59d731=_0x240246[_0x4f5dd4+0x1];_0x2a98b4||(_0x2a98b4=_0x44689d[_0x16791f(0xcd)](_0x4749dd)),on(_0x44689d,_0x4749dd,_0x59d731)||(_0x166dce[_0x16791f(0xb0)](_0x44689d[_0x16791f(0xb7)](_0x2a98b4,_0x4b62c7[_0x16791f(0xbb)](_0x4749dd)?_0x44689d[_0x16791f(0xbd)](_0x4749dd):_0x44689d[_0x16791f(0xd7)](_0x4749dd,_0x16791f(0xcf)))),_0x2a98b4=null),_0x4f5dd4++;}return _0x166dce;}function on(_0x2514ab,_0x560de9,_0x3d0b9a){const _0x309c10=_0x3e61;if(!_0x3d0b9a)return!0x1;const _0x264b3a=_0x2514ab[_0x309c10(0xbd)](_0x560de9),_0x461436=_0x2514ab[_0x309c10(0xcd)](_0x3d0b9a);return _0x264b3a[_0x309c10(0xbf)](_0x461436);}function _0x3e61(_0x3e5d1b,_0x5094bb){const _0x4cd7a7=_0x4cd7();return _0x3e61=function(_0x3e61da,_0x22c8bf){_0x3e61da=_0x3e61da-0xaf;let _0x46d5ef=_0x4cd7a7[_0x3e61da];return _0x46d5ef;},_0x3e61(_0x3e5d1b,_0x5094bb);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4cd7(){const _0x43c35b=['createPositionBefore','span','end','9435186yHPlGz','deletion','schema','split','5yPwuVH','getRanges','join','createPositionAt','change','isIntersecting','sort','6618248KjLOQb','from','add','next','7WZhkZl','<span\x20class=\x22ck-suggestion-type\x22>','\x22\x20title=\x22','title','\x22></span>','start','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','865231cnDrNj','push','isMultiRange','splice','execute','color','\x20[color\x20','isCollapsed','createRange','isInContent','</span>','content','isObject','innerHTML','createPositionAfter','16510tikYRO','isTouching','1197728KcDMSU','type','createElement','isArray','replace','2072775RUOeLW','2KpRhoy','length','innerText','value','3707xRqmAP','554562DBTGea','map'];_0x4cd7=function(){return _0x43c35b;};return _0x4cd7();}export function executeCommandForSuggestions(_0x59b690,_0x5e7f7e,_0x47eb6c){const _0x1dd31c=_0x3e61;for(;_0x47eb6c[_0x1dd31c(0xc7)];){const _0xe74440=_0x47eb6c[_0x1dd31c(0xb2)](0x0,0x64);_0x59b690[_0x1dd31c(0xd8)](()=>{const _0x5eda54=_0x1dd31c;for(const _0x26f57d of _0xe74440)_0x26f57d[_0x5eda54(0xb8)]&&_0x5e7f7e[_0x5eda54(0xb3)](_0x26f57d['id']);});}}
|