@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240718.0 → 0.0.0-nightly-20240720.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 +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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/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 _0x1682af=_0x4917;(function(_0x12f4c9,_0x316c66){const _0x155a93=_0x4917,_0x93153e=_0x12f4c9();while(!![]){try{const _0x5689e0=-parseInt(_0x155a93(0x23c))/0x1+parseInt(_0x155a93(0x20d))/0x2*(parseInt(_0x155a93(0x1d1))/0x3)+-parseInt(_0x155a93(0x244))/0x4*(parseInt(_0x155a93(0x22e))/0x5)+-parseInt(_0x155a93(0x202))/0x6*(-parseInt(_0x155a93(0x236))/0x7)+-parseInt(_0x155a93(0x21f))/0x8*(-parseInt(_0x155a93(0x1e4))/0x9)+-parseInt(_0x155a93(0x1ed))/0xa*(parseInt(_0x155a93(0x1e7))/0xb)+-parseInt(_0x155a93(0x206))/0xc;if(_0x5689e0===_0x316c66)break;else _0x93153e['push'](_0x93153e['shift']());}catch(_0x1f7916){_0x93153e['push'](_0x93153e['shift']());}}}(_0x17ff,0xae642));import{Plugin as _0x36cf44}from'ckeditor5/src/core.js';import{Collection as _0x153a2c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xb87402,createDropdown as _0xa3024e,ListSeparatorView as _0x38d5c8,MenuBarMenuView as _0x392198,MenuBarMenuListView as _0x3aa544,MenuBarMenuListItemView as _0x32854f,MenuBarMenuListItemButtonView as _0x17501f,SplitButtonView as _0x4b15c3,ViewModel as _0xa1be23}from'ckeditor5/src/ui.js';function _0x17ff(){const _0x59f99f=['createAnnotation','acceptAllSuggestions','666CffxcR','registerAnnotation','buttonView','185218vFMeJs','isMultiRange','suggestion-','_handleControllerBuffer','discardAllSuggestions','editing','230TRSMqk','add','createCommentThreadController','_disableComments','delete','init','view','keys','addComment','suggestionUnloaded','push','execute','_bindAnnotationToEditors','menuitem','commands','addSourceCollector','focus','_updateController','pluginName','locale','_initializeController','138OkKeHy','hasSuggestion','comments.maxThreadTotalWeight','clear','13506216ezURGl','_refreshActiveMarkers','menuitemcheckbox','plugins','_handleSuggestionControllerDelayed','comments.maxCommentCharsWhenCollapsed','getByInnerView','2640214iJMHqY','Track\x20changes','editor','menu','suggestionChanged','discardButton','change:activeAnnotations','commandName','reduce','source','destroy','remove','getJoined','type','config','activeAnnotations','previous','value','133808SqipHu','listenTo','CommentsRepository','suggestionLoaded','filter','activeMarkers','items','getAllAdjacentSuggestions','acceptSelectedSuggestions','unbind','menuBar:trackChanges','createAnnotationView','acceptButton','innerView','refreshSelectedViews','1480PUXnrz','children','stopListening','actionView','set','lowest','button','trackChanges.disableComments','135513sJObFw','_suggestionToController','delegate','requires','CommentsUI','model','165342bUuigS','Discard\x20all\x20suggestions','_addUIComponentsToFactory','head','Annotations','_destroyController','Accept\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','8252KUJKee','CommentView','has','arrowView','comments.editorConfig','trackChanges.SuggestionThreadView','descriptionParts','switchbutton','isOn','Accept\x20all\x20suggestions','getMarkerNames','EditorAnnotations','trackChanges','_createMenuBarMenu','discardSelectedSuggestions','TrackChangesEditing','commentThread','getRanges','get','bind','toMany','values','getMarkers','from','mainView','SuggestionThreadView','isEnabled','isInContent','separator','getSuggestion','componentFactory','TrackChangesUI','3FkACQI','size','length','Discard\x20all\x20selected\x20suggestions','change:previous','_unbindEditors','descriptionFactory','some','getDescriptions','_createToolbarButton','_viewToController','isDirty','define','getFirstRange','_annotationViews','comments','panelView'];_0x17ff=function(){return _0x59f99f;};return _0x17ff();}import{Users as _0x1ccd00,getDateTimeFormatter as _0x395fe8,getAllMarkersDomElementsSorted as _0xf79273}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x41be85 from'./trackchangesediting.js';import _0x4d064c from'./ui/suggestioncontroller.js';import _0x32dc88 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x399dfc}from'./utils/common-translations.js';import _0x5735ba from'../theme/icons/track-changes.svg';function _0x4917(_0x1f5a14,_0x56a639){const _0x17ff13=_0x17ff();return _0x4917=function(_0x491750,_0x5d4f1c){_0x491750=_0x491750-0x1c0;let _0xdf7314=_0x17ff13[_0x491750];return _0xdf7314;},_0x4917(_0x1f5a14,_0x56a639);}export default class d extends _0x36cf44{static get[_0x1682af(0x239)](){const _0x24806e=_0x1682af;return[_0x41be85,_0x1ccd00,_0x24806e(0x221),_0x24806e(0x240),_0x24806e(0x24f)];}static get[_0x1682af(0x1ff)](){const _0x1d8add=_0x1682af;return _0x1d8add(0x1d0);}constructor(_0x4766c0){const _0x51505f=_0x1682af;super(_0x4766c0),this[_0x51505f(0x237)]=new Map(),this[_0x51505f(0x1db)]=new Map(),this[_0x51505f(0x1df)]=new Map(),this[_0x51505f(0x1ea)]=new Map();const _0x34f4b8=this[_0x51505f(0x20f)][_0x51505f(0x21b)];_0x34f4b8[_0x51505f(0x1dd)](_0x51505f(0x249),_0x32dc88),_0x34f4b8[_0x51505f(0x1dd)](_0x51505f(0x235),!0x1),this[_0x51505f(0x1f0)]=_0x34f4b8[_0x51505f(0x1c3)](_0x51505f(0x235));}[_0x1682af(0x20a)](_0x89aa09,_0x429d67){const _0x50e6f6=_0x1682af;0x0===this[_0x50e6f6(0x1ea)][_0x50e6f6(0x1d2)]&&setTimeout(()=>{const _0x270c25=_0x50e6f6;for(const [_0x263b8e,_0x22d44d]of this[_0x270c25(0x1ea)]){const _0x1c3b70=this[_0x270c25(0x237)][_0x270c25(0x246)](_0x263b8e);_0x1c3b70||_0x22d44d?_0x1c3b70&&_0x22d44d&&this[_0x270c25(0x241)](_0x263b8e):this[_0x270c25(0x201)](_0x263b8e);}this[_0x270c25(0x1ea)][_0x270c25(0x205)](),this[_0x270c25(0x20f)][_0x270c25(0x209)][_0x270c25(0x1c3)](_0x270c25(0x24f))[_0x270c25(0x22d)](),this[_0x270c25(0x207)]();},0xa),this[_0x50e6f6(0x1ea)][_0x50e6f6(0x232)](_0x89aa09,_0x429d67);}[_0x1682af(0x1f2)](){const _0x196db2=_0x1682af,_0x88439b=this[_0x196db2(0x20f)],_0x1fee39=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x1c0)),_0x1dfbb3=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x240)),_0x58a775=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x24f)),_0x3aa7e5=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x221));this[_0x196db2(0x23e)](),_0x58a775[_0x196db2(0x1fc)](()=>{const _0x7ac884=_0x196db2,_0x1d9526=[];for(const [_0x4ffffa,_0x4a4ac0]of Array[_0x7ac884(0x1c8)](this[_0x7ac884(0x237)])){const _0x2a1d39=_0x4ffffa[_0x7ac884(0x226)](),_0x5cd8eb=[];for(const _0x200495 of _0x2a1d39){if(!_0x200495[_0x7ac884(0x1cc)])continue;if(_0x200495[_0x7ac884(0x1e8)]){_0x5cd8eb[_0x7ac884(0x1f7)](..._0x200495[_0x7ac884(0x1c2)]());continue;}const _0x334cf7=_0x200495[_0x7ac884(0x1de)]();if(_0x5cd8eb[_0x7ac884(0x1d3)]>0x0){const _0x531bdf=_0x5cd8eb[0x0][_0x7ac884(0x219)](_0x334cf7);if(_0x531bdf){_0x5cd8eb[0x0]=_0x531bdf;continue;}}_0x5cd8eb[_0x7ac884(0x1f7)](_0x334cf7);}_0x1d9526[_0x7ac884(0x1f7)]([_0x4a4ac0[_0x7ac884(0x1f3)],_0x5cd8eb]);}return _0x1d9526;}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x222),(_0x243129,_0x1aa1a2)=>{const _0x3bbf50=_0x196db2;this[_0x3bbf50(0x220)](_0x1aa1a2,_0x3bbf50(0x1d5),(_0x2b7c29,_0x417965,_0x29fd3e,_0x3fc9a3)=>{const _0x2d2d1a=_0x3bbf50;_0x1aa1a2[_0x2d2d1a(0x1cc)]&&(null==_0x29fd3e?(this[_0x2d2d1a(0x1fe)](_0x3fc9a3[_0x2d2d1a(0x23f)]),this[_0x2d2d1a(0x20a)](_0x1aa1a2,!0x1)):(this[_0x2d2d1a(0x1fe)](_0x29fd3e[_0x2d2d1a(0x23f)]),null==_0x3fc9a3&&this[_0x2d2d1a(0x20a)](_0x1aa1a2,!0x0)));}),null!==_0x1aa1a2[_0x3bbf50(0x21d)]?this[_0x3bbf50(0x1fe)](_0x1aa1a2[_0x3bbf50(0x23f)]):this[_0x3bbf50(0x20a)](_0x1aa1a2,!0x1);}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x1f6),(_0x514340,_0x43e66d,_0x3a3b62)=>{const _0x10baa0=_0x196db2;this[_0x10baa0(0x230)](_0x43e66d,_0x10baa0(0x1d5)),this[_0x10baa0(0x1ea)][_0x10baa0(0x1f1)](_0x43e66d),this[_0x10baa0(0x237)][_0x10baa0(0x246)](_0x43e66d)&&this[_0x10baa0(0x241)](_0x43e66d),_0x3a3b62&&this[_0x10baa0(0x1fe)](_0x3a3b62[_0x10baa0(0x23f)]);}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x211),(_0x52743d,_0xf21fc5)=>{const _0x4626bc=_0x196db2;this[_0x4626bc(0x1fe)](_0xf21fc5);}),this[_0x196db2(0x220)](_0x1dfbb3,_0x196db2(0x213),()=>{const _0x2b58b7=_0x196db2;this[_0x2b58b7(0x207)]();}),this[_0x196db2(0x220)](_0x3aa7e5,_0x196db2(0x1f5),(_0x49169d,{threadId:_0x51ae86,isFromAdapter:_0x16aff7})=>{const _0x4996fa=_0x196db2;if(_0x16aff7||!_0x1fee39[_0x4996fa(0x203)](_0x51ae86))return;const _0x3a824c=_0x1fee39[_0x4996fa(0x1ce)](_0x51ae86);this[_0x4996fa(0x237)][_0x4996fa(0x1c3)](_0x3a824c)[_0x4996fa(0x1f3)][_0x4996fa(0x1fd)]();},{'priority':_0x196db2(0x233)});}[_0x1682af(0x207)](){const _0x112d81=_0x1682af,_0x39f26b=this[_0x112d81(0x20f)][_0x112d81(0x209)][_0x112d81(0x1c3)](_0x112d81(0x240)),_0x1d98eb=this[_0x112d81(0x20f)][_0x112d81(0x209)][_0x112d81(0x1c3)](_0x112d81(0x1c0)),_0x5194f5=Array[_0x112d81(0x1c8)](_0x39f26b[_0x112d81(0x21c)],_0x2dd1c9=>_0x2dd1c9[_0x112d81(0x22c)])[_0x112d81(0x223)](_0x3384ca=>this[_0x112d81(0x1db)][_0x112d81(0x246)](_0x3384ca)),_0x4e78fc=[];for(const _0x2511f5 of _0x5194f5){const _0x1ef92a=this[_0x112d81(0x1db)][_0x112d81(0x1c3)](_0x2511f5)[_0x112d81(0x23b)][_0x112d81(0x226)]();_0x4e78fc[_0x112d81(0x1f7)](..._0x1ef92a[_0x112d81(0x215)]((_0x24af26,_0xb5515e)=>[..._0x24af26,..._0xb5515e[_0x112d81(0x24e)]()],[]));}_0x1d98eb[_0x112d81(0x224)]=_0x4e78fc;}[_0x1682af(0x23e)](){const _0x6aeadc=_0x1682af,_0x1371fd=this[_0x6aeadc(0x20f)],_0x212bfa=_0x1371fd[_0x6aeadc(0x200)],_0x1caf9c=_0x399dfc(_0x212bfa,_0x6aeadc(0x20e)),_0x188cab=new _0x153a2c([{'type':_0x6aeadc(0x24b),'model':new _0xa1be23({'withText':!0x0,'isToggleable':!0x0,'label':_0x1caf9c,'commandName':_0x6aeadc(0x250),'role':_0x6aeadc(0x208)})},{'type':_0x6aeadc(0x1cd)},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x24d)),'commandName':_0x6aeadc(0x1e3),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x242)),'commandName':_0x6aeadc(0x227),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x23d)),'commandName':_0x6aeadc(0x1eb),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x1d4)),'commandName':_0x6aeadc(0x252),'role':_0x6aeadc(0x1fa)})}]);for(const _0x534ad6 of _0x188cab)if(re(_0x534ad6)){const _0x823e70=_0x1371fd[_0x6aeadc(0x1fb)][_0x6aeadc(0x1c3)](_0x534ad6[_0x6aeadc(0x23b)][_0x6aeadc(0x214)]);_0x534ad6[_0x6aeadc(0x23b)][_0x6aeadc(0x1c4)](_0x6aeadc(0x24c),_0x6aeadc(0x1cb))['to'](_0x823e70,_0x6aeadc(0x21e),_0x6aeadc(0x1cb));}_0x1371fd['ui'][_0x6aeadc(0x1cf)][_0x6aeadc(0x1ee)](_0x6aeadc(0x250),_0x5b4206=>this[_0x6aeadc(0x1da)](_0x5b4206,_0x188cab,_0x1caf9c)),_0x1371fd['ui'][_0x6aeadc(0x1cf)][_0x6aeadc(0x1ee)](_0x6aeadc(0x229),_0x5f1d78=>this[_0x6aeadc(0x251)](_0x5f1d78,_0x188cab,_0x1caf9c));}[_0x1682af(0x1da)](_0x29d86a,_0x5943a3,_0x48b464){const _0x28c0bc=_0x1682af,_0x8ee0e6=_0xa3024e(_0x29d86a,_0x4b15c3),_0x599d0d=this[_0x28c0bc(0x20f)][_0x28c0bc(0x1fb)][_0x28c0bc(0x1c3)](_0x28c0bc(0x250));_0x8ee0e6[_0x28c0bc(0x1e6)][_0x28c0bc(0x232)]({'tooltip':_0x48b464,'label':_0x48b464,'icon':_0x5735ba}),_0x8ee0e6[_0x28c0bc(0x1e6)][_0x28c0bc(0x1c4)](_0x28c0bc(0x24c))['to'](_0x599d0d,_0x28c0bc(0x21e)),_0x8ee0e6[_0x28c0bc(0x1e6)]['on'](_0x28c0bc(0x1f8),()=>{const _0x11e272=_0x28c0bc;_0x599d0d[_0x11e272(0x1f8)](),this[_0x11e272(0x20f)][_0x11e272(0x1ec)][_0x11e272(0x1f3)][_0x11e272(0x1fd)]();}),_0xb87402(_0x8ee0e6,_0x5943a3,{'role':_0x28c0bc(0x210)});const _0x74d02=[];for(const _0x4720cd of _0x5943a3)re(_0x4720cd)&&_0x74d02[_0x28c0bc(0x1f7)](this[_0x28c0bc(0x20f)][_0x28c0bc(0x1fb)][_0x28c0bc(0x1c3)](_0x4720cd[_0x28c0bc(0x23b)][_0x28c0bc(0x214)]));const _0x501327=_0x8ee0e6[_0x28c0bc(0x1e6)];return _0x501327[_0x28c0bc(0x231)][_0x28c0bc(0x228)](_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x247)][_0x28c0bc(0x228)](_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x231)][_0x28c0bc(0x1c4)](_0x28c0bc(0x1cb))['to'](_0x599d0d,_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x247)][_0x28c0bc(0x1c4)](_0x28c0bc(0x1cb))[_0x28c0bc(0x1c5)](_0x74d02,_0x28c0bc(0x1cb),(..._0x29e940)=>_0x29e940[_0x28c0bc(0x1d8)](_0x2c9f94=>_0x2c9f94)),_0x8ee0e6['on'](_0x28c0bc(0x1f8),_0xeaf7a0=>{const _0x248067=_0x28c0bc;this[_0x248067(0x20f)][_0x248067(0x1f8)](_0xeaf7a0[_0x248067(0x216)][_0x248067(0x214)]),this[_0x248067(0x20f)][_0x248067(0x1ec)][_0x248067(0x1f3)][_0x248067(0x1fd)]();}),_0x8ee0e6;}[_0x1682af(0x251)](_0xd594fb,_0x3b5b9d,_0x2fbd4a){const _0x575d76=_0x1682af,_0x4d374d=new _0x392198(_0xd594fb),_0x45e7fa=this[_0x575d76(0x20f)][_0x575d76(0x1fb)][_0x575d76(0x1c3)](_0x575d76(0x250));_0x4d374d[_0x575d76(0x1e6)][_0x575d76(0x232)]({'label':_0x2fbd4a,'icon':_0x5735ba});const _0x32d829=new _0x3aa544(_0xd594fb);for(const _0x47c2dd of _0x3b5b9d){if(_0x575d76(0x1cd)==_0x47c2dd[_0x575d76(0x21a)]){_0x32d829[_0x575d76(0x225)][_0x575d76(0x1ee)](new _0x38d5c8(_0xd594fb));continue;}const _0xaaab71=new _0x32854f(_0xd594fb,_0x4d374d),_0x3622a6=new _0x17501f(_0xd594fb),_0x3b2ffe=_0x47c2dd[_0x575d76(0x23b)];_0x3622a6[_0x575d76(0x1c4)](...Object[_0x575d76(0x1f4)](_0x3b2ffe))['to'](_0x3b2ffe),_0x3622a6[_0x575d76(0x238)](_0x575d76(0x1f8))['to'](_0x4d374d),_0x3622a6['on'](_0x575d76(0x1f8),()=>{const _0x464140=_0x575d76;this[_0x464140(0x20f)][_0x464140(0x1f8)](_0x3b2ffe[_0x464140(0x214)]),this[_0x464140(0x20f)][_0x464140(0x1ec)][_0x464140(0x1f3)][_0x464140(0x1fd)]();}),_0xaaab71[_0x575d76(0x22f)][_0x575d76(0x1ee)](_0x3622a6),_0x32d829[_0x575d76(0x225)][_0x575d76(0x1ee)](_0xaaab71);}return _0x4d374d[_0x575d76(0x1c4)](_0x575d76(0x1cb))['to'](_0x45e7fa,_0x575d76(0x1cb)),_0x4d374d[_0x575d76(0x1e1)][_0x575d76(0x22f)][_0x575d76(0x1ee)](_0x32d829),_0x4d374d;}[_0x1682af(0x201)](_0x1bcd8){const _0x1b476a=_0x1682af,_0x3a0e01=this[_0x1b476a(0x20f)],_0x3c9185=_0x3a0e01[_0x1b476a(0x21b)],_0x5882b3=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x240)),_0x2d1cbe=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x221)),_0x34b83e=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x24f)),_0x3e5288=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1ccd00)['me'],_0x566581=_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x250))[_0x1b476a(0x1ca)],{CommentsListView:_0x51e92f,CommentThreadInputView:_0xf8753c}=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x23a));let _0x13982d,_0x529035;this[_0x1b476a(0x1df)][_0x1b476a(0x246)](_0x1bcd8['id'])?(_0x529035=this[_0x1b476a(0x1df)][_0x1b476a(0x1c3)](_0x1bcd8['id']),_0x13982d=_0x529035[_0x1b476a(0x1c9)]):(_0x13982d=new _0x566581(_0x3a0e01[_0x1b476a(0x200)],_0x1bcd8,_0x3e5288,{'disableComments':this[_0x1b476a(0x1f0)],'editorConfig':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x248)),'maxCommentsWhenCollapsed':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x243)),'maxThreadTotalWeight':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x204)),'maxCommentCharsWhenCollapsed':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x20b)),'formatDateTime':_0x395fe8(_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x200))),'CommentView':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x1e0))[_0x1b476a(0x245)],'CommentsListView':_0x51e92f,'CommentThreadInputView':_0xf8753c}),_0x13982d[_0x1b476a(0x22b)]['on'](_0x1b476a(0x1f8),()=>{const _0x47d7fd=_0x1b476a;_0x3a0e01[_0x47d7fd(0x1ec)][_0x47d7fd(0x1f3)][_0x47d7fd(0x1fd)]();}),_0x13982d[_0x1b476a(0x212)]['on'](_0x1b476a(0x1f8),()=>{const _0x36b658=_0x1b476a;_0x3a0e01[_0x36b658(0x1ec)][_0x36b658(0x1f3)][_0x36b658(0x1fd)]();}),_0x529035=_0x5882b3[_0x1b476a(0x22a)](this[_0x1b476a(0x20f)][_0x1b476a(0x200)],_0x13982d),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x1dc))['to'](_0x13982d,_0x1b476a(0x1dc)),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x1d3))['to'](_0x13982d),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x21a))['to'](_0x13982d,_0x1b476a(0x21a),_0x2598ca=>_0x1b476a(0x1e9)+_0x2598ca),this[_0x1b476a(0x1df)][_0x1b476a(0x232)](_0x1bcd8['id'],_0x529035));const _0x56574b=_0x2d1cbe[_0x1b476a(0x1ef)](_0x1bcd8[_0x1b476a(0x1c1)],_0x13982d),_0x214d6d=new _0x4d064c(_0x3a0e01,_0x1bcd8,_0x13982d,_0x56574b),_0x4f82b9=_0x1bcd8[_0x1b476a(0x226)]()[_0x1b476a(0x223)](_0x1c76f7=>_0x1c76f7[_0x1b476a(0x1cc)]);_0x13982d[_0x1b476a(0x24a)]=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x1c0))[_0x1b476a(0x1d7)][_0x1b476a(0x1d9)](_0x4f82b9),this[_0x1b476a(0x237)][_0x1b476a(0x232)](_0x1bcd8,_0x214d6d),this[_0x1b476a(0x1db)][_0x1b476a(0x232)](_0x13982d,_0x214d6d);const _0x21696f=_0x5882b3[_0x1b476a(0x1e2)]({'view':_0x529035,'target':()=>{const _0x377355=_0x1b476a,_0x2d8fd0=[],_0x33238a=_0x1bcd8[_0x377355(0x226)]()[_0x377355(0x223)](_0x132430=>_0x132430[_0x377355(0x1cc)]);for(const _0x1a9e7f of _0x33238a)_0x2d8fd0[_0x377355(0x1f7)](..._0x1a9e7f[_0x377355(0x1c7)]());return _0xf79273(_0x3a0e01[_0x377355(0x1ec)],_0x2d8fd0);},'type':()=>_0x1b476a(0x1e9)+_0x214d6d[_0x1b476a(0x1f3)][_0x1b476a(0x21a)]});_0x2d1cbe[_0x1b476a(0x1f9)](_0x13982d,_0x21696f),_0x5882b3[_0x1b476a(0x1ee)](_0x21696f),_0x34b83e[_0x1b476a(0x1e5)](_0x21696f);}[_0x1682af(0x241)](_0x1f1d44){const _0x507ed4=_0x1682af,_0x5e4286=this[_0x507ed4(0x20f)][_0x507ed4(0x209)][_0x507ed4(0x1c3)](_0x507ed4(0x221)),_0xc0d84b=this[_0x507ed4(0x20f)][_0x507ed4(0x209)][_0x507ed4(0x1c3)](_0x507ed4(0x240)),_0x2005f2=this[_0x507ed4(0x237)][_0x507ed4(0x1c3)](_0x1f1d44),_0x4ac550=_0x2005f2[_0x507ed4(0x1f3)],_0x2cc153=_0xc0d84b[_0x507ed4(0x20c)](_0x4ac550);_0x5e4286[_0x507ed4(0x1d6)](_0x4ac550),_0x2cc153&&_0xc0d84b[_0x507ed4(0x218)](_0x2cc153),this[_0x507ed4(0x237)][_0x507ed4(0x1f1)](_0x1f1d44),this[_0x507ed4(0x1db)][_0x507ed4(0x1f1)](_0x4ac550),_0x2005f2[_0x507ed4(0x217)]();}[_0x1682af(0x1fe)](_0x21cdd2){const _0x18139d=_0x1682af;if(!_0x21cdd2[_0x18139d(0x1cc)]||!this[_0x18139d(0x237)][_0x18139d(0x246)](_0x21cdd2))return;const _0x356c36=this[_0x18139d(0x20f)][_0x18139d(0x209)][_0x18139d(0x1c3)](_0x18139d(0x1c0)),_0x34b44b=this[_0x18139d(0x237)][_0x18139d(0x1c3)](_0x21cdd2),_0x530b6c=_0x21cdd2[_0x18139d(0x226)]();_0x34b44b[_0x18139d(0x1f3)][_0x18139d(0x24a)]=_0x356c36[_0x18139d(0x1d7)][_0x18139d(0x1d9)](_0x530b6c);}[_0x1682af(0x217)](){const _0x194dca=_0x1682af;for(const _0x1fa0dc of this[_0x194dca(0x237)][_0x194dca(0x1f4)]())this[_0x194dca(0x241)](_0x1fa0dc);for(const _0x28c4f8 of this[_0x194dca(0x1df)][_0x194dca(0x1c6)]())_0x28c4f8[_0x194dca(0x1c9)][_0x194dca(0x217)]();super[_0x194dca(0x217)]();}}function re(_0x1efc44){const _0x415a97=_0x1682af;return _0x415a97(0x23b)in _0x1efc44;}
|
|
23
|
+
const _0x2b8db1=_0x25ef;(function(_0x1dccf0,_0x523039){const _0x5b154c=_0x25ef,_0x3d1677=_0x1dccf0();while(!![]){try{const _0x207e12=parseInt(_0x5b154c(0x185))/0x1+parseInt(_0x5b154c(0x1d8))/0x2*(parseInt(_0x5b154c(0x1ac))/0x3)+-parseInt(_0x5b154c(0x1f1))/0x4*(-parseInt(_0x5b154c(0x1c1))/0x5)+-parseInt(_0x5b154c(0x168))/0x6+parseInt(_0x5b154c(0x179))/0x7+parseInt(_0x5b154c(0x1ee))/0x8+-parseInt(_0x5b154c(0x16d))/0x9;if(_0x207e12===_0x523039)break;else _0x3d1677['push'](_0x3d1677['shift']());}catch(_0x5bd45b){_0x3d1677['push'](_0x3d1677['shift']());}}}(_0x1483,0x6acf7));import{Plugin as _0xe2dfaf}from'ckeditor5/src/core.js';import{Collection as _0x4261d0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x55adee,createDropdown as _0x50f93f,ListSeparatorView as _0x1099c5,MenuBarMenuView as _0x4c42ad,MenuBarMenuListView as _0x4cf90a,MenuBarMenuListItemView as _0x4c367d,MenuBarMenuListItemButtonView as _0x39a6cb,SplitButtonView as _0x1ec043,ViewModel as _0x4e851c}from'ckeditor5/src/ui.js';import{Users as _0x5d524a,getDateTimeFormatter as _0xb688c3,getAllMarkersDomElementsSorted as _0x5b5a1f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x8d64a1 from'./trackchangesediting.js';function _0x1483(){const _0x571888=['4592875KWdxQk','destroy','stopListening','_disableComments','isDirty','menuBar:trackChanges','Discard\x20all\x20selected\x20suggestions','_addUIComponentsToFactory','descriptionParts','commands','value','_initializeController','282620FWheKg','_updateController','Track\x20changes','pluginName','activeAnnotations','reduce','locale','TrackChangesUI','SuggestionThreadView','_viewToController','model','EditorAnnotations','change:activeAnnotations','add','init','head','clear','isInContent','push','descriptionFactory','getDescriptions','lowest','toMany','execute','_annotationViews','mainView','Annotations','comments.editorConfig','getFirstRange','suggestionChanged','getJoined','getMarkers','acceptButton','editing','trackChanges.disableComments','set','trackChanges.SuggestionThreadView','createCommentThreadController','isOn','291jNwhjJ','separator','createAnnotationView','Discard\x20all\x20suggestions','type','items','delegate','plugins','suggestionLoaded','has','_unbindEditors','comments.maxThreadTotalWeight','from','CommentsUI','actionView','activeMarkers','focus','menuitem','_handleSuggestionControllerDelayed','change:previous','_destroyController','64705CjSKhN','source','getRanges','get','menuitemcheckbox','commentThread','Accept\x20all\x20selected\x20suggestions','discardSelectedSuggestions','isMultiRange','button','unbind','editor','menu','requires','getAllAdjacentSuggestions','keys','buttonView','_createToolbarButton','children','trackChanges','refreshSelectedViews','getSuggestion','suggestion-','1688GmkaoI','remove','innerView','getMarkerNames','_createMenuBarMenu','_suggestionToController','arrowView','define','values','CommentsRepository','comments','config','panelView','createAnnotation','bind','listenTo','TrackChangesEditing','_bindAnnotationToEditors','getByInnerView','componentFactory','comments.maxCommentCharsWhenCollapsed','_handleControllerBuffer','2457632SepzgO','discardAllSuggestions','length','92aqoCSm','switchbutton','_refreshActiveMarkers','view','comments.maxCommentsWhenCollapsed','isEnabled','some','829950eerHrs','discardButton','commandName','acceptSelectedSuggestions','Accept\x20all\x20suggestions','9446760RhMOmm','suggestionUnloaded','addComment','addSourceCollector','acceptAllSuggestions','registerAnnotation','hasSuggestion','delete','filter','previous','size','CommentView'];_0x1483=function(){return _0x571888;};return _0x1483();}import _0x212800 from'./ui/suggestioncontroller.js';import _0x247a81 from'./ui/view/suggestionthreadview.js';function _0x25ef(_0x6a1b98,_0x2b0e9e){const _0x1483ae=_0x1483();return _0x25ef=function(_0x25efba,_0x66ed02){_0x25efba=_0x25efba-0x166;let _0x297eca=_0x1483ae[_0x25efba];return _0x297eca;},_0x25ef(_0x6a1b98,_0x2b0e9e);}import{getTranslation as _0xe22e01}from'./utils/common-translations.js';import _0x4d18ac from'../theme/icons/track-changes.svg';export default class d extends _0xe2dfaf{static get[_0x2b8db1(0x1ce)](){const _0x395e5e=_0x2b8db1;return[_0x8d64a1,_0x5d524a,_0x395e5e(0x1e1),_0x395e5e(0x19f),_0x395e5e(0x190)];}static get[_0x2b8db1(0x188)](){const _0x17155f=_0x2b8db1;return _0x17155f(0x18c);}constructor(_0x4075ff){const _0x3b57b5=_0x2b8db1;super(_0x4075ff),this[_0x3b57b5(0x1dd)]=new Map(),this[_0x3b57b5(0x18e)]=new Map(),this[_0x3b57b5(0x19d)]=new Map(),this[_0x3b57b5(0x1ed)]=new Map();const _0x530036=this[_0x3b57b5(0x1cc)][_0x3b57b5(0x1e3)];_0x530036[_0x3b57b5(0x1df)](_0x3b57b5(0x1a9),_0x247a81),_0x530036[_0x3b57b5(0x1df)](_0x3b57b5(0x1a7),!0x1),this[_0x3b57b5(0x17c)]=_0x530036[_0x3b57b5(0x1c4)](_0x3b57b5(0x1a7));}[_0x2b8db1(0x1be)](_0x52bec1,_0x50406e){const _0x12cbea=_0x2b8db1;0x0===this[_0x12cbea(0x1ed)][_0x12cbea(0x177)]&&setTimeout(()=>{const _0x407fe1=_0x12cbea;for(const [_0x22275a,_0x3ebdcb]of this[_0x407fe1(0x1ed)]){const _0x1e0bbd=this[_0x407fe1(0x1dd)][_0x407fe1(0x1b5)](_0x22275a);_0x1e0bbd||_0x3ebdcb?_0x1e0bbd&&_0x3ebdcb&&this[_0x407fe1(0x1c0)](_0x22275a):this[_0x407fe1(0x184)](_0x22275a);}this[_0x407fe1(0x1ed)][_0x407fe1(0x195)](),this[_0x407fe1(0x1cc)][_0x407fe1(0x1b3)][_0x407fe1(0x1c4)](_0x407fe1(0x190))[_0x407fe1(0x1d5)](),this[_0x407fe1(0x1f3)]();},0xa),this[_0x12cbea(0x1ed)][_0x12cbea(0x1a8)](_0x52bec1,_0x50406e);}[_0x2b8db1(0x193)](){const _0x2fee9b=_0x2b8db1,_0x3c839d=this[_0x2fee9b(0x1cc)],_0x55e133=_0x3c839d[_0x2fee9b(0x1b3)][_0x2fee9b(0x1c4)](_0x2fee9b(0x1e8)),_0x3a315c=_0x3c839d[_0x2fee9b(0x1b3)][_0x2fee9b(0x1c4)](_0x2fee9b(0x19f)),_0x46da5f=_0x3c839d[_0x2fee9b(0x1b3)][_0x2fee9b(0x1c4)](_0x2fee9b(0x190)),_0x5db538=_0x3c839d[_0x2fee9b(0x1b3)][_0x2fee9b(0x1c4)](_0x2fee9b(0x1e1));this[_0x2fee9b(0x180)](),_0x46da5f[_0x2fee9b(0x170)](()=>{const _0x392afb=_0x2fee9b,_0x5ced56=[];for(const [_0x43bcd8,_0x1e314b]of Array[_0x392afb(0x1b8)](this[_0x392afb(0x1dd)])){const _0xe5f5c0=_0x43bcd8[_0x392afb(0x1cf)](),_0x579b4f=[];for(const _0x330b1b of _0xe5f5c0){if(!_0x330b1b[_0x392afb(0x196)])continue;if(_0x330b1b[_0x392afb(0x1c9)]){_0x579b4f[_0x392afb(0x197)](..._0x330b1b[_0x392afb(0x1c3)]());continue;}const _0x44840c=_0x330b1b[_0x392afb(0x1a1)]();if(_0x579b4f[_0x392afb(0x1f0)]>0x0){const _0x4c8ebc=_0x579b4f[0x0][_0x392afb(0x1a3)](_0x44840c);if(_0x4c8ebc){_0x579b4f[0x0]=_0x4c8ebc;continue;}}_0x579b4f[_0x392afb(0x197)](_0x44840c);}_0x5ced56[_0x392afb(0x197)]([_0x1e314b[_0x392afb(0x1f4)],_0x579b4f]);}return _0x5ced56;}),this[_0x2fee9b(0x1e7)](_0x55e133,_0x2fee9b(0x1b4),(_0x20ab8f,_0x428931)=>{const _0x39c896=_0x2fee9b;this[_0x39c896(0x1e7)](_0x428931,_0x39c896(0x1bf),(_0x3b8ddf,_0x549fc0,_0x160105,_0x3a78c0)=>{const _0x5149a8=_0x39c896;_0x428931[_0x5149a8(0x196)]&&(null==_0x160105?(this[_0x5149a8(0x186)](_0x3a78c0[_0x5149a8(0x194)]),this[_0x5149a8(0x1be)](_0x428931,!0x1)):(this[_0x5149a8(0x186)](_0x160105[_0x5149a8(0x194)]),null==_0x3a78c0&&this[_0x5149a8(0x1be)](_0x428931,!0x0)));}),null!==_0x428931[_0x39c896(0x176)]?this[_0x39c896(0x186)](_0x428931[_0x39c896(0x194)]):this[_0x39c896(0x1be)](_0x428931,!0x1);}),this[_0x2fee9b(0x1e7)](_0x55e133,_0x2fee9b(0x16e),(_0x46deea,_0x486b2b,_0x12f5fd)=>{const _0xe80135=_0x2fee9b;this[_0xe80135(0x17b)](_0x486b2b,_0xe80135(0x1bf)),this[_0xe80135(0x1ed)][_0xe80135(0x174)](_0x486b2b),this[_0xe80135(0x1dd)][_0xe80135(0x1b5)](_0x486b2b)&&this[_0xe80135(0x1c0)](_0x486b2b),_0x12f5fd&&this[_0xe80135(0x186)](_0x12f5fd[_0xe80135(0x194)]);}),this[_0x2fee9b(0x1e7)](_0x55e133,_0x2fee9b(0x1a2),(_0x48926e,_0x2ba5ae)=>{const _0x4cf4aa=_0x2fee9b;this[_0x4cf4aa(0x186)](_0x2ba5ae);}),this[_0x2fee9b(0x1e7)](_0x3a315c,_0x2fee9b(0x191),()=>{const _0x2198c1=_0x2fee9b;this[_0x2198c1(0x1f3)]();}),this[_0x2fee9b(0x1e7)](_0x5db538,_0x2fee9b(0x16f),(_0x10a2b9,{threadId:_0x5abf57,isFromAdapter:_0x5e3d6b})=>{const _0x31a81e=_0x2fee9b;if(_0x5e3d6b||!_0x55e133[_0x31a81e(0x173)](_0x5abf57))return;const _0x54948f=_0x55e133[_0x31a81e(0x1d6)](_0x5abf57);this[_0x31a81e(0x1dd)][_0x31a81e(0x1c4)](_0x54948f)[_0x31a81e(0x1f4)][_0x31a81e(0x1bc)]();},{'priority':_0x2fee9b(0x19a)});}[_0x2b8db1(0x1f3)](){const _0x217c0a=_0x2b8db1,_0x4e5490=this[_0x217c0a(0x1cc)][_0x217c0a(0x1b3)][_0x217c0a(0x1c4)](_0x217c0a(0x19f)),_0x5ae14c=this[_0x217c0a(0x1cc)][_0x217c0a(0x1b3)][_0x217c0a(0x1c4)](_0x217c0a(0x1e8)),_0x450cc8=Array[_0x217c0a(0x1b8)](_0x4e5490[_0x217c0a(0x189)],_0x5a1c1f=>_0x5a1c1f[_0x217c0a(0x1da)])[_0x217c0a(0x175)](_0x466355=>this[_0x217c0a(0x18e)][_0x217c0a(0x1b5)](_0x466355)),_0x3fec2a=[];for(const _0x34bc5e of _0x450cc8){const _0x4579e5=this[_0x217c0a(0x18e)][_0x217c0a(0x1c4)](_0x34bc5e)[_0x217c0a(0x18f)][_0x217c0a(0x1cf)]();_0x3fec2a[_0x217c0a(0x197)](..._0x4579e5[_0x217c0a(0x18a)]((_0x3bc770,_0xa3e285)=>[..._0x3bc770,..._0xa3e285[_0x217c0a(0x1db)]()],[]));}_0x5ae14c[_0x217c0a(0x1bb)]=_0x3fec2a;}[_0x2b8db1(0x180)](){const _0x5e1ab0=_0x2b8db1,_0x1c989e=this[_0x5e1ab0(0x1cc)],_0x143750=_0x1c989e[_0x5e1ab0(0x18b)],_0x192402=_0xe22e01(_0x143750,_0x5e1ab0(0x187)),_0x31c946=new _0x4261d0([{'type':_0x5e1ab0(0x1f2),'model':new _0x4e851c({'withText':!0x0,'isToggleable':!0x0,'label':_0x192402,'commandName':_0x5e1ab0(0x1d4),'role':_0x5e1ab0(0x1c5)})},{'type':_0x5e1ab0(0x1ad)},{'type':_0x5e1ab0(0x1ca),'model':new _0x4e851c({'withText':!0x0,'label':_0xe22e01(_0x143750,_0x5e1ab0(0x16c)),'commandName':_0x5e1ab0(0x171),'role':_0x5e1ab0(0x1bd)})},{'type':_0x5e1ab0(0x1ca),'model':new _0x4e851c({'withText':!0x0,'label':_0xe22e01(_0x143750,_0x5e1ab0(0x1c7)),'commandName':_0x5e1ab0(0x16b),'role':_0x5e1ab0(0x1bd)})},{'type':_0x5e1ab0(0x1ca),'model':new _0x4e851c({'withText':!0x0,'label':_0xe22e01(_0x143750,_0x5e1ab0(0x1af)),'commandName':_0x5e1ab0(0x1ef),'role':_0x5e1ab0(0x1bd)})},{'type':_0x5e1ab0(0x1ca),'model':new _0x4e851c({'withText':!0x0,'label':_0xe22e01(_0x143750,_0x5e1ab0(0x17f)),'commandName':_0x5e1ab0(0x1c8),'role':_0x5e1ab0(0x1bd)})}]);for(const _0x401598 of _0x31c946)if(re(_0x401598)){const _0x4305e5=_0x1c989e[_0x5e1ab0(0x182)][_0x5e1ab0(0x1c4)](_0x401598[_0x5e1ab0(0x18f)][_0x5e1ab0(0x16a)]);_0x401598[_0x5e1ab0(0x18f)][_0x5e1ab0(0x1e6)](_0x5e1ab0(0x1ab),_0x5e1ab0(0x166))['to'](_0x4305e5,_0x5e1ab0(0x183),_0x5e1ab0(0x166));}_0x1c989e['ui'][_0x5e1ab0(0x1eb)][_0x5e1ab0(0x192)](_0x5e1ab0(0x1d4),_0x145177=>this[_0x5e1ab0(0x1d2)](_0x145177,_0x31c946,_0x192402)),_0x1c989e['ui'][_0x5e1ab0(0x1eb)][_0x5e1ab0(0x192)](_0x5e1ab0(0x17e),_0x11159b=>this[_0x5e1ab0(0x1dc)](_0x11159b,_0x31c946,_0x192402));}[_0x2b8db1(0x1d2)](_0x4d071f,_0x49c28c,_0x310484){const _0x3138f3=_0x2b8db1,_0x58ed28=_0x50f93f(_0x4d071f,_0x1ec043),_0x3e3ba5=this[_0x3138f3(0x1cc)][_0x3138f3(0x182)][_0x3138f3(0x1c4)](_0x3138f3(0x1d4));_0x58ed28[_0x3138f3(0x1d1)][_0x3138f3(0x1a8)]({'tooltip':_0x310484,'label':_0x310484,'icon':_0x4d18ac}),_0x58ed28[_0x3138f3(0x1d1)][_0x3138f3(0x1e6)](_0x3138f3(0x1ab))['to'](_0x3e3ba5,_0x3138f3(0x183)),_0x58ed28[_0x3138f3(0x1d1)]['on'](_0x3138f3(0x19c),()=>{const _0x2f45e4=_0x3138f3;_0x3e3ba5[_0x2f45e4(0x19c)](),this[_0x2f45e4(0x1cc)][_0x2f45e4(0x1a6)][_0x2f45e4(0x1f4)][_0x2f45e4(0x1bc)]();}),_0x55adee(_0x58ed28,_0x49c28c,{'role':_0x3138f3(0x1cd)});const _0x46b420=[];for(const _0x1915e4 of _0x49c28c)re(_0x1915e4)&&_0x46b420[_0x3138f3(0x197)](this[_0x3138f3(0x1cc)][_0x3138f3(0x182)][_0x3138f3(0x1c4)](_0x1915e4[_0x3138f3(0x18f)][_0x3138f3(0x16a)]));const _0x49ff05=_0x58ed28[_0x3138f3(0x1d1)];return _0x49ff05[_0x3138f3(0x1ba)][_0x3138f3(0x1cb)](_0x3138f3(0x166)),_0x49ff05[_0x3138f3(0x1de)][_0x3138f3(0x1cb)](_0x3138f3(0x166)),_0x49ff05[_0x3138f3(0x1ba)][_0x3138f3(0x1e6)](_0x3138f3(0x166))['to'](_0x3e3ba5,_0x3138f3(0x166)),_0x49ff05[_0x3138f3(0x1de)][_0x3138f3(0x1e6)](_0x3138f3(0x166))[_0x3138f3(0x19b)](_0x46b420,_0x3138f3(0x166),(..._0x4807a9)=>_0x4807a9[_0x3138f3(0x167)](_0x1b2042=>_0x1b2042)),_0x58ed28['on'](_0x3138f3(0x19c),_0x480f2b=>{const _0x4b106c=_0x3138f3;this[_0x4b106c(0x1cc)][_0x4b106c(0x19c)](_0x480f2b[_0x4b106c(0x1c2)][_0x4b106c(0x16a)]),this[_0x4b106c(0x1cc)][_0x4b106c(0x1a6)][_0x4b106c(0x1f4)][_0x4b106c(0x1bc)]();}),_0x58ed28;}[_0x2b8db1(0x1dc)](_0x311a61,_0x38de7e,_0x42917b){const _0xf73ee1=_0x2b8db1,_0x3ea7a2=new _0x4c42ad(_0x311a61),_0x4ef974=this[_0xf73ee1(0x1cc)][_0xf73ee1(0x182)][_0xf73ee1(0x1c4)](_0xf73ee1(0x1d4));_0x3ea7a2[_0xf73ee1(0x1d1)][_0xf73ee1(0x1a8)]({'label':_0x42917b,'icon':_0x4d18ac});const _0x53fc6b=new _0x4cf90a(_0x311a61);for(const _0x4e2f9c of _0x38de7e){if(_0xf73ee1(0x1ad)==_0x4e2f9c[_0xf73ee1(0x1b0)]){_0x53fc6b[_0xf73ee1(0x1b1)][_0xf73ee1(0x192)](new _0x1099c5(_0x311a61));continue;}const _0x190fd9=new _0x4c367d(_0x311a61,_0x3ea7a2),_0x388eff=new _0x39a6cb(_0x311a61),_0x446de1=_0x4e2f9c[_0xf73ee1(0x18f)];_0x388eff[_0xf73ee1(0x1e6)](...Object[_0xf73ee1(0x1d0)](_0x446de1))['to'](_0x446de1),_0x388eff[_0xf73ee1(0x1b2)](_0xf73ee1(0x19c))['to'](_0x3ea7a2),_0x388eff['on'](_0xf73ee1(0x19c),()=>{const _0x25beb0=_0xf73ee1;this[_0x25beb0(0x1cc)][_0x25beb0(0x19c)](_0x446de1[_0x25beb0(0x16a)]),this[_0x25beb0(0x1cc)][_0x25beb0(0x1a6)][_0x25beb0(0x1f4)][_0x25beb0(0x1bc)]();}),_0x190fd9[_0xf73ee1(0x1d3)][_0xf73ee1(0x192)](_0x388eff),_0x53fc6b[_0xf73ee1(0x1b1)][_0xf73ee1(0x192)](_0x190fd9);}return _0x3ea7a2[_0xf73ee1(0x1e6)](_0xf73ee1(0x166))['to'](_0x4ef974,_0xf73ee1(0x166)),_0x3ea7a2[_0xf73ee1(0x1e4)][_0xf73ee1(0x1d3)][_0xf73ee1(0x192)](_0x53fc6b),_0x3ea7a2;}[_0x2b8db1(0x184)](_0xee35f7){const _0x55b2aa=_0x2b8db1,_0x5c93f2=this[_0x55b2aa(0x1cc)],_0x5dcf9d=_0x5c93f2[_0x55b2aa(0x1e3)],_0x596759=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x55b2aa(0x19f)),_0x5dac25=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x55b2aa(0x1e1)),_0x1c3116=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x55b2aa(0x190)),_0x1b9938=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x5d524a)['me'],_0x320f74=_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1d4))[_0x55b2aa(0x18d)],{CommentsListView:_0x428357,CommentThreadInputView:_0x2456e0}=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x55b2aa(0x1b9));let _0x2e5366,_0x189dbb;this[_0x55b2aa(0x19d)][_0x55b2aa(0x1b5)](_0xee35f7['id'])?(_0x189dbb=this[_0x55b2aa(0x19d)][_0x55b2aa(0x1c4)](_0xee35f7['id']),_0x2e5366=_0x189dbb[_0x55b2aa(0x19e)]):(_0x2e5366=new _0x320f74(_0x5c93f2[_0x55b2aa(0x18b)],_0xee35f7,_0x1b9938,{'disableComments':this[_0x55b2aa(0x17c)],'editorConfig':_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1a0)),'maxCommentsWhenCollapsed':_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1f5)),'maxThreadTotalWeight':_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1b7)),'maxCommentCharsWhenCollapsed':_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1ec)),'formatDateTime':_0xb688c3(_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x18b))),'CommentView':_0x5dcf9d[_0x55b2aa(0x1c4)](_0x55b2aa(0x1e2))[_0x55b2aa(0x178)],'CommentsListView':_0x428357,'CommentThreadInputView':_0x2456e0}),_0x2e5366[_0x55b2aa(0x1a5)]['on'](_0x55b2aa(0x19c),()=>{const _0x329827=_0x55b2aa;_0x5c93f2[_0x329827(0x1a6)][_0x329827(0x1f4)][_0x329827(0x1bc)]();}),_0x2e5366[_0x55b2aa(0x169)]['on'](_0x55b2aa(0x19c),()=>{const _0x398dc3=_0x55b2aa;_0x5c93f2[_0x398dc3(0x1a6)][_0x398dc3(0x1f4)][_0x398dc3(0x1bc)]();}),_0x189dbb=_0x596759[_0x55b2aa(0x1ae)](this[_0x55b2aa(0x1cc)][_0x55b2aa(0x18b)],_0x2e5366),_0x189dbb[_0x55b2aa(0x1e6)](_0x55b2aa(0x17d))['to'](_0x2e5366,_0x55b2aa(0x17d)),_0x189dbb[_0x55b2aa(0x1e6)](_0x55b2aa(0x1f0))['to'](_0x2e5366),_0x189dbb[_0x55b2aa(0x1e6)](_0x55b2aa(0x1b0))['to'](_0x2e5366,_0x55b2aa(0x1b0),_0x36b44e=>_0x55b2aa(0x1d7)+_0x36b44e),this[_0x55b2aa(0x19d)][_0x55b2aa(0x1a8)](_0xee35f7['id'],_0x189dbb));const _0x68caeb=_0x5dac25[_0x55b2aa(0x1aa)](_0xee35f7[_0x55b2aa(0x1c6)],_0x2e5366),_0x345d0b=new _0x212800(_0x5c93f2,_0xee35f7,_0x2e5366,_0x68caeb),_0x525fa9=_0xee35f7[_0x55b2aa(0x1cf)]()[_0x55b2aa(0x175)](_0x414fc7=>_0x414fc7[_0x55b2aa(0x196)]);_0x2e5366[_0x55b2aa(0x181)]=_0x5c93f2[_0x55b2aa(0x1b3)][_0x55b2aa(0x1c4)](_0x55b2aa(0x1e8))[_0x55b2aa(0x198)][_0x55b2aa(0x199)](_0x525fa9),this[_0x55b2aa(0x1dd)][_0x55b2aa(0x1a8)](_0xee35f7,_0x345d0b),this[_0x55b2aa(0x18e)][_0x55b2aa(0x1a8)](_0x2e5366,_0x345d0b);const _0x91d5a6=_0x596759[_0x55b2aa(0x1e5)]({'view':_0x189dbb,'target':()=>{const _0x79bfb3=_0x55b2aa,_0x33408b=[],_0x302514=_0xee35f7[_0x79bfb3(0x1cf)]()[_0x79bfb3(0x175)](_0x151ac4=>_0x151ac4[_0x79bfb3(0x196)]);for(const _0x37e684 of _0x302514)_0x33408b[_0x79bfb3(0x197)](..._0x37e684[_0x79bfb3(0x1a4)]());return _0x5b5a1f(_0x5c93f2[_0x79bfb3(0x1a6)],_0x33408b);},'type':()=>_0x55b2aa(0x1d7)+_0x345d0b[_0x55b2aa(0x1f4)][_0x55b2aa(0x1b0)]});_0x5dac25[_0x55b2aa(0x1e9)](_0x2e5366,_0x91d5a6),_0x596759[_0x55b2aa(0x192)](_0x91d5a6),_0x1c3116[_0x55b2aa(0x172)](_0x91d5a6);}[_0x2b8db1(0x1c0)](_0xbb5827){const _0x362b86=_0x2b8db1,_0x4aea1b=this[_0x362b86(0x1cc)][_0x362b86(0x1b3)][_0x362b86(0x1c4)](_0x362b86(0x1e1)),_0x36ebd3=this[_0x362b86(0x1cc)][_0x362b86(0x1b3)][_0x362b86(0x1c4)](_0x362b86(0x19f)),_0x5c4936=this[_0x362b86(0x1dd)][_0x362b86(0x1c4)](_0xbb5827),_0x4bf9f0=_0x5c4936[_0x362b86(0x1f4)],_0x1ec5ae=_0x36ebd3[_0x362b86(0x1ea)](_0x4bf9f0);_0x4aea1b[_0x362b86(0x1b6)](_0x4bf9f0),_0x1ec5ae&&_0x36ebd3[_0x362b86(0x1d9)](_0x1ec5ae),this[_0x362b86(0x1dd)][_0x362b86(0x174)](_0xbb5827),this[_0x362b86(0x18e)][_0x362b86(0x174)](_0x4bf9f0),_0x5c4936[_0x362b86(0x17a)]();}[_0x2b8db1(0x186)](_0x53e4c2){const _0x44cd7f=_0x2b8db1;if(!_0x53e4c2[_0x44cd7f(0x196)]||!this[_0x44cd7f(0x1dd)][_0x44cd7f(0x1b5)](_0x53e4c2))return;const _0x4576b7=this[_0x44cd7f(0x1cc)][_0x44cd7f(0x1b3)][_0x44cd7f(0x1c4)](_0x44cd7f(0x1e8)),_0x4dabee=this[_0x44cd7f(0x1dd)][_0x44cd7f(0x1c4)](_0x53e4c2),_0x3fb017=_0x53e4c2[_0x44cd7f(0x1cf)]();_0x4dabee[_0x44cd7f(0x1f4)][_0x44cd7f(0x181)]=_0x4576b7[_0x44cd7f(0x198)][_0x44cd7f(0x199)](_0x3fb017);}[_0x2b8db1(0x17a)](){const _0x1cec2b=_0x2b8db1;for(const _0x4ea38f of this[_0x1cec2b(0x1dd)][_0x1cec2b(0x1d0)]())this[_0x1cec2b(0x1c0)](_0x4ea38f);for(const _0x5206d6 of this[_0x1cec2b(0x19d)][_0x1cec2b(0x1e0)]())_0x5206d6[_0x1cec2b(0x19e)][_0x1cec2b(0x17a)]();super[_0x1cec2b(0x17a)]();}}function re(_0x2b5605){const _0x323bb8=_0x2b8db1;return _0x323bb8(0x18f)in _0x2b5605;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2b09aa=_0x66dd;function _0x367b(){const _0x21b47a=['add','remove','37xuTYWT','canAccept','stopListening','2985651SZXbYB','_setPendingAction','_pendingAction','canDiscard','_discardCommand','getRanges','35570GlCkKV','acceptSuggestion','bind','16DhPasX','commentThreadController','_acceptCommand','plugins','_removePendingAction','change:isDirty','locale','PENDING_ACTION_SUGGESTION','_editor','canEditAt','65055AviKuY','isDirty','get','unbind','discardSuggestion','18993130BegaSE','116oTZeNE','isEnabled','PendingActions','model','destroy','2636010pPemEN','commands','2321550seqUsm','listenTo','view','execute','2798466lriUOD'];_0x367b=function(){return _0x21b47a;};return _0x367b();}function _0x66dd(_0x326f8b,_0x1d38b9){const _0x367b02=_0x367b();return _0x66dd=function(_0x66ddf7,_0x3acdda){_0x66ddf7=_0x66ddf7-0xea;let _0x12b4b9=_0x367b02[_0x66ddf7];return _0x12b4b9;},_0x66dd(_0x326f8b,_0x1d38b9);}(function(_0x512baf,_0x3c658a){const _0x5d8cff=_0x66dd,_0x1f68c0=_0x512baf();while(!![]){try{const _0xbfa93d=-parseInt(_0x5d8cff(0xfd))/0x1*(-parseInt(_0x5d8cff(0x106))/0x2)+-parseInt(_0x5d8cff(0xf4))/0x3+parseInt(_0x5d8cff(0xef))/0x4*(-parseInt(_0x5d8cff(0x113))/0x5)+-parseInt(_0x5d8cff(0xfa))/0x6+parseInt(_0x5d8cff(0xf6))/0x7+parseInt(_0x5d8cff(0x109))/0x8*(-parseInt(_0x5d8cff(0x100))/0x9)+parseInt(_0x5d8cff(0xee))/0xa;if(_0xbfa93d===_0x3c658a)break;else _0x1f68c0['push'](_0x1f68c0['shift']());}catch(_0x44b171){_0x1f68c0['push'](_0x1f68c0['shift']());}}}(_0x367b,0x7ad5a));import{ObservableMixin as _0x21d649}from'ckeditor5/src/utils.js';import{getTranslation as _0x179aa4}from'../utils/common-translations.js';export default class ne extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21d649(){constructor(_0x4cd6d4,_0x24360b,_0x21353e,_0x56e71c){const _0x4f3e6d=_0x66dd;super(),this[_0x4f3e6d(0xf2)]=_0x24360b,this[_0x4f3e6d(0xf8)]=_0x21353e,this[_0x4f3e6d(0x10a)]=_0x56e71c,this[_0x4f3e6d(0x111)]=_0x4cd6d4,this[_0x4f3e6d(0x10b)]=_0x4cd6d4[_0x4f3e6d(0xf5)][_0x4f3e6d(0xeb)](_0x4f3e6d(0x107)),this[_0x4f3e6d(0x104)]=_0x4cd6d4[_0x4f3e6d(0xf5)][_0x4f3e6d(0xeb)](_0x4f3e6d(0xed)),this[_0x4f3e6d(0xf8)][_0x4f3e6d(0x108)](_0x4f3e6d(0xf0))['to'](this[_0x4f3e6d(0x10b)],this[_0x4f3e6d(0x104)],(_0x310599,_0x454278)=>_0x310599||_0x454278),this[_0x4f3e6d(0xf8)][_0x4f3e6d(0x108)](_0x4f3e6d(0xfe))['to'](this[_0x4f3e6d(0x10b)],_0x4f3e6d(0xf0),_0x50cc4d=>_0x50cc4d&&this[_0x4f3e6d(0x111)][_0x4f3e6d(0xf2)][_0x4f3e6d(0x112)](_0x24360b[_0x4f3e6d(0x105)]())),this[_0x4f3e6d(0xf8)][_0x4f3e6d(0x108)](_0x4f3e6d(0x103))['to'](this[_0x4f3e6d(0x104)],_0x4f3e6d(0xf0),_0x5efed5=>_0x5efed5&&this[_0x4f3e6d(0x111)][_0x4f3e6d(0xf2)][_0x4f3e6d(0x112)](_0x24360b[_0x4f3e6d(0x105)]())),this[_0x4f3e6d(0x102)]=null,_0x21353e[_0x4f3e6d(0xea)]&&this[_0x4f3e6d(0x101)](),this[_0x4f3e6d(0xf7)](_0x21353e,_0x4f3e6d(0x107),()=>this[_0x4f3e6d(0x107)]()),this[_0x4f3e6d(0xf7)](_0x21353e,_0x4f3e6d(0xed),()=>this[_0x4f3e6d(0xed)]()),this[_0x4f3e6d(0xf7)](_0x21353e,_0x4f3e6d(0x10e),()=>{const _0x2b7e56=_0x4f3e6d;_0x21353e[_0x2b7e56(0xea)]?this[_0x2b7e56(0x101)]():this[_0x2b7e56(0x10d)]();});}[_0x2b09aa(0x107)](){const _0x38f37d=_0x2b09aa;this[_0x38f37d(0x10b)][_0x38f37d(0xf9)](this[_0x38f37d(0xf2)]['id']);}[_0x2b09aa(0xed)](){const _0x3a3d29=_0x2b09aa;this[_0x3a3d29(0x104)][_0x3a3d29(0xf9)](this[_0x3a3d29(0xf2)]['id']);}[_0x2b09aa(0xf3)](){const _0x11a9d7=_0x2b09aa;this[_0x11a9d7(0xf8)][_0x11a9d7(0xec)](_0x11a9d7(0xf0)),this[_0x11a9d7(0xf8)][_0x11a9d7(0xec)](_0x11a9d7(0xfe)),this[_0x11a9d7(0xf8)][_0x11a9d7(0xec)](_0x11a9d7(0x103)),this[_0x11a9d7(0xff)](),this[_0x11a9d7(0x10a)][_0x11a9d7(0xf3)](),this[_0x11a9d7(0x102)]&&this[_0x11a9d7(0x10d)]();}[_0x2b09aa(0x101)](){const _0x315628=_0x2b09aa,_0x4ded18=_0x179aa4(this[_0x315628(0x111)][_0x315628(0x10f)],_0x315628(0x110));this[_0x315628(0x102)]=this[_0x315628(0x111)][_0x315628(0x10c)][_0x315628(0xeb)](_0x315628(0xf1))[_0x315628(0xfb)](_0x4ded18);}[_0x2b09aa(0x10d)](){const _0x51c91d=_0x2b09aa;null!==this[_0x51c91d(0x102)]&&this[_0x51c91d(0x111)][_0x51c91d(0x10c)][_0x51c91d(0xeb)](_0x51c91d(0xf1))[_0x51c91d(0xfc)](this[_0x51c91d(0x102)]),this[_0x51c91d(0x102)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22bfe8=_0x4ce6;(function(_0x211c6a,_0x2cbab0){const _0x3cbf78=_0x4ce6,_0x10da3f=_0x211c6a();while(!![]){try{const _0x1a14eb=parseInt(_0x3cbf78(0x121))/0x1+-parseInt(_0x3cbf78(0x10b))/0x2*(parseInt(_0x3cbf78(0x11e))/0x3)+-parseInt(_0x3cbf78(0xff))/0x4*(parseInt(_0x3cbf78(0x10d))/0x5)+-parseInt(_0x3cbf78(0x124))/0x6*(parseInt(_0x3cbf78(0x126))/0x7)+parseInt(_0x3cbf78(0xfe))/0x8*(-parseInt(_0x3cbf78(0xfd))/0x9)+-parseInt(_0x3cbf78(0x102))/0xa+-parseInt(_0x3cbf78(0x11f))/0xb*(-parseInt(_0x3cbf78(0x111))/0xc);if(_0x1a14eb===_0x2cbab0)break;else _0x10da3f['push'](_0x10da3f['shift']());}catch(_0x3509f4){_0x10da3f['push'](_0x10da3f['shift']());}}}(_0xe7d3,0x78f02));import{View as _0x4dfdb4}from'ckeditor5/src/ui.js';function _0xe7d3(){const _0x51cd82=['24515BwExut','addComment','commentThread','bind','252zFjhJN','authoredAt','value','submit','editor','showInput','locale','isEnabled','destroy','_config','commentThreadInputView','cancel','isActive','1803429LXXHHy','1063447iFqJWI','set','683655mdhHcp','_model','disabledSubmit','570TMMRxV','descriptionParts','14231BgUEsN','updateComment','isReadOnly','commentsListView','disableComments','hasDirtyComment','isDirty','focus','editorConfig','_localUser','removeComment','delegate','6644169eTrQqH','8MQCNjg','412PqUrJI','canAccept','element','1809820BPwRZS','fire','canDiscard','length','assign','_createCommentViews','commentInputView','CommentView','_createCommentThreadInputView','2prhoIX','setData'];_0xe7d3=function(){return _0x51cd82;};return _0xe7d3();}function _0x4ce6(_0x47c36d,_0x409cda){const _0xe7d306=_0xe7d3();return _0x4ce6=function(_0x4ce643,_0x126315){_0x4ce643=_0x4ce643-0xfd;let _0x1e8651=_0xe7d306[_0x4ce643];return _0x1e8651;},_0x4ce6(_0x47c36d,_0x409cda);}export default class es extends _0x4dfdb4{constructor(_0x142b7b,_0x2a2a0c,_0x3ca9bf,_0x60f6bf){const _0x3386bd=_0x4ce6;super(_0x142b7b),this[_0x3386bd(0x129)]=null,this[_0x3386bd(0x11b)]=null,this[_0x3386bd(0x120)](_0x3386bd(0x11d),!0x1),this[_0x3386bd(0x120)](_0x3386bd(0x112),_0x2a2a0c[_0x3386bd(0x112)]),this[_0x3386bd(0x110)](_0x3386bd(0x112))['to'](_0x2a2a0c),this[_0x3386bd(0x120)](_0x3386bd(0x125),[]),this[_0x3386bd(0x120)](_0x3386bd(0x12c),!0x1),this[_0x3386bd(0x120)](_0x3386bd(0x118),!0x1),this[_0x3386bd(0x120)](_0x3386bd(0x100),!0x1),this[_0x3386bd(0x120)](_0x3386bd(0x104),!0x1),this[_0x3386bd(0x122)]=_0x2a2a0c,this[_0x3386bd(0x12f)]=_0x3ca9bf,this[_0x3386bd(0x11a)]=_0x60f6bf,_0x60f6bf[_0x3386bd(0x12a)]?this[_0x3386bd(0x120)](_0x3386bd(0x105),0x1):this[_0x3386bd(0x107)]();}[_0x22bfe8(0x12d)](){const _0x36fd34=_0x22bfe8;this[_0x36fd34(0x101)][_0x36fd34(0x12d)]();}[_0x22bfe8(0x119)](){const _0x2f924e=_0x22bfe8;this[_0x2f924e(0x129)]&&this[_0x2f924e(0x129)][_0x2f924e(0x119)](),this[_0x2f924e(0x11b)]&&this[_0x2f924e(0x11b)][_0x2f924e(0x119)](),super[_0x2f924e(0x119)]();}[_0x22bfe8(0x107)](){const _0x488c4b=_0x22bfe8,{CommentsListView:_0x52b6ce}=this[_0x488c4b(0x11a)];this[_0x488c4b(0x129)]=new _0x52b6ce(this[_0x488c4b(0x117)],this[_0x488c4b(0x122)][_0x488c4b(0x10f)],Object[_0x488c4b(0x106)]({'CommentView':this[_0x488c4b(0x11a)][_0x488c4b(0x109)]},this[_0x488c4b(0x11a)])),this[_0x488c4b(0x129)][_0x488c4b(0x131)](_0x488c4b(0x130))['to'](this),this[_0x488c4b(0x129)][_0x488c4b(0x131)](_0x488c4b(0x127))['to'](this),this[_0x488c4b(0x129)][_0x488c4b(0x110)](_0x488c4b(0x11d))['to'](this),this[_0x488c4b(0x120)](_0x488c4b(0x105),this[_0x488c4b(0x129)][_0x488c4b(0x105)]+0x1),this[_0x488c4b(0x110)](_0x488c4b(0x105))['to'](this[_0x488c4b(0x129)],_0x488c4b(0x105),_0x2566e0=>_0x2566e0+0x1),this[_0x488c4b(0x11b)]=this[_0x488c4b(0x10a)](),this['on'](_0x488c4b(0x130),()=>this[_0x488c4b(0x12d)]()),this[_0x488c4b(0x110)](_0x488c4b(0x12c))['to'](this[_0x488c4b(0x129)],_0x488c4b(0x12b),this[_0x488c4b(0x11b)][_0x488c4b(0x108)],_0x488c4b(0x113),(_0x5cbfa4,_0x24b496)=>_0x5cbfa4||!!_0x24b496);}[_0x22bfe8(0x10a)](){const _0x379bfd=_0x22bfe8,{CommentThreadInputView:_0x5693aa}=this[_0x379bfd(0x11a)],_0x4ca9be=new _0x5693aa(this[_0x379bfd(0x117)],this[_0x379bfd(0x12f)],this[_0x379bfd(0x11a)][_0x379bfd(0x12e)]),_0x92e8c2=_0x4ca9be[_0x379bfd(0x108)];return _0x4ca9be[_0x379bfd(0x110)](_0x379bfd(0x116))['to'](this,_0x379bfd(0x11d),this[_0x379bfd(0x122)][_0x379bfd(0x10f)],_0x379bfd(0x128),_0x92e8c2,_0x379bfd(0x113),(_0x1e0242,_0x1ecfdb,_0x80807c)=>!!_0x80807c||_0x1e0242&&!_0x1ecfdb),_0x92e8c2['on'](_0x379bfd(0x114),(_0x240448,_0x8b1727)=>{const _0x210a3e=_0x379bfd;this[_0x210a3e(0x103)](_0x210a3e(0x10e),_0x8b1727),_0x92e8c2[_0x210a3e(0x115)][_0x210a3e(0x10c)]('');}),_0x92e8c2['on'](_0x379bfd(0x11c),()=>this[_0x379bfd(0x12d)]()),_0x92e8c2[_0x379bfd(0x110)](_0x379bfd(0x123))['to'](this[_0x379bfd(0x122)][_0x379bfd(0x10f)],_0x379bfd(0x128)),_0x4ca9be;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15c8c0=_0x1f6b;(function(_0x4f27b6,_0x246a8d){const _0x411e3c=_0x1f6b,_0x3e1f36=_0x4f27b6();while(!![]){try{const _0x43fb8e=-parseInt(_0x411e3c(0xde))/0x1+-parseInt(_0x411e3c(0xeb))/0x2*(-parseInt(_0x411e3c(0x95))/0x3)+parseInt(_0x411e3c(0x9e))/0x4*(parseInt(_0x411e3c(0xe1))/0x5)+-parseInt(_0x411e3c(0xcf))/0x6*(parseInt(_0x411e3c(0xf5))/0x7)+parseInt(_0x411e3c(0xac))/0x8*(parseInt(_0x411e3c(0xe8))/0x9)+-parseInt(_0x411e3c(0xd2))/0xa*(parseInt(_0x411e3c(0xb3))/0xb)+parseInt(_0x411e3c(0xbe))/0xc;if(_0x43fb8e===_0x246a8d)break;else _0x3e1f36['push'](_0x3e1f36['shift']());}catch(_0x25e487){_0x3e1f36['push'](_0x3e1f36['shift']());}}}(_0x5dc0,0x56c76));import{getTranslation as _0xd77565}from'../../utils/common-translations.js';import{default as _0x45e449}from'./basesuggestionthreadview.js';function _0x1f6b(_0x4ddb8e,_0x39c988){const _0x5dc08d=_0x5dc0();return _0x1f6b=function(_0x1f6bcc,_0x239348){_0x1f6bcc=_0x1f6bcc-0x86;let _0x1819d1=_0x5dc08d[_0x1f6bcc];return _0x1819d1;},_0x1f6b(_0x4ddb8e,_0x39c988);}import{ButtonView as _0x3f7ec8}from'ckeditor5/src/ui.js';function _0x5dc0(){const _0x3ecff6=['450360xKtKmj','ck-annotation__content-wrapper','innerHTML','ck-suggestion-wrapper','\x22\x20title=\x22','discardSuggestion','</span>','9ASYpUQ','canAccept','disableComments','704TRcStk','delegate','attributes','\x22></span>','<span\x20class=\x22ck-suggestion-type\x22>','@external','map','ck-annotation__actions','canDiscard','ck-suggestion__main','7pHdNuo','ck-suggestion--accept','ck-annotation__user','locale','color','push','name','check','bind','type','span','ck-suggestion','Discard\x20suggestion','ck-comment__external','ck-suggestion--discard','ck-annotation__main','ck-suggestion-','51hydLLC','execute','commentThreadInputView','bindTemplate','children','setTemplate','_model','commentThread','ck-suggestion__user','16eBFDJN','ck-annotation__info-name','Accept\x20suggestion','change:description','formatDateTime','render','EXTERNAL_AVATAR','getTemplate','ck-annotation__info','join','content','isExternal','_createButton','</p>','5284304XyuKKw','acceptButton','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info','isActive','set','importWord','11ynjhFm','time','commentsListView','author','description','ck-suggestion-wrapper--active','creator','EXTERNAL_SUGGESTION','isEnabled','split','userView','8550348pShyLf','_descriptionElement','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','source','ck-annotation__info-time','div','getUserViewNotificationText','value','cancel','ck-suggestion--disabled-comments','ck-suggestion__info-name','getExternalSuggestionNote','discardButton','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','acceptSuggestion','.ck-annotation__content-wrapper','2806302NglvWV','editorDestroyed','editorReady','2332690PkMJBF','<p>','descriptionParts','ck-suggestion__actions','ck-comment__info-time','fire','element','innerText','title','_config','querySelector','extendTemplate','682907ZGErnQ','createElement','ck-annotation'];_0x5dc0=function(){return _0x3ecff6;};return _0x5dc0();}import{icons as _0x3eb079}from'ckeditor5/src/core.js';import{trimHtml as _0x5d9241,UserView as _0x15a7af}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x45e449{constructor(_0x3e5064,_0x2da660,_0x3f5b7f,_0x577cfc){const _0x43674f=_0x1f6b;super(_0x3e5064,_0x2da660,_0x3f5b7f,_0x577cfc),this[_0x43674f(0xb1)](_0x43674f(0x8d),''),this[_0x43674f(0x8c)](_0x43674f(0x8d))['to'](this,_0x43674f(0xd4),_0x4dce03=>_0x4dce03&&_0x4dce03[0x0]?_0x4dce03[0x0][_0x43674f(0x8d)]:''),this[_0x43674f(0x8c)](_0x43674f(0xb7))['to'](this,_0x43674f(0xd4),this,_0x43674f(0xb0),(_0x515ae3,_0x5c7064)=>{const _0x3fd80b=_0x43674f;let _0x246dbf='';for(const _0x2bfc45 of _0x515ae3)_0x246dbf+=_0x3fd80b(0xd3)+ds(_0x2bfc45[_0x3fd80b(0xa8)],_0x2bfc45[_0x3fd80b(0x88)])+_0x3fd80b(0xab);return _0x5c7064?_0x246dbf:_0x5d9241(_0x246dbf,{'limit':0x8c});}),this[_0x43674f(0xbf)]=null,this[_0x43674f(0xad)]=this[_0x43674f(0xaa)](_0xd77565(_0x3e5064,_0x43674f(0xa0)),_0x3eb079[_0x43674f(0x8b)],_0x43674f(0xf6),_0x43674f(0xcd),'sw'),this[_0x43674f(0xad)][_0x43674f(0x8c)](_0x43674f(0xbb))['to'](this,_0x43674f(0xe9)),this[_0x43674f(0xcb)]=this[_0x43674f(0xaa)](_0xd77565(_0x3e5064,_0x43674f(0x90)),_0x3eb079[_0x43674f(0xc7)],_0x43674f(0x92),_0x43674f(0xe6),'sw'),this[_0x43674f(0xcb)][_0x43674f(0x8c)](_0x43674f(0xbb))['to'](this,_0x43674f(0xf3)),this[_0x43674f(0xbd)]=new _0x15a7af(_0x3e5064,this[_0x43674f(0x9b)][_0x43674f(0xb6)],this[_0x43674f(0xc5)]()),this[_0x43674f(0xbd)][_0x43674f(0xdd)]({'attributes':{'class':[_0x43674f(0x9d),_0x43674f(0x86)]}}),this[_0x43674f(0x9a)](this[_0x43674f(0xa5)]());}[_0x15c8c0(0xa5)](){const _0x477f3a=_0x15c8c0,_0x26f155=this[_0x477f3a(0x98)],_0x167b2d=[{'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0xaf),_0x477f3a(0xa6)]},'children':[{'tag':_0x477f3a(0x8e),'children':[{'text':this[_0x477f3a(0xbd)][_0x477f3a(0x8a)]}],'attributes':{'class':[_0x477f3a(0xc9),_0x477f3a(0x9f)]}},{'tag':_0x477f3a(0xb4),'attributes':{'datetime':_0x26f155['to'](_0x477f3a(0xc0)),'class':[_0x477f3a(0xd6),_0x477f3a(0xc3)]},'children':[{'text':_0x26f155['to'](_0x477f3a(0xc0),_0x2dbb1e=>this[_0x477f3a(0xdb)][_0x477f3a(0xa2)](_0x2dbb1e))}]}]},{'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0xd5),_0x477f3a(0xf2)]},'children':[this[_0x477f3a(0xad)],this[_0x477f3a(0xcb)]]},{'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0xe2)]}}];this[_0x477f3a(0x9b)][_0x477f3a(0xa9)]&&_0x167b2d[_0x477f3a(0x89)]({'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0x91)]},'children':[{'text':this[_0x477f3a(0xca)]()}]});const _0x521bc8={'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0xe4),_0x26f155['if'](_0x477f3a(0xb0),_0x477f3a(0xb8)),_0x26f155['to'](_0x477f3a(0x8d),_0x1c616a=>_0x477f3a(0x94)+_0x1c616a),this[_0x477f3a(0xdb)][_0x477f3a(0xea)]&&_0x477f3a(0xc8)],'data-suggestion-id':this[_0x477f3a(0x9b)]['id'],'data-thread-id':this[_0x477f3a(0x9b)][_0x477f3a(0x9c)]['id'],'data-author-id':this[_0x477f3a(0x9b)][_0x477f3a(0xb6)]['id'],'tabindex':-0x1},'children':[{'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0x8f),_0x477f3a(0xe0)]},'children':[this[_0x477f3a(0xbd)],{'tag':_0x477f3a(0xc4),'attributes':{'class':[_0x477f3a(0xf4),_0x477f3a(0x93)]},'children':_0x167b2d}]}]};return this[_0x477f3a(0xb5)]&&this[_0x477f3a(0x97)]&&(_0x521bc8[_0x477f3a(0x99)][_0x477f3a(0x89)](this[_0x477f3a(0xb5)],this[_0x477f3a(0x97)]),this[_0x477f3a(0xb5)][_0x477f3a(0xec)](_0x477f3a(0xd1))['to'](this),this[_0x477f3a(0xb5)][_0x477f3a(0xec)](_0x477f3a(0xd0))['to'](this),this[_0x477f3a(0x97)][_0x477f3a(0xec)](_0x477f3a(0xd1))['to'](this),this[_0x477f3a(0x97)][_0x477f3a(0xec)](_0x477f3a(0xd0))['to'](this)),_0x521bc8;}[_0x15c8c0(0xa3)](){const _0xa1bb82=_0x15c8c0;super[_0xa1bb82(0xa3)](),this[_0xa1bb82(0xbf)]=this[_0xa1bb82(0xd8)][_0xa1bb82(0xdc)](_0xa1bb82(0xce)),this[_0xa1bb82(0xbf)][_0xa1bb82(0xe3)]=this[_0xa1bb82(0xb7)],this['on'](_0xa1bb82(0xa1),(_0x321e89,_0x388633,_0x437a80)=>{const _0xd7a768=_0xa1bb82;this[_0xd7a768(0xbf)][_0xd7a768(0xe3)]=_0x437a80;});}[_0x15c8c0(0xaa)](_0x3f78c8,_0x277559,_0x36a016,_0x963717,_0x339dd2){const _0x4adc60=_0x15c8c0,_0x3f064c=new _0x3f7ec8(this[_0x4adc60(0x87)]);return _0x3f064c[_0x4adc60(0xb1)]({'label':_0x3f78c8,'icon':_0x277559,'tooltip':!0x0,'tooltipPosition':_0x339dd2}),_0x3f064c[_0x4adc60(0xdd)]({'attributes':{'class':_0x36a016}}),_0x3f064c['on'](_0x4adc60(0x96),()=>{const _0x4d0c65=_0x4adc60;this[_0x4d0c65(0xd7)](_0x963717,this[_0x4d0c65(0x9b)]['id']);}),_0x3f064c;}[_0x15c8c0(0xca)](){const _0x4be8c4=_0x15c8c0;return _0x4be8c4(0xb2)===this[_0x4be8c4(0x9b)][_0x4be8c4(0xed)][_0x4be8c4(0xf0)][_0x4be8c4(0xc2)]?_0xd77565(this[_0x4be8c4(0x87)],_0x4be8c4(0xc1)):_0xd77565(this[_0x4be8c4(0x87)],_0x4be8c4(0xba));}[_0x15c8c0(0xc5)](){const _0x2a02ba=_0x15c8c0;return this[_0x2a02ba(0x9b)][_0x2a02ba(0xa9)]?_0x2a02ba(0xb2)===this[_0x2a02ba(0x9b)][_0x2a02ba(0xed)][_0x2a02ba(0xf0)][_0x2a02ba(0xc2)]?_0xd77565(this[_0x2a02ba(0x87)],_0x2a02ba(0xae),this[_0x2a02ba(0x9b)][_0x2a02ba(0xb9)][_0x2a02ba(0x8a)]):_0xd77565(this[_0x2a02ba(0x87)],_0x2a02ba(0xa4),this[_0x2a02ba(0x9b)][_0x2a02ba(0xb9)][_0x2a02ba(0x8a)]):null;}}function ds(_0x8c7ae5,_0x22e0f8){const _0x1a8879=_0x15c8c0;let _0x183290='';return _0x183290+=_0x8c7ae5[_0x1a8879(0xbc)]('*')[_0x1a8879(0xf1)]((_0x3deb9e,_0x406df9)=>_0x406df9%0x2!=0x0?_0x1a8879(0xef)+us(_0x3deb9e)+_0x1a8879(0xe7):us(_0x3deb9e))[_0x1a8879(0xa7)](''),_0x22e0f8&&(_0x183290+=_0x1a8879(0xcc)+_0x22e0f8[_0x1a8879(0xc6)]+_0x1a8879(0xe5)+_0x22e0f8[_0x1a8879(0xda)]+_0x1a8879(0xee)),_0x183290;}function us(_0x3d1a31){const _0x2c5946=_0x15c8c0,_0x5df654=document[_0x2c5946(0xdf)](_0x2c5946(0x8e));return _0x5df654[_0x2c5946(0xd9)]=_0x3d1a31,_0x5df654[_0x2c5946(0xe3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5d5606,_0x351aea,_0x554f48){const t=_0x5d5606['t'];switch(_0x351aea){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',_0x554f48);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x554f48);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x554f48);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x554f48);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x554f48);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',_0x554f48);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x554f48);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',_0x554f48);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x554f48);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x554f48);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x554f48);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x554f48);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x554f48);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x554f48);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x554f48);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x554f48);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x554f48);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x554f48);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x554f48);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x554f48);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x554f48);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x554f48);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x554f48);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'},_0x554f48);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x554f48);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x554f48);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x554f48);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x554f48);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x554f48);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'},_0x554f48);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x554f48);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x554f48);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x554f48);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x554f48);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'},_0x554f48);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x554f48);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'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x554f48);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x554f48);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'},_0x554f48);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'},_0x554f48);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'},_0x554f48);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x351aea;}}
|
|
23
|
+
export function getTranslation(_0x5c4f21,_0x132017,_0x179476){const t=_0x5c4f21['t'];switch(_0x132017){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',_0x179476);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x179476);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x179476);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x179476);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x179476);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',_0x179476);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x179476);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',_0x179476);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x179476);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x179476);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x179476);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x179476);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x179476);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x179476);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x179476);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x179476);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x179476);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x179476);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x179476);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x179476);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x179476);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x179476);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x179476);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'},_0x179476);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x179476);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x179476);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x179476);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x179476);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x179476);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'},_0x179476);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x179476);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x179476);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x179476);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x179476);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'},_0x179476);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x179476);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'},_0x179476);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'},_0x179476);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x179476);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'},_0x179476);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x179476);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'},_0x179476);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x179476);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x179476);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'},_0x179476);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'},_0x179476);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'},_0x179476);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x132017;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x23867d,_0x3fdf01){const _0x1450e2=_0x194b,_0x3fd903=_0x23867d();while(!![]){try{const _0x42bc97=parseInt(_0x1450e2(0x1cc))/0x1*(-parseInt(_0x1450e2(0x1ca))/0x2)+-parseInt(_0x1450e2(0x1e4))/0x3*(-parseInt(_0x1450e2(0x1e2))/0x4)+-parseInt(_0x1450e2(0x1ce))/0x5*(-parseInt(_0x1450e2(0x1e1))/0x6)+parseInt(_0x1450e2(0x1f5))/0x7+parseInt(_0x1450e2(0x1d5))/0x8*(parseInt(_0x1450e2(0x1cf))/0x9)+-parseInt(_0x1450e2(0x1ec))/0xa+-parseInt(_0x1450e2(0x1f4))/0xb*(parseInt(_0x1450e2(0x1ee))/0xc);if(_0x42bc97===_0x3fdf01)break;else _0x3fd903['push'](_0x3fd903['shift']());}catch(_0x57d3d9){_0x3fd903['push'](_0x3fd903['shift']());}}}(_0x436c,0x6e0e7));export function normalizeDescription(_0x36e149){const _0xef74f8=_0x194b;return Array[_0xef74f8(0x1e0)](_0x36e149)||(_0x36e149=[_0x36e149]),_0x36e149[_0xef74f8(0x1e5)](_0x461fa7=>{const _0x308d90=_0xef74f8,_0x5b6135=_0x461fa7[_0x308d90(0x1de)][_0x308d90(0x1d7)](/\*/g,''),_0x5964a8=_0x461fa7[_0x308d90(0x1db)]?_0x308d90(0x1ef)+_0x461fa7[_0x308d90(0x1db)][_0x308d90(0x1d6)]+']':'';return'['+_0x461fa7[_0x308d90(0x1dc)]+']\x20'+_0x5b6135+_0x5964a8;})[_0xef74f8(0x1d9)](';\x20');}function _0x436c(){const _0x17aa7a=['19151GPRvOQ','4236876NloewT','getRanges','2jZmZjF','isCollapsed','645487gjSYjR','isMultiRange','31085xVCcVE','81wybhIA','isObject','from','createRange','execute','isInContent','750808zAMvIs','value','replace','schema','join','push','color','type','isIntersecting','content','deletion','isArray','282LhddHf','4kAdfSm','next','2613549kyDChE','map','sort','start','isTouching','change','add','createPositionAt','6691640IBDPJH','createPositionBefore','5844szvwPY','\x20[color\x20','createPositionAfter','end','splice','length'];_0x436c=function(){return _0x17aa7a;};return _0x436c();}export function sortSuggestions(_0x24f18a){const _0x5302e0=_0x194b;return _0x24f18a[_0x5302e0(0x1e6)]((_0xfda332,_0x7edbc5)=>_0x5302e0(0x1df)==_0xfda332[_0x5302e0(0x1dc)]&&_0x5302e0(0x1df)!=_0x7edbc5[_0x5302e0(0x1dc)]?-0x1:_0x5302e0(0x1df)!=_0xfda332[_0x5302e0(0x1dc)]&&_0x5302e0(0x1df)==_0x7edbc5[_0x5302e0(0x1dc)]?0x1:0x0);}export function getSelectedSuggestions(_0x231e4c,_0x5dd186){const _0x417283=_0x194b,_0x27be8d=Array[_0x417283(0x1d1)](_0x231e4c[_0x417283(0x1c9)]()),_0x1794fd=new Set();for(const _0x7a9a4f of _0x5dd186)if(_0x7a9a4f[_0x417283(0x1d4)]){for(const _0x41b3da of _0x27be8d)for(const _0x3b1ff8 of _0x7a9a4f[_0x417283(0x1c9)]())(_0x41b3da[_0x417283(0x1dd)](_0x3b1ff8)||_0x231e4c[_0x417283(0x1cb)]&&!_0x7a9a4f[_0x417283(0x1cd)]&&_0x7a9a4f[_0x417283(0x1e3)]&&_0x3b1ff8[_0x417283(0x1f1)][_0x417283(0x1e8)](_0x41b3da[_0x417283(0x1e7)]))&&_0x1794fd[_0x417283(0x1ea)](_0x7a9a4f);}return _0x1794fd;}export function getRangesOfBlockGroups(_0x1c3853,_0x27c32d){const _0x2a11db=_0x194b;let _0x1854e2,_0x58f807=0x0;const _0x4b5e8a=[],_0x51cf0e=_0x27c32d[_0x2a11db(0x1d8)];for(;_0x58f807<_0x1c3853[_0x2a11db(0x1f3)];){const _0x475fc5=_0x1c3853[_0x58f807],_0x47384f=_0x1c3853[_0x58f807+0x1];_0x1854e2||(_0x1854e2=_0x27c32d[_0x2a11db(0x1ed)](_0x475fc5)),co(_0x27c32d,_0x475fc5,_0x47384f)||(_0x4b5e8a[_0x2a11db(0x1da)](_0x27c32d[_0x2a11db(0x1d2)](_0x1854e2,_0x51cf0e[_0x2a11db(0x1d0)](_0x475fc5)?_0x27c32d[_0x2a11db(0x1f0)](_0x475fc5):_0x27c32d[_0x2a11db(0x1eb)](_0x475fc5,_0x2a11db(0x1f1)))),_0x1854e2=null),_0x58f807++;}return _0x4b5e8a;}function _0x194b(_0x471edc,_0x269420){const _0x436c1d=_0x436c();return _0x194b=function(_0x194b64,_0x3f9aad){_0x194b64=_0x194b64-0x1c9;let _0x5d6644=_0x436c1d[_0x194b64];return _0x5d6644;},_0x194b(_0x471edc,_0x269420);}function co(_0x39f2d4,_0x1fb5ed,_0x4af6b7){const _0xfb003a=_0x194b;if(!_0x4af6b7)return!0x1;const _0xf361ec=_0x39f2d4[_0xfb003a(0x1f0)](_0x1fb5ed),_0x340aa6=_0x39f2d4[_0xfb003a(0x1ed)](_0x4af6b7);return _0xf361ec[_0xfb003a(0x1e8)](_0x340aa6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3d4965,_0x586b95,_0x39d039){const _0x501f64=_0x194b;for(;_0x39d039[_0x501f64(0x1f3)];){const _0x2e96e1=_0x39d039[_0x501f64(0x1f2)](0x0,0x64);_0x3d4965[_0x501f64(0x1e9)](()=>{const _0x40ccc4=_0x501f64;for(const _0x393aea of _0x2e96e1)_0x393aea[_0x40ccc4(0x1d4)]&&_0x586b95[_0x40ccc4(0x1d3)](_0x393aea['id']);});}}
|