@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240722.0 → 0.0.0-nightly-20240724.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 _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;}
|
|
23
|
+
const _0x28fcc7=_0x23eb;(function(_0x1cb31a,_0x4b7372){const _0xd4a3bf=_0x23eb,_0x5c4920=_0x1cb31a();while(!![]){try{const _0x5173a1=-parseInt(_0xd4a3bf(0xa9))/0x1+-parseInt(_0xd4a3bf(0xd8))/0x2+-parseInt(_0xd4a3bf(0x112))/0x3+parseInt(_0xd4a3bf(0xcc))/0x4+parseInt(_0xd4a3bf(0xb2))/0x5+parseInt(_0xd4a3bf(0xeb))/0x6+-parseInt(_0xd4a3bf(0x110))/0x7*(-parseInt(_0xd4a3bf(0xd7))/0x8);if(_0x5173a1===_0x4b7372)break;else _0x5c4920['push'](_0x5c4920['shift']());}catch(_0x5f00e2){_0x5c4920['push'](_0x5c4920['shift']());}}}(_0x5089,0x82ff2));function _0x5089(){const _0x4660b7=['_annotationViews','activeMarkers','_initializeController','buttonView','Annotations','children','Track\x20changes','_updateController','previous','discardAllSuggestions','pluginName','isOn','getRanges','isMultiRange','CommentsUI','CommentView','menuBar:trackChanges','descriptionFactory','getByInnerView','clear','getMarkerNames','get','componentFactory','commandName','getFirstRange','focus','suggestionChanged','bind','change:previous','_unbindEditors','trackChanges.SuggestionThreadView','descriptionParts','createAnnotation','1883fuPhaS','EditorAnnotations','2253141KeSijN','switchbutton','suggestion-','length','destroy','push','CommentsRepository','TrackChangesUI','getAllAdjacentSuggestions','getJoined','stopListening','isInContent','addComment','getMarkers','unbind','panelView','editor','Discard\x20all\x20selected\x20suggestions','activeAnnotations','acceptSelectedSuggestions','button','execute','requires','_disableComments','lowest','config','some','createCommentThreadController','discardButton','has','actionView','comments.maxThreadTotalWeight','_suggestionToController','items','toMany','filter','view','_handleControllerBuffer','208451xLTkCs','source','_refreshActiveMarkers','_handleSuggestionControllerDelayed','change:activeAnnotations','getDescriptions','Discard\x20all\x20suggestions','delegate','comments.maxCommentCharsWhenCollapsed','2358450EEaaSL','add','init','define','comments.editorConfig','refreshSelectedViews','trackChanges','head','suggestionUnloaded','acceptButton','arrowView','mainView','set','keys','suggestionLoaded','registerAnnotation','_createMenuBarMenu','_createToolbarButton','innerView','model','_addUIComponentsToFactory','_bindAnnotationToEditors','commands','remove','reduce','Accept\x20all\x20selected\x20suggestions','3889864lPGvlx','addSourceCollector','plugins','isEnabled','menuitemcheckbox','values','separator','type','acceptAllSuggestions','comments.maxCommentsWhenCollapsed','commentThread','3112XzBwjM','1890226VHrhDO','menu','value','_viewToController','Accept\x20all\x20suggestions','menuitem','from','size','SuggestionThreadView','listenTo','comments','_destroyController','createAnnotationView','locale','editing','trackChanges.disableComments','TrackChangesEditing','getSuggestion','hasSuggestion','5354256UpkRud','discardSelectedSuggestions','isDirty','delete'];_0x5089=function(){return _0x4660b7;};return _0x5089();}import{Plugin as _0x1bcadc}from'ckeditor5/src/core.js';import{Collection as _0x2ad4f2}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3f70e7,createDropdown as _0x42025a,ListSeparatorView as _0xc35a79,MenuBarMenuView as _0x55c799,MenuBarMenuListView as _0x47337e,MenuBarMenuListItemView as _0x91d9dd,MenuBarMenuListItemButtonView as _0x5952e0,SplitButtonView as _0x1e9f3f,ViewModel as _0x39ddaf}from'ckeditor5/src/ui.js';import{Users as _0xe7136f,getDateTimeFormatter as _0x386a26,getAllMarkersDomElementsSorted as _0x56b873}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1de9d9 from'./trackchangesediting.js';import _0x447aa7 from'./ui/suggestioncontroller.js';import _0x3919f0 from'./ui/view/suggestionthreadview.js';function _0x23eb(_0x2a1641,_0x1343a8){const _0x508947=_0x5089();return _0x23eb=function(_0x23eb51,_0x527ea8){_0x23eb51=_0x23eb51-0x85;let _0x32010e=_0x508947[_0x23eb51];return _0x32010e;},_0x23eb(_0x2a1641,_0x1343a8);}import{getTranslation as _0x395f77}from'./utils/common-translations.js';import _0x1d5424 from'../theme/icons/track-changes.svg';export default class d extends _0x1bcadc{static get[_0x28fcc7(0x99)](){const _0x8ac2be=_0x28fcc7;return[_0x1de9d9,_0xe7136f,_0x8ac2be(0x89),_0x8ac2be(0xf3),_0x8ac2be(0x111)];}static get[_0x28fcc7(0xf9)](){const _0x3eeb03=_0x28fcc7;return _0x3eeb03(0x8a);}constructor(_0x36a152){const _0x20e5c9=_0x28fcc7;super(_0x36a152),this[_0x20e5c9(0xa3)]=new Map(),this[_0x20e5c9(0xdb)]=new Map(),this[_0x20e5c9(0xef)]=new Map(),this[_0x20e5c9(0xa8)]=new Map();const _0xa6efc3=this[_0x20e5c9(0x93)][_0x20e5c9(0x9c)];_0xa6efc3[_0x20e5c9(0xb5)](_0x20e5c9(0x10d),_0x3919f0),_0xa6efc3[_0x20e5c9(0xb5)](_0x20e5c9(0xe7),!0x1),this[_0x20e5c9(0x9a)]=_0xa6efc3[_0x20e5c9(0x104)](_0x20e5c9(0xe7));}[_0x28fcc7(0xac)](_0x2bc0c4,_0x3b1407){const _0x24435d=_0x28fcc7;0x0===this[_0x24435d(0xa8)][_0x24435d(0xdf)]&&setTimeout(()=>{const _0x3ed174=_0x24435d;for(const [_0x3a5216,_0xde6e0f]of this[_0x3ed174(0xa8)]){const _0x248a0d=this[_0x3ed174(0xa3)][_0x3ed174(0xa0)](_0x3a5216);_0x248a0d||_0xde6e0f?_0x248a0d&&_0xde6e0f&&this[_0x3ed174(0xe3)](_0x3a5216):this[_0x3ed174(0xf1)](_0x3a5216);}this[_0x3ed174(0xa8)][_0x3ed174(0x102)](),this[_0x3ed174(0x93)][_0x3ed174(0xce)][_0x3ed174(0x104)](_0x3ed174(0x111))[_0x3ed174(0xb7)](),this[_0x3ed174(0xab)]();},0xa),this[_0x24435d(0xa8)][_0x24435d(0xbe)](_0x2bc0c4,_0x3b1407);}[_0x28fcc7(0xb4)](){const _0x5312a9=_0x28fcc7,_0xa5ab98=this[_0x5312a9(0x93)],_0x1c854b=_0xa5ab98[_0x5312a9(0xce)][_0x5312a9(0x104)](_0x5312a9(0xe8)),_0x300646=_0xa5ab98[_0x5312a9(0xce)][_0x5312a9(0x104)](_0x5312a9(0xf3)),_0x5ec5c3=_0xa5ab98[_0x5312a9(0xce)][_0x5312a9(0x104)](_0x5312a9(0x111)),_0x5644ce=_0xa5ab98[_0x5312a9(0xce)][_0x5312a9(0x104)](_0x5312a9(0x89));this[_0x5312a9(0xc6)](),_0x5ec5c3[_0x5312a9(0xcd)](()=>{const _0x4fbaae=_0x5312a9,_0x2f6ad1=[];for(const [_0x5242e7,_0x143d02]of Array[_0x4fbaae(0xde)](this[_0x4fbaae(0xa3)])){const _0x582d7c=_0x5242e7[_0x4fbaae(0x8b)](),_0x235d5c=[];for(const _0x4b52ab of _0x582d7c){if(!_0x4b52ab[_0x4fbaae(0x8e)])continue;if(_0x4b52ab[_0x4fbaae(0xfc)]){_0x235d5c[_0x4fbaae(0x88)](..._0x4b52ab[_0x4fbaae(0xfb)]());continue;}const _0x5b3f6f=_0x4b52ab[_0x4fbaae(0x107)]();if(_0x235d5c[_0x4fbaae(0x86)]>0x0){const _0x102619=_0x235d5c[0x0][_0x4fbaae(0x8c)](_0x5b3f6f);if(_0x102619){_0x235d5c[0x0]=_0x102619;continue;}}_0x235d5c[_0x4fbaae(0x88)](_0x5b3f6f);}_0x2f6ad1[_0x4fbaae(0x88)]([_0x143d02[_0x4fbaae(0xa7)],_0x235d5c]);}return _0x2f6ad1;}),this[_0x5312a9(0xe1)](_0x1c854b,_0x5312a9(0xc0),(_0x46d4e9,_0x473e61)=>{const _0x4d29ff=_0x5312a9;this[_0x4d29ff(0xe1)](_0x473e61,_0x4d29ff(0x10b),(_0x1064cb,_0x3538e1,_0x2b4d27,_0x54b861)=>{const _0x2d4f2f=_0x4d29ff;_0x473e61[_0x2d4f2f(0x8e)]&&(null==_0x2b4d27?(this[_0x2d4f2f(0xf6)](_0x54b861[_0x2d4f2f(0xb9)]),this[_0x2d4f2f(0xac)](_0x473e61,!0x1)):(this[_0x2d4f2f(0xf6)](_0x2b4d27[_0x2d4f2f(0xb9)]),null==_0x54b861&&this[_0x2d4f2f(0xac)](_0x473e61,!0x0)));}),null!==_0x473e61[_0x4d29ff(0xf7)]?this[_0x4d29ff(0xf6)](_0x473e61[_0x4d29ff(0xb9)]):this[_0x4d29ff(0xac)](_0x473e61,!0x1);}),this[_0x5312a9(0xe1)](_0x1c854b,_0x5312a9(0xba),(_0x245281,_0x1994f3,_0x20bdc7)=>{const _0x58c127=_0x5312a9;this[_0x58c127(0x8d)](_0x1994f3,_0x58c127(0x10b)),this[_0x58c127(0xa8)][_0x58c127(0xee)](_0x1994f3),this[_0x58c127(0xa3)][_0x58c127(0xa0)](_0x1994f3)&&this[_0x58c127(0xe3)](_0x1994f3),_0x20bdc7&&this[_0x58c127(0xf6)](_0x20bdc7[_0x58c127(0xb9)]);}),this[_0x5312a9(0xe1)](_0x1c854b,_0x5312a9(0x109),(_0x3a1f20,_0x1a7685)=>{const _0x12d7e5=_0x5312a9;this[_0x12d7e5(0xf6)](_0x1a7685);}),this[_0x5312a9(0xe1)](_0x300646,_0x5312a9(0xad),()=>{const _0x53ff7d=_0x5312a9;this[_0x53ff7d(0xab)]();}),this[_0x5312a9(0xe1)](_0x5644ce,_0x5312a9(0x8f),(_0x446499,{threadId:_0x4d61aa,isFromAdapter:_0x59085b})=>{const _0x5b5b51=_0x5312a9;if(_0x59085b||!_0x1c854b[_0x5b5b51(0xea)](_0x4d61aa))return;const _0x4c6b2f=_0x1c854b[_0x5b5b51(0xe9)](_0x4d61aa);this[_0x5b5b51(0xa3)][_0x5b5b51(0x104)](_0x4c6b2f)[_0x5b5b51(0xa7)][_0x5b5b51(0x108)]();},{'priority':_0x5312a9(0x9b)});}[_0x28fcc7(0xab)](){const _0x3bfd62=_0x28fcc7,_0x2146b5=this[_0x3bfd62(0x93)][_0x3bfd62(0xce)][_0x3bfd62(0x104)](_0x3bfd62(0xf3)),_0x361d1d=this[_0x3bfd62(0x93)][_0x3bfd62(0xce)][_0x3bfd62(0x104)](_0x3bfd62(0xe8)),_0x26e329=Array[_0x3bfd62(0xde)](_0x2146b5[_0x3bfd62(0x95)],_0x21132b=>_0x21132b[_0x3bfd62(0xc4)])[_0x3bfd62(0xa6)](_0xb90275=>this[_0x3bfd62(0xdb)][_0x3bfd62(0xa0)](_0xb90275)),_0x18eb3=[];for(const _0x1526aa of _0x26e329){const _0x2fc712=this[_0x3bfd62(0xdb)][_0x3bfd62(0x104)](_0x1526aa)[_0x3bfd62(0xc5)][_0x3bfd62(0x8b)]();_0x18eb3[_0x3bfd62(0x88)](..._0x2fc712[_0x3bfd62(0xca)]((_0x4975eb,_0x4c3a74)=>[..._0x4975eb,..._0x4c3a74[_0x3bfd62(0x103)]()],[]));}_0x361d1d[_0x3bfd62(0xf0)]=_0x18eb3;}[_0x28fcc7(0xc6)](){const _0x14b07b=_0x28fcc7,_0x2c15d9=this[_0x14b07b(0x93)],_0x23995a=_0x2c15d9[_0x14b07b(0xe5)],_0x4feff8=_0x395f77(_0x23995a,_0x14b07b(0xf5)),_0x17a2e4=new _0x2ad4f2([{'type':_0x14b07b(0x113),'model':new _0x39ddaf({'withText':!0x0,'isToggleable':!0x0,'label':_0x4feff8,'commandName':_0x14b07b(0xb8),'role':_0x14b07b(0xd0)})},{'type':_0x14b07b(0xd2)},{'type':_0x14b07b(0x97),'model':new _0x39ddaf({'withText':!0x0,'label':_0x395f77(_0x23995a,_0x14b07b(0xdc)),'commandName':_0x14b07b(0xd4),'role':_0x14b07b(0xdd)})},{'type':_0x14b07b(0x97),'model':new _0x39ddaf({'withText':!0x0,'label':_0x395f77(_0x23995a,_0x14b07b(0xcb)),'commandName':_0x14b07b(0x96),'role':_0x14b07b(0xdd)})},{'type':_0x14b07b(0x97),'model':new _0x39ddaf({'withText':!0x0,'label':_0x395f77(_0x23995a,_0x14b07b(0xaf)),'commandName':_0x14b07b(0xf8),'role':_0x14b07b(0xdd)})},{'type':_0x14b07b(0x97),'model':new _0x39ddaf({'withText':!0x0,'label':_0x395f77(_0x23995a,_0x14b07b(0x94)),'commandName':_0x14b07b(0xec),'role':_0x14b07b(0xdd)})}]);for(const _0x3805b0 of _0x17a2e4)if(re(_0x3805b0)){const _0x3a1ca0=_0x2c15d9[_0x14b07b(0xc8)][_0x14b07b(0x104)](_0x3805b0[_0x14b07b(0xc5)][_0x14b07b(0x106)]);_0x3805b0[_0x14b07b(0xc5)][_0x14b07b(0x10a)](_0x14b07b(0xfa),_0x14b07b(0xcf))['to'](_0x3a1ca0,_0x14b07b(0xda),_0x14b07b(0xcf));}_0x2c15d9['ui'][_0x14b07b(0x105)][_0x14b07b(0xb3)](_0x14b07b(0xb8),_0x43bc2c=>this[_0x14b07b(0xc3)](_0x43bc2c,_0x17a2e4,_0x4feff8)),_0x2c15d9['ui'][_0x14b07b(0x105)][_0x14b07b(0xb3)](_0x14b07b(0xff),_0x230412=>this[_0x14b07b(0xc2)](_0x230412,_0x17a2e4,_0x4feff8));}[_0x28fcc7(0xc3)](_0x522aeb,_0x420af5,_0x51e5c2){const _0x1ffe7e=_0x28fcc7,_0x3ba371=_0x42025a(_0x522aeb,_0x1e9f3f),_0x16cc96=this[_0x1ffe7e(0x93)][_0x1ffe7e(0xc8)][_0x1ffe7e(0x104)](_0x1ffe7e(0xb8));_0x3ba371[_0x1ffe7e(0xf2)][_0x1ffe7e(0xbe)]({'tooltip':_0x51e5c2,'label':_0x51e5c2,'icon':_0x1d5424}),_0x3ba371[_0x1ffe7e(0xf2)][_0x1ffe7e(0x10a)](_0x1ffe7e(0xfa))['to'](_0x16cc96,_0x1ffe7e(0xda)),_0x3ba371[_0x1ffe7e(0xf2)]['on'](_0x1ffe7e(0x98),()=>{const _0x289ba2=_0x1ffe7e;_0x16cc96[_0x289ba2(0x98)](),this[_0x289ba2(0x93)][_0x289ba2(0xe6)][_0x289ba2(0xa7)][_0x289ba2(0x108)]();}),_0x3f70e7(_0x3ba371,_0x420af5,{'role':_0x1ffe7e(0xd9)});const _0x4217c5=[];for(const _0x414d94 of _0x420af5)re(_0x414d94)&&_0x4217c5[_0x1ffe7e(0x88)](this[_0x1ffe7e(0x93)][_0x1ffe7e(0xc8)][_0x1ffe7e(0x104)](_0x414d94[_0x1ffe7e(0xc5)][_0x1ffe7e(0x106)]));const _0xa850db=_0x3ba371[_0x1ffe7e(0xf2)];return _0xa850db[_0x1ffe7e(0xa1)][_0x1ffe7e(0x91)](_0x1ffe7e(0xcf)),_0xa850db[_0x1ffe7e(0xbc)][_0x1ffe7e(0x91)](_0x1ffe7e(0xcf)),_0xa850db[_0x1ffe7e(0xa1)][_0x1ffe7e(0x10a)](_0x1ffe7e(0xcf))['to'](_0x16cc96,_0x1ffe7e(0xcf)),_0xa850db[_0x1ffe7e(0xbc)][_0x1ffe7e(0x10a)](_0x1ffe7e(0xcf))[_0x1ffe7e(0xa5)](_0x4217c5,_0x1ffe7e(0xcf),(..._0x2345b2)=>_0x2345b2[_0x1ffe7e(0x9d)](_0x134a92=>_0x134a92)),_0x3ba371['on'](_0x1ffe7e(0x98),_0x30645f=>{const _0x393dcf=_0x1ffe7e;this[_0x393dcf(0x93)][_0x393dcf(0x98)](_0x30645f[_0x393dcf(0xaa)][_0x393dcf(0x106)]),this[_0x393dcf(0x93)][_0x393dcf(0xe6)][_0x393dcf(0xa7)][_0x393dcf(0x108)]();}),_0x3ba371;}[_0x28fcc7(0xc2)](_0xa1a909,_0x4d5de6,_0x226d73){const _0x3e0b11=_0x28fcc7,_0x2e2c0b=new _0x55c799(_0xa1a909),_0xd2f105=this[_0x3e0b11(0x93)][_0x3e0b11(0xc8)][_0x3e0b11(0x104)](_0x3e0b11(0xb8));_0x2e2c0b[_0x3e0b11(0xf2)][_0x3e0b11(0xbe)]({'label':_0x226d73,'icon':_0x1d5424});const _0x283102=new _0x47337e(_0xa1a909);for(const _0x1717f4 of _0x4d5de6){if(_0x3e0b11(0xd2)==_0x1717f4[_0x3e0b11(0xd3)]){_0x283102[_0x3e0b11(0xa4)][_0x3e0b11(0xb3)](new _0xc35a79(_0xa1a909));continue;}const _0x1a5d37=new _0x91d9dd(_0xa1a909,_0x2e2c0b),_0x3ff7ba=new _0x5952e0(_0xa1a909),_0xbfc340=_0x1717f4[_0x3e0b11(0xc5)];_0x3ff7ba[_0x3e0b11(0x10a)](...Object[_0x3e0b11(0xbf)](_0xbfc340))['to'](_0xbfc340),_0x3ff7ba[_0x3e0b11(0xb0)](_0x3e0b11(0x98))['to'](_0x2e2c0b),_0x3ff7ba['on'](_0x3e0b11(0x98),()=>{const _0x8500a4=_0x3e0b11;this[_0x8500a4(0x93)][_0x8500a4(0x98)](_0xbfc340[_0x8500a4(0x106)]),this[_0x8500a4(0x93)][_0x8500a4(0xe6)][_0x8500a4(0xa7)][_0x8500a4(0x108)]();}),_0x1a5d37[_0x3e0b11(0xf4)][_0x3e0b11(0xb3)](_0x3ff7ba),_0x283102[_0x3e0b11(0xa4)][_0x3e0b11(0xb3)](_0x1a5d37);}return _0x2e2c0b[_0x3e0b11(0x10a)](_0x3e0b11(0xcf))['to'](_0xd2f105,_0x3e0b11(0xcf)),_0x2e2c0b[_0x3e0b11(0x92)][_0x3e0b11(0xf4)][_0x3e0b11(0xb3)](_0x283102),_0x2e2c0b;}[_0x28fcc7(0xf1)](_0x36336c){const _0x448aa7=_0x28fcc7,_0x467877=this[_0x448aa7(0x93)],_0x817f8b=_0x467877[_0x448aa7(0x9c)],_0x48f3b2=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0x448aa7(0xf3)),_0xc3a83=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0x448aa7(0x89)),_0x229781=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0x448aa7(0x111)),_0xa0e516=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0xe7136f)['me'],_0x40b1ef=_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xb8))[_0x448aa7(0xe0)],{CommentsListView:_0x3b8456,CommentThreadInputView:_0x21d4a4}=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0x448aa7(0xfd));let _0xbb1816,_0x48efac;this[_0x448aa7(0xef)][_0x448aa7(0xa0)](_0x36336c['id'])?(_0x48efac=this[_0x448aa7(0xef)][_0x448aa7(0x104)](_0x36336c['id']),_0xbb1816=_0x48efac[_0x448aa7(0xbd)]):(_0xbb1816=new _0x40b1ef(_0x467877[_0x448aa7(0xe5)],_0x36336c,_0xa0e516,{'disableComments':this[_0x448aa7(0x9a)],'editorConfig':_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xb6)),'maxCommentsWhenCollapsed':_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xd5)),'maxThreadTotalWeight':_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xa2)),'maxCommentCharsWhenCollapsed':_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xb1)),'formatDateTime':_0x386a26(_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xe5))),'CommentView':_0x817f8b[_0x448aa7(0x104)](_0x448aa7(0xe2))[_0x448aa7(0xfe)],'CommentsListView':_0x3b8456,'CommentThreadInputView':_0x21d4a4}),_0xbb1816[_0x448aa7(0xbb)]['on'](_0x448aa7(0x98),()=>{const _0x42f42d=_0x448aa7;_0x467877[_0x42f42d(0xe6)][_0x42f42d(0xa7)][_0x42f42d(0x108)]();}),_0xbb1816[_0x448aa7(0x9f)]['on'](_0x448aa7(0x98),()=>{const _0x1aeee2=_0x448aa7;_0x467877[_0x1aeee2(0xe6)][_0x1aeee2(0xa7)][_0x1aeee2(0x108)]();}),_0x48efac=_0x48f3b2[_0x448aa7(0xe4)](this[_0x448aa7(0x93)][_0x448aa7(0xe5)],_0xbb1816),_0x48efac[_0x448aa7(0x10a)](_0x448aa7(0xed))['to'](_0xbb1816,_0x448aa7(0xed)),_0x48efac[_0x448aa7(0x10a)](_0x448aa7(0x86))['to'](_0xbb1816),_0x48efac[_0x448aa7(0x10a)](_0x448aa7(0xd3))['to'](_0xbb1816,_0x448aa7(0xd3),_0x5d1951=>_0x448aa7(0x85)+_0x5d1951),this[_0x448aa7(0xef)][_0x448aa7(0xbe)](_0x36336c['id'],_0x48efac));const _0x2d8df9=_0xc3a83[_0x448aa7(0x9e)](_0x36336c[_0x448aa7(0xd6)],_0xbb1816),_0x5cd845=new _0x447aa7(_0x467877,_0x36336c,_0xbb1816,_0x2d8df9),_0x583abd=_0x36336c[_0x448aa7(0x8b)]()[_0x448aa7(0xa6)](_0x5e69d3=>_0x5e69d3[_0x448aa7(0x8e)]);_0xbb1816[_0x448aa7(0x10e)]=_0x467877[_0x448aa7(0xce)][_0x448aa7(0x104)](_0x448aa7(0xe8))[_0x448aa7(0x100)][_0x448aa7(0xae)](_0x583abd),this[_0x448aa7(0xa3)][_0x448aa7(0xbe)](_0x36336c,_0x5cd845),this[_0x448aa7(0xdb)][_0x448aa7(0xbe)](_0xbb1816,_0x5cd845);const _0x4ae0ac=_0x48f3b2[_0x448aa7(0x10f)]({'view':_0x48efac,'target':()=>{const _0x4e530b=_0x448aa7,_0x12104d=[],_0x2ce46d=_0x36336c[_0x4e530b(0x8b)]()[_0x4e530b(0xa6)](_0x25dc8a=>_0x25dc8a[_0x4e530b(0x8e)]);for(const _0x1f7457 of _0x2ce46d)_0x12104d[_0x4e530b(0x88)](..._0x1f7457[_0x4e530b(0x90)]());return _0x56b873(_0x467877[_0x4e530b(0xe6)],_0x12104d);},'type':()=>_0x448aa7(0x85)+_0x5cd845[_0x448aa7(0xa7)][_0x448aa7(0xd3)]});_0xc3a83[_0x448aa7(0xc7)](_0xbb1816,_0x4ae0ac),_0x48f3b2[_0x448aa7(0xb3)](_0x4ae0ac),_0x229781[_0x448aa7(0xc1)](_0x4ae0ac);}[_0x28fcc7(0xe3)](_0x5eb994){const _0x5530b0=_0x28fcc7,_0x324a89=this[_0x5530b0(0x93)][_0x5530b0(0xce)][_0x5530b0(0x104)](_0x5530b0(0x89)),_0x10c7c6=this[_0x5530b0(0x93)][_0x5530b0(0xce)][_0x5530b0(0x104)](_0x5530b0(0xf3)),_0x3f293c=this[_0x5530b0(0xa3)][_0x5530b0(0x104)](_0x5eb994),_0x58e917=_0x3f293c[_0x5530b0(0xa7)],_0x1d3fce=_0x10c7c6[_0x5530b0(0x101)](_0x58e917);_0x324a89[_0x5530b0(0x10c)](_0x58e917),_0x1d3fce&&_0x10c7c6[_0x5530b0(0xc9)](_0x1d3fce),this[_0x5530b0(0xa3)][_0x5530b0(0xee)](_0x5eb994),this[_0x5530b0(0xdb)][_0x5530b0(0xee)](_0x58e917),_0x3f293c[_0x5530b0(0x87)]();}[_0x28fcc7(0xf6)](_0x36b311){const _0x36d537=_0x28fcc7;if(!_0x36b311[_0x36d537(0x8e)]||!this[_0x36d537(0xa3)][_0x36d537(0xa0)](_0x36b311))return;const _0x5ee3c6=this[_0x36d537(0x93)][_0x36d537(0xce)][_0x36d537(0x104)](_0x36d537(0xe8)),_0x1527cb=this[_0x36d537(0xa3)][_0x36d537(0x104)](_0x36b311),_0x49ecbd=_0x36b311[_0x36d537(0x8b)]();_0x1527cb[_0x36d537(0xa7)][_0x36d537(0x10e)]=_0x5ee3c6[_0x36d537(0x100)][_0x36d537(0xae)](_0x49ecbd);}[_0x28fcc7(0x87)](){const _0x54952a=_0x28fcc7;for(const _0x430592 of this[_0x54952a(0xa3)][_0x54952a(0xbf)]())this[_0x54952a(0xe3)](_0x430592);for(const _0x36e178 of this[_0x54952a(0xef)][_0x54952a(0xd1)]())_0x36e178[_0x54952a(0xbd)][_0x54952a(0x87)]();super[_0x54952a(0x87)]();}}function re(_0x438310){const _0x4e9e71=_0x28fcc7;return _0x4e9e71(0xc5)in _0x438310;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2c4c6d=_0x4e3b;(function(_0x4778a5,_0x437cfc){const _0x4af496=_0x4e3b,_0x2e914f=_0x4778a5();while(!![]){try{const _0x421456=parseInt(_0x4af496(0xa9))/0x1+-parseInt(_0x4af496(0xba))/0x2+-parseInt(_0x4af496(0xbe))/0x3*(parseInt(_0x4af496(0xb0))/0x4)+parseInt(_0x4af496(0xad))/0x5+-parseInt(_0x4af496(0xab))/0x6*(parseInt(_0x4af496(0xc6))/0x7)+-parseInt(_0x4af496(0xac))/0x8*(-parseInt(_0x4af496(0xa8))/0x9)+parseInt(_0x4af496(0xc0))/0xa*(parseInt(_0x4af496(0xbd))/0xb);if(_0x421456===_0x437cfc)break;else _0x2e914f['push'](_0x2e914f['shift']());}catch(_0x5db750){_0x2e914f['push'](_0x2e914f['shift']());}}}(_0x1e55,0x9466d));import{ObservableMixin as _0x5b77ce}from'ckeditor5/src/utils.js';import{getTranslation as _0x456701}from'../utils/common-translations.js';function _0x1e55(){const _0x262b80=['PendingActions','acceptSuggestion','listenTo','isDirty','7NqqhMm','view','locale','_discardCommand','_setPendingAction','getRanges','canDiscard','_acceptCommand','canEditAt','change:isDirty','_removePendingAction','isEnabled','commentThreadController','9kavUBp','626855ohfWeo','plugins','4284372HkrdkC','779992kjTMQU','1482145avGMBB','add','_editor','111860nfnmlT','model','stopListening','PENDING_ACTION_SUGGESTION','remove','bind','execute','canAccept','get','commands','1504076CQuFYS','destroy','_pendingAction','19657ieMQXT','3AVwKkR','discardSuggestion','6050SNWayX','unbind'];_0x1e55=function(){return _0x262b80;};return _0x1e55();}function _0x4e3b(_0x201093,_0x46835a){const _0x1e55b2=_0x1e55();return _0x4e3b=function(_0x4e3bd9,_0x293912){_0x4e3bd9=_0x4e3bd9-0x9d;let _0x46aae3=_0x1e55b2[_0x4e3bd9];return _0x46aae3;},_0x4e3b(_0x201093,_0x46835a);}export default class ne extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b77ce(){constructor(_0x59b53c,_0x3e737c,_0x23c218,_0x40c787){const _0x4a1634=_0x4e3b;super(),this[_0x4a1634(0xb1)]=_0x3e737c,this[_0x4a1634(0xc7)]=_0x23c218,this[_0x4a1634(0xa7)]=_0x40c787,this[_0x4a1634(0xaf)]=_0x59b53c,this[_0x4a1634(0xa2)]=_0x59b53c[_0x4a1634(0xb9)][_0x4a1634(0xb8)](_0x4a1634(0xc3)),this[_0x4a1634(0x9e)]=_0x59b53c[_0x4a1634(0xb9)][_0x4a1634(0xb8)](_0x4a1634(0xbf)),this[_0x4a1634(0xc7)][_0x4a1634(0xb5)](_0x4a1634(0xa6))['to'](this[_0x4a1634(0xa2)],this[_0x4a1634(0x9e)],(_0xeb5876,_0x2784d9)=>_0xeb5876||_0x2784d9),this[_0x4a1634(0xc7)][_0x4a1634(0xb5)](_0x4a1634(0xb7))['to'](this[_0x4a1634(0xa2)],_0x4a1634(0xa6),_0xf48f1c=>_0xf48f1c&&this[_0x4a1634(0xaf)][_0x4a1634(0xb1)][_0x4a1634(0xa3)](_0x3e737c[_0x4a1634(0xa0)]())),this[_0x4a1634(0xc7)][_0x4a1634(0xb5)](_0x4a1634(0xa1))['to'](this[_0x4a1634(0x9e)],_0x4a1634(0xa6),_0x6b7d26=>_0x6b7d26&&this[_0x4a1634(0xaf)][_0x4a1634(0xb1)][_0x4a1634(0xa3)](_0x3e737c[_0x4a1634(0xa0)]())),this[_0x4a1634(0xbc)]=null,_0x23c218[_0x4a1634(0xc5)]&&this[_0x4a1634(0x9f)](),this[_0x4a1634(0xc4)](_0x23c218,_0x4a1634(0xc3),()=>this[_0x4a1634(0xc3)]()),this[_0x4a1634(0xc4)](_0x23c218,_0x4a1634(0xbf),()=>this[_0x4a1634(0xbf)]()),this[_0x4a1634(0xc4)](_0x23c218,_0x4a1634(0xa4),()=>{const _0xdcd6f9=_0x4a1634;_0x23c218[_0xdcd6f9(0xc5)]?this[_0xdcd6f9(0x9f)]():this[_0xdcd6f9(0xa5)]();});}[_0x2c4c6d(0xc3)](){const _0x40372d=_0x2c4c6d;this[_0x40372d(0xa2)][_0x40372d(0xb6)](this[_0x40372d(0xb1)]['id']);}[_0x2c4c6d(0xbf)](){const _0x3dc174=_0x2c4c6d;this[_0x3dc174(0x9e)][_0x3dc174(0xb6)](this[_0x3dc174(0xb1)]['id']);}[_0x2c4c6d(0xbb)](){const _0x2b9ff8=_0x2c4c6d;this[_0x2b9ff8(0xc7)][_0x2b9ff8(0xc1)](_0x2b9ff8(0xa6)),this[_0x2b9ff8(0xc7)][_0x2b9ff8(0xc1)](_0x2b9ff8(0xb7)),this[_0x2b9ff8(0xc7)][_0x2b9ff8(0xc1)](_0x2b9ff8(0xa1)),this[_0x2b9ff8(0xb2)](),this[_0x2b9ff8(0xa7)][_0x2b9ff8(0xbb)](),this[_0x2b9ff8(0xbc)]&&this[_0x2b9ff8(0xa5)]();}[_0x2c4c6d(0x9f)](){const _0x59a36d=_0x2c4c6d,_0x56664c=_0x456701(this[_0x59a36d(0xaf)][_0x59a36d(0x9d)],_0x59a36d(0xb3));this[_0x59a36d(0xbc)]=this[_0x59a36d(0xaf)][_0x59a36d(0xaa)][_0x59a36d(0xb8)](_0x59a36d(0xc2))[_0x59a36d(0xae)](_0x56664c);}[_0x2c4c6d(0xa5)](){const _0x5c8d27=_0x2c4c6d;null!==this[_0x5c8d27(0xbc)]&&this[_0x5c8d27(0xaf)][_0x5c8d27(0xaa)][_0x5c8d27(0xb8)](_0x5c8d27(0xc2))[_0x5c8d27(0xb4)](this[_0x5c8d27(0xbc)]),this[_0x5c8d27(0xbc)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33728a=_0x373d;function _0x5700(){const _0x58b2c3=['2274GCWhOT','_config','authoredAt','isReadOnly','commentInputView','commentsListView','4326bXepWd','_model','10ETiIFi','commentThreadInputView','value','locale','isDirty','14284HioWaB','bind','showInput','length','addComment','updateComment','canAccept','delegate','editorConfig','_localUser','setData','descriptionParts','273213tnlDRX','submit','425oWhHpi','60126NgSnlv','646257qAFxhI','disableComments','removeComment','commentThread','destroy','6167139edNSaq','focus','element','2122736MgfGsr','isActive','canDiscard','_createCommentViews','editor','disabledSubmit','assign','fire','isEnabled','hasDirtyComment','11RjECcM','cancel','_createCommentThreadInputView','CommentView','set'];_0x5700=function(){return _0x58b2c3;};return _0x5700();}(function(_0x2b29a9,_0xe19bb5){const _0x5c31d0=_0x373d,_0x4dbf8=_0x2b29a9();while(!![]){try{const _0x3d59e2=-parseInt(_0x5c31d0(0xba))/0x1*(parseInt(_0x5c31d0(0xdb))/0x2)+-parseInt(_0x5c31d0(0xdc))/0x3+-parseInt(_0x5c31d0(0xcc))/0x4*(parseInt(_0x5c31d0(0xda))/0x5)+-parseInt(_0x5c31d0(0xbf))/0x6*(-parseInt(_0x5c31d0(0xc5))/0x7)+parseInt(_0x5c31d0(0xb0))/0x8+-parseInt(_0x5c31d0(0xd8))/0x9+-parseInt(_0x5c31d0(0xc7))/0xa*(-parseInt(_0x5c31d0(0xe1))/0xb);if(_0x3d59e2===_0xe19bb5)break;else _0x4dbf8['push'](_0x4dbf8['shift']());}catch(_0x23c5fc){_0x4dbf8['push'](_0x4dbf8['shift']());}}}(_0x5700,0x2bff1));import{View as _0x5a3cca}from'ckeditor5/src/ui.js';function _0x373d(_0x1e7430,_0x170b51){const _0x570085=_0x5700();return _0x373d=function(_0x373da1,_0x200749){_0x373da1=_0x373da1-0xb0;let _0x673395=_0x570085[_0x373da1];return _0x673395;},_0x373d(_0x1e7430,_0x170b51);}export default class es extends _0x5a3cca{constructor(_0x118ad9,_0x24a403,_0x34a99b,_0x269e5a){const _0x208f5d=_0x373d;super(_0x118ad9),this[_0x208f5d(0xc4)]=null,this[_0x208f5d(0xc8)]=null,this[_0x208f5d(0xbe)](_0x208f5d(0xb1),!0x1),this[_0x208f5d(0xbe)](_0x208f5d(0xc1),_0x24a403[_0x208f5d(0xc1)]),this[_0x208f5d(0xcd)](_0x208f5d(0xc1))['to'](_0x24a403),this[_0x208f5d(0xbe)](_0x208f5d(0xd7),[]),this[_0x208f5d(0xbe)](_0x208f5d(0xcb),!0x1),this[_0x208f5d(0xbe)](_0x208f5d(0xb8),!0x1),this[_0x208f5d(0xbe)](_0x208f5d(0xd2),!0x1),this[_0x208f5d(0xbe)](_0x208f5d(0xb2),!0x1),this[_0x208f5d(0xc6)]=_0x24a403,this[_0x208f5d(0xd5)]=_0x34a99b,this[_0x208f5d(0xc0)]=_0x269e5a,_0x269e5a[_0x208f5d(0xdd)]?this[_0x208f5d(0xbe)](_0x208f5d(0xcf),0x1):this[_0x208f5d(0xb3)]();}[_0x33728a(0xe2)](){const _0x35b063=_0x33728a;this[_0x35b063(0xe3)][_0x35b063(0xe2)]();}[_0x33728a(0xe0)](){const _0x14ba0f=_0x33728a;this[_0x14ba0f(0xc4)]&&this[_0x14ba0f(0xc4)][_0x14ba0f(0xe0)](),this[_0x14ba0f(0xc8)]&&this[_0x14ba0f(0xc8)][_0x14ba0f(0xe0)](),super[_0x14ba0f(0xe0)]();}[_0x33728a(0xb3)](){const _0x5dde21=_0x33728a,{CommentsListView:_0x28f382}=this[_0x5dde21(0xc0)];this[_0x5dde21(0xc4)]=new _0x28f382(this[_0x5dde21(0xca)],this[_0x5dde21(0xc6)][_0x5dde21(0xdf)],Object[_0x5dde21(0xb6)]({'CommentView':this[_0x5dde21(0xc0)][_0x5dde21(0xbd)]},this[_0x5dde21(0xc0)])),this[_0x5dde21(0xc4)][_0x5dde21(0xd3)](_0x5dde21(0xde))['to'](this),this[_0x5dde21(0xc4)][_0x5dde21(0xd3)](_0x5dde21(0xd1))['to'](this),this[_0x5dde21(0xc4)][_0x5dde21(0xcd)](_0x5dde21(0xb1))['to'](this),this[_0x5dde21(0xbe)](_0x5dde21(0xcf),this[_0x5dde21(0xc4)][_0x5dde21(0xcf)]+0x1),this[_0x5dde21(0xcd)](_0x5dde21(0xcf))['to'](this[_0x5dde21(0xc4)],_0x5dde21(0xcf),_0x3d16ef=>_0x3d16ef+0x1),this[_0x5dde21(0xc8)]=this[_0x5dde21(0xbc)](),this['on'](_0x5dde21(0xde),()=>this[_0x5dde21(0xe2)]()),this[_0x5dde21(0xcd)](_0x5dde21(0xcb))['to'](this[_0x5dde21(0xc4)],_0x5dde21(0xb9),this[_0x5dde21(0xc8)][_0x5dde21(0xc3)],_0x5dde21(0xc9),(_0x18df8d,_0x3194a1)=>_0x18df8d||!!_0x3194a1);}[_0x33728a(0xbc)](){const _0x48313f=_0x33728a,{CommentThreadInputView:_0x54af78}=this[_0x48313f(0xc0)],_0x2760b6=new _0x54af78(this[_0x48313f(0xca)],this[_0x48313f(0xd5)],this[_0x48313f(0xc0)][_0x48313f(0xd4)]),_0x73373e=_0x2760b6[_0x48313f(0xc3)];return _0x2760b6[_0x48313f(0xcd)](_0x48313f(0xce))['to'](this,_0x48313f(0xb1),this[_0x48313f(0xc6)][_0x48313f(0xdf)],_0x48313f(0xc2),_0x73373e,_0x48313f(0xc9),(_0x464bec,_0x2ae8a5,_0xc46833)=>!!_0xc46833||_0x464bec&&!_0x2ae8a5),_0x73373e['on'](_0x48313f(0xd9),(_0x5b87b8,_0x37a6dd)=>{const _0x33a7f5=_0x48313f;this[_0x33a7f5(0xb7)](_0x33a7f5(0xd0),_0x37a6dd),_0x73373e[_0x33a7f5(0xb4)][_0x33a7f5(0xd6)]('');}),_0x73373e['on'](_0x48313f(0xbb),()=>this[_0x48313f(0xe2)]()),_0x73373e[_0x48313f(0xcd)](_0x48313f(0xb5))['to'](this[_0x48313f(0xc6)][_0x48313f(0xdf)],_0x48313f(0xc2)),_0x2760b6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x101fa3=_0x5ae4;(function(_0x4aec42,_0x386671){const _0xc0240d=_0x5ae4,_0x5ee60c=_0x4aec42();while(!![]){try{const _0x3b6fe3=-parseInt(_0xc0240d(0x118))/0x1*(-parseInt(_0xc0240d(0x132))/0x2)+-parseInt(_0xc0240d(0xdf))/0x3+parseInt(_0xc0240d(0xf7))/0x4+-parseInt(_0xc0240d(0xff))/0x5+parseInt(_0xc0240d(0xf1))/0x6*(parseInt(_0xc0240d(0x133))/0x7)+-parseInt(_0xc0240d(0x102))/0x8+-parseInt(_0xc0240d(0x119))/0x9*(-parseInt(_0xc0240d(0x12c))/0xa);if(_0x3b6fe3===_0x386671)break;else _0x5ee60c['push'](_0x5ee60c['shift']());}catch(_0x520276){_0x5ee60c['push'](_0x5ee60c['shift']());}}}(_0x490c,0x1d98a));import{getTranslation as _0x5f492b}from'../../utils/common-translations.js';function _0x490c(){const _0x548eeb=['getTemplate','title','color','<p>','push','fire','ck-comment__external','span','ck-annotation__actions','delegate','ck-suggestion__info-name','discardButton','EXTERNAL_IMPORT_WORD_AVATAR','490191NplrKV','attributes','content','acceptSuggestion','render','value','_createButton','importWord','getExternalSuggestionNote','</span>','ck-suggestion__user','</p>','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation__content-wrapper','locale','ck-suggestion--discard','ck-comment__info-time','discardSuggestion','708rJfuOT','isEnabled','ck-suggestion--disabled-comments','commentThreadInputView','isActive','\x22\x20title=\x22','881976bQMWtp','descriptionParts','canAccept','execute','description','children','EXTERNAL_AVATAR','name','807220bjoMwh','ck-suggestion-','innerText','638536GZOTiX','_descriptionElement','editorDestroyed','bind','ck-annotation__main','ck-suggestion__info','Accept\x20suggestion','extendTemplate','ck-annotation__user','split','set','canDiscard','ck-suggestion-wrapper--active','_model','source','map','ck-suggestion--accept','.ck-annotation__content-wrapper','ck-annotation','Discard\x20suggestion','createElement','editorReady','1Dbqmng','63LGiHks','creator','commentsListView','formatDateTime','isExternal','element','cancel','disableComments','ck-suggestion-wrapper','ck-suggestion__main','<span\x20class=\x22ck-suggestion-type\x22>','check','div','setTemplate','type','_config','time','@external','bindTemplate','102530DhbyKO','join','acceptButton','change:description','\x22></span>','getUserViewNotificationText','417442kwiCJP','1477jEhpox','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__actions','ck-annotation__info-time','authoredAt','querySelector','userView','EXTERNAL_SUGGESTION','author','commentThread','ck-suggestion','ck-annotation__info','ck-annotation__info-name','innerHTML'];_0x490c=function(){return _0x548eeb;};return _0x490c();}function _0x5ae4(_0x499bf7,_0x5c170e){const _0x490c1e=_0x490c();return _0x5ae4=function(_0x5ae4cb,_0x5c07ab){_0x5ae4cb=_0x5ae4cb-0xde;let _0x1411d4=_0x490c1e[_0x5ae4cb];return _0x1411d4;},_0x5ae4(_0x499bf7,_0x5c170e);}import{default as _0x345288}from'./basesuggestionthreadview.js';import{ButtonView as _0x4f2af2}from'ckeditor5/src/ui.js';import{icons as _0x4b3130}from'ckeditor5/src/core.js';import{trimHtml as _0x248c5b,UserView as _0x296022}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x345288{constructor(_0x13fc36,_0x30d947,_0x2bcbba,_0x271a78){const _0x4c7f6a=_0x5ae4;super(_0x13fc36,_0x30d947,_0x2bcbba,_0x271a78),this[_0x4c7f6a(0x10c)](_0x4c7f6a(0x127),''),this[_0x4c7f6a(0x105)](_0x4c7f6a(0x127))['to'](this,_0x4c7f6a(0xf8),_0x8a0336=>_0x8a0336&&_0x8a0336[0x0]?_0x8a0336[0x0][_0x4c7f6a(0x127)]:''),this[_0x4c7f6a(0x105)](_0x4c7f6a(0xfb))['to'](this,_0x4c7f6a(0xf8),this,_0x4c7f6a(0xf5),(_0x5ad941,_0x57207e)=>{const _0x642597=_0x4c7f6a;let _0x5b5555='';for(const _0x542026 of _0x5ad941)_0x5b5555+=_0x642597(0x144)+ds(_0x542026[_0x642597(0xe1)],_0x542026[_0x642597(0x143)])+_0x642597(0xea);return _0x57207e?_0x5b5555:_0x248c5b(_0x5b5555,{'limit':0x8c});}),this[_0x4c7f6a(0x103)]=null,this[_0x4c7f6a(0x12e)]=this[_0x4c7f6a(0xe5)](_0x5f492b(_0x13fc36,_0x4c7f6a(0x108)),_0x4b3130[_0x4c7f6a(0x124)],_0x4c7f6a(0x112),_0x4c7f6a(0xe2),'sw'),this[_0x4c7f6a(0x12e)][_0x4c7f6a(0x105)](_0x4c7f6a(0xf2))['to'](this,_0x4c7f6a(0xf9)),this[_0x4c7f6a(0x14c)]=this[_0x4c7f6a(0xe5)](_0x5f492b(_0x13fc36,_0x4c7f6a(0x115)),_0x4b3130[_0x4c7f6a(0x11f)],_0x4c7f6a(0xee),_0x4c7f6a(0xf0),'sw'),this[_0x4c7f6a(0x14c)][_0x4c7f6a(0x105)](_0x4c7f6a(0xf2))['to'](this,_0x4c7f6a(0x10d)),this[_0x4c7f6a(0x139)]=new _0x296022(_0x13fc36,this[_0x4c7f6a(0x10f)][_0x4c7f6a(0x13b)],this[_0x4c7f6a(0x131)]()),this[_0x4c7f6a(0x139)][_0x4c7f6a(0x109)]({'attributes':{'class':[_0x4c7f6a(0xe9),_0x4c7f6a(0x10a)]}}),this[_0x4c7f6a(0x126)](this[_0x4c7f6a(0x141)]());}[_0x101fa3(0x141)](){const _0x45baa8=_0x101fa3,_0xade019=this[_0x45baa8(0x12b)],_0x25d876=[{'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x107),_0x45baa8(0x13e)]},'children':[{'tag':_0x45baa8(0x148),'children':[{'text':this[_0x45baa8(0x139)][_0x45baa8(0xfe)]}],'attributes':{'class':[_0x45baa8(0x14b),_0x45baa8(0x13f)]}},{'tag':_0x45baa8(0x129),'attributes':{'datetime':_0xade019['to'](_0x45baa8(0x137)),'class':[_0x45baa8(0xef),_0x45baa8(0x136)]},'children':[{'text':_0xade019['to'](_0x45baa8(0x137),_0x411819=>this[_0x45baa8(0x128)][_0x45baa8(0x11c)](_0x411819))}]}]},{'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x135),_0x45baa8(0x149)]},'children':[this[_0x45baa8(0x12e)],this[_0x45baa8(0x14c)]]},{'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0xec)]}}];this[_0x45baa8(0x10f)][_0x45baa8(0x11d)]&&_0x25d876[_0x45baa8(0x145)]({'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x147)]},'children':[{'text':this[_0x45baa8(0xe7)]()}]});const _0x36f68e={'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x121),_0xade019['if'](_0x45baa8(0xf5),_0x45baa8(0x10e)),_0xade019['to'](_0x45baa8(0x127),_0x3b3a1a=>_0x45baa8(0x100)+_0x3b3a1a),this[_0x45baa8(0x128)][_0x45baa8(0x120)]&&_0x45baa8(0xf3)],'data-suggestion-id':this[_0x45baa8(0x10f)]['id'],'data-thread-id':this[_0x45baa8(0x10f)][_0x45baa8(0x13c)]['id'],'data-author-id':this[_0x45baa8(0x10f)][_0x45baa8(0x13b)]['id'],'tabindex':-0x1},'children':[{'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x13d),_0x45baa8(0x114)]},'children':[this[_0x45baa8(0x139)],{'tag':_0x45baa8(0x125),'attributes':{'class':[_0x45baa8(0x122),_0x45baa8(0x106)]},'children':_0x25d876}]}]};return this[_0x45baa8(0x11b)]&&this[_0x45baa8(0xf4)]&&(_0x36f68e[_0x45baa8(0xfc)][_0x45baa8(0x145)](this[_0x45baa8(0x11b)],this[_0x45baa8(0xf4)]),this[_0x45baa8(0x11b)][_0x45baa8(0x14a)](_0x45baa8(0x117))['to'](this),this[_0x45baa8(0x11b)][_0x45baa8(0x14a)](_0x45baa8(0x104))['to'](this),this[_0x45baa8(0xf4)][_0x45baa8(0x14a)](_0x45baa8(0x117))['to'](this),this[_0x45baa8(0xf4)][_0x45baa8(0x14a)](_0x45baa8(0x104))['to'](this)),_0x36f68e;}[_0x101fa3(0xe3)](){const _0x3dffea=_0x101fa3;super[_0x3dffea(0xe3)](),this[_0x3dffea(0x103)]=this[_0x3dffea(0x11e)][_0x3dffea(0x138)](_0x3dffea(0x113)),this[_0x3dffea(0x103)][_0x3dffea(0x140)]=this[_0x3dffea(0xfb)],this['on'](_0x3dffea(0x12f),(_0x3d8e2e,_0x2484b8,_0x1a8752)=>{const _0xf3b511=_0x3dffea;this[_0xf3b511(0x103)][_0xf3b511(0x140)]=_0x1a8752;});}[_0x101fa3(0xe5)](_0x45dc0a,_0x42965f,_0x14af94,_0x49cd3d,_0x46bd8e){const _0x4a453d=_0x101fa3,_0x351cb2=new _0x4f2af2(this[_0x4a453d(0xed)]);return _0x351cb2[_0x4a453d(0x10c)]({'label':_0x45dc0a,'icon':_0x42965f,'tooltip':!0x0,'tooltipPosition':_0x46bd8e}),_0x351cb2[_0x4a453d(0x109)]({'attributes':{'class':_0x14af94}}),_0x351cb2['on'](_0x4a453d(0xfa),()=>{const _0x178c0c=_0x4a453d;this[_0x178c0c(0x146)](_0x49cd3d,this[_0x178c0c(0x10f)]['id']);}),_0x351cb2;}[_0x101fa3(0xe7)](){const _0x6bb0c6=_0x101fa3;return _0x6bb0c6(0xe6)===this[_0x6bb0c6(0x10f)][_0x6bb0c6(0xe0)][_0x6bb0c6(0x12a)][_0x6bb0c6(0x110)]?_0x5f492b(this[_0x6bb0c6(0xed)],_0x6bb0c6(0x134)):_0x5f492b(this[_0x6bb0c6(0xed)],_0x6bb0c6(0x13a));}[_0x101fa3(0x131)](){const _0x28c3cf=_0x101fa3;return this[_0x28c3cf(0x10f)][_0x28c3cf(0x11d)]?_0x28c3cf(0xe6)===this[_0x28c3cf(0x10f)][_0x28c3cf(0xe0)][_0x28c3cf(0x12a)][_0x28c3cf(0x110)]?_0x5f492b(this[_0x28c3cf(0xed)],_0x28c3cf(0xde),this[_0x28c3cf(0x10f)][_0x28c3cf(0x11a)][_0x28c3cf(0xfe)]):_0x5f492b(this[_0x28c3cf(0xed)],_0x28c3cf(0xfd),this[_0x28c3cf(0x10f)][_0x28c3cf(0x11a)][_0x28c3cf(0xfe)]):null;}}function ds(_0x26c292,_0x4ce23b){const _0x19c29e=_0x101fa3;let _0x42ec5b='';return _0x42ec5b+=_0x26c292[_0x19c29e(0x10b)]('*')[_0x19c29e(0x111)]((_0x295254,_0x12eaca)=>_0x12eaca%0x2!=0x0?_0x19c29e(0x123)+us(_0x295254)+_0x19c29e(0xe8):us(_0x295254))[_0x19c29e(0x12d)](''),_0x4ce23b&&(_0x42ec5b+=_0x19c29e(0xeb)+_0x4ce23b[_0x19c29e(0xe4)]+_0x19c29e(0xf6)+_0x4ce23b[_0x19c29e(0x142)]+_0x19c29e(0x130)),_0x42ec5b;}function us(_0x59312a){const _0x22f28d=_0x101fa3,_0x4b4b65=document[_0x22f28d(0x116)](_0x22f28d(0x148));return _0x4b4b65[_0x22f28d(0x101)]=_0x59312a,_0x4b4b65[_0x22f28d(0x140)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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;}}
|
|
23
|
+
export function getTranslation(_0x3d4bcf,_0x13a5b9,_0x7aa81b){const t=_0x3d4bcf['t'];switch(_0x13a5b9){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',_0x7aa81b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x7aa81b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x7aa81b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x7aa81b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x7aa81b);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',_0x7aa81b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x7aa81b);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',_0x7aa81b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x7aa81b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x7aa81b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x7aa81b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x7aa81b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x7aa81b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x7aa81b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x7aa81b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x7aa81b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x7aa81b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x7aa81b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x7aa81b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x7aa81b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x7aa81b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x7aa81b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x7aa81b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x7aa81b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x7aa81b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x7aa81b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x7aa81b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x7aa81b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x7aa81b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x7aa81b);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'},_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x7aa81b);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'},_0x7aa81b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x7aa81b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x7aa81b);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'},_0x7aa81b);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'},_0x7aa81b);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'},_0x7aa81b);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 _0x13a5b9;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x57fa(){const _0xd5ce4f=['change','1791GRnWRa','createPositionAt','createPositionAfter','deletion','20hDLfAm','join','replace','600yrnJna','createPositionBefore','7447938mUyqyL','start','301246xrNbpH','374554xwTMhn','map','10361029PJyZQS','execute','value','sort','1083745iSTHJA','212958DmJGUz','322hvPlbQ','5pjiAJf','color','createRange','isMultiRange','end','isIntersecting','isTouching','5YCdnZM','\x20[color\x20','50510OcFbAP','8MaXuzg','type','splice','isInContent','length','from','next','getRanges','schema','content','isCollapsed','isObject','push','add','isArray'];_0x57fa=function(){return _0xd5ce4f;};return _0x57fa();}(function(_0x445b12,_0x29867f){const _0x2366f8=_0x4353,_0x267c6d=_0x445b12();while(!![]){try{const _0x3ab7dc=parseInt(_0x2366f8(0x155))/0x1*(-parseInt(_0x2366f8(0x174))/0x2)+-parseInt(_0x2366f8(0x17b))/0x3*(-parseInt(_0x2366f8(0x16c))/0x4)+parseInt(_0x2366f8(0x17d))/0x5*(-parseInt(_0x2366f8(0x171))/0x6)+-parseInt(_0x2366f8(0x176))/0x7*(parseInt(_0x2366f8(0x158))/0x8)+parseInt(_0x2366f8(0x168))/0x9*(parseInt(_0x2366f8(0x157))/0xa)+parseInt(_0x2366f8(0x173))/0xb*(parseInt(_0x2366f8(0x16f))/0xc)+parseInt(_0x2366f8(0x17a))/0xd*(parseInt(_0x2366f8(0x17c))/0xe);if(_0x3ab7dc===_0x29867f)break;else _0x267c6d['push'](_0x267c6d['shift']());}catch(_0x4ebf5f){_0x267c6d['push'](_0x267c6d['shift']());}}}(_0x57fa,0xf16f7));export function normalizeDescription(_0x53b0b7){const _0x2cbd2a=_0x4353;return Array[_0x2cbd2a(0x166)](_0x53b0b7)||(_0x53b0b7=[_0x53b0b7]),_0x53b0b7[_0x2cbd2a(0x175)](_0x15a637=>{const _0x5c3df0=_0x2cbd2a,_0x6c560=_0x15a637[_0x5c3df0(0x161)][_0x5c3df0(0x16e)](/\*/g,''),_0x39fe04=_0x15a637[_0x5c3df0(0x17e)]?_0x5c3df0(0x156)+_0x15a637[_0x5c3df0(0x17e)][_0x5c3df0(0x178)]+']':'';return'['+_0x15a637[_0x5c3df0(0x159)]+']\x20'+_0x6c560+_0x39fe04;})[_0x2cbd2a(0x16d)](';\x20');}export function sortSuggestions(_0x4fb57a){const _0x429afe=_0x4353;return _0x4fb57a[_0x429afe(0x179)]((_0x8ecf7b,_0x163d02)=>_0x429afe(0x16b)==_0x8ecf7b[_0x429afe(0x159)]&&_0x429afe(0x16b)!=_0x163d02[_0x429afe(0x159)]?-0x1:_0x429afe(0x16b)!=_0x8ecf7b[_0x429afe(0x159)]&&_0x429afe(0x16b)==_0x163d02[_0x429afe(0x159)]?0x1:0x0);}function _0x4353(_0x5a1f44,_0x2af040){const _0x57fac0=_0x57fa();return _0x4353=function(_0x4353fc,_0x285854){_0x4353fc=_0x4353fc-0x151;let _0xb255ee=_0x57fac0[_0x4353fc];return _0xb255ee;},_0x4353(_0x5a1f44,_0x2af040);}export function getSelectedSuggestions(_0x252fe4,_0x30a91a){const _0x7ddb64=_0x4353,_0x3d4480=Array[_0x7ddb64(0x15d)](_0x252fe4[_0x7ddb64(0x15f)]()),_0x4ff395=new Set();for(const _0x13c398 of _0x30a91a)if(_0x13c398[_0x7ddb64(0x15b)]){for(const _0x20224c of _0x3d4480)for(const _0x1b1ddc of _0x13c398[_0x7ddb64(0x15f)]())(_0x20224c[_0x7ddb64(0x153)](_0x1b1ddc)||_0x252fe4[_0x7ddb64(0x162)]&&!_0x13c398[_0x7ddb64(0x151)]&&_0x13c398[_0x7ddb64(0x15e)]&&_0x1b1ddc[_0x7ddb64(0x152)][_0x7ddb64(0x154)](_0x20224c[_0x7ddb64(0x172)]))&&_0x4ff395[_0x7ddb64(0x165)](_0x13c398);}return _0x4ff395;}export function getRangesOfBlockGroups(_0x245c93,_0x17c002){const _0x17fee6=_0x4353;let _0x481a76,_0x2825f1=0x0;const _0x2c9d49=[],_0x122758=_0x17c002[_0x17fee6(0x160)];for(;_0x2825f1<_0x245c93[_0x17fee6(0x15c)];){const _0xddaf0c=_0x245c93[_0x2825f1],_0x508e3d=_0x245c93[_0x2825f1+0x1];_0x481a76||(_0x481a76=_0x17c002[_0x17fee6(0x170)](_0xddaf0c)),co(_0x17c002,_0xddaf0c,_0x508e3d)||(_0x2c9d49[_0x17fee6(0x164)](_0x17c002[_0x17fee6(0x17f)](_0x481a76,_0x122758[_0x17fee6(0x163)](_0xddaf0c)?_0x17c002[_0x17fee6(0x16a)](_0xddaf0c):_0x17c002[_0x17fee6(0x169)](_0xddaf0c,_0x17fee6(0x152)))),_0x481a76=null),_0x2825f1++;}return _0x2c9d49;}function co(_0x1d15db,_0x29cbac,_0x33cc55){const _0x69b824=_0x4353;if(!_0x33cc55)return!0x1;const _0x3acf3a=_0x1d15db[_0x69b824(0x16a)](_0x29cbac),_0x534522=_0x1d15db[_0x69b824(0x170)](_0x33cc55);return _0x3acf3a[_0x69b824(0x154)](_0x534522);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x324ef7,_0x231551,_0x13a009){const _0x163d67=_0x4353;for(;_0x13a009[_0x163d67(0x15c)];){const _0x5be905=_0x13a009[_0x163d67(0x15a)](0x0,0x64);_0x324ef7[_0x163d67(0x167)](()=>{const _0x2c8e9c=_0x163d67;for(const _0x7d27bf of _0x5be905)_0x7d27bf[_0x2c8e9c(0x15b)]&&_0x231551[_0x2c8e9c(0x177)](_0x7d27bf['id']);});}}
|