@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20241022.0 → 0.0.0-nightly-20241023.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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
|
-
const _0x1916a1=_0x1e05;(function(_0x23dc68,_0x565198){const _0x983d29=_0x1e05,_0x413174=_0x23dc68();while(!![]){try{const _0x10815=-parseInt(_0x983d29(0xee))/0x1*(-parseInt(_0x983d29(0x11c))/0x2)+parseInt(_0x983d29(0x123))/0x3+parseInt(_0x983d29(0xdf))/0x4+parseInt(_0x983d29(0xef))/0x5+-parseInt(_0x983d29(0x10b))/0x6*(-parseInt(_0x983d29(0x14c))/0x7)+parseInt(_0x983d29(0x135))/0x8+-parseInt(_0x983d29(0x10e))/0x9;if(_0x10815===_0x565198)break;else _0x413174['push'](_0x413174['shift']());}catch(_0x4b49e2){_0x413174['push'](_0x413174['shift']());}}}(_0x4a36,0xf35ee));import{Plugin as _0x230637}from'ckeditor5/src/core.js';import{Collection as _0x4bc868}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1bb9af,createDropdown as _0x3163de,ListSeparatorView as _0x45d8a5,MenuBarMenuView as _0x4322c2,MenuBarMenuListView as _0x4ce90d,MenuBarMenuListItemView as _0x558c50,MenuBarMenuListItemButtonView as _0x4f8586,SplitButtonView as _0x3a206c,ViewModel as _0x2bbd91}from'ckeditor5/src/ui.js';import{Users as _0x59981a,getDateTimeFormatter as _0x47a39c,getAllMarkersDomElementsSorted as _0xc2d195}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x227691 from'./trackchangesediting.js';import _0x23dcb8 from'./ui/suggestioncontroller.js';import _0x887458 from'./ui/view/suggestionthreadview.js';import _0x481db2 from'./ui/view/suggestionview.js';import{getTranslation as _0x3a9103}from'./utils/common-translations.js';import _0x14447c from'../theme/icons/track-changes.svg';function _0x4a36(){const _0x17b1d7=['execute','menuitemcheckbox','lowest','actionView','trackChanges','getDescriptions','menu','filter','createAnnotation','change:previous','Accept\x20all\x20suggestions','SuggestionThreadView','delete','children','acceptButton','toMany','locale','_annotationViews','_suggestionToController','button','isInContent','1483854lkwFNX','comments.maxThreadTotalWeight','getMarkerNames','49602636IVYULj','getJoined','isDirty','addComment','getFirstRange','values','bind','comments','getMarkers','activeMarkers','isPremiumPlugin','Discard\x20all\x20suggestions','listenTo','CommentsUI','15998pIpnxG','registerAnnotation','comments.maxCommentsWhenCollapsed','_handleSuggestionControllerDelayed','suggestionChanged','isOn','TrackChangesEditing','4667403zqfhqa','descriptionFactory','suggestionUnloaded','getRanges','discardAllSuggestions','focus','stopListening','CommentsRepository','pluginName','size','previous','change:activeAnnotations','requires','trackChanges.SuggestionView','getByInnerView','_handleControllerBuffer','EditorAnnotations','comments.editorConfig','11650432nbRrwW','source','add','getAllAdjacentSuggestions','hasSuggestion','fire','push','keys','acceptSelectedSuggestions','isEnabled','editing','getSuggestion','head','acceptAllSuggestions','trackChanges.SuggestionThreadView','set','plugins','isOfficialPlugin','suggestionLoaded','destroy','view','CommentView','commands','21RNBSvn','model','TrackChangesUI','mainView','reduce','_unbindEditors','buttonView','innerView','panelView','menuBar:trackChanges','discardSelectedSuggestions','separator','Discard\x20all\x20selected\x20suggestions','comments.maxCommentCharsWhenCollapsed','menuitem','_createMenuBarMenu','value','_updateController','addSourceCollector','trackChanges.disableComments','Accept\x20all\x20selected\x20suggestions','commandName','unbind','refreshSelectedViews','_initializeController','createAnnotationView','commentThread','createCommentThreadController','type','_viewToController','componentFactory','Track\x20changes','has','remove','editor','activeAnnotations','define','arrowView','descriptionParts','isMultiRange','Annotations','items','_destroyController','1014256wwQtBZ','SuggestionView','suggestionView','clear','switchbutton','_refreshActiveMarkers','_bindAnnotationToEditors','_addUIComponentsToFactory','escape','discardButton','get','config','length','init','commentsListView','85OXAkzX','9103695WLQYqk','some','delegate','from','suggestion-','_disableComments','_createToolbarButton'];_0x4a36=function(){return _0x17b1d7;};return _0x4a36();}export default class d extends _0x230637{static get[_0x1916a1(0x12f)](){const _0x1dbbaa=_0x1916a1;return[_0x227691,_0x59981a,_0x1dbbaa(0x12a),_0x1dbbaa(0xdc),_0x1dbbaa(0x133)];}static get[_0x1916a1(0x12b)](){const _0xaff765=_0x1916a1;return _0xaff765(0x14e);}static get[_0x1916a1(0x146)](){return!0x0;}static get[_0x1916a1(0x118)](){return!0x0;}constructor(_0x11c89b){const _0x4a94bf=_0x1916a1;super(_0x11c89b),this[_0x4a94bf(0x108)]=new Map(),this[_0x4a94bf(0x169)]=new Map(),this[_0x4a94bf(0x107)]=new Map(),this[_0x4a94bf(0x132)]=new Map();const _0x4e112b=this[_0x4a94bf(0x16e)][_0x4a94bf(0xea)];_0x4e112b[_0x4a94bf(0x170)](_0x4a94bf(0x143),_0x887458),_0x4e112b[_0x4a94bf(0x170)](_0x4a94bf(0x130),_0x481db2),_0x4e112b[_0x4a94bf(0x170)](_0x4a94bf(0x15f),!0x1),this[_0x4a94bf(0xf4)]=_0x4e112b[_0x4a94bf(0xe9)](_0x4a94bf(0x15f));}[_0x1916a1(0x11f)](_0x2b2364,_0x57c882){const _0x1c94f9=_0x1916a1;0x0===this[_0x1c94f9(0x132)][_0x1c94f9(0x12c)]&&setTimeout(()=>{const _0x1339b7=_0x1c94f9;for(const [_0x2dac35,_0x250f6e]of this[_0x1339b7(0x132)]){const _0x17438a=this[_0x1339b7(0x108)][_0x1339b7(0x16c)](_0x2dac35);_0x17438a||_0x250f6e?_0x17438a&&_0x250f6e&&this[_0x1339b7(0xde)](_0x2dac35):this[_0x1339b7(0x164)](_0x2dac35);}this[_0x1339b7(0x132)][_0x1339b7(0xe2)](),this[_0x1339b7(0x16e)][_0x1339b7(0x145)][_0x1339b7(0xe9)](_0x1339b7(0x133))[_0x1339b7(0x163)](),this[_0x1339b7(0xe4)]();},0xa),this[_0x1c94f9(0x132)][_0x1c94f9(0x144)](_0x2b2364,_0x57c882);}[_0x1916a1(0xec)](){const _0x1439bd=_0x1916a1,_0x1f3825=this[_0x1439bd(0x16e)],_0x16592b=_0x1f3825[_0x1439bd(0x145)][_0x1439bd(0xe9)](_0x1439bd(0x122)),_0x5a9291=_0x1f3825[_0x1439bd(0x145)][_0x1439bd(0xe9)](_0x1439bd(0xdc)),_0x5576ff=_0x1f3825[_0x1439bd(0x145)][_0x1439bd(0xe9)](_0x1439bd(0x133)),_0x30b32f=_0x1f3825[_0x1439bd(0x145)][_0x1439bd(0xe9)](_0x1439bd(0x12a));this[_0x1439bd(0xe6)](),_0x5576ff[_0x1439bd(0x15e)](()=>{const _0x4f8208=_0x1439bd,_0x993cbc=[];for(const [_0x3ae29d,_0x48b11a]of Array[_0x4f8208(0xf2)](this[_0x4f8208(0x108)])){const _0x5ed8a0=_0x3ae29d[_0x4f8208(0x138)](),_0x56979a=[];for(const _0xab0ac3 of _0x5ed8a0){if(!_0xab0ac3[_0x4f8208(0x10a)])continue;if(_0xab0ac3[_0x4f8208(0xdb)]){_0x56979a[_0x4f8208(0x13b)](..._0xab0ac3[_0x4f8208(0x126)]());continue;}const _0x26f286=_0xab0ac3[_0x4f8208(0x112)]();if(_0x56979a[_0x4f8208(0xeb)]>0x0){const _0x53370f=_0x56979a[0x0][_0x4f8208(0x10f)](_0x26f286);if(_0x53370f){_0x56979a[0x0]=_0x53370f;continue;}}_0x56979a[_0x4f8208(0x13b)](_0x26f286);}_0x993cbc[_0x4f8208(0x13b)]([_0x48b11a[_0x4f8208(0x149)],_0x56979a]);}return _0x993cbc;}),this[_0x1439bd(0x11a)](_0x16592b,_0x1439bd(0x147),(_0x42051e,_0x896c63)=>{const _0xa5c260=_0x1439bd;this[_0xa5c260(0x11a)](_0x896c63,_0xa5c260(0xff),(_0x4d556e,_0x1f102c,_0x274979,_0x5a2ea1)=>{const _0x2ec621=_0xa5c260;_0x896c63[_0x2ec621(0x10a)]&&(null==_0x274979?(this[_0x2ec621(0x15d)](_0x5a2ea1[_0x2ec621(0x141)]),this[_0x2ec621(0x11f)](_0x896c63,!0x1)):(this[_0x2ec621(0x15d)](_0x274979[_0x2ec621(0x141)]),null==_0x5a2ea1&&this[_0x2ec621(0x11f)](_0x896c63,!0x0)));}),null!==_0x896c63[_0xa5c260(0x12d)]?this[_0xa5c260(0x15d)](_0x896c63[_0xa5c260(0x141)]):this[_0xa5c260(0x11f)](_0x896c63,!0x1);}),this[_0x1439bd(0x11a)](_0x16592b,_0x1439bd(0x125),(_0x5956ef,_0x51084d,_0x43c0e8)=>{const _0x3811aa=_0x1439bd;this[_0x3811aa(0x129)](_0x51084d,_0x3811aa(0xff)),this[_0x3811aa(0x132)][_0x3811aa(0x102)](_0x51084d),this[_0x3811aa(0x108)][_0x3811aa(0x16c)](_0x51084d)&&this[_0x3811aa(0xde)](_0x51084d),_0x43c0e8&&this[_0x3811aa(0x15d)](_0x43c0e8[_0x3811aa(0x141)]);}),this[_0x1439bd(0x11a)](_0x16592b,_0x1439bd(0x120),(_0x23b4f1,_0x163237)=>{const _0x85dd48=_0x1439bd;this[_0x85dd48(0x15d)](_0x163237);}),this[_0x1439bd(0x11a)](_0x5a9291,_0x1439bd(0x12e),()=>{const _0x27a8af=_0x1439bd;this[_0x27a8af(0xe4)]();}),this[_0x1439bd(0x11a)](_0x30b32f,_0x1439bd(0x111),(_0x47b27a,{threadId:_0x144e2e,isFromAdapter:_0x2ec21d})=>{const _0x390cca=_0x1439bd;if(_0x2ec21d||!_0x16592b[_0x390cca(0x139)](_0x144e2e))return;const _0x1f02de=_0x16592b[_0x390cca(0x140)](_0x144e2e);this[_0x390cca(0x108)][_0x390cca(0xe9)](_0x1f02de)[_0x390cca(0x149)][_0x390cca(0xed)][_0x390cca(0x128)](-0x1);},{'priority':_0x1439bd(0xf8)});}[_0x1916a1(0xe4)](){const _0x5f1901=_0x1916a1,_0x282762=this[_0x5f1901(0x16e)][_0x5f1901(0x145)][_0x5f1901(0xe9)](_0x5f1901(0xdc)),_0x2abc09=this[_0x5f1901(0x16e)][_0x5f1901(0x145)][_0x5f1901(0xe9)](_0x5f1901(0x122)),_0x1c674e=Array[_0x5f1901(0xf2)](_0x282762[_0x5f1901(0x16f)],_0x1d0d7d=>_0x1d0d7d[_0x5f1901(0x153)])[_0x5f1901(0xfd)](_0x5df635=>this[_0x5f1901(0x169)][_0x5f1901(0x16c)](_0x5df635)),_0x140acc=[];for(const _0x53657e of _0x1c674e){const _0x23269c=this[_0x5f1901(0x169)][_0x5f1901(0xe9)](_0x53657e)[_0x5f1901(0x14d)][_0x5f1901(0x138)]();_0x140acc[_0x5f1901(0x13b)](..._0x23269c[_0x5f1901(0x150)]((_0x4b0427,_0x41023d)=>[..._0x4b0427,..._0x41023d[_0x5f1901(0x10d)]()],[]));}_0x2abc09[_0x5f1901(0x117)]=_0x140acc;}[_0x1916a1(0xe6)](){const _0x424a47=_0x1916a1,_0x4c69f4=this[_0x424a47(0x16e)],_0x3b0540=_0x4c69f4[_0x424a47(0x106)],_0x3f953a=_0x3a9103(_0x3b0540,_0x424a47(0x16b)),_0x462214=new _0x4bc868([{'type':_0x424a47(0xe3),'model':new _0x2bbd91({'withText':!0x0,'isToggleable':!0x0,'label':_0x3f953a,'commandName':_0x424a47(0xfa),'role':_0x424a47(0xf7)})},{'type':_0x424a47(0x157)},{'type':_0x424a47(0x109),'model':new _0x2bbd91({'withText':!0x0,'label':_0x3a9103(_0x3b0540,_0x424a47(0x100)),'commandName':_0x424a47(0x142),'role':_0x424a47(0x15a)})},{'type':_0x424a47(0x109),'model':new _0x2bbd91({'withText':!0x0,'label':_0x3a9103(_0x3b0540,_0x424a47(0x160)),'commandName':_0x424a47(0x13d),'role':_0x424a47(0x15a)})},{'type':_0x424a47(0x109),'model':new _0x2bbd91({'withText':!0x0,'label':_0x3a9103(_0x3b0540,_0x424a47(0x119)),'commandName':_0x424a47(0x127),'role':_0x424a47(0x15a)})},{'type':_0x424a47(0x109),'model':new _0x2bbd91({'withText':!0x0,'label':_0x3a9103(_0x3b0540,_0x424a47(0x158)),'commandName':_0x424a47(0x156),'role':_0x424a47(0x15a)})}]);for(const _0x901333 of _0x462214)if(me(_0x901333)){const _0x278bef=_0x4c69f4[_0x424a47(0x14b)][_0x424a47(0xe9)](_0x901333[_0x424a47(0x14d)][_0x424a47(0x161)]);_0x901333[_0x424a47(0x14d)][_0x424a47(0x114)](_0x424a47(0x121),_0x424a47(0x13e))['to'](_0x278bef,_0x424a47(0x15c),_0x424a47(0x13e));}_0x4c69f4['ui'][_0x424a47(0x16a)][_0x424a47(0x137)](_0x424a47(0xfa),_0x1c3b8e=>this[_0x424a47(0xf5)](_0x1c3b8e,_0x462214,_0x3f953a)),_0x4c69f4['ui'][_0x424a47(0x16a)][_0x424a47(0x137)](_0x424a47(0x155),_0x5402e4=>this[_0x424a47(0x15b)](_0x5402e4,_0x462214,_0x3f953a));}[_0x1916a1(0xf5)](_0xf4b325,_0x4eded5,_0x312386){const _0x4c98b3=_0x1916a1,_0x3f328e=_0x3163de(_0xf4b325,_0x3a206c),_0x211e9f=this[_0x4c98b3(0x16e)][_0x4c98b3(0x14b)][_0x4c98b3(0xe9)](_0x4c98b3(0xfa));_0x3f328e[_0x4c98b3(0x152)][_0x4c98b3(0x144)]({'tooltip':_0x312386,'label':_0x312386,'icon':_0x14447c}),_0x3f328e[_0x4c98b3(0x152)][_0x4c98b3(0x114)](_0x4c98b3(0x121))['to'](_0x211e9f,_0x4c98b3(0x15c)),_0x3f328e[_0x4c98b3(0x152)]['on'](_0x4c98b3(0xf6),()=>{const _0x71361a=_0x4c98b3;_0x211e9f[_0x71361a(0xf6)](),this[_0x71361a(0x16e)][_0x71361a(0x13f)][_0x71361a(0x149)][_0x71361a(0x128)]();}),_0x1bb9af(_0x3f328e,_0x4eded5,{'role':_0x4c98b3(0xfc)});const _0x3c8a6e=[];for(const _0xaeb071 of _0x4eded5)me(_0xaeb071)&&_0x3c8a6e[_0x4c98b3(0x13b)](this[_0x4c98b3(0x16e)][_0x4c98b3(0x14b)][_0x4c98b3(0xe9)](_0xaeb071[_0x4c98b3(0x14d)][_0x4c98b3(0x161)]));const _0xebb3ee=_0x3f328e[_0x4c98b3(0x152)];return _0xebb3ee[_0x4c98b3(0xf9)][_0x4c98b3(0x162)](_0x4c98b3(0x13e)),_0xebb3ee[_0x4c98b3(0x171)][_0x4c98b3(0x162)](_0x4c98b3(0x13e)),_0xebb3ee[_0x4c98b3(0xf9)][_0x4c98b3(0x114)](_0x4c98b3(0x13e))['to'](_0x211e9f,_0x4c98b3(0x13e)),_0xebb3ee[_0x4c98b3(0x171)][_0x4c98b3(0x114)](_0x4c98b3(0x13e))[_0x4c98b3(0x105)](_0x3c8a6e,_0x4c98b3(0x13e),(..._0x42cceb)=>_0x42cceb[_0x4c98b3(0xf0)](_0x50d23b=>_0x50d23b)),_0x3f328e['on'](_0x4c98b3(0xf6),_0x7566a0=>{const _0x3677bf=_0x4c98b3;this[_0x3677bf(0x16e)][_0x3677bf(0xf6)](_0x7566a0[_0x3677bf(0x136)][_0x3677bf(0x161)]),this[_0x3677bf(0x16e)][_0x3677bf(0x13f)][_0x3677bf(0x149)][_0x3677bf(0x128)]();}),_0x3f328e;}[_0x1916a1(0x15b)](_0x1601ec,_0x2e3fe5,_0x9c219c){const _0x423e27=_0x1916a1,_0x2f6a13=new _0x4322c2(_0x1601ec),_0xaa2756=this[_0x423e27(0x16e)][_0x423e27(0x14b)][_0x423e27(0xe9)](_0x423e27(0xfa));_0x2f6a13[_0x423e27(0x152)][_0x423e27(0x144)]({'label':_0x9c219c,'icon':_0x14447c});const _0x188f3c=new _0x4ce90d(_0x1601ec);for(const _0x7f6e9b of _0x2e3fe5){if(_0x423e27(0x157)==_0x7f6e9b[_0x423e27(0x168)]){_0x188f3c[_0x423e27(0xdd)][_0x423e27(0x137)](new _0x45d8a5(_0x1601ec));continue;}const _0x437ee8=new _0x558c50(_0x1601ec,_0x2f6a13),_0x595027=new _0x4f8586(_0x1601ec),_0x563c07=_0x7f6e9b[_0x423e27(0x14d)];_0x595027[_0x423e27(0x114)](...Object[_0x423e27(0x13c)](_0x563c07))['to'](_0x563c07),_0x595027[_0x423e27(0xf1)](_0x423e27(0xf6))['to'](_0x2f6a13),_0x595027['on'](_0x423e27(0xf6),()=>{const _0x178d28=_0x423e27;this[_0x178d28(0x16e)][_0x178d28(0xf6)](_0x563c07[_0x178d28(0x161)]),this[_0x178d28(0x16e)][_0x178d28(0x13f)][_0x178d28(0x149)][_0x178d28(0x128)]();}),_0x437ee8[_0x423e27(0x103)][_0x423e27(0x137)](_0x595027),_0x188f3c[_0x423e27(0xdd)][_0x423e27(0x137)](_0x437ee8);}return _0x2f6a13[_0x423e27(0x114)](_0x423e27(0x13e))['to'](_0xaa2756,_0x423e27(0x13e)),_0x2f6a13[_0x423e27(0x154)][_0x423e27(0x103)][_0x423e27(0x137)](_0x188f3c),_0x2f6a13;}[_0x1916a1(0x164)](_0x4d538c){const _0x339674=_0x1916a1,_0x44ca66=this[_0x339674(0x16e)],_0x48e509=_0x44ca66[_0x339674(0xea)],_0x9e0f9a=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x339674(0xdc)),_0x369e4a=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x339674(0x12a)),_0x5dd339=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x339674(0x133)),_0x8465af=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x59981a)['me'],_0x28e0e0=_0x48e509[_0x339674(0xe9)](_0x339674(0xfa))[_0x339674(0x101)],_0x4c7950=_0x48e509[_0x339674(0xe9)](_0x339674(0xfa))[_0x339674(0xe0)],{CommentsListView:_0x421bbb,CommentThreadInputView:_0x4f085e}=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x339674(0x11b));let _0x18272d,_0x23c947,_0x39c95b;this[_0x339674(0x107)][_0x339674(0x16c)](_0x4d538c['id'])?(_0x23c947=this[_0x339674(0x107)][_0x339674(0xe9)](_0x4d538c['id']),_0x18272d=_0x23c947[_0x339674(0x14f)]):(_0x18272d=new _0x28e0e0(_0x44ca66[_0x339674(0x106)],_0x4d538c,_0x8465af,{'disableComments':this[_0x339674(0xf4)],'editorConfig':_0x48e509[_0x339674(0xe9)](_0x339674(0x134)),'maxCommentsWhenCollapsed':_0x48e509[_0x339674(0xe9)](_0x339674(0x11e)),'maxThreadTotalWeight':_0x48e509[_0x339674(0xe9)](_0x339674(0x10c)),'maxCommentCharsWhenCollapsed':_0x48e509[_0x339674(0xe9)](_0x339674(0x159)),'formatDateTime':_0x47a39c(_0x48e509[_0x339674(0xe9)](_0x339674(0x106))),'CommentView':_0x48e509[_0x339674(0xe9)](_0x339674(0x115))[_0x339674(0x14a)],'CommentsListView':_0x421bbb,'CommentThreadInputView':_0x4f085e,'SuggestionView':_0x4c7950}),_0x18272d[_0x339674(0xe1)][_0x339674(0x104)]['on'](_0x339674(0xf6),()=>{const _0x141ad0=_0x339674;_0x44ca66[_0x141ad0(0x13f)][_0x141ad0(0x149)][_0x141ad0(0x128)]();}),_0x18272d[_0x339674(0xe1)][_0x339674(0xe8)]['on'](_0x339674(0xf6),()=>{const _0x56a04e=_0x339674;_0x44ca66[_0x56a04e(0x13f)][_0x56a04e(0x149)][_0x56a04e(0x128)]();}),_0x23c947=_0x9e0f9a[_0x339674(0x165)](this[_0x339674(0x16e)][_0x339674(0x106)],_0x18272d),_0x23c947[_0x339674(0x114)](_0x339674(0x110))['to'](_0x18272d,_0x339674(0x110)),_0x23c947[_0x339674(0x114)](_0x339674(0xeb))['to'](_0x18272d),_0x23c947[_0x339674(0x114)](_0x339674(0x168))['to'](_0x18272d,_0x339674(0x168),_0x58f4f1=>_0x339674(0xf3)+_0x58f4f1),_0x18272d['on'](_0x339674(0xe7),()=>{const _0x59426e=_0x339674;_0x39c95b[_0x59426e(0x13a)](_0x59426e(0xe7));}),this[_0x339674(0x107)][_0x339674(0x144)](_0x4d538c['id'],_0x23c947));const _0xc26127=_0x369e4a[_0x339674(0x167)](_0x4d538c[_0x339674(0x166)],_0x18272d),_0x5bb8d1=new _0x23dcb8(_0x44ca66,_0x4d538c,_0x18272d,_0xc26127),_0x61f4be=_0x4d538c[_0x339674(0x138)]()[_0x339674(0xfd)](_0x284aad=>_0x284aad[_0x339674(0x10a)]);_0x18272d[_0x339674(0x172)]=_0x44ca66[_0x339674(0x145)][_0x339674(0xe9)](_0x339674(0x122))[_0x339674(0x124)][_0x339674(0xfb)](_0x61f4be),this[_0x339674(0x108)][_0x339674(0x144)](_0x4d538c,_0x5bb8d1),this[_0x339674(0x169)][_0x339674(0x144)](_0x18272d,_0x5bb8d1),_0x39c95b=_0x9e0f9a[_0x339674(0xfe)]({'view':_0x23c947,'target':()=>{const _0x331e92=_0x339674,_0x14a82a=[],_0x2a1298=_0x4d538c[_0x331e92(0x138)]()[_0x331e92(0xfd)](_0x27b116=>_0x27b116[_0x331e92(0x10a)]);for(const _0xd8f2aa of _0x2a1298)_0x14a82a[_0x331e92(0x13b)](..._0xd8f2aa[_0x331e92(0x116)]());return _0xc2d195(_0x44ca66[_0x331e92(0x13f)],_0x14a82a);},'type':()=>_0x339674(0xf3)+_0x5bb8d1[_0x339674(0x149)][_0x339674(0x168)]}),_0x369e4a[_0x339674(0xe5)](_0x18272d,_0x39c95b),_0x9e0f9a[_0x339674(0x137)](_0x39c95b),_0x5dd339[_0x339674(0x11d)](_0x39c95b);}[_0x1916a1(0xde)](_0x2b0956){const _0x3e955d=_0x1916a1,_0x5b33e=this[_0x3e955d(0x16e)][_0x3e955d(0x145)][_0x3e955d(0xe9)](_0x3e955d(0x12a)),_0x80d089=this[_0x3e955d(0x16e)][_0x3e955d(0x145)][_0x3e955d(0xe9)](_0x3e955d(0xdc)),_0x24ccc7=this[_0x3e955d(0x108)][_0x3e955d(0xe9)](_0x2b0956),_0x34a48f=_0x24ccc7[_0x3e955d(0x149)],_0x54b8de=_0x80d089[_0x3e955d(0x131)](_0x34a48f);_0x5b33e[_0x3e955d(0x151)](_0x34a48f),_0x54b8de&&_0x80d089[_0x3e955d(0x16d)](_0x54b8de),this[_0x3e955d(0x108)][_0x3e955d(0x102)](_0x2b0956),this[_0x3e955d(0x169)][_0x3e955d(0x102)](_0x34a48f),_0x24ccc7[_0x3e955d(0x148)]();}[_0x1916a1(0x15d)](_0x4aa9a8){const _0x1a6f5c=_0x1916a1;if(!_0x4aa9a8[_0x1a6f5c(0x10a)]||!this[_0x1a6f5c(0x108)][_0x1a6f5c(0x16c)](_0x4aa9a8))return;const _0x229d5a=this[_0x1a6f5c(0x16e)][_0x1a6f5c(0x145)][_0x1a6f5c(0xe9)](_0x1a6f5c(0x122)),_0xff6fee=this[_0x1a6f5c(0x108)][_0x1a6f5c(0xe9)](_0x4aa9a8),_0x2fec68=_0x4aa9a8[_0x1a6f5c(0x138)]();_0xff6fee[_0x1a6f5c(0x149)][_0x1a6f5c(0x172)]=_0x229d5a[_0x1a6f5c(0x124)][_0x1a6f5c(0xfb)](_0x2fec68);}[_0x1916a1(0x148)](){const _0x1f5037=_0x1916a1;for(const _0x154981 of this[_0x1f5037(0x108)][_0x1f5037(0x13c)]())this[_0x1f5037(0xde)](_0x154981);for(const _0x4db3dc of this[_0x1f5037(0x107)][_0x1f5037(0x113)]())_0x4db3dc[_0x1f5037(0x14f)][_0x1f5037(0x148)]();super[_0x1f5037(0x148)]();}}function _0x1e05(_0x149b21,_0x25fdd0){const _0x4a368d=_0x4a36();return _0x1e05=function(_0x1e05e8,_0x429aec){_0x1e05e8=_0x1e05e8-0xdb;let _0x5ced48=_0x4a368d[_0x1e05e8];return _0x5ced48;},_0x1e05(_0x149b21,_0x25fdd0);}function me(_0x12b92d){const _0x2459f1=_0x1916a1;return _0x2459f1(0x14d)in _0x12b92d;}
|
|
23
|
+
const _0x1e7188=_0x6af9;(function(_0xac3d44,_0x24d768){const _0x28ccd8=_0x6af9,_0x1a7082=_0xac3d44();while(!![]){try{const _0xf01fe3=-parseInt(_0x28ccd8(0x217))/0x1+-parseInt(_0x28ccd8(0x1ea))/0x2*(parseInt(_0x28ccd8(0x22d))/0x3)+parseInt(_0x28ccd8(0x222))/0x4+-parseInt(_0x28ccd8(0x258))/0x5+parseInt(_0x28ccd8(0x1d9))/0x6+parseInt(_0x28ccd8(0x1f8))/0x7*(-parseInt(_0x28ccd8(0x21c))/0x8)+parseInt(_0x28ccd8(0x1d2))/0x9;if(_0xf01fe3===_0x24d768)break;else _0x1a7082['push'](_0x1a7082['shift']());}catch(_0x378b3d){_0x1a7082['push'](_0x1a7082['shift']());}}}(_0x4eea,0x3fb27));import{Plugin as _0x151e9e}from'ckeditor5/src/core.js';import{Collection as _0x552ee1}from'ckeditor5/src/utils.js';function _0x4eea(){const _0x10b1e8=['createCommentThreadController','getByInnerView','SuggestionThreadView','some','unbind','getMarkers','_disableComments','discardButton','requires','141XKfheQ','acceptButton','editing','children','_viewToController','delete','destroy','menuitemcheckbox','isDirty','activeAnnotations','menu','trackChanges','comments.maxThreadTotalWeight','getSuggestion','arrowView','switchbutton','menuBar:trackChanges','_unbindEditors','registerAnnotation','acceptSelectedSuggestions','size','pluginName','from','commentThread','config','type','suggestionView','head','items','createAnnotationView','commentsListView','push','separator','values','SuggestionView','discardAllSuggestions','change:previous','focus','getRanges','suggestion-','commandName','createAnnotation','set','1631215EFNqoP','has','isOn','EditorAnnotations','reduce','_addUIComponentsToFactory','toMany','length','comments','isOfficialPlugin','isEnabled','delegate','_refreshActiveMarkers','previous','addSourceCollector','view','acceptAllSuggestions','innerView','9205929cAxSEJ','_handleSuggestionControllerDelayed','_bindAnnotationToEditors','plugins','getDescriptions','getAllAdjacentSuggestions','commands','1383234KRIeqd','getFirstRange','clear','getJoined','init','TrackChangesEditing','lowest','menuitem','actionView','Accept\x20all\x20selected\x20suggestions','suggestionUnloaded','addComment','button','_annotationViews','componentFactory','discardSelectedSuggestions','refreshSelectedViews','11342NMrLax','isPremiumPlugin','add','buttonView','getMarkerNames','listenTo','Accept\x20all\x20suggestions','keys','isInContent','isMultiRange','Discard\x20all\x20suggestions','comments.maxCommentCharsWhenCollapsed','_initializeController','change:activeAnnotations','174797WWtMFt','suggestionChanged','define','panelView','trackChanges.SuggestionThreadView','CommentsRepository','get','Annotations','comments.maxCommentsWhenCollapsed','trackChanges.disableComments','activeMarkers','_destroyController','escape','descriptionParts','remove','mainView','_suggestionToController','trackChanges.SuggestionView','CommentView','Discard\x20all\x20selected\x20suggestions','editor','fire','source','execute','locale','Track\x20changes','model','_handleControllerBuffer','CommentsUI','_updateController','hasSuggestion','479270fHKMhF','filter','bind','_createToolbarButton','suggestionLoaded','48PhdDPG','stopListening','comments.editorConfig','value','TrackChangesUI','_createMenuBarMenu','917436AfBLqo','descriptionFactory'];_0x4eea=function(){return _0x10b1e8;};return _0x4eea();}import{addListToDropdown as _0x8232c0,createDropdown as _0xac7eb0,ListSeparatorView as _0x4979e9,MenuBarMenuView as _0x2193f0,MenuBarMenuListView as _0x192e96,MenuBarMenuListItemView as _0x5cd5c3,MenuBarMenuListItemButtonView as _0xa184fe,SplitButtonView as _0x1d6673,ViewModel as _0x58d5d7}from'ckeditor5/src/ui.js';import{Users as _0x43d112,getDateTimeFormatter as _0x5a9563,getAllMarkersDomElementsSorted as _0x1bd6de}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x6b832a from'./trackchangesediting.js';import _0x1f7844 from'./ui/suggestioncontroller.js';function _0x6af9(_0x5ddb97,_0x4d89cb){const _0x4eea3f=_0x4eea();return _0x6af9=function(_0x6af93d,_0x71c037){_0x6af93d=_0x6af93d-0x1ce;let _0x35cc1a=_0x4eea3f[_0x6af93d];return _0x35cc1a;},_0x6af9(_0x5ddb97,_0x4d89cb);}import _0x651904 from'./ui/view/suggestionthreadview.js';import _0x4d9c4d from'./ui/view/suggestionview.js';import{getTranslation as _0x3f39c1}from'./utils/common-translations.js';import _0x18bf73 from'../theme/icons/track-changes.svg';export default class d extends _0x151e9e{static get[_0x1e7188(0x22c)](){const _0x15289b=_0x1e7188;return[_0x6b832a,_0x43d112,_0x15289b(0x1fd),_0x15289b(0x1ff),_0x15289b(0x25b)];}static get[_0x1e7188(0x242)](){const _0x312862=_0x1e7188;return _0x312862(0x220);}static get[_0x1e7188(0x261)](){return!0x0;}static get[_0x1e7188(0x1eb)](){return!0x0;}constructor(_0x4f92d0){const _0x39e8dd=_0x1e7188;super(_0x4f92d0),this[_0x39e8dd(0x208)]=new Map(),this[_0x39e8dd(0x231)]=new Map(),this[_0x39e8dd(0x1e6)]=new Map(),this[_0x39e8dd(0x213)]=new Map();const _0xe865e8=this[_0x39e8dd(0x20c)][_0x39e8dd(0x245)];_0xe865e8[_0x39e8dd(0x1fa)](_0x39e8dd(0x1fc),_0x651904),_0xe865e8[_0x39e8dd(0x1fa)](_0x39e8dd(0x209),_0x4d9c4d),_0xe865e8[_0x39e8dd(0x1fa)](_0x39e8dd(0x201),!0x1),this[_0x39e8dd(0x22a)]=_0xe865e8[_0x39e8dd(0x1fe)](_0x39e8dd(0x201));}[_0x1e7188(0x1d3)](_0x4982af,_0x5a86e7){const _0x3ebbb9=_0x1e7188;0x0===this[_0x3ebbb9(0x213)][_0x3ebbb9(0x241)]&&setTimeout(()=>{const _0x423a71=_0x3ebbb9;for(const [_0x3d0e98,_0x15c058]of this[_0x423a71(0x213)]){const _0x8c58b=this[_0x423a71(0x208)][_0x423a71(0x259)](_0x3d0e98);_0x8c58b||_0x15c058?_0x8c58b&&_0x15c058&&this[_0x423a71(0x203)](_0x3d0e98):this[_0x423a71(0x1f6)](_0x3d0e98);}this[_0x423a71(0x213)][_0x423a71(0x1db)](),this[_0x423a71(0x20c)][_0x423a71(0x1d5)][_0x423a71(0x1fe)](_0x423a71(0x25b))[_0x423a71(0x1e9)](),this[_0x423a71(0x264)]();},0xa),this[_0x3ebbb9(0x213)][_0x3ebbb9(0x257)](_0x4982af,_0x5a86e7);}[_0x1e7188(0x1dd)](){const _0x346526=_0x1e7188,_0x3c9020=this[_0x346526(0x20c)],_0xf705c6=_0x3c9020[_0x346526(0x1d5)][_0x346526(0x1fe)](_0x346526(0x1de)),_0x53f598=_0x3c9020[_0x346526(0x1d5)][_0x346526(0x1fe)](_0x346526(0x1ff)),_0x1362ea=_0x3c9020[_0x346526(0x1d5)][_0x346526(0x1fe)](_0x346526(0x25b)),_0x2aff7a=_0x3c9020[_0x346526(0x1d5)][_0x346526(0x1fe)](_0x346526(0x1fd));this[_0x346526(0x25d)](),_0x1362ea[_0x346526(0x1ce)](()=>{const _0x32f01d=_0x346526,_0x420fb1=[];for(const [_0x1e43fb,_0x559020]of Array[_0x32f01d(0x243)](this[_0x32f01d(0x208)])){const _0x2eccd4=_0x1e43fb[_0x32f01d(0x1d7)](),_0x48d932=[];for(const _0x41fb20 of _0x2eccd4){if(!_0x41fb20[_0x32f01d(0x1f2)])continue;if(_0x41fb20[_0x32f01d(0x1f3)]){_0x48d932[_0x32f01d(0x24c)](..._0x41fb20[_0x32f01d(0x253)]());continue;}const _0x134cfb=_0x41fb20[_0x32f01d(0x1da)]();if(_0x48d932[_0x32f01d(0x25f)]>0x0){const _0x31a5d8=_0x48d932[0x0][_0x32f01d(0x1dc)](_0x134cfb);if(_0x31a5d8){_0x48d932[0x0]=_0x31a5d8;continue;}}_0x48d932[_0x32f01d(0x24c)](_0x134cfb);}_0x420fb1[_0x32f01d(0x24c)]([_0x559020[_0x32f01d(0x1cf)],_0x48d932]);}return _0x420fb1;}),this[_0x346526(0x1ef)](_0xf705c6,_0x346526(0x21b),(_0xb86d0,_0x5211b4)=>{const _0x2af389=_0x346526;this[_0x2af389(0x1ef)](_0x5211b4,_0x2af389(0x251),(_0x525d08,_0x40e090,_0x3f6c92,_0x94251d)=>{const _0x51917b=_0x2af389;_0x5211b4[_0x51917b(0x1f2)]&&(null==_0x3f6c92?(this[_0x51917b(0x215)](_0x94251d[_0x51917b(0x248)]),this[_0x51917b(0x1d3)](_0x5211b4,!0x1)):(this[_0x51917b(0x215)](_0x3f6c92[_0x51917b(0x248)]),null==_0x94251d&&this[_0x51917b(0x1d3)](_0x5211b4,!0x0)));}),null!==_0x5211b4[_0x2af389(0x265)]?this[_0x2af389(0x215)](_0x5211b4[_0x2af389(0x248)]):this[_0x2af389(0x1d3)](_0x5211b4,!0x1);}),this[_0x346526(0x1ef)](_0xf705c6,_0x346526(0x1e3),(_0x4bbd20,_0x328590,_0x5f3a64)=>{const _0x2829b4=_0x346526;this[_0x2829b4(0x21d)](_0x328590,_0x2829b4(0x251)),this[_0x2829b4(0x213)][_0x2829b4(0x232)](_0x328590),this[_0x2829b4(0x208)][_0x2829b4(0x259)](_0x328590)&&this[_0x2829b4(0x203)](_0x328590),_0x5f3a64&&this[_0x2829b4(0x215)](_0x5f3a64[_0x2829b4(0x248)]);}),this[_0x346526(0x1ef)](_0xf705c6,_0x346526(0x1f9),(_0x363dbb,_0x591608)=>{const _0x1e85f8=_0x346526;this[_0x1e85f8(0x215)](_0x591608);}),this[_0x346526(0x1ef)](_0x53f598,_0x346526(0x1f7),()=>{const _0x25ee90=_0x346526;this[_0x25ee90(0x264)]();}),this[_0x346526(0x1ef)](_0x2aff7a,_0x346526(0x1e4),(_0x42132f,{threadId:_0xe01c72,isFromAdapter:_0x3640fd})=>{const _0x22d514=_0x346526;if(_0x3640fd||!_0xf705c6[_0x22d514(0x216)](_0xe01c72))return;const _0x21adb6=_0xf705c6[_0x22d514(0x23a)](_0xe01c72);this[_0x22d514(0x208)][_0x22d514(0x1fe)](_0x21adb6)[_0x22d514(0x1cf)][_0x22d514(0x24b)][_0x22d514(0x252)](-0x1);},{'priority':_0x346526(0x1df)});}[_0x1e7188(0x264)](){const _0x57a4f0=_0x1e7188,_0x2a2420=this[_0x57a4f0(0x20c)][_0x57a4f0(0x1d5)][_0x57a4f0(0x1fe)](_0x57a4f0(0x1ff)),_0x9644a0=this[_0x57a4f0(0x20c)][_0x57a4f0(0x1d5)][_0x57a4f0(0x1fe)](_0x57a4f0(0x1de)),_0x5649a9=Array[_0x57a4f0(0x243)](_0x2a2420[_0x57a4f0(0x236)],_0x5b557c=>_0x5b557c[_0x57a4f0(0x1d1)])[_0x57a4f0(0x218)](_0x2af2c1=>this[_0x57a4f0(0x231)][_0x57a4f0(0x259)](_0x2af2c1)),_0x413c89=[];for(const _0x5036b5 of _0x5649a9){const _0x198848=this[_0x57a4f0(0x231)][_0x57a4f0(0x1fe)](_0x5036b5)[_0x57a4f0(0x212)][_0x57a4f0(0x1d7)]();_0x413c89[_0x57a4f0(0x24c)](..._0x198848[_0x57a4f0(0x25c)]((_0x3bf80b,_0x495274)=>[..._0x3bf80b,..._0x495274[_0x57a4f0(0x1ee)]()],[]));}_0x9644a0[_0x57a4f0(0x202)]=_0x413c89;}[_0x1e7188(0x25d)](){const _0x389494=_0x1e7188,_0x49a543=this[_0x389494(0x20c)],_0x48cd4c=_0x49a543[_0x389494(0x210)],_0x1ffc9f=_0x3f39c1(_0x48cd4c,_0x389494(0x211)),_0x7e50a1=new _0x552ee1([{'type':_0x389494(0x23c),'model':new _0x58d5d7({'withText':!0x0,'isToggleable':!0x0,'label':_0x1ffc9f,'commandName':_0x389494(0x238),'role':_0x389494(0x234)})},{'type':_0x389494(0x24d)},{'type':_0x389494(0x1e5),'model':new _0x58d5d7({'withText':!0x0,'label':_0x3f39c1(_0x48cd4c,_0x389494(0x1f0)),'commandName':_0x389494(0x1d0),'role':_0x389494(0x1e0)})},{'type':_0x389494(0x1e5),'model':new _0x58d5d7({'withText':!0x0,'label':_0x3f39c1(_0x48cd4c,_0x389494(0x1e2)),'commandName':_0x389494(0x240),'role':_0x389494(0x1e0)})},{'type':_0x389494(0x1e5),'model':new _0x58d5d7({'withText':!0x0,'label':_0x3f39c1(_0x48cd4c,_0x389494(0x1f4)),'commandName':_0x389494(0x250),'role':_0x389494(0x1e0)})},{'type':_0x389494(0x1e5),'model':new _0x58d5d7({'withText':!0x0,'label':_0x3f39c1(_0x48cd4c,_0x389494(0x20b)),'commandName':_0x389494(0x1e8),'role':_0x389494(0x1e0)})}]);for(const _0x137184 of _0x7e50a1)if(me(_0x137184)){const _0x229710=_0x49a543[_0x389494(0x1d8)][_0x389494(0x1fe)](_0x137184[_0x389494(0x212)][_0x389494(0x255)]);_0x137184[_0x389494(0x212)][_0x389494(0x219)](_0x389494(0x25a),_0x389494(0x262))['to'](_0x229710,_0x389494(0x21f),_0x389494(0x262));}_0x49a543['ui'][_0x389494(0x1e7)][_0x389494(0x1ec)](_0x389494(0x238),_0x5a9800=>this[_0x389494(0x21a)](_0x5a9800,_0x7e50a1,_0x1ffc9f)),_0x49a543['ui'][_0x389494(0x1e7)][_0x389494(0x1ec)](_0x389494(0x23d),_0x730cc6=>this[_0x389494(0x221)](_0x730cc6,_0x7e50a1,_0x1ffc9f));}[_0x1e7188(0x21a)](_0x2f46e6,_0x299a99,_0x4ff07e){const _0x35fed0=_0x1e7188,_0x536899=_0xac7eb0(_0x2f46e6,_0x1d6673),_0x17cf6b=this[_0x35fed0(0x20c)][_0x35fed0(0x1d8)][_0x35fed0(0x1fe)](_0x35fed0(0x238));_0x536899[_0x35fed0(0x1ed)][_0x35fed0(0x257)]({'tooltip':_0x4ff07e,'label':_0x4ff07e,'icon':_0x18bf73}),_0x536899[_0x35fed0(0x1ed)][_0x35fed0(0x219)](_0x35fed0(0x25a))['to'](_0x17cf6b,_0x35fed0(0x21f)),_0x536899[_0x35fed0(0x1ed)]['on'](_0x35fed0(0x20f),()=>{const _0x4f2112=_0x35fed0;_0x17cf6b[_0x4f2112(0x20f)](),this[_0x4f2112(0x20c)][_0x4f2112(0x22f)][_0x4f2112(0x1cf)][_0x4f2112(0x252)]();}),_0x8232c0(_0x536899,_0x299a99,{'role':_0x35fed0(0x237)});const _0x141299=[];for(const _0x46ee38 of _0x299a99)me(_0x46ee38)&&_0x141299[_0x35fed0(0x24c)](this[_0x35fed0(0x20c)][_0x35fed0(0x1d8)][_0x35fed0(0x1fe)](_0x46ee38[_0x35fed0(0x212)][_0x35fed0(0x255)]));const _0x1596ba=_0x536899[_0x35fed0(0x1ed)];return _0x1596ba[_0x35fed0(0x1e1)][_0x35fed0(0x228)](_0x35fed0(0x262)),_0x1596ba[_0x35fed0(0x23b)][_0x35fed0(0x228)](_0x35fed0(0x262)),_0x1596ba[_0x35fed0(0x1e1)][_0x35fed0(0x219)](_0x35fed0(0x262))['to'](_0x17cf6b,_0x35fed0(0x262)),_0x1596ba[_0x35fed0(0x23b)][_0x35fed0(0x219)](_0x35fed0(0x262))[_0x35fed0(0x25e)](_0x141299,_0x35fed0(0x262),(..._0x50a2c9)=>_0x50a2c9[_0x35fed0(0x227)](_0x485492=>_0x485492)),_0x536899['on'](_0x35fed0(0x20f),_0x325d63=>{const _0x317a28=_0x35fed0;this[_0x317a28(0x20c)][_0x317a28(0x20f)](_0x325d63[_0x317a28(0x20e)][_0x317a28(0x255)]),this[_0x317a28(0x20c)][_0x317a28(0x22f)][_0x317a28(0x1cf)][_0x317a28(0x252)]();}),_0x536899;}[_0x1e7188(0x221)](_0x15b74d,_0x1c161f,_0x1105e2){const _0x4861db=_0x1e7188,_0x273d3d=new _0x2193f0(_0x15b74d),_0x468956=this[_0x4861db(0x20c)][_0x4861db(0x1d8)][_0x4861db(0x1fe)](_0x4861db(0x238));_0x273d3d[_0x4861db(0x1ed)][_0x4861db(0x257)]({'label':_0x1105e2,'icon':_0x18bf73});const _0x1caa2d=new _0x192e96(_0x15b74d);for(const _0x36fb48 of _0x1c161f){if(_0x4861db(0x24d)==_0x36fb48[_0x4861db(0x246)]){_0x1caa2d[_0x4861db(0x249)][_0x4861db(0x1ec)](new _0x4979e9(_0x15b74d));continue;}const _0x2d1e22=new _0x5cd5c3(_0x15b74d,_0x273d3d),_0x8806d3=new _0xa184fe(_0x15b74d),_0x2e6957=_0x36fb48[_0x4861db(0x212)];_0x8806d3[_0x4861db(0x219)](...Object[_0x4861db(0x1f1)](_0x2e6957))['to'](_0x2e6957),_0x8806d3[_0x4861db(0x263)](_0x4861db(0x20f))['to'](_0x273d3d),_0x8806d3['on'](_0x4861db(0x20f),()=>{const _0x826705=_0x4861db;this[_0x826705(0x20c)][_0x826705(0x20f)](_0x2e6957[_0x826705(0x255)]),this[_0x826705(0x20c)][_0x826705(0x22f)][_0x826705(0x1cf)][_0x826705(0x252)]();}),_0x2d1e22[_0x4861db(0x230)][_0x4861db(0x1ec)](_0x8806d3),_0x1caa2d[_0x4861db(0x249)][_0x4861db(0x1ec)](_0x2d1e22);}return _0x273d3d[_0x4861db(0x219)](_0x4861db(0x262))['to'](_0x468956,_0x4861db(0x262)),_0x273d3d[_0x4861db(0x1fb)][_0x4861db(0x230)][_0x4861db(0x1ec)](_0x1caa2d),_0x273d3d;}[_0x1e7188(0x1f6)](_0x10122b){const _0x549fce=_0x1e7188,_0x3567dc=this[_0x549fce(0x20c)],_0x1452c4=_0x3567dc[_0x549fce(0x245)],_0x4af16b=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x549fce(0x1ff)),_0x2fff6=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x549fce(0x1fd)),_0x3d2e2a=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x549fce(0x25b)),_0x3982e7=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x43d112)['me'],_0x4bf498=_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x238))[_0x549fce(0x226)],_0x1260a9=_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x238))[_0x549fce(0x24f)],{CommentsListView:_0x325ade,CommentThreadInputView:_0x2b29d3}=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x549fce(0x214));let _0x3931a4,_0x8c4ef2,_0x525fef;this[_0x549fce(0x1e6)][_0x549fce(0x259)](_0x10122b['id'])?(_0x8c4ef2=this[_0x549fce(0x1e6)][_0x549fce(0x1fe)](_0x10122b['id']),_0x3931a4=_0x8c4ef2[_0x549fce(0x207)]):(_0x3931a4=new _0x4bf498(_0x3567dc[_0x549fce(0x210)],_0x10122b,_0x3982e7,{'disableComments':this[_0x549fce(0x22a)],'editorConfig':_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x21e)),'maxCommentsWhenCollapsed':_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x200)),'maxThreadTotalWeight':_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x239)),'maxCommentCharsWhenCollapsed':_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x1f5)),'formatDateTime':_0x5a9563(_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x210))),'CommentView':_0x1452c4[_0x549fce(0x1fe)](_0x549fce(0x260))[_0x549fce(0x20a)],'CommentsListView':_0x325ade,'CommentThreadInputView':_0x2b29d3,'SuggestionView':_0x1260a9}),_0x3931a4[_0x549fce(0x247)][_0x549fce(0x22e)]['on'](_0x549fce(0x20f),()=>{const _0x26d915=_0x549fce;_0x3567dc[_0x26d915(0x22f)][_0x26d915(0x1cf)][_0x26d915(0x252)]();}),_0x3931a4[_0x549fce(0x247)][_0x549fce(0x22b)]['on'](_0x549fce(0x20f),()=>{const _0x4ec93c=_0x549fce;_0x3567dc[_0x4ec93c(0x22f)][_0x4ec93c(0x1cf)][_0x4ec93c(0x252)]();}),_0x8c4ef2=_0x4af16b[_0x549fce(0x24a)](this[_0x549fce(0x20c)][_0x549fce(0x210)],_0x3931a4),_0x8c4ef2[_0x549fce(0x219)](_0x549fce(0x235))['to'](_0x3931a4,_0x549fce(0x235)),_0x8c4ef2[_0x549fce(0x219)](_0x549fce(0x25f))['to'](_0x3931a4),_0x8c4ef2[_0x549fce(0x219)](_0x549fce(0x246))['to'](_0x3931a4,_0x549fce(0x246),_0x31bd7b=>_0x549fce(0x254)+_0x31bd7b),_0x3931a4['on'](_0x549fce(0x204),()=>{const _0x5c9411=_0x549fce;_0x525fef[_0x5c9411(0x20d)](_0x5c9411(0x204));}),this[_0x549fce(0x1e6)][_0x549fce(0x257)](_0x10122b['id'],_0x8c4ef2));const _0x54ac0d=_0x2fff6[_0x549fce(0x224)](_0x10122b[_0x549fce(0x244)],_0x3931a4),_0x27bc92=new _0x1f7844(_0x3567dc,_0x10122b,_0x3931a4,_0x54ac0d),_0x352e71=_0x10122b[_0x549fce(0x1d7)]()[_0x549fce(0x218)](_0x4c6f98=>_0x4c6f98[_0x549fce(0x1f2)]);_0x3931a4[_0x549fce(0x205)]=_0x3567dc[_0x549fce(0x1d5)][_0x549fce(0x1fe)](_0x549fce(0x1de))[_0x549fce(0x223)][_0x549fce(0x1d6)](_0x352e71),this[_0x549fce(0x208)][_0x549fce(0x257)](_0x10122b,_0x27bc92),this[_0x549fce(0x231)][_0x549fce(0x257)](_0x3931a4,_0x27bc92),_0x525fef=_0x4af16b[_0x549fce(0x256)]({'view':_0x8c4ef2,'target':()=>{const _0x5332a0=_0x549fce,_0x27641c=[],_0x555b33=_0x10122b[_0x5332a0(0x1d7)]()[_0x5332a0(0x218)](_0x316248=>_0x316248[_0x5332a0(0x1f2)]);for(const _0x2c8770 of _0x555b33)_0x27641c[_0x5332a0(0x24c)](..._0x2c8770[_0x5332a0(0x229)]());return _0x1bd6de(_0x3567dc[_0x5332a0(0x22f)],_0x27641c);},'type':()=>_0x549fce(0x254)+_0x27bc92[_0x549fce(0x1cf)][_0x549fce(0x246)]}),_0x2fff6[_0x549fce(0x1d4)](_0x3931a4,_0x525fef),_0x4af16b[_0x549fce(0x1ec)](_0x525fef),_0x3d2e2a[_0x549fce(0x23f)](_0x525fef);}[_0x1e7188(0x203)](_0x44549e){const _0x50afd7=_0x1e7188,_0x4815fc=this[_0x50afd7(0x20c)][_0x50afd7(0x1d5)][_0x50afd7(0x1fe)](_0x50afd7(0x1fd)),_0x3e0f47=this[_0x50afd7(0x20c)][_0x50afd7(0x1d5)][_0x50afd7(0x1fe)](_0x50afd7(0x1ff)),_0x503785=this[_0x50afd7(0x208)][_0x50afd7(0x1fe)](_0x44549e),_0x5467b3=_0x503785[_0x50afd7(0x1cf)],_0x3b5ab1=_0x3e0f47[_0x50afd7(0x225)](_0x5467b3);_0x4815fc[_0x50afd7(0x23e)](_0x5467b3),_0x3b5ab1&&_0x3e0f47[_0x50afd7(0x206)](_0x3b5ab1),this[_0x50afd7(0x208)][_0x50afd7(0x232)](_0x44549e),this[_0x50afd7(0x231)][_0x50afd7(0x232)](_0x5467b3),_0x503785[_0x50afd7(0x233)]();}[_0x1e7188(0x215)](_0xf06927){const _0x4d96cf=_0x1e7188;if(!_0xf06927[_0x4d96cf(0x1f2)]||!this[_0x4d96cf(0x208)][_0x4d96cf(0x259)](_0xf06927))return;const _0xbf36ea=this[_0x4d96cf(0x20c)][_0x4d96cf(0x1d5)][_0x4d96cf(0x1fe)](_0x4d96cf(0x1de)),_0x223e2d=this[_0x4d96cf(0x208)][_0x4d96cf(0x1fe)](_0xf06927),_0x402fe3=_0xf06927[_0x4d96cf(0x1d7)]();_0x223e2d[_0x4d96cf(0x1cf)][_0x4d96cf(0x205)]=_0xbf36ea[_0x4d96cf(0x223)][_0x4d96cf(0x1d6)](_0x402fe3);}[_0x1e7188(0x233)](){const _0xc7b64f=_0x1e7188;for(const _0x41f1c0 of this[_0xc7b64f(0x208)][_0xc7b64f(0x1f1)]())this[_0xc7b64f(0x203)](_0x41f1c0);for(const _0x51acd6 of this[_0xc7b64f(0x1e6)][_0xc7b64f(0x24e)]())_0x51acd6[_0xc7b64f(0x207)][_0xc7b64f(0x233)]();super[_0xc7b64f(0x233)]();}}function me(_0x39ee11){const _0x18184f=_0x1e7188;return _0x18184f(0x212)in _0x39ee11;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x57a152=_0x2ebb;(function(_0x25a6ca,_0x58e7fd){const _0x5bd92d=_0x2ebb,_0x410f65=_0x25a6ca();while(!![]){try{const _0x34945d=-parseInt(_0x5bd92d(0xa9))/0x1*(-parseInt(_0x5bd92d(0xba))/0x2)+parseInt(_0x5bd92d(0xcc))/0x3*(parseInt(_0x5bd92d(0xb7))/0x4)+parseInt(_0x5bd92d(0xb0))/0x5+parseInt(_0x5bd92d(0xb4))/0x6+-parseInt(_0x5bd92d(0xc6))/0x7+parseInt(_0x5bd92d(0xbc))/0x8+-parseInt(_0x5bd92d(0xb6))/0x9;if(_0x34945d===_0x58e7fd)break;else _0x410f65['push'](_0x410f65['shift']());}catch(_0x4a1b80){_0x410f65['push'](_0x410f65['shift']());}}}(_0x2cb8,0x5c126));import{ObservableMixin as _0x54be64}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c9b11}from'../utils/common-translations.js';function _0x2cb8(){const _0x414d0b=['commands','_removePendingAction','_discardCommand','locale','1579940GFgxli','stopListening','model','getRanges','3865344deTbFD','_acceptCommand','7105896aZODer','49372SAdLXf','change:isDirty','plugins','4NPxVEp','canDiscard','3296128LvHYOz','remove','unbind','discardSuggestion','listenTo','view','commentThreadController','canAccept','PendingActions','execute','4473399bRJlSh','canEditAt','isEnabled','get','bind','_setPendingAction','69xfrBgB','isDirty','_pendingAction','destroy','acceptSuggestion','PENDING_ACTION_SUGGESTION','74805cclfan','add','_editor'];_0x2cb8=function(){return _0x414d0b;};return _0x2cb8();}function _0x2ebb(_0x476b44,_0x128909){const _0x2cb808=_0x2cb8();return _0x2ebb=function(_0x2ebb15,_0x46b69f){_0x2ebb15=_0x2ebb15-0xa5;let _0x3b389a=_0x2cb808[_0x2ebb15];return _0x3b389a;},_0x2ebb(_0x476b44,_0x128909);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54be64(){constructor(_0x1000d5,_0x5ccba6,_0x440788,_0x2e52f0){const _0x4c9fe0=_0x2ebb;super(),this[_0x4c9fe0(0xb2)]=_0x5ccba6,this[_0x4c9fe0(0xc1)]=_0x440788,this[_0x4c9fe0(0xc2)]=_0x2e52f0,this[_0x4c9fe0(0xab)]=_0x1000d5,this[_0x4c9fe0(0xb5)]=_0x1000d5[_0x4c9fe0(0xac)][_0x4c9fe0(0xc9)](_0x4c9fe0(0xa7)),this[_0x4c9fe0(0xae)]=_0x1000d5[_0x4c9fe0(0xac)][_0x4c9fe0(0xc9)](_0x4c9fe0(0xbf)),this[_0x4c9fe0(0xc1)][_0x4c9fe0(0xca)](_0x4c9fe0(0xc8))['to'](this[_0x4c9fe0(0xb5)],this[_0x4c9fe0(0xae)],(_0x4f4a01,_0x49eb43)=>_0x4f4a01||_0x49eb43),this[_0x4c9fe0(0xc1)][_0x4c9fe0(0xca)](_0x4c9fe0(0xc3))['to'](this[_0x4c9fe0(0xb5)],_0x4c9fe0(0xc8),_0x264559=>_0x264559&&this[_0x4c9fe0(0xab)][_0x4c9fe0(0xb2)][_0x4c9fe0(0xc7)](_0x5ccba6[_0x4c9fe0(0xb3)]())),this[_0x4c9fe0(0xc1)][_0x4c9fe0(0xca)](_0x4c9fe0(0xbb))['to'](this[_0x4c9fe0(0xae)],_0x4c9fe0(0xc8),_0x2870c9=>_0x2870c9&&this[_0x4c9fe0(0xab)][_0x4c9fe0(0xb2)][_0x4c9fe0(0xc7)](_0x5ccba6[_0x4c9fe0(0xb3)]())),this[_0x4c9fe0(0xa5)]=null,_0x440788[_0x4c9fe0(0xcd)]&&this[_0x4c9fe0(0xcb)](),this[_0x4c9fe0(0xc0)](_0x440788,_0x4c9fe0(0xa7),()=>this[_0x4c9fe0(0xa7)]()),this[_0x4c9fe0(0xc0)](_0x440788,_0x4c9fe0(0xbf),()=>this[_0x4c9fe0(0xbf)]()),this[_0x4c9fe0(0xc0)](_0x440788,_0x4c9fe0(0xb8),()=>{const _0xe16ad4=_0x4c9fe0;_0x440788[_0xe16ad4(0xcd)]?this[_0xe16ad4(0xcb)]():this[_0xe16ad4(0xad)]();});}[_0x57a152(0xa7)](){const _0x4eb9a6=_0x57a152;this[_0x4eb9a6(0xb5)][_0x4eb9a6(0xc5)](this[_0x4eb9a6(0xb2)]['id']);}[_0x57a152(0xbf)](){const _0x4a9df0=_0x57a152;this[_0x4a9df0(0xae)][_0x4a9df0(0xc5)](this[_0x4a9df0(0xb2)]['id']);}[_0x57a152(0xa6)](){const _0x25439d=_0x57a152;this[_0x25439d(0xc1)][_0x25439d(0xbe)](_0x25439d(0xc8)),this[_0x25439d(0xc1)][_0x25439d(0xbe)](_0x25439d(0xc3)),this[_0x25439d(0xc1)][_0x25439d(0xbe)](_0x25439d(0xbb)),this[_0x25439d(0xb1)](),this[_0x25439d(0xc2)][_0x25439d(0xa6)](),this[_0x25439d(0xa5)]&&this[_0x25439d(0xad)]();}[_0x57a152(0xcb)](){const _0x4002cf=_0x57a152,_0x45bac9=_0x2c9b11(this[_0x4002cf(0xab)][_0x4002cf(0xaf)],_0x4002cf(0xa8));this[_0x4002cf(0xa5)]=this[_0x4002cf(0xab)][_0x4002cf(0xb9)][_0x4002cf(0xc9)](_0x4002cf(0xc4))[_0x4002cf(0xaa)](_0x45bac9);}[_0x57a152(0xad)](){const _0x1a3b17=_0x57a152;null!==this[_0x1a3b17(0xa5)]&&this[_0x1a3b17(0xab)][_0x1a3b17(0xb9)][_0x1a3b17(0xc9)](_0x1a3b17(0xc4))[_0x1a3b17(0xbd)](this[_0x1a3b17(0xa5)]),this[_0x1a3b17(0xa5)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x287b7b=_0x3d39;(function(_0x5a5858,_0x4b47eb){const _0x4950e2=_0x3d39,_0x1cc534=_0x5a5858();while(!![]){try{const _0x1daea7=parseInt(_0x4950e2(0xcb))/0x1+parseInt(_0x4950e2(0xec))/0x2*(parseInt(_0x4950e2(0xd7))/0x3)+-parseInt(_0x4950e2(0xca))/0x4+parseInt(_0x4950e2(0xa7))/0x5*(-parseInt(_0x4950e2(0xbd))/0x6)+parseInt(_0x4950e2(0xb5))/0x7*(-parseInt(_0x4950e2(0xe1))/0x8)+-parseInt(_0x4950e2(0xee))/0x9*(parseInt(_0x4950e2(0xc7))/0xa)+-parseInt(_0x4950e2(0xe3))/0xb*(-parseInt(_0x4950e2(0xe0))/0xc);if(_0x1daea7===_0x4b47eb)break;else _0x1cc534['push'](_0x1cc534['shift']());}catch(_0x3df550){_0x1cc534['push'](_0x1cc534['shift']());}}}(_0x44ba,0xbedd4));function _0x44ba(){const _0x5c9d4f=['disabledSubmit','addComment','isActive','5076jNjYZh','commentInputView','130455tIZvXP','author','removeComment','delegate','7510wePkga','_createCommentThreadInputView','descriptionParts','focusables','value','text/html','focusTracker','editor','CommentView','commentThreadInputView','destroy','keystrokes','cancel','join','21yIaMrP','fire','element','tab','assign','isEnabled','map','disableComments','228jDqEUA','set','textContent','name','bind','_createCommentViews','locale','render','canAccept','focusCycler','250kQcjVF','_model','target','5271684AJhWbP','71588JWvpWL','updateComment','setData','content','commentThread','submit','authoredAt','SUGGESTION_THREAD_ARIA_LABEL','editorConfig','showInput','length','isDirty','1227qZSYMV','parseFromString','_localUser','SUGGESTION_THREAD_DESCRIPTION','hasDirtyComment','focus','body','commentsListView','formatDateTime','84OMYrWs','20920juBdVM','shift+tab','2227291rMlClP','_config','canDiscard','ariaDescriptionView','isReadOnly','ariaLabel'];_0x44ba=function(){return _0x5c9d4f;};return _0x44ba();}import{FocusCycler as _0x244d8f,View as _0x2e3ac7,ViewCollection as _0x3e53b3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x499318,KeystrokeHandler as _0x17b339}from'ckeditor5/src/utils.js';function _0x3d39(_0xe9432,_0x151049){const _0x44ba94=_0x44ba();return _0x3d39=function(_0x3d39f5,_0x472836){_0x3d39f5=_0x3d39f5-0xa7;let _0xb3f383=_0x44ba94[_0x3d39f5];return _0xb3f383;},_0x3d39(_0xe9432,_0x151049);}import{AriaDescriptionView as _0x29009e,setupThreadKeyboardNavigation as _0x1b24de}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x3f4226}from'../../utils/common-translations.js';import{renderDescription as _0x31e154}from'../../utils/utils.js';export default class us extends _0x2e3ac7{constructor(_0x2c642b,_0x5dbf04,_0x412e6e,_0x318fd8){const _0x9c590c=_0x3d39;super(_0x2c642b),this[_0x9c590c(0xde)]=null,this[_0x9c590c(0xb0)]=null,this[_0x9c590c(0xe6)]=new _0x29009e(_0x2c642b,_0x3f4226(_0x2c642b,_0x9c590c(0xda))),this[_0x9c590c(0xbe)](_0x9c590c(0xeb),!0x1),this[_0x9c590c(0xbe)](_0x9c590c(0xd1),_0x5dbf04[_0x9c590c(0xd1)]),this[_0x9c590c(0xc1)](_0x9c590c(0xd1))['to'](_0x5dbf04),this[_0x9c590c(0xbe)](_0x9c590c(0xa9),[]),this[_0x9c590c(0xbe)](_0x9c590c(0xd6),!0x1),this[_0x9c590c(0xbe)](_0x9c590c(0xba),!0x1),this[_0x9c590c(0xbe)](_0x9c590c(0xc5),!0x1),this[_0x9c590c(0xbe)](_0x9c590c(0xe5),!0x1),this[_0x9c590c(0xc1)](_0x9c590c(0xe8))['to'](this,_0x9c590c(0xd5),_0x5dbf04,_0x9c590c(0xd1),this,_0x9c590c(0xa9),(_0x1117c3,_0x483283,_0x530ad3)=>{const _0x513187=_0x9c590c,_0x3d68e2=_0x530ad3[_0x513187(0xbb)](_0x298667=>_0x31e154(_0x298667[_0x513187(0xce)]))[_0x513187(0xb4)]('.\x20')+'.';return _0x3f4226(this[_0x513187(0xc3)],_0x513187(0xd2),[_0x1117c3-0x1,_0x5dbf04[_0x513187(0xef)][_0x513187(0xc0)],_0x483283?_0x318fd8[_0x513187(0xdf)](_0x483283):'',new DOMParser()[_0x513187(0xd8)](_0x3d68e2,_0x513187(0xac))[_0x513187(0xdd)][_0x513187(0xbf)]]);}),this[_0x9c590c(0xaa)]=new _0x3e53b3(),this[_0x9c590c(0xad)]=new _0x499318(),this[_0x9c590c(0xb2)]=new _0x17b339(),this[_0x9c590c(0xc6)]=new _0x244d8f({'focusables':this[_0x9c590c(0xaa)],'focusTracker':this[_0x9c590c(0xad)],'keystrokeHandler':this[_0x9c590c(0xb2)],'keystrokeHandlerOptions':{'filter':_0x5509d2=>_0x5509d2[_0x9c590c(0xc9)]!==this[_0x9c590c(0xb7)]},'actions':{'focusPrevious':_0x9c590c(0xe2),'focusNext':_0x9c590c(0xb8)}}),this[_0x9c590c(0xc8)]=_0x5dbf04,this[_0x9c590c(0xd9)]=_0x412e6e,this[_0x9c590c(0xe4)]=_0x318fd8,_0x318fd8[_0x9c590c(0xbc)]?this[_0x9c590c(0xbe)](_0x9c590c(0xd5),0x1):this[_0x9c590c(0xc2)]();}[_0x287b7b(0xc4)](){const _0x342475=_0x287b7b;super[_0x342475(0xc4)](),_0x1b24de(this,this[_0x342475(0xaa)]);}[_0x287b7b(0xdc)](){const _0x3bffe9=_0x287b7b;this[_0x3bffe9(0xb7)][_0x3bffe9(0xdc)]();}[_0x287b7b(0xb1)](){const _0x3c8141=_0x287b7b;this[_0x3c8141(0xde)]&&this[_0x3c8141(0xde)][_0x3c8141(0xb1)](),this[_0x3c8141(0xb0)]&&this[_0x3c8141(0xb0)][_0x3c8141(0xb1)](),super[_0x3c8141(0xb1)]();}[_0x287b7b(0xc2)](){const _0x5bd67a=_0x287b7b,{CommentsListView:_0x5abe07}=this[_0x5bd67a(0xe4)];this[_0x5bd67a(0xde)]=new _0x5abe07(this[_0x5bd67a(0xc3)],this[_0x5bd67a(0xc8)][_0x5bd67a(0xcf)],Object[_0x5bd67a(0xb9)]({'CommentView':this[_0x5bd67a(0xe4)][_0x5bd67a(0xaf)]},this[_0x5bd67a(0xe4)])),this[_0x5bd67a(0xde)][_0x5bd67a(0xf1)](_0x5bd67a(0xf0))['to'](this),this[_0x5bd67a(0xde)][_0x5bd67a(0xf1)](_0x5bd67a(0xcc))['to'](this),this[_0x5bd67a(0xde)][_0x5bd67a(0xc1)](_0x5bd67a(0xeb))['to'](this),this[_0x5bd67a(0xbe)](_0x5bd67a(0xd5),this[_0x5bd67a(0xde)][_0x5bd67a(0xd5)]+0x1),this[_0x5bd67a(0xc1)](_0x5bd67a(0xd5))['to'](this[_0x5bd67a(0xde)],_0x5bd67a(0xd5),_0x592d63=>_0x592d63+0x1),this[_0x5bd67a(0xb0)]=this[_0x5bd67a(0xa8)](),this['on'](_0x5bd67a(0xf0),()=>this[_0x5bd67a(0xdc)]()),this[_0x5bd67a(0xc1)](_0x5bd67a(0xd6))['to'](this[_0x5bd67a(0xde)],_0x5bd67a(0xdb),this[_0x5bd67a(0xb0)][_0x5bd67a(0xed)],_0x5bd67a(0xab),(_0x3c89f7,_0x42fc2f)=>_0x3c89f7||!!_0x42fc2f);}[_0x287b7b(0xa8)](){const _0x149c6f=_0x287b7b,{CommentThreadInputView:_0x5ca9a7}=this[_0x149c6f(0xe4)],_0x4b5713=new _0x5ca9a7(this[_0x149c6f(0xc3)],this[_0x149c6f(0xd9)],this[_0x149c6f(0xe4)][_0x149c6f(0xd3)]),_0x9b47a4=_0x4b5713[_0x149c6f(0xed)];return _0x4b5713[_0x149c6f(0xc1)](_0x149c6f(0xd4))['to'](this,_0x149c6f(0xeb),this[_0x149c6f(0xc8)][_0x149c6f(0xcf)],_0x149c6f(0xe7),_0x9b47a4,_0x149c6f(0xab),(_0x2d0553,_0x45397b,_0x4271d9)=>!!_0x4271d9||_0x2d0553&&!_0x45397b),_0x9b47a4['on'](_0x149c6f(0xd0),(_0x56e1e6,_0x2123d4)=>{const _0x41e7e8=_0x149c6f;this[_0x41e7e8(0xb6)](_0x41e7e8(0xea),_0x2123d4),_0x9b47a4[_0x41e7e8(0xae)][_0x41e7e8(0xcd)]('');}),_0x9b47a4['on'](_0x149c6f(0xb3),()=>this[_0x149c6f(0xdc)]()),_0x9b47a4[_0x149c6f(0xc1)](_0x149c6f(0xe9))['to'](this[_0x149c6f(0xc8)][_0x149c6f(0xcf)],_0x149c6f(0xe7)),_0x4b5713;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4916a3=_0x2f7e;(function(_0x5bd6b6,_0x18915c){const _0x46dc7f=_0x2f7e,_0x576502=_0x5bd6b6();while(!![]){try{const _0x4c36af=-parseInt(_0x46dc7f(0xc9))/0x1*(parseInt(_0x46dc7f(0x95))/0x2)+-parseInt(_0x46dc7f(0xb9))/0x3*(parseInt(_0x46dc7f(0x91))/0x4)+parseInt(_0x46dc7f(0xb8))/0x5+parseInt(_0x46dc7f(0xb0))/0x6*(parseInt(_0x46dc7f(0xc3))/0x7)+-parseInt(_0x46dc7f(0xbd))/0x8*(-parseInt(_0x46dc7f(0xa8))/0x9)+-parseInt(_0x46dc7f(0xc4))/0xa*(parseInt(_0x46dc7f(0xa1))/0xb)+-parseInt(_0x46dc7f(0xc2))/0xc*(parseInt(_0x46dc7f(0xb5))/0xd);if(_0x4c36af===_0x18915c)break;else _0x576502['push'](_0x576502['shift']());}catch(_0x4a6579){_0x576502['push'](_0x576502['shift']());}}}(_0x3478,0x8a453));import{default as _0x39e915}from'./basesuggestionthreadview.js';import{trimHtml as _0x4f42b9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3478(){const _0x46d0ce=['60554RxIAQi','description','bind','suggestionView','bindTemplate','add','editorDestroyed','acceptButton','focusables','commentsListView','disableComments','getTemplate','673321kFUIVu','ck-suggestion-','_descriptionElement','acceptSuggestion','<p>','push','listitem','9HWbQoR','_config','delegate','content','isEnabled','author','div','render','8304WNajkc','commentThreadInputView','canDiscard','discardButton','ck-suggestion-wrapper','91qbgXMm','color','ck-suggestion-wrapper--active','3957445ewMImz','3cWsVOp','ck-rounded-corners','discardSuggestion','isActive','5754184QeKTDe','canAccept','ariaLabel','commentThread','type','1739124VtSFZu','3297bfMUYI','60DeecWG','</p>','formatDateTime','SuggestionView','ariaDescriptionView','7WHXwyb','descriptionParts','_model','editorReady','10308ybbZif','set','setTemplate','ck-suggestion--disabled-comments'];_0x3478=function(){return _0x46d0ce;};return _0x3478();}function _0x2f7e(_0x305871,_0x4a4477){const _0x347868=_0x3478();return _0x2f7e=function(_0x2f7e51,_0x313561){_0x2f7e51=_0x2f7e51-0x8e;let _0x529ebe=_0x347868[_0x2f7e51];return _0x529ebe;},_0x2f7e(_0x305871,_0x4a4477);}import{renderDescription as _0x1f1034}from'../../utils/utils.js';export default class re extends _0x39e915{constructor(_0x28557b,_0x23a302,_0x448f05,_0x3f3301){const _0x567ed9=_0x2f7e;super(_0x28557b,_0x23a302,_0x448f05,_0x3f3301),this[_0x567ed9(0x92)](_0x567ed9(0xc1),''),this[_0x567ed9(0x97)](_0x567ed9(0xc1))['to'](this,_0x567ed9(0x8e),_0x4b4e9b=>_0x4b4e9b&&_0x4b4e9b[0x0]?_0x4b4e9b[0x0][_0x567ed9(0xc1)]:''),this[_0x567ed9(0x97)](_0x567ed9(0x96))['to'](this,_0x567ed9(0x8e),this,_0x567ed9(0xbc),(_0x223083,_0x4e0419)=>{const _0x3c29bc=_0x567ed9;let _0x4cdd9d='';for(const _0x11fe4a of _0x223083)_0x4cdd9d+=_0x3c29bc(0xa5)+_0x1f1034(_0x11fe4a[_0x3c29bc(0xab)],_0x11fe4a[_0x3c29bc(0xb6)])+_0x3c29bc(0xc5);return _0x4e0419?_0x4cdd9d:_0x4f42b9(_0x4cdd9d,{'limit':0x8c});}),this[_0x567ed9(0xa3)]=null,this[_0x567ed9(0x98)]=new _0x3f3301[(_0x567ed9(0xc7))](_0x28557b,_0x23a302,{'formatDateTime':_0x3f3301[_0x567ed9(0xc6)]}),this[_0x567ed9(0x98)][_0x567ed9(0x97)](_0x567ed9(0x96))['to'](this),this[_0x567ed9(0x98)][_0x567ed9(0xaa)](_0x567ed9(0xa4),_0x567ed9(0xbb))['to'](this),this[_0x567ed9(0x98)][_0x567ed9(0x9c)][_0x567ed9(0x97)](_0x567ed9(0xac))['to'](this,_0x567ed9(0xbe)),this[_0x567ed9(0x98)][_0x567ed9(0xb3)][_0x567ed9(0x97)](_0x567ed9(0xac))['to'](this,_0x567ed9(0xb2)),this[_0x567ed9(0x9d)][_0x567ed9(0x9a)](this[_0x567ed9(0x98)]),this[_0x567ed9(0x9e)]&&this[_0x567ed9(0x9d)][_0x567ed9(0x9a)](this[_0x567ed9(0x9e)]),this[_0x567ed9(0xb1)]&&this[_0x567ed9(0x9d)][_0x567ed9(0x9a)](this[_0x567ed9(0xb1)]),this[_0x567ed9(0x93)](this[_0x567ed9(0xa0)]());}[_0x4916a3(0xa0)](){const _0x51e22a=_0x4916a3,_0x44623c=this[_0x51e22a(0x99)],_0x59b247=[this[_0x51e22a(0x98)]];return this[_0x51e22a(0x9e)]&&_0x59b247[_0x51e22a(0xa6)](this[_0x51e22a(0x9e)]),this[_0x51e22a(0xb1)]&&_0x59b247[_0x51e22a(0xa6)](this[_0x51e22a(0xb1)]),_0x59b247[_0x51e22a(0xa6)](this[_0x51e22a(0xc8)]),{'tag':_0x51e22a(0xae),'attributes':{'class':['ck',_0x51e22a(0xba),_0x51e22a(0xb4),_0x44623c['if'](_0x51e22a(0xbc),_0x51e22a(0xb7)),_0x44623c['to'](_0x51e22a(0xc1),_0x9a5d0e=>_0x51e22a(0xa2)+_0x9a5d0e),this[_0x51e22a(0xa9)][_0x51e22a(0x9f)]&&_0x51e22a(0x94)],'data-suggestion-id':this[_0x51e22a(0x8f)]['id'],'data-thread-id':this[_0x51e22a(0x8f)][_0x51e22a(0xc0)]['id'],'data-author-id':this[_0x51e22a(0x8f)][_0x51e22a(0xad)]['id'],'tabindex':0x0,'role':_0x51e22a(0xa7),'aria-label':_0x44623c['to'](_0x51e22a(0xbf)),'aria-describedby':this[_0x51e22a(0xc8)]['id']},'children':_0x59b247};}[_0x4916a3(0xaf)](){const _0x51608b=_0x4916a3;super[_0x51608b(0xaf)](),this[_0x51608b(0x9e)]&&(this[_0x51608b(0x9e)][_0x51608b(0xaa)](_0x51608b(0x90))['to'](this),this[_0x51608b(0x9e)][_0x51608b(0xaa)](_0x51608b(0x9b))['to'](this)),this[_0x51608b(0xb1)]&&(this[_0x51608b(0xb1)][_0x51608b(0xaa)](_0x51608b(0x90))['to'](this),this[_0x51608b(0xb1)][_0x51608b(0xaa)](_0x51608b(0x9b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x485b77=_0x1e16;(function(_0x47bc29,_0x1e8a9a){const _0xb8824d=_0x1e16,_0x5e5485=_0x47bc29();while(!![]){try{const _0x443b80=-parseInt(_0xb8824d(0x9a))/0x1+parseInt(_0xb8824d(0xae))/0x2*(parseInt(_0xb8824d(0xa0))/0x3)+-parseInt(_0xb8824d(0xe1))/0x4+-parseInt(_0xb8824d(0xf0))/0x5*(-parseInt(_0xb8824d(0xd3))/0x6)+parseInt(_0xb8824d(0xcc))/0x7+-parseInt(_0xb8824d(0xdd))/0x8+parseInt(_0xb8824d(0x99))/0x9;if(_0x443b80===_0x1e8a9a)break;else _0x5e5485['push'](_0x5e5485['shift']());}catch(_0x61ecaa){_0x5e5485['push'](_0x5e5485['shift']());}}}(_0x3497,0x867c9));import{FocusTracker as _0x20da3d,KeystrokeHandler as _0x2b4f5f}from'ckeditor5/src/utils.js';import{View as _0x23021b,ViewCollection as _0x1e1511,FocusCycler as _0x4941a9}from'ckeditor5/src/ui.js';function _0x1e16(_0x327a30,_0x1973dc){const _0x34975c=_0x3497();return _0x1e16=function(_0x1e1673,_0x19103c){_0x1e1673=_0x1e1673-0x99;let _0x38b7cb=_0x34975c[_0x1e1673];return _0x38b7cb;},_0x1e16(_0x327a30,_0x1973dc);}import{LateFocusButtonView as _0x417691,UserView as _0xb1992}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x78f9a6}from'ckeditor5/src/core.js';function _0x3497(){const _0x4e8a91=['enter','getUserViewNotificationText','isExternal','bindTemplate','10nqMaku','.ck-annotation__content-wrapper','add','time','ck-suggestion__user','querySelector','change:description','cancel','userView','check','EXTERNAL_IMPORT_WORD_AVATAR','presentation','formatDateTime','target','fire','focusCycler','ck-comment__info-time','listenTo','focusables','div','attributes','execute','render','_setupKeyboardNavigation','tab','ck-annotation__content-wrapper','extendTemplate','acceptButton','ck-suggestion__main','Discard\x20suggestion','3069990LJCZRT','focusFirst','shift+tab','@external','locale','ck-comment__external','ck-annotation','48QaaWUJ','getTemplate','_createButton','discardSuggestion','getExternalSuggestionNote','_model','ck-suggestion','name','keystrokes','ck-annotation__actions','4746968qkfWvY','element','span','focus','4006816VqFQsG','ck-annotation__info-time','Accept\x20suggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','source','author','importWord','ck-annotation__main','acceptSuggestion','ck-suggestion__actions','set','description','ck-suggestion--discard','_config','106325RyUReR','EXTERNAL_AVATAR','esc','8601957YsUHHy','127846bfxUWQ','EXTERNAL_SUGGESTION','setTemplate','push','focusTracker','bind','425589QfUeNz','ck-annotation__user','creator','ck-annotation__info','innerHTML','ck-suggestion--accept','ck-suggestion__info-name','ck-suggestion__info','authoredAt','ck-annotation__info-name'];_0x3497=function(){return _0x4e8a91;};return _0x3497();}import{getTranslation as _0x40c55e}from'../../utils/common-translations.js';export default class ce extends _0x23021b{constructor(_0x2cdf17,_0x14c4f9,_0x3a5a69){const _0x331d8e=_0x1e16;super(_0x2cdf17),this[_0x331d8e(0xd8)]=_0x14c4f9,this[_0x331d8e(0xef)]=_0x3a5a69,this[_0x331d8e(0xec)](_0x331d8e(0xed),''),this[_0x331d8e(0x9f)](_0x331d8e(0xa8))['to'](_0x14c4f9),this[_0x331d8e(0xc9)]=this[_0x331d8e(0xd5)](_0x40c55e(_0x2cdf17,_0x331d8e(0xe3)),_0x78f9a6[_0x331d8e(0xb7)],_0x331d8e(0xa5),_0x331d8e(0xea),'sw'),this[_0x331d8e(0xe5)]=this[_0x331d8e(0xd5)](_0x40c55e(_0x2cdf17,_0x331d8e(0xcb)),_0x78f9a6[_0x331d8e(0xb5)],_0x331d8e(0xee),_0x331d8e(0xd6),'sw'),this[_0x331d8e(0xb6)]=new _0xb1992(_0x2cdf17,_0x14c4f9[_0x331d8e(0xe7)],this[_0x331d8e(0xab)]()),this[_0x331d8e(0xb6)][_0x331d8e(0xc8)]({'attributes':{'class':[_0x331d8e(0xb2),_0x331d8e(0xa1)],'aria-hidden':!0x0}}),this[_0x331d8e(0xc0)]=new _0x1e1511([this[_0x331d8e(0xc9)],this[_0x331d8e(0xe5)]]),this[_0x331d8e(0x9e)]=new _0x20da3d(),this[_0x331d8e(0xdb)]=new _0x2b4f5f(),this[_0x331d8e(0xbd)]=new _0x4941a9({'focusables':this[_0x331d8e(0xc0)],'focusTracker':this[_0x331d8e(0x9e)],'keystrokeHandler':this[_0x331d8e(0xdb)],'actions':{'focusPrevious':_0x331d8e(0xce),'focusNext':_0x331d8e(0xc6)},'keystrokeHandlerOptions':{'filter':_0x428da6=>_0x428da6[_0x331d8e(0xbb)]!==this[_0x331d8e(0xde)]}}),this[_0x331d8e(0x9c)](this[_0x331d8e(0xd4)]());}[_0x485b77(0xc4)](){const _0x1aeef6=_0x485b77;super[_0x1aeef6(0xc4)]();const _0x4dad1b=this[_0x1aeef6(0xde)][_0x1aeef6(0xb3)](_0x1aeef6(0xaf));_0x4dad1b[_0x1aeef6(0xa4)]=this[_0x1aeef6(0xed)],this['on'](_0x1aeef6(0xb4),(_0x7579ab,_0x114f4c,_0x407342)=>{const _0x11a0e4=_0x1aeef6;_0x4dad1b[_0x11a0e4(0xa4)]=_0x407342;}),this[_0x1aeef6(0xc5)]();}[_0x485b77(0xd4)](){const _0x1e0112=_0x485b77,_0x187689=this[_0x1e0112(0xad)],_0x2f23a8=[{'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xa7),_0x1e0112(0xa3)]},'children':[{'tag':_0x1e0112(0xdf),'children':[{'text':this[_0x1e0112(0xb6)][_0x1e0112(0xda)]}],'attributes':{'class':[_0x1e0112(0xa6),_0x1e0112(0xa9)]}},{'tag':_0x1e0112(0xb1),'attributes':{'datetime':_0x187689['to'](_0x1e0112(0xa8)),'class':[_0x1e0112(0xbe),_0x1e0112(0xe2)]},'children':[{'text':_0x187689['to'](_0x1e0112(0xa8),_0x6298e3=>this[_0x1e0112(0xef)][_0x1e0112(0xba)](_0x6298e3))}]}]},{'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xeb),_0x1e0112(0xdc)]},'children':[this[_0x1e0112(0xc9)],this[_0x1e0112(0xe5)]]},{'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xc7)]}}];return this[_0x1e0112(0xd8)][_0x1e0112(0xac)]&&_0x2f23a8[_0x1e0112(0x9d)]({'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xd1)]},'children':[{'text':this[_0x1e0112(0xd7)]()}]}),{'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xd9),_0x1e0112(0xd2)],'tabindex':-0x1},'children':[this[_0x1e0112(0xb6)],{'tag':_0x1e0112(0xc1),'attributes':{'class':[_0x1e0112(0xca),_0x1e0112(0xe9)],'role':_0x1e0112(0xb9)},'children':_0x2f23a8}]};}[_0x485b77(0xe0)](){const _0x4ad082=_0x485b77;this[_0x4ad082(0xde)][_0x4ad082(0xe0)]();}[_0x485b77(0xab)](){const _0x5eb48d=_0x485b77;return this[_0x5eb48d(0xd8)][_0x5eb48d(0xac)]?_0x5eb48d(0xe8)===this[_0x5eb48d(0xd8)][_0x5eb48d(0xc2)][_0x5eb48d(0xcf)][_0x5eb48d(0xe6)]?_0x40c55e(this[_0x5eb48d(0xd0)],_0x5eb48d(0xb8),this[_0x5eb48d(0xd8)][_0x5eb48d(0xa2)][_0x5eb48d(0xda)]):_0x40c55e(this[_0x5eb48d(0xd0)],_0x5eb48d(0xf1),this[_0x5eb48d(0xd8)][_0x5eb48d(0xa2)][_0x5eb48d(0xda)]):null;}[_0x485b77(0xd7)](){const _0x26992a=_0x485b77;return _0x26992a(0xe8)===this[_0x26992a(0xd8)][_0x26992a(0xc2)][_0x26992a(0xcf)][_0x26992a(0xe6)]?_0x40c55e(this[_0x26992a(0xd0)],_0x26992a(0xe4)):_0x40c55e(this[_0x26992a(0xd0)],_0x26992a(0x9b));}[_0x485b77(0xd5)](_0x59b957,_0x305f2c,_0x3254b9,_0x240146,_0x623fd4){const _0x442bee=_0x485b77,_0xb1c1ae=new _0x417691(this[_0x442bee(0xd0)]);return _0xb1c1ae[_0x442bee(0xec)]({'label':_0x59b957,'icon':_0x305f2c,'tooltip':!0x0,'tooltipPosition':_0x623fd4}),_0xb1c1ae[_0x442bee(0xc8)]({'attributes':{'class':_0x3254b9}}),_0xb1c1ae['on'](_0x442bee(0xc3),()=>{const _0x4958a3=_0x442bee;this[_0x4958a3(0xbc)](_0x240146,this[_0x4958a3(0xd8)]['id']);}),_0xb1c1ae;}[_0x485b77(0xc5)](){const _0x55d8e4=_0x485b77,_0x18781f=this[_0x55d8e4(0xde)];this[_0x55d8e4(0xdb)][_0x55d8e4(0xbf)](_0x18781f);for(const _0x1fb05d of this[_0x55d8e4(0xc0)])this[_0x55d8e4(0x9e)][_0x55d8e4(0xb0)](_0x1fb05d[_0x55d8e4(0xde)]),this[_0x55d8e4(0xdb)][_0x55d8e4(0xbf)](_0x1fb05d[_0x55d8e4(0xde)]);this[_0x55d8e4(0xdb)][_0x55d8e4(0xec)](_0x55d8e4(0xaa),(_0x41b81e,_0x2b6e03)=>{const _0x5b4593=_0x55d8e4;_0x18781f===_0x41b81e[_0x5b4593(0xbb)]&&(this[_0x5b4593(0xbd)][_0x5b4593(0xcd)](),_0x2b6e03());}),this[_0x55d8e4(0xdb)][_0x55d8e4(0xec)](_0x55d8e4(0xf2),(_0x1819e2,_0x57b53d)=>{const _0x3b7367=_0x55d8e4;_0x18781f!==_0x1819e2[_0x3b7367(0xbb)]&&(this[_0x3b7367(0xe0)](),_0x57b53d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5ba3b4,_0x5e62d,_0x46669d){const t=_0x5ba3b4['t'];switch(_0x5e62d){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',_0x46669d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x46669d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x46669d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x46669d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x46669d);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',_0x46669d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x46669d);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',_0x46669d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x46669d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x46669d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x46669d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x46669d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x46669d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x46669d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x46669d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x46669d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x46669d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x46669d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x46669d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x46669d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x46669d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x46669d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x46669d);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'},_0x46669d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x46669d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x46669d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x46669d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x46669d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x46669d);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'},_0x46669d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x46669d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x46669d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x46669d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x46669d);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'},_0x46669d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x46669d);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'},_0x46669d);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'},_0x46669d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x46669d);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'},_0x46669d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x46669d);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'},_0x46669d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x46669d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x46669d);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'},_0x46669d);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'},_0x46669d);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'},_0x46669d);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x46669d);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'},_0x46669d);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'},_0x46669d);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'},_0x46669d);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5e62d;}}
|
|
23
|
+
export function getTranslation(_0x21acff,_0x5255c9,_0x24454f){const t=_0x21acff['t'];switch(_0x5255c9){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',_0x24454f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x24454f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x24454f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x24454f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x24454f);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',_0x24454f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x24454f);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',_0x24454f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x24454f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x24454f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x24454f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x24454f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x24454f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x24454f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x24454f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x24454f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x24454f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x24454f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x24454f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x24454f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x24454f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x24454f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x24454f);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'},_0x24454f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x24454f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x24454f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x24454f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x24454f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x24454f);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'},_0x24454f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x24454f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x24454f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x24454f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x24454f);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'},_0x24454f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x24454f);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'},_0x24454f);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'},_0x24454f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x24454f);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'},_0x24454f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x24454f);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'},_0x24454f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x24454f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x24454f);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'},_0x24454f);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'},_0x24454f);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'},_0x24454f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x24454f);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'},_0x24454f);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'},_0x24454f);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'},_0x24454f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5255c9;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2febdc,_0x51dc41){const _0x24eda0=_0x1b25,_0x85237d=_0x2febdc();while(!![]){try{const _0x36d80d=-parseInt(_0x24eda0(0x119))/0x1+parseInt(_0x24eda0(0x121))/0x2*(-parseInt(_0x24eda0(0x125))/0x3)+-parseInt(_0x24eda0(0x129))/0x4*(-parseInt(_0x24eda0(0x10d))/0x5)+-parseInt(_0x24eda0(0x12c))/0x6+-parseInt(_0x24eda0(0x101))/0x7*(parseInt(_0x24eda0(0x131))/0x8)+-parseInt(_0x24eda0(0x109))/0x9+-parseInt(_0x24eda0(0x113))/0xa*(-parseInt(_0x24eda0(0xff))/0xb);if(_0x36d80d===_0x51dc41)break;else _0x85237d['push'](_0x85237d['shift']());}catch(_0x4fa669){_0x85237d['push'](_0x85237d['shift']());}}}(_0x58b6,0x357ec));export function normalizeDescription(_0x5cca0f){const _0x11fd87=_0x1b25;return Array[_0x11fd87(0x12a)](_0x5cca0f)||(_0x5cca0f=[_0x5cca0f]),_0x5cca0f[_0x11fd87(0x127)](_0x3bfbec=>{const _0x40b1e0=_0x11fd87,_0x3e6dff=_0x3bfbec[_0x40b1e0(0x11a)][_0x40b1e0(0x11c)](/\*/g,''),_0x195bdd=_0x3bfbec[_0x40b1e0(0x102)]?_0x40b1e0(0x10a)+_0x3bfbec[_0x40b1e0(0x102)][_0x40b1e0(0x12b)]+']':'';return'['+_0x3bfbec[_0x40b1e0(0x105)]+']\x20'+_0x3e6dff+_0x195bdd;})[_0x11fd87(0x120)](';\x20');}export function renderDescription(_0x1e8837,_0x2cad7d){const _0x5b4cb0=_0x1b25;let _0x1ff850='';return _0x1ff850+=_0x1e8837[_0x5b4cb0(0x128)]('*')[_0x5b4cb0(0x127)]((_0x387680,_0x2c5fa5)=>_0x2c5fa5%0x2!=0x0?_0x5b4cb0(0x115)+nn(_0x387680)+_0x5b4cb0(0x10e):nn(_0x387680))[_0x5b4cb0(0x120)](''),_0x2cad7d&&(_0x1ff850+=_0x5b4cb0(0x133)+_0x2cad7d[_0x5b4cb0(0x12b)]+_0x5b4cb0(0x10f)+_0x2cad7d[_0x5b4cb0(0x103)]+_0x5b4cb0(0x118)),_0x1ff850;}function nn(_0x28ea9c){const _0x578079=_0x1b25,_0x359262=document[_0x578079(0x130)](_0x578079(0x12e));return _0x359262[_0x578079(0x114)]=_0x28ea9c,_0x359262[_0x578079(0x10c)];}export function sortSuggestions(_0x3a8729){const _0x3affb5=_0x1b25;return _0x3a8729[_0x3affb5(0x123)]((_0x383b29,_0x3187cb)=>_0x3affb5(0x112)==_0x383b29[_0x3affb5(0x105)]&&_0x3affb5(0x112)!=_0x3187cb[_0x3affb5(0x105)]?-0x1:_0x3affb5(0x112)!=_0x383b29[_0x3affb5(0x105)]&&_0x3affb5(0x112)==_0x3187cb[_0x3affb5(0x105)]?0x1:0x0);}function _0x1b25(_0x26d700,_0x508136){const _0x58b612=_0x58b6();return _0x1b25=function(_0x1b25ee,_0x203774){_0x1b25ee=_0x1b25ee-0xfe;let _0x679ebb=_0x58b612[_0x1b25ee];return _0x679ebb;},_0x1b25(_0x26d700,_0x508136);}export function getSelectedSuggestions(_0x16aeba,_0x4fedbc){const _0x316dd6=_0x1b25,_0x29dcff=Array[_0x316dd6(0x100)](_0x16aeba[_0x316dd6(0x126)]()),_0x4646b0=new Set();for(const _0x108257 of _0x4fedbc)if(_0x108257[_0x316dd6(0x104)]){for(const _0x2feb5a of _0x29dcff)for(const _0x40969c of _0x108257[_0x316dd6(0x126)]())(_0x2feb5a[_0x316dd6(0x12f)](_0x40969c)||_0x16aeba[_0x316dd6(0x124)]&&!_0x108257[_0x316dd6(0x11d)]&&_0x108257[_0x316dd6(0x11f)]&&_0x40969c[_0x316dd6(0x132)][_0x316dd6(0x117)](_0x2feb5a[_0x316dd6(0x107)]))&&_0x4646b0[_0x316dd6(0x110)](_0x108257);}return _0x4646b0;}export function getRangesOfBlockGroups(_0x3e63d7,_0x4d645e){const _0x360088=_0x1b25;let _0x24fbb0,_0x334ec4=0x0;const _0x39aac7=[],_0xef0a41=_0x4d645e[_0x360088(0xfe)];for(;_0x334ec4<_0x3e63d7[_0x360088(0x12d)];){const _0x77dde=_0x3e63d7[_0x334ec4],_0x4f74fc=_0x3e63d7[_0x334ec4+0x1];_0x24fbb0||(_0x24fbb0=_0x4d645e[_0x360088(0x134)](_0x77dde)),on(_0x4d645e,_0x77dde,_0x4f74fc)||(_0x39aac7[_0x360088(0x106)](_0x4d645e[_0x360088(0x111)](_0x24fbb0,_0xef0a41[_0x360088(0x11e)](_0x77dde)?_0x4d645e[_0x360088(0x11b)](_0x77dde):_0x4d645e[_0x360088(0x10b)](_0x77dde,_0x360088(0x132)))),_0x24fbb0=null),_0x334ec4++;}return _0x39aac7;}function on(_0x37ae28,_0x2a1bec,_0x22fae0){const _0xf046d3=_0x1b25;if(!_0x22fae0)return!0x1;const _0x4c82c0=_0x37ae28[_0xf046d3(0x11b)](_0x2a1bec),_0x593309=_0x37ae28[_0xf046d3(0x134)](_0x22fae0);return _0x4c82c0[_0xf046d3(0x117)](_0x593309);}function _0x58b6(){const _0x2e0336=['push','start','execute','3625749KPjvsy','\x20[color\x20','createPositionAt','innerHTML','65eADFwr','</span>','\x22\x20title=\x22','add','createRange','deletion','10nzWENK','innerText','<span\x20class=\x22ck-suggestion-type\x22>','splice','isTouching','\x22></span>','243113ofEaeA','content','createPositionAfter','replace','isMultiRange','isObject','next','join','74BLrPqU','change','sort','isCollapsed','26157rPYLZv','getRanges','map','split','27788CAadPU','isArray','value','1851438iqxvYQ','length','span','isIntersecting','createElement','979752ZAosIl','end','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionBefore','schema','18159823nPiogH','from','14KPVkWH','color','title','isInContent','type'];_0x58b6=function(){return _0x2e0336;};return _0x58b6();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x48391a,_0x54da48,_0x25b669){const _0x3116c2=_0x1b25;for(;_0x25b669[_0x3116c2(0x12d)];){const _0x4cccbf=_0x25b669[_0x3116c2(0x116)](0x0,0x64);_0x48391a[_0x3116c2(0x122)](()=>{const _0x125c03=_0x3116c2;for(const _0x1ac655 of _0x4cccbf)_0x1ac655[_0x125c03(0x104)]&&_0x54da48[_0x125c03(0x108)](_0x1ac655['id']);});}}
|